exceptions.c:_PyVectorcall_NARGS:
   34|  92.9k|{
   35|  92.9k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  92.9k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  92.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  92.9k|}
listobject.c:_PyVectorcall_NARGS:
   34|    406|{
   35|    406|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    406|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    406|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    406|}
longobject.c:_PyVectorcall_NARGS:
   34|    864|{
   35|    864|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    864|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    864|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    864|}
dictobject.c:_PyVectorcall_NARGS:
   34|     48|{
   35|     48|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     48|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     48|}
dictobject.c:PyObject_CallMethodOneArg:
   70|    149|{
   71|    149|    PyObject *args[2] = {self, arg};
   72|    149|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    149|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    149|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|    149|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 149, False: 0]
  ------------------
   74|    149|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|    149|#  define _Py_NULL NULL
  ------------------
   75|    149|}
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|    485|{
   35|    485|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    485|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    485|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    485|}
setobject.c:_PyVectorcall_NARGS:
   34|  15.3k|{
   35|  15.3k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  15.3k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  15.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  15.3k|}
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.66k|{
   35|  1.66k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  1.66k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.66k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  1.66k|}
unicodeobject.c:_PyVectorcall_NARGS:
   34|   168k|{
   35|   168k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   168k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   168k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   168k|}
weakrefobject.c:_PyVectorcall_NARGS:
   34|    824|{
   35|    824|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    824|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    824|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    824|}
bltinmodule.c:_PyVectorcall_NARGS:
   34|     10|{
   35|     10|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     10|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     10|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     10|}
import.c:PyObject_CallMethodOneArg:
   70|     31|{
   71|     31|    PyObject *args[2] = {self, arg};
   72|     31|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     31|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     31|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     31|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 31, False: 0]
  ------------------
   74|     31|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     31|#  define _Py_NULL NULL
  ------------------
   75|     31|}
pylifecycle.c:PyObject_CallMethodNoArgs:
   63|      6|{
   64|      6|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      6|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      6|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|      6|#  define _Py_NULL NULL
  ------------------
   66|      6|}
_iomodule.c:PyObject_CallMethodNoArgs:
   63|    107|{
   64|    107|    size_t nargsf = 1 | 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))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|    107|#  define _Py_NULL NULL
  ------------------
   66|    107|}
iobase.c:PyObject_CallMethodNoArgs:
   63|    208|{
   64|    208|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    208|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    208|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|    208|#  define _Py_NULL NULL
  ------------------
   66|    208|}
fileio.c:PyObject_CallMethodOneArg:
   70|    101|{
   71|    101|    PyObject *args[2] = {self, arg};
   72|    101|    size_t nargsf = 2 | 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))
  |  |  ------------------
  ------------------
   73|    101|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 101, False: 0]
  ------------------
   74|    101|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|    101|#  define _Py_NULL NULL
  ------------------
   75|    101|}
bufferedio.c:PyObject_CallMethodOneArg:
   70|  41.4k|{
   71|  41.4k|    PyObject *args[2] = {self, arg};
   72|  41.4k|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  41.4k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  41.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|  41.4k|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 41.4k, False: 0]
  ------------------
   74|  41.4k|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|  41.4k|#  define _Py_NULL NULL
  ------------------
   75|  41.4k|}
bufferedio.c:PyObject_CallMethodNoArgs:
   63|    325|{
   64|    325|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    325|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    325|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|    325|#  define _Py_NULL NULL
  ------------------
   66|    325|}
bufferedio.c:_PyVectorcall_NARGS:
   34|    101|{
   35|    101|    return n & ~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))
  |  |  ------------------
  ------------------
   36|    101|}
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|  41.4k|{
   71|  41.4k|    PyObject *args[2] = {self, arg};
   72|  41.4k|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  41.4k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  41.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|  41.4k|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 41.4k, False: 0]
  ------------------
   74|  41.4k|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|  41.4k|#  define _Py_NULL NULL
  ------------------
   75|  41.4k|}
_abc.c:PyObject_CallMethodOneArg:
   70|     90|{
   71|     90|    PyObject *args[2] = {self, arg};
   72|     90|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     90|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     90|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     90|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 90, False: 0]
  ------------------
   74|     90|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     90|#  define _Py_NULL NULL
  ------------------
   75|     90|}
_functoolsmodule.c:_PyVectorcall_NARGS:
   34|      3|{
   35|      3|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      3|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      3|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|      3|}
abstract.c:_PyVectorcall_NARGS:
   34|     85|{
   35|     85|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     85|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     85|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     85|}
abstract.c:PyObject_CallMethodNoArgs:
   63|     84|{
   64|     84|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     84|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     84|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     84|#  define _Py_NULL NULL
  ------------------
   66|     84|}
boolobject.c:_PyVectorcall_NARGS:
   34|      6|{
   35|      6|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      6|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      6|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|      6|}
bytearrayobject.c:_PyVectorcall_NARGS:
   34|   199k|{
   35|   199k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   199k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   199k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   199k|}
bytesobject.c:_PyVectorcall_NARGS:
   34|  16.4k|{
   35|  16.4k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  16.4k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  16.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  16.4k|}
call.c:_PyVectorcall_NARGS:
   34|   416k|{
   35|   416k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   416k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   416k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   416k|}
descrobject.c:_PyVectorcall_NARGS:
   34|   130k|{
   35|   130k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   130k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   130k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   130k|}
descrobject.c:PyObject_CallMethodNoArgs:
   63|     86|{
   64|     86|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     86|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     86|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     86|#  define _Py_NULL NULL
  ------------------
   66|     86|}
enumobject.c:_PyVectorcall_NARGS:
   34|  31.3k|{
   35|  31.3k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  31.3k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  31.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  31.3k|}
fileobject.c:PyObject_CallMethodNoArgs:
   63|  41.6k|{
   64|  41.6k|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  41.6k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  41.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|  41.6k|#  define _Py_NULL NULL
  ------------------
   66|  41.6k|}
methodobject.c:_PyVectorcall_NARGS:
   34|   134k|{
   35|   134k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   134k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   134k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   134k|}

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

exceptions.c:PyBytes_GET_SIZE:
   29|  1.93k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  1.93k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  1.93k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 1.93k, False: 0]
  ------------------
   31|  1.93k|    return Py_SIZE(self);
  ------------------
  |  |  214|  1.93k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  1.93k|}
exceptions.c:PyBytes_AS_STRING:
   24|  1.12k|{
   25|  1.12k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  1.12k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 1.12k, False: 0]
  ------------------
   26|  1.12k|}
longobject.c:PyBytes_AS_STRING:
   24|    303|{
   25|    303|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    303|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    303|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 303, False: 0]
  ------------------
   26|    303|}
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|   286k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|   286k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   286k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   286k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 286k, False: 0]
  ------------------
   31|   286k|    return Py_SIZE(self);
  ------------------
  |  |  214|   286k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   286k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   286k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|   286k|}
unicodeobject.c:PyBytes_AS_STRING:
   24|  86.5k|{
   25|  86.5k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  86.5k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  86.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 86.5k, False: 0]
  ------------------
   26|  86.5k|}
ceval.c:PyBytes_AS_STRING:
   24|  38.8k|{
   25|  38.8k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  38.8k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  38.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 38.8k, False: 0]
  ------------------
   26|  38.8k|}
ceval.c:PyBytes_GET_SIZE:
   29|  38.8k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  38.8k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  38.8k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  38.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 38.8k, False: 0]
  ------------------
   31|  38.8k|    return Py_SIZE(self);
  ------------------
  |  |  214|  38.8k|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  38.8k|}
flowgraph.c:PyBytes_GET_SIZE:
   29|  19.2k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  19.2k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  19.2k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  19.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 19.2k, False: 0]
  ------------------
   31|  19.2k|    return Py_SIZE(self);
  ------------------
  |  |  214|  19.2k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  19.2k|}
import.c:PyBytes_AS_STRING:
   24|     43|{
   25|     43|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     43|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 43, False: 0]
  ------------------
   26|     43|}
importdl.c:PyBytes_AS_STRING:
   24|     30|{
   25|     30|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     30|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 30, False: 0]
  ------------------
   26|     30|}
fileutils.c:PyBytes_AS_STRING:
   24|  5.60k|{
   25|  5.60k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  5.60k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  5.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 5.60k, False: 0]
  ------------------
   26|  5.60k|}
posixmodule.c:PyBytes_GET_SIZE:
   29|    632|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|    632|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|    632|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    632|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 632, False: 0]
  ------------------
   31|    632|    return Py_SIZE(self);
  ------------------
  |  |  214|    632|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    632|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    632|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|    632|}
posixmodule.c:PyBytes_AS_STRING:
   24|    632|{
   25|    632|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    632|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    632|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 632, False: 0]
  ------------------
   26|    632|}
fileio.c:PyBytes_AS_STRING:
   24|    101|{
   25|    101|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    101|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 101, False: 0]
  ------------------
   26|    101|}
textio.c:PyBytes_GET_SIZE:
   29|      4|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|      4|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|      4|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 4, False: 0]
  ------------------
   31|      4|    return Py_SIZE(self);
  ------------------
  |  |  214|      4|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|      4|}
bytes_methods.c:PyBytes_AS_STRING:
   24|   151k|{
   25|   151k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|   151k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 151k, False: 0]
  ------------------
   26|   151k|}
bytes_methods.c:PyBytes_GET_SIZE:
   29|   151k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|   151k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   151k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 151k, False: 0]
  ------------------
   31|   151k|    return Py_SIZE(self);
  ------------------
  |  |  214|   151k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   151k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|   151k|}
bytearrayobject.c:PyBytes_GET_SIZE:
   29|   707k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|   707k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   707k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   707k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 707k, False: 0]
  ------------------
   31|   707k|    return Py_SIZE(self);
  ------------------
  |  |  214|   707k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   707k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   707k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|   707k|}
bytearrayobject.c:PyBytes_AS_STRING:
   24|   894k|{
   25|   894k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|   894k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   894k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 894k, False: 0]
  ------------------
   26|   894k|}
bytesobject.c:PyBytes_AS_STRING:
   24|  10.3M|{
   25|  10.3M|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  10.3M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  10.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 10.3M, False: 0]
  ------------------
   26|  10.3M|}
bytesobject.c:PyBytes_GET_SIZE:
   29|  28.7M|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  28.7M|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  28.7M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  28.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 28.7M, False: 0]
  ------------------
   31|  28.7M|    return Py_SIZE(self);
  ------------------
  |  |  214|  28.7M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  28.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  28.7M|}
codeobject.c:PyBytes_GET_SIZE:
   29|   914k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|   914k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   914k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   914k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 914k, False: 0]
  ------------------
   31|   914k|    return Py_SIZE(self);
  ------------------
  |  |  214|   914k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   914k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   914k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|   914k|}
codeobject.c:PyBytes_AS_STRING:
   24|   681k|{
   25|   681k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|   681k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   681k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 681k, False: 0]
  ------------------
   26|   681k|}
frameobject.c:PyBytes_AS_STRING:
   24|      2|{
   25|      2|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|      2|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 2, False: 0]
  ------------------
   26|      2|}
frameobject.c:PyBytes_GET_SIZE:
   29|      2|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|      2|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|      2|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 2, False: 0]
  ------------------
   31|      2|    return Py_SIZE(self);
  ------------------
  |  |  214|      2|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|      2|}
memoryobject.c:PyBytes_AS_STRING:
   24|      4|{
   25|      4|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|      4|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 4, False: 0]
  ------------------
   26|      4|}
pegen.c:PyBytes_GET_SIZE:
   29|   975k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|   975k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   975k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   975k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 975k, False: 0]
  ------------------
   31|   975k|    return Py_SIZE(self);
  ------------------
  |  |  214|   975k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   975k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   975k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|   975k|}
lexer.c:PyBytes_GET_SIZE:
   29|    246|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|    246|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|    246|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 246, False: 0]
  ------------------
   31|    246|    return Py_SIZE(self);
  ------------------
  |  |  214|    246|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|    246|}
action_helpers.c:PyBytes_AS_STRING:
   24|   135k|{
   25|   135k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|   135k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   135k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 135k, False: 0]
  ------------------
   26|   135k|}
action_helpers.c:PyBytes_GET_SIZE:
   29|  59.2k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  59.2k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  59.2k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  59.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 59.2k, False: 0]
  ------------------
   31|  59.2k|    return Py_SIZE(self);
  ------------------
  |  |  214|  59.2k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  59.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  59.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  59.2k|}

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

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|    125|static inline Py_ssize_t PyCode_GetNumFree(PyCodeObject *op) {
  171|    125|    assert(PyCode_Check(op));
  ------------------
  |  Branch (171:5): [True: 125, False: 0]
  ------------------
  172|    125|    return op->co_nfreevars;
  173|    125|}
codegen.c:PyUnstable_Code_GetFirstFree:
  175|  23.2k|static inline int PyUnstable_Code_GetFirstFree(PyCodeObject *op) {
  176|  23.2k|    assert(PyCode_Check(op));
  ------------------
  |  Branch (176:5): [True: 23.2k, False: 0]
  ------------------
  177|  23.2k|    return op->co_nlocalsplus - op->co_nfreevars;
  178|  23.2k|}

exceptions.c:PyDict_GET_SIZE:
   53|     11|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     11|    PyDictObject *mp;
   55|     11|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 11, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     11|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|     11|    return mp->ma_used;
   61|     11|#endif
   62|     11|}
listobject.c:PyDict_GET_SIZE:
   53|     18|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     18|    PyDictObject *mp;
   55|     18|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 18, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     18|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|     18|    return mp->ma_used;
   61|     18|#endif
   62|     18|}
setobject.c:PyDict_GET_SIZE:
   53|    156|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|    156|    PyDictObject *mp;
   55|    156|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 156, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|    156|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|    156|    return mp->ma_used;
   61|    156|#endif
   62|    156|}
typeobject.c:PyDict_GET_SIZE:
   53|  3.33k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  3.33k|    PyDictObject *mp;
   55|  3.33k|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 3.33k, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|  3.33k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  3.33k|#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.33k|    return mp->ma_used;
   61|  3.33k|#endif
   62|  3.33k|}
ceval.c:PyDict_GET_SIZE:
   53|    103|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|    103|    PyDictObject *mp;
   55|    103|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 103, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|    103|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|    103|#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|    103|    return mp->ma_used;
   61|    103|#endif
   62|    103|}
compile.c:PyDict_GET_SIZE:
   53|   878k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|   878k|    PyDictObject *mp;
   55|   878k|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 878k, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|   878k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|   878k|#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|   878k|    return mp->ma_used;
   61|   878k|#endif
   62|   878k|}
flowgraph.c:PyDict_GET_SIZE:
   53|   982k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|   982k|    PyDictObject *mp;
   55|   982k|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 982k, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|   982k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|   982k|#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|   982k|    return mp->ma_used;
   61|   982k|#endif
   62|   982k|}
getargs.c:PyDict_GET_SIZE:
   53|     11|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     11|    PyDictObject *mp;
   55|     11|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 11, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     11|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|     11|    return mp->ma_used;
   61|     11|#endif
   62|     11|}
import.c:PyDict_GET_SIZE:
   53|    155|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|    155|    PyDictObject *mp;
   55|    155|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 155, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|    155|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|    155|#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|    155|    return mp->ma_used;
   61|    155|#endif
   62|    155|}
sre.c:PyDict_GET_SIZE:
   53|      9|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      9|    PyDictObject *mp;
   55|      9|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 9, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|      9|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|      9|    return mp->ma_used;
   61|      9|#endif
   62|      9|}
_functoolsmodule.c:PyDict_GET_SIZE:
   53|      1|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      1|    PyDictObject *mp;
   55|      1|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 1, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|      1|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|      1|    return mp->ma_used;
   61|      1|#endif
   62|      1|}
call.c:PyDict_GET_SIZE:
   53|  1.45k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  1.45k|    PyDictObject *mp;
   55|  1.45k|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 1.45k, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|  1.45k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  1.45k|#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.45k|    return mp->ma_used;
   61|  1.45k|#endif
   62|  1.45k|}
assemble.c:PyDict_GET_SIZE:
   53|   148k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|   148k|    PyDictObject *mp;
   55|   148k|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 148k, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|   148k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|   148k|#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|   148k|    return mp->ma_used;
   61|   148k|#endif
   62|   148k|}

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

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

listobject.c:PyList_GET_SIZE:
   30|   447k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   447k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   447k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   447k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 447k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   447k|    return Py_SIZE(list);
  ------------------
  |  |  214|   447k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   447k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   447k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   447k|#endif
   37|   447k|}
listobject.c:PyList_SET_ITEM:
   43|  3.21M|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  3.21M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  3.21M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 3.21M, False: 0]
  ------------------
   45|  3.21M|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 3.21M, False: 0]
  ------------------
   46|  3.21M|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 3.21M, False: 0]
  ------------------
   47|  3.21M|    list->ob_item[index] = value;
   48|  3.21M|}
dictobject.c:PyList_SET_ITEM:
   43|   296k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|   296k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   296k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   296k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 296k, False: 0]
  ------------------
   45|   296k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 296k, False: 0]
  ------------------
   46|   296k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 296k, False: 0]
  ------------------
   47|   296k|    list->ob_item[index] = value;
   48|   296k|}
object.c:PyList_GET_SIZE:
   30|    124|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|    124|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    124|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 124, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|    124|    return Py_SIZE(list);
  ------------------
  |  |  214|    124|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|    124|#endif
   37|    124|}
typeobject.c:PyList_SET_ITEM:
   43|    215|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    215|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    215|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    215|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 215, False: 0]
  ------------------
   45|    215|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 215, False: 0]
  ------------------
   46|    215|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 215, False: 0]
  ------------------
   47|    215|    list->ob_item[index] = value;
   48|    215|}
unicodeobject.c:PyList_GET_SIZE:
   30|   213k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   213k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   213k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   213k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 213k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   213k|    return Py_SIZE(list);
  ------------------
  |  |  214|   213k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   213k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   213k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   213k|#endif
   37|   213k|}
unicodeobject.c:PyList_SET_ITEM:
   43|    681|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    681|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    681|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    681|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 681, False: 0]
  ------------------
   45|    681|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 681, False: 0]
  ------------------
   46|    681|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 681, False: 0]
  ------------------
   47|    681|    list->ob_item[index] = value;
   48|    681|}
unionobject.c:PyList_GET_SIZE:
   30|     45|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     45|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     45|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 45, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     45|    return Py_SIZE(list);
  ------------------
  |  |  214|     45|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     45|#endif
   37|     45|}
_warnings.c:PyList_SET_ITEM:
   43|     10|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|     10|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     10|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 10, False: 0]
  ------------------
   45|     10|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 10, False: 0]
  ------------------
   46|     10|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 10, False: 0]
  ------------------
   47|     10|    list->ob_item[index] = value;
   48|     10|}
_warnings.c:PyList_GET_SIZE:
   30|   248k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   248k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   248k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   248k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 248k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   248k|    return Py_SIZE(list);
  ------------------
  |  |  214|   248k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   248k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   248k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   248k|#endif
   37|   248k|}
ceval.c:PyList_GET_SIZE:
   30|   217k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   217k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   217k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   217k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 217k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   217k|    return Py_SIZE(list);
  ------------------
  |  |  214|   217k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   217k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   217k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   217k|#endif
   37|   217k|}
ceval.c:PyList_SET_ITEM:
   43|   615k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|   615k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   615k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   615k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 615k, False: 0]
  ------------------
   45|   615k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 615k, False: 0]
  ------------------
   46|   615k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 615k, False: 0]
  ------------------
   47|   615k|    list->ob_item[index] = value;
   48|   615k|}
codegen.c:PyList_GET_SIZE:
   30|  30.8k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  30.8k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  30.8k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  30.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 30.8k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  30.8k|    return Py_SIZE(list);
  ------------------
  |  |  214|  30.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  30.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  30.8k|#endif
   37|  30.8k|}
compile.c:PyList_GET_SIZE:
   30|   592k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   592k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   592k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   592k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 592k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   592k|    return Py_SIZE(list);
  ------------------
  |  |  214|   592k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   592k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   592k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   592k|#endif
   37|   592k|}
compile.c:PyList_SET_ITEM:
   43|   555k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|   555k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   555k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   555k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 555k, False: 0]
  ------------------
   45|   555k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 555k, False: 0]
  ------------------
   46|   555k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 555k, False: 0]
  ------------------
   47|   555k|    list->ob_item[index] = value;
   48|   555k|}
flowgraph.c:PyList_GET_SIZE:
   30|  3.27M|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  3.27M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  3.27M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 3.27M, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  3.27M|    return Py_SIZE(list);
  ------------------
  |  |  214|  3.27M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.27M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  3.27M|#endif
   37|  3.27M|}
gc.c:PyList_GET_SIZE:
   30|  33.1k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  33.1k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  33.1k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  33.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 33.1k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  33.1k|    return Py_SIZE(list);
  ------------------
  |  |  214|  33.1k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  33.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  33.1k|#endif
   37|  33.1k|}
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.11k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  1.11k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  1.11k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 1.11k, False: 0]
  ------------------
   45|  1.11k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 1.11k, False: 0]
  ------------------
   46|  1.11k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 1.11k, False: 0]
  ------------------
   47|  1.11k|    list->ob_item[index] = value;
   48|  1.11k|}
marshal.c:PyList_GET_SIZE:
   30|  38.4k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  38.4k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  38.4k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  38.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 38.4k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  38.4k|    return Py_SIZE(list);
  ------------------
  |  |  214|  38.4k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  38.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  38.4k|#endif
   37|  38.4k|}
modsupport.c:PyList_SET_ITEM:
   43|  1.00k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  1.00k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  1.00k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 1.00k, False: 0]
  ------------------
   45|  1.00k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 1.00k, False: 0]
  ------------------
   46|  1.00k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 1.00k, False: 0]
  ------------------
   47|  1.00k|    list->ob_item[index] = value;
   48|  1.00k|}
specialize.c:PyList_GET_SIZE:
   30|     11|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     11|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     11|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 11, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     11|    return Py_SIZE(list);
  ------------------
  |  |  214|     11|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     11|#endif
   37|     11|}
symtable.c:PyList_GET_SIZE:
   30|   242k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   242k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   242k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   242k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 242k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   242k|    return Py_SIZE(list);
  ------------------
  |  |  214|   242k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   242k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   242k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   242k|#endif
   37|   242k|}
suggestions.c:PyList_GET_SIZE:
   30|    100|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|    100|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    100|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 100, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|    100|    return Py_SIZE(list);
  ------------------
  |  |  214|    100|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|    100|#endif
   37|    100|}
sre.c:PyList_GET_SIZE:
   30|      9|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|      9|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      9|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 9, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|      9|    return Py_SIZE(list);
  ------------------
  |  |  214|      9|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|      9|#endif
   37|      9|}
_abc.c:PyList_GET_SIZE:
   30|  1.00k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  1.00k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  1.00k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 1.00k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  1.00k|    return Py_SIZE(list);
  ------------------
  |  |  214|  1.00k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  1.00k|#endif
   37|  1.00k|}
abstract.c:PyList_SET_ITEM:
   43|  13.9k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  13.9k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  13.9k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 13.9k, False: 0]
  ------------------
   45|  13.9k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 13.9k, False: 0]
  ------------------
   46|  13.9k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 13.9k, False: 0]
  ------------------
   47|  13.9k|    list->ob_item[index] = value;
   48|  13.9k|}
bytesobject.c:PyList_SET_ITEM:
   43|   202k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|   202k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   202k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   202k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 202k, False: 0]
  ------------------
   45|   202k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 202k, False: 0]
  ------------------
   46|   202k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 202k, False: 0]
  ------------------
   47|   202k|    list->ob_item[index] = value;
   48|   202k|}
memoryobject.c:PyList_SET_ITEM:
   43|    128|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    128|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    128|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 128, False: 0]
  ------------------
   45|    128|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 128, False: 0]
  ------------------
   46|    128|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 128, False: 0]
  ------------------
   47|    128|    list->ob_item[index] = value;
   48|    128|}
Python-ast.c:PyList_SET_ITEM:
   43|  82.4k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  82.4k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  82.4k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  82.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 82.4k, False: 0]
  ------------------
   45|  82.4k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 82.4k, False: 0]
  ------------------
   46|  82.4k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 82.4k, False: 0]
  ------------------
   47|  82.4k|    list->ob_item[index] = value;
   48|  82.4k|}

listobject.c:_PyLong_IsCompact:
  122|  2.34k|_PyLong_IsCompact(const PyLongObject* op) {
  123|  2.34k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 2.34k, False: 0]
  ------------------
  124|  2.34k|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  2.34k|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  2.34k|}
listobject.c:_PyLong_CompactValue:
  131|    978|{
  132|    978|    Py_ssize_t sign;
  133|    978|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 978, False: 0]
  ------------------
  134|    978|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 978, False: 0]
  ------------------
  135|    978|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|    978|#define _PyLong_SIGN_MASK 3
  ------------------
  136|    978|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 0, False: 978]
  ------------------
  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|    978|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|    978|}
longobject.c:_PyLong_IsCompact:
  122|   485M|_PyLong_IsCompact(const PyLongObject* op) {
  123|   485M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 485M, False: 0]
  ------------------
  124|   485M|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|   485M|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|   485M|}
longobject.c:_PyLong_CompactValue:
  131|   236M|{
  132|   236M|    Py_ssize_t sign;
  133|   236M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 236M, False: 0]
  ------------------
  134|   236M|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 236M, False: 0]
  ------------------
  135|   236M|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|   236M|#define _PyLong_SIGN_MASK 3
  ------------------
  136|   236M|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 4.32M, False: 232M]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|  4.32M|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 4.32M, False: 0]
  ------------------
  140|  4.32M|    }
  141|   236M|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|   236M|}
bltinmodule.c:_PyLong_IsCompact:
  122|   122k|_PyLong_IsCompact(const PyLongObject* op) {
  123|   122k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 122k, False: 0]
  ------------------
  124|   122k|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|   122k|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|   122k|}
bltinmodule.c:_PyLong_CompactValue:
  131|  61.4k|{
  132|  61.4k|    Py_ssize_t sign;
  133|  61.4k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 61.4k, False: 0]
  ------------------
  134|  61.4k|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 61.4k, False: 0]
  ------------------
  135|  61.4k|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  61.4k|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  61.4k|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 45.5k, False: 15.9k]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|  45.5k|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 45.5k, False: 0]
  ------------------
  140|  45.5k|    }
  141|  61.4k|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  61.4k|}
ceval.c:_PyLong_CompactValue:
  131|  21.1M|{
  132|  21.1M|    Py_ssize_t sign;
  133|  21.1M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 21.1M, False: 0]
  ------------------
  134|  21.1M|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 21.1M, False: 0]
  ------------------
  135|  21.1M|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  21.1M|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  21.1M|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 793k, False: 20.3M]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|   793k|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 793k, False: 0]
  ------------------
  140|   793k|    }
  141|  21.1M|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  21.1M|}
ceval.c:_PyLong_IsCompact:
  122|  89.5M|_PyLong_IsCompact(const PyLongObject* op) {
  123|  89.5M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 89.5M, False: 0]
  ------------------
  124|  89.5M|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  89.5M|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  89.5M|}
specialize.c:_PyLong_CompactValue:
  131|  28.2k|{
  132|  28.2k|    Py_ssize_t sign;
  133|  28.2k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 28.2k, False: 0]
  ------------------
  134|  28.2k|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 28.2k, False: 0]
  ------------------
  135|  28.2k|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  28.2k|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  28.2k|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 299, False: 27.9k]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|    299|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 299, False: 0]
  ------------------
  140|    299|    }
  141|  28.2k|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  28.2k|}
specialize.c:_PyLong_IsCompact:
  122|  58.1k|_PyLong_IsCompact(const PyLongObject* op) {
  123|  58.1k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 58.1k, False: 0]
  ------------------
  124|  58.1k|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  58.1k|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  58.1k|}

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

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

longobject.c:_Py_atomic_load_int:
  248|    964|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
obmalloc.c:_Py_atomic_compare_exchange_uint8:
  105|      4|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|      4|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
typeobject.c:_Py_atomic_load_uint_relaxed:
  379|    412|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
typeobject.c:_Py_atomic_compare_exchange_uint:
  100|    412|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  101|    412|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
typeobject.c:_Py_atomic_load_int64:
  264|    412|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
typeobject.c:_Py_atomic_add_int64:
   31|    412|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
typeobject.c:_Py_atomic_compare_exchange_uint8:
  105|     24|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|     24|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
unicodeobject.c:_Py_atomic_load_ptr:
  300|  3.13k|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_SEQ_CST); }
unicodeobject.c:_Py_atomic_store_ptr:
  450|      1|{ __atomic_store_n((void **)obj, value, __ATOMIC_SEQ_CST); }
ceval.c:_Py_atomic_load_uintptr_relaxed:
  375|  22.0M|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_compare_exchange_int:
   70|  10.0k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
   71|  10.0k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_store_int:
  402|  10.0k|{ __atomic_store_n(obj, value, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_load_uint32_relaxed:
  367|  8.29k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_store_uint32_relaxed:
  493|  8.29k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_fence_seq_cst:
  619|  8.29k|{ __atomic_thread_fence(__ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_store_uint32_release:
  597|  8.29k|{ __atomic_store_n(obj, value, __ATOMIC_RELEASE); }
gc.c:_Py_atomic_load_uintptr_relaxed:
  375|  68.1M|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_or_uintptr:
  241|  10.0k|{ return __atomic_fetch_or(obj, value, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_load_int_relaxed:
  307|  68.1M|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
getargs.c:_Py_atomic_load_uint8:
  272|  8.75k|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
getargs.c:_Py_atomic_load_ptr:
  300|      6|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_SEQ_CST); }
getargs.c:_Py_atomic_compare_exchange_ptr:
  135|      6|{ return __atomic_compare_exchange_n((void **)obj, (void **)expected, desired, 0,
  136|      6|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
ceval_gil.c:_Py_atomic_load_int_acquire:
  593|  49.1k|{ return __atomic_load_n(obj, __ATOMIC_ACQUIRE); }
ceval_gil.c:_Py_atomic_load_int_relaxed:
  307|  98.3k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_load_ptr_relaxed:
  387|  49.1k|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_store_ptr_relaxed:
  509|  49.1k|{ __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|  98.3k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_and_uintptr:
  218|  49.3k|{ return __atomic_fetch_and(obj, value, __ATOMIC_SEQ_CST); }
ceval_gil.c:_Py_atomic_load_int32_relaxed:
  347|  98.3k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_load_uintptr_relaxed:
  375|   147k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
import.c:_Py_atomic_add_ssize:
   63|     51|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
import.c:_Py_atomic_compare_exchange_uint8:
  105|    110|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|    110|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_uint8_relaxed:
  359|  83.9k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_compare_exchange_uint8:
  105|  88.5k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|  88.5k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_uint8:
  272|      7|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_exchange_uint8:
  171|      7|{ return __atomic_exchange_n(obj, value, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_ullong_relaxed:
  391|  7.21k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_store_ullong_relaxed:
  518|  5.35k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_load_ptr_relaxed:
  387|  82.8k|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_load_int:
  248|  2.31k|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
pylifecycle.c:_Py_atomic_store_ptr_relaxed:
  509|      2|{ __atomic_store_n((void **)obj, value, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_store_uint64_relaxed:
  497|      2|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_store_int:
  402|      6|{ __atomic_store_n(obj, value, __ATOMIC_SEQ_CST); }
pystate.c:_Py_atomic_load_int:
  248|      4|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
pystate.c:_Py_atomic_compare_exchange_uint8:
  105|      8|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|      8|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
pystate.c:_Py_atomic_load_uintptr_relaxed:
  375|      2|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
pystate.c:_Py_atomic_load_int_relaxed:
  307|   196k|{ 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|  83.1k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|  83.1k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
fileutils.c:_Py_atomic_load_int_relaxed:
  307|    202|{ 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|   889k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
signalmodule.c:_Py_atomic_and_uintptr:
  218|  9.86k|{ return __atomic_fetch_and(obj, value, __ATOMIC_SEQ_CST); }
signalmodule.c:_Py_atomic_load_int:
  248|   889k|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
codeobject.c:_Py_atomic_add_uint64:
   55|  75.2k|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
Python-ast.c:_Py_atomic_load_uint8:
  272|  1.94k|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }

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

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

exceptions.c:PyTuple_GET_SIZE:
   23|  67.4k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  67.4k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  67.4k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  67.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 67.4k, False: 0]
  ------------------
   25|  67.4k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  67.4k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  67.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  67.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  67.4k|}
listobject.c:PyTuple_GET_SIZE:
   23|  1.47k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.47k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.47k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.47k, False: 0]
  ------------------
   25|  1.47k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.47k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.47k|}
longobject.c:PyTuple_GET_SIZE:
   23|    217|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    217|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    217|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    217|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 217, False: 0]
  ------------------
   25|    217|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    217|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    217|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    217|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    217|}
dictobject.c:PyTuple_SET_ITEM:
   33|    634|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    634|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    634|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    634|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 634, False: 0]
  ------------------
   35|    634|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 634, False: 0]
  ------------------
   36|    634|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 634, False: 0]
  ------------------
   37|    634|    tuple->ob_item[index] = value;
   38|    634|}
dictobject.c:PyTuple_GET_SIZE:
   23|  1.10k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.10k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.10k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.10k, False: 0]
  ------------------
   25|  1.10k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.10k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.10k|}
moduleobject.c:PyTuple_GET_SIZE:
   23|    125|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    125|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    125|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 125, False: 0]
  ------------------
   25|    125|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    125|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    125|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    125|}
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|    214|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    214|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    214|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    214|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 214, False: 0]
  ------------------
   35|    214|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 214, False: 0]
  ------------------
   36|    214|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 214, False: 0]
  ------------------
   37|    214|    tuple->ob_item[index] = value;
   38|    214|}
tupleobject.c:PyTuple_GET_SIZE:
   23|   102k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   102k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   102k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 102k, False: 0]
  ------------------
   25|   102k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   102k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   102k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   102k|}
tupleobject.c:PyTuple_SET_ITEM:
   33|    700|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    700|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    700|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    700|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 700, False: 0]
  ------------------
   35|    700|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 700, False: 0]
  ------------------
   36|    700|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 700, False: 0]
  ------------------
   37|    700|    tuple->ob_item[index] = value;
   38|    700|}
typeobject.c:PyTuple_GET_SIZE:
   23|  13.3M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  13.3M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  13.3M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  13.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 13.3M, False: 0]
  ------------------
   25|  13.3M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  13.3M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  13.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  13.3M|}
typeobject.c:PyTuple_SET_ITEM:
   33|  3.80k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  3.80k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  3.80k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 3.80k, False: 0]
  ------------------
   35|  3.80k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 3.80k, False: 0]
  ------------------
   36|  3.80k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 3.80k, False: 0]
  ------------------
   37|  3.80k|    tuple->ob_item[index] = value;
   38|  3.80k|}
unicodeobject.c:PyTuple_GET_SIZE:
   23|    219|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    219|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    219|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 219, False: 0]
  ------------------
   25|    219|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    219|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    219|}
unicodeobject.c:PyTuple_SET_ITEM:
   33|  5.05k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  5.05k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  5.05k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 5.05k, False: 0]
  ------------------
   35|  5.05k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 5.05k, False: 0]
  ------------------
   36|  5.05k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 5.05k, False: 0]
  ------------------
   37|  5.05k|    tuple->ob_item[index] = value;
   38|  5.05k|}
weakrefobject.c:PyTuple_GET_SIZE:
   23|  2.46k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  2.46k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  2.46k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 2.46k, False: 0]
  ------------------
   25|  2.46k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  2.46k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  2.46k|}
weakrefobject.c:PyTuple_SET_ITEM:
   33|  1.58k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  1.58k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.58k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 1.58k, False: 0]
  ------------------
   35|  1.58k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 1.58k, False: 0]
  ------------------
   36|  1.58k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 1.58k, False: 0]
  ------------------
   37|  1.58k|    tuple->ob_item[index] = value;
   38|  1.58k|}
_warnings.c:PyTuple_GET_SIZE:
   23|   207k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   207k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   207k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 207k, False: 0]
  ------------------
   25|   207k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   207k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   207k|}
bltinmodule.c:PyTuple_GET_SIZE:
   23|  1.10k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.10k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.10k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.10k, False: 0]
  ------------------
   25|  1.10k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.10k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.10k|}
bltinmodule.c:PyTuple_SET_ITEM:
   33|    147|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    147|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    147|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    147|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 147, False: 0]
  ------------------
   35|    147|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 147, False: 0]
  ------------------
   36|    147|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 147, False: 0]
  ------------------
   37|    147|    tuple->ob_item[index] = value;
   38|    147|}
ceval.c:PyTuple_GET_SIZE:
   23|  1.21M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.21M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.21M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.21M, False: 0]
  ------------------
   25|  1.21M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.21M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.21M|}
codecs.c:PyTuple_GET_SIZE:
   23|  41.5k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  41.5k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  41.5k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  41.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 41.5k, False: 0]
  ------------------
   25|  41.5k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  41.5k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  41.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  41.5k|}
codecs.c:PyTuple_SET_ITEM:
   33|  43.0k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  43.0k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  43.0k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  43.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 43.0k, False: 0]
  ------------------
   35|  43.0k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 43.0k, False: 0]
  ------------------
   36|  43.0k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 43.0k, False: 0]
  ------------------
   37|  43.0k|    tuple->ob_item[index] = value;
   38|  43.0k|}
codegen.c:PyTuple_SET_ITEM:
   33|  33.9k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  33.9k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  33.9k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  33.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 33.9k, False: 0]
  ------------------
   35|  33.9k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 33.9k, False: 0]
  ------------------
   36|  33.9k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 33.9k, False: 0]
  ------------------
   37|  33.9k|    tuple->ob_item[index] = value;
   38|  33.9k|}
compile.c:PyTuple_GET_SIZE:
   23|   110k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   110k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   110k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   110k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 110k, False: 0]
  ------------------
   25|   110k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   110k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   110k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   110k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   110k|}
compile.c:PyTuple_SET_ITEM:
   33|  18.5k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  18.5k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  18.5k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  18.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 18.5k, False: 0]
  ------------------
   35|  18.5k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 18.5k, False: 0]
  ------------------
   36|  18.5k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 18.5k, False: 0]
  ------------------
   37|  18.5k|    tuple->ob_item[index] = value;
   38|  18.5k|}
errors.c:PyTuple_GET_SIZE:
   23|    916|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    916|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    916|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    916|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 916, False: 0]
  ------------------
   25|    916|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    916|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    916|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    916|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    916|}
flowgraph.c:PyTuple_GET_SIZE:
   23|   680k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   680k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   680k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   680k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 680k, False: 0]
  ------------------
   25|   680k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   680k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   680k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   680k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   680k|}
flowgraph.c:PyTuple_SET_ITEM:
   33|   109k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|   109k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   109k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   109k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 109k, False: 0]
  ------------------
   35|   109k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 109k, False: 0]
  ------------------
   36|   109k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 109k, False: 0]
  ------------------
   37|   109k|    tuple->ob_item[index] = value;
   38|   109k|}
getargs.c:PyTuple_SET_ITEM:
   33|      5|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|      5|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      5|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 5, False: 0]
  ------------------
   35|      5|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 5, False: 0]
  ------------------
   36|      5|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 5, False: 0]
  ------------------
   37|      5|    tuple->ob_item[index] = value;
   38|      5|}
getargs.c:PyTuple_GET_SIZE:
   23|  99.0k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  99.0k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  99.0k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  99.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 99.0k, False: 0]
  ------------------
   25|  99.0k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  99.0k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  99.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  99.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  99.0k|}
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|  50.0k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  50.0k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  50.0k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  50.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 50.0k, False: 0]
  ------------------
   35|  50.0k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 50.0k, False: 0]
  ------------------
   36|  50.0k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 50.0k, False: 0]
  ------------------
   37|  50.0k|    tuple->ob_item[index] = value;
   38|  50.0k|}
modsupport.c:PyTuple_SET_ITEM:
   33|   170k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|   170k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   170k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 170k, False: 0]
  ------------------
   35|   170k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 170k, False: 0]
  ------------------
   36|   170k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 170k, False: 0]
  ------------------
   37|   170k|    tuple->ob_item[index] = value;
   38|   170k|}
specialize.c:PyTuple_GET_SIZE:
   23|    142|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    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 (24:28): [True: 142, False: 0]
  ------------------
   25|    142|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    142|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    142|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    142|}
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|     25|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     25|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     25|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 25, False: 0]
  ------------------
   25|     25|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     25|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     25|}
fileio.c:PyTuple_GET_SIZE:
   23|    107|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    107|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    107|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 107, False: 0]
  ------------------
   25|    107|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    107|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    107|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    107|}
bufferedio.c:PyTuple_GET_SIZE:
   23|    107|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    107|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    107|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 107, False: 0]
  ------------------
   25|    107|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    107|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    107|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    107|}
textio.c:PyTuple_GET_SIZE:
   23|      6|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|      6|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      6|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 6, False: 0]
  ------------------
   25|      6|    return Py_SIZE(tuple);
  ------------------
  |  |  214|      6|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      6|}
itertoolsmodule.c:PyTuple_SET_ITEM:
   33|    291|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    291|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    291|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    291|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 291, False: 0]
  ------------------
   35|    291|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 291, False: 0]
  ------------------
   36|    291|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 291, False: 0]
  ------------------
   37|    291|    tuple->ob_item[index] = value;
   38|    291|}
itertoolsmodule.c:PyTuple_GET_SIZE:
   23|    462|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    462|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    462|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    462|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 462, False: 0]
  ------------------
   25|    462|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    462|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    462|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    462|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    462|}
sre.c:PyTuple_GET_SIZE:
   23|      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|}
_abc.c:PyTuple_GET_SIZE:
   23|  1.03k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.03k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.03k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.03k, False: 0]
  ------------------
   25|  1.03k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.03k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.03k|}
_functoolsmodule.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|}
_functoolsmodule.c:PyTuple_SET_ITEM:
   33|      3|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|      3|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|      3|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 3, False: 0]
  ------------------
   35|      3|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 3, False: 0]
  ------------------
   36|      3|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 3, False: 0]
  ------------------
   37|      3|    tuple->ob_item[index] = value;
   38|      3|}
getpath.c:PyTuple_GET_SIZE:
   23|     24|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     24|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     24|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 24, False: 0]
  ------------------
   25|     24|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     24|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     24|}
abstract.c:PyTuple_GET_SIZE:
   23|    117|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    117|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    117|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 117, False: 0]
  ------------------
   25|    117|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    117|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    117|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    117|}
call.c:PyTuple_GET_SIZE:
   23|  88.8k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  88.8k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  88.8k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  88.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 88.8k, False: 0]
  ------------------
   25|  88.8k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  88.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  88.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  88.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  88.8k|}
call.c:PyTuple_SET_ITEM:
   33|  1.55k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  1.55k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.55k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 1.55k, False: 0]
  ------------------
   35|  1.55k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 1.55k, False: 0]
  ------------------
   36|  1.55k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 1.55k, False: 0]
  ------------------
   37|  1.55k|    tuple->ob_item[index] = value;
   38|  1.55k|}
codeobject.c:PyTuple_SET_ITEM:
   33|   206M|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|   206M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   206M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   206M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 206M, False: 0]
  ------------------
   35|   206M|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 206M, False: 0]
  ------------------
   36|   206M|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 206M, False: 0]
  ------------------
   37|   206M|    tuple->ob_item[index] = value;
   38|   206M|}
codeobject.c:PyTuple_GET_SIZE:
   23|  1.54M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.54M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.54M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.54M, False: 0]
  ------------------
   25|  1.54M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.54M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.54M|}
descrobject.c:PyTuple_GET_SIZE:
   23|    597|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    597|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    597|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    597|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 597, False: 0]
  ------------------
   25|    597|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    597|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    597|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    597|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    597|}
enumobject.c:PyTuple_SET_ITEM:
   33|  1.04M|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  1.04M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.04M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 1.04M, False: 0]
  ------------------
   35|  1.04M|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 1.04M, False: 0]
  ------------------
   36|  1.04M|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 1.04M, False: 0]
  ------------------
   37|  1.04M|    tuple->ob_item[index] = value;
   38|  1.04M|}
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|    103|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    103|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    103|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 103, False: 0]
  ------------------
   25|    103|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    103|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    103|}
Python-ast.c:PyTuple_SET_ITEM:
   33|    230|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    230|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    230|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    230|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 230, False: 0]
  ------------------
   35|    230|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 230, False: 0]
  ------------------
   36|    230|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 230, False: 0]
  ------------------
   37|    230|    tuple->ob_item[index] = value;
   38|    230|}
assemble.c:PyTuple_SET_ITEM:
   33|   222k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|   222k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   222k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   222k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 222k, False: 0]
  ------------------
   35|   222k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 222k, False: 0]
  ------------------
   36|   222k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 222k, False: 0]
  ------------------
   37|   222k|    tuple->ob_item[index] = value;
   38|   222k|}
assemble.c:PyTuple_GET_SIZE:
   23|   539k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   539k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   539k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   539k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 539k, False: 0]
  ------------------
   25|   539k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   539k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   539k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   539k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   539k|}

exceptions.c:PyUnicode_GET_LENGTH:
  297|     34|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     34|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     34|    (assert(PyUnicode_Check(op)), \
  |  |  187|     34|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 34, False: 0]
  ------------------
  299|     34|}
listobject.c:PyUnicode_GET_LENGTH:
  297|  1.28M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  1.28M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.28M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.28M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 1.28M, False: 0]
  ------------------
  299|  1.28M|}
listobject.c:_PyUnicode_DATA:
  279|  1.19M|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  1.19M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  1.19M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 1.19M, False: 0]
  |  |  ------------------
  ------------------
  281|  1.19M|        return _PyUnicode_COMPACT_DATA(op);
  282|  1.19M|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  1.19M|}
listobject.c:PyUnicode_IS_COMPACT:
  232|  1.19M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  1.19M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  1.19M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.19M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 1.19M, False: 0]
  ------------------
  234|  1.19M|}
listobject.c:_PyUnicode_COMPACT_DATA:
  262|  1.19M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  1.19M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  1.19M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 1.14M, False: 45.4k]
  |  |  ------------------
  ------------------
  264|  1.14M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  2.29M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1.14M, False: 0]
  |  |  ------------------
  ------------------
  265|  1.14M|    }
  266|  45.4k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|   272k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 45.4k, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 45.4k]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|  45.4k|}
listobject.c:PyUnicode_IS_ASCII:
  225|  1.19M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  1.19M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  1.19M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.19M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 1.19M, False: 0]
  ------------------
  227|  1.19M|}
longobject.c:PyUnicode_GET_LENGTH:
  297|     92|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     92|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     92|    (assert(PyUnicode_Check(op)), \
  |  |  187|     92|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 92, False: 0]
  ------------------
  299|     92|}
longobject.c:_PyUnicodeWriter_Prepare:
  523|     92|{
  524|     92|    assert(0 <= length);
  ------------------
  |  Branch (524:5): [True: 92, False: 0]
  ------------------
  525|     92|    if (maxchar <= writer->maxchar && length <= (writer->size - writer->pos)) {
  ------------------
  |  Branch (525:9): [True: 0, False: 92]
  |  Branch (525:39): [True: 0, False: 0]
  ------------------
  526|      0|        return 0;
  527|      0|    }
  528|     92|    if (length == 0) {
  ------------------
  |  Branch (528:9): [True: 0, False: 92]
  ------------------
  529|      0|        return 0;
  530|      0|    }
  531|     92|_Py_COMP_DIAG_PUSH
  532|     92|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
  533|     92|    return _PyUnicodeWriter_PrepareInternal(writer, length, maxchar);
  534|     92|_Py_COMP_DIAG_POP
  535|     92|}
longobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  304|     92|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|     92|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|     92|    (assert(PyUnicode_Check(op)), \
  |  |  187|     92|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (308:12): [True: 92, False: 0]
  ------------------
  309|     92|#endif
  310|     92|}
longobject.c:PyUnicode_CHECK_INTERNED:
  208|     92|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|     92|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|     92|    (assert(PyUnicode_Check(op)), \
  |  |  187|     92|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (212:12): [True: 92, False: 0]
  ------------------
  213|     92|#endif
  214|     92|}
longobject.c:PyUnicode_IS_COMPACT_ASCII:
  239|     92|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  240|    184|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|     92|    (assert(PyUnicode_Check(op)), \
  |  |  187|     92|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  235|     92|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 92, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (240:13): [True: 92, False: 0]
  |  Branch (240:13): [True: 92, False: 0]
  ------------------
  241|     92|}
longobject.c:PyUnicode_IS_COMPACT:
  232|   189k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|   189k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   189k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   189k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   189k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 189k, False: 0]
  ------------------
  234|   189k|}
longobject.c:_PyUnicode_DATA:
  279|   188k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|   188k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|   188k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   188k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   188k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 188k, False: 0]
  |  |  ------------------
  ------------------
  281|   188k|        return _PyUnicode_COMPACT_DATA(op);
  282|   188k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|   188k|}
longobject.c:_PyUnicode_COMPACT_DATA:
  262|   188k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|   188k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|   188k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   188k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   188k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 188k, False: 0]
  |  |  ------------------
  ------------------
  264|   188k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   377k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 188k, False: 0]
  |  |  ------------------
  ------------------
  265|   188k|    }
  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|   189k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|   189k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   189k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   189k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   189k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 189k, False: 0]
  ------------------
  227|   189k|}
dictobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  304|  15.8M|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|  15.8M|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  15.8M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  15.8M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  15.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (308:12): [True: 15.8M, False: 0]
  ------------------
  309|  15.8M|#endif
  310|  15.8M|}
dictobject.c:PyUnicode_GET_LENGTH:
  297|   616k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|   616k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   616k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   616k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   616k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 616k, False: 0]
  ------------------
  299|   616k|}
dictobject.c:_PyUnicode_DATA:
  279|   616k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|   616k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|   616k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   616k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   616k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 616k, False: 0]
  |  |  ------------------
  ------------------
  281|   616k|        return _PyUnicode_COMPACT_DATA(op);
  282|   616k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|   616k|}
dictobject.c:PyUnicode_IS_COMPACT:
  232|   616k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|   616k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   616k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   616k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   616k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 616k, False: 0]
  ------------------
  234|   616k|}
dictobject.c:_PyUnicode_COMPACT_DATA:
  262|   616k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|   616k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|   616k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   616k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   616k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 536k, False: 80.4k]
  |  |  ------------------
  ------------------
  264|   536k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  1.07M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 536k, False: 0]
  |  |  ------------------
  ------------------
  265|   536k|    }
  266|  80.4k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|   482k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 80.4k, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 80.4k]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|  80.4k|}
dictobject.c:PyUnicode_IS_ASCII:
  225|   616k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|   616k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   616k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   616k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   616k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 616k, False: 0]
  ------------------
  227|   616k|}
setobject.c:PyUnicode_GET_LENGTH:
  297|  75.5k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  75.5k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  75.5k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  75.5k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  75.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 75.5k, False: 0]
  ------------------
  299|  75.5k|}
setobject.c:_PyUnicode_DATA:
  279|  75.5k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  75.5k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  75.5k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 75.5k, False: 0]
  |  |  ------------------
  ------------------
  281|  75.5k|        return _PyUnicode_COMPACT_DATA(op);
  282|  75.5k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  75.5k|}
setobject.c:PyUnicode_IS_COMPACT:
  232|  75.5k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  75.5k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  75.5k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  75.5k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  75.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 75.5k, False: 0]
  ------------------
  234|  75.5k|}
setobject.c:_PyUnicode_COMPACT_DATA:
  262|  75.5k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  75.5k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  75.5k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 630, False: 74.9k]
  |  |  ------------------
  ------------------
  264|    630|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  1.26k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 630, False: 0]
  |  |  ------------------
  ------------------
  265|    630|    }
  266|  74.9k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|   449k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 74.9k, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 74.9k]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|  74.9k|}
setobject.c:PyUnicode_IS_ASCII:
  225|  75.5k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  75.5k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  75.5k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  75.5k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  75.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 75.5k, False: 0]
  ------------------
  227|  75.5k|}
typeobject.c:PyUnicode_GET_LENGTH:
  297|  84.8k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  84.8k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  84.8k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  84.8k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  84.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 84.8k, False: 0]
  ------------------
  299|  84.8k|}
typeobject.c:_PyUnicode_DATA:
  279|  42.0k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  42.0k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  42.0k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 42.0k, False: 0]
  |  |  ------------------
  ------------------
  281|  42.0k|        return _PyUnicode_COMPACT_DATA(op);
  282|  42.0k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  42.0k|}
typeobject.c:PyUnicode_IS_COMPACT:
  232|  42.0k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  42.0k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  42.0k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  42.0k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  42.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 42.0k, False: 0]
  ------------------
  234|  42.0k|}
typeobject.c:_PyUnicode_COMPACT_DATA:
  262|  42.0k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  42.0k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  42.0k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 42.0k, False: 0]
  |  |  ------------------
  ------------------
  264|  42.0k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  84.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 42.0k, False: 0]
  |  |  ------------------
  ------------------
  265|  42.0k|    }
  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|  42.0k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  42.0k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  42.0k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  42.0k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  42.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 42.0k, False: 0]
  ------------------
  227|  42.0k|}
typeobject.c:PyUnicode_CHECK_INTERNED:
  208|  4.85M|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|  4.85M|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  4.85M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  4.85M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (212:12): [True: 4.85M, False: 0]
  ------------------
  213|  4.85M|#endif
  214|  4.85M|}
typeobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  304|  19.2k|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|  19.2k|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  19.2k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  19.2k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  19.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (308:12): [True: 19.2k, False: 0]
  ------------------
  309|  19.2k|#endif
  310|  19.2k|}
unicode_formatter.c:_PyUnicode_DATA:
  279|    184|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|    184|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|    184|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 184, False: 0]
  |  |  ------------------
  ------------------
  281|    184|        return _PyUnicode_COMPACT_DATA(op);
  282|    184|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|    184|}
unicode_formatter.c:PyUnicode_IS_COMPACT:
  232|    184|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|    184|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    184|    (assert(PyUnicode_Check(op)), \
  |  |  187|    184|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 184, False: 0]
  ------------------
  234|    184|}
unicode_formatter.c:_PyUnicode_COMPACT_DATA:
  262|    184|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|    184|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|    184|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 184, False: 0]
  |  |  ------------------
  ------------------
  264|    184|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    368|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 184, False: 0]
  |  |  ------------------
  ------------------
  265|    184|    }
  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_formatter.c:PyUnicode_IS_ASCII:
  225|    184|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|    184|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    184|    (assert(PyUnicode_Check(op)), \
  |  |  187|    184|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 184, False: 0]
  ------------------
  227|    184|}
unicode_formatter.c:PyUnicode_READ:
  343|  1.01k|{
  344|  1.01k|    assert(index >= 0);
  ------------------
  |  Branch (344:5): [True: 1.01k, False: 0]
  ------------------
  345|  1.01k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (345:9): [True: 1.01k, False: 0]
  ------------------
  346|  1.01k|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|  1.01k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  347|  1.01k|    }
  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|}
unicode_writer.c:PyUnstable_Unicode_GET_CACHED_HASH:
  304|   649k|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|   649k|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|   649k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   649k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   649k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (308:12): [True: 649k, False: 0]
  ------------------
  309|   649k|#endif
  310|   649k|}
unicode_writer.c:PyUnicode_CHECK_INTERNED:
  208|   649k|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|   649k|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|   649k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   649k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   649k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (212:12): [True: 649k, False: 0]
  ------------------
  213|   649k|#endif
  214|   649k|}
unicode_writer.c:PyUnicode_IS_COMPACT_ASCII:
  239|   649k|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  240|  1.29M|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|   649k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   649k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   649k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  235|   423k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   423k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   423k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 423k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (240:13): [True: 649k, False: 0]
  |  Branch (240:13): [True: 423k, False: 226k]
  ------------------
  241|   649k|}
unicode_writer.c:PyUnicode_IS_COMPACT:
  232|   835k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|   835k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   835k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   835k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   835k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 835k, False: 0]
  ------------------
  234|   835k|}
unicode_writer.c:PyUnicode_WRITE:
  319|  20.8k|{
  320|  20.8k|    assert(index >= 0);
  ------------------
  |  Branch (320:5): [True: 20.8k, False: 0]
  ------------------
  321|  20.8k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (321:9): [True: 16.4k, False: 4.46k]
  ------------------
  322|  16.4k|        assert(value <= 0xffU);
  ------------------
  |  Branch (322:9): [True: 16.4k, False: 0]
  ------------------
  323|  16.4k|        _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|  16.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|  16.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  324|  16.4k|    }
  325|  4.46k|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (325:14): [True: 4.38k, False: 80]
  ------------------
  326|  4.38k|        assert(value <= 0xffffU);
  ------------------
  |  Branch (326:9): [True: 4.38k, False: 0]
  ------------------
  327|  4.38k|        _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|  4.38k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|  4.38k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  328|  4.38k|    }
  329|     80|    else {
  330|     80|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (330:9): [True: 80, False: 0]
  ------------------
  331|     80|        assert(value <= 0x10ffffU);
  ------------------
  |  Branch (331:9): [True: 80, False: 0]
  ------------------
  332|     80|        _Py_STATIC_CAST(Py_UCS4*, data)[index] = value;
  ------------------
  |  |   34|     80|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  333|     80|    }
  334|  20.8k|}
unicode_writer.c:PyUnicode_GET_LENGTH:
  297|  1.87M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  1.87M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.87M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.87M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 1.87M, False: 0]
  ------------------
  299|  1.87M|}
unicode_writer.c:PyUnicode_MAX_CHAR_VALUE:
  388|   719k|{
  389|   719k|    int kind;
  390|       |
  391|   719k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|   719k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   719k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   719k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 451k, False: 267k]
  |  |  ------------------
  ------------------
  392|   451k|        return 0x7fU;
  393|   451k|    }
  394|       |
  395|   267k|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  259|   267k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   534k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 267k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  396|   267k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (396:9): [True: 86.6k, False: 180k]
  ------------------
  397|  86.6k|       return 0xffU;
  398|  86.6k|    }
  399|   180k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (399:9): [True: 155k, False: 25.4k]
  ------------------
  400|   155k|        return 0xffffU;
  401|   155k|    }
  402|   180k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (402:5): [True: 25.4k, False: 0]
  ------------------
  403|  25.4k|    return 0x10ffffU;
  404|  25.4k|}
unicode_writer.c:PyUnicode_IS_ASCII:
  225|  1.13M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  1.13M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  1.13M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.13M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 1.13M, False: 0]
  ------------------
  227|  1.13M|}
unicode_writer.c:_PyUnicodeWriter_Prepare:
  523|   273k|{
  524|   273k|    assert(0 <= length);
  ------------------
  |  Branch (524:5): [True: 273k, False: 0]
  ------------------
  525|   273k|    if (maxchar <= writer->maxchar && length <= (writer->size - writer->pos)) {
  ------------------
  |  Branch (525:9): [True: 168k, False: 104k]
  |  Branch (525:39): [True: 158k, False: 9.91k]
  ------------------
  526|   158k|        return 0;
  527|   158k|    }
  528|   114k|    if (length == 0) {
  ------------------
  |  Branch (528:9): [True: 0, False: 114k]
  ------------------
  529|      0|        return 0;
  530|      0|    }
  531|   114k|_Py_COMP_DIAG_PUSH
  532|   114k|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
  533|   114k|    return _PyUnicodeWriter_PrepareInternal(writer, length, maxchar);
  534|   114k|_Py_COMP_DIAG_POP
  535|   114k|}
unicode_writer.c:_PyUnicode_DATA:
  279|   412k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|   412k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|   412k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   412k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   412k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 412k, False: 0]
  |  |  ------------------
  ------------------
  281|   412k|        return _PyUnicode_COMPACT_DATA(op);
  282|   412k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|   412k|}
unicode_writer.c:_PyUnicode_COMPACT_DATA:
  262|   412k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|   412k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|   412k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   412k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   412k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 198k, False: 214k]
  |  |  ------------------
  ------------------
  264|   198k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   396k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 198k, False: 0]
  |  |  ------------------
  ------------------
  265|   198k|    }
  266|   214k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  1.28M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 214k, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 214k]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|   214k|}
unicodeobject.c:PyUnicode_CHECK_INTERNED:
  208|  4.20M|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|  4.20M|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  4.20M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  4.20M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.20M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (212:12): [True: 4.20M, False: 0]
  ------------------
  213|  4.20M|#endif
  214|  4.20M|}
unicodeobject.c:_PyUnicode_DATA:
  279|  53.6M|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  53.6M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  53.6M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 53.6M, False: 7]
  |  |  ------------------
  ------------------
  281|  53.6M|        return _PyUnicode_COMPACT_DATA(op);
  282|  53.6M|    }
  283|      7|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  53.6M|}
unicodeobject.c:_PyUnicode_COMPACT_DATA:
  262|  53.6M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  53.6M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  53.6M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 11.3M, False: 42.2M]
  |  |  ------------------
  ------------------
  264|  11.3M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  22.6M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 11.3M, False: 0]
  |  |  ------------------
  ------------------
  265|  11.3M|    }
  266|  42.2M|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|   253M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 42.2M, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 42.2M]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|  42.2M|}
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|   259M|{
  344|   259M|    assert(index >= 0);
  ------------------
  |  Branch (344:5): [True: 259M, False: 0]
  ------------------
  345|   259M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (345:9): [True: 187M, False: 72.3M]
  ------------------
  346|   187M|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|   187M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  347|   187M|    }
  348|  72.3M|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (348:9): [True: 64.4M, False: 7.85M]
  ------------------
  349|  64.4M|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|  64.4M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  350|  64.4M|    }
  351|  72.3M|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (351:5): [True: 7.85M, False: 0]
  ------------------
  352|  7.85M|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|  7.85M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  353|  7.85M|}
unicodeobject.c:PyUnicode_GET_LENGTH:
  297|  35.0M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  35.0M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  35.0M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  35.0M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  35.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 35.0M, False: 0]
  ------------------
  299|  35.0M|}
unicodeobject.c:PyUnicode_IS_COMPACT:
  232|  66.4M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  66.4M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  66.4M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  66.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  66.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 66.4M, False: 0]
  ------------------
  234|  66.4M|}
unicodeobject.c:PyUnicode_IS_ASCII:
  225|  59.4M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  59.4M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  59.4M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  59.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  59.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 59.4M, False: 0]
  ------------------
  227|  59.4M|}
unicodeobject.c:PyUnicode_IS_COMPACT_ASCII:
  239|  11.0M|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  240|  22.1M|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|  11.0M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  11.0M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  11.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  235|  3.35M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.35M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 3.35M, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (240:13): [True: 11.0M, False: 0]
  |  Branch (240:13): [True: 3.35M, False: 7.70M]
  ------------------
  241|  11.0M|}
unicodeobject.c:PyUnicode_WRITE:
  319|  2.22M|{
  320|  2.22M|    assert(index >= 0);
  ------------------
  |  Branch (320:5): [True: 2.22M, False: 0]
  ------------------
  321|  2.22M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (321:9): [True: 813k, False: 1.41M]
  ------------------
  322|   813k|        assert(value <= 0xffU);
  ------------------
  |  Branch (322:9): [True: 813k, False: 0]
  ------------------
  323|   813k|        _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|   813k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|   813k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  324|   813k|    }
  325|  1.41M|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (325:14): [True: 1.10M, False: 305k]
  ------------------
  326|  1.10M|        assert(value <= 0xffffU);
  ------------------
  |  Branch (326:9): [True: 1.10M, False: 0]
  ------------------
  327|  1.10M|        _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|  1.10M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|  1.10M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  328|  1.10M|    }
  329|   305k|    else {
  330|   305k|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (330:9): [True: 305k, False: 0]
  ------------------
  331|   305k|        assert(value <= 0x10ffffU);
  ------------------
  |  Branch (331:9): [True: 305k, False: 0]
  ------------------
  332|   305k|        _Py_STATIC_CAST(Py_UCS4*, data)[index] = value;
  ------------------
  |  |   34|   305k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  333|   305k|    }
  334|  2.22M|}
unicodeobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  304|  3.70M|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.70M|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  3.70M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.70M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.70M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (308:12): [True: 3.70M, False: 0]
  ------------------
  309|  3.70M|#endif
  310|  3.70M|}
unicodeobject.c:_PyUnicodeWriter_Prepare:
  523|   321k|{
  524|   321k|    assert(0 <= length);
  ------------------
  |  Branch (524:5): [True: 321k, False: 0]
  ------------------
  525|   321k|    if (maxchar <= writer->maxchar && length <= (writer->size - writer->pos)) {
  ------------------
  |  Branch (525:9): [True: 259k, False: 61.9k]
  |  Branch (525:39): [True: 254k, False: 4.58k]
  ------------------
  526|   254k|        return 0;
  527|   254k|    }
  528|  66.5k|    if (length == 0) {
  ------------------
  |  Branch (528:9): [True: 0, False: 66.5k]
  ------------------
  529|      0|        return 0;
  530|      0|    }
  531|  66.5k|_Py_COMP_DIAG_PUSH
  532|  66.5k|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
  533|  66.5k|    return _PyUnicodeWriter_PrepareInternal(writer, length, maxchar);
  534|  66.5k|_Py_COMP_DIAG_POP
  535|  66.5k|}
unicodeobject.c:PyUnicode_MAX_CHAR_VALUE:
  388|  1.48M|{
  389|  1.48M|    int kind;
  390|       |
  391|  1.48M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  1.48M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.48M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.48M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 726k, False: 760k]
  |  |  ------------------
  ------------------
  392|   726k|        return 0x7fU;
  393|   726k|    }
  394|       |
  395|   760k|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  259|   760k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.52M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 760k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  396|   760k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (396:9): [True: 83.4k, False: 676k]
  ------------------
  397|  83.4k|       return 0xffU;
  398|  83.4k|    }
  399|   676k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (399:9): [True: 617k, False: 59.4k]
  ------------------
  400|   617k|        return 0xffffU;
  401|   617k|    }
  402|   676k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (402:5): [True: 59.4k, False: 0]
  ------------------
  403|  59.4k|    return 0x10ffffU;
  404|  59.4k|}
unicodeobject.c:Py_UNICODE_IS_LOW_SURROGATE:
   22|  3.40k|static inline int Py_UNICODE_IS_LOW_SURROGATE(Py_UCS4 ch) {
   23|  3.40k|    return (0xDC00 <= ch && ch <= 0xDFFF);
  ------------------
  |  Branch (23:13): [True: 3.20k, False: 192]
  |  Branch (23:29): [True: 3.19k, False: 13]
  ------------------
   24|  3.40k|}
unicodeobject.c:Py_UNICODE_JOIN_SURROGATES:
   27|  1.59k|static inline Py_UCS4 Py_UNICODE_JOIN_SURROGATES(Py_UCS4 high, Py_UCS4 low)  {
   28|  1.59k|    assert(Py_UNICODE_IS_HIGH_SURROGATE(high));
  ------------------
  |  Branch (28:5): [True: 1.59k, False: 0]
  ------------------
   29|  1.59k|    assert(Py_UNICODE_IS_LOW_SURROGATE(low));
  ------------------
  |  Branch (29:5): [True: 1.59k, False: 0]
  ------------------
   30|  1.59k|    return 0x10000 + (((high & 0x03FF) << 10) | (low & 0x03FF));
   31|  1.59k|}
unicodeobject.c:Py_UNICODE_IS_HIGH_SURROGATE:
   19|  7.69k|static inline int Py_UNICODE_IS_HIGH_SURROGATE(Py_UCS4 ch) {
   20|  7.69k|    return (0xD800 <= ch && ch <= 0xDBFF);
  ------------------
  |  Branch (20:13): [True: 5.40k, False: 2.29k]
  |  Branch (20:29): [True: 4.08k, False: 1.31k]
  ------------------
   21|  7.69k|}
unicodeobject.c:Py_UNICODE_IS_SURROGATE:
   16|  1.71M|static inline int Py_UNICODE_IS_SURROGATE(Py_UCS4 ch) {
   17|  1.71M|    return (0xD800 <= ch && ch <= 0xDFFF);
  ------------------
  |  Branch (17:13): [True: 567k, False: 1.14M]
  |  Branch (17:29): [True: 1.02k, False: 566k]
  ------------------
   18|  1.71M|}
unicodeobject.c:Py_UNICODE_ISSPACE:
  703|     52|static inline int Py_UNICODE_ISSPACE(Py_UCS4 ch) {
  704|     52|    if (ch < 128) {
  ------------------
  |  Branch (704:9): [True: 52, False: 0]
  ------------------
  705|     52|        return _Py_ascii_whitespace[ch];
  706|     52|    }
  707|      0|    return _PyUnicode_IsWhitespace(ch);
  708|     52|}
bltinmodule.c:PyUnicode_GET_LENGTH:
  297|  9.73M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  9.73M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  9.73M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  9.73M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 9.73M, False: 0]
  ------------------
  299|  9.73M|}
bltinmodule.c:PyUnicode_READ_CHAR:
  364|  4.86M|{
  365|  4.86M|    int kind;
  366|       |
  367|  4.86M|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 4.86M, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|  4.86M|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 4.86M, False: 0]
  ------------------
  370|       |
  371|  4.86M|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  4.86M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  9.73M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 4.86M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|  4.86M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 649k, False: 4.21M]
  ------------------
  373|   649k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|   649k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   649k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|   649k|    }
  375|  4.21M|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (375:9): [True: 3.93M, False: 282k]
  ------------------
  376|  3.93M|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|  3.93M|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  3.93M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  377|  3.93M|    }
  378|  4.21M|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (378:5): [True: 282k, False: 0]
  ------------------
  379|   282k|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  294|   282k|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   282k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  380|   282k|}
bltinmodule.c:_PyUnicode_DATA:
  279|  4.86M|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  4.86M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  4.86M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 4.86M, False: 0]
  |  |  ------------------
  ------------------
  281|  4.86M|        return _PyUnicode_COMPACT_DATA(op);
  282|  4.86M|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  4.86M|}
bltinmodule.c:PyUnicode_IS_COMPACT:
  232|  4.86M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  4.86M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  4.86M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  4.86M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 4.86M, False: 0]
  ------------------
  234|  4.86M|}
bltinmodule.c:_PyUnicode_COMPACT_DATA:
  262|  4.86M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  4.86M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  4.86M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 405k, False: 4.46M]
  |  |  ------------------
  ------------------
  264|   405k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   810k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 405k, False: 0]
  |  |  ------------------
  ------------------
  265|   405k|    }
  266|  4.46M|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  26.7M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 4.46M, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 4.46M]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|  4.46M|}
bltinmodule.c:PyUnicode_IS_ASCII:
  225|  4.86M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  4.86M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  4.86M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  4.86M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 4.86M, False: 0]
  ------------------
  227|  4.86M|}
ceval.c:PyUnicode_IS_COMPACT_ASCII:
  239|  2.23k|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  240|  4.46k|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|  2.23k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.23k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  235|  2.22k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 2.22k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (240:13): [True: 2.23k, False: 0]
  |  Branch (240:13): [True: 2.22k, False: 10]
  ------------------
  241|  2.23k|}
ceval.c:PyUnicode_IS_COMPACT:
  232|  2.76M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  2.76M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  2.76M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.76M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 2.76M, False: 0]
  ------------------
  234|  2.76M|}
ceval.c:PyUnicode_GET_LENGTH:
  297|  5.53M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  5.53M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  5.53M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  5.53M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 5.53M, False: 0]
  ------------------
  299|  5.53M|}
ceval.c:_PyUnicode_DATA:
  279|  2.76M|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  2.76M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  2.76M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 2.76M, False: 0]
  |  |  ------------------
  ------------------
  281|  2.76M|        return _PyUnicode_COMPACT_DATA(op);
  282|  2.76M|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  2.76M|}
ceval.c:_PyUnicode_COMPACT_DATA:
  262|  2.76M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  2.76M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  2.76M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 2.21k, False: 2.76M]
  |  |  ------------------
  ------------------
  264|  2.21k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  4.43k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 2.21k, False: 0]
  |  |  ------------------
  ------------------
  265|  2.21k|    }
  266|  2.76M|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  16.5M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 2.76M, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 2.76M]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|  2.76M|}
ceval.c:PyUnicode_IS_ASCII:
  225|  2.76M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  2.76M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  2.76M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.76M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 2.76M, False: 0]
  ------------------
  227|  2.76M|}
ceval.c:PyUnicode_READ_CHAR:
  364|  2.76M|{
  365|  2.76M|    int kind;
  366|       |
  367|  2.76M|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 2.76M, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|  2.76M|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 2.76M, False: 0]
  ------------------
  370|       |
  371|  2.76M|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  2.76M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  5.52M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2.76M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|  2.76M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 93.4k, False: 2.67M]
  ------------------
  373|  93.4k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|  93.4k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  93.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|  93.4k|    }
  375|  2.67M|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (375:9): [True: 2.48M, False: 191k]
  ------------------
  376|  2.48M|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|  2.48M|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  2.48M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  377|  2.48M|    }
  378|  2.67M|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (378:5): [True: 191k, False: 0]
  ------------------
  379|   191k|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  294|   191k|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   191k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  380|   191k|}
codegen.c:PyUnicode_GET_LENGTH:
  297|  13.7k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  13.7k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  13.7k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  13.7k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  13.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 13.7k, False: 0]
  ------------------
  299|  13.7k|}
codegen.c:PyUnicode_READ_CHAR:
  364|  5.48k|{
  365|  5.48k|    int kind;
  366|       |
  367|  5.48k|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 5.48k, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|  5.48k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 5.48k, False: 0]
  ------------------
  370|       |
  371|  5.48k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  5.48k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  10.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 5.48k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|  5.48k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 4.83k, False: 645]
  ------------------
  373|  4.83k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|  4.83k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  4.83k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|  4.83k|    }
  375|    645|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (375:9): [True: 304, False: 341]
  ------------------
  376|    304|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|    304|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    304|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  377|    304|    }
  378|    645|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (378:5): [True: 341, False: 0]
  ------------------
  379|    341|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  294|    341|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    341|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  380|    341|}
codegen.c:_PyUnicode_DATA:
  279|  5.48k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  5.48k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  5.48k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 5.48k, False: 0]
  |  |  ------------------
  ------------------
  281|  5.48k|        return _PyUnicode_COMPACT_DATA(op);
  282|  5.48k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  5.48k|}
codegen.c:PyUnicode_IS_COMPACT:
  232|  5.48k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  5.48k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  5.48k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  5.48k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 5.48k, False: 0]
  ------------------
  234|  5.48k|}
codegen.c:_PyUnicode_COMPACT_DATA:
  262|  5.48k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  5.48k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  5.48k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 4.78k, False: 693]
  |  |  ------------------
  ------------------
  264|  4.78k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  9.57k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 4.78k, False: 0]
  |  |  ------------------
  ------------------
  265|  4.78k|    }
  266|    693|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  4.15k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 693, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 693]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|    693|}
codegen.c:PyUnicode_IS_ASCII:
  225|  5.48k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  5.48k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  5.48k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  5.48k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 5.48k, False: 0]
  ------------------
  227|  5.48k|}
compile.c:PyUnicode_READ_CHAR:
  364|  88.6k|{
  365|  88.6k|    int kind;
  366|       |
  367|  88.6k|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 88.6k, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|  88.6k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 88.6k, False: 0]
  ------------------
  370|       |
  371|  88.6k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  88.6k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   177k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 88.6k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|  88.6k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 88.6k, False: 1]
  ------------------
  373|  88.6k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|  88.6k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  88.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|  88.6k|    }
  375|      1|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (375:9): [True: 1, False: 0]
  ------------------
  376|      1|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      1|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      1|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  377|      1|    }
  378|      1|    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|}
compile.c:PyUnicode_GET_LENGTH:
  297|  88.6k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  88.6k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  88.6k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  88.6k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  88.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 88.6k, False: 0]
  ------------------
  299|  88.6k|}
compile.c:_PyUnicode_DATA:
  279|  88.6k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  88.6k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  88.6k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  88.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  88.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 88.6k, False: 0]
  |  |  ------------------
  ------------------
  281|  88.6k|        return _PyUnicode_COMPACT_DATA(op);
  282|  88.6k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  88.6k|}
compile.c:PyUnicode_IS_COMPACT:
  232|  88.6k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  88.6k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  88.6k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  88.6k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  88.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 88.6k, False: 0]
  ------------------
  234|  88.6k|}
compile.c:_PyUnicode_COMPACT_DATA:
  262|  88.6k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  88.6k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  88.6k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  88.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  88.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 88.6k, False: 2]
  |  |  ------------------
  ------------------
  264|  88.6k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   177k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 88.6k, False: 0]
  |  |  ------------------
  ------------------
  265|  88.6k|    }
  266|      2|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|     12|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 2, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 2]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      2|}
compile.c:PyUnicode_IS_ASCII:
  225|  88.6k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  88.6k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  88.6k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  88.6k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  88.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 88.6k, False: 0]
  ------------------
  227|  88.6k|}
flowgraph.c:PyUnicode_GET_LENGTH:
  297|   141k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|   141k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   141k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   141k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   141k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 141k, False: 0]
  ------------------
  299|   141k|}
import.c:PyUnicode_GET_LENGTH:
  297|   510k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|   510k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   510k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   510k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   510k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 510k, False: 0]
  ------------------
  299|   510k|}
importdl.c:PyUnicode_IS_ASCII:
  225|     43|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|     43|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     43|    (assert(PyUnicode_Check(op)), \
  |  |  187|     43|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 43, False: 0]
  ------------------
  227|     43|}
intrinsics.c:PyUnicode_READ_CHAR:
  364|  1.66k|{
  365|  1.66k|    int kind;
  366|       |
  367|  1.66k|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 1.66k, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|  1.66k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 1.66k, False: 0]
  ------------------
  370|       |
  371|  1.66k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  1.66k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  3.33k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.66k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|  1.66k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 1.66k, False: 0]
  ------------------
  373|  1.66k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|  1.66k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.66k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|  1.66k|    }
  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.66k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  1.66k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.66k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.66k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 1.66k, False: 0]
  ------------------
  299|  1.66k|}
intrinsics.c:_PyUnicode_DATA:
  279|  1.66k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  1.66k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  1.66k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 1.66k, False: 0]
  |  |  ------------------
  ------------------
  281|  1.66k|        return _PyUnicode_COMPACT_DATA(op);
  282|  1.66k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  1.66k|}
intrinsics.c:PyUnicode_IS_COMPACT:
  232|  1.66k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  1.66k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  1.66k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.66k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 1.66k, False: 0]
  ------------------
  234|  1.66k|}
intrinsics.c:_PyUnicode_COMPACT_DATA:
  262|  1.66k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  1.66k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  1.66k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 1.66k, False: 0]
  |  |  ------------------
  ------------------
  264|  1.66k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  3.33k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1.66k, False: 0]
  |  |  ------------------
  ------------------
  265|  1.66k|    }
  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.66k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  1.66k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  1.66k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.66k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 1.66k, False: 0]
  ------------------
  227|  1.66k|}
specialize.c:PyUnicode_IS_COMPACT_ASCII:
  239|  50.3k|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  240|   100k|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|  50.3k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  50.3k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  50.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  235|     10|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 10, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (240:13): [True: 50.3k, False: 0]
  |  Branch (240:13): [True: 10, False: 50.3k]
  ------------------
  241|  50.3k|}
specialize.c:PyUnicode_IS_COMPACT:
  232|     10|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|     10|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     10|    (assert(PyUnicode_Check(op)), \
  |  |  187|     10|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 10, False: 0]
  ------------------
  234|     10|}
symtable.c:PyUnicode_GET_LENGTH:
  297|  1.07M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  1.07M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.07M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.07M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 1.07M, False: 0]
  ------------------
  299|  1.07M|}
symtable.c:PyUnicode_READ_CHAR:
  364|   771k|{
  365|   771k|    int kind;
  366|       |
  367|   771k|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 771k, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|   771k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 771k, False: 0]
  ------------------
  370|       |
  371|   771k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|   771k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.54M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 771k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|   771k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 679k, False: 91.5k]
  ------------------
  373|   679k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|   679k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   679k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|   679k|    }
  375|  91.5k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (375:9): [True: 87.2k, False: 4.39k]
  ------------------
  376|  87.2k|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|  87.2k|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  87.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  377|  87.2k|    }
  378|  91.5k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (378:5): [True: 4.39k, False: 0]
  ------------------
  379|  4.39k|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  294|  4.39k|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  4.39k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  380|  4.39k|}
symtable.c:_PyUnicode_DATA:
  279|   771k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|   771k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|   771k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   771k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   771k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 771k, False: 0]
  |  |  ------------------
  ------------------
  281|   771k|        return _PyUnicode_COMPACT_DATA(op);
  282|   771k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|   771k|}
symtable.c:PyUnicode_IS_COMPACT:
  232|   771k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|   771k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   771k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   771k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   771k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 771k, False: 0]
  ------------------
  234|   771k|}
symtable.c:_PyUnicode_COMPACT_DATA:
  262|   771k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|   771k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|   771k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   771k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   771k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 653k, False: 117k]
  |  |  ------------------
  ------------------
  264|   653k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  1.30M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 653k, False: 0]
  |  |  ------------------
  ------------------
  265|   653k|    }
  266|   117k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|   704k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 117k, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 117k]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|   117k|}
symtable.c:PyUnicode_IS_ASCII:
  225|   771k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|   771k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   771k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   771k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   771k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 771k, False: 0]
  ------------------
  227|   771k|}
typecache.c:PyUnicode_CHECK_INTERNED:
  208|  4.84M|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|  4.84M|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  4.84M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  4.84M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.84M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (212:12): [True: 4.84M, False: 0]
  ------------------
  213|  4.84M|#endif
  214|  4.84M|}
typecache.c:PyUnstable_Unicode_GET_CACHED_HASH:
  304|  4.85M|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|  4.85M|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  4.85M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  4.85M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (308:12): [True: 4.85M, False: 0]
  ------------------
  309|  4.85M|#endif
  310|  4.85M|}
fileutils.c:Py_UNICODE_IS_SURROGATE:
   16|   162k|static inline int Py_UNICODE_IS_SURROGATE(Py_UCS4 ch) {
   17|   162k|    return (0xD800 <= ch && ch <= 0xDFFF);
  ------------------
  |  Branch (17:13): [True: 0, False: 162k]
  |  Branch (17:29): [True: 0, False: 0]
  ------------------
   18|   162k|}
_codecsmodule.c:PyUnicode_GET_LENGTH:
  297|    285|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|    285|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    285|    (assert(PyUnicode_Check(op)), \
  |  |  187|    285|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    285|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 285, False: 0]
  ------------------
  299|    285|}
textio.c:PyUnicode_GET_LENGTH:
  297|   248k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|   248k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   248k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   248k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   248k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 248k, False: 0]
  ------------------
  299|   248k|}
textio.c:PyUnicode_IS_ASCII:
  225|   165k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|   165k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   165k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   165k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   165k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 165k, False: 0]
  ------------------
  227|   165k|}
textio.c:_PyUnicode_DATA:
  279|  41.4k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  41.4k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  41.4k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 41.4k, False: 0]
  |  |  ------------------
  ------------------
  281|  41.4k|        return _PyUnicode_COMPACT_DATA(op);
  282|  41.4k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  41.4k|}
textio.c:PyUnicode_IS_COMPACT:
  232|  41.4k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  41.4k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  41.4k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  41.4k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 41.4k, False: 0]
  ------------------
  234|  41.4k|}
textio.c:_PyUnicode_COMPACT_DATA:
  262|  41.4k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  41.4k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  41.4k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 41.4k, False: 0]
  |  |  ------------------
  ------------------
  264|  41.4k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  82.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 41.4k, False: 0]
  |  |  ------------------
  ------------------
  265|  41.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|}
sre.c:PyUnicode_GET_LENGTH:
  297|     13|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     13|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     13|    (assert(PyUnicode_Check(op)), \
  |  |  187|     13|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 13, False: 0]
  ------------------
  299|     13|}
sre.c:_PyUnicode_DATA:
  279|     13|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|     13|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|     13|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 13, False: 0]
  |  |  ------------------
  ------------------
  281|     13|        return _PyUnicode_COMPACT_DATA(op);
  282|     13|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|     13|}
sre.c:PyUnicode_IS_COMPACT:
  232|     13|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|     13|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     13|    (assert(PyUnicode_Check(op)), \
  |  |  187|     13|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 13, False: 0]
  ------------------
  234|     13|}
sre.c:_PyUnicode_COMPACT_DATA:
  262|     13|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|     13|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|     13|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 12, False: 1]
  |  |  ------------------
  ------------------
  264|     12|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|     24|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 12, False: 0]
  |  |  ------------------
  ------------------
  265|     12|    }
  266|      1|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      6|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 1]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      1|}
sre.c:PyUnicode_IS_ASCII:
  225|     13|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|     13|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     13|    (assert(PyUnicode_Check(op)), \
  |  |  187|     13|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 13, False: 0]
  ------------------
  227|     13|}
getpath.c:PyUnicode_GET_LENGTH:
  297|     12|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     12|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     12|    (assert(PyUnicode_Check(op)), \
  |  |  187|     12|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 12, False: 0]
  ------------------
  299|     12|}
helpers.c:PyUnicode_GET_LENGTH:
  297|  2.41k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  2.41k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  2.41k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.41k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 2.41k, False: 0]
  ------------------
  299|  2.41k|}
abstract.c:PyUnicode_GET_LENGTH:
  297|     92|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|     92|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     92|    (assert(PyUnicode_Check(op)), \
  |  |  187|     92|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 92, False: 0]
  ------------------
  299|     92|}
bytesobject.c:PyUnicode_IS_ASCII:
  225|  3.16k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  3.16k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  3.16k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.16k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 3.16k, False: 0]
  ------------------
  227|  3.16k|}
bytesobject.c:_PyUnicode_DATA:
  279|  3.16k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  3.16k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  3.16k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_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 (235:34): [True: 3.16k, False: 0]
  |  |  ------------------
  ------------------
  281|  3.16k|        return _PyUnicode_COMPACT_DATA(op);
  282|  3.16k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  3.16k|}
bytesobject.c:PyUnicode_IS_COMPACT:
  232|  3.16k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  3.16k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  3.16k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.16k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 3.16k, False: 0]
  ------------------
  234|  3.16k|}
bytesobject.c:_PyUnicode_COMPACT_DATA:
  262|  3.16k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  3.16k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  3.16k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_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 (228:32): [True: 3.16k, False: 0]
  |  |  ------------------
  ------------------
  264|  3.16k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  6.32k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 3.16k, False: 0]
  |  |  ------------------
  ------------------
  265|  3.16k|    }
  266|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|      0|}
codeobject.c:PyUnicode_IS_ASCII:
  225|   382k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|   382k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   382k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   382k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   382k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 382k, False: 0]
  ------------------
  227|   382k|}
codeobject.c:_PyUnicode_DATA:
  279|   164k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|   164k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|   164k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   164k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   164k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 164k, False: 0]
  |  |  ------------------
  ------------------
  281|   164k|        return _PyUnicode_COMPACT_DATA(op);
  282|   164k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|   164k|}
codeobject.c:PyUnicode_IS_COMPACT:
  232|   164k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|   164k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   164k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   164k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   164k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 164k, False: 0]
  ------------------
  234|   164k|}
codeobject.c:_PyUnicode_COMPACT_DATA:
  262|   164k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|   164k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|   164k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   164k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   164k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 164k, False: 0]
  |  |  ------------------
  ------------------
  264|   164k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   328k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 164k, False: 0]
  |  |  ------------------
  ------------------
  265|   164k|    }
  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|   164k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|   164k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   164k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   164k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   164k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 164k, False: 0]
  ------------------
  299|   164k|}
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|}
ast_preprocess.c:_PyUnicode_DATA:
  279|  26.9k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  26.9k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  26.9k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 26.9k, False: 0]
  |  |  ------------------
  ------------------
  281|  26.9k|        return _PyUnicode_COMPACT_DATA(op);
  282|  26.9k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  26.9k|}
ast_preprocess.c:PyUnicode_IS_COMPACT:
  232|  26.9k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  26.9k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  26.9k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  26.9k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  26.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 26.9k, False: 0]
  ------------------
  234|  26.9k|}
ast_preprocess.c:_PyUnicode_COMPACT_DATA:
  262|  26.9k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  26.9k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  26.9k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 14.4k, False: 12.4k]
  |  |  ------------------
  ------------------
  264|  14.4k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  28.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 14.4k, False: 0]
  |  |  ------------------
  ------------------
  265|  14.4k|    }
  266|  12.4k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  74.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 12.4k, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 12.4k]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|  12.4k|}
ast_preprocess.c:PyUnicode_IS_ASCII:
  225|  26.9k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  26.9k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  26.9k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  26.9k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  26.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 26.9k, False: 0]
  ------------------
  227|  26.9k|}
ast_preprocess.c:PyUnicode_READ:
  343|   221k|{
  344|   221k|    assert(index >= 0);
  ------------------
  |  Branch (344:5): [True: 221k, False: 0]
  ------------------
  345|   221k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (345:9): [True: 93.5k, False: 127k]
  ------------------
  346|  93.5k|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|  93.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  347|  93.5k|    }
  348|   127k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (348:9): [True: 44.8k, False: 82.7k]
  ------------------
  349|  44.8k|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|  44.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  350|  44.8k|    }
  351|   127k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (351:5): [True: 82.7k, False: 0]
  ------------------
  352|  82.7k|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|  82.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  353|  82.7k|}
ast_preprocess.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|}
ast_preprocess.c:PyUnicode_READ_CHAR:
  364|  18.3k|{
  365|  18.3k|    int kind;
  366|       |
  367|  18.3k|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 18.3k, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|  18.3k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 18.3k, False: 0]
  ------------------
  370|       |
  371|  18.3k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  18.3k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  36.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 18.3k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|  18.3k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 12.6k, False: 5.66k]
  ------------------
  373|  12.6k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|  12.6k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  12.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|  12.6k|    }
  375|  5.66k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (375:9): [True: 1.47k, False: 4.19k]
  ------------------
  376|  1.47k|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|  1.47k|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.47k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  377|  1.47k|    }
  378|  5.66k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (378:5): [True: 4.19k, False: 0]
  ------------------
  379|  4.19k|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  294|  4.19k|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  4.19k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  380|  4.19k|}
pegen.c:PyUnicode_GET_LENGTH:
  297|  15.2k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  15.2k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  15.2k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  15.2k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  15.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 15.2k, False: 0]
  ------------------
  299|  15.2k|}
pegen.c:PyUnicode_IS_ASCII:
  225|   129k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|   129k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   129k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   129k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 129k, False: 0]
  ------------------
  227|   129k|}
lexer.c:PyUnicode_GET_LENGTH:
  297|   126k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|   126k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   126k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   126k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   126k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 126k, False: 0]
  ------------------
  299|   126k|}
lexer.c:PyUnicode_READ_CHAR:
  364|    354|{
  365|    354|    int kind;
  366|       |
  367|    354|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 354, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|    354|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 354, False: 0]
  ------------------
  370|       |
  371|    354|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|    354|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    708|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 354, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|    354|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 81, False: 273]
  ------------------
  373|     81|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|     81|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     81|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|     81|    }
  375|    273|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (375:9): [True: 138, False: 135]
  ------------------
  376|    138|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|    138|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    138|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  377|    138|    }
  378|    273|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (378:5): [True: 135, False: 0]
  ------------------
  379|    135|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  294|    135|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    135|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  380|    135|}
lexer.c:_PyUnicode_DATA:
  279|    354|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|    354|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|    354|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    354|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    354|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 354, False: 0]
  |  |  ------------------
  ------------------
  281|    354|        return _PyUnicode_COMPACT_DATA(op);
  282|    354|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|    354|}
lexer.c:PyUnicode_IS_COMPACT:
  232|    354|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|    354|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    354|    (assert(PyUnicode_Check(op)), \
  |  |  187|    354|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    354|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 354, False: 0]
  ------------------
  234|    354|}
lexer.c:_PyUnicode_COMPACT_DATA:
  262|    354|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|    354|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|    354|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    354|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    354|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 0, False: 354]
  |  |  ------------------
  ------------------
  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|    354|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  2.12k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 354, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 354]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|    354|}
lexer.c:PyUnicode_IS_ASCII:
  225|    354|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|    354|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    354|    (assert(PyUnicode_Check(op)), \
  |  |  187|    354|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    354|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 354, False: 0]
  ------------------
  227|    354|}
action_helpers.c:PyUnicode_READ_CHAR:
  364|  14.1k|{
  365|  14.1k|    int kind;
  366|       |
  367|  14.1k|    assert(index >= 0);
  ------------------
  |  Branch (367:5): [True: 14.1k, False: 0]
  ------------------
  368|       |    // Tolerate reading the NUL character at str[len(str)]
  369|  14.1k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (369:5): [True: 14.1k, False: 0]
  ------------------
  370|       |
  371|  14.1k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  14.1k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  28.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 14.1k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|  14.1k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (372:9): [True: 13.9k, False: 244]
  ------------------
  373|  13.9k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|  13.9k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  13.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  374|  13.9k|    }
  375|    244|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (375:9): [True: 210, False: 34]
  ------------------
  376|    210|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|    210|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    210|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  377|    210|    }
  378|    244|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (378:5): [True: 34, False: 0]
  ------------------
  379|     34|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  294|     34|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     34|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  380|     34|}
action_helpers.c:_PyUnicode_DATA:
  279|  14.1k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  14.1k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  14.1k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 14.1k, False: 0]
  |  |  ------------------
  ------------------
  281|  14.1k|        return _PyUnicode_COMPACT_DATA(op);
  282|  14.1k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  14.1k|}
action_helpers.c:PyUnicode_IS_COMPACT:
  232|  14.1k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  14.1k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  14.1k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  14.1k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 14.1k, False: 0]
  ------------------
  234|  14.1k|}
action_helpers.c:_PyUnicode_COMPACT_DATA:
  262|  14.1k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  14.1k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  14.1k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 13.8k, False: 352]
  |  |  ------------------
  ------------------
  264|  13.8k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  27.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 13.8k, False: 0]
  |  |  ------------------
  ------------------
  265|  13.8k|    }
  266|    352|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  2.11k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 352, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 352]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|    352|}
action_helpers.c:PyUnicode_IS_ASCII:
  225|  14.1k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  14.1k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  14.1k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  14.1k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 14.1k, False: 0]
  ------------------
  227|  14.1k|}
action_helpers.c:PyUnicode_GET_LENGTH:
  297|   148k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|   148k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   148k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   148k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   148k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 148k, False: 0]
  ------------------
  299|   148k|}
string_parser.c:_PyUnicode_DATA:
  279|  30.9k|static inline void* _PyUnicode_DATA(PyObject *op) {
  280|  30.9k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  235|  30.9k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 30.9k, False: 0]
  |  |  ------------------
  ------------------
  281|  30.9k|        return _PyUnicode_COMPACT_DATA(op);
  282|  30.9k|    }
  283|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  284|  30.9k|}
string_parser.c:PyUnicode_IS_COMPACT:
  232|  30.9k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  233|  30.9k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  30.9k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  30.9k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  30.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (233:12): [True: 30.9k, False: 0]
  ------------------
  234|  30.9k|}
string_parser.c:_PyUnicode_COMPACT_DATA:
  262|  30.9k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  263|  30.9k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  228|  30.9k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 0, False: 30.9k]
  |  |  ------------------
  ------------------
  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|  30.9k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|   185k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 30.9k, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  |  Branch (34:47): [True: 0, False: 30.9k]
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  267|  30.9k|}
string_parser.c:PyUnicode_IS_ASCII:
  225|  30.9k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  226|  30.9k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  30.9k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  30.9k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  30.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (226:12): [True: 30.9k, False: 0]
  ------------------
  227|  30.9k|}
string_parser.c:PyUnicode_GET_LENGTH:
  297|  30.9k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  298|  30.9k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  30.9k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  30.9k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  30.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (298:12): [True: 30.9k, False: 0]
  ------------------
  299|  30.9k|}
string_parser.c:PyUnicode_READ:
  343|   731k|{
  344|   731k|    assert(index >= 0);
  ------------------
  |  Branch (344:5): [True: 731k, False: 0]
  ------------------
  345|   731k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (345:9): [True: 126k, False: 604k]
  ------------------
  346|   126k|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|   126k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  347|   126k|    }
  348|   604k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (348:9): [True: 602k, False: 2.35k]
  ------------------
  349|   602k|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|   602k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  350|   602k|    }
  351|   604k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (351:5): [True: 2.35k, False: 0]
  ------------------
  352|  2.35k|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|  2.35k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  353|  2.35k|}

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|  1.84k|{
   15|  1.84k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  1.84k|#  define Py_TYPE(ob) _Py_TYPE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  1.84k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 1.76k, False: 85]
  |  Branch (16:37): [True: 1.76k, False: 0]
  ------------------
   17|  1.84k|}
rangeobject.c:_PyIndex_Check:
   14|     40|{
   15|     40|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|     40|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     40|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 0, False: 40]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|     40|}
sliceobject.c:_PyIndex_Check:
   14|     40|{
   15|     40|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|     40|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     40|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 40, False: 0]
  |  Branch (16:37): [True: 40, False: 0]
  ------------------
   17|     40|}
tupleobject.c:_PyIndex_Check:
   14|  3.19k|{
   15|  3.19k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  3.19k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  3.19k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 1.83k, False: 1.36k]
  |  Branch (16:37): [True: 1.68k, False: 147]
  ------------------
   17|  3.19k|}
unicodeobject.c:_PyIndex_Check:
   14|  2.62M|{
   15|  2.62M|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  2.62M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.62M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.62M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  2.62M|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 2.62M, False: 5.08k]
  |  Branch (16:37): [True: 2.62M, False: 35]
  ------------------
   17|  2.62M|}
ceval.c:_PyIndex_Check:
   14|  3.40k|{
   15|  3.40k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  3.40k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  3.40k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 3.37k, False: 31]
  |  Branch (16:37): [True: 2.16k, False: 1.20k]
  ------------------
   17|  3.40k|}
fileio.c:_PyIndex_Check:
   14|    107|{
   15|    107|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    107|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    107|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    107|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 107, False: 0]
  |  Branch (16:37): [True: 6, False: 101]
  ------------------
   17|    107|}
abstract.c:_PyIndex_Check:
   14|  64.5k|{
   15|  64.5k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  64.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  64.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  64.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  64.5k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 63.9k, False: 611]
  |  Branch (16:37): [True: 59.6k, False: 4.33k]
  ------------------
   17|  64.5k|}
bytes_methods.c:_PyIndex_Check:
   14|     78|{
   15|     78|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|     78|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     78|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 78, False: 0]
  |  Branch (16:37): [True: 78, False: 0]
  ------------------
   17|     78|}
bytearrayobject.c:_PyIndex_Check:
   14|    691|{
   15|    691|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    691|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    691|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    691|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    691|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 580, False: 111]
  |  Branch (16:37): [True: 580, False: 0]
  ------------------
   17|    691|}
bytesobject.c:_PyIndex_Check:
   14|   665k|{
   15|   665k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|   665k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   665k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   665k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|   665k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 611k, False: 54.6k]
  |  Branch (16:37): [True: 610k, False: 54]
  ------------------
   17|   665k|}
memoryobject.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: 0, False: 101]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|    101|}

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

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

bytesobject.c:_PyBytes_GET_CACHED_HASH:
   95|  16.2M|{
   96|  16.2M|_Py_COMP_DIAG_PUSH
   97|  16.2M|_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.2M|    return self->ob_shash;
  102|  16.2M|#endif
  103|  16.2M|_Py_COMP_DIAG_POP
  104|  16.2M|}
bytesobject.c:_PyBytesWriter_GetData:
  128|  11.7M|{
  129|  11.7M|    if (writer->obj == NULL) {
  ------------------
  |  Branch (129:9): [True: 2.98M, False: 8.80M]
  ------------------
  130|  2.98M|        return writer->small_buffer;
  131|  2.98M|    }
  132|  8.80M|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (132:14): [True: 0, False: 8.80M]
  ------------------
  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|  8.80M|    else {
  136|  8.80M|        return PyBytes_AS_STRING(writer->obj);
  ------------------
  |  |   27|  8.80M|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.80M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.80M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|  8.80M|    }
  138|  11.7M|}
bytesobject.c:_PyBytesWriter_GetSize:
  122|  5.66M|{
  123|  5.66M|    return writer->size;
  124|  5.66M|}

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

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

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

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

dictobject.c:DK_ENTRIES:
  294|  4.02M|static inline PyDictKeyEntry* DK_ENTRIES(PyDictKeysObject *dk) {
  295|  4.02M|    assert(dk->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (295:5): [True: 4.02M, False: 0]
  ------------------
  296|  4.02M|    return (PyDictKeyEntry*)_DK_ENTRIES(dk);
  297|  4.02M|}
dictobject.c:_DK_ENTRIES:
  288|  26.8M|static inline void* _DK_ENTRIES(PyDictKeysObject *dk) {
  289|  26.8M|    int8_t *indices = (int8_t*)(dk->dk_indices);
  290|  26.8M|    size_t index = (size_t)1 << dk->dk_log2_index_bytes;
  291|  26.8M|    return (&indices[index]);
  292|  26.8M|}
dictobject.c:DK_UNICODE_ENTRIES:
  298|  9.07M|static inline PyDictUnicodeEntry* DK_UNICODE_ENTRIES(PyDictKeysObject *dk) {
  299|  9.07M|    assert(dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  Branch (299:5): [True: 9.07M, False: 0]
  ------------------
  300|  9.07M|    return (PyDictUnicodeEntry*)_DK_ENTRIES(dk);
  301|  9.07M|}
dictobject.c:get_insertion_order_array:
  349|  2.02M|{
  350|  2.02M|    return (uint8_t *)&values->values[values->capacity];
  351|  2.02M|}
dictobject.c:_PyDict_NotifyEvent:
  331|  2.98M|{
  332|  2.98M|    assert(Py_REFCNT((PyObject*)mp) > 0);
  ------------------
  |  Branch (332:5): [True: 2.98M, False: 0]
  ------------------
  333|  2.98M|    int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  162|  2.98M|#define FT_ATOMIC_LOAD_UINT64_ACQUIRE(value) value
  ------------------
                  int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  306|  2.98M|#define DICT_WATCHER_MASK ((1 << DICT_MAX_WATCHERS) - 1)
  |  |  ------------------
  |  |  |  |   11|  2.98M|#define DICT_MAX_WATCHERS 8
  |  |  ------------------
  ------------------
  334|  2.98M|    if (watcher_bits) {
  ------------------
  |  Branch (334:9): [True: 9.26k, False: 2.97M]
  ------------------
  335|  9.26k|        RARE_EVENT_STAT_INC(watched_dict_modification);
  ------------------
  |  |   89|  9.26k|#define RARE_EVENT_STAT_INC(name) ((void)0)
  ------------------
  336|  9.26k|        _PyDict_SendEvent(watcher_bits, event, mp, key, value);
  337|  9.26k|    }
  338|  2.98M|}
dictobject.c:_PyDictValues_AddToInsertionOrder:
  355|  2.02M|{
  356|  2.02M|    assert(ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (356:5): [True: 2.02M, False: 0]
  ------------------
  357|  2.02M|    int size = values->size;
  358|  2.02M|    uint8_t *array = get_insertion_order_array(values);
  359|  2.02M|    assert(size < values->capacity);
  ------------------
  |  Branch (359:5): [True: 2.02M, False: 0]
  ------------------
  360|  2.02M|    assert(((uint8_t)ix) == ix);
  ------------------
  |  Branch (360:5): [True: 2.02M, False: 0]
  ------------------
  361|  2.02M|    FT_ATOMIC_STORE_UINT8_RELAXED(array[size], (uint8_t)ix);
  ------------------
  |  |  173|  2.02M|#define FT_ATOMIC_STORE_UINT8_RELAXED(value, new_value) value = new_value
  ------------------
  362|  2.02M|    FT_ATOMIC_STORE_UINT8_RELEASE(values->size, size+1);
  ------------------
  |  |  172|  2.02M|#define FT_ATOMIC_STORE_UINT8_RELEASE(value, new_value) value = new_value
  ------------------
  363|  2.02M|}
dictobject.c:shared_keys_usable_size:
  371|   374k|{
  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|   374k|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  150|   374k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  380|   374k|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  150|   374k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  381|   374k|    return dk_nentries + dk_usable;
  382|   374k|}
dictobject.c:_PyDictKeys_AsSharedKeys:
  258|    835|{
  259|    835|    assert(keys->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (259:5): [True: 835, False: 0]
  ------------------
  260|    835|    return _Py_CONTAINER_OF(keys, struct _instancekeysobject, dsk_keys);
  ------------------
  |  |  309|    835|    (type*)((char*)ptr - offsetof(type, member))
  ------------------
  261|    835|}
typeobject.c:_PyInlineValuesSize:
  386|   374k|{
  387|   374k|    PyDictKeysObject *keys = ((PyHeapTypeObject*)tp)->ht_cached_keys;
  388|   374k|    assert(keys != NULL);
  ------------------
  |  Branch (388:5): [True: 374k, False: 0]
  ------------------
  389|   374k|    size_t size = shared_keys_usable_size(keys);
  390|   374k|    size_t prefix_size = _Py_SIZE_ROUND_UP(size, sizeof(PyObject *));
  ------------------
  |  |  249|   374k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  250|   374k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  391|   374k|    assert(prefix_size < 256);
  ------------------
  |  Branch (391:5): [True: 374k, False: 0]
  ------------------
  392|   374k|    return prefix_size + (size + 1) * sizeof(PyObject *);
  393|   374k|}
typeobject.c:shared_keys_usable_size:
  371|   374k|{
  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|   374k|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  150|   374k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  380|   374k|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  150|   374k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  381|   374k|    return dk_nentries + dk_usable;
  382|   374k|}
ceval.c:DK_UNICODE_ENTRIES:
  298|  19.1M|static inline PyDictUnicodeEntry* DK_UNICODE_ENTRIES(PyDictKeysObject *dk) {
  299|  19.1M|    assert(dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  Branch (299:5): [True: 19.1M, False: 0]
  ------------------
  300|  19.1M|    return (PyDictUnicodeEntry*)_DK_ENTRIES(dk);
  301|  19.1M|}
ceval.c:_DK_ENTRIES:
  288|  19.1M|static inline void* _DK_ENTRIES(PyDictKeysObject *dk) {
  289|  19.1M|    int8_t *indices = (int8_t*)(dk->dk_indices);
  290|  19.1M|    size_t index = (size_t)1 << dk->dk_log2_index_bytes;
  291|  19.1M|    return (&indices[index]);
  292|  19.1M|}
ceval.c:_PyDictValues_AddToInsertionOrder:
  355|   379k|{
  356|   379k|    assert(ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (356:5): [True: 379k, False: 0]
  ------------------
  357|   379k|    int size = values->size;
  358|   379k|    uint8_t *array = get_insertion_order_array(values);
  359|   379k|    assert(size < values->capacity);
  ------------------
  |  Branch (359:5): [True: 379k, False: 0]
  ------------------
  360|   379k|    assert(((uint8_t)ix) == ix);
  ------------------
  |  Branch (360:5): [True: 379k, False: 0]
  ------------------
  361|   379k|    FT_ATOMIC_STORE_UINT8_RELAXED(array[size], (uint8_t)ix);
  ------------------
  |  |  173|   379k|#define FT_ATOMIC_STORE_UINT8_RELAXED(value, new_value) value = new_value
  ------------------
  362|   379k|    FT_ATOMIC_STORE_UINT8_RELEASE(values->size, size+1);
  ------------------
  |  |  172|   379k|#define FT_ATOMIC_STORE_UINT8_RELEASE(value, new_value) value = new_value
  ------------------
  363|   379k|}
ceval.c:get_insertion_order_array:
  349|   379k|{
  350|   379k|    return (uint8_t *)&values->values[values->capacity];
  351|   379k|}

listobject.c:_Py_freelists_GET:
   19|  1.80M|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  1.80M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  1.80M|    return &interp->object_state.freelists;
   30|  1.80M|#endif
   31|  1.80M|}
listobject.c:_PyFreeList_Pop:
   88|   900k|{
   89|   900k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|   900k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 799k, False: 100k]
  ------------------
   91|   799k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|   799k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|   799k|        _Py_NewReference(op);
   93|   799k|    }
   94|   900k|    return op;
   95|   900k|}
listobject.c:_PyFreeList_PopNoStats:
   76|   900k|{
   77|   900k|    void *obj = fl->freelist;
   78|   900k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 799k, False: 100k]
  ------------------
   79|   799k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 799k, False: 0]
  ------------------
   80|   799k|        fl->freelist = *(void **)obj;
   81|   799k|        fl->size--;
   82|   799k|    }
   83|   900k|    return obj;
   84|   900k|}
listobject.c:_PyFreeList_Free:
   68|   900k|{
   69|   900k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 100k, False: 799k]
  ------------------
   70|   100k|        dofree(obj);
   71|   100k|    }
   72|   900k|}
listobject.c:_PyFreeList_Push:
   54|   900k|{
   55|   900k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 799k, False: 100k]
  |  Branch (55:31): [True: 799k, False: 0]
  ------------------
   56|   799k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|   799k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|   799k|        fl->freelist = obj;
   58|   799k|        fl->size++;
   59|   799k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|   799k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|   799k|        return 1;
   61|   799k|    }
   62|   100k|    return 0;
   63|   900k|}
longobject.c:_PyFreeList_Pop:
   88|  5.91M|{
   89|  5.91M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  5.91M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 5.36M, False: 549k]
  ------------------
   91|  5.36M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  5.36M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  5.36M|        _Py_NewReference(op);
   93|  5.36M|    }
   94|  5.91M|    return op;
   95|  5.91M|}
longobject.c:_PyFreeList_PopNoStats:
   76|  5.91M|{
   77|  5.91M|    void *obj = fl->freelist;
   78|  5.91M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 5.36M, False: 549k]
  ------------------
   79|  5.36M|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 5.36M, False: 0]
  ------------------
   80|  5.36M|        fl->freelist = *(void **)obj;
   81|  5.36M|        fl->size--;
   82|  5.36M|    }
   83|  5.91M|    return obj;
   84|  5.91M|}
longobject.c:_PyFreeList_Free:
   68|  5.91M|{
   69|  5.91M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 551k, False: 5.36M]
  ------------------
   70|   551k|        dofree(obj);
   71|   551k|    }
   72|  5.91M|}
longobject.c:_PyFreeList_Push:
   54|  5.91M|{
   55|  5.91M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 5.36M, False: 551k]
  |  Branch (55:31): [True: 5.36M, False: 0]
  ------------------
   56|  5.36M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  5.36M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  5.36M|        fl->freelist = obj;
   58|  5.36M|        fl->size++;
   59|  5.36M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  5.36M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  5.36M|        return 1;
   61|  5.36M|    }
   62|   551k|    return 0;
   63|  5.91M|}
longobject.c:_Py_freelists_GET:
   19|  11.8M|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  11.8M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  11.8M|    return &interp->object_state.freelists;
   30|  11.8M|#endif
   31|  11.8M|}
dictobject.c:_Py_freelists_GET:
   19|  1.91M|{
   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.91M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  1.91M|    return &interp->object_state.freelists;
   30|  1.91M|#endif
   31|  1.91M|}
dictobject.c:_PyFreeList_Pop:
   88|   611k|{
   89|   611k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|   611k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 514k, False: 96.7k]
  ------------------
   91|   514k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|   514k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|   514k|        _Py_NewReference(op);
   93|   514k|    }
   94|   611k|    return op;
   95|   611k|}
dictobject.c:_PyFreeList_PopNoStats:
   76|   960k|{
   77|   960k|    void *obj = fl->freelist;
   78|   960k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 811k, False: 149k]
  ------------------
   79|   811k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 811k, False: 0]
  ------------------
   80|   811k|        fl->freelist = *(void **)obj;
   81|   811k|        fl->size--;
   82|   811k|    }
   83|   960k|    return obj;
   84|   960k|}
dictobject.c:_PyFreeList_PopMem:
   99|   349k|{
  100|   349k|    void *op = _PyFreeList_PopNoStats(fl);
  101|   349k|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 296k, False: 52.5k]
  ------------------
  102|   296k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|   296k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|   296k|    }
  104|   349k|    return op;
  105|   349k|}
dictobject.c:_PyFreeList_Free:
   68|   957k|{
   69|   957k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 145k, False: 812k]
  ------------------
   70|   145k|        dofree(obj);
   71|   145k|    }
   72|   957k|}
dictobject.c:_PyFreeList_Push:
   54|   957k|{
   55|   957k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 812k, False: 145k]
  |  Branch (55:31): [True: 812k, False: 0]
  ------------------
   56|   812k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|   812k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|   812k|        fl->freelist = obj;
   58|   812k|        fl->size++;
   59|   812k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|   812k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|   812k|        return 1;
   61|   812k|    }
   62|   145k|    return 0;
   63|   957k|}
object.c:_PyFreeList_PopNoStats:
   76|  34.5k|{
   77|  34.5k|    void *obj = fl->freelist;
   78|  34.5k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 34.2k, False: 328]
  ------------------
   79|  34.2k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 34.2k, False: 0]
  ------------------
   80|  34.2k|        fl->freelist = *(void **)obj;
   81|  34.2k|        fl->size--;
   82|  34.2k|    }
   83|  34.5k|    return obj;
   84|  34.5k|}
rangeobject.c:_PyFreeList_Free:
   68|  1.00k|{
   69|  1.00k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 1.00k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  1.00k|}
rangeobject.c:_PyFreeList_Push:
   54|  1.00k|{
   55|  1.00k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 1.00k, False: 0]
  |  Branch (55:31): [True: 1.00k, False: 0]
  ------------------
   56|  1.00k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  1.00k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  1.00k|        fl->freelist = obj;
   58|  1.00k|        fl->size++;
   59|  1.00k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  1.00k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  1.00k|        return 1;
   61|  1.00k|    }
   62|      0|    return 0;
   63|  1.00k|}
rangeobject.c:_Py_freelists_GET:
   19|  2.01k|{
   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.01k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  2.01k|    return &interp->object_state.freelists;
   30|  2.01k|#endif
   31|  2.01k|}
rangeobject.c:_PyFreeList_Pop:
   88|  1.00k|{
   89|  1.00k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  1.00k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 990, False: 18]
  ------------------
   91|    990|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|    990|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|    990|        _Py_NewReference(op);
   93|    990|    }
   94|  1.00k|    return op;
   95|  1.00k|}
rangeobject.c:_PyFreeList_PopNoStats:
   76|  1.00k|{
   77|  1.00k|    void *obj = fl->freelist;
   78|  1.00k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 990, False: 18]
  ------------------
   79|    990|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 990, False: 0]
  ------------------
   80|    990|        fl->freelist = *(void **)obj;
   81|    990|        fl->size--;
   82|    990|    }
   83|  1.00k|    return obj;
   84|  1.00k|}
sliceobject.c:_PyFreeList_Pop:
   88|  63.7k|{
   89|  63.7k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  63.7k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 48.9k, False: 14.7k]
  ------------------
   91|  48.9k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  48.9k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  48.9k|        _Py_NewReference(op);
   93|  48.9k|    }
   94|  63.7k|    return op;
   95|  63.7k|}
sliceobject.c:_PyFreeList_PopNoStats:
   76|  63.7k|{
   77|  63.7k|    void *obj = fl->freelist;
   78|  63.7k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 48.9k, False: 14.7k]
  ------------------
   79|  48.9k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 48.9k, False: 0]
  ------------------
   80|  48.9k|        fl->freelist = *(void **)obj;
   81|  48.9k|        fl->size--;
   82|  48.9k|    }
   83|  63.7k|    return obj;
   84|  63.7k|}
sliceobject.c:_Py_freelists_GET:
   19|   127k|{
   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|   127k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   127k|    return &interp->object_state.freelists;
   30|   127k|#endif
   31|   127k|}
sliceobject.c:_PyFreeList_Free:
   68|  63.5k|{
   69|  63.5k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 14.6k, False: 48.9k]
  ------------------
   70|  14.6k|        dofree(obj);
   71|  14.6k|    }
   72|  63.5k|}
sliceobject.c:_PyFreeList_Push:
   54|  63.5k|{
   55|  63.5k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 48.9k, False: 14.6k]
  |  Branch (55:31): [True: 48.9k, False: 0]
  ------------------
   56|  48.9k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  48.9k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  48.9k|        fl->freelist = obj;
   58|  48.9k|        fl->size++;
   59|  48.9k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  48.9k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  48.9k|        return 1;
   61|  48.9k|    }
   62|  14.6k|    return 0;
   63|  63.5k|}
tupleobject.c:_PyFreeList_Pop:
   88|  98.1M|{
   89|  98.1M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  98.1M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 12.7M, False: 85.4M]
  ------------------
   91|  12.7M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  12.7M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  12.7M|        _Py_NewReference(op);
   93|  12.7M|    }
   94|  98.1M|    return op;
   95|  98.1M|}
tupleobject.c:_PyFreeList_PopNoStats:
   76|  98.1M|{
   77|  98.1M|    void *obj = fl->freelist;
   78|  98.1M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 12.7M, False: 85.4M]
  ------------------
   79|  12.7M|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 12.7M, False: 0]
  ------------------
   80|  12.7M|        fl->freelist = *(void **)obj;
   81|  12.7M|        fl->size--;
   82|  12.7M|    }
   83|  98.1M|    return obj;
   84|  98.1M|}
tupleobject.c:_PyFreeList_Free:
   68|  13.2k|{
   69|  13.2k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 13.2k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  13.2k|}
tupleobject.c:_PyFreeList_Push:
   54|  98.1M|{
   55|  98.1M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 12.7M, False: 85.4M]
  |  Branch (55:31): [True: 12.7M, False: 0]
  ------------------
   56|  12.7M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  12.7M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  12.7M|        fl->freelist = obj;
   58|  12.7M|        fl->size++;
   59|  12.7M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  12.7M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  12.7M|        return 1;
   61|  12.7M|    }
   62|  85.4M|    return 0;
   63|  98.1M|}
tupleobject.c:_Py_freelists_GET:
   19|   196M|{
   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|   196M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   196M|    return &interp->object_state.freelists;
   30|   196M|#endif
   31|   196M|}
unicode_writer.c:_PyFreeList_PopMem:
   99|  57.2k|{
  100|  57.2k|    void *op = _PyFreeList_PopNoStats(fl);
  101|  57.2k|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 55.5k, False: 1.71k]
  ------------------
  102|  55.5k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  55.5k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|  55.5k|    }
  104|  57.2k|    return op;
  105|  57.2k|}
unicode_writer.c:_PyFreeList_PopNoStats:
   76|  57.2k|{
   77|  57.2k|    void *obj = fl->freelist;
   78|  57.2k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 55.5k, False: 1.71k]
  ------------------
   79|  55.5k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 55.5k, False: 0]
  ------------------
   80|  55.5k|        fl->freelist = *(void **)obj;
   81|  55.5k|        fl->size--;
   82|  55.5k|    }
   83|  57.2k|    return obj;
   84|  57.2k|}
unicode_writer.c:_Py_freelists_GET:
   19|   114k|{
   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|   114k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   114k|    return &interp->object_state.freelists;
   30|   114k|#endif
   31|   114k|}
unicode_writer.c:_PyFreeList_Free:
   68|  57.2k|{
   69|  57.2k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 1.70k, False: 55.5k]
  ------------------
   70|  1.70k|        dofree(obj);
   71|  1.70k|    }
   72|  57.2k|}
unicode_writer.c:_PyFreeList_Push:
   54|  57.2k|{
   55|  57.2k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 55.5k, False: 1.70k]
  |  Branch (55:31): [True: 55.5k, False: 0]
  ------------------
   56|  55.5k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  55.5k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  55.5k|        fl->freelist = obj;
   58|  55.5k|        fl->size++;
   59|  55.5k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  55.5k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  55.5k|        return 1;
   61|  55.5k|    }
   62|  1.70k|    return 0;
   63|  57.2k|}
context.c:_PyFreeList_Pop:
   88|      1|{
   89|      1|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|      1|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 0, False: 1]
  ------------------
   91|      0|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|      0|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|      0|        _Py_NewReference(op);
   93|      0|    }
   94|      1|    return op;
   95|      1|}
context.c:_PyFreeList_PopNoStats:
   76|      1|{
   77|      1|    void *obj = fl->freelist;
   78|      1|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 0, False: 1]
  ------------------
   79|      0|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 0, False: 0]
  ------------------
   80|      0|        fl->freelist = *(void **)obj;
   81|      0|        fl->size--;
   82|      0|    }
   83|      1|    return obj;
   84|      1|}
context.c:_Py_freelists_GET:
   19|      1|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|      1|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|      1|    return &interp->object_state.freelists;
   30|      1|#endif
   31|      1|}
traceback.c:_PyFreeList_Free:
   68|  36.2k|{
   69|  36.2k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 122, False: 36.0k]
  ------------------
   70|    122|        dofree(obj);
   71|    122|    }
   72|  36.2k|}
traceback.c:_PyFreeList_Push:
   54|  36.2k|{
   55|  36.2k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 36.0k, False: 122]
  |  Branch (55:31): [True: 36.0k, False: 0]
  ------------------
   56|  36.0k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  36.0k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  36.0k|        fl->freelist = obj;
   58|  36.0k|        fl->size++;
   59|  36.0k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  36.0k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  36.0k|        return 1;
   61|  36.0k|    }
   62|    122|    return 0;
   63|  36.2k|}
traceback.c:_Py_freelists_GET:
   19|  72.4k|{
   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|  72.4k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  72.4k|    return &interp->object_state.freelists;
   30|  72.4k|#endif
   31|  72.4k|}
traceback.c:_PyFreeList_Pop:
   88|  36.2k|{
   89|  36.2k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  36.2k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 36.0k, False: 197]
  ------------------
   91|  36.0k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  36.0k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  36.0k|        _Py_NewReference(op);
   93|  36.0k|    }
   94|  36.2k|    return op;
   95|  36.2k|}
traceback.c:_PyFreeList_PopNoStats:
   76|  36.2k|{
   77|  36.2k|    void *obj = fl->freelist;
   78|  36.2k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 36.0k, False: 197]
  ------------------
   79|  36.0k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 36.0k, False: 0]
  ------------------
   80|  36.0k|        fl->freelist = *(void **)obj;
   81|  36.0k|        fl->size--;
   82|  36.0k|    }
   83|  36.2k|    return obj;
   84|  36.2k|}
bytesobject.c:_PyFreeList_PopMem:
   99|   292k|{
  100|   292k|    void *op = _PyFreeList_PopNoStats(fl);
  101|   292k|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 144k, False: 148k]
  ------------------
  102|   144k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|   144k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|   144k|    }
  104|   292k|    return op;
  105|   292k|}
bytesobject.c:_PyFreeList_PopNoStats:
   76|   292k|{
   77|   292k|    void *obj = fl->freelist;
   78|   292k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 144k, False: 148k]
  ------------------
   79|   144k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 144k, False: 0]
  ------------------
   80|   144k|        fl->freelist = *(void **)obj;
   81|   144k|        fl->size--;
   82|   144k|    }
   83|   292k|    return obj;
   84|   292k|}
bytesobject.c:_PyFreeList_Free:
   68|   292k|{
   69|   292k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 148k, False: 144k]
  ------------------
   70|   148k|        dofree(obj);
   71|   148k|    }
   72|   292k|}
bytesobject.c:_PyFreeList_Push:
   54|   292k|{
   55|   292k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 144k, False: 148k]
  |  Branch (55:31): [True: 144k, False: 0]
  ------------------
   56|   144k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|   144k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|   144k|        fl->freelist = obj;
   58|   144k|        fl->size++;
   59|   144k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|   144k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|   144k|        return 1;
   61|   144k|    }
   62|   148k|    return 0;
   63|   292k|}
bytesobject.c:_Py_freelists_GET:
   19|   585k|{
   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|   585k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   585k|    return &interp->object_state.freelists;
   30|   585k|#endif
   31|   585k|}
classobject.c:_PyFreeList_Pop:
   88|  2.59k|{
   89|  2.59k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  2.59k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 2.39k, False: 199]
  ------------------
   91|  2.39k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  2.39k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  2.39k|        _Py_NewReference(op);
   93|  2.39k|    }
   94|  2.59k|    return op;
   95|  2.59k|}
classobject.c:_PyFreeList_PopNoStats:
   76|  2.59k|{
   77|  2.59k|    void *obj = fl->freelist;
   78|  2.59k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 2.39k, False: 199]
  ------------------
   79|  2.39k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 2.39k, False: 0]
  ------------------
   80|  2.39k|        fl->freelist = *(void **)obj;
   81|  2.39k|        fl->size--;
   82|  2.39k|    }
   83|  2.59k|    return obj;
   84|  2.59k|}
classobject.c:_Py_freelists_GET:
   19|  5.01k|{
   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.01k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  5.01k|    return &interp->object_state.freelists;
   30|  5.01k|#endif
   31|  5.01k|}
classobject.c:_PyFreeList_Free:
   68|  2.42k|{
   69|  2.42k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 2.42k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  2.42k|}
classobject.c:_PyFreeList_Push:
   54|  2.42k|{
   55|  2.42k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 2.42k, False: 0]
  |  Branch (55:31): [True: 2.42k, False: 0]
  ------------------
   56|  2.42k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  2.42k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  2.42k|        fl->freelist = obj;
   58|  2.42k|        fl->size++;
   59|  2.42k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  2.42k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  2.42k|        return 1;
   61|  2.42k|    }
   62|      0|    return 0;
   63|  2.42k|}
complexobject.c:_PyFreeList_Pop:
   88|   161k|{
   89|   161k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|   161k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 84.3k, False: 77.3k]
  ------------------
   91|  84.3k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  84.3k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  84.3k|        _Py_NewReference(op);
   93|  84.3k|    }
   94|   161k|    return op;
   95|   161k|}
complexobject.c:_PyFreeList_PopNoStats:
   76|   161k|{
   77|   161k|    void *obj = fl->freelist;
   78|   161k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 84.3k, False: 77.3k]
  ------------------
   79|  84.3k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 84.3k, False: 0]
  ------------------
   80|  84.3k|        fl->freelist = *(void **)obj;
   81|  84.3k|        fl->size--;
   82|  84.3k|    }
   83|   161k|    return obj;
   84|   161k|}
complexobject.c:_Py_freelists_GET:
   19|   323k|{
   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|   323k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   323k|    return &interp->object_state.freelists;
   30|   323k|#endif
   31|   323k|}
complexobject.c:_PyFreeList_Free:
   68|   161k|{
   69|   161k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 76.4k, False: 85.2k]
  ------------------
   70|  76.4k|        dofree(obj);
   71|  76.4k|    }
   72|   161k|}
complexobject.c:_PyFreeList_Push:
   54|   161k|{
   55|   161k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 85.2k, False: 76.4k]
  |  Branch (55:31): [True: 85.2k, False: 0]
  ------------------
   56|  85.2k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  85.2k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  85.2k|        fl->freelist = obj;
   58|  85.2k|        fl->size++;
   59|  85.2k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  85.2k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  85.2k|        return 1;
   61|  85.2k|    }
   62|  76.4k|    return 0;
   63|   161k|}
floatobject.c:_PyFreeList_Pop:
   88|   227k|{
   89|   227k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|   227k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 176k, False: 50.4k]
  ------------------
   91|   176k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|   176k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|   176k|        _Py_NewReference(op);
   93|   176k|    }
   94|   227k|    return op;
   95|   227k|}
floatobject.c:_PyFreeList_PopNoStats:
   76|   227k|{
   77|   227k|    void *obj = fl->freelist;
   78|   227k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 176k, False: 50.4k]
  ------------------
   79|   176k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 176k, False: 0]
  ------------------
   80|   176k|        fl->freelist = *(void **)obj;
   81|   176k|        fl->size--;
   82|   176k|    }
   83|   227k|    return obj;
   84|   227k|}
floatobject.c:_Py_freelists_GET:
   19|   454k|{
   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|   454k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   454k|    return &interp->object_state.freelists;
   30|   454k|#endif
   31|   454k|}
floatobject.c:_PyFreeList_Free:
   68|   227k|{
   69|   227k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 49.7k, False: 177k]
  ------------------
   70|  49.7k|        dofree(obj);
   71|  49.7k|    }
   72|   227k|}
floatobject.c:_PyFreeList_Push:
   54|   227k|{
   55|   227k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 177k, False: 49.7k]
  |  Branch (55:31): [True: 177k, False: 0]
  ------------------
   56|   177k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|   177k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|   177k|        fl->freelist = obj;
   58|   177k|        fl->size++;
   59|   177k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|   177k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|   177k|        return 1;
   61|   177k|    }
   62|  49.7k|    return 0;
   63|   227k|}
methodobject.c:_PyFreeList_Pop:
   88|  1.43M|{
   89|  1.43M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  1.43M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 1.43M, False: 1.56k]
  ------------------
   91|  1.43M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  1.43M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  1.43M|        _Py_NewReference(op);
   93|  1.43M|    }
   94|  1.43M|    return op;
   95|  1.43M|}
methodobject.c:_PyFreeList_PopNoStats:
   76|  1.43M|{
   77|  1.43M|    void *obj = fl->freelist;
   78|  1.43M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 1.43M, False: 1.56k]
  ------------------
   79|  1.43M|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 1.43M, False: 0]
  ------------------
   80|  1.43M|        fl->freelist = *(void **)obj;
   81|  1.43M|        fl->size--;
   82|  1.43M|    }
   83|  1.43M|    return obj;
   84|  1.43M|}
methodobject.c:_Py_freelists_GET:
   19|  2.86M|{
   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.86M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  2.86M|    return &interp->object_state.freelists;
   30|  2.86M|#endif
   31|  2.86M|}
methodobject.c:_PyFreeList_Free:
   68|  1.43M|{
   69|  1.43M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 1.43M]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  1.43M|}
methodobject.c:_PyFreeList_Push:
   54|  1.43M|{
   55|  1.43M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 1.43M, False: 0]
  |  Branch (55:31): [True: 1.43M, False: 0]
  ------------------
   56|  1.43M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  165|  1.43M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  1.43M|        fl->freelist = obj;
   58|  1.43M|        fl->size++;
   59|  1.43M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  1.43M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  1.43M|        return 1;
   61|  1.43M|    }
   62|      0|    return 0;
   63|  1.43M|}

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

exceptions.c:_PyObject_GC_UNTRACK:
  269|  54.9k|{
  270|  54.9k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  54.9k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 54.9k, False: 0]
  |  |  ------------------
  |  |  352|  54.9k|      ? (void)(0) \
  |  |  353|  54.9k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|  54.9k|                          "object not tracked by the garbage collector",
  272|  54.9k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  54.9k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  54.9k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  54.9k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  54.9k|    _PyGCHead_SET_NEXT(prev, next);
  281|  54.9k|    _PyGCHead_SET_PREV(next, prev);
  282|  54.9k|    gc->_gc_next = 0;
  283|  54.9k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  54.9k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  54.9k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  54.9k|    gcstate->heap_size--;
  286|  54.9k|#endif
  287|  54.9k|}
exceptions.c:_PyObject_GC_IS_TRACKED:
   73|  54.9k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  54.9k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  54.9k|    return (gc->_gc_next != 0);
   79|  54.9k|#endif
   80|  54.9k|}
exceptions.c:_Py_AS_GC:
   17|   109k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   109k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   109k|    return (PyGC_Head*)gc;
   20|   109k|}
exceptions.c:_PyGCHead_PREV:
  171|  54.9k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  54.9k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  54.9k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  54.9k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  54.9k|    return (PyGC_Head*)prev;
  174|  54.9k|}
exceptions.c:_PyGCHead_NEXT:
  162|  54.9k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  54.9k|    uintptr_t next = gc->_gc_next;
  164|  54.9k|    return (PyGC_Head*)next;
  165|  54.9k|}
exceptions.c:_PyGCHead_SET_NEXT:
  166|  55.0k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  55.0k|    gc->_gc_next = (uintptr_t)next;
  168|  55.0k|}
exceptions.c:_PyGCHead_SET_PREV:
  176|  54.9k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  54.9k|    uintptr_t uprev = (uintptr_t)prev;
  178|  54.9k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 54.9k, False: 0]
  ------------------
  179|  54.9k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  54.9k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  54.9k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  54.9k|}
exceptions.c:_PyObject_GC_TRACK:
  229|     52|{
  230|     52|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     52|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 52, False: 0]
  |  |  ------------------
  |  |  352|     52|      ? (void)(0) \
  |  |  353|     52|      : _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|     52|                          "object already tracked by the garbage collector",
  232|     52|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|     52|    PyGC_Head *gc = _Py_AS_GC(op);
  237|     52|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|     52|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 52, False: 0]
  |  |  ------------------
  |  |  352|     52|      ? (void)(0) \
  |  |  353|     52|      : _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|     52|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|     52|                          "object is in generation which is garbage collected",
  240|     52|                          filename, lineno, __func__);
  241|       |
  242|     52|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|     52|    PyGC_Head *generation0 = gcstate->generation0;
  244|     52|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|     52|    _PyGCHead_SET_NEXT(last, gc);
  246|     52|    _PyGCHead_SET_PREV(gc, last);
  247|     52|    _PyGCHead_SET_NEXT(gc, generation0);
  248|     52|    generation0->_gc_prev = (uintptr_t)gc;
  249|     52|    gcstate->heap_size++;
  250|     52|#endif
  251|     52|}
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|}
listobject.c:_PyObject_GC_TRACK:
  229|   900k|{
  230|   900k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|   900k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 900k, False: 0]
  |  |  ------------------
  |  |  352|   900k|      ? (void)(0) \
  |  |  353|   900k|      : _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|   900k|                          "object already tracked by the garbage collector",
  232|   900k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|   900k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|   900k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|   900k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 900k, False: 0]
  |  |  ------------------
  |  |  352|   900k|      ? (void)(0) \
  |  |  353|   900k|      : _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|   900k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|   900k|                          "object is in generation which is garbage collected",
  240|   900k|                          filename, lineno, __func__);
  241|       |
  242|   900k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|   900k|    PyGC_Head *generation0 = gcstate->generation0;
  244|   900k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|   900k|    _PyGCHead_SET_NEXT(last, gc);
  246|   900k|    _PyGCHead_SET_PREV(gc, last);
  247|   900k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|   900k|    generation0->_gc_prev = (uintptr_t)gc;
  249|   900k|    gcstate->heap_size++;
  250|   900k|#endif
  251|   900k|}
listobject.c:_PyObject_GC_IS_TRACKED:
   73|   931k|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|   931k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   931k|    return (gc->_gc_next != 0);
   79|   931k|#endif
   80|   931k|}
listobject.c:_Py_AS_GC:
   17|  1.86M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.86M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.86M|    return (PyGC_Head*)gc;
   20|  1.86M|}
listobject.c:_PyGCHead_SET_NEXT:
  166|  1.83M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  1.83M|    gc->_gc_next = (uintptr_t)next;
  168|  1.83M|}
listobject.c:_PyGCHead_SET_PREV:
  176|   931k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|   931k|    uintptr_t uprev = (uintptr_t)prev;
  178|   931k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 931k, False: 0]
  ------------------
  179|   931k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|   931k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|   931k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|   931k|}
listobject.c:_PyObject_GC_UNTRACK:
  269|  30.7k|{
  270|  30.7k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  30.7k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 30.7k, False: 0]
  |  |  ------------------
  |  |  352|  30.7k|      ? (void)(0) \
  |  |  353|  30.7k|      : _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.7k|                          "object not tracked by the garbage collector",
  272|  30.7k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  30.7k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  30.7k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  30.7k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  30.7k|    _PyGCHead_SET_NEXT(prev, next);
  281|  30.7k|    _PyGCHead_SET_PREV(next, prev);
  282|  30.7k|    gc->_gc_next = 0;
  283|  30.7k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  30.7k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  30.7k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  30.7k|    gcstate->heap_size--;
  286|  30.7k|#endif
  287|  30.7k|}
listobject.c:_PyGCHead_PREV:
  171|  30.7k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  30.7k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  30.7k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  30.7k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  30.7k|    return (PyGC_Head*)prev;
  174|  30.7k|}
listobject.c:_PyGCHead_NEXT:
  162|  30.7k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  30.7k|    uintptr_t next = gc->_gc_next;
  164|  30.7k|    return (PyGC_Head*)next;
  165|  30.7k|}
dictobject.c:_PyType_IS_GC:
   86|     11|{
   87|     11|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|     11|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|     11|}
dictobject.c:_PyObject_GC_IS_TRACKED:
   73|   616k|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|   616k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   616k|    return (gc->_gc_next != 0);
   79|   616k|#endif
   80|   616k|}
dictobject.c:_Py_AS_GC:
   17|  1.22M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.22M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.22M|    return (PyGC_Head*)gc;
   20|  1.22M|}
dictobject.c:_PyObject_GC_TRACK:
  229|   612k|{
  230|   612k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|   612k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 612k, False: 0]
  |  |  ------------------
  |  |  352|   612k|      ? (void)(0) \
  |  |  353|   612k|      : _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|   612k|                          "object already tracked by the garbage collector",
  232|   612k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|   612k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|   612k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|   612k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 612k, False: 0]
  |  |  ------------------
  |  |  352|   612k|      ? (void)(0) \
  |  |  353|   612k|      : _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|   612k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|   612k|                          "object is in generation which is garbage collected",
  240|   612k|                          filename, lineno, __func__);
  241|       |
  242|   612k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|   612k|    PyGC_Head *generation0 = gcstate->generation0;
  244|   612k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|   612k|    _PyGCHead_SET_NEXT(last, gc);
  246|   612k|    _PyGCHead_SET_PREV(gc, last);
  247|   612k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|   612k|    generation0->_gc_prev = (uintptr_t)gc;
  249|   612k|    gcstate->heap_size++;
  250|   612k|#endif
  251|   612k|}
dictobject.c:_PyGCHead_SET_NEXT:
  166|  1.22M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  1.22M|    gc->_gc_next = (uintptr_t)next;
  168|  1.22M|}
dictobject.c:_PyGCHead_SET_PREV:
  176|   612k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|   612k|    uintptr_t uprev = (uintptr_t)prev;
  178|   612k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 612k, False: 0]
  ------------------
  179|   612k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|   612k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|   612k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|   612k|}
dictobject.c:_PyObject_GC_UNTRACK:
  269|    569|{
  270|    569|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    569|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 569, False: 0]
  |  |  ------------------
  |  |  352|    569|      ? (void)(0) \
  |  |  353|    569|      : _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|    569|                          "object not tracked by the garbage collector",
  272|    569|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    569|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    569|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    569|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    569|    _PyGCHead_SET_NEXT(prev, next);
  281|    569|    _PyGCHead_SET_PREV(next, prev);
  282|    569|    gc->_gc_next = 0;
  283|    569|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    569|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    569|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    569|    gcstate->heap_size--;
  286|    569|#endif
  287|    569|}
dictobject.c:_PyGCHead_PREV:
  171|    569|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    569|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    569|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    569|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    569|    return (PyGC_Head*)prev;
  174|    569|}
dictobject.c:_PyGCHead_NEXT:
  162|    569|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    569|    uintptr_t next = gc->_gc_next;
  164|    569|    return (PyGC_Head*)next;
  165|    569|}
object.c:_PyType_IS_GC:
   86|  2.27k|{
   87|  2.27k|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|  2.27k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|  2.27k|}
object.c:_PyGC_FINALIZED:
  182|  1.13k|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|  1.13k|    PyGC_Head *gc = _Py_AS_GC(op);
  187|  1.13k|    return ((gc->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0);
  ------------------
  |  |  133|  1.13k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  188|  1.13k|#endif
  189|  1.13k|}
object.c:_PyGC_SET_FINALIZED:
  190|  1.13k|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|  1.13k|    PyGC_Head *gc = _Py_AS_GC(op);
  195|  1.13k|    gc->_gc_prev |= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  1.13k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  196|  1.13k|#endif
  197|  1.13k|}
object.c:_PyObject_GC_IS_TRACKED:
   73|  2.79k|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.79k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  2.79k|    return (gc->_gc_next != 0);
   79|  2.79k|#endif
   80|  2.79k|}
object.c:_PyObject_GC_UNTRACK:
  269|    826|{
  270|    826|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    826|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 826, False: 0]
  |  |  ------------------
  |  |  352|    826|      ? (void)(0) \
  |  |  353|    826|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|    826|                          "object not tracked by the garbage collector",
  272|    826|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    826|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    826|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    826|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    826|    _PyGCHead_SET_NEXT(prev, next);
  281|    826|    _PyGCHead_SET_PREV(next, prev);
  282|    826|    gc->_gc_next = 0;
  283|    826|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    826|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    826|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    826|    gcstate->heap_size--;
  286|    826|#endif
  287|    826|}
object.c:_PyGCHead_PREV:
  171|    826|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    826|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    826|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    826|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    826|    return (PyGC_Head*)prev;
  174|    826|}
object.c:_PyGCHead_NEXT:
  162|    826|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    826|    uintptr_t next = gc->_gc_next;
  164|    826|    return (PyGC_Head*)next;
  165|    826|}
object.c:_PyGCHead_SET_NEXT:
  166|    826|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|    826|    gc->_gc_next = (uintptr_t)next;
  168|    826|}
object.c:_PyGCHead_SET_PREV:
  176|    826|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    826|    uintptr_t uprev = (uintptr_t)prev;
  178|    826|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 826, False: 0]
  ------------------
  179|    826|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    826|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    826|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    826|}
object.c:_Py_AS_GC:
   17|  5.88k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  5.88k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  5.88k|    return (PyGC_Head*)gc;
   20|  5.88k|}
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|  86.4k|{
  270|  86.4k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  86.4k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 86.4k, False: 0]
  |  |  ------------------
  |  |  352|  86.4k|      ? (void)(0) \
  |  |  353|  86.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|  86.4k|                          "object not tracked by the garbage collector",
  272|  86.4k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  86.4k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  86.4k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  86.4k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  86.4k|    _PyGCHead_SET_NEXT(prev, next);
  281|  86.4k|    _PyGCHead_SET_PREV(next, prev);
  282|  86.4k|    gc->_gc_next = 0;
  283|  86.4k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  86.4k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  86.4k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  86.4k|    gcstate->heap_size--;
  286|  86.4k|#endif
  287|  86.4k|}
setobject.c:_PyObject_GC_IS_TRACKED:
   73|   989k|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|   989k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   989k|    return (gc->_gc_next != 0);
   79|   989k|#endif
   80|   989k|}
setobject.c:_Py_AS_GC:
   17|  1.97M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.97M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.97M|    return (PyGC_Head*)gc;
   20|  1.97M|}
setobject.c:_PyGCHead_PREV:
  171|  86.4k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  86.4k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  86.4k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  86.4k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  86.4k|    return (PyGC_Head*)prev;
  174|  86.4k|}
setobject.c:_PyGCHead_NEXT:
  162|  86.4k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  86.4k|    uintptr_t next = gc->_gc_next;
  164|  86.4k|    return (PyGC_Head*)next;
  165|  86.4k|}
setobject.c:_PyGCHead_SET_NEXT:
  166|  1.87M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  1.87M|    gc->_gc_next = (uintptr_t)next;
  168|  1.87M|}
setobject.c:_PyGCHead_SET_PREV:
  176|   982k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|   982k|    uintptr_t uprev = (uintptr_t)prev;
  178|   982k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 982k, False: 0]
  ------------------
  179|   982k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|   982k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|   982k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|   982k|}
setobject.c:_PyObject_GC_MAY_BE_TRACKED:
  101|  61.9k|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
  102|  61.9k|    if (!_PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (102:9): [True: 55.4k, False: 6.44k]
  ------------------
  103|  55.4k|        return 0;
  104|  55.4k|    }
  105|  6.44k|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|  6.44k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  6.44k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 6.39k, False: 55]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  106|  6.39k|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|  6.39k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  6.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  107|  6.39k|    }
  108|     55|    return 1;
  109|  6.44k|}
setobject.c:_PyObject_IS_GC:
   93|  61.9k|{
   94|  61.9k|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|  61.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  61.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|  61.9k|    return (_PyType_IS_GC(type)
  ------------------
  |  Branch (95:13): [True: 6.51k, False: 55.4k]
  ------------------
   96|  6.51k|            && (type->tp_is_gc == NULL || type->tp_is_gc(obj)));
  ------------------
  |  Branch (96:17): [True: 6.42k, False: 90]
  |  Branch (96:43): [True: 25, False: 65]
  ------------------
   97|  61.9k|}
setobject.c:_PyType_IS_GC:
   86|  61.9k|{
   87|  61.9k|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|  61.9k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|  61.9k|}
setobject.c:_PyObject_GC_TRACK:
  229|   896k|{
  230|   896k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|   896k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 896k, False: 0]
  |  |  ------------------
  |  |  352|   896k|      ? (void)(0) \
  |  |  353|   896k|      : _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|   896k|                          "object already tracked by the garbage collector",
  232|   896k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|   896k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|   896k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|   896k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 896k, False: 0]
  |  |  ------------------
  |  |  352|   896k|      ? (void)(0) \
  |  |  353|   896k|      : _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|   896k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|   896k|                          "object is in generation which is garbage collected",
  240|   896k|                          filename, lineno, __func__);
  241|       |
  242|   896k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|   896k|    PyGC_Head *generation0 = gcstate->generation0;
  244|   896k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|   896k|    _PyGCHead_SET_NEXT(last, gc);
  246|   896k|    _PyGCHead_SET_PREV(gc, last);
  247|   896k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|   896k|    generation0->_gc_prev = (uintptr_t)gc;
  249|   896k|    gcstate->heap_size++;
  250|   896k|#endif
  251|   896k|}
sliceobject.c:_PyObject_GC_TRACK:
  229|  63.7k|{
  230|  63.7k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  63.7k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 63.7k, False: 0]
  |  |  ------------------
  |  |  352|  63.7k|      ? (void)(0) \
  |  |  353|  63.7k|      : _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|  63.7k|                          "object already tracked by the garbage collector",
  232|  63.7k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  63.7k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  63.7k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  63.7k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 63.7k, False: 0]
  |  |  ------------------
  |  |  352|  63.7k|      ? (void)(0) \
  |  |  353|  63.7k|      : _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|  63.7k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  63.7k|                          "object is in generation which is garbage collected",
  240|  63.7k|                          filename, lineno, __func__);
  241|       |
  242|  63.7k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  63.7k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  63.7k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  63.7k|    _PyGCHead_SET_NEXT(last, gc);
  246|  63.7k|    _PyGCHead_SET_PREV(gc, last);
  247|  63.7k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  63.7k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  63.7k|    gcstate->heap_size++;
  250|  63.7k|#endif
  251|  63.7k|}
sliceobject.c:_PyObject_GC_IS_TRACKED:
   73|  63.7k|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|  63.7k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  63.7k|    return (gc->_gc_next != 0);
   79|  63.7k|#endif
   80|  63.7k|}
sliceobject.c:_Py_AS_GC:
   17|   127k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   127k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   127k|    return (PyGC_Head*)gc;
   20|   127k|}
sliceobject.c:_PyGCHead_SET_NEXT:
  166|   127k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|   127k|    gc->_gc_next = (uintptr_t)next;
  168|   127k|}
sliceobject.c:_PyGCHead_SET_PREV:
  176|  63.7k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  63.7k|    uintptr_t uprev = (uintptr_t)prev;
  178|  63.7k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 63.7k, False: 0]
  ------------------
  179|  63.7k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  63.7k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  63.7k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  63.7k|}
tupleobject.c:_PyObject_GC_TRACK:
  229|  97.6M|{
  230|  97.6M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  97.6M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 97.6M, False: 0]
  |  |  ------------------
  |  |  352|  97.6M|      ? (void)(0) \
  |  |  353|  97.6M|      : _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|  97.6M|                          "object already tracked by the garbage collector",
  232|  97.6M|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  97.6M|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  97.6M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  97.6M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 97.6M, False: 0]
  |  |  ------------------
  |  |  352|  97.6M|      ? (void)(0) \
  |  |  353|  97.6M|      : _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|  97.6M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  97.6M|                          "object is in generation which is garbage collected",
  240|  97.6M|                          filename, lineno, __func__);
  241|       |
  242|  97.6M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  97.6M|    PyGC_Head *generation0 = gcstate->generation0;
  244|  97.6M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  97.6M|    _PyGCHead_SET_NEXT(last, gc);
  246|  97.6M|    _PyGCHead_SET_PREV(gc, last);
  247|  97.6M|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  97.6M|    generation0->_gc_prev = (uintptr_t)gc;
  249|  97.6M|    gcstate->heap_size++;
  250|  97.6M|#endif
  251|  97.6M|}
tupleobject.c:_Py_AS_GC:
   17|   472M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   472M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   472M|    return (PyGC_Head*)gc;
   20|   472M|}
tupleobject.c:_PyGCHead_SET_NEXT:
  166|   267M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|   267M|    gc->_gc_next = (uintptr_t)next;
  168|   267M|}
tupleobject.c:_PyGCHead_SET_PREV:
  176|   169M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|   169M|    uintptr_t uprev = (uintptr_t)prev;
  178|   169M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 169M, False: 0]
  ------------------
  179|   169M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|   169M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|   169M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|   169M|}
tupleobject.c:_PyObject_GC_IS_TRACKED:
   73|   303M|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|   303M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   303M|    return (gc->_gc_next != 0);
   79|   303M|#endif
   80|   303M|}
tupleobject.c:_PyObject_GC_MAY_BE_TRACKED:
  101|   427M|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
  102|   427M|    if (!_PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (102:9): [True: 365M, False: 61.3M]
  ------------------
  103|   365M|        return 0;
  104|   365M|    }
  105|  61.3M|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|  61.3M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  61.3M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  61.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  61.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 61.3M, False: 19.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  106|  61.3M|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|  61.3M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  61.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  107|  61.3M|    }
  108|  19.6k|    return 1;
  109|  61.3M|}
tupleobject.c:_PyObject_IS_GC:
   93|   427M|{
   94|   427M|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|   427M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   427M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   427M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|   427M|    return (_PyType_IS_GC(type)
  ------------------
  |  Branch (95:13): [True: 133M, False: 294M]
  ------------------
   96|   133M|            && (type->tp_is_gc == NULL || type->tp_is_gc(obj)));
  ------------------
  |  Branch (96:17): [True: 61.3M, False: 71.8M]
  |  Branch (96:43): [True: 16.1k, False: 71.8M]
  ------------------
   97|   427M|}
tupleobject.c:_PyType_IS_GC:
   86|   525M|{
   87|   525M|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|   525M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|   525M|}
tupleobject.c:_PyObject_GC_UNTRACK:
  269|  72.0M|{
  270|  72.0M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  72.0M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 72.0M, False: 0]
  |  |  ------------------
  |  |  352|  72.0M|      ? (void)(0) \
  |  |  353|  72.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)))
  ------------------
  271|  72.0M|                          "object not tracked by the garbage collector",
  272|  72.0M|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  72.0M|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  72.0M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  72.0M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  72.0M|    _PyGCHead_SET_NEXT(prev, next);
  281|  72.0M|    _PyGCHead_SET_PREV(next, prev);
  282|  72.0M|    gc->_gc_next = 0;
  283|  72.0M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  72.0M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  72.0M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  72.0M|    gcstate->heap_size--;
  286|  72.0M|#endif
  287|  72.0M|}
tupleobject.c:_PyGCHead_PREV:
  171|  72.0M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  72.0M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  72.0M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  72.0M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  72.0M|    return (PyGC_Head*)prev;
  174|  72.0M|}
tupleobject.c:_PyGCHead_NEXT:
  162|  72.0M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  72.0M|    uintptr_t next = gc->_gc_next;
  164|  72.0M|    return (PyGC_Head*)next;
  165|  72.0M|}
typeobject.c:_PyType_IS_GC:
   86|  3.09M|{
   87|  3.09M|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|  3.09M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|  3.09M|}
typeobject.c:_PyObject_GC_TRACK:
  229|   895k|{
  230|   895k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|   895k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 895k, False: 0]
  |  |  ------------------
  |  |  352|   895k|      ? (void)(0) \
  |  |  353|   895k|      : _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|   895k|                          "object already tracked by the garbage collector",
  232|   895k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|   895k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|   895k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|   895k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 895k, False: 0]
  |  |  ------------------
  |  |  352|   895k|      ? (void)(0) \
  |  |  353|   895k|      : _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|   895k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|   895k|                          "object is in generation which is garbage collected",
  240|   895k|                          filename, lineno, __func__);
  241|       |
  242|   895k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|   895k|    PyGC_Head *generation0 = gcstate->generation0;
  244|   895k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|   895k|    _PyGCHead_SET_NEXT(last, gc);
  246|   895k|    _PyGCHead_SET_PREV(gc, last);
  247|   895k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|   895k|    generation0->_gc_prev = (uintptr_t)gc;
  249|   895k|    gcstate->heap_size++;
  250|   895k|#endif
  251|   895k|}
typeobject.c:_PyObject_GC_IS_TRACKED:
   73|   896k|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|   896k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   896k|    return (gc->_gc_next != 0);
   79|   896k|#endif
   80|   896k|}
typeobject.c:_Py_AS_GC:
   17|  1.79M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.79M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.79M|    return (PyGC_Head*)gc;
   20|  1.79M|}
typeobject.c:_PyGCHead_SET_NEXT:
  166|  1.79M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  1.79M|    gc->_gc_next = (uintptr_t)next;
  168|  1.79M|}
typeobject.c:_PyGCHead_SET_PREV:
  176|   896k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|   896k|    uintptr_t uprev = (uintptr_t)prev;
  178|   896k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 896k, False: 0]
  ------------------
  179|   896k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|   896k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|   896k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|   896k|}
typeobject.c:_PyObject_GC_UNTRACK:
  269|    851|{
  270|    851|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    851|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 851, False: 0]
  |  |  ------------------
  |  |  352|    851|      ? (void)(0) \
  |  |  353|    851|      : _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|    851|                          "object not tracked by the garbage collector",
  272|    851|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    851|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    851|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    851|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    851|    _PyGCHead_SET_NEXT(prev, next);
  281|    851|    _PyGCHead_SET_PREV(next, prev);
  282|    851|    gc->_gc_next = 0;
  283|    851|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    851|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    851|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    851|    gcstate->heap_size--;
  286|    851|#endif
  287|    851|}
typeobject.c:_PyGCHead_PREV:
  171|    851|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    851|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    851|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    851|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    851|    return (PyGC_Head*)prev;
  174|    851|}
typeobject.c:_PyGCHead_NEXT:
  162|    851|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    851|    uintptr_t next = gc->_gc_next;
  164|    851|    return (PyGC_Head*)next;
  165|    851|}
unicodeobject.c:_PyObject_GC_UNTRACK:
  269|  15.4k|{
  270|  15.4k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  15.4k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 15.4k, False: 0]
  |  |  ------------------
  |  |  352|  15.4k|      ? (void)(0) \
  |  |  353|  15.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|  15.4k|                          "object not tracked by the garbage collector",
  272|  15.4k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  15.4k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  15.4k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  15.4k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  15.4k|    _PyGCHead_SET_NEXT(prev, next);
  281|  15.4k|    _PyGCHead_SET_PREV(next, prev);
  282|  15.4k|    gc->_gc_next = 0;
  283|  15.4k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  15.4k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  15.4k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  15.4k|    gcstate->heap_size--;
  286|  15.4k|#endif
  287|  15.4k|}
unicodeobject.c:_PyObject_GC_IS_TRACKED:
   73|  30.9k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  30.9k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  30.9k|    return (gc->_gc_next != 0);
   79|  30.9k|#endif
   80|  30.9k|}
unicodeobject.c:_Py_AS_GC:
   17|  61.8k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  61.8k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  61.8k|    return (PyGC_Head*)gc;
   20|  61.8k|}
unicodeobject.c:_PyGCHead_PREV:
  171|  15.4k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  15.4k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  15.4k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  15.4k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  15.4k|    return (PyGC_Head*)prev;
  174|  15.4k|}
unicodeobject.c:_PyGCHead_NEXT:
  162|  15.4k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  15.4k|    uintptr_t next = gc->_gc_next;
  164|  15.4k|    return (PyGC_Head*)next;
  165|  15.4k|}
unicodeobject.c:_PyGCHead_SET_NEXT:
  166|  46.3k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  46.3k|    gc->_gc_next = (uintptr_t)next;
  168|  46.3k|}
unicodeobject.c:_PyGCHead_SET_PREV:
  176|  30.9k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  30.9k|    uintptr_t uprev = (uintptr_t)prev;
  178|  30.9k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 30.9k, False: 0]
  ------------------
  179|  30.9k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  30.9k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  30.9k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  30.9k|}
unicodeobject.c:_PyObject_GC_TRACK:
  229|  15.4k|{
  230|  15.4k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  15.4k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 15.4k, False: 0]
  |  |  ------------------
  |  |  352|  15.4k|      ? (void)(0) \
  |  |  353|  15.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)))
  ------------------
  231|  15.4k|                          "object already tracked by the garbage collector",
  232|  15.4k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  15.4k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  15.4k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  15.4k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 15.4k, False: 0]
  |  |  ------------------
  |  |  352|  15.4k|      ? (void)(0) \
  |  |  353|  15.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)))
  ------------------
  238|  15.4k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  15.4k|                          "object is in generation which is garbage collected",
  240|  15.4k|                          filename, lineno, __func__);
  241|       |
  242|  15.4k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  15.4k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  15.4k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  15.4k|    _PyGCHead_SET_NEXT(last, gc);
  246|  15.4k|    _PyGCHead_SET_PREV(gc, last);
  247|  15.4k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  15.4k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  15.4k|    gcstate->heap_size++;
  250|  15.4k|#endif
  251|  15.4k|}
unionobject.c:_PyObject_GC_UNTRACK:
  269|      1|{
  270|      1|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  352|      1|      ? (void)(0) \
  |  |  353|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|      1|                          "object not tracked by the garbage collector",
  272|      1|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|      1|    PyGC_Head *gc = _Py_AS_GC(op);
  278|      1|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|      1|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|      1|    _PyGCHead_SET_NEXT(prev, next);
  281|      1|    _PyGCHead_SET_PREV(next, prev);
  282|      1|    gc->_gc_next = 0;
  283|      1|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|      1|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|      1|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|      1|    gcstate->heap_size--;
  286|      1|#endif
  287|      1|}
unionobject.c:_PyObject_GC_IS_TRACKED:
   73|     46|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|     46|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     46|    return (gc->_gc_next != 0);
   79|     46|#endif
   80|     46|}
unionobject.c:_Py_AS_GC:
   17|     92|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     92|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     92|    return (PyGC_Head*)gc;
   20|     92|}
unionobject.c:_PyGCHead_PREV:
  171|      1|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|      1|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|      1|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      1|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|      1|    return (PyGC_Head*)prev;
  174|      1|}
unionobject.c:_PyGCHead_NEXT:
  162|      1|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|      1|    uintptr_t next = gc->_gc_next;
  164|      1|    return (PyGC_Head*)next;
  165|      1|}
unionobject.c:_PyGCHead_SET_NEXT:
  166|     91|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|     91|    gc->_gc_next = (uintptr_t)next;
  168|     91|}
unionobject.c:_PyGCHead_SET_PREV:
  176|     46|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|     46|    uintptr_t uprev = (uintptr_t)prev;
  178|     46|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 46, False: 0]
  ------------------
  179|     46|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|     46|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     46|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|     46|}
unionobject.c:_PyObject_GC_TRACK:
  229|     45|{
  230|     45|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     45|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 45, False: 0]
  |  |  ------------------
  |  |  352|     45|      ? (void)(0) \
  |  |  353|     45|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  231|     45|                          "object already tracked by the garbage collector",
  232|     45|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|     45|    PyGC_Head *gc = _Py_AS_GC(op);
  237|     45|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|     45|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 45, False: 0]
  |  |  ------------------
  |  |  352|     45|      ? (void)(0) \
  |  |  353|     45|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  238|     45|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|     45|                          "object is in generation which is garbage collected",
  240|     45|                          filename, lineno, __func__);
  241|       |
  242|     45|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|     45|    PyGC_Head *generation0 = gcstate->generation0;
  244|     45|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|     45|    _PyGCHead_SET_NEXT(last, gc);
  246|     45|    _PyGCHead_SET_PREV(gc, last);
  247|     45|    _PyGCHead_SET_NEXT(gc, generation0);
  248|     45|    generation0->_gc_prev = (uintptr_t)gc;
  249|     45|    gcstate->heap_size++;
  250|     45|#endif
  251|     45|}
bltinmodule.c:_PyObject_GC_IS_TRACKED:
   73|     68|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|     68|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     68|    return (gc->_gc_next != 0);
   79|     68|#endif
   80|     68|}
bltinmodule.c:_Py_AS_GC:
   17|     68|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     68|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     68|    return (PyGC_Head*)gc;
   20|     68|}
context.c:_PyObject_GC_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|}
context.c:_PyObject_GC_IS_TRACKED:
   73|      1|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|      1|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      1|    return (gc->_gc_next != 0);
   79|      1|#endif
   80|      1|}
context.c:_Py_AS_GC:
   17|      2|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|      2|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|      2|    return (PyGC_Head*)gc;
   20|      2|}
context.c:_PyGCHead_SET_NEXT:
  166|      2|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|      2|    gc->_gc_next = (uintptr_t)next;
  168|      2|}
context.c:_PyGCHead_SET_PREV:
  176|      1|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|      1|    uintptr_t uprev = (uintptr_t)prev;
  178|      1|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 1, False: 0]
  ------------------
  179|      1|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|      1|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      1|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|      1|}
context.c:_PyObject_GC_MAY_BE_TRACKED:
  101|      4|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
  102|      4|    if (!_PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (102:9): [True: 4, False: 0]
  ------------------
  103|      4|        return 0;
  104|      4|    }
  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|      4|{
   94|      4|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|      4|    return (_PyType_IS_GC(type)
  ------------------
  |  Branch (95:13): [True: 0, False: 4]
  ------------------
   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|      4|}
context.c:_PyType_IS_GC:
   86|      4|{
   87|      4|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|      4|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|      4|}
frame.c:_PyObject_GC_IS_TRACKED:
   73|  7.17k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  7.17k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  7.17k|    return (gc->_gc_next != 0);
   79|  7.17k|#endif
   80|  7.17k|}
frame.c:_Py_AS_GC:
   17|  10.7k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  10.7k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  10.7k|    return (PyGC_Head*)gc;
   20|  10.7k|}
frame.c:_PyObject_GC_TRACK:
  229|  3.58k|{
  230|  3.58k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  3.58k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 3.58k, False: 0]
  |  |  ------------------
  |  |  352|  3.58k|      ? (void)(0) \
  |  |  353|  3.58k|      : _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|  3.58k|                          "object already tracked by the garbage collector",
  232|  3.58k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  3.58k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  3.58k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  3.58k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 3.58k, False: 0]
  |  |  ------------------
  |  |  352|  3.58k|      ? (void)(0) \
  |  |  353|  3.58k|      : _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|  3.58k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  3.58k|                          "object is in generation which is garbage collected",
  240|  3.58k|                          filename, lineno, __func__);
  241|       |
  242|  3.58k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  3.58k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  3.58k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  3.58k|    _PyGCHead_SET_NEXT(last, gc);
  246|  3.58k|    _PyGCHead_SET_PREV(gc, last);
  247|  3.58k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  3.58k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  3.58k|    gcstate->heap_size++;
  250|  3.58k|#endif
  251|  3.58k|}
frame.c:_PyGCHead_SET_NEXT:
  166|  7.17k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  7.17k|    gc->_gc_next = (uintptr_t)next;
  168|  7.17k|}
frame.c:_PyGCHead_SET_PREV:
  176|  3.58k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  3.58k|    uintptr_t uprev = (uintptr_t)prev;
  178|  3.58k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 3.58k, False: 0]
  ------------------
  179|  3.58k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  3.58k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  3.58k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  3.58k|}
gc.c:_PyGCHead_NEXT:
  162|   247M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|   247M|    uintptr_t next = gc->_gc_next;
  164|   247M|    return (PyGC_Head*)next;
  165|   247M|}
gc.c:_PyGCHead_PREV:
  171|   174M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|   174M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|   174M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|   174M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|   174M|    return (PyGC_Head*)prev;
  174|   174M|}
gc.c:_PyGCHead_SET_NEXT:
  166|   174M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|   174M|    gc->_gc_next = (uintptr_t)next;
  168|   174M|}
gc.c:_PyGCHead_SET_PREV:
  176|   319M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|   319M|    uintptr_t uprev = (uintptr_t)prev;
  178|   319M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 319M, False: 0]
  ------------------
  179|   319M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|   319M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|   319M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|   319M|}
gc.c:_Py_FROM_GC:
   23|   217M|static inline PyObject* _Py_FROM_GC(PyGC_Head *gc) {
   24|   217M|    char *op = ((char *)gc) + sizeof(PyGC_Head);
   25|   217M|    return (PyObject *)op;
   26|   217M|}
gc.c:_PyObject_GC_IS_TRACKED:
   73|   221M|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|   221M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   221M|    return (gc->_gc_next != 0);
   79|   221M|#endif
   80|   221M|}
gc.c:_PyObject_GC_TRACK:
  229|   112k|{
  230|   112k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|   112k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 112k, False: 0]
  |  |  ------------------
  |  |  352|   112k|      ? (void)(0) \
  |  |  353|   112k|      : _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|   112k|                          "object already tracked by the garbage collector",
  232|   112k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|   112k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|   112k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|   112k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 112k, False: 0]
  |  |  ------------------
  |  |  352|   112k|      ? (void)(0) \
  |  |  353|   112k|      : _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|   112k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|   112k|                          "object is in generation which is garbage collected",
  240|   112k|                          filename, lineno, __func__);
  241|       |
  242|   112k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|   112k|    PyGC_Head *generation0 = gcstate->generation0;
  244|   112k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|   112k|    _PyGCHead_SET_NEXT(last, gc);
  246|   112k|    _PyGCHead_SET_PREV(gc, last);
  247|   112k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|   112k|    generation0->_gc_prev = (uintptr_t)gc;
  249|   112k|    gcstate->heap_size++;
  250|   112k|#endif
  251|   112k|}
gc.c:_PyObject_GC_UNTRACK:
  269|  30.3M|{
  270|  30.3M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  30.3M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 30.3M, False: 0]
  |  |  ------------------
  |  |  352|  30.3M|      ? (void)(0) \
  |  |  353|  30.3M|      : _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.3M|                          "object not tracked by the garbage collector",
  272|  30.3M|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  30.3M|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  30.3M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  30.3M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  30.3M|    _PyGCHead_SET_NEXT(prev, next);
  281|  30.3M|    _PyGCHead_SET_PREV(next, prev);
  282|  30.3M|    gc->_gc_next = 0;
  283|  30.3M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  30.3M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  30.3M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  30.3M|    gcstate->heap_size--;
  286|  30.3M|#endif
  287|  30.3M|}
gc.c:_PyObject_IS_GC:
   93|  1.16G|{
   94|  1.16G|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|  1.16G|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.16G|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16G|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|  1.16G|    return (_PyType_IS_GC(type)
  ------------------
  |  Branch (95:13): [True: 411M, False: 754M]
  ------------------
   96|   411M|            && (type->tp_is_gc == NULL || type->tp_is_gc(obj)));
  ------------------
  |  Branch (96:17): [True: 267M, False: 143M]
  |  Branch (96:43): [True: 152k, False: 143M]
  ------------------
   97|  1.16G|}
gc.c:_PyType_IS_GC:
   86|  1.33G|{
   87|  1.33G|    return (type->tp_flags & Py_TPFLAGS_HAVE_GC) != 0;
  ------------------
  |  |  524|  1.33G|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
   88|  1.33G|}
gc.c:_Py_AS_GC:
   17|   694M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   694M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   694M|    return (PyGC_Head*)gc;
   20|   694M|}
gc.c:_PyGC_FINALIZED:
  182|  2.06k|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|  2.06k|    PyGC_Head *gc = _Py_AS_GC(op);
  187|  2.06k|    return ((gc->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0);
  ------------------
  |  |  133|  2.06k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  188|  2.06k|#endif
  189|  2.06k|}
hamt.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|}
hamt.c:_PyObject_GC_IS_TRACKED:
   73|      1|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|      1|    PyGC_Head *gc = _Py_AS_GC(op);
   78|      1|    return (gc->_gc_next != 0);
   79|      1|#endif
   80|      1|}
hamt.c:_Py_AS_GC:
   17|      2|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|      2|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|      2|    return (PyGC_Head*)gc;
   20|      2|}
hamt.c:_PyGCHead_SET_NEXT:
  166|      2|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|      2|    gc->_gc_next = (uintptr_t)next;
  168|      2|}
hamt.c:_PyGCHead_SET_PREV:
  176|      1|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|      1|    uintptr_t uprev = (uintptr_t)prev;
  178|      1|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 1, False: 0]
  ------------------
  179|      1|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|      1|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|      1|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|      1|}
fileio.c:_PyObject_GC_UNTRACK:
  269|    101|{
  270|    101|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    101|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 101, False: 0]
  |  |  ------------------
  |  |  352|    101|      ? (void)(0) \
  |  |  353|    101|      : _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|    101|                          "object not tracked by the garbage collector",
  272|    101|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    101|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    101|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    101|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    101|    _PyGCHead_SET_NEXT(prev, next);
  281|    101|    _PyGCHead_SET_PREV(next, prev);
  282|    101|    gc->_gc_next = 0;
  283|    101|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    101|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    101|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    101|    gcstate->heap_size--;
  286|    101|#endif
  287|    101|}
fileio.c:_PyObject_GC_IS_TRACKED:
   73|    101|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|    101|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    101|    return (gc->_gc_next != 0);
   79|    101|#endif
   80|    101|}
fileio.c:_Py_AS_GC:
   17|    202|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    202|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    202|    return (PyGC_Head*)gc;
   20|    202|}
fileio.c:_PyGCHead_PREV:
  171|    101|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    101|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    101|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    101|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    101|    return (PyGC_Head*)prev;
  174|    101|}
fileio.c:_PyGCHead_NEXT:
  162|    101|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    101|    uintptr_t next = gc->_gc_next;
  164|    101|    return (PyGC_Head*)next;
  165|    101|}
fileio.c:_PyGCHead_SET_NEXT:
  166|    101|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|    101|    gc->_gc_next = (uintptr_t)next;
  168|    101|}
fileio.c:_PyGCHead_SET_PREV:
  176|    101|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    101|    uintptr_t uprev = (uintptr_t)prev;
  178|    101|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 101, False: 0]
  ------------------
  179|    101|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    101|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    101|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    101|}
bufferedio.c:_PyObject_GC_UNTRACK:
  269|    101|{
  270|    101|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    101|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 101, False: 0]
  |  |  ------------------
  |  |  352|    101|      ? (void)(0) \
  |  |  353|    101|      : _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|    101|                          "object not tracked by the garbage collector",
  272|    101|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    101|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    101|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    101|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    101|    _PyGCHead_SET_NEXT(prev, next);
  281|    101|    _PyGCHead_SET_PREV(next, prev);
  282|    101|    gc->_gc_next = 0;
  283|    101|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    101|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    101|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    101|    gcstate->heap_size--;
  286|    101|#endif
  287|    101|}
bufferedio.c:_PyObject_GC_IS_TRACKED:
   73|    101|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|    101|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    101|    return (gc->_gc_next != 0);
   79|    101|#endif
   80|    101|}
bufferedio.c:_Py_AS_GC:
   17|    202|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    202|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    202|    return (PyGC_Head*)gc;
   20|    202|}
bufferedio.c:_PyGCHead_PREV:
  171|    101|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    101|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    101|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    101|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    101|    return (PyGC_Head*)prev;
  174|    101|}
bufferedio.c:_PyGCHead_NEXT:
  162|    101|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    101|    uintptr_t next = gc->_gc_next;
  164|    101|    return (PyGC_Head*)next;
  165|    101|}
bufferedio.c:_PyGCHead_SET_NEXT:
  166|    101|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|    101|    gc->_gc_next = (uintptr_t)next;
  168|    101|}
bufferedio.c:_PyGCHead_SET_PREV:
  176|    101|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    101|    uintptr_t uprev = (uintptr_t)prev;
  178|    101|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 101, False: 0]
  ------------------
  179|    101|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    101|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    101|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    101|}
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|  2.57k|{
  230|  2.57k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  2.57k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.57k, False: 0]
  |  |  ------------------
  |  |  352|  2.57k|      ? (void)(0) \
  |  |  353|  2.57k|      : _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.57k|                          "object already tracked by the garbage collector",
  232|  2.57k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  2.57k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  2.57k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  2.57k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.57k, False: 0]
  |  |  ------------------
  |  |  352|  2.57k|      ? (void)(0) \
  |  |  353|  2.57k|      : _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.57k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  2.57k|                          "object is in generation which is garbage collected",
  240|  2.57k|                          filename, lineno, __func__);
  241|       |
  242|  2.57k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  2.57k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  2.57k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  2.57k|    _PyGCHead_SET_NEXT(last, gc);
  246|  2.57k|    _PyGCHead_SET_PREV(gc, last);
  247|  2.57k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  2.57k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  2.57k|    gcstate->heap_size++;
  250|  2.57k|#endif
  251|  2.57k|}
cellobject.c:_PyObject_GC_IS_TRACKED:
   73|  4.97k|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.97k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  4.97k|    return (gc->_gc_next != 0);
   79|  4.97k|#endif
   80|  4.97k|}
cellobject.c:_Py_AS_GC:
   17|  9.95k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  9.95k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  9.95k|    return (PyGC_Head*)gc;
   20|  9.95k|}
cellobject.c:_PyGCHead_SET_NEXT:
  166|  7.55k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  7.55k|    gc->_gc_next = (uintptr_t)next;
  168|  7.55k|}
cellobject.c:_PyGCHead_SET_PREV:
  176|  4.97k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  4.97k|    uintptr_t uprev = (uintptr_t)prev;
  178|  4.97k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 4.97k, False: 0]
  ------------------
  179|  4.97k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  4.97k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  4.97k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  4.97k|}
cellobject.c:_PyObject_GC_UNTRACK:
  269|  2.39k|{
  270|  2.39k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  2.39k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.39k, False: 0]
  |  |  ------------------
  |  |  352|  2.39k|      ? (void)(0) \
  |  |  353|  2.39k|      : _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.39k|                          "object not tracked by the garbage collector",
  272|  2.39k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  2.39k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  2.39k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  2.39k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  2.39k|    _PyGCHead_SET_NEXT(prev, next);
  281|  2.39k|    _PyGCHead_SET_PREV(next, prev);
  282|  2.39k|    gc->_gc_next = 0;
  283|  2.39k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  2.39k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  2.39k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  2.39k|    gcstate->heap_size--;
  286|  2.39k|#endif
  287|  2.39k|}
cellobject.c:_PyGCHead_PREV:
  171|  2.39k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  2.39k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  2.39k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  2.39k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  2.39k|    return (PyGC_Head*)prev;
  174|  2.39k|}
cellobject.c:_PyGCHead_NEXT:
  162|  2.39k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  2.39k|    uintptr_t next = gc->_gc_next;
  164|  2.39k|    return (PyGC_Head*)next;
  165|  2.39k|}
classobject.c:_PyObject_GC_TRACK:
  229|  2.59k|{
  230|  2.59k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  2.59k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.59k, False: 0]
  |  |  ------------------
  |  |  352|  2.59k|      ? (void)(0) \
  |  |  353|  2.59k|      : _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.59k|                          "object already tracked by the garbage collector",
  232|  2.59k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  2.59k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  2.59k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  2.59k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.59k, False: 0]
  |  |  ------------------
  |  |  352|  2.59k|      ? (void)(0) \
  |  |  353|  2.59k|      : _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.59k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  2.59k|                          "object is in generation which is garbage collected",
  240|  2.59k|                          filename, lineno, __func__);
  241|       |
  242|  2.59k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  2.59k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  2.59k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  2.59k|    _PyGCHead_SET_NEXT(last, gc);
  246|  2.59k|    _PyGCHead_SET_PREV(gc, last);
  247|  2.59k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  2.59k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  2.59k|    gcstate->heap_size++;
  250|  2.59k|#endif
  251|  2.59k|}
classobject.c:_PyObject_GC_IS_TRACKED:
   73|  5.01k|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.01k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  5.01k|    return (gc->_gc_next != 0);
   79|  5.01k|#endif
   80|  5.01k|}
classobject.c:_Py_AS_GC:
   17|  10.0k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  10.0k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  10.0k|    return (PyGC_Head*)gc;
   20|  10.0k|}
classobject.c:_PyGCHead_SET_NEXT:
  166|  7.60k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  7.60k|    gc->_gc_next = (uintptr_t)next;
  168|  7.60k|}
classobject.c:_PyGCHead_SET_PREV:
  176|  5.01k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  5.01k|    uintptr_t uprev = (uintptr_t)prev;
  178|  5.01k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 5.01k, False: 0]
  ------------------
  179|  5.01k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  5.01k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  5.01k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  5.01k|}
classobject.c:_PyObject_GC_UNTRACK:
  269|  2.42k|{
  270|  2.42k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  2.42k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.42k, False: 0]
  |  |  ------------------
  |  |  352|  2.42k|      ? (void)(0) \
  |  |  353|  2.42k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  271|  2.42k|                          "object not tracked by the garbage collector",
  272|  2.42k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  2.42k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  2.42k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  2.42k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  2.42k|    _PyGCHead_SET_NEXT(prev, next);
  281|  2.42k|    _PyGCHead_SET_PREV(next, prev);
  282|  2.42k|    gc->_gc_next = 0;
  283|  2.42k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  2.42k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  2.42k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  2.42k|    gcstate->heap_size--;
  286|  2.42k|#endif
  287|  2.42k|}
classobject.c:_PyGCHead_PREV:
  171|  2.42k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  2.42k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  2.42k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  2.42k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  2.42k|    return (PyGC_Head*)prev;
  174|  2.42k|}
classobject.c:_PyGCHead_NEXT:
  162|  2.42k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  2.42k|    uintptr_t next = gc->_gc_next;
  164|  2.42k|    return (PyGC_Head*)next;
  165|  2.42k|}
descrobject.c:_PyObject_GC_UNTRACK:
  269|    470|{
  270|    470|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    470|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 470, False: 0]
  |  |  ------------------
  |  |  352|    470|      ? (void)(0) \
  |  |  353|    470|      : _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|    470|                          "object not tracked by the garbage collector",
  272|    470|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|    470|    PyGC_Head *gc = _Py_AS_GC(op);
  278|    470|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|    470|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|    470|    _PyGCHead_SET_NEXT(prev, next);
  281|    470|    _PyGCHead_SET_PREV(next, prev);
  282|    470|    gc->_gc_next = 0;
  283|    470|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|    470|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|    470|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|    470|    gcstate->heap_size--;
  286|    470|#endif
  287|    470|}
descrobject.c:_PyObject_GC_IS_TRACKED:
   73|    960|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|    960|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    960|    return (gc->_gc_next != 0);
   79|    960|#endif
   80|    960|}
descrobject.c:_Py_AS_GC:
   17|  1.92k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.92k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.92k|    return (PyGC_Head*)gc;
   20|  1.92k|}
descrobject.c:_PyGCHead_PREV:
  171|    470|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|    470|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|    470|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    470|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|    470|    return (PyGC_Head*)prev;
  174|    470|}
descrobject.c:_PyGCHead_NEXT:
  162|    470|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|    470|    uintptr_t next = gc->_gc_next;
  164|    470|    return (PyGC_Head*)next;
  165|    470|}
descrobject.c:_PyGCHead_SET_NEXT:
  166|  1.45k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  1.45k|    gc->_gc_next = (uintptr_t)next;
  168|  1.45k|}
descrobject.c:_PyGCHead_SET_PREV:
  176|    960|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    960|    uintptr_t uprev = (uintptr_t)prev;
  178|    960|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 960, False: 0]
  ------------------
  179|    960|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    960|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    960|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    960|}
descrobject.c:_PyObject_GC_TRACK:
  229|    490|{
  230|    490|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|    490|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 490, False: 0]
  |  |  ------------------
  |  |  352|    490|      ? (void)(0) \
  |  |  353|    490|      : _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|    490|                          "object already tracked by the garbage collector",
  232|    490|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|    490|    PyGC_Head *gc = _Py_AS_GC(op);
  237|    490|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|    490|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 490, False: 0]
  |  |  ------------------
  |  |  352|    490|      ? (void)(0) \
  |  |  353|    490|      : _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|    490|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|    490|                          "object is in generation which is garbage collected",
  240|    490|                          filename, lineno, __func__);
  241|       |
  242|    490|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|    490|    PyGC_Head *generation0 = gcstate->generation0;
  244|    490|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|    490|    _PyGCHead_SET_NEXT(last, gc);
  246|    490|    _PyGCHead_SET_PREV(gc, last);
  247|    490|    _PyGCHead_SET_NEXT(gc, generation0);
  248|    490|    generation0->_gc_prev = (uintptr_t)gc;
  249|    490|    gcstate->heap_size++;
  250|    490|#endif
  251|    490|}
enumobject.c:_PyObject_GC_IS_TRACKED:
   73|   554k|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|   554k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   554k|    return (gc->_gc_next != 0);
   79|   554k|#endif
   80|   554k|}
enumobject.c:_Py_AS_GC:
   17|   586k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   586k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   586k|    return (PyGC_Head*)gc;
   20|   586k|}
enumobject.c:_PyObject_GC_TRACK:
  229|  31.2k|{
  230|  31.2k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  31.2k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 31.2k, False: 0]
  |  |  ------------------
  |  |  352|  31.2k|      ? (void)(0) \
  |  |  353|  31.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)))
  ------------------
  231|  31.2k|                          "object already tracked by the garbage collector",
  232|  31.2k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  31.2k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  31.2k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  31.2k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 31.2k, False: 0]
  |  |  ------------------
  |  |  352|  31.2k|      ? (void)(0) \
  |  |  353|  31.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)))
  ------------------
  238|  31.2k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  31.2k|                          "object is in generation which is garbage collected",
  240|  31.2k|                          filename, lineno, __func__);
  241|       |
  242|  31.2k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  31.2k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  31.2k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  31.2k|    _PyGCHead_SET_NEXT(last, gc);
  246|  31.2k|    _PyGCHead_SET_PREV(gc, last);
  247|  31.2k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  31.2k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  31.2k|    gcstate->heap_size++;
  250|  31.2k|#endif
  251|  31.2k|}
enumobject.c:_PyGCHead_SET_NEXT:
  166|  62.4k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  62.4k|    gc->_gc_next = (uintptr_t)next;
  168|  62.4k|}
enumobject.c:_PyGCHead_SET_PREV:
  176|  31.2k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  31.2k|    uintptr_t uprev = (uintptr_t)prev;
  178|  31.2k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 31.2k, False: 0]
  ------------------
  179|  31.2k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  31.2k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  31.2k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  31.2k|}
genobject.c:_PyObject_GC_UNTRACK:
  269|  1.86k|{
  270|  1.86k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  1.86k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1.86k, False: 0]
  |  |  ------------------
  |  |  352|  1.86k|      ? (void)(0) \
  |  |  353|  1.86k|      : _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.86k|                          "object not tracked by the garbage collector",
  272|  1.86k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  1.86k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  1.86k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  1.86k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  1.86k|    _PyGCHead_SET_NEXT(prev, next);
  281|  1.86k|    _PyGCHead_SET_PREV(next, prev);
  282|  1.86k|    gc->_gc_next = 0;
  283|  1.86k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  1.86k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  1.86k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  1.86k|    gcstate->heap_size--;
  286|  1.86k|#endif
  287|  1.86k|}
genobject.c:_PyObject_GC_IS_TRACKED:
   73|  3.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|  3.73k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  3.73k|    return (gc->_gc_next != 0);
   79|  3.73k|#endif
   80|  3.73k|}
genobject.c:_Py_AS_GC:
   17|  7.46k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  7.46k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  7.46k|    return (PyGC_Head*)gc;
   20|  7.46k|}
genobject.c:_PyGCHead_PREV:
  171|  1.86k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  1.86k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  1.86k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  1.86k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  1.86k|    return (PyGC_Head*)prev;
  174|  1.86k|}
genobject.c:_PyGCHead_NEXT:
  162|  1.86k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  1.86k|    uintptr_t next = gc->_gc_next;
  164|  1.86k|    return (PyGC_Head*)next;
  165|  1.86k|}
genobject.c:_PyGCHead_SET_NEXT:
  166|  5.59k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  5.59k|    gc->_gc_next = (uintptr_t)next;
  168|  5.59k|}
genobject.c:_PyGCHead_SET_PREV:
  176|  3.73k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  3.73k|    uintptr_t uprev = (uintptr_t)prev;
  178|  3.73k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 3.73k, False: 0]
  ------------------
  179|  3.73k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  3.73k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  3.73k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  3.73k|}
genobject.c:_PyObject_GC_TRACK:
  229|  1.86k|{
  230|  1.86k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  1.86k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1.86k, False: 0]
  |  |  ------------------
  |  |  352|  1.86k|      ? (void)(0) \
  |  |  353|  1.86k|      : _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.86k|                          "object already tracked by the garbage collector",
  232|  1.86k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  1.86k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  1.86k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  1.86k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1.86k, False: 0]
  |  |  ------------------
  |  |  352|  1.86k|      ? (void)(0) \
  |  |  353|  1.86k|      : _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.86k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  1.86k|                          "object is in generation which is garbage collected",
  240|  1.86k|                          filename, lineno, __func__);
  241|       |
  242|  1.86k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  1.86k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  1.86k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  1.86k|    _PyGCHead_SET_NEXT(last, gc);
  246|  1.86k|    _PyGCHead_SET_PREV(gc, last);
  247|  1.86k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  1.86k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  1.86k|    gcstate->heap_size++;
  250|  1.86k|#endif
  251|  1.86k|}
frameobject.c:_PyObject_GC_IS_TRACKED:
   73|  23.5k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  23.5k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  23.5k|    return (gc->_gc_next != 0);
   79|  23.5k|#endif
   80|  23.5k|}
frameobject.c:_Py_AS_GC:
   17|  27.0k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  27.0k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  27.0k|    return (PyGC_Head*)gc;
   20|  27.0k|}
frameobject.c:_PyObject_GC_UNTRACK:
  269|  3.58k|{
  270|  3.58k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  3.58k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 3.58k, False: 0]
  |  |  ------------------
  |  |  352|  3.58k|      ? (void)(0) \
  |  |  353|  3.58k|      : _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|  3.58k|                          "object not tracked by the garbage collector",
  272|  3.58k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  3.58k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  3.58k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  3.58k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  3.58k|    _PyGCHead_SET_NEXT(prev, next);
  281|  3.58k|    _PyGCHead_SET_PREV(next, prev);
  282|  3.58k|    gc->_gc_next = 0;
  283|  3.58k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  3.58k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  3.58k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  3.58k|    gcstate->heap_size--;
  286|  3.58k|#endif
  287|  3.58k|}
frameobject.c:_PyGCHead_PREV:
  171|  3.58k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  3.58k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  3.58k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  3.58k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  3.58k|    return (PyGC_Head*)prev;
  174|  3.58k|}
frameobject.c:_PyGCHead_NEXT:
  162|  3.58k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  3.58k|    uintptr_t next = gc->_gc_next;
  164|  3.58k|    return (PyGC_Head*)next;
  165|  3.58k|}
frameobject.c:_PyGCHead_SET_NEXT:
  166|  3.58k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  3.58k|    gc->_gc_next = (uintptr_t)next;
  168|  3.58k|}
frameobject.c:_PyGCHead_SET_PREV:
  176|  3.58k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  3.58k|    uintptr_t uprev = (uintptr_t)prev;
  178|  3.58k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 3.58k, False: 0]
  ------------------
  179|  3.58k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  3.58k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  3.58k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  3.58k|}
funcobject.c:_PyObject_GC_TRACK:
  229|  5.32k|{
  230|  5.32k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  5.32k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 5.32k, False: 0]
  |  |  ------------------
  |  |  352|  5.32k|      ? (void)(0) \
  |  |  353|  5.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)))
  ------------------
  231|  5.32k|                          "object already tracked by the garbage collector",
  232|  5.32k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  5.32k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  5.32k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  5.32k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 5.32k, False: 0]
  |  |  ------------------
  |  |  352|  5.32k|      ? (void)(0) \
  |  |  353|  5.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)))
  ------------------
  238|  5.32k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  5.32k|                          "object is in generation which is garbage collected",
  240|  5.32k|                          filename, lineno, __func__);
  241|       |
  242|  5.32k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  5.32k|    PyGC_Head *generation0 = gcstate->generation0;
  244|  5.32k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  5.32k|    _PyGCHead_SET_NEXT(last, gc);
  246|  5.32k|    _PyGCHead_SET_PREV(gc, last);
  247|  5.32k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  5.32k|    generation0->_gc_prev = (uintptr_t)gc;
  249|  5.32k|    gcstate->heap_size++;
  250|  5.32k|#endif
  251|  5.32k|}
funcobject.c:_PyObject_GC_IS_TRACKED:
   73|  8.03k|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.03k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  8.03k|    return (gc->_gc_next != 0);
   79|  8.03k|#endif
   80|  8.03k|}
funcobject.c:_Py_AS_GC:
   17|  16.0k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  16.0k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  16.0k|    return (PyGC_Head*)gc;
   20|  16.0k|}
funcobject.c:_PyGCHead_SET_NEXT:
  166|  13.3k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  13.3k|    gc->_gc_next = (uintptr_t)next;
  168|  13.3k|}
funcobject.c:_PyGCHead_SET_PREV:
  176|  8.03k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  8.03k|    uintptr_t uprev = (uintptr_t)prev;
  178|  8.03k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 8.03k, False: 0]
  ------------------
  179|  8.03k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  8.03k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  8.03k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  8.03k|}
funcobject.c:_PyObject_GC_UNTRACK:
  269|  2.70k|{
  270|  2.70k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  2.70k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 2.70k, False: 0]
  |  |  ------------------
  |  |  352|  2.70k|      ? (void)(0) \
  |  |  353|  2.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)))
  ------------------
  271|  2.70k|                          "object not tracked by the garbage collector",
  272|  2.70k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|  2.70k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|  2.70k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|  2.70k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|  2.70k|    _PyGCHead_SET_NEXT(prev, next);
  281|  2.70k|    _PyGCHead_SET_PREV(next, prev);
  282|  2.70k|    gc->_gc_next = 0;
  283|  2.70k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|  2.70k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|  2.70k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|  2.70k|    gcstate->heap_size--;
  286|  2.70k|#endif
  287|  2.70k|}
funcobject.c:_PyGCHead_PREV:
  171|  2.70k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|  2.70k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|  2.70k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  2.70k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|  2.70k|    return (PyGC_Head*)prev;
  174|  2.70k|}
funcobject.c:_PyGCHead_NEXT:
  162|  2.70k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|  2.70k|    uintptr_t next = gc->_gc_next;
  164|  2.70k|    return (PyGC_Head*)next;
  165|  2.70k|}
iterobject.c:_PyObject_GC_TRACK:
  229|     63|{
  230|     63|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     63|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 63, False: 0]
  |  |  ------------------
  |  |  352|     63|      ? (void)(0) \
  |  |  353|     63|      : _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|     63|                          "object already tracked by the garbage collector",
  232|     63|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|     63|    PyGC_Head *gc = _Py_AS_GC(op);
  237|     63|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|     63|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 63, False: 0]
  |  |  ------------------
  |  |  352|     63|      ? (void)(0) \
  |  |  353|     63|      : _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|     63|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|     63|                          "object is in generation which is garbage collected",
  240|     63|                          filename, lineno, __func__);
  241|       |
  242|     63|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|     63|    PyGC_Head *generation0 = gcstate->generation0;
  244|     63|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|     63|    _PyGCHead_SET_NEXT(last, gc);
  246|     63|    _PyGCHead_SET_PREV(gc, last);
  247|     63|    _PyGCHead_SET_NEXT(gc, generation0);
  248|     63|    generation0->_gc_prev = (uintptr_t)gc;
  249|     63|    gcstate->heap_size++;
  250|     63|#endif
  251|     63|}
iterobject.c:_PyObject_GC_IS_TRACKED:
   73|    126|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|    126|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    126|    return (gc->_gc_next != 0);
   79|    126|#endif
   80|    126|}
iterobject.c:_Py_AS_GC:
   17|    252|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    252|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    252|    return (PyGC_Head*)gc;
   20|    252|}
iterobject.c:_PyGCHead_SET_NEXT:
  166|    189|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|    189|    gc->_gc_next = (uintptr_t)next;
  168|    189|}
iterobject.c:_PyGCHead_SET_PREV:
  176|    126|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|    126|    uintptr_t uprev = (uintptr_t)prev;
  178|    126|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 126, False: 0]
  ------------------
  179|    126|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|    126|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|    126|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|    126|}
iterobject.c:_PyObject_GC_UNTRACK:
  269|     63|{
  270|     63|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     63|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 63, False: 0]
  |  |  ------------------
  |  |  352|     63|      ? (void)(0) \
  |  |  353|     63|      : _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|     63|                          "object not tracked by the garbage collector",
  272|     63|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|     63|    PyGC_Head *gc = _Py_AS_GC(op);
  278|     63|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|     63|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|     63|    _PyGCHead_SET_NEXT(prev, next);
  281|     63|    _PyGCHead_SET_PREV(next, prev);
  282|     63|    gc->_gc_next = 0;
  283|     63|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|     63|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|     63|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|     63|    gcstate->heap_size--;
  286|     63|#endif
  287|     63|}
iterobject.c:_PyGCHead_PREV:
  171|     63|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|     63|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|     63|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     63|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|     63|    return (PyGC_Head*)prev;
  174|     63|}
iterobject.c:_PyGCHead_NEXT:
  162|     63|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|     63|    uintptr_t next = gc->_gc_next;
  164|     63|    return (PyGC_Head*)next;
  165|     63|}
lazyimportobject.c:_PyObject_GC_TRACK:
  229|     15|{
  230|     15|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|     15|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 15, False: 0]
  |  |  ------------------
  |  |  352|     15|      ? (void)(0) \
  |  |  353|     15|      : _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|     15|                          "object already tracked by the garbage collector",
  232|     15|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|     15|    PyGC_Head *gc = _Py_AS_GC(op);
  237|     15|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|     15|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 15, False: 0]
  |  |  ------------------
  |  |  352|     15|      ? (void)(0) \
  |  |  353|     15|      : _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|     15|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|     15|                          "object is in generation which is garbage collected",
  240|     15|                          filename, lineno, __func__);
  241|       |
  242|     15|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|     15|    PyGC_Head *generation0 = gcstate->generation0;
  244|     15|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|     15|    _PyGCHead_SET_NEXT(last, gc);
  246|     15|    _PyGCHead_SET_PREV(gc, last);
  247|     15|    _PyGCHead_SET_NEXT(gc, generation0);
  248|     15|    generation0->_gc_prev = (uintptr_t)gc;
  249|     15|    gcstate->heap_size++;
  250|     15|#endif
  251|     15|}
lazyimportobject.c:_PyObject_GC_IS_TRACKED:
   73|     15|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|     15|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     15|    return (gc->_gc_next != 0);
   79|     15|#endif
   80|     15|}
lazyimportobject.c:_Py_AS_GC:
   17|     30|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     30|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     30|    return (PyGC_Head*)gc;
   20|     30|}
lazyimportobject.c:_PyGCHead_SET_NEXT:
  166|     30|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|     30|    gc->_gc_next = (uintptr_t)next;
  168|     30|}
lazyimportobject.c:_PyGCHead_SET_PREV:
  176|     15|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|     15|    uintptr_t uprev = (uintptr_t)prev;
  178|     15|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 15, False: 0]
  ------------------
  179|     15|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|     15|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|     15|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|     15|}
memoryobject.c:_PyObject_GC_UNTRACK:
  269|   140k|{
  270|   140k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|   140k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 140k, False: 0]
  |  |  ------------------
  |  |  352|   140k|      ? (void)(0) \
  |  |  353|   140k|      : _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|   140k|                          "object not tracked by the garbage collector",
  272|   140k|                          filename, lineno, __func__);
  273|       |
  274|       |#ifdef Py_GIL_DISABLED
  275|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  276|       |#else
  277|   140k|    PyGC_Head *gc = _Py_AS_GC(op);
  278|   140k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  279|   140k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  280|   140k|    _PyGCHead_SET_NEXT(prev, next);
  281|   140k|    _PyGCHead_SET_PREV(next, prev);
  282|   140k|    gc->_gc_next = 0;
  283|   140k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  133|   140k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  284|   140k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  285|   140k|    gcstate->heap_size--;
  286|   140k|#endif
  287|   140k|}
memoryobject.c:_PyObject_GC_IS_TRACKED:
   73|   280k|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|   280k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   280k|    return (gc->_gc_next != 0);
   79|   280k|#endif
   80|   280k|}
memoryobject.c:_Py_AS_GC:
   17|   561k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   561k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   561k|    return (PyGC_Head*)gc;
   20|   561k|}
memoryobject.c:_PyGCHead_PREV:
  171|   140k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  172|   140k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  138|   140k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|   140k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  173|   140k|    return (PyGC_Head*)prev;
  174|   140k|}
memoryobject.c:_PyGCHead_NEXT:
  162|   140k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  163|   140k|    uintptr_t next = gc->_gc_next;
  164|   140k|    return (PyGC_Head*)next;
  165|   140k|}
memoryobject.c:_PyGCHead_SET_NEXT:
  166|   421k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|   421k|    gc->_gc_next = (uintptr_t)next;
  168|   421k|}
memoryobject.c:_PyGCHead_SET_PREV:
  176|   280k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|   280k|    uintptr_t uprev = (uintptr_t)prev;
  178|   280k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 280k, False: 0]
  ------------------
  179|   280k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|   280k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|   280k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|   280k|}
memoryobject.c:_PyObject_GC_TRACK:
  229|   140k|{
  230|   140k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|   140k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 140k, False: 0]
  |  |  ------------------
  |  |  352|   140k|      ? (void)(0) \
  |  |  353|   140k|      : _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|   140k|                          "object already tracked by the garbage collector",
  232|   140k|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|   140k|    PyGC_Head *gc = _Py_AS_GC(op);
  237|   140k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|   140k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 140k, False: 0]
  |  |  ------------------
  |  |  352|   140k|      ? (void)(0) \
  |  |  353|   140k|      : _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|   140k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|   140k|                          "object is in generation which is garbage collected",
  240|   140k|                          filename, lineno, __func__);
  241|       |
  242|   140k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|   140k|    PyGC_Head *generation0 = gcstate->generation0;
  244|   140k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|   140k|    _PyGCHead_SET_NEXT(last, gc);
  246|   140k|    _PyGCHead_SET_PREV(gc, last);
  247|   140k|    _PyGCHead_SET_NEXT(gc, generation0);
  248|   140k|    generation0->_gc_prev = (uintptr_t)gc;
  249|   140k|    gcstate->heap_size++;
  250|   140k|#endif
  251|   140k|}
methodobject.c:_PyObject_GC_TRACK:
  229|  1.43M|{
  230|  1.43M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  351|  1.43M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1.43M, False: 0]
  |  |  ------------------
  |  |  352|  1.43M|      ? (void)(0) \
  |  |  353|  1.43M|      : _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.43M|                          "object already tracked by the garbage collector",
  232|  1.43M|                          filename, lineno, __func__);
  233|       |#ifdef Py_GIL_DISABLED
  234|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  235|       |#else
  236|  1.43M|    PyGC_Head *gc = _Py_AS_GC(op);
  237|  1.43M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  351|  1.43M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (351:6): [True: 1.43M, False: 0]
  |  |  ------------------
  |  |  352|  1.43M|      ? (void)(0) \
  |  |  353|  1.43M|      : _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.43M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  239|  1.43M|                          "object is in generation which is garbage collected",
  240|  1.43M|                          filename, lineno, __func__);
  241|       |
  242|  1.43M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  243|  1.43M|    PyGC_Head *generation0 = gcstate->generation0;
  244|  1.43M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  245|  1.43M|    _PyGCHead_SET_NEXT(last, gc);
  246|  1.43M|    _PyGCHead_SET_PREV(gc, last);
  247|  1.43M|    _PyGCHead_SET_NEXT(gc, generation0);
  248|  1.43M|    generation0->_gc_prev = (uintptr_t)gc;
  249|  1.43M|    gcstate->heap_size++;
  250|  1.43M|#endif
  251|  1.43M|}
methodobject.c:_PyObject_GC_IS_TRACKED:
   73|  1.43M|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.43M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  1.43M|    return (gc->_gc_next != 0);
   79|  1.43M|#endif
   80|  1.43M|}
methodobject.c:_Py_AS_GC:
   17|  2.86M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  2.86M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  2.86M|    return (PyGC_Head*)gc;
   20|  2.86M|}
methodobject.c:_PyGCHead_SET_NEXT:
  166|  2.86M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  167|  2.86M|    gc->_gc_next = (uintptr_t)next;
  168|  2.86M|}
methodobject.c:_PyGCHead_SET_PREV:
  176|  1.43M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  177|  1.43M|    uintptr_t uprev = (uintptr_t)prev;
  178|  1.43M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (178:5): [True: 1.43M, False: 0]
  ------------------
  179|  1.43M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  138|  1.43M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  1.43M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  180|  1.43M|}

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

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

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

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|  32.8M|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|  32.8M|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 32.8M, False: 0]
  ------------------
   23|  32.8M|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|  32.8M|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 32.8M, False: 0]
  ------------------
   25|  32.8M|    return (PyCodeObject *)executable;
   26|  32.8M|}
ceval.c:_PyFrame_GetStackPointer:
  235|  40.3M|{
  236|  40.3M|    return frame->stackpointer;
  237|  40.3M|}
ceval.c:_PyFrame_StackPointerInvalidate:
  259|   141M|{
  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|   141M|}
ceval.c:_PyFrame_SetStackPointer:
  241|   111M|{
  242|   111M|    frame->stackpointer = stack_pointer;
  243|   111M|}
ceval.c:_PyFrame_StackPointerValidate:
  247|   141M|{
  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|   141M|}
ceval.c:_PyFrame_StackAssertInvalid:
  271|   235M|{
  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|   235M|}
ceval.c:_PyThreadState_HasStackSpace:
  384|  4.96M|{
  385|  4.96M|    assert(
  ------------------
  |  Branch (385:5): [True: 0, False: 4.96M]
  |  Branch (385:5): [True: 0, False: 0]
  |  Branch (385:5): [True: 4.96M, False: 0]
  |  Branch (385:5): [True: 4.96M, False: 0]
  ------------------
  386|  4.96M|        (tstate->datastack_top == NULL && tstate->datastack_limit == NULL)
  387|  4.96M|        ||
  388|  4.96M|        (tstate->datastack_top != NULL && tstate->datastack_limit != NULL)
  389|  4.96M|    );
  390|  4.96M|    return tstate->datastack_top != NULL &&
  ------------------
  |  Branch (390:12): [True: 4.96M, False: 0]
  ------------------
  391|  4.96M|        size < tstate->datastack_limit - tstate->datastack_top;
  ------------------
  |  Branch (391:9): [True: 4.96M, False: 0]
  ------------------
  392|  4.96M|}
ceval.c:_PyFrame_PushUnchecked:
  405|  4.96M|{
  406|  4.96M|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  4.96M|#define CALL_STAT_INC(name) ((void)0)
  ------------------
  407|  4.96M|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
  408|  4.96M|    PyCodeObject *code = (PyCodeObject *)func_obj->func_code;
  409|  4.96M|    _PyInterpreterFrame *new_frame = (_PyInterpreterFrame *)tstate->datastack_top;
  410|  4.96M|    tstate->datastack_top += code->co_framesize;
  411|  4.96M|    assert(tstate->datastack_top < tstate->datastack_limit);
  ------------------
  |  Branch (411:5): [True: 4.96M, False: 0]
  ------------------
  412|  4.96M|    _PyFrame_Initialize(tstate, new_frame, func, NULL, code, null_locals_from,
  413|  4.96M|                        previous);
  414|  4.96M|    return new_frame;
  415|  4.96M|}
ceval.c:_PyFrame_PushTrampolineUnchecked:
  421|    976|{
  422|    976|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|    976|#define CALL_STAT_INC(name) ((void)0)
  ------------------
  423|    976|    _PyInterpreterFrame *frame = (_PyInterpreterFrame *)tstate->datastack_top;
  424|    976|    tstate->datastack_top += code->co_framesize;
  425|    976|    assert(tstate->datastack_top < tstate->datastack_limit);
  ------------------
  |  Branch (425:5): [True: 976, False: 0]
  ------------------
  426|    976|    frame->previous = previous;
  427|    976|    frame->f_funcobj = PyStackRef_None;
  ------------------
  |  |  485|    976|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|    976|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  428|    976|    frame->f_executable = PyStackRef_FromPyObjectNew(code);
  ------------------
  |  |  611|    976|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    976|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    976|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|       |#ifdef Py_DEBUG
  430|       |    frame->f_builtins = NULL;
  431|       |    frame->f_globals = NULL;
  432|       |#endif
  433|    976|    frame->f_locals = NULL;
  434|    976|    assert(stackdepth <= code->co_stacksize);
  ------------------
  |  Branch (434:5): [True: 976, False: 0]
  ------------------
  435|    976|    frame->stackpointer = frame->localsplus + code->co_nlocalsplus + stackdepth;
  436|    976|    frame->frame_obj = NULL;
  437|       |#ifdef Py_GIL_DISABLED
  438|       |    _PyFrame_InitializeTLBC(tstate, frame, code);
  439|       |#else
  440|    976|    frame->instr_ptr = _PyCode_CODE(code);
  ------------------
  |  |   16|    976|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|    976|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  441|    976|#endif
  442|    976|    frame->owner = FRAME_OWNED_BY_THREAD;
  443|    976|    frame->visited = 0;
  444|       |#ifdef Py_DEBUG
  445|       |    frame->stackpointer_valid = 1;
  446|       |    frame->lltrace = 0;
  447|       |#endif
  448|    976|    frame->return_offset = 0;
  449|    976|    return frame;
  450|    976|}
ceval.c:_PyFrame_GetBytecode:
   60|  7.56M|{
   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|  7.56M|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  7.56M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  7.56M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|  7.56M|#endif
   69|  7.56M|}
ceval.c:_PyFrame_StackPush:
  118|  37.9k|static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, _PyStackRef value) {
  119|  37.9k|    *f->stackpointer = value;
  120|  37.9k|    f->stackpointer++;
  121|  37.9k|}
ceval.c:_PyFrame_Stackbase:
  102|  5.33M|static inline _PyStackRef *_PyFrame_Stackbase(_PyInterpreterFrame *f) {
  103|  5.33M|    return (f->localsplus + _PyFrame_GetCode(f)->co_nlocalsplus);
  104|  5.33M|}
ceval.c:_PyFrame_IsIncomplete:
  294|   308k|{
  295|   308k|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (295:9): [True: 235k, False: 73.0k]
  ------------------
  296|   235k|        return true;
  297|   235k|    }
  298|  73.0k|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (298:12): [True: 73.0k, False: 0]
  ------------------
  299|  73.0k|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (299:12): [True: 0, False: 73.0k]
  ------------------
  300|  73.0k|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  301|   308k|}
ceval.c:_PyFrame_Copy:
  135|    933|{
  136|    933|    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|    933|    dest->previous = NULL;
  140|    933|    dest->f_funcobj = PyStackRef_MakeHeapSafe(src->f_funcobj);
  141|    933|    dest->f_globals = src->f_globals;
  142|    933|    dest->f_builtins = src->f_builtins;
  143|    933|    dest->f_locals = src->f_locals;
  144|    933|    dest->frame_obj = src->frame_obj;
  145|    933|    dest->instr_ptr = src->instr_ptr;
  146|       |#ifdef Py_GIL_DISABLED
  147|       |    dest->tlbc_index = src->tlbc_index;
  148|       |#endif
  149|    933|    assert(src->stackpointer != NULL);
  ------------------
  |  Branch (149:5): [True: 933, False: 0]
  ------------------
  150|    933|    int stacktop = (int)(src->stackpointer - src->localsplus);
  151|    933|    assert(stacktop >= 0);
  ------------------
  |  Branch (151:5): [True: 933, False: 0]
  ------------------
  152|    933|    dest->stackpointer = dest->localsplus + stacktop;
  153|       |    // visited is GC bookkeeping for the current stack walk, not frame state.
  154|    933|    dest->visited = 0;
  155|       |#ifdef Py_DEBUG
  156|       |    dest->stackpointer_valid =  src->stackpointer_valid;
  157|       |    dest->lltrace = src->lltrace;
  158|       |#endif
  159|  4.55k|    for (int i = 0; i < stacktop; i++) {
  ------------------
  |  Branch (159:21): [True: 3.61k, False: 933]
  ------------------
  160|  3.61k|        dest->localsplus[i] = PyStackRef_MakeHeapSafe(src->localsplus[i]);
  161|  3.61k|    }
  162|    933|}
ceval.c:_PyFrame_GetFrameObject:
  345|  36.2k|{
  346|       |
  347|  36.2k|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (347:5): [True: 36.2k, False: 0]
  ------------------
  348|  36.2k|    PyFrameObject *res = (PyFrameObject*)FT_ATOMIC_LOAD_PTR_ACQUIRE(frame->frame_obj);
  ------------------
  |  |  152|  36.2k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  349|  36.2k|    if (res != NULL) {
  ------------------
  |  Branch (349:9): [True: 18.6k, False: 17.5k]
  ------------------
  350|  18.6k|        return res;
  351|  18.6k|    }
  352|  17.5k|    return _PyFrame_MakeAndSetFrameObject(frame);
  353|  36.2k|}
ceval.c:_PyFrame_StackPop:
  112|  99.5k|static inline _PyStackRef _PyFrame_StackPop(_PyInterpreterFrame *f) {
  113|  99.5k|    assert(f->stackpointer > _PyFrame_Stackbase(f));
  ------------------
  |  Branch (113:5): [True: 99.5k, False: 0]
  ------------------
  114|  99.5k|    f->stackpointer--;
  115|  99.5k|    return *f->stackpointer;
  116|  99.5k|}
ceval.c:_PyFrame_Initialize:
  192|  5.16M|{
  193|  5.16M|    frame->previous = previous;
  194|  5.16M|    frame->f_funcobj = func;
  195|  5.16M|    frame->f_executable = PyStackRef_FromPyObjectNew(code);
  ------------------
  |  |  611|  5.16M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  196|  5.16M|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
  197|  5.16M|    frame->f_builtins = func_obj->func_builtins;
  198|  5.16M|    frame->f_globals = func_obj->func_globals;
  199|  5.16M|    frame->f_locals = locals;
  200|  5.16M|    frame->stackpointer = frame->localsplus + code->co_nlocalsplus;
  201|  5.16M|    frame->frame_obj = NULL;
  202|       |#ifdef Py_GIL_DISABLED
  203|       |    _PyFrame_InitializeTLBC(tstate, frame, code);
  204|       |#else
  205|  5.16M|    (void)tstate;
  206|  5.16M|    frame->instr_ptr = _PyCode_CODE(code);
  ------------------
  |  |   16|  5.16M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  5.16M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  207|  5.16M|#endif
  208|  5.16M|    frame->return_offset = 0;
  209|  5.16M|    frame->owner = FRAME_OWNED_BY_THREAD;
  210|  5.16M|    frame->visited = 0;
  211|       |#ifdef Py_DEBUG
  212|       |    frame->stackpointer_valid = 1;
  213|       |    frame->lltrace = 0;
  214|       |#endif
  215|       |
  216|  14.1M|    for (int i = null_locals_from; i < code->co_nlocalsplus; i++) {
  ------------------
  |  Branch (216:36): [True: 8.99M, False: 5.16M]
  ------------------
  217|  8.99M|        frame->localsplus[i] = PyStackRef_NULL;
  218|  8.99M|    }
  219|  5.16M|}
ceval.c:_PyThreadState_GetFrame:
  314|  45.1k|{
  315|  45.1k|    return _PyFrame_GetFirstComplete(tstate->current_frame);
  316|  45.1k|}
ceval.c:_PyFrame_GetFirstComplete:
  305|  45.1k|{
  306|  89.6k|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (306:12): [True: 45.1k, False: 44.5k]
  |  Branch (306:21): [True: 44.5k, False: 624]
  ------------------
  307|  44.5k|        frame = frame->previous;
  308|  44.5k|    }
  309|  45.1k|    return frame;
  310|  45.1k|}
frame.c:_PyFrame_GetCode:
   21|  44.2k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|  44.2k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 44.2k, False: 0]
  ------------------
   23|  44.2k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|  44.2k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 44.2k, False: 0]
  ------------------
   25|  44.2k|    return (PyCodeObject *)executable;
   26|  44.2k|}
frame.c:_PyFrame_Copy:
  135|  3.58k|{
  136|  3.58k|    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|  3.58k|    dest->previous = NULL;
  140|  3.58k|    dest->f_funcobj = PyStackRef_MakeHeapSafe(src->f_funcobj);
  141|  3.58k|    dest->f_globals = src->f_globals;
  142|  3.58k|    dest->f_builtins = src->f_builtins;
  143|  3.58k|    dest->f_locals = src->f_locals;
  144|  3.58k|    dest->frame_obj = src->frame_obj;
  145|  3.58k|    dest->instr_ptr = src->instr_ptr;
  146|       |#ifdef Py_GIL_DISABLED
  147|       |    dest->tlbc_index = src->tlbc_index;
  148|       |#endif
  149|  3.58k|    assert(src->stackpointer != NULL);
  ------------------
  |  Branch (149:5): [True: 3.58k, False: 0]
  ------------------
  150|  3.58k|    int stacktop = (int)(src->stackpointer - src->localsplus);
  151|  3.58k|    assert(stacktop >= 0);
  ------------------
  |  Branch (151:5): [True: 3.58k, False: 0]
  ------------------
  152|  3.58k|    dest->stackpointer = dest->localsplus + stacktop;
  153|       |    // visited is GC bookkeeping for the current stack walk, not frame state.
  154|  3.58k|    dest->visited = 0;
  155|       |#ifdef Py_DEBUG
  156|       |    dest->stackpointer_valid =  src->stackpointer_valid;
  157|       |    dest->lltrace = src->lltrace;
  158|       |#endif
  159|  30.0k|    for (int i = 0; i < stacktop; i++) {
  ------------------
  |  Branch (159:21): [True: 26.4k, False: 3.58k]
  ------------------
  160|  26.4k|        dest->localsplus[i] = PyStackRef_MakeHeapSafe(src->localsplus[i]);
  161|  26.4k|    }
  162|  3.58k|}
frame.c:_PyFrame_IsIncomplete:
  294|  14.8k|{
  295|  14.8k|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (295:9): [True: 2.66k, False: 12.1k]
  ------------------
  296|  2.66k|        return true;
  297|  2.66k|    }
  298|  12.1k|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (298:12): [True: 12.1k, False: 0]
  ------------------
  299|  12.1k|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (299:12): [True: 0, False: 12.1k]
  ------------------
  300|  12.1k|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  301|  14.8k|}
frame.c:_PyFrame_GetFirstComplete:
  305|  3.58k|{
  306|  6.25k|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (306:12): [True: 5.15k, False: 1.09k]
  |  Branch (306:21): [True: 2.66k, False: 2.49k]
  ------------------
  307|  2.66k|        frame = frame->previous;
  308|  2.66k|    }
  309|  3.58k|    return frame;
  310|  3.58k|}
frame.c:_PyFrame_GetFrameObject:
  345|  2.49k|{
  346|       |
  347|  2.49k|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (347:5): [True: 2.49k, False: 0]
  ------------------
  348|  2.49k|    PyFrameObject *res = (PyFrameObject*)FT_ATOMIC_LOAD_PTR_ACQUIRE(frame->frame_obj);
  ------------------
  |  |  152|  2.49k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  349|  2.49k|    if (res != NULL) {
  ------------------
  |  Branch (349:9): [True: 161, False: 2.33k]
  ------------------
  350|    161|        return res;
  351|    161|    }
  352|  2.33k|    return _PyFrame_MakeAndSetFrameObject(frame);
  353|  2.49k|}
frame.c:_PyFrame_GetBytecode:
   60|  12.1k|{
   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|  12.1k|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  12.1k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  12.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|  12.1k|#endif
   69|  12.1k|}
gc.c:_PyFrame_GetLocalsArray:
  226|     18|{
  227|     18|    return frame->localsplus;
  228|     18|}
pystate.c:_PyThreadState_HasStackSpace:
  384|   197k|{
  385|   197k|    assert(
  ------------------
  |  Branch (385:5): [True: 2, False: 197k]
  |  Branch (385:5): [True: 2, False: 0]
  |  Branch (385:5): [True: 197k, False: 0]
  |  Branch (385:5): [True: 197k, False: 0]
  ------------------
  386|   197k|        (tstate->datastack_top == NULL && tstate->datastack_limit == NULL)
  387|   197k|        ||
  388|   197k|        (tstate->datastack_top != NULL && tstate->datastack_limit != NULL)
  389|   197k|    );
  390|   197k|    return tstate->datastack_top != NULL &&
  ------------------
  |  Branch (390:12): [True: 197k, False: 2]
  ------------------
  391|   197k|        size < tstate->datastack_limit - tstate->datastack_top;
  ------------------
  |  Branch (391:9): [True: 197k, False: 0]
  ------------------
  392|   197k|}
sysmodule.c:_PyFrame_IsIncomplete:
  294|      6|{
  295|      6|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (295:9): [True: 0, False: 6]
  ------------------
  296|      0|        return true;
  297|      0|    }
  298|      6|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (298:12): [True: 6, False: 0]
  ------------------
  299|      6|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (299:12): [True: 0, False: 6]
  ------------------
  300|      6|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  301|      6|}
sysmodule.c:_PyFrame_GetBytecode:
   60|      6|{
   61|       |#ifdef Py_GIL_DISABLED
   62|       |    PyCodeObject *co = _PyFrame_GetCode(f);
   63|       |    _PyCodeArray *tlbc = _PyCode_GetTLBCArray(co);
   64|       |    assert(f->tlbc_index >= 0 && f->tlbc_index < tlbc->size);
   65|       |    return (_Py_CODEUNIT *)tlbc->entries[f->tlbc_index];
   66|       |#else
   67|      6|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|      6|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|      6|#endif
   69|      6|}
sysmodule.c:_PyFrame_GetCode:
   21|     12|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|     12|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 12, False: 0]
  ------------------
   23|     12|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|     12|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 12, False: 0]
  ------------------
   25|     12|    return (PyCodeObject *)executable;
   26|     12|}
sysmodule.c:_PyFrame_GetFrameObject:
  345|      2|{
  346|       |
  347|      2|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (347:5): [True: 2, False: 0]
  ------------------
  348|      2|    PyFrameObject *res = (PyFrameObject*)FT_ATOMIC_LOAD_PTR_ACQUIRE(frame->frame_obj);
  ------------------
  |  |  152|      2|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  349|      2|    if (res != NULL) {
  ------------------
  |  Branch (349:9): [True: 0, False: 2]
  ------------------
  350|      0|        return res;
  351|      0|    }
  352|      2|    return _PyFrame_MakeAndSetFrameObject(frame);
  353|      2|}
traceback.c:_PyFrame_GetCode:
   21|  36.2k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|  36.2k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 36.2k, False: 0]
  ------------------
   23|  36.2k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|  36.2k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 36.2k, False: 0]
  ------------------
   25|  36.2k|    return (PyCodeObject *)executable;
   26|  36.2k|}
traceback.c:_PyFrame_GetBytecode:
   60|  36.2k|{
   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.2k|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  36.2k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  36.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|  36.2k|#endif
   69|  36.2k|}
genobject.c:_PyFrame_StackPush:
  118|  62.5k|static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, _PyStackRef value) {
  119|  62.5k|    *f->stackpointer = value;
  120|  62.5k|    f->stackpointer++;
  121|  62.5k|}
genobject.c:_PyFrame_NumSlotsForCodeObject:
  127|    933|{
  128|       |    /* This function needs to remain in sync with the calculation of
  129|       |     * co_framesize in Tools/build/deepfreeze.py */
  130|    933|    assert(code->co_framesize >= FRAME_SPECIALS_SIZE);
  ------------------
  |  Branch (130:5): [True: 933, False: 0]
  ------------------
  131|    933|    return code->co_framesize - FRAME_SPECIALS_SIZE;
  ------------------
  |  |  123|    933|#define FRAME_SPECIALS_SIZE ((int)((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *)))
  ------------------
  132|    933|}
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|  3.58k|{
  227|  3.58k|    return frame->localsplus;
  228|  3.58k|}
frameobject.c:_PyFrame_IsIncomplete:
  294|    472|{
  295|    472|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (295:9): [True: 0, False: 472]
  ------------------
  296|      0|        return true;
  297|      0|    }
  298|    472|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (298:12): [True: 472, False: 0]
  ------------------
  299|    472|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (299:12): [True: 0, False: 472]
  ------------------
  300|    472|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  301|    472|}
frameobject.c:_PyFrame_GetCode:
   21|  1.44k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|  1.44k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 1.44k, False: 0]
  ------------------
   23|  1.44k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|  1.44k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 1.44k, False: 0]
  ------------------
   25|  1.44k|    return (PyCodeObject *)executable;
   26|  1.44k|}
frameobject.c:_PyFrame_GetBytecode:
   60|    472|{
   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|    472|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|    472|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|    472|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|    472|#endif
   69|    472|}
lazyimportobject.c:_PyFrame_GetCode:
   21|     30|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   22|     30|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (22:5): [True: 30, False: 0]
  ------------------
   23|     30|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   24|     30|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (24:5): [True: 30, False: 0]
  ------------------
   25|     30|    return (PyCodeObject *)executable;
   26|     30|}
lazyimportobject.c:_PyFrame_GetBytecode:
   60|     15|{
   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|     15|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|     15|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|     15|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   68|     15|#endif
   69|     15|}

listobject.c:_PyList_AppendTakeRef:
   38|  3.49M|{
   39|  3.49M|    assert(self != NULL && newitem != NULL);
  ------------------
  |  Branch (39:5): [True: 3.49M, False: 0]
  |  Branch (39:5): [True: 3.49M, False: 0]
  ------------------
   40|  3.49M|    assert(PyList_Check(self));
  ------------------
  |  Branch (40:5): [True: 3.49M, False: 0]
  ------------------
   41|  3.49M|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|  3.49M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|  3.49M|    Py_ssize_t allocated = self->allocated;
   43|  3.49M|    assert((size_t)len + 1 < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (43:5): [True: 3.49M, False: 0]
  ------------------
   44|  3.49M|    if (allocated > len) {
  ------------------
  |  Branch (44:9): [True: 3.21M, False: 277k]
  ------------------
   45|       |#ifdef Py_GIL_DISABLED
   46|       |        _Py_atomic_store_ptr_release(&self->ob_item[len], newitem);
   47|       |#else
   48|  3.21M|        PyList_SET_ITEM(self, len, newitem);
  ------------------
  |  |   50|  3.21M|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  3.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  3.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|  3.21M|#endif
   50|  3.21M|        Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|  3.21M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  3.21M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|  3.21M|        return 0;
   52|  3.21M|    }
   53|   277k|    return _PyList_AppendTakeRefListResize(self, newitem);
   54|  3.49M|}
tupleobject.c:_Py_memory_repeat:
   59|  25.2k|{
   60|  25.2k|    assert(len_src > 0);
  ------------------
  |  Branch (60:5): [True: 25.2k, False: 0]
  ------------------
   61|  25.2k|    Py_ssize_t copied = len_src;
   62|   196k|    while (copied < len_dest) {
  ------------------
  |  Branch (62:12): [True: 171k, False: 25.2k]
  ------------------
   63|   171k|        Py_ssize_t bytes_to_copy = Py_MIN(copied, len_dest - copied);
  ------------------
  |  |  127|   171k|       __extension__ \
  |  |  128|   171k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|   171k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|   171k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|   171k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|   171k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 146k, False: 25.2k]
  |  |  ------------------
  ------------------
   64|   171k|        memcpy(dest + copied, dest, (size_t)bytes_to_copy);
   65|   171k|        copied += bytes_to_copy;
   66|   171k|    }
   67|  25.2k|}
ceval.c:_PyList_AppendTakeRef:
   38|   942k|{
   39|   942k|    assert(self != NULL && newitem != NULL);
  ------------------
  |  Branch (39:5): [True: 942k, False: 0]
  |  Branch (39:5): [True: 942k, False: 0]
  ------------------
   40|   942k|    assert(PyList_Check(self));
  ------------------
  |  Branch (40:5): [True: 942k, False: 0]
  ------------------
   41|   942k|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|   942k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   942k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   942k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|   942k|    Py_ssize_t allocated = self->allocated;
   43|   942k|    assert((size_t)len + 1 < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (43:5): [True: 942k, False: 0]
  ------------------
   44|   942k|    if (allocated > len) {
  ------------------
  |  Branch (44:9): [True: 615k, False: 326k]
  ------------------
   45|       |#ifdef Py_GIL_DISABLED
   46|       |        _Py_atomic_store_ptr_release(&self->ob_item[len], newitem);
   47|       |#else
   48|   615k|        PyList_SET_ITEM(self, len, newitem);
  ------------------
  |  |   50|   615k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   615k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   615k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   615k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   615k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|   615k|#endif
   50|   615k|        Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|   615k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   615k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   615k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|   615k|        return 0;
   52|   615k|    }
   53|   326k|    return _PyList_AppendTakeRefListResize(self, newitem);
   54|   942k|}
abstract.c:_PyList_AppendTakeRef:
   38|  4.85k|{
   39|  4.85k|    assert(self != NULL && newitem != NULL);
  ------------------
  |  Branch (39:5): [True: 4.85k, False: 0]
  |  Branch (39:5): [True: 4.85k, False: 0]
  ------------------
   40|  4.85k|    assert(PyList_Check(self));
  ------------------
  |  Branch (40:5): [True: 4.85k, False: 0]
  ------------------
   41|  4.85k|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|  4.85k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|  4.85k|    Py_ssize_t allocated = self->allocated;
   43|  4.85k|    assert((size_t)len + 1 < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (43:5): [True: 4.85k, False: 0]
  ------------------
   44|  4.85k|    if (allocated > len) {
  ------------------
  |  Branch (44:9): [True: 4.70k, False: 151]
  ------------------
   45|       |#ifdef Py_GIL_DISABLED
   46|       |        _Py_atomic_store_ptr_release(&self->ob_item[len], newitem);
   47|       |#else
   48|  4.70k|        PyList_SET_ITEM(self, len, newitem);
  ------------------
  |  |   50|  4.70k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  4.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  4.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|  4.70k|#endif
   50|  4.70k|        Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|  4.70k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  4.70k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|  4.70k|        return 0;
   52|  4.70k|    }
   53|    151|    return _PyList_AppendTakeRefListResize(self, newitem);
   54|  4.85k|}
bytesobject.c:_PyList_AppendTakeRef:
   38|   200k|{
   39|   200k|    assert(self != NULL && newitem != NULL);
  ------------------
  |  Branch (39:5): [True: 200k, False: 0]
  |  Branch (39:5): [True: 200k, False: 0]
  ------------------
   40|   200k|    assert(PyList_Check(self));
  ------------------
  |  Branch (40:5): [True: 200k, False: 0]
  ------------------
   41|   200k|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|   200k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   200k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   200k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|   200k|    Py_ssize_t allocated = self->allocated;
   43|   200k|    assert((size_t)len + 1 < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (43:5): [True: 200k, False: 0]
  ------------------
   44|   200k|    if (allocated > len) {
  ------------------
  |  Branch (44:9): [True: 196k, False: 3.77k]
  ------------------
   45|       |#ifdef Py_GIL_DISABLED
   46|       |        _Py_atomic_store_ptr_release(&self->ob_item[len], newitem);
   47|       |#else
   48|   196k|        PyList_SET_ITEM(self, len, newitem);
  ------------------
  |  |   50|   196k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   196k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   196k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   196k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   196k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|   196k|#endif
   50|   196k|        Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|   196k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   196k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   196k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|   196k|        return 0;
   52|   196k|    }
   53|  3.77k|    return _PyList_AppendTakeRefListResize(self, newitem);
   54|   200k|}

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

longobject.c:_PyLong_InitTag:
  292|  1.26M|{
  293|  1.26M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (293:5): [True: 1.26M, False: 0]
  ------------------
  294|  1.26M|    op->long_value.lv_tag = SIGN_ZERO; /* non-immortal zero */
  ------------------
  |  |  173|  1.26M|#define SIGN_ZERO 1
  ------------------
  295|  1.26M|}
longobject.c:_PyLong_GetZero:
   73|  95.5k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|  95.5k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  95.5k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  95.5k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|  95.5k|#define _PY_NSMALLNEGINTS           5
  ------------------
longobject.c:_PyLong_SetSignAndDigitCount:
  302|  6.97M|{
  303|  6.97M|    assert(size >= 0);
  ------------------
  |  Branch (303:5): [True: 6.97M, False: 0]
  ------------------
  304|  6.97M|    assert(-1 <= sign && sign <= 1);
  ------------------
  |  Branch (304:5): [True: 6.97M, False: 0]
  |  Branch (304:5): [True: 6.97M, False: 0]
  ------------------
  305|  6.97M|    assert(sign != 0 || size == 0);
  ------------------
  |  Branch (305:5): [True: 6.95M, False: 22.7k]
  |  Branch (305:5): [True: 22.7k, False: 0]
  ------------------
  306|  6.97M|    assert(!_PyLong_IsSmallInt(op));
  ------------------
  |  Branch (306:5): [True: 6.97M, False: 0]
  ------------------
  307|  6.97M|    op->long_value.lv_tag = TAG_FROM_SIGN_AND_SIZE(sign, size);
  ------------------
  |  |  298|  6.97M|    ((uintptr_t)(1 - (sign)) | ((uintptr_t)(size) << NON_SIZE_BITS))
  |  |  ------------------
  |  |  |  |  175|  6.97M|#define NON_SIZE_BITS 3
  |  |  ------------------
  ------------------
  308|  6.97M|}
longobject.c:_PyLong_CompactSign:
  268|   249k|{
  269|   249k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (269:5): [True: 249k, False: 0]
  ------------------
  270|   249k|    assert(_PyLong_IsCompact((PyLongObject *)op));
  ------------------
  |  Branch (270:5): [True: 249k, False: 0]
  ------------------
  271|   249k|    return 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|   249k|#define SIGN_MASK 3
  ------------------
  272|   249k|}
longobject.c:_PyLong_NonCompactSign:
  276|  15.2M|{
  277|  15.2M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (277:5): [True: 15.2M, False: 0]
  ------------------
  278|  15.2M|    assert(!_PyLong_IsCompact((PyLongObject *)op));
  ------------------
  |  Branch (278:5): [True: 15.2M, False: 0]
  ------------------
  279|  15.2M|    return 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  15.2M|#define SIGN_MASK 3
  ------------------
  280|  15.2M|}
longobject.c:_PyLong_DigitCount:
  252|  24.0M|{
  253|  24.0M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (253:5): [True: 24.0M, False: 0]
  ------------------
  254|  24.0M|    return (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  24.0M|#define NON_SIZE_BITS 3
  ------------------
  255|  24.0M|}
longobject.c:_PyLong_FlipSign:
  322|  69.8k|{
  323|  69.8k|    assert(!_PyLong_IsSmallInt(op));
  ------------------
  |  Branch (323:5): [True: 69.8k, False: 0]
  ------------------
  324|  69.8k|    unsigned int flipped_sign = 2 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  69.8k|#define SIGN_MASK 3
  ------------------
  325|  69.8k|    op->long_value.lv_tag &= NON_SIZE_MASK;
  ------------------
  |  |  318|  69.8k|#define NON_SIZE_MASK ~(uintptr_t)((1 << NON_SIZE_BITS) - 1)
  |  |  ------------------
  |  |  |  |  175|  69.8k|#define NON_SIZE_BITS 3
  |  |  ------------------
  ------------------
  326|  69.8k|    op->long_value.lv_tag |= flipped_sign;
  327|  69.8k|}
longobject.c:_PyLong_IsNonNegativeCompact:
  205|  60.5k|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|  60.5k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 60.5k, False: 0]
  ------------------
  207|  60.5k|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|  60.5k|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|  60.5k|#define NON_SIZE_BITS 3
  ------------------
  208|  60.5k|}
longobject.c:_PyLong_IsNegative:
  225|  1.02M|{
  226|  1.02M|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|  1.02M|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|  1.02M|#define SIGN_NEGATIVE 2
  ------------------
  227|  1.02M|}
longobject.c:_PyLong_IsPositive:
  231|   120k|{
  232|   120k|    return (op->long_value.lv_tag & SIGN_MASK) == 0;
  ------------------
  |  |  172|   120k|#define SIGN_MASK 3
  ------------------
  233|   120k|}
longobject.c:_PyLong_IsZero:
  219|  70.8k|{
  220|  70.8k|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|  70.8k|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|  70.8k|#define SIGN_ZERO 1
  ------------------
  221|  70.8k|}
longobject.c:_PyLong_SetDigitCount:
  312|   116k|{
  313|   116k|    assert(size >= 0);
  ------------------
  |  Branch (313:5): [True: 116k, False: 0]
  ------------------
  314|   116k|    assert(!_PyLong_IsSmallInt(op));
  ------------------
  |  Branch (314:5): [True: 116k, False: 0]
  ------------------
  315|   116k|    op->long_value.lv_tag = (((size_t)size) << NON_SIZE_BITS) | (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  175|   116k|#define NON_SIZE_BITS 3
  ------------------
                  op->long_value.lv_tag = (((size_t)size) << NON_SIZE_BITS) | (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|   116k|#define SIGN_MASK 3
  ------------------
  316|   116k|}
longobject.c:_PyLong_IsSmallInt:
  238|  13.7M|{
  239|  13.7M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (239:5): [True: 13.7M, False: 0]
  ------------------
  240|  13.7M|    bool is_small_int = (op->long_value.lv_tag & IMMORTALITY_BIT_MASK) != 0;
  ------------------
  |  |  176|  13.7M|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
  241|  13.7M|    if (is_small_int) {
  ------------------
  |  Branch (241:9): [True: 0, False: 13.7M]
  ------------------
  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|  13.7M|    return is_small_int;
  248|  13.7M|}
longobject.c:_PyLong_BothAreCompact:
  212|  13.2M|_PyLong_BothAreCompact(const PyLongObject* a, const PyLongObject* b) {
  213|  13.2M|    assert(PyLong_Check(a));
  ------------------
  |  Branch (213:5): [True: 13.2M, False: 0]
  ------------------
  214|  13.2M|    assert(PyLong_Check(b));
  ------------------
  |  Branch (214:5): [True: 13.2M, False: 0]
  ------------------
  215|  13.2M|    return (a->long_value.lv_tag | b->long_value.lv_tag) < (2 << NON_SIZE_BITS);
  ------------------
  |  |  175|  13.2M|#define NON_SIZE_BITS 3
  ------------------
  216|  13.2M|}
longobject.c:_PyLong_SignedDigitCount:
  260|   856k|{
  261|   856k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (261:5): [True: 856k, False: 0]
  ------------------
  262|   856k|    Py_ssize_t sign = 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|   856k|#define SIGN_MASK 3
  ------------------
  263|   856k|    return sign * (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|   856k|#define NON_SIZE_BITS 3
  ------------------
  264|   856k|}
longobject.c:_PyLong_SameSign:
  285|  1.56M|{
  286|  1.56M|    return (a->long_value.lv_tag & SIGN_MASK) == (b->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  1.56M|#define SIGN_MASK 3
  ------------------
                  return (a->long_value.lv_tag & SIGN_MASK) == (b->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  1.56M|#define SIGN_MASK 3
  ------------------
  287|  1.56M|}
longobject.c:_PyLong_GetOne:
   78|  11.7k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|  11.7k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  11.7k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  11.7k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|  11.7k|#define _PY_NSMALLNEGINTS           5
  ------------------
object.c:_PyLong_GetZero:
   73|      2|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|      2|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|      2|#define _PY_NSMALLNEGINTS           5
  ------------------
object.c:_PyLong_GetOne:
   78|      2|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|      2|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|      2|#define _PY_NSMALLNEGINTS           5
  ------------------
rangeobject.c:_PyLong_GetZero:
   73|    610|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|    610|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|    610|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    610|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|    610|#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|     85|{
  232|     85|    return (op->long_value.lv_tag & SIGN_MASK) == 0;
  ------------------
  |  |  172|     85|#define SIGN_MASK 3
  ------------------
  233|     85|}
rangeobject.c:_PyLong_IsZero:
  219|      9|{
  220|      9|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|      9|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|      9|#define SIGN_ZERO 1
  ------------------
  221|      9|}
typeobject.c:_PyLong_IsNegative:
  225|    145|{
  226|    145|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|    145|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|    145|#define SIGN_NEGATIVE 2
  ------------------
  227|    145|}
_warnings.c:_PyLong_GetZero:
   73|     10|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|     10|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|     10|#define _PY_NSMALLNEGINTS           5
  ------------------
ceval.c:_PyLong_CheckExactAndCompact:
  345|  47.2M|{
  346|  47.2M|    return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op);
  ------------------
  |  |   14|  47.2M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  94.4M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  47.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  47.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 47.2M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (346:37): [True: 47.2M, False: 4.18k]
  ------------------
  347|  47.2M|}
ceval.c:_PyLong_BothAreCompact:
  212|  11.8M|_PyLong_BothAreCompact(const PyLongObject* a, const PyLongObject* b) {
  213|  11.8M|    assert(PyLong_Check(a));
  ------------------
  |  Branch (213:5): [True: 11.8M, False: 0]
  ------------------
  214|  11.8M|    assert(PyLong_Check(b));
  ------------------
  |  Branch (214:5): [True: 11.8M, False: 0]
  ------------------
  215|  11.8M|    return (a->long_value.lv_tag | b->long_value.lv_tag) < (2 << NON_SIZE_BITS);
  ------------------
  |  |  175|  11.8M|#define NON_SIZE_BITS 3
  ------------------
  216|  11.8M|}
ceval.c:_PyLong_IsNonNegativeCompact:
  205|  2.76M|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|  2.76M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 2.76M, False: 0]
  ------------------
  207|  2.76M|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|  2.76M|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|  2.76M|#define NON_SIZE_BITS 3
  ------------------
  208|  2.76M|}
ceval.c:_PyLong_DigitCount:
  252|  20.7M|{
  253|  20.7M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (253:5): [True: 20.7M, False: 0]
  ------------------
  254|  20.7M|    return (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  20.7M|#define NON_SIZE_BITS 3
  ------------------
  255|  20.7M|}
ceval.c:_PyLong_IsZero:
  219|  51.4k|{
  220|  51.4k|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|  51.4k|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|  51.4k|#define SIGN_ZERO 1
  ------------------
  221|  51.4k|}
codegen.c:_PyLong_GetOne:
   78|  9.96k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|  9.96k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  9.96k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  9.96k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|  9.96k|#define _PY_NSMALLNEGINTS           5
  ------------------
codegen.c:_PyLong_GetZero:
   73|  1.47k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|  1.47k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  1.47k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.47k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|  1.47k|#define _PY_NSMALLNEGINTS           5
  ------------------
flowgraph.c:_PyLong_IsZero:
  219|  91.8k|{
  220|  91.8k|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|  91.8k|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|  91.8k|#define SIGN_ZERO 1
  ------------------
  221|  91.8k|}
flowgraph.c:_PyLong_IsPositive:
  231|  44.2k|{
  232|  44.2k|    return (op->long_value.lv_tag & SIGN_MASK) == 0;
  ------------------
  |  |  172|  44.2k|#define SIGN_MASK 3
  ------------------
  233|  44.2k|}
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|   100k|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|   100k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 100k, False: 0]
  ------------------
  207|   100k|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|   100k|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|   100k|#define NON_SIZE_BITS 3
  ------------------
  208|   100k|}
specialize.c:_PyLong_CheckExactAndCompact:
  345|    875|{
  346|    875|    return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op);
  ------------------
  |  |   14|    875|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  1.75k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    875|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    875|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 862, False: 13]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (346:37): [True: 520, False: 342]
  ------------------
  347|    875|}
textio.c:_PyLong_GetZero:
   73|      6|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|      6|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|      6|#define _PY_NSMALLNEGINTS           5
  ------------------
abstract.c:_PyLong_IsNegative:
  225|    841|{
  226|    841|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|    841|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|    841|#define SIGN_NEGATIVE 2
  ------------------
  227|    841|}
bytesobject.c:_PyLong_FromUnsignedChar:
   81|   609k|{
   82|   609k|    return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+i];
  ------------------
  |  |   59|   609k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|   609k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   609k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+i];
  ------------------
  |  |   98|   609k|#define _PY_NSMALLNEGINTS           5
  ------------------
   83|   609k|}
enumobject.c:_PyLong_GetOne:
   78|  31.2k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|  31.2k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  31.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  31.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|  31.2k|#define _PY_NSMALLNEGINTS           5
  ------------------

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

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

listobject.c:_Py_RefcntAdd:
  132|     82|{
  133|     82|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     82|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 82, False: 0]
  |  |  ------------------
  ------------------
  134|     82|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     82|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  135|     82|        return;
  136|     82|    }
  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|  1.26M|{
  476|  1.26M|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 1.26M, False: 0]
  ------------------
  477|  1.26M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  1.26M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  1.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  1.26M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 1.26M]
  |  Branch (478:5): [True: 1.26M, False: 0]
  ------------------
  479|  1.26M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|  1.26M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  1.26M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|  1.26M|    _Py_NewReference(op);
  481|  1.26M|}
longobject.c:_PyType_HasFeature:
  281|  1.26M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  1.26M|    return ((type->tp_flags) & feature) != 0;
  283|  1.26M|}
longobject.c:_Py_DECREF_SPECIALIZED:
  231|   122k|{
  232|   122k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   122k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   122k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   122k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 149, False: 122k]
  |  |  ------------------
  ------------------
  233|    149|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    149|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  234|    149|        return;
  235|    149|    }
  236|   122k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   122k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  237|       |#ifdef Py_REF_DEBUG
  238|       |    _Py_DEC_REFTOTAL(PyInterpreterState_Get());
  239|       |#endif
  240|   122k|    if (--op->ob_refcnt != 0) {
  ------------------
  |  Branch (240:9): [True: 84, False: 122k]
  ------------------
  241|     84|        assert(op->ob_refcnt > 0);
  ------------------
  |  Branch (241:9): [True: 84, False: 0]
  ------------------
  242|     84|    }
  243|   122k|    else {
  244|       |#ifdef Py_TRACE_REFS
  245|       |        _Py_ForgetReference(op);
  246|       |#endif
  247|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  109|   122k|    do { \
  |  |  110|   122k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|   122k|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 122k]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|   122k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 122k]
  |  |  ------------------
  ------------------
  248|   122k|        destruct(op);
  249|   122k|    }
  250|   122k|}
longobject.c:_PyObject_IsUniquelyReferenced:
  182|  20.8k|{
  183|  20.8k|#if !defined(Py_GIL_DISABLED)
  184|  20.8k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  20.8k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  20.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.8k|#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|  20.8k|}
dictobject.c:_Py_INCREF_MORTAL:
  989|  19.2k|{
  990|  19.2k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (990:5): [True: 19.2k, False: 0]
  ------------------
  991|  19.2k|    op->ob_refcnt++;
  992|  19.2k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  19.2k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  993|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
  994|       |    if (!_Py_IsImmortal(op)) {
  995|       |        _Py_INCREF_IncRefTotal();
  996|       |    }
  997|       |#endif
  998|  19.2k|}
dictobject.c:Py_DECREF_MORTAL:
  442|  5.32k|{
  443|  5.32k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 5.32k, False: 0]
  ------------------
  444|  5.32k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.32k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|  5.32k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 5.32k]
  ------------------
  446|      0|        _Py_Dealloc(op);
  447|      0|    }
  448|  5.32k|}
dictobject.c:_PyObject_HashDictKey:
  826|  11.6M|{
  827|  11.6M|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|  11.6M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  11.6M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7.72M, False: 3.90M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|  7.72M|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  829|  7.72M|        if (hash != -1) {
  ------------------
  |  Branch (829:13): [True: 7.59M, False: 120k]
  ------------------
  830|  7.59M|            return hash;
  831|  7.59M|        }
  832|  7.72M|    }
  833|  4.02M|    return PyObject_Hash(op);
  834|  11.6M|}
dictobject.c:_PyObject_ResurrectStart:
  671|   608k|{
  672|   608k|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (672:5): [True: 608k, 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|   608k|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|   608k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|   608k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   608k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  682|   608k|#endif
  683|       |#ifdef Py_TRACE_REFS
  684|       |    _Py_ResurrectReference(op);
  685|       |#endif
  686|   608k|}
dictobject.c:_PyObject_ResurrectEnd:
  693|   608k|{
  694|       |#ifdef Py_REF_DEBUG
  695|       |    _Py_DecRefTotal(_PyThreadState_GET());
  696|       |#endif
  697|   608k|#ifndef Py_GIL_DISABLED
  698|   608k|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|   608k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|   608k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   608k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|   608k|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|   608k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   608k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   608k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (699:9): [True: 608k, False: 0]
  ------------------
  700|       |# ifdef Py_TRACE_REFS
  701|       |        _Py_ForgetReference(op);
  702|       |# endif
  703|   608k|        return 0;
  704|   608k|    }
  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|   608k|}
dictobject.c:_PyObject_IsUniquelyReferenced:
  182|  1.10k|{
  183|  1.10k|#if !defined(Py_GIL_DISABLED)
  184|  1.10k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  1.10k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.10k|#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.10k|}
dictobject.c:_PyObject_InlineValues:
  934|  3.49M|{
  935|  3.49M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  3.49M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  936|  3.49M|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (936:5): [True: 3.49M, False: 0]
  |  Branch (936:5): [True: 3.49M, False: 0]
  ------------------
  937|  3.49M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (937:5): [True: 3.49M, False: 0]
  ------------------
  938|  3.49M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (938:5): [True: 3.49M, False: 0]
  ------------------
  939|  3.49M|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  940|  3.49M|}
dictobject.c:_PyObject_ManagedDictPointer:
  920|  3.11M|{
  921|  3.11M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (921:5): [True: 3.11M, False: 0]
  ------------------
  922|  3.11M|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  910|  3.11M|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  923|  3.11M|}
dictobject.c:_PyObject_GetManagedDict:
  927|  2.72M|{
  928|  2.72M|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  929|  2.72M|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  152|  2.72M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  930|  2.72M|}
dictobject.c:_PyType_HasFeature:
  281|  2.81k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  2.81k|    return ((type->tp_flags) & feature) != 0;
  283|  2.81k|}
object.c:_PyObject_Init:
  475|   158k|{
  476|   158k|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 158k, False: 0]
  ------------------
  477|   158k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|   158k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|   158k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   158k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|   158k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 158k]
  |  Branch (478:5): [True: 158k, False: 0]
  ------------------
  479|   158k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|   158k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|   158k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   158k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   158k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|   158k|    _Py_NewReference(op);
  481|   158k|}
object.c:_PyObject_InitVar:
  485|  77.8k|{
  486|  77.8k|    assert(op != NULL);
  ------------------
  |  Branch (486:5): [True: 77.8k, False: 0]
  ------------------
  487|  77.8k|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (487:5): [True: 77.8k, False: 0]
  ------------------
  488|  77.8k|    _PyObject_Init((PyObject *)op, typeobj);
  489|  77.8k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  77.8k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  77.8k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  490|  77.8k|}
object.c:_PyObject_ResurrectStart:
  671|  1.13k|{
  672|  1.13k|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (672:5): [True: 1.13k, 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.13k|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  1.13k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  682|  1.13k|#endif
  683|       |#ifdef Py_TRACE_REFS
  684|       |    _Py_ResurrectReference(op);
  685|       |#endif
  686|  1.13k|}
object.c:_PyObject_ResurrectEnd:
  693|  1.13k|{
  694|       |#ifdef Py_REF_DEBUG
  695|       |    _Py_DecRefTotal(_PyThreadState_GET());
  696|       |#endif
  697|  1.13k|#ifndef Py_GIL_DISABLED
  698|  1.13k|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  1.13k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|  1.13k|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  1.13k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (699:9): [True: 1.13k, False: 0]
  ------------------
  700|       |# ifdef Py_TRACE_REFS
  701|       |        _Py_ForgetReference(op);
  702|       |# endif
  703|  1.13k|        return 0;
  704|  1.13k|    }
  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.13k|}
object.c:_PyObject_GetManagedDict:
  927|  43.3k|{
  928|  43.3k|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  929|  43.3k|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  152|  43.3k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  930|  43.3k|}
object.c:_PyObject_ManagedDictPointer:
  920|  44.7k|{
  921|  44.7k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (921:5): [True: 44.7k, False: 0]
  ------------------
  922|  44.7k|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  910|  44.7k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  923|  44.7k|}
object.c:_PyType_HasFeature:
  281|   329k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|   329k|    return ((type->tp_flags) & feature) != 0;
  283|   329k|}
object.c:Py_DECREF_MORTAL:
  442|  1.41M|{
  443|  1.41M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 1.41M, False: 0]
  ------------------
  444|  1.41M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.41M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|  1.41M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 1.41M]
  ------------------
  446|      0|        _Py_Dealloc(op);
  447|      0|    }
  448|  1.41M|}
object.c:_PyObject_IsUniquelyReferenced:
  182|   135k|{
  183|   135k|#if !defined(Py_GIL_DISABLED)
  184|   135k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|   135k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   135k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   135k|#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|   135k|}
setobject.c:_PyObject_IsUniquelyReferenced:
  182|    245|{
  183|    245|#if !defined(Py_GIL_DISABLED)
  184|    245|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    245|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    245|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    245|#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|    245|}
structseq.c:_PyType_HasFeature:
  281|    589|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|    589|    return ((type->tp_flags) & feature) != 0;
  283|    589|}
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|}
tupleobject.c:_Py_RefcntAdd:
  132|  63.6k|{
  133|  63.6k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  63.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.83k, False: 60.8k]
  |  |  ------------------
  ------------------
  134|  2.83k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  2.83k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  135|  2.83k|        return;
  136|  2.83k|    }
  137|  60.8k|#ifndef Py_GIL_DISABLED
  138|  60.8k|    Py_ssize_t refcnt = _Py_REFCNT(op);
  139|  60.8k|    Py_ssize_t new_refcnt = refcnt + n;
  140|  60.8k|    if (new_refcnt >= (Py_ssize_t)_Py_IMMORTAL_MINIMUM_REFCNT) {
  ------------------
  |  |   48|  60.8k|#define _Py_IMMORTAL_MINIMUM_REFCNT (1ULL << 31)
  ------------------
  |  Branch (140:9): [True: 0, False: 60.8k]
  ------------------
  141|      0|        new_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
  ------------------
  |  |   47|      0|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  142|      0|    }
  143|  60.8k|#  if SIZEOF_VOID_P > 4
  144|  60.8k|    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|  60.8k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  60.8k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  175|  60.8k|}
typeobject.c:_Py_TryIncref:
  727|      8|{
  728|       |#ifdef Py_GIL_DISABLED
  729|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  730|       |#else
  731|      8|    if (Py_REFCNT(op) > 0) {
  ------------------
  |  |  119|      8|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (731:9): [True: 8, False: 0]
  ------------------
  732|      8|        Py_INCREF(op);
  ------------------
  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  733|      8|        return 1;
  734|      8|    }
  735|      0|    return 0;
  736|      8|#endif
  737|      8|}
typeobject.c:_PyType_PreHeaderSize:
  838|  1.58M|{
  839|  1.58M|    return (
  840|  1.58M|#ifndef Py_GIL_DISABLED
  841|  1.58M|        (size_t)_PyType_IS_GC(tp) * sizeof(PyGC_Head) +
  842|  1.58M|#endif
  843|  1.58M|        (size_t)_PyType_HasFeature(tp, Py_TPFLAGS_PREHEADER) * 2 * sizeof(PyObject *)
  ------------------
  |  |  487|  1.58M|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  1.58M|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  1.58M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
  844|  1.58M|    );
  845|  1.58M|}
typeobject.c:_PyObject_Init:
  475|  1.58M|{
  476|  1.58M|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 1.58M, False: 0]
  ------------------
  477|  1.58M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  1.58M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  1.58M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  1.58M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 376k, False: 1.20M]
  |  Branch (478:5): [True: 1.20M, False: 0]
  ------------------
  479|  1.58M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|  1.58M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  1.58M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.58M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|  1.58M|    _Py_NewReference(op);
  481|  1.58M|}
typeobject.c:_PyObject_InitVar:
  485|  1.27k|{
  486|  1.27k|    assert(op != NULL);
  ------------------
  |  Branch (486:5): [True: 1.27k, False: 0]
  ------------------
  487|  1.27k|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (487:5): [True: 1.27k, False: 0]
  ------------------
  488|  1.27k|    _PyObject_Init((PyObject *)op, typeobj);
  489|  1.27k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  1.27k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  1.27k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  490|  1.27k|}
typeobject.c:_PyType_HasFeature:
  281|  3.21M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  3.21M|    return ((type->tp_flags) & feature) != 0;
  283|  3.21M|}
typeobject.c:Py_DECREF_MORTAL:
  442|   139k|{
  443|   139k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 139k, False: 0]
  ------------------
  444|   139k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   139k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|   139k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 139k]
  ------------------
  446|      0|        _Py_Dealloc(op);
  447|      0|    }
  448|   139k|}
typeobject.c:_Py_INCREF_MORTAL:
  989|  6.42k|{
  990|  6.42k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (990:5): [True: 6.42k, False: 0]
  ------------------
  991|  6.42k|    op->ob_refcnt++;
  992|  6.42k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  6.42k|#  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|  6.42k|}
typeobject.c:_PyObject_XDecRefDelayed:
  744|    557|{
  745|    557|    Py_XDECREF(obj);
  ------------------
  |  |  621|    557|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    557|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    557|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  746|    557|}
typeobject.c:_PyObject_HashDictKey:
  826|  12.5k|{
  827|  12.5k|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|  12.5k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  12.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 12.5k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|  12.5k|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  829|  12.5k|        if (hash != -1) {
  ------------------
  |  Branch (829:13): [True: 6.27k, False: 6.23k]
  ------------------
  830|  6.27k|            return hash;
  831|  6.27k|        }
  832|  12.5k|    }
  833|  6.23k|    return PyObject_Hash(op);
  834|  12.5k|}
unicodeobject.c:_PyObject_Init:
  475|  9.32M|{
  476|  9.32M|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 9.32M, False: 0]
  ------------------
  477|  9.32M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  9.32M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  9.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  9.32M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 9.32M]
  |  Branch (478:5): [True: 9.32M, False: 0]
  ------------------
  479|  9.32M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|  9.32M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  9.32M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|  9.32M|    _Py_NewReference(op);
  481|  9.32M|}
unicodeobject.c:_PyType_HasFeature:
  281|  9.32M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  9.32M|    return ((type->tp_flags) & feature) != 0;
  283|  9.32M|}
unicodeobject.c:_PyObject_IsUniquelyReferenced:
  182|   234k|{
  183|   234k|#if !defined(Py_GIL_DISABLED)
  184|   234k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|   234k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   234k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   234k|#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|   234k|}
weakrefobject.c:_PyType_SUPPORTS_WEAKREFS:
  856|   378k|static inline int _PyType_SUPPORTS_WEAKREFS(PyTypeObject *type) {
  857|   378k|    return (type->tp_weaklistoffset != 0);
  858|   378k|}
weakrefobject.c:_PyObject_GET_WEAKREFS_LISTPTR:
  784|   379k|{
  785|   379k|    if (PyType_Check(op) &&
  ------------------
  |  |  766|   759k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   379k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   379k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.80k, False: 377k]
  |  |  ------------------
  ------------------
  786|  1.80k|            ((PyTypeObject *)op)->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.80k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (786:13): [True: 590, False: 1.21k]
  ------------------
  787|    590|        PyInterpreterState *interp = _PyInterpreterState_GET();
  788|    590|        managed_static_type_state *state = _PyStaticType_GetState(
  789|    590|                                                interp, (PyTypeObject *)op);
  790|    590|        return _PyStaticType_GET_WEAKREFS_LISTPTR(state);
  791|    590|    }
  792|       |    // Essentially _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET():
  793|   378k|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  213|   378k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   378k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   378k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  794|   378k|    return (PyObject **)((char *)op + offset);
  795|   379k|}
weakrefobject.c:_Py_TryIncref:
  727|  1.76k|{
  728|       |#ifdef Py_GIL_DISABLED
  729|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  730|       |#else
  731|  1.76k|    if (Py_REFCNT(op) > 0) {
  ------------------
  |  |  119|  1.76k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (731:9): [True: 1.76k, False: 0]
  ------------------
  732|  1.76k|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  733|  1.76k|        return 1;
  734|  1.76k|    }
  735|      0|    return 0;
  736|  1.76k|#endif
  737|  1.76k|}
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|  32.7M|{
  443|  32.7M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 32.7M, False: 0]
  ------------------
  444|  32.7M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  32.7M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|  32.7M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 9.64M, False: 23.0M]
  ------------------
  446|  9.64M|        _Py_Dealloc(op);
  447|  9.64M|    }
  448|  32.7M|}
ceval.c:Py_DECREF_MORTAL_SPECIALIZED:
  452|  4.23M|{
  453|  4.23M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (453:5): [True: 4.23M, False: 0]
  ------------------
  454|  4.23M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  4.23M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  455|  4.23M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (455:9): [True: 4.09M, False: 135k]
  ------------------
  456|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  109|  4.09M|    do { \
  |  |  110|  4.09M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|  4.09M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 4.09M]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|  4.09M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 4.09M]
  |  |  ------------------
  ------------------
  457|  4.09M|        destruct(op);
  458|  4.09M|    }
  459|  4.23M|}
ceval.c:_Py_INCREF_MORTAL:
  989|  27.9M|{
  990|  27.9M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (990:5): [True: 27.9M, False: 0]
  ------------------
  991|  27.9M|    op->ob_refcnt++;
  992|  27.9M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  27.9M|#  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|  27.9M|}
ceval.c:_PyObject_InlineValues:
  934|  1.20M|{
  935|  1.20M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  1.20M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.20M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.20M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  936|  1.20M|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (936:5): [True: 1.20M, False: 0]
  |  Branch (936:5): [True: 1.20M, False: 0]
  ------------------
  937|  1.20M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (937:5): [True: 1.20M, False: 0]
  ------------------
  938|  1.20M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (938:5): [True: 1.20M, False: 0]
  ------------------
  939|  1.20M|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  940|  1.20M|}
ceval.c:_PyType_HasFeature:
  281|  3.01M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  3.01M|    return ((type->tp_flags) & feature) != 0;
  283|  3.01M|}
ceval.c:_PyObject_GetManagedDict:
  927|   766k|{
  928|   766k|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  929|   766k|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  152|   766k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  930|   766k|}
ceval.c:_PyObject_ManagedDictPointer:
  920|   766k|{
  921|   766k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (921:5): [True: 766k, False: 0]
  ------------------
  922|   766k|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  910|   766k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  923|   766k|}
frame.c:Py_DECREF_MORTAL:
  442|  8.03M|{
  443|  8.03M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 8.03M, False: 0]
  ------------------
  444|  8.03M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  8.03M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|  8.03M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 1.79M, False: 6.24M]
  ------------------
  446|  1.79M|        _Py_Dealloc(op);
  447|  1.79M|    }
  448|  8.03M|}
frame.c:_PyObject_IsUniquelyReferenced:
  182|  19.9k|{
  183|  19.9k|#if !defined(Py_GIL_DISABLED)
  184|  19.9k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  19.9k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.9k|#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|  19.9k|}
frame.c:_Py_INCREF_MORTAL:
  989|  3.58k|{
  990|  3.58k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (990:5): [True: 3.58k, False: 0]
  ------------------
  991|  3.58k|    op->ob_refcnt++;
  992|  3.58k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.58k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  993|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
  994|       |    if (!_Py_IsImmortal(op)) {
  995|       |        _Py_INCREF_IncRefTotal();
  996|       |    }
  997|       |#endif
  998|  3.58k|}
gc.c:_PyType_SUPPORTS_WEAKREFS:
  856|  4.12k|static inline int _PyType_SUPPORTS_WEAKREFS(PyTypeObject *type) {
  857|  4.12k|    return (type->tp_weaklistoffset != 0);
  858|  4.12k|}
gc.c:_PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET:
  811|    742|{
  812|    742|    assert(!PyType_Check(op) ||
  ------------------
  |  Branch (812:5): [True: 728, False: 14]
  |  Branch (812:5): [True: 14, False: 0]
  ------------------
  813|    742|            ((PyTypeObject *)op)->tp_flags & Py_TPFLAGS_HEAPTYPE);
  814|    742|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  815|    742|    return (PyWeakReference **)((char *)op + offset);
  816|    742|}
gc.c:_PyType_PreHeaderSize:
  838|   173M|{
  839|   173M|    return (
  840|   173M|#ifndef Py_GIL_DISABLED
  841|   173M|        (size_t)_PyType_IS_GC(tp) * sizeof(PyGC_Head) +
  842|   173M|#endif
  843|   173M|        (size_t)_PyType_HasFeature(tp, Py_TPFLAGS_PREHEADER) * 2 * sizeof(PyObject *)
  ------------------
  |  |  487|   173M|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|   173M|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|   173M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
  844|   173M|    );
  845|   173M|}
gc.c:_PyType_HasFeature:
  281|   260M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|   260M|    return ((type->tp_flags) & feature) != 0;
  283|   260M|}
gc.c:_PyObject_Init:
  475|  86.1M|{
  476|  86.1M|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 86.1M, False: 0]
  ------------------
  477|  86.1M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  86.1M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  86.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  86.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  86.1M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 615, False: 86.1M]
  |  Branch (478:5): [True: 86.1M, False: 0]
  ------------------
  479|  86.1M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|  86.1M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  86.1M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  86.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  86.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|  86.1M|    _Py_NewReference(op);
  481|  86.1M|}
gc.c:_PyObject_InitVar:
  485|  85.6M|{
  486|  85.6M|    assert(op != NULL);
  ------------------
  |  Branch (486:5): [True: 85.6M, False: 0]
  ------------------
  487|  85.6M|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (487:5): [True: 85.6M, False: 0]
  ------------------
  488|  85.6M|    _PyObject_Init((PyObject *)op, typeobj);
  489|  85.6M|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  85.6M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  85.6M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  490|  85.6M|}
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|    165|{
  183|    165|#if !defined(Py_GIL_DISABLED)
  184|    165|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    165|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    165|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    165|#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|    165|}
specialize.c:_PyObject_GetManagedDict:
  927|    616|{
  928|    616|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  929|    616|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  152|    616|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  930|    616|}
specialize.c:_PyObject_ManagedDictPointer:
  920|    616|{
  921|    616|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (921:5): [True: 616, False: 0]
  ------------------
  922|    616|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  910|    616|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  923|    616|}
specialize.c:_PyObject_InlineValues:
  934|  1.14k|{
  935|  1.14k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  1.14k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  936|  1.14k|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (936:5): [True: 1.14k, False: 0]
  |  Branch (936:5): [True: 1.14k, False: 0]
  ------------------
  937|  1.14k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (937:5): [True: 1.14k, False: 0]
  ------------------
  938|  1.14k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (938:5): [True: 1.14k, False: 0]
  ------------------
  939|  1.14k|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  940|  1.14k|}
typecache.c:_Py_INCREF_MORTAL:
  989|  1.76M|{
  990|  1.76M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (990:5): [True: 1.76M, False: 0]
  ------------------
  991|  1.76M|    op->ob_refcnt++;
  992|  1.76M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.76M|#  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.76M|}
_datetimemodule.c:_PyObject_Init:
  475|      8|{
  476|      8|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 8, False: 0]
  ------------------
  477|      8|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|      8|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|      8|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 8]
  |  Branch (478:5): [True: 8, False: 0]
  ------------------
  479|      8|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|      8|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|      8|    _Py_NewReference(op);
  481|      8|}
_datetimemodule.c:_PyType_HasFeature:
  281|      8|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|      8|    return ((type->tp_flags) & feature) != 0;
  283|      8|}
itertoolsmodule.c:_PyObject_IsUniquelyReferenced:
  182|    135|{
  183|    135|#if !defined(Py_GIL_DISABLED)
  184|    135|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    135|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    135|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    135|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|       |#else
  186|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  187|       |    // ensure that other threads cannot concurrently create new references to
  188|       |    // this object.
  189|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  190|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  191|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  192|       |#endif
  193|    135|}
_functoolsmodule.c:_PyObject_IsUniquelyReferenced:
  182|      1|{
  183|      1|#if !defined(Py_GIL_DISABLED)
  184|      1|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|      1|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|}
abstract.c:Py_DECREF_MORTAL:
  442|    112|{
  443|    112|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 112, False: 0]
  ------------------
  444|    112|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    112|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|    112|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 112]
  ------------------
  446|      0|        _Py_Dealloc(op);
  447|      0|    }
  448|    112|}
bytesobject.c:_PyObject_InitVar:
  485|  1.79M|{
  486|  1.79M|    assert(op != NULL);
  ------------------
  |  Branch (486:5): [True: 1.79M, False: 0]
  ------------------
  487|  1.79M|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (487:5): [True: 1.79M, False: 0]
  ------------------
  488|  1.79M|    _PyObject_Init((PyObject *)op, typeobj);
  489|  1.79M|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  1.79M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  1.79M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  490|  1.79M|}
bytesobject.c:_PyObject_Init:
  475|  1.79M|{
  476|  1.79M|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 1.79M, False: 0]
  ------------------
  477|  1.79M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  1.79M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  1.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  1.79M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 1.79M]
  |  Branch (478:5): [True: 1.79M, False: 0]
  ------------------
  479|  1.79M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|  1.79M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  1.79M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|  1.79M|    _Py_NewReference(op);
  481|  1.79M|}
bytesobject.c:_PyType_HasFeature:
  281|  1.79M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  1.79M|    return ((type->tp_flags) & feature) != 0;
  283|  1.79M|}
bytesobject.c:_PyObject_IsUniquelyReferenced:
  182|   162k|{
  183|   162k|#if !defined(Py_GIL_DISABLED)
  184|   162k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|   162k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   162k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   162k|#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|   162k|}
call.c:Py_DECREF_MORTAL:
  442|   129k|{
  443|   129k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 129k, False: 0]
  ------------------
  444|   129k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   129k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|   129k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 148, False: 129k]
  ------------------
  446|    148|        _Py_Dealloc(op);
  447|    148|    }
  448|   129k|}
codeobject.c:_PyObject_ResurrectStart:
  671|  75.2k|{
  672|  75.2k|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (672:5): [True: 75.2k, 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|  75.2k|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  75.2k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  682|  75.2k|#endif
  683|       |#ifdef Py_TRACE_REFS
  684|       |    _Py_ResurrectReference(op);
  685|       |#endif
  686|  75.2k|}
codeobject.c:_PyObject_ResurrectEnd:
  693|  75.2k|{
  694|       |#ifdef Py_REF_DEBUG
  695|       |    _Py_DecRefTotal(_PyThreadState_GET());
  696|       |#endif
  697|  75.2k|#ifndef Py_GIL_DISABLED
  698|  75.2k|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  75.2k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|  75.2k|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  75.2k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (699:9): [True: 75.2k, False: 0]
  ------------------
  700|       |# ifdef Py_TRACE_REFS
  701|       |        _Py_ForgetReference(op);
  702|       |# endif
  703|  75.2k|        return 0;
  704|  75.2k|    }
  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|  75.2k|}
complexobject.c:_PyObject_Init:
  475|  77.3k|{
  476|  77.3k|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 77.3k, False: 0]
  ------------------
  477|  77.3k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  77.3k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  77.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  77.3k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 77.3k]
  |  Branch (478:5): [True: 77.3k, False: 0]
  ------------------
  479|  77.3k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|  77.3k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  77.3k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  77.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  77.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|  77.3k|    _Py_NewReference(op);
  481|  77.3k|}
complexobject.c:_PyType_HasFeature:
  281|  77.3k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  77.3k|    return ((type->tp_flags) & feature) != 0;
  283|  77.3k|}
enumobject.c:_PyObject_IsUniquelyReferenced:
  182|   523k|{
  183|   523k|#if !defined(Py_GIL_DISABLED)
  184|   523k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|   523k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   523k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   523k|#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|   523k|}
genobject.c:Py_DECREF_MORTAL:
  442|    933|{
  443|    933|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 933, False: 0]
  ------------------
  444|    933|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    933|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|    933|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 933]
  ------------------
  446|      0|        _Py_Dealloc(op);
  447|      0|    }
  448|    933|}
floatobject.c:_PyObject_Init:
  475|  50.4k|{
  476|  50.4k|    assert(op != NULL);
  ------------------
  |  Branch (476:5): [True: 50.4k, False: 0]
  ------------------
  477|  50.4k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  50.4k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  50.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  50.4k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (478:5): [True: 0, False: 50.4k]
  |  Branch (478:5): [True: 50.4k, False: 0]
  ------------------
  479|  50.4k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  304|  50.4k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  50.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  50.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  50.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|  50.4k|    _Py_NewReference(op);
  481|  50.4k|}
floatobject.c:_PyType_HasFeature:
  281|  50.4k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  282|  50.4k|    return ((type->tp_flags) & feature) != 0;
  283|  50.4k|}
frameobject.c:Py_DECREF_MORTAL:
  442|  19.4k|{
  443|  19.4k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (443:5): [True: 19.4k, False: 0]
  ------------------
  444|  19.4k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  19.4k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  445|  19.4k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (445:9): [True: 6.59k, False: 12.8k]
  ------------------
  446|  6.59k|        _Py_Dealloc(op);
  447|  6.59k|    }
  448|  19.4k|}
funcobject.c:_PyObject_XSetRefDelayed:
  755|    127|{
  756|    127|    Py_XSETREF(*p_obj, obj);
  ------------------
  |  |  576|    127|    do { \
  |  |  577|    127|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    127|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    127|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    127|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    127|        *_tmp_dst_ptr = (src); \
  |  |  580|    127|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    127|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 127]
  |  |  ------------------
  ------------------
  757|    127|}
funcobject.c:_PyObject_ResurrectStart:
  671|  2.70k|{
  672|  2.70k|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (672:5): [True: 2.70k, 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|  2.70k|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  2.70k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  2.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  682|  2.70k|#endif
  683|       |#ifdef Py_TRACE_REFS
  684|       |    _Py_ResurrectReference(op);
  685|       |#endif
  686|  2.70k|}
funcobject.c:_PyObject_ResurrectEnd:
  693|  2.70k|{
  694|       |#ifdef Py_REF_DEBUG
  695|       |    _Py_DecRefTotal(_PyThreadState_GET());
  696|       |#endif
  697|  2.70k|#ifndef Py_GIL_DISABLED
  698|  2.70k|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  2.70k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  2.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|  2.70k|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  2.70k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (699:9): [True: 2.70k, False: 0]
  ------------------
  700|       |# ifdef Py_TRACE_REFS
  701|       |        _Py_ForgetReference(op);
  702|       |# endif
  703|  2.70k|        return 0;
  704|  2.70k|    }
  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|  2.70k|}

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

dictobject.c:_PyErr_Occurred:
   76|    708|{
   77|    708|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 708, False: 0]
  ------------------
   78|    708|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 708, False: 0]
  ------------------
   79|    708|        return NULL;
   80|    708|    }
   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|    708|}
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|   100k|{
   77|   100k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 100k, False: 0]
  ------------------
   78|   100k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 100k, False: 37]
  ------------------
   79|   100k|        return NULL;
   80|   100k|    }
   81|     37|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|     37|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|   100k|}
ceval.c:_PyErr_Occurred:
   76|  9.58M|{
   77|  9.58M|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 9.58M, False: 0]
  ------------------
   78|  9.58M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 9.53M, False: 46.9k]
  ------------------
   79|  9.53M|        return NULL;
   80|  9.53M|    }
   81|  46.9k|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  46.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  46.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  9.58M|}
ceval.c:_PyErr_ClearExcState:
   85|    921|{
   86|       |    Py_CLEAR(exc_state->exc_value);
  ------------------
  |  |  487|    921|    do { \
  |  |  488|    921|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    921|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    921|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    921|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    921|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    921|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 921]
  |  |  ------------------
  |  |  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|    921|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 921]
  |  |  ------------------
  ------------------
   87|    921|}
errors.c:_PyErr_Occurred:
   76|  3.86M|{
   77|  3.86M|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 3.86M, False: 0]
  ------------------
   78|  3.86M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 3.71M, False: 149k]
  ------------------
   79|  3.71M|        return NULL;
   80|  3.71M|    }
   81|   149k|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  3.86M|}
gc.c:_PyErr_Occurred:
   76|  68.2M|{
   77|  68.2M|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 68.2M, False: 0]
  ------------------
   78|  68.2M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 68.2M, False: 0]
  ------------------
   79|  68.2M|        return NULL;
   80|  68.2M|    }
   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|  68.2M|}
import.c:_PyErr_Occurred:
   76|  44.9k|{
   77|  44.9k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 44.9k, False: 0]
  ------------------
   78|  44.9k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 44.9k, False: 0]
  ------------------
   79|  44.9k|        return NULL;
   80|  44.9k|    }
   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|  44.9k|}
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|   100k|{
   77|   100k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 100k, False: 0]
  ------------------
   78|   100k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 96.2k, False: 4.19k]
  ------------------
   79|  96.2k|        return NULL;
   80|  96.2k|    }
   81|  4.19k|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  4.19k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|   100k|}
call.c:_PyErr_Occurred:
   76|  8.96M|{
   77|  8.96M|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 8.96M, False: 0]
  ------------------
   78|  8.96M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 8.94M, False: 21.5k]
  ------------------
   79|  8.94M|        return NULL;
   80|  8.94M|    }
   81|  21.5k|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  21.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  21.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  8.96M|}
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|  61.7k|{
   77|  61.7k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 61.7k, False: 0]
  ------------------
   78|  61.7k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 61.7k, False: 0]
  ------------------
   79|  61.7k|        return NULL;
   80|  61.7k|    }
   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|  61.7k|}
methodobject.c:_PyErr_Occurred:
   76|  63.1k|{
   77|  63.1k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 63.1k, False: 0]
  ------------------
   78|  63.1k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 63.1k, False: 0]
  ------------------
   79|  63.1k|        return NULL;
   80|  63.1k|    }
   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|  63.1k|}

hashtable.c:_Py_HashPointerRaw:
   11|  2.24M|{
   12|  2.24M|    uintptr_t x = (uintptr_t)ptr;
   13|  2.24M|    Py_BUILD_ASSERT(sizeof(x) == sizeof(ptr));
  ------------------
  |  |  199|  2.24M|        do { \
  |  |  200|  2.24M|            static_assert((cond), #cond); \
  |  |  201|  2.24M|        } while (0)
  |  |  ------------------
  |  |  |  Branch (201:18): [Folded, False: 2.24M]
  |  |  ------------------
  ------------------
   14|       |
   15|       |    // Bottom 3 or 4 bits are likely to be 0; rotate x by 4 to the right
   16|       |    // to avoid excessive hash collisions for dicts and sets.
   17|  2.24M|    x = (x >> 4) | (x << (8 * sizeof(uintptr_t) - 4));
   18|       |
   19|       |    Py_BUILD_ASSERT(sizeof(x) == sizeof(Py_hash_t));
  ------------------
  |  |  199|  2.24M|        do { \
  |  |  200|  2.24M|            static_assert((cond), #cond); \
  |  |  201|  2.24M|        } while (0)
  |  |  ------------------
  |  |  |  Branch (201:18): [Folded, False: 2.24M]
  |  |  ------------------
  ------------------
   20|  2.24M|    return (Py_hash_t)x;
   21|  2.24M|}
pyhash.c:_Py_HashPointerRaw:
   11|  95.0M|{
   12|  95.0M|    uintptr_t x = (uintptr_t)ptr;
   13|  95.0M|    Py_BUILD_ASSERT(sizeof(x) == sizeof(ptr));
  ------------------
  |  |  199|  95.0M|        do { \
  |  |  200|  95.0M|            static_assert((cond), #cond); \
  |  |  201|  95.0M|        } while (0)
  |  |  ------------------
  |  |  |  Branch (201:18): [Folded, False: 95.0M]
  |  |  ------------------
  ------------------
   14|       |
   15|       |    // Bottom 3 or 4 bits are likely to be 0; rotate x by 4 to the right
   16|       |    // to avoid excessive hash collisions for dicts and sets.
   17|  95.0M|    x = (x >> 4) | (x << (8 * sizeof(uintptr_t) - 4));
   18|       |
   19|       |    Py_BUILD_ASSERT(sizeof(x) == sizeof(Py_hash_t));
  ------------------
  |  |  199|  95.0M|        do { \
  |  |  200|  95.0M|            static_assert((cond), #cond); \
  |  |  201|  95.0M|        } while (0)
  |  |  ------------------
  |  |  |  Branch (201:18): [Folded, False: 95.0M]
  |  |  ------------------
  ------------------
   20|  95.0M|    return (Py_hash_t)x;
   21|  95.0M|}

complexobject.c:_Py_ADJUST_ERANGE2:
   46|  12.0k|{
   47|  12.0k|    if (x == INFINITY || x == -INFINITY ||
  ------------------
  |  Branch (47:9): [True: 434, False: 11.6k]
  |  Branch (47:26): [True: 243, False: 11.3k]
  ------------------
   48|  11.3k|        y == INFINITY || y == -INFINITY)
  ------------------
  |  Branch (48:9): [True: 182, False: 11.1k]
  |  Branch (48:26): [True: 334, False: 10.8k]
  ------------------
   49|  1.19k|    {
   50|  1.19k|        if (errno == 0) {
  ------------------
  |  Branch (50:13): [True: 1.19k, False: 0]
  ------------------
   51|  1.19k|            errno = ERANGE;
   52|  1.19k|        }
   53|  1.19k|    }
   54|  10.8k|    else if (errno == ERANGE) {
  ------------------
  |  Branch (54:14): [True: 0, False: 10.8k]
  ------------------
   55|       |        errno = 0;
   56|      0|    }
   57|  12.0k|}
floatobject.c:_Py_ADJUST_ERANGE1:
   34|  3.63k|{
   35|  3.63k|    if (errno == 0) {
  ------------------
  |  Branch (35:9): [True: 2.41k, False: 1.22k]
  ------------------
   36|  2.41k|        if (x == INFINITY || x == -INFINITY) {
  ------------------
  |  Branch (36:13): [True: 0, False: 2.41k]
  |  Branch (36:30): [True: 0, False: 2.41k]
  ------------------
   37|      0|            errno = ERANGE;
   38|      0|        }
   39|  2.41k|    }
   40|  1.22k|    else if (errno == ERANGE && x == 0.0) {
  ------------------
  |  Branch (40:14): [True: 1.22k, False: 0]
  |  Branch (40:33): [True: 475, False: 750]
  ------------------
   41|       |        errno = 0;
   42|    475|    }
   43|  3.63k|}

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

exceptions.c:_PyInterpreterState_GET:
  225|  60.7k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  60.7k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  60.7k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  60.7k|}
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|}
listobject.c:_PyInterpreterState_GET:
  225|  2.73M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  2.73M|#if !defined(Py_BUILD_CORE_MODULE)
  231|  2.73M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  2.73M|}
longobject.c:_PyInterpreterState_GET:
  225|  11.8M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  11.8M|#if !defined(Py_BUILD_CORE_MODULE)
  231|  11.8M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  11.8M|}
dictobject.c:_PyInterpreterState_GET:
  225|  2.54M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  2.54M|#if !defined(Py_BUILD_CORE_MODULE)
  231|  2.54M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  2.54M|}
dictobject.c:_PyThreadState_GET:
  117|    724|{
  118|    724|#if !defined(Py_BUILD_CORE_MODULE)
  119|    724|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    724|}
moduleobject.c:_PyInterpreterState_GET:
  225|     43|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     43|#if !defined(Py_BUILD_CORE_MODULE)
  231|     43|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     43|}
object.c:_PyThreadState_GET:
  117|   137M|{
  118|   137M|#if !defined(Py_BUILD_CORE_MODULE)
  119|   137M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   137M|}
object.c:_Py_get_machine_stack_pointer:
  336|   131M|_Py_get_machine_stack_pointer(void) {
  337|   131M|    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|   131M|    return result;
  357|   131M|}
object.c:_PyInterpreterState_GET:
  225|    826|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    826|#if !defined(Py_BUILD_CORE_MODULE)
  231|    826|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    826|}
object.c:_Py_RecursionLimit_GetMargin:
  361|   103M|{
  362|   103M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  363|   103M|    assert(_tstate->c_stack_hard_limit != 0);
  ------------------
  |  Branch (363:5): [True: 103M, False: 0]
  ------------------
  364|   103M|    intptr_t here_addr = _Py_get_machine_stack_pointer();
  365|   103M|#if _Py_STACK_GROWS_DOWN
  366|   103M|    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, here_addr - (intptr_t)_tstate->c_stack_soft_limit, _PyOS_STACK_MARGIN_SHIFT);
  ------------------
  |  |  226|   103M|#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|   103M|}
object.c:_Py_AssertHoldsTstateFunc:
  320|   135k|{
  321|   135k|    PyThreadState *tstate = _PyThreadState_GET();
  322|   135k|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  323|   135k|}
object.c:_Py_EnsureFuncTstateNotNULL:
  195|   135k|{
  196|   135k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 135k]
  ------------------
  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|   135k|}
obmalloc.c:_PyInterpreterState_GET:
  225|   217M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   217M|#if !defined(Py_BUILD_CORE_MODULE)
  231|   217M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   217M|}
obmalloc.c:_Py_IsMainInterpreter:
   61|      2|{
   62|      2|    return (interp == _PyInterpreterState_Main());
   63|      2|}
rangeobject.c:_PyInterpreterState_GET:
  225|  2.01k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  2.01k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  2.01k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  2.01k|}
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|   982k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   982k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   982k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   982k|}
sliceobject.c:_PyInterpreterState_GET:
  225|   191k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   191k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   191k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   191k|}
tupleobject.c:_PyInterpreterState_GET:
  225|   366M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   366M|#if !defined(Py_BUILD_CORE_MODULE)
  231|   366M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   366M|}
tupleobject.c:_PyThreadState_GET:
  117|  96.6M|{
  118|  96.6M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  96.6M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  96.6M|}
tupleobject.c:_Py_get_machine_stack_pointer:
  336|  96.6M|_Py_get_machine_stack_pointer(void) {
  337|  96.6M|    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|  96.6M|    return result;
  357|  96.6M|}
typeobject.c:_PyInterpreterState_GET:
  225|  1.67M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  1.67M|#if !defined(Py_BUILD_CORE_MODULE)
  231|  1.67M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  1.67M|}
typeobject.c:_PyThreadState_GET:
  117|   248k|{
  118|   248k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   248k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   248k|}
typeobject.c:_Py_IsMainInterpreter:
   61|    402|{
   62|    402|    return (interp == _PyInterpreterState_Main());
   63|    402|}
unicode_writer.c:_PyInterpreterState_GET:
  225|   114k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   114k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   114k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   114k|}
unicodeobject.c:_PyInterpreterState_GET:
  225|   366k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   366k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   366k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   366k|}
unicodeobject.c:_Py_IsMainInterpreter:
   61|      6|{
   62|      6|    return (interp == _PyInterpreterState_Main());
   63|      6|}
unionobject.c:_PyInterpreterState_GET:
  225|     46|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     46|#if !defined(Py_BUILD_CORE_MODULE)
  231|     46|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     46|}
weakrefobject.c:_PyInterpreterState_GET:
  225|    590|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    590|#if !defined(Py_BUILD_CORE_MODULE)
  231|    590|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    590|}
_warnings.c:_PyThreadState_GET:
  117|  41.4k|{
  118|  41.4k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  41.4k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  41.4k|}
_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|    896|{
  118|    896|#if !defined(Py_BUILD_CORE_MODULE)
  119|    896|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    896|}
ceval.c:_Py_get_machine_stack_pointer:
  336|   120M|_Py_get_machine_stack_pointer(void) {
  337|   120M|    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|   120M|    return result;
  357|   120M|}
ceval.c:_PyThreadState_GET:
  117|  7.92M|{
  118|  7.92M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  7.92M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  7.92M|}
ceval.c:_Py_EnsureFuncTstateNotNULL:
  195|   192k|{
  196|   192k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 192k]
  ------------------
  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|   192k|}
codecs.c:_PyInterpreterState_GET:
  225|  45.8k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  45.8k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  45.8k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  45.8k|}
compile.c:_PyInterpreterState_GET:
  225|  85.4k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  85.4k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  85.4k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  85.4k|}
context.c:_PyInterpreterState_GET:
  225|      2|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|      2|#if !defined(Py_BUILD_CORE_MODULE)
  231|      2|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|      2|}
context.c:_PyThreadState_GET:
  117|  41.4k|{
  118|  41.4k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  41.4k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  41.4k|}
errors.c:_PyThreadState_GET:
  117|  8.12M|{
  118|  8.12M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  8.12M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  8.12M|}
errors.c:_Py_AssertHoldsTstateFunc:
  320|  3.77M|{
  321|  3.77M|    PyThreadState *tstate = _PyThreadState_GET();
  322|  3.77M|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  323|  3.77M|}
errors.c:_Py_EnsureFuncTstateNotNULL:
  195|  3.77M|{
  196|  3.77M|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 3.77M]
  ------------------
  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|  3.77M|}
flowgraph.c:_PyInterpreterState_GET:
  225|  38.1k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  38.1k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  38.1k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  38.1k|}
frame.c:_PyThreadState_GET:
  117|  5.16M|{
  118|  5.16M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  5.16M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  5.16M|}
frame.c:_PyInterpreterState_GET:
  225|  3.58k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  3.58k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  3.58k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  3.58k|}
gc.c:_PyInterpreterState_GET:
  225|   117M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   117M|#if !defined(Py_BUILD_CORE_MODULE)
  231|   117M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   117M|}
gc.c:_PyThreadState_GET:
  117|   173M|{
  118|   173M|#if !defined(Py_BUILD_CORE_MODULE)
  119|   173M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   173M|}
getargs.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|}
getargs.c:_Py_IsMainInterpreter:
   61|      1|{
   62|      1|    return (interp == _PyInterpreterState_Main());
   63|      1|}
ceval_gil.c:_PyThreadState_GET:
  117|  49.1k|{
  118|  49.1k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  49.1k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  49.1k|}
ceval_gil.c:_Py_EnsureFuncTstateNotNULL:
  195|  98.3k|{
  196|  98.3k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 98.3k]
  ------------------
  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|  98.3k|}
hamt.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|}
import.c:_PyThreadState_GET:
  117|   427k|{
  118|   427k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   427k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   427k|}
import.c:_PyInterpreterState_GET:
  225|  2.70k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  2.70k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  2.70k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  2.70k|}
import.c:_Py_IsMainInterpreter:
   61|     47|{
   62|     47|    return (interp == _PyInterpreterState_Main());
   63|     47|}
marshal.c:_PyInterpreterState_GET:
  225|  17.5k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  17.5k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  17.5k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  17.5k|}
pylifecycle.c:_Py_IsMainInterpreter:
   61|      8|{
   62|      8|    return (interp == _PyInterpreterState_Main());
   63|      8|}
pystate.c:_Py_EnsureFuncTstateNotNULL:
  195|   231k|{
  196|   231k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 231k]
  ------------------
  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|   231k|}
pystate.c:_Py_AssertHoldsTstateFunc:
  320|      1|{
  321|      1|    PyThreadState *tstate = _PyThreadState_GET();
  322|      1|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  323|      1|}
pystate.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|}
pystate.c:_Py_IsMainInterpreter:
   61|      4|{
   62|      4|    return (interp == _PyInterpreterState_Main());
   63|      4|}
pythonrun.c:_PyThreadState_GET:
  117|      3|{
  118|      3|#if !defined(Py_BUILD_CORE_MODULE)
  119|      3|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|      3|}
specialize.c:_PyThreadState_GET:
  117|  77.8k|{
  118|  77.8k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  77.8k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  77.8k|}
specialize.c:_PyInterpreterState_GET:
  225|  3.00k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  3.00k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  3.00k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  3.00k|}
symtable.c:_PyThreadState_GET:
  117|  12.6k|{
  118|  12.6k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  12.6k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  12.6k|}
sysmodule.c:_PyThreadState_GET:
  117|  65.1k|{
  118|  65.1k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  65.1k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  65.1k|}
sysmodule.c:_PyInterpreterState_GET:
  225|     47|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     47|#if !defined(Py_BUILD_CORE_MODULE)
  231|     47|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     47|}
sysmodule.c:_Py_EnsureFuncTstateNotNULL:
  195|    380|{
  196|    380|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 380]
  ------------------
  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|    380|}
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|  72.4k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  72.4k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  72.4k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  72.4k|}
typecache.c:_PyInterpreterState_GET:
  225|   803k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   803k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   803k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   803k|}
dtoa.c:_PyInterpreterState_GET:
  225|  1.67M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  1.67M|#if !defined(Py_BUILD_CORE_MODULE)
  231|  1.67M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  1.67M|}
fileutils.c:_Py_AssertHoldsTstateFunc:
  320|  47.2k|{
  321|  47.2k|    PyThreadState *tstate = _PyThreadState_GET();
  322|  47.2k|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  323|  47.2k|}
fileutils.c:_PyThreadState_GET:
  117|  47.2k|{
  118|  47.2k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  47.2k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  47.2k|}
fileutils.c:_Py_EnsureFuncTstateNotNULL:
  195|  47.2k|{
  196|  47.2k|    if (tstate == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 47.2k]
  ------------------
  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|  47.2k|}
dynload_shlib.c:_PyInterpreterState_GET:
  225|     20|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     20|#if !defined(Py_BUILD_CORE_MODULE)
  231|     20|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     20|}
signalmodule.c:_PyThreadState_GET:
  117|   889k|{
  118|   889k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   889k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   889k|}
fileio.c:_PyInterpreterState_GET:
  225|    101|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    101|#if !defined(Py_BUILD_CORE_MODULE)
  231|    101|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    101|}
bufferedio.c:_PyInterpreterState_GET:
  225|    101|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    101|#if !defined(Py_BUILD_CORE_MODULE)
  231|    101|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    101|}
bufferedio.c:_PyThreadState_GET:
  117|    101|{
  118|    101|#if !defined(Py_BUILD_CORE_MODULE)
  119|    101|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    101|}
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|      2|{
  118|      2|#if !defined(Py_BUILD_CORE_MODULE)
  119|      2|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|      2|}
getpath.c:_PyThreadState_GET:
  117|      2|{
  118|      2|#if !defined(Py_BUILD_CORE_MODULE)
  119|      2|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|      2|}
abstract.c:_PyThreadState_GET:
  117|   686k|{
  118|   686k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   686k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   686k|}
abstract.c:_Py_get_machine_stack_pointer:
  336|    229|_Py_get_machine_stack_pointer(void) {
  337|    229|    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|    229|    return result;
  357|    229|}
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|   585k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   585k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   585k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   585k|}
call.c:_PyThreadState_GET:
  117|  8.85M|{
  118|  8.85M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  8.85M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  8.85M|}
call.c:_Py_get_machine_stack_pointer:
  336|   101k|_Py_get_machine_stack_pointer(void) {
  337|   101k|    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|   101k|    return result;
  357|   101k|}
cellobject.c:_PyInterpreterState_GET:
  225|  4.97k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  4.97k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  4.97k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  4.97k|}
classobject.c:_PyInterpreterState_GET:
  225|  10.0k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  10.0k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  10.0k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  10.0k|}
classobject.c:_PyThreadState_GET:
  117|  32.5k|{
  118|  32.5k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  32.5k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  32.5k|}
codeobject.c:_PyInterpreterState_GET:
  225|   568k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   568k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   568k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   568k|}
complexobject.c:_PyInterpreterState_GET:
  225|   323k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   323k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   323k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   323k|}
descrobject.c:_PyInterpreterState_GET:
  225|    960|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    960|#if !defined(Py_BUILD_CORE_MODULE)
  231|    960|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    960|}
descrobject.c:_PyThreadState_GET:
  117|   130k|{
  118|   130k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   130k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   130k|}
descrobject.c:_Py_get_machine_stack_pointer:
  336|   130k|_Py_get_machine_stack_pointer(void) {
  337|   130k|    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|   130k|    return result;
  357|   130k|}
enumobject.c:_PyInterpreterState_GET:
  225|  31.2k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  31.2k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  31.2k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  31.2k|}
enumobject.c:_PyThreadState_GET:
  117|     74|{
  118|     74|#if !defined(Py_BUILD_CORE_MODULE)
  119|     74|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     74|}
genobject.c:_PyInterpreterState_GET:
  225|  3.73k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  3.73k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  3.73k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  3.73k|}
genobject.c:_PyThreadState_GET:
  117|  62.5k|{
  118|  62.5k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  62.5k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  62.5k|}
floatobject.c:_PyInterpreterState_GET:
  225|   454k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   454k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   454k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   454k|}
frameobject.c:_PyInterpreterState_GET:
  225|  3.58k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  3.58k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  3.58k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  3.58k|}
funcobject.c:_PyInterpreterState_GET:
  225|  99.3k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  99.3k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  99.3k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  99.3k|}
iterobject.c:_PyInterpreterState_GET:
  225|    126|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|    126|#if !defined(Py_BUILD_CORE_MODULE)
  231|    126|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|    126|}
lazyimportobject.c:_PyInterpreterState_GET:
  225|     15|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|     15|#if !defined(Py_BUILD_CORE_MODULE)
  231|     15|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|     15|}
memoryobject.c:_PyInterpreterState_GET:
  225|   280k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   280k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   280k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   280k|}
methodobject.c:_PyInterpreterState_GET:
  225|  4.29M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  4.29M|#if !defined(Py_BUILD_CORE_MODULE)
  231|  4.29M|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  4.29M|}
methodobject.c:_PyThreadState_GET:
  117|   134k|{
  118|   134k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   134k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   134k|}
methodobject.c:_Py_get_machine_stack_pointer:
  336|   134k|_Py_get_machine_stack_pointer(void) {
  337|   134k|    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|   134k|    return result;
  357|   134k|}
Python-ast.c:_PyInterpreterState_GET:
  225|  1.94k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  1.94k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  1.94k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  1.94k|}
assemble.c:_PyInterpreterState_GET:
  225|   148k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   148k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   148k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   148k|}
crossinterp.c:_Py_IsMainInterpreter:
   61|      2|{
   62|      2|    return (interp == _PyInterpreterState_Main());
   63|      2|}
pegen.c:_PyInterpreterState_GET:
  225|   129k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|   129k|#if !defined(Py_BUILD_CORE_MODULE)
  231|   129k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|   129k|}
pegen.c:_PyThreadState_GET:
  117|      2|{
  118|      2|#if !defined(Py_BUILD_CORE_MODULE)
  119|      2|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|      2|}
parser.c:_Py_get_machine_stack_pointer:
  336|  99.1M|_Py_get_machine_stack_pointer(void) {
  337|  99.1M|    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|  99.1M|    return result;
  357|  99.1M|}
parser_invalid.c:_Py_get_machine_stack_pointer:
  336|  6.38M|_Py_get_machine_stack_pointer(void) {
  337|  6.38M|    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|  6.38M|    return result;
  357|  6.38M|}
action_helpers.c:_PyInterpreterState_GET:
  225|  6.66k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  226|       |#ifdef Py_DEBUG
  227|       |    PyThreadState *tstate = _PyThreadState_GET();
  228|       |    _Py_EnsureTstateNotNULL(tstate);
  229|       |#endif
  230|  6.66k|#if !defined(Py_BUILD_CORE_MODULE)
  231|  6.66k|    return _Py_tss_interp;
  232|       |#else
  233|       |    return _PyThreadState_GET()->interp;
  234|       |#endif
  235|  6.66k|}

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

listobject.c:PyStackRef_AsPyObjectSteal:
  554|  1.27k|{
  555|  1.27k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 1.27k, False: 0]
  ------------------
  556|  1.27k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 1.27k, False: 0]
  ------------------
  557|  1.27k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 169, False: 1.10k]
  ------------------
  558|    169|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|    169|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|    169|    }
  560|  1.10k|    else {
  561|  1.10k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  647|  1.10k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  1.10k|    }
  563|  1.27k|}
listobject.c:PyStackRef_IsTaggedInt:
  440|  1.27k|{
  441|  1.27k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  1.27k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  1.27k|#define Py_INT_TAG 3
  ------------------
  442|  1.27k|}
listobject.c:PyStackRef_RefcountOnObject:
  534|  1.27k|{
  535|  1.27k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  1.27k|#define Py_TAG_REFCNT 1
  ------------------
  536|  1.27k|}
longobject.c:PyStackRef_FromPyObjectBorrow:
  627|  11.2M|{
  628|  11.2M|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 11.2M, False: 0]
  ------------------
  629|  11.2M|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  11.2M|#define Py_TAG_REFCNT 1
  ------------------
  630|  11.2M|}
longobject.c:PyStackRef_FromPyObjectStealMortal:
  585|   628k|{
  586|   628k|    assert(obj != NULL);
  ------------------
  |  Branch (586:5): [True: 628k, False: 0]
  ------------------
  587|   628k|    assert(!_Py_IsImmortal(obj));
  ------------------
  |  Branch (587:5): [True: 628k, False: 0]
  ------------------
  588|   628k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  589|   628k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|   628k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  590|   628k|    return ref;
  591|   628k|}
dictobject.c:_PyStackRef_FromPyObjectNew:
  595|  22.9k|{
  596|  22.9k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 22.9k, 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|  22.9k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  22.9k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.68k, False: 19.2k]
  |  |  ------------------
  ------------------
  603|  3.68k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  3.68k|#define Py_TAG_REFCNT 1
  ------------------
  604|  3.68k|    }
  605|  19.2k|#endif
  606|  19.2k|    _Py_INCREF_MORTAL(obj);
  607|  19.2k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  19.2k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  19.2k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  19.2k|    return ref;
  610|  22.9k|}
dictobject.c:PyStackRef_RefcountOnObject:
  534|  5.32k|{
  535|  5.32k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  5.32k|#define Py_TAG_REFCNT 1
  ------------------
  536|  5.32k|}
dictobject.c:PyStackRef_AsPyObjectBorrow:
  540|  5.32k|{
  541|  5.32k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 5.32k, False: 0]
  ------------------
  542|  5.32k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  5.32k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  5.32k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  5.32k|}
dictobject.c:PyStackRef_IsTaggedInt:
  440|  5.32k|{
  441|  5.32k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  5.32k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  5.32k|#define Py_INT_TAG 3
  ------------------
  442|  5.32k|}
dictobject.c:PyStackRef_CLOSE:
  700|  5.32k|{
  701|  5.32k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 5.32k, False: 0]
  ------------------
  702|  5.32k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 5.32k, False: 0]
  ------------------
  703|  5.32k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|  5.32k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  5.32k|    }
  705|  5.32k|}
object.c:PyStackRef_FromPyObjectSteal:
  567|  1.38M|{
  568|  1.38M|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 1.38M, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  1.38M|#  if SIZEOF_VOID_P > 4
  573|  1.38M|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  1.38M|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  1.38M|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  1.38M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  1.38M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  1.38M|    return ref;
  580|  1.38M|#endif
  581|  1.38M|}
object.c:PyStackRef_AsPyObjectBorrow:
  540|  4.81M|{
  541|  4.81M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 4.81M, False: 0]
  ------------------
  542|  4.81M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  4.81M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  4.81M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  4.81M|}
object.c:PyStackRef_XCLOSE:
  722|  4.47M|{
  723|  4.47M|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 4.47M, False: 0]
  ------------------
  724|  4.47M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 1.41M, False: 3.06M]
  ------------------
  725|  1.41M|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 1.41M, False: 0]
  ------------------
  726|  1.41M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|  1.41M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.41M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.41M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  1.41M|    }
  728|  4.47M|}
object.c:PyStackRef_RefcountOnObject:
  534|  4.51M|{
  535|  4.51M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  4.51M|#define Py_TAG_REFCNT 1
  ------------------
  536|  4.51M|}
object.c:_PyThreadState_PushCStackRef:
  787|  4.47M|{
  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.47M|    ref->ref = PyStackRef_NULL;
  794|  4.47M|}
object.c:PyStackRef_AsPyObjectSteal:
  554|  43.1k|{
  555|  43.1k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 43.1k, False: 0]
  ------------------
  556|  43.1k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 43.1k, False: 0]
  ------------------
  557|  43.1k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 25, False: 43.1k]
  ------------------
  558|     25|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|     25|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|     25|    }
  560|  43.1k|    else {
  561|  43.1k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  647|  43.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  43.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  43.1k|    }
  563|  43.1k|}
object.c:_PyThreadState_PopCStackRef:
  805|  4.47M|{
  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|  4.47M|    PyStackRef_XCLOSE(ref->ref);
  812|  4.47M|}
object.c:PyStackRef_IsTaggedInt:
  440|  4.85M|{
  441|  4.85M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  4.85M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  4.85M|#define Py_INT_TAG 3
  ------------------
  442|  4.85M|}
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|   821k|{
  555|   821k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 821k, False: 0]
  ------------------
  556|   821k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 821k, False: 0]
  ------------------
  557|   821k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 10.8k, False: 811k]
  ------------------
  558|  10.8k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  10.8k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  10.8k|    }
  560|   811k|    else {
  561|   811k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  647|   811k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   811k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   811k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|   811k|    }
  563|   821k|}
tupleobject.c:PyStackRef_IsTaggedInt:
  440|   821k|{
  441|   821k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   821k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   821k|#define Py_INT_TAG 3
  ------------------
  442|   821k|}
tupleobject.c:PyStackRef_RefcountOnObject:
  534|   821k|{
  535|   821k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   821k|#define Py_TAG_REFCNT 1
  ------------------
  536|   821k|}
typeobject.c:PyStackRef_AsPyObjectBorrow:
  540|   208k|{
  541|   208k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 208k, False: 0]
  ------------------
  542|   208k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   208k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   208k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   208k|}
typeobject.c:PyStackRef_IsTaggedInt:
  440|   255k|{
  441|   255k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   255k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   255k|#define Py_INT_TAG 3
  ------------------
  442|   255k|}
typeobject.c:PyStackRef_XCLOSE:
  722|   241k|{
  723|   241k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 241k, False: 0]
  ------------------
  724|   241k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 139k, False: 101k]
  ------------------
  725|   139k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 139k, False: 0]
  ------------------
  726|   139k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|   139k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   139k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   139k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|   139k|    }
  728|   241k|}
typeobject.c:PyStackRef_RefcountOnObject:
  534|   303k|{
  535|   303k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   303k|#define Py_TAG_REFCNT 1
  ------------------
  536|   303k|}
typeobject.c:PyStackRef_FromPyObjectSteal:
  567|  87.2k|{
  568|  87.2k|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 87.2k, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  87.2k|#  if SIZEOF_VOID_P > 4
  573|  87.2k|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  87.2k|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  87.2k|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  87.2k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  87.2k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  87.2k|    return ref;
  580|  87.2k|#endif
  581|  87.2k|}
typeobject.c:PyStackRef_FromPyObjectBorrow:
  627|  15.7k|{
  628|  15.7k|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 15.7k, False: 0]
  ------------------
  629|  15.7k|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  15.7k|#define Py_TAG_REFCNT 1
  ------------------
  630|  15.7k|}
typeobject.c:PyStackRef_CLOSE:
  700|  15.7k|{
  701|  15.7k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 15.7k, False: 0]
  ------------------
  702|  15.7k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 30, False: 15.7k]
  ------------------
  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.7k|}
typeobject.c:PyStackRef_AsPyObjectSteal:
  554|  46.3k|{
  555|  46.3k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 46.3k, False: 0]
  ------------------
  556|  46.3k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 46.3k, False: 0]
  ------------------
  557|  46.3k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 46.2k, False: 63]
  ------------------
  558|  46.2k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  46.2k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  46.2k|    }
  560|     63|    else {
  561|     63|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  647|     63|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|     63|    }
  563|  46.3k|}
typeobject.c:_PyThreadState_PushCStackRef:
  787|   325k|{
  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|   325k|    ref->ref = PyStackRef_NULL;
  794|   325k|}
typeobject.c:_PyStackRef_FromPyObjectNew:
  595|  15.3k|{
  596|  15.3k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 15.3k, False: 0]
  ------------------
  597|       |#ifdef Py_GIL_DISABLED
  598|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  599|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  600|       |    }
  601|       |#else
  602|  15.3k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  15.3k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 8.94k, False: 6.42k]
  |  |  ------------------
  ------------------
  603|  8.94k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  8.94k|#define Py_TAG_REFCNT 1
  ------------------
  604|  8.94k|    }
  605|  6.42k|#endif
  606|  6.42k|    _Py_INCREF_MORTAL(obj);
  607|  6.42k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  6.42k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  6.42k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  6.42k|    return ref;
  610|  15.3k|}
typeobject.c:_PyThreadState_PopCStackRef:
  805|   236k|{
  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|   236k|    PyStackRef_XCLOSE(ref->ref);
  812|   236k|}
typeobject.c:_PyThreadState_PopCStackRefSteal:
  816|  89.0k|{
  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|  89.0k|    return ref->ref;
  823|  89.0k|}
typeobject.c:_PyThreadState_PushCStackRefNew:
  798|  2.05k|{
  799|  2.05k|    _PyThreadState_PushCStackRef(tstate, ref);
  800|  2.05k|    ref->ref = PyStackRef_FromPyObjectNew(obj);
  ------------------
  |  |  611|  2.05k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  801|  2.05k|}
ceval.c:_PyThreadState_PushCStackRef:
  787|  87.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|  87.4k|    ref->ref = PyStackRef_NULL;
  794|  87.4k|}
ceval.c:PyStackRef_FromPyObjectBorrow:
  627|  17.1M|{
  628|  17.1M|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 17.1M, False: 0]
  ------------------
  629|  17.1M|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  17.1M|#define Py_TAG_REFCNT 1
  ------------------
  630|  17.1M|}
ceval.c:PyStackRef_AsPyObjectBorrow:
  540|   335M|{
  541|   335M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 335M, False: 0]
  ------------------
  542|   335M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   335M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   335M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   335M|}
ceval.c:PyStackRef_XCLOSE:
  722|  69.8M|{
  723|  69.8M|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 69.8M, False: 0]
  ------------------
  724|  69.8M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 27.5M, False: 42.3M]
  ------------------
  725|  27.5M|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 27.5M, False: 0]
  ------------------
  726|  27.5M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|  27.5M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  27.5M|    }
  728|  69.8M|}
ceval.c:PyStackRef_RefcountOnObject:
  534|   144M|{
  535|   144M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   144M|#define Py_TAG_REFCNT 1
  ------------------
  536|   144M|}
ceval.c:PyStackRef_CLOSE:
  700|  15.6M|{
  701|  15.6M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 15.6M, False: 0]
  ------------------
  702|  15.6M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 5.17M, False: 10.4M]
  ------------------
  703|  5.17M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|  5.17M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.17M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  5.17M|    }
  705|  15.6M|}
ceval.c:_PyThreadState_PopCStackRefSteal:
  816|  87.4k|{
  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|  87.4k|    return ref->ref;
  823|  87.4k|}
ceval.c:PyStackRef_TYPE:
  748|  6.31k|PyStackRef_TYPE(_PyStackRef stackref) {
  749|  6.31k|    if (PyStackRef_IsTaggedInt(stackref)) {
  ------------------
  |  Branch (749:9): [True: 0, False: 6.31k]
  ------------------
  750|      0|        return &PyLong_Type;
  751|      0|    }
  752|  6.31k|    return Py_TYPE(PyStackRef_AsPyObjectBorrow(stackref));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|  6.31k|}
ceval.c:PyStackRef_TagInt:
  446|  3.91M|{
  447|  3.91M|    assert(Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, (intptr_t)(((uintptr_t)i) << Py_TAGGED_SHIFT),
  ------------------
  |  Branch (447:5): [True: 3.91M, False: 0]
  ------------------
  448|  3.91M|                                     Py_TAGGED_SHIFT) == i);
  449|  3.91M|    return (_PyStackRef){ .bits = ((((uintptr_t)i) << Py_TAGGED_SHIFT) | Py_INT_TAG) };
  ------------------
  |  |   58|  3.91M|#define Py_TAGGED_SHIFT 2
  ------------------
                  return (_PyStackRef){ .bits = ((((uintptr_t)i) << Py_TAGGED_SHIFT) | Py_INT_TAG) };
  ------------------
  |  |   53|  3.91M|#define Py_INT_TAG 3
  ------------------
  450|  3.91M|}
ceval.c:PyStackRef_FromPyObjectSteal:
  567|  21.2M|{
  568|  21.2M|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 21.2M, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  21.2M|#  if SIZEOF_VOID_P > 4
  573|  21.2M|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  21.2M|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  21.2M|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  21.2M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  21.2M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  21.2M|    return ref;
  580|  21.2M|#endif
  581|  21.2M|}
ceval.c:PyStackRef_CLOSE_SPECIALIZED:
  710|  52.9M|{
  711|  52.9M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (711:5): [True: 52.9M, False: 0]
  ------------------
  712|  52.9M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (712:9): [True: 4.23M, False: 48.7M]
  ------------------
  713|  4.23M|        Py_DECREF_MORTAL_SPECIALIZED(BITS_TO_PTR(ref), destruct);
  ------------------
  |  |  460|  4.23M|#define Py_DECREF_MORTAL_SPECIALIZED(op, destruct) Py_DECREF_MORTAL_SPECIALIZED(_PyObject_CAST(op), destruct)
  |  |  ------------------
  |  |  |  |  171|  4.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|  4.23M|    }
  715|  52.9M|}
ceval.c:PyStackRef_IsHeapSafe:
  659|  5.22M|{
  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|  5.22M|    return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   56|  5.22M|#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|  10.4M|#define Py_TAG_REFCNT 1
  ------------------
                  return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  479|  4.01M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  ------------------
  |  |  |  |   55|  9.24M|#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|  9.24M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.57M, False: 439k]
  |  |  ------------------
  ------------------
  |  Branch (667:12): [True: 1.21M, False: 4.01M]
  |  Branch (667:57): [True: 809, False: 4.01M]
  ------------------
  668|  5.22M|#endif
  669|  5.22M|}
ceval.c:PyStackRef_AsPyObjectSteal:
  554|  1.56M|{
  555|  1.56M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 1.56M, False: 0]
  ------------------
  556|  1.56M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 1.56M, False: 0]
  ------------------
  557|  1.56M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 525k, False: 1.04M]
  ------------------
  558|   525k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|   525k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|   525k|    }
  560|  1.04M|    else {
  561|  1.04M|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  647|  1.04M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  1.04M|    }
  563|  1.56M|}
ceval.c:_PyStackRef_FromPyObjectNew:
  595|  30.8M|{
  596|  30.8M|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 30.8M, 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|  30.8M|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  30.8M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.28M, False: 27.5M]
  |  |  ------------------
  ------------------
  603|  3.28M|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  3.28M|#define Py_TAG_REFCNT 1
  ------------------
  604|  3.28M|    }
  605|  27.5M|#endif
  606|  27.5M|    _Py_INCREF_MORTAL(obj);
  607|  27.5M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  27.5M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  27.5M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  27.5M|    return ref;
  610|  30.8M|}
ceval.c:PyStackRef_Wrap:
  398|  5.03M|{
  399|  5.03M|    assert(ptr != NULL);
  ------------------
  |  Branch (399:5): [True: 5.03M, False: 0]
  ------------------
  400|       |#ifdef Py_DEBUG
  401|       |    assert(((uintptr_t)ptr & Py_TAG_BITS) == 0);
  402|       |    return (_PyStackRef){ .bits = ((uintptr_t)ptr) | Py_TAG_INVALID };
  403|       |#else
  404|  5.03M|    return (_PyStackRef){ .bits = (uintptr_t)ptr };
  405|  5.03M|#endif
  406|  5.03M|}
ceval.c:PyStackRef_Unwrap:
  410|  5.03M|{
  411|       |#ifdef Py_DEBUG
  412|       |    assert ((ref.bits & Py_TAG_BITS) == Py_TAG_INVALID);
  413|       |    return (void *)(ref.bits & ~Py_TAG_BITS);
  414|       |#else
  415|  5.03M|    return (void *)(ref.bits);
  416|  5.03M|#endif
  417|  5.03M|}
ceval.c:PyStackRef_FromPyObjectStealMortal:
  585|   696k|{
  586|   696k|    assert(obj != NULL);
  ------------------
  |  Branch (586:5): [True: 696k, False: 0]
  ------------------
  587|   696k|    assert(!_Py_IsImmortal(obj));
  ------------------
  |  Branch (587:5): [True: 696k, False: 0]
  ------------------
  588|   696k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  589|   696k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|   696k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  590|   696k|    return ref;
  591|   696k|}
ceval.c:PyStackRef_DUP:
  639|  2.37M|{
  640|  2.37M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (640:5): [True: 2.37M, False: 0]
  ------------------
  641|  2.37M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (641:9): [True: 391k, False: 1.98M]
  ------------------
  642|   391k|        _Py_INCREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  476|   391k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  643|   391k|    }
  644|  2.37M|    return ref;
  645|  2.37M|}
ceval.c:_PyStackRef_CloseStack:
  873|  1.92M|{
  874|       |    // arguments is a pointer into the GC visible stack,
  875|       |    // so we must NULL out values as we clear them.
  876|  4.15M|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (876:32): [True: 2.22M, False: 1.92M]
  ------------------
  877|  2.22M|        _PyStackRef tmp = arguments[i];
  878|  2.22M|        arguments[i] = PyStackRef_NULL;
  879|  2.22M|        PyStackRef_CLOSE(tmp);
  880|  2.22M|    }
  881|  1.92M|}
ceval.c:PyStackRef_IsValid:
  433|   555k|{
  434|       |    /* Invalid values are ERROR and NULL */
  435|   555k|    return ref.bits >= Py_INT_TAG;
  ------------------
  |  |   53|   555k|#define Py_INT_TAG 3
  ------------------
  436|   555k|}
ceval.c:PyStackRef_IsError:
  421|  31.4k|{
  422|  31.4k|    return ref.bits == Py_TAG_INVALID;
  ------------------
  |  |   54|  31.4k|#define Py_TAG_INVALID 2
  ------------------
  423|  31.4k|}
ceval.c:PyStackRef_IsTaggedInt:
  440|   365M|{
  441|   365M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   365M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   365M|#define Py_INT_TAG 3
  ------------------
  442|   365M|}
ceval.c:PyStackRef_UntagInt:
  454|  4.30M|{
  455|  4.30M|    assert(PyStackRef_IsTaggedInt(i));
  ------------------
  |  Branch (455:5): [True: 4.30M, False: 0]
  ------------------
  456|  4.30M|    intptr_t val = (intptr_t)i.bits;
  457|  4.30M|    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, val, Py_TAGGED_SHIFT);
  ------------------
  |  |  226|  4.30M|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
  458|  4.30M|}
ceval.c:PyStackRef_IncrementTaggedIntNoOverflow:
  463|   203k|{
  464|   203k|    assert((ref.bits & Py_TAG_BITS) == Py_INT_TAG); // Is tagged int
  ------------------
  |  Branch (464:5): [True: 203k, False: 0]
  ------------------
  465|   203k|    assert((ref.bits & (~Py_TAG_BITS)) != (INTPTR_MAX & (~Py_TAG_BITS))); // Isn't about to overflow
  ------------------
  |  Branch (465:5): [True: 203k, False: 0]
  ------------------
  466|   203k|    return (_PyStackRef){ .bits = ref.bits + (1 << Py_TAGGED_SHIFT) };
  ------------------
  |  |   58|   203k|#define Py_TAGGED_SHIFT 2
  ------------------
  467|   203k|}
ceval.c:PyStackRef_MakeHeapSafe:
  673|  5.22M|{
  674|  5.22M|    if (PyStackRef_IsHeapSafe(ref)) {
  ------------------
  |  Branch (674:9): [True: 4.78M, False: 439k]
  ------------------
  675|  4.78M|        return ref;
  676|  4.78M|    }
  677|   439k|    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   439k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   439k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  678|   439k|    Py_INCREF(obj);
  ------------------
  |  |  310|   439k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   439k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   439k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|   439k|    ref.bits = (uintptr_t)obj;
  680|   439k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|   439k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  681|   439k|    return ref;
  682|  5.22M|}
ceval.c:PyStackRef_DupImmortal:
  650|  1.94M|{
  651|  1.94M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (651:5): [True: 1.94M, False: 0]
  ------------------
  652|  1.94M|    assert(!PyStackRef_RefcountOnObject(ref));
  ------------------
  |  Branch (652:5): [True: 1.94M, False: 0]
  ------------------
  653|  1.94M|    assert(_Py_IsImmortal(BITS_TO_PTR_MASKED(ref)));
  ------------------
  |  Branch (653:5): [True: 1.94M, False: 0]
  ------------------
  654|  1.94M|    return ref;
  655|  1.94M|}
ceval.c:PyStackRef_Borrow:
  547|  66.7M|{
  548|  66.7M|    return (_PyStackRef){ .bits = ref.bits | Py_TAG_REFCNT };
  ------------------
  |  |   55|  66.7M|#define Py_TAG_REFCNT 1
  ------------------
  549|  66.7M|}
flowgraph.c:PyStackRef_AsPyObjectBorrow:
  540|  38.1k|{
  541|  38.1k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 38.1k, False: 0]
  ------------------
  542|  38.1k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  38.1k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  38.1k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  38.1k|}
flowgraph.c:PyStackRef_IsTaggedInt:
  440|  38.1k|{
  441|  38.1k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  38.1k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  38.1k|#define Py_INT_TAG 3
  ------------------
  442|  38.1k|}
frame.c:PyStackRef_IsTaggedInt:
  440|  44.2k|{
  441|  44.2k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  44.2k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  44.2k|#define Py_INT_TAG 3
  ------------------
  442|  44.2k|}
frame.c:PyStackRef_XCLOSE:
  722|  22.1M|{
  723|  22.1M|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 22.1M, False: 0]
  ------------------
  724|  22.1M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 8.03M, False: 14.1M]
  ------------------
  725|  8.03M|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 8.03M, False: 0]
  ------------------
  726|  8.03M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|  8.03M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  8.03M|    }
  728|  22.1M|}
frame.c:PyStackRef_RefcountOnObject:
  534|  22.1M|{
  535|  22.1M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  22.1M|#define Py_TAG_REFCNT 1
  ------------------
  536|  22.1M|}
frame.c:PyStackRef_MakeHeapSafe:
  673|  33.6k|{
  674|  33.6k|    if (PyStackRef_IsHeapSafe(ref)) {
  ------------------
  |  Branch (674:9): [True: 31.9k, False: 1.68k]
  ------------------
  675|  31.9k|        return ref;
  676|  31.9k|    }
  677|  1.68k|    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  1.68k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  1.68k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  678|  1.68k|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.68k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|  1.68k|    ref.bits = (uintptr_t)obj;
  680|  1.68k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  1.68k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  681|  1.68k|    return ref;
  682|  33.6k|}
frame.c:PyStackRef_IsHeapSafe:
  659|  33.6k|{
  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|  33.6k|    return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   56|  33.6k|#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|  67.3k|#define Py_TAG_REFCNT 1
  ------------------
                  return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  479|  15.9k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  ------------------
  |  |  |  |   55|  49.5k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
                  return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  137|  44.9k|#define _Py_IsImmortal(op) _Py_IsImmortal(_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 (137:28): [True: 9.56k, False: 1.68k]
  |  |  ------------------
  ------------------
  |  Branch (667:12): [True: 17.7k, False: 15.9k]
  |  Branch (667:57): [True: 4.66k, False: 11.2k]
  ------------------
  668|  33.6k|#endif
  669|  33.6k|}
frame.c:PyStackRef_DUP:
  639|  3.58k|{
  640|  3.58k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (640:5): [True: 3.58k, False: 0]
  ------------------
  641|  3.58k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (641:9): [True: 3.58k, False: 0]
  ------------------
  642|  3.58k|        _Py_INCREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  476|  3.58k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  643|  3.58k|    }
  644|  3.58k|    return ref;
  645|  3.58k|}
frame.c:PyStackRef_AsPyObjectBorrow:
  540|  44.2k|{
  541|  44.2k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 44.2k, False: 0]
  ------------------
  542|  44.2k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  44.2k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  44.2k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  44.2k|}
gc.c:PyStackRef_IsTaggedInt:
  440|    468|{
  441|    468|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|    468|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|    468|#define Py_INT_TAG 3
  ------------------
  442|    468|}
gc.c:PyStackRef_RefcountOnObject:
  534|    108|{
  535|    108|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|    108|#define Py_TAG_REFCNT 1
  ------------------
  536|    108|}
gc.c:PyStackRef_AsPyObjectBorrow:
  540|    186|{
  541|    186|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 186, False: 0]
  ------------------
  542|    186|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|    186|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    186|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|    186|}
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|   109k|{
  541|   109k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 109k, False: 0]
  ------------------
  542|   109k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   109k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   109k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   109k|}
specialize.c:PyStackRef_IsTaggedInt:
  440|   109k|{
  441|   109k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   109k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   109k|#define Py_INT_TAG 3
  ------------------
  442|   109k|}
specialize.c:PyStackRef_TYPE:
  748|    129|PyStackRef_TYPE(_PyStackRef stackref) {
  749|    129|    if (PyStackRef_IsTaggedInt(stackref)) {
  ------------------
  |  Branch (749:9): [True: 0, False: 129]
  ------------------
  750|      0|        return &PyLong_Type;
  751|      0|    }
  752|    129|    return Py_TYPE(PyStackRef_AsPyObjectBorrow(stackref));
  ------------------
  |  |  213|    129|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    129|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    129|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|    129|}
sysmodule.c:PyStackRef_AsPyObjectBorrow:
  540|     14|{
  541|     14|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 14, False: 0]
  ------------------
  542|     14|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|     14|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|     14|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|     14|}
sysmodule.c:PyStackRef_IsTaggedInt:
  440|     14|{
  441|     14|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|     14|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|     14|#define Py_INT_TAG 3
  ------------------
  442|     14|}
traceback.c:PyStackRef_AsPyObjectBorrow:
  540|  36.2k|{
  541|  36.2k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 36.2k, False: 0]
  ------------------
  542|  36.2k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  36.2k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  36.2k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  36.2k|}
traceback.c:PyStackRef_IsTaggedInt:
  440|  36.2k|{
  441|  36.2k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  36.2k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  36.2k|#define Py_INT_TAG 3
  ------------------
  442|  36.2k|}
typecache.c:_PyStackRef_FromPyObjectNew:
  595|  2.53M|{
  596|  2.53M|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 2.53M, 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|  2.53M|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  2.53M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 774k, False: 1.76M]
  |  |  ------------------
  ------------------
  603|   774k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|   774k|#define Py_TAG_REFCNT 1
  ------------------
  604|   774k|    }
  605|  1.76M|#endif
  606|  1.76M|    _Py_INCREF_MORTAL(obj);
  607|  1.76M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  1.76M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  1.76M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  1.76M|    return ref;
  610|  2.53M|}
abstract.c:_PyThreadState_PushCStackRef:
  787|    112|{
  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|    112|    ref->ref = PyStackRef_NULL;
  794|    112|}
abstract.c:PyStackRef_FromPyObjectBorrow:
  627|    112|{
  628|    112|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 112, False: 0]
  ------------------
  629|    112|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|    112|#define Py_TAG_REFCNT 1
  ------------------
  630|    112|}
abstract.c:PyStackRef_AsPyObjectBorrow:
  540|    224|{
  541|    224|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 224, False: 0]
  ------------------
  542|    224|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|    224|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    224|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|    224|}
abstract.c:PyStackRef_IsTaggedInt:
  440|    224|{
  441|    224|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|    224|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|    224|#define Py_INT_TAG 3
  ------------------
  442|    224|}
abstract.c:PyStackRef_XCLOSE:
  722|    224|{
  723|    224|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 224, False: 0]
  ------------------
  724|    224|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 112, False: 112]
  ------------------
  725|    112|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 112, False: 0]
  ------------------
  726|    112|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|    112|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|    112|    }
  728|    224|}
abstract.c:PyStackRef_RefcountOnObject:
  534|    224|{
  535|    224|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|    224|#define Py_TAG_REFCNT 1
  ------------------
  536|    224|}
abstract.c:_PyThreadState_PopCStackRef:
  805|    112|{
  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|    112|    PyStackRef_XCLOSE(ref->ref);
  812|    112|}
call.c:_PyThreadState_PushCStackRef:
  787|   258k|{
  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|   258k|    ref->ref = PyStackRef_NULL;
  794|   258k|}
call.c:PyStackRef_FromPyObjectBorrow:
  627|   129k|{
  628|   129k|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 129k, False: 0]
  ------------------
  629|   129k|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|   129k|#define Py_TAG_REFCNT 1
  ------------------
  630|   129k|}
call.c:_PyThreadState_PopCStackRef:
  805|   258k|{
  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|   258k|    PyStackRef_XCLOSE(ref->ref);
  812|   258k|}
call.c:PyStackRef_XCLOSE:
  722|   258k|{
  723|   258k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 258k, False: 0]
  ------------------
  724|   258k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 129k, False: 129k]
  ------------------
  725|   129k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 129k, False: 0]
  ------------------
  726|   129k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|   129k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   129k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|   129k|    }
  728|   258k|}
call.c:PyStackRef_RefcountOnObject:
  534|   258k|{
  535|   258k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   258k|#define Py_TAG_REFCNT 1
  ------------------
  536|   258k|}
call.c:PyStackRef_AsPyObjectBorrow:
  540|   258k|{
  541|   258k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 258k, False: 0]
  ------------------
  542|   258k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   258k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   258k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   258k|}
call.c:PyStackRef_IsTaggedInt:
  440|   258k|{
  441|   258k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   258k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   258k|#define Py_INT_TAG 3
  ------------------
  442|   258k|}
genobject.c:PyStackRef_XCLOSE:
  722|    933|{
  723|    933|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 933, False: 0]
  ------------------
  724|    933|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 933, False: 0]
  ------------------
  725|    933|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 933, False: 0]
  ------------------
  726|    933|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|    933|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    933|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|    933|    }
  728|    933|}
genobject.c:PyStackRef_RefcountOnObject:
  534|    933|{
  535|    933|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|    933|#define Py_TAG_REFCNT 1
  ------------------
  536|    933|}
genobject.c:_PyStackRef_FromPyObjectNew:
  595|  62.5k|{
  596|  62.5k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 62.5k, False: 0]
  ------------------
  597|       |#ifdef Py_GIL_DISABLED
  598|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  599|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  600|       |    }
  601|       |#else
  602|  62.5k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  62.5k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 62.5k, False: 0]
  |  |  ------------------
  ------------------
  603|  62.5k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  62.5k|#define Py_TAG_REFCNT 1
  ------------------
  604|  62.5k|    }
  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|  62.5k|}
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.44k|{
  541|  1.44k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 1.44k, False: 0]
  ------------------
  542|  1.44k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  1.44k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  1.44k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  1.44k|}
frameobject.c:PyStackRef_IsTaggedInt:
  440|  1.44k|{
  441|  1.44k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  1.44k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  1.44k|#define Py_INT_TAG 3
  ------------------
  442|  1.44k|}
frameobject.c:PyStackRef_RefcountOnObject:
  534|  33.6k|{
  535|  33.6k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  33.6k|#define Py_TAG_REFCNT 1
  ------------------
  536|  33.6k|}
frameobject.c:PyStackRef_XCLOSE:
  722|  33.6k|{
  723|  33.6k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 33.6k, False: 0]
  ------------------
  724|  33.6k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 19.4k, False: 14.2k]
  ------------------
  725|  19.4k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 19.4k, False: 0]
  ------------------
  726|  19.4k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  449|  19.4k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  19.4k|    }
  728|  33.6k|}
lazyimportobject.c:PyStackRef_AsPyObjectBorrow:
  540|     30|{
  541|     30|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 30, False: 0]
  ------------------
  542|     30|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|     30|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|     30|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|     30|}
lazyimportobject.c:PyStackRef_IsTaggedInt:
  440|     30|{
  441|     30|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|     30|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|     30|#define Py_INT_TAG 3
  ------------------
  442|     30|}

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|    317|{
   54|    317|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|    317|    do {                                    \
  |  |   45|    317|        assert(op != NULL);                 \
  |  |   46|    634|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|    317|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    317|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|    634|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 317]
  |  |  ------------------
  ------------------
  |  Branch (54:5): [True: 317, False: 0]
  |  Branch (54:5): [True: 317, False: 0]
  ------------------
   55|    317|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|    317|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    317|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 92, False: 225]
  ------------------
   56|     92|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|     92|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|     92|    }
   58|    317|}
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|   523k|{
   54|   523k|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|   523k|    do {                                    \
  |  |   45|   523k|        assert(op != NULL);                 \
  |  |   46|  1.04M|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|   523k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   523k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  1.04M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 523k]
  |  |  ------------------
  ------------------
  |  Branch (54:5): [True: 523k, False: 0]
  |  Branch (54:5): [True: 523k, False: 0]
  ------------------
   55|   523k|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|   523k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|   523k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 31.2k, False: 492k]
  ------------------
   56|  31.2k|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|  31.2k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|  31.2k|    }
   58|   523k|}

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

longobject.c:_PyUnicodeWriter_CanWrite:
  128|     92|{
  129|     92|    assert(!writer->readonly);
  ------------------
  |  Branch (129:5): [True: 92, False: 0]
  ------------------
  130|       |
  131|     92|    PyObject *buffer = writer->buffer;
  132|     92|    assert(buffer != NULL);
  ------------------
  |  Branch (132:5): [True: 92, 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|     92|    assert(Py_REFCNT(buffer) == 1);
  ------------------
  |  Branch (138:5): [True: 92, False: 0]
  ------------------
  139|     92|    assert(PyUnstable_Unicode_GET_CACHED_HASH(buffer) == -1);
  ------------------
  |  Branch (139:5): [True: 92, False: 0]
  ------------------
  140|     92|    assert(!PyUnicode_CHECK_INTERNED(buffer));
  ------------------
  |  Branch (140:5): [True: 92, False: 0]
  ------------------
  141|     92|    assert(!_Py_IsImmortal(buffer));
  ------------------
  |  Branch (141:5): [True: 92, False: 0]
  ------------------
  142|     92|    assert(!_PyUnicode_HAS_UTF8_MEMORY(buffer));
  ------------------
  |  Branch (142:5): [True: 92, False: 0]
  ------------------
  143|     92|    return 1;
  144|     92|}
longobject.c:_PyUnicode_HAS_UTF8_MEMORY:
  119|     92|{
  120|     92|    return (!PyUnicode_IS_COMPACT_ASCII(op)
  ------------------
  |  |  242|    184|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (120:13): [True: 0, False: 92]
  ------------------
  121|      0|            && _PyUnicode_UTF8(op) != NULL
  ------------------
  |  Branch (121:16): [True: 0, False: 0]
  ------------------
  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|     92|}
unicode_writer.c:_PyUnicodeWriter_SetBuffer:
  149|   397k|{
  150|   397k|    assert(writer->pos <= PyUnicode_GET_LENGTH(buffer));
  ------------------
  |  Branch (150:5): [True: 397k, False: 0]
  ------------------
  151|       |
  152|       |    // Py_DECREF() the previous buffer (if any)
  153|   397k|    Py_XSETREF(writer->buffer, buffer);
  ------------------
  |  |  576|   397k|    do { \
  |  |  577|   397k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|   397k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|   397k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|   397k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|   397k|        *_tmp_dst_ptr = (src); \
  |  |  580|   397k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|   397k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   397k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   397k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|   397k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 397k]
  |  |  ------------------
  ------------------
  154|   397k|    writer->data = PyUnicode_DATA(buffer);
  ------------------
  |  |  285|   397k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   397k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   397k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  155|   397k|    writer->kind = PyUnicode_KIND(buffer);
  ------------------
  |  |  259|   397k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   794k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 397k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  156|   397k|    writer->maxchar = PyUnicode_MAX_CHAR_VALUE(buffer);
  ------------------
  |  |  406|   397k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   397k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   397k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|   397k|    writer->size = PyUnicode_GET_LENGTH(buffer);
  ------------------
  |  |  300|   397k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   397k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   397k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  158|   397k|    writer->readonly = 0;
  159|   397k|}
unicode_writer.c:_PyUnicodeWriter_CanWrite:
  128|   649k|{
  129|   649k|    assert(!writer->readonly);
  ------------------
  |  Branch (129:5): [True: 649k, False: 0]
  ------------------
  130|       |
  131|   649k|    PyObject *buffer = writer->buffer;
  132|   649k|    assert(buffer != NULL);
  ------------------
  |  Branch (132:5): [True: 649k, 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|   649k|    assert(Py_REFCNT(buffer) == 1);
  ------------------
  |  Branch (138:5): [True: 649k, False: 0]
  ------------------
  139|   649k|    assert(PyUnstable_Unicode_GET_CACHED_HASH(buffer) == -1);
  ------------------
  |  Branch (139:5): [True: 649k, False: 0]
  ------------------
  140|   649k|    assert(!PyUnicode_CHECK_INTERNED(buffer));
  ------------------
  |  Branch (140:5): [True: 649k, False: 0]
  ------------------
  141|   649k|    assert(!_Py_IsImmortal(buffer));
  ------------------
  |  Branch (141:5): [True: 649k, False: 0]
  ------------------
  142|   649k|    assert(!_PyUnicode_HAS_UTF8_MEMORY(buffer));
  ------------------
  |  Branch (142:5): [True: 649k, False: 0]
  ------------------
  143|   649k|    return 1;
  144|   649k|}
unicode_writer.c:_PyUnicode_HAS_UTF8_MEMORY:
  119|   649k|{
  120|   649k|    return (!PyUnicode_IS_COMPACT_ASCII(op)
  ------------------
  |  |  242|  1.29M|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   649k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   649k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (120:13): [True: 226k, False: 423k]
  ------------------
  121|   226k|            && _PyUnicode_UTF8(op) != NULL
  ------------------
  |  Branch (121:16): [True: 0, False: 226k]
  ------------------
  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|   649k|}
unicode_writer.c:_PyUnicode_UTF8:
  112|   226k|{
  113|   226k|    return FT_ATOMIC_LOAD_PTR_ACQUIRE(_PyCompactUnicodeObject_CAST(op)->utf8);
  ------------------
  |  |  152|  1.58M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |  |  Branch (152:43): [True: 226k, False: 0]
  |  |  |  Branch (152:43): [True: 0, False: 0]
  |  |  |  Branch (152:43): [True: 0, False: 226k]
  |  |  |  Branch (152:43): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  114|   226k|}
unicode_writer.c:_PyUnicodeWriter_WriteCharInline:
  185|  54.4k|{
  186|  54.4k|    if (ch > writer->maxchar || 1 > (writer->size - writer->pos)) {
  ------------------
  |  Branch (186:9): [True: 33.5k, False: 20.8k]
  |  Branch (186:33): [True: 538, False: 20.3k]
  ------------------
  187|  34.1k|        if (writer->buffer == NULL && ch <= 255) {
  ------------------
  |  Branch (187:13): [True: 33.5k, False: 538]
  |  Branch (187:39): [True: 33.5k, False: 0]
  ------------------
  188|       |            // If the first write is a Latin1 character, use the singleton
  189|       |            // as a read-only object
  190|  33.5k|            PyObject *obj = _Py_LATIN1_CHR(ch);
  ------------------
  |  |  955|  33.5k|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (955:6): [True: 33.5k, False: 0]
  |  |  ------------------
  |  |  956|  33.5k|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|  33.5k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  33.5k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  957|  33.5k|     : (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|  33.5k|            _PyUnicodeWriter_SetReadOnly(writer, obj, 1);
  193|  33.5k|            return 0;
  194|  33.5k|        }
  195|       |
  196|    538|        if (_PyUnicodeWriter_PrepareInternal(writer, 1, ch) == -1) {
  ------------------
  |  Branch (196:13): [True: 0, False: 538]
  ------------------
  197|      0|            return -1;
  198|      0|        }
  199|    538|    }
  200|  54.4k|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (200:5): [True: 20.8k, False: 0]
  ------------------
  201|       |
  202|  20.8k|    PyUnicode_WRITE(writer->kind, writer->data, writer->pos, ch);
  ------------------
  |  |  336|  20.8k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|  20.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|  20.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|  20.8k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|  20.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  203|  20.8k|    writer->pos++;
  204|  20.8k|    return 0;
  205|  20.8k|}
unicode_writer.c:_PyUnicodeWriter_SetReadOnly:
  164|  60.5k|{
  165|  60.5k|    assert(writer->buffer == NULL);
  ------------------
  |  Branch (165:5): [True: 60.5k, False: 0]
  ------------------
  166|  60.5k|    assert(writer->pos == 0);
  ------------------
  |  Branch (166:5): [True: 60.5k, False: 0]
  ------------------
  167|       |    // Micro-optimization: pass length as a parameter, as it's usually known
  168|       |    // by the caller
  169|  60.5k|    assert(length == PyUnicode_GET_LENGTH(obj));
  ------------------
  |  Branch (169:5): [True: 60.5k, False: 0]
  ------------------
  170|       |
  171|  60.5k|    writer->buffer = obj;
  172|  60.5k|    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|  60.5k|    writer->kind = 0;
  177|  60.5k|    writer->maxchar = PyUnicode_MAX_CHAR_VALUE(obj);
  ------------------
  |  |  406|  60.5k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  60.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|  60.5k|    writer->size = 0;
  179|  60.5k|    writer->pos = length;
  180|  60.5k|    writer->readonly = 1;
  181|  60.5k|}
unicodeobject.c:_PyUnicode_UTF8:
  112|  36.9M|{
  113|  36.9M|    return FT_ATOMIC_LOAD_PTR_ACQUIRE(_PyCompactUnicodeObject_CAST(op)->utf8);
  ------------------
  |  |  152|   258M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |  |  Branch (152:43): [True: 36.9M, False: 0]
  |  |  |  Branch (152:43): [True: 14, False: 0]
  |  |  |  Branch (152:43): [True: 14, False: 36.9M]
  |  |  |  Branch (152:43): [True: 0, False: 14]
  |  |  ------------------
  ------------------
  114|  36.9M|}
unicodeobject.c:_PyUnicode_HAS_UTF8_MEMORY:
  119|  10.0M|{
  120|  10.0M|    return (!PyUnicode_IS_COMPACT_ASCII(op)
  ------------------
  |  |  242|  20.1M|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (120:13): [True: 7.64M, False: 2.45M]
  ------------------
  121|  7.64M|            && _PyUnicode_UTF8(op) != NULL
  ------------------
  |  Branch (121:16): [True: 12.1k, False: 7.63M]
  ------------------
  122|  12.1k|            && _PyUnicode_UTF8(op) != PyUnicode_DATA(op));
  ------------------
  |  |  285|  12.1k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (122:16): [True: 12.1k, False: 0]
  ------------------
  123|  10.0M|}
unicodeobject.c:_PyUnicodeWriter_CanWrite:
  128|   405k|{
  129|   405k|    assert(!writer->readonly);
  ------------------
  |  Branch (129:5): [True: 405k, False: 0]
  ------------------
  130|       |
  131|   405k|    PyObject *buffer = writer->buffer;
  132|   405k|    assert(buffer != NULL);
  ------------------
  |  Branch (132:5): [True: 405k, 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|   405k|    assert(Py_REFCNT(buffer) == 1);
  ------------------
  |  Branch (138:5): [True: 405k, False: 0]
  ------------------
  139|   405k|    assert(PyUnstable_Unicode_GET_CACHED_HASH(buffer) == -1);
  ------------------
  |  Branch (139:5): [True: 405k, False: 0]
  ------------------
  140|   405k|    assert(!PyUnicode_CHECK_INTERNED(buffer));
  ------------------
  |  Branch (140:5): [True: 405k, False: 0]
  ------------------
  141|   405k|    assert(!_Py_IsImmortal(buffer));
  ------------------
  |  Branch (141:5): [True: 405k, False: 0]
  ------------------
  142|   405k|    assert(!_PyUnicode_HAS_UTF8_MEMORY(buffer));
  ------------------
  |  Branch (142:5): [True: 405k, False: 0]
  ------------------
  143|   405k|    return 1;
  144|   405k|}
unicodeobject.c:_PyUnicodeWriter_WriteCharInline:
  185|   123k|{
  186|   123k|    if (ch > writer->maxchar || 1 > (writer->size - writer->pos)) {
  ------------------
  |  Branch (186:9): [True: 35.1k, False: 88.4k]
  |  Branch (186:33): [True: 141, False: 88.2k]
  ------------------
  187|  35.3k|        if (writer->buffer == NULL && ch <= 255) {
  ------------------
  |  Branch (187:13): [True: 353, False: 34.9k]
  |  Branch (187:39): [True: 353, False: 0]
  ------------------
  188|       |            // If the first write is a Latin1 character, use the singleton
  189|       |            // as a read-only object
  190|    353|            PyObject *obj = _Py_LATIN1_CHR(ch);
  ------------------
  |  |  955|    353|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (955:6): [True: 353, False: 0]
  |  |  ------------------
  |  |  956|    353|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|    353|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    353|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  957|    353|     : (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|    353|            _PyUnicodeWriter_SetReadOnly(writer, obj, 1);
  193|    353|            return 0;
  194|    353|        }
  195|       |
  196|  34.9k|        if (_PyUnicodeWriter_PrepareInternal(writer, 1, ch) == -1) {
  ------------------
  |  Branch (196:13): [True: 0, False: 34.9k]
  ------------------
  197|      0|            return -1;
  198|      0|        }
  199|  34.9k|    }
  200|   123k|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (200:5): [True: 123k, False: 0]
  ------------------
  201|       |
  202|   123k|    PyUnicode_WRITE(writer->kind, writer->data, writer->pos, ch);
  ------------------
  |  |  336|   123k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|   123k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|   123k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|   123k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|   123k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  203|   123k|    writer->pos++;
  204|   123k|    return 0;
  205|   123k|}
unicodeobject.c:_PyUnicodeWriter_SetReadOnly:
  164|    353|{
  165|    353|    assert(writer->buffer == NULL);
  ------------------
  |  Branch (165:5): [True: 353, False: 0]
  ------------------
  166|    353|    assert(writer->pos == 0);
  ------------------
  |  Branch (166:5): [True: 353, False: 0]
  ------------------
  167|       |    // Micro-optimization: pass length as a parameter, as it's usually known
  168|       |    // by the caller
  169|    353|    assert(length == PyUnicode_GET_LENGTH(obj));
  ------------------
  |  Branch (169:5): [True: 353, False: 0]
  ------------------
  170|       |
  171|    353|    writer->buffer = obj;
  172|    353|    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|    353|    writer->kind = 0;
  177|    353|    writer->maxchar = PyUnicode_MAX_CHAR_VALUE(obj);
  ------------------
  |  |  406|    353|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    353|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    353|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|    353|    writer->size = 0;
  179|    353|    writer->pos = length;
  180|    353|    writer->readonly = 1;
  181|    353|}
unicodeobject.c:_PyUnicode_EnsureUnicode:
  101|   550k|{
  102|   550k|    if (!PyUnicode_Check(obj)) {
  ------------------
  |  |  103|   550k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   550k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (102:9): [True: 0, False: 550k]
  ------------------
  103|      0|        PyErr_Format(PyExc_TypeError,
  104|      0|                     "must be str, not %T", obj);
  105|      0|        return -1;
  106|      0|    }
  107|   550k|    return 0;
  108|   550k|}
unicodeobject.c:_PyUnicode_Fill:
   69|  8.31k|{
   70|  8.31k|    assert(0 <= start);
  ------------------
  |  Branch (70:5): [True: 8.31k, False: 0]
  ------------------
   71|  8.31k|    switch (kind) {
   72|  1.56k|    case PyUnicode_1BYTE_KIND: {
  ------------------
  |  Branch (72:5): [True: 1.56k, False: 6.75k]
  ------------------
   73|  1.56k|        assert(value <= 0xff);
  ------------------
  |  Branch (73:9): [True: 1.56k, False: 0]
  ------------------
   74|  1.56k|        Py_UCS1 ch = (unsigned char)value;
   75|  1.56k|        Py_UCS1 *to = (Py_UCS1 *)data + start;
   76|  1.56k|        memset(to, ch, length);
   77|  1.56k|        break;
   78|  1.56k|    }
   79|  5.64k|    case PyUnicode_2BYTE_KIND: {
  ------------------
  |  Branch (79:5): [True: 5.64k, False: 2.67k]
  ------------------
   80|  5.64k|        assert(value <= 0xffff);
  ------------------
  |  Branch (80:9): [True: 5.64k, False: 0]
  ------------------
   81|  5.64k|        Py_UCS2 ch = (Py_UCS2)value;
   82|  5.64k|        Py_UCS2 *to = (Py_UCS2 *)data + start;
   83|  5.64k|        const Py_UCS2 *end = to + length;
   84|  41.0k|        for (; to < end; ++to) *to = ch;
  ------------------
  |  Branch (84:16): [True: 35.4k, False: 5.64k]
  ------------------
   85|  5.64k|        break;
   86|  5.64k|    }
   87|  1.10k|    case PyUnicode_4BYTE_KIND: {
  ------------------
  |  Branch (87:5): [True: 1.10k, False: 7.20k]
  ------------------
   88|  1.10k|        assert(value <= _Py_MAX_UNICODE);
  ------------------
  |  Branch (88:9): [True: 1.10k, False: 0]
  ------------------
   89|  1.10k|        Py_UCS4 ch = value;
   90|  1.10k|        Py_UCS4 * to = (Py_UCS4 *)data + start;
   91|  1.10k|        const Py_UCS4 *end = to + length;
   92|  7.96k|        for (; to < end; ++to) *to = ch;
  ------------------
  |  Branch (92:16): [True: 6.85k, False: 1.10k]
  ------------------
   93|  1.10k|        break;
   94|  1.10k|    }
   95|      0|    default: Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  |  Branch (95:5): [True: 0, False: 8.31k]
  ------------------
   96|  8.31k|    }
   97|  8.31k|}
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|}

typeobject.c:_PyWeakref_GET_REF:
   73|      8|{
   74|      8|    assert(PyWeakref_Check(ref_obj));
  ------------------
  |  Branch (74:5): [True: 0, False: 0]
  |  Branch (74:5): [True: 0, False: 0]
  |  Branch (74:5): [True: 8, False: 0]
  ------------------
   75|      8|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   76|       |
   77|       |#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|      8|    PyObject *obj = ref->wr_object;
   89|      8|    if (obj == Py_None) {
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (89:9): [True: 0, False: 8]
  ------------------
   90|       |        // clear_weakref() was called
   91|      0|        return NULL;
   92|      0|    }
   93|      8|    if (_Py_TryIncref(obj)) {
  ------------------
  |  Branch (93:9): [True: 8, False: 0]
  ------------------
   94|      8|        return obj;
   95|      8|    }
   96|      0|    return NULL;
   97|      8|#endif
   98|      8|}
weakrefobject.c:_PyWeakref_GET_REF:
   73|    678|{
   74|    678|    assert(PyWeakref_Check(ref_obj));
  ------------------
  |  Branch (74:5): [True: 0, False: 0]
  |  Branch (74:5): [True: 0, False: 0]
  |  Branch (74:5): [True: 678, False: 0]
  ------------------
   75|    678|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|    678|#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|    678|    PyObject *obj = ref->wr_object;
   89|    678|    if (obj == Py_None) {
  ------------------
  |  |  616|    678|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (89:9): [True: 0, False: 678]
  ------------------
   90|       |        // clear_weakref() was called
   91|      0|        return NULL;
   92|      0|    }
   93|    678|    if (_Py_TryIncref(obj)) {
  ------------------
  |  Branch (93:9): [True: 678, False: 0]
  ------------------
   94|    678|        return obj;
   95|    678|    }
   96|      0|    return NULL;
   97|    678|#endif
   98|    678|}
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|    411|{
  102|    411|    assert(PyWeakref_Check(ref_obj));
  ------------------
  |  Branch (102:5): [True: 0, False: 0]
  |  Branch (102:5): [True: 0, False: 0]
  |  Branch (102:5): [True: 411, False: 0]
  ------------------
  103|    411|    int ret = 0;
  104|    411|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|    411|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  105|    411|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  147|    411|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  106|    411|    if (obj == Py_None) {
  ------------------
  |  |  616|    411|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (106:9): [True: 411, False: 0]
  ------------------
  107|       |        // clear_weakref() was called
  108|    411|        ret = 1;
  109|    411|    }
  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|    411|    return ret;
  121|    411|}

exceptions.c:PyType_Check:
  762|   101k|static inline int PyType_Check(PyObject *op) {
  763|   101k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   101k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   101k|}
exceptions.c:PyType_HasFeature:
  749|   631k|{
  750|   631k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   631k|    flags = type->tp_flags;
  756|   631k|#endif
  757|   631k|    return ((flags & feature) != 0);
  758|   631k|}
exceptions.c:_Py_SIZE_impl:
  240|  69.3k|{
  241|  69.3k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 69.3k, False: 0]
  ------------------
  242|  69.3k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 69.3k, False: 0]
  ------------------
  243|  69.3k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  69.3k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  69.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  69.3k|}
exceptions.c:_Py_TYPE_impl:
  233|  1.15M|{
  234|  1.15M|    return ob->ob_type;
  235|  1.15M|}
exceptions.c:PyObject_TypeCheck:
  374|   110k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|   110k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   221k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   110k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   110k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 26.8k, False: 83.8k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  83.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  83.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  83.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 83.8k, False: 0]
  ------------------
  376|   110k|}
exceptions.c:_Py_IS_TYPE_impl:
  248|   152k|{
  249|   152k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   152k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   152k|}
genericaliasobject.c:PyType_HasFeature:
  749|     79|{
  750|     79|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     79|    flags = type->tp_flags;
  756|     79|#endif
  757|     79|    return ((flags & feature) != 0);
  758|     79|}
genericaliasobject.c:_Py_TYPE_impl:
  233|     84|{
  234|     84|    return ob->ob_type;
  235|     84|}
listobject.c:_Py_SET_SIZE_impl:
  254|  5.31M|{
  255|  5.31M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 5.31M, False: 0]
  ------------------
  256|  5.31M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 5.31M, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  5.31M|    ob->ob_size = size;
  261|  5.31M|#endif
  262|  5.31M|}
listobject.c:PyType_HasFeature:
  749|  18.9M|{
  750|  18.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|  18.9M|    flags = type->tp_flags;
  756|  18.9M|#endif
  757|  18.9M|    return ((flags & feature) != 0);
  758|  18.9M|}
listobject.c:_Py_TYPE_impl:
  233|  49.3M|{
  234|  49.3M|    return ob->ob_type;
  235|  49.3M|}
listobject.c:_Py_SIZE_impl:
  240|  7.86M|{
  241|  7.86M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 7.86M, False: 0]
  ------------------
  242|  7.86M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 7.86M, False: 0]
  ------------------
  243|  7.86M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  7.86M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  7.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  7.86M|}
listobject.c:_Py_IS_TYPE_impl:
  248|  3.46M|{
  249|  3.46M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  3.46M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  3.46M|}
longobject.c:Py_SET_TYPE:
  206|  1.26M|{
  207|  1.26M|    ob->ob_type = type;
  208|  1.26M|}
longobject.c:PyType_HasFeature:
  749|   822M|{
  750|   822M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   822M|    flags = type->tp_flags;
  756|   822M|#endif
  757|   822M|    return ((flags & feature) != 0);
  758|   822M|}
longobject.c:_Py_TYPE_impl:
  233|   106M|{
  234|   106M|    return ob->ob_type;
  235|   106M|}
longobject.c:_Py_IS_TYPE_impl:
  248|  6.88M|{
  249|  6.88M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  6.88M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.88M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.88M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  6.88M|}
longobject.c:_Py_SIZE_impl:
  240|    624|{
  241|    624|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 624, False: 0]
  ------------------
  242|    624|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 624, False: 0]
  ------------------
  243|    624|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    624|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    624|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    624|}
longobject.c:PyObject_TypeCheck:
  374|    312|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    312|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    624|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    312|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    312|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 312, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|    312|}
longobject.c:PyType_Check:
  762|    104|static inline int PyType_Check(PyObject *op) {
  763|    104|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    104|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    104|}
dictobject.c:PyType_HasFeature:
  749|  41.2M|{
  750|  41.2M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  41.2M|    flags = type->tp_flags;
  756|  41.2M|#endif
  757|  41.2M|    return ((flags & feature) != 0);
  758|  41.2M|}
dictobject.c:_Py_TYPE_impl:
  233|   111M|{
  234|   111M|    return ob->ob_type;
  235|   111M|}
dictobject.c:PyObject_TypeCheck:
  374|  7.39M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  7.39M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  14.7M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  7.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 309, False: 7.39M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  7.39M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 7.39M]
  ------------------
  376|  7.39M|}
dictobject.c:_Py_IS_TYPE_impl:
  248|  43.9M|{
  249|  43.9M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  43.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  43.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  43.9M|}
dictobject.c:_Py_SIZE_impl:
  240|  1.73k|{
  241|  1.73k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.73k, False: 0]
  ------------------
  242|  1.73k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.73k, False: 0]
  ------------------
  243|  1.73k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.73k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.73k|}
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|  74.8k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  74.8k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   149k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  74.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 74.8k, 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|  74.8k|}
moduleobject.c:Py_SET_TYPE:
  206|     51|{
  207|     51|    ob->ob_type = type;
  208|     51|}
moduleobject.c:PyType_HasFeature:
  749|  10.0k|{
  750|  10.0k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  10.0k|    flags = type->tp_flags;
  756|  10.0k|#endif
  757|  10.0k|    return ((flags & feature) != 0);
  758|  10.0k|}
moduleobject.c:_Py_TYPE_impl:
  233|   687k|{
  234|   687k|    return ob->ob_type;
  235|   687k|}
moduleobject.c:_Py_IS_TYPE_impl:
  248|   677k|{
  249|   677k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   677k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   677k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   677k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   677k|}
moduleobject.c:_Py_SIZE_impl:
  240|    125|{
  241|    125|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 125, False: 0]
  ------------------
  242|    125|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 125, False: 0]
  ------------------
  243|    125|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    125|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    125|}
object.c:_Py_TYPE_impl:
  233|  1.53G|{
  234|  1.53G|    return ob->ob_type;
  235|  1.53G|}
object.c:PyType_HasFeature:
  749|  9.22M|{
  750|  9.22M|    unsigned 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.22M|    flags = type->tp_flags;
  756|  9.22M|#endif
  757|  9.22M|    return ((flags & feature) != 0);
  758|  9.22M|}
object.c:Py_SET_TYPE:
  206|   158k|{
  207|   158k|    ob->ob_type = type;
  208|   158k|}
object.c:_Py_IS_TYPE_impl:
  248|  53.8M|{
  249|  53.8M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  53.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  53.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  53.8M|}
object.c:_Py_SIZE_impl:
  240|    124|{
  241|    124|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 124, False: 0]
  ------------------
  242|    124|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 124, False: 0]
  ------------------
  243|    124|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    124|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    124|}
object.c:_Py_SET_SIZE_impl:
  254|  77.8k|{
  255|  77.8k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 77.8k, False: 0]
  ------------------
  256|  77.8k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 77.8k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  77.8k|    ob->ob_size = size;
  261|  77.8k|#endif
  262|  77.8k|}
rangeobject.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|}
rangeobject.c:_Py_TYPE_impl:
  233|  2.66k|{
  234|  2.66k|    return ob->ob_type;
  235|  2.66k|}
rangeobject.c:PyType_HasFeature:
  749|  1.57k|{
  750|  1.57k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.57k|    flags = type->tp_flags;
  756|  1.57k|#endif
  757|  1.57k|    return ((flags & feature) != 0);
  758|  1.57k|}
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|    139|{
  234|    139|    return ob->ob_type;
  235|    139|}
sentinelobject.c:_Py_IS_TYPE_impl:
  248|     95|{
  249|     95|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     95|}
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.22M|{
  750|  1.22M|    unsigned 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.22M|    flags = type->tp_flags;
  756|  1.22M|#endif
  757|  1.22M|    return ((flags & feature) != 0);
  758|  1.22M|}
setobject.c:_Py_IS_TYPE_impl:
  248|  8.10M|{
  249|  8.10M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  8.10M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  8.10M|}
setobject.c:_Py_TYPE_impl:
  233|  10.2M|{
  234|  10.2M|    return ob->ob_type;
  235|  10.2M|}
setobject.c:PyType_Check:
  762|   847k|static inline int PyType_Check(PyObject *op) {
  763|   847k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   847k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   847k|}
sliceobject.c:_Py_IS_TYPE_impl:
  248|  40.0k|{
  249|  40.0k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  40.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  40.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  40.0k|}
sliceobject.c:PyType_HasFeature:
  749|     40|{
  750|     40|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     40|    flags = type->tp_flags;
  756|     40|#endif
  757|     40|    return ((flags & feature) != 0);
  758|     40|}
sliceobject.c:_Py_TYPE_impl:
  233|  40.1k|{
  234|  40.1k|    return ob->ob_type;
  235|  40.1k|}
structseq.c:PyType_HasFeature:
  749|  12.2k|{
  750|  12.2k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  12.2k|    flags = type->tp_flags;
  756|  12.2k|#endif
  757|  12.2k|    return ((flags & feature) != 0);
  758|  12.2k|}
structseq.c:_Py_TYPE_impl:
  233|  50.4k|{
  234|  50.4k|    return ob->ob_type;
  235|  50.4k|}
structseq.c:_Py_SET_SIZE_impl:
  254|    603|{
  255|    603|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 603, False: 0]
  ------------------
  256|    603|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 603, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|    603|    ob->ob_size = size;
  261|    603|#endif
  262|    603|}
structseq.c:_Py_SIZE_impl:
  240|  12.2k|{
  241|  12.2k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 12.2k, False: 0]
  ------------------
  242|  12.2k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 12.2k, False: 0]
  ------------------
  243|  12.2k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  12.2k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  12.2k|}
structseq.c:Py_SET_TYPE:
  206|     16|{
  207|     16|    ob->ob_type = type;
  208|     16|}
tupleobject.c:PyType_HasFeature:
  749|   914M|{
  750|   914M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   914M|    flags = type->tp_flags;
  756|   914M|#endif
  757|   914M|    return ((flags & feature) != 0);
  758|   914M|}
tupleobject.c:_Py_TYPE_impl:
  233|  3.44G|{
  234|  3.44G|    return ob->ob_type;
  235|  3.44G|}
tupleobject.c:_Py_SIZE_impl:
  240|   845M|{
  241|   845M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 845M, False: 0]
  ------------------
  242|   845M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 845M, False: 0]
  ------------------
  243|   845M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   845M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   845M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   845M|}
tupleobject.c:_Py_IS_TYPE_impl:
  248|   231M|{
  249|   231M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   231M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   231M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   231M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   231M|}
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|  60.7k|static inline int PyType_Check(PyObject *op) {
  763|  60.7k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  60.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  60.7k|}
typeobject.c:_Py_IS_TYPE_impl:
  248|  4.99M|{
  249|  4.99M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.99M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.99M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.99M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.99M|}
typeobject.c:PyType_HasFeature:
  749|  65.1M|{
  750|  65.1M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  65.1M|    flags = type->tp_flags;
  756|  65.1M|#endif
  757|  65.1M|    return ((flags & feature) != 0);
  758|  65.1M|}
typeobject.c:_Py_TYPE_impl:
  233|   100M|{
  234|   100M|    return ob->ob_type;
  235|   100M|}
typeobject.c:Py_SET_TYPE:
  206|  1.58M|{
  207|  1.58M|    ob->ob_type = type;
  208|  1.58M|}
typeobject.c:_Py_SET_SIZE_impl:
  254|  1.27k|{
  255|  1.27k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 1.27k, False: 0]
  ------------------
  256|  1.27k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 1.27k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  1.27k|    ob->ob_size = size;
  261|  1.27k|#endif
  262|  1.27k|}
typeobject.c:_Py_SIZE_impl:
  240|  14.0M|{
  241|  14.0M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 14.0M, False: 0]
  ------------------
  242|  14.0M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 14.0M, False: 0]
  ------------------
  243|  14.0M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  14.0M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  14.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  14.0M|}
typeobject.c:PyObject_TypeCheck:
  374|   101k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|   101k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   203k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   101k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   101k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 96.0k, False: 5.63k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  5.63k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 5.63k, False: 0]
  ------------------
  376|   101k|}
unicode_formatter.c:PyType_HasFeature:
  749|    736|{
  750|    736|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    736|    flags = type->tp_flags;
  756|    736|#endif
  757|    736|    return ((flags & feature) != 0);
  758|    736|}
unicode_formatter.c:_Py_TYPE_impl:
  233|    828|{
  234|    828|    return ob->ob_type;
  235|    828|}
unicode_formatter.c:_Py_IS_TYPE_impl:
  248|     92|{
  249|     92|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     92|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     92|}
unicode_writer.c:PyType_HasFeature:
  749|  7.41M|{
  750|  7.41M|    unsigned 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.41M|    flags = type->tp_flags;
  756|  7.41M|#endif
  757|  7.41M|    return ((flags & feature) != 0);
  758|  7.41M|}
unicode_writer.c:_Py_TYPE_impl:
  233|  7.65M|{
  234|  7.65M|    return ob->ob_type;
  235|  7.65M|}
unicode_writer.c:_Py_IS_TYPE_impl:
  248|  26.9k|{
  249|  26.9k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  26.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  26.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  26.9k|}
unicodeobject.c:PyType_HasFeature:
  749|   481M|{
  750|   481M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   481M|    flags = type->tp_flags;
  756|   481M|#endif
  757|   481M|    return ((flags & feature) != 0);
  758|   481M|}
unicodeobject.c:_Py_TYPE_impl:
  233|   499M|{
  234|   499M|    return ob->ob_type;
  235|   499M|}
unicodeobject.c:Py_SET_TYPE:
  206|  9.32M|{
  207|  9.32M|    ob->ob_type = type;
  208|  9.32M|}
unicodeobject.c:_Py_IS_TYPE_impl:
  248|  5.78M|{
  249|  5.78M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  5.78M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  5.78M|}
unicodeobject.c:PyType_Check:
  762|   168k|static inline int PyType_Check(PyObject *op) {
  763|   168k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   168k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   168k|}
unicodeobject.c:_Py_SIZE_impl:
  240|   505k|{
  241|   505k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 505k, False: 0]
  ------------------
  242|   505k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 505k, False: 0]
  ------------------
  243|   505k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   505k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   505k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   505k|}
unicodeobject.c:_Py_SET_SIZE_impl:
  254|    382|{
  255|    382|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 382, False: 0]
  ------------------
  256|    382|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 382, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|    382|    ob->ob_size = size;
  261|    382|#endif
  262|    382|}
unionobject.c:PyType_Check:
  762|     46|static inline int PyType_Check(PyObject *op) {
  763|     46|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     46|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     46|}
unionobject.c:PyType_HasFeature:
  749|     91|{
  750|     91|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     91|    flags = type->tp_flags;
  756|     91|#endif
  757|     91|    return ((flags & feature) != 0);
  758|     91|}
unionobject.c:_Py_TYPE_impl:
  233|    228|{
  234|    228|    return ob->ob_type;
  235|    228|}
unionobject.c:_Py_IS_TYPE_impl:
  248|     46|{
  249|     46|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     46|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     46|}
unionobject.c:_Py_SIZE_impl:
  240|     45|{
  241|     45|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 45, False: 0]
  ------------------
  242|     45|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 45, False: 0]
  ------------------
  243|     45|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     45|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     45|}
weakrefobject.c:_Py_TYPE_impl:
  233|  1.18M|{
  234|  1.18M|    return ob->ob_type;
  235|  1.18M|}
weakrefobject.c:PyType_Check:
  762|   380k|static inline int PyType_Check(PyObject *op) {
  763|   380k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   380k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   380k|}
weakrefobject.c:PyObject_TypeCheck:
  374|  24.9k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  24.9k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  49.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  24.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 24.5k, False: 411]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 411, False: 0]
  ------------------
  376|  24.9k|}
weakrefobject.c:_Py_IS_TYPE_impl:
  248|  27.2k|{
  249|  27.2k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  27.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  27.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  27.2k|}
weakrefobject.c:_Py_SIZE_impl:
  240|  4.04k|{
  241|  4.04k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 4.04k, False: 0]
  ------------------
  242|  4.04k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 4.04k, False: 0]
  ------------------
  243|  4.04k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  4.04k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  4.04k|}
weakrefobject.c:PyType_HasFeature:
  749|   388k|{
  750|   388k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   388k|    flags = type->tp_flags;
  756|   388k|#endif
  757|   388k|    return ((flags & feature) != 0);
  758|   388k|}
_warnings.c:PyType_HasFeature:
  749|  2.19M|{
  750|  2.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|  2.19M|    flags = type->tp_flags;
  756|  2.19M|#endif
  757|  2.19M|    return ((flags & feature) != 0);
  758|  2.19M|}
_warnings.c:_Py_TYPE_impl:
  233|  3.27M|{
  234|  3.27M|    return ob->ob_type;
  235|  3.27M|}
_warnings.c:_Py_SIZE_impl:
  240|   455k|{
  241|   455k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 455k, False: 0]
  ------------------
  242|   455k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 455k, False: 0]
  ------------------
  243|   455k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   455k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   455k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   455k|}
_warnings.c:_Py_IS_TYPE_impl:
  248|   124k|{
  249|   124k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   124k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   124k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   124k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   124k|}
_warnings.c:PyObject_TypeCheck:
  374|  41.4k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  41.4k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  82.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 41.4k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  41.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 41.4k]
  ------------------
  376|  41.4k|}
bltinmodule.c:_Py_SIZE_impl:
  240|  1.25k|{
  241|  1.25k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.25k, False: 0]
  ------------------
  242|  1.25k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.25k, False: 0]
  ------------------
  243|  1.25k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.25k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.25k|}
bltinmodule.c:PyType_Check:
  762|  1.51k|static inline int PyType_Check(PyObject *op) {
  763|  1.51k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.51k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.51k|}
bltinmodule.c:_Py_IS_TYPE_impl:
  248|  63.7k|{
  249|  63.7k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  63.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  63.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  63.7k|}
bltinmodule.c:PyType_HasFeature:
  749|  39.1M|{
  750|  39.1M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  39.1M|    flags = type->tp_flags;
  756|  39.1M|#endif
  757|  39.1M|    return ((flags & feature) != 0);
  758|  39.1M|}
bltinmodule.c:_Py_TYPE_impl:
  233|  39.0M|{
  234|  39.0M|    return ob->ob_type;
  235|  39.0M|}
ceval.c:PyType_HasFeature:
  749|   185M|{
  750|   185M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   185M|    flags = type->tp_flags;
  756|   185M|#endif
  757|   185M|    return ((flags & feature) != 0);
  758|   185M|}
ceval.c:_Py_TYPE_impl:
  233|   225M|{
  234|   225M|    return ob->ob_type;
  235|   225M|}
ceval.c:PyType_Check:
  762|   473k|static inline int PyType_Check(PyObject *op) {
  763|   473k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   473k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   473k|}
ceval.c:_Py_IS_TYPE_impl:
  248|   123M|{
  249|   123M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   123M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   123M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   123M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   123M|}
ceval.c:PyObject_TypeCheck:
  374|  19.4M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  19.4M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  38.8M|#  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: 19.4M, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|  19.4M|}
ceval.c:_Py_SIZE_impl:
  240|  2.41M|{
  241|  2.41M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 2.41M, False: 0]
  ------------------
  242|  2.41M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 2.41M, False: 0]
  ------------------
  243|  2.41M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  2.41M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.41M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  2.41M|}
ceval.c:_Py_SET_SIZE_impl:
  254|   615k|{
  255|   615k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 615k, False: 0]
  ------------------
  256|   615k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 615k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|   615k|    ob->ob_size = size;
  261|   615k|#endif
  262|   615k|}
codecs.c:_Py_IS_TYPE_impl:
  248|  43.0k|{
  249|  43.0k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  43.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  43.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  43.0k|}
codecs.c:_Py_SIZE_impl:
  240|  84.6k|{
  241|  84.6k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 84.6k, False: 0]
  ------------------
  242|  84.6k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 84.6k, False: 0]
  ------------------
  243|  84.6k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  84.6k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  84.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  84.6k|}
codecs.c:PyType_HasFeature:
  749|   243k|{
  750|   243k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   243k|    flags = type->tp_flags;
  756|   243k|#endif
  757|   243k|    return ((flags & feature) != 0);
  758|   243k|}
codecs.c:_Py_TYPE_impl:
  233|   487k|{
  234|   487k|    return ob->ob_type;
  235|   487k|}
codegen.c:PyType_HasFeature:
  749|   189k|{
  750|   189k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   189k|    flags = type->tp_flags;
  756|   189k|#endif
  757|   189k|    return ((flags & feature) != 0);
  758|   189k|}
codegen.c:_Py_TYPE_impl:
  233|   453k|{
  234|   453k|    return ob->ob_type;
  235|   453k|}
codegen.c:_Py_SIZE_impl:
  240|  64.7k|{
  241|  64.7k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 64.7k, False: 0]
  ------------------
  242|  64.7k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 64.7k, False: 0]
  ------------------
  243|  64.7k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  64.7k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  64.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  64.7k|}
codegen.c:_Py_IS_TYPE_impl:
  248|  89.6k|{
  249|  89.6k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  89.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  89.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  89.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  89.6k|}
codegen.c:PyObject_TypeCheck:
  374|  21.8k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  21.8k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  43.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  21.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 546, False: 21.3k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  21.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  21.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 21.3k]
  ------------------
  376|  21.8k|}
compile.c:_Py_SIZE_impl:
  240|   721k|{
  241|   721k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 721k, False: 0]
  ------------------
  242|   721k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 721k, False: 0]
  ------------------
  243|   721k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   721k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   721k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   721k|}
compile.c:PyType_HasFeature:
  749|  7.43M|{
  750|  7.43M|    unsigned 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.43M|    flags = type->tp_flags;
  756|  7.43M|#endif
  757|  7.43M|    return ((flags & feature) != 0);
  758|  7.43M|}
compile.c:_Py_TYPE_impl:
  233|  26.7M|{
  234|  26.7M|    return ob->ob_type;
  235|  26.7M|}
compile.c:_Py_IS_TYPE_impl:
  248|  17.8M|{
  249|  17.8M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  17.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  17.8M|}
context.c:_Py_IS_TYPE_impl:
  248|  54.5k|{
  249|  54.5k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  54.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  54.5k|}
context.c:_Py_TYPE_impl:
  233|  54.5k|{
  234|  54.5k|    return ob->ob_type;
  235|  54.5k|}
context.c:PyType_HasFeature:
  749|      4|{
  750|      4|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      4|    flags = type->tp_flags;
  756|      4|#endif
  757|      4|    return ((flags & feature) != 0);
  758|      4|}
errors.c:PyType_Check:
  762|   349k|static inline int PyType_Check(PyObject *op) {
  763|   349k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   349k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   349k|}
errors.c:PyType_HasFeature:
  749|  1.28M|{
  750|  1.28M|    unsigned 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.28M|    flags = type->tp_flags;
  756|  1.28M|#endif
  757|  1.28M|    return ((flags & feature) != 0);
  758|  1.28M|}
errors.c:_Py_TYPE_impl:
  233|  1.18M|{
  234|  1.18M|    return ob->ob_type;
  235|  1.18M|}
errors.c:_Py_SIZE_impl:
  240|    916|{
  241|    916|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 916, False: 0]
  ------------------
  242|    916|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 916, False: 0]
  ------------------
  243|    916|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    916|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    916|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    916|}
flowgraph.c:_Py_SIZE_impl:
  240|  4.08M|{
  241|  4.08M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 4.08M, False: 0]
  ------------------
  242|  4.08M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 4.08M, False: 0]
  ------------------
  243|  4.08M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  4.08M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  4.08M|}
flowgraph.c:PyType_HasFeature:
  749|  12.4M|{
  750|  12.4M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  12.4M|    flags = type->tp_flags;
  756|  12.4M|#endif
  757|  12.4M|    return ((flags & feature) != 0);
  758|  12.4M|}
flowgraph.c:_Py_TYPE_impl:
  233|  30.1M|{
  234|  30.1M|    return ob->ob_type;
  235|  30.1M|}
flowgraph.c:_Py_IS_TYPE_impl:
  248|  9.50M|{
  249|  9.50M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  9.50M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  9.50M|}
frame.c:_Py_IS_TYPE_impl:
  248|  44.2k|{
  249|  44.2k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  44.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  44.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  44.2k|}
frame.c:_Py_TYPE_impl:
  233|  44.2k|{
  234|  44.2k|    return ob->ob_type;
  235|  44.2k|}
gc.c:_Py_SIZE_impl:
  240|  33.1k|{
  241|  33.1k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 33.1k, False: 0]
  ------------------
  242|  33.1k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 33.1k, False: 0]
  ------------------
  243|  33.1k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  33.1k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  33.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  33.1k|}
gc.c:PyType_HasFeature:
  749|  33.9k|{
  750|  33.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|  33.9k|    flags = type->tp_flags;
  756|  33.9k|#endif
  757|  33.9k|    return ((flags & feature) != 0);
  758|  33.9k|}
gc.c:_Py_IS_TYPE_impl:
  248|  72.4M|{
  249|  72.4M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  72.4M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  72.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  72.4M|}
gc.c:PyType_Check:
  762|    742|static inline int PyType_Check(PyObject *op) {
  763|    742|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    742|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    742|}
gc.c:PyObject_TypeCheck:
  374|  2.06k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  2.06k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  4.12k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 2.06k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  2.06k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 2.06k]
  ------------------
  376|  2.06k|}
gc.c:Py_SET_TYPE:
  206|  86.1M|{
  207|  86.1M|    ob->ob_type = type;
  208|  86.1M|}
gc.c:_Py_TYPE_impl:
  233|  1.64G|{
  234|  1.64G|    return ob->ob_type;
  235|  1.64G|}
gc.c:_Py_SET_SIZE_impl:
  254|  85.6M|{
  255|  85.6M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 85.6M, False: 0]
  ------------------
  256|  85.6M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 85.6M, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  85.6M|    ob->ob_size = size;
  261|  85.6M|#endif
  262|  85.6M|}
getargs.c:PyType_HasFeature:
  749|   397k|{
  750|   397k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   397k|    flags = type->tp_flags;
  756|   397k|#endif
  757|   397k|    return ((flags & feature) != 0);
  758|   397k|}
getargs.c:_Py_TYPE_impl:
  233|   597k|{
  234|   597k|    return ob->ob_type;
  235|   597k|}
getargs.c:_Py_SIZE_impl:
  240|  99.0k|{
  241|  99.0k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 99.0k, False: 0]
  ------------------
  242|  99.0k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 99.0k, False: 0]
  ------------------
  243|  99.0k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  99.0k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  99.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  99.0k|}
getargs.c:_Py_IS_TYPE_impl:
  248|    381|{
  249|    381|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    381|}
hamt.c:_Py_IS_TYPE_impl:
  248|  13.1k|{
  249|  13.1k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  13.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  13.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  13.1k|}
hamt.c:_Py_TYPE_impl:
  233|  13.1k|{
  234|  13.1k|    return ob->ob_type;
  235|  13.1k|}
hamt.c:_Py_SIZE_impl:
  240|     17|{
  241|     17|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 17, False: 0]
  ------------------
  242|     17|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 17, False: 0]
  ------------------
  243|     17|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     17|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     17|}
hamt.c:_Py_SET_SIZE_impl:
  254|      1|{
  255|      1|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 1, False: 0]
  ------------------
  256|      1|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 1, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|      1|    ob->ob_size = size;
  261|      1|#endif
  262|      1|}
import.c:_Py_SIZE_impl:
  240|     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|   813k|{
  750|   813k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   813k|    flags = type->tp_flags;
  756|   813k|#endif
  757|   813k|    return ((flags & feature) != 0);
  758|   813k|}
import.c:_Py_TYPE_impl:
  233|   815k|{
  234|   815k|    return ob->ob_type;
  235|   815k|}
import.c:PyObject_TypeCheck:
  374|    929|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    929|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.85k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    929|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    929|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 929, 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|    929|}
import.c:_Py_IS_TYPE_impl:
  248|  1.42k|{
  249|  1.42k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.42k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.42k|}
importdl.c:PyType_HasFeature:
  749|    126|{
  750|    126|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    126|    flags = type->tp_flags;
  756|    126|#endif
  757|    126|    return ((flags & feature) != 0);
  758|    126|}
importdl.c:_Py_TYPE_impl:
  233|    212|{
  234|    212|    return ob->ob_type;
  235|    212|}
importdl.c:_Py_IS_TYPE_impl:
  248|     86|{
  249|     86|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     86|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     86|}
importdl.c:PyObject_TypeCheck:
  374|     43|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     43|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     86|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 43, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|     43|}
initconfig.c:PyType_HasFeature:
  749|     64|{
  750|     64|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     64|    flags = type->tp_flags;
  756|     64|#endif
  757|     64|    return ((flags & feature) != 0);
  758|     64|}
initconfig.c:_Py_TYPE_impl:
  233|    100|{
  234|    100|    return ob->ob_type;
  235|    100|}
initconfig.c:_Py_SIZE_impl:
  240|     10|{
  241|     10|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 10, False: 0]
  ------------------
  242|     10|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 10, False: 0]
  ------------------
  243|     10|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     10|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     10|}
initconfig.c:_Py_IS_TYPE_impl:
  248|     16|{
  249|     16|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     16|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     16|}
intrinsics.c:PyType_HasFeature:
  749|  10.1k|{
  750|  10.1k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  10.1k|    flags = type->tp_flags;
  756|  10.1k|#endif
  757|  10.1k|    return ((flags & feature) != 0);
  758|  10.1k|}
intrinsics.c:_Py_TYPE_impl:
  233|  11.9k|{
  234|  11.9k|    return ob->ob_type;
  235|  11.9k|}
intrinsics.c:_Py_IS_TYPE_impl:
  248|  1.84k|{
  249|  1.84k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.84k|#  define Py_TYPE(ob) _Py_TYPE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.84k|}
marshal.c:PyType_HasFeature:
  749|   128k|{
  750|   128k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   128k|    flags = type->tp_flags;
  756|   128k|#endif
  757|   128k|    return ((flags & feature) != 0);
  758|   128k|}
marshal.c:_Py_TYPE_impl:
  233|   304k|{
  234|   304k|    return ob->ob_type;
  235|   304k|}
marshal.c:_Py_SIZE_impl:
  240|  88.4k|{
  241|  88.4k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 88.4k, False: 0]
  ------------------
  242|  88.4k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 88.4k, False: 0]
  ------------------
  243|  88.4k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  88.4k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  88.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  88.4k|}
modsupport.c:_Py_TYPE_impl:
  233|   514k|{
  234|   514k|    return ob->ob_type;
  235|   514k|}
modsupport.c:PyType_HasFeature:
  749|   171k|{
  750|   171k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   171k|    flags = type->tp_flags;
  756|   171k|#endif
  757|   171k|    return ((flags & feature) != 0);
  758|   171k|}
modsupport.c:_Py_SIZE_impl:
  240|   170k|{
  241|   170k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 170k, False: 0]
  ------------------
  242|   170k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 170k, False: 0]
  ------------------
  243|   170k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   170k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   170k|}
modsupport.c:PyObject_TypeCheck:
  374|    806|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    806|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.61k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    806|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    806|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 806, 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|    806|}
modsupport.c:_Py_IS_TYPE_impl:
  248|    806|{
  249|    806|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    806|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    806|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    806|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    806|}
pylifecycle.c:PyType_HasFeature:
  749|      2|{
  750|      2|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      2|    flags = type->tp_flags;
  756|      2|#endif
  757|      2|    return ((flags & feature) != 0);
  758|      2|}
pylifecycle.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
pythonrun.c:PyType_HasFeature:
  749|      6|{
  750|      6|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      6|    flags = type->tp_flags;
  756|      6|#endif
  757|      6|    return ((flags & feature) != 0);
  758|      6|}
pythonrun.c:_Py_TYPE_impl:
  233|      6|{
  234|      6|    return ob->ob_type;
  235|      6|}
specialize.c:PyType_Check:
  762|  2.29k|static inline int PyType_Check(PyObject *op) {
  763|  2.29k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  2.29k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  2.29k|}
specialize.c:_Py_TYPE_impl:
  233|   419k|{
  234|   419k|    return ob->ob_type;
  235|   419k|}
specialize.c:_Py_IS_TYPE_impl:
  248|   249k|{
  249|   249k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   249k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   249k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   249k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   249k|}
specialize.c:PyObject_TypeCheck:
  374|  1.03k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  1.03k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  2.07k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1.03k, 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.03k|}
specialize.c:_Py_SIZE_impl:
  240|    153|{
  241|    153|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 153, False: 0]
  ------------------
  242|    153|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 153, False: 0]
  ------------------
  243|    153|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    153|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    153|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    153|}
specialize.c:PyType_HasFeature:
  749|   240k|{
  750|   240k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   240k|    flags = type->tp_flags;
  756|   240k|#endif
  757|   240k|    return ((flags & feature) != 0);
  758|   240k|}
symtable.c:_Py_IS_TYPE_impl:
  248|   150k|{
  249|   150k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   150k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   150k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   150k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   150k|}
symtable.c:_Py_SIZE_impl:
  240|   242k|{
  241|   242k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 242k, False: 0]
  ------------------
  242|   242k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 242k, False: 0]
  ------------------
  243|   242k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   242k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   242k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   242k|}
symtable.c:PyType_HasFeature:
  749|  4.84M|{
  750|  4.84M|    unsigned 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.84M|    flags = type->tp_flags;
  756|  4.84M|#endif
  757|  4.84M|    return ((flags & feature) != 0);
  758|  4.84M|}
symtable.c:_Py_TYPE_impl:
  233|  5.48M|{
  234|  5.48M|    return ob->ob_type;
  235|  5.48M|}
sysmodule.c:PyType_HasFeature:
  749|  1.00k|{
  750|  1.00k|    unsigned 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.00k|    flags = type->tp_flags;
  756|  1.00k|#endif
  757|  1.00k|    return ((flags & feature) != 0);
  758|  1.00k|}
sysmodule.c:_Py_TYPE_impl:
  233|  2.22k|{
  234|  2.22k|    return ob->ob_type;
  235|  2.22k|}
sysmodule.c:_Py_IS_TYPE_impl:
  248|     39|{
  249|     39|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     39|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     39|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     39|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     39|}
sysmodule.c:_Py_SIZE_impl:
  240|    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|  76.8k|{
  249|  76.8k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  76.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  76.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  76.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  76.8k|}
traceback.c:PyType_HasFeature:
  749|  36.2k|{
  750|  36.2k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  36.2k|    flags = type->tp_flags;
  756|  36.2k|#endif
  757|  36.2k|    return ((flags & feature) != 0);
  758|  36.2k|}
traceback.c:_Py_TYPE_impl:
  233|   113k|{
  234|   113k|    return ob->ob_type;
  235|   113k|}
typecache.c:_Py_IS_TYPE_impl:
  248|  4.84M|{
  249|  4.84M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.84M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.84M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.84M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.84M|}
typecache.c:_Py_TYPE_impl:
  233|  14.5M|{
  234|  14.5M|    return ob->ob_type;
  235|  14.5M|}
typecache.c:PyType_HasFeature:
  749|  9.70M|{
  750|  9.70M|    unsigned 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.70M|    flags = type->tp_flags;
  756|  9.70M|#endif
  757|  9.70M|    return ((flags & feature) != 0);
  758|  9.70M|}
fileutils.c:PyType_HasFeature:
  749|  5.60k|{
  750|  5.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|  5.60k|    flags = type->tp_flags;
  756|  5.60k|#endif
  757|  5.60k|    return ((flags & feature) != 0);
  758|  5.60k|}
fileutils.c:_Py_TYPE_impl:
  233|  5.60k|{
  234|  5.60k|    return ob->ob_type;
  235|  5.60k|}
suggestions.c:_Py_IS_TYPE_impl:
  248|    100|{
  249|    100|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    100|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    100|}
suggestions.c:_Py_SIZE_impl:
  240|    100|{
  241|    100|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 100, False: 0]
  ------------------
  242|    100|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 100, False: 0]
  ------------------
  243|    100|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    100|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    100|}
suggestions.c:PyType_HasFeature:
  749|  1.10k|{
  750|  1.10k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.10k|    flags = type->tp_flags;
  756|  1.10k|#endif
  757|  1.10k|    return ((flags & feature) != 0);
  758|  1.10k|}
suggestions.c:_Py_TYPE_impl:
  233|  1.40k|{
  234|  1.40k|    return ob->ob_type;
  235|  1.40k|}
posixmodule.c:_Py_IS_TYPE_impl:
  248|    611|{
  249|    611|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    611|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    611|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    611|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    611|}
posixmodule.c:_Py_SIZE_impl:
  240|    632|{
  241|    632|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 632, False: 0]
  ------------------
  242|    632|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 632, False: 0]
  ------------------
  243|    632|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    632|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    632|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    632|}
posixmodule.c:_Py_TYPE_impl:
  233|  10.5k|{
  234|  10.5k|    return ob->ob_type;
  235|  10.5k|}
posixmodule.c:PyType_HasFeature:
  749|  8.66k|{
  750|  8.66k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  8.66k|    flags = type->tp_flags;
  756|  8.66k|#endif
  757|  8.66k|    return ((flags & feature) != 0);
  758|  8.66k|}
posixmodule.c:PyObject_TypeCheck:
  374|    611|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    611|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), 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]
  |  |  ------------------
  ------------------
                  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|    611|}
_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|  11.4k|{
  750|  11.4k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  11.4k|    flags = type->tp_flags;
  756|  11.4k|#endif
  757|  11.4k|    return ((flags & feature) != 0);
  758|  11.4k|}
_codecsmodule.c:_Py_TYPE_impl:
  233|  11.4k|{
  234|  11.4k|    return ob->ob_type;
  235|  11.4k|}
_collectionsmodule.c:_Py_TYPE_impl:
  233|    606|{
  234|    606|    return ob->ob_type;
  235|    606|}
_collectionsmodule.c:PyType_HasFeature:
  749|     63|{
  750|     63|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     63|    flags = type->tp_flags;
  756|     63|#endif
  757|     63|    return ((flags & feature) != 0);
  758|     63|}
_collectionsmodule.c:_Py_IS_TYPE_impl:
  248|     21|{
  249|     21|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     21|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     21|}
_collectionsmodule.c:PyObject_TypeCheck:
  374|     21|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     21|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     42|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 21, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|     21|}
_collectionsmodule.c:_Py_SIZE_impl:
  240|     25|{
  241|     25|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 25, False: 0]
  ------------------
  242|     25|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 25, False: 0]
  ------------------
  243|     25|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     25|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     25|}
_collectionsmodule.c:PyType_Check:
  762|     12|static inline int PyType_Check(PyObject *op) {
  763|     12|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     12|}
_iomodule.c:PyType_HasFeature:
  749|    309|{
  750|    309|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    309|    flags = type->tp_flags;
  756|    309|#endif
  757|    309|    return ((flags & feature) != 0);
  758|    309|}
_iomodule.c:_Py_TYPE_impl:
  233|    440|{
  234|    440|    return ob->ob_type;
  235|    440|}
_iomodule.c:PyObject_TypeCheck:
  374|    131|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    131|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    262|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    131|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 131, 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|    131|}
_iomodule.c:_Py_IS_TYPE_impl:
  248|    131|{
  249|    131|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    131|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    131|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    131|}
fileio.c:_Py_TYPE_impl:
  233|  1.29k|{
  234|  1.29k|    return ob->ob_type;
  235|  1.29k|}
fileio.c:PyType_Check:
  762|    101|static inline int PyType_Check(PyObject *op) {
  763|    101|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    101|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    101|}
fileio.c:PyType_HasFeature:
  749|    630|{
  750|    630|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    630|    flags = type->tp_flags;
  756|    630|#endif
  757|    630|    return ((flags & feature) != 0);
  758|    630|}
fileio.c:_Py_SIZE_impl:
  240|    107|{
  241|    107|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 107, False: 0]
  ------------------
  242|    107|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 107, False: 0]
  ------------------
  243|    107|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    107|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    107|}
fileio.c:_Py_IS_TYPE_impl:
  248|    107|{
  249|    107|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    107|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    107|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    107|}
bufferedio.c:_Py_IS_TYPE_impl:
  248|    321|{
  249|    321|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    321|}
bufferedio.c:_Py_TYPE_impl:
  233|  1.39k|{
  234|  1.39k|    return ob->ob_type;
  235|  1.39k|}
bufferedio.c:PyType_HasFeature:
  749|    523|{
  750|    523|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    523|    flags = type->tp_flags;
  756|    523|#endif
  757|    523|    return ((flags & feature) != 0);
  758|    523|}
bufferedio.c:_Py_SIZE_impl:
  240|    107|{
  241|    107|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 107, False: 0]
  ------------------
  242|    107|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 107, False: 0]
  ------------------
  243|    107|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    107|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    107|}
bufferedio.c:PyObject_TypeCheck:
  374|    107|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    107|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), 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: 107, 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|    107|}
textio.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|}
textio.c:PyType_HasFeature:
  749|   662k|{
  750|   662k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   662k|    flags = type->tp_flags;
  756|   662k|#endif
  757|   662k|    return ((flags & feature) != 0);
  758|   662k|}
textio.c:_Py_TYPE_impl:
  233|   704k|{
  234|   704k|    return ob->ob_type;
  235|   704k|}
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|  41.4k|{
  249|  41.4k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  41.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  41.4k|}
itertoolsmodule.c:PyObject_TypeCheck:
  374|     21|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     21|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     42|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 21, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|     21|}
itertoolsmodule.c:_Py_IS_TYPE_impl:
  248|     54|{
  249|     54|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     54|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     54|}
itertoolsmodule.c:_Py_TYPE_impl:
  233|  3.18k|{
  234|  3.18k|    return ob->ob_type;
  235|  3.18k|}
itertoolsmodule.c:PyType_HasFeature:
  749|  1.57k|{
  750|  1.57k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.57k|    flags = type->tp_flags;
  756|  1.57k|#endif
  757|  1.57k|    return ((flags & feature) != 0);
  758|  1.57k|}
itertoolsmodule.c:_Py_SIZE_impl:
  240|    753|{
  241|    753|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 753, False: 0]
  ------------------
  242|    753|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 753, False: 0]
  ------------------
  243|    753|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    753|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    753|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    753|}
itertoolsmodule.c:Py_SET_TYPE:
  206|      1|{
  207|      1|    ob->ob_type = type;
  208|      1|}
sre.c:PyType_HasFeature:
  749|    912|{
  750|    912|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    912|    flags = type->tp_flags;
  756|    912|#endif
  757|    912|    return ((flags & feature) != 0);
  758|    912|}
sre.c:_Py_TYPE_impl:
  233|  1.20k|{
  234|  1.20k|    return ob->ob_type;
  235|  1.20k|}
sre.c:PyObject_TypeCheck:
  374|     34|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     34|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     68|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 34, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|     34|}
sre.c:_Py_IS_TYPE_impl:
  248|     34|{
  249|     34|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     34|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     34|}
sre.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|}
_threadmodule.c:_Py_TYPE_impl:
  233|  1.54k|{
  234|  1.54k|    return ob->ob_type;
  235|  1.54k|}
_threadmodule.c:PyObject_TypeCheck:
  374|    785|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    785|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.57k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    785|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    785|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 785, 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|    785|}
_threadmodule.c:_Py_IS_TYPE_impl:
  248|    785|{
  249|    785|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    785|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    785|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    785|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    785|}
timemodule.c:_Py_TYPE_impl:
  233|     24|{
  234|     24|    return ob->ob_type;
  235|     24|}
timemodule.c:PyObject_TypeCheck:
  374|     24|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     24|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     48|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 24, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|     24|}
timemodule.c:_Py_IS_TYPE_impl:
  248|     24|{
  249|     24|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     24|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     24|}
_weakref.c:PyType_HasFeature:
  749|    411|{
  750|    411|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    411|    flags = type->tp_flags;
  756|    411|#endif
  757|    411|    return ((flags & feature) != 0);
  758|    411|}
_weakref.c:_Py_TYPE_impl:
  233|  2.05k|{
  234|  2.05k|    return ob->ob_type;
  235|  2.05k|}
_weakref.c:PyObject_TypeCheck:
  374|    822|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    822|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.64k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    822|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    822|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 822]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    822|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    822|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    822|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 822, False: 0]
  ------------------
  376|    822|}
_weakref.c:_Py_IS_TYPE_impl:
  248|    822|{
  249|    822|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    822|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    822|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    822|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    822|}
_abc.c:PyObject_TypeCheck:
  374|    380|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    380|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    760|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 380, 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|    380|}
_abc.c:_Py_IS_TYPE_impl:
  248|    575|{
  249|    575|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    575|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    575|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    575|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    575|}
_abc.c:_Py_TYPE_impl:
  233|  14.4k|{
  234|  14.4k|    return ob->ob_type;
  235|  14.4k|}
_abc.c:PyType_HasFeature:
  749|  7.88k|{
  750|  7.88k|    unsigned 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.88k|    flags = type->tp_flags;
  756|  7.88k|#endif
  757|  7.88k|    return ((flags & feature) != 0);
  758|  7.88k|}
_abc.c:_Py_SIZE_impl:
  240|  2.03k|{
  241|  2.03k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 2.03k, False: 0]
  ------------------
  242|  2.03k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 2.03k, False: 0]
  ------------------
  243|  2.03k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  2.03k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  2.03k|}
_abc.c:PyType_Check:
  762|    374|static inline int PyType_Check(PyObject *op) {
  763|    374|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    374|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    374|}
_functoolsmodule.c:PyType_HasFeature:
  749|     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|}
_functoolsmodule.c:_Py_TYPE_impl:
  233|    128|{
  234|    128|    return ob->ob_type;
  235|    128|}
_functoolsmodule.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|}
_functoolsmodule.c:PyObject_TypeCheck:
  374|     25|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     25|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     50|#  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: 24, False: 1]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 1]
  ------------------
  376|     25|}
_functoolsmodule.c:_Py_IS_TYPE_impl:
  248|     25|{
  249|     25|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     25|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     25|}
_operator.c:_Py_TYPE_impl:
  233|     21|{
  234|     21|    return ob->ob_type;
  235|     21|}
_operator.c:PyObject_TypeCheck:
  374|     21|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     21|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     42|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 21, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|     21|}
_operator.c:_Py_IS_TYPE_impl:
  248|     21|{
  249|     21|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     21|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     21|}
_stat.c:PyType_HasFeature:
  749|      2|{
  750|      2|    unsigned long flags;
  751|      2|#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|      2|    flags = PyType_GetFlags(type);
  754|       |#else
  755|       |    flags = type->tp_flags;
  756|       |#endif
  757|      2|    return ((flags & feature) != 0);
  758|      2|}
_stat.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
getpath.c:_Py_IS_TYPE_impl:
  248|      2|{
  249|      2|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      2|}
getpath.c:_Py_TYPE_impl:
  233|    226|{
  234|    226|    return ob->ob_type;
  235|    226|}
getpath.c:PyType_HasFeature:
  749|    176|{
  750|    176|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    176|    flags = type->tp_flags;
  756|    176|#endif
  757|    176|    return ((flags & feature) != 0);
  758|    176|}
getpath.c:_Py_SIZE_impl:
  240|     24|{
  241|     24|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 24, False: 0]
  ------------------
  242|     24|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 24, False: 0]
  ------------------
  243|     24|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     24|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     24|}
helpers.c:PyType_HasFeature:
  749|  2.41k|{
  750|  2.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|  2.41k|    flags = type->tp_flags;
  756|  2.41k|#endif
  757|  2.41k|    return ((flags & feature) != 0);
  758|  2.41k|}
helpers.c:_Py_TYPE_impl:
  233|  2.41k|{
  234|  2.41k|    return ob->ob_type;
  235|  2.41k|}
abstract.c:_Py_TYPE_impl:
  233|  23.0M|{
  234|  23.0M|    return ob->ob_type;
  235|  23.0M|}
abstract.c:PyType_HasFeature:
  749|  3.90M|{
  750|  3.90M|    unsigned 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.90M|    flags = type->tp_flags;
  756|  3.90M|#endif
  757|  3.90M|    return ((flags & feature) != 0);
  758|  3.90M|}
abstract.c:PyType_Check:
  762|   433k|static inline int PyType_Check(PyObject *op) {
  763|   433k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   433k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   433k|}
abstract.c:_Py_IS_TYPE_impl:
  248|  4.21M|{
  249|  4.21M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.21M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.21M|}
abstract.c:PyObject_TypeCheck:
  374|  17.3k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  17.3k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  34.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  17.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 17.3k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  17.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 101, False: 17.2k]
  ------------------
  376|  17.3k|}
abstract.c:_Py_SIZE_impl:
  240|  4.97k|{
  241|  4.97k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 4.97k, False: 0]
  ------------------
  242|  4.97k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 4.97k, False: 0]
  ------------------
  243|  4.97k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  4.97k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  4.97k|}
abstract.c:_Py_SET_SIZE_impl:
  254|  5.86k|{
  255|  5.86k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 5.86k, False: 0]
  ------------------
  256|  5.86k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 5.86k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  5.86k|    ob->ob_size = size;
  261|  5.86k|#endif
  262|  5.86k|}
abstract.c:PyType_CheckExact:
  772|   266k|static inline int PyType_CheckExact(PyObject *op) {
  773|   266k|    return Py_IS_TYPE(op, &PyType_Type);
  ------------------
  |  |  215|   266k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   266k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   266k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|   266k|}
boolobject.c:_Py_IS_TYPE_impl:
  248|  3.84k|{
  249|  3.84k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  3.84k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  3.84k|}
boolobject.c:_Py_TYPE_impl:
  233|  3.85k|{
  234|  3.85k|    return ob->ob_type;
  235|  3.85k|}
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|   911k|{
  234|   911k|    return ob->ob_type;
  235|   911k|}
bytes_methods.c:PyType_HasFeature:
  749|   607k|{
  750|   607k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   607k|    flags = type->tp_flags;
  756|   607k|#endif
  757|   607k|    return ((flags & feature) != 0);
  758|   607k|}
bytes_methods.c:_Py_SIZE_impl:
  240|   151k|{
  241|   151k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 151k, False: 0]
  ------------------
  242|   151k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 151k, False: 0]
  ------------------
  243|   151k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   151k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   151k|}
bytearrayobject.c:PyType_HasFeature:
  749|  2.59M|{
  750|  2.59M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  2.59M|    flags = type->tp_flags;
  756|  2.59M|#endif
  757|  2.59M|    return ((flags & feature) != 0);
  758|  2.59M|}
bytearrayobject.c:_Py_SIZE_impl:
  240|  3.58M|{
  241|  3.58M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 3.58M, False: 0]
  ------------------
  242|  3.58M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 3.58M, False: 0]
  ------------------
  243|  3.58M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  3.58M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  3.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  3.58M|}
bytearrayobject.c:_Py_SET_SIZE_impl:
  254|   804k|{
  255|   804k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 804k, False: 0]
  ------------------
  256|   804k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 804k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|   804k|    ob->ob_size = size;
  261|   804k|#endif
  262|   804k|}
bytearrayobject.c:PyObject_TypeCheck:
  374|  1.93M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  1.93M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  3.86M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1.93M, False: 562]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    562|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    562|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    562|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 562]
  ------------------
  376|  1.93M|}
bytearrayobject.c:_Py_IS_TYPE_impl:
  248|  1.93M|{
  249|  1.93M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.93M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.93M|}
bytearrayobject.c:_Py_TYPE_impl:
  233|  13.3M|{
  234|  13.3M|    return ob->ob_type;
  235|  13.3M|}
bytearrayobject.c:PyType_Check:
  762|   798k|static inline int PyType_Check(PyObject *op) {
  763|   798k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   798k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   798k|}
bytesobject.c:Py_SET_TYPE:
  206|  1.79M|{
  207|  1.79M|    ob->ob_type = type;
  208|  1.79M|}
bytesobject.c:_Py_SET_SIZE_impl:
  254|  2.16M|{
  255|  2.16M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 2.16M, False: 0]
  ------------------
  256|  2.16M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 2.16M, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  2.16M|    ob->ob_size = size;
  261|  2.16M|#endif
  262|  2.16M|}
bytesobject.c:PyType_HasFeature:
  749|  60.2M|{
  750|  60.2M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  60.2M|    flags = type->tp_flags;
  756|  60.2M|#endif
  757|  60.2M|    return ((flags & feature) != 0);
  758|  60.2M|}
bytesobject.c:_Py_TYPE_impl:
  233|   138M|{
  234|   138M|    return ob->ob_type;
  235|   138M|}
bytesobject.c:_Py_IS_TYPE_impl:
  248|  12.7M|{
  249|  12.7M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  12.7M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  12.7M|}
bytesobject.c:_Py_SIZE_impl:
  240|  30.4M|{
  241|  30.4M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 30.4M, False: 0]
  ------------------
  242|  30.4M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 30.4M, False: 0]
  ------------------
  243|  30.4M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  30.4M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  30.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  30.4M|}
bytesobject.c:PyType_Check:
  762|  49.2k|static inline int PyType_Check(PyObject *op) {
  763|  49.2k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  49.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  49.2k|}
call.c:_Py_TYPE_impl:
  233|  1.35M|{
  234|  1.35M|    return ob->ob_type;
  235|  1.35M|}
call.c:PyType_HasFeature:
  749|   919k|{
  750|   919k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   919k|    flags = type->tp_flags;
  756|   919k|#endif
  757|   919k|    return ((flags & feature) != 0);
  758|   919k|}
call.c:_Py_SIZE_impl:
  240|  90.4k|{
  241|  90.4k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 90.4k, False: 0]
  ------------------
  242|  90.4k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 90.4k, False: 0]
  ------------------
  243|  90.4k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  90.4k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  90.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  90.4k|}
call.c:_Py_IS_TYPE_impl:
  248|   128k|{
  249|   128k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   128k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   128k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   128k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   128k|}
capsule.c:_Py_IS_TYPE_impl:
  248|   103k|{
  249|   103k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   103k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   103k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   103k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   103k|}
capsule.c:_Py_TYPE_impl:
  233|   103k|{
  234|   103k|    return ob->ob_type;
  235|   103k|}
cellobject.c:_Py_IS_TYPE_impl:
  248|    503|{
  249|    503|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    503|}
cellobject.c:_Py_TYPE_impl:
  233|    503|{
  234|    503|    return ob->ob_type;
  235|    503|}
classobject.c:_Py_IS_TYPE_impl:
  248|   100k|{
  249|   100k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   100k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   100k|}
classobject.c:_Py_TYPE_impl:
  233|   100k|{
  234|   100k|    return ob->ob_type;
  235|   100k|}
codeobject.c:PyType_HasFeature:
  749|   421M|{
  750|   421M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   421M|    flags = type->tp_flags;
  756|   421M|#endif
  757|   421M|    return ((flags & feature) != 0);
  758|   421M|}
codeobject.c:_Py_TYPE_impl:
  233|  1.75G|{
  234|  1.75G|    return ob->ob_type;
  235|  1.75G|}
codeobject.c:_Py_SIZE_impl:
  240|   219M|{
  241|   219M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 219M, False: 0]
  ------------------
  242|   219M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 219M, False: 0]
  ------------------
  243|   219M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   219M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   219M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   219M|}
codeobject.c:_Py_IS_TYPE_impl:
  248|   800M|{
  249|   800M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   800M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   800M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   800M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   800M|}
codeobject.c:PyObject_TypeCheck:
  374|  94.8M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  94.8M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   189M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  94.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  94.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 94.8M, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|  94.8M|}
complexobject.c:Py_SET_TYPE:
  206|  77.3k|{
  207|  77.3k|    ob->ob_type = type;
  208|  77.3k|}
complexobject.c:PyObject_TypeCheck:
  374|  1.41M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  1.41M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  2.83M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.41M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.41M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1.17M, False: 244k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|   244k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   244k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   244k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 244k]
  ------------------
  376|  1.41M|}
complexobject.c:_Py_IS_TYPE_impl:
  248|  1.58M|{
  249|  1.58M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.58M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.58M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.58M|}
complexobject.c:_Py_TYPE_impl:
  233|  1.91M|{
  234|  1.91M|    return ob->ob_type;
  235|  1.91M|}
complexobject.c:PyType_HasFeature:
  749|  84.5k|{
  750|  84.5k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  84.5k|    flags = type->tp_flags;
  756|  84.5k|#endif
  757|  84.5k|    return ((flags & feature) != 0);
  758|  84.5k|}
descrobject.c:PyType_HasFeature:
  749|  4.52k|{
  750|  4.52k|    unsigned 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.52k|    flags = type->tp_flags;
  756|  4.52k|#endif
  757|  4.52k|    return ((flags & feature) != 0);
  758|  4.52k|}
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|    597|{
  241|    597|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 597, False: 0]
  ------------------
  242|    597|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 597, False: 0]
  ------------------
  243|    597|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    597|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    597|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    597|}
descrobject.c:_Py_TYPE_impl:
  233|  3.23M|{
  234|  3.23M|    return ob->ob_type;
  235|  3.23M|}
descrobject.c:_Py_IS_TYPE_impl:
  248|  1.66M|{
  249|  1.66M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.66M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.66M|}
descrobject.c:PyObject_TypeCheck:
  374|  1.66M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  1.66M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  3.33M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1.60M, False: 60.6k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  60.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  60.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 60.6k, False: 0]
  ------------------
  376|  1.66M|}
enumobject.c:_Py_TYPE_impl:
  233|  5.39M|{
  234|  5.39M|    return ob->ob_type;
  235|  5.39M|}
enumobject.c:PyType_HasFeature:
  749|  2.74M|{
  750|  2.74M|    unsigned 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.74M|    flags = type->tp_flags;
  756|  2.74M|#endif
  757|  2.74M|    return ((flags & feature) != 0);
  758|  2.74M|}
enumobject.c:_Py_SIZE_impl:
  240|  1.04M|{
  241|  1.04M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.04M, False: 0]
  ------------------
  242|  1.04M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.04M, False: 0]
  ------------------
  243|  1.04M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.04M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.04M|}
enumobject.c:PyType_Check:
  762|  93.9k|static inline int PyType_Check(PyObject *op) {
  763|  93.9k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  93.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  93.9k|}
genobject.c:_Py_IS_TYPE_impl:
  248|  65.2k|{
  249|  65.2k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  65.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  65.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  65.2k|}
genobject.c:_Py_TYPE_impl:
  233|  65.2k|{
  234|  65.2k|    return ob->ob_type;
  235|  65.2k|}
fileobject.c:PyType_HasFeature:
  749|    101|{
  750|    101|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    101|    flags = type->tp_flags;
  756|    101|#endif
  757|    101|    return ((flags & feature) != 0);
  758|    101|}
fileobject.c:_Py_TYPE_impl:
  233|    101|{
  234|    101|    return ob->ob_type;
  235|    101|}
floatobject.c:Py_SET_TYPE:
  206|  50.4k|{
  207|  50.4k|    ob->ob_type = type;
  208|  50.4k|}
floatobject.c:PyType_HasFeature:
  749|   152k|{
  750|   152k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   152k|    flags = type->tp_flags;
  756|   152k|#endif
  757|   152k|    return ((flags & feature) != 0);
  758|   152k|}
floatobject.c:_Py_TYPE_impl:
  233|   185M|{
  234|   185M|    return ob->ob_type;
  235|   185M|}
floatobject.c:PyObject_TypeCheck:
  374|   185M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|   185M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   370M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   185M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   185M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 185M, False: 78.8k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  78.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  78.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  78.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 78.8k]
  ------------------
  376|   185M|}
floatobject.c:_Py_IS_TYPE_impl:
  248|   185M|{
  249|   185M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   185M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   185M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   185M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   185M|}
frameobject.c:PyObject_TypeCheck:
  374|  19.9k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  19.9k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  39.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 19.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|  19.9k|}
frameobject.c:_Py_IS_TYPE_impl:
  248|  21.3k|{
  249|  21.3k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  21.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  21.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  21.3k|}
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|  21.4k|{
  234|  21.4k|    return ob->ob_type;
  235|  21.4k|}
funcobject.c:PyType_HasFeature:
  749|  11.6k|{
  750|  11.6k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  11.6k|    flags = type->tp_flags;
  756|  11.6k|#endif
  757|  11.6k|    return ((flags & feature) != 0);
  758|  11.6k|}
funcobject.c:_Py_TYPE_impl:
  233|  87.6k|{
  234|  87.6k|    return ob->ob_type;
  235|  87.6k|}
funcobject.c:PyObject_TypeCheck:
  374|  3.56k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  3.56k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  7.13k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 3.56k, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|  3.56k|}
funcobject.c:_Py_IS_TYPE_impl:
  248|  75.9k|{
  249|  75.9k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  75.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  75.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  75.9k|}
iterobject.c:_Py_IS_TYPE_impl:
  248|    148|{
  249|    148|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    148|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    148|}
iterobject.c:_Py_TYPE_impl:
  233|    148|{
  234|    148|    return ob->ob_type;
  235|    148|}
lazyimportobject.c:PyType_HasFeature:
  749|     29|{
  750|     29|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     29|    flags = type->tp_flags;
  756|     29|#endif
  757|     29|    return ((flags & feature) != 0);
  758|     29|}
lazyimportobject.c:_Py_TYPE_impl:
  233|     82|{
  234|     82|    return ob->ob_type;
  235|     82|}
lazyimportobject.c:_Py_IS_TYPE_impl:
  248|     49|{
  249|     49|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     49|}
lazyimportobject.c:_Py_SIZE_impl:
  240|      2|{
  241|      2|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 2, False: 0]
  ------------------
  242|      2|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 2, False: 0]
  ------------------
  243|      2|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|      2|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|      2|}
memoryobject.c:_Py_IS_TYPE_impl:
  248|    204|{
  249|    204|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    204|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    204|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    204|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    204|}
memoryobject.c:_Py_TYPE_impl:
  233|    958|{
  234|    958|    return ob->ob_type;
  235|    958|}
memoryobject.c:PyType_HasFeature:
  749|    443|{
  750|    443|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    443|    flags = type->tp_flags;
  756|    443|#endif
  757|    443|    return ((flags & feature) != 0);
  758|    443|}
memoryobject.c:_Py_SIZE_impl:
  240|    105|{
  241|    105|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 105, False: 0]
  ------------------
  242|    105|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 105, False: 0]
  ------------------
  243|    105|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    105|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    105|}
methodobject.c:PyObject_TypeCheck:
  374|  3.23M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  3.23M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  6.47M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 3.23M, False: 660]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    660|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    660|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    660|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 648, False: 12]
  ------------------
  376|  3.23M|}
methodobject.c:_Py_IS_TYPE_impl:
  248|  4.66M|{
  249|  4.66M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.66M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.66M|}
methodobject.c:_Py_TYPE_impl:
  233|  4.66M|{
  234|  4.66M|    return ob->ob_type;
  235|  4.66M|}
methodobject.c:PyType_Check:
  762|      6|static inline int PyType_Check(PyObject *op) {
  763|      6|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|      6|}
methodobject.c:PyType_HasFeature:
  749|     12|{
  750|     12|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     12|    flags = type->tp_flags;
  756|     12|#endif
  757|     12|    return ((flags & feature) != 0);
  758|     12|}
namespaceobject.c:_Py_TYPE_impl:
  233|     30|{
  234|     30|    return ob->ob_type;
  235|     30|}
unicode_format.c:PyType_HasFeature:
  749|    189|{
  750|    189|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|    189|    flags = type->tp_flags;
  756|    189|#endif
  757|    189|    return ((flags & feature) != 0);
  758|    189|}
unicode_format.c:_Py_TYPE_impl:
  233|    189|{
  234|    189|    return ob->ob_type;
  235|    189|}
Python-ast.c:_Py_TYPE_impl:
  233|   414k|{
  234|   414k|    return ob->ob_type;
  235|   414k|}
Python-ast.c:PyType_HasFeature:
  749|  82.6k|{
  750|  82.6k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  82.6k|    flags = type->tp_flags;
  756|  82.6k|#endif
  757|  82.6k|    return ((flags & feature) != 0);
  758|  82.6k|}
Python-ast.c:_Py_SIZE_impl:
  240|    230|{
  241|    230|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 230, False: 0]
  ------------------
  242|    230|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 230, False: 0]
  ------------------
  243|    230|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    230|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    230|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    230|}
assemble.c:PyType_HasFeature:
  749|  1.69M|{
  750|  1.69M|    unsigned 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.69M|    flags = type->tp_flags;
  756|  1.69M|#endif
  757|  1.69M|    return ((flags & feature) != 0);
  758|  1.69M|}
assemble.c:_Py_TYPE_impl:
  233|  3.60M|{
  234|  3.60M|    return ob->ob_type;
  235|  3.60M|}
assemble.c:_Py_IS_TYPE_impl:
  248|   390k|{
  249|   390k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   390k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   390k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   390k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   390k|}
assemble.c:_Py_SIZE_impl:
  240|   761k|{
  241|   761k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 761k, False: 0]
  ------------------
  242|   761k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 761k, False: 0]
  ------------------
  243|   761k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   761k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   761k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   761k|}
ast.c:_Py_TYPE_impl:
  233|  13.3k|{
  234|  13.3k|    return ob->ob_type;
  235|  13.3k|}
ast.c:_Py_IS_TYPE_impl:
  248|  13.3k|{
  249|  13.3k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  13.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  13.3k|}
ast_preprocess.c:PyType_HasFeature:
  749|   155k|{
  750|   155k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   155k|    flags = type->tp_flags;
  756|   155k|#endif
  757|   155k|    return ((flags & feature) != 0);
  758|   155k|}
ast_preprocess.c:_Py_TYPE_impl:
  233|   155k|{
  234|   155k|    return ob->ob_type;
  235|   155k|}
ast_unparse.c:_Py_IS_TYPE_impl:
  248|   324k|{
  249|   324k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   324k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   324k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   324k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   324k|}
ast_unparse.c:_Py_TYPE_impl:
  233|   324k|{
  234|   324k|    return ob->ob_type;
  235|   324k|}
ast_unparse.c:PyObject_TypeCheck:
  374|  21.1k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  21.1k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  42.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  21.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 21.1k, False: 0]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 0]
  ------------------
  376|  21.1k|}
crossinterp.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
pegen.c:PyType_HasFeature:
  749|  1.13M|{
  750|  1.13M|    unsigned 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.13M|    flags = type->tp_flags;
  756|  1.13M|#endif
  757|  1.13M|    return ((flags & feature) != 0);
  758|  1.13M|}
pegen.c:_Py_TYPE_impl:
  233|  3.09M|{
  234|  3.09M|    return ob->ob_type;
  235|  3.09M|}
pegen.c:_Py_SIZE_impl:
  240|   975k|{
  241|   975k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 975k, False: 0]
  ------------------
  242|   975k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 975k, False: 0]
  ------------------
  243|   975k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   975k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   975k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   975k|}
pegen.c:PyObject_TypeCheck:
  374|  9.22k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  9.22k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  18.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  9.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 9.13k, False: 89]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|     89|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     89|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 89, False: 0]
  ------------------
  376|  9.22k|}
pegen.c:_Py_IS_TYPE_impl:
  248|  9.22k|{
  249|  9.22k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  9.22k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  9.22k|}
lexer.c:PyType_HasFeature:
  749|   127k|{
  750|   127k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   127k|    flags = type->tp_flags;
  756|   127k|#endif
  757|   127k|    return ((flags & feature) != 0);
  758|   127k|}
lexer.c:_Py_TYPE_impl:
  233|   128k|{
  234|   128k|    return ob->ob_type;
  235|   128k|}
lexer.c:_Py_SIZE_impl:
  240|    246|{
  241|    246|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 246, False: 0]
  ------------------
  242|    246|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 246, False: 0]
  ------------------
  243|    246|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    246|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    246|}
action_helpers.c:_Py_IS_TYPE_impl:
  248|   247k|{
  249|   247k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   247k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   247k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   247k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   247k|}
action_helpers.c:_Py_TYPE_impl:
  233|   765k|{
  234|   765k|    return ob->ob_type;
  235|   765k|}
action_helpers.c:PyType_HasFeature:
  749|   399k|{
  750|   399k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   399k|    flags = type->tp_flags;
  756|   399k|#endif
  757|   399k|    return ((flags & feature) != 0);
  758|   399k|}
action_helpers.c:_Py_SIZE_impl:
  240|  59.2k|{
  241|  59.2k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 59.2k, False: 0]
  ------------------
  242|  59.2k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 59.2k, False: 0]
  ------------------
  243|  59.2k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  59.2k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  59.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  59.2k|}
string_parser.c:PyType_HasFeature:
  749|   154k|{
  750|   154k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|   154k|    flags = type->tp_flags;
  756|   154k|#endif
  757|   154k|    return ((flags & feature) != 0);
  758|   154k|}
string_parser.c:_Py_TYPE_impl:
  233|   154k|{
  234|   154k|    return ob->ob_type;
  235|   154k|}

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

exceptions.c:_Py_XNewRef:
  638|   101k|{
  639|   101k|    Py_XINCREF(obj);
  ------------------
  |  |  611|   101k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   101k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   101k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|   101k|    return obj;
  641|   101k|}
exceptions.c:Py_XINCREF:
  605|   101k|{
  606|   101k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   101k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 39.8k, False: 61.4k]
  ------------------
  607|  39.8k|        Py_INCREF(op);
  ------------------
  |  |  310|  39.8k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  39.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  39.8k|    }
  609|   101k|}
exceptions.c:Py_XDECREF:
  615|   336k|{
  616|   336k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   336k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 58.0k, False: 278k]
  ------------------
  617|  58.0k|        Py_DECREF(op);
  ------------------
  |  |  430|  58.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  58.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  58.0k|    }
  619|   336k|}
exceptions.c:_Py_NewRef:
  632|   307k|{
  633|   307k|    Py_INCREF(obj);
  ------------------
  |  |  310|   307k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   307k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   307k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   307k|    return obj;
  635|   307k|}
exceptions.c:Py_INCREF:
  256|   357k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   357k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   357k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 62.9k, False: 294k]
  ------------------
  288|       |        // the object is immortal
  289|  62.9k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  62.9k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  62.9k|        return;
  291|  62.9k|    }
  292|   294k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   294k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   294k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   294k|#endif
  308|   294k|}
exceptions.c:Py_DECREF:
  418|   488k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   488k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   488k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   488k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   488k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 67.6k, False: 420k]
  |  |  ------------------
  ------------------
  422|  67.6k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  67.6k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  67.6k|        return;
  424|  67.6k|    }
  425|   420k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   420k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   420k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 192k, False: 227k]
  ------------------
  427|   192k|        _Py_Dealloc(op);
  428|   192k|    }
  429|   420k|}
exceptions.c:_Py_IsImmortal:
  127|   488k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   488k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   488k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   488k|}
genericaliasobject.c:Py_DECREF:
  418|     10|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     10|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     10|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5, False: 5]
  |  |  ------------------
  ------------------
  422|      5|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      5|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      5|        return;
  424|      5|    }
  425|      5|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      5|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      5|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 5, False: 0]
  ------------------
  427|      5|        _Py_Dealloc(op);
  428|      5|    }
  429|      5|}
genericaliasobject.c:_Py_IsImmortal:
  127|     10|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     10|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     10|}
genericaliasobject.c:Py_XDECREF:
  615|     15|{
  616|     15|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     15|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 10, False: 5]
  ------------------
  617|     10|        Py_DECREF(op);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     10|    }
  619|     15|}
genericaliasobject.c:_Py_NewRef:
  632|     79|{
  633|     79|    Py_INCREF(obj);
  ------------------
  |  |  310|     79|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     79|    return obj;
  635|     79|}
genericaliasobject.c:Py_INCREF:
  256|     79|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     79|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     79|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 79, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     79|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     79|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     79|        return;
  291|     79|    }
  292|      0|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      0|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      0|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      0|#endif
  308|      0|}
genericaliasobject.c:_Py_REFCNT:
  105|      5|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      5|    #if !defined(Py_GIL_DISABLED)
  107|      5|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      5|    }
listobject.c:Py_DECREF:
  418|  5.88M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  5.88M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  5.88M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.88M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.88M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.91M, False: 2.97M]
  |  |  ------------------
  ------------------
  422|  2.91M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.91M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.91M|        return;
  424|  2.91M|    }
  425|  2.97M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.97M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.97M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.16M, False: 808k]
  ------------------
  427|  2.16M|        _Py_Dealloc(op);
  428|  2.16M|    }
  429|  2.97M|}
listobject.c:_Py_IsImmortal:
  127|  6.34M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  6.34M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  6.34M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  6.34M|}
listobject.c:Py_XDECREF:
  615|  5.80M|{
  616|  5.80M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.80M|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 5.62M, False: 181k]
  ------------------
  617|  5.62M|        Py_DECREF(op);
  ------------------
  |  |  430|  5.62M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.62M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.62M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  5.62M|    }
  619|  5.80M|}
listobject.c:_Py_NewRef:
  632|  4.17M|{
  633|  4.17M|    Py_INCREF(obj);
  ------------------
  |  |  310|  4.17M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.17M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  4.17M|    return obj;
  635|  4.17M|}
listobject.c:Py_INCREF:
  256|  4.36M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.36M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  4.36M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2.23M, False: 2.12M]
  ------------------
  288|       |        // the object is immortal
  289|  2.23M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  2.23M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  2.23M|        return;
  291|  2.23M|    }
  292|  2.12M|    op->ob_refcnt = cur_refcnt + 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.12M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.12M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.12M|#endif
  308|  2.12M|}
listobject.c:_Py_XNewRef:
  638|   180k|{
  639|   180k|    Py_XINCREF(obj);
  ------------------
  |  |  611|   180k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   180k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   180k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|   180k|    return obj;
  641|   180k|}
listobject.c:Py_XINCREF:
  605|   180k|{
  606|   180k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   180k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 180k, False: 0]
  ------------------
  607|   180k|        Py_INCREF(op);
  ------------------
  |  |  310|   180k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   180k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   180k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|   180k|    }
  609|   180k|}
longobject.c:_Py_IsImmortal:
  127|  2.96M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  2.96M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.96M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.96M|}
longobject.c:Py_DECREF:
  418|   944k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   944k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   944k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   944k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   944k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 716k, False: 227k]
  |  |  ------------------
  ------------------
  422|   716k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   716k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   716k|        return;
  424|   716k|    }
  425|   227k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   227k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   227k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 214k, False: 13.6k]
  ------------------
  427|   214k|        _Py_Dealloc(op);
  428|   214k|    }
  429|   227k|}
longobject.c:Py_XDECREF:
  615|   743k|{
  616|   743k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   743k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 560k, False: 183k]
  ------------------
  617|   560k|        Py_DECREF(op);
  ------------------
  |  |  430|   560k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   560k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   560k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|   560k|    }
  619|   743k|}
longobject.c:Py_INCREF:
  256|  1.52M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  1.52M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.52M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.50M, False: 21.7k]
  ------------------
  288|       |        // the object is immortal
  289|  1.50M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.50M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.50M|        return;
  291|  1.50M|    }
  292|  21.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|  21.7k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  21.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|  21.7k|#endif
  308|  21.7k|}
longobject.c:_Py_NewRef:
  632|   255k|{
  633|   255k|    Py_INCREF(obj);
  ------------------
  |  |  310|   255k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   255k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   255k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   255k|    return obj;
  635|   255k|}
longobject.c:_Py_REFCNT:
  105|  29.3k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  29.3k|    #if !defined(Py_GIL_DISABLED)
  107|  29.3k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  29.3k|    }
dictobject.c:_Py_XNewRef:
  638|  2.93M|{
  639|  2.93M|    Py_XINCREF(obj);
  ------------------
  |  |  611|  2.93M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  2.93M|    return obj;
  641|  2.93M|}
dictobject.c:_Py_IsImmortal:
  127|  9.98M|{
  128|       |#if defined(Py_GIL_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.98M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  9.98M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  9.98M|}
dictobject.c:_Py_IsStaticImmortal:
  141|  24.5k|{
  142|  24.5k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  24.5k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  24.5k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  24.5k|}
dictobject.c:Py_INCREF:
  256|  15.7M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  15.7M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  15.7M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 8.21M, False: 7.52M]
  ------------------
  288|       |        // the object is immortal
  289|  8.21M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  8.21M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  8.21M|        return;
  291|  8.21M|    }
  292|  7.52M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  7.52M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  7.52M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  7.52M|#endif
  308|  7.52M|}
dictobject.c:Py_DECREF:
  418|  8.74M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  8.74M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  8.74M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5.01M, False: 3.72M]
  |  |  ------------------
  ------------------
  422|  5.01M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  5.01M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  5.01M|        return;
  424|  5.01M|    }
  425|  3.72M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.72M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.72M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.38M, False: 2.33M]
  ------------------
  427|  1.38M|        _Py_Dealloc(op);
  428|  1.38M|    }
  429|  3.72M|}
dictobject.c:_Py_REFCNT:
  105|  4.80M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  4.80M|    #if !defined(Py_GIL_DISABLED)
  107|  4.80M|        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.80M|    }
dictobject.c:_Py_NewRef:
  632|  12.1M|{
  633|  12.1M|    Py_INCREF(obj);
  ------------------
  |  |  310|  12.1M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  12.1M|    return obj;
  635|  12.1M|}
dictobject.c:Py_XDECREF:
  615|  6.64M|{
  616|  6.64M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  6.64M|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 6.24M, False: 401k]
  ------------------
  617|  6.24M|        Py_DECREF(op);
  ------------------
  |  |  430|  6.24M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  6.24M|    }
  619|  6.64M|}
dictobject.c:Py_SET_REFCNT:
  154|  1.21M|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  1.21M|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 1.21M, 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.21M|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  1.21M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 1.21M]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  1.21M|#ifndef Py_GIL_DISABLED
  170|  1.21M|#if SIZEOF_VOID_P > 4
  171|  1.21M|    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.21M|#endif  // Py_LIMITED_API
  199|  1.21M|}
dictobject.c:Py_XINCREF:
  605|  2.93M|{
  606|  2.93M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.93M|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 2.32M, False: 608k]
  ------------------
  607|  2.32M|        Py_INCREF(op);
  ------------------
  |  |  310|  2.32M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  2.32M|    }
  609|  2.93M|}
moduleobject.c:Py_SET_REFCNT:
  154|     51|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|     51|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 51, False: 0]
  ------------------
  156|       |#if (defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030d0000) \
  157|       |    || defined(_Py_OPAQUE_PYOBJECT)
  158|       |    // Stable ABI implements Py_SET_REFCNT() as a function call
  159|       |    // on limited C API version 3.13 and newer, and abi3t.
  160|       |    _Py_SetRefcnt(ob, refcnt);
  161|       |#else
  162|       |    // This immortal check is for code that is unaware of immortal objects.
  163|       |    // The runtime tracks these objects and we should avoid as much
  164|       |    // as possible having extensions inadvertently change the refcnt
  165|       |    // of an immortalized object.
  166|     51|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|     51|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 51, False: 0]
  |  |  ------------------
  ------------------
  167|     51|        return;
  168|     51|    }
  169|      0|#ifndef Py_GIL_DISABLED
  170|      0|#if SIZEOF_VOID_P > 4
  171|      0|    ob->ob_refcnt = (uint32_t)refcnt;
  172|       |#else
  173|       |    ob->ob_refcnt = refcnt;
  174|       |#endif
  175|       |#else
  176|       |    if (_Py_IsOwnedByCurrentThread(ob)) {
  177|       |        if ((size_t)refcnt > (size_t)UINT32_MAX) {
  178|       |            // On overflow, make the object immortal
  179|       |            ob->ob_tid = _Py_UNOWNED_TID;
  180|       |            ob->ob_ref_local = _Py_IMMORTAL_REFCNT_LOCAL;
  181|       |            ob->ob_ref_shared = 0;
  182|       |        }
  183|       |        else {
  184|       |            // Set local refcount to desired refcount and shared refcount
  185|       |            // to zero, but preserve the shared refcount flags.
  186|       |            ob->ob_ref_local = _Py_STATIC_CAST(uint32_t, refcnt);
  187|       |            ob->ob_ref_shared &= _Py_REF_SHARED_FLAG_MASK;
  188|       |        }
  189|       |    }
  190|       |    else {
  191|       |        // Set local refcount to zero and shared refcount to desired refcount.
  192|       |        // Mark the object as merged.
  193|       |        ob->ob_tid = _Py_UNOWNED_TID;
  194|       |        ob->ob_ref_local = 0;
  195|       |        ob->ob_ref_shared = _Py_REF_SHARED(refcnt, _Py_REF_MERGED);
  196|       |    }
  197|       |#endif  // Py_GIL_DISABLED
  198|      0|#endif  // Py_LIMITED_API
  199|      0|}
moduleobject.c:_Py_IsImmortal:
  127|   295k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   295k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   295k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   295k|}
moduleobject.c:_Py_NewRef:
  632|    184|{
  633|    184|    Py_INCREF(obj);
  ------------------
  |  |  310|    184|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    184|    return obj;
  635|    184|}
moduleobject.c:Py_INCREF:
  256|    184|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    184|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    184|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 80, False: 104]
  ------------------
  288|       |        // the object is immortal
  289|     80|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     80|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     80|        return;
  291|     80|    }
  292|    104|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    104|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    104|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    104|#endif
  308|    104|}
moduleobject.c:Py_DECREF:
  418|   295k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   295k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   295k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   295k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   295k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 293k, False: 1.77k]
  |  |  ------------------
  ------------------
  422|   293k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   293k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   293k|        return;
  424|   293k|    }
  425|  1.77k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.77k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.77k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 6, False: 1.76k]
  ------------------
  427|      6|        _Py_Dealloc(op);
  428|      6|    }
  429|  1.77k|}
moduleobject.c:Py_XDECREF:
  615|    362|{
  616|    362|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    362|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 158, False: 204]
  ------------------
  617|    158|        Py_DECREF(op);
  ------------------
  |  |  430|    158|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    158|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    158|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    158|    }
  619|    362|}
moduleobject.c:_Py_REFCNT:
  105|      6|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      6|    #if !defined(Py_GIL_DISABLED)
  107|      6|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      6|    }
object.c:_Py_REFCNT:
  105|   141k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   141k|    #if !defined(Py_GIL_DISABLED)
  107|   141k|        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|   141k|    }
object.c:Py_XDECREF:
  615|    611|{
  616|    611|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    611|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 22, False: 589]
  ------------------
  617|     22|        Py_DECREF(op);
  ------------------
  |  |  430|     22|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     22|    }
  619|    611|}
object.c:Py_INCREF:
  256|  9.43M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  9.43M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  9.43M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 6.62M, False: 2.81M]
  ------------------
  288|       |        // the object is immortal
  289|  6.62M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  6.62M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  6.62M|        return;
  291|  6.62M|    }
  292|  2.81M|    op->ob_refcnt = cur_refcnt + 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.81M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.81M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.81M|#endif
  308|  2.81M|}
object.c:Py_DECREF:
  418|  9.23M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  9.23M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  9.23M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 6.46M, False: 2.76M]
  |  |  ------------------
  ------------------
  422|  6.46M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  6.46M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  6.46M|        return;
  424|  6.46M|    }
  425|  2.76M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.76M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.76M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 88, False: 2.76M]
  ------------------
  427|     88|        _Py_Dealloc(op);
  428|     88|    }
  429|  2.76M|}
object.c:_Py_NewRef:
  632|  95.6k|{
  633|  95.6k|    Py_INCREF(obj);
  ------------------
  |  |  310|  95.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  95.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  95.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  95.6k|    return obj;
  635|  95.6k|}
object.c:_Py_IsImmortal:
  127|  34.6M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  34.6M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  34.6M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  34.6M|}
object.c:_Py_IsStaticImmortal:
  141|  1.41M|{
  142|  1.41M|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  1.41M|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  1.41M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  1.41M|}
object.c:Py_SET_REFCNT:
  154|  2.27k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  2.27k|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 2.27k, False: 0]
  ------------------
  156|       |#if (defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030d0000) \
  157|       |    || defined(_Py_OPAQUE_PYOBJECT)
  158|       |    // Stable ABI implements Py_SET_REFCNT() as a function call
  159|       |    // on limited C API version 3.13 and newer, and abi3t.
  160|       |    _Py_SetRefcnt(ob, refcnt);
  161|       |#else
  162|       |    // This immortal check is for code that is unaware of immortal objects.
  163|       |    // The runtime tracks these objects and we should avoid as much
  164|       |    // as possible having extensions inadvertently change the refcnt
  165|       |    // of an immortalized object.
  166|  2.27k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  2.27k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 2.27k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  2.27k|#ifndef Py_GIL_DISABLED
  170|  2.27k|#if SIZEOF_VOID_P > 4
  171|  2.27k|    ob->ob_refcnt = (uint32_t)refcnt;
  172|       |#else
  173|       |    ob->ob_refcnt = refcnt;
  174|       |#endif
  175|       |#else
  176|       |    if (_Py_IsOwnedByCurrentThread(ob)) {
  177|       |        if ((size_t)refcnt > (size_t)UINT32_MAX) {
  178|       |            // On overflow, make the object immortal
  179|       |            ob->ob_tid = _Py_UNOWNED_TID;
  180|       |            ob->ob_ref_local = _Py_IMMORTAL_REFCNT_LOCAL;
  181|       |            ob->ob_ref_shared = 0;
  182|       |        }
  183|       |        else {
  184|       |            // Set local refcount to desired refcount and shared refcount
  185|       |            // to zero, but preserve the shared refcount flags.
  186|       |            ob->ob_ref_local = _Py_STATIC_CAST(uint32_t, refcnt);
  187|       |            ob->ob_ref_shared &= _Py_REF_SHARED_FLAG_MASK;
  188|       |        }
  189|       |    }
  190|       |    else {
  191|       |        // Set local refcount to zero and shared refcount to desired refcount.
  192|       |        // Mark the object as merged.
  193|       |        ob->ob_tid = _Py_UNOWNED_TID;
  194|       |        ob->ob_ref_local = 0;
  195|       |        ob->ob_ref_shared = _Py_REF_SHARED(refcnt, _Py_REF_MERGED);
  196|       |    }
  197|       |#endif  // Py_GIL_DISABLED
  198|  2.27k|#endif  // Py_LIMITED_API
  199|  2.27k|}
rangeobject.c:Py_DECREF:
  418|  2.22k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.22k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.22k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.19k, False: 35]
  |  |  ------------------
  ------------------
  422|  2.19k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.19k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.19k|        return;
  424|  2.19k|    }
  425|     35|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     35|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     35|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 9, False: 26]
  ------------------
  427|      9|        _Py_Dealloc(op);
  428|      9|    }
  429|     35|}
rangeobject.c:_Py_IsImmortal:
  127|  2.22k|{
  128|       |#if defined(Py_GIL_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.22k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.22k|}
rangeobject.c:_Py_NewRef:
  632|     87|{
  633|     87|    Py_INCREF(obj);
  ------------------
  |  |  310|     87|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     87|    return obj;
  635|     87|}
rangeobject.c:Py_INCREF:
  256|     87|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     87|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     87|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 83, False: 4]
  ------------------
  288|       |        // the object is immortal
  289|     83|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     83|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     83|        return;
  291|     83|    }
  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.92M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.92M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.92M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.40M, False: 515k]
  |  |  ------------------
  ------------------
  422|  1.40M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.40M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.40M|        return;
  424|  1.40M|    }
  425|   515k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   515k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   515k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 25.9k, False: 489k]
  ------------------
  427|  25.9k|        _Py_Dealloc(op);
  428|  25.9k|    }
  429|   515k|}
setobject.c:_Py_IsImmortal:
  127|  1.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|  1.92M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.92M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.92M|}
setobject.c:Py_INCREF:
  256|  2.33M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.33M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.33M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.42M, False: 905k]
  ------------------
  288|       |        // the object is immortal
  289|  1.42M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.42M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.42M|        return;
  291|  1.42M|    }
  292|   905k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   905k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   905k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   905k|#endif
  308|   905k|}
setobject.c:Py_XDECREF:
  615|  79.5k|{
  616|  79.5k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  79.5k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2, False: 79.5k]
  ------------------
  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|  79.5k|}
setobject.c:_Py_REFCNT:
  105|  1.08M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.08M|    #if !defined(Py_GIL_DISABLED)
  107|  1.08M|        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.08M|    }
setobject.c:_Py_NewRef:
  632|  2.19M|{
  633|  2.19M|    Py_INCREF(obj);
  ------------------
  |  |  310|  2.19M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  2.19M|    return obj;
  635|  2.19M|}
sliceobject.c:Py_DECREF:
  418|   230k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   230k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   230k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   230k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   230k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 152k, False: 78.5k]
  |  |  ------------------
  ------------------
  422|   152k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   152k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   152k|        return;
  424|   152k|    }
  425|  78.5k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  78.5k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  78.5k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 44.0k, False: 34.5k]
  ------------------
  427|  44.0k|        _Py_Dealloc(op);
  428|  44.0k|    }
  429|  78.5k|}
sliceobject.c:_Py_IsImmortal:
  127|   230k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   230k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   230k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   230k|}
sliceobject.c:_Py_NewRef:
  632|   191k|{
  633|   191k|    Py_INCREF(obj);
  ------------------
  |  |  310|   191k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   191k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   191k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   191k|    return obj;
  635|   191k|}
sliceobject.c:Py_INCREF:
  256|   191k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   191k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   191k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 152k, False: 38.4k]
  ------------------
  288|       |        // the object is immortal
  289|   152k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   152k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   152k|        return;
  291|   152k|    }
  292|  38.4k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  38.4k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  38.4k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  38.4k|#endif
  308|  38.4k|}
structseq.c:_Py_IsImmortal:
  127|  11.9k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  11.9k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  11.9k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  11.9k|}
structseq.c:Py_XDECREF:
  615|  11.1k|{
  616|  11.1k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  11.1k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 11.1k, False: 0]
  ------------------
  617|  11.1k|        Py_DECREF(op);
  ------------------
  |  |  430|  11.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  11.1k|    }
  619|  11.1k|}
structseq.c:Py_DECREF:
  418|  11.9k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  11.9k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  11.9k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.09k, False: 8.82k]
  |  |  ------------------
  ------------------
  422|  3.09k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  3.09k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  3.09k|        return;
  424|  3.09k|    }
  425|  8.82k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  8.82k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  8.82k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 7.65k, False: 1.16k]
  ------------------
  427|  7.65k|        _Py_Dealloc(op);
  428|  7.65k|    }
  429|  8.82k|}
tupleobject.c:_Py_REFCNT:
  105|  60.8k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  60.8k|    #if !defined(Py_GIL_DISABLED)
  107|  60.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|  60.8k|    }
tupleobject.c:Py_XDECREF:
  615|   595M|{
  616|   595M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   595M|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 595M, False: 13.2k]
  ------------------
  617|   595M|        Py_DECREF(op);
  ------------------
  |  |  430|   595M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   595M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   595M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|   595M|    }
  619|   595M|}
tupleobject.c:_Py_NewRef:
  632|   384M|{
  633|   384M|    Py_INCREF(obj);
  ------------------
  |  |  310|   384M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   384M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   384M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   384M|    return obj;
  635|   384M|}
tupleobject.c:Py_INCREF:
  256|   384M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   384M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   384M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 99.8M, False: 284M]
  ------------------
  288|       |        // the object is immortal
  289|  99.8M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  99.8M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  99.8M|        return;
  291|  99.8M|    }
  292|   284M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   284M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   284M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   284M|#endif
  308|   284M|}
tupleobject.c:Py_DECREF:
  418|   595M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   595M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   595M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   595M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   595M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 103M, False: 492M]
  |  |  ------------------
  ------------------
  422|   103M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   103M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   103M|        return;
  424|   103M|    }
  425|   492M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   492M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   492M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 96.5M, False: 395M]
  ------------------
  427|  96.5M|        _Py_Dealloc(op);
  428|  96.5M|    }
  429|   492M|}
tupleobject.c:_Py_IsImmortal:
  127|   595M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   595M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   595M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   595M|}
typeobject.c:_Py_NewRef:
  632|  26.6k|{
  633|  26.6k|    Py_INCREF(obj);
  ------------------
  |  |  310|  26.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  26.6k|    return obj;
  635|  26.6k|}
typeobject.c:_Py_XNewRef:
  638|  1.62k|{
  639|  1.62k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  1.62k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  1.62k|    return obj;
  641|  1.62k|}
typeobject.c:Py_XINCREF:
  605|  2.45k|{
  606|  2.45k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.45k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 1.04k, False: 1.41k]
  ------------------
  607|  1.04k|        Py_INCREF(op);
  ------------------
  |  |  310|  1.04k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  1.04k|    }
  609|  2.45k|}
typeobject.c:Py_INCREF:
  256|  1.62M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.62M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.62M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.22M, False: 401k]
  ------------------
  288|       |        // the object is immortal
  289|  1.22M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.22M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.22M|        return;
  291|  1.22M|    }
  292|   401k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   401k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   401k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   401k|#endif
  308|   401k|}
typeobject.c:Py_DECREF:
  418|   167k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   167k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   167k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   167k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   167k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 44.6k, False: 122k]
  |  |  ------------------
  ------------------
  422|  44.6k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  44.6k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  44.6k|        return;
  424|  44.6k|    }
  425|   122k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   122k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   122k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.81k, False: 118k]
  ------------------
  427|  3.81k|        _Py_Dealloc(op);
  428|  3.81k|    }
  429|   122k|}
typeobject.c:_Py_IsImmortal:
  127|  1.38M|{
  128|       |#if defined(Py_GIL_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.38M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.38M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.38M|}
typeobject.c:_Py_REFCNT:
  105|  2.70k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  2.70k|    #if !defined(Py_GIL_DISABLED)
  107|  2.70k|        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.70k|    }
typeobject.c:_Py_IsStaticImmortal:
  141|   146k|{
  142|   146k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|   146k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|   146k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|   146k|}
typeobject.c:Py_XDECREF:
  615|  10.4k|{
  616|  10.4k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  10.4k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2.95k, False: 7.53k]
  ------------------
  617|  2.95k|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  2.95k|    }
  619|  10.4k|}
unicode_formatter.c:Py_XDECREF:
  615|     92|{
  616|     92|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     92|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 92]
  ------------------
  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|     92|}
unicode_writer.c:_Py_REFCNT:
  105|   649k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   649k|    #if !defined(Py_GIL_DISABLED)
  107|   649k|        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|   649k|    }
unicode_writer.c:_Py_IsImmortal:
  127|   764k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   764k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   764k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   764k|}
unicode_writer.c:_Py_NewRef:
  632|  26.9k|{
  633|  26.9k|    Py_INCREF(obj);
  ------------------
  |  |  310|  26.9k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  26.9k|    return obj;
  635|  26.9k|}
unicode_writer.c:Py_INCREF:
  256|  26.9k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  26.9k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  26.9k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 15.0k, False: 11.9k]
  ------------------
  288|       |        // the object is immortal
  289|  15.0k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  15.0k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  15.0k|        return;
  291|  15.0k|    }
  292|  11.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|  11.9k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  11.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|  11.9k|#endif
  308|  11.9k|}
unicode_writer.c:Py_DECREF:
  418|   114k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   114k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   114k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   114k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   114k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 44.8k, False: 69.7k]
  |  |  ------------------
  ------------------
  422|  44.8k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  44.8k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  44.8k|        return;
  424|  44.8k|    }
  425|  69.7k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  69.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  69.7k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 63.4k, False: 6.31k]
  ------------------
  427|  63.4k|        _Py_Dealloc(op);
  428|  63.4k|    }
  429|  69.7k|}
unicode_writer.c:Py_XDECREF:
  615|   401k|{
  616|   401k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   401k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 96.1k, False: 304k]
  ------------------
  617|  96.1k|        Py_DECREF(op);
  ------------------
  |  |  430|  96.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  96.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  96.1k|    }
  619|   401k|}
unicodeobject.c:Py_DECREF:
  418|   729k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   729k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   729k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   729k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   729k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 62.6k, False: 666k]
  |  |  ------------------
  ------------------
  422|  62.6k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  62.6k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  62.6k|        return;
  424|  62.6k|    }
  425|   666k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   666k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   666k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 185k, False: 481k]
  ------------------
  427|   185k|        _Py_Dealloc(op);
  428|   185k|    }
  429|   666k|}
unicodeobject.c:_Py_IsImmortal:
  127|  10.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|  10.8M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  10.8M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  10.8M|}
unicodeobject.c:_Py_REFCNT:
  105|   691k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   691k|    #if !defined(Py_GIL_DISABLED)
  107|   691k|        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|   691k|    }
unicodeobject.c:_Py_NewRef:
  632|   430k|{
  633|   430k|    Py_INCREF(obj);
  ------------------
  |  |  310|   430k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   430k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   430k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   430k|    return obj;
  635|   430k|}
unicodeobject.c:Py_XDECREF:
  615|   558k|{
  616|   558k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   558k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 98.1k, False: 460k]
  ------------------
  617|  98.1k|        Py_DECREF(op);
  ------------------
  |  |  430|  98.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  98.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  98.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  98.1k|    }
  619|   558k|}
unicodeobject.c:Py_INCREF:
  256|  9.81M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  9.81M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  9.81M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 9.43M, False: 378k]
  ------------------
  288|       |        // the object is immortal
  289|  9.43M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  9.43M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  9.43M|        return;
  291|  9.43M|    }
  292|   378k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   378k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   378k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   378k|#endif
  308|   378k|}
unicodeobject.c:Py_SET_REFCNT:
  154|  51.4k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  51.4k|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 51.4k, False: 0]
  ------------------
  156|       |#if (defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030d0000) \
  157|       |    || defined(_Py_OPAQUE_PYOBJECT)
  158|       |    // Stable ABI implements Py_SET_REFCNT() as a function call
  159|       |    // on limited C API version 3.13 and newer, and abi3t.
  160|       |    _Py_SetRefcnt(ob, refcnt);
  161|       |#else
  162|       |    // This immortal check is for code that is unaware of immortal objects.
  163|       |    // The runtime tracks these objects and we should avoid as much
  164|       |    // as possible having extensions inadvertently change the refcnt
  165|       |    // of an immortalized object.
  166|  51.4k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  51.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  51.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 51.4k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  51.4k|#ifndef Py_GIL_DISABLED
  170|  51.4k|#if SIZEOF_VOID_P > 4
  171|  51.4k|    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|  51.4k|#endif  // Py_LIMITED_API
  199|  51.4k|}
unionobject.c:Py_DECREF:
  418|     92|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     92|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     92|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 92]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     92|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     92|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     92|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 92, False: 0]
  ------------------
  427|     92|        _Py_Dealloc(op);
  428|     92|    }
  429|     92|}
unionobject.c:_Py_IsImmortal:
  127|     92|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     92|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     92|}
unionobject.c:Py_XDECREF:
  615|     49|{
  616|     49|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     49|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2, False: 47]
  ------------------
  617|      2|        Py_DECREF(op);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      2|    }
  619|     49|}
unionobject.c:_Py_REFCNT:
  105|      1|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      1|    #if !defined(Py_GIL_DISABLED)
  107|      1|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      1|    }
weakrefobject.c:Py_INCREF:
  256|  2.69k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  2.69k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.69k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 194, False: 2.50k]
  ------------------
  288|       |        // the object is immortal
  289|    194|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    194|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    194|        return;
  291|    194|    }
  292|  2.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|}
weakrefobject.c:_Py_XNewRef:
  638|  2.39k|{
  639|  2.39k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  2.39k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  2.39k|    return obj;
  641|  2.39k|}
weakrefobject.c:Py_XINCREF:
  605|  2.39k|{
  606|  2.39k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.39k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 931, False: 1.46k]
  ------------------
  607|    931|        Py_INCREF(op);
  ------------------
  |  |  310|    931|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    931|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    931|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|    931|    }
  609|  2.39k|}
weakrefobject.c:Py_DECREF:
  418|  1.79k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.79k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.79k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 946, False: 849]
  |  |  ------------------
  ------------------
  422|    946|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    946|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    946|        return;
  424|    946|    }
  425|    849|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    849|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    849|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 818, False: 31]
  ------------------
  427|    818|        _Py_Dealloc(op);
  428|    818|    }
  429|    849|}
weakrefobject.c:_Py_IsImmortal:
  127|  1.79k|{
  128|       |#if defined(Py_GIL_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.79k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.79k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.79k|}
weakrefobject.c:_Py_REFCNT:
  105|   376k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   376k|    #if !defined(Py_GIL_DISABLED)
  107|   376k|        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|   376k|    }
weakrefobject.c:Py_XDECREF:
  615|  1.64k|{
  616|  1.64k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.64k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 27, False: 1.61k]
  ------------------
  617|     27|        Py_DECREF(op);
  ------------------
  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|     27|    }
  619|  1.64k|}
_warnings.c:_Py_NewRef:
  632|  82.8k|{
  633|  82.8k|    Py_INCREF(obj);
  ------------------
  |  |  310|  82.8k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  82.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  82.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  82.8k|    return obj;
  635|  82.8k|}
_warnings.c:Py_INCREF:
  256|   331k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   331k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   331k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 82.8k, False: 248k]
  ------------------
  288|       |        // the object is immortal
  289|  82.8k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  82.8k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  82.8k|        return;
  291|  82.8k|    }
  292|   248k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   248k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   248k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   248k|#endif
  308|   248k|}
_warnings.c:Py_DECREF:
  418|   870k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   870k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   870k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   870k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   870k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 165k, False: 705k]
  |  |  ------------------
  ------------------
  422|   165k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   165k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   165k|        return;
  424|   165k|    }
  425|   705k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   705k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   705k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 124k, False: 580k]
  ------------------
  427|   124k|        _Py_Dealloc(op);
  428|   124k|    }
  429|   705k|}
_warnings.c:_Py_IsImmortal:
  127|   870k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   870k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   870k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   870k|}
_warnings.c:_Py_XNewRef:
  638|      2|{
  639|      2|    Py_XINCREF(obj);
  ------------------
  |  |  611|      2|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|      2|    return obj;
  641|      2|}
_warnings.c:Py_XINCREF:
  605|      2|{
  606|      2|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      2|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 2, False: 0]
  ------------------
  607|      2|        Py_INCREF(op);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      2|    }
  609|      2|}
_warnings.c:Py_XDECREF:
  615|   331k|{
  616|   331k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   331k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 248k, False: 82.8k]
  ------------------
  617|   248k|        Py_DECREF(op);
  ------------------
  |  |  430|   248k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   248k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   248k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|   248k|    }
  619|   331k|}
bltinmodule.c:_Py_NewRef:
  632|  1.58k|{
  633|  1.58k|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.58k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  1.58k|    return obj;
  635|  1.58k|}
bltinmodule.c:Py_INCREF:
  256|  2.75k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.75k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.75k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.28k, False: 1.47k]
  ------------------
  288|       |        // the object is immortal
  289|  1.28k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.28k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.28k|        return;
  291|  1.28k|    }
  292|  1.47k|    op->ob_refcnt = cur_refcnt + 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.47k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.47k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.47k|#endif
  308|  1.47k|}
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|   310k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   310k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   310k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   310k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   310k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 275k, False: 34.9k]
  |  |  ------------------
  ------------------
  422|   275k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   275k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   275k|        return;
  424|   275k|    }
  425|  34.9k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  34.9k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  34.9k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 31.6k, False: 3.30k]
  ------------------
  427|  31.6k|        _Py_Dealloc(op);
  428|  31.6k|    }
  429|  34.9k|}
bltinmodule.c:_Py_IsImmortal:
  127|   310k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   310k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   310k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   310k|}
bltinmodule.c:Py_XDECREF:
  615|  3.42k|{
  616|  3.42k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.42k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2.61k, False: 809]
  ------------------
  617|  2.61k|        Py_DECREF(op);
  ------------------
  |  |  430|  2.61k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  2.61k|    }
  619|  3.42k|}
bltinmodule.c:_Py_XNewRef:
  638|     20|{
  639|     20|    Py_XINCREF(obj);
  ------------------
  |  |  611|     20|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|     20|    return obj;
  641|     20|}
bltinmodule.c:Py_XINCREF:
  605|     20|{
  606|     20|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     20|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 20, False: 0]
  ------------------
  607|     20|        Py_INCREF(op);
  ------------------
  |  |  310|     20|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     20|    }
  609|     20|}
ceval.c:_Py_IsImmortal:
  127|  40.2M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  40.2M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  40.2M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  40.2M|}
ceval.c:_Py_NewRef:
  632|  1.07M|{
  633|  1.07M|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.07M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.07M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  1.07M|    return obj;
  635|  1.07M|}
ceval.c:_Py_IsStaticImmortal:
  141|  64.8M|{
  142|  64.8M|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  64.8M|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  64.8M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  64.8M|}
ceval.c:_Py_REFCNT:
  105|  14.2k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  14.2k|    #if !defined(Py_GIL_DISABLED)
  107|  14.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|  14.2k|    }
ceval.c:Py_INCREF:
  256|  1.71M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  1.71M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.71M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 918k, False: 791k]
  ------------------
  288|       |        // the object is immortal
  289|   918k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   918k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   918k|        return;
  291|   918k|    }
  292|   791k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   791k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   791k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   791k|#endif
  308|   791k|}
ceval.c:Py_XDECREF:
  615|  10.1k|{
  616|  10.1k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  10.1k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 8.37k, False: 1.76k]
  ------------------
  617|  8.37k|        Py_DECREF(op);
  ------------------
  |  |  430|  8.37k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  8.37k|    }
  619|  10.1k|}
ceval.c:Py_DECREF:
  418|  8.37k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  8.37k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  8.37k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.98k, False: 5.38k]
  |  |  ------------------
  ------------------
  422|  2.98k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.98k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.98k|        return;
  424|  2.98k|    }
  425|  5.38k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.38k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  5.38k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 5.12k, False: 256]
  ------------------
  427|  5.12k|        _Py_Dealloc(op);
  428|  5.12k|    }
  429|  5.38k|}
ceval.c:Py_XINCREF:
  605|   324k|{
  606|   324k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   324k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 195k, False: 128k]
  ------------------
  607|   195k|        Py_INCREF(op);
  ------------------
  |  |  310|   195k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   195k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   195k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|   195k|    }
  609|   324k|}
ceval.c:_Py_XNewRef:
  638|   195k|{
  639|   195k|    Py_XINCREF(obj);
  ------------------
  |  |  611|   195k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   195k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   195k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|   195k|    return obj;
  641|   195k|}
codecs.c:Py_INCREF:
  256|   127k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   127k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   127k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.70k, False: 125k]
  ------------------
  288|       |        // the object is immortal
  289|  1.70k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.70k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.70k|        return;
  291|  1.70k|    }
  292|   125k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   125k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   125k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   125k|#endif
  308|   125k|}
codecs.c:Py_DECREF:
  418|   258k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   258k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   258k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   258k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   258k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 86.7k, False: 171k]
  |  |  ------------------
  ------------------
  422|  86.7k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  86.7k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  86.7k|        return;
  424|  86.7k|    }
  425|   171k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   171k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   171k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 84.4k, False: 87.1k]
  ------------------
  427|  84.4k|        _Py_Dealloc(op);
  428|  84.4k|    }
  429|   171k|}
codecs.c:_Py_IsImmortal:
  127|   258k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   258k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   258k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   258k|}
codecs.c:_Py_NewRef:
  632|   127k|{
  633|   127k|    Py_INCREF(obj);
  ------------------
  |  |  310|   127k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   127k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   127k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   127k|    return obj;
  635|   127k|}
codecs.c:Py_XDECREF:
  615|  5.19k|{
  616|  5.19k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.19k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 3.46k, False: 1.73k]
  ------------------
  617|  3.46k|        Py_DECREF(op);
  ------------------
  |  |  430|  3.46k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  3.46k|    }
  619|  5.19k|}
codegen.c:Py_DECREF:
  418|   962k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   962k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   962k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   962k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   962k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 789k, False: 172k]
  |  |  ------------------
  ------------------
  422|   789k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   789k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   789k|        return;
  424|   789k|    }
  425|   172k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   172k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   172k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 50.8k, False: 121k]
  ------------------
  427|  50.8k|        _Py_Dealloc(op);
  428|  50.8k|    }
  429|   172k|}
codegen.c:_Py_IsImmortal:
  127|   962k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   962k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   962k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   962k|}
codegen.c:_Py_NewRef:
  632|  28.7k|{
  633|  28.7k|    Py_INCREF(obj);
  ------------------
  |  |  310|  28.7k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  28.7k|    return obj;
  635|  28.7k|}
codegen.c:Py_INCREF:
  256|  37.4k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  37.4k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  37.4k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 35.8k, False: 1.67k]
  ------------------
  288|       |        // the object is immortal
  289|  35.8k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  35.8k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  35.8k|        return;
  291|  35.8k|    }
  292|  1.67k|    op->ob_refcnt = cur_refcnt + 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.67k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.67k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.67k|#endif
  308|  1.67k|}
codegen.c:Py_XDECREF:
  615|    630|{
  616|    630|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    630|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 210, False: 420]
  ------------------
  617|    210|        Py_DECREF(op);
  ------------------
  |  |  430|    210|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    210|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    210|    }
  619|    630|}
compile.c:_Py_NewRef:
  632|  4.67M|{
  633|  4.67M|    Py_INCREF(obj);
  ------------------
  |  |  310|  4.67M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.67M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  4.67M|    return obj;
  635|  4.67M|}
compile.c:Py_DECREF:
  418|  11.8M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  11.8M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  11.8M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.96M, False: 7.86M]
  |  |  ------------------
  ------------------
  422|  3.96M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  3.96M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  3.96M|        return;
  424|  3.96M|    }
  425|  7.86M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  7.86M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  7.86M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.13M, False: 5.73M]
  ------------------
  427|  2.13M|        _Py_Dealloc(op);
  428|  2.13M|    }
  429|  7.86M|}
compile.c:_Py_IsImmortal:
  127|  11.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|  11.8M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  11.8M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  11.8M|}
compile.c:Py_XDECREF:
  615|   200k|{
  616|   200k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   200k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 112k, False: 87.9k]
  ------------------
  617|   112k|        Py_DECREF(op);
  ------------------
  |  |  430|   112k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   112k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   112k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|   112k|    }
  619|   200k|}
compile.c:_Py_XNewRef:
  638|   133k|{
  639|   133k|    Py_XINCREF(obj);
  ------------------
  |  |  611|   133k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   133k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   133k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|   133k|    return obj;
  641|   133k|}
compile.c:Py_XINCREF:
  605|   133k|{
  606|   133k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   133k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 50.5k, False: 82.6k]
  ------------------
  607|  50.5k|        Py_INCREF(op);
  ------------------
  |  |  310|  50.5k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  50.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  50.5k|    }
  609|   133k|}
compile.c:Py_INCREF:
  256|  4.80M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.80M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  4.80M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 730k, False: 4.07M]
  ------------------
  288|       |        // the object is immortal
  289|   730k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   730k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   730k|        return;
  291|   730k|    }
  292|  4.07M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  4.07M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.07M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  4.07M|#endif
  308|  4.07M|}
context.c:Py_INCREF:
  256|      7|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      7|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      7|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3, False: 4]
  ------------------
  288|       |        // the object is immortal
  289|      3|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      3|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      3|        return;
  291|      3|    }
  292|      4|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      4|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      4|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      4|#endif
  308|      4|}
context.c:Py_DECREF:
  418|      8|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      8|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      8|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 4, False: 4]
  |  |  ------------------
  ------------------
  422|      4|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      4|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      4|        return;
  424|      4|    }
  425|      4|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      4|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      4|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 4]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      4|}
context.c:_Py_IsImmortal:
  127|      8|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      8|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      8|}
context.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|}
context.c:Py_XINCREF:
  605|  41.4k|{
  606|  41.4k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  41.4k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 0, False: 41.4k]
  ------------------
  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|  41.4k|}
context.c:Py_XDECREF:
  615|      2|{
  616|      2|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      2|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1, False: 1]
  ------------------
  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|      2|}
context.c:_Py_XNewRef:
  638|      5|{
  639|      5|    Py_XINCREF(obj);
  ------------------
  |  |  611|      5|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|      5|    return obj;
  641|      5|}
errors.c:Py_XDECREF:
  615|   499k|{
  616|   499k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   499k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 135k, False: 364k]
  ------------------
  617|   135k|        Py_DECREF(op);
  ------------------
  |  |  430|   135k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   135k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   135k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|   135k|    }
  619|   499k|}
errors.c:Py_DECREF:
  418|   214k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   214k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   214k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   214k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   214k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 7.70k, False: 206k]
  |  |  ------------------
  ------------------
  422|  7.70k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  7.70k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  7.70k|        return;
  424|  7.70k|    }
  425|   206k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   206k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   206k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 75.9k, False: 130k]
  ------------------
  427|  75.9k|        _Py_Dealloc(op);
  428|  75.9k|    }
  429|   206k|}
errors.c:_Py_IsImmortal:
  127|   214k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   214k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   214k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   214k|}
errors.c:Py_XINCREF:
  605|   105k|{
  606|   105k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   105k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 105k, False: 0]
  ------------------
  607|   105k|        Py_INCREF(op);
  ------------------
  |  |  310|   105k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   105k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   105k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|   105k|    }
  609|   105k|}
errors.c:Py_INCREF:
  256|   116k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   116k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   116k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 9.57k, False: 106k]
  ------------------
  288|       |        // the object is immortal
  289|  9.57k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  9.57k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  9.57k|        return;
  291|  9.57k|    }
  292|   106k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   106k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   106k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   106k|#endif
  308|   106k|}
errors.c:_Py_NewRef:
  632|  9.47k|{
  633|  9.47k|    Py_INCREF(obj);
  ------------------
  |  |  310|  9.47k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  9.47k|    return obj;
  635|  9.47k|}
flowgraph.c:_Py_NewRef:
  632|  2.68M|{
  633|  2.68M|    Py_INCREF(obj);
  ------------------
  |  |  310|  2.68M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  2.68M|    return obj;
  635|  2.68M|}
flowgraph.c:Py_INCREF:
  256|  2.68M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.68M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.68M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.08M, False: 1.60M]
  ------------------
  288|       |        // the object is immortal
  289|  1.08M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.08M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.08M|        return;
  291|  1.08M|    }
  292|  1.60M|    op->ob_refcnt = cur_refcnt + 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.60M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.60M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.60M|#endif
  308|  1.60M|}
flowgraph.c:_Py_IsImmortal:
  127|  4.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|  4.23M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  4.23M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  4.23M|}
flowgraph.c:Py_DECREF:
  418|  3.52M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.52M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.52M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.54M, False: 1.98M]
  |  |  ------------------
  ------------------
  422|  1.54M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.54M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.54M|        return;
  424|  1.54M|    }
  425|  1.98M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.98M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.98M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 4.73k, False: 1.97M]
  ------------------
  427|  4.73k|        _Py_Dealloc(op);
  428|  4.73k|    }
  429|  1.98M|}
frame.c:_Py_IsStaticImmortal:
  141|  8.03M|{
  142|  8.03M|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  8.03M|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  8.03M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  8.03M|}
frame.c:Py_DECREF:
  418|  20.7k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  20.7k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  20.7k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 20.7k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  20.7k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  20.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  20.7k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 16.3k, False: 4.40k]
  ------------------
  427|  16.3k|        _Py_Dealloc(op);
  428|  16.3k|    }
  429|  20.7k|}
frame.c:_Py_IsImmortal:
  127|  31.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|  31.9k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  31.9k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  31.9k|}
frame.c:_Py_REFCNT:
  105|  19.9k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  19.9k|    #if !defined(Py_GIL_DISABLED)
  107|  19.9k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  19.9k|    }
frame.c:Py_INCREF:
  256|  4.17k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.17k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  4.17k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 4.17k]
  ------------------
  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.17k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  4.17k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.17k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  4.17k|#endif
  308|  4.17k|}
frame.c:_Py_NewRef:
  632|  2.49k|{
  633|  2.49k|    Py_INCREF(obj);
  ------------------
  |  |  310|  2.49k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  2.49k|    return obj;
  635|  2.49k|}
future.c:Py_DECREF:
  418|    131|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    131|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    131|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    131|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 131]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    131|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    131|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    131|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 100, False: 31]
  ------------------
  427|    100|        _Py_Dealloc(op);
  428|    100|    }
  429|    131|}
future.c:_Py_IsImmortal:
  127|    131|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    131|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    131|}
future.c:Py_XDECREF:
  615|    100|{
  616|    100|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    100|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 100, False: 0]
  ------------------
  617|    100|        Py_DECREF(op);
  ------------------
  |  |  430|    100|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    100|    }
  619|    100|}
gc.c:Py_DECREF:
  418|  17.6k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  17.6k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  17.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 17.6k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  17.6k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  17.6k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  17.6k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 16.8k, False: 716]
  ------------------
  427|  16.8k|        _Py_Dealloc(op);
  428|  16.8k|    }
  429|  17.6k|}
gc.c:_Py_IsImmortal:
  127|   158M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   158M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   158M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   158M|}
gc.c:Py_INCREF:
  256|  86.1M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  86.1M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  86.1M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 86.1M, False: 1.63k]
  ------------------
  288|       |        // the object is immortal
  289|  86.1M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  86.1M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  86.1M|        return;
  291|  86.1M|    }
  292|  1.63k|    op->ob_refcnt = cur_refcnt + 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.63k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.63k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.63k|#endif
  308|  1.63k|}
gc.c:_Py_REFCNT:
  105|  72.4M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  72.4M|    #if !defined(Py_GIL_DISABLED)
  107|  72.4M|        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|  72.4M|    }
gc.c:Py_XDECREF:
  615|  16.5k|{
  616|  16.5k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  16.5k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 16.5k]
  ------------------
  617|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|  16.5k|}
getargs.c:_Py_NewRef:
  632|  25.4k|{
  633|  25.4k|    Py_INCREF(obj);
  ------------------
  |  |  310|  25.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  25.4k|    return obj;
  635|  25.4k|}
getargs.c:Py_INCREF:
  256|  25.4k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  25.4k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  25.4k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 16.6k, False: 8.74k]
  ------------------
  288|       |        // the object is immortal
  289|  16.6k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  16.6k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  16.6k|        return;
  291|  16.6k|    }
  292|  8.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|  8.74k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  8.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|  8.74k|#endif
  308|  8.74k|}
getargs.c:Py_DECREF:
  418|  94.0k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  94.0k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  94.0k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  94.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  94.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 84.1k, False: 9.90k]
  |  |  ------------------
  ------------------
  422|  84.1k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  84.1k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  84.1k|        return;
  424|  84.1k|    }
  425|  9.90k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  9.90k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  9.90k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 9.90k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  9.90k|}
getargs.c:_Py_IsImmortal:
  127|  94.0k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  94.0k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  94.0k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  94.0k|}
hamt.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|}
hamt.c:Py_INCREF:
  256|      3|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      3|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      3|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1, False: 2]
  ------------------
  288|       |        // the object is immortal
  289|      1|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      1|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      1|        return;
  291|      1|    }
  292|      2|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      2|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      2|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      2|#endif
  308|      2|}
import.c:Py_INCREF:
  256|  1.31M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.31M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.31M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 207k, False: 1.10M]
  ------------------
  288|       |        // the object is immortal
  289|   207k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   207k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   207k|        return;
  291|   207k|    }
  292|  1.10M|    op->ob_refcnt = cur_refcnt + 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.10M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.10M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.10M|#endif
  308|  1.10M|}
import.c:Py_DECREF:
  418|  2.35M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.35M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.35M|#define _Py_IsImmortal(op) _Py_IsImmortal(_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 (137:28): [True: 208k, False: 2.14M]
  |  |  ------------------
  ------------------
  422|   208k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   208k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   208k|        return;
  424|   208k|    }
  425|  2.14M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.14M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.14M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 139k, False: 2.00M]
  ------------------
  427|   139k|        _Py_Dealloc(op);
  428|   139k|    }
  429|  2.14M|}
import.c:_Py_IsImmortal:
  127|  2.35M|{
  128|       |#if defined(Py_GIL_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.35M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.35M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.35M|}
import.c:Py_XDECREF:
  615|   692k|{
  616|   692k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   692k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 690k, False: 2.24k]
  ------------------
  617|   690k|        Py_DECREF(op);
  ------------------
  |  |  430|   690k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   690k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   690k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|   690k|    }
  619|   692k|}
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|    478|{
  606|    478|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    478|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 245, False: 233]
  ------------------
  607|    245|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|    245|    }
  609|    478|}
import.c:_Py_NewRef:
  632|   511k|{
  633|   511k|    Py_INCREF(obj);
  ------------------
  |  |  310|   511k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   511k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   511k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   511k|    return obj;
  635|   511k|}
import.c:_Py_XNewRef:
  638|    478|{
  639|    478|    Py_XINCREF(obj);
  ------------------
  |  |  611|    478|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    478|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    478|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|    478|    return obj;
  641|    478|}
importdl.c:Py_DECREF:
  418|    192|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    192|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    192|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    192|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    192|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 78, False: 114]
  |  |  ------------------
  ------------------
  422|     78|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     78|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     78|        return;
  424|     78|    }
  425|    114|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    114|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    114|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 53, False: 61]
  ------------------
  427|     53|        _Py_Dealloc(op);
  428|     53|    }
  429|    114|}
importdl.c:_Py_IsImmortal:
  127|    192|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    192|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    192|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    192|}
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|     45|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     45|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     45|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 39, False: 6]
  ------------------
  288|       |        // the object is immortal
  289|     39|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     39|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     39|        return;
  291|     39|    }
  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|   151k|{
  616|   151k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   151k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 151k]
  ------------------
  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|   151k|}
instruction_sequence.c:Py_DECREF:
  418|    718|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    718|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    718|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    718|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    718|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 718]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    718|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    718|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    718|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 718, False: 0]
  ------------------
  427|    718|        _Py_Dealloc(op);
  428|    718|    }
  429|    718|}
instruction_sequence.c:_Py_IsImmortal:
  127|    718|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    718|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    718|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    718|}
intrinsics.c:Py_DECREF:
  418|  3.50k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.50k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.50k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.91k, False: 1.59k]
  |  |  ------------------
  ------------------
  422|  1.91k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.91k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.91k|        return;
  424|  1.91k|    }
  425|  1.59k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.59k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.59k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 12, False: 1.57k]
  ------------------
  427|     12|        _Py_Dealloc(op);
  428|     12|    }
  429|  1.59k|}
intrinsics.c:_Py_IsImmortal:
  127|  3.50k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  3.50k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.50k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.50k|}
intrinsics.c:Py_XDECREF:
  615|  1.68k|{
  616|  1.68k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.68k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1.68k, False: 0]
  ------------------
  617|  1.68k|        Py_DECREF(op);
  ------------------
  |  |  430|  1.68k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  1.68k|    }
  619|  1.68k|}
intrinsics.c:_Py_REFCNT:
  105|    165|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    165|    #if !defined(Py_GIL_DISABLED)
  107|    165|        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|    165|    }
marshal.c:Py_DECREF:
  418|  36.6k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  36.6k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  36.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 17.1k, False: 19.5k]
  |  |  ------------------
  ------------------
  422|  17.1k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  17.1k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  17.1k|        return;
  424|  17.1k|    }
  425|  19.5k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  19.5k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  19.5k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.62k, False: 15.9k]
  ------------------
  427|  3.62k|        _Py_Dealloc(op);
  428|  3.62k|    }
  429|  19.5k|}
marshal.c:_Py_IsImmortal:
  127|  36.6k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  36.6k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  36.6k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  36.6k|}
marshal.c:_Py_NewRef:
  632|  38.4k|{
  633|  38.4k|    Py_INCREF(obj);
  ------------------
  |  |  310|  38.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  38.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  38.4k|    return obj;
  635|  38.4k|}
marshal.c:Py_INCREF:
  256|  38.4k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  38.4k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  38.4k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 33.7k, False: 4.72k]
  ------------------
  288|       |        // the object is immortal
  289|  33.7k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  33.7k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  33.7k|        return;
  291|  33.7k|    }
  292|  4.72k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  4.72k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.72k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  4.72k|#endif
  308|  4.72k|}
marshal.c:Py_XDECREF:
  615|  35.3k|{
  616|  35.3k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  35.3k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 35.3k, False: 0]
  ------------------
  617|  35.3k|        Py_DECREF(op);
  ------------------
  |  |  430|  35.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  35.3k|    }
  619|  35.3k|}
modsupport.c:Py_INCREF:
  256|   240k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   240k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   240k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 46.2k, False: 194k]
  ------------------
  288|       |        // the object is immortal
  289|  46.2k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  46.2k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  46.2k|        return;
  291|  46.2k|    }
  292|   194k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   194k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   194k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   194k|#endif
  308|   194k|}
modsupport.c:Py_XDECREF:
  615|    651|{
  616|    651|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    651|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 651, False: 0]
  ------------------
  617|    651|        Py_DECREF(op);
  ------------------
  |  |  430|    651|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    651|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    651|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    651|    }
  619|    651|}
modsupport.c:Py_DECREF:
  418|  1.65k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.65k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.65k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 973, False: 682]
  |  |  ------------------
  ------------------
  422|    973|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    973|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    973|        return;
  424|    973|    }
  425|    682|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    682|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    682|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 682]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    682|}
modsupport.c:_Py_IsImmortal:
  127|  1.65k|{
  128|       |#if defined(Py_GIL_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.65k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.65k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.65k|}
pyarena.c:Py_DECREF:
  418|  3.01M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.01M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.01M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.38M, False: 1.63M]
  |  |  ------------------
  ------------------
  422|  1.38M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.38M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.38M|        return;
  424|  1.38M|    }
  425|  1.63M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.63M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.63M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 26.3k, False: 1.60M]
  ------------------
  427|  26.3k|        _Py_Dealloc(op);
  428|  26.3k|    }
  429|  1.63M|}
pyarena.c:_Py_IsImmortal:
  127|  3.01M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  3.01M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.01M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.01M|}
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|  26.6k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  26.6k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  26.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 26.6k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  26.6k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  26.6k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  26.6k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.43k, False: 24.1k]
  ------------------
  427|  2.43k|        _Py_Dealloc(op);
  428|  2.43k|    }
  429|  26.6k|}
pythonrun.c:_Py_IsImmortal:
  127|  26.6k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  26.6k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  26.6k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  26.6k|}
pythonrun.c:Py_XDECREF:
  615|  24.3k|{
  616|  24.3k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  24.3k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 120, False: 24.2k]
  ------------------
  617|    120|        Py_DECREF(op);
  ------------------
  |  |  430|    120|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    120|    }
  619|  24.3k|}
specialize.c:Py_XDECREF:
  615|  1.82k|{
  616|  1.82k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.82k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1.15k, False: 672]
  ------------------
  617|  1.15k|        Py_DECREF(op);
  ------------------
  |  |  430|  1.15k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  1.15k|    }
  619|  1.82k|}
specialize.c:Py_DECREF:
  418|  1.17k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.17k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.17k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 20, False: 1.15k]
  |  |  ------------------
  ------------------
  422|     20|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     20|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     20|        return;
  424|     20|    }
  425|  1.15k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.15k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.15k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 1.15k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  1.15k|}
specialize.c:_Py_IsImmortal:
  127|  1.17k|{
  128|       |#if defined(Py_GIL_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.17k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.17k|}
structmember.c:Py_INCREF:
  256|  3.72k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.72k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.72k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2.39k, False: 1.33k]
  ------------------
  288|       |        // the object is immortal
  289|  2.39k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  2.39k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  2.39k|        return;
  291|  2.39k|    }
  292|  1.33k|    op->ob_refcnt = cur_refcnt + 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.33k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.33k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.33k|#endif
  308|  1.33k|}
structmember.c:Py_XINCREF:
  605|  3.30k|{
  606|  3.30k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.30k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 3.30k, False: 0]
  ------------------
  607|  3.30k|        Py_INCREF(op);
  ------------------
  |  |  310|  3.30k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  3.30k|    }
  609|  3.30k|}
structmember.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: 162, False: 6]
  |  |  ------------------
  ------------------
  422|    162|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    162|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    162|        return;
  424|    162|    }
  425|      6|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      6|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      6|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 6]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      6|}
structmember.c:_Py_IsImmortal:
  127|    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|}
structmember.c:_Py_XNewRef:
  638|  3.28k|{
  639|  3.28k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  3.28k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  3.28k|    return obj;
  641|  3.28k|}
structmember.c:Py_XDECREF:
  615|  3.28k|{
  616|  3.28k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.28k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 168, False: 3.11k]
  ------------------
  617|    168|        Py_DECREF(op);
  ------------------
  |  |  430|    168|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    168|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    168|    }
  619|  3.28k|}
symtable.c:_Py_NewRef:
  632|  1.44M|{
  633|  1.44M|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.44M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  1.44M|    return obj;
  635|  1.44M|}
symtable.c:Py_INCREF:
  256|  1.44M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.44M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.44M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.41M, False: 29.4k]
  ------------------
  288|       |        // the object is immortal
  289|  1.41M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.41M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.41M|        return;
  291|  1.41M|    }
  292|  29.4k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  29.4k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  29.4k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  29.4k|#endif
  308|  29.4k|}
symtable.c:Py_XDECREF:
  615|  1.22M|{
  616|  1.22M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.22M|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 919k, False: 301k]
  ------------------
  617|   919k|        Py_DECREF(op);
  ------------------
  |  |  430|   919k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   919k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   919k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|   919k|    }
  619|  1.22M|}
symtable.c:Py_DECREF:
  418|  4.56M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.56M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.56M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.56M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.56M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.94M, False: 2.61M]
  |  |  ------------------
  ------------------
  422|  1.94M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.94M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.94M|        return;
  424|  1.94M|    }
  425|  2.61M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.61M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.61M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.33M, False: 1.28M]
  ------------------
  427|  1.33M|        _Py_Dealloc(op);
  428|  1.33M|    }
  429|  2.61M|}
symtable.c:_Py_IsImmortal:
  127|  4.56M|{
  128|       |#if defined(Py_GIL_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.56M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  4.56M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  4.56M|}
sysmodule.c:Py_XDECREF:
  615|    474|{
  616|    474|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    474|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 386, False: 88]
  ------------------
  617|    386|        Py_DECREF(op);
  ------------------
  |  |  430|    386|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    386|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    386|    }
  619|    474|}
sysmodule.c:Py_DECREF:
  418|    588|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    588|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    588|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    588|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    588|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 102, False: 486]
  |  |  ------------------
  ------------------
  422|    102|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    102|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    102|        return;
  424|    102|    }
  425|    486|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    486|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    486|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 388, False: 98]
  ------------------
  427|    388|        _Py_Dealloc(op);
  428|    388|    }
  429|    486|}
sysmodule.c:_Py_IsImmortal:
  127|    588|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    588|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    588|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    588|}
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|    125|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    125|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    125|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 97, False: 28]
  ------------------
  288|       |        // the object is immortal
  289|     97|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     97|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     97|        return;
  291|     97|    }
  292|     28|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     28|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     28|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     28|#endif
  308|     28|}
sysmodule.c:_Py_NewRef:
  632|     96|{
  633|     96|    Py_INCREF(obj);
  ------------------
  |  |  310|     96|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     96|    return obj;
  635|     96|}
traceback.c:_Py_NewRef:
  632|  36.2k|{
  633|  36.2k|    Py_INCREF(obj);
  ------------------
  |  |  310|  36.2k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  36.2k|    return obj;
  635|  36.2k|}
traceback.c:Py_INCREF:
  256|  38.4k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  38.4k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  38.4k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 38.4k]
  ------------------
  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|  38.4k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  38.4k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  38.4k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  38.4k|#endif
  308|  38.4k|}
traceback.c:Py_XINCREF:
  605|  36.2k|{
  606|  36.2k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  36.2k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 2.20k, False: 34.0k]
  ------------------
  607|  2.20k|        Py_INCREF(op);
  ------------------
  |  |  310|  2.20k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  2.20k|    }
  609|  36.2k|}
traceback.c:_Py_XNewRef:
  638|  36.2k|{
  639|  36.2k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  36.2k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  36.2k|    return obj;
  641|  36.2k|}
traceback.c:Py_XDECREF:
  615|   144k|{
  616|   144k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   144k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 76.8k, False: 68.0k]
  ------------------
  617|  76.8k|        Py_DECREF(op);
  ------------------
  |  |  430|  76.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  76.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  76.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  76.8k|    }
  619|   144k|}
traceback.c:Py_DECREF:
  418|  76.8k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  76.8k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  76.8k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  76.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  76.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 76.8k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  76.8k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  76.8k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  76.8k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 5.37k, False: 71.4k]
  ------------------
  427|  5.37k|        _Py_Dealloc(op);
  428|  5.37k|    }
  429|  76.8k|}
traceback.c:_Py_IsImmortal:
  127|  76.8k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  76.8k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  76.8k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  76.8k|}
typecache.c:Py_INCREF:
  256|  11.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|  11.0k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  11.0k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 7.92k, False: 3.11k]
  ------------------
  288|       |        // the object is immortal
  289|  7.92k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  7.92k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  7.92k|        return;
  291|  7.92k|    }
  292|  3.11k|    op->ob_refcnt = cur_refcnt + 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.11k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.11k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.11k|#endif
  308|  3.11k|}
typecache.c:_Py_IsImmortal:
  127|  2.54M|{
  128|       |#if defined(Py_GIL_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.54M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.54M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.54M|}
typecache.c:_Py_IsStaticImmortal:
  141|  1.76M|{
  142|  1.76M|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  1.76M|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  1.76M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  1.76M|}
typecache.c:Py_DECREF:
  418|  6.75k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  6.75k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  6.75k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 4.58k, False: 2.17k]
  |  |  ------------------
  ------------------
  422|  4.58k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  4.58k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  4.58k|        return;
  424|  4.58k|    }
  425|  2.17k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.17k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.17k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 2.17k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  2.17k|}
fileutils.c:Py_DECREF:
  418|  5.61k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  5.61k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  5.61k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 5.61k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  5.61k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.61k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  5.61k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 5.61k, False: 0]
  ------------------
  427|  5.61k|        _Py_Dealloc(op);
  428|  5.61k|    }
  429|  5.61k|}
fileutils.c:_Py_IsImmortal:
  127|  5.61k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  5.61k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  5.61k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  5.61k|}
suggestions.c:_Py_XNewRef:
  638|    100|{
  639|    100|    Py_XINCREF(obj);
  ------------------
  |  |  611|    100|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|    100|    return obj;
  641|    100|}
suggestions.c:Py_XINCREF:
  605|    100|{
  606|    100|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    100|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 31, False: 69]
  ------------------
  607|     31|        Py_INCREF(op);
  ------------------
  |  |  310|     31|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     31|    }
  609|    100|}
suggestions.c:Py_INCREF:
  256|     31|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     31|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     31|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 31]
  ------------------
  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|     31|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     31|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     31|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     31|#endif
  308|     31|}
posixmodule.c:Py_DECREF:
  418|  2.65k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.65k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.65k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 338, False: 2.31k]
  |  |  ------------------
  ------------------
  422|    338|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    338|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    338|        return;
  424|    338|    }
  425|  2.31k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.31k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.31k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 632, False: 1.68k]
  ------------------
  427|    632|        _Py_Dealloc(op);
  428|    632|    }
  429|  2.31k|}
posixmodule.c:_Py_IsImmortal:
  127|  2.65k|{
  128|       |#if defined(Py_GIL_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.65k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.65k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.65k|}
posixmodule.c:_Py_NewRef:
  632|  6.09k|{
  633|  6.09k|    Py_INCREF(obj);
  ------------------
  |  |  310|  6.09k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  6.09k|    return obj;
  635|  6.09k|}
posixmodule.c:Py_INCREF:
  256|  6.73k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.73k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  6.73k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 12, False: 6.72k]
  ------------------
  288|       |        // the object is immortal
  289|     12|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     12|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     12|        return;
  291|     12|    }
  292|  6.72k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  6.72k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  6.72k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  6.72k|#endif
  308|  6.72k|}
_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|     12|{
  633|     12|    Py_INCREF(obj);
  ------------------
  |  |  310|     12|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     12|    return obj;
  635|     12|}
_collectionsmodule.c:Py_INCREF:
  256|     13|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     13|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     13|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1, False: 12]
  ------------------
  288|       |        // the object is immortal
  289|      1|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      1|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      1|        return;
  291|      1|    }
  292|     12|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     12|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     12|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     12|#endif
  308|     12|}
_collectionsmodule.c:Py_DECREF:
  418|     13|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     13|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     13|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 13, False: 0]
  |  |  ------------------
  ------------------
  422|     13|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     13|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     13|        return;
  424|     13|    }
  425|      0|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      0|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 0]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      0|}
_collectionsmodule.c:_Py_IsImmortal:
  127|     13|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     13|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     13|}
_collectionsmodule.c:Py_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|}
_collectionsmodule.c:_Py_XNewRef:
  638|      1|{
  639|      1|    Py_XINCREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|      1|    return obj;
  641|      1|}
_collectionsmodule.c:Py_XINCREF:
  605|      1|{
  606|      1|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 1, False: 0]
  ------------------
  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|      1|}
errnomodule.c:Py_DECREF:
  333|    550|static inline void Py_DECREF(PyObject *op) {
  334|    550|#  if Py_LIMITED_API+0 >= 0x030a00A7
  335|    550|    _Py_DecRef(op);
  336|       |#  else
  337|       |    Py_DecRef(op);
  338|       |#  endif
  339|    550|}
_iomodule.c:Py_DECREF:
  418|    646|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    646|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    646|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    646|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    646|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 224, False: 422]
  |  |  ------------------
  ------------------
  422|    224|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    224|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    224|        return;
  424|    224|    }
  425|    422|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    422|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    422|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 214, False: 208]
  ------------------
  427|    214|        _Py_Dealloc(op);
  428|    214|    }
  429|    422|}
_iomodule.c:_Py_IsImmortal:
  127|    646|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    646|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    646|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    646|}
_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|    202|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    202|    #if !defined(Py_GIL_DISABLED)
  107|    202|        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|    202|    }
iobase.c:Py_DECREF:
  418|    511|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    511|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    511|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    511|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    511|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 410, False: 101]
  |  |  ------------------
  ------------------
  422|    410|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    410|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    410|        return;
  424|    410|    }
  425|    101|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    101|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    101|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 101, False: 0]
  ------------------
  427|    101|        _Py_Dealloc(op);
  428|    101|    }
  429|    101|}
iobase.c:_Py_IsImmortal:
  127|    511|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    511|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    511|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    511|}
iobase.c:Py_INCREF:
  256|    101|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    101|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    101|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 101]
  ------------------
  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|    101|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    101|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    101|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    101|#endif
  308|    101|}
iobase.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|}
iobase.c:Py_XDECREF:
  615|    101|{
  616|    101|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    101|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 101, False: 0]
  ------------------
  617|    101|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    101|    }
  619|    101|}
fileio.c:_Py_REFCNT:
  105|    101|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    101|    #if !defined(Py_GIL_DISABLED)
  107|    101|        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|    101|    }
fileio.c:Py_DECREF:
  418|    303|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    303|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    303|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    303|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    303|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 303]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    303|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    303|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    303|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 202, False: 101]
  ------------------
  427|    202|        _Py_Dealloc(op);
  428|    202|    }
  429|    303|}
fileio.c:_Py_IsImmortal:
  127|    303|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    303|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    303|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    303|}
bufferedio.c:Py_DECREF:
  418|   124k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   124k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   124k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   124k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   124k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 82.9k, False: 41.9k]
  |  |  ------------------
  ------------------
  422|  82.9k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  82.9k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  82.9k|        return;
  424|  82.9k|    }
  425|  41.9k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  41.9k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  41.9k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 41.6k, False: 309]
  ------------------
  427|  41.6k|        _Py_Dealloc(op);
  428|  41.6k|    }
  429|  41.9k|}
bufferedio.c:_Py_IsImmortal:
  127|   124k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   124k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   124k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   124k|}
bufferedio.c:_Py_REFCNT:
  105|    101|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    101|    #if !defined(Py_GIL_DISABLED)
  107|    101|        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|    101|    }
bufferedio.c:Py_XDECREF:
  615|    410|{
  616|    410|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    410|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 101, False: 309]
  ------------------
  617|    101|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    101|    }
  619|    410|}
bufferedio.c:_Py_NewRef:
  632|    103|{
  633|    103|    Py_INCREF(obj);
  ------------------
  |  |  310|    103|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    103|    return obj;
  635|    103|}
bufferedio.c:Py_INCREF:
  256|    208|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    208|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    208|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 208]
  ------------------
  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|    208|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    208|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    208|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    208|#endif
  308|    208|}
bufferedio.c:Py_XINCREF:
  605|    101|{
  606|    101|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    101|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 101, False: 0]
  ------------------
  607|    101|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|    101|    }
  609|    101|}
textio.c:_Py_NewRef:
  632|   124k|{
  633|   124k|    Py_INCREF(obj);
  ------------------
  |  |  310|   124k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   124k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   124k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   124k|    return obj;
  635|   124k|}
textio.c:Py_INCREF:
  256|   165k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   165k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   165k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 165k]
  ------------------
  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|   165k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   165k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   165k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   165k|#endif
  308|   165k|}
textio.c:Py_DECREF:
  418|   248k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   248k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   248k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   248k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   248k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 41.4k, False: 207k]
  |  |  ------------------
  ------------------
  422|  41.4k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  41.4k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  41.4k|        return;
  424|  41.4k|    }
  425|   207k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   207k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   207k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 41.4k, False: 165k]
  ------------------
  427|  41.4k|        _Py_Dealloc(op);
  428|  41.4k|    }
  429|   207k|}
textio.c:_Py_IsImmortal:
  127|   248k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   248k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   248k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   248k|}
textio.c:Py_XDECREF:
  615|     10|{
  616|     10|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     10|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 4, False: 6]
  ------------------
  617|      4|        Py_DECREF(op);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      4|    }
  619|     10|}
itertoolsmodule.c:Py_DECREF:
  418|    462|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    462|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    462|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    462|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    462|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 87, False: 375]
  |  |  ------------------
  ------------------
  422|     87|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     87|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     87|        return;
  424|     87|    }
  425|    375|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    375|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    375|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 114, False: 261]
  ------------------
  427|    114|        _Py_Dealloc(op);
  428|    114|    }
  429|    375|}
itertoolsmodule.c:_Py_IsImmortal:
  127|    462|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    462|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    462|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    462|}
itertoolsmodule.c:_Py_NewRef:
  632|    135|{
  633|    135|    Py_INCREF(obj);
  ------------------
  |  |  310|    135|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    135|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    135|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    135|    return obj;
  635|    135|}
itertoolsmodule.c:Py_INCREF:
  256|    375|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    375|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    375|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 171, False: 204]
  ------------------
  288|       |        // the object is immortal
  289|    171|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    171|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    171|        return;
  291|    171|    }
  292|    204|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    204|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    204|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    204|#endif
  308|    204|}
itertoolsmodule.c:Py_XDECREF:
  615|    114|{
  616|    114|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    114|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 114, False: 0]
  ------------------
  617|    114|        Py_DECREF(op);
  ------------------
  |  |  430|    114|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    114|    }
  619|    114|}
itertoolsmodule.c:_Py_REFCNT:
  105|    270|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    270|    #if !defined(Py_GIL_DISABLED)
  107|    270|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|    270|    }
sre.c:Py_DECREF:
  418|     29|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     29|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     29|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 17, False: 12]
  |  |  ------------------
  ------------------
  422|     17|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     17|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     17|        return;
  424|     17|    }
  425|     12|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     12|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     12|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1, False: 11]
  ------------------
  427|      1|        _Py_Dealloc(op);
  428|      1|    }
  429|     12|}
sre.c:_Py_IsImmortal:
  127|     29|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     29|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     29|}
sre.c:_Py_NewRef:
  632|     29|{
  633|     29|    Py_INCREF(obj);
  ------------------
  |  |  310|     29|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     29|    return obj;
  635|     29|}
sre.c:Py_INCREF:
  256|     33|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     33|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     33|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 16, False: 17]
  ------------------
  288|       |        // the object is immortal
  289|     16|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     16|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     16|        return;
  291|     16|    }
  292|     17|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     17|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     17|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     17|#endif
  308|     17|}
sre.c:Py_XDECREF:
  615|      4|{
  616|      4|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      4|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 4, False: 0]
  ------------------
  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|      4|}
sre.c:_Py_REFCNT:
  105|      2|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      2|    #if !defined(Py_GIL_DISABLED)
  107|      2|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      2|    }
_threadmodule.c:Py_DECREF:
  418|    760|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    760|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    760|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    760|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    760|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 760]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    760|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    760|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    760|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 760]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    760|}
_threadmodule.c:_Py_IsImmortal:
  127|    760|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    760|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    760|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    760|}
_abc.c:Py_INCREF:
  256|  1.03k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  1.03k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.03k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.02k, False: 10]
  ------------------
  288|       |        // the object is immortal
  289|  1.02k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.02k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.02k|        return;
  291|  1.02k|    }
  292|     10|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     10|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     10|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     10|#endif
  308|     10|}
_abc.c:Py_DECREF:
  418|  3.42k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.42k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.42k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.16k, False: 2.26k]
  |  |  ------------------
  ------------------
  422|  1.16k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.16k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.16k|        return;
  424|  1.16k|    }
  425|  2.26k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.26k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.26k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 303, False: 1.95k]
  ------------------
  427|    303|        _Py_Dealloc(op);
  428|    303|    }
  429|  2.26k|}
_abc.c:_Py_IsImmortal:
  127|  3.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|  3.42k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.42k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.42k|}
_abc.c:Py_XDECREF:
  615|    390|{
  616|    390|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    390|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 286, False: 104]
  ------------------
  617|    286|        Py_DECREF(op);
  ------------------
  |  |  430|    286|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    286|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    286|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    286|    }
  619|    390|}
_abc.c:_Py_NewRef:
  632|     82|{
  633|     82|    Py_INCREF(obj);
  ------------------
  |  |  310|     82|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     82|    return obj;
  635|     82|}
_abc.c:_Py_XNewRef:
  638|     90|{
  639|     90|    Py_XINCREF(obj);
  ------------------
  |  |  611|     90|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|     90|    return obj;
  641|     90|}
_abc.c:Py_XINCREF:
  605|     90|{
  606|     90|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     90|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 90, False: 0]
  ------------------
  607|     90|        Py_INCREF(op);
  ------------------
  |  |  310|     90|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     90|    }
  609|     90|}
_functoolsmodule.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: 4, False: 12]
  ------------------
  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|     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|}
_functoolsmodule.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|}
_functoolsmodule.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: 2, False: 7]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|      7|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      7|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      7|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 5]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|      7|}
_functoolsmodule.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|}
_functoolsmodule.c:_Py_REFCNT:
  105|      2|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|      2|    #if !defined(Py_GIL_DISABLED)
  107|      2|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|      2|    }
_functoolsmodule.c:_Py_NewRef:
  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_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|  52.7k|{
  616|  52.7k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  52.7k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 52.7k]
  ------------------
  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|  52.7k|}
helpers.c:Py_DECREF:
  418|  42.4k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  42.4k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  42.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.73k, False: 40.7k]
  |  |  ------------------
  ------------------
  422|  1.73k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.73k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.73k|        return;
  424|  1.73k|    }
  425|  40.7k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  40.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  40.7k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 31.3k, False: 9.42k]
  ------------------
  427|  31.3k|        _Py_Dealloc(op);
  428|  31.3k|    }
  429|  40.7k|}
helpers.c:_Py_IsImmortal:
  127|  42.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|  42.4k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  42.4k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  42.4k|}
helpers.c:Py_XDECREF:
  615|  9.85k|{
  616|  9.85k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  9.85k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 9.31k, False: 535]
  ------------------
  617|  9.31k|        Py_DECREF(op);
  ------------------
  |  |  430|  9.31k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  9.31k|    }
  619|  9.85k|}
abstract.c:_Py_NewRef:
  632|  3.64M|{
  633|  3.64M|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.64M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  3.64M|    return obj;
  635|  3.64M|}
abstract.c:Py_INCREF:
  256|  3.92M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  3.92M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.92M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3.31M, False: 610k]
  ------------------
  288|       |        // the object is immortal
  289|  3.31M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  3.31M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  3.31M|        return;
  291|  3.31M|    }
  292|   610k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   610k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   610k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   610k|#endif
  308|   610k|}
abstract.c:Py_DECREF:
  418|  4.11M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.11M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.11M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.62M, False: 495k]
  |  |  ------------------
  ------------------
  422|  3.62M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  3.62M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  3.62M|        return;
  424|  3.62M|    }
  425|   495k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   495k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   495k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 46.8k, False: 448k]
  ------------------
  427|  46.8k|        _Py_Dealloc(op);
  428|  46.8k|    }
  429|   495k|}
abstract.c:_Py_IsImmortal:
  127|  4.11M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  4.11M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  4.11M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  4.11M|}
abstract.c:Py_XDECREF:
  615|  41.5k|{
  616|  41.5k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  41.5k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 41.4k, False: 92]
  ------------------
  617|  41.4k|        Py_DECREF(op);
  ------------------
  |  |  430|  41.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  41.4k|    }
  619|  41.5k|}
abstract.c:_Py_XNewRef:
  638|   356k|{
  639|   356k|    Py_XINCREF(obj);
  ------------------
  |  |  611|   356k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|   356k|    return obj;
  641|   356k|}
abstract.c:Py_XINCREF:
  605|   356k|{
  606|   356k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   356k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 286k, False: 70.0k]
  ------------------
  607|   286k|        Py_INCREF(op);
  ------------------
  |  |  310|   286k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   286k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   286k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|   286k|    }
  609|   356k|}
abstract.c:_Py_IsStaticImmortal:
  141|    112|{
  142|    112|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|    112|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|    112|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|    112|}
bytearrayobject.c:Py_DECREF:
  418|   199k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   199k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   199k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   199k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   199k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 199k, False: 138]
  |  |  ------------------
  ------------------
  422|   199k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   199k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   199k|        return;
  424|   199k|    }
  425|    138|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    138|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    138|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 138, False: 0]
  ------------------
  427|    138|        _Py_Dealloc(op);
  428|    138|    }
  429|    138|}
bytearrayobject.c:_Py_IsImmortal:
  127|   586k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   586k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   586k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   586k|}
bytearrayobject.c:Py_XDECREF:
  615|   199k|{
  616|   199k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   199k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 199k, False: 0]
  ------------------
  617|   199k|        Py_DECREF(op);
  ------------------
  |  |  430|   199k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   199k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   199k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|   199k|    }
  619|   199k|}
bytearrayobject.c:_Py_NewRef:
  632|     12|{
  633|     12|    Py_INCREF(obj);
  ------------------
  |  |  310|     12|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     12|    return obj;
  635|     12|}
bytearrayobject.c:Py_INCREF:
  256|     12|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     12|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     12|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 12]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|     12|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     12|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     12|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     12|#endif
  308|     12|}
bytesobject.c:Py_INCREF:
  256|  1.80M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.80M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.80M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.80M, False: 960]
  ------------------
  288|       |        // the object is immortal
  289|  1.80M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.80M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.80M|        return;
  291|  1.80M|    }
  292|    960|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    960|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    960|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    960|#endif
  308|    960|}
bytesobject.c:Py_DECREF:
  418|   191k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   191k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   191k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   191k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   191k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 187k, False: 3.80k]
  |  |  ------------------
  ------------------
  422|   187k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   187k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   187k|        return;
  424|   187k|    }
  425|  3.80k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.80k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.80k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.80k, False: 0]
  ------------------
  427|  3.80k|        _Py_Dealloc(op);
  428|  3.80k|    }
  429|  3.80k|}
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|  10.6k|{
  633|  10.6k|    Py_INCREF(obj);
  ------------------
  |  |  310|  10.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  10.6k|    return obj;
  635|  10.6k|}
bytesobject.c:_Py_REFCNT:
  105|  16.1M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  16.1M|    #if !defined(Py_GIL_DISABLED)
  107|  16.1M|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  16.1M|    }
bytesobject.c:_Py_IsImmortal:
  127|  17.2M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  17.2M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  17.2M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  17.2M|}
call.c:Py_DECREF:
  418|   474k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   474k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   474k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   474k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   474k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 155k, False: 319k]
  |  |  ------------------
  ------------------
  422|   155k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   155k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   155k|        return;
  424|   155k|    }
  425|   319k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   319k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   319k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 48.9k, False: 270k]
  ------------------
  427|  48.9k|        _Py_Dealloc(op);
  428|  48.9k|    }
  429|   319k|}
call.c:_Py_IsImmortal:
  127|   474k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   474k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   474k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   474k|}
call.c:_Py_IsStaticImmortal:
  141|   129k|{
  142|   129k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|   129k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|   129k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|   129k|}
call.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|}
call.c:Py_INCREF:
  256|  3.11k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.11k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.11k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.77k, False: 1.33k]
  ------------------
  288|       |        // the object is immortal
  289|  1.77k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.77k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.77k|        return;
  291|  1.77k|    }
  292|  1.33k|    op->ob_refcnt = cur_refcnt + 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.33k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.33k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.33k|#endif
  308|  1.33k|}
capsule.c:Py_DECREF:
  418|      2|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      2|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      2|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      2|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      2|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      2|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 2]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      2|}
capsule.c:_Py_IsImmortal:
  127|      2|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      2|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      2|}
capsule.c:Py_XDECREF:
  615|      1|{
  616|      1|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1, False: 0]
  ------------------
  617|      1|        Py_DECREF(op);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      1|    }
  619|      1|}
cellobject.c:_Py_XNewRef:
  638|  3.08k|{
  639|  3.08k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  3.08k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  3.08k|    return obj;
  641|  3.08k|}
cellobject.c:Py_XINCREF:
  605|  3.08k|{
  606|  3.08k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.08k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 1.29k, False: 1.78k]
  ------------------
  607|  1.29k|        Py_INCREF(op);
  ------------------
  |  |  310|  1.29k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  1.29k|    }
  609|  3.08k|}
cellobject.c:Py_INCREF:
  256|  1.29k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.29k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.29k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 14, False: 1.28k]
  ------------------
  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|  1.28k|    op->ob_refcnt = cur_refcnt + 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.28k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.28k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.28k|#endif
  308|  1.28k|}
cellobject.c:Py_XDECREF:
  615|  2.90k|{
  616|  2.90k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.90k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1.99k, False: 907]
  ------------------
  617|  1.99k|        Py_DECREF(op);
  ------------------
  |  |  430|  1.99k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  1.99k|    }
  619|  2.90k|}
cellobject.c:Py_DECREF:
  418|  2.88k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.88k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.88k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 187, False: 2.69k]
  |  |  ------------------
  ------------------
  422|    187|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    187|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    187|        return;
  424|    187|    }
  425|  2.69k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.69k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.69k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.37k, False: 1.32k]
  ------------------
  427|  1.37k|        _Py_Dealloc(op);
  428|  1.37k|    }
  429|  2.69k|}
cellobject.c:_Py_IsImmortal:
  127|  2.88k|{
  128|       |#if defined(Py_GIL_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.88k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.88k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.88k|}
classobject.c:_Py_NewRef:
  632|  5.18k|{
  633|  5.18k|    Py_INCREF(obj);
  ------------------
  |  |  310|  5.18k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  5.18k|    return obj;
  635|  5.18k|}
classobject.c:Py_INCREF:
  256|  5.18k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.18k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  5.18k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 5.18k]
  ------------------
  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.18k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  5.18k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  5.18k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  5.18k|#endif
  308|  5.18k|}
classobject.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|    }
classobject.c:Py_DECREF:
  418|  4.84k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.84k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.84k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 4.84k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  4.84k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  4.84k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  4.84k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 4.84k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  4.84k|}
classobject.c:_Py_IsImmortal:
  127|  4.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|  4.84k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  4.84k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  4.84k|}
classobject.c:Py_XDECREF:
  615|  2.42k|{
  616|  2.42k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.42k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2.42k, False: 0]
  ------------------
  617|  2.42k|        Py_DECREF(op);
  ------------------
  |  |  430|  2.42k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  2.42k|    }
  619|  2.42k|}
codeobject.c:_Py_NewRef:
  632|   112M|{
  633|   112M|    Py_INCREF(obj);
  ------------------
  |  |  310|   112M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   112M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   112M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   112M|    return obj;
  635|   112M|}
codeobject.c:Py_INCREF:
  256|   112M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   112M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   112M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3.92M, False: 108M]
  ------------------
  288|       |        // the object is immortal
  289|  3.92M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  3.92M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  3.92M|        return;
  291|  3.92M|    }
  292|   108M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   108M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   108M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   108M|#endif
  308|   108M|}
codeobject.c:Py_XDECREF:
  615|   802k|{
  616|   802k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   802k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 724k, False: 77.8k]
  ------------------
  617|   724k|        Py_DECREF(op);
  ------------------
  |  |  430|   724k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   724k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   724k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|   724k|    }
  619|   802k|}
codeobject.c:_Py_REFCNT:
  105|   454k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   454k|    #if !defined(Py_GIL_DISABLED)
  107|   454k|        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|   454k|    }
codeobject.c:Py_DECREF:
  418|  1.67M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.67M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.67M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.67M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 641k, False: 1.03M]
  |  |  ------------------
  ------------------
  422|   641k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   641k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   641k|        return;
  424|   641k|    }
  425|  1.03M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.03M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.03M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 232k, False: 798k]
  ------------------
  427|   232k|        _Py_Dealloc(op);
  428|   232k|    }
  429|  1.03M|}
codeobject.c:_Py_IsImmortal:
  127|  1.82M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  1.82M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.82M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.82M|}
codeobject.c:Py_SET_REFCNT:
  154|   150k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|   150k|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 150k, 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|   150k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|   150k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   150k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   150k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 150k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|   150k|#ifndef Py_GIL_DISABLED
  170|   150k|#if SIZEOF_VOID_P > 4
  171|   150k|    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|   150k|#endif  // Py_LIMITED_API
  199|   150k|}
complexobject.c:_Py_IsImmortal:
  127|  77.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|  77.7k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  77.7k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  77.7k|}
complexobject.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: 161k, False: 2.02k]
  ------------------
  288|       |        // the object is immortal
  289|   161k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   161k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   161k|        return;
  291|   161k|    }
  292|  2.02k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  2.02k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.02k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  2.02k|#endif
  308|  2.02k|}
complexobject.c:Py_DECREF:
  418|    396|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    396|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    396|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 396]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    396|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    396|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    396|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 396, False: 0]
  ------------------
  427|    396|        _Py_Dealloc(op);
  428|    396|    }
  429|    396|}
complexobject.c:_Py_NewRef:
  632|  86.1k|{
  633|  86.1k|    Py_INCREF(obj);
  ------------------
  |  |  310|  86.1k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  86.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  86.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  86.1k|    return obj;
  635|  86.1k|}
descrobject.c:Py_XDECREF:
  615|    774|{
  616|    774|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    774|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 373, False: 401]
  ------------------
  617|    373|        Py_DECREF(op);
  ------------------
  |  |  430|    373|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    373|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    373|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    373|    }
  619|    774|}
descrobject.c:Py_DECREF:
  418|  1.40k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.40k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.40k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 147, False: 1.25k]
  |  |  ------------------
  ------------------
  422|    147|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    147|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    147|        return;
  424|    147|    }
  425|  1.25k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.25k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.25k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 600, False: 658]
  ------------------
  427|    600|        _Py_Dealloc(op);
  428|    600|    }
  429|  1.25k|}
descrobject.c:_Py_IsImmortal:
  127|  1.40k|{
  128|       |#if defined(Py_GIL_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.40k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.40k|}
descrobject.c:_Py_XNewRef:
  638|  5.29k|{
  639|  5.29k|    Py_XINCREF(obj);
  ------------------
  |  |  611|  5.29k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  5.29k|    return obj;
  641|  5.29k|}
descrobject.c:Py_XINCREF:
  605|  5.29k|{
  606|  5.29k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.29k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 5.21k, False: 74]
  ------------------
  607|  5.21k|        Py_INCREF(op);
  ------------------
  |  |  310|  5.21k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  5.21k|    }
  609|  5.29k|}
descrobject.c:Py_INCREF:
  256|  6.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|  6.00k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  6.00k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3.82k, False: 2.18k]
  ------------------
  288|       |        // the object is immortal
  289|  3.82k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  3.82k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  3.82k|        return;
  291|  3.82k|    }
  292|  2.18k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  2.18k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.18k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  2.18k|#endif
  308|  2.18k|}
descrobject.c:_Py_NewRef:
  632|    791|{
  633|    791|    Py_INCREF(obj);
  ------------------
  |  |  310|    791|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    791|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    791|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    791|    return obj;
  635|    791|}
enumobject.c:Py_XDECREF:
  615|  93.6k|{
  616|  93.6k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  93.6k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 62.4k, False: 31.2k]
  ------------------
  617|  62.4k|        Py_DECREF(op);
  ------------------
  |  |  430|  62.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  62.4k|    }
  619|  93.6k|}
enumobject.c:Py_DECREF:
  418|  1.10M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.10M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.10M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 775k, False: 334k]
  |  |  ------------------
  ------------------
  422|   775k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   775k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   775k|        return;
  424|   775k|    }
  425|   334k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   334k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   334k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 62.5k, False: 272k]
  ------------------
  427|  62.5k|        _Py_Dealloc(op);
  428|  62.5k|    }
  429|   334k|}
enumobject.c:_Py_IsImmortal:
  127|  1.10M|{
  128|       |#if defined(Py_GIL_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.10M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.10M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.10M|}
enumobject.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|    }
enumobject.c:Py_INCREF:
  256|   523k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   523k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   523k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 523k]
  ------------------
  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|   523k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   523k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   523k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   523k|#endif
  308|   523k|}
genobject.c:Py_INCREF:
  256|  1.86k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.86k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.86k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.86k, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|  1.86k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.86k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.86k|        return;
  291|  1.86k|    }
  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|  1.86k|{
  633|  1.86k|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.86k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  1.86k|    return obj;
  635|  1.86k|}
genobject.c:Py_DECREF:
  418|  2.66k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.66k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.66k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.66k, False: 0]
  |  |  ------------------
  ------------------
  422|  2.66k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.66k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.66k|        return;
  424|  2.66k|    }
  425|      0|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      0|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 0]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      0|}
genobject.c:_Py_IsImmortal:
  127|  65.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|  65.2k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  65.2k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  65.2k|}
genobject.c:_Py_REFCNT:
  105|    933|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    933|    #if !defined(Py_GIL_DISABLED)
  107|    933|        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|    933|    }
genobject.c:_Py_IsStaticImmortal:
  141|    933|{
  142|    933|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|    933|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|    933|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|    933|}
fileobject.c:Py_DECREF:
  418|  41.7k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  41.7k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  41.7k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 41.6k, False: 101]
  |  |  ------------------
  ------------------
  422|  41.6k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  41.6k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  41.6k|        return;
  424|  41.6k|    }
  425|    101|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    101|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    101|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 101]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    101|}
fileobject.c:_Py_IsImmortal:
  127|  41.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|  41.7k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  41.7k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  41.7k|}
floatobject.c:Py_DECREF:
  418|    326|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    326|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    326|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    326|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    326|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 326]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    326|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    326|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    326|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 326, False: 0]
  ------------------
  427|    326|        _Py_Dealloc(op);
  428|    326|    }
  429|    326|}
floatobject.c:_Py_IsImmortal:
  127|  50.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|  50.7k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  50.7k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  50.7k|}
floatobject.c:Py_INCREF:
  256|  70.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|  70.5k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  70.5k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 64.8k, False: 5.71k]
  ------------------
  288|       |        // the object is immortal
  289|  64.8k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  64.8k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  64.8k|        return;
  291|  64.8k|    }
  292|  5.71k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  5.71k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  5.71k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  5.71k|#endif
  308|  5.71k|}
floatobject.c:Py_XDECREF:
  615|    326|{
  616|    326|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    326|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 326, False: 0]
  ------------------
  617|    326|        Py_DECREF(op);
  ------------------
  |  |  430|    326|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    326|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    326|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    326|    }
  619|    326|}
floatobject.c:_Py_NewRef:
  632|  20.0k|{
  633|  20.0k|    Py_INCREF(obj);
  ------------------
  |  |  310|  20.0k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  20.0k|    return obj;
  635|  20.0k|}
frameobject.c:Py_INCREF:
  256|    488|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|    488|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    488|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 488]
  ------------------
  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|    488|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|    488|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    488|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|    488|#endif
  308|    488|}
frameobject.c:_Py_IsImmortal:
  127|  2.50k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  2.50k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.50k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.50k|}
frameobject.c:_Py_IsStaticImmortal:
  141|  19.4k|{
  142|  19.4k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  19.4k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  19.4k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  19.4k|}
frameobject.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: 0, False: 2.50k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  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: 406, False: 2.09k]
  ------------------
  427|    406|        _Py_Dealloc(op);
  428|    406|    }
  429|  2.50k|}
frameobject.c:_Py_REFCNT:
  105|  19.9k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  19.9k|    #if !defined(Py_GIL_DISABLED)
  107|  19.9k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  19.9k|    }
frameobject.c:_Py_NewRef:
  632|    488|{
  633|    488|    Py_INCREF(obj);
  ------------------
  |  |  310|    488|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    488|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    488|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    488|    return obj;
  635|    488|}
funcobject.c:Py_XDECREF:
  615|    304|{
  616|    304|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    304|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 130, False: 174]
  ------------------
  617|    130|        Py_DECREF(op);
  ------------------
  |  |  430|    130|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|    130|    }
  619|    304|}
funcobject.c:Py_INCREF:
  256|  28.4k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  28.4k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  28.4k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 15.4k, False: 13.0k]
  ------------------
  288|       |        // the object is immortal
  289|  15.4k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  15.4k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  15.4k|        return;
  291|  15.4k|    }
  292|  13.0k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  13.0k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  13.0k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  13.0k|#endif
  308|  13.0k|}
funcobject.c:_Py_NewRef:
  632|  7.24k|{
  633|  7.24k|    Py_INCREF(obj);
  ------------------
  |  |  310|  7.24k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  7.24k|    return obj;
  635|  7.24k|}
funcobject.c:_Py_XNewRef:
  638|    461|{
  639|    461|    Py_XINCREF(obj);
  ------------------
  |  |  611|    461|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    461|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    461|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|    461|    return obj;
  641|    461|}
funcobject.c:Py_XINCREF:
  605|    461|{
  606|    461|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    461|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 59, False: 402]
  ------------------
  607|     59|        Py_INCREF(op);
  ------------------
  |  |  310|     59|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     59|    }
  609|    461|}
funcobject.c:_Py_REFCNT:
  105|  18.8k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  18.8k|    #if !defined(Py_GIL_DISABLED)
  107|  18.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|  18.8k|    }
funcobject.c:Py_DECREF:
  418|  26.4k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  26.4k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  26.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 14.9k, False: 11.5k]
  |  |  ------------------
  ------------------
  422|  14.9k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  14.9k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  14.9k|        return;
  424|  14.9k|    }
  425|  11.5k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  11.5k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  11.5k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.23k, False: 10.2k]
  ------------------
  427|  1.23k|        _Py_Dealloc(op);
  428|  1.23k|    }
  429|  11.5k|}
funcobject.c:_Py_IsImmortal:
  127|  31.8k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  31.8k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  31.8k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  31.8k|}
funcobject.c:Py_SET_REFCNT:
  154|  5.40k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  5.40k|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 5.40k, False: 0]
  ------------------
  156|       |#if (defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030d0000) \
  157|       |    || defined(_Py_OPAQUE_PYOBJECT)
  158|       |    // Stable ABI implements Py_SET_REFCNT() as a function call
  159|       |    // on limited C API version 3.13 and newer, and abi3t.
  160|       |    _Py_SetRefcnt(ob, refcnt);
  161|       |#else
  162|       |    // This immortal check is for code that is unaware of immortal objects.
  163|       |    // The runtime tracks these objects and we should avoid as much
  164|       |    // as possible having extensions inadvertently change the refcnt
  165|       |    // of an immortalized object.
  166|  5.40k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  5.40k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 5.40k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  5.40k|#ifndef Py_GIL_DISABLED
  170|  5.40k|#if SIZEOF_VOID_P > 4
  171|  5.40k|    ob->ob_refcnt = (uint32_t)refcnt;
  172|       |#else
  173|       |    ob->ob_refcnt = refcnt;
  174|       |#endif
  175|       |#else
  176|       |    if (_Py_IsOwnedByCurrentThread(ob)) {
  177|       |        if ((size_t)refcnt > (size_t)UINT32_MAX) {
  178|       |            // On overflow, make the object immortal
  179|       |            ob->ob_tid = _Py_UNOWNED_TID;
  180|       |            ob->ob_ref_local = _Py_IMMORTAL_REFCNT_LOCAL;
  181|       |            ob->ob_ref_shared = 0;
  182|       |        }
  183|       |        else {
  184|       |            // Set local refcount to desired refcount and shared refcount
  185|       |            // to zero, but preserve the shared refcount flags.
  186|       |            ob->ob_ref_local = _Py_STATIC_CAST(uint32_t, refcnt);
  187|       |            ob->ob_ref_shared &= _Py_REF_SHARED_FLAG_MASK;
  188|       |        }
  189|       |    }
  190|       |    else {
  191|       |        // Set local refcount to zero and shared refcount to desired refcount.
  192|       |        // Mark the object as merged.
  193|       |        ob->ob_tid = _Py_UNOWNED_TID;
  194|       |        ob->ob_ref_local = 0;
  195|       |        ob->ob_ref_shared = _Py_REF_SHARED(refcnt, _Py_REF_MERGED);
  196|       |    }
  197|       |#endif  // Py_GIL_DISABLED
  198|  5.40k|#endif  // Py_LIMITED_API
  199|  5.40k|}
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|     63|{
  633|     63|    Py_INCREF(obj);
  ------------------
  |  |  310|     63|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     63|    return obj;
  635|     63|}
iterobject.c:Py_INCREF:
  256|     63|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     63|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     63|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 63]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|     63|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     63|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     63|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     63|#endif
  308|     63|}
iterobject.c:Py_XDECREF:
  615|     63|{
  616|     63|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     63|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 63]
  ------------------
  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|     63|}
iterobject.c:Py_DECREF:
  418|     63|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     63|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     63|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 63]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     63|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     63|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     63|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 63]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     63|}
iterobject.c:_Py_IsImmortal:
  127|     63|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     63|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     63|}
lazyimportobject.c:_Py_XNewRef:
  638|     32|{
  639|     32|    Py_XINCREF(obj);
  ------------------
  |  |  611|     32|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|     32|    return obj;
  641|     32|}
lazyimportobject.c:Py_XINCREF:
  605|     32|{
  606|     32|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     32|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 19, False: 13]
  ------------------
  607|     19|        Py_INCREF(op);
  ------------------
  |  |  310|     19|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     19|    }
  609|     32|}
lazyimportobject.c:Py_INCREF:
  256|     49|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     49|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     49|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 15, False: 34]
  ------------------
  288|       |        // the object is immortal
  289|     15|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     15|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     15|        return;
  291|     15|    }
  292|     34|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     34|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     34|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     34|#endif
  308|     34|}
lazyimportobject.c:_Py_NewRef:
  632|     30|{
  633|     30|    Py_INCREF(obj);
  ------------------
  |  |  310|     30|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|     30|    return obj;
  635|     30|}
lazyimportobject.c:Py_DECREF:
  418|      2|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      2|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      2|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      2|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      2|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      2|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 2]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      2|}
lazyimportobject.c:_Py_IsImmortal:
  127|      2|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      2|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      2|}
lazyimportobject.c:Py_XDECREF:
  615|      6|{
  616|      6|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      6|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 6]
  ------------------
  617|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|      6|}
memoryobject.c:_Py_NewRef:
  632|   140k|{
  633|   140k|    Py_INCREF(obj);
  ------------------
  |  |  310|   140k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   140k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   140k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   140k|    return obj;
  635|   140k|}
memoryobject.c:Py_INCREF:
  256|   140k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   140k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   140k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 140k]
  ------------------
  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|   140k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   140k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   140k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   140k|#endif
  308|   140k|}
memoryobject.c:Py_DECREF:
  418|   140k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   140k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   140k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   140k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   140k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 140k]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|   140k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   140k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   140k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 70.1k, False: 70.2k]
  ------------------
  427|  70.1k|        _Py_Dealloc(op);
  428|  70.1k|    }
  429|   140k|}
memoryobject.c:_Py_IsImmortal:
  127|   140k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   140k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   140k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   140k|}
methodobject.c:_Py_NewRef:
  632|    110|{
  633|    110|    Py_INCREF(obj);
  ------------------
  |  |  310|    110|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    110|    return obj;
  635|    110|}
methodobject.c:Py_INCREF:
  256|  1.43M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.43M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.43M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.94k, False: 1.43M]
  ------------------
  288|       |        // the object is immortal
  289|  1.94k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.94k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.94k|        return;
  291|  1.94k|    }
  292|  1.43M|    op->ob_refcnt = cur_refcnt + 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.43M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.43M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.43M|#endif
  308|  1.43M|}
methodobject.c:_Py_XNewRef:
  638|  2.86M|{
  639|  2.86M|    Py_XINCREF(obj);
  ------------------
  |  |  611|  2.86M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|  2.86M|    return obj;
  641|  2.86M|}
methodobject.c:Py_XINCREF:
  605|  2.86M|{
  606|  2.86M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.86M|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 1.43M, False: 1.43M]
  ------------------
  607|  1.43M|        Py_INCREF(op);
  ------------------
  |  |  310|  1.43M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  1.43M|    }
  609|  2.86M|}
methodobject.c:_Py_REFCNT:
  105|  1.43M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.43M|    #if !defined(Py_GIL_DISABLED)
  107|  1.43M|        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.43M|    }
methodobject.c:Py_XDECREF:
  615|  4.29M|{
  616|  4.29M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.29M|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 1.43M, False: 2.86M]
  ------------------
  617|  1.43M|        Py_DECREF(op);
  ------------------
  |  |  430|  1.43M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  1.43M|    }
  619|  4.29M|}
methodobject.c:Py_DECREF:
  418|  1.43M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.43M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  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: 933, False: 1.43M]
  |  |  ------------------
  ------------------
  422|    933|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    933|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    933|        return;
  424|    933|    }
  425|  1.43M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.43M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.43M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 36, False: 1.43M]
  ------------------
  427|     36|        _Py_Dealloc(op);
  428|     36|    }
  429|  1.43M|}
methodobject.c:_Py_IsImmortal:
  127|  1.43M|{
  128|       |#if defined(Py_GIL_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.43M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.43M|}
namespaceobject.c:Py_DECREF:
  418|      2|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|      2|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|      2|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|      2|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      2|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      2|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 0]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|      2|}
namespaceobject.c:_Py_IsImmortal:
  127|      2|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|      2|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|      2|}
unicode_format.c:Py_XDECREF:
  615|     21|{
  616|     21|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     21|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 21]
  ------------------
  617|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|     21|}
Python-ast.c:Py_DECREF:
  418|  2.35M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.35M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.35M|#define _Py_IsImmortal(op) _Py_IsImmortal(_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 (137:28): [True: 1.17M, False: 1.17M]
  |  |  ------------------
  ------------------
  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|  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: 0, False: 1.17M]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  1.17M|}
Python-ast.c:_Py_IsImmortal:
  127|  2.35M|{
  128|       |#if defined(Py_GIL_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.35M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.35M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.35M|}
Python-ast.c:Py_INCREF:
  256|   409k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   409k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   409k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 189k, False: 220k]
  ------------------
  288|       |        // the object is immortal
  289|   189k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   189k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   189k|        return;
  291|   189k|    }
  292|   220k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   220k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   220k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   220k|#endif
  308|   220k|}
Python-ast.c:_Py_NewRef:
  632|   409k|{
  633|   409k|    Py_INCREF(obj);
  ------------------
  |  |  310|   409k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   409k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   409k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   409k|    return obj;
  635|   409k|}
assemble.c:Py_DECREF:
  418|   520k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   520k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   520k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   520k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   520k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 130k, False: 390k]
  |  |  ------------------
  ------------------
  422|   130k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   130k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   130k|        return;
  424|   130k|    }
  425|   390k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   390k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   390k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 390k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|   390k|}
assemble.c:_Py_IsImmortal:
  127|   520k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   520k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   520k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   520k|}
assemble.c:_Py_NewRef:
  632|   222k|{
  633|   222k|    Py_INCREF(obj);
  ------------------
  |  |  310|   222k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   222k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   222k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|   222k|    return obj;
  635|   222k|}
assemble.c:Py_INCREF:
  256|   222k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   222k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   222k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 217k, False: 5.07k]
  ------------------
  288|       |        // the object is immortal
  289|   217k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   217k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   217k|        return;
  291|   217k|    }
  292|  5.07k|    op->ob_refcnt = cur_refcnt + 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.07k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  5.07k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.07k|#endif
  308|  5.07k|}
assemble.c:Py_XDECREF:
  615|   520k|{
  616|   520k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   520k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 520k, False: 0]
  ------------------
  617|   520k|        Py_DECREF(op);
  ------------------
  |  |  430|   520k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   520k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   520k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|   520k|    }
  619|   520k|}
ast_preprocess.c:Py_DECREF:
  418|  3.47k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.47k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.47k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 3.47k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  3.47k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.47k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.47k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.93k, False: 542]
  ------------------
  427|  2.93k|        _Py_Dealloc(op);
  428|  2.93k|    }
  429|  3.47k|}
ast_preprocess.c:_Py_IsImmortal:
  127|  3.47k|{
  128|       |#if defined(Py_GIL_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.47k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.47k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.47k|}
ast_unparse.c:Py_DECREF:
  418|   150k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   150k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   150k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   150k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   150k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 9.43k, False: 140k]
  |  |  ------------------
  ------------------
  422|  9.43k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  9.43k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  9.43k|        return;
  424|  9.43k|    }
  425|   140k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   140k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   140k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 109k, False: 31.3k]
  ------------------
  427|   109k|        _Py_Dealloc(op);
  428|   109k|    }
  429|   140k|}
ast_unparse.c:_Py_IsImmortal:
  127|   150k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   150k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   150k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   150k|}
pegen.c:Py_DECREF:
  418|  41.1k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  41.1k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  41.1k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 12.7k, False: 28.4k]
  |  |  ------------------
  ------------------
  422|  12.7k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  12.7k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  12.7k|        return;
  424|  12.7k|    }
  425|  28.4k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  28.4k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  28.4k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 16.9k, False: 11.4k]
  ------------------
  427|  16.9k|        _Py_Dealloc(op);
  428|  16.9k|    }
  429|  28.4k|}
pegen.c:_Py_IsImmortal:
  127|  41.1k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  41.1k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  41.1k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  41.1k|}
pegen.c:Py_XDECREF:
  615|  33.9k|{
  616|  33.9k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  33.9k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 2.84k, False: 31.1k]
  ------------------
  617|  2.84k|        Py_DECREF(op);
  ------------------
  |  |  430|  2.84k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  2.84k|    }
  619|  33.9k|}
pegen.c:Py_INCREF:
  256|  1.42k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.42k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.42k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.42k, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|  1.42k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.42k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.42k|        return;
  291|  1.42k|    }
  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|}
pegen_errors.c:Py_DECREF:
  418|  37.8k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  37.8k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  37.8k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.92k, False: 35.9k]
  |  |  ------------------
  ------------------
  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|  35.9k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  35.9k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  35.9k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.72k, False: 33.2k]
  ------------------
  427|  2.72k|        _Py_Dealloc(op);
  428|  2.72k|    }
  429|  35.9k|}
pegen_errors.c:_Py_IsImmortal:
  127|  37.8k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  37.8k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  37.8k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  37.8k|}
pegen_errors.c:Py_XDECREF:
  615|  5.69k|{
  616|  5.69k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.69k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 3.79k, False: 1.89k]
  ------------------
  617|  3.79k|        Py_DECREF(op);
  ------------------
  |  |  430|  3.79k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  3.79k|    }
  619|  5.69k|}
pegen_errors.c:_Py_NewRef:
  632|  6.16k|{
  633|  6.16k|    Py_INCREF(obj);
  ------------------
  |  |  310|  6.16k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  6.16k|    return obj;
  635|  6.16k|}
pegen_errors.c:Py_INCREF:
  256|  6.16k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.16k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  6.16k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 16, False: 6.14k]
  ------------------
  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|  6.14k|    op->ob_refcnt = cur_refcnt + 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.14k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  6.14k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.14k|#endif
  308|  6.14k|}
lexer.c:Py_DECREF:
  418|  65.7k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  65.7k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  65.7k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.15k, False: 63.5k]
  |  |  ------------------
  ------------------
  422|  2.15k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.15k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.15k|        return;
  424|  2.15k|    }
  425|  63.5k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  63.5k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  63.5k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 63.5k, False: 0]
  ------------------
  427|  63.5k|        _Py_Dealloc(op);
  428|  63.5k|    }
  429|  63.5k|}
lexer.c:_Py_IsImmortal:
  127|  65.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|  65.7k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  65.7k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  65.7k|}
state.c:Py_XDECREF:
  615|  52.7k|{
  616|  52.7k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  52.7k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 24.7k, False: 28.0k]
  ------------------
  617|  24.7k|        Py_DECREF(op);
  ------------------
  |  |  430|  24.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|  24.7k|    }
  619|  52.7k|}
state.c:Py_DECREF:
  418|  24.7k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  24.7k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  24.7k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3, False: 24.7k]
  |  |  ------------------
  ------------------
  422|      3|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      3|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      3|        return;
  424|      3|    }
  425|  24.7k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  24.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  24.7k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 24.7k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  24.7k|}
state.c:_Py_IsImmortal:
  127|  24.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|  24.7k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  24.7k|}
decoder.c:Py_DECREF:
  418|  3.21k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.21k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.21k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 3.21k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  3.21k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.21k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.21k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.18k, False: 34]
  ------------------
  427|  3.18k|        _Py_Dealloc(op);
  428|  3.18k|    }
  429|  3.21k|}
decoder.c:_Py_IsImmortal:
  127|  3.21k|{
  128|       |#if defined(Py_GIL_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.21k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.21k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.21k|}
api.c:Py_XINCREF:
  605|  49.4k|{
  606|  49.4k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  49.4k|#  define _Py_NULL NULL
  ------------------
  |  Branch (606:9): [True: 24.7k, False: 24.7k]
  ------------------
  607|  24.7k|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  24.7k|    }
  609|  49.4k|}
api.c:Py_INCREF:
  256|  24.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|  24.7k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  24.7k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3, False: 24.7k]
  ------------------
  288|       |        // the object is immortal
  289|      3|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      3|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      3|        return;
  291|      3|    }
  292|  24.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|  24.7k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  24.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|  24.7k|#endif
  308|  24.7k|}
api.c:Py_XDECREF:
  615|  49.4k|{
  616|  49.4k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  49.4k|#  define _Py_NULL NULL
  ------------------
  |  Branch (616:9): [True: 0, False: 49.4k]
  ------------------
  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|  49.4k|}
action_helpers.c:Py_DECREF:
  418|  2.78k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.78k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.78k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 410, False: 2.37k]
  |  |  ------------------
  ------------------
  422|    410|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    410|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    410|        return;
  424|    410|    }
  425|  2.37k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.37k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.37k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.37k, False: 0]
  ------------------
  427|  2.37k|        _Py_Dealloc(op);
  428|  2.37k|    }
  429|  2.37k|}
action_helpers.c:_Py_IsImmortal:
  127|  2.78k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  2.78k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.78k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.78k|}
action_helpers.c:_Py_NewRef:
  632|  4.24k|{
  633|  4.24k|    Py_INCREF(obj);
  ------------------
  |  |  310|  4.24k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|  4.24k|    return obj;
  635|  4.24k|}
action_helpers.c:Py_INCREF:
  256|  4.24k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->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.24k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  4.24k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2.81k, False: 1.42k]
  ------------------
  288|       |        // the object is immortal
  289|  2.81k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  2.81k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  2.81k|        return;
  291|  2.81k|    }
  292|  1.42k|    op->ob_refcnt = cur_refcnt + 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.42k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.42k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  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.42k|#endif
  308|  1.42k|}
string_parser.c:Py_DECREF:
  418|  36.4k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  36.4k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  36.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 6.46k, False: 30.0k]
  |  |  ------------------
  ------------------
  422|  6.46k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  6.46k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  6.46k|        return;
  424|  6.46k|    }
  425|  30.0k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  30.0k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  30.0k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 30.0k, False: 0]
  ------------------
  427|  30.0k|        _Py_Dealloc(op);
  428|  30.0k|    }
  429|  30.0k|}
string_parser.c:_Py_IsImmortal:
  127|  36.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|  36.4k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  36.4k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  36.4k|}

PyInit__abc:
 1008|      2|{
 1009|      2|    return PyModuleDef_Init(&_abcmodule);
 1010|      2|}
_abc.c:get_abc_state:
   29|    380|{
   30|    380|    void *state = _PyModule_GetState(module);
   31|    380|    assert(state != NULL);
  ------------------
  |  Branch (31:5): [True: 380, False: 0]
  ------------------
   32|    380|    return (_abcmodule_state *)state;
   33|    380|}
_abc.c:get_invalidation_counter:
   37|    166|{
   38|       |#ifdef Py_GIL_DISABLED
   39|       |    return _Py_atomic_load_uint64(&state->abc_invalidation_counter);
   40|       |#else
   41|    166|    return state->abc_invalidation_counter;
   42|    166|#endif
   43|    166|}
_abc.c:_abc__abc_init:
  499|     76|{
  500|     76|    _abcmodule_state *state = get_abc_state(module);
  501|     76|    PyObject *data;
  502|     76|    if (compute_abstract_methods(self) < 0) {
  ------------------
  |  Branch (502:9): [True: 0, False: 76]
  ------------------
  503|      0|        return NULL;
  504|      0|    }
  505|       |
  506|       |    /* Set up inheritance registry. */
  507|     76|    data = abc_data_new(state->_abc_data_type, NULL, NULL);
  508|     76|    if (data == NULL) {
  ------------------
  |  Branch (508:9): [True: 0, False: 76]
  ------------------
  509|      0|        return NULL;
  510|      0|    }
  511|     76|    if (PyObject_SetAttr(self, &_Py_ID(_abc_impl), data) < 0) {
  ------------------
  |  |  951|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (511:9): [True: 0, False: 76]
  ------------------
  512|      0|        Py_DECREF(data);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  513|      0|        return NULL;
  514|      0|    }
  515|     76|    Py_DECREF(data);
  ------------------
  |  |  430|     76|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|       |    /* If __abc_tpflags__ & COLLECTION_FLAGS is set, then set the corresponding bit(s)
  517|       |     * in the new class.
  518|       |     * Used by collections.abc.Sequence and collections.abc.Mapping to indicate
  519|       |     * their special status w.r.t. pattern matching. */
  520|     76|    if (PyType_Check(self)) {
  ------------------
  |  |  766|     76|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 76, False: 0]
  |  |  ------------------
  ------------------
  521|     76|        PyTypeObject *cls = (PyTypeObject *)self;
  522|     76|        PyObject *dict = _PyType_GetDict(cls);
  523|     76|        PyObject *flags = NULL;
  524|     76|        if (PyDict_Pop(dict, &_Py_ID(__abc_tpflags__), &flags) < 0) {
  ------------------
  |  |  951|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (524:13): [True: 0, False: 76]
  ------------------
  525|      0|            return NULL;
  526|      0|        }
  527|     76|        if (flags == NULL || !PyLong_CheckExact(flags)) {
  ------------------
  |  |   14|      4|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (527:13): [True: 72, False: 4]
  |  Branch (527:30): [True: 0, False: 4]
  ------------------
  528|     72|            Py_XDECREF(flags);
  ------------------
  |  |  621|     72|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  529|     72|            Py_RETURN_NONE;
  ------------------
  |  |  628|     72|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     72|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  530|     72|        }
  531|       |
  532|      4|        long val = PyLong_AsLong(flags);
  533|      4|        Py_DECREF(flags);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|      4|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (534:13): [True: 0, False: 4]
  |  Branch (534:26): [True: 0, False: 0]
  ------------------
  535|      0|            return NULL;
  536|      0|        }
  537|      4|        if ((val & COLLECTION_FLAGS) == COLLECTION_FLAGS) {
  ------------------
  |  |  484|      4|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|      4|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|      4|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
                      if ((val & COLLECTION_FLAGS) == COLLECTION_FLAGS) {
  ------------------
  |  |  484|      4|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|      4|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|      4|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  |  Branch (537:13): [True: 0, False: 4]
  ------------------
  538|      0|            PyErr_SetString(PyExc_TypeError, "__abc_tpflags__ cannot be both Py_TPFLAGS_SEQUENCE and Py_TPFLAGS_MAPPING");
  539|      0|            return NULL;
  540|      0|        }
  541|      4|        _PyType_SetFlags((PyTypeObject *)self, 0, val & COLLECTION_FLAGS);
  ------------------
  |  |  484|      4|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|      4|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|      4|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  542|      4|    }
  543|      4|    Py_RETURN_NONE;
  ------------------
  |  |  628|      4|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  544|     76|}
_abc.c:compute_abstract_methods:
  363|     76|{
  364|     76|    int ret = -1;
  365|     76|    PyObject *abstracts = PyFrozenSet_New(NULL);
  366|     76|    if (abstracts == NULL) {
  ------------------
  |  Branch (366:9): [True: 0, False: 76]
  ------------------
  367|      0|        return -1;
  368|      0|    }
  369|       |
  370|     76|    PyObject *ns = NULL, *items = NULL, *bases = NULL;  // Py_XDECREF()ed on error.
  371|       |
  372|       |    /* Stage 1: direct abstract methods. */
  373|     76|    ns = PyObject_GetAttr(self, &_Py_ID(__dict__));
  ------------------
  |  |  951|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  374|     76|    if (!ns) {
  ------------------
  |  Branch (374:9): [True: 0, False: 76]
  ------------------
  375|      0|        goto error;
  376|      0|    }
  377|       |
  378|       |    // We can't use PyDict_Next(ns) even when ns is dict because
  379|       |    // _PyObject_IsAbstract() can mutate ns.
  380|     76|    items = PyMapping_Items(ns);
  381|     76|    if (!items) {
  ------------------
  |  Branch (381:9): [True: 0, False: 76]
  ------------------
  382|      0|        goto error;
  383|      0|    }
  384|     76|    assert(PyList_Check(items));
  ------------------
  |  Branch (384:5): [True: 76, False: 0]
  ------------------
  385|    939|    for (Py_ssize_t pos = 0; pos < PyList_GET_SIZE(items); pos++) {
  ------------------
  |  |   38|    939|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    939|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    939|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (385:30): [True: 863, False: 76]
  ------------------
  386|    863|        PyObject *it = PySequence_Fast(
  387|    863|                PyList_GET_ITEM(items, pos),
  ------------------
  |  |   40|    863|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    863|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    863|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (387:17): [True: 863, False: 0]
  ------------------
  388|      0|                "items() returned non-iterable");
  389|    863|        if (!it) {
  ------------------
  |  Branch (389:13): [True: 0, False: 863]
  ------------------
  390|      0|            goto error;
  391|      0|        }
  392|    863|        if (PySequence_Fast_GET_SIZE(it) != 2) {
  ------------------
  |  |   92|    863|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    863|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    863|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 863]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (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|    863|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    863|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    863|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (392:13): [True: 0, False: 863]
  ------------------
  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|    863|        PyObject *key = PySequence_Fast_GET_ITEM(it, 0);
  ------------------
  |  |   97|    863|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|    863|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    863|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 863]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (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|    863|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    863|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    863|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (400:25): [True: 0, False: 0]
  |  Branch (400:25): [True: 863, False: 0]
  ------------------
  401|    863|        PyObject *value = PySequence_Fast_GET_ITEM(it, 1);
  ------------------
  |  |   97|    863|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|    863|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    863|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 863]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (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|    863|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    863|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    863|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (401:27): [True: 0, False: 0]
  |  Branch (401:27): [True: 863, False: 0]
  ------------------
  402|       |        // items or it may be cleared while accessing __abstractmethod__
  403|       |        // So we need to keep strong reference for key
  404|    863|        Py_INCREF(key);
  ------------------
  |  |  310|    863|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    863|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    863|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  405|    863|        int is_abstract = _PyObject_IsAbstract(value);
  406|    863|        if (is_abstract < 0 ||
  ------------------
  |  Branch (406:13): [True: 0, False: 863]
  ------------------
  407|    863|                (is_abstract && PySet_Add(abstracts, key) < 0)) {
  ------------------
  |  Branch (407:18): [True: 98, False: 765]
  |  Branch (407:33): [True: 0, False: 98]
  ------------------
  408|      0|            Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  409|      0|            Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  410|      0|            goto error;
  411|      0|        }
  412|    863|        Py_DECREF(key);
  ------------------
  |  |  430|    863|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    863|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    863|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|    863|        Py_DECREF(it);
  ------------------
  |  |  430|    863|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    863|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    863|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|    863|    }
  415|       |
  416|       |    /* Stage 2: inherited abstract methods. */
  417|     76|    bases = PyObject_GetAttr(self, &_Py_ID(__bases__));
  ------------------
  |  |  951|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  418|     76|    if (!bases) {
  ------------------
  |  Branch (418:9): [True: 0, False: 76]
  ------------------
  419|      0|        goto error;
  420|      0|    }
  421|     76|    if (!PyTuple_Check(bases)) {
  ------------------
  |  |   27|     76|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     76|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (421:9): [True: 0, False: 76]
  ------------------
  422|      0|        PyErr_SetString(PyExc_TypeError, "__bases__ is not tuple");
  423|      0|        goto error;
  424|      0|    }
  425|       |
  426|    167|    for (Py_ssize_t pos = 0; pos < PyTuple_GET_SIZE(bases); pos++) {
  ------------------
  |  |   27|    167|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    167|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (426:30): [True: 91, False: 76]
  ------------------
  427|     91|        PyObject *item = PyTuple_GET_ITEM(bases, pos);  // borrowed
  ------------------
  |  |   29|     91|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     91|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (427:26): [True: 91, False: 0]
  ------------------
  428|      0|        PyObject *base_abstracts, *iter;
  429|       |
  430|     91|        if (PyObject_GetOptionalAttr(item, &_Py_ID(__abstractmethods__),
  ------------------
  |  |  951|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (430:13): [True: 0, False: 91]
  ------------------
  431|     91|                                 &base_abstracts) < 0) {
  432|      0|            goto error;
  433|      0|        }
  434|     91|        if (base_abstracts == NULL) {
  ------------------
  |  Branch (434:13): [True: 25, False: 66]
  ------------------
  435|     25|            continue;
  436|     25|        }
  437|     66|        if (!(iter = PyObject_GetIter(base_abstracts))) {
  ------------------
  |  Branch (437:13): [True: 0, False: 66]
  ------------------
  438|      0|            Py_DECREF(base_abstracts);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  439|      0|            goto error;
  440|      0|        }
  441|     66|        Py_DECREF(base_abstracts);
  ------------------
  |  |  430|     66|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  442|     66|        PyObject *key, *value;
  443|    236|        while ((key = PyIter_Next(iter))) {
  ------------------
  |  Branch (443:16): [True: 170, False: 66]
  ------------------
  444|    170|            if (PyObject_GetOptionalAttr(self, key, &value) < 0) {
  ------------------
  |  Branch (444:17): [True: 0, False: 170]
  ------------------
  445|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  446|      0|                Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  447|      0|                goto error;
  448|      0|            }
  449|    170|            if (value == NULL) {
  ------------------
  |  Branch (449:17): [True: 0, False: 170]
  ------------------
  450|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  451|      0|                continue;
  452|      0|            }
  453|       |
  454|    170|            int is_abstract = _PyObject_IsAbstract(value);
  455|    170|            Py_DECREF(value);
  ------------------
  |  |  430|    170|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    170|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    170|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  456|    170|            if (is_abstract < 0 ||
  ------------------
  |  Branch (456:17): [True: 0, False: 170]
  ------------------
  457|    170|                    (is_abstract && PySet_Add(abstracts, key) < 0))
  ------------------
  |  Branch (457:22): [True: 98, False: 72]
  |  Branch (457:37): [True: 0, False: 98]
  ------------------
  458|      0|            {
  459|      0|                Py_DECREF(key);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  460|      0|                Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  461|      0|                goto error;
  462|      0|            }
  463|    170|            Py_DECREF(key);
  ------------------
  |  |  430|    170|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    170|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    170|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|    170|        }
  465|     66|        Py_DECREF(iter);
  ------------------
  |  |  430|     66|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  466|     66|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (466:13): [True: 0, False: 66]
  ------------------
  467|      0|            goto error;
  468|      0|        }
  469|     66|    }
  470|       |
  471|     76|    if (PyObject_SetAttr(self, &_Py_ID(__abstractmethods__), abstracts) < 0) {
  ------------------
  |  |  951|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (471:9): [True: 0, False: 76]
  ------------------
  472|      0|        goto error;
  473|      0|    }
  474|       |
  475|     76|    ret = 0;
  476|     76|error:
  477|     76|    Py_DECREF(abstracts);
  ------------------
  |  |  430|     76|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|     76|    Py_XDECREF(ns);
  ------------------
  |  |  621|     76|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|     76|    Py_XDECREF(items);
  ------------------
  |  |  621|     76|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|     76|    Py_XDECREF(bases);
  ------------------
  |  |  621|     76|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|     76|    return ret;
  482|     76|}
_abc.c:abc_data_new:
  125|     76|{
  126|     76|    _abc_data *self = (_abc_data *) type->tp_alloc(type, 0);
  127|     76|    _abcmodule_state *state = NULL;
  128|     76|    if (self == NULL) {
  ------------------
  |  Branch (128:9): [True: 0, False: 76]
  ------------------
  129|      0|        return NULL;
  130|      0|    }
  131|       |
  132|     76|    state = _PyType_GetModuleState(type);
  133|     76|    if (state == NULL) {
  ------------------
  |  Branch (133:9): [True: 0, False: 76]
  ------------------
  134|      0|        Py_DECREF(self);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  135|      0|        return NULL;
  136|      0|    }
  137|       |
  138|     76|    self->_abc_registry = NULL;
  139|     76|    self->_abc_cache = NULL;
  140|       |    self->_abc_negative_cache = NULL;
  141|     76|    self->_abc_negative_cache_version = get_invalidation_counter(state);
  142|     76|    return (PyObject *) self;
  143|     76|}
_abc.c:_get_impl:
  166|    140|{
  167|    140|    _abcmodule_state *state = get_abc_state(module);
  168|    140|    PyObject *impl = PyObject_GetAttr(self, &_Py_ID(_abc_impl));
  ------------------
  |  |  951|    140|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    140|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    140|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  169|    140|    if (impl == NULL) {
  ------------------
  |  Branch (169:9): [True: 0, False: 140]
  ------------------
  170|      0|        return NULL;
  171|      0|    }
  172|    140|    if (!Py_IS_TYPE(impl, state->_abc_data_type)) {
  ------------------
  |  |  215|    140|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (172:9): [True: 0, False: 140]
  ------------------
  173|      0|        PyErr_SetString(PyExc_TypeError, "_abc_impl is set to a wrong type");
  174|      0|        Py_DECREF(impl);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  175|      0|        return NULL;
  176|      0|    }
  177|    140|    return (_abc_data *)impl;
  178|    140|}
_abc.c:get_cache_version:
   74|     90|{
   75|       |#ifdef Py_GIL_DISABLED
   76|       |    return _Py_atomic_load_uint64(&impl->_abc_negative_cache_version);
   77|       |#else
   78|     90|    return impl->_abc_negative_cache_version;
   79|     90|#endif
   80|     90|}
_abc.c:_abc__abc_register_impl:
  560|     82|{
  561|     82|    if (!PyType_Check(subclass)) {
  ------------------
  |  |  766|     82|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (561:9): [True: 0, False: 82]
  ------------------
  562|      0|        PyErr_SetString(PyExc_TypeError, "Can only register classes");
  563|      0|        return NULL;
  564|      0|    }
  565|     82|    int result = PyObject_IsSubclass(subclass, self);
  566|     82|    if (result > 0) {
  ------------------
  |  Branch (566:9): [True: 32, False: 50]
  ------------------
  567|     32|        return Py_NewRef(subclass);  /* Already a subclass. */
  ------------------
  |  |  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|     50|    if (result < 0) {
  ------------------
  |  Branch (569:9): [True: 0, False: 50]
  ------------------
  570|      0|        return NULL;
  571|      0|    }
  572|       |    /* Subtle: test for cycles *after* testing for "already a subclass";
  573|       |       this means we allow X.register(X) and interpret it as a no-op. */
  574|     50|    result = PyObject_IsSubclass(self, subclass);
  575|     50|    if (result > 0) {
  ------------------
  |  Branch (575:9): [True: 0, False: 50]
  ------------------
  576|       |        /* This would create a cycle, which is bad for the algorithm below. */
  577|      0|        PyErr_SetString(PyExc_RuntimeError, "Refusing to create an inheritance cycle");
  578|      0|        return NULL;
  579|      0|    }
  580|     50|    if (result < 0) {
  ------------------
  |  Branch (580:9): [True: 0, False: 50]
  ------------------
  581|      0|        return NULL;
  582|      0|    }
  583|     50|    _abc_data *impl = _get_impl(module, self);
  584|     50|    if (impl == NULL) {
  ------------------
  |  Branch (584:9): [True: 0, False: 50]
  ------------------
  585|      0|        return NULL;
  586|      0|    }
  587|     50|    if (_add_to_weak_set(impl, &impl->_abc_registry, subclass) < 0) {
  ------------------
  |  Branch (587:9): [True: 0, False: 50]
  ------------------
  588|      0|        Py_DECREF(impl);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  589|      0|        return NULL;
  590|      0|    }
  591|     50|    Py_DECREF(impl);
  ------------------
  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|       |
  593|       |    /* Invalidate negative cache */
  594|     50|    increment_invalidation_counter(get_abc_state(module));
  595|       |
  596|       |    /* Set Py_TPFLAGS_SEQUENCE or Py_TPFLAGS_MAPPING flag */
  597|     50|    if (PyType_Check(self)) {
  ------------------
  |  |  766|     50|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 50, False: 0]
  |  |  ------------------
  ------------------
  598|     50|        unsigned long collection_flag =
  599|     50|            PyType_GetFlags((PyTypeObject *)self) & COLLECTION_FLAGS;
  ------------------
  |  |  484|     50|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|     50|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|     50|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  600|     50|        if (collection_flag) {
  ------------------
  |  Branch (600:13): [True: 28, False: 22]
  ------------------
  601|     28|            _PyType_SetFlagsRecursive((PyTypeObject *)subclass,
  602|     28|                                      COLLECTION_FLAGS,
  ------------------
  |  |  484|     28|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|     28|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|     28|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  603|     28|                                      collection_flag);
  604|     28|        }
  605|     50|    }
  606|     50|    return Py_NewRef(subclass);
  ------------------
  |  |  647|     50|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  607|     50|}
_abc.c:_add_to_weak_set:
  224|    140|{
  225|    140|    PyObject *set;
  226|    140|    Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|    140|    {
  ------------------
  227|    140|    set = *pset;
  228|    140|    if (set == NULL) {
  ------------------
  |  Branch (228:9): [True: 66, False: 74]
  ------------------
  229|     66|        set = *pset = PySet_New(NULL);
  230|     66|    }
  231|    140|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    140|    }
  ------------------
  232|    140|    if (set == NULL) {
  ------------------
  |  Branch (232:9): [True: 0, False: 140]
  ------------------
  233|      0|        return -1;
  234|      0|    }
  235|       |
  236|    140|    PyObject *ref, *wr;
  237|    140|    PyObject *destroy_cb;
  238|    140|    wr = PyWeakref_NewRef(set, NULL);
  239|    140|    if (wr == NULL) {
  ------------------
  |  Branch (239:9): [True: 0, False: 140]
  ------------------
  240|      0|        return -1;
  241|      0|    }
  242|    140|    destroy_cb = PyCFunction_NewEx(&_destroy_def, wr, NULL);
  ------------------
  |  |   87|    140|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  243|    140|    if (destroy_cb == NULL) {
  ------------------
  |  Branch (243:9): [True: 0, False: 140]
  ------------------
  244|      0|        Py_DECREF(wr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|      0|        return -1;
  246|      0|    }
  247|    140|    ref = PyWeakref_NewRef(obj, destroy_cb);
  248|    140|    Py_DECREF(destroy_cb);
  ------------------
  |  |  430|    140|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|    140|    if (ref == NULL) {
  ------------------
  |  Branch (249:9): [True: 0, False: 140]
  ------------------
  250|      0|        Py_DECREF(wr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  251|      0|        return -1;
  252|      0|    }
  253|    140|    int ret = PySet_Add(set, ref);
  254|    140|    Py_DECREF(wr);
  ------------------
  |  |  430|    140|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  255|    140|    Py_DECREF(ref);
  ------------------
  |  |  430|    140|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  256|    140|    return ret;
  257|    140|}
_abc.c:increment_invalidation_counter:
   47|     50|{
   48|       |#ifdef Py_GIL_DISABLED
   49|       |    _Py_atomic_add_uint64(&state->abc_invalidation_counter, 1);
   50|       |#else
   51|     50|    state->abc_invalidation_counter++;
   52|     50|#endif
   53|     50|}
_abc.c:_in_weak_set:
  182|    204|{
  183|    204|    PyObject *set;
  184|    204|    Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|    204|    {
  ------------------
  185|    204|    set = *pset;
  186|    204|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    204|    }
  ------------------
  187|    204|    if (set == NULL || PySet_GET_SIZE(set) == 0) {
  ------------------
  |  |   71|     51|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (187:9): [True: 153, False: 51]
  |  Branch (187:24): [True: 0, False: 51]
  ------------------
  188|    153|        return 0;
  189|    153|    }
  190|     51|    PyObject *ref = PyWeakref_NewRef(obj, NULL);
  191|     51|    if (ref == NULL) {
  ------------------
  |  Branch (191:9): [True: 0, False: 51]
  ------------------
  192|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (192:13): [True: 0, False: 0]
  ------------------
  193|      0|            PyErr_Clear();
  194|      0|            return 0;
  195|      0|        }
  196|      0|        return -1;
  197|      0|    }
  198|     51|    int res = PySet_Contains(set, ref);
  199|     51|    Py_DECREF(ref);
  ------------------
  |  |  430|     51|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|     51|    return res;
  201|     51|}
_abc.c:_abc__abc_subclasscheck_impl:
  720|     90|{
  721|     90|    if (!PyType_Check(subclass)) {
  ------------------
  |  |  766|     90|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (721:9): [True: 0, False: 90]
  ------------------
  722|      0|        PyErr_SetString(PyExc_TypeError, "issubclass() arg 1 must be a class");
  723|      0|        return NULL;
  724|      0|    }
  725|       |
  726|     90|    PyObject *ok, *subclasses = NULL, *result = NULL;
  727|     90|    _abcmodule_state *state = NULL;
  728|     90|    Py_ssize_t pos;
  729|     90|    int incache;
  730|     90|    _abc_data *impl = _get_impl(module, self);
  731|     90|    if (impl == NULL) {
  ------------------
  |  Branch (731:9): [True: 0, False: 90]
  ------------------
  732|      0|        return NULL;
  733|      0|    }
  734|       |
  735|       |    /* 1. Check cache. */
  736|     90|    incache = _in_weak_set(impl, &impl->_abc_cache, subclass);
  737|     90|    if (incache < 0) {
  ------------------
  |  Branch (737:9): [True: 0, False: 90]
  ------------------
  738|      0|        goto end;
  739|      0|    }
  740|     90|    if (incache > 0) {
  ------------------
  |  Branch (740:9): [True: 0, False: 90]
  ------------------
  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|     90|    state = get_abc_state(module);
  746|       |    /* 2. Check negative cache; may have to invalidate. */
  747|     90|    uint64_t invalidation_counter = get_invalidation_counter(state);
  748|     90|    if (get_cache_version(impl) < invalidation_counter) {
  ------------------
  |  Branch (748:9): [True: 34, False: 56]
  ------------------
  749|       |        /* Invalidate the negative cache. */
  750|     34|        PyObject *negative_cache;
  751|     34|        Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|     34|    {
  ------------------
  752|     34|        negative_cache = impl->_abc_negative_cache;
  753|     34|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     34|    }
  ------------------
  754|     34|        if (negative_cache != NULL && PySet_Clear(negative_cache) < 0) {
  ------------------
  |  Branch (754:13): [True: 27, False: 7]
  |  Branch (754:39): [True: 0, False: 27]
  ------------------
  755|      0|            goto end;
  756|      0|        }
  757|     34|        set_cache_version(impl, invalidation_counter);
  758|     34|    }
  759|     56|    else {
  760|     56|        incache = _in_weak_set(impl, &impl->_abc_negative_cache, subclass);
  761|     56|        if (incache < 0) {
  ------------------
  |  Branch (761:13): [True: 0, False: 56]
  ------------------
  762|      0|            goto end;
  763|      0|        }
  764|     56|        if (incache > 0) {
  ------------------
  |  Branch (764:13): [True: 0, False: 56]
  ------------------
  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|     56|    }
  769|       |
  770|       |    /* 3. Check the subclass hook. */
  771|     90|    ok = PyObject_CallMethodOneArg(
  772|     90|            (PyObject *)self, &_Py_ID(__subclasshook__), subclass);
  ------------------
  |  |  951|     90|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     90|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     90|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  773|     90|    if (ok == NULL) {
  ------------------
  |  Branch (773:9): [True: 0, False: 90]
  ------------------
  774|      0|        goto end;
  775|      0|    }
  776|     90|    if (ok == Py_True) {
  ------------------
  |  |   26|     90|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (776:9): [True: 32, False: 58]
  ------------------
  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|     58|    if (ok == Py_False) {
  ------------------
  |  |   25|     58|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (784:9): [True: 0, False: 58]
  ------------------
  785|      0|        Py_DECREF(ok);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  786|      0|        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|     58|    if (ok != Py_NotImplemented) {
  ------------------
  |  |  640|     58|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (792:9): [True: 0, False: 58]
  ------------------
  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|     58|    Py_DECREF(ok);
  ------------------
  |  |  430|     58|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  799|       |
  800|       |    /* 4. Check if it's a direct subclass. */
  801|     58|    if (PyType_IsSubtype((PyTypeObject *)subclass, (PyTypeObject *)self)) {
  ------------------
  |  Branch (801:9): [True: 0, False: 58]
  ------------------
  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|     58|    if (subclasscheck_check_registry(impl, subclass, &result)) {
  ------------------
  |  Branch (810:9): [True: 0, False: 58]
  ------------------
  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|     58|    subclasses = PyObject_CallMethod(self, "__subclasses__", NULL);
  817|     58|    if (subclasses == NULL) {
  ------------------
  |  Branch (817:9): [True: 0, False: 58]
  ------------------
  818|      0|        goto end;
  819|      0|    }
  820|     58|    if (!PyList_Check(subclasses)) {
  ------------------
  |  |   25|     58|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     58|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (820:9): [True: 0, False: 58]
  ------------------
  821|      0|        PyErr_SetString(PyExc_TypeError, "__subclasses__() must return a list");
  822|      0|        goto end;
  823|      0|    }
  824|     66|    for (pos = 0; pos < PyList_GET_SIZE(subclasses); pos++) {
  ------------------
  |  |   38|     66|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (824:19): [True: 8, False: 58]
  ------------------
  825|      8|        PyObject *scls = PyList_GetItemRef(subclasses, pos);
  826|      8|        if (scls == NULL) {
  ------------------
  |  Branch (826:13): [True: 0, False: 8]
  ------------------
  827|      0|            goto end;
  828|      0|        }
  829|      8|        int r = PyObject_IsSubclass(subclass, scls);
  830|      8|        Py_DECREF(scls);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  831|      8|        if (r > 0) {
  ------------------
  |  Branch (831:13): [True: 0, False: 8]
  ------------------
  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|      8|        if (r < 0) {
  ------------------
  |  Branch (838:13): [True: 0, False: 8]
  ------------------
  839|      0|            goto end;
  840|      0|        }
  841|      8|    }
  842|       |
  843|       |    /* No dice; update negative cache. */
  844|     58|    if (_add_to_weak_set(impl, &impl->_abc_negative_cache, subclass) < 0) {
  ------------------
  |  Branch (844:9): [True: 0, False: 58]
  ------------------
  845|      0|        goto end;
  846|      0|    }
  847|     58|    result = Py_False;
  ------------------
  |  |   25|     58|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  848|       |
  849|     90|end:
  850|     90|    Py_DECREF(impl);
  ------------------
  |  |  430|     90|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  851|     90|    Py_XDECREF(subclasses);
  ------------------
  |  |  621|     90|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  852|     90|    return Py_XNewRef(result);
  ------------------
  |  |  648|     90|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  853|     58|}
_abc.c:set_cache_version:
   84|     34|{
   85|       |#ifdef Py_GIL_DISABLED
   86|       |    _Py_atomic_store_uint64(&impl->_abc_negative_cache_version, version);
   87|       |#else
   88|     34|    impl->_abc_negative_cache_version = version;
   89|     34|#endif
   90|     34|}
_abc.c:subclasscheck_check_registry:
  859|     58|{
  860|       |    // Fast path: check subclass is in weakref directly.
  861|     58|    int ret = _in_weak_set(impl, &impl->_abc_registry, subclass);
  862|     58|    if (ret < 0) {
  ------------------
  |  Branch (862:9): [True: 0, False: 58]
  ------------------
  863|      0|        *result = NULL;
  864|      0|        return -1;
  865|      0|    }
  866|     58|    if (ret > 0) {
  ------------------
  |  Branch (866:9): [True: 0, False: 58]
  ------------------
  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|     58|    PyObject *registry_shared;
  872|     58|    Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|     58|    {
  ------------------
  873|     58|    registry_shared = impl->_abc_registry;
  874|     58|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     58|    }
  ------------------
  875|     58|    if (registry_shared == NULL) {
  ------------------
  |  Branch (875:9): [True: 31, False: 27]
  ------------------
  876|     31|        return 0;
  877|     31|    }
  878|       |
  879|       |    // Make a local copy of the registry to protect against concurrent
  880|       |    // modifications of _abc_registry.
  881|     27|    PyObject *registry = PyFrozenSet_New(registry_shared);
  882|     27|    if (registry == NULL) {
  ------------------
  |  Branch (882:9): [True: 0, False: 27]
  ------------------
  883|      0|        return -1;
  884|      0|    }
  885|     27|    PyObject *key;
  886|     27|    Py_ssize_t pos = 0;
  887|     27|    Py_hash_t hash;
  888|       |
  889|     77|    while (_PySet_NextEntry(registry, &pos, &key, &hash)) {
  ------------------
  |  Branch (889:12): [True: 50, False: 27]
  ------------------
  890|     50|        PyObject *rkey;
  891|     50|        if (PyWeakref_GetRef(key, &rkey) < 0) {
  ------------------
  |  Branch (891:13): [True: 0, False: 50]
  ------------------
  892|       |            // Someone inject non-weakref type in the registry.
  893|      0|            ret = -1;
  894|      0|            break;
  895|      0|        }
  896|       |
  897|     50|        if (rkey == NULL) {
  ------------------
  |  Branch (897:13): [True: 0, False: 50]
  ------------------
  898|      0|            continue;
  899|      0|        }
  900|     50|        int r = PyObject_IsSubclass(subclass, rkey);
  901|     50|        Py_DECREF(rkey);
  ------------------
  |  |  430|     50|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  902|     50|        if (r < 0) {
  ------------------
  |  Branch (902:13): [True: 0, False: 50]
  ------------------
  903|      0|            ret = -1;
  904|      0|            break;
  905|      0|        }
  906|     50|        if (r > 0) {
  ------------------
  |  Branch (906:13): [True: 0, False: 50]
  ------------------
  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|     50|    }
  916|       |
  917|     27|    Py_DECREF(registry);
  ------------------
  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  918|     27|    return ret;
  919|     27|}
_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|    964|{
   95|    964|    _abc_data *self = _abc_data_CAST(op);
  ------------------
  |  |   70|    964|#define _abc_data_CAST(op)  ((_abc_data *)(op))
  ------------------
   96|    964|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    964|    do {                                                                \
  |  |  195|    964|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 964, False: 0]
  |  |  ------------------
  |  |  196|    964|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    964|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    964|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    964|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 964]
  |  |  ------------------
  |  |  198|    964|                return vret;                                            \
  |  |  199|    964|        }                                                               \
  |  |  200|    964|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 964]
  |  |  ------------------
  ------------------
   97|    964|    Py_VISIT(self->_abc_registry);
  ------------------
  |  |  194|    964|    do {                                                                \
  |  |  195|    964|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 336, False: 628]
  |  |  ------------------
  |  |  196|    336|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    336|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    336|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    336|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 336]
  |  |  ------------------
  |  |  198|    336|                return vret;                                            \
  |  |  199|    336|        }                                                               \
  |  |  200|    964|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 964]
  |  |  ------------------
  ------------------
   98|    964|    Py_VISIT(self->_abc_cache);
  ------------------
  |  |  194|    964|    do {                                                                \
  |  |  195|    964|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 88, False: 876]
  |  |  ------------------
  |  |  196|     88|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     88|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 88]
  |  |  ------------------
  |  |  198|     88|                return vret;                                            \
  |  |  199|     88|        }                                                               \
  |  |  200|    964|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 964]
  |  |  ------------------
  ------------------
   99|    964|    Py_VISIT(self->_abc_negative_cache);
  ------------------
  |  |  194|    964|    do {                                                                \
  |  |  195|    964|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 380, False: 584]
  |  |  ------------------
  |  |  196|    380|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    380|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 380]
  |  |  ------------------
  |  |  198|    380|                return vret;                                            \
  |  |  199|    380|        }                                                               \
  |  |  200|    964|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 964]
  |  |  ------------------
  ------------------
  100|    964|    return 0;
  101|    964|}
_abc.c:_abcmodule_traverse:
  966|     22|{
  967|     22|    _abcmodule_state *state = get_abc_state(module);
  968|     22|    Py_VISIT(state->_abc_data_type);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
  969|     22|    return 0;
  970|     22|}

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

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|     21|{
   24|     21|    void *state = _PyModule_GetState(mod);
   25|     21|    assert(state != NULL);
  ------------------
  |  Branch (25:5): [True: 21, False: 0]
  ------------------
   26|     21|    return (collections_state *)state;
   27|     21|}
_collectionsmodule.c:defdict_traverse:
 2443|     14|{
 2444|     14|    defdictobject *self = defdictobject_CAST(op);
  ------------------
  |  | 2217|     14|#define defdictobject_CAST(op)  ((defdictobject *)(op))
  ------------------
 2445|     14|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 14, False: 0]
  |  |  ------------------
  |  |  196|     14|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     14|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 14]
  |  |  ------------------
  |  |  198|     14|                return vret;                                            \
  |  |  199|     14|        }                                                               \
  |  |  200|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2446|     14|    Py_VISIT(self->default_factory);
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 14, False: 0]
  |  |  ------------------
  |  |  196|     14|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     14|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 14]
  |  |  ------------------
  |  |  198|     14|                return vret;                                            \
  |  |  199|     14|        }                                                               \
  |  |  200|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2447|     14|    return PyDict_Type.tp_traverse(op, visit, arg);
 2448|     14|}
_collectionsmodule.c:defdict_init:
 2460|      1|{
 2461|      1|    defdictobject *dd = defdictobject_CAST(self);
  ------------------
  |  | 2217|      1|#define defdictobject_CAST(op)  ((defdictobject *)(op))
  ------------------
 2462|      1|    PyObject *olddefault = dd->default_factory;
 2463|      1|    PyObject *newdefault = NULL;
 2464|      1|    PyObject *newargs;
 2465|      1|    int result;
 2466|      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 (2466:9): [True: 0, False: 1]
  |  Branch (2466:25): [True: 0, False: 1]
  ------------------
 2467|      0|        newargs = PyTuple_New(0);
 2468|      1|    else {
 2469|      1|        Py_ssize_t n = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      1|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2470|      1|        if (n > 0) {
  ------------------
  |  Branch (2470:13): [True: 1, False: 0]
  ------------------
 2471|      1|            newdefault = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|      1|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      1|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2471:26): [True: 1, False: 0]
  ------------------
 2472|      1|            if (!PyCallable_Check(newdefault) && newdefault != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2472:17): [True: 0, False: 1]
  |  Branch (2472:50): [True: 0, False: 0]
  ------------------
 2473|      0|                PyErr_SetString(PyExc_TypeError,
 2474|      0|                    "first argument must be callable or None");
 2475|      0|                return -1;
 2476|      0|            }
 2477|      1|        }
 2478|      1|        newargs = PySequence_GetSlice(args, 1, n);
 2479|      1|    }
 2480|      1|    if (newargs == NULL)
  ------------------
  |  Branch (2480:9): [True: 0, False: 1]
  ------------------
 2481|      0|        return -1;
 2482|      1|    dd->default_factory = Py_XNewRef(newdefault);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2483|      1|    result = PyDict_Type.tp_init(self, newargs, kwds);
 2484|      1|    Py_DECREF(newargs);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2485|      1|    Py_XDECREF(olddefault);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2486|      1|    return result;
 2487|      1|}
_collectionsmodule.c:get_module_state_by_cls:
   31|     12|{
   32|     12|    void *state = _PyType_GetModuleState(cls);
   33|     12|    assert(state != NULL);
  ------------------
  |  Branch (33:5): [True: 12, False: 0]
  ------------------
   34|     12|    return (collections_state *)state;
   35|     12|}
_collectionsmodule.c:tuplegetter_traverse:
 2754|    222|{
 2755|    222|    _tuplegetterobject *tuplegetter = tuplegetterobject_CAST(self);
  ------------------
  |  | 2686|    222|#define tuplegetterobject_CAST(op)  ((_tuplegetterobject *)(op))
  ------------------
 2756|    222|    Py_VISIT(Py_TYPE(tuplegetter));
  ------------------
  |  |  194|    222|    do {                                                                \
  |  |  195|    222|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 222, False: 0]
  |  |  ------------------
  |  |  196|    222|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    222|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    222|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    222|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 222]
  |  |  ------------------
  |  |  198|    222|                return vret;                                            \
  |  |  199|    222|        }                                                               \
  |  |  200|    222|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 222]
  |  |  ------------------
  ------------------
 2757|    222|    Py_VISIT(tuplegetter->doc);
  ------------------
  |  |  194|    222|    do {                                                                \
  |  |  195|    222|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 222, False: 0]
  |  |  ------------------
  |  |  196|    222|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    222|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    222|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    222|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 222]
  |  |  ------------------
  |  |  198|    222|                return vret;                                            \
  |  |  199|    222|        }                                                               \
  |  |  200|    222|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 222]
  |  |  ------------------
  ------------------
 2758|    222|    return 0;
 2759|    222|}
_collectionsmodule.c:tuplegetter_new_impl:
 2700|     12|{
 2701|     12|    _tuplegetterobject* self;
 2702|     12|    self = (_tuplegetterobject *)type->tp_alloc(type, 0);
 2703|     12|    if (self == NULL) {
  ------------------
  |  Branch (2703:9): [True: 0, False: 12]
  ------------------
 2704|      0|        return NULL;
 2705|      0|    }
 2706|     12|    self->index = index;
 2707|     12|    self->doc = Py_NewRef(doc);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2708|     12|    return (PyObject *)self;
 2709|     12|}
_collectionsmodule.c:collections_traverse:
 2833|     20|{
 2834|     20|    collections_state *state = get_module_state(mod);
 2835|     20|    Py_VISIT(state->deque_type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2836|     20|    Py_VISIT(state->defdict_type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2837|     20|    Py_VISIT(state->dequeiter_type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2838|     20|    Py_VISIT(state->dequereviter_type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2839|     20|    Py_VISIT(state->tuplegetter_type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2840|     20|    return 0;
 2841|     20|}

_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|     24|{
   39|     24|    void *state = _PyModule_GetState(module);
   40|     24|    assert(state != NULL);
  ------------------
  |  Branch (40:5): [True: 24, False: 0]
  ------------------
   41|     24|    return (_functools_state *)state;
   42|     24|}
_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:partial_dealloc:
  277|      1|{
  278|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  279|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
  280|      1|    PyObject_GC_UnTrack(self);
  281|      1|    FT_CLEAR_WEAKREFS(self, partialobject_CAST(self)->weakreflist);
  ------------------
  |  |   47|      1|    do {                                            \
  |  |   48|      1|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|      1|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  |  Branch (281:5): [True: 1, False: 0]
  ------------------
  282|      1|    (void)partial_clear(self);
  283|      1|    tp->tp_free(self);
  284|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  285|      1|}
_functoolsmodule.c:partial_clear:
  254|      1|{
  255|      1|    partialobject *pto = partialobject_CAST(self);
  ------------------
  |  |   70|      1|#define partialobject_CAST(op)  ((partialobject *)(op))
  ------------------
  256|      1|    Py_CLEAR(pto->fn);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  257|      1|    Py_CLEAR(pto->args);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  258|      1|    Py_CLEAR(pto->kw);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  259|       |    Py_CLEAR(pto->dict);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  260|      1|    return 0;
  261|      1|}
_functoolsmodule.c:partial_setvectorcall:
  504|      1|{
  505|      1|    if (PyVectorcall_Function(pto->fn) == NULL) {
  ------------------
  |  Branch (505:9): [True: 0, False: 1]
  ------------------
  506|       |        /* Don't use vectorcall if the underlying function doesn't support it */
  507|      0|        pto->vectorcall = NULL;
  508|      0|    }
  509|       |    /* We could have a special case if there are no arguments,
  510|       |     * but that is unlikely (why use partial without arguments?),
  511|       |     * so we don't optimize that */
  512|      1|    else {
  513|      1|        pto->vectorcall = partial_vectorcall;
  514|      1|    }
  515|      1|}
_functoolsmodule.c:partial_vectorcall:
  299|      1|{
  300|      1|    partialobject *pto = partialobject_CAST(self);;
  ------------------
  |  |   70|      1|#define partialobject_CAST(op)  ((partialobject *)(op))
  ------------------
  301|      1|    PyThreadState *tstate = _PyThreadState_GET();
  302|      1|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      1|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  303|       |
  304|       |    /* Placeholder check */
  305|      1|    Py_ssize_t pto_phcount = pto->phcount;
  306|      1|    if (nargs < pto_phcount) {
  ------------------
  |  Branch (306:9): [True: 0, False: 1]
  ------------------
  307|      0|        PyErr_Format(PyExc_TypeError,
  308|      0|                     "missing positional arguments in 'partial' call; "
  309|      0|                     "expected at least %zd, got %zd", pto_phcount, nargs);
  310|      0|        return NULL;
  311|      0|    }
  312|       |
  313|      1|    PyObject *result = NULL;
  314|      1|    PyObject *partial_function = Py_NewRef(pto->fn);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  315|      1|    PyObject *partial_args = Py_NewRef(pto->args);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  316|      1|    PyObject *partial_keywords = Py_NewRef(pto->kw);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  317|       |
  318|      1|    PyObject **pto_args = _PyTuple_ITEMS(partial_args);
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  319|      1|    Py_ssize_t pto_nargs = PyTuple_GET_SIZE(partial_args);
  ------------------
  |  |   27|      1|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  320|      1|    Py_ssize_t pto_nkwds = PyDict_GET_SIZE(partial_keywords);
  ------------------
  |  |   63|      1|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  321|      1|    Py_ssize_t nkwds = kwnames == NULL ? 0 : PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (321:24): [True: 1, False: 0]
  ------------------
  322|      1|    Py_ssize_t nargskw = nargs + nkwds;
  323|       |
  324|       |    /* Special cases */
  325|      1|    if (!pto_nkwds) {
  ------------------
  |  Branch (325:9): [True: 0, False: 1]
  ------------------
  326|       |        /* Fast path if we're called without arguments */
  327|      0|        if (nargskw == 0) {
  ------------------
  |  Branch (327:13): [True: 0, False: 0]
  ------------------
  328|      0|            result = _PyObject_VectorcallTstate(tstate, partial_function, pto_args,
  329|      0|                                                pto_nargs, NULL);
  330|      0|            goto done;
  331|      0|        }
  332|       |
  333|       |        /* Use PY_VECTORCALL_ARGUMENTS_OFFSET to prepend a single
  334|       |         * positional argument. */
  335|      0|        if (pto_nargs == 1 && (nargsf & PY_VECTORCALL_ARGUMENTS_OFFSET)) {
  ------------------
  |  |  287|      0|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (335:13): [True: 0, False: 0]
  |  Branch (335:31): [True: 0, False: 0]
  ------------------
  336|      0|            PyObject **newargs = (PyObject **)args - 1;
  337|      0|            PyObject *tmp = newargs[0];
  338|      0|            newargs[0] = pto_args[0];
  339|      0|            result = _PyObject_VectorcallTstate(tstate, partial_function, newargs,
  340|      0|                                                nargs + 1, kwnames);
  341|      0|            newargs[0] = tmp;
  342|      0|            goto done;
  343|      0|        }
  344|      0|    }
  345|       |
  346|       |    /* Total sizes */
  347|      1|    Py_ssize_t tot_nargs = pto_nargs + nargs - pto_phcount;
  348|      1|    Py_ssize_t tot_nkwds = pto_nkwds + nkwds;
  349|      1|    Py_ssize_t tot_nargskw = tot_nargs + tot_nkwds;
  350|       |
  351|      1|    PyObject *pto_kw_merged = NULL;  // pto_kw with duplicates merged (if any)
  352|      1|    PyObject *tot_kwnames;
  353|       |
  354|       |    /* Allocate Stack
  355|       |     * Note, _PY_FASTCALL_SMALL_STACK is optimal for positional only
  356|       |     * This case might have keyword arguments
  357|       |     *  furthermore, it might use extra stack space for temporary key storage
  358|       |     *  thus, double small_stack size is used, which is 10 * 8 = 80 bytes */
  359|      1|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK * 2];
  360|      1|    PyObject **tmp_stack, **stack;
  361|      1|    Py_ssize_t init_stack_size = tot_nargskw;
  362|      1|    if (pto_nkwds) {
  ------------------
  |  Branch (362:9): [True: 1, False: 0]
  ------------------
  363|       |        // If pto_nkwds, allocate additional space for temporary new keys
  364|      1|        init_stack_size += nkwds;
  365|      1|    }
  366|      1|    if (init_stack_size <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  232|      1|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (366:9): [True: 1, False: 0]
  ------------------
  367|      1|        stack = small_stack;
  368|      1|    }
  369|      0|    else {
  370|      0|        stack = PyMem_Malloc(init_stack_size * sizeof(PyObject *));
  371|      0|        if (stack == NULL) {
  ------------------
  |  Branch (371:13): [True: 0, False: 0]
  ------------------
  372|      0|            PyErr_NoMemory();
  373|      0|            goto done;
  374|      0|        }
  375|      0|    }
  376|       |
  377|       |    /* Copy keywords to stack */
  378|      1|    if (!pto_nkwds) {
  ------------------
  |  Branch (378:9): [True: 0, False: 1]
  ------------------
  379|      0|        tot_kwnames = kwnames;
  380|      0|        if (nkwds) {
  ------------------
  |  Branch (380:13): [True: 0, False: 0]
  ------------------
  381|       |            /* if !pto_nkwds & nkwds, then simply append kw */
  382|      0|            memcpy(stack + tot_nargs, args + nargs, nkwds * sizeof(PyObject*));
  383|      0|        }
  384|      0|    }
  385|      1|    else {
  386|       |        /* stack is now         [<positionals>, <pto_kwds>, <kwds>, <kwds_keys>]
  387|       |         * Will resize later to [<positionals>, <merged_kwds>] */
  388|      1|        PyObject *key, *val;
  389|       |
  390|       |        /* Merge kw to pto_kw or add to tail (if not duplicate) */
  391|      1|        Py_ssize_t n_tail = 0;
  392|      1|        for (Py_ssize_t i = 0; i < nkwds; ++i) {
  ------------------
  |  Branch (392:32): [True: 0, False: 1]
  ------------------
  393|      0|            key = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (393:19): [True: 0, False: 0]
  ------------------
  394|      0|            val = args[nargs + i];
  395|      0|            int contains = PyDict_Contains(partial_keywords, key);
  396|      0|            if (contains < 0) {
  ------------------
  |  Branch (396:17): [True: 0, False: 0]
  ------------------
  397|      0|                goto clean_stack;
  398|      0|            }
  399|      0|            else if (contains == 1) {
  ------------------
  |  Branch (399:22): [True: 0, False: 0]
  ------------------
  400|      0|                if (pto_kw_merged == NULL) {
  ------------------
  |  Branch (400:21): [True: 0, False: 0]
  ------------------
  401|      0|                    pto_kw_merged = PyDict_Copy(partial_keywords);
  402|      0|                    if (pto_kw_merged == NULL) {
  ------------------
  |  Branch (402:25): [True: 0, False: 0]
  ------------------
  403|      0|                        goto clean_stack;
  404|      0|                    }
  405|      0|                }
  406|      0|                if (PyDict_SetItem(pto_kw_merged, key, val) < 0) {
  ------------------
  |  Branch (406:21): [True: 0, False: 0]
  ------------------
  407|      0|                    Py_DECREF(pto_kw_merged);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  408|      0|                    goto clean_stack;
  409|      0|                }
  410|      0|            }
  411|      0|            else {
  412|       |                /* Copy keyword tail to stack */
  413|      0|                stack[tot_nargs + pto_nkwds + n_tail] = val;
  414|      0|                stack[tot_nargskw + n_tail] = key;
  415|      0|                n_tail++;
  416|      0|            }
  417|      0|        }
  418|      1|        Py_ssize_t n_merges = nkwds - n_tail;
  419|       |
  420|       |        /* Create total kwnames */
  421|      1|        tot_kwnames = PyTuple_New(tot_nkwds - n_merges);
  422|      1|        if (tot_kwnames == NULL) {
  ------------------
  |  Branch (422:13): [True: 0, False: 1]
  ------------------
  423|      0|            Py_XDECREF(pto_kw_merged);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  424|      0|            goto clean_stack;
  425|      0|        }
  426|      1|        for (Py_ssize_t i = 0; i < n_tail; ++i) {
  ------------------
  |  Branch (426:32): [True: 0, False: 1]
  ------------------
  427|      0|            key = Py_NewRef(stack[tot_nargskw + 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|      0|            PyTuple_SET_ITEM(tot_kwnames, pto_nkwds + i, key);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|      0|        }
  430|       |
  431|       |        /* Copy pto_keywords with overlapping call keywords merged
  432|       |         * Note, tail is already coppied. */
  433|      1|        Py_ssize_t pos = 0, i = 0;
  434|      1|        PyObject *keyword_dict = n_merges ? pto_kw_merged : partial_keywords;
  ------------------
  |  Branch (434:34): [True: 0, False: 1]
  ------------------
  435|      1|        Py_BEGIN_CRITICAL_SECTION(keyword_dict);
  ------------------
  |  |   51|      1|    {
  ------------------
  436|      4|        while (PyDict_Next(keyword_dict, &pos, &key, &val)) {
  ------------------
  |  Branch (436:16): [True: 3, False: 1]
  ------------------
  437|      3|            assert(i < pto_nkwds);
  ------------------
  |  Branch (437:13): [True: 3, False: 0]
  ------------------
  438|      3|            PyTuple_SET_ITEM(tot_kwnames, i, Py_NewRef(key));
  ------------------
  |  |   40|      3|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  439|      3|            stack[tot_nargs + i] = val;
  440|      3|            i++;
  441|      3|        }
  442|      1|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      1|    }
  ------------------
  443|      1|        assert(i == pto_nkwds);
  ------------------
  |  Branch (443:9): [True: 1, False: 0]
  ------------------
  444|      1|        Py_XDECREF(pto_kw_merged);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  445|       |
  446|       |        /* Resize Stack if the removing overallocation saves some noticable memory
  447|       |         * NOTE: This whole block can be removed without breaking anything */
  448|      1|        Py_ssize_t noveralloc = n_merges + nkwds;
  449|      1|        if (stack != small_stack && noveralloc > 6 && noveralloc > init_stack_size / 10) {
  ------------------
  |  Branch (449:13): [True: 0, False: 1]
  |  Branch (449:37): [True: 0, False: 0]
  |  Branch (449:55): [True: 0, False: 0]
  ------------------
  450|      0|            tmp_stack = PyMem_Realloc(stack, (tot_nargskw - n_merges) * sizeof(PyObject *));
  451|      0|            if (tmp_stack == NULL) {
  ------------------
  |  Branch (451:17): [True: 0, False: 0]
  ------------------
  452|      0|                Py_DECREF(tot_kwnames);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  453|      0|                PyErr_NoMemory();
  454|      0|                goto clean_stack;
  455|      0|            }
  456|      0|            stack = tmp_stack;
  457|      0|        }
  458|      1|    }
  459|       |
  460|       |    /* Copy Positionals to stack */
  461|      1|    if (pto_phcount) {
  ------------------
  |  Branch (461:9): [True: 0, False: 1]
  ------------------
  462|      0|        Py_ssize_t j = 0;       // New args index
  463|      0|        for (Py_ssize_t i = 0; i < pto_nargs; i++) {
  ------------------
  |  Branch (463:32): [True: 0, False: 0]
  ------------------
  464|      0|            if (pto_args[i] == pto->placeholder) {
  ------------------
  |  Branch (464:17): [True: 0, False: 0]
  ------------------
  465|      0|                stack[i] = args[j];
  466|      0|                j += 1;
  467|      0|            }
  468|      0|            else {
  469|      0|                stack[i] = pto_args[i];
  470|      0|            }
  471|      0|        }
  472|      0|        assert(j == pto_phcount);
  ------------------
  |  Branch (472:9): [True: 0, False: 0]
  ------------------
  473|       |        /* Add remaining args from new_args */
  474|      0|        if (nargs > pto_phcount) {
  ------------------
  |  Branch (474:13): [True: 0, False: 0]
  ------------------
  475|      0|            memcpy(stack + pto_nargs, args + j, (nargs - j) * sizeof(PyObject*));
  476|      0|        }
  477|      0|    }
  478|      1|    else {
  479|      1|        memcpy(stack, pto_args, pto_nargs * sizeof(PyObject*));
  480|      1|        memcpy(stack + pto_nargs, args, nargs * sizeof(PyObject*));
  481|      1|    }
  482|       |
  483|      1|    result = _PyObject_VectorcallTstate(tstate, partial_function, stack,
  484|      1|                                        tot_nargs, tot_kwnames);
  485|      1|    if (pto_nkwds) {
  ------------------
  |  Branch (485:9): [True: 1, False: 0]
  ------------------
  486|      1|        Py_DECREF(tot_kwnames);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  487|      1|    }
  488|       |
  489|      1| clean_stack:
  490|      1|    if (stack != small_stack) {
  ------------------
  |  Branch (490:9): [True: 0, False: 1]
  ------------------
  491|      0|        PyMem_Free(stack);
  492|      0|    }
  493|       |
  494|      1| done:
  495|      1|    Py_DECREF(partial_function);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  496|      1|    Py_DECREF(partial_args);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  497|      1|    Py_DECREF(partial_keywords);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  498|      1|    return result;
  499|      1|}
_functoolsmodule.c:partial_new:
   90|      1|{
   91|      1|    PyObject *func, *pto_args, *new_args, *pto_kw, *phold;
   92|      1|    partialobject *pto;
   93|      1|    Py_ssize_t pto_phcount = 0;
   94|      1|    Py_ssize_t new_nargs = PyTuple_GET_SIZE(args) - 1;
  ------------------
  |  |   27|      1|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|       |
   96|      1|    if (new_nargs < 0) {
  ------------------
  |  Branch (96:9): [True: 0, False: 1]
  ------------------
   97|      0|        PyErr_SetString(PyExc_TypeError,
   98|      0|                        "type 'partial' takes at least one argument");
   99|      0|        return NULL;
  100|      0|    }
  101|      1|    func = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|      1|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      1|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (101:12): [True: 1, False: 0]
  ------------------
  102|      1|    if (!PyCallable_Check(func)) {
  ------------------
  |  Branch (102:9): [True: 0, False: 1]
  ------------------
  103|      0|        PyErr_SetString(PyExc_TypeError,
  104|      0|                        "the first argument must be callable");
  105|      0|        return NULL;
  106|      0|    }
  107|       |
  108|      1|    _functools_state *state = get_functools_state_by_type(type);
  109|      1|    if (state == NULL) {
  ------------------
  |  Branch (109:9): [True: 0, False: 1]
  ------------------
  110|      0|        return NULL;
  111|      0|    }
  112|      1|    phold = state->placeholder;
  113|       |
  114|       |    /* Placeholder restrictions */
  115|      1|    if (new_nargs && PyTuple_GET_ITEM(args, new_nargs) == phold) {
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (115:9): [True: 0, False: 1]
  |  Branch (115:22): [True: 0, False: 0]
  |  Branch (115:22): [True: 0, False: 0]
  ------------------
  116|      0|        PyErr_SetString(PyExc_TypeError,
  117|      0|                        "trailing Placeholders are not allowed");
  118|      0|        return NULL;
  119|      0|    }
  120|       |
  121|       |    /* keyword Placeholder prohibition */
  122|      1|    if (kw != NULL) {
  ------------------
  |  Branch (122:9): [True: 1, False: 0]
  ------------------
  123|      1|        PyObject *key, *val;
  124|      1|        Py_ssize_t pos = 0;
  125|      4|        while (PyDict_Next(kw, &pos, &key, &val)) {
  ------------------
  |  Branch (125:16): [True: 3, False: 1]
  ------------------
  126|      3|            if (val == phold) {
  ------------------
  |  Branch (126:17): [True: 0, False: 3]
  ------------------
  127|      0|                PyErr_SetString(PyExc_TypeError,
  128|      0|                                "Placeholder cannot be passed as a keyword argument");
  129|      0|                return NULL;
  130|      0|            }
  131|      3|        }
  132|      1|    }
  133|       |
  134|       |    /* check wrapped function / object */
  135|      1|    pto_args = pto_kw = NULL;
  136|      1|    int res = PyObject_TypeCheck(func, state->partial_type);
  ------------------
  |  |  378|      1|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|      1|    if (res == -1) {
  ------------------
  |  Branch (137:9): [True: 0, False: 1]
  ------------------
  138|      0|        return NULL;
  139|      0|    }
  140|      1|    if (res == 1) {
  ------------------
  |  Branch (140:9): [True: 0, False: 1]
  ------------------
  141|       |        // We can use its underlying function directly and merge the arguments.
  142|      0|        partialobject *part = (partialobject *)func;
  143|      0|        if (part->dict == NULL) {
  ------------------
  |  Branch (143:13): [True: 0, False: 0]
  ------------------
  144|      0|            pto_args = part->args;
  145|      0|            pto_kw = part->kw;
  146|      0|            func = part->fn;
  147|      0|            pto_phcount = part->phcount;
  148|      0|            assert(PyTuple_Check(pto_args));
  ------------------
  |  Branch (148:13): [True: 0, False: 0]
  ------------------
  149|      0|            assert(PyDict_Check(pto_kw));
  ------------------
  |  Branch (149:13): [True: 0, False: 0]
  ------------------
  150|      0|        }
  151|      0|    }
  152|       |
  153|       |    /* create partialobject structure */
  154|      1|    pto = (partialobject *)type->tp_alloc(type, 0);
  155|      1|    if (pto == NULL)
  ------------------
  |  Branch (155:9): [True: 0, False: 1]
  ------------------
  156|      0|        return NULL;
  157|       |
  158|      1|    pto->fn = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  159|      1|    pto->placeholder = phold;
  160|       |
  161|      1|    new_args = PyTuple_GetSlice(args, 1, new_nargs + 1);
  162|      1|    if (new_args == NULL) {
  ------------------
  |  Branch (162:9): [True: 0, False: 1]
  ------------------
  163|      0|        Py_DECREF(pto);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|      0|        return NULL;
  165|      0|    }
  166|       |
  167|       |    /* Count placeholders */
  168|      1|    Py_ssize_t phcount = 0;
  169|      1|    for (Py_ssize_t i = 0; i < new_nargs - 1; i++) {
  ------------------
  |  Branch (169:28): [True: 0, False: 1]
  ------------------
  170|      0|        if (PyTuple_GET_ITEM(new_args, i) == phold) {
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (170:13): [True: 0, False: 0]
  |  Branch (170:13): [True: 0, False: 0]
  ------------------
  171|      0|            phcount++;
  172|      0|        }
  173|      0|    }
  174|       |    /* merge args with args of `func` which is `partial` */
  175|      1|    if (pto_phcount > 0 && new_nargs > 0) {
  ------------------
  |  Branch (175:9): [True: 0, False: 1]
  |  Branch (175:28): [True: 0, False: 0]
  ------------------
  176|      0|        Py_ssize_t npargs = PyTuple_GET_SIZE(pto_args);
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  177|      0|        Py_ssize_t tot_nargs = npargs;
  178|      0|        if (new_nargs > pto_phcount) {
  ------------------
  |  Branch (178:13): [True: 0, False: 0]
  ------------------
  179|      0|            tot_nargs += new_nargs - pto_phcount;
  180|      0|        }
  181|      0|        PyObject *item;
  182|      0|        PyObject *tot_args = PyTuple_New(tot_nargs);
  183|      0|        if (tot_args == NULL) {
  ------------------
  |  Branch (183:13): [True: 0, False: 0]
  ------------------
  184|      0|            Py_DECREF(new_args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|      0|            Py_DECREF(pto);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  186|      0|            return NULL;
  187|      0|        }
  188|      0|        for (Py_ssize_t i = 0, j = 0; i < tot_nargs; i++) {
  ------------------
  |  Branch (188:39): [True: 0, False: 0]
  ------------------
  189|      0|            if (i < npargs) {
  ------------------
  |  Branch (189:17): [True: 0, False: 0]
  ------------------
  190|      0|                item = PyTuple_GET_ITEM(pto_args, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (190:24): [True: 0, False: 0]
  ------------------
  191|      0|                if (j < new_nargs && item == phold) {
  ------------------
  |  Branch (191:21): [True: 0, False: 0]
  |  Branch (191:38): [True: 0, False: 0]
  ------------------
  192|      0|                    item = PyTuple_GET_ITEM(new_args, j);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (192:28): [True: 0, False: 0]
  ------------------
  193|      0|                    j++;
  194|      0|                    pto_phcount--;
  195|      0|                }
  196|      0|            }
  197|      0|            else {
  198|      0|                item = PyTuple_GET_ITEM(new_args, j);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (198:24): [True: 0, False: 0]
  ------------------
  199|      0|                j++;
  200|      0|            }
  201|      0|            Py_INCREF(item);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  202|      0|            PyTuple_SET_ITEM(tot_args, i, item);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  203|      0|        }
  204|      0|        pto->args = tot_args;
  205|      0|        pto->phcount = pto_phcount + phcount;
  206|      0|        Py_DECREF(new_args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  207|      0|    }
  208|      1|    else if (pto_args == NULL) {
  ------------------
  |  Branch (208:14): [True: 1, False: 0]
  ------------------
  209|      1|        pto->args = new_args;
  210|      1|        pto->phcount = phcount;
  211|      1|    }
  212|      0|    else {
  213|      0|        pto->args = PySequence_Concat(pto_args, new_args);
  214|      0|        pto->phcount = pto_phcount + phcount;
  215|      0|        Py_DECREF(new_args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  216|      0|        if (pto->args == NULL) {
  ------------------
  |  Branch (216:13): [True: 0, False: 0]
  ------------------
  217|      0|            Py_DECREF(pto);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  218|      0|            return NULL;
  219|      0|        }
  220|      0|        assert(PyTuple_Check(pto->args));
  ------------------
  |  Branch (220:9): [True: 0, False: 0]
  ------------------
  221|      0|    }
  222|       |
  223|      1|    if (pto_kw == NULL || PyDict_GET_SIZE(pto_kw) == 0) {
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (223:9): [True: 1, False: 0]
  |  Branch (223:27): [True: 0, False: 0]
  ------------------
  224|      1|        if (kw == NULL) {
  ------------------
  |  Branch (224:13): [True: 0, False: 1]
  ------------------
  225|      0|            pto->kw = PyDict_New();
  226|      0|        }
  227|      1|        else if (_PyObject_IsUniquelyReferenced(kw)) {
  ------------------
  |  Branch (227:18): [True: 1, False: 0]
  ------------------
  228|      1|            pto->kw = Py_NewRef(kw);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  229|      1|        }
  230|      0|        else {
  231|      0|            pto->kw = PyDict_Copy(kw);
  232|      0|        }
  233|      1|    }
  234|      0|    else {
  235|      0|        pto->kw = PyDict_Copy(pto_kw);
  236|      0|        if (kw != NULL && pto->kw != NULL) {
  ------------------
  |  Branch (236:13): [True: 0, False: 0]
  |  Branch (236:27): [True: 0, False: 0]
  ------------------
  237|      0|            if (PyDict_Merge(pto->kw, kw, 1) != 0) {
  ------------------
  |  Branch (237:17): [True: 0, False: 0]
  ------------------
  238|      0|                Py_DECREF(pto);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  239|      0|                return NULL;
  240|      0|            }
  241|      0|        }
  242|      0|    }
  243|      1|    if (pto->kw == NULL) {
  ------------------
  |  Branch (243:9): [True: 0, False: 1]
  ------------------
  244|      0|        Py_DECREF(pto);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|      0|        return NULL;
  246|      0|    }
  247|       |
  248|      1|    partial_setvectorcall(pto);
  249|      1|    return (PyObject *)pto;
  250|      1|}
_functoolsmodule.c:get_functools_state_by_type:
   79|      3|{
   80|      3|    PyObject *module = PyType_GetModuleByDef(type, &_functools_module);
   81|      3|    if (module == NULL) {
  ------------------
  |  Branch (81:9): [True: 0, False: 3]
  ------------------
   82|      0|        return NULL;
   83|      0|    }
   84|      3|    return get_functools_state(module);
   85|      3|}
_functoolsmodule.c:lru_cache_tp_traverse:
 1779|     40|{
 1780|     40|    lru_cache_object *self = lru_cache_object_CAST(op);
  ------------------
  |  | 1162|     40|#define lru_cache_object_CAST(op)   ((lru_cache_object *)(op))
  ------------------
 1781|     40|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|     40|    do {                                                                \
  |  |  195|     40|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 40, False: 0]
  |  |  ------------------
  |  |  196|     40|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     40|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 40]
  |  |  ------------------
  |  |  198|     40|                return vret;                                            \
  |  |  199|     40|        }                                                               \
  |  |  200|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
 1782|     40|    lru_list_elem *link = self->root.next;
 1783|     40|    while (link != &self->root) {
  ------------------
  |  Branch (1783:12): [True: 0, False: 40]
  ------------------
 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|     40|    Py_VISIT(self->cache);
  ------------------
  |  |  194|     40|    do {                                                                \
  |  |  195|     40|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 40, False: 0]
  |  |  ------------------
  |  |  196|     40|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     40|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 40]
  |  |  ------------------
  |  |  198|     40|                return vret;                                            \
  |  |  199|     40|        }                                                               \
  |  |  200|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
 1791|     40|    Py_VISIT(self->func);
  ------------------
  |  |  194|     40|    do {                                                                \
  |  |  195|     40|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 40, False: 0]
  |  |  ------------------
  |  |  196|     40|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     40|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 40]
  |  |  ------------------
  |  |  198|     40|                return vret;                                            \
  |  |  199|     40|        }                                                               \
  |  |  200|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
 1792|     40|    Py_VISIT(self->kwd_mark);
  ------------------
  |  |  194|     40|    do {                                                                \
  |  |  195|     40|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 40, False: 0]
  |  |  ------------------
  |  |  196|     40|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     40|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 40]
  |  |  ------------------
  |  |  198|     40|                return vret;                                            \
  |  |  199|     40|        }                                                               \
  |  |  200|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
 1793|     40|    Py_VISIT(self->lru_list_elem_type);
  ------------------
  |  |  194|     40|    do {                                                                \
  |  |  195|     40|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 40, False: 0]
  |  |  ------------------
  |  |  196|     40|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     40|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 40]
  |  |  ------------------
  |  |  198|     40|                return vret;                                            \
  |  |  199|     40|        }                                                               \
  |  |  200|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
 1794|     40|    Py_VISIT(self->cache_info_type);
  ------------------
  |  |  194|     40|    do {                                                                \
  |  |  195|     40|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 40, False: 0]
  |  |  ------------------
  |  |  196|     40|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     40|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 40]
  |  |  ------------------
  |  |  198|     40|                return vret;                                            \
  |  |  199|     40|        }                                                               \
  |  |  200|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
 1795|     40|    Py_VISIT(self->dict);
  ------------------
  |  |  194|     40|    do {                                                                \
  |  |  195|     40|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 40, False: 0]
  |  |  ------------------
  |  |  196|     40|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     40|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 40]
  |  |  ------------------
  |  |  198|     40|                return vret;                                            \
  |  |  199|     40|        }                                                               \
  |  |  200|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
 1796|     40|    return 0;
 1797|     40|}
_functoolsmodule.c:lru_cache_new:
 1549|      2|{
 1550|      2|    PyObject *func, *maxsize_O, *cache_info_type, *cachedict;
 1551|      2|    int typed;
 1552|      2|    lru_cache_object *obj;
 1553|      2|    Py_ssize_t maxsize;
 1554|      2|    PyObject *(*wrapper)(lru_cache_object *, PyObject *, PyObject *);
 1555|      2|    _functools_state *state;
 1556|      2|    static char *keywords[] = {"user_function", "maxsize", "typed",
 1557|      2|                               "cache_info_type", NULL};
 1558|       |
 1559|      2|    if (!PyArg_ParseTupleAndKeywords(args, kw, "OOpO:lru_cache", keywords,
  ------------------
  |  Branch (1559:9): [True: 0, False: 2]
  ------------------
 1560|      2|                                     &func, &maxsize_O, &typed,
 1561|      2|                                     &cache_info_type)) {
 1562|      0|        return NULL;
 1563|      0|    }
 1564|       |
 1565|      2|    if (!PyCallable_Check(func)) {
  ------------------
  |  Branch (1565:9): [True: 0, False: 2]
  ------------------
 1566|      0|        PyErr_SetString(PyExc_TypeError,
 1567|      0|                        "the first argument must be callable");
 1568|      0|        return NULL;
 1569|      0|    }
 1570|       |
 1571|      2|    state = get_functools_state_by_type(type);
 1572|      2|    if (state == NULL) {
  ------------------
  |  Branch (1572:9): [True: 0, False: 2]
  ------------------
 1573|      0|        return NULL;
 1574|      0|    }
 1575|       |
 1576|       |    /* select the caching function, and make/inc maxsize_O */
 1577|      2|    if (maxsize_O == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1577:9): [True: 0, False: 2]
  ------------------
 1578|      0|        wrapper = infinite_lru_cache_wrapper;
 1579|       |        /* use this only to initialize lru_cache_object attribute maxsize */
 1580|      0|        maxsize = -1;
 1581|      2|    } else if (PyIndex_Check(maxsize_O)) {
  ------------------
  |  Branch (1581:16): [True: 2, False: 0]
  ------------------
 1582|      2|        maxsize = PyNumber_AsSsize_t(maxsize_O, PyExc_OverflowError);
 1583|      2|        if (maxsize == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1583:13): [True: 0, False: 2]
  |  Branch (1583:30): [True: 0, False: 0]
  ------------------
 1584|      0|            return NULL;
 1585|      2|        if (maxsize < 0) {
  ------------------
  |  Branch (1585:13): [True: 0, False: 2]
  ------------------
 1586|      0|            maxsize = 0;
 1587|      0|        }
 1588|      2|        if (maxsize == 0)
  ------------------
  |  Branch (1588:13): [True: 0, False: 2]
  ------------------
 1589|      0|            wrapper = uncached_lru_cache_wrapper;
 1590|      2|        else
 1591|      2|            wrapper = bounded_lru_cache_wrapper;
 1592|      2|    } else {
 1593|      0|        PyErr_SetString(PyExc_TypeError, "maxsize should be integer or None");
 1594|      0|        return NULL;
 1595|      0|    }
 1596|       |
 1597|      2|    if (!(cachedict = PyDict_New()))
  ------------------
  |  Branch (1597:9): [True: 0, False: 2]
  ------------------
 1598|      0|        return NULL;
 1599|       |
 1600|      2|    obj = (lru_cache_object *)type->tp_alloc(type, 0);
 1601|      2|    if (obj == NULL) {
  ------------------
  |  Branch (1601:9): [True: 0, False: 2]
  ------------------
 1602|      0|        Py_DECREF(cachedict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1603|      0|        return NULL;
 1604|      0|    }
 1605|       |
 1606|      2|    obj->root.prev = &obj->root;
 1607|      2|    obj->root.next = &obj->root;
 1608|      2|    obj->wrapper = wrapper;
 1609|      2|    obj->typed = typed;
 1610|      2|    obj->cache = cachedict;
 1611|      2|    obj->func = Py_NewRef(func);
  ------------------
  |  |  647|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1612|      2|    obj->misses = obj->hits = 0;
 1613|      2|    obj->maxsize = maxsize;
 1614|      2|    obj->kwd_mark = Py_NewRef(state->kwd_mark);
  ------------------
  |  |  647|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1615|      2|    obj->lru_list_elem_type = (PyTypeObject*)Py_NewRef(state->lru_list_elem_type);
  ------------------
  |  |  647|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1616|      2|    obj->cache_info_type = Py_NewRef(cache_info_type);
  ------------------
  |  |  647|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1617|      2|    obj->dict = NULL;
 1618|       |    obj->weakreflist = NULL;
 1619|      2|    return (PyObject *)obj;
 1620|      2|}
_functoolsmodule.c:_functools_traverse:
 1932|     20|{
 1933|     20|    _functools_state *state = get_functools_state(module);
 1934|     20|    Py_VISIT(state->kwd_mark);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 1935|     20|    Py_VISIT(state->placeholder);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 1936|     20|    Py_VISIT(state->partial_type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 1937|     20|    Py_VISIT(state->keyobject_type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 1938|     20|    Py_VISIT(state->lru_list_elem_type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 1939|     20|    return 0;
 1940|     20|}

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

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

_iomodule.c:_io_open:
  142|    107|{
  143|    107|    PyObject *return_value = NULL;
  144|    107|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  145|       |
  146|    107|    #define NUM_KEYWORDS 8
  147|    107|    static struct {
  148|    107|        PyGC_Head _this_is_not_used;
  149|    107|        PyObject_VAR_HEAD
  150|    107|        Py_hash_t ob_hash;
  151|    107|        PyObject *ob_item[NUM_KEYWORDS];
  152|    107|    } _kwtuple = {
  153|    107|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    107|    {                                     \
  |  |   98|    107|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    107|    {                               \
  |  |  |  |   91|    107|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    107|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    107|#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|    107|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    107|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    107|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    107|        (type)                      \
  |  |  |  |   93|    107|    },
  |  |  ------------------
  |  |   99|    107|        (size)                            \
  |  |  100|    107|    },
  ------------------
  154|    107|        .ob_hash = -1,
  155|    107|        .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|    107|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    107|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    107|    _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|    107|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    107|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    107|    _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|    107|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    107|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    107|    _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|    107|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    107|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    107|    _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|    107|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    107|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    107|    _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|    107|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    107|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    107|    _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|    107|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    107|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    107|    _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|    107|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    107|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    107|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  156|    107|    };
  157|    107|    #undef NUM_KEYWORDS
  158|    107|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  159|       |
  160|       |    #else  // !Py_BUILD_CORE
  161|       |    #  define KWTUPLE NULL
  162|       |    #endif  // !Py_BUILD_CORE
  163|       |
  164|    107|    static const char * const _keywords[] = {"file", "mode", "buffering", "encoding", "errors", "newline", "closefd", "opener", NULL};
  165|    107|    static _PyArg_Parser _parser = {
  166|    107|        .keywords = _keywords,
  167|    107|        .fname = "open",
  168|    107|        .kwtuple = KWTUPLE,
  ------------------
  |  |  158|    107|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  169|    107|    };
  170|    107|    #undef KWTUPLE
  171|    107|    PyObject *argsbuf[8];
  172|    107|    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: 107]
  ------------------
  173|    107|    PyObject *file;
  174|    107|    const char *mode = "r";
  175|    107|    int buffering = -1;
  176|    107|    const char *encoding = NULL;
  177|    107|    const char *errors = NULL;
  178|    107|    const char *newline = NULL;
  179|    107|    int closefd = 1;
  180|    107|    PyObject *opener = Py_None;
  ------------------
  |  |  616|    107|#  define Py_None (&_Py_NoneStruct)
  ------------------
  181|       |
  182|    107|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|    107|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 107, False: 0]
  |  |  ------------------
  |  |   91|    107|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 107, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 107]
  |  |  |  Branch (91:43): [True: 107, False: 0]
  |  |  |  Branch (91:67): [True: 107, False: 0]
  |  |  ------------------
  |  |   92|    107|      (args) : \
  |  |   93|    107|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  183|    107|            /*minpos*/ 1, /*maxpos*/ 8, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  184|    107|    if (!args) {
  ------------------
  |  Branch (184:9): [True: 0, False: 107]
  ------------------
  185|      0|        goto exit;
  186|      0|    }
  187|    107|    file = args[0];
  188|    107|    if (!noptargs) {
  ------------------
  |  Branch (188:9): [True: 0, False: 107]
  ------------------
  189|      0|        goto skip_optional_pos;
  190|      0|    }
  191|    107|    if (args[1]) {
  ------------------
  |  Branch (191:9): [True: 107, False: 0]
  ------------------
  192|    107|        if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|    107|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    107|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (192:13): [True: 0, False: 107]
  ------------------
  193|      0|            _PyArg_BadArgument("open", "argument 'mode'", "str", args[1]);
  194|      0|            goto exit;
  195|      0|        }
  196|    107|        mode = _PyUnicode_AsUTF8NoNUL(args[1]);
  197|    107|        if (mode == NULL) {
  ------------------
  |  Branch (197:13): [True: 0, False: 107]
  ------------------
  198|      0|            goto exit;
  199|      0|        }
  200|    107|        if (!--noptargs) {
  ------------------
  |  Branch (200:13): [True: 101, False: 6]
  ------------------
  201|    101|            goto skip_optional_pos;
  202|    101|        }
  203|    107|    }
  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|    107|skip_optional_pos:
  278|    107|    return_value = _io_open_impl(module, file, mode, buffering, encoding, errors, newline, closefd, opener);
  279|       |
  280|    107|exit:
  281|    107|    return return_value;
  282|    107|}
_iomodule.c:_io_open_code:
  348|    101|{
  349|    101|    PyObject *return_value = NULL;
  350|    101|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  351|       |
  352|    101|    #define NUM_KEYWORDS 1
  353|    101|    static struct {
  354|    101|        PyGC_Head _this_is_not_used;
  355|    101|        PyObject_VAR_HEAD
  356|    101|        Py_hash_t ob_hash;
  357|    101|        PyObject *ob_item[NUM_KEYWORDS];
  358|    101|    } _kwtuple = {
  359|    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|    },
  ------------------
  360|    101|        .ob_hash = -1,
  361|    101|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  951|    101|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    101|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    101|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  362|    101|    };
  363|    101|    #undef NUM_KEYWORDS
  364|    101|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  365|       |
  366|       |    #else  // !Py_BUILD_CORE
  367|       |    #  define KWTUPLE NULL
  368|       |    #endif  // !Py_BUILD_CORE
  369|       |
  370|    101|    static const char * const _keywords[] = {"path", NULL};
  371|    101|    static _PyArg_Parser _parser = {
  372|    101|        .keywords = _keywords,
  373|    101|        .fname = "open_code",
  374|    101|        .kwtuple = KWTUPLE,
  ------------------
  |  |  364|    101|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  375|    101|    };
  376|    101|    #undef KWTUPLE
  377|    101|    PyObject *argsbuf[1];
  378|    101|    PyObject *path;
  379|       |
  380|    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)))
  ------------------
  381|    101|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  382|    101|    if (!args) {
  ------------------
  |  Branch (382:9): [True: 0, False: 101]
  ------------------
  383|      0|        goto exit;
  384|      0|    }
  385|    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 (385:9): [True: 0, False: 101]
  ------------------
  386|      0|        _PyArg_BadArgument("open_code", "argument 'path'", "str", args[0]);
  387|      0|        goto exit;
  388|      0|    }
  389|    101|    path = args[0];
  390|    101|    return_value = _io_open_code_impl(module, path);
  391|       |
  392|    101|exit:
  393|    101|    return return_value;
  394|    101|}

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

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

iobase.c:_io__IOBase_flush:
  141|    202|{
  142|    202|    return _io__IOBase_flush_impl(self);
  143|    202|}
iobase.c:_io__IOBase_close:
  251|    101|{
  252|    101|    return _io__IOBase_close_impl(self);
  253|    101|}
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|    101|{
  331|    101|    return _io__IOBase___enter___impl(self);
  332|    101|}
iobase.c:_io__IOBase___exit__:
  348|    101|{
  349|    101|    PyObject *return_value = NULL;
  350|    101|    PyObject *__clinic_args = NULL;
  351|       |
  352|    101|    __clinic_args = PyTuple_FromArray(args, nargs);
  353|    101|    if (__clinic_args == NULL) {
  ------------------
  |  Branch (353:9): [True: 0, False: 101]
  ------------------
  354|      0|        goto exit;
  355|      0|    }
  356|    101|    return_value = _io__IOBase___exit___impl(self, __clinic_args);
  357|       |
  358|    101|exit:
  359|       |    /* Cleanup for args */
  360|    101|    Py_XDECREF(__clinic_args);
  ------------------
  |  |  621|    101|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  361|       |
  362|    101|    return return_value;
  363|    101|}

textio.c:_io_TextIOWrapper_write:
  726|  41.4k|{
  727|  41.4k|    PyObject *return_value = NULL;
  728|  41.4k|    PyObject *text;
  729|       |
  730|  41.4k|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|  41.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  41.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (730:9): [True: 0, False: 41.4k]
  ------------------
  731|      0|        _PyArg_BadArgument("write", "argument", "str", arg);
  732|      0|        goto exit;
  733|      0|    }
  734|  41.4k|    text = arg;
  735|  41.4k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  41.4k|    {
  ------------------
  736|  41.4k|    return_value = _io_TextIOWrapper_write_impl((textio *)self, text);
  737|  41.4k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  41.4k|    }
  ------------------
  738|       |
  739|  41.4k|exit:
  740|  41.4k|    return return_value;
  741|  41.4k|}
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|   124k|{
   97|   124k|    return (PyFileIO_CAST(self)->fd < 0);
  ------------------
  |  |   89|   124k|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
   98|   124k|}
fileio.c:fileio_dealloc:
  579|    101|{
  580|    101|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   89|    101|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
  581|    101|    self->finalizing = 1;
  582|    101|    if (_PyIOBase_finalize(op) < 0) {
  ------------------
  |  Branch (582:9): [True: 0, False: 101]
  ------------------
  583|      0|        return;
  584|      0|    }
  585|       |
  586|    101|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|    101|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  587|    101|    if (self->stat_atopen != NULL) {
  ------------------
  |  Branch (587:9): [True: 0, False: 101]
  ------------------
  588|      0|        PyMem_Free(self->stat_atopen);
  589|      0|        self->stat_atopen = NULL;
  590|      0|    }
  591|    101|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|    101|    do {                                            \
  |  |   48|    101|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|    101|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 101]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|    101|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 101]
  |  |  ------------------
  ------------------
  |  Branch (591:5): [True: 101, False: 0]
  ------------------
  592|    101|    (void)fileio_clear(op);
  593|       |
  594|    101|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  595|    101|    tp->tp_free(op);
  596|    101|    Py_DECREF(tp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|    101|}
fileio.c:fileio_traverse:
  562|     66|{
  563|     66|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   89|     66|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
  564|     66|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|     66|    do {                                                                \
  |  |  195|     66|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 66, False: 0]
  |  |  ------------------
  |  |  196|     66|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     66|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 66]
  |  |  ------------------
  |  |  198|     66|                return vret;                                            \
  |  |  199|     66|        }                                                               \
  |  |  200|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
  565|     66|    Py_VISIT(self->dict);
  ------------------
  |  |  194|     66|    do {                                                                \
  |  |  195|     66|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 66, False: 0]
  |  |  ------------------
  |  |  196|     66|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     66|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 66]
  |  |  ------------------
  |  |  198|     66|                return vret;                                            \
  |  |  199|     66|        }                                                               \
  |  |  200|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
  566|     66|    return 0;
  567|     66|}
fileio.c:fileio_clear:
  571|    101|{
  572|    101|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   89|    101|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
  573|       |    Py_CLEAR(self->dict);
  ------------------
  |  |  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: 101, False: 0]
  |  |  ------------------
  |  |  491|    101|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    101|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    101|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    101|        } \
  |  |  494|    101|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 101]
  |  |  ------------------
  ------------------
  574|    101|    return 0;
  575|    101|}
fileio.c:_io_FileIO_readall_impl:
  761|    101|{
  762|    101|    Py_off_t pos, end;
  763|    101|    PyBytesWriter *writer;
  764|    101|    Py_ssize_t bytes_read = 0;
  765|    101|    Py_ssize_t n;
  766|    101|    size_t bufsize;
  767|       |
  768|    101|    if (self->fd < 0) {
  ------------------
  |  Branch (768:9): [True: 0, False: 101]
  ------------------
  769|      0|        return err_closed();
  770|      0|    }
  771|    101|    if (!self->readable) {
  ------------------
  |  Branch (771:9): [True: 0, False: 101]
  ------------------
  772|      0|        _PyIO_State *state = get_io_state_by_cls(cls);
  773|      0|        return err_mode(state, "reading");
  774|      0|    }
  775|       |
  776|    101|    if (self->stat_atopen != NULL && self->stat_atopen->st_size < _PY_READ_MAX) {
  ------------------
  |  |   54|    101|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|    101|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (776:9): [True: 101, False: 0]
  |  Branch (776:38): [True: 101, False: 0]
  ------------------
  777|    101|        end = (Py_off_t)self->stat_atopen->st_size;
  778|    101|    }
  779|      0|    else {
  780|      0|        end = -1;
  781|      0|    }
  782|    101|    if (end <= 0) {
  ------------------
  |  Branch (782:9): [True: 0, False: 101]
  ------------------
  783|       |        /* Use a default size and resize as needed. */
  784|      0|        bufsize = SMALLCHUNK;
  ------------------
  |  |   53|      0|#  define SMALLCHUNK BUFSIZ
  ------------------
  785|      0|    }
  786|    101|    else {
  787|       |        /* This is probably a real file. */
  788|    101|        if (end > _PY_READ_MAX - 1) {
  ------------------
  |  |   54|    101|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|    101|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (788:13): [True: 0, False: 101]
  ------------------
  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|    101|        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|    101|            bufsize = (size_t)end + 1;
  798|    101|        }
  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|    101|        if (bufsize > LARGE_BUFFER_CUTOFF_SIZE) {
  ------------------
  |  |   58|    101|#define LARGE_BUFFER_CUTOFF_SIZE 65536
  ------------------
  |  Branch (805:13): [True: 4, False: 97]
  ------------------
  806|      4|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|      4|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|      4|                        PyThreadState *_save; \
  |  |  119|      4|                        _save = PyEval_SaveThread();
  ------------------
  807|      4|            _Py_BEGIN_SUPPRESS_IPH
  808|       |#ifdef MS_WINDOWS
  809|       |            pos = _lseeki64(self->fd, 0L, SEEK_CUR);
  810|       |#else
  811|      4|            pos = lseek(self->fd, 0L, SEEK_CUR);
  812|      4|#endif
  813|      4|            _Py_END_SUPPRESS_IPH
  814|      4|            Py_END_ALLOW_THREADS
  ------------------
  |  |  122|      4|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|      4|                 }
  ------------------
  815|       |
  816|      4|            if (end >= pos && pos >= 0 && (end - pos) < (_PY_READ_MAX - 1)) {
  ------------------
  |  |   54|      4|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (816:17): [True: 4, False: 0]
  |  Branch (816:31): [True: 4, False: 0]
  |  Branch (816:43): [True: 4, False: 0]
  ------------------
  817|      4|                bufsize = (size_t)(end - pos) + 1;
  818|      4|            }
  819|      4|        }
  820|    101|    }
  821|       |
  822|    101|    writer = PyBytesWriter_Create(bufsize);
  823|    101|    if (writer == NULL) {
  ------------------
  |  Branch (823:9): [True: 0, False: 101]
  ------------------
  824|      0|        return NULL;
  825|      0|    }
  826|       |
  827|    202|    while (1) {
  ------------------
  |  Branch (827:12): [True: 202, Folded]
  ------------------
  828|    202|        if (bytes_read >= (Py_ssize_t)bufsize) {
  ------------------
  |  Branch (828:13): [True: 0, False: 202]
  ------------------
  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|    202|        n = _Py_read(self->fd,
  845|    202|                     (char*)PyBytesWriter_GetData(writer) + bytes_read,
  846|    202|                     bufsize - bytes_read);
  847|       |
  848|    202|        if (n == 0)
  ------------------
  |  Branch (848:13): [True: 101, False: 101]
  ------------------
  849|    101|            break;
  850|    101|        if (n == -1) {
  ------------------
  |  Branch (850:13): [True: 0, False: 101]
  ------------------
  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|    101|        bytes_read += n;
  862|    101|    }
  863|       |
  864|    101|    return PyBytesWriter_FinishWithSize(writer, bytes_read);
  865|    101|}
fileio.c:_io_FileIO_write_impl:
  940|  41.4k|{
  941|  41.4k|    Py_ssize_t n;
  942|  41.4k|    int err;
  943|       |
  944|  41.4k|    if (self->fd < 0)
  ------------------
  |  Branch (944:9): [True: 0, False: 41.4k]
  ------------------
  945|      0|        return err_closed();
  946|  41.4k|    if (!self->writable) {
  ------------------
  |  Branch (946:9): [True: 0, False: 41.4k]
  ------------------
  947|      0|        _PyIO_State *state = get_io_state_by_cls(cls);
  948|      0|        return err_mode(state, "writing");
  949|      0|    }
  950|       |
  951|  41.4k|    n = _Py_write(self->fd, b->buf, b->len);
  952|       |    /* copy errno because PyBuffer_Release() can indirectly modify it */
  953|  41.4k|    err = errno;
  954|       |
  955|  41.4k|    if (n < 0) {
  ------------------
  |  Branch (955:9): [True: 0, False: 41.4k]
  ------------------
  956|      0|        if (err == EAGAIN) {
  ------------------
  |  Branch (956:13): [True: 0, False: 0]
  ------------------
  957|      0|            PyErr_Clear();
  958|      0|            Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  959|      0|        }
  960|      0|        return NULL;
  961|      0|    }
  962|       |
  963|  41.4k|    return PyLong_FromSsize_t(n);
  964|  41.4k|}
fileio.c:portable_lseek:
  971|    111|{
  972|    111|    Py_off_t pos, res;
  973|    111|    int fd = self->fd;
  974|       |
  975|    111|#ifdef SEEK_SET
  976|       |    /* Turn 0, 1, 2 into SEEK_{SET,CUR,END} */
  977|    111|    switch (whence) {
  ------------------
  |  Branch (977:13): [Folded, False: 111]
  ------------------
  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|    111|    }
  988|    111|#endif /* SEEK_SET */
  989|       |
  990|    111|    if (posobj == NULL) {
  ------------------
  |  Branch (990:9): [True: 111, False: 0]
  ------------------
  991|    111|        pos = 0;
  992|    111|    }
  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|    111|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|    111|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|    111|                        PyThreadState *_save; \
  |  |  119|    111|                        _save = PyEval_SaveThread();
  ------------------
 1004|    111|    _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|    111|    res = lseek(fd, pos, whence);
 1016|    111|#endif
 1017|    111|    _Py_END_SUPPRESS_IPH
 1018|    111|    Py_END_ALLOW_THREADS
  ------------------
  |  |  122|    111|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|    111|                 }
  ------------------
 1019|       |
 1020|    111|    if (self->seekable < 0) {
  ------------------
  |  Branch (1020:9): [True: 107, False: 4]
  ------------------
 1021|    107|        self->seekable = (res >= 0);
 1022|    107|    }
 1023|       |
 1024|    111|    if (res < 0) {
  ------------------
  |  Branch (1024:9): [True: 0, False: 111]
  ------------------
 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|    111|    return PyLong_FromLong(res);
 1036|    111|#endif
 1037|    111|}
fileio.c:_io_FileIO_tell_impl:
 1078|    111|{
 1079|    111|    if (self->fd < 0)
  ------------------
  |  Branch (1079:9): [True: 0, False: 111]
  ------------------
 1080|      0|        return err_closed();
 1081|       |
 1082|    111|    return portable_lseek(self, NULL, 1, false);
 1083|    111|}
fileio.c:_io_FileIO_close_impl:
  171|    101|{
  172|    101|    PyObject *res;
  173|    101|    int rc;
  174|    101|    _PyIO_State *state = get_io_state_by_cls(cls);
  175|    101|    res = PyObject_CallMethodOneArg((PyObject*)state->PyRawIOBase_Type,
  176|    101|                                     &_Py_ID(close), (PyObject *)self);
  ------------------
  |  |  951|    101|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    101|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    101|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  177|    101|    if (!self->closefd) {
  ------------------
  |  Branch (177:9): [True: 0, False: 101]
  ------------------
  178|      0|        self->fd = -1;
  179|      0|        return res;
  180|      0|    }
  181|       |
  182|    101|    PyObject *exc = NULL;
  183|    101|    if (res == NULL) {
  ------------------
  |  Branch (183:9): [True: 0, False: 101]
  ------------------
  184|      0|        exc = PyErr_GetRaisedException();
  185|      0|    }
  186|    101|    if (self->finalizing) {
  ------------------
  |  Branch (186:9): [True: 0, False: 101]
  ------------------
  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|    101|    rc = internal_close(self);
  196|    101|    if (res == NULL) {
  ------------------
  |  Branch (196:9): [True: 0, False: 101]
  ------------------
  197|      0|        _PyErr_ChainExceptions1(exc);
  198|      0|    }
  199|    101|    if (rc < 0) {
  ------------------
  |  Branch (199:9): [True: 0, False: 101]
  ------------------
  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|    101|    return res;
  203|    101|}
fileio.c:internal_close:
  131|    101|{
  132|    101|    int err = 0;
  133|    101|    int save_errno = 0;
  134|    101|    if (self->fd >= 0) {
  ------------------
  |  Branch (134:9): [True: 101, False: 0]
  ------------------
  135|    101|        int fd = self->fd;
  136|    101|        self->fd = -1;
  137|       |        /* fd is accessible and someone else may have closed it */
  138|    101|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|    101|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|    101|                        PyThreadState *_save; \
  |  |  119|    101|                        _save = PyEval_SaveThread();
  ------------------
  139|    101|        _Py_BEGIN_SUPPRESS_IPH
  140|    101|        err = close(fd);
  141|    101|        if (err < 0)
  ------------------
  |  Branch (141:13): [True: 0, False: 101]
  ------------------
  142|      0|            save_errno = errno;
  143|    101|        _Py_END_SUPPRESS_IPH
  144|    101|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|    101|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|    101|                 }
  ------------------
  145|    101|    }
  146|    101|    PyMem_Free(self->stat_atopen);
  147|    101|    self->stat_atopen = NULL;
  148|    101|    if (err < 0) {
  ------------------
  |  Branch (148:9): [True: 0, False: 101]
  ------------------
  149|      0|        errno = save_errno;
  150|      0|        PyErr_SetFromErrno(PyExc_OSError);
  151|      0|        return -1;
  152|      0|    }
  153|    101|    return 0;
  154|    101|}
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|    105|{
  638|    105|    if (self->fd < 0)
  ------------------
  |  Branch (638:9): [True: 0, False: 105]
  ------------------
  639|      0|        return err_closed();
  640|    105|    return PyBool_FromLong((long) self->readable);
  641|    105|}
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|    107|{
 1272|    107|    if (self->stat_atopen != NULL && !S_ISCHR(self->stat_atopen->st_mode)) {
  ------------------
  |  Branch (1272:9): [True: 107, False: 0]
  |  Branch (1272:38): [True: 105, False: 2]
  ------------------
 1273|    105|        Py_RETURN_FALSE;
  ------------------
  |  |   45|    105|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|    105|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1274|    105|    }
 1275|      2|    return _io_FileIO_isatty_impl(self);
 1276|    107|}
fileio.c:_io_FileIO_closed_get_impl:
 1312|    303|{
 1313|    303|    return self->fd < 0;
 1314|    303|}
fileio.c:_io_FileIO__blksize_get_impl:
 1354|    107|{
 1355|    107|#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
 1356|    107|    if (self->stat_atopen != NULL && self->stat_atopen->st_blksize > 1) {
  ------------------
  |  Branch (1356:9): [True: 107, False: 0]
  |  Branch (1356:38): [True: 107, False: 0]
  ------------------
 1357|    107|        return self->stat_atopen->st_blksize;
 1358|    107|    }
 1359|      0|#endif /* HAVE_STRUCT_STAT_ST_BLKSIZE */
 1360|      0|    return DEFAULT_BUFFER_SIZE;
  ------------------
  |  |   82|      0|#define DEFAULT_BUFFER_SIZE (128 * 1024)  /* bytes */
  ------------------
 1361|    107|}
fileio.c:_io_FileIO___init___impl:
  261|    107|{
  262|       |#ifdef MS_WINDOWS
  263|       |    wchar_t *widename = NULL;
  264|       |#else
  265|    107|    const char *name = NULL;
  266|    107|#endif
  267|    107|    PyObject *stringobj = NULL;
  268|    107|    const char *s;
  269|    107|    int ret = 0;
  270|    107|    int rwa = 0, plus = 0;
  271|    107|    int flags = 0;
  272|    107|    int fd = -1;
  273|    107|    int fd_is_own = 0;
  274|    107|#ifdef O_CLOEXEC
  275|    107|    int *atomic_flag_works = &_Py_open_cloexec_works;
  276|       |#elif !defined(MS_WINDOWS)
  277|       |    int *atomic_flag_works = NULL;
  278|       |#endif
  279|    107|    int fstat_result;
  280|    107|    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|    107|    if (self->fd >= 0) {
  ------------------
  |  Branch (286:9): [True: 0, False: 107]
  ------------------
  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|    107|    if (PyBool_Check(nameobj)) {
  ------------------
  |  |   12|    107|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_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: 0, False: 107]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|    107|    if (_PyIndex_Check(nameobj)) {
  ------------------
  |  Branch (304:9): [True: 6, False: 101]
  ------------------
  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|    107|    if (fd < 0) {
  ------------------
  |  Branch (317:9): [True: 101, 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|    101|        if (!PyUnicode_FSConverter(nameobj, &stringobj)) {
  ------------------
  |  Branch (326:13): [True: 0, False: 101]
  ------------------
  327|      0|            return -1;
  328|      0|        }
  329|    101|        name = PyBytes_AS_STRING(stringobj);
  ------------------
  |  |   27|    101|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  330|    101|#endif
  331|    101|    }
  332|       |
  333|    107|    s = mode;
  334|    214|    while (*s) {
  ------------------
  |  Branch (334:12): [True: 107, False: 107]
  ------------------
  335|    107|        switch (*s++) {
  336|      0|        case 'x':
  ------------------
  |  Branch (336:9): [True: 0, False: 107]
  ------------------
  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|    103|        case 'r':
  ------------------
  |  Branch (349:9): [True: 103, False: 4]
  ------------------
  350|    103|            if (rwa)
  ------------------
  |  Branch (350:17): [True: 0, False: 103]
  ------------------
  351|      0|                goto bad_mode;
  352|    103|            rwa = 1;
  353|    103|            self->readable = 1;
  354|    103|            break;
  355|      4|        case 'w':
  ------------------
  |  Branch (355:9): [True: 4, False: 103]
  ------------------
  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: 107]
  ------------------
  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: 107]
  ------------------
  372|      0|            break;
  373|      0|        case '+':
  ------------------
  |  Branch (373:9): [True: 0, False: 107]
  ------------------
  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: 107]
  ------------------
  380|      0|            PyErr_Format(PyExc_ValueError,
  381|      0|                         "invalid mode: %.200s", mode);
  382|      0|            goto error;
  383|    107|        }
  384|    107|    }
  385|       |
  386|    107|    if (!rwa)
  ------------------
  |  Branch (386:9): [True: 0, False: 107]
  ------------------
  387|      0|        goto bad_mode;
  388|       |
  389|    107|    if (self->readable && self->writable)
  ------------------
  |  Branch (389:9): [True: 103, False: 4]
  |  Branch (389:27): [True: 0, False: 103]
  ------------------
  390|      0|        flags |= O_RDWR;
  391|    107|    else if (self->readable)
  ------------------
  |  Branch (391:14): [True: 103, False: 4]
  ------------------
  392|    103|        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|    107|    flags |= O_CLOEXEC;
  404|    107|#endif
  405|       |
  406|    107|    if (PySys_Audit("open", "Osi", nameobj, mode, flags) < 0) {
  ------------------
  |  Branch (406:9): [True: 0, False: 107]
  ------------------
  407|      0|        goto error;
  408|      0|    }
  409|       |
  410|    107|    if (fd >= 0) {
  ------------------
  |  Branch (410:9): [True: 6, False: 101]
  ------------------
  411|      6|        self->fd = fd;
  412|      6|        self->closefd = closefd;
  413|      6|    }
  414|    101|    else {
  415|    101|        self->closefd = 1;
  416|    101|        if (!closefd) {
  ------------------
  |  Branch (416:13): [True: 0, False: 101]
  ------------------
  417|      0|            PyErr_SetString(PyExc_ValueError,
  418|      0|                "Cannot use closefd=False with file name");
  419|      0|            goto error;
  420|      0|        }
  421|       |
  422|    101|        errno = 0;
  423|    101|        if (opener == Py_None) {
  ------------------
  |  |  616|    101|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (423:13): [True: 101, False: 0]
  ------------------
  424|    101|            do {
  425|    101|                Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|    101|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|    101|                        PyThreadState *_save; \
  |  |  119|    101|                        _save = PyEval_SaveThread();
  ------------------
  426|       |#ifdef MS_WINDOWS
  427|       |                self->fd = _wopen(widename, flags, 0666);
  428|       |#else
  429|    101|                self->fd = open(name, flags, 0666);
  430|    101|#endif
  431|    101|                Py_END_ALLOW_THREADS
  ------------------
  |  |  122|    101|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|    101|                 }
  ------------------
  432|    101|            } while (self->fd < 0 && errno == EINTR &&
  ------------------
  |  Branch (432:22): [True: 0, False: 101]
  |  Branch (432:38): [True: 0, False: 0]
  ------------------
  433|      0|                     !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (433:22): [True: 0, False: 0]
  ------------------
  434|       |
  435|    101|            if (async_err)
  ------------------
  |  Branch (435:17): [True: 0, False: 101]
  ------------------
  436|      0|                goto error;
  437|       |
  438|    101|            if (self->fd < 0) {
  ------------------
  |  Branch (438:17): [True: 0, False: 101]
  ------------------
  439|      0|                PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, nameobj);
  440|      0|                goto error;
  441|      0|            }
  442|    101|        }
  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|    101|        fd_is_own = 1;
  474|       |
  475|    101|#ifndef MS_WINDOWS
  476|    101|        if (_Py_set_inheritable(self->fd, 0, atomic_flag_works) < 0)
  ------------------
  |  Branch (476:13): [True: 0, False: 101]
  ------------------
  477|      0|            goto error;
  478|    101|#endif
  479|    101|    }
  480|       |
  481|    107|    PyMem_Free(self->stat_atopen);
  482|    107|    self->stat_atopen = PyMem_New(struct _Py_stat_struct, 1);
  ------------------
  |  |   64|    107|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    107|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [Folded, False: 107]
  |  |  ------------------
  |  |   65|    107|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  483|    107|    if (self->stat_atopen == NULL) {
  ------------------
  |  Branch (483:9): [True: 0, False: 107]
  ------------------
  484|      0|        PyErr_NoMemory();
  485|      0|        goto error;
  486|      0|    }
  487|    107|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|    107|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|    107|                        PyThreadState *_save; \
  |  |  119|    107|                        _save = PyEval_SaveThread();
  ------------------
  488|    107|    fstat_result = _Py_fstat_noraise(self->fd, self->stat_atopen);
  489|    107|    Py_END_ALLOW_THREADS
  ------------------
  |  |  122|    107|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|    107|                 }
  ------------------
  490|    107|    if (fstat_result < 0) {
  ------------------
  |  Branch (490:9): [True: 0, False: 107]
  ------------------
  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|    107|    else {
  508|    107|#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|    107|        if (S_ISDIR(self->stat_atopen->st_mode)) {
  ------------------
  |  Branch (512:13): [True: 0, False: 107]
  ------------------
  513|      0|            errno = EISDIR;
  514|      0|            PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, nameobj);
  515|      0|            goto error;
  516|      0|        }
  517|    107|#endif /* defined(S_ISDIR) */
  518|    107|    }
  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|    107|    if (PyObject_SetAttr((PyObject *)self, &_Py_ID(name), nameobj) < 0)
  ------------------
  |  |  951|    107|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    107|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    107|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (525:9): [True: 0, False: 107]
  ------------------
  526|      0|        goto error;
  527|       |
  528|    107|    if (self->appending) {
  ------------------
  |  Branch (528:9): [True: 0, False: 107]
  ------------------
  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|    107|    goto done;
  539|       |
  540|    107| 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|    107| done:
  553|       |#ifdef MS_WINDOWS
  554|       |    PyMem_Free(widename);
  555|       |#endif
  556|       |    Py_CLEAR(stringobj);
  ------------------
  |  |  487|    107|    do { \
  |  |  488|    107|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    107|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    107|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    107|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    107|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    107|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 101, False: 6]
  |  |  ------------------
  |  |  491|    101|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    101|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    101|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    101|        } \
  |  |  494|    107|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 107]
  |  |  ------------------
  ------------------
  557|    107|    return ret;
  558|      0|}
fileio.c:fileio_new:
  207|    107|{
  208|    107|    assert(type != NULL && type->tp_alloc != NULL);
  ------------------
  |  Branch (208:5): [True: 107, False: 0]
  |  Branch (208:5): [True: 107, False: 0]
  ------------------
  209|       |
  210|    107|    fileio *self = (fileio *) type->tp_alloc(type, 0);
  211|    107|    if (self == NULL) {
  ------------------
  |  Branch (211:9): [True: 0, False: 107]
  ------------------
  212|      0|        return NULL;
  213|      0|    }
  214|       |
  215|    107|    self->fd = -1;
  216|    107|    self->created = 0;
  217|    107|    self->readable = 0;
  218|    107|    self->writable = 0;
  219|    107|    self->appending = 0;
  220|    107|    self->seekable = -1;
  221|    107|    self->truncate = 0;
  222|    107|    self->stat_atopen = NULL;
  223|    107|    self->closefd = 1;
  224|       |    self->weakreflist = NULL;
  225|    107|    return (PyObject *) self;
  226|    107|}

_PyIOBase_finalize:
  367|    202|{
  368|    202|    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|    202|    is_zombie = (Py_REFCNT(self) == 0);
  ------------------
  |  |  119|    202|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    202|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    202|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  373|    202|    if (is_zombie)
  ------------------
  |  Branch (373:9): [True: 202, False: 0]
  ------------------
  374|    202|        return PyObject_CallFinalizerFromDealloc(self);
  375|      0|    else {
  376|      0|        PyObject_CallFinalizer(self);
  377|      0|        return 0;
  378|      0|    }
  379|    202|}
_PyIOBase_check_readable:
  478|    103|{
  479|    103|    PyObject *res = PyObject_CallMethodNoArgs(self, &_Py_ID(readable));
  ------------------
  |  |  951|    103|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    103|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    103|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|    103|    if (res == NULL)
  ------------------
  |  Branch (480:9): [True: 0, False: 103]
  ------------------
  481|      0|        return NULL;
  482|    103|    if (res != Py_True) {
  ------------------
  |  |   26|    103|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (482:9): [True: 0, False: 103]
  ------------------
  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|    103|    if (args == Py_True) {
  ------------------
  |  |   26|    103|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (487:9): [True: 103, False: 0]
  ------------------
  488|    103|        Py_DECREF(res);
  ------------------
  |  |  430|    103|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|    103|    }
  490|    103|    return res;
  491|    103|}
_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|    101|{
  204|    101|    PyObject *res;
  205|    101|    int closed;
  206|       |    /* This gets the derived attribute, which is *not* __IOBase_closed
  207|       |       in most cases! */
  208|    101|    closed = PyObject_GetOptionalAttr(self, &_Py_ID(closed), &res);
  ------------------
  |  |  951|    101|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    101|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    101|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|    101|    if (closed > 0) {
  ------------------
  |  Branch (209:9): [True: 101, False: 0]
  ------------------
  210|    101|        closed = PyObject_IsTrue(res);
  211|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|    101|        if (closed > 0) {
  ------------------
  |  Branch (212:13): [True: 0, False: 101]
  ------------------
  213|      0|            PyErr_SetString(PyExc_ValueError, "I/O operation on closed file.");
  214|      0|            return -1;
  215|      0|        }
  216|    101|    }
  217|    101|    return closed;
  218|    101|}
iobase.c:_io__IOBase_flush_impl:
  174|    202|{
  175|       |    /* XXX Should this return the number of bytes written??? */
  176|    202|    int closed = iobase_is_closed(self);
  177|       |
  178|    202|    if (!closed) {
  ------------------
  |  Branch (178:9): [True: 202, False: 0]
  ------------------
  179|    202|        Py_RETURN_NONE;
  ------------------
  |  |  628|    202|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    202|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  180|    202|    }
  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|    202|}
iobase.c:iobase_is_closed:
   82|    303|{
   83|    303|    return PyObject_HasAttrWithError(self, &_Py_ID(__IOBase_closed));
  ------------------
  |  |  951|    303|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    303|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    303|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|    303|}
iobase.c:_io__IOBase_close_impl:
  302|    101|{
  303|    101|    int rc1, rc2, closed = iobase_is_closed(self);
  304|       |
  305|    101|    if (closed < 0) {
  ------------------
  |  Branch (305:9): [True: 0, False: 101]
  ------------------
  306|      0|        return NULL;
  307|      0|    }
  308|    101|    if (closed) {
  ------------------
  |  Branch (308:9): [True: 0, False: 101]
  ------------------
  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|    101|    rc1 = _PyFile_Flush(self);
  313|    101|    PyObject *exc = PyErr_GetRaisedException();
  314|    101|    rc2 = PyObject_SetAttr(self, &_Py_ID(__IOBase_closed), Py_True);
  ------------------
  |  |  951|    101|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    101|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    101|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  rc2 = PyObject_SetAttr(self, &_Py_ID(__IOBase_closed), Py_True);
  ------------------
  |  |   26|    101|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  315|    101|    _PyErr_ChainExceptions1(exc);
  316|    101|    if (rc1 < 0 || rc2 < 0) {
  ------------------
  |  Branch (316:9): [True: 0, False: 101]
  |  Branch (316:20): [True: 0, False: 101]
  ------------------
  317|      0|        return NULL;
  318|      0|    }
  319|       |
  320|    101|    Py_RETURN_NONE;
  ------------------
  |  |  628|    101|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    101|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  321|    101|}
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|    101|{
  538|    101|    if (iobase_check_closed(self))
  ------------------
  |  Branch (538:9): [True: 0, False: 101]
  ------------------
  539|      0|        return NULL;
  540|       |
  541|    101|    return Py_NewRef(self);
  ------------------
  |  |  647|    101|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  542|    101|}
iobase.c:_io__IOBase___exit___impl:
  554|    101|{
  555|    101|    return PyObject_CallMethodNoArgs(self, &_Py_ID(close));
  ------------------
  |  |  951|    101|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    101|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    101|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  556|    101|}
iobase.c:iobase_finalize:
  327|    202|{
  328|    202|    PyObject *res;
  329|    202|    int closed;
  330|       |
  331|       |    /* Save the current exception, if any. */
  332|    202|    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|    202|    if (PyObject_GetOptionalAttr(self, &_Py_ID(closed), &res) <= 0) {
  ------------------
  |  |  951|    202|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    202|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    202|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (336:9): [True: 0, False: 202]
  ------------------
  337|      0|        PyErr_Clear();
  338|      0|        closed = -1;
  339|      0|    }
  340|    202|    else {
  341|    202|        closed = PyObject_IsTrue(res);
  342|    202|        Py_DECREF(res);
  ------------------
  |  |  430|    202|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    202|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    202|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|    202|        if (closed == -1)
  ------------------
  |  Branch (343:13): [True: 0, False: 202]
  ------------------
  344|      0|            PyErr_Clear();
  345|    202|    }
  346|    202|    if (closed == 0) {
  ------------------
  |  Branch (346:9): [True: 0, False: 202]
  ------------------
  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|    202|    PyErr_SetRaisedException(exc);
  363|    202|}

textio.c:textiowrapper_traverse:
 1567|     66|{
 1568|     66|    textio *self = textio_CAST(op);
  ------------------
  |  |  740|     66|#define textio_CAST(op) ((textio *)(op))
  ------------------
 1569|     66|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|     66|    do {                                                                \
  |  |  195|     66|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 66, False: 0]
  |  |  ------------------
  |  |  196|     66|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     66|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 66]
  |  |  ------------------
  |  |  198|     66|                return vret;                                            \
  |  |  199|     66|        }                                                               \
  |  |  200|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
 1570|     66|    Py_VISIT(self->buffer);
  ------------------
  |  |  194|     66|    do {                                                                \
  |  |  195|     66|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 66, False: 0]
  |  |  ------------------
  |  |  196|     66|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     66|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 66]
  |  |  ------------------
  |  |  198|     66|                return vret;                                            \
  |  |  199|     66|        }                                                               \
  |  |  200|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
 1571|     66|    Py_VISIT(self->encoding);
  ------------------
  |  |  194|     66|    do {                                                                \
  |  |  195|     66|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 66, False: 0]
  |  |  ------------------
  |  |  196|     66|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     66|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 66]
  |  |  ------------------
  |  |  198|     66|                return vret;                                            \
  |  |  199|     66|        }                                                               \
  |  |  200|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
 1572|     66|    Py_VISIT(self->encoder);
  ------------------
  |  |  194|     66|    do {                                                                \
  |  |  195|     66|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 44, False: 22]
  |  |  ------------------
  |  |  196|     44|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     44|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 44]
  |  |  ------------------
  |  |  198|     44|                return vret;                                            \
  |  |  199|     44|        }                                                               \
  |  |  200|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
 1573|     66|    Py_VISIT(self->decoder);
  ------------------
  |  |  194|     66|    do {                                                                \
  |  |  195|     66|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 44]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
 1574|     66|    Py_VISIT(self->readnl);
  ------------------
  |  |  194|     66|    do {                                                                \
  |  |  195|     66|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 66, False: 0]
  |  |  ------------------
  |  |  196|     66|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     66|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 66]
  |  |  ------------------
  |  |  198|     66|                return vret;                                            \
  |  |  199|     66|        }                                                               \
  |  |  200|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
 1575|     66|    Py_VISIT(self->decoded_chars);
  ------------------
  |  |  194|     66|    do {                                                                \
  |  |  195|     66|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 66]
  |  |  ------------------
  |  |  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|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
 1576|     66|    Py_VISIT(self->pending_bytes);
  ------------------
  |  |  194|     66|    do {                                                                \
  |  |  195|     66|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 66]
  |  |  ------------------
  |  |  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|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
 1577|     66|    Py_VISIT(self->snapshot);
  ------------------
  |  |  194|     66|    do {                                                                \
  |  |  195|     66|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 66]
  |  |  ------------------
  |  |  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|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
 1578|     66|    Py_VISIT(self->errors);
  ------------------
  |  |  194|     66|    do {                                                                \
  |  |  195|     66|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 66, False: 0]
  |  |  ------------------
  |  |  196|     66|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     66|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 66]
  |  |  ------------------
  |  |  198|     66|                return vret;                                            \
  |  |  199|     66|        }                                                               \
  |  |  200|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
 1579|     66|    Py_VISIT(self->raw);
  ------------------
  |  |  194|     66|    do {                                                                \
  |  |  195|     66|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 66, False: 0]
  |  |  ------------------
  |  |  196|     66|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     66|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 66]
  |  |  ------------------
  |  |  198|     66|                return vret;                                            \
  |  |  199|     66|        }                                                               \
  |  |  200|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
 1580|       |
 1581|     66|    Py_VISIT(self->dict);
  ------------------
  |  |  194|     66|    do {                                                                \
  |  |  195|     66|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 66, False: 0]
  |  |  ------------------
  |  |  196|     66|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     66|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 66]
  |  |  ------------------
  |  |  198|     66|                return vret;                                            \
  |  |  199|     66|        }                                                               \
  |  |  200|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
 1582|     66|    return 0;
 1583|     66|}
textio.c:buffer_access_safe:
  749|  82.8k|{
  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|  82.8k|    if (self->buffer == NULL) {
  ------------------
  |  Branch (752:9): [True: 0, False: 82.8k]
  ------------------
  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|  82.8k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  765|  82.8k|    return Py_NewRef(self->buffer);
  ------------------
  |  |  647|  82.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  82.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  82.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  766|  82.8k|}
textio.c:_textiowrapper_writeflush:
 1669|  41.4k|{
 1670|  41.4k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
 1671|       |
 1672|  41.4k|    if (self->pending_bytes == NULL)
  ------------------
  |  Branch (1672:9): [True: 0, False: 41.4k]
  ------------------
 1673|      0|        return 0;
 1674|       |
 1675|  41.4k|    PyObject *pending = self->pending_bytes;
 1676|  41.4k|    PyObject *b;
 1677|       |
 1678|  41.4k|    if (PyBytes_Check(pending)) {
  ------------------
  |  |   28|  41.4k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  41.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4, False: 41.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1679|      4|        b = Py_NewRef(pending);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1680|      4|    }
 1681|  41.4k|    else if (PyUnicode_Check(pending)) {
  ------------------
  |  |  103|  41.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  41.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 41.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1682|  41.4k|        assert(PyUnicode_IS_ASCII(pending));
  ------------------
  |  Branch (1682:9): [True: 41.4k, False: 0]
  ------------------
 1683|  41.4k|        assert(PyUnicode_GET_LENGTH(pending) == self->pending_bytes_count);
  ------------------
  |  Branch (1683:9): [True: 41.4k, False: 0]
  ------------------
 1684|  41.4k|        b = PyBytes_FromStringAndSize(
 1685|  41.4k|                PyUnicode_DATA(pending), PyUnicode_GET_LENGTH(pending));
  ------------------
  |  |  285|  41.4k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              PyUnicode_DATA(pending), PyUnicode_GET_LENGTH(pending));
  ------------------
  |  |  300|  41.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1686|  41.4k|        if (b == NULL) {
  ------------------
  |  Branch (1686:13): [True: 0, False: 41.4k]
  ------------------
 1687|      0|            return -1;
 1688|      0|        }
 1689|  41.4k|    }
 1690|      0|    else {
 1691|      0|        assert(PyList_Check(pending));
  ------------------
  |  Branch (1691:9): [True: 0, False: 0]
  ------------------
 1692|      0|        PyBytesWriter *writer = PyBytesWriter_Create(self->pending_bytes_count);
 1693|      0|        if (writer == NULL) {
  ------------------
  |  Branch (1693:13): [True: 0, False: 0]
  ------------------
 1694|      0|            return -1;
 1695|      0|        }
 1696|       |
 1697|      0|        char *buf = PyBytesWriter_GetData(writer);
 1698|      0|        Py_ssize_t pos = 0;
 1699|       |
 1700|      0|        for (Py_ssize_t i = 0; i < PyList_GET_SIZE(pending); i++) {
  ------------------
  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1700:32): [True: 0, False: 0]
  ------------------
 1701|      0|            PyObject *obj = PyList_GET_ITEM(pending, i);
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1701:29): [True: 0, False: 0]
  ------------------
 1702|      0|            const char *src;
 1703|      0|            Py_ssize_t len;
 1704|      0|            if (PyUnicode_Check(obj)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1705|      0|                assert(PyUnicode_IS_ASCII(obj));
  ------------------
  |  Branch (1705:17): [True: 0, False: 0]
  ------------------
 1706|      0|                src = PyUnicode_DATA(obj);
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1707|      0|                len = PyUnicode_GET_LENGTH(obj);
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1708|      0|            }
 1709|      0|            else {
 1710|      0|                assert(PyBytes_Check(obj));
  ------------------
  |  Branch (1710:17): [True: 0, False: 0]
  ------------------
 1711|      0|                src = PyBytes_AS_STRING(obj);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1712|      0|                len = PyBytes_GET_SIZE(obj);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1713|      0|            }
 1714|      0|            memcpy(buf + pos, src, len);
 1715|      0|            pos += len;
 1716|      0|        }
 1717|      0|        assert(pos == self->pending_bytes_count);
  ------------------
  |  Branch (1717:9): [True: 0, False: 0]
  ------------------
 1718|       |
 1719|      0|        b = PyBytesWriter_Finish(writer);
 1720|      0|        if (b == NULL) {
  ------------------
  |  Branch (1720:13): [True: 0, False: 0]
  ------------------
 1721|      0|            return -1;
 1722|      0|        }
 1723|      0|    }
 1724|       |
 1725|  41.4k|    self->pending_bytes_count = 0;
 1726|  41.4k|    self->pending_bytes = NULL;
 1727|  41.4k|    Py_DECREF(pending);
  ------------------
  |  |  430|  41.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1728|       |
 1729|  41.4k|    PyObject *ret;
 1730|  41.4k|    do {
 1731|  41.4k|        ret = buffer_callmethod_onearg(self, &_Py_ID(write), b);
  ------------------
  |  |  951|  41.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  41.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  41.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1732|  41.4k|    } while (ret == NULL && _PyIO_trap_eintr());
  ------------------
  |  Branch (1732:14): [True: 0, False: 41.4k]
  |  Branch (1732:29): [True: 0, False: 0]
  ------------------
 1733|  41.4k|    Py_DECREF(b);
  ------------------
  |  |  430|  41.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1734|       |    // NOTE: We cleared buffer but we don't know how many bytes are actually written
 1735|       |    // when an error occurred.
 1736|  41.4k|    if (ret == NULL)
  ------------------
  |  Branch (1736:9): [True: 0, False: 41.4k]
  ------------------
 1737|      0|        return -1;
 1738|  41.4k|    Py_DECREF(ret);
  ------------------
  |  |  430|  41.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1739|  41.4k|    return 0;
 1740|  41.4k|}
textio.c:buffer_callmethod_onearg:
  796|  41.4k|{
  797|  41.4k|    PyObject *buffer = buffer_access_safe(self);
  798|  41.4k|    if (buffer == NULL) {
  ------------------
  |  Branch (798:9): [True: 0, False: 41.4k]
  ------------------
  799|      0|        return NULL;
  800|      0|    }
  801|       |
  802|  41.4k|    PyObject *res = PyObject_CallMethodOneArg(buffer, name, arg);
  803|  41.4k|    Py_DECREF(buffer);
  ------------------
  |  |  430|  41.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  804|  41.4k|    return res;
  805|  41.4k|}
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:utf8_encode:
  880|      4|{
  881|      4|    textio *self = textio_CAST(op);
  ------------------
  |  |  740|      4|#define textio_CAST(op) ((textio *)(op))
  ------------------
  882|      4|    return _PyUnicode_AsUTF8String(text, PyUnicode_AsUTF8(self->errors));
  883|      4|}
textio.c:_textiowrapper_fix_encoder_state:
 1077|      6|{
 1078|      6|    if (!self->seekable || !self->encoder) {
  ------------------
  |  Branch (1078:9): [True: 0, False: 6]
  |  Branch (1078:28): [True: 2, False: 4]
  ------------------
 1079|      2|        return 0;
 1080|      2|    }
 1081|       |
 1082|      4|    self->encoding_start_of_stream = 1;
 1083|       |
 1084|      4|    PyObject *cookieObj = buffer_callmethod_noargs(self, &_Py_ID(tell));
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1085|      4|    if (cookieObj == NULL) {
  ------------------
  |  Branch (1085:9): [True: 0, False: 4]
  ------------------
 1086|      0|        return -1;
 1087|      0|    }
 1088|       |
 1089|      4|    int cmp = PyObject_RichCompareBool(cookieObj, _PyLong_GetZero(), Py_EQ);
  ------------------
  |  |  654|      4|#define Py_EQ 2
  ------------------
 1090|      4|    Py_DECREF(cookieObj);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1091|      4|    if (cmp < 0) {
  ------------------
  |  Branch (1091:9): [True: 0, False: 4]
  ------------------
 1092|      0|        return -1;
 1093|      0|    }
 1094|       |
 1095|      4|    if (cmp == 0) {
  ------------------
  |  Branch (1095:9): [True: 2, False: 2]
  ------------------
 1096|      2|        self->encoding_start_of_stream = 0;
 1097|      2|        PyObject *res = PyObject_CallMethodOneArg(
 1098|      2|            self->encoder, &_Py_ID(setstate), _PyLong_GetZero());
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|      2|        if (res == NULL) {
  ------------------
  |  Branch (1099:13): [True: 0, False: 2]
  ------------------
 1100|      0|            return -1;
 1101|      0|        }
 1102|      2|        Py_DECREF(res);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1103|      2|    }
 1104|       |
 1105|      4|    return 0;
 1106|      4|}
textio.c:_io_TextIOWrapper_write_impl:
 1942|  41.4k|{
 1943|  41.4k|    if (textiowrapper_check_write(self) == NULL) {
  ------------------
  |  Branch (1943:9): [True: 0, False: 41.4k]
  ------------------
 1944|      0|        return NULL;
 1945|      0|    }
 1946|  41.4k|    return textiowrapper_write_text(self, text);
 1947|  41.4k|}
textio.c:textiowrapper_check_write:
 1745|  41.4k|{
 1746|  41.4k|    CHECK_ATTACHED(self);
  ------------------
  |  | 1623|  41.4k|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1616|  41.4k|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1616:9): [True: 0, False: 41.4k]
  |  |  |  |  ------------------
  |  |  |  | 1617|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1618|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1619|      0|        return NULL; \
  |  |  |  | 1620|      0|    }
  |  |  ------------------
  |  | 1624|  41.4k|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1624:9): [True: 0, False: 41.4k]
  |  |  ------------------
  |  | 1625|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1626|      0|             "underlying buffer has been detached"); \
  |  | 1627|      0|        return NULL; \
  |  | 1628|      0|    }
  ------------------
 1747|  41.4k|    CHECK_CLOSED(self);
  ------------------
  |  | 1590|  41.4k|    do { \
  |  | 1591|  41.4k|        int r; \
  |  | 1592|  41.4k|        PyObject *_res; \
  |  | 1593|  41.4k|        if (Py_IS_TYPE(self, self->state->PyTextIOWrapper_Type)) { \
  |  |  ------------------
  |  |  |  |  215|  41.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 41.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1594|  41.4k|            if (self->raw != NULL) \
  |  |  ------------------
  |  |  |  Branch (1594:17): [True: 41.4k, False: 0]
  |  |  ------------------
  |  | 1595|  41.4k|                r = _PyFileIO_closed(self->raw); \
  |  | 1596|  41.4k|            else { \
  |  | 1597|      0|                _res = _io_TextIOWrapper_closed_get_impl(self); \
  |  | 1598|      0|                if (_res == NULL) \
  |  |  ------------------
  |  |  |  Branch (1598:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1599|      0|                    return NULL; \
  |  | 1600|      0|                r = PyObject_IsTrue(_res); \
  |  | 1601|      0|                Py_DECREF(_res); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1602|      0|                if (r < 0) \
  |  |  ------------------
  |  |  |  Branch (1602:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1603|      0|                    return NULL; \
  |  | 1604|      0|            } \
  |  | 1605|  41.4k|            if (r > 0) { \
  |  |  ------------------
  |  |  |  Branch (1605:17): [True: 0, False: 41.4k]
  |  |  ------------------
  |  | 1606|      0|                PyErr_SetString(PyExc_ValueError, \
  |  | 1607|      0|                                "I/O operation on closed file."); \
  |  | 1608|      0|                return NULL; \
  |  | 1609|      0|            } \
  |  | 1610|  41.4k|        } \
  |  | 1611|  41.4k|        else if (_PyIOBase_check_closed((PyObject *)self, Py_True) == NULL) \
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1611:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 1612|      0|            return NULL; \
  |  | 1613|  41.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1613:14): [Folded, False: 41.4k]
  |  |  ------------------
  ------------------
 1748|       |
 1749|  41.4k|    if (self->encoder == NULL) {
  ------------------
  |  Branch (1749:9): [True: 0, False: 41.4k]
  ------------------
 1750|      0|        return _unsupported(self->state, "not writable");
 1751|      0|    }
 1752|  41.4k|    return Py_None;
  ------------------
  |  |  616|  41.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1753|  41.4k|}
textio.c:textiowrapper_write_text:
 1854|  41.4k|{
 1855|  41.4k|    PyObject *b;
 1856|  41.4k|    Py_ssize_t textlen;
 1857|  41.4k|    int haslf = 0;
 1858|  41.4k|    int needflush = 0, text_needflush = 0;
 1859|       |
 1860|  41.4k|    Py_INCREF(text);
  ------------------
  |  |  310|  41.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1861|       |
 1862|  41.4k|    textlen = PyUnicode_GET_LENGTH(text);
  ------------------
  |  |  300|  41.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1863|       |
 1864|  41.4k|    if ((self->writetranslate && self->writenl != NULL) || self->line_buffering)
  ------------------
  |  Branch (1864:10): [True: 41.4k, False: 0]
  |  Branch (1864:34): [True: 0, False: 41.4k]
  |  Branch (1864:60): [True: 41.4k, False: 0]
  ------------------
 1865|  41.4k|        if (PyUnicode_FindChar(text, '\n', 0, PyUnicode_GET_LENGTH(text), 1) != -1)
  ------------------
  |  |  300|  41.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1865:13): [True: 41.4k, False: 0]
  ------------------
 1866|  41.4k|            haslf = 1;
 1867|       |
 1868|  41.4k|    if (haslf && self->writetranslate && self->writenl != NULL) {
  ------------------
  |  Branch (1868:9): [True: 41.4k, False: 0]
  |  Branch (1868:18): [True: 41.4k, False: 0]
  |  Branch (1868:42): [True: 0, False: 41.4k]
  ------------------
 1869|      0|        PyObject *newtext = _PyObject_CallMethod(text, &_Py_ID(replace),
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1870|      0|                                                 "ss", "\n", self->writenl);
 1871|      0|        Py_DECREF(text);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1872|      0|        if (newtext == NULL)
  ------------------
  |  Branch (1872:13): [True: 0, False: 0]
  ------------------
 1873|      0|            return NULL;
 1874|      0|        if (!PyUnicode_Check(newtext)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1874:13): [True: 0, False: 0]
  ------------------
 1875|      0|            PyErr_Format(PyExc_TypeError,
 1876|      0|                         "replace() should return a str, not %T", newtext);
 1877|      0|            Py_DECREF(newtext);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1878|      0|            return NULL;
 1879|      0|        }
 1880|       |        /* replace() may have closed, detached or reinitialized the stream. */
 1881|      0|        if (textiowrapper_check_write(self) == NULL) {
  ------------------
  |  Branch (1881:13): [True: 0, False: 0]
  ------------------
 1882|      0|            Py_DECREF(newtext);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1883|      0|            return NULL;
 1884|      0|        }
 1885|      0|        text = newtext;
 1886|      0|    }
 1887|       |
 1888|  41.4k|    if (self->write_through)
  ------------------
  |  Branch (1888:9): [True: 0, False: 41.4k]
  ------------------
 1889|      0|        text_needflush = 1;
 1890|  41.4k|    if (self->line_buffering &&
  ------------------
  |  Branch (1890:9): [True: 41.4k, False: 0]
  ------------------
 1891|  41.4k|        (haslf ||
  ------------------
  |  Branch (1891:10): [True: 41.4k, False: 0]
  ------------------
 1892|      0|         PyUnicode_FindChar(text, '\r', 0, PyUnicode_GET_LENGTH(text), 1) != -1))
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1892:10): [True: 0, False: 0]
  ------------------
 1893|  41.4k|        needflush = 1;
 1894|       |
 1895|       |    /* XXX What if we were just reading? */
 1896|  41.4k|    if (self->encodefunc != NULL) {
  ------------------
  |  Branch (1896:9): [True: 41.4k, False: 0]
  ------------------
 1897|  41.4k|        if (PyUnicode_IS_ASCII(text) &&
  ------------------
  |  |  228|  82.8k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 41.4k, False: 0]
  |  |  ------------------
  ------------------
 1898|       |                // See bpo-43260
 1899|  41.4k|                PyUnicode_GET_LENGTH(text) <= self->chunk_size &&
  ------------------
  |  |  300|  41.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1899:17): [True: 41.4k, False: 4]
  ------------------
 1900|  41.4k|                is_asciicompat_encoding(self->encodefunc)) {
  ------------------
  |  Branch (1900:17): [True: 41.4k, False: 0]
  ------------------
 1901|  41.4k|            b = Py_NewRef(text);
  ------------------
  |  |  647|  41.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1902|  41.4k|        }
 1903|      4|        else {
 1904|      4|            b = (*self->encodefunc)((PyObject *) self, text);
 1905|      4|        }
 1906|  41.4k|        self->encoding_start_of_stream = 0;
 1907|  41.4k|    }
 1908|      0|    else {
 1909|       |        /* A codec callback may reconfigure the stream. */
 1910|      0|        PyObject *encoder = Py_NewRef(self->encoder);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1911|      0|        b = PyObject_CallMethodOneArg(encoder, &_Py_ID(encode), text);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1912|      0|        Py_DECREF(encoder);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1913|      0|    }
 1914|       |
 1915|  41.4k|    Py_DECREF(text);
  ------------------
  |  |  430|  41.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1916|  41.4k|    if (b == NULL)
  ------------------
  |  Branch (1916:9): [True: 0, False: 41.4k]
  ------------------
 1917|      0|        return NULL;
 1918|  41.4k|    if (b != text && !PyBytes_Check(b)) {
  ------------------
  |  |   28|      4|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1918:9): [True: 4, False: 41.4k]
  |  Branch (1918:22): [True: 0, False: 4]
  ------------------
 1919|      0|        PyErr_Format(PyExc_TypeError,
 1920|      0|                     "encoder should return a bytes object, not '%.200s'",
 1921|      0|                     Py_TYPE(b)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1922|      0|        Py_DECREF(b);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1923|      0|        return NULL;
 1924|      0|    }
 1925|       |
 1926|  41.4k|    if (textiowrapper_write_bytes(self, b, needflush, text_needflush) < 0) {
  ------------------
  |  Branch (1926:9): [True: 0, False: 41.4k]
  ------------------
 1927|      0|        return NULL;
 1928|      0|    }
 1929|  41.4k|    return PyLong_FromSsize_t(textlen);
 1930|  41.4k|}
textio.c:is_asciicompat_encoding:
  895|  41.4k|{
  896|  41.4k|    return f == ascii_encode || f == latin1_encode || f == utf8_encode;
  ------------------
  |  Branch (896:12): [True: 0, False: 41.4k]
  |  Branch (896:33): [True: 0, False: 41.4k]
  |  Branch (896:55): [True: 41.4k, False: 0]
  ------------------
  897|  41.4k|}
textio.c:textiowrapper_write_bytes:
 1759|  41.4k|{
 1760|  41.4k|    Py_ssize_t bytes_len;
 1761|  41.4k|    if (PyUnicode_Check(b)) {
  ------------------
  |  |  103|  41.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  41.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 41.4k, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1762|  41.4k|        assert(PyUnicode_IS_ASCII(b));
  ------------------
  |  Branch (1762:9): [True: 41.4k, False: 0]
  ------------------
 1763|  41.4k|        bytes_len = PyUnicode_GET_LENGTH(b);
  ------------------
  |  |  300|  41.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1764|  41.4k|    }
 1765|      4|    else {
 1766|      4|        bytes_len = PyBytes_GET_SIZE(b);
  ------------------
  |  |   33|      4|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1767|      4|    }
 1768|       |
 1769|       |    // We should avoid concatenating huge data.
 1770|       |    // Flush the buffer before adding b to the buffer if b is not small.
 1771|       |    // https://github.com/python/cpython/issues/87426
 1772|  41.4k|    if (bytes_len >= self->chunk_size) {
  ------------------
  |  Branch (1772:9): [True: 4, False: 41.4k]
  ------------------
 1773|       |        // _textiowrapper_writeflush() calls buffer.write().
 1774|       |        // self->pending_bytes can be appended during buffer->write()
 1775|       |        // or other thread.
 1776|       |        // We need to loop until buffer becomes empty.
 1777|       |        // https://github.com/python/cpython/issues/118138
 1778|       |        // https://github.com/python/cpython/issues/119506
 1779|      4|        while (self->pending_bytes != NULL) {
  ------------------
  |  Branch (1779:16): [True: 0, False: 4]
  ------------------
 1780|      0|            if (_textiowrapper_writeflush(self) < 0) {
  ------------------
  |  Branch (1780:17): [True: 0, False: 0]
  ------------------
 1781|      0|                Py_DECREF(b);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1782|      0|                return -1;
 1783|      0|            }
 1784|      0|        }
 1785|      4|    }
 1786|       |
 1787|  41.4k|    if (bytes_len > 0) {
  ------------------
  |  Branch (1787:9): [True: 41.4k, False: 0]
  ------------------
 1788|  41.4k|        if (self->pending_bytes == NULL) {
  ------------------
  |  Branch (1788:13): [True: 41.4k, False: 0]
  ------------------
 1789|  41.4k|            assert(self->pending_bytes_count == 0);
  ------------------
  |  Branch (1789:13): [True: 41.4k, False: 0]
  ------------------
 1790|  41.4k|            self->pending_bytes = b;
 1791|  41.4k|        }
 1792|      0|        else if (!PyList_CheckExact(self->pending_bytes)) {
  ------------------
  |  |   26|      0|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1792:18): [True: 0, False: 0]
  ------------------
 1793|      0|            PyObject *list = PyList_New(2);
 1794|      0|            if (list == NULL) {
  ------------------
  |  Branch (1794:17): [True: 0, False: 0]
  ------------------
 1795|      0|                Py_DECREF(b);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1796|      0|                return -1;
 1797|      0|            }
 1798|       |            // Since Python 3.12, allocating GC object won't trigger GC and release
 1799|       |            // GIL. See https://github.com/python/cpython/issues/97922
 1800|      0|            assert(!PyList_CheckExact(self->pending_bytes));
  ------------------
  |  Branch (1800:13): [True: 0, False: 0]
  ------------------
 1801|      0|            PyList_SET_ITEM(list, 0, self->pending_bytes);
  ------------------
  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1802|      0|            PyList_SET_ITEM(list, 1, b);
  ------------------
  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1803|      0|            self->pending_bytes = list;
 1804|      0|        }
 1805|      0|        else {
 1806|      0|            if (PyList_Append(self->pending_bytes, b) < 0) {
  ------------------
  |  Branch (1806:17): [True: 0, False: 0]
  ------------------
 1807|      0|                Py_DECREF(b);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1808|      0|                return -1;
 1809|      0|            }
 1810|      0|            Py_DECREF(b);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1811|      0|        }
 1812|       |
 1813|  41.4k|        self->pending_bytes_count += bytes_len;
 1814|  41.4k|    }
 1815|      0|    else {
 1816|      0|        Py_DECREF(b);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1817|      0|    }
 1818|       |
 1819|  41.4k|    if (self->pending_bytes_count >= self->chunk_size || needflush ||
  ------------------
  |  Branch (1819:9): [True: 4, False: 41.4k]
  |  Branch (1819:58): [True: 41.4k, False: 0]
  ------------------
 1820|  41.4k|        text_needflush) {
  ------------------
  |  Branch (1820:9): [True: 0, False: 0]
  ------------------
 1821|  41.4k|        if (_textiowrapper_writeflush(self) < 0)
  ------------------
  |  Branch (1821:13): [True: 0, False: 41.4k]
  ------------------
 1822|      0|            return -1;
 1823|  41.4k|    }
 1824|       |
 1825|  41.4k|    if (needflush) {
  ------------------
  |  Branch (1825:9): [True: 41.4k, False: 0]
  ------------------
 1826|  41.4k|        PyObject *buffer = buffer_access_safe(self);
 1827|  41.4k|        if (buffer == NULL) {
  ------------------
  |  Branch (1827:13): [True: 0, False: 41.4k]
  ------------------
 1828|      0|            return -1;
 1829|      0|        }
 1830|  41.4k|        int res = _PyFile_Flush(buffer);
 1831|  41.4k|        Py_DECREF(buffer);
  ------------------
  |  |  430|  41.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1832|  41.4k|        if (res < 0) {
  ------------------
  |  Branch (1832:13): [True: 0, False: 41.4k]
  ------------------
 1833|      0|            return -1;
 1834|      0|        }
 1835|  41.4k|    }
 1836|       |
 1837|  41.4k|    if (self->snapshot != NULL) {
  ------------------
  |  Branch (1837:9): [True: 0, False: 41.4k]
  ------------------
 1838|      0|        textiowrapper_set_decoded_chars(self, NULL);
 1839|      0|        Py_CLEAR(self->snapshot);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1840|      0|    }
 1841|       |
 1842|  41.4k|    if (self->decoder) {
  ------------------
  |  Branch (1842:9): [True: 0, False: 41.4k]
  ------------------
 1843|      0|        PyObject *ret = PyObject_CallMethodNoArgs(self->decoder, &_Py_ID(reset));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1844|      0|        if (ret == NULL)
  ------------------
  |  Branch (1844:13): [True: 0, False: 0]
  ------------------
 1845|      0|            return -1;
 1846|      0|        Py_DECREF(ret);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1847|      0|    }
 1848|       |
 1849|  41.4k|    return 0;
 1850|  41.4k|}
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__locale:
 1143|      1|{
 1144|      1|    return PyModuleDef_Init(&_localemodule);
 1145|      1|}
_localemodule.c:get_locale_state:
   42|     15|{
   43|     15|    void *state = PyModule_GetState(m);
   44|     15|    assert(state != NULL);
  ------------------
  |  Branch (44:5): [True: 15, False: 0]
  ------------------
   45|     15|    return (_locale_state *)state;
   46|     15|}
_localemodule.c:_locale_exec:
 1051|      1|{
 1052|      1|#ifdef HAVE_LANGINFO_H
 1053|      1|    int i;
 1054|      1|#endif
 1055|      1|#define ADD_INT(module, value)                                    \
 1056|      1|    do {                                                          \
 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
 1058|      1|            return -1;                                            \
 1059|      1|        }                                                         \
 1060|      1|    } while (0)
 1061|       |
 1062|      1|    ADD_INT(module, LC_CTYPE);
  ------------------
  |  | 1056|      1|    do {                                                          \
  |  | 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1057:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1058|      0|            return -1;                                            \
  |  | 1059|      0|        }                                                         \
  |  | 1060|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1063|      1|    ADD_INT(module, LC_TIME);
  ------------------
  |  | 1056|      1|    do {                                                          \
  |  | 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1057:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1058|      0|            return -1;                                            \
  |  | 1059|      0|        }                                                         \
  |  | 1060|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1064|      1|    ADD_INT(module, LC_COLLATE);
  ------------------
  |  | 1056|      1|    do {                                                          \
  |  | 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1057:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1058|      0|            return -1;                                            \
  |  | 1059|      0|        }                                                         \
  |  | 1060|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1065|      1|    ADD_INT(module, LC_MONETARY);
  ------------------
  |  | 1056|      1|    do {                                                          \
  |  | 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1057:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1058|      0|            return -1;                                            \
  |  | 1059|      0|        }                                                         \
  |  | 1060|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1066|       |
 1067|      1|#ifdef LC_MESSAGES
 1068|      1|    ADD_INT(module, LC_MESSAGES);
  ------------------
  |  | 1056|      1|    do {                                                          \
  |  | 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1057:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1058|      0|            return -1;                                            \
  |  | 1059|      0|        }                                                         \
  |  | 1060|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1069|      1|#endif /* LC_MESSAGES */
 1070|       |
 1071|      1|    ADD_INT(module, LC_NUMERIC);
  ------------------
  |  | 1056|      1|    do {                                                          \
  |  | 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1057:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1058|      0|            return -1;                                            \
  |  | 1059|      0|        }                                                         \
  |  | 1060|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1072|      1|    ADD_INT(module, LC_ALL);
  ------------------
  |  | 1056|      1|    do {                                                          \
  |  | 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1057:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1058|      0|            return -1;                                            \
  |  | 1059|      0|        }                                                         \
  |  | 1060|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1073|      1|    ADD_INT(module, CHAR_MAX);
  ------------------
  |  | 1056|      1|    do {                                                          \
  |  | 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1057:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1058|      0|            return -1;                                            \
  |  | 1059|      0|        }                                                         \
  |  | 1060|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1074|       |
 1075|      1|    _locale_state *state = get_locale_state(module);
 1076|      1|    state->Error = PyErr_NewException("locale.Error", NULL, NULL);
 1077|      1|    if (PyModule_AddObjectRef(module, "Error", state->Error) < 0) {
  ------------------
  |  Branch (1077:9): [True: 0, False: 1]
  ------------------
 1078|      0|        return -1;
 1079|      0|    }
 1080|       |
 1081|      1|#ifdef HAVE_LANGINFO_H
 1082|     57|    for (i = 0; langinfo_constants[i].name; i++) {
  ------------------
  |  Branch (1082:17): [True: 56, False: 1]
  ------------------
 1083|     56|        if (PyModule_AddIntConstant(module,
  ------------------
  |  Branch (1083:13): [True: 0, False: 56]
  ------------------
 1084|     56|                                    langinfo_constants[i].name,
 1085|     56|                                    langinfo_constants[i].value) < 0) {
 1086|      0|            return -1;
 1087|      0|        }
 1088|     56|    }
 1089|      1|#endif
 1090|       |
 1091|      1|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1091:9): [True: 0, False: 1]
  ------------------
 1092|      0|        return -1;
 1093|      0|    }
 1094|      1|    return 0;
 1095|       |
 1096|      1|#undef ADD_INT
 1097|      1|}
_localemodule.c:locale_traverse:
 1109|     14|{
 1110|     14|    _locale_state *state = get_locale_state(module);
 1111|     14|    Py_VISIT(state->Error);
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 14, False: 0]
  |  |  ------------------
  |  |  196|     14|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     14|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 14]
  |  |  ------------------
  |  |  198|     14|                return vret;                                            \
  |  |  199|     14|        }                                                               \
  |  |  200|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1112|     14|    return 0;
 1113|     14|}

PyInit__operator:
 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|     21|{
   21|     21|    void *state = _PyModule_GetState(module);
   22|     21|    assert(state != NULL);
  ------------------
  |  Branch (22:5): [True: 21, False: 0]
  ------------------
   23|     21|    return (_operator_state *)state;
   24|     21|}
_operator.c:operator_traverse:
 1994|     20|{
 1995|     20|    _operator_state *state = get_operator_state(module);
 1996|     20|    Py_VISIT(state->attrgetter_type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 1997|     20|    Py_VISIT(state->itemgetter_type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 1998|     20|    Py_VISIT(state->methodcaller_type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 1999|     20|    return 0;
 2000|     20|}

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

PyInit__sre:
 3701|      1|{
 3702|      1|    return PyModuleDef_Init(&sremodule);
 3703|      1|}
sre.c:_sre_compile_impl:
 1780|      9|{
 1781|       |    /* "compile" pattern descriptor to pattern object */
 1782|       |
 1783|      9|    _sremodulestate *module_state = get_sre_module_state(module);
 1784|      9|    PatternObject* self;
 1785|      9|    Py_ssize_t i, n;
 1786|       |
 1787|      9|    n = PyList_GET_SIZE(code);
  ------------------
  |  |   38|      9|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1788|       |    /* coverity[ampersand_in_size] */
 1789|      9|    self = PyObject_GC_NewVar(PatternObject, module_state->Pattern_Type, n);
  ------------------
  |  |  183|      9|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1790|      9|    if (!self)
  ------------------
  |  Branch (1790:9): [True: 0, False: 9]
  ------------------
 1791|      0|        return NULL;
 1792|      9|    self->weakreflist = NULL;
 1793|      9|    self->pattern = NULL;
 1794|      9|    self->groupindex = NULL;
 1795|      9|    self->indexgroup = NULL;
 1796|       |#ifdef Py_DEBUG
 1797|       |    self->fail_after_count = -1;
 1798|       |    self->fail_after_exc = NULL;
 1799|       |#endif
 1800|       |
 1801|      9|    self->codesize = n;
 1802|       |
 1803|    784|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1803:17): [True: 775, False: 9]
  ------------------
 1804|    775|        PyObject *o = PyList_GET_ITEM(code, i);
  ------------------
  |  |   40|    775|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    775|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    775|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1804:23): [True: 775, False: 0]
  ------------------
 1805|      0|        unsigned long value = PyLong_AsUnsignedLong(o);
 1806|    775|        if (value == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1806:13): [True: 0, False: 775]
  |  Branch (1806:43): [True: 0, False: 0]
  ------------------
 1807|      0|            break;
 1808|      0|        }
 1809|    775|        self->code[i] = (SRE_CODE) value;
 1810|    775|        if ((unsigned long) self->code[i] != value) {
  ------------------
  |  Branch (1810:13): [True: 0, False: 775]
  ------------------
 1811|      0|            PyErr_SetString(PyExc_OverflowError,
 1812|      0|                            "regular expression code size limit exceeded");
 1813|      0|            break;
 1814|      0|        }
 1815|    775|    }
 1816|      9|    PyObject_GC_Track(self);
 1817|       |
 1818|      9|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1818:9): [True: 0, False: 9]
  ------------------
 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|      9|    if (pattern == Py_None) {
  ------------------
  |  |  616|      9|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1823:9): [True: 0, False: 9]
  ------------------
 1824|      0|        self->isbytes = -1;
 1825|      0|    }
 1826|      9|    else {
 1827|      9|        Py_ssize_t p_length;
 1828|      9|        int charsize;
 1829|      9|        Py_buffer view;
 1830|      9|        view.buf = NULL;
 1831|      9|        if (!getstring(pattern, &p_length, &self->isbytes,
  ------------------
  |  Branch (1831:13): [True: 0, False: 9]
  ------------------
 1832|      9|                       &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|      9|        if (view.buf)
  ------------------
  |  Branch (1836:13): [True: 2, False: 7]
  ------------------
 1837|      2|            PyBuffer_Release(&view);
 1838|      9|    }
 1839|       |
 1840|      9|    self->pattern = Py_NewRef(pattern);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1841|       |
 1842|      9|    self->flags = flags;
 1843|       |
 1844|      9|    self->groups = groups;
 1845|       |
 1846|      9|    if (PyDict_GET_SIZE(groupindex) > 0) {
  ------------------
  |  |   63|      9|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1846:9): [True: 2, False: 7]
  ------------------
 1847|      2|        self->groupindex = Py_NewRef(groupindex);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1848|      2|        if (PyTuple_GET_SIZE(indexgroup) > 0) {
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1848:13): [True: 2, False: 0]
  ------------------
 1849|      2|            self->indexgroup = Py_NewRef(indexgroup);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1850|      2|        }
 1851|      2|    }
 1852|       |
 1853|      9|    if (!_validate(self)) {
  ------------------
  |  Branch (1853:9): [True: 0, False: 9]
  ------------------
 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|      9|    return (PyObject*) self;
 1859|      9|}
sre.c:get_sre_module_state:
  532|     34|{
  533|     34|    _sremodulestate *state = (_sremodulestate *)_PyModule_GetState(m);
  534|     34|    assert(state);
  ------------------
  |  Branch (534:5): [True: 34, False: 0]
  ------------------
  535|     34|    return state;
  536|     34|}
sre.c:getstring:
  650|     15|{
  651|       |    /* given a python object, return a data pointer, a length (in
  652|       |       characters), and a character size.  return NULL if the object
  653|       |       is not a string (or not compatible) */
  654|       |
  655|       |    /* Unicode objects do not support the buffer API. So, get the data
  656|       |       directly instead. */
  657|     15|    if (PyUnicode_Check(string)) {
  ------------------
  |  |  103|     15|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     15|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 13, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  658|     13|        *p_length = PyUnicode_GET_LENGTH(string);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  659|     13|        *p_charsize = PyUnicode_KIND(string);
  ------------------
  |  |  259|     13|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     26|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 13, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  660|      0|        *p_isbytes = 0;
  661|     13|        return PyUnicode_DATA(string);
  ------------------
  |  |  285|     13|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  662|     13|    }
  663|       |
  664|       |    /* get pointer to byte string buffer */
  665|      2|    if (PyObject_GetBuffer(string, view, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      2|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (665:9): [True: 0, False: 2]
  ------------------
  666|      0|        PyErr_Format(PyExc_TypeError, "expected string or bytes-like "
  667|      0|                     "object, got '%.200s'", Py_TYPE(string)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  668|      0|        return NULL;
  669|      0|    }
  670|       |
  671|      2|    *p_length = view->len;
  672|      2|    *p_charsize = 1;
  673|      2|    *p_isbytes = 1;
  674|       |
  675|      2|    if (view->buf == NULL) {
  ------------------
  |  Branch (675:9): [True: 0, False: 2]
  ------------------
  676|      0|        PyErr_SetString(PyExc_ValueError, "Buffer is NULL");
  677|      0|        PyBuffer_Release(view);
  678|      0|        view->buf = NULL;
  679|      0|        return NULL;
  680|      0|    }
  681|      2|    return view->buf;
  682|      2|}
sre.c:_validate:
 2470|      9|{
 2471|      9|    if (_validate_outer(self->code, self->code+self->codesize, self->groups))
  ------------------
  |  Branch (2471:9): [True: 0, False: 9]
  ------------------
 2472|      0|    {
 2473|      0|        PyErr_SetString(PyExc_RuntimeError, "invalid SRE code");
 2474|      0|        return 0;
 2475|      0|    }
 2476|      9|    else
 2477|      9|        VTRACE(("Success!\n"));
  ------------------
  |  | 1957|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1957:31): [Folded, False: 9]
  |  |  ------------------
  ------------------
 2478|      9|    return 1;
 2479|      9|}
sre.c:_validate_outer:
 2461|      9|{
 2462|      9|    if (groups < 0 || (size_t)groups > SRE_MAXGROUPS ||
  ------------------
  |  |   21|     18|# define SRE_MAXGROUPS ((SRE_CODE)INT32_MAX / 2)
  ------------------
  |  Branch (2462:9): [True: 0, False: 9]
  |  Branch (2462:23): [True: 0, False: 9]
  ------------------
 2463|      9|        code >= end || end[-1] != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      9|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2463:9): [True: 0, False: 9]
  |  Branch (2463:24): [True: 0, False: 9]
  ------------------
 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|      9|    return _validate_inner(code, end-1, groups);
 2466|      9|}
sre.c:_validate_inner:
 2138|     49|{
 2139|       |    /* Some variables are manipulated by the macros above */
 2140|     49|    SRE_CODE op;
  ------------------
  |  |   18|     49|#define SRE_CODE Py_UCS4
  ------------------
 2141|     49|    SRE_CODE arg;
  ------------------
  |  |   18|     49|#define SRE_CODE Py_UCS4
  ------------------
 2142|     49|    SRE_CODE skip;
  ------------------
  |  |   18|     49|#define SRE_CODE Py_UCS4
  ------------------
 2143|       |
 2144|     49|    VTRACE(("code=%p, end=%p\n", code, end));
  ------------------
  |  | 1957|     49|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1957:31): [Folded, False: 49]
  |  |  ------------------
  ------------------
 2145|       |
 2146|     49|    if (code > end)
  ------------------
  |  Branch (2146:9): [True: 0, False: 49]
  ------------------
 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|    200|    while (code < end) {
  ------------------
  |  Branch (2149:12): [True: 151, False: 49]
  ------------------
 2150|    151|        GET_OP;
  ------------------
  |  | 1965|    151|    do {                                                \
  |  | 1966|    151|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|    151|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 151]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1967|    151|        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: 151]
  |  |  ------------------
  |  | 1968|    151|        op = *code++;                                   \
  |  | 1969|    151|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1957|    151|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 151]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|    151|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1970:14): [Folded, False: 151]
  |  |  ------------------
  ------------------
 2151|    151|        switch (op) {
 2152|       |
 2153|     44|        case SRE_OP_MARK:
  ------------------
  |  |   32|     44|#define SRE_OP_MARK 17
  ------------------
  |  Branch (2153:9): [True: 44, False: 107]
  ------------------
 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|     44|            GET_ARG;
  ------------------
  |  | 1972|     44|    do {                                                \
  |  | 1973|     44|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|     44|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|     44|        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: 44]
  |  |  ------------------
  |  | 1975|     44|        arg = *code++;                                  \
  |  | 1976|     44|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|     44|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2158|     44|            if (arg >= 2 * (size_t)groups) {
  ------------------
  |  Branch (2158:17): [True: 0, False: 44]
  ------------------
 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|     44|            break;
 2163|       |
 2164|     44|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|     16|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (2164:9): [True: 16, False: 135]
  ------------------
 2165|     16|        case SRE_OP_NOT_LITERAL:
  ------------------
  |  |   35|     16|#define SRE_OP_NOT_LITERAL 20
  ------------------
  |  Branch (2165:9): [True: 0, False: 151]
  ------------------
 2166|     16|        case SRE_OP_LITERAL_IGNORE:
  ------------------
  |  |   47|     16|#define SRE_OP_LITERAL_IGNORE 32
  ------------------
  |  Branch (2166:9): [True: 0, False: 151]
  ------------------
 2167|     16|        case SRE_OP_NOT_LITERAL_IGNORE:
  ------------------
  |  |   48|     16|#define SRE_OP_NOT_LITERAL_IGNORE 33
  ------------------
  |  Branch (2167:9): [True: 0, False: 151]
  ------------------
 2168|     25|        case SRE_OP_LITERAL_UNI_IGNORE:
  ------------------
  |  |   55|     25|#define SRE_OP_LITERAL_UNI_IGNORE 40
  ------------------
  |  Branch (2168:9): [True: 9, False: 142]
  ------------------
 2169|     25|        case SRE_OP_NOT_LITERAL_UNI_IGNORE:
  ------------------
  |  |   56|     25|#define SRE_OP_NOT_LITERAL_UNI_IGNORE 41
  ------------------
  |  Branch (2169:9): [True: 0, False: 151]
  ------------------
 2170|     25|        case SRE_OP_LITERAL_LOC_IGNORE:
  ------------------
  |  |   51|     25|#define SRE_OP_LITERAL_LOC_IGNORE 36
  ------------------
  |  Branch (2170:9): [True: 0, False: 151]
  ------------------
 2171|     25|        case SRE_OP_NOT_LITERAL_LOC_IGNORE:
  ------------------
  |  |   52|     25|#define SRE_OP_NOT_LITERAL_LOC_IGNORE 37
  ------------------
  |  Branch (2171:9): [True: 0, False: 151]
  ------------------
 2172|     25|            GET_ARG;
  ------------------
  |  | 1972|     25|    do {                                                \
  |  | 1973|     25|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|     25|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 25]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|     25|        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: 25]
  |  |  ------------------
  |  | 1975|     25|        arg = *code++;                                  \
  |  | 1976|     25|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|     25|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 25]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|     25|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 25]
  |  |  ------------------
  ------------------
 2173|       |            /* The arg is just a character, nothing to check */
 2174|     25|            break;
 2175|       |
 2176|     25|        case SRE_OP_SUCCESS:
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2176:9): [True: 0, False: 151]
  ------------------
 2177|      0|        case SRE_OP_FAILURE:
  ------------------
  |  |   15|      0|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2177:9): [True: 0, False: 151]
  ------------------
 2178|       |            /* Nothing to check; these normally end the matching process */
 2179|      0|            break;
 2180|       |
 2181|      8|        case SRE_OP_AT:
  ------------------
  |  |   21|      8|#define SRE_OP_AT 6
  ------------------
  |  Branch (2181:9): [True: 8, False: 143]
  ------------------
 2182|      8|            GET_ARG;
  ------------------
  |  | 1972|      8|    do {                                                \
  |  | 1973|      8|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      8|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      8|        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: 8]
  |  |  ------------------
  |  | 1975|      8|        arg = *code++;                                  \
  |  | 1976|      8|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      8|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2183|      8|            switch (arg) {
 2184|      2|            case SRE_AT_BEGINNING:
  ------------------
  |  |   58|      2|#define SRE_AT_BEGINNING 0
  ------------------
  |  Branch (2184:13): [True: 2, False: 6]
  ------------------
 2185|      3|            case SRE_AT_BEGINNING_STRING:
  ------------------
  |  |   60|      3|#define SRE_AT_BEGINNING_STRING 2
  ------------------
  |  Branch (2185:13): [True: 1, False: 7]
  ------------------
 2186|      3|            case SRE_AT_BEGINNING_LINE:
  ------------------
  |  |   59|      3|#define SRE_AT_BEGINNING_LINE 1
  ------------------
  |  Branch (2186:13): [True: 0, False: 8]
  ------------------
 2187|      6|            case SRE_AT_END:
  ------------------
  |  |   63|      6|#define SRE_AT_END 5
  ------------------
  |  Branch (2187:13): [True: 3, False: 5]
  ------------------
 2188|      6|            case SRE_AT_END_LINE:
  ------------------
  |  |   64|      6|#define SRE_AT_END_LINE 6
  ------------------
  |  Branch (2188:13): [True: 0, False: 8]
  ------------------
 2189|      8|            case SRE_AT_END_STRING:
  ------------------
  |  |   65|      8|#define SRE_AT_END_STRING 7
  ------------------
  |  Branch (2189:13): [True: 2, False: 6]
  ------------------
 2190|      8|            case SRE_AT_BOUNDARY:
  ------------------
  |  |   61|      8|#define SRE_AT_BOUNDARY 3
  ------------------
  |  Branch (2190:13): [True: 0, False: 8]
  ------------------
 2191|      8|            case SRE_AT_NON_BOUNDARY:
  ------------------
  |  |   62|      8|#define SRE_AT_NON_BOUNDARY 4
  ------------------
  |  Branch (2191:13): [True: 0, False: 8]
  ------------------
 2192|      8|            case SRE_AT_LOC_BOUNDARY:
  ------------------
  |  |   66|      8|#define SRE_AT_LOC_BOUNDARY 8
  ------------------
  |  Branch (2192:13): [True: 0, False: 8]
  ------------------
 2193|      8|            case SRE_AT_LOC_NON_BOUNDARY:
  ------------------
  |  |   67|      8|#define SRE_AT_LOC_NON_BOUNDARY 9
  ------------------
  |  Branch (2193:13): [True: 0, False: 8]
  ------------------
 2194|      8|            case SRE_AT_UNI_BOUNDARY:
  ------------------
  |  |   68|      8|#define SRE_AT_UNI_BOUNDARY 10
  ------------------
  |  Branch (2194:13): [True: 0, False: 8]
  ------------------
 2195|      8|            case SRE_AT_UNI_NON_BOUNDARY:
  ------------------
  |  |   69|      8|#define SRE_AT_UNI_NON_BOUNDARY 11
  ------------------
  |  Branch (2195:13): [True: 0, False: 8]
  ------------------
 2196|      8|                break;
 2197|      0|            default:
  ------------------
  |  Branch (2197:13): [True: 0, False: 8]
  ------------------
 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|      8|            }
 2200|      8|            break;
 2201|       |
 2202|      8|        case SRE_OP_CATEGORY:
  ------------------
  |  |   23|      8|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (2202:9): [True: 8, False: 143]
  ------------------
 2203|      8|            GET_ARG;
  ------------------
  |  | 1972|      8|    do {                                                \
  |  | 1973|      8|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      8|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      8|        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: 8]
  |  |  ------------------
  |  | 1975|      8|        arg = *code++;                                  \
  |  | 1976|      8|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      8|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2204|      8|            if (!_validate_category(arg)) {
  ------------------
  |  Branch (2204:17): [True: 0, False: 8]
  ------------------
 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|      8|            break;
 2208|       |
 2209|      8|        case SRE_OP_ANY:
  ------------------
  |  |   17|      1|#define SRE_OP_ANY 2
  ------------------
  |  Branch (2209:9): [True: 1, False: 150]
  ------------------
 2210|      2|        case SRE_OP_ANY_ALL:
  ------------------
  |  |   18|      2|#define SRE_OP_ANY_ALL 3
  ------------------
  |  Branch (2210:9): [True: 1, False: 150]
  ------------------
 2211|       |            /* These have no operands */
 2212|      2|            break;
 2213|       |
 2214|     15|        case SRE_OP_IN:
  ------------------
  |  |   28|     15|#define SRE_OP_IN 13
  ------------------
  |  Branch (2214:9): [True: 15, False: 136]
  ------------------
 2215|     15|        case SRE_OP_IN_IGNORE:
  ------------------
  |  |   46|     15|#define SRE_OP_IN_IGNORE 31
  ------------------
  |  Branch (2215:9): [True: 0, False: 151]
  ------------------
 2216|     19|        case SRE_OP_IN_UNI_IGNORE:
  ------------------
  |  |   54|     19|#define SRE_OP_IN_UNI_IGNORE 39
  ------------------
  |  Branch (2216:9): [True: 4, False: 147]
  ------------------
 2217|     19|        case SRE_OP_IN_LOC_IGNORE:
  ------------------
  |  |   50|     19|#define SRE_OP_IN_LOC_IGNORE 35
  ------------------
  |  Branch (2217:9): [True: 0, False: 151]
  ------------------
 2218|     19|            GET_SKIP;
  ------------------
  |  | 1989|     19|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1979|     19|    do {                                                \
  |  |  |  | 1980|     19|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|     19|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 19]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1981|     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 (1981:13): [True: 0, False: 19]
  |  |  |  |  ------------------
  |  |  |  | 1982|     19|        skip = *code;                                   \
  |  |  |  | 1983|     19|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|     19|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 19]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1984|     19|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1985|     19|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1985:13): [True: 0, False: 19]
  |  |  |  |  ------------------
  |  |  |  | 1986|     19|            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|     19|        code++;                                         \
  |  |  |  | 1988|     19|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1988:14): [Folded, False: 19]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2219|       |            /* Stop 1 before the end; we check the FAILURE below */
 2220|     19|            if (_validate_charset(code, code+skip-2))
  ------------------
  |  Branch (2220:17): [True: 0, False: 19]
  ------------------
 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|     19|            if (code[skip-2] != SRE_OP_FAILURE)
  ------------------
  |  |   15|     19|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2222:17): [True: 0, False: 19]
  ------------------
 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|     19|            code += skip-1;
 2225|     19|            break;
 2226|       |
 2227|      9|        case SRE_OP_INFO:
  ------------------
  |  |   29|      9|#define SRE_OP_INFO 14
  ------------------
  |  Branch (2227:9): [True: 9, False: 142]
  ------------------
 2228|      9|            {
 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|      9|                SRE_CODE flags, i;
  ------------------
  |  |   18|      9|#define SRE_CODE Py_UCS4
  ------------------
 2234|      9|                SRE_CODE *newcode;
  ------------------
  |  |   18|      9|#define SRE_CODE Py_UCS4
  ------------------
 2235|      9|                GET_SKIP;
  ------------------
  |  | 1989|      9|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1979|      9|    do {                                                \
  |  |  |  | 1980|      9|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 9]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1981|      9|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  |  | 1982|      9|        skip = *code;                                   \
  |  |  |  | 1983|      9|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 9]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1984|      9|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1985|      9|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1985:13): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  |  | 1986|      9|            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|      9|        code++;                                         \
  |  |  |  | 1988|      9|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1988:14): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2236|      9|                newcode = code+skip-1;
 2237|      9|                GET_ARG; flags = arg;
  ------------------
  |  | 1972|      9|    do {                                                \
  |  | 1973|      9|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      9|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 9]
  |  |  ------------------
  |  | 1975|      9|        arg = *code++;                                  \
  |  | 1976|      9|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 2238|      9|                GET_ARG;
  ------------------
  |  | 1972|      9|    do {                                                \
  |  | 1973|      9|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      9|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 9]
  |  |  ------------------
  |  | 1975|      9|        arg = *code++;                                  \
  |  | 1976|      9|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 2239|      9|                GET_ARG;
  ------------------
  |  | 1972|      9|    do {                                                \
  |  | 1973|      9|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      9|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 9]
  |  |  ------------------
  |  | 1975|      9|        arg = *code++;                                  \
  |  | 1976|      9|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 2240|       |                /* Check that only valid flags are present */
 2241|      9|                if ((flags & ~(SRE_INFO_PREFIX |
  ------------------
  |  |  146|      9|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2241:21): [True: 0, False: 9]
  ------------------
 2242|      9|                               SRE_INFO_LITERAL |
  ------------------
  |  |  147|      9|#define SRE_INFO_LITERAL 2
  ------------------
 2243|      9|                               SRE_INFO_CHARSET)) != 0)
  ------------------
  |  |  148|      9|#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|      9|                if ((flags & SRE_INFO_PREFIX) &&
  ------------------
  |  |  146|      9|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2246:21): [True: 1, False: 8]
  ------------------
 2247|      1|                    (flags & SRE_INFO_CHARSET))
  ------------------
  |  |  148|      1|#define SRE_INFO_CHARSET 4
  ------------------
  |  Branch (2247:21): [True: 0, False: 1]
  ------------------
 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|      9|                if ((flags & SRE_INFO_LITERAL) &&
  ------------------
  |  |  147|      9|#define SRE_INFO_LITERAL 2
  ------------------
  |  Branch (2250:21): [True: 0, False: 9]
  ------------------
 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|      9|                if (flags & SRE_INFO_PREFIX) {
  ------------------
  |  |  146|      9|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2254:21): [True: 1, False: 8]
  ------------------
 2255|      1|                    SRE_CODE prefix_len;
  ------------------
  |  |   18|      1|#define SRE_CODE Py_UCS4
  ------------------
 2256|      1|                    GET_ARG; prefix_len = 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]
  |  |  ------------------
  ------------------
 2257|      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]
  |  |  ------------------
  ------------------
 2258|       |                    /* Here comes the prefix string */
 2259|      1|                    if (prefix_len > (uintptr_t)(newcode - code))
  ------------------
  |  Branch (2259:25): [True: 0, False: 1]
  ------------------
 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|      1|                    code += prefix_len;
 2262|       |                    /* And here comes the overlap table */
 2263|      1|                    if (prefix_len > (uintptr_t)(newcode - code))
  ------------------
  |  Branch (2263:25): [True: 0, False: 1]
  ------------------
 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|      2|                    for (i = 0; i < prefix_len; i++) {
  ------------------
  |  Branch (2266:33): [True: 1, False: 1]
  ------------------
 2267|      1|                        if (code[i] >= prefix_len)
  ------------------
  |  Branch (2267:29): [True: 0, False: 1]
  ------------------
 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|      1|                    }
 2270|      1|                    code += prefix_len;
 2271|      1|                }
 2272|       |                /* Validate the charset */
 2273|      9|                if (flags & SRE_INFO_CHARSET) {
  ------------------
  |  |  148|      9|#define SRE_INFO_CHARSET 4
  ------------------
  |  Branch (2273:21): [True: 1, False: 8]
  ------------------
 2274|      1|                    if (_validate_charset(code, newcode-1))
  ------------------
  |  Branch (2274:25): [True: 0, False: 1]
  ------------------
 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|      1|                    if (newcode[-1] != SRE_OP_FAILURE)
  ------------------
  |  |   15|      1|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2276:25): [True: 0, False: 1]
  ------------------
 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|      1|                    code = newcode;
 2279|      1|                }
 2280|      8|                else if (code != newcode) {
  ------------------
  |  Branch (2280:26): [True: 0, False: 8]
  ------------------
 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|      9|            }
 2285|      9|            break;
 2286|       |
 2287|      9|        case SRE_OP_BRANCH:
  ------------------
  |  |   22|      3|#define SRE_OP_BRANCH 7
  ------------------
  |  Branch (2287:9): [True: 3, False: 148]
  ------------------
 2288|      3|            {
 2289|      3|                SRE_CODE *target = NULL;
  ------------------
  |  |   18|      3|#define SRE_CODE Py_UCS4
  ------------------
 2290|     10|                for (;;) {
 2291|     10|                    GET_SKIP;
  ------------------
  |  | 1989|     10|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1979|     10|    do {                                                \
  |  |  |  | 1980|     10|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|     10|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 10]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1981|     10|        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: 10]
  |  |  |  |  ------------------
  |  |  |  | 1982|     10|        skip = *code;                                   \
  |  |  |  | 1983|     10|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|     10|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 10]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1984|     10|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1985|     10|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1985:13): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  | 1986|     10|            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|     10|        code++;                                         \
  |  |  |  | 1988|     10|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1988:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2292|     10|                    if (skip == 0)
  ------------------
  |  Branch (2292:25): [True: 3, False: 7]
  ------------------
 2293|      3|                        break;
 2294|       |                    /* Stop 2 before the end; we check the JUMP below */
 2295|      7|                    if (_validate_inner(code, code+skip-3, groups))
  ------------------
  |  Branch (2295:25): [True: 0, False: 7]
  ------------------
 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|      7|                    code += skip-3;
 2298|       |                    /* Check that it ends with a JUMP, and that each JUMP
 2299|       |                       has the same target */
 2300|      7|                    GET_OP;
  ------------------
  |  | 1965|      7|    do {                                                \
  |  | 1966|      7|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      7|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1967|      7|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1967:13): [True: 0, False: 7]
  |  |  ------------------
  |  | 1968|      7|        op = *code++;                                   \
  |  | 1969|      7|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1957|      7|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1970:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 2301|      7|                    if (op != SRE_OP_JUMP)
  ------------------
  |  |   30|      7|#define SRE_OP_JUMP 15
  ------------------
  |  Branch (2301:25): [True: 0, False: 7]
  ------------------
 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|      7|                    GET_SKIP;
  ------------------
  |  | 1989|      7|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1979|      7|    do {                                                \
  |  |  |  | 1980|      7|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      7|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 7]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1981|      7|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1981:13): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  |  | 1982|      7|        skip = *code;                                   \
  |  |  |  | 1983|      7|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      7|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 7]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1984|      7|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1985|      7|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1985:13): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  |  | 1986|      7|            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|      7|        code++;                                         \
  |  |  |  | 1988|      7|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1988:14): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2304|      7|                    if (target == NULL)
  ------------------
  |  Branch (2304:25): [True: 3, False: 4]
  ------------------
 2305|      3|                        target = code+skip-1;
 2306|      4|                    else if (code+skip-1 != target)
  ------------------
  |  Branch (2306:30): [True: 0, False: 4]
  ------------------
 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|      7|                }
 2309|      3|                if (code != target)
  ------------------
  |  Branch (2309:21): [True: 0, False: 3]
  ------------------
 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|      3|            }
 2312|      3|            break;
 2313|       |
 2314|     13|        case SRE_OP_REPEAT_ONE:
  ------------------
  |  |   39|     13|#define SRE_OP_REPEAT_ONE 24
  ------------------
  |  Branch (2314:9): [True: 13, False: 138]
  ------------------
 2315|     14|        case SRE_OP_MIN_REPEAT_ONE:
  ------------------
  |  |   41|     14|#define SRE_OP_MIN_REPEAT_ONE 26
  ------------------
  |  Branch (2315:9): [True: 1, False: 150]
  ------------------
 2316|     14|        case SRE_OP_POSSESSIVE_REPEAT_ONE:
  ------------------
  |  |   44|     14|#define SRE_OP_POSSESSIVE_REPEAT_ONE 29
  ------------------
  |  Branch (2316:9): [True: 0, False: 151]
  ------------------
 2317|     14|            {
 2318|     14|                SRE_CODE min, max;
  ------------------
  |  |   18|     14|#define SRE_CODE Py_UCS4
  ------------------
 2319|     14|                GET_SKIP;
  ------------------
  |  | 1989|     14|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1979|     14|    do {                                                \
  |  |  |  | 1980|     14|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1981|     14|        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: 14]
  |  |  |  |  ------------------
  |  |  |  | 1982|     14|        skip = *code;                                   \
  |  |  |  | 1983|     14|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1984|     14|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1985|     14|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1985:13): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  | 1986|     14|            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|     14|        code++;                                         \
  |  |  |  | 1988|     14|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1988:14): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2320|     14|                GET_ARG; min = arg;
  ------------------
  |  | 1972|     14|    do {                                                \
  |  | 1973|     14|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|     14|        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: 14]
  |  |  ------------------
  |  | 1975|     14|        arg = *code++;                                  \
  |  | 1976|     14|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2321|     14|                GET_ARG; max = arg;
  ------------------
  |  | 1972|     14|    do {                                                \
  |  | 1973|     14|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|     14|        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: 14]
  |  |  ------------------
  |  | 1975|     14|        arg = *code++;                                  \
  |  | 1976|     14|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2322|     14|                if (min > max)
  ------------------
  |  Branch (2322:21): [True: 0, False: 14]
  ------------------
 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|     14|                if (max > SRE_MAXREPEAT)
  ------------------
  |  |   20|     14|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (2324:21): [True: 0, False: 14]
  ------------------
 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|     14|                if (_validate_inner(code, code+skip-4, groups))
  ------------------
  |  Branch (2326:21): [True: 0, False: 14]
  ------------------
 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|     14|                code += skip-4;
 2329|     14|                GET_OP;
  ------------------
  |  | 1965|     14|    do {                                                \
  |  | 1966|     14|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1967|     14|        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: 14]
  |  |  ------------------
  |  | 1968|     14|        op = *code++;                                   \
  |  | 1969|     14|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1957|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1970:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2330|     14|                if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|     14|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2330:21): [True: 0, False: 14]
  ------------------
 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|     14|            }
 2333|     14|            break;
 2334|       |
 2335|     17|        case SRE_OP_REPEAT:
  ------------------
  |  |   38|     17|#define SRE_OP_REPEAT 23
  ------------------
  |  Branch (2335:9): [True: 17, False: 134]
  ------------------
 2336|     17|        case SRE_OP_POSSESSIVE_REPEAT:
  ------------------
  |  |   43|     17|#define SRE_OP_POSSESSIVE_REPEAT 28
  ------------------
  |  Branch (2336:9): [True: 0, False: 151]
  ------------------
 2337|     17|            {
 2338|     17|                SRE_CODE op1 = op, min, max;
  ------------------
  |  |   18|     17|#define SRE_CODE Py_UCS4
  ------------------
 2339|     17|                GET_SKIP;
  ------------------
  |  | 1989|     17|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1979|     17|    do {                                                \
  |  |  |  | 1980|     17|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|     17|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 17]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1981|     17|        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: 17]
  |  |  |  |  ------------------
  |  |  |  | 1982|     17|        skip = *code;                                   \
  |  |  |  | 1983|     17|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|     17|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 17]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1984|     17|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1985|     17|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1985:13): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  |  | 1986|     17|            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|     17|        code++;                                         \
  |  |  |  | 1988|     17|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1988:14): [Folded, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2340|     17|                GET_ARG; min = arg;
  ------------------
  |  | 1972|     17|    do {                                                \
  |  | 1973|     17|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|     17|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|     17|        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: 17]
  |  |  ------------------
  |  | 1975|     17|        arg = *code++;                                  \
  |  | 1976|     17|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|     17|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|     17|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 17]
  |  |  ------------------
  ------------------
 2341|     17|                GET_ARG; max = arg;
  ------------------
  |  | 1972|     17|    do {                                                \
  |  | 1973|     17|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|     17|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|     17|        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: 17]
  |  |  ------------------
  |  | 1975|     17|        arg = *code++;                                  \
  |  | 1976|     17|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|     17|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|     17|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 17]
  |  |  ------------------
  ------------------
 2342|     17|                if (min > max)
  ------------------
  |  Branch (2342:21): [True: 0, False: 17]
  ------------------
 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|     17|                if (max > SRE_MAXREPEAT)
  ------------------
  |  |   20|     17|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (2344:21): [True: 0, False: 17]
  ------------------
 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|     17|                if (_validate_inner(code, code+skip-3, groups))
  ------------------
  |  Branch (2346:21): [True: 0, False: 17]
  ------------------
 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|     17|                code += skip-3;
 2349|     17|                GET_OP;
  ------------------
  |  | 1965|     17|    do {                                                \
  |  | 1966|     17|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|     17|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1967|     17|        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: 17]
  |  |  ------------------
  |  | 1968|     17|        op = *code++;                                   \
  |  | 1969|     17|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1957|     17|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|     17|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1970:14): [Folded, False: 17]
  |  |  ------------------
  ------------------
 2350|     17|                if (op1 == SRE_OP_POSSESSIVE_REPEAT) {
  ------------------
  |  |   43|     17|#define SRE_OP_POSSESSIVE_REPEAT 28
  ------------------
  |  Branch (2350:21): [True: 0, False: 17]
  ------------------
 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|     17|                else {
 2355|     17|                    if (op != SRE_OP_MAX_UNTIL && op != SRE_OP_MIN_UNTIL)
  ------------------
  |  |   33|     34|#define SRE_OP_MAX_UNTIL 18
  ------------------
                                  if (op != SRE_OP_MAX_UNTIL && op != SRE_OP_MIN_UNTIL)
  ------------------
  |  |   34|      0|#define SRE_OP_MIN_UNTIL 19
  ------------------
  |  Branch (2355:25): [True: 0, False: 17]
  |  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|     17|                }
 2358|     17|            }
 2359|     17|            break;
 2360|       |
 2361|     17|        case SRE_OP_ATOMIC_GROUP:
  ------------------
  |  |   42|      0|#define SRE_OP_ATOMIC_GROUP 27
  ------------------
  |  Branch (2361:9): [True: 0, False: 151]
  ------------------
 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: 151]
  ------------------
 2374|      0|        case SRE_OP_GROUPREF_IGNORE:
  ------------------
  |  |   45|      0|#define SRE_OP_GROUPREF_IGNORE 30
  ------------------
  |  Branch (2374:9): [True: 0, False: 151]
  ------------------
 2375|      0|        case SRE_OP_GROUPREF_UNI_IGNORE:
  ------------------
  |  |   53|      0|#define SRE_OP_GROUPREF_UNI_IGNORE 38
  ------------------
  |  Branch (2375:9): [True: 0, False: 151]
  ------------------
 2376|      0|        case SRE_OP_GROUPREF_LOC_IGNORE:
  ------------------
  |  |   49|      0|#define SRE_OP_GROUPREF_LOC_IGNORE 34
  ------------------
  |  Branch (2376:9): [True: 0, False: 151]
  ------------------
 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: 151]
  ------------------
 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|      2|        case SRE_OP_ASSERT:
  ------------------
  |  |   19|      2|#define SRE_OP_ASSERT 4
  ------------------
  |  Branch (2429:9): [True: 2, False: 149]
  ------------------
 2430|      2|        case SRE_OP_ASSERT_NOT:
  ------------------
  |  |   20|      2|#define SRE_OP_ASSERT_NOT 5
  ------------------
  |  Branch (2430:9): [True: 0, False: 151]
  ------------------
 2431|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2432|      2|            GET_ARG; /* 0 for lookahead, width for lookbehind */
  ------------------
  |  | 1972|      2|    do {                                                \
  |  | 1973|      2|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      2|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1975|      2|        arg = *code++;                                  \
  |  | 1976|      2|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2433|      2|            code--; /* Back up over arg to simplify math below */
 2434|       |            /* Stop 1 before the end; we check the SUCCESS below */
 2435|      2|            if (_validate_inner(code+1, code+skip-2, groups))
  ------------------
  |  Branch (2435:17): [True: 0, False: 2]
  ------------------
 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|      2|            code += skip-2;
 2438|      2|            GET_OP;
  ------------------
  |  | 1965|      2|    do {                                                \
  |  | 1966|      2|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1967|      2|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1967:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1968|      2|        op = *code++;                                   \
  |  | 1969|      2|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1970:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2439|      2|            if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      2|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2439:17): [True: 0, False: 2]
  ------------------
 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|      2|            break;
 2442|       |
 2443|      2|        case SRE_OP_JUMP:
  ------------------
  |  |   30|      0|#define SRE_OP_JUMP 15
  ------------------
  |  Branch (2443:9): [True: 0, False: 151]
  ------------------
 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: 151]
  ------------------
 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|    151|        }
 2453|    151|    }
 2454|       |
 2455|     49|    VTRACE(("okay\n"));
  ------------------
  |  | 1957|     49|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1957:31): [Folded, False: 49]
  |  |  ------------------
  ------------------
 2456|     49|    return 0;
 2457|     49|}
sre.c:_validate_category:
 1993|     10|{
 1994|     10|    switch (arg) {
 1995|      0|    case SRE_CATEGORY_DIGIT:
  ------------------
  |  |   70|      0|#define SRE_CATEGORY_DIGIT 0
  ------------------
  |  Branch (1995:5): [True: 0, False: 10]
  ------------------
 1996|      0|    case SRE_CATEGORY_NOT_DIGIT:
  ------------------
  |  |   71|      0|#define SRE_CATEGORY_NOT_DIGIT 1
  ------------------
  |  Branch (1996:5): [True: 0, False: 10]
  ------------------
 1997|      0|    case SRE_CATEGORY_SPACE:
  ------------------
  |  |   72|      0|#define SRE_CATEGORY_SPACE 2
  ------------------
  |  Branch (1997:5): [True: 0, False: 10]
  ------------------
 1998|      0|    case SRE_CATEGORY_NOT_SPACE:
  ------------------
  |  |   73|      0|#define SRE_CATEGORY_NOT_SPACE 3
  ------------------
  |  Branch (1998:5): [True: 0, False: 10]
  ------------------
 1999|      1|    case SRE_CATEGORY_WORD:
  ------------------
  |  |   74|      1|#define SRE_CATEGORY_WORD 4
  ------------------
  |  Branch (1999:5): [True: 1, False: 9]
  ------------------
 2000|      1|    case SRE_CATEGORY_NOT_WORD:
  ------------------
  |  |   75|      1|#define SRE_CATEGORY_NOT_WORD 5
  ------------------
  |  Branch (2000:5): [True: 0, False: 10]
  ------------------
 2001|      1|    case SRE_CATEGORY_LINEBREAK:
  ------------------
  |  |   76|      1|#define SRE_CATEGORY_LINEBREAK 6
  ------------------
  |  Branch (2001:5): [True: 0, False: 10]
  ------------------
 2002|      1|    case SRE_CATEGORY_NOT_LINEBREAK:
  ------------------
  |  |   77|      1|#define SRE_CATEGORY_NOT_LINEBREAK 7
  ------------------
  |  Branch (2002:5): [True: 0, False: 10]
  ------------------
 2003|      1|    case SRE_CATEGORY_LOC_WORD:
  ------------------
  |  |   78|      1|#define SRE_CATEGORY_LOC_WORD 8
  ------------------
  |  Branch (2003:5): [True: 0, False: 10]
  ------------------
 2004|      1|    case SRE_CATEGORY_LOC_NOT_WORD:
  ------------------
  |  |   79|      1|#define SRE_CATEGORY_LOC_NOT_WORD 9
  ------------------
  |  Branch (2004:5): [True: 0, False: 10]
  ------------------
 2005|     10|    case SRE_CATEGORY_UNI_DIGIT:
  ------------------
  |  |   80|     10|#define SRE_CATEGORY_UNI_DIGIT 10
  ------------------
  |  Branch (2005:5): [True: 9, False: 1]
  ------------------
 2006|     10|    case SRE_CATEGORY_UNI_NOT_DIGIT:
  ------------------
  |  |   81|     10|#define SRE_CATEGORY_UNI_NOT_DIGIT 11
  ------------------
  |  Branch (2006:5): [True: 0, False: 10]
  ------------------
 2007|     10|    case SRE_CATEGORY_UNI_SPACE:
  ------------------
  |  |   82|     10|#define SRE_CATEGORY_UNI_SPACE 12
  ------------------
  |  Branch (2007:5): [True: 0, False: 10]
  ------------------
 2008|     10|    case SRE_CATEGORY_UNI_NOT_SPACE:
  ------------------
  |  |   83|     10|#define SRE_CATEGORY_UNI_NOT_SPACE 13
  ------------------
  |  Branch (2008:5): [True: 0, False: 10]
  ------------------
 2009|     10|    case SRE_CATEGORY_UNI_WORD:
  ------------------
  |  |   84|     10|#define SRE_CATEGORY_UNI_WORD 14
  ------------------
  |  Branch (2009:5): [True: 0, False: 10]
  ------------------
 2010|     10|    case SRE_CATEGORY_UNI_NOT_WORD:
  ------------------
  |  |   85|     10|#define SRE_CATEGORY_UNI_NOT_WORD 15
  ------------------
  |  Branch (2010:5): [True: 0, False: 10]
  ------------------
 2011|     10|    case SRE_CATEGORY_UNI_LINEBREAK:
  ------------------
  |  |   86|     10|#define SRE_CATEGORY_UNI_LINEBREAK 16
  ------------------
  |  Branch (2011:5): [True: 0, False: 10]
  ------------------
 2012|     10|    case SRE_CATEGORY_UNI_NOT_LINEBREAK:
  ------------------
  |  |   87|     10|#define SRE_CATEGORY_UNI_NOT_LINEBREAK 17
  ------------------
  |  Branch (2012:5): [True: 0, False: 10]
  ------------------
 2013|     10|    case SRE_CATEGORY_ALPHA:
  ------------------
  |  |   88|     10|#define SRE_CATEGORY_ALPHA 18
  ------------------
  |  Branch (2013:5): [True: 0, False: 10]
  ------------------
 2014|     10|    case SRE_CATEGORY_NOT_ALPHA:
  ------------------
  |  |   89|     10|#define SRE_CATEGORY_NOT_ALPHA 19
  ------------------
  |  Branch (2014:5): [True: 0, False: 10]
  ------------------
 2015|     10|    case SRE_CATEGORY_LOWER:
  ------------------
  |  |   90|     10|#define SRE_CATEGORY_LOWER 20
  ------------------
  |  Branch (2015:5): [True: 0, False: 10]
  ------------------
 2016|     10|    case SRE_CATEGORY_NOT_LOWER:
  ------------------
  |  |   91|     10|#define SRE_CATEGORY_NOT_LOWER 21
  ------------------
  |  Branch (2016:5): [True: 0, False: 10]
  ------------------
 2017|     10|    case SRE_CATEGORY_UPPER:
  ------------------
  |  |   92|     10|#define SRE_CATEGORY_UPPER 22
  ------------------
  |  Branch (2017:5): [True: 0, False: 10]
  ------------------
 2018|     10|    case SRE_CATEGORY_NOT_UPPER:
  ------------------
  |  |   93|     10|#define SRE_CATEGORY_NOT_UPPER 23
  ------------------
  |  Branch (2018:5): [True: 0, False: 10]
  ------------------
 2019|     10|    case SRE_CATEGORY_NUMERIC:
  ------------------
  |  |   94|     10|#define SRE_CATEGORY_NUMERIC 24
  ------------------
  |  Branch (2019:5): [True: 0, False: 10]
  ------------------
 2020|     10|    case SRE_CATEGORY_NOT_NUMERIC:
  ------------------
  |  |   95|     10|#define SRE_CATEGORY_NOT_NUMERIC 25
  ------------------
  |  Branch (2020:5): [True: 0, False: 10]
  ------------------
 2021|     10|    case SRE_CATEGORY_PRINTABLE:
  ------------------
  |  |   96|     10|#define SRE_CATEGORY_PRINTABLE 26
  ------------------
  |  Branch (2021:5): [True: 0, False: 10]
  ------------------
 2022|     10|    case SRE_CATEGORY_NOT_PRINTABLE:
  ------------------
  |  |   97|     10|#define SRE_CATEGORY_NOT_PRINTABLE 27
  ------------------
  |  Branch (2022:5): [True: 0, False: 10]
  ------------------
 2023|     10|    case SRE_CATEGORY_ALNUM:
  ------------------
  |  |   98|     10|#define SRE_CATEGORY_ALNUM 28
  ------------------
  |  Branch (2023:5): [True: 0, False: 10]
  ------------------
 2024|     10|    case SRE_CATEGORY_NOT_ALNUM:
  ------------------
  |  |   99|     10|#define SRE_CATEGORY_NOT_ALNUM 29
  ------------------
  |  Branch (2024:5): [True: 0, False: 10]
  ------------------
 2025|     10|    case SRE_CATEGORY_XID_START:
  ------------------
  |  |  100|     10|#define SRE_CATEGORY_XID_START 30
  ------------------
  |  Branch (2025:5): [True: 0, False: 10]
  ------------------
 2026|     10|    case SRE_CATEGORY_NOT_XID_START:
  ------------------
  |  |  101|     10|#define SRE_CATEGORY_NOT_XID_START 31
  ------------------
  |  Branch (2026:5): [True: 0, False: 10]
  ------------------
 2027|     10|    case SRE_CATEGORY_XID_CONTINUE:
  ------------------
  |  |  102|     10|#define SRE_CATEGORY_XID_CONTINUE 32
  ------------------
  |  Branch (2027:5): [True: 0, False: 10]
  ------------------
 2028|     10|    case SRE_CATEGORY_NOT_XID_CONTINUE:
  ------------------
  |  |  103|     10|#define SRE_CATEGORY_NOT_XID_CONTINUE 33
  ------------------
  |  Branch (2028:5): [True: 0, False: 10]
  ------------------
 2029|     10|    case SRE_CATEGORY_TITLE:
  ------------------
  |  |  104|     10|#define SRE_CATEGORY_TITLE 34
  ------------------
  |  Branch (2029:5): [True: 0, False: 10]
  ------------------
 2030|     10|    case SRE_CATEGORY_NOT_TITLE:
  ------------------
  |  |  105|     10|#define SRE_CATEGORY_NOT_TITLE 35
  ------------------
  |  Branch (2030:5): [True: 0, False: 10]
  ------------------
 2031|     10|    case SRE_CATEGORY_CASED:
  ------------------
  |  |  106|     10|#define SRE_CATEGORY_CASED 36
  ------------------
  |  Branch (2031:5): [True: 0, False: 10]
  ------------------
 2032|     10|    case SRE_CATEGORY_NOT_CASED:
  ------------------
  |  |  107|     10|#define SRE_CATEGORY_NOT_CASED 37
  ------------------
  |  Branch (2032:5): [True: 0, False: 10]
  ------------------
 2033|     10|    case SRE_CATEGORY_CASE_IGNORABLE:
  ------------------
  |  |  108|     10|#define SRE_CATEGORY_CASE_IGNORABLE 38
  ------------------
  |  Branch (2033:5): [True: 0, False: 10]
  ------------------
 2034|     10|    case SRE_CATEGORY_NOT_CASE_IGNORABLE:
  ------------------
  |  |  109|     10|#define SRE_CATEGORY_NOT_CASE_IGNORABLE 39
  ------------------
  |  Branch (2034:5): [True: 0, False: 10]
  ------------------
 2035|     10|    case SRE_CATEGORY_LU:
  ------------------
  |  |  110|     10|#define SRE_CATEGORY_LU 40
  ------------------
  |  Branch (2035:5): [True: 0, False: 10]
  ------------------
 2036|     10|    case SRE_CATEGORY_NOT_LU:
  ------------------
  |  |  111|     10|#define SRE_CATEGORY_NOT_LU 41
  ------------------
  |  Branch (2036:5): [True: 0, False: 10]
  ------------------
 2037|     10|    case SRE_CATEGORY_N:
  ------------------
  |  |  112|     10|#define SRE_CATEGORY_N 42
  ------------------
  |  Branch (2037:5): [True: 0, False: 10]
  ------------------
 2038|     10|    case SRE_CATEGORY_NOT_N:
  ------------------
  |  |  113|     10|#define SRE_CATEGORY_NOT_N 43
  ------------------
  |  Branch (2038:5): [True: 0, False: 10]
  ------------------
 2039|     10|    case SRE_CATEGORY_LM:
  ------------------
  |  |  114|     10|#define SRE_CATEGORY_LM 44
  ------------------
  |  Branch (2039:5): [True: 0, False: 10]
  ------------------
 2040|     10|    case SRE_CATEGORY_NOT_LM:
  ------------------
  |  |  115|     10|#define SRE_CATEGORY_NOT_LM 45
  ------------------
  |  Branch (2040:5): [True: 0, False: 10]
  ------------------
 2041|     10|    case SRE_CATEGORY_NL:
  ------------------
  |  |  116|     10|#define SRE_CATEGORY_NL 46
  ------------------
  |  Branch (2041:5): [True: 0, False: 10]
  ------------------
 2042|     10|    case SRE_CATEGORY_NOT_NL:
  ------------------
  |  |  117|     10|#define SRE_CATEGORY_NOT_NL 47
  ------------------
  |  Branch (2042:5): [True: 0, False: 10]
  ------------------
 2043|     10|    case SRE_CATEGORY_NO:
  ------------------
  |  |  118|     10|#define SRE_CATEGORY_NO 48
  ------------------
  |  Branch (2043:5): [True: 0, False: 10]
  ------------------
 2044|     10|    case SRE_CATEGORY_NOT_NO:
  ------------------
  |  |  119|     10|#define SRE_CATEGORY_NOT_NO 49
  ------------------
  |  Branch (2044:5): [True: 0, False: 10]
  ------------------
 2045|     10|    case SRE_CATEGORY_CF:
  ------------------
  |  |  120|     10|#define SRE_CATEGORY_CF 50
  ------------------
  |  Branch (2045:5): [True: 0, False: 10]
  ------------------
 2046|     10|    case SRE_CATEGORY_NOT_CF:
  ------------------
  |  |  121|     10|#define SRE_CATEGORY_NOT_CF 51
  ------------------
  |  Branch (2046:5): [True: 0, False: 10]
  ------------------
 2047|     10|    case SRE_CATEGORY_Z:
  ------------------
  |  |  122|     10|#define SRE_CATEGORY_Z 52
  ------------------
  |  Branch (2047:5): [True: 0, False: 10]
  ------------------
 2048|     10|    case SRE_CATEGORY_NOT_Z:
  ------------------
  |  |  123|     10|#define SRE_CATEGORY_NOT_Z 53
  ------------------
  |  Branch (2048:5): [True: 0, False: 10]
  ------------------
 2049|     10|    case SRE_CATEGORY_ZS:
  ------------------
  |  |  124|     10|#define SRE_CATEGORY_ZS 54
  ------------------
  |  Branch (2049:5): [True: 0, False: 10]
  ------------------
 2050|     10|    case SRE_CATEGORY_NOT_ZS:
  ------------------
  |  |  125|     10|#define SRE_CATEGORY_NOT_ZS 55
  ------------------
  |  Branch (2050:5): [True: 0, False: 10]
  ------------------
 2051|     10|    case SRE_CATEGORY_C:
  ------------------
  |  |  126|     10|#define SRE_CATEGORY_C 56
  ------------------
  |  Branch (2051:5): [True: 0, False: 10]
  ------------------
 2052|     10|    case SRE_CATEGORY_NOT_C:
  ------------------
  |  |  127|     10|#define SRE_CATEGORY_NOT_C 57
  ------------------
  |  Branch (2052:5): [True: 0, False: 10]
  ------------------
 2053|     10|    case SRE_CATEGORY_CN:
  ------------------
  |  |  128|     10|#define SRE_CATEGORY_CN 58
  ------------------
  |  Branch (2053:5): [True: 0, False: 10]
  ------------------
 2054|     10|    case SRE_CATEGORY_NOT_CN:
  ------------------
  |  |  129|     10|#define SRE_CATEGORY_NOT_CN 59
  ------------------
  |  Branch (2054:5): [True: 0, False: 10]
  ------------------
 2055|     10|    case SRE_CATEGORY_ASSIGNED:
  ------------------
  |  |  130|     10|#define SRE_CATEGORY_ASSIGNED 60
  ------------------
  |  Branch (2055:5): [True: 0, False: 10]
  ------------------
 2056|     10|    case SRE_CATEGORY_NOT_ASSIGNED:
  ------------------
  |  |  131|     10|#define SRE_CATEGORY_NOT_ASSIGNED 61
  ------------------
  |  Branch (2056:5): [True: 0, False: 10]
  ------------------
 2057|     10|    case SRE_CATEGORY_BLANK:
  ------------------
  |  |  132|     10|#define SRE_CATEGORY_BLANK 62
  ------------------
  |  Branch (2057:5): [True: 0, False: 10]
  ------------------
 2058|     10|    case SRE_CATEGORY_NOT_BLANK:
  ------------------
  |  |  133|     10|#define SRE_CATEGORY_NOT_BLANK 63
  ------------------
  |  Branch (2058:5): [True: 0, False: 10]
  ------------------
 2059|     10|    case SRE_CATEGORY_GRAPH:
  ------------------
  |  |  134|     10|#define SRE_CATEGORY_GRAPH 64
  ------------------
  |  Branch (2059:5): [True: 0, False: 10]
  ------------------
 2060|     10|    case SRE_CATEGORY_NOT_GRAPH:
  ------------------
  |  |  135|     10|#define SRE_CATEGORY_NOT_GRAPH 65
  ------------------
  |  Branch (2060:5): [True: 0, False: 10]
  ------------------
 2061|     10|    case SRE_CATEGORY_PRINT:
  ------------------
  |  |  136|     10|#define SRE_CATEGORY_PRINT 66
  ------------------
  |  Branch (2061:5): [True: 0, False: 10]
  ------------------
 2062|     10|    case SRE_CATEGORY_NOT_PRINT:
  ------------------
  |  |  137|     10|#define SRE_CATEGORY_NOT_PRINT 67
  ------------------
  |  Branch (2062:5): [True: 0, False: 10]
  ------------------
 2063|     10|        return 1;
 2064|      0|    default:
  ------------------
  |  Branch (2064:5): [True: 0, False: 10]
  ------------------
 2065|      0|        return 0;
 2066|     10|    }
 2067|     10|}
sre.c:_validate_charset:
 2071|     20|{
 2072|       |    /* Some variables are manipulated by the macros above */
 2073|     20|    SRE_CODE op;
  ------------------
  |  |   18|     20|#define SRE_CODE Py_UCS4
  ------------------
 2074|     20|    SRE_CODE arg;
  ------------------
  |  |   18|     20|#define SRE_CODE Py_UCS4
  ------------------
 2075|     20|    SRE_CODE offset;
  ------------------
  |  |   18|     20|#define SRE_CODE Py_UCS4
  ------------------
 2076|     20|    int i;
 2077|       |
 2078|     54|    while (code < end) {
  ------------------
  |  Branch (2078:12): [True: 34, False: 20]
  ------------------
 2079|     34|        GET_OP;
  ------------------
  |  | 1965|     34|    do {                                                \
  |  | 1966|     34|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|     34|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 34]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1967|     34|        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: 34]
  |  |  ------------------
  |  | 1968|     34|        op = *code++;                                   \
  |  | 1969|     34|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1957|     34|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 34]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1970|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1970:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
 2080|     34|        switch (op) {
 2081|       |
 2082|      0|        case SRE_OP_NEGATE:
  ------------------
  |  |   36|      0|#define SRE_OP_NEGATE 21
  ------------------
  |  Branch (2082:9): [True: 0, False: 34]
  ------------------
 2083|      0|            break;
 2084|       |
 2085|     23|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|     23|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (2085:9): [True: 23, False: 11]
  ------------------
 2086|     23|            GET_ARG;
  ------------------
  |  | 1972|     23|    do {                                                \
  |  | 1973|     23|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|     23|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 23]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|     23|        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: 23]
  |  |  ------------------
  |  | 1975|     23|        arg = *code++;                                  \
  |  | 1976|     23|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|     23|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 23]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|     23|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 23]
  |  |  ------------------
  ------------------
 2087|     23|            break;
 2088|       |
 2089|     23|        case SRE_OP_RANGE:
  ------------------
  |  |   37|      2|#define SRE_OP_RANGE 22
  ------------------
  |  Branch (2089:9): [True: 2, False: 32]
  ------------------
 2090|      2|        case SRE_OP_RANGE_UNI_IGNORE:
  ------------------
  |  |   57|      2|#define SRE_OP_RANGE_UNI_IGNORE 42
  ------------------
  |  Branch (2090:9): [True: 0, False: 34]
  ------------------
 2091|      2|            GET_ARG;
  ------------------
  |  | 1972|      2|    do {                                                \
  |  | 1973|      2|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      2|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1975|      2|        arg = *code++;                                  \
  |  | 1976|      2|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2092|      2|            GET_ARG;
  ------------------
  |  | 1972|      2|    do {                                                \
  |  | 1973|      2|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      2|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1975|      2|        arg = *code++;                                  \
  |  | 1976|      2|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2093|      2|            break;
 2094|       |
 2095|      5|        case SRE_OP_CHARSET:
  ------------------
  |  |   24|      5|#define SRE_OP_CHARSET 9
  ------------------
  |  Branch (2095:9): [True: 5, False: 29]
  ------------------
 2096|      5|            offset = 256/SRE_CODE_BITS; /* 256-bit bitmap */
  ------------------
  |  |   56|      5|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
 2097|      5|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (2097:17): [True: 0, False: 5]
  ------------------
 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|      5|            code += offset;
 2100|      5|            break;
 2101|       |
 2102|      2|        case SRE_OP_BIGCHARSET:
  ------------------
  |  |   25|      2|#define SRE_OP_BIGCHARSET 10
  ------------------
  |  Branch (2102:9): [True: 2, False: 32]
  ------------------
 2103|      2|            GET_ARG; /* Number of blocks */
  ------------------
  |  | 1972|      2|    do {                                                \
  |  | 1973|      2|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      2|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1975|      2|        arg = *code++;                                  \
  |  | 1976|      2|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2104|      2|            offset = 256/sizeof(SRE_CODE); /* 256-byte table */
 2105|      2|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (2105:17): [True: 0, False: 2]
  ------------------
 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|    514|            for (i = 0; i < 256; i++) {
  ------------------
  |  Branch (2108:25): [True: 512, False: 2]
  ------------------
 2109|    512|                if (((unsigned char *)code)[i] >= arg)
  ------------------
  |  Branch (2109:21): [True: 0, False: 512]
  ------------------
 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|    512|            }
 2112|      2|            code += offset;
 2113|      2|            offset = arg * (256/SRE_CODE_BITS); /* 256-bit bitmap times arg */
  ------------------
  |  |   56|      2|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
 2114|      2|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (2114:17): [True: 0, False: 2]
  ------------------
 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|      2|            code += offset;
 2117|      2|            break;
 2118|       |
 2119|      2|        case SRE_OP_CATEGORY:
  ------------------
  |  |   23|      2|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (2119:9): [True: 2, False: 32]
  ------------------
 2120|      2|            GET_ARG;
  ------------------
  |  | 1972|      2|    do {                                                \
  |  | 1973|      2|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1974|      2|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1961|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1957|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1957:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1961:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1974:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1975|      2|        arg = *code++;                                  \
  |  | 1976|      2|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1957|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1957:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1977|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1977:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2121|      2|            if (!_validate_category(arg)) {
  ------------------
  |  Branch (2121:17): [True: 0, False: 2]
  ------------------
 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|      2|            break;
 2125|       |
 2126|      2|        default:
  ------------------
  |  Branch (2126:9): [True: 0, False: 34]
  ------------------
 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|     34|        }
 2130|     34|    }
 2131|       |
 2132|     20|    return 0;
 2133|     20|}
sre.c:_sre_unicode_iscased_impl:
  597|     19|{
  598|     19|    unsigned int ch = (unsigned int)character;
  599|     19|    return ch != sre_lower_unicode(ch) || ch != sre_upper_unicode(ch);
  ------------------
  |  Branch (599:12): [True: 4, False: 15]
  |  Branch (599:43): [True: 9, False: 6]
  ------------------
  600|     19|}
sre.c:sre_lower_unicode:
  218|     47|{
  219|     47|    return (unsigned int) Py_UNICODE_TOLOWER(ch);
  ------------------
  |  |  715|     47|#define Py_UNICODE_TOLOWER(ch) _PyUnicode_ToLowercase(ch)
  ------------------
  220|     47|}
sre.c:sre_upper_unicode:
  223|     15|{
  224|     15|    return (unsigned int) Py_UNICODE_TOUPPER(ch);
  ------------------
  |  |  716|     15|#define Py_UNICODE_TOUPPER(ch) _PyUnicode_ToUppercase(ch)
  ------------------
  225|     15|}
sre.c:_sre_unicode_tolower_impl:
  628|     17|{
  629|     17|    return sre_lower_unicode(character);
  630|     17|}
sre.c:sre_exec:
 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|      4|{
  943|      4|    _sremodulestate *module_state = get_sre_module_state_by_class(cls);
  ------------------
  |  |  540|      4|    (get_sre_module_state(PyType_GetModule(cls)))
  ------------------
  944|      4|    SRE_STATE state;
  945|      4|    Py_ssize_t status;
  946|      4|    PyObject *match;
  947|       |
  948|      4|    if (!state_init(&state, self, string, pos, endpos))
  ------------------
  |  Branch (948:9): [True: 0, False: 4]
  ------------------
  949|      0|        return NULL;
  950|       |
  951|      4|    INIT_TRACE(&state);
  952|      4|    state.ptr = state.start;
  953|       |
  954|      4|    TRACE(("|%p|%p|MATCH\n", PatternObject_GetCode(self), state.ptr));
  955|       |
  956|      4|    status = sre_match(&state, PatternObject_GetCode(self));
  ------------------
  |  |   47|      4|#define PatternObject_GetCode(o) (((PatternObject*)(o))->code)
  ------------------
  957|       |
  958|      4|    TRACE(("|%p|%p|END\n", PatternObject_GetCode(self), state.ptr));
  959|      4|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (959:9): [True: 0, False: 4]
  ------------------
  960|      0|        state_fini(&state);
  961|      0|        return NULL;
  962|      0|    }
  963|       |
  964|      4|    match = pattern_new_match(module_state, self, &state, status);
  965|      4|    state_fini(&state);
  966|      4|    return match;
  967|      4|}
sre.c:state_init:
  687|      4|{
  688|       |    /* prepare state object */
  689|       |
  690|      4|    Py_ssize_t length;
  691|      4|    int isbytes, charsize;
  692|      4|    const void* ptr;
  693|       |
  694|      4|    memset(state, 0, sizeof(SRE_STATE));
  695|       |
  696|       |    /* Patterns with no capturing groups never emit MARK opcodes and never
  697|       |       read state->mark (group 0's span comes from state->start/ptr), so skip
  698|       |       the allocation entirely -- state->mark stays NULL, which both the err
  699|       |       path and state_fini already free safely. */
  700|      4|    if (pattern->groups) {
  ------------------
  |  Branch (700:9): [True: 3, False: 1]
  ------------------
  701|      3|        state->mark = PyMem_New(const void *, pattern->groups * 2);
  ------------------
  |  |   64|      3|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|      3|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 3]
  |  |  ------------------
  |  |   65|      3|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  702|      3|        if (!state->mark) {
  ------------------
  |  Branch (702:13): [True: 0, False: 3]
  ------------------
  703|      0|            PyErr_NoMemory();
  704|      0|            goto err;
  705|      0|        }
  706|      3|    }
  707|      4|    state->lastmark = -1;
  708|      4|    state->lastindex = -1;
  709|       |
  710|      4|    state->buffer.buf = NULL;
  711|      4|    ptr = getstring(string, &length, &isbytes, &charsize, &state->buffer);
  712|      4|    if (!ptr)
  ------------------
  |  Branch (712:9): [True: 0, False: 4]
  ------------------
  713|      0|        goto err;
  714|       |
  715|      4|    if (isbytes && pattern->isbytes == 0) {
  ------------------
  |  Branch (715:9): [True: 0, False: 4]
  |  Branch (715:20): [True: 0, False: 0]
  ------------------
  716|      0|        PyErr_SetString(PyExc_TypeError,
  717|      0|                        "cannot use a string pattern on a bytes-like object");
  718|      0|        goto err;
  719|      0|    }
  720|      4|    if (!isbytes && pattern->isbytes > 0) {
  ------------------
  |  Branch (720:9): [True: 4, False: 0]
  |  Branch (720:21): [True: 0, False: 4]
  ------------------
  721|      0|        PyErr_SetString(PyExc_TypeError,
  722|      0|                        "cannot use a bytes pattern on a string-like object");
  723|      0|        goto err;
  724|      0|    }
  725|       |
  726|       |    /* adjust boundaries */
  727|      4|    if (start < 0)
  ------------------
  |  Branch (727:9): [True: 0, False: 4]
  ------------------
  728|      0|        start = 0;
  729|      4|    else if (start > length)
  ------------------
  |  Branch (729:14): [True: 0, False: 4]
  ------------------
  730|      0|        start = length;
  731|       |
  732|      4|    if (end < 0)
  ------------------
  |  Branch (732:9): [True: 0, False: 4]
  ------------------
  733|      0|        end = 0;
  734|      4|    else if (end > length)
  ------------------
  |  Branch (734:14): [True: 4, False: 0]
  ------------------
  735|      4|        end = length;
  736|       |
  737|      4|    state->isbytes = isbytes;
  738|      4|    state->charsize = charsize;
  739|      4|    state->match_all = 0;
  740|      4|    state->must_advance = 0;
  741|      4|    state->save_marks = 0;
  742|      4|    state->debug = ((pattern->flags & SRE_FLAG_DEBUG) != 0);
  ------------------
  |  |  144|      4|#define SRE_FLAG_DEBUG 128
  ------------------
  743|       |
  744|      4|    state->beginning = ptr;
  745|       |
  746|      4|    state->start = (void*) ((char*) ptr + start * state->charsize);
  747|      4|    state->end = (void*) ((char*) ptr + end * state->charsize);
  748|       |
  749|      4|    state->string = Py_NewRef(string);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  750|      4|    state->pos = start;
  751|      4|    state->endpos = end;
  752|       |
  753|       |#ifdef Py_DEBUG
  754|       |    state->fail_after_count = pattern->fail_after_count;
  755|       |    state->fail_after_exc = pattern->fail_after_exc; // borrowed ref
  756|       |#endif
  757|       |
  758|      4|    return string;
  759|      0|  err:
  760|       |    /* We add an explicit cast here because MSVC has a bug when
  761|       |       compiling C code where it believes that `const void**` cannot be
  762|       |       safely casted to `void*`, see bpo-39943 for details. */
  763|      0|    PyMem_Free((void*) state->mark);
  764|      0|    state->mark = NULL;
  765|      0|    if (state->buffer.buf)
  ------------------
  |  Branch (765:9): [True: 0, False: 0]
  ------------------
  766|      0|        PyBuffer_Release(&state->buffer);
  767|       |    return NULL;
  768|      4|}
sre.c:sre_match:
  901|      4|{
  902|       |    /* No match if pos > endpos. */
  903|      4|    if (state->ptr > state->end) {
  ------------------
  |  Branch (903:9): [True: 0, False: 4]
  ------------------
  904|      0|        return 0;
  905|      0|    }
  906|      4|    if (state->charsize == 1)
  ------------------
  |  Branch (906:9): [True: 4, False: 0]
  ------------------
  907|      4|        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|      4|{
  399|      4|    INIT_TRACE(state);
  400|      4|    Py_ssize_t minsize, cursize;
  401|      4|    minsize = state->data_stack_base+size;
  402|      4|    cursize = state->data_stack_size;
  403|      4|    if (cursize < minsize) {
  ------------------
  |  Branch (403:9): [True: 4, False: 0]
  ------------------
  404|      4|        void* stack;
  405|      4|        cursize = minsize+minsize/4+1024;
  406|      4|        TRACE(("allocate/grow stack %zd\n", cursize));
  407|      4|        stack = PyMem_Realloc(state->data_stack, cursize);
  408|      4|        if (!stack) {
  ------------------
  |  Branch (408:13): [True: 0, False: 4]
  ------------------
  409|      0|            data_stack_dealloc(state);
  410|      0|            return SRE_ERROR_MEMORY;
  ------------------
  |  |  111|      0|#define SRE_ERROR_MEMORY -9 /* out of memory */
  ------------------
  411|      0|        }
  412|      4|        state->data_stack = (char *)stack;
  413|      4|        state->data_stack_size = cursize;
  414|      4|    }
  415|      4|    return 0;
  416|      4|}
sre.c:data_stack_dealloc:
  388|      4|{
  389|      4|    if (state->data_stack) {
  ------------------
  |  Branch (389:9): [True: 4, False: 0]
  ------------------
  390|      4|        PyMem_Free(state->data_stack);
  391|       |        state->data_stack = NULL;
  392|      4|    }
  393|      4|    state->data_stack_size = state->data_stack_base = 0;
  394|      4|}
sre.c:sre_category:
  229|      3|{
  230|      3|    switch (category) {
  ------------------
  |  Branch (230:13): [True: 3, False: 0]
  ------------------
  231|       |
  232|      0|    case SRE_CATEGORY_DIGIT:
  ------------------
  |  |   70|      0|#define SRE_CATEGORY_DIGIT 0
  ------------------
  |  Branch (232:5): [True: 0, False: 3]
  ------------------
  233|      0|        return SRE_IS_DIGIT(ch);
  ------------------
  |  |  138|      0|    ((ch) <= '9' && Py_ISDIGIT(ch))
  |  |  ------------------
  |  |  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (138:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  234|      0|    case SRE_CATEGORY_NOT_DIGIT:
  ------------------
  |  |   71|      0|#define SRE_CATEGORY_NOT_DIGIT 1
  ------------------
  |  Branch (234:5): [True: 0, False: 3]
  ------------------
  235|      0|        return !SRE_IS_DIGIT(ch);
  ------------------
  |  |  138|      0|    ((ch) <= '9' && Py_ISDIGIT(ch))
  |  |  ------------------
  |  |  |  |   24|      0|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (138:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  236|      0|    case SRE_CATEGORY_SPACE:
  ------------------
  |  |   72|      0|#define SRE_CATEGORY_SPACE 2
  ------------------
  |  Branch (236:5): [True: 0, False: 3]
  ------------------
  237|      0|        return SRE_IS_SPACE(ch);
  ------------------
  |  |  140|      0|    ((ch) <= ' ' && Py_ISSPACE(ch))
  |  |  ------------------
  |  |  |  |   27|      0|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  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 (140:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  238|      0|    case SRE_CATEGORY_NOT_SPACE:
  ------------------
  |  |   73|      0|#define SRE_CATEGORY_NOT_SPACE 3
  ------------------
  |  Branch (238:5): [True: 0, False: 3]
  ------------------
  239|      0|        return !SRE_IS_SPACE(ch);
  ------------------
  |  |  140|      0|    ((ch) <= ' ' && Py_ISSPACE(ch))
  |  |  ------------------
  |  |  |  |   27|      0|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  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 (140:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  240|      0|    case SRE_CATEGORY_WORD:
  ------------------
  |  |   74|      0|#define SRE_CATEGORY_WORD 4
  ------------------
  |  Branch (240:5): [True: 0, False: 3]
  ------------------
  241|      0|        return SRE_IS_WORD(ch);
  ------------------
  |  |  144|      0|    ((ch) <= 'z' && (Py_ISALNUM(ch) || (ch) == '_'))
  |  |  ------------------
  |  |  |  |   26|      0|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |  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 (26:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (144:6): [True: 0, False: 0]
  |  |  |  Branch (144:40): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  242|      0|    case SRE_CATEGORY_NOT_WORD:
  ------------------
  |  |   75|      0|#define SRE_CATEGORY_NOT_WORD 5
  ------------------
  |  Branch (242:5): [True: 0, False: 3]
  ------------------
  243|      0|        return !SRE_IS_WORD(ch);
  ------------------
  |  |  144|      0|    ((ch) <= 'z' && (Py_ISALNUM(ch) || (ch) == '_'))
  |  |  ------------------
  |  |  |  |   26|      0|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |  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 (26:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (144:6): [True: 0, False: 0]
  |  |  |  Branch (144:40): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  244|      0|    case SRE_CATEGORY_LINEBREAK:
  ------------------
  |  |   76|      0|#define SRE_CATEGORY_LINEBREAK 6
  ------------------
  |  Branch (244:5): [True: 0, False: 3]
  ------------------
  245|      0|        return SRE_IS_LINEBREAK(ch);
  ------------------
  |  |  142|      0|    ((ch) == '\n')
  ------------------
  246|      0|    case SRE_CATEGORY_NOT_LINEBREAK:
  ------------------
  |  |   77|      0|#define SRE_CATEGORY_NOT_LINEBREAK 7
  ------------------
  |  Branch (246:5): [True: 0, False: 3]
  ------------------
  247|      0|        return !SRE_IS_LINEBREAK(ch);
  ------------------
  |  |  142|      0|    ((ch) == '\n')
  ------------------
  248|       |
  249|      0|    case SRE_CATEGORY_LOC_WORD:
  ------------------
  |  |   78|      0|#define SRE_CATEGORY_LOC_WORD 8
  ------------------
  |  Branch (249:5): [True: 0, False: 3]
  ------------------
  250|      0|        return SRE_LOC_IS_WORD(ch);
  ------------------
  |  |  155|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  154|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (154:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (154:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (155:56): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  251|      0|    case SRE_CATEGORY_LOC_NOT_WORD:
  ------------------
  |  |   79|      0|#define SRE_CATEGORY_LOC_NOT_WORD 9
  ------------------
  |  Branch (251:5): [True: 0, False: 3]
  ------------------
  252|      0|        return !SRE_LOC_IS_WORD(ch);
  ------------------
  |  |  155|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  154|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (154:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (154:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (155:56): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  253|       |
  254|      3|    case SRE_CATEGORY_UNI_DIGIT:
  ------------------
  |  |   80|      3|#define SRE_CATEGORY_UNI_DIGIT 10
  ------------------
  |  Branch (254:5): [True: 3, False: 0]
  ------------------
  255|      3|        return SRE_UNI_IS_DIGIT(ch);
  ------------------
  |  |  169|      3|#define SRE_UNI_IS_DIGIT(ch) Py_UNICODE_ISDECIMAL(ch)
  |  |  ------------------
  |  |  |  |  719|      3|#define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)
  |  |  ------------------
  ------------------
  256|      0|    case SRE_CATEGORY_UNI_NOT_DIGIT:
  ------------------
  |  |   81|      0|#define SRE_CATEGORY_UNI_NOT_DIGIT 11
  ------------------
  |  Branch (256:5): [True: 0, False: 3]
  ------------------
  257|      0|        return !SRE_UNI_IS_DIGIT(ch);
  ------------------
  |  |  169|      0|#define SRE_UNI_IS_DIGIT(ch) Py_UNICODE_ISDECIMAL(ch)
  |  |  ------------------
  |  |  |  |  719|      0|#define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)
  |  |  ------------------
  ------------------
  258|      0|    case SRE_CATEGORY_UNI_SPACE:
  ------------------
  |  |   82|      0|#define SRE_CATEGORY_UNI_SPACE 12
  ------------------
  |  Branch (258:5): [True: 0, False: 3]
  ------------------
  259|      0|        return SRE_UNI_IS_SPACE(ch);
  ------------------
  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  ------------------
  260|      0|    case SRE_CATEGORY_UNI_NOT_SPACE:
  ------------------
  |  |   83|      0|#define SRE_CATEGORY_UNI_NOT_SPACE 13
  ------------------
  |  Branch (260:5): [True: 0, False: 3]
  ------------------
  261|      0|        return !SRE_UNI_IS_SPACE(ch);
  ------------------
  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  ------------------
  262|      0|    case SRE_CATEGORY_UNI_WORD:
  ------------------
  |  |   84|      0|#define SRE_CATEGORY_UNI_WORD 14
  ------------------
  |  Branch (262:5): [True: 0, False: 3]
  ------------------
  263|      0|        return SRE_UNI_IS_WORD(ch);
  ------------------
  |  |  173|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (173:54): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  264|      0|    case SRE_CATEGORY_UNI_NOT_WORD:
  ------------------
  |  |   85|      0|#define SRE_CATEGORY_UNI_NOT_WORD 15
  ------------------
  |  Branch (264:5): [True: 0, False: 3]
  ------------------
  265|      0|        return !SRE_UNI_IS_WORD(ch);
  ------------------
  |  |  173|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (173:54): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  266|      0|    case SRE_CATEGORY_UNI_LINEBREAK:
  ------------------
  |  |   86|      0|#define SRE_CATEGORY_UNI_LINEBREAK 16
  ------------------
  |  Branch (266:5): [True: 0, False: 3]
  ------------------
  267|      0|        return SRE_UNI_IS_LINEBREAK(ch);
  ------------------
  |  |  171|      0|#define SRE_UNI_IS_LINEBREAK(ch) Py_UNICODE_ISLINEBREAK(ch)
  |  |  ------------------
  |  |  |  |  713|      0|#define Py_UNICODE_ISLINEBREAK(ch) _PyUnicode_IsLinebreak(ch)
  |  |  ------------------
  ------------------
  268|      0|    case SRE_CATEGORY_UNI_NOT_LINEBREAK:
  ------------------
  |  |   87|      0|#define SRE_CATEGORY_UNI_NOT_LINEBREAK 17
  ------------------
  |  Branch (268:5): [True: 0, False: 3]
  ------------------
  269|      0|        return !SRE_UNI_IS_LINEBREAK(ch);
  ------------------
  |  |  171|      0|#define SRE_UNI_IS_LINEBREAK(ch) Py_UNICODE_ISLINEBREAK(ch)
  |  |  ------------------
  |  |  |  |  713|      0|#define Py_UNICODE_ISLINEBREAK(ch) _PyUnicode_IsLinebreak(ch)
  |  |  ------------------
  ------------------
  270|       |
  271|      0|    case SRE_CATEGORY_ALPHA:
  ------------------
  |  |   88|      0|#define SRE_CATEGORY_ALPHA 18
  ------------------
  |  Branch (271:5): [True: 0, False: 3]
  ------------------
  272|      0|        return SRE_UNI_IS_ALPHA(ch);
  ------------------
  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  ------------------
  |  |  |  |  728|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  ------------------
  ------------------
  273|      0|    case SRE_CATEGORY_NOT_ALPHA:
  ------------------
  |  |   89|      0|#define SRE_CATEGORY_NOT_ALPHA 19
  ------------------
  |  Branch (273:5): [True: 0, False: 3]
  ------------------
  274|      0|        return !SRE_UNI_IS_ALPHA(ch);
  ------------------
  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  ------------------
  |  |  |  |  728|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  ------------------
  ------------------
  275|      0|    case SRE_CATEGORY_LOWER:
  ------------------
  |  |   90|      0|#define SRE_CATEGORY_LOWER 20
  ------------------
  |  Branch (275:5): [True: 0, False: 3]
  ------------------
  276|      0|        return SRE_UNI_IS_LOWER(ch);
  ------------------
  |  |  175|      0|#define SRE_UNI_IS_LOWER(ch) Py_UNICODE_ISLOWER(ch)
  |  |  ------------------
  |  |  |  |  710|      0|#define Py_UNICODE_ISLOWER(ch) _PyUnicode_IsLowercase(ch)
  |  |  ------------------
  ------------------
  277|      0|    case SRE_CATEGORY_NOT_LOWER:
  ------------------
  |  |   91|      0|#define SRE_CATEGORY_NOT_LOWER 21
  ------------------
  |  Branch (277:5): [True: 0, False: 3]
  ------------------
  278|      0|        return !SRE_UNI_IS_LOWER(ch);
  ------------------
  |  |  175|      0|#define SRE_UNI_IS_LOWER(ch) Py_UNICODE_ISLOWER(ch)
  |  |  ------------------
  |  |  |  |  710|      0|#define Py_UNICODE_ISLOWER(ch) _PyUnicode_IsLowercase(ch)
  |  |  ------------------
  ------------------
  279|      0|    case SRE_CATEGORY_UPPER:
  ------------------
  |  |   92|      0|#define SRE_CATEGORY_UPPER 22
  ------------------
  |  Branch (279:5): [True: 0, False: 3]
  ------------------
  280|      0|        return SRE_UNI_IS_UPPER(ch);
  ------------------
  |  |  176|      0|#define SRE_UNI_IS_UPPER(ch) Py_UNICODE_ISUPPER(ch)
  |  |  ------------------
  |  |  |  |  711|      0|#define Py_UNICODE_ISUPPER(ch) _PyUnicode_IsUppercase(ch)
  |  |  ------------------
  ------------------
  281|      0|    case SRE_CATEGORY_NOT_UPPER:
  ------------------
  |  |   93|      0|#define SRE_CATEGORY_NOT_UPPER 23
  ------------------
  |  Branch (281:5): [True: 0, False: 3]
  ------------------
  282|      0|        return !SRE_UNI_IS_UPPER(ch);
  ------------------
  |  |  176|      0|#define SRE_UNI_IS_UPPER(ch) Py_UNICODE_ISUPPER(ch)
  |  |  ------------------
  |  |  |  |  711|      0|#define Py_UNICODE_ISUPPER(ch) _PyUnicode_IsUppercase(ch)
  |  |  ------------------
  ------------------
  283|      0|    case SRE_CATEGORY_NUMERIC:
  ------------------
  |  |   94|      0|#define SRE_CATEGORY_NUMERIC 24
  ------------------
  |  Branch (283:5): [True: 0, False: 3]
  ------------------
  284|      0|        return SRE_UNI_IS_NUMERIC(ch);
  ------------------
  |  |  177|      0|#define SRE_UNI_IS_NUMERIC(ch) Py_UNICODE_ISNUMERIC(ch)
  |  |  ------------------
  |  |  |  |  721|      0|#define Py_UNICODE_ISNUMERIC(ch) _PyUnicode_IsNumeric(ch)
  |  |  ------------------
  ------------------
  285|      0|    case SRE_CATEGORY_NOT_NUMERIC:
  ------------------
  |  |   95|      0|#define SRE_CATEGORY_NOT_NUMERIC 25
  ------------------
  |  Branch (285:5): [True: 0, False: 3]
  ------------------
  286|      0|        return !SRE_UNI_IS_NUMERIC(ch);
  ------------------
  |  |  177|      0|#define SRE_UNI_IS_NUMERIC(ch) Py_UNICODE_ISNUMERIC(ch)
  |  |  ------------------
  |  |  |  |  721|      0|#define Py_UNICODE_ISNUMERIC(ch) _PyUnicode_IsNumeric(ch)
  |  |  ------------------
  ------------------
  287|      0|    case SRE_CATEGORY_PRINTABLE:
  ------------------
  |  |   96|      0|#define SRE_CATEGORY_PRINTABLE 26
  ------------------
  |  Branch (287:5): [True: 0, False: 3]
  ------------------
  288|      0|        return SRE_UNI_IS_PRINTABLE(ch);
  ------------------
  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  ------------------
  |  |  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  ------------------
  289|      0|    case SRE_CATEGORY_NOT_PRINTABLE:
  ------------------
  |  |   97|      0|#define SRE_CATEGORY_NOT_PRINTABLE 27
  ------------------
  |  Branch (289:5): [True: 0, False: 3]
  ------------------
  290|      0|        return !SRE_UNI_IS_PRINTABLE(ch);
  ------------------
  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  ------------------
  |  |  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  ------------------
  291|      0|    case SRE_CATEGORY_ALNUM:
  ------------------
  |  |   98|      0|#define SRE_CATEGORY_ALNUM 28
  ------------------
  |  Branch (291:5): [True: 0, False: 3]
  ------------------
  292|      0|        return SRE_UNI_IS_ALNUM(ch);
  ------------------
  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  ------------------
  293|      0|    case SRE_CATEGORY_NOT_ALNUM:
  ------------------
  |  |   99|      0|#define SRE_CATEGORY_NOT_ALNUM 29
  ------------------
  |  Branch (293:5): [True: 0, False: 3]
  ------------------
  294|      0|        return !SRE_UNI_IS_ALNUM(ch);
  ------------------
  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  ------------------
  295|      0|    case SRE_CATEGORY_XID_START:
  ------------------
  |  |  100|      0|#define SRE_CATEGORY_XID_START 30
  ------------------
  |  Branch (295:5): [True: 0, False: 3]
  ------------------
  296|      0|        return SRE_UNI_IS_XID_START(ch);
  ------------------
  |  |  179|      0|#define SRE_UNI_IS_XID_START(ch) _PyUnicode_IsXidStart(ch)
  ------------------
  297|      0|    case SRE_CATEGORY_NOT_XID_START:
  ------------------
  |  |  101|      0|#define SRE_CATEGORY_NOT_XID_START 31
  ------------------
  |  Branch (297:5): [True: 0, False: 3]
  ------------------
  298|      0|        return !SRE_UNI_IS_XID_START(ch);
  ------------------
  |  |  179|      0|#define SRE_UNI_IS_XID_START(ch) _PyUnicode_IsXidStart(ch)
  ------------------
  299|      0|    case SRE_CATEGORY_XID_CONTINUE:
  ------------------
  |  |  102|      0|#define SRE_CATEGORY_XID_CONTINUE 32
  ------------------
  |  Branch (299:5): [True: 0, False: 3]
  ------------------
  300|      0|        return SRE_UNI_IS_XID_CONTINUE(ch);
  ------------------
  |  |  180|      0|#define SRE_UNI_IS_XID_CONTINUE(ch) _PyUnicode_IsXidContinue(ch)
  ------------------
  301|      0|    case SRE_CATEGORY_NOT_XID_CONTINUE:
  ------------------
  |  |  103|      0|#define SRE_CATEGORY_NOT_XID_CONTINUE 33
  ------------------
  |  Branch (301:5): [True: 0, False: 3]
  ------------------
  302|      0|        return !SRE_UNI_IS_XID_CONTINUE(ch);
  ------------------
  |  |  180|      0|#define SRE_UNI_IS_XID_CONTINUE(ch) _PyUnicode_IsXidContinue(ch)
  ------------------
  303|      0|    case SRE_CATEGORY_TITLE:
  ------------------
  |  |  104|      0|#define SRE_CATEGORY_TITLE 34
  ------------------
  |  Branch (303:5): [True: 0, False: 3]
  ------------------
  304|      0|        return SRE_UNI_IS_TITLE(ch);
  ------------------
  |  |  181|      0|#define SRE_UNI_IS_TITLE(ch) Py_UNICODE_ISTITLE(ch)
  |  |  ------------------
  |  |  |  |  712|      0|#define Py_UNICODE_ISTITLE(ch) _PyUnicode_IsTitlecase(ch)
  |  |  ------------------
  ------------------
  305|      0|    case SRE_CATEGORY_NOT_TITLE:
  ------------------
  |  |  105|      0|#define SRE_CATEGORY_NOT_TITLE 35
  ------------------
  |  Branch (305:5): [True: 0, False: 3]
  ------------------
  306|      0|        return !SRE_UNI_IS_TITLE(ch);
  ------------------
  |  |  181|      0|#define SRE_UNI_IS_TITLE(ch) Py_UNICODE_ISTITLE(ch)
  |  |  ------------------
  |  |  |  |  712|      0|#define Py_UNICODE_ISTITLE(ch) _PyUnicode_IsTitlecase(ch)
  |  |  ------------------
  ------------------
  307|      0|    case SRE_CATEGORY_CASED:
  ------------------
  |  |  106|      0|#define SRE_CATEGORY_CASED 36
  ------------------
  |  Branch (307:5): [True: 0, False: 3]
  ------------------
  308|      0|        return SRE_UNI_IS_CASED(ch);
  ------------------
  |  |  182|      0|#define SRE_UNI_IS_CASED(ch) _PyUnicode_IsCased(ch)
  ------------------
  309|      0|    case SRE_CATEGORY_NOT_CASED:
  ------------------
  |  |  107|      0|#define SRE_CATEGORY_NOT_CASED 37
  ------------------
  |  Branch (309:5): [True: 0, False: 3]
  ------------------
  310|      0|        return !SRE_UNI_IS_CASED(ch);
  ------------------
  |  |  182|      0|#define SRE_UNI_IS_CASED(ch) _PyUnicode_IsCased(ch)
  ------------------
  311|      0|    case SRE_CATEGORY_CASE_IGNORABLE:
  ------------------
  |  |  108|      0|#define SRE_CATEGORY_CASE_IGNORABLE 38
  ------------------
  |  Branch (311:5): [True: 0, False: 3]
  ------------------
  312|      0|        return SRE_UNI_IS_CASE_IGNORABLE(ch);
  ------------------
  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  ------------------
  313|      0|    case SRE_CATEGORY_NOT_CASE_IGNORABLE:
  ------------------
  |  |  109|      0|#define SRE_CATEGORY_NOT_CASE_IGNORABLE 39
  ------------------
  |  Branch (313:5): [True: 0, False: 3]
  ------------------
  314|      0|        return !SRE_UNI_IS_CASE_IGNORABLE(ch);
  ------------------
  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  ------------------
  315|      0|    case SRE_CATEGORY_LU:
  ------------------
  |  |  110|      0|#define SRE_CATEGORY_LU 40
  ------------------
  |  Branch (315:5): [True: 0, False: 3]
  ------------------
  316|      0|        return SRE_UNI_IS_LU(ch);
  ------------------
  |  |  195|      0|#define SRE_UNI_IS_LU(ch) (SRE_UNI_IS_UPPER(ch) && SRE_UNI_IS_ALPHA(ch))
  |  |  ------------------
  |  |  |  |  176|      0|#define SRE_UNI_IS_UPPER(ch) Py_UNICODE_ISUPPER(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  711|      0|#define Py_UNICODE_ISUPPER(ch) _PyUnicode_IsUppercase(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (711:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_LU(ch) (SRE_UNI_IS_UPPER(ch) && SRE_UNI_IS_ALPHA(ch))
  |  |  ------------------
  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  728|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (728:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  317|      0|    case SRE_CATEGORY_NOT_LU:
  ------------------
  |  |  111|      0|#define SRE_CATEGORY_NOT_LU 41
  ------------------
  |  Branch (317:5): [True: 0, False: 3]
  ------------------
  318|      0|        return !SRE_UNI_IS_LU(ch);
  ------------------
  |  |  195|      0|#define SRE_UNI_IS_LU(ch) (SRE_UNI_IS_UPPER(ch) && SRE_UNI_IS_ALPHA(ch))
  |  |  ------------------
  |  |  |  |  176|      0|#define SRE_UNI_IS_UPPER(ch) Py_UNICODE_ISUPPER(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  711|      0|#define Py_UNICODE_ISUPPER(ch) _PyUnicode_IsUppercase(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (711:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_LU(ch) (SRE_UNI_IS_UPPER(ch) && SRE_UNI_IS_ALPHA(ch))
  |  |  ------------------
  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  728|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (728:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  319|      0|    case SRE_CATEGORY_N:
  ------------------
  |  |  112|      0|#define SRE_CATEGORY_N 42
  ------------------
  |  Branch (319:5): [True: 0, False: 3]
  ------------------
  320|      0|        return SRE_UNI_IS_N(ch);
  ------------------
  |  |  196|      0|#define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  ------------------
  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  ------------------
  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  728|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (196:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  321|      0|    case SRE_CATEGORY_NOT_N:
  ------------------
  |  |  113|      0|#define SRE_CATEGORY_NOT_N 43
  ------------------
  |  Branch (321:5): [True: 0, False: 3]
  ------------------
  322|      0|        return !SRE_UNI_IS_N(ch);
  ------------------
  |  |  196|      0|#define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  ------------------
  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  ------------------
  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  728|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (196:51): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  323|      0|    case SRE_CATEGORY_LM:
  ------------------
  |  |  114|      0|#define SRE_CATEGORY_LM 44
  ------------------
  |  Branch (323:5): [True: 0, False: 3]
  ------------------
  324|      0|        return SRE_UNI_IS_LM(ch);
  ------------------
  |  |  197|      0|#define SRE_UNI_IS_LM(ch) (SRE_UNI_IS_ALPHA(ch) && SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  728|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (728:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_LM(ch) (SRE_UNI_IS_ALPHA(ch) && SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (183:39): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  325|      0|    case SRE_CATEGORY_NOT_LM:
  ------------------
  |  |  115|      0|#define SRE_CATEGORY_NOT_LM 45
  ------------------
  |  Branch (325:5): [True: 0, False: 3]
  ------------------
  326|      0|        return !SRE_UNI_IS_LM(ch);
  ------------------
  |  |  197|      0|#define SRE_UNI_IS_LM(ch) (SRE_UNI_IS_ALPHA(ch) && SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  728|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (728:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_LM(ch) (SRE_UNI_IS_ALPHA(ch) && SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (183:39): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  327|      0|    case SRE_CATEGORY_NL:
  ------------------
  |  |  116|      0|#define SRE_CATEGORY_NL 46
  ------------------
  |  Branch (327:5): [True: 0, False: 3]
  ------------------
  328|      0|        return SRE_UNI_IS_NL(ch);
  ------------------
  |  |  198|      0|#define SRE_UNI_IS_NL(ch) (SRE_UNI_IS_N(ch) && SRE_UNI_IS_XID_START(ch))
  |  |  ------------------
  |  |  |  |  196|      0|#define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  728|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (196:51): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_NL(ch) (SRE_UNI_IS_N(ch) && SRE_UNI_IS_XID_START(ch))
  |  |  ------------------
  |  |  |  |  179|      0|#define SRE_UNI_IS_XID_START(ch) _PyUnicode_IsXidStart(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (179:34): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  329|      0|    case SRE_CATEGORY_NOT_NL:
  ------------------
  |  |  117|      0|#define SRE_CATEGORY_NOT_NL 47
  ------------------
  |  Branch (329:5): [True: 0, False: 3]
  ------------------
  330|      0|        return !SRE_UNI_IS_NL(ch);
  ------------------
  |  |  198|      0|#define SRE_UNI_IS_NL(ch) (SRE_UNI_IS_N(ch) && SRE_UNI_IS_XID_START(ch))
  |  |  ------------------
  |  |  |  |  196|      0|#define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  728|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (196:51): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_NL(ch) (SRE_UNI_IS_N(ch) && SRE_UNI_IS_XID_START(ch))
  |  |  ------------------
  |  |  |  |  179|      0|#define SRE_UNI_IS_XID_START(ch) _PyUnicode_IsXidStart(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (179:34): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|      0|    case SRE_CATEGORY_NO:
  ------------------
  |  |  118|      0|#define SRE_CATEGORY_NO 48
  ------------------
  |  Branch (331:5): [True: 0, False: 3]
  ------------------
  332|      0|        return SRE_UNI_IS_NO(ch);
  ------------------
  |  |  199|      0|#define SRE_UNI_IS_NO(ch) (SRE_UNI_IS_N(ch) && !SRE_UNI_IS_DIGIT(ch) && \
  |  |  ------------------
  |  |  |  |  196|      0|#define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  728|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (196:51): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_NO(ch) (SRE_UNI_IS_N(ch) && !SRE_UNI_IS_DIGIT(ch) && \
  |  |  ------------------
  |  |  |  |  169|      0|#define SRE_UNI_IS_DIGIT(ch) Py_UNICODE_ISDECIMAL(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  719|      0|#define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (199:48): [True: 0, False: 0]
  |  |  ------------------
  |  |  200|      0|                           !SRE_UNI_IS_XID_START(ch))
  |  |  ------------------
  |  |  |  |  179|      0|#define SRE_UNI_IS_XID_START(ch) _PyUnicode_IsXidStart(ch)
  |  |  ------------------
  |  |  |  Branch (200:28): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  333|      0|    case SRE_CATEGORY_NOT_NO:
  ------------------
  |  |  119|      0|#define SRE_CATEGORY_NOT_NO 49
  ------------------
  |  Branch (333:5): [True: 0, False: 3]
  ------------------
  334|      0|        return !SRE_UNI_IS_NO(ch);
  ------------------
  |  |  199|      0|#define SRE_UNI_IS_NO(ch) (SRE_UNI_IS_N(ch) && !SRE_UNI_IS_DIGIT(ch) && \
  |  |  ------------------
  |  |  |  |  196|      0|#define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_N(ch) (SRE_UNI_IS_ALNUM(ch) && !SRE_UNI_IS_ALPHA(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      0|#define SRE_UNI_IS_ALPHA(ch) Py_UNICODE_ISALPHA(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  728|      0|#define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (196:51): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_NO(ch) (SRE_UNI_IS_N(ch) && !SRE_UNI_IS_DIGIT(ch) && \
  |  |  ------------------
  |  |  |  |  169|      0|#define SRE_UNI_IS_DIGIT(ch) Py_UNICODE_ISDECIMAL(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  719|      0|#define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (199:48): [True: 0, False: 0]
  |  |  ------------------
  |  |  200|      0|                           !SRE_UNI_IS_XID_START(ch))
  |  |  ------------------
  |  |  |  |  179|      0|#define SRE_UNI_IS_XID_START(ch) _PyUnicode_IsXidStart(ch)
  |  |  ------------------
  |  |  |  Branch (200:28): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  335|      0|    case SRE_CATEGORY_CF:
  ------------------
  |  |  120|      0|#define SRE_CATEGORY_CF 50
  ------------------
  |  Branch (335:5): [True: 0, False: 3]
  ------------------
  336|      0|        return SRE_UNI_IS_CF(ch);
  ------------------
  |  |  201|      0|#define SRE_UNI_IS_CF(ch) (SRE_UNI_IS_CASE_IGNORABLE(ch) && !SRE_UNI_IS_PRINTABLE(ch))
  |  |  ------------------
  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (183:39): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_CF(ch) (SRE_UNI_IS_CASE_IGNORABLE(ch) && !SRE_UNI_IS_PRINTABLE(ch))
  |  |  ------------------
  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (201:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  337|      0|    case SRE_CATEGORY_NOT_CF:
  ------------------
  |  |  121|      0|#define SRE_CATEGORY_NOT_CF 51
  ------------------
  |  Branch (337:5): [True: 0, False: 3]
  ------------------
  338|      0|        return !SRE_UNI_IS_CF(ch);
  ------------------
  |  |  201|      0|#define SRE_UNI_IS_CF(ch) (SRE_UNI_IS_CASE_IGNORABLE(ch) && !SRE_UNI_IS_PRINTABLE(ch))
  |  |  ------------------
  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (183:39): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_CF(ch) (SRE_UNI_IS_CASE_IGNORABLE(ch) && !SRE_UNI_IS_PRINTABLE(ch))
  |  |  ------------------
  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (201:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  339|      0|    case SRE_CATEGORY_Z:
  ------------------
  |  |  122|      0|#define SRE_CATEGORY_Z 52
  ------------------
  |  Branch (339:5): [True: 0, False: 3]
  ------------------
  340|      0|        return SRE_UNI_IS_Z(ch);
  ------------------
  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  ------------------
  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  ------------------
  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  341|      0|    case SRE_CATEGORY_NOT_Z:
  ------------------
  |  |  123|      0|#define SRE_CATEGORY_NOT_Z 53
  ------------------
  |  Branch (341:5): [True: 0, False: 3]
  ------------------
  342|      0|        return !SRE_UNI_IS_Z(ch);
  ------------------
  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  ------------------
  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  ------------------
  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|      0|    case SRE_CATEGORY_ZS:
  ------------------
  |  |  124|      0|#define SRE_CATEGORY_ZS 54
  ------------------
  |  Branch (343:5): [True: 0, False: 3]
  ------------------
  344|      0|        return SRE_UNI_IS_ZS(ch);
  ------------------
  |  |  203|      0|#define SRE_UNI_IS_ZS(ch) (SRE_UNI_IS_Z(ch) && (ch) != 0x2028 && (ch) != 0x2029)
  |  |  ------------------
  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (203:48): [True: 0, False: 0]
  |  |  |  Branch (203:66): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  345|      0|    case SRE_CATEGORY_NOT_ZS:
  ------------------
  |  |  125|      0|#define SRE_CATEGORY_NOT_ZS 55
  ------------------
  |  Branch (345:5): [True: 0, False: 3]
  ------------------
  346|      0|        return !SRE_UNI_IS_ZS(ch);
  ------------------
  |  |  203|      0|#define SRE_UNI_IS_ZS(ch) (SRE_UNI_IS_Z(ch) && (ch) != 0x2028 && (ch) != 0x2029)
  |  |  ------------------
  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (203:48): [True: 0, False: 0]
  |  |  |  Branch (203:66): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  347|      0|    case SRE_CATEGORY_C:
  ------------------
  |  |  126|      0|#define SRE_CATEGORY_C 56
  ------------------
  |  Branch (347:5): [True: 0, False: 3]
  ------------------
  348|      0|        return SRE_UNI_IS_C(ch);
  ------------------
  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  ------------------
  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  ------------------
  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  349|      0|    case SRE_CATEGORY_NOT_C:
  ------------------
  |  |  127|      0|#define SRE_CATEGORY_NOT_C 57
  ------------------
  |  Branch (349:5): [True: 0, False: 3]
  ------------------
  350|      0|        return !SRE_UNI_IS_C(ch);
  ------------------
  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  ------------------
  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  ------------------
  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  351|      0|    case SRE_CATEGORY_CN:
  ------------------
  |  |  128|      0|#define SRE_CATEGORY_CN 58
  ------------------
  |  Branch (351:5): [True: 0, False: 3]
  ------------------
  352|      0|        return SRE_UNI_IS_CN(ch);
  ------------------
  |  |  208|      0|#define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  ------------------
  |  |  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  ------------------
  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  209|      0|    !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  192|      0|#define SRE_IS_CO(ch) ((0xE000 <= (ch) && (ch) <= 0xF8FF) || \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (192:25): [True: 0, False: 0]
  |  |  |  |  |  Branch (192:43): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  193|      0|                       (0xF0000 <= (ch) && (ch) <= 0xFFFFD) || \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (193:25): [True: 0, False: 0]
  |  |  |  |  |  Branch (193:44): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  194|      0|                       (0x100000 <= (ch) && (ch) <= 0x10FFFD))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (194:25): [True: 0, False: 0]
  |  |  |  |  |  Branch (194:45): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  ------------------
  |  |  |  Branch (209:41): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  353|      0|    case SRE_CATEGORY_NOT_CN:
  ------------------
  |  |  129|      0|#define SRE_CATEGORY_NOT_CN 59
  ------------------
  |  Branch (353:5): [True: 0, False: 3]
  ------------------
  354|      0|        return !SRE_UNI_IS_CN(ch);
  ------------------
  |  |  208|      0|#define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  ------------------
  |  |  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  ------------------
  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  209|      0|    !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  192|      0|#define SRE_IS_CO(ch) ((0xE000 <= (ch) && (ch) <= 0xF8FF) || \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (192:25): [True: 0, False: 0]
  |  |  |  |  |  Branch (192:43): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  193|      0|                       (0xF0000 <= (ch) && (ch) <= 0xFFFFD) || \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (193:25): [True: 0, False: 0]
  |  |  |  |  |  Branch (193:44): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  194|      0|                       (0x100000 <= (ch) && (ch) <= 0x10FFFD))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (194:25): [True: 0, False: 0]
  |  |  |  |  |  Branch (194:45): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  ------------------
  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  ------------------
  |  |  |  Branch (209:41): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  355|      0|    case SRE_CATEGORY_ASSIGNED:
  ------------------
  |  |  130|      0|#define SRE_CATEGORY_ASSIGNED 60
  ------------------
  |  Branch (355:5): [True: 0, False: 3]
  ------------------
  356|      0|        return SRE_UNI_IS_ASSIGNED(ch);
  ------------------
  |  |  210|      0|#define SRE_UNI_IS_ASSIGNED(ch) (!SRE_UNI_IS_CN(ch))
  |  |  ------------------
  |  |  |  |  208|      0|#define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  209|      0|    !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  192|      0|#define SRE_IS_CO(ch) ((0xE000 <= (ch) && (ch) <= 0xF8FF) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (192:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (192:43): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  193|      0|                       (0xF0000 <= (ch) && (ch) <= 0xFFFFD) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (193:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (193:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  194|      0|                       (0x100000 <= (ch) && (ch) <= 0x10FFFD))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (194:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (194:45): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (209:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|      0|    case SRE_CATEGORY_NOT_ASSIGNED:
  ------------------
  |  |  131|      0|#define SRE_CATEGORY_NOT_ASSIGNED 61
  ------------------
  |  Branch (357:5): [True: 0, False: 3]
  ------------------
  358|      0|        return !SRE_UNI_IS_ASSIGNED(ch);
  ------------------
  |  |  210|      0|#define SRE_UNI_IS_ASSIGNED(ch) (!SRE_UNI_IS_CN(ch))
  |  |  ------------------
  |  |  |  |  208|      0|#define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  209|      0|    !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  192|      0|#define SRE_IS_CO(ch) ((0xE000 <= (ch) && (ch) <= 0xF8FF) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (192:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (192:43): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  193|      0|                       (0xF0000 <= (ch) && (ch) <= 0xFFFFD) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (193:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (193:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  194|      0|                       (0x100000 <= (ch) && (ch) <= 0x10FFFD))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (194:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (194:45): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (209:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|      0|    case SRE_CATEGORY_BLANK:
  ------------------
  |  |  132|      0|#define SRE_CATEGORY_BLANK 62
  ------------------
  |  Branch (359:5): [True: 0, False: 3]
  ------------------
  360|      0|        return SRE_UNI_IS_BLANK(ch);
  ------------------
  |  |  211|      0|#define SRE_UNI_IS_BLANK(ch) (SRE_UNI_IS_ZS(ch) || (ch) == 0x09)
  |  |  ------------------
  |  |  |  |  203|      0|#define SRE_UNI_IS_ZS(ch) (SRE_UNI_IS_Z(ch) && (ch) != 0x2028 && (ch) != 0x2029)
  |  |  |  |  ------------------
  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (203:48): [True: 0, False: 0]
  |  |  |  |  |  Branch (203:66): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (211:52): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  361|      0|    case SRE_CATEGORY_NOT_BLANK:
  ------------------
  |  |  133|      0|#define SRE_CATEGORY_NOT_BLANK 63
  ------------------
  |  Branch (361:5): [True: 0, False: 3]
  ------------------
  362|      0|        return !SRE_UNI_IS_BLANK(ch);
  ------------------
  |  |  211|      0|#define SRE_UNI_IS_BLANK(ch) (SRE_UNI_IS_ZS(ch) || (ch) == 0x09)
  |  |  ------------------
  |  |  |  |  203|      0|#define SRE_UNI_IS_ZS(ch) (SRE_UNI_IS_Z(ch) && (ch) != 0x2028 && (ch) != 0x2029)
  |  |  |  |  ------------------
  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (203:48): [True: 0, False: 0]
  |  |  |  |  |  Branch (203:66): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (211:52): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  363|      0|    case SRE_CATEGORY_GRAPH:
  ------------------
  |  |  134|      0|#define SRE_CATEGORY_GRAPH 64
  ------------------
  |  Branch (363:5): [True: 0, False: 3]
  ------------------
  364|      0|        return SRE_UNI_IS_GRAPH(ch);
  ------------------
  |  |  212|      0|#define SRE_UNI_IS_GRAPH(ch) (!SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch) && \
  |  |  ------------------
  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  ------------------
  |  |               #define SRE_UNI_IS_GRAPH(ch) (!SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch) && \
  |  |  ------------------
  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (212:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  213|      0|                              !SRE_IS_CS(ch) && !SRE_UNI_IS_CN(ch))
  |  |  ------------------
  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                             !SRE_IS_CS(ch) && !SRE_UNI_IS_CN(ch))
  |  |  ------------------
  |  |  |  |  208|      0|#define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  209|      0|    !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  192|      0|#define SRE_IS_CO(ch) ((0xE000 <= (ch) && (ch) <= 0xF8FF) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (192:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (192:43): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  193|      0|                       (0xF0000 <= (ch) && (ch) <= 0xFFFFD) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (193:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (193:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  194|      0|                       (0x100000 <= (ch) && (ch) <= 0x10FFFD))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (194:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (194:45): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (209:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  365|      0|    case SRE_CATEGORY_NOT_GRAPH:
  ------------------
  |  |  135|      0|#define SRE_CATEGORY_NOT_GRAPH 65
  ------------------
  |  Branch (365:5): [True: 0, False: 3]
  ------------------
  366|      0|        return !SRE_UNI_IS_GRAPH(ch);
  ------------------
  |  |  212|      0|#define SRE_UNI_IS_GRAPH(ch) (!SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch) && \
  |  |  ------------------
  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  ------------------
  |  |               #define SRE_UNI_IS_GRAPH(ch) (!SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch) && \
  |  |  ------------------
  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (212:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  213|      0|                              !SRE_IS_CS(ch) && !SRE_UNI_IS_CN(ch))
  |  |  ------------------
  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                             !SRE_IS_CS(ch) && !SRE_UNI_IS_CN(ch))
  |  |  ------------------
  |  |  |  |  208|      0|#define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  209|      0|    !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  192|      0|#define SRE_IS_CO(ch) ((0xE000 <= (ch) && (ch) <= 0xF8FF) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (192:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (192:43): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  193|      0|                       (0xF0000 <= (ch) && (ch) <= 0xFFFFD) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (193:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (193:44): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  194|      0|                       (0x100000 <= (ch) && (ch) <= 0x10FFFD))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (194:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (194:45): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (209:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  367|      0|    case SRE_CATEGORY_PRINT:
  ------------------
  |  |  136|      0|#define SRE_CATEGORY_PRINT 66
  ------------------
  |  Branch (367:5): [True: 0, False: 3]
  ------------------
  368|      0|        return SRE_UNI_IS_PRINT(ch);
  ------------------
  |  |  214|      0|#define SRE_UNI_IS_PRINT(ch) ((SRE_UNI_IS_GRAPH(ch) || SRE_UNI_IS_BLANK(ch)) && \
  |  |  ------------------
  |  |  |  |  212|      0|#define SRE_UNI_IS_GRAPH(ch) (!SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_GRAPH(ch) (!SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  213|      0|                              !SRE_IS_CS(ch) && !SRE_UNI_IS_CN(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                                             !SRE_IS_CS(ch) && !SRE_UNI_IS_CN(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  208|      0|#define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|    !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  192|      0|#define SRE_IS_CO(ch) ((0xE000 <= (ch) && (ch) <= 0xF8FF) || \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (192:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (192:43): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  193|      0|                       (0xF0000 <= (ch) && (ch) <= 0xFFFFD) || \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (193:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (193:44): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  194|      0|                       (0x100000 <= (ch) && (ch) <= 0x10FFFD))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (194:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (194:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (209:41): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_PRINT(ch) ((SRE_UNI_IS_GRAPH(ch) || SRE_UNI_IS_BLANK(ch)) && \
  |  |  ------------------
  |  |  |  |  211|      0|#define SRE_UNI_IS_BLANK(ch) (SRE_UNI_IS_ZS(ch) || (ch) == 0x09)
  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|#define SRE_UNI_IS_ZS(ch) (SRE_UNI_IS_Z(ch) && (ch) != 0x2028 && (ch) != 0x2029)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (203:48): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (203:66): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (211:52): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  215|      0|                              !SRE_IS_CC(ch))
  |  |  ------------------
  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  369|      0|    case SRE_CATEGORY_NOT_PRINT:
  ------------------
  |  |  137|      0|#define SRE_CATEGORY_NOT_PRINT 67
  ------------------
  |  Branch (369:5): [True: 0, False: 3]
  ------------------
  370|      0|        return !SRE_UNI_IS_PRINT(ch);
  ------------------
  |  |  214|      0|#define SRE_UNI_IS_PRINT(ch) ((SRE_UNI_IS_GRAPH(ch) || SRE_UNI_IS_BLANK(ch)) && \
  |  |  ------------------
  |  |  |  |  212|      0|#define SRE_UNI_IS_GRAPH(ch) (!SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  ------------------
  |  |  |  |               #define SRE_UNI_IS_GRAPH(ch) (!SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  213|      0|                              !SRE_IS_CS(ch) && !SRE_UNI_IS_CN(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                                             !SRE_IS_CS(ch) && !SRE_UNI_IS_CN(ch))
  |  |  |  |  ------------------
  |  |  |  |  |  |  208|      0|#define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  207|      0|#define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  178|      0|#define SRE_UNI_IS_PRINTABLE(ch) Py_UNICODE_ISPRINTABLE(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  722|      0|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_C(ch) (!SRE_UNI_IS_PRINTABLE(ch) && !SRE_UNI_IS_Z(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (207:27): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define SRE_UNI_IS_CN(ch) (SRE_UNI_IS_C(ch) && !SRE_IS_CC(ch) && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|    !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  191|      0|#define SRE_IS_CS(ch) (0xD800 <= (ch) && (ch) <= 0xDFFF)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (191:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (191:42): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  192|      0|#define SRE_IS_CO(ch) ((0xE000 <= (ch) && (ch) <= 0xF8FF) || \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (192:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (192:43): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  193|      0|                       (0xF0000 <= (ch) && (ch) <= 0xFFFFD) || \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (193:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (193:44): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  194|      0|                       (0x100000 <= (ch) && (ch) <= 0x10FFFD))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (194:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (194:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   !SRE_IS_CS(ch) && !SRE_IS_CO(ch) && !SRE_UNI_IS_CASE_IGNORABLE(ch))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  183|      0|#define SRE_UNI_IS_CASE_IGNORABLE(ch) _PyUnicode_IsCaseIgnorable(ch)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (209:41): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SRE_UNI_IS_PRINT(ch) ((SRE_UNI_IS_GRAPH(ch) || SRE_UNI_IS_BLANK(ch)) && \
  |  |  ------------------
  |  |  |  |  211|      0|#define SRE_UNI_IS_BLANK(ch) (SRE_UNI_IS_ZS(ch) || (ch) == 0x09)
  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|#define SRE_UNI_IS_ZS(ch) (SRE_UNI_IS_Z(ch) && (ch) != 0x2028 && (ch) != 0x2029)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  202|      0|#define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  170|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define SRE_UNI_IS_Z(ch) (SRE_UNI_IS_SPACE(ch) && !SRE_IS_CC(ch))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (203:48): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (203:66): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (211:52): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  215|      0|                              !SRE_IS_CC(ch))
  |  |  ------------------
  |  |  |  |  190|      0|#define SRE_IS_CC(ch) ((ch) <= 0x1F || (0x7F <= (ch) && (ch) <= 0x9F))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (190:24): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:41): [True: 0, False: 0]
  |  |  |  |  |  Branch (190:57): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|      3|    }
  372|      0|    return 0;
  373|      3|}
sre.c:repeat_pool_malloc:
  426|      6|{
  427|      6|    SRE_REPEAT *repeat;
  428|       |
  429|      6|    if (state->repeat_pool_unused) {
  ------------------
  |  Branch (429:9): [True: 0, False: 6]
  ------------------
  430|       |        /* remove from unused pool (singly-linked list) */
  431|      0|        repeat = state->repeat_pool_unused;
  432|      0|        state->repeat_pool_unused = repeat->pool_next;
  433|      0|    }
  434|      6|    else {
  435|      6|        repeat = PyMem_Malloc(sizeof(SRE_REPEAT));
  436|      6|        if (!repeat) {
  ------------------
  |  Branch (436:13): [True: 0, False: 6]
  ------------------
  437|      0|            return NULL;
  438|      0|        }
  439|      6|    }
  440|       |
  441|       |    /* add to used pool (doubly-linked list) */
  442|      6|    SRE_REPEAT *temp = state->repeat_pool_used;
  443|      6|    if (temp) {
  ------------------
  |  Branch (443:9): [True: 3, False: 3]
  ------------------
  444|      3|        temp->pool_prev = repeat;
  445|      3|    }
  446|      6|    repeat->pool_prev = NULL;
  447|      6|    repeat->pool_next = temp;
  448|      6|    state->repeat_pool_used = repeat;
  449|       |
  450|      6|    return repeat;
  451|      6|}
sre.c:repeat_pool_free:
  455|      6|{
  456|      6|    SRE_REPEAT *prev = repeat->pool_prev;
  457|      6|    SRE_REPEAT *next = repeat->pool_next;
  458|       |
  459|       |    /* remove from used pool (doubly-linked list) */
  460|      6|    if (prev) {
  ------------------
  |  Branch (460:9): [True: 0, False: 6]
  ------------------
  461|      0|        prev->pool_next = next;
  462|      0|    }
  463|      6|    else {
  464|      6|        state->repeat_pool_used = next;
  465|      6|    }
  466|      6|    if (next) {
  ------------------
  |  Branch (466:9): [True: 3, False: 3]
  ------------------
  467|      3|        next->pool_prev = prev;
  468|      3|    }
  469|       |
  470|       |    /* add to unused pool (singly-linked list) */
  471|      6|    repeat->pool_next = state->repeat_pool_unused;
  472|      6|    state->repeat_pool_unused = repeat;
  473|      6|}
sre.c:state_fini:
  772|      4|{
  773|      4|    if (state->buffer.buf)
  ------------------
  |  Branch (773:9): [True: 0, False: 4]
  ------------------
  774|      0|        PyBuffer_Release(&state->buffer);
  775|      4|    Py_XDECREF(state->string);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|      4|    data_stack_dealloc(state);
  777|       |    /* See above PyMem_Free() for why we explicitly cast here. */
  778|      4|    PyMem_Free((void*) state->mark);
  779|      4|    state->mark = NULL;
  780|       |    /* SRE_REPEAT pool */
  781|      4|    repeat_pool_clear(state);
  782|      4|}
sre.c:repeat_pool_clear:
  477|      4|{
  478|       |    /* clear used pool */
  479|      4|    SRE_REPEAT *next = state->repeat_pool_used;
  480|      4|    state->repeat_pool_used = NULL;
  481|      4|    while (next) {
  ------------------
  |  Branch (481:12): [True: 0, False: 4]
  ------------------
  482|      0|        SRE_REPEAT *temp = next;
  483|      0|        next = temp->pool_next;
  484|      0|        PyMem_Free(temp);
  485|      0|    }
  486|       |
  487|       |    /* clear unused pool */
  488|      4|    next = state->repeat_pool_unused;
  489|      4|    state->repeat_pool_unused = NULL;
  490|     10|    while (next) {
  ------------------
  |  Branch (490:12): [True: 6, False: 4]
  ------------------
  491|      6|        SRE_REPEAT *temp = next;
  492|      6|        next = temp->pool_next;
  493|      6|        PyMem_Free(temp);
  494|      6|    }
  495|      4|}
sre.c:pattern_new_match:
 2946|      4|{
 2947|       |    /* create match object (from state object) */
 2948|       |
 2949|      4|    MatchObject* match;
 2950|      4|    Py_ssize_t i, j;
 2951|      4|    char* base;
 2952|      4|    int n;
 2953|       |
 2954|      4|    if (status > 0) {
  ------------------
  |  Branch (2954:9): [True: 4, False: 0]
  ------------------
 2955|       |
 2956|       |        /* create match object (with room for extra group marks) */
 2957|       |        /* coverity[ampersand_in_size] */
 2958|      4|        match = PyObject_GC_NewVar(MatchObject,
  ------------------
  |  |  183|      4|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2959|      4|                                   module_state->Match_Type,
 2960|      4|                                   2*(pattern->groups+1));
 2961|      4|        if (!match)
  ------------------
  |  Branch (2961:13): [True: 0, False: 4]
  ------------------
 2962|      0|            return NULL;
 2963|       |
 2964|      4|        Py_INCREF(pattern);
  ------------------
  |  |  310|      4|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2965|      4|        match->pattern = pattern;
 2966|       |
 2967|      4|        match->string = Py_NewRef(state->string);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2968|       |
 2969|      4|        match->regs = NULL;
 2970|      4|        match->groups = pattern->groups+1;
 2971|       |
 2972|       |        /* fill in group slices */
 2973|       |
 2974|      4|        base = (char*) state->beginning;
 2975|      4|        n = state->charsize;
 2976|       |
 2977|      4|        match->mark[0] = ((char*) state->start - base) / n;
 2978|      4|        match->mark[1] = ((char*) state->ptr - base) / n;
 2979|       |
 2980|     34|        for (i = j = 0; i < pattern->groups; i++, j+=2)
  ------------------
  |  Branch (2980:25): [True: 30, False: 4]
  ------------------
 2981|     30|            if (j+1 <= state->lastmark && state->mark[j] && state->mark[j+1]) {
  ------------------
  |  Branch (2981:17): [True: 14, False: 16]
  |  Branch (2981:43): [True: 5, False: 9]
  |  Branch (2981:61): [True: 5, False: 0]
  ------------------
 2982|      5|                match->mark[j+2] = ((char*) state->mark[j] - base) / n;
 2983|      5|                match->mark[j+3] = ((char*) state->mark[j+1] - base) / n;
 2984|       |
 2985|       |                /* check wrong span */
 2986|      5|                if (match->mark[j+2] > match->mark[j+3]) {
  ------------------
  |  Branch (2986:21): [True: 0, False: 5]
  ------------------
 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|      5|            } else
 2994|     25|                match->mark[j+2] = match->mark[j+3] = -1; /* undefined */
 2995|       |
 2996|      4|        match->pos = state->pos;
 2997|      4|        match->endpos = state->endpos;
 2998|       |
 2999|      4|        match->lastindex = state->lastindex;
 3000|       |
 3001|      4|        PyObject_GC_Track(match);
 3002|      4|        return (PyObject*) match;
 3003|       |
 3004|      4|    } 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|      4|}
sre.c:getslice:
  791|      2|{
  792|      2|    if (isbytes) {
  ------------------
  |  Branch (792:9): [True: 0, False: 2]
  ------------------
  793|      0|        if (PyBytes_CheckExact(string) &&
  ------------------
  |  |   29|      0|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  794|      0|            start == 0 && end == PyBytes_GET_SIZE(string)) {
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (794:13): [True: 0, False: 0]
  |  Branch (794:27): [True: 0, False: 0]
  ------------------
  795|      0|            return Py_NewRef(string);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  796|      0|        }
  797|      0|        return PyBytes_FromStringAndSize(
  798|      0|                (const char *)ptr + start, end - start);
  799|      0|    }
  800|      2|    else {
  801|      2|        return PyUnicode_Substring(string, start, end);
  802|      2|    }
  803|      2|}
sre.c:match_getslice_by_index:
 2517|     10|{
 2518|     10|    Py_ssize_t length;
 2519|     10|    int isbytes, charsize;
 2520|     10|    Py_buffer view;
 2521|     10|    PyObject *result;
 2522|     10|    const void* ptr;
 2523|     10|    Py_ssize_t i, j;
 2524|       |
 2525|     10|    assert(0 <= index && index < self->groups);
  ------------------
  |  Branch (2525:5): [True: 10, False: 0]
  |  Branch (2525:5): [True: 10, False: 0]
  ------------------
 2526|     10|    index *= 2;
 2527|       |
 2528|     10|    if (self->string == Py_None || self->mark[index] < 0) {
  ------------------
  |  |  616|     20|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2528:9): [True: 0, False: 10]
  |  Branch (2528:36): [True: 8, False: 2]
  ------------------
 2529|       |        /* return default value if the string or group is undefined */
 2530|      8|        return Py_NewRef(def);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2531|      8|    }
 2532|       |
 2533|      2|    ptr = getstring(self->string, &length, &isbytes, &charsize, &view);
 2534|      2|    if (ptr == NULL)
  ------------------
  |  Branch (2534:9): [True: 0, False: 2]
  ------------------
 2535|      0|        return NULL;
 2536|       |
 2537|      2|    i = self->mark[index];
 2538|      2|    j = self->mark[index+1];
 2539|      2|    i = Py_MIN(i, length);
  ------------------
  |  |  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: 1, False: 1]
  |  |  ------------------
  ------------------
 2540|      2|    j = Py_MIN(j, length);
  ------------------
  |  |  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: 1, False: 1]
  |  |  ------------------
  ------------------
 2541|      2|    result = getslice(isbytes, ptr, self->string, i, j);
 2542|      2|    if (isbytes && view.buf != NULL)
  ------------------
  |  Branch (2542:9): [True: 0, False: 2]
  |  Branch (2542:20): [True: 0, False: 0]
  ------------------
 2543|      0|        PyBuffer_Release(&view);
 2544|      2|    return result;
 2545|      2|}
sre.c:pattern_traverse:
  863|    116|{
  864|    116|    PatternObject *self = _PatternObject_CAST(op);
  ------------------
  |  |  546|    116|#define _PatternObject_CAST(op)     ((PatternObject *)(op))
  ------------------
  865|    116|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    116|    do {                                                                \
  |  |  195|    116|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 116, False: 0]
  |  |  ------------------
  |  |  196|    116|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    116|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    116|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    116|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 116]
  |  |  ------------------
  |  |  198|    116|                return vret;                                            \
  |  |  199|    116|        }                                                               \
  |  |  200|    116|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 116]
  |  |  ------------------
  ------------------
  866|    116|    Py_VISIT(self->groupindex);
  ------------------
  |  |  194|    116|    do {                                                                \
  |  |  195|    116|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 28, False: 88]
  |  |  ------------------
  |  |  196|     28|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     28|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 28]
  |  |  ------------------
  |  |  198|     28|                return vret;                                            \
  |  |  199|     28|        }                                                               \
  |  |  200|    116|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 116]
  |  |  ------------------
  ------------------
  867|    116|    Py_VISIT(self->indexgroup);
  ------------------
  |  |  194|    116|    do {                                                                \
  |  |  195|    116|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 28, False: 88]
  |  |  ------------------
  |  |  196|     28|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     28|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 28]
  |  |  ------------------
  |  |  198|     28|                return vret;                                            \
  |  |  199|     28|        }                                                               \
  |  |  200|    116|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 116]
  |  |  ------------------
  ------------------
  868|    116|    Py_VISIT(self->pattern);
  ------------------
  |  |  194|    116|    do {                                                                \
  |  |  195|    116|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 116, False: 0]
  |  |  ------------------
  |  |  196|    116|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    116|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    116|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    116|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 116]
  |  |  ------------------
  |  |  198|    116|                return vret;                                            \
  |  |  199|    116|        }                                                               \
  |  |  200|    116|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 116]
  |  |  ------------------
  ------------------
  869|       |#ifdef Py_DEBUG
  870|       |    Py_VISIT(self->fail_after_exc);
  871|       |#endif
  872|    116|    return 0;
  873|    116|}
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|      4|{
 2508|      4|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2509|      4|    PyObject_GC_UnTrack(self);
 2510|      4|    (void)match_clear(self);
 2511|      4|    tp->tp_free(self);
 2512|      4|    Py_DECREF(tp);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2513|      4|}
sre.c:_sre_SRE_Match_group_impl:
 2631|     10|{
 2632|     10|    PyObject* result;
 2633|     10|    Py_ssize_t i;
 2634|       |
 2635|     10|    switch (args_length) {
 2636|      0|    case 0:
  ------------------
  |  Branch (2636:5): [True: 0, False: 10]
  ------------------
 2637|      0|        result = match_getslice(self, _PyLong_GetZero(), Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2638|      0|        break;
 2639|     10|    case 1:
  ------------------
  |  Branch (2639:5): [True: 10, False: 0]
  ------------------
 2640|     10|        result = match_getslice(self, args[0], Py_None);
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2641|     10|        break;
 2642|      0|    default:
  ------------------
  |  Branch (2642:5): [True: 0, False: 10]
  ------------------
 2643|       |        /* fetch multiple items */
 2644|      0|        result = PyTuple_New(args_length);
 2645|      0|        if (!result)
  ------------------
  |  Branch (2645:13): [True: 0, False: 0]
  ------------------
 2646|      0|            return NULL;
 2647|      0|        for (i = 0; i < args_length; i++) {
  ------------------
  |  Branch (2647:21): [True: 0, False: 0]
  ------------------
 2648|      0|            PyObject* item = match_getslice(self, args[i], Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2649|      0|            if (!item) {
  ------------------
  |  Branch (2649:17): [True: 0, False: 0]
  ------------------
 2650|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2651|      0|                return NULL;
 2652|      0|            }
 2653|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2654|      0|        }
 2655|      0|        break;
 2656|     10|    }
 2657|     10|    return result;
 2658|     10|}
sre.c:match_getslice:
 2584|     10|{
 2585|     10|    Py_ssize_t i = match_getindex(self, index);
 2586|       |
 2587|     10|    if (i < 0) {
  ------------------
  |  Branch (2587:9): [True: 0, False: 10]
  ------------------
 2588|      0|        return NULL;
 2589|      0|    }
 2590|       |
 2591|     10|    return match_getslice_by_index(self, i, def);
 2592|     10|}
sre.c:match_getindex:
 2549|     10|{
 2550|     10|    Py_ssize_t i;
 2551|       |
 2552|     10|    if (index == NULL)
  ------------------
  |  Branch (2552:9): [True: 0, False: 10]
  ------------------
 2553|       |        /* Default value */
 2554|      0|        return 0;
 2555|       |
 2556|     10|    if (PyIndex_Check(index)) {
  ------------------
  |  Branch (2556:9): [True: 0, False: 10]
  ------------------
 2557|      0|        i = PyNumber_AsSsize_t(index, NULL);
 2558|      0|    }
 2559|     10|    else {
 2560|     10|        i = -1;
 2561|       |
 2562|     10|        if (self->pattern->groupindex) {
  ------------------
  |  Branch (2562:13): [True: 10, False: 0]
  ------------------
 2563|     10|            index = PyDict_GetItemWithError(self->pattern->groupindex, index);
 2564|     10|            if (index && PyLong_Check(index)) {
  ------------------
  |  |   13|     10|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     10|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 10, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2564:17): [True: 10, False: 0]
  ------------------
 2565|     10|                i = PyLong_AsSsize_t(index);
 2566|     10|            }
 2567|     10|        }
 2568|     10|    }
 2569|     10|    if (i < 0 || i >= self->groups) {
  ------------------
  |  Branch (2569:9): [True: 0, False: 10]
  |  Branch (2569:18): [True: 0, False: 10]
  ------------------
 2570|       |        /* raise IndexError if we were given a bad group number */
 2571|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (2571:13): [True: 0, False: 0]
  ------------------
 2572|      0|            PyErr_SetString(PyExc_IndexError, "no such group");
 2573|      0|        }
 2574|      0|        return -1;
 2575|      0|    }
 2576|       |
 2577|       |    // Check that i*2 cannot overflow to make static analyzers happy
 2578|     10|    assert((size_t)i <= SRE_MAXGROUPS);
  ------------------
  |  Branch (2578:5): [True: 10, False: 0]
  ------------------
 2579|     10|    return i;
 2580|     10|}
sre.c:match_clear:
 2497|      4|{
 2498|      4|    MatchObject *self = _MatchObject_CAST(op);
  ------------------
  |  |  547|      4|#define _MatchObject_CAST(op)       ((MatchObject *)(op))
  ------------------
 2499|      4|    Py_CLEAR(self->string);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2500|      4|    Py_CLEAR(self->regs);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2501|       |    Py_CLEAR(self->pattern);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2502|      4|    return 0;
 2503|      4|}
sre.c:sre_traverse:
 3580|     20|{
 3581|     20|    _sremodulestate *state = get_sre_module_state(module);
 3582|       |
 3583|     20|    Py_VISIT(state->Pattern_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 3584|     20|    Py_VISIT(state->Match_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 3585|     20|    Py_VISIT(state->Scanner_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 3586|     20|    Py_VISIT(state->Template_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 3587|     20|    Py_VISIT(state->compile_template);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 20]
  |  |  ------------------
  |  |  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|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 3588|       |
 3589|     20|    return 0;
 3590|     20|}

sre.c:sre_ucs1_match:
  663|      4|{
  664|      4|    const SRE_CHAR* end = (const SRE_CHAR *)state->end;
  665|      4|    Py_ssize_t alloc_pos, ctx_pos = -1;
  666|      4|    Py_ssize_t ret = 0;
  667|      4|    int jump;
  668|      4|    unsigned int sigcount = state->sigcount;
  669|       |
  670|      4|    SRE(match_context)* ctx;
  ------------------
  |  |  501|      4|#define SRE(F) sre_ucs1_##F
  ------------------
  671|      4|    SRE(match_context)* nextctx;
  ------------------
  |  |  501|      4|#define SRE(F) sre_ucs1_##F
  ------------------
  672|      4|    INIT_TRACE(state);
  673|       |
  674|      4|    TRACE(("|%p|%p|ENTER\n", pattern, state->ptr));
  675|       |
  676|      4|    DATA_ALLOC(SRE(match_context), ctx);
  ------------------
  |  |  512|      4|    DATA_STACK_ALLOC(state, t, p)
  |  |  ------------------
  |  |  |  |  451|      4|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  452|      4|do { \
  |  |  |  |  453|      4|    alloc_pos = state->data_stack_base; \
  |  |  |  |  454|      4|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  455|      4|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  456|      4|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (456:9): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  457|      4|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  458|      4|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (458:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  459|      4|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (459:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  460|      4|            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|      4|    } \
  |  |  |  |  462|      4|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  463|      4|    state->data_stack_base += sizeof(type); \
  |  |  |  |  464|      4|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (464:10): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  677|      4|    ctx->last_ctx_pos = -1;
  678|      4|    ctx->jump = JUMP_NONE;
  ------------------
  |  |  559|      4|#define JUMP_NONE            0
  ------------------
  679|      4|    ctx->toplevel = toplevel;
  680|      4|    ctx_pos = alloc_pos;
  681|       |
  682|      4|#if USE_COMPUTED_GOTOS
  683|      4|#include "sre_targets.h"
  ------------------
  |  |    1|       |/*
  |  |    2|       | * Secret Labs' Regular Expression Engine
  |  |    3|       | *
  |  |    4|       | * regular expression matching engine
  |  |    5|       | *
  |  |    6|       | * Auto-generated by Tools/build/generate_sre_constants.py from
  |  |    7|       | * Lib/re/_constants.py.
  |  |    8|       | *
  |  |    9|       | * Copyright (c) 1997-2001 by Secret Labs AB.  All rights reserved.
  |  |   10|       | *
  |  |   11|       | * See the sre.c file for information on usage and redistribution.
  |  |   12|       | */
  |  |   13|       |
  |  |   14|      4|static void *sre_targets[43] = {
  |  |   15|      4|    &&TARGET_SRE_OP_FAILURE,
  |  |   16|      4|    &&TARGET_SRE_OP_SUCCESS,
  |  |   17|      4|    &&TARGET_SRE_OP_ANY,
  |  |   18|      4|    &&TARGET_SRE_OP_ANY_ALL,
  |  |   19|      4|    &&TARGET_SRE_OP_ASSERT,
  |  |   20|      4|    &&TARGET_SRE_OP_ASSERT_NOT,
  |  |   21|      4|    &&TARGET_SRE_OP_AT,
  |  |   22|      4|    &&TARGET_SRE_OP_BRANCH,
  |  |   23|      4|    &&TARGET_SRE_OP_CATEGORY,
  |  |   24|      4|    &&TARGET_SRE_OP_CHARSET,
  |  |   25|      4|    &&TARGET_SRE_OP_BIGCHARSET,
  |  |   26|      4|    &&TARGET_SRE_OP_GROUPREF,
  |  |   27|      4|    &&TARGET_SRE_OP_GROUPREF_EXISTS,
  |  |   28|      4|    &&TARGET_SRE_OP_IN,
  |  |   29|      4|    &&TARGET_SRE_OP_INFO,
  |  |   30|      4|    &&TARGET_SRE_OP_JUMP,
  |  |   31|      4|    &&TARGET_SRE_OP_LITERAL,
  |  |   32|      4|    &&TARGET_SRE_OP_MARK,
  |  |   33|      4|    &&TARGET_SRE_OP_MAX_UNTIL,
  |  |   34|      4|    &&TARGET_SRE_OP_MIN_UNTIL,
  |  |   35|      4|    &&TARGET_SRE_OP_NOT_LITERAL,
  |  |   36|      4|    &&TARGET_SRE_OP_NEGATE,
  |  |   37|      4|    &&TARGET_SRE_OP_RANGE,
  |  |   38|      4|    &&TARGET_SRE_OP_REPEAT,
  |  |   39|      4|    &&TARGET_SRE_OP_REPEAT_ONE,
  |  |   40|      4|    &&TARGET_SRE_OP_SUBPATTERN,
  |  |   41|      4|    &&TARGET_SRE_OP_MIN_REPEAT_ONE,
  |  |   42|      4|    &&TARGET_SRE_OP_ATOMIC_GROUP,
  |  |   43|      4|    &&TARGET_SRE_OP_POSSESSIVE_REPEAT,
  |  |   44|      4|    &&TARGET_SRE_OP_POSSESSIVE_REPEAT_ONE,
  |  |   45|      4|    &&TARGET_SRE_OP_GROUPREF_IGNORE,
  |  |   46|      4|    &&TARGET_SRE_OP_IN_IGNORE,
  |  |   47|      4|    &&TARGET_SRE_OP_LITERAL_IGNORE,
  |  |   48|      4|    &&TARGET_SRE_OP_NOT_LITERAL_IGNORE,
  |  |   49|      4|    &&TARGET_SRE_OP_GROUPREF_LOC_IGNORE,
  |  |   50|      4|    &&TARGET_SRE_OP_IN_LOC_IGNORE,
  |  |   51|      4|    &&TARGET_SRE_OP_LITERAL_LOC_IGNORE,
  |  |   52|      4|    &&TARGET_SRE_OP_NOT_LITERAL_LOC_IGNORE,
  |  |   53|      4|    &&TARGET_SRE_OP_GROUPREF_UNI_IGNORE,
  |  |   54|      4|    &&TARGET_SRE_OP_IN_UNI_IGNORE,
  |  |   55|      4|    &&TARGET_SRE_OP_LITERAL_UNI_IGNORE,
  |  |   56|      4|    &&TARGET_SRE_OP_NOT_LITERAL_UNI_IGNORE,
  |  |   57|      4|    &&TARGET_SRE_OP_RANGE_UNI_IGNORE,
  |  |   58|      4|};
  ------------------
  684|      4|#endif
  685|       |
  686|     36|entrance:
  687|       |
  688|     36|    ;  // Fashion statement.
  689|     36|    const SRE_CHAR *ptr = (SRE_CHAR *)state->ptr;
  690|       |
  691|     36|    if (pattern[0] == SRE_OP_INFO) {
  ------------------
  |  |   29|     36|#define SRE_OP_INFO 14
  ------------------
  |  Branch (691:9): [True: 4, False: 32]
  ------------------
  692|       |        /* optimization info block */
  693|       |        /* <INFO> <1=skip> <2=flags> <3=min> ... */
  694|      4|        if (pattern[3] && (uintptr_t)(end - ptr) < pattern[3]) {
  ------------------
  |  Branch (694:13): [True: 0, False: 4]
  |  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|      4|        pattern += pattern[1] + 1;
  700|      4|    }
  701|       |
  702|     36|#if USE_COMPUTED_GOTOS
  703|     36|    DISPATCH;
  ------------------
  |  |  650|     36|        do {                               \
  |  |  651|     36|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|     36|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|     36|    do {                                                           \
  |  |  |  |  |  |  616|     36|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 36]
  |  |  |  |  |  |  |  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|     36|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 36]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|     36|            goto *sre_targets[*pattern++]; \
  |  |  653|     36|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 36]
  |  |  ------------------
  ------------------
  704|       |#else
  705|       |dispatch:
  706|       |    MAYBE_CHECK_SIGNALS;
  707|       |    switch (*pattern++)
  708|       |#endif
  709|     36|    {
  710|       |
  711|     36|        TARGET(SRE_OP_MARK):
  ------------------
  |  |  648|     15|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  712|       |            /* set mark */
  713|       |            /* <MARK> <gid> */
  714|     15|            TRACE(("|%p|%p|MARK %d\n", pattern,
  715|     15|                   ptr, pattern[0]));
  716|     15|            {
  717|     15|                int i = pattern[0];
  718|     15|                if (i & 1)
  ------------------
  |  Branch (718:21): [True: 5, False: 10]
  ------------------
  719|      5|                    state->lastindex = i/2 + 1;
  720|     15|                if (i > state->lastmark) {
  ------------------
  |  Branch (720:21): [True: 14, False: 1]
  ------------------
  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|     14|                    int j = state->lastmark + 1;
  726|     68|                    while (j < i)
  ------------------
  |  Branch (726:28): [True: 54, False: 14]
  ------------------
  727|     54|                        state->mark[j++] = NULL;
  728|     14|                    state->lastmark = i;
  729|     14|                }
  730|     15|                state->mark[i] = ptr;
  731|     15|            }
  732|     15|            pattern++;
  733|     15|            DISPATCH;
  ------------------
  |  |  650|     15|        do {                               \
  |  |  651|     15|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|     15|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|     15|    do {                                                           \
  |  |  |  |  |  |  616|     15|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 15]
  |  |  |  |  |  |  |  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|     15|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|     15|            goto *sre_targets[*pattern++]; \
  |  |  653|     15|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 15]
  |  |  ------------------
  ------------------
  734|       |
  735|     15|        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|      4|        TARGET(SRE_OP_SUCCESS):
  ------------------
  |  |  648|      4|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  758|       |            /* end of pattern */
  759|      4|            TRACE(("|%p|%p|SUCCESS\n", pattern, ptr));
  760|      4|            if (ctx->toplevel &&
  ------------------
  |  Branch (760:17): [True: 4, False: 0]
  ------------------
  761|      4|                ((state->match_all && ptr != state->end) ||
  ------------------
  |  Branch (761:19): [True: 0, False: 4]
  |  Branch (761:39): [True: 0, False: 0]
  ------------------
  762|      4|                 (state->must_advance && ptr == state->start)))
  ------------------
  |  Branch (762:19): [True: 0, False: 4]
  |  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|      4|            state->ptr = ptr;
  767|      4|            RETURN_SUCCESS;
  ------------------
  |  |  442|      4|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  768|       |
  769|      3|        TARGET(SRE_OP_AT):
  ------------------
  |  |  648|      3|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  770|       |            /* match at given position */
  771|       |            /* <AT> <code> */
  772|      3|            TRACE(("|%p|%p|AT %d\n", pattern, ptr, *pattern));
  773|      3|            if (!SRE(at)(state, ptr, *pattern))
  ------------------
  |  |  501|      3|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (773:17): [True: 0, False: 3]
  ------------------
  774|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  775|      3|            pattern++;
  776|      3|            DISPATCH;
  ------------------
  |  |  650|      3|        do {                               \
  |  |  651|      3|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      3|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      3|    do {                                                           \
  |  |  |  |  |  |  616|      3|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 3]
  |  |  |  |  |  |  |  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|      3|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      3|            goto *sre_targets[*pattern++]; \
  |  |  653|      3|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 3]
  |  |  ------------------
  ------------------
  777|       |
  778|      3|        TARGET(SRE_OP_CATEGORY):
  ------------------
  |  |  648|      3|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  779|       |            /* match at given category */
  780|       |            /* <CATEGORY> <code> */
  781|      3|            TRACE(("|%p|%p|CATEGORY %d\n", pattern,
  782|      3|                   ptr, *pattern));
  783|      3|            if (ptr >= end || !sre_category(pattern[0], ptr[0]))
  ------------------
  |  Branch (783:17): [True: 0, False: 3]
  |  Branch (783:31): [True: 3, False: 0]
  ------------------
  784|      3|                RETURN_FAILURE;
  ------------------
  |  |  441|      3|#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|      3|        TARGET(SRE_OP_IN):
  ------------------
  |  |  648|      3|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  808|       |            /* match set member (or non_member) */
  809|       |            /* <IN> <skip> <set> */
  810|      3|            TRACE(("|%p|%p|IN\n", pattern, ptr));
  811|      3|            if (ptr >= end ||
  ------------------
  |  Branch (811:17): [True: 0, False: 3]
  ------------------
  812|      3|                !SRE(charset)(state, pattern + 1, *ptr))
  ------------------
  |  |  501|      3|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (812:17): [True: 2, False: 1]
  ------------------
  813|      2|                RETURN_FAILURE;
  ------------------
  |  |  441|      2|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  814|      1|            pattern += pattern[0];
  815|      1|            ptr++;
  816|      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]
  |  |  ------------------
  ------------------
  817|       |
  818|      1|        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|      7|        TARGET(SRE_OP_LITERAL_UNI_IGNORE):
  ------------------
  |  |  648|      7|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  829|      7|            TRACE(("|%p|%p|LITERAL_UNI_IGNORE %d\n",
  830|      7|                   pattern, ptr, pattern[0]));
  831|      7|            if (ptr >= end ||
  ------------------
  |  Branch (831:17): [True: 0, False: 7]
  ------------------
  832|      7|                sre_lower_unicode(*ptr) != *pattern)
  ------------------
  |  Branch (832:17): [True: 0, False: 7]
  ------------------
  833|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  834|      7|            pattern++;
  835|      7|            ptr++;
  836|      7|            DISPATCH;
  ------------------
  |  |  650|      7|        do {                               \
  |  |  651|      7|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      7|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      7|    do {                                                           \
  |  |  |  |  |  |  616|      7|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 7]
  |  |  |  |  |  |  |  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|      7|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 7]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      7|            goto *sre_targets[*pattern++]; \
  |  |  653|      7|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 7]
  |  |  ------------------
  ------------------
  837|       |
  838|      7|        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|      6|        TARGET(SRE_OP_IN_UNI_IGNORE):
  ------------------
  |  |  648|      6|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  889|      6|            TRACE(("|%p|%p|IN_UNI_IGNORE\n", pattern, ptr));
  890|      6|            if (ptr >= end
  ------------------
  |  Branch (890:17): [True: 2, False: 4]
  ------------------
  891|      4|                || !SRE(charset)(state, pattern+1,
  ------------------
  |  |  501|      4|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (891:20): [True: 2, False: 2]
  ------------------
  892|      4|                                 (SRE_CODE)sre_lower_unicode(*ptr)))
  893|      4|                RETURN_FAILURE;
  ------------------
  |  |  441|      4|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  894|      2|            pattern += pattern[0];
  895|      2|            ptr++;
  896|      2|            DISPATCH;
  ------------------
  |  |  650|      2|        do {                               \
  |  |  651|      2|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      2|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      2|    do {                                                           \
  |  |  |  |  |  |  616|      2|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 2]
  |  |  |  |  |  |  |  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|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      2|            goto *sre_targets[*pattern++]; \
  |  |  653|      2|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 2]
  |  |  ------------------
  ------------------
  897|       |
  898|      2|        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|      3|        TARGET(SRE_OP_JUMP):
  ------------------
  |  |  648|      3|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  908|      3|        TARGET(SRE_OP_INFO):
  ------------------
  |  |  648|      3|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  909|       |            /* jump forward */
  910|       |            /* <JUMP> <offset> */
  911|      3|            TRACE(("|%p|%p|JUMP %d\n", pattern,
  912|      3|                   ptr, pattern[0]));
  913|      3|            pattern += pattern[0];
  914|      3|            DISPATCH;
  ------------------
  |  |  650|      3|        do {                               \
  |  |  651|      3|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  633|      3|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  615|      3|    do {                                                           \
  |  |  |  |  |  |  616|      3|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (616:13): [True: 0, False: 3]
  |  |  |  |  |  |  |  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|      3|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (619:14): [Folded, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  652|      3|            goto *sre_targets[*pattern++]; \
  |  |  653|      3|        } while (0)
  |  |  ------------------
  |  |  |  Branch (653:18): [Folded, False: 3]
  |  |  ------------------
  ------------------
  915|       |
  916|      6|        TARGET(SRE_OP_BRANCH):
  ------------------
  |  |  648|      6|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  917|       |            /* alternation */
  918|       |            /* <BRANCH> <0=skip> code <JUMP> ... <NULL> */
  919|      6|            TRACE(("|%p|%p|BRANCH\n", pattern, ptr));
  920|      6|            LASTMARK_SAVE();
  ------------------
  |  |  417|      6|    do { \
  |  |  418|      6|        ctx->lastmark = state->lastmark; \
  |  |  419|      6|        ctx->lastindex = state->lastindex; \
  |  |  420|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  921|      6|            if (state->save_marks)
  ------------------
  |  Branch (921:17): [True: 0, False: 6]
  ------------------
  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|     16|            for (; pattern[0]; pattern += pattern[0]) {
  ------------------
  |  Branch (923:20): [True: 13, False: 3]
  ------------------
  924|     13|                if (pattern[1] == SRE_OP_LITERAL &&
  ------------------
  |  |   31|     26|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (924:21): [True: 3, False: 10]
  ------------------
  925|      3|                    (ptr >= end ||
  ------------------
  |  Branch (925:22): [True: 0, False: 3]
  ------------------
  926|      3|                     (SRE_CODE) *ptr != pattern[2]))
  ------------------
  |  Branch (926:22): [True: 3, False: 0]
  ------------------
  927|      3|                    continue;
  928|     10|                if (pattern[1] == SRE_OP_IN &&
  ------------------
  |  |   28|     20|#define SRE_OP_IN 13
  ------------------
  |  Branch (928:21): [True: 0, False: 10]
  ------------------
  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|     10|                state->ptr = ptr;
  934|     10|                DO_JUMP(JUMP_BRANCH, jump_branch, pattern+1);
  ------------------
  |  |  594|     10|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|     10|    ctx->pattern = pattern; \
  |  |  |  |  579|     10|    ctx->ptr = ptr; \
  |  |  |  |  580|     10|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|     10|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|     10|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|     10|do { \
  |  |  |  |  |  |  |  |  453|     10|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|     10|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|     10|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|     10|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 10]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  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|     10|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|     10|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|     10|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 10]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|     10|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|     10|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|     10|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|     10|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|     10|    pattern = nextpattern; \
  |  |  |  |  586|     10|    ctx_pos = alloc_pos; \
  |  |  |  |  587|     10|    ctx = nextctx; \
  |  |  |  |  588|     10|    goto entrance; \
  |  |  |  |  589|     10|    jumplabel: \
  |  |  |  |  590|     10|    pattern = ctx->pattern; \
  |  |  |  |  591|     10|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
  935|     10|                if (ret) {
  ------------------
  |  Branch (935:21): [True: 3, False: 7]
  ------------------
  936|      3|                    if (state->save_marks)
  ------------------
  |  Branch (936:25): [True: 0, False: 3]
  ------------------
  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|      3|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      3|    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: 3]
  |  |  |  Branch (445:47): [Folded, False: 3]
  |  |  ------------------
  ------------------
  939|      3|                    RETURN_SUCCESS;
  ------------------
  |  |  442|      3|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  940|      3|                }
  941|      7|                if (state->save_marks)
  ------------------
  |  Branch (941:21): [True: 0, False: 7]
  ------------------
  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|      7|                LASTMARK_RESTORE();
  ------------------
  |  |  422|      7|    do { \
  |  |  423|      7|        state->lastmark = ctx->lastmark; \
  |  |  424|      7|        state->lastindex = ctx->lastindex; \
  |  |  425|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
  944|      7|            }
  945|      3|            if (state->save_marks)
  ------------------
  |  Branch (945:17): [True: 0, False: 3]
  ------------------
  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|      3|            RETURN_FAILURE;
  ------------------
  |  |  441|      3|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  948|       |
  949|      1|        TARGET(SRE_OP_REPEAT_ONE):
  ------------------
  |  |  648|      1|    #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|      1|            TRACE(("|%p|%p|REPEAT_ONE %d %d\n", pattern, ptr,
  960|      1|                   pattern[1], pattern[2]));
  961|       |
  962|      1|            if ((Py_ssize_t) pattern[1] > end - ptr)
  ------------------
  |  Branch (962:17): [True: 0, False: 1]
  ------------------
  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|      1|            state->ptr = ptr;
  966|       |
  967|      1|            ret = SRE(count)(state, pattern+3, pattern[2]);
  ------------------
  |  |  501|      1|#define SRE(F) sre_ucs1_##F
  ------------------
  968|      1|            RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      1|    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: 1]
  |  |  |  Branch (445:47): [Folded, False: 1]
  |  |  ------------------
  ------------------
  969|      1|            DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  514|      1|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  466|      1|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  467|      1|do { \
  |  |  |  |  468|      1|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  469|      1|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  470|      1|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:10): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  970|      1|            ctx->count = ret;
  971|      1|            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|      1|            if (ctx->count < (Py_ssize_t) pattern[1])
  ------------------
  |  Branch (978:17): [True: 0, False: 1]
  ------------------
  979|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  980|       |
  981|      1|            if (pattern[pattern[0]] == SRE_OP_SUCCESS &&
  ------------------
  |  |   16|      2|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (981:17): [True: 0, False: 1]
  ------------------
  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|      1|            LASTMARK_SAVE();
  ------------------
  |  |  417|      1|    do { \
  |  |  418|      1|        ctx->lastmark = state->lastmark; \
  |  |  419|      1|        ctx->lastindex = state->lastindex; \
  |  |  420|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  991|      1|            if (state->save_marks)
  ------------------
  |  Branch (991:17): [True: 0, False: 1]
  ------------------
  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|      1|            if (pattern[pattern[0]] == SRE_OP_LITERAL) {
  ------------------
  |  |   31|      1|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (994:17): [True: 0, False: 1]
  ------------------
  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|      1|            } else {
 1025|       |                /* general case */
 1026|      1|                while (ctx->count >= (Py_ssize_t) pattern[1]) {
  ------------------
  |  Branch (1026:24): [True: 1, False: 0]
  ------------------
 1027|      1|                    state->ptr = ptr;
 1028|      1|                    DO_JUMP(JUMP_REPEAT_ONE_2, jump_repeat_one_2,
  ------------------
  |  |  594|      1|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      1|    ctx->pattern = pattern; \
  |  |  |  |  579|      1|    ctx->ptr = ptr; \
  |  |  |  |  580|      1|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  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: 0, False: 1]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  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|      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]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      1|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      1|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      1|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      1|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      1|    pattern = nextpattern; \
  |  |  |  |  586|      1|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      1|    ctx = nextctx; \
  |  |  |  |  588|      1|    goto entrance; \
  |  |  |  |  589|      1|    jumplabel: \
  |  |  |  |  590|      1|    pattern = ctx->pattern; \
  |  |  |  |  591|      1|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1029|      1|                            pattern+pattern[0]);
 1030|      1|                    if (ret) {
  ------------------
  |  Branch (1030:25): [True: 1, False: 0]
  ------------------
 1031|      1|                        if (state->save_marks)
  ------------------
  |  Branch (1031:29): [True: 0, False: 1]
  ------------------
 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|      1|                        RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      1|    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: 1]
  |  |  |  Branch (445:47): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1034|      1|                        RETURN_SUCCESS;
  ------------------
  |  |  442|      1|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1035|      1|                    }
 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|      6|        TARGET(SRE_OP_REPEAT):
  ------------------
  |  |  648|      6|    #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|      6|            TRACE(("|%p|%p|REPEAT %d %d\n", pattern, ptr,
 1186|      6|                   pattern[1], pattern[2]));
 1187|       |
 1188|       |            /* install new repeat context */
 1189|      6|            ctx->u.rep = repeat_pool_malloc(state);
 1190|      6|            if (!ctx->u.rep) {
  ------------------
  |  Branch (1190:17): [True: 0, False: 6]
  ------------------
 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|      6|            ctx->u.rep->count = -1;
 1194|      6|            ctx->u.rep->pattern = pattern;
 1195|      6|            ctx->u.rep->prev = state->repeat;
 1196|      6|            ctx->u.rep->last_ptr = NULL;
 1197|      6|            state->repeat = ctx->u.rep;
 1198|      6|            state->save_marks++;
 1199|       |
 1200|      6|            state->ptr = ptr;
 1201|      6|            DO_JUMP(JUMP_REPEAT, jump_repeat, pattern+pattern[0]);
  ------------------
  |  |  594|      6|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      6|    ctx->pattern = pattern; \
  |  |  |  |  579|      6|    ctx->ptr = ptr; \
  |  |  |  |  580|      6|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      6|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      6|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      6|do { \
  |  |  |  |  |  |  |  |  453|      6|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      6|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      6|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      6|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  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|      6|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      6|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      6|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      6|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      6|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      6|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      6|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      6|    pattern = nextpattern; \
  |  |  |  |  586|      6|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      6|    ctx = nextctx; \
  |  |  |  |  588|      6|    goto entrance; \
  |  |  |  |  589|      6|    jumplabel: \
  |  |  |  |  590|      6|    pattern = ctx->pattern; \
  |  |  |  |  591|      6|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1202|      6|            state->repeat = ctx->u.rep->prev;
 1203|      6|            state->save_marks--;
 1204|      6|            repeat_pool_free(state, ctx->u.rep);
 1205|       |
 1206|      6|            if (ret) {
  ------------------
  |  Branch (1206:17): [True: 6, False: 0]
  ------------------
 1207|      6|                RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      6|    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: 6]
  |  |  |  Branch (445:47): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1208|      6|                RETURN_SUCCESS;
  ------------------
  |  |  442|      6|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1209|      6|            }
 1210|      0|            RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1211|       |
 1212|      7|        TARGET(SRE_OP_MAX_UNTIL):
  ------------------
  |  |  648|      7|    #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|      7|            ctx->u.rep = state->repeat;
 1220|      7|            if (!ctx->u.rep)
  ------------------
  |  Branch (1220:17): [True: 0, False: 7]
  ------------------
 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|      7|            state->ptr = ptr;
 1224|       |
 1225|      7|            ctx->count = ctx->u.rep->count+1;
 1226|       |
 1227|      7|            TRACE(("|%p|%p|MAX_UNTIL %zd\n", pattern,
 1228|      7|                   ptr, ctx->count));
 1229|       |
 1230|      7|            if (ctx->count < (Py_ssize_t) ctx->u.rep->pattern[1]) {
  ------------------
  |  Branch (1230:17): [True: 0, False: 7]
  ------------------
 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|      7|            if ((ctx->count < (Py_ssize_t) ctx->u.rep->pattern[2] ||
  ------------------
  |  Branch (1244:18): [True: 6, False: 1]
  ------------------
 1245|      1|                ctx->u.rep->pattern[2] == SRE_MAXREPEAT) &&
  ------------------
  |  |   20|      1|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1245:17): [True: 0, False: 1]
  ------------------
 1246|      6|                state->ptr != ctx->u.rep->last_ptr) {
  ------------------
  |  Branch (1246:17): [True: 6, False: 0]
  ------------------
 1247|       |                /* we may have enough matches, but if we can
 1248|       |                   match another item, do so */
 1249|      6|                ctx->u.rep->count = ctx->count;
 1250|      6|                LASTMARK_SAVE();
  ------------------
  |  |  417|      6|    do { \
  |  |  418|      6|        ctx->lastmark = state->lastmark; \
  |  |  419|      6|        ctx->lastindex = state->lastindex; \
  |  |  420|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (420:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1251|      6|                MARK_PUSH(ctx->lastmark);
  ------------------
  |  |  535|      6|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (535:12): [True: 3, False: 3]
  |  |  ------------------
  |  |  536|      3|        MARK_TRACE("push", (lastmark)); \
  |  |  537|      3|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  538|      3|        DATA_STACK_PUSH(state, state->mark, _marks_size); \
  |  |  ------------------
  |  |  |  |  472|      3|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  473|      3|do { \
  |  |  |  |  474|      3|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  475|      3|           data, state->data_stack_base, size)); \
  |  |  |  |  476|      3|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (476:9): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |  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|      3|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  483|      3|    state->data_stack_base += size; \
  |  |  |  |  484|      3|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (484:10): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  539|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (539:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1252|       |                /* zero-width match protection */
 1253|      6|                LAST_PTR_PUSH();
  ------------------
  |  |  428|      6|    do { \
  |  |  429|      6|        TRACE(("push last_ptr: %zd", \
  |  |  430|      6|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  431|      6|        DATA_PUSH(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  506|      6|    DATA_STACK_PUSH(state, (x), sizeof(*(x)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  472|      6|#define DATA_STACK_PUSH(state, data, size) \
  |  |  |  |  |  |  473|      6|do { \
  |  |  |  |  |  |  474|      6|    TRACE(("copy data in %p to %zd (%zd)\n", \
  |  |  |  |  |  |  475|      6|           data, state->data_stack_base, size)); \
  |  |  |  |  |  |  476|      6|    if (size > state->data_stack_size - state->data_stack_base) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (476:9): [True: 0, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  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|      6|    memcpy(state->data_stack+state->data_stack_base, data, size); \
  |  |  |  |  |  |  483|      6|    state->data_stack_base += size; \
  |  |  |  |  |  |  484|      6|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (484:10): [Folded, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  432|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (432:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1254|      6|                ctx->u.rep->last_ptr = state->ptr;
 1255|      6|                DO_JUMP(JUMP_MAX_UNTIL_2, jump_max_until_2,
  ------------------
  |  |  594|      6|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      6|    ctx->pattern = pattern; \
  |  |  |  |  579|      6|    ctx->ptr = ptr; \
  |  |  |  |  580|      6|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      6|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      6|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      6|do { \
  |  |  |  |  |  |  |  |  453|      6|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      6|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      6|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      6|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  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|      6|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      6|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      6|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      6|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      6|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      6|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      6|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      6|    pattern = nextpattern; \
  |  |  |  |  586|      6|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      6|    ctx = nextctx; \
  |  |  |  |  588|      6|    goto entrance; \
  |  |  |  |  589|      6|    jumplabel: \
  |  |  |  |  590|      6|    pattern = ctx->pattern; \
  |  |  |  |  591|      6|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1256|      6|                        ctx->u.rep->pattern+3);
 1257|      6|                LAST_PTR_POP();
  ------------------
  |  |  434|      6|    do { \
  |  |  435|      6|        DATA_POP(&ctx->u.rep->last_ptr); \
  |  |  ------------------
  |  |  |  |  508|      6|    DATA_STACK_POP(state, (x), sizeof(*(x)), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  489|      6|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  |  |  490|      6|do { \
  |  |  |  |  |  |  491|      6|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  |  |  492|      6|           data, state->data_stack_base-size, size)); \
  |  |  |  |  |  |  493|      6|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  |  |  494|      6|    if (discard) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (494:9): [True: 6, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  495|      6|        state->data_stack_base -= size; \
  |  |  |  |  |  |  496|      6|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (496:10): [Folded, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  436|      6|        TRACE(("pop last_ptr: %zd", \
  |  |  437|      6|                PTR_TO_INDEX(ctx->u.rep->last_ptr))); \
  |  |  438|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (438:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1258|      6|                if (ret) {
  ------------------
  |  Branch (1258:21): [True: 1, False: 5]
  ------------------
 1259|      1|                    MARK_POP_DISCARD(ctx->lastmark);
  ------------------
  |  |  553|      1|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (553:12): [True: 0, False: 1]
  |  |  ------------------
  |  |  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|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (557:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1260|      1|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  445|      1|    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: 1]
  |  |  |  Branch (445:47): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1261|      1|                    RETURN_SUCCESS;
  ------------------
  |  |  442|      1|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1262|      1|                }
 1263|      5|                MARK_POP(ctx->lastmark);
  ------------------
  |  |  541|      5|    do if (lastmark >= 0) { \
  |  |  ------------------
  |  |  |  Branch (541:12): [True: 3, False: 2]
  |  |  ------------------
  |  |  542|      3|        size_t _marks_size = (lastmark+1) * sizeof(void*); \
  |  |  543|      3|        DATA_STACK_POP(state, state->mark, _marks_size, 1); \
  |  |  ------------------
  |  |  |  |  489|      3|#define DATA_STACK_POP(state, data, size, discard) \
  |  |  |  |  490|      3|do { \
  |  |  |  |  491|      3|    TRACE(("copy data to %p from %zd (%zd)\n", \
  |  |  |  |  492|      3|           data, state->data_stack_base-size, size)); \
  |  |  |  |  493|      3|    memcpy((void*) data, state->data_stack+state->data_stack_base-size, size); \
  |  |  |  |  494|      3|    if (discard) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:9): [True: 3, Folded]
  |  |  |  |  ------------------
  |  |  |  |  495|      3|        state->data_stack_base -= size; \
  |  |  |  |  496|      3|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (496:10): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  544|      3|        MARK_TRACE("pop", (lastmark)); \
  |  |  545|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (545:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 1264|      5|                LASTMARK_RESTORE();
  ------------------
  |  |  422|      5|    do { \
  |  |  423|      5|        state->lastmark = ctx->lastmark; \
  |  |  424|      5|        state->lastindex = ctx->lastindex; \
  |  |  425|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (425:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 1265|      5|                ctx->u.rep->count = ctx->count-1;
 1266|      5|                state->ptr = ptr;
 1267|      5|            }
 1268|       |
 1269|       |            /* cannot match more repeated items here.  make sure the
 1270|       |               tail matches */
 1271|      6|            state->repeat = ctx->u.rep->prev;
 1272|      6|            state->save_marks--;
 1273|      6|            DO_JUMP(JUMP_MAX_UNTIL_3, jump_max_until_3, pattern);
  ------------------
  |  |  594|      6|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  578|      6|    ctx->pattern = pattern; \
  |  |  |  |  579|      6|    ctx->ptr = ptr; \
  |  |  |  |  580|      6|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      6|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      6|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      6|do { \
  |  |  |  |  |  |  |  |  453|      6|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      6|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      6|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      6|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  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|      6|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      6|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      6|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      6|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      6|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      6|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      6|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      6|    pattern = nextpattern; \
  |  |  |  |  586|      6|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      6|    ctx = nextctx; \
  |  |  |  |  588|      6|    goto entrance; \
  |  |  |  |  589|      6|    jumplabel: \
  |  |  |  |  590|      6|    pattern = ctx->pattern; \
  |  |  |  |  591|      6|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1274|      6|            state->repeat = ctx->u.rep; // restore repeat before return
 1275|      6|            state->save_marks++;
 1276|       |
 1277|      6|            RETURN_ON_SUCCESS(ret);
  ------------------
  |  |  447|      6|    do { RETURN_ON_ERROR(i); if (i > 0) RETURN_SUCCESS; } while (0)
  |  |  ------------------
  |  |  |  |  445|      6|    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: 6]
  |  |  |  |  |  Branch (445:47): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   do { RETURN_ON_ERROR(i); if (i > 0) RETURN_SUCCESS; } while (0)
  |  |  ------------------
  |  |  |  |  442|      6|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (442:57): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (447:34): [True: 6, 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|      3|        TARGET(SRE_OP_ASSERT):
  ------------------
  |  |  648|      3|    #define TARGET(OP) TARGET_ ## OP
  ------------------
 1622|       |            /* assert subpattern */
 1623|       |            /* <ASSERT> <skip> <back> <pattern> */
 1624|      3|            TRACE(("|%p|%p|ASSERT %d\n", pattern,
 1625|      3|                   ptr, pattern[1]));
 1626|      3|            if ((uintptr_t)(ptr - (SRE_CHAR *)state->beginning) < pattern[1])
  ------------------
  |  Branch (1626:17): [True: 0, False: 3]
  ------------------
 1627|      0|                RETURN_FAILURE;
  ------------------
  |  |  441|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1628|      3|            state->ptr = ptr - pattern[1];
 1629|      3|            DO_JUMP0(JUMP_ASSERT, jump_assert, pattern+2);
  ------------------
  |  |  597|      3|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, 0)
  |  |  ------------------
  |  |  |  |  578|      3|    ctx->pattern = pattern; \
  |  |  |  |  579|      3|    ctx->ptr = ptr; \
  |  |  |  |  580|      3|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  512|      3|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  451|      3|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  452|      3|do { \
  |  |  |  |  |  |  |  |  453|      3|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  454|      3|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  455|      3|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  456|      3|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (456:9): [True: 0, False: 3]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  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|      3|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  463|      3|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  464|      3|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (464:10): [Folded, False: 3]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|      3|    nextctx->pattern = nextpattern; \
  |  |  |  |  582|      3|    nextctx->toplevel = toplevel_; \
  |  |  |  |  583|      3|    nextctx->jump = jumpvalue; \
  |  |  |  |  584|      3|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  585|      3|    pattern = nextpattern; \
  |  |  |  |  586|      3|    ctx_pos = alloc_pos; \
  |  |  |  |  587|      3|    ctx = nextctx; \
  |  |  |  |  588|      3|    goto entrance; \
  |  |  |  |  589|      3|    jumplabel: \
  |  |  |  |  590|      3|    pattern = ctx->pattern; \
  |  |  |  |  591|      3|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
 1630|      3|            RETURN_ON_FAILURE(ret);
  ------------------
  |  |  449|      3|    do { RETURN_ON_ERROR(i); if (i == 0) RETURN_FAILURE; } while (0)
  |  |  ------------------
  |  |  |  |  445|      3|    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: 3]
  |  |  |  |  |  Branch (445:47): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   do { RETURN_ON_ERROR(i); if (i == 0) RETURN_FAILURE; } while (0)
  |  |  ------------------
  |  |  |  |  441|      3|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (441:57): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (449:34): [True: 3, 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|     36|exit:
 1681|     36|    ctx_pos = ctx->last_ctx_pos;
 1682|     36|    jump = ctx->jump;
 1683|     36|    DATA_POP_DISCARD(ctx);
  ------------------
  |  |  510|     36|    DATA_STACK_POP_DISCARD(state, sizeof(*(x)))
  |  |  ------------------
  |  |  |  |  498|     36|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  499|     36|do { \
  |  |  |  |  500|     36|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  501|     36|           state->data_stack_base-size, size)); \
  |  |  |  |  502|     36|    state->data_stack_base -= size; \
  |  |  |  |  503|     36|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (503:9): [Folded, False: 36]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|     36|    if (ctx_pos == -1) {
  ------------------
  |  Branch (1684:9): [True: 4, False: 32]
  ------------------
 1685|      4|        state->sigcount = sigcount;
 1686|      4|        return ret;
 1687|      4|    }
 1688|     32|    DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  514|     32|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  466|     32|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  467|     32|do { \
  |  |  |  |  468|     32|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  469|     32|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  470|     32|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:10): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1689|       |
 1690|     32|    switch (jump) {
  ------------------
  |  Branch (1690:13): [True: 32, False: 0]
  ------------------
 1691|      6|        case JUMP_MAX_UNTIL_2:
  ------------------
  |  |  561|      6|#define JUMP_MAX_UNTIL_2     2
  ------------------
  |  Branch (1691:9): [True: 6, False: 26]
  ------------------
 1692|      6|            TRACE(("|%p|%p|JUMP_MAX_UNTIL_2\n", pattern, ptr));
 1693|      6|            goto jump_max_until_2;
 1694|      6|        case JUMP_MAX_UNTIL_3:
  ------------------
  |  |  562|      6|#define JUMP_MAX_UNTIL_3     3
  ------------------
  |  Branch (1694:9): [True: 6, False: 26]
  ------------------
 1695|      6|            TRACE(("|%p|%p|JUMP_MAX_UNTIL_3\n", pattern, ptr));
 1696|      6|            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: 32]
  ------------------
 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: 32]
  ------------------
 1701|      0|            TRACE(("|%p|%p|JUMP_MIN_UNTIL_3\n", pattern, ptr));
 1702|      0|            goto jump_min_until_3;
 1703|     10|        case JUMP_BRANCH:
  ------------------
  |  |  570|     10|#define JUMP_BRANCH          11
  ------------------
  |  Branch (1703:9): [True: 10, False: 22]
  ------------------
 1704|     10|            TRACE(("|%p|%p|JUMP_BRANCH\n", pattern, ptr));
 1705|     10|            goto jump_branch;
 1706|      0|        case JUMP_MAX_UNTIL_1:
  ------------------
  |  |  560|      0|#define JUMP_MAX_UNTIL_1     1
  ------------------
  |  Branch (1706:9): [True: 0, False: 32]
  ------------------
 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: 32]
  ------------------
 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: 32]
  ------------------
 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: 32]
  ------------------
 1716|      0|            TRACE(("|%p|%p|JUMP_POSS_REPEAT_2\n", pattern, ptr));
 1717|      0|            goto jump_poss_repeat_2;
 1718|      6|        case JUMP_REPEAT:
  ------------------
  |  |  566|      6|#define JUMP_REPEAT          7
  ------------------
  |  Branch (1718:9): [True: 6, False: 26]
  ------------------
 1719|      6|            TRACE(("|%p|%p|JUMP_REPEAT\n", pattern, ptr));
 1720|      6|            goto jump_repeat;
 1721|      0|        case JUMP_REPEAT_ONE_1:
  ------------------
  |  |  567|      0|#define JUMP_REPEAT_ONE_1    8
  ------------------
  |  Branch (1721:9): [True: 0, False: 32]
  ------------------
 1722|      0|            TRACE(("|%p|%p|JUMP_REPEAT_ONE_1\n", pattern, ptr));
 1723|      0|            goto jump_repeat_one_1;
 1724|      1|        case JUMP_REPEAT_ONE_2:
  ------------------
  |  |  568|      1|#define JUMP_REPEAT_ONE_2    9
  ------------------
  |  Branch (1724:9): [True: 1, False: 31]
  ------------------
 1725|      1|            TRACE(("|%p|%p|JUMP_REPEAT_ONE_2\n", pattern, ptr));
 1726|      1|            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: 32]
  ------------------
 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: 32]
  ------------------
 1731|      0|            TRACE(("|%p|%p|JUMP_ATOMIC_GROUP\n", pattern, ptr));
 1732|      0|            goto jump_atomic_group;
 1733|      3|        case JUMP_ASSERT:
  ------------------
  |  |  571|      3|#define JUMP_ASSERT          12
  ------------------
  |  Branch (1733:9): [True: 3, False: 29]
  ------------------
 1734|      3|            TRACE(("|%p|%p|JUMP_ASSERT\n", pattern, ptr));
 1735|      3|            goto jump_assert;
 1736|      0|        case JUMP_ASSERT_NOT:
  ------------------
  |  |  572|      0|#define JUMP_ASSERT_NOT      13
  ------------------
  |  Branch (1736:9): [True: 0, False: 32]
  ------------------
 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: 32]
  ------------------
 1740|      0|            TRACE(("|%p|%p|RETURN %zd\n", pattern,
 1741|      0|                   ptr, ret));
 1742|      0|            break;
 1743|     32|    }
 1744|       |
 1745|      0|    return ret; /* should never get here */
 1746|     32|}
sre.c:sre_ucs1_at:
   17|      3|{
   18|       |    /* check if pointer is at given position */
   19|       |
   20|      3|    Py_ssize_t thisp, thatp;
   21|       |
   22|      3|    switch (at) {
  ------------------
  |  Branch (22:13): [True: 3, False: 0]
  ------------------
   23|       |
   24|      0|    case SRE_AT_BEGINNING:
  ------------------
  |  |   58|      0|#define SRE_AT_BEGINNING 0
  ------------------
  |  Branch (24:5): [True: 0, False: 3]
  ------------------
   25|      0|    case SRE_AT_BEGINNING_STRING:
  ------------------
  |  |   60|      0|#define SRE_AT_BEGINNING_STRING 2
  ------------------
  |  Branch (25:5): [True: 0, False: 3]
  ------------------
   26|      0|        return ((void*) ptr == state->beginning);
   27|       |
   28|      0|    case SRE_AT_BEGINNING_LINE:
  ------------------
  |  |   59|      0|#define SRE_AT_BEGINNING_LINE 1
  ------------------
  |  Branch (28:5): [True: 0, False: 3]
  ------------------
   29|      0|        return ((void*) ptr == state->beginning ||
  ------------------
  |  Branch (29:17): [True: 0, False: 0]
  ------------------
   30|      0|                SRE_IS_LINEBREAK((int) ptr[-1]));
  ------------------
  |  |  142|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (142:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   31|       |
   32|      0|    case SRE_AT_END:
  ------------------
  |  |   63|      0|#define SRE_AT_END 5
  ------------------
  |  Branch (32:5): [True: 0, False: 3]
  ------------------
   33|      0|        return (((SRE_CHAR *)state->end - ptr == 1 &&
  ------------------
  |  Branch (33:18): [True: 0, False: 0]
  ------------------
   34|      0|                 SRE_IS_LINEBREAK((int) ptr[0])) ||
  ------------------
  |  |  142|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (142:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   35|      0|                ((void*) ptr == state->end));
  ------------------
  |  Branch (35:17): [True: 0, False: 0]
  ------------------
   36|       |
   37|      0|    case SRE_AT_END_LINE:
  ------------------
  |  |   64|      0|#define SRE_AT_END_LINE 6
  ------------------
  |  Branch (37:5): [True: 0, False: 3]
  ------------------
   38|      0|        return ((void*) ptr == state->end ||
  ------------------
  |  Branch (38:17): [True: 0, False: 0]
  ------------------
   39|      0|                SRE_IS_LINEBREAK((int) ptr[0]));
  ------------------
  |  |  142|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (142:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   40|       |
   41|      3|    case SRE_AT_END_STRING:
  ------------------
  |  |   65|      3|#define SRE_AT_END_STRING 7
  ------------------
  |  Branch (41:5): [True: 3, False: 0]
  ------------------
   42|      3|        return ((void*) ptr == state->end);
   43|       |
   44|      0|    case SRE_AT_BOUNDARY:
  ------------------
  |  |   61|      0|#define SRE_AT_BOUNDARY 3
  ------------------
  |  Branch (44:5): [True: 0, False: 3]
  ------------------
   45|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (45:17): [True: 0, False: 0]
  ------------------
   46|      0|            SRE_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  144|      0|    ((ch) <= 'z' && (Py_ISALNUM(ch) || (ch) == '_'))
  |  |  ------------------
  |  |  |  |   26|      0|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |  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 (26:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (144:6): [True: 0, False: 0]
  |  |  |  Branch (144:40): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   47|      0|        thisp = ((void*) ptr < state->end) ?
  ------------------
  |  Branch (47:17): [True: 0, False: 0]
  ------------------
   48|      0|            SRE_IS_WORD((int) ptr[0]) : 0;
  ------------------
  |  |  144|      0|    ((ch) <= 'z' && (Py_ISALNUM(ch) || (ch) == '_'))
  |  |  ------------------
  |  |  |  |   26|      0|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |  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 (26:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (144:6): [True: 0, False: 0]
  |  |  |  Branch (144:40): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   49|      0|        return thisp != thatp;
   50|       |
   51|      0|    case SRE_AT_NON_BOUNDARY:
  ------------------
  |  |   62|      0|#define SRE_AT_NON_BOUNDARY 4
  ------------------
  |  Branch (51:5): [True: 0, False: 3]
  ------------------
   52|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (52:17): [True: 0, False: 0]
  ------------------
   53|      0|            SRE_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  144|      0|    ((ch) <= 'z' && (Py_ISALNUM(ch) || (ch) == '_'))
  |  |  ------------------
  |  |  |  |   26|      0|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |  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 (26:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (144:6): [True: 0, False: 0]
  |  |  |  Branch (144:40): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   54|      0|        thisp = ((void*) ptr < state->end) ?
  ------------------
  |  Branch (54:17): [True: 0, False: 0]
  ------------------
   55|      0|            SRE_IS_WORD((int) ptr[0]) : 0;
  ------------------
  |  |  144|      0|    ((ch) <= 'z' && (Py_ISALNUM(ch) || (ch) == '_'))
  |  |  ------------------
  |  |  |  |   26|      0|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  |  |  ------------------
  |  |  |  |  |  |  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 (26:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (144:6): [True: 0, False: 0]
  |  |  |  Branch (144:40): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   56|      0|        return thisp == thatp;
   57|       |
   58|      0|    case SRE_AT_LOC_BOUNDARY:
  ------------------
  |  |   66|      0|#define SRE_AT_LOC_BOUNDARY 8
  ------------------
  |  Branch (58:5): [True: 0, False: 3]
  ------------------
   59|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (59:17): [True: 0, False: 0]
  ------------------
   60|      0|            SRE_LOC_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  155|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  154|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (154:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (154:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (155:56): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   61|      0|        thisp = ((void*) ptr < state->end) ?
  ------------------
  |  Branch (61:17): [True: 0, False: 0]
  ------------------
   62|      0|            SRE_LOC_IS_WORD((int) ptr[0]) : 0;
  ------------------
  |  |  155|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  154|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (154:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (154:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (155:56): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   63|      0|        return thisp != thatp;
   64|       |
   65|      0|    case SRE_AT_LOC_NON_BOUNDARY:
  ------------------
  |  |   67|      0|#define SRE_AT_LOC_NON_BOUNDARY 9
  ------------------
  |  Branch (65:5): [True: 0, False: 3]
  ------------------
   66|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (66:17): [True: 0, False: 0]
  ------------------
   67|      0|            SRE_LOC_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  155|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  154|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (154:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (154:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (155:56): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   68|      0|        thisp = ((void*) ptr < state->end) ?
  ------------------
  |  Branch (68:17): [True: 0, False: 0]
  ------------------
   69|      0|            SRE_LOC_IS_WORD((int) ptr[0]) : 0;
  ------------------
  |  |  155|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  154|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (154:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (154:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (155:56): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   70|      0|        return thisp == thatp;
   71|       |
   72|      0|    case SRE_AT_UNI_BOUNDARY:
  ------------------
  |  |   68|      0|#define SRE_AT_UNI_BOUNDARY 10
  ------------------
  |  Branch (72:5): [True: 0, False: 3]
  ------------------
   73|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (73:17): [True: 0, False: 0]
  ------------------
   74|      0|            SRE_UNI_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  173|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (173:54): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   75|      0|        thisp = ((void*) ptr < state->end) ?
  ------------------
  |  Branch (75:17): [True: 0, False: 0]
  ------------------
   76|      0|            SRE_UNI_IS_WORD((int) ptr[0]) : 0;
  ------------------
  |  |  173|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (173:54): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   77|      0|        return thisp != thatp;
   78|       |
   79|      0|    case SRE_AT_UNI_NON_BOUNDARY:
  ------------------
  |  |   69|      0|#define SRE_AT_UNI_NON_BOUNDARY 11
  ------------------
  |  Branch (79:5): [True: 0, False: 3]
  ------------------
   80|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (80:17): [True: 0, False: 0]
  ------------------
   81|      0|            SRE_UNI_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  173|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (173:54): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   82|      0|        thisp = ((void*) ptr < state->end) ?
  ------------------
  |  Branch (82:17): [True: 0, False: 0]
  ------------------
   83|      0|            SRE_UNI_IS_WORD((int) ptr[0]) : 0;
  ------------------
  |  |  173|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  172|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (172:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (173:54): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   84|      0|        return thisp == thatp;
   85|       |
   86|      3|    }
   87|       |
   88|      0|    return 0;
   89|      3|}
sre.c:sre_ucs1_charset:
   93|      7|{
   94|       |    /* check if character is a member of the given set */
   95|       |
   96|      7|    int ok = 1;
   97|       |
   98|     15|    for (;;) {
   99|     15|        switch (*set++) {
  100|       |
  101|      4|        case SRE_OP_FAILURE:
  ------------------
  |  |   15|      4|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (101:9): [True: 4, False: 11]
  ------------------
  102|      4|            return !ok;
  103|       |
  104|     11|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|     11|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (104:9): [True: 11, False: 4]
  ------------------
  105|       |            /* <LITERAL> <code> */
  106|     11|            if (ch == set[0])
  ------------------
  |  Branch (106:17): [True: 3, False: 8]
  ------------------
  107|      3|                return ok;
  108|      8|            set++;
  109|      8|            break;
  110|       |
  111|      0|        case SRE_OP_CATEGORY:
  ------------------
  |  |   23|      0|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (111:9): [True: 0, False: 15]
  ------------------
  112|       |            /* <CATEGORY> <code> */
  113|      0|            if (sre_category(set[0], (int) ch))
  ------------------
  |  Branch (113:17): [True: 0, False: 0]
  ------------------
  114|      0|                return ok;
  115|      0|            set++;
  116|      0|            break;
  117|       |
  118|      0|        case SRE_OP_CHARSET:
  ------------------
  |  |   24|      0|#define SRE_OP_CHARSET 9
  ------------------
  |  Branch (118:9): [True: 0, False: 15]
  ------------------
  119|       |            /* <CHARSET> <bitmap> */
  120|      0|            if (ch < 256 &&
  ------------------
  |  Branch (120:17): [True: 0, False: 0]
  ------------------
  121|      0|                (set[ch/SRE_CODE_BITS] & (1u << (ch & (SRE_CODE_BITS-1)))))
  ------------------
  |  |   56|      0|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
                              (set[ch/SRE_CODE_BITS] & (1u << (ch & (SRE_CODE_BITS-1)))))
  ------------------
  |  |   56|      0|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  |  Branch (121:17): [True: 0, False: 0]
  ------------------
  122|      0|                return ok;
  123|      0|            set += 256/SRE_CODE_BITS;
  ------------------
  |  |   56|      0|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  124|      0|            break;
  125|       |
  126|      0|        case SRE_OP_RANGE:
  ------------------
  |  |   37|      0|#define SRE_OP_RANGE 22
  ------------------
  |  Branch (126:9): [True: 0, False: 15]
  ------------------
  127|       |            /* <RANGE> <lower> <upper> */
  128|      0|            if (set[0] <= ch && ch <= set[1])
  ------------------
  |  Branch (128:17): [True: 0, False: 0]
  |  Branch (128:33): [True: 0, False: 0]
  ------------------
  129|      0|                return ok;
  130|      0|            set += 2;
  131|      0|            break;
  132|       |
  133|      0|        case SRE_OP_RANGE_UNI_IGNORE:
  ------------------
  |  |   57|      0|#define SRE_OP_RANGE_UNI_IGNORE 42
  ------------------
  |  Branch (133:9): [True: 0, False: 15]
  ------------------
  134|       |            /* <RANGE_UNI_IGNORE> <lower> <upper> */
  135|      0|        {
  136|      0|            SRE_CODE uch;
  ------------------
  |  |   18|      0|#define SRE_CODE Py_UCS4
  ------------------
  137|       |            /* ch is already lower cased */
  138|      0|            if (set[0] <= ch && ch <= set[1])
  ------------------
  |  Branch (138:17): [True: 0, False: 0]
  |  Branch (138:33): [True: 0, False: 0]
  ------------------
  139|      0|                return ok;
  140|      0|            uch = sre_upper_unicode(ch);
  141|      0|            if (set[0] <= uch && uch <= set[1])
  ------------------
  |  Branch (141:17): [True: 0, False: 0]
  |  Branch (141:34): [True: 0, False: 0]
  ------------------
  142|      0|                return ok;
  143|      0|            set += 2;
  144|      0|            break;
  145|      0|        }
  146|       |
  147|      0|        case SRE_OP_NEGATE:
  ------------------
  |  |   36|      0|#define SRE_OP_NEGATE 21
  ------------------
  |  Branch (147:9): [True: 0, False: 15]
  ------------------
  148|      0|            ok = !ok;
  149|      0|            break;
  150|       |
  151|      0|        case SRE_OP_BIGCHARSET:
  ------------------
  |  |   25|      0|#define SRE_OP_BIGCHARSET 10
  ------------------
  |  Branch (151:9): [True: 0, False: 15]
  ------------------
  152|       |            /* <BIGCHARSET> <blockcount> <256 blockindices> <blocks> */
  153|      0|        {
  154|      0|            Py_ssize_t count, block;
  155|      0|            count = *(set++);
  156|       |
  157|      0|            if (ch < 0x10000u)
  ------------------
  |  Branch (157:17): [True: 0, False: 0]
  ------------------
  158|      0|                block = ((unsigned char*)set)[ch >> 8];
  159|      0|            else
  160|      0|                block = -1;
  161|      0|            set += 256/sizeof(SRE_CODE);
  162|      0|            if (block >=0 &&
  ------------------
  |  Branch (162:17): [True: 0, False: 0]
  ------------------
  163|      0|                (set[(block * 256 + (ch & 255))/SRE_CODE_BITS] &
  ------------------
  |  |   56|      0|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  |  Branch (163:17): [True: 0, False: 0]
  ------------------
  164|      0|                    (1u << (ch & (SRE_CODE_BITS-1)))))
  ------------------
  |  |   56|      0|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  165|      0|                return ok;
  166|      0|            set += count * (256/SRE_CODE_BITS);
  ------------------
  |  |   56|      0|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  167|      0|            break;
  168|      0|        }
  169|       |
  170|      0|        default:
  ------------------
  |  Branch (170:9): [True: 0, False: 15]
  ------------------
  171|       |            /* internal error -- there's not much we can do about it
  172|       |               here, so let's just pretend it didn't match... */
  173|      0|            return 0;
  174|     15|        }
  175|     15|    }
  176|      7|}
sre.c:sre_ucs1_count:
  249|      1|{
  250|      1|    SRE_CODE chr;
  ------------------
  |  |   18|      1|#define SRE_CODE Py_UCS4
  ------------------
  251|      1|    SRE_CODE arg;
  ------------------
  |  |   18|      1|#define SRE_CODE Py_UCS4
  ------------------
  252|      1|    SRE_CHAR c;
  ------------------
  |  |  499|      1|#define SRE_CHAR Py_UCS1
  ------------------
  253|      1|    const SRE_CHAR* ptr = (const SRE_CHAR *)state->ptr;
  254|      1|    const SRE_CHAR* end = (const SRE_CHAR *)state->end;
  255|      1|    Py_ssize_t i;
  256|      1|    INIT_TRACE(state);
  257|       |
  258|       |    /* adjust end */
  259|      1|    if (maxcount < end - ptr && maxcount != SRE_MAXREPEAT)
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (259:9): [True: 0, False: 1]
  |  Branch (259:33): [True: 0, False: 0]
  ------------------
  260|      0|        end = ptr + maxcount;
  261|       |
  262|      1|    switch (pattern[0]) {
  263|       |
  264|      0|    case SRE_OP_IN:
  ------------------
  |  |   28|      0|#define SRE_OP_IN 13
  ------------------
  |  Branch (264:5): [True: 0, False: 1]
  ------------------
  265|       |        /* repeated set */
  266|      0|        TRACE(("|%p|%p|COUNT IN\n", pattern, ptr));
  267|      0|        while (ptr < end && SRE(charset)(state, pattern + 2, *ptr))
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (267:16): [True: 0, False: 0]
  |  Branch (267:29): [True: 0, False: 0]
  ------------------
  268|      0|            ptr++;
  269|      0|        break;
  270|       |
  271|      0|    case SRE_OP_ANY:
  ------------------
  |  |   17|      0|#define SRE_OP_ANY 2
  ------------------
  |  Branch (271:5): [True: 0, False: 1]
  ------------------
  272|       |        /* repeated dot wildcard. */
  273|      0|        TRACE(("|%p|%p|COUNT ANY\n", pattern, ptr));
  274|      0|        while (ptr < end && !SRE_IS_LINEBREAK(*ptr))
  ------------------
  |  |  142|      0|    ((ch) == '\n')
  ------------------
  |  Branch (274:16): [True: 0, False: 0]
  |  Branch (274:29): [True: 0, False: 0]
  ------------------
  275|      0|            ptr++;
  276|      0|        break;
  277|       |
  278|      0|    case SRE_OP_ANY_ALL:
  ------------------
  |  |   18|      0|#define SRE_OP_ANY_ALL 3
  ------------------
  |  Branch (278:5): [True: 0, False: 1]
  ------------------
  279|       |        /* repeated dot wildcard.  skip to the end of the target
  280|       |           string, and backtrack from there */
  281|      0|        TRACE(("|%p|%p|COUNT ANY_ALL\n", pattern, ptr));
  282|      0|        ptr = end;
  283|      0|        break;
  284|       |
  285|      0|    case SRE_OP_LITERAL:
  ------------------
  |  |   31|      0|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (285:5): [True: 0, False: 1]
  ------------------
  286|       |        /* repeated literal */
  287|      0|        chr = pattern[1];
  288|      0|        TRACE(("|%p|%p|COUNT LITERAL %d\n", pattern, ptr, chr));
  289|      0|        c = (SRE_CHAR) chr;
  290|      0|#if SIZEOF_SRE_CHAR < 4
  291|      0|        if ((SRE_CODE) c != chr)
  ------------------
  |  Branch (291:13): [True: 0, False: 0]
  ------------------
  292|      0|            ; /* literal can't match: doesn't fit in char width */
  293|      0|        else
  294|      0|#endif
  295|      0|        while (ptr < end && *ptr == c)
  ------------------
  |  Branch (295:16): [True: 0, False: 0]
  |  Branch (295:29): [True: 0, False: 0]
  ------------------
  296|      0|            ptr++;
  297|      0|        break;
  298|       |
  299|      0|    case SRE_OP_LITERAL_IGNORE:
  ------------------
  |  |   47|      0|#define SRE_OP_LITERAL_IGNORE 32
  ------------------
  |  Branch (299:5): [True: 0, False: 1]
  ------------------
  300|       |        /* repeated literal */
  301|      0|        chr = pattern[1];
  302|      0|        TRACE(("|%p|%p|COUNT LITERAL_IGNORE %d\n", pattern, ptr, chr));
  303|      0|        while (ptr < end && (SRE_CODE) sre_lower_ascii(*ptr) == chr)
  ------------------
  |  Branch (303:16): [True: 0, False: 0]
  |  Branch (303:29): [True: 0, False: 0]
  ------------------
  304|      0|            ptr++;
  305|      0|        break;
  306|       |
  307|      0|    case SRE_OP_LITERAL_UNI_IGNORE:
  ------------------
  |  |   55|      0|#define SRE_OP_LITERAL_UNI_IGNORE 40
  ------------------
  |  Branch (307:5): [True: 0, False: 1]
  ------------------
  308|       |        /* repeated literal */
  309|      0|        chr = pattern[1];
  310|      0|        TRACE(("|%p|%p|COUNT LITERAL_UNI_IGNORE %d\n", pattern, ptr, chr));
  311|      0|        while (ptr < end && (SRE_CODE) sre_lower_unicode(*ptr) == chr)
  ------------------
  |  Branch (311:16): [True: 0, False: 0]
  |  Branch (311:29): [True: 0, False: 0]
  ------------------
  312|      0|            ptr++;
  313|      0|        break;
  314|       |
  315|      0|    case SRE_OP_LITERAL_LOC_IGNORE:
  ------------------
  |  |   51|      0|#define SRE_OP_LITERAL_LOC_IGNORE 36
  ------------------
  |  Branch (315:5): [True: 0, False: 1]
  ------------------
  316|       |        /* repeated literal */
  317|      0|        chr = pattern[1];
  318|      0|        TRACE(("|%p|%p|COUNT LITERAL_LOC_IGNORE %d\n", pattern, ptr, chr));
  319|      0|        while (ptr < end && char_loc_ignore(chr, *ptr))
  ------------------
  |  Branch (319:16): [True: 0, False: 0]
  |  Branch (319:29): [True: 0, False: 0]
  ------------------
  320|      0|            ptr++;
  321|      0|        break;
  322|       |
  323|      0|    case SRE_OP_NOT_LITERAL:
  ------------------
  |  |   35|      0|#define SRE_OP_NOT_LITERAL 20
  ------------------
  |  Branch (323:5): [True: 0, False: 1]
  ------------------
  324|       |        /* repeated non-literal */
  325|      0|        chr = pattern[1];
  326|      0|        TRACE(("|%p|%p|COUNT NOT_LITERAL %d\n", pattern, ptr, chr));
  327|      0|        c = (SRE_CHAR) chr;
  328|      0|#if SIZEOF_SRE_CHAR < 4
  329|      0|        if ((SRE_CODE) c != chr)
  ------------------
  |  Branch (329:13): [True: 0, False: 0]
  ------------------
  330|      0|            ptr = end; /* literal can't match: doesn't fit in char width */
  331|      0|        else
  332|      0|#endif
  333|      0|        while (ptr < end && *ptr != c)
  ------------------
  |  Branch (333:16): [True: 0, False: 0]
  |  Branch (333:29): [True: 0, False: 0]
  ------------------
  334|      0|            ptr++;
  335|      0|        break;
  336|       |
  337|      0|    case SRE_OP_NOT_LITERAL_IGNORE:
  ------------------
  |  |   48|      0|#define SRE_OP_NOT_LITERAL_IGNORE 33
  ------------------
  |  Branch (337:5): [True: 0, False: 1]
  ------------------
  338|       |        /* repeated non-literal */
  339|      0|        chr = pattern[1];
  340|      0|        TRACE(("|%p|%p|COUNT NOT_LITERAL_IGNORE %d\n", pattern, ptr, chr));
  341|      0|        while (ptr < end && (SRE_CODE) sre_lower_ascii(*ptr) != chr)
  ------------------
  |  Branch (341:16): [True: 0, False: 0]
  |  Branch (341:29): [True: 0, False: 0]
  ------------------
  342|      0|            ptr++;
  343|      0|        break;
  344|       |
  345|      0|    case SRE_OP_NOT_LITERAL_UNI_IGNORE:
  ------------------
  |  |   56|      0|#define SRE_OP_NOT_LITERAL_UNI_IGNORE 41
  ------------------
  |  Branch (345:5): [True: 0, False: 1]
  ------------------
  346|       |        /* repeated non-literal */
  347|      0|        chr = pattern[1];
  348|      0|        TRACE(("|%p|%p|COUNT NOT_LITERAL_UNI_IGNORE %d\n", pattern, ptr, chr));
  349|      0|        while (ptr < end && (SRE_CODE) sre_lower_unicode(*ptr) != chr)
  ------------------
  |  Branch (349:16): [True: 0, False: 0]
  |  Branch (349:29): [True: 0, False: 0]
  ------------------
  350|      0|            ptr++;
  351|      0|        break;
  352|       |
  353|      0|    case SRE_OP_NOT_LITERAL_LOC_IGNORE:
  ------------------
  |  |   52|      0|#define SRE_OP_NOT_LITERAL_LOC_IGNORE 37
  ------------------
  |  Branch (353:5): [True: 0, False: 1]
  ------------------
  354|       |        /* repeated non-literal */
  355|      0|        chr = pattern[1];
  356|      0|        TRACE(("|%p|%p|COUNT NOT_LITERAL_LOC_IGNORE %d\n", pattern, ptr, chr));
  357|      0|        while (ptr < end && !char_loc_ignore(chr, *ptr))
  ------------------
  |  Branch (357:16): [True: 0, False: 0]
  |  Branch (357:29): [True: 0, False: 0]
  ------------------
  358|      0|            ptr++;
  359|      0|        break;
  360|       |
  361|      1|    case SRE_OP_CATEGORY:
  ------------------
  |  |   23|      1|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (361:5): [True: 1, False: 0]
  ------------------
  362|      1|        arg = pattern[1];
  363|      1|        TRACE(("|%p|%p|COUNT CATEGORY %d\n", pattern, ptr, arg));
  364|      1|        while (ptr < end && sre_category(arg, *ptr))
  ------------------
  |  Branch (364:16): [True: 0, False: 1]
  |  Branch (364:29): [True: 0, False: 0]
  ------------------
  365|      0|            ptr++;
  366|      1|        break;
  367|       |
  368|      0|    default:
  ------------------
  |  Branch (368:5): [True: 0, False: 1]
  ------------------
  369|       |        /* repeated single character pattern */
  370|      0|        TRACE(("|%p|%p|COUNT SUBPATTERN\n", pattern, ptr));
  371|      0|        while ((SRE_CHAR*) state->ptr < end) {
  ------------------
  |  Branch (371:16): [True: 0, False: 0]
  ------------------
  372|      0|            i = SRE(match)(state, pattern, 0);
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  373|      0|            if (i < 0)
  ------------------
  |  Branch (373:17): [True: 0, False: 0]
  ------------------
  374|      0|                return i;
  375|      0|            if (!i)
  ------------------
  |  Branch (375:17): [True: 0, False: 0]
  ------------------
  376|      0|                break;
  377|      0|        }
  378|      0|        TRACE(("|%p|%p|COUNT %zd\n", pattern, ptr,
  379|      0|               (SRE_CHAR*) state->ptr - ptr));
  380|      0|        return (SRE_CHAR*) state->ptr - ptr;
  381|      1|    }
  382|       |
  383|      1|    TRACE(("|%p|%p|COUNT %zd\n", pattern, ptr,
  384|      1|           ptr - (SRE_CHAR*) state->ptr));
  385|      1|    return ptr - (SRE_CHAR*) state->ptr;
  386|      1|}

PyInit__stat:
  711|      2|{
  712|      2|    return PyModuleDef_Init(&statmodule);
  713|      2|}
_stat.c:stat_S_ISDIR:
  334|      2|stat_S_ISFUNC(S_ISDIR,
  ------------------
  |  |  326|      2|    {                                                          \
  |  |  327|      2|       mode_t mode = _PyLong_AsMode_t(omode);                   \
  |  |  328|      2|       if ((mode == (mode_t)-1) && PyErr_Occurred())           \
  |  |  ------------------
  |  |  |  Branch (328:12): [True: 0, False: 2]
  |  |  |  Branch (328:36): [True: 0, False: 0]
  |  |  ------------------
  |  |  329|      2|           return NULL;                                        \
  |  |  330|      2|       return PyBool_FromLong(isfunc(mode));                   \
  |  |  ------------------
  |  |  |  |  334|      2|stat_S_ISFUNC(S_ISDIR,
  |  |  ------------------
  |  |  331|      2|    }                                                          \
  ------------------
_stat.c:_PyLong_AsMode_t:
  294|      2|{
  295|      2|    unsigned long value;
  296|      2|    mode_t mode;
  297|       |
  298|      2|    if (PyLong_Check(op)) {
  ------------------
  |  |   13|      2|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  299|      2|        value = PyLong_AsUnsignedLong(op);
  300|      2|    }
  301|      0|    else {
  302|      0|        op = PyNumber_Index(op);
  303|      0|        if (op == NULL) {
  ------------------
  |  Branch (303:13): [True: 0, False: 0]
  ------------------
  304|      0|            return (mode_t)-1;
  305|      0|        }
  306|      0|        value = PyLong_AsUnsignedLong(op);
  307|      0|        Py_DECREF(op);
  ------------------
  |  |  340|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  308|      0|    }
  309|       |
  310|      2|    if ((value == (unsigned long)-1) && PyErr_Occurred()) {
  ------------------
  |  Branch (310:9): [True: 0, False: 2]
  |  Branch (310:41): [True: 0, False: 0]
  ------------------
  311|      0|        return (mode_t)-1;
  312|      0|    }
  313|       |
  314|      2|    mode = (mode_t)value;
  315|      2|    if ((unsigned long)mode != value) {
  ------------------
  |  Branch (315:9): [True: 0, False: 2]
  ------------------
  316|      0|        PyErr_SetString(PyExc_OverflowError, "mode out of range");
  317|      0|        return (mode_t)-1;
  318|      0|    }
  319|      2|    return mode;
  320|      2|}
_stat.c:stat_exec:
  565|      2|{
  566|      2|#define ADD_INT_MACRO(module, macro)                                  \
  567|      2|    do {                                                              \
  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  569|      2|            return -1;                                                \
  570|      2|        }                                                             \
  571|      2|    } while (0)
  572|       |
  573|      2|    ADD_INT_MACRO(module, S_IFDIR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  574|      2|    ADD_INT_MACRO(module, S_IFCHR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  575|      2|    ADD_INT_MACRO(module, S_IFBLK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  576|      2|    ADD_INT_MACRO(module, S_IFREG);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  577|      2|    ADD_INT_MACRO(module, S_IFIFO);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  578|      2|    ADD_INT_MACRO(module, S_IFLNK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  579|      2|    ADD_INT_MACRO(module, S_IFSOCK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  580|      2|    ADD_INT_MACRO(module, S_IFDOOR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  581|      2|    ADD_INT_MACRO(module, S_IFPORT);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  582|      2|    ADD_INT_MACRO(module, S_IFWHT);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  583|       |
  584|      2|    ADD_INT_MACRO(module, S_ISUID);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  585|      2|    ADD_INT_MACRO(module, S_ISGID);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  586|      2|    ADD_INT_MACRO(module, S_ISVTX);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  587|      2|    ADD_INT_MACRO(module, S_ENFMT);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  588|       |
  589|      2|    ADD_INT_MACRO(module, S_IREAD);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  590|      2|    ADD_INT_MACRO(module, S_IWRITE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  591|      2|    ADD_INT_MACRO(module, S_IEXEC);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  592|       |
  593|      2|    ADD_INT_MACRO(module, S_IRWXU);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  594|      2|    ADD_INT_MACRO(module, S_IRUSR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  595|      2|    ADD_INT_MACRO(module, S_IWUSR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  596|      2|    ADD_INT_MACRO(module, S_IXUSR);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  597|       |
  598|      2|    ADD_INT_MACRO(module, S_IRWXG);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  599|      2|    ADD_INT_MACRO(module, S_IRGRP);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  600|      2|    ADD_INT_MACRO(module, S_IWGRP);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  601|      2|    ADD_INT_MACRO(module, S_IXGRP);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  602|       |
  603|      2|    ADD_INT_MACRO(module, S_IRWXO);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  604|      2|    ADD_INT_MACRO(module, S_IROTH);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  605|      2|    ADD_INT_MACRO(module, S_IWOTH);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  606|      2|    ADD_INT_MACRO(module, S_IXOTH);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  607|       |
  608|      2|    ADD_INT_MACRO(module, UF_SETTABLE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  609|      2|    ADD_INT_MACRO(module, UF_NODUMP);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  610|      2|    ADD_INT_MACRO(module, UF_IMMUTABLE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  611|      2|    ADD_INT_MACRO(module, UF_APPEND);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  612|      2|    ADD_INT_MACRO(module, UF_OPAQUE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  613|      2|    ADD_INT_MACRO(module, UF_NOUNLINK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  614|      2|    ADD_INT_MACRO(module, UF_COMPRESSED);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  615|      2|    ADD_INT_MACRO(module, UF_TRACKED);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  616|      2|    ADD_INT_MACRO(module, UF_DATAVAULT);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  617|      2|    ADD_INT_MACRO(module, UF_HIDDEN);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  618|      2|    ADD_INT_MACRO(module, SF_SETTABLE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  619|      2|    ADD_INT_MACRO(module, SF_ARCHIVED);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  620|      2|    ADD_INT_MACRO(module, SF_IMMUTABLE);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  621|      2|    ADD_INT_MACRO(module, SF_APPEND);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  622|      2|    ADD_INT_MACRO(module, SF_NOUNLINK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  623|      2|    ADD_INT_MACRO(module, SF_SNAPSHOT);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  624|      2|    ADD_INT_MACRO(module, SF_FIRMLINK);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  625|      2|    ADD_INT_MACRO(module, SF_DATALESS);
  ------------------
  |  |  567|      2|    do {                                                              \
  |  |  568|      2|        if (PyModule_AddIntConstant(module, #macro, macro) < 0) {     \
  |  |  ------------------
  |  |  |  Branch (568:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  569|      0|            return -1;                                                \
  |  |  570|      0|        }                                                             \
  |  |  571|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (571:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  626|       |
  627|       |#ifdef SF_SUPPORTED
  628|       |    ADD_INT_MACRO(module, SF_SUPPORTED);
  629|       |#endif
  630|       |#ifdef SF_SYNTHETIC
  631|       |    ADD_INT_MACRO(module, SF_SYNTHETIC);
  632|       |#endif
  633|       |
  634|       |
  635|      2|    const char* st_constants[] = {
  636|      2|        "ST_MODE",
  637|      2|        "ST_INO",
  638|      2|        "ST_DEV",
  639|      2|        "ST_NLINK",
  640|      2|        "ST_UID",
  641|      2|        "ST_GID",
  642|      2|        "ST_SIZE",
  643|      2|        "ST_ATIME",
  644|      2|        "ST_MTIME",
  645|      2|        "ST_CTIME"
  646|      2|    };
  647|       |
  648|     22|    for (int i = 0; i < (int)Py_ARRAY_LENGTH(st_constants); i++) {
  ------------------
  |  |  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|    785|{
   59|    785|    void *state = _PyModule_GetState(module);
   60|    785|    assert(state != NULL);
  ------------------
  |  Branch (60:5): [True: 785, False: 0]
  ------------------
   61|    785|    return (thread_module_state *)state;
   62|    785|}
_threadmodule.c:_thread_allocate_lock_impl:
 2140|    380|{
 2141|    380|    thread_module_state *state = get_thread_state(module);
 2142|    380|    return lock_new_impl(state->lock_type);
 2143|    380|}
_threadmodule.c:lock_new_impl:
 1015|    380|{
 1016|    380|    lockobject *self = (lockobject *)type->tp_alloc(type, 0);
 1017|    380|    if (self == NULL) {
  ------------------
  |  Branch (1017:9): [True: 0, False: 380]
  ------------------
 1018|      0|        return NULL;
 1019|      0|    }
 1020|    380|    self->lock = (PyMutex){0};
 1021|    380|    return (PyObject *)self;
 1022|    380|}
_threadmodule.c:_thread_get_ident_impl:
 2167|    822|{
 2168|    822|    PyThread_ident_t ident = PyThread_get_thread_ident_ex();
 2169|    822|    if (ident == PYTHREAD_INVALID_THREAD_ID) {
  ------------------
  |  |   13|    822|#define PYTHREAD_INVALID_THREAD_ID ((unsigned long)-1)
  ------------------
  |  Branch (2169:9): [True: 0, False: 822]
  ------------------
 2170|      0|        PyErr_SetString(ThreadError, "no current thread ident");
  ------------------
  |  |   23|      0|#define ThreadError PyExc_RuntimeError
  ------------------
 2171|      0|        return NULL;
 2172|      0|    }
 2173|    822|    return PyLong_FromUnsignedLongLong(ident);
 2174|    822|}
_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|    380|{
  792|    380|    PyObject_GC_UnTrack(self);
  793|    380|    PyObject_ClearWeakRefs(self);
  794|    380|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|    380|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  795|    380|    tp->tp_free(self);
  796|    380|    Py_DECREF(tp);
  ------------------
  |  |  430|    380|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  797|    380|}
_threadmodule.c:lock_acquire_parse_timeout:
  802|    822|{
  803|       |    // XXX Use PyThread_ParseTimeoutArg().
  804|       |
  805|    822|    const PyTime_t unset_timeout = _PyTime_FromSeconds(-1);
  806|    822|    *timeout = unset_timeout;
  807|       |
  808|    822|    if (timeout_obj
  ------------------
  |  Branch (808:9): [True: 0, False: 822]
  ------------------
  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|    822|    if (!blocking && *timeout != unset_timeout ) {
  ------------------
  |  Branch (813:9): [True: 0, False: 822]
  |  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|    822|    if (*timeout < 0 && *timeout != unset_timeout) {
  ------------------
  |  Branch (818:9): [True: 822, False: 0]
  |  Branch (818:25): [True: 0, False: 822]
  ------------------
  819|      0|        PyErr_SetString(PyExc_ValueError,
  820|      0|                        "timeout value must be a non-negative number");
  821|      0|        return -1;
  822|      0|    }
  823|    822|    if (!blocking)
  ------------------
  |  Branch (823:9): [True: 0, False: 822]
  ------------------
  824|      0|        *timeout = 0;
  825|    822|    else if (*timeout != unset_timeout) {
  ------------------
  |  Branch (825:14): [True: 0, False: 822]
  ------------------
  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|    822|    return 0;
  836|    822|}
_threadmodule.c:get_thread_state_by_cls:
   66|    381|{
   67|       |    // Use PyType_GetModuleByDef() to handle (R)Lock subclasses.
   68|    381|    PyObject *module = PyType_GetModuleByDef(cls, &thread_module);
   69|    381|    if (module == NULL) {
  ------------------
  |  Branch (69:9): [True: 0, False: 381]
  ------------------
   70|      0|        return NULL;
   71|      0|    }
   72|    381|    return get_thread_state(module);
   73|    381|}
_threadmodule.c:rlock_dealloc:
 1083|    380|{
 1084|    380|    PyObject_GC_UnTrack(self);
 1085|    380|    PyObject_ClearWeakRefs(self);
 1086|    380|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|    380|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|    380|    tp->tp_free(self);
 1088|    380|    Py_DECREF(tp);
  ------------------
  |  |  430|    380|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1089|    380|}
_threadmodule.c:_thread_RLock_acquire_impl:
 1116|    822|{
 1117|    822|    PyTime_t timeout;
 1118|       |
 1119|    822|    if (lock_acquire_parse_timeout(timeoutobj, blocking, &timeout) < 0) {
  ------------------
  |  Branch (1119:9): [True: 0, False: 822]
  ------------------
 1120|      0|        return NULL;
 1121|      0|    }
 1122|       |
 1123|    822|    PyLockStatus r = _PyRecursiveMutex_LockTimed(
 1124|    822|        &self->lock, timeout,
 1125|    822|        _PY_LOCK_PYTHONLOCK | _PY_LOCK_HANDLE_SIGNALS | _PY_LOCK_DETACH);
 1126|    822|    if (r == PY_LOCK_INTR) {
  ------------------
  |  Branch (1126:9): [True: 0, False: 822]
  ------------------
 1127|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (1127:9): [True: 0, False: 0]
  ------------------
 1128|      0|        return NULL;
 1129|      0|    }
 1130|    822|    if (r == PY_LOCK_FAILURE && PyErr_Occurred()) {
  ------------------
  |  Branch (1130:9): [True: 0, False: 822]
  |  Branch (1130:33): [True: 0, False: 0]
  ------------------
 1131|      0|        return NULL;
 1132|      0|    }
 1133|       |
 1134|    822|    return PyBool_FromLong(r == PY_LOCK_ACQUIRED);
 1135|    822|}
_threadmodule.c:_thread_RLock_release_impl:
 1168|    822|{
 1169|    822|    if (_PyRecursiveMutex_TryUnlock(&self->lock) < 0) {
  ------------------
  |  Branch (1169:9): [True: 0, False: 822]
  ------------------
 1170|      0|        PyErr_SetString(PyExc_RuntimeError,
 1171|      0|                        "cannot release un-acquired lock");
 1172|      0|        return NULL;
 1173|      0|    }
 1174|    822|    Py_RETURN_NONE;
  ------------------
  |  |  628|    822|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    822|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1175|    822|}
_threadmodule.c:_thread_RLock___enter___impl:
 1146|    822|{
 1147|       |    return _thread_RLock_acquire_impl(self, 1, NULL);
 1148|    822|}
_threadmodule.c:_thread_RLock___exit___impl:
 1192|    822|{
 1193|    822|    return _thread_RLock_release_impl(self);
 1194|    822|}
_threadmodule.c:rlock_new_impl:
 1299|    381|{
 1300|    381|    rlockobject *self = (rlockobject *) type->tp_alloc(type, 0);
 1301|    381|    if (self == NULL) {
  ------------------
  |  Branch (1301:9): [True: 0, False: 381]
  ------------------
 1302|      0|        return NULL;
 1303|      0|    }
 1304|    381|    self->lock = (_PyRecursiveMutex){0};
 1305|    381|    return (PyObject *) self;
 1306|    381|}
_threadmodule.c:thread_module_traverse:
 2844|     22|{
 2845|     22|    thread_module_state *state = get_thread_state(module);
 2846|     22|    Py_VISIT(state->excepthook_type);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2847|     22|    Py_VISIT(state->lock_type);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2848|     22|    Py_VISIT(state->rlock_type);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2849|     22|    Py_VISIT(state->local_type);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2850|     22|    Py_VISIT(state->local_dummy_type);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2851|     22|    Py_VISIT(state->thread_handle_type);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2852|     22|    return 0;
 2853|     22|}

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|    411|{
   59|    411|    if (_PyDict_DelItemIf(dct, key, is_dead_weakref, NULL) < 0) {
  ------------------
  |  Branch (59:9): [True: 0, False: 411]
  ------------------
   60|      0|        return NULL;
   61|      0|    }
   62|    411|    Py_RETURN_NONE;
  ------------------
  |  |  628|    411|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    411|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   63|    411|}
_weakref.c:is_dead_weakref:
   35|    411|{
   36|    411|    if (!PyWeakref_Check(value)) {
  ------------------
  |  |   23|    411|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|    411|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    822|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    411|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    411|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 411, 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|    411|    return _PyWeakref_IS_DEAD(value);
   41|    411|}
_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|  26.3k|int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  636|  26.3k|    assert(Py_IsInitialized());
  637|       |
  638|  26.3k|    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|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_elementtree_parsewhole)
  717|       |    static int ELEMENTTREE_PARSEWHOLE_INITIALIZED = 0;
  718|       |    if (!ELEMENTTREE_PARSEWHOLE_INITIALIZED && !init_elementtree_parsewhole()) {
  719|       |        PyErr_Print();
  720|       |        abort();
  721|       |    } else {
  722|       |        ELEMENTTREE_PARSEWHOLE_INITIALIZED = 1;
  723|       |    }
  724|       |
  725|       |    rv |= _run_fuzz(data, size, fuzz_elementtree_parsewhole);
  726|       |#endif
  727|  26.3k|#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_pycompile)
  728|  26.3k|    rv |= _run_fuzz(data, size, fuzz_pycompile);
  729|  26.3k|#endif
  730|  26.3k|  return rv;
  731|  26.3k|}
fuzzer.c:_run_fuzz:
  586|  26.3k|static int _run_fuzz(const uint8_t *data, size_t size, int(*fuzzer)(const char* , size_t)) {
  587|  26.3k|    int rv = fuzzer((const char*) data, size);
  588|  26.3k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (588:9): [True: 0, False: 26.3k]
  ------------------
  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|  26.3k|    return rv;
  596|  26.3k|}
fuzzer.c:fuzz_pycompile:
  517|  26.3k|static int fuzz_pycompile(const char* data, size_t size) {
  518|       |    // Ignore overly-large inputs, and account for a NUL terminator
  519|  26.3k|    if (size > MAX_PYCOMPILE_TEST_SIZE - 1) {
  ------------------
  |  |  507|  26.3k|#define MAX_PYCOMPILE_TEST_SIZE 16384
  ------------------
  |  Branch (519:9): [True: 1, False: 26.3k]
  ------------------
  520|      1|        return 0;
  521|      1|    }
  522|       |
  523|       |    // Need 3 bytes for parameter selection
  524|  26.3k|    if (size < 3) {
  ------------------
  |  Branch (524:9): [True: 2, False: 26.3k]
  ------------------
  525|      2|        return 0;
  526|      2|    }
  527|       |
  528|       |    // Use first byte to determine element of `start_vals` to use
  529|  26.3k|    unsigned char start_idx = (unsigned char) data[0];
  530|  26.3k|    int start = start_vals[start_idx % NUM_START_VALS];
  531|       |
  532|       |    // Use second byte to determine element of `optimize_vals` to use
  533|  26.3k|    unsigned char optimize_idx = (unsigned char) data[1];
  534|  26.3k|    int optimize = optimize_vals[optimize_idx % NUM_OPTIMIZE_VALS];
  535|       |
  536|       |    // Use third byte to determine compiler flags to use.
  537|  26.3k|    unsigned char flags_byte = (unsigned char) data[2];
  538|  26.3k|    PyCompilerFlags flags = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|  26.3k|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|  26.3k|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
  539|  26.3k|    if (flags_byte & 0x01) {
  ------------------
  |  Branch (539:9): [True: 12.3k, False: 14.0k]
  ------------------
  540|  12.3k|        flags.cf_flags |= PyCF_DONT_IMPLY_DEDENT;
  ------------------
  |  |   16|  12.3k|#define PyCF_DONT_IMPLY_DEDENT 0x0200
  ------------------
  541|  12.3k|    }
  542|  26.3k|    if (flags_byte & 0x02) {
  ------------------
  |  Branch (542:9): [True: 6.59k, False: 19.7k]
  ------------------
  543|  6.59k|        flags.cf_flags |= PyCF_ONLY_AST;
  ------------------
  |  |   17|  6.59k|#define PyCF_ONLY_AST 0x0400
  ------------------
  544|  6.59k|    }
  545|  26.3k|    if (flags_byte & 0x04) {
  ------------------
  |  Branch (545:9): [True: 11.6k, False: 14.6k]
  ------------------
  546|  11.6k|        flags.cf_flags |= PyCF_IGNORE_COOKIE;
  ------------------
  |  |   18|  11.6k|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
  547|  11.6k|    }
  548|  26.3k|    if (flags_byte & 0x08) {
  ------------------
  |  Branch (548:9): [True: 11.6k, False: 14.7k]
  ------------------
  549|  11.6k|        flags.cf_flags |= PyCF_TYPE_COMMENTS;
  ------------------
  |  |   19|  11.6k|#define PyCF_TYPE_COMMENTS 0x1000
  ------------------
  550|  11.6k|    }
  551|  26.3k|    if (flags_byte & 0x10) {
  ------------------
  |  Branch (551:9): [True: 7.66k, False: 18.7k]
  ------------------
  552|  7.66k|        flags.cf_flags |= PyCF_ALLOW_TOP_LEVEL_AWAIT;
  ------------------
  |  |   20|  7.66k|#define PyCF_ALLOW_TOP_LEVEL_AWAIT 0x2000
  ------------------
  553|  7.66k|    }
  554|  26.3k|    if (flags_byte & 0x20) {
  ------------------
  |  Branch (554:9): [True: 18.6k, False: 7.71k]
  ------------------
  555|  18.6k|        flags.cf_flags |= PyCF_ALLOW_INCOMPLETE_INPUT;
  ------------------
  |  |   21|  18.6k|#define PyCF_ALLOW_INCOMPLETE_INPUT 0x4000
  ------------------
  556|  18.6k|    }
  557|  26.3k|    if (flags_byte & 0x40) {
  ------------------
  |  Branch (557:9): [True: 4.96k, False: 21.4k]
  ------------------
  558|  4.96k|        flags.cf_flags |= PyCF_OPTIMIZED_AST;
  ------------------
  |  |   22|  4.96k|#define PyCF_OPTIMIZED_AST (0x8000 | PyCF_ONLY_AST)
  |  |  ------------------
  |  |  |  |   17|  4.96k|#define PyCF_ONLY_AST 0x0400
  |  |  ------------------
  ------------------
  559|  4.96k|    }
  560|       |
  561|  26.3k|    char pycompile_scratch[MAX_PYCOMPILE_TEST_SIZE];
  562|       |
  563|       |    // Create a NUL-terminated C string from the remaining input
  564|  26.3k|    memcpy(pycompile_scratch, data + 3, size - 3);
  565|       |    // Put a NUL terminator just after the copied data. (Space was reserved already.)
  566|  26.3k|    pycompile_scratch[size - 3] = '\0';
  567|       |
  568|  26.3k|    PyObject *result = Py_CompileStringExFlags(pycompile_scratch, "<fuzz input>", start, &flags, optimize);
  569|  26.3k|    if (result == NULL) {
  ------------------
  |  Branch (569:9): [True: 12.7k, False: 13.5k]
  ------------------
  570|       |        /* Compilation failed, most likely from a syntax error. If it was a
  571|       |           SystemError we abort. There's no non-bug reason to raise a
  572|       |           SystemError. */
  573|  12.7k|        if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_SystemError)) {
  ------------------
  |  Branch (573:13): [True: 12.7k, False: 0]
  |  Branch (573:33): [True: 0, False: 12.7k]
  ------------------
  574|      0|            PyErr_Print();
  575|      0|            abort();
  576|      0|        }
  577|  12.7k|        PyErr_Clear();
  578|  13.5k|    } else {
  579|  13.5k|        Py_DECREF(result);
  ------------------
  |  |  430|  13.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  580|  13.5k|    }
  581|       |
  582|  26.3k|    return 0;
  583|  26.3k|}

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

_codecsmodule.c:_codecs_utf_8_decode:
  445|      8|{
  446|      8|    PyObject *return_value = NULL;
  447|      8|    Py_buffer data = {NULL, NULL};
  448|      8|    const char *errors = NULL;
  449|      8|    int final = 0;
  450|       |
  451|      8|    if (!_PyArg_CheckPositional("utf_8_decode", nargs, 1, 3)) {
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  452|      0|        goto exit;
  453|      0|    }
  454|      8|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      8|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (454:9): [True: 0, False: 8]
  ------------------
  455|      0|        goto exit;
  456|      0|    }
  457|      8|    if (nargs < 2) {
  ------------------
  |  Branch (457:9): [True: 0, False: 8]
  ------------------
  458|      0|        goto skip_optional;
  459|      0|    }
  460|      8|    if (args[1] == Py_None) {
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (460:9): [True: 0, False: 8]
  ------------------
  461|      0|        errors = NULL;
  462|      0|    }
  463|      8|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|      8|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 8, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|      8|        errors = _PyUnicode_AsUTF8NoNUL(args[1]);
  465|      8|        if (errors == NULL) {
  ------------------
  |  Branch (465:13): [True: 0, False: 8]
  ------------------
  466|      0|            goto exit;
  467|      0|        }
  468|      8|    }
  469|      0|    else {
  470|      0|        _PyArg_BadArgument("utf_8_decode", "argument 2", "str or None", args[1]);
  471|      0|        goto exit;
  472|      0|    }
  473|      8|    if (nargs < 3) {
  ------------------
  |  Branch (473:9): [True: 0, False: 8]
  ------------------
  474|      0|        goto skip_optional;
  475|      0|    }
  476|      8|    final = PyObject_IsTrue(args[2]);
  477|      8|    if (final < 0) {
  ------------------
  |  Branch (477:9): [True: 0, False: 8]
  ------------------
  478|      0|        goto exit;
  479|      0|    }
  480|      8|skip_optional:
  481|      8|    return_value = _codecs_utf_8_decode_impl(module, &data, errors, final);
  482|       |
  483|      8|exit:
  484|       |    /* Cleanup for data */
  485|      8|    if (data.obj) {
  ------------------
  |  Branch (485:9): [True: 8, False: 0]
  ------------------
  486|      8|       PyBuffer_Release(&data);
  487|      8|    }
  488|       |
  489|      8|    return return_value;
  490|      8|}
_codecsmodule.c:_codecs_utf_7_decode:
  384|    138|{
  385|    138|    PyObject *return_value = NULL;
  386|    138|    Py_buffer data = {NULL, NULL};
  387|    138|    const char *errors = NULL;
  388|    138|    int final = 0;
  389|       |
  390|    138|    if (!_PyArg_CheckPositional("utf_7_decode", nargs, 1, 3)) {
  ------------------
  |  |   38|    138|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 138, False: 0]
  |  |  |  Branch (38:27): [True: 138, False: 0]
  |  |  ------------------
  |  |   39|    138|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  391|      0|        goto exit;
  392|      0|    }
  393|    138|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|    138|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (393:9): [True: 0, False: 138]
  ------------------
  394|      0|        goto exit;
  395|      0|    }
  396|    138|    if (nargs < 2) {
  ------------------
  |  Branch (396:9): [True: 0, False: 138]
  ------------------
  397|      0|        goto skip_optional;
  398|      0|    }
  399|    138|    if (args[1] == Py_None) {
  ------------------
  |  |  616|    138|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (399:9): [True: 0, False: 138]
  ------------------
  400|      0|        errors = NULL;
  401|      0|    }
  402|    138|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|    138|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    138|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 138, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  403|    138|        errors = _PyUnicode_AsUTF8NoNUL(args[1]);
  404|    138|        if (errors == NULL) {
  ------------------
  |  Branch (404:13): [True: 0, False: 138]
  ------------------
  405|      0|            goto exit;
  406|      0|        }
  407|    138|    }
  408|      0|    else {
  409|      0|        _PyArg_BadArgument("utf_7_decode", "argument 2", "str or None", args[1]);
  410|      0|        goto exit;
  411|      0|    }
  412|    138|    if (nargs < 3) {
  ------------------
  |  Branch (412:9): [True: 0, False: 138]
  ------------------
  413|      0|        goto skip_optional;
  414|      0|    }
  415|    138|    final = PyObject_IsTrue(args[2]);
  416|    138|    if (final < 0) {
  ------------------
  |  Branch (416:9): [True: 0, False: 138]
  ------------------
  417|      0|        goto exit;
  418|      0|    }
  419|    138|skip_optional:
  420|    138|    return_value = _codecs_utf_7_decode_impl(module, &data, errors, final);
  421|       |
  422|    138|exit:
  423|       |    /* Cleanup for data */
  424|    138|    if (data.obj) {
  ------------------
  |  Branch (424:9): [True: 138, False: 0]
  ------------------
  425|    138|       PyBuffer_Release(&data);
  426|    138|    }
  427|       |
  428|    138|    return return_value;
  429|    138|}
_codecsmodule.c:_codecs_utf_16_decode:
  506|     41|{
  507|     41|    PyObject *return_value = NULL;
  508|     41|    Py_buffer data = {NULL, NULL};
  509|     41|    const char *errors = NULL;
  510|     41|    int final = 0;
  511|       |
  512|     41|    if (!_PyArg_CheckPositional("utf_16_decode", nargs, 1, 3)) {
  ------------------
  |  |   38|     41|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 41, False: 0]
  |  |  |  Branch (38:27): [True: 41, False: 0]
  |  |  ------------------
  |  |   39|     41|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  513|      0|        goto exit;
  514|      0|    }
  515|     41|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     41|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (515:9): [True: 0, False: 41]
  ------------------
  516|      0|        goto exit;
  517|      0|    }
  518|     41|    if (nargs < 2) {
  ------------------
  |  Branch (518:9): [True: 0, False: 41]
  ------------------
  519|      0|        goto skip_optional;
  520|      0|    }
  521|     41|    if (args[1] == Py_None) {
  ------------------
  |  |  616|     41|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (521:9): [True: 0, False: 41]
  ------------------
  522|      0|        errors = NULL;
  523|      0|    }
  524|     41|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|     41|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     41|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 41, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  525|     41|        errors = _PyUnicode_AsUTF8NoNUL(args[1]);
  526|     41|        if (errors == NULL) {
  ------------------
  |  Branch (526:13): [True: 0, False: 41]
  ------------------
  527|      0|            goto exit;
  528|      0|        }
  529|     41|    }
  530|      0|    else {
  531|      0|        _PyArg_BadArgument("utf_16_decode", "argument 2", "str or None", args[1]);
  532|      0|        goto exit;
  533|      0|    }
  534|     41|    if (nargs < 3) {
  ------------------
  |  Branch (534:9): [True: 0, False: 41]
  ------------------
  535|      0|        goto skip_optional;
  536|      0|    }
  537|     41|    final = PyObject_IsTrue(args[2]);
  538|     41|    if (final < 0) {
  ------------------
  |  Branch (538:9): [True: 0, False: 41]
  ------------------
  539|      0|        goto exit;
  540|      0|    }
  541|     41|skip_optional:
  542|     41|    return_value = _codecs_utf_16_decode_impl(module, &data, errors, final);
  543|       |
  544|     41|exit:
  545|       |    /* Cleanup for data */
  546|     41|    if (data.obj) {
  ------------------
  |  Branch (546:9): [True: 41, False: 0]
  ------------------
  547|     41|       PyBuffer_Release(&data);
  548|     41|    }
  549|       |
  550|     41|    return return_value;
  551|     41|}
_codecsmodule.c:_codecs_utf_16_le_decode:
  567|      2|{
  568|      2|    PyObject *return_value = NULL;
  569|      2|    Py_buffer data = {NULL, NULL};
  570|      2|    const char *errors = NULL;
  571|      2|    int final = 0;
  572|       |
  573|      2|    if (!_PyArg_CheckPositional("utf_16_le_decode", 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]
  |  |  ------------------
  ------------------
  574|      0|        goto exit;
  575|      0|    }
  576|      2|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      2|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (576:9): [True: 0, False: 2]
  ------------------
  577|      0|        goto exit;
  578|      0|    }
  579|      2|    if (nargs < 2) {
  ------------------
  |  Branch (579:9): [True: 0, False: 2]
  ------------------
  580|      0|        goto skip_optional;
  581|      0|    }
  582|      2|    if (args[1] == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (582:9): [True: 0, False: 2]
  ------------------
  583|      0|        errors = NULL;
  584|      0|    }
  585|      2|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  586|      2|        errors = _PyUnicode_AsUTF8NoNUL(args[1]);
  587|      2|        if (errors == NULL) {
  ------------------
  |  Branch (587:13): [True: 0, False: 2]
  ------------------
  588|      0|            goto exit;
  589|      0|        }
  590|      2|    }
  591|      0|    else {
  592|      0|        _PyArg_BadArgument("utf_16_le_decode", "argument 2", "str or None", args[1]);
  593|      0|        goto exit;
  594|      0|    }
  595|      2|    if (nargs < 3) {
  ------------------
  |  Branch (595:9): [True: 0, False: 2]
  ------------------
  596|      0|        goto skip_optional;
  597|      0|    }
  598|      2|    final = PyObject_IsTrue(args[2]);
  599|      2|    if (final < 0) {
  ------------------
  |  Branch (599:9): [True: 0, False: 2]
  ------------------
  600|      0|        goto exit;
  601|      0|    }
  602|      2|skip_optional:
  603|      2|    return_value = _codecs_utf_16_le_decode_impl(module, &data, errors, final);
  604|       |
  605|      2|exit:
  606|       |    /* Cleanup for data */
  607|      2|    if (data.obj) {
  ------------------
  |  Branch (607:9): [True: 2, False: 0]
  ------------------
  608|      2|       PyBuffer_Release(&data);
  609|      2|    }
  610|       |
  611|      2|    return return_value;
  612|      2|}
_codecsmodule.c:_codecs_utf_16_be_decode:
  628|  8.12k|{
  629|  8.12k|    PyObject *return_value = NULL;
  630|  8.12k|    Py_buffer data = {NULL, NULL};
  631|  8.12k|    const char *errors = NULL;
  632|  8.12k|    int final = 0;
  633|       |
  634|  8.12k|    if (!_PyArg_CheckPositional("utf_16_be_decode", nargs, 1, 3)) {
  ------------------
  |  |   38|  8.12k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 8.12k, False: 0]
  |  |  |  Branch (38:27): [True: 8.12k, False: 0]
  |  |  ------------------
  |  |   39|  8.12k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  635|      0|        goto exit;
  636|      0|    }
  637|  8.12k|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|  8.12k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (637:9): [True: 0, False: 8.12k]
  ------------------
  638|      0|        goto exit;
  639|      0|    }
  640|  8.12k|    if (nargs < 2) {
  ------------------
  |  Branch (640:9): [True: 0, False: 8.12k]
  ------------------
  641|      0|        goto skip_optional;
  642|      0|    }
  643|  8.12k|    if (args[1] == Py_None) {
  ------------------
  |  |  616|  8.12k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (643:9): [True: 0, False: 8.12k]
  ------------------
  644|      0|        errors = NULL;
  645|      0|    }
  646|  8.12k|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|  8.12k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.12k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 8.12k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  647|  8.12k|        errors = _PyUnicode_AsUTF8NoNUL(args[1]);
  648|  8.12k|        if (errors == NULL) {
  ------------------
  |  Branch (648:13): [True: 0, False: 8.12k]
  ------------------
  649|      0|            goto exit;
  650|      0|        }
  651|  8.12k|    }
  652|      0|    else {
  653|      0|        _PyArg_BadArgument("utf_16_be_decode", "argument 2", "str or None", args[1]);
  654|      0|        goto exit;
  655|      0|    }
  656|  8.12k|    if (nargs < 3) {
  ------------------
  |  Branch (656:9): [True: 0, False: 8.12k]
  ------------------
  657|      0|        goto skip_optional;
  658|      0|    }
  659|  8.12k|    final = PyObject_IsTrue(args[2]);
  660|  8.12k|    if (final < 0) {
  ------------------
  |  Branch (660:9): [True: 0, False: 8.12k]
  ------------------
  661|      0|        goto exit;
  662|      0|    }
  663|  8.12k|skip_optional:
  664|  8.12k|    return_value = _codecs_utf_16_be_decode_impl(module, &data, errors, final);
  665|       |
  666|  8.12k|exit:
  667|       |    /* Cleanup for data */
  668|  8.12k|    if (data.obj) {
  ------------------
  |  Branch (668:9): [True: 8.12k, False: 0]
  ------------------
  669|  8.12k|       PyBuffer_Release(&data);
  670|  8.12k|    }
  671|       |
  672|  8.12k|    return return_value;
  673|  8.12k|}
_codecsmodule.c:_codecs_utf_32_decode:
  759|     17|{
  760|     17|    PyObject *return_value = NULL;
  761|     17|    Py_buffer data = {NULL, NULL};
  762|     17|    const char *errors = NULL;
  763|     17|    int final = 0;
  764|       |
  765|     17|    if (!_PyArg_CheckPositional("utf_32_decode", nargs, 1, 3)) {
  ------------------
  |  |   38|     17|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 17, False: 0]
  |  |  |  Branch (38:27): [True: 17, False: 0]
  |  |  ------------------
  |  |   39|     17|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  766|      0|        goto exit;
  767|      0|    }
  768|     17|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     17|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (768:9): [True: 0, False: 17]
  ------------------
  769|      0|        goto exit;
  770|      0|    }
  771|     17|    if (nargs < 2) {
  ------------------
  |  Branch (771:9): [True: 0, False: 17]
  ------------------
  772|      0|        goto skip_optional;
  773|      0|    }
  774|     17|    if (args[1] == Py_None) {
  ------------------
  |  |  616|     17|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (774:9): [True: 0, False: 17]
  ------------------
  775|      0|        errors = NULL;
  776|      0|    }
  777|     17|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|     17|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     17|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 17, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  778|     17|        errors = _PyUnicode_AsUTF8NoNUL(args[1]);
  779|     17|        if (errors == NULL) {
  ------------------
  |  Branch (779:13): [True: 0, False: 17]
  ------------------
  780|      0|            goto exit;
  781|      0|        }
  782|     17|    }
  783|      0|    else {
  784|      0|        _PyArg_BadArgument("utf_32_decode", "argument 2", "str or None", args[1]);
  785|      0|        goto exit;
  786|      0|    }
  787|     17|    if (nargs < 3) {
  ------------------
  |  Branch (787:9): [True: 0, False: 17]
  ------------------
  788|      0|        goto skip_optional;
  789|      0|    }
  790|     17|    final = PyObject_IsTrue(args[2]);
  791|     17|    if (final < 0) {
  ------------------
  |  Branch (791:9): [True: 0, False: 17]
  ------------------
  792|      0|        goto exit;
  793|      0|    }
  794|     17|skip_optional:
  795|     17|    return_value = _codecs_utf_32_decode_impl(module, &data, errors, final);
  796|       |
  797|     17|exit:
  798|       |    /* Cleanup for data */
  799|     17|    if (data.obj) {
  ------------------
  |  Branch (799:9): [True: 17, False: 0]
  ------------------
  800|     17|       PyBuffer_Release(&data);
  801|     17|    }
  802|       |
  803|     17|    return return_value;
  804|     17|}
_codecsmodule.c:_codecs_utf_32_le_decode:
  820|      1|{
  821|      1|    PyObject *return_value = NULL;
  822|      1|    Py_buffer data = {NULL, NULL};
  823|      1|    const char *errors = NULL;
  824|      1|    int final = 0;
  825|       |
  826|      1|    if (!_PyArg_CheckPositional("utf_32_le_decode", nargs, 1, 3)) {
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  827|      0|        goto exit;
  828|      0|    }
  829|      1|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      1|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (829:9): [True: 0, False: 1]
  ------------------
  830|      0|        goto exit;
  831|      0|    }
  832|      1|    if (nargs < 2) {
  ------------------
  |  Branch (832:9): [True: 0, False: 1]
  ------------------
  833|      0|        goto skip_optional;
  834|      0|    }
  835|      1|    if (args[1] == Py_None) {
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (835:9): [True: 0, False: 1]
  ------------------
  836|      0|        errors = NULL;
  837|      0|    }
  838|      1|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|      1|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  839|      1|        errors = _PyUnicode_AsUTF8NoNUL(args[1]);
  840|      1|        if (errors == NULL) {
  ------------------
  |  Branch (840:13): [True: 0, False: 1]
  ------------------
  841|      0|            goto exit;
  842|      0|        }
  843|      1|    }
  844|      0|    else {
  845|      0|        _PyArg_BadArgument("utf_32_le_decode", "argument 2", "str or None", args[1]);
  846|      0|        goto exit;
  847|      0|    }
  848|      1|    if (nargs < 3) {
  ------------------
  |  Branch (848:9): [True: 0, False: 1]
  ------------------
  849|      0|        goto skip_optional;
  850|      0|    }
  851|      1|    final = PyObject_IsTrue(args[2]);
  852|      1|    if (final < 0) {
  ------------------
  |  Branch (852:9): [True: 0, False: 1]
  ------------------
  853|      0|        goto exit;
  854|      0|    }
  855|      1|skip_optional:
  856|      1|    return_value = _codecs_utf_32_le_decode_impl(module, &data, errors, final);
  857|       |
  858|      1|exit:
  859|       |    /* Cleanup for data */
  860|      1|    if (data.obj) {
  ------------------
  |  Branch (860:9): [True: 1, False: 0]
  ------------------
  861|      1|       PyBuffer_Release(&data);
  862|      1|    }
  863|       |
  864|      1|    return return_value;
  865|      1|}
_codecsmodule.c:_codecs_utf_32_be_decode:
  881|      1|{
  882|      1|    PyObject *return_value = NULL;
  883|      1|    Py_buffer data = {NULL, NULL};
  884|      1|    const char *errors = NULL;
  885|      1|    int final = 0;
  886|       |
  887|      1|    if (!_PyArg_CheckPositional("utf_32_be_decode", nargs, 1, 3)) {
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  888|      0|        goto exit;
  889|      0|    }
  890|      1|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      1|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (890:9): [True: 0, False: 1]
  ------------------
  891|      0|        goto exit;
  892|      0|    }
  893|      1|    if (nargs < 2) {
  ------------------
  |  Branch (893:9): [True: 0, False: 1]
  ------------------
  894|      0|        goto skip_optional;
  895|      0|    }
  896|      1|    if (args[1] == Py_None) {
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (896:9): [True: 0, False: 1]
  ------------------
  897|      0|        errors = NULL;
  898|      0|    }
  899|      1|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|      1|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  900|      1|        errors = _PyUnicode_AsUTF8NoNUL(args[1]);
  901|      1|        if (errors == NULL) {
  ------------------
  |  Branch (901:13): [True: 0, False: 1]
  ------------------
  902|      0|            goto exit;
  903|      0|        }
  904|      1|    }
  905|      0|    else {
  906|      0|        _PyArg_BadArgument("utf_32_be_decode", "argument 2", "str or None", args[1]);
  907|      0|        goto exit;
  908|      0|    }
  909|      1|    if (nargs < 3) {
  ------------------
  |  Branch (909:9): [True: 0, False: 1]
  ------------------
  910|      0|        goto skip_optional;
  911|      0|    }
  912|      1|    final = PyObject_IsTrue(args[2]);
  913|      1|    if (final < 0) {
  ------------------
  |  Branch (913:9): [True: 0, False: 1]
  ------------------
  914|      0|        goto exit;
  915|      0|    }
  916|      1|skip_optional:
  917|      1|    return_value = _codecs_utf_32_be_decode_impl(module, &data, errors, final);
  918|       |
  919|      1|exit:
  920|       |    /* Cleanup for data */
  921|      1|    if (data.obj) {
  ------------------
  |  Branch (921:9): [True: 1, False: 0]
  ------------------
  922|      1|       PyBuffer_Release(&data);
  923|      1|    }
  924|       |
  925|      1|    return return_value;
  926|      1|}
_codecsmodule.c:_codecs_latin_1_decode:
 1158|    822|{
 1159|    822|    PyObject *return_value = NULL;
 1160|    822|    Py_buffer data = {NULL, NULL};
 1161|    822|    const char *errors = NULL;
 1162|       |
 1163|    822|    if (!_PyArg_CheckPositional("latin_1_decode", nargs, 1, 2)) {
  ------------------
  |  |   38|    822|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 822, False: 0]
  |  |  |  Branch (38:27): [True: 822, False: 0]
  |  |  ------------------
  |  |   39|    822|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1164|      0|        goto exit;
 1165|      0|    }
 1166|    822|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|    822|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1166:9): [True: 0, False: 822]
  ------------------
 1167|      0|        goto exit;
 1168|      0|    }
 1169|    822|    if (nargs < 2) {
  ------------------
  |  Branch (1169:9): [True: 822, False: 0]
  ------------------
 1170|    822|        goto skip_optional;
 1171|    822|    }
 1172|      0|    if (args[1] == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1172:9): [True: 0, False: 0]
  ------------------
 1173|      0|        errors = NULL;
 1174|      0|    }
 1175|      0|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1176|      0|        errors = _PyUnicode_AsUTF8NoNUL(args[1]);
 1177|      0|        if (errors == NULL) {
  ------------------
  |  Branch (1177:13): [True: 0, False: 0]
  ------------------
 1178|      0|            goto exit;
 1179|      0|        }
 1180|      0|    }
 1181|      0|    else {
 1182|      0|        _PyArg_BadArgument("latin_1_decode", "argument 2", "str or None", args[1]);
 1183|      0|        goto exit;
 1184|      0|    }
 1185|    822|skip_optional:
 1186|    822|    return_value = _codecs_latin_1_decode_impl(module, &data, errors);
 1187|       |
 1188|    822|exit:
 1189|       |    /* Cleanup for data */
 1190|    822|    if (data.obj) {
  ------------------
  |  Branch (1190:9): [True: 822, False: 0]
  ------------------
 1191|    822|       PyBuffer_Release(&data);
 1192|    822|    }
 1193|       |
 1194|    822|    return return_value;
 1195|    822|}
_codecsmodule.c:_codecs_ascii_decode:
 1211|      7|{
 1212|      7|    PyObject *return_value = NULL;
 1213|      7|    Py_buffer data = {NULL, NULL};
 1214|      7|    const char *errors = NULL;
 1215|       |
 1216|      7|    if (!_PyArg_CheckPositional("ascii_decode", nargs, 1, 2)) {
  ------------------
  |  |   38|      7|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 7, False: 0]
  |  |  |  Branch (38:27): [True: 7, False: 0]
  |  |  ------------------
  |  |   39|      7|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1217|      0|        goto exit;
 1218|      0|    }
 1219|      7|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      7|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1219:9): [True: 0, False: 7]
  ------------------
 1220|      0|        goto exit;
 1221|      0|    }
 1222|      7|    if (nargs < 2) {
  ------------------
  |  Branch (1222:9): [True: 7, False: 0]
  ------------------
 1223|      7|        goto skip_optional;
 1224|      7|    }
 1225|      0|    if (args[1] == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1225:9): [True: 0, False: 0]
  ------------------
 1226|      0|        errors = NULL;
 1227|      0|    }
 1228|      0|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1229|      0|        errors = _PyUnicode_AsUTF8NoNUL(args[1]);
 1230|      0|        if (errors == NULL) {
  ------------------
  |  Branch (1230:13): [True: 0, False: 0]
  ------------------
 1231|      0|            goto exit;
 1232|      0|        }
 1233|      0|    }
 1234|      0|    else {
 1235|      0|        _PyArg_BadArgument("ascii_decode", "argument 2", "str or None", args[1]);
 1236|      0|        goto exit;
 1237|      0|    }
 1238|      7|skip_optional:
 1239|      7|    return_value = _codecs_ascii_decode_impl(module, &data, errors);
 1240|       |
 1241|      7|exit:
 1242|       |    /* Cleanup for data */
 1243|      7|    if (data.obj) {
  ------------------
  |  Branch (1243:9): [True: 7, False: 0]
  ------------------
 1244|      7|       PyBuffer_Release(&data);
 1245|      7|    }
 1246|       |
 1247|      7|    return return_value;
 1248|      7|}
_codecsmodule.c:_codecs_charmap_decode:
 1264|  1.27k|{
 1265|  1.27k|    PyObject *return_value = NULL;
 1266|  1.27k|    Py_buffer data = {NULL, NULL};
 1267|  1.27k|    const char *errors = NULL;
 1268|  1.27k|    PyObject *mapping = Py_None;
  ------------------
  |  |  616|  1.27k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1269|       |
 1270|  1.27k|    if (!_PyArg_CheckPositional("charmap_decode", nargs, 1, 3)) {
  ------------------
  |  |   38|  1.27k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 1.27k, False: 0]
  |  |  |  Branch (38:27): [True: 1.27k, False: 0]
  |  |  ------------------
  |  |   39|  1.27k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1271|      0|        goto exit;
 1272|      0|    }
 1273|  1.27k|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|  1.27k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1273:9): [True: 0, False: 1.27k]
  ------------------
 1274|      0|        goto exit;
 1275|      0|    }
 1276|  1.27k|    if (nargs < 2) {
  ------------------
  |  Branch (1276:9): [True: 0, False: 1.27k]
  ------------------
 1277|      0|        goto skip_optional;
 1278|      0|    }
 1279|  1.27k|    if (args[1] == Py_None) {
  ------------------
  |  |  616|  1.27k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1279:9): [True: 0, False: 1.27k]
  ------------------
 1280|      0|        errors = NULL;
 1281|      0|    }
 1282|  1.27k|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|  1.27k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.27k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.27k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1283|  1.27k|        errors = _PyUnicode_AsUTF8NoNUL(args[1]);
 1284|  1.27k|        if (errors == NULL) {
  ------------------
  |  Branch (1284:13): [True: 0, False: 1.27k]
  ------------------
 1285|      0|            goto exit;
 1286|      0|        }
 1287|  1.27k|    }
 1288|      0|    else {
 1289|      0|        _PyArg_BadArgument("charmap_decode", "argument 2", "str or None", args[1]);
 1290|      0|        goto exit;
 1291|      0|    }
 1292|  1.27k|    if (nargs < 3) {
  ------------------
  |  Branch (1292:9): [True: 0, False: 1.27k]
  ------------------
 1293|      0|        goto skip_optional;
 1294|      0|    }
 1295|  1.27k|    mapping = args[2];
 1296|  1.27k|skip_optional:
 1297|  1.27k|    return_value = _codecs_charmap_decode_impl(module, &data, errors, mapping);
 1298|       |
 1299|  1.27k|exit:
 1300|       |    /* Cleanup for data */
 1301|  1.27k|    if (data.obj) {
  ------------------
  |  Branch (1301:9): [True: 1.27k, False: 0]
  ------------------
 1302|  1.27k|       PyBuffer_Release(&data);
 1303|  1.27k|    }
 1304|       |
 1305|  1.27k|    return return_value;
 1306|  1.27k|}
_codecsmodule.c:_codecs_charmap_build:
 2331|     22|{
 2332|     22|    PyObject *return_value = NULL;
 2333|     22|    PyObject *map;
 2334|       |
 2335|     22|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     22|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     22|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2335:9): [True: 0, False: 22]
  ------------------
 2336|      0|        _PyArg_BadArgument("charmap_build", "argument", "str", arg);
 2337|      0|        goto exit;
 2338|      0|    }
 2339|     22|    map = arg;
 2340|     22|    return_value = _codecs_charmap_build_impl(module, map);
 2341|       |
 2342|     22|exit:
 2343|     22|    return return_value;
 2344|     22|}
_codecsmodule.c:_codecs_iconv_encode:
 2527|    285|{
 2528|    285|    PyObject *return_value = NULL;
 2529|    285|    const char *encoding;
 2530|    285|    PyObject *str;
 2531|    285|    const char *errors = NULL;
 2532|       |
 2533|    285|    if (!_PyArg_CheckPositional("iconv_encode", nargs, 2, 3)) {
  ------------------
  |  |   38|    285|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 285, False: 0]
  |  |  |  Branch (38:27): [True: 285, False: 0]
  |  |  ------------------
  |  |   39|    285|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2534|      0|        goto exit;
 2535|      0|    }
 2536|    285|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    285|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    285|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2536:9): [True: 0, False: 285]
  ------------------
 2537|      0|        _PyArg_BadArgument("iconv_encode", "argument 1", "str", args[0]);
 2538|      0|        goto exit;
 2539|      0|    }
 2540|    285|    encoding = _PyUnicode_AsUTF8NoNUL(args[0]);
 2541|    285|    if (encoding == NULL) {
  ------------------
  |  Branch (2541:9): [True: 0, False: 285]
  ------------------
 2542|      0|        goto exit;
 2543|      0|    }
 2544|    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 (2544:9): [True: 0, False: 285]
  ------------------
 2545|      0|        _PyArg_BadArgument("iconv_encode", "argument 2", "str", args[1]);
 2546|      0|        goto exit;
 2547|      0|    }
 2548|    285|    str = args[1];
 2549|    285|    if (nargs < 3) {
  ------------------
  |  Branch (2549:9): [True: 285, False: 0]
  ------------------
 2550|    285|        goto skip_optional;
 2551|    285|    }
 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|    285|skip_optional:
 2566|    285|    return_value = _codecs_iconv_encode_impl(module, encoding, str, errors);
 2567|       |
 2568|    285|exit:
 2569|    285|    return return_value;
 2570|    285|}
_codecsmodule.c:_codecs_iconv_decode:
 1524|    278|{
 1525|    278|    PyObject *return_value = NULL;
 1526|    278|    const char *encoding;
 1527|    278|    Py_buffer data = {NULL, NULL};
 1528|    278|    const char *errors = NULL;
 1529|    278|    int final = 0;
 1530|       |
 1531|    278|    if (!_PyArg_CheckPositional("iconv_decode", nargs, 2, 4)) {
  ------------------
  |  |   38|    278|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 278, False: 0]
  |  |  |  Branch (38:27): [True: 278, False: 0]
  |  |  ------------------
  |  |   39|    278|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1532|      0|        goto exit;
 1533|      0|    }
 1534|    278|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    278|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    278|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1534:9): [True: 0, False: 278]
  ------------------
 1535|      0|        _PyArg_BadArgument("iconv_decode", "argument 1", "str", args[0]);
 1536|      0|        goto exit;
 1537|      0|    }
 1538|    278|    encoding = _PyUnicode_AsUTF8NoNUL(args[0]);
 1539|    278|    if (encoding == NULL) {
  ------------------
  |  Branch (1539:9): [True: 0, False: 278]
  ------------------
 1540|      0|        goto exit;
 1541|      0|    }
 1542|    278|    if (PyObject_GetBuffer(args[1], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|    278|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1542:9): [True: 0, False: 278]
  ------------------
 1543|      0|        goto exit;
 1544|      0|    }
 1545|    278|    if (nargs < 3) {
  ------------------
  |  Branch (1545:9): [True: 0, False: 278]
  ------------------
 1546|      0|        goto skip_optional;
 1547|      0|    }
 1548|    278|    if (args[2] == Py_None) {
  ------------------
  |  |  616|    278|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1548:9): [True: 0, False: 278]
  ------------------
 1549|      0|        errors = NULL;
 1550|      0|    }
 1551|    278|    else if (PyUnicode_Check(args[2])) {
  ------------------
  |  |  103|    278|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    278|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 278, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1552|    278|        errors = _PyUnicode_AsUTF8NoNUL(args[2]);
 1553|    278|        if (errors == NULL) {
  ------------------
  |  Branch (1553:13): [True: 0, False: 278]
  ------------------
 1554|      0|            goto exit;
 1555|      0|        }
 1556|    278|    }
 1557|      0|    else {
 1558|      0|        _PyArg_BadArgument("iconv_decode", "argument 3", "str or None", args[2]);
 1559|      0|        goto exit;
 1560|      0|    }
 1561|    278|    if (nargs < 4) {
  ------------------
  |  Branch (1561:9): [True: 0, False: 278]
  ------------------
 1562|      0|        goto skip_optional;
 1563|      0|    }
 1564|    278|    final = PyObject_IsTrue(args[3]);
 1565|    278|    if (final < 0) {
  ------------------
  |  Branch (1565:9): [True: 0, False: 278]
  ------------------
 1566|      0|        goto exit;
 1567|      0|    }
 1568|    278|skip_optional:
 1569|    278|    return_value = _codecs_iconv_decode_impl(module, encoding, &data, errors, final);
 1570|       |
 1571|    278|exit:
 1572|       |    /* Cleanup for data */
 1573|    278|    if (data.obj) {
  ------------------
  |  Branch (1573:9): [True: 278, False: 0]
  ------------------
 1574|    278|       PyBuffer_Release(&data);
 1575|    278|    }
 1576|       |
 1577|    278|    return return_value;
 1578|    278|}
_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|    410|{
 2714|    410|    PyObject *return_value = NULL;
 2715|    410|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 2716|       |
 2717|    410|    #define NUM_KEYWORDS 1
 2718|    410|    static struct {
 2719|    410|        PyGC_Head _this_is_not_used;
 2720|    410|        PyObject_VAR_HEAD
 2721|    410|        Py_hash_t ob_hash;
 2722|    410|        PyObject *ob_item[NUM_KEYWORDS];
 2723|    410|    } _kwtuple = {
 2724|    410|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    410|    {                                     \
  |  |   98|    410|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    410|    {                               \
  |  |  |  |   91|    410|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    410|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    410|#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|    410|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    410|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    410|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    410|        (type)                      \
  |  |  |  |   93|    410|    },
  |  |  ------------------
  |  |   99|    410|        (size)                            \
  |  |  100|    410|    },
  ------------------
 2725|    410|        .ob_hash = -1,
 2726|    410|        .ob_item = { &_Py_ID(encoding), },
  ------------------
  |  |  951|    410|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    410|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    410|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2727|    410|    };
 2728|    410|    #undef NUM_KEYWORDS
 2729|    410|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 2730|       |
 2731|       |    #else  // !Py_BUILD_CORE
 2732|       |    #  define KWTUPLE NULL
 2733|       |    #endif  // !Py_BUILD_CORE
 2734|       |
 2735|    410|    static const char * const _keywords[] = {"encoding", NULL};
 2736|    410|    static _PyArg_Parser _parser = {
 2737|    410|        .keywords = _keywords,
 2738|    410|        .fname = "_normalize_encoding",
 2739|    410|        .kwtuple = KWTUPLE,
  ------------------
  |  | 2729|    410|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 2740|    410|    };
 2741|    410|    #undef KWTUPLE
 2742|    410|    PyObject *argsbuf[1];
 2743|    410|    PyObject *encoding;
 2744|       |
 2745|    410|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|    410|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 410, False: 0]
  |  |  ------------------
  |  |   91|    410|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 410, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 410]
  |  |  |  Branch (91:43): [True: 410, False: 0]
  |  |  |  Branch (91:67): [True: 410, False: 0]
  |  |  ------------------
  |  |   92|    410|      (args) : \
  |  |   93|    410|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 2746|    410|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 2747|    410|    if (!args) {
  ------------------
  |  Branch (2747:9): [True: 0, False: 410]
  ------------------
 2748|      0|        goto exit;
 2749|      0|    }
 2750|    410|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    410|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    410|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2750:9): [True: 0, False: 410]
  ------------------
 2751|      0|        _PyArg_BadArgument("_normalize_encoding", "argument 'encoding'", "str", args[0]);
 2752|      0|        goto exit;
 2753|      0|    }
 2754|    410|    encoding = args[0];
 2755|    410|    return_value = _codecs__normalize_encoding_impl(module, encoding);
 2756|       |
 2757|    410|exit:
 2758|    410|    return return_value;
 2759|    410|}

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

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

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

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

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

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

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

_PyLong_FromUid:
  867|    591|{
  868|    591|    if (uid == (uid_t)-1)
  ------------------
  |  Branch (868:9): [True: 0, False: 591]
  ------------------
  869|      0|        return PyLong_FromLong(-1);
  870|    591|    return PyLong_FromUnsignedLong(uid);
  871|    591|}
_PyLong_FromGid:
  875|    591|{
  876|    591|    if (gid == (gid_t)-1)
  ------------------
  |  Branch (876:9): [True: 0, False: 591]
  ------------------
  877|      0|        return PyLong_FromLong(-1);
  878|    591|    return PyLong_FromUnsignedLong(gid);
  879|    591|}
PyOS_FSPath:
17543|  6.09k|{
17544|       |    /* For error message reasons, this function is manually inlined in
17545|       |       path_converter(). */
17546|  6.09k|    PyObject *func = NULL;
17547|  6.09k|    PyObject *path_repr = NULL;
17548|       |
17549|  6.09k|    if (PyUnicode_Check(path) || PyBytes_Check(path)) {
  ------------------
  |  |  103|  6.09k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  12.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 6.09k, 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|  6.09k|        return Py_NewRef(path);
  ------------------
  |  |  647|  6.09k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17551|  6.09k|    }
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|    642|{
 1406|    642|    path_t *path = (path_t *)p;
 1407|    642|    PyObject *bytes = NULL;
 1408|    642|    Py_ssize_t length = 0;
 1409|    642|    int is_index, is_bytes, is_unicode;
 1410|    642|    const char *narrow;
 1411|    642|    PyObject *wo = NULL;
 1412|    642|    wchar_t *wide = NULL;
 1413|       |
 1414|    642|#define FORMAT_EXCEPTION(exc, fmt) \
 1415|    642|    PyErr_Format(exc, "%s%s" fmt, \
 1416|    642|        path->function_name ? path->function_name : "", \
 1417|    642|        path->function_name ? ": "                : "", \
 1418|    642|        path->argument_name ? path->argument_name : "path")
 1419|       |
 1420|       |    /* Py_CLEANUP_SUPPORTED support */
 1421|    642|    if (o == NULL) {
  ------------------
  |  Branch (1421:9): [True: 0, False: 642]
  ------------------
 1422|      0|        path_cleanup(path);
 1423|      0|        return 1;
 1424|      0|    }
 1425|       |
 1426|       |    /* Ensure it's always safe to call path_cleanup(). */
 1427|    642|    path->object = path->cleanup = NULL;
 1428|       |    /* path->object owns a reference to the original object */
 1429|    642|    Py_INCREF(o);
  ------------------
  |  |  310|    642|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    642|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    642|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1430|       |
 1431|    642|    if ((o == Py_None) && path->nullable) {
  ------------------
  |  |  616|    642|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1431:9): [True: 0, False: 642]
  |  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|    642|    is_index = path->allow_fd && PyIndex_Check(o);
  ------------------
  |  Branch (1440:16): [True: 632, False: 10]
  |  Branch (1440:34): [True: 0, False: 632]
  ------------------
 1441|    642|    is_bytes = PyBytes_Check(o);
  ------------------
  |  |   28|    642|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    642|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 1442|    642|    is_unicode = PyUnicode_Check(o);
  ------------------
  |  |  103|    642|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    642|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 1443|       |
 1444|    642|    if (!is_index && !is_unicode && !is_bytes) {
  ------------------
  |  Branch (1444:9): [True: 642, False: 0]
  |  Branch (1444:22): [True: 0, False: 642]
  |  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|    642|    if (is_unicode) {
  ------------------
  |  Branch (1476:9): [True: 642, False: 0]
  ------------------
 1477|    642|        if (path->make_wide) {
  ------------------
  |  Branch (1477:13): [True: 10, False: 632]
  ------------------
 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|    632|        bytes = PyUnicode_EncodeFSDefault(o);
 1501|    632|        if (!bytes) {
  ------------------
  |  Branch (1501:13): [True: 0, False: 632]
  ------------------
 1502|      0|            goto error_exit;
 1503|      0|        }
 1504|    632|    }
 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|    632|    length = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|    632|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    632|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    632|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1533|    632|    narrow = PyBytes_AS_STRING(bytes);
  ------------------
  |  |   27|    632|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    632|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    632|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1534|    632|    if (!path->nonstrict && strlen(narrow) != (size_t)length) {
  ------------------
  |  Branch (1534:9): [True: 632, False: 0]
  |  Branch (1534:29): [True: 0, False: 632]
  ------------------
 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|    632|    if (path->make_wide) {
  ------------------
  |  Branch (1539:9): [True: 0, False: 632]
  ------------------
 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|    632|    else {
 1567|    632|        path->wide = NULL;
 1568|    632|        path->narrow = narrow;
 1569|    632|        if (bytes == o) {
  ------------------
  |  Branch (1569:13): [True: 0, False: 632]
  ------------------
 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|    632|        else {
 1575|    632|            path->cleanup = bytes;
 1576|    632|        }
 1577|    632|    }
 1578|    632|    path->fd = -1;
 1579|       |
 1580|    642| success_exit:
 1581|    642|    path->value_error = 0;
 1582|    642|    path->length = length;
 1583|    642|    path->object = o;
 1584|    642|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|    642|#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|    621|{
 3304|    621|    return posix_do_stat(module, "stat", path, dir_fd, follow_symlinks);
 3305|    621|}
posixmodule.c:posix_do_stat:
 2899|    621|{
 2900|    621|    STRUCT_STAT st;
  ------------------
  |  |  413|    621|#  define STRUCT_STAT struct stat
  ------------------
 2901|    621|    int result;
 2902|       |
 2903|    621|#ifdef HAVE_FSTATAT
 2904|    621|    int fstatat_unavailable = 0;
 2905|    621|#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|    621|    if (path_and_dir_fd_invalid("stat", path, dir_fd) ||
  ------------------
  |  Branch (2912:9): [True: 0, False: 621]
  ------------------
 2913|    621|        dir_fd_and_fd_invalid("stat", dir_fd, path->fd) ||
  ------------------
  |  Branch (2913:9): [True: 0, False: 621]
  ------------------
 2914|    621|        fd_and_follow_symlinks_invalid("stat", path->is_fd, follow_symlinks))
  ------------------
  |  Branch (2914:9): [True: 0, False: 621]
  ------------------
 2915|      0|        return NULL;
 2916|       |
 2917|    621|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|    621|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|    621|                        PyThreadState *_save; \
  |  |  119|    621|                        _save = PyEval_SaveThread();
  ------------------
 2918|    621|    if (path->is_fd) {
  ------------------
  |  Branch (2918:9): [True: 0, False: 621]
  ------------------
 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|    621|    else
 2928|    621|#if defined(HAVE_LSTAT)
 2929|    621|    if ((!follow_symlinks) && (dir_fd == DEFAULT_DIR_FD))
  ------------------
  |  | 1162|      0|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (2929:9): [True: 0, False: 621]
  |  Branch (2929:31): [True: 0, False: 0]
  ------------------
 2930|      0|        result = LSTAT(path->narrow, &st);
  ------------------
  |  |  411|      0|#  define LSTAT lstat
  ------------------
 2931|    621|    else
 2932|    621|#endif /* HAVE_LSTAT */
 2933|    621|#ifdef HAVE_FSTATAT
 2934|    621|    if ((dir_fd != DEFAULT_DIR_FD) || !follow_symlinks) {
  ------------------
  |  | 1162|    621|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (2934:9): [True: 0, False: 621]
  |  Branch (2934:39): [True: 0, False: 621]
  ------------------
 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|    621|#endif /* HAVE_FSTATAT */
 2944|    621|        result = STAT(path->narrow, &st);
  ------------------
  |  |  410|    621|#  define STAT stat
  ------------------
 2945|    621|#endif /* MS_WINDOWS */
 2946|    621|    Py_END_ALLOW_THREADS
  ------------------
  |  |  122|    621|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|    621|                 }
  ------------------
 2947|       |
 2948|    621|#ifdef HAVE_FSTATAT
 2949|    621|    if (fstatat_unavailable) {
  ------------------
  |  Branch (2949:9): [True: 0, False: 621]
  ------------------
 2950|      0|        argument_unavailable_error("stat", "dir_fd");
 2951|      0|        return NULL;
 2952|      0|    }
 2953|    621|#endif
 2954|       |
 2955|    621|    if (result != 0) {
  ------------------
  |  Branch (2955:9): [True: 34, False: 587]
  ------------------
 2956|     34|        return path_error(path);
 2957|     34|    }
 2958|       |
 2959|    587|    return _pystat_fromstructstat(module, &st);
 2960|    621|}
posixmodule.c:path_and_dir_fd_invalid:
 1651|    621|{
 1652|    621|    if (!path->wide && (dir_fd != DEFAULT_DIR_FD) && !path->narrow) {
  ------------------
  |  | 1162|    621|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1652:9): [True: 621, False: 0]
  |  Branch (1652:24): [True: 0, False: 621]
  |  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|    621|    return 0;
 1659|    621|}
posixmodule.c:dir_fd_and_fd_invalid:
 1663|    621|{
 1664|    621|    if ((dir_fd != DEFAULT_DIR_FD) && (fd != -1)) {
  ------------------
  |  | 1162|    621|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1664:9): [True: 0, False: 621]
  |  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|    621|    return 0;
 1671|    621|}
posixmodule.c:fd_and_follow_symlinks_invalid:
 1676|    621|{
 1677|    621|    if (is_fd && (!follow_symlinks)) {
  ------------------
  |  Branch (1677:9): [True: 0, False: 621]
  |  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|    621|    return 0;
 1684|    621|}
posixmodule.c:path_error:
 1940|     34|{
 1941|     34|    return path_object_error(path->object);
 1942|     34|}
posixmodule.c:path_object_error:
 1918|     34|{
 1919|       |#ifdef MS_WINDOWS
 1920|       |    return PyErr_SetExcFromWindowsErrWithFilenameObject(
 1921|       |                PyExc_OSError, 0, path);
 1922|       |#else
 1923|     34|    return posix_path_object_error(path);
 1924|     34|#endif
 1925|     34|}
posixmodule.c:posix_path_object_error:
 1912|     34|{
 1913|     34|    return PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path);
 1914|     34|}
posixmodule.c:_pystat_fromstructstat:
 2772|    587|{
 2773|    587|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2773:5): [True: 587, False: 0]
  ------------------
 2774|       |
 2775|    587|    _posixstate *state = get_posix_state(module);
 2776|    587|    PyObject *StatResultType = state->StatResultType;
 2777|    587|    PyObject *v = PyStructSequence_New((PyTypeObject *)StatResultType);
 2778|    587|    if (v == NULL) {
  ------------------
  |  Branch (2778:9): [True: 0, False: 587]
  ------------------
 2779|      0|        return NULL;
 2780|      0|    }
 2781|       |
 2782|    587|#define SET_ITEM(pos, expr) \
 2783|    587|    do { \
 2784|    587|        PyObject *obj = (expr); \
 2785|    587|        if (obj == NULL) { \
 2786|    587|            goto error; \
 2787|    587|        } \
 2788|    587|        PyStructSequence_SET_ITEM(v, (pos), obj); \
 2789|    587|    } while (0)
 2790|       |
 2791|    587|    SET_ITEM(0, PyLong_FromLong((long)st->st_mode));
  ------------------
  |  | 2783|    587|    do { \
  |  | 2784|    587|        PyObject *obj = (expr); \
  |  | 2785|    587|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 587]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    587|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    587|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    587|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 587]
  |  |  ------------------
  ------------------
 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|    587|    static_assert(sizeof(unsigned long long) >= sizeof(st->st_ino),
 2797|    587|                  "stat.st_ino is larger than unsigned long long");
 2798|    587|    SET_ITEM(1, PyLong_FromUnsignedLongLong(st->st_ino));
  ------------------
  |  | 2783|    587|    do { \
  |  | 2784|    587|        PyObject *obj = (expr); \
  |  | 2785|    587|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 587]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    587|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    587|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    587|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 587]
  |  |  ------------------
  ------------------
 2799|    587|    SET_ITEM(2, _PyLong_FromDev(st->st_dev));
  ------------------
  |  | 2783|    587|    do { \
  |  | 2784|    587|        PyObject *obj = (expr); \
  |  | 2785|    587|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 587]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    587|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    587|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    587|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 587]
  |  |  ------------------
  ------------------
 2800|    587|#endif
 2801|    587|    SET_ITEM(3, PyLong_FromLong((long)st->st_nlink));
  ------------------
  |  | 2783|    587|    do { \
  |  | 2784|    587|        PyObject *obj = (expr); \
  |  | 2785|    587|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 587]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    587|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    587|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    587|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 587]
  |  |  ------------------
  ------------------
 2802|       |#if defined(MS_WINDOWS)
 2803|       |    SET_ITEM(4, PyLong_FromLong(0));
 2804|       |    SET_ITEM(5, PyLong_FromLong(0));
 2805|       |#else
 2806|    587|    SET_ITEM(4, _PyLong_FromUid(st->st_uid));
  ------------------
  |  | 2783|    587|    do { \
  |  | 2784|    587|        PyObject *obj = (expr); \
  |  | 2785|    587|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 587]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    587|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    587|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    587|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 587]
  |  |  ------------------
  ------------------
 2807|    587|    SET_ITEM(5, _PyLong_FromGid(st->st_gid));
  ------------------
  |  | 2783|    587|    do { \
  |  | 2784|    587|        PyObject *obj = (expr); \
  |  | 2785|    587|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 587]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    587|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    587|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    587|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 587]
  |  |  ------------------
  ------------------
 2808|    587|#endif
 2809|    587|    static_assert(sizeof(long long) >= sizeof(st->st_size),
 2810|    587|                  "stat.st_size is larger than long long");
 2811|    587|    SET_ITEM(6, PyLong_FromLongLong(st->st_size));
  ------------------
  |  | 2783|    587|    do { \
  |  | 2784|    587|        PyObject *obj = (expr); \
  |  | 2785|    587|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 587]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    587|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    587|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    587|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 587]
  |  |  ------------------
  ------------------
 2812|       |
 2813|       |    // Set st_atime, st_mtime and st_ctime
 2814|    587|    unsigned long ansec, mnsec, cnsec;
 2815|    587|#if defined(HAVE_STAT_TV_NSEC)
 2816|    587|    ansec = st->st_atim.tv_nsec;
 2817|    587|    mnsec = st->st_mtim.tv_nsec;
 2818|    587|    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|    587|    if (fill_time(state, v, 7, 10, 13, st->st_atime, ansec) < 0) {
  ------------------
  |  Branch (2830:9): [True: 0, False: 587]
  ------------------
 2831|      0|        goto error;
 2832|      0|    }
 2833|    587|    if (fill_time(state, v, 8, 11, 14, st->st_mtime, mnsec) < 0) {
  ------------------
  |  Branch (2833:9): [True: 0, False: 587]
  ------------------
 2834|      0|        goto error;
 2835|      0|    }
 2836|    587|    if (fill_time(state, v, 9, 12, 15, st->st_ctime, cnsec) < 0) {
  ------------------
  |  Branch (2836:9): [True: 0, False: 587]
  ------------------
 2837|      0|        goto error;
 2838|      0|    }
 2839|       |
 2840|    587|#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
 2841|    587|    SET_ITEM(ST_BLKSIZE_IDX, PyLong_FromLong((long)st->st_blksize));
  ------------------
  |  | 2783|    587|    do { \
  |  | 2784|    587|        PyObject *obj = (expr); \
  |  | 2785|    587|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 587]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    587|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    587|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    587|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 587]
  |  |  ------------------
  ------------------
 2842|    587|#endif
 2843|    587|#ifdef HAVE_STRUCT_STAT_ST_BLOCKS
 2844|    587|    SET_ITEM(ST_BLOCKS_IDX, PyLong_FromLong((long)st->st_blocks));
  ------------------
  |  | 2783|    587|    do { \
  |  | 2784|    587|        PyObject *obj = (expr); \
  |  | 2785|    587|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 587]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    587|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    587|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    587|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 587]
  |  |  ------------------
  ------------------
 2845|    587|#endif
 2846|    587|#ifdef HAVE_STRUCT_STAT_ST_RDEV
 2847|    587|    SET_ITEM(ST_RDEV_IDX, _PyLong_FromDev(st->st_rdev));
  ------------------
  |  | 2783|    587|    do { \
  |  | 2784|    587|        PyObject *obj = (expr); \
  |  | 2785|    587|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2785:13): [True: 0, False: 587]
  |  |  ------------------
  |  | 2786|      0|            goto error; \
  |  | 2787|      0|        } \
  |  | 2788|    587|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    587|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2789|    587|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2789:14): [Folded, False: 587]
  |  |  ------------------
  ------------------
 2848|    587|#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|    587|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2883:5): [True: 587, False: 0]
  ------------------
 2884|    587|    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|    587|#undef SET_ITEM
 2891|    587|}
posixmodule.c:get_posix_state:
 1254|    611|{
 1255|    611|    void *state = _PyModule_GetState(module);
 1256|    611|    assert(state != NULL);
  ------------------
  |  Branch (1256:5): [True: 611, False: 0]
  ------------------
 1257|    611|    return (_posixstate *)state;
 1258|    611|}
posixmodule.c:_PyLong_FromDev:
 1098|  1.17k|{
 1099|  1.17k|#ifdef NODEV
 1100|  1.17k|    if (dev == NODEV) {
  ------------------
  |  Branch (1100:9): [True: 2, False: 1.17k]
  ------------------
 1101|      2|        return PyLong_FromLongLong((long long)dev);
 1102|      2|    }
 1103|  1.17k|#endif
 1104|  1.17k|    return PyLong_FromUnsignedLongLong((unsigned long long)dev);
 1105|  1.17k|}
posixmodule.c:fill_time:
 2708|  1.76k|{
 2709|  1.76k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2709:5): [True: 1.76k, False: 0]
  ------------------
 2710|  1.76k|    assert(nsec < SEC_TO_NS);
  ------------------
  |  Branch (2710:5): [True: 1.76k, False: 0]
  ------------------
 2711|       |
 2712|  1.76k|    if (s_index >= 0) {
  ------------------
  |  Branch (2712:9): [True: 1.76k, False: 0]
  ------------------
 2713|  1.76k|        PyObject *s = _PyLong_FromTime_t(sec);
 2714|  1.76k|        if (s == NULL) {
  ------------------
  |  Branch (2714:13): [True: 0, False: 1.76k]
  ------------------
 2715|      0|            return -1;
 2716|      0|        }
 2717|  1.76k|        PyStructSequence_SET_ITEM(v, s_index, s);
  ------------------
  |  |   11|  1.76k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2718|  1.76k|    }
 2719|       |
 2720|  1.76k|    if (f_index >= 0) {
  ------------------
  |  Branch (2720:9): [True: 1.76k, False: 0]
  ------------------
 2721|  1.76k|        PyObject *float_s = PyFloat_FromDouble((double)sec + 1e-9 * nsec);
 2722|  1.76k|        if (float_s == NULL) {
  ------------------
  |  Branch (2722:13): [True: 0, False: 1.76k]
  ------------------
 2723|      0|            return -1;
 2724|      0|        }
 2725|  1.76k|        PyStructSequence_SET_ITEM(v, f_index, float_s);
  ------------------
  |  |   11|  1.76k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2726|  1.76k|    }
 2727|       |
 2728|  1.76k|    if (ns_index >= 0) {
  ------------------
  |  Branch (2728:9): [True: 1.76k, False: 0]
  ------------------
 2729|  1.76k|        PyObject *ns_total = stat_nanosecond_timestamp(state, sec, nsec);
 2730|  1.76k|        if (ns_total == NULL) {
  ------------------
  |  Branch (2730:13): [True: 0, False: 1.76k]
  ------------------
 2731|      0|            return -1;
 2732|      0|        }
 2733|  1.76k|        PyStructSequence_SET_ITEM(v, ns_index, ns_total);
  ------------------
  |  |   11|  1.76k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2734|  1.76k|    }
 2735|       |
 2736|  1.76k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2736:5): [True: 1.76k, False: 0]
  ------------------
 2737|  1.76k|    return 0;
 2738|  1.76k|}
posixmodule.c:stat_nanosecond_timestamp:
 2671|  1.76k|{
 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.76k|    if ((LLONG_MIN/SEC_TO_NS) <= sec && sec <= (LLONG_MAX/SEC_TO_NS - 1)) {
  ------------------
  |  | 2668|  1.76k|#define SEC_TO_NS (1000000000LL)
  ------------------
                  if ((LLONG_MIN/SEC_TO_NS) <= sec && sec <= (LLONG_MAX/SEC_TO_NS - 1)) {
  ------------------
  |  | 2668|  1.76k|#define SEC_TO_NS (1000000000LL)
  ------------------
  |  Branch (2676:9): [True: 1.76k, False: 0]
  |  Branch (2676:41): [True: 1.76k, False: 0]
  ------------------
 2677|  1.76k|        return PyLong_FromLongLong(sec * SEC_TO_NS + nsec);
  ------------------
  |  | 2668|  1.76k|#define SEC_TO_NS (1000000000LL)
  ------------------
 2678|  1.76k|    }
 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.76k|#endif
 2703|  1.76k|}
posixmodule.c:path_cleanup:
 1395|    642|{
 1396|    642|    wchar_t *wide = (wchar_t *)path->wide;
 1397|    642|    path->wide = NULL;
 1398|    642|    PyMem_Free(wide);
 1399|    642|    Py_CLEAR(path->object);
  ------------------
  |  |  487|    642|    do { \
  |  |  488|    642|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    642|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    642|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    642|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    642|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    642|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 642, False: 0]
  |  |  ------------------
  |  |  491|    642|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    642|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    642|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    642|        } \
  |  |  494|    642|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 642]
  |  |  ------------------
  ------------------
 1400|       |    Py_CLEAR(path->cleanup);
  ------------------
  |  |  487|    642|    do { \
  |  |  488|    642|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    642|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    642|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    642|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    642|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    642|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 632, False: 10]
  |  |  ------------------
  |  |  491|    632|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    632|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    632|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    632|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    632|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    632|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    632|        } \
  |  |  494|    642|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 642]
  |  |  ------------------
  ------------------
 1401|    642|}
posixmodule.c:follow_symlinks_specified:
 1641|      2|{
 1642|      2|    if (follow_symlinks)
  ------------------
  |  Branch (1642:9): [True: 2, False: 0]
  ------------------
 1643|      2|        return 0;
 1644|       |
 1645|      0|    argument_unavailable_error(function_name, "follow_symlinks");
 1646|      0|    return 1;
 1647|      2|}
posixmodule.c:dir_fd_and_follow_symlinks_invalid:
 1689|      2|{
 1690|      2|    if ((dir_fd != DEFAULT_DIR_FD) && (!follow_symlinks)) {
  ------------------
  |  | 1162|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1690:9): [True: 0, False: 2]
  |  Branch (1690:39): [True: 0, False: 0]
  ------------------
 1691|      0|        PyErr_Format(PyExc_ValueError,
 1692|      0|                     "%s: cannot use dir_fd and follow_symlinks together",
 1693|      0|                     function_name);
 1694|      0|        return 1;
 1695|      0|    }
 1696|      2|    return 0;
 1697|      2|}
posixmodule.c:os_listdir_impl:
 5151|     11|{
 5152|     11|    if (PySys_Audit("os.listdir", "O",
  ------------------
  |  Branch (5152:9): [True: 0, False: 11]
  ------------------
 5153|     11|                    path->object ? path->object : Py_None) < 0) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5153:21): [True: 11, False: 0]
  ------------------
 5154|      0|        return NULL;
 5155|      0|    }
 5156|       |#if defined(MS_WINDOWS) && !defined(HAVE_OPENDIR)
 5157|       |    return _listdir_windows_no_opendir(path, NULL);
 5158|       |#else
 5159|     11|    return _posix_listdir(path, NULL);
 5160|     11|#endif
 5161|     11|}
posixmodule.c:_posix_listdir:
 5015|     11|{
 5016|     11|    PyObject *v;
 5017|     11|    DIR *dirp = NULL;
 5018|     11|    struct dirent *ep;
 5019|     11|    int return_str; /* if false, return bytes */
 5020|     11|#ifdef HAVE_FDOPENDIR
 5021|     11|    int fd = -1;
 5022|     11|#endif
 5023|       |
 5024|     11|    errno = 0;
 5025|     11|#ifdef HAVE_FDOPENDIR
 5026|     11|    if (path->is_fd) {
  ------------------
  |  Branch (5026:9): [True: 0, False: 11]
  ------------------
 5027|      0|      if (HAVE_FDOPENDIR_RUNTIME) {
  ------------------
  |  |  626|      0|#  define HAVE_FDOPENDIR_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (626:34): [True: 0, Folded]
  |  |  ------------------
  ------------------
 5028|       |        /* closedir() closes the FD, so we duplicate it */
 5029|      0|        fd = _Py_dup(path->fd);
 5030|      0|        if (fd == -1)
  ------------------
  |  Branch (5030:13): [True: 0, False: 0]
  ------------------
 5031|      0|            return NULL;
 5032|       |
 5033|      0|        return_str = 1;
 5034|       |
 5035|      0|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|      0|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|      0|                        PyThreadState *_save; \
  |  |  119|      0|                        _save = PyEval_SaveThread();
  ------------------
 5036|      0|        dirp = fdopendir(fd);
 5037|      0|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|      0|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|      0|                 }
  ------------------
 5038|      0|      } else {
 5039|      0|        PyErr_SetString(PyExc_TypeError,
 5040|      0|            "listdir: path should be string, bytes, os.PathLike or None, not int");
 5041|      0|        return NULL;
 5042|      0|      }
 5043|      0|    }
 5044|     11|    else
 5045|     11|#endif
 5046|     11|    {
 5047|     11|        const char *name;
 5048|     11|        if (path->narrow) {
  ------------------
  |  Branch (5048:13): [True: 11, False: 0]
  ------------------
 5049|     11|            name = path->narrow;
 5050|       |            /* only return bytes if they specified a bytes object */
 5051|     11|            return_str = !PyBytes_Check(path->object);
  ------------------
  |  |   28|     11|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     11|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 5052|     11|        }
 5053|      0|        else {
 5054|      0|            name = ".";
 5055|      0|            return_str = 1;
 5056|      0|        }
 5057|       |
 5058|     11|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     11|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     11|                        PyThreadState *_save; \
  |  |  119|     11|                        _save = PyEval_SaveThread();
  ------------------
 5059|     11|        dirp = opendir(name);
 5060|     11|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     11|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     11|                 }
  ------------------
 5061|     11|    }
 5062|       |
 5063|     11|    if (dirp == NULL) {
  ------------------
  |  Branch (5063:9): [True: 0, False: 11]
  ------------------
 5064|      0|        path_error(path);
 5065|      0|        list = NULL;
 5066|      0|#ifdef HAVE_FDOPENDIR
 5067|      0|        if (fd != -1) {
  ------------------
  |  Branch (5067:13): [True: 0, False: 0]
  ------------------
 5068|      0|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|      0|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|      0|                        PyThreadState *_save; \
  |  |  119|      0|                        _save = PyEval_SaveThread();
  ------------------
 5069|      0|            close(fd);
 5070|      0|            Py_END_ALLOW_THREADS
  ------------------
  |  |  122|      0|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|      0|                 }
  ------------------
 5071|      0|        }
 5072|      0|#endif
 5073|      0|        goto exit;
 5074|      0|    }
 5075|     11|    if ((list = PyList_New(0)) == NULL) {
  ------------------
  |  Branch (5075:9): [True: 0, False: 11]
  ------------------
 5076|      0|        goto exit;
 5077|      0|    }
 5078|    849|    for (;;) {
 5079|    849|        errno = 0;
 5080|    849|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|    849|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|    849|                        PyThreadState *_save; \
  |  |  119|    849|                        _save = PyEval_SaveThread();
  ------------------
 5081|    849|        ep = readdir(dirp);
 5082|    849|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|    849|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|    849|                 }
  ------------------
 5083|    849|        if (ep == NULL) {
  ------------------
  |  Branch (5083:13): [True: 11, False: 838]
  ------------------
 5084|     11|            if (errno == 0) {
  ------------------
  |  Branch (5084:17): [True: 11, False: 0]
  ------------------
 5085|     11|                break;
 5086|     11|            } else {
 5087|      0|                path_error(path);
 5088|      0|                Py_CLEAR(list);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5089|      0|                goto exit;
 5090|      0|            }
 5091|     11|        }
 5092|    838|        if (ep->d_name[0] == '.' &&
  ------------------
  |  Branch (5092:13): [True: 22, False: 816]
  ------------------
 5093|     22|            (NAMLEN(ep) == 1 ||
  ------------------
  |  |  329|     22|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
  |  Branch (5093:14): [True: 11, False: 11]
  ------------------
 5094|     11|             (ep->d_name[1] == '.' && NAMLEN(ep) == 2)))
  ------------------
  |  |  329|     11|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
  |  Branch (5094:15): [True: 11, False: 0]
  |  Branch (5094:39): [True: 11, False: 0]
  ------------------
 5095|     22|            continue;
 5096|    816|        if (return_str)
  ------------------
  |  Branch (5096:13): [True: 816, False: 0]
  ------------------
 5097|    816|            v = PyUnicode_DecodeFSDefaultAndSize(ep->d_name, NAMLEN(ep));
  ------------------
  |  |  329|    816|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
 5098|      0|        else
 5099|      0|            v = PyBytes_FromStringAndSize(ep->d_name, NAMLEN(ep));
  ------------------
  |  |  329|      0|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
 5100|    816|        if (v == NULL) {
  ------------------
  |  Branch (5100:13): [True: 0, False: 816]
  ------------------
 5101|      0|            Py_CLEAR(list);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5102|      0|            break;
 5103|      0|        }
 5104|    816|        if (PyList_Append(list, v) != 0) {
  ------------------
  |  Branch (5104:13): [True: 0, False: 816]
  ------------------
 5105|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5106|      0|            Py_CLEAR(list);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5107|      0|            break;
 5108|      0|        }
 5109|    816|        Py_DECREF(v);
  ------------------
  |  |  430|    816|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    816|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    816|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5110|    816|    }
 5111|       |
 5112|     11|exit:
 5113|     11|    if (dirp != NULL) {
  ------------------
  |  Branch (5113:9): [True: 11, False: 0]
  ------------------
 5114|     11|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|     11|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|     11|                        PyThreadState *_save; \
  |  |  119|     11|                        _save = PyEval_SaveThread();
  ------------------
 5115|     11|#ifdef HAVE_FDOPENDIR
 5116|     11|        if (fd > -1)
  ------------------
  |  Branch (5116:13): [True: 0, False: 11]
  ------------------
 5117|      0|            rewinddir(dirp);
 5118|     11|#endif
 5119|     11|        closedir(dirp);
 5120|     11|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|     11|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|     11|                 }
  ------------------
 5121|     11|    }
 5122|       |
 5123|     11|    return list;
 5124|     11|}  /* end of _posix_listdir */
posixmodule.c:os_getegid_impl:
 9614|      2|{
 9615|      2|    return _PyLong_FromGid(getegid());
 9616|      2|}
posixmodule.c:os_geteuid_impl:
 9630|      2|{
 9631|      2|    return _PyLong_FromUid(geteuid());
 9632|      2|}
posixmodule.c:os_getgid_impl:
 9646|      2|{
 9647|      2|    return _PyLong_FromGid(getgid());
 9648|      2|}
posixmodule.c:os_getuid_impl:
10189|      2|{
10190|      2|    return _PyLong_FromUid(getuid());
10191|      2|}
posixmodule.c:os__path_normpath_impl:
 6145|     10|{
 6146|     10|    PyObject *result;
 6147|     10|    Py_ssize_t norm_len;
 6148|     10|    wchar_t *norm_path = _Py_normpath_and_size((wchar_t *)path->wide,
 6149|     10|                                               path->length, &norm_len);
 6150|     10|    if (!norm_len) {
  ------------------
  |  Branch (6150:9): [True: 0, False: 10]
  ------------------
 6151|      0|        result = PyUnicode_FromOrdinal('.');
 6152|      0|    }
 6153|     10|    else {
 6154|     10|        result = PyUnicode_FromWideChar(norm_path, norm_len);
 6155|     10|    }
 6156|     10|    if (result == NULL) {
  ------------------
  |  Branch (6156:9): [True: 0, False: 10]
  ------------------
 6157|      0|        return NULL;
 6158|      0|    }
 6159|     10|    if (PyBytes_Check(path->object)) {
  ------------------
  |  |   28|     10|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     10|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6160|      0|        Py_SETREF(result, PyUnicode_EncodeFSDefault(result));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6161|      0|    }
 6162|     10|    return result;
 6163|     10|}
posixmodule.c:os_fspath_impl:
17594|    292|{
17595|    292|    return PyOS_FSPath(path);
17596|    292|}
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|     22|{
 2636|     22|    _posixstate *state = get_posix_state(module);
 2637|     22|    Py_VISIT(state->billion);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2638|     22|    Py_VISIT(state->DirEntryType);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2639|     22|    Py_VISIT(state->ScandirIteratorType);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2640|     22|#if defined(HAVE_SCHED_SETPARAM) || defined(HAVE_SCHED_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDPARAM)
 2641|     22|    Py_VISIT(state->SchedParamType);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2642|     22|#endif
 2643|     22|    Py_VISIT(state->StatResultType);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2644|     22|#ifdef HAVE_STATX
 2645|     22|    Py_VISIT(state->StatxResultType);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2646|     22|#endif
 2647|     22|    Py_VISIT(state->StatVFSResultType);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2648|     22|    Py_VISIT(state->TerminalSizeType);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2649|     22|    Py_VISIT(state->TimesResultType);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2650|     22|    Py_VISIT(state->UnameResultType);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2651|     22|#if defined(HAVE_WAITID)
 2652|     22|    Py_VISIT(state->WaitidResultType);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2653|     22|#endif
 2654|     22|#if defined(HAVE_WAIT3) || defined(HAVE_WAIT4)
 2655|     22|    Py_VISIT(state->struct_rusage);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2656|     22|#endif
 2657|     22|    Py_VISIT(state->st_mode);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2658|     22|    return 0;
 2659|     22|}

PyErr_CheckSignals:
 1775|   889k|{
 1776|   889k|    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|   889k|    uintptr_t breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
 1785|   889k|    if (breaker & _PY_GC_SCHEDULED_BIT) {
  ------------------
  |  |  349|   889k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (1785:9): [True: 9.86k, False: 879k]
  ------------------
 1786|  9.86k|        _Py_unset_eval_breaker_bit(tstate, _PY_GC_SCHEDULED_BIT);
  ------------------
  |  |  349|  9.86k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
 1787|  9.86k|        _Py_RunGC(tstate);
 1788|  9.86k|    }
 1789|   889k|    if (breaker & _PY_ASYNC_EXCEPTION_BIT) {
  ------------------
  |  |  348|   889k|#define _PY_ASYNC_EXCEPTION_BIT (1U << 3)
  ------------------
  |  Branch (1789:9): [True: 0, False: 889k]
  ------------------
 1790|      0|        if (_PyEval_RaiseAsyncExc(tstate) < 0) {
  ------------------
  |  Branch (1790:13): [True: 0, False: 0]
  ------------------
 1791|      0|            return -1;
 1792|      0|        }
 1793|      0|    }
 1794|       |
 1795|   889k|#if defined(Py_REMOTE_DEBUG) && defined(Py_SUPPORTS_REMOTE_DEBUG)
 1796|   889k|    _PyRunRemoteDebugger(tstate);
 1797|   889k|#endif
 1798|       |
 1799|   889k|    if (_PyErr_CheckSignalsTstate(tstate) < 0) {
  ------------------
  |  Branch (1799:9): [True: 0, False: 889k]
  ------------------
 1800|      0|        return -1;
 1801|      0|    }
 1802|       |
 1803|   889k|    return 0;
 1804|   889k|}
_PyErr_CheckSignalsTstate:
 1894|   889k|{
 1895|   889k|    _Py_CHECK_EMSCRIPTEN_SIGNALS();
 1896|   889k|    if (!_Py_atomic_load_int(&is_tripped)) {
  ------------------
  |  |  112|   889k|#define is_tripped _PyRuntime.signals.is_tripped
  ------------------
  |  Branch (1896:9): [True: 889k, False: 0]
  ------------------
 1897|   889k|        return 0;
 1898|   889k|    }
 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|     24|{
   94|     24|    void *state = _PyModule_GetState(module);
   95|     24|    assert(state != NULL);
  ------------------
  |  Branch (95:5): [True: 24, False: 0]
  ------------------
   96|     24|    return (time_module_state *)state;
   97|     24|}
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|     22|{
 2265|     22|    time_module_state *state = get_time_state(module);
 2266|     22|    Py_VISIT(state->struct_time_type);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 2267|     22|    return 0;
 2268|     22|}

PyObject_Type:
   46|      4|{
   47|      4|    PyObject *v;
   48|       |
   49|      4|    if (o == NULL) {
  ------------------
  |  Branch (49:9): [True: 0, False: 4]
  ------------------
   50|      0|        return null_error();
   51|      0|    }
   52|       |
   53|      4|    v = (PyObject *)Py_TYPE(o);
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   54|      4|    return Py_NewRef(v);
  ------------------
  |  |  647|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|      4|}
PyObject_Size:
   59|  1.47M|{
   60|  1.47M|    if (o == NULL) {
  ------------------
  |  Branch (60:9): [True: 0, False: 1.47M]
  ------------------
   61|      0|        null_error();
   62|      0|        return -1;
   63|      0|    }
   64|       |
   65|  1.47M|    PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
  ------------------
  |  |  213|  1.47M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   66|  1.47M|    if (m && m->sq_length) {
  ------------------
  |  Branch (66:9): [True: 1.47M, False: 0]
  |  Branch (66:14): [True: 1.47M, False: 428]
  ------------------
   67|  1.47M|        Py_ssize_t len = m->sq_length(o);
   68|  1.47M|        assert(_Py_CheckSlotResult(o, "__len__", len >= 0));
  ------------------
  |  Branch (68:9): [True: 1.47M, False: 0]
  ------------------
   69|  1.47M|        return len;
   70|  1.47M|    }
   71|       |
   72|    428|    return PyMapping_Size(o);
   73|  1.47M|}
_PyObject_HasLen:
   84|    159|_PyObject_HasLen(PyObject *o) {
   85|    159|    return (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) ||
  ------------------
  |  |  213|    159|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    159|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    159|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) ||
  ------------------
  |  |  213|     35|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (85:13): [True: 35, False: 124]
  |  Branch (85:43): [True: 35, False: 0]
  ------------------
   86|    124|        (Py_TYPE(o)->tp_as_mapping && Py_TYPE(o)->tp_as_mapping->mp_length);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      (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: 124]
  |  Branch (86:39): [True: 0, False: 0]
  ------------------
   87|    159|}
PyObject_LengthHint:
   97|    158|{
   98|    158|    PyObject *hint, *result;
   99|    158|    Py_ssize_t res;
  100|    158|    if (_PyObject_HasLen(o)) {
  ------------------
  |  Branch (100:9): [True: 34, False: 124]
  ------------------
  101|     34|        res = PyObject_Length(o);
  ------------------
  |  |   81|     34|#define PyObject_Length PyObject_Size
  ------------------
  102|     34|        if (res < 0) {
  ------------------
  |  Branch (102:13): [True: 0, False: 34]
  ------------------
  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|     34|        else {
  111|     34|            return res;
  112|     34|        }
  113|     34|    }
  114|    124|    hint = _PyObject_LookupSpecial(o, &_Py_ID(__length_hint__));
  ------------------
  |  |  951|    124|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    124|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    124|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  115|    124|    if (hint == NULL) {
  ------------------
  |  Branch (115:9): [True: 39, False: 85]
  ------------------
  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|     85|    result = _PyObject_CallNoArgs(hint);
  122|     85|    Py_DECREF(hint);
  ------------------
  |  |  430|     85|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|     85|    if (result == NULL) {
  ------------------
  |  Branch (123:9): [True: 0, False: 85]
  ------------------
  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|     85|    else if (result == Py_NotImplemented) {
  ------------------
  |  |  640|     85|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (131:14): [True: 0, False: 85]
  ------------------
  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|     85|    if (!PyLong_Check(result)) {
  ------------------
  |  |   13|     85|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     85|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (135:9): [True: 0, False: 85]
  ------------------
  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|     85|    res = PyLong_AsSsize_t(result);
  143|     85|    Py_DECREF(result);
  ------------------
  |  |  430|     85|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  144|     85|    if (res < 0 && PyErr_Occurred()) {
  ------------------
  |  Branch (144:9): [True: 0, False: 85]
  |  Branch (144:20): [True: 0, False: 0]
  ------------------
  145|      0|        return -1;
  146|      0|    }
  147|     85|    if (res < 0) {
  ------------------
  |  Branch (147:9): [True: 0, False: 85]
  ------------------
  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|     85|    return res;
  153|     85|}
PyObject_GetItem:
  157|  3.28M|{
  158|  3.28M|    if (o == NULL || key == NULL) {
  ------------------
  |  Branch (158:9): [True: 0, False: 3.28M]
  |  Branch (158:22): [True: 0, False: 3.28M]
  ------------------
  159|      0|        return null_error();
  160|      0|    }
  161|       |
  162|  3.28M|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|  3.28M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  163|  3.28M|    if (m && m->mp_subscript) {
  ------------------
  |  Branch (163:9): [True: 3.28M, False: 550]
  |  Branch (163:14): [True: 3.28M, False: 0]
  ------------------
  164|  3.28M|        PyObject *item = m->mp_subscript(o, key);
  165|  3.28M|        assert(_Py_CheckSlotResult(o, "__getitem__", item != NULL));
  ------------------
  |  Branch (165:9): [True: 3.28M, False: 0]
  ------------------
  166|  3.28M|        return item;
  167|  3.28M|    }
  168|       |
  169|    550|    PySequenceMethods *ms = Py_TYPE(o)->tp_as_sequence;
  ------------------
  |  |  213|    550|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    550|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    550|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  170|    550|    if (ms && ms->sq_item) {
  ------------------
  |  Branch (170:9): [True: 0, False: 550]
  |  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|    550|    if (PyType_Check(o)) {
  ------------------
  |  |  766|    550|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    550|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    550|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 5, False: 545]
  |  |  ------------------
  ------------------
  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|    545|    return type_error("'%.200s' object is not subscriptable", o);
  207|    550|}
PyMapping_GetOptionalItem:
  211|   977k|{
  212|   977k|    if (PyAnyDict_CheckExact(obj)) {
  ------------------
  |  |   41|   977k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|   977k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  1.95M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   977k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   977k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 977k, 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|   977k|        return PyDict_GetItemRef(obj, key, result);
  214|   977k|    }
  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|    689|{
  231|    689|    PyObject* result;
  232|    689|    *err = PyMapping_GetOptionalItem(obj, key, &result);
  233|    689|    return result;
  234|    689|}
PyObject_SetItem:
  238|    920|{
  239|    920|    if (o == NULL || key == NULL || value == NULL) {
  ------------------
  |  Branch (239:9): [True: 0, False: 920]
  |  Branch (239:22): [True: 0, False: 920]
  |  Branch (239:37): [True: 0, False: 920]
  ------------------
  240|      0|        null_error();
  241|      0|        return -1;
  242|      0|    }
  243|       |
  244|    920|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|    920|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    920|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    920|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|    920|    if (m && m->mp_ass_subscript) {
  ------------------
  |  Branch (245:9): [True: 920, False: 0]
  |  Branch (245:14): [True: 920, False: 0]
  ------------------
  246|    920|        int res = m->mp_ass_subscript(o, key, value);
  247|    920|        assert(_Py_CheckSlotResult(o, "__setitem__", res >= 0));
  ------------------
  |  Branch (247:9): [True: 920, False: 0]
  ------------------
  248|    920|        return res;
  249|    920|    }
  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|    545|{
  273|    545|    if (o == NULL || key == NULL) {
  ------------------
  |  Branch (273:9): [True: 0, False: 545]
  |  Branch (273:22): [True: 0, False: 545]
  ------------------
  274|      0|        null_error();
  275|      0|        return -1;
  276|      0|    }
  277|       |
  278|    545|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|    545|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    545|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    545|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  279|    545|    if (m && m->mp_ass_subscript) {
  ------------------
  |  Branch (279:9): [True: 545, False: 0]
  |  Branch (279:14): [True: 545, False: 0]
  ------------------
  280|    545|        int res = m->mp_ass_subscript(o, key, (PyObject*)NULL);
  281|    545|        assert(_Py_CheckSlotResult(o, "__delitem__", res >= 0));
  ------------------
  |  Branch (281:9): [True: 545, False: 0]
  ------------------
  282|    545|        return res;
  283|    545|    }
  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|   210k|{
  327|   210k|    PyBufferProcs *tp_as_buffer = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|   210k|    return (tp_as_buffer != NULL && tp_as_buffer->bf_getbuffer != NULL);
  ------------------
  |  Branch (328:13): [True: 209k, False: 102]
  |  Branch (328:37): [True: 209k, False: 0]
  ------------------
  329|   210k|}
PyObject_GetBuffer:
  441|   357k|{
  442|   357k|    if (flags != PyBUF_SIMPLE) {  /* fast path */
  ------------------
  |  |  108|   357k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (442:9): [True: 16.5k, False: 341k]
  ------------------
  443|  16.5k|        if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  137|  33.0k|#define PyBUF_READ  0x100
  ------------------
                      if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  138|  16.5k|#define PyBUF_WRITE 0x200
  ------------------
  |  Branch (443:13): [True: 0, False: 16.5k]
  |  Branch (443:36): [True: 0, False: 16.5k]
  ------------------
  444|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  445|      0|            return -1;
  446|      0|        }
  447|  16.5k|    }
  448|   357k|    PyBufferProcs *pb = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|   357k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   357k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   357k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  449|       |
  450|   357k|    if (pb == NULL || pb->bf_getbuffer == NULL) {
  ------------------
  |  Branch (450:9): [True: 1.09k, False: 356k]
  |  Branch (450:23): [True: 0, False: 356k]
  ------------------
  451|  1.09k|        PyErr_Format(PyExc_TypeError,
  452|  1.09k|                     "a bytes-like object is required, not '%.100s'",
  453|  1.09k|                     Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|  1.09k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  454|  1.09k|        return -1;
  455|  1.09k|    }
  456|   356k|    int res = (*pb->bf_getbuffer)(obj, view, flags);
  457|   356k|    assert(_Py_CheckSlotResult(obj, "getbuffer", res >= 0));
  ------------------
  |  Branch (457:5): [True: 356k, False: 0]
  ------------------
  458|   356k|    return res;
  459|   356k|}
PyBuffer_IsContiguous:
  530|  24.5k|{
  531|       |
  532|  24.5k|    if (view->suboffsets != NULL) return 0;
  ------------------
  |  Branch (532:9): [True: 0, False: 24.5k]
  ------------------
  533|       |
  534|  24.5k|    if (order == 'C')
  ------------------
  |  Branch (534:9): [True: 24.5k, False: 0]
  ------------------
  535|  24.5k|        return _IsCContiguous(view);
  536|      0|    else if (order == 'F')
  ------------------
  |  Branch (536:14): [True: 0, False: 0]
  ------------------
  537|      0|        return _IsFortranContiguous(view);
  538|      0|    else if (order == 'A')
  ------------------
  |  Branch (538:14): [True: 0, False: 0]
  ------------------
  539|      0|        return (_IsCContiguous(view) || _IsFortranContiguous(view));
  ------------------
  |  Branch (539:17): [True: 0, False: 0]
  |  Branch (539:41): [True: 0, False: 0]
  ------------------
  540|      0|    return 0;
  541|  24.5k|}
PyBuffer_FillInfo:
  777|   356k|{
  778|   356k|    if (view == NULL) {
  ------------------
  |  Branch (778:9): [True: 0, False: 356k]
  ------------------
  779|      0|        PyErr_SetString(PyExc_BufferError,
  780|      0|                        "PyBuffer_FillInfo: view==NULL argument is obsolete");
  781|      0|        return -1;
  782|      0|    }
  783|       |
  784|   356k|    if (flags != PyBUF_SIMPLE) {  /* fast path */
  ------------------
  |  |  108|   356k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (784:9): [True: 70.1k, False: 286k]
  ------------------
  785|  70.1k|        if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  137|   140k|#define PyBUF_READ  0x100
  ------------------
                      if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  138|  70.1k|#define PyBUF_WRITE 0x200
  ------------------
  |  Branch (785:13): [True: 0, False: 70.1k]
  |  Branch (785:36): [True: 0, False: 70.1k]
  ------------------
  786|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  787|      0|            return -1;
  788|      0|        }
  789|  70.1k|        if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
  ------------------
  |  |  109|  70.1k|#define PyBUF_WRITABLE 0x0001
  ------------------
                      if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
  ------------------
  |  |  109|  70.1k|#define PyBUF_WRITABLE 0x0001
  ------------------
  |  Branch (789:13): [True: 0, False: 70.1k]
  ------------------
  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|  70.1k|    }
  796|       |
  797|   356k|    view->obj = Py_XNewRef(obj);
  ------------------
  |  |  648|   356k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  798|   356k|    view->buf = buf;
  799|   356k|    view->len = len;
  800|   356k|    view->readonly = readonly;
  801|   356k|    view->itemsize = 1;
  802|   356k|    view->format = NULL;
  803|   356k|    if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT)
  ------------------
  |  |  116|   356k|#define PyBUF_FORMAT 0x0004
  ------------------
                  if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT)
  ------------------
  |  |  116|   356k|#define PyBUF_FORMAT 0x0004
  ------------------
  |  Branch (803:9): [True: 28.7k, False: 327k]
  ------------------
  804|  28.7k|        view->format = "B";
  805|   356k|    view->ndim = 1;
  806|   356k|    view->shape = NULL;
  807|   356k|    if ((flags & PyBUF_ND) == PyBUF_ND)
  ------------------
  |  |  117|   356k|#define PyBUF_ND 0x0008
  ------------------
                  if ((flags & PyBUF_ND) == PyBUF_ND)
  ------------------
  |  |  117|   356k|#define PyBUF_ND 0x0008
  ------------------
  |  Branch (807:9): [True: 70.1k, False: 286k]
  ------------------
  808|  70.1k|        view->shape = &(view->len);
  809|   356k|    view->strides = NULL;
  810|   356k|    if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES)
  ------------------
  |  |  118|   356k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|   356k|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
                  if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES)
  ------------------
  |  |  118|   356k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|   356k|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (810:9): [True: 28.7k, False: 327k]
  ------------------
  811|  28.7k|        view->strides = &(view->itemsize);
  812|   356k|    view->suboffsets = NULL;
  813|       |    view->internal = NULL;
  814|   356k|    return 0;
  815|   356k|}
PyBuffer_Release:
  819|   578k|{
  820|   578k|    PyObject *obj = view->obj;
  821|   578k|    PyBufferProcs *pb;
  822|   578k|    if (obj == NULL)
  ------------------
  |  Branch (822:9): [True: 221k, False: 356k]
  ------------------
  823|   221k|        return;
  824|   356k|    pb = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|   356k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  825|   356k|    if (pb && pb->bf_releasebuffer) {
  ------------------
  |  Branch (825:9): [True: 356k, False: 0]
  |  Branch (825:15): [True: 69.8k, False: 286k]
  ------------------
  826|  69.8k|        pb->bf_releasebuffer(obj, view);
  827|  69.8k|    }
  828|   356k|    view->obj = NULL;
  829|   356k|    Py_DECREF(obj);
  ------------------
  |  |  430|   356k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  830|   356k|}
PyObject_Format:
  855|  83.1k|{
  856|  83.1k|    PyObject *meth;
  857|  83.1k|    PyObject *empty = NULL;
  858|  83.1k|    PyObject *result = NULL;
  859|       |
  860|  83.1k|    if (format_spec != NULL && !PyUnicode_Check(format_spec)) {
  ------------------
  |  |  103|     92|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     92|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (860:9): [True: 92, False: 83.0k]
  |  Branch (860:32): [True: 0, False: 92]
  ------------------
  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|  83.1k|    if (format_spec == NULL || PyUnicode_GET_LENGTH(format_spec) == 0) {
  ------------------
  |  |  300|     92|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (868:9): [True: 83.0k, False: 92]
  |  Branch (868:32): [True: 0, False: 92]
  ------------------
  869|  83.0k|        if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|  83.0k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  83.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  83.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  83.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 83.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  83.0k|        if (PyLong_CheckExact(obj)) {
  ------------------
  |  |   14|  83.0k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  83.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  83.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  83.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 41.5k, False: 41.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  873|  41.5k|            return PyObject_Str(obj);
  874|  41.5k|        }
  875|  83.0k|    }
  876|       |
  877|       |    /* If no format_spec is provided, use an empty string */
  878|  41.5k|    if (format_spec == NULL) {
  ------------------
  |  Branch (878:9): [True: 41.4k, False: 92]
  ------------------
  879|  41.4k|        empty = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|  41.4k|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  880|  41.4k|        format_spec = empty;
  881|  41.4k|    }
  882|       |
  883|       |    /* Find the (unbound!) __format__ method */
  884|  41.5k|    meth = _PyObject_LookupSpecial(obj, &_Py_ID(__format__));
  ------------------
  |  |  951|  41.5k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  41.5k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  41.5k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  885|  41.5k|    if (meth == NULL) {
  ------------------
  |  Branch (885:9): [True: 0, False: 41.5k]
  ------------------
  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|  41.5k|    result = PyObject_CallOneArg(meth, format_spec);
  897|  41.5k|    Py_DECREF(meth);
  ------------------
  |  |  430|  41.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  898|       |
  899|  41.5k|    if (result && !PyUnicode_Check(result)) {
  ------------------
  |  |  103|  41.5k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  41.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (899:9): [True: 41.5k, False: 0]
  |  Branch (899:19): [True: 0, False: 41.5k]
  ------------------
  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|  41.5k|done:
  908|  41.5k|    Py_XDECREF(empty);
  ------------------
  |  |  621|  41.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  909|  41.5k|    return result;
  910|  41.5k|}
PyNumber_Check:
  915|    107|{
  916|    107|    if (o == NULL)
  ------------------
  |  Branch (916:9): [True: 0, False: 107]
  ------------------
  917|      0|        return 0;
  918|    107|    PyNumberMethods *nb = Py_TYPE(o)->tp_as_number;
  ------------------
  |  |  213|    107|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    107|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  919|    107|    return nb && (nb->nb_index || nb->nb_int || nb->nb_float || PyComplex_Check(o));
  ------------------
  |  |   13|    101|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  378|    101|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 101]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (919:12): [True: 107, False: 0]
  |  Branch (919:19): [True: 6, False: 101]
  |  Branch (919:35): [True: 0, False: 101]
  |  Branch (919:49): [True: 0, False: 101]
  ------------------
  920|    107|}
PyNumber_Add:
 1140|  69.0k|{
 1141|  69.0k|    PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_add), "+");
  ------------------
  |  |  996|  69.0k|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1142|  69.0k|    if (result != Py_NotImplemented) {
  ------------------
  |  |  640|  69.0k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1142:9): [True: 45.7k, False: 23.3k]
  ------------------
 1143|  45.7k|        return result;
 1144|  45.7k|    }
 1145|  23.3k|    Py_DECREF(result);
  ------------------
  |  |  430|  23.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1146|       |
 1147|  23.3k|    PySequenceMethods *m = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  213|  23.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  23.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1148|  23.3k|    if (m && m->sq_concat) {
  ------------------
  |  Branch (1148:9): [True: 22.7k, False: 570]
  |  Branch (1148:14): [True: 22.7k, False: 0]
  ------------------
 1149|  22.7k|        result = (*m->sq_concat)(v, w);
 1150|  22.7k|        assert(_Py_CheckSlotResult(v, "+", result != NULL));
  ------------------
  |  Branch (1150:9): [True: 22.7k, False: 0]
  ------------------
 1151|  22.7k|        return result;
 1152|  22.7k|    }
 1153|       |
 1154|    570|    return binop_type_error(v, w, "+");
 1155|  23.3k|}
PyNumber_Multiply:
 1178|   213k|{
 1179|   213k|    PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_multiply), "*");
  ------------------
  |  |  996|   213k|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1180|   213k|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|   213k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1180:9): [True: 63.5k, False: 150k]
  ------------------
 1181|  63.5k|        PySequenceMethods *mv = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  213|  63.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  63.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1182|  63.5k|        PySequenceMethods *mw = Py_TYPE(w)->tp_as_sequence;
  ------------------
  |  |  213|  63.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  63.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1183|  63.5k|        Py_DECREF(result);
  ------------------
  |  |  430|  63.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1184|  63.5k|        if  (mv && mv->sq_repeat) {
  ------------------
  |  Branch (1184:14): [True: 3.35k, False: 60.2k]
  |  Branch (1184:20): [True: 3.35k, False: 0]
  ------------------
 1185|  3.35k|            return sequence_repeat(mv->sq_repeat, v, w);
 1186|  3.35k|        }
 1187|  60.2k|        else if (mw && mw->sq_repeat) {
  ------------------
  |  Branch (1187:18): [True: 59.5k, False: 655]
  |  Branch (1187:24): [True: 59.5k, False: 0]
  ------------------
 1188|  59.5k|            return sequence_repeat(mw->sq_repeat, w, v);
 1189|  59.5k|        }
 1190|    655|        result = binop_type_error(v, w, "*");
 1191|    655|    }
 1192|   150k|    return result;
 1193|   213k|}
PyNumber_Power:
 1202|  71.4k|{
 1203|       |    return ternary_op(v, w, z, NB_SLOT(nb_power), "** or pow()");
  ------------------
  |  |  924|  71.4k|#define NB_SLOT(x) offsetof(PyNumberMethods, x)
  ------------------
 1204|  71.4k|}
_PyNumber_PowerNoMod:
 1208|    150|{
 1209|    150|    return PyNumber_Power(lhs, rhs, Py_None);
  ------------------
  |  |  616|    150|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1210|    150|}
PyNumber_InPlaceAdd:
 1309|  53.3k|{
 1310|  53.3k|    PyObject *result = BINARY_IOP1(v, w, NB_SLOT(nb_inplace_add),
  ------------------
  |  | 1257|  53.3k|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot, op_name)
  ------------------
 1311|  53.3k|                                   NB_SLOT(nb_add), "+=");
 1312|  53.3k|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|  53.3k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1312:9): [True: 34, False: 53.3k]
  ------------------
 1313|     34|        PySequenceMethods *m = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  213|     34|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|     34|        Py_DECREF(result);
  ------------------
  |  |  430|     34|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1315|     34|        if (m != NULL) {
  ------------------
  |  Branch (1315:13): [True: 34, False: 0]
  ------------------
 1316|     34|            binaryfunc func = m->sq_inplace_concat;
 1317|     34|            if (func == NULL)
  ------------------
  |  Branch (1317:17): [True: 6, False: 28]
  ------------------
 1318|      6|                func = m->sq_concat;
 1319|     34|            if (func != NULL) {
  ------------------
  |  Branch (1319:17): [True: 34, False: 0]
  ------------------
 1320|     34|                result = func(v, w);
 1321|     34|                assert(_Py_CheckSlotResult(v, "+=", result != NULL));
  ------------------
  |  Branch (1321:17): [True: 34, False: 0]
  ------------------
 1322|     34|                return result;
 1323|     34|            }
 1324|     34|        }
 1325|      0|        result = binop_type_error(v, w, "+=");
 1326|      0|    }
 1327|  53.3k|    return result;
 1328|  53.3k|}
PyNumber_InPlaceMultiply:
 1332|    100|{
 1333|    100|    PyObject *result = BINARY_IOP1(v, w, NB_SLOT(nb_inplace_multiply),
  ------------------
  |  | 1257|    100|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot, op_name)
  ------------------
 1334|    100|                                   NB_SLOT(nb_multiply), "*=");
 1335|    100|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|    100|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1335:9): [True: 0, False: 100]
  ------------------
 1336|      0|        ssizeargfunc f = NULL;
 1337|      0|        PySequenceMethods *mv = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1338|      0|        PySequenceMethods *mw = Py_TYPE(w)->tp_as_sequence;
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1339|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1340|      0|        if (mv != NULL) {
  ------------------
  |  Branch (1340:13): [True: 0, False: 0]
  ------------------
 1341|      0|            f = mv->sq_inplace_repeat;
 1342|      0|            if (f == NULL)
  ------------------
  |  Branch (1342:17): [True: 0, False: 0]
  ------------------
 1343|      0|                f = mv->sq_repeat;
 1344|      0|            if (f != NULL)
  ------------------
  |  Branch (1344:17): [True: 0, False: 0]
  ------------------
 1345|      0|                return sequence_repeat(f, v, w);
 1346|      0|        }
 1347|      0|        if (mw != NULL) {
  ------------------
  |  Branch (1347:13): [True: 0, False: 0]
  ------------------
 1348|       |            /* Note that the right hand operand should not be
 1349|       |             * mutated in this case so sq_inplace_repeat is not
 1350|       |             * used. */
 1351|      0|            if (mw->sq_repeat)
  ------------------
  |  Branch (1351:17): [True: 0, False: 0]
  ------------------
 1352|      0|                return sequence_repeat(mw->sq_repeat, w, v);
 1353|      0|        }
 1354|      0|        result = binop_type_error(v, w, "*=");
 1355|      0|    }
 1356|    100|    return result;
 1357|    100|}
PyIndex_Check:
 1400|    644|{
 1401|    644|    return _PyIndex_Check(obj);
 1402|    644|}
_PyNumber_Index:
 1412|  3.41M|{
 1413|  3.41M|    if (item == NULL) {
  ------------------
  |  Branch (1413:9): [True: 0, False: 3.41M]
  ------------------
 1414|      0|        return null_error();
 1415|      0|    }
 1416|       |
 1417|  3.41M|    if (PyLong_Check(item)) {
  ------------------
  |  |   13|  3.41M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.41M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 3.41M, False: 1.02k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1418|  3.41M|        return Py_NewRef(item);
  ------------------
  |  |  647|  3.41M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.41M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.41M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1419|  3.41M|    }
 1420|  1.02k|    if (!_PyIndex_Check(item)) {
  ------------------
  |  Branch (1420:9): [True: 1.02k, False: 0]
  ------------------
 1421|  1.02k|        PyErr_Format(PyExc_TypeError,
 1422|  1.02k|                     "'%.200s' object cannot be interpreted "
 1423|  1.02k|                     "as an integer", Py_TYPE(item)->tp_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|  1.02k|        return NULL;
 1425|  1.02k|    }
 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|    934|{
 1459|    934|    PyObject *result = _PyNumber_Index(item);
 1460|    934|    if (result != NULL && !PyLong_CheckExact(result)) {
  ------------------
  |  |   14|    934|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    934|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    934|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    934|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1460:9): [True: 934, False: 0]
  |  Branch (1460:27): [True: 0, False: 934]
  ------------------
 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|    934|    return result;
 1464|    934|}
PyNumber_AsSsize_t:
 1470|  3.34M|{
 1471|  3.34M|    Py_ssize_t result;
 1472|  3.34M|    PyObject *runerr;
 1473|  3.34M|    PyObject *value = _PyNumber_Index(item);
 1474|  3.34M|    if (value == NULL)
  ------------------
  |  Branch (1474:9): [True: 1.02k, False: 3.34M]
  ------------------
 1475|  1.02k|        return -1;
 1476|       |
 1477|       |    /* We're done if PyLong_AsSsize_t() returns without error. */
 1478|  3.34M|    result = PyLong_AsSsize_t(value);
 1479|  3.34M|    if (result != -1)
  ------------------
  |  Branch (1479:9): [True: 3.33M, False: 6.77k]
  ------------------
 1480|  3.33M|        goto finish;
 1481|       |
 1482|  6.77k|    PyThreadState *tstate = _PyThreadState_GET();
 1483|  6.77k|    runerr = _PyErr_Occurred(tstate);
 1484|  6.77k|    if (!runerr) {
  ------------------
  |  Branch (1484:9): [True: 2.58k, False: 4.19k]
  ------------------
 1485|  2.58k|        goto finish;
 1486|  2.58k|    }
 1487|       |
 1488|       |    /* Error handling code -- only manage OverflowError differently */
 1489|  4.19k|    if (!PyErr_GivenExceptionMatches(runerr, PyExc_OverflowError)) {
  ------------------
  |  Branch (1489:9): [True: 0, False: 4.19k]
  ------------------
 1490|      0|        goto finish;
 1491|      0|    }
 1492|  4.19k|    _PyErr_Clear(tstate);
 1493|       |
 1494|       |    /* If no error-handling desired then the default clipping
 1495|       |       is sufficient. */
 1496|  4.19k|    if (!err) {
  ------------------
  |  Branch (1496:9): [True: 841, False: 3.35k]
  ------------------
 1497|    841|        assert(PyLong_Check(value));
  ------------------
  |  Branch (1497:9): [True: 841, 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|    841|        if (_PyLong_IsNegative((PyLongObject *)value))
  ------------------
  |  Branch (1501:13): [True: 0, False: 841]
  ------------------
 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|    841|        else
 1504|    841|            result = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|    841|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1505|    841|    }
 1506|  3.35k|    else {
 1507|       |        /* Otherwise replace the error with caller's error object. */
 1508|  3.35k|        _PyErr_Format(tstate, err,
 1509|  3.35k|                      "cannot fit '%.200s' into an index-sized integer",
 1510|  3.35k|                      Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|  3.35k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1511|  3.35k|    }
 1512|       |
 1513|  3.34M| finish:
 1514|  3.34M|    Py_DECREF(value);
  ------------------
  |  |  430|  3.34M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1515|  3.34M|    return result;
 1516|  4.19k|}
PyNumber_Long:
 1521|    904|{
 1522|    904|    PyObject *result;
 1523|    904|    PyNumberMethods *m;
 1524|    904|    Py_buffer view;
 1525|       |
 1526|    904|    if (o == NULL) {
  ------------------
  |  Branch (1526:9): [True: 0, False: 904]
  ------------------
 1527|      0|        return null_error();
 1528|      0|    }
 1529|       |
 1530|    904|    if (PyLong_CheckExact(o)) {
  ------------------
  |  |   14|    904|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    904|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    904|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    904|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 144, False: 760]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1531|    144|        return Py_NewRef(o);
  ------------------
  |  |  647|    144|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1532|    144|    }
 1533|    760|    m = Py_TYPE(o)->tp_as_number;
  ------------------
  |  |  213|    760|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    760|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    760|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1534|    760|    if (m && m->nb_int) { /* This should include subclasses of int */
  ------------------
  |  Branch (1534:9): [True: 760, False: 0]
  |  Branch (1534:14): [True: 163, False: 597]
  ------------------
 1535|       |        /* Convert using the nb_int slot, which should return something
 1536|       |           of exact type int. */
 1537|    163|        result = m->nb_int(o);
 1538|    163|        assert(_Py_CheckSlotResult(o, "__int__", result != NULL));
  ------------------
  |  Branch (1538:9): [True: 163, False: 0]
  ------------------
 1539|    163|        if (!result || PyLong_CheckExact(result)) {
  ------------------
  |  |   14|    163|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    163|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    163|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    163|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 163, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1539:13): [True: 0, False: 163]
  ------------------
 1540|    163|            return result;
 1541|    163|        }
 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|    597|    if (m && m->nb_index) {
  ------------------
  |  Branch (1562:9): [True: 597, False: 0]
  |  Branch (1562:14): [True: 0, False: 597]
  ------------------
 1563|      0|        return PyNumber_Index(o);
 1564|      0|    }
 1565|       |
 1566|    597|    if (PyUnicode_Check(o))
  ------------------
  |  |  103|    597|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    597|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 597, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1567|       |        /* The below check is done in PyLong_FromUnicodeObject(). */
 1568|    597|        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|    126|{
 1684|    126|    if (PyDict_Check(s))
  ------------------
  |  |   18|    126|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    126|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 126]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1685|      0|        return 0;
 1686|    126|    return Py_TYPE(s)->tp_as_sequence &&
  ------------------
  |  |  213|    126|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1686:12): [True: 126, False: 0]
  ------------------
 1687|    126|        Py_TYPE(s)->tp_as_sequence->sq_item != NULL;
  ------------------
  |  |  213|    126|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1687:9): [True: 126, False: 0]
  ------------------
 1688|    126|}
PySequence_Size:
 1692|      1|{
 1693|      1|    if (s == NULL) {
  ------------------
  |  Branch (1693:9): [True: 0, False: 1]
  ------------------
 1694|      0|        null_error();
 1695|      0|        return -1;
 1696|      0|    }
 1697|       |
 1698|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1699|      1|    if (m && m->sq_length) {
  ------------------
  |  Branch (1699:9): [True: 1, False: 0]
  |  Branch (1699:14): [True: 1, False: 0]
  ------------------
 1700|      1|        Py_ssize_t len = m->sq_length(s);
 1701|      1|        assert(_Py_CheckSlotResult(s, "__len__", len >= 0));
  ------------------
  |  Branch (1701:9): [True: 1, False: 0]
  ------------------
 1702|      1|        return len;
 1703|      1|    }
 1704|       |
 1705|      0|    if (Py_TYPE(s)->tp_as_mapping && Py_TYPE(s)->tp_as_mapping->mp_length) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(s)->tp_as_mapping && Py_TYPE(s)->tp_as_mapping->mp_length) {
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1705:9): [True: 0, False: 0]
  |  Branch (1705:38): [True: 0, False: 0]
  ------------------
 1706|      0|        type_error("%.200s is not a sequence", s);
 1707|      0|        return -1;
 1708|      0|    }
 1709|      0|    type_error("object of type '%.200s' has no len()", s);
 1710|      0|    return -1;
 1711|      0|}
PySequence_GetItem:
 1843|  1.93k|{
 1844|  1.93k|    if (s == NULL) {
  ------------------
  |  Branch (1844:9): [True: 0, False: 1.93k]
  ------------------
 1845|      0|        return null_error();
 1846|      0|    }
 1847|       |
 1848|  1.93k|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|  1.93k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1849|  1.93k|    if (m && m->sq_item) {
  ------------------
  |  Branch (1849:9): [True: 1.93k, False: 0]
  |  Branch (1849:14): [True: 1.93k, False: 0]
  ------------------
 1850|  1.93k|        if (i < 0) {
  ------------------
  |  Branch (1850:13): [True: 0, False: 1.93k]
  ------------------
 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.93k|        PyObject *res = m->sq_item(s, i);
 1861|  1.93k|        assert(_Py_CheckSlotResult(s, "__getitem__", res != NULL));
  ------------------
  |  Branch (1861:9): [True: 1.93k, False: 0]
  ------------------
 1862|  1.93k|        return res;
 1863|  1.93k|    }
 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_GetSlice:
 1873|      1|{
 1874|      1|    if (!s) {
  ------------------
  |  Branch (1874:9): [True: 0, False: 1]
  ------------------
 1875|      0|        return null_error();
 1876|      0|    }
 1877|       |
 1878|      1|    PyMappingMethods *mp = Py_TYPE(s)->tp_as_mapping;
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1879|      1|    if (mp && mp->mp_subscript) {
  ------------------
  |  Branch (1879:9): [True: 1, False: 0]
  |  Branch (1879:15): [True: 1, False: 0]
  ------------------
 1880|      1|        PyObject *slice = _PySlice_FromIndices(i1, i2);
 1881|      1|        if (!slice) {
  ------------------
  |  Branch (1881:13): [True: 0, False: 1]
  ------------------
 1882|      0|            return NULL;
 1883|      0|        }
 1884|      1|        PyObject *res = mp->mp_subscript(s, slice);
 1885|      1|        assert(_Py_CheckSlotResult(s, "__getitem__", res != NULL));
  ------------------
  |  Branch (1885:9): [True: 1, False: 0]
  ------------------
 1886|      1|        Py_DECREF(slice);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1887|      1|        return res;
 1888|      1|    }
 1889|       |
 1890|      0|    return type_error("'%.200s' object is unsliceable", s);
 1891|      1|}
PySequence_DelItem:
 1928|  62.8k|{
 1929|  62.8k|    if (s == NULL) {
  ------------------
  |  Branch (1929:9): [True: 0, False: 62.8k]
  ------------------
 1930|      0|        null_error();
 1931|      0|        return -1;
 1932|      0|    }
 1933|       |
 1934|  62.8k|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|  62.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  62.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1935|  62.8k|    if (m && m->sq_ass_item) {
  ------------------
  |  Branch (1935:9): [True: 62.8k, False: 0]
  |  Branch (1935:14): [True: 62.8k, False: 0]
  ------------------
 1936|  62.8k|        if (i < 0) {
  ------------------
  |  Branch (1936:13): [True: 0, False: 62.8k]
  ------------------
 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|  62.8k|        int res = m->sq_ass_item(s, i, (PyObject *)NULL);
 1947|  62.8k|        assert(_Py_CheckSlotResult(s, "__delitem__", res >= 0));
  ------------------
  |  Branch (1947:9): [True: 62.8k, False: 0]
  ------------------
 1948|  62.8k|        return res;
 1949|  62.8k|    }
 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|  33.7k|{
 2008|  33.7k|    PyObject *it;  /* iter(v) */
 2009|       |
 2010|  33.7k|    if (v == NULL) {
  ------------------
  |  Branch (2010:9): [True: 0, False: 33.7k]
  ------------------
 2011|      0|        return null_error();
 2012|      0|    }
 2013|       |
 2014|       |    /* Special-case the common tuple and list cases, for efficiency. */
 2015|  33.7k|    if (PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  33.7k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  33.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  33.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  33.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 15.0k, False: 18.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|  15.0k|        return Py_NewRef(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|  15.0k|    }
 2022|  18.7k|    if (PyList_CheckExact(v))
  ------------------
  |  |   26|  18.7k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  18.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 15.0k, False: 3.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2023|  15.0k|        return PyList_AsTuple(v);
 2024|       |
 2025|       |    /* Get iterator. */
 2026|  3.73k|    it = PyObject_GetIter(v);
 2027|  3.73k|    if (it == NULL)
  ------------------
  |  Branch (2027:9): [True: 0, False: 3.73k]
  ------------------
 2028|      0|        return NULL;
 2029|       |
 2030|  3.73k|    Py_ssize_t n;
 2031|  3.73k|    PyObject *buffer[8];
 2032|  24.1k|    for (n = 0; n < 8; n++) {
  ------------------
  |  Branch (2032:17): [True: 23.0k, False: 1.15k]
  ------------------
 2033|  23.0k|        PyObject *item = PyIter_Next(it);
 2034|  23.0k|        if (item == NULL) {
  ------------------
  |  Branch (2034:13): [True: 2.58k, False: 20.4k]
  ------------------
 2035|  2.58k|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (2035:17): [True: 0, False: 2.58k]
  ------------------
 2036|      0|                goto fail;
 2037|      0|            }
 2038|  2.58k|            Py_DECREF(it);
  ------------------
  |  |  430|  2.58k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2039|  2.58k|            return _PyTuple_FromArraySteal(buffer, n);
 2040|  2.58k|        }
 2041|  20.4k|        buffer[n] = item;
 2042|  20.4k|    }
 2043|  1.15k|    PyListObject *list = (PyListObject *)PyList_New(16);
 2044|  1.15k|    if (list == NULL) {
  ------------------
  |  Branch (2044:9): [True: 0, False: 1.15k]
  ------------------
 2045|      0|        goto fail;
 2046|      0|    }
 2047|  1.15k|    assert(n == 8);
  ------------------
  |  Branch (2047:5): [True: 1.15k, False: 0]
  ------------------
 2048|  1.15k|    Py_SET_SIZE(list, n);
  ------------------
  |  |  216|  1.15k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  1.15k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2049|  10.4k|    for (Py_ssize_t j = 0; j < n; j++) {
  ------------------
  |  Branch (2049:28): [True: 9.26k, False: 1.15k]
  ------------------
 2050|  9.26k|        PyList_SET_ITEM(list, j, buffer[j]);
  ------------------
  |  |   50|  9.26k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  9.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  9.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2051|  9.26k|    }
 2052|  6.01k|    for (;;) {
 2053|  6.01k|        PyObject *item = PyIter_Next(it);
 2054|  6.01k|        if (item == NULL) {
  ------------------
  |  Branch (2054:13): [True: 1.15k, False: 4.85k]
  ------------------
 2055|  1.15k|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (2055:17): [True: 0, False: 1.15k]
  ------------------
 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|  1.15k|            break;
 2061|  1.15k|        }
 2062|  4.85k|        if (_PyList_AppendTakeRef(list, item) < 0) {
  ------------------
  |  Branch (2062:13): [True: 0, False: 4.85k]
  ------------------
 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|  4.85k|    }
 2068|  1.15k|    Py_DECREF(it);
  ------------------
  |  |  430|  1.15k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2069|  1.15k|    PyObject *res = _PyList_AsTupleAndClear(list);
 2070|  1.15k|    Py_DECREF(list);
  ------------------
  |  |  430|  1.15k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2071|  1.15k|    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|  1.15k|}
PySequence_List:
 2083|   105k|{
 2084|   105k|    PyObject *result;  /* result list */
 2085|   105k|    PyObject *rv;          /* return value from PyList_Extend */
 2086|       |
 2087|   105k|    if (v == NULL) {
  ------------------
  |  Branch (2087:9): [True: 0, False: 105k]
  ------------------
 2088|      0|        return null_error();
 2089|      0|    }
 2090|       |
 2091|   105k|    result = PyList_New(0);
 2092|   105k|    if (result == NULL)
  ------------------
  |  Branch (2092:9): [True: 0, False: 105k]
  ------------------
 2093|      0|        return NULL;
 2094|       |
 2095|   105k|    rv = _PyList_Extend((PyListObject *)result, v);
 2096|   105k|    if (rv == NULL) {
  ------------------
  |  Branch (2096:9): [True: 0, False: 105k]
  ------------------
 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|   105k|    Py_DECREF(rv);
  ------------------
  |  |  430|   105k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   105k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   105k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2101|   105k|    return result;
 2102|   105k|}
PySequence_Fast:
 2106|   215k|{
 2107|   215k|    PyObject *it;
 2108|       |
 2109|   215k|    if (v == NULL) {
  ------------------
  |  Branch (2109:9): [True: 0, False: 215k]
  ------------------
 2110|      0|        return null_error();
 2111|      0|    }
 2112|       |
 2113|   215k|    if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
  ------------------
  |  |   26|   215k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|   430k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   215k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   215k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 213k, False: 1.44k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  1.44k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.44k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.44k, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|   215k|        return Py_NewRef(v);
  ------------------
  |  |  647|   215k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   215k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   215k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2115|   215k|    }
 2116|       |
 2117|      4|    it = PyObject_GetIter(v);
 2118|      4|    if (it == NULL) {
  ------------------
  |  Branch (2118:9): [True: 0, False: 4]
  ------------------
 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|      4|    v = PySequence_List(it);
 2127|      4|    Py_DECREF(it);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|       |
 2129|      4|    return v;
 2130|      4|}
_PySequence_IterSearch:
 2140|    132|{
 2141|    132|    Py_ssize_t n;
 2142|    132|    int wrapped;  /* for PY_ITERSEARCH_INDEX, true iff n wrapped around */
 2143|    132|    PyObject *it;  /* iter(seq) */
 2144|       |
 2145|    132|    if (seq == NULL || obj == NULL) {
  ------------------
  |  Branch (2145:9): [True: 0, False: 132]
  |  Branch (2145:24): [True: 0, False: 132]
  ------------------
 2146|      0|        null_error();
 2147|      0|        return -1;
 2148|      0|    }
 2149|       |
 2150|    132|    it = PyObject_GetIter(seq);
 2151|    132|    if (it == NULL) {
  ------------------
  |  Branch (2151:9): [True: 0, False: 132]
  ------------------
 2152|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (2152:13): [True: 0, False: 0]
  ------------------
 2153|      0|            if (operation == PY_ITERSEARCH_CONTAINS) {
  ------------------
  |  |   29|      0|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
  |  Branch (2153:17): [True: 0, False: 0]
  ------------------
 2154|      0|                type_error(
 2155|      0|                    "argument of type '%.200s' is not a container or iterable",
 2156|      0|                    seq
 2157|      0|                    );
 2158|      0|            }
 2159|      0|            else {
 2160|      0|                type_error("argument of type '%.200s' is not iterable", seq);
 2161|      0|            }
 2162|      0|        }
 2163|      0|        return -1;
 2164|      0|    }
 2165|       |
 2166|    132|    n = wrapped = 0;
 2167|    208|    for (;;) {
 2168|    208|        int cmp;
 2169|    208|        PyObject *item = PyIter_Next(it);
 2170|    208|        if (item == NULL) {
  ------------------
  |  Branch (2170:13): [True: 8, False: 200]
  ------------------
 2171|      8|            if (PyErr_Occurred())
  ------------------
  |  Branch (2171:17): [True: 0, False: 8]
  ------------------
 2172|      0|                goto Fail;
 2173|      8|            break;
 2174|      8|        }
 2175|       |
 2176|    200|        cmp = PyObject_RichCompareBool(item, obj, Py_EQ);
  ------------------
  |  |  654|    200|#define Py_EQ 2
  ------------------
 2177|    200|        Py_DECREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2178|    200|        if (cmp < 0)
  ------------------
  |  Branch (2178:13): [True: 0, False: 200]
  ------------------
 2179|      0|            goto Fail;
 2180|    200|        if (cmp > 0) {
  ------------------
  |  Branch (2180:13): [True: 124, False: 76]
  ------------------
 2181|    124|            switch (operation) {
 2182|      0|            case PY_ITERSEARCH_COUNT:
  ------------------
  |  |   27|      0|#define PY_ITERSEARCH_COUNT    1
  ------------------
  |  Branch (2182:13): [True: 0, False: 124]
  ------------------
 2183|      0|                if (n == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2183:21): [True: 0, False: 0]
  ------------------
 2184|      0|                    PyErr_SetString(PyExc_OverflowError,
 2185|      0|                           "count exceeds C integer size");
 2186|      0|                    goto Fail;
 2187|      0|                }
 2188|      0|                ++n;
 2189|      0|                break;
 2190|       |
 2191|    124|            case PY_ITERSEARCH_INDEX:
  ------------------
  |  |   28|    124|#define PY_ITERSEARCH_INDEX    2
  ------------------
  |  Branch (2191:13): [True: 124, False: 0]
  ------------------
 2192|    124|                if (wrapped) {
  ------------------
  |  Branch (2192:21): [True: 0, False: 124]
  ------------------
 2193|      0|                    PyErr_SetString(PyExc_OverflowError,
 2194|      0|                           "index exceeds C integer size");
 2195|      0|                    goto Fail;
 2196|      0|                }
 2197|    124|                goto Done;
 2198|       |
 2199|    124|            case PY_ITERSEARCH_CONTAINS:
  ------------------
  |  |   29|      0|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
  |  Branch (2199:13): [True: 0, False: 124]
  ------------------
 2200|      0|                n = 1;
 2201|      0|                goto Done;
 2202|       |
 2203|      0|            default:
  ------------------
  |  Branch (2203:13): [True: 0, False: 124]
  ------------------
 2204|      0|                Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2205|    124|            }
 2206|    124|        }
 2207|       |
 2208|     76|        if (operation == PY_ITERSEARCH_INDEX) {
  ------------------
  |  |   28|     76|#define PY_ITERSEARCH_INDEX    2
  ------------------
  |  Branch (2208:13): [True: 76, False: 0]
  ------------------
 2209|     76|            if (n == PY_SSIZE_T_MAX)
  ------------------
  |  |  137|     76|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2209:17): [True: 0, False: 76]
  ------------------
 2210|      0|                wrapped = 1;
 2211|     76|            ++n;
 2212|     76|        }
 2213|     76|    }
 2214|       |
 2215|      8|    if (operation != PY_ITERSEARCH_INDEX)
  ------------------
  |  |   28|      8|#define PY_ITERSEARCH_INDEX    2
  ------------------
  |  Branch (2215:9): [True: 0, False: 8]
  ------------------
 2216|      0|        goto Done;
 2217|       |
 2218|      8|    PyErr_SetString(PyExc_ValueError,
 2219|      8|                    "sequence.index(x): x not in sequence");
 2220|       |    /* fall into failure code */
 2221|      8|Fail:
 2222|      8|    n = -1;
 2223|       |    /* fall through */
 2224|    132|Done:
 2225|    132|    Py_DECREF(it);
  ------------------
  |  |  430|    132|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2226|    132|    return n;
 2227|       |
 2228|      8|}
PySequence_Contains:
 2242|   233k|{
 2243|   233k|    PySequenceMethods *sqm = Py_TYPE(seq)->tp_as_sequence;
  ------------------
  |  |  213|   233k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   233k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   233k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2244|   233k|    if (sqm != NULL && sqm->sq_contains != NULL) {
  ------------------
  |  Branch (2244:9): [True: 233k, False: 0]
  |  Branch (2244:24): [True: 233k, False: 0]
  ------------------
 2245|   233k|        int res = (*sqm->sq_contains)(seq, ob);
 2246|   233k|        assert(_Py_CheckSlotResult(seq, "__contains__", res >= 0));
  ------------------
  |  Branch (2246:9): [True: 233k, False: 0]
  ------------------
 2247|   233k|        return res;
 2248|   233k|    }
 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|   233k|}
PySequence_Index:
 2263|    132|{
 2264|    132|    return _PySequence_IterSearch(s, o, PY_ITERSEARCH_INDEX);
  ------------------
  |  |   28|    132|#define PY_ITERSEARCH_INDEX    2
  ------------------
 2265|    132|}
PyMapping_Check:
 2271|  1.22k|{
 2272|  1.22k|    return o && Py_TYPE(o)->tp_as_mapping &&
  ------------------
  |  |  213|  1.22k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2272:12): [True: 1.22k, False: 0]
  |  Branch (2272:17): [True: 1.22k, False: 0]
  ------------------
 2273|  1.22k|        Py_TYPE(o)->tp_as_mapping->mp_subscript;
  ------------------
  |  |  213|  1.22k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2273:9): [True: 1.22k, False: 0]
  ------------------
 2274|  1.22k|}
PyMapping_Size:
 2278|    428|{
 2279|    428|    if (o == NULL) {
  ------------------
  |  Branch (2279:9): [True: 0, False: 428]
  ------------------
 2280|      0|        null_error();
 2281|      0|        return -1;
 2282|      0|    }
 2283|       |
 2284|    428|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|    428|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    428|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    428|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2285|    428|    if (m && m->mp_length) {
  ------------------
  |  Branch (2285:9): [True: 428, False: 0]
  |  Branch (2285:14): [True: 428, False: 0]
  ------------------
 2286|    428|        Py_ssize_t len = m->mp_length(o);
 2287|    428|        assert(_Py_CheckSlotResult(o, "__len__", len >= 0));
  ------------------
  |  Branch (2287:9): [True: 428, False: 0]
  ------------------
 2288|    428|        return len;
 2289|    428|    }
 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|      3|{
 2346|      3|    PyObject *okey;
 2347|      3|    int r;
 2348|       |
 2349|      3|    if (key == NULL) {
  ------------------
  |  Branch (2349:9): [True: 0, False: 3]
  ------------------
 2350|      0|        null_error();
 2351|      0|        return -1;
 2352|      0|    }
 2353|       |
 2354|      3|    okey = PyUnicode_FromString(key);
 2355|      3|    if (okey == NULL)
  ------------------
  |  Branch (2355:9): [True: 0, False: 3]
  ------------------
 2356|      0|        return -1;
 2357|      3|    r = PyObject_SetItem(o, okey, value);
 2358|      3|    Py_DECREF(okey);
  ------------------
  |  |  430|      3|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2359|      3|    return r;
 2360|      3|}
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|     76|{
 2475|     76|    if (o == NULL) {
  ------------------
  |  Branch (2475:9): [True: 0, False: 76]
  ------------------
 2476|      0|        return null_error();
 2477|      0|    }
 2478|     76|    if (PyAnyDict_CheckExact(o)) {
  ------------------
  |  |   41|     76|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|     76|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    152|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 76]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|     76|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     76|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 76]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2479|      0|        return PyDict_Items(o);
 2480|      0|    }
 2481|     76|    return method_output_as_list(o, &_Py_ID(items));
  ------------------
  |  |  951|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2482|     76|}
PyObject_IsInstance:
 2727|   337k|{
 2728|   337k|    PyThreadState *tstate = _PyThreadState_GET();
 2729|   337k|    return object_recursive_isinstance(tstate, inst, cls);
 2730|   337k|}
PyObject_IsSubclass:
 2805|   249k|{
 2806|   249k|    PyThreadState *tstate = _PyThreadState_GET();
 2807|   249k|    return object_issubclass(tstate, derived, cls);
 2808|   249k|}
_PyObject_RealIsInstance:
 2813|     12|{
 2814|     12|    return object_isinstance(inst, cls);
 2815|     12|}
_PyObject_RealIsSubclass:
 2819|    710|{
 2820|    710|    return recursive_issubclass(derived, cls);
 2821|    710|}
PyObject_GetIter:
 2826|   140k|{
 2827|   140k|    PyTypeObject *t = Py_TYPE(o);
  ------------------
  |  |  213|   140k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   140k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   140k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2828|   140k|    getiterfunc f;
 2829|       |
 2830|   140k|    f = t->tp_iter;
 2831|   140k|    if (f == NULL) {
  ------------------
  |  Branch (2831:9): [True: 63, False: 140k]
  ------------------
 2832|     63|        if (PySequence_Check(o))
  ------------------
  |  Branch (2832:13): [True: 63, False: 0]
  ------------------
 2833|     63|            return PySeqIter_New(o);
 2834|      0|        return type_error("'%.200s' object is not iterable", o);
 2835|     63|    }
 2836|   140k|    else {
 2837|   140k|        PyObject *res = (*f)(o);
 2838|   140k|        if (res != NULL && !PyIter_Check(res)) {
  ------------------
  |  Branch (2838:13): [True: 140k, False: 0]
  |  Branch (2838:28): [True: 0, False: 140k]
  ------------------
 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|   140k|        return res;
 2845|   140k|    }
 2846|   140k|}
PyIter_Check:
 2869|   140k|{
 2870|   140k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   140k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   140k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   140k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2871|   140k|    return (tp->tp_iternext != NULL &&
  ------------------
  |  Branch (2871:13): [True: 140k, False: 0]
  ------------------
 2872|   140k|            tp->tp_iternext != &_PyObject_NextNotImplemented);
  ------------------
  |  Branch (2872:13): [True: 140k, False: 0]
  ------------------
 2873|   140k|}
PyIter_NextItem:
 2913|     71|{
 2914|     71|    assert(iter != NULL);
  ------------------
  |  Branch (2914:5): [True: 71, False: 0]
  ------------------
 2915|     71|    assert(item != NULL);
  ------------------
  |  Branch (2915:5): [True: 71, False: 0]
  ------------------
 2916|       |
 2917|     71|    if (Py_TYPE(iter)->tp_iternext == NULL) {
  ------------------
  |  |  213|     71|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     71|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2917:9): [True: 0, False: 71]
  ------------------
 2918|      0|        *item = NULL;
 2919|      0|        PyErr_Format(PyExc_TypeError, "expected an iterator, got '%T'", iter);
 2920|      0|        return -1;
 2921|      0|    }
 2922|       |
 2923|     71|    return iternext(iter, item);
 2924|     71|}
PyIter_Next:
 2936|   284k|{
 2937|   284k|    PyObject *item;
 2938|   284k|    (void)iternext(iter, &item);
 2939|   284k|    return item;
 2940|   284k|}
abstract.c:type_error:
   26|  5.51k|{
   27|  5.51k|    PyErr_Format(PyExc_TypeError, msg, Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|  5.51k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   28|       |    return NULL;
   29|  5.51k|}
abstract.c:_IsCContiguous:
  503|  24.5k|{
  504|  24.5k|    Py_ssize_t sd, dim;
  505|  24.5k|    int i;
  506|       |
  507|       |    /* 1) len = product(shape) * itemsize
  508|       |       2) itemsize > 0
  509|       |       3) len = 0 <==> exists i: shape[i] = 0 */
  510|  24.5k|    if (view->len == 0) return 1;
  ------------------
  |  Branch (510:9): [True: 0, False: 24.5k]
  ------------------
  511|  24.5k|    if (view->strides == NULL) return 1; /* C-contiguous by definition */
  ------------------
  |  Branch (511:9): [True: 8.15k, False: 16.4k]
  ------------------
  512|       |
  513|       |    /* strides != NULL implies both of these */
  514|  24.5k|    assert(view->ndim > 0);
  ------------------
  |  Branch (514:5): [True: 16.4k, False: 0]
  ------------------
  515|  16.4k|    assert(view->shape != NULL);
  ------------------
  |  Branch (515:5): [True: 16.4k, False: 0]
  ------------------
  516|       |
  517|  16.4k|    sd = view->itemsize;
  518|  32.8k|    for (i=view->ndim-1; i>=0; i--) {
  ------------------
  |  Branch (518:26): [True: 16.4k, False: 16.4k]
  ------------------
  519|  16.4k|        dim = view->shape[i];
  520|  16.4k|        if (dim > 1 && view->strides[i] != sd) {
  ------------------
  |  Branch (520:13): [True: 16.4k, False: 7]
  |  Branch (520:24): [True: 0, False: 16.4k]
  ------------------
  521|      0|            return 0;
  522|      0|        }
  523|  16.4k|        sd *= dim;
  524|  16.4k|    }
  525|  16.4k|    return 1;
  526|  16.4k|}
abstract.c:binary_op:
 1013|  1.41M|{
 1014|  1.41M|    PyObject *result = BINARY_OP1(v, w, op_slot, op_name);
  ------------------
  |  |  996|  1.41M|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1015|  1.41M|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|  1.41M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1015:9): [True: 10.9k, False: 1.40M]
  ------------------
 1016|  10.9k|        Py_DECREF(result);
  ------------------
  |  |  430|  10.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1017|  10.9k|        return binop_type_error(v, w, op_name);
 1018|  10.9k|    }
 1019|  1.40M|    return result;
 1020|  1.41M|}
abstract.c:binary_op1:
  946|  2.10M|{
  947|  2.10M|    binaryfunc slotv;
  948|  2.10M|    if (Py_TYPE(v)->tp_as_number != NULL) {
  ------------------
  |  |  213|  2.10M|#  define Py_TYPE(ob) _Py_TYPE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (948:9): [True: 2.08M, False: 21.5k]
  ------------------
  949|  2.08M|        slotv = NB_BINOP(Py_TYPE(v)->tp_as_number, op_slot);
  ------------------
  |  |  926|  2.08M|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
  950|  2.08M|    }
  951|  21.5k|    else {
  952|  21.5k|        slotv = NULL;
  953|  21.5k|    }
  954|       |
  955|  2.10M|    binaryfunc slotw;
  956|  2.10M|    if (!Py_IS_TYPE(w, Py_TYPE(v)) && Py_TYPE(w)->tp_as_number != NULL) {
  ------------------
  |  |  215|  4.21M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!Py_IS_TYPE(w, Py_TYPE(v)) && Py_TYPE(w)->tp_as_number != NULL) {
  ------------------
  |  |  213|   200k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   200k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   200k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (956:9): [True: 200k, False: 1.90M]
  |  Branch (956:39): [True: 165k, False: 34.7k]
  ------------------
  957|   165k|        slotw = NB_BINOP(Py_TYPE(w)->tp_as_number, op_slot);
  ------------------
  |  |  926|   165k|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
  958|   165k|        if (slotw == slotv) {
  ------------------
  |  Branch (958:13): [True: 532, False: 165k]
  ------------------
  959|    532|            slotw = NULL;
  960|    532|        }
  961|   165k|    }
  962|  1.94M|    else {
  963|  1.94M|        slotw = NULL;
  964|  1.94M|    }
  965|       |
  966|  2.10M|    if (slotv) {
  ------------------
  |  Branch (966:9): [True: 2.07M, False: 32.5k]
  ------------------
  967|  2.07M|        PyObject *x;
  968|  2.07M|        if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  213|   124k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   124k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   124k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  213|   124k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   124k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   124k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (968:13): [True: 124k, False: 1.95M]
  |  Branch (968:22): [True: 495, False: 123k]
  ------------------
  969|    495|            x = slotw(v, w);
  970|    495|            if (x != Py_NotImplemented)
  ------------------
  |  |  640|    495|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (970:17): [True: 495, False: 0]
  ------------------
  971|    495|                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|  2.07M|        x = slotv(v, w);
  976|  2.07M|        assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  ------------------
  |  Branch (976:9): [True: 2.07M, False: 0]
  ------------------
  977|  2.07M|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  2.07M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (977:13): [True: 1.98M, False: 88.8k]
  ------------------
  978|  1.98M|            return x;
  979|  1.98M|        }
  980|  88.8k|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|  88.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  88.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  88.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  981|  88.8k|    }
  982|   121k|    if (slotw) {
  ------------------
  |  Branch (982:9): [True: 34.7k, False: 86.6k]
  ------------------
  983|  34.7k|        PyObject *x = slotw(v, w);
  984|  34.7k|        assert(_Py_CheckSlotResult(w, op_name, x != NULL));
  ------------------
  |  Branch (984:9): [True: 34.7k, False: 0]
  ------------------
  985|  34.7k|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  34.7k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (985:13): [True: 23.6k, False: 11.1k]
  ------------------
  986|  23.6k|            return x;
  987|  23.6k|        }
  988|  11.1k|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|  11.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  989|  11.1k|    }
  990|  97.8k|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|  97.8k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|  97.8k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  991|   121k|}
abstract.c:binop_type_error:
 1001|  12.1k|{
 1002|  12.1k|    PyErr_Format(PyExc_TypeError,
 1003|  12.1k|                 "unsupported operand type(s) for %.100s: "
 1004|  12.1k|                 "'%.100s' and '%.100s'",
 1005|  12.1k|                 op_name,
 1006|  12.1k|                 Py_TYPE(v)->tp_name,
  ------------------
  |  |  213|  12.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1007|  12.1k|                 Py_TYPE(w)->tp_name);
  ------------------
  |  |  213|  12.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1008|       |    return NULL;
 1009|  12.1k|}
abstract.c:sequence_repeat:
 1159|  62.9k|{
 1160|  62.9k|    Py_ssize_t count;
 1161|  62.9k|    if (_PyIndex_Check(n)) {
  ------------------
  |  Branch (1161:9): [True: 59.6k, False: 3.28k]
  ------------------
 1162|  59.6k|        count = PyNumber_AsSsize_t(n, PyExc_OverflowError);
 1163|  59.6k|        if (count == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1163:13): [True: 2.20k, False: 57.4k]
  |  Branch (1163:28): [True: 1.97k, False: 235]
  ------------------
 1164|  1.97k|            return NULL;
 1165|  1.97k|        }
 1166|  59.6k|    }
 1167|  3.28k|    else {
 1168|  3.28k|        return type_error("can't multiply sequence by "
 1169|  3.28k|                          "non-int of type '%.200s'", n);
 1170|  3.28k|    }
 1171|  57.6k|    PyObject *res = (*repeatfunc)(seq, count);
 1172|  57.6k|    assert(_Py_CheckSlotResult(seq, "*", res != NULL));
  ------------------
  |  Branch (1172:5): [True: 57.6k, False: 0]
  ------------------
 1173|  57.6k|    return res;
 1174|  57.6k|}
abstract.c:ternary_op:
 1037|  71.4k|{
 1038|  71.4k|    PyNumberMethods *mv = Py_TYPE(v)->tp_as_number;
  ------------------
  |  |  213|  71.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  71.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  71.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1039|  71.4k|    PyNumberMethods *mw = Py_TYPE(w)->tp_as_number;
  ------------------
  |  |  213|  71.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  71.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  71.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1040|       |
 1041|  71.4k|    ternaryfunc slotv;
 1042|  71.4k|    if (mv != NULL) {
  ------------------
  |  Branch (1042:9): [True: 70.8k, False: 611]
  ------------------
 1043|  70.8k|        slotv = NB_TERNOP(mv, op_slot);
  ------------------
  |  |  928|  70.8k|        (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1044|  70.8k|    }
 1045|    611|    else {
 1046|    611|        slotv = NULL;
 1047|    611|    }
 1048|       |
 1049|  71.4k|    ternaryfunc slotw;
 1050|  71.4k|    if (!Py_IS_TYPE(w, Py_TYPE(v)) && mw != NULL) {
  ------------------
  |  |  215|   142k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  71.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  71.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1050:9): [True: 20.4k, False: 51.0k]
  |  Branch (1050:39): [True: 18.7k, False: 1.66k]
  ------------------
 1051|  18.7k|        slotw = NB_TERNOP(mw, op_slot);
  ------------------
  |  |  928|  18.7k|        (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1052|  18.7k|        if (slotw == slotv) {
  ------------------
  |  Branch (1052:13): [True: 264, False: 18.4k]
  ------------------
 1053|    264|            slotw = NULL;
 1054|    264|        }
 1055|  18.7k|    }
 1056|  52.7k|    else {
 1057|  52.7k|        slotw = NULL;
 1058|  52.7k|    }
 1059|       |
 1060|  71.4k|    if (slotv) {
  ------------------
  |  Branch (1060:9): [True: 70.7k, False: 716]
  ------------------
 1061|  70.7k|        PyObject *x;
 1062|  70.7k|        if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1062:13): [True: 17.7k, False: 53.0k]
  |  Branch (1062:22): [True: 0, False: 17.7k]
  ------------------
 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|  70.7k|        x = slotv(v, w, z);
 1071|  70.7k|        assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  ------------------
  |  Branch (1071:9): [True: 70.7k, False: 0]
  ------------------
 1072|  70.7k|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  70.7k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1072:13): [True: 61.1k, False: 9.59k]
  ------------------
 1073|  61.1k|            return x;
 1074|  61.1k|        }
 1075|  9.59k|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|  9.59k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1076|  9.59k|    }
 1077|  10.3k|    if (slotw) {
  ------------------
  |  Branch (1077:9): [True: 8.61k, False: 1.69k]
  ------------------
 1078|  8.61k|        PyObject *x = slotw(v, w, z);
 1079|  8.61k|        assert(_Py_CheckSlotResult(w, op_name, x != NULL));
  ------------------
  |  Branch (1079:9): [True: 8.61k, False: 0]
  ------------------
 1080|  8.61k|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  8.61k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1080:13): [True: 7.89k, False: 716]
  ------------------
 1081|  7.89k|            return x;
 1082|  7.89k|        }
 1083|    716|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|    716|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    716|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    716|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1084|    716|    }
 1085|       |
 1086|  2.41k|    PyNumberMethods *mz = Py_TYPE(z)->tp_as_number;
  ------------------
  |  |  213|  2.41k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|  2.41k|    if (mz != NULL) {
  ------------------
  |  Branch (1087:9): [True: 2.41k, False: 0]
  ------------------
 1088|  2.41k|        ternaryfunc slotz = NB_TERNOP(mz, op_slot);
  ------------------
  |  |  928|  2.41k|        (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1089|  2.41k|        if (slotz == slotv || slotz == slotw) {
  ------------------
  |  Branch (1089:13): [True: 716, False: 1.69k]
  |  Branch (1089:31): [True: 1.69k, False: 0]
  ------------------
 1090|  2.41k|            slotz = NULL;
 1091|  2.41k|        }
 1092|  2.41k|        if (slotz) {
  ------------------
  |  Branch (1092:13): [True: 0, False: 2.41k]
  ------------------
 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|  2.41k|    }
 1101|       |
 1102|  2.41k|    if (z == Py_None) {
  ------------------
  |  |  616|  2.41k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1102:9): [True: 2.41k, False: 0]
  ------------------
 1103|  2.41k|        PyErr_Format(
 1104|  2.41k|            PyExc_TypeError,
 1105|  2.41k|            "unsupported operand type(s) for %.100s: "
 1106|  2.41k|            "'%.100s' and '%.100s'",
 1107|  2.41k|            op_name,
 1108|  2.41k|            Py_TYPE(v)->tp_name,
  ------------------
  |  |  213|  2.41k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1109|  2.41k|            Py_TYPE(w)->tp_name);
  ------------------
  |  |  213|  2.41k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1110|  2.41k|    }
 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|  2.41k|}
abstract.c:binary_iop:
 1263|   682k|{
 1264|   682k|    PyObject *result = BINARY_IOP1(v, w, iop_slot, op_slot, op_name);
  ------------------
  |  | 1257|   682k|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot, op_name)
  ------------------
 1265|   682k|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|   682k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1265:9): [True: 0, False: 682k]
  ------------------
 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|   682k|    return result;
 1270|   682k|}
abstract.c:binary_iop1:
 1234|   735k|{
 1235|   735k|    PyNumberMethods *mv = Py_TYPE(v)->tp_as_number;
  ------------------
  |  |  213|   735k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   735k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   735k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1236|   735k|    if (mv != NULL) {
  ------------------
  |  Branch (1236:9): [True: 735k, False: 18]
  ------------------
 1237|   735k|        binaryfunc slot = NB_BINOP(mv, iop_slot);
  ------------------
  |  |  926|   735k|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1238|   735k|        if (slot) {
  ------------------
  |  Branch (1238:13): [True: 326k, False: 409k]
  ------------------
 1239|   326k|            PyObject *x = (slot)(v, w);
 1240|   326k|            assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  ------------------
  |  Branch (1240:13): [True: 326k, False: 0]
  ------------------
 1241|   326k|            if (x != Py_NotImplemented) {
  ------------------
  |  |  640|   326k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1241:17): [True: 326k, False: 0]
  ------------------
 1242|   326k|                return x;
 1243|   326k|            }
 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|   735k|    }
 1247|       |#ifdef NDEBUG
 1248|       |    return binary_op1(v, w, op_slot);
 1249|       |#else
 1250|   409k|    return binary_op1(v, w, op_slot, op_name);
 1251|   735k|#endif
 1252|   735k|}
abstract.c:method_output_as_list:
 2435|     84|{
 2436|     84|    PyObject *it, *result, *meth_output;
 2437|       |
 2438|     84|    assert(o != NULL);
  ------------------
  |  Branch (2438:5): [True: 84, False: 0]
  ------------------
 2439|     84|    meth_output = PyObject_CallMethodNoArgs(o, meth);
 2440|     84|    if (meth_output == NULL || PyList_CheckExact(meth_output)) {
  ------------------
  |  |   26|     84|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|     84|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 84]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2440:9): [True: 0, False: 84]
  ------------------
 2441|      0|        return meth_output;
 2442|      0|    }
 2443|     84|    it = PyObject_GetIter(meth_output);
 2444|     84|    if (it == NULL) {
  ------------------
  |  Branch (2444:9): [True: 0, False: 84]
  ------------------
 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|     84|    Py_DECREF(meth_output);
  ------------------
  |  |  430|     84|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2455|     84|    result = PySequence_List(it);
 2456|     84|    Py_DECREF(it);
  ------------------
  |  |  430|     84|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2457|     84|    return result;
 2458|     84|}
abstract.c:object_recursive_isinstance:
 2672|   337k|{
 2673|       |    /* Quick test for an exact match */
 2674|   337k|    if (Py_IS_TYPE(inst, (PyTypeObject *)cls)) {
  ------------------
  |  |  215|   337k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   337k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   337k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 319k, False: 17.3k]
  |  |  ------------------
  ------------------
 2675|   319k|        return 1;
 2676|   319k|    }
 2677|       |
 2678|       |    /* We know what type's __instancecheck__ does. */
 2679|  17.3k|    if (PyType_CheckExact(cls)) {
  ------------------
  |  |  776|  17.3k|#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (776:33): [True: 17.2k, False: 129]
  |  |  ------------------
  ------------------
 2680|  17.2k|        return object_isinstance(inst, cls);
 2681|  17.2k|    }
 2682|       |
 2683|    129|    if (_PyUnion_Check(cls)) {
  ------------------
  |  |   15|    129|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|    129|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    129|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    129|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 129]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2684|      0|        cls = _Py_union_args(cls);
 2685|      0|    }
 2686|       |
 2687|    129|    if (PyTuple_Check(cls)) {
  ------------------
  |  |   27|    129|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    129|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 117, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2688|       |        /* Not a general sequence -- that opens up the road to
 2689|       |           recursion and stack overflow. */
 2690|    117|        if (_Py_EnterRecursiveCallTstate(tstate, " in __instancecheck__")) {
  ------------------
  |  Branch (2690:13): [True: 0, False: 117]
  ------------------
 2691|      0|            return -1;
 2692|      0|        }
 2693|    117|        Py_ssize_t n = PyTuple_GET_SIZE(cls);
  ------------------
  |  |   27|    117|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    117|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2694|    117|        int r = 0;
 2695|    121|        for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (2695:32): [True: 121, False: 0]
  ------------------
 2696|    121|            PyObject *item = PyTuple_GET_ITEM(cls, i);
  ------------------
  |  |   29|    121|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    121|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    121|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2696:30): [True: 121, False: 0]
  ------------------
 2697|      0|            r = object_recursive_isinstance(tstate, inst, item);
 2698|    121|            if (r != 0) {
  ------------------
  |  Branch (2698:17): [True: 117, False: 4]
  ------------------
 2699|       |                /* either found it, or got an error */
 2700|    117|                break;
 2701|    117|            }
 2702|    121|        }
 2703|    117|        _Py_LeaveRecursiveCallTstate(tstate);
 2704|    117|        return r;
 2705|    117|    }
 2706|       |
 2707|     12|    PyObject *res;
 2708|     12|    int found = call_special_method(tstate, cls, &_Py_ID(__instancecheck__),
  ------------------
  |  |  951|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2709|     12|                                    " in __instancecheck__", inst, &res);
 2710|     12|    if (found > 0) {
  ------------------
  |  Branch (2710:9): [True: 12, False: 0]
  ------------------
 2711|     12|        int ok = PyObject_IsTrue(res);
 2712|     12|        Py_DECREF(res);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2713|       |
 2714|     12|        return ok;
 2715|     12|    }
 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|     12|}
abstract.c:call_special_method:
 2642|    112|{
 2643|    112|    _PyCStackRef cref;
 2644|    112|    _PyThreadState_PushCStackRef(tstate, &cref);
 2645|    112|    _PyStackRef self = PyStackRef_FromPyObjectBorrow(cls);
 2646|    112|    int found = _PyObject_LookupSpecialMethod(name, &cref.ref, &self);
 2647|    112|    if (found > 0) {
  ------------------
  |  Branch (2647:9): [True: 112, False: 0]
  ------------------
 2648|    112|        *res = NULL;
 2649|    112|        if (!_Py_EnterRecursiveCallTstate(tstate, where)) {
  ------------------
  |  Branch (2649:13): [True: 112, False: 0]
  ------------------
 2650|    112|            PyObject *method = PyStackRef_AsPyObjectBorrow(cref.ref);
 2651|    112|            PyObject *args[2] = {PyStackRef_AsPyObjectBorrow(self), arg};
 2652|    112|            if (args[0] != NULL) {
  ------------------
  |  Branch (2652:17): [True: 112, False: 0]
  ------------------
 2653|       |                /* Unbound method: prepend self. */
 2654|    112|                *res = PyObject_Vectorcall(method, args, 2, NULL);
 2655|    112|            }
 2656|      0|            else {
 2657|      0|                *res = PyObject_Vectorcall(method, args + 1, 1, NULL);
 2658|      0|            }
 2659|    112|            _Py_LeaveRecursiveCallTstate(tstate);
 2660|    112|        }
 2661|    112|        if (*res == NULL) {
  ------------------
  |  Branch (2661:13): [True: 0, False: 112]
  ------------------
 2662|      0|            found = -1;
 2663|      0|        }
 2664|    112|    }
 2665|    112|    PyStackRef_XCLOSE(self);
 2666|    112|    _PyThreadState_PopCStackRef(tstate, &cref);
 2667|    112|    return found;
 2668|    112|}
abstract.c:object_issubclass:
 2755|   249k|{
 2756|       |    /* We know what type's __subclasscheck__ does. */
 2757|   249k|    if (PyType_CheckExact(cls)) {
  ------------------
  |  |  776|   249k|#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   249k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   249k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (776:33): [True: 249k, False: 100]
  |  |  ------------------
  ------------------
 2758|       |        /* Quick test for an exact match */
 2759|   249k|        if (derived == cls)
  ------------------
  |  Branch (2759:13): [True: 41.7k, False: 207k]
  ------------------
 2760|  41.7k|            return 1;
 2761|   207k|        return recursive_issubclass(derived, cls);
 2762|   249k|    }
 2763|       |
 2764|    100|    if (_PyUnion_Check(cls)) {
  ------------------
  |  |   15|    100|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|    100|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 100]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2765|      0|        cls = _Py_union_args(cls);
 2766|      0|    }
 2767|       |
 2768|    100|    if (PyTuple_Check(cls)) {
  ------------------
  |  |   27|    100|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    100|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 100]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|    100|    PyObject *res;
 2787|    100|    int found = call_special_method(tstate, cls, &_Py_ID(__subclasscheck__),
  ------------------
  |  |  951|    100|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    100|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    100|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2788|    100|                                    " in __subclasscheck__", derived, &res);
 2789|    100|    if (found > 0) {
  ------------------
  |  Branch (2789:9): [True: 100, False: 0]
  ------------------
 2790|    100|        int ok = PyObject_IsTrue(res);
 2791|    100|        Py_DECREF(res);
  ------------------
  |  |  430|    100|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2792|    100|        return ok;
 2793|    100|    }
 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|    100|}
abstract.c:object_isinstance:
 2605|  17.2k|{
 2606|  17.2k|    PyObject *icls;
 2607|  17.2k|    int retval;
 2608|  17.2k|    if (PyType_Check(cls)) {
  ------------------
  |  |  766|  17.2k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 17.2k, False: 0]
  |  |  ------------------
  ------------------
 2609|  17.2k|        retval = PyObject_TypeCheck(inst, (PyTypeObject *)cls);
  ------------------
  |  |  378|  17.2k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  17.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2610|  17.2k|        if (retval == 0) {
  ------------------
  |  Branch (2610:13): [True: 17.1k, False: 101]
  ------------------
 2611|  17.1k|            retval = PyObject_GetOptionalAttr(inst, &_Py_ID(__class__), &icls);
  ------------------
  |  |  951|  17.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  17.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  17.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2612|  17.1k|            if (icls != NULL) {
  ------------------
  |  Branch (2612:17): [True: 17.1k, False: 0]
  ------------------
 2613|  17.1k|                if (icls != (PyObject *)(Py_TYPE(inst)) && PyType_Check(icls)) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              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: 17.1k]
  ------------------
 2614|      0|                    retval = PyType_IsSubtype(
 2615|      0|                        (PyTypeObject *)icls,
 2616|      0|                        (PyTypeObject *)cls);
 2617|      0|                }
 2618|  17.1k|                else {
 2619|  17.1k|                    retval = 0;
 2620|  17.1k|                }
 2621|  17.1k|                Py_DECREF(icls);
  ------------------
  |  |  430|  17.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2622|  17.1k|            }
 2623|  17.1k|        }
 2624|  17.2k|    }
 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|  17.2k|    return retval;
 2637|  17.2k|}
abstract.c:recursive_issubclass:
 2735|   207k|{
 2736|   207k|    if (PyType_Check(cls) && PyType_Check(derived)) {
  ------------------
  |  |  766|   415k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 207k, False: 0]
  |  |  ------------------
  ------------------
                  if (PyType_Check(cls) && PyType_Check(derived)) {
  ------------------
  |  |  766|   207k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 207k, False: 0]
  |  |  ------------------
  ------------------
 2737|       |        /* Fast path (non-recursive) */
 2738|   207k|        return PyType_IsSubtype((PyTypeObject *)derived, (PyTypeObject *)cls);
 2739|   207k|    }
 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|   284k|{
 2887|   284k|    iternextfunc tp_iternext = Py_TYPE(iter)->tp_iternext;
  ------------------
  |  |  213|   284k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   284k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   284k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2888|   284k|    if ((*item = tp_iternext(iter))) {
  ------------------
  |  Branch (2888:9): [True: 191k, False: 93.6k]
  ------------------
 2889|   191k|        return 1;
 2890|   191k|    }
 2891|       |
 2892|  93.6k|    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|  93.6k|    if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2895:9): [True: 93.6k, False: 0]
  ------------------
 2896|  93.6k|        return 0;
 2897|  93.6k|    }
 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|   978k|{
   29|   978k|    return ok ? Py_True : Py_False;
  ------------------
  |  |   26|   978k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|   376k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   376k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return ok ? Py_True : Py_False;
  ------------------
  |  |   25|   978k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|   601k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   601k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (29:12): [True: 376k, False: 601k]
  ------------------
   30|   978k|}
boolobject.c:bool_repr:
   21|    397|{
   22|    397|    return self == Py_True ? &_Py_ID(True) : &_Py_ID(False);
  ------------------
  |  |   26|    397|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    397|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    397|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return self == Py_True ? &_Py_ID(True) : &_Py_ID(False);
  ------------------
  |  |  951|    394|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    394|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    394|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return self == Py_True ? &_Py_ID(True) : &_Py_ID(False);
  ------------------
  |  |  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 (22:12): [True: 394, False: 3]
  ------------------
   23|    397|}
boolobject.c:bool_and:
   77|    918|{
   78|    918|    if (!PyBool_Check(a) || !PyBool_Check(b))
  ------------------
  |  |   12|    918|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  1.83k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    918|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    918|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyBool_Check(a) || !PyBool_Check(b))
  ------------------
  |  |   12|    883|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|    883|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    883|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    883|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (78:9): [True: 35, False: 883]
  |  Branch (78:29): [True: 459, False: 424]
  ------------------
   79|    494|        return PyLong_Type.tp_as_number->nb_and(a, b);
   80|    424|    return PyBool_FromLong((a == Py_True) & (b == Py_True));
  ------------------
  |  |   26|    424|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    424|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    424|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return PyBool_FromLong((a == Py_True) & (b == Py_True));
  ------------------
  |  |   26|    424|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    424|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    424|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|    918|}
boolobject.c:bool_xor:
   93|    149|{
   94|    149|    if (!PyBool_Check(a) || !PyBool_Check(b))
  ------------------
  |  |   12|    149|#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|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyBool_Check(a) || !PyBool_Check(b))
  ------------------
  |  |   12|     91|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|     91|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (94:9): [True: 58, False: 91]
  |  Branch (94:29): [True: 18, False: 73]
  ------------------
   95|     76|        return PyLong_Type.tp_as_number->nb_xor(a, b);
   96|     73|    return PyBool_FromLong((a == Py_True) ^ (b == Py_True));
  ------------------
  |  |   26|     73|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     73|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     73|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return PyBool_FromLong((a == Py_True) ^ (b == Py_True));
  ------------------
  |  |   26|     73|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     73|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     73|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   97|    149|}
boolobject.c:bool_or:
   85|  1.09k|{
   86|  1.09k|    if (!PyBool_Check(a) || !PyBool_Check(b))
  ------------------
  |  |   12|  1.09k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  2.19k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyBool_Check(a) || !PyBool_Check(b))
  ------------------
  |  |   12|    701|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|    701|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    701|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    701|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (86:9): [True: 398, False: 701]
  |  Branch (86:29): [True: 396, False: 305]
  ------------------
   87|    794|        return PyLong_Type.tp_as_number->nb_or(a, b);
   88|    305|    return PyBool_FromLong((a == Py_True) | (b == Py_True));
  ------------------
  |  |   26|    305|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    305|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    305|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return PyBool_FromLong((a == Py_True) | (b == Py_True));
  ------------------
  |  |   26|    305|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    305|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    305|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   89|  1.09k|}
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|    118|{
  176|    118|    PyByteArrayObject *new;
  177|       |
  178|    118|    if (size < 0) {
  ------------------
  |  Branch (178:9): [True: 0, False: 118]
  ------------------
  179|      0|        PyErr_SetString(PyExc_SystemError,
  180|      0|            "Negative size passed to PyByteArray_FromStringAndSize");
  181|      0|        return NULL;
  182|      0|    }
  183|       |
  184|    118|    new = PyObject_New(PyByteArrayObject, &PyByteArray_Type);
  ------------------
  |  |  130|    118|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
  185|    118|    if (new == NULL) {
  ------------------
  |  Branch (185:9): [True: 0, False: 118]
  ------------------
  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|    118|    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|    118|    new->ob_bytes_object = PyBytes_FromStringAndSize(NULL, size);
  201|    118|    if (new->ob_bytes_object == NULL) {
  ------------------
  |  Branch (201:9): [True: 0, False: 118]
  ------------------
  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|    118|    bytearray_reinit_from_bytes(new, size);
  206|    118|    if (bytes != NULL && size > 0) {
  ------------------
  |  Branch (206:9): [True: 104, False: 14]
  |  Branch (206:26): [True: 104, False: 0]
  ------------------
  207|    104|        memcpy(new->ob_bytes, bytes, size);
  208|    104|    }
  209|       |
  210|    118|    return (PyObject *)new;
  211|    118|}
PyByteArray_Resize:
  371|   199k|{
  372|   199k|    int ret;
  373|   199k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   199k|    {
  ------------------
  374|   199k|    ret = bytearray_resize_lock_held(self, requested_size);
  375|   199k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   199k|    }
  ------------------
  376|   199k|    return ret;
  377|   199k|}
bytearrayobject.c:bytearray_reinit_from_bytes:
   57|   707k|{
   58|   707k|    Py_ssize_t alloc = PyBytes_GET_SIZE(self->ob_bytes_object);
  ------------------
  |  |   33|   707k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   707k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   707k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   59|   707k|    assert(0 <= size && size <= alloc);
  ------------------
  |  Branch (59:5): [True: 707k, False: 0]
  |  Branch (59:5): [True: 707k, False: 0]
  ------------------
   60|       |
   61|   707k|    if (alloc != 0) {
  ------------------
  |  Branch (61:9): [True: 320k, False: 386k]
  ------------------
   62|   320k|        assert(_PyBytes_IsMutable(self->ob_bytes_object));
  ------------------
  |  Branch (62:9): [True: 320k, False: 0]
  ------------------
   63|   320k|    }
   64|   386k|    else {
   65|       |        // Use the empty bytes string singleton for an empty bytearray
   66|   386k|        assert(_Py_IsImmortal(self->ob_bytes_object));
  ------------------
  |  Branch (66:9): [True: 386k, False: 0]
  ------------------
   67|   386k|    }
   68|       |
   69|   707k|    self->ob_bytes = self->ob_start = PyBytes_AS_STRING(self->ob_bytes_object);
  ------------------
  |  |   27|   707k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   707k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   707k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   70|   707k|    Py_SET_SIZE(self, size);
  ------------------
  |  |  216|   707k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   707k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   707k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   71|   707k|    FT_ATOMIC_STORE_SSIZE_RELAXED(self->ob_alloc, alloc);
  ------------------
  |  |  197|   707k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
   72|   707k|}
bytearrayobject.c:bytearray_resize_lock_held:
  347|   617k|{
  348|   617k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  349|   617k|    PyByteArrayObject *obj = ((PyByteArrayObject *)self);
  350|       |
  351|   617k|    assert(self != NULL);
  ------------------
  |  Branch (351:5): [True: 617k, False: 0]
  ------------------
  352|   617k|    assert(PyByteArray_Check(self));
  ------------------
  |  Branch (352:5): [True: 617k, False: 0]
  ------------------
  353|       |
  354|   617k|    if (requested_size < 0) {
  ------------------
  |  Branch (354:9): [True: 0, False: 617k]
  ------------------
  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|   617k|    if (requested_size == Py_SIZE(self)) {
  ------------------
  |  |  214|   617k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   617k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   617k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (360:9): [True: 199k, False: 417k]
  ------------------
  361|   199k|        return 0;
  362|   199k|    }
  363|   417k|    if (!_canresize(obj)) {
  ------------------
  |  Branch (363:9): [True: 0, False: 417k]
  ------------------
  364|      0|        return -1;
  365|      0|    }
  366|   417k|    return bytearray_resize_unchecked(obj, requested_size);
  367|   417k|}
bytearrayobject.c:_canresize:
  134|   816k|{
  135|   816k|    if (self->ob_exports > 0) {
  ------------------
  |  Branch (135:9): [True: 0, False: 816k]
  ------------------
  136|      0|        PyErr_SetString(PyExc_BufferError,
  137|      0|                "Existing exports of data: object cannot be re-sized");
  138|      0|        return 0;
  139|      0|    }
  140|   816k|    return 1;
  141|   816k|}
bytearrayobject.c:bytearray_resize_unchecked:
  278|   417k|{
  279|   417k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(obj);
  280|   417k|    PyObject *self = (PyObject *)obj;
  281|       |
  282|   417k|    assert(obj->ob_bytes_object != NULL);
  ------------------
  |  Branch (282:5): [True: 417k, False: 0]
  ------------------
  283|   417k|    assert(requested_size >= 0);
  ------------------
  |  Branch (283:5): [True: 417k, False: 0]
  ------------------
  284|   417k|    assert(obj->ob_exports == 0);
  ------------------
  |  Branch (284:5): [True: 417k, False: 0]
  ------------------
  285|       |
  286|       |    /* All computations are done unsigned to avoid integer overflows
  287|       |       (see issue #22335). */
  288|   417k|    size_t alloc = (size_t) obj->ob_alloc;
  289|   417k|    size_t logical_offset = (size_t) (obj->ob_start - obj->ob_bytes);
  290|   417k|    size_t size = (size_t) requested_size;
  291|       |
  292|   417k|    assert(logical_offset <= alloc);
  ------------------
  |  Branch (292:5): [True: 417k, False: 0]
  ------------------
  293|       |
  294|       |    /* Resize to 0 resets to empty bytes (see issue #153419). */
  295|   417k|    if (requested_size == 0) {
  ------------------
  |  Branch (295:9): [True: 0, False: 417k]
  ------------------
  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|   417k|    if (size + logical_offset <= alloc) {
  ------------------
  |  Branch (302:9): [True: 97.3k, False: 320k]
  ------------------
  303|       |        /* Current buffer is large enough to host the requested size,
  304|       |           decide on a strategy. */
  305|  97.3k|        if (size < alloc / 2) {
  ------------------
  |  Branch (305:13): [True: 0, False: 97.3k]
  ------------------
  306|       |            /* Major downsize; resize down to exact size */
  307|      0|            alloc = size;
  308|      0|        }
  309|  97.3k|        else {
  310|       |            /* Minor downsize; quick exit */
  311|  97.3k|            Py_SET_SIZE(self, size);
  ------------------
  |  |  216|  97.3k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  97.3k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  97.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  312|       |            /* Add mid-buffer null; end provided by bytes. */
  313|  97.3k|            bytearray_write_trailing_null_byte(_PyByteArray_CAST(self));
  ------------------
  |  |   22|  97.3k|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  97.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (313:48): [True: 97.3k, False: 0]
  ------------------
  314|      0|            return 0;
  315|  97.3k|        }
  316|  97.3k|    }
  317|   320k|    else {
  318|       |        /* Need growing, decide on a strategy */
  319|   320k|        if (size <= alloc * 1.125) {
  ------------------
  |  Branch (319:13): [True: 18.0k, False: 302k]
  ------------------
  320|       |            /* Moderate upsize; overallocate similar to list_resize() */
  321|  18.0k|            alloc = size + (size >> 3) + (size < 9 ? 3 : 6);
  ------------------
  |  Branch (321:43): [True: 0, False: 18.0k]
  ------------------
  322|  18.0k|        }
  323|   302k|        else {
  324|       |            /* Major upsize; resize up to exact size */
  325|   302k|            alloc = size;
  326|   302k|        }
  327|   320k|    }
  328|   320k|    if (alloc > PyByteArray_SIZE_MAX) {
  ------------------
  |  |   21|   320k|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|   320k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   76|   320k|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (328:9): [True: 0, False: 320k]
  ------------------
  329|      0|        PyErr_NoMemory();
  330|      0|        return -1;
  331|      0|    }
  332|       |
  333|   320k|    if (bytearray_resize_storage(obj, requested_size, (Py_ssize_t)alloc) < 0) {
  ------------------
  |  Branch (333:9): [True: 0, False: 320k]
  ------------------
  334|      0|        return -1;
  335|      0|    }
  336|       |
  337|   320k|    bytearray_reinit_from_bytes(obj, size);
  338|   320k|    if (alloc != size) {
  ------------------
  |  Branch (338:9): [True: 18.0k, False: 302k]
  ------------------
  339|       |        /* Add mid-buffer null; end provided by bytes. */
  340|  18.0k|        bytearray_write_trailing_null_byte(obj);
  341|  18.0k|    }
  342|   320k|    return 0;
  343|   320k|}
bytearrayobject.c:bytearray_write_trailing_null_byte:
   48|   115k|{
   49|   115k|    char *data = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|   115k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   115k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   50|   115k|    Py_ssize_t size = PyByteArray_GET_SIZE(self);
  ------------------
  |  |   38|   115k|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   115k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|   115k|    data[size] = '\0';
   52|   115k|}
bytearrayobject.c:bytearray_resize_storage:
  235|   507k|{
  236|   507k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  237|   507k|    assert(1 <= new_size && new_size <= alloc);
  ------------------
  |  Branch (237:5): [True: 507k, False: 0]
  |  Branch (237:5): [True: 507k, False: 0]
  ------------------
  238|       |
  239|   507k|    Py_ssize_t size = Py_SIZE(self);
  ------------------
  |  |  214|   507k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   507k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   507k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|       |
  241|       |    /* Re-align data to the start of the allocation. */
  242|   507k|    char *old_start = self->ob_start;
  243|   507k|    if (self->ob_start != self->ob_bytes) {
  ------------------
  |  Branch (243:9): [True: 0, False: 507k]
  ------------------
  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|   507k|    if (_PyBytes_ResizeKeepOnError(&self->ob_bytes_object, alloc) < 0) {
  ------------------
  |  Branch (254:9): [True: 0, False: 507k]
  ------------------
  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|   507k|    assert(_PyBytes_IsMutable(self->ob_bytes_object));
  ------------------
  |  Branch (264:5): [True: 507k, False: 0]
  ------------------
  265|   507k|    return 0;
  266|   507k|}
bytearrayobject.c:bytearray_dealloc:
 1301|   199k|{
 1302|   199k|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|   199k|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|   199k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1302:31): [True: 199k, 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|   199k|    if (self->ob_exports > 0) {
  ------------------
  |  Branch (1309:9): [True: 0, False: 199k]
  ------------------
 1310|      0|        PyErr_SetString(PyExc_SystemError,
 1311|      0|                        "deallocated bytearray object has exported buffers");
 1312|      0|        PyErr_Print();
 1313|      0|    }
 1314|   199k|    Py_XDECREF(self->ob_bytes_object);
  ------------------
  |  |  621|   199k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   199k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   199k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1315|   199k|    Py_TYPE(self)->tp_free((PyObject *)self);
  ------------------
  |  |  213|   199k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   199k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   199k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1316|   199k|}
bytearrayobject.c:bytearray_length:
  420|     18|{
  421|     18|    return PyByteArray_GET_SIZE(op);
  ------------------
  |  |   38|     18|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  422|     18|}
bytearrayobject.c:_getbytevalue:
   27|   248k|{
   28|   248k|    int overflow;
   29|   248k|    long face_value = PyLong_AsLongAndOverflow(arg, &overflow);
   30|       |
   31|   248k|    if (face_value == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (31:9): [True: 0, False: 248k]
  |  Branch (31:29): [True: 0, False: 0]
  ------------------
   32|      0|        *value = -1;
   33|      0|        return 0;
   34|      0|    }
   35|   248k|    if (face_value < 0 || face_value >= 256) {
  ------------------
  |  Branch (35:9): [True: 0, False: 248k]
  |  Branch (35:27): [True: 0, False: 248k]
  ------------------
   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|   248k|    *value = face_value;
   43|   248k|    return 1;
   44|   248k|}
bytearrayobject.c:bytearray_setslice:
  703|   170k|{
  704|   170k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  705|   170k|    Py_ssize_t needed;
  706|   170k|    void *bytes;
  707|   170k|    Py_buffer vbytes;
  708|   170k|    int res = 0;
  709|       |
  710|   170k|    vbytes.len = -1;
  711|   170k|    if (values == (PyObject *)self) {
  ------------------
  |  Branch (711:9): [True: 0, False: 170k]
  ------------------
  712|       |        /* Make a copy and call this function recursively */
  713|      0|        int err;
  714|      0|        values = PyByteArray_FromStringAndSize(PyByteArray_AS_STRING(values),
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  715|      0|                                               PyByteArray_GET_SIZE(values));
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  716|      0|        if (values == NULL)
  ------------------
  |  Branch (716:13): [True: 0, False: 0]
  ------------------
  717|      0|            return -1;
  718|      0|        err = bytearray_setslice(self, lo, hi, values);
  719|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  720|      0|        return err;
  721|      0|    }
  722|   170k|    if (values == NULL) {
  ------------------
  |  Branch (722:9): [True: 0, False: 170k]
  ------------------
  723|       |        /* del b[lo:hi] */
  724|      0|        bytes = NULL;
  725|      0|        needed = 0;
  726|      0|    }
  727|   170k|    else {
  728|   170k|        if (PyObject_GetBuffer(values, &vbytes, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|   170k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (728:13): [True: 0, False: 170k]
  ------------------
  729|      0|            PyErr_Format(PyExc_TypeError,
  730|      0|                         "can't set bytearray slice from %.100s",
  731|      0|                         Py_TYPE(values)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  732|      0|            return -1;
  733|      0|        }
  734|   170k|        needed = vbytes.len;
  735|   170k|        bytes = vbytes.buf;
  736|   170k|    }
  737|       |
  738|       |    // gh-153578: __buffer__() may have resized self; re-clamp both bounds.
  739|   170k|    if (lo < 0)
  ------------------
  |  Branch (739:9): [True: 0, False: 170k]
  ------------------
  740|      0|        lo = 0;
  741|   170k|    else if (lo > Py_SIZE(self))
  ------------------
  |  |  214|   170k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (741:14): [True: 0, False: 170k]
  ------------------
  742|      0|        lo = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  743|   170k|    if (hi < lo)
  ------------------
  |  Branch (743:9): [True: 0, False: 170k]
  ------------------
  744|      0|        hi = lo;
  745|   170k|    if (hi > Py_SIZE(self))
  ------------------
  |  |  214|   170k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (745:9): [True: 0, False: 170k]
  ------------------
  746|      0|        hi = Py_SIZE(self);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  747|       |
  748|   170k|    res = bytearray_setslice_linear(self, lo, hi, bytes, needed);
  749|   170k|    if (vbytes.len != -1)
  ------------------
  |  Branch (749:9): [True: 170k, False: 0]
  ------------------
  750|   170k|        PyBuffer_Release(&vbytes);
  751|   170k|    return res;
  752|   170k|}
bytearrayobject.c:bytearray_setslice_linear:
  620|   170k|{
  621|   170k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  622|   170k|    Py_ssize_t avail = hi - lo;
  623|   170k|    char *buf = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|   170k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  624|   170k|    Py_ssize_t growth = bytes_len - avail;
  625|   170k|    int res = 0;
  626|   170k|    assert(avail >= 0);
  ------------------
  |  Branch (626:5): [True: 170k, False: 0]
  ------------------
  627|       |
  628|   170k|    if (growth < 0) {
  ------------------
  |  Branch (628:9): [True: 0, False: 170k]
  ------------------
  629|      0|        if (!_canresize(self))
  ------------------
  |  Branch (629:13): [True: 0, False: 0]
  ------------------
  630|      0|            return -1;
  631|       |
  632|      0|        if (lo == 0) {
  ------------------
  |  Branch (632:13): [True: 0, False: 0]
  ------------------
  633|       |            /* Shrink the buffer by advancing its logical start.  The bytes
  634|       |               are removed at this point; the resize below only releases
  635|       |               memory. */
  636|      0|            self->ob_start -= growth;
  637|      0|            Py_SET_SIZE(self, Py_SIZE(self) + growth);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  638|       |            /*
  639|       |              0   lo               hi             old_size
  640|       |              |   |<----avail----->|<-----tail------>|
  641|       |              |      |<-bytes_len->|<-----tail------>|
  642|       |              0    new_lo         new_hi          new_size
  643|       |            */
  644|      0|            if (bytearray_resize_unchecked(self, Py_SIZE(self)) < 0) {
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (644:17): [True: 0, False: 0]
  ------------------
  645|       |                /* The operation is completed, but a MemoryError is still
  646|       |                   raised and the memory block is not shrunk. */
  647|      0|                res = -1;
  648|      0|            }
  649|      0|        }
  650|      0|        else {
  651|       |            /*
  652|       |              0   lo               hi               old_size
  653|       |              |   |<----avail----->|<-----tomove------>|
  654|       |              |   |<-bytes_len->|<-----tomove------>|
  655|       |              0   lo         new_hi              new_size
  656|       |            */
  657|      0|            memmove(buf + lo + bytes_len, buf + hi,
  658|      0|                    Py_SIZE(self) - hi);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  659|      0|            if (bytearray_resize_lock_held((PyObject *)self,
  ------------------
  |  Branch (659:17): [True: 0, False: 0]
  ------------------
  660|      0|                                           Py_SIZE(self) + growth) < 0) {
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  661|       |                /* Issue #19578: memmove() removed bytes, the bytearray
  662|       |                   object cannot be restored in its previous state.
  663|       |
  664|       |                   The operation is completed, but a MemoryError is still
  665|       |                   raised and the memory block is not shrunk. */
  666|      0|                Py_SET_SIZE(self, Py_SIZE(self) + growth);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|      0|                bytearray_write_trailing_null_byte(self);
  668|      0|                res = -1;
  669|      0|            }
  670|      0|        }
  671|      0|        buf = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  672|      0|    }
  673|   170k|    else if (growth > 0) {
  ------------------
  |  Branch (673:14): [True: 170k, False: 0]
  ------------------
  674|   170k|        if (Py_SIZE(self) > PyByteArray_SIZE_MAX - growth) {
  ------------------
  |  |  214|   170k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (Py_SIZE(self) > PyByteArray_SIZE_MAX - growth) {
  ------------------
  |  |   21|   170k|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|   170k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   76|   170k|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (674:13): [True: 0, False: 170k]
  ------------------
  675|      0|            PyErr_NoMemory();
  676|      0|            return -1;
  677|      0|        }
  678|       |
  679|   170k|        if (bytearray_resize_lock_held((PyObject *)self,
  ------------------
  |  Branch (679:13): [True: 0, False: 170k]
  ------------------
  680|   170k|                               Py_SIZE(self) + growth) < 0) {
  ------------------
  |  |  214|   170k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  681|      0|            return -1;
  682|      0|        }
  683|   170k|        buf = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|   170k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  684|       |        /* Make the place for the additional bytes */
  685|       |        /*
  686|       |          0   lo        hi               old_size
  687|       |          |   |<-avail->|<-----tomove------>|
  688|       |          |   |<---bytes_len-->|<-----tomove------>|
  689|       |          0   lo            new_hi              new_size
  690|       |         */
  691|   170k|        memmove(buf + lo + bytes_len, buf + hi,
  692|   170k|                Py_SIZE(self) - lo - bytes_len);
  ------------------
  |  |  214|   170k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  693|   170k|    }
  694|       |
  695|   170k|    if (bytes_len > 0)
  ------------------
  |  Branch (695:9): [True: 170k, False: 0]
  ------------------
  696|   170k|        memcpy(buf + lo, bytes, bytes_len);
  697|   170k|    return res;
  698|   170k|}
bytearrayobject.c:bytearray_iconcat_impl:
  435|     10|{
  436|     10|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  437|       |
  438|     10|    Py_buffer vo;
  439|     10|    if (PyObject_GetBuffer(other, &vo, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     10|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (439:9): [True: 0, False: 10]
  ------------------
  440|      0|        PyErr_Format(PyExc_TypeError, "can't concat %.100s to %.100s",
  441|      0|                     Py_TYPE(other)->tp_name, Py_TYPE(self)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                   Py_TYPE(other)->tp_name, Py_TYPE(self)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  442|      0|        return NULL;
  443|      0|    }
  444|       |
  445|     10|    Py_ssize_t size = Py_SIZE(self);
  ------------------
  |  |  214|     10|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  446|     10|    if (size > PyByteArray_SIZE_MAX - vo.len) {
  ------------------
  |  |   21|     10|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|     10|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   76|     10|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (446:9): [True: 0, False: 10]
  ------------------
  447|      0|        PyBuffer_Release(&vo);
  448|      0|        return PyErr_NoMemory();
  449|      0|    }
  450|       |
  451|     10|    if (bytearray_resize_lock_held((PyObject *)self, size + vo.len) < 0) {
  ------------------
  |  Branch (451:9): [True: 0, False: 10]
  ------------------
  452|      0|        PyBuffer_Release(&vo);
  453|      0|        return NULL;
  454|      0|    }
  455|       |
  456|     10|    memcpy(PyByteArray_AS_STRING(self) + size, vo.buf, vo.len);
  ------------------
  |  |   28|     10|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  457|     10|    PyBuffer_Release(&vo);
  458|     10|    return Py_NewRef(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  459|     10|}
bytearrayobject.c:bytearray_subscript:
  607|    111|{
  608|    111|    PyObject *ret;
  609|    111|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    111|    {
  ------------------
  610|    111|    ret = bytearray_subscript_lock_held(op, index);
  611|    111|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    111|    }
  ------------------
  612|    111|    return ret;
  613|       |
  614|    111|}
bytearrayobject.c:bytearray_subscript_lock_held:
  547|    111|{
  548|    111|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  549|    111|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|    111|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|    111|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (549:31): [True: 111, False: 0]
  ------------------
  550|    111|    if (_PyIndex_Check(index)) {
  ------------------
  |  Branch (550:9): [True: 0, False: 111]
  ------------------
  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|    111|    else if (PySlice_Check(index)) {
  ------------------
  |  |   22|    111|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|    111|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    111|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    111|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 111, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  566|    111|        Py_ssize_t start, stop, step, slicelength, i;
  567|    111|        size_t cur;
  568|    111|        if (PySlice_Unpack(index, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (568:13): [True: 0, False: 111]
  ------------------
  569|      0|            return NULL;
  570|      0|        }
  571|    111|        slicelength = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self),
  ------------------
  |  |   38|    111|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    111|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    111|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  572|    111|                                            &start, &stop, step);
  573|       |
  574|    111|        if (slicelength <= 0)
  ------------------
  |  Branch (574:13): [True: 0, False: 111]
  ------------------
  575|      0|            return PyByteArray_FromStringAndSize("", 0);
  576|    111|        else if (step == 1) {
  ------------------
  |  Branch (576:18): [True: 104, False: 7]
  ------------------
  577|    104|            return PyByteArray_FromStringAndSize(
  578|    104|                PyByteArray_AS_STRING(self) + start, slicelength);
  ------------------
  |  |   28|    104|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  579|    104|        }
  580|      7|        else {
  581|      7|            char *source_buf = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|      7|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  582|      7|            char *result_buf;
  583|      7|            PyObject *result;
  584|       |
  585|      7|            result = PyByteArray_FromStringAndSize(NULL, slicelength);
  586|      7|            if (result == NULL)
  ------------------
  |  Branch (586:17): [True: 0, False: 7]
  ------------------
  587|      0|                return NULL;
  588|       |
  589|      7|            result_buf = PyByteArray_AS_STRING(result);
  ------------------
  |  |   28|      7|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  590|  3.33k|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (590:38): [True: 3.32k, False: 7]
  ------------------
  591|  3.32k|                 cur += step, i++) {
  592|  3.32k|                     result_buf[i] = source_buf[cur];
  593|  3.32k|            }
  594|      7|            return result;
  595|      7|        }
  596|    111|    }
  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|    111|}
bytearrayobject.c:bytearray_ass_subscript:
  958|    562|{
  959|    562|    int ret;
  960|    562|    if (values != NULL && PyByteArray_Check(values)) {
  ------------------
  |  |   24|    562|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|    562|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    562|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    562|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 562]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (960:9): [True: 562, 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|    562|    else {
  966|    562|        Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    562|    {
  ------------------
  967|    562|        ret = bytearray_ass_subscript_lock_held(op, index, values);
  968|    562|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    562|    }
  ------------------
  969|    562|    }
  970|    562|    return ret;
  971|    562|}
bytearrayobject.c:bytearray_ass_subscript_lock_held:
  797|    562|{
  798|    562|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  799|    562|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|    562|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|    562|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (799:31): [True: 562, 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|    562|    if (_PyIndex_Check(index)) {
  ------------------
  |  Branch (805:9): [True: 562, False: 0]
  ------------------
  806|    562|        Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError);
  807|       |
  808|    562|        if (i == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (808:13): [True: 0, False: 562]
  |  Branch (808:24): [True: 0, False: 0]
  ------------------
  809|      0|            return -1;
  810|      0|        }
  811|       |
  812|    562|        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|    562|        if (values && !_getbytevalue(values, &ival)) {
  ------------------
  |  Branch (816:13): [True: 562, False: 0]
  |  Branch (816:23): [True: 0, False: 562]
  ------------------
  817|      0|            return -1;
  818|      0|        }
  819|       |
  820|    562|        if (i < 0) {
  ------------------
  |  Branch (820:13): [True: 0, False: 562]
  ------------------
  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|    562|        if (i < 0 || i >= Py_SIZE(self)) {
  ------------------
  |  |  214|    562|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    562|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    562|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (824:13): [True: 0, False: 562]
  |  Branch (824:22): [True: 2, False: 560]
  ------------------
  825|      2|            PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
  826|      2|            return -1;
  827|      2|        }
  828|       |
  829|    560|        if (values == NULL) {
  ------------------
  |  Branch (829:13): [True: 0, False: 560]
  ------------------
  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|    560|        else {
  837|    560|            assert(0 <= ival && ival < 256);
  ------------------
  |  Branch (837:13): [True: 560, False: 0]
  |  Branch (837:13): [True: 560, False: 0]
  ------------------
  838|    560|            PyByteArray_AS_STRING(self)[i] = (char)ival;
  ------------------
  |  |   28|    560|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    560|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    560|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  839|    560|            return 0;
  840|    560|        }
  841|    560|    }
  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_getbuffer:
   95|      2|{
   96|      2|    int ret;
   97|      2|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      2|    {
  ------------------
   98|      2|    ret = bytearray_getbuffer_lock_held(self, view, flags);
   99|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
  100|      2|    return ret;
  101|      2|}
bytearrayobject.c:bytearray_getbuffer_lock_held:
   76|      2|{
   77|      2|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
   78|      2|    PyByteArrayObject *obj = _PyByteArray_CAST(self);
  ------------------
  |  |   22|      2|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (78:30): [True: 2, False: 0]
  ------------------
   79|      2|    if (view == NULL) {
  ------------------
  |  Branch (79:9): [True: 0, False: 2]
  ------------------
   80|      0|        PyErr_SetString(PyExc_BufferError,
   81|      0|            "bytearray_getbuffer: view==NULL argument is obsolete");
   82|      0|        return -1;
   83|      0|    }
   84|       |
   85|      2|    void *ptr = (void *) PyByteArray_AS_STRING(obj);
  ------------------
  |  |   28|      2|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   86|      2|    if (PyBuffer_FillInfo(view, (PyObject*)obj, ptr, Py_SIZE(obj), 0, flags) < 0) {
  ------------------
  |  |  214|      2|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (86:9): [True: 0, False: 2]
  ------------------
   87|      0|        return -1;
   88|      0|    }
   89|      2|    obj->ob_exports++;
   90|      2|    return 0;
   91|      2|}
bytearrayobject.c:bytearray_releasebuffer:
  105|      2|{
  106|      2|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      2|    {
  ------------------
  107|      2|    PyByteArrayObject *obj = _PyByteArray_CAST(self);
  ------------------
  |  |   22|      2|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (107:30): [True: 2, False: 0]
  ------------------
  108|      0|    obj->ob_exports--;
  109|      2|    assert(obj->ob_exports >= 0);
  ------------------
  |  Branch (109:5): [True: 2, False: 0]
  ------------------
  110|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
  111|      2|}
bytearrayobject.c:bytearray_append_impl:
 2220|   247k|{
 2221|   247k|    Py_ssize_t n = Py_SIZE(self);
  ------------------
  |  |  214|   247k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   247k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   247k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2222|       |
 2223|   247k|    if (bytearray_resize_lock_held((PyObject *)self, n + 1) < 0)
  ------------------
  |  Branch (2223:9): [True: 0, False: 247k]
  ------------------
 2224|      0|        return NULL;
 2225|       |
 2226|   247k|    PyByteArray_AS_STRING(self)[n] = item;
  ------------------
  |  |   28|   247k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   247k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   247k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2227|       |
 2228|   247k|    Py_RETURN_NONE;
  ------------------
  |  |  628|   247k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|   247k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2229|   247k|}
bytearrayobject.c:_bytearray_with_buffer:
  120|     78|{
  121|     78|    PyObject *res;
  122|       |
  123|     78|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  124|       |
  125|       |    /* Increase exports to prevent bytearray storage from changing during op. */
  126|     78|    self->ob_exports++;
  127|     78|    res = op(PyByteArray_AS_STRING(self), Py_SIZE(self), sub, start, end);
  ------------------
  |  |   28|     78|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  res = op(PyByteArray_AS_STRING(self), Py_SIZE(self), sub, start, end);
  ------------------
  |  |  214|     78|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  128|     78|    self->ob_exports--;
  129|     78|    return res;
  130|     78|}
bytearrayobject.c:bytearray_extend_impl:
 2276|   170k|{
 2277|   170k|    PyObject *it, *item, *bytearray_obj;
 2278|   170k|    Py_ssize_t buf_size = 0, len = 0;
 2279|   170k|    int value;
 2280|   170k|    char *buf;
 2281|       |
 2282|       |    /* bytearray_setslice code only accepts something supporting PEP 3118. */
 2283|   170k|    if (PyObject_CheckBuffer(iterable_of_ints)) {
  ------------------
  |  Branch (2283:9): [True: 170k, False: 0]
  ------------------
 2284|   170k|        if (bytearray_setslice(self, Py_SIZE(self), Py_SIZE(self), iterable_of_ints) == -1)
  ------------------
  |  |  214|   170k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (bytearray_setslice(self, Py_SIZE(self), Py_SIZE(self), iterable_of_ints) == -1)
  ------------------
  |  |  214|   170k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2284:13): [True: 0, False: 170k]
  ------------------
 2285|      0|            return NULL;
 2286|       |
 2287|   170k|        Py_RETURN_NONE;
  ------------------
  |  |  628|   170k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|   170k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2288|   170k|    }
 2289|       |
 2290|      0|    it = PyObject_GetIter(iterable_of_ints);
 2291|      0|    if (it == NULL) {
  ------------------
  |  Branch (2291:9): [True: 0, False: 0]
  ------------------
 2292|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (2292:13): [True: 0, False: 0]
  ------------------
 2293|      0|            PyErr_Format(PyExc_TypeError,
 2294|      0|                         "can't extend bytearray with %.100s",
 2295|      0|                         Py_TYPE(iterable_of_ints)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2296|      0|        }
 2297|      0|        return NULL;
 2298|      0|    }
 2299|       |
 2300|       |    /* Try to determine the length of the argument. 32 is arbitrary. */
 2301|      0|    buf_size = PyObject_LengthHint(iterable_of_ints, 32);
 2302|      0|    if (buf_size == -1) {
  ------------------
  |  Branch (2302:9): [True: 0, False: 0]
  ------------------
 2303|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2304|      0|        return NULL;
 2305|      0|    }
 2306|       |
 2307|      0|    bytearray_obj = PyByteArray_FromStringAndSize(NULL, buf_size);
 2308|      0|    if (bytearray_obj == NULL) {
  ------------------
  |  Branch (2308:9): [True: 0, False: 0]
  ------------------
 2309|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2310|      0|        return NULL;
 2311|      0|    }
 2312|      0|    buf = PyByteArray_AS_STRING(bytearray_obj);
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2313|       |
 2314|      0|    while ((item = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (2314:12): [True: 0, False: 0]
  ------------------
 2315|      0|        if (! _getbytevalue(item, &value)) {
  ------------------
  |  Branch (2315:13): [True: 0, False: 0]
  ------------------
 2316|      0|            if (PyErr_ExceptionMatches(PyExc_TypeError) && PyUnicode_Check(iterable_of_ints)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2316:17): [True: 0, False: 0]
  ------------------
 2317|      0|                PyErr_Format(PyExc_TypeError,
 2318|      0|                             "expected iterable of integers; got: 'str'");
 2319|      0|            }
 2320|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2321|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2322|      0|            Py_DECREF(bytearray_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2323|      0|            return NULL;
 2324|      0|        }
 2325|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2326|       |
 2327|      0|        if (len >= buf_size) {
  ------------------
  |  Branch (2327:13): [True: 0, False: 0]
  ------------------
 2328|      0|            Py_ssize_t addition;
 2329|      0|            if (len == PyByteArray_SIZE_MAX) {
  ------------------
  |  |   21|      0|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   76|      0|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (2329:17): [True: 0, False: 0]
  ------------------
 2330|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2331|      0|                Py_DECREF(bytearray_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2332|      0|                return PyErr_NoMemory();
 2333|      0|            }
 2334|      0|            addition = len ? len >> 1 : 1;
  ------------------
  |  Branch (2334:24): [True: 0, False: 0]
  ------------------
 2335|      0|            if (addition > PyByteArray_SIZE_MAX - len)
  ------------------
  |  |   21|      0|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   76|      0|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (2335:17): [True: 0, False: 0]
  ------------------
 2336|      0|                buf_size = PyByteArray_SIZE_MAX;
  ------------------
  |  |   21|      0|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   76|      0|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
 2337|      0|            else
 2338|      0|                buf_size = len + addition;
 2339|      0|            if (bytearray_resize_lock_held((PyObject *)bytearray_obj, buf_size) < 0) {
  ------------------
  |  Branch (2339:17): [True: 0, False: 0]
  ------------------
 2340|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2341|      0|                Py_DECREF(bytearray_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2342|      0|                return NULL;
 2343|      0|            }
 2344|       |            /* Recompute the `buf' pointer, since the resizing operation may
 2345|       |               have invalidated it. */
 2346|      0|            buf = PyByteArray_AS_STRING(bytearray_obj);
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2347|      0|        }
 2348|      0|        buf[len++] = value;
 2349|      0|    }
 2350|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2351|       |
 2352|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (2352:9): [True: 0, False: 0]
  ------------------
 2353|      0|        Py_DECREF(bytearray_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2354|      0|        return NULL;
 2355|      0|    }
 2356|       |
 2357|       |    /* Resize down to exact size. */
 2358|      0|    if (bytearray_resize_lock_held((PyObject *)bytearray_obj, len) < 0) {
  ------------------
  |  Branch (2358:9): [True: 0, False: 0]
  ------------------
 2359|      0|        Py_DECREF(bytearray_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2360|      0|        return NULL;
 2361|      0|    }
 2362|       |
 2363|      0|    if (bytearray_setslice(self, Py_SIZE(self), Py_SIZE(self), bytearray_obj) == -1) {
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (bytearray_setslice(self, Py_SIZE(self), Py_SIZE(self), bytearray_obj) == -1) {
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2363:9): [True: 0, False: 0]
  ------------------
 2364|      0|        Py_DECREF(bytearray_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2365|      0|        return NULL;
 2366|      0|    }
 2367|      0|    Py_DECREF(bytearray_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2368|       |
 2369|      0|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2369:5): [True: 0, False: 0]
  ------------------
 2370|      0|    Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2371|      0|}
bytearrayobject.c:bytearray_find_impl:
 1368|     78|{
 1369|     78|    return _bytearray_with_buffer(self, _Py_bytes_find, sub, start, end);
 1370|     78|}
bytearrayobject.c:bytearray_take_bytes_impl:
 1645|   199k|{
 1646|   199k|    Py_ssize_t to_take;
 1647|   199k|    Py_ssize_t size = Py_SIZE(self);
  ------------------
  |  |  214|   199k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   199k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   199k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1648|   199k|    if (Py_IsNone(n)) {
  ------------------
  |  |  621|   199k|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|   199k|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 199k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1649|   199k|        to_take = size;
 1650|   199k|    }
 1651|       |    // Integer index, from start (zero, positive) or end (negative).
 1652|      0|    else if (_PyIndex_Check(n)) {
  ------------------
  |  Branch (1652:14): [True: 0, False: 0]
  ------------------
 1653|      0|        to_take = PyNumber_AsSsize_t(n, PyExc_IndexError);
 1654|      0|        if (to_take == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1654:13): [True: 0, False: 0]
  |  Branch (1654:30): [True: 0, False: 0]
  ------------------
 1655|      0|            return NULL;
 1656|      0|        }
 1657|       |        // n.__index__() may have resized self; use the current size.
 1658|      0|        size = Py_SIZE(self);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1659|      0|        if (to_take < 0) {
  ------------------
  |  Branch (1659:13): [True: 0, False: 0]
  ------------------
 1660|      0|            to_take += size;
 1661|      0|        }
 1662|      0|    }
 1663|      0|    else {
 1664|      0|        PyErr_SetString(PyExc_TypeError, "n must be an integer or None");
 1665|      0|        return NULL;
 1666|      0|    }
 1667|       |
 1668|   199k|    if (to_take < 0 || to_take > size) {
  ------------------
  |  Branch (1668:9): [True: 0, False: 199k]
  |  Branch (1668:24): [True: 0, False: 199k]
  ------------------
 1669|      0|        PyErr_Format(PyExc_IndexError,
 1670|      0|            "can't take %zd bytes outside size %zd",
 1671|      0|            to_take, size);
 1672|      0|        return NULL;
 1673|      0|    }
 1674|       |
 1675|       |    // Exports may change the contents. No mutable bytes allowed.
 1676|   199k|    if (!_canresize(self)) {
  ------------------
  |  Branch (1676:9): [True: 0, False: 199k]
  ------------------
 1677|      0|        return NULL;
 1678|      0|    }
 1679|       |
 1680|   199k|    if (to_take == 0 || size == 0) {
  ------------------
  |  Branch (1680:9): [True: 12.2k, False: 187k]
  |  Branch (1680:25): [True: 0, False: 187k]
  ------------------
 1681|  12.2k|        return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|  12.2k|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 1682|  12.2k|    }
 1683|       |
 1684|   187k|    Py_ssize_t remaining_length = size - to_take;
 1685|       |
 1686|       |    // optimization: If taking less than leaving, just copy the small to_take
 1687|       |    // portion out and move ob_start.
 1688|   187k|    if (to_take < remaining_length) {
  ------------------
  |  Branch (1688:9): [True: 0, False: 187k]
  ------------------
 1689|      0|        PyObject *ret = PyBytes_FromStringAndSize(self->ob_start, to_take);
 1690|      0|        if (ret == NULL) {
  ------------------
  |  Branch (1690:13): [True: 0, False: 0]
  ------------------
 1691|      0|            return NULL;
 1692|      0|        }
 1693|      0|        self->ob_start += to_take;
 1694|      0|        Py_SET_SIZE(self, remaining_length);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1695|      0|        return ret;
 1696|      0|    }
 1697|       |
 1698|       |    // Copy remaining bytes to a new bytes. Allocate and then copy
 1699|       |    // so we don't get a shared immortal one-character singleton!
 1700|   187k|    PyObject *remaining = PyBytes_FromStringAndSize(NULL, remaining_length);
 1701|   187k|    if (remaining == NULL) {
  ------------------
  |  Branch (1701:9): [True: 0, False: 187k]
  ------------------
 1702|      0|        return NULL;
 1703|      0|    }
 1704|   187k|    memcpy(PyBytes_AS_STRING(remaining), self->ob_start + to_take,
  ------------------
  |  |   27|   187k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   187k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   187k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1705|   187k|           remaining_length);
 1706|       |
 1707|   187k|    if (bytearray_resize_storage(self, to_take, to_take) < 0) {
  ------------------
  |  Branch (1707:9): [True: 0, False: 187k]
  ------------------
 1708|      0|        Py_DECREF(remaining);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1709|      0|        return NULL;
 1710|      0|    }
 1711|       |
 1712|       |    // Point the bytearray towards the buffer with the remaining data.
 1713|   187k|    PyObject *result = self->ob_bytes_object;
 1714|   187k|    self->ob_bytes_object = remaining;
 1715|   187k|    bytearray_reinit_from_bytes(self, remaining_length);
 1716|   187k|    return result;
 1717|   187k|}
bytearrayobject.c:bytearray_translate_impl:
 1741|      7|{
 1742|      7|    char *input, *output;
 1743|      7|    const char *table_chars;
 1744|      7|    Py_ssize_t i, c;
 1745|      7|    PyObject *input_obj = (PyObject*)self;
 1746|      7|    const char *output_start;
 1747|      7|    Py_ssize_t inlen;
 1748|      7|    PyObject *result = NULL;
 1749|      7|    int trans_table[256];
 1750|      7|    Py_buffer vtable, vdel;
 1751|       |
 1752|      7|    if (table == Py_None) {
  ------------------
  |  |  616|      7|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1752:9): [True: 0, False: 7]
  ------------------
 1753|      0|        table_chars = NULL;
 1754|      0|        table = NULL;
 1755|      7|    } else if (PyObject_GetBuffer(table, &vtable, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      7|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1755:16): [True: 0, False: 7]
  ------------------
 1756|      0|        return NULL;
 1757|      7|    } else {
 1758|      7|        if (vtable.len != 256) {
  ------------------
  |  Branch (1758:13): [True: 0, False: 7]
  ------------------
 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|      7|        table_chars = (const char*)vtable.buf;
 1765|      7|    }
 1766|       |
 1767|      7|    if (deletechars != NULL) {
  ------------------
  |  Branch (1767:9): [True: 0, False: 7]
  ------------------
 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|      7|    else {
 1775|      7|        vdel.buf = NULL;
 1776|      7|        vdel.len = 0;
 1777|      7|    }
 1778|       |
 1779|      7|    inlen = PyByteArray_GET_SIZE(input_obj);
  ------------------
  |  |   38|      7|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1780|      7|    result = PyByteArray_FromStringAndSize((char *)NULL, inlen);
 1781|      7|    if (result == NULL)
  ------------------
  |  Branch (1781:9): [True: 0, False: 7]
  ------------------
 1782|      0|        goto done;
 1783|      7|    output_start = output = PyByteArray_AS_STRING(result);
  ------------------
  |  |   28|      7|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1784|      7|    input = PyByteArray_AS_STRING(input_obj);
  ------------------
  |  |   28|      7|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1785|       |
 1786|      7|    if (vdel.len == 0 && table_chars != NULL) {
  ------------------
  |  Branch (1786:9): [True: 7, False: 0]
  |  Branch (1786:26): [True: 7, False: 0]
  ------------------
 1787|       |        /* If no deletions are required, use faster code */
 1788|  3.33k|        for (i = inlen; --i >= 0; ) {
  ------------------
  |  Branch (1788:25): [True: 3.32k, False: 7]
  ------------------
 1789|  3.32k|            c = Py_CHARMASK(*input++);
  ------------------
  |  |  170|  3.32k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1790|  3.32k|            *output++ = table_chars[c];
 1791|  3.32k|        }
 1792|      7|        goto done;
 1793|      7|    }
 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|      7|done:
 1819|      7|    if (table != NULL)
  ------------------
  |  Branch (1819:9): [True: 7, False: 0]
  ------------------
 1820|      7|        PyBuffer_Release(&vtable);
 1821|      7|    if (deletechars != NULL)
  ------------------
  |  Branch (1821:9): [True: 0, False: 7]
  ------------------
 1822|      0|        PyBuffer_Release(&vdel);
 1823|      7|    return result;
 1824|      0|}
bytearrayobject.c:bytearray___init___impl:
 1001|   199k|{
 1002|   199k|    Py_ssize_t count;
 1003|   199k|    PyObject *it;
 1004|   199k|    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|   199k|    if (!_canresize(self)) {
  ------------------
  |  Branch (1008:9): [True: 0, False: 199k]
  ------------------
 1009|      0|        return -1;
 1010|      0|    }
 1011|       |
 1012|       |    /* Empty any previous contents (do this first of all!). */
 1013|   199k|    if (PyByteArray_Resize((PyObject *)self, 0) < 0) {
  ------------------
  |  Branch (1013:9): [True: 0, False: 199k]
  ------------------
 1014|      0|        return -1;
 1015|      0|    }
 1016|   199k|    assert(self->ob_bytes_object == Py_GetConstantBorrowed(Py_CONSTANT_EMPTY_BYTES));
  ------------------
  |  Branch (1016:5): [True: 199k, False: 0]
  ------------------
 1017|   199k|    assert(self->ob_exports == 0);
  ------------------
  |  Branch (1017:5): [True: 199k, False: 0]
  ------------------
 1018|       |
 1019|       |    /* Make a quick exit if no first argument */
 1020|   199k|    if (arg == NULL) {
  ------------------
  |  Branch (1020:9): [True: 199k, False: 18]
  ------------------
 1021|   199k|        if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (1021:13): [True: 0, False: 199k]
  |  Branch (1021:33): [True: 0, False: 199k]
  ------------------
 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|   199k|        return 0;
 1029|   199k|    }
 1030|       |
 1031|     18|    if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     18|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     18|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|     18|    if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (1064:9): [True: 0, False: 18]
  |  Branch (1064:29): [True: 0, False: 18]
  ------------------
 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|     18|    if (_PyIndex_Check(arg)) {
  ------------------
  |  Branch (1073:9): [True: 18, False: 0]
  ------------------
 1074|     18|        count = PyNumber_AsSsize_t(arg, PyExc_OverflowError);
 1075|     18|        if (count == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1075:13): [True: 0, False: 18]
  |  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|     18|        else {
 1081|     18|            if (count < 0) {
  ------------------
  |  Branch (1081:17): [True: 0, False: 18]
  ------------------
 1082|      0|                PyErr_SetString(PyExc_ValueError, "negative count");
 1083|      0|                return -1;
 1084|      0|            }
 1085|     18|            if (count > 0) {
  ------------------
  |  Branch (1085:17): [True: 18, False: 0]
  ------------------
 1086|     18|                if (PyByteArray_Resize((PyObject *)self, count))
  ------------------
  |  Branch (1086:21): [True: 0, False: 18]
  ------------------
 1087|      0|                    return -1;
 1088|     18|                memset(PyByteArray_AS_STRING(self), 0, count);
  ------------------
  |  |   28|     18|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1089|     18|            }
 1090|     18|            return 0;
 1091|     18|        }
 1092|     18|    }
 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|   199k|{
  976|   199k|    PyObject *op = PyType_GenericNew(type, args, kwds);
  977|   199k|    if (op == NULL) {
  ------------------
  |  Branch (977:9): [True: 0, False: 199k]
  ------------------
  978|      0|        return NULL;
  979|      0|    }
  980|   199k|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|   199k|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|   199k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (980:31): [True: 199k, False: 0]
  ------------------
  981|   199k|    self->ob_bytes_object = Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|   199k|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
  982|   199k|    bytearray_reinit_from_bytes(self, 0);
  983|   199k|    self->ob_exports = 0;
  984|   199k|    return op;
  985|   199k|}
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|   223k|{
  253|   223k|    Py_ssize_t i;
  254|       |
  255|  2.44M|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (255:17): [True: 2.22M, False: 223k]
  ------------------
  256|  2.22M|        result[i] = Py_TOLOWER((unsigned char) cptr[i]);
  ------------------
  |  |   32|  2.22M|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|  2.22M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  257|  2.22M|    }
  258|   223k|}
_Py_bytes_upper:
  268|  15.2k|{
  269|  15.2k|    Py_ssize_t i;
  270|       |
  271|   283k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (271:17): [True: 268k, False: 15.2k]
  ------------------
  272|   268k|        result[i] = Py_TOUPPER((unsigned char) cptr[i]);
  ------------------
  |  |   33|   268k|#define Py_TOUPPER(c) (_Py_ctype_toupper[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|   268k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  273|   268k|    }
  274|  15.2k|}
_Py_bytes_find:
  516|  8.29k|{
  517|  8.29k|    Py_ssize_t result = find_internal(str, len, "find", sub, start, end, +1);
  518|  8.29k|    if (result == -2)
  ------------------
  |  Branch (518:9): [True: 0, False: 8.29k]
  ------------------
  519|      0|        return NULL;
  520|  8.29k|    return PyLong_FromSsize_t(result);
  521|  8.29k|}
_Py_bytes_rfind:
  541|  15.1k|{
  542|  15.1k|    Py_ssize_t result = find_internal(str, len, "rfind", sub, start, end, -1);
  543|  15.1k|    if (result == -2)
  ------------------
  |  Branch (543:9): [True: 0, False: 15.1k]
  ------------------
  544|      0|        return NULL;
  545|  15.1k|    return PyLong_FromSsize_t(result);
  546|  15.1k|}
_Py_bytes_contains:
  604|  1.02k|{
  605|  1.02k|    Py_ssize_t ival = PyNumber_AsSsize_t(arg, NULL);
  606|  1.02k|    if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (606:9): [True: 1.02k, False: 0]
  |  Branch (606:23): [True: 1.02k, False: 0]
  ------------------
  607|  1.02k|        Py_buffer varg;
  608|  1.02k|        Py_ssize_t pos;
  609|  1.02k|        PyErr_Clear();
  610|  1.02k|        if (PyObject_GetBuffer(arg, &varg, PyBUF_SIMPLE) != 0)
  ------------------
  |  |  108|  1.02k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (610:13): [True: 0, False: 1.02k]
  ------------------
  611|      0|            return -1;
  612|  1.02k|        pos = stringlib_find(str, len,
  613|  1.02k|                             varg.buf, varg.len, 0);
  614|  1.02k|        PyBuffer_Release(&varg);
  615|  1.02k|        return pos >= 0;
  616|  1.02k|    }
  617|      0|    if (ival < 0 || ival >= 256) {
  ------------------
  |  Branch (617:9): [True: 0, False: 0]
  |  Branch (617:21): [True: 0, False: 0]
  ------------------
  618|      0|        PyErr_SetString(PyExc_ValueError, "byte must be in range(0, 256)");
  619|      0|        return -1;
  620|      0|    }
  621|       |
  622|      0|    return memchr(str, (int) ival, len) != NULL;
  623|      0|}
_Py_bytes_startswith:
  712|   151k|{
  713|   151k|    return _Py_bytes_tailmatch(str, len, "startswith", subobj, start, end, -1);
  714|   151k|}
bytes_methods.c:find_internal:
  458|  23.4k|{
  459|  23.4k|    char byte;
  460|  23.4k|    Py_buffer subbuf;
  461|  23.4k|    const char *sub;
  462|  23.4k|    Py_ssize_t sub_len;
  463|  23.4k|    Py_ssize_t res;
  464|       |
  465|  23.4k|    if (!parse_args_finds_byte(function_name, &subobj, &byte)) {
  ------------------
  |  Branch (465:9): [True: 0, False: 23.4k]
  ------------------
  466|      0|        return -2;
  467|      0|    }
  468|       |
  469|  23.4k|    if (subobj) {
  ------------------
  |  Branch (469:9): [True: 23.3k, False: 78]
  ------------------
  470|  23.3k|        if (PyObject_GetBuffer(subobj, &subbuf, PyBUF_SIMPLE) != 0)
  ------------------
  |  |  108|  23.3k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (470:13): [True: 0, False: 23.3k]
  ------------------
  471|      0|            return -2;
  472|       |
  473|  23.3k|        sub = subbuf.buf;
  474|  23.3k|        sub_len = subbuf.len;
  475|  23.3k|    }
  476|     78|    else {
  477|     78|        sub = &byte;
  478|     78|        sub_len = 1;
  479|     78|    }
  480|       |
  481|  23.4k|    ADJUST_INDICES(start, end, len);
  ------------------
  |  |  435|  23.4k|    do {                                \
  |  |  436|  23.4k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (436:13): [True: 23.4k, False: 0]
  |  |  ------------------
  |  |  437|  23.4k|            end = len;                  \
  |  |  438|  23.4k|        }                               \
  |  |  439|  23.4k|        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|  23.4k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (445:13): [True: 0, False: 23.4k]
  |  |  ------------------
  |  |  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|  23.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (451:14): [Folded, False: 23.4k]
  |  |  ------------------
  ------------------
  482|  23.4k|    if (end - start < sub_len)
  ------------------
  |  Branch (482:9): [True: 17, False: 23.4k]
  ------------------
  483|     17|        res = -1;
  484|  23.4k|    else if (sub_len == 1) {
  ------------------
  |  Branch (484:14): [True: 23.4k, False: 0]
  ------------------
  485|  23.4k|        if (dir > 0)
  ------------------
  |  Branch (485:13): [True: 8.28k, False: 15.1k]
  ------------------
  486|  8.28k|            res = stringlib_find_char(
  487|  8.28k|                str + start, end - start,
  488|  8.28k|                *sub);
  489|  15.1k|        else
  490|  15.1k|            res = stringlib_rfind_char(
  491|  15.1k|                str + start, end - start,
  492|  15.1k|                *sub);
  493|  23.4k|        if (res >= 0)
  ------------------
  |  Branch (493:13): [True: 10.9k, False: 12.5k]
  ------------------
  494|  10.9k|            res += start;
  495|  23.4k|    }
  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|  23.4k|    if (subobj)
  ------------------
  |  Branch (507:9): [True: 23.3k, False: 78]
  ------------------
  508|  23.3k|        PyBuffer_Release(&subbuf);
  509|       |
  510|  23.4k|    return res;
  511|  23.4k|}
bytes_methods.c:parse_args_finds_byte:
  406|  23.4k|{
  407|  23.4k|    if (PyObject_CheckBuffer(*subobj)) {
  ------------------
  |  Branch (407:9): [True: 23.3k, False: 78]
  ------------------
  408|  23.3k|        return 1;
  409|  23.3k|    }
  410|       |
  411|     78|    if (!_PyIndex_Check(*subobj)) {
  ------------------
  |  Branch (411:9): [True: 0, False: 78]
  ------------------
  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|     78|    Py_ssize_t ival = PyNumber_AsSsize_t(*subobj, NULL);
  420|     78|    if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (420:9): [True: 0, False: 78]
  |  Branch (420:23): [True: 0, False: 0]
  ------------------
  421|      0|        return 0;
  422|      0|    }
  423|     78|    if (ival < 0 || ival > 255) {
  ------------------
  |  Branch (423:9): [True: 0, False: 78]
  |  Branch (423:21): [True: 0, False: 78]
  ------------------
  424|      0|        PyErr_SetString(PyExc_ValueError, "byte must be in range(0, 256)");
  425|      0|        return 0;
  426|      0|    }
  427|       |
  428|     78|    *subobj = NULL;
  429|     78|    *byte = (char)ival;
  430|     78|    return 1;
  431|     78|}
bytes_methods.c:_Py_bytes_tailmatch:
  681|   151k|{
  682|   151k|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|   151k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   151k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 151k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  683|      0|        Py_ssize_t i;
  684|      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 (684:21): [True: 0, False: 0]
  ------------------
  685|      0|            PyObject *item = PyTuple_GET_ITEM(subobj, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (685:30): [True: 0, False: 0]
  ------------------
  686|      0|            int result = tailmatch(str, len, item, start, end, direction);
  687|      0|            if (result < 0) {
  ------------------
  |  Branch (687:17): [True: 0, False: 0]
  ------------------
  688|      0|                return NULL;
  689|      0|            }
  690|      0|            else if (result) {
  ------------------
  |  Branch (690:22): [True: 0, False: 0]
  ------------------
  691|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  692|      0|            }
  693|      0|        }
  694|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  695|      0|    }
  696|   151k|    int result = tailmatch(str, len, subobj, start, end, direction);
  697|   151k|    if (result == -1) {
  ------------------
  |  Branch (697:9): [True: 0, False: 151k]
  ------------------
  698|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (698:13): [True: 0, False: 0]
  ------------------
  699|      0|            PyErr_Format(PyExc_TypeError,
  700|      0|                         "%s first arg must be bytes or a tuple of bytes, "
  701|      0|                         "not %s",
  702|      0|                         function_name, Py_TYPE(subobj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  703|      0|        }
  704|      0|        return NULL;
  705|      0|    }
  706|   151k|    return PyBool_FromLong(result);
  707|   151k|}
bytes_methods.c:tailmatch:
  633|   151k|{
  634|   151k|    Py_buffer sub_view = {NULL, NULL};
  635|   151k|    const char *sub;
  636|   151k|    Py_ssize_t slen;
  637|       |
  638|   151k|    if (PyBytes_Check(substr)) {
  ------------------
  |  |   28|   151k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   151k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 151k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  639|   151k|        sub = PyBytes_AS_STRING(substr);
  ------------------
  |  |   27|   151k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   151k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|   151k|        slen = PyBytes_GET_SIZE(substr);
  ------------------
  |  |   33|   151k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   151k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  641|   151k|    }
  642|      0|    else {
  643|      0|        if (PyObject_GetBuffer(substr, &sub_view, PyBUF_SIMPLE) != 0)
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (643:13): [True: 0, False: 0]
  ------------------
  644|      0|            return -1;
  645|      0|        sub = sub_view.buf;
  646|      0|        slen = sub_view.len;
  647|      0|    }
  648|       |
  649|   151k|    ADJUST_INDICES(start, end, len);
  ------------------
  |  |  435|   151k|    do {                                \
  |  |  436|   151k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (436:13): [True: 151k, False: 0]
  |  |  ------------------
  |  |  437|   151k|            end = len;                  \
  |  |  438|   151k|        }                               \
  |  |  439|   151k|        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|   151k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (445:13): [True: 0, False: 151k]
  |  |  ------------------
  |  |  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|   151k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (451:14): [Folded, False: 151k]
  |  |  ------------------
  ------------------
  650|       |
  651|   151k|    if (direction < 0) {
  ------------------
  |  Branch (651:9): [True: 151k, False: 0]
  ------------------
  652|       |        /* startswith */
  653|   151k|        if (start > len - slen)
  ------------------
  |  Branch (653:13): [True: 125k, False: 25.9k]
  ------------------
  654|   125k|            goto notfound;
  655|   151k|    } else {
  656|       |        /* endswith */
  657|      0|        if (end - start < slen || start > len)
  ------------------
  |  Branch (657:13): [True: 0, False: 0]
  |  Branch (657:35): [True: 0, False: 0]
  ------------------
  658|      0|            goto notfound;
  659|       |
  660|      0|        if (end - slen > start)
  ------------------
  |  Branch (660:13): [True: 0, False: 0]
  ------------------
  661|      0|            start = end - slen;
  662|      0|    }
  663|  25.9k|    if (end - start < slen)
  ------------------
  |  Branch (663:9): [True: 0, False: 25.9k]
  ------------------
  664|      0|        goto notfound;
  665|  25.9k|    if (memcmp(str + start, sub, slen) != 0)
  ------------------
  |  Branch (665:9): [True: 10.9k, False: 15.0k]
  ------------------
  666|  10.9k|        goto notfound;
  667|       |
  668|  15.0k|    PyBuffer_Release(&sub_view);
  669|  15.0k|    return 1;
  670|       |
  671|   136k|notfound:
  672|   136k|    PyBuffer_Release(&sub_view);
  673|   136k|    return 0;
  674|  25.9k|}

PyBytes_FromStringAndSize:
  197|  2.49M|{
  198|  2.49M|    if (size < 0) {
  ------------------
  |  Branch (198:9): [True: 0, False: 2.49M]
  ------------------
  199|      0|        PyErr_SetString(PyExc_SystemError,
  200|      0|            "Negative size passed to PyBytes_FromStringAndSize");
  201|      0|        return NULL;
  202|      0|    }
  203|       |
  204|  2.49M|    if (str != NULL) {
  ------------------
  |  Branch (204:9): [True: 2.06M, False: 429k]
  ------------------
  205|  2.06M|        return _PyBytes_FromStringAndSize(str, size);
  206|  2.06M|    }
  207|   429k|    else {
  208|   429k|        if (size == 0) {
  ------------------
  |  Branch (208:13): [True: 324k, False: 105k]
  ------------------
  209|   324k|            return bytes_get_empty();
  210|   324k|        }
  211|   105k|        return bytes_alloc(size);
  212|   429k|    }
  213|  2.49M|}
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_DecodeEscape2:
 1236|  2.80k|{
 1237|  2.80k|    PyBytesWriter *writer = PyBytesWriter_Create(len);
 1238|  2.80k|    if (writer == NULL) {
  ------------------
  |  Branch (1238:9): [True: 0, False: 2.80k]
  ------------------
 1239|      0|        return NULL;
 1240|      0|    }
 1241|  2.80k|    char *p = PyBytesWriter_GetData(writer);
 1242|       |
 1243|  2.80k|    *first_invalid_escape_char = -1;
 1244|  2.80k|    *first_invalid_escape_ptr = NULL;
 1245|       |
 1246|  2.80k|    const char *end = s + len;
 1247|  77.8k|    while (s < end) {
  ------------------
  |  Branch (1247:12): [True: 75.0k, False: 2.80k]
  ------------------
 1248|  75.0k|        if (*s != '\\') {
  ------------------
  |  Branch (1248:13): [True: 61.5k, False: 13.4k]
  ------------------
 1249|  61.5k|            *p++ = *s++;
 1250|  61.5k|            continue;
 1251|  61.5k|        }
 1252|       |
 1253|  13.4k|        s++;
 1254|  13.4k|        if (s == end) {
  ------------------
  |  Branch (1254:13): [True: 0, False: 13.4k]
  ------------------
 1255|      0|            PyErr_SetString(PyExc_ValueError,
 1256|      0|                            "Trailing \\ in string");
 1257|      0|            goto failed;
 1258|      0|        }
 1259|       |
 1260|  13.4k|        switch (*s++) {
 1261|       |        /* XXX This assumes ASCII! */
 1262|    186|        case '\n': break;
  ------------------
  |  Branch (1262:9): [True: 186, False: 13.2k]
  ------------------
 1263|    806|        case '\\': *p++ = '\\'; break;
  ------------------
  |  Branch (1263:9): [True: 806, False: 12.6k]
  ------------------
 1264|    143|        case '\'': *p++ = '\''; break;
  ------------------
  |  Branch (1264:9): [True: 143, False: 13.3k]
  ------------------
 1265|     86|        case '\"': *p++ = '\"'; break;
  ------------------
  |  Branch (1265:9): [True: 86, False: 13.3k]
  ------------------
 1266|    212|        case 'b': *p++ = '\b'; break;
  ------------------
  |  Branch (1266:9): [True: 212, False: 13.2k]
  ------------------
 1267|    207|        case 'f': *p++ = '\014'; break; /* FF */
  ------------------
  |  Branch (1267:9): [True: 207, False: 13.2k]
  ------------------
 1268|    962|        case 't': *p++ = '\t'; break;
  ------------------
  |  Branch (1268:9): [True: 962, False: 12.4k]
  ------------------
 1269|    346|        case 'n': *p++ = '\n'; break;
  ------------------
  |  Branch (1269:9): [True: 346, False: 13.1k]
  ------------------
 1270|    534|        case 'r': *p++ = '\r'; break;
  ------------------
  |  Branch (1270:9): [True: 534, False: 12.9k]
  ------------------
 1271|    344|        case 'v': *p++ = '\013'; break; /* VT */
  ------------------
  |  Branch (1271:9): [True: 344, False: 13.1k]
  ------------------
 1272|    346|        case 'a': *p++ = '\007'; break; /* BEL, not classic C */
  ------------------
  |  Branch (1272:9): [True: 346, False: 13.1k]
  ------------------
 1273|  3.83k|        case '0': case '1': case '2': case '3':
  ------------------
  |  Branch (1273:9): [True: 565, False: 12.8k]
  |  Branch (1273:19): [True: 869, False: 12.5k]
  |  Branch (1273:29): [True: 1.88k, False: 11.5k]
  |  Branch (1273:39): [True: 520, False: 12.9k]
  ------------------
 1274|  7.53k|        case '4': case '5': case '6': case '7':
  ------------------
  |  Branch (1274:9): [True: 522, False: 12.9k]
  |  Branch (1274:19): [True: 940, False: 12.5k]
  |  Branch (1274:29): [True: 1.30k, False: 12.1k]
  |  Branch (1274:39): [True: 934, False: 12.5k]
  ------------------
 1275|  7.53k|        {
 1276|  7.53k|            int c = s[-1] - '0';
 1277|  7.53k|            if (s < end && '0' <= *s && *s <= '7') {
  ------------------
  |  Branch (1277:17): [True: 6.79k, False: 743]
  |  Branch (1277:28): [True: 4.69k, False: 2.10k]
  |  Branch (1277:41): [True: 3.01k, False: 1.67k]
  ------------------
 1278|  3.01k|                c = (c<<3) + *s++ - '0';
 1279|  3.01k|                if (s < end && '0' <= *s && *s <= '7')
  ------------------
  |  Branch (1279:21): [True: 2.69k, False: 324]
  |  Branch (1279:32): [True: 2.34k, False: 342]
  |  Branch (1279:45): [True: 1.24k, False: 1.10k]
  ------------------
 1280|  1.24k|                    c = (c<<3) + *s++ - '0';
 1281|  3.01k|            }
 1282|  7.53k|            if (c > 0377) {
  ------------------
  |  Branch (1282:17): [True: 959, False: 6.57k]
  ------------------
 1283|    959|                if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (1283:21): [True: 486, False: 473]
  ------------------
 1284|    486|                    *first_invalid_escape_char = c;
 1285|       |                    /* Back up 3 chars, since we've already incremented s. */
 1286|    486|                    *first_invalid_escape_ptr = s - 3;
 1287|    486|                }
 1288|    959|            }
 1289|  7.53k|            *p++ = c;
 1290|  7.53k|            break;
 1291|  6.60k|        }
 1292|     54|        case 'x':
  ------------------
  |  Branch (1292:9): [True: 54, False: 13.4k]
  ------------------
 1293|     54|            if (s+1 < end) {
  ------------------
  |  Branch (1293:17): [True: 52, False: 2]
  ------------------
 1294|     52|                int digit1, digit2;
 1295|     52|                digit1 = _PyLong_DigitValue[Py_CHARMASK(s[0])];
  ------------------
  |  |  170|     52|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1296|     52|                digit2 = _PyLong_DigitValue[Py_CHARMASK(s[1])];
  ------------------
  |  |  170|     52|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1297|     52|                if (digit1 < 16 && digit2 < 16) {
  ------------------
  |  Branch (1297:21): [True: 51, False: 1]
  |  Branch (1297:36): [True: 50, False: 1]
  ------------------
 1298|     50|                    *p++ = (unsigned char)((digit1 << 4) + digit2);
 1299|     50|                    s += 2;
 1300|     50|                    break;
 1301|     50|                }
 1302|     52|            }
 1303|       |            /* invalid hexadecimal digits */
 1304|       |
 1305|      4|            if (!errors || strcmp(errors, "strict") == 0) {
  ------------------
  |  Branch (1305:17): [True: 4, False: 0]
  |  Branch (1305:28): [True: 0, False: 0]
  ------------------
 1306|      4|                PyErr_Format(PyExc_ValueError,
 1307|      4|                             "invalid \\x escape at position %zd",
 1308|      4|                             s - 2 - (end - len));
 1309|      4|                goto failed;
 1310|      4|            }
 1311|      0|            if (strcmp(errors, "replace") == 0) {
  ------------------
  |  Branch (1311:17): [True: 0, False: 0]
  ------------------
 1312|      0|                *p++ = '?';
 1313|      0|            } else if (strcmp(errors, "ignore") == 0)
  ------------------
  |  Branch (1313:24): [True: 0, False: 0]
  ------------------
 1314|      0|                /* do nothing */;
 1315|      0|            else {
 1316|      0|                PyErr_Format(PyExc_ValueError,
 1317|      0|                             "decoding error; unknown "
 1318|      0|                             "error handling code: %.400s",
 1319|      0|                             errors);
 1320|      0|                goto failed;
 1321|      0|            }
 1322|       |            /* skip \x */
 1323|      0|            if (s < end && Py_ISXDIGIT(s[0]))
  ------------------
  |  |   25|      0|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  170|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |   14|      0|#define PY_CTF_XDIGIT 0x10
  |  |  ------------------
  |  |  |  Branch (25:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1323:17): [True: 0, False: 0]
  ------------------
 1324|      0|                s++; /* and a hexdigit */
 1325|      0|            break;
 1326|       |
 1327|  1.69k|        default:
  ------------------
  |  Branch (1327:9): [True: 1.69k, False: 11.7k]
  ------------------
 1328|  1.69k|            if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (1328:17): [True: 812, False: 879]
  ------------------
 1329|    812|                *first_invalid_escape_char = (unsigned char)s[-1];
 1330|       |                /* Back up one char, since we've already incremented s. */
 1331|    812|                *first_invalid_escape_ptr = s - 1;
 1332|    812|            }
 1333|  1.69k|            *p++ = '\\';
 1334|  1.69k|            s--;
 1335|  13.4k|        }
 1336|  13.4k|    }
 1337|       |
 1338|  2.80k|    return PyBytesWriter_FinishWithPointer(writer, p);
 1339|       |
 1340|      4|  failed:
 1341|      4|    PyBytesWriter_Discard(writer);
 1342|       |    return NULL;
 1343|  2.80k|}
PyBytes_Size:
 1387|  9.08k|{
 1388|  9.08k|    if (!PyBytes_Check(op)) {
  ------------------
  |  |   28|  9.08k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.08k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1388:9): [True: 0, False: 9.08k]
  ------------------
 1389|      0|        PyErr_Format(PyExc_TypeError,
 1390|      0|             "expected bytes, %.200s found", Py_TYPE(op)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1391|      0|        return -1;
 1392|      0|    }
 1393|  9.08k|    return Py_SIZE(op);
  ------------------
  |  |  214|  9.08k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1394|  9.08k|}
PyBytes_AsString:
 1398|  2.37M|{
 1399|  2.37M|    if (!PyBytes_Check(op)) {
  ------------------
  |  |   28|  2.37M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.37M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1399:9): [True: 0, False: 2.37M]
  ------------------
 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|  2.37M|    return ((PyBytesObject *)op)->ob_sval;
 1405|  2.37M|}
PyBytes_AsStringAndSize:
 1411|   100k|{
 1412|   100k|    if (s == NULL) {
  ------------------
  |  Branch (1412:9): [True: 0, False: 100k]
  ------------------
 1413|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1414|      0|        return -1;
 1415|      0|    }
 1416|       |
 1417|   100k|    if (!PyBytes_Check(obj)) {
  ------------------
  |  |   28|   100k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   100k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1417:9): [True: 0, False: 100k]
  ------------------
 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|   100k|    *s = PyBytes_AS_STRING(obj);
  ------------------
  |  |   27|   100k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|   100k|    if (len != NULL)
  ------------------
  |  Branch (1424:9): [True: 100k, False: 10]
  ------------------
 1425|   100k|        *len = PyBytes_GET_SIZE(obj);
  ------------------
  |  |   33|   100k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   100k|#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|   100k|    return 0;
 1432|   100k|}
PyBytes_Repr:
 1491|  3.16k|{
 1492|  3.16k|    return _Py_bytes_repr(PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   27|  3.16k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_repr(PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   33|  3.16k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  3.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1493|  3.16k|                          smartquotes, "bytes");
 1494|  3.16k|}
_Py_bytes_repr:
 1499|  3.16k|{
 1500|  3.16k|    Py_ssize_t i;
 1501|  3.16k|    Py_ssize_t newsize, squotes, dquotes;
 1502|  3.16k|    PyObject *v;
 1503|  3.16k|    unsigned char quote;
 1504|  3.16k|    Py_UCS1 *p;
 1505|       |
 1506|       |    /* Compute size of output string */
 1507|  3.16k|    squotes = dquotes = 0;
 1508|  3.16k|    newsize = 3; /* b'' */
 1509|  37.0k|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (1509:17): [True: 33.8k, False: 3.16k]
  ------------------
 1510|  33.8k|        unsigned char c = data[i];
 1511|  33.8k|        Py_ssize_t incr = 1;
 1512|  33.8k|        switch(c) {
 1513|  1.26k|        case '\'': squotes++; break;
  ------------------
  |  Branch (1513:9): [True: 1.26k, False: 32.6k]
  ------------------
 1514|    140|        case '"':  dquotes++; break;
  ------------------
  |  Branch (1514:9): [True: 140, False: 33.7k]
  ------------------
 1515|    943|        case '\\': case '\t': case '\n': case '\r':
  ------------------
  |  Branch (1515:9): [True: 247, False: 33.6k]
  |  Branch (1515:20): [True: 346, False: 33.5k]
  |  Branch (1515:31): [True: 280, False: 33.6k]
  |  Branch (1515:42): [True: 70, False: 33.8k]
  ------------------
 1516|    943|            incr = 2; break; /* \C */
 1517|  31.5k|        default:
  ------------------
  |  Branch (1517:9): [True: 31.5k, False: 2.34k]
  ------------------
 1518|  31.5k|            if (c < ' ' || c >= 0x7f)
  ------------------
  |  Branch (1518:17): [True: 1.24k, False: 30.2k]
  |  Branch (1518:28): [True: 553, False: 29.7k]
  ------------------
 1519|  1.79k|                incr = 4; /* \xHH */
 1520|  33.8k|        }
 1521|  33.8k|        if (newsize > PY_SSIZE_T_MAX - incr)
  ------------------
  |  |  137|  33.8k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1521:13): [True: 0, False: 33.8k]
  ------------------
 1522|      0|            goto overflow;
 1523|  33.8k|        newsize += incr;
 1524|  33.8k|    }
 1525|  3.16k|    quote = '\'';
 1526|  3.16k|    if (smartquotes && squotes && !dquotes)
  ------------------
  |  Branch (1526:9): [True: 3.16k, False: 0]
  |  Branch (1526:24): [True: 87, False: 3.07k]
  |  Branch (1526:35): [True: 23, False: 64]
  ------------------
 1527|     23|        quote = '"';
 1528|  3.16k|    if (squotes && quote == '\'') {
  ------------------
  |  Branch (1528:9): [True: 87, False: 3.07k]
  |  Branch (1528:20): [True: 64, False: 23]
  ------------------
 1529|     64|        if (newsize > PY_SSIZE_T_MAX - squotes)
  ------------------
  |  |  137|     64|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1529:13): [True: 0, False: 64]
  ------------------
 1530|      0|            goto overflow;
 1531|     64|        newsize += squotes;
 1532|     64|    }
 1533|       |
 1534|  3.16k|    v = PyUnicode_New(newsize, 127);
 1535|  3.16k|    if (v == NULL) {
  ------------------
  |  Branch (1535:9): [True: 0, False: 3.16k]
  ------------------
 1536|      0|        return NULL;
 1537|      0|    }
 1538|  3.16k|    p = PyUnicode_1BYTE_DATA(v);
  ------------------
  |  |  292|  3.16k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  3.16k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1539|       |
 1540|  3.16k|    *p++ = 'b', *p++ = quote;
 1541|  37.0k|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (1541:17): [True: 33.8k, False: 3.16k]
  ------------------
 1542|  33.8k|        unsigned char c = data[i];
 1543|  33.8k|        if (c == quote || c == '\\')
  ------------------
  |  Branch (1543:13): [True: 1.10k, False: 32.7k]
  |  Branch (1543:27): [True: 247, False: 32.5k]
  ------------------
 1544|  1.34k|            *p++ = '\\', *p++ = c;
 1545|  32.5k|        else if (c == '\t')
  ------------------
  |  Branch (1545:18): [True: 346, False: 32.1k]
  ------------------
 1546|    346|            *p++ = '\\', *p++ = 't';
 1547|  32.1k|        else if (c == '\n')
  ------------------
  |  Branch (1547:18): [True: 280, False: 31.9k]
  ------------------
 1548|    280|            *p++ = '\\', *p++ = 'n';
 1549|  31.9k|        else if (c == '\r')
  ------------------
  |  Branch (1549:18): [True: 70, False: 31.8k]
  ------------------
 1550|     70|            *p++ = '\\', *p++ = 'r';
 1551|  31.8k|        else if (c < ' ' || c >= 0x7f) {
  ------------------
  |  Branch (1551:18): [True: 1.24k, False: 30.6k]
  |  Branch (1551:29): [True: 553, False: 30.0k]
  ------------------
 1552|  1.79k|            *p++ = '\\';
 1553|  1.79k|            *p++ = 'x';
 1554|  1.79k|            *p++ = Py_hexdigits[(c & 0xf0) >> 4];
 1555|  1.79k|            *p++ = Py_hexdigits[c & 0xf];
 1556|  1.79k|        }
 1557|  30.0k|        else
 1558|  30.0k|            *p++ = c;
 1559|  33.8k|    }
 1560|  3.16k|    *p++ = quote;
 1561|  3.16k|    assert(_PyUnicode_CheckConsistency(v, 1));
  ------------------
  |  Branch (1561:5): [True: 3.16k, False: 0]
  ------------------
 1562|  3.16k|    return v;
 1563|       |
 1564|      0|  overflow:
 1565|      0|    PyErr_Format(PyExc_OverflowError,
 1566|      0|                 "%s object is too large to make repr", classname);
 1567|       |    return NULL;
 1568|  3.16k|}
_PyBytes_Concat:
 1598|  21.2k|{
 1599|  21.2k|    Py_buffer va, vb;
 1600|  21.2k|    PyObject *result = NULL;
 1601|       |
 1602|  21.2k|    va.len = -1;
 1603|  21.2k|    vb.len = -1;
 1604|  21.2k|    if (PyObject_GetBuffer(a, &va, PyBUF_SIMPLE) != 0 ||
  ------------------
  |  |  108|  21.2k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1604:9): [True: 0, False: 21.2k]
  ------------------
 1605|  21.2k|        PyObject_GetBuffer(b, &vb, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|  21.2k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1605:9): [True: 1.09k, False: 20.1k]
  ------------------
 1606|  1.09k|        PyErr_Format(PyExc_TypeError, "can't concat %.100s to %.100s",
 1607|  1.09k|                     Py_TYPE(b)->tp_name, Py_TYPE(a)->tp_name);
  ------------------
  |  |  213|  1.09k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                   Py_TYPE(b)->tp_name, Py_TYPE(a)->tp_name);
  ------------------
  |  |  213|  1.09k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1608|  1.09k|        goto done;
 1609|  1.09k|    }
 1610|       |
 1611|       |    /* Optimize end cases */
 1612|  20.1k|    if (va.len == 0 && PyBytes_CheckExact(b)) {
  ------------------
  |  |   29|    159|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|    159|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    159|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    159|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 159, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1612:9): [True: 159, False: 20.0k]
  ------------------
 1613|    159|        result = Py_NewRef(b);
  ------------------
  |  |  647|    159|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    159|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    159|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1614|    159|        goto done;
 1615|    159|    }
 1616|  20.0k|    if (vb.len == 0 && PyBytes_CheckExact(a)) {
  ------------------
  |  |   29|    207|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|    207|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    207|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    207|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 207, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1616:9): [True: 207, False: 19.8k]
  ------------------
 1617|    207|        result = Py_NewRef(a);
  ------------------
  |  |  647|    207|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    207|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    207|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1618|    207|        goto done;
 1619|    207|    }
 1620|       |
 1621|  19.8k|    if (va.len > PY_SSIZE_T_MAX - vb.len) {
  ------------------
  |  |  137|  19.8k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1621:9): [True: 0, False: 19.8k]
  ------------------
 1622|      0|        PyErr_NoMemory();
 1623|      0|        goto done;
 1624|      0|    }
 1625|       |
 1626|  19.8k|    if ((va.len + vb.len) != 0) {
  ------------------
  |  Branch (1626:9): [True: 19.8k, False: 0]
  ------------------
 1627|  19.8k|        result = bytes_alloc(va.len + vb.len);
 1628|  19.8k|        if (result != NULL) {
  ------------------
  |  Branch (1628:13): [True: 19.8k, False: 0]
  ------------------
 1629|  19.8k|            memcpy(PyBytes_AS_STRING(result), va.buf, va.len);
  ------------------
  |  |   27|  19.8k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1630|  19.8k|            memcpy(PyBytes_AS_STRING(result) + va.len, vb.buf, vb.len);
  ------------------
  |  |   27|  19.8k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1631|  19.8k|        }
 1632|  19.8k|    }
 1633|      0|    else {
 1634|      0|        result = bytes_get_empty();
 1635|      0|    }
 1636|       |
 1637|  21.2k|  done:
 1638|  21.2k|    if (va.len != -1)
  ------------------
  |  Branch (1638:9): [True: 21.2k, False: 0]
  ------------------
 1639|  21.2k|        PyBuffer_Release(&va);
 1640|  21.2k|    if (vb.len != -1)
  ------------------
  |  Branch (1640:9): [True: 20.1k, False: 1.09k]
  ------------------
 1641|  20.1k|        PyBuffer_Release(&vb);
 1642|  21.2k|    return result;
 1643|  19.8k|}
_PyBytes_Repeat:
 1647|  16.0k|{
 1648|  16.0k|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|  16.0k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  16.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1648:24): [True: 16.0k, False: 0]
  ------------------
 1649|  16.0k|    if (n < 0)
  ------------------
  |  Branch (1649:9): [True: 5.16k, False: 10.8k]
  ------------------
 1650|  5.16k|        n = 0;
 1651|       |    /* watch out for overflows:  the size can overflow int,
 1652|       |     * and the # of bytes needed can overflow size_t
 1653|       |     */
 1654|  16.0k|    if (n > 0 && Py_SIZE(a) > PY_SSIZE_T_MAX / n) {
  ------------------
  |  |  214|  9.06k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (n > 0 && Py_SIZE(a) > PY_SSIZE_T_MAX / n) {
  ------------------
  |  |  137|  9.06k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1654:9): [True: 9.06k, False: 6.98k]
  |  Branch (1654:18): [True: 0, False: 9.06k]
  ------------------
 1655|      0|        PyErr_SetString(PyExc_OverflowError,
 1656|      0|            "repeated bytes are too long");
 1657|      0|        return NULL;
 1658|      0|    }
 1659|  16.0k|    Py_ssize_t old_size = Py_SIZE(a);
  ------------------
  |  |  214|  16.0k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1660|  16.0k|    Py_ssize_t new_size = old_size * n;
 1661|  16.0k|    if (new_size == old_size && PyBytes_CheckExact(a)) {
  ------------------
  |  |   29|  10.0k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  10.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 10.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1661:9): [True: 10.0k, False: 5.96k]
  ------------------
 1662|  10.0k|        return Py_NewRef(a);
  ------------------
  |  |  647|  10.0k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1663|  10.0k|    }
 1664|       |
 1665|  5.96k|    if (new_size == 0) {
  ------------------
  |  Branch (1665:9): [True: 1.76k, False: 4.20k]
  ------------------
 1666|  1.76k|        return bytes_get_empty();
 1667|  1.76k|    }
 1668|       |
 1669|  4.20k|    PyBytesObject *op = (PyBytesObject *)bytes_alloc(new_size);
 1670|  4.20k|    if (op == NULL) {
  ------------------
  |  Branch (1670:9): [True: 0, False: 4.20k]
  ------------------
 1671|      0|        return PyErr_NoMemory();
 1672|      0|    }
 1673|       |
 1674|  4.20k|    _PyBytes_RepeatBuffer(op->ob_sval, new_size, a->ob_sval, old_size);
 1675|  4.20k|    return (PyObject *) op;
 1676|  4.20k|}
PyBytes_FromObject:
 3149|  16.4k|{
 3150|  16.4k|    PyObject *it, *result;
 3151|       |
 3152|  16.4k|    if (x == NULL) {
  ------------------
  |  Branch (3152:9): [True: 0, False: 16.4k]
  ------------------
 3153|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3154|      0|        return NULL;
 3155|      0|    }
 3156|       |
 3157|  16.4k|    if (PyBytes_CheckExact(x)) {
  ------------------
  |  |   29|  16.4k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  16.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 16.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3158|      0|        return 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3159|      0|    }
 3160|       |
 3161|       |    /* Use the modern buffer interface */
 3162|  16.4k|    if (PyObject_CheckBuffer(x))
  ------------------
  |  Branch (3162:9): [True: 16.4k, False: 0]
  ------------------
 3163|  16.4k|        return _PyBytes_FromBuffer(x);
 3164|       |
 3165|      0|    if (PyList_CheckExact(x) || PyTuple_CheckExact(x)) {
  ------------------
  |  |   26|      0|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyList_CheckExact(x) || PyTuple_CheckExact(x)) {
  ------------------
  |  |   28|      0|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3166|      0|        int rc;
 3167|      0|        Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(x);
  ------------------
  |  |   77|      0|# define Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(original) {
  ------------------
 3168|      0|        rc = _PyBytes_FromSequence_lock_held(x, &result);
 3169|      0|        Py_END_CRITICAL_SECTION_SEQUENCE_FAST();
  ------------------
  |  |   78|      0|# define Py_END_CRITICAL_SECTION_SEQUENCE_FAST() }
  ------------------
 3170|      0|        if (rc != 0) {
  ------------------
  |  Branch (3170:13): [True: 0, False: 0]
  ------------------
 3171|      0|            return result;
 3172|      0|        }
 3173|      0|    }
 3174|       |
 3175|      0|    if (!PyUnicode_Check(x)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3175:9): [True: 0, False: 0]
  ------------------
 3176|      0|        it = PyObject_GetIter(x);
 3177|      0|        if (it != NULL) {
  ------------------
  |  Branch (3177:13): [True: 0, False: 0]
  ------------------
 3178|      0|            result = _PyBytes_FromIterator(it, x);
 3179|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3180|      0|            return result;
 3181|      0|        }
 3182|      0|        if (!PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (3182:13): [True: 0, False: 0]
  ------------------
 3183|      0|            return NULL;
 3184|      0|        }
 3185|      0|    }
 3186|       |
 3187|      0|    PyErr_Format(PyExc_TypeError,
 3188|      0|                 "cannot convert '%.200s' object to bytes",
 3189|      0|                 Py_TYPE(x)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3190|       |    return NULL;
 3191|      0|}
_PyBytes_IsMutable:
 3395|  14.0M|{
 3396|  14.0M|    assert(PyBytes_Check(self));
  ------------------
  |  Branch (3396:5): [True: 14.0M, 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|  14.0M|    assert(Py_REFCNT(self) == 1);
  ------------------
  |  Branch (3399:5): [True: 14.0M, False: 0]
  ------------------
 3400|  14.0M|    assert(!_Py_IsImmortal(self));
  ------------------
  |  Branch (3400:5): [True: 14.0M, False: 0]
  ------------------
 3401|       |
 3402|       |    // Check that the object is not a singleton
 3403|  14.0M|    Py_ssize_t size = PyBytes_GET_SIZE(self);
  ------------------
  |  |   33|  14.0M|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  14.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3404|  14.0M|    if (size == 0) {
  ------------------
  |  Branch (3404:9): [True: 0, False: 14.0M]
  ------------------
 3405|      0|        assert(self != bytes_get_empty());
  ------------------
  |  Branch (3405:9): [True: 0, False: 0]
  ------------------
 3406|      0|    }
 3407|  14.0M|    else if (size == 1) {
  ------------------
  |  Branch (3407:14): [True: 690k, False: 13.3M]
  ------------------
 3408|   690k|        unsigned char ch = PyBytes_AS_STRING(self)[0];
  ------------------
  |  |   27|   690k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   690k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   690k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3409|   690k|        assert(self != (PyObject*)CHARACTER(ch));
  ------------------
  |  Branch (3409:9): [True: 690k, False: 0]
  ------------------
 3410|   690k|    }
 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|  14.0M|    assert(get_ob_shash((PyBytesObject *)self) == -1);
  ------------------
  |  Branch (3415:5): [True: 14.0M, False: 0]
  ------------------
 3416|       |
 3417|  14.0M|    return 1;
 3418|  14.0M|}
_PyBytes_ResizeKeepOnError:
 3484|   528k|{
 3485|   528k|    PyObject *v = *pv;
 3486|       |
 3487|   528k|    if (!PyBytes_Check(v) || newsize < 0) {
  ------------------
  |  |   28|   528k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.05M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3487:9): [True: 0, False: 528k]
  |  Branch (3487:30): [True: 0, False: 528k]
  ------------------
 3488|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3489|      0|        return -1;
 3490|      0|    }
 3491|       |
 3492|   528k|    Py_ssize_t oldsize = PyBytes_GET_SIZE(v);
  ------------------
  |  |   33|   528k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   528k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   528k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3493|   528k|    if (oldsize == newsize) {
  ------------------
  |  Branch (3493:9): [True: 178k, False: 349k]
  ------------------
 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|   178k|        return 0;
 3498|   178k|    }
 3499|       |
 3500|   349k|    if (oldsize == 0) {
  ------------------
  |  Branch (3500:9): [True: 187k, False: 162k]
  ------------------
 3501|   187k|        assert(newsize >= 1);
  ------------------
  |  Branch (3501:9): [True: 187k, False: 0]
  ------------------
 3502|   187k|        PyObject *result = bytes_alloc(newsize);
 3503|   187k|        if (result == NULL) {
  ------------------
  |  Branch (3503:13): [True: 0, False: 187k]
  ------------------
 3504|      0|            return -1;
 3505|      0|        }
 3506|   187k|        *pv = result;
 3507|   187k|        Py_DECREF(v);
  ------------------
  |  |  430|   187k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   187k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   187k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3508|   187k|        assert(_PyBytes_IsMutable(*pv));
  ------------------
  |  Branch (3508:9): [True: 187k, False: 0]
  ------------------
 3509|   187k|        return 0;
 3510|   187k|    }
 3511|       |
 3512|   162k|    if (newsize == 0) {
  ------------------
  |  Branch (3512:9): [True: 0, False: 162k]
  ------------------
 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|   162k|    if (!_PyObject_IsUniquelyReferenced(v)
  ------------------
  |  Branch (3518:9): [True: 0, False: 162k]
  ------------------
 3519|       |        // Return a copy if the hash value was already computed
 3520|   162k|        || get_ob_shash((PyBytesObject *)v) != -1)
  ------------------
  |  |   92|   162k|#define get_ob_shash(op) _PyBytes_GET_CACHED_HASH(op)
  ------------------
  |  Branch (3520:12): [True: 0, False: 162k]
  ------------------
 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|   162k|    return bytes_resize_inplace(pv, newsize);
 3538|   162k|}
_PyBytes_RepeatBuffer:
 3715|  8.09k|{
 3716|  8.09k|    if (len_dest == 0) {
  ------------------
  |  Branch (3716:9): [True: 500, False: 7.59k]
  ------------------
 3717|    500|        return;
 3718|    500|    }
 3719|  7.59k|    if (len_src == 1) {
  ------------------
  |  Branch (3719:9): [True: 2.72k, False: 4.87k]
  ------------------
 3720|  2.72k|        memset(dest, src[0], len_dest);
 3721|  2.72k|    }
 3722|  4.87k|    else {
 3723|  4.87k|        if (src != dest) {
  ------------------
  |  Branch (3723:13): [True: 4.87k, False: 0]
  ------------------
 3724|  4.87k|            memcpy(dest, src, len_src);
 3725|  4.87k|        }
 3726|  4.87k|        Py_ssize_t copied = len_src;
 3727|  21.9k|        while (copied < len_dest) {
  ------------------
  |  Branch (3727:16): [True: 17.0k, False: 4.87k]
  ------------------
 3728|  17.0k|            Py_ssize_t bytes_to_copy = Py_MIN(copied, len_dest - copied);
  ------------------
  |  |  127|  17.0k|       __extension__ \
  |  |  128|  17.0k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  17.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  17.0k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  17.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|  17.0k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 12.1k, False: 4.87k]
  |  |  ------------------
  ------------------
 3729|  17.0k|            memcpy(dest + copied, dest, bytes_to_copy);
 3730|  17.0k|            copied += bytes_to_copy;
 3731|  17.0k|        }
 3732|  4.87k|    }
 3733|  7.59k|}
PyBytesWriter_Create:
 3957|   292k|{
 3958|   292k|    return byteswriter_create(size, 0);
 3959|   292k|}
PyBytesWriter_Discard:
 3970|   265k|{
 3971|   265k|    if (writer == NULL) {
  ------------------
  |  Branch (3971:9): [True: 223k, False: 41.8k]
  ------------------
 3972|   223k|        return;
 3973|   223k|    }
 3974|       |
 3975|   265k|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3975:5): [True: 41.8k, False: 0]
  ------------------
 3976|  41.8k|    if (writer->obj != NULL) {
  ------------------
  |  Branch (3976:9): [True: 3.80k, False: 38.0k]
  ------------------
 3977|       |#ifdef Py_DEBUG
 3978|       |        byteswriter_reset_trailing_byte(writer);
 3979|       |#endif
 3980|  3.80k|        Py_DECREF(writer->obj);
  ------------------
  |  |  430|  3.80k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3981|  3.80k|    }
 3982|  41.8k|    _Py_FREELIST_FREE(bytes_writers, writer, PyMem_Free);
  ------------------
  |  |   35|  41.8k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  41.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  41.8k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   30|  41.8k|#  define Py_bytes_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
 3983|  41.8k|}
PyBytesWriter_FinishWithSize:
 4061|   234k|{
 4062|   234k|    if (size < 0) {
  ------------------
  |  Branch (4062:9): [True: 0, False: 234k]
  ------------------
 4063|      0|        PyErr_Format(PyExc_ValueError, "size must be positive");
 4064|      0|        goto error;
 4065|      0|    }
 4066|   234k|    if (size > writer->size) {
  ------------------
  |  Branch (4066:9): [True: 0, False: 234k]
  ------------------
 4067|      0|        PyErr_SetString(PyExc_ValueError, "size larger than allocated size");
 4068|      0|        goto error;
 4069|      0|    }
 4070|   234k|    return byteswriter_finish_with_size(writer, size);
 4071|       |
 4072|      0|error:
 4073|      0|    PyBytesWriter_Discard(writer);
 4074|       |    return NULL;
 4075|   234k|}
PyBytesWriter_Finish:
 4079|  16.7k|{
 4080|  16.7k|    return byteswriter_finish_with_size(writer, writer->size);
 4081|  16.7k|}
PyBytesWriter_FinishWithPointer:
 4086|  11.1k|{
 4087|  11.1k|    Py_ssize_t size = (char*)buf - _PyBytesWriter_GetData(writer);
 4088|       |    // Call PyBytesWriter_FinishWithSize() to check size
 4089|  11.1k|    return PyBytesWriter_FinishWithSize(writer, size);
 4090|  11.1k|}
PyBytesWriter_GetData:
 4095|  11.7M|{
 4096|  11.7M|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (4096:5): [True: 11.7M, False: 0]
  ------------------
 4097|       |
 4098|  11.7M|    return _PyBytesWriter_GetData(writer);
 4099|  11.7M|}
PyBytesWriter_GetSize:
 4104|  5.66M|{
 4105|  5.66M|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (4105:5): [True: 5.66M, False: 0]
  ------------------
 4106|       |
 4107|  5.66M|    return _PyBytesWriter_GetSize(writer);
 4108|  5.66M|}
PyBytesWriter_Resize:
 4113|  96.2k|{
 4114|  96.2k|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (4114:5): [True: 96.2k, False: 0]
  ------------------
 4115|       |
 4116|  96.2k|    if (new_size < 0) {
  ------------------
  |  Branch (4116:9): [True: 0, False: 96.2k]
  ------------------
 4117|      0|        PyErr_SetString(PyExc_ValueError, "size must be >= 0");
 4118|      0|        return -1;
 4119|      0|    }
 4120|  96.2k|    if (writer->size < new_size) {
  ------------------
  |  Branch (4120:9): [True: 96.2k, False: 0]
  ------------------
 4121|  96.2k|        if (byteswriter_resize(writer, new_size, 1) < 0) {
  ------------------
  |  Branch (4121:13): [True: 0, False: 96.2k]
  ------------------
 4122|      0|            return -1;
 4123|      0|        }
 4124|  96.2k|    }
 4125|      0|    else {
 4126|       |        // The buffer is already large enough. Never shrink the buffer.
 4127|      0|    }
 4128|       |
 4129|  96.2k|    writer->size = new_size;
 4130|       |#ifdef Py_DEBUG
 4131|       |    byteswriter_write_canary_byte(writer);
 4132|       |#endif
 4133|  96.2k|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (4133:5): [True: 96.2k, False: 0]
  ------------------
 4134|  96.2k|    return 0;
 4135|  96.2k|}
bytesobject.c:_PyBytes_FromStringAndSize:
  176|  2.10M|{
  177|  2.10M|    assert(str != NULL);
  ------------------
  |  Branch (177:5): [True: 2.10M, False: 0]
  ------------------
  178|  2.10M|    assert(size >= 0);
  ------------------
  |  Branch (178:5): [True: 2.10M, False: 0]
  ------------------
  179|       |
  180|  2.10M|    if (size == 0) {
  ------------------
  |  Branch (180:9): [True: 170k, False: 1.93M]
  ------------------
  181|   170k|        return bytes_get_empty();
  182|   170k|    }
  183|  1.93M|    if (size == 1) {
  ------------------
  |  Branch (183:9): [True: 647k, False: 1.28M]
  ------------------
  184|   647k|        return bytes_get_char((uint8_t)str[0]);
  185|   647k|    }
  186|       |
  187|  1.28M|    PyBytesObject *op = (PyBytesObject *)bytes_alloc(size);
  188|  1.28M|    if (op == NULL) {
  ------------------
  |  Branch (188:9): [True: 0, False: 1.28M]
  ------------------
  189|      0|        return NULL;
  190|      0|    }
  191|  1.28M|    memcpy(op->ob_sval, str, size);
  192|  1.28M|    return (PyObject *) op;
  193|  1.28M|}
bytesobject.c:bytes_get_empty:
   47|   565k|{
   48|   565k|    PyObject *empty = &EMPTY->ob_base.ob_base;
  ------------------
  |  |   41|   565k|#define EMPTY (&_Py_SINGLETON(bytes_empty))
  |  |  ------------------
  |  |  |  |   18|   565k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   565k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|   565k|    assert(_Py_IsImmortal(empty));
  ------------------
  |  Branch (49:5): [True: 565k, False: 0]
  ------------------
   50|   565k|    return empty;
   51|   565k|}
bytesobject.c:bytes_alloc:
  122|  1.79M|{
  123|  1.79M|    assert(size >= 1);
  ------------------
  |  Branch (123:5): [True: 1.79M, False: 0]
  ------------------
  124|       |
  125|  1.79M|    if ((size_t)size > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |  137|  1.79M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if ((size_t)size > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |   30|  1.79M|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|  1.79M|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (125:9): [True: 0, False: 1.79M]
  ------------------
  126|      0|        PyErr_SetString(PyExc_OverflowError,
  127|      0|                        "byte string is too large");
  128|      0|        return NULL;
  129|      0|    }
  130|  1.79M|    size_t alloc = PyBytesObject_SIZE + size;
  ------------------
  |  |   30|  1.79M|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|  1.79M|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  131|       |
  132|       |    /* Inline PyObject_NewVar */
  133|  1.79M|    PyBytesObject *op = (PyBytesObject *)PyObject_Malloc(alloc);
  134|  1.79M|    if (op == NULL) {
  ------------------
  |  Branch (134:9): [True: 0, False: 1.79M]
  ------------------
  135|      0|        return PyErr_NoMemory();
  136|      0|    }
  137|       |
  138|  1.79M|    _PyObject_InitVar(_PyVarObject_CAST(op), &PyBytes_Type, size);
  ------------------
  |  |  182|  1.79M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  139|  1.79M|    set_ob_shash_unsafe(op, -1);
  140|  1.79M|    op->ob_sval[size] = '\0';
  141|  1.79M|    return (PyObject *) op;
  142|  1.79M|}
bytesobject.c:set_ob_shash_unsafe:
   81|  1.79M|{
   82|       |    // Don't test _PyObject_IsUniquelyReferenced(), so the function can be
   83|       |    // called by bytes_resize_inplace().
   84|  1.79M|    assert(Py_REFCNT(a) == 1);
  ------------------
  |  Branch (84:5): [True: 1.79M, False: 0]
  ------------------
   85|       |
   86|  1.79M|_Py_COMP_DIAG_PUSH
   87|  1.79M|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   88|  1.79M|    a->ob_shash = hash;
   89|  1.79M|_Py_COMP_DIAG_POP
   90|  1.79M|}
bytesobject.c:bytes_get_char:
   57|   648k|{
   58|   648k|    PyObject *obj = (PyObject*)CHARACTER(ch);
  ------------------
  |  |   40|   648k|     ((PyBytesObject *)&(CHARACTERS[ch]))
  |  |  ------------------
  |  |  |  |   38|   648k|#define CHARACTERS _Py_SINGLETON(bytes_characters)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|   648k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|   648k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   59|   648k|    assert(_Py_IsImmortal(obj));
  ------------------
  |  Branch (59:5): [True: 648k, False: 0]
  ------------------
   60|   648k|    return obj;
   61|   648k|}
bytesobject.c:_PyBytes_FromBuffer:
 3026|  16.4k|{
 3027|  16.4k|    Py_buffer view;
 3028|  16.4k|    if (PyObject_GetBuffer(x, &view, PyBUF_FULL_RO) < 0)
  ------------------
  |  |  134|  16.4k|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|  16.4k|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  16.4k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  16.4k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|  16.4k|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (3028:9): [True: 0, False: 16.4k]
  ------------------
 3029|      0|        return NULL;
 3030|       |
 3031|  16.4k|    PyBytesWriter *writer = PyBytesWriter_Create(view.len);
 3032|  16.4k|    if (writer == NULL) {
  ------------------
  |  Branch (3032:9): [True: 0, False: 16.4k]
  ------------------
 3033|      0|        goto fail;
 3034|      0|    }
 3035|       |
 3036|  16.4k|    if (PyBuffer_ToContiguous(PyBytesWriter_GetData(writer),
  ------------------
  |  Branch (3036:9): [True: 0, False: 16.4k]
  ------------------
 3037|  16.4k|                              &view, view.len, 'C') < 0) {
 3038|      0|        goto fail;
 3039|      0|    }
 3040|       |
 3041|  16.4k|    PyBuffer_Release(&view);
 3042|  16.4k|    return PyBytesWriter_Finish(writer);
 3043|       |
 3044|      0|fail:
 3045|      0|    PyBytesWriter_Discard(writer);
 3046|      0|    PyBuffer_Release(&view);
 3047|       |    return NULL;
 3048|  16.4k|}
bytesobject.c:byteswriter_allocated:
 3748|   100k|{
 3749|   100k|    if (writer->obj == NULL) {
  ------------------
  |  Branch (3749:9): [True: 79.6k, False: 21.0k]
  ------------------
 3750|       |        // Reserve the last byte for the canary byte
 3751|  79.6k|        return sizeof(writer->small_buffer) - 1;
 3752|  79.6k|    }
 3753|  21.0k|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (3753:14): [True: 0, False: 21.0k]
  ------------------
 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|  21.0k|    else {
 3757|  21.0k|        return PyBytes_GET_SIZE(writer->obj);
  ------------------
  |  |   33|  21.0k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  21.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3758|  21.0k|    }
 3759|   100k|}
bytesobject.c:bytes_repr:
 1572|  3.16k|{
 1573|  3.16k|    return PyBytes_Repr(op, 1);
 1574|  3.16k|}
bytesobject.c:bytes_mod:
 2909|    131|{
 2910|    131|    if (!PyBytes_Check(self)) {
  ------------------
  |  |   28|    131|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    131|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2910:9): [True: 131, False: 0]
  ------------------
 2911|    131|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|    131|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|    131|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2912|    131|    }
 2913|      0|    return _PyBytes_FormatEx(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _PyBytes_FormatEx(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2914|      0|                             arg, 0);
 2915|    131|}
bytesobject.c:bytes_length:
 1590|   354k|{
 1591|   354k|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|   354k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   354k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1591:24): [True: 354k, False: 0]
  ------------------
 1592|   354k|    return Py_SIZE(a);
  ------------------
  |  |  214|   354k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   354k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   354k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1593|   354k|}
bytesobject.c:bytes_contains:
 1680|  1.02k|{
 1681|  1.02k|    return _Py_bytes_contains(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), arg);
  ------------------
  |  |   27|  1.02k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_contains(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), arg);
  ------------------
  |  |   33|  1.02k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  1.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1682|  1.02k|}
bytesobject.c:bytes_subscript:
 1790|   649k|{
 1791|   649k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   649k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   649k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1791:27): [True: 649k, False: 0]
  ------------------
 1792|   649k|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (1792:9): [True: 610k, False: 38.2k]
  ------------------
 1793|   610k|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 1794|   610k|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1794:13): [True: 676, False: 610k]
  |  Branch (1794:24): [True: 322, False: 354]
  ------------------
 1795|    322|            return NULL;
 1796|   610k|        if (i < 0)
  ------------------
  |  Branch (1796:13): [True: 1.05k, False: 609k]
  ------------------
 1797|  1.05k|            i += PyBytes_GET_SIZE(self);
  ------------------
  |  |   33|  1.05k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  1.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1798|   610k|        if (i < 0 || i >= PyBytes_GET_SIZE(self)) {
  ------------------
  |  |   33|   609k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   609k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   609k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1798:13): [True: 704, False: 609k]
  |  Branch (1798:22): [True: 616, False: 609k]
  ------------------
 1799|  1.32k|            PyErr_SetString(PyExc_IndexError,
 1800|  1.32k|                            "index out of range");
 1801|  1.32k|            return NULL;
 1802|  1.32k|        }
 1803|   609k|        return _PyLong_FromUnsignedChar((unsigned char)self->ob_sval[i]);
 1804|   610k|    }
 1805|  38.2k|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|  38.2k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  38.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  38.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  38.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 38.1k, False: 62]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1806|  38.1k|        Py_ssize_t start, stop, step, slicelength, i;
 1807|  38.1k|        size_t cur;
 1808|  38.1k|        const char* source_buf;
 1809|  38.1k|        char* result_buf;
 1810|       |
 1811|  38.1k|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (1811:13): [True: 375, False: 37.8k]
  ------------------
 1812|    375|            return NULL;
 1813|    375|        }
 1814|  37.8k|        slicelength = PySlice_AdjustIndices(PyBytes_GET_SIZE(self), &start,
  ------------------
  |  |   33|  37.8k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  37.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1815|  37.8k|                                            &stop, step);
 1816|       |
 1817|  37.8k|        if (slicelength <= 0) {
  ------------------
  |  Branch (1817:13): [True: 88, False: 37.7k]
  ------------------
 1818|     88|            return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|     88|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 1819|     88|        }
 1820|  37.7k|        else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (1820:18): [True: 3.14k, False: 34.5k]
  |  Branch (1820:32): [True: 3.06k, False: 84]
  ------------------
 1821|  3.06k|                 slicelength == PyBytes_GET_SIZE(self) &&
  ------------------
  |  |   33|  40.7k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  3.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1821:18): [True: 124, False: 2.94k]
  ------------------
 1822|    124|                 PyBytes_CheckExact(self)) {
  ------------------
  |  |   29|    124|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_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 (215:32): [True: 124, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1823|    124|            return Py_NewRef(self);
  ------------------
  |  |  647|    124|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1824|    124|        }
 1825|  37.6k|        else if (step == 1) {
  ------------------
  |  Branch (1825:18): [True: 37.5k, False: 84]
  ------------------
 1826|  37.5k|            return _PyBytes_FromStringAndSize(
 1827|  37.5k|                PyBytes_AS_STRING(self) + start,
  ------------------
  |  |   27|  37.5k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1828|  37.5k|                slicelength);
 1829|  37.5k|        }
 1830|     84|        else {
 1831|     84|            source_buf = PyBytes_AS_STRING(self);
  ------------------
  |  |   27|     84|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1832|     84|            PyObject* result = bytes_alloc(slicelength);
 1833|     84|            if (result == NULL) {
  ------------------
  |  Branch (1833:17): [True: 0, False: 84]
  ------------------
 1834|      0|                return NULL;
 1835|      0|            }
 1836|       |
 1837|     84|            result_buf = PyBytes_AS_STRING(result);
  ------------------
  |  |   27|     84|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1838|    377|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (1838:38): [True: 293, False: 84]
  ------------------
 1839|    293|                 cur += step, i++) {
 1840|    293|                result_buf[i] = source_buf[cur];
 1841|    293|            }
 1842|     84|            return result;
 1843|     84|        }
 1844|  37.8k|    }
 1845|     62|    else {
 1846|     62|        PyErr_Format(PyExc_TypeError,
 1847|     62|                     "byte indices must be integers or slices, not %.200s",
 1848|     62|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|     62|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1849|       |        return NULL;
 1850|     62|    }
 1851|   649k|}
bytesobject.c:bytes_hash:
 1777|  1.85M|{
 1778|  1.85M|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|  1.85M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1778:24): [True: 1.85M, False: 0]
  ------------------
 1779|  1.85M|    Py_hash_t hash = get_ob_shash(a);
  ------------------
  |  |   92|  1.85M|#define get_ob_shash(op) _PyBytes_GET_CACHED_HASH(op)
  ------------------
 1780|  1.85M|    if (hash == -1) {
  ------------------
  |  Branch (1780:9): [True: 687k, False: 1.16M]
  ------------------
 1781|       |        /* Can't fail */
 1782|   687k|        hash = Py_HashBuffer(a->ob_sval, Py_SIZE(a));
  ------------------
  |  |  214|   687k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   687k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   687k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1783|   687k|        set_ob_shash(a, hash);
 1784|   687k|    }
 1785|  1.85M|    return hash;
 1786|  1.85M|}
bytesobject.c:set_ob_shash:
   66|   687k|{
   67|   687k|_Py_COMP_DIAG_PUSH
   68|   687k|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   69|       |#ifdef Py_GIL_DISABLED
   70|       |    _Py_atomic_store_ssize_relaxed(&a->ob_shash, hash);
   71|       |#else
   72|   687k|    a->ob_shash = hash;
   73|   687k|#endif
   74|   687k|_Py_COMP_DIAG_POP
   75|   687k|}
bytesobject.c:bytes_buffer_getbuffer:
 1855|   286k|{
 1856|   286k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   286k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   286k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1856:27): [True: 286k, False: 0]
  ------------------
 1857|   286k|    return PyBuffer_FillInfo(view, (PyObject*)self, (void *)self->ob_sval, Py_SIZE(self),
  ------------------
  |  |  214|   286k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   286k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   286k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1858|   286k|                             1, flags);
 1859|   286k|}
bytesobject.c:bytes_richcompare:
 1714|  94.8k|{
 1715|       |    /* Make sure both arguments are strings. */
 1716|  94.8k|    if (!(PyBytes_Check(aa) && PyBytes_Check(bb))) {
  ------------------
  |  |   28|  94.8k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   189k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 94.8k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!(PyBytes_Check(aa) && PyBytes_Check(bb))) {
  ------------------
  |  |   28|  94.8k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  94.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 94.8k, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|     27|        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: 27]
  |  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|     27|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|     27|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|     27|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1730|     27|    }
 1731|       |
 1732|  94.8k|    PyBytesObject *a = _PyBytes_CAST(aa);
  ------------------
  |  |   21|  94.8k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  94.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1732:24): [True: 94.8k, False: 0]
  ------------------
 1733|  94.8k|    PyBytesObject *b = _PyBytes_CAST(bb);
  ------------------
  |  |   21|  94.8k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  94.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1733:24): [True: 94.8k, False: 0]
  ------------------
 1734|  94.8k|    if (a == b) {
  ------------------
  |  Branch (1734:9): [True: 0, False: 94.8k]
  ------------------
 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|  94.8k|    else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  654|   189k|#define Py_EQ 2
  ------------------
                  else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  655|    101|#define Py_NE 3
  ------------------
  |  Branch (1750:14): [True: 94.7k, False: 101]
  |  Branch (1750:29): [True: 101, False: 0]
  ------------------
 1751|  94.8k|        int eq = bytes_compare_eq(a, b);
 1752|  94.8k|        eq ^= (op == Py_NE);
  ------------------
  |  |  655|  94.8k|#define Py_NE 3
  ------------------
 1753|  94.8k|        return PyBool_FromLong(eq);
 1754|  94.8k|    }
 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|  94.8k|}
bytesobject.c:bytes_compare_eq:
 1697|  94.8k|{
 1698|  94.8k|    int cmp;
 1699|  94.8k|    Py_ssize_t len;
 1700|       |
 1701|  94.8k|    len = Py_SIZE(a);
  ------------------
  |  |  214|  94.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  94.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  94.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1702|  94.8k|    if (Py_SIZE(b) != len)
  ------------------
  |  |  214|  94.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  94.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  94.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1702:9): [True: 0, False: 94.8k]
  ------------------
 1703|      0|        return 0;
 1704|       |
 1705|  94.8k|    if (a->ob_sval[0] != b->ob_sval[0])
  ------------------
  |  Branch (1705:9): [True: 0, False: 94.8k]
  ------------------
 1706|      0|        return 0;
 1707|       |
 1708|  94.8k|    cmp = memcmp(a->ob_sval, b->ob_sval, len);
 1709|  94.8k|    return (cmp == 0);
 1710|  94.8k|}
bytesobject.c:bytes_decode_impl:
 2642|  31.4k|{
 2643|  31.4k|    return PyUnicode_FromEncodedObject((PyObject*)self, encoding, errors);
 2644|  31.4k|}
bytesobject.c:bytes_find_impl:
 2092|  8.22k|{
 2093|  8.22k|    return _Py_bytes_find(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   27|  8.22k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_find(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   33|  8.22k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  8.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2094|  8.22k|                          sub, start, end);
 2095|  8.22k|}
bytesobject.c:bytes_replace_impl:
 2487|     43|{
 2488|     43|    return stringlib_replace((PyObject *)self,
 2489|     43|                             (const char *)old->buf, old->len,
 2490|     43|                             (const char *)new->buf, new->len, count);
 2491|     43|}
bytesobject.c:bytes_rfind_impl:
 2128|  15.1k|{
 2129|  15.1k|    return _Py_bytes_rfind(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   27|  15.1k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_rfind(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   33|  15.1k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  15.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2130|  15.1k|                           sub, start, end);
 2131|  15.1k|}
bytesobject.c:bytes_split_impl:
 1924|    970|{
 1925|    970|    Py_ssize_t len = PyBytes_GET_SIZE(self), n;
  ------------------
  |  |   33|    970|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    970|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    970|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1926|    970|    const char *s = PyBytes_AS_STRING(self), *sub;
  ------------------
  |  |   27|    970|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    970|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    970|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1927|    970|    Py_buffer vsub;
 1928|    970|    PyObject *list;
 1929|       |
 1930|    970|    if (maxsplit < 0)
  ------------------
  |  Branch (1930:9): [True: 970, False: 0]
  ------------------
 1931|    970|        maxsplit = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|    970|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1932|    970|    if (sep == Py_None)
  ------------------
  |  |  616|    970|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1932:9): [True: 0, False: 970]
  ------------------
 1933|      0|        return stringlib_split_whitespace((PyObject*) self, s, len, maxsplit);
 1934|    970|    if (PyObject_GetBuffer(sep, &vsub, PyBUF_SIMPLE) != 0)
  ------------------
  |  |  108|    970|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1934:9): [True: 0, False: 970]
  ------------------
 1935|      0|        return NULL;
 1936|    970|    sub = vsub.buf;
 1937|    970|    n = vsub.len;
 1938|       |
 1939|    970|    list = stringlib_split((PyObject*) self, s, len, sub, n, maxsplit);
 1940|    970|    PyBuffer_Release(&vsub);
 1941|    970|    return list;
 1942|    970|}
bytesobject.c:bytes_startswith_impl:
 2592|   151k|{
 2593|   151k|    return _Py_bytes_startswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   27|   151k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   151k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_startswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   33|   151k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   151k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2594|   151k|                                subobj, start, end);
 2595|   151k|}
bytesobject.c:bytes_new_impl:
 2942|  16.4k|{
 2943|  16.4k|    PyObject *bytes;
 2944|  16.4k|    PyObject *func;
 2945|  16.4k|    Py_ssize_t size;
 2946|       |
 2947|  16.4k|    if (x == NULL) {
  ------------------
  |  Branch (2947:9): [True: 0, False: 16.4k]
  ------------------
 2948|      0|        if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (2948:13): [True: 0, False: 0]
  |  Branch (2948:33): [True: 0, False: 0]
  ------------------
 2949|      0|            PyErr_SetString(PyExc_TypeError,
 2950|      0|                            encoding != NULL ?
  ------------------
  |  Branch (2950:29): [True: 0, False: 0]
  ------------------
 2951|      0|                            "encoding without a string argument" :
 2952|      0|                            "errors without a string argument");
 2953|      0|            return NULL;
 2954|      0|        }
 2955|      0|        bytes = Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 2956|      0|    }
 2957|  16.4k|    else if (encoding != NULL) {
  ------------------
  |  Branch (2957:14): [True: 0, False: 16.4k]
  ------------------
 2958|       |        /* Encode via the codec registry */
 2959|      0|        if (!PyUnicode_Check(x)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2959:13): [True: 0, False: 0]
  ------------------
 2960|      0|            PyErr_SetString(PyExc_TypeError,
 2961|      0|                            "encoding without a string argument");
 2962|      0|            return NULL;
 2963|      0|        }
 2964|      0|        bytes = PyUnicode_AsEncodedString(x, encoding, errors);
 2965|      0|    }
 2966|  16.4k|    else if (errors != NULL) {
  ------------------
  |  Branch (2966:14): [True: 0, False: 16.4k]
  ------------------
 2967|      0|        PyErr_SetString(PyExc_TypeError,
 2968|      0|                        PyUnicode_Check(x) ?
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2969|      0|                        "string argument without an encoding" :
 2970|      0|                        "errors without a string argument");
 2971|      0|        return NULL;
 2972|      0|    }
 2973|       |    /* We'd like to call PyObject_Bytes here, but we need to check for an
 2974|       |       integer argument before deferring to PyBytes_FromObject, something
 2975|       |       PyObject_Bytes doesn't do. */
 2976|  16.4k|    else if ((func = _PyObject_LookupSpecial(x, &_Py_ID(__bytes__))) != NULL) {
  ------------------
  |  |  951|  16.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  16.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  16.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2976:14): [True: 0, False: 16.4k]
  ------------------
 2977|      0|        bytes = _PyObject_CallNoArgs(func);
 2978|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2979|      0|        if (bytes == NULL)
  ------------------
  |  Branch (2979:13): [True: 0, False: 0]
  ------------------
 2980|      0|            return NULL;
 2981|      0|        if (!PyBytes_Check(bytes)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2981:13): [True: 0, False: 0]
  ------------------
 2982|      0|            PyErr_Format(PyExc_TypeError,
 2983|      0|                         "%T.__bytes__() must return a bytes, not %T",
 2984|      0|                         x, bytes);
 2985|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2986|      0|            return NULL;
 2987|      0|        }
 2988|      0|    }
 2989|  16.4k|    else if (PyErr_Occurred())
  ------------------
  |  Branch (2989:14): [True: 0, False: 16.4k]
  ------------------
 2990|      0|        return NULL;
 2991|  16.4k|    else if (PyUnicode_Check(x)) {
  ------------------
  |  |  103|  16.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  16.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 16.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2992|      0|        PyErr_SetString(PyExc_TypeError,
 2993|      0|                        "string argument without an encoding");
 2994|      0|        return NULL;
 2995|      0|    }
 2996|       |    /* Is it an integer? */
 2997|  16.4k|    else if (_PyIndex_Check(x)) {
  ------------------
  |  Branch (2997:14): [True: 0, False: 16.4k]
  ------------------
 2998|      0|        size = PyNumber_AsSsize_t(x, PyExc_OverflowError);
 2999|      0|        if (size == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (2999:13): [True: 0, False: 0]
  |  Branch (2999:27): [True: 0, False: 0]
  ------------------
 3000|      0|            if (!PyErr_ExceptionMatches(PyExc_TypeError))
  ------------------
  |  Branch (3000:17): [True: 0, False: 0]
  ------------------
 3001|      0|                return NULL;
 3002|      0|            PyErr_Clear();  /* fall through */
 3003|      0|            bytes = PyBytes_FromObject(x);
 3004|      0|        }
 3005|      0|        else {
 3006|      0|            if (size < 0) {
  ------------------
  |  Branch (3006:17): [True: 0, False: 0]
  ------------------
 3007|      0|                PyErr_SetString(PyExc_ValueError, "negative count");
 3008|      0|                return NULL;
 3009|      0|            }
 3010|      0|            bytes = _PyBytes_FromSizeZero(size);
 3011|      0|        }
 3012|      0|    }
 3013|  16.4k|    else {
 3014|  16.4k|        bytes = PyBytes_FromObject(x);
 3015|  16.4k|    }
 3016|       |
 3017|  16.4k|    if (bytes != NULL && type != &PyBytes_Type) {
  ------------------
  |  Branch (3017:9): [True: 16.4k, False: 0]
  |  Branch (3017:26): [True: 0, False: 16.4k]
  ------------------
 3018|      0|        Py_SETREF(bytes, bytes_subtype_new(type, bytes));
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 3019|      0|    }
 3020|       |
 3021|  16.4k|    return bytes;
 3022|  16.4k|}
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|   174k|{
 3425|   174k|    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|   174k|    assert(Py_REFCNT(v) == 1);
  ------------------
  |  Branch (3428:5): [True: 174k, False: 0]
  ------------------
 3429|   174k|    assert(PyBytes_GET_SIZE(v) >= 1);
  ------------------
  |  Branch (3429:5): [True: 174k, False: 0]
  ------------------
 3430|   174k|    assert(newsize >= 1);
  ------------------
  |  Branch (3430:5): [True: 174k, False: 0]
  ------------------
 3431|   174k|    assert(get_ob_shash((PyBytesObject *)v) == -1);
  ------------------
  |  Branch (3431:5): [True: 174k, False: 0]
  ------------------
 3432|       |
 3433|       |    // Only mutable bytes can be resized in-place
 3434|   174k|    assert(_PyBytes_IsMutable(v));
  ------------------
  |  Branch (3434:5): [True: 174k, False: 0]
  ------------------
 3435|       |
 3436|   174k|    if ((size_t)newsize > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |  137|   174k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if ((size_t)newsize > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |   30|   174k|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|   174k|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (3436:9): [True: 0, False: 174k]
  ------------------
 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|   174k|    _PyReftracerTrack(v, PyRefTracer_DESTROY);
  ------------------
  |  |  109|   174k|    do { \
  |  |  110|   174k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|   174k|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 174k]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|   174k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 174k]
  |  |  ------------------
  ------------------
 3446|       |
 3447|   174k|    PyObject *result = PyObject_Realloc(v, PyBytesObject_SIZE + newsize);
  ------------------
  |  |   30|   174k|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|   174k|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
 3448|   174k|    if (result == NULL) {
  ------------------
  |  Branch (3448:9): [True: 0, False: 174k]
  ------------------
 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|   174k|    *pv = result;
 3459|   174k|    v = result;
 3460|   174k|    _Py_NewReferenceNoTotal(v);
 3461|   174k|    PyBytesObject *sv = (PyBytesObject *)v;
 3462|   174k|    Py_SET_SIZE(sv, newsize);
  ------------------
  |  |  216|   174k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   174k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   174k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3463|   174k|    sv->ob_sval[newsize] = '\0';
 3464|   174k|    assert(_PyBytes_IsMutable(*pv));
  ------------------
  |  Branch (3464:5): [True: 174k, False: 0]
  ------------------
 3465|   174k|    return 0;
 3466|   174k|}
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|   292k|{
 3915|   292k|    if (size < 0) {
  ------------------
  |  Branch (3915:9): [True: 0, False: 292k]
  ------------------
 3916|      0|        PyErr_SetString(PyExc_ValueError, "size must be >= 0");
 3917|      0|        return NULL;
 3918|      0|    }
 3919|       |
 3920|   292k|    PyBytesWriter *writer = _Py_FREELIST_POP_MEM(bytes_writers);
  ------------------
  |  |   48|   292k|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
 3921|   292k|    if (writer == NULL) {
  ------------------
  |  Branch (3921:9): [True: 148k, False: 144k]
  ------------------
 3922|   148k|        writer = (PyBytesWriter *)PyMem_Malloc(sizeof(PyBytesWriter));
 3923|   148k|        if (writer == NULL) {
  ------------------
  |  Branch (3923:13): [True: 0, False: 148k]
  ------------------
 3924|      0|            PyErr_NoMemory();
 3925|      0|            return NULL;
 3926|      0|        }
 3927|   148k|    }
 3928|   292k|    writer->obj = NULL;
 3929|   292k|    writer->size = size;
 3930|   292k|    writer->use_bytearray = use_bytearray;
 3931|   292k|    writer->overallocate = !use_bytearray;
 3932|       |
 3933|   292k|    Py_ssize_t allocated = sizeof(writer->small_buffer) - 1;
 3934|   292k|    if (size > allocated) {
  ------------------
  |  Branch (3934:9): [True: 4.48k, False: 288k]
  ------------------
 3935|  4.48k|        if (byteswriter_resize(writer, size, 0) < 0) {
  ------------------
  |  Branch (3935:13): [True: 0, False: 4.48k]
  ------------------
 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|  4.48k|    }
 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|   292k|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3951:5): [True: 292k, False: 0]
  ------------------
 3952|   292k|    return writer;
 3953|   292k|}
bytesobject.c:byteswriter_check_consistency:
 3787|  18.2M|{
 3788|  18.2M|    PyObject *obj = writer->obj;
 3789|  18.2M|    if (obj != NULL) {
  ------------------
  |  Branch (3789:9): [True: 12.6M, False: 5.55M]
  ------------------
 3790|  12.6M|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3790:13): [True: 0, False: 12.6M]
  ------------------
 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|  12.6M|        assert(PyBytes_CheckExact(obj));
  ------------------
  |  Branch (3802:9): [True: 12.6M, False: 0]
  ------------------
 3803|  12.6M|        assert(_PyBytes_IsMutable(obj));
  ------------------
  |  Branch (3803:9): [True: 12.6M, False: 0]
  ------------------
 3804|       |        // -1 since the last small buffer byte is used as the canary byte
 3805|  12.6M|        assert((size_t)PyBytes_GET_SIZE(obj) > (sizeof(writer->small_buffer) - 1));
  ------------------
  |  Branch (3805:9): [True: 12.6M, False: 0]
  ------------------
 3806|  12.6M|    }
 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|  18.2M|    return 1;
 3819|  18.2M|}
bytesobject.c:byteswriter_finish_with_size:
 3988|   251k|{
 3989|   251k|    assert(byteswriter_check_consistency(writer));
  ------------------
  |  Branch (3989:5): [True: 251k, False: 0]
  ------------------
 3990|       |
 3991|   251k|    PyObject *result;
 3992|   251k|    if (final_size == 0 && !writer->use_bytearray) {
  ------------------
  |  Branch (3992:9): [True: 68.7k, False: 182k]
  |  Branch (3992:28): [True: 68.7k, False: 0]
  ------------------
 3993|  68.7k|        result = bytes_get_empty();
 3994|  68.7k|        if (writer->obj != NULL) {
  ------------------
  |  Branch (3994:13): [True: 0, False: 68.7k]
  ------------------
 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|  68.7k|    }
 4002|   182k|    else if (writer->obj != NULL) {
  ------------------
  |  Branch (4002:14): [True: 12.6k, False: 169k]
  ------------------
 4003|       |        // Truncate the bytes/bytearray object if needed
 4004|       |#ifdef Py_DEBUG
 4005|       |        byteswriter_reset_trailing_byte(writer);
 4006|       |#endif
 4007|       |
 4008|  12.6k|        if (writer->use_bytearray) {
  ------------------
  |  Branch (4008:13): [True: 0, False: 12.6k]
  ------------------
 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|  12.6k|        else {
 4016|  12.6k|            if (final_size == 1) {
  ------------------
  |  Branch (4016:17): [True: 0, False: 12.6k]
  ------------------
 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|  12.6k|            else if (final_size != PyBytes_GET_SIZE(writer->obj)) {
  ------------------
  |  |   33|  12.6k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4020:22): [True: 12.1k, False: 477]
  ------------------
 4021|  12.1k|                if (bytes_resize_inplace(&writer->obj, final_size)) {
  ------------------
  |  Branch (4021:21): [True: 0, False: 12.1k]
  ------------------
 4022|      0|                    goto error;
 4023|      0|                }
 4024|  12.1k|            }
 4025|  12.6k|        }
 4026|       |
 4027|  12.6k|        result = writer->obj;
 4028|  12.6k|        writer->obj = NULL;
 4029|  12.6k|    }
 4030|   169k|    else {
 4031|       |        // Create an object from the small buffer
 4032|   169k|        const char *buffer = (const char *)writer->small_buffer;
 4033|   169k|        if (writer->use_bytearray) {
  ------------------
  |  Branch (4033:13): [True: 0, False: 169k]
  ------------------
 4034|      0|            result = PyByteArray_FromStringAndSize(buffer, final_size);
 4035|      0|        }
 4036|   169k|        else {
 4037|   169k|            if (final_size == 1) {
  ------------------
  |  Branch (4037:17): [True: 1.06k, False: 168k]
  ------------------
 4038|  1.06k|                result = bytes_get_char((uint8_t)buffer[0]);
 4039|  1.06k|            }
 4040|   168k|            else {
 4041|   168k|                result = bytes_alloc(final_size);
 4042|   168k|                if (result == NULL) {
  ------------------
  |  Branch (4042:21): [True: 0, False: 168k]
  ------------------
 4043|      0|                    goto error;
 4044|      0|                }
 4045|   168k|                memcpy(PyBytes_AS_STRING(result), buffer, final_size);
  ------------------
  |  |   27|   168k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   168k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   168k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4046|   168k|            }
 4047|   169k|        }
 4048|   169k|    }
 4049|       |
 4050|   251k|    assert(writer->obj == NULL);
  ------------------
  |  Branch (4050:5): [True: 251k, False: 0]
  ------------------
 4051|   251k|    _Py_FREELIST_FREE(bytes_writers, writer, PyMem_Free);
  ------------------
  |  |   35|   251k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|   251k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   251k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|   251k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   30|   251k|#  define Py_bytes_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
 4052|   251k|    return result;
 4053|       |
 4054|      0|error:
 4055|      0|    PyBytesWriter_Discard(writer);
 4056|       |    return NULL;
 4057|   251k|}
bytesobject.c:byteswriter_resize:
 3833|   100k|{
 3834|   100k|    assert(new_size >= 1);
  ------------------
  |  Branch (3834:5): [True: 100k, False: 0]
  ------------------
 3835|       |
 3836|   100k|    Py_ssize_t old_allocated = byteswriter_allocated(writer);
 3837|   100k|    if (new_size <= old_allocated) {
  ------------------
  |  Branch (3837:9): [True: 63.2k, False: 37.4k]
  ------------------
 3838|       |        // Do not shrink the buffer before PyBytesWriter_FinishWithSize()
 3839|  63.2k|        return 0;
 3840|  63.2k|    }
 3841|       |
 3842|  37.4k|    Py_ssize_t alloc = new_size;
 3843|  37.4k|    if (resize && writer->overallocate) {
  ------------------
  |  Branch (3843:9): [True: 32.9k, False: 4.48k]
  |  Branch (3843:19): [True: 32.9k, False: 0]
  ------------------
 3844|  32.9k|        if (alloc <= (PY_SSIZE_T_MAX - alloc / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|  32.9k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                      if (alloc <= (PY_SSIZE_T_MAX - alloc / OVERALLOCATE_FACTOR)) {
  ------------------
  |  | 3828|  32.9k|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (3844:13): [True: 32.9k, False: 0]
  ------------------
 3845|  32.9k|            alloc += alloc / OVERALLOCATE_FACTOR;
  ------------------
  |  | 3828|  32.9k|#  define OVERALLOCATE_FACTOR 4
  ------------------
 3846|  32.9k|        }
 3847|  32.9k|    }
 3848|       |
 3849|  37.4k|    if (writer->obj != NULL) {
  ------------------
  |  Branch (3849:9): [True: 21.0k, False: 16.4k]
  ------------------
 3850|  21.0k|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3850:13): [True: 0, False: 21.0k]
  ------------------
 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|  21.0k|        else {
 3861|       |            // Can raise MemoryError or OverflowError
 3862|  21.0k|            if (_PyBytes_ResizeKeepOnError(&writer->obj, alloc)) {
  ------------------
  |  Branch (3862:17): [True: 0, False: 21.0k]
  ------------------
 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|  21.0k|            assert(_PyBytes_IsMutable(writer->obj));
  ------------------
  |  Branch (3867:13): [True: 21.0k, False: 0]
  ------------------
 3868|  21.0k|        }
 3869|  21.0k|        assert(writer->obj != NULL);
  ------------------
  |  Branch (3869:9): [True: 21.0k, False: 0]
  ------------------
 3870|  21.0k|    }
 3871|  16.4k|    else {
 3872|  16.4k|        char *data;
 3873|  16.4k|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3873:13): [True: 0, False: 16.4k]
  ------------------
 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|  16.4k|        else {
 3881|  16.4k|            writer->obj = bytes_alloc(alloc);
 3882|  16.4k|            if (writer->obj == NULL) {
  ------------------
  |  Branch (3882:17): [True: 0, False: 16.4k]
  ------------------
 3883|      0|                return -1;
 3884|      0|            }
 3885|  16.4k|            assert(_PyBytes_IsMutable(writer->obj));
  ------------------
  |  Branch (3885:13): [True: 16.4k, False: 0]
  ------------------
 3886|  16.4k|            data = PyBytes_AS_STRING(writer->obj);
  ------------------
  |  |   27|  16.4k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3887|  16.4k|        }
 3888|       |
 3889|  16.4k|        if (resize) {
  ------------------
  |  Branch (3889:13): [True: 11.9k, False: 4.48k]
  ------------------
 3890|       |            // Copy data from the small buffer
 3891|  11.9k|            Py_ssize_t old_size = writer->size;
 3892|  11.9k|            assert((size_t)old_size <= sizeof(writer->small_buffer));
  ------------------
  |  Branch (3892:13): [True: 11.9k, False: 0]
  ------------------
 3893|  11.9k|            assert(old_size <= alloc);
  ------------------
  |  Branch (3893:13): [True: 11.9k, False: 0]
  ------------------
 3894|  11.9k|            memcpy(data, writer->small_buffer, old_size);
 3895|  11.9k|        }
 3896|  16.4k|    }
 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|  37.4k|    return 0;
 3909|  37.4k|}

_Py_CheckFunctionResult:
   27|   678k|{
   28|   678k|    assert((callable != NULL) ^ (where != NULL));
  ------------------
  |  Branch (28:5): [True: 678k, False: 0]
  ------------------
   29|       |
   30|   678k|    if (result == NULL) {
  ------------------
  |  Branch (30:9): [True: 4.17k, False: 674k]
  ------------------
   31|  4.17k|        if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (31:13): [True: 0, False: 4.17k]
  ------------------
   32|      0|            if (callable)
  ------------------
  |  Branch (32:17): [True: 0, False: 0]
  ------------------
   33|      0|                _PyErr_Format(tstate, PyExc_SystemError,
   34|      0|                              "%R returned NULL without setting an exception",
   35|      0|                              callable);
   36|      0|            else
   37|      0|                _PyErr_Format(tstate, PyExc_SystemError,
   38|      0|                              "%s returned NULL without setting an exception",
   39|      0|                              where);
   40|       |#ifdef Py_DEBUG
   41|       |            /* Ensure that the bug is caught in debug mode.
   42|       |               Py_FatalError() logs the SystemError exception raised above. */
   43|       |            Py_FatalError("a function returned NULL without setting an exception");
   44|       |#endif
   45|      0|            return NULL;
   46|      0|        }
   47|  4.17k|    }
   48|   674k|    else {
   49|   674k|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (49:13): [True: 0, False: 674k]
  ------------------
   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|   674k|    }
   70|   678k|    return result;
   71|   678k|}
_Py_CheckSlotResult:
   76|  8.17M|{
   77|  8.17M|    PyThreadState *tstate = _PyThreadState_GET();
   78|  8.17M|    if (!success) {
  ------------------
  |  Branch (78:9): [True: 17.4k, False: 8.15M]
  ------------------
   79|  17.4k|        if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (79:13): [True: 0, False: 17.4k]
  ------------------
   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|  17.4k|    }
   86|  8.15M|    else {
   87|  8.15M|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (87:13): [True: 0, False: 8.15M]
  ------------------
   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|  8.15M|    }
   94|  8.17M|    return 1;
   95|  8.17M|}
_PyObject_VectorcallDictTstate:
  114|  45.3k|{
  115|  45.3k|    assert(callable != NULL);
  ------------------
  |  Branch (115:5): [True: 45.3k, 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|  45.3k|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (120:5): [True: 45.3k, False: 0]
  ------------------
  121|       |
  122|  45.3k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  45.3k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  123|  45.3k|    assert(nargs >= 0);
  ------------------
  |  Branch (123:5): [True: 45.3k, False: 0]
  ------------------
  124|  45.3k|    assert(nargs == 0 || args != NULL);
  ------------------
  |  Branch (124:5): [True: 829, False: 44.5k]
  |  Branch (124:5): [True: 44.5k, False: 0]
  ------------------
  125|  45.3k|    assert(kwargs == NULL || PyDict_Check(kwargs));
  ------------------
  |  Branch (125:5): [True: 44.9k, False: 443]
  |  Branch (125:5): [True: 443, False: 0]
  ------------------
  126|       |
  127|  45.3k|    vectorcallfunc func = PyVectorcall_Function(callable);
  128|  45.3k|    if (func == NULL) {
  ------------------
  |  Branch (128:9): [True: 83, False: 45.2k]
  ------------------
  129|       |        /* Use tp_call instead */
  130|     83|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwargs);
  131|     83|    }
  132|       |
  133|  45.2k|    PyObject *res;
  134|  45.2k|    if (kwargs == NULL || PyDict_GET_SIZE(kwargs) == 0) {
  ------------------
  |  |   63|    416|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    416|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    416|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (134:9): [True: 44.8k, False: 416]
  |  Branch (134:27): [True: 50, False: 366]
  ------------------
  135|  44.9k|        res = func(callable, args, nargsf, NULL);
  136|  44.9k|    }
  137|    366|    else {
  138|    366|        PyObject *kwnames;
  139|    366|        PyObject *const *newargs;
  140|    366|        newargs = _PyStack_UnpackDict(tstate,
  141|    366|                                      args, nargs,
  142|    366|                                      kwargs, &kwnames);
  143|    366|        if (newargs == NULL) {
  ------------------
  |  Branch (143:13): [True: 0, False: 366]
  ------------------
  144|      0|            return NULL;
  145|      0|        }
  146|    366|        res = func(callable, newargs,
  147|    366|                   nargs | PY_VECTORCALL_ARGUMENTS_OFFSET, kwnames);
  ------------------
  |  |  287|    366|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    366|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  148|    366|        _PyStack_UnpackDict_Free(newargs, nargs, kwnames);
  149|    366|    }
  150|  45.2k|    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  151|  45.2k|}
PyObject_VectorcallDict:
  157|  2.21k|{
  158|  2.21k|    PyThreadState *tstate = _PyThreadState_GET();
  159|  2.21k|    return _PyObject_VectorcallDictTstate(tstate, callable, args, nargsf, kwargs);
  160|  2.21k|}
_PyObject_MakeTpCall:
  203|  81.7k|{
  204|  81.7k|    assert(nargs >= 0);
  ------------------
  |  Branch (204:5): [True: 81.7k, False: 0]
  ------------------
  205|  81.7k|    assert(nargs == 0 || args != NULL);
  ------------------
  |  Branch (205:5): [True: 2.31k, False: 79.4k]
  |  Branch (205:5): [True: 79.4k, False: 0]
  ------------------
  206|  81.7k|    assert(keywords == NULL || PyTuple_Check(keywords) || PyDict_Check(keywords));
  ------------------
  |  Branch (206:5): [True: 81.3k, False: 423]
  |  Branch (206:5): [True: 396, False: 27]
  |  Branch (206:5): [True: 27, False: 0]
  ------------------
  207|       |
  208|       |    /* Slow path: build a temporary tuple for positional arguments and a
  209|       |     * temporary dictionary for keyword arguments (if any) */
  210|  81.7k|    ternaryfunc call = Py_TYPE(callable)->tp_call;
  ------------------
  |  |  213|  81.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  81.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  81.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|  81.7k|    if (call == NULL) {
  ------------------
  |  Branch (211:9): [True: 0, False: 81.7k]
  ------------------
  212|      0|        object_is_not_callable(tstate, callable);
  213|      0|        return NULL;
  214|      0|    }
  215|       |
  216|  81.7k|    PyObject *argstuple = PyTuple_FromArray(args, nargs);
  217|  81.7k|    if (argstuple == NULL) {
  ------------------
  |  Branch (217:9): [True: 0, False: 81.7k]
  ------------------
  218|      0|        return NULL;
  219|      0|    }
  220|       |
  221|  81.7k|    PyObject *kwdict;
  222|  81.7k|    if (keywords == NULL || PyDict_Check(keywords)) {
  ------------------
  |  |   18|    423|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    423|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 27, False: 396]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (222:9): [True: 81.3k, False: 423]
  ------------------
  223|  81.3k|        kwdict = keywords;
  224|  81.3k|    }
  225|    396|    else {
  226|    396|        if (PyTuple_GET_SIZE(keywords)) {
  ------------------
  |  |   27|    396|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 396, False: 0]
  |  |  ------------------
  ------------------
  227|    396|            assert(args != NULL);
  ------------------
  |  Branch (227:13): [True: 396, False: 0]
  ------------------
  228|    396|            kwdict = _PyStack_AsDict(args + nargs, keywords);
  229|    396|            if (kwdict == NULL) {
  ------------------
  |  Branch (229:17): [True: 0, False: 396]
  ------------------
  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|    396|        }
  234|      0|        else {
  235|      0|            keywords = kwdict = NULL;
  236|      0|        }
  237|    396|    }
  238|       |
  239|  81.7k|    PyObject *result = NULL;
  240|  81.7k|    if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object") == 0)
  ------------------
  |  Branch (240:9): [True: 81.7k, False: 0]
  ------------------
  241|  81.7k|    {
  242|  81.7k|        result = _PyCFunctionWithKeywords_TrampolineCall(
  ------------------
  |  |   64|  81.7k|    (meth)((self), (args), (kw))
  ------------------
  243|  81.7k|            (PyCFunctionWithKeywords)call, callable, argstuple, kwdict);
  244|  81.7k|        _Py_LeaveRecursiveCallTstate(tstate);
  245|  81.7k|    }
  246|       |
  247|  81.7k|    Py_DECREF(argstuple);
  ------------------
  |  |  430|  81.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  81.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  81.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|  81.7k|    if (kwdict != keywords) {
  ------------------
  |  Branch (248:9): [True: 396, False: 81.3k]
  ------------------
  249|    396|        Py_DECREF(kwdict);
  ------------------
  |  |  430|    396|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    396|    }
  251|       |
  252|       |    return _Py_CheckFunctionResult(tstate, callable, result, NULL);
  253|  81.7k|}
PyVectorcall_Function:
  258|   109k|{
  259|   109k|    return _PyVectorcall_FunctionInline(callable);
  260|   109k|}
PyObject_Vectorcall:
  325|  50.8k|{
  326|  50.8k|    PyThreadState *tstate = _PyThreadState_GET();
  327|  50.8k|    return _PyObject_VectorcallTstate(tstate, callable,
  328|  50.8k|                                      args, nargsf, kwnames);
  329|  50.8k|}
_PyObject_Call:
  335|  63.8k|{
  336|  63.8k|    ternaryfunc call;
  337|  63.8k|    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|  63.8k|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (342:5): [True: 63.8k, False: 0]
  ------------------
  343|  63.8k|    assert(PyTuple_Check(args));
  ------------------
  |  Branch (343:5): [True: 63.8k, False: 0]
  ------------------
  344|  63.8k|    assert(kwargs == NULL || PyDict_Check(kwargs));
  ------------------
  |  Branch (344:5): [True: 63.1k, False: 669]
  |  Branch (344:5): [True: 669, False: 0]
  ------------------
  345|  63.8k|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, callable);
  ------------------
  |  |   80|  63.8k|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  346|  63.8k|    vectorcallfunc vector_func = PyVectorcall_Function(callable);
  347|  63.8k|    if (vector_func != NULL) {
  ------------------
  |  Branch (347:9): [True: 44.5k, False: 19.3k]
  ------------------
  348|  44.5k|        return _PyVectorcall_Call(tstate, vector_func, callable, args, kwargs);
  349|  44.5k|    }
  350|  19.3k|    else {
  351|  19.3k|        call = Py_TYPE(callable)->tp_call;
  ------------------
  |  |  213|  19.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|  19.3k|        if (call == NULL) {
  ------------------
  |  Branch (352:13): [True: 0, False: 19.3k]
  ------------------
  353|      0|            object_is_not_callable(tstate, callable);
  354|      0|            return NULL;
  355|      0|        }
  356|       |
  357|  19.3k|        if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
  ------------------
  |  Branch (357:13): [True: 0, False: 19.3k]
  ------------------
  358|      0|            return NULL;
  359|      0|        }
  360|       |
  361|  19.3k|        result = (*call)(callable, args, kwargs);
  362|       |
  363|  19.3k|        _Py_LeaveRecursiveCallTstate(tstate);
  364|       |
  365|       |        return _Py_CheckFunctionResult(tstate, callable, result, NULL);
  366|  19.3k|    }
  367|  63.8k|}
PyObject_Call:
  371|  63.8k|{
  372|  63.8k|    PyThreadState *tstate = _PyThreadState_GET();
  373|  63.8k|    return _PyObject_Call(tstate, callable, args, kwargs);
  374|  63.8k|}
PyObject_CallOneArg:
  387|   179k|{
  388|   179k|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|   179k|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  389|   179k|    assert(arg != NULL);
  ------------------
  |  Branch (389:5): [True: 179k, False: 0]
  ------------------
  390|   179k|    PyObject *_args[2];
  391|   179k|    PyObject **args = _args + 1;  // For PY_VECTORCALL_ARGUMENTS_OFFSET
  392|   179k|    args[0] = arg;
  393|   179k|    PyThreadState *tstate = _PyThreadState_GET();
  394|   179k|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   179k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   179k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  395|       |    return _PyObject_VectorcallTstate(tstate, func, args, nargsf, NULL);
  396|   179k|}
_PyFunction_Vectorcall:
  404|   128k|{
  405|   128k|    assert(PyFunction_Check(func));
  ------------------
  |  Branch (405:5): [True: 128k, False: 0]
  ------------------
  406|   128k|    PyFunctionObject *f = (PyFunctionObject *)func;
  407|   128k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   128k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  408|   128k|    assert(nargs >= 0);
  ------------------
  |  Branch (408:5): [True: 128k, False: 0]
  ------------------
  409|   128k|    PyThreadState *tstate = _PyThreadState_GET();
  410|   128k|    assert(nargs == 0 || stack != NULL);
  ------------------
  |  Branch (410:5): [True: 2, False: 128k]
  |  Branch (410:5): [True: 128k, False: 0]
  ------------------
  411|   128k|    EVAL_CALL_STAT_INC(EVAL_CALL_FUNCTION_VECTORCALL);
  ------------------
  |  |   79|   128k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  412|   128k|    if (((PyCodeObject *)f->func_code)->co_flags & CO_OPTIMIZED) {
  ------------------
  |  |  122|   128k|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (412:9): [True: 128k, False: 0]
  ------------------
  413|   128k|        return _PyEval_Vector(tstate, f, NULL, stack, nargs, kwnames);
  414|   128k|    }
  415|      0|    else {
  416|      0|        return _PyEval_Vector(tstate, f, f->func_globals, stack, nargs, kwnames);
  417|      0|    }
  418|   128k|}
_PyObject_Call_Prepend:
  480|  43.1k|{
  481|  43.1k|    assert(PyTuple_Check(args));
  ------------------
  |  Branch (481:5): [True: 43.1k, False: 0]
  ------------------
  482|       |
  483|  43.1k|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
  484|  43.1k|    PyObject **stack;
  485|       |
  486|  43.1k|    Py_ssize_t argcount = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  43.1k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  487|  43.1k|    if (argcount + 1 <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  232|  43.1k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (487:9): [True: 1.70k, False: 41.4k]
  ------------------
  488|  1.70k|        stack = small_stack;
  489|  1.70k|    }
  490|  41.4k|    else {
  491|  41.4k|        stack = PyMem_Malloc((argcount + 1) * sizeof(PyObject *));
  492|  41.4k|        if (stack == NULL) {
  ------------------
  |  Branch (492:13): [True: 0, False: 41.4k]
  ------------------
  493|      0|            PyErr_NoMemory();
  494|      0|            return NULL;
  495|      0|        }
  496|  41.4k|    }
  497|       |
  498|       |    /* use borrowed references */
  499|  43.1k|    stack[0] = obj;
  500|  43.1k|    memcpy(&stack[1],
  501|  43.1k|           _PyTuple_ITEMS(args),
  ------------------
  |  |   26|  43.1k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|  86.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 43.1k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  502|      0|           argcount * sizeof(PyObject *));
  503|       |
  504|      0|    PyObject *result = _PyObject_VectorcallDictTstate(tstate, callable,
  505|  43.1k|                                                      stack, argcount + 1,
  506|  43.1k|                                                      kwargs);
  507|  43.1k|    if (stack != small_stack) {
  ------------------
  |  Branch (507:9): [True: 41.4k, False: 1.70k]
  ------------------
  508|  41.4k|        PyMem_Free(stack);
  509|  41.4k|    }
  510|  43.1k|    return result;
  511|  43.1k|}
PyObject_CallFunction:
  568|  77.6k|{
  569|  77.6k|    va_list va;
  570|  77.6k|    PyObject *result;
  571|  77.6k|    PyThreadState *tstate = _PyThreadState_GET();
  572|       |
  573|  77.6k|    va_start(va, format);
  574|  77.6k|    result = _PyObject_CallFunctionVa(tstate, callable, format, va);
  575|  77.6k|    va_end(va);
  576|       |
  577|  77.6k|    return result;
  578|  77.6k|}
PyObject_CallMethod:
  683|  3.19k|{
  684|  3.19k|    PyThreadState *tstate = _PyThreadState_GET();
  685|       |
  686|  3.19k|    if (obj == NULL || name == NULL) {
  ------------------
  |  Branch (686:9): [True: 0, False: 3.19k]
  |  Branch (686:24): [True: 0, False: 3.19k]
  ------------------
  687|      0|        return null_error(tstate);
  688|      0|    }
  689|       |
  690|  3.19k|    PyObject *name_obj = PyUnicode_FromString(name);
  691|  3.19k|    if (name_obj == NULL) {
  ------------------
  |  Branch (691:9): [True: 0, False: 3.19k]
  ------------------
  692|      0|        return NULL;
  693|      0|    }
  694|       |
  695|  3.19k|    va_list va;
  696|  3.19k|    va_start(va, format);
  697|  3.19k|    PyObject *retval = callmethod(tstate, obj, name_obj, format, va);
  698|  3.19k|    va_end(va);
  699|       |
  700|  3.19k|    Py_DECREF(name_obj);
  ------------------
  |  |  430|  3.19k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  701|  3.19k|    return retval;
  702|  3.19k|}
_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|  35.4k|{
  869|  35.4k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  35.4k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  870|  35.4k|    assert(nargs == 0 || args[nargs-1]);
  ------------------
  |  Branch (870:5): [True: 2.91k, False: 32.5k]
  |  Branch (870:5): [True: 32.5k, False: 0]
  ------------------
  871|       |
  872|  35.4k|    PyObject *result;
  873|  35.4k|    if (nargsf & PY_VECTORCALL_ARGUMENTS_OFFSET) {
  ------------------
  |  |  287|  35.4k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  35.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (873:9): [True: 76, False: 35.3k]
  ------------------
  874|       |        /* PY_VECTORCALL_ARGUMENTS_OFFSET is set, so we are allowed to mutate the vector */
  875|     76|        PyObject **newargs = (PyObject**)args - 1;
  876|     76|        nargs += 1;
  877|     76|        PyObject *tmp = newargs[0];
  878|     76|        newargs[0] = arg;
  879|     76|        assert(newargs[nargs-1]);
  ------------------
  |  Branch (879:9): [True: 76, False: 0]
  ------------------
  880|     76|        result = _PyObject_VectorcallTstate(tstate, callable, newargs,
  881|     76|                                            nargs, kwnames);
  882|     76|        newargs[0] = tmp;
  883|     76|    }
  884|  35.3k|    else {
  885|  35.3k|        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: 35.3k, False: 0]
  ------------------
  886|  35.3k|        Py_ssize_t totalargs = nargs + nkwargs;
  887|  35.3k|        if (totalargs == 0) {
  ------------------
  |  Branch (887:13): [True: 2.91k, False: 32.4k]
  ------------------
  888|  2.91k|            return _PyObject_VectorcallTstate(tstate, callable, &arg, 1, NULL);
  889|  2.91k|        }
  890|       |
  891|  32.4k|        PyObject *newargs_stack[_PY_FASTCALL_SMALL_STACK];
  892|  32.4k|        PyObject **newargs;
  893|  32.4k|        if (totalargs <= (Py_ssize_t)Py_ARRAY_LENGTH(newargs_stack) - 1) {
  ------------------
  |  |  232|  32.4k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (893:13): [True: 32.4k, False: 0]
  ------------------
  894|  32.4k|            newargs = newargs_stack;
  895|  32.4k|        }
  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|  32.4k|        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|  32.4k|        assert(args != NULL);
  ------------------
  |  Branch (908:9): [True: 32.4k, False: 0]
  ------------------
  909|  32.4k|        memcpy(newargs + 1, args, totalargs * sizeof(PyObject *));
  910|  32.4k|        result = _PyObject_VectorcallTstate(tstate, callable,
  911|  32.4k|                                            newargs, nargs+1, kwnames);
  912|  32.4k|        if (newargs != newargs_stack) {
  ------------------
  |  Branch (912:13): [True: 0, False: 32.4k]
  ------------------
  913|      0|            PyMem_Free(newargs);
  914|      0|        }
  915|  32.4k|    }
  916|  32.5k|    return result;
  917|  35.4k|}
PyObject_VectorcallMethod:
  922|   125k|{
  923|   125k|    assert(name != NULL);
  ------------------
  |  Branch (923:5): [True: 125k, False: 0]
  ------------------
  924|   125k|    assert(args != NULL);
  ------------------
  |  Branch (924:5): [True: 125k, False: 0]
  ------------------
  925|   125k|    assert(PyVectorcall_NARGS(nargsf) >= 1);
  ------------------
  |  Branch (925:5): [True: 125k, False: 0]
  ------------------
  926|       |
  927|   125k|    PyThreadState *tstate = _PyThreadState_GET();
  928|   125k|    _PyCStackRef self, method;
  929|   125k|    _PyThreadState_PushCStackRef(tstate, &self);
  930|   125k|    _PyThreadState_PushCStackRef(tstate, &method);
  931|       |    /* Use args[0] as "self" argument */
  932|   125k|    self.ref = PyStackRef_FromPyObjectBorrow(args[0]);
  933|   125k|    int unbound = _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  934|   125k|    if (unbound < 0) {
  ------------------
  |  Branch (934:9): [True: 0, False: 125k]
  ------------------
  935|      0|        _PyThreadState_PopCStackRef(tstate, &method);
  936|      0|        _PyThreadState_PopCStackRef(tstate, &self);
  937|      0|        return NULL;
  938|      0|    }
  939|       |
  940|   125k|    PyObject *callable = PyStackRef_AsPyObjectBorrow(method.ref);
  941|   125k|    PyObject *self_obj = PyStackRef_AsPyObjectBorrow(self.ref);
  942|   125k|    PyObject *result;
  943|       |
  944|   125k|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_METHOD, callable);
  ------------------
  |  |   80|   125k|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  945|   125k|    if (self_obj == NULL) {
  ------------------
  |  Branch (945:9): [True: 222, False: 125k]
  ------------------
  946|       |        /* Skip "self". We can keep PY_VECTORCALL_ARGUMENTS_OFFSET since
  947|       |         * args[-1] in the onward call is args[0] here. */
  948|    222|        result = _PyObject_VectorcallTstate(tstate, callable,
  949|    222|                                            args + 1, nargsf - 1, kwnames);
  950|    222|    }
  951|   125k|    else if (self_obj == args[0]) {
  ------------------
  |  Branch (951:14): [True: 125k, False: 0]
  ------------------
  952|       |        /* We must remove PY_VECTORCALL_ARGUMENTS_OFFSET since
  953|       |         * that would be interpreted as allowing to change args[-1] */
  954|   125k|        result = _PyObject_VectorcallTstate(tstate, callable, args,
  955|   125k|                                            nargsf & ~PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|   125k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   125k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  956|   125k|                                            kwnames);
  957|   125k|    }
  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|   125k|    _PyThreadState_PopCStackRef(tstate, &method);
  965|   125k|    _PyThreadState_PopCStackRef(tstate, &self);
  966|   125k|    return result;
  967|   125k|}
PyObject_CallMethodObjArgs:
  972|    388|{
  973|    388|    PyThreadState *tstate = _PyThreadState_GET();
  974|    388|    if (obj == NULL || name == NULL) {
  ------------------
  |  Branch (974:9): [True: 0, False: 388]
  |  Branch (974:24): [True: 0, False: 388]
  ------------------
  975|      0|        return null_error(tstate);
  976|      0|    }
  977|       |
  978|    388|    _PyCStackRef self, method;
  979|    388|    _PyThreadState_PushCStackRef(tstate, &self);
  980|    388|    _PyThreadState_PushCStackRef(tstate, &method);
  981|    388|    self.ref = PyStackRef_FromPyObjectBorrow(obj);
  982|    388|    int res = _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  983|    388|    if (res < 0) {
  ------------------
  |  Branch (983:9): [True: 0, False: 388]
  ------------------
  984|      0|        _PyThreadState_PopCStackRef(tstate, &method);
  985|      0|        _PyThreadState_PopCStackRef(tstate, &self);
  986|      0|        return NULL;
  987|      0|    }
  988|    388|    PyObject *callable = PyStackRef_AsPyObjectBorrow(method.ref);
  989|    388|    PyObject *self_obj = PyStackRef_AsPyObjectBorrow(self.ref);
  990|       |
  991|    388|    va_list vargs;
  992|    388|    va_start(vargs, name);
  993|    388|    PyObject *result = object_vacall(tstate, self_obj, callable, vargs);
  994|    388|    va_end(vargs);
  995|       |
  996|    388|    _PyThreadState_PopCStackRef(tstate, &method);
  997|    388|    _PyThreadState_PopCStackRef(tstate, &self);
  998|    388|    return result;
  999|    388|}
PyObject_CallFunctionObjArgs:
 1004|  41.4k|{
 1005|  41.4k|    PyThreadState *tstate = _PyThreadState_GET();
 1006|  41.4k|    va_list vargs;
 1007|  41.4k|    PyObject *result;
 1008|       |
 1009|  41.4k|    va_start(vargs, callable);
 1010|  41.4k|    result = object_vacall(tstate, NULL, callable, vargs);
 1011|  41.4k|    va_end(vargs);
 1012|       |
 1013|  41.4k|    return result;
 1014|  41.4k|}
_PyStack_AsDict:
 1021|    423|{
 1022|    423|    Py_ssize_t nkwargs;
 1023|       |
 1024|    423|    assert(kwnames != NULL);
  ------------------
  |  Branch (1024:5): [True: 423, False: 0]
  ------------------
 1025|    423|    nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|    423|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    423|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    423|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1026|    423|    return _PyDict_FromItems(&PyTuple_GET_ITEM(kwnames, 0), 1,
  ------------------
  |  |   29|    423|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    423|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    423|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1026:31): [True: 423, False: 0]
  ------------------
 1027|    423|                             values, 1, nkwargs);
 1028|    423|}
_PyStack_UnpackDict:
 1051|    366|{
 1052|    366|    assert(nargs >= 0);
  ------------------
  |  Branch (1052:5): [True: 366, False: 0]
  ------------------
 1053|    366|    assert(kwargs != NULL);
  ------------------
  |  Branch (1053:5): [True: 366, False: 0]
  ------------------
 1054|    366|    assert(PyDict_Check(kwargs));
  ------------------
  |  Branch (1054:5): [True: 366, False: 0]
  ------------------
 1055|       |
 1056|    366|    Py_ssize_t nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   63|    366|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    366|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    366|#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|    366|    Py_ssize_t maxnargs = PY_SSIZE_T_MAX / sizeof(args[0]) - 1;
  ------------------
  |  |  137|    366|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1061|    366|    if (nargs > maxnargs - nkwargs) {
  ------------------
  |  Branch (1061:9): [True: 0, False: 366]
  ------------------
 1062|      0|        _PyErr_NoMemory(tstate);
 1063|      0|        return NULL;
 1064|      0|    }
 1065|       |
 1066|       |    /* Add 1 to support PY_VECTORCALL_ARGUMENTS_OFFSET */
 1067|    366|    PyObject **stack = PyMem_Malloc((1 + nargs + nkwargs) * sizeof(args[0]));
 1068|    366|    if (stack == NULL) {
  ------------------
  |  Branch (1068:9): [True: 0, False: 366]
  ------------------
 1069|      0|        _PyErr_NoMemory(tstate);
 1070|      0|        return NULL;
 1071|      0|    }
 1072|       |
 1073|    366|    PyObject *kwnames = PyTuple_New(nkwargs);
 1074|    366|    if (kwnames == NULL) {
  ------------------
  |  Branch (1074:9): [True: 0, False: 366]
  ------------------
 1075|      0|        PyMem_Free(stack);
 1076|      0|        return NULL;
 1077|      0|    }
 1078|       |
 1079|    366|    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: 732, False: 366]
  ------------------
 1083|    732|        stack[i] = args[i];
 1084|    732|    }
 1085|       |
 1086|    366|    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|    366|    Py_ssize_t pos = 0, i = 0;
 1091|    366|    PyObject *key, *value;
 1092|    366|    unsigned long keys_are_strings = Py_TPFLAGS_UNICODE_SUBCLASS;
  ------------------
  |  |  555|    366|#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
  ------------------
 1093|  1.92k|    while (PyDict_Next(kwargs, &pos, &key, &value)) {
  ------------------
  |  Branch (1093:12): [True: 1.55k, False: 366]
  ------------------
 1094|  1.55k|        keys_are_strings &= Py_TYPE(key)->tp_flags;
  ------------------
  |  |  213|  1.55k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1095|  1.55k|        PyTuple_SET_ITEM(kwnames, i, Py_NewRef(key));
  ------------------
  |  |   40|  1.55k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1096|  1.55k|        kwstack[i] = Py_NewRef(value);
  ------------------
  |  |  647|  1.55k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1097|  1.55k|        i++;
 1098|  1.55k|    }
 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|    366|    if (!keys_are_strings) {
  ------------------
  |  Branch (1105:9): [True: 0, False: 366]
  ------------------
 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|    366|    *p_kwnames = kwnames;
 1113|    366|    return stack;
 1114|    366|}
_PyStack_UnpackDict_Free:
 1119|    366|{
 1120|       |    /* Only decref kwargs values, positional args are borrowed */
 1121|    366|    Py_ssize_t nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|    366|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    366|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    366|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1122|  1.92k|    for (Py_ssize_t i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (1122:28): [True: 1.55k, False: 366]
  ------------------
 1123|  1.55k|        Py_DECREF(stack[nargs + i]);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1124|  1.55k|    }
 1125|    366|    _PyStack_UnpackDict_FreeNoDecRef(stack, kwnames);
 1126|    366|}
_PyStack_UnpackDict_FreeNoDecRef:
 1130|    366|{
 1131|    366|    PyMem_Free((PyObject **)stack - 1);
 1132|    366|    Py_DECREF(kwnames);
  ------------------
  |  |  430|    366|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    366|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    366|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1133|    366|}
call.c:_PyVectorcall_Call:
  266|  44.5k|{
  267|  44.5k|    assert(func != NULL);
  ------------------
  |  Branch (267:5): [True: 44.5k, False: 0]
  ------------------
  268|       |
  269|  44.5k|    Py_ssize_t nargs = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|  44.5k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  270|       |
  271|       |    /* Fast path for no keywords */
  272|  44.5k|    if (kwargs == NULL || PyDict_GET_SIZE(kwargs) == 0) {
  ------------------
  |  |   63|    669|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    669|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    669|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (272:9): [True: 43.8k, False: 669]
  |  Branch (272:27): [True: 669, False: 0]
  ------------------
  273|  44.5k|        return func(callable, _PyTuple_ITEMS(tuple), nargs, NULL);
  ------------------
  |  |   26|  44.5k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|  89.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 44.5k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|  44.5k|    }
  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|  77.6k|{
  520|  77.6k|    PyObject* small_stack[_PY_FASTCALL_SMALL_STACK];
  521|  77.6k|    const Py_ssize_t small_stack_len = Py_ARRAY_LENGTH(small_stack);
  ------------------
  |  |  232|  77.6k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  522|  77.6k|    PyObject **stack;
  523|  77.6k|    Py_ssize_t nargs, i;
  524|  77.6k|    PyObject *result;
  525|       |
  526|  77.6k|    if (callable == NULL) {
  ------------------
  |  Branch (526:9): [True: 0, False: 77.6k]
  ------------------
  527|      0|        return null_error(tstate);
  528|      0|    }
  529|       |
  530|  77.6k|    if (!format || !*format) {
  ------------------
  |  Branch (530:9): [True: 0, False: 77.6k]
  |  Branch (530:20): [True: 0, False: 77.6k]
  ------------------
  531|      0|        return _PyObject_CallNoArgsTstate(tstate, callable);
  532|      0|    }
  533|       |
  534|  77.6k|    stack = _Py_VaBuildStack(small_stack, small_stack_len,
  535|  77.6k|                             format, va, &nargs);
  536|  77.6k|    if (stack == NULL) {
  ------------------
  |  Branch (536:9): [True: 0, False: 77.6k]
  ------------------
  537|      0|        return NULL;
  538|      0|    }
  539|  77.6k|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, callable);
  ------------------
  |  |   80|  77.6k|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  540|  77.6k|    if (nargs == 1 && PyTuple_Check(stack[0])) {
  ------------------
  |  |   27|      8|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (540:9): [True: 8, False: 77.6k]
  ------------------
  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|  77.6k|    else {
  552|  77.6k|        result = _PyObject_VectorcallTstate(tstate, callable,
  553|  77.6k|                                            stack, nargs, NULL);
  554|  77.6k|    }
  555|       |
  556|   464k|    for (i = 0; i < nargs; ++i) {
  ------------------
  |  Branch (556:17): [True: 387k, False: 77.6k]
  ------------------
  557|   387k|        Py_DECREF(stack[i]);
  ------------------
  |  |  430|   387k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   387k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   387k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|   387k|    }
  559|  77.6k|    if (stack != small_stack) {
  ------------------
  |  Branch (559:9): [True: 0, False: 77.6k]
  ------------------
  560|      0|        PyMem_Free(stack);
  561|      0|    }
  562|  77.6k|    return result;
  563|  77.6k|}
call.c:callmethod:
  618|  3.21k|{
  619|  3.21k|    PyObject *result = NULL;
  620|       |
  621|  3.21k|    _PyCStackRef self, method;
  622|  3.21k|    _PyThreadState_PushCStackRef(tstate, &self);
  623|  3.21k|    _PyThreadState_PushCStackRef(tstate, &method);
  624|  3.21k|    self.ref = PyStackRef_FromPyObjectBorrow(obj);
  625|       |
  626|  3.21k|    int res = _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  627|  3.21k|    if (res < 0) {
  ------------------
  |  Branch (627:9): [True: 0, False: 3.21k]
  ------------------
  628|      0|        goto exit;
  629|      0|    }
  630|       |
  631|  3.21k|    PyObject *callable = PyStackRef_AsPyObjectBorrow(method.ref);
  632|  3.21k|    PyObject *self_obj = PyStackRef_AsPyObjectBorrow(self.ref);
  633|       |
  634|  3.21k|    if (!PyCallable_Check(callable)) {
  ------------------
  |  Branch (634:9): [True: 0, False: 3.21k]
  ------------------
  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|  3.21k|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
  643|  3.21k|    Py_ssize_t nargs = 0;
  644|  3.21k|    PyObject **built = NULL;
  645|  3.21k|    if (format != NULL && *format != '\0') {
  ------------------
  |  Branch (645:9): [True: 237, False: 2.97k]
  |  Branch (645:27): [True: 235, False: 2]
  ------------------
  646|    235|        built = _Py_VaBuildStack(small_stack, _PY_FASTCALL_SMALL_STACK,
  ------------------
  |  |   29|    235|#define _PY_FASTCALL_SMALL_STACK 5
  ------------------
  647|    235|                                 format, va, &nargs);
  648|    235|        if (built == NULL) {
  ------------------
  |  Branch (648:13): [True: 0, False: 235]
  ------------------
  649|      0|            goto exit;
  650|      0|        }
  651|    235|    }
  652|       |
  653|       |    /* Backward compat: a single tuple from "O" is unpacked. */
  654|  3.21k|    PyObject *const *args = built;
  655|  3.21k|    Py_ssize_t n = nargs;
  656|  3.21k|    if (nargs == 1 && PyTuple_Check(built[0])) {
  ------------------
  |  |   27|    149|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    149|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 149]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (656:9): [True: 149, False: 3.06k]
  ------------------
  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|  3.21k|    if (self_obj != NULL) {
  ------------------
  |  Branch (661:9): [True: 2.91k, False: 295]
  ------------------
  662|  2.91k|        result = _PyObject_VectorcallPrepend(tstate, callable, self_obj, args, n, NULL);
  663|  2.91k|    }
  664|    295|    else {
  665|    295|        result = _PyObject_VectorcallTstate(tstate, callable, args, n, NULL);
  666|    295|    }
  667|       |
  668|  3.58k|    for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (668:28): [True: 375, False: 3.21k]
  ------------------
  669|    375|        Py_DECREF(built[i]);
  ------------------
  |  |  430|    375|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    375|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    375|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  670|    375|    }
  671|  3.21k|    if (built != small_stack) {
  ------------------
  |  Branch (671:9): [True: 2.98k, False: 223]
  ------------------
  672|  2.98k|        PyMem_Free(built);
  673|  2.98k|    }
  674|       |
  675|  3.21k|exit:
  676|  3.21k|    _PyThreadState_PopCStackRef(tstate, &method);
  677|  3.21k|    _PyThreadState_PopCStackRef(tstate, &self);
  678|  3.21k|    return result;
  679|  3.21k|}
call.c:object_vacall:
  805|  41.8k|{
  806|  41.8k|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
  807|  41.8k|    PyObject **stack;
  808|  41.8k|    Py_ssize_t nargs;
  809|  41.8k|    PyObject *result;
  810|  41.8k|    Py_ssize_t i;
  811|  41.8k|    va_list countva;
  812|       |
  813|  41.8k|    if (callable == NULL) {
  ------------------
  |  Branch (813:9): [True: 0, False: 41.8k]
  ------------------
  814|      0|        return null_error(tstate);
  815|      0|    }
  816|       |
  817|       |    /* Count the number of arguments */
  818|  41.8k|    va_copy(countva, vargs);
  819|  41.8k|    nargs = base ? 1 : 0;
  ------------------
  |  Branch (819:13): [True: 0, False: 41.8k]
  ------------------
  820|   332k|    while (1) {
  ------------------
  |  Branch (820:12): [True: 332k, Folded]
  ------------------
  821|   332k|        PyObject *arg = va_arg(countva, PyObject *);
  822|   332k|        if (arg == NULL) {
  ------------------
  |  Branch (822:13): [True: 41.8k, False: 290k]
  ------------------
  823|  41.8k|            break;
  824|  41.8k|        }
  825|   290k|        nargs++;
  826|   290k|    }
  827|  41.8k|    va_end(countva);
  828|       |
  829|       |    /* Copy arguments */
  830|  41.8k|    if (nargs <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  232|  41.8k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (830:9): [True: 438, False: 41.4k]
  ------------------
  831|    438|        stack = small_stack;
  832|    438|    }
  833|  41.4k|    else {
  834|  41.4k|        stack = PyMem_Malloc(nargs * sizeof(stack[0]));
  835|  41.4k|        if (stack == NULL) {
  ------------------
  |  Branch (835:13): [True: 0, False: 41.4k]
  ------------------
  836|      0|            PyErr_NoMemory();
  837|      0|            return NULL;
  838|      0|        }
  839|  41.4k|    }
  840|       |
  841|  41.8k|    i = 0;
  842|  41.8k|    if (base) {
  ------------------
  |  Branch (842:9): [True: 0, False: 41.8k]
  ------------------
  843|      0|        stack[i++] = base;
  844|      0|    }
  845|       |
  846|   332k|    for (; i < nargs; ++i) {
  ------------------
  |  Branch (846:12): [True: 290k, False: 41.8k]
  ------------------
  847|   290k|        stack[i] = va_arg(vargs, PyObject *);
  848|   290k|    }
  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|  41.8k|    result = _PyObject_VectorcallTstate(tstate, callable, stack, nargs, NULL);
  857|       |
  858|  41.8k|    if (stack != small_stack) {
  ------------------
  |  Branch (858:9): [True: 41.4k, False: 438]
  ------------------
  859|  41.4k|        PyMem_Free(stack);
  860|  41.4k|    }
  861|  41.8k|    return result;
  862|  41.8k|}

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

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

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

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_iconcat:
   19|     10|{
   20|     10|    PyObject *return_value = NULL;
   21|       |
   22|     10|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     10|    {
  ------------------
   23|     10|    return_value = bytearray_iconcat_impl((PyByteArrayObject *)self, other);
   24|     10|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     10|    }
  ------------------
   25|       |
   26|     10|    return return_value;
   27|     10|}
bytearrayobject.c:bytearray_append:
 1405|   247k|{
 1406|   247k|    PyObject *return_value = NULL;
 1407|   247k|    int item;
 1408|       |
 1409|   247k|    if (!_getbytevalue(arg, &item)) {
  ------------------
  |  Branch (1409:9): [True: 0, False: 247k]
  ------------------
 1410|      0|        goto exit;
 1411|      0|    }
 1412|   247k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   247k|    {
  ------------------
 1413|   247k|    return_value = bytearray_append_impl((PyByteArrayObject *)self, item);
 1414|   247k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   247k|    }
  ------------------
 1415|       |
 1416|   247k|exit:
 1417|   247k|    return return_value;
 1418|   247k|}
bytearrayobject.c:bytearray_extend:
 1437|   170k|{
 1438|   170k|    PyObject *return_value = NULL;
 1439|       |
 1440|   170k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   170k|    {
  ------------------
 1441|   170k|    return_value = bytearray_extend_impl((PyByteArrayObject *)self, iterable_of_ints);
 1442|   170k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   170k|    }
  ------------------
 1443|       |
 1444|   170k|    return return_value;
 1445|   170k|}
bytearrayobject.c:bytearray_find:
  295|     78|{
  296|     78|    PyObject *return_value = NULL;
  297|     78|    PyObject *sub;
  298|     78|    Py_ssize_t start = 0;
  299|     78|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     78|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  300|       |
  301|     78|    if (!_PyArg_CheckPositional("find", nargs, 1, 3)) {
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  302|      0|        goto exit;
  303|      0|    }
  304|     78|    sub = args[0];
  305|     78|    if (nargs < 2) {
  ------------------
  |  Branch (305:9): [True: 0, False: 78]
  ------------------
  306|      0|        goto skip_optional;
  307|      0|    }
  308|     78|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (308:9): [True: 0, False: 78]
  ------------------
  309|      0|        goto exit;
  310|      0|    }
  311|     78|    if (nargs < 3) {
  ------------------
  |  Branch (311:9): [True: 78, False: 0]
  ------------------
  312|     78|        goto skip_optional;
  313|     78|    }
  314|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (314:9): [True: 0, False: 0]
  ------------------
  315|      0|        goto exit;
  316|      0|    }
  317|     78|skip_optional:
  318|     78|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     78|    {
  ------------------
  319|     78|    return_value = bytearray_find_impl((PyByteArrayObject *)self, sub, start, end);
  320|     78|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     78|    }
  ------------------
  321|       |
  322|     78|exit:
  323|     78|    return return_value;
  324|     78|}
bytearrayobject.c:bytearray_take_bytes:
  818|   199k|{
  819|   199k|    PyObject *return_value = NULL;
  820|   199k|    PyObject *n = Py_None;
  ------------------
  |  |  616|   199k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  821|       |
  822|   199k|    if (!_PyArg_CheckPositional("take_bytes", nargs, 0, 1)) {
  ------------------
  |  |   38|   199k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 199k, False: 0]
  |  |  |  Branch (38:27): [True: 199k, False: 0]
  |  |  ------------------
  |  |   39|   199k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  823|      0|        goto exit;
  824|      0|    }
  825|   199k|    if (nargs < 1) {
  ------------------
  |  Branch (825:9): [True: 199k, False: 0]
  ------------------
  826|   199k|        goto skip_optional;
  827|   199k|    }
  828|      0|    n = args[0];
  829|   199k|skip_optional:
  830|   199k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   199k|    {
  ------------------
  831|   199k|    return_value = bytearray_take_bytes_impl((PyByteArrayObject *)self, n);
  832|   199k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   199k|    }
  ------------------
  833|       |
  834|   199k|exit:
  835|   199k|    return return_value;
  836|   199k|}
bytearrayobject.c:bytearray_translate:
  860|      7|{
  861|      7|    PyObject *return_value = NULL;
  862|      7|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  863|       |
  864|      7|    #define NUM_KEYWORDS 1
  865|      7|    static struct {
  866|      7|        PyGC_Head _this_is_not_used;
  867|      7|        PyObject_VAR_HEAD
  868|      7|        Py_hash_t ob_hash;
  869|      7|        PyObject *ob_item[NUM_KEYWORDS];
  870|      7|    } _kwtuple = {
  871|      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|    },
  ------------------
  872|      7|        .ob_hash = -1,
  873|      7|        .ob_item = { &_Py_ID(delete), },
  ------------------
  |  |  951|      7|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  874|      7|    };
  875|      7|    #undef NUM_KEYWORDS
  876|      7|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  877|       |
  878|       |    #else  // !Py_BUILD_CORE
  879|       |    #  define KWTUPLE NULL
  880|       |    #endif  // !Py_BUILD_CORE
  881|       |
  882|      7|    static const char * const _keywords[] = {"", "delete", NULL};
  883|      7|    static _PyArg_Parser _parser = {
  884|      7|        .keywords = _keywords,
  885|      7|        .fname = "translate",
  886|      7|        .kwtuple = KWTUPLE,
  ------------------
  |  |  876|      7|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  887|      7|    };
  888|      7|    #undef KWTUPLE
  889|      7|    PyObject *argsbuf[2];
  890|      7|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (890:36): [True: 0, False: 7]
  ------------------
  891|      7|    PyObject *table;
  892|      7|    PyObject *deletechars = NULL;
  893|       |
  894|      7|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|      7|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 7, False: 0]
  |  |  ------------------
  |  |   91|      7|      (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]
  |  |  ------------------
  |  |   92|      7|      (args) : \
  |  |   93|      7|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  895|      7|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  896|      7|    if (!args) {
  ------------------
  |  Branch (896:9): [True: 0, False: 7]
  ------------------
  897|      0|        goto exit;
  898|      0|    }
  899|      7|    table = args[0];
  900|      7|    if (!noptargs) {
  ------------------
  |  Branch (900:9): [True: 7, False: 0]
  ------------------
  901|      7|        goto skip_optional_pos;
  902|      7|    }
  903|      0|    deletechars = args[1];
  904|      7|skip_optional_pos:
  905|      7|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      7|    {
  ------------------
  906|      7|    return_value = bytearray_translate_impl((PyByteArrayObject *)self, table, deletechars);
  907|      7|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      7|    }
  ------------------
  908|       |
  909|      7|exit:
  910|      7|    return return_value;
  911|      7|}
bytearrayobject.c:bytearray_vectorcall:
  187|   199k|{
  188|   199k|    PyObject *return_value = NULL;
  189|   199k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   199k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  190|   199k|    PyObject *self;
  191|   199k|    int _result;
  192|   199k|    PyObject *arg = NULL;
  193|   199k|    const char *encoding = NULL;
  194|   199k|    const char *errors = NULL;
  195|       |
  196|   199k|    assert(_PyType_CAST(type)->tp_init == bytearray___init__);
  ------------------
  |  Branch (196:5): [True: 199k, False: 0]
  |  Branch (196:5): [True: 199k, False: 0]
  ------------------
  197|       |    /* Make sure the type object is immutable: the generated
  198|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
  199|   199k|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (199:5): [True: 199k, False: 0]
  |  Branch (199:5): [True: 199k, False: 0]
  ------------------
  200|   199k|    if (kwnames != NULL || nargs > 3) {
  ------------------
  |  Branch (200:9): [True: 0, False: 199k]
  |  Branch (200:28): [True: 0, False: 199k]
  ------------------
  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|   199k|    if (nargs < 1) {
  ------------------
  |  Branch (215:9): [True: 199k, False: 18]
  ------------------
  216|   199k|        goto skip_optional;
  217|   199k|    }
  218|     18|    arg = args[0];
  219|     18|    if (nargs < 2) {
  ------------------
  |  Branch (219:9): [True: 18, False: 0]
  ------------------
  220|     18|        goto skip_optional;
  221|     18|    }
  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|   199k|skip_optional:
  242|   199k|    self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|   199k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   199k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|   199k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   199k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (242:12): [True: 199k, False: 0]
  |  Branch (242:39): [True: 199k, False: 0]
  ------------------
  243|   199k|        (PyObject *)&_Py_SINGLETON(tuple_empty), NULL);
  ------------------
  |  |   18|   199k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|   199k|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  244|   199k|    if (self == NULL) {
  ------------------
  |  Branch (244:9): [True: 0, False: 199k]
  ------------------
  245|      0|        goto exit;
  246|      0|    }
  247|   199k|    _result = bytearray___init___impl((PyByteArrayObject *)self, arg, encoding, errors);
  248|   199k|    if (_result != 0) {
  ------------------
  |  Branch (248:9): [True: 0, False: 199k]
  ------------------
  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|   199k|    return_value = self;
  253|       |
  254|   199k|exit:
  255|   199k|    return return_value;
  256|   199k|}

bytesobject.c:bytes_decode:
 1093|  31.4k|{
 1094|  31.4k|    PyObject *return_value = NULL;
 1095|  31.4k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1096|       |
 1097|  31.4k|    #define NUM_KEYWORDS 2
 1098|  31.4k|    static struct {
 1099|  31.4k|        PyGC_Head _this_is_not_used;
 1100|  31.4k|        PyObject_VAR_HEAD
 1101|  31.4k|        Py_hash_t ob_hash;
 1102|  31.4k|        PyObject *ob_item[NUM_KEYWORDS];
 1103|  31.4k|    } _kwtuple = {
 1104|  31.4k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  31.4k|    {                                     \
  |  |   98|  31.4k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  31.4k|    {                               \
  |  |  |  |   91|  31.4k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  31.4k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  31.4k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  31.4k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  31.4k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  31.4k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  31.4k|        (type)                      \
  |  |  |  |   93|  31.4k|    },
  |  |  ------------------
  |  |   99|  31.4k|        (size)                            \
  |  |  100|  31.4k|    },
  ------------------
 1105|  31.4k|        .ob_hash = -1,
 1106|  31.4k|        .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  951|  31.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  31.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  31.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  951|  31.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  31.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  31.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1107|  31.4k|    };
 1108|  31.4k|    #undef NUM_KEYWORDS
 1109|  31.4k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1110|       |
 1111|       |    #else  // !Py_BUILD_CORE
 1112|       |    #  define KWTUPLE NULL
 1113|       |    #endif  // !Py_BUILD_CORE
 1114|       |
 1115|  31.4k|    static const char * const _keywords[] = {"encoding", "errors", NULL};
 1116|  31.4k|    static _PyArg_Parser _parser = {
 1117|  31.4k|        .keywords = _keywords,
 1118|  31.4k|        .fname = "decode",
 1119|  31.4k|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1109|  31.4k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1120|  31.4k|    };
 1121|  31.4k|    #undef KWTUPLE
 1122|  31.4k|    PyObject *argsbuf[2];
 1123|  31.4k|    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: 31.4k]
  ------------------
 1124|  31.4k|    const char *encoding = NULL;
 1125|  31.4k|    const char *errors = NULL;
 1126|       |
 1127|  31.4k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|  31.4k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 31.4k, False: 0]
  |  |  ------------------
  |  |   91|  31.4k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 31.4k, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 31.4k]
  |  |  |  Branch (91:43): [True: 31.4k, False: 0]
  |  |  |  Branch (91:67): [True: 31.4k, False: 0]
  |  |  ------------------
  |  |   92|  31.4k|      (args) : \
  |  |   93|  31.4k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1128|  31.4k|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1129|  31.4k|    if (!args) {
  ------------------
  |  Branch (1129:9): [True: 0, False: 31.4k]
  ------------------
 1130|      0|        goto exit;
 1131|      0|    }
 1132|  31.4k|    if (!noptargs) {
  ------------------
  |  Branch (1132:9): [True: 0, False: 31.4k]
  ------------------
 1133|      0|        goto skip_optional_pos;
 1134|      0|    }
 1135|  31.4k|    if (args[0]) {
  ------------------
  |  Branch (1135:9): [True: 31.4k, False: 0]
  ------------------
 1136|  31.4k|        if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|  31.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  31.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1136:13): [True: 0, False: 31.4k]
  ------------------
 1137|      0|            _PyArg_BadArgument("decode", "argument 'encoding'", "str", args[0]);
 1138|      0|            goto exit;
 1139|      0|        }
 1140|  31.4k|        encoding = _PyUnicode_AsUTF8NoNUL(args[0]);
 1141|  31.4k|        if (encoding == NULL) {
  ------------------
  |  Branch (1141:13): [True: 0, False: 31.4k]
  ------------------
 1142|      0|            goto exit;
 1143|      0|        }
 1144|  31.4k|        if (!--noptargs) {
  ------------------
  |  Branch (1144:13): [True: 31.4k, False: 2]
  ------------------
 1145|  31.4k|            goto skip_optional_pos;
 1146|  31.4k|        }
 1147|  31.4k|    }
 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|  31.4k|skip_optional_pos:
 1157|  31.4k|    return_value = bytes_decode_impl((PyBytesObject *)self, encoding, errors);
 1158|       |
 1159|  31.4k|exit:
 1160|  31.4k|    return return_value;
 1161|  31.4k|}
bytesobject.c:bytes_find:
  341|  8.22k|{
  342|  8.22k|    PyObject *return_value = NULL;
  343|  8.22k|    PyObject *sub;
  344|  8.22k|    Py_ssize_t start = 0;
  345|  8.22k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  8.22k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  346|       |
  347|  8.22k|    if (!_PyArg_CheckPositional("find", nargs, 1, 3)) {
  ------------------
  |  |   38|  8.22k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 8.22k, False: 0]
  |  |  |  Branch (38:27): [True: 8.22k, False: 0]
  |  |  ------------------
  |  |   39|  8.22k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  348|      0|        goto exit;
  349|      0|    }
  350|  8.22k|    sub = args[0];
  351|  8.22k|    if (nargs < 2) {
  ------------------
  |  Branch (351:9): [True: 0, False: 8.22k]
  ------------------
  352|      0|        goto skip_optional;
  353|      0|    }
  354|  8.22k|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (354:9): [True: 0, False: 8.22k]
  ------------------
  355|      0|        goto exit;
  356|      0|    }
  357|  8.22k|    if (nargs < 3) {
  ------------------
  |  Branch (357:9): [True: 8.22k, False: 0]
  ------------------
  358|  8.22k|        goto skip_optional;
  359|  8.22k|    }
  360|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (360:9): [True: 0, False: 0]
  ------------------
  361|      0|        goto exit;
  362|      0|    }
  363|  8.22k|skip_optional:
  364|  8.22k|    return_value = bytes_find_impl((PyBytesObject *)self, sub, start, end);
  365|       |
  366|  8.22k|exit:
  367|  8.22k|    return return_value;
  368|  8.22k|}
bytesobject.c:bytes_replace:
  818|     43|{
  819|     43|    PyObject *return_value = NULL;
  820|     43|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  821|       |
  822|     43|    #define NUM_KEYWORDS 1
  823|     43|    static struct {
  824|     43|        PyGC_Head _this_is_not_used;
  825|     43|        PyObject_VAR_HEAD
  826|     43|        Py_hash_t ob_hash;
  827|     43|        PyObject *ob_item[NUM_KEYWORDS];
  828|     43|    } _kwtuple = {
  829|     43|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     43|    {                                     \
  |  |   98|     43|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     43|    {                               \
  |  |  |  |   91|     43|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     43|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     43|#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|     43|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     43|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     43|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     43|        (type)                      \
  |  |  |  |   93|     43|    },
  |  |  ------------------
  |  |   99|     43|        (size)                            \
  |  |  100|     43|    },
  ------------------
  830|     43|        .ob_hash = -1,
  831|     43|        .ob_item = { &_Py_ID(count), },
  ------------------
  |  |  951|     43|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     43|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     43|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  832|     43|    };
  833|     43|    #undef NUM_KEYWORDS
  834|     43|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  835|       |
  836|       |    #else  // !Py_BUILD_CORE
  837|       |    #  define KWTUPLE NULL
  838|       |    #endif  // !Py_BUILD_CORE
  839|       |
  840|     43|    static const char * const _keywords[] = {"", "", "count", NULL};
  841|     43|    static _PyArg_Parser _parser = {
  842|     43|        .keywords = _keywords,
  843|     43|        .fname = "replace",
  844|     43|        .kwtuple = KWTUPLE,
  ------------------
  |  |  834|     43|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  845|     43|    };
  846|     43|    #undef KWTUPLE
  847|     43|    PyObject *argsbuf[3];
  848|     43|    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: 43]
  ------------------
  849|     43|    Py_buffer old = {NULL, NULL};
  850|     43|    Py_buffer new = {NULL, NULL};
  851|     43|    Py_ssize_t count = -1;
  852|       |
  853|     43|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|     43|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 43, False: 0]
  |  |  ------------------
  |  |   91|     43|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 43, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 43]
  |  |  |  Branch (91:43): [True: 43, False: 0]
  |  |  |  Branch (91:67): [True: 43, False: 0]
  |  |  ------------------
  |  |   92|     43|      (args) : \
  |  |   93|     43|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  854|     43|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  855|     43|    if (!args) {
  ------------------
  |  Branch (855:9): [True: 0, False: 43]
  ------------------
  856|      0|        goto exit;
  857|      0|    }
  858|     43|    if (PyObject_GetBuffer(args[0], &old, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     43|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (858:9): [True: 0, False: 43]
  ------------------
  859|      0|        goto exit;
  860|      0|    }
  861|     43|    if (PyObject_GetBuffer(args[1], &new, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     43|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (861:9): [True: 0, False: 43]
  ------------------
  862|      0|        goto exit;
  863|      0|    }
  864|     43|    if (!noptargs) {
  ------------------
  |  Branch (864:9): [True: 43, False: 0]
  ------------------
  865|     43|        goto skip_optional_pos;
  866|     43|    }
  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|     43|skip_optional_pos:
  880|     43|    return_value = bytes_replace_impl((PyBytesObject *)self, &old, &new, count);
  881|       |
  882|     43|exit:
  883|       |    /* Cleanup for old */
  884|     43|    if (old.obj) {
  ------------------
  |  Branch (884:9): [True: 43, False: 0]
  ------------------
  885|     43|       PyBuffer_Release(&old);
  886|     43|    }
  887|       |    /* Cleanup for new */
  888|     43|    if (new.obj) {
  ------------------
  |  Branch (888:9): [True: 43, False: 0]
  ------------------
  889|     43|       PyBuffer_Release(&new);
  890|     43|    }
  891|       |
  892|     43|    return return_value;
  893|     43|}
bytesobject.c:bytes_rfind:
  443|  15.1k|{
  444|  15.1k|    PyObject *return_value = NULL;
  445|  15.1k|    PyObject *sub;
  446|  15.1k|    Py_ssize_t start = 0;
  447|  15.1k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  15.1k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  448|       |
  449|  15.1k|    if (!_PyArg_CheckPositional("rfind", nargs, 1, 3)) {
  ------------------
  |  |   38|  15.1k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 15.1k, False: 0]
  |  |  |  Branch (38:27): [True: 15.1k, False: 0]
  |  |  ------------------
  |  |   39|  15.1k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  450|      0|        goto exit;
  451|      0|    }
  452|  15.1k|    sub = args[0];
  453|  15.1k|    if (nargs < 2) {
  ------------------
  |  Branch (453:9): [True: 0, False: 15.1k]
  ------------------
  454|      0|        goto skip_optional;
  455|      0|    }
  456|  15.1k|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (456:9): [True: 0, False: 15.1k]
  ------------------
  457|      0|        goto exit;
  458|      0|    }
  459|  15.1k|    if (nargs < 3) {
  ------------------
  |  Branch (459:9): [True: 15.1k, False: 0]
  ------------------
  460|  15.1k|        goto skip_optional;
  461|  15.1k|    }
  462|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (462:9): [True: 0, False: 0]
  ------------------
  463|      0|        goto exit;
  464|      0|    }
  465|  15.1k|skip_optional:
  466|  15.1k|    return_value = bytes_rfind_impl((PyBytesObject *)self, sub, start, end);
  467|       |
  468|  15.1k|exit:
  469|  15.1k|    return return_value;
  470|  15.1k|}
bytesobject.c:bytes_split:
   53|    970|{
   54|    970|    PyObject *return_value = NULL;
   55|    970|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   56|       |
   57|    970|    #define NUM_KEYWORDS 2
   58|    970|    static struct {
   59|    970|        PyGC_Head _this_is_not_used;
   60|    970|        PyObject_VAR_HEAD
   61|    970|        Py_hash_t ob_hash;
   62|    970|        PyObject *ob_item[NUM_KEYWORDS];
   63|    970|    } _kwtuple = {
   64|    970|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    970|    {                                     \
  |  |   98|    970|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    970|    {                               \
  |  |  |  |   91|    970|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    970|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    970|#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|    970|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    970|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    970|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    970|        (type)                      \
  |  |  |  |   93|    970|    },
  |  |  ------------------
  |  |   99|    970|        (size)                            \
  |  |  100|    970|    },
  ------------------
   65|    970|        .ob_hash = -1,
   66|    970|        .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  951|    970|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    970|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    970|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  951|    970|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    970|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    970|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   67|    970|    };
   68|    970|    #undef NUM_KEYWORDS
   69|    970|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   70|       |
   71|       |    #else  // !Py_BUILD_CORE
   72|       |    #  define KWTUPLE NULL
   73|       |    #endif  // !Py_BUILD_CORE
   74|       |
   75|    970|    static const char * const _keywords[] = {"sep", "maxsplit", NULL};
   76|    970|    static _PyArg_Parser _parser = {
   77|    970|        .keywords = _keywords,
   78|    970|        .fname = "split",
   79|    970|        .kwtuple = KWTUPLE,
  ------------------
  |  |   69|    970|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   80|    970|    };
   81|    970|    #undef KWTUPLE
   82|    970|    PyObject *argsbuf[2];
   83|    970|    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 (83:36): [True: 0, False: 970]
  ------------------
   84|    970|    PyObject *sep = Py_None;
  ------------------
  |  |  616|    970|#  define Py_None (&_Py_NoneStruct)
  ------------------
   85|    970|    Py_ssize_t maxsplit = -1;
   86|       |
   87|    970|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|    970|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 970, False: 0]
  |  |  ------------------
  |  |   91|    970|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 970, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 970]
  |  |  |  Branch (91:43): [True: 970, False: 0]
  |  |  |  Branch (91:67): [True: 970, False: 0]
  |  |  ------------------
  |  |   92|    970|      (args) : \
  |  |   93|    970|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   88|    970|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   89|    970|    if (!args) {
  ------------------
  |  Branch (89:9): [True: 0, False: 970]
  ------------------
   90|      0|        goto exit;
   91|      0|    }
   92|    970|    if (!noptargs) {
  ------------------
  |  Branch (92:9): [True: 0, False: 970]
  ------------------
   93|      0|        goto skip_optional_pos;
   94|      0|    }
   95|    970|    if (args[0]) {
  ------------------
  |  Branch (95:9): [True: 970, False: 0]
  ------------------
   96|    970|        sep = args[0];
   97|    970|        if (!--noptargs) {
  ------------------
  |  Branch (97:13): [True: 970, False: 0]
  ------------------
   98|    970|            goto skip_optional_pos;
   99|    970|        }
  100|    970|    }
  101|      0|    {
  102|      0|        Py_ssize_t ival = -1;
  103|      0|        PyObject *iobj = _PyNumber_Index(args[1]);
  104|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (104:13): [True: 0, False: 0]
  ------------------
  105|      0|            ival = PyLong_AsSsize_t(iobj);
  106|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  107|      0|        }
  108|      0|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (108:13): [True: 0, False: 0]
  |  Branch (108:27): [True: 0, False: 0]
  ------------------
  109|      0|            goto exit;
  110|      0|        }
  111|      0|        maxsplit = ival;
  112|      0|    }
  113|    970|skip_optional_pos:
  114|    970|    return_value = bytes_split_impl((PyBytesObject *)self, sep, maxsplit);
  115|       |
  116|    970|exit:
  117|    970|    return return_value;
  118|    970|}
bytesobject.c:bytes_startswith:
  989|   151k|{
  990|   151k|    PyObject *return_value = NULL;
  991|   151k|    PyObject *subobj;
  992|   151k|    Py_ssize_t start = 0;
  993|   151k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|   151k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  994|       |
  995|   151k|    if (!_PyArg_CheckPositional("startswith", nargs, 1, 3)) {
  ------------------
  |  |   38|   151k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 151k, False: 0]
  |  |  |  Branch (38:27): [True: 151k, False: 0]
  |  |  ------------------
  |  |   39|   151k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  996|      0|        goto exit;
  997|      0|    }
  998|   151k|    subobj = args[0];
  999|   151k|    if (nargs < 2) {
  ------------------
  |  Branch (999:9): [True: 151k, False: 0]
  ------------------
 1000|   151k|        goto skip_optional;
 1001|   151k|    }
 1002|      0|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (1002:9): [True: 0, False: 0]
  ------------------
 1003|      0|        goto exit;
 1004|      0|    }
 1005|      0|    if (nargs < 3) {
  ------------------
  |  Branch (1005:9): [True: 0, False: 0]
  ------------------
 1006|      0|        goto skip_optional;
 1007|      0|    }
 1008|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (1008:9): [True: 0, False: 0]
  ------------------
 1009|      0|        goto exit;
 1010|      0|    }
 1011|   151k|skip_optional:
 1012|   151k|    return_value = bytes_startswith_impl((PyBytesObject *)self, subobj, start, end);
 1013|       |
 1014|   151k|exit:
 1015|   151k|    return return_value;
 1016|   151k|}
bytesobject.c:bytes_vectorcall:
 1452|  16.4k|{
 1453|  16.4k|    PyObject *return_value = NULL;
 1454|  16.4k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  16.4k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1455|  16.4k|    PyObject *x = NULL;
 1456|  16.4k|    const char *encoding = NULL;
 1457|  16.4k|    const char *errors = NULL;
 1458|       |
 1459|  16.4k|    assert(_PyType_CAST(type)->tp_new == bytes_new);
  ------------------
  |  Branch (1459:5): [True: 16.4k, False: 0]
  |  Branch (1459:5): [True: 16.4k, False: 0]
  ------------------
 1460|       |    /* Make sure the type object is immutable: the generated
 1461|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
 1462|  16.4k|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (1462:5): [True: 16.4k, False: 0]
  |  Branch (1462:5): [True: 16.4k, False: 0]
  ------------------
 1463|  16.4k|    if (kwnames != NULL || nargs > 3) {
  ------------------
  |  Branch (1463:9): [True: 0, False: 16.4k]
  |  Branch (1463:28): [True: 0, False: 16.4k]
  ------------------
 1464|      0|        return bytes_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 (1464:33): [True: 0, False: 0]
  ------------------
 1465|      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 (1465:13): [True: 0, False: 0]
  ------------------
 1466|      0|            NULL, kwnames);
 1467|      0|    }
 1468|  16.4k|    if (nargs < 1) {
  ------------------
  |  Branch (1468:9): [True: 0, False: 16.4k]
  ------------------
 1469|      0|        goto skip_optional;
 1470|      0|    }
 1471|  16.4k|    x = args[0];
 1472|  16.4k|    if (nargs < 2) {
  ------------------
  |  Branch (1472:9): [True: 16.4k, False: 0]
  ------------------
 1473|  16.4k|        goto skip_optional;
 1474|  16.4k|    }
 1475|      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 (1475:9): [True: 0, False: 0]
  ------------------
 1476|      0|        _PyArg_BadArgument("bytes", "argument 'encoding'", "str", args[1]);
 1477|      0|        goto exit;
 1478|      0|    }
 1479|      0|    encoding = _PyUnicode_AsUTF8NoNUL(args[1]);
 1480|      0|    if (encoding == NULL) {
  ------------------
  |  Branch (1480:9): [True: 0, False: 0]
  ------------------
 1481|      0|        goto exit;
 1482|      0|    }
 1483|      0|    if (nargs < 3) {
  ------------------
  |  Branch (1483:9): [True: 0, False: 0]
  ------------------
 1484|      0|        goto skip_optional;
 1485|      0|    }
 1486|      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 (1486:9): [True: 0, False: 0]
  ------------------
 1487|      0|        _PyArg_BadArgument("bytes", "argument 'errors'", "str", args[2]);
 1488|      0|        goto exit;
 1489|      0|    }
 1490|      0|    errors = _PyUnicode_AsUTF8NoNUL(args[2]);
 1491|      0|    if (errors == NULL) {
  ------------------
  |  Branch (1491:9): [True: 0, False: 0]
  ------------------
 1492|      0|        goto exit;
 1493|      0|    }
 1494|  16.4k|skip_optional:
 1495|  16.4k|    return_value = bytes_new_impl(_PyType_CAST(type), x, encoding, errors);
  ------------------
  |  |  770|  16.4k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  16.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1495:35): [True: 16.4k, False: 0]
  ------------------
 1496|       |
 1497|  16.4k|exit:
 1498|  16.4k|    return return_value;
 1499|  16.4k|}

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

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

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

exceptions.c:BaseException_str:
   17|  41.6k|{
   18|  41.6k|    PyObject *return_value = NULL;
   19|       |
   20|  41.6k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  41.6k|    {
  ------------------
   21|  41.6k|    return_value = BaseException_str_impl((PyBaseExceptionObject *)self);
   22|  41.6k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  41.6k|    }
  ------------------
   23|       |
   24|  41.6k|    return return_value;
   25|  41.6k|}
exceptions.c:ImportError_init:
  451|     11|{
  452|     11|    return ImportError_init_helper(self, _PyTuple_CAST(args)->ob_item,
  ------------------
  |  |   19|     11|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (452:42): [True: 11, False: 0]
  ------------------
  453|     11|        PyTuple_GET_SIZE(args),
  ------------------
  |  |   27|     11|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  454|     11|        kwargs ? PyDict_GET_SIZE(kwargs) : 0,
  ------------------
  |  |   63|     11|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (454:9): [True: 11, False: 0]
  ------------------
  455|       |        kwargs, NULL);
  456|     11|}
exceptions.c:ImportError_init_helper:
  377|    239|{
  378|    239|    int return_value = -1;
  379|    239|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  380|       |
  381|    239|    #define NUM_KEYWORDS 3
  382|    239|    static struct {
  383|    239|        PyGC_Head _this_is_not_used;
  384|    239|        PyObject_VAR_HEAD
  385|    239|        Py_hash_t ob_hash;
  386|    239|        PyObject *ob_item[NUM_KEYWORDS];
  387|    239|    } _kwtuple = {
  388|    239|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    239|    {                                     \
  |  |   98|    239|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    239|    {                               \
  |  |  |  |   91|    239|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    239|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    239|#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|    239|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    239|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    239|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    239|        (type)                      \
  |  |  |  |   93|    239|    },
  |  |  ------------------
  |  |   99|    239|        (size)                            \
  |  |  100|    239|    },
  ------------------
  389|    239|        .ob_hash = -1,
  390|    239|        .ob_item = { &_Py_ID(name), &_Py_ID(path), &_Py_ID(name_from), },
  ------------------
  |  |  951|    239|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    239|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    239|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(path), &_Py_ID(name_from), },
  ------------------
  |  |  951|    239|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    239|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    239|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(path), &_Py_ID(name_from), },
  ------------------
  |  |  951|    239|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    239|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    239|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|    239|    };
  392|    239|    #undef NUM_KEYWORDS
  393|    239|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  394|       |
  395|       |    #else  // !Py_BUILD_CORE
  396|       |    #  define KWTUPLE NULL
  397|       |    #endif  // !Py_BUILD_CORE
  398|       |
  399|    239|    static const char * const _keywords[] = {"name", "path", "name_from", NULL};
  400|    239|    static _PyArg_Parser _parser = {
  401|    239|        .keywords = _keywords,
  402|    239|        .fname = "ImportError",
  403|    239|        .kwtuple = KWTUPLE,
  ------------------
  |  |  393|    239|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  404|    239|    };
  405|    239|    #undef KWTUPLE
  406|    239|    PyObject *argsbuf[3];
  407|    239|    PyObject * const *fastargs;
  408|    239|    Py_ssize_t noptargs = 0 + nkw - 0;
  409|    239|    PyObject *__clinic_args = NULL;
  410|    239|    PyObject *name = NULL;
  411|    239|    PyObject *path = NULL;
  412|    239|    PyObject *name_from = NULL;
  413|       |
  414|    239|    fastargs = _PyArg_UnpackKeywords(args, nargs, kwargs, kwnames, &_parser,
  ------------------
  |  |   90|    239|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 239, Folded]
  |  |  |  Branch (90:23): [True: 228, False: 11]
  |  |  |  Branch (90:43): [True: 0, False: 228]
  |  |  ------------------
  |  |   91|    239|      (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|    239|      (args) : \
  |  |   93|    239|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|    239|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  415|    239|            /*minpos*/ 0, /*maxpos*/ 0, /*minkw*/ 0, /*varpos*/ 1, argsbuf);
  416|    239|    if (!fastargs) {
  ------------------
  |  Branch (416:9): [True: 0, False: 239]
  ------------------
  417|      0|        goto exit;
  418|      0|    }
  419|    239|    if (!noptargs) {
  ------------------
  |  Branch (419:9): [True: 0, False: 239]
  ------------------
  420|      0|        goto skip_optional_kwonly;
  421|      0|    }
  422|    239|    if (fastargs[0]) {
  ------------------
  |  Branch (422:9): [True: 226, False: 13]
  ------------------
  423|    226|        name = fastargs[0];
  424|    226|        if (!--noptargs) {
  ------------------
  |  Branch (424:13): [True: 220, False: 6]
  ------------------
  425|    220|            goto skip_optional_kwonly;
  426|    220|        }
  427|    226|    }
  428|     19|    if (fastargs[1]) {
  ------------------
  |  Branch (428:9): [True: 19, False: 0]
  ------------------
  429|     19|        path = fastargs[1];
  430|     19|        if (!--noptargs) {
  ------------------
  |  Branch (430:13): [True: 13, False: 6]
  ------------------
  431|     13|            goto skip_optional_kwonly;
  432|     13|        }
  433|     19|    }
  434|      6|    name_from = fastargs[2];
  435|    239|skip_optional_kwonly:
  436|    239|    __clinic_args = PyTuple_FromArray(args, nargs);
  437|    239|    if (__clinic_args == NULL) {
  ------------------
  |  Branch (437:9): [True: 0, False: 239]
  ------------------
  438|      0|        goto exit;
  439|      0|    }
  440|    239|    return_value = ImportError_init_impl((PyImportErrorObject *)self, __clinic_args, name, path, name_from);
  441|       |
  442|    239|exit:
  443|       |    /* Cleanup for args */
  444|    239|    Py_XDECREF(__clinic_args);
  ------------------
  |  |  621|    239|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    239|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    239|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  445|       |
  446|    239|    return return_value;
  447|    239|}
exceptions.c:ImportError_vectorcall:
  461|    228|{
  462|    228|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    228|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  463|    228|    PyObject *self;
  464|    228|    int _result;
  465|       |
  466|    228|    assert(_PyType_CAST(type)->tp_init == ImportError_init);
  ------------------
  |  Branch (466:5): [True: 228, False: 0]
  |  Branch (466:5): [True: 228, False: 0]
  ------------------
  467|       |    /* Make sure the type object is immutable: the generated
  468|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
  469|    228|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (469:5): [True: 228, False: 0]
  |  Branch (469:5): [True: 228, False: 0]
  ------------------
  470|    228|    self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|    228|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|    228|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (470:12): [True: 228, False: 0]
  |  Branch (470:39): [True: 228, False: 0]
  ------------------
  471|    228|        (PyObject *)&_Py_SINGLETON(tuple_empty), NULL);
  ------------------
  |  |   18|    228|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|    228|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  472|    228|    if (self == NULL) {
  ------------------
  |  Branch (472:9): [True: 0, False: 228]
  ------------------
  473|      0|        return NULL;
  474|      0|    }
  475|    228|    _result = ImportError_init_helper(self, args, nargs,
  476|    228|        kwnames ? PyTuple_GET_SIZE(kwnames) : 0,
  ------------------
  |  |   27|    228|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (476:9): [True: 228, False: 0]
  ------------------
  477|    228|        NULL, kwnames);
  478|    228|    if (_result != 0) {
  ------------------
  |  Branch (478:9): [True: 0, False: 228]
  ------------------
  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|    228|    return self;
  483|    228|}
exceptions.c:NameError_init_helper:
  491|      1|{
  492|      1|    int return_value = -1;
  493|      1|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  494|       |
  495|      1|    #define NUM_KEYWORDS 1
  496|      1|    static struct {
  497|      1|        PyGC_Head _this_is_not_used;
  498|      1|        PyObject_VAR_HEAD
  499|      1|        Py_hash_t ob_hash;
  500|      1|        PyObject *ob_item[NUM_KEYWORDS];
  501|      1|    } _kwtuple = {
  502|      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|    },
  ------------------
  503|      1|        .ob_hash = -1,
  504|      1|        .ob_item = { &_Py_ID(name), },
  ------------------
  |  |  951|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  505|      1|    };
  506|      1|    #undef NUM_KEYWORDS
  507|      1|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  508|       |
  509|       |    #else  // !Py_BUILD_CORE
  510|       |    #  define KWTUPLE NULL
  511|       |    #endif  // !Py_BUILD_CORE
  512|       |
  513|      1|    static const char * const _keywords[] = {"name", NULL};
  514|      1|    static _PyArg_Parser _parser = {
  515|      1|        .keywords = _keywords,
  516|      1|        .fname = "NameError",
  517|      1|        .kwtuple = KWTUPLE,
  ------------------
  |  |  507|      1|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  518|      1|    };
  519|      1|    #undef KWTUPLE
  520|      1|    PyObject *argsbuf[1];
  521|      1|    PyObject * const *fastargs;
  522|      1|    Py_ssize_t noptargs = 0 + nkw - 0;
  523|      1|    PyObject *__clinic_args = NULL;
  524|      1|    PyObject *name = NULL;
  525|       |
  526|      1|    fastargs = _PyArg_UnpackKeywords(args, nargs, kwargs, kwnames, &_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: 1, False: 0]
  |  |  ------------------
  |  |   91|      1|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 1, False: 0]
  |  |  |  Branch (91:31): [True: 0, Folded]
  |  |  |  Branch (91:43): [True: 0, 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)))
  ------------------
  527|      1|            /*minpos*/ 0, /*maxpos*/ 0, /*minkw*/ 0, /*varpos*/ 1, argsbuf);
  528|      1|    if (!fastargs) {
  ------------------
  |  Branch (528:9): [True: 0, False: 1]
  ------------------
  529|      0|        goto exit;
  530|      0|    }
  531|      1|    if (!noptargs) {
  ------------------
  |  Branch (531:9): [True: 1, False: 0]
  ------------------
  532|      1|        goto skip_optional_kwonly;
  533|      1|    }
  534|      0|    name = fastargs[0];
  535|      1|skip_optional_kwonly:
  536|      1|    __clinic_args = PyTuple_FromArray(args, nargs);
  537|      1|    if (__clinic_args == NULL) {
  ------------------
  |  Branch (537:9): [True: 0, False: 1]
  ------------------
  538|      0|        goto exit;
  539|      0|    }
  540|      1|    return_value = NameError_init_impl((PyNameErrorObject *)self, __clinic_args, name);
  541|       |
  542|      1|exit:
  543|       |    /* Cleanup for args */
  544|      1|    Py_XDECREF(__clinic_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  545|       |
  546|      1|    return return_value;
  547|      1|}
exceptions.c:NameError_vectorcall:
  561|      1|{
  562|      1|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      1|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  563|      1|    PyObject *self;
  564|      1|    int _result;
  565|       |
  566|      1|    assert(_PyType_CAST(type)->tp_init == NameError_init);
  ------------------
  |  Branch (566:5): [True: 1, False: 0]
  |  Branch (566:5): [True: 1, False: 0]
  ------------------
  567|       |    /* Make sure the type object is immutable: the generated
  568|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
  569|      1|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (569:5): [True: 1, False: 0]
  |  Branch (569:5): [True: 1, False: 0]
  ------------------
  570|      1|    self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|      1|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|      1|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (570:12): [True: 1, False: 0]
  |  Branch (570:39): [True: 1, False: 0]
  ------------------
  571|      1|        (PyObject *)&_Py_SINGLETON(tuple_empty), NULL);
  ------------------
  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  572|      1|    if (self == NULL) {
  ------------------
  |  Branch (572:9): [True: 0, False: 1]
  ------------------
  573|      0|        return NULL;
  574|      0|    }
  575|      1|    _result = NameError_init_helper(self, args, nargs,
  576|      1|        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 (576:9): [True: 0, False: 1]
  ------------------
  577|      1|        NULL, kwnames);
  578|      1|    if (_result != 0) {
  ------------------
  |  Branch (578:9): [True: 0, False: 1]
  ------------------
  579|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  580|      0|        return NULL;
  581|      0|    }
  582|      1|    return self;
  583|      1|}
exceptions.c:AttributeError_init_helper:
  592|    636|{
  593|    636|    int return_value = -1;
  594|    636|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  595|       |
  596|    636|    #define NUM_KEYWORDS 2
  597|    636|    static struct {
  598|    636|        PyGC_Head _this_is_not_used;
  599|    636|        PyObject_VAR_HEAD
  600|    636|        Py_hash_t ob_hash;
  601|    636|        PyObject *ob_item[NUM_KEYWORDS];
  602|    636|    } _kwtuple = {
  603|    636|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    636|    {                                     \
  |  |   98|    636|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    636|    {                               \
  |  |  |  |   91|    636|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    636|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    636|#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|    636|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    636|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    636|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    636|        (type)                      \
  |  |  |  |   93|    636|    },
  |  |  ------------------
  |  |   99|    636|        (size)                            \
  |  |  100|    636|    },
  ------------------
  604|    636|        .ob_hash = -1,
  605|    636|        .ob_item = { &_Py_ID(name), &_Py_ID(obj), },
  ------------------
  |  |  951|    636|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    636|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    636|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(obj), },
  ------------------
  |  |  951|    636|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    636|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    636|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  606|    636|    };
  607|    636|    #undef NUM_KEYWORDS
  608|    636|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  609|       |
  610|       |    #else  // !Py_BUILD_CORE
  611|       |    #  define KWTUPLE NULL
  612|       |    #endif  // !Py_BUILD_CORE
  613|       |
  614|    636|    static const char * const _keywords[] = {"name", "obj", NULL};
  615|    636|    static _PyArg_Parser _parser = {
  616|    636|        .keywords = _keywords,
  617|    636|        .fname = "AttributeError",
  618|    636|        .kwtuple = KWTUPLE,
  ------------------
  |  |  608|    636|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  619|    636|    };
  620|    636|    #undef KWTUPLE
  621|    636|    PyObject *argsbuf[2];
  622|    636|    PyObject * const *fastargs;
  623|    636|    Py_ssize_t noptargs = 0 + nkw - 0;
  624|    636|    PyObject *__clinic_args = NULL;
  625|    636|    PyObject *name = NULL;
  626|    636|    PyObject *obj = NULL;
  627|       |
  628|    636|    fastargs = _PyArg_UnpackKeywords(args, nargs, kwargs, kwnames, &_parser,
  ------------------
  |  |   90|    636|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 636, Folded]
  |  |  |  Branch (90:23): [True: 636, False: 0]
  |  |  |  Branch (90:43): [True: 636, False: 0]
  |  |  ------------------
  |  |   91|    636|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 636, False: 0]
  |  |  |  Branch (91:31): [True: 0, Folded]
  |  |  |  Branch (91:43): [True: 0, False: 0]
  |  |  |  Branch (91:67): [True: 636, False: 0]
  |  |  ------------------
  |  |   92|    636|      (args) : \
  |  |   93|    636|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  629|    636|            /*minpos*/ 0, /*maxpos*/ 0, /*minkw*/ 0, /*varpos*/ 1, argsbuf);
  630|    636|    if (!fastargs) {
  ------------------
  |  Branch (630:9): [True: 0, False: 636]
  ------------------
  631|      0|        goto exit;
  632|      0|    }
  633|    636|    if (!noptargs) {
  ------------------
  |  Branch (633:9): [True: 636, False: 0]
  ------------------
  634|    636|        goto skip_optional_kwonly;
  635|    636|    }
  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|    636|skip_optional_kwonly:
  644|    636|    __clinic_args = PyTuple_FromArray(args, nargs);
  645|    636|    if (__clinic_args == NULL) {
  ------------------
  |  Branch (645:9): [True: 0, False: 636]
  ------------------
  646|      0|        goto exit;
  647|      0|    }
  648|    636|    return_value = AttributeError_init_impl((PyAttributeErrorObject *)self, __clinic_args, name, obj);
  649|       |
  650|    636|exit:
  651|       |    /* Cleanup for args */
  652|    636|    Py_XDECREF(__clinic_args);
  ------------------
  |  |  621|    636|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    636|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    636|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  653|       |
  654|    636|    return return_value;
  655|    636|}
exceptions.c:AttributeError_vectorcall:
  669|    636|{
  670|    636|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    636|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  671|    636|    PyObject *self;
  672|    636|    int _result;
  673|       |
  674|    636|    assert(_PyType_CAST(type)->tp_init == AttributeError_init);
  ------------------
  |  Branch (674:5): [True: 636, False: 0]
  |  Branch (674:5): [True: 636, False: 0]
  ------------------
  675|       |    /* Make sure the type object is immutable: the generated
  676|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
  677|    636|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (677:5): [True: 636, False: 0]
  |  Branch (677:5): [True: 636, False: 0]
  ------------------
  678|    636|    self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|    636|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    636|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  self = _PyType_CAST(type)->tp_new(_PyType_CAST(type),
  ------------------
  |  |  770|    636|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    636|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (678:12): [True: 636, False: 0]
  |  Branch (678:39): [True: 636, False: 0]
  ------------------
  679|    636|        (PyObject *)&_Py_SINGLETON(tuple_empty), NULL);
  ------------------
  |  |   18|    636|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|    636|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
  680|    636|    if (self == NULL) {
  ------------------
  |  Branch (680:9): [True: 0, False: 636]
  ------------------
  681|      0|        return NULL;
  682|      0|    }
  683|    636|    _result = AttributeError_init_helper(self, args, nargs,
  684|    636|        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: 636]
  ------------------
  685|    636|        NULL, kwnames);
  686|    636|    if (_result != 0) {
  ------------------
  |  Branch (686:9): [True: 0, False: 636]
  ------------------
  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|    636|    return self;
  691|    636|}
exceptions.c:BaseException_add_note:
  126|  1.73k|{
  127|  1.73k|    PyObject *return_value = NULL;
  128|  1.73k|    PyObject *note;
  129|       |
  130|  1.73k|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|  1.73k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.73k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (130:9): [True: 0, False: 1.73k]
  ------------------
  131|      0|        _PyArg_BadArgument("add_note", "argument", "str", arg);
  132|      0|        goto exit;
  133|      0|    }
  134|  1.73k|    note = arg;
  135|  1.73k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  1.73k|    {
  ------------------
  136|  1.73k|    return_value = BaseException_add_note_impl((PyBaseExceptionObject *)self, note);
  137|  1.73k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.73k|    }
  ------------------
  138|       |
  139|  1.73k|exit:
  140|  1.73k|    return return_value;
  141|  1.73k|}

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

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

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

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

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

memoryobject.c:memoryview_tolist:
  307|      2|{
  308|      2|    return memoryview_tolist_impl((PyMemoryViewObject *)self);
  309|      2|}
memoryobject.c:memoryview_cast:
  198|      2|{
  199|      2|    PyObject *return_value = NULL;
  200|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  201|       |
  202|      2|    #define NUM_KEYWORDS 3
  203|      2|    static struct {
  204|      2|        PyGC_Head _this_is_not_used;
  205|      2|        PyObject_VAR_HEAD
  206|      2|        Py_hash_t ob_hash;
  207|      2|        PyObject *ob_item[NUM_KEYWORDS];
  208|      2|    } _kwtuple = {
  209|      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|    },
  ------------------
  210|      2|        .ob_hash = -1,
  211|      2|        .ob_item = { &_Py_ID(format), &_Py_ID(shape), &_Py_ID(order), },
  ------------------
  |  |  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(format), &_Py_ID(shape), &_Py_ID(order), },
  ------------------
  |  |  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(format), &_Py_ID(shape), &_Py_ID(order), },
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|      2|    };
  213|      2|    #undef NUM_KEYWORDS
  214|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  215|       |
  216|       |    #else  // !Py_BUILD_CORE
  217|       |    #  define KWTUPLE NULL
  218|       |    #endif  // !Py_BUILD_CORE
  219|       |
  220|      2|    static const char * const _keywords[] = {"format", "shape", "order", NULL};
  221|      2|    static _PyArg_Parser _parser = {
  222|      2|        .keywords = _keywords,
  223|      2|        .fname = "cast",
  224|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  |  214|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  225|      2|    };
  226|      2|    #undef KWTUPLE
  227|      2|    PyObject *argsbuf[3];
  228|      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 (228:36): [True: 0, False: 2]
  ------------------
  229|      2|    PyObject *format;
  230|      2|    PyObject *shape = NULL;
  231|      2|    int order = 'C';
  232|       |
  233|      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)))
  ------------------
  234|      2|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  235|      2|    if (!args) {
  ------------------
  |  Branch (235:9): [True: 0, False: 2]
  ------------------
  236|      0|        goto exit;
  237|      0|    }
  238|      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 (238:9): [True: 0, False: 2]
  ------------------
  239|      0|        _PyArg_BadArgument("cast", "argument 'format'", "str", args[0]);
  240|      0|        goto exit;
  241|      0|    }
  242|      2|    format = args[0];
  243|      2|    if (!noptargs) {
  ------------------
  |  Branch (243:9): [True: 2, False: 0]
  ------------------
  244|      2|        goto skip_optional_pos;
  245|      2|    }
  246|      0|    if (args[1]) {
  ------------------
  |  Branch (246:9): [True: 0, False: 0]
  ------------------
  247|      0|        shape = args[1];
  248|      0|        if (!--noptargs) {
  ------------------
  |  Branch (248:13): [True: 0, False: 0]
  ------------------
  249|      0|            goto skip_optional_pos;
  250|      0|        }
  251|      0|    }
  252|      2|skip_optional_pos:
  253|      2|    if (!noptargs) {
  ------------------
  |  Branch (253:9): [True: 2, False: 0]
  ------------------
  254|      2|        goto skip_optional_kwonly;
  255|      2|    }
  256|      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 (256:9): [True: 0, False: 0]
  ------------------
  257|      0|        _PyArg_BadArgument("cast", "argument 'order'", "a unicode character", args[2]);
  258|      0|        goto exit;
  259|      0|    }
  260|      0|    if (PyUnicode_GET_LENGTH(args[2]) != 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 (260:9): [True: 0, False: 0]
  ------------------
  261|      0|        PyErr_Format(PyExc_TypeError,
  262|      0|            "cast(): argument 'order' must be a unicode character, "
  263|      0|            "not a string of length %zd",
  264|      0|            PyUnicode_GET_LENGTH(args[2]));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  265|      0|        goto exit;
  266|      0|    }
  267|      0|    order = PyUnicode_READ_CHAR(args[2], 0);
  ------------------
  |  |  382|      0|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  268|      2|skip_optional_kwonly:
  269|      2|    return_value = memoryview_cast_impl((PyMemoryViewObject *)self, format, shape, order);
  270|       |
  271|      2|exit:
  272|      2|    return return_value;
  273|      2|}
memoryobject.c:memoryview:
   24|    103|{
   25|    103|    PyObject *return_value = NULL;
   26|    103|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   27|       |
   28|    103|    #define NUM_KEYWORDS 1
   29|    103|    static struct {
   30|    103|        PyGC_Head _this_is_not_used;
   31|    103|        PyObject_VAR_HEAD
   32|    103|        Py_hash_t ob_hash;
   33|    103|        PyObject *ob_item[NUM_KEYWORDS];
   34|    103|    } _kwtuple = {
   35|    103|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    103|    {                                     \
  |  |   98|    103|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    103|    {                               \
  |  |  |  |   91|    103|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    103|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    103|#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|    103|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    103|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    103|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    103|        (type)                      \
  |  |  |  |   93|    103|    },
  |  |  ------------------
  |  |   99|    103|        (size)                            \
  |  |  100|    103|    },
  ------------------
   36|    103|        .ob_hash = -1,
   37|    103|        .ob_item = { &_Py_ID(object), },
  ------------------
  |  |  951|    103|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    103|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    103|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   38|    103|    };
   39|    103|    #undef NUM_KEYWORDS
   40|    103|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   41|       |
   42|       |    #else  // !Py_BUILD_CORE
   43|       |    #  define KWTUPLE NULL
   44|       |    #endif  // !Py_BUILD_CORE
   45|       |
   46|    103|    static const char * const _keywords[] = {"object", NULL};
   47|    103|    static _PyArg_Parser _parser = {
   48|    103|        .keywords = _keywords,
   49|    103|        .fname = "memoryview",
   50|    103|        .kwtuple = KWTUPLE,
  ------------------
  |  |   40|    103|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   51|    103|    };
   52|    103|    #undef KWTUPLE
   53|    103|    PyObject *argsbuf[1];
   54|    103|    PyObject * const *fastargs;
   55|    103|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    103|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   56|    103|    PyObject *object;
   57|       |
   58|    103|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   90|    103|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 103, Folded]
  |  |  |  Branch (90:23): [True: 103, False: 0]
  |  |  |  Branch (90:43): [True: 0, Folded]
  |  |  ------------------
  |  |   91|    206|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 103, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 103]
  |  |  |  Branch (91:43): [True: 103, False: 0]
  |  |  |  Branch (91:67): [True: 103, False: 0]
  |  |  |  Branch (91:68): [True: 103, False: 0]
  |  |  ------------------
  |  |   92|    206|      (args) : \
  |  |  ------------------
  |  |  |  Branch (92:8): [True: 103, False: 0]
  |  |  ------------------
  |  |   93|    103|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (93:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   59|    103|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   60|    103|    if (!fastargs) {
  ------------------
  |  Branch (60:9): [True: 0, False: 103]
  ------------------
   61|      0|        goto exit;
   62|      0|    }
   63|    103|    object = fastargs[0];
   64|    103|    return_value = memoryview_impl(type, object);
   65|       |
   66|    103|exit:
   67|    103|    return return_value;
   68|    103|}

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

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_copy:
   89|    298|{
   90|    298|    PyObject *return_value = NULL;
   91|       |
   92|    298|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|    298|    {
  ------------------
   93|    298|    return_value = set_copy_impl((PySetObject *)so);
   94|    298|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    298|    }
  ------------------
   95|       |
   96|    298|    return return_value;
   97|    298|}
setobject.c:set_issubset:
  366|  7.77k|{
  367|  7.77k|    PyObject *return_value = NULL;
  368|       |
  369|  7.77k|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|  7.77k|    {
  ------------------
  370|  7.77k|    return_value = set_issubset_impl((PySetObject *)so, other);
  371|  7.77k|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  7.77k|    }
  ------------------
  372|       |
  373|  7.77k|    return return_value;
  374|  7.77k|}
setobject.c:set_add:
  416|   171k|{
  417|   171k|    PyObject *return_value = NULL;
  418|       |
  419|   171k|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|   171k|    {
  ------------------
  420|   171k|    return_value = set_add_impl((PySetObject *)so, key);
  421|   171k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   171k|    }
  ------------------
  422|       |
  423|   171k|    return return_value;
  424|   171k|}
setobject.c:set_difference_update:
  267|    149|{
  268|    149|    PyObject *return_value = NULL;
  269|    149|    PyObject * const *others;
  270|    149|    Py_ssize_t others_length;
  271|       |
  272|    149|    others = args;
  273|    149|    others_length = nargs;
  274|    149|    return_value = set_difference_update_impl((PySetObject *)so, others, others_length);
  275|       |
  276|    149|    return return_value;
  277|    149|}
setobject.c:set_remove:
  486|    380|{
  487|    380|    PyObject *return_value = NULL;
  488|       |
  489|    380|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|    380|    {
  ------------------
  490|    380|    return_value = set_remove_impl((PySetObject *)so, key);
  491|    380|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    380|    }
  ------------------
  492|       |
  493|    380|    return return_value;
  494|    380|}
setobject.c:frozenset___contains__:
  462|     15|{
  463|     15|    PyObject *return_value = NULL;
  464|       |
  465|     15|    return_value = frozenset___contains___impl((PySetObject *)so, key);
  466|       |
  467|     15|    return return_value;
  468|     15|}
setobject.c:set_clear:
  137|     27|{
  138|     27|    PyObject *return_value = NULL;
  139|       |
  140|     27|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|     27|    {
  ------------------
  141|     27|    return_value = set_clear_impl((PySetObject *)so);
  142|     27|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     27|    }
  ------------------
  143|       |
  144|     27|    return return_value;
  145|     27|}
setobject.c:set_pop:
   38|    717|{
   39|    717|    PyObject *return_value = NULL;
   40|       |
   41|    717|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|    717|    {
  ------------------
   42|    717|    return_value = set_pop_impl((PySetObject *)so);
   43|    717|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    717|    }
  ------------------
   44|       |
   45|    717|    return return_value;
   46|    717|}

tupleobject.c:tuple_new:
   91|    175|{
   92|    175|    PyObject *return_value = NULL;
   93|    175|    PyTypeObject *base_tp = &PyTuple_Type;
   94|    175|    PyObject *iterable = NULL;
   95|       |
   96|    175|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (96:10): [True: 0, False: 175]
  |  Branch (96:29): [True: 175, False: 0]
  ------------------
   97|    175|        !_PyArg_NoKeywords("tuple", kwargs)) {
  ------------------
  |  |   32|    175|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 175, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   98|      0|        goto exit;
   99|      0|    }
  100|    175|    if (!_PyArg_CheckPositional("tuple", PyTuple_GET_SIZE(args), 0, 1)) {
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  101|      0|        goto exit;
  102|      0|    }
  103|    175|    if (PyTuple_GET_SIZE(args) < 1) {
  ------------------
  |  |   27|    175|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    175|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (103:9): [True: 0, False: 175]
  ------------------
  104|      0|        goto skip_optional;
  105|      0|    }
  106|    175|    iterable = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|    175|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    175|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (106:16): [True: 175, False: 0]
  ------------------
  107|    175|skip_optional:
  108|    175|    return_value = tuple_new_impl(type, iterable);
  109|       |
  110|    175|exit:
  111|    175|    return return_value;
  112|    175|}
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|     85|{
   78|     85|    return type_mro_impl((PyTypeObject *)self);
   79|     85|}
typeobject.c:type___subclasses__:
   95|     58|{
   96|     58|    return type___subclasses___impl((PyTypeObject *)self);
   97|     58|}
typeobject.c:type___instancecheck__:
   21|     12|{
   22|     12|    PyObject *return_value = NULL;
   23|     12|    int _return_value;
   24|       |
   25|     12|    _return_value = type___instancecheck___impl((PyTypeObject *)self, instance);
   26|     12|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (26:9): [True: 0, False: 12]
  |  Branch (26:34): [True: 0, False: 0]
  ------------------
   27|      0|        goto exit;
   28|      0|    }
   29|     12|    return_value = PyBool_FromLong((long)_return_value);
   30|       |
   31|     12|exit:
   32|     12|    return return_value;
   33|     12|}
typeobject.c:type___subclasscheck__:
   49|     10|{
   50|     10|    PyObject *return_value = NULL;
   51|     10|    int _return_value;
   52|       |
   53|     10|    _return_value = type___subclasscheck___impl((PyTypeObject *)self, subclass);
   54|     10|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (54:9): [True: 0, False: 10]
  |  Branch (54:34): [True: 0, False: 0]
  ------------------
   55|      0|        goto exit;
   56|      0|    }
   57|     10|    return_value = PyBool_FromLong((long)_return_value);
   58|       |
   59|     10|exit:
   60|     10|    return return_value;
   61|     10|}
typeobject.c:object___format__:
  215|  41.4k|{
  216|  41.4k|    PyObject *return_value = NULL;
  217|  41.4k|    PyObject *format_spec;
  218|       |
  219|  41.4k|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|  41.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  41.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (219:9): [True: 0, False: 41.4k]
  ------------------
  220|      0|        _PyArg_BadArgument("__format__", "argument", "str", arg);
  221|      0|        goto exit;
  222|      0|    }
  223|  41.4k|    format_spec = arg;
  224|  41.4k|    return_value = object___format___impl(self, format_spec);
  225|       |
  226|  41.4k|exit:
  227|  41.4k|    return return_value;
  228|  41.4k|}

unicodeobject.c:unicode_encode:
  220|  44.4k|{
  221|  44.4k|    PyObject *return_value = NULL;
  222|  44.4k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  223|       |
  224|  44.4k|    #define NUM_KEYWORDS 2
  225|  44.4k|    static struct {
  226|  44.4k|        PyGC_Head _this_is_not_used;
  227|  44.4k|        PyObject_VAR_HEAD
  228|  44.4k|        Py_hash_t ob_hash;
  229|  44.4k|        PyObject *ob_item[NUM_KEYWORDS];
  230|  44.4k|    } _kwtuple = {
  231|  44.4k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  44.4k|    {                                     \
  |  |   98|  44.4k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  44.4k|    {                               \
  |  |  |  |   91|  44.4k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  44.4k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  44.4k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  44.4k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  44.4k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  44.4k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  44.4k|        (type)                      \
  |  |  |  |   93|  44.4k|    },
  |  |  ------------------
  |  |   99|  44.4k|        (size)                            \
  |  |  100|  44.4k|    },
  ------------------
  232|  44.4k|        .ob_hash = -1,
  233|  44.4k|        .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  951|  44.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  44.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  44.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  951|  44.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  44.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  44.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  234|  44.4k|    };
  235|  44.4k|    #undef NUM_KEYWORDS
  236|  44.4k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  237|       |
  238|       |    #else  // !Py_BUILD_CORE
  239|       |    #  define KWTUPLE NULL
  240|       |    #endif  // !Py_BUILD_CORE
  241|       |
  242|  44.4k|    static const char * const _keywords[] = {"encoding", "errors", NULL};
  243|  44.4k|    static _PyArg_Parser _parser = {
  244|  44.4k|        .keywords = _keywords,
  245|  44.4k|        .fname = "encode",
  246|  44.4k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  236|  44.4k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  247|  44.4k|    };
  248|  44.4k|    #undef KWTUPLE
  249|  44.4k|    PyObject *argsbuf[2];
  250|  44.4k|    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: 44.4k]
  ------------------
  251|  44.4k|    const char *encoding = NULL;
  252|  44.4k|    const char *errors = NULL;
  253|       |
  254|  44.4k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|  44.4k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 44.4k, False: 0]
  |  |  ------------------
  |  |   91|  44.4k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 44.4k, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 44.4k]
  |  |  |  Branch (91:43): [True: 44.4k, False: 0]
  |  |  |  Branch (91:67): [True: 44.4k, False: 0]
  |  |  ------------------
  |  |   92|  44.4k|      (args) : \
  |  |   93|  44.4k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  255|  44.4k|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  256|  44.4k|    if (!args) {
  ------------------
  |  Branch (256:9): [True: 0, False: 44.4k]
  ------------------
  257|      0|        goto exit;
  258|      0|    }
  259|  44.4k|    if (!noptargs) {
  ------------------
  |  Branch (259:9): [True: 0, False: 44.4k]
  ------------------
  260|      0|        goto skip_optional_pos;
  261|      0|    }
  262|  44.4k|    if (args[0]) {
  ------------------
  |  Branch (262:9): [True: 44.4k, False: 0]
  ------------------
  263|  44.4k|        if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|  44.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  44.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (263:13): [True: 0, False: 44.4k]
  ------------------
  264|      0|            _PyArg_BadArgument("encode", "argument 'encoding'", "str", args[0]);
  265|      0|            goto exit;
  266|      0|        }
  267|  44.4k|        encoding = _PyUnicode_AsUTF8NoNUL(args[0]);
  268|  44.4k|        if (encoding == NULL) {
  ------------------
  |  Branch (268:13): [True: 0, False: 44.4k]
  ------------------
  269|      0|            goto exit;
  270|      0|        }
  271|  44.4k|        if (!--noptargs) {
  ------------------
  |  Branch (271:13): [True: 44.4k, False: 6]
  ------------------
  272|  44.4k|            goto skip_optional_pos;
  273|  44.4k|        }
  274|  44.4k|    }
  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|  44.4k|skip_optional_pos:
  284|  44.4k|    return_value = unicode_encode_impl(self, encoding, errors);
  285|       |
  286|  44.4k|exit:
  287|  44.4k|    return return_value;
  288|  44.4k|}
unicodeobject.c:unicode_replace:
  927|    535|{
  928|    535|    PyObject *return_value = NULL;
  929|    535|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  930|       |
  931|    535|    #define NUM_KEYWORDS 1
  932|    535|    static struct {
  933|    535|        PyGC_Head _this_is_not_used;
  934|    535|        PyObject_VAR_HEAD
  935|    535|        Py_hash_t ob_hash;
  936|    535|        PyObject *ob_item[NUM_KEYWORDS];
  937|    535|    } _kwtuple = {
  938|    535|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    535|    {                                     \
  |  |   98|    535|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    535|    {                               \
  |  |  |  |   91|    535|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    535|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    535|#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|    535|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    535|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    535|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    535|        (type)                      \
  |  |  |  |   93|    535|    },
  |  |  ------------------
  |  |   99|    535|        (size)                            \
  |  |  100|    535|    },
  ------------------
  939|    535|        .ob_hash = -1,
  940|    535|        .ob_item = { &_Py_ID(count), },
  ------------------
  |  |  951|    535|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    535|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    535|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  941|    535|    };
  942|    535|    #undef NUM_KEYWORDS
  943|    535|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  944|       |
  945|       |    #else  // !Py_BUILD_CORE
  946|       |    #  define KWTUPLE NULL
  947|       |    #endif  // !Py_BUILD_CORE
  948|       |
  949|    535|    static const char * const _keywords[] = {"", "", "count", NULL};
  950|    535|    static _PyArg_Parser _parser = {
  951|    535|        .keywords = _keywords,
  952|    535|        .fname = "replace",
  953|    535|        .kwtuple = KWTUPLE,
  ------------------
  |  |  943|    535|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  954|    535|    };
  955|    535|    #undef KWTUPLE
  956|    535|    PyObject *argsbuf[3];
  957|    535|    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: 535]
  ------------------
  958|    535|    PyObject *old;
  959|    535|    PyObject *new;
  960|    535|    Py_ssize_t count = -1;
  961|       |
  962|    535|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|    535|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 535, False: 0]
  |  |  ------------------
  |  |   91|    535|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 535, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 535]
  |  |  |  Branch (91:43): [True: 535, False: 0]
  |  |  |  Branch (91:67): [True: 535, False: 0]
  |  |  ------------------
  |  |   92|    535|      (args) : \
  |  |   93|    535|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  963|    535|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  964|    535|    if (!args) {
  ------------------
  |  Branch (964:9): [True: 0, False: 535]
  ------------------
  965|      0|        goto exit;
  966|      0|    }
  967|    535|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    535|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    535|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (967:9): [True: 0, False: 535]
  ------------------
  968|      0|        _PyArg_BadArgument("replace", "argument 1", "str", args[0]);
  969|      0|        goto exit;
  970|      0|    }
  971|    535|    old = args[0];
  972|    535|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|    535|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    535|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (972:9): [True: 0, False: 535]
  ------------------
  973|      0|        _PyArg_BadArgument("replace", "argument 2", "str", args[1]);
  974|      0|        goto exit;
  975|      0|    }
  976|    535|    new = args[1];
  977|    535|    if (!noptargs) {
  ------------------
  |  Branch (977:9): [True: 535, False: 0]
  ------------------
  978|    535|        goto skip_optional_pos;
  979|    535|    }
  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|    535|skip_optional_pos:
  993|    535|    return_value = unicode_replace_impl(self, old, new, count);
  994|       |
  995|    535|exit:
  996|    535|    return return_value;
  997|    535|}
unicodeobject.c:unicode_split:
 1257|    382|{
 1258|    382|    PyObject *return_value = NULL;
 1259|    382|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1260|       |
 1261|    382|    #define NUM_KEYWORDS 2
 1262|    382|    static struct {
 1263|    382|        PyGC_Head _this_is_not_used;
 1264|    382|        PyObject_VAR_HEAD
 1265|    382|        Py_hash_t ob_hash;
 1266|    382|        PyObject *ob_item[NUM_KEYWORDS];
 1267|    382|    } _kwtuple = {
 1268|    382|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    382|    {                                     \
  |  |   98|    382|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    382|    {                               \
  |  |  |  |   91|    382|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    382|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    382|#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|    382|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    382|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    382|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    382|        (type)                      \
  |  |  |  |   93|    382|    },
  |  |  ------------------
  |  |   99|    382|        (size)                            \
  |  |  100|    382|    },
  ------------------
 1269|    382|        .ob_hash = -1,
 1270|    382|        .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  951|    382|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    382|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    382|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  951|    382|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    382|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    382|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1271|    382|    };
 1272|    382|    #undef NUM_KEYWORDS
 1273|    382|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1274|       |
 1275|       |    #else  // !Py_BUILD_CORE
 1276|       |    #  define KWTUPLE NULL
 1277|       |    #endif  // !Py_BUILD_CORE
 1278|       |
 1279|    382|    static const char * const _keywords[] = {"sep", "maxsplit", NULL};
 1280|    382|    static _PyArg_Parser _parser = {
 1281|    382|        .keywords = _keywords,
 1282|    382|        .fname = "split",
 1283|    382|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1273|    382|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1284|    382|    };
 1285|    382|    #undef KWTUPLE
 1286|    382|    PyObject *argsbuf[2];
 1287|    382|    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: 382]
  ------------------
 1288|    382|    PyObject *sep = Py_None;
  ------------------
  |  |  616|    382|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1289|    382|    Py_ssize_t maxsplit = -1;
 1290|       |
 1291|    382|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|    382|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 382, False: 0]
  |  |  ------------------
  |  |   91|    382|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 382, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 382]
  |  |  |  Branch (91:43): [True: 382, False: 0]
  |  |  |  Branch (91:67): [True: 382, False: 0]
  |  |  ------------------
  |  |   92|    382|      (args) : \
  |  |   93|    382|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1292|    382|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1293|    382|    if (!args) {
  ------------------
  |  Branch (1293:9): [True: 0, False: 382]
  ------------------
 1294|      0|        goto exit;
 1295|      0|    }
 1296|    382|    if (!noptargs) {
  ------------------
  |  Branch (1296:9): [True: 2, False: 380]
  ------------------
 1297|      2|        goto skip_optional_pos;
 1298|      2|    }
 1299|    380|    if (args[0]) {
  ------------------
  |  Branch (1299:9): [True: 380, False: 0]
  ------------------
 1300|    380|        sep = args[0];
 1301|    380|        if (!--noptargs) {
  ------------------
  |  Branch (1301:13): [True: 380, False: 0]
  ------------------
 1302|    380|            goto skip_optional_pos;
 1303|    380|        }
 1304|    380|    }
 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|    382|skip_optional_pos:
 1318|    382|    return_value = unicode_split_impl(self, sep, maxsplit);
 1319|       |
 1320|    382|exit:
 1321|    382|    return return_value;
 1322|    382|}
unicodeobject.c:unicode_expandtabs:
  306|  2.91k|{
  307|  2.91k|    PyObject *return_value = NULL;
  308|  2.91k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  309|       |
  310|  2.91k|    #define NUM_KEYWORDS 1
  311|  2.91k|    static struct {
  312|  2.91k|        PyGC_Head _this_is_not_used;
  313|  2.91k|        PyObject_VAR_HEAD
  314|  2.91k|        Py_hash_t ob_hash;
  315|  2.91k|        PyObject *ob_item[NUM_KEYWORDS];
  316|  2.91k|    } _kwtuple = {
  317|  2.91k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  2.91k|    {                                     \
  |  |   98|  2.91k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  2.91k|    {                               \
  |  |  |  |   91|  2.91k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  2.91k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  2.91k|#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.91k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  2.91k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  2.91k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  2.91k|        (type)                      \
  |  |  |  |   93|  2.91k|    },
  |  |  ------------------
  |  |   99|  2.91k|        (size)                            \
  |  |  100|  2.91k|    },
  ------------------
  318|  2.91k|        .ob_hash = -1,
  319|  2.91k|        .ob_item = { &_Py_ID(tabsize), },
  ------------------
  |  |  951|  2.91k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.91k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.91k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  320|  2.91k|    };
  321|  2.91k|    #undef NUM_KEYWORDS
  322|  2.91k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  323|       |
  324|       |    #else  // !Py_BUILD_CORE
  325|       |    #  define KWTUPLE NULL
  326|       |    #endif  // !Py_BUILD_CORE
  327|       |
  328|  2.91k|    static const char * const _keywords[] = {"tabsize", NULL};
  329|  2.91k|    static _PyArg_Parser _parser = {
  330|  2.91k|        .keywords = _keywords,
  331|  2.91k|        .fname = "expandtabs",
  332|  2.91k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  322|  2.91k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  333|  2.91k|    };
  334|  2.91k|    #undef KWTUPLE
  335|  2.91k|    PyObject *argsbuf[1];
  336|  2.91k|    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 (336:36): [True: 0, False: 2.91k]
  ------------------
  337|  2.91k|    int tabsize = 8;
  338|       |
  339|  2.91k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|  2.91k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 2.91k, False: 0]
  |  |  ------------------
  |  |   91|  2.91k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 2.91k, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 2.91k]
  |  |  |  Branch (91:43): [True: 2.91k, False: 0]
  |  |  |  Branch (91:67): [True: 2.91k, False: 0]
  |  |  ------------------
  |  |   92|  2.91k|      (args) : \
  |  |   93|  2.91k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  340|  2.91k|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  341|  2.91k|    if (!args) {
  ------------------
  |  Branch (341:9): [True: 0, False: 2.91k]
  ------------------
  342|      0|        goto exit;
  343|      0|    }
  344|  2.91k|    if (!noptargs) {
  ------------------
  |  Branch (344:9): [True: 2.91k, False: 0]
  ------------------
  345|  2.91k|        goto skip_optional_pos;
  346|  2.91k|    }
  347|      0|    tabsize = PyLong_AsInt(args[0]);
  348|      0|    if (tabsize == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (348:9): [True: 0, False: 0]
  |  Branch (348:26): [True: 0, False: 0]
  ------------------
  349|      0|        goto exit;
  350|      0|    }
  351|  2.91k|skip_optional_pos:
  352|  2.91k|    return_value = unicode_expandtabs_impl(self, tabsize);
  353|       |
  354|  2.91k|exit:
  355|  2.91k|    return return_value;
  356|  2.91k|}
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|   423k|{
  800|   423k|    return unicode_lower_impl(self);
  801|   423k|}
unicodeobject.c:unicode_lstrip:
  853|      1|{
  854|      1|    PyObject *return_value = NULL;
  855|      1|    PyObject *chars = Py_None;
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  856|       |
  857|      1|    if (!_PyArg_CheckPositional("lstrip", 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]
  |  |  ------------------
  ------------------
  858|      0|        goto exit;
  859|      0|    }
  860|      1|    if (nargs < 1) {
  ------------------
  |  Branch (860:9): [True: 0, False: 1]
  ------------------
  861|      0|        goto skip_optional;
  862|      0|    }
  863|      1|    chars = args[0];
  864|      1|skip_optional:
  865|      1|    return_value = unicode_lstrip_impl(self, chars);
  866|       |
  867|      1|exit:
  868|      1|    return return_value;
  869|      1|}
unicodeobject.c:unicode_rfind:
 1083|    107|{
 1084|    107|    PyObject *return_value = NULL;
 1085|    107|    PyObject *substr;
 1086|    107|    Py_ssize_t start = 0;
 1087|    107|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|    107|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1088|    107|    Py_ssize_t _return_value;
 1089|       |
 1090|    107|    if (!_PyArg_CheckPositional("rfind", nargs, 1, 3)) {
  ------------------
  |  |   38|    107|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 107, False: 0]
  |  |  |  Branch (38:27): [True: 107, False: 0]
  |  |  ------------------
  |  |   39|    107|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1091|      0|        goto exit;
 1092|      0|    }
 1093|    107|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    107|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    107|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1093:9): [True: 0, False: 107]
  ------------------
 1094|      0|        _PyArg_BadArgument("rfind", "argument 1", "str", args[0]);
 1095|      0|        goto exit;
 1096|      0|    }
 1097|    107|    substr = args[0];
 1098|    107|    if (nargs < 2) {
  ------------------
  |  Branch (1098:9): [True: 107, False: 0]
  ------------------
 1099|    107|        goto skip_optional;
 1100|    107|    }
 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|    107|skip_optional:
 1111|    107|    _return_value = unicode_rfind_impl(str, substr, start, end);
 1112|    107|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 107]
  |  Branch (1112:34): [True: 0, False: 0]
  ------------------
 1113|      0|        goto exit;
 1114|      0|    }
 1115|    107|    return_value = PyLong_FromSsize_t(_return_value);
 1116|       |
 1117|    107|exit:
 1118|    107|    return return_value;
 1119|    107|}
unicodeobject.c:unicode_rstrip:
  887|  5.77k|{
  888|  5.77k|    PyObject *return_value = NULL;
  889|  5.77k|    PyObject *chars = Py_None;
  ------------------
  |  |  616|  5.77k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  890|       |
  891|  5.77k|    if (!_PyArg_CheckPositional("rstrip", nargs, 0, 1)) {
  ------------------
  |  |   38|  5.77k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 5.77k, False: 0]
  |  |  |  Branch (38:27): [True: 5.77k, False: 0]
  |  |  ------------------
  |  |   39|  5.77k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  892|      0|        goto exit;
  893|      0|    }
  894|  5.77k|    if (nargs < 1) {
  ------------------
  |  Branch (894:9): [True: 149, False: 5.62k]
  ------------------
  895|    149|        goto skip_optional;
  896|    149|    }
  897|  5.62k|    chars = args[0];
  898|  5.77k|skip_optional:
  899|  5.77k|    return_value = unicode_rstrip_impl(self, chars);
  900|       |
  901|  5.77k|exit:
  902|  5.77k|    return return_value;
  903|  5.77k|}
unicodeobject.c:unicode_strip:
  819|      3|{
  820|      3|    PyObject *return_value = NULL;
  821|      3|    PyObject *chars = Py_None;
  ------------------
  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  ------------------
  822|       |
  823|      3|    if (!_PyArg_CheckPositional("strip", nargs, 0, 1)) {
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  824|      0|        goto exit;
  825|      0|    }
  826|      3|    if (nargs < 1) {
  ------------------
  |  Branch (826:9): [True: 3, False: 0]
  ------------------
  827|      3|        goto skip_optional;
  828|      3|    }
  829|      0|    chars = args[0];
  830|      3|skip_optional:
  831|      3|    return_value = unicode_strip_impl(self, chars);
  832|       |
  833|      3|exit:
  834|      3|    return return_value;
  835|      3|}
unicodeobject.c:unicode_upper:
 1625|     51|{
 1626|     51|    return unicode_upper_impl(self);
 1627|     51|}
unicodeobject.c:unicode_startswith:
 1689|  98.2k|{
 1690|  98.2k|    PyObject *return_value = NULL;
 1691|  98.2k|    PyObject *subobj;
 1692|  98.2k|    Py_ssize_t start = 0;
 1693|  98.2k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  98.2k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1694|       |
 1695|  98.2k|    if (!_PyArg_CheckPositional("startswith", nargs, 1, 3)) {
  ------------------
  |  |   38|  98.2k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 98.2k, False: 0]
  |  |  |  Branch (38:27): [True: 98.2k, False: 0]
  |  |  ------------------
  |  |   39|  98.2k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1696|      0|        goto exit;
 1697|      0|    }
 1698|  98.2k|    subobj = args[0];
 1699|  98.2k|    if (nargs < 2) {
  ------------------
  |  Branch (1699:9): [True: 98.2k, False: 0]
  ------------------
 1700|  98.2k|        goto skip_optional;
 1701|  98.2k|    }
 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|  98.2k|skip_optional:
 1712|  98.2k|    return_value = unicode_startswith_impl(self, subobj, start, end);
 1713|       |
 1714|  98.2k|exit:
 1715|  98.2k|    return return_value;
 1716|  98.2k|}
unicodeobject.c:unicode_endswith:
 1740|  41.4k|{
 1741|  41.4k|    PyObject *return_value = NULL;
 1742|  41.4k|    PyObject *subobj;
 1743|  41.4k|    Py_ssize_t start = 0;
 1744|  41.4k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  41.4k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1745|       |
 1746|  41.4k|    if (!_PyArg_CheckPositional("endswith", nargs, 1, 3)) {
  ------------------
  |  |   38|  41.4k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 41.4k, False: 0]
  |  |  |  Branch (38:27): [True: 41.4k, False: 0]
  |  |  ------------------
  |  |   39|  41.4k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1747|      0|        goto exit;
 1748|      0|    }
 1749|  41.4k|    subobj = args[0];
 1750|  41.4k|    if (nargs < 2) {
  ------------------
  |  Branch (1750:9): [True: 41.4k, False: 0]
  ------------------
 1751|  41.4k|        goto skip_optional;
 1752|  41.4k|    }
 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|  41.4k|skip_optional:
 1763|  41.4k|    return_value = unicode_endswith_impl(self, subobj, start, end);
 1764|       |
 1765|  41.4k|exit:
 1766|  41.4k|    return return_value;
 1767|  41.4k|}
unicodeobject.c:unicode_isascii:
  487|    410|{
  488|    410|    return unicode_isascii_impl(self);
  489|    410|}
unicodeobject.c:unicode_isidentifier:
  697|     32|{
  698|     32|    return unicode_isidentifier_impl(self);
  699|     32|}
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|    191|{
   14|    191|    Py_hash_t return_value = -1;
   15|       |
   16|    191|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    191|    {
  ------------------
   17|    191|    return_value = weakref_hash_impl((PyWeakReference *)self);
   18|    191|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    191|    }
  ------------------
   19|       |
   20|    191|    return return_value;
   21|    191|}
weakrefobject.c:weakref_ref_init:
  101|    411|{
  102|    411|    int return_value = -1;
  103|    411|    PyTypeObject *base_tp = &_PyWeakref_RefType;
  104|    411|    PyObject *object;
  105|    411|    PyObject *callback = Py_None;
  ------------------
  |  |  616|    411|#  define Py_None (&_Py_NoneStruct)
  ------------------
  106|       |
  107|    411|    if ((Py_IS_TYPE(self, base_tp) ||
  ------------------
  |  |  215|    822|#  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: 0, False: 411]
  |  |  ------------------
  ------------------
  108|    411|         Py_TYPE(self)->tp_new == base_tp->tp_new) &&
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (108:10): [True: 0, False: 411]
  ------------------
  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|    411|    if (!_PyArg_CheckPositional("ReferenceType", PyTuple_GET_SIZE(args), 1, 2)) {
  ------------------
  |  |   38|    411|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 411, False: 0]
  |  |  |  Branch (38:27): [True: 411, False: 0]
  |  |  ------------------
  |  |   39|    411|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  113|      0|        goto exit;
  114|      0|    }
  115|    411|    object = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|    411|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    411|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    411|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (115:14): [True: 411, False: 0]
  ------------------
  116|    411|    if (PyTuple_GET_SIZE(args) < 2) {
  ------------------
  |  |   27|    411|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    411|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    411|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (116:9): [True: 0, False: 411]
  ------------------
  117|      0|        goto skip_optional;
  118|      0|    }
  119|    411|    callback = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|    411|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    411|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    411|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (119:16): [True: 411, False: 0]
  ------------------
  120|    411|skip_optional:
  121|    411|    return_value = weakref_ref_init_impl((PyWeakReference *)self, object, callback);
  122|       |
  123|    411|exit:
  124|    411|    return return_value;
  125|    411|}
weakrefobject.c:weakref_ref_new:
   39|    411|{
   40|    411|    PyObject *return_value = NULL;
   41|    411|    PyTypeObject *base_tp = &_PyWeakref_RefType;
   42|    411|    PyObject *object;
   43|    411|    PyObject *callback = NULL;
   44|       |
   45|    411|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (45:10): [True: 0, False: 411]
  |  Branch (45:29): [True: 0, False: 411]
  ------------------
   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|    411|    if (!_PyArg_CheckPositional("ReferenceType", PyTuple_GET_SIZE(args), 1, 2)) {
  ------------------
  |  |   38|    411|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 411, False: 0]
  |  |  |  Branch (38:27): [True: 411, False: 0]
  |  |  ------------------
  |  |   39|    411|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   50|      0|        goto exit;
   51|      0|    }
   52|    411|    object = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|    411|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    411|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    411|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (52:14): [True: 411, False: 0]
  ------------------
   53|    411|    if (PyTuple_GET_SIZE(args) < 2) {
  ------------------
  |  |   27|    411|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    411|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    411|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (53:9): [True: 0, False: 411]
  ------------------
   54|      0|        goto skip_optional;
   55|      0|    }
   56|    411|    callback = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|    411|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    411|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    411|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (56:16): [True: 411, False: 0]
  ------------------
   57|    411|skip_optional:
   58|    411|    return_value = weakref_ref_new_impl(type, object, callback);
   59|       |
   60|    411|exit:
   61|    411|    return return_value;
   62|    411|}
weakrefobject.c:weakref_ref_vectorcall:
   67|    382|{
   68|    382|    PyObject *return_value = NULL;
   69|    382|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    382|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
   70|    382|    PyObject *object;
   71|    382|    PyObject *callback = NULL;
   72|       |
   73|    382|    assert(_PyType_CAST(type)->tp_new == weakref_ref_new);
  ------------------
  |  Branch (73:5): [True: 382, False: 0]
  |  Branch (73:5): [True: 382, False: 0]
  ------------------
   74|       |    /* Make sure the type object is immutable: the generated
   75|       |     * vectorcall doesn't deal e.g. with users reassigning __init__. */
   76|    382|    assert(PyType_HasFeature(_PyType_CAST(type), Py_TPFLAGS_IMMUTABLETYPE));
  ------------------
  |  Branch (76:5): [True: 382, False: 0]
  |  Branch (76:5): [True: 382, False: 0]
  ------------------
   77|    382|    if (!_PyArg_NoKwnames("ReferenceType", kwnames)) {
  ------------------
  |  |   16|    382|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 382, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   78|      0|        goto exit;
   79|      0|    }
   80|    382|    if (!_PyArg_CheckPositional("ReferenceType", nargs, 1, 2)) {
  ------------------
  |  |   38|    382|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 382, False: 0]
  |  |  |  Branch (38:27): [True: 382, False: 0]
  |  |  ------------------
  |  |   39|    382|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   81|      0|        goto exit;
   82|      0|    }
   83|    382|    object = args[0];
   84|    382|    if (nargs < 2) {
  ------------------
  |  Branch (84:9): [True: 2, False: 380]
  ------------------
   85|      2|        goto skip_optional;
   86|      2|    }
   87|    380|    callback = args[1];
   88|    382|skip_optional:
   89|    382|    return_value = weakref_ref_new_impl(_PyType_CAST(type), object, callback);
  ------------------
  |  |  770|    382|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    382|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (89:41): [True: 382, False: 0]
  ------------------
   90|       |
   91|    382|exit:
   92|    382|    return return_value;
   93|    382|}

_PyCode_ShouldInternString:
  118|   217k|{
  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|   217k|    const unsigned char *s, *e;
  125|       |
  126|   217k|    if (!PyUnicode_IS_ASCII(o))
  ------------------
  |  |  228|   217k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   217k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   217k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (126:9): [True: 53.6k, False: 164k]
  ------------------
  127|  53.6k|        return 0;
  128|       |
  129|   164k|    s = PyUnicode_1BYTE_DATA(o);
  ------------------
  |  |  292|   164k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   164k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  130|   164k|    e = s + PyUnicode_GET_LENGTH(o);
  ------------------
  |  |  300|   164k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   164k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   164k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|  1.00M|    for (; s != e; s++) {
  ------------------
  |  Branch (131:12): [True: 889k, False: 115k]
  ------------------
  132|   889k|        if (!Py_ISALNUM(*s) && *s != '_')
  ------------------
  |  |   26|  1.77M|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  170|   889k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|   889k|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|   889k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|   889k|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|   889k|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|   889k|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (132:13): [True: 77.0k, False: 812k]
  |  Branch (132:32): [True: 49.0k, False: 27.9k]
  ------------------
  133|  49.0k|            return 0;
  134|   889k|    }
  135|   115k|    return 1;
  136|   164k|#endif
  137|   164k|}
_Py_set_localsplus_info:
  391|   168k|{
  392|   168k|    PyTuple_SET_ITEM(names, offset, Py_NewRef(name));
  ------------------
  |  |   40|   168k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   168k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   168k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   168k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   168k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  393|   168k|    _PyLocals_SetKind(kinds, offset, kind);
  394|   168k|}
_PyCode_Validate:
  455|  77.8k|{
  456|       |    /* Check argument types */
  457|  77.8k|    if (con->argcount < con->posonlyargcount || con->posonlyargcount < 0 ||
  ------------------
  |  Branch (457:9): [True: 0, False: 77.8k]
  |  Branch (457:49): [True: 0, False: 77.8k]
  ------------------
  458|  77.8k|        con->kwonlyargcount < 0 ||
  ------------------
  |  Branch (458:9): [True: 0, False: 77.8k]
  ------------------
  459|  77.8k|        con->stacksize < 0 || con->flags < 0 ||
  ------------------
  |  Branch (459:9): [True: 0, False: 77.8k]
  |  Branch (459:31): [True: 0, False: 77.8k]
  ------------------
  460|  77.8k|        con->code == NULL || !PyBytes_Check(con->code) ||
  ------------------
  |  |   28|  77.8k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   155k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (460:9): [True: 0, False: 77.8k]
  |  Branch (460:30): [True: 0, False: 77.8k]
  ------------------
  461|  77.8k|        con->consts == NULL || !PyTuple_Check(con->consts) ||
  ------------------
  |  |   27|  77.8k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   155k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (461:9): [True: 0, False: 77.8k]
  |  Branch (461:32): [True: 0, False: 77.8k]
  ------------------
  462|  77.8k|        con->names == NULL || !PyTuple_Check(con->names) ||
  ------------------
  |  |   27|  77.8k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   155k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (462:9): [True: 0, False: 77.8k]
  |  Branch (462:31): [True: 0, False: 77.8k]
  ------------------
  463|  77.8k|        con->localsplusnames == NULL || !PyTuple_Check(con->localsplusnames) ||
  ------------------
  |  |   27|  77.8k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   155k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (463:9): [True: 0, False: 77.8k]
  |  Branch (463:41): [True: 0, False: 77.8k]
  ------------------
  464|  77.8k|        con->localspluskinds == NULL || !PyBytes_Check(con->localspluskinds) ||
  ------------------
  |  |   28|  77.8k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   155k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (464:9): [True: 0, False: 77.8k]
  |  Branch (464:41): [True: 0, False: 77.8k]
  ------------------
  465|  77.8k|        PyTuple_GET_SIZE(con->localsplusnames)
  ------------------
  |  |   27|  77.8k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (465:9): [True: 0, False: 77.8k]
  ------------------
  466|  77.8k|            != PyBytes_GET_SIZE(con->localspluskinds) ||
  ------------------
  |  |   33|   155k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  467|  77.8k|        con->name == NULL || !PyUnicode_Check(con->name) ||
  ------------------
  |  |  103|  77.8k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   155k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (467:9): [True: 0, False: 77.8k]
  |  Branch (467:30): [True: 0, False: 77.8k]
  ------------------
  468|  77.8k|        con->qualname == NULL || !PyUnicode_Check(con->qualname) ||
  ------------------
  |  |  103|  77.8k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   155k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (468:9): [True: 0, False: 77.8k]
  |  Branch (468:34): [True: 0, False: 77.8k]
  ------------------
  469|  77.8k|        con->filename == NULL || !PyUnicode_Check(con->filename) ||
  ------------------
  |  |  103|  77.8k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   155k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (469:9): [True: 0, False: 77.8k]
  |  Branch (469:34): [True: 0, False: 77.8k]
  ------------------
  470|  77.8k|        con->linetable == NULL || !PyBytes_Check(con->linetable) ||
  ------------------
  |  |   28|  77.8k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   155k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (470:9): [True: 0, False: 77.8k]
  |  Branch (470:35): [True: 0, False: 77.8k]
  ------------------
  471|  77.8k|        con->exceptiontable == NULL || !PyBytes_Check(con->exceptiontable)
  ------------------
  |  |   28|  77.8k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  77.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (471:9): [True: 0, False: 77.8k]
  |  Branch (471:40): [True: 0, False: 77.8k]
  ------------------
  472|  77.8k|        ) {
  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|  77.8k|    if (PyBytes_GET_SIZE(con->code) > INT_MAX) {
  ------------------
  |  |   33|  77.8k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (480:9): [True: 0, False: 77.8k]
  ------------------
  481|      0|        PyErr_SetString(PyExc_OverflowError,
  482|      0|                        "code: co_code larger than INT_MAX");
  483|      0|        return -1;
  484|      0|    }
  485|  77.8k|    if (PyBytes_GET_SIZE(con->code) % sizeof(_Py_CODEUNIT) != 0 ||
  ------------------
  |  |   33|  77.8k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (485:9): [True: 0, False: 77.8k]
  ------------------
  486|  77.8k|        !_Py_IS_ALIGNED(PyBytes_AS_STRING(con->code), sizeof(_Py_CODEUNIT))
  ------------------
  |  |  257|  77.8k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (486:9): [True: 0, False: 77.8k]
  ------------------
  487|  77.8k|        ) {
  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|  77.8k|    int nlocals;
  496|  77.8k|    get_localsplus_counts(con->localsplusnames, con->localspluskinds,
  497|  77.8k|                          &nlocals, NULL, NULL);
  498|  77.8k|    int nplainlocals = nlocals -
  499|  77.8k|                       con->argcount -
  500|  77.8k|                       con->kwonlyargcount -
  501|  77.8k|                       ((con->flags & CO_VARARGS) != 0) -
  ------------------
  |  |  124|  77.8k|#define CO_VARARGS      0x0004
  ------------------
  502|  77.8k|                       ((con->flags & CO_VARKEYWORDS) != 0);
  ------------------
  |  |  125|  77.8k|#define CO_VARKEYWORDS  0x0008
  ------------------
  503|  77.8k|    if (nplainlocals < 0) {
  ------------------
  |  Branch (503:9): [True: 0, False: 77.8k]
  ------------------
  504|      0|        PyErr_SetString(PyExc_ValueError, "code: co_varnames is too small");
  505|      0|        return -1;
  506|      0|    }
  507|       |
  508|  77.8k|    return 0;
  509|  77.8k|}
_PyCode_New:
  721|  77.8k|{
  722|  77.8k|    if (intern_code_constants(con) < 0) {
  ------------------
  |  Branch (722:9): [True: 0, False: 77.8k]
  ------------------
  723|      0|        return NULL;
  724|      0|    }
  725|       |
  726|  77.8k|    PyObject *replacement_locations = NULL;
  727|       |    // Compact the linetable if we are opted out of debug
  728|       |    // ranges.
  729|  77.8k|    if (!_Py_GetConfig()->code_debug_ranges) {
  ------------------
  |  Branch (729:9): [True: 0, False: 77.8k]
  ------------------
  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|  77.8k|    Py_ssize_t size = PyBytes_GET_SIZE(con->code) / sizeof(_Py_CODEUNIT);
  ------------------
  |  |   33|  77.8k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  738|  77.8k|    PyCodeObject *co;
  739|       |#ifdef Py_GIL_DISABLED
  740|       |    co = PyObject_GC_NewVar(PyCodeObject, &PyCode_Type, size);
  741|       |#else
  742|  77.8k|    co = PyObject_NewVar(PyCodeObject, &PyCode_Type, size);
  ------------------
  |  |  137|  77.8k|                ( (type *) _PyObject_NewVar((typeobj), (n)) )
  ------------------
  743|  77.8k|#endif
  744|  77.8k|    if (co == NULL) {
  ------------------
  |  Branch (744:9): [True: 0, False: 77.8k]
  ------------------
  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|  77.8k|    if (init_code(co, con) < 0) {
  ------------------
  |  Branch (754:9): [True: 0, False: 77.8k]
  ------------------
  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|  77.8k|    Py_XDECREF(replacement_locations);
  ------------------
  |  |  621|  77.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  765|  77.8k|    return co;
  766|  77.8k|}
_PyCode_ConstantKey:
 2940|   208M|{
 2941|   208M|    PyObject *key;
 2942|       |
 2943|       |    /* Py_None and Py_Ellipsis are singletons. */
 2944|   208M|    if (op == Py_None || op == Py_Ellipsis
  ------------------
  |  |  616|   416M|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (op == Py_None || op == Py_Ellipsis
  ------------------
  |  |   14|   416M|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (2944:9): [True: 35.3k, False: 208M]
  |  Branch (2944:26): [True: 8.38k, False: 208M]
  ------------------
 2945|   208M|       || PyLong_CheckExact(op)
  ------------------
  |  |   14|   208M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   416M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   208M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   208M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 110M, False: 97.4M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2946|   208M|       || PyUnicode_CheckExact(op)
  ------------------
  |  |  104|  97.4M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   305M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  97.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  97.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 681k, False: 96.7M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2947|       |          /* code_richcompare() uses _PyCode_ConstantKey() internally */
 2948|  96.7M|       || PyCode_Check(op))
  ------------------
  |  |  168|  96.7M|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|  96.7M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  96.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  96.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 137k, False: 96.6M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2949|   111M|    {
 2950|       |        /* Objects of these types are always different from object of other
 2951|       |         * type and from tuples. */
 2952|   111M|        key = Py_NewRef(op);
  ------------------
  |  |  647|   111M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   111M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   111M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2953|   111M|    }
 2954|  96.6M|    else if (PyBool_Check(op) || PyBytes_CheckExact(op)) {
  ------------------
  |  |   12|  96.6M|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|   193M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  96.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  96.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 11.0k, False: 96.5M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyBool_Check(op) || PyBytes_CheckExact(op)) {
  ------------------
  |  |   29|  96.5M|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  96.5M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  96.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  96.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 258k, False: 96.3M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2955|       |        /* Make booleans different from integers 0 and 1.
 2956|       |         * Avoid BytesWarning from comparing bytes with strings. */
 2957|   269k|        key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), op);
  ------------------
  |  |  213|   269k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   269k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   269k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2958|   269k|    }
 2959|  96.3M|    else if (PyFloat_CheckExact(op)) {
  ------------------
  |  |   17|  96.3M|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  96.3M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  96.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  96.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 94.8M, False: 1.45M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2960|  94.8M|        double d = PyFloat_AS_DOUBLE(op);
  ------------------
  |  |   18|  94.8M|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  94.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  94.8M|#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|  94.8M|        if (d == 0.0 && copysign(1.0, d) < 0.0)
  ------------------
  |  Branch (2964:13): [True: 253k, False: 94.6M]
  |  Branch (2964:25): [True: 8.19k, False: 244k]
  ------------------
 2965|  8.19k|            key = PyTuple_Pack(3, Py_TYPE(op), op, Py_None);
  ------------------
  |  |  213|  8.19k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          key = PyTuple_Pack(3, Py_TYPE(op), op, Py_None);
  ------------------
  |  |  616|  8.19k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2966|  94.8M|        else
 2967|  94.8M|            key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), op);
  ------------------
  |  |  213|  94.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  94.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  94.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2968|  94.8M|    }
 2969|  1.45M|    else if (PyComplex_CheckExact(op)) {
  ------------------
  |  |   14|  1.45M|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|  1.45M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.45M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 533k, False: 917k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2970|   533k|        Py_complex z;
 2971|   533k|        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|   533k|        z = PyComplex_AsCComplex(op);
 2977|   533k|        real_negzero = z.real == 0.0 && copysign(1.0, z.real) < 0.0;
  ------------------
  |  Branch (2977:24): [True: 283k, False: 250k]
  |  Branch (2977:41): [True: 214k, False: 68.7k]
  ------------------
 2978|   533k|        imag_negzero = z.imag == 0.0 && copysign(1.0, z.imag) < 0.0;
  ------------------
  |  Branch (2978:24): [True: 187k, False: 346k]
  |  Branch (2978:41): [True: 7.50k, False: 180k]
  ------------------
 2979|       |        /* use True, False and None singleton as tags for the real and imag
 2980|       |         * sign, to make tuples different */
 2981|   533k|        if (real_negzero && imag_negzero) {
  ------------------
  |  Branch (2981:13): [True: 214k, False: 319k]
  |  Branch (2981:29): [True: 3.31k, False: 211k]
  ------------------
 2982|  3.31k|            key = PyTuple_Pack(3, Py_TYPE(op), op, Py_True);
  ------------------
  |  |  213|  3.31k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          key = PyTuple_Pack(3, Py_TYPE(op), op, Py_True);
  ------------------
  |  |   26|  3.31k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  3.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2983|  3.31k|        }
 2984|   530k|        else if (imag_negzero) {
  ------------------
  |  Branch (2984:18): [True: 4.19k, False: 526k]
  ------------------
 2985|  4.19k|            key = PyTuple_Pack(3, Py_TYPE(op), op, Py_False);
  ------------------
  |  |  213|  4.19k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          key = PyTuple_Pack(3, Py_TYPE(op), op, Py_False);
  ------------------
  |  |   25|  4.19k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  4.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2986|  4.19k|        }
 2987|   526k|        else if (real_negzero) {
  ------------------
  |  Branch (2987:18): [True: 211k, False: 315k]
  ------------------
 2988|   211k|            key = PyTuple_Pack(3, Py_TYPE(op), op, Py_None);
  ------------------
  |  |  213|   211k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   211k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   211k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          key = PyTuple_Pack(3, Py_TYPE(op), op, Py_None);
  ------------------
  |  |  616|   211k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2989|   211k|        }
 2990|   315k|        else {
 2991|   315k|            key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), op);
  ------------------
  |  |  213|   315k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   315k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   315k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2992|   315k|        }
 2993|   533k|    }
 2994|   917k|    else if (PyTuple_CheckExact(op)) {
  ------------------
  |  |   28|   917k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   917k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   917k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   917k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 893k, False: 24.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2995|   893k|        Py_ssize_t i, len;
 2996|   893k|        PyObject *tuple;
 2997|       |
 2998|   893k|        len = PyTuple_GET_SIZE(op);
  ------------------
  |  |   27|   893k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   893k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   893k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2999|   893k|        tuple = PyTuple_New(len);
 3000|   893k|        if (tuple == NULL)
  ------------------
  |  Branch (3000:13): [True: 0, False: 893k]
  ------------------
 3001|      0|            return NULL;
 3002|       |
 3003|   206M|        for (i=0; i < len; i++) {
  ------------------
  |  Branch (3003:19): [True: 205M, False: 893k]
  ------------------
 3004|   205M|            PyObject *item, *item_key;
 3005|       |
 3006|   205M|            item = PyTuple_GET_ITEM(op, i);
  ------------------
  |  |   29|   205M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   205M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   205M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3006:20): [True: 205M, False: 0]
  ------------------
 3007|      0|            item_key = _PyCode_ConstantKey(item);
 3008|   205M|            if (item_key == NULL) {
  ------------------
  |  Branch (3008:17): [True: 0, False: 205M]
  ------------------
 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|   205M|            PyTuple_SET_ITEM(tuple, i, item_key);
  ------------------
  |  |   40|   205M|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   205M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   205M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   205M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   205M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3014|   205M|        }
 3015|       |
 3016|   893k|        key = _PyTuple_FromPair(tuple, op);
 3017|   893k|        Py_DECREF(tuple);
  ------------------
  |  |  430|   893k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   893k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   893k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3018|   893k|    }
 3019|  24.0k|    else if (PyFrozenSet_CheckExact(op)) {
  ------------------
  |  |   23|  24.0k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  24.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  24.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  24.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8.45k, False: 15.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3020|  8.45k|        Py_ssize_t pos = 0;
 3021|  8.45k|        PyObject *item;
 3022|  8.45k|        Py_hash_t hash;
 3023|  8.45k|        Py_ssize_t i, len;
 3024|  8.45k|        PyObject *tuple, *set;
 3025|       |
 3026|  8.45k|        len = PySet_GET_SIZE(op);
  ------------------
  |  |   71|  8.45k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  8.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3027|  8.45k|        tuple = PyTuple_New(len);
 3028|  8.45k|        if (tuple == NULL)
  ------------------
  |  Branch (3028:13): [True: 0, False: 8.45k]
  ------------------
 3029|      0|            return NULL;
 3030|       |
 3031|  8.45k|        i = 0;
 3032|  60.9k|        while (_PySet_NextEntry(op, &pos, &item, &hash)) {
  ------------------
  |  Branch (3032:16): [True: 52.5k, False: 8.45k]
  ------------------
 3033|  52.5k|            PyObject *item_key;
 3034|       |
 3035|  52.5k|            item_key = _PyCode_ConstantKey(item);
 3036|  52.5k|            if (item_key == NULL) {
  ------------------
  |  Branch (3036:17): [True: 0, False: 52.5k]
  ------------------
 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|  52.5k|            assert(i < len);
  ------------------
  |  Branch (3041:13): [True: 52.5k, False: 0]
  ------------------
 3042|  52.5k|            PyTuple_SET_ITEM(tuple, i, item_key);
  ------------------
  |  |   40|  52.5k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  52.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  52.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3043|  52.5k|            i++;
 3044|  52.5k|        }
 3045|  8.45k|        set = PyFrozenSet_New(tuple);
 3046|  8.45k|        Py_DECREF(tuple);
  ------------------
  |  |  430|  8.45k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3047|  8.45k|        if (set == NULL)
  ------------------
  |  Branch (3047:13): [True: 0, False: 8.45k]
  ------------------
 3048|      0|            return NULL;
 3049|       |
 3050|  8.45k|        key = _PyTuple_FromPair(set, op);
 3051|  8.45k|        Py_DECREF(set);
  ------------------
  |  |  430|  8.45k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3052|  8.45k|        return key;
 3053|  8.45k|    }
 3054|  15.5k|    else if (PySlice_Check(op)) {
  ------------------
  |  |   22|  15.5k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  15.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 15.5k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3055|  15.5k|        PySliceObject *slice = (PySliceObject *)op;
 3056|  15.5k|        PyObject *start_key = NULL;
 3057|  15.5k|        PyObject *stop_key = NULL;
 3058|  15.5k|        PyObject *step_key = NULL;
 3059|  15.5k|        key = NULL;
 3060|       |
 3061|  15.5k|        start_key = _PyCode_ConstantKey(slice->start);
 3062|  15.5k|        if (start_key == NULL) {
  ------------------
  |  Branch (3062:13): [True: 0, False: 15.5k]
  ------------------
 3063|      0|            goto slice_exit;
 3064|      0|        }
 3065|       |
 3066|  15.5k|        stop_key = _PyCode_ConstantKey(slice->stop);
 3067|  15.5k|        if (stop_key == NULL) {
  ------------------
  |  Branch (3067:13): [True: 0, False: 15.5k]
  ------------------
 3068|      0|            goto slice_exit;
 3069|      0|        }
 3070|       |
 3071|  15.5k|        step_key = _PyCode_ConstantKey(slice->step);
 3072|  15.5k|        if (step_key == NULL) {
  ------------------
  |  Branch (3072:13): [True: 0, False: 15.5k]
  ------------------
 3073|      0|            goto slice_exit;
 3074|      0|        }
 3075|       |
 3076|  15.5k|        PyObject *slice_key = PySlice_New(start_key, stop_key, step_key);
 3077|  15.5k|        if (slice_key == NULL) {
  ------------------
  |  Branch (3077:13): [True: 0, False: 15.5k]
  ------------------
 3078|      0|            goto slice_exit;
 3079|      0|        }
 3080|       |
 3081|  15.5k|        key = _PyTuple_FromPair(slice_key, op);
 3082|  15.5k|        Py_DECREF(slice_key);
  ------------------
  |  |  430|  15.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3083|  15.5k|    slice_exit:
 3084|  15.5k|        Py_XDECREF(start_key);
  ------------------
  |  |  621|  15.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3085|  15.5k|        Py_XDECREF(stop_key);
  ------------------
  |  |  621|  15.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3086|  15.5k|        Py_XDECREF(step_key);
  ------------------
  |  |  621|  15.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3087|  15.5k|    }
 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|   208M|    return key;
 3099|   208M|}
_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|   155k|{
  401|   155k|    int nlocals = 0;
  402|   155k|    int ncellvars = 0;
  403|   155k|    int nfreevars = 0;
  404|   155k|    Py_ssize_t nlocalsplus = PyTuple_GET_SIZE(names);
  ------------------
  |  |   27|   155k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   155k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   155k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  405|   512k|    for (int i = 0; i < nlocalsplus; i++) {
  ------------------
  |  Branch (405:21): [True: 356k, False: 155k]
  ------------------
  406|   356k|        _PyLocals_Kind kind = _PyLocals_GetKind(kinds, i);
  407|   356k|        if (kind & CO_FAST_LOCAL) {
  ------------------
  |  |  197|   356k|#define CO_FAST_LOCAL   (0x20)
  ------------------
  |  Branch (407:13): [True: 260k, False: 96.6k]
  ------------------
  408|   260k|            nlocals += 1;
  409|   260k|            if (kind & CO_FAST_CELL) {
  ------------------
  |  |  198|   260k|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (409:17): [True: 904, False: 259k]
  ------------------
  410|    904|                ncellvars += 1;
  411|    904|            }
  412|   260k|        }
  413|  96.6k|        else if (kind & CO_FAST_CELL) {
  ------------------
  |  |  198|  96.6k|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (413:18): [True: 35.3k, False: 61.2k]
  ------------------
  414|  35.3k|            ncellvars += 1;
  415|  35.3k|        }
  416|  61.2k|        else if (kind & CO_FAST_FREE) {
  ------------------
  |  |  199|  61.2k|#define CO_FAST_FREE    (0x80)
  ------------------
  |  Branch (416:18): [True: 61.2k, False: 0]
  ------------------
  417|  61.2k|            nfreevars += 1;
  418|  61.2k|        }
  419|   356k|    }
  420|   155k|    if (pnlocals != NULL) {
  ------------------
  |  Branch (420:9): [True: 155k, False: 0]
  ------------------
  421|   155k|        *pnlocals = nlocals;
  422|   155k|    }
  423|   155k|    if (pncellvars != NULL) {
  ------------------
  |  Branch (423:9): [True: 77.8k, False: 77.8k]
  ------------------
  424|  77.8k|        *pncellvars = ncellvars;
  425|  77.8k|    }
  426|   155k|    if (pnfreevars != NULL) {
  ------------------
  |  Branch (426:9): [True: 77.8k, False: 77.8k]
  ------------------
  427|  77.8k|        *pnfreevars = nfreevars;
  428|  77.8k|    }
  429|   155k|}
codeobject.c:intern_code_constants:
  694|  77.8k|{
  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|  77.8k|    if (intern_strings(con->names) < 0) {
  ------------------
  |  Branch (700:9): [True: 0, False: 77.8k]
  ------------------
  701|      0|        goto error;
  702|      0|    }
  703|  77.8k|    if (intern_constants(con->consts, NULL) < 0) {
  ------------------
  |  Branch (703:9): [True: 0, False: 77.8k]
  ------------------
  704|      0|        goto error;
  705|      0|    }
  706|  77.8k|    if (intern_strings(con->localsplusnames) < 0) {
  ------------------
  |  Branch (706:9): [True: 0, False: 77.8k]
  ------------------
  707|      0|        goto error;
  708|      0|    }
  709|  77.8k|    FT_MUTEX_UNLOCK(&state->mutex);
  ------------------
  |  |  209|  77.8k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (209:44): [Folded, False: 77.8k]
  |  |  ------------------
  ------------------
  710|  77.8k|    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|  77.8k|}
codeobject.c:intern_strings:
  191|   155k|{
  192|   155k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  193|   155k|    Py_ssize_t i;
  194|       |
  195|   579k|    for (i = PyTuple_GET_SIZE(tuple); --i >= 0; ) {
  ------------------
  |  |   27|   155k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   155k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   155k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (195:39): [True: 423k, False: 155k]
  ------------------
  196|   423k|        PyObject *v = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|   423k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   423k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   423k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (196:23): [True: 423k, False: 0]
  ------------------
  197|   423k|        if (v == NULL || !PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|   423k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   423k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   423k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   423k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (197:13): [True: 0, False: 423k]
  |  Branch (197:26): [True: 0, False: 423k]
  ------------------
  198|      0|            PyErr_SetString(PyExc_SystemError,
  199|      0|                            "non-string found in code slot");
  200|      0|            return -1;
  201|      0|        }
  202|   423k|        _PyUnicode_InternImmortal(interp, &_PyTuple_ITEMS(tuple)[i]);
  ------------------
  |  |   26|   423k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|   846k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 423k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  203|   423k|    }
  204|   155k|    return 0;
  205|   155k|}
codeobject.c:intern_constants:
  212|   181k|{
  213|   181k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  214|  3.67M|    for (Py_ssize_t i = PyTuple_GET_SIZE(tuple); --i >= 0; ) {
  ------------------
  |  |   27|   181k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   181k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   181k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (214:50): [True: 3.49M, False: 181k]
  ------------------
  215|  3.49M|        PyObject *v = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|  3.49M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.49M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (215:23): [True: 3.49M, False: 0]
  ------------------
  216|  3.49M|        if (PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|  3.49M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  3.49M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 90.1k, False: 3.40M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  217|  90.1k|            if (_PyCode_ShouldInternString(v)) {
  ------------------
  |  Branch (217:17): [True: 55.1k, False: 34.9k]
  ------------------
  218|  55.1k|                PyObject *w = v;
  219|  55.1k|                _PyUnicode_InternMortal(interp, &v);
  220|  55.1k|                if (w != v) {
  ------------------
  |  Branch (220:21): [True: 0, False: 55.1k]
  ------------------
  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|  55.1k|            }
  227|  90.1k|        }
  228|  3.40M|        else if (PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  3.40M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  3.40M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.40M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.40M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 101k, False: 3.30M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  229|   101k|            if (intern_constants(v, NULL) < 0) {
  ------------------
  |  Branch (229:17): [True: 0, False: 101k]
  ------------------
  230|      0|                return -1;
  231|      0|            }
  232|   101k|        }
  233|  3.30M|        else if (PyFrozenSet_CheckExact(v)) {
  ------------------
  |  |   23|  3.30M|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  3.30M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.30M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.86k, False: 3.29M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  234|  1.86k|            PyObject *w = v;
  235|  1.86k|            PyObject *tmp = PySequence_Tuple(v);
  236|  1.86k|            if (tmp == NULL) {
  ------------------
  |  Branch (236:17): [True: 0, False: 1.86k]
  ------------------
  237|      0|                return -1;
  238|      0|            }
  239|  1.86k|            int tmp_modified = 0;
  240|  1.86k|            if (intern_constants(tmp, &tmp_modified) < 0) {
  ------------------
  |  Branch (240:17): [True: 0, False: 1.86k]
  ------------------
  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|  1.86k|            if (tmp_modified) {
  ------------------
  |  Branch (244:17): [True: 0, False: 1.86k]
  ------------------
  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|  1.86k|            Py_DECREF(tmp);
  ------------------
  |  |  430|  1.86k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  258|  1.86k|        }
  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|  3.49M|    }
  311|   181k|    return 0;
  312|   181k|}
codeobject.c:init_code:
  520|  77.8k|{
  521|  77.8k|    int nlocalsplus = (int)PyTuple_GET_SIZE(con->localsplusnames);
  ------------------
  |  |   27|  77.8k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  522|  77.8k|    int nlocals, ncellvars, nfreevars;
  523|  77.8k|    get_localsplus_counts(con->localsplusnames, con->localspluskinds,
  524|  77.8k|                          &nlocals, &ncellvars, &nfreevars);
  525|  77.8k|    if (con->stacksize == 0) {
  ------------------
  |  Branch (525:9): [True: 43, False: 77.8k]
  ------------------
  526|     43|        con->stacksize = 1;
  527|     43|    }
  528|       |
  529|  77.8k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  530|  77.8k|    co->co_filename = Py_NewRef(con->filename);
  ------------------
  |  |  647|  77.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  531|  77.8k|    co->co_name = Py_NewRef(con->name);
  ------------------
  |  |  647|  77.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|  77.8k|    co->co_qualname = Py_NewRef(con->qualname);
  ------------------
  |  |  647|  77.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  533|  77.8k|    _PyUnicode_InternMortal(interp, &co->co_filename);
  534|  77.8k|    _PyUnicode_InternMortal(interp, &co->co_name);
  535|  77.8k|    _PyUnicode_InternMortal(interp, &co->co_qualname);
  536|  77.8k|    co->co_flags = con->flags;
  537|       |
  538|  77.8k|    co->co_firstlineno = con->firstlineno;
  539|  77.8k|    co->co_linetable = Py_NewRef(con->linetable);
  ------------------
  |  |  647|  77.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  540|       |
  541|  77.8k|    co->co_consts = Py_NewRef(con->consts);
  ------------------
  |  |  647|  77.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  542|  77.8k|    co->co_names = Py_NewRef(con->names);
  ------------------
  |  |  647|  77.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|       |
  544|  77.8k|    co->co_localsplusnames = Py_NewRef(con->localsplusnames);
  ------------------
  |  |  647|  77.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  545|  77.8k|    co->co_localspluskinds = Py_NewRef(con->localspluskinds);
  ------------------
  |  |  647|  77.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|       |
  547|  77.8k|    co->co_argcount = con->argcount;
  548|  77.8k|    co->co_posonlyargcount = con->posonlyargcount;
  549|  77.8k|    co->co_kwonlyargcount = con->kwonlyargcount;
  550|       |
  551|  77.8k|    co->co_stacksize = con->stacksize;
  552|       |
  553|  77.8k|    co->co_exceptiontable = Py_NewRef(con->exceptiontable);
  ------------------
  |  |  647|  77.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  554|       |
  555|       |    /* derived values */
  556|  77.8k|    co->co_nlocalsplus = nlocalsplus;
  557|  77.8k|    co->co_nlocals = nlocals;
  558|  77.8k|    co->co_framesize = nlocalsplus + con->stacksize + FRAME_SPECIALS_SIZE;
  ------------------
  |  |  123|  77.8k|#define FRAME_SPECIALS_SIZE ((int)((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *)))
  ------------------
  559|  77.8k|    co->co_ncellvars = ncellvars;
  560|  77.8k|    co->co_nfreevars = nfreevars;
  561|  77.8k|    FT_MUTEX_LOCK(&interp->func_state.mutex);
  ------------------
  |  |  207|  77.8k|#define FT_MUTEX_LOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (207:42): [Folded, False: 77.8k]
  |  |  ------------------
  ------------------
  562|  77.8k|    co->co_version = interp->func_state.next_version;
  563|  77.8k|    if (interp->func_state.next_version != 0) {
  ------------------
  |  Branch (563:9): [True: 77.8k, False: 0]
  ------------------
  564|  77.8k|        interp->func_state.next_version++;
  565|  77.8k|    }
  566|  77.8k|    FT_MUTEX_UNLOCK(&interp->func_state.mutex);
  ------------------
  |  |  209|  77.8k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (209:44): [Folded, False: 77.8k]
  |  |  ------------------
  ------------------
  567|  77.8k|    co->_co_monitoring = NULL;
  568|  77.8k|    co->_co_instrumentation_version = 0;
  569|       |    /* not set */
  570|  77.8k|    co->co_weakreflist = NULL;
  571|  77.8k|    co->co_extra = NULL;
  572|  77.8k|    co->_co_cached = NULL;
  573|  77.8k|    co->co_executors = NULL;
  574|       |
  575|  77.8k|    memcpy(_PyCode_CODE(co), PyBytes_AS_STRING(con->code),
  ------------------
  |  |   16|  77.8k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  77.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  memcpy(_PyCode_CODE(co), PyBytes_AS_STRING(con->code),
  ------------------
  |  |   27|  77.8k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  576|  77.8k|           PyBytes_GET_SIZE(con->code));
  ------------------
  |  |   33|  77.8k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#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|  77.8k|    int entry_point = 0;
  585|   133k|    while (entry_point < Py_SIZE(co)) {
  ------------------
  |  |  214|   133k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   133k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   133k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (585:12): [True: 133k, False: 0]
  ------------------
  586|   133k|        if (_PyCode_CODE(co)[entry_point].op.code == RESUME &&
  ------------------
  |  |   16|   133k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|   133k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                      if (_PyCode_CODE(co)[entry_point].op.code == RESUME &&
  ------------------
  |  |  130|   266k|#define RESUME                                 128
  ------------------
  |  Branch (586:13): [True: 79.0k, False: 54.3k]
  ------------------
  587|  79.0k|           (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   16|  79.0k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  79.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                         (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   94|  79.0k|#define RESUME_OPARG_LOCATION_MASK 0x7
  ------------------
                         (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   92|  79.0k|#define RESUME_AT_GEN_EXPR_START 4
  ------------------
  |  Branch (587:12): [True: 77.8k, False: 1.16k]
  ------------------
  588|   133k|        ) {
  589|  77.8k|            break;
  590|  77.8k|        }
  591|  55.5k|        entry_point++;
  592|  55.5k|    }
  593|  77.8k|    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|  77.8k|    _PyCode_Quicken(_PyCode_CODE(co), Py_SIZE(co), interp->opt_config.specialization_enabled, co->co_flags);
  ------------------
  |  |   16|  77.8k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  313|  77.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  _PyCode_Quicken(_PyCode_CODE(co), Py_SIZE(co), interp->opt_config.specialization_enabled, co->co_flags);
  ------------------
  |  |  214|  77.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  600|  77.8k|#endif
  601|  77.8k|    notify_code_watchers(PY_CODE_EVENT_CREATE, co);
  602|  77.8k|    return 0;
  603|  77.8k|}
codeobject.c:notify_code_watchers:
   42|   153k|{
   43|   153k|    assert(Py_REFCNT(co) > 0);
  ------------------
  |  Branch (43:5): [True: 153k, False: 0]
  ------------------
   44|   153k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   45|   153k|    assert(interp->_initialized);
  ------------------
  |  Branch (45:5): [True: 153k, False: 0]
  ------------------
   46|   153k|    uint8_t bits = interp->active_code_watchers;
   47|   153k|    int i = 0;
   48|   153k|    while (bits) {
  ------------------
  |  Branch (48:12): [True: 0, False: 153k]
  ------------------
   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|   153k|}
codeobject.c:code_dealloc:
 2404|  75.2k|{
 2405|  75.2k|    PyThreadState *tstate = PyThreadState_GET();
  ------------------
  |  |   63|  75.2k|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 2406|  75.2k|    _Py_atomic_add_uint64(&tstate->interp->_code_object_generation, 1);
 2407|  75.2k|    PyCodeObject *co = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|  75.2k|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
  |  Branch (2407:24): [True: 75.2k, False: 0]
  ------------------
 2408|      0|    _PyObject_ResurrectStart(self);
 2409|  75.2k|    notify_code_watchers(PY_CODE_EVENT_DESTROY, co);
 2410|  75.2k|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (2410:9): [True: 0, False: 75.2k]
  ------------------
 2411|      0|        return;
 2412|      0|    }
 2413|       |
 2414|       |#ifdef Py_GIL_DISABLED
 2415|       |    PyObject_GC_UnTrack(co);
 2416|       |#endif
 2417|       |
 2418|  75.2k|    _PyFunction_ClearCodeByVersion(co->co_version);
 2419|  75.2k|    if (co->co_extra != NULL) {
  ------------------
  |  Branch (2419:9): [True: 0, False: 75.2k]
  ------------------
 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|  75.2k|    Py_XDECREF(co->co_consts);
  ------------------
  |  |  621|  75.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2440|  75.2k|    Py_XDECREF(co->co_names);
  ------------------
  |  |  621|  75.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2441|  75.2k|    Py_XDECREF(co->co_localsplusnames);
  ------------------
  |  |  621|  75.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2442|  75.2k|    Py_XDECREF(co->co_localspluskinds);
  ------------------
  |  |  621|  75.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2443|  75.2k|    Py_XDECREF(co->co_filename);
  ------------------
  |  |  621|  75.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2444|  75.2k|    Py_XDECREF(co->co_name);
  ------------------
  |  |  621|  75.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2445|  75.2k|    Py_XDECREF(co->co_qualname);
  ------------------
  |  |  621|  75.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2446|  75.2k|    Py_XDECREF(co->co_linetable);
  ------------------
  |  |  621|  75.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2447|  75.2k|    Py_XDECREF(co->co_exceptiontable);
  ------------------
  |  |  621|  75.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#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|  75.2k|    if (co->_co_cached != NULL) {
  ------------------
  |  Branch (2451:9): [True: 0, False: 75.2k]
  ------------------
 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|  75.2k|    FT_CLEAR_WEAKREFS(self, co->co_weakreflist);
  ------------------
  |  |   47|  75.2k|    do {                                            \
  |  |   48|  75.2k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  75.2k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 75.2k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  |  Branch (2458:5): [True: 75.2k, False: 0]
  ------------------
 2459|  75.2k|    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|  75.2k|    PyObject_Free(co);
 2474|  75.2k|}
codeobject.c:free_monitoring_data:
 2380|  75.2k|{
 2381|  75.2k|    if (data == NULL) {
  ------------------
  |  Branch (2381:9): [True: 75.2k, False: 0]
  ------------------
 2382|  75.2k|        return;
 2383|  75.2k|    }
 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|   303k|{
 2598|   303k|    PyCodeObject *co = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|   303k|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
  |  Branch (2598:24): [True: 303k, False: 0]
  ------------------
 2599|      0|    Py_uhash_t uhash = 20221211;
 2600|   303k|    #define SCRAMBLE_IN(H) do {       \
 2601|   303k|        uhash ^= (Py_uhash_t)(H);     \
 2602|   303k|        uhash *= PyHASH_MULTIPLIER;  \
 2603|   303k|    } while (0)
 2604|   303k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
 2605|   303k|        Py_hash_t h = PyObject_Hash(EXPR);  \
 2606|   303k|        if (h == -1) {                      \
 2607|   303k|            return -1;                      \
 2608|   303k|        }                                   \
 2609|   303k|        SCRAMBLE_IN(h);                     \
 2610|   303k|    } while (0)
 2611|       |
 2612|   303k|    SCRAMBLE_IN_HASH(co->co_name);
  ------------------
  |  | 2604|   303k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2605|   303k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2606|   303k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2606:13): [True: 0, False: 303k]
  |  |  ------------------
  |  | 2607|      0|            return -1;                      \
  |  | 2608|      0|        }                                   \
  |  | 2609|   303k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2600|   303k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2601|   303k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2602|   303k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|   303k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2603|   303k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2603:14): [Folded, False: 303k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2610|   303k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2610:14): [Folded, False: 303k]
  |  |  ------------------
  ------------------
 2613|   303k|    SCRAMBLE_IN_HASH(co->co_consts);
  ------------------
  |  | 2604|   303k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2605|   303k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2606|   303k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2606:13): [True: 0, False: 303k]
  |  |  ------------------
  |  | 2607|      0|            return -1;                      \
  |  | 2608|      0|        }                                   \
  |  | 2609|   303k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2600|   303k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2601|   303k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2602|   303k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|   303k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2603|   303k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2603:14): [Folded, False: 303k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2610|   303k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2610:14): [Folded, False: 303k]
  |  |  ------------------
  ------------------
 2614|   303k|    SCRAMBLE_IN_HASH(co->co_names);
  ------------------
  |  | 2604|   303k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2605|   303k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2606|   303k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2606:13): [True: 0, False: 303k]
  |  |  ------------------
  |  | 2607|      0|            return -1;                      \
  |  | 2608|      0|        }                                   \
  |  | 2609|   303k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2600|   303k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2601|   303k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2602|   303k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|   303k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2603|   303k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2603:14): [Folded, False: 303k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2610|   303k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2610:14): [Folded, False: 303k]
  |  |  ------------------
  ------------------
 2615|   303k|    SCRAMBLE_IN_HASH(co->co_localsplusnames);
  ------------------
  |  | 2604|   303k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2605|   303k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2606|   303k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2606:13): [True: 0, False: 303k]
  |  |  ------------------
  |  | 2607|      0|            return -1;                      \
  |  | 2608|      0|        }                                   \
  |  | 2609|   303k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2600|   303k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2601|   303k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2602|   303k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|   303k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2603|   303k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2603:14): [Folded, False: 303k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2610|   303k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2610:14): [Folded, False: 303k]
  |  |  ------------------
  ------------------
 2616|   303k|    SCRAMBLE_IN_HASH(co->co_linetable);
  ------------------
  |  | 2604|   303k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2605|   303k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2606|   303k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2606:13): [True: 0, False: 303k]
  |  |  ------------------
  |  | 2607|      0|            return -1;                      \
  |  | 2608|      0|        }                                   \
  |  | 2609|   303k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2600|   303k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2601|   303k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2602|   303k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|   303k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2603|   303k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2603:14): [Folded, False: 303k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2610|   303k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2610:14): [Folded, False: 303k]
  |  |  ------------------
  ------------------
 2617|   303k|    SCRAMBLE_IN_HASH(co->co_exceptiontable);
  ------------------
  |  | 2604|   303k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2605|   303k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2606|   303k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2606:13): [True: 0, False: 303k]
  |  |  ------------------
  |  | 2607|      0|            return -1;                      \
  |  | 2608|      0|        }                                   \
  |  | 2609|   303k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2600|   303k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2601|   303k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2602|   303k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|   303k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2603|   303k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2603:14): [Folded, False: 303k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2610|   303k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2610:14): [Folded, False: 303k]
  |  |  ------------------
  ------------------
 2618|   303k|    SCRAMBLE_IN(co->co_argcount);
  ------------------
  |  | 2600|   303k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2601|   303k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2602|   303k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|   303k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2603|   303k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2603:14): [Folded, False: 303k]
  |  |  ------------------
  ------------------
 2619|   303k|    SCRAMBLE_IN(co->co_posonlyargcount);
  ------------------
  |  | 2600|   303k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2601|   303k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2602|   303k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|   303k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2603|   303k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2603:14): [Folded, False: 303k]
  |  |  ------------------
  ------------------
 2620|   303k|    SCRAMBLE_IN(co->co_kwonlyargcount);
  ------------------
  |  | 2600|   303k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2601|   303k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2602|   303k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|   303k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2603|   303k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2603:14): [Folded, False: 303k]
  |  |  ------------------
  ------------------
 2621|   303k|    SCRAMBLE_IN(co->co_flags);
  ------------------
  |  | 2600|   303k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2601|   303k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2602|   303k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|   303k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2603|   303k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2603:14): [Folded, False: 303k]
  |  |  ------------------
  ------------------
 2622|   303k|    SCRAMBLE_IN(co->co_firstlineno);
  ------------------
  |  | 2600|   303k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2601|   303k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2602|   303k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|   303k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2603|   303k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2603:14): [Folded, False: 303k]
  |  |  ------------------
  ------------------
 2623|   303k|    SCRAMBLE_IN(Py_SIZE(co));
  ------------------
  |  | 2600|   303k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2601|   303k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2602|   303k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|   303k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2603|   303k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2603:14): [Folded, False: 303k]
  |  |  ------------------
  ------------------
 2624|  10.2M|    for (int i = 0; i < Py_SIZE(co); i++) {
  ------------------
  |  |  214|  10.2M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2624:21): [True: 9.94M, False: 303k]
  ------------------
 2625|  9.94M|        _Py_CODEUNIT co_instr = _Py_GetBaseCodeUnit(co, i);
 2626|  9.94M|        SCRAMBLE_IN(co_instr.op.code);
  ------------------
  |  | 2600|  9.94M|    #define SCRAMBLE_IN(H) do {       \
  |  | 2601|  9.94M|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2602|  9.94M|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  9.94M|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2603|  9.94M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2603:14): [Folded, False: 9.94M]
  |  |  ------------------
  ------------------
 2627|  9.94M|        SCRAMBLE_IN(co_instr.op.arg);
  ------------------
  |  | 2600|  9.94M|    #define SCRAMBLE_IN(H) do {       \
  |  | 2601|  9.94M|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2602|  9.94M|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  9.94M|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2603|  9.94M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2603:14): [Folded, False: 9.94M]
  |  |  ------------------
  ------------------
 2628|  9.94M|        i += _PyOpcode_Caches[co_instr.op.code];
 2629|  9.94M|    }
 2630|   303k|    if ((Py_hash_t)uhash == -1) {
  ------------------
  |  Branch (2630:9): [True: 0, False: 303k]
  ------------------
 2631|      0|        return -2;
 2632|      0|    }
 2633|   303k|    return (Py_hash_t)uhash;
 2634|   303k|}
codeobject.c:code_richcompare:
 2508|  10.2k|{
 2509|  10.2k|    PyCodeObject *co, *cp;
 2510|  10.2k|    int eq;
 2511|  10.2k|    PyObject *consts1, *consts2;
 2512|  10.2k|    PyObject *res;
 2513|       |
 2514|  10.2k|    if ((op != Py_EQ && op != Py_NE) ||
  ------------------
  |  |  654|  20.4k|#define Py_EQ 2
  ------------------
                  if ((op != Py_EQ && op != Py_NE) ||
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (2514:10): [True: 0, False: 10.2k]
  |  Branch (2514:25): [True: 0, False: 0]
  ------------------
 2515|  10.2k|        !PyCode_Check(self) ||
  ------------------
  |  |  168|  10.2k|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|  20.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2515:9): [True: 0, False: 10.2k]
  ------------------
 2516|  10.2k|        !PyCode_Check(other)) {
  ------------------
  |  |  168|  10.2k|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|  10.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2516:9): [True: 0, False: 10.2k]
  ------------------
 2517|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2518|      0|    }
 2519|       |
 2520|  10.2k|    co = (PyCodeObject *)self;
 2521|  10.2k|    cp = (PyCodeObject *)other;
 2522|       |
 2523|  10.2k|    eq = PyObject_RichCompareBool(co->co_name, cp->co_name, Py_EQ);
  ------------------
  |  |  654|  10.2k|#define Py_EQ 2
  ------------------
 2524|  10.2k|    if (eq <= 0) goto unequal;
  ------------------
  |  Branch (2524:9): [True: 0, False: 10.2k]
  ------------------
 2525|  10.2k|    eq = co->co_argcount == cp->co_argcount;
 2526|  10.2k|    if (!eq) goto unequal;
  ------------------
  |  Branch (2526:9): [True: 0, False: 10.2k]
  ------------------
 2527|  10.2k|    eq = co->co_posonlyargcount == cp->co_posonlyargcount;
 2528|  10.2k|    if (!eq) goto unequal;
  ------------------
  |  Branch (2528:9): [True: 0, False: 10.2k]
  ------------------
 2529|  10.2k|    eq = co->co_kwonlyargcount == cp->co_kwonlyargcount;
 2530|  10.2k|    if (!eq) goto unequal;
  ------------------
  |  Branch (2530:9): [True: 0, False: 10.2k]
  ------------------
 2531|  10.2k|    eq = co->co_flags == cp->co_flags;
 2532|  10.2k|    if (!eq) goto unequal;
  ------------------
  |  Branch (2532:9): [True: 0, False: 10.2k]
  ------------------
 2533|  10.2k|    eq = co->co_firstlineno == cp->co_firstlineno;
 2534|  10.2k|    if (!eq) goto unequal;
  ------------------
  |  Branch (2534:9): [True: 0, False: 10.2k]
  ------------------
 2535|  10.2k|    eq = Py_SIZE(co) == Py_SIZE(cp);
  ------------------
  |  |  214|  10.2k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  eq = Py_SIZE(co) == Py_SIZE(cp);
  ------------------
  |  |  214|  10.2k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2536|  10.2k|    if (!eq) {
  ------------------
  |  Branch (2536:9): [True: 0, False: 10.2k]
  ------------------
 2537|      0|        goto unequal;
 2538|      0|    }
 2539|   210k|    for (int i = 0; i < Py_SIZE(co); i++) {
  ------------------
  |  |  214|   210k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   210k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   210k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2539:21): [True: 200k, False: 10.2k]
  ------------------
 2540|   200k|        _Py_CODEUNIT co_instr = _Py_GetBaseCodeUnit(co, i);
 2541|   200k|        _Py_CODEUNIT cp_instr = _Py_GetBaseCodeUnit(cp, i);
 2542|   200k|        if (co_instr.cache != cp_instr.cache) {
  ------------------
  |  Branch (2542:13): [True: 0, False: 200k]
  ------------------
 2543|      0|            goto unequal;
 2544|      0|        }
 2545|   200k|        i += _PyOpcode_Caches[co_instr.op.code];
 2546|   200k|    }
 2547|       |
 2548|       |    /* compare constants */
 2549|  10.2k|    consts1 = _PyCode_ConstantKey(co->co_consts);
 2550|  10.2k|    if (!consts1)
  ------------------
  |  Branch (2550:9): [True: 0, False: 10.2k]
  ------------------
 2551|      0|        return NULL;
 2552|  10.2k|    consts2 = _PyCode_ConstantKey(cp->co_consts);
 2553|  10.2k|    if (!consts2) {
  ------------------
  |  Branch (2553:9): [True: 0, False: 10.2k]
  ------------------
 2554|      0|        Py_DECREF(consts1);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2555|      0|        return NULL;
 2556|      0|    }
 2557|  10.2k|    eq = PyObject_RichCompareBool(consts1, consts2, Py_EQ);
  ------------------
  |  |  654|  10.2k|#define Py_EQ 2
  ------------------
 2558|  10.2k|    Py_DECREF(consts1);
  ------------------
  |  |  430|  10.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2559|  10.2k|    Py_DECREF(consts2);
  ------------------
  |  |  430|  10.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2560|  10.2k|    if (eq <= 0) goto unequal;
  ------------------
  |  Branch (2560:9): [True: 0, False: 10.2k]
  ------------------
 2561|       |
 2562|  10.2k|    eq = PyObject_RichCompareBool(co->co_names, cp->co_names, Py_EQ);
  ------------------
  |  |  654|  10.2k|#define Py_EQ 2
  ------------------
 2563|  10.2k|    if (eq <= 0) goto unequal;
  ------------------
  |  Branch (2563:9): [True: 0, False: 10.2k]
  ------------------
 2564|  10.2k|    eq = PyObject_RichCompareBool(co->co_localsplusnames,
 2565|  10.2k|                                  cp->co_localsplusnames, Py_EQ);
  ------------------
  |  |  654|  10.2k|#define Py_EQ 2
  ------------------
 2566|  10.2k|    if (eq <= 0) goto unequal;
  ------------------
  |  Branch (2566:9): [True: 0, False: 10.2k]
  ------------------
 2567|  10.2k|    eq = PyObject_RichCompareBool(co->co_linetable, cp->co_linetable, Py_EQ);
  ------------------
  |  |  654|  10.2k|#define Py_EQ 2
  ------------------
 2568|  10.2k|    if (eq <= 0) {
  ------------------
  |  Branch (2568:9): [True: 0, False: 10.2k]
  ------------------
 2569|      0|        goto unequal;
 2570|      0|    }
 2571|  10.2k|    eq = PyObject_RichCompareBool(co->co_exceptiontable,
 2572|  10.2k|                                  cp->co_exceptiontable, Py_EQ);
  ------------------
  |  |  654|  10.2k|#define Py_EQ 2
  ------------------
 2573|  10.2k|    if (eq <= 0) {
  ------------------
  |  Branch (2573:9): [True: 0, False: 10.2k]
  ------------------
 2574|      0|        goto unequal;
 2575|      0|    }
 2576|       |
 2577|  10.2k|    if (op == Py_EQ)
  ------------------
  |  |  654|  10.2k|#define Py_EQ 2
  ------------------
  |  Branch (2577:9): [True: 10.2k, False: 0]
  ------------------
 2578|  10.2k|        res = Py_True;
  ------------------
  |  |   26|  10.2k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2579|      0|    else
 2580|      0|        res = Py_False;
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2581|  10.2k|    goto done;
 2582|       |
 2583|      0|  unequal:
 2584|      0|    if (eq < 0)
  ------------------
  |  Branch (2584:9): [True: 0, False: 0]
  ------------------
 2585|      0|        return NULL;
 2586|      0|    if (op == Py_NE)
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (2586:9): [True: 0, False: 0]
  ------------------
 2587|      0|        res = Py_True;
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2588|      0|    else
 2589|      0|        res = Py_False;
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2590|       |
 2591|  10.2k|  done:
 2592|  10.2k|    return Py_NewRef(res);
  ------------------
  |  |  647|  10.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2593|      0|}

_Py_c_sum:
   31|  1.10k|{
   32|  1.10k|    Py_complex r;
   33|  1.10k|    r.real = a.real + b.real;
   34|  1.10k|    r.imag = a.imag + b.imag;
   35|  1.10k|    return r;
   36|  1.10k|}
_Py_cr_sum:
   40|  29.2k|{
   41|  29.2k|    Py_complex r = a;
   42|  29.2k|    r.real += b;
   43|  29.2k|    return r;
   44|  29.2k|}
_Py_c_diff:
   54|  1.18k|{
   55|  1.18k|    Py_complex r;
   56|  1.18k|    r.real = a.real - b.real;
   57|  1.18k|    r.imag = a.imag - b.imag;
   58|  1.18k|    return r;
   59|  1.18k|}
_Py_cr_diff:
   63|  19.9k|{
   64|  19.9k|    Py_complex r = a;
   65|  19.9k|    r.real -= b;
   66|  19.9k|    return r;
   67|  19.9k|}
_Py_rc_diff:
   71|  2.11k|{
   72|  2.11k|    Py_complex r;
   73|  2.11k|    r.real = a - b.real;
   74|  2.11k|    r.imag = -b.imag;
   75|  2.11k|    return r;
   76|  2.11k|}
_Py_c_prod:
   89|  31.3k|{
   90|  31.3k|    double a = z.real, b = z.imag, c = w.real, d = w.imag;
   91|  31.3k|    double ac = a*c, bd = b*d, ad = a*d, bc = b*c;
   92|  31.3k|    Py_complex r = {ac - bd, ad + bc};
   93|       |
   94|       |    /* Recover infinities that computed as nan+nanj.  See e.g. the C11,
   95|       |       Annex G.5.1, routine _Cmultd(). */
   96|  31.3k|    if (isnan(r.real) && isnan(r.imag)) {
  ------------------
  |  Branch (96:9): [True: 10.5k, False: 20.8k]
  |  Branch (96:26): [True: 10.3k, False: 168]
  ------------------
   97|  10.3k|        int recalc = 0;
   98|       |
   99|  10.3k|        if (isinf(a) || isinf(b)) {  /* z is infinite */
  ------------------
  |  Branch (99:13): [True: 6.38k, False: 3.97k]
  |  Branch (99:25): [True: 1.88k, False: 2.09k]
  ------------------
  100|       |            /* "Box" the infinity and change nans in the other factor to 0 */
  101|  8.26k|            a = copysign(isinf(a) ? 1.0 : 0.0, a);
  ------------------
  |  Branch (101:26): [True: 6.38k, False: 1.88k]
  ------------------
  102|  8.26k|            b = copysign(isinf(b) ? 1.0 : 0.0, b);
  ------------------
  |  Branch (102:26): [True: 2.11k, False: 6.14k]
  ------------------
  103|  8.26k|            if (isnan(c)) {
  ------------------
  |  Branch (103:17): [True: 279, False: 7.98k]
  ------------------
  104|    279|                c = copysign(0.0, c);
  105|    279|            }
  106|  8.26k|            if (isnan(d)) {
  ------------------
  |  Branch (106:17): [True: 7.12k, False: 1.14k]
  ------------------
  107|  7.12k|                d = copysign(0.0, d);
  108|  7.12k|            }
  109|  8.26k|            recalc = 1;
  110|  8.26k|        }
  111|  10.3k|        if (isinf(c) || isinf(d)) {  /* w is infinite */
  ------------------
  |  Branch (111:13): [True: 7.01k, False: 3.34k]
  |  Branch (111:25): [True: 510, False: 2.83k]
  ------------------
  112|       |            /* "Box" the infinity and change nans in the other factor to 0 */
  113|  7.52k|            c = copysign(isinf(c) ? 1.0 : 0.0, c);
  ------------------
  |  Branch (113:26): [True: 7.01k, False: 510]
  ------------------
  114|  7.52k|            d = copysign(isinf(d) ? 1.0 : 0.0, d);
  ------------------
  |  Branch (114:26): [True: 510, False: 7.01k]
  ------------------
  115|  7.52k|            if (isnan(a)) {
  ------------------
  |  Branch (115:17): [True: 227, False: 7.29k]
  ------------------
  116|    227|                a = copysign(0.0, a);
  117|    227|            }
  118|  7.52k|            if (isnan(b)) {
  ------------------
  |  Branch (118:17): [True: 227, False: 7.29k]
  ------------------
  119|    227|                b = copysign(0.0, b);
  120|    227|            }
  121|  7.52k|            recalc = 1;
  122|  7.52k|        }
  123|  10.3k|        if (!recalc && (isinf(ac) || isinf(bd) || isinf(ad) || isinf(bc))) {
  ------------------
  |  Branch (123:13): [True: 1.68k, False: 8.66k]
  |  Branch (123:25): [True: 0, False: 1.68k]
  |  Branch (123:38): [True: 0, False: 1.68k]
  |  Branch (123:51): [True: 0, False: 1.68k]
  |  Branch (123:64): [True: 0, False: 1.68k]
  ------------------
  124|       |            /* Recover infinities from overflow by changing nans to 0 */
  125|      0|            if (isnan(a)) {
  ------------------
  |  Branch (125:17): [True: 0, False: 0]
  ------------------
  126|      0|                a = copysign(0.0, a);
  127|      0|            }
  128|      0|            if (isnan(b)) {
  ------------------
  |  Branch (128:17): [True: 0, False: 0]
  ------------------
  129|      0|                b = copysign(0.0, b);
  130|      0|            }
  131|      0|            if (isnan(c)) {
  ------------------
  |  Branch (131:17): [True: 0, False: 0]
  ------------------
  132|      0|                c = copysign(0.0, c);
  133|      0|            }
  134|      0|            if (isnan(d)) {
  ------------------
  |  Branch (134:17): [True: 0, False: 0]
  ------------------
  135|      0|                d = copysign(0.0, d);
  136|      0|            }
  137|      0|            recalc = 1;
  138|      0|        }
  139|  10.3k|        if (recalc) {
  ------------------
  |  Branch (139:13): [True: 8.66k, False: 1.68k]
  ------------------
  140|  8.66k|            r.real = INFINITY*(a*c - b*d);
  141|  8.66k|            r.imag = INFINITY*(a*d + b*c);
  142|  8.66k|        }
  143|  10.3k|    }
  144|       |
  145|  31.3k|    return r;
  146|  31.3k|}
_Py_cr_prod:
  150|  12.1k|{
  151|  12.1k|    Py_complex r = a;
  152|  12.1k|    r.real *= b;
  153|  12.1k|    r.imag *= b;
  154|  12.1k|    return r;
  155|  12.1k|}
_Py_c_quot:
  169|  3.77k|{
  170|       |    /******************************************************************
  171|       |    This was the original algorithm.  It's grossly prone to spurious
  172|       |    overflow and underflow errors.  It also merrily divides by 0 despite
  173|       |    checking for that(!).  The code still serves a doc purpose here, as
  174|       |    the algorithm following is a simple by-cases transformation of this
  175|       |    one:
  176|       |
  177|       |    Py_complex r;
  178|       |    double d = b.real*b.real + b.imag*b.imag;
  179|       |    if (d == 0.)
  180|       |        errno = EDOM;
  181|       |    r.real = (a.real*b.real + a.imag*b.imag)/d;
  182|       |    r.imag = (a.imag*b.real - a.real*b.imag)/d;
  183|       |    return r;
  184|       |    ******************************************************************/
  185|       |
  186|       |    /* This algorithm is better, and is pretty obvious:  first divide the
  187|       |     * numerators and denominator by whichever of {b.real, b.imag} has
  188|       |     * larger magnitude.  The earliest reference I found was to CACM
  189|       |     * Algorithm 116 (Complex Division, Robert L. Smith, Stanford
  190|       |     * University).
  191|       |     */
  192|  3.77k|     Py_complex r;      /* the result */
  193|  3.77k|     const double abs_breal = b.real < 0 ? -b.real : b.real;
  ------------------
  |  Branch (193:31): [True: 123, False: 3.64k]
  ------------------
  194|  3.77k|     const double abs_bimag = b.imag < 0 ? -b.imag : b.imag;
  ------------------
  |  Branch (194:31): [True: 192, False: 3.58k]
  ------------------
  195|       |
  196|  3.77k|    if (abs_breal >= abs_bimag) {
  ------------------
  |  Branch (196:9): [True: 715, False: 3.05k]
  ------------------
  197|       |        /* divide tops and bottom by b.real */
  198|    715|        if (abs_breal == 0.0) {
  ------------------
  |  Branch (198:13): [True: 267, False: 448]
  ------------------
  199|    267|            errno = EDOM;
  200|    267|            r.real = r.imag = 0.0;
  201|    267|        }
  202|    448|        else {
  203|    448|            const double ratio = b.imag / b.real;
  204|    448|            const double denom = b.real + b.imag * ratio;
  205|    448|            r.real = (a.real + a.imag * ratio) / denom;
  206|    448|            r.imag = (a.imag - a.real * ratio) / denom;
  207|    448|        }
  208|    715|    }
  209|  3.05k|    else if (abs_bimag >= abs_breal) {
  ------------------
  |  Branch (209:14): [True: 2.88k, False: 172]
  ------------------
  210|       |        /* divide tops and bottom by b.imag */
  211|  2.88k|        const double ratio = b.real / b.imag;
  212|  2.88k|        const double denom = b.real * ratio + b.imag;
  213|  2.88k|        assert(b.imag != 0.0);
  ------------------
  |  Branch (213:9): [True: 2.88k, False: 0]
  ------------------
  214|  2.88k|        r.real = (a.real * ratio + a.imag) / denom;
  215|  2.88k|        r.imag = (a.imag * ratio - a.real) / denom;
  216|  2.88k|    }
  217|    172|    else {
  218|       |        /* At least one of b.real or b.imag is a NaN */
  219|    172|        r.real = r.imag = Py_NAN;
  ------------------
  |  |   79|    172|#    define Py_NAN      ((double)NAN)
  ------------------
  220|    172|    }
  221|       |
  222|       |    /* Recover infinities and zeros that computed as nan+nanj.  See e.g.
  223|       |       the C11, Annex G.5.2, routine _Cdivd(). */
  224|  3.77k|    if (isnan(r.real) && isnan(r.imag)) {
  ------------------
  |  Branch (224:9): [True: 2.52k, False: 1.24k]
  |  Branch (224:26): [True: 2.37k, False: 147]
  ------------------
  225|  2.37k|        if ((isinf(a.real) || isinf(a.imag))
  ------------------
  |  Branch (225:14): [True: 770, False: 1.60k]
  |  Branch (225:31): [True: 771, False: 836]
  ------------------
  226|  2.37k|            && isfinite(b.real) && isfinite(b.imag))
  ------------------
  |  Branch (226:16): [True: 1.45k, False: 83]
  |  Branch (226:36): [True: 855, False: 603]
  ------------------
  227|    855|        {
  228|    855|            const double x = copysign(isinf(a.real) ? 1.0 : 0.0, a.real);
  ------------------
  |  Branch (228:39): [True: 338, False: 517]
  ------------------
  229|    855|            const double y = copysign(isinf(a.imag) ? 1.0 : 0.0, a.imag);
  ------------------
  |  Branch (229:39): [True: 558, False: 297]
  ------------------
  230|    855|            r.real = INFINITY * (x*b.real + y*b.imag);
  231|    855|            r.imag = INFINITY * (y*b.real - x*b.imag);
  232|    855|        }
  233|  1.52k|        else if ((isinf(abs_breal) || isinf(abs_bimag))
  ------------------
  |  Branch (233:19): [True: 52, False: 1.47k]
  |  Branch (233:39): [True: 846, False: 624]
  ------------------
  234|  1.52k|                 && isfinite(a.real) && isfinite(a.imag))
  ------------------
  |  Branch (234:21): [True: 203, False: 695]
  |  Branch (234:41): [True: 50, False: 153]
  ------------------
  235|     50|        {
  236|     50|            const double x = copysign(isinf(b.real) ? 1.0 : 0.0, b.real);
  ------------------
  |  Branch (236:39): [True: 50, False: 0]
  ------------------
  237|     50|            const double y = copysign(isinf(b.imag) ? 1.0 : 0.0, b.imag);
  ------------------
  |  Branch (237:39): [True: 0, False: 50]
  ------------------
  238|     50|            r.real = 0.0 * (a.real*x + a.imag*y);
  239|     50|            r.imag = 0.0 * (a.imag*x - a.real*y);
  240|     50|        }
  241|  2.37k|    }
  242|       |
  243|  3.77k|    return r;
  244|  3.77k|}
_Py_cr_quot:
  248|  3.39k|{
  249|  3.39k|    Py_complex r = a;
  250|  3.39k|    if (b) {
  ------------------
  |  Branch (250:9): [True: 3.09k, False: 305]
  ------------------
  251|  3.09k|        r.real /= b;
  252|  3.09k|        r.imag /= b;
  253|  3.09k|    }
  254|    305|    else {
  255|    305|        errno = EDOM;
  256|    305|        r.real = r.imag = 0.0;
  257|    305|    }
  258|  3.39k|    return r;
  259|  3.39k|}
_Py_rc_quot:
  264|  5.64k|{
  265|  5.64k|    Py_complex r;
  266|  5.64k|    const double abs_breal = b.real < 0 ? -b.real : b.real;
  ------------------
  |  Branch (266:30): [True: 772, False: 4.87k]
  ------------------
  267|  5.64k|    const double abs_bimag = b.imag < 0 ? -b.imag : b.imag;
  ------------------
  |  Branch (267:30): [True: 696, False: 4.94k]
  ------------------
  268|       |
  269|  5.64k|    if (abs_breal >= abs_bimag) {
  ------------------
  |  Branch (269:9): [True: 2.07k, False: 3.57k]
  ------------------
  270|  2.07k|        if (abs_breal == 0.0) {
  ------------------
  |  Branch (270:13): [True: 888, False: 1.18k]
  ------------------
  271|    888|            errno = EDOM;
  272|    888|            r.real = r.imag = 0.0;
  273|    888|        }
  274|  1.18k|        else {
  275|  1.18k|            const double ratio = b.imag / b.real;
  276|  1.18k|            const double denom = b.real + b.imag * ratio;
  277|  1.18k|            r.real = a / denom;
  278|  1.18k|            r.imag = (-a * ratio) / denom;
  279|  1.18k|        }
  280|  2.07k|    }
  281|  3.57k|    else if (abs_bimag >= abs_breal) {
  ------------------
  |  Branch (281:14): [True: 2.29k, False: 1.28k]
  ------------------
  282|  2.29k|        const double ratio = b.real / b.imag;
  283|  2.29k|        const double denom = b.real * ratio + b.imag;
  284|  2.29k|        assert(b.imag != 0.0);
  ------------------
  |  Branch (284:9): [True: 2.29k, False: 0]
  ------------------
  285|  2.29k|        r.real = (a * ratio) / denom;
  286|  2.29k|        r.imag = (-a) / denom;
  287|  2.29k|    }
  288|  1.28k|    else {
  289|  1.28k|        r.real = r.imag = Py_NAN;
  ------------------
  |  |   79|  1.28k|#    define Py_NAN      ((double)NAN)
  ------------------
  290|  1.28k|    }
  291|       |
  292|  5.64k|    if (isnan(r.real) && isnan(r.imag) && isfinite(a)
  ------------------
  |  Branch (292:9): [True: 1.89k, False: 3.74k]
  |  Branch (292:26): [True: 1.33k, False: 565]
  |  Branch (292:43): [True: 1.28k, False: 49]
  ------------------
  293|  1.28k|        && (isinf(abs_breal) || isinf(abs_bimag)))
  ------------------
  |  Branch (293:13): [True: 539, False: 743]
  |  Branch (293:33): [True: 675, False: 68]
  ------------------
  294|  1.21k|    {
  295|  1.21k|        const double x = copysign(isinf(b.real) ? 1.0 : 0.0, b.real);
  ------------------
  |  Branch (295:35): [True: 539, False: 675]
  ------------------
  296|  1.21k|        const double y = copysign(isinf(b.imag) ? 1.0 : 0.0, b.imag);
  ------------------
  |  Branch (296:35): [True: 675, False: 539]
  ------------------
  297|  1.21k|        r.real = 0.0 * (a*x);
  298|  1.21k|        r.imag = 0.0 * (-a*y);
  299|  1.21k|    }
  300|       |
  301|  5.64k|    return r;
  302|  5.64k|}
_Py_c_pow:
  309|  8.40k|{
  310|  8.40k|    Py_complex r;
  311|  8.40k|    double vabs,len,at,phase;
  312|  8.40k|    if (b.real == 0. && b.imag == 0.) {
  ------------------
  |  Branch (312:9): [True: 2.53k, False: 5.86k]
  |  Branch (312:25): [True: 0, False: 2.53k]
  ------------------
  313|      0|        r.real = 1.;
  314|      0|        r.imag = 0.;
  315|      0|    }
  316|  8.40k|    else if (a.real == 0. && a.imag == 0.) {
  ------------------
  |  Branch (316:14): [True: 4.80k, False: 3.59k]
  |  Branch (316:30): [True: 498, False: 4.30k]
  ------------------
  317|    498|        if (b.imag != 0. || b.real < 0.)
  ------------------
  |  Branch (317:13): [True: 37, False: 461]
  |  Branch (317:29): [True: 307, False: 154]
  ------------------
  318|    498|            errno = EDOM;
  319|    498|        r.real = 0.;
  320|    498|        r.imag = 0.;
  321|    498|    }
  322|  7.90k|    else {
  323|  7.90k|        vabs = hypot(a.real,a.imag);
  324|  7.90k|        len = pow(vabs,b.real);
  325|  7.90k|        at = atan2(a.imag, a.real);
  326|  7.90k|        phase = at*b.real;
  327|  7.90k|        if (b.imag != 0.0) {
  ------------------
  |  Branch (327:13): [True: 5.39k, False: 2.51k]
  ------------------
  328|  5.39k|            len *= exp(-at*b.imag);
  329|  5.39k|            phase += b.imag*log(vabs);
  330|  5.39k|        }
  331|  7.90k|        r.real = len*cos(phase);
  332|  7.90k|        r.imag = len*sin(phase);
  333|       |
  334|       |        /* Don't rely on errno set by the math functions above, for
  335|       |           example cos() and sin() set EDOM for an infinite phase. */
  336|  7.90k|        errno = 0;
  337|  7.90k|        if (isfinite(a.real) && isfinite(a.imag)
  ------------------
  |  Branch (337:13): [True: 7.78k, False: 116]
  |  Branch (337:33): [True: 7.51k, False: 269]
  ------------------
  338|  7.90k|            && isfinite(b.real) && isfinite(b.imag))
  ------------------
  |  Branch (338:16): [True: 6.16k, False: 1.35k]
  |  Branch (338:36): [True: 5.93k, False: 230]
  ------------------
  339|  5.93k|        {
  340|  5.93k|            _Py_ADJUST_ERANGE2(r.real, r.imag);
  341|  5.93k|        }
  342|  7.90k|    }
  343|  8.40k|    return r;
  344|  8.40k|}
PyComplex_FromCComplex:
  426|   161k|{
  427|   161k|    PyComplexObject *op = _Py_FREELIST_POP(PyComplexObject, complexes);
  ------------------
  |  |   43|   161k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|   161k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  428|       |
  429|   161k|    if (op == NULL) {
  ------------------
  |  Branch (429:9): [True: 77.3k, False: 84.3k]
  ------------------
  430|       |        /* Inline PyObject_New */
  431|  77.3k|        op = PyObject_Malloc(sizeof(PyComplexObject));
  432|  77.3k|        if (op == NULL) {
  ------------------
  |  Branch (432:13): [True: 0, False: 77.3k]
  ------------------
  433|      0|            return PyErr_NoMemory();
  434|      0|        }
  435|  77.3k|        _PyObject_Init((PyObject*)op, &PyComplex_Type);
  436|  77.3k|    }
  437|   161k|    op->cval = cval;
  438|   161k|    return (PyObject *) op;
  439|   161k|}
PyComplex_AsCComplex:
  553|   533k|{
  554|   533k|    Py_complex cv;
  555|   533k|    PyObject *newop = NULL;
  556|       |
  557|   533k|    assert(op);
  ------------------
  |  Branch (557:5): [True: 533k, False: 0]
  ------------------
  558|       |    /* If op is already of type PyComplex_Type, return its value */
  559|   533k|    if (PyComplex_Check(op)) {
  ------------------
  |  |   13|   533k|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  378|   533k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   533k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   533k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 533k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  560|   533k|        return ((PyComplexObject *)op)->cval;
  561|   533k|    }
  562|       |    /* If not, use op's __complex__  method, if it exists */
  563|       |
  564|       |    /* return -1 on failure */
  565|      0|    cv.real = -1.;
  566|      0|    cv.imag = 0.;
  567|       |
  568|      0|    newop = try_complex_special_method(op);
  569|       |
  570|      0|    if (newop) {
  ------------------
  |  Branch (570:9): [True: 0, False: 0]
  ------------------
  571|      0|        cv = ((PyComplexObject *)newop)->cval;
  572|      0|        Py_DECREF(newop);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|      0|        return cv;
  574|      0|    }
  575|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (575:14): [True: 0, False: 0]
  ------------------
  576|      0|        return cv;
  577|      0|    }
  578|       |    /* If neither of the above works, interpret op as a float giving the
  579|       |       real part of the result, and fill in the imaginary part as 0. */
  580|      0|    else {
  581|       |        /* PyFloat_AsDouble will return -1 on failure */
  582|      0|        cv.real = PyFloat_AsDouble(op);
  583|      0|        return cv;
  584|      0|    }
  585|      0|}
complexobject.c:complex_dealloc:
  443|   161k|{
  444|   161k|    assert(PyComplex_Check(op));
  ------------------
  |  Branch (444:5): [True: 161k, False: 0]
  ------------------
  445|   161k|    if (PyComplex_CheckExact(op)) {
  ------------------
  |  |   14|   161k|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|   161k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   161k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   161k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 161k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  446|   161k|        _Py_FREELIST_FREE(complexes, op, PyObject_Free);
  ------------------
  |  |   35|   161k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|   161k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   161k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|   161k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   19|   161k|#  define Py_complexes_MAXFREELIST 100
  |  |  ------------------
  ------------------
  447|   161k|    }
  448|      0|    else {
  449|      0|        Py_TYPE(op)->tp_free(op);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  450|      0|    }
  451|   161k|}
complexobject.c:complex_repr:
  589|  17.8k|{
  590|  17.8k|    int precision = 0;
  591|  17.8k|    char format_code = 'r';
  592|  17.8k|    PyObject *result = NULL;
  593|  17.8k|    PyComplexObject *v = _PyComplexObject_CAST(op);
  ------------------
  |  |   17|  17.8k|#define _PyComplexObject_CAST(op)   ((PyComplexObject *)(op))
  ------------------
  594|       |
  595|       |    /* If these are non-NULL, they'll need to be freed. */
  596|  17.8k|    char *pre = NULL;
  597|  17.8k|    char *im = NULL;
  598|       |
  599|       |    /* These do not need to be freed. re is either an alias
  600|       |       for pre or a pointer to a constant.  lead and tail
  601|       |       are pointers to constants. */
  602|  17.8k|    const char *re = NULL;
  603|  17.8k|    const char *lead = "";
  604|  17.8k|    const char *tail = "";
  605|       |
  606|  17.8k|    if (v->cval.real == 0. && copysign(1.0, v->cval.real)==1.0) {
  ------------------
  |  Branch (606:9): [True: 17.8k, False: 0]
  |  Branch (606:31): [True: 17.8k, False: 0]
  ------------------
  607|       |        /* Real part is +0: just output the imaginary part and do not
  608|       |           include parens. */
  609|  17.8k|        re = "";
  610|  17.8k|        im = PyOS_double_to_string(v->cval.imag, format_code,
  611|  17.8k|                                   precision, 0, NULL);
  612|  17.8k|        if (!im) {
  ------------------
  |  Branch (612:13): [True: 0, False: 17.8k]
  ------------------
  613|      0|            PyErr_NoMemory();
  614|      0|            goto done;
  615|      0|        }
  616|  17.8k|    } else {
  617|       |        /* Format imaginary part with sign, real part without. Include
  618|       |           parens in the result. */
  619|      0|        pre = PyOS_double_to_string(v->cval.real, format_code,
  620|      0|                                    precision, 0, NULL);
  621|      0|        if (!pre) {
  ------------------
  |  Branch (621:13): [True: 0, False: 0]
  ------------------
  622|      0|            PyErr_NoMemory();
  623|      0|            goto done;
  624|      0|        }
  625|      0|        re = pre;
  626|       |
  627|      0|        im = PyOS_double_to_string(v->cval.imag, format_code,
  628|      0|                                   precision, Py_DTSF_SIGN, NULL);
  ------------------
  |  |   22|      0|#define Py_DTSF_SIGN      0x01 /* always add the sign */
  ------------------
  629|      0|        if (!im) {
  ------------------
  |  Branch (629:13): [True: 0, False: 0]
  ------------------
  630|      0|            PyErr_NoMemory();
  631|      0|            goto done;
  632|      0|        }
  633|      0|        lead = "(";
  634|      0|        tail = ")";
  635|      0|    }
  636|  17.8k|    result = PyUnicode_FromFormat("%s%s%sj%s", lead, re, im, tail);
  637|  17.8k|  done:
  638|  17.8k|    PyMem_Free(im);
  639|  17.8k|    PyMem_Free(pre);
  640|       |
  641|  17.8k|    return result;
  642|  17.8k|}
complexobject.c:real_to_double:
  676|  86.4k|{
  677|  86.4k|    PyObject *obj = *pobj;
  678|       |
  679|  86.4k|    if (PyFloat_Check(obj)) {
  ------------------
  |  |   16|  86.4k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|  86.4k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  86.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  86.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 12.8k, False: 73.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  680|  12.8k|        *dbl = PyFloat_AS_DOUBLE(obj);
  ------------------
  |  |   18|  12.8k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  681|  12.8k|    }
  682|  73.6k|    else if (_Py_convert_int_to_double(pobj, dbl) < 0) {
  ------------------
  |  Branch (682:14): [True: 4.29k, False: 69.3k]
  ------------------
  683|  4.29k|        return -1;
  684|  4.29k|    }
  685|  82.1k|    return 0;
  686|  86.4k|}
complexobject.c:_Py_rc_sum:
   48|  2.88k|{
   49|  2.88k|    return _Py_cr_sum(b, a);
   50|  2.88k|}
complexobject.c:_Py_rc_prod:
  159|  2.94k|{
  160|  2.94k|    return _Py_cr_prod(b, a);
  161|  2.94k|}
complexobject.c:complex_pow:
  755|  16.9k|{
  756|  16.9k|    Py_complex p;
  757|  16.9k|    Py_complex a, b;
  758|  16.9k|    TO_COMPLEX(v, a);
  ------------------
  |  |  669|  16.9k|    if (PyComplex_Check(obj))                   \
  |  |  ------------------
  |  |  |  |   13|  16.9k|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  16.9k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  16.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  16.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 12.2k, False: 4.68k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  670|  16.9k|        c = ((PyComplexObject *)(obj))->cval;   \
  |  |  671|  16.9k|    else if (real_to_complex(&(obj), &(c)) < 0) \
  |  |  ------------------
  |  |  |  Branch (671:14): [True: 193, False: 4.49k]
  |  |  ------------------
  |  |  672|  4.68k|        return (obj)
  ------------------
  759|  16.7k|    TO_COMPLEX(w, b);
  ------------------
  |  |  669|  16.7k|    if (PyComplex_Check(obj))                   \
  |  |  ------------------
  |  |  |  |   13|  16.7k|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  16.7k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  16.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  16.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 8.04k, False: 8.72k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  670|  16.7k|        c = ((PyComplexObject *)(obj))->cval;   \
  |  |  671|  16.7k|    else if (real_to_complex(&(obj), &(c)) < 0) \
  |  |  ------------------
  |  |  |  Branch (671:14): [True: 678, False: 8.04k]
  |  |  ------------------
  |  |  672|  8.72k|        return (obj)
  ------------------
  760|       |
  761|  16.0k|    if (z != Py_None) {
  ------------------
  |  |  616|  16.0k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (761:9): [True: 0, False: 16.0k]
  ------------------
  762|      0|        PyErr_SetString(PyExc_ValueError, "complex modulo");
  763|      0|        return NULL;
  764|      0|    }
  765|  16.0k|    errno = 0;
  766|       |    // Check whether the exponent has a small integer value, and if so use
  767|       |    // a faster and more accurate algorithm.
  768|  16.0k|    if (b.imag == 0.0 && b.real == floor(b.real)
  ------------------
  |  Branch (768:9): [True: 10.6k, False: 5.43k]
  |  Branch (768:26): [True: 9.52k, False: 1.13k]
  ------------------
  769|  9.52k|        && fabs(b.real) <= INT_EXP_CUTOFF)
  ------------------
  |  |  346|  9.52k|#define INT_EXP_CUTOFF 100
  ------------------
  |  Branch (769:12): [True: 7.69k, False: 1.83k]
  ------------------
  770|  7.69k|    {
  771|  7.69k|        p = c_powi(a, (long)b.real);
  772|  7.69k|        if (isfinite(a.real) && isfinite(a.imag)) {
  ------------------
  |  Branch (772:13): [True: 7.46k, False: 229]
  |  Branch (772:33): [True: 6.09k, False: 1.36k]
  ------------------
  773|  6.09k|            _Py_ADJUST_ERANGE2(p.real, p.imag);
  774|  6.09k|        }
  775|  7.69k|    }
  776|  8.40k|    else {
  777|  8.40k|        p = _Py_c_pow(a, b);
  778|  8.40k|    }
  779|       |
  780|  16.0k|    if (errno == EDOM) {
  ------------------
  |  Branch (780:9): [True: 1.00k, False: 15.0k]
  ------------------
  781|  1.00k|        PyErr_SetString(PyExc_ZeroDivisionError,
  782|  1.00k|                        "zero to a negative or complex power");
  783|  1.00k|        return NULL;
  784|  1.00k|    }
  785|  15.0k|    else if (errno == ERANGE) {
  ------------------
  |  Branch (785:14): [True: 1.19k, False: 13.8k]
  ------------------
  786|  1.19k|        PyErr_SetString(PyExc_OverflowError,
  787|  1.19k|                        "complex exponentiation");
  788|  1.19k|        return NULL;
  789|  1.19k|    }
  790|  13.8k|    return PyComplex_FromCComplex(p);
  791|  16.0k|}
complexobject.c:real_to_complex:
  690|  13.4k|{
  691|  13.4k|    pc->imag = 0.0;
  692|  13.4k|    return real_to_double(pobj, &(pc->real));
  693|  13.4k|}
complexobject.c:c_powi:
  370|  7.69k|{
  371|  7.69k|    if (n > 0)
  ------------------
  |  Branch (371:9): [True: 4.30k, False: 3.38k]
  ------------------
  372|  4.30k|        return c_powu(x, n);
  373|  3.38k|    else if (n < 0)
  ------------------
  |  Branch (373:14): [True: 2.86k, False: 514]
  ------------------
  374|  2.86k|        return _Py_rc_quot(1.0, c_powu(x, -n));
  375|    514|    else
  376|    514|        return (Py_complex){1., 0.};
  377|  7.69k|}
complexobject.c:c_powu:
  350|  7.17k|{
  351|  7.17k|    assert(0 < n && n <= INT_EXP_CUTOFF);
  ------------------
  |  Branch (351:5): [True: 7.17k, False: 0]
  |  Branch (351:5): [True: 7.17k, False: 0]
  ------------------
  352|  12.9k|    while ((n & 1) == 0) {
  ------------------
  |  Branch (352:12): [True: 5.77k, False: 7.17k]
  ------------------
  353|  5.77k|        x = _Py_c_prod(x, x);
  354|  5.77k|        n >>= 1;
  355|  5.77k|    }
  356|  7.17k|    Py_complex r = x;
  357|  7.17k|    n >>= 1;
  358|  19.4k|    while (n) {
  ------------------
  |  Branch (358:12): [True: 12.2k, False: 7.17k]
  ------------------
  359|  12.2k|        x = _Py_c_prod(x, x);
  360|  12.2k|        if (n & 1) {
  ------------------
  |  Branch (360:13): [True: 7.32k, False: 4.92k]
  ------------------
  361|  7.32k|            r = _Py_c_prod(r, x);
  362|  7.32k|        }
  363|  12.2k|        n >>= 1;
  364|  12.2k|    }
  365|  7.17k|    return r;
  366|  7.17k|}
complexobject.c:complex_neg:
  795|  8.15k|{
  796|  8.15k|    PyComplexObject *v = _PyComplexObject_CAST(op);
  ------------------
  |  |   17|  8.15k|#define _PyComplexObject_CAST(op)   ((PyComplexObject *)(op))
  ------------------
  797|  8.15k|    Py_complex neg;
  798|  8.15k|    neg.real = -v->cval.real;
  799|  8.15k|    neg.imag = -v->cval.imag;
  800|  8.15k|    return PyComplex_FromCComplex(neg);
  801|  8.15k|}
complexobject.c:complex_pos:
  805|  2.02k|{
  806|  2.02k|    PyComplexObject *v = _PyComplexObject_CAST(op);
  ------------------
  |  |   17|  2.02k|#define _PyComplexObject_CAST(op)   ((PyComplexObject *)(op))
  ------------------
  807|  2.02k|    if (PyComplex_CheckExact(v)) {
  ------------------
  |  |   14|  2.02k|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|  2.02k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.02k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  808|  2.02k|        return Py_NewRef(v);
  ------------------
  |  |  647|  2.02k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  809|  2.02k|    }
  810|      0|    return PyComplex_FromCComplex(v->cval);
  811|  2.02k|}
complexobject.c:complex_bool:
  831|     54|{
  832|     54|    PyComplexObject *v = _PyComplexObject_CAST(op);
  ------------------
  |  |   17|     54|#define _PyComplexObject_CAST(op)   ((PyComplexObject *)(op))
  ------------------
  833|     54|    return v->cval.real != 0.0 || v->cval.imag != 0.0;
  ------------------
  |  Branch (833:12): [True: 0, False: 54]
  |  Branch (833:35): [True: 22, False: 32]
  ------------------
  834|     54|}
complexobject.c:complex_hash:
  646|   882k|{
  647|   882k|    Py_uhash_t hashreal, hashimag, combined;
  648|   882k|    PyComplexObject *v = _PyComplexObject_CAST(op);
  ------------------
  |  |   17|   882k|#define _PyComplexObject_CAST(op)   ((PyComplexObject *)(op))
  ------------------
  649|   882k|    hashreal = (Py_uhash_t)_Py_HashDouble(op, v->cval.real);
  650|   882k|    if (hashreal == (Py_uhash_t)-1)
  ------------------
  |  Branch (650:9): [True: 0, False: 882k]
  ------------------
  651|      0|        return -1;
  652|   882k|    hashimag = (Py_uhash_t)_Py_HashDouble(op, v->cval.imag);
  653|   882k|    if (hashimag == (Py_uhash_t)-1)
  ------------------
  |  Branch (653:9): [True: 0, False: 882k]
  ------------------
  654|      0|        return -1;
  655|       |    /* Note:  if the imaginary part is 0, hashimag is 0 now,
  656|       |     * so the following returns hashreal unchanged.  This is
  657|       |     * important because numbers of different types that
  658|       |     * compare equal must have the same hash value, so that
  659|       |     * hash(x + 0*j) must equal hash(x).
  660|       |     */
  661|   882k|    combined = hashreal + PyHASH_IMAG * hashimag;
  ------------------
  |  |   20|   882k|#define PyHASH_IMAG PyHASH_MULTIPLIER
  |  |  ------------------
  |  |  |  |    6|   882k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  ------------------
  662|   882k|    if (combined == (Py_uhash_t)-1)
  ------------------
  |  Branch (662:9): [True: 0, False: 882k]
  ------------------
  663|      0|        combined = (Py_uhash_t)-2;
  664|   882k|    return (Py_hash_t)combined;
  665|   882k|}
complexobject.c:complex_richcompare:
  838|  84.5k|{
  839|  84.5k|    PyObject *res;
  840|  84.5k|    Py_complex i;
  841|  84.5k|    int equal;
  842|       |
  843|  84.5k|    if (op != Py_EQ && op != Py_NE) {
  ------------------
  |  |  654|   169k|#define Py_EQ 2
  ------------------
                  if (op != Py_EQ && op != Py_NE) {
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (843:9): [True: 0, False: 84.5k]
  |  Branch (843:24): [True: 0, False: 0]
  ------------------
  844|      0|        goto Unimplemented;
  845|      0|    }
  846|       |
  847|  84.5k|    assert(PyComplex_Check(v));
  ------------------
  |  Branch (847:5): [True: 84.5k, False: 0]
  ------------------
  848|  84.5k|    TO_COMPLEX(v, i);
  ------------------
  |  |  669|  84.5k|    if (PyComplex_Check(obj))                   \
  |  |  ------------------
  |  |  |  |   13|  84.5k|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  84.5k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  84.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  84.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 84.5k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  670|  84.5k|        c = ((PyComplexObject *)(obj))->cval;   \
  |  |  671|  84.5k|    else if (real_to_complex(&(obj), &(c)) < 0) \
  |  |  ------------------
  |  |  |  Branch (671:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  672|      0|        return (obj)
  ------------------
  849|       |
  850|  84.5k|    if (PyLong_Check(w)) {
  ------------------
  |  |   13|  84.5k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  84.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 396, False: 84.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  851|       |        /* Check for 0.0 imaginary part first to avoid the rich
  852|       |         * comparison when possible.
  853|       |         */
  854|    396|        if (i.imag == 0.0) {
  ------------------
  |  Branch (854:13): [True: 396, False: 0]
  ------------------
  855|    396|            PyObject *j, *sub_res;
  856|    396|            j = PyFloat_FromDouble(i.real);
  857|    396|            if (j == NULL)
  ------------------
  |  Branch (857:17): [True: 0, False: 396]
  ------------------
  858|      0|                return NULL;
  859|       |
  860|    396|            sub_res = PyObject_RichCompare(j, w, op);
  861|    396|            Py_DECREF(j);
  ------------------
  |  |  430|    396|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  862|    396|            return sub_res;
  863|    396|        }
  864|      0|        else {
  865|      0|            equal = 0;
  866|      0|        }
  867|    396|    }
  868|  84.1k|    else if (PyFloat_Check(w)) {
  ------------------
  |  |   16|  84.1k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|  84.1k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  84.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  84.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 113, False: 84.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  869|    113|        equal = (i.real == PyFloat_AsDouble(w) && i.imag == 0.0);
  ------------------
  |  Branch (869:18): [True: 29, False: 84]
  |  Branch (869:51): [True: 29, False: 0]
  ------------------
  870|    113|    }
  871|  84.0k|    else if (PyComplex_Check(w)) {
  ------------------
  |  |   13|  84.0k|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  378|  84.0k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  84.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  84.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 84.0k, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  872|  84.0k|        Py_complex j;
  873|       |
  874|  84.0k|        TO_COMPLEX(w, j);
  ------------------
  |  |  669|  84.0k|    if (PyComplex_Check(obj))                   \
  |  |  ------------------
  |  |  |  |   13|  84.0k|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  84.0k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  84.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  84.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 84.0k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  670|  84.0k|        c = ((PyComplexObject *)(obj))->cval;   \
  |  |  671|  84.0k|    else if (real_to_complex(&(obj), &(c)) < 0) \
  |  |  ------------------
  |  |  |  Branch (671:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  672|      0|        return (obj)
  ------------------
  875|  84.0k|        equal = (i.real == j.real && i.imag == j.imag);
  ------------------
  |  Branch (875:18): [True: 83.6k, False: 351]
  |  Branch (875:38): [True: 83.1k, False: 541]
  ------------------
  876|  84.0k|    }
  877|      2|    else {
  878|      2|        goto Unimplemented;
  879|      2|    }
  880|       |
  881|  84.1k|    if (equal == (op == Py_EQ))
  ------------------
  |  |  654|  84.1k|#define Py_EQ 2
  ------------------
  |  Branch (881:9): [True: 83.1k, False: 976]
  ------------------
  882|  83.1k|         res = Py_True;
  ------------------
  |  |   26|  83.1k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  83.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  83.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  883|    976|    else
  884|    976|         res = Py_False;
  ------------------
  |  |   25|    976|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|    976|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    976|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  885|       |
  886|  84.1k|    return Py_NewRef(res);
  ------------------
  |  |  647|  84.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  84.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  84.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  887|       |
  888|      2|Unimplemented:
  889|      2|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      2|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      2|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  890|  84.5k|}

PyDescr_NewMethod:
  938|  1.66k|{
  939|       |    /* Figure out correct vectorcall function to use */
  940|  1.66k|    vectorcallfunc vectorcall;
  941|  1.66k|    switch (method->ml_flags & _Py_METH_CALL_FLAGS)
  ------------------
  |  |   17|  1.66k|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   95|  1.66k|#define METH_VARARGS  0x0001
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |  115|  1.66k|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   98|  1.66k|#define METH_NOARGS   0x0004
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   99|  1.66k|#define METH_O        0x0008
  |  |  ------------------
  |  |   18|  1.66k|     METH_KEYWORDS | METH_METHOD)
  |  |  ------------------
  |  |  |  |   96|  1.66k|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  ------------------
  |  |  |  |  133|  1.66k|#define METH_METHOD 0x0200
  |  |  ------------------
  ------------------
  942|  1.66k|    {
  943|      2|        case METH_VARARGS:
  ------------------
  |  |   95|      2|#define METH_VARARGS  0x0001
  ------------------
  |  Branch (943:9): [True: 2, False: 1.66k]
  ------------------
  944|      2|            vectorcall = method_vectorcall_VARARGS;
  945|      2|            break;
  946|     44|        case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   95|     44|#define METH_VARARGS  0x0001
  ------------------
                      case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   96|     44|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (946:9): [True: 44, False: 1.61k]
  ------------------
  947|     44|            vectorcall = method_vectorcall_VARARGS_KEYWORDS;
  948|     44|            break;
  949|    258|        case METH_FASTCALL:
  ------------------
  |  |  115|    258|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (949:9): [True: 258, False: 1.40k]
  ------------------
  950|    258|            vectorcall = method_vectorcall_FASTCALL;
  951|    258|            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.54k]
  ------------------
  953|    118|            vectorcall = method_vectorcall_FASTCALL_KEYWORDS;
  954|    118|            break;
  955|    846|        case METH_NOARGS:
  ------------------
  |  |   98|    846|#define METH_NOARGS   0x0004
  ------------------
  |  Branch (955:9): [True: 846, False: 816]
  ------------------
  956|    846|            vectorcall = method_vectorcall_NOARGS;
  957|    846|            break;
  958|    320|        case METH_O:
  ------------------
  |  |   99|    320|#define METH_O        0x0008
  ------------------
  |  Branch (958:9): [True: 320, False: 1.34k]
  ------------------
  959|    320|            vectorcall = method_vectorcall_O;
  960|    320|            break;
  961|     74|        case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  133|     74|#define METH_METHOD 0x0200
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|     74|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|     74|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (961:9): [True: 74, False: 1.58k]
  ------------------
  962|     74|            vectorcall = method_vectorcall_FASTCALL_KEYWORDS_METHOD;
  963|     74|            break;
  964|      0|        default:
  ------------------
  |  Branch (964:9): [True: 0, False: 1.66k]
  ------------------
  965|      0|            PyErr_Format(PyExc_SystemError,
  966|      0|                         "%s() method: bad call flags", method->ml_name);
  967|      0|            return NULL;
  968|  1.66k|    }
  969|       |
  970|  1.66k|    PyMethodDescrObject *descr;
  971|       |
  972|  1.66k|    descr = (PyMethodDescrObject *)descr_new(&PyMethodDescr_Type,
  973|  1.66k|                                             type, method->ml_name);
  974|  1.66k|    if (descr != NULL) {
  ------------------
  |  Branch (974:9): [True: 1.66k, False: 0]
  ------------------
  975|  1.66k|        descr->d_method = method;
  976|  1.66k|        descr->vectorcall = vectorcall;
  977|  1.66k|    }
  978|  1.66k|    return (PyObject *)descr;
  979|  1.66k|}
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|    705|{
  996|    705|    PyMemberDescrObject *descr;
  997|       |
  998|    705|    if (member->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    705|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (998:9): [True: 0, False: 705]
  ------------------
  999|      0|        PyErr_SetString(
 1000|      0|            PyExc_SystemError,
 1001|      0|            "PyDescr_NewMember used with Py_RELATIVE_OFFSET");
 1002|      0|        return NULL;
 1003|      0|    }
 1004|    705|    descr = (PyMemberDescrObject *)descr_new(&PyMemberDescr_Type,
 1005|    705|                                             type, member->name);
 1006|    705|    if (descr != NULL)
  ------------------
  |  Branch (1006:9): [True: 705, False: 0]
  ------------------
 1007|    705|        descr->d_member = member;
 1008|    705|    return (PyObject *)descr;
 1009|    705|}
PyDescr_NewGetSet:
 1013|    465|{
 1014|    465|    PyGetSetDescrObject *descr;
 1015|       |
 1016|    465|    descr = (PyGetSetDescrObject *)descr_new(&PyGetSetDescr_Type,
 1017|    465|                                             type, getset->name);
 1018|    465|    if (descr != NULL)
  ------------------
  |  Branch (1018:9): [True: 465, False: 0]
  ------------------
 1019|    465|        descr->d_getset = getset;
 1020|    465|    return (PyObject *)descr;
 1021|    465|}
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|  1.49M|{
 1040|  1.49M|    return Py_TYPE(ob)->tp_descr_set != NULL;
  ------------------
  |  |  213|  1.49M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1041|  1.49M|}
PyDictProxy_New:
 1288|    387|{
 1289|    387|    mappingproxyobject *pp;
 1290|       |
 1291|    387|    if (mappingproxy_check_mapping(mapping) == -1)
  ------------------
  |  Branch (1291:9): [True: 0, False: 387]
  ------------------
 1292|      0|        return NULL;
 1293|       |
 1294|    387|    pp = PyObject_GC_New(mappingproxyobject, &PyDictProxy_Type);
  ------------------
  |  |  181|    387|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    387|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1295|    387|    if (pp != NULL) {
  ------------------
  |  Branch (1295:9): [True: 387, False: 0]
  ------------------
 1296|    387|        pp->mapping = Py_NewRef(mapping);
  ------------------
  |  |  647|    387|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    387|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    387|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1297|    387|        _PyObject_GC_TRACK(pp);
  ------------------
  |  |  502|    387|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    387|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    387|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1298|    387|    }
 1299|    387|    return (PyObject *)pp;
 1300|    387|}
PyWrapper_New:
 1512|    103|{
 1513|    103|    wrapperobject *wp;
 1514|    103|    PyWrapperDescrObject *descr;
 1515|       |
 1516|    103|    assert(PyObject_TypeCheck(d, &PyWrapperDescr_Type));
  ------------------
  |  Branch (1516:5): [True: 103, False: 0]
  ------------------
 1517|    103|    descr = (PyWrapperDescrObject *)d;
 1518|    103|    assert(_PyObject_RealIsSubclass((PyObject *)Py_TYPE(self),
  ------------------
  |  Branch (1518:5): [True: 103, False: 0]
  ------------------
 1519|    103|                                    (PyObject *)PyDescr_TYPE(descr)));
 1520|       |
 1521|    103|    wp = PyObject_GC_New(wrapperobject, &_PyMethodWrapper_Type);
  ------------------
  |  |  181|    103|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1522|    103|    if (wp != NULL) {
  ------------------
  |  Branch (1522:9): [True: 103, False: 0]
  ------------------
 1523|    103|        wp->descr = (PyWrapperDescrObject*)Py_NewRef(descr);
  ------------------
  |  |  647|    103|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1524|    103|        wp->self = Py_NewRef(self);
  ------------------
  |  |  647|    103|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1525|    103|        _PyObject_GC_TRACK(wp);
  ------------------
  |  |  502|    103|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1526|    103|    }
 1527|    103|    return (PyObject *)wp;
 1528|    103|}
descrobject.c:descr_dealloc:
   26|     79|{
   27|     79|    PyDescrObject *descr = (PyDescrObject *)self;
   28|     79|    _PyObject_GC_UNTRACK(descr);
  ------------------
  |  |  504|     79|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   29|     79|    Py_XDECREF(descr->d_type);
  ------------------
  |  |  621|     79|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   30|     79|    Py_XDECREF(descr->d_name);
  ------------------
  |  |  621|     79|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   31|     79|    Py_XDECREF(descr->d_qualname);
  ------------------
  |  |  621|     79|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|     79|    PyObject_GC_Del(descr);
   33|     79|}
descrobject.c:descr_traverse:
  721|  58.6k|{
  722|  58.6k|    PyDescrObject *descr = (PyDescrObject *)self;
  723|  58.6k|    Py_VISIT(descr->d_type);
  ------------------
  |  |  194|  58.6k|    do {                                                                \
  |  |  195|  58.6k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 58.6k, False: 0]
  |  |  ------------------
  |  |  196|  58.6k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  58.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  58.6k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 58.6k]
  |  |  ------------------
  |  |  198|  58.6k|                return vret;                                            \
  |  |  199|  58.6k|        }                                                               \
  |  |  200|  58.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 58.6k]
  |  |  ------------------
  ------------------
  724|  58.6k|    return 0;
  725|  58.6k|}
descrobject.c:method_get:
  141|  1.43M|{
  142|  1.43M|    PyMethodDescrObject *descr = (PyMethodDescrObject *)self;
  143|  1.43M|    if (obj == NULL) {
  ------------------
  |  Branch (143:9): [True: 138, False: 1.43M]
  ------------------
  144|    138|        return Py_NewRef(descr);
  ------------------
  |  |  647|    138|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    138|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|    138|    }
  146|  1.43M|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (146:9): [True: 0, False: 1.43M]
  ------------------
  147|      0|        return NULL;
  148|      0|    }
  149|  1.43M|    if (descr->d_method->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  1.43M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (149:9): [True: 108, False: 1.43M]
  ------------------
  150|    108|        if (type == NULL || PyType_Check(type)) {
  ------------------
  |  |  766|    108|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 108, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (150:13): [True: 0, False: 108]
  ------------------
  151|    108|            return PyCMethod_New(descr->d_method, obj, NULL, descr->d_common.d_type);
  152|    108|        } 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|  1.43M|    } else {
  160|       |        return PyCFunction_NewEx(descr->d_method, obj, NULL);
  ------------------
  |  |   87|  1.43M|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  161|  1.43M|    }
  162|  1.43M|}
descrobject.c:descr_check:
   83|  1.66M|{
   84|  1.66M|    if (!PyObject_TypeCheck(obj, descr->d_type)) {
  ------------------
  |  |  378|  1.66M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (84:9): [True: 0, False: 1.66M]
  ------------------
   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|  1.66M|    return 0;
   94|  1.66M|}
descrobject.c:classmethod_get:
   98|  1.85k|{
   99|  1.85k|    PyMethodDescrObject *descr = (PyMethodDescrObject *)self;
  100|       |    /* Ensure a valid type.  Class methods ignore obj. */
  101|  1.85k|    if (type == NULL) {
  ------------------
  |  Branch (101:9): [True: 0, False: 1.85k]
  ------------------
  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.85k|    if (!PyType_Check(type)) {
  ------------------
  |  |  766|  1.85k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (114:9): [True: 0, False: 1.85k]
  ------------------
  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.85k|    if (!PyType_IsSubtype((PyTypeObject *)type, PyDescr_TYPE(descr))) {
  ------------------
  |  |   35|  1.85k|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  |  Branch (123:9): [True: 0, False: 1.85k]
  ------------------
  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.85k|    PyTypeObject *cls = NULL;
  133|  1.85k|    if (descr->d_method->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  1.85k|#define METH_METHOD 0x0200
  ------------------
  |  Branch (133:9): [True: 0, False: 1.85k]
  ------------------
  134|      0|        cls = descr->d_common.d_type;
  135|      0|    }
  136|       |    return PyCMethod_New(descr->d_method, type, NULL, cls);
  137|  1.85k|}
descrobject.c:member_get:
  166|  2.48k|{
  167|  2.48k|    PyMemberDescrObject *descr = (PyMemberDescrObject *)self;
  168|  2.48k|    if (obj == NULL) {
  ------------------
  |  Branch (168:9): [True: 0, False: 2.48k]
  ------------------
  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|  2.48k|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (171:9): [True: 0, False: 2.48k]
  ------------------
  172|      0|        return NULL;
  173|      0|    }
  174|       |
  175|  2.48k|    if (descr->d_member->flags & Py_AUDIT_READ) {
  ------------------
  |  |   84|  2.48k|#define Py_AUDIT_READ          (1 << 1) // Added in 3.10, harmless no-op before that
  ------------------
  |  Branch (175:9): [True: 0, False: 2.48k]
  ------------------
  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|  2.48k|    return PyMember_GetOne((char *)obj, descr->d_member);
  183|  2.48k|}
descrobject.c:member_set:
  236|  3.28k|{
  237|  3.28k|    PyMemberDescrObject *descr = (PyMemberDescrObject *)self;
  238|  3.28k|    if (descr_setcheck((PyDescrObject *)descr, obj, value) < 0) {
  ------------------
  |  Branch (238:9): [True: 0, False: 3.28k]
  ------------------
  239|      0|        return -1;
  240|      0|    }
  241|  3.28k|    return PyMember_SetOne((char *)obj, descr->d_member, value);
  242|  3.28k|}
descrobject.c:descr_setcheck:
  220|  3.61k|{
  221|  3.61k|    assert(obj != NULL);
  ------------------
  |  Branch (221:5): [True: 3.61k, False: 0]
  ------------------
  222|  3.61k|    if (!PyObject_TypeCheck(obj, descr->d_type)) {
  ------------------
  |  |  378|  3.61k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (222:9): [True: 0, False: 3.61k]
  ------------------
  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|  3.61k|    return 0;
  232|  3.61k|}
descrobject.c:getset_get:
  187|   102k|{
  188|   102k|    PyGetSetDescrObject *descr = (PyGetSetDescrObject *)self;
  189|   102k|    if (obj == NULL) {
  ------------------
  |  Branch (189:9): [True: 0, False: 102k]
  ------------------
  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|   102k|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (192:9): [True: 0, False: 102k]
  ------------------
  193|      0|        return NULL;
  194|      0|    }
  195|   102k|    if (descr->d_getset->get != NULL)
  ------------------
  |  Branch (195:9): [True: 102k, False: 0]
  ------------------
  196|   102k|        return descr_get_trampoline_call(
  ------------------
  |  |   70|   102k|    (get)((obj), (closure))
  ------------------
  197|   102k|            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|   102k|}
descrobject.c:getset_set:
  246|    324|{
  247|    324|    PyGetSetDescrObject *descr = (PyGetSetDescrObject *)self;
  248|    324|    if (descr_setcheck((PyDescrObject *)descr, obj, value) < 0) {
  ------------------
  |  Branch (248:9): [True: 0, False: 324]
  ------------------
  249|      0|        return -1;
  250|      0|    }
  251|    324|    if (descr->d_getset->set != NULL) {
  ------------------
  |  Branch (251:9): [True: 324, False: 0]
  ------------------
  252|    324|        return descr_set_trampoline_call(
  ------------------
  |  |   67|    324|    (set)((obj), (value), (closure))
  ------------------
  253|    324|            descr->d_getset->set, obj, value,
  254|    324|            descr->d_getset->closure);
  255|    324|    }
  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|    324|}
descrobject.c:wrapperdescr_call:
  539|    559|{
  540|    559|    PyWrapperDescrObject *descr = (PyWrapperDescrObject *)_descr;
  541|    559|    Py_ssize_t argc;
  542|    559|    PyObject *self, *result;
  543|       |
  544|       |    /* Make sure that the first argument is acceptable as 'self' */
  545|    559|    assert(PyTuple_Check(args));
  ------------------
  |  Branch (545:5): [True: 559, False: 0]
  ------------------
  546|    559|    argc = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    559|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    559|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    559|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  547|    559|    if (argc < 1) {
  ------------------
  |  Branch (547:9): [True: 0, False: 559]
  ------------------
  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|    559|    self = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|    559|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    559|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    559|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (555:12): [True: 559, False: 0]
  ------------------
  556|    559|    if (!_PyObject_RealIsSubclass((PyObject *)Py_TYPE(self),
  ------------------
  |  |  213|    559|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    559|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    559|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (556:9): [True: 0, False: 559]
  ------------------
  557|    559|                                  (PyObject *)PyDescr_TYPE(descr))) {
  ------------------
  |  |   35|    559|#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|    559|    args = PyTuple_GetSlice(args, 1, argc);
  569|    559|    if (args == NULL) {
  ------------------
  |  Branch (569:9): [True: 0, False: 559]
  ------------------
  570|      0|        return NULL;
  571|      0|    }
  572|    559|    result = wrapperdescr_raw_call(descr, self, args, kwds);
  573|    559|    Py_DECREF(args);
  ------------------
  |  |  430|    559|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    559|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    559|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  574|    559|    return result;
  575|    559|}
descrobject.c:wrapperdescr_raw_call:
  520|    661|{
  521|    661|    wrapperfunc wrapper = descr->d_base->wrapper;
  522|       |
  523|    661|    if (descr->d_base->flags & PyWrapperFlag_KEYWORDS) {
  ------------------
  |  |   22|    661|#define PyWrapperFlag_KEYWORDS 1 /* wrapper function takes keyword args */
  ------------------
  |  Branch (523:9): [True: 434, False: 227]
  ------------------
  524|    434|        wrapperfunc_kwds wk = _Py_FUNC_CAST(wrapperfunc_kwds, wrapper);
  ------------------
  |  |   47|    434|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  ------------------
  |  |  |  |   37|    434|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  525|    434|        return (*wk)(self, args, descr->d_wrapped, kwds);
  526|    434|    }
  527|       |
  528|    227|    if (kwds != NULL && (!PyDict_Check(kwds) || PyDict_GET_SIZE(kwds) != 0)) {
  ------------------
  |  |   18|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (kwds != NULL && (!PyDict_Check(kwds) || PyDict_GET_SIZE(kwds) != 0)) {
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (528:9): [True: 0, False: 227]
  |  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|    227|    return (*wrapper)(self, args, descr->d_wrapped);
  535|    227|}
descrobject.c:wrapperdescr_get:
  207|    159|{
  208|    159|    PyWrapperDescrObject *descr = (PyWrapperDescrObject *)self;
  209|    159|    if (obj == NULL) {
  ------------------
  |  Branch (209:9): [True: 56, False: 103]
  ------------------
  210|     56|        return Py_NewRef(descr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|     56|    }
  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|   130k|{
  271|   130k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (271:5): [True: 130k, False: 0]
  ------------------
  272|   130k|    if (nargs < 1) {
  ------------------
  |  Branch (272:9): [True: 0, False: 130k]
  ------------------
  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|   130k|    PyObject *self = args[0];
  282|   130k|    if (descr_check((PyDescrObject *)func, self) < 0) {
  ------------------
  |  Branch (282:9): [True: 0, False: 130k]
  ------------------
  283|      0|        return -1;
  284|      0|    }
  285|   130k|    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: 130k]
  ------------------
  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|   130k|    return 0;
  295|   130k|}
descrobject.c:method_enter_call:
  301|   130k|{
  302|   130k|    if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
  ------------------
  |  Branch (302:9): [True: 0, False: 130k]
  ------------------
  303|      0|        return NULL;
  304|      0|    }
  305|   130k|    return (funcptr)((PyMethodDescrObject *)func)->d_method->ml_meth;
  306|   130k|}
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|    547|{
  394|    547|    PyThreadState *tstate = _PyThreadState_GET();
  395|    547|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    547|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  396|    547|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (396:9): [True: 0, False: 547]
  ------------------
  397|      0|        return NULL;
  398|      0|    }
  399|    547|    PyCFunctionFast meth = (PyCFunctionFast)
  400|    547|                            method_enter_call(tstate, func);
  401|    547|    if (meth == NULL) {
  ------------------
  |  Branch (401:9): [True: 0, False: 547]
  ------------------
  402|      0|        return NULL;
  403|      0|    }
  404|    547|    PyObject *result = meth(args[0], args+1, nargs-1);
  405|    547|    _Py_LeaveRecursiveCallTstate(tstate);
  406|    547|    return result;
  407|    547|}
descrobject.c:method_vectorcall_FASTCALL_KEYWORDS:
  412|  2.98k|{
  413|  2.98k|    PyThreadState *tstate = _PyThreadState_GET();
  414|  2.98k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  2.98k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  415|  2.98k|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (415:9): [True: 0, False: 2.98k]
  ------------------
  416|      0|        return NULL;
  417|      0|    }
  418|  2.98k|    PyCFunctionFastWithKeywords meth = (PyCFunctionFastWithKeywords)
  419|  2.98k|                                        method_enter_call(tstate, func);
  420|  2.98k|    if (meth == NULL) {
  ------------------
  |  Branch (420:9): [True: 0, False: 2.98k]
  ------------------
  421|      0|        return NULL;
  422|      0|    }
  423|  2.98k|    PyObject *result = meth(args[0], args+1, nargs-1, kwnames);
  424|  2.98k|    _Py_LeaveRecursiveCallTstate(tstate);
  425|  2.98k|    return result;
  426|  2.98k|}
descrobject.c:method_vectorcall_NOARGS:
  431|  42.7k|{
  432|  42.7k|    PyThreadState *tstate = _PyThreadState_GET();
  433|  42.7k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  42.7k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  434|  42.7k|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (434:9): [True: 0, False: 42.7k]
  ------------------
  435|      0|        return NULL;
  436|      0|    }
  437|  42.7k|    if (nargs != 1) {
  ------------------
  |  Branch (437:9): [True: 0, False: 42.7k]
  ------------------
  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|  42.7k|    PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
  447|  42.7k|    if (meth == NULL) {
  ------------------
  |  Branch (447:9): [True: 0, False: 42.7k]
  ------------------
  448|      0|        return NULL;
  449|      0|    }
  450|  42.7k|    PyObject *result = _PyCFunction_TrampolineCall(meth, args[0], NULL);
  ------------------
  |  |   61|  42.7k|    (meth)((self), (args))
  ------------------
  451|  42.7k|    _Py_LeaveRecursiveCallTstate(tstate);
  452|  42.7k|    return result;
  453|  42.7k|}
descrobject.c:method_vectorcall_O:
  458|  42.4k|{
  459|  42.4k|    PyThreadState *tstate = _PyThreadState_GET();
  460|  42.4k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  42.4k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  461|  42.4k|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (461:9): [True: 0, False: 42.4k]
  ------------------
  462|      0|        return NULL;
  463|      0|    }
  464|  42.4k|    if (nargs != 2) {
  ------------------
  |  Branch (464:9): [True: 0, False: 42.4k]
  ------------------
  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|  42.4k|    PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
  475|  42.4k|    if (meth == NULL) {
  ------------------
  |  Branch (475:9): [True: 0, False: 42.4k]
  ------------------
  476|      0|        return NULL;
  477|      0|    }
  478|  42.4k|    PyObject *result = _PyCFunction_TrampolineCall(meth, args[0], args[1]);
  ------------------
  |  |   61|  42.4k|    (meth)((self), (args))
  ------------------
  479|  42.4k|    _Py_LeaveRecursiveCallTstate(tstate);
  480|  42.4k|    return result;
  481|  42.4k|}
descrobject.c:method_vectorcall_FASTCALL_KEYWORDS_METHOD:
  373|  41.5k|{
  374|  41.5k|    PyThreadState *tstate = _PyThreadState_GET();
  375|  41.5k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  41.5k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  376|  41.5k|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (376:9): [True: 0, False: 41.5k]
  ------------------
  377|      0|        return NULL;
  378|      0|    }
  379|  41.5k|    PyCMethod meth = (PyCMethod) method_enter_call(tstate, func);
  380|  41.5k|    if (meth == NULL) {
  ------------------
  |  Branch (380:9): [True: 0, False: 41.5k]
  ------------------
  381|      0|        return NULL;
  382|      0|    }
  383|  41.5k|    PyObject *result = meth(args[0],
  384|  41.5k|                            ((PyMethodDescrObject *)func)->d_common.d_type,
  385|  41.5k|                            args+1, nargs-1, kwnames);
  386|  41.5k|    _Py_LeaveRecursiveCall();
  387|  41.5k|    return result;
  388|  41.5k|}
descrobject.c:descr_new:
  918|  5.13k|{
  919|  5.13k|    PyDescrObject *descr;
  920|       |
  921|  5.13k|    descr = (PyDescrObject *)PyType_GenericAlloc(descrtype, 0);
  922|  5.13k|    if (descr != NULL) {
  ------------------
  |  Branch (922:9): [True: 5.13k, False: 0]
  ------------------
  923|  5.13k|        _PyObject_SetDeferredRefcount((PyObject *)descr);
  924|  5.13k|        descr->d_type = (PyTypeObject*)Py_XNewRef(type);
  ------------------
  |  |  648|  5.13k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  925|  5.13k|        descr->d_name = PyUnicode_InternFromString(name);
  926|  5.13k|        if (descr->d_name == NULL) {
  ------------------
  |  Branch (926:13): [True: 0, False: 5.13k]
  ------------------
  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.13k|        else {
  930|       |            descr->d_qualname = NULL;
  931|  5.13k|        }
  932|  5.13k|    }
  933|  5.13k|    return descr;
  934|  5.13k|}
descrobject.c:mappingproxy_check_mapping:
 1274|    387|{
 1275|    387|    if (!PyMapping_Check(mapping)
  ------------------
  |  Branch (1275:9): [True: 0, False: 387]
  ------------------
 1276|    387|        || PyList_Check(mapping)
  ------------------
  |  |   25|    387|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    774|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 387]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1277|    387|        || PyTuple_Check(mapping)) {
  ------------------
  |  |   27|    387|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    387|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 387]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|    387|    return 0;
 1284|    387|}
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|    387|{
 1199|    387|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1200|    387|    _PyObject_GC_UNTRACK(pp);
  ------------------
  |  |  504|    387|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    387|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    387|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1201|    387|    Py_DECREF(pp->mapping);
  ------------------
  |  |  430|    387|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    387|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    387|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1202|    387|    PyObject_GC_Del(pp);
 1203|    387|}
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|     78|{
 1156|     78|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1157|     78|    return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(items));
  ------------------
  |  |  951|     78|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     78|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     78|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1158|     78|}
descrobject.c:mappingproxy_new_impl:
 1314|      1|{
 1315|      1|    return PyDictProxy_New(mapping);
 1316|      1|}
descrobject.c:property_dealloc:
 1653|      4|{
 1654|      4|    propertyobject *gs = (propertyobject *)self;
 1655|       |
 1656|      4|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|      4|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1657|      4|    Py_XDECREF(gs->prop_get);
  ------------------
  |  |  621|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1658|      4|    Py_XDECREF(gs->prop_set);
  ------------------
  |  |  621|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1659|      4|    Py_XDECREF(gs->prop_del);
  ------------------
  |  |  621|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1660|      4|    Py_XDECREF(gs->prop_doc);
  ------------------
  |  |  621|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1661|      4|    Py_XDECREF(gs->prop_name);
  ------------------
  |  |  621|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1662|      4|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1663|      4|}
descrobject.c:property_traverse:
 1996|    546|{
 1997|    546|    propertyobject *pp = (propertyobject *)self;
 1998|    546|    Py_VISIT(pp->prop_get);
  ------------------
  |  |  194|    546|    do {                                                                \
  |  |  195|    546|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 546, False: 0]
  |  |  ------------------
  |  |  196|    546|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    546|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    546|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    546|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 546]
  |  |  ------------------
  |  |  198|    546|                return vret;                                            \
  |  |  199|    546|        }                                                               \
  |  |  200|    546|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 546]
  |  |  ------------------
  ------------------
 1999|    546|    Py_VISIT(pp->prop_set);
  ------------------
  |  |  194|    546|    do {                                                                \
  |  |  195|    546|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 44, False: 502]
  |  |  ------------------
  |  |  196|     44|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     44|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 44]
  |  |  ------------------
  |  |  198|     44|                return vret;                                            \
  |  |  199|     44|        }                                                               \
  |  |  200|    546|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 546]
  |  |  ------------------
  ------------------
 2000|    546|    Py_VISIT(pp->prop_del);
  ------------------
  |  |  194|    546|    do {                                                                \
  |  |  195|    546|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 546]
  |  |  ------------------
  |  |  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|    546|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 546]
  |  |  ------------------
  ------------------
 2001|    546|    Py_VISIT(pp->prop_doc);
  ------------------
  |  |  194|    546|    do {                                                                \
  |  |  195|    546|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 174, False: 372]
  |  |  ------------------
  |  |  196|    174|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    174|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    174|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 174]
  |  |  ------------------
  |  |  198|    174|                return vret;                                            \
  |  |  199|    174|        }                                                               \
  |  |  200|    546|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 546]
  |  |  ------------------
  ------------------
 2002|    546|    Py_VISIT(pp->prop_name);
  ------------------
  |  |  194|    546|    do {                                                                \
  |  |  195|    546|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 546, False: 0]
  |  |  ------------------
  |  |  196|    546|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    546|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    546|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    546|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 546]
  |  |  ------------------
  |  |  198|    546|                return vret;                                            \
  |  |  199|    546|        }                                                               \
  |  |  200|    546|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 546]
  |  |  ------------------
  ------------------
 2003|    546|    return 0;
 2004|    546|}
descrobject.c:property_copy:
 1782|      4|{
 1783|      4|    propertyobject *pold = (propertyobject *)old;
 1784|      4|    PyObject *new, *type, *doc;
 1785|       |
 1786|      4|    type = PyObject_Type(old);
 1787|      4|    if (type == NULL)
  ------------------
  |  Branch (1787:9): [True: 0, False: 4]
  ------------------
 1788|      0|        return NULL;
 1789|       |
 1790|      4|    if (get == NULL || get == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1790:9): [True: 4, False: 0]
  |  Branch (1790:24): [True: 0, False: 0]
  ------------------
 1791|      4|        get = pold->prop_get ? pold->prop_get : Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1791:15): [True: 4, False: 0]
  ------------------
 1792|      4|    }
 1793|      4|    if (set == NULL || set == Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1793:9): [True: 0, False: 4]
  |  Branch (1793:24): [True: 0, False: 4]
  ------------------
 1794|      0|        set = pold->prop_set ? pold->prop_set : Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1794:15): [True: 0, False: 0]
  ------------------
 1795|      0|    }
 1796|      4|    if (del == NULL || del == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1796:9): [True: 4, False: 0]
  |  Branch (1796:24): [True: 0, False: 0]
  ------------------
 1797|      4|        del = pold->prop_del ? pold->prop_del : Py_None;
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1797:15): [True: 0, False: 4]
  ------------------
 1798|      4|    }
 1799|      4|    if (pold->getter_doc && get != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1799:9): [True: 0, False: 4]
  |  Branch (1799:29): [True: 0, False: 0]
  ------------------
 1800|       |        /* make _init use __doc__ from getter */
 1801|      0|        doc = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1802|      0|    }
 1803|      4|    else {
 1804|      4|        doc = pold->prop_doc ? pold->prop_doc : Py_None;
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1804:15): [True: 0, False: 4]
  ------------------
 1805|      4|    }
 1806|       |
 1807|      4|    new =  PyObject_CallFunctionObjArgs(type, get, set, del, doc, NULL);
 1808|      4|    Py_DECREF(type);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1809|      4|    if (new == NULL)
  ------------------
  |  Branch (1809:9): [True: 0, False: 4]
  ------------------
 1810|      0|        return NULL;
 1811|       |
 1812|      4|    if (PyObject_TypeCheck((new), &PyProperty_Type)) {
  ------------------
  |  |  378|      4|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (378:40): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1813|      4|        Py_XSETREF(((propertyobject *) new)->prop_name, Py_XNewRef(pold->prop_name));
  ------------------
  |  |  576|      4|    do { \
  |  |  577|      4|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      4|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      4|        *_tmp_dst_ptr = (src); \
  |  |  580|      4|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1814|      4|    }
 1815|      4|    return new;
 1816|      4|}
descrobject.c:property_setter:
 1607|      4|{
 1608|      4|    return property_copy(self, NULL, setter, NULL);
 1609|      4|}
descrobject.c:property___set_name___impl:
 1636|     38|{
 1637|     38|    Py_XSETREF(self->prop_name, Py_XNewRef(name));
  ------------------
  |  |  576|     38|    do { \
  |  |  577|     38|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     38|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     38|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     38|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     38|        *_tmp_dst_ptr = (src); \
  |  |  580|     38|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     38|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 38]
  |  |  ------------------
  ------------------
 1638|       |
 1639|     38|    Py_RETURN_NONE;
  ------------------
  |  |  628|     38|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     38|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1640|     38|}
descrobject.c:property_get___isabstractmethod__:
 1958|     13|{
 1959|     13|    propertyobject *prop = _propertyobject_CAST(op);
  ------------------
  |  | 1533|     13|#define _propertyobject_CAST(op)    ((propertyobject *)(op))
  ------------------
 1960|     13|    int res = _PyObject_IsAbstract(prop->prop_get);
 1961|     13|    if (res == -1) {
  ------------------
  |  Branch (1961:9): [True: 0, False: 13]
  ------------------
 1962|      0|        return NULL;
 1963|      0|    }
 1964|     13|    else if (res) {
  ------------------
  |  Branch (1964:14): [True: 4, False: 9]
  ------------------
 1965|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1966|      4|    }
 1967|       |
 1968|      9|    res = _PyObject_IsAbstract(prop->prop_set);
 1969|      9|    if (res == -1) {
  ------------------
  |  Branch (1969:9): [True: 0, False: 9]
  ------------------
 1970|      0|        return NULL;
 1971|      0|    }
 1972|      9|    else if (res) {
  ------------------
  |  Branch (1972:14): [True: 0, False: 9]
  ------------------
 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|      9|    res = _PyObject_IsAbstract(prop->prop_del);
 1977|      9|    if (res == -1) {
  ------------------
  |  Branch (1977:9): [True: 0, False: 9]
  ------------------
 1978|      0|        return NULL;
 1979|      0|    }
 1980|      9|    else if (res) {
  ------------------
  |  Branch (1980:14): [True: 0, False: 9]
  ------------------
 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|      9|    Py_RETURN_FALSE;
  ------------------
  |  |   45|      9|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      9|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1984|      9|}
descrobject.c:property_descr_get:
 1681|    333|{
 1682|    333|    if (obj == NULL || obj == Py_None) {
  ------------------
  |  |  616|    329|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1682:9): [True: 4, False: 329]
  |  Branch (1682:24): [True: 0, False: 329]
  ------------------
 1683|      4|        return Py_NewRef(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      4|    }
 1685|       |
 1686|    329|    propertyobject *gs = (propertyobject *)self;
 1687|    329|    if (gs->prop_get == NULL) {
  ------------------
  |  Branch (1687:9): [True: 0, False: 329]
  ------------------
 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|    329|    return PyObject_CallOneArg(gs->prop_get, obj);
 1713|    329|}
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|     37|{
 1860|     37|    if (fget == Py_None)
  ------------------
  |  |  616|     37|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1860:9): [True: 0, False: 37]
  ------------------
 1861|      0|        fget = NULL;
 1862|     37|    if (fset == Py_None)
  ------------------
  |  |  616|     37|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1862:9): [True: 0, False: 37]
  ------------------
 1863|      0|        fset = NULL;
 1864|     37|    if (fdel == Py_None)
  ------------------
  |  |  616|     37|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1864:9): [True: 4, False: 33]
  ------------------
 1865|      4|        fdel = NULL;
 1866|       |
 1867|     37|    Py_XSETREF(self->prop_get, Py_XNewRef(fget));
  ------------------
  |  |  576|     37|    do { \
  |  |  577|     37|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     37|        *_tmp_dst_ptr = (src); \
  |  |  580|     37|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     37|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1868|     37|    Py_XSETREF(self->prop_set, Py_XNewRef(fset));
  ------------------
  |  |  576|     37|    do { \
  |  |  577|     37|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     37|        *_tmp_dst_ptr = (src); \
  |  |  580|     37|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     37|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1869|     37|    Py_XSETREF(self->prop_del, Py_XNewRef(fdel));
  ------------------
  |  |  576|     37|    do { \
  |  |  577|     37|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     37|        *_tmp_dst_ptr = (src); \
  |  |  580|     37|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     37|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1870|     37|    Py_XSETREF(self->prop_doc, NULL);
  ------------------
  |  |  576|     37|    do { \
  |  |  577|     37|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     37|        *_tmp_dst_ptr = (src); \
  |  |  580|     37|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     37|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1871|     37|    Py_XSETREF(self->prop_name, NULL);
  ------------------
  |  |  576|     37|    do { \
  |  |  577|     37|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     37|        *_tmp_dst_ptr = (src); \
  |  |  580|     37|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     37|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1872|       |
 1873|     37|    self->getter_doc = 0;
 1874|     37|    PyObject *prop_doc = NULL;
 1875|       |
 1876|     37|    if (doc != NULL && doc != Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1876:9): [True: 4, False: 33]
  |  Branch (1876:24): [True: 0, False: 4]
  ------------------
 1877|      0|        prop_doc = Py_XNewRef(doc);
  ------------------
  |  |  648|      0|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1878|      0|    }
 1879|       |    /* if no docstring given and the getter has one, use that one */
 1880|     37|    else if (fget != NULL) {
  ------------------
  |  Branch (1880:14): [True: 37, False: 0]
  ------------------
 1881|     37|        int rc = PyObject_GetOptionalAttr(fget, &_Py_ID(__doc__), &prop_doc);
  ------------------
  |  |  951|     37|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     37|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     37|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1882|     37|        if (rc < 0) {
  ------------------
  |  Branch (1882:13): [True: 0, False: 37]
  ------------------
 1883|      0|            return rc;
 1884|      0|        }
 1885|     37|        if (prop_doc == Py_None) {
  ------------------
  |  |  616|     37|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1885:13): [True: 25, False: 12]
  ------------------
 1886|     25|            prop_doc = NULL;
 1887|     25|            Py_DECREF(Py_None);
  ------------------
  |  |  430|     25|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1888|     25|        }
 1889|     37|        if (prop_doc != NULL){
  ------------------
  |  Branch (1889:13): [True: 12, False: 25]
  ------------------
 1890|     12|            self->getter_doc = 1;
 1891|     12|        }
 1892|     37|    }
 1893|       |
 1894|       |    /* At this point `prop_doc` is either NULL or
 1895|       |       a non-None object with incremented ref counter */
 1896|       |
 1897|     37|    if (Py_IS_TYPE(self, &PyProperty_Type)) {
  ------------------
  |  |  215|     37|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 37, False: 0]
  |  |  ------------------
  ------------------
 1898|     37|        Py_XSETREF(self->prop_doc, prop_doc);
  ------------------
  |  |  576|     37|    do { \
  |  |  577|     37|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     37|        *_tmp_dst_ptr = (src); \
  |  |  580|     37|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     37|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1899|     37|    } 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|     37|    return 0;
 1931|     37|}

_PyDict_CheckConsistency:
  699|  4.80M|{
  700|  4.80M|    ASSERT_WORLD_STOPPED_OR_DICT_LOCKED(op);
  701|       |
  702|  4.80M|#define CHECK(expr) \
  703|  4.80M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  704|       |
  705|  4.80M|    assert(op != NULL);
  ------------------
  |  Branch (705:5): [True: 4.80M, False: 0]
  ------------------
  706|  4.80M|    CHECK(PyAnyDict_Check(op));
  ------------------
  |  |  703|  4.80M|    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: 4.80M, False: 3]
  |  |  |  Branch (703:16): [True: 3, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 4.80M]
  |  |  ------------------
  ------------------
  707|  4.80M|    PyDictObject *mp = (PyDictObject *)op;
  708|       |
  709|  4.80M|    PyDictKeysObject *keys = mp->ma_keys;
  710|  4.80M|    int splitted = _PyDict_HasSplitTable(mp);
  ------------------
  |  |   61|  4.80M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  ------------------
  711|  4.80M|    Py_ssize_t usable = USABLE_FRACTION(DK_SIZE(keys));
  ------------------
  |  |  590|  4.80M|#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|  4.80M|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  150|  4.80M|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  716|  4.80M|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  150|  4.80M|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  717|       |
  718|  4.80M|    CHECK(0 <= mp->ma_used && mp->ma_used <= usable);
  ------------------
  |  |  703|  9.60M|    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: 4.80M, False: 0]
  |  |  |  Branch (703:16): [True: 4.80M, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 4.80M]
  |  |  ------------------
  ------------------
  719|  4.80M|    CHECK(0 <= dk_usable && dk_usable <= usable);
  ------------------
  |  |  703|  9.60M|    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: 4.80M, False: 0]
  |  |  |  Branch (703:16): [True: 4.80M, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 4.80M]
  |  |  ------------------
  ------------------
  720|  4.80M|    CHECK(0 <= dk_nentries && dk_nentries <= usable);
  ------------------
  |  |  703|  9.60M|    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: 4.80M, False: 0]
  |  |  |  Branch (703:16): [True: 4.80M, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 4.80M]
  |  |  ------------------
  ------------------
  721|  4.80M|    CHECK(dk_usable + dk_nentries <= usable);
  ------------------
  |  |  703|  4.80M|    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: 4.80M]
  |  |  |  Branch (703:89): [Folded, False: 4.80M]
  |  |  ------------------
  ------------------
  722|       |
  723|  4.80M|    if (!splitted) {
  ------------------
  |  Branch (723:9): [True: 4.79M, False: 3.23k]
  ------------------
  724|       |        /* combined table */
  725|  4.79M|        CHECK(keys->dk_kind != DICT_KEYS_SPLIT);
  ------------------
  |  |  703|  4.79M|    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: 4.79M]
  |  |  |  Branch (703:89): [Folded, False: 4.79M]
  |  |  ------------------
  ------------------
  726|  4.79M|        CHECK(keys->dk_refcnt == 1 || keys == Py_EMPTY_KEYS);
  ------------------
  |  |  703|  5.40M|    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: 4.18M, False: 610k]
  |  |  |  Branch (703:16): [True: 610k, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 4.79M]
  |  |  ------------------
  ------------------
  727|  4.79M|    }
  728|  3.23k|    else {
  729|  3.23k|        CHECK(keys->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  |  703|  3.23k|    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.23k]
  |  |  |  Branch (703:89): [Folded, False: 3.23k]
  |  |  ------------------
  ------------------
  730|  3.23k|        CHECK(mp->ma_used <= SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  703|  3.23k|    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.23k]
  |  |  |  Branch (703:89): [Folded, False: 3.23k]
  |  |  ------------------
  ------------------
  731|  3.23k|        if (mp->ma_values->embedded) {
  ------------------
  |  Branch (731:13): [True: 0, False: 3.23k]
  ------------------
  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.23k|    }
  736|       |
  737|  4.80M|    if (check_content) {
  ------------------
  |  Branch (737:9): [True: 0, False: 4.80M]
  ------------------
  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|  4.80M|    return 1;
  797|       |
  798|  4.80M|#undef CHECK
  799|  4.80M|}
PyDict_New:
 1089|   609k|{
 1090|       |    /* We don't incref Py_EMPTY_KEYS here because it is immortal. */
 1091|   609k|    return new_dict(Py_EMPTY_KEYS, NULL, 0, 0);
  ------------------
  |  |  660|   609k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 1092|   609k|}
_PyDictKeys_StringLookup:
 1305|     76|{
 1306|     76|    if (!check_keys_unicode(dk, key)) {
  ------------------
  |  Branch (1306:9): [True: 0, False: 76]
  ------------------
 1307|      0|        return DKIX_ERROR;
  ------------------
  |  |  196|      0|#define DKIX_ERROR (-3)
  ------------------
 1308|      0|    }
 1309|     76|    Py_hash_t hash = hash_unicode_key(key);
 1310|     76|    return unicodekeys_lookup_unicode(dk, key, hash);
 1311|     76|}
_PyDictKeys_StringLookupAndVersion:
 1315|    356|{
 1316|    356|    if (!check_keys_unicode(dk, key)) {
  ------------------
  |  Branch (1316:9): [True: 0, False: 356]
  ------------------
 1317|      0|        return DKIX_ERROR;
  ------------------
  |  |  196|      0|#define DKIX_ERROR (-3)
  ------------------
 1318|      0|    }
 1319|    356|    Py_ssize_t ix;
 1320|    356|    Py_hash_t hash = hash_unicode_key(key);
 1321|    356|    LOCK_KEYS(dk);
 1322|    356|    ix = unicodekeys_lookup_unicode(dk, key, hash);
 1323|    356|    *version = _PyDictKeys_GetVersionForCurrentState(_PyInterpreterState_GET(), dk);
 1324|    356|    UNLOCK_KEYS(dk);
 1325|    356|    return ix;
 1326|    356|}
_PyDictKeys_StringLookupSplit:
 1333|   382k|{
 1334|   382k|    assert(dk->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (1334:5): [True: 382k, False: 0]
  ------------------
 1335|   382k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1335:5): [True: 382k, False: 0]
  ------------------
 1336|   382k|    Py_hash_t hash = unicode_get_hash(key);
 1337|   382k|    if (hash == -1) {
  ------------------
  |  Branch (1337:9): [True: 0, False: 382k]
  ------------------
 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|   382k|    return unicodekeys_lookup_split(dk, key, hash);
 1345|   382k|}
_Py_dict_lookup:
 1364|  11.3M|{
 1365|  11.3M|    PyDictKeysObject *dk;
 1366|  11.3M|    DictKeysKind kind;
 1367|  11.3M|    Py_ssize_t ix;
 1368|       |
 1369|  11.3M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(mp);
 1370|  11.3M|start:
 1371|  11.3M|    dk = mp->ma_keys;
 1372|  11.3M|    kind = dk->dk_kind;
 1373|       |
 1374|  11.3M|    if (kind != DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (1374:9): [True: 7.36M, False: 3.96M]
  ------------------
 1375|  7.36M|        if (PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  7.36M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  7.36M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.36M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7.25M, False: 105k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|  7.25M|            ix = unicodekeys_lookup_unicode(dk, key, hash);
 1385|  7.25M|#endif
 1386|  7.25M|        }
 1387|   105k|        else {
 1388|   105k|            INCREF_KEYS_FT(dk);
 1389|   105k|            LOCK_KEYS_IF_SPLIT(dk, kind);
 1390|       |
 1391|   105k|            ix = unicodekeys_lookup_generic(mp, dk, key, hash);
 1392|       |
 1393|   105k|            UNLOCK_KEYS_IF_SPLIT(dk, kind);
 1394|   105k|            DECREF_KEYS_FT(dk, IS_DICT_SHARED(mp));
 1395|   105k|            if (ix == DKIX_KEY_CHANGED) {
  ------------------
  |  |  197|   105k|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
  |  Branch (1395:17): [True: 0, False: 105k]
  ------------------
 1396|      0|                goto start;
 1397|      0|            }
 1398|   105k|        }
 1399|       |
 1400|  7.36M|        if (ix >= 0) {
  ------------------
  |  Branch (1400:13): [True: 4.88M, False: 2.48M]
  ------------------
 1401|  4.88M|            if (kind == DICT_KEYS_SPLIT) {
  ------------------
  |  Branch (1401:17): [True: 43.2k, False: 4.83M]
  ------------------
 1402|  43.2k|                *value_addr = mp->ma_values->values[ix];
 1403|  43.2k|            }
 1404|  4.83M|            else {
 1405|  4.83M|                *value_addr = DK_UNICODE_ENTRIES(dk)[ix].me_value;
 1406|  4.83M|            }
 1407|  4.88M|        }
 1408|  2.48M|        else {
 1409|  2.48M|            *value_addr = NULL;
 1410|  2.48M|        }
 1411|  7.36M|    }
 1412|  3.96M|    else {
 1413|  3.96M|        ix = dictkeys_generic_lookup(mp, dk, key, hash);
 1414|  3.96M|        if (ix == DKIX_KEY_CHANGED) {
  ------------------
  |  |  197|  3.96M|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
  |  Branch (1414:13): [True: 0, False: 3.96M]
  ------------------
 1415|      0|            goto start;
 1416|      0|        }
 1417|  3.96M|        if (ix >= 0) {
  ------------------
  |  Branch (1417:13): [True: 2.58M, False: 1.37M]
  ------------------
 1418|  2.58M|            *value_addr = DK_ENTRIES(dk)[ix].me_value;
 1419|  2.58M|        }
 1420|  1.37M|        else {
 1421|  1.37M|            *value_addr = NULL;
 1422|  1.37M|        }
 1423|  3.96M|    }
 1424|       |
 1425|  11.3M|    return ix;
 1426|  11.3M|}
_Py_dict_lookup_threadsafe:
 1762|   527k|{
 1763|   527k|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, value_addr);
 1764|   527k|    Py_XNewRef(*value_addr);
  ------------------
  |  |  648|   527k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   527k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   527k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1765|   527k|    return ix;
 1766|   527k|}
_Py_dict_lookup_threadsafe_stackref:
 1770|  47.5k|{
 1771|  47.5k|    PyObject *val;
 1772|  47.5k|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, &val);
 1773|  47.5k|    if (val == NULL) {
  ------------------
  |  Branch (1773:9): [True: 24.6k, False: 22.9k]
  ------------------
 1774|  24.6k|        *value_addr = PyStackRef_NULL;
 1775|  24.6k|    }
 1776|  22.9k|    else {
 1777|  22.9k|        *value_addr = PyStackRef_FromPyObjectNew(val);
  ------------------
  |  |  611|  22.9k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  22.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1778|  22.9k|    }
 1779|  47.5k|    return ix;
 1780|  47.5k|}
_PyDict_GetMethodStackRef:
 1788|  83.5k|{
 1789|  83.5k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1789:5): [True: 83.5k, False: 0]
  ------------------
 1790|  83.5k|    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|  83.5k|    PyObject *obj;
 1818|  83.5k|    Py_INCREF(mp);
  ------------------
  |  |  310|  83.5k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  83.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  83.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1819|  83.5k|    Py_ssize_t ix = _Py_dict_lookup_threadsafe(mp, key, hash, &obj);
 1820|  83.5k|    Py_DECREF(mp);
  ------------------
  |  |  430|  83.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  83.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  83.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1821|  83.5k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|  83.5k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1821:9): [True: 0, False: 83.5k]
  ------------------
 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|  83.5k|    else if (ix >= 0 && obj != NULL) {
  ------------------
  |  Branch (1825:14): [True: 0, False: 83.5k]
  |  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|  83.5k|    return 0;  // not found
 1830|  83.5k|}
_PyDict_HasOnlyStringKeys:
 1834|    857|{
 1835|    857|    Py_ssize_t pos = 0;
 1836|    857|    PyObject *key, *value;
 1837|    857|    assert(PyDict_Check(dict));
  ------------------
  |  Branch (1837:5): [True: 857, False: 0]
  ------------------
 1838|       |    /* Shortcut */
 1839|    857|    if (((PyDictObject *)dict)->ma_keys->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (1839:9): [True: 857, False: 0]
  ------------------
 1840|    857|        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|    182|{
 1850|    182|    assert(PyDict_Check(op));
  ------------------
  |  Branch (1850:5): [True: 182, 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|    182|}
_PyDict_InsertSplitValue:
 1995|  1.45k|{
 1996|  1.45k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (1996:5): [True: 1.45k, False: 0]
  ------------------
 1997|  1.45k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1997:5): [True: 1.45k, False: 0]
  ------------------
 1998|       |
 1999|  1.45k|    PyObject *old_value = mp->ma_values->values[ix];
 2000|  1.45k|    if (old_value == NULL) {
  ------------------
  |  Branch (2000:9): [True: 1.45k, False: 0]
  ------------------
 2001|  1.45k|        _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 2002|  1.45k|        STORE_SPLIT_VALUE(mp, ix, Py_NewRef(value));
  ------------------
  |  |  332|  1.45k|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  166|  1.45k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2003|  1.45k|        _PyDictValues_AddToInsertionOrder(mp->ma_values, ix);
 2004|  1.45k|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|  1.45k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|  1.45k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2005|  1.45k|    }
 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.45k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2013:5): [True: 1.45k, False: 0]
  ------------------
 2014|  1.45k|}
_PyDict_FromItems:
 2396|  2.36k|{
 2397|  2.36k|    bool unicode = true;
 2398|  2.36k|    PyObject *const *ks = keys;
 2399|       |
 2400|  4.64k|    for (Py_ssize_t i = 0; i < length; i++) {
  ------------------
  |  Branch (2400:28): [True: 2.32k, False: 2.32k]
  ------------------
 2401|  2.32k|        if (!PyUnicode_CheckExact(*ks)) {
  ------------------
  |  |  104|  2.32k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.32k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2401:13): [True: 42, False: 2.28k]
  ------------------
 2402|     42|            unicode = false;
 2403|     42|            break;
 2404|     42|        }
 2405|  2.28k|        ks += keys_offset;
 2406|  2.28k|    }
 2407|       |
 2408|  2.36k|    PyObject *dict = dict_new_presized(length, unicode);
 2409|  2.36k|    if (dict == NULL) {
  ------------------
  |  Branch (2409:9): [True: 0, False: 2.36k]
  ------------------
 2410|      0|        return NULL;
 2411|      0|    }
 2412|       |
 2413|  2.36k|    ks = keys;
 2414|  2.36k|    PyObject *const *vs = values;
 2415|       |
 2416|  4.89k|    for (Py_ssize_t i = 0; i < length; i++) {
  ------------------
  |  Branch (2416:28): [True: 2.52k, False: 2.36k]
  ------------------
 2417|  2.52k|        PyObject *key = *ks;
 2418|  2.52k|        PyObject *value = *vs;
 2419|  2.52k|        if (setitem_lock_held((PyDictObject *)dict, key, value) < 0) {
  ------------------
  |  Branch (2419:13): [True: 0, False: 2.52k]
  ------------------
 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.52k|        ks += keys_offset;
 2424|  2.52k|        vs += values_offset;
 2425|  2.52k|    }
 2426|       |
 2427|  2.36k|    return dict;
 2428|  2.36k|}
PyDict_GetItem:
 2486|    708|{
 2487|    708|    return dict_getitem(op, key,
 2488|    708|            "Exception ignored in PyDict_GetItem(); consider using "
 2489|    708|            "PyDict_GetItemRef() or PyDict_GetItemWithError()");
 2490|    708|}
_PyDict_LookupIndexAndValue:
 2515|  2.77k|{
 2516|       |    // TODO: Thread safety
 2517|  2.77k|    assert(PyDict_CheckExact((PyObject*)mp));
  ------------------
  |  Branch (2517:5): [True: 2.77k, False: 0]
  ------------------
 2518|  2.77k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (2518:5): [True: 2.77k, False: 0]
  ------------------
 2519|       |
 2520|  2.77k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2521|  2.77k|    if (hash == -1) {
  ------------------
  |  Branch (2521:9): [True: 0, False: 2.77k]
  ------------------
 2522|      0|        dict_unhashable_type((PyObject*)mp, key);
 2523|      0|        return -1;
 2524|      0|    }
 2525|       |
 2526|  2.77k|    return _Py_dict_lookup(mp, key, hash, value);
 2527|  2.77k|}
_PyDict_GetItemRef_KnownHash:
 2591|  4.71M|{
 2592|  4.71M|    PyObject *value;
 2593|       |#ifdef Py_GIL_DISABLED
 2594|       |    Py_ssize_t ix = _Py_dict_lookup_threadsafe(op, key, hash, &value);
 2595|       |#else
 2596|  4.71M|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2597|  4.71M|#endif
 2598|  4.71M|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2598:5): [True: 3.88M, False: 837k]
  |  Branch (2598:5): [True: 837k, False: 0]
  ------------------
 2599|  4.71M|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|  4.71M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2599:9): [True: 0, False: 4.71M]
  ------------------
 2600|      0|        *result = NULL;
 2601|      0|        return -1;
 2602|      0|    }
 2603|  4.71M|    if (value == NULL) {
  ------------------
  |  Branch (2603:9): [True: 880k, False: 3.83M]
  ------------------
 2604|   880k|        *result = NULL;
 2605|   880k|        return 0;  // missing key
 2606|   880k|    }
 2607|       |#ifdef Py_GIL_DISABLED
 2608|       |    *result = value;
 2609|       |#else
 2610|  3.83M|    *result = Py_NewRef(value);
  ------------------
  |  |  647|  3.83M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.83M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.83M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2611|  3.83M|#endif
 2612|  3.83M|    return 1;  // key is present
 2613|  4.71M|}
PyDict_GetItemRef:
 2617|  4.71M|{
 2618|  4.71M|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  4.71M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  4.71M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  9.43M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 4.71M, 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|  4.71M|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2625|  4.71M|    if (hash == -1) {
  ------------------
  |  Branch (2625:9): [True: 0, False: 4.71M]
  ------------------
 2626|      0|        dict_unhashable_type(op, key);
 2627|      0|        *result = NULL;
 2628|      0|        return -1;
 2629|      0|    }
 2630|       |
 2631|  4.71M|    return _PyDict_GetItemRef_KnownHash((PyDictObject *)op, key, hash, result);
 2632|  4.71M|}
_PyDict_GetItemRef_Unicode_LockHeld:
 2711|    365|{
 2712|    365|    ASSERT_DICT_LOCKED(op);
 2713|    365|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (2713:5): [True: 365, False: 0]
  ------------------
 2714|       |
 2715|    365|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2716|    365|    if (hash == -1) {
  ------------------
  |  Branch (2716:9): [True: 0, False: 365]
  ------------------
 2717|      0|        dict_unhashable_type((PyObject*)op, key);
 2718|      0|        *result = NULL;
 2719|      0|        return -1;
 2720|      0|    }
 2721|       |
 2722|    365|    PyObject *value;
 2723|    365|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2724|    365|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2724:5): [True: 40, False: 325]
  |  Branch (2724:5): [True: 325, False: 0]
  ------------------
 2725|    365|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|    365|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2725:9): [True: 0, False: 365]
  ------------------
 2726|      0|        *result = NULL;
 2727|      0|        return -1;
 2728|      0|    }
 2729|    365|    if (value == NULL) {
  ------------------
  |  Branch (2729:9): [True: 325, False: 40]
  ------------------
 2730|    325|        *result = NULL;
 2731|    325|        return 0;  // missing key
 2732|    325|    }
 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|    365|}
PyDict_GetItemWithError:
 2743|  1.58M|{
 2744|  1.58M|    Py_ssize_t ix; (void)ix;
 2745|  1.58M|    Py_hash_t hash;
 2746|  1.58M|    PyDictObject*mp = (PyDictObject *)op;
 2747|  1.58M|    PyObject *value;
 2748|       |
 2749|  1.58M|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  1.58M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  1.58M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  3.16M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 1.58M, 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|  1.58M|    hash = _PyObject_HashDictKey(key);
 2754|  1.58M|    if (hash == -1) {
  ------------------
  |  Branch (2754:9): [True: 0, False: 1.58M]
  ------------------
 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|  1.58M|    ix = _Py_dict_lookup(mp, key, hash, &value);
 2764|  1.58M|#endif
 2765|  1.58M|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2765:5): [True: 967k, False: 615k]
  |  Branch (2765:5): [True: 615k, False: 0]
  ------------------
 2766|  1.58M|    return value;  // borrowed reference
 2767|  1.58M|}
_PyDict_LoadGlobalStackRef:
 2795|  12.9k|{
 2796|  12.9k|    Py_ssize_t ix;
 2797|  12.9k|    Py_hash_t hash;
 2798|       |
 2799|  12.9k|    hash = _PyObject_HashDictKey(key);
 2800|  12.9k|    if (hash == -1) {
  ------------------
  |  Branch (2800:9): [True: 0, False: 12.9k]
  ------------------
 2801|      0|        *res = PyStackRef_NULL;
 2802|      0|        return NULL;
 2803|      0|    }
 2804|       |
 2805|       |    /* namespace 1: globals */
 2806|  12.9k|    ix = _Py_dict_lookup_threadsafe_stackref(globals, key, hash, res);
 2807|  12.9k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|  12.9k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2807:9): [True: 0, False: 12.9k]
  ------------------
 2808|      0|        return NULL;
 2809|      0|    }
 2810|  12.9k|    if (ix != DKIX_EMPTY && !PyStackRef_IsNull(*res)) {
  ------------------
  |  |  194|  25.9k|#define DKIX_EMPTY (-1)
  ------------------
                  if (ix != DKIX_EMPTY && !PyStackRef_IsNull(*res)) {
  ------------------
  |  |  482|  6.46k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  6.46k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  6.46k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2810:9): [True: 6.46k, False: 6.53k]
  |  Branch (2810:29): [True: 6.46k, False: 0]
  ------------------
 2811|  6.46k|        return (PyObject *)globals;
 2812|  6.46k|    }
 2813|       |
 2814|       |    /* namespace 2: builtins */
 2815|  6.53k|    ix = _Py_dict_lookup_threadsafe_stackref(builtins, key, hash, res);
 2816|  6.53k|    assert(ix >= 0 || PyStackRef_IsNull(*res));
  ------------------
  |  Branch (2816:5): [True: 6.53k, False: 1]
  |  Branch (2816:5): [True: 1, False: 0]
  ------------------
 2817|  6.53k|    return PyStackRef_IsNull(*res) ? NULL : (PyObject *)builtins;
  ------------------
  |  |  482|  6.53k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  6.53k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  6.53k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 1, False: 6.53k]
  |  |  ------------------
  ------------------
 2818|  6.53k|}
_PyDict_LoadBuiltinsFromGlobals:
 2822|  5.32k|{
 2823|  5.32k|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|  5.32k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  5.32k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  10.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 5.32k, 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|  5.32k|    PyDictObject *mp = (PyDictObject *)globals;
 2829|  5.32k|    PyObject *key = &_Py_ID(__builtins__);
  ------------------
  |  |  951|  5.32k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  5.32k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  5.32k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2830|  5.32k|    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|  5.32k|    _PyStackRef ref;
 2837|  5.32k|    Py_ssize_t ix = _Py_dict_lookup_threadsafe_stackref(mp, key, hash, &ref);
 2838|  5.32k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|  5.32k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2838:9): [True: 0, False: 5.32k]
  ------------------
 2839|      0|        return NULL;
 2840|      0|    }
 2841|  5.32k|    if (PyStackRef_IsNull(ref)) {
  ------------------
  |  |  482|  5.32k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  5.32k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  5.32k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 5.32k]
  |  |  ------------------
  ------------------
 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|  5.32k|    PyObject *builtins = PyStackRef_AsPyObjectBorrow(ref);
 2845|  5.32k|    if (PyModule_Check(builtins)) {
  ------------------
  |  |   12|  5.32k|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|  5.32k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 5.32k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2846|      0|        builtins = _PyModule_GetDict(builtins);
 2847|      0|        assert(builtins != NULL);
  ------------------
  |  Branch (2847:9): [True: 0, False: 0]
  ------------------
 2848|      0|    }
 2849|  5.32k|    _Py_INCREF_BUILTINS(builtins);
  ------------------
  |  |  407|  5.32k|#  define _Py_INCREF_BUILTINS Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  5.32k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2850|  5.32k|    PyStackRef_CLOSE(ref);
 2851|  5.32k|    return builtins;
 2852|  5.32k|}
_PyDict_SetItem_Take2:
 2890|  2.08M|{
 2891|  2.08M|    int res;
 2892|  2.08M|    Py_BEGIN_CRITICAL_SECTION(mp);
  ------------------
  |  |   51|  2.08M|    {
  ------------------
 2893|  2.08M|    res = setitem_take2_lock_held(mp, key, value);
 2894|  2.08M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.08M|    }
  ------------------
 2895|  2.08M|    return res;
 2896|  2.08M|}
PyDict_SetItem:
 2916|  2.06M|{
 2917|  2.06M|    assert(key);
  ------------------
  |  Branch (2917:5): [True: 2.06M, False: 0]
  ------------------
 2918|  2.06M|    assert(value);
  ------------------
  |  Branch (2918:5): [True: 2.06M, False: 0]
  ------------------
 2919|       |
 2920|  2.06M|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  2.06M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.06M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2920:9): [True: 0, False: 2.06M]
  ------------------
 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|  2.06M|    return _PyDict_SetItem_Take2((PyDictObject *)op,
 2931|  2.06M|                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  647|  2.06M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                               Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  647|  2.06M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2932|  2.06M|}
PyDict_DelItem:
 3053|  1.67k|{
 3054|  1.67k|    assert(key);
  ------------------
  |  Branch (3054:5): [True: 1.67k, False: 0]
  ------------------
 3055|  1.67k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3056|  1.67k|    if (hash == -1) {
  ------------------
  |  Branch (3056:9): [True: 0, False: 1.67k]
  ------------------
 3057|      0|        dict_unhashable_type(op, key);
 3058|      0|        return -1;
 3059|      0|    }
 3060|       |
 3061|  1.67k|    return _PyDict_DelItem_KnownHash(op, key, hash);
 3062|  1.67k|}
_PyDict_DelItem_KnownHash_LockHeld:
 3066|  1.70k|{
 3067|  1.70k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  1.70k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.70k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3067:9): [True: 0, False: 1.70k]
  ------------------
 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.70k|    Py_ssize_t ix;
 3078|  1.70k|    PyObject *old_value;
 3079|  1.70k|    PyDictObject *mp = (PyDictObject *)op;
 3080|  1.70k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3080:5): [True: 1.70k, False: 0]
  ------------------
 3081|       |
 3082|  1.70k|    assert(key);
  ------------------
  |  Branch (3082:5): [True: 1.70k, False: 0]
  ------------------
 3083|  1.70k|    assert(hash != -1);
  ------------------
  |  Branch (3083:5): [True: 1.70k, False: 0]
  ------------------
 3084|  1.70k|    ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3085|  1.70k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  196|  1.70k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3085:9): [True: 0, False: 1.70k]
  ------------------
 3086|      0|        return -1;
 3087|  1.70k|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  194|  3.41k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3087:9): [True: 0, False: 1.70k]
  |  Branch (3087:29): [True: 0, False: 1.70k]
  ------------------
 3088|      0|        _PyErr_SetKeyError(key);
 3089|      0|        return -1;
 3090|      0|    }
 3091|       |
 3092|  1.70k|    _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3093|  1.70k|    delitem_common(mp, hash, ix, old_value);
 3094|  1.70k|    return 0;
 3095|  1.70k|}
_PyDict_DelItem_KnownHash:
 3099|  1.67k|{
 3100|  1.67k|    int res;
 3101|  1.67k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  1.67k|    {
  ------------------
 3102|  1.67k|    res = _PyDict_DelItem_KnownHash_LockHeld(op, key, hash);
 3103|  1.67k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.67k|    }
  ------------------
 3104|  1.67k|    return res;
 3105|  1.67k|}
_PyDict_DelItemIf:
 3153|    411|{
 3154|    411|    assert(PyDict_Check(op));
  ------------------
  |  Branch (3154:5): [True: 411, False: 0]
  ------------------
 3155|    411|    int res;
 3156|    411|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    411|    {
  ------------------
 3157|    411|    res = delitemif_lock_held(op, key, predicate, arg);
 3158|    411|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    411|    }
  ------------------
 3159|    411|    return res;
 3160|    411|}
PyDict_Clear:
 3267|     18|{
 3268|     18|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     18|    {
  ------------------
 3269|     18|    clear_lock_held(op);
 3270|     18|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     18|    }
  ------------------
 3271|     18|}
_PyDict_Next:
 3281|  3.38M|{
 3282|  3.38M|    Py_ssize_t i;
 3283|  3.38M|    PyDictObject *mp;
 3284|  3.38M|    PyObject *key, *value;
 3285|  3.38M|    Py_hash_t hash;
 3286|       |
 3287|  3.38M|    if (!PyAnyDict_Check(op))
  ------------------
  |  |   43|  3.38M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  3.38M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  6.77M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 3.38M, 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|  3.38M|    mp = (PyDictObject *)op;
 3291|  3.38M|    i = *ppos;
 3292|  3.38M|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   61|  3.38M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 3.38M]
  |  |  ------------------
  ------------------
 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|  3.38M|    else {
 3303|  3.38M|        Py_ssize_t n = mp->ma_keys->dk_nentries;
 3304|  3.38M|        if (i < 0 || i >= n)
  ------------------
  |  Branch (3304:13): [True: 0, False: 3.38M]
  |  Branch (3304:22): [True: 887k, False: 2.49M]
  ------------------
 3305|   887k|            return 0;
 3306|  2.49M|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  303|  2.49M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 2.14M, False: 352k]
  |  |  ------------------
  ------------------
 3307|  2.14M|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(mp->ma_keys)[i];
 3308|  2.15M|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (3308:20): [True: 2.15M, False: 134]
  |  Branch (3308:29): [True: 4.02k, False: 2.14M]
  ------------------
 3309|  4.02k|                entry_ptr++;
 3310|  4.02k|                i++;
 3311|  4.02k|            }
 3312|  2.14M|            if (i >= n)
  ------------------
  |  Branch (3312:17): [True: 134, False: 2.14M]
  ------------------
 3313|    134|                return 0;
 3314|  2.14M|            key = entry_ptr->me_key;
 3315|  2.14M|            hash = unicode_get_hash(entry_ptr->me_key);
 3316|  2.14M|            value = entry_ptr->me_value;
 3317|  2.14M|        }
 3318|   352k|        else {
 3319|   352k|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(mp->ma_keys)[i];
 3320|   352k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (3320:20): [True: 352k, False: 0]
  |  Branch (3320:29): [True: 0, False: 352k]
  ------------------
 3321|      0|                entry_ptr++;
 3322|      0|                i++;
 3323|      0|            }
 3324|   352k|            if (i >= n)
  ------------------
  |  Branch (3324:17): [True: 0, False: 352k]
  ------------------
 3325|      0|                return 0;
 3326|   352k|            key = entry_ptr->me_key;
 3327|   352k|            hash = entry_ptr->me_hash;
 3328|   352k|            value = entry_ptr->me_value;
 3329|   352k|        }
 3330|  2.49M|    }
 3331|  2.49M|    *ppos = i+1;
 3332|  2.49M|    if (pkey)
  ------------------
  |  Branch (3332:9): [True: 2.49M, False: 8]
  ------------------
 3333|  2.49M|        *pkey = key;
 3334|  2.49M|    if (pvalue)
  ------------------
  |  Branch (3334:9): [True: 2.20M, False: 296k]
  ------------------
 3335|  2.20M|        *pvalue = value;
 3336|  2.49M|    if (phash)
  ------------------
  |  Branch (3336:9): [True: 53.1k, False: 2.44M]
  ------------------
 3337|  53.1k|        *phash = hash;
 3338|  2.49M|    return 1;
 3339|  3.38M|}
PyDict_Next:
 3361|  2.95M|{
 3362|       |    return _PyDict_Next(op, ppos, pkey, pvalue, NULL);
 3363|  2.95M|}
_PyDict_Pop_KnownHash:
 3370|  26.2k|{
 3371|  26.2k|    assert(PyDict_Check(mp));
  ------------------
  |  Branch (3371:5): [True: 26.2k, False: 0]
  ------------------
 3372|  26.2k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3372:5): [True: 26.2k, False: 0]
  ------------------
 3373|       |
 3374|  26.2k|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (3374:9): [True: 0, False: 26.2k]
  ------------------
 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|  26.2k|    PyObject *old_value;
 3382|  26.2k|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3383|  26.2k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|  26.2k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3383:9): [True: 0, False: 26.2k]
  ------------------
 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|  26.2k|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  194|  52.4k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3390:9): [True: 318, False: 25.9k]
  |  Branch (3390:29): [True: 0, False: 25.9k]
  ------------------
 3391|    318|        if (result) {
  ------------------
  |  Branch (3391:13): [True: 87, False: 231]
  ------------------
 3392|     87|            *result = NULL;
 3393|     87|        }
 3394|    318|        return 0;
 3395|    318|    }
 3396|       |
 3397|  26.2k|    assert(old_value != NULL);
  ------------------
  |  Branch (3397:5): [True: 25.9k, False: 0]
  ------------------
 3398|  25.9k|    _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3399|  25.9k|    delitem_common(mp, hash, ix, Py_NewRef(old_value));
  ------------------
  |  |  647|  25.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  25.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3400|       |
 3401|  25.9k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  25.9k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (3401:5): [True: 25.9k, False: 0]
  ------------------
 3402|  25.9k|    if (result) {
  ------------------
  |  Branch (3402:9): [True: 25.9k, False: 0]
  ------------------
 3403|  25.9k|        *result = old_value;
 3404|  25.9k|    }
 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|  25.9k|    return 1;
 3409|  25.9k|}
PyDict_Pop:
 3449|  67.6k|{
 3450|  67.6k|    int err;
 3451|  67.6k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  67.6k|    {
  ------------------
 3452|  67.6k|    err = pop_lock_held(op, key, result);
 3453|  67.6k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  67.6k|    }
  ------------------
 3454|       |
 3455|  67.6k|    return err;
 3456|  67.6k|}
_PyDict_FromKeys:
 3550|     16|{
 3551|     16|    PyObject *it = NULL;       /* iter(iterable) */
 3552|     16|    PyObject *d;
 3553|     16|    int need_copy = 0;
 3554|       |
 3555|     16|    if (cls == (PyObject*)&PyFrozenDict_Type) {
  ------------------
  |  Branch (3555:9): [True: 0, False: 16]
  ------------------
 3556|       |        // gh-151722: Create a frozendict which is not tracked by the GC.
 3557|      0|        d = frozendict_new_untracked(&PyFrozenDict_Type);
 3558|      0|    }
 3559|     16|    else {
 3560|       |        // Dict subclass, or frozendict subclass which overrides
 3561|       |        // the constructor.
 3562|     16|        d = _PyObject_CallNoArgs(cls);
 3563|     16|    }
 3564|     16|    if (d == NULL) {
  ------------------
  |  Branch (3564:9): [True: 0, False: 16]
  ------------------
 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|     16|    if (PyFrozenDict_Check(d) && _PyObject_GC_IS_TRACKED(d)) {
  ------------------
  |  |   37|     16|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|     32|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyFrozenDict_Check(d) && _PyObject_GC_IS_TRACKED(d)) {
  ------------------
  |  |   81|      0|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 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|     16|    if (PyFrozenDict_Check(d)) {
  ------------------
  |  |   37|     16|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|     16|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3589|      0|        assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (3589:9): [True: 0, False: 0]
  ------------------
 3590|      0|    }
 3591|       |
 3592|     16|    if (PyDict_CheckExact(d)) {
  ------------------
  |  |   19|     16|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|     16|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 16, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3593|     16|        if (PyDict_CheckExact(iterable)) {
  ------------------
  |  |   19|     16|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|     16|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|     16|        else if (PyFrozenDict_CheckExact(iterable)) {
  ------------------
  |  |   38|     16|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|     16|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|     16|        else if (PyAnySet_CheckExact(iterable)) {
  ------------------
  |  |   29|     16|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|     32|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|     16|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|     16|    }
 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|     16|    it = PyObject_GetIter(iterable);
 3643|     16|    if (it == NULL){
  ------------------
  |  Branch (3643:9): [True: 0, False: 16]
  ------------------
 3644|      0|        goto Fail;
 3645|      0|    }
 3646|       |
 3647|     16|    if (PyDict_CheckExact(d)) {
  ------------------
  |  |   19|     16|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|     16|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 16, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3648|     16|        int status = 0;
 3649|       |
 3650|     16|        Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|     16|    {
  ------------------
 3651|     71|        while (1) {
  ------------------
  |  Branch (3651:16): [True: 71, Folded]
  ------------------
 3652|     71|            PyObject *key;
 3653|     71|            status = PyIter_NextItem(it, &key);
 3654|     71|            if (status <= 0) {
  ------------------
  |  Branch (3654:17): [True: 16, False: 55]
  ------------------
 3655|     16|                break;
 3656|     16|            }
 3657|       |
 3658|     55|            status = setitem_lock_held((PyDictObject *)d, key, value);
 3659|     55|            Py_DECREF(key);
  ------------------
  |  |  430|     55|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     55|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     55|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3660|     55|            if (status < 0) {
  ------------------
  |  Branch (3660:17): [True: 0, False: 55]
  ------------------
 3661|      0|                break;
 3662|      0|            }
 3663|     55|        }
 3664|     16|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     16|    }
  ------------------
 3665|       |
 3666|     16|        if (status < 0) {
  ------------------
  |  Branch (3666:13): [True: 0, False: 16]
  ------------------
 3667|      0|            goto Fail;
 3668|      0|        }
 3669|     16|    }
 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|     16|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (3709:5): [True: 16, False: 0]
  ------------------
 3710|     16|    Py_DECREF(it);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3711|     16|    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|     16|Done:
 3720|     16|    if (d == NULL) {
  ------------------
  |  Branch (3720:9): [True: 0, False: 16]
  ------------------
 3721|      0|        return NULL;
 3722|      0|    }
 3723|       |
 3724|     16|    if (need_copy) {
  ------------------
  |  Branch (3724:9): [True: 0, False: 16]
  ------------------
 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|     16|    else if (!_PyObject_GC_IS_TRACKED(d)) {
  ------------------
  |  |   81|     16|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (3728:14): [True: 0, False: 16]
  ------------------
 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|     16|    return d;
 3732|     16|}
_PyDict_SubscriptKnownHash:
 3887|  3.86k|{
 3888|  3.86k|    PyDictObject *mp = (PyDictObject *)self;
 3889|  3.86k|    Py_ssize_t ix;
 3890|  3.86k|    PyObject *value;
 3891|       |
 3892|  3.86k|    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 3893|  3.86k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  196|  3.86k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3893:9): [True: 0, False: 3.86k]
  ------------------
 3894|      0|        return NULL;
 3895|  3.86k|    if (ix == DKIX_EMPTY || value == NULL) {
  ------------------
  |  |  194|  7.73k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3895:9): [True: 836, False: 3.02k]
  |  Branch (3895:29): [True: 0, False: 3.02k]
  ------------------
 3896|    836|        if (!PyAnyDict_CheckExact(mp)) {
  ------------------
  |  |   41|    836|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|    836|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  1.67k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    836|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    836|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 815, 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|    836|        _PyErr_SetKeyError(key);
 3910|    836|        return NULL;
 3911|    836|    }
 3912|  3.02k|    return value;
 3913|  3.86k|}
_PyDict_Subscript:
 3917|  3.86k|{
 3918|  3.86k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3919|  3.86k|    if (hash == -1) {
  ------------------
  |  Branch (3919:9): [True: 0, False: 3.86k]
  ------------------
 3920|      0|        dict_unhashable_type(self, key);
 3921|      0|        return NULL;
 3922|      0|    }
 3923|  3.86k|    return _PyDict_SubscriptKnownHash(self, key, hash);
 3924|  3.86k|}
_PyDict_StoreSubscript:
 3928|    635|{
 3929|    635|    if (w == NULL)
  ------------------
  |  Branch (3929:9): [True: 427, False: 208]
  ------------------
 3930|    427|        return PyDict_DelItem(mp, v);
 3931|    208|    else
 3932|    208|        return PyDict_SetItem(mp, v, w);
 3933|    635|}
PyDict_Keys:
 3981|  75.2k|{
 3982|  75.2k|    PyObject *res;
 3983|  75.2k|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|  75.2k|    {
  ------------------
 3984|  75.2k|    res = keys_lock_held(dict);
 3985|  75.2k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  75.2k|    }
  ------------------
 3986|       |
 3987|  75.2k|    return res;
 3988|  75.2k|}
PyDict_Update:
 4513|    554|{
 4514|       |    return dict_merge_api(a, b, 1, NULL);
 4515|    554|}
_PyDict_MergeUniq:
 4526|    772|{
 4527|    772|    return dict_merge_api(a, b, 2, dupkey);
 4528|    772|}
PyDict_Copy:
 4689|    836|{
 4690|    836|    if (o == NULL || !PyDict_Check(o)) {
  ------------------
  |  |   18|    836|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    836|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4690:9): [True: 0, False: 836]
  |  Branch (4690:22): [True: 0, False: 836]
  ------------------
 4691|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4692|      0|        return NULL;
 4693|      0|    }
 4694|       |
 4695|    836|    PyObject *res;
 4696|    836|    Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|    836|    {
  ------------------
 4697|    836|    res = copy_lock_held_untracked(o, 0);
 4698|    836|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    836|    }
  ------------------
 4699|    836|    if (res != NULL) {
  ------------------
  |  Branch (4699:9): [True: 836, False: 0]
  ------------------
 4700|    836|        _PyObject_GC_TRACK(res);
  ------------------
  |  |  502|    836|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    836|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    836|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4701|    836|    }
 4702|    836|    return res;
 4703|    836|}
_PyDict_CopyAsDict:
 4728|    829|{
 4729|    829|    assert(PyAnyDict_Check(o));
  ------------------
  |  Branch (4729:5): [True: 829, False: 0]
  |  Branch (4729:5): [True: 0, False: 0]
  ------------------
 4730|       |
 4731|    829|    PyObject *res;
 4732|    829|    if (PyFrozenDict_Check(o)) {
  ------------------
  |  |   37|    829|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|    829|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    829|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    829|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 829]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4733|      0|        res = copy_lock_held_untracked(o, 0);
 4734|      0|    }
 4735|    829|    else {
 4736|    829|        Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|    829|    {
  ------------------
 4737|    829|        res = copy_lock_held_untracked(o, 0);
 4738|    829|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    829|    }
  ------------------
 4739|    829|    }
 4740|    829|    if (res != NULL) {
  ------------------
  |  Branch (4740:9): [True: 829, False: 0]
  ------------------
 4741|    829|        _PyObject_GC_TRACK(res);
  ------------------
  |  |  502|    829|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    829|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    829|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4742|    829|    }
 4743|    829|    return res;
 4744|    829|}
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|  2.30M|{
 5016|  2.30M|    int res;
 5017|  2.30M|    Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|  2.30M|    {
  ------------------
 5018|  2.30M|    res = dict_setdefault_ref_lock_held(d, key, default_value, result, 1);
 5019|  2.30M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.30M|    }
  ------------------
 5020|  2.30M|    return res;
 5021|  2.30M|}
_PyDict_KeysSize:
 5267|  1.69k|{
 5268|  1.69k|    size_t es = (keys->dk_kind == DICT_KEYS_GENERAL
  ------------------
  |  Branch (5268:18): [True: 3, False: 1.69k]
  ------------------
 5269|  1.69k|                 ? sizeof(PyDictKeyEntry) : sizeof(PyDictUnicodeEntry));
 5270|  1.69k|    size_t size = sizeof(PyDictKeysObject);
 5271|  1.69k|    size += (size_t)1 << keys->dk_log2_index_bytes;
 5272|  1.69k|    size += USABLE_FRACTION((size_t)DK_SIZE(keys)) * es;
  ------------------
  |  |  590|  1.69k|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
 5273|  1.69k|    return size;
 5274|  1.69k|}
PyDict_Contains:
 5388|   429k|{
 5389|   429k|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|   429k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|   429k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   859k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 429k, 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|   429k|    return dict_contains(op, key);
 5395|   429k|}
PyDict_ContainsString:
 5399|    118|{
 5400|    118|    PyObject *key_obj = PyUnicode_FromString(key);
 5401|    118|    if (key_obj == NULL) {
  ------------------
  |  Branch (5401:9): [True: 0, False: 118]
  ------------------
 5402|      0|        return -1;
 5403|      0|    }
 5404|    118|    int res = PyDict_Contains(op, key_obj);
 5405|    118|    Py_DECREF(key_obj);
  ------------------
  |  |  430|    118|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5406|    118|    return res;
 5407|    118|}
_PyDict_Contains_KnownHash:
 5412|   430k|{
 5413|   430k|    PyDictObject *mp = _PyAnyDict_CAST(op);
  ------------------
  |  |  326|   430k|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|   430k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5413:24): [True: 430k, False: 0]
  |  Branch (5413:24): [True: 0, False: 0]
  ------------------
 5414|      0|    PyObject *value;
 5415|   430k|    Py_ssize_t ix;
 5416|       |
 5417|       |#ifdef Py_GIL_DISABLED
 5418|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 5419|       |#else
 5420|   430k|    ix = _Py_dict_lookup(mp, key, hash, &value);
 5421|   430k|#endif
 5422|   430k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  196|   430k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (5422:9): [True: 0, False: 430k]
  ------------------
 5423|      0|        return -1;
 5424|   430k|    if (ix != DKIX_EMPTY && value != NULL) {
  ------------------
  |  |  194|   860k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (5424:9): [True: 164k, False: 265k]
  |  Branch (5424:29): [True: 164k, False: 0]
  ------------------
 5425|       |#ifdef Py_GIL_DISABLED
 5426|       |        Py_DECREF(value);
 5427|       |#endif
 5428|   164k|        return 1;
 5429|   164k|    }
 5430|   265k|    return 0;
 5431|   430k|}
PyDict_GetItemStringRef:
 5665|  2.62k|{
 5666|  2.62k|    PyObject *key_obj = PyUnicode_FromString(key);
 5667|  2.62k|    if (key_obj == NULL) {
  ------------------
  |  Branch (5667:9): [True: 0, False: 2.62k]
  ------------------
 5668|      0|        *result = NULL;
 5669|      0|        return -1;
 5670|      0|    }
 5671|  2.62k|    int res = PyDict_GetItemRef(v, key_obj, result);
 5672|  2.62k|    Py_DECREF(key_obj);
  ------------------
  |  |  430|  2.62k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5673|  2.62k|    return res;
 5674|  2.62k|}
PyDict_SetItemString:
 5678|  1.93k|{
 5679|  1.93k|    PyObject *kv;
 5680|  1.93k|    int err;
 5681|  1.93k|    kv = PyUnicode_FromString(key);
 5682|  1.93k|    if (kv == NULL)
  ------------------
  |  Branch (5682:9): [True: 0, False: 1.93k]
  ------------------
 5683|      0|        return -1;
 5684|  1.93k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5685|  1.93k|    _PyUnicode_InternImmortal(interp, &kv); /* XXX Should we really? */
 5686|  1.93k|    err = PyDict_SetItem(v, kv, item);
 5687|  1.93k|    Py_DECREF(kv);
  ------------------
  |  |  430|  1.93k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5688|  1.93k|    return err;
 5689|  1.93k|}
_PyDictView_New:
 6576|    424|{
 6577|    424|    _PyDictViewObject *dv;
 6578|    424|    if (dict == NULL) {
  ------------------
  |  Branch (6578:9): [True: 0, False: 424]
  ------------------
 6579|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 6580|      0|        return NULL;
 6581|      0|    }
 6582|    424|    if (!PyAnyDict_Check(dict)) {
  ------------------
  |  |   43|    424|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    424|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    848|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 424, 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|    424|    dv = PyObject_GC_New(_PyDictViewObject, type);
  ------------------
  |  |  181|    424|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    424|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6590|    424|    if (dv == NULL)
  ------------------
  |  Branch (6590:9): [True: 0, False: 424]
  ------------------
 6591|      0|        return NULL;
 6592|    424|    dv->dv_dict = (PyDictObject *)Py_NewRef(dict);
  ------------------
  |  |  647|    424|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    424|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    424|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6593|    424|    _PyObject_GC_TRACK(dv);
  ------------------
  |  |  502|    424|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    424|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    424|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6594|    424|    return (PyObject *)dv;
 6595|    424|}
_PyDictView_Intersect:
 6803|      1|{
 6804|      1|    PyObject *result;
 6805|      1|    PyObject *it;
 6806|      1|    PyObject *key;
 6807|      1|    Py_ssize_t len_self;
 6808|      1|    int rv;
 6809|      1|    objobjproc dict_contains;
 6810|       |
 6811|       |    /* Python interpreter swaps parameters when dict view
 6812|       |       is on right side of & */
 6813|      1|    if (!PyDictViewSet_Check(self)) {
  ------------------
  |  |   98|      1|    (PyDictKeys_Check(op) || PyDictItems_Check(op))
  |  |  ------------------
  |  |  |  |   93|      1|#define PyDictKeys_Check(op) PyObject_TypeCheck((op), &PyDictKeys_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDictKeys_Check(op) || PyDictItems_Check(op))
  |  |  ------------------
  |  |  |  |   95|      0|#define PyDictItems_Check(op) PyObject_TypeCheck((op), &PyDictItems_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6814|      0|        PyObject *tmp = other;
 6815|      0|        other = self;
 6816|      0|        self = tmp;
 6817|      0|    }
 6818|       |
 6819|      1|    len_self = dictview_len(self);
 6820|       |
 6821|       |    /* if other is a set and self is smaller than other,
 6822|       |       reuse set intersection logic */
 6823|      1|    if (PySet_CheckExact(other) && len_self <= PyObject_Size(other)) {
  ------------------
  |  |   35|      1|#define PySet_CheckExact(op) Py_IS_TYPE(op, &PySet_Type)
  |  |  ------------------
  |  |  |  |  215|      2|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6823:36): [True: 0, False: 0]
  ------------------
 6824|      0|        return PyObject_CallMethodObjArgs(
 6825|      0|                other, &_Py_ID(intersection), self, 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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6826|      0|    }
 6827|       |
 6828|       |    /* if other is another dict view, and it is bigger than self,
 6829|       |       swap them */
 6830|      1|    if (PyDictViewSet_Check(other)) {
  ------------------
  |  |   98|      1|    (PyDictKeys_Check(op) || PyDictItems_Check(op))
  |  |  ------------------
  |  |  |  |   93|      1|#define PyDictKeys_Check(op) PyObject_TypeCheck((op), &PyDictKeys_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDictKeys_Check(op) || PyDictItems_Check(op))
  |  |  ------------------
  |  |  |  |   95|      1|#define PyDictItems_Check(op) PyObject_TypeCheck((op), &PyDictItems_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      1|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6831|      0|        Py_ssize_t len_other = dictview_len(other);
 6832|      0|        if (len_other > len_self) {
  ------------------
  |  Branch (6832:13): [True: 0, False: 0]
  ------------------
 6833|      0|            PyObject *tmp = other;
 6834|      0|            other = self;
 6835|      0|            self = tmp;
 6836|      0|        }
 6837|      0|    }
 6838|       |
 6839|       |    /* at this point, two things should be true
 6840|       |       1. self is a dictview
 6841|       |       2. if other is a dictview then it is smaller than self */
 6842|      1|    result = PySet_New(NULL);
 6843|      1|    if (result == NULL)
  ------------------
  |  Branch (6843:9): [True: 0, False: 1]
  ------------------
 6844|      0|        return NULL;
 6845|       |
 6846|      1|    it = PyObject_GetIter(other);
 6847|      1|    if (it == NULL) {
  ------------------
  |  Branch (6847:9): [True: 0, False: 1]
  ------------------
 6848|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6849|      0|        return NULL;
 6850|      0|    }
 6851|       |
 6852|      1|    if (PyDictKeys_Check(self)) {
  ------------------
  |  |   93|      1|#define PyDictKeys_Check(op) PyObject_TypeCheck((op), &PyDictKeys_Type)
  |  |  ------------------
  |  |  |  |  378|      1|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6853|      1|        dict_contains = dictkeys_contains;
 6854|      1|    }
 6855|       |    /* else PyDictItems_Check(self) */
 6856|      0|    else {
 6857|      0|        dict_contains = dictitems_contains;
 6858|      0|    }
 6859|       |
 6860|     56|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (6860:12): [True: 55, False: 1]
  ------------------
 6861|     55|        rv = dict_contains(self, key);
 6862|     55|        if (rv < 0) {
  ------------------
  |  Branch (6862:13): [True: 0, False: 55]
  ------------------
 6863|      0|            goto error;
 6864|      0|        }
 6865|     55|        if (rv) {
  ------------------
  |  Branch (6865:13): [True: 55, False: 0]
  ------------------
 6866|     55|            if (PySet_Add(result, key)) {
  ------------------
  |  Branch (6866:17): [True: 0, False: 55]
  ------------------
 6867|      0|                goto error;
 6868|      0|            }
 6869|     55|        }
 6870|     55|        Py_DECREF(key);
  ------------------
  |  |  430|     55|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     55|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     55|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6871|     55|    }
 6872|      1|    Py_DECREF(it);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6873|      1|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (6873:9): [True: 0, False: 1]
  ------------------
 6874|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6875|      0|        return NULL;
 6876|      0|    }
 6877|      1|    return result;
 6878|       |
 6879|      0|error:
 6880|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6881|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6882|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6883|       |    return NULL;
 6884|      1|}
_PyDict_NewKeysForClass:
 7374|    708|{
 7375|    708|    int log2_bytes = get_log2_bytes(NEXT_LOG2_SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  265|    708|#define NEXT_LOG2_SHARED_KEYS_MAX_SIZE 6
  ------------------
 7376|    708|    Py_ssize_t usable = USABLE_FRACTION((size_t)1<<NEXT_LOG2_SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  590|    708|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
 7377|       |
 7378|    708|    struct _instancekeysobject *shared_keys =
 7379|    708|                          PyMem_Malloc(sizeof(struct _instancekeysobject)
 7380|    708|                          + ((size_t)1 << log2_bytes)
 7381|    708|                          + sizeof(PyDictUnicodeEntry) * usable);
 7382|    708|    if (shared_keys == NULL) {
  ------------------
  |  Branch (7382:9): [True: 0, False: 708]
  ------------------
 7383|      0|        PyErr_Clear();
 7384|      0|        return NULL;
 7385|      0|    }
 7386|       |
 7387|    708|    shared_keys->dsk_owning_type = (PyTypeObject *)cls;
 7388|    708|    PyDictKeysObject* keys = &shared_keys->dsk_keys;
 7389|    708|    init_keys_object(keys, NEXT_LOG2_SHARED_KEYS_MAX_SIZE, log2_bytes, DICT_KEYS_SPLIT,
  ------------------
  |  |  265|    708|#define NEXT_LOG2_SHARED_KEYS_MAX_SIZE 6
  ------------------
 7390|    708|                     SHARED_KEYS_MAX_SIZE, sizeof(PyDictUnicodeEntry));
  ------------------
  |  |  264|    708|#define SHARED_KEYS_MAX_SIZE 30
  ------------------
 7391|    708|    assert(keys->dk_nentries == 0);
  ------------------
  |  Branch (7391:5): [True: 708, False: 0]
  ------------------
 7392|       |    /* Set to max size+1 as it will shrink by one before each new object */
 7393|    708|    if (cls->ht_type.tp_dict) {
  ------------------
  |  Branch (7393:9): [True: 708, False: 0]
  ------------------
 7394|    708|        PyObject *attrs = PyDict_GetItem(cls->ht_type.tp_dict, &_Py_ID(__static_attributes__));
  ------------------
  |  |  951|    708|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    708|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    708|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7395|    708|        if (attrs != NULL && PyTuple_Check(attrs)) {
  ------------------
  |  |   27|    576|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    576|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 576, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7395:13): [True: 576, False: 132]
  ------------------
 7396|    882|            for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(attrs); i++) {
  ------------------
  |  |   27|    882|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    882|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    882|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7396:36): [True: 306, False: 576]
  ------------------
 7397|    306|                PyObject *key = PyTuple_GET_ITEM(attrs, i);
  ------------------
  |  |   29|    306|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    306|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    306|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7397:33): [True: 306, False: 0]
  ------------------
 7398|      0|                Py_hash_t hash;
 7399|    306|                if (PyUnicode_CheckExact(key) && (hash = unicode_get_hash(key)) != -1) {
  ------------------
  |  |  104|    306|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    612|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    306|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    306|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 306, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7399:50): [True: 306, False: 0]
  ------------------
 7400|       |                    /* An attribute stored in a slot never uses the dict. */
 7401|    306|                    PyObject *descr = _PyType_Lookup((PyTypeObject *)cls, key);
 7402|    306|                    if (descr != NULL && Py_IS_TYPE(descr, &PyMemberDescr_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: 5, False: 11]
  |  |  ------------------
  ------------------
  |  Branch (7402:25): [True: 16, False: 290]
  ------------------
 7403|      5|                        continue;
 7404|      5|                    }
 7405|    301|                    if (insert_split_key(keys, key, hash) == DKIX_EMPTY) {
  ------------------
  |  |  194|    301|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7405:25): [True: 0, False: 301]
  ------------------
 7406|      0|                        break;
 7407|      0|                    }
 7408|    301|                }
 7409|    306|            }
 7410|    576|        }
 7411|    708|    }
 7412|    708|    return keys;
 7413|    708|}
_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|   374k|{
 7427|   374k|    assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  Branch (7427:5): [True: 374k, False: 0]
  ------------------
 7428|   374k|    assert(tp->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (7428:5): [True: 374k, False: 0]
  ------------------
 7429|   374k|    assert(tp->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (7429:5): [True: 374k, False: 0]
  ------------------
 7430|   374k|    PyDictKeysObject *keys = CACHED_KEYS(tp);
  ------------------
  |  |  911|   374k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7431|   374k|    assert(keys != NULL);
  ------------------
  |  Branch (7431:5): [True: 374k, False: 0]
  ------------------
 7432|   374k|    OBJECT_STAT_INC(inline_values);
  ------------------
  |  |   77|   374k|#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|   374k|    if (keys->dk_usable > 1) {
  ------------------
  |  Branch (7443:9): [True: 2.46k, False: 372k]
  ------------------
 7444|  2.46k|        keys->dk_usable--;
 7445|  2.46k|    }
 7446|   374k|#endif
 7447|   374k|    size_t size = shared_keys_usable_size(keys);
 7448|   374k|    PyDictValues *values = _PyObject_InlineValues(obj);
 7449|   374k|    assert(size < 256);
  ------------------
  |  Branch (7449:5): [True: 374k, False: 0]
  ------------------
 7450|   374k|    values->capacity = (uint8_t)size;
 7451|   374k|    values->size = 0;
 7452|   374k|    values->embedded = 1;
 7453|   374k|    values->valid = 1;
 7454|  3.18M|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (7454:24): [True: 2.80M, False: 374k]
  ------------------
 7455|  2.80M|        values->values[i] = NULL;
 7456|  2.80M|    }
 7457|       |    _PyObject_ManagedDictPointer(obj)->dict = NULL;
 7458|   374k|}
_PyDict_SetItem_LockHeld:
 7525|  6.47k|{
 7526|  6.47k|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|  6.47k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.47k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7526:9): [True: 0, False: 6.47k]
  ------------------
 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|  6.47k|    if (value == NULL) {
  ------------------
  |  Branch (7541:9): [True: 36, False: 6.44k]
  ------------------
 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|  6.44k|    } else {
 7549|  6.44k|        return setitem_lock_held(dict, name, value);
 7550|  6.44k|    }
 7551|  6.47k|}
_PyObject_StoreInstanceAttribute:
 7672|  2.02M|{
 7673|  2.02M|    PyDictValues *values = _PyObject_InlineValues(obj);
 7674|  2.02M|    if (!FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  156|  2.02M|#define FT_ATOMIC_LOAD_UINT8(value) value
  ------------------
  |  Branch (7674:9): [True: 0, False: 2.02M]
  ------------------
 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|  2.02M|    return store_instance_attr_lock_held(obj, values, name, value);
 7725|  2.02M|#endif
 7726|  2.02M|}
_PyObject_TryGetInstanceAttribute:
 7763|   382k|{
 7764|   382k|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (7764:5): [True: 382k, False: 0]
  ------------------
 7765|   382k|    PyDictValues *values = _PyObject_InlineValues(obj);
 7766|   382k|    if (!FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  156|   382k|#define FT_ATOMIC_LOAD_UINT8(value) value
  ------------------
  |  Branch (7766:9): [True: 0, False: 382k]
  ------------------
 7767|      0|        return false;
 7768|      0|    }
 7769|       |
 7770|   382k|    PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  911|   382k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7771|   382k|    assert(keys != NULL);
  ------------------
  |  Branch (7771:5): [True: 382k, False: 0]
  ------------------
 7772|   382k|    Py_ssize_t ix = _PyDictKeys_StringLookupSplit(keys, name);
 7773|   382k|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  194|   382k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7773:9): [True: 622, False: 381k]
  ------------------
 7774|    622|        *attr = NULL;
 7775|    622|        return true;
 7776|    622|    }
 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|   381k|    PyObject *value = values->values[ix];
 7835|   381k|    *attr = Py_XNewRef(value);
  ------------------
  |  |  648|   381k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   381k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   381k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7836|       |    return true;
 7837|   382k|#endif
 7838|   382k|}
PyObject_VisitManagedDict:
 7876|  15.7k|{
 7877|  15.7k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  15.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  15.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7878|  15.7k|    if((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|  15.7k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (7878:8): [True: 0, False: 15.7k]
  ------------------
 7879|      0|        return 0;
 7880|      0|    }
 7881|  15.7k|    PyDictObject *dict = _PyObject_ManagedDictPointer(obj)->dict;
 7882|  15.7k|    if (dict != NULL) {
  ------------------
  |  Branch (7882:9): [True: 6.17k, False: 9.58k]
  ------------------
 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|  6.17k|        Py_VISIT(dict);
  ------------------
  |  |  194|  6.17k|    do {                                                                \
  |  |  195|  6.17k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 6.17k, False: 0]
  |  |  ------------------
  |  |  196|  6.17k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  6.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  6.17k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 6.17k]
  |  |  ------------------
  |  |  198|  6.17k|                return vret;                                            \
  |  |  199|  6.17k|        }                                                               \
  |  |  200|  6.17k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 6.17k]
  |  |  ------------------
  ------------------
 7887|  6.17k|    }
 7888|  9.58k|    else if (tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  9.58k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (7888:14): [True: 9.56k, False: 20]
  ------------------
 7889|  9.56k|        PyDictValues *values = _PyObject_InlineValues(obj);
 7890|  9.56k|        if (values->valid) {
  ------------------
  |  Branch (7890:13): [True: 9.56k, False: 0]
  ------------------
 7891|   186k|            for (Py_ssize_t i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (7891:36): [True: 176k, False: 9.56k]
  ------------------
 7892|   176k|                Py_VISIT(values->values[i]);
  ------------------
  |  |  194|   176k|    do {                                                                \
  |  |  195|   176k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 32.5k, False: 144k]
  |  |  ------------------
  |  |  196|  32.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  32.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  32.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 32.5k]
  |  |  ------------------
  |  |  198|  32.5k|                return vret;                                            \
  |  |  199|  32.5k|        }                                                               \
  |  |  200|   176k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 176k]
  |  |  ------------------
  ------------------
 7893|   176k|            }
 7894|  9.56k|        }
 7895|  9.56k|    }
 7896|  15.7k|    return 0;
 7897|  15.7k|}
PyObject_ClearManagedDict:
 8119|   704k|{
 8120|       |    // This is called when the object is being freed or cleared
 8121|       |    // by the GC and therefore known to have no references.
 8122|   704k|    if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  213|   704k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   704k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   704k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|   704k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (8122:9): [True: 704k, False: 7]
  ------------------
 8123|   704k|        PyDictObject *dict = _PyObject_GetManagedDict(obj);
 8124|   704k|        if (dict == NULL) {
  ------------------
  |  Branch (8124:13): [True: 704k, 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|   704k|            clear_inline_values(_PyObject_InlineValues(obj));
 8129|   704k|            return;
 8130|   704k|        }
 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|     41|{
 8236|     41|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|     41|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8237|     41|    if (_PyType_HasFeature(tp, Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|     41|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (8237:9): [True: 0, False: 41]
  ------------------
 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|     41|    else {
 8241|     41|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 8242|     41|        if (dictptr == NULL) {
  ------------------
  |  Branch (8242:13): [True: 0, False: 41]
  ------------------
 8243|      0|            PyErr_SetString(PyExc_AttributeError,
 8244|      0|                            "This object has no __dict__");
 8245|      0|            return NULL;
 8246|      0|        }
 8247|       |
 8248|     41|        return Py_XNewRef(ensure_nonmanaged_dict(obj, dictptr));
  ------------------
  |  |  648|     41|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8249|     41|    }
 8250|     41|}
_PyObjectDict_SetItem:
 8255|  6.11k|{
 8256|  6.11k|    PyObject *dict;
 8257|  6.11k|    int res;
 8258|       |
 8259|  6.11k|    assert(dictptr != NULL);
  ------------------
  |  Branch (8259:5): [True: 6.11k, False: 0]
  ------------------
 8260|  6.11k|    dict = ensure_nonmanaged_dict(obj, dictptr);
 8261|  6.11k|    if (dict == NULL) {
  ------------------
  |  Branch (8261:9): [True: 0, False: 6.11k]
  ------------------
 8262|      0|        return -1;
 8263|      0|    }
 8264|       |
 8265|  6.11k|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|  6.11k|    {
  ------------------
 8266|  6.11k|    res = _PyDict_SetItem_LockHeld((PyDictObject *)dict, key, value);
 8267|  6.11k|    ASSERT_CONSISTENT(dict);
  ------------------
  |  |  668|  6.11k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (8267:5): [True: 6.11k, False: 0]
  ------------------
 8268|  6.11k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  6.11k|    }
  ------------------
 8269|  6.11k|    return res;
 8270|  6.11k|}
_PyDictKeys_DecRef:
 8274|      4|{
 8275|       |    dictkeys_decref(keys, false);
 8276|      4|}
_PyDictKeys_GetVersionForCurrentState:
 8305|  3.11k|{
 8306|  3.11k|    uint32_t dk_version = FT_ATOMIC_LOAD_UINT32_RELAXED(dictkeys->dk_version);
  ------------------
  |  |  161|  3.11k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  ------------------
 8307|  3.11k|    if (dk_version != 0) {
  ------------------
  |  Branch (8307:9): [True: 2.87k, False: 237]
  ------------------
 8308|  2.87k|        return dk_version;
 8309|  2.87k|    }
 8310|    237|    dk_version = get_next_dict_keys_version(interp);
 8311|    237|    FT_ATOMIC_STORE_UINT32_RELAXED(dictkeys->dk_version, dk_version);
  ------------------
  |  |  175|    237|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 8312|    237|    return dk_version;
 8313|  3.11k|}
_PyDict_GetKeysVersionForCurrentState:
 8318|  2.75k|{
 8319|  2.75k|    ASSERT_DICT_LOCKED((PyObject *) dict);
 8320|  2.75k|    uint32_t dk_version =
 8321|  2.75k|        _PyDictKeys_GetVersionForCurrentState(interp, dict->ma_keys);
 8322|  2.75k|    ensure_shared_on_keys_version_assignment(dict);
 8323|  2.75k|    return dk_version;
 8324|  2.75k|}
PyDict_Watch:
 8348|  2.60k|{
 8349|  2.60k|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|  2.60k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.60k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8349:9): [True: 0, False: 2.60k]
  ------------------
 8350|      0|        PyErr_SetString(PyExc_ValueError, "Cannot watch non-dictionary");
 8351|      0|        return -1;
 8352|      0|    }
 8353|  2.60k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 8354|  2.60k|    if (validate_watcher_id(interp, watcher_id)) {
  ------------------
  |  Branch (8354:9): [True: 0, False: 2.60k]
  ------------------
 8355|      0|        return -1;
 8356|      0|    }
 8357|  2.60k|    FT_ATOMIC_OR_UINT64(((PyDictObject*)dict)->_ma_watcher_tag,
  ------------------
  |  |  177|  2.60k|#define FT_ATOMIC_OR_UINT64(value, new_value) (void)(value |= new_value)
  ------------------
 8358|  2.60k|                        1ULL << watcher_id);
 8359|  2.60k|    return 0;
 8360|  2.60k|}
_PyDict_SendEvent:
 8435|  9.26k|{
 8436|  9.26k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 8437|  83.3k|    for (int i = 0; i < DICT_MAX_WATCHERS; i++) {
  ------------------
  |  |   11|  83.3k|#define DICT_MAX_WATCHERS 8
  ------------------
  |  Branch (8437:21): [True: 74.0k, False: 9.26k]
  ------------------
 8438|  74.0k|        if (watcher_bits & 1) {
  ------------------
  |  Branch (8438:13): [True: 9.26k, False: 64.8k]
  ------------------
 8439|  9.26k|            PyDict_WatchCallback cb = FT_ATOMIC_LOAD_PTR_ACQUIRE(
  ------------------
  |  |  152|  9.26k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 8440|  9.26k|                interp->dict_state.watchers[i]);
 8441|  9.26k|            if (cb && (cb(event, (PyObject*)mp, key, value) < 0)) {
  ------------------
  |  Branch (8441:17): [True: 9.26k, False: 0]
  |  Branch (8441:23): [True: 0, False: 9.26k]
  ------------------
 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|  9.26k|        }
 8451|  74.0k|        watcher_bits >>= 1;
 8452|  74.0k|    }
 8453|  9.26k|}
dictobject.c:dictkeys_get_index:
  528|  22.7M|{
  529|  22.7M|    int log2size = DK_LOG_SIZE(keys);
  ------------------
  |  |  281|  22.7M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  313|  22.7M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  530|  22.7M|    Py_ssize_t ix;
  531|       |
  532|  22.7M|    if (log2size < 8) {
  ------------------
  |  Branch (532:9): [True: 17.7M, False: 4.99M]
  ------------------
  533|  17.7M|        ix = LOAD_INDEX(keys, 8, i);
  ------------------
  |  |  271|  17.7M|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  534|  17.7M|    }
  535|  4.99M|    else if (log2size < 16) {
  ------------------
  |  Branch (535:14): [True: 4.53M, False: 452k]
  ------------------
  536|  4.53M|        ix = LOAD_INDEX(keys, 16, i);
  ------------------
  |  |  271|  4.53M|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  537|  4.53M|    }
  538|   452k|#if SIZEOF_VOID_P > 4
  539|   452k|    else if (log2size >= 32) {
  ------------------
  |  Branch (539:14): [True: 0, False: 452k]
  ------------------
  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|   452k|#endif
  543|   452k|    else {
  544|   452k|        ix = LOAD_INDEX(keys, 32, i);
  ------------------
  |  |  271|   452k|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  545|   452k|    }
  546|  22.7M|    assert(ix >= DKIX_DUMMY);
  ------------------
  |  Branch (546:5): [True: 22.7M, False: 0]
  ------------------
  547|  22.7M|    return ix;
  548|  22.7M|}
dictobject.c:unicode_get_hash:
  451|  8.10M|{
  452|  8.10M|    return PyUnstable_Unicode_GET_CACHED_HASH(o);
  453|  8.10M|}
dictobject.c:new_dict:
  973|   609k|{
  974|   609k|    PyDictObject *mp = _Py_FREELIST_POP(PyDictObject, dicts);
  ------------------
  |  |   43|   609k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|   609k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  975|   609k|    if (mp == NULL) {
  ------------------
  |  Branch (975:9): [True: 96.1k, False: 513k]
  ------------------
  976|  96.1k|        mp = PyObject_GC_New(PyDictObject, &PyDict_Type);
  ------------------
  |  |  181|  96.1k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  96.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  977|  96.1k|    }
  978|   609k|    assert(mp == NULL || Py_IS_TYPE(mp, &PyDict_Type));
  ------------------
  |  Branch (978:5): [True: 0, False: 609k]
  |  Branch (978:5): [True: 609k, False: 0]
  ------------------
  979|       |
  980|   609k|    return new_dict_impl(mp, keys, values, used, free_values_on_failure, 0, 1);
  981|   609k|}
dictobject.c:new_dict_impl:
  945|   611k|{
  946|   611k|    assert(keys != NULL);
  ------------------
  |  Branch (946:5): [True: 611k, False: 0]
  ------------------
  947|   611k|    if (mp == NULL) {
  ------------------
  |  Branch (947:9): [True: 0, False: 611k]
  ------------------
  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|   611k|    mp->ma_keys = keys;
  956|   611k|    mp->ma_values = values;
  957|   611k|    mp->ma_used = used;
  958|   611k|    mp->_ma_watcher_tag = 0;
  959|   611k|    if (frozendict) {
  ------------------
  |  Branch (959:9): [True: 0, False: 611k]
  ------------------
  960|      0|        ((PyFrozenDictObject *)mp)->ma_hash = -1;
  961|      0|    }
  962|   611k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|   611k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (962:5): [True: 611k, False: 0]
  ------------------
  963|   611k|    if (gc_track) {
  ------------------
  |  Branch (963:9): [True: 609k, False: 1.66k]
  ------------------
  964|   609k|        _PyObject_GC_TRACK(mp);
  ------------------
  |  |  502|   609k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   609k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   609k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|   609k|    }
  966|   611k|    return (PyObject *)mp;
  967|   611k|}
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|    432|{
 1253|    432|    return PyUnicode_CheckExact(key) && (dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  |  104|    432|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    864|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    432|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    432|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 432, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1253:41): [True: 432, False: 0]
  ------------------
 1254|    432|}
dictobject.c:hash_unicode_key:
 1258|  83.9k|{
 1259|  83.9k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1259:5): [True: 83.9k, False: 0]
  ------------------
 1260|  83.9k|    Py_hash_t hash = unicode_get_hash(key);
 1261|  83.9k|    if (hash == -1) {
  ------------------
  |  Branch (1261:9): [True: 0, False: 83.9k]
  ------------------
 1262|      0|        hash = PyUnicode_Type.tp_hash(key);
 1263|      0|        assert(hash != -1);
  ------------------
  |  Branch (1263:9): [True: 0, False: 0]
  ------------------
 1264|      0|    }
 1265|  83.9k|    return hash;
 1266|  83.9k|}
dictobject.c:unicodekeys_lookup_unicode:
 1212|  9.66M|{
 1213|       |    return do_lookup(NULL, dk, key, hash, compare_unicode_unicode);
 1214|  9.66M|}
dictobject.c:compare_unicode_unicode:
 1198|  9.74M|{
 1199|  9.74M|    PyDictUnicodeEntry *ep = &((PyDictUnicodeEntry *)ep0)[ix];
 1200|  9.74M|    PyObject *ep_key = FT_ATOMIC_LOAD_PTR_CONSUME(ep->me_key);
  ------------------
  |  |  153|  9.74M|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  ------------------
 1201|  9.74M|    assert(ep_key != NULL);
  ------------------
  |  Branch (1201:5): [True: 9.74M, False: 0]
  ------------------
 1202|  9.74M|    assert(PyUnicode_CheckExact(ep_key));
  ------------------
  |  Branch (1202:5): [True: 9.74M, False: 0]
  ------------------
 1203|  9.74M|    if (ep_key == key ||
  ------------------
  |  Branch (1203:9): [True: 6.97M, False: 2.76M]
  ------------------
 1204|  7.28M|            (unicode_get_hash(ep_key) == hash && unicode_eq(ep_key, key))) {
  ------------------
  |  Branch (1204:14): [True: 308k, False: 2.46M]
  |  Branch (1204:50): [True: 308k, False: 94]
  ------------------
 1205|  7.28M|        return 1;
 1206|  7.28M|    }
 1207|  2.46M|    return 0;
 1208|  9.74M|}
dictobject.c:unicodekeys_lookup_split:
 1276|   382k|{
 1277|   382k|    Py_ssize_t ix;
 1278|   382k|    assert(dk->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (1278:5): [True: 382k, False: 0]
  ------------------
 1279|   382k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1279:5): [True: 382k, 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|   382k|    ix = unicodekeys_lookup_unicode(dk, key, hash);
 1293|   382k|#endif
 1294|   382k|    return ix;
 1295|   382k|}
dictobject.c:unicodekeys_lookup_generic:
 1191|   105k|{
 1192|   105k|    return do_lookup(mp, dk, key, hash, compare_unicode_generic);
 1193|   105k|}
dictobject.c:compare_unicode_generic:
 1163|  8.85k|{
 1164|  8.85k|    PyDictUnicodeEntry *ep = &((PyDictUnicodeEntry *)ep0)[ix];
 1165|  8.85k|    assert(ep->me_key != NULL);
  ------------------
  |  Branch (1165:5): [True: 8.85k, False: 0]
  ------------------
 1166|  8.85k|    assert(PyUnicode_CheckExact(ep->me_key));
  ------------------
  |  Branch (1166:5): [True: 8.85k, False: 0]
  ------------------
 1167|  8.85k|    assert(!PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1167:5): [True: 8.85k, False: 0]
  ------------------
 1168|       |
 1169|  8.85k|    if (unicode_get_hash(ep->me_key) == hash) {
  ------------------
  |  Branch (1169:9): [True: 126, False: 8.72k]
  ------------------
 1170|    126|        PyObject *startkey = ep->me_key;
 1171|    126|        Py_INCREF(startkey);
  ------------------
  |  |  310|    126|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1172|    126|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|    126|#define Py_EQ 2
  ------------------
 1173|    126|        Py_DECREF(startkey);
  ------------------
  |  |  430|    126|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1174|    126|        if (cmp < 0) {
  ------------------
  |  Branch (1174:13): [True: 0, False: 126]
  ------------------
 1175|      0|            return DKIX_ERROR;
  ------------------
  |  |  196|      0|#define DKIX_ERROR (-3)
  ------------------
 1176|      0|        }
 1177|    126|        if (dk == mp->ma_keys && ep->me_key == startkey) {
  ------------------
  |  Branch (1177:13): [True: 126, False: 0]
  |  Branch (1177:34): [True: 126, False: 0]
  ------------------
 1178|    126|            return cmp;
 1179|    126|        }
 1180|      0|        else {
 1181|       |            /* The dict was mutated, restart */
 1182|      0|            return DKIX_KEY_CHANGED;
  ------------------
  |  |  197|      0|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
 1183|      0|        }
 1184|    126|    }
 1185|  8.72k|    return 0;
 1186|  8.85k|}
dictobject.c:dictkeys_generic_lookup:
 1246|  3.96M|{
 1247|  3.96M|    return do_lookup(mp, dk, key, hash, compare_generic);
 1248|  3.96M|}
dictobject.c:compare_generic:
 1219|  4.33M|{
 1220|  4.33M|    PyDictKeyEntry *ep = &((PyDictKeyEntry *)ep0)[ix];
 1221|  4.33M|    assert(ep->me_key != NULL);
  ------------------
  |  Branch (1221:5): [True: 4.33M, False: 0]
  ------------------
 1222|  4.33M|    if (ep->me_key == key) {
  ------------------
  |  Branch (1222:9): [True: 1.47M, False: 2.85M]
  ------------------
 1223|  1.47M|        return 1;
 1224|  1.47M|    }
 1225|  2.85M|    if (ep->me_hash == hash) {
  ------------------
  |  Branch (1225:9): [True: 1.14M, False: 1.71M]
  ------------------
 1226|  1.14M|        PyObject *startkey = ep->me_key;
 1227|  1.14M|        Py_INCREF(startkey);
  ------------------
  |  |  310|  1.14M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1228|  1.14M|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|  1.14M|#define Py_EQ 2
  ------------------
 1229|  1.14M|        Py_DECREF(startkey);
  ------------------
  |  |  430|  1.14M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1230|  1.14M|        if (cmp < 0) {
  ------------------
  |  Branch (1230:13): [True: 0, False: 1.14M]
  ------------------
 1231|      0|            return DKIX_ERROR;
  ------------------
  |  |  196|      0|#define DKIX_ERROR (-3)
  ------------------
 1232|      0|        }
 1233|  1.14M|        if (dk == mp->ma_keys && ep->me_key == startkey) {
  ------------------
  |  Branch (1233:13): [True: 1.14M, False: 0]
  |  Branch (1233:34): [True: 1.14M, False: 0]
  ------------------
 1234|  1.14M|            return cmp;
 1235|  1.14M|        }
 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|  1.14M|    }
 1241|  1.71M|    return 0;
 1242|  2.85M|}
dictobject.c:can_modify_dict:
  306|  7.38M|{
  307|  7.38M|    if (PyFrozenDict_Check(mp)) {
  ------------------
  |  |   37|  7.38M|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  7.38M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.38M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.38M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 3, False: 7.38M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  7.38M|    else {
  317|       |        // Locking is only required if the dictionary is not
  318|       |        // uniquely referenced.
  319|  7.38M|        ASSERT_DICT_LOCKED(mp);
  320|  7.38M|    }
  321|  7.38M|    return 1;
  322|  7.38M|}
dictobject.c:dict_new_presized:
 2360|  2.36k|{
 2361|  2.36k|    const uint8_t log2_max_presize = 17;
 2362|  2.36k|    const Py_ssize_t max_presize = ((Py_ssize_t)1) << log2_max_presize;
 2363|  2.36k|    uint8_t log2_newsize;
 2364|  2.36k|    PyDictKeysObject *new_keys;
 2365|       |
 2366|  2.36k|    if (minused <= USABLE_FRACTION(PyDict_MINSIZE)) {
  ------------------
  |  |  590|  2.36k|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (2366:9): [True: 2.15k, False: 212]
  ------------------
 2367|  2.15k|        return PyDict_New();
 2368|  2.15k|    }
 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|    212|    if (minused > USABLE_FRACTION(max_presize)) {
  ------------------
  |  |  590|    212|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (2373:9): [True: 0, False: 212]
  ------------------
 2374|      0|        log2_newsize = log2_max_presize;
 2375|      0|    }
 2376|    212|    else {
 2377|    212|        log2_newsize = estimate_log2_keysize(minused);
 2378|    212|    }
 2379|       |
 2380|    212|    new_keys = new_keys_object(log2_newsize, unicode);
 2381|    212|    if (new_keys == NULL)
  ------------------
  |  Branch (2381:9): [True: 0, False: 212]
  ------------------
 2382|      0|        return NULL;
 2383|    212|    return new_dict(new_keys, NULL, 0, 0);
 2384|    212|}
dictobject.c:estimate_log2_keysize:
  622|    213|{
  623|    213|    return calculate_log2_keysize((n*3 + 1) / 2);
  624|    213|}
dictobject.c:calculate_log2_keysize:
  595|   131k|{
  596|   131k|#if SIZEOF_LONG == SIZEOF_SIZE_T
  597|   131k|    minsize = Py_MAX(minsize, PyDict_MINSIZE);
  ------------------
  |  |  133|   131k|       __extension__ \
  |  |  134|   131k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|   131k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|   131k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|   131k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|   131k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 102k, False: 29.4k]
  |  |  ------------------
  ------------------
  598|   131k|    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|   131k|}
dictobject.c:new_keys_object:
  849|   550k|{
  850|   550k|    Py_ssize_t usable = USABLE_FRACTION((size_t)1<<log2_size);
  ------------------
  |  |  590|   550k|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  851|   550k|    size_t entry_size = unicode ? sizeof(PyDictUnicodeEntry) : sizeof(PyDictKeyEntry);
  ------------------
  |  Branch (851:25): [True: 404k, False: 145k]
  ------------------
  852|       |
  853|   550k|    int log2_bytes = get_log2_bytes(log2_size);
  854|       |
  855|   550k|    PyDictKeysObject *dk = NULL;
  856|   550k|    if (log2_size == PyDict_LOG_MINSIZE && unicode) {
  ------------------
  |  |  115|  1.10M|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (856:9): [True: 447k, False: 102k]
  |  Branch (856:44): [True: 349k, False: 98.6k]
  ------------------
  857|   349k|        dk = _Py_FREELIST_POP_MEM(dictkeys);
  ------------------
  |  |   48|   349k|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
  858|   349k|    }
  859|   550k|    if (dk == NULL) {
  ------------------
  |  Branch (859:9): [True: 253k, False: 296k]
  ------------------
  860|   253k|        dk = PyMem_Malloc(sizeof(PyDictKeysObject)
  861|   253k|                          + ((size_t)1 << log2_bytes)
  862|   253k|                          + entry_size * usable);
  863|   253k|        if (dk == NULL) {
  ------------------
  |  Branch (863:13): [True: 0, False: 253k]
  ------------------
  864|      0|            PyErr_NoMemory();
  865|      0|            return NULL;
  866|      0|        }
  867|   253k|    }
  868|   550k|    init_keys_object(dk, log2_size, log2_bytes,
  869|   550k|                     unicode ? DICT_KEYS_UNICODE : DICT_KEYS_GENERAL,
  ------------------
  |  Branch (869:22): [True: 404k, False: 145k]
  ------------------
  870|   550k|                     usable, entry_size);
  871|   550k|    return dk;
  872|   550k|}
dictobject.c:dict_getitem:
 2442|    708|{
 2443|    708|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|    708|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    708|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.41k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 708, 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|    708|    PyDictObject *mp = (PyDictObject *)op;
 2447|       |
 2448|    708|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2449|    708|    if (hash == -1) {
  ------------------
  |  Branch (2449:9): [True: 0, False: 708]
  ------------------
 2450|      0|        PyErr_FormatUnraisable(warnmsg);
 2451|      0|        return NULL;
 2452|      0|    }
 2453|       |
 2454|    708|    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|    708|    PyObject *value;
 2463|    708|    Py_ssize_t ix; (void)ix;
 2464|       |
 2465|    708|    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|    708|    ix = _Py_dict_lookup(mp, key, hash, &value);
 2471|    708|#endif
 2472|       |
 2473|       |    /* Ignore any exception raised by the lookup */
 2474|    708|    PyObject *exc2 = _PyErr_Occurred(tstate);
 2475|    708|    if (exc2 && !PyErr_GivenExceptionMatches(exc2, PyExc_KeyError)) {
  ------------------
  |  Branch (2475:9): [True: 0, False: 708]
  |  Branch (2475:17): [True: 0, False: 0]
  ------------------
 2476|      0|        PyErr_FormatUnraisable(warnmsg);
 2477|      0|    }
 2478|    708|    _PyErr_SetRaisedException(tstate, exc);
 2479|       |
 2480|    708|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2480:5): [True: 576, False: 132]
  |  Branch (2480:5): [True: 132, False: 0]
  ------------------
 2481|    708|    return value;  // borrowed reference
 2482|    708|}
dictobject.c:do_lookup:
 1119|  13.7M|{
 1120|  13.7M|    void *ep0 = _DK_ENTRIES(dk);
 1121|  13.7M|    size_t mask = DK_MASK(dk);
  ------------------
  |  |  467|  13.7M|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  283|  13.7M|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  281|  13.7M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  313|  13.7M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1122|  13.7M|    size_t perturb = hash;
 1123|  13.7M|    size_t i = (size_t)hash & mask;
 1124|  13.7M|    Py_ssize_t ix;
 1125|  14.8M|    for (;;) {
 1126|  14.8M|        ix = dictkeys_get_index(dk, i);
 1127|  14.8M|        if (ix >= 0) {
  ------------------
  |  Branch (1127:13): [True: 11.8M, False: 3.03M]
  ------------------
 1128|  11.8M|            int cmp = check_lookup(mp, dk, ep0, ix, key, hash);
 1129|  11.8M|            if (cmp < 0) {
  ------------------
  |  Branch (1129:17): [True: 0, False: 11.8M]
  ------------------
 1130|      0|                return cmp;
 1131|  11.8M|            } else if (cmp) {
  ------------------
  |  Branch (1131:24): [True: 8.71M, False: 3.10M]
  ------------------
 1132|  8.71M|                return ix;
 1133|  8.71M|            }
 1134|  11.8M|        }
 1135|  3.03M|        else if (ix == DKIX_EMPTY) {
  ------------------
  |  |  194|  3.03M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1135:18): [True: 3.01M, False: 18.2k]
  ------------------
 1136|  3.01M|            return DKIX_EMPTY;
  ------------------
  |  |  194|  3.01M|#define DKIX_EMPTY (-1)
  ------------------
 1137|  3.01M|        }
 1138|  3.12M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  3.12M|#define PERTURB_SHIFT 5
  ------------------
 1139|  3.12M|        i = mask & (i*5 + perturb + 1);
 1140|       |
 1141|       |        // Manual loop unrolling
 1142|  3.12M|        ix = dictkeys_get_index(dk, i);
 1143|  3.12M|        if (ix >= 0) {
  ------------------
  |  Branch (1143:13): [True: 2.26M, False: 855k]
  ------------------
 1144|  2.26M|            int cmp = check_lookup(mp, dk, ep0, ix, key, hash);
 1145|  2.26M|            if (cmp < 0) {
  ------------------
  |  Branch (1145:17): [True: 0, False: 2.26M]
  ------------------
 1146|      0|                return cmp;
 1147|  2.26M|            } else if (cmp) {
  ------------------
  |  Branch (1147:24): [True: 1.16M, False: 1.10M]
  ------------------
 1148|  1.16M|                return ix;
 1149|  1.16M|            }
 1150|  2.26M|        }
 1151|   855k|        else if (ix == DKIX_EMPTY) {
  ------------------
  |  |  194|   855k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1151:18): [True: 847k, False: 7.87k]
  ------------------
 1152|   847k|            return DKIX_EMPTY;
  ------------------
  |  |  194|   847k|#define DKIX_EMPTY (-1)
  ------------------
 1153|   847k|        }
 1154|  1.11M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  1.11M|#define PERTURB_SHIFT 5
  ------------------
 1155|  1.11M|        i = mask & (i*5 + perturb + 1);
 1156|  1.11M|    }
 1157|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1158|  13.7M|}
dictobject.c:setitem_take2_lock_held:
 2876|  2.09M|{
 2877|  2.09M|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2878|  2.09M|    if (hash == -1) {
  ------------------
  |  Branch (2878:9): [True: 0, False: 2.09M]
  ------------------
 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|  2.09M|    return setitem_take2_lock_held_known_hash(mp, key, value, hash);
 2886|  2.09M|}
dictobject.c:setitem_take2_lock_held_known_hash:
 2861|  2.09M|{
 2862|  2.09M|    assert(PyAnyDict_Check(mp));
  ------------------
  |  Branch (2862:5): [True: 2.09M, False: 0]
  |  Branch (2862:5): [True: 0, False: 0]
  ------------------
 2863|  2.09M|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2863:5): [True: 2.09M, False: 0]
  ------------------
 2864|  2.09M|    assert(key);
  ------------------
  |  Branch (2864:5): [True: 2.09M, False: 0]
  ------------------
 2865|  2.09M|    assert(value);
  ------------------
  |  Branch (2865:5): [True: 2.09M, False: 0]
  ------------------
 2866|       |
 2867|  2.09M|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|  2.09M|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2867:9): [True: 406k, False: 1.68M]
  ------------------
 2868|   406k|        return insert_to_emptydict(mp, key, hash, value);
 2869|   406k|    }
 2870|       |    /* insertdict() handles any resizing that might be necessary */
 2871|  1.68M|    return insertdict(mp, key, hash, value);
 2872|  2.09M|}
dictobject.c:setitem_lock_held:
 2946|  9.43k|{
 2947|  9.43k|    assert(key);
  ------------------
  |  Branch (2947:5): [True: 9.43k, False: 0]
  ------------------
 2948|  9.43k|    assert(value);
  ------------------
  |  Branch (2948:5): [True: 9.43k, False: 0]
  ------------------
 2949|  9.43k|    return setitem_take2_lock_held(mp,
 2950|  9.43k|                                   Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  647|  9.43k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  647|  9.43k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2951|  9.43k|}
dictobject.c:insert_to_emptydict:
 2107|   418k|{
 2108|   418k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2108:5): [True: 418k, False: 0]
  ------------------
 2109|   418k|    assert(mp->ma_keys == Py_EMPTY_KEYS);
  ------------------
  |  Branch (2109:5): [True: 418k, False: 0]
  ------------------
 2110|       |
 2111|   418k|    int unicode = PyUnicode_CheckExact(key);
  ------------------
  |  |  104|   418k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   418k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   418k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   418k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2112|   418k|    PyDictKeysObject *newkeys = new_keys_object(PyDict_LOG_MINSIZE, unicode);
  ------------------
  |  |  115|   418k|#define PyDict_LOG_MINSIZE 3
  ------------------
 2113|   418k|    if (newkeys == NULL) {
  ------------------
  |  Branch (2113:9): [True: 0, False: 418k]
  ------------------
 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|   418k|    _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 2119|       |
 2120|       |    /* We don't decref Py_EMPTY_KEYS here because it is immortal. */
 2121|   418k|    assert(mp->ma_values == NULL);
  ------------------
  |  Branch (2121:5): [True: 418k, False: 0]
  ------------------
 2122|       |
 2123|   418k|    size_t hashpos = (size_t)hash & (PyDict_MINSIZE-1);
  ------------------
  |  |  116|   418k|#define PyDict_MINSIZE 8
  ------------------
 2124|   418k|    dictkeys_set_index(newkeys, hashpos, 0);
 2125|   418k|    if (unicode) {
  ------------------
  |  Branch (2125:9): [True: 349k, False: 69.2k]
  ------------------
 2126|   349k|        PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(newkeys);
 2127|   349k|        ep->me_key = key;
 2128|   349k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|   349k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|   349k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2129|   349k|    }
 2130|  69.2k|    else {
 2131|  69.2k|        PyDictKeyEntry *ep = DK_ENTRIES(newkeys);
 2132|  69.2k|        ep->me_key = key;
 2133|  69.2k|        ep->me_hash = hash;
 2134|  69.2k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|  69.2k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|  69.2k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2135|  69.2k|    }
 2136|   418k|    STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|   418k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|   418k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2137|   418k|    newkeys->dk_usable--;
 2138|   418k|    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|   418k|    FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_keys, newkeys);
  ------------------
  |  |  166|   418k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 2145|   418k|    return 0;
 2146|   418k|}
dictobject.c:dictkeys_set_index:
  553|  3.56M|{
  554|  3.56M|    int log2size = DK_LOG_SIZE(keys);
  ------------------
  |  |  281|  3.56M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  313|  3.56M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  555|       |
  556|  3.56M|    assert(ix >= DKIX_DUMMY);
  ------------------
  |  Branch (556:5): [True: 3.56M, False: 0]
  ------------------
  557|  3.56M|    assert(keys->dk_version == 0);
  ------------------
  |  Branch (557:5): [True: 3.56M, False: 0]
  ------------------
  558|       |
  559|  3.56M|    if (log2size < 8) {
  ------------------
  |  Branch (559:9): [True: 2.72M, False: 838k]
  ------------------
  560|  2.72M|        assert(ix <= 0x7f);
  ------------------
  |  Branch (560:9): [True: 2.72M, False: 0]
  ------------------
  561|  2.72M|        STORE_INDEX(keys, 8, i, ix);
  ------------------
  |  |  272|  2.72M|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  562|  2.72M|    }
  563|   838k|    else if (log2size < 16) {
  ------------------
  |  Branch (563:14): [True: 737k, False: 101k]
  ------------------
  564|   737k|        assert(ix <= 0x7fff);
  ------------------
  |  Branch (564:9): [True: 737k, False: 0]
  ------------------
  565|   737k|        STORE_INDEX(keys, 16, i, ix);
  ------------------
  |  |  272|   737k|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  566|   737k|    }
  567|   101k|#if SIZEOF_VOID_P > 4
  568|   101k|    else if (log2size >= 32) {
  ------------------
  |  Branch (568:14): [True: 0, False: 101k]
  ------------------
  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|   101k|#endif
  572|   101k|    else {
  573|   101k|        assert(ix <= 0x7fffffff);
  ------------------
  |  Branch (573:9): [True: 101k, False: 0]
  ------------------
  574|   101k|        STORE_INDEX(keys, 32, i, ix);
  ------------------
  |  |  272|   101k|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  575|   101k|    }
  576|  3.56M|}
dictobject.c:insertdict:
 2054|  1.69M|{
 2055|  1.69M|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2055:5): [True: 1.69M, False: 0]
  ------------------
 2056|       |
 2057|  1.69M|    PyObject *old_value = NULL;
 2058|  1.69M|    Py_ssize_t ix;
 2059|       |
 2060|  1.69M|    if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |   61|  3.39M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 1.45k, False: 1.69M]
  |  |  ------------------
  ------------------
                  if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  1.45k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.45k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.45k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2061|  1.45k|        ix = insert_split_key(mp->ma_keys, key, hash);
 2062|  1.45k|        if (ix != DKIX_EMPTY) {
  ------------------
  |  |  194|  1.45k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2062:13): [True: 1.45k, False: 0]
  ------------------
 2063|  1.45k|            _PyDict_InsertSplitValue(mp, key, value, ix);
 2064|  1.45k|            Py_DECREF(key);
  ------------------
  |  |  430|  1.45k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2065|  1.45k|            Py_DECREF(value);
  ------------------
  |  |  430|  1.45k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2066|  1.45k|            return 0;
 2067|  1.45k|        }
 2068|       |        // No space in shared keys. Go to insert_combined_dict() below.
 2069|  1.45k|    }
 2070|  1.69M|    else {
 2071|  1.69M|        ix = _Py_dict_lookup(mp, key, hash, &old_value);
 2072|  1.69M|        if (ix == DKIX_ERROR)
  ------------------
  |  |  196|  1.69M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2072:13): [True: 0, False: 1.69M]
  ------------------
 2073|      0|            goto Fail;
 2074|  1.69M|    }
 2075|       |
 2076|  1.69M|    if (old_value == NULL) {
  ------------------
  |  Branch (2076:9): [True: 1.09M, False: 603k]
  ------------------
 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|  1.09M|        if (insert_combined_dict(mp, hash, key, value) < 0) {
  ------------------
  |  Branch (2084:13): [True: 0, False: 1.09M]
  ------------------
 2085|      0|            goto Fail;
 2086|      0|        }
 2087|  1.09M|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|  1.09M|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|  1.09M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2088|  1.09M|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  1.09M|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2088:9): [True: 1.09M, False: 0]
  ------------------
 2089|  1.09M|        return 0;
 2090|  1.09M|    }
 2091|       |
 2092|   603k|    replace_value(mp, key, ix, old_value, value);
 2093|   603k|    Py_DECREF(key);
  ------------------
  |  |  430|   603k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   603k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   603k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2094|   603k|    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|  1.69M|}
dictobject.c:insert_combined_dict:
 1905|  1.59M|{
 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|  1.59M|    if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  303|  3.18M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 842k, False: 750k]
  |  |  ------------------
  ------------------
                  if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|   842k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   842k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   842k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   842k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1908:39): [True: 30.8k, False: 811k]
  ------------------
 1909|  30.8k|        if (insertion_resize(mp, 0) < 0)
  ------------------
  |  Branch (1909:13): [True: 0, False: 30.8k]
  ------------------
 1910|      0|            return -1;
 1911|  30.8k|        assert(mp->ma_keys->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (1911:9): [True: 30.8k, False: 0]
  ------------------
 1912|  30.8k|    }
 1913|       |
 1914|  1.59M|    if (mp->ma_keys->dk_usable <= 0) {
  ------------------
  |  Branch (1914:9): [True: 100k, False: 1.49M]
  ------------------
 1915|       |        /* Need to resize. */
 1916|   100k|        if (insertion_resize(mp, 1) < 0) {
  ------------------
  |  Branch (1916:13): [True: 0, False: 100k]
  ------------------
 1917|      0|            return -1;
 1918|      0|        }
 1919|   100k|    }
 1920|       |
 1921|  1.59M|    _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 1922|  1.59M|    FT_ATOMIC_STORE_UINT32_RELAXED(mp->ma_keys->dk_version, 0);
  ------------------
  |  |  175|  1.59M|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 1923|       |
 1924|  1.59M|    Py_ssize_t hashpos = find_empty_slot(mp->ma_keys, hash);
 1925|  1.59M|    dictkeys_set_index(mp->ma_keys, hashpos, mp->ma_keys->dk_nentries);
 1926|       |
 1927|  1.59M|    if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  303|  1.59M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 811k, False: 781k]
  |  |  ------------------
  ------------------
 1928|   811k|        PyDictUnicodeEntry *ep;
 1929|   811k|        ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries];
 1930|   811k|        STORE_KEY(ep, key);
  ------------------
  |  |  330|   811k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  166|   811k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1931|   811k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|   811k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|   811k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1932|   811k|    }
 1933|   781k|    else {
 1934|   781k|        PyDictKeyEntry *ep;
 1935|   781k|        ep = &DK_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries];
 1936|   781k|        STORE_KEY(ep, key);
  ------------------
  |  |  330|   781k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  166|   781k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1937|   781k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|   781k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|   781k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1938|   781k|        STORE_HASH(ep, hash);
  ------------------
  |  |  333|   781k|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  197|   781k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1939|   781k|    }
 1940|  1.59M|    STORE_KEYS_USABLE(mp->ma_keys, mp->ma_keys->dk_usable - 1);
  ------------------
  |  |  334|  1.59M|#define STORE_KEYS_USABLE(keys, usable) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_usable, usable)
  |  |  ------------------
  |  |  |  |  197|  1.59M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1941|  1.59M|    STORE_KEYS_NENTRIES(mp->ma_keys, mp->ma_keys->dk_nentries + 1);
  ------------------
  |  |  335|  1.59M|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  197|  1.59M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1942|  1.59M|    assert(mp->ma_keys->dk_usable >= 0);
  ------------------
  |  Branch (1942:5): [True: 1.59M, False: 0]
  ------------------
 1943|  1.59M|    return 0;
 1944|  1.59M|}
dictobject.c:insertion_resize:
 1898|   131k|{
 1899|   131k|    return dictresize(mp, calculate_log2_keysize(GROWTH_RATE(mp)), unicode);
  ------------------
  |  |  637|   131k|#define GROWTH_RATE(d) ((d)->ma_used*3)
  ------------------
 1900|   131k|}
dictobject.c:dictresize:
 2209|   131k|{
 2210|   131k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2210:5): [True: 131k, False: 0]
  ------------------
 2211|       |
 2212|   131k|    PyDictKeysObject *oldkeys, *newkeys;
 2213|   131k|    PyDictValues *oldvalues;
 2214|       |
 2215|   131k|    if (log2_newsize >= SIZEOF_SIZE_T*8) {
  ------------------
  |  | 1813|   131k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (2215:9): [True: 0, False: 131k]
  ------------------
 2216|      0|        PyErr_NoMemory();
 2217|      0|        return -1;
 2218|      0|    }
 2219|   131k|    assert(log2_newsize >= PyDict_LOG_MINSIZE);
  ------------------
  |  Branch (2219:5): [True: 131k, False: 0]
  ------------------
 2220|       |
 2221|   131k|    oldkeys = mp->ma_keys;
 2222|   131k|    oldvalues = mp->ma_values;
 2223|       |
 2224|   131k|    if (!DK_IS_UNICODE(oldkeys)) {
  ------------------
  |  |  303|   131k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (2224:9): [True: 45.0k, False: 86.4k]
  ------------------
 2225|  45.0k|        unicode = 0;
 2226|  45.0k|    }
 2227|       |
 2228|   131k|    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|   131k|    newkeys = new_keys_object(log2_newsize, unicode);
 2236|   131k|    if (newkeys == NULL) {
  ------------------
  |  Branch (2236:9): [True: 0, False: 131k]
  ------------------
 2237|      0|        return -1;
 2238|      0|    }
 2239|       |    // New table must be large enough.
 2240|   131k|    assert(newkeys->dk_usable >= mp->ma_used);
  ------------------
  |  Branch (2240:5): [True: 131k, False: 0]
  ------------------
 2241|       |
 2242|   131k|    Py_ssize_t numentries = mp->ma_used;
 2243|       |
 2244|   131k|    if (oldvalues != NULL) {
  ------------------
  |  Branch (2244:9): [True: 0, False: 131k]
  ------------------
 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|   131k|    else {  // oldkeys is combined.
 2290|   131k|        if (oldkeys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (2290:13): [True: 45.0k, False: 86.4k]
  ------------------
 2291|       |            // generic -> generic
 2292|  45.0k|            assert(newkeys->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (2292:13): [True: 45.0k, False: 0]
  ------------------
 2293|  45.0k|            PyDictKeyEntry *oldentries = DK_ENTRIES(oldkeys);
 2294|  45.0k|            PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2295|  45.0k|            if (oldkeys->dk_nentries == numentries) {
  ------------------
  |  Branch (2295:17): [True: 44.9k, False: 81]
  ------------------
 2296|  44.9k|                memcpy(newentries, oldentries, numentries * sizeof(PyDictKeyEntry));
 2297|  44.9k|            }
 2298|     81|            else {
 2299|     81|                PyDictKeyEntry *ep = oldentries;
 2300|     81|                for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2300:40): [True: 0, False: 81]
  ------------------
 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|     81|            }
 2306|  45.0k|            build_indices_generic(newkeys, newentries, numentries);
 2307|  45.0k|        }
 2308|  86.4k|        else {  // oldkeys is combined unicode
 2309|  86.4k|            PyDictUnicodeEntry *oldentries = DK_UNICODE_ENTRIES(oldkeys);
 2310|  86.4k|            if (unicode) { // combined unicode -> combined unicode
  ------------------
  |  Branch (2310:17): [True: 55.6k, False: 30.8k]
  ------------------
 2311|  55.6k|                PyDictUnicodeEntry *newentries = DK_UNICODE_ENTRIES(newkeys);
 2312|  55.6k|                if (oldkeys->dk_nentries == numentries && mp->ma_keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (2312:21): [True: 55.3k, False: 261]
  |  Branch (2312:59): [True: 55.3k, False: 0]
  ------------------
 2313|  55.3k|                    memcpy(newentries, oldentries, numentries * sizeof(PyDictUnicodeEntry));
 2314|  55.3k|                }
 2315|    261|                else {
 2316|    261|                    PyDictUnicodeEntry *ep = oldentries;
 2317|  64.3k|                    for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2317:44): [True: 64.1k, False: 261]
  ------------------
 2318|  83.9k|                        while (ep->me_value == NULL)
  ------------------
  |  Branch (2318:32): [True: 19.8k, False: 64.1k]
  ------------------
 2319|  19.8k|                            ep++;
 2320|  64.1k|                        newentries[i] = *ep++;
 2321|  64.1k|                    }
 2322|    261|                }
 2323|  55.6k|                build_indices_unicode(newkeys, newentries, numentries);
 2324|  55.6k|            }
 2325|  30.8k|            else { // combined unicode -> generic
 2326|  30.8k|                PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2327|  30.8k|                PyDictUnicodeEntry *ep = oldentries;
 2328|  72.2k|                for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2328:40): [True: 41.4k, False: 30.8k]
  ------------------
 2329|  41.4k|                    while (ep->me_value == NULL)
  ------------------
  |  Branch (2329:28): [True: 0, False: 41.4k]
  ------------------
 2330|      0|                        ep++;
 2331|  41.4k|                    newentries[i].me_key = ep->me_key;
 2332|  41.4k|                    newentries[i].me_hash = unicode_get_hash(ep->me_key);
 2333|  41.4k|                    newentries[i].me_value = ep->me_value;
 2334|  41.4k|                    ep++;
 2335|  41.4k|                }
 2336|  30.8k|                build_indices_generic(newkeys, newentries, numentries);
 2337|  30.8k|            }
 2338|  86.4k|        }
 2339|       |
 2340|   131k|        set_keys(mp, newkeys);
 2341|       |
 2342|   131k|        if (oldkeys != Py_EMPTY_KEYS) {
  ------------------
  |  |  660|   131k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2342:13): [True: 131k, False: 0]
  ------------------
 2343|       |#ifdef Py_REF_DEBUG
 2344|       |            _Py_DecRefTotal(_PyThreadState_GET());
 2345|       |#endif
 2346|   131k|            assert(oldkeys->dk_kind != DICT_KEYS_SPLIT);
  ------------------
  |  Branch (2346:13): [True: 131k, False: 0]
  ------------------
 2347|   131k|            assert(oldkeys->dk_refcnt == 1);
  ------------------
  |  Branch (2347:13): [True: 131k, False: 0]
  ------------------
 2348|   131k|            free_keys_object(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|   131k|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2349|   131k|        }
 2350|   131k|    }
 2351|       |
 2352|   131k|    STORE_KEYS_USABLE(mp->ma_keys, mp->ma_keys->dk_usable - numentries);
  ------------------
  |  |  334|   131k|#define STORE_KEYS_USABLE(keys, usable) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_usable, usable)
  |  |  ------------------
  |  |  |  |  197|   131k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2353|   131k|    STORE_KEYS_NENTRIES(mp->ma_keys, numentries);
  ------------------
  |  |  335|   131k|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  197|   131k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2354|   131k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|   131k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2354:5): [True: 131k, False: 0]
  ------------------
 2355|   131k|    return 0;
 2356|   131k|}
dictobject.c:build_indices_generic:
 2153|  75.9k|{
 2154|  75.9k|    size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|  75.9k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  283|  75.9k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  281|  75.9k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  313|  75.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2155|   956k|    for (Py_ssize_t ix = 0; ix != n; ix++, ep++) {
  ------------------
  |  Branch (2155:29): [True: 880k, False: 75.9k]
  ------------------
 2156|   880k|        Py_hash_t hash = ep->me_hash;
 2157|   880k|        size_t i = hash & mask;
 2158|  1.10M|        for (size_t perturb = hash; dictkeys_get_index(keys, i) != DKIX_EMPTY;) {
  ------------------
  |  |  194|  1.10M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2158:37): [True: 228k, False: 880k]
  ------------------
 2159|   228k|            perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|   228k|#define PERTURB_SHIFT 5
  ------------------
 2160|   228k|            i = mask & (i*5 + perturb + 1);
 2161|   228k|        }
 2162|   880k|        dictkeys_set_index(keys, i, ix);
 2163|   880k|    }
 2164|  75.9k|}
dictobject.c:build_indices_unicode:
 2168|  55.6k|{
 2169|  55.6k|    size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|  55.6k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  283|  55.6k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  281|  55.6k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  313|  55.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2170|   696k|    for (Py_ssize_t ix = 0; ix != n; ix++, ep++) {
  ------------------
  |  Branch (2170:29): [True: 641k, False: 55.6k]
  ------------------
 2171|   641k|        Py_hash_t hash = unicode_get_hash(ep->me_key);
 2172|   641k|        assert(hash != -1);
  ------------------
  |  Branch (2172:9): [True: 641k, False: 0]
  ------------------
 2173|   641k|        size_t i = hash & mask;
 2174|   768k|        for (size_t perturb = hash; dictkeys_get_index(keys, i) != DKIX_EMPTY;) {
  ------------------
  |  |  194|   768k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2174:37): [True: 126k, False: 641k]
  ------------------
 2175|   126k|            perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|   126k|#define PERTURB_SHIFT 5
  ------------------
 2176|   126k|            i = mask & (i*5 + perturb + 1);
 2177|   126k|        }
 2178|   641k|        dictkeys_set_index(keys, i, ix);
 2179|   641k|    }
 2180|  55.6k|}
dictobject.c:free_keys_object:
  876|   549k|{
  877|   549k|    void *ptr = keys;
  878|       |#ifdef Py_GIL_DISABLED
  879|       |    size_t size = _PyDict_KeysSize(keys);
  880|       |#endif
  881|   549k|    if (keys->dk_kind == DICT_KEYS_SPLIT) {
  ------------------
  |  Branch (881:9): [True: 4, False: 549k]
  ------------------
  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|   549k|    if (DK_LOG_SIZE(keys) == PyDict_LOG_MINSIZE && keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  |  281|   549k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  313|   549k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  if (DK_LOG_SIZE(keys) == PyDict_LOG_MINSIZE && keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  |  115|  1.09M|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (893:9): [True: 447k, False: 102k]
  |  Branch (893:52): [True: 348k, False: 98.4k]
  ------------------
  894|   348k|        _Py_FREELIST_FREE(dictkeys, keys, PyMem_Free);
  ------------------
  |  |   35|   348k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|   348k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   348k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|   348k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   17|   348k|#  define Py_dictkeys_MAXFREELIST 80
  |  |  ------------------
  ------------------
  895|   348k|    }
  896|   200k|    else {
  897|   200k|        PyMem_Free(ptr);
  898|   200k|    }
  899|   549k|}
dictobject.c:find_empty_slot:
 1882|  1.59M|{
 1883|  1.59M|    assert(keys != NULL);
  ------------------
  |  Branch (1883:5): [True: 1.59M, False: 0]
  ------------------
 1884|       |
 1885|  1.59M|    const size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|  1.59M|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  283|  1.59M|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  281|  1.59M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  313|  1.59M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1886|  1.59M|    size_t i = hash & mask;
 1887|  1.59M|    Py_ssize_t ix = dictkeys_get_index(keys, i);
 1888|  2.79M|    for (size_t perturb = hash; is_unusable_slot(ix);) {
  ------------------
  |  Branch (1888:33): [True: 1.19M, False: 1.59M]
  ------------------
 1889|  1.19M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  1.19M|#define PERTURB_SHIFT 5
  ------------------
 1890|  1.19M|        i = (i*5 + perturb + 1) & mask;
 1891|  1.19M|        ix = dictkeys_get_index(keys, i);
 1892|  1.19M|    }
 1893|  1.59M|    return i;
 1894|  1.59M|}
dictobject.c:is_unusable_slot:
 1869|  2.79M|{
 1870|       |#ifdef Py_GIL_DISABLED
 1871|       |    return ix >= 0 || ix == DKIX_DUMMY;
 1872|       |#else
 1873|  2.79M|    return ix >= 0;
 1874|  2.79M|#endif
 1875|  2.79M|}
dictobject.c:delitem_common:
 3011|  28.0k|{
 3012|  28.0k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3012:5): [True: 28.0k, False: 0]
  ------------------
 3013|       |
 3014|  28.0k|    PyObject *old_key;
 3015|       |
 3016|  28.0k|    STORE_USED(mp, mp->ma_used - 1);
  ------------------
  |  |  336|  28.0k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|  28.0k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3017|  28.0k|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   61|  28.0k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 28.0k]
  |  |  ------------------
  ------------------
 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|  28.0k|    else {
 3026|  28.0k|        Py_ssize_t hashpos = lookdict_index(mp->ma_keys, hash, ix);
 3027|  28.0k|        assert(hashpos >= 0);
  ------------------
  |  Branch (3027:9): [True: 28.0k, False: 0]
  ------------------
 3028|       |
 3029|  28.0k|        FT_ATOMIC_STORE_UINT32_RELAXED(mp->ma_keys->dk_version, 0);
  ------------------
  |  |  175|  28.0k|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 3030|  28.0k|        dictkeys_set_index(mp->ma_keys, hashpos, DKIX_DUMMY);
  ------------------
  |  |  195|  28.0k|#define DKIX_DUMMY (-2)  /* Used internally */
  ------------------
 3031|  28.0k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  303|  28.0k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 27.6k, False: 418]
  |  |  ------------------
  ------------------
 3032|  27.6k|            PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[ix];
 3033|  27.6k|            old_key = ep->me_key;
 3034|  27.6k|            STORE_KEY(ep, NULL);
  ------------------
  |  |  330|  27.6k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  166|  27.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3035|  27.6k|            STORE_VALUE(ep, NULL);
  ------------------
  |  |  331|  27.6k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|  27.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3036|  27.6k|        }
 3037|    418|        else {
 3038|    418|            PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[ix];
 3039|    418|            old_key = ep->me_key;
 3040|    418|            STORE_KEY(ep, NULL);
  ------------------
  |  |  330|    418|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  166|    418|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3041|    418|            STORE_VALUE(ep, NULL);
  ------------------
  |  |  331|    418|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|    418|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3042|    418|            STORE_HASH(ep, 0);
  ------------------
  |  |  333|    418|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  197|    418|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3043|    418|        }
 3044|  28.0k|        Py_DECREF(old_key);
  ------------------
  |  |  430|  28.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3045|  28.0k|    }
 3046|  28.0k|    Py_DECREF(old_value);
  ------------------
  |  |  430|  28.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3047|       |
 3048|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  28.0k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (3048:5): [True: 28.0k, False: 0]
  ------------------
 3049|  28.0k|}
dictobject.c:lookdict_index:
 1097|  28.0k|{
 1098|  28.0k|    size_t mask = DK_MASK(k);
  ------------------
  |  |  467|  28.0k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  283|  28.0k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  281|  28.0k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  313|  28.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|  28.0k|    size_t perturb = (size_t)hash;
 1100|  28.0k|    size_t i = (size_t)hash & mask;
 1101|       |
 1102|  58.6k|    for (;;) {
 1103|  58.6k|        Py_ssize_t ix = dictkeys_get_index(k, i);
 1104|  58.6k|        if (ix == index) {
  ------------------
  |  Branch (1104:13): [True: 28.0k, False: 30.5k]
  ------------------
 1105|  28.0k|            return i;
 1106|  28.0k|        }
 1107|  30.5k|        if (ix == DKIX_EMPTY) {
  ------------------
  |  |  194|  30.5k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1107:13): [True: 0, False: 30.5k]
  ------------------
 1108|      0|            return DKIX_EMPTY;
  ------------------
  |  |  194|      0|#define DKIX_EMPTY (-1)
  ------------------
 1109|      0|        }
 1110|  30.5k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  30.5k|#define PERTURB_SHIFT 5
  ------------------
 1111|  30.5k|        i = mask & (i*5 + perturb + 1);
 1112|  30.5k|    }
 1113|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1114|  28.0k|}
dictobject.c:delitemif_lock_held:
 3111|    411|{
 3112|    411|    PyDictObject *mp = _PyAnyDict_CAST(op);
  ------------------
  |  |  326|    411|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|    411|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (3112:24): [True: 411, False: 0]
  |  Branch (3112:24): [True: 0, False: 0]
  ------------------
 3113|    411|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3113:5): [True: 411, False: 0]
  ------------------
 3114|       |
 3115|    411|    Py_ssize_t ix;
 3116|    411|    Py_hash_t hash;
 3117|    411|    PyObject *old_value;
 3118|    411|    int res;
 3119|       |
 3120|    411|    assert(key);
  ------------------
  |  Branch (3120:5): [True: 411, False: 0]
  ------------------
 3121|    411|    hash = PyObject_Hash(key);
 3122|    411|    if (hash == -1)
  ------------------
  |  Branch (3122:9): [True: 0, False: 411]
  ------------------
 3123|      0|        return -1;
 3124|    411|    ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3125|    411|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|    411|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3125:9): [True: 0, False: 411]
  ------------------
 3126|      0|        return -1;
 3127|      0|    }
 3128|    411|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  194|    822|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3128:9): [True: 0, False: 411]
  |  Branch (3128:29): [True: 0, False: 411]
  ------------------
 3129|      0|        return 0;
 3130|      0|    }
 3131|       |
 3132|    411|    res = predicate(old_value, arg);
 3133|    411|    if (res == -1)
  ------------------
  |  Branch (3133:9): [True: 0, False: 411]
  ------------------
 3134|      0|        return -1;
 3135|       |
 3136|    411|    if (res > 0) {
  ------------------
  |  Branch (3136:9): [True: 411, False: 0]
  ------------------
 3137|    411|        _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3138|    411|        delitem_common(mp, hash, ix, old_value);
 3139|    411|        return 1;
 3140|    411|    } else {
 3141|      0|        return 0;
 3142|      0|    }
 3143|    411|}
dictobject.c:replace_value:
 2020|   603k|{
 2021|   603k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2021:5): [True: 603k, False: 0]
  ------------------
 2022|   603k|    assert(old_value != NULL);
  ------------------
  |  Branch (2022:5): [True: 603k, False: 0]
  ------------------
 2023|       |
 2024|   603k|    if (old_value != value) {
  ------------------
  |  Branch (2024:9): [True: 331k, False: 271k]
  ------------------
 2025|   331k|        _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, mp, key, value);
 2026|   331k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  303|   331k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 330k, False: 1.93k]
  |  |  ------------------
  ------------------
 2027|   330k|            if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   61|   330k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 330k]
  |  |  ------------------
  ------------------
 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|   330k|            else {
 2031|   330k|                PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[ix];
 2032|   330k|                STORE_VALUE(ep, value);
  ------------------
  |  |  331|   330k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|   330k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2033|   330k|            }
 2034|   330k|        }
 2035|  1.93k|        else {
 2036|  1.93k|            PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[ix];
 2037|  1.93k|            STORE_VALUE(ep, value);
  ------------------
  |  |  331|  1.93k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  166|  1.93k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2038|  1.93k|        }
 2039|   331k|    }
 2040|   603k|    Py_DECREF(old_value); /* which **CAN** re-enter (see gh-66843) */
  ------------------
  |  |  430|   603k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   603k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   603k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2041|       |
 2042|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|   603k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2042:5): [True: 603k, False: 0]
  ------------------
 2043|   603k|}
dictobject.c:clear_lock_held:
 3219|     18|{
 3220|     18|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|     18|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     18|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3220:9): [True: 0, False: 18]
  ------------------
 3221|      0|        return;
 3222|      0|    }
 3223|     18|    PyDictObject *mp = (PyDictObject *)op;
 3224|     18|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3224:5): [True: 18, False: 0]
  ------------------
 3225|       |
 3226|     18|    PyDictKeysObject *oldkeys;
 3227|     18|    PyDictValues *oldvalues;
 3228|     18|    Py_ssize_t i, n;
 3229|       |
 3230|     18|    oldkeys = mp->ma_keys;
 3231|     18|    oldvalues = mp->ma_values;
 3232|     18|    if (oldkeys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|     18|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (3232:9): [True: 7, False: 11]
  ------------------
 3233|      7|        return;
 3234|      7|    }
 3235|       |    /* Empty the dict... */
 3236|     11|    clear_common(mp);
 3237|     11|    if (oldvalues == NULL) {
  ------------------
  |  Branch (3237:9): [True: 11, False: 0]
  ------------------
 3238|     11|        set_keys(mp, Py_EMPTY_KEYS);
  ------------------
  |  |  660|     11|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 3239|     11|        assert(oldkeys->dk_refcnt == 1);
  ------------------
  |  Branch (3239:9): [True: 11, False: 0]
  ------------------
 3240|     11|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|     11|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3241|     11|    }
 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|     11|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|     11|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (3257:5): [True: 11, False: 0]
  ------------------
 3258|     11|}
dictobject.c:clear_common:
 3210|     11|{
 3211|     11|    _PyDict_NotifyEvent(PyDict_EVENT_CLEARED, mp, NULL, NULL);
 3212|       |    // We don't inc ref empty keys because they're immortal
 3213|     11|    ensure_shared_on_resize(mp);
 3214|     11|    STORE_USED(mp, 0);
  ------------------
  |  |  336|     11|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|     11|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3215|     11|}
dictobject.c:pop_lock_held:
 3413|  67.6k|{
 3414|  67.6k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  67.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  67.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3414:9): [True: 0, False: 67.6k]
  ------------------
 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|  67.6k|    PyDictObject *dict = (PyDictObject *)op;
 3427|  67.6k|    assert(can_modify_dict(dict));
  ------------------
  |  Branch (3427:5): [True: 67.6k, False: 0]
  ------------------
 3428|       |
 3429|  67.6k|    if (dict->ma_used == 0) {
  ------------------
  |  Branch (3429:9): [True: 41.4k, False: 26.2k]
  ------------------
 3430|  41.4k|        if (result) {
  ------------------
  |  Branch (3430:13): [True: 41.4k, False: 0]
  ------------------
 3431|  41.4k|            *result = NULL;
 3432|  41.4k|        }
 3433|  41.4k|        return 0;
 3434|  41.4k|    }
 3435|       |
 3436|  26.2k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3437|  26.2k|    if (hash == -1) {
  ------------------
  |  Branch (3437:9): [True: 0, False: 26.2k]
  ------------------
 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|  26.2k|    return _PyDict_Pop_KnownHash(dict, key, hash, result);
 3445|  26.2k|}
dictobject.c:dict_pop_default:
 3478|  41.6k|{
 3479|  41.6k|    PyObject *result;
 3480|  41.6k|    if (PyDict_Pop(dict, key, &result) == 0) {
  ------------------
  |  Branch (3480:9): [True: 41.4k, False: 174]
  ------------------
 3481|  41.4k|        if (default_value != NULL) {
  ------------------
  |  Branch (3481:13): [True: 41.4k, False: 0]
  ------------------
 3482|  41.4k|            return Py_NewRef(default_value);
  ------------------
  |  |  647|  41.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3483|  41.4k|        }
 3484|      0|        _PyErr_SetKeyError(key);
 3485|      0|        return NULL;
 3486|  41.4k|    }
 3487|    174|    return result;
 3488|  41.6k|}
dictobject.c:keys_lock_held:
 3943|  75.2k|{
 3944|  75.2k|    ASSERT_DICT_LOCKED(dict);
 3945|       |
 3946|  75.2k|    if (dict == NULL || !PyAnyDict_Check(dict)) {
  ------------------
  |  |   43|  75.2k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  75.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   150k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 75.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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3946:9): [True: 0, False: 75.2k]
  ------------------
 3947|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3948|      0|        return NULL;
 3949|      0|    }
 3950|  75.2k|    PyDictObject *mp = (PyDictObject *)dict;
 3951|  75.2k|    PyObject *v;
 3952|  75.2k|    Py_ssize_t n;
 3953|       |
 3954|  75.2k|  again:
 3955|  75.2k|    n = mp->ma_used;
 3956|  75.2k|    v = PyList_New(n);
 3957|  75.2k|    if (v == NULL)
  ------------------
  |  Branch (3957:9): [True: 0, False: 75.2k]
  ------------------
 3958|      0|        return NULL;
 3959|  75.2k|    if (n != mp->ma_used) {
  ------------------
  |  Branch (3959:9): [True: 0, False: 75.2k]
  ------------------
 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|  75.2k|    Py_ssize_t j = 0, pos = 0;
 3969|  75.2k|    PyObject *key;
 3970|   371k|    while (_PyDict_Next((PyObject*)mp, &pos, &key, NULL, NULL)) {
  ------------------
  |  Branch (3970:12): [True: 296k, False: 75.2k]
  ------------------
 3971|   296k|        assert(j < n);
  ------------------
  |  Branch (3971:9): [True: 296k, False: 0]
  ------------------
 3972|   296k|        PyList_SET_ITEM(v, j, Py_NewRef(key));
  ------------------
  |  |   50|   296k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   296k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   296k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   296k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   296k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3973|   296k|        j++;
 3974|   296k|    }
 3975|  75.2k|    assert(j == n);
  ------------------
  |  Branch (3975:5): [True: 75.2k, False: 0]
  ------------------
 3976|  75.2k|    return v;
 3977|  75.2k|}
dictobject.c:dict_merge_from_seq2:
 4272|     14|{
 4273|     14|    int res;
 4274|     14|    Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|     14|    {
  ------------------
 4275|     14|    res = merge_from_seq2_lock_held(d, seq2, override);
 4276|     14|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     14|    }
  ------------------
 4277|       |
 4278|     14|    return res;
 4279|     14|}
dictobject.c:merge_from_seq2_lock_held:
 4183|     14|{
 4184|     14|    PyObject *it;       /* iter(seq2) */
 4185|     14|    Py_ssize_t i;       /* index into seq2 of current element */
 4186|     14|    PyObject *item;     /* seq2[i] */
 4187|     14|    PyObject *fast;     /* item as a 2-tuple or 2-list */
 4188|       |
 4189|     14|    assert(d != NULL);
  ------------------
  |  Branch (4189:5): [True: 14, False: 0]
  ------------------
 4190|     14|    assert(PyAnyDict_Check(d));
  ------------------
  |  Branch (4190:5): [True: 14, False: 0]
  |  Branch (4190:5): [True: 0, False: 0]
  ------------------
 4191|     14|    assert(seq2 != NULL);
  ------------------
  |  Branch (4191:5): [True: 14, False: 0]
  ------------------
 4192|     14|    assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (4192:5): [True: 14, False: 0]
  ------------------
 4193|       |
 4194|     14|    it = PyObject_GetIter(seq2);
 4195|     14|    if (it == NULL)
  ------------------
  |  Branch (4195:9): [True: 0, False: 14]
  ------------------
 4196|      0|        return -1;
 4197|       |
 4198|    227|    for (i = 0; ; ++i) {
 4199|    227|        PyObject *key = NULL, *value = NULL;
 4200|    227|        Py_ssize_t n;
 4201|       |
 4202|    227|        fast = NULL;
 4203|    227|        item = PyIter_Next(it);
 4204|    227|        if (item == NULL) {
  ------------------
  |  Branch (4204:13): [True: 14, False: 213]
  ------------------
 4205|     14|            if (PyErr_Occurred())
  ------------------
  |  Branch (4205:17): [True: 0, False: 14]
  ------------------
 4206|      0|                goto Fail;
 4207|     14|            break;
 4208|     14|        }
 4209|       |
 4210|       |        /* Convert item to sequence, and verify length 2. */
 4211|    213|        fast = PySequence_Fast(item, "object is not iterable");
 4212|    213|        if (fast == NULL) {
  ------------------
  |  Branch (4212:13): [True: 0, False: 213]
  ------------------
 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|    213|        Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(item);
  ------------------
  |  |   77|    213|# define Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(original) {
  ------------------
 4222|    213|        n = PySequence_Fast_GET_SIZE(fast);
  ------------------
  |  |   92|    213|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    213|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    213|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 213]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|    213|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4223|    213|        if (n == 2) {
  ------------------
  |  Branch (4223:13): [True: 213, False: 0]
  ------------------
 4224|    213|            key = Py_NewRef(PySequence_Fast_GET_ITEM(fast, 0));
  ------------------
  |  |  647|    213|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (37:38): [True: 213, False: 0]
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 213]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4225|    213|            value = Py_NewRef(PySequence_Fast_GET_ITEM(fast, 1));
  ------------------
  |  |  647|    213|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (37:38): [True: 213, False: 0]
  |  |  |  |  |  |  |  Branch (37:38): [True: 0, False: 213]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4226|    213|        }
 4227|    213|        Py_END_CRITICAL_SECTION_SEQUENCE_FAST();
  ------------------
  |  |   78|    213|# define Py_END_CRITICAL_SECTION_SEQUENCE_FAST() }
  ------------------
 4228|    213|        if (n != 2) {
  ------------------
  |  Branch (4228:13): [True: 0, False: 213]
  ------------------
 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|    213|        if (override) {
  ------------------
  |  Branch (4237:13): [True: 213, False: 0]
  ------------------
 4238|    213|            if (setitem_lock_held((PyDictObject *)d, key, value) < 0) {
  ------------------
  |  Branch (4238:17): [True: 0, False: 213]
  ------------------
 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|    213|        }
 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|    213|        Py_DECREF(key);
  ------------------
  |  |  430|    213|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4253|    213|        Py_DECREF(value);
  ------------------
  |  |  430|    213|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4254|    213|        Py_DECREF(fast);
  ------------------
  |  |  430|    213|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4255|    213|        Py_DECREF(item);
  ------------------
  |  |  430|    213|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    213|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    213|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4256|    213|    }
 4257|       |
 4258|     14|    i = 0;
 4259|     14|    ASSERT_CONSISTENT(d);
  ------------------
  |  |  668|     14|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4259:5): [True: 14, False: 0]
  ------------------
 4260|     14|    goto Return;
 4261|     14|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|     14|Return:
 4266|     14|    Py_DECREF(it);
  ------------------
  |  |  430|     14|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4267|     14|    return Py_SAFE_DOWNCAST(i, Py_ssize_t, int);
  ------------------
  |  |  247|     14|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|     14|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4268|      0|}
dictobject.c:dict_merge:
 4392|  1.37k|{
 4393|  1.37k|    assert(a != NULL);
  ------------------
  |  Branch (4393:5): [True: 1.37k, False: 0]
  ------------------
 4394|  1.37k|    assert(b != NULL);
  ------------------
  |  Branch (4394:5): [True: 1.37k, False: 0]
  ------------------
 4395|  1.37k|    assert(0 <= override && override <= 2);
  ------------------
  |  Branch (4395:5): [True: 1.37k, False: 0]
  |  Branch (4395:5): [True: 1.37k, False: 0]
  ------------------
 4396|       |
 4397|  1.37k|    PyDictObject *mp = _PyAnyDict_CAST(a);
  ------------------
  |  |  326|  1.37k|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (4397:24): [True: 1.37k, False: 1]
  |  Branch (4397:24): [True: 1, False: 0]
  ------------------
 4398|       |
 4399|      0|    int res = 0;
 4400|  1.37k|    if (PyAnyDict_Check(b) && (Py_TYPE(b)->tp_iter == dict_iter)) {
  ------------------
  |  |   43|  2.74k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  1.37k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  2.74k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 1.36k, 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.36k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4400:31): [True: 1.36k, False: 0]
  ------------------
 4401|  1.36k|        PyDictObject *other = (PyDictObject*)b;
 4402|  1.36k|        int res;
 4403|  1.36k|        Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|  1.36k|    {
  ------------------
 4404|  1.36k|        assert(can_modify_dict(mp));
  ------------------
  |  Branch (4404:9): [True: 1.36k, False: 0]
  ------------------
 4405|  1.36k|        res = dict_dict_merge((PyDictObject *)a, other, override, dupkey);
 4406|  1.36k|        ASSERT_CONSISTENT(a);
  ------------------
  |  |  668|  1.36k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4406:9): [True: 1.36k, False: 0]
  ------------------
 4407|  1.36k|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  1.36k|    }
  ------------------
 4408|  1.36k|        return res;
 4409|  1.36k|    }
 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.37k|}
dictobject.c:dict_dict_merge:
 4301|  1.36k|{
 4302|  1.36k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (4302:5): [True: 1.36k, False: 0]
  ------------------
 4303|  1.36k|    if (!PyFrozenDict_Check(other)) {
  ------------------
  |  |   37|  1.36k|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  1.36k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4303:9): [True: 1.36k, False: 0]
  ------------------
 4304|  1.36k|        ASSERT_DICT_LOCKED(other);
 4305|  1.36k|    }
 4306|       |
 4307|  1.36k|    if (other == mp || other->ma_used == 0)
  ------------------
  |  Branch (4307:9): [True: 0, False: 1.36k]
  |  Branch (4307:24): [True: 793, False: 573]
  ------------------
 4308|       |        /* a.update(a) or a.update({}); nothing to do */
 4309|    793|        return 0;
 4310|    573|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (4310:9): [True: 35, False: 538]
  ------------------
 4311|       |        /* Since the target dict is empty, _PyDict_Contains_KnownHash()
 4312|       |         * always returns 0.  Setting override to 1
 4313|       |         * skips the unnecessary test.
 4314|       |         */
 4315|     35|        override = 1;
 4316|     35|        PyDictKeysObject *okeys = other->ma_keys;
 4317|       |
 4318|       |        // If other is clean, combined, and just allocated, just clone it.
 4319|     35|        if (mp->ma_values == NULL &&
  ------------------
  |  Branch (4319:13): [True: 35, False: 0]
  ------------------
 4320|     35|            other->ma_values == NULL &&
  ------------------
  |  Branch (4320:13): [True: 35, False: 0]
  ------------------
 4321|     35|            other->ma_used == okeys->dk_nentries &&
  ------------------
  |  Branch (4321:13): [True: 35, False: 0]
  ------------------
 4322|     35|            (DK_LOG_SIZE(okeys) == PyDict_LOG_MINSIZE ||
  ------------------
  |  |  281|     35|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  313|     35|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                          (DK_LOG_SIZE(okeys) == PyDict_LOG_MINSIZE ||
  ------------------
  |  |  115|     70|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (4322:14): [True: 33, False: 2]
  ------------------
 4323|      2|             USABLE_FRACTION(DK_SIZE(okeys)/2) < other->ma_used)
  ------------------
  |  |  590|      2|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (4323:14): [True: 2, False: 0]
  ------------------
 4324|     35|        ) {
 4325|     35|            _PyDict_NotifyEvent(PyDict_EVENT_CLONED, mp, (PyObject *)other, NULL);
 4326|     35|            PyDictKeysObject *keys = clone_combined_dict_keys(other);
 4327|     35|            if (keys == NULL)
  ------------------
  |  Branch (4327:17): [True: 0, False: 35]
  ------------------
 4328|      0|                return -1;
 4329|       |
 4330|     35|            ensure_shared_on_resize(mp);
 4331|     35|            dictkeys_decref(mp->ma_keys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|     35|#define IS_DICT_SHARED(mp) (false)
  ------------------
 4332|     35|            set_keys(mp, keys);
 4333|     35|            STORE_USED(mp, other->ma_used);
  ------------------
  |  |  336|     35|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|     35|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4334|     35|            ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|     35|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4334:13): [True: 35, False: 0]
  ------------------
 4335|     35|            return 0;
 4336|     35|        }
 4337|     35|    }
 4338|       |    /* Do one big resize at the start, rather than
 4339|       |        * incrementally resizing as we insert new items.  Expect
 4340|       |        * that there will be no (or few) overlapping keys.
 4341|       |        */
 4342|    538|    if (USABLE_FRACTION(DK_SIZE(mp->ma_keys)) < other->ma_used) {
  ------------------
  |  |  590|    538|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (4342:9): [True: 1, False: 537]
  ------------------
 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|    538|    Py_ssize_t orig_size = other->ma_used;
 4351|    538|    Py_ssize_t pos = 0;
 4352|    538|    Py_hash_t hash;
 4353|    538|    PyObject *key, *value;
 4354|       |
 4355|  11.0k|    while (_PyDict_Next((PyObject*)other, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (4355:12): [True: 10.5k, False: 538]
  ------------------
 4356|  10.5k|        int err = 0;
 4357|  10.5k|        if (override == 1) {
  ------------------
  |  Branch (4357:13): [True: 10.5k, False: 0]
  ------------------
 4358|  10.5k|            err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  647|  10.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  647|  10.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4359|  10.5k|        }
 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|  10.5k|        if (err != 0)
  ------------------
  |  Branch (4378:13): [True: 0, False: 10.5k]
  ------------------
 4379|      0|            return -1;
 4380|       |
 4381|  10.5k|        if (orig_size != other->ma_used) {
  ------------------
  |  Branch (4381:13): [True: 0, False: 10.5k]
  ------------------
 4382|      0|            PyErr_SetString(PyExc_RuntimeError,
 4383|      0|                    "dict mutated during update");
 4384|      0|            return -1;
 4385|      0|        }
 4386|  10.5k|    }
 4387|    538|    return 0;
 4388|    538|}
dictobject.c:clone_combined_dict_keys:
 1024|  1.69k|{
 1025|  1.69k|    assert(PyAnyDict_Check(orig));
  ------------------
  |  Branch (1025:5): [True: 1.69k, False: 0]
  |  Branch (1025:5): [True: 0, False: 0]
  ------------------
 1026|  1.69k|    assert(Py_TYPE(orig)->tp_iter == dict_iter);
  ------------------
  |  Branch (1026:5): [True: 1.69k, False: 0]
  ------------------
 1027|  1.69k|    assert(orig->ma_values == NULL);
  ------------------
  |  Branch (1027:5): [True: 1.69k, False: 0]
  ------------------
 1028|  1.69k|    assert(orig->ma_keys != Py_EMPTY_KEYS);
  ------------------
  |  Branch (1028:5): [True: 1.69k, False: 0]
  ------------------
 1029|  1.69k|    assert(orig->ma_keys->dk_refcnt == 1);
  ------------------
  |  Branch (1029:5): [True: 1.69k, False: 0]
  ------------------
 1030|       |
 1031|  1.69k|    if (!PyFrozenDict_Check(orig)) {
  ------------------
  |  |   37|  1.69k|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  1.69k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1031:9): [True: 1.69k, False: 0]
  ------------------
 1032|  1.69k|        ASSERT_DICT_LOCKED(orig);
 1033|  1.69k|    }
 1034|       |
 1035|  1.69k|    size_t keys_size = _PyDict_KeysSize(orig->ma_keys);
 1036|  1.69k|    PyDictKeysObject *keys = PyMem_Malloc(keys_size);
 1037|  1.69k|    if (keys == NULL) {
  ------------------
  |  Branch (1037:9): [True: 0, False: 1.69k]
  ------------------
 1038|      0|        PyErr_NoMemory();
 1039|      0|        return NULL;
 1040|      0|    }
 1041|       |
 1042|  1.69k|    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.69k|    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.69k|    PyObject **pkey, **pvalue;
 1052|  1.69k|    size_t offs;
 1053|  1.69k|    if (DK_IS_UNICODE(orig->ma_keys)) {
  ------------------
  |  |  303|  1.69k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 1.69k, False: 3]
  |  |  ------------------
  ------------------
 1054|  1.69k|        PyDictUnicodeEntry *ep0 = DK_UNICODE_ENTRIES(keys);
 1055|  1.69k|        pkey = &ep0->me_key;
 1056|  1.69k|        pvalue = &ep0->me_value;
 1057|  1.69k|        offs = sizeof(PyDictUnicodeEntry) / sizeof(PyObject*);
 1058|  1.69k|    }
 1059|      3|    else {
 1060|      3|        PyDictKeyEntry *ep0 = DK_ENTRIES(keys);
 1061|      3|        pkey = &ep0->me_key;
 1062|      3|        pvalue = &ep0->me_value;
 1063|      3|        offs = sizeof(PyDictKeyEntry) / sizeof(PyObject*);
 1064|      3|    }
 1065|       |
 1066|  1.69k|    Py_ssize_t n = keys->dk_nentries;
 1067|  15.4k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1067:28): [True: 13.7k, False: 1.69k]
  ------------------
 1068|  13.7k|        PyObject *value = *pvalue;
 1069|  13.7k|        if (value != NULL) {
  ------------------
  |  Branch (1069:13): [True: 12.6k, False: 1.04k]
  ------------------
 1070|  12.6k|            Py_INCREF(value);
  ------------------
  |  |  310|  12.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1071|  12.6k|            Py_INCREF(*pkey);
  ------------------
  |  |  310|  12.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1072|  12.6k|        }
 1073|  13.7k|        pvalue += offs;
 1074|  13.7k|        pkey += offs;
 1075|  13.7k|    }
 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.69k|    return keys;
 1085|  1.69k|}
dictobject.c:dict_merge_api:
 4490|  1.32k|{
 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.32k|    if (a == NULL || !PyDict_Check(a) || b == NULL) {
  ------------------
  |  |   18|  1.32k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.65k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4496:9): [True: 0, False: 1.32k]
  |  Branch (4496:22): [True: 0, False: 1.32k]
  |  Branch (4496:42): [True: 0, False: 1.32k]
  ------------------
 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.32k|    int res = dict_merge(a, b, override, dupkey);
 4507|  1.32k|    assert(_PyObject_GC_IS_TRACKED(a));
  ------------------
  |  Branch (4507:5): [True: 1.32k, False: 0]
  ------------------
 4508|  1.32k|    return res;
 4509|  1.32k|}
dictobject.c:copy_lock_held_untracked:
 4566|  1.66k|{
 4567|  1.66k|    PyObject *copy;
 4568|  1.66k|    PyDictObject *mp;
 4569|       |
 4570|       |    // frozendict is immutable and so doesn't need critical section
 4571|  1.66k|    if (!PyFrozenDict_Check(o)) {
  ------------------
  |  |   37|  1.66k|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  1.66k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4571:9): [True: 1.66k, False: 0]
  ------------------
 4572|  1.66k|        ASSERT_DICT_LOCKED(o);
 4573|  1.66k|    }
 4574|       |
 4575|  1.66k|    mp = (PyDictObject *)o;
 4576|  1.66k|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (4576:9): [True: 2, False: 1.66k]
  ------------------
 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.66k|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   61|  1.66k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 1.66k]
  |  |  ------------------
  ------------------
 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.66k|    if (Py_TYPE(mp)->tp_iter == dict_iter &&
  ------------------
  |  |  213|  1.66k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4622:9): [True: 1.66k, False: 0]
  ------------------
 4623|  1.66k|            mp->ma_values == NULL &&
  ------------------
  |  Branch (4623:13): [True: 1.66k, False: 0]
  ------------------
 4624|  1.66k|            (mp->ma_used >= (mp->ma_keys->dk_nentries * 2) / 3))
  ------------------
  |  Branch (4624:13): [True: 1.66k, False: 0]
  ------------------
 4625|  1.66k|    {
 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.66k|        PyDictKeysObject *keys = clone_combined_dict_keys(mp);
 4641|  1.66k|        if (keys == NULL) {
  ------------------
  |  Branch (4641:13): [True: 0, False: 1.66k]
  ------------------
 4642|      0|            return NULL;
 4643|      0|        }
 4644|  1.66k|        PyDictObject *new;
 4645|  1.66k|        if (as_frozendict) {
  ------------------
  |  Branch (4645:13): [True: 0, False: 1.66k]
  ------------------
 4646|      0|            new = (PyDictObject *)new_frozendict_untracked(keys, NULL, 0, 0);
 4647|      0|        }
 4648|  1.66k|        else {
 4649|  1.66k|            new = (PyDictObject *)new_dict_untracked(keys, NULL, 0, 0);
 4650|  1.66k|        }
 4651|  1.66k|        if (new == NULL) {
  ------------------
  |  Branch (4651:13): [True: 0, False: 1.66k]
  ------------------
 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.66k|        new->ma_used = mp->ma_used;
 4658|  1.66k|        ASSERT_CONSISTENT(new);
  ------------------
  |  |  668|  1.66k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4658:9): [True: 1.66k, False: 0]
  ------------------
 4659|  1.66k|        assert(!_PyObject_GC_IS_TRACKED(new));
  ------------------
  |  Branch (4659:9): [True: 1.66k, False: 0]
  ------------------
 4660|  1.66k|        return (PyObject *)new;
 4661|  1.66k|    }
 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|     10|{
 5478|     10|    assert(PyObject_IsSubclass((PyObject*)type, (PyObject*)&PyDict_Type));
  ------------------
  |  Branch (5478:5): [True: 10, False: 0]
  ------------------
 5479|       |
 5480|     10|    return anydict_new_untracked(type);
 5481|     10|}
dictobject.c:anydict_new_untracked:
 5454|     11|{
 5455|     11|    assert(type != NULL);
  ------------------
  |  Branch (5455:5): [True: 11, False: 0]
  ------------------
 5456|       |    // dict and frozendict subclasses must implement the GC protocol
 5457|     11|    assert(_PyType_IS_GC(type));
  ------------------
  |  Branch (5457:5): [True: 11, False: 0]
  ------------------
 5458|       |
 5459|     11|    PyObject *self = _PyType_AllocNoTrack(type, 0);
 5460|     11|    if (self == NULL) {
  ------------------
  |  Branch (5460:9): [True: 0, False: 11]
  ------------------
 5461|      0|        return NULL;
 5462|      0|    }
 5463|     11|    PyDictObject *d = (PyDictObject *)self;
 5464|       |
 5465|     11|    d->ma_used = 0;
 5466|     11|    d->_ma_watcher_tag = 0;
 5467|       |    // We don't inc ref empty keys because they're immortal
 5468|     11|    assert((Py_EMPTY_KEYS)->dk_refcnt == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
  ------------------
  |  Branch (5468:5): [True: 11, False: 0]
  ------------------
 5469|     11|    d->ma_keys = Py_EMPTY_KEYS;
  ------------------
  |  |  660|     11|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 5470|     11|    d->ma_values = NULL;
 5471|     11|    ASSERT_CONSISTENT(d);
  ------------------
  |  |  668|     11|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (5471:5): [True: 11, False: 0]
  ------------------
 5472|     11|    return self;
 5473|     11|}
dictobject.c:new_values:
  915|    319|{
  916|    319|    size_t n = values_size_from_count(size);
  917|    319|    PyDictValues *res = (PyDictValues *)PyMem_Malloc(n);
  918|    319|    if (res == NULL) {
  ------------------
  |  Branch (918:9): [True: 0, False: 319]
  ------------------
  919|      0|        return NULL;
  920|      0|    }
  921|    319|    res->embedded = 0;
  922|    319|    res->size = 0;
  923|    319|    assert(size < 256);
  ------------------
  |  Branch (923:5): [True: 319, False: 0]
  ------------------
  924|    319|    res->capacity = (uint8_t)size;
  925|    319|    return res;
  926|    319|}
dictobject.c:values_size_from_count:
  903|    319|{
  904|    319|    assert(count >= 1);
  ------------------
  |  Branch (904:5): [True: 319, False: 0]
  ------------------
  905|    319|    size_t suffix_size = _Py_SIZE_ROUND_UP(count, sizeof(PyObject *));
  ------------------
  |  |  249|    319|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  250|    319|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  906|    319|    assert(suffix_size < 128);
  ------------------
  |  Branch (906:5): [True: 319, False: 0]
  ------------------
  907|    319|    assert(suffix_size % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (907:5): [True: 319, False: 0]
  ------------------
  908|    319|    return (count + 1) * sizeof(PyObject *) + suffix_size;
  909|    319|}
dictobject.c:dictkeys_incref:
  482|    319|{
  483|    319|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) < 0) {
  ------------------
  |  |  151|    319|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (483:9): [True: 0, False: 319]
  ------------------
  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|    319|    INCREF_KEYS(dk);
  ------------------
  |  |  262|    319|#define INCREF_KEYS(dk)  dk->dk_refcnt++
  ------------------
  491|    319|}
dictobject.c:new_dict_untracked:
  987|  1.66k|{
  988|  1.66k|    PyDictObject *mp = _Py_FREELIST_POP(PyDictObject, dicts);
  ------------------
  |  |   43|  1.66k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  989|  1.66k|    if (mp == NULL) {
  ------------------
  |  Branch (989:9): [True: 518, False: 1.14k]
  ------------------
  990|    518|        mp = PyObject_GC_New(PyDictObject, &PyDict_Type);
  ------------------
  |  |  181|    518|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    518|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  991|    518|    }
  992|  1.66k|    assert(mp == NULL || Py_IS_TYPE(mp, &PyDict_Type));
  ------------------
  |  Branch (992:5): [True: 0, False: 1.66k]
  |  Branch (992:5): [True: 1.66k, False: 0]
  ------------------
  993|       |
  994|  1.66k|    return new_dict_impl(mp, keys, values, used, free_values_on_failure, 0, 0);
  995|  1.66k|}
dictobject.c:dict_setdefault_ref_lock_held:
 4913|  2.30M|{
 4914|  2.30M|    if (!PyDict_Check(d)) {
  ------------------
  |  |   18|  2.30M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.30M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4914:9): [True: 0, False: 2.30M]
  ------------------
 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|  2.30M|    assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (4926:5): [True: 2.30M, False: 0]
  ------------------
 4927|       |
 4928|  2.30M|    PyDictObject *mp = (PyDictObject *)d;
 4929|  2.30M|    PyObject *value;
 4930|  2.30M|    Py_hash_t hash;
 4931|  2.30M|    Py_ssize_t ix;
 4932|       |
 4933|  2.30M|    hash = _PyObject_HashDictKey(key);
 4934|  2.30M|    if (hash == -1) {
  ------------------
  |  Branch (4934:9): [True: 0, False: 2.30M]
  ------------------
 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|  2.30M|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|  2.30M|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (4942:9): [True: 12.1k, False: 2.29M]
  ------------------
 4943|  12.1k|        if (insert_to_emptydict(mp, Py_NewRef(key), hash,
  ------------------
  |  |  647|  12.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4943:13): [True: 0, False: 12.1k]
  ------------------
 4944|  12.1k|                                Py_NewRef(default_value)) < 0) {
  ------------------
  |  |  647|  12.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#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|  12.1k|        if (result) {
  ------------------
  |  Branch (4950:13): [True: 12.1k, False: 19]
  ------------------
 4951|  12.1k|            *result = incref_result ? Py_NewRef(default_value) : default_value;
  ------------------
  |  |  647|  12.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4951:23): [True: 12.1k, False: 0]
  ------------------
 4952|  12.1k|        }
 4953|  12.1k|        return 0;
 4954|  12.1k|    }
 4955|       |
 4956|  2.29M|    if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |   61|  4.59M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 2.29M]
  |  |  ------------------
  ------------------
                  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|  2.29M|    else {
 4973|  2.29M|        ix = _Py_dict_lookup(mp, key, hash, &value);
 4974|  2.29M|        if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|  2.29M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (4974:13): [True: 0, False: 2.29M]
  ------------------
 4975|      0|            if (result) {
  ------------------
  |  Branch (4975:17): [True: 0, False: 0]
  ------------------
 4976|      0|                *result = NULL;
 4977|      0|            }
 4978|      0|            return -1;
 4979|      0|        }
 4980|  2.29M|    }
 4981|       |
 4982|  2.29M|    if (ix == DKIX_EMPTY || value == NULL) {
  ------------------
  |  |  194|  4.59M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4982:9): [True: 500k, False: 1.79M]
  |  Branch (4982:29): [True: 0, False: 1.79M]
  ------------------
 4983|   500k|        value = default_value;
 4984|       |
 4985|       |        // See comment to this function in insertdict.
 4986|   500k|        if (insert_combined_dict(mp, hash, Py_NewRef(key), Py_NewRef(value)) < 0) {
  ------------------
  |  |  647|   500k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   500k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   500k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (insert_combined_dict(mp, hash, Py_NewRef(key), Py_NewRef(value)) < 0) {
  ------------------
  |  |  647|   500k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   500k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   500k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4986:13): [True: 0, False: 500k]
  ------------------
 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|   500k|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|   500k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  197|   500k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4996|   500k|        assert(mp->ma_keys->dk_usable >= 0);
  ------------------
  |  Branch (4996:9): [True: 500k, False: 0]
  ------------------
 4997|   500k|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|   500k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4997:9): [True: 500k, False: 0]
  ------------------
 4998|   500k|        if (result) {
  ------------------
  |  Branch (4998:13): [True: 496k, False: 3.32k]
  ------------------
 4999|   496k|            *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  647|   496k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   496k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   496k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4999:23): [True: 496k, False: 0]
  ------------------
 5000|   496k|        }
 5001|   500k|        return 0;
 5002|   500k|    }
 5003|       |
 5004|  2.29M|    assert(value != NULL);
  ------------------
  |  Branch (5004:5): [True: 1.79M, False: 0]
  ------------------
 5005|  1.79M|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  1.79M|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (5005:5): [True: 1.79M, False: 0]
  ------------------
 5006|  1.79M|    if (result) {
  ------------------
  |  Branch (5006:9): [True: 1.79M, False: 0]
  ------------------
 5007|  1.79M|        *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  647|  1.79M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5007:19): [True: 1.79M, False: 0]
  ------------------
 5008|  1.79M|    }
 5009|  1.79M|    return 1;
 5010|  1.79M|}
dictobject.c:dict_update_arg:
 4123|     62|{
 4124|     62|    if (PyAnyDict_CheckExact(arg)) {
  ------------------
  |  |   41|     62|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|     62|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    124|#  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: 40, False: 22]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|     22|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     22|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 22]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4125|     40|        return dict_merge(self, arg, 1, NULL);
 4126|     40|    }
 4127|     22|    int has_keys = PyObject_HasAttrWithError(arg, &_Py_ID(keys));
  ------------------
  |  |  951|     22|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     22|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     22|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4128|     22|    if (has_keys < 0) {
  ------------------
  |  Branch (4128:9): [True: 0, False: 22]
  ------------------
 4129|      0|        return -1;
 4130|      0|    }
 4131|     22|    if (has_keys) {
  ------------------
  |  Branch (4131:9): [True: 8, False: 14]
  ------------------
 4132|      8|        return dict_merge(self, arg, 1, NULL);
 4133|      8|    }
 4134|     14|    return dict_merge_from_seq2(self, arg, 1);
 4135|     22|}
dictobject.c:dict_contains:
 5375|   430k|{
 5376|   430k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 5377|   430k|    if (hash == -1) {
  ------------------
  |  Branch (5377:9): [True: 0, False: 430k]
  ------------------
 5378|      0|        dict_unhashable_type(op, key);
 5379|      0|        return -1;
 5380|      0|    }
 5381|       |
 5382|   430k|    return _PyDict_Contains_KnownHash(op, key, hash);
 5383|   430k|}
dictobject.c:dict_dealloc:
 3738|   608k|{
 3739|   608k|    PyDictObject *mp = (PyDictObject *)self;
 3740|   608k|    _PyObject_ResurrectStart(self);
 3741|   608k|    _PyDict_NotifyEvent(PyDict_EVENT_DEALLOCATED, mp, NULL, NULL);
 3742|   608k|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (3742:9): [True: 0, False: 608k]
  ------------------
 3743|      0|        return;
 3744|      0|    }
 3745|   608k|    PyDictValues *values = mp->ma_values;
 3746|   608k|    PyDictKeysObject *keys = mp->ma_keys;
 3747|   608k|    Py_ssize_t i, n;
 3748|       |
 3749|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 3750|   608k|    PyObject_GC_UnTrack(mp);
 3751|   608k|    if (values != NULL) {
  ------------------
  |  Branch (3751:9): [True: 7, False: 608k]
  ------------------
 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|   608k|    else if (keys != NULL) {
  ------------------
  |  Branch (3760:14): [True: 608k, False: 0]
  ------------------
 3761|   608k|        assert(keys->dk_refcnt == 1 || keys == Py_EMPTY_KEYS);
  ------------------
  |  Branch (3761:9): [True: 417k, False: 190k]
  |  Branch (3761:9): [True: 190k, False: 0]
  ------------------
 3762|   608k|        dictkeys_decref(keys, false);
 3763|   608k|    }
 3764|   608k|    if (Py_IS_TYPE(mp, &PyDict_Type)) {
  ------------------
  |  |  215|   608k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   608k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   608k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 608k, False: 7]
  |  |  ------------------
  ------------------
 3765|   608k|        _Py_FREELIST_FREE(dicts, mp, Py_TYPE(mp)->tp_free);
  ------------------
  |  |   35|   608k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|   608k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   608k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|   608k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   16|   608k|#  define Py_dicts_MAXFREELIST 80
  |  |  ------------------
  ------------------
 3766|   608k|    }
 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|   608k|}
dictobject.c:dict_length:
 3875|    456|{
 3876|    456|    return GET_USED(_PyAnyDict_CAST(self));
  ------------------
  |  |  328|    456|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  151|  1.82k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (151:45): [True: 456, False: 0]
  |  |  |  |  |  Branch (151:45): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3877|    456|}
dictobject.c:dict_traverse:
 5188|   119k|{
 5189|   119k|    PyDictObject *mp = (PyDictObject *)op;
 5190|   119k|    PyDictKeysObject *keys = mp->ma_keys;
 5191|   119k|    Py_ssize_t i, n = keys->dk_nentries;
 5192|       |
 5193|   119k|    if (DK_IS_UNICODE(keys)) {
  ------------------
  |  |  303|   119k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 110k, False: 8.62k]
  |  |  ------------------
  ------------------
 5194|   110k|        if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   61|   110k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 6.17k, False: 104k]
  |  |  ------------------
  ------------------
 5195|  40.5k|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5195:25): [True: 34.3k, False: 6.17k]
  ------------------
 5196|  34.3k|                Py_VISIT(mp->ma_values->values[i]);
  ------------------
  |  |  194|  34.3k|    do {                                                                \
  |  |  195|  34.3k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 28.5k, False: 5.80k]
  |  |  ------------------
  |  |  196|  28.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  28.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  28.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 28.5k]
  |  |  ------------------
  |  |  198|  28.5k|                return vret;                                            \
  |  |  199|  28.5k|        }                                                               \
  |  |  200|  34.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 34.3k]
  |  |  ------------------
  ------------------
 5197|  34.3k|            }
 5198|  6.17k|        }
 5199|   104k|        else {
 5200|   104k|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
 5201|  1.21M|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5201:25): [True: 1.10M, False: 104k]
  ------------------
 5202|  1.10M|                Py_VISIT(entries[i].me_value);
  ------------------
  |  |  194|  1.10M|    do {                                                                \
  |  |  195|  1.10M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 983k, False: 124k]
  |  |  ------------------
  |  |  196|   983k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   983k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   983k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   983k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 983k]
  |  |  ------------------
  |  |  198|   983k|                return vret;                                            \
  |  |  199|   983k|        }                                                               \
  |  |  200|  1.10M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.10M]
  |  |  ------------------
  ------------------
 5203|  1.10M|            }
 5204|   104k|        }
 5205|   110k|    }
 5206|  8.62k|    else {
 5207|  8.62k|        PyDictKeyEntry *entries = DK_ENTRIES(keys);
 5208|   365k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5208:21): [True: 356k, False: 8.62k]
  ------------------
 5209|   356k|            if (entries[i].me_value != NULL) {
  ------------------
  |  Branch (5209:17): [True: 356k, False: 202]
  ------------------
 5210|   356k|                Py_VISIT(entries[i].me_value);
  ------------------
  |  |  194|   356k|    do {                                                                \
  |  |  195|   356k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 356k, False: 0]
  |  |  ------------------
  |  |  196|   356k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   356k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 356k]
  |  |  ------------------
  |  |  198|   356k|                return vret;                                            \
  |  |  199|   356k|        }                                                               \
  |  |  200|   356k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 356k]
  |  |  ------------------
  ------------------
 5211|   356k|                Py_VISIT(entries[i].me_key);
  ------------------
  |  |  194|   356k|    do {                                                                \
  |  |  195|   356k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 356k, False: 0]
  |  |  ------------------
  |  |  196|   356k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   356k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   356k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   356k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 356k]
  |  |  ------------------
  |  |  198|   356k|                return vret;                                            \
  |  |  199|   356k|        }                                                               \
  |  |  200|   356k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 356k]
  |  |  ------------------
  ------------------
 5212|   356k|            }
 5213|   356k|        }
 5214|  8.62k|    }
 5215|   119k|    return 0;
 5216|   119k|}
dictobject.c:dict_tp_clear:
 5220|     11|{
 5221|     11|    PyDict_Clear(op);
 5222|     11|    return 0;
 5223|     11|}
dictobject.c:dict_iter:
 5580|     28|{
 5581|     28|    PyDictObject *dict = (PyDictObject *)self;
 5582|     28|    return dictiter_new(dict, &PyDictIterKey_Type);
 5583|     28|}
dictobject.c:dictiter_new:
 5717|    145|{
 5718|    145|    Py_ssize_t used;
 5719|    145|    dictiterobject *di;
 5720|    145|    di = PyObject_GC_New(dictiterobject, itertype);
  ------------------
  |  |  181|    145|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5721|    145|    if (di == NULL) {
  ------------------
  |  Branch (5721:9): [True: 0, False: 145]
  ------------------
 5722|      0|        return NULL;
 5723|      0|    }
 5724|    145|    di->di_dict = (PyDictObject*)Py_NewRef(dict);
  ------------------
  |  |  647|    145|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5725|    145|    used = GET_USED(dict);
  ------------------
  |  |  328|    145|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  151|    145|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 5726|    145|    di->di_used = used;
 5727|    145|    di->len = used;
 5728|    145|    di->di_result = NULL;
 5729|    145|    if (itertype == &PyDictRevIterKey_Type ||
  ------------------
  |  Branch (5729:9): [True: 0, False: 145]
  ------------------
 5730|    145|         itertype == &PyDictRevIterItem_Type ||
  ------------------
  |  Branch (5730:10): [True: 0, False: 145]
  ------------------
 5731|    145|         itertype == &PyDictRevIterValue_Type) {
  ------------------
  |  Branch (5731:10): [True: 0, False: 145]
  ------------------
 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|    145|    else {
 5740|    145|        di->di_pos = 0;
 5741|    145|    }
 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|    145|    _PyObject_GC_TRACK(di);
  ------------------
  |  |  502|    145|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5746|    145|    if (itertype == &PyDictIterItem_Type ||
  ------------------
  |  Branch (5746:9): [True: 105, False: 40]
  ------------------
 5747|    105|        itertype == &PyDictRevIterItem_Type) {
  ------------------
  |  Branch (5747:9): [True: 0, False: 40]
  ------------------
 5748|    105|        di->di_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|    105|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      di->di_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|    105|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5749|    105|        if (di->di_result == NULL) {
  ------------------
  |  Branch (5749:13): [True: 0, False: 105]
  ------------------
 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|    105|    }
 5754|    145|    return (PyObject *)di;
 5755|    145|}
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|   439k|{
 4892|   439k|    PyObject *val = NULL;
 4893|   439k|    Py_hash_t hash;
 4894|   439k|    Py_ssize_t ix;
 4895|       |
 4896|   439k|    hash = _PyObject_HashDictKey(key);
 4897|   439k|    if (hash == -1) {
  ------------------
  |  Branch (4897:9): [True: 0, False: 439k]
  ------------------
 4898|      0|        dict_unhashable_type((PyObject*)self, key);
 4899|      0|        return NULL;
 4900|      0|    }
 4901|   439k|    ix = _Py_dict_lookup_threadsafe(self, key, hash, &val);
 4902|   439k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  196|   439k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (4902:9): [True: 0, False: 439k]
  ------------------
 4903|      0|        return NULL;
 4904|   439k|    if (ix == DKIX_EMPTY || val == NULL) {
  ------------------
  |  |  194|   879k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4904:9): [True: 437k, False: 1.87k]
  |  Branch (4904:29): [True: 0, False: 1.87k]
  ------------------
 4905|   437k|        val = Py_NewRef(default_value);
  ------------------
  |  |  647|   437k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   437k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   437k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4906|   437k|    }
 4907|   439k|    return val;
 4908|   439k|}
dictobject.c:dict_setdefault_impl:
 5050|     60|{
 5051|     60|    PyObject *val;
 5052|     60|    dict_setdefault_ref_lock_held((PyObject *)self, key, default_value, &val, 1);
 5053|     60|    return val;
 5054|     60|}
dictobject.c:dict_pop_impl:
 5088|  41.6k|{
 5089|  41.6k|    return dict_pop_default((PyObject*)self, key, default_value);
 5090|  41.6k|}
dictobject.c:dict_keys_impl:
 7153|    311|{
 7154|    311|    return _PyDictView_New((PyObject *)self, &PyDictKeys_Type);
 7155|    311|}
dictobject.c:dict_items_impl:
 7265|    108|{
 7266|    108|    return _PyDictView_New((PyObject *)self, &PyDictItems_Type);
 7267|    108|}
dictobject.c:dict_values_impl:
 7355|      5|{
 7356|      5|    return _PyDictView_New((PyObject *)self, &PyDictValues_Type);
 7357|      5|}
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|     55|{
 4141|     55|    PyObject *arg = NULL;
 4142|     55|    int result = 0;
 4143|       |
 4144|     55|    if (!PyArg_UnpackTuple(args, methname, 0, 1, &arg)) {
  ------------------
  |  Branch (4144:9): [True: 0, False: 55]
  ------------------
 4145|      0|        result = -1;
 4146|      0|    }
 4147|     55|    else if (arg != NULL) {
  ------------------
  |  Branch (4147:14): [True: 47, False: 8]
  ------------------
 4148|     47|        result = dict_update_arg(self, arg);
 4149|     47|    }
 4150|       |
 4151|     55|    if (result == 0 && kwds != NULL) {
  ------------------
  |  Branch (4151:9): [True: 55, False: 0]
  |  Branch (4151:24): [True: 0, False: 55]
  ------------------
 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|     55|    return result;
 4158|     55|}
dictobject.c:dict_fromkeys_impl:
 4116|     16|{
 4117|     16|    return _PyDict_FromKeys((PyObject *)type, iterable, value);
 4118|     16|}
dictobject.c:dict_copy_impl:
 4539|      3|{
 4540|      3|    return PyDict_Copy((PyObject *)self);
 4541|      3|}
dictobject.c:dict_init:
 5497|      8|{
 5498|      8|    return dict_update_common(self, args, kwds, "dict");
 5499|      8|}
dictobject.c:dict_new:
 5485|      8|{
 5486|       |    /* tp_new ignores args/kwds; args/kwds are consumed by dict_init (tp_init). */
 5487|      8|    PyObject *self = dict_new_untracked(type);
 5488|      8|    if (self == NULL) {
  ------------------
  |  Branch (5488:9): [True: 0, False: 8]
  ------------------
 5489|      0|        return NULL;
 5490|      0|    }
 5491|      8|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|      8|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5492|      8|    return self;
 5493|      8|}
dictobject.c:dict_vectorcall:
 5504|     31|{
 5505|     31|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     31|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5506|     31|    if (!_PyArg_CheckPositional("dict", nargs, 0, 1)) {
  ------------------
  |  |   38|     31|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 31, False: 0]
  |  |  |  Branch (38:27): [True: 31, False: 0]
  |  |  ------------------
  |  |   39|     31|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5507|      0|        return NULL;
 5508|      0|    }
 5509|       |
 5510|     31|    assert(type == (PyObject *)&PyDict_Type);
  ------------------
  |  Branch (5510:5): [True: 31, False: 0]
  ------------------
 5511|     31|    PyObject *self = PyDict_New();
 5512|     31|    if (self == NULL) {
  ------------------
  |  Branch (5512:9): [True: 0, False: 31]
  ------------------
 5513|      0|        return NULL;
 5514|      0|    }
 5515|     31|    if (nargs == 1) {
  ------------------
  |  Branch (5515:9): [True: 14, False: 17]
  ------------------
 5516|     14|        if (dict_update_arg(self, args[0]) < 0) {
  ------------------
  |  Branch (5516:13): [True: 0, False: 14]
  ------------------
 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|     14|        args++;
 5521|     14|    }
 5522|     31|    if (kwnames != NULL) {
  ------------------
  |  Branch (5522:9): [True: 1, False: 30]
  ------------------
 5523|      9|        for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(kwnames); i++) {
  ------------------
  |  |   27|      9|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5523:32): [True: 8, False: 1]
  ------------------
 5524|      8|            PyObject *key = PyTuple_GET_ITEM(kwnames, i);  // borrowed
  ------------------
  |  |   29|      8|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      8|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5524:29): [True: 8, False: 0]
  ------------------
 5525|      8|            if (PyDict_SetItem(self, key, args[i]) < 0) {
  ------------------
  |  Branch (5525:17): [True: 0, False: 8]
  ------------------
 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|      8|        }
 5530|      1|    }
 5531|     31|    return self;
 5532|     31|}
dictobject.c:dictiter_dealloc:
 5759|    145|{
 5760|    145|    dictiterobject *di = (dictiterobject *)self;
 5761|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 5762|    145|    _PyObject_GC_UNTRACK(di);
  ------------------
  |  |  504|    145|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5763|    145|    Py_XDECREF(di->di_dict);
  ------------------
  |  |  621|    145|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5764|    145|    Py_XDECREF(di->di_result);
  ------------------
  |  |  621|    145|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5765|    145|    PyObject_GC_Del(di);
 5766|    145|}
dictobject.c:dictiter_iternextkey:
 5882|    374|{
 5883|    374|    dictiterobject *di = (dictiterobject *)self;
 5884|    374|    PyDictObject *d = di->di_dict;
 5885|       |
 5886|    374|    if (d == NULL)
  ------------------
  |  Branch (5886:9): [True: 0, False: 374]
  ------------------
 5887|      0|        return NULL;
 5888|       |
 5889|    374|    PyObject *value;
 5890|       |#ifdef Py_GIL_DISABLED
 5891|       |    if (dictiter_iternext_threadsafe(d, self, &value, NULL) < 0) {
 5892|       |        value = NULL;
 5893|       |    }
 5894|       |#else
 5895|    374|    value = dictiter_iternextkey_lock_held(d, self);
 5896|    374|#endif
 5897|       |
 5898|    374|    return value;
 5899|    374|}
dictobject.c:dictiter_iternextkey_lock_held:
 5813|    374|{
 5814|    374|    dictiterobject *di = (dictiterobject *)self;
 5815|    374|    PyObject *key;
 5816|    374|    Py_ssize_t i;
 5817|    374|    PyDictKeysObject *k;
 5818|       |
 5819|    374|    assert (PyAnyDict_Check(d));
  ------------------
  |  Branch (5819:5): [True: 374, False: 0]
  |  Branch (5819:5): [True: 0, False: 0]
  ------------------
 5820|    374|    ASSERT_DICT_LOCKED(d);
 5821|       |
 5822|    374|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (5822:9): [True: 0, False: 374]
  ------------------
 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|    374|    i = di->di_pos;
 5830|    374|    k = d->ma_keys;
 5831|    374|    assert(i >= 0);
  ------------------
  |  Branch (5831:5): [True: 374, False: 0]
  ------------------
 5832|    374|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   61|    374|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 374]
  |  |  ------------------
  ------------------
 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|    374|    else {
 5840|    374|        Py_ssize_t n = k->dk_nentries;
 5841|    374|        if (DK_IS_UNICODE(k)) {
  ------------------
  |  |  303|    374|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 274, False: 100]
  |  |  ------------------
  ------------------
 5842|    274|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(k)[i];
 5843|    295|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5843:20): [True: 269, False: 26]
  |  Branch (5843:29): [True: 21, False: 248]
  ------------------
 5844|     21|                entry_ptr++;
 5845|     21|                i++;
 5846|     21|            }
 5847|    274|            if (i >= n)
  ------------------
  |  Branch (5847:17): [True: 26, False: 248]
  ------------------
 5848|     26|                goto fail;
 5849|    248|            key = entry_ptr->me_key;
 5850|    248|        }
 5851|    100|        else {
 5852|    100|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(k)[i];
 5853|    100|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5853:20): [True: 90, False: 10]
  |  Branch (5853:29): [True: 0, False: 90]
  ------------------
 5854|      0|                entry_ptr++;
 5855|      0|                i++;
 5856|      0|            }
 5857|    100|            if (i >= n)
  ------------------
  |  Branch (5857:17): [True: 10, False: 90]
  ------------------
 5858|     10|                goto fail;
 5859|     90|            key = entry_ptr->me_key;
 5860|     90|        }
 5861|    374|    }
 5862|       |    // We found an element (key), but did not expect it
 5863|    338|    if (di->len == 0) {
  ------------------
  |  Branch (5863:9): [True: 0, False: 338]
  ------------------
 5864|      0|        PyErr_SetString(PyExc_RuntimeError,
 5865|      0|                        "dictionary keys changed during iteration");
 5866|      0|        goto fail;
 5867|      0|    }
 5868|    338|    di->di_pos = i+1;
 5869|    338|    di->len--;
 5870|    338|    return Py_NewRef(key);
  ------------------
  |  |  647|    338|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    338|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5871|       |
 5872|     36|fail:
 5873|     36|    di->di_dict = NULL;
 5874|     36|    Py_DECREF(d);
  ------------------
  |  |  430|     36|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5875|       |    return NULL;
 5876|    338|}
dictobject.c:dictiter_len:
 5779|     84|{
 5780|     84|    dictiterobject *di = (dictiterobject *)self;
 5781|     84|    Py_ssize_t len = 0;
 5782|     84|    if (di->di_dict != NULL && di->di_used == GET_USED(di->di_dict))
  ------------------
  |  |  328|     84|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  151|     84|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
  |  Branch (5782:9): [True: 84, False: 0]
  |  Branch (5782:32): [True: 84, False: 0]
  ------------------
 5783|     84|        len = FT_ATOMIC_LOAD_SSIZE_RELAXED(di->len);
  ------------------
  |  |  151|     84|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 5784|     84|    return PyLong_FromSize_t(len);
 5785|     84|}
dictobject.c:dictiter_iternextitem:
 6288|  1.20k|{
 6289|  1.20k|    dictiterobject *di = (dictiterobject *)self;
 6290|  1.20k|    PyDictObject *d = di->di_dict;
 6291|       |
 6292|  1.20k|    if (d == NULL)
  ------------------
  |  Branch (6292:9): [True: 0, False: 1.20k]
  ------------------
 6293|      0|        return NULL;
 6294|       |
 6295|  1.20k|    PyObject *key, *value;
 6296|       |#ifdef Py_GIL_DISABLED
 6297|       |    if (dictiter_iternext_threadsafe(d, self, &key, &value) == 0) {
 6298|       |#else
 6299|  1.20k|    if (dictiter_iternextitem_lock_held(d, self, &key, &value) == 0) {
  ------------------
  |  Branch (6299:9): [True: 1.10k, False: 103]
  ------------------
 6300|       |
 6301|  1.10k|#endif
 6302|  1.10k|        PyObject *result = di->di_result;
 6303|  1.10k|        if (acquire_iter_result(result)) {
  ------------------
  |  Branch (6303:13): [True: 317, False: 787]
  ------------------
 6304|    317|            PyObject *oldkey = PyTuple_GET_ITEM(result, 0);
  ------------------
  |  |   29|    317|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    317|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    317|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6304:32): [True: 317, False: 0]
  ------------------
 6305|    317|            PyObject *oldvalue = PyTuple_GET_ITEM(result, 1);
  ------------------
  |  |   29|    317|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    317|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    317|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6305:34): [True: 317, False: 0]
  ------------------
 6306|    317|            PyTuple_SET_ITEM(result, 0, key);
  ------------------
  |  |   40|    317|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    317|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    317|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    317|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    317|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6307|    317|            PyTuple_SET_ITEM(result, 1, value);
  ------------------
  |  |   40|    317|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    317|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    317|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    317|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    317|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6308|    317|            Py_DECREF(oldkey);
  ------------------
  |  |  430|    317|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    317|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    317|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6309|    317|            Py_DECREF(oldvalue);
  ------------------
  |  |  430|    317|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    317|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    317|#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|    317|            _PyTuple_Recycle(result);
 6313|    317|        }
 6314|    787|        else {
 6315|    787|            result = _PyTuple_FromPairSteal(key, value);
 6316|    787|        }
 6317|  1.10k|        return result;
 6318|  1.10k|    }
 6319|    103|    return NULL;
 6320|  1.20k|}
dictobject.c:dictiter_iternextitem_lock_held:
 6060|  1.20k|{
 6061|  1.20k|    dictiterobject *di = (dictiterobject *)self;
 6062|  1.20k|    PyObject *key, *value;
 6063|  1.20k|    Py_ssize_t i;
 6064|       |
 6065|  1.20k|    assert (PyAnyDict_Check(d));
  ------------------
  |  Branch (6065:5): [True: 1.20k, False: 0]
  |  Branch (6065:5): [True: 0, False: 0]
  ------------------
 6066|  1.20k|    ASSERT_DICT_LOCKED(d);
 6067|       |
 6068|  1.20k|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (6068:9): [True: 0, False: 1.20k]
  ------------------
 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.20k|    i = FT_ATOMIC_LOAD_SSIZE_RELAXED(di->di_pos);
  ------------------
  |  |  151|  1.20k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 6076|       |
 6077|  1.20k|    assert(i >= 0);
  ------------------
  |  Branch (6077:5): [True: 1.20k, False: 0]
  ------------------
 6078|  1.20k|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   61|  1.20k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 0, False: 1.20k]
  |  |  ------------------
  ------------------
 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.20k|    else {
 6087|  1.20k|        Py_ssize_t n = d->ma_keys->dk_nentries;
 6088|  1.20k|        if (DK_IS_UNICODE(d->ma_keys)) {
  ------------------
  |  |  303|  1.20k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 1.20k, False: 0]
  |  |  ------------------
  ------------------
 6089|  1.20k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(d->ma_keys)[i];
 6090|  1.34k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (6090:20): [True: 1.24k, False: 103]
  |  Branch (6090:29): [True: 141, False: 1.10k]
  ------------------
 6091|    141|                entry_ptr++;
 6092|    141|                i++;
 6093|    141|            }
 6094|  1.20k|            if (i >= n)
  ------------------
  |  Branch (6094:17): [True: 103, False: 1.10k]
  ------------------
 6095|    103|                goto fail;
 6096|  1.10k|            key = entry_ptr->me_key;
 6097|  1.10k|            value = entry_ptr->me_value;
 6098|  1.10k|        }
 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.20k|    }
 6111|       |    // We found an element, but did not expect it
 6112|  1.10k|    if (di->len == 0) {
  ------------------
  |  Branch (6112:9): [True: 0, False: 1.10k]
  ------------------
 6113|      0|        PyErr_SetString(PyExc_RuntimeError,
 6114|      0|                        "dictionary keys changed during iteration");
 6115|      0|        goto fail;
 6116|      0|    }
 6117|  1.10k|    di->di_pos = i+1;
 6118|  1.10k|    di->len--;
 6119|  1.10k|    if (out_key != NULL) {
  ------------------
  |  Branch (6119:9): [True: 1.10k, False: 0]
  ------------------
 6120|  1.10k|        *out_key = Py_NewRef(key);
  ------------------
  |  |  647|  1.10k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6121|  1.10k|    }
 6122|  1.10k|    if (out_value != NULL) {
  ------------------
  |  Branch (6122:9): [True: 1.10k, False: 0]
  ------------------
 6123|  1.10k|        *out_value = Py_NewRef(value);
  ------------------
  |  |  647|  1.10k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6124|  1.10k|    }
 6125|  1.10k|    return 0;
 6126|       |
 6127|    103|fail:
 6128|    103|    di->di_dict = NULL;
 6129|    103|    Py_DECREF(d);
  ------------------
  |  |  430|    103|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6130|    103|    return -1;
 6131|  1.10k|}
dictobject.c:acquire_iter_result:
 6278|  1.10k|{
 6279|  1.10k|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (6279:9): [True: 317, False: 787]
  ------------------
 6280|    317|        Py_INCREF(result);
  ------------------
  |  |  310|    317|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    317|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    317|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6281|    317|        return true;
 6282|    317|    }
 6283|    787|    return false;
 6284|  1.10k|}
dictobject.c:dictview_len:
 6566|    150|{
 6567|    150|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6568|    150|    Py_ssize_t len = 0;
 6569|    150|    if (dv->dv_dict != NULL)
  ------------------
  |  Branch (6569:9): [True: 150, False: 0]
  ------------------
 6570|    150|        len = GET_USED(dv->dv_dict);
  ------------------
  |  |  328|    150|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  151|    150|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 6571|    150|    return len;
 6572|    150|}
dictobject.c:dictkeys_contains:
 6744|    435|{
 6745|    435|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6746|    435|    if (dv->dv_dict == NULL)
  ------------------
  |  Branch (6746:9): [True: 0, False: 435]
  ------------------
 6747|      0|        return 0;
 6748|    435|    return dict_contains((PyObject *)dv->dv_dict, obj);
 6749|    435|}
dictobject.c:dictview_dealloc:
 6548|    424|{
 6549|    424|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6550|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 6551|    424|    _PyObject_GC_UNTRACK(dv);
  ------------------
  |  |  504|    424|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    424|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    424|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6552|    424|    Py_XDECREF(dv->dv_dict);
  ------------------
  |  |  621|    424|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    424|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    424|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6553|    424|    PyObject_GC_Del(dv);
 6554|    424|}
dictobject.c:dictviews_sub:
 6781|    149|{
 6782|    149|    PyObject *result = dictviews_to_set(self);
 6783|    149|    if (result == NULL) {
  ------------------
  |  Branch (6783:9): [True: 0, False: 149]
  ------------------
 6784|      0|        return NULL;
 6785|      0|    }
 6786|       |
 6787|    149|    PyObject *tmp = PyObject_CallMethodOneArg(
 6788|    149|            result, &_Py_ID(difference_update), other);
  ------------------
  |  |  951|    149|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    149|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    149|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6789|    149|    if (tmp == NULL) {
  ------------------
  |  Branch (6789:9): [True: 0, False: 149]
  ------------------
 6790|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6791|      0|        return NULL;
 6792|      0|    }
 6793|       |
 6794|    149|    Py_DECREF(tmp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6795|    149|    return result;
 6796|    149|}
dictobject.c:dictviews_to_set:
 6767|    149|{
 6768|    149|    PyObject *left = self;
 6769|    149|    if (PyDictKeys_Check(self)) {
  ------------------
  |  |   93|    149|#define PyDictKeys_Check(op) PyObject_TypeCheck((op), &PyDictKeys_Type)
  |  |  ------------------
  |  |  |  |  378|    149|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 149, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6770|       |        // PySet_New() has fast path for the dict object.
 6771|    149|        PyObject *dict = (PyObject *)((_PyDictViewObject *)self)->dv_dict;
 6772|    149|        if (PyAnyDict_CheckExact(dict)) {
  ------------------
  |  |   41|    149|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|    149|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    298|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 149, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6773|    149|            left = dict;
 6774|    149|        }
 6775|    149|    }
 6776|    149|    return PySet_New(left);
 6777|    149|}
dictobject.c:dictview_richcompare:
 6649|    149|{
 6650|    149|    Py_ssize_t len_self, len_other;
 6651|    149|    int ok;
 6652|    149|    PyObject *result;
 6653|       |
 6654|    149|    assert(self != NULL);
  ------------------
  |  Branch (6654:5): [True: 149, False: 0]
  ------------------
 6655|    149|    assert(PyDictViewSet_Check(self));
  ------------------
  |  Branch (6655:5): [True: 149, False: 0]
  |  Branch (6655:5): [True: 0, False: 0]
  ------------------
 6656|    149|    assert(other != NULL);
  ------------------
  |  Branch (6656:5): [True: 149, False: 0]
  ------------------
 6657|       |
 6658|    149|    if (!PyAnySet_Check(other) && !PyDictViewSet_Check(other))
  ------------------
  |  |   31|    298|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    298|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 149, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    149|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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|    149|      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|    298|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (!PyAnySet_Check(other) && !PyDictViewSet_Check(other))
  ------------------
  |  |   98|      0|    (PyDictKeys_Check(op) || PyDictItems_Check(op))
  |  |  ------------------
  |  |  |  |   93|      0|#define PyDictKeys_Check(op) PyObject_TypeCheck((op), &PyDictKeys_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDictKeys_Check(op) || PyDictItems_Check(op))
  |  |  ------------------
  |  |  |  |   95|      0|#define PyDictItems_Check(op) PyObject_TypeCheck((op), &PyDictItems_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6659|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 6660|       |
 6661|    149|    len_self = PyObject_Size(self);
 6662|    149|    if (len_self < 0)
  ------------------
  |  Branch (6662:9): [True: 0, False: 149]
  ------------------
 6663|      0|        return NULL;
 6664|    149|    len_other = PyObject_Size(other);
 6665|    149|    if (len_other < 0)
  ------------------
  |  Branch (6665:9): [True: 0, False: 149]
  ------------------
 6666|      0|        return NULL;
 6667|       |
 6668|    149|    ok = 0;
 6669|    149|    switch(op) {
  ------------------
  |  Branch (6669:12): [True: 149, False: 0]
  ------------------
 6670|       |
 6671|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (6671:5): [True: 0, False: 149]
  ------------------
 6672|      0|    case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (6672:5): [True: 0, False: 149]
  ------------------
 6673|      0|        if (len_self == len_other)
  ------------------
  |  Branch (6673:13): [True: 0, False: 0]
  ------------------
 6674|      0|            ok = all_contained_in(self, other);
 6675|      0|        if (op == Py_NE && ok >= 0)
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (6675:13): [True: 0, False: 0]
  |  Branch (6675:28): [True: 0, False: 0]
  ------------------
 6676|      0|            ok = !ok;
 6677|      0|        break;
 6678|       |
 6679|      0|    case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (6679:5): [True: 0, False: 149]
  ------------------
 6680|      0|        if (len_self < len_other)
  ------------------
  |  Branch (6680:13): [True: 0, False: 0]
  ------------------
 6681|      0|            ok = all_contained_in(self, other);
 6682|      0|        break;
 6683|       |
 6684|      0|      case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (6684:7): [True: 0, False: 149]
  ------------------
 6685|      0|          if (len_self <= len_other)
  ------------------
  |  Branch (6685:15): [True: 0, False: 0]
  ------------------
 6686|      0|              ok = all_contained_in(self, other);
 6687|      0|          break;
 6688|       |
 6689|      0|    case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (6689:5): [True: 0, False: 149]
  ------------------
 6690|      0|        if (len_self > len_other)
  ------------------
  |  Branch (6690:13): [True: 0, False: 0]
  ------------------
 6691|      0|            ok = all_contained_in(other, self);
 6692|      0|        break;
 6693|       |
 6694|    149|    case Py_GE:
  ------------------
  |  |  657|    149|#define Py_GE 5
  ------------------
  |  Branch (6694:5): [True: 149, False: 0]
  ------------------
 6695|    149|        if (len_self >= len_other)
  ------------------
  |  Branch (6695:13): [True: 149, False: 0]
  ------------------
 6696|    149|            ok = all_contained_in(other, self);
 6697|    149|        break;
 6698|       |
 6699|    149|    }
 6700|    149|    if (ok < 0)
  ------------------
  |  Branch (6700:9): [True: 0, False: 149]
  ------------------
 6701|      0|        return NULL;
 6702|    149|    result = ok ? Py_True : Py_False;
  ------------------
  |  |   26|    149|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  result = ok ? Py_True : Py_False;
  ------------------
  |  |   25|    149|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6702:14): [True: 149, False: 0]
  ------------------
 6703|    149|    return Py_NewRef(result);
  ------------------
  |  |  647|    149|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6704|    149|}
dictobject.c:all_contained_in:
 6625|    149|{
 6626|    149|    PyObject *iter = PyObject_GetIter(self);
 6627|    149|    int ok = 1;
 6628|       |
 6629|    149|    if (iter == NULL)
  ------------------
  |  Branch (6629:9): [True: 0, False: 149]
  ------------------
 6630|      0|        return -1;
 6631|    529|    for (;;) {
 6632|    529|        PyObject *next = PyIter_Next(iter);
 6633|    529|        if (next == NULL) {
  ------------------
  |  Branch (6633:13): [True: 149, False: 380]
  ------------------
 6634|    149|            if (PyErr_Occurred())
  ------------------
  |  Branch (6634:17): [True: 0, False: 149]
  ------------------
 6635|      0|                ok = -1;
 6636|    149|            break;
 6637|    149|        }
 6638|    380|        ok = PySequence_Contains(other, next);
 6639|    380|        Py_DECREF(next);
  ------------------
  |  |  430|    380|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6640|    380|        if (ok <= 0)
  ------------------
  |  Branch (6640:13): [True: 0, False: 380]
  ------------------
 6641|      0|            break;
 6642|    380|    }
 6643|    149|    Py_DECREF(iter);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6644|    149|    return ok;
 6645|    149|}
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|    105|{
 7172|    105|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 7173|    105|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (7173:9): [True: 0, False: 105]
  ------------------
 7174|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 7175|      0|    }
 7176|    105|    return dictiter_new(dv->dv_dict, &PyDictIterItem_Type);
 7177|    105|}
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|   550k|{
  805|   550k|    int log2_bytes;
  806|   550k|    assert(log2_size >= PyDict_LOG_MINSIZE);
  ------------------
  |  Branch (806:5): [True: 550k, False: 0]
  ------------------
  807|       |
  808|   550k|    if (log2_size < 8) {
  ------------------
  |  Branch (808:9): [True: 548k, False: 2.71k]
  ------------------
  809|   548k|        log2_bytes = log2_size;
  810|   548k|    }
  811|  2.71k|    else if (log2_size < 16) {
  ------------------
  |  Branch (811:14): [True: 2.71k, False: 2]
  ------------------
  812|  2.71k|        log2_bytes = log2_size + 1;
  813|  2.71k|    }
  814|      2|#if SIZEOF_VOID_P > 4
  815|      2|    else if (log2_size >= 32) {
  ------------------
  |  Branch (815:14): [True: 0, False: 2]
  ------------------
  816|      0|        log2_bytes = log2_size + 3;
  817|      0|    }
  818|      2|#endif
  819|      2|    else {
  820|      2|        log2_bytes = log2_size + 2;
  821|      2|    }
  822|       |
  823|   550k|    return log2_bytes;
  824|   550k|}
dictobject.c:init_keys_object:
  829|   550k|{
  830|       |#ifdef Py_REF_DEBUG
  831|       |    _Py_IncRefTotal(_PyThreadState_GET());
  832|       |#endif
  833|   550k|    dk->dk_refcnt = 1;
  834|   550k|    dk->dk_log2_size = log2_size;
  835|   550k|    dk->dk_log2_index_bytes = log2_bytes;
  836|   550k|    dk->dk_kind = kind;
  837|       |#ifdef Py_GIL_DISABLED
  838|       |    dk->dk_mutex = (PyMutex){0};
  839|       |#endif
  840|   550k|    dk->dk_nentries = 0;
  841|   550k|    dk->dk_usable = usable;
  842|   550k|    dk->dk_version = 0;
  843|   550k|    memset(&dk->dk_indices[0], 0xff, ((size_t)1 << log2_bytes));
  844|   550k|    memset(&dk->dk_indices[(size_t)1 << log2_bytes], 0, entry_size * usable);
  845|   550k|}
dictobject.c:insert_split_key:
 1948|  2.02M|{
 1949|  2.02M|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1949:5): [True: 2.02M, False: 0]
  ------------------
 1950|  2.02M|    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.02M|    LOCK_KEYS(keys);
 1967|  2.02M|    ix = unicodekeys_lookup_unicode(keys, key, hash);
 1968|  2.02M|    if (ix == DKIX_EMPTY && keys->dk_usable > 0) {
  ------------------
  |  |  194|  4.04M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1968:9): [True: 827, False: 2.02M]
  |  Branch (1968:29): [True: 827, False: 0]
  ------------------
 1969|       |        // Insert into new slot
 1970|    827|        FT_ATOMIC_STORE_UINT32_RELAXED(keys->dk_version, 0);
  ------------------
  |  |  175|    827|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 1971|    827|        struct _instancekeysobject *shared_keys = _PyDictKeys_AsSharedKeys(keys);
 1972|    827|        PyTypeObject *type = FT_ATOMIC_LOAD_PTR_ACQUIRE(shared_keys->dsk_owning_type);
  ------------------
  |  |  152|    827|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1973|    827|        if (type) {
  ------------------
  |  Branch (1973:13): [True: 827, False: 0]
  ------------------
 1974|       |            // we acquired the type lock above
 1975|    827|            _PyType_Modified_Unlocked(type);
 1976|    827|        }
 1977|    827|        Py_ssize_t hashpos = find_empty_slot(keys, hash);
 1978|    827|        ix = keys->dk_nentries;
 1979|    827|        dictkeys_set_index(keys, hashpos, ix);
 1980|    827|        PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(keys)[ix];
 1981|    827|        STORE_SHARED_KEY(ep->me_key, Py_NewRef(key));
  ------------------
  |  |  261|    827|#define STORE_SHARED_KEY(key, value) key = value
  ------------------
 1982|    827|        split_keys_entry_added(keys);
 1983|    827|    }
 1984|  2.02M|    assert (ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (1984:5): [True: 2.02M, False: 0]
  ------------------
 1985|  2.02M|    UNLOCK_KEYS(keys);
 1986|       |
 1987|       |#ifdef Py_GIL_DISABLED
 1988|       |    Py_END_CRITICAL_SECTION();
 1989|       |#endif
 1990|  2.02M|    return ix;
 1991|  2.02M|}
dictobject.c:split_keys_entry_added:
  275|    827|{
  276|    827|    keys->dk_usable--;
  277|    827|    keys->dk_nentries++;
  278|    827|}
dictobject.c:store_instance_attr_lock_held:
 7559|  2.02M|{
 7560|  2.02M|    PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  911|  2.02M|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7561|  2.02M|    assert(keys != NULL);
  ------------------
  |  Branch (7561:5): [True: 2.02M, False: 0]
  ------------------
 7562|  2.02M|    assert(values != NULL);
  ------------------
  |  Branch (7562:5): [True: 2.02M, False: 0]
  ------------------
 7563|  2.02M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (7563:5): [True: 2.02M, False: 0]
  ------------------
 7564|  2.02M|    Py_ssize_t ix = DKIX_EMPTY;
  ------------------
  |  |  194|  2.02M|#define DKIX_EMPTY (-1)
  ------------------
 7565|  2.02M|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7566|  2.02M|    assert(dict == NULL || ((PyDictObject *)dict)->ma_values == values);
  ------------------
  |  Branch (7566:5): [True: 2.02M, False: 0]
  |  Branch (7566:5): [True: 0, False: 0]
  ------------------
 7567|  2.02M|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|  2.02M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.02M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.02M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7568|  2.02M|        Py_hash_t hash = unicode_get_hash(name);
 7569|  2.02M|        if (hash == -1) {
  ------------------
  |  Branch (7569:13): [True: 0, False: 2.02M]
  ------------------
 7570|      0|            hash = PyUnicode_Type.tp_hash(name);
 7571|      0|            assert(hash != -1);
  ------------------
  |  Branch (7571:13): [True: 0, False: 0]
  ------------------
 7572|      0|        }
 7573|       |
 7574|  2.02M|        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|  2.02M|    }
 7592|       |
 7593|  2.02M|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  194|  2.02M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7593:9): [True: 0, False: 2.02M]
  ------------------
 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|  2.02M|    PyObject *old_value = values->values[ix];
 7617|  2.02M|    if (old_value == NULL && value == NULL) {
  ------------------
  |  Branch (7617:9): [True: 2.02M, False: 40]
  |  Branch (7617:30): [True: 0, False: 2.02M]
  ------------------
 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|  2.02M|    if (dict) {
  ------------------
  |  Branch (7625:9): [True: 0, False: 2.02M]
  ------------------
 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|  2.02M|    FT_ATOMIC_STORE_PTR_RELEASE(values->values[ix], Py_XNewRef(value));
  ------------------
  |  |  166|  2.02M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7633|       |
 7634|  2.02M|    if (old_value == NULL) {
  ------------------
  |  Branch (7634:9): [True: 2.02M, False: 40]
  ------------------
 7635|  2.02M|        _PyDictValues_AddToInsertionOrder(values, ix);
 7636|  2.02M|        if (dict) {
  ------------------
  |  Branch (7636:13): [True: 0, False: 2.02M]
  ------------------
 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|  2.02M|    }
 7641|     40|    else {
 7642|     40|        if (value == NULL) {
  ------------------
  |  Branch (7642:13): [True: 0, False: 40]
  ------------------
 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|     40|        Py_DECREF(old_value);
  ------------------
  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7650|     40|    }
 7651|  2.02M|    return 0;
 7652|  2.02M|}
dictobject.c:clear_inline_values:
 7901|   704k|{
 7902|   704k|    if (values->valid) {
  ------------------
  |  Branch (7902:9): [True: 373k, False: 330k]
  ------------------
 7903|   373k|        FT_ATOMIC_STORE_UINT8(values->valid, 0);
  ------------------
  |  |  157|   373k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  ------------------
 7904|  3.17M|        for (Py_ssize_t i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (7904:32): [True: 2.79M, False: 373k]
  ------------------
 7905|  2.79M|            PyObject *value = values->values[i];
 7906|       |            // The attribute read fast-path may read these without holding the
 7907|       |            // per-object lock.
 7908|  2.79M|            FT_ATOMIC_STORE_PTR_RELEASE(values->values[i], NULL);
  ------------------
  |  |  166|  2.79M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7909|  2.79M|            Py_XDECREF(value);
  ------------------
  |  |  621|  2.79M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7910|  2.79M|        }
 7911|   373k|    }
 7912|   704k|}
dictobject.c:ensure_shared_on_resize:
 1454|   131k|{
 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|   131k|}
dictobject.c:set_keys:
  282|   131k|{
  283|   131k|    mp->ma_keys = keys;
  284|   131k|}
dictobject.c:dictkeys_decref:
  495|   608k|{
  496|   608k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) < 0) {
  ------------------
  |  |  151|   608k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (496:9): [True: 190k, False: 417k]
  ------------------
  497|   190k|        assert(FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
  ------------------
  |  Branch (497:9): [True: 190k, False: 0]
  ------------------
  498|   190k|        return;
  499|   190k|    }
  500|   608k|    assert(FT_ATOMIC_LOAD_SSIZE(dk->dk_refcnt) > 0);
  ------------------
  |  Branch (500:5): [True: 417k, False: 0]
  ------------------
  501|       |#ifdef Py_REF_DEBUG
  502|       |    _Py_DecRefTotal(_PyThreadState_GET());
  503|       |#endif
  504|   417k|    if (DECREF_KEYS(dk) == 1) {
  ------------------
  |  |  263|   417k|#define DECREF_KEYS(dk)  dk->dk_refcnt--
  ------------------
  |  Branch (504:9): [True: 417k, False: 7]
  ------------------
  505|   417k|        if (DK_IS_UNICODE(dk)) {
  ------------------
  |  |  303|   417k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (303:27): [True: 318k, False: 99.8k]
  |  |  ------------------
  ------------------
  506|   318k|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(dk);
  507|   318k|            Py_ssize_t i, n;
  508|  1.36M|            for (i = 0, n = dk->dk_nentries; i < n; i++) {
  ------------------
  |  Branch (508:46): [True: 1.04M, False: 318k]
  ------------------
  509|  1.04M|                Py_XDECREF(entries[i].me_key);
  ------------------
  |  |  621|  1.04M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|  1.04M|                Py_XDECREF(entries[i].me_value);
  ------------------
  |  |  621|  1.04M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  1.04M|            }
  512|   318k|        }
  513|  99.8k|        else {
  514|  99.8k|            PyDictKeyEntry *entries = DK_ENTRIES(dk);
  515|  99.8k|            Py_ssize_t i, n;
  516|   979k|            for (i = 0, n = dk->dk_nentries; i < n; i++) {
  ------------------
  |  Branch (516:46): [True: 879k, False: 99.8k]
  ------------------
  517|   879k|                Py_XDECREF(entries[i].me_key);
  ------------------
  |  |  621|   879k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   879k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   879k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|   879k|                Py_XDECREF(entries[i].me_value);
  ------------------
  |  |  621|   879k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   879k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   879k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|   879k|            }
  520|  99.8k|        }
  521|   417k|        free_keys_object(dk, use_qsbr);
  522|   417k|    }
  523|   417k|}
dictobject.c:new_dict_with_shared_keys:
 1008|    319|{
 1009|    319|    size_t size = shared_keys_usable_size(keys);
 1010|    319|    PyDictValues *values = new_values(size);
 1011|    319|    if (values == NULL) {
  ------------------
  |  Branch (1011:9): [True: 0, False: 319]
  ------------------
 1012|      0|        return PyErr_NoMemory();
 1013|      0|    }
 1014|    319|    dictkeys_incref(keys);
 1015|  9.88k|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (1015:24): [True: 9.57k, False: 319]
  ------------------
 1016|       |        values->values[i] = NULL;
 1017|  9.57k|    }
 1018|    319|    return new_dict(keys, values, 0, 1);
 1019|    319|}
dictobject.c:ensure_nonmanaged_dict:
 8204|  6.15k|{
 8205|  6.15k|    PyDictKeysObject *cached;
 8206|       |
 8207|  6.15k|    PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*dictptr);
  ------------------
  |  |  152|  6.15k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 8208|  6.15k|    if (dict == NULL) {
  ------------------
  |  Branch (8208:9): [True: 2.45k, False: 3.70k]
  ------------------
 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|  2.45k|        PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  2.45k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8217|  2.45k|        if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {
  ------------------
  |  |  503|  2.45k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
                      if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {
  ------------------
  |  |  911|    434|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
  |  Branch (8217:13): [True: 434, False: 2.01k]
  |  Branch (8217:60): [True: 319, False: 115]
  ------------------
 8218|    319|            assert(!_PyType_HasFeature(tp, Py_TPFLAGS_INLINE_VALUES));
  ------------------
  |  Branch (8218:13): [True: 319, False: 0]
  ------------------
 8219|    319|            dict = new_dict_with_shared_keys(cached);
 8220|    319|        }
 8221|  2.13k|        else {
 8222|  2.13k|            dict = PyDict_New();
 8223|  2.13k|        }
 8224|  2.45k|        FT_ATOMIC_STORE_PTR_RELEASE(*dictptr, dict);
  ------------------
  |  |  166|  2.45k|#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|  2.45k|    }
 8230|  6.15k|    return dict;
 8231|  6.15k|}
dictobject.c:get_next_dict_keys_version:
 8280|    237|{
 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|    237|    if (interp->dict_state.next_keys_version == 0) {
  ------------------
  |  Branch (8292:9): [True: 0, False: 237]
  ------------------
 8293|      0|        return 0;
 8294|      0|    }
 8295|    237|    uint32_t v = interp->dict_state.next_keys_version++;
 8296|    237|#endif
 8297|    237|    return v;
 8298|    237|}
dictobject.c:ensure_shared_on_keys_version_assignment:
 1474|  2.75k|{
 1475|  2.75k|    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.75k|}
dictobject.c:validate_watcher_id:
 8328|  2.60k|{
 8329|  2.60k|    if (watcher_id < 0 || watcher_id >= DICT_MAX_WATCHERS) {
  ------------------
  |  |   11|  2.60k|#define DICT_MAX_WATCHERS 8
  ------------------
  |  Branch (8329:9): [True: 0, False: 2.60k]
  |  Branch (8329:27): [True: 0, False: 2.60k]
  ------------------
 8330|      0|        PyErr_Format(PyExc_ValueError, "Invalid dict watcher ID %d", watcher_id);
 8331|      0|        return -1;
 8332|      0|    }
 8333|  2.60k|    PyDict_WatchCallback cb = FT_ATOMIC_LOAD_PTR_RELAXED(
  ------------------
  |  |  155|  2.60k|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
 8334|  2.60k|        interp->dict_state.watchers[watcher_id]);
 8335|  2.60k|    if (cb == NULL) {
  ------------------
  |  Branch (8335:9): [True: 0, False: 2.60k]
  ------------------
 8336|      0|        PyErr_Format(PyExc_ValueError, "No dict watcher set for ID %d", watcher_id);
 8337|      0|        return -1;
 8338|      0|    }
 8339|  2.60k|    return 0;
 8340|  2.60k|}
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|  31.2k|{
   94|  31.2k|    enumobject *en = _enumobject_CAST(op);
  ------------------
  |  |   28|  31.2k|#define _enumobject_CAST(op)    ((enumobject *)(op))
  ------------------
   95|  31.2k|    PyObject_GC_UnTrack(en);
   96|  31.2k|    Py_XDECREF(en->en_sit);
  ------------------
  |  |  621|  31.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   97|  31.2k|    Py_XDECREF(en->en_result);
  ------------------
  |  |  621|  31.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|  31.2k|    Py_XDECREF(en->en_longindex);
  ------------------
  |  |  621|  31.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   99|  31.2k|    Py_TYPE(en)->tp_free(en);
  ------------------
  |  |  213|  31.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  31.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  100|  31.2k|}
enumobject.c:enum_traverse:
  104|      4|{
  105|      4|    enumobject *en = _enumobject_CAST(op);
  ------------------
  |  |   28|      4|#define _enumobject_CAST(op)    ((enumobject *)(op))
  ------------------
  106|      4|    Py_VISIT(en->en_sit);
  ------------------
  |  |  194|      4|    do {                                                                \
  |  |  195|      4|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  196|      4|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      4|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4]
  |  |  ------------------
  |  |  198|      4|                return vret;                                            \
  |  |  199|      4|        }                                                               \
  |  |  200|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  107|      4|    Py_VISIT(en->en_result);
  ------------------
  |  |  194|      4|    do {                                                                \
  |  |  195|      4|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  196|      4|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      4|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4]
  |  |  ------------------
  |  |  198|      4|                return vret;                                            \
  |  |  199|      4|        }                                                               \
  |  |  200|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  108|      4|    Py_VISIT(en->en_longindex);
  ------------------
  |  |  194|      4|    do {                                                                \
  |  |  195|      4|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  109|      4|    return 0;
  110|      4|}
enumobject.c:enum_next:
  170|   554k|{
  171|   554k|    enumobject *en = _enumobject_CAST(op);
  ------------------
  |  |   28|   554k|#define _enumobject_CAST(op)    ((enumobject *)(op))
  ------------------
  172|   554k|    PyObject *next_index;
  173|   554k|    PyObject *next_item;
  174|   554k|    PyObject *result = en->en_result;
  175|   554k|    PyObject *it = en->en_sit;
  176|   554k|    PyObject *old_index;
  177|   554k|    PyObject *old_item;
  178|       |
  179|   554k|    next_item = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|   554k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   554k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   554k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|   554k|    if (next_item == NULL)
  ------------------
  |  Branch (180:9): [True: 30.5k, False: 523k]
  ------------------
  181|  30.5k|        return NULL;
  182|       |
  183|   523k|    Py_ssize_t en_index = FT_ATOMIC_LOAD_SSIZE_RELAXED(en->en_index);
  ------------------
  |  |  151|   523k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  184|   523k|    if (en_index == PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   523k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (184:9): [True: 0, False: 523k]
  ------------------
  185|      0|        return enum_next_long(en, next_item);
  186|       |
  187|   523k|    next_index = PyLong_FromSsize_t(en_index);
  188|   523k|    if (next_index == NULL) {
  ------------------
  |  Branch (188:9): [True: 0, False: 523k]
  ------------------
  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|   523k|    FT_ATOMIC_STORE_SSIZE_RELAXED(en->en_index, en_index + 1);
  ------------------
  |  |  197|   523k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  193|       |
  194|   523k|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (194:9): [True: 523k, False: 0]
  ------------------
  195|   523k|        Py_INCREF(result);
  ------------------
  |  |  310|   523k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   523k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   523k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  196|   523k|        old_index = PyTuple_GET_ITEM(result, 0);
  ------------------
  |  |   29|   523k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   523k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   523k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (196:21): [True: 523k, False: 0]
  ------------------
  197|   523k|        old_item = PyTuple_GET_ITEM(result, 1);
  ------------------
  |  |   29|   523k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   523k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   523k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (197:20): [True: 523k, False: 0]
  ------------------
  198|   523k|        PyTuple_SET_ITEM(result, 0, next_index);
  ------------------
  |  |   40|   523k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   523k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   523k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   523k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   523k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|   523k|        PyTuple_SET_ITEM(result, 1, next_item);
  ------------------
  |  |   40|   523k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   523k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   523k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   523k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   523k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|   523k|        Py_DECREF(old_index);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|   523k|        Py_DECREF(old_item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  202|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
  203|       |        // recycling it, make sure it's tracked again:
  204|   523k|        _PyTuple_Recycle(result);
  205|   523k|        return result;
  206|   523k|    }
  207|      0|    return _PyTuple_FromPairSteal(next_index, next_item);
  208|   523k|}
enumobject.c:enum_new_impl:
   51|  31.2k|{
   52|  31.2k|    enumobject *en;
   53|       |
   54|  31.2k|    en = (enumobject *)type->tp_alloc(type, 0);
   55|  31.2k|    if (en == NULL)
  ------------------
  |  Branch (55:9): [True: 0, False: 31.2k]
  ------------------
   56|      0|        return NULL;
   57|  31.2k|    if (start != NULL) {
  ------------------
  |  Branch (57:9): [True: 0, False: 31.2k]
  ------------------
   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|  31.2k|    } else {
   74|  31.2k|        en->en_index = 0;
   75|  31.2k|        en->en_longindex = NULL;
   76|  31.2k|    }
   77|  31.2k|    en->en_sit = PyObject_GetIter(iterable);
   78|  31.2k|    if (en->en_sit == NULL) {
  ------------------
  |  Branch (78:9): [True: 0, False: 31.2k]
  ------------------
   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|  31.2k|    en->en_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|  31.2k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  en->en_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|  31.2k|#  define Py_None (&_Py_NoneStruct)
  ------------------
   83|  31.2k|    if (en->en_result == NULL) {
  ------------------
  |  Branch (83:9): [True: 0, False: 31.2k]
  ------------------
   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|  31.2k|    en->one = _PyLong_GetOne();    /* borrowed reference */
   88|  31.2k|    return (PyObject *)en;
   89|  31.2k|}
enumobject.c:reversed_new_impl:
  305|     74|{
  306|     74|    Py_ssize_t n;
  307|     74|    PyObject *reversed_meth;
  308|     74|    reversedobject *ro;
  309|       |
  310|     74|    reversed_meth = _PyObject_LookupSpecial(seq, &_Py_ID(__reversed__));
  ------------------
  |  |  951|     74|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     74|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     74|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  311|     74|    if (reversed_meth == Py_None) {
  ------------------
  |  |  616|     74|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (311:9): [True: 0, False: 74]
  ------------------
  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|     74|    if (reversed_meth != NULL) {
  ------------------
  |  Branch (318:9): [True: 74, False: 0]
  ------------------
  319|     74|        PyObject *res = _PyObject_CallNoArgs(reversed_meth);
  320|     74|        Py_DECREF(reversed_meth);
  ------------------
  |  |  430|     74|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  321|     74|        return res;
  322|     74|    }
  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|  45.2k|{
  498|  45.2k|    PyObject *traceback;
  499|  45.2k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  45.2k|    {
  ------------------
  500|  45.2k|    traceback = Py_XNewRef(PyBaseExceptionObject_CAST(self)->traceback);
  ------------------
  |  |  648|  45.2k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  45.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|  45.2k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  45.2k|    }
  ------------------
  502|  45.2k|    return traceback;
  503|  45.2k|}
PyException_SetTraceback:
  508|  36.4k|{
  509|  36.4k|    int res;
  510|  36.4k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  36.4k|    {
  ------------------
  511|  36.4k|    res = BaseException___traceback___set_impl(PyBaseExceptionObject_CAST(self), tb);
  512|  36.4k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  36.4k|    }
  ------------------
  513|  36.4k|    return res;
  514|  36.4k|}
PyException_SetCause:
  529|    245|{
  530|    245|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    245|    {
  ------------------
  531|    245|    PyBaseExceptionObject *base_self = PyBaseExceptionObject_CAST(self);
  532|    245|    base_self->suppress_context = 1;
  533|    245|    Py_XSETREF(base_self->cause, cause);
  ------------------
  |  |  576|    245|    do { \
  |  |  577|    245|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    245|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    245|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    245|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    245|        *_tmp_dst_ptr = (src); \
  |  |  580|    245|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    245|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 245]
  |  |  ------------------
  ------------------
  534|    245|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    245|    }
  ------------------
  535|    245|}
PyException_GetContext:
  539|  1.89k|{
  540|  1.89k|    PyObject *context;
  541|  1.89k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  1.89k|    {
  ------------------
  542|  1.89k|    context = Py_XNewRef(PyBaseExceptionObject_CAST(self)->context);
  ------------------
  |  |  648|  1.89k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  1.89k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.89k|    }
  ------------------
  544|  1.89k|    return context;
  545|  1.89k|}
PyException_SetContext:
  550|  1.17k|{
  551|  1.17k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  1.17k|    {
  ------------------
  552|  1.17k|    Py_XSETREF(PyBaseExceptionObject_CAST(self)->context, context);
  ------------------
  |  |  576|  1.17k|    do { \
  |  |  577|  1.17k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  1.17k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  1.17k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  1.17k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  1.17k|        *_tmp_dst_ptr = (src); \
  |  |  580|  1.17k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  1.17k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  1.17k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 1.17k]
  |  |  ------------------
  ------------------
  553|  1.17k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.17k|    }
  ------------------
  554|  1.17k|}
PyUnicodeDecodeError_Create:
 3990|  2.88k|{
 3991|  2.88k|    return PyObject_CallFunction(PyExc_UnicodeDecodeError, "sy#nns",
 3992|  2.88k|                                 encoding, object, length, start, end, reason);
 3993|  2.88k|}
_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|  1.73k|{
 4713|  1.73k|    if (!PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|  1.73k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.73k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4713:9): [True: 0, False: 1.73k]
  ------------------
 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|  1.73k|    PyObject *r = BaseException_add_note(exc, note);
 4720|  1.73k|    int res = r == NULL ? -1 : 0;
  ------------------
  |  Branch (4720:15): [True: 0, False: 1.73k]
  ------------------
 4721|  1.73k|    Py_XDECREF(r);
  ------------------
  |  |  621|  1.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4722|  1.73k|    return res;
 4723|  1.73k|}
exceptions.c:PyBaseExceptionObject_CAST:
   48|   373k|{
   49|   373k|    assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (49:5): [True: 373k, False: 0]
  ------------------
   50|   373k|    return (PyBaseExceptionObject *)exc;
   51|   373k|}
exceptions.c:BaseException___traceback___set_impl:
  388|  36.4k|{
  389|  36.4k|    if (PyTraceBack_Check(value)) {
  ------------------
  |  |   14|  36.4k|#define PyTraceBack_Check(v) Py_IS_TYPE((v), &PyTraceBack_Type)
  |  |  ------------------
  |  |  |  |  215|  36.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  36.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  36.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 36.2k, False: 220]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  390|  36.2k|        Py_XSETREF(self->traceback, Py_NewRef(value));
  ------------------
  |  |  576|  36.2k|    do { \
  |  |  577|  36.2k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  36.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  36.2k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  36.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  36.2k|        *_tmp_dst_ptr = (src); \
  |  |  580|  36.2k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  36.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  36.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  36.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  36.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 36.2k]
  |  |  ------------------
  ------------------
  391|  36.2k|    }
  392|    220|    else if (value == Py_None) {
  ------------------
  |  |  616|    220|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (392:14): [True: 220, False: 0]
  ------------------
  393|    220|        Py_CLEAR(self->traceback);
  ------------------
  |  |  487|    220|    do { \
  |  |  488|    220|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    220|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    220|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    220|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    220|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    220|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 220, False: 0]
  |  |  ------------------
  |  |  491|    220|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    220|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    220|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    220|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    220|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    220|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    220|        } \
  |  |  494|    220|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 220]
  |  |  ------------------
  ------------------
  394|    220|    }
  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|  36.4k|    return 0;
  401|  36.4k|}
exceptions.c:BaseException_dealloc:
  144|  92.1k|{
  145|  92.1k|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  146|  92.1k|    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|  92.1k|    (void)BaseException_clear(op);
  151|  92.1k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  92.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  92.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  92.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  152|  92.1k|}
exceptions.c:BaseException_str_impl:
  175|  41.6k|{
  176|  41.6k|    switch (PyTuple_GET_SIZE(self->args)) {
  ------------------
  |  |   27|  41.6k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  177|      0|    case 0:
  ------------------
  |  Branch (177:5): [True: 0, False: 41.6k]
  ------------------
  178|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  179|  41.6k|    case 1:
  ------------------
  |  Branch (179:5): [True: 41.6k, False: 0]
  ------------------
  180|  41.6k|        return PyObject_Str(PyTuple_GET_ITEM(self->args, 0));
  ------------------
  |  |   29|  41.6k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  41.6k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (180:29): [True: 41.6k, False: 0]
  ------------------
  181|      0|    default:
  ------------------
  |  Branch (181:5): [True: 0, False: 41.6k]
  ------------------
  182|      0|        return PyObject_Str(self->args);
  183|  41.6k|    }
  184|  41.6k|}
exceptions.c:get_exc_state:
   36|  5.80k|{
   37|  5.80k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   38|  5.80k|    return &interp->exc_state;
   39|  5.80k|}
exceptions.c:ImportError_dealloc:
 1832|    239|{
 1833|    239|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|    239|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    239|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    239|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1834|    239|    (void)ImportError_clear(self);
 1835|    239|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    239|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    239|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    239|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1836|    239|}
exceptions.c:PyImportErrorObject_CAST:
 1779|    239|{
 1780|    239|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_ImportError));
  ------------------
  |  Branch (1780:5): [True: 239, False: 0]
  ------------------
 1781|    239|    return (PyImportErrorObject *)self;
 1782|    239|}
exceptions.c:ImportError_clear:
 1821|    239|{
 1822|    239|    PyImportErrorObject *self = PyImportErrorObject_CAST(op);
 1823|    239|    Py_CLEAR(self->msg);
  ------------------
  |  |  487|    239|    do { \
  |  |  488|    239|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    239|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    239|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    239|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 239, False: 0]
  |  |  ------------------
  |  |  491|    239|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    239|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    239|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    239|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    239|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    239|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    239|        } \
  |  |  494|    239|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 239]
  |  |  ------------------
  ------------------
 1824|    239|    Py_CLEAR(self->name);
  ------------------
  |  |  487|    239|    do { \
  |  |  488|    239|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    239|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    239|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    239|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 226, False: 13]
  |  |  ------------------
  |  |  491|    226|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    226|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    226|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    226|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    226|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    226|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    226|        } \
  |  |  494|    239|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 239]
  |  |  ------------------
  ------------------
 1825|    239|    Py_CLEAR(self->path);
  ------------------
  |  |  487|    239|    do { \
  |  |  488|    239|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    239|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    239|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    239|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 19, False: 220]
  |  |  ------------------
  |  |  491|     19|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     19|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     19|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     19|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     19|        } \
  |  |  494|    239|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 239]
  |  |  ------------------
  ------------------
 1826|       |    Py_CLEAR(self->name_from);
  ------------------
  |  |  487|    239|    do { \
  |  |  488|    239|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    239|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    239|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    239|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 6, False: 233]
  |  |  ------------------
  |  |  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|    239|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 239]
  |  |  ------------------
  ------------------
 1827|    239|    return BaseException_clear(op);
 1828|    239|}
exceptions.c:OSError_dealloc:
 2306|  5.63k|{
 2307|  5.63k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|  5.63k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2308|  5.63k|    (void)OSError_clear(self);
 2309|  5.63k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  5.63k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2310|  5.63k|}
exceptions.c:PyOSErrorObject_CAST:
 2020|  11.2k|{
 2021|  11.2k|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_OSError));
  ------------------
  |  Branch (2021:5): [True: 11.2k, False: 0]
  ------------------
 2022|  11.2k|    return (PyOSErrorObject *)self;
 2023|  11.2k|}
exceptions.c:OSError_clear:
 2292|  5.63k|{
 2293|  5.63k|    PyOSErrorObject *self = PyOSErrorObject_CAST(op);
 2294|  5.63k|    Py_CLEAR(self->myerrno);
  ------------------
  |  |  487|  5.63k|    do { \
  |  |  488|  5.63k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  5.63k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  5.63k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  5.63k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  5.63k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  5.63k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 5.63k, False: 0]
  |  |  ------------------
  |  |  491|  5.63k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  5.63k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  5.63k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  5.63k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  5.63k|        } \
  |  |  494|  5.63k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 5.63k]
  |  |  ------------------
  ------------------
 2295|  5.63k|    Py_CLEAR(self->strerror);
  ------------------
  |  |  487|  5.63k|    do { \
  |  |  488|  5.63k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  5.63k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  5.63k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  5.63k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  5.63k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  5.63k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 5.63k, False: 0]
  |  |  ------------------
  |  |  491|  5.63k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  5.63k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  5.63k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  5.63k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  5.63k|        } \
  |  |  494|  5.63k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 5.63k]
  |  |  ------------------
  ------------------
 2296|  5.63k|    Py_CLEAR(self->filename);
  ------------------
  |  |  487|  5.63k|    do { \
  |  |  488|  5.63k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  5.63k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  5.63k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  5.63k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  5.63k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  5.63k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 5.63k, False: 0]
  |  |  ------------------
  |  |  491|  5.63k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  5.63k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  5.63k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  5.63k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  5.63k|        } \
  |  |  494|  5.63k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 5.63k]
  |  |  ------------------
  ------------------
 2297|  5.63k|    Py_CLEAR(self->filename2);
  ------------------
  |  |  487|  5.63k|    do { \
  |  |  488|  5.63k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  5.63k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  5.63k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  5.63k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  5.63k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  5.63k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 5.63k]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|  5.63k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 5.63k]
  |  |  ------------------
  ------------------
 2298|       |#ifdef MS_WINDOWS
 2299|       |    Py_CLEAR(self->winerror);
 2300|       |#endif
 2301|  5.63k|    return BaseException_clear(op);
 2302|  5.63k|}
exceptions.c:OSError_init:
 2253|  5.63k|{
 2254|  5.63k|    PyOSErrorObject *self = PyOSErrorObject_CAST(op);
 2255|  5.63k|    PyObject *myerrno = NULL, *strerror = NULL;
 2256|  5.63k|    PyObject *filename = NULL, *filename2 = NULL;
 2257|       |#ifdef MS_WINDOWS
 2258|       |    PyObject *winerror = NULL;
 2259|       |#endif
 2260|       |
 2261|  5.63k|    if (!oserror_use_init(Py_TYPE(self)))
  ------------------
  |  |  213|  5.63k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2261:9): [True: 5.63k, False: 0]
  ------------------
 2262|       |        /* Everything already done in OSError_new */
 2263|  5.63k|        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|  16.9k|{
 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|  16.9k|    if (type->tp_init != OSError_init && type->tp_new == OSError_new) {
  ------------------
  |  Branch (2176:9): [True: 0, False: 16.9k]
  |  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|  16.9k|    return 0;
 2181|  16.9k|}
exceptions.c:oserror_parse_args:
 2054|  5.63k|{
 2055|  5.63k|    Py_ssize_t nargs;
 2056|  5.63k|    PyObject *args = *p_args;
 2057|  5.63k|#ifndef MS_WINDOWS
 2058|       |    /*
 2059|       |     * ignored on non-Windows platforms,
 2060|       |     * but parsed so OSError has a consistent signature
 2061|       |     */
 2062|  5.63k|    PyObject *_winerror = NULL;
 2063|  5.63k|    PyObject **winerror = &_winerror;
 2064|  5.63k|#endif /* MS_WINDOWS */
 2065|       |
 2066|  5.63k|    nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  5.63k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2067|       |
 2068|  5.63k|    if (nargs >= 2 && nargs <= 5) {
  ------------------
  |  Branch (2068:9): [True: 5.63k, False: 0]
  |  Branch (2068:23): [True: 5.63k, False: 0]
  ------------------
 2069|  5.63k|        if (!PyArg_UnpackTuple(args, "OSError", 2, 5,
  ------------------
  |  Branch (2069:13): [True: 0, False: 5.63k]
  ------------------
 2070|  5.63k|                               myerrno, strerror,
 2071|  5.63k|                               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|  5.63k|    }
 2099|       |
 2100|  5.63k|    return 0;
 2101|  5.63k|}
exceptions.c:oserror_init:
 2111|  5.63k|{
 2112|  5.63k|    PyObject *args = *p_args;
 2113|  5.63k|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  5.63k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|       |
 2115|       |    /* self->filename will remain Py_None otherwise */
 2116|  5.63k|    if (filename && filename != Py_None) {
  ------------------
  |  |  616|  5.63k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2116:9): [True: 5.63k, False: 0]
  |  Branch (2116:21): [True: 5.63k, False: 0]
  ------------------
 2117|  5.63k|        if (Py_IS_TYPE(self, (PyTypeObject *) PyExc_BlockingIOError) &&
  ------------------
  |  |  215|  11.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 5.63k]
  |  |  ------------------
  ------------------
 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|  5.63k|        else {
 2127|  5.63k|            Py_XSETREF(self->filename, Py_NewRef(filename));
  ------------------
  |  |  576|  5.63k|    do { \
  |  |  577|  5.63k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  5.63k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  5.63k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  5.63k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  5.63k|        *_tmp_dst_ptr = (src); \
  |  |  580|  5.63k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  5.63k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  5.63k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 5.63k]
  |  |  ------------------
  ------------------
 2128|       |
 2129|  5.63k|            if (filename2 && filename2 != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2129:17): [True: 0, False: 5.63k]
  |  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|  5.63k|            if (nargs >= 2 && nargs <= 5) {
  ------------------
  |  Branch (2133:17): [True: 5.63k, False: 0]
  |  Branch (2133:31): [True: 5.63k, False: 0]
  ------------------
 2134|       |                /* filename, filename2, and winerror are removed from the args tuple
 2135|       |                   (for compatibility purposes, see test_exceptions.py) */
 2136|  5.63k|                PyObject *subslice = PyTuple_GetSlice(args, 0, 2);
 2137|  5.63k|                if (!subslice)
  ------------------
  |  Branch (2137:21): [True: 0, False: 5.63k]
  ------------------
 2138|      0|                    return -1;
 2139|       |
 2140|  5.63k|                Py_DECREF(args);  /* replacing args */
  ------------------
  |  |  430|  5.63k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2141|  5.63k|                *p_args = args = subslice;
 2142|  5.63k|            }
 2143|  5.63k|        }
 2144|  5.63k|    }
 2145|  5.63k|    Py_XSETREF(self->myerrno, Py_XNewRef(myerrno));
  ------------------
  |  |  576|  5.63k|    do { \
  |  |  577|  5.63k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  5.63k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  5.63k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  5.63k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  5.63k|        *_tmp_dst_ptr = (src); \
  |  |  580|  5.63k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  5.63k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  5.63k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 5.63k]
  |  |  ------------------
  ------------------
 2146|  5.63k|    Py_XSETREF(self->strerror, Py_XNewRef(strerror));
  ------------------
  |  |  576|  5.63k|    do { \
  |  |  577|  5.63k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  5.63k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  5.63k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  5.63k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  5.63k|        *_tmp_dst_ptr = (src); \
  |  |  580|  5.63k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  5.63k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  5.63k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 5.63k]
  |  |  ------------------
  ------------------
 2147|       |#ifdef MS_WINDOWS
 2148|       |    Py_XSETREF(self->winerror, Py_XNewRef(winerror));
 2149|       |#endif
 2150|       |
 2151|       |    /* Steals the reference to args */
 2152|  5.63k|    Py_XSETREF(self->args, args);
  ------------------
  |  |  576|  5.63k|    do { \
  |  |  577|  5.63k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  5.63k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  5.63k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  5.63k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  5.63k|        *_tmp_dst_ptr = (src); \
  |  |  580|  5.63k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  5.63k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  5.63k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 5.63k]
  |  |  ------------------
  ------------------
 2153|  5.63k|    *p_args = args = NULL;
 2154|       |
 2155|  5.63k|    return 0;
 2156|  5.63k|}
exceptions.c:OSError_new:
 2185|  5.63k|{
 2186|  5.63k|    PyOSErrorObject *self = NULL;
 2187|  5.63k|    PyObject *myerrno = NULL, *strerror = NULL;
 2188|  5.63k|    PyObject *filename = NULL, *filename2 = NULL;
 2189|       |#ifdef MS_WINDOWS
 2190|       |    PyObject *winerror = NULL;
 2191|       |#endif
 2192|       |
 2193|  5.63k|    Py_INCREF(args);
  ------------------
  |  |  310|  5.63k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2194|       |
 2195|  5.63k|    if (!oserror_use_init(type)) {
  ------------------
  |  Branch (2195:9): [True: 5.63k, False: 0]
  ------------------
 2196|  5.63k|        if (!_PyArg_NoKeywords(type->tp_name, kwds))
  ------------------
  |  |   32|  5.63k|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 5.63k, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2197|      0|            goto error;
 2198|       |
 2199|  5.63k|        if (oserror_parse_args(&args, &myerrno, &strerror,
  ------------------
  |  Branch (2199:13): [True: 0, False: 5.63k]
  ------------------
 2200|  5.63k|                               &filename, &filename2
 2201|       |#ifdef MS_WINDOWS
 2202|       |                               , &winerror
 2203|       |#endif
 2204|  5.63k|            ))
 2205|      0|            goto error;
 2206|       |
 2207|  5.63k|        struct _Py_exc_state *state = get_exc_state();
 2208|  5.63k|        if (myerrno && PyLong_Check(myerrno) &&
  ------------------
  |  |   13|  5.63k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  11.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 5.63k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2208:13): [True: 5.63k, False: 0]
  ------------------
 2209|  5.63k|            state->errnomap && (PyObject *) type == PyExc_OSError) {
  ------------------
  |  Branch (2209:13): [True: 5.63k, False: 0]
  |  Branch (2209:32): [True: 5.63k, False: 0]
  ------------------
 2210|  5.63k|            PyObject *newtype;
 2211|  5.63k|            newtype = PyDict_GetItemWithError(state->errnomap, myerrno);
 2212|  5.63k|            if (newtype) {
  ------------------
  |  Branch (2212:17): [True: 5.63k, False: 0]
  ------------------
 2213|  5.63k|                type = _PyType_CAST(newtype);
  ------------------
  |  |  770|  5.63k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2213:24): [True: 5.63k, False: 0]
  ------------------
 2214|  5.63k|            }
 2215|      0|            else if (PyErr_Occurred())
  ------------------
  |  Branch (2215:22): [True: 0, False: 0]
  ------------------
 2216|      0|                goto error;
 2217|  5.63k|        }
 2218|  5.63k|    }
 2219|       |
 2220|  5.63k|    self = (PyOSErrorObject *) type->tp_alloc(type, 0);
 2221|  5.63k|    if (!self)
  ------------------
  |  Branch (2221:9): [True: 0, False: 5.63k]
  ------------------
 2222|      0|        goto error;
 2223|       |
 2224|  5.63k|    self->dict = NULL;
 2225|  5.63k|    self->traceback = self->cause = self->context = NULL;
 2226|  5.63k|    self->written = -1;
 2227|       |
 2228|  5.63k|    if (!oserror_use_init(type)) {
  ------------------
  |  Branch (2228:9): [True: 5.63k, False: 0]
  ------------------
 2229|  5.63k|        if (oserror_init(self, &args, myerrno, strerror, filename, filename2
  ------------------
  |  Branch (2229:13): [True: 0, False: 5.63k]
  ------------------
 2230|       |#ifdef MS_WINDOWS
 2231|       |                         , winerror
 2232|       |#endif
 2233|  5.63k|            ))
 2234|      0|            goto error;
 2235|  5.63k|    }
 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|  5.63k|    Py_XDECREF(args);
  ------------------
  |  |  621|  5.63k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2243|  5.63k|    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|  5.63k|}
exceptions.c:NameError_dealloc:
 2617|      1|{
 2618|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2619|      1|    (void)NameError_clear(self);
 2620|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2621|      1|}
exceptions.c:PyNameErrorObject_CAST:
 2579|      1|{
 2580|      1|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_NameError));
  ------------------
  |  Branch (2580:5): [True: 1, False: 0]
  ------------------
 2581|      1|    return (PyNameErrorObject *)self;
 2582|      1|}
exceptions.c:NameError_clear:
 2609|      1|{
 2610|      1|    PyNameErrorObject *self = PyNameErrorObject_CAST(op);
 2611|       |    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]
  |  |  ------------------
  ------------------
 2612|      1|    return BaseException_clear(op);
 2613|      1|}
exceptions.c:AttributeError_dealloc:
 2700|    636|{
 2701|    636|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|    636|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    636|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    636|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2702|    636|    (void)AttributeError_clear(self);
 2703|    636|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    636|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    636|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    636|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2704|    636|}
exceptions.c:PyAttributeErrorObject_CAST:
 2658|    636|{
 2659|    636|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_AttributeError));
  ------------------
  |  Branch (2659:5): [True: 636, False: 0]
  ------------------
 2660|    636|    return (PyAttributeErrorObject *)self;
 2661|    636|}
exceptions.c:AttributeError_clear:
 2691|    636|{
 2692|    636|    PyAttributeErrorObject *self = PyAttributeErrorObject_CAST(op);
 2693|    636|    Py_CLEAR(self->obj);
  ------------------
  |  |  487|    636|    do { \
  |  |  488|    636|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    636|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    636|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    636|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    636|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    636|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 602, False: 34]
  |  |  ------------------
  |  |  491|    602|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    602|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    602|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    602|        } \
  |  |  494|    636|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 636]
  |  |  ------------------
  ------------------
 2694|       |    Py_CLEAR(self->name);
  ------------------
  |  |  487|    636|    do { \
  |  |  488|    636|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    636|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    636|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    636|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    636|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    636|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 602, False: 34]
  |  |  ------------------
  |  |  491|    602|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    602|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    602|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    602|        } \
  |  |  494|    636|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 636]
  |  |  ------------------
  ------------------
 2695|    636|    return BaseException_clear(op);
 2696|    636|}
exceptions.c:PySyntaxErrorObject_CAST:
 2841|  28.0k|{
 2842|  28.0k|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_SyntaxError));
  ------------------
  |  Branch (2842:5): [True: 28.0k, False: 0]
  ------------------
 2843|  28.0k|    return (PySyntaxErrorObject *)self;
 2844|  28.0k|}
exceptions.c:SyntaxError_dealloc:
 2913|  13.9k|{
 2914|  13.9k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|  13.9k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2915|  13.9k|    (void)SyntaxError_clear(self);
 2916|  13.9k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  13.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2917|  13.9k|}
exceptions.c:SyntaxError_traverse:
 2921|      8|{
 2922|      8|    PySyntaxErrorObject *self = PySyntaxErrorObject_CAST(op);
 2923|      8|    Py_VISIT(self->msg);
  ------------------
  |  |  194|      8|    do {                                                                \
  |  |  195|      8|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2924|      8|    Py_VISIT(self->filename);
  ------------------
  |  |  194|      8|    do {                                                                \
  |  |  195|      8|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2925|      8|    Py_VISIT(self->lineno);
  ------------------
  |  |  194|      8|    do {                                                                \
  |  |  195|      8|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2926|      8|    Py_VISIT(self->offset);
  ------------------
  |  |  194|      8|    do {                                                                \
  |  |  195|      8|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2927|      8|    Py_VISIT(self->end_lineno);
  ------------------
  |  |  194|      8|    do {                                                                \
  |  |  195|      8|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2928|      8|    Py_VISIT(self->end_offset);
  ------------------
  |  |  194|      8|    do {                                                                \
  |  |  195|      8|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2929|      8|    Py_VISIT(self->text);
  ------------------
  |  |  194|      8|    do {                                                                \
  |  |  195|      8|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2930|      8|    Py_VISIT(self->print_file_and_line);
  ------------------
  |  |  194|      8|    do {                                                                \
  |  |  195|      8|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 8]
  |  |  ------------------
  |  |  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|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2931|      8|    Py_VISIT(self->metadata);
  ------------------
  |  |  194|      8|    do {                                                                \
  |  |  195|      8|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 8]
  |  |  ------------------
  |  |  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|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2932|      8|    return BaseException_traverse(op, visit, arg);
 2933|      8|}
exceptions.c:SyntaxError_clear:
 2897|  13.9k|{
 2898|  13.9k|    PySyntaxErrorObject *self = PySyntaxErrorObject_CAST(op);
 2899|  13.9k|    Py_CLEAR(self->msg);
  ------------------
  |  |  487|  13.9k|    do { \
  |  |  488|  13.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  13.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  13.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  13.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 13.9k, False: 0]
  |  |  ------------------
  |  |  491|  13.9k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  13.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  13.9k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  13.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  13.9k|        } \
  |  |  494|  13.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 2900|  13.9k|    Py_CLEAR(self->filename);
  ------------------
  |  |  487|  13.9k|    do { \
  |  |  488|  13.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  13.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  13.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  13.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 13.9k, False: 0]
  |  |  ------------------
  |  |  491|  13.9k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  13.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  13.9k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  13.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  13.9k|        } \
  |  |  494|  13.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 2901|  13.9k|    Py_CLEAR(self->lineno);
  ------------------
  |  |  487|  13.9k|    do { \
  |  |  488|  13.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  13.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  13.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  13.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 13.9k, False: 0]
  |  |  ------------------
  |  |  491|  13.9k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  13.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  13.9k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  13.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  13.9k|        } \
  |  |  494|  13.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 2902|  13.9k|    Py_CLEAR(self->offset);
  ------------------
  |  |  487|  13.9k|    do { \
  |  |  488|  13.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  13.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  13.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  13.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 13.9k, False: 0]
  |  |  ------------------
  |  |  491|  13.9k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  13.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  13.9k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  13.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  13.9k|        } \
  |  |  494|  13.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 2903|  13.9k|    Py_CLEAR(self->end_lineno);
  ------------------
  |  |  487|  13.9k|    do { \
  |  |  488|  13.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  13.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  13.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  13.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 12.5k, False: 1.46k]
  |  |  ------------------
  |  |  491|  12.5k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  12.5k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  12.5k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  12.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  12.5k|        } \
  |  |  494|  13.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 2904|  13.9k|    Py_CLEAR(self->end_offset);
  ------------------
  |  |  487|  13.9k|    do { \
  |  |  488|  13.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  13.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  13.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  13.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 12.5k, False: 1.46k]
  |  |  ------------------
  |  |  491|  12.5k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  12.5k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  12.5k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  12.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  12.5k|        } \
  |  |  494|  13.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 2905|  13.9k|    Py_CLEAR(self->text);
  ------------------
  |  |  487|  13.9k|    do { \
  |  |  488|  13.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  13.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  13.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  13.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 13.6k, False: 378]
  |  |  ------------------
  |  |  491|  13.6k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  13.6k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  13.6k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  13.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  13.6k|        } \
  |  |  494|  13.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 2906|  13.9k|    Py_CLEAR(self->print_file_and_line);
  ------------------
  |  |  487|  13.9k|    do { \
  |  |  488|  13.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  13.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  13.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  13.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 13.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|  13.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 2907|       |    Py_CLEAR(self->metadata);
  ------------------
  |  |  487|  13.9k|    do { \
  |  |  488|  13.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  13.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  13.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  13.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 9.22k, False: 4.77k]
  |  |  ------------------
  |  |  491|  9.22k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  9.22k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  9.22k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  9.22k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  9.22k|        } \
  |  |  494|  13.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 2908|  13.9k|    return BaseException_clear(op);
 2909|  13.9k|}
exceptions.c:SyntaxError_init:
 2848|  13.9k|{
 2849|  13.9k|    PyObject *info = NULL;
 2850|  13.9k|    Py_ssize_t lenargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  13.9k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2851|       |
 2852|  13.9k|    if (BaseException_init(op, args, kwds) == -1)
  ------------------
  |  Branch (2852:9): [True: 0, False: 13.9k]
  ------------------
 2853|      0|        return -1;
 2854|       |
 2855|  13.9k|    PySyntaxErrorObject *self = PySyntaxErrorObject_CAST(op);
 2856|  13.9k|    if (lenargs >= 1) {
  ------------------
  |  Branch (2856:9): [True: 13.9k, False: 0]
  ------------------
 2857|  13.9k|        Py_XSETREF(self->msg, Py_NewRef(PyTuple_GET_ITEM(args, 0)));
  ------------------
  |  |  576|  13.9k|    do { \
  |  |  577|  13.9k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  13.9k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  27.9k|        *_tmp_dst_ptr = (src); \
  |  |  ------------------
  |  |  |  Branch (579:26): [True: 13.9k, False: 0]
  |  |  ------------------
  |  |  580|  13.9k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  13.9k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  13.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 2858|  13.9k|    }
 2859|  13.9k|    if (lenargs == 2) {
  ------------------
  |  Branch (2859:9): [True: 13.6k, False: 378]
  ------------------
 2860|  13.6k|        info = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|  13.6k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  13.6k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2860:16): [True: 13.6k, False: 0]
  ------------------
 2861|      0|        info = PySequence_Tuple(info);
 2862|  13.6k|        if (!info) {
  ------------------
  |  Branch (2862:13): [True: 0, False: 13.6k]
  ------------------
 2863|      0|            return -1;
 2864|      0|        }
 2865|       |
 2866|  13.6k|        PyObject *filename, *lineno, *offset, *text;
 2867|  13.6k|        PyObject *end_lineno = NULL;
 2868|  13.6k|        PyObject *end_offset = NULL;
 2869|  13.6k|        PyObject *metadata = NULL;
 2870|  13.6k|        if (!PyArg_ParseTuple(info, "OOOO|OOO",
  ------------------
  |  Branch (2870:13): [True: 0, False: 13.6k]
  ------------------
 2871|  13.6k|                              &filename, &lineno,
 2872|  13.6k|                              &offset, &text,
 2873|  13.6k|                              &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|  13.6k|        Py_XSETREF(self->filename, Py_NewRef(filename));
  ------------------
  |  |  576|  13.6k|    do { \
  |  |  577|  13.6k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  13.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  13.6k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  13.6k|        *_tmp_dst_ptr = (src); \
  |  |  580|  13.6k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  13.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  13.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 13.6k]
  |  |  ------------------
  ------------------
 2879|  13.6k|        Py_XSETREF(self->lineno, Py_NewRef(lineno));
  ------------------
  |  |  576|  13.6k|    do { \
  |  |  577|  13.6k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  13.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  13.6k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  13.6k|        *_tmp_dst_ptr = (src); \
  |  |  580|  13.6k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  13.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  13.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 13.6k]
  |  |  ------------------
  ------------------
 2880|  13.6k|        Py_XSETREF(self->offset, Py_NewRef(offset));
  ------------------
  |  |  576|  13.6k|    do { \
  |  |  577|  13.6k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  13.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  13.6k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  13.6k|        *_tmp_dst_ptr = (src); \
  |  |  580|  13.6k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  13.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  13.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 13.6k]
  |  |  ------------------
  ------------------
 2881|  13.6k|        Py_XSETREF(self->text, Py_NewRef(text));
  ------------------
  |  |  576|  13.6k|    do { \
  |  |  577|  13.6k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  13.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  13.6k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  13.6k|        *_tmp_dst_ptr = (src); \
  |  |  580|  13.6k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  13.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  13.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 13.6k]
  |  |  ------------------
  ------------------
 2882|  13.6k|        Py_XSETREF(self->end_lineno, Py_XNewRef(end_lineno));
  ------------------
  |  |  576|  13.6k|    do { \
  |  |  577|  13.6k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  13.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  13.6k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  13.6k|        *_tmp_dst_ptr = (src); \
  |  |  580|  13.6k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  13.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  13.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 13.6k]
  |  |  ------------------
  ------------------
 2883|  13.6k|        Py_XSETREF(self->end_offset, Py_XNewRef(end_offset));
  ------------------
  |  |  576|  13.6k|    do { \
  |  |  577|  13.6k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  13.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  13.6k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  13.6k|        *_tmp_dst_ptr = (src); \
  |  |  580|  13.6k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  13.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  13.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 13.6k]
  |  |  ------------------
  ------------------
 2884|  13.6k|        Py_XSETREF(self->metadata, Py_XNewRef(metadata));
  ------------------
  |  |  576|  13.6k|    do { \
  |  |  577|  13.6k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  13.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  13.6k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  13.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  13.6k|        *_tmp_dst_ptr = (src); \
  |  |  580|  13.6k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  13.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  13.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 13.6k]
  |  |  ------------------
  ------------------
 2885|  13.6k|        Py_DECREF(info);
  ------------------
  |  |  430|  13.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2886|       |
 2887|  13.6k|        if (self->end_lineno != NULL && self->end_offset == NULL) {
  ------------------
  |  Branch (2887:13): [True: 12.1k, False: 1.46k]
  |  Branch (2887:41): [True: 0, False: 12.1k]
  ------------------
 2888|      0|            PyErr_SetString(PyExc_TypeError, "end_offset must be provided when end_lineno is provided");
 2889|      0|            return -1;
 2890|      0|        }
 2891|  13.6k|    }
 2892|  13.9k|    return 0;
 2893|  13.9k|}
exceptions.c:check_unicode_error_attribute:
 3122|  1.97k|{
 3123|  1.97k|    assert(as_bytes == 0 || as_bytes == 1);
  ------------------
  |  Branch (3123:5): [True: 34, False: 1.93k]
  |  Branch (3123:5): [True: 1.93k, False: 0]
  ------------------
 3124|  1.97k|    if (attr == NULL) {
  ------------------
  |  Branch (3124:9): [True: 0, False: 1.97k]
  ------------------
 3125|      0|        PyErr_Format(PyExc_TypeError,
 3126|      0|                     "UnicodeError '%s' attribute is not set",
 3127|      0|                     name);
 3128|      0|        return -1;
 3129|      0|    }
 3130|  1.97k|    if (!(as_bytes ? PyBytes_Check(attr) : PyUnicode_Check(attr))) {
  ------------------
  |  |   28|  1.93k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.93k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!(as_bytes ? PyBytes_Check(attr) : PyUnicode_Check(attr))) {
  ------------------
  |  |  103|     34|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     34|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3130:9): [True: 0, False: 1.97k]
  |  Branch (3130:11): [True: 1.93k, False: 34]
  ------------------
 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|  1.97k|    return 0;
 3137|  1.97k|}
exceptions.c:UnicodeError_dealloc:
 3735|  34.3k|{
 3736|  34.3k|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|  34.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  34.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3737|  34.3k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|  34.3k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3738|  34.3k|    (void)UnicodeError_clear(self);
 3739|  34.3k|    type->tp_free(self);
 3740|  34.3k|}
exceptions.c:UnicodeEncodeError_str:
 3798|     34|{
 3799|     34|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3355|     34|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3799:33): [True: 34, False: 0]
  ------------------
 3800|     34|    PyObject *result = NULL;
 3801|     34|    PyObject *reason_str = NULL;
 3802|     34|    PyObject *encoding_str = NULL;
 3803|       |
 3804|     34|    if (exc->object == NULL) {
  ------------------
  |  Branch (3804:9): [True: 0, False: 34]
  ------------------
 3805|       |        /* Not properly initialized. */
 3806|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 3807|      0|    }
 3808|       |
 3809|       |    /* Get reason and encoding as strings, which they might not be if
 3810|       |       they've been modified after we were constructed. */
 3811|     34|    reason_str = PyObject_Str(exc->reason);
 3812|     34|    if (reason_str == NULL) {
  ------------------
  |  Branch (3812:9): [True: 0, False: 34]
  ------------------
 3813|      0|        goto done;
 3814|      0|    }
 3815|     34|    encoding_str = PyObject_Str(exc->encoding);
 3816|     34|    if (encoding_str == NULL) {
  ------------------
  |  Branch (3816:9): [True: 0, False: 34]
  ------------------
 3817|      0|        goto done;
 3818|      0|    }
 3819|       |    // calls to PyObject_Str(...) above might mutate 'exc->object'
 3820|     34|    if (check_unicode_error_attribute(exc->object, "object", false) < 0) {
  ------------------
  |  Branch (3820:9): [True: 0, False: 34]
  ------------------
 3821|      0|        goto done;
 3822|      0|    }
 3823|     34|    Py_ssize_t len = PyUnicode_GET_LENGTH(exc->object);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3824|     34|    Py_ssize_t start = exc->start, end = exc->end;
 3825|       |
 3826|     34|    if ((start >= 0 && start < len) && (end >= 0 && end <= len) && end == start + 1) {
  ------------------
  |  Branch (3826:10): [True: 34, False: 0]
  |  Branch (3826:24): [True: 34, False: 0]
  |  Branch (3826:41): [True: 34, False: 0]
  |  Branch (3826:53): [True: 34, False: 0]
  |  Branch (3826:68): [True: 17, False: 17]
  ------------------
 3827|     17|        Py_UCS4 badchar = PyUnicode_ReadChar(exc->object, start);
 3828|     17|        const char *fmt;
 3829|     17|        if (badchar <= 0xff) {
  ------------------
  |  Branch (3829:13): [True: 0, False: 17]
  ------------------
 3830|      0|            fmt = "'%U' codec can't encode character '\\x%02x' in position %zd: %U";
 3831|      0|        }
 3832|     17|        else if (badchar <= 0xffff) {
  ------------------
  |  Branch (3832:18): [True: 17, False: 0]
  ------------------
 3833|     17|            fmt = "'%U' codec can't encode character '\\u%04x' in position %zd: %U";
 3834|     17|        }
 3835|      0|        else {
 3836|      0|            fmt = "'%U' codec can't encode character '\\U%08x' in position %zd: %U";
 3837|      0|        }
 3838|     17|        result = PyUnicode_FromFormat(
 3839|     17|            fmt,
 3840|     17|            encoding_str,
 3841|     17|            (int)badchar,
 3842|     17|            start,
 3843|     17|            reason_str);
 3844|     17|    }
 3845|     17|    else {
 3846|     17|        result = PyUnicode_FromFormat(
 3847|     17|            "'%U' codec can't encode characters in position %zd-%zd: %U",
 3848|     17|            encoding_str,
 3849|     17|            start,
 3850|     17|            end - 1,
 3851|     17|            reason_str);
 3852|     17|    }
 3853|     34|done:
 3854|     34|    Py_XDECREF(reason_str);
  ------------------
  |  |  621|     34|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3855|     34|    Py_XDECREF(encoding_str);
  ------------------
  |  |  621|     34|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3856|     34|    return result;
 3857|     34|}
exceptions.c:UnicodeError_traverse:
 3744|      8|{
 3745|      8|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3355|      8|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3745:33): [True: 8, False: 0]
  ------------------
 3746|      8|    Py_VISIT(exc->encoding);
  ------------------
  |  |  194|      8|    do {                                                                \
  |  |  195|      8|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 3747|      8|    Py_VISIT(exc->object);
  ------------------
  |  |  194|      8|    do {                                                                \
  |  |  195|      8|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 3748|      8|    Py_VISIT(exc->reason);
  ------------------
  |  |  194|      8|    do {                                                                \
  |  |  195|      8|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 0]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 3749|      8|    return BaseException_traverse(self, visit, arg);
 3750|      8|}
exceptions.c:UnicodeError_clear:
 3725|  34.3k|{
 3726|  34.3k|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3355|  34.3k|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3726:33): [True: 34.3k, False: 0]
  ------------------
 3727|  34.3k|    Py_CLEAR(exc->encoding);
  ------------------
  |  |  487|  34.3k|    do { \
  |  |  488|  34.3k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  34.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  34.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  34.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  34.3k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  34.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 34.2k, False: 26]
  |  |  ------------------
  |  |  491|  34.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  34.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  34.2k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  34.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  34.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  34.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  34.2k|        } \
  |  |  494|  34.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 34.3k]
  |  |  ------------------
  ------------------
 3728|  34.3k|    Py_CLEAR(exc->object);
  ------------------
  |  |  487|  34.3k|    do { \
  |  |  488|  34.3k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  34.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  34.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  34.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  34.3k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  34.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 34.2k, False: 26]
  |  |  ------------------
  |  |  491|  34.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  34.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  34.2k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  34.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  34.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  34.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  34.2k|        } \
  |  |  494|  34.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 34.3k]
  |  |  ------------------
  ------------------
 3729|       |    Py_CLEAR(exc->reason);
  ------------------
  |  |  487|  34.3k|    do { \
  |  |  488|  34.3k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  34.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  34.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  34.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  34.3k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  34.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 34.2k, False: 26]
  |  |  ------------------
  |  |  491|  34.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  34.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  34.2k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  34.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  34.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  34.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  34.2k|        } \
  |  |  494|  34.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 34.3k]
  |  |  ------------------
  ------------------
 3730|  34.3k|    return BaseException_clear(self);
 3731|  34.3k|}
exceptions.c:UnicodeEncodeError_init:
 3773|  29.8k|{
 3774|  29.8k|    if (BaseException_init(self, args, kwds) == -1) {
  ------------------
  |  Branch (3774:9): [True: 0, False: 29.8k]
  ------------------
 3775|      0|        return -1;
 3776|      0|    }
 3777|       |
 3778|  29.8k|    PyObject *encoding = NULL, *object = NULL, *reason = NULL;  // borrowed
 3779|  29.8k|    Py_ssize_t start = -1, end = -1;
 3780|       |
 3781|  29.8k|    if (!PyArg_ParseTuple(args, "UUnnU",
  ------------------
  |  Branch (3781:9): [True: 0, False: 29.8k]
  ------------------
 3782|  29.8k|                          &encoding, &object, &start, &end, &reason))
 3783|      0|    {
 3784|      0|        return -1;
 3785|      0|    }
 3786|       |
 3787|  29.8k|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3355|  29.8k|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3787:33): [True: 29.8k, False: 0]
  ------------------
 3788|  29.8k|    Py_XSETREF(exc->encoding, Py_NewRef(encoding));
  ------------------
  |  |  576|  29.8k|    do { \
  |  |  577|  29.8k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  29.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  29.8k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  29.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  29.8k|        *_tmp_dst_ptr = (src); \
  |  |  580|  29.8k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  29.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  29.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  29.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  29.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 29.8k]
  |  |  ------------------
  ------------------
 3789|  29.8k|    Py_XSETREF(exc->object, Py_NewRef(object));
  ------------------
  |  |  576|  29.8k|    do { \
  |  |  577|  29.8k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  29.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  29.8k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  29.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  29.8k|        *_tmp_dst_ptr = (src); \
  |  |  580|  29.8k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  29.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  29.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  29.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  29.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 29.8k]
  |  |  ------------------
  ------------------
 3790|  29.8k|    exc->start = start;
 3791|  29.8k|    exc->end = end;
 3792|  29.8k|    Py_XSETREF(exc->reason, Py_NewRef(reason));
  ------------------
  |  |  576|  29.8k|    do { \
  |  |  577|  29.8k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  29.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  29.8k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  29.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  29.8k|        *_tmp_dst_ptr = (src); \
  |  |  580|  29.8k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  29.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  29.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  29.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  29.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 29.8k]
  |  |  ------------------
  ------------------
 3793|  29.8k|    return 0;
 3794|  29.8k|}
exceptions.c:UnicodeDecodeError_str:
 3921|  1.93k|{
 3922|  1.93k|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3355|  1.93k|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3922:33): [True: 1.93k, False: 0]
  ------------------
 3923|  1.93k|    PyObject *result = NULL;
 3924|  1.93k|    PyObject *reason_str = NULL;
 3925|  1.93k|    PyObject *encoding_str = NULL;
 3926|       |
 3927|  1.93k|    if (exc->object == NULL) {
  ------------------
  |  Branch (3927:9): [True: 0, False: 1.93k]
  ------------------
 3928|       |        /* Not properly initialized. */
 3929|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 3930|      0|    }
 3931|       |
 3932|       |    /* Get reason and encoding as strings, which they might not be if
 3933|       |       they've been modified after we were constructed. */
 3934|  1.93k|    reason_str = PyObject_Str(exc->reason);
 3935|  1.93k|    if (reason_str == NULL) {
  ------------------
  |  Branch (3935:9): [True: 0, False: 1.93k]
  ------------------
 3936|      0|        goto done;
 3937|      0|    }
 3938|  1.93k|    encoding_str = PyObject_Str(exc->encoding);
 3939|  1.93k|    if (encoding_str == NULL) {
  ------------------
  |  Branch (3939:9): [True: 0, False: 1.93k]
  ------------------
 3940|      0|        goto done;
 3941|      0|    }
 3942|       |    // calls to PyObject_Str(...) above might mutate 'exc->object'
 3943|  1.93k|    if (check_unicode_error_attribute(exc->object, "object", true) < 0) {
  ------------------
  |  Branch (3943:9): [True: 0, False: 1.93k]
  ------------------
 3944|      0|        goto done;
 3945|      0|    }
 3946|  1.93k|    Py_ssize_t len = PyBytes_GET_SIZE(exc->object);
  ------------------
  |  |   33|  1.93k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  1.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3947|  1.93k|    Py_ssize_t start = exc->start, end = exc->end;
 3948|       |
 3949|  1.93k|    if ((start >= 0 && start < len) && (end >= 0 && end <= len) && end == start + 1) {
  ------------------
  |  Branch (3949:10): [True: 1.93k, False: 0]
  |  Branch (3949:24): [True: 1.82k, False: 115]
  |  Branch (3949:41): [True: 1.82k, False: 0]
  |  Branch (3949:53): [True: 1.75k, False: 65]
  |  Branch (3949:68): [True: 1.12k, False: 631]
  ------------------
 3950|  1.12k|        int badbyte = (int)(PyBytes_AS_STRING(exc->object)[start] & 0xff);
  ------------------
  |  |   27|  1.12k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3951|  1.12k|        result = PyUnicode_FromFormat(
 3952|  1.12k|            "'%U' codec can't decode byte 0x%02x in position %zd: %U",
 3953|  1.12k|            encoding_str,
 3954|  1.12k|            badbyte,
 3955|  1.12k|            start,
 3956|  1.12k|            reason_str);
 3957|  1.12k|    }
 3958|    811|    else {
 3959|    811|        result = PyUnicode_FromFormat(
 3960|    811|            "'%U' codec can't decode bytes in position %zd-%zd: %U",
 3961|    811|            encoding_str,
 3962|    811|            start,
 3963|    811|            end - 1,
 3964|    811|            reason_str);
 3965|    811|    }
 3966|  1.93k|done:
 3967|  1.93k|    Py_XDECREF(reason_str);
  ------------------
  |  |  621|  1.93k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3968|  1.93k|    Py_XDECREF(encoding_str);
  ------------------
  |  |  621|  1.93k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3969|  1.93k|    return result;
 3970|  1.93k|}
exceptions.c:UnicodeDecodeError_init:
 3880|  4.51k|{
 3881|  4.51k|    if (BaseException_init(self, args, kwds) == -1) {
  ------------------
  |  Branch (3881:9): [True: 0, False: 4.51k]
  ------------------
 3882|      0|        return -1;
 3883|      0|    }
 3884|       |
 3885|  4.51k|    PyObject *encoding = NULL, *object = NULL, *reason = NULL;  // borrowed
 3886|  4.51k|    Py_ssize_t start = -1, end = -1;
 3887|       |
 3888|  4.51k|    if (!PyArg_ParseTuple(args, "UOnnU",
  ------------------
  |  Branch (3888:9): [True: 26, False: 4.48k]
  ------------------
 3889|  4.51k|                          &encoding, &object, &start, &end, &reason))
 3890|     26|    {
 3891|     26|        return -1;
 3892|     26|    }
 3893|       |
 3894|  4.48k|    if (PyBytes_Check(object)) {
  ------------------
  |  |   28|  4.48k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.48k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4.48k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3895|  4.48k|        Py_INCREF(object);  // make 'object' a strong reference
  ------------------
  |  |  310|  4.48k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3896|  4.48k|    }
 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|  4.48k|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3355|  4.48k|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3910:33): [True: 4.48k, False: 0]
  ------------------
 3911|  4.48k|    Py_XSETREF(exc->encoding, Py_NewRef(encoding));
  ------------------
  |  |  576|  4.48k|    do { \
  |  |  577|  4.48k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  4.48k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  4.48k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  4.48k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  4.48k|        *_tmp_dst_ptr = (src); \
  |  |  580|  4.48k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  4.48k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  4.48k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 4.48k]
  |  |  ------------------
  ------------------
 3912|  4.48k|    Py_XSETREF(exc->object, object /* already a strong reference */);
  ------------------
  |  |  576|  4.48k|    do { \
  |  |  577|  4.48k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  4.48k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  4.48k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  4.48k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  4.48k|        *_tmp_dst_ptr = (src); \
  |  |  580|  4.48k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  4.48k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  4.48k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 4.48k]
  |  |  ------------------
  ------------------
 3913|  4.48k|    exc->start = start;
 3914|  4.48k|    exc->end = end;
 3915|  4.48k|    Py_XSETREF(exc->reason, Py_NewRef(reason));
  ------------------
  |  |  576|  4.48k|    do { \
  |  |  577|  4.48k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  4.48k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  4.48k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  4.48k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  4.48k|        *_tmp_dst_ptr = (src); \
  |  |  580|  4.48k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  4.48k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  4.48k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 4.48k]
  |  |  ------------------
  ------------------
 3916|  4.48k|    return 0;
 3917|  4.48k|}
exceptions.c:get_memory_error:
 4169|     84|{
 4170|     84|    PyBaseExceptionObject *self = NULL;
 4171|     84|    struct _Py_exc_state *state = get_exc_state();
 4172|       |
 4173|     84|    MEMERRORS_LOCK(state);
  ------------------
  |  | 4163|     84|# define MEMERRORS_LOCK(state) ((void)0)
  ------------------
 4174|     84|    if (state->memerrors_freelist != NULL) {
  ------------------
  |  Branch (4174:9): [True: 52, False: 32]
  ------------------
 4175|       |        /* Fetch MemoryError from freelist and initialize it */
 4176|     52|        self = state->memerrors_freelist;
 4177|     52|        state->memerrors_freelist = (PyBaseExceptionObject *) self->dict;
 4178|     52|        state->memerrors_numfree--;
 4179|     52|        self->dict = NULL;
 4180|     52|        self->args = (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|     52|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|     52|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 4181|     52|        _Py_NewReference((PyObject *)self);
 4182|     52|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|     52|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4183|     52|    }
 4184|     84|    MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4164|     84|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4185|       |
 4186|     84|    if (self != NULL) {
  ------------------
  |  Branch (4186:9): [True: 52, False: 32]
  ------------------
 4187|     52|        return (PyObject *)self;
 4188|     52|    }
 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|     84|{
 4228|     84|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
 4229|     84|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|     84|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4230|       |
 4231|     84|    (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|     84|    if (!Py_IS_TYPE(self, (PyTypeObject *) PyExc_MemoryError)) {
  ------------------
  |  |  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 (4235:9): [True: 0, False: 84]
  ------------------
 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|     84|    struct _Py_exc_state *state = get_exc_state();
 4241|     84|    MEMERRORS_LOCK(state);
  ------------------
  |  | 4163|     84|# define MEMERRORS_LOCK(state) ((void)0)
  ------------------
 4242|     84|    if (state->memerrors_numfree < MEMERRORS_SAVE) {
  ------------------
  |  | 4157|     84|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4242:9): [True: 84, False: 0]
  ------------------
 4243|     84|        self->dict = (PyObject *) state->memerrors_freelist;
 4244|     84|        state->memerrors_freelist = self;
 4245|     84|        state->memerrors_numfree++;
 4246|     84|        MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4164|     84|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4247|     84|        return;
 4248|     84|    }
 4249|      0|    MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4164|      0|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4250|       |
 4251|      0|    Py_TYPE(self)->tp_free((PyObject *)self);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4252|      0|}
exceptions.c:BaseException_traverse:
  156|     70|{
  157|     70|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  158|     70|    Py_VISIT(self->dict);
  ------------------
  |  |  194|     70|    do {                                                                \
  |  |  195|     70|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2, False: 68]
  |  |  ------------------
  |  |  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|     70|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 70]
  |  |  ------------------
  ------------------
  159|     70|    Py_VISIT(self->args);
  ------------------
  |  |  194|     70|    do {                                                                \
  |  |  195|     70|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 70, False: 0]
  |  |  ------------------
  |  |  196|     70|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     70|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 70]
  |  |  ------------------
  |  |  198|     70|                return vret;                                            \
  |  |  199|     70|        }                                                               \
  |  |  200|     70|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 70]
  |  |  ------------------
  ------------------
  160|     70|    Py_VISIT(self->notes);
  ------------------
  |  |  194|     70|    do {                                                                \
  |  |  195|     70|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 70]
  |  |  ------------------
  |  |  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|     70|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 70]
  |  |  ------------------
  ------------------
  161|     70|    Py_VISIT(self->traceback);
  ------------------
  |  |  194|     70|    do {                                                                \
  |  |  195|     70|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8, False: 62]
  |  |  ------------------
  |  |  196|      8|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      8|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8]
  |  |  ------------------
  |  |  198|      8|                return vret;                                            \
  |  |  199|      8|        }                                                               \
  |  |  200|     70|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 70]
  |  |  ------------------
  ------------------
  162|     70|    Py_VISIT(self->cause);
  ------------------
  |  |  194|     70|    do {                                                                \
  |  |  195|     70|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 70]
  |  |  ------------------
  |  |  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|     70|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 70]
  |  |  ------------------
  ------------------
  163|     70|    Py_VISIT(self->context);
  ------------------
  |  |  194|     70|    do {                                                                \
  |  |  195|     70|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4, False: 66]
  |  |  ------------------
  |  |  196|      4|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      4|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4]
  |  |  ------------------
  |  |  198|      4|                return vret;                                            \
  |  |  199|      4|        }                                                               \
  |  |  200|     70|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 70]
  |  |  ------------------
  ------------------
  164|     70|    return 0;
  165|     70|}
exceptions.c:BaseException_clear:
  131|   147k|{
  132|   147k|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  133|   147k|    Py_CLEAR(self->dict);
  ------------------
  |  |  487|   147k|    do { \
  |  |  488|   147k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|   147k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|   147k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|   147k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|   147k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|   147k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 1.71k, False: 145k]
  |  |  ------------------
  |  |  491|  1.71k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.71k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  1.71k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  1.71k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  1.71k|        } \
  |  |  494|   147k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 147k]
  |  |  ------------------
  ------------------
  134|   147k|    Py_CLEAR(self->args);
  ------------------
  |  |  487|   147k|    do { \
  |  |  488|   147k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|   147k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|   147k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|   147k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|   147k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|   147k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 147k, False: 0]
  |  |  ------------------
  |  |  491|   147k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|   147k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|   147k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|   147k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   147k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   147k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|   147k|        } \
  |  |  494|   147k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 147k]
  |  |  ------------------
  ------------------
  135|   147k|    Py_CLEAR(self->notes);
  ------------------
  |  |  487|   147k|    do { \
  |  |  488|   147k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|   147k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|   147k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|   147k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|   147k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|   147k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 147k]
  |  |  ------------------
  |  |  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|   147k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 147k]
  |  |  ------------------
  ------------------
  136|   147k|    Py_CLEAR(self->traceback);
  ------------------
  |  |  487|   147k|    do { \
  |  |  488|   147k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|   147k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|   147k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|   147k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|   147k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|   147k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 33.7k, False: 113k]
  |  |  ------------------
  |  |  491|  33.7k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  33.7k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  33.7k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  33.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  33.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  33.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  33.7k|        } \
  |  |  494|   147k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 147k]
  |  |  ------------------
  ------------------
  137|   147k|    Py_CLEAR(self->cause);
  ------------------
  |  |  487|   147k|    do { \
  |  |  488|   147k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|   147k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|   147k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|   147k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|   147k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|   147k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 147k]
  |  |  ------------------
  |  |  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|   147k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 147k]
  |  |  ------------------
  ------------------
  138|       |    Py_CLEAR(self->context);
  ------------------
  |  |  487|   147k|    do { \
  |  |  488|   147k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|   147k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|   147k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|   147k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|   147k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|   147k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 1.17k, False: 145k]
  |  |  ------------------
  |  |  491|  1.17k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.17k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  1.17k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  1.17k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  1.17k|        } \
  |  |  494|   147k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 147k]
  |  |  ------------------
  ------------------
  139|   147k|    return 0;
  140|   147k|}
exceptions.c:BaseException_init:
   86|  49.3k|{
   87|  49.3k|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
   88|  49.3k|    if (!_PyArg_NoKeywords(Py_TYPE(self)->tp_name, kwds))
  ------------------
  |  |   32|  49.3k|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 49.3k, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   89|      0|        return -1;
   90|       |
   91|  49.3k|    Py_XSETREF(self->args, Py_NewRef(args));
  ------------------
  |  |  576|  49.3k|    do { \
  |  |  577|  49.3k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  49.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  49.3k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  49.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  49.3k|        *_tmp_dst_ptr = (src); \
  |  |  580|  49.3k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  49.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  49.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  49.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  49.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 49.3k]
  |  |  ------------------
  ------------------
   92|  49.3k|    return 0;
   93|  49.3k|}
exceptions.c:MemoryError_new:
 4200|     84|{
 4201|       |    /* If this is a subclass of MemoryError, don't use the freelist
 4202|       |     * and just return a fresh object */
 4203|     84|    if (type != (PyTypeObject *) PyExc_MemoryError) {
  ------------------
  |  Branch (4203:9): [True: 0, False: 84]
  ------------------
 4204|      0|        return BaseException_new(type, args, kwds);
 4205|      0|    }
 4206|     84|    return get_memory_error(1, args, kwds);
 4207|     84|}
exceptions.c:BaseException_new:
   58|  49.2k|{
   59|  49.2k|    PyBaseExceptionObject *self;
   60|       |
   61|  49.2k|    self = (PyBaseExceptionObject *)type->tp_alloc(type, 0);
   62|  49.2k|    if (!self)
  ------------------
  |  Branch (62:9): [True: 0, False: 49.2k]
  ------------------
   63|      0|        return NULL;
   64|       |    /* the dict is created on the fly in PyObject_GenericSetAttr */
   65|  49.2k|    self->dict = NULL;
   66|  49.2k|    self->notes = NULL;
   67|  49.2k|    self->traceback = self->cause = self->context = NULL;
   68|  49.2k|    self->suppress_context = 0;
   69|       |
   70|  49.2k|    if (args) {
  ------------------
  |  Branch (70:9): [True: 49.2k, False: 32]
  ------------------
   71|  49.2k|        self->args = Py_NewRef(args);
  ------------------
  |  |  647|  49.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  49.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   72|  49.2k|        return (PyObject *)self;
   73|  49.2k|    }
   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|  92.1k|{
  100|  92.1k|    PyTypeObject *type = _PyType_CAST(type_obj);
  ------------------
  |  |  770|  92.1k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  92.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (100:26): [True: 92.1k, False: 0]
  ------------------
  101|  92.1k|    if (!_PyArg_NoKwnames(type->tp_name, kwnames)) {
  ------------------
  |  |   16|  92.1k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 92.1k, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  102|      0|        return NULL;
  103|      0|    }
  104|       |
  105|  92.1k|    PyBaseExceptionObject *self;
  106|  92.1k|    self = (PyBaseExceptionObject *)type->tp_alloc(type, 0);
  107|  92.1k|    if (!self) {
  ------------------
  |  Branch (107:9): [True: 0, False: 92.1k]
  ------------------
  108|      0|        return NULL;
  109|      0|    }
  110|       |
  111|       |    // The dict is created on the fly in PyObject_GenericSetAttr()
  112|  92.1k|    self->dict = NULL;
  113|  92.1k|    self->notes = NULL;
  114|  92.1k|    self->traceback = NULL;
  115|  92.1k|    self->cause = NULL;
  116|  92.1k|    self->context = NULL;
  117|  92.1k|    self->suppress_context = 0;
  118|       |
  119|  92.1k|    self->args = PyTuple_FromArray(args, PyVectorcall_NARGS(nargsf));
  ------------------
  |  |   37|  92.1k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  120|  92.1k|    if (!self->args) {
  ------------------
  |  Branch (120:9): [True: 0, False: 92.1k]
  ------------------
  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|  92.1k|    return (PyObject *)self;
  126|  92.1k|}
exceptions.c:ImportError_init_impl:
 1799|    239|{
 1800|    239|    PyObject *msg = NULL;
 1801|       |
 1802|    239|    if (BaseException_init((PyObject *)self, args, NULL) == -1) {
  ------------------
  |  Branch (1802:9): [True: 0, False: 239]
  ------------------
 1803|      0|        return -1;
 1804|      0|    }
 1805|       |
 1806|    239|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  576|    239|    do { \
  |  |  577|    239|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    239|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    239|        *_tmp_dst_ptr = (src); \
  |  |  580|    239|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    239|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    239|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    239|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    239|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 239]
  |  |  ------------------
  ------------------
 1807|    239|    Py_XSETREF(self->path, Py_XNewRef(path));
  ------------------
  |  |  576|    239|    do { \
  |  |  577|    239|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    239|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    239|        *_tmp_dst_ptr = (src); \
  |  |  580|    239|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    239|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    239|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    239|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    239|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 239]
  |  |  ------------------
  ------------------
 1808|    239|    Py_XSETREF(self->name_from, Py_XNewRef(name_from));
  ------------------
  |  |  576|    239|    do { \
  |  |  577|    239|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    239|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    239|        *_tmp_dst_ptr = (src); \
  |  |  580|    239|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    239|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    239|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    239|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    239|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 239]
  |  |  ------------------
  ------------------
 1809|       |
 1810|    239|    if (PyTuple_GET_SIZE(args) == 1) {
  ------------------
  |  |   27|    239|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    239|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    239|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1810:9): [True: 239, False: 0]
  ------------------
 1811|    239|        msg = Py_NewRef(PyTuple_GET_ITEM(args, 0));
  ------------------
  |  |  647|    239|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    239|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    478|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 239, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1812|    239|    }
 1813|    239|    Py_XSETREF(self->msg, msg);
  ------------------
  |  |  576|    239|    do { \
  |  |  577|    239|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    239|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    239|        *_tmp_dst_ptr = (src); \
  |  |  580|    239|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    239|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    239|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    239|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    239|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 239]
  |  |  ------------------
  ------------------
 1814|       |
 1815|    239|    return 0;
 1816|    239|}
exceptions.c:NameError_init_impl:
 2596|      1|{
 2597|      1|    if (BaseException_init((PyObject *)self, args, NULL) == -1) {
  ------------------
  |  Branch (2597:9): [True: 0, False: 1]
  ------------------
 2598|      0|        return -1;
 2599|      0|    }
 2600|       |
 2601|      1|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2602|       |
 2603|      1|    return 0;
 2604|      1|}
exceptions.c:AttributeError_init_impl:
 2677|    636|{
 2678|    636|    if (BaseException_init((PyObject *)self, args, NULL) == -1) {
  ------------------
  |  Branch (2678:9): [True: 0, False: 636]
  ------------------
 2679|      0|        return -1;
 2680|      0|    }
 2681|       |
 2682|    636|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  576|    636|    do { \
  |  |  577|    636|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    636|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    636|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    636|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    636|        *_tmp_dst_ptr = (src); \
  |  |  580|    636|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    636|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    636|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    636|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    636|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 636]
  |  |  ------------------
  ------------------
 2683|    636|    Py_XSETREF(self->obj, Py_XNewRef(obj));
  ------------------
  |  |  576|    636|    do { \
  |  |  577|    636|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    636|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    636|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    636|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    636|        *_tmp_dst_ptr = (src); \
  |  |  580|    636|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    636|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    636|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    636|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    636|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 636]
  |  |  ------------------
  ------------------
 2684|       |
 2685|    636|    return 0;
 2686|    636|}
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|  1.73k|{
  292|  1.73k|    PyObject *notes;
  293|  1.73k|    if (PyObject_GetOptionalAttr((PyObject *)self, &_Py_ID(__notes__), &notes) < 0) {
  ------------------
  |  |  951|  1.73k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.73k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.73k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (293:9): [True: 0, False: 1.73k]
  ------------------
  294|      0|        return NULL;
  295|      0|    }
  296|  1.73k|    if (notes == NULL) {
  ------------------
  |  Branch (296:9): [True: 1.71k, False: 22]
  ------------------
  297|  1.71k|        notes = PyList_New(0);
  298|  1.71k|        if (notes == NULL) {
  ------------------
  |  Branch (298:13): [True: 0, False: 1.71k]
  ------------------
  299|      0|            return NULL;
  300|      0|        }
  301|  1.71k|        if (PyObject_SetAttr((PyObject *)self, &_Py_ID(__notes__), notes) < 0) {
  ------------------
  |  |  951|  1.71k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.71k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.71k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (301:13): [True: 0, False: 1.71k]
  ------------------
  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|  1.71k|    }
  306|     22|    else if (!PyList_Check(notes)) {
  ------------------
  |  |   25|     22|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     22|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (306:14): [True: 0, False: 22]
  ------------------
  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|  1.73k|    if (PyList_Append(notes, note) < 0) {
  ------------------
  |  Branch (311:9): [True: 0, False: 1.73k]
  ------------------
  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|  1.73k|    Py_DECREF(notes);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  316|  1.73k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  1.73k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  1.73k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  317|  1.73k|}

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|    101|{
  518|    101|    PyObject *f = NULL;
  519|       |
  520|    101|    if (!PyUnicode_Check(path)) {
  ------------------
  |  |  103|    101|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    101|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (520:9): [True: 0, False: 101]
  ------------------
  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|    101|    Py_OpenCodeHookFunction hook = _PyRuntime.open_code_hook;
  527|    101|    if (hook) {
  ------------------
  |  Branch (527:9): [True: 0, False: 101]
  ------------------
  528|      0|        f = hook(path, _PyRuntime.open_code_userdata);
  529|    101|    } else {
  530|    101|        PyObject *open = PyImport_ImportModuleAttrString("_io", "open");
  531|    101|        if (open) {
  ------------------
  |  Branch (531:13): [True: 101, False: 0]
  ------------------
  532|    101|            f = PyObject_CallFunction(open, "Os", path, "rb");
  533|    101|            Py_DECREF(open);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|    101|        }
  535|    101|    }
  536|       |
  537|    101|    return f;
  538|    101|}
_PyFile_Flush:
  556|  41.6k|{
  557|  41.6k|    PyObject *tmp = PyObject_CallMethodNoArgs(file, &_Py_ID(flush));
  ------------------
  |  |  951|  41.6k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  41.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  41.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|  41.6k|    if (tmp == NULL) {
  ------------------
  |  Branch (558:9): [True: 0, False: 41.6k]
  ------------------
  559|      0|        return -1;
  560|      0|    }
  561|  41.6k|    Py_DECREF(tmp);
  ------------------
  |  |  430|  41.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  41.6k|    return 0;
  563|  41.6k|}

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|   227k|{
  128|   227k|    PyFloatObject *op = _Py_FREELIST_POP(PyFloatObject, floats);
  ------------------
  |  |   43|   227k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|   227k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  129|   227k|    if (op == NULL) {
  ------------------
  |  Branch (129:9): [True: 50.4k, False: 176k]
  ------------------
  130|  50.4k|        op = PyObject_Malloc(sizeof(PyFloatObject));
  131|  50.4k|        if (!op) {
  ------------------
  |  Branch (131:13): [True: 0, False: 50.4k]
  ------------------
  132|      0|            return PyErr_NoMemory();
  133|      0|        }
  134|  50.4k|        _PyObject_Init((PyObject*)op, &PyFloat_Type);
  135|  50.4k|    }
  136|   227k|    op->ob_fval = fval;
  137|   227k|    return (PyObject *) op;
  138|   227k|}
_PyFloat_ExactDealloc:
  232|   227k|{
  233|   227k|    assert(PyFloat_CheckExact(obj));
  ------------------
  |  Branch (233:5): [True: 227k, False: 0]
  ------------------
  234|   227k|    _Py_FREELIST_FREE(floats, obj, PyObject_Free);
  ------------------
  |  |   35|   227k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|   227k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   227k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|   227k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   18|   227k|#  define Py_floats_MAXFREELIST 100
  |  |  ------------------
  ------------------
  235|   227k|}
PyFloat_AsDouble:
  249|    113|{
  250|    113|    PyNumberMethods *nb;
  251|    113|    PyObject *res;
  252|    113|    double val;
  253|       |
  254|    113|    if (op == NULL) {
  ------------------
  |  Branch (254:9): [True: 0, False: 113]
  ------------------
  255|      0|        PyErr_BadArgument();
  256|      0|        return -1;
  257|      0|    }
  258|       |
  259|    113|    if (PyFloat_Check(op)) {
  ------------------
  |  |   16|    113|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|    113|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 113, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  260|    113|        return PyFloat_AS_DOUBLE(op);
  ------------------
  |  |   18|    113|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  261|    113|    }
  262|       |
  263|      0|    nb = Py_TYPE(op)->tp_as_number;
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  264|      0|    if (nb == NULL || nb->nb_float == NULL) {
  ------------------
  |  Branch (264:9): [True: 0, False: 0]
  |  Branch (264:23): [True: 0, False: 0]
  ------------------
  265|      0|        if (nb && nb->nb_index) {
  ------------------
  |  Branch (265:13): [True: 0, False: 0]
  |  Branch (265:19): [True: 0, False: 0]
  ------------------
  266|      0|            PyObject *res = _PyNumber_Index(op);
  267|      0|            if (!res) {
  ------------------
  |  Branch (267:17): [True: 0, False: 0]
  ------------------
  268|      0|                return -1;
  269|      0|            }
  270|      0|            double val = PyLong_AsDouble(res);
  271|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  272|      0|            return val;
  273|      0|        }
  274|      0|        PyErr_Format(PyExc_TypeError, "must be real number, not %.50s",
  275|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  276|      0|        return -1;
  277|      0|    }
  278|       |
  279|      0|    res = (*nb->nb_float) (op);
  280|      0|    if (res == NULL) {
  ------------------
  |  Branch (280:9): [True: 0, False: 0]
  ------------------
  281|      0|        return -1;
  282|      0|    }
  283|      0|    if (!PyFloat_CheckExact(res)) {
  ------------------
  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (283:9): [True: 0, False: 0]
  ------------------
  284|      0|        if (!PyFloat_Check(res)) {
  ------------------
  |  |   16|      0|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (284:13): [True: 0, False: 0]
  ------------------
  285|      0|            PyErr_Format(PyExc_TypeError,
  286|      0|                         "%T.__float__() must return a float, not %T",
  287|      0|                         op, res);
  288|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  289|      0|            return -1;
  290|      0|        }
  291|      0|        if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (291:13): [True: 0, False: 0]
  ------------------
  292|      0|                "%T.__float__() must return a float, not %T.  "
  293|      0|                "The ability to return an instance of a strict subclass of float "
  294|      0|                "is deprecated, and may be removed in a future version of Python.",
  295|      0|                op, res)) {
  296|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  297|      0|            return -1;
  298|      0|        }
  299|      0|    }
  300|       |
  301|      0|    val = PyFloat_AS_DOUBLE(res);
  ------------------
  |  |   18|      0|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  302|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  303|      0|    return val;
  304|      0|}
_Py_convert_int_to_double:
  322|   147k|{
  323|   147k|    PyObject *obj = *v;
  324|       |
  325|   147k|    if (PyLong_Check(obj)) {
  ------------------
  |  |   13|   147k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   147k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 132k, False: 14.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  326|   132k|        *dbl = PyLong_AsDouble(obj);
  327|   132k|        if (*dbl == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (327:13): [True: 5.83k, False: 126k]
  |  Branch (327:29): [True: 457, False: 5.37k]
  ------------------
  328|    457|            *v = NULL;
  329|    457|            return -1;
  330|    457|        }
  331|   132k|    }
  332|  14.3k|    else {
  333|  14.3k|        *v = Py_NewRef(Py_NotImplemented);
  ------------------
  |  |  647|  14.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  14.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  334|  14.3k|        return -1;
  335|  14.3k|    }
  336|   132k|    return 0;
  337|   147k|}
_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|}
PyFloat_Unpack8:
 2224|      4|{
 2225|      4|    unsigned char *p = (unsigned char *)data;
 2226|      4|    double x;
 2227|       |
 2228|      4|    if ((_PY_FLOAT_LITTLE_ENDIAN && !le) || (_PY_FLOAT_BIG_ENDIAN && le)) {
  ------------------
  |  |   51|      8|#  define _PY_FLOAT_LITTLE_ENDIAN 1
  |  |  ------------------
  |  |  |  Branch (51:35): [True: 4, Folded]
  |  |  ------------------
  ------------------
                  if ((_PY_FLOAT_LITTLE_ENDIAN && !le) || (_PY_FLOAT_BIG_ENDIAN && le)) {
  ------------------
  |  |   50|      0|#  define _PY_FLOAT_BIG_ENDIAN 0
  |  |  ------------------
  |  |  |  Branch (50:32): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2228:37): [True: 0, False: 4]
  |  Branch (2228:70): [True: 0, False: 0]
  ------------------
 2229|      0|        char buf[8];
 2230|      0|        char *d = &buf[7];
 2231|      0|        int i;
 2232|       |
 2233|      0|        for (i = 0; i < 8; i++) {
  ------------------
  |  Branch (2233:21): [True: 0, False: 0]
  ------------------
 2234|      0|            *d-- = *p++;
 2235|      0|        }
 2236|      0|        memcpy(&x, buf, 8);
 2237|      0|    }
 2238|      4|    else {
 2239|      4|        memcpy(&x, p, 8);
 2240|      4|    }
 2241|       |
 2242|      4|    return x;
 2243|      4|}
floatobject.c:float_dealloc:
  239|   227k|{
  240|   227k|    assert(PyFloat_Check(op));
  ------------------
  |  Branch (240:5): [True: 227k, False: 0]
  ------------------
  241|   227k|    if (PyFloat_CheckExact(op))
  ------------------
  |  |   17|   227k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|   227k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   227k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   227k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 227k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|   227k|        _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|   227k|}
floatobject.c:float_repr:
  341|  21.1k|{
  342|  21.1k|    PyFloatObject *v = _PyFloat_CAST(op);
  ------------------
  |  |   11|  21.1k|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|  21.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (342:24): [True: 21.1k, False: 0]
  ------------------
  343|      0|    PyObject *result;
  344|  21.1k|    char *buf;
  345|       |
  346|  21.1k|    buf = PyOS_double_to_string(PyFloat_AS_DOUBLE(v),
  ------------------
  |  |   18|  21.1k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  347|  21.1k|                                'r', 0,
  348|  21.1k|                                Py_DTSF_ADD_DOT_0,
  ------------------
  |  |   23|  21.1k|#define Py_DTSF_ADD_DOT_0 0x02 /* if the result is an integer add ".0" */
  ------------------
  349|  21.1k|                                NULL);
  350|  21.1k|    if (!buf)
  ------------------
  |  Branch (350:9): [True: 0, False: 21.1k]
  ------------------
  351|      0|        return PyErr_NoMemory();
  352|  21.1k|    result = _PyUnicode_FromASCII(buf, strlen(buf));
  353|  21.1k|    PyMem_Free(buf);
  354|  21.1k|    return result;
  355|  21.1k|}
floatobject.c:float_add:
  544|  8.79k|{
  545|  8.79k|    double a,b;
  546|  8.79k|    CONVERT_TO_DOUBLE(v, a);
  ------------------
  |  |  313|  8.79k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  8.79k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  8.79k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 6.88k, False: 1.91k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  8.79k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  15.6k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  315|  8.79k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (315:14): [True: 375, False: 1.54k]
  |  |  ------------------
  |  |  316|  1.91k|        return obj;
  ------------------
  547|  8.42k|    CONVERT_TO_DOUBLE(w, b);
  ------------------
  |  |  313|  8.42k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  8.42k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  8.42k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 3.40k, False: 5.01k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  8.42k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  11.8k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  315|  8.42k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (315:14): [True: 338, False: 4.67k]
  |  |  ------------------
  |  |  316|  5.01k|        return obj;
  ------------------
  548|  8.08k|    a = a + b;
  549|  8.08k|    return PyFloat_FromDouble(a);
  550|  8.42k|}
floatobject.c:float_sub:
  554|  30.5k|{
  555|  30.5k|    double a,b;
  556|  30.5k|    CONVERT_TO_DOUBLE(v, a);
  ------------------
  |  |  313|  30.5k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  30.5k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  30.5k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  30.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  30.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 27.4k, False: 3.11k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  30.5k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  58.0k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  27.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  27.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  315|  30.5k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (315:14): [True: 249, False: 2.86k]
  |  |  ------------------
  |  |  316|  3.11k|        return obj;
  ------------------
  557|  30.3k|    CONVERT_TO_DOUBLE(w, b);
  ------------------
  |  |  313|  30.3k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  30.3k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  30.3k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  30.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  30.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 9.41k, False: 20.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  30.3k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  39.7k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  315|  30.3k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (315:14): [True: 458, False: 20.4k]
  |  |  ------------------
  |  |  316|  20.8k|        return obj;
  ------------------
  558|  29.8k|    a = a - b;
  559|  29.8k|    return PyFloat_FromDouble(a);
  560|  30.3k|}
floatobject.c:float_mul:
  564|  15.1k|{
  565|  15.1k|    double a,b;
  566|  15.1k|    CONVERT_TO_DOUBLE(v, a);
  ------------------
  |  |  313|  15.1k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  15.1k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  15.1k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_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 (378:40): [True: 8.31k, False: 6.83k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  15.1k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  23.4k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  315|  15.1k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (315:14): [True: 2.00k, False: 4.82k]
  |  |  ------------------
  |  |  316|  6.83k|        return obj;
  ------------------
  567|  13.1k|    CONVERT_TO_DOUBLE(w, b);
  ------------------
  |  |  313|  13.1k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  13.1k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  13.1k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  13.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  13.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 8.14k, False: 4.99k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  13.1k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  21.2k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  315|  13.1k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (315:14): [True: 1.23k, False: 3.76k]
  |  |  ------------------
  |  |  316|  4.99k|        return obj;
  ------------------
  568|  11.9k|    a = a * b;
  569|  11.9k|    return PyFloat_FromDouble(a);
  570|  13.1k|}
floatobject.c:float_rem:
  589|  4.03k|{
  590|  4.03k|    double vx, wx;
  591|  4.03k|    double mod;
  592|  4.03k|    CONVERT_TO_DOUBLE(v, vx);
  ------------------
  |  |  313|  4.03k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  4.03k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  4.03k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 2.70k, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  4.03k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  6.73k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  315|  4.03k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (315:14): [True: 69, False: 1.25k]
  |  |  ------------------
  |  |  316|  1.32k|        return obj;
  ------------------
  593|  3.96k|    CONVERT_TO_DOUBLE(w, wx);
  ------------------
  |  |  313|  3.96k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  3.96k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  3.96k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 1.52k, False: 2.43k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  3.96k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  5.48k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  315|  3.96k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (315:14): [True: 412, False: 2.02k]
  |  |  ------------------
  |  |  316|  2.43k|        return obj;
  ------------------
  594|  3.54k|    if (wx == 0.0) {
  ------------------
  |  Branch (594:9): [True: 437, False: 3.11k]
  ------------------
  595|    437|        PyErr_SetString(PyExc_ZeroDivisionError,
  596|    437|                        "division by zero");
  597|    437|        return NULL;
  598|    437|    }
  599|  3.11k|    mod = fmod(vx, wx);
  600|  3.11k|    if (mod) {
  ------------------
  |  Branch (600:9): [True: 1.62k, False: 1.49k]
  ------------------
  601|       |        /* ensure the remainder has the same sign as the denominator */
  602|  1.62k|        if ((wx < 0) != (mod < 0)) {
  ------------------
  |  Branch (602:13): [True: 636, False: 985]
  ------------------
  603|    636|            mod += wx;
  604|    636|        }
  605|  1.62k|    }
  606|  1.49k|    else {
  607|       |        /* the remainder is zero, and in the presence of signed zeroes
  608|       |           fmod returns different results across platforms; ensure
  609|       |           it has the same sign as the denominator. */
  610|  1.49k|        mod = copysign(0.0, wx);
  611|  1.49k|    }
  612|  3.11k|    return PyFloat_FromDouble(mod);
  613|  3.54k|}
floatobject.c:_float_div_mod:
  617|  2.68k|{
  618|  2.68k|    double div;
  619|  2.68k|    *mod = fmod(vx, wx);
  620|       |    /* fmod is typically exact, so vx-mod is *mathematically* an
  621|       |       exact multiple of wx.  But this is fp arithmetic, and fp
  622|       |       vx - mod is an approximation; the result is that div may
  623|       |       not be an exact integral value after the division, although
  624|       |       it will always be very close to one.
  625|       |    */
  626|  2.68k|    div = (vx - *mod) / wx;
  627|  2.68k|    if (*mod) {
  ------------------
  |  Branch (627:9): [True: 1.75k, False: 929]
  ------------------
  628|       |        /* ensure the remainder has the same sign as the denominator */
  629|  1.75k|        if ((wx < 0) != (*mod < 0)) {
  ------------------
  |  Branch (629:13): [True: 828, False: 925]
  ------------------
  630|    828|            *mod += wx;
  631|    828|            div -= 1.0;
  632|    828|        }
  633|  1.75k|    }
  634|    929|    else {
  635|       |        /* the remainder is zero, and in the presence of signed zeroes
  636|       |           fmod returns different results across platforms; ensure
  637|       |           it has the same sign as the denominator. */
  638|    929|        *mod = copysign(0.0, wx);
  639|    929|    }
  640|       |    /* snap quotient to nearest integral value */
  641|  2.68k|    if (div) {
  ------------------
  |  Branch (641:9): [True: 2.02k, False: 658]
  ------------------
  642|  2.02k|        *floordiv = floor(div);
  643|  2.02k|        if (div - *floordiv > 0.5) {
  ------------------
  |  Branch (643:13): [True: 293, False: 1.73k]
  ------------------
  644|    293|            *floordiv += 1.0;
  645|    293|        }
  646|  2.02k|    }
  647|    658|    else {
  648|       |        /* div is zero - get the same sign as the true quotient */
  649|    658|        *floordiv = copysign(0.0, vx / wx); /* zero w/ sign of vx/wx */
  650|    658|    }
  651|  2.68k|}
floatobject.c:float_pow:
  689|  13.3k|{
  690|  13.3k|    double iv, iw, ix;
  691|  13.3k|    int negate_result = 0;
  692|       |
  693|  13.3k|    if ((PyObject *)z != Py_None) {
  ------------------
  |  |  616|  13.3k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (693:9): [True: 0, False: 13.3k]
  ------------------
  694|      0|        PyErr_SetString(PyExc_TypeError, "pow() 3rd argument not "
  695|      0|            "allowed unless all arguments are integers");
  696|      0|        return NULL;
  697|      0|    }
  698|       |
  699|  13.3k|    CONVERT_TO_DOUBLE(v, iv);
  ------------------
  |  |  313|  13.3k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  13.3k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  13.3k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 7.18k, False: 6.18k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  13.3k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  20.5k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  315|  13.3k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (315:14): [True: 102, False: 6.08k]
  |  |  ------------------
  |  |  316|  6.18k|        return obj;
  ------------------
  700|  13.2k|    CONVERT_TO_DOUBLE(w, iw);
  ------------------
  |  |  313|  13.2k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  13.2k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  13.2k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  13.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  13.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 5.39k, False: 7.87k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  13.2k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  18.6k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  315|  13.2k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (315:14): [True: 3.36k, False: 4.50k]
  |  |  ------------------
  |  |  316|  7.87k|        return obj;
  ------------------
  701|       |
  702|       |    /* Sort out special cases here instead of relying on pow() */
  703|  9.90k|    if (iw == 0) {              /* v**0 is 1, even 0**0 */
  ------------------
  |  Branch (703:9): [True: 1.25k, False: 8.65k]
  ------------------
  704|  1.25k|        return PyFloat_FromDouble(1.0);
  705|  1.25k|    }
  706|  8.65k|    if (isnan(iv)) {        /* nan**w = nan, unless w == 0 */
  ------------------
  |  Branch (706:9): [True: 0, False: 8.65k]
  ------------------
  707|      0|        return PyFloat_FromDouble(iv);
  708|      0|    }
  709|  8.65k|    if (isnan(iw)) {        /* v**nan = nan, unless v == 1; 1**nan = 1 */
  ------------------
  |  Branch (709:9): [True: 0, False: 8.65k]
  ------------------
  710|      0|        return PyFloat_FromDouble(iv == 1.0 ? 1.0 : iw);
  ------------------
  |  Branch (710:35): [True: 0, False: 0]
  ------------------
  711|      0|    }
  712|  8.65k|    if (isinf(iw)) {
  ------------------
  |  Branch (712:9): [True: 1.01k, False: 7.63k]
  ------------------
  713|       |        /* v**inf is: 0.0 if abs(v) < 1; 1.0 if abs(v) == 1; inf if
  714|       |         *     abs(v) > 1 (including case where v infinite)
  715|       |         *
  716|       |         * v**-inf is: inf if abs(v) < 1; 1.0 if abs(v) == 1; 0.0 if
  717|       |         *     abs(v) > 1 (including case where v infinite)
  718|       |         */
  719|  1.01k|        iv = fabs(iv);
  720|  1.01k|        if (iv == 1.0)
  ------------------
  |  Branch (720:13): [True: 339, False: 673]
  ------------------
  721|    339|            return PyFloat_FromDouble(1.0);
  722|    673|        else if ((iw > 0.0) == (iv > 1.0))
  ------------------
  |  Branch (722:18): [True: 96, False: 577]
  ------------------
  723|     96|            return PyFloat_FromDouble(fabs(iw)); /* return inf */
  724|    577|        else
  725|    577|            return PyFloat_FromDouble(0.0);
  726|  1.01k|    }
  727|  7.63k|    if (isinf(iv)) {
  ------------------
  |  Branch (727:9): [True: 1.66k, False: 5.97k]
  ------------------
  728|       |        /* (+-inf)**w is: inf for w positive, 0 for w negative; in
  729|       |         *     both cases, we need to add the appropriate sign if w is
  730|       |         *     an odd integer.
  731|       |         */
  732|  1.66k|        int iw_is_odd = DOUBLE_IS_ODD_INTEGER(iw);
  ------------------
  |  |  685|  1.66k|#define DOUBLE_IS_ODD_INTEGER(x) (fmod(fabs(x), 2.0) == 1.0)
  ------------------
  733|  1.66k|        if (iw > 0.0)
  ------------------
  |  Branch (733:13): [True: 1.12k, False: 547]
  ------------------
  734|  1.12k|            return PyFloat_FromDouble(iw_is_odd ? iv : fabs(iv));
  ------------------
  |  Branch (734:39): [True: 544, False: 577]
  ------------------
  735|    547|        else
  736|    547|            return PyFloat_FromDouble(iw_is_odd ?
  ------------------
  |  Branch (736:39): [True: 307, False: 240]
  ------------------
  737|    307|                                      copysign(0.0, iv) : 0.0);
  738|  1.66k|    }
  739|  5.97k|    if (iv == 0.0) {  /* 0**w is: 0 for w positive, 1 for w zero
  ------------------
  |  Branch (739:9): [True: 613, False: 5.35k]
  ------------------
  740|       |                         (already dealt with above), and an error
  741|       |                         if w is negative. */
  742|    613|        int iw_is_odd = DOUBLE_IS_ODD_INTEGER(iw);
  ------------------
  |  |  685|    613|#define DOUBLE_IS_ODD_INTEGER(x) (fmod(fabs(x), 2.0) == 1.0)
  ------------------
  743|    613|        if (iw < 0.0) {
  ------------------
  |  Branch (743:13): [True: 101, False: 512]
  ------------------
  744|    101|            PyErr_SetString(PyExc_ZeroDivisionError,
  745|    101|                            "zero to a negative power");
  746|    101|            return NULL;
  747|    101|        }
  748|       |        /* use correct sign if iw is odd */
  749|    512|        return PyFloat_FromDouble(iw_is_odd ? iv : 0.0);
  ------------------
  |  Branch (749:35): [True: 265, False: 247]
  ------------------
  750|    613|    }
  751|       |
  752|  5.35k|    if (iv < 0.0) {
  ------------------
  |  Branch (752:9): [True: 242, False: 5.11k]
  ------------------
  753|       |        /* Whether this is an error is a mess, and bumps into libm
  754|       |         * bugs so we have to figure it out ourselves.
  755|       |         */
  756|    242|        if (iw != floor(iw)) {
  ------------------
  |  Branch (756:13): [True: 189, False: 53]
  ------------------
  757|       |            /* Negative numbers raised to fractional powers
  758|       |             * become complex.
  759|       |             */
  760|    189|            return PyComplex_Type.tp_as_number->nb_power(v, w, z);
  761|    189|        }
  762|       |        /* iw is an exact integer, albeit perhaps a very large
  763|       |         * one.  Replace iv by its absolute value and remember
  764|       |         * to negate the pow result if iw is odd.
  765|       |         */
  766|     53|        iv = -iv;
  767|     53|        negate_result = DOUBLE_IS_ODD_INTEGER(iw);
  ------------------
  |  |  685|     53|#define DOUBLE_IS_ODD_INTEGER(x) (fmod(fabs(x), 2.0) == 1.0)
  ------------------
  768|     53|    }
  769|       |
  770|  5.16k|    if (iv == 1.0) { /* 1**w is 1, even 1**inf and 1**nan */
  ------------------
  |  Branch (770:9): [True: 1.53k, False: 3.63k]
  ------------------
  771|       |        /* (-1) ** large_integer also ends up here.  Here's an
  772|       |         * extract from the comments for the previous
  773|       |         * implementation explaining why this special case is
  774|       |         * necessary:
  775|       |         *
  776|       |         * -1 raised to an exact integer should never be exceptional.
  777|       |         * Alas, some libms (chiefly glibc as of early 2003) return
  778|       |         * NaN and set EDOM on pow(-1, large_int) if the int doesn't
  779|       |         * happen to be representable in a *C* integer.  That's a
  780|       |         * bug.
  781|       |         */
  782|  1.53k|        return PyFloat_FromDouble(negate_result ? -1.0 : 1.0);
  ------------------
  |  Branch (782:35): [True: 33, False: 1.49k]
  ------------------
  783|  1.53k|    }
  784|       |
  785|       |    /* Now iv and iw are finite, iw is nonzero, and iv is
  786|       |     * positive and not equal to 1.0.  We finally allow
  787|       |     * the platform pow to step in and do the rest.
  788|       |     */
  789|  5.16k|    errno = 0;
  790|  3.63k|    ix = pow(iv, iw);
  791|  3.63k|    _Py_ADJUST_ERANGE1(ix);
  792|  3.63k|    if (negate_result)
  ------------------
  |  Branch (792:9): [True: 6, False: 3.63k]
  ------------------
  793|      6|        ix = -ix;
  794|       |
  795|  3.63k|    if (errno != 0) {
  ------------------
  |  Branch (795:9): [True: 750, False: 2.88k]
  ------------------
  796|       |        /* We don't expect any errno value other than ERANGE, but
  797|       |         * the range of libm bugs appears unbounded.
  798|       |         */
  799|    750|        PyErr_SetFromErrno(errno == ERANGE ? PyExc_OverflowError :
  ------------------
  |  Branch (799:28): [True: 750, False: 0]
  ------------------
  800|    750|                             PyExc_ValueError);
  801|    750|        return NULL;
  802|    750|    }
  803|  2.88k|    return PyFloat_FromDouble(ix);
  804|  3.63k|}
floatobject.c:float_neg:
  810|  9.47k|{
  811|  9.47k|    PyFloatObject *v = _PyFloat_CAST(op);
  ------------------
  |  |   11|  9.47k|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|  9.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (811:24): [True: 9.47k, False: 0]
  ------------------
  812|      0|    return PyFloat_FromDouble(-v->ob_fval);
  813|  9.47k|}
floatobject.c:float_float:
 1076|  5.71k|{
 1077|  5.71k|    if (PyFloat_CheckExact(v)) {
  ------------------
  |  |   17|  5.71k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  5.71k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5.71k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1078|  5.71k|        return Py_NewRef(v);
  ------------------
  |  |  647|  5.71k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1079|  5.71k|    }
 1080|      0|    else {
 1081|      0|        return PyFloat_FromDouble(((PyFloatObject *)v)->ob_fval);
 1082|      0|    }
 1083|  5.71k|}
floatobject.c:float_bool:
  824|    435|{
  825|    435|    PyFloatObject *v = _PyFloat_CAST(op);
  ------------------
  |  |   11|    435|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|    435|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (825:24): [True: 435, False: 0]
  ------------------
  826|      0|    return v->ob_fval != 0.0;
  827|    435|}
floatobject.c:float___trunc___impl:
  865|    101|{
  866|    101|    return PyLong_FromDouble(PyFloat_AS_DOUBLE(self));
  ------------------
  |  |   18|    101|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  867|    101|}
floatobject.c:float_floor_div:
  670|  3.72k|{
  671|  3.72k|    double vx, wx;
  672|  3.72k|    double mod, floordiv;
  673|  3.72k|    CONVERT_TO_DOUBLE(v, vx);
  ------------------
  |  |  313|  3.72k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  3.72k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  3.72k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 2.35k, False: 1.37k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  3.72k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  6.07k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  315|  3.72k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (315:14): [True: 623, False: 747]
  |  |  ------------------
  |  |  316|  1.37k|        return obj;
  ------------------
  674|  3.10k|    CONVERT_TO_DOUBLE(w, wx);
  ------------------
  |  |  313|  3.10k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  3.10k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  3.10k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 884, False: 2.21k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  3.10k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  3.98k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    884|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    884|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  315|  3.10k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (315:14): [True: 319, False: 1.89k]
  |  |  ------------------
  |  |  316|  2.21k|        return obj;
  ------------------
  675|  2.78k|    if (wx == 0.0) {
  ------------------
  |  Branch (675:9): [True: 99, False: 2.68k]
  ------------------
  676|     99|        PyErr_SetString(PyExc_ZeroDivisionError, "division by zero");
  677|     99|        return NULL;
  678|     99|    }
  679|  2.68k|    _float_div_mod(vx, wx, &floordiv, &mod);
  680|  2.68k|    return PyFloat_FromDouble(floordiv);
  681|  2.78k|}
floatobject.c:float_div:
  574|  10.3k|{
  575|  10.3k|    double a,b;
  576|  10.3k|    CONVERT_TO_DOUBLE(v, a);
  ------------------
  |  |  313|  10.3k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  10.3k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  10.3k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  10.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  10.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 8.86k, False: 1.47k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  10.3k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  19.1k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  315|  10.3k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (315:14): [True: 16, False: 1.46k]
  |  |  ------------------
  |  |  316|  1.47k|        return obj;
  ------------------
  577|  10.3k|    CONVERT_TO_DOUBLE(w, b);
  ------------------
  |  |  313|  10.3k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  10.3k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  10.3k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  10.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  10.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 2.45k, False: 7.87k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  10.3k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  12.7k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  315|  10.3k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (315:14): [True: 959, False: 6.91k]
  |  |  ------------------
  |  |  316|  7.87k|        return obj;
  ------------------
  578|  9.36k|    if (b == 0.0) {
  ------------------
  |  Branch (578:9): [True: 989, False: 8.37k]
  ------------------
  579|    989|        PyErr_SetString(PyExc_ZeroDivisionError,
  580|    989|                        "division by zero");
  581|    989|        return NULL;
  582|    989|    }
  583|  8.37k|    a = a / b;
  584|  8.37k|    return PyFloat_FromDouble(a);
  585|  9.36k|}
floatobject.c:float_hash:
  537|   184M|{
  538|   184M|    PyFloatObject *v = _PyFloat_CAST(op);
  ------------------
  |  |   11|   184M|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|   184M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (538:24): [True: 184M, False: 0]
  ------------------
  539|      0|    return _Py_HashDouble(op, v->ob_fval);
  540|   184M|}
floatobject.c:float_richcompare:
  374|   160k|{
  375|   160k|    double i, j;
  376|   160k|    int r = 0;
  377|       |
  378|   160k|    assert(PyFloat_Check(v));
  ------------------
  |  Branch (378:5): [True: 160k, False: 0]
  ------------------
  379|   160k|    i = PyFloat_AS_DOUBLE(v);
  ------------------
  |  |   18|   160k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   160k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   160k|#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|   160k|    if (PyFloat_Check(w))
  ------------------
  |  |   16|   160k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|   160k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   160k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   160k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 154k, False: 5.33k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|   154k|        j = PyFloat_AS_DOUBLE(w);
  ------------------
  |  |   18|   154k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   154k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   154k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  386|       |
  387|  5.33k|    else if (!isfinite(i)) {
  ------------------
  |  Branch (387:14): [True: 9, False: 5.32k]
  ------------------
  388|      9|        if (PyLong_Check(w))
  ------------------
  |  |   13|      9|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      9|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|      9|        else
  395|      9|            goto Unimplemented;
  396|      9|    }
  397|       |
  398|  5.32k|    else if (PyLong_Check(w)) {
  ------------------
  |  |   13|  5.32k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.32k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 5.21k, False: 103]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  399|  5.21k|        int vsign = i == 0.0 ? 0 : i < 0.0 ? -1 : 1;
  ------------------
  |  Branch (399:21): [True: 246, False: 4.97k]
  |  Branch (399:36): [True: 4.80k, False: 170]
  ------------------
  400|  5.21k|        int wsign;
  401|  5.21k|        int exponent;
  402|       |
  403|  5.21k|        (void)PyLong_GetSign(w, &wsign);
  404|  5.21k|        if (vsign != wsign) {
  ------------------
  |  Branch (404:13): [True: 112, False: 5.10k]
  ------------------
  405|       |            /* Magnitudes are irrelevant -- the signs alone
  406|       |             * determine the outcome.
  407|       |             */
  408|    112|            i = (double)vsign;
  409|    112|            j = (double)wsign;
  410|    112|            goto Compare;
  411|    112|        }
  412|       |        /* The signs are the same. */
  413|       |        /* Convert w to a double if it fits.  In particular, 0 fits. */
  414|  5.10k|        int64_t nbits64 = _PyLong_NumBits(w);
  415|  5.10k|        assert(nbits64 >= 0);
  ------------------
  |  Branch (415:9): [True: 5.10k, False: 0]
  ------------------
  416|  5.10k|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (416:9): [True: 5.10k, False: 0]
  ------------------
  417|  5.10k|        if (nbits64 > DBL_MAX_EXP) {
  ------------------
  |  Branch (417:13): [True: 0, False: 5.10k]
  ------------------
  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|  5.10k|        int nbits = (int)nbits64;
  430|  5.10k|        if (nbits <= 48) {
  ------------------
  |  Branch (430:13): [True: 3.75k, False: 1.35k]
  ------------------
  431|  3.75k|            j = PyLong_AsDouble(w);
  432|       |            /* It's impossible that <= 48 bits overflowed. */
  433|  3.75k|            assert(j != -1.0 || ! PyErr_Occurred());
  ------------------
  |  Branch (433:13): [True: 3.12k, False: 635]
  |  Branch (433:13): [True: 635, False: 0]
  ------------------
  434|  3.75k|            goto Compare;
  435|  3.75k|        }
  436|  5.10k|        assert(wsign != 0); /* else nbits was 0 */
  ------------------
  |  Branch (436:9): [True: 1.35k, False: 0]
  ------------------
  437|  1.35k|        assert(vsign != 0); /* if vsign were 0, then since wsign is
  ------------------
  |  Branch (437:9): [True: 1.35k, False: 0]
  ------------------
  438|       |                             * not 0, we would have taken the
  439|       |                             * vsign != wsign branch at the start */
  440|  1.35k|        (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|  1.35k|        if (exponent < nbits) {
  ------------------
  |  Branch (444:13): [True: 883, False: 468]
  ------------------
  445|    883|            j = i;
  446|    883|            i = 0.0;
  447|    883|            goto Compare;
  448|    883|        }
  449|    468|        if (exponent > nbits) {
  ------------------
  |  Branch (449:13): [True: 142, False: 326]
  ------------------
  450|    142|            j = 0.0;
  451|    142|            goto Compare;
  452|    142|        }
  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|    326|        {
  458|    326|            double fracpart;
  459|    326|            double intpart;
  460|    326|            PyObject *result = NULL;
  461|    326|            PyObject *vv = NULL;
  462|       |
  463|    326|            fracpart = modf(i, &intpart);
  464|    326|            if (fracpart != 0.0) {
  ------------------
  |  Branch (464:17): [True: 0, False: 326]
  ------------------
  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|    326|            vv = PyLong_FromDouble(intpart);
  492|    326|            if (vv == NULL)
  ------------------
  |  Branch (492:17): [True: 0, False: 326]
  ------------------
  493|      0|                goto Error;
  494|       |
  495|    326|            r = PyObject_RichCompareBool(vv, w, op);
  496|    326|            if (r < 0)
  ------------------
  |  Branch (496:17): [True: 0, False: 326]
  ------------------
  497|      0|                goto Error;
  498|    326|            result = PyBool_FromLong(r);
  499|    326|         Error:
  500|    326|            Py_XDECREF(vv);
  ------------------
  |  |  621|    326|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    326|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    326|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|    326|            return result;
  502|    326|        }
  503|    326|    } /* else if (PyLong_Check(w)) */
  504|       |
  505|    103|    else        /* w isn't float or int */
  506|    103|        goto Unimplemented;
  507|       |
  508|   159k| Compare:
  509|   159k|    switch (op) {
  ------------------
  |  Branch (509:13): [True: 159k, False: 0]
  ------------------
  510|   159k|    case Py_EQ:
  ------------------
  |  |  654|   159k|#define Py_EQ 2
  ------------------
  |  Branch (510:5): [True: 159k, False: 17]
  ------------------
  511|   159k|        r = i == j;
  512|   159k|        break;
  513|     15|    case Py_NE:
  ------------------
  |  |  655|     15|#define Py_NE 3
  ------------------
  |  Branch (513:5): [True: 15, False: 159k]
  ------------------
  514|     15|        r = i != j;
  515|     15|        break;
  516|      0|    case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (516:5): [True: 0, False: 159k]
  ------------------
  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: 159k]
  ------------------
  520|      0|        r = i >= j;
  521|      0|        break;
  522|      1|    case Py_LT:
  ------------------
  |  |  652|      1|#define Py_LT 0
  ------------------
  |  Branch (522:5): [True: 1, False: 159k]
  ------------------
  523|      1|        r = i < j;
  524|      1|        break;
  525|      1|    case Py_GT:
  ------------------
  |  |  656|      1|#define Py_GT 4
  ------------------
  |  Branch (525:5): [True: 1, False: 159k]
  ------------------
  526|      1|        r = i > j;
  527|      1|        break;
  528|   159k|    }
  529|   159k|    return PyBool_FromLong(r);
  530|       |
  531|    112| Unimplemented:
  532|    112|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|    112|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|    112|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  533|   159k|}
floatobject.c:float_fromhex_impl:
 1233|      3|{
 1234|      3|    PyObject *result;
 1235|      3|    double x;
 1236|      3|    long exp, top_exp, lsb, key_digit;
 1237|      3|    const char *s, *coeff_start, *s_store, *coeff_end, *exp_start, *s_end;
 1238|      3|    int half_eps, digit, round_up, negate=0;
 1239|      3|    Py_ssize_t length, ndigits, fdigits, i;
 1240|       |
 1241|       |    /*
 1242|       |     * For the sake of simplicity and correctness, we impose an artificial
 1243|       |     * limit on ndigits, the total number of hex digits in the coefficient
 1244|       |     * The limit is chosen to ensure that, writing exp for the exponent,
 1245|       |     *
 1246|       |     *   (1) if exp > LONG_MAX/2 then the value of the hex string is
 1247|       |     *   guaranteed to overflow (provided it's nonzero)
 1248|       |     *
 1249|       |     *   (2) if exp < LONG_MIN/2 then the value of the hex string is
 1250|       |     *   guaranteed to underflow to 0.
 1251|       |     *
 1252|       |     *   (3) if LONG_MIN/2 <= exp <= LONG_MAX/2 then there's no danger of
 1253|       |     *   overflow in the calculation of exp and top_exp below.
 1254|       |     *
 1255|       |     * More specifically, ndigits is assumed to satisfy the following
 1256|       |     * inequalities:
 1257|       |     *
 1258|       |     *   4*ndigits <= DBL_MIN_EXP - DBL_MANT_DIG - LONG_MIN/2
 1259|       |     *   4*ndigits <= LONG_MAX/2 + 1 - DBL_MAX_EXP
 1260|       |     *
 1261|       |     * If either of these inequalities is not satisfied, a ValueError is
 1262|       |     * raised.  Otherwise, write x for the value of the hex string, and
 1263|       |     * assume x is nonzero.  Then
 1264|       |     *
 1265|       |     *   2**(exp-4*ndigits) <= |x| < 2**(exp+4*ndigits).
 1266|       |     *
 1267|       |     * Now if exp > LONG_MAX/2 then:
 1268|       |     *
 1269|       |     *   exp - 4*ndigits >= LONG_MAX/2 + 1 - (LONG_MAX/2 + 1 - DBL_MAX_EXP)
 1270|       |     *                    = DBL_MAX_EXP
 1271|       |     *
 1272|       |     * so |x| >= 2**DBL_MAX_EXP, which is too large to be stored in C
 1273|       |     * double, so overflows.  If exp < LONG_MIN/2, then
 1274|       |     *
 1275|       |     *   exp + 4*ndigits <= LONG_MIN/2 - 1 + (
 1276|       |     *                      DBL_MIN_EXP - DBL_MANT_DIG - LONG_MIN/2)
 1277|       |     *                    = DBL_MIN_EXP - DBL_MANT_DIG - 1
 1278|       |     *
 1279|       |     * and so |x| < 2**(DBL_MIN_EXP-DBL_MANT_DIG-1), hence underflows to 0
 1280|       |     * when converted to a C double.
 1281|       |     *
 1282|       |     * It's easy to show that if LONG_MIN/2 <= exp <= LONG_MAX/2 then both
 1283|       |     * exp+4*ndigits and exp-4*ndigits are within the range of a long.
 1284|       |     */
 1285|       |
 1286|      3|    s = PyUnicode_AsUTF8AndSize(string, &length);
 1287|      3|    if (s == NULL)
  ------------------
  |  Branch (1287:9): [True: 0, False: 3]
  ------------------
 1288|      0|        return NULL;
 1289|      3|    s_end = s + length;
 1290|       |
 1291|       |    /********************
 1292|       |     * Parse the string *
 1293|       |     ********************/
 1294|       |
 1295|       |    /* leading whitespace */
 1296|      3|    while (Py_ISSPACE(*s))
  ------------------
  |  |   27|      3|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  170|      3|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|      3|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 3]
  |  |  ------------------
  ------------------
 1297|      0|        s++;
 1298|       |
 1299|       |    /* infinities and nans */
 1300|      3|    x = _Py_parse_inf_or_nan(s, (char **)&coeff_end);
 1301|      3|    if (coeff_end != s) {
  ------------------
  |  Branch (1301:9): [True: 0, False: 3]
  ------------------
 1302|      0|        s = coeff_end;
 1303|      0|        goto finished;
 1304|      0|    }
 1305|       |
 1306|       |    /* optional sign */
 1307|      3|    if (*s == '-') {
  ------------------
  |  Branch (1307:9): [True: 0, False: 3]
  ------------------
 1308|      0|        s++;
 1309|      0|        negate = 1;
 1310|      0|    }
 1311|      3|    else if (*s == '+')
  ------------------
  |  Branch (1311:14): [True: 0, False: 3]
  ------------------
 1312|      0|        s++;
 1313|       |
 1314|       |    /* [0x] */
 1315|      3|    s_store = s;
 1316|      3|    if (*s == '0') {
  ------------------
  |  Branch (1316:9): [True: 3, False: 0]
  ------------------
 1317|      3|        s++;
 1318|      3|        if (*s == 'x' || *s == 'X')
  ------------------
  |  Branch (1318:13): [True: 3, False: 0]
  |  Branch (1318:26): [True: 0, False: 0]
  ------------------
 1319|      3|            s++;
 1320|      0|        else
 1321|      0|            s = s_store;
 1322|      3|    }
 1323|       |
 1324|       |    /* coefficient: <integer> [. <fraction>] */
 1325|      3|    coeff_start = s;
 1326|      6|    while (hex_from_char(*s) >= 0)
  ------------------
  |  Branch (1326:12): [True: 3, False: 3]
  ------------------
 1327|      3|        s++;
 1328|      3|    s_store = s;
 1329|      3|    if (*s == '.') {
  ------------------
  |  Branch (1329:9): [True: 3, False: 0]
  ------------------
 1330|      3|        s++;
 1331|     42|        while (hex_from_char(*s) >= 0)
  ------------------
  |  Branch (1331:16): [True: 39, False: 3]
  ------------------
 1332|     39|            s++;
 1333|      3|        coeff_end = s-1;
 1334|      3|    }
 1335|      0|    else
 1336|      0|        coeff_end = s;
 1337|       |
 1338|       |    /* ndigits = total # of hex digits; fdigits = # after point */
 1339|      3|    ndigits = coeff_end - coeff_start;
 1340|      3|    fdigits = coeff_end - s_store;
 1341|      3|    if (ndigits == 0)
  ------------------
  |  Branch (1341:9): [True: 0, False: 3]
  ------------------
 1342|      0|        goto parse_error;
 1343|      3|    if (ndigits > Py_MIN(DBL_MIN_EXP - DBL_MANT_DIG - LONG_MIN/2,
  ------------------
  |  |  127|      3|       __extension__ \
  |  |  128|      3|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      3|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      3|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 3, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1343:9): [True: 0, False: 3]
  ------------------
 1344|      3|                         LONG_MAX/2 + 1 - DBL_MAX_EXP)/4)
 1345|      0|        goto insane_length_error;
 1346|       |
 1347|       |    /* [p <exponent>] */
 1348|      3|    if (*s == 'p' || *s == 'P') {
  ------------------
  |  Branch (1348:9): [True: 3, False: 0]
  |  Branch (1348:22): [True: 0, False: 0]
  ------------------
 1349|      3|        s++;
 1350|      3|        exp_start = s;
 1351|      3|        if (*s == '-' || *s == '+')
  ------------------
  |  Branch (1351:13): [True: 1, False: 2]
  |  Branch (1351:26): [True: 2, False: 0]
  ------------------
 1352|      3|            s++;
 1353|      3|        if (!('0' <= *s && *s <= '9'))
  ------------------
  |  Branch (1353:15): [True: 3, False: 0]
  |  Branch (1353:28): [True: 3, False: 0]
  ------------------
 1354|      0|            goto parse_error;
 1355|      3|        s++;
 1356|      3|        while ('0' <= *s && *s <= '9')
  ------------------
  |  Branch (1356:16): [True: 0, False: 3]
  |  Branch (1356:29): [True: 0, False: 0]
  ------------------
 1357|      0|            s++;
 1358|      3|        exp = strtol(exp_start, NULL, 10);
 1359|      3|    }
 1360|      0|    else
 1361|      0|        exp = 0;
 1362|       |
 1363|       |/* for 0 <= j < ndigits, HEX_DIGIT(j) gives the jth most significant digit */
 1364|      3|#define HEX_DIGIT(j) hex_from_char(*((j) < fdigits ?            \
 1365|      3|                     coeff_end-(j) :                                    \
 1366|      3|                     coeff_end-1-(j)))
 1367|       |
 1368|       |    /*******************************************
 1369|       |     * Compute rounded value of the hex string *
 1370|       |     *******************************************/
 1371|       |
 1372|       |    /* Discard leading zeros, and catch extreme overflow and underflow */
 1373|      3|    while (ndigits > 0 && HEX_DIGIT(ndigits-1) == 0)
  ------------------
  |  | 1364|      3|#define HEX_DIGIT(j) hex_from_char(*((j) < fdigits ?            \
  |  |  ------------------
  |  |  |  Branch (1364:38): [True: 0, False: 3]
  |  |  ------------------
  |  | 1365|      3|                     coeff_end-(j) :                                    \
  |  | 1366|      3|                     coeff_end-1-(j)))
  ------------------
  |  Branch (1373:12): [True: 3, False: 0]
  |  Branch (1373:27): [True: 0, False: 3]
  ------------------
 1374|      0|        ndigits--;
 1375|      3|    if (ndigits == 0 || exp < LONG_MIN/2) {
  ------------------
  |  Branch (1375:9): [True: 0, False: 3]
  |  Branch (1375:25): [True: 0, False: 3]
  ------------------
 1376|      0|        x = 0.0;
 1377|      0|        goto finished;
 1378|      0|    }
 1379|      3|    if (exp > LONG_MAX/2)
  ------------------
  |  Branch (1379:9): [True: 0, False: 3]
  ------------------
 1380|      0|        goto overflow_error;
 1381|       |
 1382|       |    /* Adjust exponent for fractional part. */
 1383|      3|    exp = exp - 4*((long)fdigits);
 1384|       |
 1385|       |    /* top_exp = 1 more than exponent of most sig. bit of coefficient */
 1386|      3|    top_exp = exp + 4*((long)ndigits - 1);
 1387|      6|    for (digit = HEX_DIGIT(ndigits-1); digit != 0; digit /= 2)
  ------------------
  |  | 1364|      3|#define HEX_DIGIT(j) hex_from_char(*((j) < fdigits ?            \
  |  |  ------------------
  |  |  |  Branch (1364:38): [True: 0, False: 3]
  |  |  ------------------
  |  | 1365|      3|                     coeff_end-(j) :                                    \
  |  | 1366|      3|                     coeff_end-1-(j)))
  ------------------
  |  Branch (1387:40): [True: 3, False: 3]
  ------------------
 1388|      3|        top_exp++;
 1389|       |
 1390|       |    /* catch almost all nonextreme cases of overflow and underflow here */
 1391|      3|    if (top_exp < DBL_MIN_EXP - DBL_MANT_DIG) {
  ------------------
  |  Branch (1391:9): [True: 0, False: 3]
  ------------------
 1392|      0|        x = 0.0;
 1393|      0|        goto finished;
 1394|      0|    }
 1395|      3|    if (top_exp > DBL_MAX_EXP)
  ------------------
  |  Branch (1395:9): [True: 0, False: 3]
  ------------------
 1396|      0|        goto overflow_error;
 1397|       |
 1398|       |    /* lsb = exponent of least significant bit of the *rounded* value.
 1399|       |       This is top_exp - DBL_MANT_DIG unless result is subnormal. */
 1400|      3|    lsb = Py_MAX(top_exp, (long)DBL_MIN_EXP) - DBL_MANT_DIG;
  ------------------
  |  |  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: 3, False: 0]
  |  |  ------------------
  ------------------
 1401|       |
 1402|      3|    x = 0.0;
 1403|      3|    if (exp >= lsb) {
  ------------------
  |  Branch (1403:9): [True: 3, False: 0]
  ------------------
 1404|       |        /* no rounding required */
 1405|     45|        for (i = ndigits-1; i >= 0; i--)
  ------------------
  |  Branch (1405:29): [True: 42, False: 3]
  ------------------
 1406|     42|            x = 16.0*x + HEX_DIGIT(i);
  ------------------
  |  | 1364|     42|#define HEX_DIGIT(j) hex_from_char(*((j) < fdigits ?            \
  |  |  ------------------
  |  |  |  Branch (1364:38): [True: 39, False: 3]
  |  |  ------------------
  |  | 1365|     42|                     coeff_end-(j) :                                    \
  |  | 1366|     42|                     coeff_end-1-(j)))
  ------------------
 1407|      3|        x = ldexp(x, (int)(exp));
 1408|      3|        goto finished;
 1409|      3|    }
 1410|       |    /* rounding required.  key_digit is the index of the hex digit
 1411|       |       containing the first bit to be rounded away. */
 1412|      0|    half_eps = 1 << (int)((lsb - exp - 1) % 4);
 1413|      0|    key_digit = (lsb - exp - 1) / 4;
 1414|      0|    for (i = ndigits-1; i > key_digit; i--)
  ------------------
  |  Branch (1414:25): [True: 0, False: 0]
  ------------------
 1415|      0|        x = 16.0*x + HEX_DIGIT(i);
  ------------------
  |  | 1364|      0|#define HEX_DIGIT(j) hex_from_char(*((j) < fdigits ?            \
  |  |  ------------------
  |  |  |  Branch (1364:38): [True: 0, False: 0]
  |  |  ------------------
  |  | 1365|      0|                     coeff_end-(j) :                                    \
  |  | 1366|      0|                     coeff_end-1-(j)))
  ------------------
 1416|      0|    digit = HEX_DIGIT(key_digit);
  ------------------
  |  | 1364|      0|#define HEX_DIGIT(j) hex_from_char(*((j) < fdigits ?            \
  |  |  ------------------
  |  |  |  Branch (1364:38): [True: 0, False: 0]
  |  |  ------------------
  |  | 1365|      0|                     coeff_end-(j) :                                    \
  |  | 1366|      0|                     coeff_end-1-(j)))
  ------------------
 1417|      0|    x = 16.0*x + (double)(digit & (16-2*half_eps));
 1418|       |
 1419|       |    /* round-half-even: round up if bit lsb-1 is 1 and at least one of
 1420|       |       bits lsb, lsb-2, lsb-3, lsb-4, ... is 1. */
 1421|      0|    if ((digit & half_eps) != 0) {
  ------------------
  |  Branch (1421:9): [True: 0, False: 0]
  ------------------
 1422|      0|        round_up = 0;
 1423|      0|        if ((digit & (3*half_eps-1)) != 0 || (half_eps == 8 &&
  ------------------
  |  Branch (1423:13): [True: 0, False: 0]
  |  Branch (1423:47): [True: 0, False: 0]
  ------------------
 1424|      0|                key_digit+1 < ndigits && (HEX_DIGIT(key_digit+1) & 1) != 0))
  ------------------
  |  | 1364|      0|#define HEX_DIGIT(j) hex_from_char(*((j) < fdigits ?            \
  |  |  ------------------
  |  |  |  Branch (1364:38): [True: 0, False: 0]
  |  |  ------------------
  |  | 1365|      0|                     coeff_end-(j) :                                    \
  |  | 1366|      0|                     coeff_end-1-(j)))
  ------------------
  |  Branch (1424:17): [True: 0, False: 0]
  |  Branch (1424:42): [True: 0, False: 0]
  ------------------
 1425|      0|            round_up = 1;
 1426|      0|        else
 1427|      0|            for (i = key_digit-1; i >= 0; i--)
  ------------------
  |  Branch (1427:35): [True: 0, False: 0]
  ------------------
 1428|      0|                if (HEX_DIGIT(i) != 0) {
  ------------------
  |  | 1364|      0|#define HEX_DIGIT(j) hex_from_char(*((j) < fdigits ?            \
  |  |  ------------------
  |  |  |  Branch (1364:38): [True: 0, False: 0]
  |  |  ------------------
  |  | 1365|      0|                     coeff_end-(j) :                                    \
  |  | 1366|      0|                     coeff_end-1-(j)))
  ------------------
  |  Branch (1428:21): [True: 0, False: 0]
  ------------------
 1429|      0|                    round_up = 1;
 1430|      0|                    break;
 1431|      0|                }
 1432|      0|        if (round_up) {
  ------------------
  |  Branch (1432:13): [True: 0, False: 0]
  ------------------
 1433|      0|            x += 2*half_eps;
 1434|      0|            if (top_exp == DBL_MAX_EXP &&
  ------------------
  |  Branch (1434:17): [True: 0, False: 0]
  ------------------
 1435|      0|                x == ldexp((double)(2*half_eps), DBL_MANT_DIG))
  ------------------
  |  Branch (1435:17): [True: 0, False: 0]
  ------------------
 1436|       |                /* overflow corner case: pre-rounded value <
 1437|       |                   2**DBL_MAX_EXP; rounded=2**DBL_MAX_EXP. */
 1438|      0|                goto overflow_error;
 1439|      0|        }
 1440|      0|    }
 1441|      0|    x = ldexp(x, (int)(exp+4*key_digit));
 1442|       |
 1443|      3|  finished:
 1444|       |    /* optional trailing whitespace leading to the end of the string */
 1445|      3|    while (Py_ISSPACE(*s))
  ------------------
  |  |   27|      3|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  170|      3|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|      3|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 3]
  |  |  ------------------
  ------------------
 1446|      0|        s++;
 1447|      3|    if (s != s_end)
  ------------------
  |  Branch (1447:9): [True: 0, False: 3]
  ------------------
 1448|      0|        goto parse_error;
 1449|      3|    result = PyFloat_FromDouble(negate ? -x : x);
  ------------------
  |  Branch (1449:33): [True: 0, False: 3]
  ------------------
 1450|      3|    if (type != &PyFloat_Type && result != NULL) {
  ------------------
  |  Branch (1450:9): [True: 0, False: 3]
  |  Branch (1450:34): [True: 0, False: 0]
  ------------------
 1451|      0|        Py_SETREF(result, PyObject_CallOneArg((PyObject *)type, 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]
  |  |  ------------------
  ------------------
 1452|      0|    }
 1453|      3|    return result;
 1454|       |
 1455|      0|  overflow_error:
 1456|      0|    PyErr_SetString(PyExc_OverflowError,
 1457|      0|                    "hexadecimal value too large to represent as a float");
 1458|      0|    return NULL;
 1459|       |
 1460|      0|  parse_error:
 1461|      0|    PyErr_SetString(PyExc_ValueError,
 1462|      0|                    "invalid hexadecimal floating-point string");
 1463|      0|    return NULL;
 1464|       |
 1465|      0|  insane_length_error:
 1466|      0|    PyErr_SetString(PyExc_ValueError,
 1467|      0|                    "hexadecimal string too long to convert");
 1468|       |    return NULL;
 1469|      3|}
floatobject.c:hex_from_char:
 1138|     96|hex_from_char(unsigned char c) {
 1139|     96|    return _CHAR_TO_HEX[c];
 1140|     96|}

_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|  19.9k|{
 2194|  19.9k|    CALL_STAT_INC(frame_objects_created);
  ------------------
  |  |   76|  19.9k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 2195|  19.9k|    int slots = code->co_nlocalsplus + code->co_stacksize;
 2196|  19.9k|    PyFrameObject *f = PyObject_GC_NewVar(PyFrameObject, &PyFrame_Type, slots);
  ------------------
  |  |  183|  19.9k|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2197|  19.9k|    if (f == NULL) {
  ------------------
  |  Branch (2197:9): [True: 0, False: 19.9k]
  ------------------
 2198|      0|        return NULL;
 2199|      0|    }
 2200|  19.9k|    f->f_back = NULL;
 2201|  19.9k|    f->f_trace = NULL;
 2202|  19.9k|    f->f_trace_lines = 1;
 2203|  19.9k|    f->f_trace_opcodes = 0;
 2204|  19.9k|    f->f_lineno = 0;
 2205|  19.9k|    f->f_extra_locals = NULL;
 2206|  19.9k|    f->f_locals_cache = NULL;
 2207|  19.9k|    f->f_overwritten_fast_locals = NULL;
 2208|       |    f->f_weakreflist = NULL;
 2209|  19.9k|    return f;
 2210|  19.9k|}
_PyFrame_HasHiddenLocals:
 2379|     16|{
 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|     16|    PyCodeObject* co = _PyFrame_GetCode(frame);
 2385|       |
 2386|     17|    for (int i = 0; i < co->co_nlocalsplus; i++) {
  ------------------
  |  Branch (2386:21): [True: 1, False: 16]
  ------------------
 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|     16|    return false;
 2397|     16|}
_PyFrame_GetLocals:
 2402|     16|{
 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|     16|    PyCodeObject *co = _PyFrame_GetCode(frame);
 2406|       |
 2407|     16|    if (!(co->co_flags & CO_OPTIMIZED) && !_PyFrame_HasHiddenLocals(frame)) {
  ------------------
  |  |  122|     16|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (2407:9): [True: 16, False: 0]
  |  Branch (2407:43): [True: 16, False: 0]
  ------------------
 2408|     16|        if (frame->f_locals == NULL) {
  ------------------
  |  Branch (2408:13): [True: 0, False: 16]
  ------------------
 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|     16|        return Py_NewRef(frame->f_locals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2418|     16|    }
 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|    470|{
 2512|    470|    assert(frame != NULL);
  ------------------
  |  Branch (2512:5): [True: 470, False: 0]
  ------------------
 2513|    470|    PyObject *code;
 2514|    470|    Py_BEGIN_CRITICAL_SECTION(frame);
  ------------------
  |  |   51|    470|    {
  ------------------
 2515|    470|    assert(!_PyFrame_IsIncomplete(frame->f_frame));
  ------------------
  |  Branch (2515:5): [True: 470, False: 0]
  ------------------
 2516|    470|    code = Py_NewRef(_PyFrame_GetCode(frame->f_frame));
  ------------------
  |  |  647|    470|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    470|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    470|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2517|    470|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    470|    }
  ------------------
 2518|    470|    return (PyCodeObject *)code;
 2519|    470|}
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|  19.9k|{
 2004|       |    /* It is the responsibility of the owning generator/coroutine
 2005|       |     * to have cleared the generator pointer */
 2006|  19.9k|    PyFrameObject *f = PyFrameObject_CAST(op);
  ------------------
  |  |   28|  19.9k|    (assert(PyObject_TypeCheck((op), &PyFrame_Type)), (PyFrameObject *)(op))
  ------------------
  |  Branch (2006:24): [True: 19.9k, False: 0]
  ------------------
 2007|  19.9k|    if (_PyObject_GC_IS_TRACKED(f)) {
  ------------------
  |  |   81|  19.9k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 3.58k, False: 16.3k]
  |  |  ------------------
  ------------------
 2008|  3.58k|        _PyObject_GC_UNTRACK(f);
  ------------------
  |  |  504|  3.58k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|  3.58k|    }
 2010|       |
 2011|  19.9k|    FT_CLEAR_WEAKREFS(op, f->f_weakreflist);
  ------------------
  |  |   47|  19.9k|    do {                                            \
  |  |   48|  19.9k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  19.9k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 19.9k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  19.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 19.9k]
  |  |  ------------------
  ------------------
  |  Branch (2011:5): [True: 19.9k, 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|  19.9k|    _PyInterpreterFrame *frame = (_PyInterpreterFrame *)f->_f_frame_data;
 2018|       |
 2019|       |    /* Kill all local variables including specials, if we own them */
 2020|  19.9k|    if (f->f_frame == frame && frame->owner == FRAME_OWNED_BY_FRAME_OBJECT) {
  ------------------
  |  Branch (2020:9): [True: 3.58k, False: 16.3k]
  |  Branch (2020:32): [True: 3.58k, False: 0]
  ------------------
 2021|  3.58k|        PyStackRef_CLEAR(frame->f_executable);
  ------------------
  |  |  732|  3.58k|    do { \
  |  |  733|  3.58k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  3.58k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  3.58k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  3.58k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  3.58k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 3.58k]
  |  |  ------------------
  ------------------
 2022|  3.58k|        PyStackRef_CLEAR(frame->f_funcobj);
  ------------------
  |  |  732|  3.58k|    do { \
  |  |  733|  3.58k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  3.58k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  3.58k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  3.58k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  3.58k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 3.58k]
  |  |  ------------------
  ------------------
 2023|  3.58k|        Py_CLEAR(frame->f_locals);
  ------------------
  |  |  487|  3.58k|    do { \
  |  |  488|  3.58k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  3.58k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  3.58k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  3.58k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  3.58k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  3.58k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 5, False: 3.58k]
  |  |  ------------------
  |  |  491|      5|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      5|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      5|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      5|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      5|        } \
  |  |  494|  3.58k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 3.58k]
  |  |  ------------------
  ------------------
 2024|  3.58k|        _PyStackRef *locals = _PyFrame_GetLocalsArray(frame);
 2025|  3.58k|        _PyStackRef *sp = frame->stackpointer;
 2026|  30.0k|        while (sp > locals) {
  ------------------
  |  Branch (2026:16): [True: 26.4k, False: 3.58k]
  ------------------
 2027|  26.4k|            sp--;
 2028|  26.4k|            PyStackRef_CLEAR(*sp);
  ------------------
  |  |  732|  26.4k|    do { \
  |  |  733|  26.4k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  26.4k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  26.4k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  26.4k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  26.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 26.4k]
  |  |  ------------------
  ------------------
 2029|  26.4k|        }
 2030|  3.58k|    }
 2031|  19.9k|    Py_CLEAR(f->f_back);
  ------------------
  |  |  487|  19.9k|    do { \
  |  |  488|  19.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  19.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  19.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  19.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  19.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  19.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2.49k, False: 17.4k]
  |  |  ------------------
  |  |  491|  2.49k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.49k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  2.49k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  2.49k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  2.49k|        } \
  |  |  494|  19.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 19.9k]
  |  |  ------------------
  ------------------
 2032|  19.9k|    Py_CLEAR(f->f_trace);
  ------------------
  |  |  487|  19.9k|    do { \
  |  |  488|  19.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  19.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  19.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  19.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  19.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  19.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 19.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|  19.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 19.9k]
  |  |  ------------------
  ------------------
 2033|  19.9k|    Py_CLEAR(f->f_extra_locals);
  ------------------
  |  |  487|  19.9k|    do { \
  |  |  488|  19.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  19.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  19.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  19.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  19.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  19.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 19.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|  19.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 19.9k]
  |  |  ------------------
  ------------------
 2034|  19.9k|    Py_CLEAR(f->f_locals_cache);
  ------------------
  |  |  487|  19.9k|    do { \
  |  |  488|  19.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  19.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  19.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  19.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  19.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  19.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 19.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|  19.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 19.9k]
  |  |  ------------------
  ------------------
 2035|       |    Py_CLEAR(f->f_overwritten_fast_locals);
  ------------------
  |  |  487|  19.9k|    do { \
  |  |  488|  19.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  19.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  19.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  19.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  19.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  19.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 19.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|  19.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 19.9k]
  |  |  ------------------
  ------------------
 2036|  19.9k|    PyObject_GC_Del(f);
 2037|  19.9k|}
frameobject.c:frame_traverse:
 2041|     14|{
 2042|     14|    PyFrameObject *f = PyFrameObject_CAST(op);
  ------------------
  |  |   28|     14|    (assert(PyObject_TypeCheck((op), &PyFrame_Type)), (PyFrameObject *)(op))
  ------------------
  |  Branch (2042:24): [True: 14, False: 0]
  ------------------
 2043|     14|    Py_VISIT(f->f_back);
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 14, False: 0]
  |  |  ------------------
  |  |  196|     14|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     14|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 14]
  |  |  ------------------
  |  |  198|     14|                return vret;                                            \
  |  |  199|     14|        }                                                               \
  |  |  200|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2044|     14|    Py_VISIT(f->f_trace);
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2045|     14|    Py_VISIT(f->f_extra_locals);
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2046|     14|    Py_VISIT(f->f_locals_cache);
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2047|     14|    Py_VISIT(f->f_overwritten_fast_locals);
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2048|     14|    if (f->f_frame->owner != FRAME_OWNED_BY_FRAME_OBJECT) {
  ------------------
  |  Branch (2048:9): [True: 0, False: 14]
  ------------------
 2049|      0|        return 0;
 2050|      0|    }
 2051|     14|    assert(f->f_frame->frame_obj == NULL);
  ------------------
  |  Branch (2051:5): [True: 14, False: 0]
  ------------------
 2052|     14|    return _PyFrame_Traverse(f->f_frame, visit, arg);
 2053|     14|}
frameobject.c:framelocalsproxy_hasval:
   88|      1|{
   89|      1|    PyObject *value = framelocalsproxy_getval(frame, co, i);
   90|      1|    if (value == NULL) {
  ------------------
  |  Branch (90:9): [True: 1, False: 0]
  ------------------
   91|      1|        return false;
   92|      1|    }
   93|      0|    Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   94|       |    return true;
   95|      1|}
frameobject.c:frame_locals_get_impl:
 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|    134|{
  119|    134|    PyObject *module;
  120|    134|    if (PyDict_GetItemRef(constr->fc_globals, &_Py_ID(__name__), &module) < 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 (120:9): [True: 0, False: 134]
  ------------------
  121|      0|        return NULL;
  122|      0|    }
  123|       |
  124|    134|    PyFunctionObject *op = PyObject_GC_New(PyFunctionObject, &PyFunction_Type);
  ------------------
  |  |  181|    134|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  125|    134|    if (op == NULL) {
  ------------------
  |  Branch (125:9): [True: 0, False: 134]
  ------------------
  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|    134|    _Py_INCREF_DICT(constr->fc_globals);
  ------------------
  |  |  405|    134|#  define _Py_INCREF_DICT Py_INCREF
  |  |  ------------------
  |  |  |  |  310|    134|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  130|    134|    op->func_globals = constr->fc_globals;
  131|    134|    _Py_INCREF_BUILTINS(constr->fc_builtins);
  ------------------
  |  |  407|    134|#  define _Py_INCREF_BUILTINS Py_INCREF
  |  |  ------------------
  |  |  |  |  310|    134|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  132|    134|    op->func_builtins = constr->fc_builtins;
  133|    134|    op->func_name = Py_NewRef(constr->fc_name);
  ------------------
  |  |  647|    134|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  134|    134|    op->func_qualname = Py_NewRef(constr->fc_qualname);
  ------------------
  |  |  647|    134|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  135|    134|    _Py_INCREF_CODE((PyCodeObject *)constr->fc_code);
  ------------------
  |  |  306|    134|#  define _Py_INCREF_CODE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|    134|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  136|    134|    op->func_code = constr->fc_code;
  137|    134|    op->func_defaults = Py_XNewRef(constr->fc_defaults);
  ------------------
  |  |  648|    134|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  138|    134|    op->func_kwdefaults = Py_XNewRef(constr->fc_kwdefaults);
  ------------------
  |  |  648|    134|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  139|    134|    op->func_closure = Py_XNewRef(constr->fc_closure);
  ------------------
  |  |  648|    134|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|    134|    op->func_doc = Py_NewRef(Py_None);
  ------------------
  |  |  647|    134|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  141|    134|    op->func_dict = NULL;
  142|    134|    op->func_weakreflist = NULL;
  143|    134|    op->func_module = module;
  144|    134|    op->func_annotations = NULL;
  145|    134|    op->func_annotate = NULL;
  146|    134|    op->func_typeparams = NULL;
  147|    134|    op->vectorcall = _PyFunction_Vectorcall;
  148|    134|    op->func_version = FUNC_VERSION_UNSET;
  ------------------
  |  |   18|    134|#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|    134|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|    134|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  153|       |    handle_func_event(PyFunction_EVENT_CREATE, op, NULL);
  154|    134|    return op;
  155|    134|}
PyFunction_NewWithQualName:
  159|  5.19k|{
  160|  5.19k|    assert(globals != NULL);
  ------------------
  |  Branch (160:5): [True: 5.19k, False: 0]
  ------------------
  161|  5.19k|    assert(PyAnyDict_Check(globals));
  ------------------
  |  Branch (161:5): [True: 5.19k, False: 0]
  |  Branch (161:5): [True: 0, False: 0]
  ------------------
  162|  5.19k|    _Py_INCREF_DICT(globals);
  ------------------
  |  |  405|  5.19k|#  define _Py_INCREF_DICT Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  5.19k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  163|       |
  164|  5.19k|    PyCodeObject *code_obj = (PyCodeObject *)code;
  165|  5.19k|    _Py_INCREF_CODE(code_obj);
  ------------------
  |  |  306|  5.19k|#  define _Py_INCREF_CODE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  5.19k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|       |
  167|  5.19k|    assert(code_obj->co_name != NULL);
  ------------------
  |  Branch (167:5): [True: 5.19k, False: 0]
  ------------------
  168|  5.19k|    PyObject *name = Py_NewRef(code_obj->co_name);
  ------------------
  |  |  647|  5.19k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  169|       |
  170|  5.19k|    if (!qualname) {
  ------------------
  |  Branch (170:9): [True: 5.19k, False: 0]
  ------------------
  171|  5.19k|        qualname = code_obj->co_qualname;
  172|  5.19k|    }
  173|  5.19k|    assert(qualname != NULL);
  ------------------
  |  Branch (173:5): [True: 5.19k, False: 0]
  ------------------
  174|  5.19k|    Py_INCREF(qualname);
  ------------------
  |  |  310|  5.19k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  175|       |
  176|  5.19k|    PyObject *consts = code_obj->co_consts;
  177|  5.19k|    assert(PyTuple_Check(consts));
  ------------------
  |  Branch (177:5): [True: 5.19k, False: 0]
  ------------------
  178|  5.19k|    PyObject *doc;
  179|  5.19k|    if (code_obj->co_flags & CO_HAS_DOCSTRING) {
  ------------------
  |  |  154|  5.19k|#define CO_HAS_DOCSTRING 0x4000000
  ------------------
  |  Branch (179:9): [True: 1.17k, False: 4.02k]
  ------------------
  180|  1.17k|        assert(PyTuple_Size(consts) >= 1);
  ------------------
  |  Branch (180:9): [True: 1.17k, False: 0]
  ------------------
  181|  1.17k|        doc = PyTuple_GetItem(consts, 0);
  182|  1.17k|        if (!PyUnicode_Check(doc)) {
  ------------------
  |  |  103|  1.17k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.17k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (182:13): [True: 0, False: 1.17k]
  ------------------
  183|      0|            doc = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  184|      0|        }
  185|  1.17k|    }
  186|  4.02k|    else {
  187|  4.02k|        doc = Py_None;
  ------------------
  |  |  616|  4.02k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  188|  4.02k|    }
  189|  5.19k|    Py_INCREF(doc);
  ------------------
  |  |  310|  5.19k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  190|       |
  191|       |    // __module__: Use globals['__name__'] if it exists, or NULL.
  192|  5.19k|    PyObject *module;
  193|  5.19k|    PyObject *builtins = NULL;
  194|  5.19k|    if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &module) < 0) {
  ------------------
  |  |  951|  5.19k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  5.19k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  5.19k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (194:9): [True: 0, False: 5.19k]
  ------------------
  195|      0|        goto error;
  196|      0|    }
  197|       |
  198|  5.19k|    builtins = _PyDict_LoadBuiltinsFromGlobals(globals);
  199|  5.19k|    if (builtins == NULL) {
  ------------------
  |  Branch (199:9): [True: 0, False: 5.19k]
  ------------------
  200|      0|        goto error;
  201|      0|    }
  202|       |
  203|  5.19k|    PyFunctionObject *op = PyObject_GC_New(PyFunctionObject, &PyFunction_Type);
  ------------------
  |  |  181|  5.19k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  5.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  204|  5.19k|    if (op == NULL) {
  ------------------
  |  Branch (204:9): [True: 0, False: 5.19k]
  ------------------
  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|  5.19k|    op->func_globals = globals;
  211|  5.19k|    op->func_builtins = builtins;
  212|  5.19k|    op->func_name = name;
  213|  5.19k|    op->func_qualname = qualname;
  214|  5.19k|    op->func_code = (PyObject*)code_obj;
  215|  5.19k|    op->func_defaults = NULL;    // No default positional arguments
  216|  5.19k|    op->func_kwdefaults = NULL;  // No default keyword arguments
  217|  5.19k|    op->func_closure = NULL;
  218|  5.19k|    op->func_doc = doc;
  219|  5.19k|    op->func_dict = NULL;
  220|  5.19k|    op->func_weakreflist = NULL;
  221|  5.19k|    op->func_module = module;
  222|  5.19k|    op->func_annotations = NULL;
  223|  5.19k|    op->func_annotate = NULL;
  224|  5.19k|    op->func_typeparams = NULL;
  225|  5.19k|    op->vectorcall = _PyFunction_Vectorcall;
  226|  5.19k|    op->func_version = FUNC_VERSION_UNSET;
  ------------------
  |  |   18|  5.19k|#define FUNC_VERSION_UNSET 0
  ------------------
  227|  5.19k|    if (((code_obj->co_flags & CO_NESTED) == 0) ||
  ------------------
  |  |  126|  5.19k|#define CO_NESTED       0x0010
  ------------------
  |  Branch (227:9): [True: 3.21k, False: 1.97k]
  ------------------
  228|  3.34k|        (code_obj->co_flags & CO_METHOD)) {
  ------------------
  |  |  157|  1.97k|#define CO_METHOD  0x8000000
  ------------------
  |  Branch (228:9): [True: 130, False: 1.84k]
  ------------------
  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.34k|        _PyObject_SetDeferredRefcount((PyObject *)op);
  236|  3.34k|    }
  237|  5.19k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  238|  5.19k|    handle_func_event(PyFunction_EVENT_CREATE, op, NULL);
  239|  5.19k|    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|  5.19k|}
_PyFunction_SetVersion:
  321|  5.19k|{
  322|  5.19k|    assert(func->func_version == FUNC_VERSION_UNSET);
  ------------------
  |  Branch (322:5): [True: 5.19k, False: 0]
  ------------------
  323|  5.19k|    assert(version >= FUNC_VERSION_FIRST_VALID);
  ------------------
  |  Branch (323:5): [True: 5.19k, 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|  5.19k|    func->func_version = version;
  327|  5.19k|#ifndef Py_GIL_DISABLED
  328|  5.19k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  329|  5.19k|    struct _func_version_cache_item *slot = get_cache_item(interp, version);
  330|  5.19k|    slot->func = func;
  331|  5.19k|    slot->code = func->func_code;
  332|  5.19k|#endif
  333|  5.19k|}
_PyFunction_ClearCodeByVersion:
  355|  75.2k|{
  356|  75.2k|#ifndef Py_GIL_DISABLED
  357|  75.2k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  358|  75.2k|    struct _func_version_cache_item *slot = get_cache_item(interp, version);
  359|  75.2k|    if (slot->code) {
  ------------------
  |  Branch (359:9): [True: 26.4k, False: 48.8k]
  ------------------
  360|  26.4k|        assert(PyCode_Check(slot->code));
  ------------------
  |  Branch (360:9): [True: 26.4k, False: 0]
  ------------------
  361|  26.4k|        PyCodeObject *code = (PyCodeObject *)slot->code;
  362|  26.4k|        if (code->co_version == version) {
  ------------------
  |  Branch (362:13): [True: 664, False: 25.8k]
  ------------------
  363|    664|            slot->code = NULL;
  364|       |            slot->func = NULL;
  365|    664|        }
  366|  26.4k|    }
  367|  75.2k|#endif
  368|  75.2k|}
_PyFunction_GetVersionForCurrentState:
  372|    433|{
  373|    433|    return func->func_version;
  374|    433|}
PyFunction_New:
  378|  5.19k|{
  379|       |    return PyFunction_NewWithQualName(code, globals, NULL);
  380|  5.19k|}
PyFunction_GetModule:
  404|      8|{
  405|      8|    if (!PyFunction_Check(op)) {
  ------------------
  |  |   68|      8|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (405:9): [True: 0, False: 8]
  ------------------
  406|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  407|      0|        return NULL;
  408|      0|    }
  409|      8|    return PyFunction_GET_MODULE(op);
  ------------------
  |  |  108|      8|#define PyFunction_GET_MODULE(func) PyFunction_GET_MODULE(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  410|      8|}
PyStaticMethod_New:
 2007|     27|{
 2008|     27|    staticmethod *sm = (staticmethod *)
 2009|     27|        PyType_GenericAlloc(&PyStaticMethod_Type, 0);
 2010|     27|    if (sm == NULL) {
  ------------------
  |  Branch (2010:9): [True: 0, False: 27]
  ------------------
 2011|      0|        return NULL;
 2012|      0|    }
 2013|     27|    _PyObject_SetDeferredRefcount((PyObject *)sm);
 2014|     27|    if (sm_set_callable(sm, callable) < 0) {
  ------------------
  |  Branch (2014:9): [True: 0, False: 27]
  ------------------
 2015|      0|        Py_DECREF(sm);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2016|      0|        return NULL;
 2017|      0|    }
 2018|     27|    return (PyObject *)sm;
 2019|     27|}
_PyStaticMethod_GetFunc:
 2030|  1.43k|{
 2031|  1.43k|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1780|  1.43k|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1781|  1.43k|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|  1.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2031:24): [True: 1.43k, False: 0]
  ------------------
 2032|      0|    return sm->sm_callable;
 2033|  1.43k|}
funcobject.c:handle_func_event:
   56|  8.06k|{
   57|  8.06k|    assert(Py_REFCNT(func) > 0);
  ------------------
  |  Branch (57:5): [True: 8.06k, False: 0]
  ------------------
   58|  8.06k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   59|  8.06k|    assert(interp->_initialized);
  ------------------
  |  Branch (59:5): [True: 8.06k, False: 0]
  ------------------
   60|  8.06k|    if (interp->active_func_watchers) {
  ------------------
  |  Branch (60:9): [True: 0, False: 8.06k]
  ------------------
   61|      0|        notify_func_watchers(interp, event, func, new_value);
   62|      0|    }
   63|  8.06k|    switch (event) {
   64|      0|        case PyFunction_EVENT_MODIFY_CODE:
  ------------------
  |  Branch (64:9): [True: 0, False: 8.06k]
  ------------------
   65|      0|        case PyFunction_EVENT_MODIFY_DEFAULTS:
  ------------------
  |  Branch (65:9): [True: 0, False: 8.06k]
  ------------------
   66|      0|        case PyFunction_EVENT_MODIFY_KWDEFAULTS:
  ------------------
  |  Branch (66:9): [True: 0, False: 8.06k]
  ------------------
   67|     40|        case PyFunction_EVENT_MODIFY_QUALNAME:
  ------------------
  |  Branch (67:9): [True: 40, False: 8.02k]
  ------------------
   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|     40|            RARE_EVENT_INTERP_INC(interp, func_modification);
  ------------------
  |  |   98|     40|    do { \
  |  |   99|     40|        /* saturating add */ \
  |  |  100|     40|        uint8_t val = FT_ATOMIC_LOAD_UINT8_RELAXED(interp->rare_events.name); \
  |  |  ------------------
  |  |  |  |  159|     40|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  |  |  ------------------
  |  |  101|     40|        if (val < UINT8_MAX) { \
  |  |  ------------------
  |  |  |  Branch (101:13): [True: 40, False: 0]
  |  |  ------------------
  |  |  102|     40|            FT_ATOMIC_STORE_UINT8(interp->rare_events.name, val + 1); \
  |  |  ------------------
  |  |  |  |  157|     40|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  103|     40|        } \
  |  |  104|     40|        RARE_EVENT_STAT_INC(name); \
  |  |  ------------------
  |  |  |  |   89|     40|#define RARE_EVENT_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |  105|     40|    } while (0); \
  |  |  ------------------
  |  |  |  Branch (105:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
   76|     40|            break;
   77|  8.02k|        default:
  ------------------
  |  Branch (77:9): [True: 8.02k, False: 40]
  ------------------
   78|  8.02k|            break;
   79|  8.06k|    }
   80|  8.06k|}
funcobject.c:get_cache_item:
  313|  83.0k|{
  314|  83.0k|    return interp->func_state.func_version_cache +
  315|  83.0k|           (version % FUNC_VERSION_CACHE_SIZE);
  ------------------
  |  |  509|  83.0k|#define FUNC_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
  316|  83.0k|}
funcobject.c:func_clear_version:
  337|  2.74k|{
  338|  2.74k|    if (func->func_version < FUNC_VERSION_FIRST_VALID) {
  ------------------
  |  |   20|  2.74k|#define FUNC_VERSION_FIRST_VALID 2
  ------------------
  |  Branch (338:9): [True: 175, False: 2.57k]
  ------------------
  339|       |        // Version was never set or has already been cleared.
  340|    175|        return;
  341|    175|    }
  342|  2.57k|#ifndef Py_GIL_DISABLED
  343|  2.57k|    struct _func_version_cache_item *slot =
  344|  2.57k|        get_cache_item(interp, func->func_version);
  345|  2.57k|    if (slot->func == func) {
  ------------------
  |  Branch (345:9): [True: 2.31k, False: 252]
  ------------------
  346|  2.31k|        slot->func = NULL;
  347|       |        // Leave slot->code alone, there may be use for it.
  348|  2.31k|    }
  349|  2.57k|#endif
  350|  2.57k|    func->func_version = FUNC_VERSION_CLEARED;
  ------------------
  |  |   19|  2.57k|#define FUNC_VERSION_CLEARED 1
  ------------------
  351|  2.57k|}
funcobject.c:func_dealloc:
 1232|  2.70k|{
 1233|  2.70k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  2.70k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  2.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1233:28): [True: 2.70k, False: 0]
  ------------------
 1234|      0|    _PyObject_ResurrectStart(self);
 1235|  2.70k|    handle_func_event(PyFunction_EVENT_DESTROY, op, NULL);
 1236|  2.70k|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (1236:9): [True: 0, False: 2.70k]
  ------------------
 1237|      0|        return;
 1238|      0|    }
 1239|  2.70k|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  504|  2.70k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1240|  2.70k|    FT_CLEAR_WEAKREFS(self, op->func_weakreflist);
  ------------------
  |  |   47|  2.70k|    do {                                            \
  |  |   48|  2.70k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  2.70k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 2.70k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  2.70k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 2.70k]
  |  |  ------------------
  ------------------
  |  Branch (1240:5): [True: 2.70k, False: 0]
  ------------------
 1241|  2.70k|    (void)func_clear((PyObject*)op);
 1242|       |    // These aren't cleared by func_clear().
 1243|  2.70k|    _Py_DECREF_CODE((PyCodeObject *)op->func_code);
  ------------------
  |  |  307|  2.70k|#  define _Py_DECREF_CODE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  2.70k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1244|  2.70k|    Py_DECREF(op->func_name);
  ------------------
  |  |  430|  2.70k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1245|  2.70k|    Py_DECREF(op->func_qualname);
  ------------------
  |  |  430|  2.70k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1246|  2.70k|    PyObject_GC_Del(op);
 1247|  2.70k|}
funcobject.c:func_traverse:
 1259|  39.5k|{
 1260|  39.5k|    PyFunctionObject *f = _PyFunction_CAST(self);
  ------------------
  |  |   86|  39.5k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  39.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1260:27): [True: 39.5k, False: 0]
  ------------------
 1261|  39.5k|    Py_VISIT(f->func_code);
  ------------------
  |  |  194|  39.5k|    do {                                                                \
  |  |  195|  39.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 39.5k, False: 0]
  |  |  ------------------
  |  |  196|  39.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  39.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  39.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 39.5k]
  |  |  ------------------
  |  |  198|  39.5k|                return vret;                                            \
  |  |  199|  39.5k|        }                                                               \
  |  |  200|  39.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 39.5k]
  |  |  ------------------
  ------------------
 1262|  39.5k|    Py_VISIT(f->func_globals);
  ------------------
  |  |  194|  39.5k|    do {                                                                \
  |  |  195|  39.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 39.5k, False: 0]
  |  |  ------------------
  |  |  196|  39.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  39.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  39.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 39.5k]
  |  |  ------------------
  |  |  198|  39.5k|                return vret;                                            \
  |  |  199|  39.5k|        }                                                               \
  |  |  200|  39.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 39.5k]
  |  |  ------------------
  ------------------
 1263|  39.5k|    Py_VISIT(f->func_builtins);
  ------------------
  |  |  194|  39.5k|    do {                                                                \
  |  |  195|  39.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 39.5k, False: 0]
  |  |  ------------------
  |  |  196|  39.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  39.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  39.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 39.5k]
  |  |  ------------------
  |  |  198|  39.5k|                return vret;                                            \
  |  |  199|  39.5k|        }                                                               \
  |  |  200|  39.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 39.5k]
  |  |  ------------------
  ------------------
 1264|  39.5k|    Py_VISIT(f->func_module);
  ------------------
  |  |  194|  39.5k|    do {                                                                \
  |  |  195|  39.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 39.5k, False: 4]
  |  |  ------------------
  |  |  196|  39.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  39.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  39.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 39.5k]
  |  |  ------------------
  |  |  198|  39.5k|                return vret;                                            \
  |  |  199|  39.5k|        }                                                               \
  |  |  200|  39.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 39.5k]
  |  |  ------------------
  ------------------
 1265|  39.5k|    Py_VISIT(f->func_defaults);
  ------------------
  |  |  194|  39.5k|    do {                                                                \
  |  |  195|  39.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 12.2k, False: 27.2k]
  |  |  ------------------
  |  |  196|  12.2k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  12.2k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 12.2k]
  |  |  ------------------
  |  |  198|  12.2k|                return vret;                                            \
  |  |  199|  12.2k|        }                                                               \
  |  |  200|  39.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 39.5k]
  |  |  ------------------
  ------------------
 1266|  39.5k|    Py_VISIT(f->func_kwdefaults);
  ------------------
  |  |  194|  39.5k|    do {                                                                \
  |  |  195|  39.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 792, False: 38.7k]
  |  |  ------------------
  |  |  196|    792|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    792|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    792|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    792|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 792]
  |  |  ------------------
  |  |  198|    792|                return vret;                                            \
  |  |  199|    792|        }                                                               \
  |  |  200|  39.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 39.5k]
  |  |  ------------------
  ------------------
 1267|  39.5k|    Py_VISIT(f->func_doc);
  ------------------
  |  |  194|  39.5k|    do {                                                                \
  |  |  195|  39.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 39.5k, False: 0]
  |  |  ------------------
  |  |  196|  39.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  39.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  39.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 39.5k]
  |  |  ------------------
  |  |  198|  39.5k|                return vret;                                            \
  |  |  199|  39.5k|        }                                                               \
  |  |  200|  39.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 39.5k]
  |  |  ------------------
  ------------------
 1268|  39.5k|    Py_VISIT(f->func_name);
  ------------------
  |  |  194|  39.5k|    do {                                                                \
  |  |  195|  39.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 39.5k, False: 0]
  |  |  ------------------
  |  |  196|  39.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  39.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  39.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 39.5k]
  |  |  ------------------
  |  |  198|  39.5k|                return vret;                                            \
  |  |  199|  39.5k|        }                                                               \
  |  |  200|  39.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 39.5k]
  |  |  ------------------
  ------------------
 1269|  39.5k|    Py_VISIT(f->func_dict);
  ------------------
  |  |  194|  39.5k|    do {                                                                \
  |  |  195|  39.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.75k, False: 37.8k]
  |  |  ------------------
  |  |  196|  1.75k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.75k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.75k]
  |  |  ------------------
  |  |  198|  1.75k|                return vret;                                            \
  |  |  199|  1.75k|        }                                                               \
  |  |  200|  39.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 39.5k]
  |  |  ------------------
  ------------------
 1270|  39.5k|    Py_VISIT(f->func_closure);
  ------------------
  |  |  194|  39.5k|    do {                                                                \
  |  |  195|  39.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 5.10k, False: 34.4k]
  |  |  ------------------
  |  |  196|  5.10k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  5.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  5.10k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 5.10k]
  |  |  ------------------
  |  |  198|  5.10k|                return vret;                                            \
  |  |  199|  5.10k|        }                                                               \
  |  |  200|  39.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 39.5k]
  |  |  ------------------
  ------------------
 1271|  39.5k|    Py_VISIT(f->func_annotations);
  ------------------
  |  |  194|  39.5k|    do {                                                                \
  |  |  195|  39.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 39.5k]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|  39.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 39.5k]
  |  |  ------------------
  ------------------
 1272|  39.5k|    Py_VISIT(f->func_annotate);
  ------------------
  |  |  194|  39.5k|    do {                                                                \
  |  |  195|  39.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 124, False: 39.4k]
  |  |  ------------------
  |  |  196|    124|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    124|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 124]
  |  |  ------------------
  |  |  198|    124|                return vret;                                            \
  |  |  199|    124|        }                                                               \
  |  |  200|  39.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 39.5k]
  |  |  ------------------
  ------------------
 1273|  39.5k|    Py_VISIT(f->func_typeparams);
  ------------------
  |  |  194|  39.5k|    do {                                                                \
  |  |  195|  39.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 39.5k]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|  39.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 39.5k]
  |  |  ------------------
  ------------------
 1274|  39.5k|    Py_VISIT(f->func_qualname);
  ------------------
  |  |  194|  39.5k|    do {                                                                \
  |  |  195|  39.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 39.5k, False: 0]
  |  |  ------------------
  |  |  196|  39.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  39.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  39.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 39.5k]
  |  |  ------------------
  |  |  198|  39.5k|                return vret;                                            \
  |  |  199|  39.5k|        }                                                               \
  |  |  200|  39.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 39.5k]
  |  |  ------------------
  ------------------
 1275|  39.5k|    return 0;
 1276|  39.5k|}
funcobject.c:func_clear:
 1198|  2.74k|{
 1199|  2.74k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  2.74k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  2.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1199:28): [True: 2.74k, False: 0]
  ------------------
 1200|      0|    func_clear_version(_PyInterpreterState_GET(), op);
 1201|  2.74k|    PyObject *globals = op->func_globals;
 1202|  2.74k|    op->func_globals = NULL;
 1203|  2.74k|    if (globals != NULL) {
  ------------------
  |  Branch (1203:9): [True: 2.70k, False: 41]
  ------------------
 1204|  2.70k|        _Py_DECREF_DICT(globals);
  ------------------
  |  |  406|  2.70k|#  define _Py_DECREF_DICT Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  2.70k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1205|  2.70k|    }
 1206|  2.74k|    PyObject *builtins = op->func_builtins;
 1207|  2.74k|    op->func_builtins = NULL;
 1208|  2.74k|    if (builtins != NULL) {
  ------------------
  |  Branch (1208:9): [True: 2.70k, False: 41]
  ------------------
 1209|  2.70k|        _Py_DECREF_BUILTINS(builtins);
  ------------------
  |  |  408|  2.70k|#  define _Py_DECREF_BUILTINS Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  2.70k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1210|  2.70k|    }
 1211|  2.74k|    Py_CLEAR(op->func_module);
  ------------------
  |  |  487|  2.74k|    do { \
  |  |  488|  2.74k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.74k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.74k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.74k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2.69k, False: 55]
  |  |  ------------------
  |  |  491|  2.69k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.69k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  2.69k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  2.69k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  2.69k|        } \
  |  |  494|  2.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.74k]
  |  |  ------------------
  ------------------
 1212|  2.74k|    Py_CLEAR(op->func_defaults);
  ------------------
  |  |  487|  2.74k|    do { \
  |  |  488|  2.74k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.74k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.74k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.74k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 391, False: 2.35k]
  |  |  ------------------
  |  |  491|    391|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    391|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    391|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    391|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    391|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    391|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    391|        } \
  |  |  494|  2.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.74k]
  |  |  ------------------
  ------------------
 1213|  2.74k|    Py_CLEAR(op->func_kwdefaults);
  ------------------
  |  |  487|  2.74k|    do { \
  |  |  488|  2.74k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.74k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.74k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.74k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 2.74k]
  |  |  ------------------
  |  |  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.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.74k]
  |  |  ------------------
  ------------------
 1214|  2.74k|    Py_CLEAR(op->func_doc);
  ------------------
  |  |  487|  2.74k|    do { \
  |  |  488|  2.74k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.74k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.74k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.74k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2.70k, False: 41]
  |  |  ------------------
  |  |  491|  2.70k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.70k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  2.70k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  2.70k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  2.70k|        } \
  |  |  494|  2.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.74k]
  |  |  ------------------
  ------------------
 1215|  2.74k|    Py_CLEAR(op->func_dict);
  ------------------
  |  |  487|  2.74k|    do { \
  |  |  488|  2.74k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.74k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.74k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.74k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 2.74k]
  |  |  ------------------
  |  |  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.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.74k]
  |  |  ------------------
  ------------------
 1216|  2.74k|    Py_CLEAR(op->func_closure);
  ------------------
  |  |  487|  2.74k|    do { \
  |  |  488|  2.74k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.74k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.74k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.74k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 822, False: 1.92k]
  |  |  ------------------
  |  |  491|    822|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    822|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    822|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    822|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    822|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    822|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    822|        } \
  |  |  494|  2.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.74k]
  |  |  ------------------
  ------------------
 1217|  2.74k|    Py_CLEAR(op->func_annotations);
  ------------------
  |  |  487|  2.74k|    do { \
  |  |  488|  2.74k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.74k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.74k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.74k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 2.74k]
  |  |  ------------------
  |  |  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.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.74k]
  |  |  ------------------
  ------------------
 1218|  2.74k|    Py_CLEAR(op->func_annotate);
  ------------------
  |  |  487|  2.74k|    do { \
  |  |  488|  2.74k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.74k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.74k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.74k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 2.74k]
  |  |  ------------------
  |  |  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.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.74k]
  |  |  ------------------
  ------------------
 1219|  2.74k|    Py_CLEAR(op->func_typeparams);
  ------------------
  |  |  487|  2.74k|    do { \
  |  |  488|  2.74k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.74k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.74k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.74k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 2.74k]
  |  |  ------------------
  |  |  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.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.74k]
  |  |  ------------------
  ------------------
 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|  2.74k|    Py_SETREF(op->func_name, &_Py_STR(empty));
  ------------------
  |  |  545|  2.74k|    do { \
  |  |  546|  2.74k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|  2.74k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|  2.74k|        *_tmp_dst_ptr = (src); \
  |  |  549|  2.74k|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|  2.74k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|  2.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 2.74k]
  |  |  ------------------
  ------------------
 1226|  2.74k|    Py_SETREF(op->func_qualname, &_Py_STR(empty));
  ------------------
  |  |  545|  2.74k|    do { \
  |  |  546|  2.74k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|  2.74k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|  2.74k|        *_tmp_dst_ptr = (src); \
  |  |  549|  2.74k|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|  2.74k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|  2.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 2.74k]
  |  |  ------------------
  ------------------
 1227|  2.74k|    return 0;
 1228|  2.74k|}
funcobject.c:func_get_code:
  682|      4|{
  683|      4|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|      4|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (683:28): [True: 4, False: 0]
  ------------------
  684|      4|    if (PySys_Audit("object.__getattr__", "Os", op, "__code__") < 0) {
  ------------------
  |  Branch (684:9): [True: 0, False: 4]
  ------------------
  685|      0|        return NULL;
  686|      0|    }
  687|       |
  688|      4|    return Py_NewRef(op->func_code);
  ------------------
  |  |  647|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  689|      4|}
funcobject.c:function___annotate___get_impl:
  946|      5|{
  947|      5|    if (self->func_annotate == NULL) {
  ------------------
  |  Branch (947:9): [True: 5, False: 0]
  ------------------
  948|      5|        Py_RETURN_NONE;
  ------------------
  |  |  628|      5|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      5|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  949|      5|    }
  950|      0|    return Py_NewRef(self->func_annotate);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  951|      5|}
funcobject.c:function___annotate___set_impl:
  962|      3|{
  963|      3|    if (Py_IsNone(value)) {
  ------------------
  |  |  621|      3|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|      3|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  964|      3|        _PyObject_XSetRefDelayed(&self->func_annotate, Py_NewRef(value));
  ------------------
  |  |  647|      3|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|      3|        return 0;
  966|      3|    }
  967|      0|    else if (PyCallable_Check(value)) {
  ------------------
  |  Branch (967:14): [True: 0, False: 0]
  ------------------
  968|      0|        func_set_annotations_and_annotate(self, NULL, Py_NewRef(value));
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  969|      0|        return 0;
  970|      0|    }
  971|      0|    else {
  972|      0|        PyErr_SetString(PyExc_TypeError,
  973|      0|            "__annotate__ must be callable or None");
  974|      0|        return -1;
  975|      0|    }
  976|      3|}
funcobject.c:func_get_doc:
  798|    223|{
  799|    223|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    223|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    223|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (799:28): [True: 223, False: 0]
  ------------------
  800|    223|    PyObject *doc = FT_ATOMIC_LOAD_PTR_ACQUIRE(op->func_doc);
  ------------------
  |  |  152|    223|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  801|    223|    if (doc == NULL) {
  ------------------
  |  Branch (801:9): [True: 0, False: 223]
  ------------------
  802|      0|        doc = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  803|      0|    }
  804|    223|    return Py_NewRef(doc);
  ------------------
  |  |  647|    223|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    223|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    223|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  805|    223|}
funcobject.c:func_set_doc:
  809|     33|{
  810|       |    /* Legal to del f.__doc__ or to set it to any object. */
  811|     33|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|     33|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (811:28): [True: 33, False: 0]
  ------------------
  812|     33|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     33|    {
  ------------------
  813|     33|    _PyObject_XSetRefDelayed(&op->func_doc, Py_XNewRef(value));
  ------------------
  |  |  648|     33|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  814|     33|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     33|    }
  ------------------
  815|     33|    return 0;
  816|     33|}
funcobject.c:func_get_module:
  820|    180|{
  821|    180|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    180|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (821:28): [True: 180, False: 0]
  ------------------
  822|    180|    PyObject *module = FT_ATOMIC_LOAD_PTR_ACQUIRE(op->func_module);
  ------------------
  |  |  152|    180|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  823|    180|    if (module == NULL) {
  ------------------
  |  Branch (823:9): [True: 0, False: 180]
  ------------------
  824|      0|        module = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  825|      0|    }
  826|    180|    return Py_NewRef(module);
  ------------------
  |  |  647|    180|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    180|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  827|    180|}
funcobject.c:func_set_module:
  831|     26|{
  832|       |    /* Legal to del f.__module__ or to set it to any object. */
  833|     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 (833:28): [True: 26, False: 0]
  ------------------
  834|     26|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     26|    {
  ------------------
  835|     26|    _PyObject_XSetRefDelayed(&op->func_module, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  836|     26|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     26|    }
  ------------------
  837|     26|    return 0;
  838|     26|}
funcobject.c:func_get_name:
  747|    198|{
  748|    198|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    198|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (748:28): [True: 198, False: 0]
  ------------------
  749|    198|    PyObject *name = FT_ATOMIC_LOAD_PTR_ACQUIRE(op->func_name);
  ------------------
  |  |  152|    198|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  750|    198|    return Py_NewRef(name);
  ------------------
  |  |  647|    198|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  751|    198|}
funcobject.c:func_set_name:
  755|     25|{
  756|     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 (756:28): [True: 25, False: 0]
  ------------------
  757|       |    /* Not legal to del f.func_name or to set it to anything
  758|       |     * other than a string object. */
  759|     25|    if (value == NULL || !PyUnicode_Check(value)) {
  ------------------
  |  |  103|     25|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     25|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (759:9): [True: 0, False: 25]
  |  Branch (759:26): [True: 0, False: 25]
  ------------------
  760|      0|        PyErr_SetString(PyExc_TypeError,
  761|      0|                        "__name__ must be set to a string object");
  762|      0|        return -1;
  763|      0|    }
  764|     25|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     25|    {
  ------------------
  765|     25|    _PyObject_XSetRefDelayed(&op->func_name, Py_NewRef(value));
  ------------------
  |  |  647|     25|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  766|     25|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     25|    }
  ------------------
  767|     25|    return 0;
  768|     25|}
funcobject.c:func_get_qualname:
  772|    180|{
  773|    180|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    180|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (773:28): [True: 180, False: 0]
  ------------------
  774|    180|    PyObject *qualname = FT_ATOMIC_LOAD_PTR_ACQUIRE(op->func_qualname);
  ------------------
  |  |  152|    180|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  775|    180|    return Py_NewRef(qualname);
  ------------------
  |  |  647|    180|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    180|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|    180|}
funcobject.c:func_set_qualname:
  780|     40|{
  781|     40|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|     40|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (781:28): [True: 40, False: 0]
  ------------------
  782|       |    /* Not legal to del f.__qualname__ or to set it to anything
  783|       |     * other than a string object. */
  784|     40|    if (value == NULL || !PyUnicode_Check(value)) {
  ------------------
  |  |  103|     40|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     40|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (784:9): [True: 0, False: 40]
  |  Branch (784:26): [True: 0, False: 40]
  ------------------
  785|      0|        PyErr_SetString(PyExc_TypeError,
  786|      0|                        "__qualname__ must be set to a string object");
  787|      0|        return -1;
  788|      0|    }
  789|     40|    handle_func_event(PyFunction_EVENT_MODIFY_QUALNAME, (PyFunctionObject *) op, value);
  790|     40|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     40|    {
  ------------------
  791|     40|    _PyObject_XSetRefDelayed(&op->func_qualname, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  792|     40|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     40|    }
  ------------------
  793|     40|    return 0;
  794|     40|}
funcobject.c:function___type_params___get_impl:
 1038|      5|{
 1039|      5|    if (self->func_typeparams == NULL) {
  ------------------
  |  Branch (1039:9): [True: 5, False: 0]
  ------------------
 1040|      5|        return PyTuple_New(0);
 1041|      5|    }
 1042|       |
 1043|      5|    assert(PyTuple_Check(self->func_typeparams));
  ------------------
  |  Branch (1043:5): [True: 0, False: 0]
  ------------------
 1044|      0|    return Py_NewRef(self->func_typeparams);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1045|      0|}
funcobject.c:function___type_params___set_impl:
 1057|      3|{
 1058|      3|    Py_XSETREF(self->func_typeparams, Py_NewRef(value));
  ------------------
  |  |  576|      3|    do { \
  |  |  577|      3|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|      3|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|      3|        *_tmp_dst_ptr = (src); \
  |  |  580|      3|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1059|      3|    return 0;
 1060|      3|}
funcobject.c:func_descr_get:
 1281|    789|{
 1282|    789|    if (obj == Py_None || obj == NULL) {
  ------------------
  |  |  616|  1.57k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1282:9): [True: 0, False: 789]
  |  Branch (1282:27): [True: 221, False: 568]
  ------------------
 1283|    221|        return Py_NewRef(func);
  ------------------
  |  |  647|    221|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    221|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    221|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1284|    221|    }
 1285|    568|    return PyMethod_New(func, obj);
 1286|    789|}
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|  1.40k|{
 1531|  1.40k|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1515|  1.40k|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1516|  1.40k|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1531:23): [True: 1.40k, False: 0]
  ------------------
 1532|  1.40k|    Py_VISIT(cm->cm_callable);
  ------------------
  |  |  194|  1.40k|    do {                                                                \
  |  |  195|  1.40k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.40k, False: 0]
  |  |  ------------------
  |  |  196|  1.40k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.40k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.40k]
  |  |  ------------------
  |  |  198|  1.40k|                return vret;                                            \
  |  |  199|  1.40k|        }                                                               \
  |  |  200|  1.40k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.40k]
  |  |  ------------------
  ------------------
 1533|  1.40k|    Py_VISIT(cm->cm_dict);
  ------------------
  |  |  194|  1.40k|    do {                                                                \
  |  |  195|  1.40k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.40k, False: 0]
  |  |  ------------------
  |  |  196|  1.40k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.40k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.40k]
  |  |  ------------------
  |  |  198|  1.40k|                return vret;                                            \
  |  |  199|  1.40k|        }                                                               \
  |  |  200|  1.40k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.40k]
  |  |  ------------------
  ------------------
 1534|  1.40k|    return 0;
 1535|  1.40k|}
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.02k|{
 1550|  2.02k|    classmethod *cm = (classmethod *)self;
 1551|  2.02k|    if (type == NULL)
  ------------------
  |  Branch (1551:9): [True: 0, False: 2.02k]
  ------------------
 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.02k|    return PyMethod_New(cm->cm_callable, type);
 1554|  2.02k|}
funcobject.c:cm_init:
 1594|    112|{
 1595|    112|    if (!_PyArg_NoKeywords("classmethod", kwds)) {
  ------------------
  |  |   32|    112|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 112, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1596|      0|        return -1;
 1597|      0|    }
 1598|    112|    PyObject *callable;  // borrowed ref
 1599|    112|    if (!PyArg_UnpackTuple(args, "classmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1599:9): [True: 0, False: 112]
  ------------------
 1600|      0|        return -1;
 1601|      0|    }
 1602|       |
 1603|    112|    classmethod *cm = (classmethod *)self;
 1604|    112|    return cm_set_callable(cm, callable);
 1605|    112|}
funcobject.c:cm_new:
 1571|    112|{
 1572|    112|    if (!_PyArg_NoKeywords("classmethod", kwds)) {
  ------------------
  |  |   32|    112|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 112, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1573|      0|        return NULL;
 1574|      0|    }
 1575|    112|    PyObject *callable;  // borrowed ref
 1576|    112|    if (!PyArg_UnpackTuple(args, "classmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1576:9): [True: 0, False: 112]
  ------------------
 1577|      0|        return NULL;
 1578|      0|    }
 1579|       |
 1580|    112|    classmethod *cm = (classmethod *)PyType_GenericAlloc(type, 0);
 1581|    112|    if (cm == NULL) {
  ------------------
  |  Branch (1581:9): [True: 0, False: 112]
  ------------------
 1582|      0|        return NULL;
 1583|      0|    }
 1584|    112|    _PyObject_SetDeferredRefcount((PyObject *)cm);
 1585|    112|    if (cm_set_callable(cm, callable) < 0) {
  ------------------
  |  Branch (1585:9): [True: 0, False: 112]
  ------------------
 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|    112|    return (PyObject *)cm;
 1590|    112|}
funcobject.c:cm_set_callable:
 1558|    224|{
 1559|    224|    assert(callable != NULL);
  ------------------
  |  Branch (1559:5): [True: 224, False: 0]
  ------------------
 1560|    224|    if (cm->cm_callable == callable) {
  ------------------
  |  Branch (1560:9): [True: 112, False: 112]
  ------------------
 1561|       |        // cm_init() sets the same callable than cm_new()
 1562|    112|        return 0;
 1563|    112|    }
 1564|       |
 1565|    112|    Py_XSETREF(cm->cm_callable, Py_NewRef(callable));
  ------------------
  |  |  576|    112|    do { \
  |  |  577|    112|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    112|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    112|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    112|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    112|        *_tmp_dst_ptr = (src); \
  |  |  580|    112|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    112|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    112|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 112]
  |  |  ------------------
  ------------------
 1566|    112|    return functools_wraps((PyObject *)cm, cm->cm_callable);
 1567|    224|}
funcobject.c:functools_wraps:
 1405|    164|{
 1406|    164|#define COPY_ATTR(ATTR) \
 1407|    164|    do { \
 1408|    164|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
 1409|    164|            return -1; \
 1410|    164|        } \
 1411|    164|    } while (0) \
 1412|    164|
 1413|    164|    COPY_ATTR(__module__);
  ------------------
  |  | 1407|    164|    do { \
  |  | 1408|    164|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  951|    164|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    164|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    164|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1408:13): [True: 0, False: 164]
  |  |  ------------------
  |  | 1409|      0|            return -1; \
  |  | 1410|      0|        } \
  |  | 1411|    164|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1411:14): [Folded, False: 164]
  |  |  ------------------
  ------------------
 1414|    164|    COPY_ATTR(__name__);
  ------------------
  |  | 1407|    164|    do { \
  |  | 1408|    164|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  951|    164|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    164|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    164|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1408:13): [True: 0, False: 164]
  |  |  ------------------
  |  | 1409|      0|            return -1; \
  |  | 1410|      0|        } \
  |  | 1411|    164|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1411:14): [Folded, False: 164]
  |  |  ------------------
  ------------------
 1415|    164|    COPY_ATTR(__qualname__);
  ------------------
  |  | 1407|    164|    do { \
  |  | 1408|    164|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  951|    164|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    164|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    164|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1408:13): [True: 0, False: 164]
  |  |  ------------------
  |  | 1409|      0|            return -1; \
  |  | 1410|      0|        } \
  |  | 1411|    164|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1411:14): [Folded, False: 164]
  |  |  ------------------
  ------------------
 1416|    164|    COPY_ATTR(__doc__);
  ------------------
  |  | 1407|    164|    do { \
  |  | 1408|    164|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  951|    164|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    164|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    164|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1408:13): [True: 0, False: 164]
  |  |  ------------------
  |  | 1409|      0|            return -1; \
  |  | 1410|      0|        } \
  |  | 1411|    164|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1411:14): [Folded, False: 164]
  |  |  ------------------
  ------------------
 1417|    164|    return 0;
 1418|       |
 1419|    164|#undef COPY_ATTR
 1420|    164|}
funcobject.c:functools_copy_attr:
 1392|    656|{
 1393|    656|    PyObject *value;
 1394|    656|    int res = PyObject_GetOptionalAttr(wrapped, name, &value);
 1395|    656|    if (value != NULL) {
  ------------------
  |  Branch (1395:9): [True: 656, False: 0]
  ------------------
 1396|    656|        res = PyObject_SetAttr(wrapper, name, value);
 1397|    656|        Py_DECREF(value);
  ------------------
  |  |  430|    656|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    656|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    656|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1398|    656|    }
 1399|    656|    return res;
 1400|    656|}
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|    664|{
 1796|    664|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1780|    664|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1781|    664|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|    664|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1796:24): [True: 664, False: 0]
  ------------------
 1797|    664|    Py_VISIT(sm->sm_callable);
  ------------------
  |  |  194|    664|    do {                                                                \
  |  |  195|    664|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 664, False: 0]
  |  |  ------------------
  |  |  196|    664|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    664|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    664|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    664|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 664]
  |  |  ------------------
  |  |  198|    664|                return vret;                                            \
  |  |  199|    664|        }                                                               \
  |  |  200|    664|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 664]
  |  |  ------------------
  ------------------
 1798|    664|    Py_VISIT(sm->sm_dict);
  ------------------
  |  |  194|    664|    do {                                                                \
  |  |  195|    664|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 664, False: 0]
  |  |  ------------------
  |  |  196|    664|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    664|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    664|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    664|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 664]
  |  |  ------------------
  |  |  198|    664|                return vret;                                            \
  |  |  199|    664|        }                                                               \
  |  |  200|    664|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 664]
  |  |  ------------------
  ------------------
 1799|    664|    return 0;
 1800|    664|}
funcobject.c:sm_descr_get:
 1813|    413|{
 1814|    413|    staticmethod *sm = (staticmethod *)self;
 1815|    413|    return Py_NewRef(sm->sm_callable);
  ------------------
  |  |  647|    413|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    413|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    413|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1816|    413|}
funcobject.c:sm_init:
 1856|     25|{
 1857|     25|    if (!_PyArg_NoKeywords("staticmethod", kwds)) {
  ------------------
  |  |   32|     25|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 25, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1858|      0|        return -1;
 1859|      0|    }
 1860|     25|    PyObject *callable;  // borrowed ref
 1861|     25|    if (!PyArg_UnpackTuple(args, "staticmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1861:9): [True: 0, False: 25]
  ------------------
 1862|      0|        return -1;
 1863|      0|    }
 1864|       |
 1865|     25|    staticmethod *sm = (staticmethod *)self;
 1866|     25|    return sm_set_callable(sm, callable);
 1867|     25|}
funcobject.c:sm_new:
 1833|     25|{
 1834|     25|    if (!_PyArg_NoKeywords("staticmethod", kwds)) {
  ------------------
  |  |   32|     25|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (32:6): [True: 25, False: 0]
  |  |  |  Branch (32:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1835|      0|        return NULL;
 1836|      0|    }
 1837|     25|    PyObject *callable;  // borrowed ref
 1838|     25|    if (!PyArg_UnpackTuple(args, "staticmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1838:9): [True: 0, False: 25]
  ------------------
 1839|      0|        return NULL;
 1840|      0|    }
 1841|       |
 1842|     25|    staticmethod *sm = (staticmethod *)PyType_GenericAlloc(type, 0);
 1843|     25|    if (sm == NULL) {
  ------------------
  |  Branch (1843:9): [True: 0, False: 25]
  ------------------
 1844|      0|        return NULL;
 1845|      0|    }
 1846|     25|    _PyObject_SetDeferredRefcount((PyObject *)sm);
 1847|     25|    if (sm_set_callable(sm, callable) < 0) {
  ------------------
  |  Branch (1847:9): [True: 0, False: 25]
  ------------------
 1848|      0|        Py_DECREF(sm);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1849|      0|        return NULL;
 1850|      0|    }
 1851|     25|    return (PyObject *)sm;
 1852|     25|}
funcobject.c:sm_set_callable:
 1820|     77|{
 1821|     77|    assert(callable != NULL);
  ------------------
  |  Branch (1821:5): [True: 77, False: 0]
  ------------------
 1822|     77|    if (sm->sm_callable == callable) {
  ------------------
  |  Branch (1822:9): [True: 25, False: 52]
  ------------------
 1823|       |        // sm_init() sets the same callable than sm_new()
 1824|     25|        return 0;
 1825|     25|    }
 1826|       |
 1827|     52|    Py_XSETREF(sm->sm_callable, Py_NewRef(callable));
  ------------------
  |  |  576|     52|    do { \
  |  |  577|     52|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     52|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     52|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     52|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     52|        *_tmp_dst_ptr = (src); \
  |  |  580|     52|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     52|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     52|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 52]
  |  |  ------------------
  ------------------
 1828|     52|    return functools_wraps((PyObject *)sm, sm->sm_callable);
 1829|     77|}

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

_Py_MakeCoro:
 1132|    933|{
 1133|    933|    int coro_flags = ((PyCodeObject *)func->func_code)->co_flags &
 1134|    933|        (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  127|    933|#define CO_GENERATOR    0x0020
  ------------------
                      (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  131|    933|#define CO_COROUTINE            0x0080
  ------------------
                      (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  133|    933|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
 1135|    933|    assert(coro_flags);
  ------------------
  |  Branch (1135:5): [True: 933, False: 0]
  ------------------
 1136|    933|    if (coro_flags == CO_GENERATOR) {
  ------------------
  |  |  127|    933|#define CO_GENERATOR    0x0020
  ------------------
  |  Branch (1136:9): [True: 929, False: 4]
  ------------------
 1137|    929|        return make_gen(&PyGen_Type, func);
 1138|    929|    }
 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|    933|{
  210|    933|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|    933|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  211|       |
  212|    933|    _PyObject_GC_UNTRACK(gen);
  ------------------
  |  |  504|    933|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    933|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|       |
  214|    933|    FT_CLEAR_WEAKREFS(self, gen->gi_weakreflist);
  ------------------
  |  |   47|    933|    do {                                            \
  |  |   48|    933|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|    933|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 933]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|    933|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 933]
  |  |  ------------------
  ------------------
  |  Branch (214:5): [True: 933, False: 0]
  ------------------
  215|       |
  216|    933|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|    933|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    933|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  217|       |
  218|    933|    if (PyObject_CallFinalizerFromDealloc(self))
  ------------------
  |  Branch (218:9): [True: 0, False: 933]
  ------------------
  219|      0|        return;                     /* resurrected.  :( */
  220|       |
  221|    933|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|    933|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    933|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  222|    933|    if (PyAsyncGen_CheckExact(gen)) {
  ------------------
  |  |   46|    933|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type)
  |  |  ------------------
  |  |  |  |  215|    933|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    933|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 931]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|    933|    if (PyCoro_CheckExact(gen)) {
  ------------------
  |  |   31|    933|#define PyCoro_CheckExact(op) Py_IS_TYPE((op), &PyCoro_Type)
  |  |  ------------------
  |  |  |  |  215|    933|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    933|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 931]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|    933|    if (gen->gi_frame_state != FRAME_CLEARED) {
  ------------------
  |  Branch (231:9): [True: 0, False: 933]
  ------------------
  232|      0|        gen->gi_frame_state = FRAME_CLEARED;
  233|      0|        gen_clear_frame(gen);
  234|      0|    }
  235|    933|    assert(gen->gi_exc_state.exc_value == NULL);
  ------------------
  |  Branch (235:5): [True: 933, False: 0]
  ------------------
  236|    933|    PyStackRef_CLEAR(gen->gi_iframe.f_executable);
  ------------------
  |  |  732|    933|    do { \
  |  |  733|    933|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|    933|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|    933|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|    933|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|    933|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 933]
  |  |  ------------------
  ------------------
  237|    933|    Py_CLEAR(gen->gi_name);
  ------------------
  |  |  487|    933|    do { \
  |  |  488|    933|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    933|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    933|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    933|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    933|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    933|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 933, False: 0]
  |  |  ------------------
  |  |  491|    933|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    933|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    933|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    933|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    933|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    933|        } \
  |  |  494|    933|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 933]
  |  |  ------------------
  ------------------
  238|    933|    Py_CLEAR(gen->gi_qualname);
  ------------------
  |  |  487|    933|    do { \
  |  |  488|    933|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    933|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    933|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    933|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    933|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    933|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 933, False: 0]
  |  |  ------------------
  |  |  491|    933|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    933|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    933|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    933|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    933|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    933|        } \
  |  |  494|    933|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 933]
  |  |  ------------------
  ------------------
  239|       |
  240|    933|    PyObject_GC_Del(gen);
  241|    933|}
genobject.c:gen_send_ex:
  333|  62.5k|{
  334|  62.5k|    *presult = NULL;
  335|  62.5k|    int8_t frame_state = FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state);
  ------------------
  |  |  158|  62.5k|#define FT_ATOMIC_LOAD_INT8_RELAXED(value) value
  ------------------
  336|  62.5k|    do {
  337|  62.5k|        if (frame_state == FRAME_CREATED && arg && arg != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (337:13): [True: 796, False: 61.7k]
  |  Branch (337:45): [True: 0, False: 796]
  |  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|  62.5k|        if (frame_state == FRAME_EXECUTING) {
  ------------------
  |  Branch (350:13): [True: 0, False: 62.5k]
  ------------------
  351|      0|            gen_raise_already_executing_error(gen);
  352|      0|            return PYGEN_ERROR;
  353|      0|        }
  354|  62.5k|        if (FRAME_STATE_FINISHED(frame_state)) {
  ------------------
  |  |   58|  62.5k|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (58:33): [True: 0, False: 62.5k]
  |  |  ------------------
  ------------------
  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|  62.5k|        assert((frame_state == FRAME_CREATED) ||
  ------------------
  |  Branch (372:9): [True: 61.7k, False: 0]
  |  Branch (372:9): [True: 61.7k, False: 0]
  |  Branch (372:9): [True: 796, False: 61.7k]
  ------------------
  373|  62.5k|               FRAME_STATE_SUSPENDED(frame_state));
  374|  62.5k|    } while (!_Py_GEN_TRY_SET_FRAME_STATE(gen, frame_state, FRAME_EXECUTING));
  ------------------
  |  |   57|  62.5k|    ((gen)->gi_frame_state = (state), true)
  ------------------
  |  Branch (374:14): [True: 0, False: 62.5k]
  ------------------
  375|       |
  376|  62.5k|    return gen_send_ex2(gen, arg, presult, 0);
  377|  62.5k|}
genobject.c:gen_send_ex2:
  263|  62.5k|{
  264|  62.5k|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_EXECUTING);
  ------------------
  |  Branch (264:5): [True: 62.5k, False: 0]
  ------------------
  265|       |
  266|  62.5k|    PyThreadState *tstate = _PyThreadState_GET();
  267|  62.5k|    _PyInterpreterFrame *frame = &gen->gi_iframe;
  268|       |
  269|       |    /* Push arg onto the frame's value stack */
  270|  62.5k|    PyObject *arg_obj = arg ? arg : Py_None;
  ------------------
  |  |  616|  62.5k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (270:25): [True: 0, False: 62.5k]
  ------------------
  271|  62.5k|    _PyFrame_StackPush(frame, PyStackRef_FromPyObjectNew(arg_obj));
  ------------------
  |  |  611|  62.5k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  62.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  272|       |
  273|  62.5k|    _PyErr_StackItem *prev_exc_info = tstate->exc_info;
  274|  62.5k|    gen->gi_exc_state.previous_item = prev_exc_info;
  275|  62.5k|    tstate->exc_info = &gen->gi_exc_state;
  276|       |
  277|  62.5k|    if (exc) {
  ------------------
  |  Branch (277:9): [True: 0, False: 62.5k]
  ------------------
  278|      0|        assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (278:9): [True: 0, False: 0]
  ------------------
  279|      0|        _PyErr_ChainStackItem();
  280|      0|    }
  281|       |
  282|  62.5k|    EVAL_CALL_STAT_INC(EVAL_CALL_GENERATOR);
  ------------------
  |  |   79|  62.5k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  283|  62.5k|    PyObject *result = _PyEval_EvalFrame(tstate, frame, exc);
  284|  62.5k|    assert(tstate->exc_info == prev_exc_info);
  ------------------
  |  Branch (284:5): [True: 62.5k, False: 0]
  ------------------
  285|  62.5k|#ifndef Py_GIL_DISABLED
  286|  62.5k|    assert(gen->gi_exc_state.previous_item == NULL);
  ------------------
  |  Branch (286:5): [True: 62.5k, False: 0]
  ------------------
  287|  62.5k|    assert(frame->previous == NULL);
  ------------------
  |  Branch (287:5): [True: 62.5k, False: 0]
  ------------------
  288|  62.5k|    assert(gen->gi_frame_state != FRAME_EXECUTING);
  ------------------
  |  Branch (288:5): [True: 62.5k, False: 0]
  ------------------
  289|  62.5k|#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|  62.5k|    int return_kind = ((_PyThreadStateImpl *)tstate)->generator_return_kind;
  296|       |
  297|  62.5k|    if (return_kind == GENERATOR_YIELD) {
  ------------------
  |  Branch (297:9): [True: 61.7k, False: 787]
  ------------------
  298|  61.7k|        assert(result != NULL && !_PyErr_Occurred(tstate));
  ------------------
  |  Branch (298:9): [True: 61.7k, False: 0]
  |  Branch (298:9): [True: 61.7k, False: 0]
  ------------------
  299|  61.7k|#ifndef Py_GIL_DISABLED
  300|  61.7k|        assert(FRAME_STATE_SUSPENDED(gen->gi_frame_state));
  ------------------
  |  Branch (300:9): [True: 61.7k, False: 0]
  |  Branch (300:9): [True: 61.7k, False: 0]
  ------------------
  301|  61.7k|#endif
  302|  61.7k|        *presult = result;
  303|  61.7k|        return PYGEN_NEXT;
  304|  61.7k|    }
  305|       |
  306|  62.5k|    assert(return_kind == GENERATOR_RETURN);
  ------------------
  |  Branch (306:5): [True: 787, False: 0]
  ------------------
  307|    787|    assert(gen->gi_exc_state.exc_value == NULL);
  ------------------
  |  Branch (307:5): [True: 787, False: 0]
  ------------------
  308|    787|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_CLEARED);
  ------------------
  |  Branch (308:5): [True: 787, False: 0]
  ------------------
  309|       |
  310|       |    /* If the generator just returned (as opposed to yielding), signal
  311|       |     * that the generator is exhausted. */
  312|    787|    if (result) {
  ------------------
  |  Branch (312:9): [True: 787, False: 0]
  ------------------
  313|    787|        assert(result == Py_None || !PyAsyncGen_CheckExact(gen));
  ------------------
  |  Branch (313:9): [True: 787, False: 0]
  |  Branch (313:9): [True: 0, False: 0]
  ------------------
  314|    787|        if (result == Py_None && !PyAsyncGen_CheckExact(gen) && !arg) {
  ------------------
  |  |  616|  1.57k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (result == Py_None && !PyAsyncGen_CheckExact(gen) && !arg) {
  ------------------
  |  |   46|    787|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type)
  |  |  ------------------
  |  |  |  |  215|  1.57k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    787|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    787|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (314:13): [True: 787, False: 0]
  |  Branch (314:34): [True: 787, False: 0]
  |  Branch (314:65): [True: 787, False: 0]
  ------------------
  315|       |            /* Return NULL if called by gen_iternext() */
  316|    787|            Py_CLEAR(result);
  ------------------
  |  |  487|    787|    do { \
  |  |  488|    787|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    787|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    787|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    787|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    787|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    787|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 787, False: 0]
  |  |  ------------------
  |  |  491|    787|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    787|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    787|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    787|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    787|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    787|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    787|        } \
  |  |  494|    787|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 787]
  |  |  ------------------
  ------------------
  317|    787|        }
  318|    787|    }
  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|    787|    *presult = result;
  326|    787|    return result ? PYGEN_RETURN : PYGEN_ERROR;
  ------------------
  |  Branch (326:12): [True: 0, False: 787]
  ------------------
  327|    787|}
genobject.c:gen_traverse:
   83|      4|{
   84|      4|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|      4|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   85|      4|    Py_VISIT(gen->gi_name);
  ------------------
  |  |  194|      4|    do {                                                                \
  |  |  195|      4|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  196|      4|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      4|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4]
  |  |  ------------------
  |  |  198|      4|                return vret;                                            \
  |  |  199|      4|        }                                                               \
  |  |  200|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
   86|      4|    Py_VISIT(gen->gi_qualname);
  ------------------
  |  |  194|      4|    do {                                                                \
  |  |  195|      4|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  196|      4|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      4|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4]
  |  |  ------------------
  |  |  198|      4|                return vret;                                            \
  |  |  199|      4|        }                                                               \
  |  |  200|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
   87|      4|    if (gen->gi_frame_state != FRAME_CLEARED) {
  ------------------
  |  Branch (87:9): [True: 4, False: 0]
  ------------------
   88|      4|        _PyInterpreterFrame *frame = &gen->gi_iframe;
   89|      4|        assert(frame->frame_obj == NULL ||
  ------------------
  |  Branch (89:9): [True: 4, False: 0]
  |  Branch (89:9): [True: 0, False: 0]
  ------------------
   90|      4|               frame->frame_obj->f_frame->owner == FRAME_OWNED_BY_GENERATOR);
   91|      4|        int err = _PyFrame_Traverse(frame, visit, arg);
   92|      4|        if (err) {
  ------------------
  |  Branch (92:13): [True: 0, False: 4]
  ------------------
   93|      0|            return err;
   94|      0|        }
   95|      4|    }
   96|      0|    else {
   97|       |        // We still need to visit the code object when the frame is cleared to
   98|       |        // ensure that it's kept alive if the reference is deferred.
   99|      0|        _Py_VISIT_STACKREF(gen->gi_iframe.f_executable);
  ------------------
  |  |  863|      0|    do {                                                                \
  |  |  864|      0|        if (!PyStackRef_IsNullOrInt(ref)) {                             \
  |  |  ------------------
  |  |  |  |  498|      0|#define PyStackRef_IsNullOrInt(stackref) (PyStackRef_IsNull(stackref) || PyStackRef_IsTaggedInt(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  482|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  479|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (482:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (498:74): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  865|      0|            int vret = _PyGC_VisitStackRef(&(ref), visit, arg);         \
  |  |  866|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (866:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  867|      0|                return vret;                                            \
  |  |  868|      0|        }                                                               \
  |  |  869|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (869:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  100|      0|    }
  101|       |    /* No need to visit cr_origin, because it's just tuples/str/int, so can't
  102|       |       participate in a reference cycle. */
  103|      4|    Py_VISIT(gen->gi_exc_state.exc_value);
  ------------------
  |  |  194|      4|    do {                                                                \
  |  |  195|      4|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  104|      4|    return 0;
  105|      4|}
genobject.c:gen_iternext:
  764|  62.5k|{
  765|  62.5k|    assert(PyGen_CheckExact(self) || PyCoro_CheckExact(self));
  ------------------
  |  Branch (765:5): [True: 62.5k, False: 0]
  |  Branch (765:5): [True: 0, False: 0]
  ------------------
  766|  62.5k|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|  62.5k|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  62.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  767|       |
  768|  62.5k|    PyObject *result;
  769|  62.5k|    if (gen_send_ex(gen, NULL, &result) == PYGEN_RETURN) {
  ------------------
  |  Branch (769:9): [True: 0, False: 62.5k]
  ------------------
  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|  62.5k|    return result;
  776|  62.5k|}
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|    933|{
  110|    933|    PyGenObject *gen = (PyGenObject *)self;
  111|       |
  112|    933|    if (FRAME_STATE_FINISHED(gen->gi_frame_state)) {
  ------------------
  |  |   58|    933|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (58:33): [True: 923, False: 10]
  |  |  ------------------
  ------------------
  113|       |        /* Generator isn't paused, so no need to close */
  114|    923|        return;
  115|    923|    }
  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|    933|{
 1109|    933|    PyCodeObject *code = (PyCodeObject *)func->func_code;
 1110|    933|    int slots = _PyFrame_NumSlotsForCodeObject(code);
 1111|    933|    PyGenObject *gen = PyObject_GC_NewVar(PyGenObject, type, slots);
  ------------------
  |  |  183|    933|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1112|    933|    if (gen == NULL) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 933]
  ------------------
 1113|      0|        return NULL;
 1114|      0|    }
 1115|    933|    gen->gi_frame_state = FRAME_CLEARED;
 1116|    933|    gen->gi_weakreflist = NULL;
 1117|    933|    gen->gi_exc_state.exc_value = NULL;
 1118|    933|    gen->gi_exc_state.previous_item = NULL;
 1119|    933|    gen->gi_iframe.f_executable = PyStackRef_None;
  ------------------
  |  |  485|    933|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|    933|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1120|    933|    PyObject *name = FT_ATOMIC_LOAD_PTR_ACQUIRE(func->func_name);
  ------------------
  |  |  152|    933|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1121|    933|    assert(name != NULL);
  ------------------
  |  Branch (1121:5): [True: 933, False: 0]
  ------------------
 1122|    933|    gen->gi_name = Py_NewRef(name);
  ------------------
  |  |  647|    933|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    933|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1123|    933|    PyObject *qualname = FT_ATOMIC_LOAD_PTR_ACQUIRE(func->func_qualname);
  ------------------
  |  |  152|    933|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1124|    933|    assert(qualname != NULL);
  ------------------
  |  Branch (1124:5): [True: 933, False: 0]
  ------------------
 1125|    933|    gen->gi_qualname = Py_NewRef(qualname);
  ------------------
  |  |  647|    933|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    933|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1126|    933|    _PyObject_GC_TRACK(gen);
  ------------------
  |  |  502|    933|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    933|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    933|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1127|    933|    return (PyObject *)gen;
 1128|    933|}

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

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

PyList_New:
  263|   869k|{
  264|   869k|    if (size < 0) {
  ------------------
  |  Branch (264:9): [True: 0, False: 869k]
  ------------------
  265|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  266|      0|        return NULL;
  267|      0|    }
  268|       |
  269|   869k|    PyListObject *op = _Py_FREELIST_POP(PyListObject, lists);
  ------------------
  |  |   43|   869k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|   869k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  270|   869k|    if (op == NULL) {
  ------------------
  |  Branch (270:9): [True: 100k, False: 768k]
  ------------------
  271|   100k|        op = PyObject_GC_New(PyListObject, &PyList_Type);
  ------------------
  |  |  181|   100k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  272|   100k|        if (op == NULL) {
  ------------------
  |  Branch (272:13): [True: 0, False: 100k]
  ------------------
  273|      0|            return NULL;
  274|      0|        }
  275|   100k|    }
  276|   869k|    op->ob_item = NULL;
  277|   869k|    op->allocated = 0;
  278|   869k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|   869k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   869k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   869k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  279|       |
  280|   869k|    if (size > 0) {
  ------------------
  |  Branch (280:9): [True: 166k, False: 702k]
  ------------------
  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|   166k|        op->ob_item = (PyObject **) PyMem_Calloc(size, sizeof(PyObject *));
  291|   166k|#endif
  292|   166k|        if (op->ob_item == NULL) {
  ------------------
  |  Branch (292:13): [True: 0, False: 166k]
  ------------------
  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|   166k|    }
  297|       |
  298|   869k|    op->allocated = size;
  299|   869k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|   869k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   869k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   869k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  300|   869k|    return (PyObject *) op;
  301|   869k|}
PyList_Size:
  332|   157k|{
  333|   157k|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|   157k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   157k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (333:9): [True: 0, False: 157k]
  ------------------
  334|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  335|      0|        return -1;
  336|      0|    }
  337|   157k|    else {
  338|   157k|        return PyList_GET_SIZE(op);
  ------------------
  |  |   38|   157k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   157k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   157k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  339|   157k|    }
  340|   157k|}
PyList_GetItem:
  414|  23.8k|{
  415|  23.8k|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|  23.8k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  23.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (415:9): [True: 0, False: 23.8k]
  ------------------
  416|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  417|      0|        return NULL;
  418|      0|    }
  419|  23.8k|    if (!valid_index(i, Py_SIZE(op))) {
  ------------------
  |  |  214|  23.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  23.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (419:9): [True: 0, False: 23.8k]
  ------------------
  420|      0|        _Py_DECLARE_STR(list_err, "list index out of range");
  421|      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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  422|      0|        return NULL;
  423|      0|    }
  424|  23.8k|    return ((PyListObject *)op) -> ob_item[i];
  425|  23.8k|}
PyList_GetItemRef:
  429|    722|{
  430|    722|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|    722|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    722|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (430:9): [True: 0, False: 722]
  ------------------
  431|      0|        PyErr_SetString(PyExc_TypeError, "expected a list");
  432|      0|        return NULL;
  433|      0|    }
  434|    722|    PyObject *item = list_get_item_ref((PyListObject *)op, i);
  435|    722|    if (item == NULL) {
  ------------------
  |  Branch (435:9): [True: 0, False: 722]
  ------------------
  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|    722|    return item;
  441|    722|}
PyList_SetItem:
  478|  59.7k|{
  479|  59.7k|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|  59.7k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  59.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (479:9): [True: 0, False: 59.7k]
  ------------------
  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|  59.7k|    int ret;
  485|  59.7k|    PyListObject *self = ((PyListObject *)op);
  486|  59.7k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  59.7k|    {
  ------------------
  487|  59.7k|    if (!valid_index(i, Py_SIZE(self))) {
  ------------------
  |  |  214|  59.7k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  59.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  59.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (487:9): [True: 0, False: 59.7k]
  ------------------
  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|  59.7k|    PyObject *tmp = self->ob_item[i];
  495|  59.7k|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[i], newitem);
  ------------------
  |  |  166|  59.7k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  496|  59.7k|    Py_XDECREF(tmp);
  ------------------
  |  |  621|  59.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  59.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  59.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  497|  59.7k|    ret = 0;
  498|  59.7k|end:;
  499|  59.7k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  59.7k|    }
  ------------------
  500|  59.7k|    return ret;
  501|  59.7k|}
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|   608k|{
  584|   608k|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|   608k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   608k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   608k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  585|   608k|    assert(self->allocated == -1 || self->allocated == len);
  ------------------
  |  Branch (585:5): [True: 0, False: 608k]
  |  Branch (585:5): [True: 608k, False: 0]
  ------------------
  586|   608k|    if (list_resize(self, len + 1) < 0) {
  ------------------
  |  Branch (586:9): [True: 0, False: 608k]
  ------------------
  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|   608k|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], newitem);
  ------------------
  |  |  166|   608k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  591|   608k|    return 0;
  592|   608k|}
PyList_Append:
  596|  3.48M|{
  597|  3.48M|    if (PyList_Check(op) && (newitem != NULL)) {
  ------------------
  |  |   25|  3.48M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.97M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 3.48M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (597:29): [True: 3.48M, False: 0]
  ------------------
  598|  3.48M|        int ret;
  599|  3.48M|        Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  3.48M|    {
  ------------------
  600|  3.48M|        ret = _PyList_AppendTakeRef((PyListObject *)op, Py_NewRef(newitem));
  ------------------
  |  |  647|  3.48M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.48M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.48M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  601|  3.48M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.48M|    }
  ------------------
  602|  3.48M|        return ret;
  603|  3.48M|    }
  604|      0|    PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  605|      0|    return -1;
  606|  3.48M|}
_PyList_BinarySlice:
  775|  1.27k|{
  776|  1.27k|    assert(PyList_CheckExact(container));
  ------------------
  |  Branch (776:5): [True: 1.27k, False: 0]
  ------------------
  777|  1.27k|    Py_ssize_t istart = 0;
  778|  1.27k|    Py_ssize_t istop = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  1.27k|#   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.27k|    if (!_PyEval_SliceIndex(start, &istart)) {
  ------------------
  |  Branch (782:9): [True: 0, False: 1.27k]
  ------------------
  783|      0|        return NULL;
  784|      0|    }
  785|  1.27k|    if (!_PyEval_SliceIndex(stop, &istop)) {
  ------------------
  |  Branch (785:9): [True: 0, False: 1.27k]
  ------------------
  786|      0|        return NULL;
  787|      0|    }
  788|  1.27k|    PyObject *ret;
  789|  1.27k|    Py_BEGIN_CRITICAL_SECTION(container);
  ------------------
  |  |   51|  1.27k|    {
  ------------------
  790|  1.27k|    Py_ssize_t len = Py_SIZE(container);
  ------------------
  |  |  214|  1.27k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  791|  1.27k|    PySlice_AdjustIndices(len, &istart, &istop, 1);
  792|  1.27k|    ret = list_slice_lock_held((PyListObject *)container, istart, istop);
  793|  1.27k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.27k|    }
  ------------------
  794|  1.27k|    return ret;
  795|  1.27k|}
_PyList_Concat:
  857|     24|{
  858|     24|    if (!PyList_Check(bb)) {
  ------------------
  |  |   25|     24|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     24|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (858:9): [True: 0, False: 24]
  ------------------
  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|     24|    PyListObject *a = (PyListObject *)aa;
  865|     24|    PyListObject *b = (PyListObject *)bb;
  866|     24|    PyObject *ret;
  867|     24|    Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|     24|    {
  ------------------
  868|     24|    ret = list_concat_lock_held(a, b);
  869|     24|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|     24|    }
  ------------------
  870|     24|    return ret;
  871|     24|}
PyList_SetSlice:
 1125|   152k|{
 1126|   152k|    if (!PyList_Check(a)) {
  ------------------
  |  |   25|   152k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   152k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1126:9): [True: 0, False: 152k]
  ------------------
 1127|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1128|      0|        return -1;
 1129|      0|    }
 1130|   152k|    return list_ass_slice((PyListObject *)a, ilow, ihigh, v);
 1131|   152k|}
_PyList_Extend:
 1589|   105k|{
 1590|   105k|    return list_extend((PyObject*)self, iterable);
 1591|   105k|}
PyList_Sort:
 3287|   165k|{
 3288|   165k|    if (v == NULL || !PyList_Check(v)) {
  ------------------
  |  |   25|   165k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   165k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3288:9): [True: 0, False: 165k]
  |  Branch (3288:22): [True: 0, False: 165k]
  ------------------
 3289|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3290|      0|        return -1;
 3291|      0|    }
 3292|   165k|    Py_BEGIN_CRITICAL_SECTION(v);
  ------------------
  |  |   51|   165k|    {
  ------------------
 3293|   165k|    v = list_sort_impl((PyListObject *)v, NULL, 0);
 3294|   165k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   165k|    }
  ------------------
 3295|   165k|    if (v == NULL)
  ------------------
  |  Branch (3295:9): [True: 0, False: 165k]
  ------------------
 3296|      0|        return -1;
 3297|   165k|    Py_DECREF(v);
  ------------------
  |  |  430|   165k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   165k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   165k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3298|   165k|    return 0;
 3299|   165k|}
PyList_AsTuple:
 3336|  89.5k|{
 3337|  89.5k|    if (v == NULL || !PyList_Check(v)) {
  ------------------
  |  |   25|  89.5k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  89.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3337:9): [True: 0, False: 89.5k]
  |  Branch (3337:22): [True: 0, False: 89.5k]
  ------------------
 3338|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3339|      0|        return NULL;
 3340|      0|    }
 3341|  89.5k|    PyObject *ret;
 3342|  89.5k|    PyListObject *self = (PyListObject *)v;
 3343|  89.5k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  89.5k|    {
  ------------------
 3344|  89.5k|    ret = PyTuple_FromArray(self->ob_item, Py_SIZE(v));
  ------------------
  |  |  214|  89.5k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  89.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  89.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3345|  89.5k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  89.5k|    }
  ------------------
 3346|  89.5k|    return ret;
 3347|  89.5k|}
_PyList_AsTupleAndClear:
 3351|  1.32k|{
 3352|  1.32k|    assert(self != NULL);
  ------------------
  |  Branch (3352:5): [True: 1.32k, False: 0]
  ------------------
 3353|  1.32k|    PyObject *ret;
 3354|  1.32k|    if (self->ob_item == NULL) {
  ------------------
  |  Branch (3354:9): [True: 0, False: 1.32k]
  ------------------
 3355|      0|        return PyTuple_New(0);
 3356|      0|    }
 3357|  1.32k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  1.32k|    {
  ------------------
 3358|  1.32k|    PyObject **items = self->ob_item;
 3359|  1.32k|    Py_ssize_t size = Py_SIZE(self);
  ------------------
  |  |  214|  1.32k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3360|  1.32k|    Py_SET_SIZE(self, 0);
  ------------------
  |  |  216|  1.32k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  1.32k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3361|  1.32k|    ret = _PyTuple_FromArraySteal(items, size);
 3362|  1.32k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.32k|    }
  ------------------
 3363|  1.32k|    return ret;
 3364|  1.32k|}
_PyList_FromStackRefStealOnSuccess:
 3368|   288k|{
 3369|   288k|    if (n == 0) {
  ------------------
  |  Branch (3369:9): [True: 287k, False: 809]
  ------------------
 3370|   287k|        return PyList_New(0);
 3371|   287k|    }
 3372|       |
 3373|    809|    PyListObject *list = (PyListObject *)PyList_New(n);
 3374|    809|    if (list == NULL) {
  ------------------
  |  Branch (3374:9): [True: 0, False: 809]
  ------------------
 3375|      0|        return NULL;
 3376|      0|    }
 3377|       |
 3378|    809|    PyObject **dst = list->ob_item;
 3379|  2.08k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3379:28): [True: 1.27k, False: 809]
  ------------------
 3380|  1.27k|        dst[i] = PyStackRef_AsPyObjectSteal(src[i]);
 3381|  1.27k|    }
 3382|       |
 3383|    809|    return (PyObject *)list;
 3384|    809|}
_PyList_SliceSubscript:
 3767|     33|{
 3768|     33|    return list_slice_subscript(_self, item);
 3769|     33|}
listobject.c:valid_index:
  344|   709k|{
  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|   709k|    return (size_t) i < (size_t) limit;
  353|   709k|}
listobject.c:list_get_item_ref:
  404|   558k|{
  405|   558k|    if (!valid_index(i, Py_SIZE(op))) {
  ------------------
  |  |  214|   558k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   558k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   558k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (405:9): [True: 32.4k, False: 526k]
  ------------------
  406|  32.4k|        return NULL;
  407|  32.4k|    }
  408|   526k|    return Py_NewRef(PyList_GET_ITEM(op, i));
  ------------------
  |  |  647|   526k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   526k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 526k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  409|   526k|}
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|   833k|{
  113|   833k|    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|   833k|    if (allocated >= newsize
  ------------------
  |  Branch (121:9): [True: 202k, False: 630k]
  ------------------
  122|   202k|        && (newsize >= (allocated >> 1) || allocated <= LIST_SMALL_ALLOCATED))
  ------------------
  |  |   94|   102k|#define LIST_SMALL_ALLOCATED 32
  ------------------
  |  Branch (122:13): [True: 100k, False: 102k]
  |  Branch (122:44): [True: 100k, False: 1.94k]
  ------------------
  123|   200k|    {
  124|   200k|        assert(self->ob_item != NULL || newsize == 0);
  ------------------
  |  Branch (124:9): [True: 200k, False: 0]
  |  Branch (124:9): [True: 0, False: 0]
  ------------------
  125|   200k|        Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|   200k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   200k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   200k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  126|   200k|        return 0;
  127|   200k|    }
  128|   632k|    return py_list_resize(self, newsize);
  129|   833k|}
listobject.c:py_list_resize:
  134|   632k|{
  135|   632k|    size_t new_allocated, target_bytes;
  136|   632k|    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|   632k|    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|   632k|    if (newsize - Py_SIZE(self) > (Py_ssize_t)(new_allocated - newsize))
  ------------------
  |  |  214|   632k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   632k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   632k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (152:9): [True: 8.27k, False: 624k]
  ------------------
  153|  8.27k|        new_allocated = ((size_t)newsize + 3) & ~(size_t)3;
  154|       |
  155|   632k|    if (newsize == 0)
  ------------------
  |  Branch (155:9): [True: 0, False: 632k]
  ------------------
  156|      0|        new_allocated = 0;
  157|       |
  158|   632k|    assert(newsize > allocated || new_allocated < (size_t)allocated);
  ------------------
  |  Branch (158:5): [True: 630k, False: 1.94k]
  |  Branch (158:5): [True: 1.94k, False: 0]
  ------------------
  159|       |
  160|   632k|    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|   632k|    PyObject **items;
  194|   632k|    if (new_allocated <= (size_t)PY_SSIZE_T_MAX / sizeof(PyObject *)) {
  ------------------
  |  |  137|   632k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (194:9): [True: 632k, False: 0]
  ------------------
  195|   632k|        target_bytes = new_allocated * sizeof(PyObject *);
  196|   632k|        items = (PyObject **)PyMem_Realloc(self->ob_item, target_bytes);
  197|   632k|    }
  198|      0|    else {
  199|       |        // integer overflow
  200|      0|        items = NULL;
  201|      0|    }
  202|   632k|    if (items == NULL) {
  ------------------
  |  Branch (202:9): [True: 0, False: 632k]
  ------------------
  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|   632k|    self->ob_item = items;
  212|   632k|    Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|   632k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   632k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   632k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|   632k|    self->allocated = new_allocated;
  214|   632k|#endif
  215|   632k|    return 0;
  216|   632k|}
listobject.c:ensure_shared_on_resize:
   77|   632k|{
   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|   632k|}
listobject.c:list_slice_lock_held:
  751|  1.30k|{
  752|  1.30k|    PyListObject *np;
  753|  1.30k|    PyObject **src, **dest;
  754|  1.30k|    Py_ssize_t i, len;
  755|  1.30k|    len = ihigh - ilow;
  756|  1.30k|    if (len <= 0) {
  ------------------
  |  Branch (756:9): [True: 10, False: 1.29k]
  ------------------
  757|     10|        return PyList_New(0);
  758|     10|    }
  759|  1.29k|    np = (PyListObject *) list_new_prealloc(len);
  760|  1.29k|    if (np == NULL)
  ------------------
  |  Branch (760:9): [True: 0, False: 1.29k]
  ------------------
  761|      0|        return NULL;
  762|       |
  763|  1.29k|    src = a->ob_item + ilow;
  764|  1.29k|    dest = np->ob_item;
  765|   124k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (765:17): [True: 123k, False: 1.29k]
  ------------------
  766|   123k|        PyObject *v = src[i];
  767|   123k|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  647|   123k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   123k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   123k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  768|   123k|    }
  769|  1.29k|    Py_SET_SIZE(np, len);
  ------------------
  |  |  216|  1.29k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  1.29k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  770|  1.29k|    return (PyObject *)np;
  771|  1.29k|}
listobject.c:list_new_prealloc:
  305|  1.40k|{
  306|  1.40k|    assert(size > 0);
  ------------------
  |  Branch (306:5): [True: 1.40k, False: 0]
  ------------------
  307|  1.40k|    PyListObject *op = (PyListObject *) PyList_New(0);
  308|  1.40k|    if (op == NULL) {
  ------------------
  |  Branch (308:9): [True: 0, False: 1.40k]
  ------------------
  309|      0|        return NULL;
  310|      0|    }
  311|  1.40k|    assert(op->ob_item == NULL);
  ------------------
  |  Branch (311:5): [True: 1.40k, 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|  1.40k|    op->ob_item = PyMem_New(PyObject *, size);
  ------------------
  |  |   64|  1.40k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|  1.40k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 1.40k]
  |  |  ------------------
  |  |   65|  1.40k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  321|  1.40k|    if (op->ob_item == NULL) {
  ------------------
  |  Branch (321:9): [True: 0, False: 1.40k]
  ------------------
  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|  1.40k|#endif
  326|  1.40k|    op->allocated = size;
  327|  1.40k|    return (PyObject *) op;
  328|  1.40k|}
listobject.c:list_concat_lock_held:
  825|     24|{
  826|     24|    Py_ssize_t size;
  827|     24|    Py_ssize_t i;
  828|     24|    PyObject **src, **dest;
  829|     24|    PyListObject *np;
  830|     24|    assert((size_t)Py_SIZE(a) + (size_t)Py_SIZE(b) < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (830:5): [True: 24, False: 0]
  ------------------
  831|     24|    size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|     24|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|     24|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  832|     24|    if (size == 0) {
  ------------------
  |  Branch (832:9): [True: 0, False: 24]
  ------------------
  833|      0|        return PyList_New(0);
  834|      0|    }
  835|     24|    np = (PyListObject *) list_new_prealloc(size);
  836|     24|    if (np == NULL) {
  ------------------
  |  Branch (836:9): [True: 0, False: 24]
  ------------------
  837|      0|        return NULL;
  838|      0|    }
  839|     24|    src = a->ob_item;
  840|     24|    dest = np->ob_item;
  841|    314|    for (i = 0; i < Py_SIZE(a); i++) {
  ------------------
  |  |  214|    314|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    314|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    314|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (841:17): [True: 290, False: 24]
  ------------------
  842|    290|        PyObject *v = src[i];
  843|    290|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  647|    290|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    290|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    290|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|    290|    }
  845|     24|    src = b->ob_item;
  846|     24|    dest = np->ob_item + Py_SIZE(a);
  ------------------
  |  |  214|     24|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  847|    396|    for (i = 0; i < Py_SIZE(b); i++) {
  ------------------
  |  |  214|    396|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (847:17): [True: 372, False: 24]
  ------------------
  848|    372|        PyObject *v = src[i];
  849|    372|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  647|    372|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    372|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    372|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  850|    372|    }
  851|     24|    Py_SET_SIZE(np, size);
  ------------------
  |  |  216|     24|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     24|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  852|     24|    return (PyObject *)np;
  853|     24|}
listobject.c:list_ass_slice:
 1095|   152k|{
 1096|   152k|    int ret;
 1097|   152k|    if (a == (PyListObject *)v) {
  ------------------
  |  Branch (1097:9): [True: 0, False: 152k]
  ------------------
 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|   152k|    else if (v != NULL && PyList_CheckExact(v)) {
  ------------------
  |  |   26|      0|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1110:14): [True: 0, False: 152k]
  ------------------
 1111|      0|        Py_BEGIN_CRITICAL_SECTION2(a, v);
  ------------------
  |  |   57|      0|    {
  ------------------
 1112|      0|        ret = list_ass_slice_lock_held(a, ilow, ihigh, v);
 1113|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 1114|      0|    }
 1115|   152k|    else {
 1116|   152k|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|   152k|    {
  ------------------
 1117|   152k|        ret = list_ass_slice_lock_held(a, ilow, ihigh, v);
 1118|   152k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   152k|    }
  ------------------
 1119|   152k|    }
 1120|   152k|    return ret;
 1121|   152k|}
listobject.c:list_ass_slice_lock_held:
 1004|   152k|{
 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|   152k|    PyObject *recycle_on_stack[8];
 1012|   152k|    PyObject **recycle = recycle_on_stack; /* will allocate more if needed */
 1013|   152k|    PyObject **item;
 1014|   152k|    PyObject **vitem = NULL;
 1015|   152k|    PyObject *v_as_SF = NULL; /* PySequence_Fast(v) */
 1016|   152k|    Py_ssize_t n; /* # of elements in replacement list */
 1017|   152k|    Py_ssize_t norig; /* # of elements in list getting replaced */
 1018|   152k|    Py_ssize_t d; /* Change in size */
 1019|   152k|    Py_ssize_t k;
 1020|   152k|    size_t s;
 1021|   152k|    int result = -1;            /* guilty until proved innocent */
 1022|   152k|#define b ((PyListObject *)v)
 1023|   152k|    if (v == NULL)
  ------------------
  |  Branch (1023:9): [True: 152k, False: 76]
  ------------------
 1024|   152k|        n = 0;
 1025|     76|    else {
 1026|     76|        v_as_SF = PySequence_Fast(v, "can only assign an iterable");
 1027|     76|        if(v_as_SF == NULL)
  ------------------
  |  Branch (1027:12): [True: 0, False: 76]
  ------------------
 1028|      0|            goto Error;
 1029|     76|        n = PySequence_Fast_GET_SIZE(v_as_SF);
  ------------------
  |  |   92|     76|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|     76|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     76|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 76, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|     76|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     76|#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|     76|        vitem = PySequence_Fast_ITEMS(v_as_SF);
  ------------------
  |  |  102|     76|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|     76|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     76|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 76, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|     76|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
 1031|     76|    }
 1032|   152k|    if (ilow < 0)
  ------------------
  |  Branch (1032:9): [True: 0, False: 152k]
  ------------------
 1033|      0|        ilow = 0;
 1034|   152k|    else if (ilow > Py_SIZE(a))
  ------------------
  |  |  214|   152k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1034:14): [True: 0, False: 152k]
  ------------------
 1035|      0|        ilow = Py_SIZE(a);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1036|       |
 1037|   152k|    if (ihigh < ilow)
  ------------------
  |  Branch (1037:9): [True: 0, False: 152k]
  ------------------
 1038|      0|        ihigh = ilow;
 1039|   152k|    else if (ihigh > Py_SIZE(a))
  ------------------
  |  |  214|   152k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1039:14): [True: 0, False: 152k]
  ------------------
 1040|      0|        ihigh = Py_SIZE(a);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1041|       |
 1042|   152k|    norig = ihigh - ilow;
 1043|   152k|    assert(norig >= 0);
  ------------------
  |  Branch (1043:5): [True: 152k, False: 0]
  ------------------
 1044|   152k|    d = n - norig;
 1045|   152k|    if (Py_SIZE(a) + d == 0) {
  ------------------
  |  |  214|   152k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1045:9): [True: 13.0k, False: 139k]
  ------------------
 1046|  13.0k|        Py_XDECREF(v_as_SF);
  ------------------
  |  |  621|  13.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1047|  13.0k|        list_clear(a);
 1048|  13.0k|        return 0;
 1049|  13.0k|    }
 1050|   139k|    item = a->ob_item;
 1051|       |    /* recycle the items that we are about to remove */
 1052|   139k|    s = norig * sizeof(PyObject *);
 1053|       |    /* If norig == 0, item might be NULL, in which case we may not memcpy from it. */
 1054|   139k|    if (s) {
  ------------------
  |  Branch (1054:9): [True: 139k, False: 2]
  ------------------
 1055|   139k|        if (s > sizeof(recycle_on_stack)) {
  ------------------
  |  Branch (1055:13): [True: 3.30k, False: 136k]
  ------------------
 1056|  3.30k|            recycle = (PyObject **)PyMem_Malloc(s);
 1057|  3.30k|            if (recycle == NULL) {
  ------------------
  |  Branch (1057:17): [True: 0, False: 3.30k]
  ------------------
 1058|      0|                PyErr_NoMemory();
 1059|      0|                goto Error;
 1060|      0|            }
 1061|  3.30k|        }
 1062|   139k|        memcpy(recycle, &item[ilow], s);
 1063|   139k|    }
 1064|       |
 1065|   139k|    if (d < 0) { /* Delete -d items */
  ------------------
  |  Branch (1065:9): [True: 139k, False: 74]
  ------------------
 1066|   139k|        Py_ssize_t tail = Py_SIZE(a) - ihigh;
  ------------------
  |  |  214|   139k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   139k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   139k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1067|   139k|        ptr_wise_atomic_memmove(a, &item[ihigh+d], &item[ihigh], tail);
 1068|   139k|        (void)list_resize(a, Py_SIZE(a) + d); // NB: shrinking a list can't fail
  ------------------
  |  |  214|   139k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   139k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   139k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1069|   139k|        item = a->ob_item;
 1070|   139k|    }
 1071|     74|    else if (d > 0) { /* Insert d items */
  ------------------
  |  Branch (1071:14): [True: 2, False: 72]
  ------------------
 1072|      2|        k = Py_SIZE(a);
  ------------------
  |  |  214|      2|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|      2|        if (list_resize(a, k+d) < 0)
  ------------------
  |  Branch (1073:13): [True: 0, False: 2]
  ------------------
 1074|      0|            goto Error;
 1075|      2|        item = a->ob_item;
 1076|      2|        ptr_wise_atomic_memmove(a, &item[ihigh+d], &item[ihigh], k - ihigh);
 1077|      2|    }
 1078|   139k|    for (k = 0; k < n; k++, ilow++) {
  ------------------
  |  Branch (1078:17): [True: 257, False: 139k]
  ------------------
 1079|    257|        PyObject *w = vitem[k];
 1080|    257|        FT_ATOMIC_STORE_PTR_RELEASE(item[ilow], Py_XNewRef(w));
  ------------------
  |  |  166|    257|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1081|    257|    }
 1082|   508k|    for (k = norig - 1; k >= 0; --k)
  ------------------
  |  Branch (1082:25): [True: 369k, False: 139k]
  ------------------
 1083|   369k|        Py_XDECREF(recycle[k]);
  ------------------
  |  |  621|   508k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   369k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   369k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1084|   139k|    result = 0;
 1085|   139k| Error:
 1086|   139k|    if (recycle != recycle_on_stack)
  ------------------
  |  Branch (1086:9): [True: 3.30k, False: 136k]
  ------------------
 1087|  3.30k|        PyMem_Free(recycle);
 1088|   139k|    Py_XDECREF(v_as_SF);
  ------------------
  |  |  621|   139k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   139k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   139k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1089|   139k|    return result;
 1090|   139k|#undef b
 1091|   139k|}
listobject.c:ptr_wise_atomic_memmove:
  972|   139k|{
  973|   139k|#ifndef Py_GIL_DISABLED
  974|   139k|    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|   139k|}
listobject.c:list_extend_impl:
 1580|   105k|{
 1581|   105k|    if (_list_extend(self, iterable) < 0) {
  ------------------
  |  Branch (1581:9): [True: 0, False: 105k]
  ------------------
 1582|      0|        return NULL;
 1583|      0|    }
 1584|   105k|    Py_RETURN_NONE;
  ------------------
  |  |  628|   105k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|   105k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1585|   105k|}
listobject.c:_list_extend:
 1513|   105k|{
 1514|       |    // Special case:
 1515|       |    // lists and tuples which can use PySequence_Fast ops
 1516|   105k|    int res = -1;
 1517|   105k|    if ((PyObject *)self == iterable) {
  ------------------
  |  Branch (1517:9): [True: 0, False: 105k]
  ------------------
 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|   105k|    else if (PyList_CheckExact(iterable)) {
  ------------------
  |  |   26|   105k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|   105k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   105k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   105k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 440, False: 105k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1523|    440|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|    440|    {
  ------------------
 1524|    440|        res = list_extend_lock_held(self, iterable);
 1525|    440|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|    440|    }
  ------------------
 1526|    440|    }
 1527|   105k|    else if (PyTuple_CheckExact(iterable)) {
  ------------------
  |  |   28|   105k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   105k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   105k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   105k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 241, False: 105k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1528|    241|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    241|    {
  ------------------
 1529|    241|        res = list_extend_lock_held(self, iterable);
 1530|    241|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    241|    }
  ------------------
 1531|    241|    }
 1532|   105k|    else if (PyAnySet_CheckExact(iterable)) {
  ------------------
  |  |   29|   105k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|   210k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   105k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   105k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 104k, False: 176]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|    176|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    176|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    176|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 176]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1533|   104k|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|   104k|    {
  ------------------
 1534|   104k|        res = list_extend_set(self, (PySetObject *)iterable);
 1535|   104k|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|   104k|    }
  ------------------
 1536|   104k|    }
 1537|    176|    else if (PyDict_CheckExact(iterable)) {
  ------------------
  |  |   19|    176|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    176|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    176|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    176|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 16, False: 160]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1538|     16|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|     16|    {
  ------------------
 1539|     16|        res = list_extend_dict(self, (PyDictObject *)iterable, 0 /*keys*/);
 1540|     16|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|     16|    }
  ------------------
 1541|     16|    }
 1542|    160|    else if (Py_IS_TYPE(iterable, &PyDictKeys_Type)) {
  ------------------
  |  |  215|    160|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    160|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    160|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 160]
  |  |  ------------------
  ------------------
 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|    160|    else if (Py_IS_TYPE(iterable, &PyDictValues_Type)) {
  ------------------
  |  |  215|    160|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    160|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    160|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1, False: 159]
  |  |  ------------------
  ------------------
 1549|      1|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1550|      1|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|      1|    {
  ------------------
 1551|      1|        res = list_extend_dict(self, dict, 1 /*values*/);
 1552|      1|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      1|    }
  ------------------
 1553|      1|    }
 1554|    159|    else if (Py_IS_TYPE(iterable, &PyDictItems_Type)) {
  ------------------
  |  |  215|    159|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    159|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    159|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1, False: 158]
  |  |  ------------------
  ------------------
 1555|      1|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1556|      1|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|      1|    {
  ------------------
 1557|      1|        res = list_extend_dictitems(self, dict);
 1558|      1|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      1|    }
  ------------------
 1559|      1|    }
 1560|    158|    else {
 1561|    158|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    158|    {
  ------------------
 1562|    158|        res = list_extend_iter_lock_held(self, iterable);
 1563|    158|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    158|    }
  ------------------
 1564|    158|    }
 1565|   105k|    return res;
 1566|   105k|}
listobject.c:list_extend_lock_held:
 1411|    681|{
 1412|    681|    PyObject *seq = PySequence_Fast(iterable, "argument must be iterable");
 1413|    681|    if (!seq) {
  ------------------
  |  Branch (1413:9): [True: 0, False: 681]
  ------------------
 1414|      0|        return -1;
 1415|      0|    }
 1416|       |
 1417|    681|    int res = list_extend_fast(self, seq);
 1418|    681|    Py_DECREF(seq);
  ------------------
  |  |  430|    681|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    681|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    681|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1419|    681|    return res;
 1420|    681|}
listobject.c:list_extend_fast:
 1298|    681|{
 1299|    681|    Py_ssize_t n = PySequence_Fast_GET_SIZE(iterable);
  ------------------
  |  |   92|    681|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    681|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    681|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 440, False: 241]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|    440|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    440|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    440|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|    241|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    241|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    241|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1300|    681|    if (n == 0) {
  ------------------
  |  Branch (1300:9): [True: 116, False: 565]
  ------------------
 1301|       |        /* short circuit when iterable is empty */
 1302|    116|        return 0;
 1303|    116|    }
 1304|       |
 1305|    565|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|    565|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    565|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    565|#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|    565|    assert(m < PY_SSIZE_T_MAX - n);
  ------------------
  |  Branch (1308:5): [True: 565, False: 0]
  ------------------
 1309|    565|    if (self->ob_item == NULL) {
  ------------------
  |  Branch (1309:9): [True: 502, False: 63]
  ------------------
 1310|    502|        if (list_preallocate_exact(self, n) < 0) {
  ------------------
  |  Branch (1310:13): [True: 0, False: 502]
  ------------------
 1311|      0|            return -1;
 1312|      0|        }
 1313|    502|        Py_SET_SIZE(self, n);
  ------------------
  |  |  216|    502|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    502|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|    502|    }
 1315|     63|    else if (list_resize(self, m + n) < 0) {
  ------------------
  |  Branch (1315:14): [True: 0, False: 63]
  ------------------
 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|    565|    PyObject **src = PySequence_Fast_ITEMS(iterable);
  ------------------
  |  |  102|    565|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|    565|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    565|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 425, False: 140]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|    565|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
 1326|    565|    PyObject **dest = self->ob_item + m;
 1327|  4.20k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1327:28): [True: 3.64k, False: 565]
  ------------------
 1328|  3.64k|        PyObject *o = src[i];
 1329|  3.64k|        FT_ATOMIC_STORE_PTR_RELEASE(dest[i], Py_NewRef(o));
  ------------------
  |  |  166|  3.64k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1330|  3.64k|    }
 1331|    565|    return 0;
 1332|    565|}
listobject.c:list_preallocate_exact:
  220|    642|{
  221|    642|    PyObject **items;
  222|    642|    assert(self->ob_item == NULL);
  ------------------
  |  Branch (222:5): [True: 642, False: 0]
  ------------------
  223|    642|    assert(size > 0);
  ------------------
  |  Branch (223:5): [True: 642, 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|    642|    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|    642|    items = PyMem_New(PyObject*, size);
  ------------------
  |  |   64|    642|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    642|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 642]
  |  |  ------------------
  |  |   65|    642|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  241|    642|    if (items == NULL) {
  ------------------
  |  Branch (241:9): [True: 0, False: 642]
  ------------------
  242|      0|        PyErr_NoMemory();
  243|      0|        return -1;
  244|      0|    }
  245|    642|#endif
  246|    642|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, items);
  ------------------
  |  |  166|    642|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  247|    642|    self->allocated = size;
  248|    642|    return 0;
  249|    642|}
listobject.c:list_extend_set:
 1424|   104k|{
 1425|   104k|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|   104k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   104k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   104k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1426|   104k|    Py_ssize_t n = PySet_GET_SIZE(other);
  ------------------
  |  |   71|   104k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|   104k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   104k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1427|   104k|    Py_ssize_t r = m + n;
 1428|   104k|    if (r == 0) {
  ------------------
  |  Branch (1428:9): [True: 82.5k, False: 22.2k]
  ------------------
 1429|  82.5k|        return 0;
 1430|  82.5k|    }
 1431|  22.2k|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1431:9): [True: 0, False: 22.2k]
  ------------------
 1432|      0|        return -1;
 1433|      0|    }
 1434|       |
 1435|  22.2k|    assert(self->ob_item != NULL);
  ------------------
  |  Branch (1435:5): [True: 22.2k, False: 0]
  ------------------
 1436|       |    /* populate the end of self with iterable's items */
 1437|  22.2k|    Py_ssize_t setpos = 0;
 1438|  22.2k|    Py_hash_t hash;
 1439|  22.2k|    PyObject *key;
 1440|  22.2k|    PyObject **dest = self->ob_item + m;
 1441|   160k|    while (_PySet_NextEntryRef((PyObject *)other, &setpos, &key, &hash)) {
  ------------------
  |  Branch (1441:12): [True: 138k, False: 22.2k]
  ------------------
 1442|   138k|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, key);
  ------------------
  |  |  166|   138k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1443|   138k|        dest++;
 1444|   138k|    }
 1445|  22.2k|    Py_SET_SIZE(self, r);
  ------------------
  |  |  216|  22.2k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  22.2k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1446|  22.2k|    return 0;
 1447|  22.2k|}
listobject.c:list_extend_dict:
 1451|     17|{
 1452|       |    // which_item: 0 for keys and 1 for values
 1453|     17|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|     17|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1454|     17|    Py_ssize_t n = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|     17|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1455|     17|    Py_ssize_t r = m + n;
 1456|     17|    if (r == 0) {
  ------------------
  |  Branch (1456:9): [True: 0, False: 17]
  ------------------
 1457|      0|        return 0;
 1458|      0|    }
 1459|     17|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1459:9): [True: 0, False: 17]
  ------------------
 1460|      0|        return -1;
 1461|      0|    }
 1462|       |
 1463|     17|    assert(self->ob_item != NULL);
  ------------------
  |  Branch (1463:5): [True: 17, False: 0]
  ------------------
 1464|     17|    PyObject **dest = self->ob_item + m;
 1465|     17|    Py_ssize_t pos = 0;
 1466|     17|    PyObject *keyvalue[2];
 1467|    182|    while (_PyDict_Next((PyObject *)dict, &pos, &keyvalue[0], &keyvalue[1], NULL)) {
  ------------------
  |  Branch (1467:12): [True: 165, False: 17]
  ------------------
 1468|    165|        PyObject *obj = keyvalue[which_item];
 1469|    165|        Py_INCREF(obj);
  ------------------
  |  |  310|    165|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    165|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    165|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1470|    165|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, obj);
  ------------------
  |  |  166|    165|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1471|    165|        dest++;
 1472|    165|    }
 1473|       |
 1474|     17|    Py_SET_SIZE(self, r);
  ------------------
  |  |  216|     17|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     17|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1475|     17|    return 0;
 1476|     17|}
listobject.c:list_extend_dictitems:
 1480|      1|{
 1481|      1|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|      1|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1482|      1|    Py_ssize_t n = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|      1|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1483|      1|    Py_ssize_t r = m + n;
 1484|      1|    if (r == 0) {
  ------------------
  |  Branch (1484:9): [True: 0, False: 1]
  ------------------
 1485|      0|        return 0;
 1486|      0|    }
 1487|      1|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1487:9): [True: 0, False: 1]
  ------------------
 1488|      0|        return -1;
 1489|      0|    }
 1490|       |
 1491|      1|    assert(self->ob_item != NULL);
  ------------------
  |  Branch (1491:5): [True: 1, False: 0]
  ------------------
 1492|      1|    PyObject **dest = self->ob_item + m;
 1493|      1|    Py_ssize_t pos = 0;
 1494|      1|    Py_ssize_t i = 0;
 1495|      1|    PyObject *key, *value;
 1496|     45|    while (_PyDict_Next((PyObject *)dict, &pos, &key, &value, NULL)) {
  ------------------
  |  Branch (1496:12): [True: 44, False: 1]
  ------------------
 1497|     44|        PyObject *item = _PyTuple_FromPair(key, value);
 1498|     44|        if (item == NULL) {
  ------------------
  |  Branch (1498:13): [True: 0, False: 44]
  ------------------
 1499|      0|            Py_SET_SIZE(self, m + i);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1500|      0|            return -1;
 1501|      0|        }
 1502|     44|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, item);
  ------------------
  |  |  166|     44|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1503|     44|        dest++;
 1504|     44|        i++;
 1505|     44|    }
 1506|       |
 1507|      1|    Py_SET_SIZE(self, r);
  ------------------
  |  |  216|      1|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      1|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1508|      1|    return 0;
 1509|      1|}
listobject.c:list_extend_iter_lock_held:
 1336|    158|{
 1337|    158|    PyObject *it = PyObject_GetIter(iterable);
 1338|    158|    if (it == NULL) {
  ------------------
  |  Branch (1338:9): [True: 0, False: 158]
  ------------------
 1339|      0|        return -1;
 1340|      0|    }
 1341|    158|    PyObject *(*iternext)(PyObject *) = *Py_TYPE(it)->tp_iternext;
  ------------------
  |  |  213|    158|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    158|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    158|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1342|       |
 1343|       |    /* Guess a result list size. */
 1344|    158|    Py_ssize_t n = PyObject_LengthHint(iterable, 8);
 1345|    158|    if (n < 0) {
  ------------------
  |  Branch (1345:9): [True: 0, False: 158]
  ------------------
 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|    158|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|    158|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    158|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    158|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1351|    158|    if (m > PY_SSIZE_T_MAX - n) {
  ------------------
  |  |  137|    158|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1351:9): [True: 0, False: 158]
  ------------------
 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|    158|    else if (self->ob_item == NULL) {
  ------------------
  |  Branch (1357:14): [True: 140, False: 18]
  ------------------
 1358|    140|        if (n && list_preallocate_exact(self, n) < 0)
  ------------------
  |  Branch (1358:13): [True: 140, False: 0]
  |  Branch (1358:18): [True: 0, False: 140]
  ------------------
 1359|      0|            goto error;
 1360|    140|    }
 1361|     18|    else {
 1362|       |        /* Make room. */
 1363|     18|        if (list_resize(self, m + n) < 0) {
  ------------------
  |  Branch (1363:13): [True: 0, False: 18]
  ------------------
 1364|      0|            goto error;
 1365|      0|        }
 1366|       |
 1367|       |        /* Make the list sane again. */
 1368|     18|        Py_SET_SIZE(self, m);
  ------------------
  |  |  216|     18|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     18|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1369|     18|    }
 1370|       |
 1371|       |    /* Run iterator to exhaustion. */
 1372|  4.79k|    for (;;) {
 1373|  4.79k|        PyObject *item = iternext(it);
 1374|  4.79k|        if (item == NULL) {
  ------------------
  |  Branch (1374:13): [True: 158, False: 4.63k]
  ------------------
 1375|    158|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (1375:17): [True: 0, False: 158]
  ------------------
 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|    158|            break;
 1382|    158|        }
 1383|       |
 1384|  4.63k|        if (Py_SIZE(self) < self->allocated) {
  ------------------
  |  |  214|  4.63k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1384:13): [True: 4.63k, False: 0]
  ------------------
 1385|  4.63k|            Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|  4.63k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1386|  4.63k|            FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], item);  // steals item ref
  ------------------
  |  |  166|  4.63k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1387|  4.63k|            Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|  4.63k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  4.63k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1388|  4.63k|        }
 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|  4.63k|    }
 1394|       |
 1395|       |    /* Cut back result list if initial guess was too large. */
 1396|    158|    if (Py_SIZE(self) < self->allocated) {
  ------------------
  |  |  214|    158|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    158|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    158|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1396:9): [True: 74, False: 84]
  ------------------
 1397|     74|        if (list_resize(self, Py_SIZE(self)) < 0)
  ------------------
  |  |  214|     74|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1397:13): [True: 0, False: 74]
  ------------------
 1398|      0|            goto error;
 1399|     74|    }
 1400|       |
 1401|    158|    Py_DECREF(it);
  ------------------
  |  |  430|    158|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    158|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    158|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1402|    158|    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|    158|}
listobject.c:list_clear:
  957|  13.4k|{
  958|       |    list_clear_impl(a, true);
  959|  13.4k|}
listobject.c:list_clear_impl:
  927|  13.5k|{
  928|  13.5k|    PyObject **items = a->ob_item;
  929|  13.5k|    if (items == NULL) {
  ------------------
  |  Branch (929:9): [True: 2, False: 13.5k]
  ------------------
  930|      2|        return;
  931|      2|    }
  932|       |
  933|       |    /* Because XDECREF can recursively invoke operations on
  934|       |       this list, we make it empty first. */
  935|  13.5k|    Py_ssize_t i = Py_SIZE(a);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  936|  13.5k|    Py_SET_SIZE(a, 0);
  ------------------
  |  |  216|  13.5k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  13.5k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  937|  13.5k|    FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item, NULL);
  ------------------
  |  |  166|  13.5k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  938|  13.5k|    a->allocated = 0;
  939|  27.1k|    while (--i >= 0) {
  ------------------
  |  Branch (939:12): [True: 13.6k, False: 13.5k]
  ------------------
  940|  13.6k|        Py_XDECREF(items[i]);
  ------------------
  |  |  621|  13.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  941|  13.6k|    }
  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|  13.5k|    bool use_qsbr = false;
  949|  13.5k|#endif
  950|  13.5k|    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|  13.5k|}
listobject.c:free_list_items:
   60|   562k|{
   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|   562k|    PyMem_Free(items);
   72|   562k|#endif
   73|   562k|}
listobject.c:list_sort_impl:
 3021|   180k|{
 3022|   180k|    MergeState ms;
 3023|   180k|    Py_ssize_t nremaining;
 3024|   180k|    Py_ssize_t minrun;
 3025|   180k|    sortslice lo;
 3026|   180k|    Py_ssize_t saved_ob_size, saved_allocated;
 3027|   180k|    PyObject **saved_ob_item;
 3028|   180k|    PyObject **final_ob_item;
 3029|   180k|    PyObject *result = NULL;            /* guilty until proved innocent */
 3030|   180k|    Py_ssize_t i;
 3031|   180k|    PyObject **keys;
 3032|       |
 3033|   180k|    assert(self != NULL);
  ------------------
  |  Branch (3033:5): [True: 180k, False: 0]
  ------------------
 3034|   180k|    assert(PyList_Check(self));
  ------------------
  |  Branch (3034:5): [True: 180k, False: 0]
  ------------------
 3035|   180k|    if (keyfunc == Py_None)
  ------------------
  |  |  616|   180k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3035:9): [True: 14.9k, False: 165k]
  ------------------
 3036|  14.9k|        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|   180k|    saved_ob_size = Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3044|   180k|    saved_ob_item = self->ob_item;
 3045|   180k|    saved_allocated = self->allocated;
 3046|   180k|    Py_SET_SIZE(self, 0);
  ------------------
  |  |  216|   180k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   180k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   180k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3047|   180k|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, NULL);
  ------------------
  |  |  166|   180k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3048|   180k|    self->allocated = -1; /* any operation will reset it to >= 0 */
 3049|       |
 3050|   180k|    if (keyfunc == NULL) {
  ------------------
  |  Branch (3050:9): [True: 180k, False: 2]
  ------------------
 3051|   180k|        keys = NULL;
 3052|   180k|        lo.keys = saved_ob_item;
 3053|   180k|        lo.values = NULL;
 3054|   180k|    }
 3055|      2|    else {
 3056|      2|        if (saved_ob_size < MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1786|      2|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (3056:13): [True: 2, False: 0]
  ------------------
 3057|       |            /* Leverage stack space we allocated but won't otherwise use */
 3058|      2|            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|      6|        for (i = 0; i < saved_ob_size ; i++) {
  ------------------
  |  Branch (3067:21): [True: 4, False: 2]
  ------------------
 3068|      4|            keys[i] = PyObject_CallOneArg(keyfunc, saved_ob_item[i]);
 3069|      4|            if (keys[i] == NULL) {
  ------------------
  |  Branch (3069:17): [True: 0, False: 4]
  ------------------
 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|      4|        }
 3077|       |
 3078|      2|        lo.keys = keys;
 3079|      2|        lo.values = saved_ob_item;
 3080|      2|    }
 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|   180k|    if (saved_ob_size > 1) {
  ------------------
  |  Branch (3087:9): [True: 72.4k, False: 107k]
  ------------------
 3088|       |        /* Assume the first element is representative of the whole list. */
 3089|  72.4k|        int keys_are_in_tuples = (Py_IS_TYPE(lo.keys[0], &PyTuple_Type) &&
  ------------------
  |  |  215|   144k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  72.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1, False: 72.4k]
  |  |  ------------------
  ------------------
 3090|      1|                                  Py_SIZE(lo.keys[0]) > 0);
  ------------------
  |  |  214|      1|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3090:35): [True: 1, False: 0]
  ------------------
 3091|       |
 3092|  72.4k|        PyTypeObject* key_type = (keys_are_in_tuples ?
  ------------------
  |  Branch (3092:35): [True: 1, False: 72.4k]
  ------------------
 3093|      1|                                  Py_TYPE(PyTuple_GET_ITEM(lo.keys[0], 0)) :
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3094|  72.4k|                                  Py_TYPE(lo.keys[0]));
  ------------------
  |  |  213|  72.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  72.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3095|       |
 3096|  72.4k|        int keys_are_all_same_type = 1;
 3097|  72.4k|        int strings_are_latin = 1;
 3098|  72.4k|        int ints_are_bounded = 1;
 3099|       |
 3100|       |        /* Prove that assumption by checking every key. */
 3101|   488k|        for (i=0; i < saved_ob_size; i++) {
  ------------------
  |  Branch (3101:19): [True: 415k, False: 72.4k]
  ------------------
 3102|       |
 3103|   415k|            if (keys_are_in_tuples &&
  ------------------
  |  Branch (3103:17): [True: 44, False: 415k]
  ------------------
 3104|     44|                !(Py_IS_TYPE(lo.keys[i], &PyTuple_Type) && Py_SIZE(lo.keys[i]) != 0)) {
  ------------------
  |  |  215|     88|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 44, False: 0]
  |  |  ------------------
  ------------------
                              !(Py_IS_TYPE(lo.keys[i], &PyTuple_Type) && Py_SIZE(lo.keys[i]) != 0)) {
  ------------------
  |  |  214|     44|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3104:60): [True: 44, 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|   415k|            PyObject *key = (keys_are_in_tuples ?
  ------------------
  |  Branch (3113:30): [True: 44, False: 415k]
  ------------------
 3114|     44|                             PyTuple_GET_ITEM(lo.keys[i], 0) :
  ------------------
  |  |   29|     44|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     44|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3114:30): [True: 44, False: 0]
  ------------------
 3115|   415k|                             lo.keys[i]);
 3116|       |
 3117|   415k|            if (!Py_IS_TYPE(key, key_type)) {
  ------------------
  |  |  215|   415k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   415k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   415k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3117:17): [True: 0, False: 415k]
  ------------------
 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|   415k|            if (keys_are_all_same_type) {
  ------------------
  |  Branch (3126:17): [True: 415k, False: 0]
  ------------------
 3127|   415k|                if (key_type == &PyLong_Type &&
  ------------------
  |  Branch (3127:21): [True: 392, False: 415k]
  ------------------
 3128|    392|                    ints_are_bounded &&
  ------------------
  |  Branch (3128:21): [True: 392, False: 0]
  ------------------
 3129|    392|                    !_PyLong_IsCompact((PyLongObject *)key)) {
  ------------------
  |  Branch (3129:21): [True: 0, False: 392]
  ------------------
 3130|       |
 3131|      0|                    ints_are_bounded = 0;
 3132|      0|                }
 3133|   415k|                else if (key_type == &PyUnicode_Type &&
  ------------------
  |  Branch (3133:26): [True: 415k, False: 392]
  ------------------
 3134|   415k|                         strings_are_latin &&
  ------------------
  |  Branch (3134:26): [True: 280k, False: 134k]
  ------------------
 3135|   561k|                         PyUnicode_KIND(key) != PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  259|   280k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   561k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 280k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3135:26): [True: 17.5k, False: 263k]
  ------------------
 3136|       |
 3137|  17.5k|                        strings_are_latin = 0;
 3138|  17.5k|                    }
 3139|   415k|                }
 3140|   415k|            }
 3141|       |
 3142|       |        /* Choose the best compare, given what we now know about the keys. */
 3143|  72.4k|        if (keys_are_all_same_type) {
  ------------------
  |  Branch (3143:13): [True: 72.4k, False: 0]
  ------------------
 3144|       |
 3145|  72.4k|            if (key_type == &PyUnicode_Type && strings_are_latin) {
  ------------------
  |  Branch (3145:17): [True: 72.3k, False: 152]
  |  Branch (3145:48): [True: 54.8k, False: 17.5k]
  ------------------
 3146|  54.8k|                ms.key_compare = unsafe_latin_compare;
 3147|  54.8k|            }
 3148|  17.6k|            else if (key_type == &PyLong_Type && ints_are_bounded) {
  ------------------
  |  Branch (3148:22): [True: 152, False: 17.5k]
  |  Branch (3148:50): [True: 152, False: 0]
  ------------------
 3149|    152|                ms.key_compare = unsafe_long_compare;
 3150|    152|            }
 3151|  17.5k|            else if (key_type == &PyFloat_Type) {
  ------------------
  |  Branch (3151:22): [True: 0, False: 17.5k]
  ------------------
 3152|      0|                ms.key_compare = unsafe_float_compare;
 3153|      0|            }
 3154|  17.5k|            else if ((ms.key_richcompare = key_type->tp_richcompare) != NULL) {
  ------------------
  |  Branch (3154:22): [True: 17.5k, False: 0]
  ------------------
 3155|  17.5k|                ms.key_compare = unsafe_object_compare;
 3156|  17.5k|            }
 3157|      0|            else {
 3158|      0|                ms.key_compare = safe_object_compare;
 3159|      0|            }
 3160|  72.4k|        }
 3161|      0|        else {
 3162|      0|            ms.key_compare = safe_object_compare;
 3163|      0|        }
 3164|       |
 3165|  72.4k|        if (keys_are_in_tuples) {
  ------------------
  |  Branch (3165:13): [True: 1, False: 72.4k]
  ------------------
 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|      1|            if (key_type == &PyTuple_Type) {
  ------------------
  |  Branch (3168:17): [True: 0, False: 1]
  ------------------
 3169|      0|                ms.tuple_elem_compare = safe_object_compare;
 3170|      0|            }
 3171|      1|            else {
 3172|      1|                ms.tuple_elem_compare = ms.key_compare;
 3173|      1|            }
 3174|       |
 3175|      1|            ms.key_compare = unsafe_tuple_compare;
 3176|      1|        }
 3177|  72.4k|    }
 3178|       |    /* End of pre-sort check: ms is now set properly! */
 3179|       |
 3180|   180k|    merge_init(&ms, saved_ob_size, keys != NULL, &lo);
 3181|       |
 3182|   180k|    nremaining = saved_ob_size;
 3183|   180k|    if (nremaining < 2)
  ------------------
  |  Branch (3183:9): [True: 107k, False: 72.4k]
  ------------------
 3184|   107k|        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|  72.4k|    if (reverse) {
  ------------------
  |  Branch (3188:9): [True: 1, False: 72.4k]
  ------------------
 3189|      1|        if (keys != NULL)
  ------------------
  |  Branch (3189:13): [True: 0, False: 1]
  ------------------
 3190|      0|            reverse_slice(&keys[0], &keys[saved_ob_size]);
 3191|      1|        reverse_slice(&saved_ob_item[0], &saved_ob_item[saved_ob_size]);
 3192|      1|    }
 3193|       |
 3194|       |    /* March over the array once, left to right, finding natural runs,
 3195|       |     * and extending short natural runs to minrun elements.
 3196|       |     */
 3197|  73.4k|    do {
 3198|  73.4k|        Py_ssize_t n;
 3199|       |
 3200|       |        /* Identify next run. */
 3201|  73.4k|        n = count_run(&ms, &lo, nremaining);
 3202|  73.4k|        if (n < 0)
  ------------------
  |  Branch (3202:13): [True: 0, False: 73.4k]
  ------------------
 3203|      0|            goto fail;
 3204|       |        /* If short, extend to min(minrun, nremaining). */
 3205|  73.4k|        minrun = minrun_next(&ms);
 3206|  73.4k|        if (n < minrun) {
  ------------------
  |  Branch (3206:13): [True: 32.1k, False: 41.3k]
  ------------------
 3207|  32.1k|            const Py_ssize_t force = nremaining <= minrun ?
  ------------------
  |  Branch (3207:38): [True: 31.1k, False: 975]
  ------------------
 3208|  31.1k|                              nremaining : minrun;
 3209|  32.1k|            if (binarysort(&ms, &lo, force, n) < 0)
  ------------------
  |  Branch (3209:17): [True: 0, False: 32.1k]
  ------------------
 3210|      0|                goto fail;
 3211|  32.1k|            n = force;
 3212|  32.1k|        }
 3213|       |        /* Maybe merge pending runs. */
 3214|  73.4k|        assert(ms.n == 0 || ms.pending[ms.n -1].base.keys +
  ------------------
  |  Branch (3214:9): [True: 72.4k, False: 975]
  |  Branch (3214:9): [True: 975, False: 0]
  ------------------
 3215|  73.4k|                            ms.pending[ms.n-1].len == lo.keys);
 3216|  73.4k|        if (found_new_run(&ms, n) < 0)
  ------------------
  |  Branch (3216:13): [True: 0, False: 73.4k]
  ------------------
 3217|      0|            goto fail;
 3218|       |        /* Push new run on stack. */
 3219|  73.4k|        assert(ms.n < MAX_MERGE_PENDING);
  ------------------
  |  Branch (3219:9): [True: 73.4k, False: 0]
  ------------------
 3220|  73.4k|        ms.pending[ms.n].base = lo;
 3221|  73.4k|        ms.pending[ms.n].len = n;
 3222|  73.4k|        ++ms.n;
 3223|       |        /* Advance to find next run. */
 3224|  73.4k|        sortslice_advance(&lo, n);
 3225|  73.4k|        nremaining -= n;
 3226|  73.4k|    } while (nremaining);
  ------------------
  |  Branch (3226:14): [True: 975, False: 72.4k]
  ------------------
 3227|       |
 3228|  72.4k|    if (merge_force_collapse(&ms) < 0)
  ------------------
  |  Branch (3228:9): [True: 0, False: 72.4k]
  ------------------
 3229|      0|        goto fail;
 3230|  72.4k|    assert(ms.n == 1);
  ------------------
  |  Branch (3230:5): [True: 72.4k, False: 0]
  ------------------
 3231|  72.4k|    assert(keys == NULL
  ------------------
  |  Branch (3231:5): [True: 72.4k, False: 2]
  |  Branch (3231:5): [True: 72.4k, False: 0]
  ------------------
 3232|  72.4k|           ? ms.pending[0].base.keys == saved_ob_item
 3233|  72.4k|           : ms.pending[0].base.keys == &keys[0]);
 3234|  72.4k|    assert(ms.pending[0].len == saved_ob_size);
  ------------------
  |  Branch (3234:5): [True: 72.4k, False: 0]
  ------------------
 3235|  72.4k|    lo = ms.pending[0].base;
 3236|       |
 3237|   180k|succeed:
 3238|   180k|    result = Py_None;
  ------------------
  |  |  616|   180k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3239|   180k|fail:
 3240|   180k|    if (keys != NULL) {
  ------------------
  |  Branch (3240:9): [True: 2, False: 180k]
  ------------------
 3241|      6|        for (i = 0; i < saved_ob_size; i++)
  ------------------
  |  Branch (3241:21): [True: 4, False: 2]
  ------------------
 3242|      4|            Py_DECREF(keys[i]);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3243|      2|        if (saved_ob_size >= MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1786|      2|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (3243:13): [True: 0, False: 2]
  ------------------
 3244|      0|            PyMem_Free(keys);
 3245|      2|    }
 3246|       |
 3247|   180k|    if (self->allocated != -1 && result != NULL) {
  ------------------
  |  Branch (3247:9): [True: 0, False: 180k]
  |  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|   180k|    if (reverse && saved_ob_size > 1)
  ------------------
  |  Branch (3255:9): [True: 1, False: 180k]
  |  Branch (3255:20): [True: 1, False: 0]
  ------------------
 3256|      1|        reverse_slice(saved_ob_item, saved_ob_item + saved_ob_size);
 3257|       |
 3258|   180k|    merge_freemem(&ms);
 3259|       |
 3260|   180k|keyfunc_fail:
 3261|   180k|    final_ob_item = self->ob_item;
 3262|   180k|    i = Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3263|   180k|    Py_SET_SIZE(self, saved_ob_size);
  ------------------
  |  |  216|   180k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   180k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   180k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3264|   180k|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, saved_ob_item);
  ------------------
  |  |  166|   180k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3265|   180k|    FT_ATOMIC_STORE_SSIZE_RELAXED(self->allocated, saved_allocated);
  ------------------
  |  |  197|   180k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 3266|   180k|    if (final_ob_item != NULL) {
  ------------------
  |  Branch (3266:9): [True: 0, False: 180k]
  ------------------
 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|   180k|    return Py_XNewRef(result);
  ------------------
  |  |  648|   180k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   180k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   180k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3281|   180k|}
listobject.c:unsafe_latin_compare:
 2891|   596k|{
 2892|   596k|    Py_ssize_t len;
 2893|   596k|    int res;
 2894|       |
 2895|       |    /* Modified from Objects/unicodeobject.c:unicode_compare, assuming: */
 2896|   596k|    assert(Py_IS_TYPE(v, &PyUnicode_Type));
  ------------------
  |  Branch (2896:5): [True: 596k, False: 0]
  ------------------
 2897|   596k|    assert(Py_IS_TYPE(w, &PyUnicode_Type));
  ------------------
  |  Branch (2897:5): [True: 596k, False: 0]
  ------------------
 2898|   596k|    assert(PyUnicode_KIND(v) == PyUnicode_KIND(w));
  ------------------
  |  Branch (2898:5): [True: 596k, False: 0]
  |  Branch (2898:5): [True: 596k, False: 0]
  |  Branch (2898:5): [True: 596k, False: 0]
  ------------------
 2899|   596k|    assert(PyUnicode_KIND(v) == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (2899:5): [True: 596k, False: 0]
  |  Branch (2899:5): [True: 596k, False: 0]
  ------------------
 2900|       |
 2901|   596k|    len = Py_MIN(PyUnicode_GET_LENGTH(v), PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  127|   596k|       __extension__ \
  |  |  128|   596k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|   596k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|   596k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|   596k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|   596k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 286k, False: 309k]
  |  |  ------------------
  ------------------
 2902|   596k|    res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len);
  ------------------
  |  |  285|   596k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   596k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   596k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len);
  ------------------
  |  |  285|   596k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   596k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   596k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2903|       |
 2904|   596k|    res = (res != 0 ?
  ------------------
  |  Branch (2904:12): [True: 547k, False: 48.3k]
  ------------------
 2905|   547k|           res < 0 :
 2906|   596k|           PyUnicode_GET_LENGTH(v) < PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  300|  48.3k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                         PyUnicode_GET_LENGTH(v) < PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  300|  48.3k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2907|       |
 2908|   596k|    assert_compare_consistent(v, w, res);
 2909|   596k|    return res;
 2910|   596k|}
listobject.c:assert_compare_consistent:
 2871|   596k|{
 2872|   596k|    int cmp = PyObject_RichCompareBool(v, w, Py_LT);
  ------------------
  |  |  652|   596k|#define Py_LT 0
  ------------------
 2873|   596k|    if (cmp < 0) {
  ------------------
  |  Branch (2873:9): [True: 0, False: 596k]
  ------------------
 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|   596k|    assert(res == cmp);
  ------------------
  |  Branch (2882:5): [True: 596k, False: 0]
  ------------------
 2883|   596k|}
listobject.c:unsafe_long_compare:
 2915|    489|{
 2916|    489|    PyLongObject *vl, *wl;
 2917|    489|    intptr_t v0, w0;
 2918|    489|    int res;
 2919|       |
 2920|       |    /* Modified from Objects/longobject.c:long_compare, assuming: */
 2921|    489|    assert(Py_IS_TYPE(v, &PyLong_Type));
  ------------------
  |  Branch (2921:5): [True: 489, False: 0]
  ------------------
 2922|    489|    assert(Py_IS_TYPE(w, &PyLong_Type));
  ------------------
  |  Branch (2922:5): [True: 489, False: 0]
  ------------------
 2923|    489|    assert(_PyLong_IsCompact((PyLongObject *)v));
  ------------------
  |  Branch (2923:5): [True: 489, False: 0]
  ------------------
 2924|    489|    assert(_PyLong_IsCompact((PyLongObject *)w));
  ------------------
  |  Branch (2924:5): [True: 489, False: 0]
  ------------------
 2925|       |
 2926|    489|    vl = (PyLongObject*)v;
 2927|    489|    wl = (PyLongObject*)w;
 2928|       |
 2929|    489|    v0 = _PyLong_CompactValue(vl);
 2930|    489|    w0 = _PyLong_CompactValue(wl);
 2931|       |
 2932|    489|    res = v0 < w0;
 2933|    489|    assert_compare_consistent(v, w, res);
 2934|    489|    return res;
 2935|    489|}
listobject.c:unsafe_object_compare:
 2834|   456k|{
 2835|   456k|    PyObject *res_obj; int res;
 2836|       |
 2837|       |    /* No assumptions, because we check first: */
 2838|   456k|    if (Py_TYPE(v)->tp_richcompare != ms->key_richcompare)
  ------------------
  |  |  213|   456k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   456k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   456k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2838:9): [True: 0, False: 456k]
  ------------------
 2839|      0|        return PyObject_RichCompareBool(v, w, Py_LT);
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
 2840|       |
 2841|   456k|    assert(ms->key_richcompare != NULL);
  ------------------
  |  Branch (2841:5): [True: 456k, False: 0]
  ------------------
 2842|   456k|    res_obj = (*(ms->key_richcompare))(v, w, Py_LT);
  ------------------
  |  |  652|   456k|#define Py_LT 0
  ------------------
 2843|       |
 2844|   456k|    if (res_obj == Py_NotImplemented) {
  ------------------
  |  |  640|   456k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (2844:9): [True: 0, False: 456k]
  ------------------
 2845|      0|        Py_DECREF(res_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2846|      0|        return PyObject_RichCompareBool(v, w, Py_LT);
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
 2847|      0|    }
 2848|   456k|    if (res_obj == NULL)
  ------------------
  |  Branch (2848:9): [True: 0, False: 456k]
  ------------------
 2849|      0|        return -1;
 2850|       |
 2851|   456k|    if (PyBool_Check(res_obj)) {
  ------------------
  |  |   12|   456k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|   456k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   456k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   456k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 456k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2852|   456k|        res = (res_obj == Py_True);
  ------------------
  |  |   26|   456k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|   456k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   456k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2853|   456k|        assert(_Py_IsImmortal(res_obj));
  ------------------
  |  Branch (2853:9): [True: 456k, False: 0]
  ------------------
 2854|   456k|    }
 2855|      0|    else {
 2856|      0|        res = PyObject_IsTrue(res_obj);
 2857|      0|        Py_DECREF(res_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2858|      0|    }
 2859|       |
 2860|       |    /* Note that we can't assert
 2861|       |     *     res == PyObject_RichCompareBool(v, w, Py_LT);
 2862|       |     * because of evil compare functions like this:
 2863|       |     *     lambda a, b:  int(random.random() * 3) - 1)
 2864|       |     * (which is actually in test_sort.py) */
 2865|   456k|    return res;
 2866|   456k|}
listobject.c:unsafe_tuple_compare:
 2960|    183|{
 2961|    183|    PyTupleObject *vt, *wt;
 2962|    183|    Py_ssize_t i, vlen, wlen;
 2963|    183|    int k;
 2964|       |
 2965|       |    /* Modified from Objects/tupleobject.c:tuplerichcompare, assuming: */
 2966|    183|    assert(Py_IS_TYPE(v, &PyTuple_Type));
  ------------------
  |  Branch (2966:5): [True: 183, False: 0]
  ------------------
 2967|    183|    assert(Py_IS_TYPE(w, &PyTuple_Type));
  ------------------
  |  Branch (2967:5): [True: 183, False: 0]
  ------------------
 2968|    183|    assert(Py_SIZE(v) > 0);
  ------------------
  |  Branch (2968:5): [True: 183, False: 0]
  ------------------
 2969|    183|    assert(Py_SIZE(w) > 0);
  ------------------
  |  Branch (2969:5): [True: 183, False: 0]
  ------------------
 2970|       |
 2971|    183|    vt = (PyTupleObject *)v;
 2972|    183|    wt = (PyTupleObject *)w;
 2973|       |
 2974|    183|    vlen = Py_SIZE(vt);
  ------------------
  |  |  214|    183|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    183|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    183|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2975|    183|    wlen = Py_SIZE(wt);
  ------------------
  |  |  214|    183|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    183|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    183|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2976|       |
 2977|    183|    for (i = 0; i < vlen && i < wlen; i++) {
  ------------------
  |  Branch (2977:17): [True: 183, False: 0]
  |  Branch (2977:29): [True: 183, False: 0]
  ------------------
 2978|    183|        k = PyObject_RichCompareBool(vt->ob_item[i], wt->ob_item[i], Py_EQ);
  ------------------
  |  |  654|    183|#define Py_EQ 2
  ------------------
 2979|    183|        if (k < 0)
  ------------------
  |  Branch (2979:13): [True: 0, False: 183]
  ------------------
 2980|      0|            return -1;
 2981|    183|        if (!k)
  ------------------
  |  Branch (2981:13): [True: 183, False: 0]
  ------------------
 2982|    183|            break;
 2983|    183|    }
 2984|       |
 2985|    183|    if (i >= vlen || i >= wlen)
  ------------------
  |  Branch (2985:9): [True: 0, False: 183]
  |  Branch (2985:22): [True: 0, False: 183]
  ------------------
 2986|      0|        return vlen < wlen;
 2987|       |
 2988|    183|    if (i == 0)
  ------------------
  |  Branch (2988:9): [True: 183, False: 0]
  ------------------
 2989|    183|        return ms->tuple_elem_compare(vt->ob_item[i], wt->ob_item[i], ms);
 2990|      0|    else
 2991|      0|        return PyObject_RichCompareBool(vt->ob_item[i], wt->ob_item[i], Py_LT);
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
 2992|    183|}
listobject.c:merge_init:
 2289|   180k|{
 2290|   180k|    assert(ms != NULL);
  ------------------
  |  Branch (2290:5): [True: 180k, False: 0]
  ------------------
 2291|   180k|    if (has_keyfunc) {
  ------------------
  |  Branch (2291:9): [True: 2, False: 180k]
  ------------------
 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|      2|        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|      2|        if (MERGESTATE_TEMP_SIZE / 2 < ms->alloced)
  ------------------
  |  | 1786|      2|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (2302:13): [True: 0, False: 2]
  ------------------
 2303|      0|            ms->alloced = MERGESTATE_TEMP_SIZE / 2;
  ------------------
  |  | 1786|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
 2304|      2|        ms->a.values = &ms->temparray[ms->alloced];
 2305|      2|    }
 2306|   180k|    else {
 2307|   180k|        ms->alloced = MERGESTATE_TEMP_SIZE;
  ------------------
  |  | 1786|   180k|#define MERGESTATE_TEMP_SIZE 256
  ------------------
 2308|   180k|        ms->a.values = NULL;
 2309|   180k|    }
 2310|   180k|    ms->a.keys = ms->temparray;
 2311|   180k|    ms->n = 0;
 2312|   180k|    ms->min_gallop = MIN_GALLOP;
  ------------------
  |  | 1783|   180k|#define MIN_GALLOP 7
  ------------------
 2313|   180k|    ms->listlen = list_size;
 2314|   180k|    ms->basekeys = lo->keys;
 2315|       |
 2316|       |    /* State for generating minrun values. See listsort.txt. */
 2317|   180k|    ms->mr_e = 0;
 2318|   181k|    while (list_size >> ms->mr_e >= MAX_MINRUN) {
  ------------------
  |  | 1789|   181k|#define MAX_MINRUN 64
  ------------------
  |  Branch (2318:12): [True: 909, False: 180k]
  ------------------
 2319|    909|        ++ms->mr_e;
 2320|    909|    }
 2321|   180k|    ms->mr_mask = ((Py_ssize_t)1 << ms->mr_e) - 1;
 2322|   180k|    ms->mr_current = 0;
 2323|   180k|}
listobject.c:count_run:
 2007|  73.4k|{
 2008|  73.4k|    Py_ssize_t k; /* used by IFLT macro expansion */
 2009|  73.4k|    Py_ssize_t n;
 2010|  73.4k|    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|  73.4k|#define REVERSE_LAST_NEQ                        \
 2019|  73.4k|    if (neq) {                                  \
 2020|  73.4k|        sortslice slice = *slo;                 \
 2021|  73.4k|        ++neq;                                  \
 2022|  73.4k|        sortslice_advance(&slice, n - neq);     \
 2023|  73.4k|        sortslice_reverse(&slice, neq);         \
 2024|  73.4k|        neq = 0;                                \
 2025|  73.4k|    }
 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|  73.4k|#define IF_NEXT_LARGER  IFLT(lo[n-1], lo[n])
 2033|  73.4k|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
 2034|       |
 2035|  73.4k|    assert(nremaining);
  ------------------
  |  Branch (2035:5): [True: 73.4k, False: 0]
  ------------------
 2036|       |    /* try ascending run first */
 2037|   121k|    for (n = 1; n < nremaining; ++n) {
  ------------------
  |  Branch (2037:17): [True: 98.0k, False: 23.3k]
  ------------------
 2038|  98.0k|        IF_NEXT_SMALLER
  ------------------
  |  | 2033|  98.0k|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1770|  98.0k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1764|  98.0k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1770:24): [True: 0, False: 98.0k]
  |  |  |  |  ------------------
  |  |  |  | 1771|  98.0k|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1771:16): [True: 50.1k, False: 47.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2039|  50.1k|            break;
 2040|  98.0k|    }
 2041|  73.4k|    if (n == nremaining)
  ------------------
  |  Branch (2041:9): [True: 23.3k, False: 50.1k]
  ------------------
 2042|  23.3k|        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|  50.1k|    if (n > 1) {
  ------------------
  |  Branch (2053:9): [True: 11.6k, False: 38.4k]
  ------------------
 2054|  11.6k|        IFLT(lo[0], lo[n-1])
  ------------------
  |  | 1770|  11.6k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|  11.6k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 11.6k]
  |  |  ------------------
  |  | 1771|  11.6k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 11.6k, False: 0]
  |  |  ------------------
  ------------------
 2055|  11.6k|            return n;
 2056|      0|        sortslice_reverse(slo, n);
 2057|      0|    }
 2058|  38.4k|    ++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|  38.4k|    Py_ssize_t neq = 0;
 2065|  48.9k|    for ( ; n < nremaining; ++n) {
  ------------------
  |  Branch (2065:13): [True: 43.4k, False: 5.45k]
  ------------------
 2066|  43.4k|        IF_NEXT_SMALLER {
  ------------------
  |  | 2033|  43.4k|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1770|  43.4k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1764|  43.4k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1770:24): [True: 0, False: 43.4k]
  |  |  |  |  ------------------
  |  |  |  | 1771|  43.4k|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1771:16): [True: 10.4k, False: 33.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2067|       |            /* This ends the most recent run of equal elements, but still in
 2068|       |             * the "descending" direction.
 2069|       |             */
 2070|  10.4k|            REVERSE_LAST_NEQ
  ------------------
  |  | 2019|  10.4k|    if (neq) {                                  \
  |  |  ------------------
  |  |  |  Branch (2019:9): [True: 0, False: 10.4k]
  |  |  ------------------
  |  | 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|  10.4k|        }
 2072|  33.0k|        else {
 2073|  33.0k|            IF_NEXT_LARGER /* descending run is over */
  ------------------
  |  | 2032|  33.0k|#define IF_NEXT_LARGER  IFLT(lo[n-1], lo[n])
  |  |  ------------------
  |  |  |  | 1770|  33.0k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1764|  33.0k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1770:24): [True: 0, False: 33.0k]
  |  |  |  |  ------------------
  |  |  |  | 1771|  33.0k|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1771:16): [True: 33.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2074|  33.0k|                break;
 2075|      0|            else /* not x < y and not y < x implies x == y */
 2076|      0|                ++neq;
 2077|  33.0k|        }
 2078|  43.4k|    }
 2079|  38.4k|    REVERSE_LAST_NEQ
  ------------------
  |  | 2019|  38.4k|    if (neq) {                                  \
  |  |  ------------------
  |  |  |  Branch (2019:9): [True: 0, False: 38.4k]
  |  |  ------------------
  |  | 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|  38.4k|    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|  64.7k|    for ( ; n < nremaining; ++n) {
  ------------------
  |  Branch (2086:13): [True: 46.6k, False: 18.0k]
  ------------------
 2087|  46.6k|        IF_NEXT_SMALLER
  ------------------
  |  | 2033|  46.6k|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1770|  46.6k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1764|  46.6k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1770:24): [True: 0, False: 46.6k]
  |  |  |  |  ------------------
  |  |  |  | 1771|  46.6k|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1771:16): [True: 20.4k, False: 26.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2088|  20.4k|            break;
 2089|  46.6k|    }
 2090|       |
 2091|  38.4k|    return n;
 2092|      0|fail:
 2093|      0|    return -1;
 2094|       |
 2095|  38.4k|#undef REVERSE_LAST_NEQ
 2096|  38.4k|#undef IF_NEXT_SMALLER
 2097|  38.4k|#undef IF_NEXT_LARGER
 2098|  38.4k|}
listobject.c:sortslice_reverse:
 1991|  38.4k|{
 1992|  38.4k|    reverse_slice(s->keys, &s->keys[n]);
 1993|  38.4k|    if (s->values != NULL)
  ------------------
  |  Branch (1993:9): [True: 0, False: 38.4k]
  ------------------
 1994|      0|        reverse_slice(s->values, &s->values[n]);
 1995|  38.4k|}
listobject.c:minrun_next:
 2803|  73.4k|{
 2804|  73.4k|    ms->mr_current += ms->listlen;
 2805|  73.4k|    assert(ms->mr_current >= 0); /* no overflow */
  ------------------
  |  Branch (2805:5): [True: 73.4k, False: 0]
  ------------------
 2806|  73.4k|    Py_ssize_t result = ms->mr_current >> ms->mr_e;
 2807|  73.4k|    ms->mr_current &= ms->mr_mask;
 2808|  73.4k|    return result;
 2809|  73.4k|}
listobject.c:binarysort:
 1869|  32.1k|{
 1870|  32.1k|    Py_ssize_t k; /* for IFLT macro expansion */
 1871|  32.1k|    PyObject ** const a = ss->keys;
 1872|  32.1k|    PyObject ** const v = ss->values;
 1873|  32.1k|    const bool has_values = v != NULL;
 1874|  32.1k|    PyObject *pivot;
 1875|  32.1k|    Py_ssize_t M;
 1876|       |
 1877|  32.1k|    assert(0 <= ok && ok <= n && 1 <= n && n <= MAX_MINRUN);
  ------------------
  |  Branch (1877:5): [True: 32.1k, False: 0]
  |  Branch (1877:5): [True: 32.1k, False: 0]
  |  Branch (1877:5): [True: 32.1k, False: 0]
  |  Branch (1877:5): [True: 32.1k, False: 0]
  ------------------
 1878|       |    /* assert a[:ok] is sorted */
 1879|  32.1k|    if (! ok)
  ------------------
  |  Branch (1879:9): [True: 0, False: 32.1k]
  ------------------
 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|  32.1k|    Py_ssize_t L, R;
 1932|   251k|    for (; ok < n; ++ok) {
  ------------------
  |  Branch (1932:12): [True: 219k, False: 32.1k]
  ------------------
 1933|       |        /* set L to where a[ok] belongs */
 1934|   219k|        L = 0;
 1935|   219k|        R = ok;
 1936|   219k|        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|   219k|        assert(L < R);
  ------------------
  |  Branch (1942:9): [True: 219k, False: 0]
  ------------------
 1943|   750k|        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|   750k|            M = (L + R) >> 1;
 1947|   750k|#if 1 // straightforward, but highly unpredictable branch on random data
 1948|   750k|            IFLT(pivot, a[M])
  ------------------
  |  | 1770|   750k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|   750k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 750k]
  |  |  ------------------
  |  | 1771|   750k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 412k, False: 338k]
  |  |  ------------------
  ------------------
 1949|   412k|                R = M;
 1950|   338k|            else
 1951|   338k|                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|   750k|        } while (L < R);
  ------------------
  |  Branch (1965:18): [True: 530k, False: 219k]
  ------------------
 1966|   219k|        assert(L == R);
  ------------------
  |  Branch (1966:9): [True: 219k, 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|  1.58M|        for (M = ok; M > L; --M)
  ------------------
  |  Branch (1972:22): [True: 1.36M, False: 219k]
  ------------------
 1973|  1.36M|            a[M] = a[M - 1];
 1974|   219k|        a[L] = pivot;
 1975|   219k|        if (has_values) {
  ------------------
  |  Branch (1975:13): [True: 0, False: 219k]
  ------------------
 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|   219k|    }
 1982|  32.1k|#endif // pick binary or regular insertion sort
 1983|  32.1k|    return 0;
 1984|       |
 1985|      0| fail:
 1986|      0|    return -1;
 1987|  32.1k|}
listobject.c:found_new_run:
 2761|  73.4k|{
 2762|  73.4k|    assert(ms);
  ------------------
  |  Branch (2762:5): [True: 73.4k, False: 0]
  ------------------
 2763|  73.4k|    if (ms->n) {
  ------------------
  |  Branch (2763:9): [True: 975, False: 72.4k]
  ------------------
 2764|    975|        assert(ms->n > 0);
  ------------------
  |  Branch (2764:9): [True: 975, False: 0]
  ------------------
 2765|    975|        struct s_slice *p = ms->pending;
 2766|    975|        Py_ssize_t s1 = p[ms->n - 1].base.keys - ms->basekeys; /* start index */
 2767|    975|        Py_ssize_t n1 = p[ms->n - 1].len;
 2768|    975|        int power = powerloop(s1, n1, n2, ms->listlen);
 2769|  1.04k|        while (ms->n > 1 && p[ms->n - 2].power > power) {
  ------------------
  |  Branch (2769:16): [True: 132, False: 909]
  |  Branch (2769:29): [True: 66, False: 66]
  ------------------
 2770|     66|            if (merge_at(ms, ms->n - 2) < 0)
  ------------------
  |  Branch (2770:17): [True: 0, False: 66]
  ------------------
 2771|      0|                return -1;
 2772|     66|        }
 2773|    975|        assert(ms->n < 2 || p[ms->n - 2].power < power);
  ------------------
  |  Branch (2773:9): [True: 909, False: 66]
  |  Branch (2773:9): [True: 66, False: 0]
  ------------------
 2774|    975|        p[ms->n - 1].power = power;
 2775|    975|    }
 2776|  73.4k|    return 0;
 2777|  73.4k|}
listobject.c:powerloop:
 2714|    975|{
 2715|    975|    int result = 0;
 2716|    975|    assert(s1 >= 0);
  ------------------
  |  Branch (2716:5): [True: 975, False: 0]
  ------------------
 2717|    975|    assert(n1 > 0 && n2 > 0);
  ------------------
  |  Branch (2717:5): [True: 975, False: 0]
  |  Branch (2717:5): [True: 975, False: 0]
  ------------------
 2718|    975|    assert(s1 + n1 + n2 <= n);
  ------------------
  |  Branch (2718:5): [True: 975, 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|    975|    Py_ssize_t a = 2 * s1 + n1;  /* 2*a */
 2729|    975|    Py_ssize_t b = a + n1 + n2;  /* 2*b */
 2730|       |    /* Emulate a/n and b/n one bit a time, until bits differ. */
 2731|  1.11k|    for (;;) {
 2732|  1.11k|        ++result;
 2733|  1.11k|        if (a >= n) {  /* both quotient bits are 1 */
  ------------------
  |  Branch (2733:13): [True: 68, False: 1.04k]
  ------------------
 2734|     68|            assert(b >= a);
  ------------------
  |  Branch (2734:13): [True: 68, False: 0]
  ------------------
 2735|     68|            a -= n;
 2736|     68|            b -= n;
 2737|     68|        }
 2738|  1.04k|        else if (b >= n) {  /* a/n bit is 0, b/n bit is 1 */
  ------------------
  |  Branch (2738:18): [True: 975, False: 68]
  ------------------
 2739|    975|            break;
 2740|    975|        } /* else both quotient bits are 0 */
 2741|  1.11k|        assert(a < b && b < n);
  ------------------
  |  Branch (2741:9): [True: 136, False: 0]
  |  Branch (2741:9): [True: 136, False: 0]
  ------------------
 2742|    136|        a <<= 1;
 2743|    136|        b <<= 1;
 2744|    136|    }
 2745|    975|    return result;
 2746|    975|}
listobject.c:merge_at:
 2654|    975|{
 2655|    975|    sortslice ssa, ssb;
 2656|    975|    Py_ssize_t na, nb;
 2657|    975|    Py_ssize_t k;
 2658|       |
 2659|    975|    assert(ms != NULL);
  ------------------
  |  Branch (2659:5): [True: 975, False: 0]
  ------------------
 2660|    975|    assert(ms->n >= 2);
  ------------------
  |  Branch (2660:5): [True: 975, False: 0]
  ------------------
 2661|    975|    assert(i >= 0);
  ------------------
  |  Branch (2661:5): [True: 975, False: 0]
  ------------------
 2662|    975|    assert(i == ms->n - 2 || i == ms->n - 3);
  ------------------
  |  Branch (2662:5): [True: 975, False: 0]
  |  Branch (2662:5): [True: 0, False: 0]
  ------------------
 2663|       |
 2664|    975|    ssa = ms->pending[i].base;
 2665|    975|    na = ms->pending[i].len;
 2666|    975|    ssb = ms->pending[i+1].base;
 2667|    975|    nb = ms->pending[i+1].len;
 2668|    975|    assert(na > 0 && nb > 0);
  ------------------
  |  Branch (2668:5): [True: 975, False: 0]
  |  Branch (2668:5): [True: 975, False: 0]
  ------------------
 2669|    975|    assert(ssa.keys + na == ssb.keys);
  ------------------
  |  Branch (2669:5): [True: 975, 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|    975|    ms->pending[i].len = na + nb;
 2676|    975|    if (i == ms->n - 3)
  ------------------
  |  Branch (2676:9): [True: 0, False: 975]
  ------------------
 2677|      0|        ms->pending[i+1] = ms->pending[i+2];
 2678|    975|    --ms->n;
 2679|       |
 2680|       |    /* Where does b start in a?  Elements in a before that can be
 2681|       |     * ignored (already in place).
 2682|       |     */
 2683|    975|    k = gallop_right(ms, *ssb.keys, ssa.keys, na, 0);
 2684|    975|    if (k < 0)
  ------------------
  |  Branch (2684:9): [True: 0, False: 975]
  ------------------
 2685|      0|        return -1;
 2686|    975|    sortslice_advance(&ssa, k);
 2687|    975|    na -= k;
 2688|    975|    if (na == 0)
  ------------------
  |  Branch (2688:9): [True: 0, False: 975]
  ------------------
 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|    975|    nb = gallop_left(ms, ssa.keys[na-1], ssb.keys, nb, nb-1);
 2695|    975|    if (nb <= 0)
  ------------------
  |  Branch (2695:9): [True: 0, False: 975]
  ------------------
 2696|      0|        return nb;
 2697|       |
 2698|       |    /* Merge what remains of the runs, using a temp array with
 2699|       |     * min(na, nb) elements.
 2700|       |     */
 2701|    975|    if (na <= nb)
  ------------------
  |  Branch (2701:9): [True: 623, False: 352]
  ------------------
 2702|    623|        return merge_lo(ms, ssa, na, ssb, nb);
 2703|    352|    else
 2704|    352|        return merge_hi(ms, ssa, na, ssb, nb);
 2705|    975|}
listobject.c:gallop_right:
 2212|  4.17k|{
 2213|  4.17k|    Py_ssize_t ofs;
 2214|  4.17k|    Py_ssize_t lastofs;
 2215|  4.17k|    Py_ssize_t k;
 2216|       |
 2217|  4.17k|    assert(key && a && n > 0 && hint >= 0 && hint < n);
  ------------------
  |  Branch (2217:5): [True: 4.17k, False: 0]
  |  Branch (2217:5): [True: 4.17k, False: 0]
  |  Branch (2217:5): [True: 4.17k, False: 0]
  |  Branch (2217:5): [True: 4.17k, False: 0]
  |  Branch (2217:5): [True: 4.17k, False: 0]
  ------------------
 2218|       |
 2219|  4.17k|    a += hint;
 2220|  4.17k|    lastofs = 0;
 2221|  4.17k|    ofs = 1;
 2222|  4.17k|    IFLT(key, *a) {
  ------------------
  |  | 1770|  4.17k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|  4.17k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 4.17k]
  |  |  ------------------
  |  | 1771|  4.17k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 2.24k, False: 1.93k]
  |  |  ------------------
  ------------------
 2223|       |        /* key < a[hint] -- gallop left, until
 2224|       |         * a[hint - ofs] <= key < a[hint - lastofs]
 2225|       |         */
 2226|  2.24k|        const Py_ssize_t maxofs = hint + 1;             /* &a[0] is lowest */
 2227|  3.04k|        while (ofs < maxofs) {
  ------------------
  |  Branch (2227:16): [True: 1.25k, False: 1.78k]
  ------------------
 2228|  1.25k|            IFLT(key, *(a-ofs)) {
  ------------------
  |  | 1770|  1.25k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|  1.25k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 1.25k]
  |  |  ------------------
  |  | 1771|  1.25k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 794, False: 462]
  |  |  ------------------
  ------------------
 2229|    794|                lastofs = ofs;
 2230|    794|                assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2230:17): [True: 794, False: 0]
  ------------------
 2231|    794|                ofs = (ofs << 1) + 1;
 2232|    794|            }
 2233|    462|            else                /* a[hint - ofs] <= key */
 2234|    462|                break;
 2235|  1.25k|        }
 2236|  2.24k|        if (ofs > maxofs)
  ------------------
  |  Branch (2236:13): [True: 53, False: 2.19k]
  ------------------
 2237|     53|            ofs = maxofs;
 2238|       |        /* Translate back to positive offsets relative to &a[0]. */
 2239|  2.24k|        k = lastofs;
 2240|  2.24k|        lastofs = hint - ofs;
 2241|  2.24k|        ofs = hint - k;
 2242|  2.24k|    }
 2243|  1.93k|    else {
 2244|       |        /* a[hint] <= key -- gallop right, until
 2245|       |         * a[hint + lastofs] <= key < a[hint + ofs]
 2246|       |        */
 2247|  1.93k|        const Py_ssize_t maxofs = n - hint;             /* &a[n-1] is highest */
 2248|  4.69k|        while (ofs < maxofs) {
  ------------------
  |  Branch (2248:16): [True: 4.17k, False: 519]
  ------------------
 2249|  4.17k|            IFLT(key, a[ofs])
  ------------------
  |  | 1770|  4.17k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|  4.17k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 4.17k]
  |  |  ------------------
  |  | 1771|  4.17k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 1.41k, False: 2.76k]
  |  |  ------------------
  ------------------
 2250|  1.41k|                break;
 2251|       |            /* a[hint + ofs] <= key */
 2252|  2.76k|            lastofs = ofs;
 2253|  2.76k|            assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2253:13): [True: 2.76k, False: 0]
  ------------------
 2254|  2.76k|            ofs = (ofs << 1) + 1;
 2255|  2.76k|        }
 2256|  1.93k|        if (ofs > maxofs)
  ------------------
  |  Branch (2256:13): [True: 107, False: 1.82k]
  ------------------
 2257|    107|            ofs = maxofs;
 2258|       |        /* Translate back to offsets relative to &a[0]. */
 2259|  1.93k|        lastofs += hint;
 2260|  1.93k|        ofs += hint;
 2261|  1.93k|    }
 2262|  4.17k|    a -= hint;
 2263|       |
 2264|  4.17k|    assert(-1 <= lastofs && lastofs < ofs && ofs <= n);
  ------------------
  |  Branch (2264:5): [True: 4.17k, False: 0]
  |  Branch (2264:5): [True: 4.17k, False: 0]
  |  Branch (2264:5): [True: 4.17k, 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|  4.17k|    ++lastofs;
 2270|  7.60k|    while (lastofs < ofs) {
  ------------------
  |  Branch (2270:12): [True: 3.42k, False: 4.17k]
  ------------------
 2271|  3.42k|        Py_ssize_t m = lastofs + ((ofs - lastofs) >> 1);
 2272|       |
 2273|  3.42k|        IFLT(key, a[m])
  ------------------
  |  | 1770|  3.42k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|  3.42k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 3.42k]
  |  |  ------------------
  |  | 1771|  3.42k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 2.01k, False: 1.40k]
  |  |  ------------------
  ------------------
 2274|  2.01k|            ofs = m;                    /* key < a[m] */
 2275|  1.40k|        else
 2276|  1.40k|            lastofs = m+1;              /* a[m] <= key */
 2277|  3.42k|    }
 2278|  4.17k|    assert(lastofs == ofs);             /* so a[ofs-1] <= key < a[ofs] */
  ------------------
  |  Branch (2278:5): [True: 4.17k, False: 0]
  ------------------
 2279|  4.17k|    return ofs;
 2280|       |
 2281|      0|fail:
 2282|      0|    return -1;
 2283|  4.17k|}
listobject.c:gallop_left:
 2123|  4.00k|{
 2124|  4.00k|    Py_ssize_t ofs;
 2125|  4.00k|    Py_ssize_t lastofs;
 2126|  4.00k|    Py_ssize_t k;
 2127|       |
 2128|  4.00k|    assert(key && a && n > 0 && hint >= 0 && hint < n);
  ------------------
  |  Branch (2128:5): [True: 4.00k, False: 0]
  |  Branch (2128:5): [True: 4.00k, False: 0]
  |  Branch (2128:5): [True: 4.00k, False: 0]
  |  Branch (2128:5): [True: 4.00k, False: 0]
  |  Branch (2128:5): [True: 4.00k, False: 0]
  ------------------
 2129|       |
 2130|  4.00k|    a += hint;
 2131|  4.00k|    lastofs = 0;
 2132|  4.00k|    ofs = 1;
 2133|  4.00k|    IFLT(*a, key) {
  ------------------
  |  | 1770|  4.00k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|  4.00k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 4.00k]
  |  |  ------------------
  |  | 1771|  4.00k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 2.28k, False: 1.71k]
  |  |  ------------------
  ------------------
 2134|       |        /* a[hint] < key -- gallop right, until
 2135|       |         * a[hint + lastofs] < key <= a[hint + ofs]
 2136|       |         */
 2137|  2.28k|        const Py_ssize_t maxofs = n - hint;             /* &a[n-1] is highest */
 2138|  4.17k|        while (ofs < maxofs) {
  ------------------
  |  Branch (2138:16): [True: 3.16k, False: 1.01k]
  ------------------
 2139|  3.16k|            IFLT(a[ofs], key) {
  ------------------
  |  | 1770|  3.16k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|  3.16k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 3.16k]
  |  |  ------------------
  |  | 1771|  3.16k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 1.88k, False: 1.27k]
  |  |  ------------------
  ------------------
 2140|  1.88k|                lastofs = ofs;
 2141|  1.88k|                assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2141:17): [True: 1.88k, False: 0]
  ------------------
 2142|  1.88k|                ofs = (ofs << 1) + 1;
 2143|  1.88k|            }
 2144|  1.27k|            else                /* key <= a[hint + ofs] */
 2145|  1.27k|                break;
 2146|  3.16k|        }
 2147|  2.28k|        if (ofs > maxofs)
  ------------------
  |  Branch (2147:13): [True: 140, False: 2.14k]
  ------------------
 2148|    140|            ofs = maxofs;
 2149|       |        /* Translate back to offsets relative to &a[0]. */
 2150|  2.28k|        lastofs += hint;
 2151|  2.28k|        ofs += hint;
 2152|  2.28k|    }
 2153|  1.71k|    else {
 2154|       |        /* key <= a[hint] -- gallop left, until
 2155|       |         * a[hint - ofs] < key <= a[hint - lastofs]
 2156|       |         */
 2157|  1.71k|        const Py_ssize_t maxofs = hint + 1;             /* &a[0] is lowest */
 2158|  3.09k|        while (ofs < maxofs) {
  ------------------
  |  Branch (2158:16): [True: 2.29k, False: 794]
  ------------------
 2159|  2.29k|            IFLT(*(a-ofs), key)
  ------------------
  |  | 1770|  2.29k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|  2.29k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 2.29k]
  |  |  ------------------
  |  | 1771|  2.29k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 923, False: 1.37k]
  |  |  ------------------
  ------------------
 2160|    923|                break;
 2161|       |            /* key <= a[hint - ofs] */
 2162|  1.37k|            lastofs = ofs;
 2163|  1.37k|            assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2163:13): [True: 1.37k, False: 0]
  ------------------
 2164|  1.37k|            ofs = (ofs << 1) + 1;
 2165|  1.37k|        }
 2166|  1.71k|        if (ofs > maxofs)
  ------------------
  |  Branch (2166:13): [True: 51, False: 1.66k]
  ------------------
 2167|     51|            ofs = maxofs;
 2168|       |        /* Translate back to positive offsets relative to &a[0]. */
 2169|  1.71k|        k = lastofs;
 2170|  1.71k|        lastofs = hint - ofs;
 2171|  1.71k|        ofs = hint - k;
 2172|  1.71k|    }
 2173|  4.00k|    a -= hint;
 2174|       |
 2175|  4.00k|    assert(-1 <= lastofs && lastofs < ofs && ofs <= n);
  ------------------
  |  Branch (2175:5): [True: 4.00k, False: 0]
  |  Branch (2175:5): [True: 4.00k, False: 0]
  |  Branch (2175:5): [True: 4.00k, 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|  4.00k|    ++lastofs;
 2181|  7.08k|    while (lastofs < ofs) {
  ------------------
  |  Branch (2181:12): [True: 3.08k, False: 4.00k]
  ------------------
 2182|  3.08k|        Py_ssize_t m = lastofs + ((ofs - lastofs) >> 1);
 2183|       |
 2184|  3.08k|        IFLT(a[m], key)
  ------------------
  |  | 1770|  3.08k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1764|  3.08k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1770:24): [True: 0, False: 3.08k]
  |  |  ------------------
  |  | 1771|  3.08k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1771:16): [True: 1.47k, False: 1.60k]
  |  |  ------------------
  ------------------
 2185|  1.47k|            lastofs = m+1;              /* a[m] < key */
 2186|  1.60k|        else
 2187|  1.60k|            ofs = m;                    /* key <= a[m] */
 2188|  3.08k|    }
 2189|  4.00k|    assert(lastofs == ofs);             /* so a[ofs-1] < key <= a[ofs] */
  ------------------
  |  Branch (2189:5): [True: 4.00k, False: 0]
  ------------------
 2190|  4.00k|    return ofs;
 2191|       |
 2192|      0|fail:
 2193|      0|    return -1;
 2194|  4.00k|}
listobject.c:merge_lo:
 2384|    623|{
 2385|    623|    Py_ssize_t k;
 2386|    623|    sortslice dest;
 2387|    623|    int result = -1;            /* guilty until proved innocent */
 2388|    623|    Py_ssize_t min_gallop;
 2389|       |
 2390|    623|    assert(ms && ssa.keys && ssb.keys && na > 0 && nb > 0);
  ------------------
  |  Branch (2390:5): [True: 623, False: 0]
  |  Branch (2390:5): [True: 623, False: 0]
  |  Branch (2390:5): [True: 623, False: 0]
  |  Branch (2390:5): [True: 623, False: 0]
  |  Branch (2390:5): [True: 623, False: 0]
  ------------------
 2391|    623|    assert(ssa.keys + na == ssb.keys);
  ------------------
  |  Branch (2391:5): [True: 623, False: 0]
  ------------------
 2392|    623|    if (MERGE_GETMEM(ms, na) < 0)
  ------------------
  |  | 2372|    623|#define MERGE_GETMEM(MS, NEED) ((NEED) <= (MS)->alloced ? 0 :   \
  |  |  ------------------
  |  |  |  Branch (2372:33): [True: 623, False: 0]
  |  |  ------------------
  |  | 2373|    623|                                merge_getmem(MS, NEED))
  ------------------
  |  Branch (2392:9): [True: 0, False: 623]
  ------------------
 2393|      0|        return -1;
 2394|    623|    sortslice_memcpy(&ms->a, 0, &ssa, 0, na);
 2395|    623|    dest = ssa;
 2396|    623|    ssa = ms->a;
 2397|       |
 2398|    623|    sortslice_copy_incr(&dest, &ssb);
 2399|    623|    --nb;
 2400|    623|    if (nb == 0)
  ------------------
  |  Branch (2400:9): [True: 0, False: 623]
  ------------------
 2401|      0|        goto Succeed;
 2402|    623|    if (na == 1)
  ------------------
  |  Branch (2402:9): [True: 0, False: 623]
  ------------------
 2403|      0|        goto CopyB;
 2404|       |
 2405|    623|    min_gallop = ms->min_gallop;
 2406|  1.76k|    for (;;) {
 2407|  1.76k|        Py_ssize_t acount = 0;          /* # of times A won in a row */
 2408|  1.76k|        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|  26.9k|        for (;;) {
 2414|  26.9k|            assert(na > 1 && nb > 0);
  ------------------
  |  Branch (2414:13): [True: 26.9k, False: 0]
  |  Branch (2414:13): [True: 26.9k, False: 0]
  ------------------
 2415|  26.9k|            k = ISLT(ssb.keys[0], ssa.keys[0]);
  ------------------
  |  | 1764|  26.9k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  ------------------
 2416|  26.9k|            if (k) {
  ------------------
  |  Branch (2416:17): [True: 14.1k, False: 12.8k]
  ------------------
 2417|  14.1k|                if (k < 0)
  ------------------
  |  Branch (2417:21): [True: 0, False: 14.1k]
  ------------------
 2418|      0|                    goto Fail;
 2419|  14.1k|                sortslice_copy_incr(&dest, &ssb);
 2420|  14.1k|                ++bcount;
 2421|  14.1k|                acount = 0;
 2422|  14.1k|                --nb;
 2423|  14.1k|                if (nb == 0)
  ------------------
  |  Branch (2423:21): [True: 122, False: 13.9k]
  ------------------
 2424|    122|                    goto Succeed;
 2425|  13.9k|                if (bcount >= min_gallop)
  ------------------
  |  Branch (2425:21): [True: 809, False: 13.1k]
  ------------------
 2426|    809|                    break;
 2427|  13.9k|            }
 2428|  12.8k|            else {
 2429|  12.8k|                sortslice_copy_incr(&dest, &ssa);
 2430|  12.8k|                ++acount;
 2431|  12.8k|                bcount = 0;
 2432|  12.8k|                --na;
 2433|  12.8k|                if (na == 1)
  ------------------
  |  Branch (2433:21): [True: 286, False: 12.6k]
  ------------------
 2434|    286|                    goto CopyB;
 2435|  12.6k|                if (acount >= min_gallop)
  ------------------
  |  Branch (2435:21): [True: 547, False: 12.0k]
  ------------------
 2436|    547|                    break;
 2437|  12.6k|            }
 2438|  26.9k|        }
 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|  1.35k|        ++min_gallop;
 2446|  2.26k|        do {
 2447|  2.26k|            assert(na > 1 && nb > 0);
  ------------------
  |  Branch (2447:13): [True: 2.26k, False: 0]
  |  Branch (2447:13): [True: 2.26k, False: 0]
  ------------------
 2448|  2.26k|            min_gallop -= min_gallop > 1;
 2449|  2.26k|            ms->min_gallop = min_gallop;
 2450|  2.26k|            k = gallop_right(ms, ssb.keys[0], ssa.keys, na, 0);
 2451|  2.26k|            acount = k;
 2452|  2.26k|            if (k) {
  ------------------
  |  Branch (2452:17): [True: 1.37k, False: 884]
  ------------------
 2453|  1.37k|                if (k < 0)
  ------------------
  |  Branch (2453:21): [True: 0, False: 1.37k]
  ------------------
 2454|      0|                    goto Fail;
 2455|  1.37k|                sortslice_memcpy(&dest, 0, &ssa, 0, k);
 2456|  1.37k|                sortslice_advance(&dest, k);
 2457|  1.37k|                sortslice_advance(&ssa, k);
 2458|  1.37k|                na -= k;
 2459|  1.37k|                if (na == 1)
  ------------------
  |  Branch (2459:21): [True: 112, False: 1.26k]
  ------------------
 2460|    112|                    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|  1.26k|                if (na == 0)
  ------------------
  |  Branch (2465:21): [True: 0, False: 1.26k]
  ------------------
 2466|      0|                    goto Succeed;
 2467|  1.26k|            }
 2468|  2.15k|            sortslice_copy_incr(&dest, &ssb);
 2469|  2.15k|            --nb;
 2470|  2.15k|            if (nb == 0)
  ------------------
  |  Branch (2470:17): [True: 11, False: 2.13k]
  ------------------
 2471|     11|                goto Succeed;
 2472|       |
 2473|  2.13k|            k = gallop_left(ms, ssa.keys[0], ssb.keys, nb, 0);
 2474|  2.13k|            bcount = k;
 2475|  2.13k|            if (k) {
  ------------------
  |  Branch (2475:17): [True: 1.42k, False: 710]
  ------------------
 2476|  1.42k|                if (k < 0)
  ------------------
  |  Branch (2476:21): [True: 0, False: 1.42k]
  ------------------
 2477|      0|                    goto Fail;
 2478|  1.42k|                sortslice_memmove(&dest, 0, &ssb, 0, k);
 2479|  1.42k|                sortslice_advance(&dest, k);
 2480|  1.42k|                sortslice_advance(&ssb, k);
 2481|  1.42k|                nb -= k;
 2482|  1.42k|                if (nb == 0)
  ------------------
  |  Branch (2482:21): [True: 74, False: 1.35k]
  ------------------
 2483|     74|                    goto Succeed;
 2484|  1.42k|            }
 2485|  2.06k|            sortslice_copy_incr(&dest, &ssa);
 2486|  2.06k|            --na;
 2487|  2.06k|            if (na == 1)
  ------------------
  |  Branch (2487:17): [True: 18, False: 2.04k]
  ------------------
 2488|     18|                goto CopyB;
 2489|  2.06k|        } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1783|  4.09k|#define MIN_GALLOP 7
  ------------------
                      } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1783|  1.49k|#define MIN_GALLOP 7
  ------------------
  |  Branch (2489:18): [True: 554, False: 1.49k]
  |  Branch (2489:42): [True: 352, False: 1.14k]
  ------------------
 2490|  1.14k|        ++min_gallop;           /* penalize it for leaving galloping mode */
 2491|  1.14k|        ms->min_gallop = min_gallop;
 2492|  1.14k|    }
 2493|    207|Succeed:
 2494|    207|    result = 0;
 2495|    207|Fail:
 2496|    207|    if (na)
  ------------------
  |  Branch (2496:9): [True: 207, False: 0]
  ------------------
 2497|    207|        sortslice_memcpy(&dest, 0, &ssa, 0, na);
 2498|    207|    return result;
 2499|    416|CopyB:
 2500|    416|    assert(na == 1 && nb > 0);
  ------------------
  |  Branch (2500:5): [True: 416, False: 0]
  |  Branch (2500:5): [True: 416, False: 0]
  ------------------
 2501|       |    /* The last element of ssa belongs at the end of the merge. */
 2502|    416|    sortslice_memmove(&dest, 0, &ssb, 0, nb);
 2503|    416|    sortslice_copy(&dest, nb, &ssa, 0);
 2504|    416|    return 0;
 2505|    416|}
listobject.c:sortslice_memcpy:
 1736|  3.33k|{
 1737|  3.33k|    memcpy(&s1->keys[i], &s2->keys[j], sizeof(PyObject *) * n);
 1738|  3.33k|    if (s1->values != NULL)
  ------------------
  |  Branch (1738:9): [True: 0, False: 3.33k]
  ------------------
 1739|      0|        memcpy(&s1->values[i], &s2->values[j], sizeof(PyObject *) * n);
 1740|  3.33k|}
listobject.c:sortslice_copy_incr:
 1718|  31.8k|{
 1719|  31.8k|    *dst->keys++ = *src->keys++;
 1720|  31.8k|    if (dst->values != NULL)
  ------------------
  |  Branch (1720:9): [True: 0, False: 31.8k]
  ------------------
 1721|      0|        *dst->values++ = *src->values++;
 1722|  31.8k|}
listobject.c:sortslice_memmove:
 1745|  2.53k|{
 1746|  2.53k|    memmove(&s1->keys[i], &s2->keys[j], sizeof(PyObject *) * n);
 1747|  2.53k|    if (s1->values != NULL)
  ------------------
  |  Branch (1747:9): [True: 0, False: 2.53k]
  ------------------
 1748|      0|        memmove(&s1->values[i], &s2->values[j], sizeof(PyObject *) * n);
 1749|  2.53k|}
listobject.c:sortslice_copy:
 1710|    563|{
 1711|    563|    s1->keys[i] = s2->keys[j];
 1712|    563|    if (s1->values != NULL)
  ------------------
  |  Branch (1712:9): [True: 0, False: 563]
  ------------------
 1713|      0|        s1->values[i] = s2->values[j];
 1714|    563|}
listobject.c:merge_hi:
 2516|    352|{
 2517|    352|    Py_ssize_t k;
 2518|    352|    sortslice dest, basea, baseb;
 2519|    352|    int result = -1;            /* guilty until proved innocent */
 2520|    352|    Py_ssize_t min_gallop;
 2521|       |
 2522|    352|    assert(ms && ssa.keys && ssb.keys && na > 0 && nb > 0);
  ------------------
  |  Branch (2522:5): [True: 352, False: 0]
  |  Branch (2522:5): [True: 352, False: 0]
  |  Branch (2522:5): [True: 352, False: 0]
  |  Branch (2522:5): [True: 352, False: 0]
  |  Branch (2522:5): [True: 352, False: 0]
  ------------------
 2523|    352|    assert(ssa.keys + na == ssb.keys);
  ------------------
  |  Branch (2523:5): [True: 352, False: 0]
  ------------------
 2524|    352|    if (MERGE_GETMEM(ms, nb) < 0)
  ------------------
  |  | 2372|    352|#define MERGE_GETMEM(MS, NEED) ((NEED) <= (MS)->alloced ? 0 :   \
  |  |  ------------------
  |  |  |  Branch (2372:33): [True: 352, False: 0]
  |  |  ------------------
  |  | 2373|    352|                                merge_getmem(MS, NEED))
  ------------------
  |  Branch (2524:9): [True: 0, False: 352]
  ------------------
 2525|      0|        return -1;
 2526|    352|    dest = ssb;
 2527|    352|    sortslice_advance(&dest, nb-1);
 2528|    352|    sortslice_memcpy(&ms->a, 0, &ssb, 0, nb);
 2529|    352|    basea = ssa;
 2530|    352|    baseb = ms->a;
 2531|    352|    ssb.keys = ms->a.keys + nb - 1;
 2532|    352|    if (ssb.values != NULL)
  ------------------
  |  Branch (2532:9): [True: 0, False: 352]
  ------------------
 2533|      0|        ssb.values = ms->a.values + nb - 1;
 2534|    352|    sortslice_advance(&ssa, na - 1);
 2535|       |
 2536|    352|    sortslice_copy_decr(&dest, &ssa);
 2537|    352|    --na;
 2538|    352|    if (na == 0)
  ------------------
  |  Branch (2538:9): [True: 0, False: 352]
  ------------------
 2539|      0|        goto Succeed;
 2540|    352|    if (nb == 1)
  ------------------
  |  Branch (2540:9): [True: 0, False: 352]
  ------------------
 2541|      0|        goto CopyA;
 2542|       |
 2543|    352|    min_gallop = ms->min_gallop;
 2544|    871|    for (;;) {
 2545|    871|        Py_ssize_t acount = 0;          /* # of times A won in a row */
 2546|    871|        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|  17.5k|        for (;;) {
 2552|  17.5k|            assert(na > 0 && nb > 1);
  ------------------
  |  Branch (2552:13): [True: 17.5k, False: 0]
  |  Branch (2552:13): [True: 17.5k, False: 0]
  ------------------
 2553|  17.5k|            k = ISLT(ssb.keys[0], ssa.keys[0]);
  ------------------
  |  | 1764|  17.5k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  ------------------
 2554|  17.5k|            if (k) {
  ------------------
  |  Branch (2554:17): [True: 9.78k, False: 7.73k]
  ------------------
 2555|  9.78k|                if (k < 0)
  ------------------
  |  Branch (2555:21): [True: 0, False: 9.78k]
  ------------------
 2556|      0|                    goto Fail;
 2557|  9.78k|                sortslice_copy_decr(&dest, &ssa);
 2558|  9.78k|                ++acount;
 2559|  9.78k|                bcount = 0;
 2560|  9.78k|                --na;
 2561|  9.78k|                if (na == 0)
  ------------------
  |  Branch (2561:21): [True: 101, False: 9.68k]
  ------------------
 2562|    101|                    goto Succeed;
 2563|  9.68k|                if (acount >= min_gallop)
  ------------------
  |  Branch (2563:21): [True: 440, False: 9.24k]
  ------------------
 2564|    440|                    break;
 2565|  9.68k|            }
 2566|  7.73k|            else {
 2567|  7.73k|                sortslice_copy_decr(&dest, &ssb);
 2568|  7.73k|                ++bcount;
 2569|  7.73k|                acount = 0;
 2570|  7.73k|                --nb;
 2571|  7.73k|                if (nb == 1)
  ------------------
  |  Branch (2571:21): [True: 111, False: 7.61k]
  ------------------
 2572|    111|                    goto CopyA;
 2573|  7.61k|                if (bcount >= min_gallop)
  ------------------
  |  Branch (2573:21): [True: 219, False: 7.40k]
  ------------------
 2574|    219|                    break;
 2575|  7.61k|            }
 2576|  17.5k|        }
 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|    659|        ++min_gallop;
 2584|    942|        do {
 2585|    942|            assert(na > 0 && nb > 1);
  ------------------
  |  Branch (2585:13): [True: 942, False: 0]
  |  Branch (2585:13): [True: 942, False: 0]
  ------------------
 2586|    942|            min_gallop -= min_gallop > 1;
 2587|    942|            ms->min_gallop = min_gallop;
 2588|    942|            k = gallop_right(ms, ssb.keys[0], basea.keys, na, na-1);
 2589|    942|            if (k < 0)
  ------------------
  |  Branch (2589:17): [True: 0, False: 942]
  ------------------
 2590|      0|                goto Fail;
 2591|    942|            k = na - k;
 2592|    942|            acount = k;
 2593|    942|            if (k) {
  ------------------
  |  Branch (2593:17): [True: 542, False: 400]
  ------------------
 2594|    542|                sortslice_advance(&dest, -k);
 2595|    542|                sortslice_advance(&ssa, -k);
 2596|    542|                sortslice_memmove(&dest, 1, &ssa, 1, k);
 2597|    542|                na -= k;
 2598|    542|                if (na == 0)
  ------------------
  |  Branch (2598:21): [True: 42, False: 500]
  ------------------
 2599|     42|                    goto Succeed;
 2600|    542|            }
 2601|    900|            sortslice_copy_decr(&dest, &ssb);
 2602|    900|            --nb;
 2603|    900|            if (nb == 1)
  ------------------
  |  Branch (2603:17): [True: 8, False: 892]
  ------------------
 2604|      8|                goto CopyA;
 2605|       |
 2606|    892|            k = gallop_left(ms, ssa.keys[0], baseb.keys, nb, nb-1);
 2607|    892|            if (k < 0)
  ------------------
  |  Branch (2607:17): [True: 0, False: 892]
  ------------------
 2608|      0|                goto Fail;
 2609|    892|            k = nb - k;
 2610|    892|            bcount = k;
 2611|    892|            if (k) {
  ------------------
  |  Branch (2611:17): [True: 567, False: 325]
  ------------------
 2612|    567|                sortslice_advance(&dest, -k);
 2613|    567|                sortslice_advance(&ssb, -k);
 2614|    567|                sortslice_memcpy(&dest, 1, &ssb, 1, k);
 2615|    567|                nb -= k;
 2616|    567|                if (nb == 1)
  ------------------
  |  Branch (2616:21): [True: 28, False: 539]
  ------------------
 2617|     28|                    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|    539|                if (nb == 0)
  ------------------
  |  Branch (2622:21): [True: 0, False: 539]
  ------------------
 2623|      0|                    goto Succeed;
 2624|    539|            }
 2625|    864|            sortslice_copy_decr(&dest, &ssa);
 2626|    864|            --na;
 2627|    864|            if (na == 0)
  ------------------
  |  Branch (2627:17): [True: 62, False: 802]
  ------------------
 2628|     62|                goto Succeed;
 2629|    864|        } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1783|  1.60k|#define MIN_GALLOP 7
  ------------------
                      } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1783|    685|#define MIN_GALLOP 7
  ------------------
  |  Branch (2629:18): [True: 117, False: 685]
  |  Branch (2629:42): [True: 166, False: 519]
  ------------------
 2630|    519|        ++min_gallop;           /* penalize it for leaving galloping mode */
 2631|    519|        ms->min_gallop = min_gallop;
 2632|    519|    }
 2633|    205|Succeed:
 2634|    205|    result = 0;
 2635|    205|Fail:
 2636|    205|    if (nb)
  ------------------
  |  Branch (2636:9): [True: 205, False: 0]
  ------------------
 2637|    205|        sortslice_memcpy(&dest, -(nb-1), &baseb, 0, nb);
 2638|    205|    return result;
 2639|    147|CopyA:
 2640|    147|    assert(nb == 1 && na > 0);
  ------------------
  |  Branch (2640:5): [True: 147, False: 0]
  |  Branch (2640:5): [True: 147, False: 0]
  ------------------
 2641|       |    /* The first element of ssb belongs at the front of the merge. */
 2642|    147|    sortslice_memmove(&dest, 1-na, &ssa, 1-na, na);
 2643|    147|    sortslice_advance(&dest, -na);
 2644|    147|    sortslice_advance(&ssa, -na);
 2645|    147|    sortslice_copy(&dest, 0, &ssb, 0);
 2646|    147|    return 0;
 2647|    147|}
listobject.c:sortslice_copy_decr:
 1726|  19.6k|{
 1727|  19.6k|    *dst->keys-- = *src->keys--;
 1728|  19.6k|    if (dst->values != NULL)
  ------------------
  |  Branch (1728:9): [True: 0, False: 19.6k]
  ------------------
 1729|      0|        *dst->values-- = *src->values--;
 1730|  19.6k|}
listobject.c:sortslice_advance:
 1753|  83.2k|{
 1754|  83.2k|    slice->keys += n;
 1755|  83.2k|    if (slice->values != NULL)
  ------------------
  |  Branch (1755:9): [True: 2, False: 83.2k]
  ------------------
 1756|      2|        slice->values += n;
 1757|  83.2k|}
listobject.c:merge_force_collapse:
 2786|  72.4k|{
 2787|  72.4k|    struct s_slice *p = ms->pending;
 2788|       |
 2789|  72.4k|    assert(ms);
  ------------------
  |  Branch (2789:5): [True: 72.4k, False: 0]
  ------------------
 2790|  73.4k|    while (ms->n > 1) {
  ------------------
  |  Branch (2790:12): [True: 909, False: 72.4k]
  ------------------
 2791|    909|        Py_ssize_t n = ms->n - 2;
 2792|    909|        if (n > 0 && p[n-1].len < p[n+1].len)
  ------------------
  |  Branch (2792:13): [True: 62, False: 847]
  |  Branch (2792:22): [True: 0, False: 62]
  ------------------
 2793|      0|            --n;
 2794|    909|        if (merge_at(ms, n) < 0)
  ------------------
  |  Branch (2794:13): [True: 0, False: 909]
  ------------------
 2795|      0|            return -1;
 2796|    909|    }
 2797|  72.4k|    return 0;
 2798|  72.4k|}
listobject.c:merge_freemem:
 2331|   180k|{
 2332|   180k|    assert(ms != NULL);
  ------------------
  |  Branch (2332:5): [True: 180k, False: 0]
  ------------------
 2333|   180k|    if (ms->a.keys != ms->temparray) {
  ------------------
  |  Branch (2333:9): [True: 0, False: 180k]
  ------------------
 2334|      0|        PyMem_Free(ms->a.keys);
 2335|       |        ms->a.keys = NULL;
 2336|      0|    }
 2337|   180k|}
listobject.c:reverse_slice:
 1677|  38.5k|{
 1678|  38.5k|    assert(lo && hi);
  ------------------
  |  Branch (1678:5): [True: 38.5k, False: 0]
  |  Branch (1678:5): [True: 38.5k, False: 0]
  ------------------
 1679|       |
 1680|  38.5k|    --hi;
 1681|  80.0k|    while (lo < hi) {
  ------------------
  |  Branch (1681:12): [True: 41.4k, False: 38.5k]
  ------------------
 1682|  41.4k|        PyObject *t = *lo;
 1683|  41.4k|        FT_ATOMIC_STORE_PTR_RELEASE(*lo, *hi);
  ------------------
  |  |  166|  41.4k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1684|  41.4k|        FT_ATOMIC_STORE_PTR_RELEASE(*hi, t);
  ------------------
  |  |  166|  41.4k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1685|  41.4k|        ++lo;
 1686|  41.4k|        --hi;
 1687|  41.4k|    }
 1688|  38.5k|}
listobject.c:list_slice_subscript:
 3755|     41|{
 3756|     41|    assert(PyList_Check(self));
  ------------------
  |  Branch (3756:5): [True: 41, False: 0]
  ------------------
 3757|     41|    assert(PySlice_Check(item));
  ------------------
  |  Branch (3757:5): [True: 41, False: 0]
  ------------------
 3758|     41|    Py_ssize_t start, stop, step;
 3759|     41|    if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (3759:9): [True: 0, False: 41]
  ------------------
 3760|      0|        return NULL;
 3761|      0|    }
 3762|     41|    return list_slice_wrap((PyListObject *)self, start, stop, step);
 3763|     41|}
listobject.c:list_slice_wrap:
 3736|     41|{
 3737|     41|    PyObject *res = NULL;
 3738|     41|    Py_BEGIN_CRITICAL_SECTION(aa);
  ------------------
  |  |   51|     41|    {
  ------------------
 3739|     41|    Py_ssize_t len = PySlice_AdjustIndices(Py_SIZE(aa), &start, &stop, step);
  ------------------
  |  |  214|     41|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3740|     41|    if (len <= 0) {
  ------------------
  |  Branch (3740:9): [True: 1, False: 40]
  ------------------
 3741|      1|        res = PyList_New(0);
 3742|      1|    }
 3743|     40|    else if (step == 1) {
  ------------------
  |  Branch (3743:14): [True: 36, False: 4]
  ------------------
 3744|     36|        res = list_slice_lock_held(aa, start, stop);
 3745|     36|    }
 3746|      4|    else {
 3747|      4|        res = list_slice_step_lock_held(aa, start, step, len);
 3748|      4|    }
 3749|     41|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     41|    }
  ------------------
 3750|     41|    return res;
 3751|     41|}
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|   869k|{
  613|   869k|    PyListObject *op = (PyListObject *)self;
  614|   869k|    Py_ssize_t i;
  615|   869k|    PyObject_GC_UnTrack(op);
  616|   869k|    if (op->ob_item != NULL) {
  ------------------
  |  Branch (616:9): [True: 548k, False: 320k]
  ------------------
  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|   548k|        i = Py_SIZE(op);
  ------------------
  |  |  214|   548k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   548k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   548k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  622|  5.72M|        while (--i >= 0) {
  ------------------
  |  Branch (622:16): [True: 5.17M, False: 548k]
  ------------------
  623|  5.17M|            Py_XDECREF(op->ob_item[i]);
  ------------------
  |  |  621|  5.17M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.17M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  624|  5.17M|        }
  625|   548k|        free_list_items(op->ob_item, false);
  626|   548k|        op->ob_item = NULL;
  627|   548k|    }
  628|   869k|    if (PyList_CheckExact(op)) {
  ------------------
  |  |   26|   869k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|   869k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   869k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   869k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 869k, False: 411]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  629|   869k|        _Py_FREELIST_FREE(lists, op, PyObject_GC_Del);
  ------------------
  |  |   35|   869k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|   869k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   869k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|   869k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   13|   869k|#  define Py_lists_MAXFREELIST 80
  |  |  ------------------
  ------------------
  630|   869k|    }
  631|    411|    else {
  632|    411|        PyObject_GC_Del(op);
  633|    411|    }
  634|   869k|}
listobject.c:list_repr_impl:
  646|     62|{
  647|     62|    if (PyList_GET_SIZE(v) == 0) {
  ------------------
  |  |   38|     62|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (647:9): [True: 0, False: 62]
  ------------------
  648|      0|        return PyUnicode_FromString("[]");
  649|      0|    }
  650|       |
  651|     62|    int res = Py_ReprEnter((PyObject*)v);
  652|     62|    if (res != 0) {
  ------------------
  |  Branch (652:9): [True: 0, False: 62]
  ------------------
  653|      0|        return (res > 0 ? PyUnicode_FromString("[...]") : NULL);
  ------------------
  |  Branch (653:17): [True: 0, False: 0]
  ------------------
  654|      0|    }
  655|       |
  656|       |    /* "[" + "1" + ", 2" * (len - 1) + "]" */
  657|     62|    Py_ssize_t prealloc = 1 + 1 + (2 + 1) * (Py_SIZE(v) - 1) + 1;
  ------------------
  |  |  214|     62|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  658|     62|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(prealloc);
  659|     62|    PyObject *item = NULL;
  660|     62|    if (writer == NULL) {
  ------------------
  |  Branch (660:9): [True: 0, False: 62]
  ------------------
  661|      0|        goto error;
  662|      0|    }
  663|       |
  664|     62|    if (PyUnicodeWriter_WriteChar(writer, '[') < 0) {
  ------------------
  |  Branch (664:9): [True: 0, False: 62]
  ------------------
  665|      0|        goto error;
  666|      0|    }
  667|       |
  668|       |    /* Do repr() on each element.  Note that this may mutate the list,
  669|       |       so must refetch the list size on each iteration. */
  670|    157|    for (Py_ssize_t i = 0; i < Py_SIZE(v); ++i) {
  ------------------
  |  |  214|    157|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    157|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    157|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (670:28): [True: 95, False: 62]
  ------------------
  671|       |        /* Hold a strong reference since repr(item) can mutate the list */
  672|     95|        item = Py_XNewRef(v->ob_item[i]);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  673|       |
  674|     95|        if (i > 0) {
  ------------------
  |  Branch (674:13): [True: 33, False: 62]
  ------------------
  675|     33|            if (PyUnicodeWriter_WriteChar(writer, ',') < 0) {
  ------------------
  |  Branch (675:17): [True: 0, False: 33]
  ------------------
  676|      0|                goto error;
  677|      0|            }
  678|     33|            if (PyUnicodeWriter_WriteChar(writer, ' ') < 0) {
  ------------------
  |  Branch (678:17): [True: 0, False: 33]
  ------------------
  679|      0|                goto error;
  680|      0|            }
  681|     33|        }
  682|       |
  683|     95|        if (PyUnicodeWriter_WriteRepr(writer, item) < 0) {
  ------------------
  |  Branch (683:13): [True: 0, False: 95]
  ------------------
  684|      0|            goto error;
  685|      0|        }
  686|     95|        Py_CLEAR(item);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  687|     95|    }
  688|       |
  689|     62|    if (PyUnicodeWriter_WriteChar(writer, ']') < 0) {
  ------------------
  |  Branch (689:9): [True: 0, False: 62]
  ------------------
  690|      0|        goto error;
  691|      0|    }
  692|       |
  693|     62|    Py_ReprLeave((PyObject *)v);
  694|     62|    return PyUnicodeWriter_Finish(writer);
  695|       |
  696|      0|error:
  697|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  698|      0|    PyUnicodeWriter_Discard(writer);
  699|      0|    Py_ReprLeave((PyObject *)v);
  700|       |    return NULL;
  701|     62|}
listobject.c:list_length:
  705|   284k|{
  706|   284k|    return PyList_GET_SIZE(a);
  ------------------
  |  |   38|   284k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   284k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   284k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  707|   284k|}
listobject.c:list_repeat_impl:
  885|     82|{
  886|     82|    const Py_ssize_t input_size = Py_SIZE(a);
  ------------------
  |  |  214|     82|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  887|     82|    if (input_size == 0 || n <= 0)
  ------------------
  |  Branch (887:9): [True: 0, False: 82]
  |  Branch (887:28): [True: 0, False: 82]
  ------------------
  888|      0|        return PyList_New(0);
  889|     82|    assert(n > 0);
  ------------------
  |  Branch (889:5): [True: 82, False: 0]
  ------------------
  890|       |
  891|     82|    if (input_size > PY_SSIZE_T_MAX / n)
  ------------------
  |  |  137|     82|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (891:9): [True: 0, False: 82]
  ------------------
  892|      0|        return PyErr_NoMemory();
  893|     82|    Py_ssize_t output_size = input_size * n;
  894|       |
  895|     82|    PyListObject *np = (PyListObject *) list_new_prealloc(output_size);
  896|     82|    if (np == NULL)
  ------------------
  |  Branch (896:9): [True: 0, False: 82]
  ------------------
  897|      0|        return NULL;
  898|       |
  899|     82|    PyObject **dest = np->ob_item;
  900|     82|    if (input_size == 1) {
  ------------------
  |  Branch (900:9): [True: 82, False: 0]
  ------------------
  901|     82|        PyObject *elem = a->ob_item[0];
  902|     82|        _Py_RefcntAdd(elem, n);
  ------------------
  |  |  176|     82|#define _Py_RefcntAdd(op, n) _Py_RefcntAdd(_PyObject_CAST(op), n)
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  903|     82|        PyObject **dest_end = dest + output_size;
  904|    290|        while (dest < dest_end) {
  ------------------
  |  Branch (904:16): [True: 208, False: 82]
  ------------------
  905|    208|            *dest++ = elem;
  906|    208|        }
  907|     82|    }
  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|     82|    Py_SET_SIZE(np, output_size);
  ------------------
  |  |  216|     82|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     82|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  922|     82|    return (PyObject *) np;
  923|     82|}
listobject.c:list_item:
  730|  3.39k|{
  731|  3.39k|    PyListObject *a = (PyListObject *)aa;
  732|  3.39k|    if (!valid_index(i, PyList_GET_SIZE(a))) {
  ------------------
  |  |   38|  3.39k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (732:9): [True: 78, False: 3.31k]
  ------------------
  733|     78|        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  ------------------
  |  |  953|     78|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     78|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     78|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|     78|        return NULL;
  735|     78|    }
  736|  3.31k|    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|  3.31k|    item = Py_NewRef(a->ob_item[i]);
  ------------------
  |  |  647|  3.31k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  745|  3.31k|#endif
  746|  3.31k|    return item;
  747|  3.39k|}
listobject.c:list_ass_item_impl:
 1205|  63.0k|{
 1206|  63.0k|    if (!valid_index(i, Py_SIZE(a))) {
  ------------------
  |  |  214|  63.0k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  63.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1206:9): [True: 0, False: 63.0k]
  ------------------
 1207|      0|        PyErr_SetString(PyExc_IndexError,
 1208|      0|                        "list assignment index out of range");
 1209|      0|        return -1;
 1210|      0|    }
 1211|  63.0k|    PyObject *tmp = a->ob_item[i];
 1212|  63.0k|    if (v == NULL) {
  ------------------
  |  Branch (1212:9): [True: 63.0k, False: 42]
  ------------------
 1213|  63.0k|        Py_ssize_t size = Py_SIZE(a);
  ------------------
  |  |  214|  63.0k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  63.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1214|  63.0k|        if (i < size - 1) {
  ------------------
  |  Branch (1214:13): [True: 0, False: 63.0k]
  ------------------
 1215|      0|            list_shift_items_left_lock_held(a, i, size - 1);
 1216|      0|        }
 1217|  63.0k|        list_resize(a, size - 1);  // NB: shrinking a list can't fail
 1218|  63.0k|    }
 1219|     42|    else {
 1220|     42|        FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item[i], Py_NewRef(v));
  ------------------
  |  |  166|     42|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1221|     42|    }
 1222|  63.0k|    Py_DECREF(tmp);
  ------------------
  |  |  430|  63.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1223|  63.0k|    return 0;
 1224|  63.0k|}
listobject.c:list_contains:
  711|  3.16k|{
  712|       |
  713|  8.12k|    for (Py_ssize_t i = 0; ; i++) {
  714|  8.12k|        PyObject *item = list_get_item_ref((PyListObject *)aa, i);
  715|  8.12k|        if (item == NULL) {
  ------------------
  |  Branch (715:13): [True: 2.94k, False: 5.18k]
  ------------------
  716|       |            // out-of-bounds
  717|  2.94k|            return 0;
  718|  2.94k|        }
  719|  5.18k|        int cmp = PyObject_RichCompareBool(item, el, Py_EQ);
  ------------------
  |  |  654|  5.18k|#define Py_EQ 2
  ------------------
  720|  5.18k|        Py_DECREF(item);
  ------------------
  |  |  430|  5.18k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  721|  5.18k|        if (cmp != 0) {
  ------------------
  |  Branch (721:13): [True: 220, False: 4.96k]
  ------------------
  722|    220|            return cmp;
  723|    220|        }
  724|  5.18k|    }
  725|      0|    return 0;
  726|  3.16k|}
listobject.c:list_inplace_concat:
 1620|     18|{
 1621|     18|    PyListObject *self = (PyListObject *)_self;
 1622|     18|    if (_list_extend(self, other) < 0) {
  ------------------
  |  Branch (1622:9): [True: 0, False: 18]
  ------------------
 1623|      0|        return NULL;
 1624|      0|    }
 1625|     18|    return Py_NewRef(self);
  ------------------
  |  |  647|     18|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1626|     18|}
listobject.c:list_subscript:
 3773|  1.61k|{
 3774|  1.61k|    PyListObject* self = (PyListObject*)_self;
 3775|  1.61k|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (3775:9): [True: 1.60k, False: 8]
  ------------------
 3776|  1.60k|        Py_ssize_t i;
 3777|  1.60k|        i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 3778|  1.60k|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3778:13): [True: 1.52k, False: 77]
  |  Branch (3778:24): [True: 0, False: 1.52k]
  ------------------
 3779|      0|            return NULL;
 3780|  1.60k|        if (i < 0)
  ------------------
  |  Branch (3780:13): [True: 1.52k, False: 77]
  ------------------
 3781|  1.52k|            i += PyList_GET_SIZE(self);
  ------------------
  |  |   38|  1.52k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3782|  1.60k|        return list_item((PyObject *)self, i);
 3783|  1.60k|    }
 3784|      8|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|      8|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3785|      8|        return list_slice_subscript(_self, item);
 3786|      8|    }
 3787|      0|    else {
 3788|      0|        PyErr_Format(PyExc_TypeError,
 3789|      0|                     "list indices must be integers or slices, not %.200s",
 3790|      0|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3791|       |        return NULL;
 3792|      0|    }
 3793|  1.61k|}
listobject.c:list_ass_subscript:
 3980|    236|{
 3981|    236|    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|    236|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    236|    {
  ------------------
 3991|    236|    res = list_ass_subscript_lock_held(self, item, value);
 3992|    236|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    236|    }
  ------------------
 3993|    236|    return res;
 3994|    236|}
listobject.c:list_ass_subscript_lock_held:
 3814|    236|{
 3815|    236|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(_self);
 3816|       |
 3817|    236|    PyListObject *self = (PyListObject *)_self;
 3818|    236|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (3818:9): [True: 159, False: 77]
  ------------------
 3819|    159|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 3820|    159|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3820:13): [True: 148, False: 11]
  |  Branch (3820:24): [True: 0, False: 148]
  ------------------
 3821|      0|            return -1;
 3822|    159|        if (i < 0)
  ------------------
  |  Branch (3822:13): [True: 148, False: 11]
  ------------------
 3823|    148|            i += PyList_GET_SIZE(self);
  ------------------
  |  |   38|    148|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3824|    159|        return list_ass_item_impl(self, i, value);
 3825|    159|    }
 3826|     77|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|     77|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|     77|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     77|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 77, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3827|     77|        Py_ssize_t start, stop, step;
 3828|       |
 3829|     77|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (3829:13): [True: 0, False: 77]
  ------------------
 3830|      0|            return -1;
 3831|      0|        }
 3832|       |
 3833|     77|        if (value == NULL) {
  ------------------
  |  Branch (3833:13): [True: 1, False: 76]
  ------------------
 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|     76|        else {
 3899|       |            /* assign slice */
 3900|     76|            PyObject *ins, *seq;
 3901|     76|            PyObject **garbage, **seqitems, **selfitems;
 3902|     76|            Py_ssize_t i;
 3903|     76|            size_t cur;
 3904|       |
 3905|       |            /* protect against a[::-1] = a */
 3906|     76|            if (self == (PyListObject*)value) {
  ------------------
  |  Branch (3906:17): [True: 0, False: 76]
  ------------------
 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|     76|            else {
 3911|     76|                seq = PySequence_Fast(value,
 3912|     76|                                      "must assign iterable "
 3913|     76|                                      "to extended slice");
 3914|     76|            }
 3915|     76|            if (!seq)
  ------------------
  |  Branch (3915:17): [True: 0, False: 76]
  ------------------
 3916|      0|                return -1;
 3917|       |
 3918|     76|            Py_ssize_t slicelength = adjust_slice_indexes(self, &start, &stop,
 3919|     76|                                                          step);
 3920|       |
 3921|     76|            if (step == 1) {
  ------------------
  |  Branch (3921:17): [True: 76, False: 0]
  ------------------
 3922|     76|                int res = list_ass_slice_lock_held(self, start, stop, seq);
 3923|     76|                Py_DECREF(seq);
  ------------------
  |  |  430|     76|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3924|     76|                return res;
 3925|     76|            }
 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|     77|    }
 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|    236|}
listobject.c:adjust_slice_indexes:
 3799|     77|{
 3800|     77|    Py_ssize_t slicelength = PySlice_AdjustIndices(Py_SIZE(lst), start, stop,
  ------------------
  |  |  214|     77|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     77|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3801|     77|                                                   step);
 3802|       |
 3803|       |    /* Make sure s[5:2] = [..] inserts at the right place:
 3804|       |        before 5, not before 2. */
 3805|     77|    if ((step < 0 && *start < *stop) ||
  ------------------
  |  Branch (3805:10): [True: 0, False: 77]
  |  Branch (3805:22): [True: 0, False: 0]
  ------------------
 3806|     77|        (step > 0 && *start > *stop))
  ------------------
  |  Branch (3806:10): [True: 77, False: 0]
  |  Branch (3806:22): [True: 0, False: 77]
  ------------------
 3807|      0|        *stop = *start;
 3808|       |
 3809|     77|    return slicelength;
 3810|     77|}
listobject.c:list_traverse:
 3503|  40.5k|{
 3504|  40.5k|    PyListObject *o = (PyListObject *)self;
 3505|  40.5k|    Py_ssize_t i;
 3506|       |
 3507|   869k|    for (i = Py_SIZE(o); --i >= 0; )
  ------------------
  |  |  214|  40.5k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  40.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3507:26): [True: 828k, False: 40.5k]
  ------------------
 3508|   828k|        Py_VISIT(o->ob_item[i]);
  ------------------
  |  |  194|   828k|    do {                                                                \
  |  |  195|   828k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 828k, False: 0]
  |  |  ------------------
  |  |  196|   828k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   828k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   828k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   828k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 828k]
  |  |  ------------------
  |  |  198|   828k|                return vret;                                            \
  |  |  199|   828k|        }                                                               \
  |  |  200|   828k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 828k]
  |  |  ------------------
  ------------------
 3509|  40.5k|    return 0;
 3510|  40.5k|}
listobject.c:list_clear_slot:
  963|     72|{
  964|       |    list_clear_impl((PyListObject *)self, false);
  965|     72|    return 0;
  966|     72|}
listobject.c:list_richcompare:
 3580|    542|{
 3581|    542|    PyObject *ret;
 3582|    542|    Py_BEGIN_CRITICAL_SECTION2(v, w);
  ------------------
  |  |   57|    542|    {
  ------------------
 3583|    542|    ret = list_richcompare_impl(v, w, op);
 3584|    542|    Py_END_CRITICAL_SECTION2()
  ------------------
  |  |   61|    542|    }
  ------------------
 3585|    542|    return ret;
 3586|    542|}
listobject.c:list_richcompare_impl:
 3514|    542|{
 3515|    542|    PyListObject *vl, *wl;
 3516|    542|    Py_ssize_t i;
 3517|       |
 3518|    542|    if (!PyList_Check(v) || !PyList_Check(w))
  ------------------
  |  |   25|    542|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.08k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyList_Check(v) || !PyList_Check(w))
  ------------------
  |  |   25|    542|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    542|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3518:9): [True: 0, False: 542]
  |  Branch (3518:29): [True: 107, False: 435]
  ------------------
 3519|    107|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|    107|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|    107|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 3520|       |
 3521|    435|    vl = (PyListObject *)v;
 3522|    435|    wl = (PyListObject *)w;
 3523|       |
 3524|    435|    if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  214|    435|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    435|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    435|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  214|    870|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    435|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    435|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  654|     88|#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: 44, False: 391]
  |  Branch (3524:40): [True: 44, False: 0]
  |  Branch (3524:55): [True: 0, False: 0]
  ------------------
 3525|       |        /* Shortcut: if the lengths differ, the lists differ */
 3526|     44|        if (op == Py_EQ)
  ------------------
  |  |  654|     44|#define Py_EQ 2
  ------------------
  |  Branch (3526:13): [True: 44, False: 0]
  ------------------
 3527|     44|            Py_RETURN_FALSE;
  ------------------
  |  |   45|     44|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     44|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     44|#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|     44|    }
 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|    397|    for (i = 0; i < Py_SIZE(vl) && i < Py_SIZE(wl); i++) {
  ------------------
  |  |  214|    794|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    397|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    397|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  for (i = 0; i < Py_SIZE(vl) && i < Py_SIZE(wl); i++) {
  ------------------
  |  |  214|     14|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3536:17): [True: 14, False: 383]
  |  Branch (3536:36): [True: 14, False: 0]
  ------------------
 3537|     14|        PyObject *vitem = vl->ob_item[i];
 3538|     14|        PyObject *witem = wl->ob_item[i];
 3539|     14|        if (vitem == witem) {
  ------------------
  |  Branch (3539:13): [True: 0, False: 14]
  ------------------
 3540|      0|            continue;
 3541|      0|        }
 3542|       |
 3543|     14|        Py_INCREF(vitem);
  ------------------
  |  |  310|     14|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3544|     14|        Py_INCREF(witem);
  ------------------
  |  |  310|     14|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3545|     14|        int k = PyObject_RichCompareBool(vitem, witem, Py_EQ);
  ------------------
  |  |  654|     14|#define Py_EQ 2
  ------------------
 3546|     14|        if (k < 0) {
  ------------------
  |  Branch (3546:13): [True: 0, False: 14]
  ------------------
 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|     14|        if (!k) {
  ------------------
  |  Branch (3551:13): [True: 8, False: 6]
  ------------------
 3552|       |            /* We have a differing item -- shortcuts for EQ/NE */
 3553|      8|            if (op == Py_EQ) {
  ------------------
  |  |  654|      8|#define Py_EQ 2
  ------------------
  |  Branch (3553:17): [True: 7, False: 1]
  ------------------
 3554|      7|                Py_DECREF(vitem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3555|      7|                Py_DECREF(witem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3556|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3557|      7|            }
 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|    383|    Py_RETURN_RICHCOMPARE(Py_SIZE(vl), Py_SIZE(wl), op);
  ------------------
  |  |  674|    383|    do {                                                                    \
  |  |  675|    383|        switch (op) {                                                       \
  |  |  676|    380|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|    380|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|    380|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|    380|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    380|#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: 380, False: 3]
  |  |  |  Branch (676:25): [True: 380, False: 0]
  |  |  ------------------
  |  |  677|    380|        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: 380]
  |  |  |  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: 383]
  |  |  |  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: 383]
  |  |  |  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: 383]
  |  |  |  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: 383]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 383]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|    383|        }                                                                   \
  |  |  685|    383|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3576|    383|}
listobject.c:list___reversed___impl:
 4273|     74|{
 4274|     74|    listreviterobject *it;
 4275|       |
 4276|     74|    it = PyObject_GC_New(listreviterobject, &PyListRevIter_Type);
  ------------------
  |  |  181|     74|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4277|     74|    if (it == NULL)
  ------------------
  |  Branch (4277:9): [True: 0, False: 74]
  ------------------
 4278|      0|        return NULL;
 4279|     74|    assert(PyList_Check(self));
  ------------------
  |  Branch (4279:5): [True: 74, False: 0]
  ------------------
 4280|     74|    it->it_index = PyList_GET_SIZE(self) - 1;
  ------------------
  |  |   38|     74|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4281|     74|    it->it_seq = (PyListObject*)Py_NewRef(self);
  ------------------
  |  |  647|     74|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4282|     74|    PyObject_GC_Track(it);
 4283|     74|    return (PyObject *)it;
 4284|     74|}
listobject.c:list_append_impl:
 1289|  1.07k|{
 1290|  1.07k|    if (_PyList_AppendTakeRef(self, Py_NewRef(object)) < 0) {
  ------------------
  |  |  647|  1.07k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1290:9): [True: 0, False: 1.07k]
  ------------------
 1291|      0|        return NULL;
 1292|      0|    }
 1293|  1.07k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  1.07k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  1.07k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1294|  1.07k|}
listobject.c:list_pop_impl:
 1643|    490|{
 1644|    490|    PyObject *v;
 1645|       |
 1646|    490|    if (Py_SIZE(self) == 0) {
  ------------------
  |  |  214|    490|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1646:9): [True: 0, False: 490]
  ------------------
 1647|       |        /* Special-case most common failure cause */
 1648|      0|        PyErr_SetString(PyExc_IndexError, "pop from empty list");
 1649|      0|        return NULL;
 1650|      0|    }
 1651|    490|    if (index < 0)
  ------------------
  |  Branch (1651:9): [True: 490, False: 0]
  ------------------
 1652|    490|        index += Py_SIZE(self);
  ------------------
  |  |  214|    490|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1653|    490|    if (!valid_index(index, Py_SIZE(self))) {
  ------------------
  |  |  214|    490|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1653:9): [True: 0, False: 490]
  ------------------
 1654|      0|        PyErr_SetString(PyExc_IndexError, "pop index out of range");
 1655|      0|        return NULL;
 1656|      0|    }
 1657|       |
 1658|    490|    PyObject **items = self->ob_item;
 1659|    490|    v = items[index];
 1660|    490|    if (Py_SIZE(self) == 1) {
  ------------------
  |  |  214|    490|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    490|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    490|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1660:9): [True: 455, False: 35]
  ------------------
 1661|    455|        Py_INCREF(v);
  ------------------
  |  |  310|    455|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    455|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    455|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1662|    455|        list_clear(self);
 1663|    455|        return v;
 1664|    455|    }
 1665|     35|    Py_ssize_t size_after_pop = Py_SIZE(self) - 1;
  ------------------
  |  |  214|     35|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     35|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     35|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1666|     35|    if (index < size_after_pop) {
  ------------------
  |  Branch (1666:9): [True: 0, False: 35]
  ------------------
 1667|      0|        ptr_wise_atomic_memmove(self, &items[index], &items[index+1],
 1668|      0|                                size_after_pop - index);
 1669|      0|    }
 1670|     35|    list_resize(self, size_after_pop);  // NB: shrinking a list can't fail
 1671|     35|    return v;
 1672|    490|}
listobject.c:list_remove_impl:
 3481|    411|{
 3482|    411|    Py_ssize_t i;
 3483|       |
 3484|    411|    for (i = 0; i < Py_SIZE(self); i++) {
  ------------------
  |  |  214|    411|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    411|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    411|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3484:17): [True: 411, False: 0]
  ------------------
 3485|    411|        PyObject *obj = self->ob_item[i];
 3486|    411|        Py_INCREF(obj);
  ------------------
  |  |  310|    411|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    411|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    411|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3487|    411|        int cmp = PyObject_RichCompareBool(obj, value, Py_EQ);
  ------------------
  |  |  654|    411|#define Py_EQ 2
  ------------------
 3488|    411|        Py_DECREF(obj);
  ------------------
  |  |  430|    411|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    411|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    411|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3489|    411|        if (cmp > 0) {
  ------------------
  |  Branch (3489:13): [True: 411, False: 0]
  ------------------
 3490|    411|            if (list_ass_slice_lock_held(self, i, i+1, NULL) == 0)
  ------------------
  |  Branch (3490:17): [True: 411, False: 0]
  ------------------
 3491|    411|                Py_RETURN_NONE;
  ------------------
  |  |  628|    411|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    411|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3492|      0|            return NULL;
 3493|    411|        }
 3494|      0|        else if (cmp < 0)
  ------------------
  |  Branch (3494:18): [True: 0, False: 0]
  ------------------
 3495|      0|            return NULL;
 3496|    411|    }
 3497|      0|    PyErr_SetString(PyExc_ValueError, "list.remove(x): x not in list");
 3498|       |    return NULL;
 3499|    411|}
listobject.c:list_reverse_impl:
 3311|     72|{
 3312|     72|    if (Py_SIZE(self) > 1)
  ------------------
  |  |  214|     72|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3312:9): [True: 72, False: 0]
  ------------------
 3313|     72|        reverse_slice(self->ob_item, self->ob_item + Py_SIZE(self));
  ------------------
  |  |  214|     72|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3314|     72|    Py_RETURN_NONE;
  ------------------
  |  |  628|     72|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     72|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3315|     72|}
listobject.c:list___init___impl:
 3603|    817|{
 3604|       |    /* Verify list invariants */
 3605|    817|    assert(0 <= Py_SIZE(self));
  ------------------
  |  Branch (3605:5): [True: 817, False: 0]
  ------------------
 3606|    817|    assert(Py_SIZE(self) <= self->allocated || self->allocated == -1);
  ------------------
  |  Branch (3606:5): [True: 817, False: 0]
  |  Branch (3606:5): [True: 0, False: 0]
  ------------------
 3607|    817|    assert(self->ob_item != NULL ||
  ------------------
  |  Branch (3607:5): [True: 0, False: 817]
  |  Branch (3607:5): [True: 817, False: 0]
  |  Branch (3607:5): [True: 0, False: 0]
  ------------------
 3608|    817|           self->allocated == 0 || self->allocated == -1);
 3609|       |
 3610|       |    /* Empty previous contents */
 3611|    817|    if (self->ob_item != NULL) {
  ------------------
  |  Branch (3611:9): [True: 0, False: 817]
  ------------------
 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|    817|    if (iterable != NULL) {
  ------------------
  |  Branch (3616:9): [True: 406, False: 411]
  ------------------
 3617|    406|        if (_list_extend(self, iterable) < 0) {
  ------------------
  |  Branch (3617:13): [True: 0, False: 406]
  ------------------
 3618|      0|            return -1;
 3619|      0|        }
 3620|    406|    }
 3621|    817|    return 0;
 3622|    817|}
listobject.c:list_vectorcall:
 3627|    406|{
 3628|    406|    if (!_PyArg_NoKwnames("list", kwnames)) {
  ------------------
  |  |   16|    406|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 406, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3629|      0|        return NULL;
 3630|      0|    }
 3631|    406|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    406|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 3632|    406|    if (!_PyArg_CheckPositional("list", nargs, 0, 1)) {
  ------------------
  |  |   38|    406|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 406, False: 0]
  |  |  |  Branch (38:27): [True: 406, False: 0]
  |  |  ------------------
  |  |   39|    406|     || _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|    406|    PyObject *list = (type == (PyObject *)&PyList_Type
  ------------------
  |  Branch (3637:23): [True: 406, False: 0]
  ------------------
 3638|    406|                      ? PyList_New(0)
 3639|    406|                      : 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|    406|    if (list == NULL) {
  ------------------
  |  Branch (3640:9): [True: 0, False: 406]
  ------------------
 3641|      0|        return NULL;
 3642|      0|    }
 3643|    406|    if (nargs) {
  ------------------
  |  Branch (3643:9): [True: 406, False: 0]
  ------------------
 3644|    406|        if (list___init___impl((PyListObject *)list, args[0])) {
  ------------------
  |  Branch (3644:13): [True: 0, False: 406]
  ------------------
 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|    406|    }
 3649|    406|    return list;
 3650|    406|}
listobject.c:list_iteritem:
 3998|    118|{
 3999|    118|    PyObject *result = list_get_item_ref((PyListObject *)obj, index);
 4000|    118|    return (_PyObjectIndexPair) { .object = result, .index = index + 1 };
 4001|    118|}
listobject.c:list_iter:
 4113|  30.7k|{
 4114|  30.7k|    if (!PyList_Check(seq)) {
  ------------------
  |  |   25|  30.7k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  30.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4114:9): [True: 0, False: 30.7k]
  ------------------
 4115|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4116|      0|        return NULL;
 4117|      0|    }
 4118|  30.7k|    _PyListIterObject *it = _Py_FREELIST_POP(_PyListIterObject, list_iters);
  ------------------
  |  |   43|  30.7k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  30.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4119|  30.7k|    if (it == NULL) {
  ------------------
  |  Branch (4119:9): [True: 25, False: 30.7k]
  ------------------
 4120|     25|        it = PyObject_GC_New(_PyListIterObject, &PyListIter_Type);
  ------------------
  |  |  181|     25|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4121|     25|        if (it == NULL) {
  ------------------
  |  Branch (4121:13): [True: 0, False: 25]
  ------------------
 4122|      0|            return NULL;
 4123|      0|        }
 4124|     25|    }
 4125|  30.7k|    it->it_index = 0;
 4126|  30.7k|    it->it_seq = (PyListObject *)Py_NewRef(seq);
  ------------------
  |  |  647|  30.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  30.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4127|  30.7k|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  502|  30.7k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4128|  30.7k|    return (PyObject *)it;
 4129|  30.7k|}
listobject.c:listiter_dealloc:
 4133|  30.7k|{
 4134|  30.7k|    _PyListIterObject *it = (_PyListIterObject *)self;
 4135|  30.7k|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  504|  30.7k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4136|  30.7k|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  621|  30.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4137|  30.7k|    assert(Py_IS_TYPE(self, &PyListIter_Type));
  ------------------
  |  Branch (4137:5): [True: 30.7k, False: 0]
  ------------------
 4138|  30.7k|    _Py_FREELIST_FREE(list_iters, it, PyObject_GC_Del);
  ------------------
  |  |   35|  30.7k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  30.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  30.7k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   14|  30.7k|#  define Py_list_iters_MAXFREELIST 10
  |  |  ------------------
  ------------------
 4139|  30.7k|}
listobject.c:listiter_traverse:
 4143|      4|{
 4144|      4|    Py_VISIT(((_PyListIterObject *)it)->it_seq);
  ------------------
  |  |  194|      4|    do {                                                                \
  |  |  195|      4|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  196|      4|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      4|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4]
  |  |  ------------------
  |  |  198|      4|                return vret;                                            \
  |  |  199|      4|        }                                                               \
  |  |  200|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 4145|      4|    return 0;
 4146|      4|}
listobject.c:listiter_next:
 4150|   549k|{
 4151|   549k|    _PyListIterObject *it = (_PyListIterObject *)self;
 4152|   549k|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  151|   549k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 4153|   549k|    if (index < 0) {
  ------------------
  |  Branch (4153:9): [True: 0, False: 549k]
  ------------------
 4154|      0|        return NULL;
 4155|      0|    }
 4156|       |
 4157|   549k|    PyObject *item = list_get_item_ref(it->it_seq, index);
 4158|   549k|    if (item == NULL) {
  ------------------
  |  Branch (4158:9): [True: 29.4k, False: 520k]
  ------------------
 4159|       |        // out-of-bounds
 4160|  29.4k|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, -1);
  ------------------
  |  |  197|  29.4k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4161|  29.4k|#ifndef Py_GIL_DISABLED
 4162|  29.4k|        PyListObject *seq = it->it_seq;
 4163|  29.4k|        it->it_seq = NULL;
 4164|  29.4k|        Py_DECREF(seq);
  ------------------
  |  |  430|  29.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4165|  29.4k|#endif
 4166|  29.4k|        return NULL;
 4167|  29.4k|    }
 4168|   520k|    FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index + 1);
  ------------------
  |  |  197|   520k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4169|   520k|    return item;
 4170|   549k|}
listobject.c:listreviter_dealloc:
 4288|     74|{
 4289|     74|    listreviterobject *it = (listreviterobject *)self;
 4290|     74|    PyObject_GC_UnTrack(it);
 4291|     74|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  621|     74|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4292|     74|    PyObject_GC_Del(it);
 4293|     74|}
listobject.c:listreviter_next:
 4304|    248|{
 4305|    248|    listreviterobject *it = (listreviterobject *)self;
 4306|    248|    assert(it != NULL);
  ------------------
  |  Branch (4306:5): [True: 248, False: 0]
  ------------------
 4307|    248|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  151|    248|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 4308|    248|    if (index < 0) {
  ------------------
  |  Branch (4308:9): [True: 72, False: 176]
  ------------------
 4309|     72|        return NULL;
 4310|     72|    }
 4311|       |
 4312|    176|    PyListObject *seq = it->it_seq;
 4313|    176|    assert(PyList_Check(seq));
  ------------------
  |  Branch (4313:5): [True: 176, False: 0]
  ------------------
 4314|    176|    PyObject *item = list_get_item_ref(seq, index);
 4315|    176|    if (item != NULL) {
  ------------------
  |  Branch (4315:9): [True: 176, False: 0]
  ------------------
 4316|    176|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index - 1);
  ------------------
  |  |  197|    176|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4317|    176|        return item;
 4318|    176|    }
 4319|      0|    FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, -1);
  ------------------
  |  |  197|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4320|      0|#ifndef Py_GIL_DISABLED
 4321|      0|    it->it_seq = NULL;
 4322|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4323|      0|#endif
 4324|       |    return NULL;
 4325|    176|}

_PyLong_Copy:
  223|  34.4k|{
  224|  34.4k|    assert(src != NULL);
  ------------------
  |  Branch (224:5): [True: 34.4k, False: 0]
  ------------------
  225|  34.4k|    int sign;
  226|       |
  227|  34.4k|    if (_PyLong_IsCompact(src)) {
  ------------------
  |  Branch (227:9): [True: 367, False: 34.0k]
  ------------------
  228|    367|        stwodigits ival = medium_value(src);
  ------------------
  |  |   27|    367|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
  229|    367|        if (IS_SMALL_INT(ival)) {
  ------------------
  |  |   29|    367|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|    367|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|    367|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|    367|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 367, False: 0]
  |  |  |  |  |  Branch (68:37): [True: 367, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  230|    367|            return get_small_int((sdigit)ival);
  231|    367|        }
  232|      0|        sign = _PyLong_CompactSign(src);
  233|      0|    }
  234|  34.0k|    else {
  235|  34.0k|        sign = _PyLong_NonCompactSign(src);
  236|  34.0k|    }
  237|       |
  238|  34.0k|    Py_ssize_t size = _PyLong_DigitCount(src);
  239|  34.0k|    PyLongObject *result = long_alloc(size);
  240|       |
  241|  34.0k|    if (result == NULL) {
  ------------------
  |  Branch (241:9): [True: 0, False: 34.0k]
  ------------------
  242|      0|        return NULL;
  243|      0|    }
  244|  34.0k|    _PyLong_SetSignAndDigitCount(result, sign, size);
  245|  34.0k|    memcpy(result->long_value.ob_digit, src->long_value.ob_digit,
  246|  34.0k|           size * sizeof(digit));
  247|  34.0k|    return (PyObject *)result;
  248|  34.0k|}
PyLong_FromLong:
  408|  10.4M|{
  409|       |    PYLONG_FROM_INT(unsigned long, long, ival);
  ------------------
  |  |  371|  10.4M|    do {                                                                            \
  |  |  372|  10.4M|        /* Handle small and medium cases. */                                        \
  |  |  373|  10.4M|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  10.4M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  10.4M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  10.4M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  10.4M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 10.4M, False: 1.01k]
  |  |  |  |  |  |  |  Branch (68:37): [True: 5.33M, False: 5.06M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|  5.33M|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|  5.33M|        }                                                                           \
  |  |  376|  10.4M|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  5.06M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  5.06M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  5.06M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  5.06M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  5.06M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  5.06M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 5.06M, False: 86]
  |  |  |  Branch (376:49): [True: 5.01M, False: 50.5k]
  |  |  ------------------
  |  |  377|  5.01M|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|  5.01M|        }                                                                           \
  |  |  379|  5.06M|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 86, False: 50.5k]
  |  |  ------------------
  |  |  380|  50.6k|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|  50.6k|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|  50.6k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|  50.6k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|  50.6k|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|  50.6k|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|  53.5k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 2.93k, False: 50.6k]
  |  |  ------------------
  |  |  385|  2.93k|            ++ndigits;                                                              \
  |  |  386|  2.93k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  2.93k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|  2.93k|        }                                                                           \
  |  |  388|  50.6k|        /* Construct output value. */                                               \
  |  |  389|  50.6k|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|  50.6k|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 50.6k]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|  50.6k|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|  50.6k|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 86, False: 50.5k]
  |  |  ------------------
  |  |  395|  50.6k|        t = abs_ival;                                                               \
  |  |  396|   154k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 104k, False: 50.6k]
  |  |  ------------------
  |  |  397|   104k|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|   104k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   104k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   104k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|   104k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|   104k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|   104k|        }                                                                           \
  |  |  400|  50.6k|        return (PyObject *)v;                                                       \
  |  |  401|  50.6k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  410|  10.4M|}
PyLong_FromUnsignedLong:
  446|   187k|{
  447|       |    PYLONG_FROM_UINT(unsigned long, ival);
  ------------------
  |  |  413|   187k|    do { \
  |  |  414|   187k|        /* Handle small and medium cases. */ \
  |  |  415|   187k|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|   187k|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|   187k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 1.19k, False: 186k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|  1.19k|            return get_small_int((sdigit)(ival)); \
  |  |  417|  1.19k|        } \
  |  |  418|   187k|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|   186k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   186k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   186k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 129, False: 186k]
  |  |  ------------------
  |  |  419|    129|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|    129|        } \
  |  |  421|   186k|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|   186k|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|   186k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|   186k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|   186k|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|   186k|        Py_ssize_t ndigits = 2; \
  |  |  425|   186k|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 0, False: 186k]
  |  |  ------------------
  |  |  426|      0|            ++ndigits; \
  |  |  427|      0|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|      0|        } \
  |  |  429|   186k|        /* Construct output value. */ \
  |  |  430|   186k|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|   186k|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 186k]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|   186k|        digit *p = v->long_value.ob_digit; \
  |  |  435|   559k|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 373k, False: 186k]
  |  |  ------------------
  |  |  436|   373k|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|   373k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   373k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   373k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|   373k|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|   373k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|   373k|        } \
  |  |  439|   186k|        return (PyObject *)v; \
  |  |  440|   186k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (440:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  448|   187k|}
PyLong_FromUnsignedLongLong:
  454|  2.58k|{
  455|       |    PYLONG_FROM_UINT(unsigned long long, ival);
  ------------------
  |  |  413|  2.58k|    do { \
  |  |  414|  2.58k|        /* Handle small and medium cases. */ \
  |  |  415|  2.58k|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|  2.58k|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  2.58k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 587, False: 1.99k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|    587|            return get_small_int((sdigit)(ival)); \
  |  |  417|    587|        } \
  |  |  418|  2.58k|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|  1.99k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  1.99k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.99k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 1.17k, False: 822]
  |  |  ------------------
  |  |  419|  1.17k|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|  1.17k|        } \
  |  |  421|  1.99k|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|  1.99k|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    822|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    822|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|    822|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|    822|        Py_ssize_t ndigits = 2; \
  |  |  425|    822|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 0, False: 822]
  |  |  ------------------
  |  |  426|      0|            ++ndigits; \
  |  |  427|      0|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|      0|        } \
  |  |  429|    822|        /* Construct output value. */ \
  |  |  430|    822|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|    822|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 822]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|    822|        digit *p = v->long_value.ob_digit; \
  |  |  435|  2.46k|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 1.64k, False: 822]
  |  |  ------------------
  |  |  436|  1.64k|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|  1.64k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  1.64k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.64k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|  1.64k|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  1.64k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|  1.64k|        } \
  |  |  439|    822|        return (PyObject *)v; \
  |  |  440|    822|    } while(0)
  |  |  ------------------
  |  |  |  Branch (440:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  456|  2.58k|}
PyLong_FromSize_t:
  462|     84|{
  463|       |    PYLONG_FROM_UINT(size_t, ival);
  ------------------
  |  |  413|     84|    do { \
  |  |  414|     84|        /* Handle small and medium cases. */ \
  |  |  415|     84|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|     84|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|     84|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 84, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|     84|            return get_small_int((sdigit)(ival)); \
  |  |  417|     84|        } \
  |  |  418|     84|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  419|      0|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|      0|        } \
  |  |  421|      0|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|      0|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|      0|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|      0|        Py_ssize_t ndigits = 2; \
  |  |  425|      0|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  426|      0|            ++ndigits; \
  |  |  427|      0|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|      0|        } \
  |  |  429|      0|        /* Construct output value. */ \
  |  |  430|      0|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|      0|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|      0|        digit *p = v->long_value.ob_digit; \
  |  |  435|      0|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  436|      0|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|      0|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|      0|        } \
  |  |  439|      0|        return (PyObject *)v; \
  |  |  440|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (440:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  464|     84|}
PyLong_FromDouble:
  470|    427|{
  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|    427|    const double int_max = (unsigned long)LONG_MAX + 1;
  482|    427|    if (-int_max < dval && dval < int_max) {
  ------------------
  |  Branch (482:9): [True: 302, False: 125]
  |  Branch (482:28): [True: 294, False: 8]
  ------------------
  483|    294|        return PyLong_FromLong((long)dval);
  484|    294|    }
  485|       |
  486|    133|    PyLongObject *v;
  487|    133|    double frac;
  488|    133|    int i, ndig, expo, neg;
  489|    133|    neg = 0;
  490|    133|    if (isinf(dval)) {
  ------------------
  |  Branch (490:9): [True: 0, False: 133]
  ------------------
  491|      0|        PyErr_SetString(PyExc_OverflowError,
  492|      0|                        "cannot convert float infinity to integer");
  493|      0|        return NULL;
  494|      0|    }
  495|    133|    if (isnan(dval)) {
  ------------------
  |  Branch (495:9): [True: 0, False: 133]
  ------------------
  496|      0|        PyErr_SetString(PyExc_ValueError,
  497|      0|                        "cannot convert float NaN to integer");
  498|      0|        return NULL;
  499|      0|    }
  500|    133|    if (dval < 0.0) {
  ------------------
  |  Branch (500:9): [True: 125, False: 8]
  ------------------
  501|    125|        neg = 1;
  502|    125|        dval = -dval;
  503|    125|    }
  504|    133|    frac = frexp(dval, &expo); /* dval = frac*2**expo; 0.0 <= frac < 1.0 */
  505|    133|    assert(expo > 0);
  ------------------
  |  Branch (505:5): [True: 133, False: 0]
  ------------------
  506|    133|    ndig = (expo-1) / PyLong_SHIFT + 1; /* Number of 'digits' in result */
  ------------------
  |  |   47|    133|#define PyLong_SHIFT    30
  ------------------
  507|    133|    v = long_alloc(ndig);
  508|    133|    if (v == NULL)
  ------------------
  |  Branch (508:9): [True: 0, False: 133]
  ------------------
  509|      0|        return NULL;
  510|    133|    frac = ldexp(frac, (expo-1) % PyLong_SHIFT + 1);
  ------------------
  |  |   47|    133|#define PyLong_SHIFT    30
  ------------------
  511|    532|    for (i = ndig; --i >= 0; ) {
  ------------------
  |  Branch (511:20): [True: 399, False: 133]
  ------------------
  512|    399|        digit bits = (digit)frac;
  513|    399|        v->long_value.ob_digit[i] = bits;
  514|    399|        frac = frac - (double)bits;
  515|    399|        frac = ldexp(frac, PyLong_SHIFT);
  ------------------
  |  |   47|    399|#define PyLong_SHIFT    30
  ------------------
  516|    399|    }
  517|    133|    if (neg) {
  ------------------
  |  Branch (517:9): [True: 125, False: 8]
  ------------------
  518|    125|        _PyLong_FlipSign(v);
  519|    125|    }
  520|    133|    return (PyObject *)v;
  521|    133|}
PyLong_AsLongAndOverflow:
  594|  7.12M|{
  595|       |    /* This version originally by Tim Peters */
  596|  7.12M|    PyLongObject *v;
  597|  7.12M|    long res;
  598|  7.12M|    Py_ssize_t i;
  599|  7.12M|    int sign;
  600|  7.12M|    int do_decref = 0; /* if PyNumber_Index was called */
  601|       |
  602|  7.12M|    *overflow = 0;
  603|  7.12M|    if (vv == NULL) {
  ------------------
  |  Branch (603:9): [True: 0, False: 7.12M]
  ------------------
  604|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  605|      0|        return -1;
  606|      0|    }
  607|       |
  608|  7.12M|    if (PyLong_Check(vv)) {
  ------------------
  |  |   13|  7.12M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.12M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 7.12M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  609|  7.12M|        v = (PyLongObject *)vv;
  610|  7.12M|    }
  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|  7.12M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (617:9): [True: 6.77M, False: 351k]
  ------------------
  618|       |#if SIZEOF_LONG < SIZEOF_SIZE_T
  619|       |        Py_ssize_t tmp = _PyLong_CompactValue(v);
  620|       |        if (tmp < LONG_MIN) {
  621|       |            *overflow = -1;
  622|       |            res = -1;
  623|       |        }
  624|       |        else if (tmp > LONG_MAX) {
  625|       |            *overflow = 1;
  626|       |            res = -1;
  627|       |        }
  628|       |        else {
  629|       |            res = (long)tmp;
  630|       |        }
  631|       |#else
  632|  6.77M|        res = _PyLong_CompactValue(v);
  633|  6.77M|#endif
  634|  6.77M|    }
  635|   351k|    else {
  636|   351k|        res = -1;
  637|   351k|        i = _PyLong_DigitCount(v);
  638|   351k|        sign = _PyLong_NonCompactSign(v);
  639|       |
  640|   351k|        unsigned long x = unroll_digits_ulong(v, &i);
  641|   402k|        while (--i >= 0) {
  ------------------
  |  Branch (641:16): [True: 171k, False: 230k]
  ------------------
  642|   171k|            if (x > (ULONG_MAX >> PyLong_SHIFT)) {
  ------------------
  |  |   47|   171k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (642:17): [True: 120k, False: 50.7k]
  ------------------
  643|   120k|                *overflow = sign;
  644|   120k|                goto exit;
  645|   120k|            }
  646|  50.7k|            x = (x << PyLong_SHIFT) | v->long_value.ob_digit[i];
  ------------------
  |  |   47|  50.7k|#define PyLong_SHIFT    30
  ------------------
  647|  50.7k|        }
  648|       |        /* Haven't lost any bits, but casting to long requires extra
  649|       |        * care (see comment above).
  650|       |        */
  651|   230k|        if (x <= (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (651:13): [True: 216k, False: 13.8k]
  ------------------
  652|   216k|            res = (long)x * sign;
  653|   216k|        }
  654|  13.8k|        else if (sign < 0 && x == PY_ABS_LONG_MIN) {
  ------------------
  |  |  532|  5.26k|#define PY_ABS_LONG_MIN         (0-(unsigned long)LONG_MIN)
  ------------------
  |  Branch (654:18): [True: 5.26k, False: 8.61k]
  |  Branch (654:30): [True: 2.99k, False: 2.26k]
  ------------------
  655|  2.99k|            res = LONG_MIN;
  656|  2.99k|        }
  657|  10.8k|        else {
  658|  10.8k|            *overflow = sign;
  659|       |            /* res is already set to -1 */
  660|  10.8k|        }
  661|   230k|    }
  662|  7.12M|  exit:
  663|  7.12M|    if (do_decref) {
  ------------------
  |  Branch (663:9): [True: 0, False: 7.12M]
  ------------------
  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|  7.12M|    return res;
  667|  7.12M|}
PyLong_AsLong:
  674|  4.86M|{
  675|  4.86M|    int overflow;
  676|  4.86M|    long result = PyLong_AsLongAndOverflow(obj, &overflow);
  677|  4.86M|    if (overflow) {
  ------------------
  |  Branch (677:9): [True: 263, False: 4.86M]
  ------------------
  678|       |        /* XXX: could be cute and give a different
  679|       |           message for overflow == -1 */
  680|    263|        PyErr_SetString(PyExc_OverflowError,
  681|    263|                        "Python int too large to convert to C long");
  682|    263|    }
  683|  4.86M|    return result;
  684|  4.86M|}
PyLong_AsInt:
  691|   380k|{
  692|   380k|    int overflow;
  693|   380k|    long result = PyLong_AsLongAndOverflow(obj, &overflow);
  694|   380k|    if (overflow || result > INT_MAX || result < INT_MIN) {
  ------------------
  |  Branch (694:9): [True: 0, False: 380k]
  |  Branch (694:21): [True: 0, False: 380k]
  |  Branch (694:41): [True: 0, False: 380k]
  ------------------
  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|   380k|    return (int)result;
  702|   380k|}
PyLong_AsSsize_t:
  708|  3.84M|PyLong_AsSsize_t(PyObject *vv) {
  709|  3.84M|    PyLongObject *v;
  710|  3.84M|    Py_ssize_t i;
  711|  3.84M|    int sign;
  712|       |
  713|  3.84M|    if (vv == NULL) {
  ------------------
  |  Branch (713:9): [True: 0, False: 3.84M]
  ------------------
  714|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  715|      0|        return -1;
  716|      0|    }
  717|  3.84M|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  3.84M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.84M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (717:9): [True: 0, False: 3.84M]
  ------------------
  718|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  719|      0|        return -1;
  720|      0|    }
  721|       |
  722|  3.84M|    v = (PyLongObject *)vv;
  723|  3.84M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (723:9): [True: 3.83M, False: 10.1k]
  ------------------
  724|  3.83M|        return _PyLong_CompactValue(v);
  725|  3.83M|    }
  726|  10.1k|    i = _PyLong_DigitCount(v);
  727|  10.1k|    sign = _PyLong_NonCompactSign(v);
  728|       |
  729|  10.1k|    size_t x = unroll_digits_size_t(v, &i);
  730|  12.9k|    while (--i >= 0) {
  ------------------
  |  Branch (730:12): [True: 5.53k, False: 7.42k]
  ------------------
  731|  5.53k|        if (x > (SIZE_MAX >> PyLong_SHIFT)) {
  ------------------
  |  |   47|  5.53k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (731:13): [True: 2.73k, False: 2.79k]
  ------------------
  732|  2.73k|            goto overflow;
  733|  2.73k|        }
  734|  2.79k|        x = (x << PyLong_SHIFT) | v->long_value.ob_digit[i];
  ------------------
  |  |   47|  2.79k|#define PyLong_SHIFT    30
  ------------------
  735|  2.79k|    }
  736|       |    /* Haven't lost any bits, but casting to a signed type requires
  737|       |     * extra care (see comment above).
  738|       |     */
  739|  7.42k|    if (x <= (size_t)PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  7.42k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (739:9): [True: 5.35k, False: 2.06k]
  ------------------
  740|  5.35k|        return (Py_ssize_t)x * sign;
  741|  5.35k|    }
  742|  2.06k|    else if (sign < 0 && x == PY_ABS_SSIZE_T_MIN) {
  ------------------
  |  |  533|  1.35k|#define PY_ABS_SSIZE_T_MIN      (0-(size_t)PY_SSIZE_T_MIN)
  |  |  ------------------
  |  |  |  |  146|  1.35k|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  1.35k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (742:14): [True: 1.35k, False: 717]
  |  Branch (742:26): [True: 582, False: 768]
  ------------------
  743|    582|        return PY_SSIZE_T_MIN;
  ------------------
  |  |  146|    582|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  ------------------
  |  |  |  |  137|    582|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  744|    582|    }
  745|       |    /* else overflow */
  746|       |
  747|  4.21k|  overflow:
  748|  4.21k|    PyErr_SetString(PyExc_OverflowError,
  749|  4.21k|                    "Python int too large to convert to C ssize_t");
  750|  4.21k|    return -1;
  751|  7.42k|}
PyLong_AsUnsignedLong:
  758|  18.2k|{
  759|  18.2k|    PyLongObject *v;
  760|  18.2k|    Py_ssize_t i;
  761|       |
  762|  18.2k|    if (vv == NULL) {
  ------------------
  |  Branch (762:9): [True: 0, False: 18.2k]
  ------------------
  763|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  764|      0|        return (unsigned long)-1;
  765|      0|    }
  766|  18.2k|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  18.2k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  18.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (766:9): [True: 0, False: 18.2k]
  ------------------
  767|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  768|      0|        return (unsigned long)-1;
  769|      0|    }
  770|       |
  771|  18.2k|    v = (PyLongObject *)vv;
  772|  18.2k|    if (_PyLong_IsNonNegativeCompact(v)) {
  ------------------
  |  Branch (772:9): [True: 760, False: 17.5k]
  ------------------
  773|       |#if SIZEOF_LONG < SIZEOF_SIZE_T
  774|       |        size_t tmp = (size_t)_PyLong_CompactValue(v);
  775|       |        unsigned long res = (unsigned long)tmp;
  776|       |        if (res != tmp) {
  777|       |            goto overflow;
  778|       |        }
  779|       |        return res;
  780|       |#else
  781|    760|        return (unsigned long)(size_t)_PyLong_CompactValue(v);
  782|    760|#endif
  783|    760|    }
  784|  17.5k|    if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (784:9): [True: 0, False: 17.5k]
  ------------------
  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|  17.5k|    i = _PyLong_DigitCount(v);
  790|       |
  791|  17.5k|    unsigned long x = unroll_digits_ulong(v, &i);
  792|  17.5k|    while (--i >= 0) {
  ------------------
  |  Branch (792:12): [True: 0, False: 17.5k]
  ------------------
  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|  17.5k|    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|  17.5k|}
PyLong_AsSize_t:
  811|  42.2k|{
  812|  42.2k|    PyLongObject *v;
  813|  42.2k|    Py_ssize_t i;
  814|       |
  815|  42.2k|    if (vv == NULL) {
  ------------------
  |  Branch (815:9): [True: 0, False: 42.2k]
  ------------------
  816|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  817|      0|        return (size_t) -1;
  818|      0|    }
  819|  42.2k|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  42.2k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  42.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (819:9): [True: 0, False: 42.2k]
  ------------------
  820|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  821|      0|        return (size_t)-1;
  822|      0|    }
  823|       |
  824|  42.2k|    v = (PyLongObject *)vv;
  825|  42.2k|    if (_PyLong_IsNonNegativeCompact(v)) {
  ------------------
  |  Branch (825:9): [True: 40.7k, False: 1.49k]
  ------------------
  826|  40.7k|        return (size_t)_PyLong_CompactValue(v);
  827|  40.7k|    }
  828|  1.49k|    if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (828:9): [True: 508, False: 991]
  ------------------
  829|    508|        PyErr_SetString(PyExc_OverflowError,
  830|    508|                   "can't convert negative value to size_t");
  831|    508|        return (size_t) -1;
  832|    508|    }
  833|    991|    i = _PyLong_DigitCount(v);
  834|       |
  835|    991|    size_t x = unroll_digits_size_t(v, &i);
  836|  1.40k|    while (--i >= 0) {
  ------------------
  |  Branch (836:12): [True: 1.03k, False: 374]
  ------------------
  837|  1.03k|            if (x > (SIZE_MAX >> PyLong_SHIFT)) {
  ------------------
  |  |   47|  1.03k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (837:17): [True: 617, False: 416]
  ------------------
  838|    617|                PyErr_SetString(PyExc_OverflowError,
  839|    617|                    "Python int too large to convert to C size_t");
  840|    617|                return (size_t) -1;
  841|    617|            }
  842|    416|            x = (x << PyLong_SHIFT) | v->long_value.ob_digit[i];
  ------------------
  |  |   47|    416|#define PyLong_SHIFT    30
  ------------------
  843|    416|        }
  844|    374|    return x;
  845|    991|}
PyLong_GetSign:
  955|  5.25k|{
  956|  5.25k|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  5.25k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.25k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (956:9): [True: 0, False: 5.25k]
  ------------------
  957|      0|        PyErr_Format(PyExc_TypeError, "expect int, got %T", vv);
  958|      0|        return -1;
  959|      0|    }
  960|       |
  961|  5.25k|    *sign = long_sign(vv);
  962|  5.25k|    return 0;
  963|  5.25k|}
_PyLong_NumBits:
  977|  93.3k|{
  978|  93.3k|    PyLongObject *v = (PyLongObject *)vv;
  979|  93.3k|    int64_t result = 0;
  980|  93.3k|    Py_ssize_t ndigits;
  981|  93.3k|    int msd_bits;
  982|       |
  983|  93.3k|    assert(v != NULL);
  ------------------
  |  Branch (983:5): [True: 93.3k, False: 0]
  ------------------
  984|  93.3k|    assert(PyLong_Check(v));
  ------------------
  |  Branch (984:5): [True: 93.3k, False: 0]
  ------------------
  985|  93.3k|    ndigits = _PyLong_DigitCount(v);
  986|  93.3k|    assert(ndigits == 0 || v->long_value.ob_digit[ndigits - 1] != 0);
  ------------------
  |  Branch (986:5): [True: 143, False: 93.1k]
  |  Branch (986:5): [True: 93.1k, False: 0]
  ------------------
  987|  93.3k|    if (ndigits > 0) {
  ------------------
  |  Branch (987:9): [True: 93.1k, False: 143]
  ------------------
  988|  93.1k|        digit msd = v->long_value.ob_digit[ndigits - 1];
  989|  93.1k|#if SIZEOF_SIZE_T == 8
  990|  93.1k|        assert(ndigits <= INT64_MAX / PyLong_SHIFT);
  ------------------
  |  Branch (990:9): [True: 93.1k, False: 0]
  ------------------
  991|  93.1k|#endif
  992|  93.1k|        result = (int64_t)(ndigits - 1) * PyLong_SHIFT;
  ------------------
  |  |   47|  93.1k|#define PyLong_SHIFT    30
  ------------------
  993|  93.1k|        msd_bits = bit_length_digit(msd);
  994|  93.1k|        result += msd_bits;
  995|  93.1k|    }
  996|  93.3k|    return result;
  997|  93.3k|}
_PyLong_FromByteArray:
 1002|    303|{
 1003|    303|    const unsigned char* pstartbyte;    /* LSB of bytes */
 1004|    303|    int incr;                           /* direction to move pstartbyte */
 1005|    303|    const unsigned char* pendbyte;      /* MSB of bytes */
 1006|    303|    size_t numsignificantbytes;         /* number of bytes that matter */
 1007|    303|    Py_ssize_t ndigits;                 /* number of Python int digits */
 1008|    303|    PyLongObject* v;                    /* result */
 1009|    303|    Py_ssize_t idigit = 0;              /* next free index in v->long_value.ob_digit */
 1010|       |
 1011|    303|    if (n == 0)
  ------------------
  |  Branch (1011:9): [True: 0, False: 303]
  ------------------
 1012|      0|        return PyLong_FromLong(0L);
 1013|       |
 1014|    303|    if (little_endian) {
  ------------------
  |  Branch (1014:9): [True: 303, False: 0]
  ------------------
 1015|    303|        pstartbyte = bytes;
 1016|    303|        pendbyte = bytes + n - 1;
 1017|    303|        incr = 1;
 1018|    303|    }
 1019|      0|    else {
 1020|      0|        pstartbyte = bytes + n - 1;
 1021|      0|        pendbyte = bytes;
 1022|      0|        incr = -1;
 1023|      0|    }
 1024|       |
 1025|    303|    if (is_signed)
  ------------------
  |  Branch (1025:9): [True: 0, False: 303]
  ------------------
 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|    303|    {
 1032|    303|        size_t i;
 1033|    303|        const unsigned char* p = pendbyte;
 1034|    303|        const int pincr = -incr;  /* search MSB to LSB */
 1035|    303|        const unsigned char insignificant = is_signed ? 0xff : 0x00;
  ------------------
  |  Branch (1035:45): [True: 0, False: 303]
  ------------------
 1036|       |
 1037|    907|        for (i = 0; i < n; ++i, p += pincr) {
  ------------------
  |  Branch (1037:21): [True: 806, False: 101]
  ------------------
 1038|    806|            if (*p != insignificant)
  ------------------
  |  Branch (1038:17): [True: 202, False: 604]
  ------------------
 1039|    202|                break;
 1040|    806|        }
 1041|    303|        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|    303|        if (is_signed && numsignificantbytes < n)
  ------------------
  |  Branch (1047:13): [True: 0, False: 303]
  |  Branch (1047:26): [True: 0, False: 0]
  ------------------
 1048|      0|            ++numsignificantbytes;
 1049|    303|    }
 1050|       |
 1051|       |    /* avoid integer overflow */
 1052|    303|    ndigits = numsignificantbytes / PyLong_SHIFT * 8
  ------------------
  |  |   47|    303|#define PyLong_SHIFT    30
  ------------------
 1053|    303|        + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|    303|#define PyLong_SHIFT    30
  ------------------
                      + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|    303|#define PyLong_SHIFT    30
  ------------------
                      + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|    303|#define PyLong_SHIFT    30
  ------------------
 1054|    303|    v = long_alloc(ndigits);
 1055|    303|    if (v == NULL)
  ------------------
  |  Branch (1055:9): [True: 0, False: 303]
  ------------------
 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|    303|    {
 1062|    303|        size_t i;
 1063|    303|        twodigits carry = 1;                    /* for 2's-comp calculation */
 1064|    303|        twodigits accum = 0;                    /* sliding register */
 1065|    303|        unsigned int accumbits = 0;             /* number of bits in accum */
 1066|    303|        const unsigned char* p = pstartbyte;
 1067|       |
 1068|    911|        for (i = 0; i < numsignificantbytes; ++i, p += incr) {
  ------------------
  |  Branch (1068:21): [True: 608, False: 303]
  ------------------
 1069|    608|            twodigits thisbyte = *p;
 1070|       |            /* Compute correction for 2's comp, if needed. */
 1071|    608|            if (is_signed) {
  ------------------
  |  Branch (1071:17): [True: 0, False: 608]
  ------------------
 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|    608|            accum |= thisbyte << accumbits;
 1080|    608|            accumbits += 8;
 1081|    608|            if (accumbits >= PyLong_SHIFT) {
  ------------------
  |  |   47|    608|#define PyLong_SHIFT    30
  ------------------
  |  Branch (1081:17): [True: 101, False: 507]
  ------------------
 1082|       |                /* There's enough to fill a Python digit. */
 1083|    101|                assert(idigit < ndigits);
  ------------------
  |  Branch (1083:17): [True: 101, False: 0]
  ------------------
 1084|    101|                v->long_value.ob_digit[idigit] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|    101|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    101|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    101|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1085|    101|                ++idigit;
 1086|    101|                accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|    101|#define PyLong_SHIFT    30
  ------------------
 1087|    101|                accumbits -= PyLong_SHIFT;
  ------------------
  |  |   47|    101|#define PyLong_SHIFT    30
  ------------------
 1088|    101|                assert(accumbits < PyLong_SHIFT);
  ------------------
  |  Branch (1088:17): [True: 101, False: 0]
  ------------------
 1089|    101|            }
 1090|    608|        }
 1091|    303|        assert(accumbits < PyLong_SHIFT);
  ------------------
  |  Branch (1091:9): [True: 303, False: 0]
  ------------------
 1092|    303|        if (accumbits) {
  ------------------
  |  Branch (1092:13): [True: 202, False: 101]
  ------------------
 1093|    202|            assert(idigit < ndigits);
  ------------------
  |  Branch (1093:13): [True: 202, False: 0]
  ------------------
 1094|    202|            v->long_value.ob_digit[idigit] = (digit)accum;
 1095|    202|            ++idigit;
 1096|    202|        }
 1097|    303|    }
 1098|       |
 1099|    303|    int sign = is_signed ? -1: 1;
  ------------------
  |  Branch (1099:16): [True: 0, False: 303]
  ------------------
 1100|    303|    if (idigit == 0) {
  ------------------
  |  Branch (1100:9): [True: 101, False: 202]
  ------------------
 1101|    101|        sign = 0;
 1102|    101|        v->long_value.ob_digit[0] = 0;
 1103|    101|    }
 1104|    303|    _PyLong_SetSignAndDigitCount(v, sign, idigit);
 1105|    303|    return (PyObject *)maybe_small_long(long_normalize(v));
 1106|    303|}
_PyLong_AsByteArray:
 1113|  4.30k|{
 1114|  4.30k|    Py_ssize_t i;               /* index into v->long_value.ob_digit */
 1115|  4.30k|    Py_ssize_t ndigits;         /* number of digits */
 1116|  4.30k|    twodigits accum;            /* sliding register */
 1117|  4.30k|    unsigned int accumbits;     /* # bits in accum */
 1118|  4.30k|    int do_twos_comp;           /* store 2's-comp?  is_signed and v < 0 */
 1119|  4.30k|    digit carry;                /* for computing 2's-comp */
 1120|  4.30k|    size_t j;                   /* # bytes filled */
 1121|  4.30k|    unsigned char* p;           /* pointer to next byte in bytes */
 1122|  4.30k|    int pincr;                  /* direction to move p */
 1123|       |
 1124|  4.30k|    assert(v != NULL && PyLong_Check(v));
  ------------------
  |  Branch (1124:5): [True: 4.30k, False: 0]
  |  Branch (1124:5): [True: 4.30k, False: 0]
  ------------------
 1125|       |
 1126|  4.30k|    ndigits = _PyLong_DigitCount(v);
 1127|  4.30k|    if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (1127:9): [True: 0, False: 4.30k]
  ------------------
 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|  4.30k|    else {
 1138|  4.30k|        do_twos_comp = 0;
 1139|  4.30k|    }
 1140|       |
 1141|  4.30k|    if (little_endian) {
  ------------------
  |  Branch (1141:9): [True: 4.30k, False: 0]
  ------------------
 1142|  4.30k|        p = bytes;
 1143|  4.30k|        pincr = 1;
 1144|  4.30k|    }
 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|  4.30k|    assert(ndigits == 0 || v->long_value.ob_digit[ndigits - 1] != 0);
  ------------------
  |  Branch (1159:5): [True: 0, False: 4.30k]
  |  Branch (1159:5): [True: 4.30k, False: 0]
  ------------------
 1160|  4.30k|    j = 0;
 1161|  4.30k|    accum = 0;
 1162|  4.30k|    accumbits = 0;
 1163|  4.30k|    carry = do_twos_comp ? 1 : 0;
  ------------------
  |  Branch (1163:13): [True: 0, False: 4.30k]
  ------------------
 1164|  14.2k|    for (i = 0; i < ndigits; ++i) {
  ------------------
  |  Branch (1164:17): [True: 11.0k, False: 3.25k]
  ------------------
 1165|  11.0k|        digit thisdigit = v->long_value.ob_digit[i];
 1166|  11.0k|        if (do_twos_comp) {
  ------------------
  |  Branch (1166:13): [True: 0, False: 11.0k]
  ------------------
 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|  11.0k|        accum |= (twodigits)thisdigit << accumbits;
 1175|       |
 1176|       |        /* The most-significant digit may be (probably is) at least
 1177|       |           partly empty. */
 1178|  11.0k|        if (i == ndigits - 1) {
  ------------------
  |  Branch (1178:13): [True: 3.71k, False: 7.32k]
  ------------------
 1179|       |            /* Count # of sign bits -- they needn't be stored,
 1180|       |             * although for signed conversion we need later to
 1181|       |             * make sure at least one sign bit gets stored. */
 1182|  3.71k|            digit s = do_twos_comp ? thisdigit ^ PyLong_MASK : thisdigit;
  ------------------
  |  |   62|      0|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|      0|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1182:23): [True: 0, False: 3.71k]
  ------------------
 1183|  41.3k|            while (s != 0) {
  ------------------
  |  Branch (1183:20): [True: 37.6k, False: 3.71k]
  ------------------
 1184|  37.6k|                s >>= 1;
 1185|  37.6k|                accumbits++;
 1186|  37.6k|            }
 1187|  3.71k|        }
 1188|  7.32k|        else
 1189|  7.32k|            accumbits += PyLong_SHIFT;
  ------------------
  |  |   47|  7.32k|#define PyLong_SHIFT    30
  ------------------
 1190|       |
 1191|       |        /* Store as many bytes as possible. */
 1192|  38.8k|        while (accumbits >= 8) {
  ------------------
  |  Branch (1192:16): [True: 28.8k, False: 9.98k]
  ------------------
 1193|  28.8k|            if (j >= n)
  ------------------
  |  Branch (1193:17): [True: 1.05k, False: 27.8k]
  ------------------
 1194|  1.05k|                goto Overflow;
 1195|  27.8k|            ++j;
 1196|  27.8k|            *p = (unsigned char)(accum & 0xff);
 1197|  27.8k|            p += pincr;
 1198|  27.8k|            accumbits -= 8;
 1199|  27.8k|            accum >>= 8;
 1200|  27.8k|        }
 1201|  11.0k|    }
 1202|       |
 1203|       |    /* Store the straggler (if any). */
 1204|  4.30k|    assert(accumbits < 8);
  ------------------
  |  Branch (1204:5): [True: 3.25k, False: 0]
  ------------------
 1205|  3.25k|    assert(carry == 0);  /* else do_twos_comp and *every* digit was 0 */
  ------------------
  |  Branch (1205:5): [True: 3.25k, False: 0]
  ------------------
 1206|  3.25k|    if (accumbits > 0) {
  ------------------
  |  Branch (1206:9): [True: 2.86k, False: 391]
  ------------------
 1207|  2.86k|        if (j >= n)
  ------------------
  |  Branch (1207:13): [True: 955, False: 1.90k]
  ------------------
 1208|    955|            goto Overflow;
 1209|  1.90k|        ++j;
 1210|  1.90k|        if (do_twos_comp) {
  ------------------
  |  Branch (1210:13): [True: 0, False: 1.90k]
  ------------------
 1211|       |            /* Fill leading bits of the byte with sign bits
 1212|       |               (appropriately pretending that the int had an
 1213|       |               infinite supply of sign bits). */
 1214|      0|            accum |= (~(twodigits)0) << accumbits;
 1215|      0|        }
 1216|  1.90k|        *p = (unsigned char)(accum & 0xff);
 1217|  1.90k|        p += pincr;
 1218|  1.90k|    }
 1219|    391|    else if (j == n && is_signed) {
  ------------------
  |  Branch (1219:14): [True: 251, False: 140]
  |  Branch (1219:24): [True: 251, 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|    251|        int sign_bit_set;
 1225|    251|        if (n > 0) {
  ------------------
  |  Branch (1225:13): [True: 251, False: 0]
  ------------------
 1226|    251|            unsigned char msb = *(p - pincr);
 1227|    251|            sign_bit_set = msb >= 0x80;
 1228|    251|        }
 1229|      0|        else {
 1230|      0|            sign_bit_set = 0;
 1231|      0|        }
 1232|    251|        assert(accumbits == 0);
  ------------------
  |  Branch (1232:9): [True: 251, False: 0]
  ------------------
 1233|    251|        if (sign_bit_set == do_twos_comp)
  ------------------
  |  Branch (1233:13): [True: 0, False: 251]
  ------------------
 1234|      0|            return 0;
 1235|    251|        else
 1236|    251|            goto Overflow;
 1237|    251|    }
 1238|       |
 1239|       |    /* Fill remaining bytes with copies of the sign bit. */
 1240|  2.04k|    {
 1241|  2.04k|        unsigned char signbyte = do_twos_comp ? 0xffU : 0U;
  ------------------
  |  Branch (1241:34): [True: 0, False: 2.04k]
  ------------------
 1242|  6.75k|        for ( ; j < n; ++j, p += pincr)
  ------------------
  |  Branch (1242:17): [True: 4.70k, False: 2.04k]
  ------------------
 1243|  4.70k|            *p = signbyte;
 1244|  2.04k|    }
 1245|       |
 1246|  2.04k|    return 0;
 1247|       |
 1248|  2.25k|  Overflow:
 1249|  2.25k|    if (with_exceptions) {
  ------------------
  |  Branch (1249:9): [True: 0, False: 2.25k]
  ------------------
 1250|      0|        PyErr_SetString(PyExc_OverflowError, "int too big to convert");
 1251|      0|    }
 1252|  2.25k|    return -1;
 1253|       |
 1254|  3.25k|}
PyLong_AsNativeBytes:
 1283|  16.3k|{
 1284|  16.3k|    PyLongObject *v;
 1285|  16.3k|    union {
 1286|  16.3k|        Py_ssize_t v;
 1287|  16.3k|        unsigned char b[sizeof(Py_ssize_t)];
 1288|  16.3k|    } cv;
 1289|  16.3k|    int do_decref = 0;
 1290|  16.3k|    Py_ssize_t res = 0;
 1291|       |
 1292|  16.3k|    if (vv == NULL || n < 0) {
  ------------------
  |  Branch (1292:9): [True: 0, False: 16.3k]
  |  Branch (1292:23): [True: 0, False: 16.3k]
  ------------------
 1293|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1294|      0|        return -1;
 1295|      0|    }
 1296|       |
 1297|  16.3k|    int little_endian = flags;
 1298|  16.3k|    if (_resolve_endianness(&little_endian) < 0) {
  ------------------
  |  Branch (1298:9): [True: 0, False: 16.3k]
  ------------------
 1299|      0|        return -1;
 1300|      0|    }
 1301|       |
 1302|  16.3k|    if (PyLong_Check(vv)) {
  ------------------
  |  |   13|  16.3k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  16.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 16.3k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1303|  16.3k|        v = (PyLongObject *)vv;
 1304|  16.3k|    }
 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|  16.3k|    if ((flags != -1 && (flags & Py_ASNATIVEBYTES_REJECT_NEGATIVE))
  ------------------
  |  |   49|  16.3k|#define Py_ASNATIVEBYTES_REJECT_NEGATIVE 8
  ------------------
  |  Branch (1317:10): [True: 16.3k, False: 0]
  |  Branch (1317:25): [True: 0, False: 16.3k]
  ------------------
 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|  16.3k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (1326:9): [True: 12.0k, False: 4.30k]
  ------------------
 1327|  12.0k|        res = 0;
 1328|  12.0k|        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|  12.0k|        res = sizeof(cv.b);
 1333|  12.0k|        if (n <= 0) {
  ------------------
  |  Branch (1333:13): [True: 0, False: 12.0k]
  ------------------
 1334|       |            // nothing to do!
 1335|      0|        }
 1336|  12.0k|        else if (n <= (Py_ssize_t)sizeof(cv.b)) {
  ------------------
  |  Branch (1336:18): [True: 12.0k, False: 0]
  ------------------
 1337|  12.0k|#if PY_LITTLE_ENDIAN
 1338|  12.0k|            if (little_endian) {
  ------------------
  |  Branch (1338:17): [True: 12.0k, False: 0]
  ------------------
 1339|  12.0k|                memcpy(buffer, cv.b, n);
 1340|  12.0k|            }
 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|  12.0k|            if (_fits_in_n_bits(cv.v, n * 8)) {
  ------------------
  |  Branch (1358:17): [True: 12.0k, False: 0]
  ------------------
 1359|  12.0k|                res = n;
 1360|  12.0k|            } 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|  12.0k|        }
 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|  12.0k|    }
 1404|  4.30k|    else {
 1405|  4.30k|        if (n > 0) {
  ------------------
  |  Branch (1405:13): [True: 4.30k, False: 0]
  ------------------
 1406|  4.30k|            _PyLong_AsByteArray(v, buffer, (size_t)n, little_endian, 1, 0);
 1407|  4.30k|        }
 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|  4.30k|        int64_t nb = _PyLong_NumBits((PyObject *)v);
 1412|  4.30k|        assert(nb >= 0);
  ------------------
  |  Branch (1412:9): [True: 4.30k, 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|  4.30k|        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|  4.30k|        if (n > 0 && res == n + 1 && nb % 8 == 0) {
  ------------------
  |  Branch (1422:13): [True: 4.30k, False: 0]
  |  Branch (1422:22): [True: 1.20k, False: 3.10k]
  |  Branch (1422:38): [True: 251, False: 955]
  ------------------
 1423|    251|            if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (1423:17): [True: 0, False: 251]
  ------------------
 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|    251|            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|    251|                unsigned char *b = (unsigned char *)buffer;
 1447|    251|                if (b[little_endian ? n - 1 : 0] & 0x80) {
  ------------------
  |  Branch (1447:21): [True: 251, False: 0]
  |  Branch (1447:23): [True: 251, False: 0]
  ------------------
 1448|    251|                    if (flags == -1 || (flags & Py_ASNATIVEBYTES_UNSIGNED_BUFFER)) {
  ------------------
  |  |   48|    251|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
  |  Branch (1448:25): [True: 0, False: 251]
  |  Branch (1448:40): [True: 0, False: 251]
  ------------------
 1449|      0|                        res = n;
 1450|    251|                    } else {
 1451|    251|                        res = n + 1;
 1452|    251|                    }
 1453|    251|                }
 1454|    251|            }
 1455|    251|        }
 1456|  4.30k|    }
 1457|       |
 1458|  16.3k|    if (do_decref) {
  ------------------
  |  Branch (1458:9): [True: 0, False: 16.3k]
  ------------------
 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|  16.3k|    return res;
 1463|  16.3k|}
PyLong_FromVoidPtr:
 1509|   186k|{
 1510|   186k|#if SIZEOF_VOID_P <= SIZEOF_LONG
 1511|   186k|    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|   186k|}
PyLong_AsVoidPtr:
 1526|  17.5k|{
 1527|  17.5k|#if SIZEOF_VOID_P <= SIZEOF_LONG
 1528|  17.5k|    long x;
 1529|       |
 1530|  17.5k|    if (PyLong_Check(vv) && _PyLong_IsNegative((PyLongObject *)vv)) {
  ------------------
  |  |   13|  17.5k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  35.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 17.5k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1530:29): [True: 0, False: 17.5k]
  ------------------
 1531|      0|        x = PyLong_AsLong(vv);
 1532|      0|    }
 1533|  17.5k|    else {
 1534|  17.5k|        x = PyLong_AsUnsignedLong(vv);
 1535|  17.5k|    }
 1536|       |#else
 1537|       |
 1538|       |#if SIZEOF_LONG_LONG < SIZEOF_VOID_P
 1539|       |#   error "PyLong_AsVoidPtr: sizeof(long long) < sizeof(void*)"
 1540|       |#endif
 1541|       |    long long x;
 1542|       |
 1543|       |    if (PyLong_Check(vv) && _PyLong_IsNegative((PyLongObject *)vv)) {
 1544|       |        x = PyLong_AsLongLong(vv);
 1545|       |    }
 1546|       |    else {
 1547|       |        x = PyLong_AsUnsignedLongLong(vv);
 1548|       |    }
 1549|       |
 1550|       |#endif /* SIZEOF_VOID_P <= SIZEOF_LONG */
 1551|       |
 1552|  17.5k|    if (x == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1552:9): [True: 0, False: 17.5k]
  |  Branch (1552:20): [True: 0, False: 0]
  ------------------
 1553|      0|        return NULL;
 1554|  17.5k|    return (void *)x;
 1555|  17.5k|}
PyLong_FromLongLong:
 1567|  4.11k|{
 1568|       |    PYLONG_FROM_INT(unsigned long long, long long, ival);
  ------------------
  |  |  371|  4.11k|    do {                                                                            \
  |  |  372|  4.11k|        /* Handle small and medium cases. */                                        \
  |  |  373|  4.11k|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  4.11k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  4.11k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  4.11k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  4.11k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 4.11k, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 20, False: 4.09k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|     20|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|     20|        }                                                                           \
  |  |  376|  4.11k|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  4.09k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  4.09k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  4.09k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  4.09k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  4.09k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  4.09k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 4.09k, False: 0]
  |  |  |  Branch (376:49): [True: 569, False: 3.52k]
  |  |  ------------------
  |  |  377|    569|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|    569|        }                                                                           \
  |  |  379|  4.09k|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 3.52k]
  |  |  ------------------
  |  |  380|  3.52k|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|  3.52k|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|  3.52k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|  3.52k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|  3.52k|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|  3.52k|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|  5.28k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 1.76k, False: 3.52k]
  |  |  ------------------
  |  |  385|  1.76k|            ++ndigits;                                                              \
  |  |  386|  1.76k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  1.76k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|  1.76k|        }                                                                           \
  |  |  388|  3.52k|        /* Construct output value. */                                               \
  |  |  389|  3.52k|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|  3.52k|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 3.52k]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|  3.52k|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|  3.52k|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 3.52k]
  |  |  ------------------
  |  |  395|  3.52k|        t = abs_ival;                                                               \
  |  |  396|  12.3k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 8.80k, False: 3.52k]
  |  |  ------------------
  |  |  397|  8.80k|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|  8.80k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  8.80k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  8.80k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|  8.80k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  8.80k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|  8.80k|        }                                                                           \
  |  |  400|  3.52k|        return (PyObject *)v;                                                       \
  |  |  401|  3.52k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1569|  4.11k|}
PyLong_FromSsize_t:
 1575|  2.88M|{
 1576|       |    PYLONG_FROM_INT(size_t, Py_ssize_t, ival);
  ------------------
  |  |  371|  2.88M|    do {                                                                            \
  |  |  372|  2.88M|        /* Handle small and medium cases. */                                        \
  |  |  373|  2.88M|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  2.88M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  2.88M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  2.88M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  2.88M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 2.88M, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 2.76M, False: 123k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|  2.76M|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|  2.76M|        }                                                                           \
  |  |  376|  2.88M|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|   123k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   123k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   123k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|   123k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   123k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   123k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 123k, False: 0]
  |  |  |  Branch (376:49): [True: 123k, False: 252]
  |  |  ------------------
  |  |  377|   123k|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|   123k|        }                                                                           \
  |  |  379|   123k|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 252]
  |  |  ------------------
  |  |  380|    252|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|    252|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|    252|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|    252|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|    252|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|    252|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|    278|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 26, False: 252]
  |  |  ------------------
  |  |  385|     26|            ++ndigits;                                                              \
  |  |  386|     26|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|     26|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|     26|        }                                                                           \
  |  |  388|    252|        /* Construct output value. */                                               \
  |  |  389|    252|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|    252|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 252]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|    252|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|    252|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 252]
  |  |  ------------------
  |  |  395|    252|        t = abs_ival;                                                               \
  |  |  396|    782|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 530, False: 252]
  |  |  ------------------
  |  |  397|    530|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|    530|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    530|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    530|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|    530|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|    530|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|    530|        }                                                                           \
  |  |  400|    252|        return (PyObject *)v;                                                       \
  |  |  401|    252|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1577|  2.88M|}
_PyLong_FormatWriter:
 2517|     92|{
 2518|     92|    if (base == 10)
  ------------------
  |  Branch (2518:9): [True: 0, False: 92]
  ------------------
 2519|      0|        return long_to_decimal_string_internal(obj, NULL, writer,
 2520|      0|                                               NULL, NULL);
 2521|     92|    else
 2522|     92|        return long_format_binary(obj, base, alternate, NULL, writer,
 2523|     92|                                  NULL, NULL);
 2524|     92|}
PyLong_FromString:
 3053|  23.4k|{
 3054|  23.4k|    int sign = 1, error_if_nonzero = 0;
 3055|  23.4k|    const char *orig_str = str;
 3056|  23.4k|    PyLongObject *z = NULL;
 3057|  23.4k|    PyObject *strobj;
 3058|  23.4k|    Py_ssize_t slen;
 3059|       |
 3060|  23.4k|    if ((base != 0 && base < 2) || base > 36) {
  ------------------
  |  Branch (3060:10): [True: 701, False: 22.7k]
  |  Branch (3060:23): [True: 0, False: 701]
  |  Branch (3060:36): [True: 0, False: 23.4k]
  ------------------
 3061|      0|        PyErr_SetString(PyExc_ValueError,
 3062|      0|                        "int() arg 2 must be >= 2 and <= 36");
 3063|      0|        return NULL;
 3064|      0|    }
 3065|  23.4k|    while (*str != '\0' && Py_ISSPACE(*str)) {
  ------------------
  |  |   27|  23.4k|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  170|  23.4k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|  23.4k|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 23.4k]
  |  |  ------------------
  ------------------
  |  Branch (3065:12): [True: 23.4k, False: 0]
  ------------------
 3066|      0|        ++str;
 3067|      0|    }
 3068|  23.4k|    if (*str == '+') {
  ------------------
  |  Branch (3068:9): [True: 0, False: 23.4k]
  ------------------
 3069|      0|        ++str;
 3070|      0|    }
 3071|  23.4k|    else if (*str == '-') {
  ------------------
  |  Branch (3071:14): [True: 0, False: 23.4k]
  ------------------
 3072|      0|        ++str;
 3073|      0|        sign = -1;
 3074|      0|    }
 3075|  23.4k|    if (base == 0) {
  ------------------
  |  Branch (3075:9): [True: 22.7k, False: 701]
  ------------------
 3076|  22.7k|        if (str[0] != '0') {
  ------------------
  |  Branch (3076:13): [True: 20.5k, False: 2.23k]
  ------------------
 3077|  20.5k|            base = 10;
 3078|  20.5k|        }
 3079|  2.23k|        else if (str[1] == 'x' || str[1] == 'X') {
  ------------------
  |  Branch (3079:18): [True: 199, False: 2.03k]
  |  Branch (3079:35): [True: 266, False: 1.77k]
  ------------------
 3080|    465|            base = 16;
 3081|    465|        }
 3082|  1.77k|        else if (str[1] == 'o' || str[1] == 'O') {
  ------------------
  |  Branch (3082:18): [True: 100, False: 1.67k]
  |  Branch (3082:35): [True: 1.33k, False: 333]
  ------------------
 3083|  1.43k|            base = 8;
 3084|  1.43k|        }
 3085|    333|        else if (str[1] == 'b' || str[1] == 'B') {
  ------------------
  |  Branch (3085:18): [True: 115, False: 218]
  |  Branch (3085:35): [True: 218, False: 0]
  ------------------
 3086|    333|            base = 2;
 3087|    333|        }
 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|  22.7k|    }
 3095|  23.4k|    if (str[0] == '0' &&
  ------------------
  |  Branch (3095:9): [True: 2.74k, False: 20.7k]
  ------------------
 3096|  2.74k|        ((base == 16 && (str[1] == 'x' || str[1] == 'X')) ||
  ------------------
  |  Branch (3096:11): [True: 465, False: 2.27k]
  |  Branch (3096:26): [True: 199, False: 266]
  |  Branch (3096:43): [True: 266, False: 0]
  ------------------
 3097|  2.27k|         (base == 8  && (str[1] == 'o' || str[1] == 'O')) ||
  ------------------
  |  Branch (3097:11): [True: 1.43k, False: 839]
  |  Branch (3097:26): [True: 100, False: 1.33k]
  |  Branch (3097:43): [True: 1.33k, False: 0]
  ------------------
 3098|  2.23k|         (base == 2  && (str[1] == 'b' || str[1] == 'B')))) {
  ------------------
  |  Branch (3098:11): [True: 437, False: 402]
  |  Branch (3098:26): [True: 115, False: 322]
  |  Branch (3098:43): [True: 218, False: 104]
  ------------------
 3099|  2.23k|        str += 2;
 3100|       |        /* One underscore allowed here. */
 3101|  2.23k|        if (*str == '_') {
  ------------------
  |  Branch (3101:13): [True: 0, False: 2.23k]
  ------------------
 3102|      0|            ++str;
 3103|      0|        }
 3104|  2.23k|    }
 3105|       |
 3106|       |    /* long_from_string_base is the main workhorse here. */
 3107|  23.4k|    int ret = long_from_string_base(&str, base, &z);
 3108|  23.4k|    if (ret == -1) {
  ------------------
  |  Branch (3108:9): [True: 0, False: 23.4k]
  ------------------
 3109|       |        /* Syntax error. */
 3110|      0|        goto onError;
 3111|      0|    }
 3112|  23.4k|    if (z == NULL) {
  ------------------
  |  Branch (3112:9): [True: 2, False: 23.4k]
  ------------------
 3113|       |        /* Error. exception already set. */
 3114|      2|        return NULL;
 3115|      2|    }
 3116|       |
 3117|  23.4k|    if (error_if_nonzero) {
  ------------------
  |  Branch (3117:9): [True: 0, False: 23.4k]
  ------------------
 3118|       |        /* reset the base to 0, else the exception message
 3119|       |           doesn't make too much sense */
 3120|      0|        base = 0;
 3121|      0|        if (!_PyLong_IsZero(z)) {
  ------------------
  |  Branch (3121:13): [True: 0, False: 0]
  ------------------
 3122|      0|            goto onError;
 3123|      0|        }
 3124|       |        /* there might still be other problems, therefore base
 3125|       |           remains zero here for the same reason */
 3126|      0|    }
 3127|       |
 3128|       |    /* Set sign and normalize */
 3129|  23.4k|    long_normalize(z);
 3130|  23.4k|    z = maybe_small_long(z);
 3131|  23.4k|    if (sign < 0) {
  ------------------
  |  Branch (3131:9): [True: 0, False: 23.4k]
  ------------------
 3132|      0|        _PyLong_Negate(&z);
 3133|      0|    }
 3134|       |
 3135|  23.4k|    if (pend != NULL) {
  ------------------
  |  Branch (3135:9): [True: 701, False: 22.7k]
  ------------------
 3136|    701|        *pend = (char *)str;
 3137|    701|    }
 3138|  23.4k|    return (PyObject *) z;
 3139|       |
 3140|      0|  onError:
 3141|      0|    if (pend != NULL) {
  ------------------
  |  Branch (3141:9): [True: 0, False: 0]
  ------------------
 3142|      0|        *pend = (char *)str;
 3143|      0|    }
 3144|      0|    Py_XDECREF(z);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3145|      0|    slen = strlen(orig_str) < 200 ? strlen(orig_str) : 200;
  ------------------
  |  Branch (3145:12): [True: 0, False: 0]
  ------------------
 3146|      0|    strobj = PyUnicode_FromStringAndSize(orig_str, slen);
 3147|      0|    if (strobj == NULL) {
  ------------------
  |  Branch (3147:9): [True: 0, False: 0]
  ------------------
 3148|      0|        return NULL;
 3149|      0|    }
 3150|      0|    PyErr_Format(PyExc_ValueError,
 3151|      0|                 "invalid literal for int() with base %d: %.200R",
 3152|      0|                 base, strobj);
 3153|      0|    Py_DECREF(strobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3154|       |    return NULL;
 3155|      0|}
_PyLong_FromBytes:
 3164|    104|{
 3165|    104|    PyObject *result, *strobj;
 3166|    104|    char *end = NULL;
 3167|       |
 3168|    104|    result = PyLong_FromString(s, &end, base);
 3169|    104|    if (end == NULL || (result != NULL && end == s + len))
  ------------------
  |  Branch (3169:9): [True: 0, False: 104]
  |  Branch (3169:25): [True: 104, False: 0]
  |  Branch (3169:43): [True: 104, False: 0]
  ------------------
 3170|    104|        return result;
 3171|      0|    Py_XDECREF(result);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) 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|    104|}
PyLong_FromUnicodeObject:
 3184|    597|{
 3185|    597|    PyObject *result, *asciidig;
 3186|    597|    const char *buffer;
 3187|    597|    char *end = NULL;
 3188|    597|    Py_ssize_t buflen;
 3189|       |
 3190|    597|    asciidig = _PyUnicode_TransformDecimalAndSpaceToASCII(u);
 3191|    597|    if (asciidig == NULL)
  ------------------
  |  Branch (3191:9): [True: 0, False: 597]
  ------------------
 3192|      0|        return NULL;
 3193|    597|    assert(PyUnicode_IS_ASCII(asciidig));
  ------------------
  |  Branch (3193:5): [True: 597, False: 0]
  ------------------
 3194|       |    /* Simply get a pointer to existing ASCII characters. */
 3195|    597|    buffer = PyUnicode_AsUTF8AndSize(asciidig, &buflen);
 3196|    597|    assert(buffer != NULL);
  ------------------
  |  Branch (3196:5): [True: 597, False: 0]
  ------------------
 3197|       |
 3198|    597|    result = PyLong_FromString(buffer, &end, base);
 3199|    597|    if (end == NULL || (result != NULL && end == buffer + buflen)) {
  ------------------
  |  Branch (3199:9): [True: 0, False: 597]
  |  Branch (3199:25): [True: 597, False: 0]
  |  Branch (3199:43): [True: 597, False: 0]
  ------------------
 3200|    597|        Py_DECREF(asciidig);
  ------------------
  |  |  430|    597|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    597|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    597|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3201|    597|        return result;
 3202|    597|    }
 3203|      0|    Py_DECREF(asciidig);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3204|      0|    Py_XDECREF(result);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3205|      0|    PyErr_Format(PyExc_ValueError,
 3206|      0|                 "invalid literal for int() with base %d: %.200R",
 3207|      0|                 base, u);
 3208|       |    return NULL;
 3209|    597|}
_PyLong_Frexp:
 3464|  8.84k|{
 3465|  8.84k|    Py_ssize_t a_size, shift_digits, x_size;
 3466|  8.84k|    int shift_bits;
 3467|  8.84k|    int64_t a_bits;
 3468|       |    /* See below for why x_digits is always large enough. */
 3469|  8.84k|    digit rem;
 3470|  8.84k|    digit x_digits[2 + (DBL_MANT_DIG + 1) / PyLong_SHIFT] = {0,};
 3471|  8.84k|    double dx;
 3472|       |    /* Correction term for round-half-to-even rounding.  For a digit x,
 3473|       |       "x + half_even_correction[x & 7]" gives x rounded to the nearest
 3474|       |       multiple of 4, rounding ties to a multiple of 8. */
 3475|  8.84k|    static const int half_even_correction[8] = {0, -1, -2, 1, 0, -1, 2, 1};
 3476|       |
 3477|  8.84k|    a_size = _PyLong_DigitCount(a);
 3478|  8.84k|    if (a_size == 0) {
  ------------------
  |  Branch (3478:9): [True: 0, False: 8.84k]
  ------------------
 3479|       |        /* Special case for 0: significand 0.0, exponent 0. */
 3480|      0|        *e = 0;
 3481|      0|        return 0.0;
 3482|      0|    }
 3483|  8.84k|    a_bits = _PyLong_NumBits((PyObject *)a);
 3484|       |
 3485|       |    /* Shift the first DBL_MANT_DIG + 2 bits of a into x_digits[0:x_size]
 3486|       |       (shifting left if a_bits <= DBL_MANT_DIG + 2).
 3487|       |
 3488|       |       Number of digits needed for result: write // for floor division.
 3489|       |       Then if shifting left, we end up using
 3490|       |
 3491|       |         1 + a_size + (DBL_MANT_DIG + 2 - a_bits) // PyLong_SHIFT
 3492|       |
 3493|       |       digits.  If shifting right, we use
 3494|       |
 3495|       |         a_size - (a_bits - DBL_MANT_DIG - 2) // PyLong_SHIFT
 3496|       |
 3497|       |       digits.  Using a_size = 1 + (a_bits - 1) // PyLong_SHIFT along with
 3498|       |       the inequalities
 3499|       |
 3500|       |         m // PyLong_SHIFT + n // PyLong_SHIFT <= (m + n) // PyLong_SHIFT
 3501|       |         m // PyLong_SHIFT - n // PyLong_SHIFT <=
 3502|       |                                          1 + (m - n - 1) // PyLong_SHIFT,
 3503|       |
 3504|       |       valid for any integers m and n, we find that x_size satisfies
 3505|       |
 3506|       |         x_size <= 2 + (DBL_MANT_DIG + 1) // PyLong_SHIFT
 3507|       |
 3508|       |       in both cases.
 3509|       |    */
 3510|  8.84k|    if (a_bits <= DBL_MANT_DIG + 2) {
  ------------------
  |  Branch (3510:9): [True: 4.93k, False: 3.91k]
  ------------------
 3511|  4.93k|        shift_digits = (DBL_MANT_DIG + 2 - (Py_ssize_t)a_bits) / PyLong_SHIFT;
  ------------------
  |  |   47|  4.93k|#define PyLong_SHIFT    30
  ------------------
 3512|  4.93k|        shift_bits = (DBL_MANT_DIG + 2 - (int)a_bits) % PyLong_SHIFT;
  ------------------
  |  |   47|  4.93k|#define PyLong_SHIFT    30
  ------------------
 3513|  4.93k|        x_size = shift_digits;
 3514|  4.93k|        rem = v_lshift(x_digits + x_size, a->long_value.ob_digit, a_size,
 3515|  4.93k|                       shift_bits);
 3516|  4.93k|        x_size += a_size;
 3517|  4.93k|        x_digits[x_size++] = rem;
 3518|  4.93k|    }
 3519|  3.91k|    else {
 3520|  3.91k|        shift_digits = (Py_ssize_t)((a_bits - DBL_MANT_DIG - 2) / PyLong_SHIFT);
  ------------------
  |  |   47|  3.91k|#define PyLong_SHIFT    30
  ------------------
 3521|  3.91k|        shift_bits = (int)((a_bits - DBL_MANT_DIG - 2) % PyLong_SHIFT);
  ------------------
  |  |   47|  3.91k|#define PyLong_SHIFT    30
  ------------------
 3522|  3.91k|        rem = v_rshift(x_digits, a->long_value.ob_digit + shift_digits,
 3523|  3.91k|                       a_size - shift_digits, shift_bits);
 3524|  3.91k|        x_size = a_size - shift_digits;
 3525|       |        /* For correct rounding below, we need the least significant
 3526|       |           bit of x to be 'sticky' for this shift: if any of the bits
 3527|       |           shifted out was nonzero, we set the least significant bit
 3528|       |           of x. */
 3529|  3.91k|        if (rem)
  ------------------
  |  Branch (3529:13): [True: 2.66k, False: 1.24k]
  ------------------
 3530|  2.66k|            x_digits[0] |= 1;
 3531|  1.24k|        else
 3532|  1.74k|            while (shift_digits > 0)
  ------------------
  |  Branch (3532:20): [True: 837, False: 910]
  ------------------
 3533|    837|                if (a->long_value.ob_digit[--shift_digits]) {
  ------------------
  |  Branch (3533:21): [True: 334, False: 503]
  ------------------
 3534|    334|                    x_digits[0] |= 1;
 3535|    334|                    break;
 3536|    334|                }
 3537|  3.91k|    }
 3538|  8.84k|    assert(1 <= x_size && x_size <= (Py_ssize_t)Py_ARRAY_LENGTH(x_digits));
  ------------------
  |  Branch (3538:5): [True: 8.84k, False: 0]
  |  Branch (3538:5): [True: 8.84k, False: 0]
  ------------------
 3539|       |
 3540|       |    /* Round, and convert to double. */
 3541|  8.84k|    x_digits[0] += half_even_correction[x_digits[0] & 7];
 3542|  8.84k|    dx = x_digits[--x_size];
 3543|  25.3k|    while (x_size > 0)
  ------------------
  |  Branch (3543:12): [True: 16.5k, False: 8.84k]
  ------------------
 3544|  16.5k|        dx = dx * PyLong_BASE + x_digits[--x_size];
  ------------------
  |  |   61|  16.5k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  16.5k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
 3545|       |
 3546|       |    /* Rescale;  make correction if result is 1.0. */
 3547|  8.84k|    dx /= 4.0 * EXP2_DBL_MANT_DIG;
  ------------------
  |  | 3457|  8.84k|#define EXP2_DBL_MANT_DIG 9007199254740992.0
  ------------------
 3548|  8.84k|    if (dx == 1.0) {
  ------------------
  |  Branch (3548:9): [True: 115, False: 8.73k]
  ------------------
 3549|    115|        assert(a_bits < INT64_MAX);
  ------------------
  |  Branch (3549:9): [True: 115, False: 0]
  ------------------
 3550|    115|        dx = 0.5;
 3551|    115|        a_bits += 1;
 3552|    115|    }
 3553|       |
 3554|  8.84k|    *e = a_bits;
 3555|  8.84k|    return _PyLong_IsNegative(a) ? -dx : dx;
  ------------------
  |  Branch (3555:12): [True: 2.26k, False: 6.58k]
  ------------------
 3556|  8.84k|}
PyLong_AsDouble:
 3563|   136k|{
 3564|   136k|    int64_t exponent;
 3565|   136k|    double x;
 3566|       |
 3567|   136k|    if (v == NULL) {
  ------------------
  |  Branch (3567:9): [True: 0, False: 136k]
  ------------------
 3568|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3569|      0|        return -1.0;
 3570|      0|    }
 3571|   136k|    if (!PyLong_Check(v)) {
  ------------------
  |  |   13|   136k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   136k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3571:9): [True: 0, False: 136k]
  ------------------
 3572|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
 3573|      0|        return -1.0;
 3574|      0|    }
 3575|   136k|    if (_PyLong_IsCompact((PyLongObject *)v)) {
  ------------------
  |  Branch (3575:9): [True: 127k, False: 8.84k]
  ------------------
 3576|       |        /* Fast path; single digit long (31 bits) will cast safely
 3577|       |           to double.  This improves performance of FP/long operations
 3578|       |           by 20%.
 3579|       |        */
 3580|   127k|        return (double)medium_value((PyLongObject *)v);
  ------------------
  |  |   27|   127k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3581|   127k|    }
 3582|  8.84k|    x = _PyLong_Frexp((PyLongObject *)v, &exponent);
 3583|  8.84k|    assert(exponent >= 0);
  ------------------
  |  Branch (3583:5): [True: 8.84k, False: 0]
  ------------------
 3584|  8.84k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (3584:5): [True: 8.84k, False: 0]
  ------------------
 3585|  8.84k|    if (exponent > DBL_MAX_EXP) {
  ------------------
  |  Branch (3585:9): [True: 457, False: 8.39k]
  ------------------
 3586|    457|        PyErr_SetString(PyExc_OverflowError,
 3587|    457|                        "int too large to convert to float");
 3588|    457|        return -1.0;
 3589|    457|    }
 3590|  8.39k|    return ldexp(x, (int)exponent);
 3591|  8.84k|}
_PyLong_ExactDealloc:
 3634|  2.91M|{
 3635|  2.91M|    assert(PyLong_CheckExact(self));
  ------------------
  |  Branch (3635:5): [True: 2.91M, False: 0]
  ------------------
 3636|  2.91M|    if (_PyLong_IsSmallInt((PyLongObject *)self)) {
  ------------------
  |  Branch (3636:9): [True: 0, False: 2.91M]
  ------------------
 3637|       |        // See PEP 683, section Accidental De-Immortalizing for details
 3638|      0|        _Py_SetImmortal(self);
 3639|      0|        return;
 3640|      0|    }
 3641|  2.91M|    if (_PyLong_IsCompact((PyLongObject *)self)) {
  ------------------
  |  Branch (3641:9): [True: 2.80M, False: 117k]
  ------------------
 3642|  2.80M|        _Py_FREELIST_FREE(ints, self, PyObject_Free);
  ------------------
  |  |   35|  2.80M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  2.80M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.80M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  2.80M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   20|  2.80M|#  define Py_ints_MAXFREELIST 100
  |  |  ------------------
  ------------------
 3643|  2.80M|        return;
 3644|  2.80M|    }
 3645|   117k|    PyObject_Free(self);
 3646|   117k|}
_PyCompactLong_Add:
 3877|  9.16M|{
 3878|  9.16M|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (3878:5): [True: 9.16M, False: 0]
  ------------------
 3879|  9.16M|    stwodigits v = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|  9.16M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|  9.16M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3880|  9.16M|    return medium_from_stwodigits(v);
 3881|  9.16M|}
_PyCompactLong_Subtract:
 3922|  1.48M|{
 3923|  1.48M|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (3923:5): [True: 1.48M, False: 0]
  ------------------
 3924|  1.48M|    stwodigits v = medium_value(a) - medium_value(b);
  ------------------
  |  |   27|  1.48M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) - medium_value(b);
  ------------------
  |  |   27|  1.48M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3925|  1.48M|    return medium_from_stwodigits(v);
 3926|  1.48M|}
_PyCompactLong_Multiply:
 4369|  1.21M|{
 4370|  1.21M|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (4370:5): [True: 1.21M, False: 0]
  ------------------
 4371|  1.21M|    stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|  1.21M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|  1.21M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 4372|  1.21M|    return medium_from_stwodigits(v);
 4373|  1.21M|}
_PyLong_Rshift:
 5445|  10.7k|{
 5446|  10.7k|    Py_ssize_t wordshift;
 5447|  10.7k|    digit remshift;
 5448|       |
 5449|  10.7k|    assert(PyLong_Check(a));
  ------------------
  |  Branch (5449:5): [True: 10.7k, False: 0]
  ------------------
 5450|  10.7k|    assert(shiftby >= 0);
  ------------------
  |  Branch (5450:5): [True: 10.7k, False: 0]
  ------------------
 5451|  10.7k|    if (_PyLong_IsZero((PyLongObject *)a)) {
  ------------------
  |  Branch (5451:9): [True: 0, False: 10.7k]
  ------------------
 5452|      0|        return PyLong_FromLong(0);
 5453|      0|    }
 5454|       |#if PY_SSIZE_T_MAX <= INT64_MAX / PyLong_SHIFT
 5455|       |    if (shiftby > (int64_t)PY_SSIZE_T_MAX * PyLong_SHIFT) {
 5456|       |        if (_PyLong_IsNegative((PyLongObject *)a)) {
 5457|       |            return PyLong_FromLong(-1);
 5458|       |        }
 5459|       |        else {
 5460|       |            return PyLong_FromLong(0);
 5461|       |        }
 5462|       |    }
 5463|       |#endif
 5464|  10.7k|    wordshift = (Py_ssize_t)(shiftby / PyLong_SHIFT);
  ------------------
  |  |   47|  10.7k|#define PyLong_SHIFT    30
  ------------------
 5465|  10.7k|    remshift = (digit)(shiftby % PyLong_SHIFT);
  ------------------
  |  |   47|  10.7k|#define PyLong_SHIFT    30
  ------------------
 5466|  10.7k|    return long_rshift1((PyLongObject *)a, wordshift, remshift);
 5467|  10.7k|}
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|    767|{
 6821|       |    PYLONG_FROM_INT(uint64_t, int64_t, value);
  ------------------
  |  |  371|    767|    do {                                                                            \
  |  |  372|    767|        /* Handle small and medium cases. */                                        \
  |  |  373|    767|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|    767|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|    767|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|    767|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|    767|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 767, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 5, False: 762]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|      5|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|      5|        }                                                                           \
  |  |  376|    767|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|    762|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    762|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    762|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|    762|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    762|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    762|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 762, False: 0]
  |  |  |  Branch (376:49): [True: 762, False: 0]
  |  |  ------------------
  |  |  377|    762|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|    762|        }                                                                           \
  |  |  379|    762|        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|    767|}
PyLong_AsInt64:
 6853|  16.3k|{
 6854|  16.3k|    LONG_TO_INT(int64_t, obj, result);
  ------------------
  |  | 6830|  16.3k|    do { \
  |  | 6831|  16.3k|        type value; \
  |  | 6832|  16.3k|        int flags = (Py_ASNATIVEBYTES_NATIVE_ENDIAN \
  |  |  ------------------
  |  |  |  |   47|  16.3k|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  |  |  ------------------
  |  | 6833|  16.3k|                     | Py_ASNATIVEBYTES_ALLOW_INDEX); \
  |  |  ------------------
  |  |  |  |   50|  16.3k|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  |  |  ------------------
  |  | 6834|  16.3k|        Py_ssize_t bytes = PyLong_AsNativeBytes(obj, &value, sizeof(value), flags); \
  |  | 6835|  16.3k|        if (bytes < 0) { \
  |  |  ------------------
  |  |  |  Branch (6835:13): [True: 0, False: 16.3k]
  |  |  ------------------
  |  | 6836|      0|            return -1; \
  |  | 6837|      0|        } \
  |  | 6838|  16.3k|        if ((size_t)bytes > sizeof(value)) { \
  |  |  ------------------
  |  |  |  Branch (6838:13): [True: 2.25k, False: 14.1k]
  |  |  ------------------
  |  | 6839|  2.25k|            PyErr_SetString(PyExc_OverflowError, \
  |  | 6840|  2.25k|                            "Python int too large to convert to C " #type); \
  |  | 6841|  2.25k|            return -1; \
  |  | 6842|  2.25k|        } \
  |  | 6843|  16.3k|        *result = value; \
  |  | 6844|  14.1k|        return 0; \
  |  | 6845|  16.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6845:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6855|  16.3k|}
PyLong_GetNativeLayout:
 6898|     12|{
 6899|     12|    return &PyLong_LAYOUT;
 6900|     12|}
PyLongWriter_Create:
 6961|     12|{
 6962|     12|    if (ndigits <= 0) {
  ------------------
  |  Branch (6962:9): [True: 0, False: 12]
  ------------------
 6963|      0|        PyErr_SetString(PyExc_ValueError, "ndigits must be positive");
 6964|      0|        goto error;
 6965|      0|    }
 6966|     12|    assert(digits != NULL);
  ------------------
  |  Branch (6966:5): [True: 12, False: 0]
  ------------------
 6967|       |
 6968|     12|    PyLongObject *obj = long_alloc(ndigits);
 6969|     12|    if (obj == NULL) {
  ------------------
  |  Branch (6969:9): [True: 0, False: 12]
  ------------------
 6970|      0|        goto error;
 6971|      0|    }
 6972|     12|    if (negative) {
  ------------------
  |  Branch (6972:9): [True: 1, False: 11]
  ------------------
 6973|      1|        _PyLong_FlipSign(obj);
 6974|      1|    }
 6975|       |
 6976|     12|    *digits = obj->long_value.ob_digit;
 6977|     12|    return (PyLongWriter*)obj;
 6978|       |
 6979|      0|error:
 6980|      0|    *digits = NULL;
 6981|       |    return NULL;
 6982|     12|}
PyLongWriter_Finish:
 7000|     12|{
 7001|     12|    PyLongObject *obj = (PyLongObject *)writer;
 7002|     12|    assert(Py_REFCNT(obj) == 1);
  ------------------
  |  Branch (7002:5): [True: 12, 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|     12|    obj = maybe_small_long(long_normalize(obj));
 7028|       |
 7029|     12|    return (PyObject*)obj;
 7030|     12|}
longobject.c:long_alloc:
  160|   727k|{
  161|   727k|    assert(size >= 0);
  ------------------
  |  Branch (161:5): [True: 727k, False: 0]
  ------------------
  162|   727k|    PyLongObject *result = NULL;
  163|   727k|    if (size > (Py_ssize_t)MAX_LONG_DIGITS) {
  ------------------
  |  |  155|   727k|# define MAX_LONG_DIGITS ((INT64_MAX-1) / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|   727k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (163:9): [True: 0, False: 727k]
  ------------------
  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|   727k|    Py_ssize_t ndigits = size ? size : 1;
  ------------------
  |  Branch (170:26): [True: 727k, False: 469]
  ------------------
  171|       |
  172|   727k|    if (ndigits == 1) {
  ------------------
  |  Branch (172:9): [True: 9.18k, False: 718k]
  ------------------
  173|  9.18k|        result = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|  9.18k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  9.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  174|  9.18k|    }
  175|   727k|    if (result == NULL) {
  ------------------
  |  Branch (175:9): [True: 718k, False: 9.05k]
  ------------------
  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|   718k|        result = PyObject_Malloc(offsetof(PyLongObject, long_value.ob_digit) +
  182|   718k|                                ndigits*sizeof(digit));
  183|   718k|        if (!result) {
  ------------------
  |  Branch (183:13): [True: 0, False: 718k]
  ------------------
  184|      0|            PyErr_NoMemory();
  185|      0|            return NULL;
  186|      0|        }
  187|   718k|        _PyObject_Init((PyObject*)result, &PyLong_Type);
  188|   718k|        _PyLong_InitTag(result);
  189|   718k|    }
  190|   727k|    _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|   727k|    return result;
  197|   727k|}
longobject.c:get_small_int:
   62|  19.9M|{
   63|  19.9M|    assert(IS_SMALL_INT(ival));
  ------------------
  |  Branch (63:5): [True: 19.9M, False: 0]
  |  Branch (63:5): [True: 19.9M, False: 0]
  ------------------
   64|  19.9M|    return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + ival];
  ------------------
  |  |   59|  19.9M|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  19.9M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  19.9M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + ival];
  ------------------
  |  |   98|  19.9M|#define _PY_NSMALLNEGINTS           5
  ------------------
   65|  19.9M|}
longobject.c:_PyLong_FromMedium:
  252|  5.27M|{
  253|  5.27M|    assert(!IS_SMALL_INT(x));
  ------------------
  |  Branch (253:5): [True: 5.22M, False: 55.6k]
  |  Branch (253:5): [True: 0, False: 5.22M]
  ------------------
  254|  5.27M|    assert(is_medium_int(x));
  ------------------
  |  Branch (254:5): [True: 5.27M, False: 0]
  ------------------
  255|       |
  256|  5.27M|    PyLongObject *v = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|  5.27M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  5.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  257|  5.27M|    if (v == NULL) {
  ------------------
  |  Branch (257:9): [True: 549k, False: 4.72M]
  ------------------
  258|   549k|        v = PyObject_Malloc(sizeof(PyLongObject));
  259|   549k|        if (v == NULL) {
  ------------------
  |  Branch (259:13): [True: 0, False: 549k]
  ------------------
  260|      0|            PyErr_NoMemory();
  261|      0|            return NULL;
  262|      0|        }
  263|   549k|        _PyObject_Init((PyObject*)v, &PyLong_Type);
  264|   549k|        _PyLong_InitTag(v);
  265|   549k|    }
  266|  5.27M|    digit abs_x = x < 0 ? -x : x;
  ------------------
  |  Branch (266:19): [True: 55.6k, False: 5.22M]
  ------------------
  267|  5.27M|    _PyLong_SetSignAndDigitCount(v, x<0?-1:1, 1);
  ------------------
  |  Branch (267:37): [True: 55.6k, False: 5.22M]
  ------------------
  268|  5.27M|    v->long_value.ob_digit[0] = abs_x;
  269|  5.27M|    return (PyObject*)v;
  270|  5.27M|}
longobject.c:is_medium_int:
   54|  6.10M|{
   55|       |    /* Take care that we are comparing unsigned values. */
   56|  6.10M|    twodigits x_plus_mask = ((twodigits)x) + PyLong_MASK;
  ------------------
  |  |   62|  6.10M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  6.10M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  6.10M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|  6.10M|    return x_plus_mask < ((twodigits)PyLong_MASK) + PyLong_BASE;
  ------------------
  |  |   62|  6.10M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  6.10M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  6.10M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return x_plus_mask < ((twodigits)PyLong_MASK) + PyLong_BASE;
  ------------------
  |  |   61|  6.10M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  6.10M|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
   58|  6.10M|}
longobject.c:unroll_digits_ulong:
  537|   369k|{
  538|   369k|    assert(ULONG_MAX >= ((1UL << PyLong_SHIFT) - 1));
  ------------------
  |  Branch (538:5): [True: 369k, Folded]
  ------------------
  539|       |
  540|   369k|    Py_ssize_t i = *iptr;
  541|   369k|    assert(i >= 2);
  ------------------
  |  Branch (541:5): [True: 369k, False: 0]
  ------------------
  542|       |
  543|       |    /* unroll 1 digit */
  544|   369k|    --i;
  545|   369k|    digit *digits = v->long_value.ob_digit;
  546|   369k|    unsigned long x = digits[i];
  547|       |
  548|   369k|#if (ULONG_MAX >> PyLong_SHIFT) >= ((1UL << PyLong_SHIFT) - 1)
  549|       |    /* unroll another digit */
  550|   369k|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|   369k|#define PyLong_SHIFT    30
  ------------------
  551|   369k|    --i;
  552|   369k|    x |= digits[i];
  553|   369k|#endif
  554|       |
  555|   369k|    *iptr = i;
  556|   369k|    return x;
  557|   369k|}
longobject.c:unroll_digits_size_t:
  561|  11.1k|{
  562|  11.1k|    assert(SIZE_MAX >= ((1UL << PyLong_SHIFT) - 1));
  ------------------
  |  Branch (562:5): [True: 11.1k, Folded]
  ------------------
  563|       |
  564|  11.1k|    Py_ssize_t i = *iptr;
  565|  11.1k|    assert(i >= 2);
  ------------------
  |  Branch (565:5): [True: 11.1k, False: 0]
  ------------------
  566|       |
  567|       |    /* unroll 1 digit */
  568|  11.1k|    --i;
  569|  11.1k|    digit *digits = v->long_value.ob_digit;
  570|  11.1k|    size_t x = digits[i];
  571|       |
  572|  11.1k|#if (SIZE_MAX >> PyLong_SHIFT) >= ((1 << PyLong_SHIFT) - 1)
  573|       |    /* unroll another digit */
  574|  11.1k|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|  11.1k|#define PyLong_SHIFT    30
  ------------------
  575|  11.1k|    --i;
  576|  11.1k|    x |= digits[i];
  577|  11.1k|#endif
  578|       |
  579|  11.1k|    *iptr = i;
  580|  11.1k|    return x;
  581|  11.1k|}
longobject.c:long_sign:
  936|  5.25k|{
  937|  5.25k|    assert(vv != NULL);
  ------------------
  |  Branch (937:5): [True: 5.25k, False: 0]
  ------------------
  938|  5.25k|    assert(PyLong_Check(vv));
  ------------------
  |  Branch (938:5): [True: 5.25k, False: 0]
  ------------------
  939|  5.25k|    PyLongObject *v = (PyLongObject *)vv;
  940|       |
  941|  5.25k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (941:9): [True: 3.80k, False: 1.45k]
  ------------------
  942|  3.80k|        return _PyLong_CompactSign(v);
  943|  3.80k|    }
  944|  1.45k|    return _PyLong_NonCompactSign(v);
  945|  5.25k|}
longobject.c:bit_length_digit:
  967|   185k|{
  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|   185k|                  "digit is larger than unsigned long");
  972|   185k|    return _Py_bit_length((unsigned long)x);
  973|   185k|}
longobject.c:maybe_small_long:
   69|  71.1k|{
   70|  71.1k|    if (v && _PyLong_IsCompact(v)) {
  ------------------
  |  Branch (70:9): [True: 71.1k, False: 0]
  |  Branch (70:14): [True: 7.92k, False: 63.2k]
  ------------------
   71|  7.92k|        stwodigits ival = medium_value(v);
  ------------------
  |  |   27|  7.92k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
   72|  7.92k|        if (IS_SMALL_INT(ival)) {
  ------------------
  |  |   29|  7.92k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|  7.92k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  7.92k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  6.23k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 6.23k, False: 1.68k]
  |  |  |  |  |  Branch (68:37): [True: 2.25k, False: 3.98k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|  2.25k|            _Py_DECREF_INT(v);
   74|  2.25k|            return (PyLongObject *)get_small_int((sdigit)ival);
   75|  2.25k|        }
   76|  7.92k|    }
   77|  68.9k|    return v;
   78|  71.1k|}
longobject.c:_Py_DECREF_INT:
   47|   122k|{
   48|   122k|    assert(PyLong_CheckExact(op));
  ------------------
  |  Branch (48:5): [True: 122k, False: 0]
  ------------------
   49|   122k|    _Py_DECREF_SPECIALIZED((PyObject *)op, _PyLong_ExactDealloc);
   50|   122k|}
longobject.c:long_normalize:
  127|   255k|{
  128|   255k|    Py_ssize_t j = _PyLong_DigitCount(v);
  129|   255k|    Py_ssize_t i = j;
  130|       |
  131|   415k|    while (i > 0 && v->long_value.ob_digit[i-1] == 0)
  ------------------
  |  Branch (131:12): [True: 413k, False: 1.75k]
  |  Branch (131:21): [True: 159k, False: 253k]
  ------------------
  132|   159k|        --i;
  133|   255k|    if (i != j) {
  ------------------
  |  Branch (133:9): [True: 117k, False: 137k]
  ------------------
  134|   117k|        if (i == 0) {
  ------------------
  |  Branch (134:13): [True: 1.14k, False: 116k]
  ------------------
  135|  1.14k|            _PyLong_SetSignAndDigitCount(v, 0, 0);
  136|  1.14k|        }
  137|   116k|        else {
  138|   116k|            _PyLong_SetDigitCount(v, i);
  139|   116k|        }
  140|   117k|    }
  141|   255k|    return v;
  142|   255k|}
longobject.c:_resolve_endianness:
 1271|  16.3k|{
 1272|  16.3k|    if (*endianness == -1 || (*endianness & 2)) {
  ------------------
  |  Branch (1272:9): [True: 0, False: 16.3k]
  |  Branch (1272:30): [True: 16.3k, False: 0]
  ------------------
 1273|  16.3k|        *endianness = PY_LITTLE_ENDIAN;
  ------------------
  |  |  453|  16.3k|#  define PY_LITTLE_ENDIAN 1
  ------------------
 1274|  16.3k|    } else {
 1275|      0|        *endianness &= 1;
 1276|      0|    }
 1277|  16.3k|    assert(*endianness == 0 || *endianness == 1);
  ------------------
  |  Branch (1277:5): [True: 0, False: 16.3k]
  |  Branch (1277:5): [True: 16.3k, False: 0]
  ------------------
 1278|  16.3k|    return 0;
 1279|  16.3k|}
longobject.c:_fits_in_n_bits:
 1259|  12.0k|{
 1260|  12.0k|    if (n >= (Py_ssize_t)sizeof(Py_ssize_t) * 8) {
  ------------------
  |  Branch (1260:9): [True: 12.0k, False: 0]
  ------------------
 1261|  12.0k|        return 1;
 1262|  12.0k|    }
 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|  12.0k|}
longobject.c:long_to_decimal_string_internal:
 2097|  94.3k|{
 2098|  94.3k|    PyLongObject *scratch, *a;
 2099|  94.3k|    PyObject *str = NULL;
 2100|  94.3k|    Py_ssize_t size, strlen, size_a, i, j;
 2101|  94.3k|    digit *pout, *pin, rem, tenpow;
 2102|  94.3k|    int negative;
 2103|  94.3k|    int d;
 2104|       |
 2105|       |    // writer or bytes_writer can be used, but not both at the same time.
 2106|  94.3k|    assert(writer == NULL || bytes_writer == NULL);
  ------------------
  |  Branch (2106:5): [True: 94.3k, False: 0]
  |  Branch (2106:5): [True: 0, False: 0]
  ------------------
 2107|       |
 2108|  94.3k|    a = (PyLongObject *)aa;
 2109|  94.3k|    if (a == NULL || !PyLong_Check(a)) {
  ------------------
  |  |   13|  94.3k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  94.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2109:9): [True: 0, False: 94.3k]
  |  Branch (2109:22): [True: 0, False: 94.3k]
  ------------------
 2110|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2111|      0|        return -1;
 2112|      0|    }
 2113|  94.3k|    size_a = _PyLong_DigitCount(a);
 2114|  94.3k|    negative = _PyLong_IsNegative(a);
 2115|       |
 2116|       |    /* quick and dirty pre-check for overflowing the decimal digit limit,
 2117|       |       based on the inequality 10/3 >= log2(10)
 2118|       |
 2119|       |       explanation in https://github.com/python/cpython/pull/96537
 2120|       |    */
 2121|  94.3k|    if (size_a >= 10 * _PY_LONG_MAX_STR_DIGITS_THRESHOLD
  ------------------
  |  |   42|  94.3k|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2121:9): [True: 19, False: 94.3k]
  ------------------
 2122|  94.3k|                  / (3 * PyLong_SHIFT) + 2) {
  ------------------
  |  |   47|  94.3k|#define PyLong_SHIFT    30
  ------------------
 2123|     19|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2124|     19|        int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 2125|     19|        if ((max_str_digits > 0) &&
  ------------------
  |  Branch (2125:13): [True: 19, False: 0]
  ------------------
 2126|     19|            (max_str_digits / (3 * PyLong_SHIFT) <= (size_a - 11) / 10)) {
  ------------------
  |  |   47|     19|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2126:13): [True: 0, False: 19]
  ------------------
 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|     19|    }
 2132|       |
 2133|  94.3k|#if WITH_PYLONG_MODULE
 2134|  94.3k|    if (size_a > 1000) {
  ------------------
  |  Branch (2134:9): [True: 0, False: 94.3k]
  ------------------
 2135|       |        /* Switch to _pylong.int_to_decimal_string(). */
 2136|      0|        return pylong_int_to_decimal_string(aa,
 2137|      0|                                         p_output,
 2138|      0|                                         writer,
 2139|      0|                                         bytes_writer,
 2140|      0|                                         bytes_str);
 2141|      0|    }
 2142|  94.3k|#endif
 2143|       |
 2144|       |    /* quick and dirty upper bound for the number of digits
 2145|       |       required to express a in base _PyLong_DECIMAL_BASE:
 2146|       |
 2147|       |         #digits = 1 + floor(log2(a) / log2(_PyLong_DECIMAL_BASE))
 2148|       |
 2149|       |       But log2(a) < size_a * PyLong_SHIFT, and
 2150|       |       log2(_PyLong_DECIMAL_BASE) = log2(10) * _PyLong_DECIMAL_SHIFT
 2151|       |                                  > 3.3 * _PyLong_DECIMAL_SHIFT
 2152|       |
 2153|       |         size_a * PyLong_SHIFT / (3.3 * _PyLong_DECIMAL_SHIFT) =
 2154|       |             size_a + size_a / d < size_a + size_a / floor(d),
 2155|       |       where d = (3.3 * _PyLong_DECIMAL_SHIFT) /
 2156|       |                 (PyLong_SHIFT - 3.3 * _PyLong_DECIMAL_SHIFT)
 2157|       |    */
 2158|  94.3k|    d = (33 * _PyLong_DECIMAL_SHIFT) /
  ------------------
  |  |   48|  94.3k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2159|  94.3k|        (10 * PyLong_SHIFT - 33 * _PyLong_DECIMAL_SHIFT);
  ------------------
  |  |   47|  94.3k|#define PyLong_SHIFT    30
  ------------------
                      (10 * PyLong_SHIFT - 33 * _PyLong_DECIMAL_SHIFT);
  ------------------
  |  |   48|  94.3k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2160|  94.3k|    assert(size_a < PY_SSIZE_T_MAX/2);
  ------------------
  |  Branch (2160:5): [True: 94.3k, False: 0]
  ------------------
 2161|  94.3k|    size = 1 + size_a + size_a / d;
 2162|  94.3k|    scratch = long_alloc(size);
 2163|  94.3k|    if (scratch == NULL)
  ------------------
  |  Branch (2163:9): [True: 0, False: 94.3k]
  ------------------
 2164|      0|        return -1;
 2165|       |
 2166|       |    /* convert array of base _PyLong_BASE digits in pin to an array of
 2167|       |       base _PyLong_DECIMAL_BASE digits in pout, following Knuth (TAOCP,
 2168|       |       Volume 2 (3rd edn), section 4.4, Method 1b). */
 2169|  94.3k|    pin = a->long_value.ob_digit;
 2170|  94.3k|    pout = scratch->long_value.ob_digit;
 2171|  94.3k|    size = 0;
 2172|   196k|    for (i = size_a; --i >= 0; ) {
  ------------------
  |  Branch (2172:22): [True: 101k, False: 94.3k]
  ------------------
 2173|   101k|        digit hi = pin[i];
 2174|   424k|        for (j = 0; j < size; j++) {
  ------------------
  |  Branch (2174:21): [True: 322k, False: 101k]
  ------------------
 2175|   322k|            twodigits z = (twodigits)pout[j] << PyLong_SHIFT | hi;
  ------------------
  |  |   47|   322k|#define PyLong_SHIFT    30
  ------------------
 2176|   322k|            hi = (digit)(z / _PyLong_DECIMAL_BASE);
  ------------------
  |  |   49|   322k|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2177|   322k|            pout[j] = (digit)(z - (twodigits)hi *
 2178|   322k|                              _PyLong_DECIMAL_BASE);
  ------------------
  |  |   49|   322k|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2179|   322k|        }
 2180|   203k|        while (hi) {
  ------------------
  |  Branch (2180:16): [True: 101k, False: 101k]
  ------------------
 2181|   101k|            pout[size++] = hi % _PyLong_DECIMAL_BASE;
  ------------------
  |  |   49|   101k|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2182|   101k|            hi /= _PyLong_DECIMAL_BASE;
  ------------------
  |  |   49|   101k|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2183|   101k|        }
 2184|       |        /* check for keyboard interrupt */
 2185|   101k|        SIGCHECK({
  ------------------
  |  |  117|   101k|    do {                                        \
  |  |  118|   101k|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 101k]
  |  |  ------------------
  |  |  119|   101k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 101k]
  |  |  ------------------
  ------------------
 2186|   101k|                Py_DECREF(scratch);
 2187|   101k|                return -1;
 2188|   101k|            });
 2189|   101k|    }
 2190|       |    /* pout should have at least one digit, so that the case when a = 0
 2191|       |       works correctly */
 2192|  94.3k|    if (size == 0)
  ------------------
  |  Branch (2192:9): [True: 2.86k, False: 91.5k]
  ------------------
 2193|  2.86k|        pout[size++] = 0;
 2194|       |
 2195|       |    /* calculate exact length of output string, and allocate */
 2196|  94.3k|    strlen = negative + 1 + (size - 1) * _PyLong_DECIMAL_SHIFT;
  ------------------
  |  |   48|  94.3k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2197|  94.3k|    tenpow = 10;
 2198|  94.3k|    rem = pout[size-1];
 2199|   196k|    while (rem >= tenpow) {
  ------------------
  |  Branch (2199:12): [True: 102k, False: 94.3k]
  ------------------
 2200|   102k|        tenpow *= 10;
 2201|   102k|        strlen++;
 2202|   102k|    }
 2203|  94.3k|    if (strlen > _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
  ------------------
  |  |   42|  94.3k|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2203:9): [True: 20, False: 94.3k]
  ------------------
 2204|     20|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2205|     20|        int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 2206|     20|        Py_ssize_t strlen_nosign = strlen - negative;
 2207|     20|        if ((max_str_digits > 0) && (strlen_nosign > max_str_digits)) {
  ------------------
  |  Branch (2207:13): [True: 20, False: 0]
  |  Branch (2207:37): [True: 0, False: 20]
  ------------------
 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|     20|    }
 2214|  94.3k|    if (writer) {
  ------------------
  |  Branch (2214:9): [True: 0, False: 94.3k]
  ------------------
 2215|      0|        if (_PyUnicodeWriter_Prepare(writer, strlen, 127) == -1) {
  ------------------
  |  Branch (2215:13): [True: 0, False: 0]
  ------------------
 2216|      0|            Py_DECREF(scratch);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2217|      0|            return -1;
 2218|      0|        }
 2219|      0|        assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (2219:9): [True: 0, False: 0]
  ------------------
 2220|      0|    }
 2221|  94.3k|    else if (bytes_writer) {
  ------------------
  |  Branch (2221:14): [True: 0, False: 94.3k]
  ------------------
 2222|      0|        *bytes_str = PyBytesWriter_GrowAndUpdatePointer(bytes_writer, strlen,
 2223|      0|                                                        *bytes_str);
 2224|      0|        if (*bytes_str == NULL) {
  ------------------
  |  Branch (2224:13): [True: 0, False: 0]
  ------------------
 2225|      0|            Py_DECREF(scratch);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2226|      0|            return -1;
 2227|      0|        }
 2228|      0|    }
 2229|  94.3k|    else {
 2230|  94.3k|        str = PyUnicode_New(strlen, 127);
 2231|  94.3k|        if (str == NULL) {
  ------------------
  |  Branch (2231:13): [True: 0, False: 94.3k]
  ------------------
 2232|      0|            Py_DECREF(scratch);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2233|      0|            return -1;
 2234|      0|        }
 2235|  94.3k|    }
 2236|       |
 2237|  94.3k|#define WRITE_DIGITS(p)                                               \
 2238|  94.3k|    do {                                                              \
 2239|       |        /* pout[0] through pout[size-2] contribute exactly            \
 2240|       |           _PyLong_DECIMAL_SHIFT digits each */                       \
 2241|  94.3k|        for (i=0; i < size - 1; i++) {                                \
 2242|  94.3k|            rem = pout[i];                                            \
 2243|  94.3k|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
 2244|  94.3k|                *--p = '0' + rem % 10;                                \
 2245|  94.3k|                rem /= 10;                                            \
 2246|  94.3k|            }                                                         \
 2247|  94.3k|        }                                                             \
 2248|       |        /* pout[size-1]: always produce at least one decimal digit */ \
 2249|  94.3k|        rem = pout[i];                                                \
 2250|  94.3k|        do {                                                          \
 2251|  94.3k|            *--p = '0' + rem % 10;                                    \
 2252|  94.3k|            rem /= 10;                                                \
 2253|  94.3k|        } while (rem != 0);                                           \
 2254|  94.3k|                                                                      \
 2255|       |        /* and sign */                                                \
 2256|  94.3k|        if (negative)                                                 \
 2257|  94.3k|            *--p = '-';                                               \
 2258|  94.3k|    } while (0)
 2259|       |
 2260|  94.3k|#define WRITE_UNICODE_DIGITS(TYPE)                                    \
 2261|  94.3k|    do {                                                              \
 2262|  94.3k|        if (writer)                                                   \
 2263|  94.3k|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
 2264|  94.3k|        else                                                          \
 2265|  94.3k|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
 2266|  94.3k|                                                                      \
 2267|  94.3k|        WRITE_DIGITS(p);                                              \
 2268|  94.3k|                                                                      \
 2269|       |        /* check we've counted correctly */                           \
 2270|  94.3k|        if (writer)                                                   \
 2271|  94.3k|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
 2272|  94.3k|        else                                                          \
 2273|  94.3k|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
 2274|  94.3k|    } while (0)
 2275|       |
 2276|       |    /* fill the string right-to-left */
 2277|  94.3k|    if (bytes_writer) {
  ------------------
  |  Branch (2277:9): [True: 0, False: 94.3k]
  ------------------
 2278|      0|        char *p = *bytes_str + strlen;
 2279|      0|        WRITE_DIGITS(p);
  ------------------
  |  | 2238|      0|    do {                                                              \
  |  | 2239|      0|        /* pout[0] through pout[size-2] contribute exactly            \
  |  | 2240|      0|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  | 2241|      0|        for (i=0; i < size - 1; i++) {                                \
  |  |  ------------------
  |  |  |  Branch (2241:19): [True: 0, False: 0]
  |  |  ------------------
  |  | 2242|      0|            rem = pout[i];                                            \
  |  | 2243|      0|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
  |  |  ------------------
  |  |  |  |   48|      0|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  |  |  ------------------
  |  |  |  Branch (2243:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2244|      0|                *--p = '0' + rem % 10;                                \
  |  | 2245|      0|                rem /= 10;                                            \
  |  | 2246|      0|            }                                                         \
  |  | 2247|      0|        }                                                             \
  |  | 2248|      0|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  | 2249|      0|        rem = pout[i];                                                \
  |  | 2250|      0|        do {                                                          \
  |  | 2251|      0|            *--p = '0' + rem % 10;                                    \
  |  | 2252|      0|            rem /= 10;                                                \
  |  | 2253|      0|        } while (rem != 0);                                           \
  |  |  ------------------
  |  |  |  Branch (2253:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 2254|      0|                                                                      \
  |  | 2255|      0|        /* and sign */                                                \
  |  | 2256|      0|        if (negative)                                                 \
  |  |  ------------------
  |  |  |  Branch (2256:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2257|      0|            *--p = '-';                                               \
  |  | 2258|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2258:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2280|      0|        assert(p == *bytes_str);
  ------------------
  |  Branch (2280:9): [True: 0, False: 0]
  ------------------
 2281|      0|    }
 2282|  94.3k|    else {
 2283|  94.3k|        int kind = writer ? writer->kind : PyUnicode_KIND(str);
  ------------------
  |  |  259|  94.3k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   188k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 94.3k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2283:20): [True: 0, False: 94.3k]
  ------------------
 2284|  94.3k|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2284:13): [True: 94.3k, False: 0]
  ------------------
 2285|  94.3k|            Py_UCS1 *p;
 2286|  94.3k|            WRITE_UNICODE_DIGITS(Py_UCS1);
  ------------------
  |  | 2261|  94.3k|    do {                                                              \
  |  | 2262|  94.3k|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2262:13): [True: 0, False: 94.3k]
  |  |  ------------------
  |  | 2263|  94.3k|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2264|  94.3k|        else                                                          \
  |  | 2265|  94.3k|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  285|  94.3k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  94.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  94.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2266|  94.3k|                                                                      \
  |  | 2267|  94.3k|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2238|  94.3k|    do {                                                              \
  |  |  |  | 2239|  94.3k|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2240|  94.3k|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2241|   104k|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2241:19): [True: 10.2k, False: 94.3k]
  |  |  |  |  ------------------
  |  |  |  | 2242|  10.2k|            rem = pout[i];                                            \
  |  |  |  | 2243|   102k|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|   102k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2243:25): [True: 92.6k, False: 10.2k]
  |  |  |  |  ------------------
  |  |  |  | 2244|  92.6k|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2245|  92.6k|                rem /= 10;                                            \
  |  |  |  | 2246|  92.6k|            }                                                         \
  |  |  |  | 2247|  10.2k|        }                                                             \
  |  |  |  | 2248|  94.3k|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2249|  94.3k|        rem = pout[i];                                                \
  |  |  |  | 2250|   196k|        do {                                                          \
  |  |  |  | 2251|   196k|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2252|   196k|            rem /= 10;                                                \
  |  |  |  | 2253|   196k|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2253:18): [True: 102k, False: 94.3k]
  |  |  |  |  ------------------
  |  |  |  | 2254|  94.3k|                                                                      \
  |  |  |  | 2255|  94.3k|        /* and sign */                                                \
  |  |  |  | 2256|  94.3k|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2256:13): [True: 0, False: 94.3k]
  |  |  |  |  ------------------
  |  |  |  | 2257|  94.3k|            *--p = '-';                                               \
  |  |  |  | 2258|  94.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2258:14): [Folded, False: 94.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2268|  94.3k|                                                                      \
  |  | 2269|  94.3k|        /* check we've counted correctly */                           \
  |  | 2270|  94.3k|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2270:13): [True: 0, False: 94.3k]
  |  |  ------------------
  |  | 2271|  94.3k|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2272|  94.3k|        else                                                          \
  |  | 2273|  94.3k|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2274|  94.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2274:14): [Folded, False: 94.3k]
  |  |  ------------------
  ------------------
  |  Branch (2286:13): [True: 0, False: 0]
  |  Branch (2286:13): [True: 94.3k, False: 0]
  ------------------
 2287|  94.3k|        }
 2288|      0|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (2288:18): [True: 0, False: 0]
  ------------------
 2289|      0|            Py_UCS2 *p;
 2290|      0|            WRITE_UNICODE_DIGITS(Py_UCS2);
  ------------------
  |  | 2261|      0|    do {                                                              \
  |  | 2262|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2262:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2263|      0|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2264|      0|        else                                                          \
  |  | 2265|      0|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2266|      0|                                                                      \
  |  | 2267|      0|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2238|      0|    do {                                                              \
  |  |  |  | 2239|      0|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2240|      0|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2241|      0|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2241:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2242|      0|            rem = pout[i];                                            \
  |  |  |  | 2243|      0|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2243:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2244|      0|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2245|      0|                rem /= 10;                                            \
  |  |  |  | 2246|      0|            }                                                         \
  |  |  |  | 2247|      0|        }                                                             \
  |  |  |  | 2248|      0|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2249|      0|        rem = pout[i];                                                \
  |  |  |  | 2250|      0|        do {                                                          \
  |  |  |  | 2251|      0|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2252|      0|            rem /= 10;                                                \
  |  |  |  | 2253|      0|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2253:18): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2254|      0|                                                                      \
  |  |  |  | 2255|      0|        /* and sign */                                                \
  |  |  |  | 2256|      0|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2256:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2257|      0|            *--p = '-';                                               \
  |  |  |  | 2258|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2258:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2268|      0|                                                                      \
  |  | 2269|      0|        /* check we've counted correctly */                           \
  |  | 2270|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2270:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2271|      0|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2272|      0|        else                                                          \
  |  | 2273|      0|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2274|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2274:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2290:13): [True: 0, False: 0]
  |  Branch (2290:13): [True: 0, False: 0]
  ------------------
 2291|      0|        }
 2292|      0|        else {
 2293|      0|            assert (kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (2293:13): [True: 0, False: 0]
  ------------------
 2294|      0|            Py_UCS4 *p;
 2295|      0|            WRITE_UNICODE_DIGITS(Py_UCS4);
  ------------------
  |  | 2261|      0|    do {                                                              \
  |  | 2262|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2262:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2263|      0|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2264|      0|        else                                                          \
  |  | 2265|      0|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2266|      0|                                                                      \
  |  | 2267|      0|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2238|      0|    do {                                                              \
  |  |  |  | 2239|      0|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2240|      0|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2241|      0|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2241:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2242|      0|            rem = pout[i];                                            \
  |  |  |  | 2243|      0|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2243:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2244|      0|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2245|      0|                rem /= 10;                                            \
  |  |  |  | 2246|      0|            }                                                         \
  |  |  |  | 2247|      0|        }                                                             \
  |  |  |  | 2248|      0|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2249|      0|        rem = pout[i];                                                \
  |  |  |  | 2250|      0|        do {                                                          \
  |  |  |  | 2251|      0|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2252|      0|            rem /= 10;                                                \
  |  |  |  | 2253|      0|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2253:18): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2254|      0|                                                                      \
  |  |  |  | 2255|      0|        /* and sign */                                                \
  |  |  |  | 2256|      0|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2256:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2257|      0|            *--p = '-';                                               \
  |  |  |  | 2258|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2258:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2268|      0|                                                                      \
  |  | 2269|      0|        /* check we've counted correctly */                           \
  |  | 2270|      0|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2270:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2271|      0|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2272|      0|        else                                                          \
  |  | 2273|      0|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2274|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2274:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2295:13): [True: 0, False: 0]
  |  Branch (2295:13): [True: 0, False: 0]
  ------------------
 2296|      0|        }
 2297|  94.3k|    }
 2298|       |
 2299|  94.3k|#undef WRITE_DIGITS
 2300|  94.3k|#undef WRITE_UNICODE_DIGITS
 2301|       |
 2302|  94.3k|    _Py_DECREF_INT(scratch);
 2303|  94.3k|    if (writer) {
  ------------------
  |  Branch (2303:9): [True: 0, False: 94.3k]
  ------------------
 2304|      0|        writer->pos += strlen;
 2305|      0|    }
 2306|  94.3k|    else if (bytes_writer) {
  ------------------
  |  Branch (2306:14): [True: 0, False: 94.3k]
  ------------------
 2307|      0|        (*bytes_str) += strlen;
 2308|      0|    }
 2309|  94.3k|    else {
 2310|  94.3k|        assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (2310:9): [True: 94.3k, False: 0]
  ------------------
 2311|  94.3k|        *p_output = (PyObject *)str;
 2312|  94.3k|    }
 2313|  94.3k|    return 0;
 2314|  94.3k|}
longobject.c:long_format_binary:
 2334|     92|{
 2335|     92|    PyLongObject *a = (PyLongObject *)aa;
 2336|     92|    PyObject *v = NULL;
 2337|     92|    Py_ssize_t sz;
 2338|     92|    Py_ssize_t size_a;
 2339|     92|    int negative;
 2340|     92|    int bits;
 2341|       |
 2342|     92|    assert(base == 2 || base == 8 || base == 16);
  ------------------
  |  Branch (2342:5): [True: 0, False: 92]
  |  Branch (2342:5): [True: 0, False: 92]
  |  Branch (2342:5): [True: 92, False: 0]
  ------------------
 2343|       |    // writer or bytes_writer can be used, but not both at the same time.
 2344|     92|    assert(writer == NULL || bytes_writer == NULL);
  ------------------
  |  Branch (2344:5): [True: 0, False: 92]
  |  Branch (2344:5): [True: 92, False: 0]
  ------------------
 2345|     92|    if (a == NULL || !PyLong_Check(a)) {
  ------------------
  |  |   13|     92|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     92|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2345:9): [True: 0, False: 92]
  |  Branch (2345:22): [True: 0, False: 92]
  ------------------
 2346|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2347|      0|        return -1;
 2348|      0|    }
 2349|     92|    size_a = _PyLong_DigitCount(a);
 2350|     92|    negative = _PyLong_IsNegative(a);
 2351|       |
 2352|       |    /* Compute a rough upper bound for the length of the string */
 2353|     92|    switch (base) {
 2354|     92|    case 16:
  ------------------
  |  Branch (2354:5): [True: 92, False: 0]
  ------------------
 2355|     92|        bits = 4;
 2356|     92|        break;
 2357|      0|    case 8:
  ------------------
  |  Branch (2357:5): [True: 0, False: 92]
  ------------------
 2358|      0|        bits = 3;
 2359|      0|        break;
 2360|      0|    case 2:
  ------------------
  |  Branch (2360:5): [True: 0, False: 92]
  ------------------
 2361|      0|        bits = 1;
 2362|      0|        break;
 2363|      0|    default:
  ------------------
  |  Branch (2363:5): [True: 0, False: 92]
  ------------------
 2364|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2365|     92|    }
 2366|       |
 2367|       |    /* Compute exact length 'sz' of output string. */
 2368|     92|    if (size_a == 0) {
  ------------------
  |  Branch (2368:9): [True: 0, False: 92]
  ------------------
 2369|      0|        sz = 1;
 2370|      0|    }
 2371|     92|    else {
 2372|     92|        Py_ssize_t size_a_in_bits;
 2373|       |        /* Ensure overflow doesn't occur during computation of sz. */
 2374|     92|        if (size_a > (PY_SSIZE_T_MAX - 3) / PyLong_SHIFT) {
  ------------------
  |  |  137|     92|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                      if (size_a > (PY_SSIZE_T_MAX - 3) / PyLong_SHIFT) {
  ------------------
  |  |   47|     92|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2374:13): [True: 0, False: 92]
  ------------------
 2375|      0|            PyErr_SetString(PyExc_OverflowError,
 2376|      0|                            "int too large to format");
 2377|      0|            return -1;
 2378|      0|        }
 2379|     92|        size_a_in_bits = (size_a - 1) * PyLong_SHIFT +
  ------------------
  |  |   47|     92|#define PyLong_SHIFT    30
  ------------------
 2380|     92|                         bit_length_digit(a->long_value.ob_digit[size_a - 1]);
 2381|       |        /* Allow 1 character for a '-' sign. */
 2382|     92|        sz = negative + (size_a_in_bits + (bits - 1)) / bits;
 2383|     92|    }
 2384|     92|    if (alternate) {
  ------------------
  |  Branch (2384:9): [True: 0, False: 92]
  ------------------
 2385|       |        /* 2 characters for prefix  */
 2386|      0|        sz += 2;
 2387|      0|    }
 2388|     92|    assert(sz >= 1);
  ------------------
  |  Branch (2388:5): [True: 92, False: 0]
  ------------------
 2389|       |
 2390|     92|    if (writer) {
  ------------------
  |  Branch (2390:9): [True: 92, False: 0]
  ------------------
 2391|     92|        if (_PyUnicodeWriter_Prepare(writer, sz, 127) == -1) {
  ------------------
  |  Branch (2391:13): [True: 0, False: 92]
  ------------------
 2392|      0|            return -1;
 2393|      0|        }
 2394|     92|        assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (2394:9): [True: 92, False: 0]
  ------------------
 2395|     92|    }
 2396|      0|    else if (bytes_writer) {
  ------------------
  |  Branch (2396:14): [True: 0, False: 0]
  ------------------
 2397|      0|        *bytes_str = PyBytesWriter_GrowAndUpdatePointer(bytes_writer, sz,
 2398|      0|                                                        *bytes_str);
 2399|      0|        if (*bytes_str == NULL)
  ------------------
  |  Branch (2399:13): [True: 0, False: 0]
  ------------------
 2400|      0|            return -1;
 2401|      0|    }
 2402|      0|    else {
 2403|      0|        v = PyUnicode_New(sz, 'x');
 2404|      0|        if (v == NULL)
  ------------------
  |  Branch (2404:13): [True: 0, False: 0]
  ------------------
 2405|      0|            return -1;
 2406|      0|    }
 2407|       |
 2408|     92|#define WRITE_DIGITS(p)                                                 \
 2409|     92|    do {                                                                \
 2410|     92|        if (size_a == 0) {                                              \
 2411|     92|            *--p = '0';                                                 \
 2412|     92|        }                                                               \
 2413|     92|        else {                                                          \
 2414|       |            /* JRH: special case for power-of-2 bases */                \
 2415|     92|            twodigits accum = 0;                                        \
 2416|     92|            int accumbits = 0;   /* # of bits in accum */               \
 2417|     92|            Py_ssize_t i;                                               \
 2418|     92|            for (i = 0; i < size_a; ++i) {                              \
 2419|     92|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
 2420|     92|                accumbits += PyLong_SHIFT;                              \
 2421|     92|                assert(accumbits >= bits);                              \
 2422|     92|                do {                                                    \
 2423|     92|                    char cdigit;                                        \
 2424|     92|                    cdigit = (char)(accum & (base - 1));                \
 2425|     92|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
 2426|     92|                    *--p = cdigit;                                      \
 2427|     92|                    accumbits -= bits;                                  \
 2428|     92|                    accum >>= bits;                                     \
 2429|     92|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
 2430|     92|            }                                                           \
 2431|     92|        }                                                               \
 2432|     92|                                                                        \
 2433|     92|        if (alternate) {                                                \
 2434|     92|            if (base == 16)                                             \
 2435|     92|                *--p = 'x';                                             \
 2436|     92|            else if (base == 8)                                         \
 2437|     92|                *--p = 'o';                                             \
 2438|     92|            else /* (base == 2) */                                      \
 2439|     92|                *--p = 'b';                                             \
 2440|     92|            *--p = '0';                                                 \
 2441|     92|        }                                                               \
 2442|     92|        if (negative)                                                   \
 2443|     92|            *--p = '-';                                                 \
 2444|     92|    } while (0)
 2445|       |
 2446|     92|#define WRITE_UNICODE_DIGITS(TYPE)                                      \
 2447|     92|    do {                                                                \
 2448|     92|        if (writer)                                                     \
 2449|     92|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \
 2450|     92|        else                                                            \
 2451|     92|            p = (TYPE*)PyUnicode_DATA(v) + sz;                          \
 2452|     92|                                                                        \
 2453|     92|        WRITE_DIGITS(p);                                                \
 2454|     92|                                                                        \
 2455|     92|        if (writer)                                                     \
 2456|     92|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
 2457|     92|        else                                                            \
 2458|     92|            assert(p == (TYPE*)PyUnicode_DATA(v));                      \
 2459|     92|    } while (0)
 2460|       |
 2461|     92|    if (bytes_writer) {
  ------------------
  |  Branch (2461:9): [True: 0, False: 92]
  ------------------
 2462|      0|        char *p = *bytes_str + sz;
 2463|      0|        WRITE_DIGITS(p);
  ------------------
  |  | 2409|      0|    do {                                                                \
  |  | 2410|      0|        if (size_a == 0) {                                              \
  |  |  ------------------
  |  |  |  Branch (2410:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2411|      0|            *--p = '0';                                                 \
  |  | 2412|      0|        }                                                               \
  |  | 2413|      0|        else {                                                          \
  |  | 2414|      0|            /* JRH: special case for power-of-2 bases */                \
  |  | 2415|      0|            twodigits accum = 0;                                        \
  |  | 2416|      0|            int accumbits = 0;   /* # of bits in accum */               \
  |  | 2417|      0|            Py_ssize_t i;                                               \
  |  | 2418|      0|            for (i = 0; i < size_a; ++i) {                              \
  |  |  ------------------
  |  |  |  Branch (2418:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2419|      0|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
  |  | 2420|      0|                accumbits += PyLong_SHIFT;                              \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  | 2421|      0|                assert(accumbits >= bits);                              \
  |  | 2422|      0|                do {                                                    \
  |  | 2423|      0|                    char cdigit;                                        \
  |  | 2424|      0|                    cdigit = (char)(accum & (base - 1));                \
  |  | 2425|      0|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
  |  |  ------------------
  |  |  |  Branch (2425:31): [True: 0, False: 0]
  |  |  ------------------
  |  | 2426|      0|                    *--p = cdigit;                                      \
  |  | 2427|      0|                    accumbits -= bits;                                  \
  |  | 2428|      0|                    accum >>= bits;                                     \
  |  | 2429|      0|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
  |  |  ------------------
  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 2430|      0|            }                                                           \
  |  | 2431|      0|        }                                                               \
  |  | 2432|      0|                                                                        \
  |  | 2433|      0|        if (alternate) {                                                \
  |  |  ------------------
  |  |  |  Branch (2433:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2434|      0|            if (base == 16)                                             \
  |  |  ------------------
  |  |  |  Branch (2434:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2435|      0|                *--p = 'x';                                             \
  |  | 2436|      0|            else if (base == 8)                                         \
  |  |  ------------------
  |  |  |  Branch (2436:22): [True: 0, False: 0]
  |  |  ------------------
  |  | 2437|      0|                *--p = 'o';                                             \
  |  | 2438|      0|            else /* (base == 2) */                                      \
  |  | 2439|      0|                *--p = 'b';                                             \
  |  | 2440|      0|            *--p = '0';                                                 \
  |  | 2441|      0|        }                                                               \
  |  | 2442|      0|        if (negative)                                                   \
  |  |  ------------------
  |  |  |  Branch (2442:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2443|      0|            *--p = '-';                                                 \
  |  | 2444|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2444:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2463:9): [True: 0, False: 0]
  ------------------
 2464|      0|        assert(p == *bytes_str);
  ------------------
  |  Branch (2464:9): [True: 0, False: 0]
  ------------------
 2465|      0|    }
 2466|     92|    else {
 2467|     92|        int kind = writer ? writer->kind : PyUnicode_KIND(v);
  ------------------
  |  |  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 (2467:20): [True: 92, False: 0]
  ------------------
 2468|     92|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2468:13): [True: 92, False: 0]
  ------------------
 2469|     92|            Py_UCS1 *p;
 2470|     92|            WRITE_UNICODE_DIGITS(Py_UCS1);
  ------------------
  |  | 2447|     92|    do {                                                                \
  |  | 2448|     92|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2448:13): [True: 92, False: 0]
  |  |  ------------------
  |  | 2449|     92|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \
  |  |  ------------------
  |  |  |  |  285|     92|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2450|     92|        else                                                            \
  |  | 2451|     92|            p = (TYPE*)PyUnicode_DATA(v) + sz;                          \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2452|     92|                                                                        \
  |  | 2453|     92|        WRITE_DIGITS(p);                                                \
  |  |  ------------------
  |  |  |  | 2409|     92|    do {                                                                \
  |  |  |  | 2410|     92|        if (size_a == 0) {                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2410:13): [True: 0, False: 92]
  |  |  |  |  ------------------
  |  |  |  | 2411|      0|            *--p = '0';                                                 \
  |  |  |  | 2412|      0|        }                                                               \
  |  |  |  | 2413|     92|        else {                                                          \
  |  |  |  | 2414|     92|            /* JRH: special case for power-of-2 bases */                \
  |  |  |  | 2415|     92|            twodigits accum = 0;                                        \
  |  |  |  | 2416|     92|            int accumbits = 0;   /* # of bits in accum */               \
  |  |  |  | 2417|     92|            Py_ssize_t i;                                               \
  |  |  |  | 2418|  1.19k|            for (i = 0; i < size_a; ++i) {                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2418:25): [True: 1.09k, False: 92]
  |  |  |  |  ------------------
  |  |  |  | 2419|  1.09k|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
  |  |  |  | 2420|  1.09k|                accumbits += PyLong_SHIFT;                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.09k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  |  | 2421|  1.09k|                assert(accumbits >= bits);                              \
  |  |  |  | 2422|  7.97k|                do {                                                    \
  |  |  |  | 2423|  7.97k|                    char cdigit;                                        \
  |  |  |  | 2424|  7.97k|                    cdigit = (char)(accum & (base - 1));                \
  |  |  |  | 2425|  7.97k|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2425:31): [True: 5.04k, False: 2.92k]
  |  |  |  |  ------------------
  |  |  |  | 2426|  7.97k|                    *--p = cdigit;                                      \
  |  |  |  | 2427|  7.97k|                    accumbits -= bits;                                  \
  |  |  |  | 2428|  7.97k|                    accum >>= bits;                                     \
  |  |  |  | 2429|  7.97k|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2429:26): [True: 7.51k, False: 459]
  |  |  |  |  |  Branch (2429:26): [True: 6.87k, False: 1.09k]
  |  |  |  |  ------------------
  |  |  |  | 2430|  1.09k|            }                                                           \
  |  |  |  | 2431|     92|        }                                                               \
  |  |  |  | 2432|     92|                                                                        \
  |  |  |  | 2433|     92|        if (alternate) {                                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2433:13): [True: 0, False: 92]
  |  |  |  |  ------------------
  |  |  |  | 2434|      0|            if (base == 16)                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2434:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2435|      0|                *--p = 'x';                                             \
  |  |  |  | 2436|      0|            else if (base == 8)                                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2436:22): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2437|      0|                *--p = 'o';                                             \
  |  |  |  | 2438|      0|            else /* (base == 2) */                                      \
  |  |  |  | 2439|      0|                *--p = 'b';                                             \
  |  |  |  | 2440|      0|            *--p = '0';                                                 \
  |  |  |  | 2441|      0|        }                                                               \
  |  |  |  | 2442|     92|        if (negative)                                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2442:13): [True: 0, False: 92]
  |  |  |  |  ------------------
  |  |  |  | 2443|     92|            *--p = '-';                                                 \
  |  |  |  | 2444|     92|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2444:14): [Folded, False: 92]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2454|     92|                                                                        \
  |  | 2455|     92|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2455:13): [True: 92, False: 0]
  |  |  ------------------
  |  | 2456|     92|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2457|     92|        else                                                            \
  |  | 2458|     92|            assert(p == (TYPE*)PyUnicode_DATA(v));                      \
  |  | 2459|     92|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2459:14): [Folded, False: 92]
  |  |  ------------------
  ------------------
  |  Branch (2470:13): [True: 1.09k, False: 0]
  |  Branch (2470:13): [True: 92, False: 0]
  |  Branch (2470:13): [True: 0, False: 0]
  ------------------
 2471|     92|        }
 2472|      0|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (2472:18): [True: 0, False: 0]
  ------------------
 2473|      0|            Py_UCS2 *p;
 2474|      0|            WRITE_UNICODE_DIGITS(Py_UCS2);
  ------------------
  |  | 2447|      0|    do {                                                                \
  |  | 2448|      0|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2448:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2449|      0|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2450|      0|        else                                                            \
  |  | 2451|      0|            p = (TYPE*)PyUnicode_DATA(v) + sz;                          \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2452|      0|                                                                        \
  |  | 2453|      0|        WRITE_DIGITS(p);                                                \
  |  |  ------------------
  |  |  |  | 2409|      0|    do {                                                                \
  |  |  |  | 2410|      0|        if (size_a == 0) {                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2410:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2411|      0|            *--p = '0';                                                 \
  |  |  |  | 2412|      0|        }                                                               \
  |  |  |  | 2413|      0|        else {                                                          \
  |  |  |  | 2414|      0|            /* JRH: special case for power-of-2 bases */                \
  |  |  |  | 2415|      0|            twodigits accum = 0;                                        \
  |  |  |  | 2416|      0|            int accumbits = 0;   /* # of bits in accum */               \
  |  |  |  | 2417|      0|            Py_ssize_t i;                                               \
  |  |  |  | 2418|      0|            for (i = 0; i < size_a; ++i) {                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2418:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2419|      0|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
  |  |  |  | 2420|      0|                accumbits += PyLong_SHIFT;                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  |  | 2421|      0|                assert(accumbits >= bits);                              \
  |  |  |  | 2422|      0|                do {                                                    \
  |  |  |  | 2423|      0|                    char cdigit;                                        \
  |  |  |  | 2424|      0|                    cdigit = (char)(accum & (base - 1));                \
  |  |  |  | 2425|      0|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2425:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2426|      0|                    *--p = cdigit;                                      \
  |  |  |  | 2427|      0|                    accumbits -= bits;                                  \
  |  |  |  | 2428|      0|                    accum >>= bits;                                     \
  |  |  |  | 2429|      0|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2430|      0|            }                                                           \
  |  |  |  | 2431|      0|        }                                                               \
  |  |  |  | 2432|      0|                                                                        \
  |  |  |  | 2433|      0|        if (alternate) {                                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2433:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2434|      0|            if (base == 16)                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2434:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2435|      0|                *--p = 'x';                                             \
  |  |  |  | 2436|      0|            else if (base == 8)                                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2436:22): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2437|      0|                *--p = 'o';                                             \
  |  |  |  | 2438|      0|            else /* (base == 2) */                                      \
  |  |  |  | 2439|      0|                *--p = 'b';                                             \
  |  |  |  | 2440|      0|            *--p = '0';                                                 \
  |  |  |  | 2441|      0|        }                                                               \
  |  |  |  | 2442|      0|        if (negative)                                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2442:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2443|      0|            *--p = '-';                                                 \
  |  |  |  | 2444|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2444:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2454|      0|                                                                        \
  |  | 2455|      0|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2455:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2456|      0|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2457|      0|        else                                                            \
  |  | 2458|      0|            assert(p == (TYPE*)PyUnicode_DATA(v));                      \
  |  | 2459|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2459:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2474:13): [True: 0, False: 0]
  |  Branch (2474:13): [True: 0, False: 0]
  |  Branch (2474:13): [True: 0, False: 0]
  ------------------
 2475|      0|        }
 2476|      0|        else {
 2477|      0|            assert (kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (2477:13): [True: 0, False: 0]
  ------------------
 2478|      0|            Py_UCS4 *p;
 2479|      0|            WRITE_UNICODE_DIGITS(Py_UCS4);
  ------------------
  |  | 2447|      0|    do {                                                                \
  |  | 2448|      0|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2448:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2449|      0|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2450|      0|        else                                                            \
  |  | 2451|      0|            p = (TYPE*)PyUnicode_DATA(v) + sz;                          \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2452|      0|                                                                        \
  |  | 2453|      0|        WRITE_DIGITS(p);                                                \
  |  |  ------------------
  |  |  |  | 2409|      0|    do {                                                                \
  |  |  |  | 2410|      0|        if (size_a == 0) {                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2410:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2411|      0|            *--p = '0';                                                 \
  |  |  |  | 2412|      0|        }                                                               \
  |  |  |  | 2413|      0|        else {                                                          \
  |  |  |  | 2414|      0|            /* JRH: special case for power-of-2 bases */                \
  |  |  |  | 2415|      0|            twodigits accum = 0;                                        \
  |  |  |  | 2416|      0|            int accumbits = 0;   /* # of bits in accum */               \
  |  |  |  | 2417|      0|            Py_ssize_t i;                                               \
  |  |  |  | 2418|      0|            for (i = 0; i < size_a; ++i) {                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2418:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2419|      0|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
  |  |  |  | 2420|      0|                accumbits += PyLong_SHIFT;                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  |  | 2421|      0|                assert(accumbits >= bits);                              \
  |  |  |  | 2422|      0|                do {                                                    \
  |  |  |  | 2423|      0|                    char cdigit;                                        \
  |  |  |  | 2424|      0|                    cdigit = (char)(accum & (base - 1));                \
  |  |  |  | 2425|      0|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2425:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2426|      0|                    *--p = cdigit;                                      \
  |  |  |  | 2427|      0|                    accumbits -= bits;                                  \
  |  |  |  | 2428|      0|                    accum >>= bits;                                     \
  |  |  |  | 2429|      0|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2430|      0|            }                                                           \
  |  |  |  | 2431|      0|        }                                                               \
  |  |  |  | 2432|      0|                                                                        \
  |  |  |  | 2433|      0|        if (alternate) {                                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2433:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2434|      0|            if (base == 16)                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2434:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2435|      0|                *--p = 'x';                                             \
  |  |  |  | 2436|      0|            else if (base == 8)                                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2436:22): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2437|      0|                *--p = 'o';                                             \
  |  |  |  | 2438|      0|            else /* (base == 2) */                                      \
  |  |  |  | 2439|      0|                *--p = 'b';                                             \
  |  |  |  | 2440|      0|            *--p = '0';                                                 \
  |  |  |  | 2441|      0|        }                                                               \
  |  |  |  | 2442|      0|        if (negative)                                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2442:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2443|      0|            *--p = '-';                                                 \
  |  |  |  | 2444|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2444:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2454|      0|                                                                        \
  |  | 2455|      0|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2455:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2456|      0|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2457|      0|        else                                                            \
  |  | 2458|      0|            assert(p == (TYPE*)PyUnicode_DATA(v));                      \
  |  | 2459|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2459:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2479:13): [True: 0, False: 0]
  |  Branch (2479:13): [True: 0, False: 0]
  |  Branch (2479:13): [True: 0, False: 0]
  ------------------
 2480|      0|        }
 2481|     92|    }
 2482|       |
 2483|     92|#undef WRITE_DIGITS
 2484|     92|#undef WRITE_UNICODE_DIGITS
 2485|       |
 2486|     92|    if (writer) {
  ------------------
  |  Branch (2486:9): [True: 92, False: 0]
  ------------------
 2487|     92|        writer->pos += sz;
 2488|     92|    }
 2489|      0|    else if (bytes_writer) {
  ------------------
  |  Branch (2489:14): [True: 0, False: 0]
  ------------------
 2490|      0|        (*bytes_str) += sz;
 2491|      0|    }
 2492|      0|    else {
 2493|      0|        assert(_PyUnicode_CheckConsistency(v, 1));
  ------------------
  |  Branch (2493:9): [True: 0, False: 0]
  ------------------
 2494|      0|        *p_output = v;
 2495|      0|    }
 2496|     92|    return 0;
 2497|     92|}
longobject.c:long_from_string_base:
 2960|  23.4k|{
 2961|  23.4k|    const char *start, *end, *p;
 2962|  23.4k|    char prev = 0;
 2963|  23.4k|    Py_ssize_t digits = 0;
 2964|  23.4k|    int is_binary_base = (base & (base - 1)) == 0;
 2965|       |
 2966|       |    /* Here we do four things:
 2967|       |     *
 2968|       |     * - Find the `end` of the string.
 2969|       |     * - Validate the string.
 2970|       |     * - Count the number of `digits` (rather than underscores)
 2971|       |     * - Point *str to the end-of-string or first invalid character.
 2972|       |     */
 2973|  23.4k|    start = p = *str;
 2974|       |    /* Leading underscore not allowed. */
 2975|  23.4k|    if (*start == '_') {
  ------------------
  |  Branch (2975:9): [True: 0, False: 23.4k]
  ------------------
 2976|      0|        return -1;
 2977|      0|    }
 2978|       |    /* Verify all characters are digits and underscores. */
 2979|  3.26M|    while (_PyLong_DigitValue[Py_CHARMASK(*p)] < base || *p == '_') {
  ------------------
  |  |  170|  3.26M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (2979:12): [True: 3.24M, False: 23.4k]
  |  Branch (2979:58): [True: 0, False: 23.4k]
  ------------------
 2980|  3.24M|        if (*p == '_') {
  ------------------
  |  Branch (2980:13): [True: 0, False: 3.24M]
  ------------------
 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|  3.24M|        } else {
 2987|  3.24M|            ++digits;
 2988|  3.24M|        }
 2989|  3.24M|        prev = *p;
 2990|  3.24M|        ++p;
 2991|  3.24M|    }
 2992|       |    /* Trailing underscore not allowed. */
 2993|  23.4k|    if (prev == '_') {
  ------------------
  |  Branch (2993:9): [True: 0, False: 23.4k]
  ------------------
 2994|      0|        *str = p - 1;
 2995|      0|        return -1;
 2996|      0|    }
 2997|  23.4k|    *str = end = p;
 2998|       |    /* Reject empty strings */
 2999|  23.4k|    if (start == end) {
  ------------------
  |  Branch (2999:9): [True: 0, False: 23.4k]
  ------------------
 3000|      0|        return -1;
 3001|      0|    }
 3002|       |    /* Allow only trailing whitespace after `end` */
 3003|  23.4k|    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: 23.4k]
  ------------------
 3004|      0|        p++;
 3005|      0|    }
 3006|  23.4k|    *str = p;
 3007|  23.4k|    if (*p != '\0') {
  ------------------
  |  Branch (3007:9): [True: 0, False: 23.4k]
  ------------------
 3008|      0|        return -1;
 3009|      0|    }
 3010|       |
 3011|       |    /*
 3012|       |     * Pass a validated string consisting of only valid digits and underscores
 3013|       |     * to long_from_xxx_base.
 3014|       |     */
 3015|  23.4k|    if (is_binary_base) {
  ------------------
  |  Branch (3015:9): [True: 2.34k, False: 21.1k]
  ------------------
 3016|       |        /* Use the linear algorithm for binary bases. */
 3017|  2.34k|        return long_from_binary_base(start, end, digits, base, res);
 3018|  2.34k|    }
 3019|  21.1k|    else {
 3020|       |        /* Limit the size to avoid excessive computation attacks exploiting the
 3021|       |         * quadratic algorithm. */
 3022|  21.1k|        if (digits > _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
  ------------------
  |  |   42|  21.1k|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (3022:13): [True: 925, False: 20.2k]
  ------------------
 3023|    925|            PyInterpreterState *interp = _PyInterpreterState_GET();
 3024|    925|            int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 3025|    925|            if ((max_str_digits > 0) && (digits > max_str_digits)) {
  ------------------
  |  Branch (3025:17): [True: 925, False: 0]
  |  Branch (3025:41): [True: 2, False: 923]
  ------------------
 3026|      2|                PyErr_Format(PyExc_ValueError, _MAX_STR_DIGITS_ERROR_FMT_TO_INT,
  ------------------
  |  |   32|      2|#define _MAX_STR_DIGITS_ERROR_FMT_TO_INT "Exceeds the limit (%d digits) for integer string conversion: value has %zd digits; use sys.set_int_max_str_digits() to increase the limit"
  ------------------
 3027|      2|                             max_str_digits, digits);
 3028|      2|                *res = NULL;
 3029|      2|                return 0;
 3030|      2|            }
 3031|    925|        }
 3032|  21.1k|#if WITH_PYLONG_MODULE
 3033|  21.1k|        if (digits > 6000 && base == 10) {
  ------------------
  |  Branch (3033:13): [True: 149, False: 20.9k]
  |  Branch (3033:30): [True: 149, False: 0]
  ------------------
 3034|       |            /* Switch to _pylong.int_from_string() */
 3035|    149|            return pylong_int_from_string(start, end, res);
 3036|    149|        }
 3037|  20.9k|#endif
 3038|       |        /* Use the quadratic algorithm for non binary bases. */
 3039|  20.9k|        return long_from_non_binary_base(start, end, digits, base, res);
 3040|  21.1k|    }
 3041|  23.4k|}
longobject.c:long_from_binary_base:
 2587|  2.34k|{
 2588|  2.34k|    const char *p;
 2589|  2.34k|    int bits_per_char;
 2590|  2.34k|    Py_ssize_t n;
 2591|  2.34k|    PyLongObject *z;
 2592|  2.34k|    twodigits accum;
 2593|  2.34k|    int bits_in_accum;
 2594|  2.34k|    digit *pdigit;
 2595|       |
 2596|  2.34k|    assert(base >= 2 && base <= 32 && (base & (base - 1)) == 0);
  ------------------
  |  Branch (2596:5): [True: 2.34k, False: 0]
  |  Branch (2596:5): [True: 2.34k, False: 0]
  |  Branch (2596:5): [True: 2.34k, False: 0]
  ------------------
 2597|  2.34k|    n = base;
 2598|  11.2k|    for (bits_per_char = -1; n; ++bits_per_char) {
  ------------------
  |  Branch (2598:30): [True: 8.95k, False: 2.34k]
  ------------------
 2599|  8.95k|        n >>= 1;
 2600|  8.95k|    }
 2601|       |
 2602|       |    /* n <- the number of Python digits needed,
 2603|       |            = ceiling((digits * bits_per_char) / PyLong_SHIFT). */
 2604|  2.34k|    if (digits > (PY_SSIZE_T_MAX - (PyLong_SHIFT - 1)) / bits_per_char) {
  ------------------
  |  |  137|  2.34k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if (digits > (PY_SSIZE_T_MAX - (PyLong_SHIFT - 1)) / bits_per_char) {
  ------------------
  |  |   47|  2.34k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2604:9): [True: 0, False: 2.34k]
  ------------------
 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|  2.34k|    n = (digits * bits_per_char + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|  2.34k|#define PyLong_SHIFT    30
  ------------------
                  n = (digits * bits_per_char + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|  2.34k|#define PyLong_SHIFT    30
  ------------------
 2611|  2.34k|    z = long_alloc(n);
 2612|  2.34k|    if (z == NULL) {
  ------------------
  |  Branch (2612:9): [True: 0, False: 2.34k]
  ------------------
 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|  2.34k|    accum = 0;
 2620|  2.34k|    bits_in_accum = 0;
 2621|  2.34k|    pdigit = z->long_value.ob_digit;
 2622|  2.34k|    p = end;
 2623|   144k|    while (--p >= start) {
  ------------------
  |  Branch (2623:12): [True: 142k, False: 2.34k]
  ------------------
 2624|   142k|        int k;
 2625|   142k|        if (*p == '_') {
  ------------------
  |  Branch (2625:13): [True: 0, False: 142k]
  ------------------
 2626|      0|            continue;
 2627|      0|        }
 2628|   142k|        k = (int)_PyLong_DigitValue[Py_CHARMASK(*p)];
  ------------------
  |  |  170|   142k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2629|   142k|        assert(k >= 0 && k < base);
  ------------------
  |  Branch (2629:9): [True: 142k, False: 0]
  |  Branch (2629:9): [True: 142k, False: 0]
  ------------------
 2630|   142k|        accum |= (twodigits)k << bits_in_accum;
 2631|   142k|        bits_in_accum += bits_per_char;
 2632|   142k|        if (bits_in_accum >= PyLong_SHIFT) {
  ------------------
  |  |   47|   142k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2632:13): [True: 11.5k, False: 130k]
  ------------------
 2633|  11.5k|            *pdigit++ = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|  11.5k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  11.5k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  11.5k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2634|  11.5k|            assert(pdigit - z->long_value.ob_digit <= n);
  ------------------
  |  Branch (2634:13): [True: 11.5k, False: 0]
  ------------------
 2635|  11.5k|            accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|  11.5k|#define PyLong_SHIFT    30
  ------------------
 2636|  11.5k|            bits_in_accum -= PyLong_SHIFT;
  ------------------
  |  |   47|  11.5k|#define PyLong_SHIFT    30
  ------------------
 2637|  11.5k|            assert(bits_in_accum < PyLong_SHIFT);
  ------------------
  |  Branch (2637:13): [True: 11.5k, False: 0]
  ------------------
 2638|  11.5k|        }
 2639|   142k|    }
 2640|  2.34k|    if (bits_in_accum) {
  ------------------
  |  Branch (2640:9): [True: 1.82k, False: 517]
  ------------------
 2641|  1.82k|        assert(bits_in_accum <= PyLong_SHIFT);
  ------------------
  |  Branch (2641:9): [True: 1.82k, False: 0]
  ------------------
 2642|  1.82k|        *pdigit++ = (digit)accum;
 2643|  1.82k|        assert(pdigit - z->long_value.ob_digit <= n);
  ------------------
  |  Branch (2643:9): [True: 1.82k, False: 0]
  ------------------
 2644|  1.82k|    }
 2645|  2.34k|    while (pdigit - z->long_value.ob_digit < n)
  ------------------
  |  Branch (2645:12): [True: 0, False: 2.34k]
  ------------------
 2646|      0|        *pdigit++ = 0;
 2647|  2.34k|    *res = z;
 2648|  2.34k|    return 0;
 2649|  2.34k|}
longobject.c:pylong_int_from_string:
 2655|    149|{
 2656|    149|    PyObject *mod = PyImport_ImportModule("_pylong");
 2657|    149|    if (mod == NULL) {
  ------------------
  |  Branch (2657:9): [True: 0, False: 149]
  ------------------
 2658|      0|        goto error;
 2659|      0|    }
 2660|    149|    PyObject *s = PyUnicode_FromStringAndSize(start, end-start);
 2661|    149|    if (s == NULL) {
  ------------------
  |  Branch (2661:9): [True: 0, False: 149]
  ------------------
 2662|      0|        Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2663|      0|        goto error;
 2664|      0|    }
 2665|    149|    PyObject *result = PyObject_CallMethod(mod, "int_from_string", "O", s);
 2666|    149|    Py_DECREF(s);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2667|    149|    Py_DECREF(mod);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2668|    149|    if (result == NULL) {
  ------------------
  |  Branch (2668:9): [True: 0, False: 149]
  ------------------
 2669|      0|        goto error;
 2670|      0|    }
 2671|    149|    if (!PyLong_Check(result)) {
  ------------------
  |  |   13|    149|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    149|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2671:9): [True: 0, False: 149]
  ------------------
 2672|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2673|      0|        PyErr_SetString(PyExc_TypeError,
 2674|      0|                        "_pylong.int_from_string did not return an int");
 2675|      0|        goto error;
 2676|      0|    }
 2677|    149|    *res = (PyLongObject *)result;
 2678|    149|    return 0;
 2679|      0|error:
 2680|       |    *res = NULL;
 2681|      0|    return 0;  // See the long_from_string_base() API comment.
 2682|    149|}
longobject.c:long_from_non_binary_base:
 2827|  20.9k|{
 2828|  20.9k|    twodigits c;           /* current input character */
 2829|  20.9k|    Py_ssize_t size_z;
 2830|  20.9k|    int i;
 2831|  20.9k|    int convwidth;
 2832|  20.9k|    twodigits convmultmax, convmult;
 2833|  20.9k|    digit *pz, *pzstop;
 2834|  20.9k|    PyLongObject *z;
 2835|  20.9k|    const char *p;
 2836|       |
 2837|  20.9k|    assert(log_base_BASE[base] != 0.0);
  ------------------
  |  Branch (2837:5): [True: 20.9k, False: 0]
  ------------------
 2838|       |
 2839|       |    /* Create an int object that can contain the largest possible
 2840|       |     * integer with this base and length.  Note that there's no
 2841|       |     * need to initialize z->long_value.ob_digit -- no slot is read up before
 2842|       |     * being stored into.
 2843|       |     */
 2844|  20.9k|    double fsize_z = (double)digits * log_base_BASE[base] + 1.0;
 2845|  20.9k|    if (fsize_z > (double)MAX_LONG_DIGITS) {
  ------------------
  |  |  155|  20.9k|# define MAX_LONG_DIGITS ((INT64_MAX-1) / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  20.9k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (2845:9): [True: 0, False: 20.9k]
  ------------------
 2846|       |        /* The same exception as in long_alloc(). */
 2847|      0|        PyErr_SetString(PyExc_OverflowError,
 2848|      0|                        "too many digits in integer");
 2849|      0|        *res = NULL;
 2850|      0|        return 0;
 2851|      0|    }
 2852|  20.9k|    size_z = (Py_ssize_t)fsize_z;
 2853|       |    /* Uncomment next line to test exceedingly rare copy code */
 2854|       |    /* size_z = 1; */
 2855|  20.9k|    assert(size_z > 0);
  ------------------
  |  Branch (2855:5): [True: 20.9k, False: 0]
  ------------------
 2856|  20.9k|    z = long_alloc(size_z);
 2857|  20.9k|    if (z == NULL) {
  ------------------
  |  Branch (2857:9): [True: 0, False: 20.9k]
  ------------------
 2858|      0|        *res = NULL;
 2859|      0|        return 0;
 2860|      0|    }
 2861|  20.9k|    z->long_value.ob_digit[0] = 0;
 2862|  20.9k|    _PyLong_SetSignAndDigitCount(z, 0, 0);
 2863|       |
 2864|       |    /* `convwidth` consecutive input digits are treated as a single
 2865|       |     * digit in base `convmultmax`.
 2866|       |     */
 2867|  20.9k|    convwidth = convwidth_base[base];
 2868|  20.9k|    convmultmax = convmultmax_base[base];
 2869|       |
 2870|       |    /* Work ;-) */
 2871|  20.9k|    p = start;
 2872|   268k|    while (p < end) {
  ------------------
  |  Branch (2872:12): [True: 247k, False: 20.9k]
  ------------------
 2873|   247k|        if (*p == '_') {
  ------------------
  |  Branch (2873:13): [True: 0, False: 247k]
  ------------------
 2874|      0|            p++;
 2875|      0|            continue;
 2876|      0|        }
 2877|       |        /* grab up to convwidth digits from the input string */
 2878|   247k|        c = (digit)_PyLong_DigitValue[Py_CHARMASK(*p++)];
  ------------------
  |  |  170|   247k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2879|  2.11M|        for (i = 1; i < convwidth && p != end; ++p) {
  ------------------
  |  Branch (2879:21): [True: 1.88M, False: 227k]
  |  Branch (2879:38): [True: 1.86M, False: 19.9k]
  ------------------
 2880|  1.86M|            if (*p == '_') {
  ------------------
  |  Branch (2880:17): [True: 0, False: 1.86M]
  ------------------
 2881|      0|                continue;
 2882|      0|            }
 2883|  1.86M|            i++;
 2884|  1.86M|            c = (twodigits)(c *  base +
 2885|  1.86M|                            (int)_PyLong_DigitValue[Py_CHARMASK(*p)]);
  ------------------
  |  |  170|  1.86M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2886|  1.86M|            assert(c < PyLong_BASE);
  ------------------
  |  Branch (2886:13): [True: 1.86M, False: 0]
  ------------------
 2887|  1.86M|        }
 2888|       |
 2889|   247k|        convmult = convmultmax;
 2890|       |        /* Calculate the shift only if we couldn't get
 2891|       |         * convwidth digits.
 2892|       |         */
 2893|   247k|        if (i != convwidth) {
  ------------------
  |  Branch (2893:13): [True: 19.9k, False: 227k]
  ------------------
 2894|  19.9k|            convmult = base;
 2895|  63.3k|            for ( ; i > 1; --i) {
  ------------------
  |  Branch (2895:21): [True: 43.3k, False: 19.9k]
  ------------------
 2896|  43.3k|                convmult *= base;
 2897|  43.3k|            }
 2898|  19.9k|        }
 2899|       |
 2900|       |        /* Multiply z by convmult, and add c. */
 2901|   247k|        pz = z->long_value.ob_digit;
 2902|   247k|        pzstop = pz + _PyLong_DigitCount(z);
 2903|  13.1M|        for (; pz < pzstop; ++pz) {
  ------------------
  |  Branch (2903:16): [True: 12.8M, False: 247k]
  ------------------
 2904|  12.8M|            c += (twodigits)*pz * convmult;
 2905|  12.8M|            *pz = (digit)(c & PyLong_MASK);
  ------------------
  |  |   62|  12.8M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  12.8M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  12.8M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2906|  12.8M|            c >>= PyLong_SHIFT;
  ------------------
  |  |   47|  12.8M|#define PyLong_SHIFT    30
  ------------------
 2907|  12.8M|        }
 2908|       |        /* carry off the current end? */
 2909|   247k|        if (c) {
  ------------------
  |  Branch (2909:13): [True: 196k, False: 50.6k]
  ------------------
 2910|   196k|            assert(c < PyLong_BASE);
  ------------------
  |  Branch (2910:13): [True: 196k, False: 0]
  ------------------
 2911|   196k|            if (_PyLong_DigitCount(z) < size_z) {
  ------------------
  |  Branch (2911:17): [True: 196k, False: 0]
  ------------------
 2912|   196k|                *pz = (digit)c;
 2913|   196k|                assert(!_PyLong_IsNegative(z));
  ------------------
  |  Branch (2913:17): [True: 196k, False: 0]
  ------------------
 2914|   196k|                _PyLong_SetSignAndDigitCount(z, 1, _PyLong_DigitCount(z) + 1);
 2915|   196k|            }
 2916|      0|            else {
 2917|      0|                PyLongObject *tmp;
 2918|       |                /* Extremely rare.  Get more space. */
 2919|      0|                assert(_PyLong_DigitCount(z) == size_z);
  ------------------
  |  Branch (2919:17): [True: 0, False: 0]
  ------------------
 2920|      0|                tmp = long_alloc(size_z + 1);
 2921|      0|                if (tmp == NULL) {
  ------------------
  |  Branch (2921:21): [True: 0, False: 0]
  ------------------
 2922|      0|                    Py_DECREF(z);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2923|      0|                    *res = NULL;
 2924|      0|                    return 0;
 2925|      0|                }
 2926|      0|                memcpy(tmp->long_value.ob_digit,
 2927|      0|                       z->long_value.ob_digit,
 2928|      0|                       sizeof(digit) * size_z);
 2929|      0|                Py_SETREF(z, tmp);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2930|      0|                z->long_value.ob_digit[size_z] = (digit)c;
 2931|      0|                ++size_z;
 2932|      0|            }
 2933|   196k|        }
 2934|   247k|    }
 2935|  20.9k|    *res = z;
 2936|  20.9k|    return 0;
 2937|  20.9k|}
longobject.c:_PyLong_Negate:
  357|  20.8k|{
  358|  20.8k|    PyLongObject *x;
  359|       |
  360|  20.8k|    x = (PyLongObject *)*x_p;
  361|  20.8k|    if (_PyObject_IsUniquelyReferenced((PyObject *)x)) {
  ------------------
  |  Branch (361:9): [True: 18.3k, False: 2.50k]
  ------------------
  362|  18.3k|         _PyLong_FlipSign(x);
  363|  18.3k|        return;
  364|  18.3k|    }
  365|       |
  366|  2.50k|    *x_p = _PyLong_FromSTwoDigits(-medium_value(x));
  ------------------
  |  |   27|  2.50k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
  367|  2.50k|    Py_DECREF(x);
  ------------------
  |  |  430|  2.50k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  368|  2.50k|}
longobject.c:_PyLong_FromSTwoDigits:
  314|   761k|{
  315|   761k|    if (IS_SMALL_INT(x)) {
  ------------------
  |  |   29|   761k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|   761k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|   761k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|   706k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 706k, False: 55.2k]
  |  |  |  |  |  Branch (68:37): [True: 592k, False: 114k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  316|   592k|        return (PyLongObject*)get_small_int((sdigit)x);
  317|   592k|    }
  318|   761k|    assert(x != 0);
  ------------------
  |  Branch (318:5): [True: 169k, False: 0]
  ------------------
  319|   169k|    if (is_medium_int(x)) {
  ------------------
  |  Branch (319:9): [True: 138k, False: 30.7k]
  ------------------
  320|   138k|        return (PyLongObject*)_PyLong_FromMedium((sdigit)x);
  321|   138k|    }
  322|  30.7k|    return (PyLongObject*)_PyLong_FromLarge(x);
  323|   169k|}
longobject.c:_PyLong_FromLarge:
  274|  30.7k|{
  275|  30.7k|    twodigits abs_ival;
  276|  30.7k|    int sign;
  277|  30.7k|    assert(!is_medium_int(ival));
  ------------------
  |  Branch (277:5): [True: 30.7k, False: 0]
  ------------------
  278|       |
  279|  30.7k|    if (ival < 0) {
  ------------------
  |  Branch (279:9): [True: 499, False: 30.2k]
  ------------------
  280|       |        /* negate: can't write this as abs_ival = -ival since that
  281|       |           invokes undefined behaviour when ival is LONG_MIN */
  282|    499|        abs_ival = 0U-(twodigits)ival;
  283|    499|        sign = -1;
  284|    499|    }
  285|  30.2k|    else {
  286|  30.2k|        abs_ival = (twodigits)ival;
  287|  30.2k|        sign = 1;
  288|  30.2k|    }
  289|       |    /* Must be at least two digits */
  290|  30.7k|    assert(abs_ival >> PyLong_SHIFT != 0);
  ------------------
  |  Branch (290:5): [True: 30.7k, False: 0]
  ------------------
  291|  30.7k|    twodigits t = abs_ival >> (PyLong_SHIFT * 2);
  ------------------
  |  |   47|  30.7k|#define PyLong_SHIFT    30
  ------------------
  292|  30.7k|    Py_ssize_t ndigits = 2;
  293|  30.7k|    while (t) {
  ------------------
  |  Branch (293:12): [True: 0, False: 30.7k]
  ------------------
  294|      0|        ++ndigits;
  295|      0|        t >>= PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  296|      0|    }
  297|  30.7k|    PyLongObject *v = long_alloc(ndigits);
  298|  30.7k|    if (v != NULL) {
  ------------------
  |  Branch (298:9): [True: 30.7k, False: 0]
  ------------------
  299|  30.7k|        digit *p = v->long_value.ob_digit;
  300|  30.7k|        _PyLong_SetSignAndDigitCount(v, sign, ndigits);
  301|  30.7k|        t = abs_ival;
  302|  92.2k|        while (t) {
  ------------------
  |  Branch (302:16): [True: 61.4k, False: 30.7k]
  ------------------
  303|  61.4k|            *p++ = Py_SAFE_DOWNCAST(
  ------------------
  |  |  247|  61.4k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  61.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  304|  61.4k|                t & PyLong_MASK, twodigits, digit);
  305|  61.4k|            t >>= PyLong_SHIFT;
  ------------------
  |  |   47|  61.4k|#define PyLong_SHIFT    30
  ------------------
  306|  61.4k|        }
  307|  30.7k|    }
  308|  30.7k|    return (PyObject *)v;
  309|  30.7k|}
longobject.c:v_lshift:
 1906|  76.3k|{
 1907|  76.3k|    Py_ssize_t i;
 1908|  76.3k|    twodigits carry = 0;
 1909|       |
 1910|  76.3k|    assert(0 <= d && d < PyLong_SHIFT);
  ------------------
  |  Branch (1910:5): [True: 76.3k, False: 0]
  |  Branch (1910:5): [True: 76.3k, False: 0]
  ------------------
 1911|   381k|    for (i=0; i < m; i++) {
  ------------------
  |  Branch (1911:15): [True: 304k, False: 76.3k]
  ------------------
 1912|   304k|        twodigits acc = (twodigits)a[i] << d | carry;
 1913|   304k|        z[i] = (digit)acc & PyLong_MASK;
  ------------------
  |  |   62|   304k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   304k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   304k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1914|   304k|        carry = acc >> PyLong_SHIFT;
  ------------------
  |  |   47|   304k|#define PyLong_SHIFT    30
  ------------------
 1915|   304k|    }
 1916|  76.3k|    return (digit)carry;
 1917|  76.3k|}
longobject.c:v_rshift:
 1924|  32.7k|{
 1925|  32.7k|    Py_ssize_t i;
 1926|  32.7k|    twodigits carry = 0;
 1927|  32.7k|    twodigits mask = ((twodigits)1 << d) - 1U;
 1928|       |
 1929|  32.7k|    assert(0 <= d && d < PyLong_SHIFT);
  ------------------
  |  Branch (1929:5): [True: 32.7k, False: 0]
  |  Branch (1929:5): [True: 32.7k, False: 0]
  ------------------
 1930|   153k|    for (i=m; i-- > 0;) {
  ------------------
  |  Branch (1930:15): [True: 121k, False: 32.7k]
  ------------------
 1931|   121k|        twodigits acc = carry << PyLong_SHIFT | a[i];
  ------------------
  |  |   47|   121k|#define PyLong_SHIFT    30
  ------------------
 1932|   121k|        carry = acc & mask;
 1933|   121k|        z[i] = (digit)(acc >> d);
 1934|   121k|    }
 1935|  32.7k|    return (digit)carry;
 1936|  32.7k|}
longobject.c:medium_from_stwodigits:
  329|  11.8M|{
  330|  11.8M|    if (IS_SMALL_INT(x)) {
  ------------------
  |  |   29|  11.8M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|  11.8M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  11.8M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  11.8M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 11.8M, False: 60.3k]
  |  |  |  |  |  Branch (68:37): [True: 11.2M, False: 568k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|  11.2M|        return PyStackRef_FromPyObjectBorrow(get_small_int((sdigit)x));
  332|  11.2M|    }
  333|  11.8M|    assert(x != 0);
  ------------------
  |  Branch (333:5): [True: 628k, False: 0]
  ------------------
  334|   628k|    if(!is_medium_int(x)) {
  ------------------
  |  Branch (334:8): [True: 177, False: 628k]
  ------------------
  335|    177|        return PyStackRef_NULL;
  336|    177|    }
  337|   628k|    PyLongObject *v = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|   628k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|   628k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  338|   628k|    if (v == NULL) {
  ------------------
  |  Branch (338:9): [True: 22, False: 628k]
  ------------------
  339|     22|        v = PyObject_Malloc(sizeof(PyLongObject));
  340|     22|        if (v == NULL) {
  ------------------
  |  Branch (340:13): [True: 0, False: 22]
  ------------------
  341|      0|            return PyStackRef_NULL;
  342|      0|        }
  343|     22|        _PyObject_Init((PyObject*)v, &PyLong_Type);
  344|     22|        _PyLong_InitTag(v);
  345|     22|    }
  346|   628k|    digit abs_x = x < 0 ? (digit)(-x) : (digit)x;
  ------------------
  |  Branch (346:19): [True: 60.3k, False: 567k]
  ------------------
  347|   628k|    _PyLong_SetSignAndDigitCount(v, x<0?-1:1, 1);
  ------------------
  |  Branch (347:37): [True: 60.3k, False: 567k]
  ------------------
  348|   628k|    v->long_value.ob_digit[0] = abs_x;
  349|   628k|    return PyStackRef_FromPyObjectStealMortal((PyObject *)v);
  350|   628k|}
longobject.c:long_rshift1:
 5329|  10.7k|{
 5330|  10.7k|    PyLongObject *z = NULL;
 5331|  10.7k|    Py_ssize_t newsize, hishift, size_a;
 5332|  10.7k|    twodigits accum;
 5333|  10.7k|    int a_negative;
 5334|       |
 5335|       |    /* Total number of bits shifted must be nonnegative. */
 5336|  10.7k|    assert(wordshift >= 0);
  ------------------
  |  Branch (5336:5): [True: 10.7k, False: 0]
  ------------------
 5337|  10.7k|    assert(remshift < PyLong_SHIFT);
  ------------------
  |  Branch (5337:5): [True: 10.7k, False: 0]
  ------------------
 5338|       |
 5339|       |    /* Fast path for small a. */
 5340|  10.7k|    if (_PyLong_IsCompact(a)) {
  ------------------
  |  Branch (5340:9): [True: 6.91k, False: 3.88k]
  ------------------
 5341|  6.91k|        stwodigits m, x;
 5342|  6.91k|        digit shift;
 5343|  6.91k|        m = medium_value(a);
  ------------------
  |  |   27|  6.91k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5344|  6.91k|        shift = wordshift == 0 ? remshift : PyLong_SHIFT;
  ------------------
  |  |   47|  10.2k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5344:17): [True: 3.54k, False: 3.36k]
  ------------------
 5345|  6.91k|        x = m < 0 ? ~(~m >> shift) : m >> shift;
  ------------------
  |  Branch (5345:13): [True: 1.36k, False: 5.54k]
  ------------------
 5346|  6.91k|        return (PyObject*)_PyLong_FromSTwoDigits(x);
 5347|  6.91k|    }
 5348|       |
 5349|  3.88k|    a_negative = _PyLong_IsNegative(a);
 5350|  3.88k|    size_a = _PyLong_DigitCount(a);
 5351|       |
 5352|  3.88k|    if (a_negative) {
  ------------------
  |  Branch (5352:9): [True: 1.98k, False: 1.89k]
  ------------------
 5353|       |        /* For negative 'a', adjust so that 0 < remshift <= PyLong_SHIFT,
 5354|       |           while keeping PyLong_SHIFT*wordshift + remshift the same. This
 5355|       |           ensures that 'newsize' is computed correctly below. */
 5356|  1.98k|        if (remshift == 0) {
  ------------------
  |  Branch (5356:13): [True: 331, False: 1.65k]
  ------------------
 5357|    331|            if (wordshift == 0) {
  ------------------
  |  Branch (5357:17): [True: 146, False: 185]
  ------------------
 5358|       |                /* Can only happen if the original shift was 0. */
 5359|    146|                return long_long((PyObject *)a);
 5360|    146|            }
 5361|    185|            remshift = PyLong_SHIFT;
  ------------------
  |  |   47|    185|#define PyLong_SHIFT    30
  ------------------
 5362|    185|            --wordshift;
 5363|    185|        }
 5364|  1.98k|    }
 5365|       |
 5366|  3.88k|    assert(wordshift >= 0);
  ------------------
  |  Branch (5366:5): [True: 3.73k, False: 0]
  ------------------
 5367|  3.73k|    newsize = size_a - wordshift;
 5368|  3.73k|    if (newsize <= 0) {
  ------------------
  |  Branch (5368:9): [True: 1.41k, False: 2.31k]
  ------------------
 5369|       |        /* Shifting all the bits of 'a' out gives either -1 or 0. */
 5370|  1.41k|        return PyLong_FromLong(-a_negative);
 5371|  1.41k|    }
 5372|  2.31k|    z = long_alloc(newsize);
 5373|  2.31k|    if (z == NULL) {
  ------------------
  |  Branch (5373:9): [True: 0, False: 2.31k]
  ------------------
 5374|      0|        return NULL;
 5375|      0|    }
 5376|  2.31k|    hishift = PyLong_SHIFT - remshift;
  ------------------
  |  |   47|  2.31k|#define PyLong_SHIFT    30
  ------------------
 5377|       |
 5378|  2.31k|    accum = a->long_value.ob_digit[wordshift];
 5379|  2.31k|    if (a_negative) {
  ------------------
  |  Branch (5379:9): [True: 725, False: 1.59k]
  ------------------
 5380|       |        /*
 5381|       |            For a positive integer a and nonnegative shift, we have:
 5382|       |
 5383|       |                (-a) >> shift == -((a + 2**shift - 1) >> shift).
 5384|       |
 5385|       |            In the addition `a + (2**shift - 1)`, the low `wordshift` digits of
 5386|       |            `2**shift - 1` all have value `PyLong_MASK`, so we get a carry out
 5387|       |            from the bottom `wordshift` digits when at least one of the least
 5388|       |            significant `wordshift` digits of `a` is nonzero. Digit `wordshift`
 5389|       |            of `2**shift - 1` has value `PyLong_MASK >> hishift`.
 5390|       |        */
 5391|    725|        _PyLong_SetSignAndDigitCount(z, -1, newsize);
 5392|       |
 5393|    725|        digit sticky = 0;
 5394|  1.11k|        for (Py_ssize_t j = 0; j < wordshift; j++) {
  ------------------
  |  Branch (5394:32): [True: 387, False: 725]
  ------------------
 5395|    387|            sticky |= a->long_value.ob_digit[j];
 5396|    387|        }
 5397|    725|        accum += (PyLong_MASK >> hishift) + (digit)(sticky != 0);
  ------------------
  |  |   62|    725|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    725|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    725|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5398|    725|    }
 5399|       |
 5400|  2.31k|    accum >>= remshift;
 5401|   238k|    for (Py_ssize_t i = 0, j = wordshift + 1; j < size_a; i++, j++) {
  ------------------
  |  Branch (5401:47): [True: 236k, False: 2.31k]
  ------------------
 5402|   236k|        accum += (twodigits)a->long_value.ob_digit[j] << hishift;
 5403|   236k|        z->long_value.ob_digit[i] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|   236k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   236k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   236k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5404|   236k|        accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|   236k|#define PyLong_SHIFT    30
  ------------------
 5405|   236k|    }
 5406|  2.31k|    assert(accum <= PyLong_MASK);
  ------------------
  |  Branch (5406:5): [True: 2.31k, False: 0]
  ------------------
 5407|  2.31k|    z->long_value.ob_digit[newsize - 1] = (digit)accum;
 5408|       |
 5409|  2.31k|    z = maybe_small_long(long_normalize(z));
 5410|  2.31k|    return (PyObject *)z;
 5411|  2.31k|}
longobject.c:long_long:
 5756|   127k|{
 5757|   127k|    if (PyLong_CheckExact(v)) {
  ------------------
  |  |   14|   127k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   127k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   127k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   127k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 127k, False: 367]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5758|   127k|        return Py_NewRef(v);
  ------------------
  |  |  647|   127k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   127k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   127k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5759|   127k|    }
 5760|    367|    else {
 5761|    367|        return _PyLong_Copy((PyLongObject *)v);
 5762|    367|    }
 5763|   127k|}
longobject.c:long_lshift_int64:
 5540|  3.31k|{
 5541|  3.31k|    assert(shiftby >= 0);
  ------------------
  |  Branch (5541:5): [True: 3.31k, False: 0]
  ------------------
 5542|       |
 5543|  3.31k|    if (_PyLong_IsZero(a)) {
  ------------------
  |  Branch (5543:9): [True: 0, False: 3.31k]
  ------------------
 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.31k|    Py_ssize_t wordshift = (Py_ssize_t)(shiftby / PyLong_SHIFT);
  ------------------
  |  |   47|  3.31k|#define PyLong_SHIFT    30
  ------------------
 5556|  3.31k|    digit remshift = (digit)(shiftby % PyLong_SHIFT);
  ------------------
  |  |   47|  3.31k|#define PyLong_SHIFT    30
  ------------------
 5557|  3.31k|    return long_lshift1(a, wordshift, remshift);
 5558|  3.31k|}
longobject.c:long_lshift1:
 5471|  3.31k|{
 5472|  3.31k|    PyLongObject *z = NULL;
 5473|  3.31k|    Py_ssize_t oldsize, newsize, i, j;
 5474|  3.31k|    twodigits accum;
 5475|       |
 5476|  3.31k|    if (wordshift == 0 && _PyLong_IsCompact(a)) {
  ------------------
  |  Branch (5476:9): [True: 1.03k, False: 2.28k]
  |  Branch (5476:27): [True: 383, False: 653]
  ------------------
 5477|    383|        stwodigits m = medium_value(a);
  ------------------
  |  |   27|    383|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5478|       |        // bypass undefined shift operator behavior
 5479|    383|        stwodigits x = m < 0 ? -(-m << remshift) : m << remshift;
  ------------------
  |  Branch (5479:24): [True: 62, False: 321]
  ------------------
 5480|    383|        return (PyObject*)_PyLong_FromSTwoDigits(x);
 5481|    383|    }
 5482|       |
 5483|  2.93k|    oldsize = _PyLong_DigitCount(a);
 5484|  2.93k|    newsize = oldsize + wordshift;
 5485|  2.93k|    if (remshift)
  ------------------
  |  Branch (5485:9): [True: 2.28k, False: 646]
  ------------------
 5486|  2.28k|        ++newsize;
 5487|  2.93k|    z = long_alloc(newsize);
 5488|  2.93k|    if (z == NULL)
  ------------------
  |  Branch (5488:9): [True: 0, False: 2.93k]
  ------------------
 5489|      0|        return NULL;
 5490|  2.93k|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (5490:9): [True: 311, False: 2.62k]
  ------------------
 5491|    311|        assert(Py_REFCNT(z) == 1);
  ------------------
  |  Branch (5491:9): [True: 311, False: 0]
  ------------------
 5492|    311|        _PyLong_FlipSign(z);
 5493|    311|    }
 5494|   203k|    for (i = 0; i < wordshift; i++)
  ------------------
  |  Branch (5494:17): [True: 200k, False: 2.93k]
  ------------------
 5495|   200k|        z->long_value.ob_digit[i] = 0;
 5496|  2.93k|    accum = 0;
 5497|   381k|    for (j = 0; j < oldsize; i++, j++) {
  ------------------
  |  Branch (5497:17): [True: 378k, False: 2.93k]
  ------------------
 5498|   378k|        accum |= (twodigits)a->long_value.ob_digit[j] << remshift;
 5499|   378k|        z->long_value.ob_digit[i] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|   378k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   378k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   378k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5500|   378k|        accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|   378k|#define PyLong_SHIFT    30
  ------------------
 5501|   378k|    }
 5502|  2.93k|    if (remshift)
  ------------------
  |  Branch (5502:9): [True: 2.28k, False: 646]
  ------------------
 5503|  2.28k|        z->long_value.ob_digit[newsize-1] = (digit)accum;
 5504|    646|    else
 5505|  2.93k|        assert(!accum);
  ------------------
  |  Branch (5505:9): [True: 646, False: 0]
  ------------------
 5506|  2.93k|    z = long_normalize(z);
 5507|  2.93k|    return (PyObject *) maybe_small_long(z);
 5508|  2.93k|}
longobject.c:long_abs:
 5304|      3|{
 5305|      3|    if (_PyLong_IsNegative(v))
  ------------------
  |  Branch (5305:9): [True: 1, False: 2]
  ------------------
 5306|      1|        return long_neg(v);
 5307|      2|    else
 5308|      2|        return (PyLongObject*)long_long((PyObject *)v);
 5309|      3|}
longobject.c:long_compare:
 3601|   589k|{
 3602|   589k|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3602:9): [True: 195k, False: 394k]
  ------------------
 3603|   195k|        return _PyLong_CompactValue(a) - _PyLong_CompactValue(b);
 3604|   195k|    }
 3605|   394k|    Py_ssize_t sign = _PyLong_SignedDigitCount(a) - _PyLong_SignedDigitCount(b);
 3606|   394k|    if (sign == 0) {
  ------------------
  |  Branch (3606:9): [True: 236k, False: 157k]
  ------------------
 3607|   236k|        Py_ssize_t i = _PyLong_DigitCount(a);
 3608|   236k|        sdigit diff = 0;
 3609|   821k|        while (--i >= 0) {
  ------------------
  |  Branch (3609:16): [True: 589k, False: 232k]
  ------------------
 3610|   589k|            diff = (sdigit) a->long_value.ob_digit[i] - (sdigit) b->long_value.ob_digit[i];
 3611|   589k|            if (diff) {
  ------------------
  |  Branch (3611:17): [True: 3.71k, False: 585k]
  ------------------
 3612|  3.71k|                break;
 3613|  3.71k|            }
 3614|   589k|        }
 3615|   236k|        sign = _PyLong_IsNegative(a) ? -diff : diff;
  ------------------
  |  Branch (3615:16): [True: 46.5k, False: 190k]
  ------------------
 3616|   236k|    }
 3617|   394k|    return sign;
 3618|   589k|}
longobject.c:l_mod:
 4567|   253k|{
 4568|   253k|    PyLongObject *mod;
 4569|       |
 4570|   253k|    assert(pmod);
  ------------------
  |  Branch (4570:5): [True: 253k, False: 0]
  ------------------
 4571|   253k|    if (_PyLong_DigitCount(v) == 1 && _PyLong_DigitCount(w) == 1) {
  ------------------
  |  Branch (4571:9): [True: 247k, False: 5.77k]
  |  Branch (4571:39): [True: 245k, False: 2.25k]
  ------------------
 4572|       |        /* Fast path for single-digit longs */
 4573|   245k|        *pmod = (PyLongObject *)fast_mod(v, w);
 4574|   245k|        return -(*pmod == NULL);
 4575|   245k|    }
 4576|  8.02k|#if WITH_PYLONG_MODULE
 4577|  8.02k|    Py_ssize_t size_v = _PyLong_DigitCount(v); /* digits in numerator */
 4578|  8.02k|    Py_ssize_t size_w = _PyLong_DigitCount(w); /* digits in denominator */
 4579|  8.02k|    if (size_w > 300 && (size_v - size_w) > 150) {
  ------------------
  |  Branch (4579:9): [True: 1, False: 8.02k]
  |  Branch (4579:25): [True: 0, False: 1]
  ------------------
 4580|       |        /* Switch to _pylong.int_divmod(). See comments in l_divmod(). */
 4581|      0|        return pylong_int_divmod(v, w, NULL, pmod);
 4582|      0|    }
 4583|  8.02k|#endif
 4584|  8.02k|    if (long_rem(v, w, &mod) < 0)
  ------------------
  |  Branch (4584:9): [True: 443, False: 7.58k]
  ------------------
 4585|    443|        return -1;
 4586|  7.58k|    if ((_PyLong_IsNegative(mod) && _PyLong_IsPositive(w)) ||
  ------------------
  |  Branch (4586:10): [True: 3.30k, False: 4.28k]
  |  Branch (4586:37): [True: 1.57k, False: 1.72k]
  ------------------
 4587|  6.01k|        (_PyLong_IsPositive(mod) && _PyLong_IsNegative(w))) {
  ------------------
  |  Branch (4587:10): [True: 2.47k, False: 3.54k]
  |  Branch (4587:37): [True: 1.18k, False: 1.28k]
  ------------------
 4588|  2.75k|        PyLongObject *temp;
 4589|  2.75k|        temp = long_add(mod, w);
 4590|  2.75k|        Py_SETREF(mod, temp);
  ------------------
  |  |  545|  2.75k|    do { \
  |  |  546|  2.75k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  2.75k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|  2.75k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.75k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|  2.75k|        *_tmp_dst_ptr = (src); \
  |  |  549|  2.75k|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|  2.75k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|  2.75k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 2.75k]
  |  |  ------------------
  ------------------
 4591|  2.75k|        if (mod == NULL)
  ------------------
  |  Branch (4591:13): [True: 0, False: 2.75k]
  ------------------
 4592|      0|            return -1;
 4593|  2.75k|    }
 4594|  7.58k|    *pmod = mod;
 4595|       |
 4596|  7.58k|    return 0;
 4597|  7.58k|}
longobject.c:fast_mod:
 4385|   245k|{
 4386|   245k|    sdigit left = a->long_value.ob_digit[0];
 4387|   245k|    sdigit right = b->long_value.ob_digit[0];
 4388|   245k|    sdigit mod;
 4389|       |
 4390|   245k|    assert(_PyLong_DigitCount(a) == 1);
  ------------------
  |  Branch (4390:5): [True: 245k, False: 0]
  ------------------
 4391|   245k|    assert(_PyLong_DigitCount(b) == 1);
  ------------------
  |  Branch (4391:5): [True: 245k, False: 0]
  ------------------
 4392|   245k|    sdigit sign = _PyLong_CompactSign(b);
 4393|   245k|    if (_PyLong_SameSign(a, b)) {
  ------------------
  |  Branch (4393:9): [True: 244k, False: 878]
  ------------------
 4394|   244k|        mod = left % right;
 4395|   244k|    }
 4396|    878|    else {
 4397|       |        /* Either 'a' or 'b' is negative. */
 4398|    878|        mod = right - 1 - (left - 1) % right;
 4399|    878|    }
 4400|       |
 4401|   245k|    return PyLong_FromLong(mod * sign);
 4402|   245k|}
longobject.c:pylong_int_divmod:
 4431|     72|{
 4432|     72|    PyObject *mod = PyImport_ImportModule("_pylong");
 4433|     72|    if (mod == NULL) {
  ------------------
  |  Branch (4433:9): [True: 0, False: 72]
  ------------------
 4434|      0|        return -1;
 4435|      0|    }
 4436|     72|    PyObject *result = PyObject_CallMethod(mod, "int_divmod", "OO", v, w);
 4437|     72|    Py_DECREF(mod);
  ------------------
  |  |  430|     72|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4438|     72|    if (result == NULL) {
  ------------------
  |  Branch (4438:9): [True: 0, False: 72]
  ------------------
 4439|      0|        return -1;
 4440|      0|    }
 4441|     72|    if (!PyTuple_Check(result) || PyTuple_GET_SIZE(result) != 2) {
  ------------------
  |  |   27|     72|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    144|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyTuple_Check(result) || PyTuple_GET_SIZE(result) != 2) {
  ------------------
  |  |   27|     72|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4441:9): [True: 0, False: 72]
  |  Branch (4441:35): [True: 0, False: 72]
  ------------------
 4442|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4443|      0|        PyErr_SetString(PyExc_ValueError,
 4444|      0|                        "tuple of length 2 is required from int_divmod()");
 4445|      0|        return -1;
 4446|      0|    }
 4447|     72|    PyObject *q = PyTuple_GET_ITEM(result, 0);
  ------------------
  |  |   29|     72|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     72|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4447:19): [True: 72, False: 0]
  ------------------
 4448|     72|    PyObject *r = PyTuple_GET_ITEM(result, 1);
  ------------------
  |  |   29|     72|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     72|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4448:19): [True: 72, False: 0]
  ------------------
 4449|     72|    if (!PyLong_Check(q) || !PyLong_Check(r)) {
  ------------------
  |  |   13|     72|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    144|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyLong_Check(q) || !PyLong_Check(r)) {
  ------------------
  |  |   13|     72|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     72|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4449:9): [True: 0, False: 72]
  |  Branch (4449:29): [True: 0, False: 72]
  ------------------
 4450|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4451|      0|        PyErr_SetString(PyExc_ValueError,
 4452|      0|                        "tuple of int is required from int_divmod()");
 4453|      0|        return -1;
 4454|      0|    }
 4455|     72|    if (pdiv != NULL) {
  ------------------
  |  Branch (4455:9): [True: 72, False: 0]
  ------------------
 4456|     72|        *pdiv = (PyLongObject *)Py_NewRef(q);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4457|     72|    }
 4458|     72|    if (pmod != NULL) {
  ------------------
  |  Branch (4458:9): [True: 0, False: 72]
  ------------------
 4459|      0|        *pmod = (PyLongObject *)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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4460|      0|    }
 4461|     72|    Py_DECREF(result);
  ------------------
  |  |  430|     72|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4462|     72|    return 0;
 4463|     72|}
longobject.c:long_rem:
 3279|  8.02k|{
 3280|  8.02k|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3281|       |
 3282|  8.02k|    if (size_b == 0) {
  ------------------
  |  Branch (3282:9): [True: 443, False: 7.58k]
  ------------------
 3283|    443|        PyErr_SetString(PyExc_ZeroDivisionError,
 3284|    443|                        "division by zero");
 3285|    443|        return -1;
 3286|    443|    }
 3287|  7.58k|    if (size_a < size_b ||
  ------------------
  |  Branch (3287:9): [True: 3.22k, False: 4.36k]
  ------------------
 3288|  4.36k|        (size_a == size_b &&
  ------------------
  |  Branch (3288:10): [True: 1.94k, False: 2.42k]
  ------------------
 3289|  3.98k|         a->long_value.ob_digit[size_a-1] < b->long_value.ob_digit[size_b-1])) {
  ------------------
  |  Branch (3289:10): [True: 762, False: 1.17k]
  ------------------
 3290|       |        /* |a| < |b|. */
 3291|  3.98k|        *prem = (PyLongObject *)long_long((PyObject *)a);
 3292|  3.98k|        return -(*prem == NULL);
 3293|  3.98k|    }
 3294|  3.60k|    if (size_b == 1) {
  ------------------
  |  Branch (3294:9): [True: 2.12k, False: 1.48k]
  ------------------
 3295|  2.12k|        *prem = rem1(a, b->long_value.ob_digit[0]);
 3296|  2.12k|        if (*prem == NULL)
  ------------------
  |  Branch (3296:13): [True: 0, False: 2.12k]
  ------------------
 3297|      0|            return -1;
 3298|  2.12k|    }
 3299|  1.48k|    else {
 3300|       |        /* Slow path using divrem. */
 3301|  1.48k|        Py_XDECREF(x_divrem(a, b, prem));
  ------------------
  |  |  621|  1.48k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3302|  1.48k|        *prem = maybe_small_long(*prem);
 3303|  1.48k|        if (*prem == NULL)
  ------------------
  |  Branch (3303:13): [True: 0, False: 1.48k]
  ------------------
 3304|      0|            return -1;
 3305|  1.48k|    }
 3306|       |    /* Set the sign. */
 3307|  3.60k|    if (_PyLong_IsNegative(a) && !_PyLong_IsZero(*prem)) {
  ------------------
  |  Branch (3307:9): [True: 1.68k, False: 1.92k]
  |  Branch (3307:34): [True: 1.40k, False: 281]
  ------------------
 3308|  1.40k|        _PyLong_Negate(prem);
 3309|  1.40k|        if (*prem == NULL) {
  ------------------
  |  Branch (3309:13): [True: 0, False: 1.40k]
  ------------------
 3310|      0|            Py_CLEAR(*prem);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 3311|      0|            return -1;
 3312|      0|        }
 3313|  1.40k|    }
 3314|  3.60k|    return 0;
 3315|  3.60k|}
longobject.c:rem1:
 2015|  2.12k|{
 2016|  2.12k|    const Py_ssize_t size = _PyLong_DigitCount(a);
 2017|       |
 2018|  2.12k|    assert(n > 0 && n <= PyLong_MASK);
  ------------------
  |  Branch (2018:5): [True: 2.12k, False: 0]
  |  Branch (2018:5): [True: 2.12k, False: 0]
  ------------------
 2019|  2.12k|    return (PyLongObject *)PyLong_FromLong(
 2020|  2.12k|        (long)inplace_rem1(a->long_value.ob_digit, size, n)
 2021|  2.12k|    );
 2022|  2.12k|}
longobject.c:inplace_rem1:
 2000|  2.12k|{
 2001|  2.12k|    twodigits rem = 0;
 2002|       |
 2003|  2.12k|    assert(n > 0 && n <= PyLong_MASK);
  ------------------
  |  Branch (2003:5): [True: 2.12k, False: 0]
  |  Branch (2003:5): [True: 2.12k, False: 0]
  ------------------
 2004|  7.63k|    while (--size >= 0)
  ------------------
  |  Branch (2004:12): [True: 5.50k, False: 2.12k]
  ------------------
 2005|  5.50k|        rem = ((rem << PyLong_SHIFT) | pin[size]) % n;
  ------------------
  |  |   47|  5.50k|#define PyLong_SHIFT    30
  ------------------
 2006|  2.12k|    return (digit)rem;
 2007|  2.12k|}
longobject.c:x_divrem:
 3322|  26.1k|{
 3323|  26.1k|    PyLongObject *v, *w, *a;
 3324|  26.1k|    Py_ssize_t i, k, size_v, size_w;
 3325|  26.1k|    int d;
 3326|  26.1k|    digit wm1, wm2, carry, q, r, vtop, *v0, *vk, *w0, *ak;
 3327|  26.1k|    twodigits vv;
 3328|  26.1k|    stwodigits z, zhi;
 3329|       |
 3330|       |    /* We follow Knuth [The Art of Computer Programming, Vol. 2 (3rd
 3331|       |       edn.), section 4.3.1, Algorithm D], except that we don't explicitly
 3332|       |       handle the special case when the initial estimate q for a quotient
 3333|       |       digit is >= PyLong_BASE: the max value for q is PyLong_BASE+1, and
 3334|       |       that won't overflow a digit. */
 3335|       |
 3336|       |    /* allocate space; w will also be used to hold the final remainder */
 3337|  26.1k|    size_v = _PyLong_DigitCount(v1);
 3338|  26.1k|    size_w = _PyLong_DigitCount(w1);
 3339|  26.1k|    assert(size_v >= size_w && size_w >= 2); /* Assert checks by div() */
  ------------------
  |  Branch (3339:5): [True: 26.1k, False: 0]
  |  Branch (3339:5): [True: 26.1k, False: 0]
  ------------------
 3340|  26.1k|    v = long_alloc(size_v+1);
 3341|  26.1k|    if (v == NULL) {
  ------------------
  |  Branch (3341:9): [True: 0, False: 26.1k]
  ------------------
 3342|      0|        *prem = NULL;
 3343|      0|        return NULL;
 3344|      0|    }
 3345|  26.1k|    w = long_alloc(size_w);
 3346|  26.1k|    if (w == NULL) {
  ------------------
  |  Branch (3346:9): [True: 0, False: 26.1k]
  ------------------
 3347|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3348|      0|        *prem = NULL;
 3349|      0|        return NULL;
 3350|      0|    }
 3351|       |
 3352|       |    /* normalize: shift w1 left so that its top digit is >= PyLong_BASE/2.
 3353|       |       shift v1 left by the same amount.  Results go into w and v. */
 3354|  26.1k|    d = PyLong_SHIFT - bit_length_digit(w1->long_value.ob_digit[size_w-1]);
  ------------------
  |  |   47|  26.1k|#define PyLong_SHIFT    30
  ------------------
 3355|  26.1k|    carry = v_lshift(w->long_value.ob_digit, w1->long_value.ob_digit, size_w, d);
 3356|  26.1k|    assert(carry == 0);
  ------------------
  |  Branch (3356:5): [True: 26.1k, False: 0]
  ------------------
 3357|  26.1k|    carry = v_lshift(v->long_value.ob_digit, v1->long_value.ob_digit, size_v, d);
 3358|  26.1k|    if (carry != 0 || v->long_value.ob_digit[size_v-1] >= w->long_value.ob_digit[size_w-1]) {
  ------------------
  |  Branch (3358:9): [True: 9.16k, False: 16.9k]
  |  Branch (3358:23): [True: 374, False: 16.5k]
  ------------------
 3359|  9.54k|        v->long_value.ob_digit[size_v] = carry;
 3360|  9.54k|        size_v++;
 3361|  9.54k|    }
 3362|       |
 3363|       |    /* Now v->long_value.ob_digit[size_v-1] < w->long_value.ob_digit[size_w-1], so quotient has
 3364|       |       at most (and usually exactly) k = size_v - size_w digits. */
 3365|  26.1k|    k = size_v - size_w;
 3366|  26.1k|    assert(k >= 0);
  ------------------
  |  Branch (3366:5): [True: 26.1k, False: 0]
  ------------------
 3367|  26.1k|    a = long_alloc(k);
 3368|  26.1k|    if (a == NULL) {
  ------------------
  |  Branch (3368:9): [True: 0, False: 26.1k]
  ------------------
 3369|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3370|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3371|      0|        *prem = NULL;
 3372|      0|        return NULL;
 3373|      0|    }
 3374|  26.1k|    a->long_value.ob_digit[0] = 0;
 3375|  26.1k|    v0 = v->long_value.ob_digit;
 3376|  26.1k|    w0 = w->long_value.ob_digit;
 3377|  26.1k|    wm1 = w0[size_w-1];
 3378|  26.1k|    wm2 = w0[size_w-2];
 3379|   103k|    for (vk = v0+k, ak = a->long_value.ob_digit + k; vk-- > v0;) {
  ------------------
  |  Branch (3379:54): [True: 76.8k, False: 26.1k]
  ------------------
 3380|       |        /* inner loop: divide vk[0:size_w+1] by w0[0:size_w], giving
 3381|       |           single-digit quotient q, remainder in vk[0:size_w]. */
 3382|       |
 3383|  76.8k|        SIGCHECK({
  ------------------
  |  |  117|  76.8k|    do {                                        \
  |  |  118|  76.8k|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 76.8k]
  |  |  ------------------
  |  |  119|  76.8k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 76.8k]
  |  |  ------------------
  ------------------
 3384|  76.8k|                Py_DECREF(a);
 3385|  76.8k|                Py_DECREF(w);
 3386|  76.8k|                Py_DECREF(v);
 3387|  76.8k|                *prem = NULL;
 3388|  76.8k|                return NULL;
 3389|  76.8k|            });
 3390|       |
 3391|       |        /* estimate quotient digit q; may overestimate by 1 (rare) */
 3392|  76.8k|        vtop = vk[size_w];
 3393|  76.8k|        assert(vtop <= wm1);
  ------------------
  |  Branch (3393:9): [True: 76.8k, False: 0]
  ------------------
 3394|  76.8k|        vv = ((twodigits)vtop << PyLong_SHIFT) | vk[size_w-1];
  ------------------
  |  |   47|  76.8k|#define PyLong_SHIFT    30
  ------------------
 3395|       |        /* The code used to compute the remainder via
 3396|       |         *     r = (digit)(vv - (twodigits)wm1 * q);
 3397|       |         * and compilers generally generated code to do the * and -.
 3398|       |         * But modern processors generally compute q and r with a single
 3399|       |         * instruction, and modern optimizing compilers exploit that if we
 3400|       |         * _don't_ try to optimize it.
 3401|       |         */
 3402|  76.8k|        q = (digit)(vv / wm1);
 3403|  76.8k|        r = (digit)(vv % wm1);
 3404|  93.2k|        while ((twodigits)wm2 * q > (((twodigits)r << PyLong_SHIFT)
  ------------------
  |  |   47|  93.2k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (3404:16): [True: 20.2k, False: 72.9k]
  ------------------
 3405|  93.2k|                                     | vk[size_w-2])) {
 3406|  20.2k|            --q;
 3407|  20.2k|            r += wm1;
 3408|  20.2k|            if (r >= PyLong_BASE)
  ------------------
  |  |   61|  20.2k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  20.2k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (3408:17): [True: 3.91k, False: 16.3k]
  ------------------
 3409|  3.91k|                break;
 3410|  20.2k|        }
 3411|  76.8k|        assert(q <= PyLong_BASE);
  ------------------
  |  Branch (3411:9): [True: 76.8k, False: 0]
  ------------------
 3412|       |
 3413|       |        /* subtract q*w0[0:size_w] from vk[0:size_w+1] */
 3414|  76.8k|        zhi = 0;
 3415|  2.71M|        for (i = 0; i < size_w; ++i) {
  ------------------
  |  Branch (3415:21): [True: 2.64M, False: 76.8k]
  ------------------
 3416|       |            /* invariants: -PyLong_BASE <= -q <= zhi <= 0;
 3417|       |               -PyLong_BASE * q <= z < PyLong_BASE */
 3418|  2.64M|            z = (stwodigits)vk[i] + zhi -
 3419|  2.64M|                (stwodigits)q * (stwodigits)w0[i];
 3420|  2.64M|            vk[i] = (digit)z & PyLong_MASK;
  ------------------
  |  |   62|  2.64M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  2.64M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  2.64M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3421|  2.64M|            zhi = Py_ARITHMETIC_RIGHT_SHIFT(stwodigits, z, PyLong_SHIFT);
  ------------------
  |  |  226|  2.64M|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
 3422|  2.64M|        }
 3423|       |
 3424|       |        /* add w back if q was too large (this branch taken rarely) */
 3425|  76.8k|        assert((stwodigits)vtop + zhi == -1 || (stwodigits)vtop + zhi == 0);
  ------------------
  |  Branch (3425:9): [True: 148, False: 76.7k]
  |  Branch (3425:9): [True: 76.7k, False: 0]
  ------------------
 3426|  76.8k|        if ((stwodigits)vtop + zhi < 0) {
  ------------------
  |  Branch (3426:13): [True: 148, False: 76.7k]
  ------------------
 3427|    148|            carry = 0;
 3428|    883|            for (i = 0; i < size_w; ++i) {
  ------------------
  |  Branch (3428:25): [True: 735, False: 148]
  ------------------
 3429|    735|                carry += vk[i] + w0[i];
 3430|    735|                vk[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|    735|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    735|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    735|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3431|    735|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|    735|#define PyLong_SHIFT    30
  ------------------
 3432|    735|            }
 3433|    148|            --q;
 3434|    148|        }
 3435|       |
 3436|       |        /* store quotient digit */
 3437|  76.8k|        assert(q < PyLong_BASE);
  ------------------
  |  Branch (3437:9): [True: 76.8k, False: 0]
  ------------------
 3438|  76.8k|        *--ak = q;
 3439|  76.8k|    }
 3440|       |
 3441|       |    /* unshift remainder; we reuse w to store the result */
 3442|  26.1k|    carry = v_rshift(w0, v0, size_w, d);
 3443|  26.1k|    assert(carry==0);
  ------------------
  |  Branch (3443:5): [True: 26.1k, False: 0]
  ------------------
 3444|  26.1k|    Py_DECREF(v);
  ------------------
  |  |  430|  26.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3445|       |
 3446|  26.1k|    *prem = long_normalize(w);
 3447|  26.1k|    return long_normalize(a);
 3448|  26.1k|}
longobject.c:long_divrem:
 3216|   107k|{
 3217|   107k|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3218|   107k|    PyLongObject *z;
 3219|       |
 3220|   107k|    if (size_b == 0) {
  ------------------
  |  Branch (3220:9): [True: 345, False: 107k]
  ------------------
 3221|    345|        PyErr_SetString(PyExc_ZeroDivisionError, "division by zero");
 3222|    345|        return -1;
 3223|    345|    }
 3224|   107k|    if (size_a < size_b ||
  ------------------
  |  Branch (3224:9): [True: 95.3k, False: 12.3k]
  ------------------
 3225|  12.3k|        (size_a == size_b &&
  ------------------
  |  Branch (3225:10): [True: 1.83k, False: 10.4k]
  ------------------
 3226|  95.5k|         a->long_value.ob_digit[size_a-1] < b->long_value.ob_digit[size_b-1])) {
  ------------------
  |  Branch (3226:10): [True: 235, False: 1.59k]
  ------------------
 3227|       |        /* |a| < |b|. */
 3228|  95.5k|        *prem = (PyLongObject *)long_long((PyObject *)a);
 3229|  95.5k|        if (*prem == NULL) {
  ------------------
  |  Branch (3229:13): [True: 0, False: 95.5k]
  ------------------
 3230|      0|            return -1;
 3231|      0|        }
 3232|  95.5k|        *pdiv = (PyLongObject*)_PyLong_GetZero();
 3233|  95.5k|        return 0;
 3234|  95.5k|    }
 3235|  12.0k|    if (size_b == 1) {
  ------------------
  |  Branch (3235:9): [True: 6.00k, False: 6.08k]
  ------------------
 3236|  6.00k|        digit rem = 0;
 3237|  6.00k|        z = divrem1(a, b->long_value.ob_digit[0], &rem);
 3238|  6.00k|        if (z == NULL)
  ------------------
  |  Branch (3238:13): [True: 0, False: 6.00k]
  ------------------
 3239|      0|            return -1;
 3240|  6.00k|        *prem = (PyLongObject *) PyLong_FromLong((long)rem);
 3241|  6.00k|        if (*prem == NULL) {
  ------------------
  |  Branch (3241:13): [True: 0, False: 6.00k]
  ------------------
 3242|      0|            Py_DECREF(z);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3243|      0|            return -1;
 3244|      0|        }
 3245|  6.00k|    }
 3246|  6.08k|    else {
 3247|  6.08k|        z = x_divrem(a, b, prem);
 3248|  6.08k|        *prem = maybe_small_long(*prem);
 3249|  6.08k|        if (z == NULL)
  ------------------
  |  Branch (3249:13): [True: 0, False: 6.08k]
  ------------------
 3250|      0|            return -1;
 3251|  6.08k|    }
 3252|       |    /* Set the signs.
 3253|       |       The quotient z has the sign of a*b;
 3254|       |       the remainder r has the sign of a,
 3255|       |       so a = b*z + r. */
 3256|  12.0k|    if ((_PyLong_IsNegative(a)) != (_PyLong_IsNegative(b))) {
  ------------------
  |  Branch (3256:9): [True: 8.28k, False: 3.79k]
  ------------------
 3257|  8.28k|        _PyLong_Negate(&z);
 3258|  8.28k|        if (z == NULL) {
  ------------------
  |  Branch (3258:13): [True: 0, False: 8.28k]
  ------------------
 3259|      0|            Py_CLEAR(*prem);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 3260|      0|            return -1;
 3261|      0|        }
 3262|  8.28k|    }
 3263|  12.0k|    if (_PyLong_IsNegative(a) && !_PyLong_IsZero(*prem)) {
  ------------------
  |  Branch (3263:9): [True: 6.17k, False: 5.91k]
  |  Branch (3263:34): [True: 5.12k, False: 1.04k]
  ------------------
 3264|  5.12k|        _PyLong_Negate(prem);
 3265|  5.12k|        if (*prem == NULL) {
  ------------------
  |  Branch (3265:13): [True: 0, False: 5.12k]
  ------------------
 3266|      0|            Py_DECREF(z);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3267|      0|            Py_CLEAR(*prem);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 3268|      0|            return -1;
 3269|      0|        }
 3270|  5.12k|    }
 3271|  12.0k|    *pdiv = maybe_small_long(z);
 3272|  12.0k|    return 0;
 3273|  12.0k|}
longobject.c:divrem1:
 1983|  6.00k|{
 1984|  6.00k|    const Py_ssize_t size = _PyLong_DigitCount(a);
 1985|  6.00k|    PyLongObject *z;
 1986|       |
 1987|  6.00k|    assert(n > 0 && n <= PyLong_MASK);
  ------------------
  |  Branch (1987:5): [True: 6.00k, False: 0]
  |  Branch (1987:5): [True: 6.00k, False: 0]
  ------------------
 1988|  6.00k|    z = long_alloc(size);
 1989|  6.00k|    if (z == NULL)
  ------------------
  |  Branch (1989:9): [True: 0, False: 6.00k]
  ------------------
 1990|      0|        return NULL;
 1991|  6.00k|    *prem = inplace_divrem1(z->long_value.ob_digit, a->long_value.ob_digit, size, n);
 1992|  6.00k|    return long_normalize(z);
 1993|  6.00k|}
longobject.c:inplace_divrem1:
 1961|  9.40k|{
 1962|  9.40k|    digit remainder = 0;
 1963|       |
 1964|  9.40k|    assert(n > 0 && n <= PyLong_MASK);
  ------------------
  |  Branch (1964:5): [True: 9.40k, False: 0]
  |  Branch (1964:5): [True: 9.40k, False: 0]
  ------------------
 1965|  36.0k|    while (--size >= 0) {
  ------------------
  |  Branch (1965:12): [True: 26.6k, False: 9.40k]
  ------------------
 1966|  26.6k|        twodigits dividend;
 1967|  26.6k|        dividend = ((twodigits)remainder << PyLong_SHIFT) | pin[size];
  ------------------
  |  |   47|  26.6k|#define PyLong_SHIFT    30
  ------------------
 1968|  26.6k|        digit quotient;
 1969|  26.6k|        quotient = (digit)(dividend / n);
 1970|  26.6k|        remainder = dividend % n;
 1971|  26.6k|        pout[size] = quotient;
 1972|  26.6k|    }
 1973|  9.40k|    return remainder;
 1974|  9.40k|}
longobject.c:long_neg:
 5284|   104k|{
 5285|   104k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (5285:9): [True: 70.5k, False: 34.0k]
  ------------------
 5286|  70.5k|        return _PyLong_FromSTwoDigits(-medium_value(v));
  ------------------
  |  |   27|  70.5k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5287|  70.5k|    }
 5288|       |
 5289|  34.0k|    PyLongObject *z = (PyLongObject *)_PyLong_Copy(v);
 5290|  34.0k|    if (z != NULL) {
  ------------------
  |  Branch (5290:9): [True: 34.0k, False: 0]
  ------------------
 5291|  34.0k|        _PyLong_FlipSign(z);
 5292|  34.0k|    }
 5293|  34.0k|    return z;
 5294|   104k|}
longobject.c:long_sub:
 3893|  27.9k|{
 3894|  27.9k|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3894:9): [True: 15.0k, False: 12.8k]
  ------------------
 3895|  15.0k|        return _PyLong_FromSTwoDigits(medium_value(a) - medium_value(b));
  ------------------
  |  |   27|  15.0k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return _PyLong_FromSTwoDigits(medium_value(a) - medium_value(b));
  ------------------
  |  |   27|  15.0k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3896|  15.0k|    }
 3897|       |
 3898|  12.8k|    PyLongObject *z;
 3899|  12.8k|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (3899:9): [True: 8.08k, False: 4.76k]
  ------------------
 3900|  8.08k|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (3900:13): [True: 388, False: 7.70k]
  ------------------
 3901|    388|            z = x_sub(b, a);
 3902|    388|        }
 3903|  7.70k|        else {
 3904|  7.70k|            z = x_add(a, b);
 3905|  7.70k|            if (z != NULL) {
  ------------------
  |  Branch (3905:17): [True: 7.70k, False: 0]
  ------------------
 3906|  7.70k|                assert(_PyLong_IsZero(z) || Py_REFCNT(z) == 1);
  ------------------
  |  Branch (3906:17): [True: 0, False: 7.70k]
  |  Branch (3906:17): [True: 7.70k, False: 0]
  ------------------
 3907|  7.70k|                _PyLong_FlipSign(z);
 3908|  7.70k|            }
 3909|  7.70k|        }
 3910|  8.08k|    }
 3911|  4.76k|    else {
 3912|  4.76k|        if (_PyLong_IsNegative(b))
  ------------------
  |  Branch (3912:13): [True: 873, False: 3.88k]
  ------------------
 3913|    873|            z = x_add(a, b);
 3914|  3.88k|        else
 3915|  3.88k|            z = x_sub(a, b);
 3916|  4.76k|    }
 3917|  12.8k|    return z;
 3918|  12.8k|}
longobject.c:x_sub:
 3790|  13.5k|{
 3791|  13.5k|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3792|  13.5k|    PyLongObject *z;
 3793|  13.5k|    Py_ssize_t i;
 3794|  13.5k|    int sign = 1;
 3795|  13.5k|    digit borrow = 0;
 3796|       |
 3797|       |    /* Ensure a is the larger of the two: */
 3798|  13.5k|    if (size_a < size_b) {
  ------------------
  |  Branch (3798:9): [True: 3.03k, False: 10.5k]
  ------------------
 3799|  3.03k|        sign = -1;
 3800|  3.03k|        { PyLongObject *temp = a; a = b; b = temp; }
 3801|  3.03k|        { Py_ssize_t size_temp = size_a;
 3802|  3.03k|            size_a = size_b;
 3803|  3.03k|            size_b = size_temp; }
 3804|  3.03k|    }
 3805|  10.5k|    else if (size_a == size_b) {
  ------------------
  |  Branch (3805:14): [True: 4.95k, False: 5.56k]
  ------------------
 3806|       |        /* Find highest digit where a and b differ: */
 3807|  4.95k|        i = size_a;
 3808|  5.14k|        while (--i >= 0 && a->long_value.ob_digit[i] == b->long_value.ob_digit[i])
  ------------------
  |  Branch (3808:16): [True: 5.11k, False: 27]
  |  Branch (3808:28): [True: 195, False: 4.92k]
  ------------------
 3809|    195|            ;
 3810|  4.95k|        if (i < 0)
  ------------------
  |  Branch (3810:13): [True: 27, False: 4.92k]
  ------------------
 3811|     27|            return (PyLongObject *)PyLong_FromLong(0);
 3812|  4.92k|        if (a->long_value.ob_digit[i] < b->long_value.ob_digit[i]) {
  ------------------
  |  Branch (3812:13): [True: 2.93k, False: 1.99k]
  ------------------
 3813|  2.93k|            sign = -1;
 3814|  2.93k|            { PyLongObject *temp = a; a = b; b = temp; }
 3815|  2.93k|        }
 3816|  4.92k|        size_a = size_b = i+1;
 3817|  4.92k|    }
 3818|  13.5k|    z = long_alloc(size_a);
 3819|  13.5k|    if (z == NULL)
  ------------------
  |  Branch (3819:9): [True: 0, False: 13.5k]
  ------------------
 3820|      0|        return NULL;
 3821|   152k|    for (i = 0; i < size_b; ++i) {
  ------------------
  |  Branch (3821:17): [True: 138k, False: 13.5k]
  ------------------
 3822|       |        /* The following assumes unsigned arithmetic
 3823|       |           works module 2**N for some N>PyLong_SHIFT. */
 3824|   138k|        borrow = a->long_value.ob_digit[i] - b->long_value.ob_digit[i] - borrow;
 3825|   138k|        z->long_value.ob_digit[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|   138k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   138k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   138k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3826|   138k|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|   138k|#define PyLong_SHIFT    30
  ------------------
 3827|   138k|        borrow &= 1; /* Keep only one sign bit */
 3828|   138k|    }
 3829|  84.9k|    for (; i < size_a; ++i) {
  ------------------
  |  Branch (3829:12): [True: 71.4k, False: 13.5k]
  ------------------
 3830|  71.4k|        borrow = a->long_value.ob_digit[i] - borrow;
 3831|  71.4k|        z->long_value.ob_digit[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|  71.4k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  71.4k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  71.4k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3832|  71.4k|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|  71.4k|#define PyLong_SHIFT    30
  ------------------
 3833|  71.4k|        borrow &= 1; /* Keep only one sign bit */
 3834|  71.4k|    }
 3835|  13.5k|    assert(borrow == 0);
  ------------------
  |  Branch (3835:5): [True: 13.5k, False: 0]
  ------------------
 3836|  13.5k|    if (sign < 0) {
  ------------------
  |  Branch (3836:9): [True: 5.97k, False: 7.55k]
  ------------------
 3837|  5.97k|        _PyLong_FlipSign(z);
 3838|  5.97k|    }
 3839|  13.5k|    return maybe_small_long(long_normalize(z));
 3840|  13.5k|}
longobject.c:x_add:
 3745|  44.3k|{
 3746|  44.3k|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3747|  44.3k|    PyLongObject *z;
 3748|  44.3k|    Py_ssize_t i;
 3749|  44.3k|    digit carry = 0;
 3750|       |
 3751|       |    /* Ensure a is the larger of the two: */
 3752|  44.3k|    if (size_a < size_b) {
  ------------------
  |  Branch (3752:9): [True: 5.02k, False: 39.2k]
  ------------------
 3753|  5.02k|        { PyLongObject *temp = a; a = b; b = temp; }
 3754|  5.02k|        { Py_ssize_t size_temp = size_a;
 3755|  5.02k|            size_a = size_b;
 3756|  5.02k|            size_b = size_temp; }
 3757|  5.02k|    }
 3758|  44.3k|    assert(size_a >= 1);
  ------------------
  |  Branch (3758:5): [True: 44.3k, 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|  44.3k|    digit top_sum = a->long_value.ob_digit[size_a - 1]
 3762|  44.3k|        + (size_b == size_a ? b->long_value.ob_digit[size_b - 1] : 0);
  ------------------
  |  Branch (3762:12): [True: 25.9k, False: 18.3k]
  ------------------
 3763|  44.3k|    int extra_digit = top_sum >= PyLong_MASK;
  ------------------
  |  |   62|  44.3k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  44.3k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  44.3k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3764|  44.3k|    z = long_alloc(size_a + extra_digit);
 3765|  44.3k|    if (z == NULL)
  ------------------
  |  Branch (3765:9): [True: 0, False: 44.3k]
  ------------------
 3766|      0|        return NULL;
 3767|  5.33M|    for (i = 0; i < size_b; ++i) {
  ------------------
  |  Branch (3767:17): [True: 5.29M, False: 44.3k]
  ------------------
 3768|  5.29M|        carry += a->long_value.ob_digit[i] + b->long_value.ob_digit[i];
 3769|  5.29M|        z->long_value.ob_digit[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|  5.29M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  5.29M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  5.29M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3770|  5.29M|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  5.29M|#define PyLong_SHIFT    30
  ------------------
 3771|  5.29M|    }
 3772|   313k|    for (; i < size_a; ++i) {
  ------------------
  |  Branch (3772:12): [True: 269k, False: 44.3k]
  ------------------
 3773|   269k|        carry += a->long_value.ob_digit[i];
 3774|   269k|        z->long_value.ob_digit[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|   269k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   269k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   269k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3775|   269k|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|   269k|#define PyLong_SHIFT    30
  ------------------
 3776|   269k|    }
 3777|  44.3k|    if (extra_digit) {
  ------------------
  |  Branch (3777:9): [True: 948, False: 43.3k]
  ------------------
 3778|    948|        z->long_value.ob_digit[i] = carry;
 3779|    948|        return long_normalize(z);
 3780|    948|    }
 3781|  44.3k|    assert(carry == 0);
  ------------------
  |  Branch (3781:5): [True: 43.3k, False: 0]
  ------------------
 3782|  43.3k|    assert(z->long_value.ob_digit[i - 1] != 0);
  ------------------
  |  Branch (3782:5): [True: 43.3k, False: 0]
  ------------------
 3783|  43.3k|    return z;
 3784|  43.3k|}
longobject.c:long_add:
 3844|  75.0k|{
 3845|  75.0k|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3845:9): [True: 35.6k, False: 39.3k]
  ------------------
 3846|  35.6k|        stwodigits z = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|  35.6k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      stwodigits z = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|  35.6k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3847|  35.6k|        return _PyLong_FromSTwoDigits(z);
 3848|  35.6k|    }
 3849|       |
 3850|  39.3k|    PyLongObject *z;
 3851|  39.3k|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (3851:9): [True: 6.21k, False: 33.1k]
  ------------------
 3852|  6.21k|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (3852:13): [True: 307, False: 5.90k]
  ------------------
 3853|    307|            z = x_add(a, b);
 3854|    307|            if (z != NULL) {
  ------------------
  |  Branch (3854:17): [True: 307, 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|    307|                assert(Py_REFCNT(z) == 1);
  ------------------
  |  Branch (3859:17): [True: 307, False: 0]
  ------------------
 3860|    307|                _PyLong_FlipSign(z);
 3861|    307|            }
 3862|    307|        }
 3863|  5.90k|        else
 3864|  5.90k|            z = x_sub(b, a);
 3865|  6.21k|    }
 3866|  33.1k|    else {
 3867|  33.1k|        if (_PyLong_IsNegative(b))
  ------------------
  |  Branch (3867:13): [True: 3.37k, False: 29.7k]
  ------------------
 3868|  3.37k|            z = x_sub(a, b);
 3869|  29.7k|        else
 3870|  29.7k|            z = x_add(a, b);
 3871|  33.1k|    }
 3872|  39.3k|    return z;
 3873|  39.3k|}
longobject.c:long_dealloc:
 3650|  3.70M|{
 3651|  3.70M|    if (_PyLong_IsSmallInt((PyLongObject *)self)) {
  ------------------
  |  Branch (3651:9): [True: 0, False: 3.70M]
  ------------------
 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|  3.70M|    if (PyLong_CheckExact(self) && _PyLong_IsCompact((PyLongObject *)self)) {
  ------------------
  |  |   14|  3.70M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  7.41M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.70M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.70M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.70M, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3661:36): [True: 3.11M, False: 594k]
  ------------------
 3662|  3.11M|        _Py_FREELIST_FREE(ints, self, PyObject_Free);
  ------------------
  |  |   35|  3.11M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  3.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  3.11M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   20|  3.11M|#  define Py_ints_MAXFREELIST 100
  |  |  ------------------
  ------------------
 3663|  3.11M|        return;
 3664|  3.11M|    }
 3665|   594k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|   594k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   594k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   594k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3666|   594k|}
longobject.c:long_to_decimal_string:
 2318|  94.3k|{
 2319|  94.3k|    PyObject *v;
 2320|  94.3k|    if (long_to_decimal_string_internal(aa, &v, NULL, NULL, NULL) == -1)
  ------------------
  |  Branch (2320:9): [True: 0, False: 94.3k]
  ------------------
 2321|      0|        return NULL;
 2322|  94.3k|    return v;
 2323|  94.3k|}
longobject.c:long_add_method:
 3885|  65.9k|{
 3886|  65.9k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  65.9k|    do {                                                \
  |  | 1845|  65.9k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  65.9k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   131k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  65.0k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  65.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 897, False: 65.0k]
  |  |  |  Branch (1845:33): [True: 4.50k, False: 60.5k]
  |  |  ------------------
  |  | 1846|  65.9k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  5.40k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  5.40k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  65.9k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 60.5k]
  |  |  ------------------
  ------------------
 3887|  60.5k|    return (PyObject*)long_add((PyLongObject*)a, (PyLongObject*)b);
 3888|  65.9k|}
longobject.c:long_sub_method:
 3930|  25.4k|{
 3931|  25.4k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  25.4k|    do {                                                \
  |  | 1845|  25.4k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  25.4k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  50.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  25.2k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  25.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 209, False: 25.2k]
  |  |  |  Branch (1845:33): [True: 5.61k, False: 19.5k]
  |  |  ------------------
  |  | 1846|  25.4k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  5.82k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  5.82k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  25.4k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 19.5k]
  |  |  ------------------
  ------------------
 3932|  19.5k|    return (PyObject*)long_sub((PyLongObject*)a, (PyLongObject*)b);
 3933|  25.4k|}
longobject.c:long_mul_method:
 4377|   186k|{
 4378|   186k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|   186k|    do {                                                \
  |  | 1845|   186k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   186k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   372k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   186k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   186k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 136, False: 186k]
  |  |  |  Branch (1845:33): [True: 66.2k, False: 120k]
  |  |  ------------------
  |  | 1846|   186k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  66.3k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  66.3k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|   186k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 120k]
  |  |  ------------------
  ------------------
 4379|   120k|    return (PyObject*)long_mul((PyLongObject*)a, (PyLongObject*)b);
 4380|   186k|}
longobject.c:long_mul:
 4350|   713k|{
 4351|       |    /* fast path for single-digit multiplication */
 4352|   713k|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (4352:9): [True: 613k, False: 99.5k]
  ------------------
 4353|   613k|        stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|   613k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|   613k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 4354|   613k|        return _PyLong_FromSTwoDigits(v);
 4355|   613k|    }
 4356|       |
 4357|  99.5k|    PyLongObject *z = k_mul(a, b);
 4358|       |    /* Negate if exactly one of the inputs is negative. */
 4359|  99.5k|    if (!_PyLong_SameSign(a, b) && z) {
  ------------------
  |  Branch (4359:9): [True: 2.70k, False: 96.8k]
  |  Branch (4359:36): [True: 2.70k, False: 0]
  ------------------
 4360|  2.70k|        _PyLong_Negate(&z);
 4361|  2.70k|    }
 4362|  99.5k|    return z;
 4363|   713k|}
longobject.c:k_mul:
 4080|   108k|{
 4081|   108k|    Py_ssize_t asize = _PyLong_DigitCount(a);
 4082|   108k|    Py_ssize_t bsize = _PyLong_DigitCount(b);
 4083|   108k|    PyLongObject *ah = NULL;
 4084|   108k|    PyLongObject *al = NULL;
 4085|   108k|    PyLongObject *bh = NULL;
 4086|   108k|    PyLongObject *bl = NULL;
 4087|   108k|    PyLongObject *ret = NULL;
 4088|   108k|    PyLongObject *t1, *t2, *t3;
 4089|   108k|    Py_ssize_t shift;           /* the number of digits we split off */
 4090|   108k|    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|   108k|    if (asize > bsize) {
  ------------------
  |  Branch (4103:9): [True: 48.0k, False: 60.2k]
  ------------------
 4104|  48.0k|        t1 = a;
 4105|  48.0k|        a = b;
 4106|  48.0k|        b = t1;
 4107|       |
 4108|  48.0k|        i = asize;
 4109|  48.0k|        asize = bsize;
 4110|  48.0k|        bsize = i;
 4111|  48.0k|    }
 4112|       |
 4113|       |    /* Use gradeschool math when either number is too small. */
 4114|   108k|    i = a == b ? KARATSUBA_SQUARE_CUTOFF : KARATSUBA_CUTOFF;
  ------------------
  |  |   85|  23.8k|#define KARATSUBA_SQUARE_CUTOFF (2 * KARATSUBA_CUTOFF)
  |  |  ------------------
  |  |  |  |   84|  23.8k|#define KARATSUBA_CUTOFF 70
  |  |  ------------------
  ------------------
                  i = a == b ? KARATSUBA_SQUARE_CUTOFF : KARATSUBA_CUTOFF;
  ------------------
  |  |   84|   192k|#define KARATSUBA_CUTOFF 70
  ------------------
  |  Branch (4114:9): [True: 23.8k, False: 84.4k]
  ------------------
 4115|   108k|    if (asize <= i) {
  ------------------
  |  Branch (4115:9): [True: 105k, False: 2.92k]
  ------------------
 4116|   105k|        if (asize == 0)
  ------------------
  |  Branch (4116:13): [True: 739, False: 104k]
  ------------------
 4117|    739|            return (PyLongObject *)PyLong_FromLong(0);
 4118|   104k|        else
 4119|   104k|            return x_mul(a, b);
 4120|   105k|    }
 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|  2.92k|    if (2 * asize <= bsize)
  ------------------
  |  Branch (4128:9): [True: 71, False: 2.85k]
  ------------------
 4129|     71|        return k_lopsided_mul(a, b);
 4130|       |
 4131|       |    /* Split a & b into hi & lo pieces. */
 4132|  2.85k|    shift = bsize >> 1;
 4133|  2.85k|    if (kmul_split(a, shift, &ah, &al) < 0) goto fail;
  ------------------
  |  Branch (4133:9): [True: 0, False: 2.85k]
  ------------------
 4134|  2.85k|    assert(_PyLong_IsPositive(ah));        /* the split isn't degenerate */
  ------------------
  |  Branch (4134:5): [True: 2.85k, False: 0]
  ------------------
 4135|       |
 4136|  2.85k|    if (a == b) {
  ------------------
  |  Branch (4136:9): [True: 28, False: 2.82k]
  ------------------
 4137|     28|        bh = (PyLongObject*)Py_NewRef(ah);
  ------------------
  |  |  647|     28|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4138|     28|        bl = (PyLongObject*)Py_NewRef(al);
  ------------------
  |  |  647|     28|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4139|     28|    }
 4140|  2.82k|    else if (kmul_split(b, shift, &bh, &bl) < 0) goto fail;
  ------------------
  |  Branch (4140:14): [True: 0, False: 2.82k]
  ------------------
 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|  2.85k|    ret = long_alloc(asize + bsize);
 4160|  2.85k|    if (ret == NULL) goto fail;
  ------------------
  |  Branch (4160:9): [True: 0, False: 2.85k]
  ------------------
 4161|       |
 4162|       |    /* 2. t1 <- ah*bh, and copy into high digits of result. */
 4163|  2.85k|    if ((t1 = k_mul(ah, bh)) == NULL) goto fail;
  ------------------
  |  Branch (4163:9): [True: 0, False: 2.85k]
  ------------------
 4164|  2.85k|    assert(!_PyLong_IsNegative(t1));
  ------------------
  |  Branch (4164:5): [True: 2.85k, False: 0]
  ------------------
 4165|  2.85k|    assert(2*shift + _PyLong_DigitCount(t1) <= _PyLong_DigitCount(ret));
  ------------------
  |  Branch (4165:5): [True: 2.85k, False: 0]
  ------------------
 4166|  2.85k|    memcpy(ret->long_value.ob_digit + 2*shift, t1->long_value.ob_digit,
 4167|  2.85k|           _PyLong_DigitCount(t1) * sizeof(digit));
 4168|       |
 4169|       |    /* Zero-out the digits higher than the ah*bh copy. */
 4170|  2.85k|    i = _PyLong_DigitCount(ret) - 2*shift - _PyLong_DigitCount(t1);
 4171|  2.85k|    if (i)
  ------------------
  |  Branch (4171:9): [True: 575, False: 2.28k]
  ------------------
 4172|    575|        memset(ret->long_value.ob_digit + 2*shift + _PyLong_DigitCount(t1), 0,
 4173|    575|               i * sizeof(digit));
 4174|       |
 4175|       |    /* 3. t2 <- al*bl, and copy into the low digits. */
 4176|  2.85k|    if ((t2 = k_mul(al, bl)) == NULL) {
  ------------------
  |  Branch (4176:9): [True: 0, False: 2.85k]
  ------------------
 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|  2.85k|    assert(!_PyLong_IsNegative(t2));
  ------------------
  |  Branch (4180:5): [True: 2.85k, False: 0]
  ------------------
 4181|  2.85k|    assert(_PyLong_DigitCount(t2) <= 2*shift); /* no overlap with high digits */
  ------------------
  |  Branch (4181:5): [True: 2.85k, False: 0]
  ------------------
 4182|  2.85k|    memcpy(ret->long_value.ob_digit, t2->long_value.ob_digit, _PyLong_DigitCount(t2) * sizeof(digit));
 4183|       |
 4184|       |    /* Zero out remaining digits. */
 4185|  2.85k|    i = 2*shift - _PyLong_DigitCount(t2);          /* number of uninitialized digits */
 4186|  2.85k|    if (i)
  ------------------
  |  Branch (4186:9): [True: 262, False: 2.59k]
  ------------------
 4187|    262|        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|  2.85k|    i = _PyLong_DigitCount(ret) - shift;  /* # digits after shift */
 4193|  2.85k|    (void)v_isub(ret->long_value.ob_digit + shift, i, t2->long_value.ob_digit, _PyLong_DigitCount(t2));
 4194|  2.85k|    _Py_DECREF_INT(t2);
 4195|       |
 4196|  2.85k|    (void)v_isub(ret->long_value.ob_digit + shift, i, t1->long_value.ob_digit, _PyLong_DigitCount(t1));
 4197|  2.85k|    _Py_DECREF_INT(t1);
 4198|       |
 4199|       |    /* 6. t3 <- (ah+al)(bh+bl), and add into result. */
 4200|  2.85k|    if ((t1 = x_add(ah, al)) == NULL) goto fail;
  ------------------
  |  Branch (4200:9): [True: 0, False: 2.85k]
  ------------------
 4201|  2.85k|    _Py_DECREF_INT(ah);
 4202|  2.85k|    _Py_DECREF_INT(al);
 4203|  2.85k|    ah = al = NULL;
 4204|       |
 4205|  2.85k|    if (a == b) {
  ------------------
  |  Branch (4205:9): [True: 28, False: 2.82k]
  ------------------
 4206|     28|        t2 = (PyLongObject*)Py_NewRef(t1);
  ------------------
  |  |  647|     28|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4207|     28|    }
 4208|  2.82k|    else if ((t2 = x_add(bh, bl)) == NULL) {
  ------------------
  |  Branch (4208:14): [True: 0, False: 2.82k]
  ------------------
 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|  2.85k|    _Py_DECREF_INT(bh);
 4213|  2.85k|    _Py_DECREF_INT(bl);
 4214|  2.85k|    bh = bl = NULL;
 4215|       |
 4216|  2.85k|    t3 = k_mul(t1, t2);
 4217|  2.85k|    _Py_DECREF_INT(t1);
 4218|  2.85k|    _Py_DECREF_INT(t2);
 4219|  2.85k|    if (t3 == NULL) goto fail;
  ------------------
  |  Branch (4219:9): [True: 0, False: 2.85k]
  ------------------
 4220|  2.85k|    assert(!_PyLong_IsNegative(t3));
  ------------------
  |  Branch (4220:5): [True: 2.85k, 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|  2.85k|    (void)v_iadd(ret->long_value.ob_digit + shift, i, t3->long_value.ob_digit, _PyLong_DigitCount(t3));
 4226|  2.85k|    _Py_DECREF_INT(t3);
 4227|       |
 4228|  2.85k|    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|  2.85k|}
longobject.c:x_mul:
 3941|   104k|{
 3942|   104k|    PyLongObject *z;
 3943|   104k|    Py_ssize_t size_a = _PyLong_DigitCount(a);
 3944|   104k|    Py_ssize_t size_b = _PyLong_DigitCount(b);
 3945|   104k|    Py_ssize_t i;
 3946|       |
 3947|   104k|    z = long_alloc(size_a + size_b);
 3948|   104k|    if (z == NULL)
  ------------------
  |  Branch (3948:9): [True: 0, False: 104k]
  ------------------
 3949|      0|        return NULL;
 3950|       |
 3951|   104k|    memset(z->long_value.ob_digit, 0, _PyLong_DigitCount(z) * sizeof(digit));
 3952|   104k|    if (a == b) {
  ------------------
  |  Branch (3952:9): [True: 23.8k, False: 80.8k]
  ------------------
 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|  23.8k|        digit *paend = a->long_value.ob_digit + size_a;
 3960|   109k|        for (i = 0; i < size_a; ++i) {
  ------------------
  |  Branch (3960:21): [True: 85.4k, False: 23.8k]
  ------------------
 3961|  85.4k|            twodigits carry;
 3962|  85.4k|            twodigits f = a->long_value.ob_digit[i];
 3963|  85.4k|            digit *pz = z->long_value.ob_digit + (i << 1);
 3964|  85.4k|            digit *pa = a->long_value.ob_digit + i + 1;
 3965|       |
 3966|  85.4k|            SIGCHECK({
  ------------------
  |  |  117|  85.4k|    do {                                        \
  |  |  118|  85.4k|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 85.4k]
  |  |  ------------------
  |  |  119|  85.4k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 85.4k]
  |  |  ------------------
  ------------------
 3967|  85.4k|                    Py_DECREF(z);
 3968|  85.4k|                    return NULL;
 3969|  85.4k|                });
 3970|       |
 3971|  85.4k|            carry = *pz + f * f;
 3972|  85.4k|            *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|  85.4k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  85.4k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  85.4k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3973|  85.4k|            carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  85.4k|#define PyLong_SHIFT    30
  ------------------
 3974|  85.4k|            assert(carry <= PyLong_MASK);
  ------------------
  |  Branch (3974:13): [True: 85.4k, 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|  85.4k|            f <<= 1;
 3980|  1.62M|            while (pa < paend) {
  ------------------
  |  Branch (3980:20): [True: 1.54M, False: 85.4k]
  ------------------
 3981|  1.54M|                carry += *pz + *pa++ * f;
 3982|  1.54M|                *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|  1.54M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  1.54M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.54M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3983|  1.54M|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  1.54M|#define PyLong_SHIFT    30
  ------------------
 3984|  1.54M|                assert(carry <= (PyLong_MASK << 1));
  ------------------
  |  Branch (3984:17): [True: 1.54M, False: 0]
  ------------------
 3985|  1.54M|            }
 3986|  85.4k|            if (carry) {
  ------------------
  |  Branch (3986:17): [True: 55.5k, False: 29.8k]
  ------------------
 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|  55.5k|                assert(*pz <= 1);
  ------------------
  |  Branch (3991:17): [True: 55.5k, False: 0]
  ------------------
 3992|  55.5k|                carry += *pz;
 3993|  55.5k|                *pz = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|  55.5k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  55.5k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  55.5k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3994|  55.5k|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  55.5k|#define PyLong_SHIFT    30
  ------------------
 3995|  55.5k|                if (carry) {
  ------------------
  |  Branch (3995:21): [True: 1.12k, False: 54.4k]
  ------------------
 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|  1.12k|                    assert(carry == 1);
  ------------------
  |  Branch (4003:21): [True: 1.12k, False: 0]
  ------------------
 4004|  1.12k|                    assert(pz[1] == 0);
  ------------------
  |  Branch (4004:21): [True: 1.12k, False: 0]
  ------------------
 4005|  1.12k|                    pz[1] = (digit)carry;
 4006|  1.12k|                }
 4007|  55.5k|            }
 4008|  85.4k|        }
 4009|  23.8k|    }
 4010|  80.8k|    else {      /* a is not the same as b -- gradeschool int mult */
 4011|   429k|        for (i = 0; i < size_a; ++i) {
  ------------------
  |  Branch (4011:21): [True: 348k, False: 80.8k]
  ------------------
 4012|   348k|            twodigits carry = 0;
 4013|   348k|            twodigits f = a->long_value.ob_digit[i];
 4014|   348k|            digit *pz = z->long_value.ob_digit + i;
 4015|   348k|            digit *pb = b->long_value.ob_digit;
 4016|   348k|            digit *pbend = b->long_value.ob_digit + size_b;
 4017|       |
 4018|   348k|            SIGCHECK({
  ------------------
  |  |  117|   348k|    do {                                        \
  |  |  118|   348k|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 348k]
  |  |  ------------------
  |  |  119|   348k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 348k]
  |  |  ------------------
  ------------------
 4019|   348k|                    Py_DECREF(z);
 4020|   348k|                    return NULL;
 4021|   348k|                });
 4022|       |
 4023|  23.5M|            while (pb < pbend) {
  ------------------
  |  Branch (4023:20): [True: 23.1M, False: 348k]
  ------------------
 4024|  23.1M|                carry += *pz + *pb++ * f;
 4025|  23.1M|                *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|  23.1M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  23.1M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  23.1M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4026|  23.1M|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  23.1M|#define PyLong_SHIFT    30
  ------------------
 4027|  23.1M|                assert(carry <= PyLong_MASK);
  ------------------
  |  Branch (4027:17): [True: 23.1M, False: 0]
  ------------------
 4028|  23.1M|            }
 4029|   348k|            if (carry)
  ------------------
  |  Branch (4029:17): [True: 258k, False: 90.0k]
  ------------------
 4030|   258k|                *pz += (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|   258k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   258k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   258k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4031|   348k|            assert((carry >> PyLong_SHIFT) == 0);
  ------------------
  |  Branch (4031:13): [True: 348k, False: 0]
  ------------------
 4032|   348k|        }
 4033|  80.8k|    }
 4034|   104k|    return long_normalize(z);
 4035|   104k|}
longobject.c:k_lopsided_mul:
 4294|     71|{
 4295|     71|    const Py_ssize_t asize = _PyLong_DigitCount(a);
 4296|     71|    Py_ssize_t bsize = _PyLong_DigitCount(b);
 4297|     71|    Py_ssize_t nbdone;          /* # of b digits already multiplied */
 4298|     71|    PyLongObject *ret;
 4299|     71|    PyLongObject *bslice = NULL;
 4300|       |
 4301|     71|    assert(asize > KARATSUBA_CUTOFF);
  ------------------
  |  Branch (4301:5): [True: 71, False: 0]
  ------------------
 4302|     71|    assert(2 * asize <= bsize);
  ------------------
  |  Branch (4302:5): [True: 71, False: 0]
  ------------------
 4303|       |
 4304|       |    /* Allocate result space, and zero it out. */
 4305|     71|    ret = long_alloc(asize + bsize);
 4306|     71|    if (ret == NULL)
  ------------------
  |  Branch (4306:9): [True: 0, False: 71]
  ------------------
 4307|      0|        return NULL;
 4308|     71|    memset(ret->long_value.ob_digit, 0, _PyLong_DigitCount(ret) * sizeof(digit));
 4309|       |
 4310|       |    /* Successive slices of b are copied into bslice. */
 4311|     71|    bslice = long_alloc(asize);
 4312|     71|    if (bslice == NULL)
  ------------------
  |  Branch (4312:9): [True: 0, False: 71]
  ------------------
 4313|      0|        goto fail;
 4314|       |
 4315|     71|    nbdone = 0;
 4316|    283|    while (bsize > 0) {
  ------------------
  |  Branch (4316:12): [True: 212, False: 71]
  ------------------
 4317|    212|        PyLongObject *product;
 4318|    212|        const Py_ssize_t nbtouse = Py_MIN(bsize, asize);
  ------------------
  |  |  127|    212|       __extension__ \
  |  |  128|    212|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|    212|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|    212|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|    212|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|    212|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 70, False: 142]
  |  |  ------------------
  ------------------
 4319|       |
 4320|       |        /* Multiply the next slice of b by a. */
 4321|    212|        memcpy(bslice->long_value.ob_digit, b->long_value.ob_digit + nbdone,
 4322|    212|               nbtouse * sizeof(digit));
 4323|    212|        assert(nbtouse >= 0);
  ------------------
  |  Branch (4323:9): [True: 212, False: 0]
  ------------------
 4324|    212|        _PyLong_SetSignAndDigitCount(bslice, 1, nbtouse);
 4325|    212|        product = k_mul(a, bslice);
 4326|    212|        if (product == NULL)
  ------------------
  |  Branch (4326:13): [True: 0, False: 212]
  ------------------
 4327|      0|            goto fail;
 4328|       |
 4329|       |        /* Add into result. */
 4330|    212|        (void)v_iadd(ret->long_value.ob_digit + nbdone, _PyLong_DigitCount(ret) - nbdone,
 4331|    212|                     product->long_value.ob_digit, _PyLong_DigitCount(product));
 4332|    212|        _Py_DECREF_INT(product);
 4333|       |
 4334|    212|        bsize -= nbtouse;
 4335|    212|        nbdone += nbtouse;
 4336|    212|    }
 4337|       |
 4338|     71|    _Py_DECREF_INT(bslice);
 4339|     71|    return long_normalize(ret);
 4340|       |
 4341|      0|  fail:
 4342|      0|    Py_DECREF(ret);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4343|      0|    Py_XDECREF(bslice);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4344|       |    return NULL;
 4345|     71|}
longobject.c:kmul_split:
 4049|  5.68k|{
 4050|  5.68k|    PyLongObject *hi, *lo;
 4051|  5.68k|    Py_ssize_t size_lo, size_hi;
 4052|  5.68k|    const Py_ssize_t size_n = _PyLong_DigitCount(n);
 4053|       |
 4054|  5.68k|    size_lo = Py_MIN(size_n, size);
  ------------------
  |  |  127|  5.68k|       __extension__ \
  |  |  128|  5.68k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  5.68k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  5.68k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  5.68k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|  5.68k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 5.68k]
  |  |  ------------------
  ------------------
 4055|  5.68k|    size_hi = size_n - size_lo;
 4056|       |
 4057|  5.68k|    if ((hi = long_alloc(size_hi)) == NULL)
  ------------------
  |  Branch (4057:9): [True: 0, False: 5.68k]
  ------------------
 4058|      0|        return -1;
 4059|  5.68k|    if ((lo = long_alloc(size_lo)) == NULL) {
  ------------------
  |  Branch (4059:9): [True: 0, False: 5.68k]
  ------------------
 4060|      0|        Py_DECREF(hi);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4061|      0|        return -1;
 4062|      0|    }
 4063|       |
 4064|  5.68k|    memcpy(lo->long_value.ob_digit, n->long_value.ob_digit, size_lo * sizeof(digit));
 4065|  5.68k|    memcpy(hi->long_value.ob_digit, n->long_value.ob_digit + size_lo, size_hi * sizeof(digit));
 4066|       |
 4067|  5.68k|    *high = long_normalize(hi);
 4068|  5.68k|    *low = long_normalize(lo);
 4069|  5.68k|    return 0;
 4070|  5.68k|}
longobject.c:v_isub:
 1881|  5.71k|{
 1882|  5.71k|    Py_ssize_t i;
 1883|  5.71k|    digit borrow = 0;
 1884|       |
 1885|  5.71k|    assert(m >= n);
  ------------------
  |  Branch (1885:5): [True: 5.71k, False: 0]
  ------------------
 1886|   644k|    for (i = 0; i < n; ++i) {
  ------------------
  |  Branch (1886:17): [True: 638k, False: 5.71k]
  ------------------
 1887|   638k|        borrow = x[i] - y[i] - borrow;
 1888|   638k|        x[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|   638k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   638k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   638k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1889|   638k|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|   638k|#define PyLong_SHIFT    30
  ------------------
 1890|   638k|        borrow &= 1;            /* keep only 1 sign bit */
 1891|   638k|    }
 1892|  8.63k|    for (; borrow && i < m; ++i) {
  ------------------
  |  Branch (1892:12): [True: 2.93k, False: 5.70k]
  |  Branch (1892:22): [True: 2.92k, False: 4]
  ------------------
 1893|  2.92k|        borrow = x[i] - borrow;
 1894|  2.92k|        x[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|  2.92k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  2.92k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  2.92k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1895|  2.92k|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|  2.92k|#define PyLong_SHIFT    30
  ------------------
 1896|  2.92k|        borrow &= 1;
 1897|  2.92k|    }
 1898|  5.71k|    return borrow;
 1899|  5.71k|}
longobject.c:v_iadd:
 1855|  3.06k|{
 1856|  3.06k|    Py_ssize_t i;
 1857|  3.06k|    digit carry = 0;
 1858|       |
 1859|  3.06k|    assert(m >= n);
  ------------------
  |  Branch (1859:5): [True: 3.06k, False: 0]
  ------------------
 1860|   378k|    for (i = 0; i < n; ++i) {
  ------------------
  |  Branch (1860:17): [True: 375k, False: 3.06k]
  ------------------
 1861|   375k|        carry += x[i] + y[i];
 1862|   375k|        x[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|   375k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   375k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   375k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1863|   375k|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|   375k|#define PyLong_SHIFT    30
  ------------------
 1864|   375k|        assert((carry & 1) == carry);
  ------------------
  |  Branch (1864:9): [True: 375k, False: 0]
  ------------------
 1865|   375k|    }
 1866|  3.94k|    for (; carry && i < m; ++i) {
  ------------------
  |  Branch (1866:12): [True: 879, False: 3.06k]
  |  Branch (1866:21): [True: 875, False: 4]
  ------------------
 1867|    875|        carry += x[i];
 1868|    875|        x[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|    875|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    875|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    875|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1869|    875|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|    875|#define PyLong_SHIFT    30
  ------------------
 1870|    875|        assert((carry & 1) == carry);
  ------------------
  |  Branch (1870:9): [True: 875, False: 0]
  ------------------
 1871|    875|    }
 1872|  3.06k|    return carry;
 1873|  3.06k|}
longobject.c:long_mod:
 4879|   255k|{
 4880|   255k|    PyLongObject *mod;
 4881|       |
 4882|   255k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|   255k|    do {                                                \
  |  | 1845|   255k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   255k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   510k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   255k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   255k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 196, False: 255k]
  |  |  |  Branch (1845:33): [True: 1.81k, False: 253k]
  |  |  ------------------
  |  | 1846|   255k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  2.01k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  2.01k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|   255k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 253k]
  |  |  ------------------
  ------------------
 4883|       |
 4884|   253k|    if (l_mod((PyLongObject*)a, (PyLongObject*)b, &mod) < 0)
  ------------------
  |  Branch (4884:9): [True: 443, False: 252k]
  ------------------
 4885|    443|        mod = NULL;
 4886|   253k|    return (PyObject *)mod;
 4887|   255k|}
longobject.c:long_divmod:
 4891|    399|{
 4892|    399|    PyLongObject *div, *mod;
 4893|    399|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|    399|    do {                                                \
  |  | 1845|    399|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    399|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    798|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    399|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    399|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 399]
  |  |  |  Branch (1845:33): [True: 0, False: 399]
  |  |  ------------------
  |  | 1846|    399|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|    399|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 399]
  |  |  ------------------
  ------------------
 4894|       |
 4895|    399|    if (l_divmod((PyLongObject*)a, (PyLongObject*)b, &div, &mod) < 0) {
  ------------------
  |  Branch (4895:9): [True: 0, False: 399]
  ------------------
 4896|      0|        return NULL;
 4897|      0|    }
 4898|    399|    return _PyTuple_FromPairSteal((PyObject *)div, (PyObject *)mod);
 4899|    399|}
longobject.c:l_divmod:
 4490|   108k|{
 4491|   108k|    PyLongObject *div, *mod;
 4492|       |
 4493|   108k|    if (_PyLong_DigitCount(v) == 1 && _PyLong_DigitCount(w) == 1) {
  ------------------
  |  Branch (4493:9): [True: 1.58k, False: 106k]
  |  Branch (4493:39): [True: 0, False: 1.58k]
  ------------------
 4494|       |        /* Fast path for single-digit longs */
 4495|      0|        div = NULL;
 4496|      0|        if (pdiv != NULL) {
  ------------------
  |  Branch (4496:13): [True: 0, False: 0]
  ------------------
 4497|      0|            div = (PyLongObject *)fast_floor_div(v, w);
 4498|      0|            if (div == NULL) {
  ------------------
  |  Branch (4498:17): [True: 0, False: 0]
  ------------------
 4499|      0|                return -1;
 4500|      0|            }
 4501|      0|        }
 4502|      0|        if (pmod != NULL) {
  ------------------
  |  Branch (4502:13): [True: 0, False: 0]
  ------------------
 4503|      0|            mod = (PyLongObject *)fast_mod(v, w);
 4504|      0|            if (mod == NULL) {
  ------------------
  |  Branch (4504:17): [True: 0, False: 0]
  ------------------
 4505|      0|                Py_XDECREF(div);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4506|      0|                return -1;
 4507|      0|            }
 4508|      0|            *pmod = mod;
 4509|      0|        }
 4510|      0|        if (pdiv != NULL) {
  ------------------
  |  Branch (4510:13): [True: 0, False: 0]
  ------------------
 4511|       |            /* We only want to set `*pdiv` when `*pmod` is
 4512|       |               set successfully. */
 4513|      0|            *pdiv = div;
 4514|      0|        }
 4515|      0|        return 0;
 4516|      0|    }
 4517|   108k|#if WITH_PYLONG_MODULE
 4518|   108k|    Py_ssize_t size_v = _PyLong_DigitCount(v); /* digits in numerator */
 4519|   108k|    Py_ssize_t size_w = _PyLong_DigitCount(w); /* digits in denominator */
 4520|   108k|    if (size_w > 300 && (size_v - size_w) > 150) {
  ------------------
  |  Branch (4520:9): [True: 169, False: 107k]
  |  Branch (4520:25): [True: 72, False: 97]
  ------------------
 4521|       |        /* Switch to _pylong.int_divmod().  If the quotient is small then
 4522|       |          "schoolbook" division is linear-time so don't use in that case.
 4523|       |          These limits are empirically determined and should be slightly
 4524|       |          conservative so that _pylong is used in cases it is likely
 4525|       |          to be faster. See Tools/scripts/divmod_threshold.py. */
 4526|     72|        return pylong_int_divmod(v, w, pdiv, pmod);
 4527|     72|    }
 4528|   107k|#endif
 4529|   107k|    if (long_divrem(v, w, &div, &mod) < 0)
  ------------------
  |  Branch (4529:9): [True: 345, False: 107k]
  ------------------
 4530|    345|        return -1;
 4531|   107k|    if ((_PyLong_IsNegative(mod) && _PyLong_IsPositive(w)) ||
  ------------------
  |  Branch (4531:10): [True: 6.36k, False: 101k]
  |  Branch (4531:37): [True: 5.74k, False: 615]
  ------------------
 4532|   101k|        (_PyLong_IsPositive(mod) && _PyLong_IsNegative(w))) {
  ------------------
  |  Branch (4532:10): [True: 6.11k, False: 95.7k]
  |  Branch (4532:37): [True: 2.59k, False: 3.52k]
  ------------------
 4533|  8.33k|        PyLongObject *temp;
 4534|  8.33k|        temp = long_add(mod, w);
 4535|  8.33k|        Py_SETREF(mod, temp);
  ------------------
  |  |  545|  8.33k|    do { \
  |  |  546|  8.33k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  8.33k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|  8.33k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  8.33k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|  8.33k|        *_tmp_dst_ptr = (src); \
  |  |  549|  8.33k|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|  8.33k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|  8.33k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 8.33k]
  |  |  ------------------
  ------------------
 4536|  8.33k|        if (mod == NULL) {
  ------------------
  |  Branch (4536:13): [True: 0, False: 8.33k]
  ------------------
 4537|      0|            Py_DECREF(div);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4538|      0|            return -1;
 4539|      0|        }
 4540|  8.33k|        temp = long_sub(div, (PyLongObject *)_PyLong_GetOne());
 4541|  8.33k|        if (temp == NULL) {
  ------------------
  |  Branch (4541:13): [True: 0, False: 8.33k]
  ------------------
 4542|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4543|      0|            Py_DECREF(div);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4544|      0|            return -1;
 4545|      0|        }
 4546|  8.33k|        Py_SETREF(div, temp);
  ------------------
  |  |  545|  8.33k|    do { \
  |  |  546|  8.33k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  8.33k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|  8.33k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  8.33k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|  8.33k|        *_tmp_dst_ptr = (src); \
  |  |  549|  8.33k|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|  8.33k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|  8.33k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 8.33k]
  |  |  ------------------
  ------------------
 4547|  8.33k|    }
 4548|   107k|    if (pdiv != NULL)
  ------------------
  |  Branch (4548:9): [True: 107k, False: 0]
  ------------------
 4549|   107k|        *pdiv = div;
 4550|      0|    else
 4551|      0|        Py_DECREF(div);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4552|       |
 4553|   107k|    if (pmod != NULL)
  ------------------
  |  Branch (4553:9): [True: 399, False: 107k]
  ------------------
 4554|    399|        *pmod = mod;
 4555|   107k|    else
 4556|   107k|        Py_DECREF(mod);
  ------------------
  |  |  430|   107k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   107k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   107k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4557|       |
 4558|   107k|    return 0;
 4559|   107k|}
longobject.c:fast_floor_div:
 4407|  1.22M|{
 4408|  1.22M|    sdigit left = a->long_value.ob_digit[0];
 4409|  1.22M|    sdigit right = b->long_value.ob_digit[0];
 4410|  1.22M|    sdigit div;
 4411|       |
 4412|  1.22M|    assert(_PyLong_DigitCount(a) == 1);
  ------------------
  |  Branch (4412:5): [True: 1.22M, False: 0]
  ------------------
 4413|  1.22M|    assert(_PyLong_DigitCount(b) == 1);
  ------------------
  |  Branch (4413:5): [True: 1.22M, False: 0]
  ------------------
 4414|       |
 4415|  1.22M|    if (_PyLong_SameSign(a, b)) {
  ------------------
  |  Branch (4415:9): [True: 1.22M, False: 1.20k]
  ------------------
 4416|  1.22M|        div = left / right;
 4417|  1.22M|    }
 4418|  1.20k|    else {
 4419|       |        /* Either 'a' or 'b' is negative. */
 4420|  1.20k|        div = -1 - (left - 1) / right;
 4421|  1.20k|    }
 4422|       |
 4423|  1.22M|    return PyLong_FromLong(div);
 4424|  1.22M|}
longobject.c:long_pow:
 4985|  51.7k|{
 4986|  51.7k|    PyLongObject *a, *b, *c; /* a,b,c = v,w,x */
 4987|  51.7k|    int negativeOutput = 0;  /* if x<0 return negative output */
 4988|       |
 4989|  51.7k|    PyLongObject *z = NULL;  /* accumulated result */
 4990|  51.7k|    Py_ssize_t i, j;             /* counters */
 4991|  51.7k|    PyLongObject *temp = NULL;
 4992|  51.7k|    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|  51.7k|    PyLongObject *table[EXP_TABLE_LEN];
 5003|  51.7k|    Py_ssize_t num_table_entries = 0;
 5004|       |
 5005|       |    /* a, b, c = v, w, x */
 5006|  51.7k|    CHECK_BINOP(v, w);
  ------------------
  |  | 1844|  51.7k|    do {                                                \
  |  | 1845|  51.7k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  51.7k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   103k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  51.2k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  51.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 455, False: 51.2k]
  |  |  |  Branch (1845:33): [True: 5.55k, False: 45.7k]
  |  |  ------------------
  |  | 1846|  51.7k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  6.00k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  6.00k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  51.7k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 45.7k]
  |  |  ------------------
  ------------------
 5007|  45.7k|    a = (PyLongObject*)Py_NewRef(v);
  ------------------
  |  |  647|  45.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  45.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5008|  45.7k|    b = (PyLongObject*)Py_NewRef(w);
  ------------------
  |  |  647|  45.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  45.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5009|  45.7k|    if (PyLong_Check(x)) {
  ------------------
  |  |   13|  45.7k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  45.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1, False: 45.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5010|      1|        c = (PyLongObject *)Py_NewRef(x);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5011|      1|    }
 5012|  45.7k|    else if (x == Py_None)
  ------------------
  |  |  616|  45.7k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5012:14): [True: 45.7k, False: 0]
  ------------------
 5013|  45.7k|        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|  45.7k|    if (_PyLong_IsNegative(b) && c == NULL) {
  ------------------
  |  Branch (5020:9): [True: 2.52k, False: 43.2k]
  |  Branch (5020:34): [True: 2.52k, 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|  2.52k|        Py_DECREF(a);
  ------------------
  |  |  430|  2.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5026|  2.52k|        Py_DECREF(b);
  ------------------
  |  |  430|  2.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5027|  2.52k|        return PyFloat_Type.tp_as_number->nb_power(v, w, x);
 5028|  2.52k|    }
 5029|       |
 5030|  43.2k|    if (c) {
  ------------------
  |  Branch (5030:9): [True: 1, False: 43.2k]
  ------------------
 5031|       |        /* if modulus == 0:
 5032|       |               raise ValueError() */
 5033|      1|        if (_PyLong_IsZero(c)) {
  ------------------
  |  Branch (5033:13): [True: 0, False: 1]
  ------------------
 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|      1|        if (_PyLong_IsNegative(c)) {
  ------------------
  |  Branch (5042:13): [True: 0, False: 1]
  ------------------
 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|      1|        if (_PyLong_IsNonNegativeCompact(c) && (c->long_value.ob_digit[0] == 1)) {
  ------------------
  |  Branch (5056:13): [True: 0, False: 1]
  |  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|      1|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (5063:13): [True: 0, False: 1]
  ------------------
 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|      1|        if (_PyLong_IsNegative(a) || _PyLong_DigitCount(a) > _PyLong_DigitCount(c)) {
  ------------------
  |  Branch (5089:13): [True: 0, False: 1]
  |  Branch (5089:38): [True: 0, False: 1]
  ------------------
 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|      1|    }
 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|  43.2k|    z = (PyLongObject *)PyLong_FromLong(1L);
 5101|  43.2k|    if (z == NULL)
  ------------------
  |  Branch (5101:9): [True: 0, False: 43.2k]
  ------------------
 5102|      0|        goto Error;
 5103|       |
 5104|       |    /* Perform a modular reduction, X = X % c, but leave X alone if c
 5105|       |     * is NULL.
 5106|       |     */
 5107|  43.2k|#define REDUCE(X)                                       \
 5108|  43.2k|    do {                                                \
 5109|  43.2k|        if (c != NULL) {                                \
 5110|  43.2k|            if (l_mod(X, c, &temp) < 0)                 \
 5111|  43.2k|                goto Error;                             \
 5112|  43.2k|            Py_XDECREF(X);                              \
 5113|  43.2k|            X = temp;                                   \
 5114|  43.2k|            temp = NULL;                                \
 5115|  43.2k|        }                                               \
 5116|  43.2k|    } while(0)
 5117|       |
 5118|       |    /* Multiply two values, then reduce the result:
 5119|       |       result = X*Y % c.  If c is NULL, skip the mod. */
 5120|  43.2k|#define MULT(X, Y, result)                      \
 5121|  43.2k|    do {                                        \
 5122|  43.2k|        temp = (PyLongObject *)long_mul(X, Y);  \
 5123|  43.2k|        if (temp == NULL)                       \
 5124|  43.2k|            goto Error;                         \
 5125|  43.2k|        Py_XDECREF(result);                     \
 5126|  43.2k|        result = temp;                          \
 5127|  43.2k|        temp = NULL;                            \
 5128|  43.2k|        REDUCE(result);                         \
 5129|  43.2k|    } while(0)
 5130|       |
 5131|  43.2k|    i = _PyLong_SignedDigitCount(b);
 5132|  43.2k|    digit bi = i ? b->long_value.ob_digit[i-1] : 0;
  ------------------
  |  Branch (5132:16): [True: 40.6k, False: 2.56k]
  ------------------
 5133|  43.2k|    digit bit;
 5134|  43.2k|    if (i <= 1 && bi <= 3) {
  ------------------
  |  Branch (5134:9): [True: 39.6k, False: 3.53k]
  |  Branch (5134:19): [True: 6.84k, False: 32.8k]
  ------------------
 5135|       |        /* aim for minimal overhead */
 5136|  6.84k|        if (bi >= 2) {
  ------------------
  |  Branch (5136:13): [True: 2.93k, False: 3.90k]
  ------------------
 5137|  2.93k|            MULT(a, a, z);
  ------------------
  |  | 5121|  2.93k|    do {                                        \
  |  | 5122|  2.93k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|  2.93k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 2.93k]
  |  |  ------------------
  |  | 5124|  2.93k|            goto Error;                         \
  |  | 5125|  2.93k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|  2.93k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|  2.93k|        result = temp;                          \
  |  | 5127|  2.93k|        temp = NULL;                            \
  |  | 5128|  2.93k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|  2.93k|    do {                                                \
  |  |  |  | 5109|  2.93k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 2.93k]
  |  |  |  |  ------------------
  |  |  |  | 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|  2.93k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 2.93k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|  2.93k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 2.93k]
  |  |  ------------------
  ------------------
 5138|  2.93k|            if (bi == 3) {
  ------------------
  |  Branch (5138:17): [True: 714, False: 2.21k]
  ------------------
 5139|    714|                MULT(z, a, z);
  ------------------
  |  | 5121|    714|    do {                                        \
  |  | 5122|    714|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|    714|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 714]
  |  |  ------------------
  |  | 5124|    714|            goto Error;                         \
  |  | 5125|    714|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|    714|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    714|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    714|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|    714|        result = temp;                          \
  |  | 5127|    714|        temp = NULL;                            \
  |  | 5128|    714|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|    714|    do {                                                \
  |  |  |  | 5109|    714|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 714]
  |  |  |  |  ------------------
  |  |  |  | 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|    714|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 714]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|    714|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 714]
  |  |  ------------------
  ------------------
 5140|    714|            }
 5141|  2.93k|        }
 5142|  3.90k|        else if (bi == 1) {
  ------------------
  |  Branch (5142:18): [True: 1.34k, False: 2.56k]
  ------------------
 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|  1.34k|            MULT(a, z, z);
  ------------------
  |  | 5121|  1.34k|    do {                                        \
  |  | 5122|  1.34k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|  1.34k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 1.34k]
  |  |  ------------------
  |  | 5124|  1.34k|            goto Error;                         \
  |  | 5125|  1.34k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|  1.34k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|  1.34k|        result = temp;                          \
  |  | 5127|  1.34k|        temp = NULL;                            \
  |  | 5128|  1.34k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|  1.34k|    do {                                                \
  |  |  |  | 5109|  1.34k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 1.34k]
  |  |  |  |  ------------------
  |  |  |  | 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.34k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 1.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|  1.34k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 1.34k]
  |  |  ------------------
  ------------------
 5148|  1.34k|        }
 5149|       |        /* else bi is 0, and z==1 is correct */
 5150|  6.84k|    }
 5151|  36.3k|    else if (i <= HUGE_EXP_CUTOFF / PyLong_SHIFT ) {
  ------------------
  |  |  114|  36.3k|#define HUGE_EXP_CUTOFF 60
  ------------------
                  else if (i <= HUGE_EXP_CUTOFF / PyLong_SHIFT ) {
  ------------------
  |  |   47|  36.3k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5151:14): [True: 33.8k, False: 2.51k]
  ------------------
 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|  33.8k|        assert(bi);  /* else there is no significant bit */
  ------------------
  |  Branch (5158:9): [True: 33.8k, False: 0]
  ------------------
 5159|  33.8k|        Py_SETREF(z, (PyLongObject*)Py_NewRef(a));
  ------------------
  |  |  545|  33.8k|    do { \
  |  |  546|  33.8k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  33.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|  33.8k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  33.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|  33.8k|        *_tmp_dst_ptr = (src); \
  |  |  549|  33.8k|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|  33.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  33.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  33.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|  33.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 33.8k]
  |  |  ------------------
  ------------------
 5160|   180k|        for (bit = 2; ; bit <<= 1) {
 5161|   180k|            if (bit > bi) { /* found the first bit */
  ------------------
  |  Branch (5161:17): [True: 33.8k, False: 146k]
  ------------------
 5162|  33.8k|                assert((bi & bit) == 0);
  ------------------
  |  Branch (5162:17): [True: 33.8k, False: 0]
  ------------------
 5163|  33.8k|                bit >>= 1;
 5164|  33.8k|                assert(bi & bit);
  ------------------
  |  Branch (5164:17): [True: 33.8k, False: 0]
  ------------------
 5165|  33.8k|                break;
 5166|  33.8k|            }
 5167|   180k|        }
 5168|  34.8k|        for (--i, bit >>= 1;;) {
 5169|   211k|            for (; bit != 0; bit >>= 1) {
  ------------------
  |  Branch (5169:20): [True: 176k, False: 34.8k]
  ------------------
 5170|   176k|                MULT(z, z, z);
  ------------------
  |  | 5121|   176k|    do {                                        \
  |  | 5122|   176k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|   176k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 176k]
  |  |  ------------------
  |  | 5124|   176k|            goto Error;                         \
  |  | 5125|   176k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|   176k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   176k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   176k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|   176k|        result = temp;                          \
  |  | 5127|   176k|        temp = NULL;                            \
  |  | 5128|   176k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|   176k|    do {                                                \
  |  |  |  | 5109|   176k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 176k]
  |  |  |  |  ------------------
  |  |  |  | 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|   176k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 176k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|   176k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 176k]
  |  |  ------------------
  ------------------
 5171|   176k|                if (bi & bit) {
  ------------------
  |  Branch (5171:21): [True: 75.5k, False: 101k]
  ------------------
 5172|  75.5k|                    MULT(z, a, z);
  ------------------
  |  | 5121|  75.5k|    do {                                        \
  |  | 5122|  75.5k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|  75.5k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 75.5k]
  |  |  ------------------
  |  | 5124|  75.5k|            goto Error;                         \
  |  | 5125|  75.5k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|  75.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  75.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  75.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|  75.5k|        result = temp;                          \
  |  | 5127|  75.5k|        temp = NULL;                            \
  |  | 5128|  75.5k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|  75.5k|    do {                                                \
  |  |  |  | 5109|  75.5k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 0, False: 75.5k]
  |  |  |  |  ------------------
  |  |  |  | 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|  75.5k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 75.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|  75.5k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 75.5k]
  |  |  ------------------
  ------------------
 5173|  75.5k|                }
 5174|   176k|            }
 5175|  34.8k|            if (--i < 0) {
  ------------------
  |  Branch (5175:17): [True: 33.8k, False: 1.02k]
  ------------------
 5176|  33.8k|                break;
 5177|  33.8k|            }
 5178|  1.02k|            bi = b->long_value.ob_digit[i];
 5179|  1.02k|            bit = (digit)1 << (PyLong_SHIFT-1);
  ------------------
  |  |   47|  1.02k|#define PyLong_SHIFT    30
  ------------------
 5180|  1.02k|        }
 5181|  33.8k|    }
 5182|  2.51k|    else {
 5183|       |        /* Left-to-right k-ary sliding window exponentiation
 5184|       |         * (Handbook of Applied Cryptography (HAC) Algorithm 14.85)
 5185|       |         */
 5186|  2.51k|        table[0] = (PyLongObject*)Py_NewRef(a);
  ------------------
  |  |  647|  2.51k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5187|  2.51k|        num_table_entries = 1;
 5188|  2.51k|        MULT(a, a, a2);
  ------------------
  |  | 5121|  2.51k|    do {                                        \
  |  | 5122|  2.51k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|  2.51k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 2.51k]
  |  |  ------------------
  |  | 5124|  2.51k|            goto Error;                         \
  |  | 5125|  2.51k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|  2.51k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|  2.51k|        result = temp;                          \
  |  | 5127|  2.51k|        temp = NULL;                            \
  |  | 5128|  2.51k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|  2.51k|    do {                                                \
  |  |  |  | 5109|  2.51k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 1, False: 2.51k]
  |  |  |  |  ------------------
  |  |  |  | 5110|      1|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  | 5111|      1|                goto Error;                             \
  |  |  |  | 5112|      1|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|      1|            X = temp;                                   \
  |  |  |  | 5114|      1|            temp = NULL;                                \
  |  |  |  | 5115|      1|        }                                               \
  |  |  |  | 5116|  2.51k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 2.51k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|  2.51k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 2.51k]
  |  |  ------------------
  ------------------
 5189|       |        /* table[i] == a**(2*i + 1) % c */
 5190|  40.2k|        for (i = 1; i < EXP_TABLE_LEN; ++i) {
  ------------------
  |  |   94|  40.2k|#define EXP_TABLE_LEN (1 << (EXP_WINDOW_SIZE - 1))
  |  |  ------------------
  |  |  |  |   93|  40.2k|#define EXP_WINDOW_SIZE 5
  |  |  ------------------
  ------------------
  |  Branch (5190:21): [True: 37.7k, False: 2.51k]
  ------------------
 5191|  37.7k|            table[i] = NULL; /* must set to known value for MULT */
 5192|  37.7k|            MULT(table[i-1], a2, table[i]);
  ------------------
  |  | 5121|  37.7k|    do {                                        \
  |  | 5122|  37.7k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|  37.7k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 37.7k]
  |  |  ------------------
  |  | 5124|  37.7k|            goto Error;                         \
  |  | 5125|  37.7k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|  37.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  37.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  37.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|  37.7k|        result = temp;                          \
  |  | 5127|  37.7k|        temp = NULL;                            \
  |  | 5128|  37.7k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|  37.7k|    do {                                                \
  |  |  |  | 5109|  37.7k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 15, False: 37.7k]
  |  |  |  |  ------------------
  |  |  |  | 5110|     15|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 15]
  |  |  |  |  ------------------
  |  |  |  | 5111|     15|                goto Error;                             \
  |  |  |  | 5112|     15|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|     15|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|     15|            X = temp;                                   \
  |  |  |  | 5114|     15|            temp = NULL;                                \
  |  |  |  | 5115|     15|        }                                               \
  |  |  |  | 5116|  37.7k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 37.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|  37.7k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 37.7k]
  |  |  ------------------
  ------------------
 5193|  37.7k|            ++num_table_entries; /* incremented iff MULT succeeded */
 5194|  37.7k|        }
 5195|  2.51k|        Py_CLEAR(a2);
  ------------------
  |  |  487|  2.51k|    do { \
  |  |  488|  2.51k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.51k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.51k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.51k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.51k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.51k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2.51k, False: 0]
  |  |  ------------------
  |  |  491|  2.51k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.51k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  2.51k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  2.51k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  2.51k|        } \
  |  |  494|  2.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.51k]
  |  |  ------------------
  ------------------
 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|  2.51k|        int pending = 0, blen = 0;
 5202|  2.51k|#define ABSORB_PENDING  do { \
 5203|  2.51k|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
 5204|  2.51k|            assert(pending && blen); \
 5205|  2.51k|            assert(pending >> (blen - 1)); \
 5206|  2.51k|            assert(pending >> blen == 0); \
 5207|  2.51k|            while ((pending & 1) == 0) { \
 5208|  2.51k|                ++ntz; \
 5209|  2.51k|                pending >>= 1; \
 5210|  2.51k|            } \
 5211|  2.51k|            assert(ntz < blen); \
 5212|  2.51k|            blen -= ntz; \
 5213|  2.51k|            do { \
 5214|  2.51k|                MULT(z, z, z); \
 5215|  2.51k|            } while (--blen); \
 5216|  2.51k|            MULT(z, table[pending >> 1], z); \
 5217|  2.51k|            while (ntz-- > 0) \
 5218|  2.51k|                MULT(z, z, z); \
 5219|  2.51k|            assert(blen == 0); \
 5220|  2.51k|            pending = 0; \
 5221|  2.51k|        } while(0)
 5222|       |
 5223|  11.2k|        for (i = _PyLong_SignedDigitCount(b) - 1; i >= 0; --i) {
  ------------------
  |  Branch (5223:51): [True: 8.76k, False: 2.51k]
  ------------------
 5224|  8.76k|            const digit bi = b->long_value.ob_digit[i];
 5225|   271k|            for (j = PyLong_SHIFT - 1; j >= 0; --j) {
  ------------------
  |  |   47|  8.76k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5225:40): [True: 262k, False: 8.76k]
  ------------------
 5226|   262k|                const int bit = (bi >> j) & 1;
 5227|   262k|                pending = (pending << 1) | bit;
 5228|   262k|                if (pending) {
  ------------------
  |  Branch (5228:21): [True: 161k, False: 101k]
  ------------------
 5229|   161k|                    ++blen;
 5230|   161k|                    if (blen == EXP_WINDOW_SIZE)
  ------------------
  |  |   93|   161k|#define EXP_WINDOW_SIZE 5
  ------------------
  |  Branch (5230:25): [True: 31.5k, False: 130k]
  ------------------
 5231|  31.5k|                        ABSORB_PENDING;
  ------------------
  |  | 5202|  31.5k|#define ABSORB_PENDING  do { \
  |  | 5203|  31.5k|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
  |  | 5204|  31.5k|            assert(pending && blen); \
  |  | 5205|  31.5k|            assert(pending >> (blen - 1)); \
  |  | 5206|  31.5k|            assert(pending >> blen == 0); \
  |  | 5207|  68.7k|            while ((pending & 1) == 0) { \
  |  |  ------------------
  |  |  |  Branch (5207:20): [True: 37.1k, False: 31.5k]
  |  |  ------------------
  |  | 5208|  37.1k|                ++ntz; \
  |  | 5209|  37.1k|                pending >>= 1; \
  |  | 5210|  37.1k|            } \
  |  | 5211|  31.5k|            assert(ntz < blen); \
  |  | 5212|  31.5k|            blen -= ntz; \
  |  | 5213|   120k|            do { \
  |  | 5214|   120k|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5121|   120k|    do {                                        \
  |  |  |  | 5122|   120k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|   120k|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 120k]
  |  |  |  |  ------------------
  |  |  |  | 5124|   120k|            goto Error;                         \
  |  |  |  | 5125|   120k|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|   120k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   120k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   120k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|   120k|        result = temp;                          \
  |  |  |  | 5127|   120k|        temp = NULL;                            \
  |  |  |  | 5128|   120k|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|   120k|    do {                                                \
  |  |  |  |  |  | 5109|   120k|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 59, False: 120k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|     59|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 59]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|     59|                goto Error;                             \
  |  |  |  |  |  | 5112|     59|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  621|     59|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|     59|            X = temp;                                   \
  |  |  |  |  |  | 5114|     59|            temp = NULL;                                \
  |  |  |  |  |  | 5115|     59|        }                                               \
  |  |  |  |  |  | 5116|   120k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 120k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|   120k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 120k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5215|   120k|            } while (--blen); \
  |  |  ------------------
  |  |  |  Branch (5215:22): [True: 89.1k, False: 31.5k]
  |  |  ------------------
  |  | 5216|  31.5k|            MULT(z, table[pending >> 1], z); \
  |  |  ------------------
  |  |  |  | 5121|  31.5k|    do {                                        \
  |  |  |  | 5122|  31.5k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|  31.5k|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 31.5k]
  |  |  |  |  ------------------
  |  |  |  | 5124|  31.5k|            goto Error;                         \
  |  |  |  | 5125|  31.5k|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|  31.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  31.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  31.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|  31.5k|        result = temp;                          \
  |  |  |  | 5127|  31.5k|        temp = NULL;                            \
  |  |  |  | 5128|  31.5k|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|  31.5k|    do {                                                \
  |  |  |  |  |  | 5109|  31.5k|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 12, False: 31.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|     12|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 12]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|     12|                goto Error;                             \
  |  |  |  |  |  | 5112|     12|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|     12|            X = temp;                                   \
  |  |  |  |  |  | 5114|     12|            temp = NULL;                                \
  |  |  |  |  |  | 5115|     12|        }                                               \
  |  |  |  |  |  | 5116|  31.5k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 31.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|  31.5k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 31.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5217|  68.7k|            while (ntz-- > 0) \
  |  |  ------------------
  |  |  |  Branch (5217:20): [True: 37.1k, False: 31.5k]
  |  |  ------------------
  |  | 5218|  37.1k|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5121|  68.7k|    do {                                        \
  |  |  |  | 5122|  37.1k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|  37.1k|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 37.1k]
  |  |  |  |  ------------------
  |  |  |  | 5124|  37.1k|            goto Error;                         \
  |  |  |  | 5125|  37.1k|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|  37.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  37.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  37.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|  37.1k|        result = temp;                          \
  |  |  |  | 5127|  37.1k|        temp = NULL;                            \
  |  |  |  | 5128|  37.1k|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|  37.1k|    do {                                                \
  |  |  |  |  |  | 5109|  37.1k|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 1, False: 37.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|      1|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|      1|                goto Error;                             \
  |  |  |  |  |  | 5112|      1|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|      1|            X = temp;                                   \
  |  |  |  |  |  | 5114|      1|            temp = NULL;                                \
  |  |  |  |  |  | 5115|      1|        }                                               \
  |  |  |  |  |  | 5116|  37.1k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 37.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|  37.1k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 37.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5219|  31.5k|            assert(blen == 0); \
  |  | 5220|  31.5k|            pending = 0; \
  |  | 5221|  31.5k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (5221:17): [Folded, False: 31.5k]
  |  |  ------------------
  ------------------
  |  Branch (5231:25): [True: 31.5k, False: 0]
  |  Branch (5231:25): [True: 31.5k, False: 0]
  |  Branch (5231:25): [True: 31.5k, False: 0]
  |  Branch (5231:25): [True: 31.5k, False: 0]
  |  Branch (5231:25): [True: 31.5k, False: 0]
  |  Branch (5231:25): [True: 31.5k, False: 0]
  ------------------
 5232|   161k|                }
 5233|   101k|                else /* absorb strings of 0 bits */
 5234|   101k|                    MULT(z, z, z);
  ------------------
  |  | 5121|   101k|    do {                                        \
  |  | 5122|   101k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5123|   101k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5123:13): [True: 0, False: 101k]
  |  |  ------------------
  |  | 5124|   101k|            goto Error;                         \
  |  | 5125|   101k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  621|   101k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   101k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   101k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5126|   101k|        result = temp;                          \
  |  | 5127|   101k|        temp = NULL;                            \
  |  | 5128|   101k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5108|   101k|    do {                                                \
  |  |  |  | 5109|   101k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5109:13): [True: 29, False: 101k]
  |  |  |  |  ------------------
  |  |  |  | 5110|     29|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5110:17): [True: 0, False: 29]
  |  |  |  |  ------------------
  |  |  |  | 5111|     29|                goto Error;                             \
  |  |  |  | 5112|     29|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5113|     29|            X = temp;                                   \
  |  |  |  | 5114|     29|            temp = NULL;                                \
  |  |  |  | 5115|     29|        }                                               \
  |  |  |  | 5116|   101k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5116:13): [Folded, False: 101k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5129|   101k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5129:13): [Folded, False: 101k]
  |  |  ------------------
  ------------------
 5235|   262k|            }
 5236|  8.76k|        }
 5237|  2.51k|        if (pending)
  ------------------
  |  Branch (5237:13): [True: 1.27k, False: 1.24k]
  ------------------
 5238|  1.27k|            ABSORB_PENDING;
  ------------------
  |  | 5202|  1.27k|#define ABSORB_PENDING  do { \
  |  | 5203|  1.27k|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
  |  | 5204|  1.27k|            assert(pending && blen); \
  |  | 5205|  1.27k|            assert(pending >> (blen - 1)); \
  |  | 5206|  1.27k|            assert(pending >> blen == 0); \
  |  | 5207|  2.28k|            while ((pending & 1) == 0) { \
  |  |  ------------------
  |  |  |  Branch (5207:20): [True: 1.01k, False: 1.27k]
  |  |  ------------------
  |  | 5208|  1.01k|                ++ntz; \
  |  | 5209|  1.01k|                pending >>= 1; \
  |  | 5210|  1.01k|            } \
  |  | 5211|  1.27k|            assert(ntz < blen); \
  |  | 5212|  1.27k|            blen -= ntz; \
  |  | 5213|  2.69k|            do { \
  |  | 5214|  2.69k|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5121|  2.69k|    do {                                        \
  |  |  |  | 5122|  2.69k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|  2.69k|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 2.69k]
  |  |  |  |  ------------------
  |  |  |  | 5124|  2.69k|            goto Error;                         \
  |  |  |  | 5125|  2.69k|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|  2.69k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|  2.69k|        result = temp;                          \
  |  |  |  | 5127|  2.69k|        temp = NULL;                            \
  |  |  |  | 5128|  2.69k|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|  2.69k|    do {                                                \
  |  |  |  |  |  | 5109|  2.69k|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 1, False: 2.69k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|      1|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|      1|                goto Error;                             \
  |  |  |  |  |  | 5112|      1|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|      1|            X = temp;                                   \
  |  |  |  |  |  | 5114|      1|            temp = NULL;                                \
  |  |  |  |  |  | 5115|      1|        }                                               \
  |  |  |  |  |  | 5116|  2.69k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 2.69k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|  2.69k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 2.69k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5215|  2.69k|            } while (--blen); \
  |  |  ------------------
  |  |  |  Branch (5215:22): [True: 1.42k, False: 1.27k]
  |  |  ------------------
  |  | 5216|  1.27k|            MULT(z, table[pending >> 1], z); \
  |  |  ------------------
  |  |  |  | 5121|  1.27k|    do {                                        \
  |  |  |  | 5122|  1.27k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|  1.27k|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 1.27k]
  |  |  |  |  ------------------
  |  |  |  | 5124|  1.27k|            goto Error;                         \
  |  |  |  | 5125|  1.27k|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|  1.27k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|  1.27k|        result = temp;                          \
  |  |  |  | 5127|  1.27k|        temp = NULL;                            \
  |  |  |  | 5128|  1.27k|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|  1.27k|    do {                                                \
  |  |  |  |  |  | 5109|  1.27k|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 1, False: 1.26k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5110|      1|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5110:17): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5111|      1|                goto Error;                             \
  |  |  |  |  |  | 5112|      1|            Py_XDECREF(X);                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5113|      1|            X = temp;                                   \
  |  |  |  |  |  | 5114|      1|            temp = NULL;                                \
  |  |  |  |  |  | 5115|      1|        }                                               \
  |  |  |  |  |  | 5116|  1.27k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 1.27k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|  1.27k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 1.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5217|  2.28k|            while (ntz-- > 0) \
  |  |  ------------------
  |  |  |  Branch (5217:20): [True: 1.01k, False: 1.27k]
  |  |  ------------------
  |  | 5218|  1.27k|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5121|  2.28k|    do {                                        \
  |  |  |  | 5122|  1.01k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5123|  1.01k|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5123:13): [True: 0, False: 1.01k]
  |  |  |  |  ------------------
  |  |  |  | 5124|  1.01k|            goto Error;                         \
  |  |  |  | 5125|  1.01k|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|  1.01k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5126|  1.01k|        result = temp;                          \
  |  |  |  | 5127|  1.01k|        temp = NULL;                            \
  |  |  |  | 5128|  1.01k|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5108|  1.01k|    do {                                                \
  |  |  |  |  |  | 5109|  1.01k|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5109:13): [True: 0, False: 1.01k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 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.01k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5116:13): [Folded, False: 1.01k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5129|  1.01k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5129:13): [Folded, False: 1.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5219|  1.27k|            assert(blen == 0); \
  |  | 5220|  1.27k|            pending = 0; \
  |  | 5221|  1.27k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (5221:17): [Folded, False: 1.27k]
  |  |  ------------------
  ------------------
  |  Branch (5238:13): [True: 1.27k, False: 0]
  |  Branch (5238:13): [True: 1.27k, False: 0]
  |  Branch (5238:13): [True: 1.27k, False: 0]
  |  Branch (5238:13): [True: 1.27k, False: 0]
  |  Branch (5238:13): [True: 1.27k, False: 0]
  |  Branch (5238:13): [True: 1.27k, False: 0]
  ------------------
 5239|  2.51k|    }
 5240|       |
 5241|  43.2k|    if (negativeOutput && !_PyLong_IsZero(z)) {
  ------------------
  |  Branch (5241:9): [True: 0, False: 43.2k]
  |  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|  43.2k|    goto Done;
 5249|       |
 5250|  43.2k|  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|  43.2k|  Done:
 5254|  83.4k|    for (i = 0; i < num_table_entries; ++i)
  ------------------
  |  Branch (5254:17): [True: 40.2k, False: 43.2k]
  ------------------
 5255|  40.2k|        Py_DECREF(table[i]);
  ------------------
  |  |  430|  83.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5256|  43.2k|    Py_DECREF(a);
  ------------------
  |  |  430|  43.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5257|  43.2k|    Py_DECREF(b);
  ------------------
  |  |  430|  43.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5258|  43.2k|    Py_XDECREF(c);
  ------------------
  |  |  621|  43.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5259|  43.2k|    Py_XDECREF(a2);
  ------------------
  |  |  621|  43.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5260|  43.2k|    Py_XDECREF(temp);
  ------------------
  |  |  621|  43.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5261|  43.2k|    return (PyObject *)z;
 5262|      0|}
longobject.c:long_neg_method:
 5298|   104k|{
 5299|   104k|    return (PyObject*)long_neg(_PyLong_CAST(v));
  ------------------
  |  |    6|   104k|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   104k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5299:32): [True: 104k, False: 0]
  ------------------
 5300|   104k|}
longobject.c:long_abs_method:
 5313|      3|{
 5314|      3|    return (PyObject*)long_abs(_PyLong_CAST(v));
  ------------------
  |  |    6|      3|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5314:32): [True: 3, False: 0]
  ------------------
 5315|      3|}
longobject.c:long_bool:
 5319|  4.77k|{
 5320|  4.77k|    return !_PyLong_IsZero(_PyLong_CAST(v));
  ------------------
  |  |    6|  4.77k|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5320:28): [True: 4.77k, False: 0]
  ------------------
 5321|  4.77k|}
longobject.c:long_invert:
 5266|  8.68k|{
 5267|  8.68k|    PyLongObject *v = _PyLong_CAST(self);
  ------------------
  |  |    6|  8.68k|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5267:23): [True: 8.68k, False: 0]
  ------------------
 5268|       |
 5269|       |    /* Implement ~x as -(x+1) */
 5270|  8.68k|    if (_PyLong_IsCompact(v))
  ------------------
  |  Branch (5270:9): [True: 5.31k, False: 3.36k]
  ------------------
 5271|  5.31k|        return (PyObject*)_PyLong_FromSTwoDigits(~medium_value(v));
  ------------------
  |  |   27|  5.31k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5272|       |
 5273|  3.36k|    PyLongObject *x = long_add(v, (PyLongObject *)_PyLong_GetOne());
 5274|  3.36k|    if (x == NULL)
  ------------------
  |  Branch (5274:9): [True: 0, False: 3.36k]
  ------------------
 5275|      0|        return NULL;
 5276|  3.36k|    _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|  3.36k|    return (PyObject *)x;
 5280|  3.36k|}
longobject.c:long_lshift_method:
 5513|  4.61k|{
 5514|  4.61k|    CHECK_BINOP(aa, bb);
  ------------------
  |  | 1844|  4.61k|    do {                                                \
  |  | 1845|  4.61k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  4.61k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  9.23k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  4.41k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  4.41k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 201, False: 4.41k]
  |  |  |  Branch (1845:33): [True: 101, False: 4.31k]
  |  |  ------------------
  |  | 1846|  4.61k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|    302|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|    302|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  4.61k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 4.31k]
  |  |  ------------------
  ------------------
 5515|  4.31k|    PyLongObject *a = (PyLongObject*)aa;
 5516|  4.31k|    PyLongObject *b = (PyLongObject*)bb;
 5517|       |
 5518|  4.31k|    if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (5518:9): [True: 65, False: 4.24k]
  ------------------
 5519|     65|        PyErr_SetString(PyExc_ValueError, "negative shift count");
 5520|     65|        return NULL;
 5521|     65|    }
 5522|  4.24k|    if (_PyLong_IsZero(a)) {
  ------------------
  |  Branch (5522:9): [True: 932, False: 3.31k]
  ------------------
 5523|    932|        return PyLong_FromLong(0);
 5524|    932|    }
 5525|       |
 5526|  3.31k|    int64_t shiftby;
 5527|  3.31k|    if (PyLong_AsInt64(bb, &shiftby) < 0) {
  ------------------
  |  Branch (5527:9): [True: 0, False: 3.31k]
  ------------------
 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.31k|    return long_lshift_int64(a, shiftby);
 5535|  3.31k|}
longobject.c:long_rshift:
 5415|  15.0k|{
 5416|  15.0k|    int64_t shiftby;
 5417|       |
 5418|  15.0k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  15.0k|    do {                                                \
  |  | 1845|  15.0k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  15.0k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  30.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  14.7k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  14.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 294, False: 14.7k]
  |  |  |  Branch (1845:33): [True: 699, False: 14.0k]
  |  |  ------------------
  |  | 1846|  15.0k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|    993|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|    993|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  15.0k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 14.0k]
  |  |  ------------------
  ------------------
 5419|       |
 5420|  14.0k|    if (_PyLong_IsNegative((PyLongObject *)b)) {
  ------------------
  |  Branch (5420:9): [True: 488, False: 13.5k]
  ------------------
 5421|    488|        PyErr_SetString(PyExc_ValueError, "negative shift count");
 5422|    488|        return NULL;
 5423|    488|    }
 5424|  13.5k|    if (_PyLong_IsZero((PyLongObject *)a)) {
  ------------------
  |  Branch (5424:9): [True: 543, False: 13.0k]
  ------------------
 5425|    543|        return PyLong_FromLong(0);
 5426|    543|    }
 5427|  13.0k|    if (PyLong_AsInt64(b, &shiftby) < 0) {
  ------------------
  |  Branch (5427:9): [True: 2.25k, False: 10.7k]
  ------------------
 5428|  2.25k|        if (!PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (5428:13): [True: 0, False: 2.25k]
  ------------------
 5429|      0|            return NULL;
 5430|      0|        }
 5431|  2.25k|        PyErr_Clear();
 5432|  2.25k|        if (_PyLong_IsNegative((PyLongObject *)a)) {
  ------------------
  |  Branch (5432:13): [True: 1.19k, False: 1.06k]
  ------------------
 5433|  1.19k|            return PyLong_FromLong(-1);
 5434|  1.19k|        }
 5435|  1.06k|        else {
 5436|  1.06k|            return PyLong_FromLong(0);
 5437|  1.06k|        }
 5438|  2.25k|    }
 5439|  10.7k|    return _PyLong_Rshift(a, shiftby);
 5440|  13.0k|}
longobject.c:long_and:
 5720|  7.07k|{
 5721|  7.07k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  7.07k|    do {                                                \
  |  | 1845|  7.07k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  7.07k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  14.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  6.62k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  6.62k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 445, False: 6.62k]
  |  |  |  Branch (1845:33): [True: 542, False: 6.08k]
  |  |  ------------------
  |  | 1846|  7.07k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|    987|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|    987|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  7.07k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 6.08k]
  |  |  ------------------
  ------------------
 5722|  6.08k|    PyLongObject *x = (PyLongObject*)a;
 5723|  6.08k|    PyLongObject *y = (PyLongObject*)b;
 5724|  6.08k|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5724:9): [True: 3.37k, False: 2.71k]
  |  Branch (5724:33): [True: 2.67k, False: 702]
  ------------------
 5725|  2.67k|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) & medium_value(y));
  ------------------
  |  |   27|  2.67k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) & medium_value(y));
  ------------------
  |  |   27|  2.67k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5726|  2.67k|    }
 5727|  3.41k|    return long_bitwise(x, '&', y);
 5728|  6.08k|}
longobject.c:long_bitwise:
 5596|  9.58k|{
 5597|  9.58k|    int nega, negb, negz;
 5598|  9.58k|    Py_ssize_t size_a, size_b, size_z, i;
 5599|  9.58k|    PyLongObject *z;
 5600|       |
 5601|  9.58k|    PyLongObject *new_a = NULL;
 5602|  9.58k|    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|  9.58k|    size_a = _PyLong_DigitCount(a);
 5610|  9.58k|    size_b = _PyLong_DigitCount(b);
 5611|       |    /* Swap a and b if necessary to ensure size_a >= size_b. */
 5612|  9.58k|    if (size_a < size_b) {
  ------------------
  |  Branch (5612:9): [True: 1.78k, False: 7.79k]
  ------------------
 5613|  1.78k|        z = a; a = b; b = z;
 5614|  1.78k|        size_z = size_a; size_a = size_b; size_b = size_z;
 5615|  1.78k|    }
 5616|       |
 5617|       |    /* If a is negative, replace it by its two's complement. */
 5618|  9.58k|    nega = _PyLong_IsNegative(a);
 5619|  9.58k|    if (nega) {
  ------------------
  |  Branch (5619:9): [True: 2.82k, False: 6.75k]
  ------------------
 5620|  2.82k|        z = long_alloc(size_a);
 5621|  2.82k|        if (z == NULL)
  ------------------
  |  Branch (5621:13): [True: 0, False: 2.82k]
  ------------------
 5622|      0|            return NULL;
 5623|  2.82k|        v_complement(z->long_value.ob_digit, a->long_value.ob_digit, size_a);
 5624|  2.82k|        new_a = z; // reference to decrement instead of a itself
 5625|  2.82k|        a = z;
 5626|  2.82k|    }
 5627|       |
 5628|       |    /* Same for b. */
 5629|  9.58k|    negb = _PyLong_IsNegative(b);
 5630|  9.58k|    if (negb) {
  ------------------
  |  Branch (5630:9): [True: 2.94k, False: 6.63k]
  ------------------
 5631|  2.94k|        z = long_alloc(size_b);
 5632|  2.94k|        if (z == NULL) {
  ------------------
  |  Branch (5632:13): [True: 0, False: 2.94k]
  ------------------
 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|  2.94k|        v_complement(z->long_value.ob_digit, b->long_value.ob_digit, size_b);
 5637|  2.94k|        new_b = z; // reference to decrement instead of b itself
 5638|  2.94k|        b = z;
 5639|  2.94k|    }
 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|  9.58k|    switch (op) {
 5649|  4.37k|    case '^':
  ------------------
  |  Branch (5649:5): [True: 4.37k, False: 5.20k]
  ------------------
 5650|  4.37k|        negz = nega ^ negb;
 5651|  4.37k|        size_z = size_a;
 5652|  4.37k|        break;
 5653|  3.41k|    case '&':
  ------------------
  |  Branch (5653:5): [True: 3.41k, False: 6.17k]
  ------------------
 5654|  3.41k|        negz = nega & negb;
 5655|  3.41k|        size_z = negb ? size_a : size_b;
  ------------------
  |  Branch (5655:18): [True: 664, False: 2.74k]
  ------------------
 5656|  3.41k|        break;
 5657|  1.79k|    case '|':
  ------------------
  |  Branch (5657:5): [True: 1.79k, False: 7.78k]
  ------------------
 5658|  1.79k|        negz = nega | negb;
 5659|  1.79k|        size_z = negb ? size_b : size_a;
  ------------------
  |  Branch (5659:18): [True: 568, False: 1.22k]
  ------------------
 5660|  1.79k|        break;
 5661|      0|    default:
  ------------------
  |  Branch (5661:5): [True: 0, False: 9.58k]
  ------------------
 5662|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5663|  9.58k|    }
 5664|       |
 5665|  9.58k|    if ((size_z + negz) == 0) {
  ------------------
  |  Branch (5665:9): [True: 616, False: 8.96k]
  ------------------
 5666|    616|        Py_XDECREF(new_a);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5667|    616|        Py_XDECREF(new_b);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5668|    616|        return get_small_int(0);
 5669|    616|    }
 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|  8.96k|    z = long_alloc(size_z + negz);
 5674|  8.96k|    if (z == NULL) {
  ------------------
  |  Branch (5674:9): [True: 0, False: 8.96k]
  ------------------
 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|  8.96k|    switch(op) {
 5682|  2.79k|    case '&':
  ------------------
  |  Branch (5682:5): [True: 2.79k, False: 6.17k]
  ------------------
 5683|  80.7k|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5683:21): [True: 77.9k, False: 2.79k]
  ------------------
 5684|  77.9k|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] & b->long_value.ob_digit[i];
 5685|  2.79k|        break;
 5686|  1.79k|    case '|':
  ------------------
  |  Branch (5686:5): [True: 1.79k, False: 7.17k]
  ------------------
 5687|  74.0k|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5687:21): [True: 72.2k, False: 1.79k]
  ------------------
 5688|  72.2k|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] | b->long_value.ob_digit[i];
 5689|  1.79k|        break;
 5690|  4.37k|    case '^':
  ------------------
  |  Branch (5690:5): [True: 4.37k, False: 4.59k]
  ------------------
 5691|  67.7k|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5691:21): [True: 63.4k, False: 4.37k]
  ------------------
 5692|  63.4k|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] ^ b->long_value.ob_digit[i];
 5693|  4.37k|        break;
 5694|      0|    default:
  ------------------
  |  Branch (5694:5): [True: 0, False: 8.96k]
  ------------------
 5695|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5696|  8.96k|    }
 5697|       |
 5698|       |    /* Copy any remaining digits of a, inverting if necessary. */
 5699|  8.96k|    if (op == '^' && negb)
  ------------------
  |  Branch (5699:9): [True: 4.37k, False: 4.59k]
  |  Branch (5699:22): [True: 1.71k, False: 2.66k]
  ------------------
 5700|  3.65k|        for (; i < size_z; ++i)
  ------------------
  |  Branch (5700:16): [True: 1.93k, False: 1.71k]
  ------------------
 5701|  1.93k|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] ^ PyLong_MASK;
  ------------------
  |  |   62|  1.93k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  1.93k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.93k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5702|  7.25k|    else if (i < size_z)
  ------------------
  |  Branch (5702:14): [True: 4.32k, False: 2.92k]
  ------------------
 5703|  4.32k|        memcpy(&z->long_value.ob_digit[i], &a->long_value.ob_digit[i],
 5704|  4.32k|               (size_z-i)*sizeof(digit));
 5705|       |
 5706|       |    /* Complement result if negative. */
 5707|  8.96k|    if (negz) {
  ------------------
  |  Branch (5707:9): [True: 3.01k, False: 5.95k]
  ------------------
 5708|  3.01k|        _PyLong_FlipSign(z);
 5709|  3.01k|        z->long_value.ob_digit[size_z] = PyLong_MASK;
  ------------------
  |  |   62|  3.01k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  3.01k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  3.01k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5710|  3.01k|        v_complement(z->long_value.ob_digit, z->long_value.ob_digit, size_z+1);
 5711|  3.01k|    }
 5712|       |
 5713|  8.96k|    Py_XDECREF(new_a);
  ------------------
  |  |  621|  8.96k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5714|  8.96k|    Py_XDECREF(new_b);
  ------------------
  |  |  621|  8.96k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5715|  8.96k|    return (PyObject *)maybe_small_long(long_normalize(z));
 5716|  8.96k|}
longobject.c:v_complement:
 5573|  8.78k|{
 5574|  8.78k|    Py_ssize_t i = 0;
 5575|       |
 5576|       |    /* -a is ~a + 1, and the +1 only carries through the trailing zero
 5577|       |       digits: they stay zero, the first nonzero digit is negated, and the
 5578|       |       digits above it are just inverted.  No carry is passed between
 5579|       |       iterations of the last loop, so it can be vectorized. */
 5580|  10.8k|    while (i < m && a[i] == 0) {
  ------------------
  |  Branch (5580:12): [True: 10.8k, False: 0]
  |  Branch (5580:21): [True: 2.03k, False: 8.78k]
  ------------------
 5581|  2.03k|        z[i++] = 0;
 5582|  2.03k|    }
 5583|  8.78k|    assert(i < m);
  ------------------
  |  Branch (5583:5): [True: 8.78k, False: 0]
  ------------------
 5584|  8.78k|    z[i] = (0U - a[i]) & PyLong_MASK;
  ------------------
  |  |   62|  8.78k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  8.78k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  8.78k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5585|  20.6k|    for (++i; i < m; ++i) {
  ------------------
  |  Branch (5585:15): [True: 11.8k, False: 8.78k]
  ------------------
 5586|  11.8k|        z[i] = a[i] ^ PyLong_MASK;
  ------------------
  |  |   62|  11.8k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  11.8k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  11.8k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5587|  11.8k|    }
 5588|  8.78k|}
longobject.c:long_xor:
 5732|  11.6k|{
 5733|  11.6k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  11.6k|    do {                                                \
  |  | 1845|  11.6k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  11.6k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  23.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  11.5k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  11.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 100, False: 11.5k]
  |  |  |  Branch (1845:33): [True: 131, False: 11.3k]
  |  |  ------------------
  |  | 1846|  11.6k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|    231|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|    231|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  11.6k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 11.3k]
  |  |  ------------------
  ------------------
 5734|  11.3k|    PyLongObject *x = (PyLongObject*)a;
 5735|  11.3k|    PyLongObject *y = (PyLongObject*)b;
 5736|  11.3k|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5736:9): [True: 7.36k, False: 4.02k]
  |  Branch (5736:33): [True: 7.01k, False: 348]
  ------------------
 5737|  7.01k|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) ^ medium_value(y));
  ------------------
  |  |   27|  7.01k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) ^ medium_value(y));
  ------------------
  |  |   27|  7.01k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5738|  7.01k|    }
 5739|  4.37k|    return long_bitwise(x, '^', y);
 5740|  11.3k|}
longobject.c:long_or:
 5744|  4.64k|{
 5745|  4.64k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  4.64k|    do {                                                \
  |  | 1845|  4.64k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  4.64k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  9.28k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  3.92k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  3.92k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 716, False: 3.92k]
  |  |  |  Branch (1845:33): [True: 235, False: 3.69k]
  |  |  ------------------
  |  | 1846|  4.64k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|    951|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|    951|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  4.64k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 3.69k]
  |  |  ------------------
  ------------------
 5746|  3.69k|    PyLongObject *x = (PyLongObject*)a;
 5747|  3.69k|    PyLongObject *y = (PyLongObject*)b;
 5748|  3.69k|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5748:9): [True: 2.38k, False: 1.31k]
  |  Branch (5748:33): [True: 1.89k, False: 485]
  ------------------
 5749|  1.89k|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) | medium_value(y));
  ------------------
  |  |   27|  1.89k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) | medium_value(y));
  ------------------
  |  |   27|  1.89k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5750|  1.89k|    }
 5751|  1.79k|    return long_bitwise(x, '|', y);
 5752|  3.69k|}
longobject.c:long_div:
 4601|  1.33M|{
 4602|  1.33M|    PyLongObject *div;
 4603|       |
 4604|  1.33M|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  1.33M|    do {                                                \
  |  | 1845|  1.33M|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  1.33M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  2.66M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  1.33M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.33M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 1.81k, False: 1.33M]
  |  |  |  Branch (1845:33): [True: 791, False: 1.33M]
  |  |  ------------------
  |  | 1846|  1.33M|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  2.60k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  2.60k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  1.33M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 1.33M]
  |  |  ------------------
  ------------------
 4605|       |
 4606|  1.33M|    if (_PyLong_DigitCount((PyLongObject*)a) == 1 && _PyLong_DigitCount((PyLongObject*)b) == 1) {
  ------------------
  |  Branch (4606:9): [True: 1.22M, False: 106k]
  |  Branch (4606:54): [True: 1.22M, False: 1.58k]
  ------------------
 4607|  1.22M|        return fast_floor_div((PyLongObject*)a, (PyLongObject*)b);
 4608|  1.22M|    }
 4609|       |
 4610|   107k|    if (l_divmod((PyLongObject*)a, (PyLongObject*)b, &div, NULL) < 0)
  ------------------
  |  Branch (4610:9): [True: 345, False: 107k]
  ------------------
 4611|    345|        div = NULL;
 4612|   107k|    return (PyObject *)div;
 4613|  1.33M|}
longobject.c:long_true_divide:
 4622|  41.5k|{
 4623|  41.5k|    PyLongObject *a, *b, *x;
 4624|  41.5k|    Py_ssize_t a_size, b_size, shift, extra_bits, diff, x_size, x_bits;
 4625|  41.5k|    digit mask, low;
 4626|  41.5k|    int inexact, negate, a_is_small, b_is_small;
 4627|  41.5k|    double dx, result;
 4628|       |
 4629|  41.5k|    CHECK_BINOP(v, w);
  ------------------
  |  | 1844|  41.5k|    do {                                                \
  |  | 1845|  41.5k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  41.5k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  83.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  40.8k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  40.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 697, False: 40.8k]
  |  |  |  Branch (1845:33): [True: 3.32k, False: 37.5k]
  |  |  ------------------
  |  | 1846|  41.5k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  4.02k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  4.02k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  41.5k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 37.5k]
  |  |  ------------------
  ------------------
 4630|  37.5k|    a = (PyLongObject *)v;
 4631|  37.5k|    b = (PyLongObject *)w;
 4632|       |
 4633|       |    /*
 4634|       |       Method in a nutshell:
 4635|       |
 4636|       |         0. reduce to case a, b > 0; filter out obvious underflow/overflow
 4637|       |         1. choose a suitable integer 'shift'
 4638|       |         2. use integer arithmetic to compute x = floor(2**-shift*a/b)
 4639|       |         3. adjust x for correct rounding
 4640|       |         4. convert x to a double dx with the same value
 4641|       |         5. return ldexp(dx, shift).
 4642|       |
 4643|       |       In more detail:
 4644|       |
 4645|       |       0. For any a, a/0 raises ZeroDivisionError; for nonzero b, 0/b
 4646|       |       returns either 0.0 or -0.0, depending on the sign of b.  For a and
 4647|       |       b both nonzero, ignore signs of a and b, and add the sign back in
 4648|       |       at the end.  Now write a_bits and b_bits for the bit lengths of a
 4649|       |       and b respectively (that is, a_bits = 1 + floor(log_2(a)); likewise
 4650|       |       for b).  Then
 4651|       |
 4652|       |          2**(a_bits - b_bits - 1) < a/b < 2**(a_bits - b_bits + 1).
 4653|       |
 4654|       |       So if a_bits - b_bits > DBL_MAX_EXP then a/b > 2**DBL_MAX_EXP and
 4655|       |       so overflows.  Similarly, if a_bits - b_bits < DBL_MIN_EXP -
 4656|       |       DBL_MANT_DIG - 1 then a/b underflows to 0.  With these cases out of
 4657|       |       the way, we can assume that
 4658|       |
 4659|       |          DBL_MIN_EXP - DBL_MANT_DIG - 1 <= a_bits - b_bits <= DBL_MAX_EXP.
 4660|       |
 4661|       |       1. The integer 'shift' is chosen so that x has the right number of
 4662|       |       bits for a double, plus two or three extra bits that will be used
 4663|       |       in the rounding decisions.  Writing a_bits and b_bits for the
 4664|       |       number of significant bits in a and b respectively, a
 4665|       |       straightforward formula for shift is:
 4666|       |
 4667|       |          shift = a_bits - b_bits - DBL_MANT_DIG - 2
 4668|       |
 4669|       |       This is fine in the usual case, but if a/b is smaller than the
 4670|       |       smallest normal float then it can lead to double rounding on an
 4671|       |       IEEE 754 platform, giving incorrectly rounded results.  So we
 4672|       |       adjust the formula slightly.  The actual formula used is:
 4673|       |
 4674|       |           shift = MAX(a_bits - b_bits, DBL_MIN_EXP) - DBL_MANT_DIG - 2
 4675|       |
 4676|       |       2. The quantity x is computed by first shifting a (left -shift bits
 4677|       |       if shift <= 0, right shift bits if shift > 0) and then dividing by
 4678|       |       b.  For both the shift and the division, we keep track of whether
 4679|       |       the result is inexact, in a flag 'inexact'; this information is
 4680|       |       needed at the rounding stage.
 4681|       |
 4682|       |       With the choice of shift above, together with our assumption that
 4683|       |       a_bits - b_bits >= DBL_MIN_EXP - DBL_MANT_DIG - 1, it follows
 4684|       |       that x >= 1.
 4685|       |
 4686|       |       3. Now x * 2**shift <= a/b < (x+1) * 2**shift.  We want to replace
 4687|       |       this with an exactly representable float of the form
 4688|       |
 4689|       |          round(x/2**extra_bits) * 2**(extra_bits+shift).
 4690|       |
 4691|       |       For float representability, we need x/2**extra_bits <
 4692|       |       2**DBL_MANT_DIG and extra_bits + shift >= DBL_MIN_EXP -
 4693|       |       DBL_MANT_DIG.  This translates to the condition:
 4694|       |
 4695|       |          extra_bits >= MAX(x_bits, DBL_MIN_EXP - shift) - DBL_MANT_DIG
 4696|       |
 4697|       |       To round, we just modify the bottom digit of x in-place; this can
 4698|       |       end up giving a digit with value > PyLONG_MASK, but that's not a
 4699|       |       problem since digits can hold values up to 2*PyLONG_MASK+1.
 4700|       |
 4701|       |       With the original choices for shift above, extra_bits will always
 4702|       |       be 2 or 3.  Then rounding under the round-half-to-even rule, we
 4703|       |       round up iff the most significant of the extra bits is 1, and
 4704|       |       either: (a) the computation of x in step 2 had an inexact result,
 4705|       |       or (b) at least one other of the extra bits is 1, or (c) the least
 4706|       |       significant bit of x (above those to be rounded) is 1.
 4707|       |
 4708|       |       4. Conversion to a double is straightforward; all floating-point
 4709|       |       operations involved in the conversion are exact, so there's no
 4710|       |       danger of rounding errors.
 4711|       |
 4712|       |       5. Use ldexp(x, shift) to compute x*2**shift, the final result.
 4713|       |       The result will always be exactly representable as a double, except
 4714|       |       in the case that it overflows.  To avoid dependence on the exact
 4715|       |       behaviour of ldexp on overflow, we check for overflow before
 4716|       |       applying ldexp.  The result of ldexp is adjusted for sign before
 4717|       |       returning.
 4718|       |    */
 4719|       |
 4720|       |    /* Reduce to case where a and b are both positive. */
 4721|  37.5k|    a_size = _PyLong_DigitCount(a);
 4722|  37.5k|    b_size = _PyLong_DigitCount(b);
 4723|  37.5k|    negate = (_PyLong_IsNegative(a)) != (_PyLong_IsNegative(b));
 4724|  37.5k|    if (b_size == 0) {
  ------------------
  |  Branch (4724:9): [True: 381, False: 37.1k]
  ------------------
 4725|    381|        PyErr_SetString(PyExc_ZeroDivisionError,
 4726|    381|                        "division by zero");
 4727|    381|        goto error;
 4728|    381|    }
 4729|  37.1k|    if (a_size == 0)
  ------------------
  |  Branch (4729:9): [True: 1.77k, False: 35.3k]
  ------------------
 4730|  1.77k|        goto underflow_or_zero;
 4731|       |
 4732|       |    /* Fast path for a and b small (exactly representable in a double).
 4733|       |       Relies on floating-point division being correctly rounded; results
 4734|       |       may be subject to double rounding on x86 machines that operate with
 4735|       |       the x87 FPU set to 64-bit precision. */
 4736|  35.3k|    a_is_small = a_size <= MANT_DIG_DIGITS ||
  ------------------
  |  | 4617|  70.7k|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  35.3k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4736:18): [True: 29.6k, False: 5.71k]
  ------------------
 4737|  5.71k|        (a_size == MANT_DIG_DIGITS+1 &&
  ------------------
  |  | 4617|  5.71k|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  5.71k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4737:10): [True: 1.71k, False: 4.00k]
  ------------------
 4738|  1.71k|         a->long_value.ob_digit[MANT_DIG_DIGITS] >> MANT_DIG_BITS == 0);
  ------------------
  |  | 4617|  1.71k|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  1.71k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
                       a->long_value.ob_digit[MANT_DIG_DIGITS] >> MANT_DIG_BITS == 0);
  ------------------
  |  | 4618|  1.71k|#define MANT_DIG_BITS (DBL_MANT_DIG % PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  1.71k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4738:10): [True: 1.47k, False: 241]
  ------------------
 4739|  35.3k|    b_is_small = b_size <= MANT_DIG_DIGITS ||
  ------------------
  |  | 4617|  70.7k|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  35.3k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4739:18): [True: 12.2k, False: 23.1k]
  ------------------
 4740|  23.1k|        (b_size == MANT_DIG_DIGITS+1 &&
  ------------------
  |  | 4617|  23.1k|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  23.1k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4740:10): [True: 16.5k, False: 6.56k]
  ------------------
 4741|  16.5k|         b->long_value.ob_digit[MANT_DIG_DIGITS] >> MANT_DIG_BITS == 0);
  ------------------
  |  | 4617|  16.5k|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  16.5k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
                       b->long_value.ob_digit[MANT_DIG_DIGITS] >> MANT_DIG_BITS == 0);
  ------------------
  |  | 4618|  16.5k|#define MANT_DIG_BITS (DBL_MANT_DIG % PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  16.5k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4741:10): [True: 4.74k, False: 11.7k]
  ------------------
 4742|  35.3k|    if (a_is_small && b_is_small) {
  ------------------
  |  Branch (4742:9): [True: 31.1k, False: 4.24k]
  |  Branch (4742:23): [True: 13.3k, False: 17.8k]
  ------------------
 4743|  13.3k|        double da, db;
 4744|  13.3k|        da = a->long_value.ob_digit[--a_size];
 4745|  14.5k|        while (a_size > 0)
  ------------------
  |  Branch (4745:16): [True: 1.20k, False: 13.3k]
  ------------------
 4746|  1.20k|            da = da * PyLong_BASE + a->long_value.ob_digit[--a_size];
  ------------------
  |  |   61|  1.20k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  1.20k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
 4747|  13.3k|        db = b->long_value.ob_digit[--b_size];
 4748|  17.7k|        while (b_size > 0)
  ------------------
  |  Branch (4748:16): [True: 4.47k, False: 13.3k]
  ------------------
 4749|  4.47k|            db = db * PyLong_BASE + b->long_value.ob_digit[--b_size];
  ------------------
  |  |   61|  4.47k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  4.47k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
 4750|  13.3k|        result = da / db;
 4751|  13.3k|        goto success;
 4752|  13.3k|    }
 4753|       |
 4754|       |    /* Catch obvious cases of underflow and overflow */
 4755|  22.0k|    diff = a_size - b_size;
 4756|  22.0k|    if (diff > PY_SSIZE_T_MAX/PyLong_SHIFT - 1)
  ------------------
  |  |  137|  22.0k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if (diff > PY_SSIZE_T_MAX/PyLong_SHIFT - 1)
  ------------------
  |  |   47|  22.0k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (4756:9): [True: 0, False: 22.0k]
  ------------------
 4757|       |        /* Extreme overflow */
 4758|      0|        goto overflow;
 4759|  22.0k|    else if (diff < 1 - PY_SSIZE_T_MAX/PyLong_SHIFT)
  ------------------
  |  |  137|  22.0k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  else if (diff < 1 - PY_SSIZE_T_MAX/PyLong_SHIFT)
  ------------------
  |  |   47|  22.0k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (4759:14): [True: 0, False: 22.0k]
  ------------------
 4760|       |        /* Extreme underflow */
 4761|      0|        goto underflow_or_zero;
 4762|       |    /* Next line is now safe from overflowing a Py_ssize_t */
 4763|  22.0k|    diff = diff * PyLong_SHIFT + bit_length_digit(a->long_value.ob_digit[a_size - 1]) -
  ------------------
  |  |   47|  22.0k|#define PyLong_SHIFT    30
  ------------------
 4764|  22.0k|        bit_length_digit(b->long_value.ob_digit[b_size - 1]);
 4765|       |    /* Now diff = a_bits - b_bits. */
 4766|  22.0k|    if (diff > DBL_MAX_EXP)
  ------------------
  |  Branch (4766:9): [True: 61, False: 22.0k]
  ------------------
 4767|     61|        goto overflow;
 4768|  22.0k|    else if (diff < DBL_MIN_EXP - DBL_MANT_DIG - 1)
  ------------------
  |  Branch (4768:14): [True: 75, False: 21.9k]
  ------------------
 4769|     75|        goto underflow_or_zero;
 4770|       |
 4771|       |    /* Choose value for shift; see comments for step 1 above. */
 4772|  21.9k|    shift = Py_MAX(diff, DBL_MIN_EXP) - DBL_MANT_DIG - 2;
  ------------------
  |  |  133|  21.9k|       __extension__ \
  |  |  134|  21.9k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  21.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  21.9k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  21.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  21.9k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 21.7k, False: 162]
  |  |  ------------------
  ------------------
 4773|       |
 4774|  21.9k|    inexact = 0;
 4775|       |
 4776|       |    /* x = abs(a * 2**-shift) */
 4777|  21.9k|    if (shift <= 0) {
  ------------------
  |  Branch (4777:9): [True: 19.2k, False: 2.74k]
  ------------------
 4778|  19.2k|        Py_ssize_t i, shift_digits = -shift / PyLong_SHIFT;
  ------------------
  |  |   47|  19.2k|#define PyLong_SHIFT    30
  ------------------
 4779|  19.2k|        digit rem;
 4780|       |        /* x = a << -shift */
 4781|  19.2k|        if (a_size >= PY_SSIZE_T_MAX - 1 - shift_digits) {
  ------------------
  |  |  137|  19.2k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (4781:13): [True: 0, False: 19.2k]
  ------------------
 4782|       |            /* In practice, it's probably impossible to end up
 4783|       |               here.  Both a and b would have to be enormous,
 4784|       |               using close to SIZE_T_MAX bytes of memory each. */
 4785|      0|            PyErr_SetString(PyExc_OverflowError,
 4786|      0|                            "intermediate overflow during division");
 4787|      0|            goto error;
 4788|      0|        }
 4789|  19.2k|        x = long_alloc(a_size + shift_digits + 1);
 4790|  19.2k|        if (x == NULL)
  ------------------
  |  Branch (4790:13): [True: 0, False: 19.2k]
  ------------------
 4791|      0|            goto error;
 4792|  83.1k|        for (i = 0; i < shift_digits; i++)
  ------------------
  |  Branch (4792:21): [True: 63.9k, False: 19.2k]
  ------------------
 4793|  63.9k|            x->long_value.ob_digit[i] = 0;
 4794|  19.2k|        rem = v_lshift(x->long_value.ob_digit + shift_digits, a->long_value.ob_digit,
 4795|  19.2k|                       a_size, -shift % PyLong_SHIFT);
  ------------------
  |  |   47|  19.2k|#define PyLong_SHIFT    30
  ------------------
 4796|  19.2k|        x->long_value.ob_digit[a_size + shift_digits] = rem;
 4797|  19.2k|    }
 4798|  2.74k|    else {
 4799|  2.74k|        Py_ssize_t shift_digits = shift / PyLong_SHIFT;
  ------------------
  |  |   47|  2.74k|#define PyLong_SHIFT    30
  ------------------
 4800|  2.74k|        digit rem;
 4801|       |        /* x = a >> shift */
 4802|  2.74k|        assert(a_size >= shift_digits);
  ------------------
  |  Branch (4802:9): [True: 2.74k, False: 0]
  ------------------
 4803|  2.74k|        x = long_alloc(a_size - shift_digits);
 4804|  2.74k|        if (x == NULL)
  ------------------
  |  Branch (4804:13): [True: 0, False: 2.74k]
  ------------------
 4805|      0|            goto error;
 4806|  2.74k|        rem = v_rshift(x->long_value.ob_digit, a->long_value.ob_digit + shift_digits,
 4807|  2.74k|                       a_size - shift_digits, shift % PyLong_SHIFT);
  ------------------
  |  |   47|  2.74k|#define PyLong_SHIFT    30
  ------------------
 4808|       |        /* set inexact if any of the bits shifted out is nonzero */
 4809|  2.74k|        if (rem)
  ------------------
  |  Branch (4809:13): [True: 1.55k, False: 1.18k]
  ------------------
 4810|  1.55k|            inexact = 1;
 4811|  4.07k|        while (!inexact && shift_digits > 0)
  ------------------
  |  Branch (4811:16): [True: 2.21k, False: 1.86k]
  |  Branch (4811:28): [True: 1.33k, False: 883]
  ------------------
 4812|  1.33k|            if (a->long_value.ob_digit[--shift_digits])
  ------------------
  |  Branch (4812:17): [True: 303, False: 1.03k]
  ------------------
 4813|    303|                inexact = 1;
 4814|  2.74k|    }
 4815|  21.9k|    long_normalize(x);
 4816|  21.9k|    x_size = _PyLong_SignedDigitCount(x);
 4817|       |
 4818|       |    /* x //= b. If the remainder is nonzero, set inexact.  We own the only
 4819|       |       reference to x, so it's safe to modify it in-place. */
 4820|  21.9k|    if (b_size == 1) {
  ------------------
  |  Branch (4820:9): [True: 3.39k, False: 18.5k]
  ------------------
 4821|  3.39k|        digit rem = inplace_divrem1(x->long_value.ob_digit, x->long_value.ob_digit, x_size,
 4822|  3.39k|                              b->long_value.ob_digit[0]);
 4823|  3.39k|        long_normalize(x);
 4824|  3.39k|        if (rem)
  ------------------
  |  Branch (4824:13): [True: 2.51k, False: 885]
  ------------------
 4825|  2.51k|            inexact = 1;
 4826|  3.39k|    }
 4827|  18.5k|    else {
 4828|  18.5k|        PyLongObject *div, *rem;
 4829|  18.5k|        div = x_divrem(x, b, &rem);
 4830|  18.5k|        Py_SETREF(x, div);
  ------------------
  |  |  545|  18.5k|    do { \
  |  |  546|  18.5k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  18.5k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|  18.5k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  18.5k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|  18.5k|        *_tmp_dst_ptr = (src); \
  |  |  549|  18.5k|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|  18.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|  18.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 18.5k]
  |  |  ------------------
  ------------------
 4831|  18.5k|        if (x == NULL)
  ------------------
  |  Branch (4831:13): [True: 0, False: 18.5k]
  ------------------
 4832|      0|            goto error;
 4833|  18.5k|        if (!_PyLong_IsZero(rem))
  ------------------
  |  Branch (4833:13): [True: 18.2k, False: 310]
  ------------------
 4834|  18.2k|            inexact = 1;
 4835|  18.5k|        Py_DECREF(rem);
  ------------------
  |  |  430|  18.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4836|  18.5k|    }
 4837|  21.9k|    x_size = _PyLong_DigitCount(x);
 4838|  21.9k|    assert(x_size > 0); /* result of division is never zero */
  ------------------
  |  Branch (4838:5): [True: 21.9k, False: 0]
  ------------------
 4839|  21.9k|    x_bits = (x_size-1)*PyLong_SHIFT+bit_length_digit(x->long_value.ob_digit[x_size-1]);
  ------------------
  |  |   47|  21.9k|#define PyLong_SHIFT    30
  ------------------
 4840|       |
 4841|       |    /* The number of extra bits that have to be rounded away. */
 4842|  21.9k|    extra_bits = Py_MAX(x_bits, DBL_MIN_EXP - shift) - DBL_MANT_DIG;
  ------------------
  |  |  133|  21.9k|       __extension__ \
  |  |  134|  21.9k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  21.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  21.9k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  21.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  21.9k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 21.7k, False: 162]
  |  |  ------------------
  ------------------
 4843|  21.9k|    assert(extra_bits == 2 || extra_bits == 3);
  ------------------
  |  Branch (4843:5): [True: 8.93k, False: 13.0k]
  |  Branch (4843:5): [True: 13.0k, False: 0]
  ------------------
 4844|       |
 4845|       |    /* Round by directly modifying the low digit of x. */
 4846|  21.9k|    mask = (digit)1 << (extra_bits - 1);
 4847|  21.9k|    low = x->long_value.ob_digit[0] | inexact;
 4848|  21.9k|    if ((low & mask) && (low & (3U*mask-1U)))
  ------------------
  |  Branch (4848:9): [True: 10.6k, False: 11.3k]
  |  Branch (4848:25): [True: 10.5k, False: 52]
  ------------------
 4849|  10.5k|        low += mask;
 4850|  21.9k|    x->long_value.ob_digit[0] = low & ~(2U*mask-1U);
 4851|       |
 4852|       |    /* Convert x to a double dx; the conversion is exact. */
 4853|  21.9k|    dx = x->long_value.ob_digit[--x_size];
 4854|  43.7k|    while (x_size > 0)
  ------------------
  |  Branch (4854:12): [True: 21.8k, False: 21.9k]
  ------------------
 4855|  21.8k|        dx = dx * PyLong_BASE + x->long_value.ob_digit[--x_size];
  ------------------
  |  |   61|  21.8k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  21.8k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
 4856|  21.9k|    Py_DECREF(x);
  ------------------
  |  |  430|  21.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4857|       |
 4858|       |    /* Check whether ldexp result will overflow a double. */
 4859|  21.9k|    if (shift + x_bits >= DBL_MAX_EXP &&
  ------------------
  |  Branch (4859:9): [True: 35, False: 21.9k]
  ------------------
 4860|     35|        (shift + x_bits > DBL_MAX_EXP || dx == ldexp(1.0, (int)x_bits)))
  ------------------
  |  Branch (4860:10): [True: 6, False: 29]
  |  Branch (4860:42): [True: 0, False: 29]
  ------------------
 4861|      6|        goto overflow;
 4862|  21.9k|    result = ldexp(dx, (int)shift);
 4863|       |
 4864|  35.2k|  success:
 4865|  35.2k|    return PyFloat_FromDouble(negate ? -result : result);
  ------------------
  |  Branch (4865:31): [True: 4.11k, False: 31.1k]
  ------------------
 4866|       |
 4867|  1.84k|  underflow_or_zero:
 4868|  1.84k|    return PyFloat_FromDouble(negate ? -0.0 : 0.0);
  ------------------
  |  Branch (4868:31): [True: 23, False: 1.82k]
  ------------------
 4869|       |
 4870|     67|  overflow:
 4871|     67|    PyErr_SetString(PyExc_OverflowError,
 4872|     67|                    "integer division result too large for a float");
 4873|    448|  error:
 4874|       |    return NULL;
 4875|     67|}
longobject.c:long_hash:
 3670|   215M|{
 3671|   215M|    PyLongObject *v = (PyLongObject *)obj;
 3672|   215M|    Py_uhash_t x;
 3673|   215M|    Py_ssize_t i;
 3674|   215M|    int sign;
 3675|       |
 3676|   215M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (3676:9): [True: 200M, False: 14.8M]
  ------------------
 3677|   200M|        x = (Py_uhash_t)_PyLong_CompactValue(v);
 3678|   200M|        if (x == (Py_uhash_t)-1) {
  ------------------
  |  Branch (3678:13): [True: 1.92M, False: 198M]
  ------------------
 3679|  1.92M|            x = (Py_uhash_t)-2;
 3680|  1.92M|        }
 3681|   200M|        return x;
 3682|   200M|    }
 3683|  14.8M|    i = _PyLong_DigitCount(v);
 3684|  14.8M|    sign = _PyLong_NonCompactSign(v);
 3685|       |
 3686|       |    // unroll first digit
 3687|  14.8M|    Py_BUILD_ASSERT(PyHASH_BITS > PyLong_SHIFT);
  ------------------
  |  |  199|  14.8M|        do { \
  |  |  200|  14.8M|            static_assert((cond), #cond); \
  |  |  201|  14.8M|        } while (0)
  |  |  ------------------
  |  |  |  Branch (201:18): [Folded, False: 14.8M]
  |  |  ------------------
  ------------------
 3688|  14.8M|    assert(i >= 1);
  ------------------
  |  Branch (3688:5): [True: 14.8M, False: 0]
  ------------------
 3689|  14.8M|    --i;
 3690|  14.8M|    x = v->long_value.ob_digit[i];
 3691|  14.8M|    assert(x < PyHASH_MODULUS);
  ------------------
  |  Branch (3691:5): [True: 14.8M, False: 0]
  ------------------
 3692|       |
 3693|  14.8M|#if PyHASH_BITS >= 2 * PyLong_SHIFT
 3694|       |    // unroll second digit
 3695|  14.8M|    assert(i >= 1);
  ------------------
  |  Branch (3695:5): [True: 14.8M, False: 0]
  ------------------
 3696|  14.8M|    --i;
 3697|  14.8M|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|  14.8M|#define PyLong_SHIFT    30
  ------------------
 3698|  14.8M|    x += v->long_value.ob_digit[i];
 3699|  14.8M|    assert(x < PyHASH_MODULUS);
  ------------------
  |  Branch (3699:5): [True: 14.8M, False: 0]
  ------------------
 3700|  14.8M|#endif
 3701|       |
 3702|  22.4M|    while (--i >= 0) {
  ------------------
  |  Branch (3702:12): [True: 7.56M, False: 14.8M]
  ------------------
 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|  7.56M|        x = ((x << PyLong_SHIFT) & PyHASH_MODULUS) |
  ------------------
  |  |   47|  7.56M|#define PyLong_SHIFT    30
  ------------------
                      x = ((x << PyLong_SHIFT) & PyHASH_MODULUS) |
  ------------------
  |  |   18|  7.56M|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|  7.56M|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
 3729|  7.56M|            (x >> (PyHASH_BITS - PyLong_SHIFT));
  ------------------
  |  |   13|  7.56M|#  define PyHASH_BITS 61
  ------------------
                          (x >> (PyHASH_BITS - PyLong_SHIFT));
  ------------------
  |  |   47|  7.56M|#define PyLong_SHIFT    30
  ------------------
 3730|  7.56M|        x += v->long_value.ob_digit[i];
 3731|  7.56M|        if (x >= PyHASH_MODULUS)
  ------------------
  |  |   18|  7.56M|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|  7.56M|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
  |  Branch (3731:13): [True: 5.68k, False: 7.56M]
  ------------------
 3732|  5.68k|            x -= PyHASH_MODULUS;
  ------------------
  |  |   18|  5.68k|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|  5.68k|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
 3733|  7.56M|    }
 3734|  14.8M|    x = x * sign;
 3735|  14.8M|    if (x == (Py_uhash_t)-1)
  ------------------
  |  Branch (3735:9): [True: 6.26k, False: 14.8M]
  ------------------
 3736|  6.26k|        x = (Py_uhash_t)-2;
 3737|  14.8M|    return (Py_hash_t)x;
 3738|  14.8M|}
longobject.c:long_richcompare:
 3622|   596k|{
 3623|   596k|    Py_ssize_t result;
 3624|   596k|    CHECK_BINOP(self, other);
  ------------------
  |  | 1844|   596k|    do {                                                \
  |  | 1845|   596k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   596k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.19M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   596k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   596k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 596k]
  |  |  |  Branch (1845:33): [True: 5.97k, False: 590k]
  |  |  ------------------
  |  | 1846|   596k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  5.97k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  5.97k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|   596k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 590k]
  |  |  ------------------
  ------------------
 3625|   590k|    if (self == other)
  ------------------
  |  Branch (3625:9): [True: 71, False: 589k]
  ------------------
 3626|     71|        result = 0;
 3627|   589k|    else
 3628|   589k|        result = long_compare((PyLongObject*)self, (PyLongObject*)other);
 3629|   590k|    Py_RETURN_RICHCOMPARE(result, 0, op);
  ------------------
  |  |  674|   590k|    do {                                                                    \
  |  |  675|   590k|        switch (op) {                                                       \
  |  |  676|   587k|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|   587k|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|   399k|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|   399k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   399k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   399k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|   188k|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|   188k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   188k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   188k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 587k, False: 2.38k]
  |  |  |  Branch (676:25): [True: 399k, False: 188k]
  |  |  ------------------
  |  |  677|   587k|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|    526|#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|    523|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    523|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    523|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    523|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 526, False: 589k]
  |  |  |  Branch (677:25): [True: 3, False: 523]
  |  |  ------------------
  |  |  678|  1.41k|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|  1.41k|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: 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_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|    944|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    944|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    944|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    944|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 1.41k, False: 588k]
  |  |  |  Branch (678:25): [True: 470, False: 944]
  |  |  ------------------
  |  |  679|  1.41k|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|    418|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|    219|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|    219|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|    199|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    199|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    199|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    199|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 418, False: 589k]
  |  |  |  Branch (679:25): [True: 219, False: 199]
  |  |  ------------------
  |  |  680|    418|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|     13|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      6|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      6|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 13, False: 590k]
  |  |  |  Branch (680:25): [True: 6, False: 7]
  |  |  ------------------
  |  |  681|     13|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|     13|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      2|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      2|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|     11|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|     11|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 13, False: 590k]
  |  |  |  Branch (681:25): [True: 2, False: 11]
  |  |  ------------------
  |  |  682|     13|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 590k]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|   590k|        }                                                                   \
  |  |  685|   590k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3630|   590k|}
longobject.c:int_bit_length_impl:
 6318|    767|{
 6319|    767|    int64_t nbits = _PyLong_NumBits(self);
 6320|    767|    assert(nbits >= 0);
  ------------------
  |  Branch (6320:5): [True: 767, False: 0]
  ------------------
 6321|    767|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (6321:5): [True: 767, False: 0]
  ------------------
 6322|    767|    return PyLong_FromInt64(nbits);
 6323|    767|}
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|    303|{
 6477|    303|    int little_endian;
 6478|    303|    PyObject *long_obj, *bytes;
 6479|       |
 6480|    303|    if (byteorder == NULL)
  ------------------
  |  Branch (6480:9): [True: 0, False: 303]
  ------------------
 6481|      0|        little_endian = 0;
 6482|    303|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(little)))
  ------------------
  |  |  951|    303|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    303|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    303|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6482:14): [True: 303, False: 0]
  ------------------
 6483|    303|        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|    303|    if (PyBytes_CheckExact(bytes_obj)) {
  ------------------
  |  |   29|    303|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|    303|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    303|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    303|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 303, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6494|    303|        long_obj = _PyLong_FromByteArray(
 6495|    303|            (unsigned char *)PyBytes_AS_STRING(bytes_obj), Py_SIZE(bytes_obj),
  ------------------
  |  |   27|    303|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    303|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    303|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          (unsigned char *)PyBytes_AS_STRING(bytes_obj), Py_SIZE(bytes_obj),
  ------------------
  |  |  214|    303|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    303|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    303|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6496|    303|            little_endian, is_signed);
 6497|    303|    }
 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|    303|    if (long_obj != NULL && type != &PyLong_Type) {
  ------------------
  |  Branch (6520:9): [True: 303, False: 0]
  |  Branch (6520:29): [True: 0, False: 303]
  ------------------
 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|    303|    return long_obj;
 6525|    303|}
longobject.c:int___format___impl:
 6116|     92|{
 6117|     92|    _PyUnicodeWriter writer;
 6118|     92|    int ret;
 6119|       |
 6120|     92|    _PyUnicodeWriter_Init(&writer);
 6121|     92|    ret = _PyLong_FormatAdvancedWriter(
 6122|     92|        &writer,
 6123|     92|        self,
 6124|     92|        format_spec, 0, PyUnicode_GET_LENGTH(format_spec));
  ------------------
  |  |  300|     92|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6125|     92|    if (ret == -1) {
  ------------------
  |  Branch (6125:9): [True: 0, False: 92]
  ------------------
 6126|      0|        _PyUnicodeWriter_Dealloc(&writer);
 6127|      0|        return NULL;
 6128|      0|    }
 6129|     92|    return _PyUnicodeWriter_Finish(&writer);
 6130|     92|}
longobject.c:long_new_impl:
 5997|    394|{
 5998|    394|    Py_ssize_t base;
 5999|       |
 6000|    394|    if (type != &PyLong_Type)
  ------------------
  |  Branch (6000:9): [True: 145, False: 249]
  ------------------
 6001|    145|        return long_subtype_new(type, x, obase); /* Wimp out */
 6002|    249|    if (x == NULL) {
  ------------------
  |  Branch (6002:9): [True: 1, False: 248]
  ------------------
 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|    248|    if (obase == NULL)
  ------------------
  |  Branch (6011:9): [True: 144, False: 104]
  ------------------
 6012|    144|        return PyNumber_Long(x);
 6013|       |
 6014|    104|    base = PyNumber_AsSsize_t(obase, NULL);
 6015|    104|    if (base == -1 && PyErr_Occurred())
  ------------------
  |  Branch (6015:9): [True: 0, False: 104]
  |  Branch (6015:23): [True: 0, False: 0]
  ------------------
 6016|      0|        return NULL;
 6017|    104|    if ((base != 0 && base < 2) || base > 36) {
  ------------------
  |  Branch (6017:10): [True: 104, False: 0]
  |  Branch (6017:23): [True: 0, False: 104]
  |  Branch (6017:36): [True: 0, False: 104]
  ------------------
 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|    104|    if (PyUnicode_Check(x))
  ------------------
  |  |  103|    104|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    104|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 104]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6024|      0|        return PyLong_FromUnicodeObject(x, (int)base);
 6025|    104|    else if (PyByteArray_Check(x) || PyBytes_Check(x)) {
  ------------------
  |  |   24|    104|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|    208|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 104, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyByteArray_Check(x) || PyBytes_Check(x)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6026|    104|        const char *string;
 6027|    104|        if (PyByteArray_Check(x))
  ------------------
  |  |   24|    104|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|    104|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 104, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6028|    104|            string = PyByteArray_AS_STRING(x);
  ------------------
  |  |   28|    104|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|    104|        return _PyLong_FromBytes(string, Py_SIZE(x), (int)base);
  ------------------
  |  |  214|    104|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6032|    104|    }
 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|    104|}
longobject.c:long_subtype_new:
 6047|    145|{
 6048|    145|    PyLongObject *tmp, *newobj;
 6049|    145|    Py_ssize_t size, ndigits;
 6050|    145|    int sign;
 6051|       |
 6052|    145|    assert(PyType_IsSubtype(type, &PyLong_Type));
  ------------------
  |  Branch (6052:5): [True: 145, False: 0]
  ------------------
 6053|    145|    tmp = (PyLongObject *)long_new_impl(&PyLong_Type, x, obase);
 6054|    145|    if (tmp == NULL)
  ------------------
  |  Branch (6054:9): [True: 0, False: 145]
  ------------------
 6055|      0|        return NULL;
 6056|    145|    assert(PyLong_Check(tmp));
  ------------------
  |  Branch (6056:5): [True: 145, False: 0]
  ------------------
 6057|    145|    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|    145|    ndigits = size ? size : 1;
  ------------------
  |  Branch (6060:15): [True: 140, False: 5]
  ------------------
 6061|    145|    newobj = (PyLongObject *)type->tp_alloc(type, ndigits);
 6062|    145|    if (newobj == NULL) {
  ------------------
  |  Branch (6062:9): [True: 0, False: 145]
  ------------------
 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|    145|    assert(PyLong_Check(newobj));
  ------------------
  |  Branch (6066:5): [True: 145, False: 0]
  ------------------
 6067|    145|    if (_PyLong_IsCompact(tmp)) {
  ------------------
  |  Branch (6067:9): [True: 144, False: 1]
  ------------------
 6068|    144|        sign = _PyLong_CompactSign(tmp);
 6069|    144|    }
 6070|      1|    else {
 6071|      1|        sign = _PyLong_NonCompactSign(tmp);
 6072|      1|    }
 6073|    145|    _PyLong_InitTag(newobj);
 6074|    145|    _PyLong_SetSignAndDigitCount(newobj, sign, size);
 6075|    145|    memcpy(newobj->long_value.ob_digit, tmp->long_value.ob_digit,
 6076|    145|           ndigits * sizeof(digit));
 6077|    145|    Py_DECREF(tmp);
  ------------------
  |  |  430|    145|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6078|    145|    return (PyObject *)newobj;
 6079|    145|}
longobject.c:long_vectorcall:
 6556|    864|{
 6557|    864|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    864|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 6558|    864|    if (kwnames != NULL) {
  ------------------
  |  Branch (6558:9): [True: 0, False: 864]
  ------------------
 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|    864|    switch (nargs) {
 6563|      0|        case 0:
  ------------------
  |  Branch (6563:9): [True: 0, False: 864]
  ------------------
 6564|      0|            return _PyLong_GetZero();
 6565|    760|        case 1:
  ------------------
  |  Branch (6565:9): [True: 760, False: 104]
  ------------------
 6566|    760|            return PyNumber_Long(args[0]);
 6567|    104|        case 2:
  ------------------
  |  Branch (6567:9): [True: 104, False: 760]
  ------------------
 6568|    104|            return long_new_impl(_PyType_CAST(type), args[0], args[1]);
  ------------------
  |  |  770|    104|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (6568:34): [True: 104, False: 0]
  ------------------
 6569|      0|        default:
  ------------------
  |  Branch (6569:9): [True: 0, False: 864]
  ------------------
 6570|      0|            return PyErr_Format(PyExc_TypeError,
 6571|      0|                                "int expected at most 2 arguments, got %zd",
 6572|      0|                                nargs);
 6573|    864|    }
 6574|    864|}

PyMemoryView_FromBuffer:
  889|  70.0k|{
  890|  70.0k|    _PyManagedBufferObject *mbuf;
  891|  70.0k|    PyObject *mv;
  892|       |
  893|  70.0k|    if (info->buf == NULL) {
  ------------------
  |  Branch (893:9): [True: 0, False: 70.0k]
  ------------------
  894|      0|        PyErr_SetString(PyExc_ValueError,
  895|      0|            "PyMemoryView_FromBuffer(): info->buf must not be NULL");
  896|      0|        return NULL;
  897|      0|    }
  898|       |
  899|  70.0k|    mbuf = mbuf_alloc();
  900|  70.0k|    if (mbuf == NULL)
  ------------------
  |  Branch (900:9): [True: 0, False: 70.0k]
  ------------------
  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|  70.0k|    mbuf->master = *info;
  906|  70.0k|    mbuf->master.obj = NULL;
  907|       |
  908|  70.0k|    mv = mbuf_add_view(mbuf, NULL);
  909|  70.0k|    Py_DECREF(mbuf);
  ------------------
  |  |  430|  70.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  70.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  910|       |
  911|  70.0k|    return mv;
  912|  70.0k|}
PyMemoryView_FromObject:
  984|    103|{
  985|    103|    return PyMemoryView_FromObjectAndFlags(v, PyBUF_FULL_RO);
  ------------------
  |  |  134|    103|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|    103|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|    103|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|    103|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|    103|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  986|    103|}
PyBuffer_ToContiguous:
 1179|  16.4k|{
 1180|  16.4k|    Py_buffer_full *fb = NULL;
 1181|  16.4k|    int ret;
 1182|       |
 1183|  16.4k|    assert(order == 'C' || order == 'F' || order == 'A');
  ------------------
  |  Branch (1183:5): [True: 16.4k, False: 0]
  |  Branch (1183:5): [True: 0, False: 0]
  |  Branch (1183:5): [True: 0, False: 0]
  ------------------
 1184|       |
 1185|  16.4k|    if (len != src->len) {
  ------------------
  |  Branch (1185:9): [True: 0, False: 16.4k]
  ------------------
 1186|      0|        PyErr_SetString(PyExc_ValueError,
 1187|      0|            "PyBuffer_ToContiguous: len != view->len");
 1188|      0|        return -1;
 1189|      0|    }
 1190|       |
 1191|  16.4k|    if (PyBuffer_IsContiguous(src, order)) {
  ------------------
  |  Branch (1191:9): [True: 16.4k, False: 0]
  ------------------
 1192|  16.4k|        memcpy((char *)buf, src->buf, len);
 1193|  16.4k|        return 0;
 1194|  16.4k|    }
 1195|       |
 1196|       |    /* buffer_to_contiguous() assumes PyBUF_FULL */
 1197|      0|    fb = PyMem_Malloc(sizeof *fb + 3 * src->ndim * (sizeof *fb->array));
 1198|      0|    if (fb == NULL) {
  ------------------
  |  Branch (1198:9): [True: 0, False: 0]
  ------------------
 1199|      0|        PyErr_NoMemory();
 1200|      0|        return -1;
 1201|      0|    }
 1202|      0|    fb->view.ndim = src->ndim;
 1203|      0|    fb->view.shape = fb->array;
 1204|      0|    fb->view.strides = fb->array + src->ndim;
 1205|      0|    fb->view.suboffsets = fb->array + 2 * src->ndim;
 1206|       |
 1207|      0|    init_shared_values(&fb->view, src);
 1208|      0|    init_shape_strides(&fb->view, src);
 1209|      0|    init_suboffsets(&fb->view, src);
 1210|       |
 1211|      0|    src = &fb->view;
 1212|       |
 1213|      0|    ret = buffer_to_contiguous(buf, src, order);
 1214|      0|    PyMem_Free(fb);
 1215|      0|    return ret;
 1216|      0|}
memoryobject.c:mbuf_dealloc:
  171|  70.1k|{
  172|  70.1k|    _PyManagedBufferObject *self = (_PyManagedBufferObject *)_self;
  173|  70.1k|    assert(FT_ATOMIC_LOAD_SSIZE_RELAXED(self->exports) == 0);
  ------------------
  |  Branch (173:5): [True: 70.1k, False: 0]
  ------------------
  174|  70.1k|    mbuf_release(self);
  175|  70.1k|    if (mbuf_has_flag(self, _Py_MANAGED_BUFFER_FREE_FORMAT))
  ------------------
  |  |    9|  70.1k|#define _Py_MANAGED_BUFFER_FREE_FORMAT 0x002  /* free format */
  ------------------
  |  Branch (175:9): [True: 0, False: 70.1k]
  ------------------
  176|      0|        PyMem_Free(self->master.format);
  177|  70.1k|    PyObject_GC_Del(self);
  178|  70.1k|}
memoryobject.c:mbuf_release:
  159|   140k|{
  160|   140k|    if (mbuf_set_released(self)) {
  ------------------
  |  Branch (160:9): [True: 70.1k, False: 70.1k]
  ------------------
  161|  70.1k|        return;
  162|  70.1k|    }
  163|       |
  164|       |    /* PyBuffer_Release() decrements master->obj and sets it to NULL. */
  165|  70.1k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|  70.1k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  70.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|  70.1k|    PyBuffer_Release(&self->master);
  167|  70.1k|}
memoryobject.c:mbuf_set_released:
  153|   140k|{
  154|   140k|    return flags_set_released(&mbuf->flags, _Py_MANAGED_BUFFER_RELEASED);
  ------------------
  |  |    8|   140k|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  ------------------
  155|   140k|}
memoryobject.c:flags_set_released:
  108|   210k|{
  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|   210k|    int prev = *flags;
  122|   210k|    *flags = prev | released;
  123|   210k|    return (prev & released) != 0;
  124|   210k|#endif
  125|   210k|}
memoryobject.c:mbuf_has_flag:
  147|   156k|{
  148|   156k|    return (FT_ATOMIC_LOAD_INT(mbuf->flags) & bits) != 0;
  ------------------
  |  |  187|   156k|#define FT_ATOMIC_LOAD_INT(value) value
  ------------------
  149|   156k|}
memoryobject.c:mbuf_traverse:
  182|     14|{
  183|     14|    _PyManagedBufferObject *self = (_PyManagedBufferObject *)_self;
  184|     14|    Py_VISIT(self->master.obj);
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2, False: 12]
  |  |  ------------------
  |  |  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|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
  185|     14|    return 0;
  186|     14|}
memoryobject.c:mbuf_alloc:
   73|  70.1k|{
   74|  70.1k|    _PyManagedBufferObject *mbuf;
   75|       |
   76|  70.1k|    mbuf = (_PyManagedBufferObject *)
   77|  70.1k|        PyObject_GC_New(_PyManagedBufferObject, &_PyManagedBuffer_Type);
  ------------------
  |  |  181|  70.1k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  70.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   78|  70.1k|    if (mbuf == NULL)
  ------------------
  |  Branch (78:9): [True: 0, False: 70.1k]
  ------------------
   79|      0|        return NULL;
   80|  70.1k|    mbuf->flags = 0;
   81|  70.1k|    mbuf->exports = 0;
   82|  70.1k|    mbuf->master.obj = NULL;
   83|  70.1k|    _PyObject_GC_TRACK(mbuf);
  ------------------
  |  |  502|  70.1k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  70.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|       |
   85|  70.1k|    return mbuf;
   86|  70.1k|}
memoryobject.c:mbuf_add_view:
  727|  70.2k|{
  728|  70.2k|    PyMemoryViewObject *mv;
  729|  70.2k|    Py_buffer *dest;
  730|       |
  731|  70.2k|    if (src == NULL)
  ------------------
  |  Branch (731:9): [True: 70.1k, False: 101]
  ------------------
  732|  70.1k|        src = &mbuf->master;
  733|       |
  734|  70.2k|    if (src->ndim > PyBUF_MAX_NDIM) {
  ------------------
  |  |  105|  70.2k|#define PyBUF_MAX_NDIM 64
  ------------------
  |  Branch (734:9): [True: 0, False: 70.2k]
  ------------------
  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|  70.2k|    mv = memory_alloc(src->ndim);
  742|  70.2k|    if (mv == NULL)
  ------------------
  |  Branch (742:9): [True: 0, False: 70.2k]
  ------------------
  743|      0|        return NULL;
  744|       |
  745|  70.2k|    dest = &mv->view;
  746|  70.2k|    init_shared_values(dest, src);
  747|  70.2k|    init_shape_strides(dest, src);
  748|  70.2k|    init_suboffsets(dest, src);
  749|  70.2k|    init_flags(mv);
  750|       |
  751|  70.2k|    mv->mbuf = (_PyManagedBufferObject*)Py_NewRef(mbuf);
  ------------------
  |  |  647|  70.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  70.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  752|  70.2k|    FT_ATOMIC_ADD_SSIZE(mbuf->exports, 1);
  ------------------
  |  |  206|  70.2k|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
  753|       |
  754|  70.2k|    return (PyObject *)mv;
  755|  70.2k|}
memoryobject.c:memory_alloc:
  695|  70.2k|{
  696|  70.2k|    PyMemoryViewObject *mv;
  697|       |
  698|  70.2k|    mv = (PyMemoryViewObject *)
  699|  70.2k|        PyObject_GC_NewVar(PyMemoryViewObject, &PyMemoryView_Type, 3*ndim);
  ------------------
  |  |  183|  70.2k|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  70.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  700|  70.2k|    if (mv == NULL)
  ------------------
  |  Branch (700:9): [True: 0, False: 70.2k]
  ------------------
  701|      0|        return NULL;
  702|       |
  703|  70.2k|    mv->mbuf = NULL;
  704|  70.2k|    mv->hash = -1;
  705|  70.2k|    mv->flags = 0;
  706|  70.2k|    mv->exports = 0;
  707|  70.2k|    mv->view.ndim = ndim;
  708|  70.2k|    mv->view.shape = mv->ob_array;
  709|  70.2k|    mv->view.strides = mv->ob_array + ndim;
  710|  70.2k|    mv->view.suboffsets = mv->ob_array + 2 * ndim;
  711|  70.2k|    mv->weakreflist = NULL;
  712|       |
  713|  70.2k|    _PyObject_GC_TRACK(mv);
  ------------------
  |  |  502|  70.2k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  70.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|  70.2k|    return mv;
  715|  70.2k|}
memoryobject.c:init_flags:
  662|  70.3k|{
  663|  70.3k|    const Py_buffer *view = &mv->view;
  664|  70.3k|    int flags = 0;
  665|       |
  666|  70.3k|    switch (view->ndim) {
  667|      0|    case 0:
  ------------------
  |  Branch (667:5): [True: 0, False: 70.3k]
  ------------------
  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|  70.3k|    case 1:
  ------------------
  |  Branch (671:5): [True: 70.3k, False: 0]
  ------------------
  672|  70.3k|        if (MV_CONTIGUOUS_NDIM1(view))
  ------------------
  |  |  291|  70.3k|    ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize)
  |  |  ------------------
  |  |  |  Branch (291:6): [True: 7, False: 70.3k]
  |  |  |  Branch (291:31): [True: 70.3k, False: 0]
  |  |  ------------------
  ------------------
  673|  70.3k|            flags |= (_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   21|  70.3k|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  ------------------
                          flags |= (_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   22|  70.3k|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  ------------------
  674|  70.3k|        break;
  675|      0|    default:
  ------------------
  |  Branch (675:5): [True: 0, False: 70.3k]
  ------------------
  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|  70.3k|    }
  682|       |
  683|  70.3k|    if (view->suboffsets) {
  ------------------
  |  Branch (683:9): [True: 0, False: 70.3k]
  ------------------
  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|  70.3k|    mv->flags = flags;
  689|  70.3k|}
memoryobject.c:PyMemoryView_FromObjectAndFlags:
  920|    103|{
  921|    103|    _PyManagedBufferObject *mbuf;
  922|       |
  923|    103|    if (PyMemoryView_Check(v)) {
  ------------------
  |  |   11|    103|#define PyMemoryView_Check(op) Py_IS_TYPE((op), &PyMemoryView_Type)
  |  |  ------------------
  |  |  |  |  215|    103|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 103]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|    103|    else if (PyObject_CheckBuffer(v)) {
  ------------------
  |  Branch (940:14): [True: 103, False: 0]
  ------------------
  941|    103|        PyObject *ret;
  942|    103|        mbuf = (_PyManagedBufferObject *)_PyManagedBuffer_FromObject(v, flags);
  943|    103|        if (mbuf == NULL)
  ------------------
  |  Branch (943:13): [True: 0, False: 103]
  ------------------
  944|      0|            return NULL;
  945|    103|        ret = mbuf_add_view(mbuf, NULL);
  946|    103|        Py_DECREF(mbuf);
  ------------------
  |  |  430|    103|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  947|    103|        return ret;
  948|    103|    }
  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|    103|}
memoryobject.c:memoryview_pin:
  832|    105|{
  833|    105|    if (mv_has_flag(self, _Py_MEMORYVIEW_RELEASED)) {
  ------------------
  |  |   20|    105|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  ------------------
  |  Branch (833:9): [True: 0, False: 105]
  ------------------
  834|      0|        PyErr_SetString(PyExc_ValueError,
  835|      0|            "operation forbidden on released memoryview object");
  836|      0|        return -1;
  837|      0|    }
  838|    105|    _PyManagedBufferObject *mbuf = self->mbuf;
  839|    105|    FT_ATOMIC_ADD_SSIZE(mbuf->exports, 1);
  ------------------
  |  |  206|    105|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
  840|    105|    if (BASE_INACCESSIBLE(self)) {
  ------------------
  |  |  231|    105|    (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  ------------------
  |  |  |  |   38|    105|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  ------------------
  |  |  |  |   20|    105|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  ------------------
  |  |  |  Branch (231:6): [True: 0, False: 105]
  |  |  ------------------
  |  |  232|    105|     mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  ------------------
  |  |  |  |   38|    105|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  ------------------
  |  |  |  |    8|    105|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  ------------------
  |  |  |  Branch (232:6): [True: 0, False: 105]
  |  |  ------------------
  ------------------
  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|    105|    return 0;
  847|    105|}
memoryobject.c:mbuf_drop_export:
  810|  70.3k|{
  811|       |#ifdef Py_GIL_DISABLED
  812|       |    Py_ssize_t prev_exports = _Py_atomic_add_ssize(&mbuf->exports, -1);
  813|       |#else
  814|  70.3k|    Py_ssize_t prev_exports = mbuf->exports--;
  815|  70.3k|#endif
  816|  70.3k|    assert(prev_exports > 0);
  ------------------
  |  Branch (816:5): [True: 70.3k, False: 0]
  ------------------
  817|  70.3k|    if (prev_exports == 1) {
  ------------------
  |  Branch (817:9): [True: 70.1k, False: 208]
  ------------------
  818|  70.1k|        mbuf_release(mbuf);
  819|  70.1k|    }
  820|  70.3k|}
memoryobject.c:mv_has_flag:
  135|   156k|{
  136|   156k|    return (mv_get_flags(mv) & bits) != 0;
  137|   156k|}
memoryobject.c:mv_get_flags:
  129|   226k|{
  130|   226k|    return FT_ATOMIC_LOAD_INT_RELAXED(mv->flags);
  ------------------
  |  |  189|   226k|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
  131|   226k|}
memoryobject.c:memoryview_unpin:
  851|    105|{
  852|    105|    mbuf_drop_export(self->mbuf);
  853|    105|}
memoryobject.c:_PyManagedBuffer_FromObject:
   90|    103|{
   91|    103|    _PyManagedBufferObject *mbuf;
   92|       |
   93|    103|    mbuf = mbuf_alloc();
   94|    103|    if (mbuf == NULL)
  ------------------
  |  Branch (94:9): [True: 0, False: 103]
  ------------------
   95|      0|        return NULL;
   96|       |
   97|    103|    if (PyObject_GetBuffer(base, &mbuf->master, flags) < 0) {
  ------------------
  |  Branch (97:9): [True: 0, False: 103]
  ------------------
   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|    103|    return (PyObject *)mbuf;
  104|    103|}
memoryobject.c:mbuf_add_incomplete_view:
  765|      2|{
  766|      2|    PyMemoryViewObject *mv;
  767|      2|    Py_buffer *dest;
  768|       |
  769|      2|    if (src == NULL)
  ------------------
  |  Branch (769:9): [True: 0, False: 2]
  ------------------
  770|      0|        src = &mbuf->master;
  771|       |
  772|      2|    assert(ndim <= PyBUF_MAX_NDIM);
  ------------------
  |  Branch (772:5): [True: 2, False: 0]
  ------------------
  773|       |
  774|      2|    mv = memory_alloc(ndim);
  775|      2|    if (mv == NULL)
  ------------------
  |  Branch (775:9): [True: 0, False: 2]
  ------------------
  776|      0|        return NULL;
  777|       |
  778|      2|    dest = &mv->view;
  779|      2|    init_shared_values(dest, src);
  780|       |
  781|      2|    mv->mbuf = (_PyManagedBufferObject*)Py_NewRef(mbuf);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  782|      2|    FT_ATOMIC_ADD_SSIZE(mbuf->exports, 1);
  ------------------
  |  |  206|      2|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
  783|       |
  784|      2|    return (PyObject *)mv;
  785|      2|}
memoryobject.c:init_shared_values:
  594|  70.2k|{
  595|  70.2k|    dest->obj = src->obj;
  596|  70.2k|    dest->buf = src->buf;
  597|  70.2k|    dest->len = src->len;
  598|  70.2k|    dest->itemsize = src->itemsize;
  599|  70.2k|    dest->readonly = src->readonly;
  600|  70.2k|    dest->format = src->format ? src->format : "B";
  ------------------
  |  Branch (600:20): [True: 28.8k, False: 41.4k]
  ------------------
  601|  70.2k|    dest->internal = src->internal;
  602|  70.2k|}
memoryobject.c:init_shape_strides:
  607|  70.2k|{
  608|  70.2k|    Py_ssize_t i;
  609|       |
  610|  70.2k|    if (src->ndim == 0) {
  ------------------
  |  Branch (610:9): [True: 0, False: 70.2k]
  ------------------
  611|      0|        dest->shape = NULL;
  612|      0|        dest->strides = NULL;
  613|      0|        return;
  614|      0|    }
  615|  70.2k|    if (src->ndim == 1) {
  ------------------
  |  Branch (615:9): [True: 70.2k, False: 0]
  ------------------
  616|  70.2k|        dest->shape[0] = src->shape ? src->shape[0] : src->len / src->itemsize;
  ------------------
  |  Branch (616:26): [True: 70.2k, False: 0]
  ------------------
  617|  70.2k|        dest->strides[0] = src->strides ? src->strides[0] : src->itemsize;
  ------------------
  |  Branch (617:28): [True: 28.8k, False: 41.4k]
  ------------------
  618|  70.2k|        return;
  619|  70.2k|    }
  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|  70.2k|{
  635|  70.2k|    Py_ssize_t i;
  636|       |
  637|  70.2k|    if (src->suboffsets == NULL) {
  ------------------
  |  Branch (637:9): [True: 70.2k, False: 0]
  ------------------
  638|  70.2k|        dest->suboffsets = NULL;
  639|  70.2k|        return;
  640|  70.2k|    }
  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:unpack_single:
 1993|    128|{
 1994|    128|    unsigned long long llu;
 1995|    128|    unsigned long lu;
 1996|    128|    size_t zu;
 1997|    128|    long long lld;
 1998|    128|    long ld;
 1999|    128|    Py_ssize_t zd;
 2000|    128|    double d[2];
 2001|    128|    unsigned char uc;
 2002|    128|    void *p;
 2003|       |
 2004|    128|    CHECK_RELEASED_AGAIN(self);
  ------------------
  |  |  264|    128|#define CHECK_RELEASED_AGAIN(mv) CHECK_RELEASED(mv)
  |  |  ------------------
  |  |  |  |  235|    128|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  231|    128|    (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   38|    128|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|    128|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (231:6): [True: 0, False: 128]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    128|     mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   38|    128|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                    mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|    128|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (232:6): [True: 0, False: 128]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  236|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  |  |  237|      0|            "operation forbidden on released memoryview object"); \
  |  |  |  |  238|      0|        return NULL;                                              \
  |  |  |  |  239|      0|    }
  |  |  ------------------
  ------------------
 2005|       |
 2006|    128|#if PY_LITTLE_ENDIAN
 2007|    128|    int endian = 1;
 2008|       |#else
 2009|       |    int endian = 0;
 2010|       |#endif
 2011|       |
 2012|    128|    switch (fmt[0]) {
 2013|       |
 2014|       |    /* signed integers and fast path for 'B' */
 2015|      0|    case 'B': uc = *((const unsigned char *)ptr); goto convert_uc;
  ------------------
  |  Branch (2015:5): [True: 0, False: 128]
  ------------------
 2016|      0|    case 'b': ld =   *((const signed char *)ptr); goto convert_ld;
  ------------------
  |  Branch (2016:5): [True: 0, False: 128]
  ------------------
 2017|      0|    case 'h': UNPACK_SINGLE(ld, ptr, short); goto convert_ld;
  ------------------
  |  | 1982|      0|    do {                                   \
  |  | 1983|      0|        type x;                            \
  |  | 1984|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1985|      0|        dest = x;                          \
  |  | 1986|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1986:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2017:5): [True: 0, False: 128]
  ------------------
 2018|      0|    case 'i': UNPACK_SINGLE(ld, ptr, int); goto convert_ld;
  ------------------
  |  | 1982|      0|    do {                                   \
  |  | 1983|      0|        type x;                            \
  |  | 1984|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1985|      0|        dest = x;                          \
  |  | 1986|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1986:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2018:5): [True: 0, False: 128]
  ------------------
 2019|      0|    case 'l': UNPACK_SINGLE(ld, ptr, long); goto convert_ld;
  ------------------
  |  | 1982|      0|    do {                                   \
  |  | 1983|      0|        type x;                            \
  |  | 1984|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1985|      0|        dest = x;                          \
  |  | 1986|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1986:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2019:5): [True: 0, False: 128]
  ------------------
 2020|       |
 2021|       |    /* boolean */
 2022|      0|    case '?': ld = UNPACK_TO_BOOL(ptr); goto convert_bool;
  ------------------
  |  | 1885|      0|#define UNPACK_TO_BOOL(PTR) (memcmp((PTR), &bool_false, sizeof(_Bool)) != 0)
  ------------------
  |  Branch (2022:5): [True: 0, False: 128]
  ------------------
 2023|       |
 2024|       |    /* unsigned integers */
 2025|      0|    case 'H': UNPACK_SINGLE(lu, ptr, unsigned short); goto convert_lu;
  ------------------
  |  | 1982|      0|    do {                                   \
  |  | 1983|      0|        type x;                            \
  |  | 1984|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1985|      0|        dest = x;                          \
  |  | 1986|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1986:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2025:5): [True: 0, False: 128]
  ------------------
 2026|    128|    case 'I': UNPACK_SINGLE(lu, ptr, unsigned int); goto convert_lu;
  ------------------
  |  | 1982|    128|    do {                                   \
  |  | 1983|    128|        type x;                            \
  |  | 1984|    128|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1985|    128|        dest = x;                          \
  |  | 1986|    128|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1986:14): [Folded, False: 128]
  |  |  ------------------
  ------------------
  |  Branch (2026:5): [True: 128, False: 0]
  ------------------
 2027|      0|    case 'L': UNPACK_SINGLE(lu, ptr, unsigned long); goto convert_lu;
  ------------------
  |  | 1982|      0|    do {                                   \
  |  | 1983|      0|        type x;                            \
  |  | 1984|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1985|      0|        dest = x;                          \
  |  | 1986|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1986:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2027:5): [True: 0, False: 128]
  ------------------
 2028|       |
 2029|       |    /* native 64-bit */
 2030|      0|    case 'q': UNPACK_SINGLE(lld, ptr, long long); goto convert_lld;
  ------------------
  |  | 1982|      0|    do {                                   \
  |  | 1983|      0|        type x;                            \
  |  | 1984|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1985|      0|        dest = x;                          \
  |  | 1986|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1986:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2030:5): [True: 0, False: 128]
  ------------------
 2031|      0|    case 'Q': UNPACK_SINGLE(llu, ptr, unsigned long long); goto convert_llu;
  ------------------
  |  | 1982|      0|    do {                                   \
  |  | 1983|      0|        type x;                            \
  |  | 1984|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1985|      0|        dest = x;                          \
  |  | 1986|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1986:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2031:5): [True: 0, False: 128]
  ------------------
 2032|       |
 2033|       |    /* ssize_t and size_t */
 2034|      0|    case 'n': UNPACK_SINGLE(zd, ptr, Py_ssize_t); goto convert_zd;
  ------------------
  |  | 1982|      0|    do {                                   \
  |  | 1983|      0|        type x;                            \
  |  | 1984|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1985|      0|        dest = x;                          \
  |  | 1986|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1986:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2034:5): [True: 0, False: 128]
  ------------------
 2035|      0|    case 'N': UNPACK_SINGLE(zu, ptr, size_t); goto convert_zu;
  ------------------
  |  | 1982|      0|    do {                                   \
  |  | 1983|      0|        type x;                            \
  |  | 1984|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1985|      0|        dest = x;                          \
  |  | 1986|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1986:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2035:5): [True: 0, False: 128]
  ------------------
 2036|       |
 2037|       |    /* floats */
 2038|      0|    case 'f': UNPACK_SINGLE(d[0], ptr, float); goto convert_double;
  ------------------
  |  | 1982|      0|    do {                                   \
  |  | 1983|      0|        type x;                            \
  |  | 1984|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1985|      0|        dest = x;                          \
  |  | 1986|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1986:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2038:5): [True: 0, False: 128]
  ------------------
 2039|      0|    case 'd': UNPACK_SINGLE(d[0], ptr, double); goto convert_double;
  ------------------
  |  | 1982|      0|    do {                                   \
  |  | 1983|      0|        type x;                            \
  |  | 1984|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1985|      0|        dest = x;                          \
  |  | 1986|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1986:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2039:5): [True: 0, False: 128]
  ------------------
 2040|      0|    case 'e': d[0] = PyFloat_Unpack2(ptr, endian); goto convert_double;
  ------------------
  |  Branch (2040:5): [True: 0, False: 128]
  ------------------
 2041|       |
 2042|       |    /* complexes */
 2043|      0|    case 'Z': {
  ------------------
  |  Branch (2043:5): [True: 0, False: 128]
  ------------------
 2044|      0|        switch (fmt[1]) {
 2045|      0|        case 'f':
  ------------------
  |  Branch (2045:9): [True: 0, False: 0]
  ------------------
 2046|      0|            d[0] = PyFloat_Unpack4(ptr, endian);
 2047|      0|            d[1] = PyFloat_Unpack4(ptr + sizeof(float), endian);
 2048|      0|            goto convert_double_complex;
 2049|       |
 2050|      0|        case 'd':
  ------------------
  |  Branch (2050:9): [True: 0, False: 0]
  ------------------
 2051|      0|            d[0] = PyFloat_Unpack8(ptr, endian);
 2052|      0|            d[1] = PyFloat_Unpack8(ptr + sizeof(double), endian);
 2053|      0|            goto convert_double_complex;
 2054|       |
 2055|      0|        default: goto err_format;
  ------------------
  |  Branch (2055:9): [True: 0, False: 0]
  ------------------
 2056|      0|        }
 2057|      0|        break;
 2058|      0|    }
 2059|       |
 2060|       |    /* bytes object */
 2061|      0|    case 'c': goto convert_bytes;
  ------------------
  |  Branch (2061:5): [True: 0, False: 128]
  ------------------
 2062|       |
 2063|       |    /* pointer */
 2064|      0|    case 'P': UNPACK_SINGLE(p, ptr, void *); goto convert_pointer;
  ------------------
  |  | 1982|      0|    do {                                   \
  |  | 1983|      0|        type x;                            \
  |  | 1984|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1985|      0|        dest = x;                          \
  |  | 1986|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1986:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2064:5): [True: 0, False: 128]
  ------------------
 2065|       |
 2066|       |    /* default */
 2067|      0|    default: goto err_format;
  ------------------
  |  Branch (2067:5): [True: 0, False: 128]
  ------------------
 2068|    128|    }
 2069|       |
 2070|      0|convert_uc:
 2071|       |    /* PyLong_FromUnsignedLong() is slower */
 2072|      0|    return PyLong_FromLong(uc);
 2073|      0|convert_ld:
 2074|      0|    return PyLong_FromLong(ld);
 2075|    128|convert_lu:
 2076|    128|    return PyLong_FromUnsignedLong(lu);
 2077|      0|convert_lld:
 2078|      0|    return PyLong_FromLongLong(lld);
 2079|      0|convert_llu:
 2080|      0|    return PyLong_FromUnsignedLongLong(llu);
 2081|      0|convert_zd:
 2082|      0|    return PyLong_FromSsize_t(zd);
 2083|      0|convert_zu:
 2084|      0|    return PyLong_FromSize_t(zu);
 2085|      0|convert_double:
 2086|      0|    return PyFloat_FromDouble(d[0]);
 2087|      0|convert_double_complex:
 2088|      0|    return PyComplex_FromDoubles(d[0], d[1]);
 2089|      0|convert_bool:
 2090|      0|    return PyBool_FromLong(ld);
 2091|      0|convert_bytes:
 2092|      0|    return PyBytes_FromStringAndSize(ptr, 1);
 2093|      0|convert_pointer:
 2094|      0|    return PyLong_FromVoidPtr(p);
 2095|      0|err_format:
 2096|      0|    PyErr_Format(PyExc_NotImplementedError,
 2097|      0|        "memoryview: format %s not supported", fmt);
 2098|       |    return NULL;
 2099|    128|}
memoryobject.c:memory_dealloc:
 1278|  70.2k|{
 1279|  70.2k|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1280|  70.2k|    assert(get_exports(self) == 0);
  ------------------
  |  Branch (1280:5): [True: 70.2k, False: 0]
  ------------------
 1281|  70.2k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|  70.2k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  70.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1282|  70.2k|    _memory_release(self);
 1283|  70.2k|    Py_CLEAR(self->mbuf);
  ------------------
  |  |  487|  70.2k|    do { \
  |  |  488|  70.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  70.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  70.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  70.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  70.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  70.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 70.2k, False: 0]
  |  |  ------------------
  |  |  491|  70.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  70.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  70.2k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  70.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  70.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  70.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  70.2k|        } \
  |  |  494|  70.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 70.2k]
  |  |  ------------------
  ------------------
 1284|  70.2k|    if (self->weakreflist != NULL)
  ------------------
  |  Branch (1284:9): [True: 0, False: 70.2k]
  ------------------
 1285|      0|        PyObject_ClearWeakRefs((PyObject *) self);
 1286|  70.2k|    PyObject_GC_Del(self);
 1287|  70.2k|}
memoryobject.c:get_exports:
 1220|   140k|{
 1221|   140k|    return FT_ATOMIC_LOAD_SSIZE_RELAXED(buf->exports);
  ------------------
  |  |  151|   140k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1222|   140k|}
memoryobject.c:_memory_release:
 1235|  70.2k|{
 1236|  70.2k|    assert(get_exports(self) == 0);
  ------------------
  |  Branch (1236:5): [True: 70.2k, False: 0]
  ------------------
 1237|  70.2k|    if (mv_set_released(self)) {
  ------------------
  |  Branch (1237:9): [True: 0, False: 70.2k]
  ------------------
 1238|      0|        return;
 1239|      0|    }
 1240|       |
 1241|  70.2k|    mbuf_drop_export(self->mbuf);
 1242|  70.2k|}
memoryobject.c:mv_set_released:
  141|  70.2k|{
  142|  70.2k|    return flags_set_released(&mv->flags, _Py_MEMORYVIEW_RELEASED);
  ------------------
  |  |   20|  70.2k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  ------------------
  143|  70.2k|}
memoryobject.c:memory_length:
 3062|  15.9k|{
 3063|  15.9k|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 3064|  15.9k|    CHECK_RELEASED_INT(self);
  ------------------
  |  |  242|  15.9k|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  231|  15.9k|    (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  15.9k|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  15.9k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:6): [True: 0, False: 15.9k]
  |  |  |  |  ------------------
  |  |  |  |  232|  15.9k|     mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  15.9k|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                    mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  15.9k|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (232:6): [True: 0, False: 15.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  243|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  244|      0|            "operation forbidden on released memoryview object"); \
  |  |  245|      0|        return -1;                                                \
  |  |  246|      0|    }
  ------------------
 3065|  15.9k|    if (self->view.ndim == 0) {
  ------------------
  |  Branch (3065:9): [True: 0, False: 15.9k]
  ------------------
 3066|      0|        PyErr_SetString(PyExc_TypeError, "0-dim memory has no length");
 3067|      0|        return -1;
 3068|      0|    }
 3069|  15.9k|    return self->view.shape[0];
 3070|  15.9k|}
memoryobject.c:adjust_fmt:
 2425|      2|{
 2426|      2|    const char *fmt;
 2427|       |
 2428|      2|    fmt = (view->format[0] == '@') ? view->format+1 : view->format;
  ------------------
  |  Branch (2428:11): [True: 0, False: 2]
  ------------------
 2429|      2|    if (fmt[0] == 'Z' && fmt[1] && fmt[2] == '\0')
  ------------------
  |  Branch (2429:9): [True: 0, False: 2]
  |  Branch (2429:26): [True: 0, False: 0]
  |  Branch (2429:36): [True: 0, False: 0]
  ------------------
 2430|      0|        return fmt;
 2431|      2|    if (fmt[0] && fmt[1] == '\0')
  ------------------
  |  Branch (2431:9): [True: 2, False: 0]
  |  Branch (2431:19): [True: 2, False: 0]
  ------------------
 2432|      2|        return fmt;
 2433|       |
 2434|      0|    PyErr_Format(PyExc_NotImplementedError,
 2435|      0|        "memoryview: unsupported format %s", view->format);
 2436|       |    return NULL;
 2437|      2|}
memoryobject.c:memory_subscript:
 3086|    101|{
 3087|    101|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 3088|    101|    if (memoryview_pin(self) < 0) {
  ------------------
  |  Branch (3088:9): [True: 0, False: 101]
  ------------------
 3089|      0|        return NULL;
 3090|      0|    }
 3091|    101|    PyObject *result = memory_subscript_pinned(_self, key);
 3092|    101|    memoryview_unpin(self);
 3093|    101|    return result;
 3094|    101|}
memoryobject.c:memory_subscript_pinned:
 2896|    101|{
 2897|    101|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 2898|    101|    Py_buffer *view;
 2899|    101|    view = &(self->view);
 2900|       |
 2901|    101|    CHECK_RELEASED(self);
  ------------------
  |  |  235|    101|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  231|    101|    (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|    101|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|    101|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:6): [True: 0, False: 101]
  |  |  |  |  ------------------
  |  |  |  |  232|    101|     mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|    101|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                    mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|    101|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (232:6): [True: 0, False: 101]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  236|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  237|      0|            "operation forbidden on released memoryview object"); \
  |  |  238|      0|        return NULL;                                              \
  |  |  239|      0|    }
  ------------------
 2902|       |
 2903|    101|    if (view->ndim == 0) {
  ------------------
  |  Branch (2903:9): [True: 0, False: 101]
  ------------------
 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|    101|    if (_PyIndex_Check(key)) {
  ------------------
  |  Branch (2920:9): [True: 0, False: 101]
  ------------------
 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|    101|    else if (PySlice_Check(key)) {
  ------------------
  |  |   22|    101|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_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: 101, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2928|    101|        CHECK_RESTRICTED(self);
  ------------------
  |  |  249|    101|    if (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RESTRICTED)) { \
  |  |  ------------------
  |  |  |  |   38|    101|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   if (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RESTRICTED)) { \
  |  |  ------------------
  |  |  |  |   25|    101|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (249:9): [True: 0, False: 101]
  |  |  ------------------
  |  |  250|      0|        PyErr_SetString(PyExc_ValueError,                                 \
  |  |  251|      0|            "cannot create new view on restricted memoryview");           \
  |  |  252|      0|        return NULL;                                                      \
  |  |  253|      0|    }
  ------------------
 2929|    101|        PyMemoryViewObject *sliced;
 2930|       |
 2931|    101|        sliced = (PyMemoryViewObject *)mbuf_add_view(self->mbuf, view);
 2932|    101|        if (sliced == NULL)
  ------------------
  |  Branch (2932:13): [True: 0, False: 101]
  ------------------
 2933|      0|            return NULL;
 2934|       |
 2935|    101|        if (init_slice(&sliced->view, key, 0) < 0) {
  ------------------
  |  Branch (2935:13): [True: 0, False: 101]
  ------------------
 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|    101|        init_len(&sliced->view);
 2940|    101|        init_flags(sliced);
 2941|       |
 2942|    101|        return (PyObject *)sliced;
 2943|    101|    }
 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|    101|}
memoryobject.c:init_slice:
 2825|    101|{
 2826|    101|    Py_ssize_t start, stop, step, slicelength;
 2827|       |
 2828|    101|    if (PySlice_Unpack(key, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (2828:9): [True: 0, False: 101]
  ------------------
 2829|      0|        return -1;
 2830|      0|    }
 2831|    101|    slicelength = PySlice_AdjustIndices(base->shape[dim], &start, &stop, step);
 2832|       |
 2833|       |
 2834|    101|    if (base->suboffsets == NULL || dim == 0) {
  ------------------
  |  Branch (2834:9): [True: 101, False: 0]
  |  Branch (2834:37): [True: 0, False: 0]
  ------------------
 2835|    101|    adjust_buf:
 2836|    101|        base->buf = (char *)base->buf + base->strides[dim] * start;
 2837|    101|    }
 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|    101|    base->shape[dim] = slicelength;
 2847|    101|    base->strides[dim] = base->strides[dim] * step;
 2848|       |
 2849|    101|    return 0;
 2850|    101|}
memoryobject.c:init_len:
  648|    101|{
  649|    101|    Py_ssize_t i, len;
  650|       |
  651|    101|    len = 1;
  652|    202|    for (i = 0; i < view->ndim; i++)
  ------------------
  |  Branch (652:17): [True: 101, False: 101]
  ------------------
  653|    101|        len *= view->shape[i];
  654|    101|    len *= view->itemsize;
  655|       |
  656|    101|    view->len = len;
  657|    101|}
memoryobject.c:get_native_fmtchar:
 1345|      4|{
 1346|      4|    Py_ssize_t size = -1;
 1347|       |
 1348|      4|    if (fmt[0] == '@') fmt++;
  ------------------
  |  Branch (1348:9): [True: 0, False: 4]
  ------------------
 1349|       |
 1350|      4|    switch (fmt[0]) {
  ------------------
  |  Branch (1350:13): [True: 4, False: 0]
  ------------------
 1351|      2|    case 'c': case 'b': case 'B': size = sizeof(char); break;
  ------------------
  |  Branch (1351:5): [True: 0, False: 4]
  |  Branch (1351:15): [True: 0, False: 4]
  |  Branch (1351:25): [True: 2, False: 2]
  ------------------
 1352|      0|    case 'h': case 'H': size = sizeof(short); break;
  ------------------
  |  Branch (1352:5): [True: 0, False: 4]
  |  Branch (1352:15): [True: 0, False: 4]
  ------------------
 1353|      2|    case 'i': case 'I': size = sizeof(int); break;
  ------------------
  |  Branch (1353:5): [True: 0, False: 4]
  |  Branch (1353:15): [True: 2, False: 2]
  ------------------
 1354|      0|    case 'l': case 'L': size = sizeof(long); break;
  ------------------
  |  Branch (1354:5): [True: 0, False: 4]
  |  Branch (1354:15): [True: 0, False: 4]
  ------------------
 1355|      0|    case 'q': case 'Q': size = sizeof(long long); break;
  ------------------
  |  Branch (1355:5): [True: 0, False: 4]
  |  Branch (1355:15): [True: 0, False: 4]
  ------------------
 1356|      0|    case 'n': case 'N': size = sizeof(Py_ssize_t); break;
  ------------------
  |  Branch (1356:5): [True: 0, False: 4]
  |  Branch (1356:15): [True: 0, False: 4]
  ------------------
 1357|      0|    case 'f': size = sizeof(float); break;
  ------------------
  |  Branch (1357:5): [True: 0, False: 4]
  ------------------
 1358|      0|    case 'd': size = sizeof(double); break;
  ------------------
  |  Branch (1358:5): [True: 0, False: 4]
  ------------------
 1359|      0|    case 'e': size = sizeof(float) / 2; break;
  ------------------
  |  Branch (1359:5): [True: 0, False: 4]
  ------------------
 1360|      0|    case '?': size = sizeof(_Bool); break;
  ------------------
  |  Branch (1360:5): [True: 0, False: 4]
  ------------------
 1361|      0|    case 'P': size = sizeof(void *); break;
  ------------------
  |  Branch (1361:5): [True: 0, False: 4]
  ------------------
 1362|      0|    case 'Z': {
  ------------------
  |  Branch (1362:5): [True: 0, False: 4]
  ------------------
 1363|      0|        switch (fmt[1]) {
  ------------------
  |  Branch (1363:17): [True: 0, False: 0]
  ------------------
 1364|      0|            case 'f': size = 2*sizeof(float); break;
  ------------------
  |  Branch (1364:13): [True: 0, False: 0]
  ------------------
 1365|      0|            case 'd': size = 2*sizeof(double); break;
  ------------------
  |  Branch (1365:13): [True: 0, False: 0]
  ------------------
 1366|      0|        }
 1367|      0|        if (size > 0 && fmt[2] == '\0') {
  ------------------
  |  Branch (1367:13): [True: 0, False: 0]
  |  Branch (1367:25): [True: 0, False: 0]
  ------------------
 1368|      0|            *result = fmt;
 1369|      0|            return size;
 1370|      0|        }
 1371|      0|        break;
 1372|      0|    }
 1373|      4|    }
 1374|       |
 1375|      4|    if (size > 0 && fmt[1] == '\0') {
  ------------------
  |  Branch (1375:9): [True: 4, False: 0]
  |  Branch (1375:21): [True: 4, False: 0]
  ------------------
 1376|      4|        *result = fmt;
 1377|      4|        return size;
 1378|      4|    }
 1379|       |
 1380|      0|    return -1;
 1381|      4|}
memoryobject.c:memory_getbuf:
 1740|  69.8k|{
 1741|  69.8k|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1742|  69.8k|    Py_buffer *base = &self->view;
 1743|  69.8k|    int baseflags = mv_get_flags(self);
 1744|       |
 1745|  69.8k|    CHECK_RELEASED_INT(self);
  ------------------
  |  |  242|  69.8k|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  231|  69.8k|    (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  69.8k|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  69.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  69.8k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:6): [True: 0, False: 69.8k]
  |  |  |  |  ------------------
  |  |  |  |  232|  69.8k|     mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  69.8k|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  69.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                    mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  69.8k|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (232:6): [True: 0, False: 69.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  243|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  244|      0|            "operation forbidden on released memoryview object"); \
  |  |  245|      0|        return -1;                                                \
  |  |  246|      0|    }
  ------------------
 1746|  69.8k|    CHECK_RESTRICTED_INT(self);
  ------------------
  |  |  256|  69.8k|    if (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RESTRICTED)) { \
  |  |  ------------------
  |  |  |  |   38|  69.8k|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  69.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   if (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RESTRICTED)) { \
  |  |  ------------------
  |  |  |  |   25|  69.8k|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (256:9): [True: 0, False: 69.8k]
  |  |  ------------------
  |  |  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|  69.8k|    *view = *base;
 1750|  69.8k|    view->obj = NULL;
 1751|       |
 1752|  69.8k|    if (REQ_WRITABLE(flags) && base->readonly) {
  ------------------
  |  |  300|   139k|#define REQ_WRITABLE(flags) (flags&PyBUF_WRITABLE)
  |  |  ------------------
  |  |  |  |  109|  69.8k|#define PyBUF_WRITABLE 0x0001
  |  |  ------------------
  |  |  |  Branch (300:29): [True: 0, False: 69.8k]
  |  |  ------------------
  ------------------
  |  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|  69.8k|    if (!REQ_FORMAT(flags)) {
  ------------------
  |  |  301|  69.8k|#define REQ_FORMAT(flags) (flags&PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|  69.8k|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (1757:9): [True: 53.4k, False: 16.4k]
  ------------------
 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|  53.4k|        view->format = NULL;
 1764|  53.4k|    }
 1765|       |
 1766|  69.8k|    if (REQ_C_CONTIGUOUS(flags) && !MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  295|   139k|#define REQ_C_CONTIGUOUS(flags) ((flags&PyBUF_C_CONTIGUOUS) == PyBUF_C_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  119|  69.8k|#define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  69.8k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  69.8k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_C_CONTIGUOUS(flags) ((flags&PyBUF_C_CONTIGUOUS) == PyBUF_C_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  119|  69.8k|#define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  69.8k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  69.8k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (295:33): [True: 0, False: 69.8k]
  |  |  ------------------
  ------------------
                  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|  69.8k|    if (REQ_F_CONTIGUOUS(flags) && !MV_F_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  296|   139k|#define REQ_F_CONTIGUOUS(flags) ((flags&PyBUF_F_CONTIGUOUS) == PyBUF_F_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  120|  69.8k|#define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  69.8k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  69.8k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_F_CONTIGUOUS(flags) ((flags&PyBUF_F_CONTIGUOUS) == PyBUF_F_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  120|  69.8k|#define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  69.8k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  69.8k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (296:33): [True: 0, False: 69.8k]
  |  |  ------------------
  ------------------
                  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|  69.8k|    if (REQ_ANY_CONTIGUOUS(flags) && !MV_ANY_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  297|   139k|#define REQ_ANY_CONTIGUOUS(flags) ((flags&PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  121|  69.8k|#define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  69.8k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  69.8k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_ANY_CONTIGUOUS(flags) ((flags&PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  121|  69.8k|#define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  69.8k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  69.8k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (297:35): [True: 0, False: 69.8k]
  |  |  ------------------
  ------------------
                  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|  69.8k|    if (!REQ_INDIRECT(flags) && (baseflags & _Py_MEMORYVIEW_PIL)) {
  ------------------
  |  |  294|   139k|#define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
  |  |  ------------------
  |  |  |  |  122|  69.8k|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  69.8k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  69.8k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
  |  |  ------------------
  |  |  |  |  122|  69.8k|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  69.8k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  69.8k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!REQ_INDIRECT(flags) && (baseflags & _Py_MEMORYVIEW_PIL)) {
  ------------------
  |  |   24|  53.4k|#define _Py_MEMORYVIEW_PIL         0x010  /* PIL-style layout */
  ------------------
  |  Branch (1781:9): [True: 53.4k, False: 16.4k]
  |  Branch (1781:33): [True: 0, False: 53.4k]
  ------------------
 1782|      0|        PyErr_SetString(PyExc_BufferError,
 1783|      0|            "memoryview: underlying buffer requires suboffsets");
 1784|      0|        return -1;
 1785|      0|    }
 1786|  69.8k|    if (!REQ_STRIDES(flags)) {
  ------------------
  |  |  298|  69.8k|#define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES)
  |  |  ------------------
  |  |  |  |  118|  69.8k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  69.8k|#define PyBUF_ND 0x0008
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES)
  |  |  ------------------
  |  |  |  |  118|  69.8k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  69.8k|#define PyBUF_ND 0x0008
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1786:9): [True: 53.4k, False: 16.4k]
  ------------------
 1787|  53.4k|        if (!MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  283|  53.4k|#define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   23|  53.4k|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  |  |  ------------------
  |  |               #define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   21|  53.4k|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  |  |  ------------------
  ------------------
  |  Branch (1787:13): [True: 0, False: 53.4k]
  ------------------
 1788|      0|            PyErr_SetString(PyExc_BufferError,
 1789|      0|                "memoryview: underlying buffer is not C-contiguous");
 1790|      0|            return -1;
 1791|      0|        }
 1792|  53.4k|        view->strides = NULL;
 1793|  53.4k|    }
 1794|  69.8k|    if (!REQ_SHAPE(flags)) {
  ------------------
  |  |  299|  69.8k|#define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|  69.8k|#define PyBUF_ND 0x0008
  |  |  ------------------
  |  |               #define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|  69.8k|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (1794:9): [True: 53.4k, False: 16.4k]
  ------------------
 1795|       |        /* PyBUF_SIMPLE or PyBUF_WRITABLE: at this point buf is C-contiguous,
 1796|       |           so base->buf = ndbuf->data. */
 1797|  53.4k|        if (view->format != NULL) {
  ------------------
  |  Branch (1797:13): [True: 0, False: 53.4k]
  ------------------
 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|  53.4k|        view->ndim = 1;
 1808|  53.4k|        view->shape = NULL;
 1809|  53.4k|    }
 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|  69.8k|    self->exports++;
 1818|  69.8k|#endif
 1819|       |
 1820|  69.8k|    view->obj = Py_NewRef(self);
  ------------------
  |  |  647|  69.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  69.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  69.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1821|  69.8k|    return 0;
 1822|  69.8k|}
memoryobject.c:memory_releasebuf:
 1826|  69.8k|{
 1827|  69.8k|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1828|  69.8k|    FT_ATOMIC_ADD_SSIZE(self->exports, -1);
  ------------------
  |  |  206|  69.8k|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
 1829|  69.8k|    return;
 1830|       |    /* PyBuffer_Release() decrements view->obj after this function returns. */
 1831|  69.8k|}
memoryobject.c:memory_traverse:
 1291|     14|{
 1292|     14|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1293|     14|    Py_VISIT(self->mbuf);
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 14, False: 0]
  |  |  ------------------
  |  |  196|     14|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     14|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 14]
  |  |  ------------------
  |  |  198|     14|                return vret;                                            \
  |  |  199|     14|        }                                                               \
  |  |  200|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1294|     14|    return 0;
 1295|     14|}
memoryobject.c:memoryview_tolist_impl:
 2538|      2|{
 2539|      2|    if (memoryview_pin(self) < 0) {
  ------------------
  |  Branch (2539:9): [True: 0, False: 2]
  ------------------
 2540|      0|        return NULL;
 2541|      0|    }
 2542|      2|    PyObject *result = memoryview_tolist_pinned(self);
 2543|      2|    memoryview_unpin(self);
 2544|      2|    return result;
 2545|      2|}
memoryobject.c:memoryview_tolist_pinned:
 2505|      2|{
 2506|      2|    const Py_buffer *view = &self->view;
 2507|      2|    const char *fmt;
 2508|       |
 2509|      2|    CHECK_RELEASED(self);
  ------------------
  |  |  235|      2|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  231|      2|    (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|      2|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      2|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:6): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |  232|      2|     mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|      2|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                    mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      2|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (232:6): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  236|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  237|      0|            "operation forbidden on released memoryview object"); \
  |  |  238|      0|        return NULL;                                              \
  |  |  239|      0|    }
  ------------------
 2510|       |
 2511|      2|    fmt = adjust_fmt(view);
 2512|      2|    if (fmt == NULL)
  ------------------
  |  Branch (2512:9): [True: 0, False: 2]
  ------------------
 2513|      0|        return NULL;
 2514|      2|    if (view->ndim == 0) {
  ------------------
  |  Branch (2514:9): [True: 0, False: 2]
  ------------------
 2515|      0|        return unpack_single(self, view->buf, fmt);
 2516|      0|    }
 2517|      2|    else if (view->ndim == 1) {
  ------------------
  |  Branch (2517:14): [True: 2, False: 0]
  ------------------
 2518|      2|        return tolist_base(self, view->buf, view->shape,
 2519|      2|                           view->strides, view->suboffsets,
 2520|      2|                           fmt);
 2521|      2|    }
 2522|      0|    else {
 2523|      0|        return tolist_rec(self, view->buf, view->ndim, view->shape,
 2524|      0|                          view->strides, view->suboffsets,
 2525|      0|                          fmt);
 2526|      0|    }
 2527|      2|}
memoryobject.c:tolist_base:
 2444|      2|{
 2445|      2|    PyObject *lst, *item;
 2446|      2|    Py_ssize_t i;
 2447|       |
 2448|      2|    lst = PyList_New(shape[0]);
 2449|      2|    if (lst == NULL)
  ------------------
  |  Branch (2449:9): [True: 0, False: 2]
  ------------------
 2450|      0|        return NULL;
 2451|       |
 2452|    130|    for (i = 0; i < shape[0]; ptr+=strides[0], i++) {
  ------------------
  |  Branch (2452:17): [True: 128, False: 2]
  ------------------
 2453|    128|        const char *xptr = ADJUST_PTR(ptr, suboffsets, 0);
  ------------------
  |  |  280|    128|    (HAVE_PTR(suboffsets, dim) ? *((char**)ptr) + suboffsets[dim] : ptr)
  |  |  ------------------
  |  |  |  |  277|    128|#define HAVE_PTR(suboffsets, dim) (suboffsets && suboffsets[dim] >= 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:36): [True: 0, False: 128]
  |  |  |  |  |  Branch (277:50): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2454|    128|        item = unpack_single(self, xptr, fmt);
 2455|    128|        if (item == NULL) {
  ------------------
  |  Branch (2455:13): [True: 0, False: 128]
  ------------------
 2456|      0|            Py_DECREF(lst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2457|      0|            return NULL;
 2458|      0|        }
 2459|    128|        PyList_SET_ITEM(lst, i, item);
  ------------------
  |  |   50|    128|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    128|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    128|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2460|    128|    }
 2461|       |
 2462|      2|    return lst;
 2463|      2|}
memoryobject.c:memoryview_cast_impl:
 1691|      2|{
 1692|      2|    if (memoryview_pin(self) < 0) {
  ------------------
  |  Branch (1692:9): [True: 0, False: 2]
  ------------------
 1693|      0|        return NULL;
 1694|      0|    }
 1695|      2|    PyObject *result = memoryview_cast_pinned(self, format, shape, order);
 1696|      2|    memoryview_unpin(self);
 1697|      2|    return result;
 1698|      2|}
memoryobject.c:memoryview_cast_pinned:
 1614|      2|{
 1615|      2|    PyMemoryViewObject *mv = NULL;
 1616|      2|    Py_ssize_t ndim = 1;
 1617|       |
 1618|      2|    CHECK_RELEASED(self);
  ------------------
  |  |  235|      2|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  231|      2|    (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|      2|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      2|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:6): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |  232|      2|     mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|      2|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                    mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      2|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (232:6): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  236|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  237|      0|            "operation forbidden on released memoryview object"); \
  |  |  238|      0|        return NULL;                                              \
  |  |  239|      0|    }
  ------------------
 1619|      2|    CHECK_RESTRICTED(self);
  ------------------
  |  |  249|      2|    if (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RESTRICTED)) { \
  |  |  ------------------
  |  |  |  |   38|      2|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   if (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RESTRICTED)) { \
  |  |  ------------------
  |  |  |  |   25|      2|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (249:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  250|      0|        PyErr_SetString(PyExc_ValueError,                                 \
  |  |  251|      0|            "cannot create new view on restricted memoryview");           \
  |  |  252|      0|        return NULL;                                                      \
  |  |  253|      0|    }
  ------------------
 1620|       |
 1621|      2|    if (order != 'C' && order != 'F') {
  ------------------
  |  Branch (1621:9): [True: 0, False: 2]
  |  Branch (1621:25): [True: 0, False: 0]
  ------------------
 1622|      0|        PyErr_SetString(PyExc_ValueError, "order must be 'C' or 'F'");
 1623|      0|        return NULL;
 1624|      0|    }
 1625|       |
 1626|      2|    int self_flags = mv_get_flags(self);
 1627|      2|    if (!MV_C_CONTIGUOUS(self_flags)) {
  ------------------
  |  |  283|      2|#define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   23|      2|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  |  |  ------------------
  |  |               #define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   21|      2|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  |  |  ------------------
  ------------------
  |  Branch (1627:9): [True: 0, False: 2]
  ------------------
 1628|      0|        if (shape || !MV_F_CONTIGUOUS(self_flags)) {
  ------------------
  |  |  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 (1628:13): [True: 0, False: 0]
  |  Branch (1628:22): [True: 0, False: 0]
  ------------------
 1629|      0|            PyErr_SetString(PyExc_TypeError,
 1630|      0|                "memoryview: casts are restricted to contiguous views");
 1631|      0|            return NULL;
 1632|      0|        }
 1633|      0|    }
 1634|      2|    if ((shape || self->view.ndim != 1) && zero_in_shape(self)) {
  ------------------
  |  Branch (1634:10): [True: 0, False: 2]
  |  Branch (1634:19): [True: 0, False: 2]
  |  Branch (1634:44): [True: 0, False: 0]
  ------------------
 1635|      0|        PyErr_SetString(PyExc_TypeError,
 1636|      0|            "memoryview: cannot cast view with zeros in shape or strides");
 1637|      0|        return NULL;
 1638|      0|    }
 1639|      2|    if (shape) {
  ------------------
  |  Branch (1639:9): [True: 0, False: 2]
  ------------------
 1640|      0|        CHECK_LIST_OR_TUPLE(shape)
  ------------------
  |  |  268|      0|    if (!PyList_Check(v) && !PyTuple_Check(v)) { \
  |  |  ------------------
  |  |  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   if (!PyList_Check(v) && !PyTuple_Check(v)) { \
  |  |  ------------------
  |  |  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (268:9): [True: 0, False: 0]
  |  |  |  Branch (268:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  269|      0|        PyErr_SetString(PyExc_TypeError,         \
  |  |  270|      0|            #v " must be a list or a tuple");    \
  |  |  271|      0|        return NULL;                             \
  |  |  272|      0|    }
  ------------------
 1641|      0|        ndim = PySequence_Fast_GET_SIZE(shape);
  ------------------
  |  |   92|      0|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1642|      0|        if (ndim > PyBUF_MAX_NDIM) {
  ------------------
  |  |  105|      0|#define PyBUF_MAX_NDIM 64
  ------------------
  |  Branch (1642:13): [True: 0, False: 0]
  ------------------
 1643|      0|            PyErr_SetString(PyExc_ValueError,
 1644|      0|                "memoryview: number of dimensions must not exceed "
 1645|      0|                Py_STRINGIFY(PyBUF_MAX_NDIM));
  ------------------
  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  ------------------
  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  ------------------
  ------------------
 1646|      0|            return NULL;
 1647|      0|        }
 1648|      0|        if (self->view.ndim != 1 && ndim != 1) {
  ------------------
  |  Branch (1648:13): [True: 0, False: 0]
  |  Branch (1648:37): [True: 0, False: 0]
  ------------------
 1649|      0|            PyErr_SetString(PyExc_TypeError,
 1650|      0|                "memoryview: cast must be 1D -> ND or ND -> 1D");
 1651|      0|            return NULL;
 1652|      0|        }
 1653|      0|    }
 1654|       |
 1655|      2|    mv = (PyMemoryViewObject *)
 1656|      2|        mbuf_add_incomplete_view(self->mbuf, &self->view, ndim==0 ? 1 : (int)ndim);
  ------------------
  |  Branch (1656:59): [True: 0, False: 2]
  ------------------
 1657|      2|    if (mv == NULL)
  ------------------
  |  Branch (1657:9): [True: 0, False: 2]
  ------------------
 1658|      0|        return NULL;
 1659|       |
 1660|      2|    if (cast_to_1D(mv, format) < 0)
  ------------------
  |  Branch (1660:9): [True: 0, False: 2]
  ------------------
 1661|      0|        goto error;
 1662|      2|    if (shape && cast_to_ND(mv, shape, (int)ndim, (char)order) < 0)
  ------------------
  |  Branch (1662:9): [True: 0, False: 2]
  |  Branch (1662:18): [True: 0, False: 0]
  ------------------
 1663|      0|        goto error;
 1664|       |
 1665|      2|    return (PyObject *)mv;
 1666|       |
 1667|      0|error:
 1668|      0|    Py_DECREF(mv);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1669|       |    return NULL;
 1670|      2|}
memoryobject.c:cast_to_1D:
 1446|      2|{
 1447|      2|    Py_buffer *view = &mv->view;
 1448|      2|    PyObject *asciifmt;
 1449|      2|    const char *srcfmt, *destfmt;
 1450|      2|    Py_ssize_t itemsize;
 1451|      2|    int ret = -1;
 1452|       |
 1453|      2|    assert(view->ndim >= 1);
  ------------------
  |  Branch (1453:5): [True: 2, False: 0]
  ------------------
 1454|      2|    assert(Py_SIZE(mv) == 3*view->ndim);
  ------------------
  |  Branch (1454:5): [True: 2, False: 0]
  ------------------
 1455|      2|    assert(view->shape == mv->ob_array);
  ------------------
  |  Branch (1455:5): [True: 2, False: 0]
  ------------------
 1456|      2|    assert(view->strides == mv->ob_array + view->ndim);
  ------------------
  |  Branch (1456:5): [True: 2, False: 0]
  ------------------
 1457|      2|    assert(view->suboffsets == mv->ob_array + 2*view->ndim);
  ------------------
  |  Branch (1457:5): [True: 2, False: 0]
  ------------------
 1458|       |
 1459|      2|    asciifmt = PyUnicode_AsASCIIString(format);
 1460|      2|    if (asciifmt == NULL)
  ------------------
  |  Branch (1460:9): [True: 0, False: 2]
  ------------------
 1461|      0|        return ret;
 1462|       |
 1463|      2|    itemsize = get_native_fmtchar(&destfmt, PyBytes_AS_STRING(asciifmt));
  ------------------
  |  |   27|      2|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1464|      2|    if (itemsize < 0) {
  ------------------
  |  Branch (1464:9): [True: 0, False: 2]
  ------------------
 1465|      0|        PyErr_SetString(PyExc_ValueError,
 1466|      0|            "memoryview: destination format must be a native "
 1467|      0|            "format prefixed with an optional '@'");
 1468|      0|        goto out;
 1469|      0|    }
 1470|       |
 1471|      2|    if ((get_native_fmtchar(&srcfmt, view->format) < 0 ||
  ------------------
  |  Branch (1471:10): [True: 0, False: 2]
  ------------------
 1472|      2|         !IS_BYTE_FORMAT(srcfmt)) && !IS_BYTE_FORMAT(destfmt)) {
  ------------------
  |  | 1341|      2|    (strcmp(f, "b") == 0 || strcmp(f, "B") == 0 || strcmp(f, "c") == 0)
  |  |  ------------------
  |  |  |  Branch (1341:6): [True: 0, False: 2]
  |  |  |  Branch (1341:29): [True: 2, False: 0]
  |  |  |  Branch (1341:52): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                       !IS_BYTE_FORMAT(srcfmt)) && !IS_BYTE_FORMAT(destfmt)) {
  ------------------
  |  | 1341|      0|    (strcmp(f, "b") == 0 || strcmp(f, "B") == 0 || strcmp(f, "c") == 0)
  |  |  ------------------
  |  |  |  Branch (1341:6): [True: 0, False: 0]
  |  |  |  Branch (1341:29): [True: 0, False: 0]
  |  |  |  Branch (1341:52): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1473|      0|        PyErr_SetString(PyExc_TypeError,
 1474|      0|            "memoryview: cannot cast between two non-byte formats");
 1475|      0|        goto out;
 1476|      0|    }
 1477|      2|    if (view->len % itemsize) {
  ------------------
  |  Branch (1477:9): [True: 0, False: 2]
  ------------------
 1478|      0|        PyErr_SetString(PyExc_TypeError,
 1479|      0|            "memoryview: length is not a multiple of itemsize");
 1480|      0|        goto out;
 1481|      0|    }
 1482|       |
 1483|      2|    view->format = (char *)get_native_fmtstr(PyBytes_AS_STRING(asciifmt));
  ------------------
  |  |   27|      2|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1484|      2|    if (view->format == NULL) {
  ------------------
  |  Branch (1484:9): [True: 0, False: 2]
  ------------------
 1485|       |        /* NOT_REACHED: get_native_fmtchar() already validates the format. */
 1486|      0|        PyErr_SetString(PyExc_RuntimeError,
 1487|      0|            "memoryview: internal error");
 1488|      0|        goto out;
 1489|      0|    }
 1490|      2|    view->itemsize = itemsize;
 1491|       |
 1492|      2|    view->ndim = 1;
 1493|      2|    view->shape[0] = view->len / view->itemsize;
 1494|      2|    view->strides[0] = view->itemsize;
 1495|      2|    view->suboffsets = NULL;
 1496|       |
 1497|      2|    init_flags(mv);
 1498|       |
 1499|      2|    ret = 0;
 1500|       |
 1501|      2|out:
 1502|      2|    Py_DECREF(asciifmt);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1503|      2|    return ret;
 1504|      2|}
memoryobject.c:get_native_fmtstr:
 1385|      2|{
 1386|      2|    int at = 0;
 1387|       |
 1388|      2|    if (fmt[0] == '@') {
  ------------------
  |  Branch (1388:9): [True: 0, False: 2]
  ------------------
 1389|      0|        at = 1;
 1390|      0|        fmt++;
 1391|      0|    }
 1392|      2|    if (fmt[0] == '\0') {
  ------------------
  |  Branch (1392:9): [True: 0, False: 2]
  ------------------
 1393|      0|        return NULL;
 1394|      0|    }
 1395|      2|    if (fmt[0] == 'Z') {
  ------------------
  |  Branch (1395:9): [True: 0, False: 2]
  ------------------
 1396|      0|        if (fmt[1] == '\0' || fmt[2] != '\0') {
  ------------------
  |  Branch (1396:13): [True: 0, False: 0]
  |  Branch (1396:31): [True: 0, False: 0]
  ------------------
 1397|      0|            return NULL;
 1398|      0|        }
 1399|      0|    }
 1400|      2|    else {
 1401|      2|        if (fmt[1] != '\0') {
  ------------------
  |  Branch (1401:13): [True: 0, False: 2]
  ------------------
 1402|      0|            return NULL;
 1403|      0|        }
 1404|      2|    }
 1405|       |
 1406|      2|#define RETURN(s) do { return at ? "@" s : s; } while (0)
 1407|       |
 1408|      2|    switch (fmt[0]) {
  ------------------
  |  Branch (1408:13): [True: 2, False: 0]
  ------------------
 1409|      0|    case 'c': RETURN("c");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1409:5): [True: 0, False: 2]
  ------------------
 1410|      0|    case 'b': RETURN("b");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1410:5): [True: 0, False: 2]
  ------------------
 1411|      0|    case 'B': RETURN("B");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1411:5): [True: 0, False: 2]
  ------------------
 1412|      0|    case 'h': RETURN("h");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1412:5): [True: 0, False: 2]
  ------------------
 1413|      0|    case 'H': RETURN("H");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1413:5): [True: 0, False: 2]
  ------------------
 1414|      0|    case 'i': RETURN("i");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1414:5): [True: 0, False: 2]
  ------------------
 1415|      2|    case 'I': RETURN("I");
  ------------------
  |  | 1406|      2|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 2]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1415:5): [True: 2, False: 0]
  ------------------
 1416|      0|    case 'l': RETURN("l");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1416:5): [True: 0, False: 2]
  ------------------
 1417|      0|    case 'L': RETURN("L");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1417:5): [True: 0, False: 2]
  ------------------
 1418|      0|    case 'q': RETURN("q");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1418:5): [True: 0, False: 2]
  ------------------
 1419|      0|    case 'Q': RETURN("Q");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1419:5): [True: 0, False: 2]
  ------------------
 1420|      0|    case 'n': RETURN("n");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1420:5): [True: 0, False: 2]
  ------------------
 1421|      0|    case 'N': RETURN("N");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1421:5): [True: 0, False: 2]
  ------------------
 1422|      0|    case 'f': RETURN("f");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1422:5): [True: 0, False: 2]
  ------------------
 1423|      0|    case 'd': RETURN("d");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1423:5): [True: 0, False: 2]
  ------------------
 1424|      0|    case 'e': RETURN("e");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1424:5): [True: 0, False: 2]
  ------------------
 1425|      0|    case 'Z': {
  ------------------
  |  Branch (1425:5): [True: 0, False: 2]
  ------------------
 1426|      0|        switch (fmt[1]) {
  ------------------
  |  Branch (1426:17): [True: 0, False: 0]
  ------------------
 1427|      0|        case 'f': RETURN("Zf");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1427:9): [True: 0, False: 0]
  ------------------
 1428|      0|        case 'd': RETURN("Zd");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1428:9): [True: 0, False: 0]
  ------------------
 1429|      0|        }
 1430|      0|        break;
 1431|      0|    }
 1432|      0|    case '?': RETURN("?");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1432:5): [True: 0, False: 2]
  ------------------
 1433|      0|    case 'P': RETURN("P");
  ------------------
  |  | 1406|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1406:31): [True: 0, False: 0]
  |  |  |  Branch (1406:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1433:5): [True: 0, False: 2]
  ------------------
 1434|      2|    }
 1435|       |
 1436|      0|    return NULL;
 1437|      2|}
memoryobject.c:memory_itemsize_get:
 3796|      4|{
 3797|      4|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 3798|      4|    CHECK_RELEASED(self);
  ------------------
  |  |  235|      4|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  231|      4|    (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|      4|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (mv_has_flag(_PyMemoryView_CAST(mv), _Py_MEMORYVIEW_RELEASED) || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      4|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:6): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  232|      4|     mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|      4|#define _PyMemoryView_CAST(op) _Py_CAST(PyMemoryViewObject*, op)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                    mbuf_has_flag(_PyMemoryView_CAST(mv)->mbuf, _Py_MANAGED_BUFFER_RELEASED))
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      4|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (232:6): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  236|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  237|      0|            "operation forbidden on released memoryview object"); \
  |  |  238|      0|        return NULL;                                              \
  |  |  239|      0|    }
  ------------------
 3799|      4|    return PyLong_FromSsize_t(self->view.itemsize);
 3800|      4|}
memoryobject.c:memoryview_impl:
 1145|    103|{
 1146|    103|    return PyMemoryView_FromObject(object);
 1147|    103|}

PyCMethod_New:
   48|  1.43M|{
   49|       |    /* Figure out correct vectorcall function to use */
   50|  1.43M|    vectorcallfunc vectorcall;
   51|  1.43M|    switch (ml->ml_flags & _Py_METH_CALL_FLAGS)
  ------------------
  |  |   17|  1.43M|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   95|  1.43M|#define METH_VARARGS  0x0001
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |  115|  1.43M|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   98|  1.43M|#define METH_NOARGS   0x0004
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   99|  1.43M|#define METH_O        0x0008
  |  |  ------------------
  |  |   18|  1.43M|     METH_KEYWORDS | METH_METHOD)
  |  |  ------------------
  |  |  |  |   96|  1.43M|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  ------------------
  |  |  |  |  133|  1.43M|#define METH_METHOD 0x0200
  |  |  ------------------
  ------------------
   52|  1.43M|    {
   53|      7|        case METH_VARARGS:
  ------------------
  |  |   95|      7|#define METH_VARARGS  0x0001
  ------------------
  |  Branch (53:9): [True: 7, False: 1.43M]
  ------------------
   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: 0, False: 1.43M]
  ------------------
   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|   405k|        case METH_FASTCALL:
  ------------------
  |  |  115|   405k|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (59:9): [True: 405k, False: 1.02M]
  ------------------
   60|   405k|            vectorcall = cfunction_vectorcall_FASTCALL;
   61|   405k|            break;
   62|  16.4k|        case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|  16.4k|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|  16.4k|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (62:9): [True: 16.4k, False: 1.41M]
  ------------------
   63|  16.4k|            vectorcall = cfunction_vectorcall_FASTCALL_KEYWORDS;
   64|  16.4k|            break;
   65|  1.25k|        case METH_NOARGS:
  ------------------
  |  |   98|  1.25k|#define METH_NOARGS   0x0004
  ------------------
  |  Branch (65:9): [True: 1.25k, False: 1.43M]
  ------------------
   66|  1.25k|            vectorcall = cfunction_vectorcall_NOARGS;
   67|  1.25k|            break;
   68|  1.01M|        case METH_O:
  ------------------
  |  |   99|  1.01M|#define METH_O        0x0008
  ------------------
  |  Branch (68:9): [True: 1.01M, False: 423k]
  ------------------
   69|  1.01M|            vectorcall = cfunction_vectorcall_O;
   70|  1.01M|            break;
   71|    108|        case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  133|    108|#define METH_METHOD 0x0200
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|    108|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|    108|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (71:9): [True: 108, False: 1.43M]
  ------------------
   72|    108|            vectorcall = cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD;
   73|    108|            break;
   74|      0|        default:
  ------------------
  |  Branch (74:9): [True: 0, False: 1.43M]
  ------------------
   75|      0|            PyErr_Format(PyExc_SystemError,
   76|      0|                         "%s() method: bad call flags", ml->ml_name);
   77|      0|            return NULL;
   78|  1.43M|    }
   79|       |
   80|  1.43M|    PyCFunctionObject *op = NULL;
   81|       |
   82|  1.43M|    if (ml->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  1.43M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (82:9): [True: 108, False: 1.43M]
  ------------------
   83|    108|        if (!cls) {
  ------------------
  |  Branch (83:13): [True: 0, False: 108]
  ------------------
   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|    108|        PyCMethodObject *om = _Py_FREELIST_POP(PyCMethodObject, pycmethodobject);
  ------------------
  |  |   43|    108|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   90|    108|        if (om == NULL) {
  ------------------
  |  Branch (90:13): [True: 6, False: 102]
  ------------------
   91|      6|            om = PyObject_GC_New(PyCMethodObject, &PyCMethod_Type);
  ------------------
  |  |  181|      6|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   92|      6|            if (om == NULL) {
  ------------------
  |  Branch (92:17): [True: 0, False: 6]
  ------------------
   93|      0|                return NULL;
   94|      0|            }
   95|      6|        }
   96|    108|        om->mm_class = (PyTypeObject*)Py_NewRef(cls);
  ------------------
  |  |  647|    108|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    108|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   97|    108|        op = (PyCFunctionObject *)om;
   98|  1.43M|    } else {
   99|  1.43M|        if (cls) {
  ------------------
  |  Branch (99:13): [True: 0, False: 1.43M]
  ------------------
  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|  1.43M|        op = _Py_FREELIST_POP(PyCFunctionObject, pycfunctionobject);
  ------------------
  |  |   43|  1.43M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  106|  1.43M|        if (op == NULL) {
  ------------------
  |  Branch (106:13): [True: 1.55k, False: 1.43M]
  ------------------
  107|  1.55k|            op = PyObject_GC_New(PyCFunctionObject, &PyCFunction_Type);
  ------------------
  |  |  181|  1.55k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  108|  1.55k|            if (op == NULL) {
  ------------------
  |  Branch (108:17): [True: 0, False: 1.55k]
  ------------------
  109|      0|                return NULL;
  110|      0|            }
  111|  1.55k|        }
  112|  1.43M|    }
  113|       |
  114|  1.43M|    op->m_weakreflist = NULL;
  115|  1.43M|    op->m_ml = ml;
  116|  1.43M|    op->m_self = Py_XNewRef(self);
  ------------------
  |  |  648|  1.43M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  117|  1.43M|    op->m_module = Py_XNewRef(module);
  ------------------
  |  |  648|  1.43M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|  1.43M|    op->vectorcall = vectorcall;
  119|  1.43M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|  1.43M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  120|  1.43M|    return (PyObject *)op;
  121|  1.43M|}
methodobject.c:meth_dealloc:
  167|  1.43M|{
  168|  1.43M|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|  1.43M|    (assert(PyCFunction_Check(func)), \
  |  |   18|  1.43M|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (168:28): [True: 1.43M, False: 0]
  ------------------
  169|      0|    PyObject_GC_UnTrack(m);
  170|  1.43M|    FT_CLEAR_WEAKREFS(self, m->m_weakreflist);
  ------------------
  |  |   47|  1.43M|    do {                                            \
  |  |   48|  1.43M|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  1.43M|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 1.43M]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  1.43M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 1.43M]
  |  |  ------------------
  ------------------
  |  Branch (170:5): [True: 1.43M, False: 0]
  ------------------
  171|       |    // We need to access ml_flags here rather than later.
  172|       |    // `m->m_ml` might have the same lifetime
  173|       |    // as `m_self` when it's dynamically allocated.
  174|  1.43M|    int ml_flags = m->m_ml->ml_flags;
  175|       |    // Dereference class before m_self: PyCFunction_GET_CLASS accesses
  176|       |    // PyMethodDef m_ml, which could be kept alive by m_self
  177|  1.43M|    Py_XDECREF(PyCFunction_GET_CLASS(m));
  ------------------
  |  |  621|  1.43M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|  1.43M|    Py_XDECREF(m->m_self);
  ------------------
  |  |  621|  1.43M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  179|  1.43M|    Py_XDECREF(m->m_module);
  ------------------
  |  |  621|  1.43M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|  1.43M|    if (ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  1.43M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (180:9): [True: 105, False: 1.43M]
  ------------------
  181|    105|        assert(Py_IS_TYPE(self, &PyCMethod_Type));
  ------------------
  |  Branch (181:9): [True: 105, False: 0]
  ------------------
  182|    105|        _Py_FREELIST_FREE(pycmethodobject, m, PyObject_GC_Del);
  ------------------
  |  |   35|    105|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|    105|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   32|    105|#  define Py_pycmethodobject_MAXFREELIST 16
  |  |  ------------------
  ------------------
  183|    105|    }
  184|  1.43M|    else {
  185|  1.43M|        assert(Py_IS_TYPE(self, &PyCFunction_Type));
  ------------------
  |  Branch (185:9): [True: 1.43M, False: 0]
  ------------------
  186|  1.43M|        _Py_FREELIST_FREE(pycfunctionobject, m, PyObject_GC_Del);
  ------------------
  |  |   35|  1.43M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  1.43M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   31|  1.43M|#  define Py_pycfunctionobject_MAXFREELIST 16
  |  |  ------------------
  ------------------
  187|  1.43M|    }
  188|  1.43M|}
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|  19.0k|{
  267|  19.0k|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|  19.0k|    (assert(PyCFunction_Check(func)), \
  |  |   18|  19.0k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  19.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (267:28): [True: 19.0k, False: 0]
  ------------------
  268|  19.0k|    Py_VISIT(PyCFunction_GET_CLASS(m));
  ------------------
  |  |  194|  19.0k|    do {                                                                \
  |  |  195|  19.0k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 42, False: 19.0k]
  |  |  ------------------
  |  |  196|     42|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     42|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 42]
  |  |  ------------------
  |  |  198|     42|                return vret;                                            \
  |  |  199|     42|        }                                                               \
  |  |  200|  19.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 19.0k]
  |  |  ------------------
  ------------------
  269|  19.0k|    Py_VISIT(m->m_self);
  ------------------
  |  |  194|  19.0k|    do {                                                                \
  |  |  195|  19.0k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18.8k, False: 200]
  |  |  ------------------
  |  |  196|  18.8k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  18.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  18.8k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 18.8k]
  |  |  ------------------
  |  |  198|  18.8k|                return vret;                                            \
  |  |  199|  18.8k|        }                                                               \
  |  |  200|  19.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 19.0k]
  |  |  ------------------
  ------------------
  270|  19.0k|    Py_VISIT(m->m_module);
  ------------------
  |  |  194|  19.0k|    do {                                                                \
  |  |  195|  19.0k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 13.3k, False: 5.75k]
  |  |  ------------------
  |  |  196|  13.3k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  13.3k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 13.3k]
  |  |  ------------------
  |  |  198|  13.3k|                return vret;                                            \
  |  |  199|  13.3k|        }                                                               \
  |  |  200|  19.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 19.0k]
  |  |  ------------------
  ------------------
  271|  19.0k|    return 0;
  272|  19.0k|}
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|      7|{
  218|      7|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|      7|    (assert(PyCFunction_Check(func)), \
  |  |   18|      7|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (218:28): [True: 7, False: 0]
  ------------------
  219|      0|    return _PyType_GetDocFromInternalDoc(m->m_ml->ml_name, m->m_ml->ml_doc);
  220|      7|}
methodobject.c:meth_get__name__:
  224|      7|{
  225|      7|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|      7|    (assert(PyCFunction_Check(func)), \
  |  |   18|      7|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:28): [True: 7, False: 0]
  ------------------
  226|      0|    return PyUnicode_FromString(m->m_ml->ml_name);
  227|      7|}
methodobject.c:meth_get__qualname__:
  231|      7|{
  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|      7|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|      7|    (assert(PyCFunction_Check(func)), \
  |  |   18|      7|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (241:28): [True: 7, False: 0]
  ------------------
  242|      7|    if (m->m_self == NULL || PyModule_Check(m->m_self)) {
  ------------------
  |  |   12|      7|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      7|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 1, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (242:9): [True: 0, False: 7]
  ------------------
  243|      1|        return PyUnicode_FromString(m->m_ml->ml_name);
  244|      1|    }
  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|  12.7k|{
  438|  12.7k|    PyThreadState *tstate = _PyThreadState_GET();
  439|  12.7k|    if (cfunction_check_kwargs(tstate, func, kwnames)) {
  ------------------
  |  Branch (439:9): [True: 0, False: 12.7k]
  ------------------
  440|      0|        return NULL;
  441|      0|    }
  442|  12.7k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  12.7k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  443|  12.7k|    PyCFunctionFast meth = (PyCFunctionFast)
  444|  12.7k|                            cfunction_enter_call(tstate, func);
  445|  12.7k|    if (meth == NULL) {
  ------------------
  |  Branch (445:9): [True: 0, False: 12.7k]
  ------------------
  446|      0|        return NULL;
  447|      0|    }
  448|  12.7k|    PyObject *result = meth(PyCFunction_GET_SELF(func), args, nargs);
  ------------------
  |  |   52|  12.7k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  12.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  449|  12.7k|    _Py_LeaveRecursiveCallTstate(tstate);
  450|  12.7k|    return result;
  451|  12.7k|}
methodobject.c:cfunction_check_kwargs:
  407|  63.1k|{
  408|  63.1k|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (408:5): [True: 63.1k, False: 0]
  ------------------
  409|  63.1k|    assert(PyCFunction_Check(func));
  ------------------
  |  Branch (409:5): [True: 63.1k, False: 0]
  ------------------
  410|  63.1k|    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: 63.1k]
  ------------------
  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|  63.1k|    return 0;
  420|  63.1k|}
methodobject.c:cfunction_enter_call:
  426|   134k|{
  427|   134k|    if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
  ------------------
  |  Branch (427:9): [True: 0, False: 134k]
  ------------------
  428|      0|        return NULL;
  429|      0|    }
  430|   134k|    return (funcptr)PyCFunction_GET_FUNCTION(func);
  ------------------
  |  |   43|   134k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|   134k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   134k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  431|   134k|}
methodobject.c:cfunction_vectorcall_FASTCALL_KEYWORDS:
  456|  71.3k|{
  457|  71.3k|    PyThreadState *tstate = _PyThreadState_GET();
  458|  71.3k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  71.3k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  459|  71.3k|    PyCFunctionFastWithKeywords meth = (PyCFunctionFastWithKeywords)
  460|  71.3k|                                        cfunction_enter_call(tstate, func);
  461|  71.3k|    if (meth == NULL) {
  ------------------
  |  Branch (461:9): [True: 0, False: 71.3k]
  ------------------
  462|      0|        return NULL;
  463|      0|    }
  464|  71.3k|    PyObject *result = meth(PyCFunction_GET_SELF(func), args, nargs, kwnames);
  ------------------
  |  |   52|  71.3k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  71.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  71.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  465|  71.3k|    _Py_LeaveRecursiveCallTstate(tstate);
  466|  71.3k|    return result;
  467|  71.3k|}
methodobject.c:cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD:
  472|    104|{
  473|    104|    PyThreadState *tstate = _PyThreadState_GET();
  474|    104|    PyTypeObject *cls = PyCFunction_GET_CLASS(func);
  ------------------
  |  |   66|    104|#define PyCFunction_GET_CLASS(func) PyCFunction_GET_CLASS(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  475|    104|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    104|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  476|    104|    PyCMethod meth = (PyCMethod)cfunction_enter_call(tstate, func);
  477|    104|    if (meth == NULL) {
  ------------------
  |  Branch (477:9): [True: 0, False: 104]
  ------------------
  478|      0|        return NULL;
  479|      0|    }
  480|    104|    PyObject *result = meth(PyCFunction_GET_SELF(func), cls, args, nargs, kwnames);
  ------------------
  |  |   52|    104|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|    104|    _Py_LeaveRecursiveCallTstate(tstate);
  482|    104|    return result;
  483|    104|}
methodobject.c:cfunction_vectorcall_NOARGS:
  488|  6.03k|{
  489|  6.03k|    PyThreadState *tstate = _PyThreadState_GET();
  490|  6.03k|    if (cfunction_check_kwargs(tstate, func, kwnames)) {
  ------------------
  |  Branch (490:9): [True: 0, False: 6.03k]
  ------------------
  491|      0|        return NULL;
  492|      0|    }
  493|  6.03k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  6.03k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  494|  6.03k|    if (nargs != 0) {
  ------------------
  |  Branch (494:9): [True: 0, False: 6.03k]
  ------------------
  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|  6.03k|    PyCFunction meth = (PyCFunction)cfunction_enter_call(tstate, func);
  504|  6.03k|    if (meth == NULL) {
  ------------------
  |  Branch (504:9): [True: 0, False: 6.03k]
  ------------------
  505|      0|        return NULL;
  506|      0|    }
  507|  6.03k|    PyObject *result = _PyCFunction_TrampolineCall(
  ------------------
  |  |   61|  6.03k|    (meth)((self), (args))
  ------------------
  508|  6.03k|        meth, PyCFunction_GET_SELF(func), NULL);
  509|  6.03k|    _Py_LeaveRecursiveCallTstate(tstate);
  510|  6.03k|    return result;
  511|  6.03k|}
methodobject.c:cfunction_vectorcall_O:
  516|  44.4k|{
  517|  44.4k|    PyThreadState *tstate = _PyThreadState_GET();
  518|  44.4k|    if (cfunction_check_kwargs(tstate, func, kwnames)) {
  ------------------
  |  Branch (518:9): [True: 0, False: 44.4k]
  ------------------
  519|      0|        return NULL;
  520|      0|    }
  521|  44.4k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  44.4k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  522|  44.4k|    if (nargs != 1) {
  ------------------
  |  Branch (522:9): [True: 0, False: 44.4k]
  ------------------
  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|  44.4k|    PyCFunction meth = (PyCFunction)cfunction_enter_call(tstate, func);
  532|  44.4k|    if (meth == NULL) {
  ------------------
  |  Branch (532:9): [True: 0, False: 44.4k]
  ------------------
  533|      0|        return NULL;
  534|      0|    }
  535|  44.4k|    PyObject *result = _PyCFunction_TrampolineCall(
  ------------------
  |  |   61|  44.4k|    (meth)((self), (args))
  ------------------
  536|  44.4k|        meth, PyCFunction_GET_SELF(func), args[0]);
  537|  44.4k|    _Py_LeaveRecursiveCallTstate(tstate);
  538|  44.4k|    return result;
  539|  44.4k|}
methodobject.c:cfunction_call:
  544|      2|{
  545|      2|    assert(kwargs == NULL || PyDict_Check(kwargs));
  ------------------
  |  Branch (545:5): [True: 2, False: 0]
  |  Branch (545:5): [True: 0, False: 0]
  ------------------
  546|       |
  547|      2|    PyThreadState *tstate = _PyThreadState_GET();
  548|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (548:5): [True: 2, False: 0]
  ------------------
  549|       |
  550|      2|    int flags = PyCFunction_GET_FLAGS(func);
  ------------------
  |  |   57|      2|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  551|      2|    if (!(flags & METH_VARARGS)) {
  ------------------
  |  |   95|      2|#define METH_VARARGS  0x0001
  ------------------
  |  Branch (551:9): [True: 0, False: 2]
  ------------------
  552|       |        /* If this is not a METH_VARARGS function, delegate to vectorcall */
  553|      0|        return PyVectorcall_Call(func, args, kwargs);
  554|      0|    }
  555|       |
  556|       |    /* For METH_VARARGS, we cannot use vectorcall as the vectorcall pointer
  557|       |     * is NULL. This is intentional, since vectorcall would be slower. */
  558|      2|    PyCFunction meth = PyCFunction_GET_FUNCTION(func);
  ------------------
  |  |   43|      2|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  559|      2|    PyObject *self = PyCFunction_GET_SELF(func);
  ------------------
  |  |   52|      2|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  560|       |
  561|      2|    PyObject *result;
  562|      2|    if (flags & METH_KEYWORDS) {
  ------------------
  |  |   96|      2|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (562:9): [True: 0, False: 2]
  ------------------
  563|      0|        result = _PyCFunctionWithKeywords_TrampolineCall(
  ------------------
  |  |   64|      0|    (meth)((self), (args), (kw))
  ------------------
  564|      0|            *_PyCFunctionWithKeywords_CAST(meth),
  565|      0|            self, args, kwargs);
  566|      0|    }
  567|      2|    else {
  568|      2|        if (kwargs != NULL && PyDict_GET_SIZE(kwargs) != 0) {
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (568:13): [True: 0, False: 2]
  |  Branch (568:31): [True: 0, False: 0]
  ------------------
  569|      0|            _PyErr_Format(tstate, PyExc_TypeError,
  570|      0|                          "%.200s() takes no keyword arguments",
  571|      0|                          ((PyCFunctionObject*)func)->m_ml->ml_name);
  572|      0|            return NULL;
  573|      0|        }
  574|      2|        result = _PyCFunction_TrampolineCall(meth, self, args);
  ------------------
  |  |   61|      2|    (meth)((self), (args))
  ------------------
  575|      2|    }
  576|      2|    return _Py_CheckFunctionResult(tstate, func, result, NULL);
  577|      2|}

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|     94|{
   84|       |#ifdef Py_GIL_DISABLED
   85|       |    // Check that this def does not come from a non-free-threading ABI.
   86|       |    //
   87|       |    // This is meant as a "sanity check"; users should never rely on it.
   88|       |    // In particular, if we run out of ob_flags bits, or otherwise need to
   89|       |    // change some of the internals, this check can go away. Still, it
   90|       |    // would be nice to keep it for the free-threading transition.
   91|       |    //
   92|       |    // A PyModuleDef must be initialized with PyModuleDef_HEAD_INIT,
   93|       |    // which (via PyObject_HEAD_INIT) sets _Py_STATICALLY_ALLOCATED_FLAG
   94|       |    // and not _Py_LEGACY_ABI_CHECK_FLAG. For PyModuleDef, these flags never
   95|       |    // change.
   96|       |    // This means that the lower nibble of a valid PyModuleDef's ob_flags is
   97|       |    // always `_10_` (in binary; `_` is don't care).
   98|       |    //
   99|       |    // So, a check for these bits won't reject valid PyModuleDef.
  100|       |    // Rejecting incompatible extensions is slightly less important; here's
  101|       |    // how that works:
  102|       |    //
  103|       |    // In the pre-free-threading stable ABI, PyModuleDef_HEAD_INIT is big
  104|       |    // enough to overlap with free-threading ABI's ob_flags, is all zeros
  105|       |    // except for the refcount field.
  106|       |    // The refcount field can be:
  107|       |    // - 1 (3.11 and below)
  108|       |    // - UINT_MAX >> 2 (32-bit 3.12 & 3.13)
  109|       |    // - UINT_MAX (64-bit 3.12 & 3.13)
  110|       |    // - 7L << 28 (3.14)
  111|       |    //
  112|       |    // This means that the lower nibble of *any byte* in PyModuleDef_HEAD_INIT
  113|       |    // is not `_10_` -- it can be:
  114|       |    // - 0b0000
  115|       |    // - 0b0001
  116|       |    // - 0b0011 (from UINT_MAX >> 2)
  117|       |    // - 0b0111 (from 7L << 28)
  118|       |    // - 0b1111 (e.g. from UINT_MAX)
  119|       |    // (The values may change at runtime as the PyModuleDef is used, but
  120|       |    // PyModuleDef_Init is required before using the def as a Python object,
  121|       |    // so we check at least once with the initial values.
  122|       |    uint16_t flags = ((PyObject*)def)->ob_flags;
  123|       |    uint16_t bits = _Py_STATICALLY_ALLOCATED_FLAG | _Py_LEGACY_ABI_CHECK_FLAG;
  124|       |    if ((flags & bits) != _Py_STATICALLY_ALLOCATED_FLAG) {
  125|       |        const char *message = "invalid PyModuleDef, extension possibly "
  126|       |            "compiled for non-free-threaded Python";
  127|       |        // Write the error as unraisable: if the extension tries calling
  128|       |        // any API, it's likely to segfault and lose the exception.
  129|       |        PyErr_SetString(PyExc_SystemError, message);
  130|       |        PyErr_WriteUnraisable(NULL);
  131|       |        // But also raise the exception normally -- this is technically
  132|       |        // a recoverable state.
  133|       |        PyErr_SetString(PyExc_SystemError, message);
  134|       |        return NULL;
  135|       |    }
  136|       |#endif
  137|     94|    assert(PyModuleDef_Type.tp_flags & Py_TPFLAGS_READY);
  ------------------
  |  Branch (137:5): [True: 94, False: 0]
  ------------------
  138|     94|    if (def->m_base.m_index == 0) {
  ------------------
  |  Branch (138:9): [True: 51, False: 43]
  ------------------
  139|     51|        Py_SET_REFCNT(def, 1);
  ------------------
  |  |  201|     51|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|     51|        Py_SET_TYPE(def, &PyModuleDef_Type);
  ------------------
  |  |  217|     51|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  141|     51|        def->m_base.m_index = _PyImport_GetNextModuleIndex();
  142|     51|    }
  143|     94|    return (PyObject*)def;
  144|     94|}
_PyModule_InitModuleDictWatcher:
  220|      2|{
  221|       |    // This is a reserved watcher for CPython so there's no need to check for non-NULL.
  222|      2|    assert(interp->dict_state.watchers[MODULE_WATCHER_ID] == NULL);
  ------------------
  |  Branch (222:5): [True: 2, False: 0]
  ------------------
  223|      2|    interp->dict_state.watchers[MODULE_WATCHER_ID] = &module_dict_watcher;
  ------------------
  |  |  315|      2|#define MODULE_WATCHER_ID       2
  ------------------
  224|      2|    return 0;
  225|      2|}
PyModule_NewObject:
  248|     57|{
  249|     57|    PyModuleObject *m = new_module_notrack(&PyModule_Type);
  250|     57|    if (m == NULL)
  ------------------
  |  Branch (250:9): [True: 0, False: 57]
  ------------------
  251|      0|        return NULL;
  252|     57|    if (module_init_dict(m, m->md_dict, name, NULL) != 0)
  ------------------
  |  Branch (252:9): [True: 0, False: 57]
  ------------------
  253|      0|        goto fail;
  254|     57|    track_module(m);
  255|     57|    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|     57|}
PyModule_New:
  264|      8|{
  265|      8|    PyObject *nameobj, *module;
  266|      8|    nameobj = PyUnicode_FromString(name);
  267|      8|    if (nameobj == NULL)
  ------------------
  |  Branch (267:9): [True: 0, False: 8]
  ------------------
  268|      0|        return NULL;
  269|      8|    module = PyModule_NewObject(nameobj);
  270|      8|    Py_DECREF(nameobj);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  271|      8|    return module;
  272|      8|}
_PyModule_CreateInitialized:
  347|      8|{
  348|      8|    const char* name;
  349|      8|    PyModuleObject *m;
  350|       |
  351|      8|    if (!PyModuleDef_Init(module))
  ------------------
  |  Branch (351:9): [True: 0, False: 8]
  ------------------
  352|      0|        return NULL;
  353|      8|    name = module->m_name;
  354|      8|    if (!check_api_version(name, module_api_version)) {
  ------------------
  |  Branch (354:9): [True: 0, False: 8]
  ------------------
  355|      0|        return NULL;
  356|      0|    }
  357|      8|    if (module->m_slots) {
  ------------------
  |  Branch (357:9): [True: 0, False: 8]
  ------------------
  358|      0|        PyErr_Format(
  359|      0|            PyExc_SystemError,
  360|      0|            "module %s: PyModule_Create is incompatible with m_slots", name);
  361|      0|        return NULL;
  362|      0|    }
  363|      8|    name = _PyImport_ResolveNameWithPackageContext(name);
  364|       |
  365|      8|    m = (PyModuleObject*)PyModule_New(name);
  366|      8|    if (m == NULL)
  ------------------
  |  Branch (366:9): [True: 0, False: 8]
  ------------------
  367|      0|        return NULL;
  368|       |
  369|      8|    if (module->m_size > 0) {
  ------------------
  |  Branch (369:9): [True: 0, False: 8]
  ------------------
  370|      0|        m->md_state = PyMem_Malloc(module->m_size);
  371|      0|        if (!m->md_state) {
  ------------------
  |  Branch (371:13): [True: 0, False: 0]
  ------------------
  372|      0|            PyErr_NoMemory();
  373|      0|            Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  374|      0|            return NULL;
  375|      0|        }
  376|      0|        memset(m->md_state, 0, module->m_size);
  377|      0|    }
  378|       |
  379|      8|    if (module->m_methods != NULL) {
  ------------------
  |  Branch (379:9): [True: 8, False: 0]
  ------------------
  380|      8|        if (PyModule_AddFunctions((PyObject *) m, module->m_methods) != 0) {
  ------------------
  |  Branch (380:13): [True: 0, False: 8]
  ------------------
  381|      0|            Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  382|      0|            return NULL;
  383|      0|        }
  384|      8|    }
  385|      8|    if (module->m_doc != NULL) {
  ------------------
  |  Branch (385:9): [True: 6, False: 2]
  ------------------
  386|      6|        if (PyModule_SetDocString((PyObject *) m, module->m_doc) != 0) {
  ------------------
  |  Branch (386:13): [True: 0, False: 6]
  ------------------
  387|      0|            Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|      0|            return NULL;
  389|      0|        }
  390|      6|    }
  391|      8|    m->md_token = module;
  392|      8|    m->md_token_is_def = true;
  393|      8|    module_copy_members_from_deflike(m, module);
  394|       |#ifdef Py_GIL_DISABLED
  395|       |    m->md_requires_gil = true;
  396|       |#endif
  397|      8|    return (PyObject*)m;
  398|      8|}
PyModule_FromDefAndSpec2:
  671|     43|{
  672|     43|    PyModuleDef_Init(def);
  673|       |    return module_from_slots_and_spec(NULL, spec, module_api_version, def);
  674|     43|}
PyModule_Exec:
  753|     43|{
  754|     43|    if (alloc_state(module) < 0) {
  ------------------
  |  Branch (754:9): [True: 0, False: 43]
  ------------------
  755|      0|        return -1;
  756|      0|    }
  757|     43|    PyModuleObject *md = (PyModuleObject*)module;
  758|     43|    if (md->md_exec) {
  ------------------
  |  Branch (758:9): [True: 0, False: 43]
  ------------------
  759|      0|        assert(!md->md_token_is_def);
  ------------------
  |  Branch (759:9): [True: 0, False: 0]
  ------------------
  760|      0|        return run_exec_func(module, md->md_exec);
  761|      0|    }
  762|       |
  763|     43|    PyModuleDef *def = _PyModule_GetDefOrNull(module);
  764|     43|    if (def) {
  ------------------
  |  Branch (764:9): [True: 43, False: 0]
  ------------------
  765|     43|        return PyModule_ExecDef(module, def);
  766|     43|    }
  767|      0|    return 0;
  768|     43|}
PyModule_ExecDef:
  772|     43|{
  773|     43|    if (alloc_state(module) < 0) {
  ------------------
  |  Branch (773:9): [True: 0, False: 43]
  ------------------
  774|      0|        return -1;
  775|      0|    }
  776|       |
  777|     43|    assert(PyModule_Check(module));
  ------------------
  |  Branch (777:5): [True: 43, False: 0]
  ------------------
  778|       |
  779|     43|    if (def->m_slots == NULL) {
  ------------------
  |  Branch (779:9): [True: 0, False: 43]
  ------------------
  780|      0|        return 0;
  781|      0|    }
  782|       |
  783|     43|    _PySlotIterator it;
  784|     43|    _PySlotIterator_InitLegacy(&it, def->m_slots, _PySlot_KIND_MOD);
  785|    209|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (785:12): [True: 166, False: 43]
  ------------------
  786|    166|        _Py_modexecfunc func;
  787|    166|        switch (it.current.sl_id) {
  ------------------
  |  Branch (787:17): [True: 41, False: 125]
  ------------------
  788|      0|            case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (788:13): [True: 0, False: 166]
  ------------------
  789|      0|                return -1;
  790|     41|            case Py_mod_exec:
  ------------------
  |  |   93|     41|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|     41|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (790:13): [True: 41, False: 125]
  ------------------
  791|     41|                func = (_Py_modexecfunc)it.current.sl_func;
  792|     41|                if (run_exec_func(module, func) < 0) {
  ------------------
  |  Branch (792:21): [True: 0, False: 41]
  ------------------
  793|      0|                    return -1;
  794|      0|                }
  795|     41|                break;
  796|    166|        }
  797|    166|    }
  798|     43|    return 0;
  799|     43|}
PyModule_AddFunctions:
  803|      8|{
  804|      8|    int res;
  805|      8|    PyObject *name = PyModule_GetNameObject(m);
  806|      8|    if (name == NULL) {
  ------------------
  |  Branch (806:9): [True: 0, False: 8]
  ------------------
  807|      0|        return -1;
  808|      0|    }
  809|       |
  810|      8|    res = _add_methods_to_object(m, name, functions);
  811|      8|    Py_DECREF(name);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  812|      8|    return res;
  813|      8|}
PyModule_SetDocString:
  817|     40|{
  818|     40|    PyObject *v;
  819|       |
  820|     40|    v = PyUnicode_FromString(doc);
  821|     40|    if (v == NULL || PyObject_SetAttr(m, &_Py_ID(__doc__), v) != 0) {
  ------------------
  |  |  951|     40|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     40|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     40|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (821:9): [True: 0, False: 40]
  |  Branch (821:22): [True: 0, False: 40]
  ------------------
  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|     40|    Py_DECREF(v);
  ------------------
  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  826|     40|    return 0;
  827|     40|}
PyModule_GetDict:
  831|    824|{
  832|    824|    if (!PyModule_Check(m)) {
  ------------------
  |  |   12|    824|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|    824|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    824|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    824|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (832:9): [True: 0, False: 824]
  ------------------
  833|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  834|      0|        return NULL;
  835|      0|    }
  836|    824|    return _PyModule_GetDict(m);  // borrowed reference
  837|    824|}
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|      6|{
  919|       |    // We return None to indicate "not found" or "bogus".
  920|      6|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   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 (920:9): [True: 0, False: 6]
  ------------------
  921|      0|        PyErr_BadArgument();
  922|      0|        return NULL;
  923|      0|    }
  924|      6|    PyObject *dict = ((PyModuleObject *)mod)->md_dict;  // borrowed reference
  925|      6|    if (dict == NULL) {
  ------------------
  |  Branch (925:9): [True: 0, False: 6]
  ------------------
  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|      6|    PyObject *fileobj;
  930|      6|    int res = PyDict_GetItemRef(dict, &_Py_ID(__file__), &fileobj);
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  931|      6|    if (res < 0) {
  ------------------
  |  Branch (931:9): [True: 0, False: 6]
  ------------------
  932|      0|        return NULL;
  933|      0|    }
  934|      6|    if (res == 0) {
  ------------------
  |  Branch (934:9): [True: 1, False: 5]
  ------------------
  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|      5|    if (!PyUnicode_Check(fileobj)) {
  ------------------
  |  |  103|      5|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      5|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (943:9): [True: 0, False: 5]
  ------------------
  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|      5|    return fileobj;
  948|      5|}
PyModule_GetFilenameObject:
  952|      6|{
  953|      6|    PyObject *fileobj = _PyModule_GetFilenameObject(mod);
  954|      6|    if (fileobj == NULL) {
  ------------------
  |  Branch (954:9): [True: 0, False: 6]
  ------------------
  955|      0|        return NULL;
  956|      0|    }
  957|      6|    if (fileobj == Py_None) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (957:9): [True: 1, False: 5]
  ------------------
  958|      1|        PyErr_SetString(PyExc_SystemError, "module filename missing");
  959|      1|        return NULL;
  960|      1|    }
  961|      5|    return fileobj;
  962|      6|}
PyModule_GetState:
 1033|  8.37k|{
 1034|  8.37k|    if (!PyModule_Check(m)) {
  ------------------
  |  |   12|  8.37k|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|  8.37k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1034:9): [True: 0, False: 8.37k]
  ------------------
 1035|      0|        PyErr_BadArgument();
 1036|      0|        return NULL;
 1037|      0|    }
 1038|  8.37k|    return _PyModule_GetState(m);
 1039|  8.37k|}
_PyModuleSpec_IsInitializing:
 1179|   379k|{
 1180|   379k|    if (spec == NULL) {
  ------------------
  |  Branch (1180:9): [True: 0, False: 379k]
  ------------------
 1181|      0|        return 0;
 1182|      0|    }
 1183|   379k|    PyObject *value;
 1184|   379k|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(_initializing), &value);
  ------------------
  |  |  951|   379k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   379k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   379k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1185|   379k|    if (rc > 0) {
  ------------------
  |  Branch (1185:9): [True: 293k, False: 86.0k]
  ------------------
 1186|   293k|        rc = PyObject_IsTrue(value);
 1187|   293k|        Py_DECREF(value);
  ------------------
  |  |  430|   293k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   293k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   293k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1188|   293k|    }
 1189|   379k|    return rc;
 1190|   379k|}
_PyModuleSpec_IsUninitializedSubmodule:
 1197|    166|{
 1198|    166|    if (spec == NULL) {
  ------------------
  |  Branch (1198:9): [True: 0, False: 166]
  ------------------
 1199|      0|         return 0;
 1200|      0|    }
 1201|       |
 1202|    166|    PyObject *value;
 1203|    166|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(_uninitialized_submodules), &value);
  ------------------
  |  |  951|    166|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    166|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    166|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1204|    166|    if (rc > 0) {
  ------------------
  |  Branch (1204:9): [True: 146, False: 20]
  ------------------
 1205|    146|        rc = PySequence_Contains(value, name);
 1206|    146|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1207|    146|    }
 1208|    166|    return rc;
 1209|    166|}
_PyModuleSpec_GetFileOrigin:
 1213|    172|{
 1214|    172|    PyObject *has_location = NULL;
 1215|    172|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(has_location), &has_location);
  ------------------
  |  |  951|    172|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    172|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    172|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1216|    172|    if (rc <= 0) {
  ------------------
  |  Branch (1216:9): [True: 20, False: 152]
  ------------------
 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|    152|    rc = PyObject_IsTrue(has_location);
 1223|    152|    Py_DECREF(has_location);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1224|    152|    if (rc <= 0) {
  ------------------
  |  Branch (1224:9): [True: 8, False: 144]
  ------------------
 1225|      8|        return rc;
 1226|      8|    }
 1227|       |    // has_location is true, so origin is a location
 1228|    144|    PyObject *origin = NULL;
 1229|    144|    rc = PyObject_GetOptionalAttr(spec, &_Py_ID(origin), &origin);
  ------------------
  |  |  951|    144|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    144|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    144|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1230|    144|    if (rc <= 0) {
  ------------------
  |  Branch (1230:9): [True: 0, False: 144]
  ------------------
 1231|      0|        return rc;
 1232|      0|    }
 1233|    144|    assert(origin != NULL);
  ------------------
  |  Branch (1233:5): [True: 144, False: 0]
  ------------------
 1234|    144|    if (!PyUnicode_Check(origin)) {
  ------------------
  |  |  103|    144|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    144|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1234:9): [True: 0, False: 144]
  ------------------
 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|    144|    *p_origin = origin;
 1239|    144|    return 1;
 1240|    144|}
_PyModule_IsPossiblyShadowing:
 1244|    172|{
 1245|    172|    int result = 0;
 1246|    172|    wchar_t *root = NULL;
 1247|    172|    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|    172|    if (origin == NULL) {
  ------------------
  |  Branch (1256:9): [True: 28, False: 144]
  ------------------
 1257|     28|        return 0;
 1258|     28|    }
 1259|       |
 1260|       |    // not sys.flags.safe_path
 1261|    144|    const PyConfig *config = _Py_GetConfig();
 1262|    144|    if (config->safe_path) {
  ------------------
  |  Branch (1262:9): [True: 0, False: 144]
  ------------------
 1263|      0|        return 0;
 1264|      0|    }
 1265|       |
 1266|       |    // root = os.path.dirname(origin.removesuffix(os.sep + "__init__.py"))
 1267|    144|    root = PyUnicode_AsWideCharString(origin, NULL);
 1268|    144|    if (root == NULL) {
  ------------------
  |  Branch (1268:9): [True: 0, False: 144]
  ------------------
 1269|      0|        return -1;
 1270|      0|    }
 1271|       |
 1272|    144|    wchar_t *sep = wcsrchr(root, SEP);
  ------------------
  |  |   29|    144|#  define SEP L'/'
  ------------------
 1273|    144|    if (sep == NULL) {
  ------------------
  |  Branch (1273:9): [True: 0, False: 144]
  ------------------
 1274|      0|        goto done;
 1275|      0|    }
 1276|       |    // If it's a package then we need to look one directory further up
 1277|    144|    if (wcscmp(sep + 1, L"__init__.py") == 0) {
  ------------------
  |  Branch (1277:9): [True: 0, False: 144]
  ------------------
 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|    144|    *sep = L'\0';
 1285|       |
 1286|       |    // sys.path[0] or os.getcwd()
 1287|    144|    wchar_t *sys_path_0 = config->sys_path_0;
 1288|    144|    if (!sys_path_0) {
  ------------------
  |  Branch (1288:9): [True: 144, False: 0]
  ------------------
 1289|    144|        goto done;
 1290|    144|    }
 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|    144|done:
 1311|    144|    PyMem_Free(root);
 1312|    144|    PyMem_Free(sys_path_0_buf);
 1313|    144|    return result;
 1314|      0|}
_Py_module_getattro_impl:
 1335|   601k|{
 1336|       |    // When suppress=1, this function suppresses AttributeError.
 1337|   601k|    PyObject *attr, *mod_name, *getattr;
 1338|   601k|    attr = _PyObject_GenericGetAttrWithDict((PyObject *)m, name, NULL, suppress);
 1339|   601k|    if (attr == NULL) {
  ------------------
  |  Branch (1339:9): [True: 759, False: 600k]
  ------------------
 1340|    759|        if (suppress == 1) {
  ------------------
  |  Branch (1340:13): [True: 593, False: 166]
  ------------------
 1341|    593|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (1341:17): [True: 0, False: 593]
  ------------------
 1342|       |                // pass up non-AttributeError exception
 1343|      0|                return NULL;
 1344|      0|            }
 1345|    593|        }
 1346|    166|        else {
 1347|    166|            if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1347:17): [True: 0, False: 166]
  ------------------
 1348|       |                // pass up non-AttributeError exception
 1349|      0|                return NULL;
 1350|      0|            }
 1351|    166|            PyErr_Clear();
 1352|    166|        }
 1353|    759|        assert(m->md_dict != NULL);
  ------------------
  |  Branch (1353:9): [True: 759, False: 0]
  ------------------
 1354|    759|        int recheck_dict;
 1355|    759|        attr = _PyImport_TryLoadLazySubmodule((PyObject *)m, name, suppress,
 1356|    759|                                             &recheck_dict);
 1357|    759|        if (attr != NULL || PyErr_Occurred()) {
  ------------------
  |  Branch (1357:13): [True: 0, False: 759]
  |  Branch (1357:29): [True: 0, False: 759]
  ------------------
 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|    759|        if (recheck_dict) {
  ------------------
  |  Branch (1362:13): [True: 0, False: 759]
  ------------------
 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|    759|    }
 1377|   601k|    if (attr) {
  ------------------
  |  Branch (1377:9): [True: 600k, False: 759]
  ------------------
 1378|   600k|        if (PyLazyImport_CheckExact(attr)) {
  ------------------
  |  |   15|   600k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|   600k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   600k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   600k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 600k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|   600k|        return attr;
 1391|   600k|    }
 1392|    759|    if (module_get_resolved_dict_item(
  ------------------
  |  Branch (1392:9): [True: 0, False: 759]
  ------------------
 1393|    759|            m->md_dict, &_Py_ID(__getattr__), &getattr) < 0) {
  ------------------
  |  |  951|    759|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    759|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    759|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1394|      0|        return NULL;
 1395|      0|    }
 1396|    759|    if (getattr) {
  ------------------
  |  Branch (1396:9): [True: 9, False: 750]
  ------------------
 1397|      9|        PyObject *result = PyObject_CallOneArg(getattr, name);
 1398|      9|        if (result == NULL && suppress == 1 && PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1398:13): [True: 9, False: 0]
  |  Branch (1398:31): [True: 9, False: 0]
  |  Branch (1398:48): [True: 9, False: 0]
  ------------------
 1399|       |            // suppress AttributeError
 1400|      9|            PyErr_Clear();
 1401|      9|        }
 1402|      9|        Py_DECREF(getattr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1403|      9|        return result;
 1404|      9|    }
 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|    750|    if (suppress == 1) {
  ------------------
  |  Branch (1408:9): [True: 584, False: 166]
  ------------------
 1409|    584|        return NULL;
 1410|    584|    }
 1411|    166|    if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__name__), &mod_name) < 0) {
  ------------------
  |  |  951|    166|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    166|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    166|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1411:9): [True: 0, False: 166]
  ------------------
 1412|      0|        return NULL;
 1413|      0|    }
 1414|    166|    if (!mod_name || !PyUnicode_Check(mod_name)) {
  ------------------
  |  |  103|    166|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    166|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1414:9): [True: 0, False: 166]
  |  Branch (1414:22): [True: 0, False: 166]
  ------------------
 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|    166|    PyObject *spec;
 1421|    166|    if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  951|    166|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    166|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    166|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1421:9): [True: 0, False: 166]
  ------------------
 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|    166|    if (spec == NULL) {
  ------------------
  |  Branch (1425:9): [True: 0, False: 166]
  ------------------
 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|    166|    PyObject *origin = NULL;
 1434|    166|    if (_PyModuleSpec_GetFileOrigin(spec, &origin) < 0) {
  ------------------
  |  Branch (1434:9): [True: 0, False: 166]
  ------------------
 1435|      0|        goto done;
 1436|      0|    }
 1437|       |
 1438|    166|    int is_possibly_shadowing = _PyModule_IsPossiblyShadowing(origin);
 1439|    166|    if (is_possibly_shadowing < 0) {
  ------------------
  |  Branch (1439:9): [True: 0, False: 166]
  ------------------
 1440|      0|        goto done;
 1441|      0|    }
 1442|    166|    int is_possibly_shadowing_stdlib = 0;
 1443|    166|    if (is_possibly_shadowing) {
  ------------------
  |  Branch (1443:9): [True: 0, False: 166]
  ------------------
 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|    166|    if (is_possibly_shadowing_stdlib) {
  ------------------
  |  Branch (1458:9): [True: 0, False: 166]
  ------------------
 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|    166|    else {
 1468|    166|        int rc = _PyModuleSpec_IsInitializing(spec);
 1469|    166|        if (rc < 0) {
  ------------------
  |  Branch (1469:13): [True: 0, False: 166]
  ------------------
 1470|      0|            goto done;
 1471|      0|        }
 1472|    166|        else if (rc > 0) {
  ------------------
  |  Branch (1472:18): [True: 0, False: 166]
  ------------------
 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|    166|        else {
 1499|    166|            assert(rc == 0);
  ------------------
  |  Branch (1499:13): [True: 166, False: 0]
  ------------------
 1500|    166|            rc = _PyModuleSpec_IsUninitializedSubmodule(spec, name);
 1501|    166|            if (rc > 0) {
  ------------------
  |  Branch (1501:17): [True: 0, False: 166]
  ------------------
 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|    166|            else if (rc == 0) {
  ------------------
  |  Branch (1507:22): [True: 166, False: 0]
  ------------------
 1508|    166|                PyErr_Format(PyExc_AttributeError,
 1509|    166|                            "module '%U' has no attribute '%U'",
 1510|    166|                            mod_name, name);
 1511|    166|            }
 1512|    166|        }
 1513|    166|    }
 1514|       |
 1515|    166|done:
 1516|    166|    Py_XDECREF(origin);
  ------------------
  |  |  621|    166|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    166|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    166|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1517|    166|    Py_DECREF(spec);
  ------------------
  |  |  430|    166|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    166|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    166|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1518|    166|    Py_DECREF(mod_name);
  ------------------
  |  |  430|    166|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    166|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    166|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1519|       |    return NULL;
 1520|    166|}
_Py_module_getattro:
 1525|  53.3k|{
 1526|  53.3k|    PyModuleObject *m = _PyModule_CAST(self);
  ------------------
  |  |   24|  53.3k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  53.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1526:25): [True: 53.3k, False: 0]
  ------------------
 1527|      0|    return _Py_module_getattro_impl(m, name, 0);
 1528|  53.3k|}
moduleobject.c:module_dict_watcher:
  206|  9.26k|{
  207|  9.26k|    assert(PyDict_Check(dict));
  ------------------
  |  Branch (207:5): [True: 9.26k, False: 0]
  ------------------
  208|       |    // Only if a new lazy object shows up do we need to clear the dictionary. If
  209|       |    // this is adding a new key then the version will be reset anyway.
  210|  9.26k|    if (event == PyDict_EVENT_MODIFIED &&
  ------------------
  |  Branch (210:9): [True: 1.25k, False: 8.00k]
  ------------------
  211|  1.25k|        new_value != NULL &&
  ------------------
  |  Branch (211:9): [True: 1.25k, False: 0]
  ------------------
  212|  1.25k|        PyLazyImport_CheckExact(new_value)) {
  ------------------
  |  |   15|  1.25k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|  1.25k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.25k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|      0|        _PyDict_ClearKeysVersionLockHeld(dict);
  214|      0|    }
  215|  9.26k|    return 0;
  216|  9.26k|}
moduleobject.c:new_module_notrack:
  173|    182|{
  174|    182|    PyModuleObject *m;
  175|    182|    m = (PyModuleObject *)_PyType_AllocNoTrack(mt, 0);
  176|    182|    if (m == NULL)
  ------------------
  |  Branch (176:9): [True: 0, False: 182]
  ------------------
  177|      0|        return NULL;
  178|    182|    m->md_state = NULL;
  179|    182|    m->md_weaklist = NULL;
  180|    182|    m->md_name = NULL;
  181|    182|    m->md_token_is_def = false;
  182|       |#ifdef Py_GIL_DISABLED
  183|       |    m->md_requires_gil = true;
  184|       |#endif
  185|    182|    m->md_state_size = 0;
  186|    182|    m->md_state_traverse = NULL;
  187|    182|    m->md_state_clear = NULL;
  188|    182|    m->md_state_free = NULL;
  189|    182|    m->md_exec = NULL;
  190|    182|    m->md_token = NULL;
  191|    182|    m->md_dict = PyDict_New();
  192|    182|    if (m->md_dict == NULL) {
  ------------------
  |  Branch (192:9): [True: 0, False: 182]
  ------------------
  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|    182|    return m;
  197|    182|}
moduleobject.c:module_init_dict:
  149|    182|{
  150|    182|    assert(md_dict != NULL);
  ------------------
  |  Branch (150:5): [True: 182, False: 0]
  ------------------
  151|    182|    if (doc == NULL)
  ------------------
  |  Branch (151:9): [True: 57, False: 125]
  ------------------
  152|     57|        doc = Py_None;
  ------------------
  |  |  616|     57|#  define Py_None (&_Py_NoneStruct)
  ------------------
  153|       |
  154|    182|    if (PyDict_SetItem(md_dict, &_Py_ID(__name__), name) != 0)
  ------------------
  |  |  951|    182|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    182|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    182|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (154:9): [True: 0, False: 182]
  ------------------
  155|      0|        return -1;
  156|    182|    if (PyDict_SetItem(md_dict, &_Py_ID(__doc__), doc) != 0)
  ------------------
  |  |  951|    182|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    182|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    182|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (156:9): [True: 0, False: 182]
  ------------------
  157|      0|        return -1;
  158|    182|    if (PyDict_SetItem(md_dict, &_Py_ID(__package__), Py_None) != 0)
  ------------------
  |  |  951|    182|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    182|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    182|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(md_dict, &_Py_ID(__package__), Py_None) != 0)
  ------------------
  |  |  616|    182|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (158:9): [True: 0, False: 182]
  ------------------
  159|      0|        return -1;
  160|    182|    if (PyDict_SetItem(md_dict, &_Py_ID(__loader__), Py_None) != 0)
  ------------------
  |  |  951|    182|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    182|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    182|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(md_dict, &_Py_ID(__loader__), Py_None) != 0)
  ------------------
  |  |  616|    182|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (160:9): [True: 0, False: 182]
  ------------------
  161|      0|        return -1;
  162|    182|    if (PyDict_SetItem(md_dict, &_Py_ID(__spec__), Py_None) != 0)
  ------------------
  |  |  951|    182|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    182|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    182|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(md_dict, &_Py_ID(__spec__), Py_None) != 0)
  ------------------
  |  |  616|    182|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (162:9): [True: 0, False: 182]
  ------------------
  163|      0|        return -1;
  164|    182|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|    182|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    182|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    182|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 182, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|    182|        Py_XSETREF(mod->md_name, Py_NewRef(name));
  ------------------
  |  |  576|    182|    do { \
  |  |  577|    182|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    182|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    182|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    182|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    182|        *_tmp_dst_ptr = (src); \
  |  |  580|    182|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    182|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    182|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    182|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 182]
  |  |  ------------------
  ------------------
  166|    182|    }
  167|       |
  168|    182|    return 0;
  169|    182|}
moduleobject.c:track_module:
  229|    182|{
  230|    182|    _PyDict_EnablePerThreadRefcounting(m->md_dict);
  231|    182|    _PyObject_SetDeferredRefcount((PyObject *)m);
  232|    182|    PyDict_Watch(MODULE_WATCHER_ID, m->md_dict);
  ------------------
  |  |  315|    182|#define MODULE_WATCHER_ID       2
  ------------------
  233|    182|    PyObject_GC_Track(m);
  234|    182|}
moduleobject.c:check_api_version:
  280|     51|{
  281|     51|    if (module_api_version != PYTHON_API_VERSION && module_api_version != PYTHON_ABI_VERSION) {
  ------------------
  |  |   59|    102|#define PYTHON_API_VERSION 1013
  ------------------
                  if (module_api_version != PYTHON_API_VERSION && module_api_version != PYTHON_ABI_VERSION) {
  ------------------
  |  |   61|      0|#define PYTHON_ABI_VERSION 3
  ------------------
  |  Branch (281:9): [True: 0, False: 51]
  |  Branch (281:53): [True: 0, False: 0]
  ------------------
  282|      0|        int err;
  283|      0|        err = PyErr_WarnFormat(PyExc_RuntimeWarning, 1,
  284|      0|            "Python C API version mismatch for module %.100s: "
  285|      0|            "This Python has API version %d, module %.100s has version %d.",
  286|      0|             name,
  287|      0|             PYTHON_API_VERSION, name, module_api_version);
  ------------------
  |  |   59|      0|#define PYTHON_API_VERSION 1013
  ------------------
  288|      0|        if (err)
  ------------------
  |  Branch (288:13): [True: 0, False: 0]
  ------------------
  289|      0|            return 0;
  290|      0|    }
  291|     51|    return 1;
  292|     51|}
moduleobject.c:module_copy_members_from_deflike:
  338|     51|{
  339|     51|    md->md_state_size = def_like->m_size;
  340|     51|    md->md_state_traverse = def_like->m_traverse;
  341|     51|    md->md_state_clear = def_like->m_clear;
  342|     51|    md->md_state_free = def_like->m_free;
  343|     51|}
moduleobject.c:module_from_slots_and_spec:
  408|     43|{
  409|     43|    createfunc_t create = NULL;
  410|     43|    PyObject *nameobj;
  411|     43|    PyObject *m = NULL;
  412|     43|    uint64_t multiple_interpreters = (uint64_t)(uintptr_t)Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED;
  ------------------
  |  |   81|     43|#  define Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED ((void *)1)
  ------------------
  413|     43|    bool requires_gil = true;
  414|     43|    const char *name;
  415|     43|    int ret;
  416|     43|    void *token = NULL;
  417|     43|    _Py_modexecfunc m_exec = NULL;
  418|     43|    PyInterpreterState *interp = _PyInterpreterState_GET();
  419|       |
  420|     43|    nameobj = PyObject_GetAttrString(spec, "name");
  421|     43|    if (nameobj == NULL) {
  ------------------
  |  Branch (421:9): [True: 0, False: 43]
  ------------------
  422|      0|        return NULL;
  423|      0|    }
  424|     43|    name = PyUnicode_AsUTF8(nameobj);
  425|     43|    if (name == NULL) {
  ------------------
  |  Branch (425:9): [True: 0, False: 43]
  ------------------
  426|      0|        goto error;
  427|      0|    }
  428|       |
  429|     43|    if (!check_api_version(name, module_api_version)) {
  ------------------
  |  Branch (429:9): [True: 0, False: 43]
  ------------------
  430|      0|        goto error;
  431|      0|    }
  432|       |
  433|     43|    _PySlotIterator it;
  434|       |
  435|     43|    PyModuleDef _dummy_def = {0};
  436|     43|    PyModuleDef *def_like;
  437|     43|    if (slots) {
  ------------------
  |  Branch (437:9): [True: 0, False: 43]
  ------------------
  438|      0|        assert(!original_def);
  ------------------
  |  Branch (438:9): [True: 0, False: 0]
  ------------------
  439|      0|        def_like = &_dummy_def;
  440|      0|         _PySlotIterator_Init(&it, slots, _PySlot_KIND_MOD);
  441|      0|    }
  442|     43|    else {
  443|     43|        assert(original_def);
  ------------------
  |  Branch (443:9): [True: 43, False: 0]
  ------------------
  444|     43|        def_like = original_def;
  445|     43|         _PySlotIterator_InitLegacy(&it, def_like->m_slots, _PySlot_KIND_MOD);
  446|     43|    }
  447|     43|    it.name = name;
  448|       |
  449|    209|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (449:12): [True: 166, False: 43]
  ------------------
  450|    166|        switch (it.current.sl_id) {
  ------------------
  |  Branch (450:17): [True: 166, False: 0]
  ------------------
  451|      0|            case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (451:13): [True: 0, False: 166]
  ------------------
  452|      0|                goto error;
  453|      0|            case Py_mod_create:
  ------------------
  |  |   92|      0|#define Py_mod_create _Py_SLOT_COMPAT_VALUE(1, 84)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (453:13): [True: 0, False: 166]
  ------------------
  454|      0|                create = (createfunc_t)it.current.sl_func;
  455|      0|                break;
  456|     41|            case Py_mod_exec:
  ------------------
  |  |   93|     41|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|     41|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (456:13): [True: 41, False: 125]
  ------------------
  457|     41|                if (!original_def) {
  ------------------
  |  Branch (457:21): [True: 0, False: 41]
  ------------------
  458|      0|                    if (m_exec) {
  ------------------
  |  Branch (458:25): [True: 0, False: 0]
  ------------------
  459|      0|                        PyErr_Format(
  460|      0|                            PyExc_SystemError,
  461|      0|                            "module %s has multiple Py_mod_exec slots",
  462|      0|                            name);
  463|      0|                        goto error;
  464|      0|                    }
  465|      0|                    m_exec = (_Py_modexecfunc)it.current.sl_func;
  466|      0|                }
  467|     41|                break;
  468|     43|            case Py_mod_multiple_interpreters:
  ------------------
  |  |   94|     43|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|     43|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (468:13): [True: 43, False: 123]
  ------------------
  469|     43|                multiple_interpreters = it.current.sl_uint64;
  470|     43|                break;
  471|     43|            case Py_mod_gil:
  ------------------
  |  |   95|     43|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|     43|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (471:13): [True: 43, False: 123]
  ------------------
  472|     43|                {
  473|     43|                    uint64_t val = it.current.sl_uint64;
  474|     43|                    requires_gil = (val != (uint64_t)(uintptr_t)Py_MOD_GIL_NOT_USED);
  ------------------
  |  |   88|     43|#  define Py_MOD_GIL_NOT_USED ((void *)1)
  ------------------
  475|     43|                }
  476|     43|                break;
  477|     39|            case Py_mod_abi:
  ------------------
  |  |  117|     39|#define Py_mod_abi 109
  ------------------
  |  Branch (477:13): [True: 39, False: 127]
  ------------------
  478|     39|                if (PyABIInfo_Check(it.current.sl_ptr, name) < 0) {
  ------------------
  |  Branch (478:21): [True: 0, False: 39]
  ------------------
  479|      0|                    goto error;
  480|      0|                }
  481|     39|                break;
  482|     39|            case Py_mod_token:
  ------------------
  |  |  118|      0|#define Py_mod_token 110
  ------------------
  |  Branch (482:13): [True: 0, False: 166]
  ------------------
  483|      0|                if (original_def && original_def != it.current.sl_ptr) {
  ------------------
  |  Branch (483:21): [True: 0, False: 0]
  |  Branch (483:37): [True: 0, False: 0]
  ------------------
  484|      0|                    PyErr_Format(
  485|      0|                        PyExc_SystemError,
  486|      0|                        "module %s: arbitrary Py_mod_token not "
  487|      0|                        "allowed with PyModuleDef",
  488|      0|                        name);
  489|      0|                    goto error;
  490|      0|                }
  491|      0|                token = it.current.sl_ptr;
  492|      0|                break;
  493|       |            // Common case: Copy a PEP 793 slot to def_like
  494|      0|#define DEF_SLOT_CASE(SLOT, TYPE, SL_MEMBER, MEMBER)                        \
  495|      0|            case SLOT:                                                      \
  496|      0|                do {                                                        \
  497|      0|                    if (original_def) {                                     \
  498|      0|                        TYPE orig_value = (TYPE)original_def->MEMBER;       \
  499|      0|                        TYPE new_value = (TYPE)it.current.SL_MEMBER;        \
  500|      0|                        if (orig_value != new_value) {                      \
  501|      0|                            PyErr_Format(                                   \
  502|      0|                                PyExc_SystemError,                          \
  503|      0|                                "module %s: %s conflicts with "             \
  504|      0|                                "PyModuleDef." #MEMBER,                     \
  505|      0|                                name, _PySlot_GetName(it.current.sl_id));   \
  506|      0|                            goto error;                                     \
  507|      0|                        }                                                   \
  508|      0|                    }                                                       \
  509|      0|                    (def_like->MEMBER) = (TYPE)it.current.SL_MEMBER;        \
  510|      0|                } while (0);                                                \
  511|      0|                break;                                                      \
  512|       |            /////////////////////////////////////////////////////////////////
  513|      0|            DEF_SLOT_CASE(Py_mod_name, char*, sl_ptr, m_name)
  ------------------
  |  |  495|      0|            case SLOT:                                                      \
  |  |  ------------------
  |  |  |  Branch (495:13): [True: 0, False: 166]
  |  |  ------------------
  |  |  496|      0|                do {                                                        \
  |  |  497|      0|                    if (original_def) {                                     \
  |  |  ------------------
  |  |  |  Branch (497:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  498|      0|                        TYPE orig_value = (TYPE)original_def->MEMBER;       \
  |  |  499|      0|                        TYPE new_value = (TYPE)it.current.SL_MEMBER;        \
  |  |  500|      0|                        if (orig_value != new_value) {                      \
  |  |  ------------------
  |  |  |  Branch (500:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  501|      0|                            PyErr_Format(                                   \
  |  |  502|      0|                                PyExc_SystemError,                          \
  |  |  503|      0|                                "module %s: %s conflicts with "             \
  |  |  504|      0|                                "PyModuleDef." #MEMBER,                     \
  |  |  505|      0|                                name, _PySlot_GetName(it.current.sl_id));   \
  |  |  506|      0|                            goto error;                                     \
  |  |  507|      0|                        }                                                   \
  |  |  508|      0|                    }                                                       \
  |  |  509|      0|                    (def_like->MEMBER) = (TYPE)it.current.SL_MEMBER;        \
  |  |  510|      0|                } while (0);                                                \
  |  |  ------------------
  |  |  |  Branch (510:26): [Folded, False: 0]
  |  |  ------------------
  |  |  511|      0|                break;                                                      \
  ------------------
  514|      0|            DEF_SLOT_CASE(Py_mod_doc, char*, sl_ptr, m_doc)
  ------------------
  |  |  495|      0|            case SLOT:                                                      \
  |  |  ------------------
  |  |  |  Branch (495:13): [True: 0, False: 166]
  |  |  ------------------
  |  |  496|      0|                do {                                                        \
  |  |  497|      0|                    if (original_def) {                                     \
  |  |  ------------------
  |  |  |  Branch (497:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  498|      0|                        TYPE orig_value = (TYPE)original_def->MEMBER;       \
  |  |  499|      0|                        TYPE new_value = (TYPE)it.current.SL_MEMBER;        \
  |  |  500|      0|                        if (orig_value != new_value) {                      \
  |  |  ------------------
  |  |  |  Branch (500:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  501|      0|                            PyErr_Format(                                   \
  |  |  502|      0|                                PyExc_SystemError,                          \
  |  |  503|      0|                                "module %s: %s conflicts with "             \
  |  |  504|      0|                                "PyModuleDef." #MEMBER,                     \
  |  |  505|      0|                                name, _PySlot_GetName(it.current.sl_id));   \
  |  |  506|      0|                            goto error;                                     \
  |  |  507|      0|                        }                                                   \
  |  |  508|      0|                    }                                                       \
  |  |  509|      0|                    (def_like->MEMBER) = (TYPE)it.current.SL_MEMBER;        \
  |  |  510|      0|                } while (0);                                                \
  |  |  ------------------
  |  |  |  Branch (510:26): [Folded, False: 0]
  |  |  ------------------
  |  |  511|      0|                break;                                                      \
  ------------------
  515|      0|            DEF_SLOT_CASE(Py_mod_state_size, Py_ssize_t, sl_size, m_size)
  ------------------
  |  |  495|      0|            case SLOT:                                                      \
  |  |  ------------------
  |  |  |  Branch (495:13): [True: 0, False: 166]
  |  |  ------------------
  |  |  496|      0|                do {                                                        \
  |  |  497|      0|                    if (original_def) {                                     \
  |  |  ------------------
  |  |  |  Branch (497:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  498|      0|                        TYPE orig_value = (TYPE)original_def->MEMBER;       \
  |  |  499|      0|                        TYPE new_value = (TYPE)it.current.SL_MEMBER;        \
  |  |  500|      0|                        if (orig_value != new_value) {                      \
  |  |  ------------------
  |  |  |  Branch (500:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  501|      0|                            PyErr_Format(                                   \
  |  |  502|      0|                                PyExc_SystemError,                          \
  |  |  503|      0|                                "module %s: %s conflicts with "             \
  |  |  504|      0|                                "PyModuleDef." #MEMBER,                     \
  |  |  505|      0|                                name, _PySlot_GetName(it.current.sl_id));   \
  |  |  506|      0|                            goto error;                                     \
  |  |  507|      0|                        }                                                   \
  |  |  508|      0|                    }                                                       \
  |  |  509|      0|                    (def_like->MEMBER) = (TYPE)it.current.SL_MEMBER;        \
  |  |  510|      0|                } while (0);                                                \
  |  |  ------------------
  |  |  |  Branch (510:26): [Folded, False: 0]
  |  |  ------------------
  |  |  511|      0|                break;                                                      \
  ------------------
  516|      0|            DEF_SLOT_CASE(Py_mod_methods, PyMethodDef*, sl_ptr, m_methods)
  ------------------
  |  |  495|      0|            case SLOT:                                                      \
  |  |  ------------------
  |  |  |  Branch (495:13): [True: 0, False: 166]
  |  |  ------------------
  |  |  496|      0|                do {                                                        \
  |  |  497|      0|                    if (original_def) {                                     \
  |  |  ------------------
  |  |  |  Branch (497:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  498|      0|                        TYPE orig_value = (TYPE)original_def->MEMBER;       \
  |  |  499|      0|                        TYPE new_value = (TYPE)it.current.SL_MEMBER;        \
  |  |  500|      0|                        if (orig_value != new_value) {                      \
  |  |  ------------------
  |  |  |  Branch (500:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  501|      0|                            PyErr_Format(                                   \
  |  |  502|      0|                                PyExc_SystemError,                          \
  |  |  503|      0|                                "module %s: %s conflicts with "             \
  |  |  504|      0|                                "PyModuleDef." #MEMBER,                     \
  |  |  505|      0|                                name, _PySlot_GetName(it.current.sl_id));   \
  |  |  506|      0|                            goto error;                                     \
  |  |  507|      0|                        }                                                   \
  |  |  508|      0|                    }                                                       \
  |  |  509|      0|                    (def_like->MEMBER) = (TYPE)it.current.SL_MEMBER;        \
  |  |  510|      0|                } while (0);                                                \
  |  |  ------------------
  |  |  |  Branch (510:26): [Folded, False: 0]
  |  |  ------------------
  |  |  511|      0|                break;                                                      \
  ------------------
  517|      0|            DEF_SLOT_CASE(Py_mod_state_traverse,
  ------------------
  |  |  495|      0|            case SLOT:                                                      \
  |  |  ------------------
  |  |  |  Branch (495:13): [True: 0, False: 166]
  |  |  ------------------
  |  |  496|      0|                do {                                                        \
  |  |  497|      0|                    if (original_def) {                                     \
  |  |  ------------------
  |  |  |  Branch (497:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  498|      0|                        TYPE orig_value = (TYPE)original_def->MEMBER;       \
  |  |  499|      0|                        TYPE new_value = (TYPE)it.current.SL_MEMBER;        \
  |  |  500|      0|                        if (orig_value != new_value) {                      \
  |  |  ------------------
  |  |  |  Branch (500:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  501|      0|                            PyErr_Format(                                   \
  |  |  502|      0|                                PyExc_SystemError,                          \
  |  |  503|      0|                                "module %s: %s conflicts with "             \
  |  |  504|      0|                                "PyModuleDef." #MEMBER,                     \
  |  |  505|      0|                                name, _PySlot_GetName(it.current.sl_id));   \
  |  |  506|      0|                            goto error;                                     \
  |  |  507|      0|                        }                                                   \
  |  |  508|      0|                    }                                                       \
  |  |  509|      0|                    (def_like->MEMBER) = (TYPE)it.current.SL_MEMBER;        \
  |  |  510|      0|                } while (0);                                                \
  |  |  ------------------
  |  |  |  Branch (510:26): [Folded, False: 0]
  |  |  ------------------
  |  |  511|      0|                break;                                                      \
  ------------------
  518|      0|                          traverseproc, sl_func, m_traverse)
  519|      0|            DEF_SLOT_CASE(Py_mod_state_clear, inquiry, sl_func, m_clear)
  ------------------
  |  |  495|      0|            case SLOT:                                                      \
  |  |  ------------------
  |  |  |  Branch (495:13): [True: 0, False: 166]
  |  |  ------------------
  |  |  496|      0|                do {                                                        \
  |  |  497|      0|                    if (original_def) {                                     \
  |  |  ------------------
  |  |  |  Branch (497:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  498|      0|                        TYPE orig_value = (TYPE)original_def->MEMBER;       \
  |  |  499|      0|                        TYPE new_value = (TYPE)it.current.SL_MEMBER;        \
  |  |  500|      0|                        if (orig_value != new_value) {                      \
  |  |  ------------------
  |  |  |  Branch (500:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  501|      0|                            PyErr_Format(                                   \
  |  |  502|      0|                                PyExc_SystemError,                          \
  |  |  503|      0|                                "module %s: %s conflicts with "             \
  |  |  504|      0|                                "PyModuleDef." #MEMBER,                     \
  |  |  505|      0|                                name, _PySlot_GetName(it.current.sl_id));   \
  |  |  506|      0|                            goto error;                                     \
  |  |  507|      0|                        }                                                   \
  |  |  508|      0|                    }                                                       \
  |  |  509|      0|                    (def_like->MEMBER) = (TYPE)it.current.SL_MEMBER;        \
  |  |  510|      0|                } while (0);                                                \
  |  |  ------------------
  |  |  |  Branch (510:26): [Folded, False: 0]
  |  |  ------------------
  |  |  511|      0|                break;                                                      \
  ------------------
  520|    166|            DEF_SLOT_CASE(Py_mod_state_free, freefunc, sl_func, m_free)
  ------------------
  |  |  495|      0|            case SLOT:                                                      \
  |  |  ------------------
  |  |  |  Branch (495:13): [True: 0, False: 166]
  |  |  ------------------
  |  |  496|      0|                do {                                                        \
  |  |  497|      0|                    if (original_def) {                                     \
  |  |  ------------------
  |  |  |  Branch (497:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  498|      0|                        TYPE orig_value = (TYPE)original_def->MEMBER;       \
  |  |  499|      0|                        TYPE new_value = (TYPE)it.current.SL_MEMBER;        \
  |  |  500|      0|                        if (orig_value != new_value) {                      \
  |  |  ------------------
  |  |  |  Branch (500:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  501|      0|                            PyErr_Format(                                   \
  |  |  502|      0|                                PyExc_SystemError,                          \
  |  |  503|      0|                                "module %s: %s conflicts with "             \
  |  |  504|      0|                                "PyModuleDef." #MEMBER,                     \
  |  |  505|      0|                                name, _PySlot_GetName(it.current.sl_id));   \
  |  |  506|      0|                            goto error;                                     \
  |  |  507|      0|                        }                                                   \
  |  |  508|      0|                    }                                                       \
  |  |  509|      0|                    (def_like->MEMBER) = (TYPE)it.current.SL_MEMBER;        \
  |  |  510|      0|                } while (0);                                                \
  |  |  ------------------
  |  |  |  Branch (510:26): [Folded, False: 0]
  |  |  ------------------
  |  |  511|      0|                break;                                                      \
  ------------------
  521|    166|#undef DEF_SLOT_CASE
  522|    166|        }
  523|    166|    }
  524|     43|    if (!original_def && !_PySlotIterator_SawSlot(&it, Py_mod_abi)) {
  ------------------
  |  |  117|      0|#define Py_mod_abi 109
  ------------------
  |  Branch (524:9): [True: 0, False: 43]
  |  Branch (524:26): [True: 0, False: 0]
  ------------------
  525|      0|        PyErr_Format(
  526|      0|            PyExc_SystemError,
  527|      0|            "module %s does not define Py_mod_abi,"
  528|      0|            " which is mandatory for modules defined from slots only.",
  529|      0|            name);
  530|      0|        goto error;
  531|      0|    }
  532|       |
  533|       |#ifdef Py_GIL_DISABLED
  534|       |    // For modules created directly from slots (not from a def), we enable
  535|       |    // the GIL here (pairing `_PyEval_EnableGILTransient` with
  536|       |    // an immediate `_PyImport_EnableGILAndWarn`).
  537|       |    // For modules created from a def, the caller is responsible for this.
  538|       |    if (!original_def && requires_gil) {
  539|       |        PyThreadState *tstate = _PyThreadState_GET();
  540|       |        if (_PyEval_EnableGILTransient(tstate) < 0) {
  541|       |            goto error;
  542|       |        }
  543|       |        if (_PyImport_EnableGILAndWarn(tstate, nameobj) < 0) {
  544|       |            goto error;
  545|       |        }
  546|       |    }
  547|       |#endif
  548|       |
  549|     43|    if (def_like->m_size < 0) {
  ------------------
  |  Branch (549:9): [True: 0, False: 43]
  ------------------
  550|      0|        PyErr_Format(
  551|      0|            PyExc_SystemError,
  552|      0|            "module %s: m_size may not be negative for multi-phase initialization",
  553|      0|            name);
  554|      0|        goto error;
  555|      0|    }
  556|       |
  557|       |    /* By default, multi-phase init modules are expected
  558|       |       to work under multiple interpreters. */
  559|     43|    if (multiple_interpreters == (int64_t)(intptr_t)Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED) {
  ------------------
  |  |   80|     43|#  define Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED ((void *)0)
  ------------------
  |  Branch (559:9): [True: 0, False: 43]
  ------------------
  560|      0|        if (!_Py_IsMainInterpreter(interp)
  ------------------
  |  Branch (560:13): [True: 0, False: 0]
  ------------------
  561|      0|            && _PyImport_CheckSubinterpIncompatibleExtensionAllowed(name) < 0)
  ------------------
  |  Branch (561:16): [True: 0, False: 0]
  ------------------
  562|      0|        {
  563|      0|            goto error;
  564|      0|        }
  565|      0|    }
  566|     43|    else if (multiple_interpreters != (int64_t)(intptr_t)Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
  ------------------
  |  |   82|     86|#  define Py_MOD_PER_INTERPRETER_GIL_SUPPORTED ((void *)2)
  ------------------
  |  Branch (566:14): [True: 0, False: 43]
  ------------------
  567|      0|             && interp->ceval.own_gil
  ------------------
  |  Branch (567:17): [True: 0, False: 0]
  ------------------
  568|      0|             && !_Py_IsMainInterpreter(interp)
  ------------------
  |  Branch (568:17): [True: 0, False: 0]
  ------------------
  569|      0|             && _PyImport_CheckSubinterpIncompatibleExtensionAllowed(name) < 0)
  ------------------
  |  Branch (569:17): [True: 0, False: 0]
  ------------------
  570|      0|    {
  571|      0|        goto error;
  572|      0|    }
  573|       |
  574|     43|    if (create) {
  ------------------
  |  Branch (574:9): [True: 0, False: 43]
  ------------------
  575|      0|        m = create(spec, original_def);
  576|      0|        if (m == NULL) {
  ------------------
  |  Branch (576:13): [True: 0, False: 0]
  ------------------
  577|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (577:17): [True: 0, False: 0]
  ------------------
  578|      0|                PyErr_Format(
  579|      0|                    PyExc_SystemError,
  580|      0|                    "creation of module %s failed without setting an exception",
  581|      0|                    name);
  582|      0|            }
  583|      0|            goto error;
  584|      0|        } else {
  585|      0|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (585:17): [True: 0, False: 0]
  ------------------
  586|      0|                _PyErr_FormatFromCause(
  587|      0|                    PyExc_SystemError,
  588|      0|                    "creation of module %s raised unreported exception",
  589|      0|                    name);
  590|      0|                goto error;
  591|      0|            }
  592|      0|        }
  593|     43|    } else {
  594|     43|        m = PyModule_NewObject(nameobj);
  595|     43|        if (m == NULL) {
  ------------------
  |  Branch (595:13): [True: 0, False: 43]
  ------------------
  596|      0|            goto error;
  597|      0|        }
  598|     43|    }
  599|       |
  600|     43|    if (PyModule_Check(m)) {
  ------------------
  |  |   12|     43|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|     43|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 43, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  601|     43|        PyModuleObject *mod = (PyModuleObject*)m;
  602|     43|        mod->md_state = NULL;
  603|     43|        module_copy_members_from_deflike(mod, def_like);
  604|     43|        if (original_def) {
  ------------------
  |  Branch (604:13): [True: 43, False: 0]
  ------------------
  605|     43|            assert (!token || token == original_def);
  ------------------
  |  Branch (605:13): [True: 43, False: 0]
  |  Branch (605:13): [True: 0, False: 0]
  ------------------
  606|     43|            mod->md_token = original_def;
  607|     43|            mod->md_token_is_def = 1;
  608|     43|        }
  609|      0|        else {
  610|      0|            mod->md_token = token;
  611|      0|        }
  612|       |#ifdef Py_GIL_DISABLED
  613|       |        mod->md_requires_gil = requires_gil;
  614|       |#else
  615|     43|        (void)requires_gil;
  616|     43|#endif
  617|     43|        mod->md_exec = m_exec;
  618|     43|    } else {
  619|      0|        if (def_like->m_size > 0 || def_like->m_traverse || def_like->m_clear
  ------------------
  |  Branch (619:13): [True: 0, False: 0]
  |  Branch (619:37): [True: 0, False: 0]
  |  Branch (619:61): [True: 0, False: 0]
  ------------------
  620|      0|            || def_like->m_free)
  ------------------
  |  Branch (620:16): [True: 0, False: 0]
  ------------------
  621|      0|        {
  622|      0|            PyErr_Format(
  623|      0|                PyExc_SystemError,
  624|      0|                "module %s is not a module object, but requests module state",
  625|      0|                name);
  626|      0|            goto error;
  627|      0|        }
  628|      0|        if (_PySlotIterator_SawSlot(&it, Py_mod_exec)) {
  ------------------
  |  |   93|      0|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (628:13): [True: 0, False: 0]
  ------------------
  629|      0|            PyErr_Format(
  630|      0|                PyExc_SystemError,
  631|      0|                "module %s specifies execution slots, but did not create "
  632|      0|                    "a ModuleType instance",
  633|      0|                name);
  634|      0|            goto error;
  635|      0|        }
  636|      0|        if (token) {
  ------------------
  |  Branch (636:13): [True: 0, False: 0]
  ------------------
  637|      0|            PyErr_Format(
  638|      0|                PyExc_SystemError,
  639|      0|                "module %s specifies a token, but did not create "
  640|      0|                    "a ModuleType instance",
  641|      0|                name);
  642|      0|            goto error;
  643|      0|        }
  644|      0|    }
  645|       |
  646|     43|    if (def_like->m_methods != NULL) {
  ------------------
  |  Branch (646:9): [True: 42, False: 1]
  ------------------
  647|     42|        ret = _add_methods_to_object(m, nameobj, def_like->m_methods);
  648|     42|        if (ret != 0) {
  ------------------
  |  Branch (648:13): [True: 0, False: 42]
  ------------------
  649|      0|            goto error;
  650|      0|        }
  651|     42|    }
  652|       |
  653|     43|    if (def_like->m_doc != NULL) {
  ------------------
  |  Branch (653:9): [True: 34, False: 9]
  ------------------
  654|     34|        ret = PyModule_SetDocString(m, def_like->m_doc);
  655|     34|        if (ret != 0) {
  ------------------
  |  Branch (655:13): [True: 0, False: 34]
  ------------------
  656|      0|            goto error;
  657|      0|        }
  658|     34|    }
  659|       |
  660|     43|    Py_DECREF(nameobj);
  ------------------
  |  |  430|     43|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  661|     43|    return m;
  662|       |
  663|      0|error:
  664|      0|    Py_DECREF(nameobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  665|      0|    Py_XDECREF(m);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  666|       |    return NULL;
  667|     43|}
moduleobject.c:alloc_state:
  729|     86|{
  730|     86|    if (!PyModule_Check(module)) {
  ------------------
  |  |   12|     86|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|     86|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (730:9): [True: 0, False: 86]
  ------------------
  731|      0|        PyErr_Format(PyExc_TypeError, "expected module, got %T", module);
  732|      0|        return -1;
  733|      0|    }
  734|     86|    PyModuleObject *md = (PyModuleObject*)module;
  735|       |
  736|     86|    if (md->md_state_size >= 0) {
  ------------------
  |  Branch (736:9): [True: 86, False: 0]
  ------------------
  737|     86|        if (md->md_state == NULL) {
  ------------------
  |  Branch (737:13): [True: 43, False: 43]
  ------------------
  738|       |            /* Always set a state pointer; this serves as a marker to skip
  739|       |             * multiple initialization (importlib.reload() is no-op) */
  740|     43|            md->md_state = PyMem_Malloc(md->md_state_size);
  741|     43|            if (!md->md_state) {
  ------------------
  |  Branch (741:17): [True: 0, False: 43]
  ------------------
  742|      0|                PyErr_NoMemory();
  743|      0|                return -1;
  744|      0|            }
  745|     43|            memset(md->md_state, 0, md->md_state_size);
  746|     43|        }
  747|     86|    }
  748|     86|    return 0;
  749|     86|}
moduleobject.c:run_exec_func:
  706|     41|{
  707|     41|    int ret = exec(module);
  708|     41|    if (ret != 0) {
  ------------------
  |  Branch (708:9): [True: 0, False: 41]
  ------------------
  709|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (709:13): [True: 0, False: 0]
  ------------------
  710|      0|            PyErr_Format(
  711|      0|                PyExc_SystemError,
  712|      0|                "execution of %R failed without setting an exception",
  713|      0|                module);
  714|      0|        }
  715|      0|        return -1;
  716|      0|    }
  717|     41|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (717:9): [True: 0, False: 41]
  ------------------
  718|      0|        _PyErr_FormatFromCause(
  719|      0|            PyExc_SystemError,
  720|      0|            "execution of module %R raised unreported exception",
  721|      0|            module);
  722|      0|        return -1;
  723|      0|    }
  724|     41|    return 0;
  725|     41|}
moduleobject.c:_add_methods_to_object:
  296|     50|{
  297|     50|    PyObject *func;
  298|     50|    PyMethodDef *fdef;
  299|       |
  300|  1.13k|    for (fdef = functions; fdef->ml_name != NULL; fdef++) {
  ------------------
  |  Branch (300:28): [True: 1.08k, False: 50]
  ------------------
  301|  1.08k|        if ((fdef->ml_flags & METH_CLASS) ||
  ------------------
  |  |  104|  1.08k|#define METH_CLASS    0x0010
  ------------------
  |  Branch (301:13): [True: 0, False: 1.08k]
  ------------------
  302|  1.08k|            (fdef->ml_flags & METH_STATIC)) {
  ------------------
  |  |  105|  1.08k|#define METH_STATIC   0x0020
  ------------------
  |  Branch (302:13): [True: 0, False: 1.08k]
  ------------------
  303|      0|            PyErr_SetString(PyExc_ValueError,
  304|      0|                            "module functions cannot set"
  305|      0|                            " METH_CLASS or METH_STATIC");
  306|      0|            return -1;
  307|      0|        }
  308|  1.08k|        func = PyCFunction_NewEx(fdef, (PyObject*)module, name);
  ------------------
  |  |   87|  1.08k|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  309|  1.08k|        if (func == NULL) {
  ------------------
  |  Branch (309:13): [True: 0, False: 1.08k]
  ------------------
  310|      0|            return -1;
  311|      0|        }
  312|  1.08k|        _PyObject_SetDeferredRefcount(func);
  313|  1.08k|        if (PyObject_SetAttrString(module, fdef->ml_name, func) != 0) {
  ------------------
  |  Branch (313:13): [True: 0, False: 1.08k]
  ------------------
  314|      0|            Py_DECREF(func);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  315|      0|            return -1;
  316|      0|        }
  317|  1.08k|        Py_DECREF(func);
  ------------------
  |  |  430|  1.08k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  318|  1.08k|    }
  319|       |
  320|     50|    return 0;
  321|     50|}
moduleobject.c:module_get_resolved_dict_item:
 1318|    761|{
 1319|    761|    int rc = PyDict_GetItemRef(dict, name, result);
 1320|    761|    if (rc <= 0 || !PyLazyImport_CheckExact(*result)) {
  ------------------
  |  |   15|      9|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_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 (1320:9): [True: 752, False: 9]
  |  Branch (1320:20): [True: 9, False: 0]
  ------------------
 1321|    761|        return rc;
 1322|    761|    }
 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:module_dealloc:
 1141|      6|{
 1142|      6|    PyModuleObject *m = _PyModule_CAST(self);
  ------------------
  |  |   24|      6|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1142:25): [True: 6, False: 0]
  ------------------
 1143|       |
 1144|      0|    PyObject_GC_UnTrack(m);
 1145|       |
 1146|      6|    int verbose = _Py_GetConfig()->verbose;
 1147|      6|    if (verbose && m->md_name) {
  ------------------
  |  Branch (1147:9): [True: 0, False: 6]
  |  Branch (1147:20): [True: 0, False: 0]
  ------------------
 1148|      0|        PySys_FormatStderr("# destroy %U\n", m->md_name);
 1149|      0|    }
 1150|      6|    FT_CLEAR_WEAKREFS(self, m->md_weaklist);
  ------------------
  |  |   47|      6|    do {                                            \
  |  |   48|      6|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|      6|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 6]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  |  Branch (1150:5): [True: 6, False: 0]
  ------------------
 1151|       |
 1152|      6|    assert_def_missing_or_redundant(m);
 1153|       |    /* bpo-39824: Don't call m_free() if m_size > 0 and md_state=NULL */
 1154|      6|    if (m->md_state_free && (m->md_state_size <= 0 || m->md_state != NULL))
  ------------------
  |  Branch (1154:9): [True: 0, False: 6]
  |  Branch (1154:30): [True: 0, False: 0]
  |  Branch (1154:55): [True: 0, False: 0]
  ------------------
 1155|      0|    {
 1156|      0|        m->md_state_free(m);
 1157|      0|    }
 1158|       |
 1159|      6|    Py_XDECREF(m->md_dict);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1160|      6|    Py_XDECREF(m->md_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1161|      6|    if (m->md_state != NULL) {
  ------------------
  |  Branch (1161:9): [True: 0, False: 6]
  ------------------
 1162|      0|        PyMem_Free(m->md_state);
 1163|      0|    }
 1164|      6|    Py_TYPE(m)->tp_free((PyObject *)m);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1165|      6|}
moduleobject.c:assert_def_missing_or_redundant:
   34|  2.86k|{
   35|       |    /* We copy all relevant info into the module object.
   36|       |     * Modules created using a def keep a reference to that (statically
   37|       |     * allocated) def; the info there should match what we have in the module.
   38|       |     */
   39|  2.86k|#ifndef NDEBUG
   40|  2.86k|    if (m->md_token_is_def) {
  ------------------
  |  Branch (40:9): [True: 712, False: 2.14k]
  ------------------
   41|    712|        PyModuleDef *def = (PyModuleDef *)m->md_token;
   42|    712|        assert(def);
  ------------------
  |  Branch (42:9): [True: 712, False: 0]
  ------------------
   43|    712|#define DO_ASSERT(F) assert (def->m_ ## F == m->md_state_ ## F);
   44|    712|        DO_ASSERT(size);
  ------------------
  |  |   43|    712|#define DO_ASSERT(F) assert (def->m_ ## F == m->md_state_ ## F);
  ------------------
  |  Branch (44:9): [True: 712, False: 0]
  ------------------
   45|    712|        DO_ASSERT(traverse);
  ------------------
  |  |   43|    712|#define DO_ASSERT(F) assert (def->m_ ## F == m->md_state_ ## F);
  ------------------
  |  Branch (45:9): [True: 712, False: 0]
  ------------------
   46|    712|        DO_ASSERT(clear);
  ------------------
  |  |   43|    712|#define DO_ASSERT(F) assert (def->m_ ## F == m->md_state_ ## F);
  ------------------
  |  Branch (46:9): [True: 712, False: 0]
  ------------------
   47|    712|        DO_ASSERT(free);
  ------------------
  |  |   43|    712|#define DO_ASSERT(F) assert (def->m_ ## F == m->md_state_ ## F);
  ------------------
  |  Branch (47:9): [True: 712, False: 0]
  ------------------
   48|    712|#undef DO_ASSERT
   49|    712|    }
   50|  2.86k|#endif // NDEBUG
   51|  2.86k|}
moduleobject.c:module_traverse:
 1532|  2.85k|{
 1533|  2.85k|    PyModuleObject *m = _PyModule_CAST(self);
  ------------------
  |  |   24|  2.85k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1533:25): [True: 2.85k, 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|  2.85k|    if (m->md_state_traverse && (m->md_state_size <= 0 || m->md_state != NULL))
  ------------------
  |  Branch (1537:9): [True: 324, False: 2.53k]
  |  Branch (1537:34): [True: 0, False: 324]
  |  Branch (1537:59): [True: 324, False: 0]
  ------------------
 1538|    324|    {
 1539|    324|        int res = m->md_state_traverse((PyObject*)m, visit, arg);
 1540|    324|        if (res)
  ------------------
  |  Branch (1540:13): [True: 0, False: 324]
  ------------------
 1541|      0|            return res;
 1542|    324|    }
 1543|       |
 1544|  2.85k|    Py_VISIT(m->md_dict);
  ------------------
  |  |  194|  2.85k|    do {                                                                \
  |  |  195|  2.85k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.85k, False: 0]
  |  |  ------------------
  |  |  196|  2.85k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.85k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.85k]
  |  |  ------------------
  |  |  198|  2.85k|                return vret;                                            \
  |  |  199|  2.85k|        }                                                               \
  |  |  200|  2.85k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.85k]
  |  |  ------------------
  ------------------
 1545|  2.85k|    return 0;
 1546|  2.85k|}
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|    125|{
 1136|    125|    return module_init_dict(self, self->md_dict, name, doc);
 1137|    125|}
moduleobject.c:new_module:
  238|    125|{
  239|    125|    PyModuleObject *m = new_module_notrack(mt);
  240|    125|    if (m != NULL) {
  ------------------
  |  Branch (240:9): [True: 125, False: 0]
  ------------------
  241|    125|        track_module(m);
  242|    125|    }
  243|    125|    return (PyObject *)m;
  244|    125|}

_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|    388|{
  187|    388|    _PyNamespaceObject *ns = _PyNamespace_CAST(op);
  ------------------
  |  |   20|    388|#define _PyNamespace_CAST(op) _Py_CAST(_PyNamespaceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    388|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  188|    388|    Py_VISIT(ns->ns_dict);
  ------------------
  |  |  194|    388|    do {                                                                \
  |  |  195|    388|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 388, False: 0]
  |  |  ------------------
  |  |  196|    388|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    388|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    388|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    388|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 388]
  |  |  ------------------
  |  |  198|    388|                return vret;                                            \
  |  |  199|    388|        }                                                               \
  |  |  200|    388|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 388]
  |  |  ------------------
  ------------------
  189|    388|    return 0;
  190|    388|}
namespaceobject.c:namespace_init:
   55|     28|{
   56|     28|    _PyNamespaceObject *ns = _PyNamespace_CAST(op);
  ------------------
  |  |   20|     28|#define _PyNamespace_CAST(op) _Py_CAST(_PyNamespaceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   57|     28|    PyObject *arg = NULL;
   58|     28|    if (!PyArg_UnpackTuple(args, _PyType_Name(Py_TYPE(ns)), 0, 1, &arg)) {
  ------------------
  |  |  213|     28|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (58:9): [True: 0, False: 28]
  ------------------
   59|      0|        return -1;
   60|      0|    }
   61|     28|    if (arg != NULL) {
  ------------------
  |  Branch (61:9): [True: 0, False: 28]
  ------------------
   62|      0|        PyObject *dict;
   63|      0|        if (PyDict_CheckExact(arg)) {
  ------------------
  |  |   19|      0|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   64|      0|            dict = Py_NewRef(arg);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   65|      0|        }
   66|      0|        else {
   67|      0|            dict = PyObject_CallOneArg((PyObject *)&PyDict_Type, arg);
   68|      0|            if (dict == NULL) {
  ------------------
  |  Branch (68:17): [True: 0, False: 0]
  ------------------
   69|      0|                return -1;
   70|      0|            }
   71|      0|        }
   72|      0|        int err = (!PyArg_ValidateKeywordArguments(dict) ||
  ------------------
  |  Branch (72:20): [True: 0, False: 0]
  ------------------
   73|      0|                   PyDict_Update(ns->ns_dict, dict) < 0);
  ------------------
  |  Branch (73:20): [True: 0, False: 0]
  ------------------
   74|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   75|      0|        if (err) {
  ------------------
  |  Branch (75:13): [True: 0, False: 0]
  ------------------
   76|      0|            return -1;
   77|      0|        }
   78|      0|    }
   79|     28|    if (kwds == NULL) {
  ------------------
  |  Branch (79:9): [True: 0, False: 28]
  ------------------
   80|      0|        return 0;
   81|      0|    }
   82|     28|    if (!PyArg_ValidateKeywordArguments(kwds)) {
  ------------------
  |  Branch (82:9): [True: 0, False: 28]
  ------------------
   83|      0|        return -1;
   84|      0|    }
   85|     28|    return PyDict_Update(ns->ns_dict, kwds);
   86|     28|}
namespaceobject.c:namespace_new:
   36|     36|{
   37|     36|    PyObject *self;
   38|       |
   39|     36|    assert(type != NULL && type->tp_alloc != NULL);
  ------------------
  |  Branch (39:5): [True: 36, False: 0]
  |  Branch (39:5): [True: 36, False: 0]
  ------------------
   40|     36|    self = type->tp_alloc(type, 0);
   41|     36|    if (self != NULL) {
  ------------------
  |  Branch (41:9): [True: 36, False: 0]
  ------------------
   42|     36|        _PyNamespaceObject *ns = (_PyNamespaceObject *)self;
   43|     36|        ns->ns_dict = PyDict_New();
   44|     36|        if (ns->ns_dict == NULL) {
  ------------------
  |  Branch (44:13): [True: 0, False: 36]
  ------------------
   45|      0|            Py_DECREF(ns);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   46|      0|            return NULL;
   47|      0|        }
   48|     36|    }
   49|     36|    return self;
   50|     36|}

_Py_DecRef:
  357|    550|{
  358|    550|    Py_DECREF(o);
  ------------------
  |  |  430|    550|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    550|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    550|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|    550|}
_PyObject_New:
  556|  80.5k|{
  557|  80.5k|    PyObject *op = (PyObject *) PyObject_Malloc(_PyObject_SIZE(tp));
  558|  80.5k|    if (op == NULL) {
  ------------------
  |  Branch (558:9): [True: 0, False: 80.5k]
  ------------------
  559|      0|        return PyErr_NoMemory();
  560|      0|    }
  561|  80.5k|    _PyObject_Init(op, tp);
  562|  80.5k|    return op;
  563|  80.5k|}
_PyObject_NewVar:
  567|  77.8k|{
  568|  77.8k|    PyVarObject *op;
  569|  77.8k|    const size_t size = _PyObject_VAR_SIZE(tp, nitems);
  570|  77.8k|    op = (PyVarObject *) PyObject_Malloc(size);
  571|  77.8k|    if (op == NULL) {
  ------------------
  |  Branch (571:9): [True: 0, False: 77.8k]
  ------------------
  572|      0|        return (PyVarObject *)PyErr_NoMemory();
  573|      0|    }
  574|  77.8k|    _PyObject_InitVar(op, tp, nitems);
  575|  77.8k|    return op;
  576|  77.8k|}
PyObject_CallFinalizer:
  580|  1.13k|{
  581|  1.13k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  1.13k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  582|       |
  583|  1.13k|    if (tp->tp_finalize == NULL)
  ------------------
  |  Branch (583:9): [True: 0, False: 1.13k]
  ------------------
  584|      0|        return;
  585|       |    /* tp_finalize should only be called once. */
  586|  1.13k|    if (_PyType_IS_GC(tp)) {
  ------------------
  |  Branch (586:9): [True: 1.13k, False: 0]
  ------------------
  587|  1.13k|        if (_PyGC_FINALIZED(self))
  ------------------
  |  Branch (587:13): [True: 0, False: 1.13k]
  ------------------
  588|      0|            return;
  589|       |
  590|  1.13k|        _PyGC_SET_FINALIZED(self);
  591|  1.13k|    }
  592|  1.13k|    tp->tp_finalize(self);
  593|  1.13k|}
PyObject_CallFinalizerFromDealloc:
  597|  1.13k|{
  598|  1.13k|    if (Py_REFCNT(self) != 0) {
  ------------------
  |  |  119|  1.13k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (598:9): [True: 0, False: 1.13k]
  ------------------
  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|  1.13k|    _PyObject_ResurrectStart(self);
  606|       |
  607|  1.13k|    PyObject_CallFinalizer(self);
  608|       |
  609|  1.13k|    _PyObject_ASSERT_WITH_MSG(self,
  ------------------
  |  |  358|  1.13k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  351|  1.13k|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (351:6): [True: 1.13k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  352|  1.13k|      ? (void)(0) \
  |  |  |  |  353|  1.13k|      : _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|  1.13k|                              Py_REFCNT(self) > 0,
  611|  1.13k|                              "refcount is too small");
  612|       |
  613|  1.13k|    _PyObject_ASSERT(self,
  ------------------
  |  |  360|  1.13k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  1.13k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  2.27k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:7): [True: 0, False: 1.13k]
  |  |  |  |  |  |  |  Branch (351:7): [True: 1.13k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.13k|      ? (void)(0) \
  |  |  |  |  |  |  353|  1.13k|      : _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|  1.13k|                    (!_PyType_IS_GC(Py_TYPE(self))
  615|  1.13k|                    || _PyObject_GC_IS_TRACKED(self)));
  616|       |
  617|       |    /* Undo the temporary resurrection; can't use DECREF here, it would
  618|       |     * cause a recursive call. */
  619|  1.13k|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (619:9): [True: 0, False: 1.13k]
  ------------------
  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|  1.13k|    return 0;
  631|  1.13k|}
_PyObject_IsFreed:
  712|   582M|{
  713|   582M|    if (_PyMem_IsPtrFreed(op) || _PyMem_IsPtrFreed(Py_TYPE(op))) {
  ------------------
  |  |  213|   582M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   582M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   582M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (713:9): [True: 0, False: 582M]
  |  Branch (713:34): [True: 0, False: 582M]
  ------------------
  714|      0|        return 1;
  715|      0|    }
  716|   582M|    return 0;
  717|   582M|}
PyObject_Repr:
  761|   104k|{
  762|   104k|    PyObject *res;
  763|   104k|    if (PyErr_CheckSignals())
  ------------------
  |  Branch (763:9): [True: 0, False: 104k]
  ------------------
  764|      0|        return NULL;
  765|   104k|    if (v == NULL)
  ------------------
  |  Branch (765:9): [True: 0, False: 104k]
  ------------------
  766|      0|        return PyUnicode_FromString("<NULL>");
  767|   104k|    if (Py_TYPE(v)->tp_repr == NULL)
  ------------------
  |  |  213|   104k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   104k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   104k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (767:9): [True: 0, False: 104k]
  ------------------
  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|   104k|    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|   104k|    if (_Py_EnterRecursiveCallTstate(tstate,
  ------------------
  |  Branch (781:9): [True: 0, False: 104k]
  ------------------
  782|   104k|                                     " while getting the repr of an object")) {
  783|      0|        return NULL;
  784|      0|    }
  785|   104k|    res = (*Py_TYPE(v)->tp_repr)(v);
  ------------------
  |  |  213|   104k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   104k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   104k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  786|   104k|    _Py_LeaveRecursiveCallTstate(tstate);
  787|       |
  788|   104k|    if (res == NULL) {
  ------------------
  |  Branch (788:9): [True: 0, False: 104k]
  ------------------
  789|      0|        return NULL;
  790|      0|    }
  791|   104k|    if (!PyUnicode_Check(res)) {
  ------------------
  |  |  103|   104k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   104k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (791:9): [True: 0, False: 104k]
  ------------------
  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|   104k|    return res;
  798|   104k|}
PyObject_Str:
  802|   131k|{
  803|   131k|    PyObject *res;
  804|   131k|    if (PyErr_CheckSignals())
  ------------------
  |  Branch (804:9): [True: 0, False: 131k]
  ------------------
  805|      0|        return NULL;
  806|   131k|    if (v == NULL)
  ------------------
  |  Branch (806:9): [True: 0, False: 131k]
  ------------------
  807|      0|        return PyUnicode_FromString("<NULL>");
  808|   131k|    if (PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|   131k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   131k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   131k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   131k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 46.0k, False: 85.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  809|  46.0k|        return Py_NewRef(v);
  ------------------
  |  |  647|  46.0k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  46.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  810|  46.0k|    }
  811|  85.3k|    if (Py_TYPE(v)->tp_str == NULL)
  ------------------
  |  |  213|  85.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  85.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (811:9): [True: 0, False: 85.3k]
  ------------------
  812|      0|        return PyObject_Repr(v);
  813|       |
  814|  85.3k|    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|  85.3k|    if (_Py_EnterRecursiveCallTstate(tstate, " while getting the str of an object")) {
  ------------------
  |  Branch (824:9): [True: 0, False: 85.3k]
  ------------------
  825|      0|        return NULL;
  826|      0|    }
  827|  85.3k|    res = (*Py_TYPE(v)->tp_str)(v);
  ------------------
  |  |  213|  85.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  85.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|  85.3k|    _Py_LeaveRecursiveCallTstate(tstate);
  829|       |
  830|  85.3k|    if (res == NULL) {
  ------------------
  |  Branch (830:9): [True: 0, False: 85.3k]
  ------------------
  831|      0|        return NULL;
  832|      0|    }
  833|  85.3k|    if (!PyUnicode_Check(res)) {
  ------------------
  |  |  103|  85.3k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  85.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (833:9): [True: 0, False: 85.3k]
  ------------------
  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|  85.3k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (839:5): [True: 85.3k, False: 0]
  ------------------
  840|  85.3k|    return res;
  841|  85.3k|}
_PyObject_ClearFreeLists:
  928|      8|{
  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|      8|    clear_freelist(&freelists->floats, is_finalization, free_object);
  932|      8|    clear_freelist(&freelists->complexes, is_finalization, free_object);
  933|    168|    for (Py_ssize_t i = 0; i < PyTuple_MAXSAVESIZE; i++) {
  ------------------
  |  |   11|    168|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (933:28): [True: 160, False: 8]
  ------------------
  934|    160|        clear_freelist(&freelists->tuples[i], is_finalization, free_object);
  935|    160|    }
  936|      8|    clear_freelist(&freelists->lists, is_finalization, free_object);
  937|      8|    clear_freelist(&freelists->list_iters, is_finalization, free_object);
  938|      8|    clear_freelist(&freelists->tuple_iters, is_finalization, free_object);
  939|      8|    clear_freelist(&freelists->dicts, is_finalization, free_object);
  940|      8|    clear_freelist(&freelists->dictkeys, is_finalization, PyMem_Free);
  941|      8|    clear_freelist(&freelists->slices, is_finalization, free_object);
  942|      8|    clear_freelist(&freelists->ranges, is_finalization, free_object);
  943|      8|    clear_freelist(&freelists->range_iters, is_finalization, free_object);
  944|      8|    clear_freelist(&freelists->contexts, is_finalization, free_object);
  945|      8|    clear_freelist(&freelists->async_gens, is_finalization, free_object);
  946|      8|    clear_freelist(&freelists->async_gen_asends, is_finalization, free_object);
  947|      8|    clear_freelist(&freelists->futureiters, is_finalization, free_object);
  948|      8|    if (is_finalization) {
  ------------------
  |  Branch (948:9): [True: 0, False: 8]
  ------------------
  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|      8|    clear_freelist(&freelists->unicode_writers, is_finalization, PyMem_Free);
  954|      8|    clear_freelist(&freelists->bytes_writers, is_finalization, PyMem_Free);
  955|      8|    clear_freelist(&freelists->ints, is_finalization, free_object);
  956|      8|    clear_freelist(&freelists->pycfunctionobject, is_finalization, PyObject_GC_Del);
  957|      8|    clear_freelist(&freelists->pycmethodobject, is_finalization, PyObject_GC_Del);
  958|      8|    clear_freelist(&freelists->pymethodobjects, is_finalization, free_object);
  959|      8|    clear_freelist(&freelists->tracebacks, is_finalization, PyObject_GC_Del);
  960|      8|}
PyObject_RichCompare:
 1102|  27.8M|{
 1103|  27.8M|    PyThreadState *tstate = _PyThreadState_GET();
 1104|       |
 1105|  27.8M|    assert(Py_LT <= op && op <= Py_GE);
  ------------------
  |  Branch (1105:5): [True: 27.8M, False: 0]
  |  Branch (1105:5): [True: 27.8M, False: 0]
  ------------------
 1106|  27.8M|    if (v == NULL || w == NULL) {
  ------------------
  |  Branch (1106:9): [True: 0, False: 27.8M]
  |  Branch (1106:22): [True: 0, False: 27.8M]
  ------------------
 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|  27.8M|    if (_Py_EnterRecursiveCallTstate(tstate, " in comparison")) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 27.8M]
  ------------------
 1113|      0|        return NULL;
 1114|      0|    }
 1115|  27.8M|    PyObject *res = do_richcompare(tstate, v, w, op);
 1116|  27.8M|    _Py_LeaveRecursiveCallTstate(tstate);
 1117|  27.8M|    return res;
 1118|  27.8M|}
PyObject_RichCompareBool:
 1124|   136M|{
 1125|   136M|    PyObject *res;
 1126|   136M|    int ok;
 1127|       |
 1128|       |    /* Quick result when objects are the same.
 1129|       |       Guarantees that identity implies equality. */
 1130|   136M|    if (v == w) {
  ------------------
  |  Branch (1130:9): [True: 110M, False: 25.2M]
  ------------------
 1131|   110M|        if (op == Py_EQ)
  ------------------
  |  |  654|   110M|#define Py_EQ 2
  ------------------
  |  Branch (1131:13): [True: 110M, False: 10]
  ------------------
 1132|   110M|            return 1;
 1133|     10|        else if (op == Py_NE)
  ------------------
  |  |  655|     10|#define Py_NE 3
  ------------------
  |  Branch (1133:18): [True: 0, False: 10]
  ------------------
 1134|      0|            return 0;
 1135|   110M|    }
 1136|       |
 1137|  25.2M|    res = PyObject_RichCompare(v, w, op);
 1138|  25.2M|    if (res == NULL)
  ------------------
  |  Branch (1138:9): [True: 0, False: 25.2M]
  ------------------
 1139|      0|        return -1;
 1140|  25.2M|    if (PyBool_Check(res)) {
  ------------------
  |  |   12|  25.2M|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  25.2M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  25.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  25.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 25.2M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1141|  25.2M|        ok = (res == Py_True);
  ------------------
  |  |   26|  25.2M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  25.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1142|  25.2M|        assert(_Py_IsImmortal(res));
  ------------------
  |  Branch (1142:9): [True: 25.2M, False: 0]
  ------------------
 1143|  25.2M|    }
 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|  25.2M|    return ok;
 1149|  25.2M|}
PyObject_Hash:
 1161|   599M|{
 1162|   599M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|   599M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   599M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   599M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1163|   599M|    if (tp->tp_hash != NULL)
  ------------------
  |  Branch (1163:9): [True: 599M, False: 0]
  ------------------
 1164|   599M|        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|     69|{
 1183|     69|    PyObject *w, *res;
 1184|       |
 1185|     69|    if (Py_TYPE(v)->tp_getattr != NULL)
  ------------------
  |  |  213|     69|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1185:9): [True: 0, False: 69]
  ------------------
 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|     69|    w = PyUnicode_FromString(name);
 1188|     69|    if (w == NULL)
  ------------------
  |  Branch (1188:9): [True: 0, False: 69]
  ------------------
 1189|      0|        return NULL;
 1190|     69|    res = PyObject_GetAttr(v, w);
 1191|     69|    Py_DECREF(w);
  ------------------
  |  |  430|     69|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1192|     69|    return res;
 1193|     69|}
PyObject_SetAttrString:
 1221|  1.38k|{
 1222|  1.38k|    PyThreadState *tstate = _PyThreadState_GET();
 1223|  1.38k|    if (w == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1223:9): [True: 0, False: 1.38k]
  |  Branch (1223:22): [True: 0, False: 0]
  ------------------
 1224|      0|        PyObject *exc = _PyErr_GetRaisedException(tstate);
 1225|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 1226|      0|            "PyObject_SetAttrString() must not be called with NULL value "
 1227|      0|            "and an exception set");
 1228|      0|        _PyErr_ChainExceptions1Tstate(tstate, exc);
 1229|      0|        return -1;
 1230|      0|    }
 1231|       |
 1232|  1.38k|    if (Py_TYPE(v)->tp_setattr != NULL) {
  ------------------
  |  |  213|  1.38k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1232:9): [True: 0, False: 1.38k]
  ------------------
 1233|      0|        return (*Py_TYPE(v)->tp_setattr)(v, (char*)name, w);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1234|      0|    }
 1235|       |
 1236|  1.38k|    PyObject *s = PyUnicode_InternFromString(name);
 1237|  1.38k|    if (s == NULL) {
  ------------------
  |  Branch (1237:9): [True: 0, False: 1.38k]
  ------------------
 1238|      0|        return -1;
 1239|      0|    }
 1240|       |
 1241|  1.38k|    int res = PyObject_SetAttr(v, s, w);
 1242|  1.38k|    Py_DECREF(s);
  ------------------
  |  |  430|  1.38k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1243|  1.38k|    return res;
 1244|  1.38k|}
_PyObject_IsAbstract:
 1254|  1.12k|{
 1255|  1.12k|    int res;
 1256|  1.12k|    PyObject* isabstract;
 1257|       |
 1258|  1.12k|    if (obj == NULL)
  ------------------
  |  Branch (1258:9): [True: 18, False: 1.10k]
  ------------------
 1259|     18|        return 0;
 1260|       |
 1261|  1.10k|    res = PyObject_GetOptionalAttr(obj, &_Py_ID(__isabstractmethod__), &isabstract);
  ------------------
  |  |  951|  1.10k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.10k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.10k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1262|  1.10k|    if (res > 0) {
  ------------------
  |  Branch (1262:9): [True: 267, False: 837]
  ------------------
 1263|    267|        res = PyObject_IsTrue(isabstract);
 1264|    267|        Py_DECREF(isabstract);
  ------------------
  |  |  430|    267|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    267|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    267|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1265|    267|    }
 1266|  1.10k|    return res;
 1267|  1.12k|}
_PyObject_SetAttributeErrorContext:
 1285|    870|{
 1286|    870|    assert(PyErr_Occurred());
  ------------------
  |  Branch (1286:5): [True: 870, False: 0]
  ------------------
 1287|    870|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)){
  ------------------
  |  Branch (1287:9): [True: 0, False: 870]
  ------------------
 1288|      0|        return 0;
 1289|      0|    }
 1290|       |    // Intercept AttributeError exceptions and augment them to offer suggestions later.
 1291|    870|    PyObject *exc = PyErr_GetRaisedException();
 1292|    870|    if (!PyErr_GivenExceptionMatches(exc, PyExc_AttributeError)) {
  ------------------
  |  Branch (1292:9): [True: 0, False: 870]
  ------------------
 1293|      0|        goto restore;
 1294|      0|    }
 1295|    870|    PyAttributeErrorObject* the_exc = (PyAttributeErrorObject*) exc;
 1296|       |    // Check if this exception was already augmented
 1297|    870|    if (the_exc->name || the_exc->obj) {
  ------------------
  |  Branch (1297:9): [True: 268, False: 602]
  |  Branch (1297:26): [True: 0, False: 602]
  ------------------
 1298|    268|        goto restore;
 1299|    268|    }
 1300|       |    // Augment the exception with the name and object
 1301|    602|    if (PyObject_SetAttr(exc, &_Py_ID(name), name) ||
  ------------------
  |  |  951|    602|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    602|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    602|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1301:9): [True: 0, False: 602]
  ------------------
 1302|    602|        PyObject_SetAttr(exc, &_Py_ID(obj), v)) {
  ------------------
  |  |  951|    602|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    602|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    602|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1302:9): [True: 0, False: 602]
  ------------------
 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|    870|restore:
 1307|    870|    PyErr_SetRaisedException(exc);
 1308|    870|    return 0;
 1309|    602|}
PyObject_GetAttr:
 1313|  68.4k|{
 1314|  68.4k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  68.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  68.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  68.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1315|  68.4k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  68.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  68.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1315:9): [True: 0, False: 68.4k]
  ------------------
 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|  68.4k|    PyObject* result = NULL;
 1323|  68.4k|    if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1323:9): [True: 68.4k, False: 0]
  ------------------
 1324|  68.4k|        result = (*tp->tp_getattro)(v, name);
 1325|  68.4k|    }
 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|  68.4k|    if (result == NULL) {
  ------------------
  |  Branch (1339:9): [True: 146, False: 68.3k]
  ------------------
 1340|    146|        _PyObject_SetAttributeErrorContext(v, name);
 1341|    146|    }
 1342|  68.4k|    return result;
 1343|  68.4k|}
_PyObject_GetAttrStackRef:
 1350|  1.46M|{
 1351|  1.46M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  1.46M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1352|  1.46M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  1.46M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.46M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1352:9): [True: 0, False: 1.46M]
  ------------------
 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|  1.46M|    if (tp->tp_getattro == _Py_type_getattro) {
  ------------------
  |  Branch (1360:9): [True: 85.7k, False: 1.38M]
  ------------------
 1361|  85.7k|        _PyStackRef result = _Py_type_getattro_stackref((PyTypeObject *)v, name, NULL);
 1362|  85.7k|        if (PyStackRef_IsNull(result)) {
  ------------------
  |  |  482|  85.7k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  85.7k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  85.7k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 2, False: 85.7k]
  |  |  ------------------
  ------------------
 1363|      2|            _PyObject_SetAttributeErrorContext(v, name);
 1364|      2|        }
 1365|  85.7k|        return result;
 1366|  85.7k|    }
 1367|       |
 1368|       |    /* Fall back to regular PyObject_GetAttr and convert to stackref */
 1369|  1.38M|    PyObject *result = NULL;
 1370|  1.38M|    if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1370:9): [True: 1.38M, False: 0]
  ------------------
 1371|  1.38M|        result = (*tp->tp_getattro)(v, name);
 1372|  1.38M|    }
 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|  1.38M|    if (result == NULL) {
  ------------------
  |  Branch (1386:9): [True: 288, False: 1.38M]
  ------------------
 1387|    288|        _PyObject_SetAttributeErrorContext(v, name);
 1388|    288|        return PyStackRef_NULL;
 1389|    288|    }
 1390|  1.38M|    return PyStackRef_FromPyObjectSteal(result);
 1391|  1.38M|}
PyObject_GetOptionalAttr:
 1395|   994k|{
 1396|   994k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|   994k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   994k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   994k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1397|       |
 1398|   994k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|   994k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   994k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1398:9): [True: 0, False: 994k]
  ------------------
 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|   994k|    if (tp->tp_getattro == PyObject_GenericGetAttr) {
  ------------------
  |  Branch (1406:9): [True: 445k, False: 549k]
  ------------------
 1407|   445k|        *result = _PyObject_GenericGetAttrWithDict(v, name, NULL, 1);
 1408|   445k|        if (*result != NULL) {
  ------------------
  |  Branch (1408:13): [True: 356k, False: 88.9k]
  ------------------
 1409|   356k|            return 1;
 1410|   356k|        }
 1411|  88.9k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1411:13): [True: 0, False: 88.9k]
  ------------------
 1412|      0|            return -1;
 1413|      0|        }
 1414|  88.9k|        return 0;
 1415|  88.9k|    }
 1416|   549k|    if (tp->tp_getattro == _Py_type_getattro) {
  ------------------
  |  Branch (1416:9): [True: 1.19k, False: 548k]
  ------------------
 1417|  1.19k|        int suppress_missing_attribute_exception = 0;
 1418|  1.19k|        *result = _Py_type_getattro_impl((PyTypeObject*)v, name, &suppress_missing_attribute_exception);
 1419|  1.19k|        if (suppress_missing_attribute_exception) {
  ------------------
  |  Branch (1419:13): [True: 29, False: 1.17k]
  ------------------
 1420|       |            // return 0 without having to clear the exception
 1421|     29|            return 0;
 1422|     29|        }
 1423|  1.19k|    }
 1424|   548k|    else if (tp->tp_getattro == (getattrofunc)_Py_module_getattro) {
  ------------------
  |  Branch (1424:14): [True: 548k, False: 0]
  ------------------
 1425|       |        // optimization: suppress attribute error from module getattro method
 1426|   548k|        *result = _Py_module_getattro_impl((PyModuleObject*)v, name, 1);
 1427|   548k|        if (*result != NULL) {
  ------------------
  |  Branch (1427:13): [True: 547k, False: 593]
  ------------------
 1428|   547k|            return 1;
 1429|   547k|        }
 1430|    593|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1430:13): [True: 0, False: 593]
  ------------------
 1431|      0|            return -1;
 1432|      0|        }
 1433|    593|        return 0;
 1434|    593|    }
 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.17k|    if (*result != NULL) {
  ------------------
  |  Branch (1451:9): [True: 1.14k, False: 25]
  ------------------
 1452|  1.14k|        return 1;
 1453|  1.14k|    }
 1454|     25|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1454:9): [True: 0, False: 25]
  ------------------
 1455|      0|        return -1;
 1456|      0|    }
 1457|     25|    PyErr_Clear();
 1458|     25|    return 0;
 1459|     25|}
PyObject_GetOptionalAttrString:
 1463|      1|{
 1464|      1|    if (Py_TYPE(obj)->tp_getattr == NULL) {
  ------------------
  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1464:9): [True: 1, False: 0]
  ------------------
 1465|      1|        PyObject *oname = PyUnicode_FromString(name);
 1466|      1|        if (oname == NULL) {
  ------------------
  |  Branch (1466:13): [True: 0, False: 1]
  ------------------
 1467|      0|            *result = NULL;
 1468|      0|            return -1;
 1469|      0|        }
 1470|      1|        int rc = PyObject_GetOptionalAttr(obj, oname, result);
 1471|      1|        Py_DECREF(oname);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1472|      1|        return rc;
 1473|      1|    }
 1474|       |
 1475|      0|    *result = (*Py_TYPE(obj)->tp_getattr)(obj, (char*)name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1476|      0|    if (*result != NULL) {
  ------------------
  |  Branch (1476:9): [True: 0, False: 0]
  ------------------
 1477|      0|        return 1;
 1478|      0|    }
 1479|      0|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1479:9): [True: 0, False: 0]
  ------------------
 1480|      0|        return -1;
 1481|      0|    }
 1482|      0|    PyErr_Clear();
 1483|      0|    return 0;
 1484|      0|}
PyObject_HasAttrWithError:
 1488|    611|{
 1489|    611|    PyObject *res;
 1490|    611|    int rc = PyObject_GetOptionalAttr(obj, name, &res);
 1491|    611|    Py_XDECREF(res);
  ------------------
  |  |  621|    611|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    611|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    611|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1492|    611|    return rc;
 1493|    611|}
PyObject_SetAttr:
 1511|  2.03M|{
 1512|  2.03M|    PyThreadState *tstate = _PyThreadState_GET();
 1513|  2.03M|    if (value == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1513:9): [True: 36, False: 2.03M]
  |  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|  2.03M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  2.03M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1523|  2.03M|    int err;
 1524|       |
 1525|  2.03M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  2.03M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.03M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1525:9): [True: 0, False: 2.03M]
  ------------------
 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|  2.03M|    Py_INCREF(name);
  ------------------
  |  |  310|  2.03M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1532|       |
 1533|  2.03M|    _PyUnicode_InternMortal(tstate->interp, &name);
 1534|  2.03M|    if (tp->tp_setattro != NULL) {
  ------------------
  |  Branch (1534:9): [True: 2.03M, False: 0]
  ------------------
 1535|  2.03M|        err = (*tp->tp_setattro)(v, name, value);
 1536|  2.03M|        Py_DECREF(name);
  ------------------
  |  |  430|  2.03M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1537|  2.03M|        return err;
 1538|  2.03M|    }
 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|  2.16M|{
 1577|  2.16M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  2.16M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1578|  2.16M|    assert((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (1578:5): [True: 2.16M, False: 0]
  ------------------
 1579|       |
 1580|  2.16M|    Py_ssize_t dictoffset = tp->tp_dictoffset;
 1581|  2.16M|    if (dictoffset == 0) {
  ------------------
  |  Branch (1581:9): [True: 1.39M, False: 775k]
  ------------------
 1582|  1.39M|        return NULL;
 1583|  1.39M|    }
 1584|       |
 1585|   775k|    if (dictoffset < 0) {
  ------------------
  |  Branch (1585:9): [True: 0, False: 775k]
  ------------------
 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|   775k|    return (PyObject **) ((char *)obj + dictoffset);
 1600|   775k|}
PyObject_SelfIter:
 1628|    881|{
 1629|    881|    return Py_NewRef(obj);
  ------------------
  |  |  647|    881|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    881|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    881|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1630|    881|}
_PyObject_GetMethodStackRef:
 1760|   173k|{
 1761|   173k|    int meth_found = 0;
 1762|   173k|    PyObject *obj = PyStackRef_AsPyObjectBorrow(*self);
 1763|       |
 1764|   173k|    assert(PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1764:5): [True: 173k, False: 0]
  ------------------
 1765|       |
 1766|   173k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   173k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   173k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   173k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1767|   173k|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1767:9): [True: 0, False: 173k]
  ------------------
 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|   173k|    if (tp->tp_getattro != PyObject_GenericGetAttr || !PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|   170k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   170k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1774:9): [True: 2.59k, False: 170k]
  |  Branch (1774:55): [True: 0, False: 170k]
  ------------------
 1775|  2.59k|        PyObject *res = PyObject_GetAttr(obj, name);
 1776|  2.59k|        PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|  2.59k|    do { \
  |  |  733|  2.59k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  2.59k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  2.59k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  2.59k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  2.59k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 2.59k]
  |  |  ------------------
  ------------------
 1777|  2.59k|        if (res != NULL) {
  ------------------
  |  Branch (1777:13): [True: 2.44k, False: 144]
  ------------------
 1778|  2.44k|            *method = PyStackRef_FromPyObjectSteal(res);
 1779|  2.44k|            return 0;
 1780|  2.44k|        }
 1781|    144|        return -1;
 1782|  2.59k|    }
 1783|       |
 1784|   170k|    _PyType_LookupStackRefAndVersion(tp, name, method);
 1785|   170k|    PyObject *descr = PyStackRef_AsPyObjectBorrow(*method);
 1786|   170k|    descrgetfunc f = NULL;
 1787|   170k|    if (descr != NULL) {
  ------------------
  |  Branch (1787:9): [True: 170k, False: 12]
  ------------------
 1788|   170k|        if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|   170k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|   170k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (1788:13): [True: 170k, False: 2]
  ------------------
 1789|   170k|            meth_found = 1;
 1790|   170k|        }
 1791|      2|        else {
 1792|      2|            f = Py_TYPE(descr)->tp_descr_get;
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1793|      2|            if (f != NULL && PyDescr_IsData(descr)) {
  ------------------
  |  Branch (1793:17): [True: 2, False: 0]
  |  Branch (1793:30): [True: 2, False: 0]
  ------------------
 1794|      2|                PyObject *value = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1795|      2|                PyStackRef_CLEAR(*method);
  ------------------
  |  |  732|      2|    do { \
  |  |  733|      2|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      2|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      2|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      2|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1796|      2|                PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|      2|    do { \
  |  |  733|      2|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|      2|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|      2|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|      2|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1797|      2|                if (value != NULL) {
  ------------------
  |  Branch (1797:21): [True: 2, False: 0]
  ------------------
 1798|      2|                    *method = PyStackRef_FromPyObjectSteal(value);
 1799|      2|                    return 0;
 1800|      2|                }
 1801|      0|                return -1;
 1802|      2|            }
 1803|      2|        }
 1804|   170k|    }
 1805|   170k|    PyObject *dict, *attr;
 1806|   170k|    if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) &&
  ------------------
  |  |  472|   170k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1806:9): [True: 127, False: 170k]
  ------------------
 1807|    127|         _PyObject_TryGetInstanceAttribute(obj, name, &attr)) {
  ------------------
  |  Branch (1807:10): [True: 127, False: 0]
  ------------------
 1808|    127|        if (attr != NULL) {
  ------------------
  |  Branch (1808:13): [True: 12, False: 115]
  ------------------
 1809|     12|            PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectSteal(attr));
  ------------------
  |  |  855|     12|    do { \
  |  |  856|     12|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  857|     12|        (dst) = (src); \
  |  |  858|     12|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  859|     12|    } while(0)
  |  |  ------------------
  |  |  |  Branch (859:13): [Folded, False: 12]
  |  |  ------------------
  ------------------
 1810|     12|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|     12|    do { \
  |  |  733|     12|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|     12|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|     12|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|     12|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 1811|     12|            return 0;
 1812|     12|        }
 1813|    115|        dict = NULL;
 1814|    115|    }
 1815|   170k|    else if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|   170k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1815:14): [True: 25, False: 170k]
  ------------------
 1816|     25|        dict = (PyObject *)_PyObject_GetManagedDict(obj);
 1817|     25|    }
 1818|   170k|    else {
 1819|   170k|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 1820|   170k|        if (dictptr != NULL) {
  ------------------
  |  Branch (1820:13): [True: 166k, False: 3.84k]
  ------------------
 1821|   166k|            dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*dictptr);
  ------------------
  |  |  152|   166k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1822|   166k|        }
 1823|  3.84k|        else {
 1824|  3.84k|            dict = NULL;
 1825|  3.84k|        }
 1826|   170k|    }
 1827|   170k|    if (dict != NULL) {
  ------------------
  |  Branch (1827:9): [True: 83.5k, False: 87.0k]
  ------------------
 1828|  83.5k|        assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (1828:9): [True: 83.5k, False: 0]
  ------------------
 1829|  83.5k|        int found = _PyDict_GetMethodStackRef((PyDictObject *)dict, name, method);
 1830|  83.5k|        if (found < 0) {
  ------------------
  |  Branch (1830:13): [True: 0, False: 83.5k]
  ------------------
 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|  83.5k|        else if (found) {
  ------------------
  |  Branch (1835:18): [True: 0, False: 83.5k]
  ------------------
 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|  83.5k|    }
 1840|       |
 1841|   170k|    if (meth_found) {
  ------------------
  |  Branch (1841:9): [True: 170k, False: 0]
  ------------------
 1842|   170k|        assert(!PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1842:9): [True: 170k, False: 0]
  ------------------
 1843|   170k|        return 1;
 1844|   170k|    }
 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|  2.44M|{
 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|  2.44M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  2.44M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1899|  2.44M|    PyObject *descr = NULL;
 1900|  2.44M|    PyObject *res = NULL;
 1901|  2.44M|    descrgetfunc f;
 1902|       |
 1903|  2.44M|    if (!PyUnicode_Check(name)){
  ------------------
  |  |  103|  2.44M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.44M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1903:9): [True: 0, False: 2.44M]
  ------------------
 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|  2.44M|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1910:9): [True: 0, False: 2.44M]
  ------------------
 1911|      0|        if (PyType_Ready(tp) < 0)
  ------------------
  |  Branch (1911:13): [True: 0, False: 0]
  ------------------
 1912|      0|            return NULL;
 1913|      0|    }
 1914|       |
 1915|  2.44M|    Py_INCREF(name);
  ------------------
  |  |  310|  2.44M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1916|       |
 1917|  2.44M|    PyThreadState *tstate = _PyThreadState_GET();
 1918|  2.44M|    _PyCStackRef cref;
 1919|  2.44M|    _PyThreadState_PushCStackRef(tstate, &cref);
 1920|       |
 1921|  2.44M|    _PyType_LookupStackRefAndVersion(tp, name, &cref.ref);
 1922|  2.44M|    descr = PyStackRef_AsPyObjectBorrow(cref.ref);
 1923|       |
 1924|  2.44M|    f = NULL;
 1925|  2.44M|    if (descr != NULL) {
  ------------------
  |  Branch (1925:9): [True: 1.45M, False: 986k]
  ------------------
 1926|  1.45M|        f = Py_TYPE(descr)->tp_descr_get;
  ------------------
  |  |  213|  1.45M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.45M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1927|  1.45M|        if (f != NULL && PyDescr_IsData(descr)) {
  ------------------
  |  Branch (1927:13): [True: 1.41M, False: 43.1k]
  |  Branch (1927:26): [True: 21.5k, False: 1.38M]
  ------------------
 1928|       |            // gh-157840: We special-case member descriptors here to avoid
 1929|       |            // allocating an extra AttributeError
 1930|  21.5k|            if (suppress && Py_IS_TYPE(descr, &PyMemberDescr_Type)) {
  ------------------
  |  |  215|  18.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  18.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 28, False: 18.3k]
  |  |  ------------------
  ------------------
  |  Branch (1930:17): [True: 18.3k, False: 3.12k]
  ------------------
 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|  21.5k|            res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|  21.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  21.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1942|  21.5k|            if (res == NULL && suppress &&
  ------------------
  |  Branch (1942:17): [True: 0, False: 21.5k]
  |  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|  21.5k|            goto done;
 1947|  21.5k|        }
 1948|  1.45M|    }
 1949|  2.41M|    if (dict == NULL) {
  ------------------
  |  Branch (1949:9): [True: 2.41M, False: 0]
  ------------------
 1950|  2.41M|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|  2.41M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1950:13): [True: 381k, False: 2.03M]
  ------------------
 1951|   381k|            if (PyUnicode_CheckExact(name) &&
  ------------------
  |  |  104|   381k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   763k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   381k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   381k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 381k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1952|   381k|                _PyObject_TryGetInstanceAttribute(obj, name, &res)) {
  ------------------
  |  Branch (1952:17): [True: 381k, False: 0]
  ------------------
 1953|   381k|                if (res != NULL) {
  ------------------
  |  Branch (1953:21): [True: 295k, False: 86.5k]
  ------------------
 1954|   295k|                    goto done;
 1955|   295k|                }
 1956|   381k|            }
 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|   381k|        }
 1965|  2.03M|        else if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  2.03M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1965:18): [True: 43.3k, False: 1.99M]
  ------------------
 1966|  43.3k|            dict = (PyObject *)_PyObject_GetManagedDict(obj);
 1967|  43.3k|        }
 1968|  1.99M|        else {
 1969|  1.99M|            PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 1970|  1.99M|            if (dictptr) {
  ------------------
  |  Branch (1970:17): [True: 604k, False: 1.38M]
  ------------------
 1971|       |#ifdef Py_GIL_DISABLED
 1972|       |                dict = _Py_atomic_load_ptr_acquire(dictptr);
 1973|       |#else
 1974|   604k|                dict = *dictptr;
 1975|   604k|#endif
 1976|   604k|            }
 1977|  1.99M|        }
 1978|  2.41M|    }
 1979|  2.12M|    if (dict != NULL) {
  ------------------
  |  Branch (1979:9): [True: 645k, False: 1.47M]
  ------------------
 1980|   645k|        Py_INCREF(dict);
  ------------------
  |  |  310|   645k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   645k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   645k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1981|   645k|        int rc = PyDict_GetItemRef(dict, name, &res);
 1982|   645k|        Py_DECREF(dict);
  ------------------
  |  |  430|   645k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   645k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   645k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1983|   645k|        if (res != NULL) {
  ------------------
  |  Branch (1983:13): [True: 601k, False: 44.2k]
  ------------------
 1984|   601k|            goto done;
 1985|   601k|        }
 1986|  44.2k|        else if (rc < 0) {
  ------------------
  |  Branch (1986:18): [True: 0, False: 44.2k]
  ------------------
 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|   645k|    }
 1995|       |
 1996|  1.52M|    if (f != NULL) {
  ------------------
  |  Branch (1996:9): [True: 1.38M, False: 133k]
  ------------------
 1997|  1.38M|        res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|  1.38M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.38M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.38M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1998|  1.38M|        if (res == NULL && suppress &&
  ------------------
  |  Branch (1998:13): [True: 0, False: 1.38M]
  |  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|  1.38M|        goto done;
 2003|  1.38M|    }
 2004|       |
 2005|   133k|    if (descr != NULL) {
  ------------------
  |  Branch (2005:9): [True: 43.1k, False: 90.0k]
  ------------------
 2006|  43.1k|        res = PyStackRef_AsPyObjectSteal(cref.ref);
 2007|  43.1k|        cref.ref = PyStackRef_NULL;
 2008|  43.1k|        goto done;
 2009|  43.1k|    }
 2010|       |
 2011|  90.0k|    if (!suppress) {
  ------------------
  |  Branch (2011:9): [True: 434, False: 89.5k]
  ------------------
 2012|    434|        PyErr_Format(PyExc_AttributeError,
 2013|    434|                     "'%.100s' object has no attribute '%U'",
 2014|    434|                     tp->tp_name, name);
 2015|       |
 2016|    434|        _PyObject_SetAttributeErrorContext(obj, name);
 2017|    434|    }
 2018|  2.44M|  done:
 2019|  2.44M|    _PyThreadState_PopCStackRef(tstate, &cref);
 2020|  2.44M|    Py_DECREF(name);
  ------------------
  |  |  430|  2.44M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|  2.44M|    return res;
 2022|  90.0k|}
PyObject_GenericGetAttr:
 2026|  1.39M|{
 2027|       |    return _PyObject_GenericGetAttrWithDict(obj, name, NULL, 0);
 2028|  1.39M|}
_PyObject_GenericSetAttrWithDict:
 2033|  2.03M|{
 2034|  2.03M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  2.03M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2035|  2.03M|    PyObject *descr;
 2036|  2.03M|    descrsetfunc f;
 2037|  2.03M|    int res = -1;
 2038|       |
 2039|  2.03M|    assert(!PyType_IsSubtype(tp, &PyType_Type));
  ------------------
  |  Branch (2039:5): [True: 2.03M, False: 0]
  ------------------
 2040|  2.03M|    if (!PyUnicode_Check(name)){
  ------------------
  |  |  103|  2.03M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.03M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2040:9): [True: 0, False: 2.03M]
  ------------------
 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|  2.03M|    if (!_PyType_IsReady(tp) && PyType_Ready(tp) < 0) {
  ------------------
  |  Branch (2047:9): [True: 0, False: 2.03M]
  |  Branch (2047:33): [True: 0, False: 0]
  ------------------
 2048|      0|        return -1;
 2049|      0|    }
 2050|       |
 2051|  2.03M|    Py_INCREF(name);
  ------------------
  |  |  310|  2.03M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2052|  2.03M|    _Py_INCREF_TYPE(tp);
  ------------------
  |  |  304|  2.03M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  2.03M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2053|       |
 2054|  2.03M|    PyThreadState *tstate = _PyThreadState_GET();
 2055|  2.03M|    _PyCStackRef cref;
 2056|  2.03M|    _PyThreadState_PushCStackRef(tstate, &cref);
 2057|       |
 2058|  2.03M|    _PyType_LookupStackRefAndVersion(tp, name, &cref.ref);
 2059|  2.03M|    descr = PyStackRef_AsPyObjectBorrow(cref.ref);
 2060|       |
 2061|  2.03M|    if (descr != NULL) {
  ------------------
  |  Branch (2061:9): [True: 735k, False: 1.29M]
  ------------------
 2062|   735k|        f = Py_TYPE(descr)->tp_descr_set;
  ------------------
  |  |  213|   735k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   735k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   735k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2063|   735k|        if (f != NULL) {
  ------------------
  |  Branch (2063:13): [True: 3.42k, False: 732k]
  ------------------
 2064|  3.42k|            res = f(descr, obj, value);
 2065|  3.42k|            goto done;
 2066|  3.42k|        }
 2067|   735k|    }
 2068|       |
 2069|  2.02M|    if (dict == NULL) {
  ------------------
  |  Branch (2069:9): [True: 2.02M, False: 0]
  ------------------
 2070|  2.02M|        PyObject **dictptr;
 2071|       |
 2072|  2.02M|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|  2.02M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2072:13): [True: 2.02M, False: 6.11k]
  ------------------
 2073|  2.02M|            res = _PyObject_StoreInstanceAttribute(obj, name, value);
 2074|  2.02M|            goto error_check;
 2075|  2.02M|        }
 2076|       |
 2077|  6.11k|        if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  6.11k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2077:13): [True: 1.45k, False: 4.65k]
  ------------------
 2078|  1.45k|            PyManagedDictPointer *managed_dict = _PyObject_ManagedDictPointer(obj);
 2079|  1.45k|            dictptr = (PyObject **)&managed_dict->dict;
 2080|  1.45k|        }
 2081|  4.65k|        else {
 2082|  4.65k|            dictptr = _PyObject_ComputedDictPointer(obj);
 2083|  4.65k|        }
 2084|  6.11k|        if (dictptr == NULL) {
  ------------------
  |  Branch (2084:13): [True: 0, False: 6.11k]
  ------------------
 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|  6.11k|        else {
 2107|  6.11k|            res = _PyObjectDict_SetItem(tp, obj, dictptr, name, value);
 2108|  6.11k|        }
 2109|  6.11k|    }
 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|  2.02M|  error_check:
 2119|  2.02M|    if (res < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) {
  ------------------
  |  Branch (2119:9): [True: 0, False: 2.02M]
  |  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|  2.03M|  done:
 2126|  2.03M|    _PyThreadState_PopCStackRef(tstate, &cref);
 2127|  2.03M|    _Py_DECREF_TYPE(tp);
  ------------------
  |  |  305|  2.03M|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  2.03M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|  2.03M|    Py_DECREF(name);
  ------------------
  |  |  430|  2.03M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2129|  2.03M|    return res;
 2130|  2.02M|}
PyObject_GenericSetAttr:
 2134|  2.03M|{
 2135|       |    return _PyObject_GenericSetAttrWithDict(obj, name, value, NULL);
 2136|  2.03M|}
PyObject_IsTrue:
 2154|  3.22M|{
 2155|  3.22M|    Py_ssize_t res;
 2156|  3.22M|    if (v == Py_True)
  ------------------
  |  |   26|  3.22M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  3.22M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.22M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2156:9): [True: 1.17M, False: 2.05M]
  ------------------
 2157|  1.17M|        return 1;
 2158|  2.05M|    if (v == Py_False)
  ------------------
  |  |   25|  2.05M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  2.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2158:9): [True: 1.93M, False: 118k]
  ------------------
 2159|  1.93M|        return 0;
 2160|   118k|    if (v == Py_None)
  ------------------
  |  |  616|   118k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2160:9): [True: 206, False: 118k]
  ------------------
 2161|    206|        return 0;
 2162|   118k|    else if (Py_TYPE(v)->tp_as_number != NULL &&
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2162:14): [True: 72.2k, False: 46.0k]
  ------------------
 2163|  72.2k|             Py_TYPE(v)->tp_as_number->nb_bool != NULL)
  ------------------
  |  |  213|  72.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  72.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2163:14): [True: 5.25k, False: 66.9k]
  ------------------
 2164|  5.25k|        res = (*Py_TYPE(v)->tp_as_number->nb_bool)(v);
  ------------------
  |  |  213|  5.25k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2165|   112k|    else if (Py_TYPE(v)->tp_as_mapping != NULL &&
  ------------------
  |  |  213|   112k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   112k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   112k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2165:14): [True: 69.3k, False: 43.6k]
  ------------------
 2166|  69.3k|             Py_TYPE(v)->tp_as_mapping->mp_length != NULL)
  ------------------
  |  |  213|  69.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  69.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  69.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2166:14): [True: 69.2k, False: 111]
  ------------------
 2167|  69.2k|        res = (*Py_TYPE(v)->tp_as_mapping->mp_length)(v);
  ------------------
  |  |  213|  69.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  69.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  69.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2168|  43.7k|    else if (Py_TYPE(v)->tp_as_sequence != NULL &&
  ------------------
  |  |  213|  43.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  43.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2168:14): [True: 2.30k, False: 41.4k]
  ------------------
 2169|  2.30k|             Py_TYPE(v)->tp_as_sequence->sq_length != NULL)
  ------------------
  |  |  213|  2.30k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2169:14): [True: 2.19k, False: 111]
  ------------------
 2170|  2.19k|        res = (*Py_TYPE(v)->tp_as_sequence->sq_length)(v);
  ------------------
  |  |  213|  2.19k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2171|  41.5k|    else
 2172|  41.5k|        return 1;
 2173|       |    /* if it is negative, it should be either -1 or -2 */
 2174|  76.6k|    return (res > 0) ? 1 : Py_SAFE_DOWNCAST(res, Py_ssize_t, int);
  ------------------
  |  |  247|  59.1k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  59.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2174:12): [True: 17.5k, False: 59.1k]
  ------------------
 2175|   118k|}
PyCallable_Check:
 2194|   666k|{
 2195|   666k|    if (x == NULL)
  ------------------
  |  Branch (2195:9): [True: 0, False: 666k]
  ------------------
 2196|      0|        return 0;
 2197|   666k|    return Py_TYPE(x)->tp_call != NULL;
  ------------------
  |  |  213|   666k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   666k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   666k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2198|   666k|}
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|   121M|{
 2774|       |#ifdef Py_REF_DEBUG
 2775|       |    _Py_IncRefTotal(_PyThreadState_GET());
 2776|       |#endif
 2777|   121M|    new_reference(op);
 2778|   121M|}
_Py_NewReferenceNoTotal:
 2782|   356k|{
 2783|   356k|    new_reference(op);
 2784|   356k|}
_Py_SetImmortalUntracked:
 2788|  37.5k|{
 2789|       |    // Check if already immortal to avoid degrading from static immortal to plain immortal
 2790|  37.5k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  37.5k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 30, False: 37.5k]
  |  |  ------------------
  ------------------
 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|  37.5k|    op->ob_flags = _Py_IMMORTAL_FLAGS;
  ------------------
  |  |  581|  37.5k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  ------------------
 2800|  37.5k|    op->ob_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
  ------------------
  |  |   47|  37.5k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
 2801|       |#else
 2802|       |    op->ob_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
 2803|       |#endif
 2804|  37.5k|}
_Py_SetImmortal:
 2808|  37.5k|{
 2809|  37.5k|    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: 36.7k]
  ------------------
 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|  37.5k|    _Py_SetImmortalUntracked(op);
 2813|  37.5k|}
_PyObject_SetDeferredRefcount:
 2817|  10.2k|{
 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.2k|}
PyUnstable_Object_EnableDeferredRefcount:
 2829|    959|{
 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|    959|    return 0;
 2860|    959|#endif
 2861|    959|}
PyUnstable_EnableTryIncRef:
 2898|      6|{
 2899|       |#ifdef Py_GIL_DISABLED
 2900|       |    _PyObject_SetMaybeWeakref(op);
 2901|       |#endif
 2902|      6|}
Py_ReprEnter:
 3121|     62|{
 3122|     62|    PyObject *dict;
 3123|     62|    PyObject *list;
 3124|     62|    Py_ssize_t i;
 3125|       |
 3126|     62|    dict = PyThreadState_GetDict();
 3127|       |    /* Ignore a missing thread-state, so that this function can be called
 3128|       |       early on startup. */
 3129|     62|    if (dict == NULL)
  ------------------
  |  Branch (3129:9): [True: 0, False: 62]
  ------------------
 3130|      0|        return 0;
 3131|     62|    list = PyDict_GetItemWithError(dict, &_Py_ID(Py_Repr));
  ------------------
  |  |  951|     62|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     62|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     62|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3132|     62|    if (list == NULL) {
  ------------------
  |  Branch (3132:9): [True: 1, False: 61]
  ------------------
 3133|      1|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (3133:13): [True: 0, False: 1]
  ------------------
 3134|      0|            return -1;
 3135|      0|        }
 3136|      1|        list = PyList_New(0);
 3137|      1|        if (list == NULL)
  ------------------
  |  Branch (3137:13): [True: 0, False: 1]
  ------------------
 3138|      0|            return -1;
 3139|      1|        if (_PyDict_SetItem_Take2((PyDictObject *)dict, &_Py_ID(Py_Repr), list) < 0) {
  ------------------
  |  |  951|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3139:13): [True: 0, False: 1]
  ------------------
 3140|      0|            return -1;
 3141|      0|        }
 3142|      1|    }
 3143|     62|    i = PyList_GET_SIZE(list);
  ------------------
  |  |   38|     62|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3144|     62|    while (--i >= 0) {
  ------------------
  |  Branch (3144:12): [True: 0, False: 62]
  ------------------
 3145|      0|        if (PyList_GET_ITEM(list, i) == obj)
  ------------------
  |  |   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 (3145:13): [True: 0, False: 0]
  |  Branch (3145:13): [True: 0, False: 0]
  ------------------
 3146|      0|            return 1;
 3147|      0|    }
 3148|     62|    if (PyList_Append(list, obj) < 0)
  ------------------
  |  Branch (3148:9): [True: 0, False: 62]
  ------------------
 3149|      0|        return -1;
 3150|     62|    return 0;
 3151|     62|}
Py_ReprLeave:
 3155|     62|{
 3156|     62|    PyObject *dict;
 3157|     62|    PyObject *list;
 3158|     62|    Py_ssize_t i;
 3159|       |
 3160|     62|    PyObject *exc = PyErr_GetRaisedException();
 3161|       |
 3162|     62|    dict = PyThreadState_GetDict();
 3163|     62|    if (dict == NULL)
  ------------------
  |  Branch (3163:9): [True: 0, False: 62]
  ------------------
 3164|      0|        goto finally;
 3165|       |
 3166|     62|    list = PyDict_GetItemWithError(dict, &_Py_ID(Py_Repr));
  ------------------
  |  |  951|     62|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     62|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     62|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3167|     62|    if (list == NULL || !PyList_Check(list))
  ------------------
  |  |   25|     62|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     62|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3167:9): [True: 0, False: 62]
  |  Branch (3167:25): [True: 0, False: 62]
  ------------------
 3168|      0|        goto finally;
 3169|       |
 3170|     62|    i = PyList_GET_SIZE(list);
  ------------------
  |  |   38|     62|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3171|       |    /* Count backwards because we always expect obj to be list[-1] */
 3172|     62|    while (--i >= 0) {
  ------------------
  |  Branch (3172:12): [True: 62, False: 0]
  ------------------
 3173|    124|        if (PyList_GET_ITEM(list, i) == obj) {
  ------------------
  |  |   40|     62|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|     62|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3173:13): [True: 62, False: 0]
  |  Branch (3173:13): [True: 62, False: 0]
  ------------------
 3174|     62|            PyList_SetSlice(list, i, i + 1, NULL);
 3175|     62|            break;
 3176|     62|        }
 3177|     62|    }
 3178|       |
 3179|     62|finally:
 3180|       |    /* ignore exceptions because there is no way to report them. */
 3181|     62|    PyErr_SetRaisedException(exc);
 3182|     62|}
_Py_Dealloc:
 3379|   117M|{
 3380|   117M|#if !defined(Py_DEBUG) && !defined(Py_TRACE_REFS)
 3381|       |    // gh-130706: Avoid unnecessary register spills for non-GC objects.
 3382|   117M|    PyTypeObject *type = Py_TYPE(op);
  ------------------
  |  |  213|   117M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   117M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   117M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3383|   117M|    if (_PyRuntime.ref_tracer.tracer_func == NULL
  ------------------
  |  Branch (3383:9): [True: 117M, False: 0]
  ------------------
 3384|   117M|        && !(type->tp_flags & Py_TPFLAGS_HAVE_GC))
  ------------------
  |  |  524|   117M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (3384:12): [True: 14.2M, False: 103M]
  ------------------
 3385|  14.2M|    {
 3386|  14.2M|        type->tp_dealloc(op);
 3387|  14.2M|        return;
 3388|  14.2M|    }
 3389|   103M|#endif
 3390|       |    // GC objects (trashcan), reftracer set, or debug builds.
 3391|   103M|    py_dealloc(op);
 3392|   103M|}
_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|   452k|{
 3512|   452k|    if (constant_id < Py_ARRAY_LENGTH(constants)) {
  ------------------
  |  |  232|   452k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (3512:9): [True: 452k, False: 0]
  ------------------
 3513|   452k|        return constants[constant_id];
 3514|   452k|    }
 3515|      0|    else {
 3516|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3517|       |        return NULL;
 3518|      0|    }
 3519|   452k|}
Py_GetConstantBorrowed:
 3524|   199k|{
 3525|       |    // All constants are immortal
 3526|   199k|    return Py_GetConstant(constant_id);
 3527|   199k|}
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|   135k|{
 3541|   135k|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|   135k|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 3542|   135k|    assert(op != NULL);
  ------------------
  |  Branch (3542:5): [True: 135k, False: 0]
  ------------------
 3543|   135k|    return _PyObject_IsUniquelyReferenced(op);
 3544|   135k|}
_PyObject_VisitType:
 3548|     88|{
 3549|     88|    assert(op != NULL);
  ------------------
  |  Branch (3549:5): [True: 88, False: 0]
  ------------------
 3550|     88|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  213|     88|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3551|     88|    _PyObject_ASSERT((PyObject *)tp, PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  360|     88|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|     88|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|     88|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 88, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|     88|      ? (void)(0) \
  |  |  |  |  |  |  353|     88|      : _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|     88|    Py_VISIT(tp);
  ------------------
  |  |  194|     88|    do {                                                                \
  |  |  195|     88|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 88, False: 0]
  |  |  ------------------
  |  |  196|     88|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     88|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 88]
  |  |  ------------------
  |  |  198|     88|                return vret;                                            \
  |  |  199|     88|        }                                                               \
  |  |  200|     88|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 88]
  |  |  ------------------
  ------------------
 3553|     88|    return 0;
 3554|     88|}
object.c:clear_freelist:
  905|    328|{
  906|    328|    void *ptr;
  907|  34.5k|    while ((ptr = _PyFreeList_PopNoStats(freelist)) != NULL) {
  ------------------
  |  Branch (907:12): [True: 34.2k, False: 328]
  ------------------
  908|  34.2k|        dofree(ptr);
  909|  34.2k|    }
  910|    328|    assert(freelist->size == 0 || freelist->size == -1);
  ------------------
  |  Branch (910:5): [True: 328, False: 0]
  |  Branch (910:5): [True: 0, False: 0]
  ------------------
  911|    328|    assert(freelist->freelist == NULL);
  ------------------
  |  Branch (911:5): [True: 328, False: 0]
  ------------------
  912|    328|    if (is_finalization) {
  ------------------
  |  Branch (912:9): [True: 0, False: 328]
  ------------------
  913|      0|        freelist->size = -1;
  914|      0|    }
  915|    328|}
object.c:free_object:
  919|  33.7k|{
  920|  33.7k|    PyObject *op = (PyObject *)obj;
  921|  33.7k|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  213|  33.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  33.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  922|  33.7k|    tp->tp_free(op);
  923|  33.7k|    Py_DECREF(tp);
  ------------------
  |  |  430|  33.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  33.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  924|  33.7k|}
object.c:do_richcompare:
 1051|  27.8M|{
 1052|  27.8M|    richcmpfunc f;
 1053|  27.8M|    PyObject *res;
 1054|  27.8M|    int checked_reverse_op = 0;
 1055|       |
 1056|  27.8M|    if (!Py_IS_TYPE(v, Py_TYPE(w)) &&
  ------------------
  |  |  215|  55.6M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  27.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1056:9): [True: 11.3k, False: 27.7M]
  ------------------
 1057|  11.3k|        PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v)) &&
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v)) &&
  ------------------
  |  |  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 (1057:9): [True: 264, False: 11.0k]
  ------------------
 1058|    264|        (f = Py_TYPE(w)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|    264|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1058:9): [True: 264, False: 0]
  ------------------
 1059|    264|        checked_reverse_op = 1;
 1060|    264|        res = (*f)(w, v, _Py_SwappedOp[op]);
 1061|    264|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|    264|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1061:13): [True: 261, False: 3]
  ------------------
 1062|    261|            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|  27.8M|    if ((f = Py_TYPE(v)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|  27.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  27.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1065:9): [True: 27.8M, False: 0]
  ------------------
 1066|  27.8M|        res = (*f)(v, w, op);
 1067|  27.8M|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|  27.8M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1067:13): [True: 27.8M, False: 6.83k]
  ------------------
 1068|  27.8M|            return res;
 1069|  6.83k|        Py_DECREF(res);
  ------------------
  |  |  430|  6.83k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1070|  6.83k|    }
 1071|  6.83k|    if (!checked_reverse_op && (f = Py_TYPE(w)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|  6.83k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1071:9): [True: 6.83k, False: 3]
  |  Branch (1071:32): [True: 6.83k, False: 0]
  ------------------
 1072|  6.83k|        res = (*f)(w, v, _Py_SwappedOp[op]);
 1073|  6.83k|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|  6.83k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1073:13): [True: 1.23k, False: 5.59k]
  ------------------
 1074|  1.23k|            return res;
 1075|  5.59k|        Py_DECREF(res);
  ------------------
  |  |  430|  5.59k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1076|  5.59k|    }
 1077|       |    /* If neither object implements it, provide a sensible default
 1078|       |       for == and !=, but raise an exception for ordering. */
 1079|  5.60k|    switch (op) {
 1080|  5.60k|    case Py_EQ:
  ------------------
  |  |  654|  5.60k|#define Py_EQ 2
  ------------------
  |  Branch (1080:5): [True: 5.60k, False: 0]
  ------------------
 1081|  5.60k|        res = (v == w) ? Py_True : Py_False;
  ------------------
  |  |   26|  5.60k|#  define Py_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|  5.60k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  5.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1081:15): [True: 0, False: 5.60k]
  ------------------
 1082|  5.60k|        break;
 1083|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (1083:5): [True: 0, False: 5.60k]
  ------------------
 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: 5.60k]
  ------------------
 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|  5.60k|    }
 1094|  5.60k|    return Py_NewRef(res);
  ------------------
  |  |  647|  5.60k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1095|  5.60k|}
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|     36|{
 2297|     36|    return PyUnicode_FromString("None");
 2298|     36|}
object.c:none_hash:
 2327|   500k|{
 2328|   500k|    return 0xFCA86420;
 2329|   500k|}
object.c:new_reference:
 2740|   121M|{
 2741|       |    // Skip the immortal object check in Py_SET_REFCNT; always set refcnt to 1
 2742|   121M|#if !defined(Py_GIL_DISABLED)
 2743|   121M|#if SIZEOF_VOID_P > 4
 2744|   121M|    op->ob_refcnt_full = 1;
 2745|   121M|    assert(op->ob_refcnt == 1);
  ------------------
  |  Branch (2745:5): [True: 121M, False: 0]
  ------------------
 2746|   121M|    assert(op->ob_flags == 0);
  ------------------
  |  Branch (2746:5): [True: 121M, 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|   121M|    _PyReftracerTrack(op, PyRefTracer_CREATE);
  ------------------
  |  |  109|   121M|    do { \
  |  |  110|   121M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|   121M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 121M]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|   121M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 121M]
  |  |  ------------------
  ------------------
 2769|   121M|}
object.c:py_dealloc:
 3308|   103M|{
 3309|   103M|    PyTypeObject *type = Py_TYPE(op);
  ------------------
  |  |  213|   103M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   103M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   103M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3310|   103M|    unsigned long gc_flag = type->tp_flags & Py_TPFLAGS_HAVE_GC;
  ------------------
  |  |  524|   103M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 3311|   103M|    destructor dealloc = type->tp_dealloc;
 3312|   103M|    PyThreadState *tstate = NULL;
 3313|   103M|    intptr_t margin = 0;
 3314|   103M|    if (gc_flag) {
  ------------------
  |  Branch (3314:9): [True: 103M, False: 0]
  ------------------
 3315|   103M|        tstate = _PyThreadState_GET();
 3316|   103M|        margin = _Py_RecursionLimit_GetMargin(tstate);
 3317|   103M|        if (margin < 2) {
  ------------------
  |  Branch (3317:13): [True: 0, False: 103M]
  ------------------
 3318|      0|            _PyTrash_thread_deposit_object(tstate, (PyObject *)op);
 3319|      0|            return;
 3320|      0|        }
 3321|   103M|    }
 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|   103M|    _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  109|   103M|    do { \
  |  |  110|   103M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|   103M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 103M]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|   103M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 103M]
  |  |  ------------------
  ------------------
 3343|   103M|    (*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|   103M|    if (gc_flag && tstate->delete_later && margin >= 4) {
  ------------------
  |  Branch (3367:9): [True: 103M, False: 0]
  |  Branch (3367:20): [True: 0, False: 103M]
  |  Branch (3367:44): [True: 0, False: 0]
  ------------------
 3368|      0|        _PyTrash_thread_destroy_chain(tstate);
 3369|      0|    }
 3370|   103M|}

_PyMem_RawMalloc:
   59|   580k|{
   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|   580k|    if (size == 0)
  ------------------
  |  Branch (64:9): [True: 91.3k, False: 488k]
  ------------------
   65|  91.3k|        size = 1;
   66|   580k|    return malloc(size);
   67|   580k|}
_PyMem_RawCalloc:
   71|   852k|{
   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|   852k|    if (nelem == 0 || elsize == 0) {
  ------------------
  |  Branch (76:9): [True: 0, False: 852k]
  |  Branch (76:23): [True: 0, False: 852k]
  ------------------
   77|      0|        nelem = 1;
   78|      0|        elsize = 1;
   79|      0|    }
   80|   852k|    return calloc(nelem, elsize);
   81|   852k|}
_PyMem_RawRealloc:
   85|   220k|{
   86|   220k|    if (size == 0)
  ------------------
  |  Branch (86:9): [True: 0, False: 220k]
  ------------------
   87|      0|        size = 1;
   88|   220k|    return realloc(ptr, size);
   89|   220k|}
_PyMem_RawFree:
   93|  1.42M|{
   94|  1.42M|    free(ptr);
   95|  1.42M|}
_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|  3.69k|{
  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|  3.69k|    ptr = mmap(NULL, size, PROT_READ|PROT_WRITE,
  676|  3.69k|               MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
  677|  3.69k|    if (ptr == MAP_FAILED)
  ------------------
  |  Branch (677:9): [True: 0, False: 3.69k]
  ------------------
  678|      0|        return NULL;
  679|  3.69k|    assert(ptr != NULL);
  ------------------
  |  Branch (679:5): [True: 3.69k, False: 0]
  ------------------
  680|  3.69k|#ifdef MADV_HUGEPAGE
  681|  3.69k|    (void)madvise(ptr, size, MADV_HUGEPAGE);
  682|  3.69k|#endif
  683|  3.69k|    (void)_PyAnnotateMemoryMap(ptr, size, "cpython:pymalloc");
  684|  3.69k|    return ptr;
  685|       |#else
  686|       |    return malloc(size);
  687|       |#endif
  688|  3.69k|}
_PyMem_ArenaFree:
  698|  3.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|  3.66k|    if (ptr == NULL) {
  ------------------
  |  Branch (707:9): [True: 0, False: 3.66k]
  ------------------
  708|      0|        return;
  709|      0|    }
  710|  3.66k|    if (munmap(ptr, size) < 0) {
  ------------------
  |  Branch (710:9): [True: 0, False: 3.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|  3.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|   580k|{
 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|   580k|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   580k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1223:9): [True: 0, False: 580k]
  ------------------
 1224|      0|        return NULL;
 1225|   580k|    return _PyMem_Raw.malloc(_PyMem_Raw.ctx, size);
  ------------------
  |  |  726|   580k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.malloc(_PyMem_Raw.ctx, size);
  ------------------
  |  |  726|   580k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1226|   580k|}
PyMem_RawCalloc:
 1230|   852k|{
 1231|       |    /* see PyMem_RawMalloc() */
 1232|   852k|    if (elsize != 0 && nelem > (size_t)PY_SSIZE_T_MAX / elsize)
  ------------------
  |  |  137|   852k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1232:9): [True: 852k, False: 0]
  |  Branch (1232:24): [True: 0, False: 852k]
  ------------------
 1233|      0|        return NULL;
 1234|   852k|    return _PyMem_Raw.calloc(_PyMem_Raw.ctx, nelem, elsize);
  ------------------
  |  |  726|   852k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.calloc(_PyMem_Raw.ctx, nelem, elsize);
  ------------------
  |  |  726|   852k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1235|   852k|}
PyMem_RawRealloc:
 1239|   220k|{
 1240|       |    /* see PyMem_RawMalloc() */
 1241|   220k|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   220k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1241:9): [True: 0, False: 220k]
  ------------------
 1242|      0|        return NULL;
 1243|   220k|    return _PyMem_Raw.realloc(_PyMem_Raw.ctx, ptr, new_size);
  ------------------
  |  |  726|   220k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.realloc(_PyMem_Raw.ctx, ptr, new_size);
  ------------------
  |  |  726|   220k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1244|   220k|}
PyMem_RawFree:
 1247|  1.42M|{
 1248|  1.42M|    _PyMem_Raw.free(_PyMem_Raw.ctx, ptr);
  ------------------
  |  |  726|  1.42M|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  _PyMem_Raw.free(_PyMem_Raw.ctx, ptr);
  ------------------
  |  |  726|  1.42M|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1249|  1.42M|}
PyMem_Malloc:
 1258|  3.99M|{
 1259|       |    /* see PyMem_RawMalloc() */
 1260|  3.99M|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  3.99M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1260:9): [True: 0, False: 3.99M]
  ------------------
 1261|      0|        return NULL;
 1262|  3.99M|    OBJECT_STAT_INC_COND(allocations512, size < 512);
  ------------------
  |  |   78|  3.99M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1263|  3.99M|    OBJECT_STAT_INC_COND(allocations4k, size >= 512 && size < 4094);
  ------------------
  |  |   78|  3.99M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1264|  3.99M|    OBJECT_STAT_INC_COND(allocations_big, size >= 4094);
  ------------------
  |  |   78|  3.99M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1265|  3.99M|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|  3.99M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1266|  3.99M|    return _PyMem.malloc(_PyMem.ctx, size);
  ------------------
  |  |  727|  3.99M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.malloc(_PyMem.ctx, size);
  ------------------
  |  |  727|  3.99M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1267|  3.99M|}
PyMem_Calloc:
 1271|  1.78M|{
 1272|       |    /* see PyMem_RawMalloc() */
 1273|  1.78M|    if (elsize != 0 && nelem > (size_t)PY_SSIZE_T_MAX / elsize)
  ------------------
  |  |  137|  1.78M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1273:9): [True: 1.78M, False: 0]
  |  Branch (1273:24): [True: 0, False: 1.78M]
  ------------------
 1274|      0|        return NULL;
 1275|  1.78M|    OBJECT_STAT_INC_COND(allocations512, elsize < 512);
  ------------------
  |  |   78|  1.78M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1276|  1.78M|    OBJECT_STAT_INC_COND(allocations4k, elsize >= 512 && elsize < 4094);
  ------------------
  |  |   78|  1.78M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1277|  1.78M|    OBJECT_STAT_INC_COND(allocations_big, elsize >= 4094);
  ------------------
  |  |   78|  1.78M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1278|  1.78M|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|  1.78M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1279|  1.78M|    return _PyMem.calloc(_PyMem.ctx, nelem, elsize);
  ------------------
  |  |  727|  1.78M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.calloc(_PyMem.ctx, nelem, elsize);
  ------------------
  |  |  727|  1.78M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1280|  1.78M|}
PyMem_Realloc:
 1284|  2.18M|{
 1285|       |    /* see PyMem_RawMalloc() */
 1286|  2.18M|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  2.18M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1286:9): [True: 0, False: 2.18M]
  ------------------
 1287|      0|        return NULL;
 1288|  2.18M|    return _PyMem.realloc(_PyMem.ctx, ptr, new_size);
  ------------------
  |  |  727|  2.18M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.realloc(_PyMem.ctx, ptr, new_size);
  ------------------
  |  |  727|  2.18M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1289|  2.18M|}
PyMem_Free:
 1293|  10.3M|{
 1294|  10.3M|    OBJECT_STAT_INC(frees);
  ------------------
  |  |   77|  10.3M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1295|  10.3M|    _PyMem.free(_PyMem.ctx, ptr);
  ------------------
  |  |  727|  10.3M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  _PyMem.free(_PyMem.ctx, ptr);
  ------------------
  |  |  727|  10.3M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1296|  10.3M|}
_PyMem_RawWcsdup:
 1305|     82|{
 1306|     82|    assert(str != NULL);
  ------------------
  |  Branch (1306:5): [True: 82, False: 0]
  ------------------
 1307|       |
 1308|     82|    size_t len = wcslen(str);
 1309|     82|    if (len > (size_t)PY_SSIZE_T_MAX / sizeof(wchar_t) - 1) {
  ------------------
  |  |  137|     82|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1309:9): [True: 0, False: 82]
  ------------------
 1310|      0|        return NULL;
 1311|      0|    }
 1312|       |
 1313|     82|    size_t size = (len + 1) * sizeof(wchar_t);
 1314|     82|    wchar_t *str2 = PyMem_RawMalloc(size);
 1315|     82|    if (str2 == NULL) {
  ------------------
  |  Branch (1315:9): [True: 0, False: 82]
  ------------------
 1316|      0|        return NULL;
 1317|      0|    }
 1318|       |
 1319|     82|    memcpy(str2, str, size);
 1320|     82|    return str2;
 1321|     82|}
_PyMem_RawStrdup:
 1325|      8|{
 1326|      8|    assert(str != NULL);
  ------------------
  |  Branch (1326:5): [True: 8, False: 0]
  ------------------
 1327|      8|    size_t size = strlen(str) + 1;
 1328|      8|    char *copy = PyMem_RawMalloc(size);
 1329|      8|    if (copy == NULL) {
  ------------------
  |  Branch (1329:9): [True: 0, False: 8]
  ------------------
 1330|      0|        return NULL;
 1331|      0|    }
 1332|      8|    memcpy(copy, str, size);
 1333|      8|    return copy;
 1334|      8|}
_PyMem_Strdup:
 1338|      1|{
 1339|      1|    assert(str != NULL);
  ------------------
  |  Branch (1339:5): [True: 1, False: 0]
  ------------------
 1340|      1|    size_t size = strlen(str) + 1;
 1341|      1|    char *copy = PyMem_Malloc(size);
 1342|      1|    if (copy == NULL) {
  ------------------
  |  Branch (1342:9): [True: 0, False: 1]
  ------------------
 1343|      0|        return NULL;
 1344|      0|    }
 1345|      1|    memcpy(copy, str, size);
 1346|      1|    return copy;
 1347|      1|}
_PyMem_FreeDelayed:
 1526|    806|{
 1527|    806|    assert(!((uintptr_t)ptr & 0x01));
  ------------------
  |  Branch (1527:5): [True: 806, False: 0]
  ------------------
 1528|    806|    if (ptr != NULL) {
  ------------------
  |  Branch (1528:9): [True: 806, False: 0]
  ------------------
 1529|    806|        free_delayed((uintptr_t)ptr, size);
 1530|    806|    }
 1531|    806|}
PyObject_Malloc:
 1711|   100M|{
 1712|       |    /* see PyMem_RawMalloc() */
 1713|   100M|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   100M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1713:9): [True: 0, False: 100M]
  ------------------
 1714|      0|        return NULL;
 1715|   100M|    OBJECT_STAT_INC_COND(allocations512, size < 512);
  ------------------
  |  |   78|   100M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1716|   100M|    OBJECT_STAT_INC_COND(allocations4k, size >= 512 && size < 4094);
  ------------------
  |  |   78|   100M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1717|   100M|    OBJECT_STAT_INC_COND(allocations_big, size >= 4094);
  ------------------
  |  |   78|   100M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1718|   100M|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|   100M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1719|   100M|    return _PyObject.malloc(_PyObject.ctx, size);
  ------------------
  |  |  728|   100M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  return _PyObject.malloc(_PyObject.ctx, size);
  ------------------
  |  |  728|   100M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1720|   100M|}
PyObject_Realloc:
 1737|   356k|{
 1738|       |    /* see PyMem_RawMalloc() */
 1739|   356k|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   356k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1739:9): [True: 0, False: 356k]
  ------------------
 1740|      0|        return NULL;
 1741|   356k|    return _PyObject.realloc(_PyObject.ctx, ptr, new_size);
  ------------------
  |  |  728|   356k|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  return _PyObject.realloc(_PyObject.ctx, ptr, new_size);
  ------------------
  |  |  728|   356k|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1742|   356k|}
PyObject_Free:
 1746|   100M|{
 1747|   100M|    OBJECT_STAT_INC(frees);
  ------------------
  |  |   77|   100M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1748|   100M|    _PyObject.free(_PyObject.ctx, ptr);
  ------------------
  |  |  728|   100M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  _PyObject.free(_PyObject.ctx, ptr);
  ------------------
  |  |  728|   100M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1749|   100M|}
_PyObject_Malloc:
 2552|   106M|{
 2553|   106M|    OMState *state = get_state();
 2554|   106M|    void* ptr = pymalloc_alloc(state, ctx, nbytes);
 2555|   106M|    if (LIKELY(ptr != NULL)) {
  ------------------
  |  | 1756|   106M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1756:25): [True: 105M, False: 569k]
  |  |  ------------------
  ------------------
 2556|   105M|        return ptr;
 2557|   105M|    }
 2558|       |
 2559|   569k|    ptr = PyMem_RawMalloc(nbytes);
 2560|   569k|    if (ptr != NULL) {
  ------------------
  |  Branch (2560:9): [True: 569k, False: 0]
  ------------------
 2561|   569k|        raw_allocated_blocks++;
  ------------------
  |  | 1806|   569k|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2562|   569k|    }
 2563|   569k|    return ptr;
 2564|   106M|}
_PyObject_Calloc:
 2569|  1.78M|{
 2570|  1.78M|    assert(elsize == 0 || nelem <= (size_t)PY_SSIZE_T_MAX / elsize);
  ------------------
  |  Branch (2570:5): [True: 0, False: 1.78M]
  |  Branch (2570:5): [True: 1.78M, False: 0]
  ------------------
 2571|  1.78M|    size_t nbytes = nelem * elsize;
 2572|       |
 2573|  1.78M|    OMState *state = get_state();
 2574|  1.78M|    void* ptr = pymalloc_alloc(state, ctx, nbytes);
 2575|  1.78M|    if (LIKELY(ptr != NULL)) {
  ------------------
  |  | 1756|  1.78M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1756:25): [True: 945k, False: 836k]
  |  |  ------------------
  ------------------
 2576|   945k|        memset(ptr, 0, nbytes);
 2577|   945k|        return ptr;
 2578|   945k|    }
 2579|       |
 2580|   836k|    ptr = PyMem_RawCalloc(nelem, elsize);
 2581|   836k|    if (ptr != NULL) {
  ------------------
  |  Branch (2581:9): [True: 836k, False: 0]
  ------------------
 2582|   836k|        raw_allocated_blocks++;
  ------------------
  |  | 1806|   836k|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2583|   836k|    }
 2584|   836k|    return ptr;
 2585|  1.78M|}
_PyObject_Free:
 2834|   111M|{
 2835|       |    /* PyObject_Free(NULL) has no effect */
 2836|   111M|    if (p == NULL) {
  ------------------
  |  Branch (2836:9): [True: 3.57M, False: 108M]
  ------------------
 2837|  3.57M|        return;
 2838|  3.57M|    }
 2839|       |
 2840|   108M|    OMState *state = get_state();
 2841|   108M|    if (UNLIKELY(!pymalloc_free(state, ctx, p))) {
  ------------------
  |  | 1755|   108M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 1.40M, False: 106M]
  |  |  ------------------
  ------------------
 2842|       |        /* pymalloc didn't allocate this address */
 2843|  1.40M|        PyMem_RawFree(p);
 2844|  1.40M|        raw_allocated_blocks--;
  ------------------
  |  | 1806|  1.40M|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2845|  1.40M|    }
 2846|   108M|}
_PyObject_Realloc:
 2922|  2.54M|{
 2923|  2.54M|    void *ptr2;
 2924|       |
 2925|  2.54M|    if (ptr == NULL) {
  ------------------
  |  Branch (2925:9): [True: 1.01M, False: 1.53M]
  ------------------
 2926|  1.01M|        return _PyObject_Malloc(ctx, nbytes);
 2927|  1.01M|    }
 2928|       |
 2929|  1.53M|    OMState *state = get_state();
 2930|  1.53M|    if (pymalloc_realloc(state, ctx, &ptr2, ptr, nbytes)) {
  ------------------
  |  Branch (2930:9): [True: 1.30M, False: 220k]
  ------------------
 2931|  1.30M|        return ptr2;
 2932|  1.30M|    }
 2933|       |
 2934|   220k|    return PyMem_RawRealloc(ptr, nbytes);
 2935|  1.53M|}
_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|    806|{
 1446|    806|#ifndef Py_GIL_DISABLED
 1447|    806|    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|    806|}
obmalloc.c:free_work_item:
 1380|    806|{
 1381|    806|    if (work_item_should_decref(ptr)) {
  ------------------
  |  Branch (1381:9): [True: 0, False: 806]
  ------------------
 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|    806|    else {
 1403|    806|        PyMem_Free((void *)ptr);
 1404|    806|    }
 1405|    806|}
obmalloc.c:work_item_should_decref:
 1374|    806|{
 1375|    806|    return ptr & 0x01;
 1376|    806|}
obmalloc.c:get_state:
 1790|   217M|{
 1791|   217M|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1792|   217M|    assert(interp->obmalloc != NULL); // otherwise not initialized or freed
  ------------------
  |  Branch (1792:5): [True: 217M, False: 0]
  ------------------
 1793|   217M|    return interp->obmalloc;
 1794|   217M|}
obmalloc.c:pymalloc_alloc:
 2504|   108M|{
 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|   108M|    if (UNLIKELY(nbytes == 0)) {
  ------------------
  |  | 1755|   108M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 91.3k, False: 108M]
  |  |  ------------------
  ------------------
 2515|  91.3k|        return NULL;
 2516|  91.3k|    }
 2517|   108M|    if (UNLIKELY(nbytes > SMALL_REQUEST_THRESHOLD)) {
  ------------------
  |  | 1755|   108M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 1.31M, False: 106M]
  |  |  ------------------
  ------------------
 2518|  1.31M|        return NULL;
 2519|  1.31M|    }
 2520|       |
 2521|   106M|    uint size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT;
  ------------------
  |  |   35|   106M|#define uint pymem_uint
  ------------------
                  uint size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT;
  ------------------
  |  |  139|   106M|#define ALIGNMENT_SHIFT         4
  ------------------
 2522|   106M|    poolp pool = usedpools[size + size];
  ------------------
  |  | 1797|   106M|#define usedpools (state->pools.used)
  ------------------
 2523|   106M|    pymem_block *bp;
 2524|       |
 2525|   106M|    if (LIKELY(pool != pool->nextpool)) {
  ------------------
  |  | 1756|   106M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1756:25): [True: 106M, False: 343k]
  |  |  ------------------
  ------------------
 2526|       |        /*
 2527|       |         * There is a used pool for this size class.
 2528|       |         * Pick up the head block of its free list.
 2529|       |         */
 2530|   106M|        ++pool->ref.count;
 2531|   106M|        bp = pool->freeblock;
 2532|   106M|        assert(bp != NULL);
  ------------------
  |  Branch (2532:9): [True: 106M, False: 0]
  ------------------
 2533|       |
 2534|   106M|        if (UNLIKELY((pool->freeblock = *(pymem_block **)bp) == NULL)) {
  ------------------
  |  | 1755|   106M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 61.1M, False: 45.3M]
  |  |  ------------------
  ------------------
 2535|       |            // Reached the end of the free list, try to extend it.
 2536|  61.1M|            pymalloc_pool_extend(pool, size);
 2537|  61.1M|        }
 2538|   106M|    }
 2539|   343k|    else {
 2540|       |        /* There isn't a pool of the right size class immediately
 2541|       |         * available:  use a free pool.
 2542|       |         */
 2543|   343k|        bp = allocate_from_new_pool(state, size);
 2544|   343k|    }
 2545|       |
 2546|   106M|    return (void *)bp;
 2547|   106M|}
obmalloc.c:pymalloc_pool_extend:
 2346|  61.1M|{
 2347|  61.1M|    if (UNLIKELY(pool->nextoffset <= pool->maxnextoffset)) {
  ------------------
  |  | 1755|  61.1M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 59.9M, False: 1.17M]
  |  |  ------------------
  ------------------
 2348|       |        /* There is room for another block. */
 2349|  59.9M|        pool->freeblock = (pymem_block*)pool + pool->nextoffset;
 2350|  59.9M|        pool->nextoffset += INDEX2SIZE(size);
  ------------------
  |  |  146|  59.9M|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|  59.9M|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2351|  59.9M|        *(pymem_block **)(pool->freeblock) = NULL;
 2352|  59.9M|        return;
 2353|  59.9M|    }
 2354|       |
 2355|       |    /* Pool is full, unlink from used pools. */
 2356|  1.17M|    poolp next;
 2357|  1.17M|    next = pool->nextpool;
 2358|  1.17M|    pool = pool->prevpool;
 2359|  1.17M|    next->prevpool = pool;
 2360|  1.17M|    pool->nextpool = next;
 2361|  1.17M|}
obmalloc.c:allocate_from_new_pool:
 2368|   343k|{
 2369|       |    /* There isn't a pool of the right size class immediately
 2370|       |     * available:  use a free pool.
 2371|       |     */
 2372|   343k|    if (UNLIKELY(usable_arenas == NULL)) {
  ------------------
  |  | 1755|   343k|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 3.69k, False: 339k]
  |  |  ------------------
  ------------------
 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|  3.69k|        usable_arenas = new_arena(state);
  ------------------
  |  | 1801|  3.69k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2380|  3.69k|        if (usable_arenas == NULL) {
  ------------------
  |  | 1801|  3.69k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2380:13): [True: 0, False: 3.69k]
  ------------------
 2381|      0|            return NULL;
 2382|      0|        }
 2383|  3.69k|        usable_arenas->nextarena = usable_arenas->prevarena = NULL;
  ------------------
  |  | 1801|  3.69k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      usable_arenas->nextarena = usable_arenas->prevarena = NULL;
  ------------------
  |  | 1801|  3.69k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2384|  3.69k|        assert(nfp2lasta[usable_arenas->nfreepools] == NULL);
  ------------------
  |  Branch (2384:9): [True: 3.69k, False: 0]
  ------------------
 2385|  3.69k|        nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1802|  3.69k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1801|  3.69k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1801|  3.69k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2386|  3.69k|    }
 2387|   343k|    assert(usable_arenas->address != 0);
  ------------------
  |  Branch (2387:5): [True: 343k, 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|   343k|    assert(usable_arenas->nfreepools > 0);
  ------------------
  |  Branch (2394:5): [True: 343k, False: 0]
  ------------------
 2395|   343k|    if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1802|   343k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                  if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1801|   343k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                  if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1801|   343k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2395:9): [True: 342k, False: 395]
  ------------------
 2396|       |        /* It's the last of this size, so there won't be any. */
 2397|   342k|        nfp2lasta[usable_arenas->nfreepools] = NULL;
  ------------------
  |  | 1802|   342k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = NULL;
  ------------------
  |  | 1801|   342k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2398|   342k|    }
 2399|       |    /* If any free pools will remain, it will be the new smallest. */
 2400|   343k|    if (usable_arenas->nfreepools > 1) {
  ------------------
  |  | 1801|   343k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2400:9): [True: 336k, False: 6.27k]
  ------------------
 2401|   336k|        assert(nfp2lasta[usable_arenas->nfreepools - 1] == NULL);
  ------------------
  |  Branch (2401:9): [True: 336k, False: 0]
  ------------------
 2402|   336k|        nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1802|   336k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1801|   336k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1801|   336k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2403|   336k|    }
 2404|       |
 2405|       |    /* Try to get a cached free pool. */
 2406|   343k|    poolp pool = usable_arenas->freepools;
  ------------------
  |  | 1801|   343k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2407|   343k|    if (LIKELY(pool != NULL)) {
  ------------------
  |  | 1756|   343k|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1756:25): [True: 111k, False: 231k]
  |  |  ------------------
  ------------------
 2408|       |        /* Unlink from cached pools. */
 2409|   111k|        usable_arenas->freepools = pool->nextpool;
  ------------------
  |  | 1801|   111k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2410|   111k|        usable_arenas->nfreepools--;
  ------------------
  |  | 1801|   111k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2411|   111k|        if (UNLIKELY(usable_arenas->nfreepools == 0)) {
  ------------------
  |  | 1755|   111k|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 2.60k, False: 108k]
  |  |  ------------------
  ------------------
 2412|       |            /* Wholly allocated:  remove. */
 2413|  2.60k|            assert(usable_arenas->freepools == NULL);
  ------------------
  |  Branch (2413:13): [True: 2.60k, False: 0]
  ------------------
 2414|  2.60k|            assert(usable_arenas->nextarena == NULL ||
  ------------------
  |  Branch (2414:13): [True: 79, False: 2.52k]
  |  Branch (2414:13): [True: 2.52k, False: 0]
  ------------------
 2415|  2.60k|                   usable_arenas->nextarena->prevarena ==
 2416|  2.60k|                   usable_arenas);
 2417|  2.60k|            usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1801|  2.60k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                          usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1801|  2.60k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2418|  2.60k|            if (usable_arenas != NULL) {
  ------------------
  |  | 1801|  2.60k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2418:17): [True: 2.52k, False: 79]
  ------------------
 2419|  2.52k|                usable_arenas->prevarena = NULL;
  ------------------
  |  | 1801|  2.52k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2420|  2.52k|                assert(usable_arenas->address != 0);
  ------------------
  |  Branch (2420:17): [True: 2.52k, False: 0]
  ------------------
 2421|  2.52k|            }
 2422|  2.60k|        }
 2423|   108k|        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|   108k|            assert(usable_arenas->freepools != NULL ||
  ------------------
  |  Branch (2429:13): [True: 104k, False: 3.67k]
  |  Branch (2429:13): [True: 3.67k, False: 0]
  ------------------
 2430|   108k|                   usable_arenas->pool_address <=
 2431|   108k|                   (pymem_block*)usable_arenas->address +
 2432|   108k|                       ARENA_SIZE - POOL_SIZE);
 2433|   108k|        }
 2434|   111k|    }
 2435|   231k|    else {
 2436|       |        /* Carve off a new pool. */
 2437|   231k|        assert(usable_arenas->nfreepools > 0);
  ------------------
  |  Branch (2437:9): [True: 231k, False: 0]
  ------------------
 2438|   231k|        assert(usable_arenas->freepools == NULL);
  ------------------
  |  Branch (2438:9): [True: 231k, False: 0]
  ------------------
 2439|   231k|        pool = (poolp)usable_arenas->pool_address;
  ------------------
  |  | 1801|   231k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2440|   231k|        assert((pymem_block*)pool <= (pymem_block*)usable_arenas->address +
  ------------------
  |  Branch (2440:9): [True: 231k, False: 0]
  ------------------
 2441|   231k|                                 ARENA_SIZE - POOL_SIZE);
 2442|   231k|        pool->arenaindex = (uint)(usable_arenas - allarenas);
  ------------------
  |  | 1801|   231k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      pool->arenaindex = (uint)(usable_arenas - allarenas);
  ------------------
  |  | 1798|   231k|#define allarenas (state->mgmt.arenas)
  ------------------
 2443|   231k|        assert(&allarenas[pool->arenaindex] == usable_arenas);
  ------------------
  |  Branch (2443:9): [True: 231k, False: 0]
  ------------------
 2444|   231k|        pool->szidx = DUMMY_SIZE_IDX;
  ------------------
  |  |  321|   231k|#define DUMMY_SIZE_IDX          0xffff  /* size class of newly cached pools */
  ------------------
 2445|   231k|        usable_arenas->pool_address += POOL_SIZE;
  ------------------
  |  | 1801|   231k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      usable_arenas->pool_address += POOL_SIZE;
  ------------------
  |  |  240|   231k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|   231k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2446|   231k|        --usable_arenas->nfreepools;
  ------------------
  |  | 1801|   231k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2447|       |
 2448|   231k|        if (usable_arenas->nfreepools == 0) {
  ------------------
  |  | 1801|   231k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2448:13): [True: 3.67k, False: 228k]
  ------------------
 2449|  3.67k|            assert(usable_arenas->nextarena == NULL ||
  ------------------
  |  Branch (2449:13): [True: 3.64k, False: 23]
  |  Branch (2449:13): [True: 23, False: 0]
  ------------------
 2450|  3.67k|                   usable_arenas->nextarena->prevarena ==
 2451|  3.67k|                   usable_arenas);
 2452|       |            /* Unlink the arena:  it is completely allocated. */
 2453|  3.67k|            usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1801|  3.67k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                          usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1801|  3.67k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2454|  3.67k|            if (usable_arenas != NULL) {
  ------------------
  |  | 1801|  3.67k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2454:17): [True: 23, False: 3.64k]
  ------------------
 2455|     23|                usable_arenas->prevarena = NULL;
  ------------------
  |  | 1801|     23|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2456|     23|                assert(usable_arenas->address != 0);
  ------------------
  |  Branch (2456:17): [True: 23, False: 0]
  ------------------
 2457|     23|            }
 2458|  3.67k|        }
 2459|   231k|    }
 2460|       |
 2461|       |    /* Frontlink to used pools. */
 2462|   343k|    pymem_block *bp;
 2463|   343k|    poolp next = usedpools[size + size]; /* == prev */
  ------------------
  |  | 1797|   343k|#define usedpools (state->pools.used)
  ------------------
 2464|   343k|    pool->nextpool = next;
 2465|   343k|    pool->prevpool = next;
 2466|   343k|    next->nextpool = pool;
 2467|   343k|    next->prevpool = pool;
 2468|   343k|    pool->ref.count = 1;
 2469|   343k|    if (pool->szidx == size) {
  ------------------
  |  Branch (2469:9): [True: 101k, False: 241k]
  ------------------
 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|   101k|        bp = pool->freeblock;
 2475|   101k|        assert(bp != NULL);
  ------------------
  |  Branch (2475:9): [True: 101k, False: 0]
  ------------------
 2476|   101k|        pool->freeblock = *(pymem_block **)bp;
 2477|   101k|        return bp;
 2478|   101k|    }
 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|   241k|    pool->szidx = size;
 2485|   241k|    size = INDEX2SIZE(size);
  ------------------
  |  |  146|   241k|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|   241k|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2486|   241k|    bp = (pymem_block *)pool + POOL_OVERHEAD;
  ------------------
  |  |  319|   241k|#define POOL_OVERHEAD   _Py_SIZE_ROUND_UP(sizeof(struct pool_header), ALIGNMENT)
  |  |  ------------------
  |  |  |  |  249|   241k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  |  |  250|   241k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  |  |  ------------------
  ------------------
 2487|   241k|    pool->nextoffset = POOL_OVERHEAD + (size << 1);
  ------------------
  |  |  319|   241k|#define POOL_OVERHEAD   _Py_SIZE_ROUND_UP(sizeof(struct pool_header), ALIGNMENT)
  |  |  ------------------
  |  |  |  |  249|   241k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  |  |  250|   241k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  |  |  ------------------
  ------------------
 2488|   241k|    pool->maxnextoffset = POOL_SIZE - size;
  ------------------
  |  |  240|   241k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|   241k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2489|   241k|    pool->freeblock = bp + size;
 2490|       |    *(pymem_block **)(pool->freeblock) = NULL;
 2491|   241k|    return bp;
 2492|   343k|}
obmalloc.c:new_arena:
 2134|  3.69k|{
 2135|  3.69k|    struct arena_object* arenaobj;
 2136|  3.69k|    uint excess;        /* number of bytes above pool alignment */
  ------------------
  |  |   35|  3.69k|#define uint pymem_uint
  ------------------
 2137|  3.69k|    void *address;
 2138|       |
 2139|  3.69k|    int debug_stats = _PyRuntime.obmalloc.dump_debug_stats;
 2140|  3.69k|    if (debug_stats == -1) {
  ------------------
  |  Branch (2140:9): [True: 2, False: 3.68k]
  ------------------
 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|  3.69k|    if (debug_stats) {
  ------------------
  |  Branch (2145:9): [True: 0, False: 3.69k]
  ------------------
 2146|      0|        _PyObject_DebugMallocStats(stderr);
 2147|      0|    }
 2148|       |
 2149|  3.69k|    if (unused_arena_objects == NULL) {
  ------------------
  |  | 1800|  3.69k|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
  |  Branch (2149:9): [True: 6, False: 3.68k]
  ------------------
 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|  3.69k|    assert(unused_arena_objects != NULL);
  ------------------
  |  Branch (2192:5): [True: 3.69k, False: 0]
  ------------------
 2193|  3.69k|    arenaobj = unused_arena_objects;
  ------------------
  |  | 1800|  3.69k|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2194|  3.69k|    unused_arena_objects = arenaobj->nextarena;
  ------------------
  |  | 1800|  3.69k|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2195|  3.69k|    assert(arenaobj->address == 0);
  ------------------
  |  Branch (2195:5): [True: 3.69k, False: 0]
  ------------------
 2196|  3.69k|    address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  730|  3.69k|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  730|  3.69k|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  225|  3.69k|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|  3.69k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  ------------------
  ------------------
 2197|  3.69k|#if WITH_PYMALLOC_RADIX_TREE
 2198|  3.69k|    if (address != NULL) {
  ------------------
  |  Branch (2198:9): [True: 3.69k, False: 0]
  ------------------
 2199|  3.69k|        if (!arena_map_mark_used(state, (uintptr_t)address, 1)) {
  ------------------
  |  Branch (2199:13): [True: 0, False: 3.69k]
  ------------------
 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|  3.69k|    }
 2205|  3.69k|#endif
 2206|  3.69k|    if (address == NULL) {
  ------------------
  |  Branch (2206:9): [True: 0, False: 3.69k]
  ------------------
 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|  3.69k|    arenaobj->address = (uintptr_t)address;
 2215|       |
 2216|  3.69k|    ++narenas_currently_allocated;
  ------------------
  |  | 1803|  3.69k|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2217|  3.69k|    ++ntimes_arena_allocated;
  ------------------
  |  | 1804|  3.69k|#define ntimes_arena_allocated (state->mgmt.ntimes_arena_allocated)
  ------------------
 2218|  3.69k|    if (narenas_currently_allocated > narenas_highwater)
  ------------------
  |  | 1803|  3.69k|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
                  if (narenas_currently_allocated > narenas_highwater)
  ------------------
  |  | 1805|  3.69k|#define narenas_highwater (state->mgmt.narenas_highwater)
  ------------------
  |  Branch (2218:9): [True: 227, False: 3.46k]
  ------------------
 2219|    227|        narenas_highwater = narenas_currently_allocated;
  ------------------
  |  | 1805|    227|#define narenas_highwater (state->mgmt.narenas_highwater)
  ------------------
                      narenas_highwater = narenas_currently_allocated;
  ------------------
  |  | 1803|    227|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2220|  3.69k|    arenaobj->freepools = NULL;
 2221|       |    /* pool_address <- first pool-aligned address in the arena
 2222|       |       nfreepools <- number of whole pools that fit after alignment */
 2223|  3.69k|    arenaobj->pool_address = (pymem_block*)arenaobj->address;
 2224|  3.69k|    arenaobj->nfreepools = MAX_POOLS_IN_ARENA;
  ------------------
  |  |  249|  3.69k|#define MAX_POOLS_IN_ARENA  (ARENA_SIZE / POOL_SIZE)
  |  |  ------------------
  |  |  |  |  225|  3.69k|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|  3.69k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAX_POOLS_IN_ARENA  (ARENA_SIZE / POOL_SIZE)
  |  |  ------------------
  |  |  |  |  240|  3.69k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  236|  3.69k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2225|  3.69k|    excess = (uint)(arenaobj->address & POOL_SIZE_MASK);
  ------------------
  |  |  241|  3.69k|#define POOL_SIZE_MASK          (POOL_SIZE - 1)
  |  |  ------------------
  |  |  |  |  240|  3.69k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  236|  3.69k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2226|  3.69k|    if (excess != 0) {
  ------------------
  |  Branch (2226:9): [True: 3.68k, False: 6]
  ------------------
 2227|  3.68k|        --arenaobj->nfreepools;
 2228|  3.68k|        arenaobj->pool_address += POOL_SIZE - excess;
  ------------------
  |  |  240|  3.68k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|  3.68k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2229|  3.68k|    }
 2230|  3.69k|    arenaobj->ntotalpools = arenaobj->nfreepools;
 2231|       |
 2232|  3.69k|    return arenaobj;
 2233|  3.69k|}
obmalloc.c:arena_map_mark_used:
 2063|  7.35k|{
 2064|       |    /* sanity check that IGNORE_BITS is correct */
 2065|  7.35k|    assert(HIGH_BITS(arena_base) == HIGH_BITS(&arena_map_root));
  ------------------
  |  Branch (2065:5): [True: 7.35k, Folded]
  ------------------
 2066|  7.35k|    arena_map_bot_t *n_hi = arena_map_get(
 2067|  7.35k|            state, (pymem_block *)arena_base, is_used);
 2068|  7.35k|    if (n_hi == NULL) {
  ------------------
  |  Branch (2068:9): [True: 0, False: 7.35k]
  ------------------
 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|  7.35k|    int i3 = MAP_BOT_INDEX((pymem_block *)arena_base);
  ------------------
  |  |  625|  7.35k|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|  7.35k|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|  7.35k|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|  7.35k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|  7.35k|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|  7.35k|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|  7.35k|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|  7.35k|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|  7.35k|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|  7.35k|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  7.35k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|  7.35k|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|  7.35k|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|  7.35k|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|  7.35k|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|  7.35k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2073|  7.35k|    int32_t tail = (int32_t)(arena_base & ARENA_SIZE_MASK);
  ------------------
  |  |  226|  7.35k|#define ARENA_SIZE_MASK         (ARENA_SIZE - 1)
  |  |  ------------------
  |  |  |  |  225|  7.35k|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|  7.35k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2074|  7.35k|    if (tail == 0) {
  ------------------
  |  Branch (2074:9): [True: 3, False: 7.35k]
  ------------------
 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|  7.35k|    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|  7.35k|        n_hi->arenas[i3].tail_hi = is_used ? tail : 0;
  ------------------
  |  Branch (2085:36): [True: 3.68k, False: 3.66k]
  ------------------
 2086|  7.35k|        uintptr_t arena_base_next = arena_base + ARENA_SIZE;
  ------------------
  |  |  225|  7.35k|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|  7.35k|#    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|  7.35k|        assert(arena_base < arena_base_next);
  ------------------
  |  Branch (2091:9): [True: 7.35k, False: 0]
  ------------------
 2092|  7.35k|        arena_map_bot_t *n_lo = arena_map_get(
 2093|  7.35k|                state, (pymem_block *)arena_base_next, is_used);
 2094|  7.35k|        if (n_lo == NULL) {
  ------------------
  |  Branch (2094:13): [True: 0, False: 7.35k]
  ------------------
 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|  7.35k|        int i3_next = MAP_BOT_INDEX(arena_base_next);
  ------------------
  |  |  625|  7.35k|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|  7.35k|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|  7.35k|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|  7.35k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|  7.35k|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|  7.35k|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|  7.35k|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|  7.35k|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|  7.35k|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|  7.35k|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  7.35k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|  7.35k|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|  7.35k|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|  7.35k|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|  7.35k|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|  7.35k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2100|  7.35k|        n_lo->arenas[i3_next].tail_lo = is_used ? tail : 0;
  ------------------
  |  Branch (2100:41): [True: 3.68k, False: 3.66k]
  ------------------
 2101|  7.35k|    }
 2102|  7.35k|    return 1;
 2103|  7.35k|}
obmalloc.c:arena_map_get:
 2002|   109M|{
 2003|   109M|#ifdef USE_INTERIOR_NODES
 2004|       |    /* sanity check that IGNORE_BITS is correct */
 2005|   109M|    assert(HIGH_BITS(p) == HIGH_BITS(&arena_map_root));
  ------------------
  |  Branch (2005:5): [True: 109M, Folded]
  ------------------
 2006|   109M|    int i1 = MAP_TOP_INDEX(p);
  ------------------
  |  |  627|   109M|#define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  624|   109M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  622|   109M|#define MAP_TOP_SHIFT (MAP_MID_BITS + MAP_MID_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  612|   109M|#define MAP_MID_BITS INTERIOR_BITS
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  603|   109M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|   109M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|   109M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|   109M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|   109M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define MAP_TOP_SHIFT (MAP_MID_BITS + MAP_MID_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|   109M|#define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|   109M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|   109M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|   109M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|   109M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|   109M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|   109M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|   109M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|   109M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|   109M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|   109M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  620|   109M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|   109M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  610|   109M|#define MAP_TOP_MASK (MAP_TOP_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  609|   109M|#define MAP_TOP_LENGTH (1 << MAP_TOP_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  608|   109M|#define MAP_TOP_BITS INTERIOR_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|   109M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|   109M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|   109M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|   109M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|   109M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2007|   109M|    if (arena_map_root.ptrs[i1] == NULL) {
  ------------------
  |  | 1992|   109M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
  |  Branch (2007:9): [True: 2, False: 109M]
  ------------------
 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|   109M|    int i2 = MAP_MID_INDEX(p);
  ------------------
  |  |  626|   109M|#define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  624|   109M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  621|   109M|#define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  616|   109M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  599|   109M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  565|   109M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  576|   109M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  220|   109M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  603|   109M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|   109M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|   109M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|   109M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|   109M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  620|   109M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  220|   109M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  614|   109M|#define MAP_MID_MASK (MAP_MID_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  613|   109M|#define MAP_MID_LENGTH (1 << MAP_MID_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  612|   109M|#define MAP_MID_BITS INTERIOR_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|   109M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|   109M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|   109M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|   109M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|   109M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2019|   109M|    if (arena_map_root.ptrs[i1]->ptrs[i2] == NULL) {
  ------------------
  |  | 1992|   109M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
  |  Branch (2019:9): [True: 1.62M, False: 108M]
  ------------------
 2020|  1.62M|        if (!create) {
  ------------------
  |  Branch (2020:13): [True: 1.62M, False: 2]
  ------------------
 2021|  1.62M|            return NULL;
 2022|  1.62M|        }
 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|   108M|    return arena_map_root.ptrs[i1]->ptrs[i2];
  ------------------
  |  | 1992|   108M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
 2031|       |#else
 2032|       |    return &arena_map_root;
 2033|       |#endif
 2034|   109M|}
obmalloc.c:pymalloc_free:
 2776|   108M|{
 2777|   108M|    assert(p != NULL);
  ------------------
  |  Branch (2777:5): [True: 108M, False: 0]
  ------------------
 2778|       |
 2779|       |#ifdef WITH_VALGRIND
 2780|       |    if (UNLIKELY(running_on_valgrind > 0)) {
 2781|       |        return 0;
 2782|       |    }
 2783|       |#endif
 2784|       |
 2785|   108M|    poolp pool = POOL_ADDR(p);
  ------------------
  |  |  324|   108M|#define POOL_ADDR(P) ((poolp)_Py_ALIGN_DOWN((P), POOL_SIZE))
  |  |  ------------------
  |  |  |  |  252|   108M|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  |  |  ------------------
  ------------------
 2786|   108M|    if (UNLIKELY(!address_in_range(state, p, pool))) {
  ------------------
  |  | 1755|   108M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 1.40M, False: 106M]
  |  |  ------------------
  ------------------
 2787|  1.40M|        return 0;
 2788|  1.40M|    }
 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|   108M|    assert(pool->ref.count > 0);            /* else it was empty */
  ------------------
  |  Branch (2797:5): [True: 106M, False: 0]
  ------------------
 2798|   106M|    pymem_block *lastfree = pool->freeblock;
 2799|   106M|    *(pymem_block **)p = lastfree;
 2800|   106M|    pool->freeblock = (pymem_block *)p;
 2801|   106M|    pool->ref.count--;
 2802|       |
 2803|   106M|    if (UNLIKELY(lastfree == NULL)) {
  ------------------
  |  | 1755|   106M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1755:27): [True: 1.17M, False: 105M]
  |  |  ------------------
  ------------------
 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.17M|        insert_to_usedpool(state, pool);
 2811|  1.17M|        return 1;
 2812|  1.17M|    }
 2813|       |
 2814|       |    /* freeblock wasn't NULL, so the pool wasn't full,
 2815|       |     * and the pool is in a usedpools[] list.
 2816|       |     */
 2817|   105M|    if (LIKELY(pool->ref.count != 0)) {
  ------------------
  |  | 1756|   105M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1756:25): [True: 105M, False: 342k]
  |  |  ------------------
  ------------------
 2818|       |        /* pool isn't empty:  leave it in usedpools */
 2819|   105M|        return 1;
 2820|   105M|    }
 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|   342k|    insert_to_freepool(state, pool);
 2828|   342k|    return 1;
 2829|   105M|}
obmalloc.c:address_in_range:
 2243|   109M|{
 2244|   109M|    return arena_map_is_used(state, p);
 2245|   109M|}
obmalloc.c:arena_map_is_used:
 2109|   109M|{
 2110|   109M|    arena_map_bot_t *n = arena_map_get(state, p, 0);
 2111|   109M|    if (n == NULL) {
  ------------------
  |  Branch (2111:9): [True: 1.62M, False: 108M]
  ------------------
 2112|  1.62M|        return 0;
 2113|  1.62M|    }
 2114|   108M|    int i3 = MAP_BOT_INDEX(p);
  ------------------
  |  |  625|   108M|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|   108M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|   108M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|   108M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|   108M|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|   108M|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|   108M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|   108M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|   108M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|   108M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|   108M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|   108M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|   108M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|   108M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|   108M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|   108M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2115|       |    /* ARENA_BITS must be < 32 so that the tail is a non-negative int32_t. */
 2116|   108M|    int32_t hi = n->arenas[i3].tail_hi;
 2117|   108M|    int32_t lo = n->arenas[i3].tail_lo;
 2118|   108M|    int32_t tail = (int32_t)(AS_UINT(p) & ARENA_SIZE_MASK);
  ------------------
  |  |  624|   108M|#define AS_UINT(p) ((uintptr_t)(p))
  ------------------
                  int32_t tail = (int32_t)(AS_UINT(p) & ARENA_SIZE_MASK);
  ------------------
  |  |  226|   108M|#define ARENA_SIZE_MASK         (ARENA_SIZE - 1)
  |  |  ------------------
  |  |  |  |  225|   108M|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|   108M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2119|   108M|    return (tail < lo) || (tail >= hi && hi != 0);
  ------------------
  |  Branch (2119:12): [True: 79.0M, False: 29.0M]
  |  Branch (2119:28): [True: 29.0M, False: 2]
  |  Branch (2119:42): [True: 29.0M, False: 7]
  ------------------
 2120|   109M|}
obmalloc.c:insert_to_usedpool:
 2590|  1.17M|{
 2591|  1.17M|    assert(pool->ref.count > 0);            /* else the pool is empty */
  ------------------
  |  Branch (2591:5): [True: 1.17M, False: 0]
  ------------------
 2592|       |
 2593|  1.17M|    uint size = pool->szidx;
  ------------------
  |  |   35|  1.17M|#define uint pymem_uint
  ------------------
 2594|  1.17M|    poolp next = usedpools[size + size];
  ------------------
  |  | 1797|  1.17M|#define usedpools (state->pools.used)
  ------------------
 2595|  1.17M|    poolp prev = next->prevpool;
 2596|       |
 2597|       |    /* insert pool before next:   prev <-> pool <-> next */
 2598|  1.17M|    pool->nextpool = next;
 2599|  1.17M|    pool->prevpool = prev;
 2600|  1.17M|    next->prevpool = pool;
 2601|  1.17M|    prev->nextpool = pool;
 2602|  1.17M|}
obmalloc.c:insert_to_freepool:
 2606|   342k|{
 2607|   342k|    poolp next = pool->nextpool;
 2608|   342k|    poolp prev = pool->prevpool;
 2609|   342k|    next->prevpool = prev;
 2610|   342k|    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|   342k|    struct arena_object *ao = &allarenas[pool->arenaindex];
  ------------------
  |  | 1798|   342k|#define allarenas (state->mgmt.arenas)
  ------------------
 2616|   342k|    pool->nextpool = ao->freepools;
 2617|   342k|    ao->freepools = pool;
 2618|   342k|    uint nf = ao->nfreepools;
  ------------------
  |  |   35|   342k|#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|   342k|    struct arena_object* lastnf = nfp2lasta[nf];
  ------------------
  |  | 1802|   342k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2624|   342k|    assert((nf == 0 && lastnf == NULL) ||
  ------------------
  |  Branch (2624:5): [True: 6.26k, False: 336k]
  |  Branch (2624:5): [True: 6.26k, False: 0]
  |  Branch (2624:5): [True: 336k, False: 0]
  |  Branch (2624:5): [True: 336k, False: 0]
  |  Branch (2624:5): [True: 336k, False: 0]
  |  Branch (2624:5): [True: 37.7k, False: 298k]
  |  Branch (2624:5): [True: 298k, False: 0]
  ------------------
 2625|   342k|           (nf > 0 &&
 2626|   342k|            lastnf != NULL &&
 2627|   342k|            lastnf->nfreepools == nf &&
 2628|   342k|            (lastnf->nextarena == NULL ||
 2629|   342k|             nf < lastnf->nextarena->nfreepools)));
 2630|   342k|    if (lastnf == ao) {  /* it is the rightmost */
  ------------------
  |  Branch (2630:9): [True: 302k, False: 39.9k]
  ------------------
 2631|   302k|        struct arena_object* p = ao->prevarena;
 2632|   302k|        nfp2lasta[nf] = (p != NULL && p->nfreepools == nf) ? p : NULL;
  ------------------
  |  | 1802|   302k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2632:26): [True: 182k, False: 120k]
  |  Branch (2632:39): [True: 68, False: 182k]
  ------------------
 2633|   302k|    }
 2634|   342k|    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|   342k|    if (nf == ao->ntotalpools && ao->nextarena != NULL) {
  ------------------
  |  Branch (2653:9): [True: 3.75k, False: 338k]
  |  Branch (2653:34): [True: 3.66k, False: 86]
  ------------------
 2654|       |        /* Case 1.  First unlink ao from usable_arenas.
 2655|       |         */
 2656|  3.66k|        assert(ao->prevarena == NULL ||
  ------------------
  |  Branch (2656:9): [True: 0, False: 3.66k]
  |  Branch (2656:9): [True: 3.66k, False: 0]
  ------------------
 2657|  3.66k|               ao->prevarena->address != 0);
 2658|  3.66k|        assert(ao ->nextarena == NULL ||
  ------------------
  |  Branch (2658:9): [True: 0, False: 3.66k]
  |  Branch (2658:9): [True: 3.66k, False: 0]
  ------------------
 2659|  3.66k|               ao->nextarena->address != 0);
 2660|       |
 2661|       |        /* Fix the pointer in the prevarena, or the
 2662|       |         * usable_arenas pointer.
 2663|       |         */
 2664|  3.66k|        if (ao->prevarena == NULL) {
  ------------------
  |  Branch (2664:13): [True: 0, False: 3.66k]
  ------------------
 2665|      0|            usable_arenas = ao->nextarena;
  ------------------
  |  | 1801|      0|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2666|      0|            assert(usable_arenas == NULL ||
  ------------------
  |  Branch (2666:13): [True: 0, False: 0]
  |  Branch (2666:13): [True: 0, False: 0]
  ------------------
 2667|      0|                   usable_arenas->address != 0);
 2668|      0|        }
 2669|  3.66k|        else {
 2670|  3.66k|            assert(ao->prevarena->nextarena == ao);
  ------------------
  |  Branch (2670:13): [True: 3.66k, False: 0]
  ------------------
 2671|  3.66k|            ao->prevarena->nextarena =
 2672|  3.66k|                ao->nextarena;
 2673|  3.66k|        }
 2674|       |        /* Fix the pointer in the nextarena. */
 2675|  3.66k|        if (ao->nextarena != NULL) {
  ------------------
  |  Branch (2675:13): [True: 3.66k, False: 0]
  ------------------
 2676|  3.66k|            assert(ao->nextarena->prevarena == ao);
  ------------------
  |  Branch (2676:13): [True: 3.66k, False: 0]
  ------------------
 2677|  3.66k|            ao->nextarena->prevarena =
 2678|  3.66k|                ao->prevarena;
 2679|  3.66k|        }
 2680|       |        /* Record that this arena_object slot is
 2681|       |         * available to be reused.
 2682|       |         */
 2683|  3.66k|        ao->nextarena = unused_arena_objects;
  ------------------
  |  | 1800|  3.66k|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2684|  3.66k|        unused_arena_objects = ao;
  ------------------
  |  | 1800|  3.66k|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2685|       |
 2686|  3.66k|#if WITH_PYMALLOC_RADIX_TREE
 2687|       |        /* mark arena region as not under control of obmalloc */
 2688|  3.66k|        arena_map_mark_used(state, ao->address, 0);
 2689|  3.66k|#endif
 2690|       |
 2691|       |        /* Free the entire arena. */
 2692|  3.66k|        _PyObject_Arena.free(_PyObject_Arena.ctx,
  ------------------
  |  |  730|  3.66k|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                      _PyObject_Arena.free(_PyObject_Arena.ctx,
  ------------------
  |  |  730|  3.66k|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
 2693|  3.66k|                             (void *)ao->address, ARENA_SIZE);
  ------------------
  |  |  225|  3.66k|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|  3.66k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  ------------------
  ------------------
 2694|  3.66k|        ao->address = 0;                        /* mark unassociated */
 2695|  3.66k|        --narenas_currently_allocated;
  ------------------
  |  | 1803|  3.66k|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2696|       |
 2697|  3.66k|        return;
 2698|  3.66k|    }
 2699|       |
 2700|   338k|    if (nf == 1) {
  ------------------
  |  Branch (2700:9): [True: 6.26k, False: 332k]
  ------------------
 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|  6.26k|        ao->nextarena = usable_arenas;
  ------------------
  |  | 1801|  6.26k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2707|  6.26k|        ao->prevarena = NULL;
 2708|  6.26k|        if (usable_arenas)
  ------------------
  |  | 1801|  6.26k|#define usable_arenas (state->mgmt.usable_arenas)
  |  |  ------------------
  |  |  |  Branch (1801:23): [True: 6.22k, False: 39]
  |  |  ------------------
  ------------------
 2709|  6.22k|            usable_arenas->prevarena = ao;
  ------------------
  |  | 1801|  6.22k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2710|  6.26k|        usable_arenas = ao;
  ------------------
  |  | 1801|  6.26k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2711|  6.26k|        assert(usable_arenas->address != 0);
  ------------------
  |  Branch (2711:9): [True: 6.26k, False: 0]
  ------------------
 2712|  6.26k|        if (nfp2lasta[1] == NULL) {
  ------------------
  |  | 1802|  6.26k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2712:13): [True: 5.33k, False: 933]
  ------------------
 2713|  5.33k|            nfp2lasta[1] = ao;
  ------------------
  |  | 1802|  5.33k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2714|  5.33k|        }
 2715|       |
 2716|  6.26k|        return;
 2717|  6.26k|    }
 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|   332k|    if (nfp2lasta[nf] == NULL) {
  ------------------
  |  | 1802|   332k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2727:9): [True: 299k, False: 33.1k]
  ------------------
 2728|   299k|        nfp2lasta[nf] = ao;
  ------------------
  |  | 1802|   299k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2729|   299k|    } /* else the rightmost with nf doesn't change */
 2730|       |    /* If this was the rightmost of the old size, it remains in place. */
 2731|   332k|    if (ao == lastnf) {
  ------------------
  |  Branch (2731:9): [True: 302k, False: 29.9k]
  ------------------
 2732|       |        /* Case 4.  Nothing to do. */
 2733|   302k|        return;
 2734|   302k|    }
 2735|       |    /* If ao were the only arena in the list, the last block would have
 2736|       |     * gotten us out.
 2737|       |     */
 2738|   332k|    assert(ao->nextarena != NULL);
  ------------------
  |  Branch (2738:5): [True: 29.9k, 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|  29.9k|    if (ao->prevarena != NULL) {
  ------------------
  |  Branch (2745:9): [True: 25.7k, False: 4.20k]
  ------------------
 2746|       |        /* ao isn't at the head of the list */
 2747|  25.7k|        assert(ao->prevarena->nextarena == ao);
  ------------------
  |  Branch (2747:9): [True: 25.7k, False: 0]
  ------------------
 2748|  25.7k|        ao->prevarena->nextarena = ao->nextarena;
 2749|  25.7k|    }
 2750|  4.20k|    else {
 2751|       |        /* ao is at the head of the list */
 2752|  4.20k|        assert(usable_arenas == ao);
  ------------------
  |  Branch (2752:9): [True: 4.20k, False: 0]
  ------------------
 2753|  4.20k|        usable_arenas = ao->nextarena;
  ------------------
  |  | 1801|  4.20k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2754|  4.20k|    }
 2755|  29.9k|    ao->nextarena->prevarena = ao->prevarena;
 2756|       |    /* And insert after lastnf. */
 2757|  29.9k|    ao->prevarena = lastnf;
 2758|  29.9k|    ao->nextarena = lastnf->nextarena;
 2759|  29.9k|    if (ao->nextarena != NULL) {
  ------------------
  |  Branch (2759:9): [True: 29.7k, False: 269]
  ------------------
 2760|  29.7k|        ao->nextarena->prevarena = ao;
 2761|  29.7k|    }
 2762|  29.9k|    lastnf->nextarena = ao;
 2763|       |    /* Verify that the swaps worked. */
 2764|  29.9k|    assert(ao->nextarena == NULL || nf <= ao->nextarena->nfreepools);
  ------------------
  |  Branch (2764:5): [True: 269, False: 29.7k]
  |  Branch (2764:5): [True: 29.7k, False: 0]
  ------------------
 2765|  29.9k|    assert(ao->prevarena == NULL || nf > ao->prevarena->nfreepools);
  ------------------
  |  Branch (2765:5): [True: 0, False: 29.9k]
  |  Branch (2765:5): [True: 29.9k, False: 0]
  ------------------
 2766|  29.9k|    assert(ao->nextarena == NULL || ao->nextarena->prevarena == ao);
  ------------------
  |  Branch (2766:5): [True: 269, False: 29.7k]
  |  Branch (2766:5): [True: 29.7k, False: 0]
  ------------------
 2767|  29.9k|    assert((usable_arenas == ao && ao->prevarena == NULL)
  ------------------
  |  Branch (2767:5): [True: 0, False: 29.9k]
  |  Branch (2767:5): [True: 0, False: 0]
  |  Branch (2767:5): [True: 29.9k, False: 0]
  ------------------
 2768|  29.9k|           || ao->prevarena->nextarena == ao);
 2769|  29.9k|}
obmalloc.c:pymalloc_realloc:
 2861|  1.53M|{
 2862|  1.53M|    void *bp;
 2863|  1.53M|    poolp pool;
 2864|  1.53M|    size_t size;
 2865|       |
 2866|  1.53M|    assert(p != NULL);
  ------------------
  |  Branch (2866:5): [True: 1.53M, 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|  1.53M|    pool = POOL_ADDR(p);
  ------------------
  |  |  324|  1.53M|#define POOL_ADDR(P) ((poolp)_Py_ALIGN_DOWN((P), POOL_SIZE))
  |  |  ------------------
  |  |  |  |  252|  1.53M|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  |  |  ------------------
  ------------------
 2876|  1.53M|    if (!address_in_range(state, p, pool)) {
  ------------------
  |  Branch (2876:9): [True: 220k, False: 1.30M]
  ------------------
 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|   220k|        return 0;
 2890|   220k|    }
 2891|       |
 2892|       |    /* pymalloc is in charge of this block */
 2893|  1.30M|    size = INDEX2SIZE(pool->szidx);
  ------------------
  |  |  146|  1.30M|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|  1.30M|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2894|  1.30M|    if (nbytes <= size) {
  ------------------
  |  Branch (2894:9): [True: 439k, False: 870k]
  ------------------
 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|   439k|        if (4 * nbytes > 3 * size) {
  ------------------
  |  Branch (2902:13): [True: 255k, False: 184k]
  ------------------
 2903|       |            /* It's the same, or shrinking and new/old > 3/4. */
 2904|   255k|            *newptr_p = p;
 2905|   255k|            return 1;
 2906|   255k|        }
 2907|   184k|        size = nbytes;
 2908|   184k|    }
 2909|       |
 2910|  1.05M|    bp = _PyObject_Malloc(ctx, nbytes);
 2911|  1.05M|    if (bp != NULL) {
  ------------------
  |  Branch (2911:9): [True: 1.05M, False: 0]
  ------------------
 2912|  1.05M|        memcpy(bp, p, size);
 2913|  1.05M|        _PyObject_Free(ctx, p);
 2914|  1.05M|    }
 2915|  1.05M|    *newptr_p = bp;
 2916|  1.05M|    return 1;
 2917|  1.30M|}
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|    525|{
  187|    525|    rangeobject *r = (rangeobject*)op;
  188|    525|    Py_DECREF(r->start);
  ------------------
  |  |  430|    525|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    525|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    525|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|    525|    Py_DECREF(r->stop);
  ------------------
  |  |  430|    525|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    525|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    525|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  190|    525|    Py_DECREF(r->step);
  ------------------
  |  |  430|    525|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    525|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    525|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|    525|    Py_DECREF(r->length);
  ------------------
  |  |  430|    525|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    525|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    525|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|    525|    _Py_FREELIST_FREE(ranges, r, PyObject_Free);
  ------------------
  |  |   35|    525|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|    525|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    525|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|    525|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   22|    525|#  define Py_ranges_MAXFREELIST 6
  |  |  ------------------
  ------------------
  193|    525|}
rangeobject.c:range_length:
  335|     34|{
  336|     34|    rangeobject *r = (rangeobject*)op;
  337|     34|    return PyLong_AsSsize_t(r->length);
  338|     34|}
rangeobject.c:compute_item:
  342|     80|{
  343|     80|    PyObject *incr, *result;
  344|       |    /* PyLong equivalent to:
  345|       |     *    return r->start + (i * r->step)
  346|       |     */
  347|     80|    if (r->step == _PyLong_GetOne()) {
  ------------------
  |  Branch (347:9): [True: 80, False: 0]
  ------------------
  348|     80|        result = PyNumber_Add(r->start, i);
  349|     80|    }
  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|     80|    return result;
  359|     80|}
rangeobject.c:range_subscript:
  738|     40|{
  739|     40|    rangeobject *self = (rangeobject*)op;
  740|     40|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (740:9): [True: 0, False: 40]
  ------------------
  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|     40|    if (PySlice_Check(item)) {
  ------------------
  |  |   22|     40|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|     40|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 40, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  750|     40|        return compute_slice(self, item);
  751|     40|    }
  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|     40|}
rangeobject.c:compute_slice:
  428|     40|{
  429|     40|    PySliceObject *slice = (PySliceObject *) _slice;
  430|     40|    rangeobject *result;
  431|     40|    PyObject *start = NULL, *stop = NULL, *step = NULL;
  432|     40|    PyObject *substart = NULL, *substop = NULL, *substep = NULL;
  433|     40|    int error;
  434|       |
  435|     40|    error = _PySlice_GetLongIndices(slice, r->length, &start, &stop, &step);
  436|     40|    if (error == -1)
  ------------------
  |  Branch (436:9): [True: 0, False: 40]
  ------------------
  437|      0|        return NULL;
  438|       |
  439|     40|    substep = PyNumber_Multiply(r->step, step);
  440|     40|    if (substep == NULL) goto fail;
  ------------------
  |  Branch (440:9): [True: 0, False: 40]
  ------------------
  441|     40|    Py_CLEAR(step);
  ------------------
  |  |  487|     40|    do { \
  |  |  488|     40|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     40|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     40|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     40|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     40|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     40|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 40, False: 0]
  |  |  ------------------
  |  |  491|     40|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     40|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     40|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     40|        } \
  |  |  494|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
  442|       |
  443|     40|    substart = compute_item(r, start);
  444|     40|    if (substart == NULL) goto fail;
  ------------------
  |  Branch (444:9): [True: 0, False: 40]
  ------------------
  445|     40|    Py_CLEAR(start);
  ------------------
  |  |  487|     40|    do { \
  |  |  488|     40|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     40|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     40|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     40|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     40|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     40|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 40, False: 0]
  |  |  ------------------
  |  |  491|     40|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     40|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     40|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     40|        } \
  |  |  494|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
  446|       |
  447|     40|    substop = compute_item(r, stop);
  448|     40|    if (substop == NULL) goto fail;
  ------------------
  |  Branch (448:9): [True: 0, False: 40]
  ------------------
  449|     40|    Py_CLEAR(stop);
  ------------------
  |  |  487|     40|    do { \
  |  |  488|     40|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     40|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     40|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     40|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     40|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     40|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 40, False: 0]
  |  |  ------------------
  |  |  491|     40|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     40|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     40|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     40|        } \
  |  |  494|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
  450|       |
  451|     40|    result = make_range_object(Py_TYPE(r), substart, substop, substep);
  ------------------
  |  |  213|     40|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  452|     40|    if (result != NULL) {
  ------------------
  |  Branch (452:9): [True: 40, False: 0]
  ------------------
  453|     40|        return (PyObject *) result;
  454|     40|    }
  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|     40|}
rangeobject.c:make_range_object:
   69|    525|{
   70|    525|    PyObject *length;
   71|    525|    length = compute_range_length(start, stop, step);
   72|    525|    if (length == NULL) {
  ------------------
  |  Branch (72:9): [True: 0, False: 525]
  ------------------
   73|      0|        return NULL;
   74|      0|    }
   75|    525|    rangeobject *obj = _Py_FREELIST_POP(rangeobject, ranges);
  ------------------
  |  |   43|    525|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|    525|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   76|    525|    if (obj == NULL) {
  ------------------
  |  Branch (76:9): [True: 10, False: 515]
  ------------------
   77|     10|        obj = PyObject_New(rangeobject, type);
  ------------------
  |  |  130|     10|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
   78|     10|        if (obj == NULL) {
  ------------------
  |  Branch (78:13): [True: 0, False: 10]
  ------------------
   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|     10|    }
   83|    525|    obj->start = start;
   84|    525|    obj->stop = stop;
   85|    525|    obj->step = step;
   86|    525|    obj->length = length;
   87|    525|    return obj;
   88|    525|}
rangeobject.c:compute_range_length:
  244|    525|{
  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|    525|    int cmp_result;
  250|    525|    PyObject *lo, *hi;
  251|    525|    PyObject *diff = NULL;
  252|    525|    PyObject *tmp1 = NULL, *tmp2 = NULL, *result;
  253|       |                /* holds sub-expression evaluations */
  254|       |
  255|    525|    PyObject *zero = _PyLong_GetZero();  // borrowed reference
  256|    525|    PyObject *one = _PyLong_GetOne();  // borrowed reference
  257|       |
  258|    525|    assert(PyLong_Check(start));
  ------------------
  |  Branch (258:5): [True: 525, False: 0]
  ------------------
  259|    525|    assert(PyLong_Check(stop));
  ------------------
  |  Branch (259:5): [True: 525, False: 0]
  ------------------
  260|    525|    assert(PyLong_Check(step));
  ------------------
  |  Branch (260:5): [True: 525, False: 0]
  ------------------
  261|       |
  262|       |    /* fast path for start == 0 and step == 1: length is max(stop, 0) */
  263|    525|    if (start == zero && step == one) {
  ------------------
  |  Branch (263:9): [True: 109, False: 416]
  |  Branch (263:26): [True: 85, False: 24]
  ------------------
  264|     85|        if (_PyLong_IsPositive((const PyLongObject *)stop)) {
  ------------------
  |  Branch (264:13): [True: 81, False: 4]
  ------------------
  265|     81|            return Py_NewRef(stop);
  ------------------
  |  |  647|     81|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  266|     81|        }
  267|      4|        return zero;
  268|     85|    }
  269|       |
  270|       |    /* fast path when all arguments fit into a long integer */
  271|    440|    long len = compute_range_length_long(start, stop, step);
  272|    440|    if (len >= 0) {
  ------------------
  |  Branch (272:9): [True: 440, False: 0]
  ------------------
  273|    440|        return PyLong_FromLong(len);
  274|    440|    }
  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|    440|    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|    440|                PyObject *stop, PyObject *step) {
  204|    440|    int overflow = 0;
  205|       |
  206|    440|    long long_start = PyLong_AsLongAndOverflow(start, &overflow);
  207|    440|    if (overflow) {
  ------------------
  |  Branch (207:9): [True: 0, False: 440]
  ------------------
  208|      0|        return -2;
  209|      0|    }
  210|    440|    if (long_start == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (210:9): [True: 2, False: 438]
  |  Branch (210:29): [True: 0, False: 2]
  ------------------
  211|      0|        return -1;
  212|      0|    }
  213|    440|    long long_stop = PyLong_AsLongAndOverflow(stop, &overflow);
  214|    440|    if (overflow) {
  ------------------
  |  Branch (214:9): [True: 0, False: 440]
  ------------------
  215|      0|        return -2;
  216|      0|    }
  217|    440|    if (long_stop == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (217:9): [True: 40, False: 400]
  |  Branch (217:28): [True: 0, False: 40]
  ------------------
  218|      0|        return -1;
  219|      0|    }
  220|    440|    long long_step = PyLong_AsLongAndOverflow(step, &overflow);
  221|    440|    if (overflow) {
  ------------------
  |  Branch (221:9): [True: 0, False: 440]
  ------------------
  222|      0|        return -2;
  223|      0|    }
  224|    440|    if (long_step == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (224:9): [True: 40, False: 400]
  |  Branch (224:28): [True: 0, False: 40]
  ------------------
  225|      0|        return -1;
  226|      0|    }
  227|       |
  228|    440|    unsigned long ulen = get_len_of_range(long_start, long_stop, long_step);
  229|    440|    if (ulen > (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (229:9): [True: 0, False: 440]
  ------------------
  230|       |        /* length too large for a long */
  231|      0|        return -2;
  232|      0|    }
  233|    440|    else {
  234|    440|        return (long)ulen;
  235|    440|    }
  236|    440|}
rangeobject.c:get_len_of_range:
 1001|    923|{
 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|    923|    assert(step != 0);
  ------------------
  |  Branch (1015:5): [True: 923, False: 0]
  ------------------
 1016|    923|    if (step > 0 && lo < hi)
  ------------------
  |  Branch (1016:9): [True: 829, False: 94]
  |  Branch (1016:21): [True: 65, False: 764]
  ------------------
 1017|     65|        return 1UL + (hi - 1UL - lo) / step;
 1018|    858|    else if (step < 0 && lo > hi)
  ------------------
  |  Branch (1018:14): [True: 94, False: 764]
  |  Branch (1018:26): [True: 90, False: 4]
  ------------------
 1019|     90|        return 1UL + (lo - 1UL - hi) / (0UL - step);
 1020|    768|    else
 1021|    768|        return 0UL;
 1022|    923|}
rangeobject.c:fast_range_iter:
 1029|    483|{
 1030|    483|    _PyRangeIterObject *it = _Py_FREELIST_POP(_PyRangeIterObject, range_iters);
  ------------------
  |  |   43|    483|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|    483|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1031|    483|    if (it == NULL) {
  ------------------
  |  Branch (1031:9): [True: 8, False: 475]
  ------------------
 1032|      8|        it = PyObject_New(_PyRangeIterObject, &PyRangeIter_Type);
  ------------------
  |  |  130|      8|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
 1033|      8|        if (it == NULL) {
  ------------------
  |  Branch (1033:13): [True: 0, False: 8]
  ------------------
 1034|      0|            return NULL;
 1035|      0|        }
 1036|      8|    }
 1037|    483|    assert(Py_IS_TYPE(it, &PyRangeIter_Type));
  ------------------
  |  Branch (1037:5): [True: 483, False: 0]
  ------------------
 1038|    483|    it->start = start;
 1039|    483|    it->step = step;
 1040|    483|    it->len = len;
 1041|    483|    return (PyObject *)it;
 1042|    483|}
rangeobject.c:range_from_array:
   97|    485|{
   98|    485|    rangeobject *obj;
   99|    485|    PyObject *start = NULL, *stop = NULL, *step = NULL;
  100|       |
  101|    485|    switch (num_args) {
  102|      9|        case 3:
  ------------------
  |  Branch (102:9): [True: 9, False: 476]
  ------------------
  103|      9|            step = args[2];
  104|      9|            _Py_FALLTHROUGH;
  ------------------
  |  |  667|      9|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  105|    400|        case 2:
  ------------------
  |  Branch (105:9): [True: 391, False: 94]
  ------------------
  106|       |            /* Convert borrowed refs to owned refs */
  107|    400|            start = PyNumber_Index(args[0]);
  108|    400|            if (!start) {
  ------------------
  |  Branch (108:17): [True: 0, False: 400]
  ------------------
  109|      0|                return NULL;
  110|      0|            }
  111|    400|            stop = PyNumber_Index(args[1]);
  112|    400|            if (!stop) {
  ------------------
  |  Branch (112:17): [True: 0, False: 400]
  ------------------
  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|    400|            step = validate_step(step);  /* Caution, this can clear exceptions */
  117|    400|            if (!step) {
  ------------------
  |  Branch (117:17): [True: 0, False: 400]
  ------------------
  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|    400|            break;
  123|    400|        case 1:
  ------------------
  |  Branch (123:9): [True: 85, False: 400]
  ------------------
  124|     85|            stop = PyNumber_Index(args[0]);
  125|     85|            if (!stop) {
  ------------------
  |  Branch (125:17): [True: 0, False: 85]
  ------------------
  126|      0|                return NULL;
  127|      0|            }
  128|     85|            start = _PyLong_GetZero();
  129|     85|            step = _PyLong_GetOne();
  130|     85|            break;
  131|      0|        case 0:
  ------------------
  |  Branch (131:9): [True: 0, False: 485]
  ------------------
  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: 485]
  ------------------
  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|    485|    }
  141|    485|    obj = make_range_object(type, start, stop, step);
  142|    485|    if (obj != NULL) {
  ------------------
  |  Branch (142:9): [True: 485, False: 0]
  ------------------
  143|    485|        return (PyObject *) obj;
  144|    485|    }
  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|    485|}
rangeobject.c:validate_step:
   48|    400|{
   49|       |    /* No step specified, use a step of 1. */
   50|    400|    if (!step)
  ------------------
  |  Branch (50:9): [True: 391, False: 9]
  ------------------
   51|    391|        return PyLong_FromLong(1);
   52|       |
   53|      9|    step = PyNumber_Index(step);
   54|      9|    if (step && _PyLong_IsZero((PyLongObject *)step)) {
  ------------------
  |  Branch (54:9): [True: 9, False: 0]
  |  Branch (54:17): [True: 0, False: 9]
  ------------------
   55|      0|        PyErr_SetString(PyExc_ValueError,
   56|      0|                        "range() arg 3 must not be zero");
   57|      0|        Py_CLEAR(step);
  ------------------
  |  |  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|      9|    return step;
   61|    400|}
rangeobject.c:range_vectorcall:
  166|    485|{
  167|    485|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    485|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  168|    485|    if (!_PyArg_NoKwnames("range", kwnames)) {
  ------------------
  |  |   16|    485|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 485, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  169|      0|        return NULL;
  170|      0|    }
  171|    485|    return range_from_array((PyTypeObject *)rangetype, args, nargs);
  172|    485|}
rangeobject.c:rangeiter_dealloc:
  952|    483|{
  953|    483|    _Py_FREELIST_FREE(range_iters, (_PyRangeIterObject *)self, PyObject_Free);
  ------------------
  |  |   35|    483|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|    483|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    483|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|    483|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   23|    483|#  define Py_range_iters_MAXFREELIST 6
  |  |  ------------------
  ------------------
  954|    483|}
rangeobject.c:rangeiter_next:
  855|  3.53k|{
  856|  3.53k|    PyObject *ret = NULL;
  857|  3.53k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  3.53k|    {
  ------------------
  858|  3.53k|    _PyRangeIterObject *r = (_PyRangeIterObject*)op;
  859|  3.53k|    if (r->len > 0) {
  ------------------
  |  Branch (859:9): [True: 3.49k, False: 40]
  ------------------
  860|  3.49k|        long result = r->start;
  861|  3.49k|        r->start = result + r->step;
  862|  3.49k|        r->len--;
  863|  3.49k|        ret = PyLong_FromLong(result);
  864|  3.49k|    }
  865|  3.53k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.53k|    }
  ------------------
  866|  3.53k|    return ret;
  867|  3.53k|}
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|    485|{
 1233|    485|    rangeobject *r = (rangeobject *)seq;
 1234|    485|    longrangeiterobject *it;
 1235|    485|    long lstart, lstop, lstep;
 1236|    485|    unsigned long ulen;
 1237|       |
 1238|    485|    assert(PyRange_Check(seq));
  ------------------
  |  Branch (1238:5): [True: 485, False: 0]
  ------------------
 1239|       |
 1240|       |    /* If all three fields and the length convert to long, use the int
 1241|       |     * version */
 1242|    485|    lstart = PyLong_AsLong(r->start);
 1243|    485|    if (lstart == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1243:9): [True: 2, False: 483]
  |  Branch (1243:25): [True: 0, False: 2]
  ------------------
 1244|      0|        PyErr_Clear();
 1245|      0|        goto long_range;
 1246|      0|    }
 1247|    485|    lstop = PyLong_AsLong(r->stop);
 1248|    485|    if (lstop == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1248:9): [True: 42, False: 443]
  |  Branch (1248:24): [True: 2, False: 40]
  ------------------
 1249|      2|        PyErr_Clear();
 1250|      2|        goto long_range;
 1251|      2|    }
 1252|    483|    lstep = PyLong_AsLong(r->step);
 1253|    483|    if (lstep == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1253:9): [True: 40, False: 443]
  |  Branch (1253:24): [True: 0, False: 40]
  ------------------
 1254|      0|        PyErr_Clear();
 1255|      0|        goto long_range;
 1256|      0|    }
 1257|    483|    ulen = get_len_of_range(lstart, lstop, lstep);
 1258|    483|    if (ulen > (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (1258:9): [True: 0, False: 483]
  ------------------
 1259|      0|        goto long_range;
 1260|      0|    }
 1261|       |    /* check for potential overflow of lstart + ulen * lstep */
 1262|    483|    if (ulen) {
  ------------------
  |  Branch (1262:9): [True: 98, False: 385]
  ------------------
 1263|     98|        if (lstep > 0) {
  ------------------
  |  Branch (1263:13): [True: 53, False: 45]
  ------------------
 1264|     53|            if (lstop > LONG_MAX - (lstep - 1))
  ------------------
  |  Branch (1264:17): [True: 0, False: 53]
  ------------------
 1265|      0|                goto long_range;
 1266|     53|        }
 1267|     45|        else {
 1268|     45|            if (lstop < LONG_MIN + (-1 - lstep))
  ------------------
  |  Branch (1268:17): [True: 0, False: 45]
  ------------------
 1269|      0|                goto long_range;
 1270|     45|        }
 1271|     98|    }
 1272|    483|    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|     82|{
  145|     82|    sentinelobject *self = sentinelobject_CAST(op);
  ------------------
  |  |   21|     82|    (assert(PySentinel_Check(op)), _Py_CAST(sentinelobject *, (op)))
  |  |  ------------------
  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (145:28): [True: 82, False: 0]
  ------------------
  146|     82|    Py_VISIT(self->name);
  ------------------
  |  |  194|     82|    do {                                                                \
  |  |  195|     82|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 82, False: 0]
  |  |  ------------------
  |  |  196|     82|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     82|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 82]
  |  |  ------------------
  |  |  198|     82|                return vret;                                            \
  |  |  199|     82|        }                                                               \
  |  |  200|     82|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 82]
  |  |  ------------------
  ------------------
  147|     82|    Py_VISIT(self->module);
  ------------------
  |  |  194|     82|    do {                                                                \
  |  |  195|     82|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 82, False: 0]
  |  |  ------------------
  |  |  196|     82|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     82|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 82]
  |  |  ------------------
  |  |  198|     82|                return vret;                                            \
  |  |  199|     82|        }                                                               \
  |  |  200|     82|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 82]
  |  |  ------------------
  ------------------
  148|     82|    Py_VISIT(self->repr);
  ------------------
  |  |  194|     82|    do {                                                                \
  |  |  195|     82|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 82]
  |  |  ------------------
  |  |  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|     82|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 82]
  |  |  ------------------
  ------------------
  149|     82|    return 0;
  150|     82|}
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|    264|{
  364|    264|    Py_hash_t hash = PyObject_Hash(key);
  365|    264|    if (hash == -1) {
  ------------------
  |  Branch (365:9): [True: 0, False: 264]
  ------------------
  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|    264|    return set_add_entry_takeref(so, key, hash);
  373|    264|}
_PySet_Freeze:
 1570|      3|{
 1571|      3|    assert(set != NULL);
  ------------------
  |  Branch (1571:5): [True: 3, False: 0]
  ------------------
 1572|      3|    assert(PySet_CheckExact(set));
  ------------------
  |  Branch (1572:5): [True: 3, False: 0]
  ------------------
 1573|      3|    assert(_PyObject_IsUniquelyReferenced(set));
  ------------------
  |  Branch (1573:5): [True: 3, False: 0]
  ------------------
 1574|      3|    set->ob_type = &PyFrozenSet_Type;
 1575|      3|    _PyFrozenSet_MaybeUntrack(set);
 1576|      3|    return Py_NewRef(set);
  ------------------
  |  |  647|      3|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1577|      3|}
_PySet_Contains:
 2555|  1.16M|{
 2556|  1.16M|    assert(so);
  ------------------
  |  Branch (2556:5): [True: 1.16M, False: 0]
  ------------------
 2557|       |
 2558|  1.16M|    Py_hash_t hash = PyObject_Hash(key);
 2559|  1.16M|    if (hash == -1) {
  ------------------
  |  Branch (2559:9): [True: 0, False: 1.16M]
  ------------------
 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|  1.16M|    return set_contains_entry(so, key, hash);
 2573|  1.16M|}
PySet_New:
 3033|   787k|{
 3034|   787k|    return make_new_set(&PySet_Type, iterable);
 3035|   787k|}
PyFrozenSet_New:
 3039|  13.3k|{
 3040|  13.3k|    PyObject *result = make_new_set(&PyFrozenSet_Type, iterable);
 3041|  13.3k|    if (result != NULL) {
  ------------------
  |  Branch (3041:9): [True: 13.3k, False: 0]
  ------------------
 3042|  13.3k|        _PyFrozenSet_MaybeUntrack(result);
 3043|  13.3k|    }
 3044|  13.3k|    return result;
 3045|  13.3k|}
PySet_Clear:
 3059|     27|{
 3060|     27|    if (!PySet_Check(set)) {
  ------------------
  |  |   37|     27|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     54|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|     27|    PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (38:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3061|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3062|      0|        return -1;
 3063|      0|    }
 3064|     27|    (void)set_clear(set, NULL);
 3065|     27|    return 0;
 3066|     27|}
PySet_Contains:
 3076|   543k|{
 3077|   543k|    if (!PyAnySet_Check(anyset)) {
  ------------------
  |  |   31|   543k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  1.08M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   543k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   543k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 543k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   543k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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|   543k|      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|   543k|      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|   543k|    PySetObject *so = (PySetObject *)anyset;
 3083|   543k|    Py_hash_t hash = PyObject_Hash(key);
 3084|   543k|    if (hash == -1) {
  ------------------
  |  Branch (3084:9): [True: 0, False: 543k]
  ------------------
 3085|      0|        set_unhashable_type(key);
 3086|      0|        return -1;
 3087|      0|    }
 3088|   543k|    return set_contains_entry(so, key, hash);
 3089|   543k|}
PySet_Discard:
 3093|   350k|{
 3094|   350k|    if (!PySet_Check(set)) {
  ------------------
  |  |   37|   350k|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   701k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   350k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   350k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 350k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|   350k|    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|   350k|    int rv;
 3100|   350k|    Py_BEGIN_CRITICAL_SECTION(set);
  ------------------
  |  |   51|   350k|    {
  ------------------
 3101|   350k|    rv = set_discard_key((PySetObject *)set, key);
 3102|   350k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   350k|    }
  ------------------
 3103|   350k|    return rv;
 3104|   350k|}
PySet_Add:
 3108|   255k|{
 3109|   255k|    if (PySet_Check(anyset)) {
  ------------------
  |  |   37|   255k|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   511k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   255k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   255k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 255k, False: 242]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|   255k|    PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
  |  |  ------------------
  |  |  |  |  213|    242|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    242|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (38:5): [True: 0, False: 242]
  |  |  ------------------
  ------------------
 3110|   255k|        int rv;
 3111|   255k|        Py_BEGIN_CRITICAL_SECTION(anyset);
  ------------------
  |  |   51|   255k|    {
  ------------------
 3112|   255k|        rv = set_add_key((PySetObject *)anyset, key);
 3113|   255k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   255k|    }
  ------------------
 3114|   255k|        return rv;
 3115|   255k|    }
 3116|       |
 3117|    242|    if (PyFrozenSet_Check(anyset) && _PyObject_IsUniquelyReferenced(anyset)) {
  ------------------
  |  |   25|    484|    (Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    484|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    242|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 242, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   26|    484|      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: 242, 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|    242|        if (PyFrozenSet_CheckExact(anyset) && !PyObject_GC_IsTracked(anyset) && PyObject_GC_IsTracked(key)) {
  ------------------
  |  |   23|    242|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|    484|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    242|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 242, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3124:47): [True: 242, False: 0]
  |  Branch (3124:81): [True: 0, False: 242]
  ------------------
 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|    242|        return set_add_key((PySetObject *)anyset, key);
 3128|    242|    }
 3129|       |
 3130|      0|    PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3131|      0|    return -1;
 3132|    242|}
_PySet_NextEntry:
 3136|  61.0k|{
 3137|  61.0k|    setentry *entry;
 3138|       |
 3139|  61.0k|    if (!PyAnySet_Check(set)) {
  ------------------
  |  |   31|  61.0k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   122k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  61.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  61.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 61.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   122k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  61.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  61.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 61.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  61.0k|      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.0k|      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|  61.0k|    if (set_next((PySetObject *)set, pos, &entry) == 0)
  ------------------
  |  Branch (3143:9): [True: 8.48k, False: 52.5k]
  ------------------
 3144|  8.48k|        return 0;
 3145|  52.5k|    *key = entry->key;
 3146|  52.5k|    *hash = entry->hash;
 3147|  52.5k|    return 1;
 3148|  61.0k|}
_PySet_NextEntryRef:
 3152|   160k|{
 3153|   160k|    setentry *entry;
 3154|       |
 3155|   160k|    if (!PyAnySet_Check(set)) {
  ------------------
  |  |   31|   160k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   320k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   160k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   160k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 160k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   160k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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|   160k|      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|   160k|      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]
  |  |  ------------------
  ------------------
 3156|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3157|      0|        return -1;
 3158|      0|    }
 3159|   160k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(set);
 3160|   160k|    if (set_next((PySetObject *)set, pos, &entry) == 0)
  ------------------
  |  Branch (3160:9): [True: 22.2k, False: 138k]
  ------------------
 3161|  22.2k|        return 0;
 3162|   138k|    *key = Py_NewRef(entry->key);
  ------------------
  |  |  647|   138k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   138k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   138k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3163|   138k|    *hash = entry->hash;
 3164|   138k|    return 1;
 3165|   160k|}
setobject.c:set_add_entry_takeref:
  254|   899k|{
  255|   899k|    setentry *table;
  256|   899k|    setentry *freeslot;
  257|   899k|    setentry *entry;
  258|   899k|    size_t perturb;
  259|   899k|    size_t mask;
  260|   899k|    size_t i;                       /* Unsigned for defined overflow behavior */
  261|   899k|    int probes;
  262|   899k|    int cmp;
  263|       |
  264|   899k|  restart:
  265|       |
  266|   899k|    mask = so->mask;
  267|   899k|    i = (size_t)hash & mask;
  268|   899k|    freeslot = NULL;
  269|   899k|    perturb = hash;
  270|       |
  271|  1.12M|    while (1) {
  ------------------
  |  Branch (271:12): [True: 1.12M, Folded]
  ------------------
  272|  1.12M|        entry = &so->table[i];
  273|  1.12M|        probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|  1.12M|#define LINEAR_PROBES 9
  ------------------
                      probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|   454k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (273:18): [True: 454k, False: 673k]
  ------------------
  274|  1.25M|        do {
  275|  1.25M|            if (entry->hash == 0 && entry->key == NULL)
  ------------------
  |  Branch (275:17): [True: 827k, False: 428k]
  |  Branch (275:37): [True: 817k, False: 10.5k]
  ------------------
  276|   817k|                goto found_unused_or_dummy;
  277|   438k|            if (entry->hash == hash) {
  ------------------
  |  Branch (277:17): [True: 170k, False: 268k]
  ------------------
  278|   170k|                PyObject *startkey = entry->key;
  279|   170k|                assert(startkey != dummy);
  ------------------
  |  Branch (279:17): [True: 170k, False: 0]
  ------------------
  280|   170k|                if (startkey == key)
  ------------------
  |  Branch (280:21): [True: 44.4k, False: 125k]
  ------------------
  281|  44.4k|                    goto found_active;
  282|   125k|                if (PyUnicode_CheckExact(startkey)
  ------------------
  |  |  104|   125k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   251k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   125k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   125k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 36.5k, False: 89.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  283|   125k|                    && PyUnicode_CheckExact(key)
  ------------------
  |  |  104|  36.5k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   162k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  36.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  36.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 36.5k, False: 41]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  284|  36.5k|                    && unicode_eq(startkey, key))
  ------------------
  |  Branch (284:24): [True: 36.5k, False: 1]
  ------------------
  285|  36.5k|                    goto found_active;
  286|  89.3k|                table = so->table;
  287|  89.3k|                Py_INCREF(startkey);
  ------------------
  |  |  310|  89.3k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  89.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  89.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  288|  89.3k|                cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|  89.3k|#define Py_EQ 2
  ------------------
  289|  89.3k|                Py_DECREF(startkey);
  ------------------
  |  |  430|  89.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  89.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  89.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  290|  89.3k|                if (cmp > 0)
  ------------------
  |  Branch (290:21): [True: 879, False: 88.4k]
  ------------------
  291|    879|                    goto found_active;
  292|  88.4k|                if (cmp < 0)
  ------------------
  |  Branch (292:21): [True: 0, False: 88.4k]
  ------------------
  293|      0|                    goto comparison_error;
  294|  88.4k|                if (table != so->table || entry->key != startkey)
  ------------------
  |  Branch (294:21): [True: 0, False: 88.4k]
  |  Branch (294:43): [True: 0, False: 88.4k]
  ------------------
  295|      0|                    goto restart;
  296|  88.4k|                mask = so->mask;
  297|  88.4k|            }
  298|   268k|            else if (entry->hash == -1) {
  ------------------
  |  Branch (298:22): [True: 193, False: 268k]
  ------------------
  299|    193|                assert (entry->key == dummy);
  ------------------
  |  Branch (299:17): [True: 193, False: 0]
  ------------------
  300|    193|                freeslot = entry;
  301|    193|            }
  302|   356k|            entry++;
  303|   356k|        } while (probes--);
  ------------------
  |  Branch (303:18): [True: 127k, False: 229k]
  ------------------
  304|   229k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|   229k|#define PERTURB_SHIFT 5
  ------------------
  305|   229k|        i = (i * 5 + 1 + perturb) & mask;
  306|   229k|    }
  307|       |
  308|   817k|  found_unused_or_dummy:
  309|   817k|    if (freeslot == NULL)
  ------------------
  |  Branch (309:9): [True: 817k, False: 157]
  ------------------
  310|   817k|        goto found_unused;
  311|    157|    if (freeslot->hash != -1) {
  ------------------
  |  Branch (311:9): [True: 0, False: 157]
  ------------------
  312|      0|        goto restart;
  313|      0|    }
  314|    157|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used + 1);
  ------------------
  |  |  197|    157|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  315|    157|    FT_ATOMIC_STORE_SSIZE_RELAXED(freeslot->hash, hash);
  ------------------
  |  |  197|    157|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  316|    157|    FT_ATOMIC_STORE_PTR_RELEASE(freeslot->key, key);
  ------------------
  |  |  166|    157|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  317|    157|    return 0;
  318|       |
  319|   817k|  found_unused:
  320|   817k|    so->fill++;
  321|   817k|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used + 1);
  ------------------
  |  |  197|   817k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  322|   817k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, hash);
  ------------------
  |  |  197|   817k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  323|   817k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, key);
  ------------------
  |  |  166|   817k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  324|   817k|    if ((size_t)so->fill*5 < mask*3)
  ------------------
  |  Branch (324:9): [True: 790k, False: 26.8k]
  ------------------
  325|   790k|        return 0;
  326|  26.8k|    return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4);
  ------------------
  |  Branch (326:33): [True: 0, False: 26.8k]
  ------------------
  327|       |
  328|  81.8k|  found_active:
  329|  81.8k|    Py_DECREF(key);
  ------------------
  |  |  430|  81.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  81.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  81.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  330|  81.8k|    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|   817k|}
setobject.c:set_table_resize:
  485|  76.6k|{
  486|  76.6k|    setentry *oldtable, *newtable, *entry;
  487|  76.6k|    Py_ssize_t oldmask = so->mask;
  488|  76.6k|    Py_ssize_t oldsize = (size_t)oldmask + 1;
  489|  76.6k|    size_t newmask;
  490|  76.6k|    int is_oldtable_malloced;
  491|  76.6k|    setentry small_copy[PySet_MINSIZE];
  492|       |
  493|  76.6k|    assert(minused >= 0);
  ------------------
  |  Branch (493:5): [True: 76.6k, False: 0]
  ------------------
  494|       |
  495|       |    /* Find the smallest table size > minused. */
  496|       |    /* XXX speed-up with intrinsics */
  497|  76.6k|    size_t newsize = PySet_MINSIZE;
  ------------------
  |  |   18|  76.6k|#define PySet_MINSIZE 8
  ------------------
  498|   250k|    while (newsize <= (size_t)minused) {
  ------------------
  |  Branch (498:12): [True: 173k, False: 76.6k]
  ------------------
  499|   173k|        newsize <<= 1; // The largest possible value is PY_SSIZE_T_MAX + 1.
  500|   173k|    }
  501|       |
  502|       |    /* Get space for a new table. */
  503|  76.6k|    oldtable = so->table;
  504|  76.6k|    assert(oldtable != NULL);
  ------------------
  |  Branch (504:5): [True: 76.6k, False: 0]
  ------------------
  505|  76.6k|    is_oldtable_malloced = oldtable != so->smalltable;
  506|       |
  507|  76.6k|    if (newsize == PySet_MINSIZE) {
  ------------------
  |  |   18|  76.6k|#define PySet_MINSIZE 8
  ------------------
  |  Branch (507:9): [True: 149, False: 76.4k]
  ------------------
  508|       |        /* A large table is shrinking, or we can't get any smaller. */
  509|    149|        newtable = so->smalltable;
  510|    149|        if (newtable == oldtable) {
  ------------------
  |  Branch (510:13): [True: 149, False: 0]
  ------------------
  511|    149|            if (so->fill == so->used) {
  ------------------
  |  Branch (511:17): [True: 0, False: 149]
  ------------------
  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|    149|            assert(so->fill > so->used);
  ------------------
  |  Branch (521:13): [True: 149, False: 0]
  ------------------
  522|    149|            memcpy(small_copy, oldtable, sizeof(small_copy));
  523|    149|            oldtable = small_copy;
  524|    149|        }
  525|    149|    }
  526|  76.4k|    else {
  527|  76.4k|        newtable = PyMem_NEW(setentry, newsize);
  ------------------
  |  |   82|  76.4k|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|  76.4k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  76.4k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 76.4k]
  |  |  |  |  ------------------
  |  |  |  |   65|  76.4k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
  528|  76.4k|        if (newtable == NULL) {
  ------------------
  |  Branch (528:13): [True: 0, False: 76.4k]
  ------------------
  529|      0|            PyErr_NoMemory();
  530|      0|            return -1;
  531|      0|        }
  532|  76.4k|    }
  533|       |
  534|       |    /* Make the set empty, using the new table. */
  535|  76.6k|    assert(newtable != oldtable);
  ------------------
  |  Branch (535:5): [True: 76.6k, False: 0]
  ------------------
  536|  76.6k|    set_zero_table(newtable, newsize);
  537|  76.6k|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, NULL);
  ------------------
  |  |  166|  76.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  538|  76.6k|    FT_ATOMIC_STORE_SSIZE_RELEASE(so->mask, newsize - 1);
  ------------------
  |  |  171|  76.6k|#define FT_ATOMIC_STORE_SSIZE_RELEASE(value, new_value) value = new_value
  ------------------
  539|       |
  540|       |    /* Copy the data over; this is refcount-neutral for active entries;
  541|       |       dummy entries aren't copied over, of course */
  542|  76.6k|    newmask = (size_t)so->mask;
  543|  76.6k|    if (so->fill == so->used) {
  ------------------
  |  Branch (543:9): [True: 76.4k, False: 207]
  ------------------
  544|   774k|        for (entry = oldtable; entry <= oldtable + oldmask; entry++) {
  ------------------
  |  Branch (544:32): [True: 698k, False: 76.4k]
  ------------------
  545|   698k|            if (entry->key != NULL) {
  ------------------
  |  Branch (545:17): [True: 217k, False: 481k]
  ------------------
  546|   217k|                set_insert_clean(newtable, newmask, entry->key, entry->hash);
  547|   217k|            }
  548|   698k|        }
  549|  76.4k|    } else {
  550|    207|        so->fill = so->used;
  551|  1.86k|        for (entry = oldtable; entry <= oldtable + oldmask; entry++) {
  ------------------
  |  Branch (551:32): [True: 1.65k, False: 207]
  ------------------
  552|  1.65k|            if (entry->key != NULL && entry->key != dummy) {
  ------------------
  |  |   64|    670|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (552:17): [True: 670, False: 986]
  |  Branch (552:39): [True: 159, False: 511]
  ------------------
  553|    159|                set_insert_clean(newtable, newmask, entry->key, entry->hash);
  554|    159|            }
  555|  1.65k|        }
  556|    207|    }
  557|       |
  558|  76.6k|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, newtable);
  ------------------
  |  |  166|  76.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  559|       |
  560|  76.6k|    if (is_oldtable_malloced)
  ------------------
  |  Branch (560:9): [True: 4.15k, False: 72.4k]
  ------------------
  561|  4.15k|        free_entries(oldtable, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|  4.15k|#define SET_IS_SHARED(so) 0
  ------------------
  562|  76.6k|    return 0;
  563|  76.6k|}
setobject.c:set_zero_table:
  197|  76.6k|{
  198|       |#ifdef Py_GIL_DISABLED
  199|       |    for (size_t i = 0; i < size; i++) {
  200|       |        setentry *entry = &table[i];
  201|       |        FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, 0);
  202|       |        FT_ATOMIC_STORE_PTR_RELEASE(entry->key, NULL);
  203|       |    }
  204|       |#else
  205|  76.6k|    memset(table, 0, sizeof(setentry)*size);
  206|  76.6k|#endif
  207|  76.6k|}
setobject.c:set_insert_clean:
  385|   282k|{
  386|   282k|    setentry *entry;
  387|   282k|    size_t perturb = hash;
  388|   282k|    size_t i = (size_t)hash & mask;
  389|   282k|    size_t j;
  390|       |
  391|   318k|    while (1) {
  ------------------
  |  Branch (391:12): [True: 318k, Folded]
  ------------------
  392|   318k|        entry = &table[i];
  393|   318k|        if (entry->key == NULL)
  ------------------
  |  Branch (393:13): [True: 261k, False: 56.3k]
  ------------------
  394|   261k|            goto found_null;
  395|  56.3k|        if (i + LINEAR_PROBES <= mask) {
  ------------------
  |  |  214|  56.3k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (395:13): [True: 20.9k, False: 35.3k]
  ------------------
  396|  28.4k|            for (j = 0; j < LINEAR_PROBES; j++) {
  ------------------
  |  |  214|  28.4k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (396:25): [True: 28.4k, False: 34]
  ------------------
  397|  28.4k|                entry++;
  398|  28.4k|                if (entry->key == NULL)
  ------------------
  |  Branch (398:21): [True: 20.9k, False: 7.47k]
  ------------------
  399|  20.9k|                    goto found_null;
  400|  28.4k|            }
  401|  20.9k|        }
  402|  35.4k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|  35.4k|#define PERTURB_SHIFT 5
  ------------------
  403|  35.4k|        i = (i * 5 + 1 + perturb) & mask;
  404|  35.4k|    }
  405|   282k|  found_null:
  406|   282k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, hash);
  ------------------
  |  |  197|   282k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  407|   282k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, key);
  ------------------
  |  |  166|   282k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  408|   282k|}
setobject.c:free_entries:
  468|  76.4k|{
  469|       |#ifdef Py_GIL_DISABLED
  470|       |    if (use_qsbr) {
  471|       |        _PyMem_FreeDelayed(entries, size * sizeof(setentry));
  472|       |        return;
  473|       |    }
  474|       |#endif
  475|  76.4k|    PyMem_Free(entries);
  476|  76.4k|}
setobject.c:setiter_dealloc:
 1038|  79.5k|{
 1039|  79.5k|    setiterobject *si = (setiterobject*)self;
 1040|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 1041|  79.5k|    _PyObject_GC_UNTRACK(si);
  ------------------
  |  |  504|  79.5k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1042|  79.5k|    Py_XDECREF(si->si_set);
  ------------------
  |  |  621|  79.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1043|  79.5k|    PyObject_GC_Del(si);
 1044|  79.5k|}
setobject.c:setiter_iternext:
 1093|   120k|{
 1094|   120k|    setiterobject *si = (setiterobject*)self;
 1095|   120k|    PyObject *key = NULL;
 1096|   120k|    Py_ssize_t i, mask;
 1097|   120k|    setentry *entry;
 1098|   120k|    PySetObject *so = si->si_set;
 1099|       |
 1100|   120k|    if (so == NULL)
  ------------------
  |  Branch (1100:9): [True: 0, False: 120k]
  ------------------
 1101|      0|        return NULL;
 1102|   120k|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (1102:5): [True: 91.1k, False: 29.1k]
  |  Branch (1102:5): [True: 29.1k, False: 0]
  |  Branch (1102:5): [True: 0, False: 0]
  |  Branch (1102:5): [True: 0, False: 0]
  ------------------
 1103|       |
 1104|   120k|    Py_ssize_t so_used = FT_ATOMIC_LOAD_SSIZE_RELAXED(so->used);
  ------------------
  |  |  151|   120k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1105|   120k|    Py_ssize_t si_used = FT_ATOMIC_LOAD_SSIZE_RELAXED(si->si_used);
  ------------------
  |  |  151|   120k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1106|   120k|    if (si_used != so_used) {
  ------------------
  |  Branch (1106:9): [True: 0, False: 120k]
  ------------------
 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|   120k|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|   120k|    {
  ------------------
 1114|   120k|    i = si->si_pos;
 1115|   120k|    assert(i>=0);
  ------------------
  |  Branch (1115:5): [True: 120k, False: 0]
  ------------------
 1116|   120k|    entry = so->table;
 1117|   120k|    mask = so->mask;
 1118|   777k|    while (i <= mask && (entry[i].key == NULL || entry[i].key == dummy)) {
  ------------------
  |  |   64|  52.1k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (1118:12): [True: 697k, False: 79.5k]
  |  Branch (1118:26): [True: 645k, False: 52.1k]
  |  Branch (1118:50): [True: 11.4k, False: 40.7k]
  ------------------
 1119|   656k|        i++;
 1120|   656k|    }
 1121|   120k|    if (i <= mask) {
  ------------------
  |  Branch (1121:9): [True: 40.7k, False: 79.5k]
  ------------------
 1122|  40.7k|        key = Py_NewRef(entry[i].key);
  ------------------
  |  |  647|  40.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  40.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1123|  40.7k|    }
 1124|   120k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   120k|    }
  ------------------
 1125|   120k|    si->si_pos = i+1;
 1126|   120k|    if (key == NULL) {
  ------------------
  |  Branch (1126:9): [True: 79.5k, False: 40.7k]
  ------------------
 1127|  79.5k|        si->si_set = NULL;
 1128|  79.5k|        Py_DECREF(so);
  ------------------
  |  |  430|  79.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1129|  79.5k|        return NULL;
 1130|  79.5k|    }
 1131|  40.7k|    si->len--;
 1132|  40.7k|    return key;
 1133|   120k|}
setobject.c:_PyFrozenSet_MaybeUntrack:
 1411|  13.3k|{
 1412|  13.3k|    assert(op != NULL);
  ------------------
  |  Branch (1412:5): [True: 13.3k, False: 0]
  ------------------
 1413|       |    // subclasses of a frozenset can generate reference cycles, so do not untrack
 1414|  13.3k|    if (!PyFrozenSet_CheckExact(op)) {
  ------------------
  |  |   23|  13.3k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  13.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1414:9): [True: 0, False: 13.3k]
  ------------------
 1415|      0|        return;
 1416|      0|    }
 1417|       |    // if no elements of a frozenset are tracked by the GC, we untrack the object
 1418|  13.3k|    Py_ssize_t pos = 0;
 1419|  13.3k|    setentry *entry;
 1420|  68.8k|    while (set_next((PySetObject *)op, &pos, &entry)) {
  ------------------
  |  Branch (1420:12): [True: 61.9k, False: 6.92k]
  ------------------
 1421|  61.9k|        if (_PyObject_GC_MAY_BE_TRACKED(entry->key)) {
  ------------------
  |  Branch (1421:13): [True: 6.44k, False: 55.4k]
  ------------------
 1422|  6.44k|            return;
 1423|  6.44k|        }
 1424|  61.9k|    }
 1425|  6.92k|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  504|  6.92k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1426|  6.92k|}
setobject.c:frozenset_hash_impl:
  971|  13.1k|{
  972|  13.1k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  13.1k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  13.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (972:23): [True: 0, False: 13.1k]
  |  Branch (972:23): [True: 13.1k, False: 0]
  |  Branch (972:23): [True: 0, False: 0]
  |  Branch (972:23): [True: 0, False: 0]
  ------------------
  973|      0|    Py_uhash_t hash = 0;
  974|  13.1k|    setentry *entry;
  975|       |
  976|       |    /* Xor-in shuffled bits from every entry's hash field because xor is
  977|       |       commutative and a frozenset hash should be independent of order.
  978|       |
  979|       |       For speed, include null entries and dummy entries and then
  980|       |       subtract out their effect afterwards so that the final hash
  981|       |       depends only on active entries.  This allows the code to be
  982|       |       vectorized by the compiler and it saves the unpredictable
  983|       |       branches that would arise when trying to exclude null and dummy
  984|       |       entries on every iteration. */
  985|       |
  986|   305k|    for (entry = so->table; entry <= &so->table[so->mask]; entry++)
  ------------------
  |  Branch (986:29): [True: 292k, False: 13.1k]
  ------------------
  987|   292k|        hash ^= _shuffle_bits(entry->hash);
  988|       |
  989|       |    /* Remove the effect of an odd number of NULL entries */
  990|  13.1k|    if ((so->mask + 1 - so->fill) & 1)
  ------------------
  |  Branch (990:9): [True: 6.83k, False: 6.33k]
  ------------------
  991|  6.83k|        hash ^= _shuffle_bits(0);
  992|       |
  993|       |    /* Remove the effect of an odd number of dummy entries */
  994|  13.1k|    if ((so->fill - so->used) & 1)
  ------------------
  |  Branch (994:9): [True: 0, False: 13.1k]
  ------------------
  995|      0|        hash ^= _shuffle_bits(-1);
  996|       |
  997|       |    /* Factor in the number of active entries */
  998|  13.1k|    hash ^= ((Py_uhash_t)PySet_GET_SIZE(self) + 1) * 1927868237UL;
  ------------------
  |  |   71|  13.1k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  13.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  999|       |
 1000|       |    /* Disperse patterns arising in nested frozensets */
 1001|  13.1k|    hash ^= (hash >> 11) ^ (hash >> 25);
 1002|  13.1k|    hash = hash * 69069U + 907133923UL;
 1003|       |
 1004|       |    /* -1 is reserved as an error code */
 1005|  13.1k|    if (hash == (Py_uhash_t)-1)
  ------------------
  |  Branch (1005:9): [True: 0, False: 13.1k]
  ------------------
 1006|      0|        hash = 590923713UL;
 1007|       |
 1008|  13.1k|    return (Py_hash_t)hash;
 1009|  13.1k|}
setobject.c:_shuffle_bits:
  952|   299k|{
  953|   299k|    return ((h ^ 89869747UL) ^ (h << 16)) * 3644798167UL;
  954|   299k|}
setobject.c:set_contains_entry:
  567|  1.75M|{
  568|       |#ifdef Py_GIL_DISABLED
  569|       |    return set_lookkey_threadsafe(so, key, hash);
  570|       |#else
  571|  1.75M|    setentry *entry; // unused
  572|  1.75M|    return set_lookkey(so, key, hash, &entry);
  573|  1.75M|#endif
  574|  1.75M|}
setobject.c:set_lookkey:
  415|  2.10M|{
  416|  2.10M|    int status;
  417|  2.10M|    if (PyFrozenSet_CheckExact(so)) {
  ------------------
  |  |   23|  2.10M|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  2.10M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 43.3k, False: 2.06M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  418|  43.3k|        status = set_do_lookup(so, so->table, so->mask, key, hash, epp,
  419|  43.3k|                               set_compare_frozenset);
  420|  43.3k|    }
  421|  2.06M|    else {
  422|  2.06M|        Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  2.06M|    {
  ------------------
  423|  2.06M|        do {
  424|  2.06M|            status = set_do_lookup(so, so->table, so->mask, key, hash, epp,
  425|  2.06M|                                   set_compare_entry_lock_held);
  426|  2.06M|        } while (status == SET_LOOKKEY_CHANGED);
  ------------------
  |  |   69|  2.06M|#define SET_LOOKKEY_CHANGED (-2)
  ------------------
  |  Branch (426:18): [True: 0, False: 2.06M]
  ------------------
  427|  2.06M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.06M|    }
  ------------------
  428|  2.06M|    }
  429|  2.10M|    assert(status == SET_LOOKKEY_FOUND ||
  ------------------
  |  Branch (429:5): [True: 119k, False: 1.98M]
  |  Branch (429:5): [True: 1.98M, False: 0]
  |  Branch (429:5): [True: 0, False: 0]
  ------------------
  430|  2.10M|           status == SET_LOOKKEY_NO_MATCH ||
  431|  2.10M|           status == SET_LOOKKEY_ERROR);
  432|  2.10M|    return status;
  433|  2.10M|}
setobject.c:set_do_lookup:
  223|  2.10M|{
  224|  2.10M|    setentry *entry;
  225|  2.10M|    size_t perturb = hash;
  226|  2.10M|    size_t i = (size_t)hash & mask; /* Unsigned for defined overflow behavior */
  227|  2.10M|    int probes;
  228|  2.10M|    int status;
  229|       |
  230|  2.42M|    while (1) {
  ------------------
  |  Branch (230:12): [True: 2.42M, Folded]
  ------------------
  231|  2.42M|        entry = &table[i];
  232|  2.42M|        probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|  2.42M|#define LINEAR_PROBES 9
  ------------------
                      probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|  1.17M|#define LINEAR_PROBES 9
  ------------------
  |  Branch (232:18): [True: 1.17M, False: 1.25M]
  ------------------
  233|  4.15M|        do {
  234|  4.15M|            status = compare_entry(so, table, entry, key, hash);
  235|  4.15M|            if (status != SET_LOOKKEY_NO_MATCH) {
  ------------------
  |  |   67|  4.15M|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  |  Branch (235:17): [True: 2.10M, False: 2.05M]
  ------------------
  236|  2.10M|                if (status == SET_LOOKKEY_EMPTY) {
  ------------------
  |  |   70|  2.10M|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  |  Branch (236:21): [True: 1.98M, False: 119k]
  ------------------
  237|  1.98M|                    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|  1.98M|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  238|  1.98M|                }
  239|   119k|                *epp = entry;
  240|   119k|                return status;
  241|  2.10M|            }
  242|  2.05M|            entry++;
  243|  2.05M|        } while (probes--);
  ------------------
  |  Branch (243:18): [True: 1.73M, False: 321k]
  ------------------
  244|   321k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|   321k|#define PERTURB_SHIFT 5
  ------------------
  245|   321k|        i = (i * 5 + 1 + perturb) & mask;
  246|   321k|    }
  247|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  248|  2.10M|}
setobject.c:set_compare_frozenset:
  174|   117k|{
  175|   117k|    assert(PyFrozenSet_Check(so));
  ------------------
  |  Branch (175:5): [True: 117k, False: 0]
  |  Branch (175:5): [True: 0, False: 0]
  ------------------
  176|   117k|    PyObject *startkey = ep->key;
  177|   117k|    if (startkey == NULL) {
  ------------------
  |  Branch (177:9): [True: 331, False: 117k]
  ------------------
  178|    331|        return SET_LOOKKEY_EMPTY;
  ------------------
  |  |   70|    331|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  179|    331|    }
  180|   117k|    if (startkey == key) {
  ------------------
  |  Branch (180:9): [True: 36.9k, False: 80.1k]
  ------------------
  181|  36.9k|        return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|  36.9k|#define SET_LOOKKEY_FOUND 1
  ------------------
  182|  36.9k|    }
  183|  80.1k|    Py_ssize_t ep_hash = ep->hash;
  184|  80.1k|    if (ep_hash == hash) {
  ------------------
  |  Branch (184:9): [True: 63.3k, False: 16.7k]
  ------------------
  185|  63.3k|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|  63.3k|#define Py_EQ 2
  ------------------
  186|  63.3k|        if (cmp < 0) {
  ------------------
  |  Branch (186:13): [True: 0, False: 63.3k]
  ------------------
  187|      0|            return SET_LOOKKEY_ERROR;
  ------------------
  |  |   68|      0|#define SET_LOOKKEY_ERROR (-1)
  ------------------
  188|      0|        }
  189|  63.3k|        assert(cmp == SET_LOOKKEY_FOUND || cmp == SET_LOOKKEY_NO_MATCH);
  ------------------
  |  Branch (189:9): [True: 6.02k, False: 57.3k]
  |  Branch (189:9): [True: 57.3k, False: 0]
  ------------------
  190|  63.3k|        return cmp;
  191|  63.3k|    }
  192|  16.7k|    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|  16.7k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  193|  80.1k|}
setobject.c:set_compare_entry_lock_held:
  140|  4.04M|{
  141|  4.04M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  142|  4.04M|    if (entry->hash == 0 && entry->key == NULL)
  ------------------
  |  Branch (142:9): [True: 1.98M, False: 2.05M]
  |  Branch (142:29): [True: 1.98M, False: 24]
  ------------------
  143|  1.98M|        return SET_LOOKKEY_EMPTY;
  ------------------
  |  |   70|  1.98M|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  144|  2.05M|    if (entry->hash == hash) {
  ------------------
  |  Branch (144:9): [True: 76.8k, False: 1.98M]
  ------------------
  145|  76.8k|        PyObject *startkey = entry->key;
  146|  76.8k|        assert(startkey != dummy);
  ------------------
  |  Branch (146:9): [True: 76.8k, False: 0]
  ------------------
  147|  76.8k|        if (startkey == key)
  ------------------
  |  Branch (147:13): [True: 75.4k, False: 1.36k]
  ------------------
  148|  75.4k|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|  75.4k|#define SET_LOOKKEY_FOUND 1
  ------------------
  149|  1.36k|        if (PyUnicode_CheckExact(startkey)
  ------------------
  |  |  104|  1.36k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.72k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.26k, False: 99]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  150|  1.36k|            && PyUnicode_CheckExact(key)
  ------------------
  |  |  104|  1.26k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.62k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.26k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  151|  1.26k|            && unicode_eq(startkey, key))
  ------------------
  |  Branch (151:16): [True: 1.26k, False: 0]
  ------------------
  152|  1.26k|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|  1.26k|#define SET_LOOKKEY_FOUND 1
  ------------------
  153|     99|        table = so->table;
  154|     99|        Py_INCREF(startkey);
  ------------------
  |  |  310|     99|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     99|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     99|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  155|     99|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|     99|#define Py_EQ 2
  ------------------
  156|     99|        Py_DECREF(startkey);
  ------------------
  |  |  430|     99|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     99|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     99|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|     99|        if (cmp < 0)
  ------------------
  |  Branch (157:13): [True: 0, False: 99]
  ------------------
  158|      0|            return SET_LOOKKEY_ERROR;
  ------------------
  |  |   68|      0|#define SET_LOOKKEY_ERROR (-1)
  ------------------
  159|     99|        if (table != so->table || entry->key != startkey)
  ------------------
  |  Branch (159:13): [True: 0, False: 99]
  |  Branch (159:35): [True: 0, False: 99]
  ------------------
  160|      0|            return SET_LOOKKEY_CHANGED;
  ------------------
  |  |   69|      0|#define SET_LOOKKEY_CHANGED (-2)
  ------------------
  161|     99|        if (cmp > 0)
  ------------------
  |  Branch (161:13): [True: 98, False: 1]
  ------------------
  162|     98|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|     98|#define SET_LOOKKEY_FOUND 1
  ------------------
  163|     99|    }
  164|  1.98M|    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|  1.98M|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  165|  2.05M|}
setobject.c:set_dealloc:
  735|   816k|{
  736|   816k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|   816k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|   816k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (736:23): [True: 803k, False: 13.2k]
  |  Branch (736:23): [True: 13.2k, False: 0]
  |  Branch (736:23): [True: 0, False: 0]
  |  Branch (736:23): [True: 0, False: 0]
  ------------------
  737|      0|    setentry *entry;
  738|   816k|    Py_ssize_t used = so->used;
  739|   816k|    Py_ssize_t oldsize = (size_t)so->mask + 1;
  740|       |
  741|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
  742|   816k|    PyObject_GC_UnTrack(so);
  743|   816k|    FT_CLEAR_WEAKREFS(self, so->weakreflist);
  ------------------
  |  |   47|   816k|    do {                                            \
  |  |   48|   816k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|   816k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 816k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|   816k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 816k]
  |  |  ------------------
  ------------------
  |  Branch (743:5): [True: 816k, False: 0]
  ------------------
  744|       |
  745|  5.52M|    for (entry = so->table; used > 0; entry++) {
  ------------------
  |  Branch (745:29): [True: 4.70M, False: 816k]
  ------------------
  746|  4.70M|        if (entry->key && entry->key != dummy) {
  ------------------
  |  |   64|  1.51M|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (746:13): [True: 1.51M, False: 3.19M]
  |  Branch (746:27): [True: 1.51M, False: 396]
  ------------------
  747|  1.51M|                used--;
  748|  1.51M|                Py_DECREF(entry->key);
  ------------------
  |  |  430|  1.51M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  749|  1.51M|        }
  750|  4.70M|    }
  751|   816k|    if (so->table != so->smalltable)
  ------------------
  |  Branch (751:9): [True: 72.2k, False: 744k]
  ------------------
  752|  72.2k|        free_entries(so->table, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|  72.2k|#define SET_IS_SHARED(so) 0
  ------------------
  753|   816k|    Py_TYPE(so)->tp_free(so);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  754|   816k|}
setobject.c:set_copy_untracked_lock_held:
 1581|    298|{
 1582|    298|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1583|    298|    PyObject *copy = make_new_set_basetype_untracked(Py_TYPE(so), NULL);
  ------------------
  |  |  213|    298|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    298|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    298|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1584|    298|    if (copy == NULL) {
  ------------------
  |  Branch (1584:9): [True: 0, False: 298]
  ------------------
 1585|      0|        return NULL;
 1586|      0|    }
 1587|    298|    if (set_merge_lock_held((PySetObject *)copy, (PyObject *)so) < 0) {
  ------------------
  |  Branch (1587:9): [True: 0, False: 298]
  ------------------
 1588|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1589|      0|        return NULL;
 1590|      0|    }
 1591|    298|    return copy;
 1592|    298|}
setobject.c:set_merge_lock_held:
  827|   578k|{
  828|   578k|    PySetObject *other;
  829|   578k|    PyObject *key;
  830|   578k|    Py_ssize_t i;
  831|   578k|    setentry *so_entry;
  832|   578k|    setentry *other_entry;
  833|       |
  834|   578k|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (834:5): [True: 578k, False: 72]
  |  Branch (834:5): [True: 72, False: 0]
  |  Branch (834:5): [True: 0, False: 0]
  |  Branch (834:5): [True: 0, False: 0]
  ------------------
  835|   578k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  836|   578k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(otherset);
  837|       |
  838|   578k|    other = _PySet_CAST(otherset);
  ------------------
  |  |   62|   578k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|   578k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (838:13): [True: 578k, False: 0]
  |  Branch (838:13): [True: 0, False: 0]
  |  Branch (838:13): [True: 0, False: 0]
  |  Branch (838:13): [True: 0, False: 0]
  ------------------
  839|   578k|    if (other == so || other->used == 0)
  ------------------
  |  Branch (839:9): [True: 0, False: 578k]
  |  Branch (839:24): [True: 409k, False: 169k]
  ------------------
  840|       |        /* a.update(a) or a.update(set()); nothing to do */
  841|   409k|        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|   169k|    if ((so->fill + other->used)*5 >= so->mask*3) {
  ------------------
  |  Branch (846:9): [True: 49.6k, False: 119k]
  ------------------
  847|  49.6k|        if (set_table_resize(so, (so->used + other->used)*2) != 0)
  ------------------
  |  Branch (847:13): [True: 0, False: 49.6k]
  ------------------
  848|      0|            return -1;
  849|  49.6k|    }
  850|   169k|    so_entry = so->table;
  851|   169k|    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|   169k|    if (so->fill == 0 && so->mask == other->mask && other->fill == other->used) {
  ------------------
  |  Branch (855:9): [True: 134k, False: 35.2k]
  |  Branch (855:26): [True: 127k, False: 6.29k]
  |  Branch (855:53): [True: 127k, False: 679]
  ------------------
  856|  2.39M|        for (i = 0; i <= other->mask; i++, so_entry++, other_entry++) {
  ------------------
  |  Branch (856:21): [True: 2.26M, False: 127k]
  ------------------
  857|  2.26M|            key = other_entry->key;
  858|  2.26M|            if (key != NULL) {
  ------------------
  |  Branch (858:17): [True: 649k, False: 1.61M]
  ------------------
  859|   649k|                assert(so_entry->key == NULL);
  ------------------
  |  Branch (859:17): [True: 649k, False: 0]
  ------------------
  860|   649k|                FT_ATOMIC_STORE_SSIZE_RELAXED(so_entry->hash, other_entry->hash);
  ------------------
  |  |  197|   649k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  861|   649k|                FT_ATOMIC_STORE_PTR_RELEASE(so_entry->key, Py_NewRef(key));
  ------------------
  |  |  166|   649k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  862|   649k|            }
  863|  2.26M|        }
  864|   127k|        so->fill = other->fill;
  865|   127k|        FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, other->used);
  ------------------
  |  |  197|   127k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  866|   127k|        return 0;
  867|   127k|    }
  868|       |
  869|       |    /* If our table is empty, we can use set_insert_clean() */
  870|  42.2k|    if (so->fill == 0) {
  ------------------
  |  Branch (870:9): [True: 6.97k, False: 35.2k]
  ------------------
  871|  6.97k|        setentry *newtable = so->table;
  872|  6.97k|        size_t newmask = (size_t)so->mask;
  873|  6.97k|        so->fill = other->used;
  874|  6.97k|        FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, other->used);
  ------------------
  |  |  197|  6.97k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  875|   306k|        for (i = other->mask + 1; i > 0 ; i--, other_entry++) {
  ------------------
  |  Branch (875:35): [True: 299k, False: 6.97k]
  ------------------
  876|   299k|            key = other_entry->key;
  877|   299k|            if (key != NULL && key != dummy) {
  ------------------
  |  |   64|  66.2k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (877:17): [True: 66.2k, False: 233k]
  |  Branch (877:32): [True: 65.5k, False: 680]
  ------------------
  878|  65.5k|                set_insert_clean(newtable, newmask, Py_NewRef(key),
  ------------------
  |  |  647|  65.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  65.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  879|  65.5k|                                 other_entry->hash);
  880|  65.5k|            }
  881|   299k|        }
  882|  6.97k|        return 0;
  883|  6.97k|    }
  884|       |
  885|       |    /* We can't assure there are no duplicates, so do normal insertions */
  886|  1.22M|    for (i = 0; i <= other->mask; i++) {
  ------------------
  |  Branch (886:17): [True: 1.18M, False: 35.2k]
  ------------------
  887|  1.18M|        other_entry = &other->table[i];
  888|  1.18M|        key = other_entry->key;
  889|  1.18M|        if (key != NULL && key != dummy) {
  ------------------
  |  |   64|   383k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (889:13): [True: 383k, False: 805k]
  |  Branch (889:28): [True: 382k, False: 1.36k]
  ------------------
  890|   382k|            if (set_add_entry(so, key, other_entry->hash))
  ------------------
  |  Branch (890:17): [True: 0, False: 382k]
  ------------------
  891|      0|                return -1;
  892|   382k|        }
  893|  1.18M|    }
  894|  35.2k|    return 0;
  895|  35.2k|}
setobject.c:set_difference_update_internal:
 1981|    149|{
 1982|    149|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1983|    149|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(other);
 1984|       |
 1985|    149|    if ((PyObject *)so == other)
  ------------------
  |  Branch (1985:9): [True: 0, False: 149]
  ------------------
 1986|      0|        return set_clear_internal((PyObject*)so);
 1987|       |
 1988|    149|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|    149|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    298|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 149, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    149|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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|    149|      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|    149|      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]
  |  |  ------------------
  ------------------
 1989|    149|        setentry *entry;
 1990|    149|        Py_ssize_t pos = 0;
 1991|       |
 1992|       |        /* Optimization:  When the other set is more than 8 times
 1993|       |           larger than the base set, replace the other set with
 1994|       |           intersection of the two sets.
 1995|       |        */
 1996|    149|        if ((PySet_GET_SIZE(other) >> 3) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|    149|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if ((PySet_GET_SIZE(other) >> 3) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|    149|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1996:13): [True: 0, False: 149]
  ------------------
 1997|      0|            other = set_intersection(so, other);
 1998|      0|            if (other == NULL)
  ------------------
  |  Branch (1998:17): [True: 0, False: 0]
  ------------------
 1999|      0|                return -1;
 2000|    149|        } else {
 2001|    149|            Py_INCREF(other);
  ------------------
  |  |  310|    149|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2002|    149|        }
 2003|       |
 2004|    529|        while (set_next((PySetObject *)other, &pos, &entry)) {
  ------------------
  |  Branch (2004:16): [True: 380, False: 149]
  ------------------
 2005|    380|            PyObject *key = entry->key;
 2006|    380|            Py_INCREF(key);
  ------------------
  |  |  310|    380|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2007|    380|            if (set_discard_entry(so, key, entry->hash) < 0) {
  ------------------
  |  Branch (2007:17): [True: 0, False: 380]
  ------------------
 2008|      0|                Py_DECREF(other);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2010|      0|                return -1;
 2011|      0|            }
 2012|    380|            Py_DECREF(key);
  ------------------
  |  |  430|    380|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2013|    380|        }
 2014|       |
 2015|    149|        Py_DECREF(other);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2016|    149|    } else {
 2017|      0|        PyObject *key, *it;
 2018|      0|        it = PyObject_GetIter(other);
 2019|      0|        if (it == NULL)
  ------------------
  |  Branch (2019:13): [True: 0, False: 0]
  ------------------
 2020|      0|            return -1;
 2021|       |
 2022|      0|        while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (2022:16): [True: 0, False: 0]
  ------------------
 2023|      0|            if (set_discard_key(so, key) < 0) {
  ------------------
  |  Branch (2023:17): [True: 0, False: 0]
  ------------------
 2024|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2025|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2026|      0|                return -1;
 2027|      0|            }
 2028|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2029|      0|        }
 2030|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2031|      0|        if (PyErr_Occurred())
  ------------------
  |  Branch (2031:13): [True: 0, False: 0]
  ------------------
 2032|      0|            return -1;
 2033|      0|    }
 2034|       |    /* If more than 1/4th are dummies, then resize them away. */
 2035|    149|    if ((size_t)(so->fill - so->used) <= (size_t)so->mask / 4)
  ------------------
  |  Branch (2035:9): [True: 0, False: 149]
  ------------------
 2036|      0|        return 0;
 2037|    149|    return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4);
  ------------------
  |  Branch (2037:33): [True: 0, False: 149]
  ------------------
 2038|    149|}
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_copy_impl:
 1605|    298|{
 1606|    298|    PyObject *copy = set_copy_untracked_lock_held(so);
 1607|    298|    if (copy != NULL) {
  ------------------
  |  Branch (1607:9): [True: 298, False: 0]
  ------------------
 1608|    298|        _PyObject_GC_TRACK(copy);
  ------------------
  |  |  502|    298|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    298|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    298|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1609|    298|    }
 1610|    298|    return copy;
 1611|    298|}
setobject.c:set_discard_entry:
  581|   351k|{
  582|   351k|    setentry *entry;
  583|   351k|    PyObject *old_key;
  584|   351k|    int status = set_lookkey(so, key, hash, &entry);
  585|   351k|    if (status < 0) {
  ------------------
  |  Branch (585:9): [True: 0, False: 351k]
  ------------------
  586|      0|        return -1;
  587|      0|    }
  588|   351k|    if (status == SET_LOOKKEY_NO_MATCH) {
  ------------------
  |  |   67|   351k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  |  Branch (588:9): [True: 338k, False: 12.8k]
  ------------------
  589|   338k|        return DISCARD_NOTFOUND;
  ------------------
  |  |  576|   338k|#define DISCARD_NOTFOUND 0
  ------------------
  590|   338k|    }
  591|   351k|    assert(status == SET_LOOKKEY_FOUND);
  ------------------
  |  Branch (591:5): [True: 12.8k, False: 0]
  ------------------
  592|  12.8k|    old_key = entry->key;
  593|  12.8k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, -1);
  ------------------
  |  |  197|  12.8k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  594|  12.8k|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used - 1);
  ------------------
  |  |  197|  12.8k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  595|  12.8k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, dummy);
  ------------------
  |  |  166|  12.8k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  596|  12.8k|    Py_DECREF(old_key);
  ------------------
  |  |  430|  12.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|  12.8k|    return DISCARD_FOUND;
  ------------------
  |  |  577|  12.8k|#define DISCARD_FOUND 1
  ------------------
  598|  12.8k|}
setobject.c:make_new_set_basetype_untracked:
 1388|    305|{
 1389|    305|    if (type != &PySet_Type && type != &PyFrozenSet_Type) {
  ------------------
  |  Branch (1389:9): [True: 0, False: 305]
  |  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|    305|    return make_new_set_untracked(type, iterable);
 1396|    305|}
setobject.c:make_new_set_untracked:
 1349|   816k|{
 1350|   816k|    assert(PyType_Check(type));
  ------------------
  |  Branch (1350:5): [True: 816k, False: 0]
  ------------------
 1351|       |
 1352|       |    // fields are zero-initialized by _PyType_AllocNoTrack
 1353|   816k|    PySetObject *so = (PySetObject *)_PyType_AllocNoTrack(type, 0);
 1354|   816k|    if (so == NULL) {
  ------------------
  |  Branch (1354:9): [True: 0, False: 816k]
  ------------------
 1355|      0|        return NULL;
 1356|      0|    }
 1357|       |
 1358|   816k|    assert(so->fill == 0);
  ------------------
  |  Branch (1358:5): [True: 816k, False: 0]
  ------------------
 1359|   816k|    assert(so->used == 0);
  ------------------
  |  Branch (1359:5): [True: 816k, False: 0]
  ------------------
 1360|   816k|    so->mask = PySet_MINSIZE - 1;
  ------------------
  |  |   18|   816k|#define PySet_MINSIZE 8
  ------------------
 1361|   816k|    so->table = so->smalltable;
 1362|   816k|    so->hash = -1;
 1363|   816k|    assert(so->finger == 0);
  ------------------
  |  Branch (1363:5): [True: 816k, False: 0]
  ------------------
 1364|   816k|    assert(so->weakreflist == NULL);
  ------------------
  |  Branch (1364:5): [True: 816k, False: 0]
  ------------------
 1365|       |
 1366|   816k|    if (iterable != NULL) {
  ------------------
  |  Branch (1366:9): [True: 264k, False: 551k]
  ------------------
 1367|   264k|        if (set_update_local(so, iterable)) {
  ------------------
  |  Branch (1367:13): [True: 0, False: 264k]
  ------------------
 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|   264k|    }
 1372|       |
 1373|   816k|    return (PyObject *)so;
 1374|   816k|}
setobject.c:set_update_local:
 1258|   265k|{
 1259|   265k|    assert(Py_REFCNT(so) == 1);
  ------------------
  |  Branch (1259:5): [True: 265k, False: 0]
  ------------------
 1260|   265k|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|   265k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   530k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   265k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   265k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 251k, False: 13.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   278k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 13.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|   265k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|  13.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 13.3k]
  |  |  ------------------
  |  |   33|   265k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|  13.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 13.3k]
  |  |  ------------------
  ------------------
 1261|   251k|        int rv;
 1262|   251k|        Py_BEGIN_CRITICAL_SECTION(other);
  ------------------
  |  |   51|   251k|    {
  ------------------
 1263|   251k|        rv = set_merge_lock_held(so, other);
 1264|   251k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   251k|    }
  ------------------
 1265|   251k|        return rv;
 1266|   251k|    }
 1267|  13.3k|    else if (PyDict_CheckExact(other)) {
  ------------------
  |  |   19|  13.3k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  13.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 156, False: 13.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1268|    156|        int rv;
 1269|    156|        Py_BEGIN_CRITICAL_SECTION(other);
  ------------------
  |  |   51|    156|    {
  ------------------
 1270|    156|        rv = set_update_dict_lock_held(so, other);
 1271|    156|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    156|    }
  ------------------
 1272|    156|        return rv;
 1273|    156|    }
 1274|  13.2k|    else if (PyFrozenDict_CheckExact(other)) {
  ------------------
  |  |   38|  13.2k|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|  13.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 13.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1275|      0|        return set_update_dict_lock_held(so, other);
 1276|      0|    }
 1277|  13.2k|    return set_update_iterable_lock_held(so, other);
 1278|   265k|}
setobject.c:set_update_dict_lock_held:
 1185|    156|{
 1186|    156|    assert(PyAnyDict_CheckExact(other));
  ------------------
  |  Branch (1186:5): [True: 156, False: 0]
  |  Branch (1186:5): [True: 0, False: 0]
  ------------------
 1187|       |
 1188|    156|    _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|    156|    Py_ssize_t dictsize = PyDict_GET_SIZE(other);
  ------------------
  |  |   63|    156|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1200|    156|    if ((so->fill + dictsize)*5 >= so->mask*3) {
  ------------------
  |  Branch (1200:9): [True: 0, False: 156]
  ------------------
 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|    156|    Py_ssize_t pos = 0;
 1207|    156|    PyObject *key;
 1208|    156|    PyObject *value;
 1209|    156|    Py_hash_t hash;
 1210|    540|    while (_PyDict_Next(other, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (1210:12): [True: 384, False: 156]
  ------------------
 1211|    384|        if (set_add_entry(so, key, hash)) {
  ------------------
  |  Branch (1211:13): [True: 0, False: 384]
  ------------------
 1212|      0|            return -1;
 1213|      0|        }
 1214|    384|    }
 1215|    156|    return 0;
 1216|    156|}
setobject.c:set_update_iterable_lock_held:
 1220|  13.2k|{
 1221|  13.2k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1222|       |
 1223|  13.2k|    PyObject *it = PyObject_GetIter(other);
 1224|  13.2k|    if (it == NULL) {
  ------------------
  |  Branch (1224:9): [True: 0, False: 13.2k]
  ------------------
 1225|      0|        return -1;
 1226|      0|    }
 1227|       |
 1228|  13.2k|    PyObject *key;
 1229|   101k|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (1229:12): [True: 88.0k, False: 13.2k]
  ------------------
 1230|  88.0k|        if (set_add_key(so, key)) {
  ------------------
  |  Branch (1230:13): [True: 0, False: 88.0k]
  ------------------
 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|  88.0k|        Py_DECREF(key);
  ------------------
  |  |  430|  88.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  88.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  88.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1236|  88.0k|    }
 1237|  13.2k|    Py_DECREF(it);
  ------------------
  |  |  430|  13.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1238|  13.2k|    if (PyErr_Occurred())
  ------------------
  |  Branch (1238:9): [True: 0, False: 13.2k]
  ------------------
 1239|      0|        return -1;
 1240|  13.2k|    return 0;
 1241|  13.2k|}
setobject.c:set_add_entry:
  339|   898k|{
  340|   898k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  341|       |
  342|   898k|    return set_add_entry_takeref(so, Py_NewRef(key), hash);
  ------------------
  |  |  647|   898k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   898k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   898k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|   898k|}
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_or:
 1684|    149|{
 1685|    149|    PySetObject *result;
 1686|       |
 1687|    149|    if (!PyAnySet_Check(self) || !PyAnySet_Check(other))
  ------------------
  |  |   31|    298|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    298|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 149, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    149|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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|    149|      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|    298|      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|    149|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    298|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 149, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    149|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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|    149|      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|    149|      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]
  |  |  ------------------
  ------------------
 1688|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1689|       |
 1690|    149|    result = (PySetObject *)set_copy(self, NULL);
 1691|    149|    if (result == NULL) {
  ------------------
  |  Branch (1691:9): [True: 0, False: 149]
  ------------------
 1692|      0|        return NULL;
 1693|      0|    }
 1694|    149|    if (Py_Is(self, other)) {
  ------------------
  |  |  187|    149|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 149]
  |  |  ------------------
  ------------------
 1695|      0|        return (PyObject *)result;
 1696|      0|    }
 1697|    149|    if (set_update_local(result, other)) {
  ------------------
  |  Branch (1697:9): [True: 0, False: 149]
  ------------------
 1698|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1699|      0|        return NULL;
 1700|      0|    }
 1701|    149|    return (PyObject *)result;
 1702|    149|}
setobject.c:set_ior:
 1706|   326k|{
 1707|   326k|    if (!PyAnySet_Check(other))
  ------------------
  |  |   31|   326k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   652k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   326k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   326k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 326k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   326k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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|   326k|      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|   326k|      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|   326k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|   326k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|   326k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1709:23): [True: 326k, 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|   326k|    if (set_update_internal(so, other)) {
  ------------------
  |  Branch (1711:9): [True: 0, False: 326k]
  ------------------
 1712|      0|        return NULL;
 1713|      0|    }
 1714|   326k|    return Py_NewRef(so);
  ------------------
  |  |  647|   326k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   326k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   326k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1715|   326k|}
setobject.c:set_contains:
 2577|     37|{
 2578|     37|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|     37|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2578:23): [True: 25, False: 12]
  |  Branch (2578:23): [True: 12, False: 0]
  |  Branch (2578:23): [True: 0, False: 0]
  |  Branch (2578:23): [True: 0, False: 0]
  ------------------
 2579|      0|    return _PySet_Contains(so, key);
 2580|     37|}
setobject.c:set_traverse:
  935|  4.87k|{
  936|  4.87k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  4.87k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  4.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (936:23): [True: 4.28k, False: 588]
  |  Branch (936:23): [True: 588, False: 0]
  |  Branch (936:23): [True: 0, False: 0]
  |  Branch (936:23): [True: 0, False: 0]
  ------------------
  937|      0|    Py_ssize_t pos = 0;
  938|  4.87k|    setentry *entry;
  939|       |
  940|  26.0k|    while (set_next(so, &pos, &entry))
  ------------------
  |  Branch (940:12): [True: 21.1k, False: 4.87k]
  ------------------
  941|  21.1k|        Py_VISIT(entry->key);
  ------------------
  |  |  194|  26.0k|    do {                                                                \
  |  |  195|  21.1k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 21.1k, False: 0]
  |  |  ------------------
  |  |  196|  21.1k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  21.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  21.1k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 21.1k]
  |  |  ------------------
  |  |  198|  21.1k|                return vret;                                            \
  |  |  199|  21.1k|        }                                                               \
  |  |  200|  21.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 21.1k]
  |  |  ------------------
  ------------------
  942|  4.87k|    return 0;
  943|  4.87k|}
setobject.c:set_clear_internal:
  647|     27|{
  648|     27|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|     27|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (648:23): [True: 27, False: 0]
  |  Branch (648:23): [True: 0, False: 0]
  |  Branch (648:23): [True: 0, False: 0]
  |  Branch (648:23): [True: 0, False: 0]
  ------------------
  649|      0|    setentry *entry;
  650|     27|    setentry *table = so->table;
  651|     27|    Py_ssize_t fill = so->fill;
  652|     27|    Py_ssize_t used = so->used;
  653|     27|    Py_ssize_t oldsize = (size_t)so->mask + 1;
  654|     27|    int table_is_malloced = table != so->smalltable;
  655|     27|    setentry small_copy[PySet_MINSIZE];
  656|       |
  657|     27|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (657:5): [True: 27, False: 0]
  |  Branch (657:5): [True: 0, False: 0]
  |  Branch (657:5): [True: 0, False: 0]
  |  Branch (657:5): [True: 0, False: 0]
  ------------------
  658|     27|    assert(table != NULL);
  ------------------
  |  Branch (658:5): [True: 27, False: 0]
  ------------------
  659|       |
  660|       |    /* This is delicate.  During the process of clearing the set,
  661|       |     * decrefs can cause the set to mutate.  To avoid fatal confusion
  662|       |     * (voice of experience), we have to make the set empty before
  663|       |     * clearing the slots, and never refer to anything via so->ref while
  664|       |     * clearing.
  665|       |     */
  666|     27|    if (table_is_malloced)
  ------------------
  |  Branch (666:9): [True: 0, False: 27]
  ------------------
  667|      0|        set_empty_to_minsize(so);
  668|       |
  669|     27|    else if (fill > 0) {
  ------------------
  |  Branch (669:14): [True: 27, False: 0]
  ------------------
  670|       |        /* It's a small table with something that needs to be cleared.
  671|       |         * Afraid the only safe way is to copy the set entries into
  672|       |         * another small table first.
  673|       |         */
  674|     27|        memcpy(small_copy, table, sizeof(small_copy));
  675|     27|        table = small_copy;
  676|     27|        set_empty_to_minsize(so);
  677|     27|    }
  678|       |    /* else it's a small table that's already empty */
  679|       |
  680|       |    /* Now we can finally clear things.  If C had refcounts, we could
  681|       |     * assert that the refcount on table is 1 now, i.e. that this function
  682|       |     * has unique access to it, so decref side-effects can't alter it.
  683|       |     */
  684|    156|    for (entry = table; used > 0; entry++) {
  ------------------
  |  Branch (684:25): [True: 129, False: 27]
  ------------------
  685|    129|        if (entry->key && entry->key != dummy) {
  ------------------
  |  |   64|     27|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (685:13): [True: 27, False: 102]
  |  Branch (685:27): [True: 27, False: 0]
  ------------------
  686|     27|            used--;
  687|     27|            Py_DECREF(entry->key);
  ------------------
  |  |  430|     27|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  688|     27|        }
  689|    129|    }
  690|       |
  691|     27|    if (table_is_malloced)
  ------------------
  |  Branch (691:9): [True: 0, False: 27]
  ------------------
  692|      0|        free_entries(table, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|      0|#define SET_IS_SHARED(so) 0
  ------------------
  693|     27|    return 0;
  694|     27|}
setobject.c:set_empty_to_minsize:
  635|     27|{
  636|     27|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, NULL);
  ------------------
  |  |  166|     27|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  637|     27|    set_zero_table(so->smalltable, PySet_MINSIZE);
  ------------------
  |  |   18|     27|#define PySet_MINSIZE 8
  ------------------
  638|     27|    so->fill = 0;
  639|     27|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, 0);
  ------------------
  |  |  197|     27|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  640|     27|    FT_ATOMIC_STORE_SSIZE_RELEASE(so->mask, PySet_MINSIZE - 1);
  ------------------
  |  |  171|     27|#define FT_ATOMIC_STORE_SSIZE_RELEASE(value, new_value) value = new_value
  ------------------
  641|     27|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->hash, -1);
  ------------------
  |  |  197|     27|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  642|     27|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, so->smalltable);
  ------------------
  |  |  166|     27|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  643|     27|}
setobject.c:set_richcompare:
 2490|  7.91k|{
 2491|  7.91k|    PySetObject *v = _PySet_CAST(self);
  ------------------
  |  |   62|  7.91k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  7.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2491:22): [True: 153, False: 7.76k]
  |  Branch (2491:22): [True: 7.76k, False: 0]
  |  Branch (2491:22): [True: 0, False: 0]
  |  Branch (2491:22): [True: 0, False: 0]
  ------------------
 2492|      0|    PyObject *r1;
 2493|  7.91k|    int r2;
 2494|       |
 2495|  7.91k|    if(!PyAnySet_Check(w))
  ------------------
  |  |   31|  7.91k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  15.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 7.91k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  15.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7.76k, False: 149]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  7.91k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  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 (32:7): [True: 0, False: 149]
  |  |  ------------------
  |  |   33|  7.91k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  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 (33:7): [True: 0, False: 149]
  |  |  ------------------
  ------------------
 2496|    149|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|    149|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|    149|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2497|       |
 2498|  7.77k|    switch (op) {
  ------------------
  |  Branch (2498:13): [True: 7.77k, False: 0]
  ------------------
 2499|  7.76k|    case Py_EQ:
  ------------------
  |  |  654|  7.76k|#define Py_EQ 2
  ------------------
  |  Branch (2499:5): [True: 7.76k, False: 4]
  ------------------
 2500|  7.76k|        if (PySet_GET_SIZE(v) != PySet_GET_SIZE(w))
  ------------------
  |  |   71|  7.76k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  7.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PySet_GET_SIZE(v) != PySet_GET_SIZE(w))
  ------------------
  |  |   71|  7.76k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  7.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2500:13): [True: 0, False: 7.76k]
  ------------------
 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|  7.76k|        Py_hash_t v_hash = FT_ATOMIC_LOAD_SSIZE_RELAXED(v->hash);
  ------------------
  |  |  151|  7.76k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 2503|  7.76k|        Py_hash_t w_hash = FT_ATOMIC_LOAD_SSIZE_RELAXED(((PySetObject *)w)->hash);
  ------------------
  |  |  151|  7.76k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 2504|  7.76k|        if (v_hash != -1 && w_hash != -1 && v_hash != w_hash)
  ------------------
  |  Branch (2504:13): [True: 7.75k, False: 12]
  |  Branch (2504:29): [True: 7.75k, False: 0]
  |  Branch (2504:45): [True: 0, False: 7.75k]
  ------------------
 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|  7.76k|        return set_issubset((PyObject*)v, w);
 2507|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (2507:5): [True: 0, False: 7.77k]
  ------------------
 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: 7.76k]
  ------------------
 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: 7.77k]
  ------------------
 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: 7.77k]
  ------------------
 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: 7.77k]
  ------------------
 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|  7.77k|    }
 2529|      0|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2530|  7.77k|}
setobject.c:set_issubset_impl:
 2415|  7.77k|{
 2416|  7.77k|    setentry *entry;
 2417|  7.77k|    Py_ssize_t pos = 0;
 2418|  7.77k|    int rv;
 2419|       |
 2420|  7.77k|    if (!PyAnySet_Check(other)) {
  ------------------
  |  |   31|  7.77k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  15.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 7.76k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  15.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7.76k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  7.77k|      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.77k|      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|  7.77k|    if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other))
  ------------------
  |  |   71|  7.77k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  7.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other))
  ------------------
  |  |   71|  7.77k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  7.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2429:9): [True: 0, False: 7.77k]
  ------------------
 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|  50.4k|    while (set_next(so, &pos, &entry)) {
  ------------------
  |  Branch (2432:12): [True: 42.7k, False: 7.67k]
  ------------------
 2433|  42.7k|        PyObject *key = entry->key;
 2434|  42.7k|        Py_INCREF(key);
  ------------------
  |  |  310|  42.7k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2435|  42.7k|        rv = set_contains_entry((PySetObject *)other, key, entry->hash);
 2436|  42.7k|        Py_DECREF(key);
  ------------------
  |  |  430|  42.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2437|  42.7k|        if (rv < 0) {
  ------------------
  |  Branch (2437:13): [True: 0, False: 42.7k]
  ------------------
 2438|      0|            return NULL;
 2439|      0|        }
 2440|  42.7k|        if (!rv) {
  ------------------
  |  Branch (2440:13): [True: 98, False: 42.6k]
  ------------------
 2441|     98|            Py_RETURN_FALSE;
  ------------------
  |  |   45|     98|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     98|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2442|     98|        }
 2443|  42.7k|    }
 2444|  7.67k|    Py_RETURN_TRUE;
  ------------------
  |  |   44|  7.67k|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|  7.67k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2445|  7.77k|}
setobject.c:set_iter:
 1170|  79.5k|{
 1171|  79.5k|    Py_ssize_t size = set_len(so);
 1172|  79.5k|    setiterobject *si = PyObject_GC_New(setiterobject, &PySetIter_Type);
  ------------------
  |  |  181|  79.5k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  79.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1173|  79.5k|    if (si == NULL)
  ------------------
  |  Branch (1173:9): [True: 0, False: 79.5k]
  ------------------
 1174|      0|        return NULL;
 1175|  79.5k|    si->si_set = (PySetObject*)Py_NewRef(so);
  ------------------
  |  |  647|  79.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  79.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1176|  79.5k|    si->si_used = size;
 1177|  79.5k|    si->si_pos = 0;
 1178|  79.5k|    si->len = size;
 1179|  79.5k|    _PyObject_GC_TRACK(si);
  ------------------
  |  |  502|  79.5k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1180|  79.5k|    return (PyObject *)si;
 1181|  79.5k|}
setobject.c:set_add_impl:
 2547|   171k|{
 2548|   171k|    if (set_add_key(so, key))
  ------------------
  |  Branch (2548:9): [True: 0, False: 171k]
  ------------------
 2549|      0|        return NULL;
 2550|   171k|    Py_RETURN_NONE;
  ------------------
  |  |  628|   171k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|   171k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2551|   171k|}
setobject.c:set_difference_update_impl:
 2052|    149|{
 2053|    149|    Py_ssize_t i;
 2054|       |
 2055|    298|    for (i = 0; i < others_length; i++) {
  ------------------
  |  Branch (2055:17): [True: 149, False: 149]
  ------------------
 2056|    149|        PyObject *other = others[i];
 2057|    149|        int rv;
 2058|    149|        Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|    149|    {
  ------------------
 2059|    149|        rv = set_difference_update_internal(so, other);
 2060|    149|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|    149|    }
  ------------------
 2061|    149|        if (rv) {
  ------------------
  |  Branch (2061:13): [True: 0, False: 149]
  ------------------
 2062|      0|            return NULL;
 2063|      0|        }
 2064|    149|    }
 2065|    149|    Py_RETURN_NONE;
  ------------------
  |  |  628|    149|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    149|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2066|    149|}
setobject.c:set_remove_impl:
 2652|    380|{
 2653|    380|    int rv;
 2654|       |
 2655|    380|    rv = set_discard_key(so, key);
 2656|    380|    if (rv < 0) {
  ------------------
  |  Branch (2656:9): [True: 0, False: 380]
  ------------------
 2657|      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 (2657:34): [True: 0, False: 0]
  ------------------
 2658|      0|            return NULL;
 2659|      0|        PyErr_Clear();
 2660|      0|        Py_hash_t hash;
 2661|      0|        Py_BEGIN_CRITICAL_SECTION(key);
  ------------------
  |  |   51|      0|    {
  ------------------
 2662|      0|        hash = frozenset_hash_impl(key);
 2663|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 2664|      0|        rv = set_discard_entry(so, key, hash);
 2665|      0|        if (rv < 0)
  ------------------
  |  Branch (2665:13): [True: 0, False: 0]
  ------------------
 2666|      0|            return NULL;
 2667|      0|    }
 2668|       |
 2669|    380|    if (rv == DISCARD_NOTFOUND) {
  ------------------
  |  |  576|    380|#define DISCARD_NOTFOUND 0
  ------------------
  |  Branch (2669:9): [True: 0, False: 380]
  ------------------
 2670|      0|        _PyErr_SetKeyError(key);
 2671|      0|        return NULL;
 2672|      0|    }
 2673|    380|    Py_RETURN_NONE;
  ------------------
  |  |  628|    380|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    380|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2674|    380|}
setobject.c:set_vectorcall:
 2793|  15.2k|{
 2794|  15.2k|    assert(PyType_Check(type));
  ------------------
  |  Branch (2794:5): [True: 15.2k, False: 0]
  ------------------
 2795|       |
 2796|  15.2k|    if (!_PyArg_NoKwnames("set", kwnames)) {
  ------------------
  |  |   16|  15.2k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 15.2k, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2797|      0|        return NULL;
 2798|      0|    }
 2799|       |
 2800|  15.2k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  15.2k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 2801|  15.2k|    if (!_PyArg_CheckPositional("set", nargs, 0, 1)) {
  ------------------
  |  |   38|  15.2k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 15.2k, False: 0]
  |  |  |  Branch (38:27): [True: 15.2k, False: 0]
  |  |  ------------------
  |  |   39|  15.2k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2802|      0|        return NULL;
 2803|      0|    }
 2804|       |
 2805|  15.2k|    if (nargs) {
  ------------------
  |  Branch (2805:9): [True: 22, False: 15.2k]
  ------------------
 2806|     22|        return make_new_set(_PyType_CAST(type), args[0]);
  ------------------
  |  |  770|     22|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2806:29): [True: 22, False: 0]
  ------------------
 2807|     22|    }
 2808|       |
 2809|  15.2k|    return make_new_set(_PyType_CAST(type), NULL);
  ------------------
  |  |  770|  15.2k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  15.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2809:25): [True: 15.2k, False: 0]
  ------------------
 2810|  15.2k|}
setobject.c:frozenset_hash:
 1013|  18.7k|{
 1014|  18.7k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  18.7k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  18.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1014:23): [True: 0, False: 18.7k]
  |  Branch (1014:23): [True: 18.7k, False: 0]
  |  Branch (1014:23): [True: 0, False: 0]
  |  Branch (1014:23): [True: 0, False: 0]
  ------------------
 1015|      0|    Py_uhash_t hash;
 1016|       |
 1017|  18.7k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(so->hash) != -1) {
  ------------------
  |  |  151|  18.7k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (1017:9): [True: 5.54k, False: 13.1k]
  ------------------
 1018|  5.54k|        return FT_ATOMIC_LOAD_SSIZE_ACQUIRE(so->hash);
  ------------------
  |  |  150|  5.54k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
 1019|  5.54k|    }
 1020|       |
 1021|  13.1k|    hash = frozenset_hash_impl(self);
 1022|  13.1k|    FT_ATOMIC_STORE_SSIZE_RELEASE(so->hash, hash);
  ------------------
  |  |  171|  13.1k|#define FT_ATOMIC_STORE_SSIZE_RELEASE(value, new_value) value = new_value
  ------------------
 1023|  13.1k|    return hash;
 1024|  18.7k|}
setobject.c:frozenset___contains___impl:
 2617|     15|{
 2618|     15|    Py_hash_t hash = PyObject_Hash(key);
 2619|     15|    if (hash == -1) {
  ------------------
  |  Branch (2619:9): [True: 0, False: 15]
  ------------------
 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|     15|    setentry *entry; // unused
 2630|     15|    int status = set_do_lookup(so, so->table, so->mask, key, hash, &entry,
 2631|     15|                           set_compare_frozenset);
 2632|     15|    if (status < 0)
  ------------------
  |  Branch (2632:9): [True: 0, False: 15]
  ------------------
 2633|      0|        return NULL;
 2634|     15|    return PyBool_FromLong(status);
 2635|     15|}
setobject.c:make_new_frozenset:
 1430|     10|{
 1431|     10|    if (type != &PyFrozenSet_Type) {
  ------------------
  |  Branch (1431:9): [True: 0, False: 10]
  ------------------
 1432|      0|        return make_new_set(type, iterable);
 1433|      0|    }
 1434|       |
 1435|     10|    if (iterable != NULL && PyFrozenSet_CheckExact(iterable)) {
  ------------------
  |  |   23|     10|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|     10|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1435:9): [True: 10, 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|     10|    PyObject *obj = make_new_set(type, iterable);
 1440|     10|    if (obj != NULL) {
  ------------------
  |  Branch (1440:9): [True: 10, False: 0]
  ------------------
 1441|     10|        _PyFrozenSet_MaybeUntrack(obj);
 1442|     10|    }
 1443|     10|    return obj;
 1444|     10|}
setobject.c:frozenset_vectorcall:
 1467|     10|{
 1468|     10|    if (!_PyArg_NoKwnames("frozenset", kwnames)) {
  ------------------
  |  |   16|     10|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 10, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1469|      0|        return NULL;
 1470|      0|    }
 1471|       |
 1472|     10|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     10|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1473|     10|    if (!_PyArg_CheckPositional("frozenset", nargs, 0, 1)) {
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 1474|      0|        return NULL;
 1475|      0|    }
 1476|       |
 1477|     10|    PyObject *iterable = (nargs ? args[0] : NULL);
  ------------------
  |  Branch (1477:27): [True: 10, False: 0]
  ------------------
 1478|     10|    return make_new_frozenset(_PyType_CAST(type), iterable);
  ------------------
  |  |  770|     10|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1478:31): [True: 10, False: 0]
  ------------------
 1479|     10|}
setobject.c:make_new_set:
 1378|   816k|{
 1379|   816k|    PyObject *so = make_new_set_untracked(type, iterable);
 1380|   816k|    if (so != NULL) {
  ------------------
  |  Branch (1380:9): [True: 816k, False: 0]
  ------------------
 1381|   816k|        _PyObject_GC_TRACK(so);
  ------------------
  |  |  502|   816k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   816k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   816k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1382|   816k|    }
 1383|   816k|    return so;
 1384|   816k|}
setobject.c:set_len:
  820|  81.8k|{
  821|  81.8k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  81.8k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  81.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (821:23): [True: 78.0k, False: 3.85k]
  |  Branch (821:23): [True: 3.85k, False: 0]
  |  Branch (821:23): [True: 0, False: 0]
  |  Branch (821:23): [True: 0, False: 0]
  ------------------
  822|  81.8k|    return FT_ATOMIC_LOAD_SSIZE_RELAXED(so->used);
  ------------------
  |  |  151|  81.8k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  823|  81.8k|}
setobject.c:set_clear_impl:
 1642|     27|{
 1643|     27|    set_clear_internal((PyObject*)so);
 1644|     27|    Py_RETURN_NONE;
  ------------------
  |  |  628|     27|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     27|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1645|     27|}
setobject.c:set_discard_key:
  624|   351k|{
  625|   351k|    Py_hash_t hash = PyObject_Hash(key);
  626|   351k|    if (hash == -1) {
  ------------------
  |  Branch (626:9): [True: 0, False: 351k]
  ------------------
  627|      0|        set_unhashable_type(key);
  628|      0|        return -1;
  629|      0|    }
  630|   351k|    return set_discard_entry(so, key, hash);
  631|   351k|}
setobject.c:set_add_key:
  602|   515k|{
  603|   515k|    Py_hash_t hash = PyObject_Hash(key);
  604|   515k|    if (hash == -1) {
  ------------------
  |  Branch (604:9): [True: 0, False: 515k]
  ------------------
  605|      0|        set_unhashable_type(key);
  606|      0|        return -1;
  607|      0|    }
  608|   515k|    return set_add_entry(so, key, hash);
  609|   515k|}
setobject.c:set_next:
  711|   367k|{
  712|   367k|    Py_ssize_t i;
  713|   367k|    Py_ssize_t mask;
  714|   367k|    setentry *entry;
  715|       |
  716|   367k|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (716:5): [True: 184k, False: 182k]
  |  Branch (716:5): [True: 182k, False: 0]
  |  Branch (716:5): [True: 0, False: 0]
  |  Branch (716:5): [True: 0, False: 0]
  ------------------
  717|   367k|    i = *pos_ptr;
  718|   367k|    assert(i >= 0);
  ------------------
  |  Branch (718:5): [True: 367k, False: 0]
  ------------------
  719|   367k|    mask = so->mask;
  720|   367k|    entry = &so->table[i];
  721|  1.23M|    while (i <= mask && (entry->key == NULL || entry->key == dummy)) {
  ------------------
  |  |   64|   316k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (721:12): [True: 1.18M, False: 50.4k]
  |  Branch (721:26): [True: 864k, False: 316k]
  |  Branch (721:48): [True: 10, False: 316k]
  ------------------
  722|   864k|        i++;
  723|   864k|        entry++;
  724|   864k|    }
  725|   367k|    *pos_ptr = i+1;
  726|   367k|    if (i > mask)
  ------------------
  |  Branch (726:9): [True: 50.4k, False: 316k]
  ------------------
  727|  50.4k|        return 0;
  728|   367k|    assert(entry != NULL);
  ------------------
  |  Branch (728:5): [True: 316k, False: 0]
  ------------------
  729|   316k|    *entry_ptr = entry;
  730|   316k|    return 1;
  731|   316k|}
setobject.c:set_pop_impl:
  910|    717|{
  911|       |    /* Make sure the search finger is in bounds */
  912|    717|    setentry *entry = so->table + (so->finger & so->mask);
  913|    717|    setentry *limit = so->table + so->mask;
  914|    717|    PyObject *key;
  915|       |
  916|    717|    if (so->used == 0) {
  ------------------
  |  Branch (916:9): [True: 0, False: 717]
  ------------------
  917|      0|        PyErr_SetString(PyExc_KeyError, "pop from an empty set");
  918|      0|        return NULL;
  919|      0|    }
  920|  2.86k|    while (entry->key == NULL || entry->key==dummy) {
  ------------------
  |  |   64|    772|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (920:12): [True: 2.09k, False: 772]
  |  Branch (920:34): [True: 55, False: 717]
  ------------------
  921|  2.15k|        entry++;
  922|  2.15k|        if (entry > limit)
  ------------------
  |  Branch (922:13): [True: 146, False: 2.00k]
  ------------------
  923|    146|            entry = so->table;
  924|  2.15k|    }
  925|    717|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, -1);
  ------------------
  |  |  197|    717|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  926|    717|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used - 1);
  ------------------
  |  |  197|    717|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  927|    717|    key = entry->key;
  928|    717|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, dummy);
  ------------------
  |  |  166|    717|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  929|    717|    so->finger = entry - so->table + 1;   /* next place to start */
  930|    717|    return key;
  931|    717|}
setobject.c:set_update_internal:
 1282|   326k|{
 1283|   326k|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|   326k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   652k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   326k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   326k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 326k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   326k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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|   326k|      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|   326k|      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|   326k|        if (Py_Is((PyObject *)so, other)) {
  ------------------
  |  |  187|   326k|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 326k]
  |  |  ------------------
  ------------------
 1285|      0|            return 0;
 1286|      0|        }
 1287|   326k|        int rv;
 1288|   326k|        Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|   326k|    {
  ------------------
 1289|   326k|        rv = set_merge_lock_held(so, other);
 1290|   326k|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|   326k|    }
  ------------------
 1291|   326k|        return rv;
 1292|   326k|    }
 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|   326k|}

_PyBuildSlice_ConsumeRefs:
  129|  63.7k|{
  130|  63.7k|    assert(start != NULL && stop != NULL && step != NULL);
  ------------------
  |  Branch (130:5): [True: 63.7k, False: 0]
  |  Branch (130:5): [True: 63.7k, False: 0]
  |  Branch (130:5): [True: 63.7k, False: 0]
  ------------------
  131|  63.7k|    PySliceObject *obj = _Py_FREELIST_POP(PySliceObject, slices);
  ------------------
  |  |   43|  63.7k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  63.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  132|  63.7k|    if (obj == NULL) {
  ------------------
  |  Branch (132:9): [True: 14.7k, False: 48.9k]
  ------------------
  133|  14.7k|        obj = PyObject_GC_New(PySliceObject, &PySlice_Type);
  ------------------
  |  |  181|  14.7k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  134|  14.7k|        if (obj == NULL) {
  ------------------
  |  Branch (134:13): [True: 0, False: 14.7k]
  ------------------
  135|      0|            goto error;
  136|      0|        }
  137|  14.7k|    }
  138|       |
  139|  63.7k|    obj->start = start;
  140|  63.7k|    obj->stop = stop;
  141|  63.7k|    obj->step = step;
  142|       |
  143|  63.7k|    _PyObject_GC_TRACK(obj);
  ------------------
  |  |  502|  63.7k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  144|  63.7k|    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|  63.7k|}
PySlice_New:
  154|  63.7k|{
  155|  63.7k|    if (step == NULL) {
  ------------------
  |  Branch (155:9): [True: 43.8k, False: 19.8k]
  ------------------
  156|  43.8k|        step = Py_None;
  ------------------
  |  |  616|  43.8k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  157|  43.8k|    }
  158|  63.7k|    if (start == NULL) {
  ------------------
  |  Branch (158:9): [True: 6.81k, False: 56.8k]
  ------------------
  159|  6.81k|        start = Py_None;
  ------------------
  |  |  616|  6.81k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  160|  6.81k|    }
  161|  63.7k|    if (stop == NULL) {
  ------------------
  |  Branch (161:9): [True: 4.74k, False: 58.9k]
  ------------------
  162|  4.74k|        stop = Py_None;
  ------------------
  |  |  616|  4.74k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  163|  4.74k|    }
  164|  63.7k|    return _PyBuildSlice_ConsumeRefs(Py_NewRef(start),
  ------------------
  |  |  647|  63.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  63.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|  63.7k|                                              Py_NewRef(stop), Py_NewRef(step));
  ------------------
  |  |  647|  63.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  63.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                            Py_NewRef(stop), Py_NewRef(step));
  ------------------
  |  |  647|  63.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  63.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|  63.7k|}
_PySlice_FromIndices:
  170|      1|{
  171|      1|    PyObject *start, *end, *slice;
  172|      1|    start = PyLong_FromSsize_t(istart);
  173|      1|    if (!start)
  ------------------
  |  Branch (173:9): [True: 0, False: 1]
  ------------------
  174|      0|        return NULL;
  175|      1|    end = PyLong_FromSsize_t(istop);
  176|      1|    if (!end) {
  ------------------
  |  Branch (176:9): [True: 0, False: 1]
  ------------------
  177|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|      0|        return NULL;
  179|      0|    }
  180|       |
  181|      1|    slice = _PyBuildSlice_ConsumeRefs(start, end, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  182|      1|    return slice;
  183|      1|}
PySlice_Unpack:
  220|  44.6k|{
  221|  44.6k|    PySliceObject *r = (PySliceObject*)_r;
  222|       |    /* this is harder to get right than you might think */
  223|       |
  224|  44.6k|    static_assert(PY_SSIZE_T_MIN + 1 <= -PY_SSIZE_T_MAX,
  225|  44.6k|                  "-PY_SSIZE_T_MAX < PY_SSIZE_T_MIN + 1");
  226|       |
  227|  44.6k|    if (r->step == Py_None) {
  ------------------
  |  |  616|  44.6k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (227:9): [True: 41.5k, False: 3.13k]
  ------------------
  228|  41.5k|        *step = 1;
  229|  41.5k|    }
  230|  3.13k|    else {
  231|  3.13k|        if (!_PyEval_SliceIndex(r->step, step)) return -1;
  ------------------
  |  Branch (231:13): [True: 480, False: 2.65k]
  ------------------
  232|  2.65k|        if (*step == 0) {
  ------------------
  |  Branch (232:13): [True: 443, False: 2.20k]
  ------------------
  233|    443|            PyErr_SetString(PyExc_ValueError,
  234|    443|                            "slice step cannot be zero");
  235|    443|            return -1;
  236|    443|        }
  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|  2.20k|        if (*step < -PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  2.20k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (242:13): [True: 0, False: 2.20k]
  ------------------
  243|      0|            *step = -PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  244|  2.20k|    }
  245|       |
  246|  43.7k|    if (r->start == Py_None) {
  ------------------
  |  |  616|  43.7k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (246:9): [True: 5.76k, False: 38.0k]
  ------------------
  247|  5.76k|        *start = *step < 0 ? PY_SSIZE_T_MAX : 0;
  ------------------
  |  |  137|  5.76k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (247:18): [True: 7, False: 5.75k]
  ------------------
  248|  5.76k|    }
  249|  38.0k|    else {
  250|  38.0k|        if (!_PyEval_SliceIndex(r->start, start)) return -1;
  ------------------
  |  Branch (250:13): [True: 166, False: 37.8k]
  ------------------
  251|  38.0k|    }
  252|       |
  253|  43.6k|    if (r->stop == Py_None) {
  ------------------
  |  |  616|  43.6k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (253:9): [True: 20.0k, False: 23.5k]
  ------------------
  254|  20.0k|        *stop = *step < 0 ? PY_SSIZE_T_MIN : PY_SSIZE_T_MAX;
  ------------------
  |  |  146|      7|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  ------------------
  |  |  |  |  137|      7|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
                      *stop = *step < 0 ? PY_SSIZE_T_MIN : PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  20.0k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (254:17): [True: 7, False: 20.0k]
  ------------------
  255|  20.0k|    }
  256|  23.5k|    else {
  257|  23.5k|        if (!_PyEval_SliceIndex(r->stop, stop)) return -1;
  ------------------
  |  Branch (257:13): [True: 593, False: 22.9k]
  ------------------
  258|  23.5k|    }
  259|       |
  260|  43.0k|    return 0;
  261|  43.6k|}
PySlice_AdjustIndices:
  266|   415k|{
  267|       |    /* this is harder to get right than you might think */
  268|       |
  269|   415k|    assert(step != 0);
  ------------------
  |  Branch (269:5): [True: 415k, False: 0]
  ------------------
  270|   415k|    assert(step >= -PY_SSIZE_T_MAX);
  ------------------
  |  Branch (270:5): [True: 415k, False: 0]
  ------------------
  271|       |
  272|   415k|    if (*start < 0) {
  ------------------
  |  Branch (272:9): [True: 120, False: 415k]
  ------------------
  273|    120|        *start += length;
  274|    120|        if (*start < 0) {
  ------------------
  |  Branch (274:13): [True: 0, False: 120]
  ------------------
  275|      0|            *start = (step < 0) ? -1 : 0;
  ------------------
  |  Branch (275:22): [True: 0, False: 0]
  ------------------
  276|      0|        }
  277|    120|    }
  278|   415k|    else if (*start >= length) {
  ------------------
  |  Branch (278:14): [True: 58.8k, False: 356k]
  ------------------
  279|  58.8k|        *start = (step < 0) ? length - 1 : length;
  ------------------
  |  Branch (279:18): [True: 7, False: 58.8k]
  ------------------
  280|  58.8k|    }
  281|       |
  282|   415k|    if (*stop < 0) {
  ------------------
  |  Branch (282:9): [True: 8, False: 415k]
  ------------------
  283|      8|        *stop += length;
  284|      8|        if (*stop < 0) {
  ------------------
  |  Branch (284:13): [True: 7, False: 1]
  ------------------
  285|      7|            *stop = (step < 0) ? -1 : 0;
  ------------------
  |  Branch (285:21): [True: 7, False: 0]
  ------------------
  286|      7|        }
  287|      8|    }
  288|   415k|    else if (*stop >= length) {
  ------------------
  |  Branch (288:14): [True: 252k, False: 163k]
  ------------------
  289|   252k|        *stop = (step < 0) ? length - 1 : length;
  ------------------
  |  Branch (289:17): [True: 0, False: 252k]
  ------------------
  290|   252k|    }
  291|       |
  292|   415k|    if (step < 0) {
  ------------------
  |  Branch (292:9): [True: 7, False: 415k]
  ------------------
  293|      7|        if (*stop < *start) {
  ------------------
  |  Branch (293:13): [True: 7, False: 0]
  ------------------
  294|      7|            return (*start - *stop - 1) / (-step) + 1;
  295|      7|        }
  296|      7|    }
  297|   415k|    else {
  298|   415k|        if (*start < *stop) {
  ------------------
  |  Branch (298:13): [True: 333k, False: 82.1k]
  ------------------
  299|   333k|            return (*stop - *start - 1) / step + 1;
  300|   333k|        }
  301|   415k|    }
  302|  82.1k|    return 0;
  303|   415k|}
_PySlice_GetLongIndices:
  402|     40|{
  403|     40|    PyObject *start=NULL, *stop=NULL, *step=NULL;
  404|     40|    PyObject *upper=NULL, *lower=NULL;
  405|     40|    int step_is_negative, cmp_result;
  406|       |
  407|       |    /* Convert step to an integer; raise for zero step. */
  408|     40|    if (self->step == Py_None) {
  ------------------
  |  |  616|     40|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (408:9): [True: 0, False: 40]
  ------------------
  409|      0|        step = _PyLong_GetOne();
  410|      0|        step_is_negative = 0;
  411|      0|    }
  412|     40|    else {
  413|     40|        step = evaluate_slice_index(self->step);
  414|     40|        if (step == NULL) {
  ------------------
  |  Branch (414:13): [True: 0, False: 40]
  ------------------
  415|      0|            goto error;
  416|      0|        }
  417|     40|        assert(PyLong_Check(step));
  ------------------
  |  Branch (417:9): [True: 40, False: 0]
  ------------------
  418|       |
  419|     40|        int step_sign;
  420|     40|        (void)PyLong_GetSign(step, &step_sign);
  421|     40|        if (step_sign == 0) {
  ------------------
  |  Branch (421:13): [True: 0, False: 40]
  ------------------
  422|      0|            PyErr_SetString(PyExc_ValueError,
  423|      0|                            "slice step cannot be zero");
  424|      0|            goto error;
  425|      0|        }
  426|     40|        step_is_negative = step_sign < 0;
  427|     40|    }
  428|       |
  429|       |    /* Find lower and upper bounds for start and stop. */
  430|     40|    if (step_is_negative) {
  ------------------
  |  Branch (430:9): [True: 40, False: 0]
  ------------------
  431|     40|        lower = PyLong_FromLong(-1L);
  432|     40|        if (lower == NULL)
  ------------------
  |  Branch (432:13): [True: 0, False: 40]
  ------------------
  433|      0|            goto error;
  434|       |
  435|     40|        upper = PyNumber_Add(length, lower);
  436|     40|        if (upper == NULL)
  ------------------
  |  Branch (436:13): [True: 0, False: 40]
  ------------------
  437|      0|            goto error;
  438|     40|    }
  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|     40|    if (self->start == Py_None) {
  ------------------
  |  |  616|     40|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (445:9): [True: 40, False: 0]
  ------------------
  446|     40|        start = Py_NewRef(step_is_negative ? upper : lower);
  ------------------
  |  |  647|     40|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 40, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  447|     40|    }
  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|     40|    if (self->stop == Py_None) {
  ------------------
  |  |  616|     40|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (478:9): [True: 40, False: 0]
  ------------------
  479|     40|        stop = Py_NewRef(step_is_negative ? lower : upper);
  ------------------
  |  |  647|     40|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 40, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|     40|    }
  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|     40|    *start_ptr = start;
  511|     40|    *stop_ptr = stop;
  512|     40|    *step_ptr = step;
  513|     40|    Py_DECREF(upper);
  ------------------
  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  514|     40|    Py_DECREF(lower);
  ------------------
  |  |  430|     40|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  515|     40|    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|     40|}
sliceobject.c:evaluate_slice_index:
  382|     40|{
  383|     40|    if (_PyIndex_Check(v)) {
  ------------------
  |  Branch (383:9): [True: 40, False: 0]
  ------------------
  384|     40|        return PyNumber_Index(v);
  385|     40|    }
  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|     40|}
sliceobject.c:slice_dealloc:
  353|  63.5k|{
  354|  63.5k|    PySliceObject *r = _PySlice_CAST(op);
  ------------------
  |  |   32|  63.5k|#define _PySlice_CAST(op) _Py_CAST(PySliceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  63.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  355|  63.5k|    PyObject_GC_UnTrack(r);
  356|  63.5k|    Py_DECREF(r->step);
  ------------------
  |  |  430|  63.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|  63.5k|    Py_DECREF(r->start);
  ------------------
  |  |  430|  63.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  358|  63.5k|    Py_DECREF(r->stop);
  ------------------
  |  |  430|  63.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|  63.5k|    _Py_FREELIST_FREE(slices, r, PyObject_GC_Del);
  ------------------
  |  |   35|  63.5k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  63.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  63.5k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   21|  63.5k|#  define Py_slices_MAXFREELIST 1
  |  |  ------------------
  ------------------
  360|  63.5k|}
sliceobject.c:slice_hash:
  654|  33.3k|{
  655|  33.3k|    PySliceObject *v = _PySlice_CAST(op);
  ------------------
  |  |   32|  33.3k|#define _PySlice_CAST(op) _Py_CAST(PySliceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  33.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  656|  33.3k|    Py_uhash_t acc = _PyHASH_XXPRIME_5;
  ------------------
  |  |  643|  33.3k|#define _PyHASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  657|  33.3k|#define _PyHASH_SLICE_PART(com) { \
  658|  33.3k|    Py_uhash_t lane = PyObject_Hash(v->com); \
  659|  33.3k|    if(lane == (Py_uhash_t)-1) { \
  660|  33.3k|        return -1; \
  661|  33.3k|    } \
  662|  33.3k|    acc += lane * _PyHASH_XXPRIME_2; \
  663|  33.3k|    acc = _PyHASH_XXROTATE(acc); \
  664|  33.3k|    acc *= _PyHASH_XXPRIME_1; \
  665|  33.3k|}
  666|  33.3k|    _PyHASH_SLICE_PART(start);
  ------------------
  |  |  657|  33.3k|#define _PyHASH_SLICE_PART(com) { \
  |  |  658|  33.3k|    Py_uhash_t lane = PyObject_Hash(v->com); \
  |  |  659|  33.3k|    if(lane == (Py_uhash_t)-1) { \
  |  |  ------------------
  |  |  |  Branch (659:8): [True: 0, False: 33.3k]
  |  |  ------------------
  |  |  660|      0|        return -1; \
  |  |  661|      0|    } \
  |  |  662|  33.3k|    acc += lane * _PyHASH_XXPRIME_2; \
  |  |  ------------------
  |  |  |  |  642|  33.3k|#define _PyHASH_XXPRIME_2 ((Py_uhash_t)14029467366897019727ULL)
  |  |  ------------------
  |  |  663|  33.3k|    acc = _PyHASH_XXROTATE(acc); \
  |  |  ------------------
  |  |  |  |  644|  33.3k|#define _PyHASH_XXROTATE(x) ((x << 31) | (x >> 33))  /* Rotate left 31 bits */
  |  |  ------------------
  |  |  664|  33.3k|    acc *= _PyHASH_XXPRIME_1; \
  |  |  ------------------
  |  |  |  |  641|  33.3k|#define _PyHASH_XXPRIME_1 ((Py_uhash_t)11400714785074694791ULL)
  |  |  ------------------
  |  |  665|  33.3k|}
  ------------------
  667|  33.3k|    _PyHASH_SLICE_PART(stop);
  ------------------
  |  |  657|  33.3k|#define _PyHASH_SLICE_PART(com) { \
  |  |  658|  33.3k|    Py_uhash_t lane = PyObject_Hash(v->com); \
  |  |  659|  33.3k|    if(lane == (Py_uhash_t)-1) { \
  |  |  ------------------
  |  |  |  Branch (659:8): [True: 0, False: 33.3k]
  |  |  ------------------
  |  |  660|      0|        return -1; \
  |  |  661|      0|    } \
  |  |  662|  33.3k|    acc += lane * _PyHASH_XXPRIME_2; \
  |  |  ------------------
  |  |  |  |  642|  33.3k|#define _PyHASH_XXPRIME_2 ((Py_uhash_t)14029467366897019727ULL)
  |  |  ------------------
  |  |  663|  33.3k|    acc = _PyHASH_XXROTATE(acc); \
  |  |  ------------------
  |  |  |  |  644|  33.3k|#define _PyHASH_XXROTATE(x) ((x << 31) | (x >> 33))  /* Rotate left 31 bits */
  |  |  ------------------
  |  |  664|  33.3k|    acc *= _PyHASH_XXPRIME_1; \
  |  |  ------------------
  |  |  |  |  641|  33.3k|#define _PyHASH_XXPRIME_1 ((Py_uhash_t)11400714785074694791ULL)
  |  |  ------------------
  |  |  665|  33.3k|}
  ------------------
  668|  33.3k|    _PyHASH_SLICE_PART(step);
  ------------------
  |  |  657|  33.3k|#define _PyHASH_SLICE_PART(com) { \
  |  |  658|  33.3k|    Py_uhash_t lane = PyObject_Hash(v->com); \
  |  |  659|  33.3k|    if(lane == (Py_uhash_t)-1) { \
  |  |  ------------------
  |  |  |  Branch (659:8): [True: 0, False: 33.3k]
  |  |  ------------------
  |  |  660|      0|        return -1; \
  |  |  661|      0|    } \
  |  |  662|  33.3k|    acc += lane * _PyHASH_XXPRIME_2; \
  |  |  ------------------
  |  |  |  |  642|  33.3k|#define _PyHASH_XXPRIME_2 ((Py_uhash_t)14029467366897019727ULL)
  |  |  ------------------
  |  |  663|  33.3k|    acc = _PyHASH_XXROTATE(acc); \
  |  |  ------------------
  |  |  |  |  644|  33.3k|#define _PyHASH_XXROTATE(x) ((x << 31) | (x >> 33))  /* Rotate left 31 bits */
  |  |  ------------------
  |  |  664|  33.3k|    acc *= _PyHASH_XXPRIME_1; \
  |  |  ------------------
  |  |  |  |  641|  33.3k|#define _PyHASH_XXPRIME_1 ((Py_uhash_t)11400714785074694791ULL)
  |  |  ------------------
  |  |  665|  33.3k|}
  ------------------
  669|  33.3k|#undef _PyHASH_SLICE_PART
  670|  33.3k|    if(acc == (Py_uhash_t)-1) {
  ------------------
  |  Branch (670:8): [True: 0, False: 33.3k]
  ------------------
  671|      0|        return 1546275796;
  672|      0|    }
  673|  33.3k|    return acc;
  674|  33.3k|}
sliceobject.c:slice_traverse:
  631|  1.51k|{
  632|  1.51k|    PySliceObject *v = _PySlice_CAST(op);
  ------------------
  |  |   32|  1.51k|#define _PySlice_CAST(op) _Py_CAST(PySliceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  633|  1.51k|    Py_VISIT(v->start);
  ------------------
  |  |  194|  1.51k|    do {                                                                \
  |  |  195|  1.51k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.51k, False: 0]
  |  |  ------------------
  |  |  196|  1.51k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.51k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.51k]
  |  |  ------------------
  |  |  198|  1.51k|                return vret;                                            \
  |  |  199|  1.51k|        }                                                               \
  |  |  200|  1.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.51k]
  |  |  ------------------
  ------------------
  634|  1.51k|    Py_VISIT(v->stop);
  ------------------
  |  |  194|  1.51k|    do {                                                                \
  |  |  195|  1.51k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.51k, False: 0]
  |  |  ------------------
  |  |  196|  1.51k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.51k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.51k]
  |  |  ------------------
  |  |  198|  1.51k|                return vret;                                            \
  |  |  199|  1.51k|        }                                                               \
  |  |  200|  1.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.51k]
  |  |  ------------------
  ------------------
  635|  1.51k|    Py_VISIT(v->step);
  ------------------
  |  |  194|  1.51k|    do {                                                                \
  |  |  195|  1.51k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.51k, False: 0]
  |  |  ------------------
  |  |  196|  1.51k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.51k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.51k]
  |  |  ------------------
  |  |  198|  1.51k|                return vret;                                            \
  |  |  199|  1.51k|        }                                                               \
  |  |  200|  1.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.51k]
  |  |  ------------------
  ------------------
  636|  1.51k|    return 0;
  637|  1.51k|}
sliceobject.c:slice_richcompare:
  584|  20.0k|{
  585|  20.0k|    if (!PySlice_Check(v) || !PySlice_Check(w))
  ------------------
  |  |   22|  20.0k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  40.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  20.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  20.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PySlice_Check(v) || !PySlice_Check(w))
  ------------------
  |  |   22|  20.0k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  20.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  20.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  20.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (585:9): [True: 0, False: 20.0k]
  |  Branch (585:30): [True: 0, False: 20.0k]
  ------------------
  586|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  587|       |
  588|  20.0k|    if (v == w) {
  ------------------
  |  Branch (588:9): [True: 0, False: 20.0k]
  ------------------
  589|      0|        PyObject *res;
  590|       |        /* XXX Do we really need this shortcut?
  591|       |           There's a unit test for it, but is that fair? */
  592|      0|        switch (op) {
  593|      0|        case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (593:9): [True: 0, False: 0]
  ------------------
  594|      0|        case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (594:9): [True: 0, False: 0]
  ------------------
  595|      0|        case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (595:9): [True: 0, False: 0]
  ------------------
  596|      0|            res = Py_True;
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|      0|            break;
  598|      0|        default:
  ------------------
  |  Branch (598:9): [True: 0, False: 0]
  ------------------
  599|      0|            res = Py_False;
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  600|      0|            break;
  601|      0|        }
  602|      0|        return Py_NewRef(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  603|      0|    }
  604|       |
  605|       |
  606|  20.0k|    PyObject *t1 = PyTuple_Pack(3,
  607|  20.0k|                                ((PySliceObject *)v)->start,
  608|  20.0k|                                ((PySliceObject *)v)->stop,
  609|  20.0k|                                ((PySliceObject *)v)->step);
  610|  20.0k|    if (t1 == NULL) {
  ------------------
  |  Branch (610:9): [True: 0, False: 20.0k]
  ------------------
  611|      0|        return NULL;
  612|      0|    }
  613|       |
  614|  20.0k|    PyObject *t2 = PyTuple_Pack(3,
  615|  20.0k|                                ((PySliceObject *)w)->start,
  616|  20.0k|                                ((PySliceObject *)w)->stop,
  617|  20.0k|                                ((PySliceObject *)w)->step);
  618|  20.0k|    if (t2 == NULL) {
  ------------------
  |  Branch (618:9): [True: 0, False: 20.0k]
  ------------------
  619|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  620|      0|        return NULL;
  621|      0|    }
  622|       |
  623|  20.0k|    PyObject *res = PyObject_RichCompare(t1, t2, op);
  624|  20.0k|    Py_DECREF(t1);
  ------------------
  |  |  430|  20.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  625|  20.0k|    Py_DECREF(t2);
  ------------------
  |  |  430|  20.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  626|  20.0k|    return res;
  627|  20.0k|}

unicodeobject.c:ucs1lib_utf8_encoder:
  267|  5.36k|{
  268|       |#if STRINGLIB_SIZEOF_CHAR > 1
  269|       |    PyObject *error_handler_obj = NULL;
  270|       |    PyObject *exc = NULL;
  271|       |    PyObject *rep = NULL;
  272|       |#endif
  273|  5.36k|#if STRINGLIB_SIZEOF_CHAR == 1
  274|  5.36k|    const Py_ssize_t max_char_size = 2;
  275|       |#elif STRINGLIB_SIZEOF_CHAR == 2
  276|       |    const Py_ssize_t max_char_size = 3;
  277|       |#else /*  STRINGLIB_SIZEOF_CHAR == 4 */
  278|       |    const Py_ssize_t max_char_size = 4;
  279|       |#endif
  280|       |
  281|  5.36k|    assert(size >= 0);
  ------------------
  |  Branch (281:5): [True: 5.36k, False: 0]
  ------------------
  282|  5.36k|    if (size > PY_SSIZE_T_MAX / max_char_size) {
  ------------------
  |  |  137|  5.36k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (282:9): [True: 0, False: 5.36k]
  ------------------
  283|       |        /* integer overflow */
  284|      0|        PyErr_NoMemory();
  285|      0|        *end = NULL;
  286|      0|        return NULL;
  287|      0|    }
  288|       |
  289|  5.36k|    PyBytesWriter *writer = PyBytesWriter_Create(size * max_char_size);
  290|  5.36k|    if (writer == NULL) {
  ------------------
  |  Branch (290:9): [True: 0, False: 5.36k]
  ------------------
  291|      0|        *end = NULL;
  292|      0|        return NULL;
  293|      0|    }
  294|       |    /* next free byte in output buffer */
  295|  5.36k|    char *p = PyBytesWriter_GetData(writer);
  296|       |
  297|  5.36k|    Py_ssize_t i;                /* index into data of next input character */
  298|  2.18M|    for (i = 0; i < size;) {
  ------------------
  |  Branch (298:17): [True: 2.18M, False: 5.36k]
  ------------------
  299|  2.18M|        Py_UCS4 ch = data[i++];
  300|       |
  301|  2.18M|        if (ch < 0x80) {
  ------------------
  |  Branch (301:13): [True: 1.89M, False: 288k]
  ------------------
  302|       |            /* Encode ASCII */
  303|  1.89M|            *p++ = (char) ch;
  304|       |
  305|  1.89M|        }
  306|   288k|        else
  307|       |#if STRINGLIB_SIZEOF_CHAR > 1
  308|       |        if (ch < 0x0800)
  309|       |#endif
  310|   288k|        {
  311|       |            /* Encode Latin-1 */
  312|   288k|            *p++ = (char)(0xc0 | (ch >> 6));
  313|   288k|            *p++ = (char)(0x80 | (ch & 0x3f));
  314|   288k|        }
  315|       |#if STRINGLIB_SIZEOF_CHAR > 1
  316|       |        else if (Py_UNICODE_IS_SURROGATE(ch)) {
  317|       |            Py_ssize_t startpos, endpos, newpos;
  318|       |            Py_ssize_t k;
  319|       |            if (error_handler == _Py_ERROR_UNKNOWN) {
  320|       |                error_handler = _Py_GetErrorHandler(errors);
  321|       |            }
  322|       |
  323|       |            startpos = i-1;
  324|       |            endpos = startpos+1;
  325|       |
  326|       |            while ((endpos < size) && Py_UNICODE_IS_SURROGATE(data[endpos]))
  327|       |                endpos++;
  328|       |
  329|       |            /* Only overallocate the buffer if it's not the last write */
  330|       |            writer->overallocate = (endpos < size);
  331|       |
  332|       |            switch (error_handler)
  333|       |            {
  334|       |            case _Py_ERROR_REPLACE:
  335|       |                memset(p, '?', endpos - startpos);
  336|       |                p += (endpos - startpos);
  337|       |                _Py_FALLTHROUGH;
  338|       |            case _Py_ERROR_IGNORE:
  339|       |                i += (endpos - startpos - 1);
  340|       |                break;
  341|       |
  342|       |            case _Py_ERROR_SURROGATEPASS:
  343|       |                for (k=startpos; k<endpos; k++) {
  344|       |                    ch = data[k];
  345|       |                    *p++ = (char)(0xe0 | (ch >> 12));
  346|       |                    *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  347|       |                    *p++ = (char)(0x80 | (ch & 0x3f));
  348|       |                }
  349|       |                i += (endpos - startpos - 1);
  350|       |                break;
  351|       |
  352|       |            case _Py_ERROR_BACKSLASHREPLACE:
  353|       |                p = backslashreplace(writer, p,
  354|       |                                     unicode, startpos, endpos);
  355|       |                if (p == NULL)
  356|       |                    goto error;
  357|       |                i += (endpos - startpos - 1);
  358|       |                break;
  359|       |
  360|       |            case _Py_ERROR_XMLCHARREFREPLACE:
  361|       |                p = xmlcharrefreplace(writer, p,
  362|       |                                      unicode, startpos, endpos);
  363|       |                if (p == NULL)
  364|       |                    goto error;
  365|       |                i += (endpos - startpos - 1);
  366|       |                break;
  367|       |
  368|       |            case _Py_ERROR_SURROGATEESCAPE:
  369|       |                for (k=startpos; k<endpos; k++) {
  370|       |                    ch = data[k];
  371|       |                    if (!(0xDC80 <= ch && ch <= 0xDCFF))
  372|       |                        break;
  373|       |                    *p++ = (char)(ch & 0xff);
  374|       |                }
  375|       |                if (k >= endpos) {
  376|       |                    i += (endpos - startpos - 1);
  377|       |                    break;
  378|       |                }
  379|       |                startpos = k;
  380|       |                assert(startpos < endpos);
  381|       |                _Py_FALLTHROUGH;
  382|       |            default:
  383|       |                rep = unicode_encode_call_errorhandler(
  384|       |                      errors, &error_handler_obj, "utf-8", "surrogates not allowed",
  385|       |                      unicode, &exc, startpos, endpos, &newpos);
  386|       |                if (!rep)
  387|       |                    goto error;
  388|       |
  389|       |                if (newpos < startpos) {
  390|       |                    writer->overallocate = 1;
  391|       |                    p = PyBytesWriter_GrowAndUpdatePointer(writer,
  392|       |                                               max_char_size * (startpos - newpos),
  393|       |                                               p);
  394|       |                    if (p == NULL) {
  395|       |                        goto error;
  396|       |                    }
  397|       |                }
  398|       |                else {
  399|       |                    /* Only overallocate the buffer if it's not the last write */
  400|       |                    writer->overallocate = (newpos < size);
  401|       |
  402|       |                    /* subtract preallocated bytes */
  403|       |                    Py_ssize_t prealloc = max_char_size * (newpos - startpos);
  404|       |                    p = PyBytesWriter_GrowAndUpdatePointer(writer, -prealloc, p);
  405|       |                    if (p == NULL) {
  406|       |                        goto error;
  407|       |                    }
  408|       |                }
  409|       |
  410|       |                const char *rep_str;
  411|       |                Py_ssize_t rep_len;
  412|       |                if (PyBytes_Check(rep)) {
  413|       |                    rep_str = PyBytes_AS_STRING(rep);
  414|       |                    rep_len = PyBytes_GET_SIZE(rep);
  415|       |                }
  416|       |                else {
  417|       |                    /* rep is unicode */
  418|       |                    if (!PyUnicode_IS_ASCII(rep)) {
  419|       |                        raise_encode_exception(&exc, "utf-8", unicode,
  420|       |                                               startpos, endpos,
  421|       |                                               "surrogates not allowed");
  422|       |                        goto error;
  423|       |                    }
  424|       |
  425|       |                    rep_str = PyUnicode_DATA(rep);
  426|       |                    rep_len = PyUnicode_GET_LENGTH(rep);
  427|       |                }
  428|       |
  429|       |                p = PyBytesWriter_GrowAndUpdatePointer(writer, rep_len, p);
  430|       |                if (p == NULL) {
  431|       |                    goto error;
  432|       |                }
  433|       |                memcpy(p, rep_str, rep_len);
  434|       |                p += rep_len;
  435|       |                Py_CLEAR(rep);
  436|       |
  437|       |                i = newpos;
  438|       |            }
  439|       |
  440|       |            /* If overallocation was disabled, ensure that it was the last
  441|       |               write. Otherwise, we missed an optimization */
  442|       |            assert(writer->overallocate || i == size);
  443|       |        }
  444|       |        else
  445|       |#if STRINGLIB_SIZEOF_CHAR > 2
  446|       |        if (ch < 0x10000)
  447|       |#endif
  448|       |        {
  449|       |            *p++ = (char)(0xe0 | (ch >> 12));
  450|       |            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  451|       |            *p++ = (char)(0x80 | (ch & 0x3f));
  452|       |        }
  453|       |#if STRINGLIB_SIZEOF_CHAR > 2
  454|       |        else /* ch >= 0x10000 */
  455|       |        {
  456|       |            assert(ch <= MAX_UNICODE);
  457|       |            /* Encode UCS4 Unicode ordinals */
  458|       |            *p++ = (char)(0xf0 | (ch >> 18));
  459|       |            *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
  460|       |            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  461|       |            *p++ = (char)(0x80 | (ch & 0x3f));
  462|       |        }
  463|       |#endif /* STRINGLIB_SIZEOF_CHAR > 2 */
  464|       |#endif /* STRINGLIB_SIZEOF_CHAR > 1 */
  465|  2.18M|    }
  466|       |
  467|       |#if STRINGLIB_SIZEOF_CHAR > 1
  468|       |    Py_XDECREF(error_handler_obj);
  469|       |    Py_XDECREF(exc);
  470|       |#endif
  471|  5.36k|    *end = p;
  472|  5.36k|    return writer;
  473|       |
  474|       |#if STRINGLIB_SIZEOF_CHAR > 1
  475|       | error:
  476|       |    PyBytesWriter_Discard(writer);
  477|       |    Py_XDECREF(rep);
  478|       |    Py_XDECREF(error_handler_obj);
  479|       |    Py_XDECREF(exc);
  480|       |    *end = NULL;
  481|       |    return NULL;
  482|       |#endif
  483|  5.36k|}
unicodeobject.c:ucs2lib_utf8_encoder:
  267|  5.16k|{
  268|  5.16k|#if STRINGLIB_SIZEOF_CHAR > 1
  269|  5.16k|    PyObject *error_handler_obj = NULL;
  270|  5.16k|    PyObject *exc = NULL;
  271|  5.16k|    PyObject *rep = NULL;
  272|  5.16k|#endif
  273|       |#if STRINGLIB_SIZEOF_CHAR == 1
  274|       |    const Py_ssize_t max_char_size = 2;
  275|       |#elif STRINGLIB_SIZEOF_CHAR == 2
  276|       |    const Py_ssize_t max_char_size = 3;
  277|       |#else /*  STRINGLIB_SIZEOF_CHAR == 4 */
  278|       |    const Py_ssize_t max_char_size = 4;
  279|       |#endif
  280|       |
  281|  5.16k|    assert(size >= 0);
  ------------------
  |  Branch (281:5): [True: 5.16k, False: 0]
  ------------------
  282|  5.16k|    if (size > PY_SSIZE_T_MAX / max_char_size) {
  ------------------
  |  |  137|  5.16k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (282:9): [True: 0, False: 5.16k]
  ------------------
  283|       |        /* integer overflow */
  284|      0|        PyErr_NoMemory();
  285|      0|        *end = NULL;
  286|      0|        return NULL;
  287|      0|    }
  288|       |
  289|  5.16k|    PyBytesWriter *writer = PyBytesWriter_Create(size * max_char_size);
  290|  5.16k|    if (writer == NULL) {
  ------------------
  |  Branch (290:9): [True: 0, False: 5.16k]
  ------------------
  291|      0|        *end = NULL;
  292|      0|        return NULL;
  293|      0|    }
  294|       |    /* next free byte in output buffer */
  295|  5.16k|    char *p = PyBytesWriter_GetData(writer);
  296|       |
  297|  5.16k|    Py_ssize_t i;                /* index into data of next input character */
  298|  5.41M|    for (i = 0; i < size;) {
  ------------------
  |  Branch (298:17): [True: 5.41M, False: 5.13k]
  ------------------
  299|  5.41M|        Py_UCS4 ch = data[i++];
  300|       |
  301|  5.41M|        if (ch < 0x80) {
  ------------------
  |  Branch (301:13): [True: 3.25M, False: 2.15M]
  ------------------
  302|       |            /* Encode ASCII */
  303|  3.25M|            *p++ = (char) ch;
  304|       |
  305|  3.25M|        }
  306|  2.15M|        else
  307|  2.15M|#if STRINGLIB_SIZEOF_CHAR > 1
  308|  2.15M|        if (ch < 0x0800)
  ------------------
  |  Branch (308:13): [True: 617k, False: 1.53M]
  ------------------
  309|   617k|#endif
  310|   617k|        {
  311|       |            /* Encode Latin-1 */
  312|   617k|            *p++ = (char)(0xc0 | (ch >> 6));
  313|   617k|            *p++ = (char)(0x80 | (ch & 0x3f));
  314|   617k|        }
  315|  1.53M|#if STRINGLIB_SIZEOF_CHAR > 1
  316|  1.53M|        else if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (316:18): [True: 27, False: 1.53M]
  ------------------
  317|     27|            Py_ssize_t startpos, endpos, newpos;
  318|     27|            Py_ssize_t k;
  319|     27|            if (error_handler == _Py_ERROR_UNKNOWN) {
  ------------------
  |  Branch (319:17): [True: 0, False: 27]
  ------------------
  320|      0|                error_handler = _Py_GetErrorHandler(errors);
  321|      0|            }
  322|       |
  323|     27|            startpos = i-1;
  324|     27|            endpos = startpos+1;
  325|       |
  326|     69|            while ((endpos < size) && Py_UNICODE_IS_SURROGATE(data[endpos]))
  ------------------
  |  Branch (326:20): [True: 67, False: 2]
  |  Branch (326:39): [True: 42, False: 25]
  ------------------
  327|     42|                endpos++;
  328|       |
  329|       |            /* Only overallocate the buffer if it's not the last write */
  330|     27|            writer->overallocate = (endpos < size);
  331|       |
  332|     27|            switch (error_handler)
  333|     27|            {
  334|      0|            case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (334:13): [True: 0, False: 27]
  ------------------
  335|      0|                memset(p, '?', endpos - startpos);
  336|      0|                p += (endpos - startpos);
  337|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  338|      0|            case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (338:13): [True: 0, False: 27]
  ------------------
  339|      0|                i += (endpos - startpos - 1);
  340|      0|                break;
  341|       |
  342|      0|            case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (342:13): [True: 0, False: 27]
  ------------------
  343|      0|                for (k=startpos; k<endpos; k++) {
  ------------------
  |  Branch (343:34): [True: 0, False: 0]
  ------------------
  344|      0|                    ch = data[k];
  345|      0|                    *p++ = (char)(0xe0 | (ch >> 12));
  346|      0|                    *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  347|      0|                    *p++ = (char)(0x80 | (ch & 0x3f));
  348|      0|                }
  349|      0|                i += (endpos - startpos - 1);
  350|      0|                break;
  351|       |
  352|      0|            case _Py_ERROR_BACKSLASHREPLACE:
  ------------------
  |  Branch (352:13): [True: 0, False: 27]
  ------------------
  353|      0|                p = backslashreplace(writer, p,
  354|      0|                                     unicode, startpos, endpos);
  355|      0|                if (p == NULL)
  ------------------
  |  Branch (355:21): [True: 0, False: 0]
  ------------------
  356|      0|                    goto error;
  357|      0|                i += (endpos - startpos - 1);
  358|      0|                break;
  359|       |
  360|      0|            case _Py_ERROR_XMLCHARREFREPLACE:
  ------------------
  |  Branch (360:13): [True: 0, False: 27]
  ------------------
  361|      0|                p = xmlcharrefreplace(writer, p,
  362|      0|                                      unicode, startpos, endpos);
  363|      0|                if (p == NULL)
  ------------------
  |  Branch (363:21): [True: 0, False: 0]
  ------------------
  364|      0|                    goto error;
  365|      0|                i += (endpos - startpos - 1);
  366|      0|                break;
  367|       |
  368|      0|            case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (368:13): [True: 0, False: 27]
  ------------------
  369|      0|                for (k=startpos; k<endpos; k++) {
  ------------------
  |  Branch (369:34): [True: 0, False: 0]
  ------------------
  370|      0|                    ch = data[k];
  371|      0|                    if (!(0xDC80 <= ch && ch <= 0xDCFF))
  ------------------
  |  Branch (371:27): [True: 0, False: 0]
  |  Branch (371:43): [True: 0, False: 0]
  ------------------
  372|      0|                        break;
  373|      0|                    *p++ = (char)(ch & 0xff);
  374|      0|                }
  375|      0|                if (k >= endpos) {
  ------------------
  |  Branch (375:21): [True: 0, False: 0]
  ------------------
  376|      0|                    i += (endpos - startpos - 1);
  377|      0|                    break;
  378|      0|                }
  379|      0|                startpos = k;
  380|      0|                assert(startpos < endpos);
  ------------------
  |  Branch (380:17): [True: 0, False: 0]
  ------------------
  381|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  382|     27|            default:
  ------------------
  |  Branch (382:13): [True: 27, False: 0]
  ------------------
  383|     27|                rep = unicode_encode_call_errorhandler(
  384|     27|                      errors, &error_handler_obj, "utf-8", "surrogates not allowed",
  385|     27|                      unicode, &exc, startpos, endpos, &newpos);
  386|     27|                if (!rep)
  ------------------
  |  Branch (386:21): [True: 27, False: 0]
  ------------------
  387|     27|                    goto error;
  388|       |
  389|      0|                if (newpos < startpos) {
  ------------------
  |  Branch (389:21): [True: 0, False: 0]
  ------------------
  390|      0|                    writer->overallocate = 1;
  391|      0|                    p = PyBytesWriter_GrowAndUpdatePointer(writer,
  392|      0|                                               max_char_size * (startpos - newpos),
  393|      0|                                               p);
  394|      0|                    if (p == NULL) {
  ------------------
  |  Branch (394:25): [True: 0, False: 0]
  ------------------
  395|      0|                        goto error;
  396|      0|                    }
  397|      0|                }
  398|      0|                else {
  399|       |                    /* Only overallocate the buffer if it's not the last write */
  400|      0|                    writer->overallocate = (newpos < size);
  401|       |
  402|       |                    /* subtract preallocated bytes */
  403|      0|                    Py_ssize_t prealloc = max_char_size * (newpos - startpos);
  404|      0|                    p = PyBytesWriter_GrowAndUpdatePointer(writer, -prealloc, p);
  405|      0|                    if (p == NULL) {
  ------------------
  |  Branch (405:25): [True: 0, False: 0]
  ------------------
  406|      0|                        goto error;
  407|      0|                    }
  408|      0|                }
  409|       |
  410|      0|                const char *rep_str;
  411|      0|                Py_ssize_t rep_len;
  412|      0|                if (PyBytes_Check(rep)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|      0|                    rep_str = PyBytes_AS_STRING(rep);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|      0|                    rep_len = PyBytes_GET_SIZE(rep);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  415|      0|                }
  416|      0|                else {
  417|       |                    /* rep is unicode */
  418|      0|                    if (!PyUnicode_IS_ASCII(rep)) {
  ------------------
  |  |  228|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (418:25): [True: 0, False: 0]
  ------------------
  419|      0|                        raise_encode_exception(&exc, "utf-8", unicode,
  420|      0|                                               startpos, endpos,
  421|      0|                                               "surrogates not allowed");
  422|      0|                        goto error;
  423|      0|                    }
  424|       |
  425|      0|                    rep_str = PyUnicode_DATA(rep);
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  426|      0|                    rep_len = PyUnicode_GET_LENGTH(rep);
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  427|      0|                }
  428|       |
  429|      0|                p = PyBytesWriter_GrowAndUpdatePointer(writer, rep_len, p);
  430|      0|                if (p == NULL) {
  ------------------
  |  Branch (430:21): [True: 0, False: 0]
  ------------------
  431|      0|                    goto error;
  432|      0|                }
  433|      0|                memcpy(p, rep_str, rep_len);
  434|      0|                p += rep_len;
  435|      0|                Py_CLEAR(rep);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  436|       |
  437|      0|                i = newpos;
  438|     27|            }
  439|       |
  440|       |            /* If overallocation was disabled, ensure that it was the last
  441|       |               write. Otherwise, we missed an optimization */
  442|     27|            assert(writer->overallocate || i == size);
  ------------------
  |  Branch (442:13): [True: 0, False: 0]
  |  Branch (442:13): [True: 0, False: 0]
  ------------------
  443|      0|        }
  444|  1.53M|        else
  445|       |#if STRINGLIB_SIZEOF_CHAR > 2
  446|       |        if (ch < 0x10000)
  447|       |#endif
  448|  1.53M|        {
  449|  1.53M|            *p++ = (char)(0xe0 | (ch >> 12));
  450|  1.53M|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  451|  1.53M|            *p++ = (char)(0x80 | (ch & 0x3f));
  452|  1.53M|        }
  453|       |#if STRINGLIB_SIZEOF_CHAR > 2
  454|       |        else /* ch >= 0x10000 */
  455|       |        {
  456|       |            assert(ch <= MAX_UNICODE);
  457|       |            /* Encode UCS4 Unicode ordinals */
  458|       |            *p++ = (char)(0xf0 | (ch >> 18));
  459|       |            *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
  460|       |            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  461|       |            *p++ = (char)(0x80 | (ch & 0x3f));
  462|       |        }
  463|       |#endif /* STRINGLIB_SIZEOF_CHAR > 2 */
  464|  5.41M|#endif /* STRINGLIB_SIZEOF_CHAR > 1 */
  465|  5.41M|    }
  466|       |
  467|  5.13k|#if STRINGLIB_SIZEOF_CHAR > 1
  468|  5.13k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|  5.13k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  469|  5.13k|    Py_XDECREF(exc);
  ------------------
  |  |  621|  5.13k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|  5.13k|#endif
  471|  5.13k|    *end = p;
  472|  5.13k|    return writer;
  473|       |
  474|      0|#if STRINGLIB_SIZEOF_CHAR > 1
  475|     27| error:
  476|     27|    PyBytesWriter_Discard(writer);
  477|     27|    Py_XDECREF(rep);
  ------------------
  |  |  621|     27|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|     27|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|     27|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|     27|    Py_XDECREF(exc);
  ------------------
  |  |  621|     27|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|     27|    *end = NULL;
  481|       |    return NULL;
  482|  5.16k|#endif
  483|  5.16k|}
unicodeobject.c:ucs4lib_utf8_encoder:
  267|  1.84k|{
  268|  1.84k|#if STRINGLIB_SIZEOF_CHAR > 1
  269|  1.84k|    PyObject *error_handler_obj = NULL;
  270|  1.84k|    PyObject *exc = NULL;
  271|  1.84k|    PyObject *rep = NULL;
  272|  1.84k|#endif
  273|       |#if STRINGLIB_SIZEOF_CHAR == 1
  274|       |    const Py_ssize_t max_char_size = 2;
  275|       |#elif STRINGLIB_SIZEOF_CHAR == 2
  276|       |    const Py_ssize_t max_char_size = 3;
  277|       |#else /*  STRINGLIB_SIZEOF_CHAR == 4 */
  278|  1.84k|    const Py_ssize_t max_char_size = 4;
  279|  1.84k|#endif
  280|       |
  281|  1.84k|    assert(size >= 0);
  ------------------
  |  Branch (281:5): [True: 1.84k, False: 0]
  ------------------
  282|  1.84k|    if (size > PY_SSIZE_T_MAX / max_char_size) {
  ------------------
  |  |  137|  1.84k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (282:9): [True: 0, False: 1.84k]
  ------------------
  283|       |        /* integer overflow */
  284|      0|        PyErr_NoMemory();
  285|      0|        *end = NULL;
  286|      0|        return NULL;
  287|      0|    }
  288|       |
  289|  1.84k|    PyBytesWriter *writer = PyBytesWriter_Create(size * max_char_size);
  290|  1.84k|    if (writer == NULL) {
  ------------------
  |  Branch (290:9): [True: 0, False: 1.84k]
  ------------------
  291|      0|        *end = NULL;
  292|      0|        return NULL;
  293|      0|    }
  294|       |    /* next free byte in output buffer */
  295|  1.84k|    char *p = PyBytesWriter_GetData(writer);
  296|       |
  297|  1.84k|    Py_ssize_t i;                /* index into data of next input character */
  298|   737k|    for (i = 0; i < size;) {
  ------------------
  |  Branch (298:17): [True: 735k, False: 1.83k]
  ------------------
  299|   735k|        Py_UCS4 ch = data[i++];
  300|       |
  301|   735k|        if (ch < 0x80) {
  ------------------
  |  Branch (301:13): [True: 591k, False: 143k]
  ------------------
  302|       |            /* Encode ASCII */
  303|   591k|            *p++ = (char) ch;
  304|       |
  305|   591k|        }
  306|   143k|        else
  307|   143k|#if STRINGLIB_SIZEOF_CHAR > 1
  308|   143k|        if (ch < 0x0800)
  ------------------
  |  Branch (308:13): [True: 11.2k, False: 132k]
  ------------------
  309|  11.2k|#endif
  310|  11.2k|        {
  311|       |            /* Encode Latin-1 */
  312|  11.2k|            *p++ = (char)(0xc0 | (ch >> 6));
  313|  11.2k|            *p++ = (char)(0x80 | (ch & 0x3f));
  314|  11.2k|        }
  315|   132k|#if STRINGLIB_SIZEOF_CHAR > 1
  316|   132k|        else if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (316:18): [True: 11, False: 132k]
  ------------------
  317|     11|            Py_ssize_t startpos, endpos, newpos;
  318|     11|            Py_ssize_t k;
  319|     11|            if (error_handler == _Py_ERROR_UNKNOWN) {
  ------------------
  |  Branch (319:17): [True: 0, False: 11]
  ------------------
  320|      0|                error_handler = _Py_GetErrorHandler(errors);
  321|      0|            }
  322|       |
  323|     11|            startpos = i-1;
  324|     11|            endpos = startpos+1;
  325|       |
  326|     26|            while ((endpos < size) && Py_UNICODE_IS_SURROGATE(data[endpos]))
  ------------------
  |  Branch (326:20): [True: 25, False: 1]
  |  Branch (326:39): [True: 15, False: 10]
  ------------------
  327|     15|                endpos++;
  328|       |
  329|       |            /* Only overallocate the buffer if it's not the last write */
  330|     11|            writer->overallocate = (endpos < size);
  331|       |
  332|     11|            switch (error_handler)
  333|     11|            {
  334|      0|            case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (334:13): [True: 0, False: 11]
  ------------------
  335|      0|                memset(p, '?', endpos - startpos);
  336|      0|                p += (endpos - startpos);
  337|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  338|      0|            case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (338:13): [True: 0, False: 11]
  ------------------
  339|      0|                i += (endpos - startpos - 1);
  340|      0|                break;
  341|       |
  342|      0|            case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (342:13): [True: 0, False: 11]
  ------------------
  343|      0|                for (k=startpos; k<endpos; k++) {
  ------------------
  |  Branch (343:34): [True: 0, False: 0]
  ------------------
  344|      0|                    ch = data[k];
  345|      0|                    *p++ = (char)(0xe0 | (ch >> 12));
  346|      0|                    *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  347|      0|                    *p++ = (char)(0x80 | (ch & 0x3f));
  348|      0|                }
  349|      0|                i += (endpos - startpos - 1);
  350|      0|                break;
  351|       |
  352|      0|            case _Py_ERROR_BACKSLASHREPLACE:
  ------------------
  |  Branch (352:13): [True: 0, False: 11]
  ------------------
  353|      0|                p = backslashreplace(writer, p,
  354|      0|                                     unicode, startpos, endpos);
  355|      0|                if (p == NULL)
  ------------------
  |  Branch (355:21): [True: 0, False: 0]
  ------------------
  356|      0|                    goto error;
  357|      0|                i += (endpos - startpos - 1);
  358|      0|                break;
  359|       |
  360|      0|            case _Py_ERROR_XMLCHARREFREPLACE:
  ------------------
  |  Branch (360:13): [True: 0, False: 11]
  ------------------
  361|      0|                p = xmlcharrefreplace(writer, p,
  362|      0|                                      unicode, startpos, endpos);
  363|      0|                if (p == NULL)
  ------------------
  |  Branch (363:21): [True: 0, False: 0]
  ------------------
  364|      0|                    goto error;
  365|      0|                i += (endpos - startpos - 1);
  366|      0|                break;
  367|       |
  368|      0|            case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (368:13): [True: 0, False: 11]
  ------------------
  369|      0|                for (k=startpos; k<endpos; k++) {
  ------------------
  |  Branch (369:34): [True: 0, False: 0]
  ------------------
  370|      0|                    ch = data[k];
  371|      0|                    if (!(0xDC80 <= ch && ch <= 0xDCFF))
  ------------------
  |  Branch (371:27): [True: 0, False: 0]
  |  Branch (371:43): [True: 0, False: 0]
  ------------------
  372|      0|                        break;
  373|      0|                    *p++ = (char)(ch & 0xff);
  374|      0|                }
  375|      0|                if (k >= endpos) {
  ------------------
  |  Branch (375:21): [True: 0, False: 0]
  ------------------
  376|      0|                    i += (endpos - startpos - 1);
  377|      0|                    break;
  378|      0|                }
  379|      0|                startpos = k;
  380|      0|                assert(startpos < endpos);
  ------------------
  |  Branch (380:17): [True: 0, False: 0]
  ------------------
  381|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  382|     11|            default:
  ------------------
  |  Branch (382:13): [True: 11, False: 0]
  ------------------
  383|     11|                rep = unicode_encode_call_errorhandler(
  384|     11|                      errors, &error_handler_obj, "utf-8", "surrogates not allowed",
  385|     11|                      unicode, &exc, startpos, endpos, &newpos);
  386|     11|                if (!rep)
  ------------------
  |  Branch (386:21): [True: 11, False: 0]
  ------------------
  387|     11|                    goto error;
  388|       |
  389|      0|                if (newpos < startpos) {
  ------------------
  |  Branch (389:21): [True: 0, False: 0]
  ------------------
  390|      0|                    writer->overallocate = 1;
  391|      0|                    p = PyBytesWriter_GrowAndUpdatePointer(writer,
  392|      0|                                               max_char_size * (startpos - newpos),
  393|      0|                                               p);
  394|      0|                    if (p == NULL) {
  ------------------
  |  Branch (394:25): [True: 0, False: 0]
  ------------------
  395|      0|                        goto error;
  396|      0|                    }
  397|      0|                }
  398|      0|                else {
  399|       |                    /* Only overallocate the buffer if it's not the last write */
  400|      0|                    writer->overallocate = (newpos < size);
  401|       |
  402|       |                    /* subtract preallocated bytes */
  403|      0|                    Py_ssize_t prealloc = max_char_size * (newpos - startpos);
  404|      0|                    p = PyBytesWriter_GrowAndUpdatePointer(writer, -prealloc, p);
  405|      0|                    if (p == NULL) {
  ------------------
  |  Branch (405:25): [True: 0, False: 0]
  ------------------
  406|      0|                        goto error;
  407|      0|                    }
  408|      0|                }
  409|       |
  410|      0|                const char *rep_str;
  411|      0|                Py_ssize_t rep_len;
  412|      0|                if (PyBytes_Check(rep)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|      0|                    rep_str = PyBytes_AS_STRING(rep);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|      0|                    rep_len = PyBytes_GET_SIZE(rep);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  415|      0|                }
  416|      0|                else {
  417|       |                    /* rep is unicode */
  418|      0|                    if (!PyUnicode_IS_ASCII(rep)) {
  ------------------
  |  |  228|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (418:25): [True: 0, False: 0]
  ------------------
  419|      0|                        raise_encode_exception(&exc, "utf-8", unicode,
  420|      0|                                               startpos, endpos,
  421|      0|                                               "surrogates not allowed");
  422|      0|                        goto error;
  423|      0|                    }
  424|       |
  425|      0|                    rep_str = PyUnicode_DATA(rep);
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  426|      0|                    rep_len = PyUnicode_GET_LENGTH(rep);
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  427|      0|                }
  428|       |
  429|      0|                p = PyBytesWriter_GrowAndUpdatePointer(writer, rep_len, p);
  430|      0|                if (p == NULL) {
  ------------------
  |  Branch (430:21): [True: 0, False: 0]
  ------------------
  431|      0|                    goto error;
  432|      0|                }
  433|      0|                memcpy(p, rep_str, rep_len);
  434|      0|                p += rep_len;
  435|      0|                Py_CLEAR(rep);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  436|       |
  437|      0|                i = newpos;
  438|     11|            }
  439|       |
  440|       |            /* If overallocation was disabled, ensure that it was the last
  441|       |               write. Otherwise, we missed an optimization */
  442|     11|            assert(writer->overallocate || i == size);
  ------------------
  |  Branch (442:13): [True: 0, False: 0]
  |  Branch (442:13): [True: 0, False: 0]
  ------------------
  443|      0|        }
  444|   132k|        else
  445|   132k|#if STRINGLIB_SIZEOF_CHAR > 2
  446|   132k|        if (ch < 0x10000)
  ------------------
  |  Branch (446:13): [True: 119k, False: 12.7k]
  ------------------
  447|   119k|#endif
  448|   119k|        {
  449|   119k|            *p++ = (char)(0xe0 | (ch >> 12));
  450|   119k|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  451|   119k|            *p++ = (char)(0x80 | (ch & 0x3f));
  452|   119k|        }
  453|  12.7k|#if STRINGLIB_SIZEOF_CHAR > 2
  454|  12.7k|        else /* ch >= 0x10000 */
  455|  12.7k|        {
  456|  12.7k|            assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (456:13): [True: 12.7k, False: 0]
  ------------------
  457|       |            /* Encode UCS4 Unicode ordinals */
  458|  12.7k|            *p++ = (char)(0xf0 | (ch >> 18));
  459|  12.7k|            *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
  460|  12.7k|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  461|  12.7k|            *p++ = (char)(0x80 | (ch & 0x3f));
  462|  12.7k|        }
  463|   735k|#endif /* STRINGLIB_SIZEOF_CHAR > 2 */
  464|   735k|#endif /* STRINGLIB_SIZEOF_CHAR > 1 */
  465|   735k|    }
  466|       |
  467|  1.83k|#if STRINGLIB_SIZEOF_CHAR > 1
  468|  1.83k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|  1.83k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  469|  1.83k|    Py_XDECREF(exc);
  ------------------
  |  |  621|  1.83k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|  1.83k|#endif
  471|  1.83k|    *end = p;
  472|  1.83k|    return writer;
  473|       |
  474|      0|#if STRINGLIB_SIZEOF_CHAR > 1
  475|     11| error:
  476|     11|    PyBytesWriter_Discard(writer);
  477|     11|    Py_XDECREF(rep);
  ------------------
  |  |  621|     11|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|     11|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|     11|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|     11|    Py_XDECREF(exc);
  ------------------
  |  |  621|     11|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|     11|    *end = NULL;
  481|       |    return NULL;
  482|  1.84k|#endif
  483|  1.84k|}
unicodeobject.c:asciilib_utf8_decode:
   26|  8.01k|{
   27|  8.01k|    Py_UCS4 ch;
   28|  8.01k|    const char *s = *inptr;
   29|  8.01k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|  8.01k|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   30|       |
   31|  8.01k|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 8.01k, False: 0]
  ------------------
   32|  8.01k|        ch = (unsigned char)*s;
   33|       |
   34|  8.01k|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 0, False: 8.01k]
  ------------------
   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|  8.01k|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 3.42k, False: 4.58k]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|  3.42k|            Py_UCS4 ch2;
  100|  3.42k|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 796, False: 2.62k]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|    796|                goto InvalidStart;
  105|    796|            }
  106|  2.62k|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 56, False: 2.57k]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|     56|                break;
  110|     56|            }
  111|  2.57k|            ch2 = (unsigned char)s[1];
  112|  2.57k|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|  2.57k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 2.47k, False: 99]
  |  |  |  Branch (20:51): [True: 2.41k, False: 59]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|    158|                goto InvalidContinuation1;
  115|  2.41k|            ch = (ch << 6) + ch2 -
  116|  2.41k|                 ((0xC0 << 6) + 0x80);
  117|  2.41k|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 2.41k, False: 0]
  |  Branch (117:13): [True: 2.41k, False: 0]
  ------------------
  118|  2.41k|            s += 2;
  119|  2.41k|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|  2.41k|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (119:17): [True: 2.41k, 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|  2.41k|                goto Return;
  123|      0|            *p++ = ch;
  124|      0|            continue;
  125|  2.41k|        }
  126|       |
  127|  4.58k|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 2.75k, False: 1.83k]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|  2.75k|            Py_UCS4 ch2, ch3;
  130|  2.75k|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 343, False: 2.40k]
  ------------------
  131|       |                /* unexpected end of data: the caller will decide whether
  132|       |                   it's an error or not */
  133|    343|                if (end - s < 2)
  ------------------
  |  Branch (133:21): [True: 232, False: 111]
  ------------------
  134|    232|                    break;
  135|    111|                ch2 = (unsigned char)s[1];
  136|    111|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|    222|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 98, False: 13]
  |  |  |  Branch (20:51): [True: 89, False: 9]
  |  |  ------------------
  ------------------
  137|     89|                    (ch2 < 0xA0 ? ch == 0xE0 : ch == 0xED))
  ------------------
  |  Branch (137:21): [True: 6, False: 83]
  |  Branch (137:22): [True: 9, False: 80]
  ------------------
  138|       |                    /* for clarification see comments below */
  139|     28|                    goto InvalidContinuation1;
  140|     83|                break;
  141|    111|            }
  142|  2.40k|            ch2 = (unsigned char)s[1];
  143|  2.40k|            ch3 = (unsigned char)s[2];
  144|  2.40k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  2.40k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 2.36k, False: 44]
  |  |  |  Branch (20:51): [True: 2.32k, False: 42]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|     86|                goto InvalidContinuation1;
  147|     86|            }
  148|  2.32k|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 284, False: 2.03k]
  ------------------
  149|    284|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 10, False: 274]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|     10|                    goto InvalidContinuation1;
  153|  2.03k|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 68, False: 1.97k]
  |  Branch (153:38): [True: 12, False: 56]
  ------------------
  154|       |                /* Decoding UTF-8 sequences in range \xED\xA0\x80-\xED\xBF\xBF
  155|       |                   will result in surrogates in range D800-DFFF. Surrogates are
  156|       |                   not valid UTF-8 so they are rejected.
  157|       |                   See https://www.unicode.org/versions/Unicode5.2.0/ch03.pdf
  158|       |                   (table 3-7) and http://www.rfc-editor.org/rfc/rfc3629.txt */
  159|     12|                goto InvalidContinuation1;
  160|     12|            }
  161|  2.30k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  2.30k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 2.27k, False: 24]
  |  |  |  Branch (20:51): [True: 2.26k, False: 17]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|     41|                goto InvalidContinuation2;
  164|     41|            }
  165|  2.26k|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|  2.26k|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|  2.26k|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 2.26k, False: 0]
  |  Branch (167:13): [True: 2.26k, False: 0]
  ------------------
  168|  2.26k|            s += 3;
  169|  2.26k|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|  2.26k|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (169:17): [True: 2.26k, 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|  2.26k|                goto Return;
  173|      0|            *p++ = ch;
  174|      0|            continue;
  175|  2.26k|        }
  176|       |
  177|  1.83k|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 1.62k, False: 210]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|  1.62k|            Py_UCS4 ch2, ch3, ch4;
  180|  1.62k|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 127, False: 1.50k]
  ------------------
  181|       |                /* unexpected end of data: the caller will decide whether
  182|       |                   it's an error or not */
  183|    127|                if (end - s < 2)
  ------------------
  |  Branch (183:21): [True: 50, False: 77]
  ------------------
  184|     50|                    break;
  185|     77|                ch2 = (unsigned char)s[1];
  186|     77|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|    154|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 61, False: 16]
  |  |  |  Branch (20:51): [True: 48, False: 13]
  |  |  ------------------
  ------------------
  187|     48|                    (ch2 < 0x90 ? ch == 0xF0 : ch == 0xF4))
  ------------------
  |  Branch (187:21): [True: 14, False: 34]
  |  Branch (187:22): [True: 23, False: 25]
  ------------------
  188|       |                    /* for clarification see comments below */
  189|     43|                    goto InvalidContinuation1;
  190|     34|                if (end - s < 3)
  ------------------
  |  Branch (190:21): [True: 14, False: 20]
  ------------------
  191|     14|                    break;
  192|     20|                ch3 = (unsigned char)s[2];
  193|     20|                if (!IS_CONTINUATION_BYTE(ch3))
  ------------------
  |  |   20|     20|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 13, False: 7]
  |  |  |  Branch (20:51): [True: 10, False: 3]
  |  |  ------------------
  ------------------
  194|     10|                    goto InvalidContinuation2;
  195|     10|                break;
  196|     20|            }
  197|  1.50k|            ch2 = (unsigned char)s[1];
  198|  1.50k|            ch3 = (unsigned char)s[2];
  199|  1.50k|            ch4 = (unsigned char)s[3];
  200|  1.50k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  1.50k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.47k, False: 22]
  |  |  |  Branch (20:51): [True: 1.42k, False: 53]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|     75|                goto InvalidContinuation1;
  203|     75|            }
  204|  1.42k|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 619, False: 806]
  ------------------
  205|    619|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 9, False: 610]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|      9|                    goto InvalidContinuation1;
  209|    806|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 156, False: 650]
  |  Branch (209:38): [True: 7, False: 149]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|      7|                goto InvalidContinuation1;
  213|      7|            }
  214|  1.40k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  1.40k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.38k, False: 21]
  |  |  |  Branch (20:51): [True: 1.37k, False: 9]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|     30|                goto InvalidContinuation2;
  217|     30|            }
  218|  1.37k|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|  1.37k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.36k, False: 10]
  |  |  |  Branch (20:51): [True: 1.35k, False: 17]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|     27|                goto InvalidContinuation3;
  221|     27|            }
  222|  1.35k|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|  1.35k|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|  1.35k|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  ------------------
  |  Branch (224:13): [True: 1.35k, False: 0]
  |  Branch (224:13): [True: 1.35k, False: 0]
  ------------------
  225|  1.35k|            s += 4;
  226|  1.35k|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|  1.35k|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (226:17): [True: 1.35k, 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|  1.35k|                goto Return;
  230|      0|            *p++ = ch;
  231|      0|            continue;
  232|  1.35k|        }
  233|    210|        goto InvalidStart;
  234|  1.83k|    }
  235|    445|    ch = 0;
  236|  8.01k|Return:
  237|  8.01k|    *inptr = s;
  238|  8.01k|    *outpos = p - dest;
  239|  8.01k|    return ch;
  240|  1.00k|InvalidStart:
  241|  1.00k|    ch = 1;
  242|  1.00k|    goto Return;
  243|    428|InvalidContinuation1:
  244|    428|    ch = 2;
  245|    428|    goto Return;
  246|     81|InvalidContinuation2:
  247|     81|    ch = 3;
  248|     81|    goto Return;
  249|     27|InvalidContinuation3:
  250|     27|    ch = 4;
  251|     27|    goto Return;
  252|    445|}
unicodeobject.c:ucs1lib_utf8_decode:
   26|  54.3k|{
   27|  54.3k|    Py_UCS4 ch;
   28|  54.3k|    const char *s = *inptr;
   29|  54.3k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|  54.3k|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   30|       |
   31|   649k|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 602k, False: 46.7k]
  ------------------
   32|   602k|        ch = (unsigned char)*s;
   33|       |
   34|   602k|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 195k, False: 406k]
  ------------------
   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|   195k|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|   195k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 24.8k, False: 170k]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|  24.8k|                const char *_s = s;
   45|  24.8k|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|  24.8k|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   46|  98.2k|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1813|  98.2k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 89.3k, False: 8.89k]
  ------------------
   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|  89.3k|                    size_t value = *(const size_t *) _s;
   51|  89.3k|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|  89.3k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 15.9k, False: 73.4k]
  ------------------
   52|  15.9k|                        break;
   53|  73.4k|#if PY_LITTLE_ENDIAN
   54|  73.4k|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|  73.4k|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|  73.4k|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|  73.4k|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|  73.4k|# if SIZEOF_SIZE_T == 8
   59|  73.4k|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|  73.4k|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|  73.4k|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|  73.4k|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|  73.4k|# 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|  73.4k|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|  73.4k|#define SIZEOF_SIZE_T 8
  ------------------
   82|  73.4k|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|  73.4k|#define SIZEOF_SIZE_T 8
  ------------------
   83|  73.4k|                }
   84|  24.8k|                s = _s;
   85|  24.8k|                p = _p;
   86|  24.8k|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 532, False: 24.2k]
  ------------------
   87|    532|                    break;
   88|  24.2k|                ch = (unsigned char)*s;
   89|  24.2k|            }
   90|   195k|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 193k, False: 1.50k]
  ------------------
   91|   193k|                s++;
   92|   193k|                *p++ = ch;
   93|   193k|                continue;
   94|   193k|            }
   95|   195k|        }
   96|       |
   97|   408k|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 405k, False: 2.83k]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|   405k|            Py_UCS4 ch2;
  100|   405k|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 25, False: 405k]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|     25|                goto InvalidStart;
  105|     25|            }
  106|   405k|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 31, False: 405k]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|     31|                break;
  110|     31|            }
  111|   405k|            ch2 = (unsigned char)s[1];
  112|   405k|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|   405k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 405k, False: 20]
  |  |  |  Branch (20:51): [True: 405k, False: 21]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|     41|                goto InvalidContinuation1;
  115|   405k|            ch = (ch << 6) + ch2 -
  116|   405k|                 ((0xC0 << 6) + 0x80);
  117|   405k|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 405k, False: 0]
  |  Branch (117:13): [True: 405k, False: 0]
  ------------------
  118|   405k|            s += 2;
  119|   405k|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|   405k|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (119:17): [Folded, False: 405k]
  ------------------
  120|   405k|                (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|   405k|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|   405k|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (120:18): [True: 405k, Folded]
  |  Branch (120:49): [True: 4.12k, False: 401k]
  ------------------
  121|       |                /* Out-of-range */
  122|  4.12k|                goto Return;
  123|   401k|            *p++ = ch;
  124|   401k|            continue;
  125|   405k|        }
  126|       |
  127|  2.83k|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 1.15k, False: 1.68k]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|  1.15k|            Py_UCS4 ch2, ch3;
  130|  1.15k|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 84, False: 1.07k]
  ------------------
  131|       |                /* unexpected end of data: the caller will decide whether
  132|       |                   it's an error or not */
  133|     84|                if (end - s < 2)
  ------------------
  |  Branch (133:21): [True: 24, False: 60]
  ------------------
  134|     24|                    break;
  135|     60|                ch2 = (unsigned char)s[1];
  136|     60|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|    120|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 56, False: 4]
  |  |  |  Branch (20:51): [True: 47, False: 9]
  |  |  ------------------
  ------------------
  137|     47|                    (ch2 < 0xA0 ? ch == 0xE0 : ch == 0xED))
  ------------------
  |  Branch (137:21): [True: 14, False: 33]
  |  Branch (137:22): [True: 14, False: 33]
  ------------------
  138|       |                    /* for clarification see comments below */
  139|     27|                    goto InvalidContinuation1;
  140|     33|                break;
  141|     60|            }
  142|  1.07k|            ch2 = (unsigned char)s[1];
  143|  1.07k|            ch3 = (unsigned char)s[2];
  144|  1.07k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  1.07k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.06k, False: 4]
  |  |  |  Branch (20:51): [True: 1.05k, False: 14]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|     18|                goto InvalidContinuation1;
  147|     18|            }
  148|  1.05k|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 458, False: 594]
  ------------------
  149|    458|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 14, False: 444]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|     14|                    goto InvalidContinuation1;
  153|    594|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 170, False: 424]
  |  Branch (153:38): [True: 5, False: 165]
  ------------------
  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|      5|                goto InvalidContinuation1;
  160|      5|            }
  161|  1.03k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  1.03k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.01k, False: 15]
  |  |  |  Branch (20:51): [True: 1.00k, False: 9]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|     24|                goto InvalidContinuation2;
  164|     24|            }
  165|  1.00k|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|  1.00k|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|  1.00k|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 1.00k, False: 0]
  |  Branch (167:13): [True: 1.00k, False: 0]
  ------------------
  168|  1.00k|            s += 3;
  169|  1.00k|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|  1.00k|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (169:17): [True: 1.00k, 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|  1.00k|                goto Return;
  173|      0|            *p++ = ch;
  174|      0|            continue;
  175|  1.00k|        }
  176|       |
  177|  1.68k|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 1.67k, False: 12]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|  1.67k|            Py_UCS4 ch2, ch3, ch4;
  180|  1.67k|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 81, False: 1.59k]
  ------------------
  181|       |                /* unexpected end of data: the caller will decide whether
  182|       |                   it's an error or not */
  183|     81|                if (end - s < 2)
  ------------------
  |  Branch (183:21): [True: 21, False: 60]
  ------------------
  184|     21|                    break;
  185|     60|                ch2 = (unsigned char)s[1];
  186|     60|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|    120|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 53, False: 7]
  |  |  |  Branch (20:51): [True: 47, False: 6]
  |  |  ------------------
  ------------------
  187|     47|                    (ch2 < 0x90 ? ch == 0xF0 : ch == 0xF4))
  ------------------
  |  Branch (187:21): [True: 17, False: 30]
  |  Branch (187:22): [True: 22, False: 25]
  ------------------
  188|       |                    /* for clarification see comments below */
  189|     30|                    goto InvalidContinuation1;
  190|     30|                if (end - s < 3)
  ------------------
  |  Branch (190:21): [True: 7, False: 23]
  ------------------
  191|      7|                    break;
  192|     23|                ch3 = (unsigned char)s[2];
  193|     23|                if (!IS_CONTINUATION_BYTE(ch3))
  ------------------
  |  |   20|     23|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 10, False: 13]
  |  |  |  Branch (20:51): [True: 2, False: 8]
  |  |  ------------------
  ------------------
  194|     21|                    goto InvalidContinuation2;
  195|      2|                break;
  196|     23|            }
  197|  1.59k|            ch2 = (unsigned char)s[1];
  198|  1.59k|            ch3 = (unsigned char)s[2];
  199|  1.59k|            ch4 = (unsigned char)s[3];
  200|  1.59k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  1.59k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.58k, False: 6]
  |  |  |  Branch (20:51): [True: 1.57k, False: 13]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|     19|                goto InvalidContinuation1;
  203|     19|            }
  204|  1.57k|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 755, False: 818]
  ------------------
  205|    755|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 10, False: 745]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|     10|                    goto InvalidContinuation1;
  209|    818|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 517, False: 301]
  |  Branch (209:38): [True: 7, False: 510]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|      7|                goto InvalidContinuation1;
  213|      7|            }
  214|  1.55k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  1.55k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.54k, False: 11]
  |  |  |  Branch (20:51): [True: 1.53k, False: 11]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|     22|                goto InvalidContinuation2;
  217|     22|            }
  218|  1.53k|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|  1.53k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.52k, False: 9]
  |  |  |  Branch (20:51): [True: 1.51k, False: 10]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|     19|                goto InvalidContinuation3;
  221|     19|            }
  222|  1.51k|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|  1.51k|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|  1.51k|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  ------------------
  |  Branch (224:13): [True: 1.51k, False: 0]
  |  Branch (224:13): [True: 1.51k, False: 0]
  ------------------
  225|  1.51k|            s += 4;
  226|  1.51k|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|  1.51k|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (226:17): [True: 1.51k, Folded]
  ------------------
  227|      0|                (STRINGLIB_MAX_CHAR < 0x10FFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0x10FFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (227:18): [True: 0, Folded]
  |  Branch (227:51): [True: 0, False: 0]
  ------------------
  228|       |                /* Out-of-range */
  229|  1.51k|                goto Return;
  230|      0|            *p++ = ch;
  231|      0|            continue;
  232|  1.51k|        }
  233|     12|        goto InvalidStart;
  234|  1.68k|    }
  235|  47.3k|    ch = 0;
  236|  54.3k|Return:
  237|  54.3k|    *inptr = s;
  238|  54.3k|    *outpos = p - dest;
  239|  54.3k|    return ch;
  240|     37|InvalidStart:
  241|     37|    ch = 1;
  242|     37|    goto Return;
  243|    171|InvalidContinuation1:
  244|    171|    ch = 2;
  245|    171|    goto Return;
  246|     67|InvalidContinuation2:
  247|     67|    ch = 3;
  248|     67|    goto Return;
  249|     19|InvalidContinuation3:
  250|     19|    ch = 4;
  251|     19|    goto Return;
  252|  47.3k|}
unicodeobject.c:ucs2lib_utf8_decode:
   26|  97.9k|{
   27|  97.9k|    Py_UCS4 ch;
   28|  97.9k|    const char *s = *inptr;
   29|  97.9k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|  97.9k|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
   30|       |
   31|  4.09M|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 4.01M, False: 80.5k]
  ------------------
   32|  4.01M|        ch = (unsigned char)*s;
   33|       |
   34|  4.01M|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 485k, False: 3.52M]
  ------------------
   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|   485k|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|   485k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 66.1k, False: 419k]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|  66.1k|                const char *_s = s;
   45|  66.1k|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|  66.1k|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
   46|   233k|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1813|   233k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 213k, False: 19.6k]
  ------------------
   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|   213k|                    size_t value = *(const size_t *) _s;
   51|   213k|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|   213k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 46.5k, False: 167k]
  ------------------
   52|  46.5k|                        break;
   53|   167k|#if PY_LITTLE_ENDIAN
   54|   167k|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|   167k|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|   167k|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|   167k|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|   167k|# if SIZEOF_SIZE_T == 8
   59|   167k|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|   167k|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|   167k|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|   167k|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|   167k|# 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|   167k|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|   167k|#define SIZEOF_SIZE_T 8
  ------------------
   82|   167k|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|   167k|#define SIZEOF_SIZE_T 8
  ------------------
   83|   167k|                }
   84|  66.1k|                s = _s;
   85|  66.1k|                p = _p;
   86|  66.1k|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 764, False: 65.3k]
  ------------------
   87|    764|                    break;
   88|  65.3k|                ch = (unsigned char)*s;
   89|  65.3k|            }
   90|   484k|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 481k, False: 3.14k]
  ------------------
   91|   481k|                s++;
   92|   481k|                *p++ = ch;
   93|   481k|                continue;
   94|   481k|            }
   95|   484k|        }
   96|       |
   97|  3.53M|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 1.17M, False: 2.35M]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|  1.17M|            Py_UCS4 ch2;
  100|  1.17M|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 4.47k, False: 1.17M]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|  4.47k|                goto InvalidStart;
  105|  4.47k|            }
  106|  1.17M|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 119, False: 1.16M]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|    119|                break;
  110|    119|            }
  111|  1.16M|            ch2 = (unsigned char)s[1];
  112|  1.16M|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|  1.16M|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.16M, False: 935]
  |  |  |  Branch (20:51): [True: 1.16M, False: 1.15k]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|  2.08k|                goto InvalidContinuation1;
  115|  1.16M|            ch = (ch << 6) + ch2 -
  116|  1.16M|                 ((0xC0 << 6) + 0x80);
  117|  1.16M|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 1.16M, False: 0]
  |  Branch (117:13): [True: 1.16M, False: 0]
  ------------------
  118|  1.16M|            s += 2;
  119|  1.16M|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|  1.16M|#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|  1.16M|            *p++ = ch;
  124|  1.16M|            continue;
  125|  1.16M|        }
  126|       |
  127|  2.35M|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 2.34M, False: 6.54k]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|  2.34M|            Py_UCS4 ch2, ch3;
  130|  2.34M|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 335, False: 2.34M]
  ------------------
  131|       |                /* unexpected end of data: the caller will decide whether
  132|       |                   it's an error or not */
  133|    335|                if (end - s < 2)
  ------------------
  |  Branch (133:21): [True: 199, False: 136]
  ------------------
  134|    199|                    break;
  135|    136|                ch2 = (unsigned char)s[1];
  136|    136|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|    272|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 107, False: 29]
  |  |  |  Branch (20:51): [True: 94, False: 13]
  |  |  ------------------
  ------------------
  137|     94|                    (ch2 < 0xA0 ? ch == 0xE0 : ch == 0xED))
  ------------------
  |  Branch (137:21): [True: 14, False: 80]
  |  Branch (137:22): [True: 26, False: 68]
  ------------------
  138|       |                    /* for clarification see comments below */
  139|     56|                    goto InvalidContinuation1;
  140|     80|                break;
  141|    136|            }
  142|  2.34M|            ch2 = (unsigned char)s[1];
  143|  2.34M|            ch3 = (unsigned char)s[2];
  144|  2.34M|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  2.34M|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 2.34M, False: 622]
  |  |  |  Branch (20:51): [True: 2.34M, False: 1.68k]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|  2.31k|                goto InvalidContinuation1;
  147|  2.31k|            }
  148|  2.34M|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 1.39M, False: 956k]
  ------------------
  149|  1.39M|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 152, False: 1.39M]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|    152|                    goto InvalidContinuation1;
  153|  1.39M|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 967, False: 955k]
  |  Branch (153:38): [True: 180, False: 787]
  ------------------
  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|    180|                goto InvalidContinuation1;
  160|    180|            }
  161|  2.34M|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  2.34M|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 2.34M, False: 251]
  |  |  |  Branch (20:51): [True: 2.34M, False: 223]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|    474|                goto InvalidContinuation2;
  164|    474|            }
  165|  2.34M|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|  2.34M|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|  2.34M|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 2.34M, False: 0]
  |  Branch (167:13): [True: 2.34M, False: 0]
  ------------------
  168|  2.34M|            s += 3;
  169|  2.34M|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|  2.34M|#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|  2.34M|            *p++ = ch;
  174|  2.34M|            continue;
  175|  2.34M|        }
  176|       |
  177|  6.54k|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 3.64k, False: 2.90k]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|  3.64k|            Py_UCS4 ch2, ch3, ch4;
  180|  3.64k|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 188, False: 3.45k]
  ------------------
  181|       |                /* unexpected end of data: the caller will decide whether
  182|       |                   it's an error or not */
  183|    188|                if (end - s < 2)
  ------------------
  |  Branch (183:21): [True: 31, False: 157]
  ------------------
  184|     31|                    break;
  185|    157|                ch2 = (unsigned char)s[1];
  186|    157|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|    314|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 119, False: 38]
  |  |  |  Branch (20:51): [True: 80, False: 39]
  |  |  ------------------
  ------------------
  187|     80|                    (ch2 < 0x90 ? ch == 0xF0 : ch == 0xF4))
  ------------------
  |  Branch (187:21): [True: 18, False: 62]
  |  Branch (187:22): [True: 35, False: 45]
  ------------------
  188|       |                    /* for clarification see comments below */
  189|     95|                    goto InvalidContinuation1;
  190|     62|                if (end - s < 3)
  ------------------
  |  Branch (190:21): [True: 23, False: 39]
  ------------------
  191|     23|                    break;
  192|     39|                ch3 = (unsigned char)s[2];
  193|     39|                if (!IS_CONTINUATION_BYTE(ch3))
  ------------------
  |  |   20|     39|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 15, False: 24]
  |  |  |  Branch (20:51): [True: 9, False: 6]
  |  |  ------------------
  ------------------
  194|     30|                    goto InvalidContinuation2;
  195|      9|                break;
  196|     39|            }
  197|  3.45k|            ch2 = (unsigned char)s[1];
  198|  3.45k|            ch3 = (unsigned char)s[2];
  199|  3.45k|            ch4 = (unsigned char)s[3];
  200|  3.45k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  3.45k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 3.13k, False: 316]
  |  |  |  Branch (20:51): [True: 1.54k, False: 1.59k]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|  1.91k|                goto InvalidContinuation1;
  203|  1.91k|            }
  204|  1.54k|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 671, False: 869]
  ------------------
  205|    671|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 66, False: 605]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|     66|                    goto InvalidContinuation1;
  209|    869|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 439, False: 430]
  |  Branch (209:38): [True: 147, False: 292]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|    147|                goto InvalidContinuation1;
  213|    147|            }
  214|  1.32k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  1.32k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.06k, False: 259]
  |  |  |  Branch (20:51): [True: 840, False: 228]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|    487|                goto InvalidContinuation2;
  217|    487|            }
  218|    840|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|    840|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 600, False: 240]
  |  |  |  Branch (20:51): [True: 560, False: 40]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|    280|                goto InvalidContinuation3;
  221|    280|            }
  222|    560|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|    560|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|    560|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  ------------------
  |  Branch (224:13): [True: 560, False: 0]
  |  Branch (224:13): [True: 560, False: 0]
  ------------------
  225|    560|            s += 4;
  226|    560|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|    560|#define STRINGLIB_MAX_CHAR       0xFFFFu
  ------------------
  |  Branch (226:17): [True: 560, 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|    560|                goto Return;
  230|      0|            *p++ = ch;
  231|      0|            continue;
  232|    560|        }
  233|  2.90k|        goto InvalidStart;
  234|  6.54k|    }
  235|  81.7k|    ch = 0;
  236|  97.9k|Return:
  237|  97.9k|    *inptr = s;
  238|  97.9k|    *outpos = p - dest;
  239|  97.9k|    return ch;
  240|  7.37k|InvalidStart:
  241|  7.37k|    ch = 1;
  242|  7.37k|    goto Return;
  243|  7.00k|InvalidContinuation1:
  244|  7.00k|    ch = 2;
  245|  7.00k|    goto Return;
  246|    991|InvalidContinuation2:
  247|    991|    ch = 3;
  248|    991|    goto Return;
  249|    280|InvalidContinuation3:
  250|    280|    ch = 4;
  251|    280|    goto Return;
  252|  81.7k|}
unicodeobject.c:ucs4lib_utf8_decode:
   26|  37.9k|{
   27|  37.9k|    Py_UCS4 ch;
   28|  37.9k|    const char *s = *inptr;
   29|  37.9k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|  37.9k|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
   30|       |
   31|   232k|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 219k, False: 12.4k]
  ------------------
   32|   219k|        ch = (unsigned char)*s;
   33|       |
   34|   219k|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 131k, False: 88.4k]
  ------------------
   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|   131k|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|   131k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 18.6k, False: 112k]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|  18.6k|                const char *_s = s;
   45|  18.6k|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|  18.6k|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
   46|  93.7k|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1813|  93.7k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 87.3k, False: 6.40k]
  ------------------
   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|  87.3k|                    size_t value = *(const size_t *) _s;
   51|  87.3k|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|  87.3k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 12.2k, False: 75.0k]
  ------------------
   52|  12.2k|                        break;
   53|  75.0k|#if PY_LITTLE_ENDIAN
   54|  75.0k|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|  75.0k|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|  75.0k|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|  75.0k|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|  75.0k|# if SIZEOF_SIZE_T == 8
   59|  75.0k|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|  75.0k|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|  75.0k|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|  75.0k|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|  75.0k|# 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|  75.0k|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|  75.0k|#define SIZEOF_SIZE_T 8
  ------------------
   82|  75.0k|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|  75.0k|#define SIZEOF_SIZE_T 8
  ------------------
   83|  75.0k|                }
   84|  18.6k|                s = _s;
   85|  18.6k|                p = _p;
   86|  18.6k|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 745, False: 17.9k]
  ------------------
   87|    745|                    break;
   88|  17.9k|                ch = (unsigned char)*s;
   89|  17.9k|            }
   90|   130k|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 129k, False: 1.55k]
  ------------------
   91|   129k|                s++;
   92|   129k|                *p++ = ch;
   93|   129k|                continue;
   94|   129k|            }
   95|   130k|        }
   96|       |
   97|  89.9k|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 22.7k, False: 67.2k]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|  22.7k|            Py_UCS4 ch2;
  100|  22.7k|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 11.5k, False: 11.2k]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|  11.5k|                goto InvalidStart;
  105|  11.5k|            }
  106|  11.2k|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 20, False: 11.2k]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|     20|                break;
  110|     20|            }
  111|  11.2k|            ch2 = (unsigned char)s[1];
  112|  11.2k|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|  11.2k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 10.8k, False: 307]
  |  |  |  Branch (20:51): [True: 9.75k, False: 1.14k]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|  1.44k|                goto InvalidContinuation1;
  115|  9.75k|            ch = (ch << 6) + ch2 -
  116|  9.75k|                 ((0xC0 << 6) + 0x80);
  117|  9.75k|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 9.75k, False: 0]
  |  Branch (117:13): [True: 9.75k, False: 0]
  ------------------
  118|  9.75k|            s += 2;
  119|  9.75k|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|  9.75k|#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|  9.75k|            *p++ = ch;
  124|  9.75k|            continue;
  125|  9.75k|        }
  126|       |
  127|  67.2k|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 40.2k, False: 26.9k]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|  40.2k|            Py_UCS4 ch2, ch3;
  130|  40.2k|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 137, False: 40.1k]
  ------------------
  131|       |                /* unexpected end of data: the caller will decide whether
  132|       |                   it's an error or not */
  133|    137|                if (end - s < 2)
  ------------------
  |  Branch (133:21): [True: 64, False: 73]
  ------------------
  134|     64|                    break;
  135|     73|                ch2 = (unsigned char)s[1];
  136|     73|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|    146|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 60, False: 13]
  |  |  |  Branch (20:51): [True: 56, False: 4]
  |  |  ------------------
  ------------------
  137|     56|                    (ch2 < 0xA0 ? ch == 0xE0 : ch == 0xED))
  ------------------
  |  Branch (137:21): [True: 12, False: 44]
  |  Branch (137:22): [True: 11, False: 45]
  ------------------
  138|       |                    /* for clarification see comments below */
  139|     29|                    goto InvalidContinuation1;
  140|     44|                break;
  141|     73|            }
  142|  40.1k|            ch2 = (unsigned char)s[1];
  143|  40.1k|            ch3 = (unsigned char)s[2];
  144|  40.1k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  40.1k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 39.7k, False: 336]
  |  |  |  Branch (20:51): [True: 37.8k, False: 1.89k]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|  2.22k|                goto InvalidContinuation1;
  147|  2.22k|            }
  148|  37.8k|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 1.27k, False: 36.6k]
  ------------------
  149|  1.27k|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 86, False: 1.18k]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|     86|                    goto InvalidContinuation1;
  153|  36.6k|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 570, False: 36.0k]
  |  Branch (153:38): [True: 207, False: 363]
  ------------------
  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|    207|                goto InvalidContinuation1;
  160|    207|            }
  161|  37.5k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  37.5k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 37.3k, False: 253]
  |  |  |  Branch (20:51): [True: 36.9k, False: 354]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|    607|                goto InvalidContinuation2;
  164|    607|            }
  165|  36.9k|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|  36.9k|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|  36.9k|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 36.9k, False: 0]
  |  Branch (167:13): [True: 36.9k, False: 0]
  ------------------
  168|  36.9k|            s += 3;
  169|  36.9k|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|  36.9k|#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|  36.9k|            *p++ = ch;
  174|  36.9k|            continue;
  175|  36.9k|        }
  176|       |
  177|  26.9k|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 25.7k, False: 1.21k]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|  25.7k|            Py_UCS4 ch2, ch3, ch4;
  180|  25.7k|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 212, False: 25.5k]
  ------------------
  181|       |                /* unexpected end of data: the caller will decide whether
  182|       |                   it's an error or not */
  183|    212|                if (end - s < 2)
  ------------------
  |  Branch (183:21): [True: 42, False: 170]
  ------------------
  184|     42|                    break;
  185|    170|                ch2 = (unsigned char)s[1];
  186|    170|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|    340|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 138, False: 32]
  |  |  |  Branch (20:51): [True: 107, False: 31]
  |  |  ------------------
  ------------------
  187|    107|                    (ch2 < 0x90 ? ch == 0xF0 : ch == 0xF4))
  ------------------
  |  Branch (187:21): [True: 28, False: 79]
  |  Branch (187:22): [True: 56, False: 51]
  ------------------
  188|       |                    /* for clarification see comments below */
  189|     91|                    goto InvalidContinuation1;
  190|     79|                if (end - s < 3)
  ------------------
  |  Branch (190:21): [True: 29, False: 50]
  ------------------
  191|     29|                    break;
  192|     50|                ch3 = (unsigned char)s[2];
  193|     50|                if (!IS_CONTINUATION_BYTE(ch3))
  ------------------
  |  |   20|     50|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 25, False: 25]
  |  |  |  Branch (20:51): [True: 20, False: 5]
  |  |  ------------------
  ------------------
  194|     30|                    goto InvalidContinuation2;
  195|     20|                break;
  196|     50|            }
  197|  25.5k|            ch2 = (unsigned char)s[1];
  198|  25.5k|            ch3 = (unsigned char)s[2];
  199|  25.5k|            ch4 = (unsigned char)s[3];
  200|  25.5k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  25.5k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 25.3k, False: 227]
  |  |  |  Branch (20:51): [True: 20.0k, False: 5.28k]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|  5.51k|                goto InvalidContinuation1;
  203|  5.51k|            }
  204|  20.0k|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 7.57k, False: 12.4k]
  ------------------
  205|  7.57k|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 217, False: 7.36k]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|    217|                    goto InvalidContinuation1;
  209|  12.4k|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 2.07k, False: 10.3k]
  |  Branch (209:38): [True: 159, False: 1.91k]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|    159|                goto InvalidContinuation1;
  213|    159|            }
  214|  19.6k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  19.6k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 19.5k, False: 144]
  |  |  |  Branch (20:51): [True: 19.2k, False: 313]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|    457|                goto InvalidContinuation2;
  217|    457|            }
  218|  19.2k|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|  19.2k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 19.1k, False: 81]
  |  |  |  Branch (20:51): [True: 18.4k, False: 634]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|    715|                goto InvalidContinuation3;
  221|    715|            }
  222|  18.4k|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|  18.4k|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|  18.4k|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  ------------------
  |  Branch (224:13): [True: 18.4k, False: 0]
  |  Branch (224:13): [True: 18.4k, False: 0]
  ------------------
  225|  18.4k|            s += 4;
  226|  18.4k|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|  18.4k|#define STRINGLIB_MAX_CHAR       0x10FFFFu
  ------------------
  |  Branch (226:17): [Folded, False: 0]
  ------------------
  227|      0|                (STRINGLIB_MAX_CHAR < 0x10FFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x10FFFFu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0x10FFFF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0x10FFFFu
  ------------------
  |  Branch (227:18): [Folded, False: 0]
  |  Branch (227:51): [True: 0, False: 0]
  ------------------
  228|       |                /* Out-of-range */
  229|      0|                goto Return;
  230|  18.4k|            *p++ = ch;
  231|  18.4k|            continue;
  232|  18.4k|        }
  233|  1.21k|        goto InvalidStart;
  234|  26.9k|    }
  235|  13.4k|    ch = 0;
  236|  37.9k|Return:
  237|  37.9k|    *inptr = s;
  238|  37.9k|    *outpos = p - dest;
  239|  37.9k|    return ch;
  240|  12.7k|InvalidStart:
  241|  12.7k|    ch = 1;
  242|  12.7k|    goto Return;
  243|  9.97k|InvalidContinuation1:
  244|  9.97k|    ch = 2;
  245|  9.97k|    goto Return;
  246|  1.09k|InvalidContinuation2:
  247|  1.09k|    ch = 3;
  248|  1.09k|    goto Return;
  249|    715|InvalidContinuation3:
  250|    715|    ch = 4;
  251|    715|    goto Return;
  252|  13.4k|}
unicodeobject.c:asciilib_utf16_decode:
  517|  8.22k|{
  518|  8.22k|    Py_UCS4 ch;
  519|  8.22k|    const unsigned char *q = *inptr;
  520|  8.22k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|  8.22k|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
  521|       |    /* Offsets from q for retrieving byte pairs in the right order. */
  522|  8.22k|#if PY_LITTLE_ENDIAN
  523|  8.22k|    int ihi = !!native_ordering, ilo = !native_ordering;
  524|       |#else
  525|       |    int ihi = !native_ordering, ilo = !!native_ordering;
  526|       |#endif
  527|  8.22k|    --e;
  528|       |
  529|  16.4k|    while (q < e) {
  ------------------
  |  Branch (529:12): [True: 16.2k, False: 140]
  ------------------
  530|  16.2k|        Py_UCS4 ch2;
  531|       |        /* First check for possible aligned read of a C 'long'. Unaligned
  532|       |           reads are more expensive, better to defer to another iteration. */
  533|  16.2k|        if (_Py_IS_ALIGNED(q, ALIGNOF_LONG)) {
  ------------------
  |  |  257|  16.2k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 8.22k, False: 8.06k]
  |  |  ------------------
  ------------------
  534|       |            /* Fast path for runs of in-range non-surrogate chars. */
  535|  8.22k|            const unsigned char *_q = q;
  536|  8.91k|            while (_q + SIZEOF_LONG <= e) {
  ------------------
  |  | 1789|  8.91k|#define SIZEOF_LONG 8
  ------------------
  |  Branch (536:20): [True: 3.73k, False: 5.17k]
  ------------------
  537|  3.73k|                unsigned long block = * (const unsigned long *) _q;
  538|  3.73k|                if (native_ordering) {
  ------------------
  |  Branch (538:21): [True: 107, False: 3.63k]
  ------------------
  539|       |                    /* Can use buffer directly */
  540|    107|                    if (block & FAST_CHAR_MASK)
  ------------------
  |  |  498|    107|# define FAST_CHAR_MASK         (UCS2_REPEAT_MASK * (0xFFFFu & ~STRINGLIB_MAX_CHAR))
  |  |  ------------------
  |  |  |  |  487|    107|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  ------------------
  |  |               # define FAST_CHAR_MASK         (UCS2_REPEAT_MASK * (0xFFFFu & ~STRINGLIB_MAX_CHAR))
  |  |  ------------------
  |  |  |  |   10|    107|#define STRINGLIB_MAX_CHAR       0x7Fu
  |  |  ------------------
  ------------------
  |  Branch (540:25): [True: 107, False: 0]
  ------------------
  541|    107|                        break;
  542|    107|                }
  543|  3.63k|                else {
  544|       |                    /* Need to byte-swap */
  545|  3.63k|                    if (block & SWAB(FAST_CHAR_MASK))
  ------------------
  |  |  510|  3.63k|#define SWAB(value)             ((((value) >> 8) & STRIPPED_MASK) | \
  |  |  ------------------
  |  |  |  |  508|  3.63k|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|  3.63k|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  511|  3.63k|                                 (((value) & STRIPPED_MASK) << 8))
  |  |  ------------------
  |  |  |  |  508|  3.63k|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|  3.63k|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (545:25): [True: 2.94k, False: 685]
  ------------------
  546|  2.94k|                        break;
  547|    685|#if STRINGLIB_SIZEOF_CHAR == 1
  548|    685|                    block >>= 8;
  549|       |#else
  550|       |                    block = SWAB(block);
  551|       |#endif
  552|    685|                }
  553|    685|#if PY_LITTLE_ENDIAN
  554|       |# if SIZEOF_LONG == 4
  555|       |                p[0] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  556|       |                p[1] = (STRINGLIB_CHAR)(block >> 16);
  557|       |# elif SIZEOF_LONG == 8
  558|    685|                p[0] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  559|    685|                p[1] = (STRINGLIB_CHAR)((block >> 16) & 0xFFFFu);
  560|    685|                p[2] = (STRINGLIB_CHAR)((block >> 32) & 0xFFFFu);
  561|    685|                p[3] = (STRINGLIB_CHAR)(block >> 48);
  562|    685|# endif
  563|       |#else
  564|       |# if SIZEOF_LONG == 4
  565|       |                p[0] = (STRINGLIB_CHAR)(block >> 16);
  566|       |                p[1] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  567|       |# elif SIZEOF_LONG == 8
  568|       |                p[0] = (STRINGLIB_CHAR)(block >> 48);
  569|       |                p[1] = (STRINGLIB_CHAR)((block >> 32) & 0xFFFFu);
  570|       |                p[2] = (STRINGLIB_CHAR)((block >> 16) & 0xFFFFu);
  571|       |                p[3] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  572|       |# endif
  573|       |#endif
  574|    685|                _q += SIZEOF_LONG;
  ------------------
  |  | 1789|    685|#define SIZEOF_LONG 8
  ------------------
  575|    685|                p += SIZEOF_LONG / 2;
  ------------------
  |  | 1789|    685|#define SIZEOF_LONG 8
  ------------------
  576|    685|            }
  577|  8.22k|            q = _q;
  578|  8.22k|            if (q >= e)
  ------------------
  |  Branch (578:17): [True: 0, False: 8.22k]
  ------------------
  579|      0|                break;
  580|  8.22k|        }
  581|       |
  582|  16.2k|        ch = (q[ihi] << 8) | q[ilo];
  583|  16.2k|        q += 2;
  584|  16.2k|        if (!Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (584:13): [True: 16.1k, False: 147]
  ------------------
  585|  16.1k|#if STRINGLIB_SIZEOF_CHAR < 2
  586|  16.1k|            if (ch > STRINGLIB_MAX_CHAR)
  ------------------
  |  |   10|  16.1k|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (586:17): [True: 7.94k, False: 8.20k]
  ------------------
  587|       |                /* Out-of-range */
  588|  7.94k|                goto Return;
  589|  8.20k|#endif
  590|  8.20k|            *p++ = (STRINGLIB_CHAR)ch;
  591|  8.20k|            continue;
  592|  16.1k|        }
  593|       |
  594|       |        /* UTF-16 code pair: */
  595|    147|        if (!Py_UNICODE_IS_HIGH_SURROGATE(ch))
  ------------------
  |  Branch (595:13): [True: 1, False: 146]
  ------------------
  596|      1|            goto IllegalEncoding;
  597|    146|        if (q >= e)
  ------------------
  |  Branch (597:13): [True: 1, False: 145]
  ------------------
  598|      1|            goto UnexpectedEnd;
  599|    145|        ch2 = (q[ihi] << 8) | q[ilo];
  600|    145|        q += 2;
  601|    145|        if (!Py_UNICODE_IS_LOW_SURROGATE(ch2))
  ------------------
  |  Branch (601:13): [True: 1, False: 144]
  ------------------
  602|      1|            goto IllegalSurrogate;
  603|    144|        ch = Py_UNICODE_JOIN_SURROGATES(ch, ch2);
  604|    144|#if STRINGLIB_SIZEOF_CHAR < 4
  605|       |        /* Out-of-range */
  606|    144|        goto Return;
  607|       |#else
  608|       |        *p++ = (STRINGLIB_CHAR)ch;
  609|       |#endif
  610|    145|    }
  611|    140|    ch = 0;
  612|  8.22k|Return:
  613|  8.22k|    *inptr = q;
  614|  8.22k|    *outpos = p - dest;
  615|  8.22k|    return ch;
  616|      1|UnexpectedEnd:
  617|      1|    ch = 1;
  618|      1|    goto Return;
  619|      1|IllegalEncoding:
  620|      1|    ch = 2;
  621|      1|    goto Return;
  622|      1|IllegalSurrogate:
  623|      1|    ch = 3;
  624|      1|    goto Return;
  625|    140|}
unicodeobject.c:ucs1lib_utf16_decode:
  517|  2.79k|{
  518|  2.79k|    Py_UCS4 ch;
  519|  2.79k|    const unsigned char *q = *inptr;
  520|  2.79k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|  2.79k|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
  521|       |    /* Offsets from q for retrieving byte pairs in the right order. */
  522|  2.79k|#if PY_LITTLE_ENDIAN
  523|  2.79k|    int ihi = !!native_ordering, ilo = !native_ordering;
  524|       |#else
  525|       |    int ihi = !native_ordering, ilo = !!native_ordering;
  526|       |#endif
  527|  2.79k|    --e;
  528|       |
  529|  6.42k|    while (q < e) {
  ------------------
  |  Branch (529:12): [True: 5.48k, False: 932]
  ------------------
  530|  5.48k|        Py_UCS4 ch2;
  531|       |        /* First check for possible aligned read of a C 'long'. Unaligned
  532|       |           reads are more expensive, better to defer to another iteration. */
  533|  5.48k|        if (_Py_IS_ALIGNED(q, ALIGNOF_LONG)) {
  ------------------
  |  |  257|  5.48k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 2.26k, False: 3.21k]
  |  |  ------------------
  ------------------
  534|       |            /* Fast path for runs of in-range non-surrogate chars. */
  535|  2.26k|            const unsigned char *_q = q;
  536|  4.74k|            while (_q + SIZEOF_LONG <= e) {
  ------------------
  |  | 1789|  4.74k|#define SIZEOF_LONG 8
  ------------------
  |  Branch (536:20): [True: 3.52k, False: 1.22k]
  ------------------
  537|  3.52k|                unsigned long block = * (const unsigned long *) _q;
  538|  3.52k|                if (native_ordering) {
  ------------------
  |  Branch (538:21): [True: 0, False: 3.52k]
  ------------------
  539|       |                    /* Can use buffer directly */
  540|      0|                    if (block & FAST_CHAR_MASK)
  ------------------
  |  |  498|      0|# define FAST_CHAR_MASK         (UCS2_REPEAT_MASK * (0xFFFFu & ~STRINGLIB_MAX_CHAR))
  |  |  ------------------
  |  |  |  |  487|      0|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  ------------------
  |  |               # define FAST_CHAR_MASK         (UCS2_REPEAT_MASK * (0xFFFFu & ~STRINGLIB_MAX_CHAR))
  |  |  ------------------
  |  |  |  |   10|      0|#define STRINGLIB_MAX_CHAR       0xFFu
  |  |  ------------------
  ------------------
  |  Branch (540:25): [True: 0, False: 0]
  ------------------
  541|      0|                        break;
  542|      0|                }
  543|  3.52k|                else {
  544|       |                    /* Need to byte-swap */
  545|  3.52k|                    if (block & SWAB(FAST_CHAR_MASK))
  ------------------
  |  |  510|  3.52k|#define SWAB(value)             ((((value) >> 8) & STRIPPED_MASK) | \
  |  |  ------------------
  |  |  |  |  508|  3.52k|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|  3.52k|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  511|  3.52k|                                 (((value) & STRIPPED_MASK) << 8))
  |  |  ------------------
  |  |  |  |  508|  3.52k|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|  3.52k|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (545:25): [True: 1.04k, False: 2.47k]
  ------------------
  546|  1.04k|                        break;
  547|  2.47k|#if STRINGLIB_SIZEOF_CHAR == 1
  548|  2.47k|                    block >>= 8;
  549|       |#else
  550|       |                    block = SWAB(block);
  551|       |#endif
  552|  2.47k|                }
  553|  2.47k|#if PY_LITTLE_ENDIAN
  554|       |# if SIZEOF_LONG == 4
  555|       |                p[0] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  556|       |                p[1] = (STRINGLIB_CHAR)(block >> 16);
  557|       |# elif SIZEOF_LONG == 8
  558|  2.47k|                p[0] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  559|  2.47k|                p[1] = (STRINGLIB_CHAR)((block >> 16) & 0xFFFFu);
  560|  2.47k|                p[2] = (STRINGLIB_CHAR)((block >> 32) & 0xFFFFu);
  561|  2.47k|                p[3] = (STRINGLIB_CHAR)(block >> 48);
  562|  2.47k|# endif
  563|       |#else
  564|       |# if SIZEOF_LONG == 4
  565|       |                p[0] = (STRINGLIB_CHAR)(block >> 16);
  566|       |                p[1] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  567|       |# elif SIZEOF_LONG == 8
  568|       |                p[0] = (STRINGLIB_CHAR)(block >> 48);
  569|       |                p[1] = (STRINGLIB_CHAR)((block >> 32) & 0xFFFFu);
  570|       |                p[2] = (STRINGLIB_CHAR)((block >> 16) & 0xFFFFu);
  571|       |                p[3] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  572|       |# endif
  573|       |#endif
  574|  2.47k|                _q += SIZEOF_LONG;
  ------------------
  |  | 1789|  2.47k|#define SIZEOF_LONG 8
  ------------------
  575|  2.47k|                p += SIZEOF_LONG / 2;
  ------------------
  |  | 1789|  2.47k|#define SIZEOF_LONG 8
  ------------------
  576|  2.47k|            }
  577|  2.26k|            q = _q;
  578|  2.26k|            if (q >= e)
  ------------------
  |  Branch (578:17): [True: 0, False: 2.26k]
  ------------------
  579|      0|                break;
  580|  2.26k|        }
  581|       |
  582|  5.48k|        ch = (q[ihi] << 8) | q[ilo];
  583|  5.48k|        q += 2;
  584|  5.48k|        if (!Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (584:13): [True: 4.83k, False: 651]
  ------------------
  585|  4.83k|#if STRINGLIB_SIZEOF_CHAR < 2
  586|  4.83k|            if (ch > STRINGLIB_MAX_CHAR)
  ------------------
  |  |   10|  4.83k|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (586:17): [True: 1.20k, False: 3.62k]
  ------------------
  587|       |                /* Out-of-range */
  588|  1.20k|                goto Return;
  589|  3.62k|#endif
  590|  3.62k|            *p++ = (STRINGLIB_CHAR)ch;
  591|  3.62k|            continue;
  592|  4.83k|        }
  593|       |
  594|       |        /* UTF-16 code pair: */
  595|    651|        if (!Py_UNICODE_IS_HIGH_SURROGATE(ch))
  ------------------
  |  Branch (595:13): [True: 1, False: 650]
  ------------------
  596|      1|            goto IllegalEncoding;
  597|    650|        if (q >= e)
  ------------------
  |  Branch (597:13): [True: 2, False: 648]
  ------------------
  598|      2|            goto UnexpectedEnd;
  599|    648|        ch2 = (q[ihi] << 8) | q[ilo];
  600|    648|        q += 2;
  601|    648|        if (!Py_UNICODE_IS_LOW_SURROGATE(ch2))
  ------------------
  |  Branch (601:13): [True: 1, False: 647]
  ------------------
  602|      1|            goto IllegalSurrogate;
  603|    647|        ch = Py_UNICODE_JOIN_SURROGATES(ch, ch2);
  604|    647|#if STRINGLIB_SIZEOF_CHAR < 4
  605|       |        /* Out-of-range */
  606|    647|        goto Return;
  607|       |#else
  608|       |        *p++ = (STRINGLIB_CHAR)ch;
  609|       |#endif
  610|    648|    }
  611|    932|    ch = 0;
  612|  2.79k|Return:
  613|  2.79k|    *inptr = q;
  614|  2.79k|    *outpos = p - dest;
  615|  2.79k|    return ch;
  616|      2|UnexpectedEnd:
  617|      2|    ch = 1;
  618|      2|    goto Return;
  619|      1|IllegalEncoding:
  620|      1|    ch = 2;
  621|      1|    goto Return;
  622|      1|IllegalSurrogate:
  623|      1|    ch = 3;
  624|      1|    goto Return;
  625|    932|}
unicodeobject.c:ucs2lib_utf16_decode:
  517|  1.29k|{
  518|  1.29k|    Py_UCS4 ch;
  519|  1.29k|    const unsigned char *q = *inptr;
  520|  1.29k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|  1.29k|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
  521|       |    /* Offsets from q for retrieving byte pairs in the right order. */
  522|  1.29k|#if PY_LITTLE_ENDIAN
  523|  1.29k|    int ihi = !!native_ordering, ilo = !native_ordering;
  524|       |#else
  525|       |    int ihi = !native_ordering, ilo = !!native_ordering;
  526|       |#endif
  527|  1.29k|    --e;
  528|       |
  529|  16.7k|    while (q < e) {
  ------------------
  |  Branch (529:12): [True: 15.5k, False: 1.19k]
  ------------------
  530|  15.5k|        Py_UCS4 ch2;
  531|       |        /* First check for possible aligned read of a C 'long'. Unaligned
  532|       |           reads are more expensive, better to defer to another iteration. */
  533|  15.5k|        if (_Py_IS_ALIGNED(q, ALIGNOF_LONG)) {
  ------------------
  |  |  257|  15.5k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 3.76k, False: 11.8k]
  |  |  ------------------
  ------------------
  534|       |            /* Fast path for runs of in-range non-surrogate chars. */
  535|  3.76k|            const unsigned char *_q = q;
  536|  4.75k|            while (_q + SIZEOF_LONG <= e) {
  ------------------
  |  | 1789|  4.75k|#define SIZEOF_LONG 8
  ------------------
  |  Branch (536:20): [True: 3.82k, False: 931]
  ------------------
  537|  3.82k|                unsigned long block = * (const unsigned long *) _q;
  538|  3.82k|                if (native_ordering) {
  ------------------
  |  Branch (538:21): [True: 2.54k, False: 1.27k]
  ------------------
  539|       |                    /* Can use buffer directly */
  540|  2.54k|                    if (block & FAST_CHAR_MASK)
  ------------------
  |  |  505|  2.54k|# define FAST_CHAR_MASK         (UCS2_REPEAT_MASK * 0x8000u)
  |  |  ------------------
  |  |  |  |  487|  2.54k|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  ------------------
  ------------------
  |  Branch (540:25): [True: 2.25k, False: 289]
  ------------------
  541|  2.25k|                        break;
  542|  2.54k|                }
  543|  1.27k|                else {
  544|       |                    /* Need to byte-swap */
  545|  1.27k|                    if (block & SWAB(FAST_CHAR_MASK))
  ------------------
  |  |  510|  1.27k|#define SWAB(value)             ((((value) >> 8) & STRIPPED_MASK) | \
  |  |  ------------------
  |  |  |  |  508|  1.27k|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|  1.27k|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  511|  1.27k|                                 (((value) & STRIPPED_MASK) << 8))
  |  |  ------------------
  |  |  |  |  508|  1.27k|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|  1.27k|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (545:25): [True: 578, False: 695]
  ------------------
  546|    578|                        break;
  547|       |#if STRINGLIB_SIZEOF_CHAR == 1
  548|       |                    block >>= 8;
  549|       |#else
  550|    695|                    block = SWAB(block);
  ------------------
  |  |  510|    695|#define SWAB(value)             ((((value) >> 8) & STRIPPED_MASK) | \
  |  |  ------------------
  |  |  |  |  508|    695|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|    695|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  511|    695|                                 (((value) & STRIPPED_MASK) << 8))
  |  |  ------------------
  |  |  |  |  508|    695|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|    695|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  551|    695|#endif
  552|    695|                }
  553|    984|#if PY_LITTLE_ENDIAN
  554|       |# if SIZEOF_LONG == 4
  555|       |                p[0] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  556|       |                p[1] = (STRINGLIB_CHAR)(block >> 16);
  557|       |# elif SIZEOF_LONG == 8
  558|    984|                p[0] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  559|    984|                p[1] = (STRINGLIB_CHAR)((block >> 16) & 0xFFFFu);
  560|    984|                p[2] = (STRINGLIB_CHAR)((block >> 32) & 0xFFFFu);
  561|    984|                p[3] = (STRINGLIB_CHAR)(block >> 48);
  562|    984|# endif
  563|       |#else
  564|       |# if SIZEOF_LONG == 4
  565|       |                p[0] = (STRINGLIB_CHAR)(block >> 16);
  566|       |                p[1] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  567|       |# elif SIZEOF_LONG == 8
  568|       |                p[0] = (STRINGLIB_CHAR)(block >> 48);
  569|       |                p[1] = (STRINGLIB_CHAR)((block >> 32) & 0xFFFFu);
  570|       |                p[2] = (STRINGLIB_CHAR)((block >> 16) & 0xFFFFu);
  571|       |                p[3] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  572|       |# endif
  573|       |#endif
  574|    984|                _q += SIZEOF_LONG;
  ------------------
  |  | 1789|    984|#define SIZEOF_LONG 8
  ------------------
  575|    984|                p += SIZEOF_LONG / 2;
  ------------------
  |  | 1789|    984|#define SIZEOF_LONG 8
  ------------------
  576|    984|            }
  577|  3.76k|            q = _q;
  578|  3.76k|            if (q >= e)
  ------------------
  |  Branch (578:17): [True: 4, False: 3.76k]
  ------------------
  579|      4|                break;
  580|  3.76k|        }
  581|       |
  582|  15.5k|        ch = (q[ihi] << 8) | q[ilo];
  583|  15.5k|        q += 2;
  584|  15.5k|        if (!Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (584:13): [True: 15.4k, False: 104]
  ------------------
  585|       |#if STRINGLIB_SIZEOF_CHAR < 2
  586|       |            if (ch > STRINGLIB_MAX_CHAR)
  587|       |                /* Out-of-range */
  588|       |                goto Return;
  589|       |#endif
  590|  15.4k|            *p++ = (STRINGLIB_CHAR)ch;
  591|  15.4k|            continue;
  592|  15.4k|        }
  593|       |
  594|       |        /* UTF-16 code pair: */
  595|    104|        if (!Py_UNICODE_IS_HIGH_SURROGATE(ch))
  ------------------
  |  Branch (595:13): [True: 3, False: 101]
  ------------------
  596|      3|            goto IllegalEncoding;
  597|    101|        if (q >= e)
  ------------------
  |  Branch (597:13): [True: 0, False: 101]
  ------------------
  598|      0|            goto UnexpectedEnd;
  599|    101|        ch2 = (q[ihi] << 8) | q[ilo];
  600|    101|        q += 2;
  601|    101|        if (!Py_UNICODE_IS_LOW_SURROGATE(ch2))
  ------------------
  |  Branch (601:13): [True: 5, False: 96]
  ------------------
  602|      5|            goto IllegalSurrogate;
  603|     96|        ch = Py_UNICODE_JOIN_SURROGATES(ch, ch2);
  604|     96|#if STRINGLIB_SIZEOF_CHAR < 4
  605|       |        /* Out-of-range */
  606|     96|        goto Return;
  607|       |#else
  608|       |        *p++ = (STRINGLIB_CHAR)ch;
  609|       |#endif
  610|    101|    }
  611|  1.19k|    ch = 0;
  612|  1.29k|Return:
  613|  1.29k|    *inptr = q;
  614|  1.29k|    *outpos = p - dest;
  615|  1.29k|    return ch;
  616|      0|UnexpectedEnd:
  617|      0|    ch = 1;
  618|      0|    goto Return;
  619|      3|IllegalEncoding:
  620|      3|    ch = 2;
  621|      3|    goto Return;
  622|      5|IllegalSurrogate:
  623|      5|    ch = 3;
  624|      5|    goto Return;
  625|  1.19k|}
unicodeobject.c:ucs4lib_utf16_decode:
  517|    886|{
  518|    886|    Py_UCS4 ch;
  519|    886|    const unsigned char *q = *inptr;
  520|    886|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|    886|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
  521|       |    /* Offsets from q for retrieving byte pairs in the right order. */
  522|    886|#if PY_LITTLE_ENDIAN
  523|    886|    int ihi = !!native_ordering, ilo = !native_ordering;
  524|       |#else
  525|       |    int ihi = !native_ordering, ilo = !!native_ordering;
  526|       |#endif
  527|    886|    --e;
  528|       |
  529|  8.75k|    while (q < e) {
  ------------------
  |  Branch (529:12): [True: 7.87k, False: 873]
  ------------------
  530|  7.87k|        Py_UCS4 ch2;
  531|       |        /* First check for possible aligned read of a C 'long'. Unaligned
  532|       |           reads are more expensive, better to defer to another iteration. */
  533|  7.87k|        if (_Py_IS_ALIGNED(q, ALIGNOF_LONG)) {
  ------------------
  |  |  257|  7.87k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 2.18k, False: 5.69k]
  |  |  ------------------
  ------------------
  534|       |            /* Fast path for runs of in-range non-surrogate chars. */
  535|  2.18k|            const unsigned char *_q = q;
  536|  3.99k|            while (_q + SIZEOF_LONG <= e) {
  ------------------
  |  | 1789|  3.99k|#define SIZEOF_LONG 8
  ------------------
  |  Branch (536:20): [True: 3.11k, False: 875]
  ------------------
  537|  3.11k|                unsigned long block = * (const unsigned long *) _q;
  538|  3.11k|                if (native_ordering) {
  ------------------
  |  Branch (538:21): [True: 2.73k, False: 386]
  ------------------
  539|       |                    /* Can use buffer directly */
  540|  2.73k|                    if (block & FAST_CHAR_MASK)
  ------------------
  |  |  505|  2.73k|# define FAST_CHAR_MASK         (UCS2_REPEAT_MASK * 0x8000u)
  |  |  ------------------
  |  |  |  |  487|  2.73k|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  ------------------
  ------------------
  |  Branch (540:25): [True: 1.12k, False: 1.60k]
  ------------------
  541|  1.12k|                        break;
  542|  2.73k|                }
  543|    386|                else {
  544|       |                    /* Need to byte-swap */
  545|    386|                    if (block & SWAB(FAST_CHAR_MASK))
  ------------------
  |  |  510|    386|#define SWAB(value)             ((((value) >> 8) & STRIPPED_MASK) | \
  |  |  ------------------
  |  |  |  |  508|    386|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|    386|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  511|    386|                                 (((value) & STRIPPED_MASK) << 8))
  |  |  ------------------
  |  |  |  |  508|    386|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|    386|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (545:25): [True: 181, False: 205]
  ------------------
  546|    181|                        break;
  547|       |#if STRINGLIB_SIZEOF_CHAR == 1
  548|       |                    block >>= 8;
  549|       |#else
  550|    205|                    block = SWAB(block);
  ------------------
  |  |  510|    205|#define SWAB(value)             ((((value) >> 8) & STRIPPED_MASK) | \
  |  |  ------------------
  |  |  |  |  508|    205|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|    205|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  511|    205|                                 (((value) & STRIPPED_MASK) << 8))
  |  |  ------------------
  |  |  |  |  508|    205|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  487|    205|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  551|    205|#endif
  552|    205|                }
  553|  1.81k|#if PY_LITTLE_ENDIAN
  554|       |# if SIZEOF_LONG == 4
  555|       |                p[0] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  556|       |                p[1] = (STRINGLIB_CHAR)(block >> 16);
  557|       |# elif SIZEOF_LONG == 8
  558|  1.81k|                p[0] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  559|  1.81k|                p[1] = (STRINGLIB_CHAR)((block >> 16) & 0xFFFFu);
  560|  1.81k|                p[2] = (STRINGLIB_CHAR)((block >> 32) & 0xFFFFu);
  561|  1.81k|                p[3] = (STRINGLIB_CHAR)(block >> 48);
  562|  1.81k|# endif
  563|       |#else
  564|       |# if SIZEOF_LONG == 4
  565|       |                p[0] = (STRINGLIB_CHAR)(block >> 16);
  566|       |                p[1] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  567|       |# elif SIZEOF_LONG == 8
  568|       |                p[0] = (STRINGLIB_CHAR)(block >> 48);
  569|       |                p[1] = (STRINGLIB_CHAR)((block >> 32) & 0xFFFFu);
  570|       |                p[2] = (STRINGLIB_CHAR)((block >> 16) & 0xFFFFu);
  571|       |                p[3] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  572|       |# endif
  573|       |#endif
  574|  1.81k|                _q += SIZEOF_LONG;
  ------------------
  |  | 1789|  1.81k|#define SIZEOF_LONG 8
  ------------------
  575|  1.81k|                p += SIZEOF_LONG / 2;
  ------------------
  |  | 1789|  1.81k|#define SIZEOF_LONG 8
  ------------------
  576|  1.81k|            }
  577|  2.18k|            q = _q;
  578|  2.18k|            if (q >= e)
  ------------------
  |  Branch (578:17): [True: 7, False: 2.17k]
  ------------------
  579|      7|                break;
  580|  2.18k|        }
  581|       |
  582|  7.87k|        ch = (q[ihi] << 8) | q[ilo];
  583|  7.87k|        q += 2;
  584|  7.87k|        if (!Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (584:13): [True: 7.84k, False: 30]
  ------------------
  585|       |#if STRINGLIB_SIZEOF_CHAR < 2
  586|       |            if (ch > STRINGLIB_MAX_CHAR)
  587|       |                /* Out-of-range */
  588|       |                goto Return;
  589|       |#endif
  590|  7.84k|            *p++ = (STRINGLIB_CHAR)ch;
  591|  7.84k|            continue;
  592|  7.84k|        }
  593|       |
  594|       |        /* UTF-16 code pair: */
  595|     30|        if (!Py_UNICODE_IS_HIGH_SURROGATE(ch))
  ------------------
  |  Branch (595:13): [True: 4, False: 26]
  ------------------
  596|      4|            goto IllegalEncoding;
  597|     26|        if (q >= e)
  ------------------
  |  Branch (597:13): [True: 1, False: 25]
  ------------------
  598|      1|            goto UnexpectedEnd;
  599|     25|        ch2 = (q[ihi] << 8) | q[ilo];
  600|     25|        q += 2;
  601|     25|        if (!Py_UNICODE_IS_LOW_SURROGATE(ch2))
  ------------------
  |  Branch (601:13): [True: 1, False: 24]
  ------------------
  602|      1|            goto IllegalSurrogate;
  603|     24|        ch = Py_UNICODE_JOIN_SURROGATES(ch, ch2);
  604|       |#if STRINGLIB_SIZEOF_CHAR < 4
  605|       |        /* Out-of-range */
  606|       |        goto Return;
  607|       |#else
  608|     24|        *p++ = (STRINGLIB_CHAR)ch;
  609|     24|#endif
  610|     24|    }
  611|    880|    ch = 0;
  612|    886|Return:
  613|    886|    *inptr = q;
  614|    886|    *outpos = p - dest;
  615|    886|    return ch;
  616|      1|UnexpectedEnd:
  617|      1|    ch = 1;
  618|      1|    goto Return;
  619|      4|IllegalEncoding:
  620|      4|    ch = 2;
  621|      4|    goto Return;
  622|      1|IllegalSurrogate:
  623|      1|    ch = 3;
  624|      1|    goto Return;
  625|    880|}

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

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

dictobject.c:unicode_eq:
    8|   308k|{
    9|   308k|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  300|   308k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   308k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   308k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|   308k|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  300|   308k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   308k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   308k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10:9): [True: 94, False: 308k]
  ------------------
   11|     94|        return 0;
   12|     94|    }
   13|       |
   14|   308k|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  259|   308k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   616k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 308k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|   616k|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  259|   308k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   616k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 308k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 0, False: 308k]
  ------------------
   16|      0|        return 0;
   17|      0|    }
   18|       |
   19|   308k|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|   308k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   308k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   308k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|   308k|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  285|   308k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   308k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   308k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|   308k|    return (memcmp(data1, data2, len * kind) == 0);
   22|   308k|}
setobject.c:unicode_eq:
    8|  37.7k|{
    9|  37.7k|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  300|  37.7k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|  37.7k|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  300|  37.7k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10:9): [True: 1, False: 37.7k]
  ------------------
   11|      1|        return 0;
   12|      1|    }
   13|       |
   14|  37.7k|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  259|  37.7k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  75.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 37.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|  75.5k|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  259|  37.7k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  75.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 37.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 0, False: 37.7k]
  ------------------
   16|      0|        return 0;
   17|      0|    }
   18|       |
   19|  37.7k|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|  37.7k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|  37.7k|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  285|  37.7k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|  37.7k|    return (memcmp(data1, data2, len * kind) == 0);
   22|  37.7k|}
unicodeobject.c:unicode_eq:
    8|  4.11M|{
    9|  4.11M|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  300|  4.11M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|  4.11M|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  300|  4.11M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10:9): [True: 358k, False: 3.75M]
  ------------------
   11|   358k|        return 0;
   12|   358k|    }
   13|       |
   14|  3.75M|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  259|  3.75M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  7.50M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 3.75M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|  7.50M|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  259|  3.75M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  7.50M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 3.75M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 112k, False: 3.64M]
  ------------------
   16|   112k|        return 0;
   17|   112k|    }
   18|       |
   19|  3.64M|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|  3.64M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|  3.64M|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  285|  3.64M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|  3.64M|    return (memcmp(data1, data2, len * kind) == 0);
   22|  3.75M|}

unicodeobject.c:ucs1lib_find_char:
   51|   350k|{
   52|   350k|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|   350k|    p = s;
   55|   350k|    e = s + n;
   56|   350k|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|   350k|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 45.7k, False: 305k]
  ------------------
   57|  45.7k|#ifdef STRINGLIB_FAST_MEMCHR
   58|  45.7k|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |   23|  45.7k|#define STRINGLIB_FAST_MEMCHR    memchr
  ------------------
   59|  45.7k|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 44.9k, False: 794]
  ------------------
   60|  44.9k|            return (p - s);
   61|    794|        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|  45.7k|    }
   98|  2.15M|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 1.85M, False: 303k]
  ------------------
   99|  1.85M|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 1.57k, False: 1.85M]
  ------------------
  100|  1.57k|            return (p - s);
  101|  1.85M|        p++;
  102|  1.85M|    }
  103|   303k|    return -1;
  104|   305k|}
unicodeobject.c:ucs1lib_rfind_char:
  117|    281|{
  118|    281|    const STRINGLIB_CHAR *p;
  119|    281|#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|    281|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|    281|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 147, False: 134]
  ------------------
  126|    147|#if STRINGLIB_SIZEOF_CHAR == 1
  127|    147|        p = memrchr(s, ch, n);
  128|    147|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 147, False: 0]
  ------------------
  129|    147|            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|    147|    }
  169|    134|#endif  /* HAVE_MEMRCHR */
  170|    134|    p = s + n;
  171|  1.04k|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 956, False: 92]
  ------------------
  172|    956|        p--;
  173|    956|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 42, False: 914]
  ------------------
  174|     42|            return (p - s);
  175|    956|    }
  176|     92|    return -1;
  177|    134|}
unicodeobject.c:ucs2lib_find_char:
   51|  12.3k|{
   52|  12.3k|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|  12.3k|    p = s;
   55|  12.3k|    e = s + n;
   56|  12.3k|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   46|  12.3k|#  define MEMCHR_CUT_OFF 40
  ------------------
  |  Branch (56:9): [True: 3.62k, False: 8.68k]
  ------------------
   57|       |#ifdef STRINGLIB_FAST_MEMCHR
   58|       |        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
   59|       |        if (p != NULL)
   60|       |            return (p - s);
   61|       |        return -1;
   62|       |#else
   63|       |        /* use memchr if we can choose a needle without too many likely
   64|       |           false positives */
   65|  3.62k|        const STRINGLIB_CHAR *s1, *e1;
   66|  3.62k|        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|  3.62k|        if (needle != 0) {
  ------------------
  |  Branch (70:13): [True: 3.62k, False: 0]
  ------------------
   71|  4.43k|            do {
   72|  4.43k|                const void *candidate = memchr(p, needle,
   73|  4.43k|                                               (e - p) * sizeof(STRINGLIB_CHAR));
   74|  4.43k|                if (candidate == NULL)
  ------------------
  |  Branch (74:21): [True: 114, False: 4.32k]
  ------------------
   75|    114|                    return -1;
   76|  4.32k|                s1 = p;
   77|  4.32k|                p = (const STRINGLIB_CHAR *)
   78|  4.32k|                        _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR));
  ------------------
  |  |  252|  4.32k|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  ------------------
   79|  4.32k|                if (*p == ch)
  ------------------
  |  Branch (79:21): [True: 1.43k, False: 2.88k]
  ------------------
   80|  1.43k|                    return (p - s);
   81|       |                /* False positive */
   82|  2.88k|                p++;
   83|  2.88k|                if (p - s1 > MEMCHR_CUT_OFF)
  ------------------
  |  |   46|  2.88k|#  define MEMCHR_CUT_OFF 40
  ------------------
  |  Branch (83:21): [True: 374, False: 2.51k]
  ------------------
   84|    374|                    continue;
   85|  2.51k|                if (e - p <= MEMCHR_CUT_OFF)
  ------------------
  |  |   46|  2.51k|#  define MEMCHR_CUT_OFF 40
  ------------------
  |  Branch (85:21): [True: 729, False: 1.78k]
  ------------------
   86|    729|                    break;
   87|  1.78k|                e1 = p + MEMCHR_CUT_OFF;
  ------------------
  |  |   46|  1.78k|#  define MEMCHR_CUT_OFF 40
  ------------------
   88|  54.0k|                while (p != e1) {
  ------------------
  |  Branch (88:24): [True: 53.2k, False: 766]
  ------------------
   89|  53.2k|                    if (*p == ch)
  ------------------
  |  Branch (89:25): [True: 1.01k, False: 52.2k]
  ------------------
   90|  1.01k|                        return (p - s);
   91|  52.2k|                    p++;
   92|  52.2k|                }
   93|  1.78k|            }
   94|  3.62k|            while (e - p > MEMCHR_CUT_OFF);
  ------------------
  |  |   46|  1.14k|#  define MEMCHR_CUT_OFF 40
  ------------------
  |  Branch (94:20): [True: 813, False: 327]
  ------------------
   95|  3.62k|        }
   96|  3.62k|#endif
   97|  3.62k|    }
   98|   113k|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 106k, False: 7.08k]
  ------------------
   99|   106k|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 2.65k, False: 103k]
  ------------------
  100|  2.65k|            return (p - s);
  101|   103k|        p++;
  102|   103k|    }
  103|  7.08k|    return -1;
  104|  9.74k|}
unicodeobject.c:ucs4lib_find_char:
   51|  5.53k|{
   52|  5.53k|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|  5.53k|    p = s;
   55|  5.53k|    e = s + n;
   56|  5.53k|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|  5.53k|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 4.04k, False: 1.49k]
  ------------------
   57|  4.04k|#ifdef STRINGLIB_FAST_MEMCHR
   58|  4.04k|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |   26|  4.04k|    (Py_UCS4 *)wmemchr((const wchar_t *)(s), c, n)
  ------------------
   59|  4.04k|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 3.84k, False: 204]
  ------------------
   60|  3.84k|            return (p - s);
   61|    204|        return -1;
   62|       |#else
   63|       |        /* use memchr if we can choose a needle without too many likely
   64|       |           false positives */
   65|       |        const STRINGLIB_CHAR *s1, *e1;
   66|       |        unsigned char needle = ch & 0xff;
   67|       |        /* If looking for a multiple of 256, we'd have too
   68|       |           many false positives looking for the '\0' byte in UCS2
   69|       |           and UCS4 representations. */
   70|       |        if (needle != 0) {
   71|       |            do {
   72|       |                const void *candidate = memchr(p, needle,
   73|       |                                               (e - p) * sizeof(STRINGLIB_CHAR));
   74|       |                if (candidate == NULL)
   75|       |                    return -1;
   76|       |                s1 = p;
   77|       |                p = (const STRINGLIB_CHAR *)
   78|       |                        _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR));
   79|       |                if (*p == ch)
   80|       |                    return (p - s);
   81|       |                /* False positive */
   82|       |                p++;
   83|       |                if (p - s1 > MEMCHR_CUT_OFF)
   84|       |                    continue;
   85|       |                if (e - p <= MEMCHR_CUT_OFF)
   86|       |                    break;
   87|       |                e1 = p + MEMCHR_CUT_OFF;
   88|       |                while (p != e1) {
   89|       |                    if (*p == ch)
   90|       |                        return (p - s);
   91|       |                    p++;
   92|       |                }
   93|       |            }
   94|       |            while (e - p > MEMCHR_CUT_OFF);
   95|       |        }
   96|       |#endif
   97|  4.04k|    }
   98|  5.08k|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 4.68k, False: 406]
  ------------------
   99|  4.68k|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 1.08k, False: 3.59k]
  ------------------
  100|  1.08k|            return (p - s);
  101|  3.59k|        p++;
  102|  3.59k|    }
  103|    406|    return -1;
  104|  1.49k|}
unicodeobject.c:asciilib_fastsearch:
  776|  14.0k|{
  777|  14.0k|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|  28.1k|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 14.0k]
  |  Branch (777:19): [True: 0, False: 14.0k]
  |  Branch (777:41): [True: 0, False: 0]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|  14.0k|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 4.29k, False: 9.75k]
  ------------------
  783|  4.29k|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 4.29k]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|  4.29k|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|  4.29k|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 2.61k, False: 1.68k]
  ------------------
  788|  2.61k|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |    7|  2.61k|#define STRINGLIB(F)             asciilib_##F
  ------------------
  789|  1.68k|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|  1.68k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 1.68k, False: 0]
  ------------------
  790|  1.68k|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |    7|  1.68k|#define STRINGLIB(F)             asciilib_##F
  ------------------
  791|      0|        else {
  792|      0|            if (maxcount == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (792:17): [True: 0, False: 0]
  ------------------
  793|      0|                return STRINGLIB(count_char_no_maxcount)(s, n, p[0]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  794|      0|            }
  795|      0|            return STRINGLIB(count_char)(s, n, p[0], maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             asciilib_##F
  ------------------
  796|      0|        }
  797|  4.29k|    }
  798|       |
  799|  9.75k|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|  9.75k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 9.75k, False: 0]
  ------------------
  800|  9.75k|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 9.64k, False: 105]
  |  Branch (800:26): [True: 105, False: 0]
  |  Branch (800:37): [True: 105, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|  9.75k|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|  9.75k|#define STRINGLIB(F)             asciilib_##F
  ------------------
  802|  9.75k|        }
  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|  9.75k|    }
  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|  9.75k|}
unicodeobject.c:asciilib_find_char:
   51|  2.61k|{
   52|  2.61k|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|  2.61k|    p = s;
   55|  2.61k|    e = s + n;
   56|  2.61k|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|  2.61k|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 773, False: 1.83k]
  ------------------
   57|    773|#ifdef STRINGLIB_FAST_MEMCHR
   58|    773|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |   24|    773|#define STRINGLIB_FAST_MEMCHR    memchr
  ------------------
   59|    773|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 773, False: 0]
  ------------------
   60|    773|            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|    773|    }
   98|  4.33k|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 4.33k, False: 0]
  ------------------
   99|  4.33k|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 1.83k, False: 2.49k]
  ------------------
  100|  1.83k|            return (p - s);
  101|  2.49k|        p++;
  102|  2.49k|    }
  103|      0|    return -1;
  104|  1.83k|}
unicodeobject.c:asciilib_rfind_char:
  117|  1.68k|{
  118|  1.68k|    const STRINGLIB_CHAR *p;
  119|  1.68k|#ifdef HAVE_MEMRCHR
  120|       |    /* memrchr() is a GNU extension, available since glibc 2.1.91.  it
  121|       |       doesn't seem as optimized as memchr(), but is still quite
  122|       |       faster than our hand-written loop below. There is no wmemrchr
  123|       |       for 4-byte chars. */
  124|       |
  125|  1.68k|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|  1.68k|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 536, False: 1.15k]
  ------------------
  126|    536|#if STRINGLIB_SIZEOF_CHAR == 1
  127|    536|        p = memrchr(s, ch, n);
  128|    536|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 522, False: 14]
  ------------------
  129|    522|            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|    536|    }
  169|  1.15k|#endif  /* HAVE_MEMRCHR */
  170|  1.15k|    p = s + n;
  171|  6.56k|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 6.24k, False: 313]
  ------------------
  172|  6.24k|        p--;
  173|  6.24k|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 837, False: 5.41k]
  ------------------
  174|    837|            return (p - s);
  175|  6.24k|    }
  176|    313|    return -1;
  177|  1.15k|}
unicodeobject.c:asciilib_default_find:
  560|  9.75k|{
  561|  9.75k|    const Py_ssize_t w = n - m;
  562|  9.75k|    Py_ssize_t mlast = m - 1, count = 0;
  563|  9.75k|    Py_ssize_t gap = mlast;
  564|  9.75k|    const STRINGLIB_CHAR last = p[mlast];
  565|  9.75k|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|  9.75k|    unsigned long mask = 0;
  568|  23.3k|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 13.5k, False: 9.75k]
  ------------------
  569|  13.5k|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|  13.5k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  13.5k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|  13.5k|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 5.94k, False: 7.61k]
  ------------------
  571|  5.94k|            gap = mlast - i - 1;
  572|  5.94k|        }
  573|  13.5k|    }
  574|  9.75k|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|  9.75k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  9.75k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|  22.0k|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 22.0k, False: 0]
  ------------------
  577|  22.0k|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 11.2k, False: 10.7k]
  ------------------
  578|       |            /* candidate match */
  579|  11.2k|            Py_ssize_t j;
  580|  24.8k|            for (j = 0; j < mlast; j++) {
  ------------------
  |  Branch (580:25): [True: 15.0k, False: 9.75k]
  ------------------
  581|  15.0k|                if (s[i+j] != p[j]) {
  ------------------
  |  Branch (581:21): [True: 1.49k, False: 13.5k]
  ------------------
  582|  1.49k|                    break;
  583|  1.49k|                }
  584|  15.0k|            }
  585|  11.2k|            if (j == mlast) {
  ------------------
  |  Branch (585:17): [True: 9.75k, False: 1.49k]
  ------------------
  586|       |                /* got a match! */
  587|  9.75k|                if (mode != FAST_COUNT) {
  ------------------
  |  |   24|  9.75k|#define FAST_COUNT 0
  ------------------
  |  Branch (587:21): [True: 9.75k, False: 0]
  ------------------
  588|  9.75k|                    return i;
  589|  9.75k|                }
  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.49k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  1.49k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  1.49k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (598:17): [True: 1.49k, False: 0]
  |  Branch (598:31): [True: 0, False: 1.49k]
  ------------------
  599|      0|                i = i + m;
  600|      0|            }
  601|  1.49k|            else {
  602|  1.49k|                i = i + gap;
  603|  1.49k|            }
  604|  1.49k|        }
  605|  10.7k|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|  10.7k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  10.7k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  10.7k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 10.7k, False: 0]
  |  Branch (607:31): [True: 9.72k, False: 1.03k]
  ------------------
  608|  9.72k|                i = i + m;
  609|  9.72k|            }
  610|  10.7k|        }
  611|  22.0k|    }
  612|      0|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|      0|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 0, False: 0]
  ------------------
  613|  9.75k|}
unicodeobject.c:ucs1lib_fastsearch:
  776|  37.0k|{
  777|  37.0k|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|  74.0k|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 37.0k]
  |  Branch (777:19): [True: 32.2k, False: 4.80k]
  |  Branch (777:41): [True: 0, False: 32.2k]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|  37.0k|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 18.1k, False: 18.9k]
  ------------------
  783|  18.1k|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 18.1k]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|  18.1k|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|  18.1k|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 3.12k, False: 15.0k]
  ------------------
  788|  3.12k|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |    7|  3.12k|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  789|  15.0k|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|  15.0k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 0, False: 15.0k]
  ------------------
  790|      0|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  791|  15.0k|        else {
  792|  15.0k|            if (maxcount == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  15.0k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (792:17): [True: 15.0k, False: 0]
  ------------------
  793|  15.0k|                return STRINGLIB(count_char_no_maxcount)(s, n, p[0]);
  ------------------
  |  |    7|  15.0k|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  794|  15.0k|            }
  795|      0|            return STRINGLIB(count_char)(s, n, p[0], maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  796|  15.0k|        }
  797|  18.1k|    }
  798|       |
  799|  18.9k|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|  18.9k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 18.9k, False: 0]
  ------------------
  800|  18.9k|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 18.8k, False: 70]
  |  Branch (800:26): [True: 70, False: 0]
  |  Branch (800:37): [True: 70, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|  18.9k|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|  18.9k|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  802|  18.9k|        }
  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.9k|    }
  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.9k|}
unicodeobject.c:ucs1lib_count_char_no_maxcount:
  761|  15.0k|{
  762|  15.0k|    Py_ssize_t count = 0;
  763|  1.35M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (763:28): [True: 1.33M, False: 15.0k]
  ------------------
  764|  1.33M|        if (s[i] == p0) {
  ------------------
  |  Branch (764:13): [True: 5.73k, False: 1.33M]
  ------------------
  765|  5.73k|            count++;
  766|  5.73k|        }
  767|  1.33M|    }
  768|  15.0k|    return count;
  769|  15.0k|}
unicodeobject.c:ucs1lib_default_find:
  560|  18.9k|{
  561|  18.9k|    const Py_ssize_t w = n - m;
  562|  18.9k|    Py_ssize_t mlast = m - 1, count = 0;
  563|  18.9k|    Py_ssize_t gap = mlast;
  564|  18.9k|    const STRINGLIB_CHAR last = p[mlast];
  565|  18.9k|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|  18.9k|    unsigned long mask = 0;
  568|  53.3k|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 34.4k, False: 18.9k]
  ------------------
  569|  34.4k|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|  34.4k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  34.4k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|  34.4k|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 3.32k, False: 31.1k]
  ------------------
  571|  3.32k|            gap = mlast - i - 1;
  572|  3.32k|        }
  573|  34.4k|    }
  574|  18.9k|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|  18.9k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  18.9k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|  87.0k|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 69.8k, False: 17.2k]
  ------------------
  577|  69.8k|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 15.1k, False: 54.7k]
  ------------------
  578|       |            /* candidate match */
  579|  15.1k|            Py_ssize_t j;
  580|  31.9k|            for (j = 0; j < mlast; j++) {
  ------------------
  |  Branch (580:25): [True: 18.9k, False: 13.0k]
  ------------------
  581|  18.9k|                if (s[i+j] != p[j]) {
  ------------------
  |  Branch (581:21): [True: 2.03k, False: 16.8k]
  ------------------
  582|  2.03k|                    break;
  583|  2.03k|                }
  584|  18.9k|            }
  585|  15.1k|            if (j == mlast) {
  ------------------
  |  Branch (585:17): [True: 13.0k, False: 2.03k]
  ------------------
  586|       |                /* got a match! */
  587|  13.0k|                if (mode != FAST_COUNT) {
  ------------------
  |  |   24|  13.0k|#define FAST_COUNT 0
  ------------------
  |  Branch (587:21): [True: 1.65k, False: 11.4k]
  ------------------
  588|  1.65k|                    return i;
  589|  1.65k|                }
  590|  11.4k|                count++;
  591|  11.4k|                if (count == maxcount) {
  ------------------
  |  Branch (591:21): [True: 0, False: 11.4k]
  ------------------
  592|      0|                    return maxcount;
  593|      0|                }
  594|  11.4k|                i = i + mlast;
  595|  11.4k|                continue;
  596|  11.4k|            }
  597|       |            /* miss: check if next character is part of pattern */
  598|  2.03k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  2.03k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  2.03k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (598:17): [True: 2.03k, False: 0]
  |  Branch (598:31): [True: 0, False: 2.03k]
  ------------------
  599|      0|                i = i + m;
  600|      0|            }
  601|  2.03k|            else {
  602|  2.03k|                i = i + gap;
  603|  2.03k|            }
  604|  2.03k|        }
  605|  54.7k|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|  54.7k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  49.7k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  49.7k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 49.7k, False: 4.93k]
  |  Branch (607:31): [True: 47.3k, False: 2.41k]
  ------------------
  608|  47.3k|                i = i + m;
  609|  47.3k|            }
  610|  54.7k|        }
  611|  69.8k|    }
  612|  17.2k|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|  17.2k|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 17.2k, False: 23]
  ------------------
  613|  18.9k|}
unicodeobject.c:ucs2lib_fastsearch:
  776|  10.2k|{
  777|  10.2k|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|  20.4k|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 10.2k]
  |  Branch (777:19): [True: 2.62k, False: 7.58k]
  |  Branch (777:41): [True: 0, False: 2.62k]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|  10.2k|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 5.01k, False: 5.18k]
  ------------------
  783|  5.01k|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 5.01k]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|  5.01k|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|  5.01k|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 2.92k, False: 2.09k]
  ------------------
  788|  2.92k|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |    7|  2.92k|#define STRINGLIB(F)             ucs2lib_##F
  ------------------
  789|  2.09k|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|  2.09k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 0, False: 2.09k]
  ------------------
  790|      0|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs2lib_##F
  ------------------
  791|  2.09k|        else {
  792|  2.09k|            if (maxcount == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  2.09k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (792:17): [True: 2.09k, False: 0]
  ------------------
  793|  2.09k|                return STRINGLIB(count_char_no_maxcount)(s, n, p[0]);
  ------------------
  |  |    7|  2.09k|#define STRINGLIB(F)             ucs2lib_##F
  ------------------
  794|  2.09k|            }
  795|      0|            return STRINGLIB(count_char)(s, n, p[0], maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs2lib_##F
  ------------------
  796|  2.09k|        }
  797|  5.01k|    }
  798|       |
  799|  5.18k|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|  5.18k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 5.18k, False: 0]
  ------------------
  800|  5.18k|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 4.96k, False: 226]
  |  Branch (800:26): [True: 226, False: 0]
  |  Branch (800:37): [True: 226, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|  5.18k|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|  5.18k|#define STRINGLIB(F)             ucs2lib_##F
  ------------------
  802|  5.18k|        }
  803|      0|        else if ((m >> 2) * 3 < (n >> 2)) {
  ------------------
  |  Branch (803:18): [True: 0, False: 0]
  ------------------
  804|       |            /* 33% threshold, but don't overflow. */
  805|       |            /* For larger problems where the needle isn't a huge
  806|       |               percentage of the size of the haystack, the relatively
  807|       |               expensive O(m) startup cost of the two-way algorithm
  808|       |               will surely pay off. */
  809|      0|            if (mode == FAST_SEARCH) {
  ------------------
  |  |   25|      0|#define FAST_SEARCH 1
  ------------------
  |  Branch (809:17): [True: 0, False: 0]
  ------------------
  810|      0|                return STRINGLIB(_two_way_find)(s, n, p, m);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs2lib_##F
  ------------------
  811|      0|            }
  812|      0|            else {
  813|      0|                return STRINGLIB(_two_way_count)(s, n, p, m, maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs2lib_##F
  ------------------
  814|      0|            }
  815|      0|        }
  816|      0|        else {
  817|       |            /* To ensure that we have good worst-case behavior,
  818|       |               here's an adaptive version of the algorithm, where if
  819|       |               we match O(m) characters without any matches of the
  820|       |               entire needle, then we predict that the startup cost of
  821|       |               the two-way algorithm will probably be worth it. */
  822|      0|            return STRINGLIB(adaptive_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs2lib_##F
  ------------------
  823|      0|        }
  824|  5.18k|    }
  825|      0|    else {
  826|       |        /* FAST_RSEARCH */
  827|      0|        return STRINGLIB(default_rfind)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs2lib_##F
  ------------------
  828|      0|    }
  829|  5.18k|}
unicodeobject.c:ucs2lib_count_char_no_maxcount:
  761|  2.09k|{
  762|  2.09k|    Py_ssize_t count = 0;
  763|   283k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (763:28): [True: 281k, False: 2.09k]
  ------------------
  764|   281k|        if (s[i] == p0) {
  ------------------
  |  Branch (764:13): [True: 2.92k, False: 278k]
  ------------------
  765|  2.92k|            count++;
  766|  2.92k|        }
  767|   281k|    }
  768|  2.09k|    return count;
  769|  2.09k|}
unicodeobject.c:ucs2lib_default_find:
  560|  5.18k|{
  561|  5.18k|    const Py_ssize_t w = n - m;
  562|  5.18k|    Py_ssize_t mlast = m - 1, count = 0;
  563|  5.18k|    Py_ssize_t gap = mlast;
  564|  5.18k|    const STRINGLIB_CHAR last = p[mlast];
  565|  5.18k|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|  5.18k|    unsigned long mask = 0;
  568|  10.3k|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 5.18k, False: 5.18k]
  ------------------
  569|  5.18k|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|  5.18k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  5.18k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|  5.18k|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 5.18k, False: 0]
  ------------------
  571|  5.18k|            gap = mlast - i - 1;
  572|  5.18k|        }
  573|  5.18k|    }
  574|  5.18k|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|  5.18k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  5.18k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|  29.2k|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 28.6k, False: 531]
  ------------------
  577|  28.6k|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 10.7k, False: 17.9k]
  ------------------
  578|       |            /* candidate match */
  579|  10.7k|            Py_ssize_t j;
  580|  20.0k|            for (j = 0; j < mlast; j++) {
  ------------------
  |  Branch (580:25): [True: 10.7k, False: 9.31k]
  ------------------
  581|  10.7k|                if (s[i+j] != p[j]) {
  ------------------
  |  Branch (581:21): [True: 1.45k, False: 9.31k]
  ------------------
  582|  1.45k|                    break;
  583|  1.45k|                }
  584|  10.7k|            }
  585|  10.7k|            if (j == mlast) {
  ------------------
  |  Branch (585:17): [True: 9.31k, False: 1.45k]
  ------------------
  586|       |                /* got a match! */
  587|  9.31k|                if (mode != FAST_COUNT) {
  ------------------
  |  |   24|  9.31k|#define FAST_COUNT 0
  ------------------
  |  Branch (587:21): [True: 4.65k, False: 4.65k]
  ------------------
  588|  4.65k|                    return i;
  589|  4.65k|                }
  590|  4.65k|                count++;
  591|  4.65k|                if (count == maxcount) {
  ------------------
  |  Branch (591:21): [True: 0, False: 4.65k]
  ------------------
  592|      0|                    return maxcount;
  593|      0|                }
  594|  4.65k|                i = i + mlast;
  595|  4.65k|                continue;
  596|  4.65k|            }
  597|       |            /* miss: check if next character is part of pattern */
  598|  1.45k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  1.45k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  1.45k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (598:17): [True: 1.45k, False: 0]
  |  Branch (598:31): [True: 0, False: 1.45k]
  ------------------
  599|      0|                i = i + m;
  600|      0|            }
  601|  1.45k|            else {
  602|  1.45k|                i = i + gap;
  603|  1.45k|            }
  604|  1.45k|        }
  605|  17.9k|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|  17.9k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  17.8k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  17.8k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 17.8k, False: 89]
  |  Branch (607:31): [True: 16.5k, False: 1.25k]
  ------------------
  608|  16.5k|                i = i + m;
  609|  16.5k|            }
  610|  17.9k|        }
  611|  28.6k|    }
  612|    531|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|    531|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 531, False: 0]
  ------------------
  613|  5.18k|}
unicodeobject.c:ucs4lib_fastsearch:
  776|  10.9k|{
  777|  10.9k|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|  21.8k|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 10.9k]
  |  Branch (777:19): [True: 1.61k, False: 9.29k]
  |  Branch (777:41): [True: 0, False: 1.61k]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|  10.9k|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 5.11k, False: 5.80k]
  ------------------
  783|  5.11k|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 5.11k]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|  5.11k|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|  5.11k|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 4.36k, False: 742]
  ------------------
  788|  4.36k|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |    7|  4.36k|#define STRINGLIB(F)             ucs4lib_##F
  ------------------
  789|    742|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|    742|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 0, False: 742]
  ------------------
  790|      0|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs4lib_##F
  ------------------
  791|    742|        else {
  792|    742|            if (maxcount == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|    742|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (792:17): [True: 742, False: 0]
  ------------------
  793|    742|                return STRINGLIB(count_char_no_maxcount)(s, n, p[0]);
  ------------------
  |  |    7|    742|#define STRINGLIB(F)             ucs4lib_##F
  ------------------
  794|    742|            }
  795|      0|            return STRINGLIB(count_char)(s, n, p[0], maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs4lib_##F
  ------------------
  796|    742|        }
  797|  5.11k|    }
  798|       |
  799|  5.80k|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|  5.80k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 5.80k, False: 0]
  ------------------
  800|  5.80k|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 5.56k, False: 239]
  |  Branch (800:26): [True: 239, False: 0]
  |  Branch (800:37): [True: 239, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|  5.80k|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|  5.80k|#define STRINGLIB(F)             ucs4lib_##F
  ------------------
  802|  5.80k|        }
  803|      0|        else if ((m >> 2) * 3 < (n >> 2)) {
  ------------------
  |  Branch (803:18): [True: 0, False: 0]
  ------------------
  804|       |            /* 33% threshold, but don't overflow. */
  805|       |            /* For larger problems where the needle isn't a huge
  806|       |               percentage of the size of the haystack, the relatively
  807|       |               expensive O(m) startup cost of the two-way algorithm
  808|       |               will surely pay off. */
  809|      0|            if (mode == FAST_SEARCH) {
  ------------------
  |  |   25|      0|#define FAST_SEARCH 1
  ------------------
  |  Branch (809:17): [True: 0, False: 0]
  ------------------
  810|      0|                return STRINGLIB(_two_way_find)(s, n, p, m);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs4lib_##F
  ------------------
  811|      0|            }
  812|      0|            else {
  813|      0|                return STRINGLIB(_two_way_count)(s, n, p, m, maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs4lib_##F
  ------------------
  814|      0|            }
  815|      0|        }
  816|      0|        else {
  817|       |            /* To ensure that we have good worst-case behavior,
  818|       |               here's an adaptive version of the algorithm, where if
  819|       |               we match O(m) characters without any matches of the
  820|       |               entire needle, then we predict that the startup cost of
  821|       |               the two-way algorithm will probably be worth it. */
  822|      0|            return STRINGLIB(adaptive_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs4lib_##F
  ------------------
  823|      0|        }
  824|  5.80k|    }
  825|      0|    else {
  826|       |        /* FAST_RSEARCH */
  827|      0|        return STRINGLIB(default_rfind)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs4lib_##F
  ------------------
  828|      0|    }
  829|  5.80k|}
unicodeobject.c:ucs4lib_count_char_no_maxcount:
  761|    742|{
  762|    742|    Py_ssize_t count = 0;
  763|   221k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (763:28): [True: 220k, False: 742]
  ------------------
  764|   220k|        if (s[i] == p0) {
  ------------------
  |  Branch (764:13): [True: 4.36k, False: 216k]
  ------------------
  765|  4.36k|            count++;
  766|  4.36k|        }
  767|   220k|    }
  768|    742|    return count;
  769|    742|}
unicodeobject.c:ucs4lib_default_find:
  560|  5.80k|{
  561|  5.80k|    const Py_ssize_t w = n - m;
  562|  5.80k|    Py_ssize_t mlast = m - 1, count = 0;
  563|  5.80k|    Py_ssize_t gap = mlast;
  564|  5.80k|    const STRINGLIB_CHAR last = p[mlast];
  565|  5.80k|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|  5.80k|    unsigned long mask = 0;
  568|  11.6k|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 5.80k, False: 5.80k]
  ------------------
  569|  5.80k|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|  5.80k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  5.80k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|  5.80k|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 5.80k, False: 0]
  ------------------
  571|  5.80k|            gap = mlast - i - 1;
  572|  5.80k|        }
  573|  5.80k|    }
  574|  5.80k|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|  5.80k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  5.80k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|  49.9k|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 49.0k, False: 874]
  ------------------
  577|  49.0k|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 12.6k, False: 36.4k]
  ------------------
  578|       |            /* candidate match */
  579|  12.6k|            Py_ssize_t j;
  580|  22.5k|            for (j = 0; j < mlast; j++) {
  ------------------
  |  Branch (580:25): [True: 12.6k, False: 9.85k]
  ------------------
  581|  12.6k|                if (s[i+j] != p[j]) {
  ------------------
  |  Branch (581:21): [True: 2.79k, False: 9.85k]
  ------------------
  582|  2.79k|                    break;
  583|  2.79k|                }
  584|  12.6k|            }
  585|  12.6k|            if (j == mlast) {
  ------------------
  |  Branch (585:17): [True: 9.85k, False: 2.79k]
  ------------------
  586|       |                /* got a match! */
  587|  9.85k|                if (mode != FAST_COUNT) {
  ------------------
  |  |   24|  9.85k|#define FAST_COUNT 0
  ------------------
  |  Branch (587:21): [True: 4.92k, False: 4.92k]
  ------------------
  588|  4.92k|                    return i;
  589|  4.92k|                }
  590|  4.92k|                count++;
  591|  4.92k|                if (count == maxcount) {
  ------------------
  |  Branch (591:21): [True: 0, False: 4.92k]
  ------------------
  592|      0|                    return maxcount;
  593|      0|                }
  594|  4.92k|                i = i + mlast;
  595|  4.92k|                continue;
  596|  4.92k|            }
  597|       |            /* miss: check if next character is part of pattern */
  598|  2.79k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  2.79k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  2.79k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (598:17): [True: 2.79k, False: 0]
  |  Branch (598:31): [True: 0, False: 2.79k]
  ------------------
  599|      0|                i = i + m;
  600|      0|            }
  601|  2.79k|            else {
  602|  2.79k|                i = i + gap;
  603|  2.79k|            }
  604|  2.79k|        }
  605|  36.4k|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|  36.4k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  36.1k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  36.1k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 36.1k, False: 323]
  |  Branch (607:31): [True: 33.6k, False: 2.44k]
  ------------------
  608|  33.6k|                i = i + m;
  609|  33.6k|            }
  610|  36.4k|        }
  611|  49.0k|    }
  612|    874|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|    874|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 874, False: 0]
  ------------------
  613|  5.80k|}
bytes_methods.c:stringlib_find_char:
   51|  8.28k|{
   52|  8.28k|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|  8.28k|    p = s;
   55|  8.28k|    e = s + n;
   56|  8.28k|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|  8.28k|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 8.17k, False: 112]
  ------------------
   57|  8.17k|#ifdef STRINGLIB_FAST_MEMCHR
   58|  8.17k|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |  384|  8.17k|#define STRINGLIB_FAST_MEMCHR memchr
  ------------------
   59|  8.17k|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 8.16k, False: 15]
  ------------------
   60|  8.16k|            return (p - s);
   61|     15|        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|  8.17k|    }
   98|    559|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 539, False: 20]
  ------------------
   99|    539|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 92, False: 447]
  ------------------
  100|     92|            return (p - s);
  101|    447|        p++;
  102|    447|    }
  103|     20|    return -1;
  104|    112|}
bytes_methods.c:stringlib_rfind_char:
  117|  15.1k|{
  118|  15.1k|    const STRINGLIB_CHAR *p;
  119|  15.1k|#ifdef HAVE_MEMRCHR
  120|       |    /* memrchr() is a GNU extension, available since glibc 2.1.91.  it
  121|       |       doesn't seem as optimized as memchr(), but is still quite
  122|       |       faster than our hand-written loop below. There is no wmemrchr
  123|       |       for 4-byte chars. */
  124|       |
  125|  15.1k|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|  15.1k|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 6.15k, False: 9.00k]
  ------------------
  126|  6.15k|#if STRINGLIB_SIZEOF_CHAR == 1
  127|  6.15k|        p = memrchr(s, ch, n);
  128|  6.15k|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 1.69k, False: 4.45k]
  ------------------
  129|  1.69k|            return (p - s);
  130|  4.45k|        return -1;
  131|       |#else
  132|       |        /* use memrchr if we can choose a needle without too many likely
  133|       |           false positives */
  134|       |        const STRINGLIB_CHAR *s1;
  135|       |        Py_ssize_t n1;
  136|       |        unsigned char needle = ch & 0xff;
  137|       |        /* If looking for a multiple of 256, we'd have too
  138|       |           many false positives looking for the '\0' byte in UCS2
  139|       |           and UCS4 representations. */
  140|       |        if (needle != 0) {
  141|       |            do {
  142|       |                void *candidate = memrchr(s, needle,
  143|       |                                          n * sizeof(STRINGLIB_CHAR));
  144|       |                if (candidate == NULL)
  145|       |                    return -1;
  146|       |                n1 = n;
  147|       |                p = (const STRINGLIB_CHAR *)
  148|       |                        _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR));
  149|       |                n = p - s;
  150|       |                if (*p == ch)
  151|       |                    return n;
  152|       |                /* False positive */
  153|       |                if (n1 - n > MEMRCHR_CUT_OFF)
  154|       |                    continue;
  155|       |                if (n <= MEMRCHR_CUT_OFF)
  156|       |                    break;
  157|       |                s1 = p - MEMRCHR_CUT_OFF;
  158|       |                while (p > s1) {
  159|       |                    p--;
  160|       |                    if (*p == ch)
  161|       |                        return (p - s);
  162|       |                }
  163|       |                n = p - s;
  164|       |            }
  165|       |            while (n > MEMRCHR_CUT_OFF);
  166|       |        }
  167|       |#endif
  168|  6.15k|    }
  169|  9.00k|#endif  /* HAVE_MEMRCHR */
  170|  9.00k|    p = s + n;
  171|  76.5k|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 68.4k, False: 8.05k]
  ------------------
  172|  68.4k|        p--;
  173|  68.4k|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 951, False: 67.5k]
  ------------------
  174|    951|            return (p - s);
  175|  68.4k|    }
  176|  8.05k|    return -1;
  177|  9.00k|}
bytes_methods.c:fastsearch:
  776|  1.02k|{
  777|  1.02k|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|  2.04k|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 1.02k]
  |  Branch (777:19): [True: 0, False: 1.02k]
  |  Branch (777:41): [True: 0, False: 0]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|  1.02k|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 0, False: 1.02k]
  ------------------
  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]);
  ------------------
  |  |  381|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  789|      0|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|      0|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 0, False: 0]
  ------------------
  790|      0|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |  381|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  791|      0|        else {
  792|      0|            if (maxcount == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (792:17): [True: 0, False: 0]
  ------------------
  793|      0|                return STRINGLIB(count_char_no_maxcount)(s, n, p[0]);
  ------------------
  |  |  381|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  794|      0|            }
  795|      0|            return STRINGLIB(count_char)(s, n, p[0], maxcount);
  ------------------
  |  |  381|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  796|      0|        }
  797|      0|    }
  798|       |
  799|  1.02k|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|  1.02k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 1.02k, False: 0]
  ------------------
  800|  1.02k|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 905, False: 117]
  |  Branch (800:26): [True: 117, False: 0]
  |  Branch (800:37): [True: 115, False: 2]
  |  Branch (800:51): [True: 2, False: 0]
  ------------------
  801|  1.02k|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |  381|  1.02k|#define STRINGLIB(F) stringlib_##F
  ------------------
  802|  1.02k|        }
  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);
  ------------------
  |  |  381|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  811|      0|            }
  812|      0|            else {
  813|      0|                return STRINGLIB(_two_way_count)(s, n, p, m, maxcount);
  ------------------
  |  |  381|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  814|      0|            }
  815|      0|        }
  816|      0|        else {
  817|       |            /* To ensure that we have good worst-case behavior,
  818|       |               here's an adaptive version of the algorithm, where if
  819|       |               we match O(m) characters without any matches of the
  820|       |               entire needle, then we predict that the startup cost of
  821|       |               the two-way algorithm will probably be worth it. */
  822|      0|            return STRINGLIB(adaptive_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |  381|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  823|      0|        }
  824|  1.02k|    }
  825|      0|    else {
  826|       |        /* FAST_RSEARCH */
  827|      0|        return STRINGLIB(default_rfind)(s, n, p, m, maxcount, mode);
  ------------------
  |  |  381|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  828|      0|    }
  829|  1.02k|}
bytes_methods.c:stringlib_default_find:
  560|  1.02k|{
  561|  1.02k|    const Py_ssize_t w = n - m;
  562|  1.02k|    Py_ssize_t mlast = m - 1, count = 0;
  563|  1.02k|    Py_ssize_t gap = mlast;
  564|  1.02k|    const STRINGLIB_CHAR last = p[mlast];
  565|  1.02k|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|  1.02k|    unsigned long mask = 0;
  568|  4.08k|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 3.06k, False: 1.02k]
  ------------------
  569|  3.06k|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|  3.06k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  3.06k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|  3.06k|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 1.02k, False: 2.04k]
  ------------------
  571|  1.02k|            gap = mlast - i - 1;
  572|  1.02k|        }
  573|  3.06k|    }
  574|  1.02k|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|  1.02k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  1.02k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|  72.7k|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 72.6k, False: 125]
  ------------------
  577|  72.6k|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 3.16k, False: 69.4k]
  ------------------
  578|       |            /* candidate match */
  579|  3.16k|            Py_ssize_t j;
  580|  6.03k|            for (j = 0; j < mlast; j++) {
  ------------------
  |  Branch (580:25): [True: 5.13k, False: 897]
  ------------------
  581|  5.13k|                if (s[i+j] != p[j]) {
  ------------------
  |  Branch (581:21): [True: 2.26k, False: 2.87k]
  ------------------
  582|  2.26k|                    break;
  583|  2.26k|                }
  584|  5.13k|            }
  585|  3.16k|            if (j == mlast) {
  ------------------
  |  Branch (585:17): [True: 897, False: 2.26k]
  ------------------
  586|       |                /* got a match! */
  587|    897|                if (mode != FAST_COUNT) {
  ------------------
  |  |   24|    897|#define FAST_COUNT 0
  ------------------
  |  Branch (587:21): [True: 897, False: 0]
  ------------------
  588|    897|                    return i;
  589|    897|                }
  590|      0|                count++;
  591|      0|                if (count == maxcount) {
  ------------------
  |  Branch (591:21): [True: 0, False: 0]
  ------------------
  592|      0|                    return maxcount;
  593|      0|                }
  594|      0|                i = i + mlast;
  595|      0|                continue;
  596|      0|            }
  597|       |            /* miss: check if next character is part of pattern */
  598|  2.26k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  2.25k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  2.25k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (598:17): [True: 2.25k, False: 9]
  |  Branch (598:31): [True: 591, False: 1.66k]
  ------------------
  599|    591|                i = i + m;
  600|    591|            }
  601|  1.67k|            else {
  602|  1.67k|                i = i + gap;
  603|  1.67k|            }
  604|  2.26k|        }
  605|  69.4k|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|  69.4k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  69.4k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  69.4k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 69.4k, False: 26]
  |  Branch (607:31): [True: 24.7k, False: 44.7k]
  ------------------
  608|  24.7k|                i = i + m;
  609|  24.7k|            }
  610|  69.4k|        }
  611|  72.6k|    }
  612|    125|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|    125|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 0, False: 125]
  ------------------
  613|  1.02k|}

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

unicode_writer.c:ucs1lib_find_max_char:
   63|   258k|{
   64|   258k|    const unsigned char *p = (const unsigned char *)begin;
   65|   258k|    const unsigned char *_end = (const unsigned char *)end;
   66|   258k|    size_t value = 0;
   67|       |
   68|   258k|    if (p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1813|   258k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (68:9): [True: 137k, False: 120k]
  ------------------
   69|   137k|        if (!_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|   137k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (69:13): [True: 130k, False: 7.24k]
  ------------------
   70|   130k|#if STRINGLIB_SIZEOF_CHAR == 1
   71|   130k|            if (!_Py_IS_ALIGNED(p, sizeof(uint16_t))) {
  ------------------
  |  |  257|   130k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (71:17): [True: 92.4k, False: 37.8k]
  ------------------
   72|  92.4k|                value |= *p++;
   73|  92.4k|            }
   74|   130k|#endif
   75|   130k|#if STRINGLIB_SIZEOF_CHAR <= 2
   76|   130k|            if (!_Py_IS_ALIGNED(p, sizeof(uint32_t))) {
  ------------------
  |  |  257|   130k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (76:17): [True: 76.3k, False: 54.0k]
  ------------------
   77|  76.3k|                value |= *(const uint16_t *)p;
   78|  76.3k|                p += sizeof(uint16_t);
   79|  76.3k|            }
   80|   130k|#endif
   81|   130k|#if SIZEOF_SIZE_T == 8
   82|   130k|            if (!_Py_IS_ALIGNED(p, SIZEOF_SIZE_T)) {
  ------------------
  |  |  257|   130k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (82:17): [True: 83.5k, False: 46.8k]
  ------------------
   83|  83.5k|                value |= *(const uint32_t *)p;
   84|  83.5k|                p += sizeof(uint32_t);
   85|  83.5k|            }
   86|   130k|#endif
   87|   130k|            if (value & MASK_MAX_CHAR) {
  ------------------
  |  |   23|   130k|#  define MASK_MAX_CHAR MASK_ASCII
  |  |  ------------------
  |  |  |  |   17|   130k|#    define MASK_ASCII 0x8080808080808080ULL
  |  |  ------------------
  ------------------
  |  Branch (87:17): [True: 0, False: 130k]
  ------------------
   88|      0|                return MAX_CHAR;
  ------------------
  |  |   24|      0|#  define MAX_CHAR MAX_CHAR_UCS1
  |  |  ------------------
  |  |  |  |    9|      0|#define MAX_CHAR_UCS1  0xff
  |  |  ------------------
  ------------------
   89|      0|            }
   90|   130k|            assert(_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T));
  ------------------
  |  Branch (90:13): [True: 130k, False: 0]
  ------------------
   91|   130k|        }
   92|       |
   93|   137k|        for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|   137k|#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: 137k]
  ------------------
   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|   458k|        for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   458k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   320k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (111:16): [True: 320k, False: 137k]
  ------------------
  112|   320k|            value |= *(const size_t *)p;
  113|   320k|        }
  114|   137k|    }
  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|   258k|    if (p < _end) {
  ------------------
  |  Branch (118:9): [True: 242k, False: 16.1k]
  ------------------
  119|   242k|        size_t n = (size_t)(_end - p);
  120|   242k|        if (n >= 4) {
  ------------------
  |  Branch (120:13): [True: 79.1k, False: 163k]
  ------------------
  121|  79.1k|            uint32_t a, b;
  122|  79.1k|            memcpy(&a, p, 4);
  123|  79.1k|            memcpy(&b, _end - 4, 4);
  124|  79.1k|            value |= a | b;
  125|  79.1k|        }
  126|   163k|#if STRINGLIB_SIZEOF_CHAR <= 2
  127|   163k|        else if (n >= 2) {
  ------------------
  |  Branch (127:18): [True: 87.0k, False: 76.1k]
  ------------------
  128|  87.0k|            uint16_t a, b;
  129|  87.0k|            memcpy(&a, p, 2);
  130|  87.0k|            memcpy(&b, _end - 2, 2);
  131|  87.0k|            value |= a | b;
  132|  87.0k|        }
  133|  76.1k|#endif
  134|  76.1k|#if STRINGLIB_SIZEOF_CHAR == 1
  135|  76.1k|        else {
  136|  76.1k|            value |= *p;
  137|  76.1k|        }
  138|   242k|#endif
  139|   242k|    }
  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|   258k|    if (value & MASK_ASCII) {
  ------------------
  |  |   17|   258k|#    define MASK_ASCII 0x8080808080808080ULL
  ------------------
  |  Branch (151:9): [True: 0, False: 258k]
  ------------------
  152|      0|        return MAX_CHAR_UCS1;
  ------------------
  |  |    9|      0|#define MAX_CHAR_UCS1  0xff
  ------------------
  153|      0|    }
  154|   258k|    return MAX_CHAR_ASCII;
  ------------------
  |  |    8|   258k|#define MAX_CHAR_ASCII 0x7f
  ------------------
  155|   258k|}
unicodeobject.c:ucs4lib_find_max_char:
   63|  79.5k|{
   64|  79.5k|    const unsigned char *p = (const unsigned char *)begin;
   65|  79.5k|    const unsigned char *_end = (const unsigned char *)end;
   66|  79.5k|    size_t value = 0;
   67|       |
   68|  79.5k|    if (p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1813|  79.5k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (68:9): [True: 79.1k, False: 327]
  ------------------
   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: 5.35k, False: 73.8k]
  ------------------
   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|  5.35k|#if SIZEOF_SIZE_T == 8
   82|  5.35k|            if (!_Py_IS_ALIGNED(p, SIZEOF_SIZE_T)) {
  ------------------
  |  |  257|  5.35k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (82:17): [True: 5.35k, False: 0]
  ------------------
   83|  5.35k|                value |= *(const uint32_t *)p;
   84|  5.35k|                p += sizeof(uint32_t);
   85|  5.35k|            }
   86|  5.35k|#endif
   87|  5.35k|            if (value & MASK_MAX_CHAR) {
  ------------------
  |  |   49|  5.35k|#  define MASK_MAX_CHAR MASK_UCS2
  |  |  ------------------
  |  |  |  |   41|  5.35k|#    define MASK_UCS2 0xFFFF0000FFFF0000ULL
  |  |  ------------------
  ------------------
  |  Branch (87:17): [True: 2.73k, False: 2.62k]
  ------------------
   88|  2.73k|                return MAX_CHAR;
  ------------------
  |  |   50|  2.73k|#  define MAX_CHAR MAX_CHAR_UCS4
  |  |  ------------------
  |  |  |  |   11|  2.73k|#define MAX_CHAR_UCS4  0x10ffff
  |  |  ------------------
  ------------------
   89|  2.73k|            }
   90|  5.35k|            assert(_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T));
  ------------------
  |  Branch (90:13): [True: 2.62k, False: 0]
  ------------------
   91|  2.62k|        }
   92|       |
   93|   168k|        for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|   168k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|  92.4k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (93:16): [True: 95.1k, False: 73.7k]
  ------------------
   94|       |            /* Four independent accumulators so the loop does not serialize on
   95|       |               one register when the compiler does not vectorize it. */
   96|  95.1k|            size_t v0 = 0, v1 = 0, v2 = 0, v3 = 0;
   97|   475k|            for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   475k|#define SIZEOF_SIZE_T 8
  ------------------
                          for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   380k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (97:29): [True: 380k, False: 95.1k]
  ------------------
   98|   380k|                const size_t *w = (const size_t *)(p + i);
   99|   380k|                v0 |= w[0];
  100|   380k|                v1 |= w[1];
  101|   380k|                v2 |= w[2];
  102|   380k|                v3 |= w[3];
  103|   380k|            }
  104|  95.1k|            size_t block = v0 | v1 | v2 | v3;
  105|  95.1k|            if (block & MASK_MAX_CHAR) {
  ------------------
  |  |   49|  95.1k|#  define MASK_MAX_CHAR MASK_UCS2
  |  |  ------------------
  |  |  |  |   41|  95.1k|#    define MASK_UCS2 0xFFFF0000FFFF0000ULL
  |  |  ------------------
  ------------------
  |  Branch (105:17): [True: 2.71k, False: 92.4k]
  ------------------
  106|  2.71k|                return MAX_CHAR;
  ------------------
  |  |   50|  2.71k|#  define MAX_CHAR MAX_CHAR_UCS4
  |  |  ------------------
  |  |  |  |   11|  2.71k|#define MAX_CHAR_UCS4  0x10ffff
  |  |  ------------------
  ------------------
  107|  2.71k|            }
  108|  92.4k|            value |= block;
  109|  92.4k|        }
  110|       |
  111|   276k|        for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   276k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   202k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (111:16): [True: 202k, False: 73.7k]
  ------------------
  112|   202k|            value |= *(const size_t *)p;
  113|   202k|        }
  114|  73.7k|    }
  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|  74.0k|    if (p < _end) {
  ------------------
  |  Branch (118:9): [True: 19.7k, False: 54.3k]
  ------------------
  119|  19.7k|        size_t n = (size_t)(_end - p);
  120|  19.7k|        if (n >= 4) {
  ------------------
  |  Branch (120:13): [True: 19.7k, False: 0]
  ------------------
  121|  19.7k|            uint32_t a, b;
  122|  19.7k|            memcpy(&a, p, 4);
  123|  19.7k|            memcpy(&b, _end - 4, 4);
  124|  19.7k|            value |= a | b;
  125|  19.7k|        }
  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|  19.7k|    }
  140|       |
  141|  74.0k|#ifdef MASK_UCS2
  142|  74.0k|    if (value & MASK_UCS2) {
  ------------------
  |  |   41|  74.0k|#    define MASK_UCS2 0xFFFF0000FFFF0000ULL
  ------------------
  |  Branch (142:9): [True: 13.3k, False: 60.7k]
  ------------------
  143|  13.3k|        return MAX_CHAR_UCS4;
  ------------------
  |  |   11|  13.3k|#define MAX_CHAR_UCS4  0x10ffff
  ------------------
  144|  13.3k|    }
  145|  60.7k|#endif
  146|  60.7k|#ifdef MASK_UCS1
  147|  60.7k|    if (value & MASK_UCS1) {
  ------------------
  |  |   40|  60.7k|#    define MASK_UCS1 0xFFFFFF00FFFFFF00ULL
  ------------------
  |  Branch (147:9): [True: 54.7k, False: 5.97k]
  ------------------
  148|  54.7k|        return MAX_CHAR_UCS2;
  ------------------
  |  |   10|  54.7k|#define MAX_CHAR_UCS2  0xffff
  ------------------
  149|  54.7k|    }
  150|  5.97k|#endif
  151|  5.97k|    if (value & MASK_ASCII) {
  ------------------
  |  |   39|  5.97k|#    define MASK_ASCII 0xFFFFFF80FFFFFF80ULL
  ------------------
  |  Branch (151:9): [True: 2.88k, False: 3.09k]
  ------------------
  152|  2.88k|        return MAX_CHAR_UCS1;
  ------------------
  |  |    9|  2.88k|#define MAX_CHAR_UCS1  0xff
  ------------------
  153|  2.88k|    }
  154|  3.09k|    return MAX_CHAR_ASCII;
  ------------------
  |  |    8|  3.09k|#define MAX_CHAR_ASCII 0x7f
  ------------------
  155|  5.97k|}
unicodeobject.c:ucs1lib_find_max_char:
   63|   169k|{
   64|   169k|    const unsigned char *p = (const unsigned char *)begin;
   65|   169k|    const unsigned char *_end = (const unsigned char *)end;
   66|   169k|    size_t value = 0;
   67|       |
   68|   169k|    if (p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1813|   169k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (68:9): [True: 145k, False: 23.9k]
  ------------------
   69|   145k|        if (!_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|   145k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (69:13): [True: 125k, False: 20.0k]
  ------------------
   70|   125k|#if STRINGLIB_SIZEOF_CHAR == 1
   71|   125k|            if (!_Py_IS_ALIGNED(p, sizeof(uint16_t))) {
  ------------------
  |  |  257|   125k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (71:17): [True: 95.5k, False: 30.2k]
  ------------------
   72|  95.5k|                value |= *p++;
   73|  95.5k|            }
   74|   125k|#endif
   75|   125k|#if STRINGLIB_SIZEOF_CHAR <= 2
   76|   125k|            if (!_Py_IS_ALIGNED(p, sizeof(uint32_t))) {
  ------------------
  |  |  257|   125k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (76:17): [True: 57.2k, False: 68.5k]
  ------------------
   77|  57.2k|                value |= *(const uint16_t *)p;
   78|  57.2k|                p += sizeof(uint16_t);
   79|  57.2k|            }
   80|   125k|#endif
   81|   125k|#if SIZEOF_SIZE_T == 8
   82|   125k|            if (!_Py_IS_ALIGNED(p, SIZEOF_SIZE_T)) {
  ------------------
  |  |  257|   125k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (82:17): [True: 106k, False: 19.2k]
  ------------------
   83|   106k|                value |= *(const uint32_t *)p;
   84|   106k|                p += sizeof(uint32_t);
   85|   106k|            }
   86|   125k|#endif
   87|   125k|            if (value & MASK_MAX_CHAR) {
  ------------------
  |  |   23|   125k|#  define MASK_MAX_CHAR MASK_ASCII
  |  |  ------------------
  |  |  |  |   17|   125k|#    define MASK_ASCII 0x8080808080808080ULL
  |  |  ------------------
  ------------------
  |  Branch (87:17): [True: 3.82k, False: 121k]
  ------------------
   88|  3.82k|                return MAX_CHAR;
  ------------------
  |  |   24|  3.82k|#  define MAX_CHAR MAX_CHAR_UCS1
  |  |  ------------------
  |  |  |  |    9|  3.82k|#define MAX_CHAR_UCS1  0xff
  |  |  ------------------
  ------------------
   89|  3.82k|            }
   90|   125k|            assert(_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T));
  ------------------
  |  Branch (90:13): [True: 121k, False: 0]
  ------------------
   91|   121k|        }
   92|       |
   93|   258k|        for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|   258k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|   116k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (93:16): [True: 122k, False: 135k]
  ------------------
   94|       |            /* Four independent accumulators so the loop does not serialize on
   95|       |               one register when the compiler does not vectorize it. */
   96|   122k|            size_t v0 = 0, v1 = 0, v2 = 0, v3 = 0;
   97|   613k|            for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   613k|#define SIZEOF_SIZE_T 8
  ------------------
                          for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   491k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (97:29): [True: 491k, False: 122k]
  ------------------
   98|   491k|                const size_t *w = (const size_t *)(p + i);
   99|   491k|                v0 |= w[0];
  100|   491k|                v1 |= w[1];
  101|   491k|                v2 |= w[2];
  102|   491k|                v3 |= w[3];
  103|   491k|            }
  104|   122k|            size_t block = v0 | v1 | v2 | v3;
  105|   122k|            if (block & MASK_MAX_CHAR) {
  ------------------
  |  |   23|   122k|#  define MASK_MAX_CHAR MASK_ASCII
  |  |  ------------------
  |  |  |  |   17|   122k|#    define MASK_ASCII 0x8080808080808080ULL
  |  |  ------------------
  ------------------
  |  Branch (105:17): [True: 6.41k, False: 116k]
  ------------------
  106|  6.41k|                return MAX_CHAR;
  ------------------
  |  |   24|  6.41k|#  define MAX_CHAR MAX_CHAR_UCS1
  |  |  ------------------
  |  |  |  |    9|  6.41k|#define MAX_CHAR_UCS1  0xff
  |  |  ------------------
  ------------------
  107|  6.41k|            }
  108|   116k|            value |= block;
  109|   116k|        }
  110|       |
  111|   640k|        for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   640k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   504k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (111:16): [True: 504k, False: 135k]
  ------------------
  112|   504k|            value |= *(const size_t *)p;
  113|   504k|        }
  114|   135k|    }
  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|   159k|    if (p < _end) {
  ------------------
  |  Branch (118:9): [True: 148k, False: 10.5k]
  ------------------
  119|   148k|        size_t n = (size_t)(_end - p);
  120|   148k|        if (n >= 4) {
  ------------------
  |  Branch (120:13): [True: 112k, False: 36.2k]
  ------------------
  121|   112k|            uint32_t a, b;
  122|   112k|            memcpy(&a, p, 4);
  123|   112k|            memcpy(&b, _end - 4, 4);
  124|   112k|            value |= a | b;
  125|   112k|        }
  126|  36.2k|#if STRINGLIB_SIZEOF_CHAR <= 2
  127|  36.2k|        else if (n >= 2) {
  ------------------
  |  Branch (127:18): [True: 30.8k, False: 5.31k]
  ------------------
  128|  30.8k|            uint16_t a, b;
  129|  30.8k|            memcpy(&a, p, 2);
  130|  30.8k|            memcpy(&b, _end - 2, 2);
  131|  30.8k|            value |= a | b;
  132|  30.8k|        }
  133|  5.31k|#endif
  134|  5.31k|#if STRINGLIB_SIZEOF_CHAR == 1
  135|  5.31k|        else {
  136|  5.31k|            value |= *p;
  137|  5.31k|        }
  138|   148k|#endif
  139|   148k|    }
  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|   159k|    if (value & MASK_ASCII) {
  ------------------
  |  |   17|   159k|#    define MASK_ASCII 0x8080808080808080ULL
  ------------------
  |  Branch (151:9): [True: 12.2k, False: 147k]
  ------------------
  152|  12.2k|        return MAX_CHAR_UCS1;
  ------------------
  |  |    9|  12.2k|#define MAX_CHAR_UCS1  0xff
  ------------------
  153|  12.2k|    }
  154|   147k|    return MAX_CHAR_ASCII;
  ------------------
  |  |    8|   147k|#define MAX_CHAR_ASCII 0x7f
  ------------------
  155|   159k|}
unicodeobject.c:ucs2lib_find_max_char:
   63|   189k|{
   64|   189k|    const unsigned char *p = (const unsigned char *)begin;
   65|   189k|    const unsigned char *_end = (const unsigned char *)end;
   66|   189k|    size_t value = 0;
   67|       |
   68|   189k|    if (p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1813|   189k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (68:9): [True: 142k, False: 46.4k]
  ------------------
   69|   142k|        if (!_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|   142k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (69:13): [True: 60.2k, False: 82.3k]
  ------------------
   70|       |#if STRINGLIB_SIZEOF_CHAR == 1
   71|       |            if (!_Py_IS_ALIGNED(p, sizeof(uint16_t))) {
   72|       |                value |= *p++;
   73|       |            }
   74|       |#endif
   75|  60.2k|#if STRINGLIB_SIZEOF_CHAR <= 2
   76|  60.2k|            if (!_Py_IS_ALIGNED(p, sizeof(uint32_t))) {
  ------------------
  |  |  257|  60.2k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (76:17): [True: 33.7k, False: 26.5k]
  ------------------
   77|  33.7k|                value |= *(const uint16_t *)p;
   78|  33.7k|                p += sizeof(uint16_t);
   79|  33.7k|            }
   80|  60.2k|#endif
   81|  60.2k|#if SIZEOF_SIZE_T == 8
   82|  60.2k|            if (!_Py_IS_ALIGNED(p, SIZEOF_SIZE_T)) {
  ------------------
  |  |  257|  60.2k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (82:17): [True: 41.2k, False: 19.0k]
  ------------------
   83|  41.2k|                value |= *(const uint32_t *)p;
   84|  41.2k|                p += sizeof(uint32_t);
   85|  41.2k|            }
   86|  60.2k|#endif
   87|  60.2k|            if (value & MASK_MAX_CHAR) {
  ------------------
  |  |   35|  60.2k|#  define MASK_MAX_CHAR MASK_UCS1
  |  |  ------------------
  |  |  |  |   28|  60.2k|#    define MASK_UCS1 0xFF00FF00FF00FF00ULL
  |  |  ------------------
  ------------------
  |  Branch (87:17): [True: 48.1k, False: 12.1k]
  ------------------
   88|  48.1k|                return MAX_CHAR;
  ------------------
  |  |   36|  48.1k|#  define MAX_CHAR MAX_CHAR_UCS2
  |  |  ------------------
  |  |  |  |   10|  48.1k|#define MAX_CHAR_UCS2  0xffff
  |  |  ------------------
  ------------------
   89|  48.1k|            }
   90|  60.2k|            assert(_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T));
  ------------------
  |  Branch (90:13): [True: 12.1k, False: 0]
  ------------------
   91|  12.1k|        }
   92|       |
   93|  96.3k|        for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|  96.3k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T * 16 <= _end; p += SIZEOF_SIZE_T * 16) {
  ------------------
  |  | 1813|  1.80k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (93:16): [True: 7.51k, False: 88.8k]
  ------------------
   94|       |            /* Four independent accumulators so the loop does not serialize on
   95|       |               one register when the compiler does not vectorize it. */
   96|  7.51k|            size_t v0 = 0, v1 = 0, v2 = 0, v3 = 0;
   97|  37.5k|            for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  37.5k|#define SIZEOF_SIZE_T 8
  ------------------
                          for (int i = 0; i < 16 * SIZEOF_SIZE_T; i += 4 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  30.0k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (97:29): [True: 30.0k, False: 7.51k]
  ------------------
   98|  30.0k|                const size_t *w = (const size_t *)(p + i);
   99|  30.0k|                v0 |= w[0];
  100|  30.0k|                v1 |= w[1];
  101|  30.0k|                v2 |= w[2];
  102|  30.0k|                v3 |= w[3];
  103|  30.0k|            }
  104|  7.51k|            size_t block = v0 | v1 | v2 | v3;
  105|  7.51k|            if (block & MASK_MAX_CHAR) {
  ------------------
  |  |   35|  7.51k|#  define MASK_MAX_CHAR MASK_UCS1
  |  |  ------------------
  |  |  |  |   28|  7.51k|#    define MASK_UCS1 0xFF00FF00FF00FF00ULL
  |  |  ------------------
  ------------------
  |  Branch (105:17): [True: 5.70k, False: 1.80k]
  ------------------
  106|  5.70k|                return MAX_CHAR;
  ------------------
  |  |   36|  5.70k|#  define MAX_CHAR MAX_CHAR_UCS2
  |  |  ------------------
  |  |  |  |   10|  5.70k|#define MAX_CHAR_UCS2  0xffff
  |  |  ------------------
  ------------------
  107|  5.70k|            }
  108|  1.80k|            value |= block;
  109|  1.80k|        }
  110|       |
  111|   318k|        for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   318k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; p + SIZEOF_SIZE_T <= _end; p += SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   229k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (111:16): [True: 229k, False: 88.8k]
  ------------------
  112|   229k|            value |= *(const size_t *)p;
  113|   229k|        }
  114|  88.8k|    }
  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|   135k|    if (p < _end) {
  ------------------
  |  Branch (118:9): [True: 113k, False: 21.6k]
  ------------------
  119|   113k|        size_t n = (size_t)(_end - p);
  120|   113k|        if (n >= 4) {
  ------------------
  |  Branch (120:13): [True: 89.4k, False: 24.1k]
  ------------------
  121|  89.4k|            uint32_t a, b;
  122|  89.4k|            memcpy(&a, p, 4);
  123|  89.4k|            memcpy(&b, _end - 4, 4);
  124|  89.4k|            value |= a | b;
  125|  89.4k|        }
  126|  24.1k|#if STRINGLIB_SIZEOF_CHAR <= 2
  127|  24.1k|        else if (n >= 2) {
  ------------------
  |  Branch (127:18): [True: 24.1k, False: 0]
  ------------------
  128|  24.1k|            uint16_t a, b;
  129|  24.1k|            memcpy(&a, p, 2);
  130|  24.1k|            memcpy(&b, _end - 2, 2);
  131|  24.1k|            value |= a | b;
  132|  24.1k|        }
  133|   113k|#endif
  134|       |#if STRINGLIB_SIZEOF_CHAR == 1
  135|       |        else {
  136|       |            value |= *p;
  137|       |        }
  138|       |#endif
  139|   113k|    }
  140|       |
  141|       |#ifdef MASK_UCS2
  142|       |    if (value & MASK_UCS2) {
  143|       |        return MAX_CHAR_UCS4;
  144|       |    }
  145|       |#endif
  146|   135k|#ifdef MASK_UCS1
  147|   135k|    if (value & MASK_UCS1) {
  ------------------
  |  |   28|   135k|#    define MASK_UCS1 0xFF00FF00FF00FF00ULL
  ------------------
  |  Branch (147:9): [True: 131k, False: 3.97k]
  ------------------
  148|   131k|        return MAX_CHAR_UCS2;
  ------------------
  |  |   10|   131k|#define MAX_CHAR_UCS2  0xffff
  ------------------
  149|   131k|    }
  150|  3.97k|#endif
  151|  3.97k|    if (value & MASK_ASCII) {
  ------------------
  |  |   27|  3.97k|#    define MASK_ASCII 0xFF80FF80FF80FF80ULL
  ------------------
  |  Branch (151:9): [True: 222, False: 3.74k]
  ------------------
  152|    222|        return MAX_CHAR_UCS1;
  ------------------
  |  |    9|    222|#define MAX_CHAR_UCS1  0xff
  ------------------
  153|    222|    }
  154|  3.74k|    return MAX_CHAR_ASCII;
  ------------------
  |  |    8|  3.74k|#define MAX_CHAR_ASCII 0x7f
  ------------------
  155|  3.97k|}

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

unicodeobject.c:ucs1lib_replace_1char_inplace:
   10|     46|{
   11|     46|    *s = u2;
   12|  1.61k|    while (--maxcount && ++s != end) {
  ------------------
  |  Branch (12:12): [True: 1.61k, False: 0]
  |  Branch (12:26): [True: 1.59k, False: 18]
  ------------------
   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.59k|        if (*s != u1) {
  ------------------
  |  Branch (21:13): [True: 752, False: 840]
  ------------------
   22|    752|            int attempts = 10;
   23|       |            /* search u1 in a dummy loop */
   24|  4.80k|            while (1) {
  ------------------
  |  Branch (24:20): [True: 4.80k, Folded]
  ------------------
   25|  4.80k|                if (++s == end)
  ------------------
  |  Branch (25:21): [True: 24, False: 4.78k]
  ------------------
   26|     24|                    return;
   27|  4.78k|                if (*s == u1)
  ------------------
  |  Branch (27:21): [True: 487, False: 4.29k]
  ------------------
   28|    487|                    break;
   29|  4.29k|                if (!--attempts) {
  ------------------
  |  Branch (29:21): [True: 241, False: 4.05k]
  ------------------
   30|       |                    /* if u1 was not found for attempts iterations,
   31|       |                       use FASTSEARCH() or memchr() */
   32|    241|#ifdef STRINGLIB_FAST_MEMCHR
   33|    241|                    s++;
   34|    241|                    s = STRINGLIB_FAST_MEMCHR(s, u1, end - s);
  ------------------
  |  |   23|    241|#define STRINGLIB_FAST_MEMCHR    memchr
  ------------------
   35|    241|                    if (s == NULL)
  ------------------
  |  Branch (35:25): [True: 4, False: 237]
  ------------------
   36|      4|                        return;
   37|       |#else
   38|       |                    Py_ssize_t i;
   39|       |                    STRINGLIB_CHAR ch1 = (STRINGLIB_CHAR) u1;
   40|       |                    s++;
   41|       |                    i = FASTSEARCH(s, end - s, &ch1, 1, 0, FAST_SEARCH);
   42|       |                    if (i < 0)
   43|       |                        return;
   44|       |                    s += i;
   45|       |#endif
   46|       |                    /* restart the dummy loop */
   47|    237|                    break;
   48|    241|                }
   49|  4.29k|            }
   50|    752|        }
   51|  1.56k|        *s = u2;
   52|  1.56k|    }
   53|     46|}

unicodeobject.c:ucs1lib_repr:
   11|  2.54k|{
   12|  2.54k|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|  2.54k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   13|  2.54k|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|  2.54k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   14|  2.54k|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  2.54k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  5.09k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2.54k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|       |
   16|      0|    *odata++ = quote;
   17|   246k|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (17:28): [True: 244k, False: 2.54k]
  ------------------
   18|   244k|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  355|   244k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   244k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   244k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   244k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   244k|                   (index))
  ------------------
   19|       |
   20|       |        /* Escape quotes and backslashes */
   21|   244k|        if ((ch == quote) || (ch == '\\')) {
  ------------------
  |  Branch (21:13): [True: 6.08k, False: 238k]
  |  Branch (21:30): [True: 1.31k, False: 236k]
  ------------------
   22|  7.40k|            *odata++ = '\\';
   23|  7.40k|            *odata++ = ch;
   24|  7.40k|            continue;
   25|  7.40k|        }
   26|       |
   27|       |        /* Map special whitespace to '\t', \n', '\r' */
   28|   236k|        if (ch == '\t') {
  ------------------
  |  Branch (28:13): [True: 1.01k, False: 235k]
  ------------------
   29|  1.01k|            *odata++ = '\\';
   30|  1.01k|            *odata++ = 't';
   31|  1.01k|        }
   32|   235k|        else if (ch == '\n') {
  ------------------
  |  Branch (32:18): [True: 1.92k, False: 233k]
  ------------------
   33|  1.92k|            *odata++ = '\\';
   34|  1.92k|            *odata++ = 'n';
   35|  1.92k|        }
   36|   233k|        else if (ch == '\r') {
  ------------------
  |  Branch (36:18): [True: 296, False: 233k]
  ------------------
   37|    296|            *odata++ = '\\';
   38|    296|            *odata++ = 'r';
   39|    296|        }
   40|       |
   41|       |        /* Map non-printable US ASCII to '\xhh' */
   42|   233k|        else if (ch < ' ' || ch == 0x7F) {
  ------------------
  |  Branch (42:18): [True: 6.20k, False: 227k]
  |  Branch (42:30): [True: 1.16k, False: 226k]
  ------------------
   43|  7.37k|            *odata++ = '\\';
   44|  7.37k|            *odata++ = 'x';
   45|  7.37k|            *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   46|  7.37k|            *odata++ = Py_hexdigits[ch & 0x000F];
   47|  7.37k|        }
   48|       |
   49|       |        /* Copy ASCII characters as-is */
   50|   226k|        else if (ch < 0x7F) {
  ------------------
  |  Branch (50:18): [True: 178k, False: 48.2k]
  ------------------
   51|   178k|            *odata++ = ch;
   52|   178k|        }
   53|       |
   54|       |        /* Non-ASCII characters */
   55|  48.2k|        else {
   56|       |            /* Map Unicode whitespace and control characters
   57|       |               (categories Z* and C* except ASCII space)
   58|       |            */
   59|  48.2k|            if (!Py_UNICODE_ISPRINTABLE(ch)) {
  ------------------
  |  |  722|  48.2k|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  ------------------
  |  Branch (59:17): [True: 14.9k, False: 33.3k]
  ------------------
   60|  14.9k|                *odata++ = '\\';
   61|       |                /* Map 8-bit characters to '\xhh' */
   62|  14.9k|                if (ch <= 0xff) {
  ------------------
  |  Branch (62:21): [True: 14.6k, False: 296]
  ------------------
   63|  14.6k|                    *odata++ = 'x';
   64|  14.6k|                    *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   65|  14.6k|                    *odata++ = Py_hexdigits[ch & 0x000F];
   66|  14.6k|                }
   67|       |                /* Map 16-bit characters to '\uxxxx' */
   68|    296|                else if (ch <= 0xffff) {
  ------------------
  |  Branch (68:26): [True: 89, False: 207]
  ------------------
   69|     89|                    *odata++ = 'u';
   70|     89|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   71|     89|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   72|     89|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   73|     89|                    *odata++ = Py_hexdigits[ch & 0xF];
   74|     89|                }
   75|       |                /* Map 21-bit characters to '\U00xxxxxx' */
   76|    207|                else {
   77|    207|                    *odata++ = 'U';
   78|    207|                    *odata++ = Py_hexdigits[(ch >> 28) & 0xF];
   79|    207|                    *odata++ = Py_hexdigits[(ch >> 24) & 0xF];
   80|    207|                    *odata++ = Py_hexdigits[(ch >> 20) & 0xF];
   81|    207|                    *odata++ = Py_hexdigits[(ch >> 16) & 0xF];
   82|    207|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   83|    207|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   84|    207|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   85|    207|                    *odata++ = Py_hexdigits[ch & 0xF];
   86|    207|                }
   87|  14.9k|            }
   88|       |            /* Copy characters as-is */
   89|  33.3k|            else {
   90|  33.3k|                *odata++ = ch;
   91|  33.3k|            }
   92|  48.2k|        }
   93|   236k|    }
   94|  2.54k|    *odata = quote;
   95|  2.54k|}
unicodeobject.c:ucs2lib_repr:
   11|  1.01k|{
   12|  1.01k|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|  1.01k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   13|  1.01k|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|  1.01k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   14|  1.01k|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  1.01k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  2.03k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.01k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|       |
   16|      0|    *odata++ = quote;
   17|   203k|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (17:28): [True: 202k, False: 1.01k]
  ------------------
   18|   202k|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  355|   202k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   202k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   202k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   202k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   202k|                   (index))
  ------------------
   19|       |
   20|       |        /* Escape quotes and backslashes */
   21|   202k|        if ((ch == quote) || (ch == '\\')) {
  ------------------
  |  Branch (21:13): [True: 3.15k, False: 199k]
  |  Branch (21:30): [True: 1.78k, False: 197k]
  ------------------
   22|  4.93k|            *odata++ = '\\';
   23|  4.93k|            *odata++ = ch;
   24|  4.93k|            continue;
   25|  4.93k|        }
   26|       |
   27|       |        /* Map special whitespace to '\t', \n', '\r' */
   28|   197k|        if (ch == '\t') {
  ------------------
  |  Branch (28:13): [True: 931, False: 196k]
  ------------------
   29|    931|            *odata++ = '\\';
   30|    931|            *odata++ = 't';
   31|    931|        }
   32|   196k|        else if (ch == '\n') {
  ------------------
  |  Branch (32:18): [True: 1.12k, False: 195k]
  ------------------
   33|  1.12k|            *odata++ = '\\';
   34|  1.12k|            *odata++ = 'n';
   35|  1.12k|        }
   36|   195k|        else if (ch == '\r') {
  ------------------
  |  Branch (36:18): [True: 220, False: 195k]
  ------------------
   37|    220|            *odata++ = '\\';
   38|    220|            *odata++ = 'r';
   39|    220|        }
   40|       |
   41|       |        /* Map non-printable US ASCII to '\xhh' */
   42|   195k|        else if (ch < ' ' || ch == 0x7F) {
  ------------------
  |  Branch (42:18): [True: 3.29k, False: 192k]
  |  Branch (42:30): [True: 582, False: 191k]
  ------------------
   43|  3.87k|            *odata++ = '\\';
   44|  3.87k|            *odata++ = 'x';
   45|  3.87k|            *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   46|  3.87k|            *odata++ = Py_hexdigits[ch & 0x000F];
   47|  3.87k|        }
   48|       |
   49|       |        /* Copy ASCII characters as-is */
   50|   191k|        else if (ch < 0x7F) {
  ------------------
  |  Branch (50:18): [True: 119k, False: 71.9k]
  ------------------
   51|   119k|            *odata++ = ch;
   52|   119k|        }
   53|       |
   54|       |        /* Non-ASCII characters */
   55|  71.9k|        else {
   56|       |            /* Map Unicode whitespace and control characters
   57|       |               (categories Z* and C* except ASCII space)
   58|       |            */
   59|  71.9k|            if (!Py_UNICODE_ISPRINTABLE(ch)) {
  ------------------
  |  |  722|  71.9k|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  ------------------
  |  Branch (59:17): [True: 31.2k, False: 40.7k]
  ------------------
   60|  31.2k|                *odata++ = '\\';
   61|       |                /* Map 8-bit characters to '\xhh' */
   62|  31.2k|                if (ch <= 0xff) {
  ------------------
  |  Branch (62:21): [True: 30.5k, False: 624]
  ------------------
   63|  30.5k|                    *odata++ = 'x';
   64|  30.5k|                    *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   65|  30.5k|                    *odata++ = Py_hexdigits[ch & 0x000F];
   66|  30.5k|                }
   67|       |                /* Map 16-bit characters to '\uxxxx' */
   68|    624|                else if (ch <= 0xffff) {
  ------------------
  |  Branch (68:26): [True: 557, False: 67]
  ------------------
   69|    557|                    *odata++ = 'u';
   70|    557|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   71|    557|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   72|    557|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   73|    557|                    *odata++ = Py_hexdigits[ch & 0xF];
   74|    557|                }
   75|       |                /* Map 21-bit characters to '\U00xxxxxx' */
   76|     67|                else {
   77|     67|                    *odata++ = 'U';
   78|     67|                    *odata++ = Py_hexdigits[(ch >> 28) & 0xF];
   79|     67|                    *odata++ = Py_hexdigits[(ch >> 24) & 0xF];
   80|     67|                    *odata++ = Py_hexdigits[(ch >> 20) & 0xF];
   81|     67|                    *odata++ = Py_hexdigits[(ch >> 16) & 0xF];
   82|     67|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   83|     67|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   84|     67|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   85|     67|                    *odata++ = Py_hexdigits[ch & 0xF];
   86|     67|                }
   87|  31.2k|            }
   88|       |            /* Copy characters as-is */
   89|  40.7k|            else {
   90|  40.7k|                *odata++ = ch;
   91|  40.7k|            }
   92|  71.9k|        }
   93|   197k|    }
   94|  1.01k|    *odata = quote;
   95|  1.01k|}
unicodeobject.c:ucs4lib_repr:
   11|    318|{
   12|    318|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|    318|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    318|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    318|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   13|    318|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|    318|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    318|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    318|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   14|    318|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|    318|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    636|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 318, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|       |
   16|      0|    *odata++ = quote;
   17|  94.2k|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (17:28): [True: 93.9k, False: 318]
  ------------------
   18|  93.9k|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  355|  93.9k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  93.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  93.9k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  93.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  93.9k|                   (index))
  ------------------
   19|       |
   20|       |        /* Escape quotes and backslashes */
   21|  93.9k|        if ((ch == quote) || (ch == '\\')) {
  ------------------
  |  Branch (21:13): [True: 586, False: 93.3k]
  |  Branch (21:30): [True: 725, False: 92.6k]
  ------------------
   22|  1.31k|            *odata++ = '\\';
   23|  1.31k|            *odata++ = ch;
   24|  1.31k|            continue;
   25|  1.31k|        }
   26|       |
   27|       |        /* Map special whitespace to '\t', \n', '\r' */
   28|  92.6k|        if (ch == '\t') {
  ------------------
  |  Branch (28:13): [True: 620, False: 92.0k]
  ------------------
   29|    620|            *odata++ = '\\';
   30|    620|            *odata++ = 't';
   31|    620|        }
   32|  92.0k|        else if (ch == '\n') {
  ------------------
  |  Branch (32:18): [True: 615, False: 91.4k]
  ------------------
   33|    615|            *odata++ = '\\';
   34|    615|            *odata++ = 'n';
   35|    615|        }
   36|  91.4k|        else if (ch == '\r') {
  ------------------
  |  Branch (36:18): [True: 186, False: 91.2k]
  ------------------
   37|    186|            *odata++ = '\\';
   38|    186|            *odata++ = 'r';
   39|    186|        }
   40|       |
   41|       |        /* Map non-printable US ASCII to '\xhh' */
   42|  91.2k|        else if (ch < ' ' || ch == 0x7F) {
  ------------------
  |  Branch (42:18): [True: 2.41k, False: 88.8k]
  |  Branch (42:30): [True: 214, False: 88.5k]
  ------------------
   43|  2.63k|            *odata++ = '\\';
   44|  2.63k|            *odata++ = 'x';
   45|  2.63k|            *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   46|  2.63k|            *odata++ = Py_hexdigits[ch & 0x000F];
   47|  2.63k|        }
   48|       |
   49|       |        /* Copy ASCII characters as-is */
   50|  88.5k|        else if (ch < 0x7F) {
  ------------------
  |  Branch (50:18): [True: 79.9k, False: 8.61k]
  ------------------
   51|  79.9k|            *odata++ = ch;
   52|  79.9k|        }
   53|       |
   54|       |        /* Non-ASCII characters */
   55|  8.61k|        else {
   56|       |            /* Map Unicode whitespace and control characters
   57|       |               (categories Z* and C* except ASCII space)
   58|       |            */
   59|  8.61k|            if (!Py_UNICODE_ISPRINTABLE(ch)) {
  ------------------
  |  |  722|  8.61k|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  ------------------
  |  Branch (59:17): [True: 1.35k, False: 7.26k]
  ------------------
   60|  1.35k|                *odata++ = '\\';
   61|       |                /* Map 8-bit characters to '\xhh' */
   62|  1.35k|                if (ch <= 0xff) {
  ------------------
  |  Branch (62:21): [True: 682, False: 675]
  ------------------
   63|    682|                    *odata++ = 'x';
   64|    682|                    *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   65|    682|                    *odata++ = Py_hexdigits[ch & 0x000F];
   66|    682|                }
   67|       |                /* Map 16-bit characters to '\uxxxx' */
   68|    675|                else if (ch <= 0xffff) {
  ------------------
  |  Branch (68:26): [True: 476, False: 199]
  ------------------
   69|    476|                    *odata++ = 'u';
   70|    476|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   71|    476|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   72|    476|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   73|    476|                    *odata++ = Py_hexdigits[ch & 0xF];
   74|    476|                }
   75|       |                /* Map 21-bit characters to '\U00xxxxxx' */
   76|    199|                else {
   77|    199|                    *odata++ = 'U';
   78|    199|                    *odata++ = Py_hexdigits[(ch >> 28) & 0xF];
   79|    199|                    *odata++ = Py_hexdigits[(ch >> 24) & 0xF];
   80|    199|                    *odata++ = Py_hexdigits[(ch >> 20) & 0xF];
   81|    199|                    *odata++ = Py_hexdigits[(ch >> 16) & 0xF];
   82|    199|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   83|    199|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   84|    199|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   85|    199|                    *odata++ = Py_hexdigits[ch & 0xF];
   86|    199|                }
   87|  1.35k|            }
   88|       |            /* Copy characters as-is */
   89|  7.26k|            else {
   90|  7.26k|                *odata++ = ch;
   91|  7.26k|            }
   92|  8.61k|        }
   93|  92.6k|    }
   94|    318|    *odata = quote;
   95|    318|}

unicodeobject.c:asciilib_split_whitespace:
   51|      2|{
   52|      2|    Py_ssize_t i, j, count=0;
   53|      2|    PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   20|      2|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   16|      4|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   16|      1|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (20:6): [True: 1, False: 1]
  |  |  ------------------
  ------------------
   54|      2|    PyObject *sub;
   55|       |
   56|      2|    if (list == NULL)
  ------------------
  |  Branch (56:9): [True: 0, False: 2]
  ------------------
   57|      0|        return NULL;
   58|       |
   59|      2|    i = j = 0;
   60|     10|    while (maxcount-- > 0) {
  ------------------
  |  Branch (60:12): [True: 10, False: 0]
  ------------------
   61|     16|        while (i < str_len && STRINGLIB_ISSPACE(str[i]))
  ------------------
  |  |   14|     14|#define STRINGLIB_ISSPACE        Py_UNICODE_ISSPACE
  ------------------
  |  Branch (61:16): [True: 14, False: 2]
  |  Branch (61:31): [True: 6, False: 8]
  ------------------
   62|      6|            i++;
   63|     10|        if (i == str_len) break;
  ------------------
  |  Branch (63:13): [True: 2, False: 8]
  ------------------
   64|      8|        j = i; i++;
   65|     40|        while (i < str_len && !STRINGLIB_ISSPACE(str[i]))
  ------------------
  |  |   14|     38|#define STRINGLIB_ISSPACE        Py_UNICODE_ISSPACE
  ------------------
  |  Branch (65:16): [True: 38, False: 2]
  |  Branch (65:31): [True: 32, False: 6]
  ------------------
   66|     32|            i++;
   67|      8|#if !STRINGLIB_MUTABLE
   68|      8|        if (j == 0 && i == str_len && STRINGLIB_CHECK_EXACT(str_obj)) {
  ------------------
  |  |   22|      0|#define STRINGLIB_CHECK_EXACT    PyUnicode_CheckExact
  |  |  ------------------
  |  |  |  |  104|      0|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (68:13): [True: 2, False: 6]
  |  Branch (68:23): [True: 0, False: 2]
  ------------------
   69|       |            /* No whitespace in str_obj, so just use it as list[0] */
   70|      0|            Py_INCREF(str_obj);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   71|      0|            PyList_SET_ITEM(list, 0, (PyObject *)str_obj);
  ------------------
  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   72|      0|            count++;
   73|      0|            break;
   74|      0|        }
   75|      8|#endif
   76|     24|        SPLIT_ADD(str, j, i);
  ------------------
  |  |   30|      8|#define SPLIT_ADD(data, left, right) {          \
  |  |   31|      8|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|      8|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   32|      8|                        (right) - (left));      \
  |  |   33|      8|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (33:9): [True: 0, False: 8]
  |  |  ------------------
  |  |   34|      8|        goto onError;                           \
  |  |   35|      8|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   16|      8|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 8, False: 0]
  |  |  ------------------
  |  |   36|      8|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|      8|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   37|      8|    } else {                                    \
  |  |   38|      0|        if (_PyList_AppendTakeRef((PyListObject *)list, sub)) \
  |  |  ------------------
  |  |  |  Branch (38:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   39|      0|            goto onError;                       \
  |  |   40|      0|    }                                           \
  |  |   41|      8|    count++; }
  ------------------
   77|     24|    }
   78|       |
   79|      2|    if (i < str_len) {
  ------------------
  |  Branch (79:9): [True: 0, False: 2]
  ------------------
   80|       |        /* Only occurs when maxcount was reached */
   81|       |        /* Skip any remaining whitespace and copy to end of string */
   82|      0|        while (i < str_len && STRINGLIB_ISSPACE(str[i]))
  ------------------
  |  |   14|      0|#define STRINGLIB_ISSPACE        Py_UNICODE_ISSPACE
  ------------------
  |  Branch (82:16): [True: 0, False: 0]
  |  Branch (82:31): [True: 0, False: 0]
  ------------------
   83|      0|            i++;
   84|      0|        if (i != str_len)
  ------------------
  |  Branch (84:13): [True: 0, False: 0]
  ------------------
   85|      0|            SPLIT_ADD(str, i, str_len);
  ------------------
  |  |   30|      0|#define SPLIT_ADD(data, left, right) {          \
  |  |   31|      0|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|      0|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   32|      0|                        (right) - (left));      \
  |  |   33|      0|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (33:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   34|      0|        goto onError;                           \
  |  |   35|      0|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   16|      0|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   36|      0|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|      0|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   37|      0|    } else {                                    \
  |  |   38|      0|        if (_PyList_AppendTakeRef((PyListObject *)list, sub)) \
  |  |  ------------------
  |  |  |  Branch (38:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   39|      0|            goto onError;                       \
  |  |   40|      0|    }                                           \
  |  |   41|      0|    count++; }
  ------------------
   86|      0|    }
   87|      2|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   45|      2|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  216|      2|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|      2|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   88|      2|    return list;
   89|       |
   90|      0|  onError:
   91|      0|    Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   92|       |    return NULL;
   93|      2|}
unicodeobject.c:asciilib_split:
  143|    380|{
  144|    380|    Py_ssize_t i, j, pos, count=0;
  145|    380|    PyObject *list, *sub;
  146|       |
  147|    380|    if (sep_len == 0) {
  ------------------
  |  Branch (147:9): [True: 0, False: 380]
  ------------------
  148|      0|        PyErr_SetString(PyExc_ValueError, "empty separator");
  149|      0|        return NULL;
  150|      0|    }
  151|    380|    else if (sep_len == 1)
  ------------------
  |  Branch (151:14): [True: 380, False: 0]
  ------------------
  152|    380|        return STRINGLIB(split_char)(str_obj, str, str_len, sep[0], maxcount);
  ------------------
  |  |    7|    380|#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|    380|{
  101|    380|    Py_ssize_t i, j, count=0;
  102|    380|    PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   20|    380|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   16|    760|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   16|    312|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (20:6): [True: 312, False: 68]
  |  |  ------------------
  ------------------
  103|    380|    PyObject *sub;
  104|       |
  105|    380|    if (list == NULL)
  ------------------
  |  Branch (105:9): [True: 0, False: 380]
  ------------------
  106|      0|        return NULL;
  107|       |
  108|    380|    i = j = 0;
  109|  1.05k|    while ((j < str_len) && (maxcount-- > 0)) {
  ------------------
  |  Branch (109:12): [True: 673, False: 380]
  |  Branch (109:29): [True: 673, False: 0]
  ------------------
  110|  33.2k|        for(; j < str_len; j++) {
  ------------------
  |  Branch (110:15): [True: 32.8k, False: 380]
  ------------------
  111|       |            /* I found that using memchr makes no difference */
  112|  32.8k|            if (str[j] == ch) {
  ------------------
  |  Branch (112:17): [True: 293, False: 32.5k]
  ------------------
  113|    293|                SPLIT_ADD(str, i, j);
  ------------------
  |  |   30|    293|#define SPLIT_ADD(data, left, right) {          \
  |  |   31|    293|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|    293|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   32|    293|                        (right) - (left));      \
  |  |   33|    293|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (33:9): [True: 0, False: 293]
  |  |  ------------------
  |  |   34|    293|        goto onError;                           \
  |  |   35|    293|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   16|    293|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 293, False: 0]
  |  |  ------------------
  |  |   36|    293|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|    293|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    293|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    293|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    293|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    293|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   37|    293|    } else {                                    \
  |  |   38|      0|        if (_PyList_AppendTakeRef((PyListObject *)list, sub)) \
  |  |  ------------------
  |  |  |  Branch (38:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   39|      0|            goto onError;                       \
  |  |   40|      0|    }                                           \
  |  |   41|    293|    count++; }
  ------------------
  114|    293|                i = j = j + 1;
  115|    293|                break;
  116|    293|            }
  117|  32.8k|        }
  118|    673|    }
  119|    380|#if !STRINGLIB_MUTABLE
  120|    380|    if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) {
  ------------------
  |  |   22|     87|#define STRINGLIB_CHECK_EXACT    PyUnicode_CheckExact
  |  |  ------------------
  |  |  |  |  104|     87|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     87|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 87, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (120:9): [True: 87, False: 293]
  ------------------
  121|       |        /* ch not in str_obj, so just use str_obj as list[0] */
  122|     87|        Py_INCREF(str_obj);
  ------------------
  |  |  310|     87|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|     87|        PyList_SET_ITEM(list, 0, (PyObject *)str_obj);
  ------------------
  |  |   50|     87|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  124|     87|        count++;
  125|     87|    } else
  126|    293|#endif
  127|    293|    if (i <= str_len) {
  ------------------
  |  Branch (127:9): [True: 293, False: 0]
  ------------------
  128|    586|        SPLIT_ADD(str, i, str_len);
  ------------------
  |  |   30|    293|#define SPLIT_ADD(data, left, right) {          \
  |  |   31|    293|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|    293|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   32|    293|                        (right) - (left));      \
  |  |   33|    293|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (33:9): [True: 0, False: 293]
  |  |  ------------------
  |  |   34|    293|        goto onError;                           \
  |  |   35|    293|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   16|    293|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 293, False: 0]
  |  |  ------------------
  |  |   36|    293|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|    293|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    293|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    293|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    293|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    293|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   37|    293|    } else {                                    \
  |  |   38|      0|        if (_PyList_AppendTakeRef((PyListObject *)list, sub)) \
  |  |  ------------------
  |  |  |  Branch (38:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   39|      0|            goto onError;                       \
  |  |   40|      0|    }                                           \
  |  |   41|    293|    count++; }
  ------------------
  129|    586|    }
  130|    380|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   45|    380|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  216|    380|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|    380|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|    380|    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|    380|}
bytesobject.c:stringlib_split:
  143|    970|{
  144|    970|    Py_ssize_t i, j, pos, count=0;
  145|    970|    PyObject *list, *sub;
  146|       |
  147|    970|    if (sep_len == 0) {
  ------------------
  |  Branch (147:9): [True: 0, False: 970]
  ------------------
  148|      0|        PyErr_SetString(PyExc_ValueError, "empty separator");
  149|      0|        return NULL;
  150|      0|    }
  151|    970|    else if (sep_len == 1)
  ------------------
  |  Branch (151:14): [True: 970, False: 0]
  ------------------
  152|    970|        return STRINGLIB(split_char)(str_obj, str, str_len, sep[0], maxcount);
  ------------------
  |  |   10|    970|#define STRINGLIB(F) stringlib_##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);
  ------------------
  |  |    9|      0|#define FASTSEARCH 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),        \
  |  |  ------------------
  |  |  |  |   22|      0|#define STRINGLIB_NEW            PyBytes_FromStringAndSize
  |  |  ------------------
  |  |   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)) {
  ------------------
  |  |   24|      0|#define STRINGLIB_CHECK_EXACT    PyBytes_CheckExact
  |  |  ------------------
  |  |  |  |   29|      0|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (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),        \
  |  |  ------------------
  |  |  |  |   22|      0|#define STRINGLIB_NEW            PyBytes_FromStringAndSize
  |  |  ------------------
  |  |   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|}
bytesobject.c:stringlib_split_char:
  100|    970|{
  101|    970|    Py_ssize_t i, j, count=0;
  102|    970|    PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   20|    970|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   16|  1.94k|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   16|    970|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (20:6): [True: 970, False: 0]
  |  |  ------------------
  ------------------
  103|    970|    PyObject *sub;
  104|       |
  105|    970|    if (list == NULL)
  ------------------
  |  Branch (105:9): [True: 0, False: 970]
  ------------------
  106|      0|        return NULL;
  107|       |
  108|    970|    i = j = 0;
  109|   207k|    while ((j < str_len) && (maxcount-- > 0)) {
  ------------------
  |  Branch (109:12): [True: 206k, False: 970]
  |  Branch (109:29): [True: 206k, False: 0]
  ------------------
  110|  1.20M|        for(; j < str_len; j++) {
  ------------------
  |  Branch (110:15): [True: 1.20M, False: 853]
  ------------------
  111|       |            /* I found that using memchr makes no difference */
  112|  1.20M|            if (str[j] == ch) {
  ------------------
  |  Branch (112:17): [True: 205k, False: 1.00M]
  ------------------
  113|   205k|                SPLIT_ADD(str, i, j);
  ------------------
  |  |   30|   205k|#define SPLIT_ADD(data, left, right) {          \
  |  |   31|   205k|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   22|   205k|#define STRINGLIB_NEW            PyBytes_FromStringAndSize
  |  |  ------------------
  |  |   32|   205k|                        (right) - (left));      \
  |  |   33|   205k|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (33:9): [True: 0, False: 205k]
  |  |  ------------------
  |  |   34|   205k|        goto onError;                           \
  |  |   35|   205k|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   16|   205k|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 5.27k, False: 200k]
  |  |  ------------------
  |  |   36|  5.27k|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|  5.27k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   37|   200k|    } else {                                    \
  |  |   38|   200k|        if (_PyList_AppendTakeRef((PyListObject *)list, sub)) \
  |  |  ------------------
  |  |  |  Branch (38:13): [True: 0, False: 200k]
  |  |  ------------------
  |  |   39|   200k|            goto onError;                       \
  |  |   40|   200k|    }                                           \
  |  |   41|   205k|    count++; }
  ------------------
  114|   205k|                i = j = j + 1;
  115|   205k|                break;
  116|   205k|            }
  117|  1.20M|        }
  118|   206k|    }
  119|    970|#if !STRINGLIB_MUTABLE
  120|    970|    if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) {
  ------------------
  |  |   24|      7|#define STRINGLIB_CHECK_EXACT    PyBytes_CheckExact
  |  |  ------------------
  |  |  |  |   29|      7|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      7|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 7, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (120:9): [True: 7, False: 963]
  ------------------
  121|       |        /* ch not in str_obj, so just use str_obj as list[0] */
  122|      7|        Py_INCREF(str_obj);
  ------------------
  |  |  310|      7|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|      7|        PyList_SET_ITEM(list, 0, (PyObject *)str_obj);
  ------------------
  |  |   50|      7|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  124|      7|        count++;
  125|      7|    } else
  126|    963|#endif
  127|    963|    if (i <= str_len) {
  ------------------
  |  Branch (127:9): [True: 963, False: 0]
  ------------------
  128|  1.92k|        SPLIT_ADD(str, i, str_len);
  ------------------
  |  |   30|    963|#define SPLIT_ADD(data, left, right) {          \
  |  |   31|    963|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   22|    963|#define STRINGLIB_NEW            PyBytes_FromStringAndSize
  |  |  ------------------
  |  |   32|    963|                        (right) - (left));      \
  |  |   33|    963|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (33:9): [True: 0, False: 963]
  |  |  ------------------
  |  |   34|    963|        goto onError;                           \
  |  |   35|    963|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   16|    963|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 641, False: 322]
  |  |  ------------------
  |  |   36|    641|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|    641|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    641|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    641|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    641|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    641|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   37|    641|    } else {                                    \
  |  |   38|    322|        if (_PyList_AppendTakeRef((PyListObject *)list, sub)) \
  |  |  ------------------
  |  |  |  Branch (38:13): [True: 0, False: 322]
  |  |  ------------------
  |  |   39|    322|            goto onError;                       \
  |  |   40|    322|    }                                           \
  |  |   41|    963|    count++; }
  ------------------
  129|  1.92k|    }
  130|    970|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   45|    970|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  216|    970|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|    970|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    970|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|    970|    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|    970|}

bytesobject.c:return_self:
   17|     43|{
   18|     43|#if !STRINGLIB_MUTABLE
   19|     43|    if (STRINGLIB_CHECK_EXACT(self)) {
  ------------------
  |  |   24|     43|#define STRINGLIB_CHECK_EXACT    PyBytes_CheckExact
  |  |  ------------------
  |  |  |  |   29|     43|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     43|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 43, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|     43|        return Py_NewRef(self);
  ------------------
  |  |  647|     43|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|     43|    }
   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|     43|}
bytesobject.c:stringlib_replace:
  682|     43|{
  683|     43|    if (STRINGLIB_LEN(self) < from_len) {
  ------------------
  |  |   21|     43|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   33|     43|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (683:9): [True: 0, False: 43]
  ------------------
  684|       |        /* nothing to do; return the original bytes */
  685|      0|        return return_self(self);
  686|      0|    }
  687|     43|    if (maxcount < 0) {
  ------------------
  |  Branch (687:9): [True: 43, False: 0]
  ------------------
  688|     43|        maxcount = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     43|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  689|     43|    } 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|     43|    if (from_len == 0) {
  ------------------
  |  Branch (695:9): [True: 0, False: 43]
  ------------------
  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|     43|    if (to_len == 0) {
  ------------------
  |  Branch (706:9): [True: 0, False: 43]
  ------------------
  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|     43|    if (from_len == to_len) {
  ------------------
  |  Branch (719:9): [True: 43, False: 0]
  ------------------
  720|     43|        if (from_len == 1) {
  ------------------
  |  Branch (720:13): [True: 43, False: 0]
  ------------------
  721|     43|            return stringlib_replace_single_character_in_place(
  722|     43|                self, from_s[0], to_s[0], maxcount);
  723|     43|        } else {
  724|      0|            return stringlib_replace_substring_in_place(
  725|      0|                self, from_s, from_len, to_s, to_len, maxcount);
  726|      0|        }
  727|     43|    }
  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|     43|{
  450|     43|    const char *self_s, *end;
  451|     43|    char *result_s, *start, *next;
  452|     43|    Py_ssize_t self_len;
  453|     43|    PyObject *result;
  454|       |
  455|       |    /* The result string will be the same size */
  456|     43|    self_s = STRINGLIB_STR(self);
  ------------------
  |  |   20|     43|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   27|     43|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  457|     43|    self_len = STRINGLIB_LEN(self);
  ------------------
  |  |   21|     43|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   33|     43|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  458|       |
  459|     43|    next = findchar(self_s, self_len, from_c);
  ------------------
  |  |  254|     43|  ((char *)memchr((const void *)(target), c, target_len))
  ------------------
  460|       |
  461|     43|    if (next == NULL) {
  ------------------
  |  Branch (461:9): [True: 43, False: 0]
  ------------------
  462|       |        /* No matches; return the original bytes */
  463|     43|        return return_self(self);
  464|     43|    }
  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|    603|{
   67|    603|    PyStructSequence *obj;
   68|    603|    Py_ssize_t size = REAL_SIZE_TP(type), i;
  ------------------
  |  |   48|    603|    get_type_attr_as_size(tp, &_Py_ID(n_fields))
  |  |  ------------------
  |  |  |  |  951|    603|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    603|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    603|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|    603|    if (size < 0) {
  ------------------
  |  Branch (69:9): [True: 0, False: 603]
  ------------------
   70|      0|        return NULL;
   71|      0|    }
   72|    603|    Py_ssize_t vsize = VISIBLE_SIZE_TP(type);
  ------------------
  |  |   46|    603|    get_type_attr_as_size(tp, &_Py_ID(n_sequence_fields))
  |  |  ------------------
  |  |  |  |  951|    603|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    603|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    603|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|    603|    if (vsize < 0) {
  ------------------
  |  Branch (73:9): [True: 0, False: 603]
  ------------------
   74|      0|        return NULL;
   75|      0|    }
   76|       |
   77|    603|    obj = PyObject_GC_NewVar(PyStructSequence, type, size);
  ------------------
  |  |  183|    603|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|    603|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   78|    603|    if (obj == NULL)
  ------------------
  |  Branch (78:9): [True: 0, False: 603]
  ------------------
   79|      0|        return NULL;
   80|    603|    _PyTuple_RESET_HASH_CACHE(obj);
  ------------------
  |  |   44|    603|    do {                                    \
  |  |   45|    603|        assert(op != NULL);                 \
  |  |   46|  1.20k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|    603|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    603|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  1.20k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 603]
  |  |  ------------------
  ------------------
  |  Branch (80:5): [True: 603, False: 0]
  |  Branch (80:5): [True: 603, False: 0]
  ------------------
   81|       |    /* Hack the size of the variable object, so invisible fields don't appear
   82|       |     to Python code. */
   83|    603|    Py_SET_SIZE(obj, vsize);
  ------------------
  |  |  216|    603|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    603|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    603|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|  11.9k|    for (i = 0; i < size; i++)
  ------------------
  |  Branch (84:17): [True: 11.3k, False: 603]
  ------------------
   85|  11.3k|        obj->ob_item[i] = NULL;
   86|       |
   87|    603|    return (PyObject*)obj;
   88|    603|}
PyStructSequence_SetItem:
   92|  11.3k|{
   93|  11.3k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  11.3k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  11.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (93:28): [True: 11.3k, False: 0]
  ------------------
   94|  11.3k|    assert(0 <= index);
  ------------------
  |  Branch (94:5): [True: 11.3k, False: 0]
  ------------------
   95|  11.3k|#ifndef NDEBUG
   96|  11.3k|    Py_ssize_t n_fields = REAL_SIZE(op);
  ------------------
  |  |   49|  11.3k|#define REAL_SIZE(op) get_real_size((PyObject *)op)
  ------------------
   97|  11.3k|    assert(n_fields >= 0);
  ------------------
  |  Branch (97:5): [True: 11.3k, False: 0]
  ------------------
   98|  11.3k|    assert(index < n_fields);
  ------------------
  |  Branch (98:5): [True: 11.3k, False: 0]
  ------------------
   99|  11.3k|#endif
  100|  11.3k|    tuple->ob_item[index] = value;
  101|  11.3k|}
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.20k|{
   30|  1.20k|    PyObject *v = PyDict_GetItemWithError(_PyType_GetDict(tp), name);
   31|       |
   32|  1.20k|    if (v == NULL) {
  ------------------
  |  Branch (32:9): [True: 0, False: 1.20k]
  ------------------
   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.20k|    return PyLong_AsSsize_t(v);
   42|  1.20k|}
structseq.c:get_real_size:
   57|  11.9k|{
   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|  11.9k|    Py_ssize_t hidden = Py_TYPE(op)->tp_basicsize - offsetof(PyStructSequence, ob_item);
  ------------------
  |  |  213|  11.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   61|  11.9k|    return Py_SIZE(op) + hidden / sizeof(PyObject *);
  ------------------
  |  |  214|  11.9k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   62|  11.9k|}
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|    287|    for (i = 0; desc->fields[i].name != NULL; ++i) {
  ------------------
  |  Branch (467:17): [True: 252, False: 35]
  ------------------
  468|    252|        if (desc->fields[i].name == PyStructSequence_UnnamedField) {
  ------------------
  |  Branch (468:13): [True: 6, False: 246]
  ------------------
  469|      6|            (*n_unnamed_members)++;
  470|      6|        }
  471|    252|    }
  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|    287|    for (i = k = 0; i < n_members; ++i) {
  ------------------
  |  Branch (546:21): [True: 252, False: 35]
  ------------------
  547|    252|        if (desc->fields[i].name == PyStructSequence_UnnamedField) {
  ------------------
  |  Branch (547:13): [True: 6, False: 246]
  ------------------
  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|    246|        members[k].name = desc->fields[i].name;
  554|    246|        members[k].type = _Py_T_OBJECT;
  ------------------
  |  |   59|    246|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  555|    246|        members[k].offset = offsetof(PyStructSequence, ob_item)
  556|    246|          + i * sizeof(PyObject*);
  557|    246|        members[k].flags = Py_READONLY;
  ------------------
  |  |   83|    246|#define Py_READONLY            (1 << 0)
  ------------------
  558|    246|        members[k].doc = desc->fields[i].doc;
  559|    246|        k++;
  560|    246|    }
  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|    255|    for (i = k = 0; i < desc->n_in_sequence; ++i) {
  ------------------
  |  Branch (504:21): [True: 220, False: 35]
  ------------------
  505|    220|        if (desc->fields[i].name == PyStructSequence_UnnamedField) {
  ------------------
  |  Branch (505:13): [True: 6, False: 214]
  ------------------
  506|      6|            continue;
  507|      6|        }
  508|    214|        PyObject* new_member = PyUnicode_FromString(desc->fields[i].name);
  509|    214|        if (new_member == NULL) {
  ------------------
  |  Branch (509:13): [True: 0, False: 214]
  ------------------
  510|      0|            goto error;
  511|      0|        }
  512|    214|        PyTuple_SET_ITEM(keys, k, new_member);
  ------------------
  |  |   40|    214|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    214|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    214|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    214|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    214|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  513|    214|        k++;
  514|    214|    }
  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|    589|{
  134|    589|    PyStructSequence *obj = (PyStructSequence *)op;
  135|    589|    Py_ssize_t i, size;
  136|    589|    PyObject_GC_UnTrack(obj);
  137|       |
  138|    589|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|    589|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    589|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    589|#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|    589|    size = REAL_SIZE(obj);
  ------------------
  |  |   49|    589|#define REAL_SIZE(op) get_real_size((PyObject *)op)
  ------------------
  143|  11.7k|    for (i = 0; i < size; ++i) {
  ------------------
  |  Branch (143:17): [True: 11.1k, False: 589]
  ------------------
  144|  11.1k|        Py_XDECREF(obj->ob_item[i]);
  ------------------
  |  |  621|  11.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|  11.1k|    }
  146|    589|    PyObject_GC_Del(obj);
  147|    589|    if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    589|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (147:9): [True: 587, False: 2]
  ------------------
  148|    587|        Py_DECREF(tp);
  ------------------
  |  |  430|    587|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    587|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    587|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  149|    587|    }
  150|    589|}

PyTuple_New:
   77|  1.22M|{
   78|  1.22M|    PyTupleObject *op;
   79|  1.22M|    if (size == 0) {
  ------------------
  |  Branch (79:9): [True: 417k, False: 811k]
  ------------------
   80|   417k|        return tuple_get_empty();
   81|   417k|    }
   82|   811k|    op = tuple_alloc(size);
   83|   811k|    if (op == NULL) {
  ------------------
  |  Branch (83:9): [True: 0, False: 811k]
  ------------------
   84|      0|        return NULL;
   85|      0|    }
   86|   207M|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (86:28): [True: 206M, False: 811k]
  ------------------
   87|   206M|        op->ob_item[i] = NULL;
   88|   206M|    }
   89|   811k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|   811k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   811k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   811k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|   811k|    return (PyObject *) op;
   91|   811k|}
PyTuple_Size:
   95|  1.17k|{
   96|  1.17k|    if (!PyTuple_Check(op)) {
  ------------------
  |  |   27|  1.17k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.17k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (96:9): [True: 0, False: 1.17k]
  ------------------
   97|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   98|      0|        return -1;
   99|      0|    }
  100|  1.17k|    else
  101|  1.17k|        return Py_SIZE(op);
  ------------------
  |  |  214|  1.17k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  102|  1.17k|}
PyTuple_GetItem:
  106|  8.81k|{
  107|  8.81k|    if (!PyTuple_Check(op)) {
  ------------------
  |  |   27|  8.81k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.81k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (107:9): [True: 0, False: 8.81k]
  ------------------
  108|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  109|      0|        return NULL;
  110|      0|    }
  111|  8.81k|    if (i < 0 || i >= Py_SIZE(op)) {
  ------------------
  |  |  214|  8.81k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (111:9): [True: 0, False: 8.81k]
  |  Branch (111:18): [True: 0, False: 8.81k]
  ------------------
  112|      0|        PyErr_SetString(PyExc_IndexError, "tuple index out of range");
  113|      0|        return NULL;
  114|      0|    }
  115|  8.81k|    return ((PyTupleObject *)op) -> ob_item[i];
  116|  8.81k|}
_PyTuple_MaybeUntrack:
  140|  72.2M|{
  141|  72.2M|    PyTupleObject *t;
  142|  72.2M|    Py_ssize_t i, n;
  143|       |
  144|  72.2M|    if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op))
  ------------------
  |  |   28|  72.2M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   144M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  72.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  72.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op))
  ------------------
  |  |   81|  72.2M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  72.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (144:9): [True: 0, False: 72.2M]
  |  Branch (144:36): [True: 0, False: 72.2M]
  ------------------
  145|      0|        return;
  146|  72.2M|    t = (PyTupleObject *) op;
  147|  72.2M|    n = Py_SIZE(t);
  ------------------
  |  |  214|  72.2M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  72.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  148|   499M|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (148:17): [True: 427M, False: 72.0M]
  ------------------
  149|   427M|        PyObject *elt = PyTuple_GET_ITEM(t, i);
  ------------------
  |  |   29|   427M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   427M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   427M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (149:25): [True: 427M, False: 0]
  ------------------
  150|       |        /* Tuple with NULL elements aren't
  151|       |           fully constructed, don't untrack
  152|       |           them yet. */
  153|   427M|        if (!elt ||
  ------------------
  |  Branch (153:13): [True: 0, False: 427M]
  ------------------
  154|   427M|            _PyObject_GC_MAY_BE_TRACKED(elt))
  ------------------
  |  Branch (154:13): [True: 269k, False: 427M]
  ------------------
  155|   269k|            return;
  156|   427M|    }
  157|  72.0M|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  504|  72.0M|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  72.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  158|  72.0M|}
PyTuple_Pack:
  174|   320k|{
  175|   320k|    Py_ssize_t i;
  176|   320k|    PyObject *o;
  177|   320k|    PyObject **items;
  178|   320k|    va_list vargs;
  179|   320k|    bool track = false;
  180|       |
  181|   320k|    if (n == 0) {
  ------------------
  |  Branch (181:9): [True: 0, False: 320k]
  ------------------
  182|      0|        return tuple_get_empty();
  183|      0|    }
  184|       |
  185|   320k|    va_start(vargs, n);
  186|   320k|    PyTupleObject *result = tuple_alloc(n);
  187|   320k|    if (result == NULL) {
  ------------------
  |  Branch (187:9): [True: 0, False: 320k]
  ------------------
  188|      0|        va_end(vargs);
  189|      0|        return NULL;
  190|      0|    }
  191|   320k|    items = result->ob_item;
  192|  1.26M|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (192:17): [True: 941k, False: 320k]
  ------------------
  193|   941k|        o = va_arg(vargs, PyObject *);
  194|   941k|        if (!track && maybe_tracked(o)) {
  ------------------
  |  Branch (194:13): [True: 443k, False: 498k]
  |  Branch (194:23): [True: 273k, False: 169k]
  ------------------
  195|   273k|            track = true;
  196|   273k|        }
  197|   941k|        items[i] = Py_NewRef(o);
  ------------------
  |  |  647|   941k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   941k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   941k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  198|   941k|    }
  199|   320k|    va_end(vargs);
  200|   320k|    if (track) {
  ------------------
  |  Branch (200:9): [True: 273k, False: 47.3k]
  ------------------
  201|   273k|        _PyObject_GC_TRACK(result);
  ------------------
  |  |  502|   273k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   273k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   273k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  202|   273k|    }
  203|   320k|    return (PyObject *)result;
  204|   320k|}
_PyTuple_FromPair:
  208|  96.3M|{
  209|  96.3M|    assert(first != NULL);
  ------------------
  |  Branch (209:5): [True: 96.3M, False: 0]
  ------------------
  210|  96.3M|    assert(second != NULL);
  ------------------
  |  Branch (210:5): [True: 96.3M, False: 0]
  ------------------
  211|       |
  212|  96.3M|    return _PyTuple_FromPairSteal(Py_NewRef(first), Py_NewRef(second));
  ------------------
  |  |  647|  96.3M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  96.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _PyTuple_FromPairSteal(Py_NewRef(first), Py_NewRef(second));
  ------------------
  |  |  647|  96.3M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  96.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|  96.3M|}
_PyTuple_FromPairSteal:
  217|  96.4M|{
  218|  96.4M|    assert(first != NULL);
  ------------------
  |  Branch (218:5): [True: 96.4M, False: 0]
  ------------------
  219|  96.4M|    assert(second != NULL);
  ------------------
  |  Branch (219:5): [True: 96.4M, False: 0]
  ------------------
  220|       |
  221|  96.4M|    PyTupleObject *op = tuple_alloc(2);
  222|  96.4M|    if (op == NULL) {
  ------------------
  |  Branch (222:9): [True: 0, False: 96.4M]
  ------------------
  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|  96.4M|    PyObject **items = op->ob_item;
  228|  96.4M|    items[0] = first;
  229|  96.4M|    items[1] = second;
  230|  96.4M|    if (maybe_tracked(first) || maybe_tracked(second)) {
  ------------------
  |  Branch (230:9): [True: 96.3M, False: 43.7k]
  |  Branch (230:33): [True: 11.1k, False: 32.6k]
  ------------------
  231|  96.3M|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|  96.3M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  96.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  232|  96.3M|    }
  233|  96.4M|    return (PyObject *)op;
  234|  96.4M|}
PyTuple_FromArray:
  465|   272k|{
  466|   272k|    if (n == 0) {
  ------------------
  |  Branch (466:9): [True: 17.3k, False: 255k]
  ------------------
  467|  17.3k|        return tuple_get_empty();
  468|  17.3k|    }
  469|       |
  470|   255k|    PyTupleObject *tuple = tuple_alloc(n);
  471|   255k|    if (tuple == NULL) {
  ------------------
  |  Branch (471:9): [True: 0, False: 255k]
  ------------------
  472|      0|        return NULL;
  473|      0|    }
  474|   255k|    PyObject **dst = tuple->ob_item;
  475|   255k|    bool track = false;
  476|  1.05M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (476:28): [True: 794k, False: 255k]
  ------------------
  477|   794k|        PyObject *item = src[i];
  478|   794k|        if (!track && maybe_tracked(item)) {
  ------------------
  |  Branch (478:13): [True: 501k, False: 293k]
  |  Branch (478:23): [True: 57.1k, False: 444k]
  ------------------
  479|  57.1k|            track = true;
  480|  57.1k|        }
  481|   794k|        dst[i] = Py_NewRef(item);
  ------------------
  |  |  647|   794k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   794k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   794k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  482|   794k|    }
  483|   255k|    if (track) {
  ------------------
  |  Branch (483:9): [True: 57.1k, False: 198k]
  ------------------
  484|  57.1k|        _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  502|  57.1k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  57.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|  57.1k|    }
  486|   255k|    return (PyObject *)tuple;
  487|   255k|}
_PyTuple_FromStackRefStealOnSuccess:
  491|   411k|{
  492|   411k|    if (n == 0) {
  ------------------
  |  Branch (492:9): [True: 0, False: 411k]
  ------------------
  493|      0|        return tuple_get_empty();
  494|      0|    }
  495|   411k|    PyTupleObject *tuple = tuple_alloc(n);
  496|   411k|    if (tuple == NULL) {
  ------------------
  |  Branch (496:9): [True: 0, False: 411k]
  ------------------
  497|      0|        return NULL;
  498|      0|    }
  499|   411k|    PyObject **dst = tuple->ob_item;
  500|   411k|    bool track = false;
  501|  1.23M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (501:28): [True: 821k, False: 411k]
  ------------------
  502|   821k|        PyObject *item = PyStackRef_AsPyObjectSteal(src[i]);
  503|   821k|        if (!track && maybe_tracked(item)) {
  ------------------
  |  Branch (503:13): [True: 817k, False: 4.46k]
  |  Branch (503:23): [True: 18.4k, False: 799k]
  ------------------
  504|  18.4k|            track = true;
  505|  18.4k|        }
  506|   821k|        dst[i] = item;
  507|   821k|    }
  508|   411k|    if (track) {
  ------------------
  |  Branch (508:9): [True: 18.4k, False: 393k]
  ------------------
  509|  18.4k|        _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  502|  18.4k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|  18.4k|    }
  511|   411k|    return (PyObject *)tuple;
  512|   411k|}
_PyTuple_FromArraySteal:
  516|  3.90k|{
  517|  3.90k|    if (n == 0) {
  ------------------
  |  Branch (517:9): [True: 0, False: 3.90k]
  ------------------
  518|      0|        return tuple_get_empty();
  519|      0|    }
  520|  3.90k|    PyTupleObject *tuple = tuple_alloc(n);
  521|  3.90k|    if (tuple == NULL) {
  ------------------
  |  Branch (521:9): [True: 0, False: 3.90k]
  ------------------
  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|  3.90k|    PyObject **dst = tuple->ob_item;
  528|  36.1k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (528:28): [True: 32.2k, False: 3.90k]
  ------------------
  529|  32.2k|        PyObject *item = src[i];
  530|  32.2k|        dst[i] = item;
  531|  32.2k|    }
  532|  3.90k|    _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  502|  3.90k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  533|  3.90k|    return (PyObject *)tuple;
  534|  3.90k|}
PyTuple_GetSlice:
  573|  6.19k|{
  574|  6.19k|    if (op == NULL || !PyTuple_Check(op)) {
  ------------------
  |  |   27|  6.19k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.19k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (574:9): [True: 0, False: 6.19k]
  |  Branch (574:23): [True: 0, False: 6.19k]
  ------------------
  575|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  576|      0|        return NULL;
  577|      0|    }
  578|  6.19k|    return tuple_slice((PyTupleObject *)op, i, j);
  579|  6.19k|}
_PyTuple_Concat:
  583|  20.5k|{
  584|  20.5k|    PyTupleObject *a = _PyTuple_CAST(aa);
  ------------------
  |  |   19|  20.5k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  20.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (584:24): [True: 20.5k, False: 0]
  ------------------
  585|  20.5k|    if (Py_SIZE(a) == 0 && PyTuple_CheckExact(bb)) {
  ------------------
  |  |  214|  20.5k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  20.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(a) == 0 && PyTuple_CheckExact(bb)) {
  ------------------
  |  |   28|    832|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|    832|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    832|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    832|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 601, False: 231]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (585:9): [True: 832, False: 19.6k]
  ------------------
  586|    601|        return Py_NewRef(bb);
  ------------------
  |  |  647|    601|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    601|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    601|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  587|    601|    }
  588|  19.9k|    if (!PyTuple_Check(bb)) {
  ------------------
  |  |   27|  19.9k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  19.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (588:9): [True: 417, False: 19.4k]
  ------------------
  589|    417|        PyErr_Format(PyExc_TypeError,
  590|    417|             "can only concatenate tuple (not \"%.200s\") to tuple",
  591|    417|                 Py_TYPE(bb)->tp_name);
  ------------------
  |  |  213|    417|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    417|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    417|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|    417|        return NULL;
  593|    417|    }
  594|  19.4k|    PyTupleObject *b = (PyTupleObject *)bb;
  595|       |
  596|  19.4k|    if (Py_SIZE(b) == 0 && PyTuple_CheckExact(a)) {
  ------------------
  |  |  214|  19.4k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(b) == 0 && PyTuple_CheckExact(a)) {
  ------------------
  |  |   28|    568|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|    568|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    568|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    568|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 568, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (596:9): [True: 568, False: 18.9k]
  ------------------
  597|    568|        return Py_NewRef(a);
  ------------------
  |  |  647|    568|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    568|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    568|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  598|    568|    }
  599|  19.4k|    assert((size_t)Py_SIZE(a) + (size_t)Py_SIZE(b) < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (599:5): [True: 18.9k, False: 0]
  ------------------
  600|  18.9k|    Py_ssize_t size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|  18.9k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  Py_ssize_t size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|  18.9k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  601|  18.9k|    if (size == 0) {
  ------------------
  |  Branch (601:9): [True: 0, False: 18.9k]
  ------------------
  602|      0|        return tuple_get_empty();
  603|      0|    }
  604|       |
  605|  18.9k|    PyTupleObject *np = tuple_alloc(size);
  606|  18.9k|    if (np == NULL) {
  ------------------
  |  Branch (606:9): [True: 0, False: 18.9k]
  ------------------
  607|      0|        return NULL;
  608|      0|    }
  609|       |
  610|  18.9k|    PyObject **src = a->ob_item;
  611|  18.9k|    PyObject **dest = np->ob_item;
  612|   186M|    for (Py_ssize_t i = 0; i < Py_SIZE(a); i++) {
  ------------------
  |  |  214|   186M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   186M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   186M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (612:28): [True: 186M, False: 18.9k]
  ------------------
  613|   186M|        PyObject *v = src[i];
  614|   186M|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  647|   186M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   186M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   186M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  615|   186M|    }
  616|       |
  617|  18.9k|    src = b->ob_item;
  618|  18.9k|    dest = np->ob_item + Py_SIZE(a);
  ------------------
  |  |  214|  18.9k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  619|  2.78M|    for (Py_ssize_t i = 0; i < Py_SIZE(b); i++) {
  ------------------
  |  |  214|  2.78M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (619:28): [True: 2.76M, False: 18.9k]
  ------------------
  620|  2.76M|        PyObject *v = src[i];
  621|  2.76M|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  647|  2.76M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  622|  2.76M|    }
  623|       |
  624|  18.9k|    _PyObject_GC_TRACK(np);
  ------------------
  |  |  502|  18.9k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  625|  18.9k|    return (PyObject *)np;
  626|  18.9k|}
_PyTuple_Repeat:
  630|  33.0k|{
  631|  33.0k|    PyTupleObject *a = _PyTuple_CAST(self);
  ------------------
  |  |   19|  33.0k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  33.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (631:24): [True: 33.0k, False: 0]
  ------------------
  632|  33.0k|    const Py_ssize_t input_size = Py_SIZE(a);
  ------------------
  |  |  214|  33.0k|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  633|  33.0k|    if (input_size == 0 || n == 1) {
  ------------------
  |  Branch (633:9): [True: 490, False: 32.5k]
  |  Branch (633:28): [True: 1.29k, False: 31.2k]
  ------------------
  634|  1.78k|        if (PyTuple_CheckExact(a)) {
  ------------------
  |  |   28|  1.78k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.78k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.78k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  635|       |            /* Since tuples are immutable, we can return a shared
  636|       |               copy in this case */
  637|  1.78k|            return Py_NewRef(a);
  ------------------
  |  |  647|  1.78k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  638|  1.78k|        }
  639|  1.78k|    }
  640|  31.2k|    if (input_size == 0 || n <= 0) {
  ------------------
  |  Branch (640:9): [True: 0, False: 31.2k]
  |  Branch (640:28): [True: 873, False: 30.3k]
  ------------------
  641|    873|        return tuple_get_empty();
  642|    873|    }
  643|  31.2k|    assert(n>0);
  ------------------
  |  Branch (643:5): [True: 30.3k, False: 0]
  ------------------
  644|       |
  645|  30.3k|    if (input_size > PY_SSIZE_T_MAX / n)
  ------------------
  |  |  137|  30.3k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (645:9): [True: 0, False: 30.3k]
  ------------------
  646|      0|        return PyErr_NoMemory();
  647|  30.3k|    Py_ssize_t output_size = input_size * n;
  648|       |
  649|  30.3k|    PyTupleObject *np = tuple_alloc(output_size);
  650|  30.3k|    if (np == NULL)
  ------------------
  |  Branch (650:9): [True: 0, False: 30.3k]
  ------------------
  651|      0|        return NULL;
  652|       |
  653|  30.3k|    PyObject **dest = np->ob_item;
  654|  30.3k|    if (input_size == 1) {
  ------------------
  |  Branch (654:9): [True: 5.14k, False: 25.2k]
  ------------------
  655|  5.14k|        PyObject *elem = a->ob_item[0];
  656|  5.14k|        _Py_RefcntAdd(elem, n);
  ------------------
  |  |  176|  5.14k|#define _Py_RefcntAdd(op, n) _Py_RefcntAdd(_PyObject_CAST(op), n)
  |  |  ------------------
  |  |  |  |  171|  5.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  657|  5.14k|        PyObject **dest_end = dest + output_size;
  658|   111k|        while (dest < dest_end) {
  ------------------
  |  Branch (658:16): [True: 106k, False: 5.14k]
  ------------------
  659|   106k|            *dest++ = elem;
  660|   106k|        }
  661|  5.14k|    }
  662|  25.2k|    else {
  663|  25.2k|        PyObject **src = a->ob_item;
  664|  25.2k|        PyObject **src_end = src + input_size;
  665|  83.7k|        while (src < src_end) {
  ------------------
  |  Branch (665:16): [True: 58.5k, False: 25.2k]
  ------------------
  666|  58.5k|            _Py_RefcntAdd(*src, n);
  ------------------
  |  |  176|  58.5k|#define _Py_RefcntAdd(op, n) _Py_RefcntAdd(_PyObject_CAST(op), n)
  |  |  ------------------
  |  |  |  |  171|  58.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|  58.5k|            *dest++ = *src++;
  668|  58.5k|        }
  669|       |
  670|  25.2k|        _Py_memory_repeat((char *)np->ob_item, sizeof(PyObject *)*output_size,
  671|  25.2k|                          sizeof(PyObject *)*input_size);
  672|  25.2k|    }
  673|  30.3k|    _PyObject_GC_TRACK(np);
  ------------------
  |  |  502|  30.3k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  674|  30.3k|    return (PyObject *) np;
  675|  30.3k|}
_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|   436k|{
   72|   436k|    return (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|   436k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|   436k|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
   73|   436k|}
tupleobject.c:tuple_alloc:
   39|  98.2M|{
   40|  98.2M|    if (size < 0) {
  ------------------
  |  Branch (40:9): [True: 0, False: 98.2M]
  ------------------
   41|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   42|      0|        return NULL;
   43|      0|    }
   44|  98.2M|    assert(size != 0);    // The empty tuple is statically allocated.
  ------------------
  |  Branch (44:5): [True: 98.2M, False: 0]
  ------------------
   45|  98.2M|    Py_ssize_t index = size - 1;
   46|  98.2M|    if (index < PyTuple_MAXSAVESIZE) {
  ------------------
  |  |   11|  98.2M|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (46:9): [True: 98.1M, False: 100k]
  ------------------
   47|  98.1M|        PyTupleObject *op = _Py_FREELIST_POP(PyTupleObject, tuples[index]);
  ------------------
  |  |   43|  98.1M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  98.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   48|  98.1M|        if (op != NULL) {
  ------------------
  |  Branch (48:13): [True: 12.7M, False: 85.4M]
  ------------------
   49|  12.7M|            _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|  12.7M|    do {                                    \
  |  |   45|  12.7M|        assert(op != NULL);                 \
  |  |   46|  25.4M|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  12.7M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  25.4M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 12.7M]
  |  |  ------------------
  ------------------
  |  Branch (49:13): [True: 12.7M, False: 0]
  |  Branch (49:13): [True: 12.7M, False: 0]
  ------------------
   50|  12.7M|            return op;
   51|  12.7M|        }
   52|  98.1M|    }
   53|       |    /* Check for overflow */
   54|  85.5M|    if ((size_t)size > ((size_t)PY_SSIZE_T_MAX - (sizeof(PyTupleObject) -
  ------------------
  |  |  137|  85.5M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (54:9): [True: 0, False: 85.5M]
  ------------------
   55|  85.5M|                sizeof(PyObject *))) / sizeof(PyObject *)) {
   56|      0|        return (PyTupleObject *)PyErr_NoMemory();
   57|      0|    }
   58|  85.5M|    PyTupleObject *result = PyObject_GC_NewVar(PyTupleObject, &PyTuple_Type, size);
  ------------------
  |  |  183|  85.5M|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  85.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   59|  85.5M|    if (result != NULL) {
  ------------------
  |  Branch (59:9): [True: 85.5M, False: 0]
  ------------------
   60|  85.5M|        _PyTuple_RESET_HASH_CACHE(result);
  ------------------
  |  |   44|  85.5M|    do {                                    \
  |  |   45|  85.5M|        assert(op != NULL);                 \
  |  |   46|   171M|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  85.5M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|   171M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 85.5M]
  |  |  ------------------
  ------------------
  |  Branch (60:9): [True: 85.5M, False: 0]
  |  Branch (60:9): [True: 85.5M, False: 0]
  ------------------
   61|  85.5M|    }
   62|  85.5M|    return result;
   63|  85.5M|}
tupleobject.c:maybe_tracked:
  168|  98.2M|{
  169|  98.2M|    return _PyType_IS_GC(Py_TYPE(ob));
  ------------------
  |  |  213|  98.2M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  98.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  98.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  170|  98.2M|}
tupleobject.c:tuple_slice:
  539|  6.19k|{
  540|  6.19k|    if (ilow < 0)
  ------------------
  |  Branch (540:9): [True: 0, False: 6.19k]
  ------------------
  541|      0|        ilow = 0;
  542|  6.19k|    if (ihigh > Py_SIZE(a))
  ------------------
  |  |  214|  6.19k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (542:9): [True: 0, False: 6.19k]
  ------------------
  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|  6.19k|    if (ihigh < ilow)
  ------------------
  |  Branch (544:9): [True: 0, False: 6.19k]
  ------------------
  545|      0|        ihigh = ilow;
  546|  6.19k|    if (ilow == 0 && ihigh == Py_SIZE(a) && PyTuple_CheckExact(a)) {
  ------------------
  |  |  214|  11.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.63k|#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: 5.63k, False: 560]
  |  Branch (546:22): [True: 0, False: 5.63k]
  ------------------
  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|  6.19k|    return PyTuple_FromArray(a->ob_item + ilow, ihigh - ilow);
  550|  6.19k|}
tupleobject.c:tuple_dealloc:
  257|  98.2M|{
  258|  98.2M|    PyTupleObject *op = _PyTuple_CAST(self);
  ------------------
  |  |   19|  98.2M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  98.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (258:25): [True: 98.2M, False: 0]
  ------------------
  259|  98.2M|    if (Py_SIZE(op) == 0) {
  ------------------
  |  |  214|  98.2M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  98.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  98.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (259:9): [True: 0, False: 98.2M]
  ------------------
  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|  98.2M|    PyObject_GC_UnTrack(op);
  275|       |
  276|  98.2M|    Py_ssize_t i = Py_SIZE(op);
  ------------------
  |  |  214|  98.2M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  98.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  98.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  277|   693M|    while (--i >= 0) {
  ------------------
  |  Branch (277:12): [True: 595M, False: 98.2M]
  ------------------
  278|   595M|        Py_XDECREF(op->ob_item[i]);
  ------------------
  |  |  621|   595M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   595M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   595M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  279|   595M|    }
  280|       |    // This will abort on the empty singleton (if there is one).
  281|  98.2M|    if (!maybe_freelist_push(op)) {
  ------------------
  |  Branch (281:9): [True: 85.5M, False: 12.7M]
  ------------------
  282|  85.5M|        Py_TYPE(op)->tp_free((PyObject *)op);
  ------------------
  |  |  213|  85.5M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  85.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  283|  85.5M|    }
  284|  98.2M|}
tupleobject.c:tuple_length:
  436|  18.8k|{
  437|  18.8k|    PyTupleObject *a = _PyTuple_CAST(self);
  ------------------
  |  |   19|  18.8k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (437:24): [True: 18.8k, False: 0]
  ------------------
  438|  18.8k|    return Py_SIZE(a);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  439|  18.8k|}
tupleobject.c:tuple_item:
  454|  1.36k|{
  455|  1.36k|    PyTupleObject *a = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.36k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (455:24): [True: 1.36k, False: 0]
  ------------------
  456|  1.36k|    if (i < 0 || i >= Py_SIZE(a)) {
  ------------------
  |  |  214|  1.00k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (456:9): [True: 362, False: 1.00k]
  |  Branch (456:18): [True: 915, False: 92]
  ------------------
  457|  1.27k|        PyErr_SetString(PyExc_IndexError, "tuple index out of range");
  458|  1.27k|        return NULL;
  459|  1.27k|    }
  460|     92|    return Py_NewRef(a->ob_item[i]);
  ------------------
  |  |  647|     92|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  461|  1.36k|}
tupleobject.c:tuple_contains:
  443|   227k|{
  444|   227k|    PyTupleObject *a = _PyTuple_CAST(self);
  ------------------
  |  |   19|   227k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   227k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (444:24): [True: 227k, False: 0]
  ------------------
  445|      0|    int cmp = 0;
  446|   667k|    for (Py_ssize_t i = 0; cmp == 0 && i < Py_SIZE(a); ++i) {
  ------------------
  |  |  214|   649k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   649k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   649k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (446:28): [True: 649k, False: 17.5k]
  |  Branch (446:40): [True: 440k, False: 209k]
  ------------------
  447|   440k|        cmp = PyObject_RichCompareBool(PyTuple_GET_ITEM(a, i), el, Py_EQ);
  ------------------
  |  |   29|   440k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   440k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   440k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      cmp = PyObject_RichCompareBool(PyTuple_GET_ITEM(a, i), el, Py_EQ);
  ------------------
  |  |  654|   440k|#define Py_EQ 2
  ------------------
  |  Branch (447:40): [True: 440k, False: 0]
  ------------------
  448|   440k|    }
  449|   227k|    return cmp;
  450|   227k|}
tupleobject.c:tuple_subscript:
  900|  3.19k|{
  901|  3.19k|    PyTupleObject *self = _PyTuple_CAST(op);
  ------------------
  |  |   19|  3.19k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (901:27): [True: 3.19k, False: 0]
  ------------------
  902|  3.19k|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (902:9): [True: 1.68k, False: 1.50k]
  ------------------
  903|  1.68k|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
  904|  1.68k|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (904:13): [True: 383, False: 1.30k]
  |  Branch (904:24): [True: 316, False: 67]
  ------------------
  905|    316|            return NULL;
  906|  1.36k|        if (i < 0)
  ------------------
  |  Branch (906:13): [True: 397, False: 972]
  ------------------
  907|    397|            i += PyTuple_GET_SIZE(self);
  ------------------
  |  |   27|    397|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    397|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    397|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  908|  1.36k|        return tuple_item(op, i);
  909|  1.68k|    }
  910|  1.50k|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|  1.50k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  1.50k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.33k, False: 170]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  911|  1.33k|        Py_ssize_t start, stop, step, slicelength, i;
  912|  1.33k|        size_t cur;
  913|  1.33k|        PyObject* it;
  914|  1.33k|        PyObject **src, **dest;
  915|       |
  916|  1.33k|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (916:13): [True: 311, False: 1.02k]
  ------------------
  917|    311|            return NULL;
  918|    311|        }
  919|  1.02k|        slicelength = PySlice_AdjustIndices(PyTuple_GET_SIZE(self), &start,
  ------------------
  |  |   27|  1.02k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  920|  1.02k|                                            &stop, step);
  921|       |
  922|  1.02k|        if (slicelength <= 0) {
  ------------------
  |  Branch (922:13): [True: 874, False: 153]
  ------------------
  923|    874|            return tuple_get_empty();
  924|    874|        }
  925|    153|        else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (925:18): [True: 135, False: 18]
  |  Branch (925:32): [True: 89, False: 46]
  ------------------
  926|     89|                 slicelength == PyTuple_GET_SIZE(self) &&
  ------------------
  |  |   27|    242|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     89|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (926:18): [True: 68, False: 21]
  ------------------
  927|     68|                 PyTuple_CheckExact(self)) {
  ------------------
  |  |   28|     68|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     68|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 68, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  928|     68|            return Py_NewRef(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  929|     68|        }
  930|     85|        else {
  931|     85|            PyTupleObject* result = tuple_alloc(slicelength);
  932|     85|            if (!result) return NULL;
  ------------------
  |  Branch (932:17): [True: 0, False: 85]
  ------------------
  933|       |
  934|     85|            src = self->ob_item;
  935|     85|            dest = result->ob_item;
  936|    240|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (936:38): [True: 155, False: 85]
  ------------------
  937|    155|                 cur += step, i++) {
  938|    155|                it = Py_NewRef(src[cur]);
  ------------------
  |  |  647|    155|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    155|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    155|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  939|    155|                dest[i] = it;
  940|    155|            }
  941|       |
  942|     85|            _PyObject_GC_TRACK(result);
  ------------------
  |  |  502|     85|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  943|     85|            return (PyObject *)result;
  944|     85|        }
  945|  1.02k|    }
  946|    170|    else {
  947|    170|        PyErr_Format(PyExc_TypeError,
  948|    170|                     "tuple indices must be integers or slices, not %.200s",
  949|    170|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|    170|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    170|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    170|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  950|       |        return NULL;
  951|    170|    }
  952|  3.19k|}
tupleobject.c:tuple_hash:
  374|  98.7M|{
  375|  98.7M|    PyTupleObject *v = _PyTuple_CAST(op);
  ------------------
  |  |   19|  98.7M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  98.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (375:24): [True: 98.7M, False: 0]
  ------------------
  376|       |
  377|  98.7M|    Py_uhash_t acc = FT_ATOMIC_LOAD_SSIZE_RELAXED(v->ob_hash);
  ------------------
  |  |  151|  98.7M|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  378|  98.7M|    if (acc != (Py_uhash_t)-1) {
  ------------------
  |  Branch (378:9): [True: 2.07M, False: 96.6M]
  ------------------
  379|  2.07M|        return acc;
  380|  2.07M|    }
  381|       |
  382|  96.6M|    Py_ssize_t len = Py_SIZE(v);
  ------------------
  |  |  214|  96.6M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  96.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  383|  96.6M|    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|  96.6M|    if (_Py_EnterRecursiveCall(" while hashing a tuple")) {
  ------------------
  |  Branch (388:9): [True: 0, False: 96.6M]
  ------------------
  389|      0|        return -1;
  390|      0|    }
  391|       |
  392|  96.6M|    acc = _PyTuple_HASH_XXPRIME_5;
  ------------------
  |  |   69|  96.6M|#define _PyTuple_HASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  393|   686M|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (393:28): [True: 590M, False: 96.6M]
  ------------------
  394|   590M|        Py_uhash_t lane = PyObject_Hash(item[i]);
  395|   590M|        if (lane == (Py_uhash_t)-1) {
  ------------------
  |  Branch (395:13): [True: 0, False: 590M]
  ------------------
  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|   590M|        acc += lane * _PyTuple_HASH_XXPRIME_2;
  ------------------
  |  |   68|   590M|#define _PyTuple_HASH_XXPRIME_2 ((Py_uhash_t)14029467366897019727ULL)
  ------------------
  417|   590M|        acc = _PyTuple_HASH_XXROTATE(acc);
  ------------------
  |  |   70|   590M|#define _PyTuple_HASH_XXROTATE(x) ((x << 31) | (x >> 33))  /* Rotate left 31 bits */
  ------------------
  418|   590M|        acc *= _PyTuple_HASH_XXPRIME_1;
  ------------------
  |  |   67|   590M|#define _PyTuple_HASH_XXPRIME_1 ((Py_uhash_t)11400714785074694791ULL)
  ------------------
  419|   590M|    }
  420|  96.6M|    _Py_LeaveRecursiveCall();
  421|       |
  422|       |    /* Add input length, mangled to keep the historical value of hash(()). */
  423|  96.6M|    acc += len ^ (_PyTuple_HASH_XXPRIME_5 ^ 3527539UL);
  ------------------
  |  |   69|  96.6M|#define _PyTuple_HASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  424|       |
  425|  96.6M|    if (acc == (Py_uhash_t)-1) {
  ------------------
  |  Branch (425:9): [True: 0, False: 96.6M]
  ------------------
  426|      0|        acc = 1546275796;
  427|      0|    }
  428|       |
  429|  96.6M|    FT_ATOMIC_STORE_SSIZE_RELAXED(v->ob_hash, acc);
  ------------------
  |  |  197|  96.6M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  430|       |
  431|  96.6M|    return acc;
  432|  96.6M|}
tupleobject.c:tuple_traverse:
  747|   144M|{
  748|   144M|    PyTupleObject *o = _PyTuple_CAST(self);
  ------------------
  |  |   19|   144M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   144M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (748:24): [True: 144M, False: 0]
  ------------------
  749|  1.30G|    for (Py_ssize_t i = Py_SIZE(o); --i >= 0; ) {
  ------------------
  |  |  214|   144M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   144M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   144M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (749:37): [True: 1.16G, False: 144M]
  ------------------
  750|  1.16G|        Py_VISIT(o->ob_item[i]);
  ------------------
  |  |  194|  1.16G|    do {                                                                \
  |  |  195|  1.16G|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.16G, False: 0]
  |  |  ------------------
  |  |  196|  1.16G|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.16G|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16G|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.16G|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.16G]
  |  |  ------------------
  |  |  198|  1.16G|                return vret;                                            \
  |  |  199|  1.16G|        }                                                               \
  |  |  200|  1.16G|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.16G]
  |  |  ------------------
  ------------------
  751|  1.16G|    }
  752|   144M|    return 0;
  753|   144M|}
tupleobject.c:tuple_richcompare:
  757|  23.2M|{
  758|  23.2M|    PyTupleObject *vt, *wt;
  759|  23.2M|    Py_ssize_t i;
  760|  23.2M|    Py_ssize_t vlen, wlen;
  761|       |
  762|  23.2M|    if (!PyTuple_Check(v) || !PyTuple_Check(w))
  ------------------
  |  |   27|  23.2M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  46.5M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyTuple_Check(v) || !PyTuple_Check(w))
  ------------------
  |  |   27|  23.2M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  23.2M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (762:9): [True: 0, False: 23.2M]
  |  Branch (762:30): [True: 0, False: 23.2M]
  ------------------
  763|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  764|       |
  765|  23.2M|    vt = (PyTupleObject *)v;
  766|  23.2M|    wt = (PyTupleObject *)w;
  767|       |
  768|  23.2M|    vlen = Py_SIZE(vt);
  ------------------
  |  |  214|  23.2M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  23.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  769|  23.2M|    wlen = Py_SIZE(wt);
  ------------------
  |  |  214|  23.2M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  23.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.2M|#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|   157M|    for (i = 0; i < vlen && i < wlen; i++) {
  ------------------
  |  Branch (782:17): [True: 133M, False: 23.2M]
  |  Branch (782:29): [True: 133M, False: 0]
  ------------------
  783|   133M|        int k = PyObject_RichCompareBool(vt->ob_item[i],
  784|   133M|                                         wt->ob_item[i], Py_EQ);
  ------------------
  |  |  654|   133M|#define Py_EQ 2
  ------------------
  785|   133M|        if (k < 0)
  ------------------
  |  Branch (785:13): [True: 0, False: 133M]
  ------------------
  786|      0|            return NULL;
  787|   133M|        if (!k)
  ------------------
  |  Branch (787:13): [True: 2.09k, False: 133M]
  ------------------
  788|  2.09k|            break;
  789|   133M|    }
  790|       |
  791|  23.2M|    if (i >= vlen || i >= wlen) {
  ------------------
  |  Branch (791:9): [True: 23.2M, False: 2.09k]
  |  Branch (791:22): [True: 0, False: 2.09k]
  ------------------
  792|       |        /* No more items to compare -- compare sizes */
  793|  23.2M|        Py_RETURN_RICHCOMPARE(vlen, wlen, op);
  ------------------
  |  |  674|  23.2M|    do {                                                                    \
  |  |  675|  23.2M|        switch (op) {                                                       \
  |  |  676|  23.2M|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|  23.2M|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|  23.2M|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  23.2M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  23.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  23.2M|#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: 23.2M, False: 0]
  |  |  |  Branch (676:25): [True: 23.2M, False: 0]
  |  |  ------------------
  |  |  677|  23.2M|        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: 23.2M]
  |  |  |  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: 23.2M]
  |  |  |  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: 23.2M]
  |  |  |  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: 23.2M]
  |  |  |  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: 23.2M]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 23.2M]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|  23.2M|        }                                                                   \
  |  |  685|  23.2M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  794|  23.2M|    }
  795|       |
  796|       |    /* We have an item that differs -- shortcuts for EQ/NE */
  797|  2.09k|    if (op == Py_EQ) {
  ------------------
  |  |  654|  2.09k|#define Py_EQ 2
  ------------------
  |  Branch (797:9): [True: 2.08k, False: 3]
  ------------------
  798|  2.08k|        Py_RETURN_FALSE;
  ------------------
  |  |   45|  2.08k|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|  2.08k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  799|  2.08k|    }
  800|      3|    if (op == Py_NE) {
  ------------------
  |  |  655|      3|#define Py_NE 3
  ------------------
  |  Branch (800:9): [True: 3, False: 0]
  ------------------
  801|      3|        Py_RETURN_TRUE;
  ------------------
  |  |   44|      3|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      3|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  802|      3|    }
  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|      3|}
tupleobject.c:tuple_new_impl:
  829|    354|{
  830|    354|    if (type != &PyTuple_Type)
  ------------------
  |  Branch (830:9): [True: 175, False: 179]
  ------------------
  831|    175|        return tuple_subtype_new(type, iterable);
  832|       |
  833|    179|    if (iterable == NULL) {
  ------------------
  |  Branch (833:9): [True: 0, False: 179]
  ------------------
  834|      0|        return tuple_get_empty();
  835|      0|    }
  836|    179|    else {
  837|    179|        return PySequence_Tuple(iterable);
  838|    179|    }
  839|    179|}
tupleobject.c:tuple_subtype_new:
  843|    175|{
  844|    175|    PyObject *tmp, *newobj, *item;
  845|    175|    Py_ssize_t i, n;
  846|       |
  847|    175|    assert(PyType_IsSubtype(type, &PyTuple_Type));
  ------------------
  |  Branch (847:5): [True: 175, False: 0]
  ------------------
  848|       |    // tuple subclasses must implement the GC protocol
  849|    175|    assert(_PyType_IS_GC(type));
  ------------------
  |  Branch (849:5): [True: 175, False: 0]
  ------------------
  850|       |
  851|    175|    tmp = tuple_new_impl(&PyTuple_Type, iterable);
  852|    175|    if (tmp == NULL)
  ------------------
  |  Branch (852:9): [True: 0, False: 175]
  ------------------
  853|      0|        return NULL;
  854|    175|    assert(PyTuple_Check(tmp));
  ------------------
  |  Branch (854:5): [True: 175, False: 0]
  ------------------
  855|       |    /* This may allocate an empty tuple that is not the global one. */
  856|    175|    newobj = type->tp_alloc(type, n = PyTuple_GET_SIZE(tmp));
  ------------------
  |  |   27|    175|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    175|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  857|    175|    if (newobj == NULL) {
  ------------------
  |  Branch (857:9): [True: 0, False: 175]
  ------------------
  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|    875|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (861:17): [True: 700, False: 175]
  ------------------
  862|    700|        item = PyTuple_GET_ITEM(tmp, i);
  ------------------
  |  |   29|    700|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    700|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    700|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (862:16): [True: 700, False: 0]
  ------------------
  863|    700|        PyTuple_SET_ITEM(newobj, i, Py_NewRef(item));
  ------------------
  |  |   40|    700|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    700|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    700|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    700|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    700|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  864|    700|    }
  865|    175|    Py_DECREF(tmp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  866|       |
  867|    175|    _PyTuple_RESET_HASH_CACHE(newobj);
  ------------------
  |  |   44|    175|    do {                                    \
  |  |   45|    175|        assert(op != NULL);                 \
  |  |   46|    350|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|    175|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|    350|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 175]
  |  |  ------------------
  ------------------
  |  Branch (867:5): [True: 175, False: 0]
  |  Branch (867:5): [True: 175, False: 0]
  ------------------
  868|       |
  869|       |    // Don't track if a subclass tp_alloc is PyType_GenericAlloc()
  870|    175|    if (!_PyObject_GC_IS_TRACKED(newobj)) {
  ------------------
  |  |   81|    175|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (870:9): [True: 0, False: 175]
  ------------------
  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|    175|    return newobj;
  874|    175|}
tupleobject.c:tuple_iteritem:
  889|     51|{
  890|     51|    if (index >= PyTuple_GET_SIZE(obj)) {
  ------------------
  |  |   27|     51|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (890:9): [True: 6, False: 45]
  ------------------
  891|      6|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
  892|      6|    }
  893|     45|    PyObject *result = PyTuple_GET_ITEM(obj, index);
  ------------------
  |  |   29|     45|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     45|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (893:24): [True: 45, False: 0]
  ------------------
  894|     45|    Py_INCREF(result);
  ------------------
  |  |  310|     45|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  895|     45|    return (_PyObjectIndexPair) { .object = result, .index = index + 1 };
  896|     45|}
tupleobject.c:tupleiter_dealloc:
 1132|  13.2k|{
 1133|  13.2k|    _PyTupleIterObject *it = _PyTupleIterObject_CAST(self);
  ------------------
  |  | 1128|  13.2k|#define _PyTupleIterObject_CAST(op) ((_PyTupleIterObject *)(op))
  ------------------
 1134|  13.2k|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  504|  13.2k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1135|  13.2k|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  621|  13.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1136|  13.2k|    assert(Py_IS_TYPE(self, &PyTupleIter_Type));
  ------------------
  |  Branch (1136:5): [True: 13.2k, False: 0]
  ------------------
 1137|  13.2k|    _Py_FREELIST_FREE(tuple_iters, it, PyObject_GC_Del);
  ------------------
  |  |   35|  13.2k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  13.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  13.2k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   15|  13.2k|#  define Py_tuple_iters_MAXFREELIST 10
  |  |  ------------------
  ------------------
 1138|  13.2k|}
tupleobject.c:tupleiter_next:
 1150|   100k|{
 1151|   100k|    _PyTupleIterObject *it = _PyTupleIterObject_CAST(self);
  ------------------
  |  | 1128|   100k|#define _PyTupleIterObject_CAST(op) ((_PyTupleIterObject *)(op))
  ------------------
 1152|   100k|    PyTupleObject *seq;
 1153|   100k|    PyObject *item;
 1154|       |
 1155|   100k|    assert(it != NULL);
  ------------------
  |  Branch (1155:5): [True: 100k, False: 0]
  ------------------
 1156|   100k|    seq = it->it_seq;
 1157|   100k|#ifndef Py_GIL_DISABLED
 1158|   100k|    if (seq == NULL)
  ------------------
  |  Branch (1158:9): [True: 0, False: 100k]
  ------------------
 1159|      0|        return NULL;
 1160|   100k|#endif
 1161|   100k|    assert(PyTuple_Check(seq));
  ------------------
  |  Branch (1161:5): [True: 100k, False: 0]
  ------------------
 1162|       |
 1163|   100k|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  151|   100k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1164|   100k|    if (index < PyTuple_GET_SIZE(seq)) {
  ------------------
  |  |   27|   100k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1164:9): [True: 87.2k, False: 13.2k]
  ------------------
 1165|  87.2k|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index + 1);
  ------------------
  |  |  197|  87.2k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 1166|  87.2k|        item = PyTuple_GET_ITEM(seq, index);
  ------------------
  |  |   29|  87.2k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  87.2k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  87.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1166:16): [True: 87.2k, False: 0]
  ------------------
 1167|  87.2k|        return Py_NewRef(item);
  ------------------
  |  |  647|  87.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  87.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  87.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1168|  87.2k|    }
 1169|       |
 1170|  13.2k|#ifndef Py_GIL_DISABLED
 1171|  13.2k|    it->it_seq = NULL;
 1172|  13.2k|    Py_DECREF(seq);
  ------------------
  |  |  430|  13.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1173|  13.2k|#endif
 1174|       |    return NULL;
 1175|   100k|}
tupleobject.c:tuple_iter:
 1279|  13.2k|{
 1280|  13.2k|    if (!PyTuple_Check(seq)) {
  ------------------
  |  |   27|  13.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  13.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1280:9): [True: 0, False: 13.2k]
  ------------------
 1281|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1282|      0|        return NULL;
 1283|      0|    }
 1284|  13.2k|    _PyTupleIterObject *it = _Py_FREELIST_POP(_PyTupleIterObject, tuple_iters);
  ------------------
  |  |   43|  13.2k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  13.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1285|  13.2k|    if (it == NULL) {
  ------------------
  |  Branch (1285:9): [True: 10, False: 13.2k]
  ------------------
 1286|     10|        it = PyObject_GC_New(_PyTupleIterObject, &PyTupleIter_Type);
  ------------------
  |  |  181|     10|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1287|     10|        if (it == NULL)
  ------------------
  |  Branch (1287:13): [True: 0, False: 10]
  ------------------
 1288|      0|            return NULL;
 1289|     10|    }
 1290|  13.2k|    it->it_index = 0;
 1291|  13.2k|    it->it_seq = (PyTupleObject *)Py_NewRef(seq);
  ------------------
  |  |  647|  13.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  13.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1292|  13.2k|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  502|  13.2k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1293|  13.2k|    return (PyObject *)it;
 1294|  13.2k|}
tupleobject.c:maybe_freelist_push:
 1303|  98.2M|{
 1304|  98.2M|    if (!Py_IS_TYPE(op, &PyTuple_Type)) {
  ------------------
  |  |  215|  98.2M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  98.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  98.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1304:9): [True: 0, False: 98.2M]
  ------------------
 1305|      0|        return 0;
 1306|      0|    }
 1307|  98.2M|    Py_ssize_t index = Py_SIZE(op) - 1;
  ------------------
  |  |  214|  98.2M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  98.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  98.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1308|  98.2M|    if (index < PyTuple_MAXSAVESIZE) {
  ------------------
  |  |   11|  98.2M|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (1308:9): [True: 98.1M, False: 100k]
  ------------------
 1309|  98.1M|        return _Py_FREELIST_PUSH(tuples[index], op, Py_tuple_MAXFREELIST);
  ------------------
  |  |   39|  98.1M|    _PyFreeList_Push(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), limit)
  |  |  ------------------
  |  |  |  |  171|  98.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  98.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1310|  98.1M|    }
 1311|   100k|    return 0;
 1312|  98.2M|}

_PyStaticType_GetState:
  244|  1.56M|{
  245|  1.56M|    assert(self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  Branch (245:5): [True: 1.56M, False: 0]
  ------------------
  246|  1.56M|    return managed_static_type_state_get(interp, self);
  247|  1.56M|}
_PyType_GetDict:
  481|  4.74M|{
  482|       |    /* It returns a borrowed reference. */
  483|  4.74M|    return lookup_tp_dict(self);
  484|  4.74M|}
PyType_GetDict:
  488|    113|{
  489|    113|    PyObject *dict = lookup_tp_dict(self);
  490|    113|    return _Py_XNewRef(dict);
  491|    113|}
_PyType_GetBases:
  528|     76|{
  529|     76|    PyObject *res;
  530|       |
  531|     76|    BEGIN_TYPE_LOCK();
  532|     76|    res = lookup_tp_bases(self);
  533|     76|    Py_INCREF(res);
  ------------------
  |  |  310|     76|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|     76|    END_TYPE_LOCK();
  535|       |
  536|     76|    return res;
  537|     76|}
_PyType_GetSubclasses:
  783|     58|{
  784|     58|    PyObject *list = PyList_New(0);
  785|     58|    if (list == NULL) {
  ------------------
  |  Branch (785:9): [True: 0, False: 58]
  ------------------
  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|     58|    int res;
  793|     58|    BEGIN_TYPE_LOCK();
  794|     58|    res = get_subclasses_unlocked(self, list);
  795|     58|    END_TYPE_LOCK();
  796|       |
  797|     58|    if (res < 0) {
  ------------------
  |  Branch (797:9): [True: 0, False: 58]
  ------------------
  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|     58|    return list;
  801|     58|}
_PyType_CheckConsistency:
  861|  3.65k|{
  862|  3.65k|#define CHECK(expr) \
  863|  3.65k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  864|       |
  865|  3.65k|    CHECK(!_PyObject_IsFreed((PyObject *)type));
  ------------------
  |  |  863|  3.65k|    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.65k]
  |  |  |  Branch (863:103): [Folded, False: 3.65k]
  |  |  ------------------
  ------------------
  866|       |
  867|  3.65k|    if (!(type->tp_flags & Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|  3.65k|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (867:9): [True: 959, False: 2.69k]
  ------------------
  868|       |        /* don't check static types before PyType_Ready() */
  869|    959|        return 1;
  870|    959|    }
  871|       |
  872|  2.69k|    CHECK(Py_REFCNT(type) >= 1);
  ------------------
  |  |  863|  2.69k|    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.69k]
  |  |  |  Branch (863:103): [Folded, False: 2.69k]
  |  |  ------------------
  ------------------
  873|  2.69k|    CHECK(PyType_Check(type));
  ------------------
  |  |  863|  2.69k|    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.69k]
  |  |  |  Branch (863:103): [Folded, False: 2.69k]
  |  |  ------------------
  ------------------
  874|       |
  875|  2.69k|    CHECK(!is_readying(type));
  ------------------
  |  |  863|  2.69k|    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.69k]
  |  |  |  Branch (863:103): [Folded, False: 2.69k]
  |  |  ------------------
  ------------------
  876|  2.69k|    CHECK(lookup_tp_dict(type) != NULL);
  ------------------
  |  |  863|  2.69k|    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.69k]
  |  |  |  Branch (863:103): [Folded, False: 2.69k]
  |  |  ------------------
  ------------------
  877|       |
  878|  2.69k|    if (type->tp_flags & Py_TPFLAGS_HAVE_GC) {
  ------------------
  |  |  524|  2.69k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (878:9): [True: 2.61k, False: 78]
  ------------------
  879|       |        // bpo-44263: tp_traverse is required if Py_TPFLAGS_HAVE_GC is set.
  880|       |        // Note: tp_clear is optional.
  881|  2.61k|        CHECK(type->tp_traverse != NULL);
  ------------------
  |  |  863|  2.61k|    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.61k]
  |  |  |  Branch (863:103): [Folded, False: 2.61k]
  |  |  ------------------
  ------------------
  882|  2.61k|    }
  883|       |
  884|  2.69k|    if (type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION) {
  ------------------
  |  |  497|  2.69k|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
  |  Branch (884:9): [True: 178, False: 2.51k]
  ------------------
  885|    178|        CHECK(type->tp_new == NULL);
  ------------------
  |  |  863|    178|    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: 178]
  |  |  |  Branch (863:103): [Folded, False: 178]
  |  |  ------------------
  ------------------
  886|    178|        CHECK(PyDict_Contains(lookup_tp_dict(type), &_Py_ID(__new__)) == 0);
  ------------------
  |  |  863|    178|    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: 178]
  |  |  |  Branch (863:103): [Folded, False: 178]
  |  |  ------------------
  ------------------
  887|    178|    }
  888|       |
  889|  2.69k|    return 1;
  890|  2.69k|#undef CHECK
  891|  2.69k|}
_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|  2.22k|{
 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|  2.22k|    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|  2.22k|    if (type->tp_version_tag == 0) {
  ------------------
  |  Branch (1125:9): [True: 1.57k, False: 655]
  ------------------
 1126|  1.57k|        return;
 1127|  1.57k|    }
 1128|       |    // Cannot modify static builtin types.
 1129|  2.22k|    assert((type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) == 0);
  ------------------
  |  Branch (1129:5): [True: 655, False: 0]
  ------------------
 1130|       |
 1131|    655|    PyObject *subclasses = lookup_tp_subclasses(type);
 1132|    655|    if (subclasses != NULL) {
  ------------------
  |  Branch (1132:9): [True: 0, False: 655]
  ------------------
 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|    655|    if (type->tp_watched) {
  ------------------
  |  Branch (1148:9): [True: 0, False: 655]
  ------------------
 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|    655|    set_version_unlocked(type, 0); /* 0 is not a valid version tag */
 1170|    655|    _PyTypeCache_Invalidate(type);
 1171|    655|    if (PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    655|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1171:9): [True: 655, False: 0]
  ------------------
 1172|       |        // This field *must* be invalidated if the type is modified (see the
 1173|       |        // comment on struct _specialization_cache):
 1174|    655|        FT_ATOMIC_STORE_PTR_RELAXED(
  ------------------
  |  |  165|    655|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
 1175|    655|            ((PyHeapTypeObject *)type)->_spec_cache.getitem, NULL);
 1176|    655|    }
 1177|    655|}
PyType_Modified:
 1181|    127|{
 1182|       |    // Quick check without the lock held
 1183|    127|    if (FT_ATOMIC_LOAD_UINT_RELAXED(type->tp_version_tag) == 0) {
  ------------------
  |  |  192|    127|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  ------------------
  |  Branch (1183:9): [True: 127, False: 0]
  ------------------
 1184|    127|        return;
 1185|    127|    }
 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|  83.0k|{
 1447|  83.0k|    assert(type->tp_name != NULL);
  ------------------
  |  Branch (1447:5): [True: 83.0k, False: 0]
  ------------------
 1448|  83.0k|    const char *s = strrchr(type->tp_name, '.');
 1449|  83.0k|    if (s == NULL) {
  ------------------
  |  Branch (1449:9): [True: 82.8k, False: 142]
  ------------------
 1450|  82.8k|        s = type->tp_name;
 1451|  82.8k|    }
 1452|    142|    else {
 1453|    142|        s++;
 1454|    142|    }
 1455|  83.0k|    return s;
 1456|  83.0k|}
_PyType_AllocNoTrack:
 2539|  1.58M|{
 2540|  1.58M|    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|  1.58M|    size_t size = _PyObject_VAR_SIZE(type, nitems+1);
 2548|       |
 2549|  1.58M|    const size_t presize = _PyType_PreHeaderSize(type);
 2550|  1.58M|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  1.58M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2550:9): [True: 374k, False: 1.20M]
  ------------------
 2551|   374k|        assert(type->tp_itemsize == 0);
  ------------------
  |  Branch (2551:9): [True: 374k, False: 0]
  ------------------
 2552|   374k|        size += _PyInlineValuesSize(type);
 2553|   374k|    }
 2554|  1.58M|    char *alloc = _PyObject_MallocWithType(type, size + presize);
 2555|  1.58M|    if (alloc  == NULL) {
  ------------------
  |  Branch (2555:9): [True: 0, False: 1.58M]
  ------------------
 2556|      0|        return PyErr_NoMemory();
 2557|      0|    }
 2558|  1.58M|    obj = (PyObject *)(alloc + presize);
 2559|  1.58M|    if (presize) {
  ------------------
  |  Branch (2559:9): [True: 1.38M, False: 199k]
  ------------------
 2560|  1.38M|        ((PyObject **)alloc)[0] = NULL;
 2561|  1.38M|        ((PyObject **)alloc)[1] = NULL;
 2562|  1.38M|    }
 2563|  1.58M|    if (PyType_IS_GC(type)) {
  ------------------
  |  |  157|  1.58M|#define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  1.58M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (157:25): [True: 1.38M, False: 199k]
  |  |  ------------------
  ------------------
 2564|  1.38M|        _PyObject_GC_Link(obj);
 2565|  1.38M|    }
 2566|       |    // Zero out the object after the PyObject header. The header fields are
 2567|       |    // initialized by _PyObject_Init[Var]().
 2568|  1.58M|    memset((char *)obj + sizeof(PyObject), 0, size - sizeof(PyObject));
 2569|       |
 2570|  1.58M|    if (type->tp_itemsize == 0) {
  ------------------
  |  Branch (2570:9): [True: 1.57M, False: 1.27k]
  ------------------
 2571|  1.57M|        _PyObject_Init(obj, type);
 2572|  1.57M|    }
 2573|  1.27k|    else {
 2574|  1.27k|        _PyObject_InitVar((PyVarObject *)obj, type, nitems);
 2575|  1.27k|    }
 2576|  1.58M|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  1.58M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2576:9): [True: 374k, False: 1.20M]
  ------------------
 2577|   374k|        _PyObject_InitInlineValues(obj, type);
 2578|   374k|    }
 2579|  1.58M|    return obj;
 2580|  1.58M|}
PyType_GenericAlloc:
 2584|   763k|{
 2585|   763k|    PyObject *obj = _PyType_AllocNoTrack(type, nitems);
 2586|   763k|    if (obj == NULL) {
  ------------------
  |  Branch (2586:9): [True: 0, False: 763k]
  ------------------
 2587|      0|        return NULL;
 2588|      0|    }
 2589|       |
 2590|   763k|    if (_PyType_IS_GC(type)) {
  ------------------
  |  Branch (2590:9): [True: 564k, False: 199k]
  ------------------
 2591|   564k|        _PyObject_GC_TRACK(obj);
  ------------------
  |  |  502|   564k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   564k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   564k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2592|   564k|    }
 2593|   763k|    return obj;
 2594|   763k|}
PyType_GenericNew:
 2598|   530k|{
 2599|   530k|    return type->tp_alloc(type, 0);
 2600|   530k|}
PyType_IsSubtype:
 2960|  13.2M|{
 2961|  13.2M|    return is_subtype_with_mro(a->tp_mro, a, b);
 2962|  13.2M|}
_PyObject_LookupSpecial:
 2981|  64.1k|{
 2982|  64.1k|    PyObject *res;
 2983|       |
 2984|  64.1k|    res = _PyType_LookupRef(Py_TYPE(self), attr);
  ------------------
  |  |  213|  64.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  64.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  64.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2985|  64.1k|    if (res != NULL) {
  ------------------
  |  Branch (2985:9): [True: 41.7k, False: 22.3k]
  ------------------
 2986|  41.7k|        descrgetfunc f;
 2987|  41.7k|        if ((f = Py_TYPE(res)->tp_descr_get) != NULL) {
  ------------------
  |  |  213|  41.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  41.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2987:13): [True: 41.7k, False: 0]
  ------------------
 2988|  41.7k|            Py_SETREF(res, f(res, self, (PyObject *)(Py_TYPE(self))));
  ------------------
  |  |  545|  41.7k|    do { \
  |  |  546|  41.7k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  41.7k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|  41.7k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  41.7k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|  41.7k|        *_tmp_dst_ptr = (src); \
  |  |  549|  41.7k|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|  41.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  41.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  41.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|  41.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 41.7k]
  |  |  ------------------
  ------------------
 2989|  41.7k|        }
 2990|  41.7k|    }
 2991|  64.1k|    return res;
 2992|  64.1k|}
_PyObject_LookupSpecialMethod:
 3006|  4.91k|{
 3007|  4.91k|    PyObject *self_o = PyStackRef_AsPyObjectBorrow(*self);
 3008|  4.91k|    _PyType_LookupStackRefAndVersion(Py_TYPE(self_o), attr, method);
  ------------------
  |  |  213|  4.91k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3009|  4.91k|    PyObject *method_o = PyStackRef_AsPyObjectBorrow(*method);
 3010|  4.91k|    if (method_o == NULL) {
  ------------------
  |  Branch (3010:9): [True: 0, False: 4.91k]
  ------------------
 3011|      0|        return 0;
 3012|      0|    }
 3013|       |
 3014|  4.91k|    if (_PyType_HasFeature(Py_TYPE(method_o), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  4.91k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(method_o), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  4.91k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (3014:9): [True: 4.91k, False: 0]
  ------------------
 3015|       |        /* Avoid temporary PyMethodObject */
 3016|  4.91k|        return 1;
 3017|  4.91k|    }
 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|    453|{
 4087|    453|    return type->tp_flags;
 4088|    453|}
_PyType_CalculateMetaclass:
 4101|  1.55k|{
 4102|  1.55k|    Py_ssize_t i, nbases;
 4103|  1.55k|    PyTypeObject *winner;
 4104|  1.55k|    PyObject *tmp;
 4105|  1.55k|    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.55k|    nbases = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  1.55k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4113|  1.55k|    winner = metatype;
 4114|  3.40k|    for (i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4114:17): [True: 1.85k, False: 1.55k]
  ------------------
 4115|  1.85k|        tmp = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  1.85k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.85k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4115:15): [True: 1.85k, False: 0]
  ------------------
 4116|  1.85k|        tmptype = Py_TYPE(tmp);
  ------------------
  |  |  213|  1.85k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4117|  1.85k|        if (PyType_IsSubtype(winner, tmptype)) {
  ------------------
  |  Branch (4117:13): [True: 1.84k, False: 8]
  ------------------
 4118|  1.84k|            continue;
 4119|  1.84k|        }
 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.55k|    return winner;
 4133|  1.55k|}
PyType_FromMetaclass:
 5808|      5|{
 5809|       |    return type_from_slots_or_spec(NULL, spec, metaclass, module, bases);
 5810|      5|}
PyType_FromModuleAndSpec:
 5814|     86|{
 5815|     86|    return type_from_slots_or_spec(NULL, spec, NULL, module, bases);
 5816|     86|}
PyType_FromSpecWithBases:
 5820|     19|{
 5821|     19|    return type_from_slots_or_spec(NULL, spec, NULL, NULL, bases);
 5822|     19|}
PyType_FromSpec:
 5826|     20|{
 5827|     20|    return type_from_slots_or_spec(NULL, spec, NULL, NULL, NULL);
 5828|     20|}
PyType_GetSlot:
 5850|   330k|{
 5851|   330k|    uint16_t slot = _PySlot_resolve_type_slot(slot_in);
 5852|   330k|    return _PySlot_type_getslot(type, slot);
 5853|   330k|}
PyType_GetModule:
 5868|      4|{
 5869|      4|    assert(PyType_Check(type));
  ------------------
  |  Branch (5869:5): [True: 4, False: 0]
  ------------------
 5870|      4|    if (!_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      4|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5870:9): [True: 0, False: 4]
  ------------------
 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|      4|    PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 5879|      4|    if (!et->ht_module) {
  ------------------
  |  Branch (5879:9): [True: 0, False: 4]
  ------------------
 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|      4|    return et->ht_module;
 5887|      4|}
PyType_GetModuleByToken_DuringGC:
 5914|    497|{
 5915|    497|    assert(PyType_Check(type));
  ------------------
  |  Branch (5915:5): [True: 497, False: 0]
  ------------------
 5916|       |
 5917|    497|    if (!_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    497|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5917:9): [True: 0, False: 497]
  ------------------
 5918|       |        // type_ready_mro() ensures that no heap type is
 5919|       |        // contained in a static type MRO.
 5920|      0|        return NULL;
 5921|      0|    }
 5922|    497|    else {
 5923|    497|        PyHeapTypeObject *ht = (PyHeapTypeObject*)type;
 5924|    497|        PyObject *module = ht->ht_module;
 5925|    497|        if (module && _PyModule_GetToken(module) == token) {
  ------------------
  |  Branch (5925:13): [True: 497, False: 0]
  |  Branch (5925:23): [True: 497, False: 0]
  ------------------
 5926|    497|            return module;
 5927|    497|        }
 5928|    497|    }
 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|    497|{
 5972|    497|    PyObject *mod = PyType_GetModuleByToken_DuringGC(type, def);
 5973|    497|    if (!mod) {
  ------------------
  |  Branch (5973:9): [True: 0, False: 497]
  ------------------
 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|    497|    return mod;
 5981|    497|}
PyObject_GetItemData:
 6133|  1.56k|{
 6134|       |    return getitemdata(obj, true);
 6135|  1.56k|}
_PyType_LookupRefAndVersion:
 6265|  66.7k|{
 6266|  66.7k|    _PyStackRef out;
 6267|  66.7k|    unsigned int ver = _PyType_LookupStackRefAndVersion(type, name, &out);
 6268|  66.7k|    if (version) {
  ------------------
  |  Branch (6268:9): [True: 1.74k, False: 64.9k]
  ------------------
 6269|  1.74k|        *version = ver;
 6270|  1.74k|    }
 6271|  66.7k|    if (PyStackRef_IsNull(out)) {
  ------------------
  |  |  482|  66.7k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  66.7k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  66.7k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 23.5k, False: 43.1k]
  |  |  ------------------
  ------------------
 6272|  23.5k|        return NULL;
 6273|  23.5k|    }
 6274|  43.1k|    return PyStackRef_AsPyObjectSteal(out);
 6275|  66.7k|}
_PyType_LookupStackRefAndVersion:
 6287|  4.85M|{
 6288|  4.85M|    int cacheable = MCACHE_CACHEABLE_NAME(name);
  ------------------
  |  |   44|  4.85M|#define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  104|  4.85M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  9.70M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.85M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 4.85M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  215|  4.85M|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.85M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:38): [True: 4.84M, False: 6.29k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6289|  4.85M|    if (cacheable) {
  ------------------
  |  Branch (6289:9): [True: 4.84M, False: 6.29k]
  ------------------
 6290|  4.84M|        struct _PyTypeCacheLookupResult r = _PyTypeCache_Lookup(type, name);
 6291|  4.84M|        if (r.cache_hit) {
  ------------------
  |  Branch (6291:13): [True: 4.84M, False: 5.56k]
  ------------------
 6292|  4.84M|            OBJECT_STAT_INC_COND(type_cache_hits, !is_dunder_name(name));
  ------------------
  |  |   78|  4.84M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6293|  4.84M|            OBJECT_STAT_INC_COND(type_cache_dunder_hits, is_dunder_name(name));
  ------------------
  |  |   78|  4.84M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6294|  4.84M|            *out = r.value;
 6295|  4.84M|            return r.version_tag;
 6296|  4.84M|        }
 6297|  4.84M|    }
 6298|  11.8k|    OBJECT_STAT_INC_COND(type_cache_misses, !is_dunder_name(name));
  ------------------
  |  |   78|  11.8k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6299|  11.8k|    OBJECT_STAT_INC_COND(type_cache_dunder_misses, is_dunder_name(name));
  ------------------
  |  |   78|  11.8k|#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|  11.8k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (6302:5): [True: 11.8k, False: 0]
  ------------------
 6303|       |
 6304|  11.8k|    int res;
 6305|  11.8k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 6306|       |
 6307|  11.8k|    unsigned int version_tag = FT_ATOMIC_LOAD_UINT(type->tp_version_tag);
  ------------------
  |  |  191|  11.8k|#define FT_ATOMIC_LOAD_UINT(value) value
  ------------------
 6308|  11.8k|    if (cacheable &&
  ------------------
  |  Branch (6308:9): [True: 5.56k, False: 6.29k]
  ------------------
 6309|  5.56k|        (version_tag != 0 || should_assign_version_tag(type, name, version_tag)))
  ------------------
  |  Branch (6309:10): [True: 4.34k, False: 1.21k]
  |  Branch (6309:30): [True: 1.21k, False: 0]
  ------------------
 6310|  5.56k|    {
 6311|  5.56k|        BEGIN_TYPE_LOCK();
 6312|  5.56k|        version_tag = type->tp_version_tag;
 6313|  5.56k|        if (version_tag == 0) {
  ------------------
  |  Branch (6313:13): [True: 1.21k, False: 4.34k]
  ------------------
 6314|  1.21k|            assign_version_tag(interp, type);
 6315|  1.21k|            version_tag = type->tp_version_tag;
 6316|  1.21k|        }
 6317|  5.56k|        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|  5.56k|        if (res >= 0 && version_tag != 0 && version_tag == type->tp_version_tag) {
  ------------------
  |  Branch (6320:13): [True: 5.56k, False: 0]
  |  Branch (6320:25): [True: 5.25k, False: 306]
  |  Branch (6320:45): [True: 5.25k, False: 0]
  ------------------
 6321|  5.25k|            _PyTypeCache_Insert(type, name, PyStackRef_AsPyObjectBorrow(*out));
 6322|  5.25k|        }
 6323|  5.56k|        END_TYPE_LOCK();
 6324|  5.56k|    }
 6325|  6.29k|    else {
 6326|  6.29k|        version_tag = 0;
 6327|  6.29k|        res = find_name_in_mro(type, name, out);
 6328|  6.29k|    }
 6329|       |
 6330|       |    /* Only put NULL results into cache if there was no error. */
 6331|  11.8k|    if (res < 0) {
  ------------------
  |  Branch (6331:9): [True: 0, False: 11.8k]
  ------------------
 6332|      0|        *out = PyStackRef_NULL;
 6333|      0|        return 0;
 6334|      0|    }
 6335|       |
 6336|  11.8k|    return version_tag;
 6337|  11.8k|}
_PyType_LookupRef:
 6344|  64.6k|{
 6345|       |    return _PyType_LookupRefAndVersion(type, name, NULL);
 6346|  64.6k|}
_PyType_Lookup:
 6352|    314|{
 6353|    314|    PyObject *res = _PyType_LookupRefAndVersion(type, name, NULL);
 6354|    314|    Py_XDECREF(res);
  ------------------
  |  |  621|    314|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    314|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    314|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6355|    314|    return res;
 6356|    314|}
_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|      9|{
 6381|      9|    if (!descriptor || !tp_version) {
  ------------------
  |  Branch (6381:9): [True: 0, False: 9]
  |  Branch (6381:24): [True: 0, False: 9]
  ------------------
 6382|      0|        return 0;
 6383|      0|    }
 6384|      9|    int can_cache;
 6385|      9|    BEGIN_TYPE_LOCK();
 6386|      9|    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|      9|    PyFunctionObject *func = (PyFunctionObject *)descriptor;
 6390|      9|    uint32_t version = _PyFunction_GetVersionForCurrentState(func);
 6391|      9|    can_cache = can_cache && _PyFunction_IsVersionValid(version);
  ------------------
  |  Branch (6391:17): [True: 9, False: 0]
  |  Branch (6391:30): [True: 9, False: 0]
  ------------------
 6392|       |#ifdef Py_GIL_DISABLED
 6393|       |    can_cache = can_cache && _PyObject_HasDeferredRefcount(descriptor);
 6394|       |#endif
 6395|      9|    if (can_cache) {
  ------------------
  |  Branch (6395:9): [True: 9, False: 0]
  ------------------
 6396|      9|        FT_ATOMIC_STORE_PTR_RELEASE(ht->_spec_cache.getitem, descriptor);
  ------------------
  |  |  166|      9|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 6397|      9|        FT_ATOMIC_STORE_UINT32_RELAXED(ht->_spec_cache.getitem_version, version);
  ------------------
  |  |  175|      9|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 6398|      9|    }
 6399|      9|    END_TYPE_LOCK();
 6400|      9|    return can_cache;
 6401|      9|}
_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|      9|{
 6418|      9|    int err;
 6419|      9|    BEGIN_TYPE_LOCK();
 6420|      9|    err = validate(ty);
 6421|      9|    if (!err) {
  ------------------
  |  Branch (6421:9): [True: 3, False: 6]
  ------------------
 6422|      3|        if(assign_version_tag(_PyInterpreterState_GET(), ty)) {
  ------------------
  |  Branch (6422:12): [True: 3, False: 0]
  ------------------
 6423|      3|            *tp_version = ty->tp_version_tag;
 6424|      3|        }
 6425|      0|        else {
 6426|      0|            err = -1;
 6427|      0|        }
 6428|      3|    }
 6429|      9|    END_TYPE_LOCK();
 6430|      9|    return err;
 6431|      9|}
_PyType_SetFlagsRecursive:
 6458|     28|{
 6459|     28|    BEGIN_TYPE_LOCK();
 6460|       |    // Immutable/static-builtin types are skipped because
 6461|       |    // set_flags_recursive() does not modify them.
 6462|     28|    int modified = (!PyType_HasFeature(self, Py_TPFLAGS_IMMUTABLETYPE) &&
  ------------------
  |  |  500|     28|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6462:21): [True: 0, False: 28]
  ------------------
 6463|      0|                    (self->tp_flags & mask) != flags);
  ------------------
  |  Branch (6463:21): [True: 0, False: 0]
  ------------------
 6464|     28|    types_stop_world();
 6465|     28|    set_flags_recursive(self, mask, flags);
 6466|     28|    types_start_world();
 6467|       |    // Invalidate the version tags after update, while TYPE_LOCK is
 6468|       |    // still held.
 6469|     28|    ASSERT_TYPE_LOCK_HELD();
 6470|     28|    if (modified) {
  ------------------
  |  Branch (6470:9): [True: 0, False: 28]
  ------------------
 6471|      0|        _PyType_Modified_Unlocked(self);
 6472|      0|    }
 6473|     28|    END_TYPE_LOCK();
 6474|     28|}
_Py_type_getattro_impl:
 6490|  3.24k|{
 6491|  3.24k|    _PyStackRef ref = _Py_type_getattro_stackref(type, name, suppress_missing_attribute);
 6492|  3.24k|    if (PyStackRef_IsNull(ref)) {
  ------------------
  |  |  482|  3.24k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  3.24k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.24k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 54, False: 3.19k]
  |  |  ------------------
  ------------------
 6493|     54|        return NULL;
 6494|     54|    }
 6495|  3.19k|    return PyStackRef_AsPyObjectSteal(ref);
 6496|  3.24k|}
_Py_type_getattro:
 6502|  2.04k|{
 6503|  2.04k|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|  2.04k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6504|       |    return _Py_type_getattro_impl(type, name, NULL);
 6505|  2.04k|}
_Py_type_getattro_stackref:
 6520|  89.0k|{
 6521|  89.0k|    PyTypeObject *metatype = Py_TYPE(type);
  ------------------
  |  |  213|  89.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  89.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  89.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6522|  89.0k|    descrgetfunc meta_get = NULL;
 6523|       |
 6524|  89.0k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  89.0k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  89.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (6524:9): [True: 0, False: 89.0k]
  ------------------
 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|  89.0k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (6532:9): [True: 0, False: 89.0k]
  ------------------
 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|  89.0k|    _PyCStackRef result_ref, meta_attribute_ref, attribute_ref;
 6539|  89.0k|    PyThreadState *tstate = _PyThreadState_GET();
 6540|  89.0k|    _PyThreadState_PushCStackRef(tstate, &result_ref);
 6541|  89.0k|    _PyThreadState_PushCStackRef(tstate, &meta_attribute_ref);
 6542|  89.0k|    _PyThreadState_PushCStackRef(tstate, &attribute_ref);
 6543|       |
 6544|       |    /* Look for the attribute in the metatype */
 6545|  89.0k|    _PyType_LookupStackRefAndVersion(metatype, name, &meta_attribute_ref.ref);
 6546|       |
 6547|  89.0k|    if (!PyStackRef_IsNull(meta_attribute_ref.ref)) {
  ------------------
  |  |  482|  89.0k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  89.0k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  89.0k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6547:9): [True: 85.5k, False: 3.48k]
  ------------------
 6548|  85.5k|        PyObject *meta_attr_obj = PyStackRef_AsPyObjectBorrow(meta_attribute_ref.ref);
 6549|  85.5k|        meta_get = Py_TYPE(meta_attr_obj)->tp_descr_get;
  ------------------
  |  |  213|  85.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  85.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6550|       |
 6551|  85.5k|        if (meta_get != NULL && PyDescr_IsData(meta_attr_obj)) {
  ------------------
  |  Branch (6551:13): [True: 84.7k, False: 823]
  |  Branch (6551:33): [True: 83.6k, False: 1.08k]
  ------------------
 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|  83.6k|            PyObject *res = meta_get(meta_attr_obj, (PyObject *)type,
 6557|  83.6k|                                     (PyObject *)metatype);
 6558|  83.6k|            if (res != NULL) {
  ------------------
  |  Branch (6558:17): [True: 83.5k, False: 25]
  ------------------
 6559|  83.5k|                result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6560|  83.5k|            }
 6561|  83.6k|            goto done;
 6562|  83.6k|        }
 6563|  85.5k|    }
 6564|       |
 6565|       |    /* No data descriptor found on metatype. Look in tp_dict of this
 6566|       |     * type and its bases */
 6567|  5.39k|    _PyType_LookupStackRefAndVersion(type, name, &attribute_ref.ref);
 6568|  5.39k|    if (!PyStackRef_IsNull(attribute_ref.ref)) {
  ------------------
  |  |  482|  5.39k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  5.39k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  5.39k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6568:9): [True: 5.20k, False: 182]
  ------------------
 6569|       |        /* Implement descriptor functionality, if any */
 6570|  5.20k|        PyObject *attr_obj = PyStackRef_AsPyObjectBorrow(attribute_ref.ref);
 6571|  5.20k|        descrgetfunc local_get = Py_TYPE(attr_obj)->tp_descr_get;
  ------------------
  |  |  213|  5.20k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6572|       |
 6573|       |        /* Release meta_attribute early since we found in local dict */
 6574|  5.20k|        PyStackRef_CLEAR(meta_attribute_ref.ref);
  ------------------
  |  |  732|  5.20k|    do { \
  |  |  733|  5.20k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  5.20k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  5.20k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  5.20k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  5.20k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 5.20k]
  |  |  ------------------
  ------------------
 6575|       |
 6576|  5.20k|        if (local_get != NULL) {
  ------------------
  |  Branch (6576:13): [True: 4.90k, False: 309]
  ------------------
 6577|       |            /* Special case staticmethod to avoid descriptor call overhead.
 6578|       |             * staticmethod.__get__ just returns the wrapped callable. */
 6579|  4.90k|            if (Py_TYPE(attr_obj) == &PyStaticMethod_Type) {
  ------------------
  |  |  213|  4.90k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6579:17): [True: 1.43k, False: 3.46k]
  ------------------
 6580|  1.43k|                PyObject *callable = _PyStaticMethod_GetFunc(attr_obj);
 6581|  1.43k|                if (callable) {
  ------------------
  |  Branch (6581:21): [True: 1.43k, False: 0]
  ------------------
 6582|  1.43k|                    result_ref.ref = PyStackRef_FromPyObjectNew(callable);
  ------------------
  |  |  611|  1.43k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6583|  1.43k|                    goto done;
 6584|  1.43k|                }
 6585|  1.43k|            }
 6586|       |            /* NULL 2nd argument indicates the descriptor was
 6587|       |             * found on the target object itself (or a base)  */
 6588|  3.46k|            PyObject *res = local_get(attr_obj, (PyObject *)NULL,
 6589|  3.46k|                                      (PyObject *)type);
 6590|  3.46k|            if (res != NULL) {
  ------------------
  |  Branch (6590:17): [True: 3.46k, False: 0]
  ------------------
 6591|  3.46k|                result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6592|  3.46k|            }
 6593|  3.46k|            goto done;
 6594|  4.90k|        }
 6595|       |
 6596|       |        /* No descriptor, return the attribute directly */
 6597|    309|        result_ref.ref = attribute_ref.ref;
 6598|    309|        attribute_ref.ref = PyStackRef_NULL;
 6599|    309|        goto done;
 6600|  5.20k|    }
 6601|       |
 6602|       |    /* No attribute found in local __dict__ (or bases): use the
 6603|       |     * descriptor from the metatype, if any */
 6604|    182|    if (meta_get != NULL) {
  ------------------
  |  Branch (6604:9): [True: 151, False: 31]
  ------------------
 6605|    151|        PyObject *meta_attr_obj = PyStackRef_AsPyObjectBorrow(meta_attribute_ref.ref);
 6606|    151|        PyObject *res = meta_get(meta_attr_obj, (PyObject *)type,
 6607|    151|                                 (PyObject *)metatype);
 6608|    151|        if (res != NULL) {
  ------------------
  |  Branch (6608:13): [True: 151, False: 0]
  ------------------
 6609|    151|            result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6610|    151|        }
 6611|    151|        goto done;
 6612|    151|    }
 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|  89.0k|done:
 6633|  89.0k|    _PyThreadState_PopCStackRef(tstate, &attribute_ref);
 6634|  89.0k|    _PyThreadState_PopCStackRef(tstate, &meta_attribute_ref);
 6635|  89.0k|    return _PyThreadState_PopCStackRefSteal(tstate, &result_ref);
 6636|     31|}
_Py_BaseObject_RichCompare:
 7514|    118|{
 7515|    118|    return object_richcompare(self, other, op);
 7516|    118|}
_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.05k|{
12726|  2.05k|    PyObject *mro, *res;
12727|  2.05k|    Py_ssize_t i, n;
12728|       |
12729|  2.05k|    mro = lookup_tp_mro(su_obj_type);
12730|  2.05k|    if (mro == NULL)
  ------------------
  |  Branch (12730:9): [True: 0, False: 2.05k]
  ------------------
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.05k|    PyThreadState *tstate = _PyThreadState_GET();
12736|  2.05k|    _PyCStackRef mro_ref;
12737|  2.05k|    _PyThreadState_PushCStackRefNew(tstate, &mro_ref, mro);
12738|       |
12739|  2.05k|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (12739:5): [True: 2.05k, False: 0]
  ------------------
12740|  2.05k|    n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|  2.05k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12741|       |
12742|       |    /* No need to check the last one: it's gonna be skipped anyway.  */
12743|  2.05k|    for (i = 0; i+1 < n; i++) {
  ------------------
  |  Branch (12743:17): [True: 2.05k, False: 0]
  ------------------
12744|  2.05k|        if ((PyObject *)(su_type) == PyTuple_GET_ITEM(mro, i))
  ------------------
  |  |   29|  2.05k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.05k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12744:13): [True: 2.05k, False: 2]
  |  Branch (12744:38): [True: 2.05k, False: 0]
  ------------------
12745|  2.05k|            break;
12746|  2.05k|    }
12747|  2.05k|    i++;  /* skip su->type (if any)  */
12748|  2.05k|    if (i >= n) {
  ------------------
  |  Branch (12748:9): [True: 0, False: 2.05k]
  ------------------
12749|      0|        _PyThreadState_PopCStackRef(tstate, &mro_ref);
12750|      0|        return NULL;
12751|      0|    }
12752|       |
12753|  3.54k|    do {
12754|  3.54k|        PyObject *obj = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  3.54k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.54k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12754:25): [True: 3.54k, False: 0]
  ------------------
12755|  3.54k|        PyObject *dict = lookup_tp_dict(_PyType_CAST(obj));
  ------------------
  |  |  770|  3.54k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (12755:41): [True: 3.54k, False: 0]
  ------------------
12756|  3.54k|        assert(dict != NULL && PyDict_Check(dict));
  ------------------
  |  Branch (12756:9): [True: 3.54k, False: 0]
  |  Branch (12756:9): [True: 3.54k, False: 0]
  ------------------
12757|       |
12758|  3.54k|        if (PyDict_GetItemRef(dict, name, &res) != 0) {
  ------------------
  |  Branch (12758:13): [True: 2.05k, False: 1.49k]
  ------------------
12759|       |            // found or error
12760|  2.05k|            _PyThreadState_PopCStackRef(tstate, &mro_ref);
12761|  2.05k|            return res;
12762|  2.05k|        }
12763|       |
12764|  1.49k|        i++;
12765|  1.49k|    } while (i < n);
  ------------------
  |  Branch (12765:14): [True: 1.49k, False: 0]
  ------------------
12766|      0|    _PyThreadState_PopCStackRef(tstate, &mro_ref);
12767|       |    return NULL;
12768|  2.05k|}
_PySuper_Lookup:
12906|  1.20k|{
12907|  1.20k|    PyTypeObject *su_obj_type = supercheck(su_type, su_obj);
12908|  1.20k|    if (su_obj_type == NULL) {
  ------------------
  |  Branch (12908:9): [True: 0, False: 1.20k]
  ------------------
12909|      0|        return NULL;
12910|      0|    }
12911|  1.20k|    PyObject *res = do_super_lookup(NULL, su_type, su_obj, su_obj_type, name, method);
12912|  1.20k|    Py_DECREF(su_obj_type);
  ------------------
  |  |  430|  1.20k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12913|  1.20k|    return res;
12914|  1.20k|}
typeobject.c:managed_static_type_state_get:
  227|  1.57M|{
  228|       |    // It's probably a builtin type.
  229|  1.57M|    size_t index = managed_static_type_index_get(self);
  230|  1.57M|    managed_static_type_state *state =
  231|  1.57M|            &(interp->types.builtins.initialized[index]);
  232|  1.57M|    if (state->type == self) {
  ------------------
  |  Branch (232:9): [True: 1.57M, False: 320]
  ------------------
  233|  1.57M|        return state;
  234|  1.57M|    }
  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|  1.57M|{
  182|  1.57M|    assert(managed_static_type_index_is_set(self));
  ------------------
  |  Branch (182:5): [True: 1.57M, False: 0]
  ------------------
  183|       |    /* We store a 1-based index so 0 can mean "not initialized". */
  184|  1.57M|    return (size_t)self->tp_subclasses - 1;
  185|  1.57M|}
typeobject.c:managed_static_type_index_is_set:
  174|  1.57M|{
  175|       |    return self->tp_subclasses != NULL;
  176|  1.57M|}
typeobject.c:lookup_tp_dict:
  469|  4.78M|{
  470|  4.78M|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  4.78M|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (470:9): [True: 764k, False: 4.02M]
  ------------------
  471|   764k|        PyInterpreterState *interp = _PyInterpreterState_GET();
  472|   764k|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  473|   764k|        assert(state != NULL);
  ------------------
  |  Branch (473:9): [True: 764k, False: 0]
  ------------------
  474|   764k|        return state->tp_dict;
  475|   764k|    }
  476|  4.02M|    return self->tp_dict;
  477|  4.78M|}
typeobject.c:lookup_tp_bases:
  522|  6.94k|{
  523|  6.94k|    return self->tp_bases;
  524|  6.94k|}
typeobject.c:lookup_tp_subclasses:
  709|  2.31k|{
  710|  2.31k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  2.31k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (710:9): [True: 698, False: 1.61k]
  ------------------
  711|    698|        PyInterpreterState *interp = _PyInterpreterState_GET();
  712|    698|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  713|    698|        assert(state != NULL);
  ------------------
  |  Branch (713:9): [True: 698, False: 0]
  ------------------
  714|    698|        return state->tp_subclasses;
  715|    698|    }
  716|  1.61k|    return (PyObject *)self->tp_subclasses;
  717|  2.31k|}
typeobject.c:init_tp_subclasses:
  677|    232|{
  678|    232|    PyObject *subclasses = PyDict_New();
  679|    232|    if (subclasses == NULL) {
  ------------------
  |  Branch (679:9): [True: 0, False: 232]
  ------------------
  680|      0|        return NULL;
  681|      0|    }
  682|    232|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    232|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (682:9): [True: 72, False: 160]
  ------------------
  683|     72|        PyInterpreterState *interp = _PyInterpreterState_GET();
  684|     72|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  685|     72|        state->tp_subclasses = subclasses;
  686|     72|        return subclasses;
  687|     72|    }
  688|    160|    self->tp_subclasses = (void *)subclasses;
  689|    160|    return subclasses;
  690|    232|}
typeobject.c:get_subclasses_unlocked:
  753|     58|{
  754|     58|    ASSERT_TYPE_LOCK_HELD();
  755|       |
  756|     58|    PyObject *subclasses = lookup_tp_subclasses(self);  // borrowed ref
  757|     58|    if (subclasses == NULL) {
  ------------------
  |  Branch (757:9): [True: 52, False: 6]
  ------------------
  758|     52|        return 0;
  759|     52|    }
  760|     58|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (760:5): [True: 6, 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|      6|    Py_ssize_t i = 0;
  765|      6|    PyObject *ref;  // borrowed ref
  766|     14|    while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (766:12): [True: 8, False: 6]
  ------------------
  767|      8|        PyTypeObject *subclass = type_from_ref(ref);
  768|      8|        if (subclass == NULL) {
  ------------------
  |  Branch (768:13): [True: 0, False: 8]
  ------------------
  769|      0|            continue;
  770|      0|        }
  771|       |
  772|      8|        int res = PyList_Append(list, _PyObject_CAST(subclass));
  ------------------
  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  773|      8|        Py_DECREF(subclass);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|      8|        if (res < 0) {
  ------------------
  |  Branch (774:13): [True: 0, False: 8]
  ------------------
  775|      0|            return -1;
  776|      0|        }
  777|      8|    }
  778|      6|    return 0;
  779|      6|}
typeobject.c:is_readying:
  454|  5.02k|{
  455|  5.02k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  5.02k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (455:9): [True: 824, False: 4.19k]
  ------------------
  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|  4.19k|    return (type->tp_flags & Py_TPFLAGS_READYING) != 0;
  ------------------
  |  |  521|  4.19k|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  462|  5.02k|}
typeobject.c:_PyType_DocWithoutSignature:
  895|    490|{
  896|    490|    const char *doc = find_signature(name, internal_doc);
  897|       |
  898|    490|    if (doc) {
  ------------------
  |  Branch (898:9): [True: 220, False: 270]
  ------------------
  899|    220|        doc = skip_signature(doc);
  900|    220|        if (doc)
  ------------------
  |  Branch (900:13): [True: 196, False: 24]
  ------------------
  901|    196|            return doc;
  902|    220|        }
  903|    294|    return internal_doc;
  904|    490|}
typeobject.c:find_signature:
  816|    490|{
  817|    490|    const char *dot;
  818|    490|    size_t length;
  819|       |
  820|    490|    if (!doc)
  ------------------
  |  Branch (820:9): [True: 0, False: 490]
  ------------------
  821|      0|        return NULL;
  822|       |
  823|    490|    assert(name != NULL);
  ------------------
  |  Branch (823:5): [True: 490, False: 0]
  ------------------
  824|       |
  825|       |    /* for dotted names like classes, only use the last component */
  826|    490|    dot = strrchr(name, '.');
  827|    490|    if (dot)
  ------------------
  |  Branch (827:9): [True: 261, False: 229]
  ------------------
  828|    261|        name = dot + 1;
  829|       |
  830|    490|    length = strlen(name);
  831|    490|    if (strncmp(doc, name, length))
  ------------------
  |  Branch (831:9): [True: 238, False: 252]
  ------------------
  832|    238|        return NULL;
  833|    252|    doc += length;
  834|    252|    if (*doc != '(')
  ------------------
  |  Branch (834:9): [True: 32, False: 220]
  ------------------
  835|     32|        return NULL;
  836|    220|    return doc;
  837|    252|}
typeobject.c:skip_signature:
  847|    220|{
  848|  9.82k|    while (*doc) {
  ------------------
  |  Branch (848:12): [True: 9.81k, False: 8]
  ------------------
  849|  9.81k|        if ((*doc == *SIGNATURE_END_MARKER) &&
  ------------------
  |  |  839|  9.81k|#define SIGNATURE_END_MARKER         ")\n--\n\n"
  ------------------
  |  Branch (849:13): [True: 310, False: 9.50k]
  ------------------
  850|    310|            !strncmp(doc, SIGNATURE_END_MARKER, SIGNATURE_END_MARKER_LENGTH))
  ------------------
  |  |  839|    310|#define SIGNATURE_END_MARKER         ")\n--\n\n"
  ------------------
                          !strncmp(doc, SIGNATURE_END_MARKER, SIGNATURE_END_MARKER_LENGTH))
  ------------------
  |  |  840|    310|#define SIGNATURE_END_MARKER_LENGTH  6
  ------------------
  |  Branch (850:13): [True: 196, False: 114]
  ------------------
  851|    196|            return doc + SIGNATURE_END_MARKER_LENGTH;
  ------------------
  |  |  840|    196|#define SIGNATURE_END_MARKER_LENGTH  6
  ------------------
  852|  9.61k|        if ((*doc == '\n') && (doc[1] == '\n'))
  ------------------
  |  Branch (852:13): [True: 122, False: 9.49k]
  |  Branch (852:31): [True: 16, False: 106]
  ------------------
  853|     16|            return NULL;
  854|  9.60k|        doc++;
  855|  9.60k|    }
  856|      8|    return NULL;
  857|    220|}
typeobject.c:type_from_ref:
  160|      8|{
  161|      8|    PyObject *obj = _PyWeakref_GET_REF(ref);
  162|      8|    if (obj == NULL) {
  ------------------
  |  Branch (162:9): [True: 0, False: 8]
  ------------------
  163|      0|        return NULL;
  164|      0|    }
  165|      8|    return _PyType_CAST(obj);
  ------------------
  |  |  770|      8|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (165:12): [True: 8, False: 0]
  ------------------
  166|      8|}
typeobject.c:set_version_unlocked:
 1071|  2.00k|{
 1072|  2.00k|    assert(version == 0 || (tp->tp_versions_used != _Py_ATTR_CACHE_UNUSED));
  ------------------
  |  Branch (1072:5): [True: 655, False: 1.35k]
  |  Branch (1072:5): [True: 1.35k, False: 0]
  ------------------
 1073|  2.00k|#ifndef Py_GIL_DISABLED
 1074|  2.00k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1075|       |    // lookup the old version and set to null
 1076|  2.00k|    if (tp->tp_version_tag != 0) {
  ------------------
  |  Branch (1076:9): [True: 655, False: 1.35k]
  ------------------
 1077|    655|        PyTypeObject **slot =
 1078|    655|            interp->types.type_version_cache
 1079|    655|            + (tp->tp_version_tag % TYPE_VERSION_CACHE_SIZE);
  ------------------
  |  |  583|    655|#define TYPE_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
 1080|    655|        *slot = NULL;
 1081|    655|    }
 1082|  2.00k|    if (version) {
  ------------------
  |  Branch (1082:9): [True: 1.35k, False: 655]
  ------------------
 1083|  1.35k|        tp->tp_versions_used++;
 1084|  1.35k|    }
 1085|       |#else
 1086|       |    if (version) {
 1087|       |        _Py_atomic_add_uint16(&tp->tp_versions_used, 1);
 1088|       |    }
 1089|       |#endif
 1090|  2.00k|    FT_ATOMIC_STORE_UINT_RELAXED(tp->tp_version_tag, version);
  ------------------
  |  |  193|  2.00k|#define FT_ATOMIC_STORE_UINT_RELAXED(value, new_value) value = new_value
  ------------------
 1091|  2.00k|#ifndef Py_GIL_DISABLED
 1092|  2.00k|    if (version != 0) {
  ------------------
  |  Branch (1092:9): [True: 1.35k, False: 655]
  ------------------
 1093|  1.35k|        PyTypeObject **slot =
 1094|  1.35k|            interp->types.type_version_cache
 1095|  1.35k|            + (version % TYPE_VERSION_CACHE_SIZE);
  ------------------
  |  |  583|  1.35k|#define TYPE_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
 1096|  1.35k|        *slot = tp;
 1097|  1.35k|    }
 1098|  2.00k|#endif
 1099|  2.00k|}
typeobject.c:assign_version_tag:
 1347|  2.25k|{
 1348|  2.25k|    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|  2.25k|    if (type->tp_version_tag != 0) {
  ------------------
  |  Branch (1354:9): [True: 989, False: 1.26k]
  ------------------
 1355|    989|        return 1;
 1356|    989|    }
 1357|  1.26k|    if (!_PyType_HasFeature(type, Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|  1.26k|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (1357:9): [True: 306, False: 963]
  ------------------
 1358|    306|        return 0;
 1359|    306|    }
 1360|    963|    if (type->tp_versions_used >= MAX_VERSIONS_PER_CLASS) {
  ------------------
  |  | 1327|    963|#define MAX_VERSIONS_PER_CLASS 1000
  ------------------
  |  Branch (1360:9): [True: 0, False: 963]
  ------------------
 1361|       |        /* (this includes `tp_versions_used == _Py_ATTR_CACHE_UNUSED`) */
 1362|      0|        return 0;
 1363|      0|    }
 1364|       |
 1365|    963|    PyObject *bases = lookup_tp_bases(type);
 1366|    963|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    963|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    963|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    963|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1367|  2.00k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1367:28): [True: 1.03k, False: 963]
  ------------------
 1368|  1.03k|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  1.03k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.03k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1368:23): [True: 1.03k, False: 0]
  ------------------
 1369|  1.03k|        if (!assign_version_tag(interp, _PyType_CAST(b))) {
  ------------------
  |  |  770|  1.03k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1369:13): [True: 0, False: 1.03k]
  |  Branch (1369:41): [True: 1.03k, False: 0]
  ------------------
 1370|      0|            return 0;
 1371|      0|        }
 1372|  1.03k|    }
 1373|    963|    if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    963|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1373:9): [True: 24, False: 939]
  ------------------
 1374|       |        /* static types */
 1375|     24|        unsigned int next_version_tag = next_global_version_tag();
 1376|     24|        if (next_version_tag == 0) {
  ------------------
  |  Branch (1376:13): [True: 0, False: 24]
  ------------------
 1377|       |            /* We have run out of version numbers */
 1378|      0|            return 0;
 1379|      0|        }
 1380|     24|        set_version_unlocked(type, next_version_tag);
 1381|     24|        assert (type->tp_version_tag <= _Py_MAX_GLOBAL_TYPE_VERSION_TAG);
  ------------------
  |  Branch (1381:9): [True: 24, False: 0]
  ------------------
 1382|     24|    }
 1383|    939|    else {
 1384|       |        /* heap types */
 1385|    939|        if (NEXT_VERSION_TAG(interp) == 0) {
  ------------------
  |  |   47|    939|    (interp)->types.next_version_tag
  ------------------
  |  Branch (1385:13): [True: 0, False: 939]
  ------------------
 1386|       |            /* We have run out of version numbers */
 1387|      0|            return 0;
 1388|      0|        }
 1389|    939|        set_version_unlocked(type, NEXT_VERSION_TAG(interp)++);
  ------------------
  |  |   47|    939|    (interp)->types.next_version_tag
  ------------------
 1390|    939|        assert (type->tp_version_tag != 0);
  ------------------
  |  Branch (1390:9): [True: 939, False: 0]
  ------------------
 1391|    939|    }
 1392|    963|    return 1;
 1393|    963|}
typeobject.c:next_global_version_tag:
 1334|    412|{
 1335|    412|    unsigned int old;
 1336|    412|    do {
 1337|    412|        old = _Py_atomic_load_uint_relaxed(&_PyRuntime.types.next_version_tag);
 1338|    412|        if (old >= _Py_MAX_GLOBAL_TYPE_VERSION_TAG) {
  ------------------
  |  |   35|    412|#define _Py_MAX_GLOBAL_TYPE_VERSION_TAG (_Py_TYPE_BASE_VERSION_TAG - 1)
  |  |  ------------------
  |  |  |  |   34|    412|#define _Py_TYPE_BASE_VERSION_TAG (2<<16)
  |  |  ------------------
  ------------------
  |  Branch (1338:13): [True: 0, False: 412]
  ------------------
 1339|      0|            return 0;
 1340|      0|        }
 1341|    412|    } while (!_Py_atomic_compare_exchange_uint(&_PyRuntime.types.next_version_tag, &old, old + 1));
  ------------------
  |  Branch (1341:14): [True: 0, False: 412]
  ------------------
 1342|    412|    return old + 1;
 1343|    412|}
typeobject.c:type_qualname:
 1473|     25|{
 1474|     25|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     25|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1475|     25|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|     25|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1475:9): [True: 2, False: 23]
  ------------------
 1476|      2|        PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 1477|      2|        return Py_NewRef(et->ht_qualname);
  ------------------
  |  |  647|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|      2|    }
 1479|     23|    else {
 1480|     23|        return PyUnicode_FromString(_PyType_Name(type));
 1481|     23|    }
 1482|     25|}
typeobject.c:type_module:
 1546|     25|{
 1547|     25|    PyObject *mod;
 1548|     25|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|     25|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1548:9): [True: 2, False: 23]
  ------------------
 1549|      2|        PyObject *dict = lookup_tp_dict(type);
 1550|      2|        if (PyDict_GetItemRef(dict, &_Py_ID(__module__), &mod) == 0) {
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1550:13): [True: 0, False: 2]
  ------------------
 1551|      0|            PyErr_Format(PyExc_AttributeError, "__module__");
 1552|      0|        }
 1553|      2|    }
 1554|     23|    else {
 1555|     23|        const char *s = strrchr(type->tp_name, '.');
 1556|     23|        if (s != NULL) {
  ------------------
  |  Branch (1556:13): [True: 17, False: 6]
  ------------------
 1557|     17|            mod = PyUnicode_FromStringAndSize(
 1558|     17|                type->tp_name, (Py_ssize_t)(s - type->tp_name));
 1559|     17|            if (mod != NULL) {
  ------------------
  |  Branch (1559:17): [True: 17, False: 0]
  ------------------
 1560|     17|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1561|     17|                _PyUnicode_InternMortal(interp, &mod);
 1562|     17|            }
 1563|     17|        }
 1564|      6|        else {
 1565|      6|            mod = &_Py_ID(builtins);
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1566|      6|        }
 1567|     23|    }
 1568|     25|    return mod;
 1569|     25|}
typeobject.c:is_subtype_with_mro:
 2935|  13.2M|{
 2936|  13.2M|    int res;
 2937|  13.2M|    if (a_mro != NULL) {
  ------------------
  |  Branch (2937:9): [True: 13.2M, False: 2.08k]
  ------------------
 2938|       |        /* Deal with multiple inheritance without recursion
 2939|       |           by walking the MRO tuple */
 2940|  13.2M|        Py_ssize_t i, n;
 2941|  13.2M|        assert(PyTuple_Check(a_mro));
  ------------------
  |  Branch (2941:9): [True: 13.2M, False: 0]
  ------------------
 2942|  13.2M|        n = PyTuple_GET_SIZE(a_mro);
  ------------------
  |  |   27|  13.2M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2943|  13.2M|        res = 0;
 2944|  44.4M|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2944:21): [True: 31.4M, False: 13.0M]
  ------------------
 2945|  62.8M|            if (PyTuple_GET_ITEM(a_mro, i) == (PyObject *)b) {
  ------------------
  |  |   29|  31.4M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  31.4M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2945:17): [True: 31.4M, False: 0]
  |  Branch (2945:17): [True: 236k, False: 31.2M]
  ------------------
 2946|   236k|                res = 1;
 2947|   236k|                break;
 2948|   236k|            }
 2949|  31.4M|        }
 2950|  13.2M|    }
 2951|  2.08k|    else {
 2952|       |        /* a is not completely initialized yet; follow tp_base */
 2953|  2.08k|        res = type_is_subtype_base_chain(a, b);
 2954|  2.08k|    }
 2955|  13.2M|    return res;
 2956|  13.2M|}
typeobject.c:type_is_subtype_base_chain:
 2923|  2.08k|{
 2924|  2.09k|    do {
 2925|  2.09k|        if (a == b)
  ------------------
  |  Branch (2925:13): [True: 6, False: 2.08k]
  ------------------
 2926|      6|            return 1;
 2927|  2.08k|        a = a->tp_base;
 2928|  2.08k|    } while (a != NULL);
  ------------------
  |  Branch (2928:14): [True: 8, False: 2.08k]
  ------------------
 2929|       |
 2930|  2.08k|    return (b == &PyBaseObject_Type);
 2931|  2.08k|}
typeobject.c:maybe_call_special_no_args:
 3200|      4|{
 3201|      4|    PyThreadState *tstate = _PyThreadState_GET();
 3202|      4|    _PyCStackRef cref;
 3203|      4|    _PyThreadState_PushCStackRef(tstate, &cref);
 3204|       |
 3205|      4|    PyObject *res = NULL;
 3206|      4|    int unbound = lookup_maybe_method(self, attr, &cref.ref);
 3207|      4|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3208|      4|    if (attr_is_none != NULL) {
  ------------------
  |  Branch (3208:9): [True: 4, False: 0]
  ------------------
 3209|      4|        *attr_is_none = (func == Py_None);
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3210|      4|    }
 3211|      4|    if (func != NULL && (func != Py_None || attr_is_none == NULL)) {
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3211:9): [True: 4, False: 0]
  |  Branch (3211:26): [True: 4, False: 0]
  |  Branch (3211:45): [True: 0, False: 0]
  ------------------
 3212|      4|        res = call_unbound_noarg(unbound, func, self);
 3213|      4|    }
 3214|      4|    _PyThreadState_PopCStackRef(tstate, &cref);
 3215|      4|    return res;
 3216|      4|}
typeobject.c:lookup_maybe_method:
 3069|     19|{
 3070|     19|    return lookup_method_ex(self, attr, out, 0);
 3071|     19|}
typeobject.c:lookup_method_ex:
 3035|  43.0k|{
 3036|  43.0k|    _PyType_LookupStackRefAndVersion(Py_TYPE(self), attr, out);
  ------------------
  |  |  213|  43.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  43.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3037|  43.0k|    if (PyStackRef_IsNull(*out)) {
  ------------------
  |  |  482|  43.0k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  43.0k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  43.0k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 43.0k]
  |  |  ------------------
  ------------------
 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|  43.0k|    PyObject *value = PyStackRef_AsPyObjectBorrow(*out);
 3045|  43.0k|    if (_PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  43.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  43.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  43.0k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (3045:9): [True: 43.0k, False: 0]
  ------------------
 3046|       |        /* Avoid temporary PyMethodObject */
 3047|  43.0k|        return 1;
 3048|  43.0k|    }
 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|     89|{
 3098|     89|    if (unbound) {
  ------------------
  |  Branch (3098:9): [True: 89, False: 0]
  ------------------
 3099|     89|        return PyObject_CallOneArg(func, self);
 3100|     89|    }
 3101|      0|    else {
 3102|      0|        return _PyObject_CallNoArgs(func);
 3103|      0|    }
 3104|     89|}
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|    609|{
 3084|    609|    size_t nargsf = nargs;
 3085|    609|    if (!unbound) {
  ------------------
  |  Branch (3085:9): [True: 0, False: 609]
  ------------------
 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|    609|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_SLOT, func);
  ------------------
  |  |   80|    609|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
 3092|       |    return _PyObject_VectorcallTstate(tstate, func, args, nargsf, NULL);
 3093|    609|}
typeobject.c:type_from_slots_or_spec:
 5253|    130|{
 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|    130|    PyHeapTypeObject *res = NULL;
 5259|    130|    PyTypeObject *type;
 5260|    130|    PyObject *bases = NULL;
 5261|    130|    char *tp_doc = NULL;
 5262|    130|    PyObject *ht_name = NULL;
 5263|    130|    char *_ht_tpname = NULL;
 5264|       |
 5265|    130|    int r;
 5266|       |
 5267|       |    /* First pass of slots */
 5268|       |
 5269|    130|    Py_ssize_t nmembers = 0;
 5270|    130|    const PyMemberDef *weaklistoffset_member = NULL;
 5271|    130|    const PyMemberDef *dictoffset_member = NULL;
 5272|    130|    const PyMemberDef *vectorcalloffset_member = NULL;
 5273|    130|    Py_ssize_t basicsize = 0;
 5274|    130|    Py_ssize_t extra_basicsize = 0;
 5275|    130|    Py_ssize_t itemsize = 0;
 5276|    130|    int flags = 0;
 5277|    130|    void *token = NULL;
 5278|       |
 5279|    130|    bool have_relative_members = false;
 5280|    130|    Py_ssize_t max_relative_offset = 0;
 5281|       |
 5282|    130|    PyObject *bases_slot = NULL; /* borrowed from the slots */
 5283|       |
 5284|    130|    _PySlotIterator it;
 5285|       |
 5286|    130|    if (spec) {
  ------------------
  |  Branch (5286:9): [True: 130, False: 0]
  ------------------
 5287|    130|        assert(!slots);
  ------------------
  |  Branch (5287:9): [True: 130, False: 0]
  ------------------
 5288|    130|        if (spec->basicsize > 0) {
  ------------------
  |  Branch (5288:13): [True: 124, False: 6]
  ------------------
 5289|    124|            basicsize = spec->basicsize;
 5290|    124|        }
 5291|    130|        if (spec->basicsize < 0) {
  ------------------
  |  Branch (5291:13): [True: 0, False: 130]
  ------------------
 5292|      0|            extra_basicsize = -spec->basicsize;
 5293|      0|        }
 5294|    130|        itemsize = spec->itemsize;
 5295|    130|        flags = spec->flags;
 5296|    130|        _PySlotIterator_InitLegacy(&it, spec->slots, _PySlot_KIND_TYPE);
 5297|    130|        it.name = spec->name;
 5298|    130|    }
 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|    130|    #define NO_SPEC                                         \
 5308|    130|        if (spec) {                                         \
 5309|    130|            PyErr_Format(                                   \
 5310|    130|                PyExc_SystemError,                          \
 5311|    130|                "%s must not be used with PyType_Spec",     \
 5312|    130|                _PySlot_GetName(it.current.sl_id));         \
 5313|    130|            goto finally;                                   \
 5314|    130|        }                                                   \
 5315|       |        /////////////////////////////////////////////////////
 5316|       |
 5317|  1.14k|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (5317:12): [True: 1.01k, False: 130]
  ------------------
 5318|  1.01k|        switch (it.current.sl_id) {
  ------------------
  |  Branch (5318:17): [True: 173, False: 837]
  ------------------
 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|     74|        case Py_tp_members:
  ------------------
  |  |   80|     74|#define Py_tp_members 72
  ------------------
  |  Branch (5375:9): [True: 74, False: 936]
  ------------------
 5376|     74|            for (const PyMemberDef *memb = it.current.sl_ptr;
 5377|    349|                 memb->name != NULL;
  ------------------
  |  Branch (5377:18): [True: 275, False: 74]
  ------------------
 5378|    275|                 memb++)
 5379|    275|            {
 5380|    275|                nmembers++;
 5381|    275|                if (memb->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    275|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5381:21): [True: 0, False: 275]
  ------------------
 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|    275|                if (strcmp(memb->name, "__weaklistoffset__") == 0) {
  ------------------
  |  Branch (5392:21): [True: 27, False: 248]
  ------------------
 5393|     27|                    weaklistoffset_member = memb;
 5394|     27|                }
 5395|    248|                else if (strcmp(memb->name, "__dictoffset__") == 0) {
  ------------------
  |  Branch (5395:26): [True: 20, False: 228]
  ------------------
 5396|     20|                    dictoffset_member = memb;
 5397|     20|                }
 5398|    228|                else if (strcmp(memb->name, "__vectorcalloffset__") == 0) {
  ------------------
  |  Branch (5398:26): [True: 4, False: 224]
  ------------------
 5399|      4|                    vectorcalloffset_member = memb;
 5400|      4|                }
 5401|    275|            }
 5402|     74|            break;
 5403|     74|        case Py_tp_token:
  ------------------
  |  |   91|      1|#define Py_tp_token 83
  ------------------
  |  Branch (5403:9): [True: 1, False: 1.00k]
  ------------------
 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|     98|        case Py_tp_doc:
  ------------------
  |  |   64|     98|#define Py_tp_doc 56
  ------------------
  |  Branch (5416:9): [True: 98, False: 912]
  ------------------
 5417|       |            /* For the docstring slot, which usually points to a static string
 5418|       |               literal, we need to make a copy */
 5419|     98|            if (it.current.sl_ptr == NULL) {
  ------------------
  |  Branch (5419:17): [True: 0, False: 98]
  ------------------
 5420|      0|                PyMem_Free(tp_doc);
 5421|      0|                tp_doc = NULL;
 5422|      0|            }
 5423|     98|            else {
 5424|     98|                size_t len = strlen(it.current.sl_ptr)+1;
 5425|     98|                tp_doc = PyMem_Malloc(len);
 5426|     98|                if (tp_doc == NULL) {
  ------------------
  |  Branch (5426:21): [True: 0, False: 98]
  ------------------
 5427|      0|                    PyErr_NoMemory();
 5428|      0|                    goto finally;
 5429|      0|                }
 5430|     98|                memcpy(tp_doc, it.current.sl_ptr, len);
 5431|     98|            }
 5432|     98|            break;
 5433|  1.01k|        }
 5434|  1.01k|    }
 5435|    130|    #undef NO_SPEC
 5436|       |
 5437|       |    /* Required slots & bad combinations */
 5438|       |
 5439|    130|    if (it.name == NULL) {
  ------------------
  |  Branch (5439:9): [True: 0, False: 130]
  ------------------
 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|    130|    if (_PySlotIterator_SawSlot(&it, Py_tp_basicsize)
  ------------------
  |  |  104|    130|#define Py_tp_basicsize 96
  ------------------
  |  Branch (5451:9): [True: 0, False: 130]
  ------------------
 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|    130|    if (have_relative_members) {
  ------------------
  |  Branch (5462:9): [True: 0, False: 130]
  ------------------
 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|    130|    assert(it.name);
  ------------------
  |  Branch (5479:5): [True: 130, False: 0]
  ------------------
 5480|    130|    const char *s = strrchr(it.name, '.');
 5481|    130|    if (s == NULL) {
  ------------------
  |  Branch (5481:9): [True: 0, False: 130]
  ------------------
 5482|      0|        s = it.name;
 5483|      0|    }
 5484|    130|    else {
 5485|    130|        s++;
 5486|    130|    }
 5487|       |
 5488|    130|    ht_name = PyUnicode_FromString(s);
 5489|    130|    if (!ht_name) {
  ------------------
  |  Branch (5489:9): [True: 0, False: 130]
  ------------------
 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|    130|    Py_ssize_t name_buf_len = strlen(it.name) + 1;
 5503|    130|    _ht_tpname = PyMem_Malloc(name_buf_len);
 5504|    130|    if (_ht_tpname == NULL) {
  ------------------
  |  Branch (5504:9): [True: 0, False: 130]
  ------------------
 5505|      0|        PyErr_NoMemory();
 5506|      0|        goto finally;
 5507|      0|    }
 5508|    130|    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|    130|    if (!bases_in) {
  ------------------
  |  Branch (5515:9): [True: 88, False: 42]
  ------------------
 5516|     88|        bases_in = bases_slot;
 5517|     88|    }
 5518|    130|    if (bases_in) {
  ------------------
  |  Branch (5518:9): [True: 42, False: 88]
  ------------------
 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|     88|    else {
 5527|     88|        bases = PyTuple_Pack(1, &PyBaseObject_Type);
 5528|     88|    }
 5529|    130|    if (!bases) {
  ------------------
  |  Branch (5529:9): [True: 0, False: 130]
  ------------------
 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|    130|    if (flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    130|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (5537:9): [True: 108, False: 22]
  ------------------
 5538|    108|        if (check_immutable_bases(it.name, bases, 0) < 0) {
  ------------------
  |  Branch (5538:13): [True: 0, False: 108]
  ------------------
 5539|      0|            goto finally;
 5540|      0|        }
 5541|    108|    }
 5542|       |
 5543|       |    /* Calculate best base, and check that all bases are type objects */
 5544|    130|    PyTypeObject *base = find_best_base(bases);  // borrowed ref
 5545|    130|    if (base == NULL) {
  ------------------
  |  Branch (5545:9): [True: 0, False: 130]
  ------------------
 5546|      0|        goto finally;
 5547|      0|    }
 5548|       |
 5549|       |    /* Calculate the metaclass */
 5550|       |
 5551|    130|    if (!metaclass) {
  ------------------
  |  Branch (5551:9): [True: 130, False: 0]
  ------------------
 5552|    130|        metaclass = &PyType_Type;
 5553|    130|    }
 5554|    130|    metaclass = _PyType_CalculateMetaclass(metaclass, bases);
 5555|    130|    if (metaclass == NULL) {
  ------------------
  |  Branch (5555:9): [True: 0, False: 130]
  ------------------
 5556|      0|        goto finally;
 5557|      0|    }
 5558|    130|    if (!PyType_Check(metaclass)) {
  ------------------
  |  |  766|    130|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5558:9): [True: 0, False: 130]
  ------------------
 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|    130|    if (metaclass->tp_new && metaclass->tp_new != PyType_Type.tp_new) {
  ------------------
  |  Branch (5564:9): [True: 130, False: 0]
  |  Branch (5564:30): [True: 0, False: 130]
  ------------------
 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|    130|    assert(_PyType_HasFeature(base, Py_TPFLAGS_BASETYPE));
  ------------------
  |  Branch (5573:5): [True: 130, False: 0]
  ------------------
 5574|       |
 5575|       |    /* Calculate sizes */
 5576|       |
 5577|    130|    Py_ssize_t type_data_offset = basicsize;
 5578|    130|    if (extra_basicsize) {
  ------------------
  |  Branch (5578:9): [True: 0, False: 130]
  ------------------
 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|    130|    if (basicsize == 0) {
  ------------------
  |  Branch (5594:9): [True: 6, False: 124]
  ------------------
 5595|       |        /* Inherit */
 5596|      6|        basicsize = base->tp_basicsize;
 5597|      6|    }
 5598|       |
 5599|       |    /* Compute special offsets */
 5600|       |
 5601|    130|    Py_ssize_t weaklistoffset = 0;
 5602|    130|    if (special_offset_from_member(weaklistoffset_member, type_data_offset,
  ------------------
  |  Branch (5602:9): [True: 0, False: 130]
  ------------------
 5603|    130|                                  &weaklistoffset) < 0) {
 5604|      0|        goto finally;
 5605|      0|    }
 5606|    130|    Py_ssize_t dictoffset = 0;
 5607|    130|    if (special_offset_from_member(dictoffset_member, type_data_offset,
  ------------------
  |  Branch (5607:9): [True: 0, False: 130]
  ------------------
 5608|    130|                                  &dictoffset) < 0) {
 5609|      0|        goto finally;
 5610|      0|    }
 5611|    130|    Py_ssize_t vectorcalloffset = 0;
 5612|    130|    if (special_offset_from_member(vectorcalloffset_member, type_data_offset,
  ------------------
  |  Branch (5612:9): [True: 0, False: 130]
  ------------------
 5613|    130|                                  &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|    130|    res = (PyHeapTypeObject*)metaclass->tp_alloc(metaclass, nmembers);
 5626|    130|    if (res == NULL) {
  ------------------
  |  Branch (5626:9): [True: 0, False: 130]
  ------------------
 5627|      0|        goto finally;
 5628|      0|    }
 5629|       |
 5630|    130|    type = &res->ht_type;
 5631|       |    /* The flags must be initialized early, before the GC traverses us */
 5632|    130|    type_set_flags(type, flags | Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  503|    130|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 5633|       |
 5634|    130|    res->ht_module = Py_XNewRef(module);
  ------------------
  |  |  648|    130|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5635|       |
 5636|       |    /* Initialize essential fields */
 5637|       |
 5638|    130|    type->tp_as_async = &res->as_async;
 5639|    130|    type->tp_as_number = &res->as_number;
 5640|    130|    type->tp_as_sequence = &res->as_sequence;
 5641|    130|    type->tp_as_mapping = &res->as_mapping;
 5642|    130|    type->tp_as_buffer = &res->as_buffer;
 5643|       |
 5644|       |    /* Set slots we have prepared */
 5645|       |
 5646|    130|    type->tp_base = (PyTypeObject *)Py_NewRef(base);
  ------------------
  |  |  647|    130|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5647|    130|    set_tp_bases(type, bases);
 5648|    130|    bases = NULL;  // We give our reference to bases to the type
 5649|       |
 5650|    130|    type->tp_doc = tp_doc;
 5651|    130|    tp_doc = NULL;  // Give ownership of the allocated memory to the type
 5652|       |
 5653|    130|    res->ht_qualname = Py_NewRef(ht_name);
  ------------------
  |  |  647|    130|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5654|    130|    res->ht_name = ht_name;
 5655|    130|    ht_name = NULL;  // Give our reference to the type
 5656|       |
 5657|    130|    type->tp_name = _ht_tpname;
 5658|    130|    res->_ht_tpname = _ht_tpname;
 5659|    130|    _ht_tpname = NULL;  // Give ownership to the type
 5660|       |
 5661|    130|    res->ht_token = token;
 5662|       |
 5663|       |    /* Copy the sizes */
 5664|       |
 5665|    130|    type->tp_basicsize = basicsize;
 5666|    130|    type->tp_itemsize = itemsize;
 5667|       |
 5668|       |    /* Second pass of slots: copy most of them into the type */
 5669|       |
 5670|    130|    _PySlotIterator_Rewind(&it, spec ? (void*)spec->slots : (void*)slots);
  ------------------
  |  Branch (5670:33): [True: 130, False: 0]
  ------------------
 5671|  1.14k|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (5671:12): [True: 1.01k, False: 130]
  ------------------
 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|     98|        case Py_tp_doc:
  ------------------
  |  |   64|     98|#define Py_tp_doc 56
  ------------------
  |  Branch (5677:9): [True: 98, False: 912]
  ------------------
 5678|       |            /* Processed above */
 5679|     98|            break;
 5680|     74|        case Py_tp_members:
  ------------------
  |  |   80|     74|#define Py_tp_members 72
  ------------------
  |  Branch (5680:9): [True: 74, False: 936]
  ------------------
 5681|     74|            {
 5682|       |                /* Move the slots to the heap type itself */
 5683|     74|                size_t len = Py_TYPE(type)->tp_itemsize * nmembers;
  ------------------
  |  |  213|     74|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5684|     74|                memcpy(_PyHeapType_GET_MEMBERS(res), it.current.sl_ptr, len);
 5685|     74|                type->tp_members = _PyHeapType_GET_MEMBERS(res);
 5686|     74|                PyMemberDef *memb;
 5687|     74|                Py_ssize_t i;
 5688|     74|                for (memb = _PyHeapType_GET_MEMBERS(res), i = nmembers;
 5689|    349|                     i > 0; ++memb, --i)
  ------------------
  |  Branch (5689:22): [True: 275, False: 74]
  ------------------
 5690|    275|                {
 5691|    275|                    if (memb->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    275|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5691:25): [True: 0, False: 275]
  ------------------
 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|    275|                }
 5696|     74|            }
 5697|     74|            break;
 5698|    838|        default:
  ------------------
  |  Branch (5698:9): [True: 838, False: 172]
  ------------------
 5699|    838|            _PySlot_heaptype_apply_field_slot(res, it.current);
 5700|    838|            break;
 5701|  1.01k|        }
 5702|  1.01k|    }
 5703|    130|    if (type->tp_dealloc == NULL) {
  ------------------
  |  Branch (5703:9): [True: 6, False: 124]
  ------------------
 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|    130|    type->tp_vectorcall_offset = vectorcalloffset;
 5713|    130|    type->tp_weaklistoffset = weaklistoffset;
 5714|    130|    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|    130|    if (type_ready_publish(type, 0) < 0) {
  ------------------
  |  Branch (5726:9): [True: 0, False: 130]
  ------------------
 5727|      0|        goto finally;
 5728|      0|    }
 5729|       |
 5730|    130|    if (!check_basicsize_includes_size_and_offsets(type)) {
  ------------------
  |  Branch (5730:9): [True: 0, False: 130]
  ------------------
 5731|      0|        goto finally;
 5732|      0|    }
 5733|       |
 5734|    130|    PyObject *dict = lookup_tp_dict(type);
 5735|    130|    if (type->tp_doc) {
  ------------------
  |  Branch (5735:9): [True: 98, False: 32]
  ------------------
 5736|     98|        PyObject *__doc__ = PyUnicode_FromString(_PyType_DocWithoutSignature(type->tp_name, type->tp_doc));
 5737|     98|        if (!__doc__) {
  ------------------
  |  Branch (5737:13): [True: 0, False: 98]
  ------------------
 5738|      0|            goto finally;
 5739|      0|        }
 5740|     98|        r = PyDict_SetItem(dict, &_Py_ID(__doc__), __doc__);
  ------------------
  |  |  951|     98|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     98|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     98|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5741|     98|        Py_DECREF(__doc__);
  ------------------
  |  |  430|     98|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5742|     98|        if (r < 0) {
  ------------------
  |  Branch (5742:13): [True: 0, False: 98]
  ------------------
 5743|      0|            goto finally;
 5744|      0|        }
 5745|     98|    }
 5746|       |
 5747|    130|    if (weaklistoffset) {
  ------------------
  |  Branch (5747:9): [True: 27, False: 103]
  ------------------
 5748|     27|        if (PyDict_DelItem(dict, &_Py_ID(__weaklistoffset__)) < 0) {
  ------------------
  |  |  951|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5748:13): [True: 0, False: 27]
  ------------------
 5749|      0|            goto finally;
 5750|      0|        }
 5751|     27|    }
 5752|    130|    if (dictoffset) {
  ------------------
  |  Branch (5752:9): [True: 20, False: 110]
  ------------------
 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|    130|    r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  951|    130|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    130|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    130|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5760|    130|    if (r < 0) {
  ------------------
  |  Branch (5760:9): [True: 0, False: 130]
  ------------------
 5761|      0|        goto finally;
 5762|      0|    }
 5763|    130|    if (r == 0) {
  ------------------
  |  Branch (5763:9): [True: 130, False: 0]
  ------------------
 5764|    130|        s = strrchr(it.name, '.');
 5765|    130|        if (s != NULL) {
  ------------------
  |  Branch (5765:13): [True: 130, False: 0]
  ------------------
 5766|    130|            PyObject *modname = PyUnicode_FromStringAndSize(
 5767|    130|                    it.name, (Py_ssize_t)(s - it.name));
 5768|    130|            if (modname == NULL) {
  ------------------
  |  Branch (5768:17): [True: 0, False: 130]
  ------------------
 5769|      0|                goto finally;
 5770|      0|            }
 5771|    130|            r = PyDict_SetItem(dict, &_Py_ID(__module__), modname);
  ------------------
  |  |  951|    130|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    130|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    130|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5772|    130|            Py_DECREF(modname);
  ------------------
  |  |  430|    130|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5773|    130|            if (r != 0) {
  ------------------
  |  Branch (5773:17): [True: 0, False: 130]
  ------------------
 5774|      0|                goto finally;
 5775|      0|            }
 5776|    130|        }
 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|    130|    }
 5784|       |
 5785|    130|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (5785:5): [True: 130, False: 0]
  ------------------
 5786|       |
 5787|    130|finally:
 5788|    130|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (5788:9): [True: 0, False: 130]
  ------------------
 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|    130|    Py_XDECREF(bases);
  ------------------
  |  |  621|    130|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5792|    130|    PyMem_Free(tp_doc);
 5793|    130|    Py_XDECREF(ht_name);
  ------------------
  |  |  621|    130|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5794|    130|    PyMem_Free(_ht_tpname);
 5795|    130|    return (PyObject*)res;
 5796|    130|}
typeobject.c:find_best_base:
 3787|    863|{
 3788|    863|    Py_ssize_t i, n;
 3789|    863|    PyTypeObject *base, *winner;
 3790|       |
 3791|    863|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (3791:5): [True: 863, False: 0]
  ------------------
 3792|    863|    n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    863|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    863|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    863|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3793|    863|    assert(n > 0);
  ------------------
  |  Branch (3793:5): [True: 863, False: 0]
  ------------------
 3794|    863|    base = NULL;
 3795|    863|    winner = NULL;
 3796|  1.92k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3796:17): [True: 1.06k, False: 863]
  ------------------
 3797|  1.06k|        PyObject *base_proto = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  1.06k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.06k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3797:32): [True: 1.06k, False: 0]
  ------------------
 3798|  1.06k|        if (!PyType_Check(base_proto)) {
  ------------------
  |  |  766|  1.06k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3798:13): [True: 0, False: 1.06k]
  ------------------
 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.06k|        PyTypeObject *base_i = (PyTypeObject *)base_proto;
 3805|       |
 3806|  1.06k|        if (!_PyType_IsReady(base_i)) {
  ------------------
  |  Branch (3806:13): [True: 0, False: 1.06k]
  ------------------
 3807|      0|            if (PyType_Ready(base_i) < 0)
  ------------------
  |  Branch (3807:17): [True: 0, False: 0]
  ------------------
 3808|      0|                return NULL;
 3809|      0|        }
 3810|  1.06k|        if (!_PyType_HasFeature(base_i, Py_TPFLAGS_BASETYPE)) {
  ------------------
  |  |  506|  1.06k|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
  |  Branch (3810:13): [True: 0, False: 1.06k]
  ------------------
 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.06k|        if (update_best_base(base_i, &base, &winner) < 0) {
  ------------------
  |  Branch (3816:13): [True: 0, False: 1.06k]
  ------------------
 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.06k|    }
 3824|    863|    assert (base != NULL);
  ------------------
  |  Branch (3824:5): [True: 863, False: 0]
  ------------------
 3825|       |
 3826|    863|    return base;
 3827|    863|}
typeobject.c:update_best_base:
 3764|  1.06k|{
 3765|  1.06k|    PyTypeObject *candidate = solid_base(base_i);
 3766|  1.06k|    if (*winner == NULL) {
  ------------------
  |  Branch (3766:9): [True: 863, False: 199]
  ------------------
 3767|    863|        *winner = candidate;
 3768|    863|        *base = base_i;
 3769|    863|    }
 3770|    199|    else if (PyType_IsSubtype(*winner, candidate))
  ------------------
  |  Branch (3770:14): [True: 175, False: 24]
  ------------------
 3771|    175|        ;
 3772|     24|    else if (PyType_IsSubtype(candidate, *winner)) {
  ------------------
  |  Branch (3772:14): [True: 24, False: 0]
  ------------------
 3773|     24|        *winner = candidate;
 3774|     24|        *base = base_i;
 3775|     24|    }
 3776|      0|    else {
 3777|      0|        return -1;
 3778|      0|    }
 3779|  1.06k|    return 0;
 3780|  1.06k|}
typeobject.c:solid_base:
 3840|  3.97k|{
 3841|  3.97k|    PyTypeObject *base;
 3842|       |
 3843|  3.97k|    if (type->tp_base) {
  ------------------
  |  Branch (3843:9): [True: 2.43k, False: 1.54k]
  ------------------
 3844|  2.43k|        base = solid_base(type->tp_base);
 3845|  2.43k|    }
 3846|  1.54k|    else {
 3847|  1.54k|        base = &PyBaseObject_Type;
 3848|  1.54k|    }
 3849|  3.97k|    if (shape_differs(type, base)) {
  ------------------
  |  Branch (3849:9): [True: 264, False: 3.71k]
  ------------------
 3850|    264|        return type;
 3851|    264|    }
 3852|  3.71k|    else {
 3853|  3.71k|        return base;
 3854|  3.71k|    }
 3855|  3.97k|}
typeobject.c:shape_differs:
 3831|  3.97k|{
 3832|  3.97k|    return (
 3833|  3.97k|        t1->tp_basicsize != t2->tp_basicsize ||
  ------------------
  |  Branch (3833:9): [True: 264, False: 3.71k]
  ------------------
 3834|  3.71k|        t1->tp_itemsize != t2->tp_itemsize
  ------------------
  |  Branch (3834:9): [True: 0, False: 3.71k]
  ------------------
 3835|  3.97k|    );
 3836|  3.97k|}
typeobject.c:special_offset_from_member:
 5221|    390|{
 5222|    390|    if (memb == NULL) {
  ------------------
  |  Branch (5222:9): [True: 339, False: 51]
  ------------------
 5223|    339|        *dest = 0;
 5224|    339|        return 0;
 5225|    339|    }
 5226|     51|    if (memb->type != Py_T_PYSSIZET) {
  ------------------
  |  |   79|     51|#define Py_T_PYSSIZET  19      /* Py_ssize_t */
  ------------------
  |  Branch (5226:9): [True: 0, False: 51]
  ------------------
 5227|      0|        PyErr_Format(
 5228|      0|            PyExc_SystemError,
 5229|      0|            "type of %s must be Py_T_PYSSIZET",
 5230|      0|            memb->name);
 5231|      0|        return -1;
 5232|      0|    }
 5233|     51|    if (memb->flags == Py_READONLY) {
  ------------------
  |  |   83|     51|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (5233:9): [True: 51, False: 0]
  ------------------
 5234|     51|        *dest = memb->offset;
 5235|     51|        return 0;
 5236|     51|    }
 5237|      0|    else if (memb->flags == (Py_READONLY | Py_RELATIVE_OFFSET)) {
  ------------------
  |  |   83|      0|#define Py_READONLY            (1 << 0)
  ------------------
                  else if (memb->flags == (Py_READONLY | Py_RELATIVE_OFFSET)) {
  ------------------
  |  |   86|      0|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5237:14): [True: 0, False: 0]
  ------------------
 5238|      0|        *dest = memb->offset + type_data_offset;
 5239|      0|        return 0;
 5240|      0|    }
 5241|      0|    PyErr_Format(
 5242|      0|        PyExc_SystemError,
 5243|      0|        "flags for %s must be Py_READONLY or (Py_READONLY | Py_RELATIVE_OFFSET)",
 5244|      0|        memb->name);
 5245|      0|    return -1;
 5246|     51|}
typeobject.c:type_set_flags:
  397|  12.2k|{
  398|  12.2k|    ASSERT_WORLD_STOPPED_OR_NEW_TYPE(tp);
  399|  12.2k|    tp->tp_flags = flags;
  400|  12.2k|}
typeobject.c:set_tp_bases:
  541|  1.37k|{
  542|  1.37k|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (542:5): [True: 1.37k, False: 0]
  ------------------
  543|  1.37k|    ASSERT_NEW_TYPE_OR_LOCKED(self);
  544|  1.37k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.37k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (544:9): [True: 412, False: 959]
  ------------------
  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.37k|    self->tp_bases = bases;
  561|  1.37k|}
typeobject.c:_PyHeapType_GET_MEMBERS:
 2606|  1.56k|{
 2607|  1.56k|    return PyObject_GetItemData((PyObject *)type);
 2608|  1.56k|}
typeobject.c:subtype_dealloc:
 2746|   374k|{
 2747|   374k|    PyTypeObject *type, *base;
 2748|   374k|    destructor basedealloc;
 2749|   374k|    int has_finalizer;
 2750|       |
 2751|       |    /* Extract the type; we expect it to be a heap type */
 2752|   374k|    type = Py_TYPE(self);
  ------------------
  |  |  213|   374k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   374k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   374k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2753|   374k|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  360|   374k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|   374k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|   374k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 374k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|   374k|      ? (void)(0) \
  |  |  |  |  |  |  353|   374k|      : _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|   374k|    if (!_PyType_IS_GC(type)) {
  ------------------
  |  Branch (2757:9): [True: 0, False: 374k]
  ------------------
 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|   374k|    PyObject_GC_UnTrack(self);
 2812|       |
 2813|       |    /* Find the nearest base with a different tp_dealloc */
 2814|   374k|    base = type;
 2815|  1.07M|    while ((/*basedealloc =*/ base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2815:12): [True: 695k, False: 374k]
  ------------------
 2816|   695k|        base = base->tp_base;
 2817|   695k|        assert(base);
  ------------------
  |  Branch (2817:9): [True: 695k, False: 0]
  ------------------
 2818|   695k|    }
 2819|       |
 2820|   374k|    has_finalizer = type->tp_finalize || type->tp_del;
  ------------------
  |  Branch (2820:21): [True: 0, False: 374k]
  |  Branch (2820:42): [True: 0, False: 374k]
  ------------------
 2821|       |
 2822|   374k|    if (type->tp_finalize) {
  ------------------
  |  Branch (2822:9): [True: 0, False: 374k]
  ------------------
 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|   374k|    type = Py_TYPE(self);
  ------------------
  |  |  213|   374k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   374k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   374k|#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|   374k|    if (type->tp_weaklistoffset && !base->tp_weaklistoffset) {
  ------------------
  |  Branch (2843:9): [True: 374k, False: 420]
  |  Branch (2843:36): [True: 374k, False: 0]
  ------------------
 2844|   374k|        PyObject_ClearWeakRefs(self);
 2845|   374k|    }
 2846|       |
 2847|   374k|    if (type->tp_del) {
  ------------------
  |  Branch (2847:9): [True: 0, False: 374k]
  ------------------
 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|   374k|    if (has_finalizer) {
  ------------------
  |  Branch (2856:9): [True: 0, False: 374k]
  ------------------
 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|   374k|    base = type;
 2868|  1.07M|    while ((basedealloc = base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2868:12): [True: 695k, False: 374k]
  ------------------
 2869|   695k|        if (Py_SIZE(base))
  ------------------
  |  |  214|   695k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   695k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   695k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 413, False: 695k]
  |  |  ------------------
  ------------------
 2870|    413|            clear_slots(base, self);
 2871|   695k|        base = base->tp_base;
 2872|   695k|        assert(base);
  ------------------
  |  Branch (2872:9): [True: 695k, False: 0]
  ------------------
 2873|   695k|    }
 2874|       |
 2875|       |    /* If we added a dict, DECREF it, or free inline values. */
 2876|   374k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|   374k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2876:9): [True: 373k, False: 887]
  ------------------
 2877|   373k|        PyObject_ClearManagedDict(self);
 2878|   373k|    }
 2879|    887|    else if (type->tp_dictoffset && !base->tp_dictoffset) {
  ------------------
  |  Branch (2879:14): [True: 63, False: 824]
  |  Branch (2879:37): [True: 0, False: 63]
  ------------------
 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|   374k|    type = Py_TYPE(self);
  ------------------
  |  |  213|   374k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   374k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   374k|#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|   374k|    if (_PyType_IS_GC(base)) {
  ------------------
  |  Branch (2896:9): [True: 331k, False: 43.6k]
  ------------------
 2897|   331k|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  502|   331k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   331k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   331k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2898|   331k|    }
 2899|       |
 2900|       |    // Don't read type memory after calling basedealloc() since basedealloc()
 2901|       |    // can deallocate the type and free its memory.
 2902|   374k|    int type_needs_decref = (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|   749k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2902:30): [True: 374k, False: 0]
  ------------------
 2903|   374k|                             && !(base->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  503|   374k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2903:33): [True: 44.5k, False: 330k]
  ------------------
 2904|       |
 2905|   374k|    assert(basedealloc);
  ------------------
  |  Branch (2905:5): [True: 374k, False: 0]
  ------------------
 2906|   374k|    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|   374k|    if (type_needs_decref) {
  ------------------
  |  Branch (2912:9): [True: 44.5k, False: 330k]
  ------------------
 2913|  44.5k|        _Py_DECREF_TYPE(type);
  ------------------
  |  |  305|  44.5k|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  44.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  44.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  44.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2914|  44.5k|    }
 2915|   374k|}
typeobject.c:clear_slots:
 2687|    413|{
 2688|    413|    Py_ssize_t i, n;
 2689|    413|    PyMemberDef *mp;
 2690|       |
 2691|    413|    n = Py_SIZE(type);
  ------------------
  |  |  214|    413|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    413|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    413|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2692|    413|    mp = _PyHeapType_GET_MEMBERS((PyHeapTypeObject *)type);
 2693|    834|    for (i = 0; i < n; i++, mp++) {
  ------------------
  |  Branch (2693:17): [True: 421, False: 413]
  ------------------
 2694|    421|        if (mp->type == Py_T_OBJECT_EX && !(mp->flags & Py_READONLY)) {
  ------------------
  |  |   75|    842|#define Py_T_OBJECT_EX 16
  ------------------
                      if (mp->type == Py_T_OBJECT_EX && !(mp->flags & Py_READONLY)) {
  ------------------
  |  |   83|    421|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (2694:13): [True: 421, False: 0]
  |  Branch (2694:43): [True: 421, False: 0]
  ------------------
 2695|    421|            void *addr = _PyMember_GetOffset(self, mp);
 2696|    421|            PyObject *obj = *(PyObject **)addr;
 2697|    421|            if (obj != NULL) {
  ------------------
  |  Branch (2697:17): [True: 421, False: 0]
  ------------------
 2698|    421|                *(PyObject **)addr = NULL;
 2699|    421|                Py_DECREF(obj);
  ------------------
  |  |  430|    421|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    421|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    421|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2700|    421|            }
 2701|    421|        }
 2702|    421|    }
 2703|    413|}
typeobject.c:type_ready_publish:
 9618|    959|{
 9619|    959|    int res;
 9620|    959|    BEGIN_TYPE_LOCK();
 9621|    959|    res = type_ready(type, 1, 0);
 9622|    959|    if (res == 0) {
  ------------------
  |  Branch (9622:9): [True: 959, False: 0]
  ------------------
 9623|    959|        assert(!(type->tp_flags & Py_TPFLAGS_READY));
  ------------------
  |  Branch (9623:9): [True: 959, False: 0]
  ------------------
 9624|    959|        assert(!is_readying(type));
  ------------------
  |  Branch (9624:9): [True: 959, False: 0]
  ------------------
 9625|       |
 9626|    959|        if (fix_slots) {
  ------------------
  |  Branch (9626:13): [True: 829, False: 130]
  ------------------
 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|    829|            fixup_slot_dispatchers(type);
 9633|    829|        }
 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|    959|        type_add_flags(type, Py_TPFLAGS_READY);
  ------------------
  |  |  518|    959|#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|    959|        res = type_ready_add_subclasses(type);
 9648|    959|        if (res == 0) {
  ------------------
  |  Branch (9648:13): [True: 959, False: 0]
  ------------------
 9649|    959|            assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (9649:13): [True: 959, False: 0]
  ------------------
 9650|    959|        }
 9651|    959|    }
 9652|    959|    END_TYPE_LOCK();
 9653|    959|    return res;
 9654|    959|}
typeobject.c:fixup_slot_dispatchers:
12299|    829|{
12300|    829|    ASSERT_TYPE_LOCK_HELD();
12301|    829|    ASSERT_WORLD_STOPPED_OR_NEW_TYPE(type);
12302|    829|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (12302:5): [True: 829, False: 0]
  ------------------
12303|    829|    PyObject *descrs_buf[Py_ARRAY_LENGTH(slotdefs) - 1];
12304|    829|    PyObject **descrs = descrs_buf;
12305|    829|    if (collect_slot_descrs(type, descrs_buf) < 0) {
  ------------------
  |  Branch (12305:9): [True: 0, False: 829]
  ------------------
12306|      0|        descrs = NULL;
12307|      0|    }
12308|  56.3k|    for (pytype_slotdef *p = slotdefs; p->name; ) {
  ------------------
  |  Branch (12308:40): [True: 55.5k, False: 829]
  ------------------
12309|  55.5k|        update_one_slot(type, p, &p, descrs);
12310|  55.5k|    }
12311|    829|    if (descrs != NULL) {
  ------------------
  |  Branch (12311:9): [True: 829, False: 0]
  ------------------
12312|    829|        clear_slot_descrs(descrs);
12313|    829|    }
12314|    829|}
typeobject.c:collect_slot_descrs:
11958|    829|{
11959|    829|    ASSERT_NEW_TYPE_OR_LOCKED(type);
11960|    829|    PyObject *mro = lookup_tp_mro(type);
11961|    829|    assert(mro != NULL && PyTuple_CheckExact(mro));
  ------------------
  |  Branch (11961:5): [True: 829, False: 0]
  |  Branch (11961:5): [True: 829, False: 0]
  ------------------
11962|    829|    memset(descrs, 0, sizeof(PyObject *) * (Py_ARRAY_LENGTH(slotdefs) - 1));
  ------------------
  |  |  232|    829|    (sizeof(array) / sizeof((array)[0]))
  ------------------
11963|    829|    Py_ssize_t mro_size = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|    829|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    829|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    829|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11964|  3.98k|    for (Py_ssize_t m = 0; m < mro_size; m++) {
  ------------------
  |  Branch (11964:28): [True: 3.15k, False: 829]
  ------------------
11965|  3.15k|        PyObject *base = PyTuple_GET_ITEM(mro, m);
  ------------------
  |  |   29|  3.15k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.15k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11965:26): [True: 3.15k, False: 0]
  ------------------
11966|  3.15k|        assert(PyType_Check(base));
  ------------------
  |  Branch (11966:9): [True: 3.15k, False: 0]
  ------------------
11967|  3.15k|        PyObject *dict = lookup_tp_dict(_PyType_CAST(base));
  ------------------
  |  |  770|  3.15k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (11967:41): [True: 3.15k, False: 0]
  ------------------
11968|  3.15k|        assert(dict != NULL && PyDict_Check(dict));
  ------------------
  |  Branch (11968:9): [True: 3.15k, False: 0]
  |  Branch (11968:9): [True: 3.15k, 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|  3.15k|        int ok = 1;
11979|  3.15k|        if (!DK_IS_UNICODE(((PyDictObject *)dict)->ma_keys)
  ------------------
  |  |  303|  6.30k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (11979:13): [True: 0, False: 3.15k]
  ------------------
11980|  3.15k|            || PyDict_GET_SIZE(dict) > SLOT_SCAN_MAX_DICT_SIZE) {
  ------------------
  |  |   63|  3.15k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          || PyDict_GET_SIZE(dict) > SLOT_SCAN_MAX_DICT_SIZE) {
  ------------------
  |  |11941|  3.15k|#define SLOT_SCAN_MAX_DICT_SIZE 1000
  ------------------
  |  Branch (11980:16): [True: 0, False: 3.15k]
  ------------------
11981|      0|            ok = 0;
11982|      0|        }
11983|  3.15k|        else {
11984|  3.15k|            Py_ssize_t pos = 0;
11985|  3.15k|            PyObject *key, *value;
11986|  3.15k|            Py_hash_t hash;
11987|  45.3k|            while (_PyDict_Next(dict, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (11987:20): [True: 42.2k, False: 3.15k]
  ------------------
11988|  42.2k|                if (!is_dunder_name(key)) {
  ------------------
  |  Branch (11988:21): [True: 6.42k, False: 35.8k]
  ------------------
11989|  6.42k|                    continue;
11990|  6.42k|                }
11991|  35.8k|                Py_ssize_t idx = slotname_lookup(key, hash);
11992|  35.8k|                if (idx < 0) {
  ------------------
  |  Branch (11992:21): [True: 20.5k, False: 15.2k]
  ------------------
11993|  20.5k|                    continue;
11994|  20.5k|                }
11995|       |                /* First class in the MRO wins. */
11996|  15.2k|                const uint8_t *dups = slotdefs_dups[idx];
11997|  33.8k|                for (uint8_t k = 1; k <= dups[0]; k++) {
  ------------------
  |  Branch (11997:37): [True: 18.6k, False: 15.2k]
  ------------------
11998|  18.6k|                    if (descrs[dups[k]] == NULL) {
  ------------------
  |  Branch (11998:25): [True: 15.7k, False: 2.88k]
  ------------------
11999|  15.7k|                        descrs[dups[k]] = Py_NewRef(value);
  ------------------
  |  |  647|  15.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  15.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12000|  15.7k|                    }
12001|  18.6k|                }
12002|  15.2k|            }
12003|  3.15k|        }
12004|       |#ifdef Py_GIL_DISABLED
12005|       |        PyMutex_Unlock(mutex);
12006|       |#endif
12007|  3.15k|        if (!ok) {
  ------------------
  |  Branch (12007:13): [True: 0, False: 3.15k]
  ------------------
12008|      0|            goto fail;
12009|      0|        }
12010|  3.15k|    }
12011|    829|    return 0;
12012|       |
12013|      0|fail:
12014|      0|    clear_slot_descrs(descrs);
12015|      0|    return -1;
12016|    829|}
typeobject.c:is_dunder_name:
 6244|  42.5k|{
 6245|  42.5k|    Py_ssize_t length = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  300|  42.5k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6246|  42.5k|    int kind = PyUnicode_KIND(name);
  ------------------
  |  |  259|  42.5k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  85.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 42.5k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6247|       |    /* Special names contain at least "__x__" and are always ASCII. */
 6248|  42.5k|    if (length > 4 && kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (6248:9): [True: 42.0k, False: 574]
  |  Branch (6248:23): [True: 42.0k, False: 0]
  ------------------
 6249|  42.0k|        const Py_UCS1 *characters = PyUnicode_1BYTE_DATA(name);
  ------------------
  |  |  292|  42.0k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  42.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6250|  42.0k|        return (
 6251|  42.0k|            ((characters[length-2] == '_') && (characters[length-1] == '_')) &&
  ------------------
  |  Branch (6251:14): [True: 35.8k, False: 6.18k]
  |  Branch (6251:47): [True: 35.8k, False: 0]
  ------------------
 6252|  35.8k|            ((characters[0] == '_') && (characters[1] == '_'))
  ------------------
  |  Branch (6252:14): [True: 35.8k, False: 0]
  |  Branch (6252:40): [True: 35.8k, False: 0]
  ------------------
 6253|  42.0k|        );
 6254|  42.0k|    }
 6255|    574|    return 0;
 6256|  42.5k|}
typeobject.c:update_one_slot:
12084|  55.5k|{
12085|  55.5k|    ASSERT_NEW_TYPE_OR_LOCKED(type);
12086|       |
12087|  55.5k|    PyObject *descr;
12088|  55.5k|    PyWrapperDescrObject *d;
12089|       |
12090|       |    // The correct specialized C function, like "tp_repr of str" in the
12091|       |    // example above
12092|  55.5k|    void *specific = NULL;
12093|       |
12094|       |    // A generic wrapper that uses method lookup (safe but slow)
12095|  55.5k|    void *generic = NULL;
12096|       |
12097|       |    // Set to 1 if the generic wrapper is necessary
12098|  55.5k|    int use_generic = 0;
12099|       |
12100|  55.5k|    int offset = p->offset;
12101|  55.5k|    void **ptr = slotptr(type, offset);
12102|       |
12103|  55.5k|    if (ptr == NULL) {
  ------------------
  |  Branch (12103:9): [True: 0, False: 55.5k]
  ------------------
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|  55.5k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (12113:5): [True: 55.5k, False: 0]
  ------------------
12114|  77.9k|    do {
12115|  77.9k|        _PyStackRef descr_ref;
12116|  77.9k|        int res;
12117|  77.9k|        if (descrs != NULL) {
  ------------------
  |  Branch (12117:13): [True: 77.9k, False: 30]
  ------------------
12118|       |            /* Precomputed by collect_slot_descrs(), which owns the refs. */
12119|  77.9k|            PyObject *found = descrs[p - slotdefs];
12120|  77.9k|            res = (found != NULL);
12121|  77.9k|            descr_ref = res ? PyStackRef_FromPyObjectBorrow(found) : PyStackRef_NULL;
  ------------------
  |  Branch (12121:25): [True: 15.7k, False: 62.2k]
  ------------------
12122|  77.9k|        }
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|  77.9k|        if (res <= 0) {
  ------------------
  |  Branch (12131:13): [True: 62.2k, False: 15.7k]
  ------------------
12132|  62.2k|            if (ptr == (void**)&type->tp_iternext) {
  ------------------
  |  Branch (12132:17): [True: 716, False: 61.4k]
  ------------------
12133|    716|                specific = (void *)_PyObject_NextNotImplemented;
12134|    716|            }
12135|  62.2k|            continue;
12136|  62.2k|        }
12137|  15.7k|        descr = PyStackRef_AsPyObjectBorrow(descr_ref);
12138|  15.7k|        if (Py_IS_TYPE(descr, &PyWrapperDescr_Type) &&
  ------------------
  |  |  215|  31.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  15.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 12.9k, False: 2.78k]
  |  |  ------------------
  ------------------
12139|  12.9k|            ((PyWrapperDescrObject *)descr)->d_base->name_strobj == p->name_strobj) {
  ------------------
  |  Branch (12139:13): [True: 12.9k, False: 2]
  ------------------
12140|  12.9k|            void **tptr;
12141|  12.9k|            size_t index = (p - slotdefs);
12142|  12.9k|            if (slotdefs_dups[index][0] > 1) {
  ------------------
  |  Branch (12142:17): [True: 5.12k, False: 7.84k]
  ------------------
12143|  5.12k|                tptr = NULL;
12144|  15.3k|                for (size_t i = 1; i <= slotdefs_dups[index][0]; i++) {
  ------------------
  |  Branch (12144:36): [True: 10.2k, False: 5.07k]
  ------------------
12145|  10.2k|                    pytype_slotdef *q = &slotdefs[slotdefs_dups[index][i]];
12146|  10.2k|                    void **qptr = slotptr(type, q->offset);
12147|  10.2k|                    if (qptr == NULL || *qptr == NULL)
  ------------------
  |  Branch (12147:25): [True: 0, False: 10.2k]
  |  Branch (12147:41): [True: 5.07k, False: 5.17k]
  ------------------
12148|  5.07k|                        continue;
12149|  5.17k|                    if (tptr != NULL) {
  ------------------
  |  Branch (12149:25): [True: 50, False: 5.12k]
  ------------------
12150|     50|                        tptr = NULL;
12151|     50|                        break;
12152|     50|                    }
12153|  5.12k|                    tptr = qptr;
12154|  5.12k|                }
12155|  5.12k|            }
12156|  7.84k|            else {
12157|  7.84k|                tptr = slotptr(type, offset);
12158|  7.84k|            }
12159|       |
12160|  12.9k|            if (tptr == NULL || tptr == ptr)
  ------------------
  |  Branch (12160:17): [True: 50, False: 12.9k]
  |  Branch (12160:33): [True: 10.3k, False: 2.54k]
  ------------------
12161|  10.4k|                generic = p->function;
12162|  12.9k|            d = (PyWrapperDescrObject *)descr;
12163|  12.9k|            if ((specific == NULL || specific == d->d_wrapped) &&
  ------------------
  |  Branch (12163:18): [True: 8.01k, False: 4.95k]
  |  Branch (12163:38): [True: 4.95k, False: 1]
  ------------------
12164|  12.9k|                d->d_base->wrapper == p->wrapper &&
  ------------------
  |  Branch (12164:17): [True: 10.4k, False: 2.54k]
  ------------------
12165|  10.4k|                is_subtype_with_mro(lookup_tp_mro(type), type, PyDescr_TYPE(d)))
  ------------------
  |  |   35|  10.4k|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  |  Branch (12165:17): [True: 10.4k, False: 0]
  ------------------
12166|  10.4k|            {
12167|  10.4k|                specific = d->d_wrapped;
12168|  10.4k|            }
12169|  2.54k|            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.54k|                use_generic = 1;
12178|  2.54k|            }
12179|  12.9k|        }
12180|  2.78k|        else if (Py_IS_TYPE(descr, &PyCFunction_Type) &&
  ------------------
  |  |  215|  5.56k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 802, False: 1.98k]
  |  |  ------------------
  ------------------
12181|    802|                 PyCFunction_GET_FUNCTION(descr) ==
  ------------------
  |  |   43|    802|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    802|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    802|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12181:18): [True: 802, False: 0]
  ------------------
12182|  2.78k|                 _PyCFunction_CAST(tp_new_wrapper) &&
  ------------------
  |  |   53|  2.78k|    _Py_FUNC_CAST(PyCFunction, func)
  |  |  ------------------
  |  |  |  |   47|    802|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12183|    802|                 ptr == (void**)&type->tp_new)
  ------------------
  |  Branch (12183:18): [True: 802, False: 0]
  ------------------
12184|    802|        {
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|    802|            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|    802|        }
12202|  1.98k|        else if (descr == Py_None &&
  ------------------
  |  |  616|  3.96k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12202:18): [True: 32, False: 1.95k]
  ------------------
12203|     32|                 ptr == (void**)&type->tp_hash) {
  ------------------
  |  Branch (12203:18): [True: 32, 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|     32|            specific = (void *)PyObject_HashNotImplemented;
12208|     32|        }
12209|  1.95k|        else {
12210|  1.95k|            use_generic = 1;
12211|  1.95k|            if (generic == NULL && Py_IS_TYPE(descr, &PyMethodDescr_Type) &&
  ------------------
  |  |  215|  3.48k|#  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: 13, False: 1.51k]
  |  |  ------------------
  ------------------
  |  Branch (12211:17): [True: 1.53k, False: 418]
  ------------------
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|  1.94k|            else {
12217|  1.94k|                generic = p->function;
12218|  1.94k|            }
12219|  1.95k|            if (p->function == slot_tp_call) {
  ------------------
  |  Branch (12219:17): [True: 16, False: 1.93k]
  ------------------
12220|       |                /* A generic __call__ is incompatible with vectorcall */
12221|     16|                type_clear_flags(type, Py_TPFLAGS_HAVE_VECTORCALL);
  ------------------
  |  |  510|     16|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
12222|     16|            }
12223|  1.95k|        }
12224|  15.7k|        PyStackRef_CLOSE(descr_ref);
12225|  77.9k|    } while ((++p)->offset == offset);
  ------------------
  |  Branch (12225:14): [True: 22.3k, False: 55.5k]
  ------------------
12226|       |
12227|  55.5k|    void *slot_value;
12228|  55.5k|    if (specific && !use_generic) {
  ------------------
  |  Branch (12228:9): [True: 7.01k, False: 48.5k]
  |  Branch (12228:21): [True: 6.76k, False: 249]
  ------------------
12229|  6.76k|        slot_value = specific;
12230|  48.8k|    } else {
12231|  48.8k|        slot_value = generic;
12232|  48.8k|    }
12233|       |
12234|  55.5k|    ASSERT_WORLD_STOPPED_OR_NEW_TYPE(type);
12235|  55.5k|    *ptr = slot_value;
12236|       |
12237|  55.5k|    if (next_p != NULL) {
  ------------------
  |  Branch (12237:9): [True: 55.5k, False: 24]
  ------------------
12238|  55.5k|        *next_p = p;
12239|  55.5k|    }
12240|  55.5k|}
typeobject.c:slotptr:
11898|   196k|{
11899|   196k|    char *ptr;
11900|   196k|    long offset = ioffset;
11901|       |
11902|       |    /* Note: this depends on the order of the members of PyHeapTypeObject! */
11903|   196k|    assert(offset >= 0);
  ------------------
  |  Branch (11903:5): [True: 196k, False: 0]
  ------------------
11904|   196k|    assert((size_t)offset < offsetof(PyHeapTypeObject, ht_name));
  ------------------
  |  Branch (11904:5): [True: 196k, False: 0]
  ------------------
11905|   196k|    if ((size_t)offset >= offsetof(PyHeapTypeObject, as_buffer)) {
  ------------------
  |  Branch (11905:9): [True: 4.41k, False: 192k]
  ------------------
11906|  4.41k|        ptr = (char *)type->tp_as_buffer;
11907|  4.41k|        offset -= offsetof(PyHeapTypeObject, as_buffer);
11908|  4.41k|    }
11909|   192k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_sequence)) {
  ------------------
  |  Branch (11909:14): [True: 20.6k, False: 171k]
  ------------------
11910|  20.6k|        ptr = (char *)type->tp_as_sequence;
11911|  20.6k|        offset -= offsetof(PyHeapTypeObject, as_sequence);
11912|  20.6k|    }
11913|   171k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_mapping)) {
  ------------------
  |  Branch (11913:14): [True: 8.13k, False: 163k]
  ------------------
11914|  8.13k|        ptr = (char *)type->tp_as_mapping;
11915|  8.13k|        offset -= offsetof(PyHeapTypeObject, as_mapping);
11916|  8.13k|    }
11917|   163k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_number)) {
  ------------------
  |  Branch (11917:14): [True: 97.0k, False: 66.3k]
  ------------------
11918|  97.0k|        ptr = (char *)type->tp_as_number;
11919|  97.0k|        offset -= offsetof(PyHeapTypeObject, as_number);
11920|  97.0k|    }
11921|  66.3k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_async)) {
  ------------------
  |  Branch (11921:14): [True: 6.61k, False: 59.7k]
  ------------------
11922|  6.61k|        ptr = (char *)type->tp_as_async;
11923|  6.61k|        offset -= offsetof(PyHeapTypeObject, as_async);
11924|  6.61k|    }
11925|  59.7k|    else {
11926|  59.7k|        ptr = (char *)type;
11927|  59.7k|    }
11928|   196k|    if (ptr != NULL)
  ------------------
  |  Branch (11928:9): [True: 171k, False: 25.2k]
  ------------------
11929|   171k|        ptr += offset;
11930|   196k|    return (void **)ptr;
11931|   196k|}
typeobject.c:tp_new_wrapper:
10460|    832|{
10461|    832|    PyTypeObject *staticbase;
10462|    832|    PyObject *arg0, *res;
10463|       |
10464|    832|    if (self == NULL || !PyType_Check(self)) {
  ------------------
  |  |  766|    832|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    832|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    832|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10464:9): [True: 0, False: 832]
  |  Branch (10464:25): [True: 0, False: 832]
  ------------------
10465|      0|        PyErr_Format(PyExc_SystemError,
10466|      0|                     "__new__() called with non-type 'self'");
10467|      0|        return NULL;
10468|      0|    }
10469|    832|    PyTypeObject *type = (PyTypeObject *)self;
10470|       |
10471|    832|    if (nargs < 1) {
  ------------------
  |  Branch (10471:9): [True: 0, False: 832]
  ------------------
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|    832|    arg0 = args[0];
10478|    832|    if (!PyType_Check(arg0)) {
  ------------------
  |  |  766|    832|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    832|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    832|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10478:9): [True: 0, False: 832]
  ------------------
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|    832|    PyTypeObject *subtype = (PyTypeObject *)arg0;
10486|       |
10487|    832|    if (!PyType_IsSubtype(subtype, type)) {
  ------------------
  |  Branch (10487:9): [True: 0, False: 832]
  ------------------
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|    832|    staticbase = subtype;
10501|  1.68k|    while (staticbase && (staticbase->tp_new == slot_tp_new))
  ------------------
  |  Branch (10501:12): [True: 1.68k, False: 0]
  |  Branch (10501:26): [True: 855, False: 832]
  ------------------
10502|    855|        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|    832|    if (staticbase && staticbase->tp_new != type->tp_new) {
  ------------------
  |  Branch (10505:9): [True: 832, False: 0]
  |  Branch (10505:23): [True: 0, False: 832]
  ------------------
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|    832|    PyObject *args_tuple = PyTuple_FromArray(args + 1, nargs - 1);
10520|    832|    if (args_tuple == NULL) {
  ------------------
  |  Branch (10520:9): [True: 0, False: 832]
  ------------------
10521|      0|        return NULL;
10522|      0|    }
10523|    832|    PyObject *kwds = NULL;
10524|    832|    if (kwnames != NULL) {
  ------------------
  |  Branch (10524:9): [True: 0, False: 832]
  ------------------
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|    832|    res = type->tp_new(subtype, args_tuple, kwds);
10532|    832|    Py_DECREF(args_tuple);
  ------------------
  |  |  430|    832|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    832|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    832|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10533|    832|    Py_XDECREF(kwds);
  ------------------
  |  |  621|    832|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    832|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    832|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10534|    832|    return res;
10535|    832|}
typeobject.c:slot_tp_new:
11244|    803|{
11245|    803|    PyThreadState *tstate = _PyThreadState_GET();
11246|    803|    PyObject *result;
11247|       |
11248|    803|    _PyCStackRef func_ref;
11249|    803|    _PyThreadState_PushCStackRef(tstate, &func_ref);
11250|    803|    func_ref.ref = _PyObject_GetAttrStackRef((PyObject *)type, &_Py_ID(__new__));
  ------------------
  |  |  951|    803|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    803|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    803|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11251|    803|    if (PyStackRef_IsNull(func_ref.ref)) {
  ------------------
  |  |  482|    803|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|    803|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    803|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 803]
  |  |  ------------------
  ------------------
11252|      0|        _PyThreadState_PopCStackRef(tstate, &func_ref);
11253|      0|        return NULL;
11254|      0|    }
11255|       |
11256|    803|    PyObject *func = PyStackRef_AsPyObjectBorrow(func_ref.ref);
11257|    803|    result = _PyObject_Call_Prepend(tstate, func, (PyObject *)type, args, kwds);
11258|    803|    _PyThreadState_PopCStackRef(tstate, &func_ref);
11259|    803|    return result;
11260|    803|}
typeobject.c:slot_tp_call:
10989|      9|{
10990|      9|    return call_method(self, &_Py_ID(__call__), args, kwds);
  ------------------
  |  |  951|      9|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      9|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      9|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10991|      9|}
typeobject.c:call_method:
 3126|  42.3k|{
 3127|  42.3k|    PyThreadState *tstate = _PyThreadState_GET();
 3128|  42.3k|    _PyCStackRef cref;
 3129|  42.3k|    _PyThreadState_PushCStackRef(tstate, &cref);
 3130|  42.3k|    PyObject *res = NULL;
 3131|  42.3k|    int unbound = lookup_method(self, attr, &cref.ref);
 3132|  42.3k|    if (unbound >= 0) {
  ------------------
  |  Branch (3132:9): [True: 42.3k, False: 0]
  ------------------
 3133|  42.3k|        PyObject *meth = PyStackRef_AsPyObjectBorrow(cref.ref);
 3134|  42.3k|        if (unbound) {
  ------------------
  |  Branch (3134:13): [True: 42.3k, False: 0]
  ------------------
 3135|  42.3k|            res = _PyObject_Call_Prepend(tstate, meth, self, args, kwds);
 3136|  42.3k|        }
 3137|      0|        else {
 3138|      0|            res = _PyObject_Call(tstate, meth, args, kwds);
 3139|      0|        }
 3140|  42.3k|    }
 3141|  42.3k|    _PyThreadState_PopCStackRef(tstate, &cref);
 3142|  42.3k|    return res;
 3143|  42.3k|}
typeobject.c:lookup_method:
 3075|  43.0k|{
 3076|  43.0k|    return lookup_method_ex(self, attr, out, 1);
 3077|  43.0k|}
typeobject.c:type_clear_flags:
  418|    999|{
  419|    999|    type_set_flags(tp, tp->tp_flags & ~flag);
  420|    999|}
typeobject.c:clear_slot_descrs:
11945|    829|{
11946|  78.7k|    for (size_t i = 0; i < Py_ARRAY_LENGTH(slotdefs) - 1; i++) {
  ------------------
  |  |  232|  78.7k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (11946:24): [True: 77.9k, False: 829]
  ------------------
11947|       |        Py_CLEAR(descrs[i]);
  ------------------
  |  |  487|  77.9k|    do { \
  |  |  488|  77.9k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  77.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  77.9k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  77.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  77.9k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  77.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 15.7k, False: 62.2k]
  |  |  ------------------
  |  |  491|  15.7k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  15.7k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  15.7k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  15.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  15.7k|        } \
  |  |  494|  77.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 77.9k]
  |  |  ------------------
  ------------------
11948|  77.9k|    }
11949|    829|}
typeobject.c:type_ready_add_subclasses:
 9399|  1.37k|{
 9400|  1.37k|    PyObject *bases = lookup_tp_bases(type);
 9401|  1.37k|    Py_ssize_t nbase = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  1.37k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9402|  2.93k|    for (Py_ssize_t i = 0; i < nbase; i++) {
  ------------------
  |  Branch (9402:28): [True: 1.56k, False: 1.37k]
  ------------------
 9403|  1.56k|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  1.56k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.56k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9403:23): [True: 1.56k, False: 0]
  ------------------
 9404|  1.56k|        if (PyType_Check(b) && add_subclass((PyTypeObject *)b, type) < 0) {
  ------------------
  |  |  766|  3.13k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.56k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (9404:32): [True: 0, False: 1.56k]
  ------------------
 9405|      0|            return -1;
 9406|      0|        }
 9407|  1.56k|    }
 9408|  1.37k|    return 0;
 9409|  1.37k|}
typeobject.c:add_subclass:
 9740|  1.56k|{
 9741|  1.56k|    PyObject *key = PyLong_FromVoidPtr((void *) type);
 9742|  1.56k|    if (key == NULL)
  ------------------
  |  Branch (9742:9): [True: 0, False: 1.56k]
  ------------------
 9743|      0|        return -1;
 9744|       |
 9745|  1.56k|    PyObject *ref = PyWeakref_NewRef((PyObject *)type, NULL);
 9746|  1.56k|    if (ref == NULL) {
  ------------------
  |  Branch (9746:9): [True: 0, False: 1.56k]
  ------------------
 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.56k|    PyObject *subclasses = lookup_tp_subclasses(base);
 9755|  1.56k|    if (subclasses == NULL) {
  ------------------
  |  Branch (9755:9): [True: 232, False: 1.33k]
  ------------------
 9756|    232|        subclasses = init_tp_subclasses(base);
 9757|    232|        if (subclasses == NULL) {
  ------------------
  |  Branch (9757:13): [True: 0, False: 232]
  ------------------
 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|    232|    }
 9763|  1.56k|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (9763:5): [True: 1.56k, False: 0]
  ------------------
 9764|       |
 9765|  1.56k|    int result = PyDict_SetItem(subclasses, key, ref);
 9766|  1.56k|    Py_DECREF(ref);
  ------------------
  |  |  430|  1.56k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9767|  1.56k|    Py_DECREF(key);
  ------------------
  |  |  430|  1.56k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9768|  1.56k|    return result;
 9769|  1.56k|}
typeobject.c:check_basicsize_includes_size_and_offsets:
 5149|    130|{
 5150|    130|    if (type->tp_alloc != PyType_GenericAlloc) {
  ------------------
  |  Branch (5150:9): [True: 0, False: 130]
  ------------------
 5151|       |        // Custom allocators can ignore tp_basicsize
 5152|      0|        return 1;
 5153|      0|    }
 5154|    130|    Py_ssize_t max = (Py_ssize_t)type->tp_basicsize;
 5155|       |
 5156|    130|    if (type->tp_base && type->tp_base->tp_basicsize > type->tp_basicsize) {
  ------------------
  |  Branch (5156:9): [True: 130, False: 0]
  |  Branch (5156:26): [True: 0, False: 130]
  ------------------
 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|    130|    if (type->tp_weaklistoffset + (Py_ssize_t)sizeof(PyObject*) > max) {
  ------------------
  |  Branch (5163:9): [True: 0, False: 130]
  ------------------
 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|    130|    if (type->tp_dictoffset + (Py_ssize_t)sizeof(PyObject*) > max) {
  ------------------
  |  Branch (5170:9): [True: 0, False: 130]
  ------------------
 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|    130|    if (type->tp_vectorcall_offset + (Py_ssize_t)sizeof(vectorcallfunc*) > max) {
  ------------------
  |  Branch (5177:9): [True: 0, False: 130]
  ------------------
 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|    130|    return 1;
 5185|    130|}
typeobject.c:type_name:
 1460|  82.8k|{
 1461|  82.8k|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|  82.8k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1462|  82.8k|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|  82.8k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1462:9): [True: 8, False: 82.8k]
  ------------------
 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|  82.8k|    else {
 1467|  82.8k|        return PyUnicode_FromString(_PyType_Name(type));
 1468|  82.8k|    }
 1469|  82.8k|}
typeobject.c:lookup_tp_mro:
  608|  44.0k|{
  609|  44.0k|    return self->tp_mro;
  610|  44.0k|}
typeobject.c:getitemdata:
 6113|  1.56k|{
 6114|  1.56k|    if (!_PyType_HasFeature(Py_TYPE(obj), Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  213|  1.56k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!_PyType_HasFeature(Py_TYPE(obj), Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  548|  1.56k|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (6114:9): [True: 0, False: 1.56k]
  ------------------
 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.56k|    return (char *)obj + Py_TYPE(obj)->tp_basicsize;
  ------------------
  |  |  213|  1.56k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6123|  1.56k|}
typeobject.c:should_assign_version_tag:
 6279|  1.21k|{
 6280|  1.21k|    return (version_tag == 0
  ------------------
  |  Branch (6280:13): [True: 1.21k, False: 0]
  ------------------
 6281|  1.21k|        && FT_ATOMIC_LOAD_UINT16_RELAXED(type->tp_versions_used) < MAX_VERSIONS_PER_CLASS
  ------------------
  |  |  160|  1.21k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
                      && FT_ATOMIC_LOAD_UINT16_RELAXED(type->tp_versions_used) < MAX_VERSIONS_PER_CLASS
  ------------------
  |  | 1327|  2.43k|#define MAX_VERSIONS_PER_CLASS 1000
  ------------------
  |  Branch (6281:12): [True: 1.21k, False: 0]
  ------------------
 6282|  1.21k|        && MCACHE_CACHEABLE_NAME(name));
  ------------------
  |  |   44|  1.21k|#define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  104|  1.21k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  2.43k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 1.21k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  215|  1.21k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:38): [True: 1.21k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6283|  1.21k|}
typeobject.c:find_name_in_mro:
 6143|  11.8k|{
 6144|  11.8k|    Py_hash_t hash = _PyObject_HashDictKey(name);
 6145|  11.8k|    if (hash == -1) {
  ------------------
  |  Branch (6145:9): [True: 0, False: 11.8k]
  ------------------
 6146|      0|        PyErr_Clear();
 6147|      0|        return -1;
 6148|      0|    }
 6149|       |
 6150|       |    /* Look in tp_dict of types in MRO */
 6151|  11.8k|    PyObject *mro = lookup_tp_mro(type);
 6152|  11.8k|    if (mro == NULL) {
  ------------------
  |  Branch (6152:9): [True: 0, False: 11.8k]
  ------------------
 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|  11.8k|    int res = 0;
 6166|  11.8k|    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|  11.8k|    _PyCStackRef mro_ref;
 6170|  11.8k|    _PyThreadState_PushCStackRef(tstate, &mro_ref);
 6171|  11.8k|    mro_ref.ref = PyStackRef_FromPyObjectNew(mro);
  ------------------
  |  |  611|  11.8k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  11.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6172|  11.8k|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|  11.8k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6173|  30.0k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (6173:28): [True: 22.7k, False: 7.28k]
  ------------------
 6174|  22.7k|        PyObject *base = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  22.7k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  22.7k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6174:26): [True: 22.7k, False: 0]
  ------------------
 6175|  22.7k|        PyObject *dict = lookup_tp_dict(_PyType_CAST(base));
  ------------------
  |  |  770|  22.7k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  22.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (6175:41): [True: 22.7k, False: 0]
  ------------------
 6176|  22.7k|        assert(dict && PyDict_Check(dict));
  ------------------
  |  Branch (6176:9): [True: 22.7k, False: 0]
  |  Branch (6176:9): [True: 22.7k, False: 0]
  ------------------
 6177|  22.7k|        Py_ssize_t ix = _Py_dict_lookup_threadsafe_stackref(
 6178|  22.7k|            (PyDictObject *)dict, name, hash, out);
 6179|  22.7k|        if (ix == DKIX_ERROR) {
  ------------------
  |  |  196|  22.7k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (6179:13): [True: 0, False: 22.7k]
  ------------------
 6180|      0|            PyErr_Clear();
 6181|      0|            res = -1;
 6182|      0|            goto done;
 6183|      0|        }
 6184|  22.7k|        if (!PyStackRef_IsNull(*out)) {
  ------------------
  |  |  482|  22.7k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  22.7k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  22.7k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6184:13): [True: 4.59k, False: 18.1k]
  ------------------
 6185|  4.59k|            res = 1;
 6186|  4.59k|            break;
 6187|  4.59k|        }
 6188|  22.7k|    }
 6189|  11.8k|done:
 6190|  11.8k|    _PyThreadState_PopCStackRef(tstate, &mro_ref);
 6191|  11.8k|    return res;
 6192|  11.8k|}
typeobject.c:set_flags_recursive:
 6435|     28|{
 6436|     28|    if (PyType_HasFeature(self, Py_TPFLAGS_IMMUTABLETYPE) ||
  ------------------
  |  |  500|     28|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6436:9): [True: 28, False: 0]
  ------------------
 6437|      0|        (self->tp_flags & mask) == flags)
  ------------------
  |  Branch (6437:9): [True: 0, False: 0]
  ------------------
 6438|     28|    {
 6439|     28|        return;
 6440|     28|    }
 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|   100k|{
 2459|   100k|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  141|   100k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2460|   100k|    PyObject *obj;
 2461|   100k|    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|   100k|    if (type == &PyType_Type) {
  ------------------
  |  Branch (2472:9): [True: 746, False: 99.6k]
  ------------------
 2473|    746|        assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (2473:9): [True: 746, False: 0]
  |  Branch (2473:9): [True: 746, False: 0]
  ------------------
 2474|    746|        assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (2474:9): [True: 744, False: 2]
  |  Branch (2474:9): [True: 2, False: 0]
  ------------------
 2475|    746|        Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    746|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    746|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    746|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2476|       |
 2477|    746|        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: 746]
  |  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|    746|        if (nargs != 3) {
  ------------------
  |  Branch (2485:13): [True: 0, False: 746]
  ------------------
 2486|      0|            PyErr_SetString(PyExc_TypeError,
 2487|      0|                            "type() takes 1 or 3 arguments");
 2488|      0|            return NULL;
 2489|      0|        }
 2490|    746|    }
 2491|       |
 2492|   100k|    if (type->tp_new == NULL) {
  ------------------
  |  Branch (2492:9): [True: 0, False: 100k]
  ------------------
 2493|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 2494|      0|                      "cannot create '%s' instances", type->tp_name);
 2495|      0|        return NULL;
 2496|      0|    }
 2497|       |
 2498|   100k|    obj = type->tp_new(type, args, kwds);
 2499|   100k|    obj = _Py_CheckFunctionResult(tstate, (PyObject*)type, obj, NULL);
 2500|   100k|    if (obj == NULL)
  ------------------
  |  Branch (2500:9): [True: 0, False: 100k]
  ------------------
 2501|      0|        return NULL;
 2502|       |
 2503|       |    /* If the returned object is not an instance of type,
 2504|       |       it won't be initialized. */
 2505|   100k|    if (!PyObject_TypeCheck(obj, type))
  ------------------
  |  |  378|   100k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2505:9): [True: 0, False: 100k]
  ------------------
 2506|      0|        return obj;
 2507|       |
 2508|   100k|    type = Py_TYPE(obj);
  ------------------
  |  |  213|   100k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2509|   100k|    if (type->tp_init != NULL) {
  ------------------
  |  Branch (2509:9): [True: 100k, False: 0]
  ------------------
 2510|   100k|        int res = type->tp_init(obj, args, kwds);
 2511|   100k|        if (res < 0) {
  ------------------
  |  Branch (2511:13): [True: 37, False: 100k]
  ------------------
 2512|     37|            assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2512:13): [True: 37, False: 0]
  ------------------
 2513|     37|            Py_SETREF(obj, NULL);
  ------------------
  |  |  545|     37|    do { \
  |  |  546|     37|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|     37|        *_tmp_dst_ptr = (src); \
  |  |  549|     37|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|     37|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 2514|     37|        }
 2515|   100k|        else {
 2516|   100k|            assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2516:13): [True: 100k, False: 0]
  ------------------
 2517|   100k|        }
 2518|   100k|    }
 2519|   100k|    return obj;
 2520|   100k|}
typeobject.c:type_setattro:
 6694|    557|{
 6695|    557|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  141|    557|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6696|    557|    int res;
 6697|    557|    if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    557|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6697:9): [True: 0, False: 557]
  ------------------
 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|    557|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|    557|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    557|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (6704:9): [True: 0, False: 557]
  ------------------
 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|    557|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|    557|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    557|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    557|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    557|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 557, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6712|    557|        Py_INCREF(name);
  ------------------
  |  |  310|    557|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    557|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    557|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6713|    557|    }
 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|    557|    if (!PyUnicode_CHECK_INTERNED(name)) {
  ------------------
  |  |  215|    557|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    557|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    557|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6719:9): [True: 0, False: 557]
  ------------------
 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|    557|    PyTypeObject *metatype = Py_TYPE(type);
  ------------------
  |  |  213|    557|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    557|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    557|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6731|    557|    assert(!_PyType_HasFeature(metatype, Py_TPFLAGS_INLINE_VALUES));
  ------------------
  |  Branch (6731:5): [True: 557, False: 0]
  ------------------
 6732|    557|    assert(!_PyType_HasFeature(metatype, Py_TPFLAGS_MANAGED_DICT));
  ------------------
  |  Branch (6732:5): [True: 557, 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|    557|    PyObject *old_value = NULL;
 6746|    557|    PyObject *descr = _PyType_LookupRef(metatype, name);
 6747|    557|    if (descr != NULL) {
  ------------------
  |  Branch (6747:9): [True: 219, False: 338]
  ------------------
 6748|    219|        descrsetfunc f = Py_TYPE(descr)->tp_descr_set;
  ------------------
  |  |  213|    219|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6749|    219|        if (f != NULL) {
  ------------------
  |  Branch (6749:13): [True: 194, False: 25]
  ------------------
 6750|    194|            res = f(descr, (PyObject *)type, value);
 6751|    194|            goto done;
 6752|    194|        }
 6753|    219|    }
 6754|       |
 6755|    363|    PyObject *dict = type->tp_dict;
 6756|    363|    if (dict == NULL) {
  ------------------
  |  Branch (6756:9): [True: 0, False: 363]
  ------------------
 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|    363|    BEGIN_TYPE_DICT_LOCK(dict);
 6773|    363|    res = type_update_dict(type, (PyDictObject *)dict, name, value, &old_value);
 6774|    363|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (6774:5): [True: 363, False: 0]
  ------------------
 6775|    363|    if (res == 0) {
  ------------------
  |  Branch (6775:9): [True: 363, False: 0]
  ------------------
 6776|    363|        if (is_dunder_name(name) && has_slotdef(name)) {
  ------------------
  |  Branch (6776:13): [True: 32, False: 331]
  |  Branch (6776:37): [True: 24, False: 8]
  ------------------
 6777|       |            // The name corresponds to a type slot.
 6778|     24|            res = update_slot_after_setattr(type, name);
 6779|     24|        }
 6780|    363|    }
 6781|    363|    END_TYPE_DICT_LOCK();
 6782|       |
 6783|    557|done:
 6784|    557|    Py_DECREF(name);
  ------------------
  |  |  430|    557|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    557|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    557|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6785|    557|    Py_XDECREF(descr);
  ------------------
  |  |  621|    557|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    557|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    557|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6786|       |    // delay decref of the old value as lock-free type cache readers may access it
 6787|    557|    _PyObject_XDecRefDelayed(old_value);
 6788|    557|    return res;
 6789|    363|}
typeobject.c:type_update_dict:
 6643|    363|{
 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|    363|    if (_PyDict_GetItemRef_Unicode_LockHeld(dict, name, old_value) < 0) {
  ------------------
  |  Branch (6652:9): [True: 0, False: 363]
  ------------------
 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|    363|    _PyType_Modified_Unlocked(type);
 6662|       |
 6663|    363|    if (_PyDict_SetItem_LockHeld(dict, name, value) < 0) {
  ------------------
  |  Branch (6663:9): [True: 0, False: 363]
  ------------------
 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|    363|    return 0;
 6672|    363|}
typeobject.c:has_slotdef:
11937|     32|{
11938|     32|    return slotname_lookup(name, _PyObject_HashDictKey(name)) >= 0;
11939|     32|}
typeobject.c:update_slot_after_setattr:
 6676|     24|{
 6677|     24|    types_stop_world();
 6678|     24|    int res = update_slot(type, name);
 6679|     24|    types_start_world();
 6680|       |#ifdef Py_GIL_DISABLED
 6681|       |    // Invalidate again, after the slots are updated and while TYPE_LOCK is
 6682|       |    // still held.  Other threads may have assigned new version tags while
 6683|       |    // the lock was released waiting for the stop-the-world and cached
 6684|       |    // decisions based on the old slots.  This is a no-op if the tags are
 6685|       |    // still invalid.
 6686|       |    ASSERT_TYPE_LOCK_HELD();
 6687|       |    _PyType_Modified_Unlocked(type);
 6688|       |#endif
 6689|     24|    return res;
 6690|     24|}
typeobject.c:update_slot:
12261|     24|{
12262|     24|    pytype_slotdef *ptrs[MAX_EQUIV];
12263|     24|    pytype_slotdef *p;
12264|     24|    pytype_slotdef **pp;
12265|     24|    int offset;
12266|       |
12267|     24|    ASSERT_TYPE_LOCK_HELD();
12268|     24|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (12268:5): [True: 24, False: 0]
  ------------------
12269|     24|    assert(PyUnicode_CHECK_INTERNED(name));
  ------------------
  |  Branch (12269:5): [True: 24, False: 0]
  ------------------
12270|       |
12271|     24|    Py_ssize_t idx = slotname_lookup(name, _PyObject_HashDictKey(name));
12272|     24|    if (idx < 0) {
  ------------------
  |  Branch (12272:9): [True: 0, False: 24]
  ------------------
12273|      0|        return 0; /* Not an attribute that affects any slots */
12274|      0|    }
12275|       |    /* All slotdefs with this name, in slotdefs order. */
12276|     24|    const uint8_t *dups = slotdefs_dups[idx];
12277|     24|    pp = ptrs;
12278|     48|    for (uint8_t k = 1; k <= dups[0]; k++) {
  ------------------
  |  Branch (12278:25): [True: 24, False: 24]
  ------------------
12279|     24|        p = &slotdefs[dups[k]];
12280|     24|        offset = p->offset;
12281|     27|        while (p > slotdefs && (p-1)->offset == offset)
  ------------------
  |  Branch (12281:16): [True: 27, False: 0]
  |  Branch (12281:32): [True: 3, False: 24]
  ------------------
12282|      3|            --p;
12283|     24|        *pp++ = p;
12284|     24|    }
12285|     24|    *pp = NULL;
12286|       |
12287|     24|    update_callback_data_t callback_data;
12288|     24|    callback_data.defs = ptrs;
12289|     24|    return update_subclasses(type, name,
12290|     24|                             update_slots_callback, (void *)&callback_data);
12291|     24|}
typeobject.c:update_subclasses:
12465|     24|{
12466|     24|    if (callback(type, data) < 0) {
  ------------------
  |  Branch (12466:9): [True: 0, False: 24]
  ------------------
12467|      0|        return -1;
12468|      0|    }
12469|     24|    return recurse_down_subclasses(type, attr_name, callback, data);
12470|     24|}
typeobject.c:recurse_down_subclasses:
12475|     24|{
12476|       |    // It is safe to use a borrowed reference because update_subclasses() is
12477|       |    // only used with update_slots_callback() which doesn't modify
12478|       |    // tp_subclasses.
12479|     24|    PyObject *subclasses = lookup_tp_subclasses(type);  // borrowed ref
12480|     24|    if (subclasses == NULL) {
  ------------------
  |  Branch (12480:9): [True: 24, False: 0]
  ------------------
12481|     24|        return 0;
12482|     24|    }
12483|     24|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (12483:5): [True: 0, False: 0]
  ------------------
12484|       |
12485|      0|    Py_ssize_t i = 0;
12486|      0|    PyObject *ref;
12487|      0|    while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (12487:12): [True: 0, False: 0]
  ------------------
12488|       |#ifdef Py_GIL_DISABLED
12489|       |        // With the world stopped, use borrowed references to the subclasses,
12490|       |        // so that dropping a reference cannot run type_dealloc().  Look up
12491|       |        // attr_name without calling __eq__ of non-str keys, consistent with
12492|       |        // find_slot_name_in_mro().
12493|       |        assert(types_world_is_stopped());
12494|       |        if (_PyWeakref_IS_DEAD(ref)) {
12495|       |            continue;
12496|       |        }
12497|       |        PyTypeObject *subclass =
12498|       |            _PyType_CAST(((PyWeakReference *)ref)->wr_object);
12499|       |
12500|       |        /* Avoid recursing down into unaffected classes */
12501|       |        PyObject *dict = lookup_tp_dict(subclass);
12502|       |        if (dict != NULL && PyDict_Check(dict) &&
12503|       |            _PyDict_GetItem_ExactUnicode((PyDictObject *)dict,
12504|       |                                         attr_name) != NULL)
12505|       |        {
12506|       |            continue;
12507|       |        }
12508|       |
12509|       |        if (update_subclasses(subclass, attr_name, callback, data) < 0) {
12510|       |            return -1;
12511|       |        }
12512|       |#else
12513|      0|        PyTypeObject *subclass = type_from_ref(ref);
12514|      0|        if (subclass == NULL) {
  ------------------
  |  Branch (12514:13): [True: 0, False: 0]
  ------------------
12515|      0|            continue;
12516|      0|        }
12517|       |
12518|       |        /* Avoid recursing down into unaffected classes */
12519|      0|        PyObject *dict = lookup_tp_dict(subclass);
12520|      0|        if (dict != NULL && PyDict_Check(dict)) {
  ------------------
  |  |   18|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12520:13): [True: 0, False: 0]
  ------------------
12521|      0|            int r = PyDict_Contains(dict, attr_name);
12522|      0|            if (r < 0) {
  ------------------
  |  Branch (12522:17): [True: 0, False: 0]
  ------------------
12523|      0|                Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12524|      0|                return -1;
12525|      0|            }
12526|      0|            if (r > 0) {
  ------------------
  |  Branch (12526:17): [True: 0, False: 0]
  ------------------
12527|      0|                Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12528|      0|                continue;
12529|      0|            }
12530|      0|        }
12531|       |
12532|      0|        if (update_subclasses(subclass, attr_name, callback, data) < 0) {
  ------------------
  |  Branch (12532:13): [True: 0, False: 0]
  ------------------
12533|      0|            Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12534|      0|            return -1;
12535|      0|        }
12536|      0|        Py_DECREF(subclass);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12537|      0|#endif
12538|      0|    }
12539|      0|    return 0;
12540|      0|}
typeobject.c:update_slots_callback:
12246|     24|{
12247|     24|    ASSERT_NEW_TYPE_OR_LOCKED(type);
12248|       |
12249|     24|    update_callback_data_t *update_data = (update_callback_data_t *)data;
12250|     24|    pytype_slotdef **pp = update_data->defs;
12251|     48|    for (; *pp; pp++) {
  ------------------
  |  Branch (12251:12): [True: 24, False: 24]
  ------------------
12252|     24|        update_one_slot(type, *pp, NULL, NULL);
12253|     24|    }
12254|     24|    return 0;
12255|     24|}
typeobject.c:type_traverse:
 7147|  16.5k|{
 7148|  16.5k|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  141|  16.5k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7149|       |
 7150|       |    /* Because of type_is_gc(), the collector only calls this
 7151|       |       for heaptypes. */
 7152|  16.5k|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  16.5k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (7152:9): [True: 0, False: 16.5k]
  ------------------
 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|  16.5k|    Py_VISIT(type->tp_dict);
  ------------------
  |  |  194|  16.5k|    do {                                                                \
  |  |  195|  16.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16.5k, False: 0]
  |  |  ------------------
  |  |  196|  16.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  16.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  16.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16.5k]
  |  |  ------------------
  |  |  198|  16.5k|                return vret;                                            \
  |  |  199|  16.5k|        }                                                               \
  |  |  200|  16.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16.5k]
  |  |  ------------------
  ------------------
 7160|  16.5k|    Py_VISIT(type->tp_cache);
  ------------------
  |  |  194|  16.5k|    do {                                                                \
  |  |  195|  16.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 16.5k]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|  16.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16.5k]
  |  |  ------------------
  ------------------
 7161|  16.5k|    Py_VISIT(type->tp_mro);
  ------------------
  |  |  194|  16.5k|    do {                                                                \
  |  |  195|  16.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16.5k, False: 0]
  |  |  ------------------
  |  |  196|  16.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  16.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  16.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16.5k]
  |  |  ------------------
  |  |  198|  16.5k|                return vret;                                            \
  |  |  199|  16.5k|        }                                                               \
  |  |  200|  16.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16.5k]
  |  |  ------------------
  ------------------
 7162|  16.5k|    Py_VISIT(type->tp_bases);
  ------------------
  |  |  194|  16.5k|    do {                                                                \
  |  |  195|  16.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16.5k, False: 0]
  |  |  ------------------
  |  |  196|  16.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  16.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  16.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16.5k]
  |  |  ------------------
  |  |  198|  16.5k|                return vret;                                            \
  |  |  199|  16.5k|        }                                                               \
  |  |  200|  16.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16.5k]
  |  |  ------------------
  ------------------
 7163|  16.5k|    Py_VISIT(type->tp_base);
  ------------------
  |  |  194|  16.5k|    do {                                                                \
  |  |  195|  16.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16.5k, False: 0]
  |  |  ------------------
  |  |  196|  16.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  16.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  16.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16.5k]
  |  |  ------------------
  |  |  198|  16.5k|                return vret;                                            \
  |  |  199|  16.5k|        }                                                               \
  |  |  200|  16.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16.5k]
  |  |  ------------------
  ------------------
 7164|  16.5k|    Py_VISIT(((PyHeapTypeObject *)type)->ht_module);
  ------------------
  |  |  194|  16.5k|    do {                                                                \
  |  |  195|  16.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.44k, False: 15.1k]
  |  |  ------------------
  |  |  196|  1.44k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.44k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.44k]
  |  |  ------------------
  |  |  198|  1.44k|                return vret;                                            \
  |  |  199|  1.44k|        }                                                               \
  |  |  200|  16.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16.5k]
  |  |  ------------------
  ------------------
 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|  16.5k|    return 0;
 7174|  16.5k|}
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|     85|{
 3573|     85|    PyObject *seq;
 3574|     85|    seq = mro_implementation(self);
 3575|     85|    if (seq != NULL && !PyList_Check(seq)) {
  ------------------
  |  |   25|     85|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     85|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3575:9): [True: 85, False: 0]
  |  Branch (3575:24): [True: 69, False: 16]
  ------------------
 3576|     69|        Py_SETREF(seq, PySequence_List(seq));
  ------------------
  |  |  545|     69|    do { \
  |  |  546|     69|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     69|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|     69|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     69|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|     69|        *_tmp_dst_ptr = (src); \
  |  |  549|     69|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|     69|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|     69|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 69]
  |  |  ------------------
  ------------------
 3577|     69|    }
 3578|     85|    return seq;
 3579|     85|}
typeobject.c:mro_implementation:
 3555|     85|{
 3556|     85|    PyObject *mro;
 3557|     85|    BEGIN_TYPE_LOCK();
 3558|     85|    mro = mro_implementation_unlocked(type);
 3559|     85|    END_TYPE_LOCK();
 3560|     85|    return mro;
 3561|     85|}
typeobject.c:mro_implementation_unlocked:
 3467|  1.37k|{
 3468|  1.37k|    ASSERT_TYPE_LOCK_HELD();
 3469|       |
 3470|  1.37k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (3470:9): [True: 0, False: 1.37k]
  ------------------
 3471|      0|        if (PyType_Ready(type) < 0)
  ------------------
  |  Branch (3471:13): [True: 0, False: 0]
  ------------------
 3472|      0|            return NULL;
 3473|      0|    }
 3474|       |
 3475|  1.37k|    PyObject *bases = lookup_tp_bases(type);
 3476|  1.37k|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  1.37k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3477|  2.93k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3477:28): [True: 1.56k, False: 1.37k]
  ------------------
 3478|  3.13k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, i));
  ------------------
  |  |  770|  1.56k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 1.56k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3478:30): [True: 1.56k, False: 0]
  |  Branch (3478:30): [True: 1.56k, False: 0]
  ------------------
 3479|  1.56k|        if (lookup_tp_mro(base) == NULL) {
  ------------------
  |  Branch (3479:13): [True: 0, False: 1.56k]
  ------------------
 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.13k|        assert(PyTuple_Check(lookup_tp_mro(base)));
  ------------------
  |  Branch (3485:9): [True: 1.56k, False: 0]
  ------------------
 3486|  1.56k|    }
 3487|       |
 3488|  1.37k|    if (n == 1) {
  ------------------
  |  Branch (3488:9): [True: 1.19k, False: 173]
  ------------------
 3489|       |        /* Fast path: if there is a single base, constructing the MRO
 3490|       |         * is trivial.
 3491|       |         */
 3492|  2.39k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, 0));
  ------------------
  |  |  770|  1.19k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 1.19k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3492:30): [True: 1.19k, False: 0]
  |  Branch (3492:30): [True: 1.19k, False: 0]
  ------------------
 3493|      0|        PyObject *base_mro = lookup_tp_mro(base);
 3494|  2.39k|        assert(base_mro != NULL);
  ------------------
  |  Branch (3494:9): [True: 1.19k, False: 0]
  ------------------
 3495|  1.19k|        Py_ssize_t k = PyTuple_GET_SIZE(base_mro);
  ------------------
  |  |   27|  1.19k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3496|  1.19k|        PyObject *result = PyTuple_New(k + 1);
 3497|  1.19k|        if (result == NULL) {
  ------------------
  |  Branch (3497:13): [True: 0, False: 1.19k]
  ------------------
 3498|      0|            return NULL;
 3499|      0|        }
 3500|       |
 3501|  1.19k|        ;
 3502|  1.19k|        PyTuple_SET_ITEM(result, 0, Py_NewRef(type));
  ------------------
  |  |   40|  1.19k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3503|  3.80k|        for (Py_ssize_t i = 0; i < k; i++) {
  ------------------
  |  Branch (3503:32): [True: 2.60k, False: 1.19k]
  ------------------
 3504|  2.60k|            PyObject *cls = PyTuple_GET_ITEM(base_mro, i);
  ------------------
  |  |   29|  2.60k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.60k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3504:29): [True: 2.60k, False: 0]
  ------------------
 3505|  2.60k|            PyTuple_SET_ITEM(result, i + 1, Py_NewRef(cls));
  ------------------
  |  |   40|  2.60k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3506|  2.60k|        }
 3507|  1.19k|        return result;
 3508|  1.19k|    }
 3509|       |
 3510|       |    /* This is just a basic sanity check. */
 3511|    173|    if (check_duplicates(bases) < 0) {
  ------------------
  |  Branch (3511:9): [True: 0, False: 173]
  ------------------
 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|    173|    PyObject **to_merge = PyMem_New(PyObject *, n + 1);
  ------------------
  |  |   64|    173|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    173|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 173]
  |  |  ------------------
  |  |   65|    173|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3524|    173|    if (to_merge == NULL) {
  ------------------
  |  Branch (3524:9): [True: 0, False: 173]
  ------------------
 3525|      0|        PyErr_NoMemory();
 3526|      0|        return NULL;
 3527|      0|    }
 3528|       |
 3529|    173|    PyObject *mro_to_merge;
 3530|    543|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3530:28): [True: 370, False: 173]
  ------------------
 3531|    740|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, i));
  ------------------
  |  |  770|    370|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    740|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 370, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3531:30): [True: 370, False: 0]
  |  Branch (3531:30): [True: 370, False: 0]
  ------------------
 3532|      0|        mro_to_merge = lookup_tp_mro(base);
 3533|    740|        assert(mro_to_merge != NULL);
  ------------------
  |  Branch (3533:9): [True: 370, False: 0]
  ------------------
 3534|    370|        to_merge[i] = mro_to_merge;
 3535|    370|    }
 3536|    173|    to_merge[n] = bases;
 3537|       |
 3538|    173|    PyObject *result = PyList_New(1);
 3539|    173|    if (result == NULL) {
  ------------------
  |  Branch (3539:9): [True: 0, False: 173]
  ------------------
 3540|      0|        PyMem_Free(to_merge);
 3541|      0|        return NULL;
 3542|      0|    }
 3543|       |
 3544|    173|    PyList_SET_ITEM(result, 0, Py_NewRef(type));
  ------------------
  |  |   50|    173|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    173|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    173|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    173|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    173|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3545|    173|    if (pmerge(result, to_merge, n + 1) < 0) {
  ------------------
  |  Branch (3545:9): [True: 0, False: 173]
  ------------------
 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|    173|    PyMem_Free(to_merge);
 3549|       |
 3550|    173|    return result;
 3551|    173|}
typeobject.c:check_duplicates:
 3306|    173|{
 3307|    173|    Py_ssize_t i, j, n;
 3308|       |    /* Let's use a quadratic time algorithm,
 3309|       |       assuming that the bases tuples is short.
 3310|       |    */
 3311|    173|    n = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|    173|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    173|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    173|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3312|    543|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3312:17): [True: 370, False: 173]
  ------------------
 3313|    370|        PyObject *o = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|    370|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    370|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    370|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3313:23): [True: 370, False: 0]
  ------------------
 3314|    597|        for (j = i + 1; j < n; j++) {
  ------------------
  |  Branch (3314:25): [True: 227, False: 370]
  ------------------
 3315|    454|            if (PyTuple_GET_ITEM(tuple, j) == o) {
  ------------------
  |  |   29|    227|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    227|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    227|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3315:17): [True: 227, False: 0]
  |  Branch (3315:17): [True: 0, False: 227]
  ------------------
 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|    227|        }
 3331|    370|    }
 3332|    173|    return 0;
 3333|    173|}
typeobject.c:pmerge:
 3397|    173|{
 3398|    173|    int res = 0;
 3399|    173|    Py_ssize_t i, j, empty_cnt;
 3400|    173|    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|    173|    remain = PyMem_New(Py_ssize_t, to_merge_size);
  ------------------
  |  |   64|    173|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    173|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 173]
  |  |  ------------------
  |  |   65|    173|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3407|    173|    if (remain == NULL) {
  ------------------
  |  Branch (3407:9): [True: 0, False: 173]
  ------------------
 3408|      0|        PyErr_NoMemory();
 3409|      0|        return -1;
 3410|      0|    }
 3411|    716|    for (i = 0; i < to_merge_size; i++)
  ------------------
  |  Branch (3411:17): [True: 543, False: 173]
  ------------------
 3412|    543|        remain[i] = 0;
 3413|       |
 3414|    898|  again:
 3415|    898|    empty_cnt = 0;
 3416|  1.69k|    for (i = 0; i < to_merge_size; i++) {
  ------------------
  |  Branch (3416:17): [True: 1.52k, False: 173]
  ------------------
 3417|  1.52k|        PyObject *candidate;
 3418|       |
 3419|  1.52k|        PyObject *cur_tuple = to_merge[i];
 3420|       |
 3421|  1.52k|        if (remain[i] >= PyTuple_GET_SIZE(cur_tuple)) {
  ------------------
  |  |   27|  1.52k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3421:13): [True: 543, False: 979]
  ------------------
 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|    979|        candidate = PyTuple_GET_ITEM(cur_tuple, remain[i]);
  ------------------
  |  |   29|    979|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    979|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    979|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3433:21): [True: 979, False: 0]
  ------------------
 3434|  3.58k|        for (j = 0; j < to_merge_size; j++) {
  ------------------
  |  Branch (3434:21): [True: 2.85k, False: 725]
  ------------------
 3435|  2.85k|            PyObject *j_lst = to_merge[j];
 3436|  2.85k|            if (tail_contains(j_lst, remain[j], candidate))
  ------------------
  |  Branch (3436:17): [True: 254, False: 2.60k]
  ------------------
 3437|    254|                goto skip; /* continue outer loop */
 3438|  2.85k|        }
 3439|    725|        res = PyList_Append(acc, candidate);
 3440|    725|        if (res < 0)
  ------------------
  |  Branch (3440:13): [True: 0, False: 725]
  ------------------
 3441|      0|            goto out;
 3442|       |
 3443|  3.04k|        for (j = 0; j < to_merge_size; j++) {
  ------------------
  |  Branch (3443:21): [True: 2.31k, False: 725]
  ------------------
 3444|  2.31k|            PyObject *j_lst = to_merge[j];
 3445|  2.31k|            if (remain[j] < PyTuple_GET_SIZE(j_lst) &&
  ------------------
  |  |   27|  4.63k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3445:17): [True: 1.96k, False: 353]
  ------------------
 3446|  3.92k|                PyTuple_GET_ITEM(j_lst, remain[j]) == candidate) {
  ------------------
  |  |   29|  1.96k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.96k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3446:17): [True: 1.96k, False: 0]
  |  Branch (3446:17): [True: 1.45k, False: 511]
  ------------------
 3447|  1.45k|                remain[j]++;
 3448|  1.45k|            }
 3449|  2.31k|        }
 3450|    725|        goto again;
 3451|    254|      skip: ;
 3452|    254|    }
 3453|       |
 3454|    173|    if (empty_cnt != to_merge_size) {
  ------------------
  |  Branch (3454:9): [True: 0, False: 173]
  ------------------
 3455|      0|        set_mro_error(to_merge, to_merge_size, remain);
 3456|      0|        res = -1;
 3457|      0|    }
 3458|       |
 3459|    173|  out:
 3460|    173|    PyMem_Free(remain);
 3461|       |
 3462|    173|    return res;
 3463|    173|}
typeobject.c:tail_contains:
 3282|  2.85k|{
 3283|  2.85k|    Py_ssize_t j, size;
 3284|  2.85k|    size = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|  2.85k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3285|       |
 3286|  5.13k|    for (j = whence+1; j < size; j++) {
  ------------------
  |  Branch (3286:24): [True: 2.53k, False: 2.60k]
  ------------------
 3287|  5.06k|        if (PyTuple_GET_ITEM(tuple, j) == o)
  ------------------
  |  |   29|  2.53k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.53k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3287:13): [True: 2.53k, False: 0]
  |  Branch (3287:13): [True: 254, False: 2.27k]
  ------------------
 3288|    254|            return 1;
 3289|  2.53k|    }
 3290|  2.60k|    return 0;
 3291|  2.85k|}
typeobject.c:type___subclasses___impl:
 7005|     58|{
 7006|     58|    return _PyType_GetSubclasses(self);
 7007|     58|}
typeobject.c:type_prepare:
 7012|    682|{
 7013|    682|    return PyDict_New();
 7014|    682|}
typeobject.c:type___instancecheck___impl:
 2381|     12|{
 2382|     12|    return _PyObject_RealIsInstance(instance, (PyObject *)self);
 2383|     12|}
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|      5|{
 1423|      5|    if (!value) {
  ------------------
  |  Branch (1423:9): [True: 0, False: 5]
  ------------------
 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|      5|    if (_PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|      5|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1429:9): [True: 0, False: 5]
  ------------------
 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|      5|    if (PySys_Audit("object.__setattr__", "OsO",
  ------------------
  |  Branch (1436:9): [True: 0, False: 5]
  ------------------
 1437|      5|                    type, name, value) < 0) {
 1438|      0|        return 0;
 1439|      0|    }
 1440|       |
 1441|      5|    return 1;
 1442|      5|}
typeobject.c:type_get_bases:
 1699|     76|{
 1700|     76|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     76|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1701|     76|    PyObject *bases = _PyType_GetBases(type);
 1702|     76|    if (bases == NULL) {
  ------------------
  |  Branch (1702:9): [True: 0, False: 76]
  ------------------
 1703|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1704|      0|    }
 1705|     76|    return bases;
 1706|     76|}
typeobject.c:mro_internal:
 3691|  1.37k|{
 3692|  1.37k|    ASSERT_TYPE_LOCK_HELD();
 3693|       |
 3694|  1.37k|    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.37k|    old_mro = Py_XNewRef(lookup_tp_mro(type));
  ------------------
  |  |  648|  1.37k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3700|  1.37k|    new_mro = mro_invoke(type);  /* might cause reentrance */
 3701|  1.37k|    if (new_mro == NULL) {
  ------------------
  |  Branch (3701:9): [True: 0, False: 1.37k]
  ------------------
 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.37k|    int res;
 3706|  1.37k|    if (initial) {
  ------------------
  |  Branch (3706:9): [True: 1.37k, 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.37k|        if (lookup_tp_mro(type) == old_mro) {
  ------------------
  |  Branch (3709:13): [True: 1.37k, False: 0]
  ------------------
 3710|  1.37k|            set_tp_mro(type, new_mro);
 3711|  1.37k|            res = 1;
 3712|  1.37k|        }
 3713|      0|        else {
 3714|      0|            res = 0;
 3715|      0|        }
 3716|  1.37k|    }
 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.37k|    if (res == 0) {
  ------------------
  |  Branch (3725:9): [True: 0, False: 1.37k]
  ------------------
 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.37k|    Py_XDECREF(old_mro);
  ------------------
  |  |  621|  1.37k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3734|       |
 3735|  1.37k|    type_mro_modified(type, new_mro);
 3736|       |    /* corner case: the super class might have been hidden
 3737|       |       from the custom MRO */
 3738|  1.37k|    type_mro_modified(type, lookup_tp_bases(type));
 3739|       |
 3740|       |    // XXX Expand this to Py_TPFLAGS_IMMUTABLETYPE?
 3741|  1.37k|    if (!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN)) {
  ------------------
  |  |  467|  1.37k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (3741:9): [True: 959, False: 412]
  ------------------
 3742|    959|        _PyType_Modified_Unlocked(type);
 3743|    959|    }
 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.37k|    if (p_old_mro != NULL)
  ------------------
  |  Branch (3750:9): [True: 0, False: 1.37k]
  ------------------
 3751|      0|        *p_old_mro = old_mro;  /* transfer the ownership */
 3752|  1.37k|    else
 3753|  1.37k|        Py_XDECREF(old_mro);
  ------------------
  |  |  621|  1.37k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3754|       |
 3755|  1.37k|    return 1;
 3756|  1.37k|}
typeobject.c:mro_invoke:
 3627|  1.37k|{
 3628|  1.37k|    PyObject *mro_result;
 3629|  1.37k|    PyObject *new_mro;
 3630|       |
 3631|  1.37k|    ASSERT_TYPE_LOCK_HELD();
 3632|       |
 3633|  1.37k|    const int custom = !Py_IS_TYPE(type, &PyType_Type);
  ------------------
  |  |  215|  1.37k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3634|       |
 3635|  1.37k|    if (custom) {
  ------------------
  |  Branch (3635:9): [True: 85, False: 1.28k]
  ------------------
 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|     85|        mro_result = call_method_noarg((PyObject *)type, &_Py_ID(mro));
  ------------------
  |  |  951|     85|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     85|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     85|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3639|     85|    }
 3640|  1.28k|    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.28k|        mro_result = mro_implementation_unlocked(type);
 3644|  1.28k|    }
 3645|  1.37k|    if (mro_result == NULL)
  ------------------
  |  Branch (3645:9): [True: 0, False: 1.37k]
  ------------------
 3646|      0|        return NULL;
 3647|       |
 3648|  1.37k|    new_mro = PySequence_Tuple(mro_result);
 3649|  1.37k|    Py_DECREF(mro_result);
  ------------------
  |  |  430|  1.37k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3650|  1.37k|    if (new_mro == NULL) {
  ------------------
  |  Branch (3650:9): [True: 0, False: 1.37k]
  ------------------
 3651|      0|        return NULL;
 3652|      0|    }
 3653|       |
 3654|  1.37k|    if (PyTuple_GET_SIZE(new_mro) == 0) {
  ------------------
  |  |   27|  1.37k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3654:9): [True: 0, False: 1.37k]
  ------------------
 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.37k|    if (custom && mro_check(type, new_mro) < 0) {
  ------------------
  |  Branch (3660:9): [True: 85, False: 1.28k]
  |  Branch (3660:19): [True: 0, False: 85]
  ------------------
 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.37k|    return new_mro;
 3665|  1.37k|}
typeobject.c:call_method_noarg:
 3110|     85|{
 3111|     85|    PyThreadState *tstate = _PyThreadState_GET();
 3112|     85|    _PyCStackRef cref;
 3113|     85|    _PyThreadState_PushCStackRef(tstate, &cref);
 3114|     85|    PyObject *res = NULL;
 3115|     85|    int unbound = lookup_method(self, attr, &cref.ref);
 3116|     85|    if (unbound >= 0) {
  ------------------
  |  Branch (3116:9): [True: 85, False: 0]
  ------------------
 3117|     85|        PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3118|     85|        res = call_unbound_noarg(unbound, func, self);
 3119|     85|    }
 3120|     85|    _PyThreadState_PopCStackRef(tstate, &cref);
 3121|     85|    return res;
 3122|     85|}
typeobject.c:mro_check:
 3583|     85|{
 3584|     85|    PyTypeObject *solid;
 3585|     85|    Py_ssize_t i, n;
 3586|       |
 3587|     85|    solid = solid_base(type);
 3588|       |
 3589|     85|    n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|     85|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3590|    487|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3590:17): [True: 402, False: 85]
  ------------------
 3591|    402|        PyObject *obj = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|    402|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    402|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    402|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3591:25): [True: 402, False: 0]
  ------------------
 3592|    402|        if (!PyType_Check(obj)) {
  ------------------
  |  |  766|    402|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    402|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    402|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3592:13): [True: 0, False: 402]
  ------------------
 3593|      0|            PyErr_Format(PyExc_TypeError,
 3594|      0|                         "%N.mro() returned a non-class ('%T')", type, obj);
 3595|      0|            return -1;
 3596|      0|        }
 3597|    402|        PyTypeObject *base = (PyTypeObject*)obj;
 3598|       |
 3599|    402|        if (!is_subtype_with_mro(lookup_tp_mro(solid), solid, solid_base(base))) {
  ------------------
  |  Branch (3599:13): [True: 0, False: 402]
  ------------------
 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|    402|    }
 3607|       |
 3608|     85|    return 0;
 3609|     85|}
typeobject.c:set_tp_mro:
  614|  1.37k|{
  615|  1.37k|    if (mro != NULL) {
  ------------------
  |  Branch (615:9): [True: 1.37k, False: 0]
  ------------------
  616|  1.37k|        assert(PyTuple_CheckExact(mro));
  ------------------
  |  Branch (616:9): [True: 1.37k, False: 0]
  ------------------
  617|  1.37k|        if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.37k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (617:13): [True: 412, False: 959]
  ------------------
  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|    959|        else {
  625|    959|            PyUnstable_Object_EnableDeferredRefcount(mro);
  626|    959|        }
  627|  1.37k|    }
  628|  1.37k|    self->tp_mro = mro;
  629|  1.37k|}
typeobject.c:type_mro_modified:
 1217|  2.74k|{
 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.74k|    Py_ssize_t i, n;
 1231|       |
 1232|  2.74k|    ASSERT_TYPE_LOCK_HELD();
 1233|  2.74k|    if (!Py_IS_TYPE(type, &PyType_Type) && has_custom_mro(type)) {
  ------------------
  |  |  215|  5.48k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1233:9): [True: 170, False: 2.57k]
  |  Branch (1233:44): [True: 0, False: 170]
  ------------------
 1234|      0|        goto clear;
 1235|      0|    }
 1236|  2.74k|    n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  2.74k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1237|  9.01k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1237:17): [True: 6.27k, False: 2.74k]
  ------------------
 1238|  6.27k|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  6.27k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  6.27k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1238:23): [True: 6.27k, False: 0]
  ------------------
 1239|  6.27k|        PyTypeObject *cls = _PyType_CAST(b);
  ------------------
  |  |  770|  6.27k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1239:29): [True: 6.27k, False: 0]
  ------------------
 1240|       |
 1241|  6.27k|        if (cls->tp_versions_used >= _Py_ATTR_CACHE_UNUSED) {
  ------------------
  |  |  253|  6.27k|#define _Py_ATTR_CACHE_UNUSED (30000)  // (see tp_versions_used)
  ------------------
  |  Branch (1241:13): [True: 0, False: 6.27k]
  ------------------
 1242|      0|            goto clear;
 1243|      0|        }
 1244|       |
 1245|  6.27k|        if (!is_subtype_with_mro(lookup_tp_mro(type), type, cls)) {
  ------------------
  |  Branch (1245:13): [True: 0, False: 6.27k]
  ------------------
 1246|      0|            goto clear;
 1247|      0|        }
 1248|  6.27k|    }
 1249|  2.74k|    return;
 1250|       |
 1251|  2.74k| 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|    170|{
 1200|    170|    _PyCStackRef c_ref1, c_ref2;
 1201|    170|    PyThreadState *tstate = _PyThreadState_GET();
 1202|    170|    _PyThreadState_PushCStackRef(tstate, &c_ref1);
 1203|    170|    _PyThreadState_PushCStackRef(tstate, &c_ref2);
 1204|       |
 1205|    170|    _PyType_LookupStackRefAndVersion(Py_TYPE(tp), &_Py_ID(mro), &c_ref1.ref);
  ------------------
  |  |  213|    170|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    170|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    170|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyType_LookupStackRefAndVersion(Py_TYPE(tp), &_Py_ID(mro), &c_ref1.ref);
  ------------------
  |  |  951|    170|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    170|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    170|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1206|    170|    _PyType_LookupStackRefAndVersion(&PyType_Type, &_Py_ID(mro), &c_ref2.ref);
  ------------------
  |  |  951|    170|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    170|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    170|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1207|       |
 1208|    170|    int custom = !PyStackRef_Is(c_ref1.ref, c_ref2.ref);
  ------------------
  |  |  742|    170|#define PyStackRef_Is(a, b) (((a).bits & (~Py_TAG_REFCNT)) == ((b).bits & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    170|#define Py_TAG_REFCNT 1
  |  |  ------------------
  |  |               #define PyStackRef_Is(a, b) (((a).bits & (~Py_TAG_REFCNT)) == ((b).bits & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    170|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1209|       |
 1210|    170|    _PyThreadState_PopCStackRef(tstate, &c_ref2);
 1211|    170|    _PyThreadState_PopCStackRef(tstate, &c_ref1);
 1212|    170|    return custom;
 1213|    170|}
typeobject.c:type_get_module:
 1573|     19|{
 1574|     19|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     19|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1575|     19|    return type_module(type);
 1576|     19|}
typeobject.c:type_set_module:
 1580|      5|{
 1581|      5|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|      5|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1582|      5|    if (!check_set_special_type_attr(type, value, "__module__"))
  ------------------
  |  Branch (1582:9): [True: 0, False: 5]
  ------------------
 1583|      0|        return -1;
 1584|       |
 1585|      5|    PyType_Modified(type);
 1586|       |
 1587|      5|    PyObject *dict = lookup_tp_dict(type);
 1588|      5|    if (PyDict_Pop(dict, &_Py_ID(__firstlineno__), NULL) < 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 (1588:9): [True: 0, False: 5]
  ------------------
 1589|      0|        return -1;
 1590|      0|    }
 1591|      5|    return PyDict_SetItem(dict, &_Py_ID(__module__), value);
  ------------------
  |  |  951|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1592|      5|}
typeobject.c:type_abstractmethods:
 1636|     91|{
 1637|     91|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     91|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1638|     91|    PyObject *res = NULL;
 1639|       |    /* type itself has an __abstractmethods__ descriptor (this). Don't return
 1640|       |       that. */
 1641|     91|    if (type == &PyType_Type) {
  ------------------
  |  Branch (1641:9): [True: 0, False: 91]
  ------------------
 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|     91|    else {
 1645|     91|        PyObject *dict = lookup_tp_dict(type);
 1646|     91|        if (PyDict_GetItemRef(dict, &_Py_ID(__abstractmethods__), &res) == 0) {
  ------------------
  |  |  951|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1646:13): [True: 25, False: 66]
  ------------------
 1647|     25|            PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  951|     25|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     25|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     25|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1648|     25|        }
 1649|     91|    }
 1650|     91|    return res;
 1651|     91|}
typeobject.c:type_set_abstractmethods:
 1655|     76|{
 1656|     76|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     76|#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|     76|    int abstract, res;
 1662|     76|    PyObject *dict = lookup_tp_dict(type);
 1663|     76|    if (value != NULL) {
  ------------------
  |  Branch (1663:9): [True: 76, False: 0]
  ------------------
 1664|     76|        abstract = PyObject_IsTrue(value);
 1665|     76|        if (abstract < 0)
  ------------------
  |  Branch (1665:13): [True: 0, False: 76]
  ------------------
 1666|      0|            return -1;
 1667|     76|        res = PyDict_SetItem(dict, &_Py_ID(__abstractmethods__), value);
  ------------------
  |  |  951|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1668|     76|    }
 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|     76|    if (res < 0) {
  ------------------
  |  Branch (1677:9): [True: 0, False: 76]
  ------------------
 1678|      0|        return -1;
 1679|      0|    }
 1680|       |
 1681|     76|    BEGIN_TYPE_LOCK();
 1682|     76|    types_stop_world();
 1683|     76|    if (abstract)
  ------------------
  |  Branch (1683:9): [True: 52, False: 24]
  ------------------
 1684|     52|        type_add_flags(type, Py_TPFLAGS_IS_ABSTRACT);
  ------------------
  |  |  540|     52|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
 1685|     24|    else
 1686|     24|        type_clear_flags(type, Py_TPFLAGS_IS_ABSTRACT);
  ------------------
  |  |  540|     24|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
 1687|     76|    types_start_world();
 1688|       |    // Invalidate the version tag after update, while TYPE_LOCK is
 1689|       |    // still held.
 1690|     76|    ASSERT_TYPE_LOCK_HELD();
 1691|     76|    _PyType_Modified_Unlocked(type);
 1692|     76|    END_TYPE_LOCK();
 1693|       |
 1694|     76|    return 0;
 1695|     76|}
typeobject.c:type_dict:
 2066|    386|{
 2067|    386|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|    386|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2068|    386|    PyObject *dict = lookup_tp_dict(type);
 2069|    386|    if (dict == NULL) {
  ------------------
  |  Branch (2069:9): [True: 0, False: 386]
  ------------------
 2070|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2071|      0|    }
 2072|    386|    return PyDictProxy_New(dict);
 2073|    386|}
typeobject.c:type_get_doc:
 2077|     23|{
 2078|     23|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     23|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2079|     23|    PyObject *result;
 2080|     23|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE) && type->tp_doc != NULL) {
  ------------------
  |  |  503|     23|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2080:9): [True: 17, False: 6]
  |  Branch (2080:52): [True: 17, False: 0]
  ------------------
 2081|     17|        return _PyType_GetDocFromInternalDoc(type->tp_name, type->tp_doc);
 2082|     17|    }
 2083|      6|    PyObject *dict = lookup_tp_dict(type);
 2084|      6|    if (PyDict_GetItemRef(dict, &_Py_ID(__doc__), &result) == 0) {
  ------------------
  |  |  951|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2084:9): [True: 0, False: 6]
  ------------------
 2085|      0|        result = Py_NewRef(Py_None);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2086|      0|    }
 2087|      6|    else if (result) {
  ------------------
  |  Branch (2087:14): [True: 6, False: 0]
  ------------------
 2088|      6|        descrgetfunc descr_get = Py_TYPE(result)->tp_descr_get;
  ------------------
  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2089|      6|        if (descr_get) {
  ------------------
  |  Branch (2089:13): [True: 0, False: 6]
  ------------------
 2090|      0|            Py_SETREF(result, descr_get(result, NULL, (PyObject *)type));
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2091|      0|        }
 2092|      6|    }
 2093|      6|    return result;
 2094|     23|}
typeobject.c:type_set_annotations:
 2266|    113|{
 2267|    113|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|    113|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2268|    113|    if (_PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|    113|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (2268:9): [True: 0, False: 113]
  ------------------
 2269|      0|        PyErr_Format(PyExc_TypeError,
 2270|      0|                     "cannot set '__annotations__' attribute of immutable type '%s'",
 2271|      0|                     type->tp_name);
 2272|      0|        return -1;
 2273|      0|    }
 2274|       |
 2275|    113|    PyObject *dict = PyType_GetDict(type);
 2276|    113|    int result = PyDict_ContainsString(dict, "__annotations__");
 2277|    113|    if (result < 0) {
  ------------------
  |  Branch (2277:9): [True: 0, False: 113]
  ------------------
 2278|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2279|      0|        return -1;
 2280|      0|    }
 2281|    113|    if (result) {
  ------------------
  |  Branch (2281:9): [True: 0, False: 113]
  ------------------
 2282|       |        // If __annotations__ is currently in the dict, we update it,
 2283|      0|        if (value != NULL) {
  ------------------
  |  Branch (2283:13): [True: 0, False: 0]
  ------------------
 2284|      0|            result = PyDict_SetItem(dict, &_Py_ID(__annotations__), value);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2285|      0|        } else {
 2286|      0|            result = PyDict_Pop(dict, &_Py_ID(__annotations__), NULL);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2287|      0|            if (result == 0) {
  ------------------
  |  Branch (2287:17): [True: 0, False: 0]
  ------------------
 2288|       |                // Somebody else just deleted it?
 2289|      0|                PyErr_SetString(PyExc_AttributeError, "__annotations__");
 2290|      0|                Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2291|      0|                return -1;
 2292|      0|            }
 2293|      0|        }
 2294|      0|        if (result < 0) {
  ------------------
  |  Branch (2294:13): [True: 0, False: 0]
  ------------------
 2295|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2296|      0|            return -1;
 2297|      0|        }
 2298|       |        // Also clear __annotations_cache__ just in case.
 2299|      0|        result = PyDict_Pop(dict, &_Py_ID(__annotations_cache__), NULL);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2300|      0|    }
 2301|    113|    else {
 2302|       |        // Else we update only __annotations_cache__.
 2303|    113|        if (value != NULL) {
  ------------------
  |  Branch (2303:13): [True: 113, False: 0]
  ------------------
 2304|       |            /* set */
 2305|    113|            result = PyDict_SetItem(dict, &_Py_ID(__annotations_cache__), value);
  ------------------
  |  |  951|    113|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    113|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    113|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2306|    113|        } else {
 2307|       |            /* delete */
 2308|      0|            result = PyDict_Pop(dict, &_Py_ID(__annotations_cache__), NULL);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2309|      0|            if (result == 0) {
  ------------------
  |  Branch (2309:17): [True: 0, False: 0]
  ------------------
 2310|      0|                PyErr_SetString(PyExc_AttributeError, "__annotations__");
 2311|      0|                Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2312|      0|                return -1;
 2313|      0|            }
 2314|      0|        }
 2315|    113|    }
 2316|    113|    if (result < 0) {
  ------------------
  |  Branch (2316:9): [True: 0, False: 113]
  ------------------
 2317|      0|        Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2318|      0|        return -1;
 2319|    113|    } else {  // result can be 0 or 1
 2320|    113|        if (PyDict_Pop(dict, &_Py_ID(__annotate_func__), NULL) < 0) {
  ------------------
  |  |  951|    113|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    113|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    113|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2320:13): [True: 0, False: 113]
  ------------------
 2321|      0|            PyType_Modified(type);
 2322|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2323|      0|            return -1;
 2324|      0|        }
 2325|    113|        if (PyDict_Pop(dict, &_Py_ID(__annotate__), NULL) < 0) {
  ------------------
  |  |  951|    113|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    113|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    113|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2325:13): [True: 0, False: 113]
  ------------------
 2326|      0|            PyType_Modified(type);
 2327|      0|            Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2328|      0|            return -1;
 2329|      0|        }
 2330|    113|    }
 2331|    113|    PyType_Modified(type);
 2332|    113|    Py_DECREF(dict);
  ------------------
  |  |  430|    113|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2333|    113|    return 0;
 2334|    113|}
typeobject.c:type_init:
 4063|    829|{
 4064|    829|    assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (4064:5): [True: 829, False: 0]
  |  Branch (4064:5): [True: 829, False: 0]
  ------------------
 4065|    829|    assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (4065:5): [True: 800, False: 29]
  |  Branch (4065:5): [True: 29, False: 0]
  ------------------
 4066|       |
 4067|    829|    if (kwds != NULL && PyTuple_GET_SIZE(args) == 1 &&
  ------------------
  |  |   27|     29|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4067:9): [True: 29, False: 800]
  |  Branch (4067:25): [True: 0, False: 29]
  ------------------
 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|    829|    if ((PyTuple_GET_SIZE(args) != 1 && PyTuple_GET_SIZE(args) != 3)) {
  ------------------
  |  |   27|    829|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    829|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    829|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if ((PyTuple_GET_SIZE(args) != 1 && PyTuple_GET_SIZE(args) != 3)) {
  ------------------
  |  |   27|    829|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    829|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    829|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4074:10): [True: 829, False: 0]
  |  Branch (4074:41): [True: 0, False: 829]
  ------------------
 4075|      0|        PyErr_SetString(PyExc_TypeError,
 4076|      0|                        "type.__init__() takes 1 or 3 arguments");
 4077|      0|        return -1;
 4078|      0|    }
 4079|       |
 4080|    829|    return 0;
 4081|    829|}
typeobject.c:type_new:
 5068|    831|{
 5069|    831|    assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (5069:5): [True: 831, False: 0]
  |  Branch (5069:5): [True: 831, False: 0]
  ------------------
 5070|    831|    assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (5070:5): [True: 829, False: 2]
  |  Branch (5070:5): [True: 2, False: 0]
  ------------------
 5071|       |
 5072|       |    /* Parse arguments: (name, bases, dict) */
 5073|    831|    PyObject *name, *bases, *orig_dict;
 5074|    831|    if (!PyArg_ParseTuple(args, "UO!O:type.__new__",
  ------------------
  |  Branch (5074:9): [True: 0, False: 831]
  ------------------
 5075|    831|                          &name,
 5076|    831|                          &PyTuple_Type, &bases,
 5077|    831|                          &orig_dict))
 5078|      0|    {
 5079|      0|        return NULL;
 5080|      0|    }
 5081|    831|    if (!PyAnyDict_Check(orig_dict)) {
  ------------------
  |  |   43|    831|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    831|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.66k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 831, 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|    831|    type_new_ctx ctx = {
 5089|    831|        .metatype = metatype,
 5090|    831|        .args = args,
 5091|    831|        .kwds = kwds,
 5092|    831|        .orig_dict = orig_dict,
 5093|    831|        .name = name,
 5094|    831|        .bases = bases,
 5095|    831|        .base = NULL,
 5096|    831|        .slots = NULL,
 5097|    831|        .nslot = 0,
 5098|    831|        .add_dict = 0,
 5099|    831|        .add_weak = 0,
 5100|    831|        .may_add_dict = 0,
 5101|    831|        .may_add_weak = 0};
 5102|    831|    PyObject *type = NULL;
 5103|    831|    int res = type_new_get_bases(&ctx, &type);
 5104|    831|    if (res < 0) {
  ------------------
  |  Branch (5104:9): [True: 0, False: 831]
  ------------------
 5105|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (5105:9): [True: 0, False: 0]
  ------------------
 5106|      0|        return NULL;
 5107|      0|    }
 5108|    831|    if (res == 1) {
  ------------------
  |  Branch (5108:9): [True: 2, False: 829]
  ------------------
 5109|      2|        assert(type != NULL);
  ------------------
  |  Branch (5109:9): [True: 2, False: 0]
  ------------------
 5110|      2|        return type;
 5111|      2|    }
 5112|    831|    assert(ctx.base != NULL);
  ------------------
  |  Branch (5112:5): [True: 829, False: 0]
  ------------------
 5113|    829|    assert(ctx.bases != NULL);
  ------------------
  |  Branch (5113:5): [True: 829, False: 0]
  ------------------
 5114|       |
 5115|    829|    type = type_new_impl(&ctx);
 5116|    829|    Py_DECREF(ctx.bases);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5117|    829|    return type;
 5118|    829|}
typeobject.c:type_new_get_bases:
 4997|    831|{
 4998|    831|    Py_ssize_t nbases = PyTuple_GET_SIZE(ctx->bases);
  ------------------
  |  |   27|    831|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    831|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    831|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4999|    831|    if (nbases == 0) {
  ------------------
  |  Branch (4999:9): [True: 96, False: 735]
  ------------------
 5000|       |        // Adjust for empty tuple bases
 5001|     96|        ctx->base = &PyBaseObject_Type;
 5002|     96|        PyObject *new_bases = PyTuple_Pack(1, ctx->base);
 5003|     96|        if (new_bases == NULL) {
  ------------------
  |  Branch (5003:13): [True: 0, False: 96]
  ------------------
 5004|      0|            return -1;
 5005|      0|        }
 5006|     96|        ctx->bases = new_bases;
 5007|     96|        return 0;
 5008|     96|    }
 5009|       |
 5010|  1.66k|    for (Py_ssize_t i = 0; i < nbases; i++) {
  ------------------
  |  Branch (5010:28): [True: 934, False: 735]
  ------------------
 5011|    934|        PyObject *base = PyTuple_GET_ITEM(ctx->bases, i);
  ------------------
  |  |   29|    934|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    934|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    934|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5011:26): [True: 934, False: 0]
  ------------------
 5012|    934|        if (PyType_Check(base)) {
  ------------------
  |  |  766|    934|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    934|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    934|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 934, False: 0]
  |  |  ------------------
  ------------------
 5013|    934|            continue;
 5014|    934|        }
 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|    735|    PyTypeObject *winner;
 5029|    735|    winner = _PyType_CalculateMetaclass(ctx->metatype, ctx->bases);
 5030|    735|    if (winner == NULL) {
  ------------------
  |  Branch (5030:9): [True: 0, False: 735]
  ------------------
 5031|      0|        return -1;
 5032|      0|    }
 5033|       |
 5034|    735|    if (winner != ctx->metatype) {
  ------------------
  |  Branch (5034:9): [True: 2, False: 733]
  ------------------
 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|    733|    PyTypeObject *base = find_best_base(ctx->bases);
 5056|    733|    if (base == NULL) {
  ------------------
  |  Branch (5056:9): [True: 0, False: 733]
  ------------------
 5057|      0|        return -1;
 5058|      0|    }
 5059|       |
 5060|    733|    ctx->base = base;
 5061|    733|    ctx->bases = Py_NewRef(ctx->bases);
  ------------------
  |  |  647|    733|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5062|    733|    return 0;
 5063|    733|}
typeobject.c:type_new_impl:
 4951|    829|{
 4952|    829|    PyTypeObject *type = type_new_init(ctx);
 4953|    829|    if (type == NULL) {
  ------------------
  |  Branch (4953:9): [True: 0, False: 829]
  ------------------
 4954|      0|        return NULL;
 4955|      0|    }
 4956|       |
 4957|    829|    if (type_new_set_attrs(ctx, type) < 0) {
  ------------------
  |  Branch (4957:9): [True: 0, False: 829]
  ------------------
 4958|      0|        goto error;
 4959|      0|    }
 4960|       |
 4961|       |    /* Initialize the rest */
 4962|    829|    if (type_ready_publish(type, 1) < 0) {
  ------------------
  |  Branch (4962:9): [True: 0, False: 829]
  ------------------
 4963|      0|        goto error;
 4964|      0|    }
 4965|       |
 4966|    829|    if (!_PyDict_HasOnlyStringKeys(type->tp_dict)) {
  ------------------
  |  Branch (4966:9): [True: 0, False: 829]
  ------------------
 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|    829|    if (type_new_set_names(type) < 0) {
  ------------------
  |  Branch (4977:9): [True: 0, False: 829]
  ------------------
 4978|      0|        goto error;
 4979|      0|    }
 4980|       |
 4981|    829|    if (type_new_init_subclass(type, ctx->kwds) < 0) {
  ------------------
  |  Branch (4981:9): [True: 0, False: 829]
  ------------------
 4982|      0|        goto error;
 4983|      0|    }
 4984|       |
 4985|    829|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (4985:5): [True: 829, False: 0]
  ------------------
 4986|       |
 4987|    829|    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|    829|}
typeobject.c:type_new_init:
 4908|    829|{
 4909|    829|    PyObject *dict = type_new_copy_dict(ctx->orig_dict);
 4910|    829|    if (dict == NULL) {
  ------------------
  |  Branch (4910:9): [True: 0, False: 829]
  ------------------
 4911|      0|        goto error;
 4912|      0|    }
 4913|       |
 4914|    829|    if (type_new_get_slots(ctx, dict) < 0) {
  ------------------
  |  Branch (4914:9): [True: 0, False: 829]
  ------------------
 4915|      0|        goto error;
 4916|      0|    }
 4917|    829|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (4917:5): [True: 829, False: 0]
  ------------------
 4918|       |
 4919|    829|    if (type_new_slots(ctx, dict) < 0) {
  ------------------
  |  Branch (4919:9): [True: 0, False: 829]
  ------------------
 4920|      0|        goto error;
 4921|      0|    }
 4922|       |
 4923|    829|    PyTypeObject *type = type_new_alloc(ctx);
 4924|    829|    if (type == NULL) {
  ------------------
  |  Branch (4924:9): [True: 0, False: 829]
  ------------------
 4925|      0|        goto error;
 4926|      0|    }
 4927|       |
 4928|    829|    set_tp_dict(type, dict);
 4929|       |
 4930|    829|    PyHeapTypeObject *et = (PyHeapTypeObject*)type;
 4931|    829|    if (ctx->slots && PyTuple_GET_SIZE(ctx->slots)) {
  ------------------
  |  |   27|     83|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     83|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     83|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 15, False: 68]
  |  |  ------------------
  ------------------
  |  Branch (4931:9): [True: 83, False: 746]
  ------------------
 4932|     15|        et->ht_slots = ctx->slots;
 4933|     15|        ctx->slots = NULL;
 4934|     15|    }
 4935|    814|    else {
 4936|    814|        et->ht_slots = NULL;
 4937|    814|        Py_CLEAR(ctx->slots);
  ------------------
  |  |  487|    814|    do { \
  |  |  488|    814|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    814|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    814|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    814|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    814|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    814|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 68, False: 746]
  |  |  ------------------
  |  |  491|     68|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     68|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     68|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     68|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     68|        } \
  |  |  494|    814|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 814]
  |  |  ------------------
  ------------------
 4938|    814|    }
 4939|       |
 4940|    829|    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|    829|}
typeobject.c:type_new_copy_dict:
 4852|    829|{
 4853|    829|    PyObject *dict = _PyDict_CopyAsDict(orig_dict);
 4854|    829|    if (dict == NULL) {
  ------------------
  |  Branch (4854:9): [True: 0, False: 829]
  ------------------
 4855|      0|        return NULL;
 4856|      0|    }
 4857|    829|    if (((PyDictObject *)dict)->ma_keys->dk_kind != DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (4857:9): [True: 829, False: 0]
  ------------------
 4858|       |        // Only exact str keys are possible, nothing to do.
 4859|    829|        return dict;
 4860|    829|    }
 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|    829|{
 4816|    829|    PyObject *slots = PyDict_GetItemWithError(dict, &_Py_ID(__slots__));
  ------------------
  |  |  951|    829|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    829|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    829|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4817|    829|    if (slots == NULL) {
  ------------------
  |  Branch (4817:9): [True: 746, False: 83]
  ------------------
 4818|    746|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4818:13): [True: 0, False: 746]
  ------------------
 4819|      0|            return -1;
 4820|      0|        }
 4821|    746|        ctx->slots = NULL;
 4822|    746|        ctx->nslot = 0;
 4823|    746|        return 0;
 4824|    746|    }
 4825|       |
 4826|       |    // Make it into a tuple
 4827|     83|    PyObject *new_slots;
 4828|     83|    if (PyUnicode_Check(slots)) {
  ------------------
  |  |  103|     83|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     83|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 83]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4829|      0|        new_slots = PyTuple_Pack(1, slots);
 4830|      0|    }
 4831|     83|    else {
 4832|     83|        new_slots = PySequence_Tuple(slots);
 4833|     83|    }
 4834|     83|    if (new_slots == NULL) {
  ------------------
  |  Branch (4834:9): [True: 0, False: 83]
  ------------------
 4835|      0|        return -1;
 4836|      0|    }
 4837|     83|    assert(PyTuple_CheckExact(new_slots));
  ------------------
  |  Branch (4837:5): [True: 83, False: 0]
  ------------------
 4838|     83|    ctx->slots = new_slots;
 4839|     83|    ctx->nslot = PyTuple_GET_SIZE(new_slots);
  ------------------
  |  |   27|     83|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     83|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     83|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4840|     83|    return 0;
 4841|     83|}
typeobject.c:type_new_slots:
 4328|    829|{
 4329|       |    // Check for a __slots__ sequence variable in dict, and count it
 4330|    829|    ctx->add_dict = 0;
 4331|    829|    ctx->add_weak = 0;
 4332|    829|    ctx->may_add_dict = (ctx->base->tp_dictoffset == 0);
 4333|    829|    ctx->may_add_weak = (ctx->base->tp_weaklistoffset == 0);
 4334|       |
 4335|    829|    if (ctx->slots == NULL) {
  ------------------
  |  Branch (4335:9): [True: 746, False: 83]
  ------------------
 4336|    746|        if (ctx->may_add_dict) {
  ------------------
  |  Branch (4336:13): [True: 154, False: 592]
  ------------------
 4337|    154|            ctx->add_dict++;
 4338|    154|        }
 4339|    746|        if (ctx->may_add_weak && ctx->base->tp_itemsize == 0) {
  ------------------
  |  Branch (4339:13): [True: 198, False: 548]
  |  Branch (4339:34): [True: 190, False: 8]
  ------------------
 4340|    190|            ctx->add_weak++;
 4341|    190|        }
 4342|    746|    }
 4343|     83|    else {
 4344|       |        /* Have slots */
 4345|     83|        if (type_new_slots_impl(ctx, dict) < 0) {
  ------------------
  |  Branch (4345:13): [True: 0, False: 83]
  ------------------
 4346|      0|            return -1;
 4347|      0|        }
 4348|     83|    }
 4349|    829|    return 0;
 4350|    829|}
typeobject.c:type_new_slots_impl:
 4306|     83|{
 4307|     83|    if (type_new_visit_slots(ctx) < 0) {
  ------------------
  |  Branch (4307:9): [True: 0, False: 83]
  ------------------
 4308|      0|        return -1;
 4309|      0|    }
 4310|       |
 4311|     83|    PyObject *new_slots = type_new_copy_slots(ctx, dict);
 4312|     83|    if (new_slots == NULL) {
  ------------------
  |  Branch (4312:9): [True: 0, False: 83]
  ------------------
 4313|      0|        return -1;
 4314|      0|    }
 4315|     83|    assert(PyTuple_CheckExact(new_slots));
  ------------------
  |  Branch (4315:5): [True: 83, False: 0]
  ------------------
 4316|       |
 4317|     83|    Py_XSETREF(ctx->slots, new_slots);
  ------------------
  |  |  576|     83|    do { \
  |  |  577|     83|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|     83|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|     83|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|     83|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|     83|        *_tmp_dst_ptr = (src); \
  |  |  580|     83|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|     83|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     83|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     83|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|     83|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 83]
  |  |  ------------------
  ------------------
 4318|     83|    ctx->nslot = PyTuple_GET_SIZE(new_slots);
  ------------------
  |  |   27|     83|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     83|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     83|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4319|       |
 4320|       |    /* Secondary bases may provide weakrefs or dict */
 4321|     83|    type_new_slots_bases(ctx);
 4322|     83|    return 0;
 4323|     83|}
typeobject.c:type_new_visit_slots:
 4160|     83|{
 4161|     83|    PyObject *slots = ctx->slots;
 4162|     83|    Py_ssize_t nslot = ctx->nslot;
 4163|    130|    for (Py_ssize_t i = 0; i < nslot; i++) {
  ------------------
  |  Branch (4163:28): [True: 47, False: 83]
  ------------------
 4164|     47|        PyObject *name = PyTuple_GET_ITEM(slots, i);
  ------------------
  |  |   29|     47|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     47|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4164:26): [True: 47, False: 0]
  ------------------
 4165|     47|        if (!valid_identifier(name)) {
  ------------------
  |  Branch (4165:13): [True: 0, False: 47]
  ------------------
 4166|      0|            return -1;
 4167|      0|        }
 4168|     47|        assert(PyUnicode_Check(name));
  ------------------
  |  Branch (4168:9): [True: 47, False: 0]
  ------------------
 4169|     47|        if (_PyUnicode_Equal(name, &_Py_ID(__dict__))) {
  ------------------
  |  |  951|     47|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     47|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     47|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4169:13): [True: 1, False: 46]
  ------------------
 4170|      1|            if (!ctx->may_add_dict || ctx->add_dict != 0) {
  ------------------
  |  Branch (4170:17): [True: 0, False: 1]
  |  Branch (4170:39): [True: 0, False: 1]
  ------------------
 4171|      0|                PyErr_SetString(PyExc_TypeError,
 4172|      0|                    "__dict__ slot disallowed: "
 4173|      0|                    "we already got one");
 4174|      0|                return -1;
 4175|      0|            }
 4176|      1|            ctx->add_dict++;
 4177|      1|        }
 4178|     47|        if (_PyUnicode_Equal(name, &_Py_ID(__weakref__))) {
  ------------------
  |  |  951|     47|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     47|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     47|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4178:13): [True: 4, False: 43]
  ------------------
 4179|      4|            if (!ctx->may_add_weak || ctx->add_weak != 0) {
  ------------------
  |  Branch (4179:17): [True: 0, False: 4]
  |  Branch (4179:39): [True: 0, False: 4]
  ------------------
 4180|      0|                PyErr_SetString(PyExc_TypeError,
 4181|      0|                    "__weakref__ slot disallowed: "
 4182|      0|                    "we already got one");
 4183|      0|                return -1;
 4184|      0|            }
 4185|      4|            ctx->add_weak++;
 4186|      4|        }
 4187|     47|    }
 4188|     83|    return 0;
 4189|     83|}
typeobject.c:valid_identifier:
 4046|     47|{
 4047|     47|    if (!PyUnicode_Check(s)) {
  ------------------
  |  |  103|     47|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     47|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4047:9): [True: 0, False: 47]
  ------------------
 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|     47|    if (!PyUnicode_IsIdentifier(s)) {
  ------------------
  |  Branch (4053:9): [True: 0, False: 47]
  ------------------
 4054|      0|        PyErr_SetString(PyExc_TypeError,
 4055|      0|                        "__slots__ must be identifiers");
 4056|      0|        return 0;
 4057|      0|    }
 4058|     47|    return 1;
 4059|     47|}
typeobject.c:type_new_copy_slots:
 4198|     83|{
 4199|     83|    PyObject *slots = ctx->slots;
 4200|     83|    Py_ssize_t nslot = ctx->nslot;
 4201|       |
 4202|     83|    Py_ssize_t new_nslot = nslot - ctx->add_dict - ctx->add_weak;
 4203|     83|    PyObject *new_slots = PyList_New(new_nslot);
 4204|     83|    if (new_slots == NULL) {
  ------------------
  |  Branch (4204:9): [True: 0, False: 83]
  ------------------
 4205|      0|        return NULL;
 4206|      0|    }
 4207|       |
 4208|     83|    Py_ssize_t j = 0;
 4209|    130|    for (Py_ssize_t i = 0; i < nslot; i++) {
  ------------------
  |  Branch (4209:28): [True: 47, False: 83]
  ------------------
 4210|     47|        PyObject *slot = PyTuple_GET_ITEM(slots, i);
  ------------------
  |  |   29|     47|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     47|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4210:26): [True: 47, False: 0]
  ------------------
 4211|     47|        if ((ctx->add_dict && _PyUnicode_Equal(slot, &_Py_ID(__dict__))) ||
  ------------------
  |  |  951|      7|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4211:14): [True: 7, False: 40]
  |  Branch (4211:31): [True: 1, False: 6]
  ------------------
 4212|     46|            (ctx->add_weak && _PyUnicode_Equal(slot, &_Py_ID(__weakref__))))
  ------------------
  |  |  951|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4212:14): [True: 12, False: 34]
  |  Branch (4212:31): [True: 4, False: 8]
  ------------------
 4213|      5|        {
 4214|      5|            continue;
 4215|      5|        }
 4216|       |
 4217|     42|        slot =_Py_Mangle(ctx->name, slot);
 4218|     42|        if (!slot) {
  ------------------
  |  Branch (4218:13): [True: 0, False: 42]
  ------------------
 4219|      0|            goto error;
 4220|      0|        }
 4221|     42|        PyList_SET_ITEM(new_slots, j, slot);
  ------------------
  |  |   50|     42|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4222|       |
 4223|     42|        int r = PyDict_Contains(dict, slot);
 4224|     42|        if (r < 0) {
  ------------------
  |  Branch (4224:13): [True: 0, False: 42]
  ------------------
 4225|      0|            goto error;
 4226|      0|        }
 4227|     42|        if (r > 0) {
  ------------------
  |  Branch (4227:13): [True: 0, False: 42]
  ------------------
 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|     42|        j++;
 4243|     42|    }
 4244|     83|    assert(j == new_nslot);
  ------------------
  |  Branch (4244:5): [True: 83, False: 0]
  ------------------
 4245|       |
 4246|     83|    if (PyList_Sort(new_slots) == -1) {
  ------------------
  |  Branch (4246:9): [True: 0, False: 83]
  ------------------
 4247|      0|        goto error;
 4248|      0|    }
 4249|       |
 4250|     83|    PyObject *tuple = PyList_AsTuple(new_slots);
 4251|     83|    Py_DECREF(new_slots);
  ------------------
  |  |  430|     83|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     83|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     83|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4252|     83|    if (tuple == NULL) {
  ------------------
  |  Branch (4252:9): [True: 0, False: 83]
  ------------------
 4253|      0|        return NULL;
 4254|      0|    }
 4255|       |
 4256|     83|    assert(PyTuple_GET_SIZE(tuple) == new_nslot);
  ------------------
  |  Branch (4256:5): [True: 83, False: 0]
  ------------------
 4257|     83|    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|     83|}
typeobject.c:type_new_slots_bases:
 4267|     83|{
 4268|     83|    Py_ssize_t nbases = PyTuple_GET_SIZE(ctx->bases);
  ------------------
  |  |   27|     83|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     83|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     83|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4269|     83|    if (nbases > 1 &&
  ------------------
  |  Branch (4269:9): [True: 10, False: 73]
  ------------------
 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|     83|}
typeobject.c:type_new_alloc:
 4355|    829|{
 4356|    829|    PyTypeObject *metatype = ctx->metatype;
 4357|    829|    PyTypeObject *type;
 4358|       |
 4359|       |    // Allocate the type object
 4360|    829|    type = (PyTypeObject *)metatype->tp_alloc(metatype, ctx->nslot);
 4361|    829|    if (type == NULL) {
  ------------------
  |  Branch (4361:9): [True: 0, False: 829]
  ------------------
 4362|      0|        return NULL;
 4363|      0|    }
 4364|    829|    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|    829|    type_set_flags(type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE |
  ------------------
  |  |  560|    829|#define Py_TPFLAGS_DEFAULT  ( \
  |  |  561|    829|                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
  |  |  ------------------
  |  |  |  |  530|    829|#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
  |  |  ------------------
  |  |  562|    829|                0)
  ------------------
                  type_set_flags(type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE |
  ------------------
  |  |  503|    829|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 4370|    829|                   Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  506|    829|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
                                 Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  524|    829|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 4371|       |
 4372|       |    // Initialize essential fields
 4373|    829|    type->tp_as_async = &et->as_async;
 4374|    829|    type->tp_as_number = &et->as_number;
 4375|    829|    type->tp_as_sequence = &et->as_sequence;
 4376|    829|    type->tp_as_mapping = &et->as_mapping;
 4377|    829|    type->tp_as_buffer = &et->as_buffer;
 4378|       |
 4379|    829|    set_tp_bases(type, Py_NewRef(ctx->bases));
  ------------------
  |  |  647|    829|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    829|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    829|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4380|    829|    type->tp_base = (PyTypeObject *)Py_NewRef(ctx->base);
  ------------------
  |  |  647|    829|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    829|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    829|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4381|       |
 4382|    829|    type->tp_dealloc = subtype_dealloc;
 4383|       |    /* Always override allocation strategy to use regular heap */
 4384|    829|    type->tp_alloc = PyType_GenericAlloc;
 4385|    829|    type->tp_free = PyObject_GC_Del;
 4386|       |
 4387|    829|    type->tp_traverse = subtype_traverse;
 4388|    829|    type->tp_clear = subtype_clear;
 4389|       |
 4390|    829|    et->ht_name = Py_NewRef(ctx->name);
  ------------------
  |  |  647|    829|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    829|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    829|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4391|    829|    et->ht_module = NULL;
 4392|    829|    et->_ht_tpname = NULL;
 4393|    829|    et->ht_token = NULL;
 4394|       |
 4395|       |#ifdef Py_GIL_DISABLED
 4396|       |    et->unique_id = _PyObject_AssignUniqueId((PyObject *)et);
 4397|       |#endif
 4398|       |
 4399|    829|    return type;
 4400|    829|}
typeobject.c:subtype_traverse:
 2634|  16.9k|{
 2635|  16.9k|    PyTypeObject *type, *base;
 2636|  16.9k|    traverseproc basetraverse;
 2637|       |
 2638|       |    /* Find the nearest base with a different tp_traverse,
 2639|       |       and traverse slots while we're at it */
 2640|  16.9k|    type = Py_TYPE(self);
  ------------------
  |  |  213|  16.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2641|  16.9k|    base = type;
 2642|  40.6k|    while ((basetraverse = base->tp_traverse) == subtype_traverse) {
  ------------------
  |  Branch (2642:12): [True: 23.6k, False: 16.9k]
  ------------------
 2643|  23.6k|        if (Py_SIZE(base)) {
  ------------------
  |  |  214|  23.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  23.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 84, False: 23.5k]
  |  |  ------------------
  ------------------
 2644|     84|            int err = traverse_slots(base, self, visit, arg);
 2645|     84|            if (err)
  ------------------
  |  Branch (2645:17): [True: 0, False: 84]
  ------------------
 2646|      0|                return err;
 2647|     84|        }
 2648|  23.6k|        base = base->tp_base;
 2649|  23.6k|        assert(base);
  ------------------
  |  Branch (2649:9): [True: 23.6k, False: 0]
  ------------------
 2650|  23.6k|    }
 2651|       |
 2652|  16.9k|    if (type->tp_dictoffset != base->tp_dictoffset) {
  ------------------
  |  Branch (2652:9): [True: 15.1k, False: 1.86k]
  ------------------
 2653|  15.1k|        assert(base->tp_dictoffset == 0);
  ------------------
  |  Branch (2653:9): [True: 15.1k, False: 0]
  ------------------
 2654|  15.1k|        if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  15.1k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2654:13): [True: 15.1k, False: 0]
  ------------------
 2655|  15.1k|            assert(type->tp_dictoffset == -1);
  ------------------
  |  Branch (2655:13): [True: 15.1k, False: 0]
  ------------------
 2656|  15.1k|            int err = PyObject_VisitManagedDict(self, visit, arg);
 2657|  15.1k|            if (err) {
  ------------------
  |  Branch (2657:17): [True: 0, False: 15.1k]
  ------------------
 2658|      0|                return err;
 2659|      0|            }
 2660|  15.1k|        }
 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|  15.1k|    }
 2668|       |
 2669|  16.9k|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|  33.9k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2669:9): [True: 16.9k, False: 0]
  ------------------
 2670|  16.9k|        && (!basetraverse || !(base->tp_flags & Py_TPFLAGS_HEAPTYPE))) {
  ------------------
  |  |  503|  5.23k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2670:13): [True: 11.7k, False: 5.23k]
  |  Branch (2670:30): [True: 4.59k, False: 640]
  ------------------
 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|  16.3k|        Py_VISIT(type);
  ------------------
  |  |  194|  16.3k|    do {                                                                \
  |  |  195|  16.3k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16.3k, False: 0]
  |  |  ------------------
  |  |  196|  16.3k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  16.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  16.3k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16.3k]
  |  |  ------------------
  |  |  198|  16.3k|                return vret;                                            \
  |  |  199|  16.3k|        }                                                               \
  |  |  200|  16.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16.3k]
  |  |  ------------------
  ------------------
 2678|  16.3k|    }
 2679|       |
 2680|  16.9k|    if (basetraverse)
  ------------------
  |  Branch (2680:9): [True: 5.23k, False: 11.7k]
  ------------------
 2681|  5.23k|        return basetraverse(self, visit, arg);
 2682|  11.7k|    return 0;
 2683|  16.9k|}
typeobject.c:traverse_slots:
 2612|     84|{
 2613|     84|    Py_ssize_t i, n;
 2614|     84|    PyMemberDef *mp;
 2615|       |
 2616|     84|    n = Py_SIZE(type);
  ------------------
  |  |  214|     84|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2617|     84|    mp = _PyHeapType_GET_MEMBERS((PyHeapTypeObject *)type);
 2618|    420|    for (i = 0; i < n; i++, mp++) {
  ------------------
  |  Branch (2618:17): [True: 336, False: 84]
  ------------------
 2619|    336|        if (mp->type == Py_T_OBJECT_EX) {
  ------------------
  |  |   75|    336|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (2619:13): [True: 336, False: 0]
  ------------------
 2620|    336|            void *addr = _PyMember_GetOffset(self, mp);
 2621|    336|            PyObject *obj = *(PyObject **)addr;
 2622|    336|            if (obj != NULL) {
  ------------------
  |  Branch (2622:17): [True: 336, False: 0]
  ------------------
 2623|    336|                int err = visit(obj, arg);
 2624|    336|                if (err)
  ------------------
  |  Branch (2624:21): [True: 0, False: 336]
  ------------------
 2625|      0|                    return err;
 2626|    336|            }
 2627|    336|        }
 2628|    336|    }
 2629|     84|    return 0;
 2630|     84|}
typeobject.c:set_tp_dict:
  495|  1.37k|{
  496|  1.37k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.37k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (496:9): [True: 412, False: 959]
  ------------------
  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|    959|    self->tp_dict = dict;
  504|    959|}
typeobject.c:type_new_set_attrs:
 4750|    829|{
 4751|    829|    if (type_new_set_name(ctx, type) < 0) {
  ------------------
  |  Branch (4751:9): [True: 0, False: 829]
  ------------------
 4752|      0|        return -1;
 4753|      0|    }
 4754|       |
 4755|    829|    PyObject *dict = lookup_tp_dict(type);
 4756|    829|    assert(dict);
  ------------------
  |  Branch (4756:5): [True: 829, False: 0]
  ------------------
 4757|       |
 4758|    829|    if (type_new_set_module(dict) < 0) {
  ------------------
  |  Branch (4758:9): [True: 0, False: 829]
  ------------------
 4759|      0|        return -1;
 4760|      0|    }
 4761|       |
 4762|    829|    if (type_new_set_ht_name(type, dict) < 0) {
  ------------------
  |  Branch (4762:9): [True: 0, False: 829]
  ------------------
 4763|      0|        return -1;
 4764|      0|    }
 4765|       |
 4766|    829|    if (type_new_set_doc(type, dict) < 0) {
  ------------------
  |  Branch (4766:9): [True: 0, False: 829]
  ------------------
 4767|      0|        return -1;
 4768|      0|    }
 4769|       |
 4770|       |    /* Special-case __new__: if it's a plain function,
 4771|       |       make it a static function */
 4772|    829|    if (type_new_staticmethod(dict, &_Py_ID(__new__)) < 0) {
  ------------------
  |  |  951|    829|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    829|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    829|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4772:9): [True: 0, False: 829]
  ------------------
 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|    829|    if (type_new_classmethod(dict, &_Py_ID(__init_subclass__)) < 0) {
  ------------------
  |  |  951|    829|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    829|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    829|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4778:9): [True: 0, False: 829]
  ------------------
 4779|      0|        return -1;
 4780|      0|    }
 4781|    829|    if (type_new_classmethod(dict, &_Py_ID(__class_getitem__)) < 0) {
  ------------------
  |  |  951|    829|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    829|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    829|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4781:9): [True: 0, False: 829]
  ------------------
 4782|      0|        return -1;
 4783|      0|    }
 4784|       |
 4785|    829|    if (type_new_descriptors(ctx, type, dict) < 0) {
  ------------------
  |  Branch (4785:9): [True: 0, False: 829]
  ------------------
 4786|      0|        return -1;
 4787|      0|    }
 4788|       |
 4789|    829|    type_new_set_slots(ctx, type);
 4790|       |
 4791|    829|    if (type_new_set_classcell(type, dict) < 0) {
  ------------------
  |  Branch (4791:9): [True: 0, False: 829]
  ------------------
 4792|      0|        return -1;
 4793|      0|    }
 4794|    829|    if (type_new_set_classdictcell(dict) < 0) {
  ------------------
  |  Branch (4794:9): [True: 0, False: 829]
  ------------------
 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|    829|    return 0;
 4810|    829|}
typeobject.c:type_new_set_name:
 4405|    829|{
 4406|    829|    Py_ssize_t name_size;
 4407|    829|    type->tp_name = PyUnicode_AsUTF8AndSize(ctx->name, &name_size);
 4408|    829|    if (!type->tp_name) {
  ------------------
  |  Branch (4408:9): [True: 0, False: 829]
  ------------------
 4409|      0|        return -1;
 4410|      0|    }
 4411|    829|    if (strlen(type->tp_name) != (size_t)name_size) {
  ------------------
  |  Branch (4411:9): [True: 0, False: 829]
  ------------------
 4412|      0|        PyErr_SetString(PyExc_ValueError,
 4413|      0|                        "type name must not contain null characters");
 4414|      0|        return -1;
 4415|      0|    }
 4416|    829|    return 0;
 4417|    829|}
typeobject.c:type_new_set_module:
 4423|    829|{
 4424|    829|    int r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  951|    829|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    829|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    829|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4425|    829|    if (r < 0) {
  ------------------
  |  Branch (4425:9): [True: 0, False: 829]
  ------------------
 4426|      0|        return -1;
 4427|      0|    }
 4428|    829|    if (r > 0) {
  ------------------
  |  Branch (4428:9): [True: 824, False: 5]
  ------------------
 4429|    824|        return 0;
 4430|    824|    }
 4431|       |
 4432|      5|    PyObject *globals = PyEval_GetGlobals();
 4433|      5|    if (globals == NULL) {
  ------------------
  |  Branch (4433:9): [True: 0, False: 5]
  ------------------
 4434|      0|        return 0;
 4435|      0|    }
 4436|       |
 4437|      5|    PyObject *module;
 4438|      5|    r = PyDict_GetItemRef(globals, &_Py_ID(__name__), &module);
  ------------------
  |  |  951|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4439|      5|    if (module) {
  ------------------
  |  Branch (4439:9): [True: 5, False: 0]
  ------------------
 4440|      5|        r = PyDict_SetItem(dict, &_Py_ID(__module__), module);
  ------------------
  |  |  951|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4441|      5|        Py_DECREF(module);
  ------------------
  |  |  430|      5|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4442|      5|    }
 4443|      5|    return r;
 4444|      5|}
typeobject.c:type_new_set_ht_name:
 4451|    829|{
 4452|    829|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4453|    829|    PyObject *qualname;
 4454|    829|    if (PyDict_GetItemRef(dict, &_Py_ID(__qualname__), &qualname) < 0) {
  ------------------
  |  |  951|    829|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    829|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    829|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4454:9): [True: 0, False: 829]
  ------------------
 4455|      0|        return -1;
 4456|      0|    }
 4457|    829|    if (qualname != NULL) {
  ------------------
  |  Branch (4457:9): [True: 689, False: 140]
  ------------------
 4458|    689|        if (!PyUnicode_Check(qualname)) {
  ------------------
  |  |  103|    689|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    689|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4458:13): [True: 0, False: 689]
  ------------------
 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|    689|        et->ht_qualname = qualname;
 4466|    689|        if (PyDict_DelItem(dict, &_Py_ID(__qualname__)) < 0) {
  ------------------
  |  |  951|    689|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    689|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    689|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4466:13): [True: 0, False: 689]
  ------------------
 4467|      0|            return -1;
 4468|      0|        }
 4469|    689|    }
 4470|    140|    else {
 4471|    140|        et->ht_qualname = Py_NewRef(et->ht_name);
  ------------------
  |  |  647|    140|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4472|    140|    }
 4473|    829|    return 0;
 4474|    829|}
typeobject.c:type_new_set_doc:
 4482|    829|{
 4483|    829|    PyObject *doc = PyDict_GetItemWithError(dict, &_Py_ID(__doc__));
  ------------------
  |  |  951|    829|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    829|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    829|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4484|    829|    if (doc == NULL) {
  ------------------
  |  Branch (4484:9): [True: 546, False: 283]
  ------------------
 4485|    546|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4485:13): [True: 0, False: 546]
  ------------------
 4486|      0|            return -1;
 4487|      0|        }
 4488|       |        // no __doc__ key
 4489|    546|        return 0;
 4490|    546|    }
 4491|    283|    if (!PyUnicode_Check(doc)) {
  ------------------
  |  |  103|    283|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    283|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4491:9): [True: 0, False: 283]
  ------------------
 4492|       |        // ignore non-string __doc__
 4493|      0|        return 0;
 4494|      0|    }
 4495|       |
 4496|    283|    const char *doc_str = PyUnicode_AsUTF8(doc);
 4497|    283|    if (doc_str == NULL) {
  ------------------
  |  Branch (4497:9): [True: 0, False: 283]
  ------------------
 4498|      0|        return -1;
 4499|      0|    }
 4500|       |
 4501|       |    // Silently truncate the docstring if it contains a null byte
 4502|    283|    Py_ssize_t size = strlen(doc_str) + 1;
 4503|    283|    char *tp_doc = (char *)PyMem_Malloc(size);
 4504|    283|    if (tp_doc == NULL) {
  ------------------
  |  Branch (4504:9): [True: 0, False: 283]
  ------------------
 4505|      0|        PyErr_NoMemory();
 4506|      0|        return -1;
 4507|      0|    }
 4508|       |
 4509|    283|    memcpy(tp_doc, doc_str, size);
 4510|    283|    type->tp_doc = tp_doc;
 4511|    283|    return 0;
 4512|    283|}
typeobject.c:type_new_staticmethod:
 4517|    829|{
 4518|    829|    PyObject *func = PyDict_GetItemWithError(dict, attr);
 4519|    829|    if (func == NULL) {
  ------------------
  |  Branch (4519:9): [True: 808, False: 21]
  ------------------
 4520|    808|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4520:13): [True: 0, False: 808]
  ------------------
 4521|      0|            return -1;
 4522|      0|        }
 4523|    808|        return 0;
 4524|    808|    }
 4525|     21|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|     21|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|     21|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4525:9): [True: 0, False: 21]
  ------------------
 4526|      0|        return 0;
 4527|      0|    }
 4528|       |
 4529|     21|    PyObject *static_func = PyStaticMethod_New(func);
 4530|     21|    if (static_func == NULL) {
  ------------------
  |  Branch (4530:9): [True: 0, False: 21]
  ------------------
 4531|      0|        return -1;
 4532|      0|    }
 4533|     21|    if (PyDict_SetItem(dict, attr, static_func) < 0) {
  ------------------
  |  Branch (4533:9): [True: 0, False: 21]
  ------------------
 4534|      0|        Py_DECREF(static_func);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4535|      0|        return -1;
 4536|      0|    }
 4537|     21|    Py_DECREF(static_func);
  ------------------
  |  |  430|     21|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4538|     21|    return 0;
 4539|     21|}
typeobject.c:type_new_classmethod:
 4544|  1.65k|{
 4545|  1.65k|    PyObject *func = PyDict_GetItemWithError(dict, attr);
 4546|  1.65k|    if (func == NULL) {
  ------------------
  |  Branch (4546:9): [True: 1.63k, False: 19]
  ------------------
 4547|  1.63k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4547:13): [True: 0, False: 1.63k]
  ------------------
 4548|      0|            return -1;
 4549|      0|        }
 4550|  1.63k|        return 0;
 4551|  1.63k|    }
 4552|     19|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|     19|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|     19|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4552:9): [True: 19, False: 0]
  ------------------
 4553|     19|        return 0;
 4554|     19|    }
 4555|       |
 4556|      0|    PyObject *method = PyClassMethod_New(func);
 4557|      0|    if (method == NULL) {
  ------------------
  |  Branch (4557:9): [True: 0, False: 0]
  ------------------
 4558|      0|        return -1;
 4559|      0|    }
 4560|       |
 4561|      0|    if (PyDict_SetItem(dict, attr, method) < 0) {
  ------------------
  |  Branch (4561:9): [True: 0, False: 0]
  ------------------
 4562|      0|        Py_DECREF(method);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4563|      0|        return -1;
 4564|      0|    }
 4565|      0|    Py_DECREF(method);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4566|      0|    return 0;
 4567|      0|}
typeobject.c:type_new_descriptors:
 4599|    829|{
 4600|    829|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4601|    829|    Py_ssize_t slotoffset = ctx->base->tp_basicsize;
 4602|    829|    if (et->ht_slots != NULL) {
  ------------------
  |  Branch (4602:9): [True: 15, False: 814]
  ------------------
 4603|     15|        PyMemberDef *mp = _PyHeapType_GET_MEMBERS(et);
 4604|     15|        Py_ssize_t nslot = PyTuple_GET_SIZE(et->ht_slots);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4605|     15|        int after_items = (ctx->base->tp_itemsize != 0 &&
  ------------------
  |  Branch (4605:28): [True: 0, False: 15]
  ------------------
 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|     15|        if (ctx->base->tp_itemsize != 0 &&
  ------------------
  |  Branch (4607:13): [True: 0, False: 15]
  ------------------
 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|     57|        for (Py_ssize_t i = 0; i < nslot; i++, mp++) {
  ------------------
  |  Branch (4615:32): [True: 42, False: 15]
  ------------------
 4616|     42|            mp->name = PyUnicode_AsUTF8(
 4617|     42|                PyTuple_GET_ITEM(et->ht_slots, i));
  ------------------
  |  |   29|     42|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     42|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4617:17): [True: 42, False: 0]
  ------------------
 4618|     42|            if (mp->name == NULL) {
  ------------------
  |  Branch (4618:17): [True: 0, False: 42]
  ------------------
 4619|      0|                return -1;
 4620|      0|            }
 4621|     42|            mp->type = Py_T_OBJECT_EX;
  ------------------
  |  |   75|     42|#define Py_T_OBJECT_EX 16
  ------------------
 4622|     42|            mp->offset = slotoffset;
 4623|     42|            if (after_items) {
  ------------------
  |  Branch (4623:17): [True: 0, False: 42]
  ------------------
 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|     42|            assert(strcmp(mp->name, "__dict__") != 0);
  ------------------
  |  Branch (4628:13): [True: 42, False: 0]
  ------------------
 4629|     42|            assert(strcmp(mp->name, "__weakref__") != 0);
  ------------------
  |  Branch (4629:13): [True: 42, False: 0]
  ------------------
 4630|       |
 4631|     42|            slotoffset += sizeof(PyObject *);
 4632|     42|        }
 4633|     15|    }
 4634|       |
 4635|    829|    if (ctx->add_weak) {
  ------------------
  |  Branch (4635:9): [True: 194, False: 635]
  ------------------
 4636|    194|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF) == 0);
  ------------------
  |  Branch (4636:9): [True: 194, False: 0]
  ------------------
 4637|    194|        type_add_flags(type, Py_TPFLAGS_MANAGED_WEAKREF);
  ------------------
  |  |  477|    194|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  ------------------
 4638|    194|        type->tp_weaklistoffset = MANAGED_WEAKREF_OFFSET;
  ------------------
  |  |  911|    194|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
 4639|    194|    }
 4640|    829|    if (ctx->add_dict) {
  ------------------
  |  Branch (4640:9): [True: 155, False: 674]
  ------------------
 4641|    155|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (4641:9): [True: 155, False: 0]
  ------------------
 4642|    155|        type_add_flags(type, Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  |  482|    155|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
 4643|    155|        type->tp_dictoffset = -1;
 4644|    155|    }
 4645|       |
 4646|    829|    type->tp_basicsize = slotoffset;
 4647|    829|    type->tp_itemsize = ctx->base->tp_itemsize;
 4648|    829|    type->tp_members = _PyHeapType_GET_MEMBERS(et);
 4649|       |
 4650|    829|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4651|       |
 4652|    829|    if (type->tp_dictoffset) {
  ------------------
  |  Branch (4652:9): [True: 155, False: 674]
  ------------------
 4653|    155|        if (type_add_common_descriptor(
  ------------------
  |  Branch (4653:13): [True: 0, False: 155]
  ------------------
 4654|    155|            interp,
 4655|    155|            &interp->cached_objects.dict_descriptor,
 4656|    155|            &subtype_getset_dict,
 4657|    155|            dict) < 0)
 4658|      0|        {
 4659|      0|            return -1;
 4660|      0|        }
 4661|    155|    }
 4662|    829|    if (type->tp_weaklistoffset) {
  ------------------
  |  Branch (4662:9): [True: 194, False: 635]
  ------------------
 4663|    194|        if (type_add_common_descriptor(
  ------------------
  |  Branch (4663:13): [True: 0, False: 194]
  ------------------
 4664|    194|            interp,
 4665|    194|            &interp->cached_objects.weakref_descriptor,
 4666|    194|            &subtype_getset_weakref,
 4667|    194|            dict) < 0)
 4668|      0|        {
 4669|      0|            return -1;
 4670|      0|        }
 4671|    194|    }
 4672|       |
 4673|    829|    return 0;
 4674|    829|}
typeobject.c:type_add_common_descriptor:
 4575|    349|{
 4576|       |#ifdef Py_GIL_DISABLED
 4577|       |    PyMutex_Lock(&interp->cached_objects.descriptor_mutex);
 4578|       |#endif
 4579|    349|    PyObject *descr = *cache;
 4580|    349|    if (!descr) {
  ------------------
  |  Branch (4580:9): [True: 4, False: 345]
  ------------------
 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|    349|    if (!descr) {
  ------------------
  |  Branch (4587:9): [True: 0, False: 349]
  ------------------
 4588|      0|        return -1;
 4589|      0|    }
 4590|    349|    if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    349|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (4590:9): [True: 0, False: 349]
  ------------------
 4591|      0|        return -1;
 4592|      0|    }
 4593|    349|    return 0;
 4594|    349|}
typeobject.c:type_new_set_slots:
 4679|    829|{
 4680|    829|    type->tp_getset = NULL;
 4681|       |
 4682|       |    /* Special case some slots */
 4683|    829|    if (type->tp_dictoffset != 0 || ctx->nslot > 0) {
  ------------------
  |  Branch (4683:9): [True: 155, False: 674]
  |  Branch (4683:37): [True: 14, False: 660]
  ------------------
 4684|    169|        PyTypeObject *base = ctx->base;
 4685|    169|        if (base->tp_getattr == NULL && base->tp_getattro == NULL) {
  ------------------
  |  Branch (4685:13): [True: 169, False: 0]
  |  Branch (4685:41): [True: 0, False: 169]
  ------------------
 4686|      0|            type->tp_getattro = PyObject_GenericGetAttr;
 4687|      0|        }
 4688|    169|        if (base->tp_setattr == NULL && base->tp_setattro == NULL) {
  ------------------
  |  Branch (4688:13): [True: 169, False: 0]
  |  Branch (4688:41): [True: 0, False: 169]
  ------------------
 4689|      0|            type->tp_setattro = PyObject_GenericSetAttr;
 4690|      0|        }
 4691|    169|    }
 4692|    829|}
typeobject.c:type_new_set_classcell:
 4698|    829|{
 4699|    829|    PyObject *cell = PyDict_GetItemWithError(dict, &_Py_ID(__classcell__));
  ------------------
  |  |  951|    829|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    829|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    829|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4700|    829|    if (cell == NULL) {
  ------------------
  |  Branch (4700:9): [True: 809, False: 20]
  ------------------
 4701|    809|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4701:13): [True: 0, False: 809]
  ------------------
 4702|      0|            return -1;
 4703|      0|        }
 4704|    809|        return 0;
 4705|    809|    }
 4706|       |
 4707|       |    /* At least one method requires a reference to its defining class */
 4708|     20|    if (!PyCell_Check(cell)) {
  ------------------
  |  |   18|     20|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|     20|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4708:9): [True: 0, False: 20]
  ------------------
 4709|      0|        PyErr_Format(PyExc_TypeError,
 4710|      0|                     "__classcell__ must be a nonlocal cell, not %.200R",
 4711|      0|                     Py_TYPE(cell));
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4712|      0|        return -1;
 4713|      0|    }
 4714|       |
 4715|     20|    (void)PyCell_Set(cell, (PyObject *) type);
 4716|     20|    if (PyDict_DelItem(dict, &_Py_ID(__classcell__)) < 0) {
  ------------------
  |  |  951|     20|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     20|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     20|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4716:9): [True: 0, False: 20]
  ------------------
 4717|      0|        return -1;
 4718|      0|    }
 4719|     20|    return 0;
 4720|     20|}
typeobject.c:type_new_set_classdictcell:
 4724|    829|{
 4725|    829|    PyObject *cell = PyDict_GetItemWithError(dict, &_Py_ID(__classdictcell__));
  ------------------
  |  |  951|    829|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    829|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    829|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4726|    829|    if (cell == NULL) {
  ------------------
  |  Branch (4726:9): [True: 346, False: 483]
  ------------------
 4727|    346|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4727:13): [True: 0, False: 346]
  ------------------
 4728|      0|            return -1;
 4729|      0|        }
 4730|    346|        return 0;
 4731|    346|    }
 4732|       |
 4733|       |    /* At least one method requires a reference to the dict of its defining class */
 4734|    483|    if (!PyCell_Check(cell)) {
  ------------------
  |  |   18|    483|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|    483|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    483|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    483|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4734:9): [True: 0, False: 483]
  ------------------
 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|    483|    (void)PyCell_Set(cell, (PyObject *)dict);
 4742|    483|    if (PyDict_DelItem(dict, &_Py_ID(__classdictcell__)) < 0) {
  ------------------
  |  |  951|    483|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    483|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    483|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4742:9): [True: 0, False: 483]
  ------------------
 4743|      0|        return -1;
 4744|      0|    }
 4745|    483|    return 0;
 4746|    483|}
typeobject.c:type_new_set_names:
12387|    829|{
12388|    829|    PyObject *dict = lookup_tp_dict(type);
12389|    829|    PyObject *names_to_set = PyDict_Copy(dict);
12390|    829|    if (names_to_set == NULL) {
  ------------------
  |  Branch (12390:9): [True: 0, False: 829]
  ------------------
12391|      0|        return -1;
12392|      0|    }
12393|       |
12394|    829|    Py_ssize_t i = 0;
12395|    829|    PyObject *key, *value;
12396|  6.77k|    while (PyDict_Next(names_to_set, &i, &key, &value)) {
  ------------------
  |  Branch (12396:12): [True: 5.94k, False: 829]
  ------------------
12397|  5.94k|        PyObject *set_name = _PyObject_LookupSpecial(value,
12398|  5.94k|                                                     &_Py_ID(__set_name__));
  ------------------
  |  |  951|  5.94k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  5.94k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  5.94k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12399|  5.94k|        if (set_name == NULL) {
  ------------------
  |  Branch (12399:13): [True: 5.89k, False: 46]
  ------------------
12400|  5.89k|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (12400:17): [True: 0, False: 5.89k]
  ------------------
12401|      0|                goto error;
12402|      0|            }
12403|  5.89k|            continue;
12404|  5.89k|        }
12405|       |
12406|     46|        PyObject *res = PyObject_CallFunctionObjArgs(set_name, type, key, NULL);
12407|     46|        Py_DECREF(set_name);
  ------------------
  |  |  430|     46|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12408|       |
12409|     46|        if (res == NULL) {
  ------------------
  |  Branch (12409:13): [True: 0, False: 46]
  ------------------
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|     46|        else {
12417|     46|            Py_DECREF(res);
  ------------------
  |  |  430|     46|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12418|     46|        }
12419|     46|    }
12420|       |
12421|    829|    Py_DECREF(names_to_set);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12422|    829|    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|    829|}
typeobject.c:type_new_init_subclass:
12433|    829|{
12434|    829|    PyObject *args[2] = {(PyObject *)type, (PyObject *)type};
12435|    829|    PyObject *super = PyObject_Vectorcall((PyObject *)&PySuper_Type,
12436|    829|                                          args, 2, NULL);
12437|    829|    if (super == NULL) {
  ------------------
  |  Branch (12437:9): [True: 0, False: 829]
  ------------------
12438|      0|        return -1;
12439|      0|    }
12440|       |
12441|    829|    PyObject *func = PyObject_GetAttr(super, &_Py_ID(__init_subclass__));
  ------------------
  |  |  951|    829|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    829|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    829|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12442|    829|    Py_DECREF(super);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12443|    829|    if (func == NULL) {
  ------------------
  |  Branch (12443:9): [True: 0, False: 829]
  ------------------
12444|      0|        return -1;
12445|      0|    }
12446|       |
12447|    829|    PyObject *result = PyObject_VectorcallDict(func, NULL, 0, kwds);
12448|    829|    Py_DECREF(func);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12449|    829|    if (result == NULL) {
  ------------------
  |  Branch (12449:9): [True: 0, False: 829]
  ------------------
12450|      0|        return -1;
12451|      0|    }
12452|       |
12453|    829|    Py_DECREF(result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12454|    829|    return 0;
12455|    829|}
typeobject.c:type_is_gc:
 7228|   215M|{
 7229|   215M|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|   215M|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7230|   215M|    return type->tp_flags & Py_TPFLAGS_HEAPTYPE;
  ------------------
  |  |  503|   215M|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 7231|   215M|}
typeobject.c:type_vectorcall:
 5124|    819|{
 5125|    819|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    819|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5126|    819|    if (nargs == 1 && metatype == (PyObject *)&PyType_Type){
  ------------------
  |  Branch (5126:9): [True: 73, False: 746]
  |  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|    746|    PyThreadState *tstate = _PyThreadState_GET();
 5135|    746|    return _PyObject_MakeTpCall(tstate, metatype, args, nargs, kwnames);
 5136|    819|}
typeobject.c:object_richcompare:
 7470|  1.06k|{
 7471|  1.06k|    PyObject *res;
 7472|       |
 7473|  1.06k|    switch (op) {
 7474|       |
 7475|  1.06k|    case Py_EQ:
  ------------------
  |  |  654|  1.06k|#define Py_EQ 2
  ------------------
  |  Branch (7475:5): [True: 1.06k, 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|  1.06k|        res = Py_NewRef((self == other) ? Py_True : Py_NotImplemented);
  ------------------
  |  |  647|  1.06k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 4, False: 1.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7480|  1.06k|        break;
 7481|       |
 7482|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (7482:5): [True: 0, False: 1.06k]
  ------------------
 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: 1.06k]
  ------------------
 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|  1.06k|    }
 7508|       |
 7509|  1.06k|    return res;
 7510|  1.06k|}
typeobject.c:object_dealloc:
 7425|  1.82M|{
 7426|  1.82M|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  1.82M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7427|  1.82M|}
typeobject.c:object_str:
 7459|  41.6k|{
 7460|  41.6k|    unaryfunc f;
 7461|       |
 7462|  41.6k|    f = Py_TYPE(self)->tp_repr;
  ------------------
  |  |  213|  41.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  41.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7463|  41.6k|    if (f == NULL)
  ------------------
  |  Branch (7463:9): [True: 0, False: 41.6k]
  ------------------
 7464|      0|        f = object_repr;
 7465|  41.6k|    return f(self);
 7466|  41.6k|}
typeobject.c:object_subclasshook:
 8396|     16|{
 8397|     16|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|     16|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|     16|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 8398|     16|}
typeobject.c:object_init_subclass:
 8410|    829|{
 8411|    829|    Py_RETURN_NONE;
  ------------------
  |  |  628|    829|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    829|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 8412|    829|}
typeobject.c:object___format___impl:
 8434|  41.4k|{
 8435|       |    /* Issue 7994: If we're converting to a string, we
 8436|       |       should reject format specifications */
 8437|  41.4k|    if (PyUnicode_GET_LENGTH(format_spec) > 0) {
  ------------------
  |  |  300|  41.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8437:9): [True: 0, False: 41.4k]
  ------------------
 8438|      0|        PyErr_Format(PyExc_TypeError,
 8439|      0|                     "unsupported format string passed to %.200s.__format__",
 8440|      0|                     Py_TYPE(self)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8441|      0|        return NULL;
 8442|      0|    }
 8443|  41.4k|    return PyObject_Str(self);
 8444|  41.4k|}
typeobject.c:object_get_class:
 7520|  17.1k|{
 7521|  17.1k|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7522|  17.1k|    _Py_INCREF_TYPE(type);
  ------------------
  |  |  304|  17.1k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  17.1k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  17.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  17.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7523|  17.1k|    return (PyObject *)type;
 7524|  17.1k|}
typeobject.c:object_init:
 7335|  2.19k|{
 7336|  2.19k|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|  2.19k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7337|  2.19k|    if (excess_args(args, kwds)) {
  ------------------
  |  Branch (7337:9): [True: 507, False: 1.68k]
  ------------------
 7338|    507|        if (type->tp_init != object_init) {
  ------------------
  |  Branch (7338:13): [True: 0, False: 507]
  ------------------
 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|    507|        if (type->tp_new == object_new) {
  ------------------
  |  Branch (7343:13): [True: 0, False: 507]
  ------------------
 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|    507|    }
 7350|  2.19k|    return 0;
 7351|  2.19k|}
typeobject.c:excess_args:
 7328|  45.5k|{
 7329|  45.5k|    return PyTuple_GET_SIZE(args) ||
  ------------------
  |  |   27|  91.0k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  45.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 42.3k, False: 3.18k]
  |  |  ------------------
  ------------------
 7330|  3.18k|        (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds));
  ------------------
  |  |   18|    178|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.36k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 178, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds));
  ------------------
  |  |   63|    178|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    178|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (63:29): [True: 178, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (7330:10): [True: 178, False: 3.00k]
  ------------------
 7331|  45.5k|}
typeobject.c:object_new:
 7355|  43.3k|{
 7356|  43.3k|    if (excess_args(args, kwds)) {
  ------------------
  |  Branch (7356:9): [True: 42.0k, False: 1.32k]
  ------------------
 7357|  42.0k|        if (type->tp_new != object_new) {
  ------------------
  |  Branch (7357:13): [True: 0, False: 42.0k]
  ------------------
 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|  42.0k|        if (type->tp_init == object_init) {
  ------------------
  |  Branch (7362:13): [True: 0, False: 42.0k]
  ------------------
 7363|      0|            PyErr_Format(PyExc_TypeError, "%.200s() takes no arguments",
 7364|      0|                         type->tp_name);
 7365|      0|            return NULL;
 7366|      0|        }
 7367|  42.0k|    }
 7368|       |
 7369|  43.3k|    if (type->tp_flags & Py_TPFLAGS_IS_ABSTRACT) {
  ------------------
  |  |  540|  43.3k|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
  |  Branch (7369:9): [True: 0, False: 43.3k]
  ------------------
 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|  43.3k|    PyObject *obj = type->tp_alloc(type, 0);
 7417|  43.3k|    if (obj == NULL) {
  ------------------
  |  Branch (7417:9): [True: 0, False: 43.3k]
  ------------------
 7418|      0|        return NULL;
 7419|      0|    }
 7420|  43.3k|    return obj;
 7421|  43.3k|}
typeobject.c:type_add_method:
 8589|  1.78k|{
 8590|  1.78k|    PyObject *descr;
 8591|  1.78k|    int isdescr = 1;
 8592|  1.78k|    if (meth->ml_flags & METH_CLASS) {
  ------------------
  |  |  104|  1.78k|#define METH_CLASS    0x0010
  ------------------
  |  Branch (8592:9): [True: 115, False: 1.66k]
  ------------------
 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.66k|    else if (meth->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|  1.66k|#define METH_STATIC   0x0020
  ------------------
  |  Branch (8600:14): [True: 6, False: 1.66k]
  ------------------
 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.66k|    else {
 8618|  1.66k|        descr = PyDescr_NewMethod(type, meth);
 8619|  1.66k|    }
 8620|  1.78k|    if (descr == NULL) {
  ------------------
  |  Branch (8620:9): [True: 0, False: 1.78k]
  ------------------
 8621|      0|        return -1;
 8622|      0|    }
 8623|       |
 8624|  1.78k|    PyObject *name;
 8625|  1.78k|    if (isdescr) {
  ------------------
  |  Branch (8625:9): [True: 1.77k, False: 6]
  ------------------
 8626|  1.77k|        name = PyDescr_NAME(descr);
  ------------------
  |  |   36|  1.77k|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
 8627|  1.77k|    }
 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.78k|    int err;
 8637|  1.78k|    PyObject *dict = lookup_tp_dict(type);
 8638|  1.78k|    if (!(meth->ml_flags & METH_COEXIST)) {
  ------------------
  |  |  112|  1.78k|#define METH_COEXIST   0x0040
  ------------------
  |  Branch (8638:9): [True: 1.76k, False: 20]
  ------------------
 8639|  1.76k|        err = PyDict_SetDefaultRef(dict, name, descr, NULL) < 0;
 8640|  1.76k|    }
 8641|     20|    else {
 8642|     20|        err = PyDict_SetItem(dict, name, descr) < 0;
 8643|     20|    }
 8644|  1.78k|    if (!isdescr) {
  ------------------
  |  Branch (8644:9): [True: 6, False: 1.77k]
  ------------------
 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.78k|    Py_DECREF(descr);
  ------------------
  |  |  430|  1.78k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8648|  1.78k|    if (err) {
  ------------------
  |  Branch (8648:9): [True: 0, False: 1.78k]
  ------------------
 8649|      0|        return -1;
 8650|      0|    }
 8651|  1.78k|    return 0;
 8652|  1.78k|}
typeobject.c:type_add_flags:
  412|  10.3k|{
  413|  10.3k|    type_set_flags(tp, tp->tp_flags | flag);
  414|  10.3k|}
typeobject.c:type_ready:
 9529|  1.37k|{
 9530|  1.37k|    ASSERT_TYPE_LOCK_HELD();
 9531|       |
 9532|  1.37k|    _PyObject_ASSERT((PyObject *)type, !is_readying(type));
  ------------------
  |  |  360|  1.37k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  1.37k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  1.37k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 1.37k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.37k|      ? (void)(0) \
  |  |  |  |  |  |  353|  1.37k|      : _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.37k|    start_readying(type);
 9534|       |
 9535|  1.37k|    if (type_ready_pre_checks(type) < 0) {
  ------------------
  |  Branch (9535:9): [True: 0, False: 1.37k]
  ------------------
 9536|      0|        goto error;
 9537|      0|    }
 9538|       |
 9539|  1.37k|    _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.37k|    if (type_ready_set_dict(type) < 0) {
  ------------------
  |  Branch (9551:9): [True: 0, False: 1.37k]
  ------------------
 9552|      0|        goto error;
 9553|      0|    }
 9554|  1.37k|    if (type_ready_set_base(type) < 0) {
  ------------------
  |  Branch (9554:9): [True: 0, False: 1.37k]
  ------------------
 9555|      0|        goto error;
 9556|      0|    }
 9557|  1.37k|    if (type_ready_set_type(type) < 0) {
  ------------------
  |  Branch (9557:9): [True: 0, False: 1.37k]
  ------------------
 9558|      0|        goto error;
 9559|      0|    }
 9560|  1.37k|    if (type_ready_set_bases(type, initial) < 0) {
  ------------------
  |  Branch (9560:9): [True: 0, False: 1.37k]
  ------------------
 9561|      0|        goto error;
 9562|      0|    }
 9563|  1.37k|    if (type_ready_mro(type, initial) < 0) {
  ------------------
  |  Branch (9563:9): [True: 0, False: 1.37k]
  ------------------
 9564|      0|        goto error;
 9565|      0|    }
 9566|  1.37k|    if (type_ready_set_new(type, initial) < 0) {
  ------------------
  |  Branch (9566:9): [True: 0, False: 1.37k]
  ------------------
 9567|      0|        goto error;
 9568|      0|    }
 9569|  1.37k|    if (type_ready_fill_dict(type) < 0) {
  ------------------
  |  Branch (9569:9): [True: 0, False: 1.37k]
  ------------------
 9570|      0|        goto error;
 9571|      0|    }
 9572|  1.37k|    if (initial) {
  ------------------
  |  Branch (9572:9): [True: 1.37k, False: 0]
  ------------------
 9573|  1.37k|        if (type_ready_inherit(type) < 0) {
  ------------------
  |  Branch (9573:13): [True: 0, False: 1.37k]
  ------------------
 9574|      0|            goto error;
 9575|      0|        }
 9576|  1.37k|        if (type_ready_preheader(type) < 0) {
  ------------------
  |  Branch (9576:13): [True: 0, False: 1.37k]
  ------------------
 9577|      0|            goto error;
 9578|      0|        }
 9579|  1.37k|    }
 9580|  1.37k|    if (type_ready_set_hash(type) < 0) {
  ------------------
  |  Branch (9580:9): [True: 0, False: 1.37k]
  ------------------
 9581|      0|        goto error;
 9582|      0|    }
 9583|  1.37k|    if (add_subclasses) {
  ------------------
  |  Branch (9583:9): [True: 412, False: 959]
  ------------------
 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.37k|    if (initial) {
  ------------------
  |  Branch (9588:9): [True: 1.37k, False: 0]
  ------------------
 9589|  1.37k|        if (type_ready_managed_dict(type) < 0) {
  ------------------
  |  Branch (9589:13): [True: 0, False: 1.37k]
  ------------------
 9590|      0|            goto error;
 9591|      0|        }
 9592|  1.37k|        if (type_ready_post_checks(type) < 0) {
  ------------------
  |  Branch (9592:13): [True: 0, False: 1.37k]
  ------------------
 9593|      0|            goto error;
 9594|      0|        }
 9595|  1.37k|    }
 9596|       |
 9597|  1.37k|    if (add_subclasses) {
  ------------------
  |  Branch (9597:9): [True: 412, False: 959]
  ------------------
 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.37k|    stop_readying(type);
 9607|       |
 9608|  1.37k|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (9608:5): [True: 1.37k, False: 0]
  ------------------
 9609|  1.37k|    return 0;
 9610|       |
 9611|      0|error:
 9612|      0|    stop_readying(type);
 9613|      0|    return -1;
 9614|  1.37k|}
typeobject.c:start_readying:
  424|  1.37k|{
  425|  1.37k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.37k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (425:9): [True: 412, False: 959]
  ------------------
  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.37k|    assert((type->tp_flags & Py_TPFLAGS_READYING) == 0);
  ------------------
  |  Branch (433:5): [True: 959, False: 0]
  ------------------
  434|    959|    type_add_flags(type, Py_TPFLAGS_READYING);
  ------------------
  |  |  521|    959|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  435|    959|}
typeobject.c:type_ready_pre_checks:
 9024|  1.37k|{
 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.37k|    if (type->tp_flags & Py_TPFLAGS_METHOD_DESCRIPTOR) {
  ------------------
  |  |  534|  1.37k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (9031:9): [True: 7, False: 1.36k]
  ------------------
 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.37k|    if (type->tp_flags & Py_TPFLAGS_HAVE_VECTORCALL) {
  ------------------
  |  |  510|  1.37k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (9034:9): [True: 20, False: 1.35k]
  ------------------
 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.37k|    _PyObject_ASSERT((PyObject *)type, (type->tp_flags & COLLECTION_FLAGS) != COLLECTION_FLAGS);
  ------------------
  |  |  360|  1.37k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  1.37k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  1.37k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 1.37k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.37k|      ? (void)(0) \
  |  |  |  |  |  |  353|  1.37k|      : _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.37k|    if (type->tp_name == NULL) {
  ------------------
  |  Branch (9043:9): [True: 0, False: 1.37k]
  ------------------
 9044|      0|        PyErr_Format(PyExc_SystemError,
 9045|      0|                     "Type does not define the tp_name field.");
 9046|      0|        return -1;
 9047|      0|    }
 9048|  1.37k|    return 0;
 9049|  1.37k|}
typeobject.c:type_ready_set_dict:
 9130|  1.37k|{
 9131|  1.37k|    if (lookup_tp_dict(type) != NULL) {
  ------------------
  |  Branch (9131:9): [True: 829, False: 542]
  ------------------
 9132|    829|        return 0;
 9133|    829|    }
 9134|       |
 9135|    542|    PyObject *dict = PyDict_New();
 9136|    542|    if (dict == NULL) {
  ------------------
  |  Branch (9136:9): [True: 0, False: 542]
  ------------------
 9137|      0|        return -1;
 9138|      0|    }
 9139|    542|    set_tp_dict(type, dict);
 9140|    542|    return 0;
 9141|    542|}
typeobject.c:type_ready_set_base:
 9054|  1.37k|{
 9055|       |    /* Initialize tp_base (defaults to BaseObject unless that's us) */
 9056|  1.37k|    PyTypeObject *base = type->tp_base;
 9057|  1.37k|    if (base == NULL && type != &PyBaseObject_Type) {
  ------------------
  |  Branch (9057:9): [True: 240, False: 1.13k]
  |  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.37k|    assert(type->tp_base != NULL || type == &PyBaseObject_Type);
  ------------------
  |  Branch (9066:5): [True: 1.36k, 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.37k|    if (base != NULL && !_PyType_IsReady(base)) {
  ------------------
  |  Branch (9072:9): [True: 1.36k, False: 2]
  |  Branch (9072:25): [True: 0, False: 1.36k]
  ------------------
 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.37k|    return 0;
 9079|  1.37k|}
typeobject.c:type_ready_set_type:
 9083|  1.37k|{
 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.37k|    PyTypeObject *base = type->tp_base;
 9092|  1.37k|    if (Py_IS_TYPE(type, NULL) && base != NULL) {
  ------------------
  |  |  215|  2.74k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 170, False: 1.20k]
  |  |  ------------------
  ------------------
  |  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.37k|    return 0;
 9097|  1.37k|}
typeobject.c:type_ready_set_bases:
 9101|  1.37k|{
 9102|  1.37k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.37k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (9102:9): [True: 412, False: 959]
  ------------------
 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.37k|    PyObject *bases = lookup_tp_bases(type);
 9111|  1.37k|    if (bases == NULL) {
  ------------------
  |  Branch (9111:9): [True: 412, False: 959]
  ------------------
 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.37k|    return 0;
 9125|  1.37k|}
typeobject.c:type_ready_mro:
 9247|  1.37k|{
 9248|  1.37k|    ASSERT_TYPE_LOCK_HELD();
 9249|       |
 9250|  1.37k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.37k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (9250:9): [True: 412, False: 959]
  ------------------
 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.37k|    if (mro_internal(type, initial, NULL) < 0) {
  ------------------
  |  Branch (9259:9): [True: 0, False: 1.37k]
  ------------------
 9260|      0|        return -1;
 9261|      0|    }
 9262|  1.37k|    PyObject *mro = lookup_tp_mro(type);
 9263|  1.37k|    assert(mro != NULL);
  ------------------
  |  Branch (9263:5): [True: 1.37k, False: 0]
  ------------------
 9264|  1.37k|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (9264:5): [True: 1.37k, 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.37k|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  1.37k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9268:9): [True: 412, False: 959]
  ------------------
 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.37k|    return 0;
 9285|  1.37k|}
typeobject.c:type_ready_set_new:
 9416|  1.37k|{
 9417|  1.37k|    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.37k|    if (type->tp_new == NULL
  ------------------
  |  Branch (9428:9): [True: 1.07k, False: 299]
  ------------------
 9429|  1.07k|        && base == &PyBaseObject_Type
  ------------------
  |  Branch (9429:12): [True: 272, False: 800]
  ------------------
 9430|    272|        && !(type->tp_flags & Py_TPFLAGS_HEAPTYPE))
  ------------------
  |  |  503|    272|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9430:12): [True: 126, False: 146]
  ------------------
 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.37k|    if (!(type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION)) {
  ------------------
  |  |  497|  1.37k|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
  |  Branch (9439:9): [True: 1.21k, False: 154]
  ------------------
 9440|  1.21k|        if (type->tp_new != NULL) {
  ------------------
  |  Branch (9440:13): [True: 295, False: 922]
  ------------------
 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|    922|        else {
 9450|    922|            if (initial) {
  ------------------
  |  Branch (9450:17): [True: 922, False: 0]
  ------------------
 9451|       |                // tp_new is NULL: inherit tp_new from base
 9452|    922|                type->tp_new = base->tp_new;
 9453|    922|            }
 9454|    922|        }
 9455|  1.21k|    }
 9456|    154|    else {
 9457|       |        // Py_TPFLAGS_DISALLOW_INSTANTIATION sets tp_new to NULL
 9458|    154|        if (initial) {
  ------------------
  |  Branch (9458:13): [True: 154, False: 0]
  ------------------
 9459|    154|            type->tp_new = NULL;
 9460|    154|        }
 9461|    154|    }
 9462|  1.37k|    return 0;
 9463|  1.37k|}
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.37k|{
 9184|       |    /* Add type-specific descriptors to tp_dict */
 9185|  1.37k|    if (add_operators(type) < 0) {
  ------------------
  |  Branch (9185:9): [True: 0, False: 1.37k]
  ------------------
 9186|      0|        return -1;
 9187|      0|    }
 9188|  1.37k|    if (type_add_methods(type) < 0) {
  ------------------
  |  Branch (9188:9): [True: 0, False: 1.37k]
  ------------------
 9189|      0|        return -1;
 9190|      0|    }
 9191|  1.37k|    if (type_add_members(type) < 0) {
  ------------------
  |  Branch (9191:9): [True: 0, False: 1.37k]
  ------------------
 9192|      0|        return -1;
 9193|      0|    }
 9194|  1.37k|    if (type_add_getset(type) < 0) {
  ------------------
  |  Branch (9194:9): [True: 0, False: 1.37k]
  ------------------
 9195|      0|        return -1;
 9196|      0|    }
 9197|  1.37k|    if (type_dict_set_doc(type) < 0) {
  ------------------
  |  Branch (9197:9): [True: 0, False: 1.37k]
  ------------------
 9198|      0|        return -1;
 9199|      0|    }
 9200|  1.37k|    return 0;
 9201|  1.37k|}
typeobject.c:add_operators:
12594|  1.37k|{
12595|  1.37k|    PyObject *dict = lookup_tp_dict(type);
12596|  1.37k|    pytype_slotdef *p;
12597|  1.37k|    PyObject *descr;
12598|  1.37k|    void **ptr;
12599|       |
12600|   130k|    for (p = slotdefs; p->name; p++) {
  ------------------
  |  Branch (12600:24): [True: 128k, False: 1.37k]
  ------------------
12601|   128k|        if (p->wrapper == NULL)
  ------------------
  |  Branch (12601:13): [True: 8.22k, False: 120k]
  ------------------
12602|  8.22k|            continue;
12603|   120k|        ptr = slotptr(type, p->offset);
12604|   120k|        if (!ptr || !*ptr)
  ------------------
  |  Branch (12604:13): [True: 24.5k, False: 96.1k]
  |  Branch (12604:21): [True: 93.5k, False: 2.56k]
  ------------------
12605|   118k|            continue;
12606|       |        /* Also ignore when the type slot has been inherited. */
12607|  2.56k|        if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN
  ------------------
  |  |  467|  5.13k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (12607:13): [True: 2.27k, False: 297]
  ------------------
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: 40, False: 2.21k]
  ------------------
12615|     40|            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.37k|    return 0;
12638|  1.37k|}
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.37k|{
 8665|  1.37k|    PyMethodDef *meth = type->tp_methods;
 8666|  1.37k|    if (meth == NULL) {
  ------------------
  |  Branch (8666:9): [True: 1.04k, False: 323]
  ------------------
 8667|  1.04k|        return 0;
 8668|  1.04k|    }
 8669|       |
 8670|  2.10k|    for (; meth->ml_name != NULL; meth++) {
  ------------------
  |  Branch (8670:12): [True: 1.78k, False: 323]
  ------------------
 8671|  1.78k|        if (type_add_method(type, meth) < 0) {
  ------------------
  |  Branch (8671:13): [True: 0, False: 1.78k]
  ------------------
 8672|      0|            return -1;
 8673|      0|        }
 8674|  1.78k|    }
 8675|    323|    return 0;
 8676|    323|}
typeobject.c:type_add_members:
 8681|  1.37k|{
 8682|  1.37k|    PyMemberDef *memb = type->tp_members;
 8683|  1.37k|    if (memb == NULL) {
  ------------------
  |  Branch (8683:9): [True: 350, False: 1.02k]
  ------------------
 8684|    350|        return 0;
 8685|    350|    }
 8686|       |
 8687|  1.02k|    PyObject *dict = lookup_tp_dict(type);
 8688|  1.72k|    for (; memb->name != NULL; memb++) {
  ------------------
  |  Branch (8688:12): [True: 705, False: 1.02k]
  ------------------
 8689|    705|        PyObject *descr = PyDescr_NewMember(type, memb);
 8690|    705|        if (descr == NULL)
  ------------------
  |  Branch (8690:13): [True: 0, False: 705]
  ------------------
 8691|      0|            return -1;
 8692|       |
 8693|    705|        if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    705|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (8693:13): [True: 0, False: 705]
  ------------------
 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|    705|        Py_DECREF(descr);
  ------------------
  |  |  430|    705|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    705|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    705|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8698|    705|    }
 8699|  1.02k|    return 0;
 8700|  1.02k|}
typeobject.c:type_add_getset:
 8705|  1.37k|{
 8706|  1.37k|    PyGetSetDef *gsp = type->tp_getset;
 8707|  1.37k|    if (gsp == NULL) {
  ------------------
  |  Branch (8707:9): [True: 1.23k, False: 134]
  ------------------
 8708|  1.23k|        return 0;
 8709|  1.23k|    }
 8710|       |
 8711|    134|    PyObject *dict = lookup_tp_dict(type);
 8712|    595|    for (; gsp->name != NULL; gsp++) {
  ------------------
  |  Branch (8712:12): [True: 461, False: 134]
  ------------------
 8713|    461|        PyObject *descr = PyDescr_NewGetSet(type, gsp);
 8714|    461|        if (descr == NULL) {
  ------------------
  |  Branch (8714:13): [True: 0, False: 461]
  ------------------
 8715|      0|            return -1;
 8716|      0|        }
 8717|       |
 8718|    461|        if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    461|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (8718:13): [True: 0, False: 461]
  ------------------
 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|    461|        Py_DECREF(descr);
  ------------------
  |  |  430|    461|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    461|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    461|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8723|    461|    }
 8724|    134|    return 0;
 8725|    134|}
typeobject.c:type_dict_set_doc:
 9148|  1.37k|{
 9149|  1.37k|    PyObject *dict = lookup_tp_dict(type);
 9150|  1.37k|    int r = PyDict_Contains(dict, &_Py_ID(__doc__));
  ------------------
  |  |  951|  1.37k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.37k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.37k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9151|  1.37k|    if (r < 0) {
  ------------------
  |  Branch (9151:9): [True: 0, False: 1.37k]
  ------------------
 9152|      0|        return -1;
 9153|      0|    }
 9154|  1.37k|    if (r > 0) {
  ------------------
  |  Branch (9154:9): [True: 308, False: 1.06k]
  ------------------
 9155|    308|        return 0;
 9156|    308|    }
 9157|       |
 9158|  1.06k|    if (type->tp_doc != NULL) {
  ------------------
  |  Branch (9158:9): [True: 368, False: 695]
  ------------------
 9159|    368|        const char *doc_str;
 9160|    368|        doc_str = _PyType_DocWithoutSignature(type->tp_name, type->tp_doc);
 9161|    368|        PyObject *doc = PyUnicode_FromString(doc_str);
 9162|    368|        if (doc == NULL) {
  ------------------
  |  Branch (9162:13): [True: 0, False: 368]
  ------------------
 9163|      0|            return -1;
 9164|      0|        }
 9165|       |
 9166|    368|        if (PyDict_SetItem(dict, &_Py_ID(__doc__), doc) < 0) {
  ------------------
  |  |  951|    368|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    368|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    368|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9166:13): [True: 0, False: 368]
  ------------------
 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|    368|        Py_DECREF(doc);
  ------------------
  |  |  430|    368|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    368|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    368|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9171|    368|    }
 9172|    695|    else {
 9173|    695|        if (PyDict_SetItem(dict, &_Py_ID(__doc__), Py_None) < 0) {
  ------------------
  |  |  951|    695|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    695|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    695|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyDict_SetItem(dict, &_Py_ID(__doc__), Py_None) < 0) {
  ------------------
  |  |  616|    695|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9173:13): [True: 0, False: 695]
  ------------------
 9174|      0|            return -1;
 9175|      0|        }
 9176|    695|    }
 9177|  1.06k|    return 0;
 9178|  1.06k|}
typeobject.c:type_ready_inherit:
 9322|  1.37k|{
 9323|  1.37k|    ASSERT_TYPE_LOCK_HELD();
 9324|       |
 9325|       |    /* Inherit special flags from dominant base */
 9326|  1.37k|    PyTypeObject *base = type->tp_base;
 9327|  1.37k|    if (base != NULL) {
  ------------------
  |  Branch (9327:9): [True: 1.36k, False: 2]
  ------------------
 9328|  1.36k|        inherit_special(type, base);
 9329|  1.36k|    }
 9330|       |
 9331|       |    // Inherit slots
 9332|  1.37k|    PyObject *mro = lookup_tp_mro(type);
 9333|  1.37k|    assert(mro != NULL);
  ------------------
  |  Branch (9333:5): [True: 1.37k, False: 0]
  ------------------
 9334|  1.37k|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|  1.37k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9335|  4.70k|    for (Py_ssize_t i = 1; i < n; i++) {
  ------------------
  |  Branch (9335:28): [True: 3.33k, False: 1.37k]
  ------------------
 9336|  3.33k|        PyObject *b = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  3.33k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.33k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9336:23): [True: 3.33k, False: 0]
  ------------------
 9337|  3.33k|        if (PyType_Check(b)) {
  ------------------
  |  |  766|  3.33k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 3.33k, False: 0]
  |  |  ------------------
  ------------------
 9338|  3.33k|            if (inherit_slots(type, (PyTypeObject *)b) < 0) {
  ------------------
  |  Branch (9338:17): [True: 0, False: 3.33k]
  ------------------
 9339|      0|                return -1;
 9340|      0|            }
 9341|  3.33k|            inherit_patma_flags(type, (PyTypeObject *)b);
 9342|  3.33k|        }
 9343|  3.33k|    }
 9344|       |
 9345|  1.37k|    if (base != NULL) {
  ------------------
  |  Branch (9345:9): [True: 1.36k, False: 2]
  ------------------
 9346|  1.36k|        type_ready_inherit_as_structs(type, base);
 9347|  1.36k|    }
 9348|       |
 9349|       |    /* Sanity check for tp_free. */
 9350|  1.37k|    if (_PyType_IS_GC(type) && (type->tp_flags & Py_TPFLAGS_BASETYPE) &&
  ------------------
  |  |  506|  1.30k|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
  |  Branch (9350:9): [True: 1.30k, False: 71]
  |  Branch (9350:32): [True: 1.07k, False: 228]
  ------------------
 9351|  1.07k|        (type->tp_free == NULL || type->tp_free == PyObject_Free))
  ------------------
  |  Branch (9351:10): [True: 0, False: 1.07k]
  |  Branch (9351:35): [True: 0, False: 1.07k]
  ------------------
 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.37k|    return 0;
 9364|  1.37k|}
typeobject.c:inherit_special:
 8730|  1.36k|{
 8731|       |    /* Copying tp_traverse and tp_clear is connected to the GC flags */
 8732|  1.36k|    if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|  1.36k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8732:9): [True: 83, False: 1.28k]
  ------------------
 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.36k|    type_add_flags(type, base->tp_flags & Py_TPFLAGS_PREHEADER);
  ------------------
  |  |  487|  1.36k|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  1.36k|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  1.36k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
 8742|       |
 8743|  1.36k|    if (type->tp_basicsize == 0)
  ------------------
  |  Branch (8743:9): [True: 18, False: 1.35k]
  ------------------
 8744|     18|        type->tp_basicsize = base->tp_basicsize;
 8745|       |
 8746|       |    /* Copy other non-function slots */
 8747|       |
 8748|  1.36k|#define COPYVAL(SLOT) \
 8749|  1.36k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
 8750|       |
 8751|  1.36k|    COPYVAL(tp_itemsize);
  ------------------
  |  | 8749|  1.36k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8749:9): [True: 1.28k, False: 80]
  |  |  ------------------
  ------------------
 8752|  1.36k|    COPYVAL(tp_weaklistoffset);
  ------------------
  |  | 8749|  1.36k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8749:9): [True: 1.11k, False: 259]
  |  |  ------------------
  ------------------
 8753|  1.36k|    COPYVAL(tp_dictoffset);
  ------------------
  |  | 8749|  1.36k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8749:9): [True: 1.04k, False: 327]
  |  |  ------------------
  ------------------
 8754|       |
 8755|  1.36k|#undef COPYVAL
 8756|       |
 8757|       |    /* Setup fast subclass flags */
 8758|  1.36k|    PyObject *mro = lookup_tp_mro(base);
 8759|  1.36k|    unsigned long flags = 0;
 8760|  1.36k|    if (is_subtype_with_mro(mro, base, (PyTypeObject*)PyExc_BaseException)) {
  ------------------
  |  Branch (8760:9): [True: 173, False: 1.19k]
  ------------------
 8761|    173|        flags |= Py_TPFLAGS_BASE_EXC_SUBCLASS;
  ------------------
  |  |  557|    173|#define Py_TPFLAGS_BASE_EXC_SUBCLASS    (1UL << 30)
  ------------------
 8762|    173|    }
 8763|  1.19k|    else if (is_subtype_with_mro(mro, base, &PyType_Type)) {
  ------------------
  |  Branch (8763:14): [True: 5, False: 1.19k]
  ------------------
 8764|      5|        flags |= Py_TPFLAGS_TYPE_SUBCLASS;
  ------------------
  |  |  558|      5|#define Py_TPFLAGS_TYPE_SUBCLASS        (1UL << 31)
  ------------------
 8765|      5|    }
 8766|  1.19k|    else if (is_subtype_with_mro(mro, base, &PyLong_Type)) {
  ------------------
  |  Branch (8766:14): [True: 7, False: 1.18k]
  ------------------
 8767|      7|        flags |= Py_TPFLAGS_LONG_SUBCLASS;
  ------------------
  |  |  551|      7|#define Py_TPFLAGS_LONG_SUBCLASS        (1UL << 24)
  ------------------
 8768|      7|    }
 8769|  1.18k|    else if (is_subtype_with_mro(mro, base, &PyBytes_Type)) {
  ------------------
  |  Branch (8769:14): [True: 0, False: 1.18k]
  ------------------
 8770|      0|        flags |= Py_TPFLAGS_BYTES_SUBCLASS;
  ------------------
  |  |  554|      0|#define Py_TPFLAGS_BYTES_SUBCLASS       (1UL << 27)
  ------------------
 8771|      0|    }
 8772|  1.18k|    else if (is_subtype_with_mro(mro, base, &PyUnicode_Type)) {
  ------------------
  |  Branch (8772:14): [True: 3, False: 1.18k]
  ------------------
 8773|      3|        flags |= Py_TPFLAGS_UNICODE_SUBCLASS;
  ------------------
  |  |  555|      3|#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
  ------------------
 8774|      3|    }
 8775|  1.18k|    else if (is_subtype_with_mro(mro, base, &PyTuple_Type)) {
  ------------------
  |  Branch (8775:14): [True: 41, False: 1.14k]
  ------------------
 8776|     41|        flags |= Py_TPFLAGS_TUPLE_SUBCLASS;
  ------------------
  |  |  553|     41|#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
  ------------------
 8777|     41|    }
 8778|  1.14k|    else if (is_subtype_with_mro(mro, base, &PyList_Type)) {
  ------------------
  |  Branch (8778:14): [True: 2, False: 1.13k]
  ------------------
 8779|      2|        flags |= Py_TPFLAGS_LIST_SUBCLASS;
  ------------------
  |  |  552|      2|#define Py_TPFLAGS_LIST_SUBCLASS        (1UL << 25)
  ------------------
 8780|      2|    }
 8781|  1.13k|    else if (is_subtype_with_mro(mro, base, &PyDict_Type)) {
  ------------------
  |  Branch (8781:14): [True: 6, False: 1.13k]
  ------------------
 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.36k|    if (PyType_HasFeature(base, _Py_TPFLAGS_MATCH_SELF)) {
  ------------------
  |  |  545|  1.36k|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
  |  Branch (8786:9): [True: 59, False: 1.31k]
  ------------------
 8787|     59|        flags |= _Py_TPFLAGS_MATCH_SELF;
  ------------------
  |  |  545|     59|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
 8788|     59|    }
 8789|  1.36k|    if (PyType_HasFeature(base, Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  548|  1.36k|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (8789:9): [True: 5, False: 1.36k]
  ------------------
 8790|      5|        flags |= Py_TPFLAGS_ITEMS_AT_END;
  ------------------
  |  |  548|      5|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
 8791|      5|    }
 8792|  1.36k|    type_add_flags(type, flags);
 8793|  1.36k|}
typeobject.c:inherit_slots:
 8823|  3.33k|{
 8824|  3.33k|    PyTypeObject *basebase;
 8825|       |
 8826|  3.33k|#undef SLOTDEFINED
 8827|  3.33k|#undef COPYSLOT
 8828|  3.33k|#undef COPYNUM
 8829|  3.33k|#undef COPYSEQ
 8830|  3.33k|#undef COPYMAP
 8831|  3.33k|#undef COPYBUF
 8832|       |
 8833|  3.33k|#define SLOTDEFINED(SLOT) \
 8834|  3.33k|    (base->SLOT != 0 && \
 8835|  3.33k|     (basebase == NULL || base->SLOT != basebase->SLOT))
 8836|       |
 8837|  3.33k|#define COPYSLOT(SLOT) \
 8838|  3.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
 8839|       |
 8840|  3.33k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
 8841|  3.33k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
 8842|  3.33k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
 8843|  3.33k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
 8844|  3.33k|#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.33k|    if (type->tp_as_number != NULL && base->tp_as_number != NULL) {
  ------------------
  |  Branch (8849:9): [True: 2.57k, False: 754]
  |  Branch (8849:39): [True: 1.42k, False: 1.15k]
  ------------------
 8850|  1.42k|        basebase = base->tp_base;
 8851|  1.42k|        if (basebase->tp_as_number == NULL)
  ------------------
  |  Branch (8851:13): [True: 831, False: 594]
  ------------------
 8852|    831|            basebase = NULL;
 8853|  1.42k|        COPYNUM(nb_add);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 14, False: 1.39k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.41k, False: 13]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8854|  1.42k|        COPYNUM(nb_subtract);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.37k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 22, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.37k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 15]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 11, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.37k, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8855|  1.42k|        COPYNUM(nb_multiply);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 14, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.41k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8856|  1.42k|        COPYNUM(nb_remainder);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.40k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 16, False: 1.39k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.40k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 10, False: 6]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 2, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.40k, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8857|  1.42k|        COPYNUM(nb_divmod);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 11, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 4]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 2, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.41k, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8858|  1.42k|        COPYNUM(nb_power);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 14, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.41k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8859|  1.42k|        COPYNUM(nb_negative);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 14, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.41k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8860|  1.42k|        COPYNUM(nb_positive);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 14, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.41k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8861|  1.42k|        COPYNUM(nb_absolute);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 14, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.41k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8862|  1.42k|        COPYNUM(nb_bool);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 14, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.41k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8863|  1.42k|        COPYNUM(nb_invert);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 5, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (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.41k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8864|  1.42k|        COPYNUM(nb_lshift);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (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.41k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8865|  1.42k|        COPYNUM(nb_rshift);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (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.41k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8866|  1.42k|        COPYNUM(nb_and);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.37k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 13, False: 1.36k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.37k|     (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.37k, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8867|  1.42k|        COPYNUM(nb_xor);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.37k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 13, False: 1.36k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.37k|     (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.37k, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8868|  1.42k|        COPYNUM(nb_or);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.37k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 25, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.37k|     (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.37k, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8869|  1.42k|        COPYNUM(nb_int);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (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.41k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8870|  1.42k|        COPYNUM(nb_float);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 11, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 4]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 2, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.41k, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8871|  1.42k|        COPYNUM(nb_inplace_add);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 1, False: 1.41k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (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.41k, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8872|  1.42k|        COPYNUM(nb_inplace_subtract);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.42k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.42k|     (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.42k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8873|  1.42k|        COPYNUM(nb_inplace_multiply);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.42k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.42k|     (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.42k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8874|  1.42k|        COPYNUM(nb_inplace_remainder);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.42k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.42k|     (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.42k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8875|  1.42k|        COPYNUM(nb_inplace_power);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.42k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.42k|     (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.42k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8876|  1.42k|        COPYNUM(nb_inplace_lshift);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.42k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.42k|     (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.42k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8877|  1.42k|        COPYNUM(nb_inplace_rshift);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.42k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.42k|     (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.42k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8878|  1.42k|        COPYNUM(nb_inplace_and);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.42k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.42k|     (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.42k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8879|  1.42k|        COPYNUM(nb_inplace_xor);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.42k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.42k|     (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.42k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8880|  1.42k|        COPYNUM(nb_inplace_or);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.42k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 4, False: 1.41k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.42k|     (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.42k, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8881|  1.42k|        COPYNUM(nb_true_divide);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 14, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.41k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8882|  1.42k|        COPYNUM(nb_floor_divide);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 11, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 7, False: 4]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 2, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.41k, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8883|  1.42k|        COPYNUM(nb_inplace_true_divide);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.42k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.42k|     (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.42k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8884|  1.42k|        COPYNUM(nb_inplace_floor_divide);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.42k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.42k|     (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.42k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8885|  1.42k|        COPYNUM(nb_index);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 8, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (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.41k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8886|  1.42k|        COPYNUM(nb_matrix_multiply);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.42k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.42k|     (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.42k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8887|  1.42k|        COPYNUM(nb_inplace_matrix_multiply);
  ------------------
  |  | 8841|  1.42k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.42k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.42k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.42k|     (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.42k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8888|  1.42k|    }
 8889|       |
 8890|  3.33k|    if (type->tp_as_async != NULL && base->tp_as_async != NULL) {
  ------------------
  |  Branch (8890:9): [True: 2.52k, False: 808]
  |  Branch (8890:38): [True: 1.40k, False: 1.12k]
  ------------------
 8891|  1.40k|        basebase = base->tp_base;
 8892|  1.40k|        if (basebase->tp_as_async == NULL)
  ------------------
  |  Branch (8892:13): [True: 811, False: 589]
  ------------------
 8893|    811|            basebase = NULL;
 8894|  1.40k|        COPYASYNC(am_await);
  ------------------
  |  | 8840|  1.40k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.40k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.40k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 2, False: 1.39k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.40k|     (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.40k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8895|  1.40k|        COPYASYNC(am_aiter);
  ------------------
  |  | 8840|  1.40k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.40k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.40k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 6, False: 1.39k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.40k|     (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.40k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8896|  1.40k|        COPYASYNC(am_anext);
  ------------------
  |  | 8840|  1.40k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.40k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.39k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 2, False: 1.39k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.39k|     (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.39k, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8897|  1.40k|    }
 8898|       |
 8899|  3.33k|    if (type->tp_as_sequence != NULL && base->tp_as_sequence != NULL) {
  ------------------
  |  Branch (8899:9): [True: 2.55k, False: 776]
  |  Branch (8899:41): [True: 1.43k, False: 1.12k]
  ------------------
 8900|  1.43k|        basebase = base->tp_base;
 8901|  1.43k|        if (basebase->tp_as_sequence == NULL)
  ------------------
  |  Branch (8901:13): [True: 842, False: 592]
  ------------------
 8902|    842|            basebase = NULL;
 8903|  1.43k|        COPYSEQ(sq_length);
  ------------------
  |  | 8842|  1.43k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.43k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 122, False: 1.22k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 58, False: 64]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 7, False: 57]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8904|  1.43k|        COPYSEQ(sq_concat);
  ------------------
  |  | 8842|  1.43k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.43k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.42k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 33, False: 1.39k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.42k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 30, False: 3]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.42k, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8905|  1.43k|        COPYSEQ(sq_repeat);
  ------------------
  |  | 8842|  1.43k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.43k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.42k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 33, False: 1.39k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.42k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 30, False: 3]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.42k, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8906|  1.43k|        COPYSEQ(sq_item);
  ------------------
  |  | 8842|  1.43k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.43k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.37k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 47, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.37k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 27, False: 20]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 15, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.37k, False: 63]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8907|  1.43k|        COPYSEQ(sq_ass_item);
  ------------------
  |  | 8842|  1.43k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.43k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.40k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 7, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.40k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 2, False: 5]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 5, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.40k, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8908|  1.43k|        COPYSEQ(sq_contains);
  ------------------
  |  | 8842|  1.43k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.43k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.31k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 87, False: 1.23k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.31k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 37, False: 50]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 30, False: 20]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.31k, False: 117]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8909|  1.43k|        COPYSEQ(sq_inplace_concat);
  ------------------
  |  | 8842|  1.43k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.43k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.43k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 2, False: 1.43k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.43k|     (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.43k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8910|  1.43k|        COPYSEQ(sq_inplace_repeat);
  ------------------
  |  | 8842|  1.43k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.43k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.43k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 2, False: 1.43k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.43k|     (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.43k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8911|  1.43k|    }
 8912|       |
 8913|  3.33k|    if (type->tp_as_mapping != NULL && base->tp_as_mapping != NULL) {
  ------------------
  |  Branch (8913:9): [True: 2.55k, False: 772]
  |  Branch (8913:40): [True: 1.43k, False: 1.12k]
  ------------------
 8914|  1.43k|        basebase = base->tp_base;
 8915|  1.43k|        if (basebase->tp_as_mapping == NULL)
  ------------------
  |  Branch (8915:13): [True: 846, False: 592]
  ------------------
 8916|    846|            basebase = NULL;
 8917|  1.43k|        COPYMAP(mp_length);
  ------------------
  |  | 8843|  1.43k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.43k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.34k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 128, False: 1.22k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 64, False: 64]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 7, False: 57]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.34k, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8918|  1.43k|        COPYMAP(mp_subscript);
  ------------------
  |  | 8843|  1.43k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.43k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.37k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 58, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.37k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 38, False: 20]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 12, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.37k, False: 60]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8919|  1.43k|        COPYMAP(mp_ass_subscript);
  ------------------
  |  | 8843|  1.43k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.43k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.41k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 11, False: 1.39k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.41k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8835:7): [True: 6, False: 5]
  |  |  |  |  |  |  |  Branch (8835:27): [True: 5, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8838:9): [True: 1.41k, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8920|  1.43k|    }
 8921|       |
 8922|  3.33k|    if (type->tp_as_buffer != NULL && base->tp_as_buffer != NULL) {
  ------------------
  |  Branch (8922:9): [True: 2.52k, False: 808]
  |  Branch (8922:39): [True: 1.40k, False: 1.12k]
  ------------------
 8923|  1.40k|        basebase = base->tp_base;
 8924|  1.40k|        if (basebase->tp_as_buffer == NULL)
  ------------------
  |  Branch (8924:13): [True: 811, False: 589]
  ------------------
 8925|    811|            basebase = NULL;
 8926|  1.40k|        COPYBUF(bf_getbuffer);
  ------------------
  |  | 8844|  1.40k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.40k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.40k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.40k|     (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.40k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8927|  1.40k|        COPYBUF(bf_releasebuffer);
  ------------------
  |  | 8844|  1.40k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
  |  |  ------------------
  |  |  |  | 8838|  1.40k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8834|  1.40k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8834:6): [True: 0, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8835|  1.40k|     (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.40k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8928|  1.40k|    }
 8929|       |
 8930|  3.33k|    basebase = base->tp_base;
 8931|       |
 8932|  3.33k|    COPYSLOT(tp_dealloc);
  ------------------
  |  | 8838|  3.33k|    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.29k]
  |  |  ------------------
  ------------------
 8933|  3.33k|    if (type->tp_getattr == NULL && type->tp_getattro == NULL) {
  ------------------
  |  Branch (8933:9): [True: 3.33k, False: 0]
  |  Branch (8933:37): [True: 1.13k, False: 2.19k]
  ------------------
 8934|  1.13k|        type->tp_getattr = base->tp_getattr;
 8935|  1.13k|        type->tp_getattro = base->tp_getattro;
 8936|  1.13k|    }
 8937|  3.33k|    if (type->tp_setattr == NULL && type->tp_setattro == NULL) {
  ------------------
  |  Branch (8937:9): [True: 3.33k, False: 0]
  |  Branch (8937:37): [True: 1.34k, False: 1.98k]
  ------------------
 8938|  1.34k|        type->tp_setattr = base->tp_setattr;
 8939|  1.34k|        type->tp_setattro = base->tp_setattro;
 8940|  1.34k|    }
 8941|  3.33k|    COPYSLOT(tp_repr);
  ------------------
  |  | 8838|  3.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  2.61k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 2.61k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|  2.61k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 800, False: 1.81k]
  |  |  |  |  |  Branch (8835:27): [True: 345, False: 1.47k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 2.61k, False: 715]
  |  |  ------------------
  ------------------
 8942|       |    /* tp_hash see tp_richcompare */
 8943|  3.33k|    {
 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.33k|        COPYSLOT(tp_vectorcall_offset);
  ------------------
  |  | 8838|  3.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  3.30k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 13, False: 3.28k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  3.30k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 13]
  |  |  |  |  |  Branch (8835:27): [True: 11, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 3.30k, False: 31]
  |  |  ------------------
  ------------------
 8948|       |
 8949|       |        /* Inherit Py_TPFLAGS_HAVE_VECTORCALL if tp_call is not overridden */
 8950|  3.33k|        if (!type->tp_call &&
  ------------------
  |  Branch (8950:13): [True: 3.28k, False: 49]
  ------------------
 8951|  3.28k|            _PyType_HasFeature(base, Py_TPFLAGS_HAVE_VECTORCALL))
  ------------------
  |  |  510|  3.28k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (8951:13): [True: 13, False: 3.26k]
  ------------------
 8952|     13|        {
 8953|     13|            type_add_flags(type, Py_TPFLAGS_HAVE_VECTORCALL);
  ------------------
  |  |  510|     13|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
 8954|     13|        }
 8955|  3.33k|        COPYSLOT(tp_call);
  ------------------
  |  | 8838|  3.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  3.28k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 15, False: 3.26k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  3.28k|     (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.28k, False: 49]
  |  |  ------------------
  ------------------
 8956|  3.33k|    }
 8957|  3.33k|    COPYSLOT(tp_str);
  ------------------
  |  | 8838|  3.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  2.96k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 2.96k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|  2.96k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 1.16k, False: 1.80k]
  |  |  |  |  |  Branch (8835:27): [True: 161, False: 1.64k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 2.96k, False: 366]
  |  |  ------------------
  ------------------
 8958|  3.33k|    {
 8959|       |        /* Copy comparison-related slots only when
 8960|       |           not overriding them anywhere */
 8961|  3.33k|        if (type->tp_richcompare == NULL &&
  ------------------
  |  Branch (8961:13): [True: 1.31k, False: 2.01k]
  ------------------
 8962|  1.31k|            type->tp_hash == NULL)
  ------------------
  |  Branch (8962:13): [True: 1.30k, False: 10]
  ------------------
 8963|  1.30k|        {
 8964|  1.30k|            int r = overrides_hash(type);
 8965|  1.30k|            if (r < 0) {
  ------------------
  |  Branch (8965:17): [True: 0, False: 1.30k]
  ------------------
 8966|      0|                return -1;
 8967|      0|            }
 8968|  1.30k|            if (!r) {
  ------------------
  |  Branch (8968:17): [True: 1.24k, False: 57]
  ------------------
 8969|  1.24k|                type->tp_richcompare = base->tp_richcompare;
 8970|  1.24k|                type->tp_hash = base->tp_hash;
 8971|  1.24k|            }
 8972|  1.30k|        }
 8973|  3.33k|    }
 8974|  3.33k|    {
 8975|  3.33k|        COPYSLOT(tp_iter);
  ------------------
  |  | 8838|  3.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  2.73k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 269, False: 2.46k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  2.73k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 269]
  |  |  |  |  |  Branch (8835:27): [True: 213, False: 56]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 2.73k, False: 601]
  |  |  ------------------
  ------------------
 8976|  3.33k|        COPYSLOT(tp_iternext);
  ------------------
  |  | 8838|  3.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  2.19k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 1.02k, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  2.19k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 1.02k]
  |  |  |  |  |  Branch (8835:27): [True: 661, False: 361]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 2.19k, False: 1.13k]
  |  |  ------------------
  ------------------
 8977|  3.33k|    }
 8978|  3.33k|    {
 8979|  3.33k|        COPYSLOT(tp_descr_get);
  ------------------
  |  | 8838|  3.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  3.29k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 7, False: 3.29k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  3.29k|     (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.29k, False: 34]
  |  |  ------------------
  ------------------
 8980|       |        /* Inherit Py_TPFLAGS_METHOD_DESCRIPTOR if tp_descr_get was inherited,
 8981|       |         * but only for extension types */
 8982|  3.33k|        if (base->tp_descr_get &&
  ------------------
  |  Branch (8982:13): [True: 7, False: 3.32k]
  ------------------
 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.33k|        COPYSLOT(tp_descr_set);
  ------------------
  |  | 8838|  3.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  3.32k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 3, False: 3.31k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  3.32k|     (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.32k, False: 10]
  |  |  ------------------
  ------------------
 8990|  3.33k|        COPYSLOT(tp_dictoffset);
  ------------------
  |  | 8838|  3.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|    639|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 0, False: 639]
  |  |  |  |  ------------------
  |  |  |  | 8835|    639|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 0, False: 0]
  |  |  |  |  |  Branch (8835:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 639, False: 2.69k]
  |  |  ------------------
  ------------------
 8991|  3.33k|        COPYSLOT(tp_init);
  ------------------
  |  | 8838|  3.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  1.83k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 1.83k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|  1.83k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 591, False: 1.24k]
  |  |  |  |  |  Branch (8835:27): [True: 589, False: 656]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 1.83k, False: 1.49k]
  |  |  ------------------
  ------------------
 8992|  3.33k|        COPYSLOT(tp_alloc);
  ------------------
  |  | 8838|  3.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|    916|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 916, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8835|    916|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8835:7): [True: 455, False: 461]
  |  |  |  |  |  Branch (8835:27): [True: 0, False: 461]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8838:9): [True: 916, False: 2.41k]
  |  |  ------------------
  ------------------
 8993|  3.33k|        COPYSLOT(tp_is_gc);
  ------------------
  |  | 8838|  3.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  3.32k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 7, False: 3.31k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  3.32k|     (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.32k, False: 7]
  |  |  ------------------
  ------------------
 8994|  3.33k|        COPYSLOT(tp_finalize);
  ------------------
  |  | 8838|  3.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8834|  3.29k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8834:6): [True: 48, False: 3.24k]
  |  |  |  |  ------------------
  |  |  |  | 8835|  3.29k|     (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.29k, False: 40]
  |  |  ------------------
  ------------------
 8995|  3.33k|        if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) ==
  ------------------
  |  |  524|  3.33k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8995:13): [True: 2.02k, False: 1.30k]
  ------------------
 8996|  3.33k|            (base->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|  3.33k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 8997|       |            /* They agree about gc. */
 8998|  2.02k|            COPYSLOT(tp_free);
  ------------------
  |  | 8838|  2.02k|    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.50k]
  |  |  ------------------
  ------------------
 8999|  2.02k|        }
 9000|  1.30k|        else if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|  1.30k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9000:18): [True: 1.30k, False: 0]
  ------------------
 9001|  1.30k|                 type->tp_free == NULL &&
  ------------------
  |  Branch (9001:18): [True: 156, False: 1.15k]
  ------------------
 9002|    156|                 base->tp_free == PyObject_Free) {
  ------------------
  |  Branch (9002:18): [True: 156, 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|    156|            type->tp_free = PyObject_GC_Del;
 9009|    156|        }
 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.33k|    }
 9014|  3.33k|    return 0;
 9015|  3.33k|}
typeobject.c:overrides_hash:
 8797|  1.30k|{
 8798|  1.30k|    PyObject *dict = lookup_tp_dict(type);
 8799|       |
 8800|  1.30k|    assert(dict != NULL);
  ------------------
  |  Branch (8800:5): [True: 1.30k, 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.30k|    int r = PyDict_Contains(dict, &_Py_ID(__eq__));
  ------------------
  |  |  951|  1.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8814|  1.30k|    if (r == 0) {
  ------------------
  |  Branch (8814:9): [True: 1.25k, False: 52]
  ------------------
 8815|  1.25k|        r = PyDict_Contains(dict, &_Py_ID(__hash__));
  ------------------
  |  |  951|  1.25k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.25k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.25k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8816|  1.25k|    }
 8817|  1.30k|#endif
 8818|  1.30k|    return r;
 8819|  1.30k|}
typeobject.c:inherit_patma_flags:
 9314|  3.33k|inherit_patma_flags(PyTypeObject *type, PyTypeObject *base) {
 9315|  3.33k|    if ((type->tp_flags & COLLECTION_FLAGS) == 0) {
  ------------------
  |  | 9020|  3.33k|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|  3.33k|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|  3.33k|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  |  Branch (9315:9): [True: 3.19k, False: 138]
  ------------------
 9316|  3.19k|        type_add_flags(type, base->tp_flags & COLLECTION_FLAGS);
  ------------------
  |  | 9020|  3.19k|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|  3.19k|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|  3.19k|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
 9317|  3.19k|    }
 9318|  3.33k|}
typeobject.c:type_ready_inherit_as_structs:
 9295|  1.36k|{
 9296|  1.36k|    if (type->tp_as_async == NULL) {
  ------------------
  |  Branch (9296:9): [True: 400, False: 969]
  ------------------
 9297|    400|        type->tp_as_async = base->tp_as_async;
 9298|    400|    }
 9299|  1.36k|    if (type->tp_as_number == NULL) {
  ------------------
  |  Branch (9299:9): [True: 352, False: 1.01k]
  ------------------
 9300|    352|        type->tp_as_number = base->tp_as_number;
 9301|    352|    }
 9302|  1.36k|    if (type->tp_as_sequence == NULL) {
  ------------------
  |  Branch (9302:9): [True: 368, False: 1.00k]
  ------------------
 9303|    368|        type->tp_as_sequence = base->tp_as_sequence;
 9304|    368|    }
 9305|  1.36k|    if (type->tp_as_mapping == NULL) {
  ------------------
  |  Branch (9305:9): [True: 366, False: 1.00k]
  ------------------
 9306|    366|        type->tp_as_mapping = base->tp_as_mapping;
 9307|    366|    }
 9308|  1.36k|    if (type->tp_as_buffer == NULL) {
  ------------------
  |  Branch (9308:9): [True: 400, False: 969]
  ------------------
 9309|    400|        type->tp_as_buffer = base->tp_as_buffer;
 9310|    400|    }
 9311|  1.36k|}
typeobject.c:type_ready_preheader:
 9205|  1.37k|{
 9206|  1.37k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  1.37k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9206:9): [True: 708, False: 663]
  ------------------
 9207|    708|        if (type->tp_dictoffset > 0 || type->tp_dictoffset < -1) {
  ------------------
  |  Branch (9207:13): [True: 0, False: 708]
  |  Branch (9207:40): [True: 0, False: 708]
  ------------------
 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|    708|        if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|    708|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9214:13): [True: 0, False: 708]
  ------------------
 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|    708|        type->tp_dictoffset = -1;
 9222|    708|    }
 9223|  1.37k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF) {
  ------------------
  |  |  477|  1.37k|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  ------------------
  |  Branch (9223:9): [True: 747, False: 624]
  ------------------
 9224|    747|        if (type->tp_weaklistoffset != 0 &&
  ------------------
  |  Branch (9224:13): [True: 733, False: 14]
  ------------------
 9225|    733|            type->tp_weaklistoffset != MANAGED_WEAKREF_OFFSET)
  ------------------
  |  |  911|    733|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
  |  Branch (9225:13): [True: 0, False: 733]
  ------------------
 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|    747|        if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|    747|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9233:13): [True: 0, False: 747]
  ------------------
 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|    747|        type->tp_weaklistoffset = MANAGED_WEAKREF_OFFSET;
  ------------------
  |  |  911|    747|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
 9241|    747|    }
 9242|  1.37k|    return 0;
 9243|  1.37k|}
typeobject.c:type_ready_set_hash:
 9374|  1.37k|{
 9375|  1.37k|    if (type->tp_hash != NULL) {
  ------------------
  |  Branch (9375:9): [True: 1.32k, False: 46]
  ------------------
 9376|  1.32k|        return 0;
 9377|  1.32k|    }
 9378|       |
 9379|     46|    PyObject *dict = lookup_tp_dict(type);
 9380|     46|    int r = PyDict_Contains(dict, &_Py_ID(__hash__));
  ------------------
  |  |  951|     46|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     46|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     46|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9381|     46|    if (r < 0) {
  ------------------
  |  Branch (9381:9): [True: 0, False: 46]
  ------------------
 9382|      0|        return -1;
 9383|      0|    }
 9384|     46|    if (r > 0) {
  ------------------
  |  Branch (9384:9): [True: 11, False: 35]
  ------------------
 9385|     11|        return 0;
 9386|     11|    }
 9387|       |
 9388|     35|    if (PyDict_SetItem(dict, &_Py_ID(__hash__), Py_None) < 0) {
  ------------------
  |  |  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.37k|{
 9468|  1.37k|    if (!(type->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  1.37k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9468:9): [True: 663, False: 708]
  ------------------
 9469|    663|        return 0;
 9470|    663|    }
 9471|    708|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    708|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9471:9): [True: 0, False: 708]
  ------------------
 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|    708|    PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 9479|    708|    if (et->ht_cached_keys == NULL) {
  ------------------
  |  Branch (9479:9): [True: 708, False: 0]
  ------------------
 9480|    708|        et->ht_cached_keys = _PyDict_NewKeysForClass(et);
 9481|    708|        if (et->ht_cached_keys == NULL) {
  ------------------
  |  Branch (9481:13): [True: 0, False: 708]
  ------------------
 9482|      0|            PyErr_NoMemory();
 9483|      0|            return -1;
 9484|      0|        }
 9485|    708|    }
 9486|    708|    if (type->tp_itemsize == 0) {
  ------------------
  |  Branch (9486:9): [True: 700, False: 8]
  ------------------
 9487|    700|        type_add_flags(type, Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  |  472|    700|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
 9488|    700|    }
 9489|    708|    return 0;
 9490|    708|}
typeobject.c:type_ready_post_checks:
 9494|  1.37k|{
 9495|       |    // bpo-44263: tp_traverse is required if Py_TPFLAGS_HAVE_GC is set.
 9496|       |    // Note: tp_clear is optional.
 9497|  1.37k|    if (type->tp_flags & Py_TPFLAGS_HAVE_GC
  ------------------
  |  |  524|  2.74k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9497:9): [True: 1.30k, False: 71]
  ------------------
 9498|  1.30k|        && type->tp_traverse == NULL)
  ------------------
  |  Branch (9498:12): [True: 0, False: 1.30k]
  ------------------
 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.37k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  1.37k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9506:9): [True: 708, False: 663]
  ------------------
 9507|    708|        if (type->tp_dictoffset != -1) {
  ------------------
  |  Branch (9507:13): [True: 0, False: 708]
  ------------------
 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|    708|    }
 9515|    663|    else if (type->tp_dictoffset < (Py_ssize_t)sizeof(PyObject)) {
  ------------------
  |  Branch (9515:14): [True: 435, False: 228]
  ------------------
 9516|    435|        if (type->tp_dictoffset + type->tp_basicsize <= 0) {
  ------------------
  |  Branch (9516:13): [True: 0, False: 435]
  ------------------
 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|    435|    }
 9523|  1.37k|    return 0;
 9524|  1.37k|}
typeobject.c:stop_readying:
  439|  1.37k|{
  440|  1.37k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.37k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (440:9): [True: 412, False: 959]
  ------------------
  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.37k|    assert(type->tp_flags & Py_TPFLAGS_READYING);
  ------------------
  |  Branch (448:5): [True: 959, False: 0]
  ------------------
  449|    959|    type_clear_flags(type, Py_TPFLAGS_READYING);
  ------------------
  |  |  521|    959|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  450|    959|}
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|    594|{
 3153|    594|    assert(nargs >= 1);
  ------------------
  |  Branch (3153:5): [True: 594, False: 0]
  ------------------
 3154|       |
 3155|    594|    PyThreadState *tstate = _PyThreadState_GET();
 3156|    594|    PyObject *retval = NULL;
 3157|    594|    PyObject *self = args[0];
 3158|    594|    _PyCStackRef cref;
 3159|    594|    _PyThreadState_PushCStackRef(tstate, &cref);
 3160|    594|    int unbound = lookup_method(self, name, &cref.ref);
 3161|    594|    if (unbound >= 0) {
  ------------------
  |  Branch (3161:9): [True: 594, False: 0]
  ------------------
 3162|    594|        PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3163|    594|        retval = vectorcall_unbound(tstate, unbound, func, args, nargs);
 3164|    594|    }
 3165|    594|    _PyThreadState_PopCStackRef(tstate, &cref);
 3166|    594|    return retval;
 3167|    594|}
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|  36.4k|{
11847|  36.4k|    size_t i = (size_t)hash & (SLOTNAME_TABLE_SIZE - 1);
  ------------------
  |  |11838|  36.4k|#define SLOTNAME_TABLE_SIZE 512
  ------------------
11848|  43.1k|    while (slotname_table[i] != 0) {
  ------------------
  |  Branch (11848:12): [True: 22.4k, False: 20.7k]
  ------------------
11849|  22.4k|        PyObject *name = slotdefs[slotname_table[i] - 1].name_strobj;
11850|  22.4k|        if (name == key
  ------------------
  |  Branch (11850:13): [True: 15.6k, False: 6.73k]
  ------------------
11851|  6.73k|            || (PyUnstable_Unicode_GET_CACHED_HASH(name) == hash
  ------------------
  |  Branch (11851:17): [True: 0, False: 6.73k]
  ------------------
11852|  15.6k|                && _PyUnicode_Equal(name, key))) {
  ------------------
  |  Branch (11852:20): [True: 0, False: 0]
  ------------------
11853|  15.6k|            break;
11854|  15.6k|        }
11855|  6.73k|        i = (i + 1) & (SLOTNAME_TABLE_SIZE - 1);
  ------------------
  |  |11838|  6.73k|#define SLOTNAME_TABLE_SIZE 512
  ------------------
11856|  6.73k|    }
11857|  36.4k|    return i;
11858|  36.4k|}
typeobject.c:check_num_args:
 9859|     36|{
 9860|     36|    if (!PyTuple_CheckExact(ob)) {
  ------------------
  |  |   28|     36|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     36|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9860:9): [True: 0, False: 36]
  ------------------
 9861|      0|        PyErr_SetString(PyExc_SystemError,
 9862|      0|            "PyArg_UnpackTuple() argument list is not a tuple");
 9863|      0|        return 0;
 9864|      0|    }
 9865|     36|    if (n == PyTuple_GET_SIZE(ob))
  ------------------
  |  |   27|     36|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9865:9): [True: 36, False: 0]
  ------------------
 9866|     36|        return 1;
 9867|      0|    PyErr_Format(
 9868|      0|        PyExc_TypeError,
 9869|      0|        "expected %d argument%s, got %zd", n, n == 1 ? "" : "s", PyTuple_GET_SIZE(ob));
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9869:47): [True: 0, False: 0]
  ------------------
 9870|      0|    return 0;
 9871|     36|}
typeobject.c:slot_tp_setattro:
11089|    142|{
11090|    142|    PyObject *stack[3];
11091|    142|    PyObject *res;
11092|       |
11093|    142|    stack[0] = self;
11094|    142|    stack[1] = name;
11095|    142|    if (value == NULL) {
  ------------------
  |  Branch (11095:9): [True: 36, False: 106]
  ------------------
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|    106|    else {
11099|    106|        stack[2] = value;
11100|    106|        res = vectorcall_method(&_Py_ID(__setattr__), stack, 3);
  ------------------
  |  |  951|    106|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    106|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    106|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11101|    106|    }
11102|    142|    if (res == NULL)
  ------------------
  |  Branch (11102:9): [True: 0, False: 142]
  ------------------
11103|      0|        return -1;
11104|    142|    Py_DECREF(res);
  ------------------
  |  |  430|    142|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    142|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11105|    142|    return 0;
11106|    142|}
typeobject.c:wrap_setattr:
10231|    106|{
10232|    106|    setattrofunc func = (setattrofunc)wrapped;
10233|    106|    int res;
10234|    106|    PyObject *name, *value;
10235|       |
10236|    106|    if (!PyArg_UnpackTuple(args, "__setattr__", 2, 2, &name, &value))
  ------------------
  |  Branch (10236:9): [True: 0, False: 106]
  ------------------
10237|      0|        return NULL;
10238|    106|    if (!hackcheck(self, func, "__setattr__"))
  ------------------
  |  Branch (10238:9): [True: 0, False: 106]
  ------------------
10239|      0|        return NULL;
10240|    106|    res = (*func)(self, name, value);
10241|    106|    if (res < 0)
  ------------------
  |  Branch (10241:9): [True: 0, False: 106]
  ------------------
10242|      0|        return NULL;
10243|    106|    Py_RETURN_NONE;
  ------------------
  |  |  628|    106|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    106|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10244|    106|}
typeobject.c:hackcheck:
10217|    142|{
10218|    142|    if (!PyType_Check(self)) {
  ------------------
  |  |  766|    142|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    142|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10218:9): [True: 48, False: 94]
  ------------------
10219|     48|        return 1;
10220|     48|    }
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|    142|}
typeobject.c:hackcheck_unlocked:
10169|     94|{
10170|     94|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|     94|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10171|       |
10172|     94|    ASSERT_TYPE_LOCK_HELD();
10173|       |
10174|     94|    PyObject *mro = lookup_tp_mro(type);
10175|     94|    if (!mro) {
  ------------------
  |  Branch (10175:9): [True: 0, False: 94]
  ------------------
10176|       |        /* Probably ok not to check the call in this case. */
10177|      0|        return 1;
10178|      0|    }
10179|     94|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (10179:5): [True: 94, False: 0]
  ------------------
10180|       |
10181|       |    /* Find the (base) type that defined the type's slot function. */
10182|     94|    PyTypeObject *defining_type = type;
10183|     94|    Py_ssize_t i;
10184|    376|    for (i = PyTuple_GET_SIZE(mro) - 1; i >= 0; i--) {
  ------------------
  |  |   27|     94|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10184:41): [True: 282, False: 94]
  ------------------
10185|    564|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(mro, i));
  ------------------
  |  |  770|    282|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    564|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 282, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10185:30): [True: 282, False: 0]
  |  Branch (10185:30): [True: 282, False: 0]
  ------------------
10186|    282|        if (base->tp_setattro == slot_tp_setattro) {
  ------------------
  |  Branch (10186:13): [True: 94, False: 188]
  ------------------
10187|       |            /* Ignore Python classes:
10188|       |               they never define their own C-level setattro. */
10189|     94|        }
10190|    188|        else if (base->tp_setattro == type->tp_setattro) {
  ------------------
  |  Branch (10190:18): [True: 0, False: 188]
  ------------------
10191|      0|            defining_type = base;
10192|      0|            break;
10193|      0|        }
10194|    564|    }
10195|       |
10196|       |    /* Reject calls that jump over intermediate C-level overrides. */
10197|    188|    for (PyTypeObject *base = defining_type; base; base = base->tp_base) {
  ------------------
  |  Branch (10197:46): [True: 188, False: 0]
  ------------------
10198|    188|        if (base->tp_setattro == func) {
  ------------------
  |  Branch (10198:13): [True: 94, False: 94]
  ------------------
10199|       |            /* 'func' is the right slot function to call. */
10200|     94|            break;
10201|     94|        }
10202|     94|        else if (base->tp_setattro != slot_tp_setattro) {
  ------------------
  |  Branch (10202:18): [True: 0, False: 94]
  ------------------
10203|       |            /* 'base' is not a Python class and overrides 'func'.
10204|       |               Its tp_setattro should be called instead. */
10205|      0|            PyErr_Format(PyExc_TypeError,
10206|      0|                         "can't apply this %s to %s object",
10207|      0|                         what,
10208|      0|                         type->tp_name);
10209|      0|            return 0;
10210|      0|        }
10211|    188|    }
10212|     94|    return 1;
10213|     94|}
typeobject.c:wrap_delattr:
10248|     36|{
10249|     36|    setattrofunc func = (setattrofunc)wrapped;
10250|     36|    int res;
10251|     36|    PyObject *name;
10252|       |
10253|     36|    if (!check_num_args(args, 1))
  ------------------
  |  Branch (10253:9): [True: 0, False: 36]
  ------------------
10254|      0|        return NULL;
10255|     36|    name = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|     36|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     36|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10255:12): [True: 36, False: 0]
  ------------------
10256|     36|    if (!hackcheck(self, func, "__delattr__"))
  ------------------
  |  Branch (10256:9): [True: 0, False: 36]
  ------------------
10257|      0|        return NULL;
10258|     36|    res = (*func)(self, name, NULL);
10259|     36|    if (res < 0)
  ------------------
  |  Branch (10259:9): [True: 0, False: 36]
  ------------------
10260|      0|        return NULL;
10261|     36|    Py_RETURN_NONE;
  ------------------
  |  |  628|     36|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     36|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10262|     36|}
typeobject.c:slot_tp_iter:
11144|      4|{
11145|      4|    int attr_is_none = 0;
11146|      4|    PyObject *res = maybe_call_special_no_args(self, &_Py_ID(__iter__),
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11147|      4|                                               &attr_is_none);
11148|      4|    if (res != NULL) {
  ------------------
  |  Branch (11148:9): [True: 4, False: 0]
  ------------------
11149|      4|        return res;
11150|      4|    }
11151|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (11151:14): [True: 0, False: 0]
  ------------------
11152|      0|        return NULL;
11153|      0|    }
11154|      0|    else if (attr_is_none || !has_dunder_getitem(self)) {
  ------------------
  |  Branch (11154:14): [True: 0, False: 0]
  |  Branch (11154:30): [True: 0, False: 0]
  ------------------
11155|      0|        PyErr_Format(PyExc_TypeError,
11156|      0|            "'%.200s' object is not iterable",
11157|      0|            Py_TYPE(self)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11158|      0|        return NULL;
11159|      0|    }
11160|      0|    return PySeqIter_New(self);
11161|      4|}
typeobject.c:slot_tp_descr_get:
11178|      4|{
11179|      4|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|      4|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11180|      4|    PyThreadState *tstate = _PyThreadState_GET();
11181|      4|    _PyCStackRef cref;
11182|      4|    _PyThreadState_PushCStackRef(tstate, &cref);
11183|      4|    _PyType_LookupStackRefAndVersion(tp, &_Py_ID(__get__), &cref.ref);
  ------------------
  |  |  951|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11184|      4|    if (PyStackRef_IsNull(cref.ref)) {
  ------------------
  |  |  482|      4|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|      4|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      4|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 4]
  |  |  ------------------
  ------------------
11185|      0|        _PyThreadState_PopCStackRef(tstate, &cref);
11186|      0|#ifndef Py_GIL_DISABLED
11187|       |        /* Avoid further slowdowns */
11188|      0|        if (tp->tp_descr_get == slot_tp_descr_get)
  ------------------
  |  Branch (11188:13): [True: 0, False: 0]
  ------------------
11189|      0|            tp->tp_descr_get = NULL;
11190|      0|#endif
11191|      0|        return Py_NewRef(self);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11192|      0|    }
11193|      4|    if (obj == NULL)
  ------------------
  |  Branch (11193:9): [True: 0, False: 4]
  ------------------
11194|      0|        obj = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
11195|      4|    if (type == NULL)
  ------------------
  |  Branch (11195:9): [True: 0, False: 4]
  ------------------
11196|      0|        type = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
11197|      4|    PyObject *get = PyStackRef_AsPyObjectBorrow(cref.ref);
11198|      4|    PyObject *stack[3] = {self, obj, type};
11199|       |    PyObject *res = PyObject_Vectorcall(get, stack, 3, NULL);
11200|      4|    _PyThreadState_PopCStackRef(tstate, &cref);
11201|      4|    return res;
11202|      4|}
typeobject.c:slot_tp_init:
11227|  42.3k|{
11228|  42.3k|    PyObject *res = call_method(self, &_Py_ID(__init__), args, kwds);
  ------------------
  |  |  951|  42.3k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  42.3k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  42.3k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11229|  42.3k|    if (res == NULL)
  ------------------
  |  Branch (11229:9): [True: 11, False: 42.3k]
  ------------------
11230|     11|        return -1;
11231|  42.3k|    if (res != Py_None) {
  ------------------
  |  |  616|  42.3k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (11231:9): [True: 0, False: 42.3k]
  ------------------
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|  42.3k|    Py_DECREF(res);
  ------------------
  |  |  430|  42.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11239|  42.3k|    return 0;
11240|  42.3k|}
typeobject.c:wrap_init:
10450|    434|{
10451|    434|    initproc func = (initproc)wrapped;
10452|       |
10453|    434|    if (func(self, args, kwds) < 0)
  ------------------
  |  Branch (10453:9): [True: 0, False: 434]
  ------------------
10454|      0|        return NULL;
10455|    434|    Py_RETURN_NONE;
  ------------------
  |  |  628|    434|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    434|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10456|    434|}
typeobject.c:vectorcall_maybe:
 3174|      9|{
 3175|      9|    assert(nargs >= 1);
  ------------------
  |  Branch (3175:5): [True: 9, False: 0]
  ------------------
 3176|       |
 3177|      9|    PyObject *self = args[0];
 3178|      9|    _PyCStackRef cref;
 3179|      9|    _PyThreadState_PushCStackRef(tstate, &cref);
 3180|      9|    int unbound = lookup_maybe_method(self, name, &cref.ref);
 3181|      9|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3182|      9|    if (func == NULL) {
  ------------------
  |  Branch (3182:9): [True: 0, False: 9]
  ------------------
 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|      9|    PyObject *retval = vectorcall_unbound(tstate, unbound, func, args, nargs);
 3190|      9|    _PyThreadState_PopCStackRef(tstate, &cref);
 3191|      9|    return retval;
 3192|      9|}
typeobject.c:slot_sq_length:
10667|    145|{
10668|    145|    PyObject* stack[1] = {self};
10669|    145|    PyObject *res = vectorcall_method(&_Py_ID(__len__), stack, 1);
  ------------------
  |  |  951|    145|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    145|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    145|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10670|    145|    Py_ssize_t len;
10671|       |
10672|    145|    if (res == NULL)
  ------------------
  |  Branch (10672:9): [True: 0, False: 145]
  ------------------
10673|      0|        return -1;
10674|       |
10675|    145|    Py_SETREF(res, _PyNumber_Index(res));
  ------------------
  |  |  545|    145|    do { \
  |  |  546|    145|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    145|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|    145|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    145|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|    145|        *_tmp_dst_ptr = (src); \
  |  |  549|    145|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|    145|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|    145|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 145]
  |  |  ------------------
  ------------------
10676|    145|    if (res == NULL)
  ------------------
  |  Branch (10676:9): [True: 0, False: 145]
  ------------------
10677|      0|        return -1;
10678|       |
10679|    145|    assert(PyLong_Check(res));
  ------------------
  |  Branch (10679:5): [True: 145, False: 0]
  ------------------
10680|    145|    if (_PyLong_IsNegative((PyLongObject *)res)) {
  ------------------
  |  Branch (10680:9): [True: 0, False: 145]
  ------------------
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|    145|    len = PyNumber_AsSsize_t(res, PyExc_OverflowError);
10688|    145|    assert(len >= 0 || PyErr_ExceptionMatches(PyExc_OverflowError));
  ------------------
  |  Branch (10688:5): [True: 145, False: 0]
  |  Branch (10688:5): [True: 0, False: 0]
  ------------------
10689|    145|    Py_DECREF(res);
  ------------------
  |  |  430|    145|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10690|    145|    return len;
10691|    145|}
typeobject.c:slot_mp_subscript:
10580|     42|FUNCNAME(PyObject *self, ARG1TYPE arg1) \
10581|     42|{ \
10582|     42|    PyObject* stack[2] = {self, arg1}; \
10583|     42|    return vectorcall_method(&_Py_ID(DUNDER), stack, 2); \
  ------------------
  |  |  951|     42|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     42|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     42|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10584|     42|}
typeobject.c:slot_mp_ass_subscript:
10765|    117|{
10766|    117|    PyObject *stack[3];
10767|    117|    PyObject *res;
10768|       |
10769|    117|    stack[0] = self;
10770|    117|    stack[1] = key;
10771|    117|    if (value == NULL) {
  ------------------
  |  Branch (10771:9): [True: 0, False: 117]
  ------------------
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|    117|    else {
10775|    117|        stack[2] = value;
10776|    117|        res = vectorcall_method(&_Py_ID(__setitem__), stack, 3);
  ------------------
  |  |  951|    117|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    117|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    117|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10777|    117|    }
10778|       |
10779|    117|    if (res == NULL)
  ------------------
  |  Branch (10779:9): [True: 0, False: 117]
  ------------------
10780|      0|        return -1;
10781|    117|    Py_DECREF(res);
  ------------------
  |  |  430|    117|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    117|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10782|    117|    return 0;
10783|    117|}
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|    148|{
10696|    148|    PyObject *ival = PyLong_FromSsize_t(i);
10697|    148|    if (ival == NULL) {
  ------------------
  |  Branch (10697:9): [True: 0, False: 148]
  ------------------
10698|      0|        return NULL;
10699|      0|    }
10700|    148|    PyObject *stack[2] = {self, ival};
10701|    148|    PyObject *retval = vectorcall_method(&_Py_ID(__getitem__), stack, 2);
  ------------------
  |  |  951|    148|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    148|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    148|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10702|    148|    Py_DECREF(ival);
  ------------------
  |  |  430|    148|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10703|    148|    return retval;
10704|    148|}
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|  36.2k|{
11885|  36.2k|    assert(slotname_table_initialized);
  ------------------
  |  Branch (11885:5): [True: 36.2k, False: 0]
  ------------------
11886|  36.2k|    assert(hash != -1);
  ------------------
  |  Branch (11886:5): [True: 36.2k, False: 0]
  ------------------
11887|  36.2k|    size_t i = slotname_probe(key, hash);
11888|  36.2k|    return slotname_table[i] ? slotname_table[i] - 1 : -1;
  ------------------
  |  Branch (11888:12): [True: 15.6k, False: 20.5k]
  ------------------
11889|  36.2k|}
typeobject.c:type_get_mro:
 1710|     79|{
 1711|     79|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  141|     79|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1712|     79|    PyObject *mro = lookup_tp_mro(type);
 1713|     79|    if (mro == NULL) {
  ------------------
  |  Branch (1713:9): [True: 0, False: 79]
  ------------------
 1714|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1715|      0|    }
 1716|     79|    return Py_NewRef(mro);
  ------------------
  |  |  647|     79|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|     79|}
typeobject.c:check_immutable_bases:
 5189|    108|{
 5190|    108|    Py_ssize_t i = 0;
 5191|    108|    if (skip_first) {
  ------------------
  |  Branch (5191:9): [True: 0, False: 108]
  ------------------
 5192|       |        // When testing the MRO, skip the type itself
 5193|      0|        i = 1;
 5194|      0|    }
 5195|    216|    for (; i<PyTuple_GET_SIZE(bases); i++) {
  ------------------
  |  |   27|    216|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    216|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    216|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5195:12): [True: 108, False: 108]
  ------------------
 5196|    108|        PyTypeObject *b = (PyTypeObject*)PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    108|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    108|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    108|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5196:42): [True: 108, False: 0]
  ------------------
 5197|    108|        if (!b) {
  ------------------
  |  Branch (5197:13): [True: 0, False: 108]
  ------------------
 5198|      0|            return -1;
 5199|      0|        }
 5200|    108|        if (!_PyType_HasFeature(b, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|    108|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (5200:13): [True: 0, False: 108]
  ------------------
 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|    108|    }
 5209|    108|    return 0;
 5210|    108|}
typeobject.c:supercheck:
12840|  2.05k|{
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.05k|    if (PyType_Check(obj) && PyType_IsSubtype((PyTypeObject *)obj, type)) {
  ------------------
  |  |  766|  4.10k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.54k, False: 503]
  |  |  ------------------
  ------------------
  |  Branch (12857:30): [True: 1.45k, False: 94]
  ------------------
12858|  1.45k|        return (PyTypeObject *)Py_NewRef(obj);
  ------------------
  |  |  647|  1.45k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12859|  1.45k|    }
12860|       |
12861|       |    /* Normal case */
12862|    597|    if (PyType_IsSubtype(Py_TYPE(obj), type)) {
  ------------------
  |  |  213|    597|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    597|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    597|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12862:9): [True: 597, False: 0]
  ------------------
12863|    597|        return (PyTypeObject*)Py_NewRef(Py_TYPE(obj));
  ------------------
  |  |  647|    597|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    597|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    597|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12864|    597|    }
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|    597|}
typeobject.c:do_super_lookup:
12775|  2.05k|{
12776|  2.05k|    PyObject *res;
12777|  2.05k|    int temp_su = 0;
12778|       |
12779|  2.05k|    if (su_obj_type == NULL) {
  ------------------
  |  Branch (12779:9): [True: 0, False: 2.05k]
  ------------------
12780|      0|        goto skip;
12781|      0|    }
12782|       |
12783|  2.05k|    res = _PySuper_LookupDescr(su_type, su_obj_type, name);
12784|  2.05k|    if (res != NULL) {
  ------------------
  |  Branch (12784:9): [True: 2.05k, False: 0]
  ------------------
12785|  2.05k|        if (method && _PyType_HasFeature(Py_TYPE(res), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|    499|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    499|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    499|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (method && _PyType_HasFeature(Py_TYPE(res), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|    499|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (12785:13): [True: 499, False: 1.55k]
  |  Branch (12785:23): [True: 499, False: 0]
  ------------------
12786|    499|            *method = 1;
12787|    499|        }
12788|  1.55k|        else {
12789|  1.55k|            descrgetfunc f = Py_TYPE(res)->tp_descr_get;
  ------------------
  |  |  213|  1.55k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12790|  1.55k|            if (f != NULL) {
  ------------------
  |  Branch (12790:17): [True: 929, False: 622]
  ------------------
12791|    929|                PyObject *res2;
12792|    929|                res2 = f(res,
12793|       |                    /* Only pass 'obj' param if this is instance-mode super
12794|       |                    (See SF ID #743627)  */
12795|    929|                    (su_obj == (PyObject *)su_obj_type) ? NULL : su_obj,
  ------------------
  |  Branch (12795:21): [True: 831, False: 98]
  ------------------
12796|    929|                    (PyObject *)su_obj_type);
12797|    929|                Py_SETREF(res, res2);
  ------------------
  |  |  545|    929|    do { \
  |  |  546|    929|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    929|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|    929|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    929|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|    929|        *_tmp_dst_ptr = (src); \
  |  |  549|    929|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|    929|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    929|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    929|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|    929|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 929]
  |  |  ------------------
  ------------------
12798|    929|            }
12799|  1.55k|        }
12800|       |
12801|  2.05k|        return res;
12802|  2.05k|    }
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|    844|{
12694|    844|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12679|    844|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12695|       |
12696|    844|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  504|    844|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    844|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    844|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12697|    844|    Py_XDECREF(su->obj);
  ------------------
  |  |  621|    844|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    844|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    844|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12698|    844|    Py_XDECREF(su->type);
  ------------------
  |  |  621|    844|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    844|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    844|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12699|    844|    Py_XDECREF(su->obj_type);
  ------------------
  |  |  621|    844|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    844|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    844|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12700|    844|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    844|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    844|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    844|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12701|    844|}
typeobject.c:super_getattro:
12825|    844|{
12826|    844|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12679|    844|#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|    844|    if (PyUnicode_Check(name) &&
  ------------------
  |  |  103|    844|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.68k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 844, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12831|    844|        PyUnicode_GET_LENGTH(name) == 9 &&
  ------------------
  |  |  300|    844|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    844|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    844|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12831:9): [True: 0, False: 844]
  ------------------
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|    844|    return do_super_lookup(su, su->type, su->obj, su->obj_type, name, NULL);
12836|    844|}
typeobject.c:super_init_impl:
13050|    844|super_init_impl(PyObject *self, PyTypeObject *type, PyObject *obj) {
13051|    844|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12679|    844|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
13052|    844|    PyTypeObject *obj_type = NULL;
13053|    844|    if (type == NULL) {
  ------------------
  |  Branch (13053:9): [True: 14, False: 830]
  ------------------
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|    830|    else {
13070|    830|        Py_INCREF(type);
  ------------------
  |  |  310|    830|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    830|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    830|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13071|    830|        Py_XINCREF(obj);
  ------------------
  |  |  611|    830|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    830|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    830|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13072|    830|    }
13073|       |
13074|    844|    if (obj == Py_None) {
  ------------------
  |  |  616|    844|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (13074:9): [True: 0, False: 844]
  ------------------
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|    844|    if (obj != NULL) {
  ------------------
  |  Branch (13078:9): [True: 844, False: 0]
  ------------------
13079|    844|        obj_type = supercheck(type, obj);
13080|    844|        if (obj_type == NULL) {
  ------------------
  |  Branch (13080:13): [True: 0, False: 844]
  ------------------
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|    844|    }
13086|    844|    Py_XSETREF(su->type, (PyTypeObject*)type);
  ------------------
  |  |  576|    844|    do { \
  |  |  577|    844|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    844|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    844|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    844|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    844|        *_tmp_dst_ptr = (src); \
  |  |  580|    844|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    844|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    844|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    844|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    844|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 844]
  |  |  ------------------
  ------------------
13087|    844|    Py_XSETREF(su->obj, obj);
  ------------------
  |  |  576|    844|    do { \
  |  |  577|    844|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    844|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    844|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    844|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    844|        *_tmp_dst_ptr = (src); \
  |  |  580|    844|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    844|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    844|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    844|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    844|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 844]
  |  |  ------------------
  ------------------
13088|    844|    Py_XSETREF(su->obj_type, obj_type);
  ------------------
  |  |  576|    844|    do { \
  |  |  577|    844|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    844|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    844|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    844|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    844|        *_tmp_dst_ptr = (src); \
  |  |  580|    844|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    844|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    844|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    844|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    844|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 844]
  |  |  ------------------
  ------------------
13089|    844|    return 0;
13090|    844|}
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|    844|{
13124|    844|    assert(PyType_Check(self));
  ------------------
  |  Branch (13124:5): [True: 844, False: 0]
  ------------------
13125|    844|    if (!_PyArg_NoKwnames("super", kwnames)) {
  ------------------
  |  |   16|    844|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 844, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
13126|      0|        return NULL;
13127|      0|    }
13128|    844|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    844|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
13129|    844|    if (!_PyArg_CheckPositional("super()", nargs, 0, 2)) {
  ------------------
  |  |   38|    844|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 844, False: 0]
  |  |  |  Branch (38:27): [True: 844, False: 0]
  |  |  ------------------
  |  |   39|    844|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
13130|      0|        return NULL;
13131|      0|    }
13132|    844|    PyTypeObject *type = NULL;
13133|    844|    PyObject *obj = NULL;
13134|    844|    PyTypeObject *self_type = (PyTypeObject *)self;
13135|    844|    PyObject *su = self_type->tp_alloc(self_type, 0);
13136|    844|    if (su == NULL) {
  ------------------
  |  Branch (13136:9): [True: 0, False: 844]
  ------------------
13137|      0|        return NULL;
13138|      0|    }
13139|       |    // 1 or 2 argument form super().
13140|    844|    if (nargs != 0) {
  ------------------
  |  Branch (13140:9): [True: 830, False: 14]
  ------------------
13141|    830|        PyObject *arg0 = args[0];
13142|    830|        if (!PyType_Check(arg0)) {
  ------------------
  |  |  766|    830|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    830|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    830|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13142:13): [True: 0, False: 830]
  ------------------
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|    830|        type = (PyTypeObject *)arg0;
13148|    830|    }
13149|    844|    if (nargs == 2) {
  ------------------
  |  Branch (13149:9): [True: 830, False: 14]
  ------------------
13150|    830|        obj = args[1];
13151|    830|    }
13152|    844|    if (super_init_impl(su, type, obj) < 0) {
  ------------------
  |  Branch (13152:9): [True: 0, False: 844]
  ------------------
13153|      0|        goto fail;
13154|      0|    }
13155|    844|    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|    844|}

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

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

_PyUnicodeWriter_Init:
   67|   219k|{
   68|   219k|    memset(writer, 0, sizeof(*writer));
   69|       |
   70|       |    /* ASCII is the bare minimum */
   71|   219k|    writer->min_char = 127;
   72|       |
   73|       |    /* use a kind value smaller than PyUnicode_1BYTE_KIND so
   74|       |       _PyUnicodeWriter_PrepareKind() will copy the buffer. */
   75|   219k|    assert(writer->kind == 0);
  ------------------
  |  Branch (75:5): [True: 219k, False: 0]
  ------------------
   76|   219k|    assert(writer->kind < PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (76:5): [True: 219k, False: 0]
  ------------------
   77|   219k|}
PyUnicodeWriter_Create:
   82|  57.2k|{
   83|  57.2k|    if (length < 0) {
  ------------------
  |  Branch (83:9): [True: 0, False: 57.2k]
  ------------------
   84|      0|        PyErr_SetString(PyExc_ValueError,
   85|      0|                        "length must be positive");
   86|      0|        return NULL;
   87|      0|    }
   88|       |
   89|  57.2k|    const size_t size = sizeof(_PyUnicodeWriter);
   90|  57.2k|    PyUnicodeWriter *pub_writer;
   91|  57.2k|    pub_writer = _Py_FREELIST_POP_MEM(unicode_writers);
  ------------------
  |  |   48|  57.2k|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
   92|  57.2k|    if (pub_writer == NULL) {
  ------------------
  |  Branch (92:9): [True: 1.71k, False: 55.5k]
  ------------------
   93|  1.71k|        pub_writer = (PyUnicodeWriter *)PyMem_Malloc(size);
   94|  1.71k|        if (pub_writer == NULL) {
  ------------------
  |  Branch (94:13): [True: 0, False: 1.71k]
  ------------------
   95|      0|            return (PyUnicodeWriter *)PyErr_NoMemory();
   96|      0|        }
   97|  1.71k|    }
   98|  57.2k|    _PyUnicodeWriter *writer = (_PyUnicodeWriter *)pub_writer;
   99|       |
  100|  57.2k|    _PyUnicodeWriter_Init(writer);
  101|       |    // The buffer is created lazily at the first write, except if
  102|       |    // the read-only optimization is used.
  103|  57.2k|    writer->min_length = length;
  104|  57.2k|    writer->overallocate = 1;
  105|       |
  106|  57.2k|    return pub_writer;
  107|  57.2k|}
_PyUnicodeWriter_InitWithBuffer:
  124|   135k|{
  125|   135k|    assert(PyUnstable_Object_IsUniquelyReferenced(buffer));
  ------------------
  |  Branch (125:5): [True: 135k, False: 0]
  ------------------
  126|       |
  127|   135k|    memset(writer, 0, sizeof(*writer));
  128|   135k|    _PyUnicodeWriter_SetBuffer(writer, buffer);
  129|   135k|    writer->min_length = writer->size;
  130|       |    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (130:5): [True: 135k, False: 0]
  ------------------
  131|   135k|}
_PyUnicodeWriter_PrepareInternal:
  137|   261k|{
  138|   261k|    assert(length >= 0);
  ------------------
  |  Branch (138:5): [True: 261k, False: 0]
  ------------------
  139|   261k|    assert(maxchar <= _Py_MAX_UNICODE);
  ------------------
  |  Branch (139:5): [True: 261k, False: 0]
  ------------------
  140|       |
  141|       |    // Check that _PyUnicodeWriter_Prepare() or _PyUnicodeWriter_PrepareKind()
  142|       |    // was used
  143|   261k|    assert(maxchar > writer->maxchar
  ------------------
  |  Branch (143:5): [True: 39.8k, False: 0]
  |  Branch (143:5): [True: 39.8k, False: 0]
  |  Branch (143:5): [True: 221k, False: 39.8k]
  ------------------
  144|   261k|           || (length > (writer->size - writer->pos) && length >= 1));
  145|       |
  146|   261k|    if (length > PY_SSIZE_T_MAX - writer->pos) {
  ------------------
  |  |  137|   261k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (146:9): [True: 0, False: 261k]
  ------------------
  147|      0|        PyErr_NoMemory();
  148|      0|        return -1;
  149|      0|    }
  150|   261k|    Py_ssize_t alloc = writer->pos + length;
  151|       |
  152|   261k|    maxchar = Py_MAX(maxchar, writer->min_char);
  ------------------
  |  |  133|   261k|       __extension__ \
  |  |  134|   261k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|   261k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|   261k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|   261k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|   261k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 70.1k, False: 191k]
  |  |  ------------------
  ------------------
  153|       |
  154|   261k|    PyObject *new_buffer;
  155|   261k|    if (writer->buffer == NULL) {
  ------------------
  |  Branch (155:9): [True: 154k, False: 106k]
  ------------------
  156|   154k|        assert(!writer->readonly);
  ------------------
  |  Branch (156:9): [True: 154k, False: 0]
  ------------------
  157|       |
  158|       |        // Do not overallocate at the first allocation, but use min_length
  159|   154k|        if (alloc < writer->min_length) {
  ------------------
  |  Branch (159:13): [True: 115k, False: 39.3k]
  ------------------
  160|   115k|            alloc = writer->min_length;
  161|   115k|        }
  162|       |
  163|   154k|        new_buffer = PyUnicode_New(alloc, maxchar);
  164|   154k|        if (new_buffer == NULL) {
  ------------------
  |  Branch (164:13): [True: 0, False: 154k]
  ------------------
  165|      0|            return -1;
  166|      0|        }
  167|   154k|    }
  168|   106k|    else if (alloc > writer->size) {
  ------------------
  |  Branch (168:14): [True: 64.9k, False: 41.6k]
  ------------------
  169|       |        // Do not overallocate at the first allocation, but use min_length
  170|  64.9k|        int overallocate = (writer->overallocate && !writer->readonly);
  ------------------
  |  Branch (170:29): [True: 60.1k, False: 4.76k]
  |  Branch (170:53): [True: 8.92k, False: 51.2k]
  ------------------
  171|  64.9k|        if (overallocate
  ------------------
  |  Branch (171:13): [True: 8.92k, False: 56.0k]
  ------------------
  172|  8.92k|            && alloc <= (PY_SSIZE_T_MAX - alloc / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|  8.92k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                          && alloc <= (PY_SSIZE_T_MAX - alloc / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |   52|  8.92k|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (172:16): [True: 8.92k, False: 0]
  ------------------
  173|       |            /* overallocate to limit the number of realloc() */
  174|  8.92k|            alloc += alloc / OVERALLOCATE_FACTOR;
  ------------------
  |  |   52|  8.92k|#  define OVERALLOCATE_FACTOR 4
  ------------------
  175|  8.92k|        }
  176|  64.9k|        if (alloc < writer->min_length) {
  ------------------
  |  Branch (176:13): [True: 42.3k, False: 22.6k]
  ------------------
  177|  42.3k|            alloc = writer->min_length;
  178|  42.3k|        }
  179|       |
  180|  64.9k|        if (maxchar > writer->maxchar || writer->readonly) {
  ------------------
  |  Branch (180:13): [True: 25.1k, False: 39.8k]
  |  Branch (180:42): [True: 27.9k, False: 11.8k]
  ------------------
  181|       |            /* resize + widen */
  182|  53.0k|            maxchar = Py_MAX(maxchar, writer->maxchar);
  ------------------
  |  |  133|  53.0k|       __extension__ \
  |  |  134|  53.0k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  53.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  53.0k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  53.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  53.0k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 25.1k, False: 27.9k]
  |  |  ------------------
  ------------------
  183|  53.0k|            new_buffer = PyUnicode_New(alloc, maxchar);
  184|  53.0k|            if (new_buffer == NULL) {
  ------------------
  |  Branch (184:17): [True: 0, False: 53.0k]
  ------------------
  185|      0|                return -1;
  186|      0|            }
  187|  53.0k|            _PyUnicode_FastCopyCharacters(new_buffer, 0,
  188|  53.0k|                                          writer->buffer, 0, writer->pos);
  189|  53.0k|        }
  190|  11.8k|        else {
  191|  11.8k|            new_buffer = _PyUnicode_ResizeCompact(writer->buffer, alloc);
  192|  11.8k|            if (new_buffer == NULL) {
  ------------------
  |  Branch (192:17): [True: 0, False: 11.8k]
  ------------------
  193|      0|                return -1;
  194|      0|            }
  195|       |            // Do not DECREF the old buffer
  196|  11.8k|            writer->buffer = NULL;
  197|  11.8k|        }
  198|  64.9k|    }
  199|  41.6k|    else {
  200|  41.6k|        assert(maxchar > writer->maxchar);
  ------------------
  |  Branch (200:9): [True: 41.6k, False: 0]
  ------------------
  201|  41.6k|        assert(!writer->readonly);
  ------------------
  |  Branch (201:9): [True: 41.6k, False: 0]
  ------------------
  202|       |
  203|  41.6k|        new_buffer = PyUnicode_New(writer->size, maxchar);
  204|  41.6k|        if (new_buffer == NULL) {
  ------------------
  |  Branch (204:13): [True: 0, False: 41.6k]
  ------------------
  205|      0|            return -1;
  206|      0|        }
  207|  41.6k|        _PyUnicode_FastCopyCharacters(new_buffer, 0,
  208|  41.6k|                                      writer->buffer, 0, writer->pos);
  209|  41.6k|    }
  210|       |
  211|   261k|    _PyUnicodeWriter_SetBuffer(writer, new_buffer);
  212|   261k|    return 0;
  213|       |
  214|   261k|#undef OVERALLOCATE_FACTOR
  215|   261k|}
_PyUnicodeWriter_WriteChar:
  241|  54.4k|{
  242|  54.4k|    return _PyUnicodeWriter_WriteCharInline(writer, ch);
  243|  54.4k|}
PyUnicodeWriter_WriteChar:
  248|  54.4k|{
  249|  54.4k|    if (ch > _Py_MAX_UNICODE) {
  ------------------
  |  |   18|  54.4k|#define _Py_MAX_UNICODE 0x10ffff
  ------------------
  |  Branch (249:9): [True: 0, False: 54.4k]
  ------------------
  250|      0|        PyErr_SetString(PyExc_ValueError,
  251|      0|                        "character must be in range(0x110000)");
  252|      0|        return -1;
  253|      0|    }
  254|       |
  255|  54.4k|    return _PyUnicodeWriter_WriteChar((_PyUnicodeWriter*)writer, ch);
  256|  54.4k|}
_PyUnicodeWriter_WriteStr:
  261|   252k|{
  262|   252k|    assert(PyUnicode_Check(str));
  ------------------
  |  Branch (262:5): [True: 252k, False: 0]
  ------------------
  263|       |
  264|   252k|    Py_ssize_t len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  300|   252k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   252k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   252k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  265|   252k|    if (len == 0) {
  ------------------
  |  Branch (265:9): [True: 5.98k, False: 246k]
  ------------------
  266|  5.98k|        return 0;
  267|  5.98k|    }
  268|   246k|    Py_UCS4 maxchar = PyUnicode_MAX_CHAR_VALUE(str);
  ------------------
  |  |  406|   246k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   246k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   246k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  269|       |
  270|   246k|    if (maxchar > writer->maxchar || len > writer->size - writer->pos) {
  ------------------
  |  Branch (270:9): [True: 46.0k, False: 200k]
  |  Branch (270:38): [True: 23.5k, False: 177k]
  ------------------
  271|  69.5k|        if (writer->buffer == NULL && PyUnicode_CheckExact(str)) {
  ------------------
  |  |  104|  26.9k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  26.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  26.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  26.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 26.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (271:13): [True: 26.9k, False: 42.6k]
  ------------------
  272|  26.9k|            assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (272:13): [True: 26.9k, False: 0]
  ------------------
  273|  26.9k|            _PyUnicodeWriter_SetReadOnly(writer, Py_NewRef(str), len);
  ------------------
  |  |  647|  26.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  26.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|  26.9k|            return 0;
  275|  26.9k|        }
  276|  42.6k|        if (_PyUnicodeWriter_PrepareInternal(writer, len, maxchar) == -1)
  ------------------
  |  Branch (276:13): [True: 0, False: 42.6k]
  ------------------
  277|      0|            return -1;
  278|  42.6k|    }
  279|       |
  280|   246k|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (280:5): [True: 219k, False: 0]
  ------------------
  281|   219k|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  282|   219k|                                  str, 0, len);
  283|   219k|    writer->pos += len;
  284|   219k|    return 0;
  285|   219k|}
PyUnicodeWriter_WriteStr:
  290|   206k|{
  291|   206k|    _PyUnicodeWriter *writer = (_PyUnicodeWriter*)pub_writer;
  292|   206k|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  293|   206k|    if (type == &PyUnicode_Type) {
  ------------------
  |  Branch (293:9): [True: 206k, False: 0]
  ------------------
  294|   206k|        return _PyUnicodeWriter_WriteStr(writer, obj);
  295|   206k|    }
  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_WriteRepr:
  314|     95|{
  315|     95|    _PyUnicodeWriter *writer = (_PyUnicodeWriter*)pub_writer;
  316|     95|    if (obj == NULL) {
  ------------------
  |  Branch (316:9): [True: 0, False: 95]
  ------------------
  317|      0|        return _PyUnicodeWriter_WriteASCIIString(writer, "<NULL>", 6);
  318|      0|    }
  319|       |
  320|     95|    if (Py_TYPE(obj) == &PyLong_Type) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (320:9): [True: 0, False: 95]
  ------------------
  321|      0|        return _PyLong_FormatWriter(writer, obj, 10, 0);
  322|      0|    }
  323|       |    // Fast path for None; see gh-159813 for the rationale.
  324|     95|    if (obj == Py_None) {
  ------------------
  |  |  616|     95|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (324:9): [True: 0, False: 95]
  ------------------
  325|      0|        return _PyUnicodeWriter_WriteASCIIString(writer, "None", 4);
  326|      0|    }
  327|       |
  328|     95|    PyObject *repr = PyObject_Repr(obj);
  329|     95|    if (repr == NULL) {
  ------------------
  |  Branch (329:9): [True: 0, False: 95]
  ------------------
  330|      0|        return -1;
  331|      0|    }
  332|       |
  333|     95|    int res = _PyUnicodeWriter_WriteStr(writer, repr);
  334|     95|    Py_DECREF(repr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  335|     95|    return res;
  336|     95|}
_PyUnicodeWriter_WriteSubstring:
  342|  32.7k|{
  343|  32.7k|    assert(0 <= start);
  ------------------
  |  Branch (343:5): [True: 32.7k, False: 0]
  ------------------
  344|  32.7k|    assert(start <= end);
  ------------------
  |  Branch (344:5): [True: 32.7k, False: 0]
  ------------------
  345|  32.7k|    assert(end <= PyUnicode_GET_LENGTH(str));
  ------------------
  |  Branch (345:5): [True: 32.7k, False: 0]
  ------------------
  346|       |
  347|  32.7k|    if (start == 0 && end == PyUnicode_GET_LENGTH(str)) {
  ------------------
  |  |  300|  18.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (347:9): [True: 18.2k, False: 14.5k]
  |  Branch (347:23): [True: 18.2k, False: 21]
  ------------------
  348|  18.2k|        return _PyUnicodeWriter_WriteStr(writer, str);
  349|  18.2k|    }
  350|       |
  351|  14.5k|    Py_ssize_t len = end - start;
  352|  14.5k|    if (len == 0) {
  ------------------
  |  Branch (352:9): [True: 0, False: 14.5k]
  ------------------
  353|      0|        return 0;
  354|      0|    }
  355|       |
  356|  14.5k|    Py_UCS4 maxchar;
  357|  14.5k|    if (PyUnicode_MAX_CHAR_VALUE(str) > writer->maxchar) {
  ------------------
  |  |  406|  14.5k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (357:9): [True: 11.7k, False: 2.75k]
  ------------------
  358|  11.7k|        maxchar = _PyUnicode_FindMaxChar(str, start, end);
  359|  11.7k|    }
  360|  2.75k|    else {
  361|  2.75k|        maxchar = writer->maxchar;
  362|  2.75k|    }
  363|  14.5k|    if (_PyUnicodeWriter_Prepare(writer, len, maxchar) < 0) {
  ------------------
  |  Branch (363:9): [True: 0, False: 14.5k]
  ------------------
  364|      0|        return -1;
  365|      0|    }
  366|  14.5k|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (366:5): [True: 14.5k, False: 0]
  ------------------
  367|       |
  368|  14.5k|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  369|  14.5k|                                  str, start, len);
  370|  14.5k|    writer->pos += len;
  371|  14.5k|    return 0;
  372|  14.5k|}
PyUnicodeWriter_WriteSubstring:
  378|  32.7k|{
  379|  32.7k|    if (!PyUnicode_Check(str)) {
  ------------------
  |  |  103|  32.7k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  32.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (379:9): [True: 0, False: 32.7k]
  ------------------
  380|      0|        PyErr_Format(PyExc_TypeError, "expect str, not %T", str);
  381|      0|        return -1;
  382|      0|    }
  383|  32.7k|    if (start < 0 || start > end) {
  ------------------
  |  Branch (383:9): [True: 0, False: 32.7k]
  |  Branch (383:22): [True: 0, False: 32.7k]
  ------------------
  384|      0|        PyErr_Format(PyExc_ValueError, "invalid start argument");
  385|      0|        return -1;
  386|      0|    }
  387|  32.7k|    if (end > PyUnicode_GET_LENGTH(str)) {
  ------------------
  |  |  300|  32.7k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (387:9): [True: 0, False: 32.7k]
  ------------------
  388|      0|        PyErr_Format(PyExc_ValueError, "invalid end argument");
  389|      0|        return -1;
  390|      0|    }
  391|       |
  392|  32.7k|    return _PyUnicodeWriter_WriteSubstring((_PyUnicodeWriter*)writer, str,
  393|  32.7k|                                           start, end);
  394|  32.7k|}
_PyUnicodeWriter_WriteASCIIString:
  400|   258k|{
  401|   258k|    if (len == -1)
  ------------------
  |  Branch (401:9): [True: 0, False: 258k]
  ------------------
  402|      0|        len = strlen(ascii);
  403|       |
  404|   258k|    if (len == 0) {
  ------------------
  |  Branch (404:9): [True: 0, False: 258k]
  ------------------
  405|      0|        return 0;
  406|      0|    }
  407|       |
  408|   258k|    assert(ucs1lib_find_max_char((const Py_UCS1*)ascii, (const Py_UCS1*)ascii + len) <= 127);
  ------------------
  |  Branch (408:5): [True: 258k, False: 0]
  ------------------
  409|       |
  410|   258k|    if (_PyUnicodeWriter_Prepare(writer, len, 127) == -1) {
  ------------------
  |  Branch (410:9): [True: 0, False: 258k]
  ------------------
  411|      0|        return -1;
  412|      0|    }
  413|   258k|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (413:5): [True: 258k, False: 0]
  ------------------
  414|       |
  415|   258k|    switch (writer->kind)
  416|   258k|    {
  417|   255k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (417:5): [True: 255k, False: 3.46k]
  ------------------
  418|   255k|    {
  419|   255k|        const Py_UCS1 *str = (const Py_UCS1 *)ascii;
  420|   255k|        Py_UCS1 *data = writer->data;
  421|       |
  422|   255k|        memcpy(data + writer->pos, str, len);
  423|   255k|        break;
  424|      0|    }
  425|  2.82k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (425:5): [True: 2.82k, False: 255k]
  ------------------
  426|  2.82k|    {
  427|  2.82k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|  2.82k|    do {                                                \
  |  |   48|  2.82k|        to_type *_to = (to_type *)(to);                 \
  |  |   49|  2.82k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|  2.82k|        const from_type *_end = (const from_type *)(end);\
  |  |   51|  2.82k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|  2.82k|        const from_type *_unrolled_end =                \
  |  |   53|  2.82k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|  2.82k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  3.09k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 267, False: 2.82k]
  |  |  ------------------
  |  |   55|    267|            _to[0] = (to_type) _iter[0];                \
  |  |   56|    267|            _to[1] = (to_type) _iter[1];                \
  |  |   57|    267|            _to[2] = (to_type) _iter[2];                \
  |  |   58|    267|            _to[3] = (to_type) _iter[3];                \
  |  |   59|    267|            _iter += 4; _to += 4;                       \
  |  |   60|    267|        }                                               \
  |  |   61|  5.69k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 2.86k, False: 2.82k]
  |  |  ------------------
  |  |   62|  2.86k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|  2.82k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 2.82k]
  |  |  ------------------
  ------------------
  428|  2.82k|            Py_UCS1, Py_UCS2,
  429|  2.82k|            ascii, ascii + len,
  430|  2.82k|            (Py_UCS2 *)writer->data + writer->pos);
  431|  2.82k|        break;
  432|      0|    }
  433|    640|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (433:5): [True: 640, False: 257k]
  ------------------
  434|    640|    {
  435|    640|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|    640|    do {                                                \
  |  |   48|    640|        to_type *_to = (to_type *)(to);                 \
  |  |   49|    640|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|    640|        const from_type *_end = (const from_type *)(end);\
  |  |   51|    640|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|    640|        const from_type *_unrolled_end =                \
  |  |   53|    640|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|    640|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|    740|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 100, False: 640]
  |  |  ------------------
  |  |   55|    100|            _to[0] = (to_type) _iter[0];                \
  |  |   56|    100|            _to[1] = (to_type) _iter[1];                \
  |  |   57|    100|            _to[2] = (to_type) _iter[2];                \
  |  |   58|    100|            _to[3] = (to_type) _iter[3];                \
  |  |   59|    100|            _iter += 4; _to += 4;                       \
  |  |   60|    100|        }                                               \
  |  |   61|  1.30k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 661, False: 640]
  |  |  ------------------
  |  |   62|    661|            *_to++ = (to_type) *_iter++;                \
  |  |   63|    640|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 640]
  |  |  ------------------
  ------------------
  436|    640|            Py_UCS1, Py_UCS4,
  437|    640|            ascii, ascii + len,
  438|    640|            (Py_UCS4 *)writer->data + writer->pos);
  439|    640|        break;
  440|      0|    }
  441|      0|    default:
  ------------------
  |  Branch (441:5): [True: 0, False: 258k]
  ------------------
  442|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  443|   258k|    }
  444|       |
  445|   258k|    writer->pos += len;
  446|   258k|    return 0;
  447|   258k|}
PyUnicodeWriter_WriteUTF8:
  466|   155k|{
  467|   155k|    if (size < 0) {
  ------------------
  |  Branch (467:9): [True: 155k, False: 0]
  ------------------
  468|   155k|        size = strlen(str);
  469|   155k|    }
  470|       |
  471|   155k|    return _PyUnicode_DecodeUTF8Writer((_PyUnicodeWriter*)writer, str, size,
  472|   155k|                                       _Py_ERROR_STRICT, NULL, NULL);
  473|   155k|}
_PyUnicodeWriter_Finish:
  541|   352k|{
  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|   352k|    PyObject *str = writer->buffer;
  557|   352k|    writer->buffer = NULL;
  558|       |
  559|   352k|    Py_ssize_t final_size = writer->pos;
  560|   352k|    if (final_size == 0) {
  ------------------
  |  Branch (560:9): [True: 3.69k, False: 348k]
  ------------------
  561|       |        // Get the empty string singleton
  562|  3.69k|        PyObject *empty = _PyUnicode_GetEmpty();
  563|  3.69k|        Py_XDECREF(str);  // writer->buffer can be NULL if the position is 0
  ------------------
  |  |  621|  3.69k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  564|  3.69k|        return empty;
  565|  3.69k|    }
  566|       |
  567|   348k|    if (writer->readonly) {
  ------------------
  |  Branch (567:9): [True: 9.39k, False: 339k]
  ------------------
  568|  9.39k|        assert(final_size == PyUnicode_GET_LENGTH(str));
  ------------------
  |  Branch (568:9): [True: 9.39k, False: 0]
  ------------------
  569|  9.39k|        goto done;
  570|  9.39k|    }
  571|   348k|    assert(final_size <= PyUnicode_GET_LENGTH(str));
  ------------------
  |  Branch (571:5): [True: 339k, False: 0]
  ------------------
  572|       |
  573|   339k|    if (final_size == 1 && PyUnicode_KIND(str) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  259|  33.3k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  66.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 33.3k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (573:9): [True: 33.3k, False: 305k]
  |  Branch (573:28): [True: 15.4k, False: 17.9k]
  ------------------
  574|       |        // Get the single character singleton
  575|  15.4k|        assert(PyUnicode_GET_LENGTH(str) >= 1);
  ------------------
  |  Branch (575:9): [True: 15.4k, False: 0]
  ------------------
  576|  15.4k|        const Py_UCS1 *data = PyUnicode_1BYTE_DATA(str);
  ------------------
  |  |  292|  15.4k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  15.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  577|  15.4k|        Py_UCS1 ch = data[0];
  578|  15.4k|        Py_DECREF(str);
  ------------------
  |  |  430|  15.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  579|  15.4k|        str = _Py_LATIN1_CHR(ch);
  ------------------
  |  |  955|  15.4k|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (955:6): [True: 6.49k, False: 8.96k]
  |  |  ------------------
  |  |  956|  15.4k|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|  6.49k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  6.49k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  957|  15.4k|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|  8.96k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.96k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  580|  15.4k|        goto done;
  581|  15.4k|    }
  582|       |
  583|   323k|    if (writer->recheck_maxchar) {
  ------------------
  |  Branch (583:9): [True: 0, False: 323k]
  ------------------
  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|   323k|    if (PyUnicode_GET_LENGTH(str) != final_size) {
  ------------------
  |  |  300|   323k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   323k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   323k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (598:9): [True: 145k, False: 178k]
  ------------------
  599|       |        // Truncate the string
  600|   145k|        PyObject *str2 = _PyUnicode_ResizeCompact(str, final_size);
  601|   145k|        if (str2 == NULL) {
  ------------------
  |  Branch (601:13): [True: 0, False: 145k]
  ------------------
  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|   145k|        str = str2;
  606|   145k|        goto done;
  607|   145k|    }
  608|       |
  609|   348k|done:
  610|   348k|    assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (610:5): [True: 348k, False: 0]
  ------------------
  611|   348k|    return str;
  612|   348k|}
PyUnicodeWriter_Finish:
  637|  57.2k|{
  638|  57.2k|    PyObject *str = _PyUnicodeWriter_Finish((_PyUnicodeWriter*)writer);
  639|  57.2k|    assert(((_PyUnicodeWriter*)writer)->buffer == NULL);
  ------------------
  |  Branch (639:5): [True: 57.2k, False: 0]
  ------------------
  640|  57.2k|    _Py_FREELIST_FREE(unicode_writers, writer, PyMem_Free);
  ------------------
  |  |   35|  57.2k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  57.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  57.2k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   29|  57.2k|#  define Py_unicode_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
  641|  57.2k|    return str;
  642|  57.2k|}
_PyUnicodeWriter_Dealloc:
  647|  2.88k|{
  648|       |    Py_CLEAR(writer->buffer);
  ------------------
  |  |  487|  2.88k|    do { \
  |  |  488|  2.88k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.88k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.88k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.88k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.88k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.88k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2.87k, False: 6]
  |  |  ------------------
  |  |  491|  2.87k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.87k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  2.87k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  2.87k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  2.87k|        } \
  |  |  494|  2.88k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
  649|  2.88k|}

_PyUnicode_IsXidStart:
   86|  62.8k|{
   87|  62.8k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
   88|       |
   89|  62.8k|    return (ctype->flags & XID_START_MASK) != 0;
  ------------------
  |  |   20|  62.8k|#define XID_START_MASK 0x100
  ------------------
   90|  62.8k|}
_PyUnicode_IsXidContinue:
   96|   936k|{
   97|   936k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
   98|       |
   99|   936k|    return (ctype->flags & XID_CONTINUE_MASK) != 0;
  ------------------
  |  |   21|   936k|#define XID_CONTINUE_MASK 0x200
  ------------------
  100|   936k|}
_PyUnicode_ToDecimalDigit:
  106|     95|{
  107|     95|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  108|       |
  109|     95|    return (ctype->flags & DECIMAL_MASK) ? ctype->decimal : -1;
  ------------------
  |  |   15|     95|#define DECIMAL_MASK 0x02
  ------------------
  |  Branch (109:12): [True: 0, False: 95]
  ------------------
  110|     95|}
_PyUnicode_IsDecimalDigit:
  113|      3|{
  114|      3|    if (_PyUnicode_ToDecimalDigit(ch) < 0)
  ------------------
  |  Branch (114:9): [True: 3, False: 0]
  ------------------
  115|      3|        return 0;
  116|      0|    return 1;
  117|      3|}
_PyUnicode_IsPrintable:
  152|  2.58M|{
  153|  2.58M|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  154|       |
  155|  2.58M|    return (ctype->flags & PRINTABLE_MASK) != 0;
  ------------------
  |  |   22|  2.58M|#define PRINTABLE_MASK 0x400
  ------------------
  156|  2.58M|}
_PyUnicode_ToUppercase:
  182|     15|{
  183|     15|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  184|       |
  185|     15|    if (ctype->flags & EXTENDED_CASE_MASK)
  ------------------
  |  |   26|     15|#define EXTENDED_CASE_MASK 0x4000
  ------------------
  |  Branch (185:9): [True: 0, False: 15]
  ------------------
  186|      0|        return _PyUnicode_ExtendedCase[ctype->upper & 0xFFFF];
  187|     15|    return ch + ctype->upper;
  188|     15|}
_PyUnicode_ToLowercase:
  194|     47|{
  195|     47|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  196|       |
  197|     47|    if (ctype->flags & EXTENDED_CASE_MASK)
  ------------------
  |  |   26|     47|#define EXTENDED_CASE_MASK 0x4000
  ------------------
  |  Branch (197:9): [True: 0, False: 47]
  ------------------
  198|      0|        return _PyUnicode_ExtendedCase[ctype->lower & 0xFFFF];
  199|     47|    return ch + ctype->lower;
  200|     47|}
_PyUnicode_ToLowerFull:
  203|   536k|{
  204|   536k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  205|       |
  206|   536k|    if (ctype->flags & EXTENDED_CASE_MASK) {
  ------------------
  |  |   26|   536k|#define EXTENDED_CASE_MASK 0x4000
  ------------------
  |  Branch (206:9): [True: 255, False: 535k]
  ------------------
  207|    255|        int index = ctype->lower & 0xFFFF;
  208|    255|        int n = ctype->lower >> 24;
  209|    255|        int i;
  210|    591|        for (i = 0; i < n; i++)
  ------------------
  |  Branch (210:21): [True: 336, False: 255]
  ------------------
  211|    336|            res[i] = _PyUnicode_ExtendedCase[index + i];
  212|    255|        return n;
  213|    255|    }
  214|   535k|    res[0] = ch + ctype->lower;
  215|   535k|    return 1;
  216|   536k|}
unicodectype.c:gettyperecord:
   46|  4.11M|{
   47|  4.11M|    int index;
   48|       |
   49|  4.11M|    if (code >= 0x110000)
  ------------------
  |  Branch (49:9): [True: 0, False: 4.11M]
  ------------------
   50|      0|        index = 0;
   51|  4.11M|    else
   52|  4.11M|    {
   53|  4.11M|        index = index1[(code>>SHIFT)];
  ------------------
  |  | 1772|  4.11M|#define SHIFT 6
  ------------------
   54|  4.11M|        index = index2[(index<<SHIFT)+(code&((1<<SHIFT)-1))];
  ------------------
  |  | 1772|  4.11M|#define SHIFT 6
  ------------------
                      index = index2[(index<<SHIFT)+(code&((1<<SHIFT)-1))];
  ------------------
  |  | 1772|  4.11M|#define SHIFT 6
  ------------------
   55|  4.11M|    }
   56|       |
   57|  4.11M|    return &_PyUnicode_TypeRecords[index];
   58|  4.11M|}

_PyUnicode_GetEmpty:
  193|   764k|{
  194|   764k|    _Py_DECLARE_STR(empty, "");
  195|   764k|    return &_Py_STR(empty);
  ------------------
  |  |  953|   764k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   764k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   764k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  196|   764k|}
_Py_GetErrorHandler:
  460|  38.6k|{
  461|  38.6k|    if (errors == NULL || strcmp(errors, "strict") == 0) {
  ------------------
  |  Branch (461:9): [True: 29.8k, False: 8.86k]
  |  Branch (461:27): [True: 8, False: 8.85k]
  ------------------
  462|  29.8k|        return _Py_ERROR_STRICT;
  463|  29.8k|    }
  464|  8.85k|    if (strcmp(errors, "surrogateescape") == 0) {
  ------------------
  |  Branch (464:9): [True: 6.38k, False: 2.46k]
  ------------------
  465|  6.38k|        return _Py_ERROR_SURROGATEESCAPE;
  466|  6.38k|    }
  467|  2.46k|    if (strcmp(errors, "replace") == 0) {
  ------------------
  |  Branch (467:9): [True: 2.46k, False: 0]
  ------------------
  468|  2.46k|        return _Py_ERROR_REPLACE;
  469|  2.46k|    }
  470|      0|    if (strcmp(errors, "ignore") == 0) {
  ------------------
  |  Branch (470:9): [True: 0, False: 0]
  ------------------
  471|      0|        return _Py_ERROR_IGNORE;
  472|      0|    }
  473|      0|    if (strcmp(errors, "backslashreplace") == 0) {
  ------------------
  |  Branch (473:9): [True: 0, False: 0]
  ------------------
  474|      0|        return _Py_ERROR_BACKSLASHREPLACE;
  475|      0|    }
  476|      0|    if (strcmp(errors, "surrogatepass") == 0) {
  ------------------
  |  Branch (476:9): [True: 0, False: 0]
  ------------------
  477|      0|        return _Py_ERROR_SURROGATEPASS;
  478|      0|    }
  479|      0|    if (strcmp(errors, "xmlcharrefreplace") == 0) {
  ------------------
  |  Branch (479:9): [True: 0, False: 0]
  ------------------
  480|      0|        return _Py_ERROR_XMLCHARREFREPLACE;
  481|      0|    }
  482|      0|    return _Py_ERROR_OTHER;
  483|      0|}
_PyUnicode_CheckConsistency:
  579|  17.2M|{
  580|  17.2M|#define CHECK(expr) \
  581|  17.2M|    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|  17.2M|# define CHECK_IF_GIL(expr) CHECK(expr)
  587|  17.2M|# define CHECK_IF_FT(expr) (void)(expr)
  588|  17.2M|#endif
  589|       |
  590|  17.2M|    assert(op != NULL);
  ------------------
  |  Branch (590:5): [True: 17.2M, False: 0]
  ------------------
  591|  17.2M|    CHECK(PyUnicode_Check(op));
  ------------------
  |  |  581|  17.2M|    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: 17.2M]
  |  |  |  Branch (581:89): [Folded, False: 17.2M]
  |  |  ------------------
  ------------------
  592|       |
  593|  17.2M|    PyASCIIObject *ascii = _PyASCIIObject_CAST(op);
  ------------------
  |  |  186|  17.2M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  17.2M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  17.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (593:28): [True: 17.2M, False: 0]
  ------------------
  594|      0|    int kind = ascii->state.kind;
  595|       |
  596|  17.2M|    if (ascii->state.ascii == 1 && ascii->state.compact == 1) {
  ------------------
  |  Branch (596:9): [True: 2.57M, False: 14.6M]
  |  Branch (596:36): [True: 2.57M, False: 7]
  ------------------
  597|  2.57M|        CHECK(kind == PyUnicode_1BYTE_KIND);
  ------------------
  |  |  581|  2.57M|    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: 2.57M]
  |  |  |  Branch (581:89): [Folded, False: 2.57M]
  |  |  ------------------
  ------------------
  598|  2.57M|    }
  599|  14.6M|    else {
  600|  14.6M|        PyCompactUnicodeObject *compact = _PyCompactUnicodeObject_CAST(op);
  ------------------
  |  |  189|  14.6M|    (assert(!(_PyASCIIObject_CAST(op)->state.ascii \
  |  |  190|  14.6M|              && _PyASCIIObject_CAST(op)->state.compact)), \
  |  |  191|  14.6M|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  14.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (600:43): [True: 14.6M, False: 0]
  |  Branch (600:43): [True: 7, False: 0]
  |  Branch (600:43): [True: 7, False: 14.6M]
  |  Branch (600:43): [True: 0, False: 7]
  ------------------
  601|      0|        void *data;
  602|       |
  603|  14.6M|        if (ascii->state.compact == 1) {
  ------------------
  |  Branch (603:13): [True: 14.6M, False: 7]
  ------------------
  604|  14.6M|            data = compact + 1;
  605|  14.6M|            CHECK(kind == PyUnicode_1BYTE_KIND
  ------------------
  |  |  581|  44.4M|    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: 309k, False: 14.3M]
  |  |  |  Branch (581:16): [True: 13.4M, False: 895k]
  |  |  |  Branch (581:16): [True: 895k, False: 0]
  |  |  |  Branch (581:89): [Folded, False: 14.6M]
  |  |  ------------------
  ------------------
  606|  14.6M|                                 || kind == PyUnicode_2BYTE_KIND
  607|  14.6M|                                 || kind == PyUnicode_4BYTE_KIND);
  608|  14.6M|            CHECK(ascii->state.ascii == 0);
  ------------------
  |  |  581|  14.6M|    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: 14.6M]
  |  |  |  Branch (581:89): [Folded, False: 14.6M]
  |  |  ------------------
  ------------------
  609|  14.6M|            CHECK(_PyUnicode_UTF8(op) != data);
  ------------------
  |  |  581|  14.6M|    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: 14.6M]
  |  |  |  Branch (581:89): [Folded, False: 14.6M]
  |  |  ------------------
  ------------------
  610|  14.6M|        }
  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|  14.6M|#ifndef Py_GIL_DISABLED
  629|  14.6M|        if (_PyUnicode_UTF8(op) == NULL)
  ------------------
  |  Branch (629:13): [True: 14.6M, False: 8.98k]
  ------------------
  630|  14.6M|            CHECK(compact->utf8_length == 0);
  ------------------
  |  |  581|  14.6M|    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: 14.6M]
  |  |  |  Branch (581:89): [Folded, False: 14.6M]
  |  |  ------------------
  ------------------
  631|  14.6M|#endif
  632|  14.6M|    }
  633|       |
  634|       |    /* check that the best kind is used: O(n) operation */
  635|  17.2M|    const void *data = PyUnicode_DATA(ascii);
  ------------------
  |  |  285|  17.2M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  636|  17.2M|    if (check_content) {
  ------------------
  |  Branch (636:9): [True: 7.69M, False: 9.50M]
  ------------------
  637|  7.69M|        Py_ssize_t i;
  638|  7.69M|        Py_UCS4 maxchar = 0;
  639|  7.69M|        Py_UCS4 ch;
  640|       |
  641|   239M|        for (i=0; i < ascii->length; i++)
  ------------------
  |  Branch (641:19): [True: 232M, False: 7.69M]
  ------------------
  642|   232M|        {
  643|   232M|            ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|   232M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   232M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   232M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   232M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   232M|                   (index))
  ------------------
  644|   232M|            if (ch > maxchar)
  ------------------
  |  Branch (644:17): [True: 9.91M, False: 222M]
  ------------------
  645|  9.91M|                maxchar = ch;
  646|   232M|        }
  647|  7.69M|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (647:13): [True: 695k, False: 7.00M]
  ------------------
  648|   695k|            if (ascii->state.ascii == 0) {
  ------------------
  |  Branch (648:17): [True: 132k, False: 562k]
  ------------------
  649|   132k|                CHECK(maxchar >= 128);
  ------------------
  |  |  581|   132k|    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: 132k]
  |  |  |  Branch (581:89): [Folded, False: 132k]
  |  |  ------------------
  ------------------
  650|   132k|                CHECK(maxchar <= 255);
  ------------------
  |  |  581|   132k|    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: 132k]
  |  |  |  Branch (581:89): [Folded, False: 132k]
  |  |  ------------------
  ------------------
  651|   132k|            }
  652|   562k|            else
  653|   562k|                CHECK(maxchar < 128);
  ------------------
  |  |  581|   562k|    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: 562k]
  |  |  |  Branch (581:89): [Folded, False: 562k]
  |  |  ------------------
  ------------------
  654|   695k|        }
  655|  7.00M|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (655:18): [True: 6.56M, False: 432k]
  ------------------
  656|  6.56M|            CHECK(maxchar >= 0x100);
  ------------------
  |  |  581|  6.56M|    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.56M]
  |  |  |  Branch (581:89): [Folded, False: 6.56M]
  |  |  ------------------
  ------------------
  657|  6.56M|            CHECK(maxchar <= 0xFFFF);
  ------------------
  |  |  581|  6.56M|    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.56M]
  |  |  |  Branch (581:89): [Folded, False: 6.56M]
  |  |  ------------------
  ------------------
  658|  6.56M|        }
  659|   432k|        else {
  660|   432k|            CHECK(maxchar >= 0x10000);
  ------------------
  |  |  581|   432k|    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: 432k]
  |  |  |  Branch (581:89): [Folded, False: 432k]
  |  |  ------------------
  ------------------
  661|   432k|            CHECK(maxchar <= MAX_UNICODE);
  ------------------
  |  |  581|   432k|    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: 432k]
  |  |  |  Branch (581:89): [Folded, False: 432k]
  |  |  ------------------
  ------------------
  662|   432k|        }
  663|  7.69M|    }
  664|       |
  665|       |    // Detect buffer overflow: check if the trailing null character
  666|       |    // has been overridden
  667|  17.2M|    CHECK(PyUnicode_READ(kind, data, ascii->length) == 0);
  ------------------
  |  |  581|  17.2M|    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: 17.2M]
  |  |  |  Branch (581:89): [Folded, False: 17.2M]
  |  |  ------------------
  ------------------
  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|  17.2M|    return 1;
  704|       |
  705|  17.2M|#undef CHECK
  706|  17.2M|}
_PyUnicode_Result:
  710|  34.7k|{
  711|  34.7k|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (711:5): [True: 34.7k, False: 0]
  ------------------
  712|       |
  713|  34.7k|    Py_ssize_t length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|  34.7k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|  34.7k|    if (length == 0) {
  ------------------
  |  Branch (714:9): [True: 0, False: 34.7k]
  ------------------
  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|  34.7k|    if (length == 1) {
  ------------------
  |  Branch (722:9): [True: 5.39k, False: 29.3k]
  ------------------
  723|  5.39k|        int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  5.39k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  10.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 5.39k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  724|  5.39k|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (724:13): [True: 862, False: 4.53k]
  ------------------
  725|    862|            const Py_UCS1 *data = PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  292|    862|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    862|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  726|    862|            Py_UCS1 ch = data[0];
  727|    862|            PyObject *latin1_char = LATIN1(ch);
  ------------------
  |  |  174|    862|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  955|    862|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (955:6): [True: 21, False: 841]
  |  |  |  |  ------------------
  |  |  |  |  956|    862|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|     21|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|     21|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  957|    862|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    841|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    841|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  728|    862|            if (unicode != latin1_char) {
  ------------------
  |  Branch (728:17): [True: 0, False: 862]
  ------------------
  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|    862|            return latin1_char;
  732|    862|        }
  733|  5.39k|    }
  734|       |
  735|  34.7k|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (735:5): [True: 33.8k, False: 0]
  ------------------
  736|  33.8k|    return unicode;
  737|  33.8k|}
_PyUnicode_ResizeCompact:
 1070|   182k|{
 1071|   182k|    Py_ssize_t char_size;
 1072|   182k|    Py_ssize_t struct_size;
 1073|   182k|    Py_ssize_t new_size;
 1074|   182k|    PyObject *new_unicode;
 1075|       |#ifdef Py_DEBUG
 1076|       |    Py_ssize_t old_length = _PyUnicode_LENGTH(unicode);
 1077|       |#endif
 1078|       |
 1079|   182k|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1079:9): [True: 0, False: 182k]
  ------------------
 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|   182k|    assert(PyUnicode_IS_COMPACT(unicode));
  ------------------
  |  Branch (1087:5): [True: 182k, False: 0]
  ------------------
 1088|       |
 1089|   182k|    char_size = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|   182k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   364k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 182k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1090|   182k|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  228|   182k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   182k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   182k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 149k, False: 32.6k]
  |  |  ------------------
  ------------------
 1091|   149k|        struct_size = sizeof(PyASCIIObject);
 1092|  32.6k|    else
 1093|  32.6k|        struct_size = sizeof(PyCompactUnicodeObject);
 1094|       |
 1095|   182k|    if (length > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1)) {
  ------------------
  |  |  137|   182k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1095:9): [True: 0, False: 182k]
  ------------------
 1096|      0|        PyErr_NoMemory();
 1097|      0|        return NULL;
 1098|      0|    }
 1099|   182k|    new_size = (struct_size + (length + 1) * char_size);
 1100|       |
 1101|   182k|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1101:9): [True: 0, False: 182k]
  ------------------
 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|   182k|    _PyReftracerTrack(unicode, PyRefTracer_DESTROY);
  ------------------
  |  |  109|   182k|    do { \
  |  |  110|   182k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  111|   182k|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (111:13): [True: 0, False: 182k]
  |  |  ------------------
  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  114|      0|        } \
  |  |  115|   182k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (115:13): [Folded, False: 182k]
  |  |  ------------------
  ------------------
 1110|       |
 1111|   182k|    new_unicode = (PyObject *)PyObject_Realloc(unicode, new_size);
 1112|   182k|    if (new_unicode == NULL) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 182k]
  ------------------
 1113|      0|        _Py_NewReferenceNoTotal(unicode);
 1114|      0|        PyErr_NoMemory();
 1115|      0|        return NULL;
 1116|      0|    }
 1117|   182k|    unicode = new_unicode;
 1118|   182k|    _Py_NewReferenceNoTotal(unicode);
 1119|       |
 1120|   182k|    _PyUnicode_LENGTH(unicode) = length;
  ------------------
  |  |  150|   182k|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|   182k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   182k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   182k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1120:5): [True: 182k, False: 0]
  ------------------
 1121|       |#ifdef Py_DEBUG
 1122|       |    unicode_fill_invalid(unicode, old_length);
 1123|       |#endif
 1124|   182k|    PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  336|   182k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|   364k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 182k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|   182k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|   182k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|   182k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1125|   182k|                    length, 0);
 1126|   182k|    assert(_PyUnicode_CheckConsistency(unicode, 0));
  ------------------
  |  Branch (1126:5): [True: 182k, False: 0]
  ------------------
 1127|   182k|    return unicode;
 1128|   182k|}
PyUnicode_New:
 1272|  9.32M|{
 1273|       |    /* Optimization for empty strings */
 1274|  9.32M|    if (size == 0) {
  ------------------
  |  Branch (1274:9): [True: 754, False: 9.32M]
  ------------------
 1275|    754|        return _PyUnicode_GetEmpty();
 1276|    754|    }
 1277|       |
 1278|  9.32M|    PyObject *obj;
 1279|  9.32M|    PyCompactUnicodeObject *unicode;
 1280|  9.32M|    void *data;
 1281|  9.32M|    int kind;
 1282|  9.32M|    int is_ascii;
 1283|  9.32M|    Py_ssize_t char_size;
 1284|  9.32M|    Py_ssize_t struct_size;
 1285|       |
 1286|  9.32M|    is_ascii = 0;
 1287|  9.32M|    struct_size = sizeof(PyCompactUnicodeObject);
 1288|  9.32M|    if (maxchar < 128) {
  ------------------
  |  Branch (1288:9): [True: 1.86M, False: 7.45M]
  ------------------
 1289|  1.86M|        kind = PyUnicode_1BYTE_KIND;
 1290|  1.86M|        char_size = 1;
 1291|  1.86M|        is_ascii = 1;
 1292|  1.86M|        struct_size = sizeof(PyASCIIObject);
 1293|  1.86M|    }
 1294|  7.45M|    else if (maxchar < 256) {
  ------------------
  |  Branch (1294:14): [True: 167k, False: 7.28M]
  ------------------
 1295|   167k|        kind = PyUnicode_1BYTE_KIND;
 1296|   167k|        char_size = 1;
 1297|   167k|    }
 1298|  7.28M|    else if (maxchar < 65536) {
  ------------------
  |  Branch (1298:14): [True: 6.83M, False: 456k]
  ------------------
 1299|  6.83M|        kind = PyUnicode_2BYTE_KIND;
 1300|  6.83M|        char_size = 2;
 1301|  6.83M|    }
 1302|   456k|    else {
 1303|   456k|        if (maxchar > MAX_UNICODE) {
  ------------------
  |  |  108|   456k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|   456k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (1303:13): [True: 0, False: 456k]
  ------------------
 1304|      0|            PyErr_SetString(PyExc_SystemError,
 1305|      0|                            "invalid maximum character passed to PyUnicode_New");
 1306|      0|            return NULL;
 1307|      0|        }
 1308|   456k|        kind = PyUnicode_4BYTE_KIND;
 1309|   456k|        char_size = 4;
 1310|   456k|    }
 1311|       |
 1312|       |    /* Ensure we won't overflow the size. */
 1313|  9.32M|    if (size < 0) {
  ------------------
  |  Branch (1313:9): [True: 0, False: 9.32M]
  ------------------
 1314|      0|        PyErr_SetString(PyExc_SystemError,
 1315|      0|                        "Negative size passed to PyUnicode_New");
 1316|      0|        return NULL;
 1317|      0|    }
 1318|  9.32M|    if (size > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1))
  ------------------
  |  |  137|  9.32M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1318:9): [True: 0, False: 9.32M]
  ------------------
 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|  9.32M|    obj = (PyObject *) PyObject_Malloc(struct_size + (size + 1) * char_size);
 1326|  9.32M|    if (obj == NULL) {
  ------------------
  |  Branch (1326:9): [True: 0, False: 9.32M]
  ------------------
 1327|      0|        return PyErr_NoMemory();
 1328|      0|    }
 1329|  9.32M|    _PyObject_Init(obj, &PyUnicode_Type);
 1330|       |
 1331|  9.32M|    unicode = (PyCompactUnicodeObject *)obj;
 1332|  9.32M|    if (is_ascii)
  ------------------
  |  Branch (1332:9): [True: 1.86M, False: 7.45M]
  ------------------
 1333|  1.86M|        data = ((PyASCIIObject*)obj) + 1;
 1334|  7.45M|    else
 1335|  7.45M|        data = unicode + 1;
 1336|  9.32M|    _PyUnicode_LENGTH(unicode) = size;
  ------------------
  |  |  150|  9.32M|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|  9.32M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  9.32M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1336:5): [True: 9.32M, False: 0]
  ------------------
 1337|  9.32M|    _PyUnicode_HASH(unicode) = -1;
  ------------------
  |  |  154|  9.32M|    (_PyASCIIObject_CAST(op)->hash)
  |  |  ------------------
  |  |  |  |  186|  9.32M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  9.32M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1337:5): [True: 9.32M, False: 0]
  ------------------
 1338|  9.32M|    _PyUnicode_STATE(unicode).interned = 0;
  ------------------
  |  |  152|  9.32M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  9.32M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  9.32M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1338:5): [True: 9.32M, False: 0]
  ------------------
 1339|  9.32M|    _PyUnicode_STATE(unicode).kind = kind;
  ------------------
  |  |  152|  9.32M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  9.32M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  9.32M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1339:5): [True: 9.32M, False: 0]
  ------------------
 1340|  9.32M|    _PyUnicode_STATE(unicode).compact = 1;
  ------------------
  |  |  152|  9.32M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  9.32M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  9.32M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1340:5): [True: 9.32M, False: 0]
  ------------------
 1341|  9.32M|    _PyUnicode_STATE(unicode).ascii = is_ascii;
  ------------------
  |  |  152|  9.32M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  9.32M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  9.32M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1341:5): [True: 9.32M, False: 0]
  ------------------
 1342|  9.32M|    _PyUnicode_STATE(unicode).statically_allocated = 0;
  ------------------
  |  |  152|  9.32M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  9.32M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  9.32M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1342:5): [True: 9.32M, False: 0]
  ------------------
 1343|  9.32M|    if (is_ascii) {
  ------------------
  |  Branch (1343:9): [True: 1.86M, False: 7.45M]
  ------------------
 1344|  1.86M|        ((char*)data)[size] = 0;
 1345|  1.86M|    }
 1346|  7.45M|    else if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (1346:14): [True: 167k, False: 7.28M]
  ------------------
 1347|   167k|        ((char*)data)[size] = 0;
 1348|   167k|        unicode->utf8 = NULL;
 1349|   167k|        unicode->utf8_length = 0;
 1350|   167k|    }
 1351|  7.28M|    else {
 1352|  7.28M|        unicode->utf8 = NULL;
 1353|  7.28M|        unicode->utf8_length = 0;
 1354|  7.28M|        if (kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1354:13): [True: 6.83M, False: 456k]
  ------------------
 1355|  6.83M|            ((Py_UCS2*)data)[size] = 0;
 1356|   456k|        else /* kind == PyUnicode_4BYTE_KIND */
 1357|   456k|            ((Py_UCS4*)data)[size] = 0;
 1358|  7.28M|    }
 1359|       |#ifdef Py_DEBUG
 1360|       |    unicode_fill_invalid((PyObject*)unicode, 0);
 1361|       |#endif
 1362|  9.32M|    assert(_PyUnicode_CheckConsistency((PyObject*)unicode, 0));
  ------------------
  |  Branch (1362:5): [True: 9.32M, False: 0]
  ------------------
 1363|  9.32M|    return obj;
 1364|  9.32M|}
_PyUnicode_FastCopyCharacters:
 1524|  1.28M|{
 1525|  1.28M|    (void)_copy_characters(to, to_start, from, from_start, how_many, 0);
 1526|  1.28M|}
_PyUnicode_IsModifiable:
 1742|   234k|{
 1743|   234k|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (1743:5): [True: 234k, False: 0]
  ------------------
 1744|   234k|    if (!PyUnicode_CheckExact(unicode))
  ------------------
  |  |  104|   234k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   234k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   234k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   234k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1744:9): [True: 0, False: 234k]
  ------------------
 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|   234k|    if (!_PyObject_IsUniquelyReferenced(unicode))
  ------------------
  |  Branch (1748:9): [True: 62, False: 234k]
  ------------------
 1749|     62|        return 0;
 1750|   234k|    if (PyUnicode_HASH(unicode) != -1)
  ------------------
  |  |  156|   234k|#define PyUnicode_HASH PyUnstable_Unicode_GET_CACHED_HASH
  ------------------
  |  Branch (1750:9): [True: 0, False: 234k]
  ------------------
 1751|      0|        return 0;
 1752|   234k|    if (PyUnicode_CHECK_INTERNED(unicode))
  ------------------
  |  |  215|   234k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   234k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   234k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:38): [True: 0, False: 234k]
  |  |  ------------------
  ------------------
 1753|      0|        return 0;
 1754|   234k|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1754:9): [True: 0, False: 234k]
  ------------------
 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|   234k|    return 1;
 1762|   234k|}
PyUnicode_FromWideChar:
 1911|  7.13k|{
 1912|  7.13k|    PyObject *unicode;
 1913|  7.13k|    Py_UCS4 maxchar = 0;
 1914|  7.13k|    Py_ssize_t num_surrogates;
 1915|       |
 1916|  7.13k|    if (u == NULL && size != 0) {
  ------------------
  |  Branch (1916:9): [True: 0, False: 7.13k]
  |  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|  7.13k|    if (size == -1) {
  ------------------
  |  Branch (1921:9): [True: 82, False: 7.05k]
  ------------------
 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|  7.13k|    if (size == 0)
  ------------------
  |  Branch (1929:9): [True: 4, False: 7.13k]
  ------------------
 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|  7.13k|    if (size == 1 && (Py_UCS4)*u < 256)
  ------------------
  |  Branch (1948:9): [True: 0, False: 7.13k]
  |  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|  7.13k|    if (find_maxchar_surrogates(u, u + size,
  ------------------
  |  Branch (1953:9): [True: 0, False: 7.13k]
  ------------------
 1954|  7.13k|                                &maxchar, &num_surrogates) == -1)
 1955|      0|        return NULL;
 1956|       |
 1957|  7.13k|    unicode = PyUnicode_New(size - num_surrogates, maxchar);
 1958|  7.13k|    if (!unicode)
  ------------------
  |  Branch (1958:9): [True: 0, False: 7.13k]
  ------------------
 1959|      0|        return NULL;
 1960|       |
 1961|  7.13k|    unicode_write_widechar(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  259|  7.13k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  14.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 7.13k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  unicode_write_widechar(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  285|  7.13k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1962|  7.13k|                           u, size, num_surrogates);
 1963|       |
 1964|  7.13k|    return unicode_result(unicode);
  ------------------
  |  |  738|  7.13k|#define unicode_result _PyUnicode_Result
  ------------------
 1965|  7.13k|}
PyUnicode_FromStringAndSize:
 2021|  68.4k|{
 2022|  68.4k|    if (size < 0) {
  ------------------
  |  Branch (2022:9): [True: 0, False: 68.4k]
  ------------------
 2023|      0|        PyErr_SetString(PyExc_SystemError,
 2024|      0|                        "Negative size passed to PyUnicode_FromStringAndSize");
 2025|      0|        return NULL;
 2026|      0|    }
 2027|  68.4k|    if (u != NULL) {
  ------------------
  |  Branch (2027:9): [True: 68.4k, False: 0]
  ------------------
 2028|  68.4k|        return PyUnicode_DecodeUTF8Stateful(u, size, NULL, NULL);
 2029|  68.4k|    }
 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|  1.25M|{
 2041|  1.25M|    size_t size = strlen(u);
 2042|  1.25M|    if (size > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  1.25M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2042:9): [True: 0, False: 1.25M]
  ------------------
 2043|      0|        PyErr_SetString(PyExc_OverflowError, "input too long");
 2044|      0|        return NULL;
 2045|      0|    }
 2046|  1.25M|    return PyUnicode_DecodeUTF8Stateful(u, (Py_ssize_t)size, NULL, NULL);
 2047|  1.25M|}
_PyUnicode_FromASCII:
 2135|  36.0k|{
 2136|  36.0k|    const unsigned char *s = (const unsigned char *)buffer;
 2137|  36.0k|    PyObject *unicode;
 2138|  36.0k|    if (size == 1) {
  ------------------
  |  Branch (2138:9): [True: 2.38k, False: 33.6k]
  ------------------
 2139|       |#ifdef Py_DEBUG
 2140|       |        assert((unsigned char)s[0] < 128);
 2141|       |#endif
 2142|  2.38k|        return get_latin1_char(s[0]);
 2143|  2.38k|    }
 2144|  33.6k|    unicode = PyUnicode_New(size, 127);
 2145|  33.6k|    if (!unicode)
  ------------------
  |  Branch (2145:9): [True: 0, False: 33.6k]
  ------------------
 2146|      0|        return NULL;
 2147|  33.6k|    memcpy(PyUnicode_1BYTE_DATA(unicode), s, size);
  ------------------
  |  |  292|  33.6k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  33.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2148|  33.6k|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (2148:5): [True: 33.6k, False: 0]
  ------------------
 2149|  33.6k|    return unicode;
 2150|  33.6k|}
PyUnicodeWriter_WriteUCS4:
 2270|  2.36k|{
 2271|  2.36k|    _PyUnicodeWriter *writer = (_PyUnicodeWriter*)pub_writer;
 2272|       |
 2273|  2.36k|    if (size < 0) {
  ------------------
  |  Branch (2273:9): [True: 0, False: 2.36k]
  ------------------
 2274|      0|        PyErr_SetString(PyExc_ValueError,
 2275|      0|                        "size must be positive");
 2276|      0|        return -1;
 2277|      0|    }
 2278|       |
 2279|  2.36k|    if (size == 0) {
  ------------------
  |  Branch (2279:9): [True: 0, False: 2.36k]
  ------------------
 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|  2.36k|    Py_UCS4 maxchar = ucs4lib_find_max_char(str, str + size);
 2301|  2.36k|#endif
 2302|       |
 2303|  2.36k|    if (_PyUnicodeWriter_Prepare(writer, size, maxchar) < 0) {
  ------------------
  |  Branch (2303:9): [True: 0, False: 2.36k]
  ------------------
 2304|      0|        return -1;
 2305|      0|    }
 2306|  2.36k|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (2306:5): [True: 2.36k, False: 0]
  ------------------
 2307|       |
 2308|  2.36k|    int kind = writer->kind;
 2309|  2.36k|    void *data = (Py_UCS1*)writer->data + writer->pos * kind;
 2310|  2.36k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2310:9): [True: 172, False: 2.18k]
  ------------------
 2311|    172|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS1,
  ------------------
  |  |   47|    172|    do {                                                \
  |  |   48|    172|        to_type *_to = (to_type *)(to);                 \
  |  |   49|    172|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|    172|        const from_type *_end = (const from_type *)(end);\
  |  |   51|    172|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|    172|        const from_type *_unrolled_end =                \
  |  |   53|    172|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|    172|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  29.7k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 29.5k, False: 172]
  |  |  ------------------
  |  |   55|  29.5k|            _to[0] = (to_type) _iter[0];                \
  |  |   56|  29.5k|            _to[1] = (to_type) _iter[1];                \
  |  |   57|  29.5k|            _to[2] = (to_type) _iter[2];                \
  |  |   58|  29.5k|            _to[3] = (to_type) _iter[3];                \
  |  |   59|  29.5k|            _iter += 4; _to += 4;                       \
  |  |   60|  29.5k|        }                                               \
  |  |   61|    256|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 84, False: 172]
  |  |  ------------------
  |  |   62|    172|            *_to++ = (to_type) *_iter++;                \
  |  |   63|    172|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 172]
  |  |  ------------------
  ------------------
 2312|    172|                                 str, str + size,
 2313|    172|                                 data);
 2314|    172|    }
 2315|  2.18k|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (2315:14): [True: 2.16k, False: 29]
  ------------------
 2316|  2.16k|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS2,
  ------------------
  |  |   47|  2.16k|    do {                                                \
  |  |   48|  2.16k|        to_type *_to = (to_type *)(to);                 \
  |  |   49|  2.16k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|  2.16k|        const from_type *_end = (const from_type *)(end);\
  |  |   51|  2.16k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|  2.16k|        const from_type *_unrolled_end =                \
  |  |   53|  2.16k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|  2.16k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|   523k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 521k, False: 2.16k]
  |  |  ------------------
  |  |   55|   521k|            _to[0] = (to_type) _iter[0];                \
  |  |   56|   521k|            _to[1] = (to_type) _iter[1];                \
  |  |   57|   521k|            _to[2] = (to_type) _iter[2];                \
  |  |   58|   521k|            _to[3] = (to_type) _iter[3];                \
  |  |   59|   521k|            _iter += 4; _to += 4;                       \
  |  |   60|   521k|        }                                               \
  |  |   61|  2.44k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 281, False: 2.16k]
  |  |  ------------------
  |  |   62|  2.16k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|  2.16k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 2.16k]
  |  |  ------------------
  ------------------
 2317|  2.16k|                                 str, str + size,
 2318|  2.16k|                                 data);
 2319|  2.16k|    }
 2320|     29|    else {
 2321|     29|        memcpy(data, str, size * sizeof(Py_UCS4));
 2322|     29|    }
 2323|  2.36k|    writer->pos += size;
 2324|       |
 2325|  2.36k|    return 0;
 2326|  2.36k|}
PyUnicode_FromKindAndData:
 2331|   726k|{
 2332|   726k|    if (size < 0) {
  ------------------
  |  Branch (2332:9): [True: 0, False: 726k]
  ------------------
 2333|      0|        PyErr_SetString(PyExc_ValueError, "size must be positive");
 2334|      0|        return NULL;
 2335|      0|    }
 2336|   726k|    switch (kind) {
 2337|  51.1k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2337:5): [True: 51.1k, False: 675k]
  ------------------
 2338|  51.1k|        return _PyUnicode_FromUCS1(buffer, size);
 2339|   208k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2339:5): [True: 208k, False: 518k]
  ------------------
 2340|   208k|        return _PyUnicode_FromUCS2(buffer, size);
 2341|   466k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2341:5): [True: 466k, False: 259k]
  ------------------
 2342|   466k|        return _PyUnicode_FromUCS4(buffer, size);
 2343|      0|    default:
  ------------------
  |  Branch (2343:5): [True: 0, False: 726k]
  ------------------
 2344|      0|        PyErr_SetString(PyExc_SystemError, "invalid kind");
 2345|       |        return NULL;
 2346|   726k|    }
 2347|   726k|}
_PyUnicode_FindMaxChar:
 2351|  11.7k|{
 2352|  11.7k|    int kind;
 2353|  11.7k|    const void *startptr, *endptr;
 2354|       |
 2355|  11.7k|    assert(0 <= start);
  ------------------
  |  Branch (2355:5): [True: 11.7k, False: 0]
  ------------------
 2356|  11.7k|    assert(end <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (2356:5): [True: 11.7k, False: 0]
  ------------------
 2357|  11.7k|    assert(start <= end);
  ------------------
  |  Branch (2357:5): [True: 11.7k, False: 0]
  ------------------
 2358|       |
 2359|  11.7k|    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: 11.7k]
  |  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|  11.7k|    if (start == end)
  ------------------
  |  Branch (2362:9): [True: 0, False: 11.7k]
  ------------------
 2363|      0|        return 127;
 2364|       |
 2365|  11.7k|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  228|  11.7k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 21, False: 11.7k]
  |  |  ------------------
  ------------------
 2366|     21|        return 127;
 2367|       |
 2368|  11.7k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  11.7k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  23.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 11.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2369|  11.7k|    startptr = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|  11.7k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2370|  11.7k|    endptr = (char *)startptr + end * kind;
 2371|  11.7k|    startptr = (char *)startptr + start * kind;
 2372|  11.7k|    switch(kind) {
 2373|  1.64k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2373:5): [True: 1.64k, False: 10.1k]
  ------------------
 2374|  1.64k|        return ucs1lib_find_max_char(startptr, endptr);
 2375|  8.80k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2375:5): [True: 8.80k, False: 2.96k]
  ------------------
 2376|  8.80k|        return ucs2lib_find_max_char(startptr, endptr);
 2377|  1.32k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2377:5): [True: 1.32k, False: 10.4k]
  ------------------
 2378|  1.32k|        return ucs4lib_find_max_char(startptr, endptr);
 2379|      0|    default:
  ------------------
  |  Branch (2379:5): [True: 0, False: 11.7k]
  ------------------
 2380|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2381|  11.7k|    }
 2382|  11.7k|}
PyUnicode_FromFormatV:
 3167|   121k|{
 3168|   121k|    _PyUnicodeWriter writer;
 3169|   121k|    _PyUnicodeWriter_Init(&writer);
 3170|       |
 3171|   121k|    if (unicode_from_format(&writer, format, vargs) < 0) {
  ------------------
  |  Branch (3171:9): [True: 0, False: 121k]
  ------------------
 3172|      0|        _PyUnicodeWriter_Dealloc(&writer);
 3173|      0|        return NULL;
 3174|      0|    }
 3175|   121k|    return _PyUnicodeWriter_Finish(&writer);
 3176|   121k|}
PyUnicode_FromFormat:
 3180|  46.4k|{
 3181|  46.4k|    PyObject* ret;
 3182|  46.4k|    va_list vargs;
 3183|       |
 3184|  46.4k|    va_start(vargs, format);
 3185|  46.4k|    ret = PyUnicode_FromFormatV(format, vargs);
 3186|       |    va_end(vargs);
 3187|  46.4k|    return ret;
 3188|  46.4k|}
PyUnicode_AsWideCharString:
 3343|    336|{
 3344|    336|    wchar_t *buffer;
 3345|    336|    Py_ssize_t buflen;
 3346|       |
 3347|    336|    if (unicode == NULL) {
  ------------------
  |  Branch (3347:9): [True: 0, False: 336]
  ------------------
 3348|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3349|      0|        return NULL;
 3350|      0|    }
 3351|    336|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    336|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    336|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3351:9): [True: 0, False: 336]
  ------------------
 3352|      0|        PyErr_BadArgument();
 3353|      0|        return NULL;
 3354|      0|    }
 3355|       |
 3356|    336|    buflen = unicode_get_widechar_size(unicode);
 3357|    336|    buffer = (wchar_t *) PyMem_New(wchar_t, (buflen + 1));
  ------------------
  |  |   64|    336|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    336|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 336]
  |  |  ------------------
  |  |   65|    336|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3358|    336|    if (buffer == NULL) {
  ------------------
  |  Branch (3358:9): [True: 0, False: 336]
  ------------------
 3359|      0|        PyErr_NoMemory();
 3360|      0|        return NULL;
 3361|      0|    }
 3362|    336|    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|    336|    if (size != NULL) {
  ------------------
  |  Branch (3374:9): [True: 140, False: 196]
  ------------------
 3375|    140|        *size = buflen;
 3376|    140|    }
 3377|    196|    else if (wcslen(buffer) != (size_t)buflen) {
  ------------------
  |  Branch (3377:14): [True: 0, False: 196]
  ------------------
 3378|      0|        PyMem_Free(buffer);
 3379|      0|        PyErr_SetString(PyExc_ValueError,
 3380|      0|                        "embedded null character");
 3381|      0|        return NULL;
 3382|      0|    }
 3383|    336|    return buffer;
 3384|    336|}
PyUnicode_FromOrdinal:
 3438|   185k|{
 3439|   185k|    if (ordinal < 0 || ordinal > MAX_UNICODE) {
  ------------------
  |  |  108|   185k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|   185k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (3439:9): [True: 0, False: 185k]
  |  Branch (3439:24): [True: 0, False: 185k]
  ------------------
 3440|      0|        PyErr_SetString(PyExc_ValueError,
 3441|      0|                        "chr() arg not in range(0x110000)");
 3442|      0|        return NULL;
 3443|      0|    }
 3444|       |
 3445|   185k|    return unicode_char((Py_UCS4)ordinal);
 3446|   185k|}
PyUnicode_FromObject:
 3450|  88.7k|{
 3451|       |    /* XXX Perhaps we should make this API an alias of
 3452|       |       PyObject_Str() instead ?! */
 3453|  88.7k|    if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|  88.7k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  88.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  88.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  88.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 88.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3454|  88.7k|        return Py_NewRef(obj);
  ------------------
  |  |  647|  88.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  88.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  88.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3455|  88.7k|    }
 3456|      0|    if (PyUnicode_Check(obj)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3457|       |        /* For a Unicode subtype that's not a Unicode object,
 3458|       |           return a true Unicode object with the same data. */
 3459|      0|        return _PyUnicode_Copy(obj);
 3460|      0|    }
 3461|      0|    PyErr_Format(PyExc_TypeError,
 3462|      0|                 "Can't convert '%.100s' object to str implicitly",
 3463|      0|                 Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3464|       |    return NULL;
 3465|      0|}
PyUnicode_FromEncodedObject:
 3471|   200k|{
 3472|   200k|    Py_buffer buffer;
 3473|   200k|    PyObject *v;
 3474|       |
 3475|   200k|    if (obj == NULL) {
  ------------------
  |  Branch (3475:9): [True: 0, False: 200k]
  ------------------
 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|   200k|    if (PyBytes_Check(obj)) {
  ------------------
  |  |   28|   200k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   200k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 200k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3482|   200k|        if (PyBytes_GET_SIZE(obj) == 0) {
  ------------------
  |  |   33|   200k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   200k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   200k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3482:13): [True: 119k, False: 80.8k]
  ------------------
 3483|   119k|            if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3483:17): [True: 0, False: 119k]
  ------------------
 3484|      0|                return NULL;
 3485|      0|            }
 3486|   119k|            _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|   119k|    do {                             \
  |  |  366|   119k|        return _PyUnicode_GetEmpty();\
  |  |  367|   119k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3487|   119k|        }
 3488|  80.8k|        return PyUnicode_Decode(
 3489|  80.8k|                PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   27|  80.8k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   33|  80.8k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  80.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3490|  80.8k|                encoding, errors);
 3491|   200k|    }
 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|   135k|{
 3529|   135k|    const char *e;
 3530|   135k|    char *l;
 3531|   135k|    char *l_end;
 3532|   135k|    int punct;
 3533|       |
 3534|   135k|    assert(encoding != NULL);
  ------------------
  |  Branch (3534:5): [True: 135k, False: 0]
  ------------------
 3535|       |
 3536|   135k|    e = encoding;
 3537|   135k|    l = lower;
 3538|   135k|    l_end = &lower[lower_len - 1];
 3539|   135k|    punct = 0;
 3540|   973k|    while (1) {
  ------------------
  |  Branch (3540:12): [True: 973k, Folded]
  ------------------
 3541|   973k|        char c = *e;
 3542|   973k|        if (c == 0) {
  ------------------
  |  Branch (3542:13): [True: 135k, False: 838k]
  ------------------
 3543|   135k|            break;
 3544|   135k|        }
 3545|       |
 3546|   838k|        if (Py_ISALNUM(c) || c == '.') {
  ------------------
  |  |   26|  1.67M|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  170|   838k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|   838k|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|   838k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|   838k|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|   838k|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|   838k|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (26:24): [True: 812k, False: 25.7k]
  |  |  ------------------
  ------------------
  |  Branch (3546:30): [True: 1.73k, False: 23.9k]
  ------------------
 3547|   814k|            if (punct && l != lower) {
  ------------------
  |  Branch (3547:17): [True: 22.3k, False: 791k]
  |  Branch (3547:26): [True: 22.3k, False: 66]
  ------------------
 3548|  22.3k|                if (l == l_end) {
  ------------------
  |  Branch (3548:21): [True: 3, False: 22.3k]
  ------------------
 3549|      3|                    return 0;
 3550|      3|                }
 3551|  22.3k|                *l++ = '_';
 3552|  22.3k|            }
 3553|   814k|            punct = 0;
 3554|       |
 3555|   814k|            if (l == l_end) {
  ------------------
  |  Branch (3555:17): [True: 63, False: 814k]
  ------------------
 3556|     63|                return 0;
 3557|     63|            }
 3558|   814k|            *l++ = to_lower ? Py_TOLOWER(c) : c;
  ------------------
  |  |   32|   777k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|   777k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (3558:20): [True: 777k, False: 36.9k]
  ------------------
 3559|   814k|        }
 3560|  23.9k|        else {
 3561|  23.9k|            punct = 1;
 3562|  23.9k|        }
 3563|       |
 3564|   838k|        e++;
 3565|   838k|    }
 3566|   135k|    *l = '\0';
 3567|   135k|    return 1;
 3568|   135k|}
PyUnicode_Decode:
 3575|  90.7k|{
 3576|  90.7k|    PyObject *buffer = NULL, *unicode;
 3577|  90.7k|    Py_buffer info;
 3578|  90.7k|    char buflower[11];   /* strlen("iso-8859-1\0") == 11, longest shortcut */
 3579|       |
 3580|  90.7k|    if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3580:9): [True: 0, False: 90.7k]
  ------------------
 3581|      0|        return NULL;
 3582|      0|    }
 3583|       |
 3584|  90.7k|    if (size == 0) {
  ------------------
  |  Branch (3584:9): [True: 2, False: 90.7k]
  ------------------
 3585|      2|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      2|    do {                             \
  |  |  366|      2|        return _PyUnicode_GetEmpty();\
  |  |  367|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3586|      2|    }
 3587|       |
 3588|  90.7k|    if (encoding == NULL) {
  ------------------
  |  Branch (3588:9): [True: 0, False: 90.7k]
  ------------------
 3589|      0|        return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 3590|      0|    }
 3591|       |
 3592|       |    /* Shortcuts for common default encodings */
 3593|  90.7k|    if (_Py_normalize_encoding(encoding, buflower, sizeof(buflower), 1)) {
  ------------------
  |  Branch (3593:9): [True: 90.6k, False: 66]
  ------------------
 3594|  90.6k|        char *lower = buflower;
 3595|       |
 3596|       |        /* Fast paths */
 3597|  90.6k|        if (lower[0] == 'u' && lower[1] == 't' && lower[2] == 'f') {
  ------------------
  |  Branch (3597:13): [True: 12.7k, False: 77.9k]
  |  Branch (3597:32): [True: 12.5k, False: 229]
  |  Branch (3597:51): [True: 12.4k, False: 10]
  ------------------
 3598|  12.4k|            lower += 3;
 3599|  12.4k|            if (*lower == '_') {
  ------------------
  |  Branch (3599:17): [True: 12.4k, False: 28]
  ------------------
 3600|       |                /* Match "utf8" and "utf_8" */
 3601|  12.4k|                lower++;
 3602|  12.4k|            }
 3603|       |
 3604|  12.4k|            if (lower[0] == '8' && lower[1] == 0) {
  ------------------
  |  Branch (3604:17): [True: 4.24k, False: 8.24k]
  |  Branch (3604:36): [True: 4.24k, False: 3]
  ------------------
 3605|  4.24k|                return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 3606|  4.24k|            }
 3607|  8.24k|            else if (lower[0] == '1' && lower[1] == '6' && lower[2] == 0) {
  ------------------
  |  Branch (3607:22): [True: 8.19k, False: 50]
  |  Branch (3607:41): [True: 8.19k, False: 1]
  |  Branch (3607:60): [True: 64, False: 8.13k]
  ------------------
 3608|     64|                return PyUnicode_DecodeUTF16(s, size, errors, 0);
 3609|     64|            }
 3610|  8.18k|            else if (lower[0] == '3' && lower[1] == '2' && lower[2] == 0) {
  ------------------
  |  Branch (3610:22): [True: 12, False: 8.17k]
  |  Branch (3610:41): [True: 10, False: 2]
  |  Branch (3610:60): [True: 8, False: 2]
  ------------------
 3611|      8|                return PyUnicode_DecodeUTF32(s, size, errors, 0);
 3612|      8|            }
 3613|  12.4k|        }
 3614|  78.1k|        else {
 3615|  78.1k|            if (strcmp(lower, "ascii") == 0
  ------------------
  |  Branch (3615:17): [True: 57.7k, False: 20.4k]
  ------------------
 3616|  57.7k|                || strcmp(lower, "us_ascii") == 0) {
  ------------------
  |  Branch (3616:20): [True: 3, False: 20.4k]
  ------------------
 3617|  57.7k|                return PyUnicode_DecodeASCII(s, size, errors);
 3618|  57.7k|            }
 3619|       |    #ifdef MS_WINDOWS
 3620|       |            else if (strcmp(lower, "mbcs") == 0) {
 3621|       |                return PyUnicode_DecodeMBCS(s, size, errors);
 3622|       |            }
 3623|       |    #endif
 3624|  20.4k|            else if (strcmp(lower, "latin1") == 0
  ------------------
  |  Branch (3624:22): [True: 73, False: 20.3k]
  ------------------
 3625|  20.3k|                     || strcmp(lower, "latin_1") == 0
  ------------------
  |  Branch (3625:25): [True: 3, False: 20.3k]
  ------------------
 3626|  20.3k|                     || strcmp(lower, "iso_8859_1") == 0
  ------------------
  |  Branch (3626:25): [True: 27, False: 20.3k]
  ------------------
 3627|  20.3k|                     || strcmp(lower, "iso8859_1") == 0) {
  ------------------
  |  Branch (3627:25): [True: 3, False: 20.3k]
  ------------------
 3628|    106|                return PyUnicode_DecodeLatin1(s, size, errors);
 3629|    106|            }
 3630|  78.1k|        }
 3631|  90.6k|    }
 3632|       |
 3633|       |    /* Decode via the codec registry */
 3634|  28.5k|    buffer = NULL;
 3635|  28.5k|    if (PyBuffer_FillInfo(&info, NULL, (void *)s, size, 1, PyBUF_FULL_RO) < 0)
  ------------------
  |  |  134|  28.5k|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|  28.5k|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  28.5k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  28.5k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|  28.5k|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (3635:9): [True: 0, False: 28.5k]
  ------------------
 3636|      0|        goto onError;
 3637|  28.5k|    buffer = PyMemoryView_FromBuffer(&info);
 3638|  28.5k|    if (buffer == NULL)
  ------------------
  |  Branch (3638:9): [True: 0, False: 28.5k]
  ------------------
 3639|      0|        goto onError;
 3640|  28.5k|    unicode = _PyCodec_DecodeText(buffer, encoding, errors);
 3641|  28.5k|    if (unicode == NULL)
  ------------------
  |  Branch (3641:9): [True: 1.99k, False: 26.6k]
  ------------------
 3642|  1.99k|        goto onError;
 3643|  26.6k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  26.6k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  26.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3643:9): [True: 0, False: 26.6k]
  ------------------
 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|  26.6k|    Py_DECREF(buffer);
  ------------------
  |  |  430|  26.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3653|  26.6k|    return unicode_result(unicode);
  ------------------
  |  |  738|  26.6k|#define unicode_result _PyUnicode_Result
  ------------------
 3654|       |
 3655|  1.99k|  onError:
 3656|  1.99k|    Py_XDECREF(buffer);
  ------------------
  |  |  621|  1.99k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3657|       |    return NULL;
 3658|  26.6k|}
PyUnicode_EncodeFSDefault:
 3798|  6.35k|{
 3799|  6.35k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 3800|  6.35k|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
 3801|  6.35k|    if (fs_codec->utf8) {
  ------------------
  |  Branch (3801:9): [True: 6.27k, False: 82]
  ------------------
 3802|  6.27k|        return unicode_encode_utf8(unicode,
 3803|  6.27k|                                   fs_codec->error_handler,
 3804|  6.27k|                                   fs_codec->errors);
 3805|  6.27k|    }
 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|  6.35k|}
PyUnicode_AsEncodedString:
 3834|  44.4k|{
 3835|  44.4k|    PyObject *v;
 3836|  44.4k|    char buflower[11];   /* strlen("iso_8859_1\0") == 11, longest shortcut */
 3837|       |
 3838|  44.4k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  44.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  44.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3838:9): [True: 0, False: 44.4k]
  ------------------
 3839|      0|        PyErr_BadArgument();
 3840|      0|        return NULL;
 3841|      0|    }
 3842|       |
 3843|  44.4k|    if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3843:9): [True: 0, False: 44.4k]
  ------------------
 3844|      0|        return NULL;
 3845|      0|    }
 3846|       |
 3847|  44.4k|    if (encoding == NULL) {
  ------------------
  |  Branch (3847:9): [True: 0, False: 44.4k]
  ------------------
 3848|      0|        return _PyUnicode_AsUTF8String(unicode, errors);
 3849|      0|    }
 3850|       |
 3851|       |    /* Shortcuts for common default encodings */
 3852|  44.4k|    if (_Py_normalize_encoding(encoding, buflower, sizeof(buflower), 1)) {
  ------------------
  |  Branch (3852:9): [True: 44.4k, False: 0]
  ------------------
 3853|  44.4k|        char *lower = buflower;
 3854|       |
 3855|       |        /* Fast paths */
 3856|  44.4k|        if (lower[0] == 'u' && lower[1] == 't' && lower[2] == 'f') {
  ------------------
  |  Branch (3856:13): [True: 6, False: 44.4k]
  |  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|  44.4k|        else {
 3874|  44.4k|            if (strcmp(lower, "ascii") == 0
  ------------------
  |  Branch (3874:17): [True: 29.6k, False: 14.7k]
  ------------------
 3875|  29.6k|                || strcmp(lower, "us_ascii") == 0) {
  ------------------
  |  Branch (3875:20): [True: 0, False: 14.7k]
  ------------------
 3876|  29.6k|                return _PyUnicode_AsASCIIString(unicode, errors);
 3877|  29.6k|            }
 3878|       |#ifdef MS_WINDOWS
 3879|       |            else if (strcmp(lower, "mbcs") == 0) {
 3880|       |                return PyUnicode_EncodeCodePage(CP_ACP, unicode, errors);
 3881|       |            }
 3882|       |#endif
 3883|  14.7k|            else if (strcmp(lower, "latin1") == 0 ||
  ------------------
  |  Branch (3883:22): [True: 0, False: 14.7k]
  ------------------
 3884|  14.7k|                     strcmp(lower, "latin_1") == 0 ||
  ------------------
  |  Branch (3884:22): [True: 0, False: 14.7k]
  ------------------
 3885|  14.7k|                     strcmp(lower, "iso_8859_1") == 0 ||
  ------------------
  |  Branch (3885:22): [True: 0, False: 14.7k]
  ------------------
 3886|  14.7k|                     strcmp(lower, "iso8859_1") == 0) {
  ------------------
  |  Branch (3886:22): [True: 0, False: 14.7k]
  ------------------
 3887|      0|                return _PyUnicode_AsLatin1String(unicode, errors);
 3888|      0|            }
 3889|  44.4k|        }
 3890|  44.4k|    }
 3891|       |
 3892|       |    /* Encode via the codec registry */
 3893|  14.7k|    v = _PyCodec_EncodeText(unicode, encoding, errors);
 3894|  14.7k|    if (v == NULL)
  ------------------
  |  Branch (3894:9): [True: 0, False: 14.7k]
  ------------------
 3895|      0|        return NULL;
 3896|       |
 3897|       |    /* The normal path */
 3898|  14.7k|    if (PyBytes_Check(v))
  ------------------
  |  |   28|  14.7k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  14.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 14.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3899|  14.7k|        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|  6.38k|{
 4016|  6.38k|    Py_ssize_t size = (Py_ssize_t)strlen(str);
 4017|  6.38k|    _Py_error_handler error_handler = _Py_GetErrorHandler(errors);
 4018|  6.38k|    return unicode_decode_locale(str, size, error_handler, 1);
 4019|  6.38k|}
PyUnicode_DecodeFSDefault:
 4023|  26.3k|PyUnicode_DecodeFSDefault(const char *s) {
 4024|  26.3k|    Py_ssize_t size = (Py_ssize_t)strlen(s);
 4025|  26.3k|    return PyUnicode_DecodeFSDefaultAndSize(s, size);
 4026|  26.3k|}
PyUnicode_DecodeFSDefaultAndSize:
 4030|  27.1k|{
 4031|  27.1k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4032|  27.1k|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
 4033|  27.1k|    if (fs_codec->utf8) {
  ------------------
  |  Branch (4033:9): [True: 26.5k, False: 648]
  ------------------
 4034|  26.5k|        return unicode_decode_utf8(s, size,
 4035|  26.5k|                                   fs_codec->error_handler,
 4036|  26.5k|                                   fs_codec->errors,
 4037|  26.5k|                                   NULL);
 4038|  26.5k|    }
 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|  27.1k|}
PyUnicode_FSConverter:
 4066|  5.70k|{
 4067|  5.70k|    PyObject *path = NULL;
 4068|  5.70k|    PyObject *output = NULL;
 4069|  5.70k|    Py_ssize_t size;
 4070|  5.70k|    const char *data;
 4071|  5.70k|    if (arg == NULL) {
  ------------------
  |  Branch (4071:9): [True: 0, False: 5.70k]
  ------------------
 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|  5.70k|    path = PyOS_FSPath(arg);
 4077|  5.70k|    if (path == NULL) {
  ------------------
  |  Branch (4077:9): [True: 0, False: 5.70k]
  ------------------
 4078|      0|        return 0;
 4079|      0|    }
 4080|  5.70k|    if (PyBytes_Check(path)) {
  ------------------
  |  |   28|  5.70k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.70k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 5.70k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4081|      0|        output = path;
 4082|      0|    }
 4083|  5.70k|    else {  // PyOS_FSPath() guarantees its returned value is bytes or str.
 4084|  5.70k|        output = PyUnicode_EncodeFSDefault(path);
 4085|  5.70k|        Py_DECREF(path);
  ------------------
  |  |  430|  5.70k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4086|  5.70k|        if (!output) {
  ------------------
  |  Branch (4086:13): [True: 0, False: 5.70k]
  ------------------
 4087|      0|            return 0;
 4088|      0|        }
 4089|  5.70k|        assert(PyBytes_Check(output));
  ------------------
  |  Branch (4089:9): [True: 5.70k, False: 0]
  ------------------
 4090|  5.70k|    }
 4091|       |
 4092|  5.70k|    size = PyBytes_GET_SIZE(output);
  ------------------
  |  |   33|  5.70k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  5.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4093|  5.70k|    data = PyBytes_AS_STRING(output);
  ------------------
  |  |   27|  5.70k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4094|  5.70k|    if ((size_t)size != strlen(data)) {
  ------------------
  |  Branch (4094:9): [True: 0, False: 5.70k]
  ------------------
 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|  5.70k|    *(PyObject**)addr = output;
 4100|  5.70k|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|  5.70k|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 4101|  5.70k|}
PyUnicode_AsUTF8AndSize:
 4168|   319k|{
 4169|   319k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|   319k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   319k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4169:9): [True: 0, False: 319k]
  ------------------
 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|   319k|    if (unicode_ensure_utf8(unicode) == -1) {
  ------------------
  |  Branch (4177:9): [True: 38, False: 319k]
  ------------------
 4178|     38|        if (psize) {
  ------------------
  |  Branch (4178:13): [True: 38, False: 0]
  ------------------
 4179|     38|            *psize = -1;
 4180|     38|        }
 4181|     38|        return NULL;
 4182|     38|    }
 4183|       |
 4184|   319k|    if (psize) {
  ------------------
  |  Branch (4184:9): [True: 267k, False: 51.4k]
  ------------------
 4185|   267k|        *psize = PyUnicode_UTF8_LENGTH(unicode);
 4186|   267k|    }
 4187|   319k|    return PyUnicode_UTF8(unicode);
 4188|   319k|}
PyUnicode_AsUTF8:
 4192|  51.4k|{
 4193|       |    return PyUnicode_AsUTF8AndSize(unicode, NULL);
 4194|  51.4k|}
_PyUnicode_AsUTF8NoNUL:
 4198|   258k|{
 4199|   258k|    Py_ssize_t size;
 4200|   258k|    const char *s = PyUnicode_AsUTF8AndSize(unicode, &size);
 4201|   258k|    if (s && strlen(s) != (size_t)size) {
  ------------------
  |  Branch (4201:9): [True: 258k, False: 0]
  |  Branch (4201:14): [True: 0, False: 258k]
  ------------------
 4202|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 4203|      0|        return NULL;
 4204|      0|    }
 4205|   258k|    return s;
 4206|   258k|}
PyUnicode_GetLength:
 4226|     86|{
 4227|     86|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|     86|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     86|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4227:9): [True: 0, False: 86]
  ------------------
 4228|      0|        PyErr_BadArgument();
 4229|      0|        return -1;
 4230|      0|    }
 4231|     86|    return PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|     86|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4232|     86|}
PyUnicode_ReadChar:
 4236|     17|{
 4237|     17|    const void *data;
 4238|     17|    int kind;
 4239|       |
 4240|     17|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|     17|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     17|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4240:9): [True: 0, False: 17]
  ------------------
 4241|      0|        PyErr_BadArgument();
 4242|      0|        return (Py_UCS4)-1;
 4243|      0|    }
 4244|     17|    if (index < 0 || index >= PyUnicode_GET_LENGTH(unicode)) {
  ------------------
  |  |  300|     17|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4244:9): [True: 0, False: 17]
  |  Branch (4244:22): [True: 0, False: 17]
  ------------------
 4245|      0|        PyErr_SetString(PyExc_IndexError, "string index out of range");
 4246|      0|        return (Py_UCS4)-1;
 4247|      0|    }
 4248|     17|    data = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|     17|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4249|     17|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|     17|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     34|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 17, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4250|     17|    return PyUnicode_READ(kind, data, index);
  ------------------
  |  |  355|     17|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     17|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     17|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     17|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     17|                   (index))
  ------------------
 4251|     17|}
PyUnicode_DecodeUTF7Stateful:
 4632|    138|{
 4633|    138|    const char *starts = s;
 4634|    138|    Py_ssize_t startinpos;
 4635|    138|    Py_ssize_t endinpos;
 4636|    138|    const char *e;
 4637|    138|    _PyUnicodeWriter writer;
 4638|    138|    const char *errmsg = "";
 4639|    138|    int inShift = 0;
 4640|    138|    Py_ssize_t shiftOutStart;
 4641|    138|    unsigned int base64bits = 0;
 4642|    138|    unsigned long base64buffer = 0;
 4643|    138|    Py_UCS4 surrogate = 0;
 4644|    138|    PyObject *errorHandler = NULL;
 4645|    138|    PyObject *exc = NULL;
 4646|       |
 4647|    138|    if (size == 0) {
  ------------------
  |  Branch (4647:9): [True: 0, False: 138]
  ------------------
 4648|      0|        if (consumed)
  ------------------
  |  Branch (4648:13): [True: 0, False: 0]
  ------------------
 4649|      0|            *consumed = 0;
 4650|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4651|      0|    }
 4652|       |
 4653|       |    /* Start off assuming it's all ASCII. Widen later as necessary. */
 4654|    138|    _PyUnicodeWriter_Init(&writer);
 4655|    138|    writer.min_length = size;
 4656|       |
 4657|    138|    shiftOutStart = 0;
 4658|    138|    e = s + size;
 4659|       |
 4660|  44.2k|    while (s < e) {
  ------------------
  |  Branch (4660:12): [True: 44.1k, False: 87]
  ------------------
 4661|  44.1k|        Py_UCS4 ch;
 4662|  44.1k|      restart:
 4663|  44.1k|        ch = (unsigned char) *s;
 4664|       |
 4665|  44.1k|        if (inShift) { /* in a base-64 section */
  ------------------
  |  Branch (4665:13): [True: 17.4k, False: 26.7k]
  ------------------
 4666|  17.4k|            if (IS_BASE64(ch)) { /* consume a base-64 character */
  ------------------
  |  | 4543|  17.4k|    (((c) >= 'A' && (c) <= 'Z') ||     \
  |  |  ------------------
  |  |  |  Branch (4543:7): [True: 7.73k, False: 9.70k]
  |  |  |  Branch (4543:21): [True: 1.81k, False: 5.92k]
  |  |  ------------------
  |  | 4544|  17.4k|     ((c) >= 'a' && (c) <= 'z') ||     \
  |  |  ------------------
  |  |  |  Branch (4544:7): [True: 5.91k, False: 9.71k]
  |  |  |  Branch (4544:21): [True: 5.84k, False: 73]
  |  |  ------------------
  |  | 4545|  17.4k|     ((c) >= '0' && (c) <= '9') ||     \
  |  |  ------------------
  |  |  |  Branch (4545:7): [True: 4.31k, False: 5.47k]
  |  |  |  Branch (4545:21): [True: 3.84k, False: 464]
  |  |  ------------------
  |  | 4546|  17.4k|     (c) == '+' || (c) == '/')
  |  |  ------------------
  |  |  |  Branch (4546:6): [True: 3.94k, False: 1.99k]
  |  |  |  Branch (4546:20): [True: 516, False: 1.47k]
  |  |  ------------------
  ------------------
 4667|  15.9k|                base64buffer = (base64buffer << 6) | FROM_BASE64(ch);
  ------------------
  |  | 4551|  15.9k|    (((c) >= 'A' && (c) <= 'Z') ? (c) - 'A' :                           \
  |  |  ------------------
  |  |  |  Branch (4551:7): [True: 7.65k, False: 8.30k]
  |  |  |  Branch (4551:21): [True: 1.81k, False: 5.84k]
  |  |  ------------------
  |  | 4552|  15.9k|     ((c) >= 'a' && (c) <= 'z') ? (c) - 'a' + 26 :                      \
  |  |  ------------------
  |  |  |  Branch (4552:7): [True: 5.84k, False: 8.30k]
  |  |  |  Branch (4552:21): [True: 5.84k, False: 0]
  |  |  ------------------
  |  | 4553|  14.1k|     ((c) >= '0' && (c) <= '9') ? (c) - '0' + 52 :                      \
  |  |  ------------------
  |  |  |  Branch (4553:7): [True: 3.84k, False: 4.45k]
  |  |  |  Branch (4553:21): [True: 3.84k, False: 0]
  |  |  ------------------
  |  | 4554|  8.30k|     (c) == '+' ? 62 : 63)
  |  |  ------------------
  |  |  |  Branch (4554:6): [True: 3.94k, False: 516]
  |  |  ------------------
  ------------------
 4668|  15.9k|                base64bits += 6;
 4669|  15.9k|                s++;
 4670|  15.9k|                if (base64bits >= 16) {
  ------------------
  |  Branch (4670:21): [True: 5.85k, False: 10.1k]
  ------------------
 4671|       |                    /* we have enough bits for a UTF-16 value */
 4672|  5.85k|                    Py_UCS4 outCh = (Py_UCS4)(base64buffer >> (base64bits-16));
 4673|  5.85k|                    base64bits -= 16;
 4674|  5.85k|                    base64buffer &= (1 << base64bits) - 1; /* clear high bits */
 4675|  5.85k|                    assert(outCh <= 0xffff);
  ------------------
  |  Branch (4675:21): [True: 5.85k, False: 0]
  ------------------
 4676|  5.85k|                    if (surrogate) {
  ------------------
  |  Branch (4676:25): [True: 884, False: 4.97k]
  ------------------
 4677|       |                        /* expecting a second surrogate */
 4678|    884|                        if (Py_UNICODE_IS_LOW_SURROGATE(outCh)) {
  ------------------
  |  Branch (4678:29): [True: 687, False: 197]
  ------------------
 4679|    687|                            Py_UCS4 ch2 = Py_UNICODE_JOIN_SURROGATES(surrogate, outCh);
 4680|    687|                            if (_PyUnicodeWriter_WriteCharInline(&writer, ch2) < 0)
  ------------------
  |  Branch (4680:33): [True: 0, False: 687]
  ------------------
 4681|      0|                                goto onError;
 4682|    687|                            surrogate = 0;
 4683|    687|                            continue;
 4684|    687|                        }
 4685|    197|                        else {
 4686|    197|                            if (_PyUnicodeWriter_WriteCharInline(&writer, surrogate) < 0)
  ------------------
  |  Branch (4686:33): [True: 0, False: 197]
  ------------------
 4687|      0|                                goto onError;
 4688|    197|                            surrogate = 0;
 4689|    197|                        }
 4690|    884|                    }
 4691|  5.16k|                    if (Py_UNICODE_IS_HIGH_SURROGATE(outCh)) {
  ------------------
  |  Branch (4691:25): [True: 1.56k, False: 3.60k]
  ------------------
 4692|       |                        /* first surrogate */
 4693|  1.56k|                        surrogate = outCh;
 4694|  1.56k|                    }
 4695|  3.60k|                    else {
 4696|  3.60k|                        if (_PyUnicodeWriter_WriteCharInline(&writer, outCh) < 0)
  ------------------
  |  Branch (4696:29): [True: 0, False: 3.60k]
  ------------------
 4697|      0|                            goto onError;
 4698|  3.60k|                    }
 4699|  5.16k|                }
 4700|  15.9k|            }
 4701|  1.47k|            else { /* now leaving a base-64 section */
 4702|  1.47k|                inShift = 0;
 4703|  1.47k|                if (base64bits > 0) { /* left-over bits */
  ------------------
  |  Branch (4703:21): [True: 858, False: 619]
  ------------------
 4704|    858|                    if (base64bits >= 6) {
  ------------------
  |  Branch (4704:25): [True: 25, False: 833]
  ------------------
 4705|       |                        /* We've seen at least one base-64 character */
 4706|     25|                        s++;
 4707|     25|                        errmsg = "partial character in shift sequence";
 4708|     25|                        goto utf7Error;
 4709|     25|                    }
 4710|    833|                    else {
 4711|       |                        /* Some bits remain; they should be zero */
 4712|    833|                        if (base64buffer != 0) {
  ------------------
  |  Branch (4712:29): [True: 8, False: 825]
  ------------------
 4713|      8|                            s++;
 4714|      8|                            errmsg = "non-zero padding bits in shift sequence";
 4715|      8|                            goto utf7Error;
 4716|      8|                        }
 4717|    833|                    }
 4718|    858|                }
 4719|  1.44k|                if (surrogate && DECODE_DIRECT(ch)) {
  ------------------
  |  | 4567|    676|    ((c) <= 127 && (c) != '+')
  |  |  ------------------
  |  |  |  Branch (4567:6): [True: 676, False: 0]
  |  |  |  Branch (4567:20): [True: 676, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (4719:21): [True: 676, False: 768]
  ------------------
 4720|    676|                    if (_PyUnicodeWriter_WriteCharInline(&writer, surrogate) < 0)
  ------------------
  |  Branch (4720:25): [True: 0, False: 676]
  ------------------
 4721|      0|                        goto onError;
 4722|    676|                }
 4723|  1.44k|                surrogate = 0;
 4724|  1.44k|                if (ch == '-') {
  ------------------
  |  Branch (4724:21): [True: 366, False: 1.07k]
  ------------------
 4725|       |                    /* '-' is absorbed; other terminating
 4726|       |                       characters are preserved */
 4727|    366|                    s++;
 4728|    366|                }
 4729|  1.44k|            }
 4730|  17.4k|        }
 4731|  26.7k|        else if ( ch == '+' ) {
  ------------------
  |  Branch (4731:19): [True: 1.75k, False: 24.9k]
  ------------------
 4732|  1.75k|            startinpos = s-starts;
 4733|  1.75k|            s++; /* consume '+' */
 4734|  1.75k|            if (s < e && *s == '-') { /* '+-' encodes '+' */
  ------------------
  |  Branch (4734:17): [True: 1.75k, False: 3]
  |  Branch (4734:26): [True: 229, False: 1.52k]
  ------------------
 4735|    229|                s++;
 4736|    229|                if (_PyUnicodeWriter_WriteCharInline(&writer, '+') < 0)
  ------------------
  |  Branch (4736:21): [True: 0, False: 229]
  ------------------
 4737|      0|                    goto onError;
 4738|    229|            }
 4739|  1.52k|            else if (s < e && !IS_BASE64(*s)) {
  ------------------
  |  | 4543|  1.52k|    (((c) >= 'A' && (c) <= 'Z') ||     \
  |  |  ------------------
  |  |  |  Branch (4543:7): [True: 205, False: 1.31k]
  |  |  |  Branch (4543:21): [True: 42, False: 163]
  |  |  ------------------
  |  | 4544|  1.52k|     ((c) >= 'a' && (c) <= 'z') ||     \
  |  |  ------------------
  |  |  |  Branch (4544:7): [True: 163, False: 1.31k]
  |  |  |  Branch (4544:21): [True: 162, False: 1]
  |  |  ------------------
  |  | 4545|  1.52k|     ((c) >= '0' && (c) <= '9') ||     \
  |  |  ------------------
  |  |  |  Branch (4545:7): [True: 1.07k, False: 249]
  |  |  |  Branch (4545:21): [True: 1.06k, False: 3]
  |  |  ------------------
  |  | 4546|  1.52k|     (c) == '+' || (c) == '/')
  |  |  ------------------
  |  |  |  Branch (4546:6): [True: 209, False: 43]
  |  |  |  Branch (4546:20): [True: 33, False: 10]
  |  |  ------------------
  ------------------
  |  Branch (4739:22): [True: 1.52k, False: 3]
  ------------------
 4740|     10|                s++;
 4741|     10|                errmsg = "ill-formed sequence";
 4742|     10|                goto utf7Error;
 4743|     10|            }
 4744|  1.51k|            else { /* begin base64-encoded section */
 4745|  1.51k|                inShift = 1;
 4746|  1.51k|                surrogate = 0;
 4747|  1.51k|                shiftOutStart = writer.pos;
 4748|  1.51k|                base64bits = 0;
 4749|  1.51k|                base64buffer = 0;
 4750|  1.51k|            }
 4751|  1.75k|        }
 4752|  24.9k|        else if (DECODE_DIRECT(ch)) { /* character decodes as itself */
  ------------------
  |  | 4567|  24.9k|    ((c) <= 127 && (c) != '+')
  |  |  ------------------
  |  |  |  Branch (4567:6): [True: 24.9k, False: 8]
  |  |  |  Branch (4567:20): [True: 24.9k, False: 0]
  |  |  ------------------
  ------------------
 4753|  24.9k|            s++;
 4754|  24.9k|            if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0)
  ------------------
  |  Branch (4754:17): [True: 0, False: 24.9k]
  ------------------
 4755|      0|                goto onError;
 4756|  24.9k|        }
 4757|      8|        else {
 4758|      8|            startinpos = s-starts;
 4759|      8|            s++;
 4760|      8|            errmsg = "unexpected special character";
 4761|      8|            goto utf7Error;
 4762|      8|        }
 4763|  43.4k|        continue;
 4764|  43.4k|utf7Error:
 4765|     51|        endinpos = s-starts;
 4766|     51|        if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (4766:13): [True: 51, False: 0]
  ------------------
 4767|     51|                errors, &errorHandler,
 4768|     51|                "utf7", errmsg,
 4769|     51|                &starts, &e, &startinpos, &endinpos, &exc, &s,
 4770|     51|                &writer))
 4771|     51|            goto onError;
 4772|     51|    }
 4773|       |
 4774|       |    /* end of string */
 4775|       |
 4776|     87|    if (inShift && !consumed) { /* in shift sequence, no more to follow */
  ------------------
  |  Branch (4776:9): [True: 39, False: 48]
  |  Branch (4776:20): [True: 39, False: 0]
  ------------------
 4777|       |        /* if we're in an inconsistent state, that's an error */
 4778|     39|        inShift = 0;
 4779|     39|        if (surrogate ||
  ------------------
  |  Branch (4779:13): [True: 4, False: 35]
  ------------------
 4780|     35|                (base64bits >= 6) ||
  ------------------
  |  Branch (4780:17): [True: 12, False: 23]
  ------------------
 4781|     25|                (base64bits > 0 && base64buffer != 0)) {
  ------------------
  |  Branch (4781:18): [True: 13, False: 10]
  |  Branch (4781:36): [True: 9, False: 4]
  ------------------
 4782|     25|            endinpos = size;
 4783|     25|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (4783:17): [True: 25, False: 0]
  ------------------
 4784|     25|                    errors, &errorHandler,
 4785|     25|                    "utf7", "unterminated shift sequence",
 4786|     25|                    &starts, &e, &startinpos, &endinpos, &exc, &s,
 4787|     25|                    &writer))
 4788|     25|                goto onError;
 4789|      0|            if (s < e)
  ------------------
  |  Branch (4789:17): [True: 0, False: 0]
  ------------------
 4790|      0|                goto restart;
 4791|      0|        }
 4792|     39|    }
 4793|       |
 4794|       |    /* return state */
 4795|     62|    if (consumed) {
  ------------------
  |  Branch (4795:9): [True: 0, False: 62]
  ------------------
 4796|      0|        if (inShift) {
  ------------------
  |  Branch (4796:13): [True: 0, False: 0]
  ------------------
 4797|      0|            *consumed = startinpos;
 4798|       |
 4799|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4800|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4801|      0|            return _PyUnicodeWriter_FinishWithSize(&writer, shiftOutStart);
 4802|      0|        }
 4803|      0|        else {
 4804|      0|            *consumed = s-starts;
 4805|      0|        }
 4806|      0|    }
 4807|       |
 4808|     62|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|     62|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4809|     62|    Py_XDECREF(exc);
  ------------------
  |  |  621|     62|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4810|     62|    return _PyUnicodeWriter_Finish(&writer);
 4811|       |
 4812|     76|  onError:
 4813|     76|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|     76|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4814|     76|    Py_XDECREF(exc);
  ------------------
  |  |  621|     76|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4815|     76|    _PyUnicodeWriter_Dealloc(&writer);
 4816|       |    return NULL;
 4817|     62|}
PyUnicode_DecodeUTF8:
 4922|   264k|{
 4923|       |    return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 4924|   264k|}
_PyUnicode_DecodeUTF8Writer:
 5417|   326k|{
 5418|   326k|    if (size == 0) {
  ------------------
  |  Branch (5418:9): [True: 53.9k, False: 272k]
  ------------------
 5419|  53.9k|        if (consumed) {
  ------------------
  |  Branch (5419:13): [True: 0, False: 53.9k]
  ------------------
 5420|      0|            *consumed = 0;
 5421|      0|        }
 5422|  53.9k|        return 0;
 5423|  53.9k|    }
 5424|       |
 5425|   272k|    Py_ssize_t old_pos = writer->pos;
 5426|   272k|    Py_UCS4 old_maxchar = writer->maxchar;
 5427|       |
 5428|       |    // fast path: try ASCII string.
 5429|   272k|    if (_PyUnicodeWriter_Prepare(writer, size, 127) < 0) {
  ------------------
  |  Branch (5429:9): [True: 0, False: 272k]
  ------------------
 5430|      0|        goto error;
 5431|      0|    }
 5432|   272k|    assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (5432:5): [True: 272k, False: 0]
  ------------------
 5433|       |
 5434|   272k|    const char *starts = s;
 5435|   272k|    const char *end = s + size;
 5436|   272k|    if (writer->kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (5436:9): [True: 261k, False: 11.7k]
  ------------------
 5437|   261k|        Py_UCS1 *dest = (Py_UCS1*)writer->data + writer->pos * writer->kind;
 5438|   261k|        Py_ssize_t decoded = ascii_decode(s, end, dest);
 5439|   261k|        writer->pos += decoded;
 5440|       |
 5441|   261k|        if (decoded == size) {
  ------------------
  |  Branch (5441:13): [True: 261k, False: 7]
  ------------------
 5442|   261k|            if (consumed) {
  ------------------
  |  Branch (5442:17): [True: 1.07k, False: 260k]
  ------------------
 5443|  1.07k|                *consumed = size;
 5444|  1.07k|            }
 5445|   261k|            return 0;
 5446|   261k|        }
 5447|      7|        s += decoded;
 5448|      7|    }
 5449|       |
 5450|  11.7k|    int res = unicode_decode_utf8_impl(writer, starts, s, end,
 5451|  11.7k|                                       error_handler, errors, consumed);
 5452|  11.7k|    if (res < 0) {
  ------------------
  |  Branch (5452:9): [True: 0, False: 11.7k]
  ------------------
 5453|      0|        goto error;
 5454|      0|    }
 5455|  11.7k|    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|  11.7k|}
PyUnicode_DecodeUTF8Stateful:
 5476|  1.66M|{
 5477|  1.66M|    return unicode_decode_utf8(s, size,
 5478|  1.66M|                               errors ? _Py_ERROR_UNKNOWN : _Py_ERROR_STRICT,
  ------------------
  |  Branch (5478:32): [True: 29.7k, False: 1.63M]
  ------------------
 5479|  1.66M|                               errors, consumed);
 5480|  1.66M|}
_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.44k|    for (size_t i = 0; i < len; ) {
  ------------------
  |  Branch (5673:24): [True: 6.34k, False: 100]
  ------------------
 5674|  6.34k|        Py_ssize_t ch_pos = i;
 5675|  6.34k|        Py_UCS4 ch = text[i];
 5676|  6.34k|        i++;
 5677|  6.34k|        if (sizeof(wchar_t) == 2
  ------------------
  |  Branch (5677:13): [Folded, False: 6.34k]
  ------------------
 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.34k|        if (ch < 0x80) {
  ------------------
  |  Branch (5686:13): [True: 6.34k, False: 0]
  ------------------
 5687|       |            /* Encode ASCII */
 5688|  6.34k|            *p++ = (char) ch;
 5689|  6.34k|        }
 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.34k|    }
 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|    256|{
 5859|    256|    return unicode_encode_utf8(unicode, _Py_ERROR_UNKNOWN, errors);
 5860|    256|}
PyUnicode_AsUTF8String:
 5865|    246|{
 5866|       |    return _PyUnicode_AsUTF8String(unicode, NULL);
 5867|    246|}
PyUnicode_DecodeUTF32:
 5876|      8|{
 5877|       |    return PyUnicode_DecodeUTF32Stateful(s, size, errors, byteorder, NULL);
 5878|      8|}
PyUnicode_DecodeUTF32Stateful:
 5886|     27|{
 5887|     27|    const char *starts = s;
 5888|     27|    Py_ssize_t startinpos;
 5889|     27|    Py_ssize_t endinpos;
 5890|     27|    _PyUnicodeWriter writer;
 5891|     27|    const unsigned char *q, *e;
 5892|     27|    int le, bo = 0;       /* assume native ordering by default */
 5893|     27|    const char *encoding;
 5894|     27|    const char *errmsg = "";
 5895|     27|    PyObject *errorHandler = NULL;
 5896|     27|    PyObject *exc = NULL;
 5897|       |
 5898|     27|    q = (const unsigned char *)s;
 5899|     27|    e = q + size;
 5900|       |
 5901|     27|    if (byteorder)
  ------------------
  |  Branch (5901:9): [True: 19, False: 8]
  ------------------
 5902|     19|        bo = *byteorder;
 5903|       |
 5904|       |    /* Check for BOM marks (U+FEFF) in the input and adjust current
 5905|       |       byte order setting accordingly. In native mode, the leading BOM
 5906|       |       mark is skipped, in all other modes, it is copied to the output
 5907|       |       stream as-is (giving a ZWNBSP character). */
 5908|     27|    if (bo == 0 && size >= 4) {
  ------------------
  |  Branch (5908:9): [True: 25, False: 2]
  |  Branch (5908:20): [True: 25, False: 0]
  ------------------
 5909|     25|        Py_UCS4 bom = ((unsigned int)q[3] << 24) | (q[2] << 16) | (q[1] << 8) | q[0];
 5910|     25|        if (bom == 0x0000FEFF) {
  ------------------
  |  Branch (5910:13): [True: 0, False: 25]
  ------------------
 5911|      0|            bo = -1;
 5912|      0|            q += 4;
 5913|      0|        }
 5914|     25|        else if (bom == 0xFFFE0000) {
  ------------------
  |  Branch (5914:18): [True: 0, False: 25]
  ------------------
 5915|      0|            bo = 1;
 5916|      0|            q += 4;
 5917|      0|        }
 5918|     25|        if (byteorder)
  ------------------
  |  Branch (5918:13): [True: 17, False: 8]
  ------------------
 5919|     17|            *byteorder = bo;
 5920|     25|    }
 5921|       |
 5922|     27|    if (q == e) {
  ------------------
  |  Branch (5922:9): [True: 0, False: 27]
  ------------------
 5923|      0|        if (consumed)
  ------------------
  |  Branch (5923:13): [True: 0, False: 0]
  ------------------
 5924|      0|            *consumed = size;
 5925|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5926|      0|    }
 5927|       |
 5928|       |#ifdef WORDS_BIGENDIAN
 5929|       |    le = bo < 0;
 5930|       |#else
 5931|     27|    le = bo <= 0;
 5932|     27|#endif
 5933|     27|    encoding = le ? "utf-32-le" : "utf-32-be";
  ------------------
  |  Branch (5933:16): [True: 26, False: 1]
  ------------------
 5934|       |
 5935|     27|    _PyUnicodeWriter_Init(&writer);
 5936|     27|    writer.min_length = (e - q + 3) / 4;
 5937|     27|    if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1)
  ------------------
  |  Branch (5937:9): [True: 0, False: 27]
  ------------------
 5938|      0|        goto onError;
 5939|       |
 5940|     27|    while (1) {
  ------------------
  |  Branch (5940:12): [True: 27, Folded]
  ------------------
 5941|     27|        Py_UCS4 ch = 0;
 5942|     27|        Py_UCS4 maxch = PyUnicode_MAX_CHAR_VALUE(writer.buffer);
  ------------------
  |  |  406|     27|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5943|       |
 5944|     27|        if (e - q >= 4) {
  ------------------
  |  Branch (5944:13): [True: 27, False: 0]
  ------------------
 5945|     27|            int kind = writer.kind;
 5946|     27|            void *data = writer.data;
 5947|     27|            const unsigned char *last = e - 4;
 5948|     27|            Py_ssize_t pos = writer.pos;
 5949|     27|            if (le) {
  ------------------
  |  Branch (5949:17): [True: 26, False: 1]
  ------------------
 5950|     26|                do {
 5951|     26|                    ch = ((unsigned int)q[3] << 24) | (q[2] << 16) | (q[1] << 8) | q[0];
 5952|     26|                    if (ch > maxch)
  ------------------
  |  Branch (5952:25): [True: 26, False: 0]
  ------------------
 5953|     26|                        break;
 5954|      0|                    if (kind != PyUnicode_1BYTE_KIND &&
  ------------------
  |  Branch (5954:25): [True: 0, False: 0]
  ------------------
 5955|      0|                        Py_UNICODE_IS_SURROGATE(ch))
  ------------------
  |  Branch (5955:25): [True: 0, False: 0]
  ------------------
 5956|      0|                        break;
 5957|      0|                    PyUnicode_WRITE(kind, data, pos++, ch);
  ------------------
  |  |  336|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5958|      0|                    q += 4;
 5959|      0|                } while (q <= last);
  ------------------
  |  Branch (5959:26): [True: 0, False: 0]
  ------------------
 5960|     26|            }
 5961|      1|            else {
 5962|      1|                do {
 5963|      1|                    ch = ((unsigned int)q[0] << 24) | (q[1] << 16) | (q[2] << 8) | q[3];
 5964|      1|                    if (ch > maxch)
  ------------------
  |  Branch (5964:25): [True: 1, False: 0]
  ------------------
 5965|      1|                        break;
 5966|      0|                    if (kind != PyUnicode_1BYTE_KIND &&
  ------------------
  |  Branch (5966:25): [True: 0, False: 0]
  ------------------
 5967|      0|                        Py_UNICODE_IS_SURROGATE(ch))
  ------------------
  |  Branch (5967:25): [True: 0, False: 0]
  ------------------
 5968|      0|                        break;
 5969|      0|                    PyUnicode_WRITE(kind, data, pos++, ch);
  ------------------
  |  |  336|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5970|      0|                    q += 4;
 5971|      0|                } while (q <= last);
  ------------------
  |  Branch (5971:26): [True: 0, False: 0]
  ------------------
 5972|      1|            }
 5973|     27|            writer.pos = pos;
 5974|     27|        }
 5975|       |
 5976|     27|        if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (5976:13): [True: 0, False: 27]
  ------------------
 5977|      0|            errmsg = "code point in surrogate code point range(0xd800, 0xe000)";
 5978|      0|            startinpos = ((const char *)q) - starts;
 5979|      0|            endinpos = startinpos + 4;
 5980|      0|        }
 5981|     27|        else if (ch <= maxch) {
  ------------------
  |  Branch (5981:18): [True: 0, False: 27]
  ------------------
 5982|      0|            if (q == e || consumed)
  ------------------
  |  Branch (5982:17): [True: 0, False: 0]
  |  Branch (5982:27): [True: 0, False: 0]
  ------------------
 5983|      0|                break;
 5984|       |            /* remaining bytes at the end? (size should be divisible by 4) */
 5985|      0|            errmsg = "truncated data";
 5986|      0|            startinpos = ((const char *)q) - starts;
 5987|      0|            endinpos = ((const char *)e) - starts;
 5988|      0|        }
 5989|     27|        else {
 5990|     27|            if (ch < 0x110000) {
  ------------------
  |  Branch (5990:17): [True: 0, False: 27]
  ------------------
 5991|      0|                if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0)
  ------------------
  |  Branch (5991:21): [True: 0, False: 0]
  ------------------
 5992|      0|                    goto onError;
 5993|      0|                q += 4;
 5994|      0|                continue;
 5995|      0|            }
 5996|     27|            errmsg = "code point not in range(0x110000)";
 5997|     27|            startinpos = ((const char *)q) - starts;
 5998|     27|            endinpos = startinpos + 4;
 5999|     27|        }
 6000|       |
 6001|       |        /* The remaining input chars are ignored if the callback
 6002|       |           chooses to skip the input */
 6003|     27|        if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (6003:13): [True: 27, False: 0]
  ------------------
 6004|     27|                errors, &errorHandler,
 6005|     27|                encoding, errmsg,
 6006|     27|                &starts, (const char **)&e, &startinpos, &endinpos, &exc, (const char **)&q,
 6007|     27|                &writer))
 6008|     27|            goto onError;
 6009|     27|    }
 6010|       |
 6011|      0|    if (consumed)
  ------------------
  |  Branch (6011:9): [True: 0, False: 0]
  ------------------
 6012|      0|        *consumed = (const char *)q-starts;
 6013|       |
 6014|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6015|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6016|      0|    return _PyUnicodeWriter_Finish(&writer);
 6017|       |
 6018|     27|  onError:
 6019|     27|    _PyUnicodeWriter_Dealloc(&writer);
 6020|     27|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|     27|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6021|     27|    Py_XDECREF(exc);
  ------------------
  |  |  621|     27|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6022|       |    return NULL;
 6023|     27|}
PyUnicode_DecodeUTF16:
 6192|     64|{
 6193|       |    return PyUnicode_DecodeUTF16Stateful(s, size, errors, byteorder, NULL);
 6194|     64|}
PyUnicode_DecodeUTF16Stateful:
 6202|  8.22k|{
 6203|  8.22k|    const char *starts = s;
 6204|  8.22k|    Py_ssize_t startinpos;
 6205|  8.22k|    Py_ssize_t endinpos;
 6206|  8.22k|    _PyUnicodeWriter writer;
 6207|  8.22k|    const unsigned char *q, *e;
 6208|  8.22k|    int bo = 0;       /* assume native ordering by default */
 6209|  8.22k|    int native_ordering;
 6210|  8.22k|    const char *errmsg = "";
 6211|  8.22k|    PyObject *errorHandler = NULL;
 6212|  8.22k|    PyObject *exc = NULL;
 6213|  8.22k|    const char *encoding;
 6214|       |
 6215|  8.22k|    q = (const unsigned char *)s;
 6216|  8.22k|    e = q + size;
 6217|       |
 6218|  8.22k|    if (byteorder)
  ------------------
  |  Branch (6218:9): [True: 8.16k, False: 64]
  ------------------
 6219|  8.16k|        bo = *byteorder;
 6220|       |
 6221|       |    /* Check for BOM marks (U+FEFF) in the input and adjust current
 6222|       |       byte order setting accordingly. In native mode, the leading BOM
 6223|       |       mark is skipped, in all other modes, it is copied to the output
 6224|       |       stream as-is (giving a ZWNBSP character). */
 6225|  8.22k|    if (bo == 0 && size >= 2) {
  ------------------
  |  Branch (6225:9): [True: 105, False: 8.12k]
  |  Branch (6225:20): [True: 105, False: 0]
  ------------------
 6226|    105|        const Py_UCS4 bom = (q[1] << 8) | q[0];
 6227|    105|        if (bom == 0xFEFF) {
  ------------------
  |  Branch (6227:13): [True: 0, False: 105]
  ------------------
 6228|      0|            q += 2;
 6229|      0|            bo = -1;
 6230|      0|        }
 6231|    105|        else if (bom == 0xFFFE) {
  ------------------
  |  Branch (6231:18): [True: 0, False: 105]
  ------------------
 6232|      0|            q += 2;
 6233|      0|            bo = 1;
 6234|      0|        }
 6235|    105|        if (byteorder)
  ------------------
  |  Branch (6235:13): [True: 41, False: 64]
  ------------------
 6236|     41|            *byteorder = bo;
 6237|    105|    }
 6238|       |
 6239|  8.22k|    if (q == e) {
  ------------------
  |  Branch (6239:9): [True: 0, False: 8.22k]
  ------------------
 6240|      0|        if (consumed)
  ------------------
  |  Branch (6240:13): [True: 0, False: 0]
  ------------------
 6241|      0|            *consumed = size;
 6242|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      0|    do {                             \
  |  |  366|      0|        return _PyUnicode_GetEmpty();\
  |  |  367|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6243|      0|    }
 6244|       |
 6245|  8.22k|#if PY_LITTLE_ENDIAN
 6246|  8.22k|    native_ordering = bo <= 0;
 6247|  8.22k|    encoding = bo <= 0 ? "utf-16-le" : "utf-16-be";
  ------------------
  |  Branch (6247:16): [True: 107, False: 8.12k]
  ------------------
 6248|       |#else
 6249|       |    native_ordering = bo >= 0;
 6250|       |    encoding = bo >= 0 ? "utf-16-be" : "utf-16-le";
 6251|       |#endif
 6252|       |
 6253|       |    /* Note: size will always be longer than the resulting Unicode
 6254|       |       character count normally.  Error handler will take care of
 6255|       |       resizing when needed. */
 6256|  8.22k|    _PyUnicodeWriter_Init(&writer);
 6257|  8.22k|    writer.min_length = (e - q + 1) / 2;
 6258|  8.22k|    if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1)
  ------------------
  |  Branch (6258:9): [True: 0, False: 8.22k]
  ------------------
 6259|      0|        goto onError;
 6260|       |
 6261|  18.2k|    while (1) {
  ------------------
  |  Branch (6261:12): [True: 18.2k, Folded]
  ------------------
 6262|  18.2k|        Py_UCS4 ch = 0;
 6263|  18.2k|        if (e - q >= 2) {
  ------------------
  |  Branch (6263:13): [True: 13.2k, False: 5.06k]
  ------------------
 6264|  13.2k|            int kind = writer.kind;
 6265|  13.2k|            if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (6265:17): [True: 11.0k, False: 2.18k]
  ------------------
 6266|  11.0k|                if (PyUnicode_IS_ASCII(writer.buffer))
  ------------------
  |  |  228|  11.0k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 8.22k, False: 2.79k]
  |  |  ------------------
  ------------------
 6267|  8.22k|                    ch = asciilib_utf16_decode(&q, e,
 6268|  8.22k|                            (Py_UCS1*)writer.data, &writer.pos,
 6269|  8.22k|                            native_ordering);
 6270|  2.79k|                else
 6271|  2.79k|                    ch = ucs1lib_utf16_decode(&q, e,
 6272|  2.79k|                            (Py_UCS1*)writer.data, &writer.pos,
 6273|  2.79k|                            native_ordering);
 6274|  11.0k|            } else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (6274:24): [True: 1.29k, False: 886]
  ------------------
 6275|  1.29k|                ch = ucs2lib_utf16_decode(&q, e,
 6276|  1.29k|                        (Py_UCS2*)writer.data, &writer.pos,
 6277|  1.29k|                        native_ordering);
 6278|  1.29k|            } else {
 6279|    886|                assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (6279:17): [True: 886, False: 0]
  ------------------
 6280|    886|                ch = ucs4lib_utf16_decode(&q, e,
 6281|    886|                        (Py_UCS4*)writer.data, &writer.pos,
 6282|    886|                        native_ordering);
 6283|    886|            }
 6284|  13.2k|        }
 6285|       |
 6286|  18.2k|        switch (ch)
 6287|  18.2k|        {
 6288|  8.20k|        case 0:
  ------------------
  |  Branch (6288:9): [True: 8.20k, False: 10.0k]
  ------------------
 6289|       |            /* remaining byte at the end? (size should be even) */
 6290|  8.20k|            if (q == e || consumed)
  ------------------
  |  Branch (6290:17): [True: 8.14k, False: 57]
  |  Branch (6290:27): [True: 0, False: 57]
  ------------------
 6291|  8.14k|                goto End;
 6292|     57|            errmsg = "truncated data";
 6293|     57|            startinpos = ((const char *)q) - starts;
 6294|     57|            endinpos = ((const char *)e) - starts;
 6295|     57|            break;
 6296|       |            /* The remaining input chars are ignored if the callback
 6297|       |               chooses to skip the input */
 6298|      4|        case 1:
  ------------------
  |  Branch (6298:9): [True: 4, False: 18.2k]
  ------------------
 6299|      4|            q -= 2;
 6300|      4|            if (consumed)
  ------------------
  |  Branch (6300:17): [True: 0, False: 4]
  ------------------
 6301|      0|                goto End;
 6302|      4|            errmsg = "unexpected end of data";
 6303|      4|            startinpos = ((const char *)q) - starts;
 6304|      4|            endinpos = ((const char *)e) - starts;
 6305|      4|            break;
 6306|      9|        case 2:
  ------------------
  |  Branch (6306:9): [True: 9, False: 18.2k]
  ------------------
 6307|      9|            errmsg = "illegal encoding";
 6308|      9|            startinpos = ((const char *)q) - 2 - starts;
 6309|      9|            endinpos = startinpos + 2;
 6310|      9|            break;
 6311|      8|        case 3:
  ------------------
  |  Branch (6311:9): [True: 8, False: 18.2k]
  ------------------
 6312|      8|            errmsg = "illegal UTF-16 surrogate";
 6313|      8|            startinpos = ((const char *)q) - 4 - starts;
 6314|      8|            endinpos = startinpos + 2;
 6315|      8|            break;
 6316|  10.0k|        default:
  ------------------
  |  Branch (6316:9): [True: 10.0k, False: 8.22k]
  ------------------
 6317|  10.0k|            if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0)
  ------------------
  |  Branch (6317:17): [True: 0, False: 10.0k]
  ------------------
 6318|      0|                goto onError;
 6319|  10.0k|            continue;
 6320|  18.2k|        }
 6321|       |
 6322|     78|        if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (6322:13): [True: 78, False: 0]
  ------------------
 6323|     78|                errors,
 6324|     78|                &errorHandler,
 6325|     78|                encoding, errmsg,
 6326|     78|                &starts,
 6327|     78|                (const char **)&e,
 6328|     78|                &startinpos,
 6329|     78|                &endinpos,
 6330|     78|                &exc,
 6331|     78|                (const char **)&q,
 6332|     78|                &writer))
 6333|     78|            goto onError;
 6334|     78|    }
 6335|       |
 6336|  8.14k|End:
 6337|  8.14k|    if (consumed)
  ------------------
  |  Branch (6337:9): [True: 0, False: 8.14k]
  ------------------
 6338|      0|        *consumed = (const char *)q-starts;
 6339|       |
 6340|  8.14k|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|  8.14k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6341|  8.14k|    Py_XDECREF(exc);
  ------------------
  |  |  621|  8.14k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6342|  8.14k|    return _PyUnicodeWriter_Finish(&writer);
 6343|       |
 6344|     78|  onError:
 6345|     78|    _PyUnicodeWriter_Dealloc(&writer);
 6346|     78|    Py_XDECREF(errorHandler);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6347|     78|    Py_XDECREF(exc);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6348|       |    return NULL;
 6349|  8.22k|}
_PyUnicode_GetNameCAPI:
 6525|  3.13k|{
 6526|  3.13k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 6527|  3.13k|    _PyUnicode_Name_CAPI *ucnhash_capi;
 6528|       |
 6529|  3.13k|    ucnhash_capi = _Py_atomic_load_ptr(&interp->unicode.ucnhash_capi);
 6530|  3.13k|    if (ucnhash_capi == NULL) {
  ------------------
  |  Branch (6530:9): [True: 1, False: 3.13k]
  ------------------
 6531|      1|        ucnhash_capi = (_PyUnicode_Name_CAPI *)PyCapsule_Import(
 6532|      1|                PyUnicodeData_CAPSULE_NAME, 1);
  ------------------
  |  |   14|      1|#define PyUnicodeData_CAPSULE_NAME "unicodedata._ucnhash_CAPI"
  ------------------
 6533|       |
 6534|       |        // It's fine if we overwrite the value here. It's always the same value.
 6535|      1|        _Py_atomic_store_ptr(&interp->unicode.ucnhash_capi, ucnhash_capi);
 6536|      1|    }
 6537|  3.13k|    return ucnhash_capi;
 6538|  3.13k|}
_PyUnicode_DecodeUnicodeEscapeInternal2:
 6549|  33.0k|{
 6550|  33.0k|    const char *starts = s;
 6551|  33.0k|    const char *initial_starts = starts;
 6552|  33.0k|    _PyUnicodeWriter writer;
 6553|  33.0k|    const char *end;
 6554|  33.0k|    PyObject *errorHandler = NULL;
 6555|  33.0k|    PyObject *exc = NULL;
 6556|  33.0k|    _PyUnicode_Name_CAPI *ucnhash_capi;
 6557|       |
 6558|       |    // so we can remember if we've seen an invalid escape char or not
 6559|  33.0k|    *first_invalid_escape_char = -1;
 6560|  33.0k|    *first_invalid_escape_ptr = NULL;
 6561|       |
 6562|  33.0k|    if (size == 0) {
  ------------------
  |  Branch (6562:9): [True: 3.52k, False: 29.5k]
  ------------------
 6563|  3.52k|        if (consumed) {
  ------------------
  |  Branch (6563:13): [True: 1, False: 3.52k]
  ------------------
 6564|      1|            *consumed = 0;
 6565|      1|        }
 6566|  3.52k|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|  3.52k|    do {                             \
  |  |  366|  3.52k|        return _PyUnicode_GetEmpty();\
  |  |  367|  3.52k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6567|  3.52k|    }
 6568|       |    /* Escaped strings will always be longer than the resulting
 6569|       |       Unicode string, so we start with size here and then reduce the
 6570|       |       length after conversion to the true value.
 6571|       |       (but if the error callback returns a long replacement string
 6572|       |       we'll have to allocate more space) */
 6573|  29.5k|    _PyUnicodeWriter_Init(&writer);
 6574|  29.5k|    writer.min_length = size;
 6575|  29.5k|    if (_PyUnicodeWriter_Prepare(&writer, size, 127) < 0) {
  ------------------
  |  Branch (6575:9): [True: 0, False: 29.5k]
  ------------------
 6576|      0|        goto onError;
 6577|      0|    }
 6578|       |
 6579|  29.5k|    end = s + size;
 6580|  1.78M|    while (s < end) {
  ------------------
  |  Branch (6580:12): [True: 1.75M, False: 29.4k]
  ------------------
 6581|  1.75M|        unsigned char c = (unsigned char) *s++;
 6582|  1.75M|        Py_UCS4 ch;
 6583|  1.75M|        int count;
 6584|  1.75M|        const char *message;
 6585|       |
 6586|  1.75M|#define WRITE_ASCII_CHAR(ch)                                                  \
 6587|  1.75M|            do {                                                              \
 6588|  1.75M|                assert(ch <= 127);                                            \
 6589|  1.75M|                assert(writer.pos < writer.size);                             \
 6590|  1.75M|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
 6591|  1.75M|            } while(0)
 6592|       |
 6593|  1.75M|#define WRITE_CHAR(ch)                                                        \
 6594|  1.75M|            do {                                                              \
 6595|  1.75M|                if (ch <= writer.maxchar) {                                   \
 6596|  1.75M|                    assert(writer.pos < writer.size);                         \
 6597|  1.75M|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
 6598|  1.75M|                }                                                             \
 6599|  1.75M|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
 6600|  1.75M|                    goto onError;                                             \
 6601|  1.75M|                }                                                             \
 6602|  1.75M|            } while(0)
 6603|       |
 6604|       |        /* Non-escape characters are interpreted as Unicode ordinals */
 6605|  1.75M|        if (c != '\\') {
  ------------------
  |  Branch (6605:13): [True: 947k, False: 804k]
  ------------------
 6606|   947k|            WRITE_CHAR(c);
  ------------------
  |  | 6594|   947k|            do {                                                              \
  |  | 6595|   947k|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6595:21): [True: 947k, False: 0]
  |  |  ------------------
  |  | 6596|   947k|                    assert(writer.pos < writer.size);                         \
  |  | 6597|   947k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  336|   947k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   947k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   947k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|   947k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   947k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6598|   947k|                }                                                             \
  |  | 6599|   947k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6599:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6600|      0|                    goto onError;                                             \
  |  | 6601|      0|                }                                                             \
  |  | 6602|   947k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6602:21): [Folded, False: 947k]
  |  |  ------------------
  ------------------
  |  Branch (6606:13): [True: 947k, False: 0]
  ------------------
 6607|   947k|            continue;
 6608|   947k|        }
 6609|       |
 6610|   804k|        Py_ssize_t startinpos = s - starts - 1;
 6611|       |        /* \ - Escapes */
 6612|   804k|        if (s >= end) {
  ------------------
  |  Branch (6612:13): [True: 0, False: 804k]
  ------------------
 6613|      0|            message = "\\ at end of string";
 6614|      0|            goto incomplete;
 6615|      0|        }
 6616|   804k|        c = (unsigned char) *s++;
 6617|       |
 6618|   804k|        assert(writer.pos < writer.size);
  ------------------
  |  Branch (6618:9): [True: 804k, False: 0]
  ------------------
 6619|   804k|        switch (c) {
 6620|       |
 6621|       |            /* \x escapes */
 6622|  2.08k|        case '\n': continue;
  ------------------
  |  Branch (6622:9): [True: 2.08k, False: 802k]
  ------------------
 6623|  5.83k|        case '\\': WRITE_ASCII_CHAR('\\'); continue;
  ------------------
  |  | 6587|  5.83k|            do {                                                              \
  |  | 6588|  5.83k|                assert(ch <= 127);                                            \
  |  | 6589|  5.83k|                assert(writer.pos < writer.size);                             \
  |  | 6590|  5.83k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|  5.83k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  5.83k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|  5.83k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  5.83k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|  5.83k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 5.83k]
  |  |  ------------------
  ------------------
  |  Branch (6623:9): [True: 5.83k, False: 798k]
  |  Branch (6623:20): [True: 5.83k, Folded]
  |  Branch (6623:20): [True: 5.83k, False: 0]
  ------------------
 6624|  5.83k|        case '\'': WRITE_ASCII_CHAR('\''); continue;
  ------------------
  |  | 6587|  2.57k|            do {                                                              \
  |  | 6588|  2.57k|                assert(ch <= 127);                                            \
  |  | 6589|  2.57k|                assert(writer.pos < writer.size);                             \
  |  | 6590|  2.57k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|  2.57k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  2.57k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|  2.57k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  2.57k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|  2.57k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 2.57k]
  |  |  ------------------
  ------------------
  |  Branch (6624:9): [True: 2.57k, False: 801k]
  |  Branch (6624:20): [True: 2.57k, Folded]
  |  Branch (6624:20): [True: 2.57k, False: 0]
  ------------------
 6625|  2.57k|        case '\"': WRITE_ASCII_CHAR('\"'); continue;
  ------------------
  |  | 6587|  1.16k|            do {                                                              \
  |  | 6588|  1.16k|                assert(ch <= 127);                                            \
  |  | 6589|  1.16k|                assert(writer.pos < writer.size);                             \
  |  | 6590|  1.16k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|  1.16k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.16k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|  1.16k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.16k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|  1.16k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 1.16k]
  |  |  ------------------
  ------------------
  |  Branch (6625:9): [True: 1.16k, False: 802k]
  |  Branch (6625:20): [True: 1.16k, Folded]
  |  Branch (6625:20): [True: 1.16k, False: 0]
  ------------------
 6626|  1.16k|        case 'b': WRITE_ASCII_CHAR('\b'); continue;
  ------------------
  |  | 6587|    646|            do {                                                              \
  |  | 6588|    646|                assert(ch <= 127);                                            \
  |  | 6589|    646|                assert(writer.pos < writer.size);                             \
  |  | 6590|    646|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|    646|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    646|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    646|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|    646|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    646|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|    646|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 646]
  |  |  ------------------
  ------------------
  |  Branch (6626:9): [True: 646, False: 803k]
  |  Branch (6626:19): [True: 646, Folded]
  |  Branch (6626:19): [True: 646, False: 0]
  ------------------
 6627|       |        /* FF */
 6628|    792|        case 'f': WRITE_ASCII_CHAR('\014'); continue;
  ------------------
  |  | 6587|    792|            do {                                                              \
  |  | 6588|    792|                assert(ch <= 127);                                            \
  |  | 6589|    792|                assert(writer.pos < writer.size);                             \
  |  | 6590|    792|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|    792|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    792|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    792|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|    792|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    792|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|    792|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 792]
  |  |  ------------------
  ------------------
  |  Branch (6628:9): [True: 792, False: 803k]
  |  Branch (6628:19): [True: 792, Folded]
  |  Branch (6628:19): [True: 792, False: 0]
  ------------------
 6629|  2.81k|        case 't': WRITE_ASCII_CHAR('\t'); continue;
  ------------------
  |  | 6587|  2.81k|            do {                                                              \
  |  | 6588|  2.81k|                assert(ch <= 127);                                            \
  |  | 6589|  2.81k|                assert(writer.pos < writer.size);                             \
  |  | 6590|  2.81k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|  2.81k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  2.81k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|  2.81k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  2.81k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|  2.81k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 2.81k]
  |  |  ------------------
  ------------------
  |  Branch (6629:9): [True: 2.81k, False: 801k]
  |  Branch (6629:19): [True: 2.81k, Folded]
  |  Branch (6629:19): [True: 2.81k, False: 0]
  ------------------
 6630|  5.41k|        case 'n': WRITE_ASCII_CHAR('\n'); continue;
  ------------------
  |  | 6587|  5.41k|            do {                                                              \
  |  | 6588|  5.41k|                assert(ch <= 127);                                            \
  |  | 6589|  5.41k|                assert(writer.pos < writer.size);                             \
  |  | 6590|  5.41k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|  5.41k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  5.41k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|  5.41k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  5.41k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|  5.41k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 5.41k]
  |  |  ------------------
  ------------------
  |  Branch (6630:9): [True: 5.41k, False: 798k]
  |  Branch (6630:19): [True: 5.41k, Folded]
  |  Branch (6630:19): [True: 5.41k, False: 0]
  ------------------
 6631|  5.41k|        case 'r': WRITE_ASCII_CHAR('\r'); continue;
  ------------------
  |  | 6587|  1.70k|            do {                                                              \
  |  | 6588|  1.70k|                assert(ch <= 127);                                            \
  |  | 6589|  1.70k|                assert(writer.pos < writer.size);                             \
  |  | 6590|  1.70k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|  1.70k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.70k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|  1.70k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.70k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|  1.70k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 1.70k]
  |  |  ------------------
  ------------------
  |  Branch (6631:9): [True: 1.70k, False: 802k]
  |  Branch (6631:19): [True: 1.70k, Folded]
  |  Branch (6631:19): [True: 1.70k, False: 0]
  ------------------
 6632|       |        /* VT */
 6633|  2.95k|        case 'v': WRITE_ASCII_CHAR('\013'); continue;
  ------------------
  |  | 6587|  2.95k|            do {                                                              \
  |  | 6588|  2.95k|                assert(ch <= 127);                                            \
  |  | 6589|  2.95k|                assert(writer.pos < writer.size);                             \
  |  | 6590|  2.95k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|  2.95k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  2.95k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|  2.95k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  2.95k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|  2.95k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 2.95k]
  |  |  ------------------
  ------------------
  |  Branch (6633:9): [True: 2.95k, False: 801k]
  |  Branch (6633:19): [True: 2.95k, Folded]
  |  Branch (6633:19): [True: 2.95k, False: 0]
  ------------------
 6634|       |        /* BEL, not classic C */
 6635|  2.95k|        case 'a': WRITE_ASCII_CHAR('\007'); continue;
  ------------------
  |  | 6587|  2.62k|            do {                                                              \
  |  | 6588|  2.62k|                assert(ch <= 127);                                            \
  |  | 6589|  2.62k|                assert(writer.pos < writer.size);                             \
  |  | 6590|  2.62k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|  2.62k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  2.62k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|  2.62k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  2.62k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|  2.62k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 2.62k]
  |  |  ------------------
  ------------------
  |  Branch (6635:9): [True: 2.62k, False: 801k]
  |  Branch (6635:19): [True: 2.62k, Folded]
  |  Branch (6635:19): [True: 2.62k, False: 0]
  ------------------
 6636|       |
 6637|       |            /* \OOO (octal) escapes */
 6638|  8.29k|        case '0': case '1': case '2': case '3':
  ------------------
  |  Branch (6638:9): [True: 1.19k, False: 802k]
  |  Branch (6638:19): [True: 1.26k, False: 802k]
  |  Branch (6638:29): [True: 4.76k, False: 799k]
  |  Branch (6638:39): [True: 1.07k, False: 803k]
  ------------------
 6639|  14.3k|        case '4': case '5': case '6': case '7':
  ------------------
  |  Branch (6639:9): [True: 906, False: 803k]
  |  Branch (6639:19): [True: 1.01k, False: 803k]
  |  Branch (6639:29): [True: 1.27k, False: 802k]
  |  Branch (6639:39): [True: 2.86k, False: 801k]
  ------------------
 6640|  14.3k|            ch = c - '0';
 6641|  14.3k|            if (s < end && '0' <= *s && *s <= '7') {
  ------------------
  |  Branch (6641:17): [True: 13.8k, False: 544]
  |  Branch (6641:28): [True: 7.69k, False: 6.11k]
  |  Branch (6641:41): [True: 3.18k, False: 4.51k]
  ------------------
 6642|  3.18k|                ch = (ch<<3) + *s++ - '0';
 6643|  3.18k|                if (s < end && '0' <= *s && *s <= '7') {
  ------------------
  |  Branch (6643:21): [True: 2.78k, False: 396]
  |  Branch (6643:32): [True: 2.42k, False: 366]
  |  Branch (6643:45): [True: 1.06k, False: 1.35k]
  ------------------
 6644|  1.06k|                    ch = (ch<<3) + *s++ - '0';
 6645|  1.06k|                }
 6646|  3.18k|            }
 6647|  14.3k|            if (ch > 0377) {
  ------------------
  |  Branch (6647:17): [True: 933, False: 13.4k]
  ------------------
 6648|    933|                if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (6648:21): [True: 531, False: 402]
  ------------------
 6649|    531|                    *first_invalid_escape_char = ch;
 6650|    531|                    if (starts == initial_starts) {
  ------------------
  |  Branch (6650:25): [True: 531, False: 0]
  ------------------
 6651|       |                        /* Back up 3 chars, since we've already incremented s. */
 6652|    531|                        *first_invalid_escape_ptr = s - 3;
 6653|    531|                    }
 6654|    531|                }
 6655|    933|            }
 6656|  14.3k|            WRITE_CHAR(ch);
  ------------------
  |  | 6594|  14.3k|            do {                                                              \
  |  | 6595|  14.3k|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6595:21): [True: 13.6k, False: 663]
  |  |  ------------------
  |  | 6596|  13.6k|                    assert(writer.pos < writer.size);                         \
  |  | 6597|  13.6k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  336|  13.6k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  13.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|  13.6k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  13.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6598|  13.6k|                }                                                             \
  |  | 6599|  14.3k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6599:26): [True: 0, False: 663]
  |  |  ------------------
  |  | 6600|      0|                    goto onError;                                             \
  |  | 6601|      0|                }                                                             \
  |  | 6602|  14.3k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6602:21): [Folded, False: 14.3k]
  |  |  ------------------
  ------------------
  |  Branch (6656:13): [True: 13.6k, False: 0]
  ------------------
 6657|  14.3k|            continue;
 6658|       |
 6659|       |            /* hex escapes */
 6660|       |            /* \xXX */
 6661|  14.3k|        case 'x':
  ------------------
  |  Branch (6661:9): [True: 163, False: 803k]
  ------------------
 6662|    163|            count = 2;
 6663|    163|            message = "truncated \\xXX escape";
 6664|    163|            goto hexescape;
 6665|       |
 6666|       |            /* \uXXXX */
 6667|  6.35k|        case 'u':
  ------------------
  |  Branch (6667:9): [True: 6.35k, False: 797k]
  ------------------
 6668|  6.35k|            count = 4;
 6669|  6.35k|            message = "truncated \\uXXXX escape";
 6670|  6.35k|            goto hexescape;
 6671|       |
 6672|       |            /* \UXXXXXXXX */
 6673|   726k|        case 'U':
  ------------------
  |  Branch (6673:9): [True: 726k, False: 77.7k]
  ------------------
 6674|   726k|            count = 8;
 6675|   726k|            message = "truncated \\UXXXXXXXX escape";
 6676|   732k|        hexescape:
 6677|  6.56M|            for (ch = 0; count; ++s, --count) {
  ------------------
  |  Branch (6677:26): [True: 5.83M, False: 732k]
  ------------------
 6678|  5.83M|                if (s >= end) {
  ------------------
  |  Branch (6678:21): [True: 2, False: 5.83M]
  ------------------
 6679|      2|                    goto incomplete;
 6680|      2|                }
 6681|  5.83M|                c = (unsigned char)*s;
 6682|  5.83M|                ch <<= 4;
 6683|  5.83M|                if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (6683:21): [True: 5.83M, False: 2]
  |  Branch (6683:33): [True: 4.29M, False: 1.54M]
  ------------------
 6684|  4.29M|                    ch += c - '0';
 6685|  4.29M|                }
 6686|  1.54M|                else if (c >= 'a' && c <= 'f') {
  ------------------
  |  Branch (6686:26): [True: 1.54M, False: 384]
  |  Branch (6686:38): [True: 1.54M, False: 5]
  ------------------
 6687|  1.54M|                    ch += c - ('a' - 10);
 6688|  1.54M|                }
 6689|    389|                else if (c >= 'A' && c <= 'F') {
  ------------------
  |  Branch (6689:26): [True: 386, False: 3]
  |  Branch (6689:38): [True: 381, False: 5]
  ------------------
 6690|    381|                    ch += c - ('A' - 10);
 6691|    381|                }
 6692|      8|                else {
 6693|      8|                    goto error;
 6694|      8|                }
 6695|  5.83M|            }
 6696|       |
 6697|       |            /* when we get here, ch is a 32-bit unicode character */
 6698|   732k|            if (ch > MAX_UNICODE) {
  ------------------
  |  |  108|   732k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|   732k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (6698:17): [True: 1, False: 732k]
  ------------------
 6699|      1|                message = "illegal Unicode character";
 6700|      1|                goto error;
 6701|      1|            }
 6702|       |
 6703|   732k|            WRITE_CHAR(ch);
  ------------------
  |  | 6594|   732k|            do {                                                              \
  |  | 6595|   732k|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6595:21): [True: 727k, False: 5.39k]
  |  |  ------------------
  |  | 6596|   727k|                    assert(writer.pos < writer.size);                         \
  |  | 6597|   727k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  336|   727k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   727k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   727k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|   727k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   727k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6598|   727k|                }                                                             \
  |  | 6599|   732k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6599:26): [True: 0, False: 5.39k]
  |  |  ------------------
  |  | 6600|      0|                    goto onError;                                             \
  |  | 6601|      0|                }                                                             \
  |  | 6602|   732k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6602:21): [Folded, False: 732k]
  |  |  ------------------
  ------------------
  |  Branch (6703:13): [True: 727k, False: 0]
  ------------------
 6704|   732k|            continue;
 6705|       |
 6706|       |            /* \N{name} */
 6707|   732k|        case 'N':
  ------------------
  |  Branch (6707:9): [True: 3.13k, False: 800k]
  ------------------
 6708|  3.13k|            ucnhash_capi = _PyUnicode_GetNameCAPI();
 6709|  3.13k|            if (ucnhash_capi == NULL) {
  ------------------
  |  Branch (6709:17): [True: 0, False: 3.13k]
  ------------------
 6710|      0|                PyErr_SetString(
 6711|      0|                        PyExc_UnicodeError,
 6712|      0|                        "\\N escapes not supported (can't load unicodedata module)"
 6713|      0|                );
 6714|      0|                goto onError;
 6715|      0|            }
 6716|       |
 6717|  3.13k|            message = "malformed \\N character escape";
 6718|  3.13k|            if (s >= end) {
  ------------------
  |  Branch (6718:17): [True: 4, False: 3.13k]
  ------------------
 6719|      4|                goto incomplete;
 6720|      4|            }
 6721|  3.13k|            if (*s == '{') {
  ------------------
  |  Branch (6721:17): [True: 3.12k, False: 4]
  ------------------
 6722|  3.12k|                const char *start = ++s;
 6723|  3.12k|                size_t namelen;
 6724|       |                /* look for the closing brace */
 6725|  61.3k|                while (s < end && *s != '}')
  ------------------
  |  Branch (6725:24): [True: 61.3k, False: 14]
  |  Branch (6725:35): [True: 58.2k, False: 3.11k]
  ------------------
 6726|  58.2k|                    s++;
 6727|  3.12k|                if (s >= end) {
  ------------------
  |  Branch (6727:21): [True: 14, False: 3.11k]
  ------------------
 6728|     14|                    goto incomplete;
 6729|     14|                }
 6730|  3.11k|                namelen = s - start;
 6731|  3.11k|                if (namelen) {
  ------------------
  |  Branch (6731:21): [True: 3.11k, False: 1]
  ------------------
 6732|       |                    /* found a name.  look it up in the unicode database */
 6733|  3.11k|                    s++;
 6734|  3.11k|                    ch = 0xffffffff; /* in case 'getcode' messes up */
 6735|  3.11k|                    if (namelen <= INT_MAX &&
  ------------------
  |  Branch (6735:25): [True: 3.11k, False: 0]
  ------------------
 6736|  3.11k|                        ucnhash_capi->getcode(start, (int)namelen,
  ------------------
  |  Branch (6736:25): [True: 3.05k, False: 55]
  ------------------
 6737|  3.11k|                                              &ch, 0)) {
 6738|  3.05k|                        assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (6738:25): [True: 3.05k, False: 0]
  ------------------
 6739|  3.05k|                        WRITE_CHAR(ch);
  ------------------
  |  | 6594|  3.05k|            do {                                                              \
  |  | 6595|  3.05k|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6595:21): [True: 1.50k, False: 1.55k]
  |  |  ------------------
  |  | 6596|  1.50k|                    assert(writer.pos < writer.size);                         \
  |  | 6597|  1.50k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  336|  1.50k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.50k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|  1.50k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.50k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6598|  1.50k|                }                                                             \
  |  | 6599|  3.05k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6599:26): [True: 0, False: 1.55k]
  |  |  ------------------
  |  | 6600|      0|                    goto onError;                                             \
  |  | 6601|      0|                }                                                             \
  |  | 6602|  3.05k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6602:21): [Folded, False: 3.05k]
  |  |  ------------------
  ------------------
  |  Branch (6739:25): [True: 1.50k, False: 0]
  ------------------
 6740|  3.05k|                        continue;
 6741|  3.05k|                    }
 6742|     55|                    message = "unknown Unicode character name";
 6743|     55|                }
 6744|  3.11k|            }
 6745|     60|            goto error;
 6746|       |
 6747|  25.1k|        default:
  ------------------
  |  Branch (6747:9): [True: 25.1k, False: 778k]
  ------------------
 6748|  25.1k|            if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (6748:17): [True: 12.0k, False: 13.0k]
  ------------------
 6749|  12.0k|                *first_invalid_escape_char = c;
 6750|  12.0k|                if (starts == initial_starts) {
  ------------------
  |  Branch (6750:21): [True: 12.0k, False: 0]
  ------------------
 6751|       |                    /* Back up one char, since we've already incremented s. */
 6752|  12.0k|                    *first_invalid_escape_ptr = s - 1;
 6753|  12.0k|                }
 6754|  12.0k|            }
 6755|  25.1k|            WRITE_ASCII_CHAR('\\');
  ------------------
  |  | 6587|  25.1k|            do {                                                              \
  |  | 6588|  25.1k|                assert(ch <= 127);                                            \
  |  | 6589|  25.1k|                assert(writer.pos < writer.size);                             \
  |  | 6590|  25.1k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  336|  25.1k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  25.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|  25.1k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  25.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|  25.1k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6591:21): [Folded, False: 25.1k]
  |  |  ------------------
  ------------------
  |  Branch (6755:13): [True: 25.1k, Folded]
  |  Branch (6755:13): [True: 25.1k, False: 0]
  ------------------
 6756|  25.1k|            WRITE_CHAR(c);
  ------------------
  |  | 6594|  25.1k|            do {                                                              \
  |  | 6595|  25.1k|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6595:21): [True: 25.1k, False: 0]
  |  |  ------------------
  |  | 6596|  25.1k|                    assert(writer.pos < writer.size);                         \
  |  | 6597|  25.1k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  336|  25.1k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  25.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  337|  25.1k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  25.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6598|  25.1k|                }                                                             \
  |  | 6599|  25.1k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6599:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6600|      0|                    goto onError;                                             \
  |  | 6601|      0|                }                                                             \
  |  | 6602|  25.1k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6602:21): [Folded, False: 25.1k]
  |  |  ------------------
  ------------------
  |  Branch (6756:13): [True: 25.1k, False: 0]
  ------------------
 6757|  25.1k|            continue;
 6758|   804k|        }
 6759|       |
 6760|     20|      incomplete:
 6761|     20|        if (consumed) {
  ------------------
  |  Branch (6761:13): [True: 3, False: 17]
  ------------------
 6762|      3|            *consumed = startinpos;
 6763|      3|            break;
 6764|      3|        }
 6765|     86|      error:;
 6766|     86|        Py_ssize_t endinpos = s-starts;
 6767|     86|        writer.min_length = end - s + writer.pos;
 6768|     86|        if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (6768:13): [True: 86, False: 0]
  ------------------
 6769|     86|                errors, &errorHandler,
 6770|     86|                "unicodeescape", message,
 6771|     86|                &starts, &end, &startinpos, &endinpos, &exc, &s,
 6772|     86|                &writer)) {
 6773|     86|            goto onError;
 6774|     86|        }
 6775|     86|        assert(end - s <= writer.size - writer.pos);
  ------------------
  |  Branch (6775:9): [True: 0, False: 0]
  ------------------
 6776|       |
 6777|      0|#undef WRITE_ASCII_CHAR
 6778|      0|#undef WRITE_CHAR
 6779|      0|    }
 6780|       |
 6781|  29.4k|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|  29.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6782|  29.4k|    Py_XDECREF(exc);
  ------------------
  |  |  621|  29.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6783|  29.4k|    return _PyUnicodeWriter_Finish(&writer);
 6784|       |
 6785|     86|  onError:
 6786|     86|    _PyUnicodeWriter_Dealloc(&writer);
 6787|     86|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|     86|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6788|     86|    Py_XDECREF(exc);
  ------------------
  |  |  621|     86|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6789|       |    return NULL;
 6790|  29.5k|}
PyUnicode_DecodeLatin1:
 7160|    928|{
 7161|       |    /* Latin-1 is equivalent to the first 256 ordinals in Unicode. */
 7162|    928|    return _PyUnicode_FromUCS1((const unsigned char*)s, size);
 7163|    928|}
PyUnicode_DecodeASCII:
 7476|  57.8k|{
 7477|  57.8k|    const char *starts = s;
 7478|  57.8k|    const char *e = s + size;
 7479|  57.8k|    PyObject *error_handler_obj = NULL;
 7480|  57.8k|    PyObject *exc = NULL;
 7481|  57.8k|    _Py_error_handler error_handler = _Py_ERROR_UNKNOWN;
 7482|       |
 7483|  57.8k|    if (size == 0)
  ------------------
  |  Branch (7483:9): [True: 0, False: 57.8k]
  ------------------
 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|  57.8k|    if (size == 1 && (unsigned char)s[0] < 128) {
  ------------------
  |  Branch (7487:9): [True: 2.31k, False: 55.4k]
  |  Branch (7487:22): [True: 2.30k, False: 10]
  ------------------
 7488|  2.30k|        return get_latin1_char((unsigned char)s[0]);
 7489|  2.30k|    }
 7490|       |
 7491|       |    // Shortcut for simple case
 7492|  55.4k|    PyObject *u = PyUnicode_New(size, 127);
 7493|  55.4k|    if (u == NULL) {
  ------------------
  |  Branch (7493:9): [True: 0, False: 55.4k]
  ------------------
 7494|      0|        return NULL;
 7495|      0|    }
 7496|  55.4k|    Py_ssize_t outpos = ascii_decode(s, e, PyUnicode_1BYTE_DATA(u));
  ------------------
  |  |  292|  55.4k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  55.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7497|  55.4k|    if (outpos == size) {
  ------------------
  |  Branch (7497:9): [True: 55.2k, False: 209]
  ------------------
 7498|  55.2k|        return u;
 7499|  55.2k|    }
 7500|       |
 7501|    209|    _PyUnicodeWriter writer;
 7502|    209|    _PyUnicodeWriter_InitWithBuffer(&writer, u);
 7503|    209|    writer.pos = outpos;
 7504|       |
 7505|    209|    s += outpos;
 7506|    209|    int kind = writer.kind;
 7507|    209|    void *data = writer.data;
 7508|    209|    Py_ssize_t startinpos, endinpos;
 7509|       |
 7510|    209|    while (s < e) {
  ------------------
  |  Branch (7510:12): [True: 209, False: 0]
  ------------------
 7511|    209|        unsigned char c = (unsigned char)*s;
 7512|    209|        if (c < 128) {
  ------------------
  |  Branch (7512:13): [True: 0, False: 209]
  ------------------
 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|    209|        if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (7521:13): [True: 209, False: 0]
  ------------------
 7522|    209|            error_handler = _Py_GetErrorHandler(errors);
 7523|       |
 7524|    209|        switch (error_handler)
 7525|    209|        {
 7526|      0|        case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (7526:9): [True: 0, False: 209]
  ------------------
 7527|      0|        case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (7527:9): [True: 0, False: 209]
  ------------------
 7528|       |            /* Fast-path: the error handler only writes one character,
 7529|       |               but we may switch to UCS2 at the first write */
 7530|      0|            if (_PyUnicodeWriter_PrepareKind(&writer, PyUnicode_2BYTE_KIND) < 0)
  ------------------
  |  |  543|      0|    ((KIND) <= (WRITER)->kind                                         \
  |  |  ------------------
  |  |  |  Branch (543:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  544|      0|     ? 0                                                              \
  |  |  545|      0|     : _PyUnicodeWriter_PrepareKindInternal((WRITER), (KIND)))
  ------------------
  |  Branch (7530:17): [True: 0, False: 0]
  ------------------
 7531|      0|                goto onError;
 7532|      0|            assert(_PyUnicodeWriter_CanWrite(&writer));
  ------------------
  |  Branch (7532:13): [True: 0, False: 0]
  ------------------
 7533|      0|            kind = writer.kind;
 7534|      0|            data = writer.data;
 7535|       |
 7536|      0|            if (error_handler == _Py_ERROR_REPLACE)
  ------------------
  |  Branch (7536:17): [True: 0, False: 0]
  ------------------
 7537|      0|                PyUnicode_WRITE(kind, data, writer.pos, 0xfffd);
  ------------------
  |  |  336|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7538|      0|            else
 7539|      0|                PyUnicode_WRITE(kind, data, writer.pos, c + 0xdc00);
  ------------------
  |  |  336|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7540|      0|            writer.pos++;
 7541|      0|            ++s;
 7542|      0|            break;
 7543|       |
 7544|      0|        case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (7544:9): [True: 0, False: 209]
  ------------------
 7545|      0|            ++s;
 7546|      0|            break;
 7547|       |
 7548|    209|        default:
  ------------------
  |  Branch (7548:9): [True: 209, False: 0]
  ------------------
 7549|    209|            startinpos = s-starts;
 7550|    209|            endinpos = startinpos + 1;
 7551|    209|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (7551:17): [True: 209, False: 0]
  ------------------
 7552|    209|                    errors, &error_handler_obj,
 7553|    209|                    "ascii", "ordinal not in range(128)",
 7554|    209|                    &starts, &e, &startinpos, &endinpos, &exc, &s,
 7555|    209|                    &writer))
 7556|    209|                goto onError;
 7557|      0|            kind = writer.kind;
 7558|      0|            data = writer.data;
 7559|    209|        }
 7560|    209|    }
 7561|      0|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7562|      0|    Py_XDECREF(exc);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7563|      0|    return _PyUnicodeWriter_Finish(&writer);
 7564|       |
 7565|    209|  onError:
 7566|    209|    _PyUnicodeWriter_Dealloc(&writer);
 7567|    209|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|    209|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    209|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    209|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7568|    209|    Py_XDECREF(exc);
  ------------------
  |  |  621|    209|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    209|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    209|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7569|       |    return NULL;
 7570|    209|}
_PyUnicode_AsASCIIString:
 7574|  29.6k|{
 7575|  29.6k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  29.6k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  29.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7575:9): [True: 0, False: 29.6k]
  ------------------
 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|  29.6k|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  228|  29.6k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 86, False: 29.6k]
  |  |  ------------------
  ------------------
 7582|     86|        return PyBytes_FromStringAndSize(PyUnicode_DATA(unicode),
  ------------------
  |  |  285|     86|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7583|     86|                                         PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  |  300|     86|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7584|  29.6k|    return unicode_encode_ucs1(unicode, errors, 128);
 7585|  29.6k|}
PyUnicode_AsASCIIString:
 7589|     45|{
 7590|       |    return _PyUnicode_AsASCIIString(unicode, NULL);
 7591|     45|}
_PyUnicode_DecodeIconv:
 8331|    278|{
 8332|    278|    if (size < 0) {
  ------------------
  |  Branch (8332:9): [True: 0, False: 278]
  ------------------
 8333|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 8334|      0|        return NULL;
 8335|      0|    }
 8336|       |
 8337|    278|    iconv_t cd = iconv_open_or_set_error(ICONV_PIVOT, encoding, encoding);
  ------------------
  |  | 8288|    278|#  define ICONV_PIVOT "UTF-32LE"
  ------------------
 8338|    278|    if (cd == (iconv_t)-1) {
  ------------------
  |  Branch (8338:9): [True: 0, False: 278]
  ------------------
 8339|      0|        return NULL;
 8340|      0|    }
 8341|       |
 8342|       |    /* Scratch buffer for one iconv() output chunk, as UTF-32 code points. */
 8343|    278|    Py_UCS4 chunk[1024];
 8344|    278|    const char *starts = s;
 8345|    278|    const char *in = s;
 8346|    278|    const char *inend = s + size;
 8347|    278|    _PyUnicodeWriter writer;
 8348|    278|    PyObject *errorHandler = NULL;
 8349|    278|    PyObject *exc = NULL;
 8350|       |
 8351|    278|    _PyUnicodeWriter_Init(&writer);
 8352|    278|    writer.min_length = size;
 8353|       |
 8354|  2.36k|    while (in < inend) {
  ------------------
  |  Branch (8354:12): [True: 2.36k, False: 1]
  ------------------
 8355|  2.36k|        char *inptr = (char *)in;
 8356|  2.36k|        size_t inleft = (size_t)(inend - in);
 8357|  2.36k|        char *outptr = (char *)chunk;
 8358|  2.36k|        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|  2.36k|        size_t ret = iconv(cd, (void *)&inptr, &inleft, &outptr, &outleft);
 8364|  2.36k|        int err = errno;
 8365|  2.36k|        in = inptr;
 8366|       |
 8367|       |        /* Append whatever code points this call produced. */
 8368|  2.36k|        Py_ssize_t nch = (Py_UCS4 *)outptr - chunk;
 8369|  2.36k|        if (nch > 0 && PyUnicodeWriter_WriteUCS4((PyUnicodeWriter *)&writer,
  ------------------
  |  Branch (8369:13): [True: 2.36k, False: 6]
  |  Branch (8369:24): [True: 0, False: 2.36k]
  ------------------
 8370|  2.36k|                                                 chunk, nch) < 0) {
 8371|      0|            goto error;
 8372|      0|        }
 8373|       |
 8374|  2.36k|        if (ret != (size_t)-1) {
  ------------------
  |  Branch (8374:13): [True: 255, False: 2.11k]
  ------------------
 8375|    255|            assert(in == inend);
  ------------------
  |  Branch (8375:13): [True: 255, False: 0]
  ------------------
 8376|    255|            break;
 8377|    255|        }
 8378|       |
 8379|  2.11k|        if (err == E2BIG) {
  ------------------
  |  Branch (8379:13): [True: 2.09k, False: 22]
  ------------------
 8380|       |            /* The scratch buffer filled up; drain it and continue. */
 8381|  2.09k|            continue;
 8382|  2.09k|        }
 8383|       |
 8384|     22|        const char *reason;
 8385|     22|        if (err == EINVAL) {
  ------------------
  |  Branch (8385:13): [True: 5, False: 17]
  ------------------
 8386|       |            /* Incomplete multibyte sequence at the end of the input. */
 8387|      5|            if (consumed != NULL) {
  ------------------
  |  Branch (8387:17): [True: 0, False: 5]
  ------------------
 8388|       |                /* Stateful decoding: stop and report the consumed bytes. */
 8389|      0|                break;
 8390|      0|            }
 8391|      5|            reason = "incomplete multibyte sequence";
 8392|      5|        }
 8393|     17|        else if (err == EILSEQ) {
  ------------------
  |  Branch (8393:18): [True: 17, False: 0]
  ------------------
 8394|     17|            reason = "invalid multibyte sequence";
 8395|     17|        }
 8396|      0|        else {
 8397|      0|            errno = err;
 8398|      0|            PyErr_SetFromErrno(PyExc_OSError);
 8399|      0|            goto error;
 8400|      0|        }
 8401|       |
 8402|     22|        Py_ssize_t startinpos = in - starts;
 8403|     22|        Py_ssize_t endinpos = startinpos + 1;
 8404|     22|        if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (8404:13): [True: 22, False: 0]
  ------------------
 8405|     22|                errors, &errorHandler, encoding, reason,
 8406|     22|                &starts, &inend, &startinpos, &endinpos, &exc, &in,
 8407|     22|                &writer)) {
 8408|     22|            goto error;
 8409|     22|        }
 8410|       |        /* The error handler may have skipped bytes; reset the conversion
 8411|       |           descriptor to the initial shift state before continuing. */
 8412|      0|        iconv(cd, NULL, NULL, NULL, NULL);
 8413|      0|    }
 8414|       |
 8415|    256|    if (consumed != NULL) {
  ------------------
  |  Branch (8415:9): [True: 0, False: 256]
  ------------------
 8416|      0|        *consumed = in - starts;
 8417|      0|    }
 8418|    256|    iconv_close(cd);
 8419|    256|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|    256|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8420|    256|    Py_XDECREF(exc);
  ------------------
  |  |  621|    256|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    256|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    256|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8421|    256|    return _PyUnicodeWriter_Finish(&writer);
 8422|       |
 8423|     22|error:
 8424|     22|    iconv_close(cd);
 8425|     22|    _PyUnicodeWriter_Dealloc(&writer);
 8426|     22|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|     22|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8427|     22|    Py_XDECREF(exc);
  ------------------
  |  |  621|     22|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8428|       |    return NULL;
 8429|    278|}
_PyUnicode_EncodeIconv:
 8461|    285|{
 8462|    285|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    285|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    285|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8462:9): [True: 0, False: 285]
  ------------------
 8463|      0|        PyErr_BadArgument();
 8464|      0|        return NULL;
 8465|      0|    }
 8466|       |
 8467|    285|    Py_ssize_t ulen = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|    285|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    285|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    285|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8468|    285|    const char *source;         /* iconv source encoding for this kind */
 8469|    285|    const char *data;           /* the units to encode */
 8470|    285|    Py_ssize_t unit;            /* bytes per code point in *data */
 8471|    285|    Py_UCS4 *widened = NULL;    /* owned UTF-32 copy of a 2-byte string */
 8472|    285|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|    285|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    570|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 285, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8473|    285|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (8473:9): [True: 285, False: 0]
  ------------------
 8474|    285|        source = "ISO-8859-1";
 8475|    285|        data = (const char *)PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  292|    285|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    285|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 8476|    285|        unit = 1;
 8477|    285|    }
 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|    285|    iconv_t cd = iconv_open_or_set_error(encoding, source, encoding);
 8502|    285|    if (cd == (iconv_t)-1) {
  ------------------
  |  Branch (8502:9): [True: 254, False: 31]
  ------------------
 8503|    254|        PyMem_Free(widened);
 8504|    254|        return NULL;
 8505|    254|    }
 8506|       |
 8507|     31|    PyBytesWriter *writer = NULL;
 8508|     31|    PyObject *errorHandler = NULL;
 8509|     31|    PyObject *exc = NULL;
 8510|     31|    PyObject *result = NULL;
 8511|     31|    const char *ustart = data;
 8512|     31|    const char *up = data;
 8513|     31|    const char *uend = data + (size_t)ulen * unit;
 8514|     31|    int flushing = 0;
 8515|     31|    int careful = 0;            /* feed one code point per iconv() call */
 8516|       |
 8517|       |    /* A generous initial estimate for the output size. */
 8518|     31|    writer = PyBytesWriter_Create(ulen + (ulen >> 1) + 16);
 8519|     31|    if (writer == NULL) {
  ------------------
  |  Branch (8519:9): [True: 0, False: 31]
  ------------------
 8520|      0|        goto done;
 8521|      0|    }
 8522|     31|    char *out = PyBytesWriter_GetData(writer);
 8523|     31|    char *outend = out + PyBytesWriter_GetSize(writer);
 8524|       |
 8525|     62|    for (;;) {
 8526|     62|        char *inptr = (char *)up;
 8527|     62|        size_t inleft = (size_t)(uend - up);
 8528|       |        /* One code point at a time, to pin a substitution to its position. */
 8529|     62|        if (careful && inleft > (size_t)unit) {
  ------------------
  |  Branch (8529:13): [True: 0, False: 62]
  |  Branch (8529:24): [True: 0, False: 0]
  ------------------
 8530|      0|            inleft = (size_t)unit;
 8531|      0|        }
 8532|     62|        char *out_before = out;
 8533|     62|        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|     62|        size_t ret = iconv(cd, flushing ? NULL : (void *)&inptr, &inleft, &out, &outleft);
  ------------------
  |  Branch (8537:32): [True: 31, False: 31]
  ------------------
 8538|     62|        if (!flushing) {
  ------------------
  |  Branch (8538:13): [True: 31, False: 31]
  ------------------
 8539|     31|            up = inptr;
 8540|     31|        }
 8541|       |
 8542|     62|        if (ret != (size_t)-1) {
  ------------------
  |  Branch (8542:13): [True: 62, False: 0]
  ------------------
 8543|     62|            if (flushing) {
  ------------------
  |  Branch (8543:17): [True: 31, False: 31]
  ------------------
 8544|     31|                break;
 8545|     31|            }
 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|     31|            if (ret > 0) {
  ------------------
  |  Branch (8550:17): [True: 0, False: 31]
  ------------------
 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|     31|            else if (careful && up < uend) {
  ------------------
  |  Branch (8563:22): [True: 0, False: 31]
  |  Branch (8563:33): [True: 0, False: 0]
  ------------------
 8564|      0|                continue;
 8565|      0|            }
 8566|     31|            else {
 8567|       |                /* All input consumed; switch to flushing the shift state. */
 8568|     31|                flushing = 1;
 8569|     31|                continue;
 8570|     31|            }
 8571|     31|        }
 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|     31|    result = PyBytesWriter_FinishWithPointer(writer, out);
 8645|     31|    writer = NULL;
 8646|       |
 8647|     31|done:
 8648|     31|    if (writer != NULL) {
  ------------------
  |  Branch (8648:9): [True: 0, False: 31]
  ------------------
 8649|      0|        PyBytesWriter_Discard(writer);
 8650|      0|    }
 8651|     31|    iconv_close(cd);
 8652|     31|    PyMem_Free(widened);
 8653|     31|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|     31|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8654|     31|    Py_XDECREF(exc);
  ------------------
  |  |  621|     31|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8655|     31|    return result;
 8656|     31|}
PyUnicode_DecodeCharmap:
 8887|  1.27k|{
 8888|  1.27k|    _PyUnicodeWriter writer;
 8889|       |
 8890|       |    /* Default to Latin-1 */
 8891|  1.27k|    if (mapping == NULL)
  ------------------
  |  Branch (8891:9): [True: 0, False: 1.27k]
  ------------------
 8892|      0|        return PyUnicode_DecodeLatin1(s, size, errors);
 8893|       |
 8894|  1.27k|    if (size == 0)
  ------------------
  |  Branch (8894:9): [True: 0, False: 1.27k]
  ------------------
 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|  1.27k|    _PyUnicodeWriter_Init(&writer);
 8897|  1.27k|    writer.min_length = size;
 8898|  1.27k|    if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1)
  ------------------
  |  Branch (8898:9): [True: 0, False: 1.27k]
  ------------------
 8899|      0|        goto onError;
 8900|       |
 8901|  1.27k|    if (PyUnicode_CheckExact(mapping)) {
  ------------------
  |  |  104|  1.27k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.27k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.27k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8902|  1.27k|        if (charmap_decode_string(s, size, mapping, errors, &writer) < 0)
  ------------------
  |  Branch (8902:13): [True: 20, False: 1.25k]
  ------------------
 8903|     20|            goto onError;
 8904|  1.27k|    }
 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|  1.25k|    return _PyUnicodeWriter_Finish(&writer);
 8910|       |
 8911|     20|  onError:
 8912|     20|    _PyUnicodeWriter_Dealloc(&writer);
 8913|       |    return NULL;
 8914|  1.27k|}
PyUnicode_BuildEncodingMap:
 8960|     22|{
 8961|     22|    PyObject *result;
 8962|     22|    struct encoding_map *mresult;
 8963|     22|    int i;
 8964|     22|    int need_dict = 0;
 8965|     22|    unsigned char level1[32];
 8966|     22|    unsigned char level2[512];
 8967|     22|    unsigned char *mlevel1, *mlevel2, *mlevel3;
 8968|     22|    int count2 = 0, count3 = 0;
 8969|     22|    int kind;
 8970|     22|    const void *data;
 8971|     22|    int length;
 8972|     22|    Py_UCS4 ch;
 8973|       |
 8974|     22|    if (!PyUnicode_Check(string) || !PyUnicode_GET_LENGTH(string)) {
  ------------------
  |  |  103|     22|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     44|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyUnicode_Check(string) || !PyUnicode_GET_LENGTH(string)) {
  ------------------
  |  |  300|     22|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8974:9): [True: 0, False: 22]
  |  Branch (8974:37): [True: 0, False: 22]
  ------------------
 8975|      0|        PyErr_BadArgument();
 8976|      0|        return NULL;
 8977|      0|    }
 8978|     22|    kind = PyUnicode_KIND(string);
  ------------------
  |  |  259|     22|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     44|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 22, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8979|     22|    data = PyUnicode_DATA(string);
  ------------------
  |  |  285|     22|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8980|     22|    length = (int)Py_MIN(PyUnicode_GET_LENGTH(string), 256);
  ------------------
  |  |  127|     22|       __extension__ \
  |  |  128|     22|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     22|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|     22|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|     22|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|     22|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 22]
  |  |  ------------------
  ------------------
 8981|     22|    memset(level1, 0xFF, sizeof level1);
 8982|     22|    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|     22|    if (PyUnicode_READ(kind, data, 0) != 0)
  ------------------
  |  |  355|     22|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     22|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     22|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     22|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     22|                   (index))
  ------------------
  |  Branch (8987:9): [True: 0, False: 22]
  ------------------
 8988|      0|        need_dict = 1;
 8989|  5.63k|    for (i = 1; i < length; i++) {
  ------------------
  |  Branch (8989:17): [True: 5.61k, False: 22]
  ------------------
 8990|  5.61k|        int l1, l2;
 8991|  5.61k|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|  5.61k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  5.61k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  5.61k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  5.61k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  5.61k|                   (index))
  ------------------
 8992|  5.61k|        if (ch == 0 || ch > 0xFFFF) {
  ------------------
  |  Branch (8992:13): [True: 0, False: 5.61k]
  |  Branch (8992:24): [True: 0, False: 5.61k]
  ------------------
 8993|      0|            need_dict = 1;
 8994|      0|            break;
 8995|      0|        }
 8996|  5.61k|        if (ch == 0xFFFE)
  ------------------
  |  Branch (8996:13): [True: 152, False: 5.45k]
  ------------------
 8997|       |            /* unmapped character */
 8998|    152|            continue;
 8999|  5.45k|        l1 = ch >> 11;
 9000|  5.45k|        l2 = ch >> 7;
 9001|  5.45k|        if (level1[l1] == 0xFF)
  ------------------
  |  Branch (9001:13): [True: 39, False: 5.41k]
  ------------------
 9002|     39|            level1[l1] = count2++;
 9003|  5.45k|        if (level2[l2] == 0xFF)
  ------------------
  |  Branch (9003:13): [True: 100, False: 5.35k]
  ------------------
 9004|    100|            level2[l2] = count3++;
 9005|  5.45k|    }
 9006|       |
 9007|     22|    if (count2 >= 0xFF || count3 >= 0xFF)
  ------------------
  |  Branch (9007:9): [True: 0, False: 22]
  |  Branch (9007:27): [True: 0, False: 22]
  ------------------
 9008|      0|        need_dict = 1;
 9009|       |
 9010|     22|    if (need_dict) {
  ------------------
  |  Branch (9010:9): [True: 0, False: 22]
  ------------------
 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|     22|    result = PyObject_Malloc(sizeof(struct encoding_map) +
 9040|     22|                             16*count2 + 128*count3 - 1);
 9041|     22|    if (!result) {
  ------------------
  |  Branch (9041:9): [True: 0, False: 22]
  ------------------
 9042|      0|        return PyErr_NoMemory();
 9043|      0|    }
 9044|       |
 9045|     22|    _PyObject_Init(result, &EncodingMapType);
 9046|     22|    mresult = (struct encoding_map*)result;
 9047|     22|    mresult->count2 = count2;
 9048|     22|    mresult->count3 = count3;
 9049|     22|    mlevel1 = mresult->level1;
 9050|     22|    mlevel2 = mresult->level23;
 9051|     22|    mlevel3 = mresult->level23 + 16*count2;
 9052|     22|    memcpy(mlevel1, level1, 32);
 9053|     22|    memset(mlevel2, 0xFF, 16*count2);
 9054|     22|    memset(mlevel3, 0, 128*count3);
 9055|     22|    count3 = 0;
 9056|  5.63k|    for (i = 1; i < length; i++) {
  ------------------
  |  Branch (9056:17): [True: 5.61k, False: 22]
  ------------------
 9057|  5.61k|        int o1, o2, o3, i2, i3;
 9058|  5.61k|        Py_UCS4 ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|  5.61k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  5.61k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  5.61k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  5.61k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  5.61k|                   (index))
  ------------------
 9059|  5.61k|        if (ch == 0xFFFE)
  ------------------
  |  Branch (9059:13): [True: 152, False: 5.45k]
  ------------------
 9060|       |            /* unmapped character */
 9061|    152|            continue;
 9062|  5.45k|        o1 = ch>>11;
 9063|  5.45k|        o2 = (ch>>7) & 0xF;
 9064|  5.45k|        i2 = 16*mlevel1[o1] + o2;
 9065|  5.45k|        if (mlevel2[i2] == 0xFF)
  ------------------
  |  Branch (9065:13): [True: 100, False: 5.35k]
  ------------------
 9066|    100|            mlevel2[i2] = count3++;
 9067|  5.45k|        o3 = ch & 0x7F;
 9068|  5.45k|        i3 = 128*mlevel2[i2] + o3;
 9069|  5.45k|        mlevel3[i3] = i;
 9070|  5.45k|    }
 9071|     22|    return result;
 9072|     22|}
_PyUnicode_TransformDecimalAndSpaceToASCII:
 9920|    597|{
 9921|    597|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    597|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    597|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (9921:9): [True: 0, False: 597]
  ------------------
 9922|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 9923|      0|        return NULL;
 9924|      0|    }
 9925|    597|    if (PyUnicode_IS_ASCII(unicode)) {
  ------------------
  |  |  228|    597|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    597|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    597|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 597, False: 0]
  |  |  ------------------
  ------------------
 9926|       |        /* If the string is already ASCII, just return the same string */
 9927|    597|        return Py_NewRef(unicode);
  ------------------
  |  |  647|    597|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    597|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    597|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9928|    597|    }
 9929|       |
 9930|      0|    Py_ssize_t len = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9931|      0|    PyObject *result = PyUnicode_New(len, 127);
 9932|      0|    if (result == NULL) {
  ------------------
  |  Branch (9932:9): [True: 0, False: 0]
  ------------------
 9933|      0|        return NULL;
 9934|      0|    }
 9935|       |
 9936|      0|    Py_UCS1 *out = PyUnicode_1BYTE_DATA(result);
  ------------------
  |  |  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))
  |  |  ------------------
  ------------------
 9937|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9938|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9939|      0|    Py_ssize_t i;
 9940|      0|    for (i = 0; i < len; ++i) {
  ------------------
  |  Branch (9940:17): [True: 0, False: 0]
  ------------------
 9941|      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))
  ------------------
 9942|      0|        if (ch < 127) {
  ------------------
  |  Branch (9942:13): [True: 0, False: 0]
  ------------------
 9943|      0|            out[i] = ch;
 9944|      0|        }
 9945|      0|        else if (Py_UNICODE_ISSPACE(ch)) {
  ------------------
  |  Branch (9945:18): [True: 0, False: 0]
  ------------------
 9946|      0|            out[i] = ' ';
 9947|      0|        }
 9948|      0|        else {
 9949|      0|            int decimal = Py_UNICODE_TODECIMAL(ch);
  ------------------
  |  |  724|      0|#define Py_UNICODE_TODECIMAL(ch) _PyUnicode_ToDecimalDigit(ch)
  ------------------
 9950|      0|            if (decimal < 0) {
  ------------------
  |  Branch (9950:17): [True: 0, False: 0]
  ------------------
 9951|      0|                out[i] = '?';
 9952|      0|                out[i+1] = '\0';
 9953|      0|                _PyUnicode_LENGTH(result) = i + 1;
  ------------------
  |  |  150|      0|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|      0|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|      0|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9953:17): [True: 0, False: 0]
  ------------------
 9954|      0|                break;
 9955|      0|            }
 9956|      0|            out[i] = '0' + decimal;
 9957|      0|        }
 9958|      0|    }
 9959|       |
 9960|      0|    assert(_PyUnicode_CheckConsistency(result, 1));
  ------------------
  |  Branch (9960:5): [True: 0, False: 0]
  ------------------
 9961|      0|    return result;
 9962|      0|}
PyUnicode_Find:
10088|  4.70k|{
10089|  4.70k|    if (ensure_unicode(str) < 0 || ensure_unicode(substr) < 0)
  ------------------
  |  |  109|  4.70k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
                  if (ensure_unicode(str) < 0 || ensure_unicode(substr) < 0)
  ------------------
  |  |  109|  4.70k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (10089:9): [True: 0, False: 4.70k]
  |  Branch (10089:36): [True: 0, False: 4.70k]
  ------------------
10090|      0|        return -2;
10091|       |
10092|  4.70k|    return any_find_slice(str, substr, start, end, direction);
10093|  4.70k|}
PyUnicode_FindChar:
10099|   352k|{
10100|   352k|    int kind;
10101|   352k|    Py_ssize_t len, result;
10102|   352k|    len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  300|   352k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   352k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   352k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10103|   352k|    ADJUST_INDICES(start, end, len);
  ------------------
  |  | 9968|   352k|    do {                                \
  |  | 9969|   352k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9969:13): [True: 0, False: 352k]
  |  |  ------------------
  |  | 9970|      0|            end = len;                  \
  |  | 9971|      0|        }                               \
  |  | 9972|   352k|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9972:18): [True: 0, False: 352k]
  |  |  ------------------
  |  | 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|   352k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9978:13): [True: 0, False: 352k]
  |  |  ------------------
  |  | 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|   352k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9984:14): [Folded, False: 352k]
  |  |  ------------------
  ------------------
10104|   352k|    if (end - start < 1)
  ------------------
  |  Branch (10104:9): [True: 0, False: 352k]
  ------------------
10105|      0|        return -1;
10106|   352k|    kind = PyUnicode_KIND(str);
  ------------------
  |  |  259|   352k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   704k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 352k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10107|   352k|    result = findchar(PyUnicode_1BYTE_DATA(str) + kind*start,
  ------------------
  |  |  292|   352k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   352k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10108|   352k|                      kind, end-start, ch, direction);
10109|   352k|    if (result == -1)
  ------------------
  |  Branch (10109:9): [True: 306k, False: 45.8k]
  ------------------
10110|   306k|        return -1;
10111|  45.8k|    else
10112|  45.8k|        return start + result;
10113|   352k|}
PyUnicode_Join:
10425|   213k|{
10426|   213k|    PyObject *res;
10427|   213k|    PyObject *fseq;
10428|   213k|    Py_ssize_t seqlen;
10429|   213k|    PyObject **items;
10430|       |
10431|   213k|    fseq = PySequence_Fast(seq, "can only join an iterable");
10432|   213k|    if (fseq == NULL) {
  ------------------
  |  Branch (10432:9): [True: 0, False: 213k]
  ------------------
10433|      0|        return NULL;
10434|      0|    }
10435|       |
10436|   213k|    Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(seq);
  ------------------
  |  |   77|   213k|# define Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(original) {
  ------------------
10437|       |
10438|   213k|    items = PySequence_Fast_ITEMS(fseq);
  ------------------
  |  |  102|   213k|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|   213k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   213k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 213k, False: 124]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|   213k|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
10439|   213k|    seqlen = PySequence_Fast_GET_SIZE(fseq);
  ------------------
  |  |   92|   213k|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|   213k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   213k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 213k, False: 124]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|   213k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   213k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   213k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|    124|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10440|   213k|    res = _PyUnicode_JoinArray(separator, items, seqlen);
10441|       |
10442|   213k|    Py_END_CRITICAL_SECTION_SEQUENCE_FAST();
  ------------------
  |  |   78|   213k|# define Py_END_CRITICAL_SECTION_SEQUENCE_FAST() }
  ------------------
10443|       |
10444|   213k|    Py_DECREF(fseq);
  ------------------
  |  |  430|   213k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   213k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   213k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10445|   213k|    return res;
10446|   213k|}
_PyUnicode_JoinArray:
10450|   255k|{
10451|   255k|    PyObject *res = NULL; /* the result */
10452|   255k|    PyObject *sep = NULL;
10453|   255k|    Py_ssize_t seplen;
10454|   255k|    PyObject *item;
10455|   255k|    Py_ssize_t sz, i, res_offset;
10456|   255k|    Py_UCS4 maxchar;
10457|   255k|    Py_UCS4 item_maxchar;
10458|   255k|    int use_memcpy;
10459|   255k|    unsigned char *res_data = NULL, *sep_data = NULL;
10460|   255k|    PyObject *last_obj;
10461|   255k|    int kind = 0;
10462|       |
10463|       |    /* If empty sequence, return u"". */
10464|   255k|    if (seqlen == 0) {
  ------------------
  |  Branch (10464:9): [True: 1, False: 255k]
  ------------------
10465|      1|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|      1|    do {                             \
  |  |  366|      1|        return _PyUnicode_GetEmpty();\
  |  |  367|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
10466|      1|    }
10467|       |
10468|       |    /* If singleton sequence with an exact Unicode, return that. */
10469|   255k|    last_obj = NULL;
10470|   255k|    if (seqlen == 1) {
  ------------------
  |  Branch (10470:9): [True: 194k, False: 61.6k]
  ------------------
10471|   194k|        if (PyUnicode_CheckExact(items[0])) {
  ------------------
  |  |  104|   194k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   194k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   194k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   194k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 194k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10472|   194k|            res = items[0];
10473|   194k|            return Py_NewRef(res);
  ------------------
  |  |  647|   194k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   194k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   194k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10474|   194k|        }
10475|      0|        seplen = 0;
10476|      0|        maxchar = 0;
10477|      0|    }
10478|  61.6k|    else {
10479|       |        /* Set up sep and seplen */
10480|  61.6k|        if (separator == NULL) {
  ------------------
  |  Branch (10480:13): [True: 0, False: 61.6k]
  ------------------
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|  61.6k|        else {
10489|  61.6k|            if (!PyUnicode_Check(separator)) {
  ------------------
  |  |  103|  61.6k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  61.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10489:17): [True: 0, False: 61.6k]
  ------------------
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|  61.6k|            sep = separator;
10497|  61.6k|            seplen = PyUnicode_GET_LENGTH(separator);
  ------------------
  |  |  300|  61.6k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  61.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10498|  61.6k|            maxchar = PyUnicode_MAX_CHAR_VALUE(separator);
  ------------------
  |  |  406|  61.6k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  61.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.6k|#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|  61.6k|            Py_INCREF(sep);
  ------------------
  |  |  310|  61.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  61.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10502|  61.6k|        }
10503|  61.6k|        last_obj = sep;
10504|  61.6k|    }
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|  61.6k|    sz = 0;
10512|       |#ifdef Py_DEBUG
10513|       |    use_memcpy = 0;
10514|       |#else
10515|  61.6k|    use_memcpy = 1;
10516|  61.6k|#endif
10517|   690k|    for (i = 0; i < seqlen; i++) {
  ------------------
  |  Branch (10517:17): [True: 629k, False: 61.6k]
  ------------------
10518|   629k|        size_t add_sz;
10519|   629k|        item = items[i];
10520|   629k|        if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|   629k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   629k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10520:13): [True: 0, False: 629k]
  ------------------
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|   629k|        add_sz = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  300|   629k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   629k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   629k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10528|   629k|        item_maxchar = PyUnicode_MAX_CHAR_VALUE(item);
  ------------------
  |  |  406|   629k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   629k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   629k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10529|   629k|        maxchar = Py_MAX(maxchar, item_maxchar);
  ------------------
  |  |  133|   629k|       __extension__ \
  |  |  134|   629k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|   629k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|   629k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|   629k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|   629k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 60.2k, False: 569k]
  |  |  ------------------
  ------------------
10530|   629k|        if (i != 0) {
  ------------------
  |  Branch (10530:13): [True: 567k, False: 61.6k]
  ------------------
10531|   567k|            add_sz += seplen;
10532|   567k|        }
10533|   629k|        if (add_sz > (size_t)(PY_SSIZE_T_MAX - sz)) {
  ------------------
  |  |  137|   629k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (10533:13): [True: 0, False: 629k]
  ------------------
10534|      0|            PyErr_SetString(PyExc_OverflowError,
10535|      0|                            "join() result is too long for a Python string");
10536|      0|            goto onError;
10537|      0|        }
10538|   629k|        sz += add_sz;
10539|   629k|        if (use_memcpy && last_obj != NULL) {
  ------------------
  |  Branch (10539:13): [True: 425k, False: 203k]
  |  Branch (10539:27): [True: 425k, False: 0]
  ------------------
10540|   850k|            if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item))
  ------------------
  |  |  259|   425k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   850k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 425k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item))
  ------------------
  |  |  259|   425k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   850k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 425k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10540:17): [True: 13.5k, False: 411k]
  ------------------
10541|  13.5k|                use_memcpy = 0;
10542|   425k|        }
10543|      0|        last_obj = item;
10544|   629k|    }
10545|       |
10546|  61.6k|    res = PyUnicode_New(sz, maxchar);
10547|  61.6k|    if (res == NULL)
  ------------------
  |  Branch (10547:9): [True: 0, False: 61.6k]
  ------------------
10548|      0|        goto onError;
10549|       |
10550|       |    /* Catenate everything. */
10551|       |#ifdef Py_DEBUG
10552|       |    use_memcpy = 0;
10553|       |#else
10554|  61.6k|    if (use_memcpy) {
  ------------------
  |  Branch (10554:9): [True: 48.0k, False: 13.5k]
  ------------------
10555|  48.0k|        res_data = PyUnicode_1BYTE_DATA(res);
  ------------------
  |  |  292|  48.0k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  48.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10556|  48.0k|        kind = PyUnicode_KIND(res);
  ------------------
  |  |  259|  48.0k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  96.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 48.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10557|  48.0k|        if (seplen != 0)
  ------------------
  |  Branch (10557:13): [True: 2.84k, False: 45.2k]
  ------------------
10558|  2.84k|            sep_data = PyUnicode_1BYTE_DATA(sep);
  ------------------
  |  |  292|  2.84k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  2.84k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10559|  48.0k|    }
10560|  61.6k|#endif
10561|  61.6k|    if (use_memcpy) {
  ------------------
  |  Branch (10561:9): [True: 48.0k, False: 13.5k]
  ------------------
10562|   441k|        for (i = 0; i < seqlen; ++i) {
  ------------------
  |  Branch (10562:21): [True: 393k, False: 48.0k]
  ------------------
10563|   393k|            Py_ssize_t itemlen;
10564|   393k|            item = items[i];
10565|       |
10566|       |            /* Copy item, and maybe the separator. */
10567|   393k|            if (i && seplen != 0) {
  ------------------
  |  Branch (10567:17): [True: 345k, False: 48.0k]
  |  Branch (10567:22): [True: 39.3k, False: 305k]
  ------------------
10568|  39.3k|                memcpy(res_data,
10569|  39.3k|                          sep_data,
10570|  39.3k|                          kind * seplen);
10571|  39.3k|                res_data += kind * seplen;
10572|  39.3k|            }
10573|       |
10574|   393k|            itemlen = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  300|   393k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   393k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   393k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10575|   393k|            if (itemlen != 0) {
  ------------------
  |  Branch (10575:17): [True: 358k, False: 34.7k]
  ------------------
10576|   358k|                memcpy(res_data,
10577|   358k|                          PyUnicode_DATA(item),
  ------------------
  |  |  285|   358k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   358k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   358k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10578|   358k|                          kind * itemlen);
10579|   358k|                res_data += kind * itemlen;
10580|   358k|            }
10581|   393k|        }
10582|  48.0k|        assert(res_data == PyUnicode_1BYTE_DATA(res)
  ------------------
  |  Branch (10582:9): [True: 48.0k, False: 0]
  ------------------
10583|  48.0k|                           + kind * PyUnicode_GET_LENGTH(res));
10584|  48.0k|    }
10585|  13.5k|    else {
10586|   249k|        for (i = 0, res_offset = 0; i < seqlen; ++i) {
  ------------------
  |  Branch (10586:37): [True: 235k, False: 13.5k]
  ------------------
10587|   235k|            Py_ssize_t itemlen;
10588|   235k|            item = items[i];
10589|       |
10590|       |            /* Copy item, and maybe the separator. */
10591|   235k|            if (i && seplen != 0) {
  ------------------
  |  Branch (10591:17): [True: 222k, False: 13.5k]
  |  Branch (10591:22): [True: 49.5k, False: 172k]
  ------------------
10592|  49.5k|                _PyUnicode_FastCopyCharacters(res, res_offset, sep, 0, seplen);
10593|  49.5k|                res_offset += seplen;
10594|  49.5k|            }
10595|       |
10596|   235k|            itemlen = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  300|   235k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   235k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   235k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10597|   235k|            if (itemlen != 0) {
  ------------------
  |  Branch (10597:17): [True: 200k, False: 35.9k]
  ------------------
10598|   200k|                _PyUnicode_FastCopyCharacters(res, res_offset, item, 0, itemlen);
10599|   200k|                res_offset += itemlen;
10600|   200k|            }
10601|   235k|        }
10602|  13.5k|        assert(res_offset == PyUnicode_GET_LENGTH(res));
  ------------------
  |  Branch (10602:9): [True: 13.5k, False: 0]
  ------------------
10603|  13.5k|    }
10604|       |
10605|  61.6k|    Py_XDECREF(sep);
  ------------------
  |  |  621|  61.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  61.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10606|  61.6k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (10606:5): [True: 61.6k, False: 0]
  ------------------
10607|  61.6k|    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|  61.6k|}
_PyUnicode_FastFill:
10618|    547|{
10619|    547|    const int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|    547|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.09k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 547, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10620|    547|    void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|    547|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    547|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    547|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10621|    547|    assert(_PyUnicode_IsModifiable(unicode));
  ------------------
  |  Branch (10621:5): [True: 547, False: 0]
  ------------------
10622|    547|    assert(fill_char <= PyUnicode_MAX_CHAR_VALUE(unicode));
  ------------------
  |  Branch (10622:5): [True: 547, False: 0]
  ------------------
10623|    547|    assert(start >= 0);
  ------------------
  |  Branch (10623:5): [True: 547, False: 0]
  ------------------
10624|    547|    assert(start + length <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (10624:5): [True: 547, False: 0]
  ------------------
10625|    547|    _PyUnicode_Fill(kind, data, fill_char, start, length);
10626|    547|}
PyUnicode_Fill:
10631|    547|{
10632|    547|    Py_ssize_t maxlen;
10633|       |
10634|    547|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    547|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    547|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10634:9): [True: 0, False: 547]
  ------------------
10635|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
10636|      0|        return -1;
10637|      0|    }
10638|    547|    if (unicode_check_modifiable(unicode))
  ------------------
  |  Branch (10638:9): [True: 0, False: 547]
  ------------------
10639|      0|        return -1;
10640|       |
10641|    547|    if (start < 0) {
  ------------------
  |  Branch (10641:9): [True: 0, False: 547]
  ------------------
10642|      0|        PyErr_SetString(PyExc_IndexError, "string index out of range");
10643|      0|        return -1;
10644|      0|    }
10645|    547|    if (fill_char > PyUnicode_MAX_CHAR_VALUE(unicode)) {
  ------------------
  |  |  406|    547|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    547|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    547|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10645:9): [True: 0, False: 547]
  ------------------
10646|      0|        PyErr_SetString(PyExc_ValueError,
10647|      0|                         "fill character is bigger than "
10648|      0|                         "the string maximum character");
10649|      0|        return -1;
10650|      0|    }
10651|       |
10652|    547|    maxlen = PyUnicode_GET_LENGTH(unicode) - start;
  ------------------
  |  |  300|    547|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    547|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    547|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10653|    547|    length = Py_MIN(maxlen, length);
  ------------------
  |  |  127|    547|       __extension__ \
  |  |  128|    547|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|    547|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|    547|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|    547|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|    547|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 547]
  |  |  ------------------
  ------------------
10654|    547|    if (length <= 0)
  ------------------
  |  Branch (10654:9): [True: 0, False: 547]
  ------------------
10655|      0|        return 0;
10656|       |
10657|    547|    _PyUnicode_FastFill(unicode, start, length, fill_char);
10658|    547|    return length;
10659|    547|}
_PyUnicode_Equal:
11482|  3.74M|{
11483|  3.74M|    assert(PyUnicode_Check(str1));
  ------------------
  |  Branch (11483:5): [True: 3.74M, False: 0]
  ------------------
11484|  3.74M|    assert(PyUnicode_Check(str2));
  ------------------
  |  Branch (11484:5): [True: 3.74M, False: 0]
  ------------------
11485|  3.74M|    if (str1 == str2) {
  ------------------
  |  Branch (11485:9): [True: 65.2k, False: 3.67M]
  ------------------
11486|  65.2k|        return 1;
11487|  65.2k|    }
11488|  3.67M|    return unicode_eq(str1, str2);
11489|  3.74M|}
PyUnicode_Compare:
11512|  3.98k|{
11513|  3.98k|    if (PyUnicode_Check(left) && PyUnicode_Check(right)) {
  ------------------
  |  |  103|  3.98k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.97k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 3.98k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_Check(left) && PyUnicode_Check(right)) {
  ------------------
  |  |  103|  3.98k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.98k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 3.98k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11514|       |        /* a string is equal to itself */
11515|  3.98k|        if (left == right)
  ------------------
  |  Branch (11515:13): [True: 49, False: 3.93k]
  ------------------
11516|     49|            return 0;
11517|       |
11518|  3.93k|        return unicode_compare(left, right);
11519|  3.98k|    }
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|  3.98k|}
PyUnicode_CompareWithASCIIString:
11529|   869k|{
11530|   869k|    Py_ssize_t i;
11531|   869k|    int kind;
11532|   869k|    Py_UCS4 chr;
11533|       |
11534|   869k|    assert(_PyUnicode_CHECK(uni));
  ------------------
  |  Branch (11534:5): [True: 869k, False: 0]
  ------------------
11535|   869k|    kind = PyUnicode_KIND(uni);
  ------------------
  |  |  259|   869k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.73M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 869k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11536|   869k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (11536:9): [True: 866k, False: 2.82k]
  ------------------
11537|   866k|        const void *data = PyUnicode_1BYTE_DATA(uni);
  ------------------
  |  |  292|   866k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   866k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
11538|   866k|        size_t len1 = (size_t)PyUnicode_GET_LENGTH(uni);
  ------------------
  |  |  300|   866k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   866k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   866k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11539|   866k|        size_t len, len2 = strlen(str);
11540|   866k|        int cmp;
11541|       |
11542|   866k|        len = Py_MIN(len1, len2);
  ------------------
  |  |  127|   866k|       __extension__ \
  |  |  128|   866k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|   866k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|   866k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|   866k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|   866k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 23.2k, False: 843k]
  |  |  ------------------
  ------------------
11543|   866k|        cmp = memcmp(data, str, len);
11544|   866k|        if (cmp != 0) {
  ------------------
  |  Branch (11544:13): [True: 440k, False: 426k]
  ------------------
11545|   440k|            if (cmp < 0)
  ------------------
  |  Branch (11545:17): [True: 16.0k, False: 424k]
  ------------------
11546|  16.0k|                return -1;
11547|   424k|            else
11548|   424k|                return 1;
11549|   440k|        }
11550|   426k|        if (len1 > len2)
  ------------------
  |  Branch (11550:13): [True: 409, False: 425k]
  ------------------
11551|    409|            return 1; /* uni is longer */
11552|   425k|        if (len1 < len2)
  ------------------
  |  Branch (11552:13): [True: 5.55k, False: 420k]
  ------------------
11553|  5.55k|            return -1; /* str is longer */
11554|   420k|        return 0;
11555|   425k|    }
11556|  2.82k|    else {
11557|  2.82k|        const void *data = PyUnicode_DATA(uni);
  ------------------
  |  |  285|  2.82k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11558|       |        /* Compare Unicode string and source character set string */
11559|  6.63k|        for (i = 0; (chr = PyUnicode_READ(kind, data, i)) && str[i]; i++)
  ------------------
  |  |  355|  6.63k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  6.63k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  6.63k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  6.63k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  6.63k|                   (index))
  ------------------
  |  Branch (11559:21): [True: 6.63k, False: 0]
  |  Branch (11559:62): [True: 5.73k, False: 904]
  ------------------
11560|  5.73k|            if (chr != (unsigned char)str[i])
  ------------------
  |  Branch (11560:17): [True: 1.92k, False: 3.81k]
  ------------------
11561|  1.92k|                return (chr < (unsigned char)(str[i])) ? -1 : 1;
  ------------------
  |  Branch (11561:24): [True: 1.25k, False: 669]
  ------------------
11562|       |        /* This check keeps Python strings that end in '\0' from comparing equal
11563|       |         to C strings identical up to that point. */
11564|    904|        if (PyUnicode_GET_LENGTH(uni) != i || chr)
  ------------------
  |  |  300|    904|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    904|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    904|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11564:13): [True: 904, False: 0]
  |  Branch (11564:47): [True: 0, False: 0]
  ------------------
11565|    904|            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|   869k|}
PyUnicode_EqualToUTF8:
11574|      2|{
11575|      2|    return PyUnicode_EqualToUTF8AndSize(unicode, str, strlen(str));
11576|      2|}
PyUnicode_EqualToUTF8AndSize:
11580|      2|{
11581|      2|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (11581:5): [True: 2, False: 0]
  ------------------
11582|      2|    assert(str);
  ------------------
  |  Branch (11582:5): [True: 2, False: 0]
  ------------------
11583|       |
11584|      2|    if (PyUnicode_IS_ASCII(unicode)) {
  ------------------
  |  |  228|      2|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 2, False: 0]
  |  |  ------------------
  ------------------
11585|      2|        Py_ssize_t len = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|      2|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11586|      2|        return size == len &&
  ------------------
  |  Branch (11586:16): [True: 0, False: 2]
  ------------------
11587|      0|            memcmp(PyUnicode_1BYTE_DATA(unicode), str, len) == 0;
  ------------------
  |  |  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))
  |  |  ------------------
  ------------------
  |  Branch (11587:13): [True: 0, False: 0]
  ------------------
11588|      2|    }
11589|      0|    if (PyUnicode_UTF8(unicode) != NULL) {
  ------------------
  |  Branch (11589:9): [True: 0, False: 0]
  ------------------
11590|      0|        Py_ssize_t len = PyUnicode_UTF8_LENGTH(unicode);
11591|      0|        return size == len &&
  ------------------
  |  Branch (11591:16): [True: 0, False: 0]
  ------------------
11592|      0|            memcmp(PyUnicode_UTF8(unicode), str, len) == 0;
  ------------------
  |  Branch (11592:13): [True: 0, False: 0]
  ------------------
11593|      0|    }
11594|       |
11595|      0|    Py_ssize_t len = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11596|      0|    if ((size_t)len >= (size_t)size || (size_t)len < (size_t)size / 4) {
  ------------------
  |  Branch (11596:9): [True: 0, False: 0]
  |  Branch (11596:40): [True: 0, False: 0]
  ------------------
11597|      0|        return 0;
11598|      0|    }
11599|      0|    const unsigned char *s = (const unsigned char *)str;
11600|      0|    const unsigned char *ends = s + (size_t)size;
11601|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11602|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11603|       |    /* Compare Unicode string and UTF-8 string */
11604|      0|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (11604:28): [True: 0, False: 0]
  ------------------
11605|      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))
  ------------------
11606|      0|        if (ch < 0x80) {
  ------------------
  |  Branch (11606:13): [True: 0, False: 0]
  ------------------
11607|      0|            if (ends == s || s[0] != ch) {
  ------------------
  |  Branch (11607:17): [True: 0, False: 0]
  |  Branch (11607:30): [True: 0, False: 0]
  ------------------
11608|      0|                return 0;
11609|      0|            }
11610|      0|            s += 1;
11611|      0|        }
11612|      0|        else if (ch < 0x800) {
  ------------------
  |  Branch (11612:18): [True: 0, False: 0]
  ------------------
11613|      0|            if ((ends - s) < 2 ||
  ------------------
  |  Branch (11613:17): [True: 0, False: 0]
  ------------------
11614|      0|                s[0] != (0xc0 | (ch >> 6)) ||
  ------------------
  |  Branch (11614:17): [True: 0, False: 0]
  ------------------
11615|      0|                s[1] != (0x80 | (ch & 0x3f)))
  ------------------
  |  Branch (11615:17): [True: 0, False: 0]
  ------------------
11616|      0|            {
11617|      0|                return 0;
11618|      0|            }
11619|      0|            s += 2;
11620|      0|        }
11621|      0|        else if (ch < 0x10000) {
  ------------------
  |  Branch (11621:18): [True: 0, False: 0]
  ------------------
11622|      0|            if (Py_UNICODE_IS_SURROGATE(ch) ||
  ------------------
  |  Branch (11622:17): [True: 0, False: 0]
  ------------------
11623|      0|                (ends - s) < 3 ||
  ------------------
  |  Branch (11623:17): [True: 0, False: 0]
  ------------------
11624|      0|                s[0] != (0xe0 | (ch >> 12)) ||
  ------------------
  |  Branch (11624:17): [True: 0, False: 0]
  ------------------
11625|      0|                s[1] != (0x80 | ((ch >> 6) & 0x3f)) ||
  ------------------
  |  Branch (11625:17): [True: 0, False: 0]
  ------------------
11626|      0|                s[2] != (0x80 | (ch & 0x3f)))
  ------------------
  |  Branch (11626:17): [True: 0, False: 0]
  ------------------
11627|      0|            {
11628|      0|                return 0;
11629|      0|            }
11630|      0|            s += 3;
11631|      0|        }
11632|      0|        else {
11633|      0|            assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (11633:13): [True: 0, False: 0]
  ------------------
11634|      0|            if ((ends - s) < 4 ||
  ------------------
  |  Branch (11634:17): [True: 0, False: 0]
  ------------------
11635|      0|                s[0] != (0xf0 | (ch >> 18)) ||
  ------------------
  |  Branch (11635:17): [True: 0, False: 0]
  ------------------
11636|      0|                s[1] != (0x80 | ((ch >> 12) & 0x3f)) ||
  ------------------
  |  Branch (11636:17): [True: 0, False: 0]
  ------------------
11637|      0|                s[2] != (0x80 | ((ch >> 6) & 0x3f)) ||
  ------------------
  |  Branch (11637:17): [True: 0, False: 0]
  ------------------
11638|      0|                s[3] != (0x80 | (ch & 0x3f)))
  ------------------
  |  Branch (11638:17): [True: 0, False: 0]
  ------------------
11639|      0|            {
11640|      0|                return 0;
11641|      0|            }
11642|      0|            s += 4;
11643|      0|        }
11644|      0|    }
11645|      0|    return s == ends;
11646|      0|}
_PyUnicode_EqualToASCIIString:
11650|  3.22M|{
11651|  3.22M|    size_t len;
11652|  3.22M|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (11652:5): [True: 3.22M, False: 0]
  ------------------
11653|  3.22M|    assert(str);
  ------------------
  |  Branch (11653:5): [True: 3.22M, False: 0]
  ------------------
11654|  3.22M|#ifndef NDEBUG
11655|  20.3M|    for (const char *p = str; *p; p++) {
  ------------------
  |  Branch (11655:31): [True: 17.1M, False: 3.22M]
  ------------------
11656|  17.1M|        assert((unsigned char)*p < 128);
  ------------------
  |  Branch (11656:9): [True: 17.1M, False: 0]
  ------------------
11657|  17.1M|    }
11658|  3.22M|#endif
11659|  3.22M|    if (!PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  228|  3.22M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.22M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.22M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11659:9): [True: 189k, False: 3.03M]
  ------------------
11660|   189k|        return 0;
11661|  3.03M|    len = (size_t)PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|  3.03M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11662|  3.03M|    return strlen(str) == len &&
  ------------------
  |  Branch (11662:12): [True: 207k, False: 2.82M]
  ------------------
11663|   207k|           memcmp(PyUnicode_1BYTE_DATA(unicode), str, len) == 0;
  ------------------
  |  |  292|   207k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   207k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (11663:12): [True: 56.3k, False: 151k]
  ------------------
11664|  3.22M|}
PyUnicode_RichCompare:
11668|  4.02M|{
11669|  4.02M|    int result;
11670|       |
11671|  4.02M|    if (!PyUnicode_Check(left) || !PyUnicode_Check(right))
  ------------------
  |  |  103|  4.02M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.05M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyUnicode_Check(left) || !PyUnicode_Check(right))
  ------------------
  |  |  103|  4.02M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.02M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11671:9): [True: 0, False: 4.02M]
  |  Branch (11671:35): [True: 4.99k, False: 4.02M]
  ------------------
11672|  4.99k|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|  4.99k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|  4.99k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
11673|       |
11674|  4.02M|    if (left == right) {
  ------------------
  |  Branch (11674:9): [True: 36, False: 4.02M]
  ------------------
11675|     36|        switch (op) {
11676|     25|        case Py_EQ:
  ------------------
  |  |  654|     25|#define Py_EQ 2
  ------------------
  |  Branch (11676:9): [True: 25, False: 11]
  ------------------
11677|     25|        case Py_LE:
  ------------------
  |  |  653|     25|#define Py_LE 1
  ------------------
  |  Branch (11677:9): [True: 0, False: 36]
  ------------------
11678|     25|        case Py_GE:
  ------------------
  |  |  657|     25|#define Py_GE 5
  ------------------
  |  Branch (11678:9): [True: 0, False: 36]
  ------------------
11679|       |            /* a string is equal to itself */
11680|     25|            Py_RETURN_TRUE;
  ------------------
  |  |   44|     25|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|     25|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11681|     11|        case Py_NE:
  ------------------
  |  |  655|     11|#define Py_NE 3
  ------------------
  |  Branch (11681:9): [True: 11, False: 25]
  ------------------
11682|     11|        case Py_LT:
  ------------------
  |  |  652|     11|#define Py_LT 0
  ------------------
  |  Branch (11682:9): [True: 0, False: 36]
  ------------------
11683|     11|        case Py_GT:
  ------------------
  |  |  656|     11|#define Py_GT 4
  ------------------
  |  Branch (11683:9): [True: 0, False: 36]
  ------------------
11684|     11|            Py_RETURN_FALSE;
  ------------------
  |  |   45|     11|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     11|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11685|      0|        default:
  ------------------
  |  Branch (11685:9): [True: 0, False: 36]
  ------------------
11686|      0|            PyErr_BadArgument();
11687|      0|            return NULL;
11688|     36|        }
11689|     36|    }
11690|  4.02M|    else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  654|  8.04M|#define Py_EQ 2
  ------------------
                  else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  655|  3.59M|#define Py_NE 3
  ------------------
  |  Branch (11690:14): [True: 424k, False: 3.59M]
  |  Branch (11690:29): [True: 19, False: 3.59M]
  ------------------
11691|   424k|        result = unicode_eq(left, right);
11692|   424k|        result ^= (op == Py_NE);
  ------------------
  |  |  655|   424k|#define Py_NE 3
  ------------------
11693|   424k|        return PyBool_FromLong(result);
11694|   424k|    }
11695|  3.59M|    else {
11696|  3.59M|        result = unicode_compare(left, right);
11697|  3.59M|        Py_RETURN_RICHCOMPARE(result, 0, op);
  ------------------
  |  |  674|  3.59M|    do {                                                                    \
  |  |  675|  3.59M|        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: 3.59M]
  |  |  |  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: 3.59M]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|  3.59M|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|  3.59M|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|  1.68M|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  1.68M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|  1.91M|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|  1.91M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.91M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.91M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 3.59M, False: 0]
  |  |  |  Branch (678:25): [True: 1.68M, False: 1.91M]
  |  |  ------------------
  |  |  679|  3.59M|        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: 3.59M]
  |  |  |  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: 3.59M]
  |  |  |  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: 3.59M]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 3.59M]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|  3.59M|        }                                                                   \
  |  |  685|  3.59M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
11698|  3.59M|    }
11699|  4.02M|}
PyUnicode_Contains:
11703|  1.03k|{
11704|  1.03k|    int kind1, kind2;
11705|  1.03k|    const void *buf1, *buf2;
11706|  1.03k|    Py_ssize_t len1, len2;
11707|  1.03k|    int result;
11708|       |
11709|  1.03k|    if (!PyUnicode_Check(substr)) {
  ------------------
  |  |  103|  1.03k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.03k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11709:9): [True: 0, False: 1.03k]
  ------------------
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|  1.03k|    if (ensure_unicode(str) < 0)
  ------------------
  |  |  109|  1.03k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (11715:9): [True: 0, False: 1.03k]
  ------------------
11716|      0|        return -1;
11717|       |
11718|  1.03k|    kind1 = PyUnicode_KIND(str);
  ------------------
  |  |  259|  1.03k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  2.06k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.03k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11719|  1.03k|    kind2 = PyUnicode_KIND(substr);
  ------------------
  |  |  259|  1.03k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  2.06k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.03k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11720|  1.03k|    if (kind1 < kind2)
  ------------------
  |  Branch (11720:9): [True: 3, False: 1.02k]
  ------------------
11721|      3|        return 0;
11722|  1.02k|    len1 = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  300|  1.02k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11723|  1.02k|    len2 = PyUnicode_GET_LENGTH(substr);
  ------------------
  |  |  300|  1.02k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11724|  1.02k|    if (len1 < len2)
  ------------------
  |  Branch (11724:9): [True: 4, False: 1.02k]
  ------------------
11725|      4|        return 0;
11726|  1.02k|    buf1 = PyUnicode_DATA(str);
  ------------------
  |  |  285|  1.02k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11727|  1.02k|    buf2 = PyUnicode_DATA(substr);
  ------------------
  |  |  285|  1.02k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11728|  1.02k|    if (len2 == 1) {
  ------------------
  |  Branch (11728:9): [True: 1.00k, False: 23]
  ------------------
11729|  1.00k|        Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  355|  1.00k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  1.00k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  1.00k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.00k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  1.00k|                   (index))
  ------------------
11730|  1.00k|        result = findchar((const char *)buf1, kind1, len1, ch, 1) != -1;
11731|  1.00k|        return result;
11732|  1.00k|    }
11733|     23|    if (kind2 != kind1) {
  ------------------
  |  Branch (11733:9): [True: 0, False: 23]
  ------------------
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|     23|    switch (kind1) {
11740|     23|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11740:5): [True: 23, False: 0]
  ------------------
11741|     23|        result = ucs1lib_find(buf1, len1, buf2, len2, 0) != -1;
11742|     23|        break;
11743|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11743:5): [True: 0, False: 23]
  ------------------
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: 23]
  ------------------
11747|      0|        result = ucs4lib_find(buf1, len1, buf2, len2, 0) != -1;
11748|      0|        break;
11749|      0|    default:
  ------------------
  |  Branch (11749:5): [True: 0, False: 23]
  ------------------
11750|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11751|     23|    }
11752|       |
11753|     23|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(substr)));
  ------------------
  |  Branch (11753:5): [True: 23, False: 0]
  ------------------
11754|     23|    if (kind2 != kind1)
  ------------------
  |  Branch (11754:9): [True: 0, False: 23]
  ------------------
11755|      0|        PyMem_Free((void *)buf2);
11756|       |
11757|     23|    return result;
11758|     23|}
PyUnicode_Concat:
11764|   417k|{
11765|   417k|    PyObject *result;
11766|   417k|    Py_UCS4 maxchar, maxchar2;
11767|   417k|    Py_ssize_t left_len, right_len, new_len;
11768|       |
11769|   417k|    if (ensure_unicode(left) < 0)
  ------------------
  |  |  109|   417k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (11769:9): [True: 0, False: 417k]
  ------------------
11770|      0|        return NULL;
11771|       |
11772|   417k|    if (!PyUnicode_Check(right)) {
  ------------------
  |  |  103|   417k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   417k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11772:9): [True: 508, False: 417k]
  ------------------
11773|    508|        PyErr_Format(PyExc_TypeError,
11774|    508|            "can only concatenate str (not \"%.200s\") to str",
11775|    508|            Py_TYPE(right)->tp_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11776|    508|        return NULL;
11777|    508|    }
11778|       |
11779|       |    /* Shortcuts */
11780|   417k|    PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
11781|   417k|    if (left == empty) {
  ------------------
  |  Branch (11781:9): [True: 35.7k, False: 381k]
  ------------------
11782|  35.7k|        return PyUnicode_FromObject(right);
11783|  35.7k|    }
11784|   381k|    if (right == empty) {
  ------------------
  |  Branch (11784:9): [True: 44.1k, False: 337k]
  ------------------
11785|  44.1k|        return PyUnicode_FromObject(left);
11786|  44.1k|    }
11787|       |
11788|   337k|    left_len = PyUnicode_GET_LENGTH(left);
  ------------------
  |  |  300|   337k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   337k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   337k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11789|   337k|    right_len = PyUnicode_GET_LENGTH(right);
  ------------------
  |  |  300|   337k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   337k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   337k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11790|   337k|    if (left_len > PY_SSIZE_T_MAX - right_len) {
  ------------------
  |  |  137|   337k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11790:9): [True: 0, False: 337k]
  ------------------
11791|      0|        PyErr_SetString(PyExc_OverflowError,
11792|      0|                        "strings are too large to concat");
11793|      0|        return NULL;
11794|      0|    }
11795|   337k|    new_len = left_len + right_len;
11796|       |
11797|   337k|    maxchar = PyUnicode_MAX_CHAR_VALUE(left);
  ------------------
  |  |  406|   337k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   337k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   337k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11798|   337k|    maxchar2 = PyUnicode_MAX_CHAR_VALUE(right);
  ------------------
  |  |  406|   337k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   337k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   337k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11799|   337k|    maxchar = Py_MAX(maxchar, maxchar2);
  ------------------
  |  |  133|   337k|       __extension__ \
  |  |  134|   337k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|   337k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|   337k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|   337k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|   337k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 18.6k, False: 318k]
  |  |  ------------------
  ------------------
11800|       |
11801|       |    /* Concat the two Unicode strings */
11802|   337k|    result = PyUnicode_New(new_len, maxchar);
11803|   337k|    if (result == NULL)
  ------------------
  |  Branch (11803:9): [True: 0, False: 337k]
  ------------------
11804|      0|        return NULL;
11805|   337k|    _PyUnicode_FastCopyCharacters(result, 0, left, 0, left_len);
11806|   337k|    _PyUnicode_FastCopyCharacters(result, left_len, right, 0, right_len);
11807|   337k|    assert(_PyUnicode_CheckConsistency(result, 1));
  ------------------
  |  Branch (11807:5): [True: 337k, False: 0]
  ------------------
11808|   337k|    return result;
11809|   337k|}
PyUnicode_Append:
11813|  25.9k|{
11814|  25.9k|    PyObject *left, *res;
11815|  25.9k|    Py_UCS4 maxchar, maxchar2;
11816|  25.9k|    Py_ssize_t left_len, right_len, new_len;
11817|       |
11818|  25.9k|    if (p_left == NULL) {
  ------------------
  |  Branch (11818:9): [True: 0, False: 25.9k]
  ------------------
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|  25.9k|    left = *p_left;
11824|  25.9k|    if (right == NULL || left == NULL
  ------------------
  |  Branch (11824:9): [True: 0, False: 25.9k]
  |  Branch (11824:26): [True: 0, False: 25.9k]
  ------------------
11825|  25.9k|        || !PyUnicode_Check(left) || !PyUnicode_Check(right)) {
  ------------------
  |  |  103|  25.9k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  51.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      || !PyUnicode_Check(left) || !PyUnicode_Check(right)) {
  ------------------
  |  |  103|  25.9k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  25.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11825:12): [True: 0, False: 25.9k]
  |  Branch (11825:38): [True: 0, False: 25.9k]
  ------------------
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|  25.9k|    PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
11833|  25.9k|    if (left == empty) {
  ------------------
  |  Branch (11833:9): [True: 16, False: 25.9k]
  ------------------
11834|     16|        Py_DECREF(left);
  ------------------
  |  |  430|     16|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11835|     16|        *p_left = Py_NewRef(right);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11836|     16|        return;
11837|     16|    }
11838|  25.9k|    if (right == empty) {
  ------------------
  |  Branch (11838:9): [True: 0, False: 25.9k]
  ------------------
11839|      0|        return;
11840|      0|    }
11841|       |
11842|  25.9k|    left_len = PyUnicode_GET_LENGTH(left);
  ------------------
  |  |  300|  25.9k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11843|  25.9k|    right_len = PyUnicode_GET_LENGTH(right);
  ------------------
  |  |  300|  25.9k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11844|  25.9k|    if (left_len > PY_SSIZE_T_MAX - right_len) {
  ------------------
  |  |  137|  25.9k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11844:9): [True: 0, False: 25.9k]
  ------------------
11845|      0|        PyErr_SetString(PyExc_OverflowError,
11846|      0|                        "strings are too large to concat");
11847|      0|        goto error;
11848|      0|    }
11849|  25.9k|    new_len = left_len + right_len;
11850|       |
11851|  25.9k|    if (_PyUnicode_IsModifiable(left)
  ------------------
  |  Branch (11851:9): [True: 25.8k, False: 62]
  ------------------
11852|  25.9k|        && PyUnicode_CheckExact(right)
  ------------------
  |  |  104|  25.8k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  51.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  25.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  25.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 25.8k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11853|  51.7k|        && PyUnicode_KIND(right) <= PyUnicode_KIND(left)
  ------------------
  |  |  259|  25.8k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  51.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 25.8k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      && PyUnicode_KIND(right) <= PyUnicode_KIND(left)
  ------------------
  |  |  259|  25.8k|#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.8k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11853:12): [True: 25.7k, False: 156]
  ------------------
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|  25.7k|        && !(PyUnicode_IS_ASCII(left) && !PyUnicode_IS_ASCII(right)))
  ------------------
  |  |  228|  51.4k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 20.8k, False: 4.87k]
  |  |  ------------------
  ------------------
                      && !(PyUnicode_IS_ASCII(left) && !PyUnicode_IS_ASCII(right)))
  ------------------
  |  |  228|  20.8k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11858:42): [True: 762, False: 20.0k]
  ------------------
11859|  24.9k|    {
11860|       |        /* append inplace */
11861|  24.9k|        if (unicode_resize(p_left, new_len) != 0)
  ------------------
  |  Branch (11861:13): [True: 0, False: 24.9k]
  ------------------
11862|      0|            goto error;
11863|       |
11864|       |        /* copy 'right' into the newly allocated area of 'left' */
11865|  24.9k|        _PyUnicode_FastCopyCharacters(*p_left, left_len, right, 0, right_len);
11866|  24.9k|    }
11867|    980|    else {
11868|    980|        maxchar = PyUnicode_MAX_CHAR_VALUE(left);
  ------------------
  |  |  406|    980|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    980|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    980|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11869|    980|        maxchar2 = PyUnicode_MAX_CHAR_VALUE(right);
  ------------------
  |  |  406|    980|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    980|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    980|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11870|    980|        maxchar = Py_MAX(maxchar, maxchar2);
  ------------------
  |  |  133|    980|       __extension__ \
  |  |  134|    980|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|    980|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|    980|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|    980|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|    980|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 980]
  |  |  ------------------
  ------------------
11871|       |
11872|       |        /* Concat the two Unicode strings */
11873|    980|        res = PyUnicode_New(new_len, maxchar);
11874|    980|        if (res == NULL)
  ------------------
  |  Branch (11874:13): [True: 0, False: 980]
  ------------------
11875|      0|            goto error;
11876|    980|        _PyUnicode_FastCopyCharacters(res, 0, left, 0, left_len);
11877|    980|        _PyUnicode_FastCopyCharacters(res, left_len, right, 0, right_len);
11878|    980|        Py_DECREF(left);
  ------------------
  |  |  430|    980|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    980|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    980|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11879|    980|        *p_left = res;
11880|    980|    }
11881|  25.9k|    assert(_PyUnicode_CheckConsistency(*p_left, 1));
  ------------------
  |  Branch (11881:5): [True: 25.9k, False: 0]
  ------------------
11882|  25.9k|    return;
11883|       |
11884|  25.9k|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|  62.8k|{
12566|  62.8k|    Py_ssize_t i;
12567|  62.8k|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|  62.8k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12568|  62.8k|    if (len == 0) {
  ------------------
  |  Branch (12568:9): [True: 0, False: 62.8k]
  ------------------
12569|       |        /* an empty string is not a valid identifier */
12570|      0|        return 0;
12571|      0|    }
12572|       |
12573|  62.8k|    int kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|  62.8k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   125k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 62.8k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12574|  62.8k|    const void *data = PyUnicode_DATA(self);
  ------------------
  |  |  285|  62.8k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12575|  62.8k|    Py_UCS4 ch = PyUnicode_READ(kind, data, 0);
  ------------------
  |  |  355|  62.8k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  62.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  62.8k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  62.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  62.8k|                   (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|  62.8k|    if (!_PyUnicode_IsXidStart(ch) && ch != 0x5F /* LOW LINE */) {
  ------------------
  |  Branch (12584:9): [True: 10.7k, False: 52.0k]
  |  Branch (12584:39): [True: 218, False: 10.5k]
  ------------------
12585|    218|        return 0;
12586|    218|    }
12587|       |
12588|   999k|    for (i = 1; i < len; i++) {
  ------------------
  |  Branch (12588:17): [True: 936k, False: 62.4k]
  ------------------
12589|   936k|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|   936k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   936k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   936k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   936k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   936k|                   (index))
  ------------------
12590|   936k|        if (!_PyUnicode_IsXidContinue(ch)) {
  ------------------
  |  Branch (12590:13): [True: 136, False: 936k]
  ------------------
12591|    136|            return i;
12592|    136|        }
12593|   936k|    }
12594|  62.4k|    return i;
12595|  62.6k|}
PyUnicode_IsIdentifier:
12599|     79|{
12600|     79|    Py_ssize_t i = _PyUnicode_ScanIdentifier(self);
12601|     79|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|     79|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12602|       |    /* an empty string is not a valid identifier */
12603|     79|    return len && i == len;
  ------------------
  |  Branch (12603:12): [True: 79, False: 0]
  |  Branch (12603:19): [True: 79, False: 0]
  ------------------
12604|     79|}
_PyUnicode_XStrip:
12734|  5.62k|{
12735|  5.62k|    const void *data;
12736|  5.62k|    int kind;
12737|  5.62k|    Py_ssize_t i, j, len;
12738|  5.62k|    BLOOM_MASK sepmask;
  ------------------
  |  |  906|  5.62k|#define BLOOM_MASK unsigned long
  ------------------
12739|  5.62k|    Py_ssize_t seplen;
12740|       |
12741|  5.62k|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|  5.62k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  11.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 5.62k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12742|  5.62k|    data = PyUnicode_DATA(self);
  ------------------
  |  |  285|  5.62k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12743|  5.62k|    len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|  5.62k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12744|  5.62k|    seplen = PyUnicode_GET_LENGTH(sepobj);
  ------------------
  |  |  300|  5.62k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12745|  5.62k|    sepmask = make_bloom_mask(PyUnicode_KIND(sepobj),
  ------------------
  |  |  259|  5.62k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  11.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 5.62k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12746|  5.62k|                              PyUnicode_DATA(sepobj),
  ------------------
  |  |  285|  5.62k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12747|  5.62k|                              seplen);
12748|       |
12749|      0|    i = 0;
12750|  5.62k|    if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12723|  5.62k|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12750:9): [True: 1, False: 5.62k]
  ------------------
12751|      2|        while (i < len) {
  ------------------
  |  Branch (12751:16): [True: 1, False: 1]
  ------------------
12752|      1|            Py_UCS4 ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|      1|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      1|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      1|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      1|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      1|                   (index))
  ------------------
12753|      1|            if (!BLOOM(sepmask, ch))
  ------------------
  |  |  910|      1|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  ------------------
  |  |  |  |  899|      1|#define BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (12753:17): [True: 0, False: 1]
  ------------------
12754|      0|                break;
12755|      1|            if (PyUnicode_FindChar(sepobj, ch, 0, seplen, 1) < 0)
  ------------------
  |  Branch (12755:17): [True: 0, False: 1]
  ------------------
12756|      0|                break;
12757|      1|            i++;
12758|      1|        }
12759|      1|    }
12760|       |
12761|  5.62k|    j = len;
12762|  5.62k|    if (striptype != LEFTSTRIP) {
  ------------------
  |  |12722|  5.62k|#define LEFTSTRIP 0
  ------------------
  |  Branch (12762:9): [True: 5.62k, False: 1]
  ------------------
12763|  5.62k|        j--;
12764|  5.62k|        while (j >= i) {
  ------------------
  |  Branch (12764:16): [True: 5.62k, False: 0]
  ------------------
12765|  5.62k|            Py_UCS4 ch = PyUnicode_READ(kind, data, j);
  ------------------
  |  |  355|  5.62k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  5.62k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  5.62k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  5.62k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  5.62k|                   (index))
  ------------------
12766|  5.62k|            if (!BLOOM(sepmask, ch))
  ------------------
  |  |  910|  5.62k|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  ------------------
  |  |  |  |  899|  5.62k|#define BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (12766:17): [True: 3.55k, False: 2.07k]
  ------------------
12767|  3.55k|                break;
12768|  2.07k|            if (PyUnicode_FindChar(sepobj, ch, 0, seplen, 1) < 0)
  ------------------
  |  Branch (12768:17): [True: 2.06k, False: 4]
  ------------------
12769|  2.06k|                break;
12770|      4|            j--;
12771|      4|        }
12772|       |
12773|  5.62k|        j++;
12774|  5.62k|    }
12775|       |
12776|  5.62k|    return PyUnicode_Substring(self, i, j);
12777|  5.62k|}
_PyUnicode_BinarySlice:
12781|   371k|{
12782|   371k|    assert(PyUnicode_CheckExact(container));
  ------------------
  |  Branch (12782:5): [True: 371k, False: 0]
  ------------------
12783|   371k|    Py_ssize_t len = PyUnicode_GET_LENGTH(container);
  ------------------
  |  |  300|   371k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   371k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   371k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12784|   371k|    Py_ssize_t istart, istop;
12785|   371k|    if (!_PyEval_UnpackIndices(start_o, stop_o, len, &istart, &istop)) {
  ------------------
  |  Branch (12785:9): [True: 0, False: 371k]
  ------------------
12786|      0|        return NULL;
12787|      0|    }
12788|   371k|    return PyUnicode_Substring(container, istart, istop);
12789|   371k|}
PyUnicode_Substring:
12793|   390k|{
12794|   390k|    const unsigned char *data;
12795|   390k|    int kind;
12796|   390k|    Py_ssize_t length;
12797|       |
12798|   390k|    length = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|   390k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   390k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   390k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12799|   390k|    end = Py_MIN(end, length);
  ------------------
  |  |  127|   390k|       __extension__ \
  |  |  128|   390k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|   390k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|   390k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|   390k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|   390k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 152k, False: 237k]
  |  |  ------------------
  ------------------
12800|       |
12801|   390k|    if (start == 0 && end == length)
  ------------------
  |  Branch (12801:9): [True: 236k, False: 153k]
  |  Branch (12801:23): [True: 86.6k, False: 149k]
  ------------------
12802|  86.6k|        return unicode_result_unchanged(self);
12803|       |
12804|   303k|    if (start < 0 || end < 0) {
  ------------------
  |  Branch (12804:9): [True: 0, False: 303k]
  |  Branch (12804:22): [True: 0, False: 303k]
  ------------------
12805|      0|        PyErr_SetString(PyExc_IndexError, "string index out of range");
12806|      0|        return NULL;
12807|      0|    }
12808|   303k|    if (start >= length || end < start)
  ------------------
  |  Branch (12808:9): [True: 31.4k, False: 272k]
  |  Branch (12808:28): [True: 0, False: 272k]
  ------------------
12809|  31.4k|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|  31.4k|    do {                             \
  |  |  366|  31.4k|        return _PyUnicode_GetEmpty();\
  |  |  367|  31.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
12810|       |
12811|   272k|    length = end - start;
12812|   272k|    if (PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  228|   272k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   272k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   272k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 11.5k, False: 260k]
  |  |  ------------------
  ------------------
12813|  11.5k|        data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  292|  11.5k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  11.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12814|  11.5k|        return _PyUnicode_FromASCII((const char*)(data + start), length);
12815|  11.5k|    }
12816|   260k|    else {
12817|   260k|        kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|   260k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   521k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 260k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12818|   260k|        data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  292|   260k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   260k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12819|   260k|        return PyUnicode_FromKindAndData(kind,
12820|   260k|                                         data + kind * start,
12821|   260k|                                         length);
12822|   260k|    }
12823|   272k|}
_PyUnicode_Repeat:
12966|  8.50k|{
12967|  8.50k|    PyObject *u;
12968|  8.50k|    Py_ssize_t nchars, n;
12969|       |
12970|  8.50k|    if (len < 1)
  ------------------
  |  Branch (12970:9): [True: 929, False: 7.57k]
  ------------------
12971|    929|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|    929|    do {                             \
  |  |  366|    929|        return _PyUnicode_GetEmpty();\
  |  |  367|    929|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
12972|       |
12973|       |    /* no repeat, return original string */
12974|  7.57k|    if (len == 1)
  ------------------
  |  Branch (12974:9): [True: 1.49k, False: 6.07k]
  ------------------
12975|  1.49k|        return unicode_result_unchanged(str);
12976|       |
12977|  6.07k|    if (PyUnicode_GET_LENGTH(str) > PY_SSIZE_T_MAX / len) {
  ------------------
  |  |  300|  6.07k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_GET_LENGTH(str) > PY_SSIZE_T_MAX / len) {
  ------------------
  |  |  137|  6.07k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (12977:9): [True: 0, False: 6.07k]
  ------------------
12978|      0|        PyErr_SetString(PyExc_OverflowError,
12979|      0|                        "repeated string is too long");
12980|      0|        return NULL;
12981|      0|    }
12982|  6.07k|    nchars = len * PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  300|  6.07k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12983|       |
12984|  6.07k|    u = PyUnicode_New(nchars, PyUnicode_MAX_CHAR_VALUE(str));
  ------------------
  |  |  406|  6.07k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12985|  6.07k|    if (!u)
  ------------------
  |  Branch (12985:9): [True: 0, False: 6.07k]
  ------------------
12986|      0|        return NULL;
12987|  6.07k|    assert(PyUnicode_KIND(u) == PyUnicode_KIND(str));
  ------------------
  |  Branch (12987:5): [True: 6.07k, False: 0]
  |  Branch (12987:5): [True: 6.07k, False: 0]
  |  Branch (12987:5): [True: 6.07k, False: 0]
  ------------------
12988|       |
12989|  6.07k|    if (PyUnicode_GET_LENGTH(str) == 1) {
  ------------------
  |  |  300|  6.07k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12989:9): [True: 2.17k, False: 3.89k]
  ------------------
12990|  2.17k|        int kind = PyUnicode_KIND(str);
  ------------------
  |  |  259|  2.17k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  4.35k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2.17k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12991|  2.17k|        Py_UCS4 fill_char = PyUnicode_READ(kind, PyUnicode_DATA(str), 0);
  ------------------
  |  |  355|  2.17k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  2.17k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  2.17k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  2.17k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  2.17k|                   (index))
  ------------------
12992|  2.17k|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (12992:13): [True: 2.11k, False: 65]
  ------------------
12993|  2.11k|            void *to = PyUnicode_DATA(u);
  ------------------
  |  |  285|  2.11k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12994|  2.11k|            memset(to, (unsigned char)fill_char, len);
12995|  2.11k|        }
12996|     65|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (12996:18): [True: 17, False: 48]
  ------------------
12997|     17|            Py_UCS2 *ucs2 = PyUnicode_2BYTE_DATA(u);
  ------------------
  |  |  293|     17|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     17|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12998|    326|            for (n = 0; n < len; ++n)
  ------------------
  |  Branch (12998:25): [True: 309, False: 17]
  ------------------
12999|    309|                ucs2[n] = fill_char;
13000|     48|        } else {
13001|     48|            Py_UCS4 *ucs4 = PyUnicode_4BYTE_DATA(u);
  ------------------
  |  |  294|     48|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13002|     48|            assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (13002:13): [True: 48, False: 0]
  ------------------
13003|  11.6k|            for (n = 0; n < len; ++n)
  ------------------
  |  Branch (13003:25): [True: 11.6k, False: 48]
  ------------------
13004|  11.6k|                ucs4[n] = fill_char;
13005|     48|        }
13006|  2.17k|    }
13007|  3.89k|    else {
13008|  3.89k|        Py_ssize_t char_size = PyUnicode_KIND(str);
  ------------------
  |  |  259|  3.89k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  7.79k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 3.89k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13009|  3.89k|        char *to = (char *) PyUnicode_DATA(u);
  ------------------
  |  |  285|  3.89k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13010|  3.89k|        _PyBytes_RepeatBuffer(to, nchars * char_size, PyUnicode_DATA(str),
  ------------------
  |  |  285|  3.89k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13011|  3.89k|            PyUnicode_GET_LENGTH(str) * char_size);
  ------------------
  |  |  300|  3.89k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13012|  3.89k|    }
13013|       |
13014|  6.07k|    assert(_PyUnicode_CheckConsistency(u, 1));
  ------------------
  |  Branch (13014:5): [True: 6.07k, False: 0]
  ------------------
13015|  6.07k|    return u;
13016|  6.07k|}
PyUnicode_Replace:
13023|  39.6k|{
13024|  39.6k|    if (ensure_unicode(str) < 0 || ensure_unicode(substr) < 0 ||
  ------------------
  |  |  109|  39.6k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
                  if (ensure_unicode(str) < 0 || ensure_unicode(substr) < 0 ||
  ------------------
  |  |  109|  39.6k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (13024:9): [True: 0, False: 39.6k]
  |  Branch (13024:36): [True: 0, False: 39.6k]
  ------------------
13025|  39.6k|            ensure_unicode(replstr) < 0)
  ------------------
  |  |  109|  39.6k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (13025:13): [True: 0, False: 39.6k]
  ------------------
13026|      0|        return NULL;
13027|  39.6k|    return replace(str, substr, replstr, maxcount);
13028|  39.6k|}
PyUnicode_RPartition:
13373|  1.68k|{
13374|  1.68k|    PyObject* out;
13375|  1.68k|    int kind1, kind2;
13376|  1.68k|    const void *buf1, *buf2;
13377|  1.68k|    Py_ssize_t len1, len2;
13378|       |
13379|  1.68k|    if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  109|  1.68k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
                  if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  109|  1.68k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (13379:9): [True: 0, False: 1.68k]
  |  Branch (13379:40): [True: 0, False: 1.68k]
  ------------------
13380|      0|        return NULL;
13381|       |
13382|  1.68k|    kind1 = PyUnicode_KIND(str_obj);
  ------------------
  |  |  259|  1.68k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  3.37k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.68k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13383|  1.68k|    kind2 = PyUnicode_KIND(sep_obj);
  ------------------
  |  |  259|  1.68k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  3.37k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.68k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13384|  1.68k|    len1 = PyUnicode_GET_LENGTH(str_obj);
  ------------------
  |  |  300|  1.68k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13385|  1.68k|    len2 = PyUnicode_GET_LENGTH(sep_obj);
  ------------------
  |  |  300|  1.68k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13386|  1.68k|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (13386:9): [True: 0, False: 1.68k]
  |  Branch (13386:26): [True: 0, False: 1.68k]
  ------------------
13387|      0|        PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
13388|      0|        return PyTuple_Pack(3, empty, empty, str_obj);
13389|      0|    }
13390|  1.68k|    buf1 = PyUnicode_DATA(str_obj);
  ------------------
  |  |  285|  1.68k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13391|  1.68k|    buf2 = PyUnicode_DATA(sep_obj);
  ------------------
  |  |  285|  1.68k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13392|  1.68k|    if (kind2 != kind1) {
  ------------------
  |  Branch (13392:9): [True: 0, False: 1.68k]
  ------------------
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|  1.68k|    switch (kind1) {
13399|  1.68k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (13399:5): [True: 1.68k, False: 0]
  ------------------
13400|  1.68k|        if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  228|  3.37k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 1.68k, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  228|  1.68k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 1.68k, False: 0]
  |  |  ------------------
  ------------------
13401|  1.68k|            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|  1.68k|        break;
13405|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (13405:5): [True: 0, False: 1.68k]
  ------------------
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: 1.68k]
  ------------------
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: 1.68k]
  ------------------
13412|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
13413|  1.68k|    }
13414|       |
13415|  1.68k|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(sep_obj)));
  ------------------
  |  Branch (13415:5): [True: 1.68k, False: 0]
  ------------------
13416|  1.68k|    if (kind2 != kind1)
  ------------------
  |  Branch (13416:9): [True: 0, False: 1.68k]
  ------------------
13417|      0|        PyMem_Free((void *)buf2);
13418|       |
13419|  1.68k|    return out;
13420|  1.68k|}
_PyUnicode_ExactDealloc:
14471|  1.30M|{
14472|  1.30M|    assert(PyUnicode_CheckExact(op));
  ------------------
  |  Branch (14472:5): [True: 1.30M, False: 0]
  ------------------
14473|  1.30M|    unicode_dealloc(op);
14474|  1.30M|}
_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|   969k|{
14878|   969k|    *p = intern_common(interp, *p, 1);
14879|       |    assert(*p);
  ------------------
  |  Branch (14879:5): [True: 969k, False: 0]
  ------------------
14880|   969k|}
_PyUnicode_InternMortal:
14884|  2.46M|{
14885|  2.46M|    *p = intern_common(interp, *p, 0);
14886|       |    assert(*p);
  ------------------
  |  Branch (14886:5): [True: 2.46M, False: 0]
  ------------------
14887|  2.46M|}
PyUnicode_InternFromString:
14915|  18.4k|{
14916|  18.4k|    PyObject *s = PyUnicode_FromString(cp);
14917|  18.4k|    if (s == NULL) {
  ------------------
  |  Branch (14917:9): [True: 0, False: 18.4k]
  ------------------
14918|      0|        return NULL;
14919|      0|    }
14920|  18.4k|    PyInterpreterState *interp = _PyInterpreterState_GET();
14921|  18.4k|    _PyUnicode_InternMortal(interp, &s);
14922|  18.4k|    return s;
14923|  18.4k|}
_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|   256k|{
  203|   256k|    return _Py_INTERP_CACHED_OBJECT(interp, interned_strings);
  ------------------
  |  |   22|   256k|    (interp)->cached_objects.NAME
  ------------------
  204|   256k|}
unicodeobject.c:PyUnicode_SET_UTF8_LENGTH:
  145|  12.1k|{
  146|  12.1k|    _PyCompactUnicodeObject_CAST(op)->utf8_length = length;
  ------------------
  |  |  189|  12.1k|    (assert(!(_PyASCIIObject_CAST(op)->state.ascii \
  |  |  190|  12.1k|              && _PyASCIIObject_CAST(op)->state.compact)), \
  |  |  191|  12.1k|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (146:5): [True: 12.1k, False: 0]
  |  Branch (146:5): [True: 14, False: 0]
  |  Branch (146:5): [True: 14, False: 12.1k]
  |  Branch (146:5): [True: 0, False: 14]
  ------------------
  147|  12.1k|}
unicodeobject.c:PyUnicode_SET_UTF8:
  129|  12.1k|{
  130|  12.1k|    FT_ATOMIC_STORE_PTR_RELEASE(_PyCompactUnicodeObject_CAST(op)->utf8, utf8);
  ------------------
  |  |  166|  72.8k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (166:55): [True: 12.1k, False: 0]
  |  |  |  Branch (166:55): [True: 14, False: 0]
  |  |  |  Branch (166:55): [True: 14, False: 12.1k]
  |  |  |  Branch (166:55): [True: 0, False: 14]
  |  |  ------------------
  ------------------
  131|  12.1k|}
unicodeobject.c:_copy_characters:
 1381|  1.28M|{
 1382|  1.28M|    int from_kind, to_kind;
 1383|  1.28M|    const void *from_data;
 1384|  1.28M|    void *to_data;
 1385|       |
 1386|  1.28M|    assert(0 <= how_many);
  ------------------
  |  Branch (1386:5): [True: 1.28M, False: 0]
  ------------------
 1387|  1.28M|    assert(0 <= from_start);
  ------------------
  |  Branch (1387:5): [True: 1.28M, False: 0]
  ------------------
 1388|  1.28M|    assert(0 <= to_start);
  ------------------
  |  Branch (1388:5): [True: 1.28M, False: 0]
  ------------------
 1389|  1.28M|    assert(PyUnicode_Check(from));
  ------------------
  |  Branch (1389:5): [True: 1.28M, False: 0]
  ------------------
 1390|  1.28M|    assert(from_start + how_many <= PyUnicode_GET_LENGTH(from));
  ------------------
  |  Branch (1390:5): [True: 1.28M, False: 0]
  ------------------
 1391|       |
 1392|  1.28M|    assert(to == NULL || PyUnicode_Check(to));
  ------------------
  |  Branch (1392:5): [True: 0, False: 1.28M]
  |  Branch (1392:5): [True: 1.28M, False: 0]
  ------------------
 1393|       |
 1394|  1.28M|    if (how_many == 0) {
  ------------------
  |  Branch (1394:9): [True: 9.59k, False: 1.27M]
  ------------------
 1395|  9.59k|        return 0;
 1396|  9.59k|    }
 1397|       |
 1398|  1.28M|    assert(to != NULL);
  ------------------
  |  Branch (1398:5): [True: 1.27M, False: 0]
  ------------------
 1399|  1.27M|    assert(to_start + how_many <= PyUnicode_GET_LENGTH(to));
  ------------------
  |  Branch (1399:5): [True: 1.27M, False: 0]
  ------------------
 1400|       |
 1401|  1.27M|    from_kind = PyUnicode_KIND(from);
  ------------------
  |  |  259|  1.27M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  2.55M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.27M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1402|  1.27M|    from_data = PyUnicode_DATA(from);
  ------------------
  |  |  285|  1.27M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.27M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1403|  1.27M|    to_kind = PyUnicode_KIND(to);
  ------------------
  |  |  259|  1.27M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  2.55M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.27M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1404|  1.27M|    to_data = PyUnicode_DATA(to);
  ------------------
  |  |  285|  1.27M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.27M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27M|#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|  1.27M|    if (from_kind == to_kind) {
  ------------------
  |  Branch (1420:9): [True: 1.08M, False: 186k]
  ------------------
 1421|  1.08M|        if (check_maxchar
  ------------------
  |  Branch (1421:13): [True: 0, False: 1.08M]
  ------------------
 1422|      0|            && !PyUnicode_IS_ASCII(from) && PyUnicode_IS_ASCII(to))
  ------------------
  |  |  228|  1.08M|#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|  1.08M|        memcpy((char*)to_data + to_kind * to_start,
 1433|  1.08M|                  (const char*)from_data + from_kind * from_start,
 1434|  1.08M|                  to_kind * how_many);
 1435|  1.08M|    }
 1436|   186k|    else if (from_kind == PyUnicode_1BYTE_KIND
  ------------------
  |  Branch (1436:14): [True: 176k, False: 10.0k]
  ------------------
 1437|   176k|             && to_kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1437:17): [True: 126k, False: 49.5k]
  ------------------
 1438|   126k|    {
 1439|   126k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|   126k|    do {                                                \
  |  |   48|   126k|        to_type *_to = (to_type *)(to);                 \
  |  |   49|   126k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|   126k|        const from_type *_end = (const from_type *)(end);\
  |  |   51|   126k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|   126k|        const from_type *_unrolled_end =                \
  |  |   53|   126k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|   126k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|   523k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 396k, False: 126k]
  |  |  ------------------
  |  |   55|   396k|            _to[0] = (to_type) _iter[0];                \
  |  |   56|   396k|            _to[1] = (to_type) _iter[1];                \
  |  |   57|   396k|            _to[2] = (to_type) _iter[2];                \
  |  |   58|   396k|            _to[3] = (to_type) _iter[3];                \
  |  |   59|   396k|            _iter += 4; _to += 4;                       \
  |  |   60|   396k|        }                                               \
  |  |   61|   281k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 154k, False: 126k]
  |  |  ------------------
  |  |   62|   154k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|   126k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 126k]
  |  |  ------------------
  ------------------
 1440|   126k|            Py_UCS1, Py_UCS2,
 1441|   126k|            PyUnicode_1BYTE_DATA(from) + from_start,
 1442|   126k|            PyUnicode_1BYTE_DATA(from) + from_start + how_many,
 1443|   126k|            PyUnicode_2BYTE_DATA(to) + to_start
 1444|   126k|            );
 1445|   126k|    }
 1446|  59.6k|    else if (from_kind == PyUnicode_1BYTE_KIND
  ------------------
  |  Branch (1446:14): [True: 49.5k, False: 10.0k]
  ------------------
 1447|  49.5k|             && to_kind == PyUnicode_4BYTE_KIND)
  ------------------
  |  Branch (1447:17): [True: 49.5k, False: 0]
  ------------------
 1448|  49.5k|    {
 1449|  49.5k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|  49.5k|    do {                                                \
  |  |   48|  49.5k|        to_type *_to = (to_type *)(to);                 \
  |  |   49|  49.5k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|  49.5k|        const from_type *_end = (const from_type *)(end);\
  |  |   51|  49.5k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|  49.5k|        const from_type *_unrolled_end =                \
  |  |   53|  49.5k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|  49.5k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|   159k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 109k, False: 49.5k]
  |  |  ------------------
  |  |   55|   109k|            _to[0] = (to_type) _iter[0];                \
  |  |   56|   109k|            _to[1] = (to_type) _iter[1];                \
  |  |   57|   109k|            _to[2] = (to_type) _iter[2];                \
  |  |   58|   109k|            _to[3] = (to_type) _iter[3];                \
  |  |   59|   109k|            _iter += 4; _to += 4;                       \
  |  |   60|   109k|        }                                               \
  |  |   61|   110k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 60.8k, False: 49.5k]
  |  |  ------------------
  |  |   62|  60.8k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|  49.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 49.5k]
  |  |  ------------------
  ------------------
 1450|  49.5k|            Py_UCS1, Py_UCS4,
 1451|  49.5k|            PyUnicode_1BYTE_DATA(from) + from_start,
 1452|  49.5k|            PyUnicode_1BYTE_DATA(from) + from_start + how_many,
 1453|  49.5k|            PyUnicode_4BYTE_DATA(to) + to_start
 1454|  49.5k|            );
 1455|  49.5k|    }
 1456|  10.0k|    else if (from_kind == PyUnicode_2BYTE_KIND
  ------------------
  |  Branch (1456:14): [True: 10.0k, False: 0]
  ------------------
 1457|  10.0k|             && to_kind == PyUnicode_4BYTE_KIND)
  ------------------
  |  Branch (1457:17): [True: 10.0k, False: 0]
  ------------------
 1458|  10.0k|    {
 1459|  10.0k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|  10.0k|    do {                                                \
  |  |   48|  10.0k|        to_type *_to = (to_type *)(to);                 \
  |  |   49|  10.0k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|  10.0k|        const from_type *_end = (const from_type *)(end);\
  |  |   51|  10.0k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|  10.0k|        const from_type *_unrolled_end =                \
  |  |   53|  10.0k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|  10.0k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  61.8k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 51.7k, False: 10.0k]
  |  |  ------------------
  |  |   55|  51.7k|            _to[0] = (to_type) _iter[0];                \
  |  |   56|  51.7k|            _to[1] = (to_type) _iter[1];                \
  |  |   57|  51.7k|            _to[2] = (to_type) _iter[2];                \
  |  |   58|  51.7k|            _to[3] = (to_type) _iter[3];                \
  |  |   59|  51.7k|            _iter += 4; _to += 4;                       \
  |  |   60|  51.7k|        }                                               \
  |  |   61|  23.1k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 13.1k, False: 10.0k]
  |  |  ------------------
  |  |   62|  13.1k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|  10.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 10.0k]
  |  |  ------------------
  ------------------
 1460|  10.0k|            Py_UCS2, Py_UCS4,
 1461|  10.0k|            PyUnicode_2BYTE_DATA(from) + from_start,
 1462|  10.0k|            PyUnicode_2BYTE_DATA(from) + from_start + how_many,
 1463|  10.0k|            PyUnicode_4BYTE_DATA(to) + to_start
 1464|  10.0k|            );
 1465|  10.0k|    }
 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|  1.27M|    return 0;
 1518|  1.27M|}
unicodeobject.c:unicode_check_modifiable:
 1368|    547|{
 1369|    547|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1369:9): [True: 0, False: 547]
  ------------------
 1370|      0|        PyErr_SetString(PyExc_SystemError,
 1371|      0|                        "Cannot modify a string currently used");
 1372|      0|        return -1;
 1373|      0|    }
 1374|    547|    return 0;
 1375|    547|}
unicodeobject.c:unicode_resize:
 1766|  24.9k|{
 1767|  24.9k|    PyObject *unicode;
 1768|  24.9k|    Py_ssize_t old_length;
 1769|       |
 1770|  24.9k|    assert(p_unicode != NULL);
  ------------------
  |  Branch (1770:5): [True: 24.9k, False: 0]
  ------------------
 1771|  24.9k|    unicode = *p_unicode;
 1772|       |
 1773|  24.9k|    assert(unicode != NULL);
  ------------------
  |  Branch (1773:5): [True: 24.9k, False: 0]
  ------------------
 1774|  24.9k|    assert(PyUnicode_Check(unicode));
  ------------------
  |  Branch (1774:5): [True: 24.9k, False: 0]
  ------------------
 1775|  24.9k|    assert(0 <= length);
  ------------------
  |  Branch (1775:5): [True: 24.9k, False: 0]
  ------------------
 1776|       |
 1777|  24.9k|    old_length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|  24.9k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1778|  24.9k|    if (old_length == length)
  ------------------
  |  Branch (1778:9): [True: 0, False: 24.9k]
  ------------------
 1779|      0|        return 0;
 1780|       |
 1781|  24.9k|    if (length == 0) {
  ------------------
  |  Branch (1781:9): [True: 0, False: 24.9k]
  ------------------
 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|  24.9k|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1787:9): [True: 0, False: 24.9k]
  ------------------
 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|  24.9k|    if (PyUnicode_IS_COMPACT(unicode)) {
  ------------------
  |  |  235|  24.9k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (235:34): [True: 24.9k, False: 0]
  |  |  ------------------
  ------------------
 1796|  24.9k|        PyObject *new_unicode = _PyUnicode_ResizeCompact(unicode, length);
 1797|  24.9k|        if (new_unicode == NULL)
  ------------------
  |  Branch (1797:13): [True: 0, False: 24.9k]
  ------------------
 1798|      0|            return -1;
 1799|  24.9k|        *p_unicode = new_unicode;
 1800|  24.9k|        return 0;
 1801|  24.9k|    }
 1802|      0|    return resize_inplace(unicode, length);
 1803|  24.9k|}
unicodeobject.c:get_latin1_char:
 1824|   747k|{
 1825|   747k|    PyObject *o = LATIN1(ch);
  ------------------
  |  |  174|   747k|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  955|   747k|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (955:6): [True: 440k, False: 307k]
  |  |  |  |  ------------------
  |  |  |  |  956|   747k|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|   440k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|   440k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  957|   747k|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|   307k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|   307k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1826|   747k|    return o;
 1827|   747k|}
unicodeobject.c:find_maxchar_surrogates:
 1597|  7.13k|{
 1598|  7.13k|    const wchar_t *iter;
 1599|  7.13k|    Py_UCS4 ch;
 1600|       |
 1601|  7.13k|    assert(num_surrogates != NULL && maxchar != NULL);
  ------------------
  |  Branch (1601:5): [True: 7.13k, False: 0]
  |  Branch (1601:5): [True: 7.13k, False: 0]
  ------------------
 1602|  7.13k|    *num_surrogates = 0;
 1603|  7.13k|    *maxchar = 0;
 1604|       |
 1605|   180k|    for (iter = begin; iter < end; ) {
  ------------------
  |  Branch (1605:24): [True: 173k, False: 7.13k]
  ------------------
 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|   173k|        {
 1618|   173k|            ch = *iter;
 1619|   173k|            iter++;
 1620|   173k|        }
 1621|   173k|        if (ch > *maxchar) {
  ------------------
  |  Branch (1621:13): [True: 31.9k, False: 141k]
  ------------------
 1622|  31.9k|            *maxchar = ch;
 1623|  31.9k|            if (*maxchar > MAX_UNICODE) {
  ------------------
  |  |  108|  31.9k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|  31.9k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (1623:17): [True: 0, False: 31.9k]
  ------------------
 1624|      0|                unicode_invalid_character(PyExc_ValueError, ch);
 1625|      0|                return -1;
 1626|      0|            }
 1627|  31.9k|        }
 1628|   173k|    }
 1629|  7.13k|    return 0;
 1630|  7.13k|}
unicodeobject.c:unicode_write_widechar:
 1858|  7.13k|{
 1859|  7.13k|    switch (kind) {
 1860|  7.13k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (1860:5): [True: 7.13k, False: 0]
  ------------------
 1861|  7.13k|        _PyUnicode_CONVERT_BYTES(wchar_t, unsigned char, u, u + size, data);
  ------------------
  |  |   47|  7.13k|    do {                                                \
  |  |   48|  7.13k|        to_type *_to = (to_type *)(to);                 \
  |  |   49|  7.13k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|  7.13k|        const from_type *_end = (const from_type *)(end);\
  |  |   51|  7.13k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|  7.13k|        const from_type *_unrolled_end =                \
  |  |   53|  7.13k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|  7.13k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  48.5k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 41.4k, False: 7.13k]
  |  |  ------------------
  |  |   55|  41.4k|            _to[0] = (to_type) _iter[0];                \
  |  |   56|  41.4k|            _to[1] = (to_type) _iter[1];                \
  |  |   57|  41.4k|            _to[2] = (to_type) _iter[2];                \
  |  |   58|  41.4k|            _to[3] = (to_type) _iter[3];                \
  |  |   59|  41.4k|            _iter += 4; _to += 4;                       \
  |  |   60|  41.4k|        }                                               \
  |  |   61|  14.6k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 7.48k, False: 7.13k]
  |  |  ------------------
  |  |   62|  7.48k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|  7.13k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 7.13k]
  |  |  ------------------
  ------------------
 1862|  7.13k|        break;
 1863|       |
 1864|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (1864:5): [True: 0, False: 7.13k]
  ------------------
 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: 7.13k]
  ------------------
 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: 7.13k]
  ------------------
 1904|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1905|  7.13k|    }
 1906|  7.13k|}
unicodeobject.c:_PyUnicode_FromUCS1:
 2169|  52.0k|{
 2170|  52.0k|    PyObject *res;
 2171|  52.0k|    unsigned char max_char;
 2172|       |
 2173|  52.0k|    if (size == 0) {
  ------------------
  |  Branch (2173:9): [True: 1.56k, False: 50.4k]
  ------------------
 2174|  1.56k|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|  1.56k|    do {                             \
  |  |  366|  1.56k|        return _PyUnicode_GetEmpty();\
  |  |  367|  1.56k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2175|  1.56k|    }
 2176|  52.0k|    assert(size > 0);
  ------------------
  |  Branch (2176:5): [True: 50.4k, False: 0]
  ------------------
 2177|  50.4k|    if (size == 1) {
  ------------------
  |  Branch (2177:9): [True: 3.55k, False: 46.9k]
  ------------------
 2178|  3.55k|        return get_latin1_char(u[0]);
 2179|  3.55k|    }
 2180|       |
 2181|  46.9k|    max_char = ucs1lib_find_max_char(u, u + size);
 2182|  46.9k|    res = PyUnicode_New(size, max_char);
 2183|  46.9k|    if (!res)
  ------------------
  |  Branch (2183:9): [True: 0, False: 46.9k]
  ------------------
 2184|      0|        return NULL;
 2185|  46.9k|    memcpy(PyUnicode_1BYTE_DATA(res), u, size);
  ------------------
  |  |  292|  46.9k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  46.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2186|  46.9k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (2186:5): [True: 46.9k, False: 0]
  ------------------
 2187|  46.9k|    return res;
 2188|  46.9k|}
unicodeobject.c:_PyUnicode_FromUCS2:
 2192|   208k|{
 2193|   208k|    PyObject *res;
 2194|   208k|    Py_UCS2 max_char;
 2195|       |
 2196|   208k|    if (size == 0)
  ------------------
  |  Branch (2196:9): [True: 19.9k, False: 188k]
  ------------------
 2197|  19.9k|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|  19.9k|    do {                             \
  |  |  366|  19.9k|        return _PyUnicode_GetEmpty();\
  |  |  367|  19.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2198|   208k|    assert(size > 0);
  ------------------
  |  Branch (2198:5): [True: 188k, False: 0]
  ------------------
 2199|   188k|    if (size == 1)
  ------------------
  |  Branch (2199:9): [True: 8.68k, False: 180k]
  ------------------
 2200|  8.68k|        return unicode_char(u[0]);
 2201|       |
 2202|   180k|    max_char = ucs2lib_find_max_char(u, u + size);
 2203|   180k|    res = PyUnicode_New(size, max_char);
 2204|   180k|    if (!res)
  ------------------
  |  Branch (2204:9): [True: 0, False: 180k]
  ------------------
 2205|      0|        return NULL;
 2206|   180k|    if (max_char >= 256)
  ------------------
  |  Branch (2206:9): [True: 176k, False: 3.97k]
  ------------------
 2207|   176k|        memcpy(PyUnicode_2BYTE_DATA(res), u, sizeof(Py_UCS2)*size);
  ------------------
  |  |  293|   176k|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   176k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2208|  3.97k|    else {
 2209|  3.97k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|  3.97k|    do {                                                \
  |  |   48|  3.97k|        to_type *_to = (to_type *)(to);                 \
  |  |   49|  3.97k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|  3.97k|        const from_type *_end = (const from_type *)(end);\
  |  |   51|  3.97k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|  3.97k|        const from_type *_unrolled_end =                \
  |  |   53|  3.97k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|  3.97k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  13.3k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 9.38k, False: 3.97k]
  |  |  ------------------
  |  |   55|  9.38k|            _to[0] = (to_type) _iter[0];                \
  |  |   56|  9.38k|            _to[1] = (to_type) _iter[1];                \
  |  |   57|  9.38k|            _to[2] = (to_type) _iter[2];                \
  |  |   58|  9.38k|            _to[3] = (to_type) _iter[3];                \
  |  |   59|  9.38k|            _iter += 4; _to += 4;                       \
  |  |   60|  9.38k|        }                                               \
  |  |   61|  10.9k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 7.01k, False: 3.97k]
  |  |  ------------------
  |  |   62|  7.01k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|  3.97k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 3.97k]
  |  |  ------------------
  ------------------
 2210|  3.97k|            Py_UCS2, Py_UCS1, u, u + size, PyUnicode_1BYTE_DATA(res));
 2211|  3.97k|    }
 2212|   180k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (2212:5): [True: 180k, False: 0]
  ------------------
 2213|   180k|    return res;
 2214|   180k|}
unicodeobject.c:_PyUnicode_FromUCS4:
 2218|   466k|{
 2219|   466k|    PyObject *res;
 2220|       |
 2221|   466k|    if (size == 0)
  ------------------
  |  Branch (2221:9): [True: 1.62k, False: 465k]
  ------------------
 2222|  1.62k|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|  1.62k|    do {                             \
  |  |  366|  1.62k|        return _PyUnicode_GetEmpty();\
  |  |  367|  1.62k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2223|   466k|    assert(size > 0);
  ------------------
  |  Branch (2223:5): [True: 465k, False: 0]
  ------------------
 2224|       |
 2225|   465k|    if (size == 1) {
  ------------------
  |  Branch (2225:9): [True: 389k, False: 75.8k]
  ------------------
 2226|       |        // Raise SystemError if the character is invalid
 2227|   389k|        return unicode_char(u[0]);
 2228|   389k|    }
 2229|       |
 2230|       |#ifdef Py_DEBUG
 2231|       |    // Check for invalid characters in debug mode
 2232|       |    Py_UCS4 max_char = 127;
 2233|       |    for (Py_ssize_t i = 0; i < size; i++) {
 2234|       |        Py_UCS4 ch = u[i];
 2235|       |        if (ch > max_char) {
 2236|       |            if (ch > MAX_UNICODE) {
 2237|       |                unicode_invalid_character(PyExc_SystemError, ch);
 2238|       |                return NULL;
 2239|       |            }
 2240|       |            max_char = ch;
 2241|       |        }
 2242|       |    }
 2243|       |#else
 2244|       |    // gh-158445: Return MAX_UNICODE even if the string contains invalid
 2245|       |    // characters. Checking for invalid characters would make the function
 2246|       |    // slower whereas it's unlikely in practice.
 2247|  75.8k|    Py_UCS4 max_char = ucs4lib_find_max_char(u, u + size);
 2248|  75.8k|#endif
 2249|       |
 2250|  75.8k|    res = PyUnicode_New(size, max_char);
 2251|  75.8k|    if (!res)
  ------------------
  |  Branch (2251:9): [True: 0, False: 75.8k]
  ------------------
 2252|      0|        return NULL;
 2253|  75.8k|    if (max_char < 256)
  ------------------
  |  Branch (2253:9): [True: 5.79k, False: 70.0k]
  ------------------
 2254|  5.79k|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS1, u, u + size,
  ------------------
  |  |   47|  5.79k|    do {                                                \
  |  |   48|  5.79k|        to_type *_to = (to_type *)(to);                 \
  |  |   49|  5.79k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|  5.79k|        const from_type *_end = (const from_type *)(end);\
  |  |   51|  5.79k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|  5.79k|        const from_type *_unrolled_end =                \
  |  |   53|  5.79k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|  5.79k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  21.5k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 15.7k, False: 5.79k]
  |  |  ------------------
  |  |   55|  15.7k|            _to[0] = (to_type) _iter[0];                \
  |  |   56|  15.7k|            _to[1] = (to_type) _iter[1];                \
  |  |   57|  15.7k|            _to[2] = (to_type) _iter[2];                \
  |  |   58|  15.7k|            _to[3] = (to_type) _iter[3];                \
  |  |   59|  15.7k|            _iter += 4; _to += 4;                       \
  |  |   60|  15.7k|        }                                               \
  |  |   61|  14.8k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 9.03k, False: 5.79k]
  |  |  ------------------
  |  |   62|  9.03k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|  5.79k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 5.79k]
  |  |  ------------------
  ------------------
 2255|  75.8k|                                 PyUnicode_1BYTE_DATA(res));
 2256|  70.0k|    else if (max_char < 0x10000)
  ------------------
  |  Branch (2256:14): [True: 52.5k, False: 17.4k]
  ------------------
 2257|  52.5k|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS2, u, u + size,
  ------------------
  |  |   47|  52.5k|    do {                                                \
  |  |   48|  52.5k|        to_type *_to = (to_type *)(to);                 \
  |  |   49|  52.5k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|  52.5k|        const from_type *_end = (const from_type *)(end);\
  |  |   51|  52.5k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|  52.5k|        const from_type *_unrolled_end =                \
  |  |   53|  52.5k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|  52.5k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|   259k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 206k, False: 52.5k]
  |  |  ------------------
  |  |   55|   206k|            _to[0] = (to_type) _iter[0];                \
  |  |   56|   206k|            _to[1] = (to_type) _iter[1];                \
  |  |   57|   206k|            _to[2] = (to_type) _iter[2];                \
  |  |   58|   206k|            _to[3] = (to_type) _iter[3];                \
  |  |   59|   206k|            _iter += 4; _to += 4;                       \
  |  |   60|   206k|        }                                               \
  |  |   61|   148k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 95.8k, False: 52.5k]
  |  |  ------------------
  |  |   62|  95.8k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|  52.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 52.5k]
  |  |  ------------------
  ------------------
 2258|  70.0k|                                 PyUnicode_2BYTE_DATA(res));
 2259|  17.4k|    else
 2260|  17.4k|        memcpy(PyUnicode_4BYTE_DATA(res), u, sizeof(Py_UCS4)*size);
  ------------------
  |  |  294|  17.4k|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  17.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2261|  75.8k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (2261:5): [True: 75.8k, False: 0]
  ------------------
 2262|  75.8k|    return res;
 2263|  75.8k|}
unicodeobject.c:unicode_from_format:
 3113|   121k|{
 3114|   121k|    Py_ssize_t len = strlen(format);
 3115|   121k|    writer->min_length += len + 100;
 3116|   121k|    writer->overallocate = 1;
 3117|       |
 3118|       |    // Copy varags to be able to pass a reference to a subfunction.
 3119|   121k|    va_list vargs2;
 3120|   121k|    va_copy(vargs2, vargs);
 3121|       |
 3122|       |    // _PyUnicodeWriter_WriteASCIIString() below requires the format string
 3123|       |    // to be encoded to ASCII.
 3124|   121k|    int is_ascii = (ucs1lib_find_max_char((Py_UCS1*)format, (Py_UCS1*)format + len) < 128);
 3125|   121k|    if (!is_ascii) {
  ------------------
  |  Branch (3125:9): [True: 0, False: 121k]
  ------------------
 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|   598k|    for (const char *f = format; *f; ) {
  ------------------
  |  Branch (3135:34): [True: 477k, False: 121k]
  ------------------
 3136|   477k|        if (*f == '%') {
  ------------------
  |  Branch (3136:13): [True: 226k, False: 251k]
  ------------------
 3137|   226k|            f = unicode_fromformat_arg(writer, f, &vargs2);
 3138|   226k|            if (f == NULL)
  ------------------
  |  Branch (3138:17): [True: 0, False: 226k]
  ------------------
 3139|      0|                goto fail;
 3140|   226k|        }
 3141|   251k|        else {
 3142|   251k|            const char *p = strchr(f, '%');
 3143|   251k|            if (p != NULL) {
  ------------------
  |  Branch (3143:17): [True: 161k, False: 89.6k]
  ------------------
 3144|   161k|                len = p - f;
 3145|   161k|            }
 3146|  89.6k|            else {
 3147|  89.6k|                len = strlen(f);
 3148|  89.6k|                writer->overallocate = 0;
 3149|  89.6k|            }
 3150|       |
 3151|   251k|            if (_PyUnicodeWriter_WriteASCIIString(writer, f, len) < 0) {
  ------------------
  |  Branch (3151:17): [True: 0, False: 251k]
  ------------------
 3152|      0|                goto fail;
 3153|      0|            }
 3154|   251k|            f += len;
 3155|   251k|        }
 3156|   477k|    }
 3157|   121k|    va_end(vargs2);
 3158|   121k|    return 0;
 3159|       |
 3160|      0|  fail:
 3161|       |    va_end(vargs2);
 3162|      0|    return -1;
 3163|   121k|}
unicodeobject.c:unicode_fromformat_arg:
 2697|   226k|{
 2698|   226k|    const char *p;
 2699|   226k|    Py_ssize_t len;
 2700|   226k|    int flags = 0;
 2701|   226k|    Py_ssize_t width;
 2702|   226k|    Py_ssize_t precision;
 2703|       |
 2704|   226k|    p = f;
 2705|   226k|    f++;
 2706|   226k|    if (*f == '%') {
  ------------------
  |  Branch (2706:9): [True: 0, False: 226k]
  ------------------
 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|   227k|    while (1) {
  ------------------
  |  Branch (2718:12): [True: 227k, Folded]
  ------------------
 2719|   227k|        switch (*f++) {
  ------------------
  |  Branch (2719:17): [True: 1.89k, False: 226k]
  ------------------
 2720|      0|        case '-': flags |= F_LJUST; continue;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2720:9): [True: 0, False: 227k]
  ------------------
 2721|  1.89k|        case '0': flags |= F_ZERO; continue;
  ------------------
  |  |   22|  1.89k|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (2721:9): [True: 1.89k, False: 226k]
  ------------------
 2722|      0|        case '#': flags |= F_ALT; continue;
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (2722:9): [True: 0, False: 227k]
  ------------------
 2723|   227k|        }
 2724|   226k|        f--;
 2725|   226k|        break;
 2726|   227k|    }
 2727|       |
 2728|       |    /* parse the width.precision part, e.g. "%2.5s" => width=2, precision=5 */
 2729|   226k|    width = -1;
 2730|   226k|    if (*f == '*') {
  ------------------
  |  Branch (2730:9): [True: 0, False: 226k]
  ------------------
 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|   226k|    else if (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|   226k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|   226k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|   226k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 1.89k, False: 224k]
  |  |  ------------------
  ------------------
 2739|  1.89k|        width = *f - '0';
 2740|  1.89k|        f++;
 2741|  1.89k|        while (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|  1.89k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|  1.89k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  1.89k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 1.89k]
  |  |  ------------------
  ------------------
 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|  1.89k|    }
 2751|   226k|    precision = -1;
 2752|   226k|    if (*f == '.') {
  ------------------
  |  Branch (2752:9): [True: 68.9k, False: 157k]
  ------------------
 2753|  68.9k|        f++;
 2754|  68.9k|        if (*f == '*') {
  ------------------
  |  Branch (2754:13): [True: 0, False: 68.9k]
  ------------------
 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|  68.9k|        else if (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|  68.9k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|  68.9k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  68.9k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 68.9k, False: 0]
  |  |  ------------------
  ------------------
 2762|  68.9k|            precision = (*f - '0');
 2763|  68.9k|            f++;
 2764|   204k|            while (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|   204k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|   204k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|   204k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 135k, False: 68.9k]
  |  |  ------------------
  ------------------
 2765|   135k|                if (precision > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10) {
  ------------------
  |  |  137|   135k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2765:21): [True: 0, False: 135k]
  ------------------
 2766|      0|                    PyErr_SetString(PyExc_ValueError,
 2767|      0|                                    "precision too big");
 2768|      0|                    return NULL;
 2769|      0|                }
 2770|   135k|                precision = (precision * 10) + (*f - '0');
 2771|   135k|                f++;
 2772|   135k|            }
 2773|  68.9k|        }
 2774|  68.9k|    }
 2775|       |
 2776|   226k|    int sizemod = 0;
 2777|   226k|    if (*f == 'l') {
  ------------------
  |  Branch (2777:9): [True: 0, False: 226k]
  ------------------
 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|   226k|    else if (*f == 'z') {
  ------------------
  |  Branch (2787:14): [True: 2.86k, False: 223k]
  ------------------
 2788|  2.86k|        sizemod = F_SIZE;
  ------------------
  |  | 2690|  2.86k|#define F_SIZE 3
  ------------------
 2789|  2.86k|        ++f;
 2790|  2.86k|    }
 2791|   223k|    else if (*f == 't') {
  ------------------
  |  Branch (2791:14): [True: 0, False: 223k]
  ------------------
 2792|      0|        sizemod = F_PTRDIFF;
  ------------------
  |  | 2691|      0|#define F_PTRDIFF 4
  ------------------
 2793|      0|        ++f;
 2794|      0|    }
 2795|   223k|    else if (*f == 'j') {
  ------------------
  |  Branch (2795:14): [True: 0, False: 223k]
  ------------------
 2796|      0|        sizemod = F_INTMAX;
  ------------------
  |  | 2692|      0|#define F_INTMAX 5
  ------------------
 2797|      0|        ++f;
 2798|      0|    }
 2799|   226k|    if (f[0] != '\0' && f[1] == '\0')
  ------------------
  |  Branch (2799:9): [True: 226k, False: 0]
  |  Branch (2799:25): [True: 31.5k, False: 194k]
  ------------------
 2800|  31.5k|        writer->overallocate = 0;
 2801|       |
 2802|   226k|    switch (*f) {
 2803|  6.98k|    case 'd': case 'i': case 'o': case 'u': case 'x': case 'X':
  ------------------
  |  Branch (2803:5): [True: 4.77k, False: 221k]
  |  Branch (2803:15): [True: 155, False: 225k]
  |  Branch (2803:25): [True: 0, False: 226k]
  |  Branch (2803:35): [True: 0, False: 226k]
  |  Branch (2803:45): [True: 1.29k, False: 224k]
  |  Branch (2803:55): [True: 752, False: 225k]
  ------------------
 2804|  6.98k|        break;
 2805|  19.1k|    case 'c': case 'p':
  ------------------
  |  Branch (2805:5): [True: 19.1k, False: 206k]
  |  Branch (2805:15): [True: 0, False: 226k]
  ------------------
 2806|  19.1k|        if (sizemod || width >= 0 || precision >= 0) goto invalid_format;
  ------------------
  |  Branch (2806:13): [True: 0, False: 19.1k]
  |  Branch (2806:24): [True: 0, False: 19.1k]
  |  Branch (2806:38): [True: 0, False: 19.1k]
  ------------------
 2807|  19.1k|        break;
 2808|   171k|    case 's':
  ------------------
  |  Branch (2808:5): [True: 171k, False: 54.4k]
  ------------------
 2809|   171k|    case 'V':
  ------------------
  |  Branch (2809:5): [True: 155, False: 225k]
  ------------------
 2810|   171k|        if (sizemod && sizemod != F_LONG) goto invalid_format;
  ------------------
  |  | 2688|      0|#define F_LONG 1
  ------------------
  |  Branch (2810:13): [True: 0, False: 171k]
  |  Branch (2810:24): [True: 0, False: 0]
  ------------------
 2811|   171k|        break;
 2812|   171k|    default:
  ------------------
  |  Branch (2812:5): [True: 28.1k, False: 197k]
  ------------------
 2813|  28.1k|        if (sizemod) goto invalid_format;
  ------------------
  |  Branch (2813:13): [True: 0, False: 28.1k]
  ------------------
 2814|  28.1k|        break;
 2815|   226k|    }
 2816|       |
 2817|   226k|    switch (*f) {
 2818|  19.1k|    case 'c':
  ------------------
  |  Branch (2818:5): [True: 19.1k, False: 206k]
  ------------------
 2819|  19.1k|    {
 2820|  19.1k|        int ordinal = va_arg(*vargs, int);
 2821|  19.1k|        if (ordinal < 0 || ordinal > MAX_UNICODE) {
  ------------------
  |  |  108|  19.1k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|  19.1k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (2821:13): [True: 0, False: 19.1k]
  |  Branch (2821:28): [True: 0, False: 19.1k]
  ------------------
 2822|      0|            PyErr_SetString(PyExc_OverflowError,
 2823|      0|                            "character argument not in range(0x110000)");
 2824|      0|            return NULL;
 2825|      0|        }
 2826|  19.1k|        if (_PyUnicodeWriter_WriteCharInline(writer, ordinal) < 0)
  ------------------
  |  Branch (2826:13): [True: 0, False: 19.1k]
  ------------------
 2827|      0|            return NULL;
 2828|  19.1k|        break;
 2829|  19.1k|    }
 2830|       |
 2831|  19.1k|    case 'd': case 'i':
  ------------------
  |  Branch (2831:5): [True: 4.77k, False: 221k]
  |  Branch (2831:15): [True: 155, False: 225k]
  ------------------
 2832|  6.98k|    case 'o': case 'u': case 'x': case 'X':
  ------------------
  |  Branch (2832:5): [True: 0, False: 226k]
  |  Branch (2832:15): [True: 0, False: 226k]
  |  Branch (2832:25): [True: 1.29k, False: 224k]
  |  Branch (2832:35): [True: 752, False: 225k]
  ------------------
 2833|  6.98k|    {
 2834|  6.98k|        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|  6.98k|        #define SPRINT(SIZE_SPEC, FMT_CHAR, TYPE) \
 2848|  6.98k|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
 2849|       |
 2850|       |        // One inner switch to handle all format variants
 2851|  6.98k|        #define DO_SPRINTS(SIZE_SPEC, SIGNED_TYPE, UNSIGNED_TYPE)             \
 2852|  6.98k|            switch (*f) {                                                     \
 2853|  6.98k|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
 2854|  6.98k|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
 2855|  6.98k|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
 2856|  6.98k|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
 2857|  6.98k|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
 2858|  6.98k|            }
 2859|       |
 2860|       |        // Outer switch to handle all the sizes/types
 2861|  6.98k|        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: 6.98k]
  ------------------
 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: 6.98k]
  ------------------
 2864|  2.86k|            case F_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t); break;
  ------------------
  |  | 2690|  2.86k|#define F_SIZE 3
  ------------------
                          case F_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t); break;
  ------------------
  |  | 2852|  2.86k|            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: 2.86k]
  |  |  ------------------
  |  | 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: 2.86k]
  |  |  ------------------
  |  | 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: 2.86k]
  |  |  ------------------
  |  | 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: 2.86k]
  |  |  ------------------
  |  | 2857|  2.86k|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2848|  2.86k|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2857:17): [True: 2.86k, False: 0]
  |  |  ------------------
  |  | 2858|  2.86k|            }
  ------------------
  |  Branch (2864:13): [True: 2.86k, False: 4.12k]
  ------------------
 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: 6.98k]
  ------------------
 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: 6.98k]
  ------------------
 2867|  4.12k|            default:         DO_SPRINTS("", int, unsigned int); break;
  ------------------
  |  | 2852|  4.12k|            switch (*f) {                                                     \
  |  | 2853|      0|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2853:17): [True: 0, False: 4.12k]
  |  |  ------------------
  |  | 2854|      0|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|      0|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2854:17): [True: 0, False: 4.12k]
  |  |  ------------------
  |  | 2855|  1.29k|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|  1.29k|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2855:17): [True: 1.29k, False: 2.82k]
  |  |  ------------------
  |  | 2856|    752|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2848|    752|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2856:17): [True: 752, False: 3.36k]
  |  |  ------------------
  |  | 2857|  2.07k|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2848|  2.07k|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2857:17): [True: 2.07k, False: 2.04k]
  |  |  ------------------
  |  | 2858|  4.12k|            }
  ------------------
  |  Branch (2867:13): [True: 4.12k, False: 2.86k]
  ------------------
 2868|  6.98k|        }
 2869|  6.98k|        #undef SPRINT
 2870|  6.98k|        #undef DO_SPRINTS
 2871|       |
 2872|  6.98k|        assert(len >= 1);
  ------------------
  |  Branch (2872:9): [True: 6.98k, False: 0]
  ------------------
 2873|       |
 2874|  6.98k|        int sign = (buffer[0] == '-');
 2875|  6.98k|        len -= sign;
 2876|       |
 2877|  6.98k|        precision = Py_MAX(precision, len);
  ------------------
  |  |  133|  6.98k|       __extension__ \
  |  |  134|  6.98k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  6.98k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  6.98k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  6.98k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  6.98k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 6.98k]
  |  |  ------------------
  ------------------
 2878|  6.98k|        width = Py_MAX(width, precision + sign);
  ------------------
  |  |  133|  6.98k|       __extension__ \
  |  |  134|  6.98k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  6.98k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  6.98k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  6.98k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  6.98k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 547, False: 6.43k]
  |  |  ------------------
  ------------------
 2879|  6.98k|        if ((flags & F_ZERO) && !(flags & F_LJUST)) {
  ------------------
  |  |   22|  6.98k|#define F_ZERO  (1<<4)
  ------------------
                      if ((flags & F_ZERO) && !(flags & F_LJUST)) {
  ------------------
  |  |   18|  1.89k|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2879:13): [True: 1.89k, False: 5.08k]
  |  Branch (2879:33): [True: 1.89k, False: 0]
  ------------------
 2880|  1.89k|            precision = width - sign;
 2881|  1.89k|        }
 2882|       |
 2883|  6.98k|        Py_ssize_t spacepad = Py_MAX(width - precision - sign, 0);
  ------------------
  |  |  133|  6.98k|       __extension__ \
  |  |  134|  6.98k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  6.98k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  6.98k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  6.98k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  6.98k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 6.98k]
  |  |  ------------------
  ------------------
 2884|  6.98k|        Py_ssize_t zeropad = Py_MAX(precision - len, 0);
  ------------------
  |  |  133|  6.98k|       __extension__ \
  |  |  134|  6.98k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  6.98k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  6.98k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  6.98k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  6.98k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 547, False: 6.43k]
  |  |  ------------------
  ------------------
 2885|       |
 2886|  6.98k|        if (_PyUnicodeWriter_Prepare(writer, width, 127) == -1) {
  ------------------
  |  Branch (2886:13): [True: 0, False: 6.98k]
  ------------------
 2887|      0|            return NULL;
 2888|      0|        }
 2889|  6.98k|        assert(_PyUnicodeWriter_CanWrite(writer));
  ------------------
  |  Branch (2889:9): [True: 6.98k, False: 0]
  ------------------
 2890|       |
 2891|  6.98k|        if (spacepad && !(flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2891:13): [True: 0, False: 6.98k]
  |  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|  6.98k|        if (sign) {
  ------------------
  |  Branch (2897:13): [True: 0, False: 6.98k]
  ------------------
 2898|      0|            if (_PyUnicodeWriter_WriteChar(writer, '-') == -1)
  ------------------
  |  Branch (2898:17): [True: 0, False: 0]
  ------------------
 2899|      0|                return NULL;
 2900|      0|        }
 2901|       |
 2902|  6.98k|        if (zeropad) {
  ------------------
  |  Branch (2902:13): [True: 547, False: 6.43k]
  ------------------
 2903|    547|            if (PyUnicode_Fill(writer->buffer, writer->pos, zeropad, '0') == -1)
  ------------------
  |  Branch (2903:17): [True: 0, False: 547]
  ------------------
 2904|      0|                return NULL;
 2905|    547|            writer->pos += zeropad;
 2906|    547|        }
 2907|       |
 2908|  6.98k|        if (_PyUnicodeWriter_WriteASCIIString(writer, &buffer[sign], len) < 0)
  ------------------
  |  Branch (2908:13): [True: 0, False: 6.98k]
  ------------------
 2909|      0|            return NULL;
 2910|       |
 2911|  6.98k|        if (spacepad && (flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2911:13): [True: 0, False: 6.98k]
  |  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|  6.98k|        break;
 2917|  6.98k|    }
 2918|       |
 2919|  6.98k|    case 'p':
  ------------------
  |  Branch (2919:5): [True: 0, False: 226k]
  ------------------
 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|   171k|    case 's':
  ------------------
  |  Branch (2942:5): [True: 171k, False: 54.4k]
  ------------------
 2943|   171k|    {
 2944|   171k|        if (sizemod) {
  ------------------
  |  Branch (2944:13): [True: 0, False: 171k]
  ------------------
 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|   171k|        else {
 2950|       |            /* UTF-8 */
 2951|   171k|            const char *s = va_arg(*vargs, const char*);
 2952|   171k|            if (unicode_fromformat_write_utf8(writer, s, width, precision, flags) < 0)
  ------------------
  |  Branch (2952:17): [True: 0, False: 171k]
  ------------------
 2953|      0|                return NULL;
 2954|   171k|        }
 2955|   171k|        break;
 2956|   171k|    }
 2957|       |
 2958|   171k|    case 'U':
  ------------------
  |  Branch (2958:5): [True: 27.9k, False: 198k]
  ------------------
 2959|  27.9k|    {
 2960|  27.9k|        PyObject *obj = va_arg(*vargs, PyObject *);
 2961|  27.9k|        assert(obj && _PyUnicode_CHECK(obj));
  ------------------
  |  Branch (2961:9): [True: 27.9k, False: 0]
  |  Branch (2961:9): [True: 27.9k, False: 0]
  ------------------
 2962|       |
 2963|  27.9k|        if (unicode_fromformat_write_str(writer, obj, width, precision, flags) == -1)
  ------------------
  |  Branch (2963:13): [True: 0, False: 27.9k]
  ------------------
 2964|      0|            return NULL;
 2965|  27.9k|        break;
 2966|  27.9k|    }
 2967|       |
 2968|  27.9k|    case 'V':
  ------------------
  |  Branch (2968:5): [True: 155, False: 225k]
  ------------------
 2969|    155|    {
 2970|    155|        PyObject *obj = va_arg(*vargs, PyObject *);
 2971|    155|        const char *str;
 2972|    155|        const wchar_t *wstr;
 2973|    155|        if (sizemod) {
  ------------------
  |  Branch (2973:13): [True: 0, False: 155]
  ------------------
 2974|      0|            wstr = va_arg(*vargs, const wchar_t*);
 2975|      0|        }
 2976|    155|        else {
 2977|    155|            str = va_arg(*vargs, const char *);
 2978|    155|        }
 2979|    155|        if (obj) {
  ------------------
  |  Branch (2979:13): [True: 0, False: 155]
  ------------------
 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|    155|        else if (sizemod) {
  ------------------
  |  Branch (2984:18): [True: 0, False: 155]
  ------------------
 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|    155|        else {
 2990|    155|            assert(str != NULL);
  ------------------
  |  Branch (2990:13): [True: 155, False: 0]
  ------------------
 2991|    155|            if (unicode_fromformat_write_utf8(writer, str, width, precision, flags) < 0)
  ------------------
  |  Branch (2991:17): [True: 0, False: 155]
  ------------------
 2992|      0|                return NULL;
 2993|    155|        }
 2994|    155|        break;
 2995|    155|    }
 2996|       |
 2997|    155|    case 'S':
  ------------------
  |  Branch (2997:5): [True: 117, False: 225k]
  ------------------
 2998|    117|    {
 2999|    117|        PyObject *obj = va_arg(*vargs, PyObject *);
 3000|    117|        PyObject *str;
 3001|    117|        assert(obj);
  ------------------
  |  Branch (3001:9): [True: 117, False: 0]
  ------------------
 3002|    117|        str = PyObject_Str(obj);
 3003|    117|        if (!str)
  ------------------
  |  Branch (3003:13): [True: 0, False: 117]
  ------------------
 3004|      0|            return NULL;
 3005|    117|        if (unicode_fromformat_write_str(writer, str, width, precision, flags) == -1) {
  ------------------
  |  Branch (3005:13): [True: 0, False: 117]
  ------------------
 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|    117|        Py_DECREF(str);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3010|    117|        break;
 3011|    117|    }
 3012|       |
 3013|    154|    case 'R':
  ------------------
  |  Branch (3013:5): [True: 154, False: 225k]
  ------------------
 3014|    154|    {
 3015|    154|        PyObject *obj = va_arg(*vargs, PyObject *);
 3016|    154|        PyObject *repr;
 3017|    154|        assert(obj);
  ------------------
  |  Branch (3017:9): [True: 154, False: 0]
  ------------------
 3018|    154|        repr = PyObject_Repr(obj);
 3019|    154|        if (!repr)
  ------------------
  |  Branch (3019:13): [True: 0, False: 154]
  ------------------
 3020|      0|            return NULL;
 3021|    154|        if (unicode_fromformat_write_str(writer, repr, width, precision, flags) == -1) {
  ------------------
  |  Branch (3021:13): [True: 0, False: 154]
  ------------------
 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|    154|        Py_DECREF(repr);
  ------------------
  |  |  430|    154|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    154|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    154|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3026|    154|        break;
 3027|    154|    }
 3028|       |
 3029|      0|    case 'A':
  ------------------
  |  Branch (3029:5): [True: 0, False: 226k]
  ------------------
 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: 226k]
  ------------------
 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: 226k]
  ------------------
 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: 226k]
  ------------------
 3102|      0|    invalid_format:
 3103|      0|        PyErr_Format(PyExc_SystemError, "invalid format string: %s", p);
 3104|      0|        return NULL;
 3105|   226k|    }
 3106|       |
 3107|   226k|    f++;
 3108|   226k|    return f;
 3109|   226k|}
unicodeobject.c:unicode_fromformat_write_utf8:
 2621|   171k|{
 2622|       |    /* UTF-8 */
 2623|   171k|    Py_ssize_t *pconsumed = NULL;
 2624|   171k|    Py_ssize_t length;
 2625|   171k|    if (precision == -1) {
  ------------------
  |  Branch (2625:9): [True: 102k, False: 68.8k]
  ------------------
 2626|   102k|        length = strlen(str);
 2627|   102k|    }
 2628|  68.8k|    else {
 2629|  68.8k|        length = 0;
 2630|   363k|        while (length < precision && str[length]) {
  ------------------
  |  Branch (2630:16): [True: 362k, False: 1.07k]
  |  Branch (2630:38): [True: 294k, False: 67.7k]
  ------------------
 2631|   294k|            length++;
 2632|   294k|        }
 2633|  68.8k|        if (length == precision) {
  ------------------
  |  Branch (2633:13): [True: 1.07k, False: 67.7k]
  ------------------
 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|  1.07k|            pconsumed = &length;
 2640|  1.07k|        }
 2641|  68.8k|    }
 2642|       |
 2643|   171k|    if (width < 0) {
  ------------------
  |  Branch (2643:9): [True: 171k, False: 0]
  ------------------
 2644|   171k|        return _PyUnicode_DecodeUTF8Writer(writer, str, length,
 2645|   171k|                                           _Py_ERROR_REPLACE, "replace", pconsumed);
 2646|   171k|    }
 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|  28.1k|{
 2576|  28.1k|    Py_ssize_t length, fill, arglen;
 2577|  28.1k|    Py_UCS4 maxchar;
 2578|       |
 2579|  28.1k|    length = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  300|  28.1k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2580|  28.1k|    if ((precision == -1 || precision >= length) && width <= length) {
  ------------------
  |  Branch (2580:10): [True: 28.1k, False: 0]
  |  Branch (2580:29): [True: 0, False: 0]
  |  Branch (2580:53): [True: 28.1k, False: 0]
  ------------------
 2581|  28.1k|        return _PyUnicodeWriter_WriteStr(writer, str);
 2582|  28.1k|    }
 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|    336|{
 3223|    336|    Py_ssize_t res;
 3224|       |
 3225|    336|    assert(unicode != NULL);
  ------------------
  |  Branch (3225:5): [True: 336, False: 0]
  ------------------
 3226|    336|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (3226:5): [True: 336, False: 0]
  ------------------
 3227|       |
 3228|    336|    res = _PyUnicode_LENGTH(unicode);
  ------------------
  |  |  150|    336|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|    336|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|    336|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    336|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3228:11): [True: 336, 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|    336|}
unicodeobject.c:unicode_copy_as_widechar:
 3245|    336|{
 3246|    336|    assert(unicode != NULL);
  ------------------
  |  Branch (3246:5): [True: 336, False: 0]
  ------------------
 3247|    336|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (3247:5): [True: 336, False: 0]
  ------------------
 3248|       |
 3249|    672|    if (PyUnicode_KIND(unicode) == sizeof(wchar_t)) {
  ------------------
  |  |  259|    336|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    672|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 336, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3249:9): [True: 0, False: 336]
  ------------------
 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|    672|    if (PyUnicode_KIND(unicode) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  259|    336|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    672|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 336, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3254:9): [True: 336, False: 0]
  ------------------
 3255|    336|        const Py_UCS1 *s = PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  292|    336|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    336|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3256|  21.0k|        for (; size--; ++s, ++w) {
  ------------------
  |  Branch (3256:16): [True: 20.7k, False: 336]
  ------------------
 3257|  20.7k|            *w = *s;
 3258|  20.7k|        }
 3259|    336|    }
 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|    336|}
unicodeobject.c:unicode_char:
 1831|  6.91M|{
 1832|  6.91M|    if (ch < 256) {
  ------------------
  |  Branch (1832:9): [True: 595k, False: 6.31M]
  ------------------
 1833|   595k|        return get_latin1_char(ch);
 1834|   595k|    }
 1835|       |
 1836|       |    // Raise SystemError if the character is not in range [U+0000; MAX_UNICODE]
 1837|  6.31M|    PyObject *unicode = PyUnicode_New(1, ch);
 1838|  6.31M|    if (unicode == NULL) {
  ------------------
  |  Branch (1838:9): [True: 0, False: 6.31M]
  ------------------
 1839|      0|        return NULL;
 1840|      0|    }
 1841|       |
 1842|  6.31M|    assert(PyUnicode_KIND(unicode) != PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (1842:5): [True: 6.31M, False: 0]
  |  Branch (1842:5): [True: 6.31M, False: 0]
  ------------------
 1843|  12.6M|    if (PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND) {
  ------------------
  |  |  259|  6.31M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  12.6M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 6.31M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1843:9): [True: 5.95M, False: 362k]
  ------------------
 1844|  5.95M|        PyUnicode_2BYTE_DATA(unicode)[0] = (Py_UCS2)ch;
  ------------------
  |  |  293|  5.95M|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  5.95M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1845|  5.95M|    } else {
 1846|   362k|        assert(PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (1846:9): [True: 362k, False: 0]
  |  Branch (1846:9): [True: 362k, False: 0]
  ------------------
 1847|   362k|        PyUnicode_4BYTE_DATA(unicode)[0] = ch;
  ------------------
  |  |  294|   362k|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   362k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1848|   362k|    }
 1849|  6.31M|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (1849:5): [True: 6.31M, False: 0]
  ------------------
 1850|  6.31M|    return unicode;
 1851|  6.31M|}
unicodeobject.c:unicode_check_encoding_errors:
  516|   254k|{
  517|   254k|    if (encoding == NULL && errors == NULL) {
  ------------------
  |  Branch (517:9): [True: 0, False: 254k]
  |  Branch (517:29): [True: 0, False: 0]
  ------------------
  518|      0|        return 0;
  519|      0|    }
  520|       |
  521|   254k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  522|   254k|#ifndef Py_DEBUG
  523|       |    /* In release mode, only check in development mode (-X dev) */
  524|   254k|    if (!_PyInterpreterState_GetConfig(interp)->dev_mode) {
  ------------------
  |  Branch (524:9): [True: 254k, False: 0]
  ------------------
  525|   254k|        return 0;
  526|   254k|    }
  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|  7.03k|{
 3968|  7.03k|    if (str[len] != '\0' || (size_t)len != strlen(str))  {
  ------------------
  |  Branch (3968:9): [True: 0, False: 7.03k]
  |  Branch (3968:29): [True: 0, False: 7.03k]
  ------------------
 3969|      0|        PyErr_SetString(PyExc_ValueError, "embedded null byte");
 3970|      0|        return NULL;
 3971|      0|    }
 3972|       |
 3973|  7.03k|    wchar_t *wstr;
 3974|  7.03k|    size_t wlen;
 3975|  7.03k|    int res = _Py_DecodeLocale(str, &wstr, &wlen, current_locale, errors);
 3976|  7.03k|    if (res != 0) {
  ------------------
  |  Branch (3976:9): [True: 0, False: 7.03k]
  ------------------
 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|  7.03k|    PyObject *unicode = PyUnicode_FromWideChar(wstr, wlen);
 4001|  7.03k|    PyMem_RawFree(wstr);
 4002|  7.03k|    return unicode;
 4003|  7.03k|}
unicodeobject.c:findchar:
 1008|   358k|{
 1009|   358k|    switch (kind) {
 1010|   348k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (1010:5): [True: 348k, False: 10.5k]
  ------------------
 1011|   348k|        if ((Py_UCS1) ch != ch)
  ------------------
  |  Branch (1011:13): [True: 0, False: 348k]
  ------------------
 1012|      0|            return -1;
 1013|   348k|        if (direction > 0)
  ------------------
  |  Branch (1013:13): [True: 347k, False: 281]
  ------------------
 1014|   347k|            return ucs1lib_find_char((const Py_UCS1 *) s, size, (Py_UCS1) ch);
 1015|    281|        else
 1016|    281|            return ucs1lib_rfind_char((const Py_UCS1 *) s, size, (Py_UCS1) ch);
 1017|  9.38k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (1017:5): [True: 9.38k, False: 349k]
  ------------------
 1018|  9.38k|        if ((Py_UCS2) ch != ch)
  ------------------
  |  Branch (1018:13): [True: 0, False: 9.38k]
  ------------------
 1019|      0|            return -1;
 1020|  9.38k|        if (direction > 0)
  ------------------
  |  Branch (1020:13): [True: 9.38k, False: 0]
  ------------------
 1021|  9.38k|            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|  1.17k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (1024:5): [True: 1.17k, False: 357k]
  ------------------
 1025|  1.17k|        if (direction > 0)
  ------------------
  |  Branch (1025:13): [True: 1.17k, False: 0]
  ------------------
 1026|  1.17k|            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: 358k]
  ------------------
 1030|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1031|   358k|    }
 1032|   358k|}
unicodeobject.c:unicode_ensure_utf8:
 4154|   319k|{
 4155|   319k|    int err = 0;
 4156|   319k|    if (PyUnicode_UTF8(unicode) == NULL) {
  ------------------
  |  Branch (4156:9): [True: 12.1k, False: 307k]
  ------------------
 4157|  12.1k|        Py_BEGIN_CRITICAL_SECTION(unicode);
  ------------------
  |  |   51|  12.1k|    {
  ------------------
 4158|  12.1k|        if (PyUnicode_UTF8(unicode) == NULL) {
  ------------------
  |  Branch (4158:13): [True: 12.1k, False: 0]
  ------------------
 4159|  12.1k|            err = unicode_fill_utf8(unicode);
 4160|  12.1k|        }
 4161|  12.1k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  12.1k|    }
  ------------------
 4162|  12.1k|    }
 4163|   319k|    return err;
 4164|   319k|}
unicodeobject.c:unicode_fill_utf8:
 5807|  12.1k|{
 5808|  12.1k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(unicode);
 5809|       |    /* the string cannot be ASCII, or PyUnicode_UTF8() would be set */
 5810|  12.1k|    assert(!PyUnicode_IS_ASCII(unicode));
  ------------------
  |  Branch (5810:5): [True: 12.1k, False: 0]
  ------------------
 5811|       |
 5812|  12.1k|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  12.1k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  24.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 12.1k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5813|  12.1k|    const void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|  12.1k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5814|  12.1k|    Py_ssize_t size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|  12.1k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5815|       |
 5816|  12.1k|    PyBytesWriter *writer;
 5817|  12.1k|    char *end;
 5818|       |
 5819|  12.1k|    switch (kind) {
 5820|      0|    default:
  ------------------
  |  Branch (5820:5): [True: 0, False: 12.1k]
  ------------------
 5821|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5822|  5.34k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (5822:5): [True: 5.34k, False: 6.82k]
  ------------------
 5823|  5.34k|        writer = ucs1lib_utf8_encoder(unicode, data, size,
 5824|  5.34k|                                      _Py_ERROR_STRICT, NULL, &end);
 5825|  5.34k|        break;
 5826|  5.04k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (5826:5): [True: 5.04k, False: 7.11k]
  ------------------
 5827|  5.04k|        writer = ucs2lib_utf8_encoder(unicode, data, size,
 5828|  5.04k|                                      _Py_ERROR_STRICT, NULL, &end);
 5829|  5.04k|        break;
 5830|  1.77k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (5830:5): [True: 1.77k, False: 10.3k]
  ------------------
 5831|  1.77k|        writer = ucs4lib_utf8_encoder(unicode, data, size,
 5832|  1.77k|                                      _Py_ERROR_STRICT, NULL, &end);
 5833|  1.77k|        break;
 5834|  12.1k|    }
 5835|  12.1k|    if (writer == NULL) {
  ------------------
  |  Branch (5835:9): [True: 38, False: 12.1k]
  ------------------
 5836|     38|        return -1;
 5837|     38|    }
 5838|       |
 5839|  12.1k|    const char *start = PyBytesWriter_GetData(writer);
 5840|  12.1k|    Py_ssize_t len = end - start;
 5841|       |
 5842|  12.1k|    char *cache = PyMem_Malloc(len + 1);
 5843|  12.1k|    if (cache == NULL) {
  ------------------
  |  Branch (5843:9): [True: 0, False: 12.1k]
  ------------------
 5844|      0|        PyBytesWriter_Discard(writer);
 5845|      0|        PyErr_NoMemory();
 5846|      0|        return -1;
 5847|      0|    }
 5848|  12.1k|    memcpy(cache, start, len);
 5849|  12.1k|    cache[len] = '\0';
 5850|  12.1k|    PyUnicode_SET_UTF8_LENGTH(unicode, len);
 5851|  12.1k|    PyUnicode_SET_UTF8(unicode, cache);
 5852|  12.1k|    PyBytesWriter_Discard(writer);
 5853|  12.1k|    return 0;
 5854|  12.1k|}
unicodeobject.c:PyUnicode_UTF8_LENGTH:
  134|   274k|{
  135|   274k|    assert(_PyUnicode_CHECK(op));
  ------------------
  |  Branch (135:5): [True: 274k, False: 0]
  ------------------
  136|   274k|    if (PyUnicode_IS_COMPACT_ASCII(op)) {
  ------------------
  |  |  242|   274k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   274k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   274k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:40): [True: 270k, False: 3.46k]
  |  |  ------------------
  ------------------
  137|   270k|         return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   270k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   270k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   270k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (137:17): [True: 270k, False: 0]
  ------------------
  138|   270k|    }
  139|  3.46k|    else {
  140|  3.46k|         return _PyCompactUnicodeObject_CAST(op)->utf8_length;
  ------------------
  |  |  189|  3.46k|    (assert(!(_PyASCIIObject_CAST(op)->state.ascii \
  |  |  190|  3.46k|              && _PyASCIIObject_CAST(op)->state.compact)), \
  |  |  191|  3.46k|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (140:17): [True: 3.46k, False: 0]
  |  Branch (140:17): [True: 0, False: 0]
  |  Branch (140:17): [True: 0, False: 3.46k]
  |  Branch (140:17): [True: 0, False: 0]
  ------------------
  141|  3.46k|    }
  142|   274k|}
unicodeobject.c:PyUnicode_UTF8:
  118|   663k|{
  119|   663k|    assert(_PyUnicode_CHECK(op));
  ------------------
  |  Branch (119:5): [True: 663k, False: 0]
  ------------------
  120|   663k|    if (PyUnicode_IS_COMPACT_ASCII(op)) {
  ------------------
  |  |  242|   663k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   663k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   663k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:40): [True: 624k, False: 39.3k]
  |  |  ------------------
  ------------------
  121|   624k|        return ((char*)(_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |  186|   624k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   624k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   624k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (121:25): [True: 624k, False: 0]
  ------------------
  122|   624k|    }
  123|  39.3k|    else {
  124|  39.3k|         return _PyUnicode_UTF8(op);
  125|  39.3k|    }
  126|   663k|}
unicodeobject.c:unicode_decode_call_errorhandler_writer:
 4441|  2.41k|{
 4442|  2.41k|    static const char *argparse = "Un;decoding error handler must return (str, int) tuple";
 4443|       |
 4444|  2.41k|    PyObject *restuple = NULL;
 4445|  2.41k|    PyObject *repunicode = NULL;
 4446|  2.41k|    Py_ssize_t insize;
 4447|  2.41k|    Py_ssize_t newpos;
 4448|  2.41k|    Py_ssize_t replen;
 4449|  2.41k|    Py_ssize_t remain;
 4450|  2.41k|    PyObject *inputobj = NULL;
 4451|  2.41k|    int need_to_grow = 0;
 4452|  2.41k|    const char *new_inptr;
 4453|       |
 4454|  2.41k|    if (*errorHandler == NULL) {
  ------------------
  |  Branch (4454:9): [True: 2.41k, False: 0]
  ------------------
 4455|  2.41k|        *errorHandler = PyCodec_LookupError(errors);
 4456|  2.41k|        if (*errorHandler == NULL)
  ------------------
  |  Branch (4456:13): [True: 0, False: 2.41k]
  ------------------
 4457|      0|            goto onError;
 4458|  2.41k|    }
 4459|       |
 4460|  2.41k|    make_decode_exception(exceptionObject,
 4461|  2.41k|        encoding,
 4462|  2.41k|        *input, *inend - *input,
 4463|  2.41k|        *startinpos, *endinpos,
 4464|  2.41k|        reason);
 4465|  2.41k|    if (*exceptionObject == NULL)
  ------------------
  |  Branch (4465:9): [True: 0, False: 2.41k]
  ------------------
 4466|      0|        goto onError;
 4467|       |
 4468|  2.41k|    restuple = PyObject_CallOneArg(*errorHandler, *exceptionObject);
 4469|  2.41k|    if (restuple == NULL)
  ------------------
  |  Branch (4469:9): [True: 2.41k, False: 0]
  ------------------
 4470|  2.41k|        goto onError;
 4471|      0|    if (!PyTuple_Check(restuple)) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4471:9): [True: 0, False: 0]
  ------------------
 4472|      0|        PyErr_SetString(PyExc_TypeError, &argparse[3]);
 4473|      0|        goto onError;
 4474|      0|    }
 4475|      0|    if (!PyArg_ParseTuple(restuple, argparse, &repunicode, &newpos))
  ------------------
  |  Branch (4475:9): [True: 0, False: 0]
  ------------------
 4476|      0|        goto onError;
 4477|       |
 4478|       |    /* Copy back the bytes variables, which might have been modified by the
 4479|       |       callback */
 4480|      0|    inputobj = PyUnicodeDecodeError_GetObject(*exceptionObject);
 4481|      0|    if (!inputobj)
  ------------------
  |  Branch (4481:9): [True: 0, False: 0]
  ------------------
 4482|      0|        goto onError;
 4483|      0|    remain = *inend - *input - *endinpos;
 4484|      0|    *input = PyBytes_AS_STRING(inputobj);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4485|      0|    insize = PyBytes_GET_SIZE(inputobj);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4486|      0|    *inend = *input + insize;
 4487|       |    /* we can DECREF safely, as the exception has another reference,
 4488|       |       so the object won't go away. */
 4489|      0|    Py_DECREF(inputobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4490|       |
 4491|      0|    if (newpos<0)
  ------------------
  |  Branch (4491:9): [True: 0, False: 0]
  ------------------
 4492|      0|        newpos = insize+newpos;
 4493|      0|    if (newpos<0 || newpos>insize) {
  ------------------
  |  Branch (4493:9): [True: 0, False: 0]
  |  Branch (4493:21): [True: 0, False: 0]
  ------------------
 4494|      0|        PyErr_Format(PyExc_IndexError, "position %zd from error handler out of bounds", newpos);
 4495|      0|        goto onError;
 4496|      0|    }
 4497|       |
 4498|      0|    replen = PyUnicode_GET_LENGTH(repunicode);
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4499|      0|    if (replen > 1) {
  ------------------
  |  Branch (4499:9): [True: 0, False: 0]
  ------------------
 4500|      0|        writer->min_length += replen - 1;
 4501|      0|        need_to_grow = 1;
 4502|      0|    }
 4503|      0|    new_inptr = *input + newpos;
 4504|      0|    if (*inend - new_inptr > remain) {
  ------------------
  |  Branch (4504:9): [True: 0, False: 0]
  ------------------
 4505|       |        /* We don't know the decoding algorithm here so we make the worst
 4506|       |           assumption that one byte decodes to one unicode character.
 4507|       |           If unfortunately one byte could decode to more unicode characters,
 4508|       |           the decoder may write out-of-bound then.  Is it possible for the
 4509|       |           algorithms using this function? */
 4510|      0|        writer->min_length += *inend - new_inptr - remain;
 4511|      0|        need_to_grow = 1;
 4512|      0|    }
 4513|      0|    if (need_to_grow) {
  ------------------
  |  Branch (4513:9): [True: 0, False: 0]
  ------------------
 4514|      0|        writer->overallocate = 1;
 4515|      0|        if (_PyUnicodeWriter_Prepare(writer, writer->min_length - writer->pos,
  ------------------
  |  Branch (4515:13): [True: 0, False: 0]
  ------------------
 4516|      0|                            PyUnicode_MAX_CHAR_VALUE(repunicode)) == -1)
  ------------------
  |  |  406|      0|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4517|      0|            goto onError;
 4518|      0|    }
 4519|      0|    if (_PyUnicodeWriter_WriteStr(writer, repunicode) == -1)
  ------------------
  |  Branch (4519:9): [True: 0, False: 0]
  ------------------
 4520|      0|        goto onError;
 4521|       |
 4522|      0|    *endinpos = newpos;
 4523|      0|    *inptr = new_inptr;
 4524|       |
 4525|       |    /* we made it! */
 4526|      0|    Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4527|      0|    return 0;
 4528|       |
 4529|  2.41k|  onError:
 4530|  2.41k|    Py_XDECREF(restuple);
  ------------------
  |  |  621|  2.41k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4531|  2.41k|    return -1;
 4532|      0|}
unicodeobject.c:make_decode_exception:
 4288|  2.41k|{
 4289|  2.41k|    if (*exceptionObject == NULL) {
  ------------------
  |  Branch (4289:9): [True: 2.41k, False: 0]
  ------------------
 4290|  2.41k|        *exceptionObject = PyUnicodeDecodeError_Create(
 4291|  2.41k|            encoding, input, length, startpos, endpos, reason);
 4292|  2.41k|    }
 4293|      0|    else {
 4294|      0|        if (PyUnicodeDecodeError_SetStart(*exceptionObject, startpos))
  ------------------
  |  Branch (4294:13): [True: 0, False: 0]
  ------------------
 4295|      0|            goto onError;
 4296|      0|        if (PyUnicodeDecodeError_SetEnd(*exceptionObject, endpos))
  ------------------
  |  Branch (4296:13): [True: 0, False: 0]
  ------------------
 4297|      0|            goto onError;
 4298|      0|        if (PyUnicodeDecodeError_SetReason(*exceptionObject, reason))
  ------------------
  |  Branch (4298:13): [True: 0, False: 0]
  ------------------
 4299|      0|            goto onError;
 4300|      0|    }
 4301|  2.41k|    return;
 4302|       |
 4303|  2.41k|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|  1.69M|{
 5323|  1.69M|    if (size == 0) {
  ------------------
  |  Branch (5323:9): [True: 136k, False: 1.55M]
  ------------------
 5324|   136k|        if (consumed) {
  ------------------
  |  Branch (5324:13): [True: 0, False: 136k]
  ------------------
 5325|      0|            *consumed = 0;
 5326|      0|        }
 5327|   136k|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|   136k|    do {                             \
  |  |  366|   136k|        return _PyUnicode_GetEmpty();\
  |  |  367|   136k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5328|   136k|    }
 5329|       |
 5330|       |    /* ASCII is equivalent to the first 128 ordinals in Unicode. */
 5331|  1.55M|    if (size == 1 && (unsigned char)s[0] < 128) {
  ------------------
  |  Branch (5331:9): [True: 144k, False: 1.41M]
  |  Branch (5331:22): [True: 143k, False: 355]
  ------------------
 5332|   143k|        if (consumed) {
  ------------------
  |  Branch (5332:13): [True: 0, False: 143k]
  ------------------
 5333|      0|            *consumed = 1;
 5334|      0|        }
 5335|   143k|        return get_latin1_char((unsigned char)s[0]);
 5336|   143k|    }
 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|  1.41M|    if (PY_SSIZE_T_MAX - sizeof(PyCompactUnicodeObject) < (size_t)size) {
  ------------------
  |  |  137|  1.41M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5340:9): [True: 0, False: 1.41M]
  ------------------
 5341|      0|        PyErr_NoMemory();
 5342|      0|        return NULL;
 5343|      0|    }
 5344|       |
 5345|  1.41M|    const char *starts = s;
 5346|  1.41M|    const char *end = s + size;
 5347|       |
 5348|  1.41M|    Py_ssize_t pos = find_first_nonascii((const unsigned char*)starts, (const unsigned char*)end);
 5349|  1.41M|    if (pos == size) {  // fast path: ASCII string.
  ------------------
  |  Branch (5349:9): [True: 1.27M, False: 135k]
  ------------------
 5350|  1.27M|        PyObject *u = PyUnicode_New(size, 127);
 5351|  1.27M|        if (u == NULL) {
  ------------------
  |  Branch (5351:13): [True: 0, False: 1.27M]
  ------------------
 5352|      0|            return NULL;
 5353|      0|        }
 5354|  1.27M|        memcpy(PyUnicode_1BYTE_DATA(u), s, size);
  ------------------
  |  |  292|  1.27M|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.27M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5355|  1.27M|        if (consumed) {
  ------------------
  |  Branch (5355:13): [True: 0, False: 1.27M]
  ------------------
 5356|      0|            *consumed = size;
 5357|      0|        }
 5358|  1.27M|        return u;
 5359|  1.27M|    }
 5360|       |
 5361|   135k|    int maxchr = 127;
 5362|   135k|    Py_ssize_t maxsize = size;
 5363|       |
 5364|   135k|    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|   135k|    if (error_handler == _Py_ERROR_STRICT && !consumed && ch >= 0xc2) {
  ------------------
  |  Branch (5370:9): [True: 127k, False: 7.59k]
  |  Branch (5370:46): [True: 127k, False: 0]
  |  Branch (5370:59): [True: 127k, False: 414]
  ------------------
 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|   127k|        maxsize = utf8_count_codepoints((const unsigned char *)s, (const unsigned char *)end);
 5377|   127k|        if (ch < 0xc4) { // latin1
  ------------------
  |  Branch (5377:13): [True: 53.0k, False: 74.4k]
  ------------------
 5378|  53.0k|            maxchr = 0xff;
 5379|  53.0k|        }
 5380|  74.4k|        else if (ch < 0xf0) { // ucs2
  ------------------
  |  Branch (5380:18): [True: 66.3k, False: 8.15k]
  ------------------
 5381|  66.3k|            maxchr = 0xffff;
 5382|  66.3k|        }
 5383|  8.15k|        else { // ucs4
 5384|  8.15k|            maxchr = 0x10ffff;
 5385|  8.15k|        }
 5386|   127k|    }
 5387|   135k|    PyObject *u = PyUnicode_New(maxsize, maxchr);
 5388|   135k|    if (!u) {
  ------------------
  |  Branch (5388:9): [True: 0, False: 135k]
  ------------------
 5389|      0|        return NULL;
 5390|      0|    }
 5391|       |
 5392|       |    // Use _PyUnicodeWriter after fast path is failed.
 5393|   135k|    _PyUnicodeWriter writer;
 5394|   135k|    _PyUnicodeWriter_InitWithBuffer(&writer, u);
 5395|   135k|    if (maxchr <= 255) {
  ------------------
  |  Branch (5395:9): [True: 61.0k, False: 74.4k]
  ------------------
 5396|  61.0k|        memcpy(PyUnicode_1BYTE_DATA(u), s, pos);
  ------------------
  |  |  292|  61.0k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  61.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5397|  61.0k|        s += pos;
 5398|  61.0k|        writer.pos = pos;
 5399|  61.0k|    }
 5400|       |
 5401|   135k|    if (unicode_decode_utf8_impl(&writer, starts, s, end,
  ------------------
  |  Branch (5401:9): [True: 1.89k, False: 133k]
  ------------------
 5402|   135k|                                 error_handler, errors,
 5403|   135k|                                 consumed) < 0) {
 5404|  1.89k|        _PyUnicodeWriter_Dealloc(&writer);
 5405|  1.89k|        return NULL;
 5406|  1.89k|    }
 5407|   133k|    return _PyUnicodeWriter_Finish(&writer);
 5408|   135k|}
unicodeobject.c:find_first_nonascii:
 5039|  1.64M|{
 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|  1.64M|    const unsigned char *p = start;
 5045|       |
 5046|  1.64M|    if (end - start >= SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|  1.64M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5046:9): [True: 402k, False: 1.24M]
  ------------------
 5047|       |        // Avoid unaligned read.
 5048|   402k|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5049|   402k|        size_t u;
 5050|   402k|        memcpy(&u, p, sizeof(size_t));
 5051|   402k|        u &= ASCII_CHAR_MASK;
  ------------------
  |  | 4945|   402k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5052|   402k|        if (u) {
  ------------------
  |  Branch (5052:13): [True: 64.0k, False: 337k]
  ------------------
 5053|  64.0k|            return (ctz(u) - 7) / 8;
 5054|  64.0k|        }
 5055|   337k|        p = _Py_ALIGN_DOWN(p + SIZEOF_SIZE_T, SIZEOF_SIZE_T);
  ------------------
  |  |  252|   337k|#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|   482k|        for (; end - p >= 8 * SIZEOF_SIZE_T; p += 8 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   482k|#define SIZEOF_SIZE_T 8
  ------------------
                      for (; end - p >= 8 * SIZEOF_SIZE_T; p += 8 * SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   144k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5067:16): [True: 147k, False: 334k]
  ------------------
 5068|   147k|            const size_t *w = (const size_t *)p;
 5069|   147k|            if ((w[0] | w[1] | w[2] | w[3] |
  ------------------
  |  Branch (5069:17): [True: 3.50k, False: 144k]
  ------------------
 5070|   147k|                 w[4] | w[5] | w[6] | w[7]) & ASCII_CHAR_MASK)
  ------------------
  |  | 4945|   147k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5071|  3.50k|            {
 5072|  3.50k|                break;
 5073|  3.50k|            }
 5074|   147k|        }
 5075|       |
 5076|   337k|        const unsigned char *e = end - SIZEOF_SIZE_T;
  ------------------
  |  | 1813|   337k|#define SIZEOF_SIZE_T 8
  ------------------
 5077|   563k|        while (p <= e) {
  ------------------
  |  Branch (5077:16): [True: 237k, False: 326k]
  ------------------
 5078|   237k|            size_t u = (*(const size_t *)p) & ASCII_CHAR_MASK;
  ------------------
  |  | 4945|   237k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5079|   237k|            if (u) {
  ------------------
  |  Branch (5079:17): [True: 11.5k, False: 225k]
  ------------------
 5080|  11.5k|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5081|  11.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|  11.5k|            }
 5088|   225k|            p += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|   225k|#define SIZEOF_SIZE_T 8
  ------------------
 5089|   225k|        }
 5090|   337k|    }
 5091|  1.57M|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5092|  1.64M|    assert((end - p) < SIZEOF_SIZE_T);
  ------------------
  |  Branch (5092:5): [True: 1.57M, False: 0]
  ------------------
 5093|       |    // we can not use *(const size_t*)p to avoid buffer overrun.
 5094|  1.57M|    size_t u = load_unaligned(p, end - p) & ASCII_CHAR_MASK;
  ------------------
  |  | 4945|  1.57M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5095|  1.57M|    if (u) {
  ------------------
  |  Branch (5095:9): [True: 59.9k, False: 1.51M]
  ------------------
 5096|  59.9k|        return p - start + (ctz(u) - 7) / 8;
 5097|  59.9k|    }
 5098|  1.51M|    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|  1.57M|}
unicodeobject.c:ctz:
 4961|   135k|{
 4962|   135k|    return __builtin_ctzll((unsigned long long)v);
 4963|   135k|}
unicodeobject.c:load_unaligned:
 4985|  1.57M|{
 4986|  1.57M|    union {
 4987|  1.57M|        size_t s;
 4988|  1.57M|        unsigned char b[SIZEOF_SIZE_T];
 4989|  1.57M|    } u;
 4990|  1.57M|    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|  1.57M|    switch (size) {
 4995|      0|    default:
  ------------------
  |  Branch (4995:5): [True: 0, False: 1.57M]
  ------------------
 4996|      0|#if SIZEOF_SIZE_T == 8
 4997|      0|    case 8:
  ------------------
  |  Branch (4997:5): [True: 0, False: 1.57M]
  ------------------
 4998|      0|        u.b[7] = p[7];
 4999|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5000|   169k|    case 7:
  ------------------
  |  Branch (5000:5): [True: 169k, False: 1.40M]
  ------------------
 5001|   169k|        u.b[6] = p[6];
 5002|   169k|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|   169k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5003|   210k|    case 6:
  ------------------
  |  Branch (5003:5): [True: 41.7k, False: 1.53M]
  ------------------
 5004|   210k|        u.b[5] = p[5];
 5005|   210k|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|   210k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5006|   306k|    case 5:
  ------------------
  |  Branch (5006:5): [True: 95.7k, False: 1.47M]
  ------------------
 5007|   306k|        u.b[4] = p[4];
 5008|   306k|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|   306k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5009|   306k|#endif
 5010|   402k|    case 4:
  ------------------
  |  Branch (5010:5): [True: 96.1k, False: 1.47M]
  ------------------
 5011|   402k|        u.b[3] = p[3];
 5012|   402k|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|   402k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5013|   556k|    case 3:
  ------------------
  |  Branch (5013:5): [True: 153k, False: 1.42M]
  ------------------
 5014|   556k|        u.b[2] = p[2];
 5015|   556k|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|   556k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5016|  1.41M|    case 2:
  ------------------
  |  Branch (5016:5): [True: 861k, False: 712k]
  ------------------
 5017|  1.41M|        u.b[1] = p[1];
 5018|  1.41M|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|  1.41M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5019|  1.48M|    case 1:
  ------------------
  |  Branch (5019:5): [True: 64.9k, False: 1.50M]
  ------------------
 5020|  1.48M|        u.b[0] = p[0];
 5021|  1.48M|        break;
 5022|  91.4k|    case 0:
  ------------------
  |  Branch (5022:5): [True: 91.4k, False: 1.48M]
  ------------------
 5023|  91.4k|        break;
 5024|  1.57M|    }
 5025|  1.57M|    return u.s;
 5026|  1.57M|}
unicodeobject.c:utf8_count_codepoints:
 5127|   127k|{
 5128|   127k|    Py_ssize_t len = 0;
 5129|       |
 5130|   127k|    if (end - s >= SIZEOF_SIZE_T) {
  ------------------
  |  | 1813|   127k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5130:9): [True: 71.9k, False: 55.6k]
  ------------------
 5131|   274k|        while (!_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  257|   274k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (5131:16): [True: 202k, False: 71.9k]
  ------------------
 5132|   202k|            len += scalar_utf8_start_char(*s++);
 5133|   202k|        }
 5134|       |
 5135|   132k|        while (s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1813|   132k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5135:16): [True: 60.3k, False: 71.9k]
  ------------------
 5136|  60.3k|            const unsigned char *e = end;
 5137|  60.3k|            if (e - s > SIZEOF_SIZE_T * 255) {
  ------------------
  |  | 1813|  60.3k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5137:17): [True: 1.57k, False: 58.7k]
  ------------------
 5138|  1.57k|                e = s + SIZEOF_SIZE_T * 255;
  ------------------
  |  | 1813|  1.57k|#define SIZEOF_SIZE_T 8
  ------------------
 5139|  1.57k|            }
 5140|  60.3k|            Py_ssize_t vstart = 0;
 5141|  1.02M|            while (s + SIZEOF_SIZE_T <= e) {
  ------------------
  |  | 1813|  1.02M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5141:20): [True: 969k, False: 60.3k]
  ------------------
 5142|   969k|                size_t v = *(size_t*)s;
 5143|   969k|                size_t vs = vector_utf8_start_chars(v);
 5144|   969k|                vstart += vs;
 5145|   969k|                s += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|   969k|#define SIZEOF_SIZE_T 8
  ------------------
 5146|   969k|            }
 5147|  60.3k|            vstart = (vstart & VECTOR_00FF) + ((vstart >> 8) & VECTOR_00FF);
  ------------------
  |  | 4948|  60.3k|# define VECTOR_00FF     0x00ff00ff00ff00ffULL
  ------------------
                          vstart = (vstart & VECTOR_00FF) + ((vstart >> 8) & VECTOR_00FF);
  ------------------
  |  | 4948|  60.3k|# define VECTOR_00FF     0x00ff00ff00ff00ffULL
  ------------------
 5148|  60.3k|            vstart += vstart >> 16;
 5149|  60.3k|#if SIZEOF_SIZE_T == 8
 5150|  60.3k|            vstart += vstart >> 32;
 5151|  60.3k|#endif
 5152|  60.3k|            len += vstart & 0x7ff;
 5153|  60.3k|        }
 5154|  71.9k|    }
 5155|   578k|    while (s < end) {
  ------------------
  |  Branch (5155:12): [True: 450k, False: 127k]
  ------------------
 5156|   450k|        len += scalar_utf8_start_char(*s++);
 5157|   450k|    }
 5158|   127k|    return len;
 5159|   127k|}
unicodeobject.c:scalar_utf8_start_char:
 5112|   653k|{
 5113|       |    // 0xxxxxxx or 11xxxxxx are first byte.
 5114|   653k|    return (~ch >> 7 | ch >> 6) & 1;
 5115|   653k|}
unicodeobject.c:vector_utf8_start_chars:
 5119|   969k|{
 5120|   969k|    return ((~v >> 7) | (v >> 6)) & VECTOR_0101;
  ------------------
  |  | 4947|   969k|# define VECTOR_0101     0x0101010101010101ULL
  ------------------
 5121|   969k|}
unicodeobject.c:ascii_decode:
 5163|   316k|{
 5164|   316k|#if SIZEOF_SIZE_T <= SIZEOF_VOID_P
 5165|   316k|    if (_Py_IS_ALIGNED(start, ALIGNOF_SIZE_T)
  ------------------
  |  |  257|   633k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 95.7k, False: 220k]
  |  |  ------------------
  ------------------
 5166|  95.7k|        && _Py_IS_ALIGNED(dest, ALIGNOF_SIZE_T))
  ------------------
  |  |  257|  95.7k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (257:30): [True: 79.9k, False: 15.7k]
  |  |  ------------------
  ------------------
 5167|  79.9k|    {
 5168|       |        /* Fast path, see in STRINGLIB(utf8_decode) for
 5169|       |           an explanation. */
 5170|  79.9k|        const char *p = start;
 5171|  79.9k|        Py_UCS1 *q = dest;
 5172|   215k|        while (p + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1813|   215k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5172:16): [True: 135k, False: 79.8k]
  ------------------
 5173|   135k|            size_t value = *(const size_t *) p;
 5174|   135k|            if (value & ASCII_CHAR_MASK)
  ------------------
  |  | 4945|   135k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (5174:17): [True: 143, False: 135k]
  ------------------
 5175|    143|                break;
 5176|   135k|            *((size_t *)q) = value;
 5177|   135k|            p += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|   135k|#define SIZEOF_SIZE_T 8
  ------------------
 5178|   135k|            q += SIZEOF_SIZE_T;
  ------------------
  |  | 1813|   135k|#define SIZEOF_SIZE_T 8
  ------------------
 5179|   135k|        }
 5180|   324k|        while (p < end) {
  ------------------
  |  Branch (5180:16): [True: 244k, False: 79.7k]
  ------------------
 5181|   244k|            if ((unsigned char)*p & 0x80)
  ------------------
  |  Branch (5181:17): [True: 216, False: 244k]
  ------------------
 5182|    216|                break;
 5183|   244k|            *q++ = *p++;
 5184|   244k|        }
 5185|  79.9k|        return p - start;
 5186|  79.9k|    }
 5187|   236k|#endif
 5188|   236k|    Py_ssize_t pos = find_first_nonascii((const unsigned char*)start,
 5189|   236k|                                         (const unsigned char*)end);
 5190|   236k|    memcpy(dest, start, pos);
 5191|   236k|    return pos;
 5192|   316k|}
unicodeobject.c:unicode_decode_utf8_impl:
 5200|   147k|{
 5201|   147k|    Py_ssize_t startinpos, endinpos;
 5202|   147k|    const char *errmsg = "";
 5203|   147k|    PyObject *error_handler_obj = NULL;
 5204|   147k|    PyObject *exc = NULL;
 5205|       |
 5206|   201k|    while (s < end) {
  ------------------
  |  Branch (5206:12): [True: 197k, False: 4.23k]
  ------------------
 5207|   197k|        Py_UCS4 ch;
 5208|   197k|        int kind = writer->kind;
 5209|       |
 5210|   197k|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (5210:13): [True: 62.3k, False: 135k]
  ------------------
 5211|  62.3k|            if (PyUnicode_IS_ASCII(writer->buffer))
  ------------------
  |  |  228|  62.3k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 8.01k, False: 54.3k]
  |  |  ------------------
  ------------------
 5212|  8.01k|                ch = asciilib_utf8_decode(&s, end, writer->data, &writer->pos);
 5213|  54.3k|            else
 5214|  54.3k|                ch = ucs1lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5215|   135k|        } else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (5215:20): [True: 97.9k, False: 37.2k]
  ------------------
 5216|  97.9k|            ch = ucs2lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5217|  97.9k|        } else {
 5218|  37.2k|            assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (5218:13): [True: 37.2k, False: 0]
  ------------------
 5219|  37.2k|            ch = ucs4lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5220|  37.2k|        }
 5221|       |
 5222|   197k|        switch (ch) {
 5223|   142k|        case 0:
  ------------------
  |  Branch (5223:9): [True: 142k, False: 55.2k]
  ------------------
 5224|   142k|            if (s == end || consumed)
  ------------------
  |  Branch (5224:17): [True: 141k, False: 1.24k]
  |  Branch (5224:29): [True: 1, False: 1.24k]
  ------------------
 5225|   141k|                goto End;
 5226|  1.24k|            errmsg = "unexpected end of data";
 5227|  1.24k|            startinpos = s - starts;
 5228|  1.24k|            endinpos = end - starts;
 5229|  1.24k|            break;
 5230|  21.1k|        case 1:
  ------------------
  |  Branch (5230:9): [True: 21.1k, False: 176k]
  ------------------
 5231|  21.1k|            errmsg = "invalid start byte";
 5232|  21.1k|            startinpos = s - starts;
 5233|  21.1k|            endinpos = startinpos + 1;
 5234|  21.1k|            break;
 5235|  17.5k|        case 2:
  ------------------
  |  Branch (5235:9): [True: 17.5k, False: 180k]
  ------------------
 5236|  17.5k|            if (consumed && (unsigned char)s[0] == 0xED && end - s == 2
  ------------------
  |  Branch (5236:17): [True: 0, False: 17.5k]
  |  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|  17.5k|            _Py_FALLTHROUGH;
  ------------------
  |  |  667|  17.5k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5243|  19.8k|        case 3:
  ------------------
  |  Branch (5243:9): [True: 2.23k, False: 195k]
  ------------------
 5244|  20.8k|        case 4:
  ------------------
  |  Branch (5244:9): [True: 1.04k, False: 196k]
  ------------------
 5245|  20.8k|            errmsg = "invalid continuation byte";
 5246|  20.8k|            startinpos = s - starts;
 5247|  20.8k|            endinpos = startinpos + ch - 1;
 5248|  20.8k|            break;
 5249|  13.2k|        default:
  ------------------
  |  Branch (5249:9): [True: 13.2k, False: 184k]
  ------------------
 5250|       |            // ch doesn't fit into kind, so change the buffer kind to write
 5251|       |            // the character
 5252|  13.2k|            if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0)
  ------------------
  |  Branch (5252:17): [True: 0, False: 13.2k]
  ------------------
 5253|      0|                goto onError;
 5254|  13.2k|            continue;
 5255|   197k|        }
 5256|       |
 5257|  43.2k|        if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (5257:13): [True: 2.47k, False: 40.7k]
  ------------------
 5258|  2.47k|            error_handler = _Py_GetErrorHandler(errors);
 5259|       |
 5260|  43.2k|        switch (error_handler) {
 5261|      0|        case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (5261:9): [True: 0, False: 43.2k]
  ------------------
 5262|      0|            s += (endinpos - startinpos);
 5263|      0|            break;
 5264|       |
 5265|  41.3k|        case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (5265:9): [True: 41.3k, False: 1.89k]
  ------------------
 5266|  41.3k|            if (_PyUnicodeWriter_WriteCharInline(writer, 0xfffd) < 0)
  ------------------
  |  Branch (5266:17): [True: 0, False: 41.3k]
  ------------------
 5267|      0|                goto onError;
 5268|  41.3k|            s += (endinpos - startinpos);
 5269|  41.3k|            break;
 5270|       |
 5271|      0|        case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5271:9): [True: 0, False: 43.2k]
  ------------------
 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|  1.89k|        default:
  ------------------
  |  Branch (5288:9): [True: 1.89k, False: 41.3k]
  ------------------
 5289|  1.89k|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (5289:17): [True: 1.89k, False: 0]
  ------------------
 5290|  1.89k|                    errors, &error_handler_obj,
 5291|  1.89k|                    "utf-8", errmsg,
 5292|  1.89k|                    &starts, &end, &startinpos, &endinpos, &exc, &s,
 5293|  1.89k|                    writer)) {
 5294|  1.89k|                goto onError;
 5295|  1.89k|            }
 5296|       |
 5297|      0|            if (_PyUnicodeWriter_Prepare(writer, end - s, 127) < 0) {
  ------------------
  |  Branch (5297:17): [True: 0, False: 0]
  ------------------
 5298|      0|                goto onError;
 5299|      0|            }
 5300|  43.2k|        }
 5301|  43.2k|    }
 5302|       |
 5303|   145k|End:
 5304|   145k|    if (consumed)
  ------------------
  |  Branch (5304:9): [True: 1, False: 145k]
  ------------------
 5305|      1|        *consumed = s - starts;
 5306|       |
 5307|   145k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|   145k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   145k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   145k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5308|   145k|    Py_XDECREF(exc);
  ------------------
  |  |  621|   145k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   145k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   145k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5309|   145k|    return 0;
 5310|       |
 5311|  1.89k|onError:
 5312|  1.89k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|  1.89k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5313|  1.89k|    Py_XDECREF(exc);
  ------------------
  |  |  621|  1.89k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5314|  1.89k|    return -1;
 5315|   147k|}
unicodeobject.c:unicode_encode_utf8:
 5762|  6.52k|{
 5763|  6.52k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  6.52k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.52k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (5763:9): [True: 0, False: 6.52k]
  ------------------
 5764|      0|        PyErr_BadArgument();
 5765|      0|        return NULL;
 5766|      0|    }
 5767|       |
 5768|  6.52k|    if (PyUnicode_UTF8(unicode))
  ------------------
  |  Branch (5768:9): [True: 6.32k, False: 205]
  ------------------
 5769|  6.32k|        return PyBytes_FromStringAndSize(PyUnicode_UTF8(unicode),
 5770|  6.32k|                                         PyUnicode_UTF8_LENGTH(unicode));
 5771|       |
 5772|    205|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|    205|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    410|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 205, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5773|    205|    const void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|    205|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    205|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    205|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5774|    205|    Py_ssize_t size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|    205|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    205|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    205|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5775|       |
 5776|    205|    PyBytesWriter *writer;
 5777|    205|    char *end;
 5778|       |
 5779|    205|    switch (kind) {
 5780|      0|    default:
  ------------------
  |  Branch (5780:5): [True: 0, False: 205]
  ------------------
 5781|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5782|     26|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (5782:5): [True: 26, False: 179]
  ------------------
 5783|       |        /* the string cannot be ASCII, or PyUnicode_UTF8() would be set */
 5784|     26|        assert(!PyUnicode_IS_ASCII(unicode));
  ------------------
  |  Branch (5784:9): [True: 26, False: 0]
  ------------------
 5785|     26|        writer = ucs1lib_utf8_encoder(unicode, data, size,
 5786|     26|                                      error_handler, errors, &end);
 5787|     26|        break;
 5788|    113|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (5788:5): [True: 113, False: 92]
  ------------------
 5789|    113|        writer = ucs2lib_utf8_encoder(unicode, data, size,
 5790|    113|                                      error_handler, errors, &end);
 5791|    113|        break;
 5792|     66|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (5792:5): [True: 66, False: 139]
  ------------------
 5793|     66|        writer = ucs4lib_utf8_encoder(unicode, data, size,
 5794|     66|                                      error_handler, errors, &end);
 5795|     66|        break;
 5796|    205|    }
 5797|       |
 5798|    205|    if (writer == NULL) {
  ------------------
  |  Branch (5798:9): [True: 0, False: 205]
  ------------------
 5799|      0|        PyBytesWriter_Discard(writer);
 5800|      0|        return NULL;
 5801|      0|    }
 5802|    205|    return PyBytesWriter_FinishWithPointer(writer, end);
 5803|    205|}
unicodeobject.c:raise_encode_exception:
 7198|  29.6k|{
 7199|  29.6k|    make_encode_exception(exceptionObject,
 7200|  29.6k|                          encoding, unicode, startpos, endpos, reason);
 7201|  29.6k|    if (*exceptionObject != NULL)
  ------------------
  |  Branch (7201:9): [True: 29.6k, False: 0]
  ------------------
 7202|  29.6k|        PyCodec_StrictErrors(*exceptionObject);
 7203|  29.6k|}
unicodeobject.c:make_encode_exception:
 7172|  29.6k|{
 7173|  29.6k|    if (*exceptionObject == NULL) {
  ------------------
  |  Branch (7173:9): [True: 29.6k, False: 0]
  ------------------
 7174|  29.6k|        *exceptionObject = PyObject_CallFunction(
 7175|  29.6k|            PyExc_UnicodeEncodeError, "sOnns",
 7176|  29.6k|            encoding, unicode, startpos, endpos, reason);
 7177|  29.6k|    }
 7178|      0|    else {
 7179|      0|        if (PyUnicodeEncodeError_SetStart(*exceptionObject, startpos))
  ------------------
  |  Branch (7179:13): [True: 0, False: 0]
  ------------------
 7180|      0|            goto onError;
 7181|      0|        if (PyUnicodeEncodeError_SetEnd(*exceptionObject, endpos))
  ------------------
  |  Branch (7181:13): [True: 0, False: 0]
  ------------------
 7182|      0|            goto onError;
 7183|      0|        if (PyUnicodeEncodeError_SetReason(*exceptionObject, reason))
  ------------------
  |  Branch (7183:13): [True: 0, False: 0]
  ------------------
 7184|      0|            goto onError;
 7185|      0|        return;
 7186|      0|      onError:
 7187|       |        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]
  |  |  ------------------
  ------------------
 7188|      0|    }
 7189|  29.6k|}
unicodeobject.c:unicode_encode_call_errorhandler:
 7216|     38|{
 7217|     38|    static const char *argparse = "On;encoding error handler must return (str/bytes, int) tuple";
 7218|     38|    Py_ssize_t len;
 7219|     38|    PyObject *restuple;
 7220|     38|    PyObject *resunicode;
 7221|       |
 7222|     38|    if (*errorHandler == NULL) {
  ------------------
  |  Branch (7222:9): [True: 38, False: 0]
  ------------------
 7223|     38|        *errorHandler = PyCodec_LookupError(errors);
 7224|     38|        if (*errorHandler == NULL)
  ------------------
  |  Branch (7224:13): [True: 0, False: 38]
  ------------------
 7225|      0|            return NULL;
 7226|     38|    }
 7227|       |
 7228|     38|    len = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7229|       |
 7230|     38|    make_encode_exception(exceptionObject,
 7231|     38|                          encoding, unicode, startpos, endpos, reason);
 7232|     38|    if (*exceptionObject == NULL)
  ------------------
  |  Branch (7232:9): [True: 0, False: 38]
  ------------------
 7233|      0|        return NULL;
 7234|       |
 7235|     38|    restuple = PyObject_CallOneArg(*errorHandler, *exceptionObject);
 7236|     38|    if (restuple == NULL)
  ------------------
  |  Branch (7236:9): [True: 38, False: 0]
  ------------------
 7237|     38|        return NULL;
 7238|      0|    if (!PyTuple_Check(restuple)) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7238:9): [True: 0, False: 0]
  ------------------
 7239|      0|        PyErr_SetString(PyExc_TypeError, &argparse[3]);
 7240|      0|        Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7241|      0|        return NULL;
 7242|      0|    }
 7243|      0|    if (!PyArg_ParseTuple(restuple, argparse,
  ------------------
  |  Branch (7243:9): [True: 0, False: 0]
  ------------------
 7244|      0|                          &resunicode, newpos)) {
 7245|      0|        Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7246|      0|        return NULL;
 7247|      0|    }
 7248|      0|    if (!PyUnicode_Check(resunicode) && !PyBytes_Check(resunicode)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyUnicode_Check(resunicode) && !PyBytes_Check(resunicode)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7248:9): [True: 0, False: 0]
  |  Branch (7248:41): [True: 0, False: 0]
  ------------------
 7249|      0|        PyErr_SetString(PyExc_TypeError, &argparse[3]);
 7250|      0|        Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7251|      0|        return NULL;
 7252|      0|    }
 7253|      0|    if (*newpos<0)
  ------------------
  |  Branch (7253:9): [True: 0, False: 0]
  ------------------
 7254|      0|        *newpos = len + *newpos;
 7255|      0|    if (*newpos<0 || *newpos>len) {
  ------------------
  |  Branch (7255:9): [True: 0, False: 0]
  |  Branch (7255:22): [True: 0, False: 0]
  ------------------
 7256|      0|        PyErr_Format(PyExc_IndexError, "position %zd from error handler out of bounds", *newpos);
 7257|      0|        Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7258|      0|        return NULL;
 7259|      0|    }
 7260|      0|    Py_INCREF(resunicode);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7261|      0|    Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7262|      0|    return resunicode;
 7263|      0|}
unicodeobject.c:unicode_encode_ucs1:
 7269|  29.6k|{
 7270|       |    /* input state */
 7271|  29.6k|    Py_ssize_t pos=0, size;
 7272|  29.6k|    int kind;
 7273|  29.6k|    const void *data;
 7274|  29.6k|    const char *encoding = (limit == 256) ? "latin-1" : "ascii";
  ------------------
  |  Branch (7274:28): [True: 0, False: 29.6k]
  ------------------
 7275|  29.6k|    const char *reason = (limit == 256) ? "ordinal not in range(256)" : "ordinal not in range(128)";
  ------------------
  |  Branch (7275:26): [True: 0, False: 29.6k]
  ------------------
 7276|  29.6k|    PyObject *error_handler_obj = NULL;
 7277|  29.6k|    PyObject *exc = NULL;
 7278|  29.6k|    _Py_error_handler error_handler = _Py_ERROR_UNKNOWN;
 7279|  29.6k|    PyObject *rep = NULL;
 7280|       |
 7281|  29.6k|    size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|  29.6k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7282|  29.6k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  29.6k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  59.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 29.6k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7283|  29.6k|    data = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|  29.6k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7284|       |    /* allocate enough for a simple encoding without
 7285|       |       replacements, if we need more, we'll resize */
 7286|  29.6k|    if (size == 0)
  ------------------
  |  Branch (7286:9): [True: 0, False: 29.6k]
  ------------------
 7287|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 7288|       |
 7289|       |    /* output object */
 7290|  29.6k|    PyBytesWriter *writer = PyBytesWriter_Create(size);
 7291|  29.6k|    if (writer == NULL) {
  ------------------
  |  Branch (7291:9): [True: 0, False: 29.6k]
  ------------------
 7292|      0|        return NULL;
 7293|      0|    }
 7294|       |    /* pointer into the output */
 7295|  29.6k|    char *str = PyBytesWriter_GetData(writer);
 7296|       |
 7297|  43.3k|    while (pos < size) {
  ------------------
  |  Branch (7297:12): [True: 43.3k, False: 0]
  ------------------
 7298|  43.3k|        Py_UCS4 ch = PyUnicode_READ(kind, data, pos);
  ------------------
  |  |  355|  43.3k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  43.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  43.3k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  43.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  43.3k|                   (index))
  ------------------
 7299|       |
 7300|       |        /* can we encode this? */
 7301|  43.3k|        if (ch < limit) {
  ------------------
  |  Branch (7301:13): [True: 13.7k, False: 29.6k]
  ------------------
 7302|       |            /* no overflow check, because we know that the space is enough */
 7303|  13.7k|            *str++ = (char)ch;
 7304|  13.7k|            ++pos;
 7305|  13.7k|        }
 7306|  29.6k|        else {
 7307|  29.6k|            Py_ssize_t newpos, i;
 7308|       |            /* startpos for collecting unencodable chars */
 7309|  29.6k|            Py_ssize_t collstart = pos;
 7310|  29.6k|            Py_ssize_t collend = collstart + 1;
 7311|       |            /* find all unecodable characters */
 7312|       |
 7313|   321k|            while ((collend < size) && (PyUnicode_READ(kind, data, collend) >= limit))
  ------------------
  |  |  355|   296k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   296k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   296k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   296k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   296k|                   (index))
  ------------------
  |  Branch (7313:20): [True: 296k, False: 24.8k]
  |  Branch (7313:40): [True: 291k, False: 4.78k]
  ------------------
 7314|   291k|                ++collend;
 7315|       |
 7316|       |            /* Only overallocate the buffer if it's not the last write */
 7317|  29.6k|            writer->overallocate = (collend < size);
 7318|       |
 7319|       |            /* cache callback name lookup (if not done yet, i.e. it's the first error) */
 7320|  29.6k|            if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (7320:17): [True: 29.6k, False: 0]
  ------------------
 7321|  29.6k|                error_handler = _Py_GetErrorHandler(errors);
 7322|       |
 7323|  29.6k|            switch (error_handler) {
 7324|  29.6k|            case _Py_ERROR_STRICT:
  ------------------
  |  Branch (7324:13): [True: 29.6k, False: 0]
  ------------------
 7325|  29.6k|                raise_encode_exception(&exc, encoding, unicode, collstart, collend, reason);
 7326|  29.6k|                goto onError;
 7327|       |
 7328|      0|            case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (7328:13): [True: 0, False: 29.6k]
  ------------------
 7329|      0|                memset(str, '?', collend - collstart);
 7330|      0|                str += (collend - collstart);
 7331|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 7332|      0|            case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (7332:13): [True: 0, False: 29.6k]
  ------------------
 7333|      0|                pos = collend;
 7334|      0|                break;
 7335|       |
 7336|      0|            case _Py_ERROR_BACKSLASHREPLACE:
  ------------------
  |  Branch (7336:13): [True: 0, False: 29.6k]
  ------------------
 7337|      0|                str = backslashreplace(writer, str,
 7338|      0|                                       unicode, collstart, collend);
 7339|      0|                if (str == NULL)
  ------------------
  |  Branch (7339:21): [True: 0, False: 0]
  ------------------
 7340|      0|                    goto onError;
 7341|      0|                pos = collend;
 7342|      0|                break;
 7343|       |
 7344|      0|            case _Py_ERROR_XMLCHARREFREPLACE:
  ------------------
  |  Branch (7344:13): [True: 0, False: 29.6k]
  ------------------
 7345|      0|                str = xmlcharrefreplace(writer, str,
 7346|      0|                                        unicode, collstart, collend);
 7347|      0|                if (str == NULL)
  ------------------
  |  Branch (7347:21): [True: 0, False: 0]
  ------------------
 7348|      0|                    goto onError;
 7349|      0|                pos = collend;
 7350|      0|                break;
 7351|       |
 7352|      0|            case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (7352:13): [True: 0, False: 29.6k]
  ------------------
 7353|      0|                for (i = collstart; i < collend; ++i) {
  ------------------
  |  Branch (7353:37): [True: 0, False: 0]
  ------------------
 7354|      0|                    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))
  ------------------
 7355|      0|                    if (ch < 0xdc80 || 0xdcff < ch) {
  ------------------
  |  Branch (7355:25): [True: 0, False: 0]
  |  Branch (7355:40): [True: 0, False: 0]
  ------------------
 7356|       |                        /* Not a UTF-8b surrogate */
 7357|      0|                        break;
 7358|      0|                    }
 7359|      0|                    *str++ = (char)(ch - 0xdc00);
 7360|      0|                    ++pos;
 7361|      0|                }
 7362|      0|                if (i >= collend)
  ------------------
  |  Branch (7362:21): [True: 0, False: 0]
  ------------------
 7363|      0|                    break;
 7364|      0|                collstart = pos;
 7365|      0|                assert(collstart != collend);
  ------------------
  |  Branch (7365:17): [True: 0, False: 0]
  ------------------
 7366|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 7367|       |
 7368|      0|            default:
  ------------------
  |  Branch (7368:13): [True: 0, False: 29.6k]
  ------------------
 7369|      0|                rep = unicode_encode_call_errorhandler(errors, &error_handler_obj,
 7370|      0|                                                       encoding, reason, unicode, &exc,
 7371|      0|                                                       collstart, collend, &newpos);
 7372|      0|                if (rep == NULL)
  ------------------
  |  Branch (7372:21): [True: 0, False: 0]
  ------------------
 7373|      0|                    goto onError;
 7374|       |
 7375|      0|                if (newpos < collstart) {
  ------------------
  |  Branch (7375:21): [True: 0, False: 0]
  ------------------
 7376|      0|                    writer->overallocate = 1;
 7377|      0|                    str = PyBytesWriter_GrowAndUpdatePointer(writer,
 7378|      0|                                                             collstart - newpos,
 7379|      0|                                                             str);
 7380|      0|                    if (str == NULL) {
  ------------------
  |  Branch (7380:25): [True: 0, False: 0]
  ------------------
 7381|      0|                        goto onError;
 7382|      0|                    }
 7383|      0|                }
 7384|      0|                else {
 7385|       |                    /* Only overallocate the buffer if it's not the last write */
 7386|      0|                    writer->overallocate = (newpos < size);
 7387|       |
 7388|       |                    /* subtract preallocated bytes */
 7389|      0|                    if (PyBytesWriter_Grow(writer, -(newpos - collstart)) < 0) {
  ------------------
  |  Branch (7389:25): [True: 0, False: 0]
  ------------------
 7390|      0|                        goto onError;
 7391|      0|                    }
 7392|      0|                }
 7393|       |
 7394|      0|                const char *rep_str;
 7395|      0|                Py_ssize_t rep_len;
 7396|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7397|       |                    /* Directly copy bytes result to output. */
 7398|      0|                    rep_str = PyBytes_AS_STRING(rep);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7399|      0|                    rep_len = PyBytes_GET_SIZE(rep);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7400|      0|                }
 7401|      0|                else {
 7402|      0|                    assert(PyUnicode_Check(rep));
  ------------------
  |  Branch (7402:21): [True: 0, False: 0]
  ------------------
 7403|       |
 7404|      0|                    if (limit == 256 ?
  ------------------
  |  Branch (7404:25): [True: 0, False: 0]
  |  Branch (7404:25): [True: 0, False: 0]
  ------------------
 7405|      0|                        PyUnicode_KIND(rep) != 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7406|      0|                        !PyUnicode_IS_ASCII(rep))
  ------------------
  |  |  228|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7407|      0|                    {
 7408|       |                        /* Not all characters are smaller than limit */
 7409|      0|                        raise_encode_exception(&exc, encoding, unicode,
 7410|      0|                                               collstart, collend, reason);
 7411|      0|                        goto onError;
 7412|      0|                    }
 7413|      0|                    assert(PyUnicode_KIND(rep) == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (7413:21): [True: 0, False: 0]
  |  Branch (7413:21): [True: 0, False: 0]
  ------------------
 7414|      0|                    rep_str = PyUnicode_DATA(rep);
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7415|      0|                    rep_len = PyUnicode_GET_LENGTH(rep);
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7416|      0|                }
 7417|       |
 7418|      0|                str = PyBytesWriter_GrowAndUpdatePointer(writer, rep_len, str);
 7419|      0|                if (str == NULL) {
  ------------------
  |  Branch (7419:21): [True: 0, False: 0]
  ------------------
 7420|      0|                    goto onError;
 7421|      0|                }
 7422|      0|                memcpy(str, rep_str, rep_len);
 7423|      0|                str += rep_len;
 7424|       |
 7425|      0|                pos = newpos;
 7426|      0|                Py_CLEAR(rep);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7427|  29.6k|            }
 7428|       |
 7429|       |            /* If overallocation was disabled, ensure that it was the last
 7430|       |               write. Otherwise, we missed an optimization */
 7431|  29.6k|            assert(writer->overallocate || pos == size);
  ------------------
  |  Branch (7431:13): [True: 0, False: 0]
  |  Branch (7431:13): [True: 0, False: 0]
  ------------------
 7432|      0|        }
 7433|  43.3k|    }
 7434|       |
 7435|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7436|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7437|      0|    return PyBytesWriter_FinishWithPointer(writer, str);
 7438|       |
 7439|  29.6k|  onError:
 7440|  29.6k|    Py_XDECREF(rep);
  ------------------
  |  |  621|  29.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7441|  29.6k|    PyBytesWriter_Discard(writer);
 7442|  29.6k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  621|  29.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7443|  29.6k|    Py_XDECREF(exc);
  ------------------
  |  |  621|  29.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7444|       |    return NULL;
 7445|  29.6k|}
unicodeobject.c:iconv_open_or_set_error:
 8307|    563|{
 8308|    563|    iconv_t cd = iconv_open(tocode, fromcode);
 8309|    563|    if (cd == (iconv_t)-1) {
  ------------------
  |  Branch (8309:9): [True: 254, False: 309]
  ------------------
 8310|    254|        if (errno == EINVAL) {
  ------------------
  |  Branch (8310:13): [True: 254, False: 0]
  ------------------
 8311|    254|            PyErr_Format(PyExc_LookupError, "unknown encoding: %s", encoding);
 8312|    254|        }
 8313|      0|        else {
 8314|      0|            PyErr_SetFromErrno(PyExc_OSError);
 8315|      0|        }
 8316|    254|    }
 8317|    563|    return cd;
 8318|    563|}
unicodeobject.c:charmap_decode_string:
 8668|  1.27k|{
 8669|  1.27k|    const char *starts = s;
 8670|  1.27k|    const char *e;
 8671|  1.27k|    Py_ssize_t startinpos, endinpos;
 8672|  1.27k|    PyObject *errorHandler = NULL, *exc = NULL;
 8673|  1.27k|    Py_ssize_t maplen;
 8674|  1.27k|    int mapkind;
 8675|  1.27k|    const void *mapdata;
 8676|  1.27k|    Py_UCS4 x;
 8677|  1.27k|    unsigned char ch;
 8678|       |
 8679|  1.27k|    maplen = PyUnicode_GET_LENGTH(mapping);
  ------------------
  |  |  300|  1.27k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8680|  1.27k|    mapdata = PyUnicode_DATA(mapping);
  ------------------
  |  |  285|  1.27k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8681|  1.27k|    mapkind = PyUnicode_KIND(mapping);
  ------------------
  |  |  259|  1.27k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  2.54k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.27k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8682|       |
 8683|      0|    e = s + size;
 8684|       |
 8685|  1.27k|    if (mapkind == PyUnicode_1BYTE_KIND && maplen >= 256) {
  ------------------
  |  Branch (8685:9): [True: 16, False: 1.25k]
  |  Branch (8685:44): [True: 16, 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|     16|        const Py_UCS1 *mapdata_ucs1 = (const Py_UCS1 *)mapdata;
 8690|     16|        Py_UCS1 *outdata = (Py_UCS1 *)writer->data;
 8691|     16|        Py_UCS4 maxchar = writer->maxchar;
 8692|       |
 8693|     16|        assert (writer->kind == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (8693:9): [True: 16, False: 0]
  ------------------
 8694|  1.54k|        while (s < e) {
  ------------------
  |  Branch (8694:16): [True: 1.52k, False: 16]
  ------------------
 8695|  1.52k|            ch = *s;
 8696|  1.52k|            x = mapdata_ucs1[ch];
 8697|  1.52k|            if (x > maxchar) {
  ------------------
  |  Branch (8697:17): [True: 16, False: 1.50k]
  ------------------
 8698|     16|                if (_PyUnicodeWriter_Prepare(writer, 1, 0xff) == -1)
  ------------------
  |  Branch (8698:21): [True: 0, False: 16]
  ------------------
 8699|      0|                    goto onError;
 8700|     16|                maxchar = writer->maxchar;
 8701|     16|                outdata = (Py_UCS1 *)writer->data;
 8702|     16|            }
 8703|  1.52k|            outdata[writer->pos] = x;
 8704|  1.52k|            writer->pos++;
 8705|  1.52k|            ++s;
 8706|  1.52k|        }
 8707|     16|        return 0;
 8708|     16|    }
 8709|       |
 8710|  3.16k|    while (s < e) {
  ------------------
  |  Branch (8710:12): [True: 3.15k, False: 4]
  ------------------
 8711|  3.15k|        if (mapkind == PyUnicode_2BYTE_KIND && maplen >= 256) {
  ------------------
  |  Branch (8711:13): [True: 3.15k, False: 0]
  |  Branch (8711:48): [True: 3.15k, False: 0]
  ------------------
 8712|  3.15k|            int outkind = writer->kind;
 8713|  3.15k|            const Py_UCS2 *mapdata_ucs2 = (const Py_UCS2 *)mapdata;
 8714|  3.15k|            if (outkind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (8714:17): [True: 2.08k, False: 1.07k]
  ------------------
 8715|  2.08k|                Py_UCS1 *outdata = (Py_UCS1 *)writer->data;
 8716|  2.08k|                Py_UCS4 maxchar = writer->maxchar;
 8717|   276k|                while (s < e) {
  ------------------
  |  Branch (8717:24): [True: 275k, False: 178]
  ------------------
 8718|   275k|                    ch = *s;
 8719|   275k|                    x = mapdata_ucs2[ch];
 8720|   275k|                    if (x > maxchar)
  ------------------
  |  Branch (8720:25): [True: 1.90k, False: 273k]
  ------------------
 8721|  1.90k|                        goto Error;
 8722|   273k|                    outdata[writer->pos] = x;
 8723|   273k|                    writer->pos++;
 8724|   273k|                    ++s;
 8725|   273k|                }
 8726|    178|                break;
 8727|  2.08k|            }
 8728|  1.07k|            else if (outkind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (8728:22): [True: 1.07k, False: 0]
  ------------------
 8729|  1.07k|                Py_UCS2 *outdata = (Py_UCS2 *)writer->data;
 8730|  2.58M|                while (s < e) {
  ------------------
  |  Branch (8730:24): [True: 2.58M, False: 1.05k]
  ------------------
 8731|  2.58M|                    ch = *s;
 8732|  2.58M|                    x = mapdata_ucs2[ch];
 8733|  2.58M|                    if (x == 0xFFFE)
  ------------------
  |  Branch (8733:25): [True: 15, False: 2.58M]
  ------------------
 8734|     15|                        goto Error;
 8735|  2.58M|                    outdata[writer->pos] = x;
 8736|  2.58M|                    writer->pos++;
 8737|  2.58M|                    ++s;
 8738|  2.58M|                }
 8739|  1.05k|                break;
 8740|  1.07k|            }
 8741|  3.15k|        }
 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|  1.92k|Error:
 8749|  1.92k|        if (x == 0xfffe)
  ------------------
  |  Branch (8749:13): [True: 20, False: 1.90k]
  ------------------
 8750|     20|        {
 8751|       |            /* undefined mapping */
 8752|     20|            startinpos = s-starts;
 8753|     20|            endinpos = startinpos+1;
 8754|     20|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (8754:17): [True: 20, False: 0]
  ------------------
 8755|     20|                    errors, &errorHandler,
 8756|     20|                    "charmap", "character maps to <undefined>",
 8757|     20|                    &starts, &e, &startinpos, &endinpos, &exc, &s,
 8758|     20|                    writer)) {
 8759|     20|                goto onError;
 8760|     20|            }
 8761|      0|            continue;
 8762|     20|        }
 8763|       |
 8764|  1.90k|        if (_PyUnicodeWriter_WriteCharInline(writer, x) < 0)
  ------------------
  |  Branch (8764:13): [True: 0, False: 1.90k]
  ------------------
 8765|      0|            goto onError;
 8766|  1.90k|        ++s;
 8767|  1.90k|    }
 8768|  1.23k|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|  1.23k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8769|  1.23k|    Py_XDECREF(exc);
  ------------------
  |  |  621|  1.23k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8770|  1.23k|    return 0;
 8771|       |
 8772|     20|onError:
 8773|     20|    Py_XDECREF(errorHandler);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8774|     20|    Py_XDECREF(exc);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8775|     20|    return -1;
 8776|  1.25k|}
unicodeobject.c:_PyUnicode_TranslateCharmap:
 9795|     48|{
 9796|       |    /* input object */
 9797|     48|    const void *data;
 9798|     48|    Py_ssize_t size, i;
 9799|     48|    int kind;
 9800|       |    /* output buffer */
 9801|     48|    _PyUnicodeWriter writer;
 9802|       |    /* error handler */
 9803|     48|    const char *reason = "character maps to <undefined>";
 9804|     48|    PyObject *errorHandler = NULL;
 9805|     48|    PyObject *exc = NULL;
 9806|     48|    int ignore;
 9807|     48|    int res;
 9808|       |
 9809|     48|    if (mapping == NULL) {
  ------------------
  |  Branch (9809:9): [True: 0, False: 48]
  ------------------
 9810|      0|        PyErr_BadArgument();
 9811|      0|        return NULL;
 9812|      0|    }
 9813|       |
 9814|     48|    data = PyUnicode_DATA(input);
  ------------------
  |  |  285|     48|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9815|     48|    kind = PyUnicode_KIND(input);
  ------------------
  |  |  259|     48|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     96|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 48, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9816|     48|    size = PyUnicode_GET_LENGTH(input);
  ------------------
  |  |  300|     48|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9817|       |
 9818|     48|    if (size == 0)
  ------------------
  |  Branch (9818:9): [True: 0, False: 48]
  ------------------
 9819|      0|        return PyUnicode_FromObject(input);
 9820|       |
 9821|       |    /* allocate enough for a simple 1:1 translation without
 9822|       |       replacements, if we need more, we'll resize */
 9823|     48|    _PyUnicodeWriter_Init(&writer);
 9824|     48|    if (_PyUnicodeWriter_Prepare(&writer, size, 127) == -1)
  ------------------
  |  Branch (9824:9): [True: 0, False: 48]
  ------------------
 9825|      0|        goto onError;
 9826|       |
 9827|     48|    ignore = (errors != NULL && strcmp(errors, "ignore") == 0);
  ------------------
  |  Branch (9827:15): [True: 48, False: 0]
  |  Branch (9827:33): [True: 48, False: 0]
  ------------------
 9828|       |
 9829|     48|    if (PyUnicode_IS_ASCII(input)) {
  ------------------
  |  |  228|     48|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 48, False: 0]
  |  |  ------------------
  ------------------
 9830|     48|        res = unicode_fast_translate(input, mapping, &writer, ignore, &i);
 9831|     48|        if (res < 0) {
  ------------------
  |  Branch (9831:13): [True: 0, False: 48]
  ------------------
 9832|      0|            _PyUnicodeWriter_Dealloc(&writer);
 9833|      0|            return NULL;
 9834|      0|        }
 9835|     48|        if (res == 1)
  ------------------
  |  Branch (9835:13): [True: 24, False: 24]
  ------------------
 9836|     24|            return _PyUnicodeWriter_Finish(&writer);
 9837|     48|    }
 9838|      0|    else {
 9839|      0|        i = 0;
 9840|      0|    }
 9841|       |
 9842|     60|    while (i<size) {
  ------------------
  |  Branch (9842:12): [True: 36, False: 24]
  ------------------
 9843|       |        /* try to encode it */
 9844|     36|        int translate;
 9845|     36|        PyObject *repunicode = NULL; /* initialize to prevent gcc warning */
 9846|     36|        Py_ssize_t newpos;
 9847|       |        /* startpos for collecting untranslatable chars */
 9848|     36|        Py_ssize_t collstart;
 9849|     36|        Py_ssize_t collend;
 9850|     36|        Py_UCS4 ch;
 9851|       |
 9852|     36|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|     36|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     36|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     36|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     36|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     36|                   (index))
  ------------------
 9853|     36|        translate = charmaptranslate_output(ch, mapping, &writer);
 9854|     36|        if (translate < 0)
  ------------------
  |  Branch (9854:13): [True: 0, False: 36]
  ------------------
 9855|      0|            goto onError;
 9856|       |
 9857|     36|        if (translate != 0) {
  ------------------
  |  Branch (9857:13): [True: 36, False: 0]
  ------------------
 9858|       |            /* it worked => adjust input pointer */
 9859|     36|            ++i;
 9860|     36|            continue;
 9861|     36|        }
 9862|       |
 9863|       |        /* untranslatable character */
 9864|      0|        collstart = i;
 9865|      0|        collend = i+1;
 9866|       |
 9867|       |        /* find all untranslatable characters */
 9868|      0|        while (collend < size) {
  ------------------
  |  Branch (9868:16): [True: 0, False: 0]
  ------------------
 9869|      0|            PyObject *x;
 9870|      0|            Py_UCS4 replace;
 9871|      0|            ch = PyUnicode_READ(kind, data, collend);
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
 9872|      0|            if (charmaptranslate_lookup(ch, mapping, &x, &replace))
  ------------------
  |  Branch (9872:17): [True: 0, False: 0]
  ------------------
 9873|      0|                goto onError;
 9874|      0|            Py_XDECREF(x);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9875|      0|            if (x != Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9875:17): [True: 0, False: 0]
  ------------------
 9876|      0|                break;
 9877|      0|            ++collend;
 9878|      0|        }
 9879|       |
 9880|      0|        if (ignore) {
  ------------------
  |  Branch (9880:13): [True: 0, False: 0]
  ------------------
 9881|      0|            i = collend;
 9882|      0|        }
 9883|      0|        else {
 9884|      0|            repunicode = unicode_translate_call_errorhandler(errors, &errorHandler,
 9885|      0|                                                             reason, input, &exc,
 9886|      0|                                                             collstart, collend, &newpos);
 9887|      0|            if (repunicode == NULL)
  ------------------
  |  Branch (9887:17): [True: 0, False: 0]
  ------------------
 9888|      0|                goto onError;
 9889|      0|            if (_PyUnicodeWriter_WriteStr(&writer, repunicode) < 0) {
  ------------------
  |  Branch (9889:17): [True: 0, False: 0]
  ------------------
 9890|      0|                Py_DECREF(repunicode);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9891|      0|                goto onError;
 9892|      0|            }
 9893|      0|            Py_DECREF(repunicode);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9894|      0|            i = newpos;
 9895|      0|        }
 9896|      0|    }
 9897|     24|    Py_XDECREF(exc);
  ------------------
  |  |  621|     24|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9898|     24|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|     24|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9899|     24|    return _PyUnicodeWriter_Finish(&writer);
 9900|       |
 9901|      0|  onError:
 9902|      0|    _PyUnicodeWriter_Dealloc(&writer);
 9903|      0|    Py_XDECREF(exc);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9904|      0|    Py_XDECREF(errorHandler);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9905|       |    return NULL;
 9906|     24|}
unicodeobject.c:unicode_fast_translate:
 9744|     48|{
 9745|     48|    Py_UCS1 ascii_table[128], ch, ch2;
 9746|     48|    Py_ssize_t len;
 9747|     48|    const Py_UCS1 *in, *end;
 9748|     48|    Py_UCS1 *out;
 9749|     48|    int res = 0;
 9750|       |
 9751|     48|    len = PyUnicode_GET_LENGTH(input);
  ------------------
  |  |  300|     48|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9752|       |
 9753|     48|    memset(ascii_table, 0xff, 128);
 9754|       |
 9755|     48|    in = PyUnicode_1BYTE_DATA(input);
  ------------------
  |  |  292|     48|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9756|     48|    end = in + len;
 9757|       |
 9758|     48|    assert(PyUnicode_IS_ASCII(writer->buffer));
  ------------------
  |  Branch (9758:5): [True: 48, False: 0]
  ------------------
 9759|     48|    assert(PyUnicode_GET_LENGTH(writer->buffer) == len);
  ------------------
  |  Branch (9759:5): [True: 48, False: 0]
  ------------------
 9760|     48|    out = PyUnicode_1BYTE_DATA(writer->buffer);
  ------------------
  |  |  292|     48|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9761|       |
 9762|     89|    for (; in < end; in++) {
  ------------------
  |  Branch (9762:12): [True: 65, False: 24]
  ------------------
 9763|     65|        ch = *in;
 9764|     65|        ch2 = ascii_table[ch];
 9765|     65|        if (ch2 == 0xff) {
  ------------------
  |  Branch (9765:13): [True: 58, False: 7]
  ------------------
 9766|     58|            int translate = unicode_fast_translate_lookup(mapping, ch,
 9767|     58|                                                          ascii_table);
 9768|     58|            if (translate < 0)
  ------------------
  |  Branch (9768:17): [True: 0, False: 58]
  ------------------
 9769|      0|                return -1;
 9770|     58|            if (translate == 0)
  ------------------
  |  Branch (9770:17): [True: 24, False: 34]
  ------------------
 9771|     24|                goto exit;
 9772|     34|            ch2 = ascii_table[ch];
 9773|     34|        }
 9774|     41|        if (ch2 == 0xfe) {
  ------------------
  |  Branch (9774:13): [True: 0, False: 41]
  ------------------
 9775|      0|            if (ignore)
  ------------------
  |  Branch (9775:17): [True: 0, False: 0]
  ------------------
 9776|      0|                continue;
 9777|      0|            goto exit;
 9778|      0|        }
 9779|     41|        assert(ch2 < 128);
  ------------------
  |  Branch (9779:9): [True: 41, False: 0]
  ------------------
 9780|     41|        *out = ch2;
 9781|     41|        out++;
 9782|     41|    }
 9783|     24|    res = 1;
 9784|       |
 9785|     48|exit:
 9786|     48|    writer->pos = out - PyUnicode_1BYTE_DATA(writer->buffer);
  ------------------
  |  |  292|     48|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9787|     48|    *input_pos = in - PyUnicode_1BYTE_DATA(input);
  ------------------
  |  |  292|     48|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9788|     48|    return res;
 9789|     24|}
unicodeobject.c:unicode_fast_translate_lookup:
 9691|     58|{
 9692|     58|    PyObject *item = NULL;
 9693|     58|    Py_UCS4 replace;
 9694|     58|    int ret = 0;
 9695|       |
 9696|     58|    if (charmaptranslate_lookup(ch, mapping, &item, &replace)) {
  ------------------
  |  Branch (9696:9): [True: 0, False: 58]
  ------------------
 9697|      0|        return -1;
 9698|      0|    }
 9699|       |
 9700|     58|    if (item == Py_None) {
  ------------------
  |  |  616|     58|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9700:9): [True: 0, False: 58]
  ------------------
 9701|       |        /* deletion */
 9702|      0|        translate[ch] = 0xfe;
 9703|      0|    }
 9704|     58|    else if (item == NULL) {
  ------------------
  |  Branch (9704:14): [True: 34, False: 24]
  ------------------
 9705|       |        /* not found => default to 1:1 mapping */
 9706|     34|        translate[ch] = ch;
 9707|     34|        return 1;
 9708|     34|    }
 9709|     24|    else if (PyLong_Check(item)) {
  ------------------
  |  |   13|     24|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     24|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9710|      0|        if (replace > 127) {
  ------------------
  |  Branch (9710:13): [True: 0, False: 0]
  ------------------
 9711|       |            /* invalid character or character outside ASCII:
 9712|       |               skip the fast translate */
 9713|      0|            goto exit;
 9714|      0|        }
 9715|      0|        translate[ch] = (Py_UCS1)replace;
 9716|      0|    }
 9717|     24|    else if (PyUnicode_Check(item)) {
  ------------------
  |  |  103|     24|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     24|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 24, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9718|     24|        if (PyUnicode_GET_LENGTH(item) != 1)
  ------------------
  |  |  300|     24|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9718:13): [True: 24, False: 0]
  ------------------
 9719|     24|            goto exit;
 9720|       |
 9721|      0|        replace = PyUnicode_READ_CHAR(item, 0);
  ------------------
  |  |  382|      0|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9722|      0|        if (replace > 127)
  ------------------
  |  Branch (9722:13): [True: 0, False: 0]
  ------------------
 9723|      0|            goto exit;
 9724|      0|        translate[ch] = (Py_UCS1)replace;
 9725|      0|    }
 9726|      0|    else {
 9727|       |        /* not None, NULL, long or unicode */
 9728|      0|        goto exit;
 9729|      0|    }
 9730|      0|    ret = 1;
 9731|       |
 9732|     24|  exit:
 9733|     24|    Py_DECREF(item);
  ------------------
  |  |  430|     24|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9734|     24|    return ret;
 9735|      0|}
unicodeobject.c:charmaptranslate_output:
 9645|     36|{
 9646|     36|    PyObject *item;
 9647|     36|    Py_UCS4 replace;
 9648|       |
 9649|     36|    if (charmaptranslate_lookup(ch, mapping, &item, &replace))
  ------------------
  |  Branch (9649:9): [True: 0, False: 36]
  ------------------
 9650|      0|        return -1;
 9651|       |
 9652|     36|    if (item == NULL) {
  ------------------
  |  Branch (9652:9): [True: 8, False: 28]
  ------------------
 9653|       |        /* not found => default to 1:1 mapping */
 9654|      8|        if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0) {
  ------------------
  |  Branch (9654:13): [True: 0, False: 8]
  ------------------
 9655|      0|            return -1;
 9656|      0|        }
 9657|      8|        return 1;
 9658|      8|    }
 9659|       |
 9660|     28|    if (item == Py_None) {
  ------------------
  |  |  616|     28|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9660:9): [True: 0, False: 28]
  ------------------
 9661|      0|        Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9662|      0|        return 0;
 9663|      0|    }
 9664|       |
 9665|     28|    if (PyLong_Check(item)) {
  ------------------
  |  |   13|     28|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     28|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9666|      0|        if (_PyUnicodeWriter_WriteCharInline(writer, replace) < 0) {
  ------------------
  |  Branch (9666:13): [True: 0, False: 0]
  ------------------
 9667|      0|            Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9668|      0|            return -1;
 9669|      0|        }
 9670|      0|        Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9671|      0|        return 1;
 9672|      0|    }
 9673|       |
 9674|     28|    if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|     28|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     28|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (9674:9): [True: 0, False: 28]
  ------------------
 9675|      0|        Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9676|      0|        return -1;
 9677|      0|    }
 9678|       |
 9679|     28|    if (_PyUnicodeWriter_WriteStr(writer, item) < 0) {
  ------------------
  |  Branch (9679:9): [True: 0, False: 28]
  ------------------
 9680|      0|        Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9681|      0|        return -1;
 9682|      0|    }
 9683|       |
 9684|     28|    Py_DECREF(item);
  ------------------
  |  |  430|     28|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9685|     28|    return 1;
 9686|     28|}
unicodeobject.c:charmaptranslate_lookup:
 9587|     94|{
 9588|     94|    PyObject *w = PyLong_FromLong((long)c);
 9589|     94|    PyObject *x;
 9590|       |
 9591|     94|    if (w == NULL)
  ------------------
  |  Branch (9591:9): [True: 0, False: 94]
  ------------------
 9592|      0|        return -1;
 9593|     94|    int rc = PyMapping_GetOptionalItem(mapping, w, &x);
 9594|     94|    Py_DECREF(w);
  ------------------
  |  |  430|     94|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9595|     94|    if (rc == 0) {
  ------------------
  |  Branch (9595:9): [True: 42, False: 52]
  ------------------
 9596|       |        /* No mapping found means: use 1:1 mapping. */
 9597|     42|        *result = NULL;
 9598|     42|        return 0;
 9599|     42|    }
 9600|     52|    if (x == NULL) {
  ------------------
  |  Branch (9600:9): [True: 0, False: 52]
  ------------------
 9601|      0|        if (PyErr_ExceptionMatches(PyExc_LookupError)) {
  ------------------
  |  Branch (9601:13): [True: 0, False: 0]
  ------------------
 9602|       |            /* No mapping found means: use 1:1 mapping. */
 9603|      0|            PyErr_Clear();
 9604|      0|            *result = NULL;
 9605|      0|            return 0;
 9606|      0|        } else
 9607|      0|            return -1;
 9608|      0|    }
 9609|     52|    else if (x == Py_None) {
  ------------------
  |  |  616|     52|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9609:14): [True: 0, False: 52]
  ------------------
 9610|      0|        *result = x;
 9611|      0|        return 0;
 9612|      0|    }
 9613|     52|    else if (PyLong_Check(x)) {
  ------------------
  |  |   13|     52|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     52|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 52]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9614|      0|        long value = PyLong_AsLong(x);
 9615|      0|        if (value < 0 || value > MAX_UNICODE) {
  ------------------
  |  |  108|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (9615:13): [True: 0, False: 0]
  |  Branch (9615:26): [True: 0, False: 0]
  ------------------
 9616|      0|            PyErr_Format(PyExc_ValueError,
 9617|      0|                         "character mapping must be in range(0x%lx)",
 9618|      0|                         (unsigned long)MAX_UNICODE + 1);
  ------------------
  |  |  108|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   18|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
 9619|      0|            Py_DECREF(x);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9620|      0|            return -1;
 9621|      0|        }
 9622|      0|        *result = x;
 9623|      0|        *replace = (Py_UCS4)value;
 9624|      0|        return 0;
 9625|      0|    }
 9626|     52|    else if (PyUnicode_Check(x)) {
  ------------------
  |  |  103|     52|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     52|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 52, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9627|     52|        *result = x;
 9628|     52|        return 0;
 9629|     52|    }
 9630|      0|    else {
 9631|       |        /* wrong return value */
 9632|      0|        PyErr_SetString(PyExc_TypeError,
 9633|      0|                        "character mapping must return integer, None or str");
 9634|      0|        Py_DECREF(x);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9635|      0|        return -1;
 9636|      0|    }
 9637|     52|}
unicodeobject.c:any_find_slice:
 9991|  4.81k|{
 9992|  4.81k|    int kind1, kind2;
 9993|  4.81k|    const void *buf1, *buf2;
 9994|  4.81k|    Py_ssize_t len1, len2, result;
 9995|       |
 9996|  4.81k|    kind1 = PyUnicode_KIND(s1);
  ------------------
  |  |  259|  4.81k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  9.63k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 4.81k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9997|  4.81k|    kind2 = PyUnicode_KIND(s2);
  ------------------
  |  |  259|  4.81k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  9.63k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 4.81k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9998|  4.81k|    if (kind1 < kind2)
  ------------------
  |  Branch (9998:9): [True: 0, False: 4.81k]
  ------------------
 9999|      0|        return -1;
10000|       |
10001|  4.81k|    len1 = PyUnicode_GET_LENGTH(s1);
  ------------------
  |  |  300|  4.81k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10002|  4.81k|    len2 = PyUnicode_GET_LENGTH(s2);
  ------------------
  |  |  300|  4.81k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10003|  4.81k|    ADJUST_INDICES(start, end, len1);
  ------------------
  |  | 9968|  4.81k|    do {                                \
  |  | 9969|  4.81k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9969:13): [True: 109, False: 4.70k]
  |  |  ------------------
  |  | 9970|    109|            end = len;                  \
  |  | 9971|    109|        }                               \
  |  | 9972|  4.81k|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9972:18): [True: 0, False: 4.70k]
  |  |  ------------------
  |  | 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|  4.81k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9978:13): [True: 0, False: 4.81k]
  |  |  ------------------
  |  | 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|  4.81k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9984:14): [Folded, False: 4.81k]
  |  |  ------------------
  ------------------
10004|  4.81k|    if (end - start < len2)
  ------------------
  |  Branch (10004:9): [True: 0, False: 4.81k]
  ------------------
10005|      0|        return -1;
10006|       |
10007|  4.81k|    buf1 = PyUnicode_DATA(s1);
  ------------------
  |  |  285|  4.81k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10008|  4.81k|    buf2 = PyUnicode_DATA(s2);
  ------------------
  |  |  285|  4.81k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10009|  4.81k|    if (len2 == 1) {
  ------------------
  |  Branch (10009:9): [True: 4.81k, False: 0]
  ------------------
10010|  4.81k|        Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  355|  4.81k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  4.81k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  4.81k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  4.81k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  4.81k|                   (index))
  ------------------
10011|  4.81k|        result = findchar((const char *)buf1 + kind1*start,
10012|  4.81k|                          kind1, end - start, ch, direction);
10013|  4.81k|        if (result == -1)
  ------------------
  |  Branch (10013:13): [True: 4.59k, False: 217]
  ------------------
10014|  4.59k|            return -1;
10015|    217|        else
10016|    217|            return start + result;
10017|  4.81k|    }
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|   139k|{
10122|   139k|    int kind_self;
10123|   139k|    int kind_sub;
10124|   139k|    const void *data_self;
10125|   139k|    const void *data_sub;
10126|   139k|    Py_ssize_t offset;
10127|   139k|    Py_ssize_t i;
10128|   139k|    Py_ssize_t end_sub;
10129|       |
10130|   139k|    ADJUST_INDICES(start, end, PyUnicode_GET_LENGTH(self));
  ------------------
  |  | 9968|   139k|    do {                                \
  |  | 9969|   139k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9969:13): [True: 139k, False: 0]
  |  |  ------------------
  |  | 9970|   139k|            end = len;                  \
  |  | 9971|   139k|        }                               \
  |  | 9972|   139k|        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|   139k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9978:13): [True: 0, False: 139k]
  |  |  ------------------
  |  | 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|   139k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9984:14): [Folded, False: 139k]
  |  |  ------------------
  ------------------
10131|   139k|    end -= PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  300|   139k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   139k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   139k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10132|   139k|    if (end < start)
  ------------------
  |  Branch (10132:9): [True: 3.05k, False: 136k]
  ------------------
10133|  3.05k|        return 0;
10134|       |
10135|   136k|    if (PyUnicode_GET_LENGTH(substring) == 0)
  ------------------
  |  |  300|   136k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   136k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   136k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10135:9): [True: 0, False: 136k]
  ------------------
10136|      0|        return 1;
10137|       |
10138|   136k|    kind_self = PyUnicode_KIND(self);
  ------------------
  |  |  259|   136k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   273k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 136k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10139|   136k|    data_self = PyUnicode_DATA(self);
  ------------------
  |  |  285|   136k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   136k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   136k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10140|   136k|    kind_sub = PyUnicode_KIND(substring);
  ------------------
  |  |  259|   136k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   273k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 136k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10141|   136k|    data_sub = PyUnicode_DATA(substring);
  ------------------
  |  |  285|   136k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   136k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   136k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10142|   136k|    end_sub = PyUnicode_GET_LENGTH(substring) - 1;
  ------------------
  |  |  300|   136k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   136k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   136k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10143|       |
10144|   136k|    if (direction > 0)
  ------------------
  |  Branch (10144:9): [True: 41.4k, False: 95.2k]
  ------------------
10145|  41.4k|        offset = end;
10146|  95.2k|    else
10147|  95.2k|        offset = start;
10148|       |
10149|   136k|    if (PyUnicode_READ(kind_self, data_self, offset) ==
  ------------------
  |  |  355|   136k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   136k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   136k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   136k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   136k|                   (index))
  ------------------
  |  Branch (10149:9): [True: 125k, False: 11.0k]
  ------------------
10150|   136k|        PyUnicode_READ(kind_sub, data_sub, 0) &&
  ------------------
  |  |  355|   273k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   136k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   273k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   136k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   273k|                   (index))
  ------------------
10151|   125k|        PyUnicode_READ(kind_self, data_self, offset + end_sub) ==
  ------------------
  |  |  355|   125k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   125k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   125k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   125k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   125k|                   (index))
  ------------------
  |  Branch (10151:9): [True: 83.9k, False: 41.7k]
  ------------------
10152|   125k|        PyUnicode_READ(kind_sub, data_sub, end_sub)) {
  ------------------
  |  |  355|   125k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   125k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   125k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   125k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   125k|                   (index))
  ------------------
10153|       |        /* If both are of the same kind, memcmp is sufficient */
10154|  83.9k|        if (kind_self == kind_sub) {
  ------------------
  |  Branch (10154:13): [True: 83.0k, False: 956]
  ------------------
10155|  83.0k|            return ! memcmp((char *)data_self +
10156|  83.0k|                                (offset * PyUnicode_KIND(substring)),
  ------------------
  |  |  259|  83.0k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   166k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 83.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10157|      0|                            data_sub,
10158|  83.0k|                            PyUnicode_GET_LENGTH(substring) *
  ------------------
  |  |  300|  83.0k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  83.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  83.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10159|  83.0k|                                PyUnicode_KIND(substring));
  ------------------
  |  |  259|  83.0k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   166k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 83.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10160|  83.0k|        }
10161|       |        /* otherwise we have to compare each character by first accessing it */
10162|    956|        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|  1.70k|            for (i = 1; i < end_sub; ++i) {
  ------------------
  |  Branch (10166:25): [True: 1.70k, False: 2]
  ------------------
10167|  1.70k|                if (PyUnicode_READ(kind_self, data_self, offset + i) !=
  ------------------
  |  |  355|  1.70k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  1.70k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  1.70k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.70k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  1.70k|                   (index))
  ------------------
  |  Branch (10167:21): [True: 954, False: 752]
  ------------------
10168|  1.70k|                    PyUnicode_READ(kind_sub, data_sub, i))
  ------------------
  |  |  355|  1.70k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  1.70k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  1.70k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.70k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  1.70k|                   (index))
  ------------------
10169|    954|                    return 0;
10170|  1.70k|            }
10171|      2|            return 1;
10172|    956|        }
10173|  83.9k|    }
10174|       |
10175|  52.7k|    return 0;
10176|   136k|}
unicodeobject.c:unicode_compare:
11365|  3.60M|{
11366|  3.60M|#define COMPARE(TYPE1, TYPE2) \
11367|  3.60M|    do { \
11368|  3.60M|        TYPE1* p1 = (TYPE1 *)data1; \
11369|  3.60M|        TYPE2* p2 = (TYPE2 *)data2; \
11370|  3.60M|        TYPE1* end = p1 + len; \
11371|  3.60M|        Py_UCS4 c1, c2; \
11372|  3.60M|        for (; p1 != end; p1++, p2++) { \
11373|  3.60M|            c1 = *p1; \
11374|  3.60M|            c2 = *p2; \
11375|  3.60M|            if (c1 != c2) \
11376|  3.60M|                return (c1 < c2) ? -1 : 1; \
11377|  3.60M|        } \
11378|  3.60M|    } \
11379|  3.60M|    while (0)
11380|       |
11381|  3.60M|    int kind1, kind2;
11382|  3.60M|    const void *data1, *data2;
11383|  3.60M|    Py_ssize_t len1, len2, len;
11384|       |
11385|  3.60M|    kind1 = PyUnicode_KIND(str1);
  ------------------
  |  |  259|  3.60M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  7.20M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 3.60M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11386|  3.60M|    kind2 = PyUnicode_KIND(str2);
  ------------------
  |  |  259|  3.60M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  7.20M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 3.60M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11387|  3.60M|    data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|  3.60M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11388|  3.60M|    data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  285|  3.60M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11389|  3.60M|    len1 = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  300|  3.60M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11390|  3.60M|    len2 = PyUnicode_GET_LENGTH(str2);
  ------------------
  |  |  300|  3.60M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11391|  3.60M|    len = Py_MIN(len1, len2);
  ------------------
  |  |  127|  3.60M|       __extension__ \
  |  |  128|  3.60M|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  3.60M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  3.60M|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  3.60M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|  3.60M|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 342k, False: 3.25M]
  |  |  ------------------
  ------------------
11392|       |
11393|  3.60M|    switch(kind1) {
11394|   860k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11394:5): [True: 860k, False: 2.74M]
  ------------------
11395|   860k|    {
11396|   860k|        switch(kind2) {
11397|   755k|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11397:9): [True: 755k, False: 105k]
  ------------------
11398|   755k|        {
11399|   755k|            int cmp = memcmp(data1, data2, len);
11400|       |            /* normalize result of memcmp() into the range [-1; 1] */
11401|   755k|            if (cmp < 0)
  ------------------
  |  Branch (11401:17): [True: 350k, False: 405k]
  ------------------
11402|   350k|                return -1;
11403|   405k|            if (cmp > 0)
  ------------------
  |  Branch (11403:17): [True: 348k, False: 56.9k]
  ------------------
11404|   348k|                return 1;
11405|  56.9k|            break;
11406|   405k|        }
11407|  90.9k|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11407:9): [True: 90.9k, False: 769k]
  ------------------
11408|  90.9k|            COMPARE(Py_UCS1, Py_UCS2);
  ------------------
  |  |11367|  90.9k|    do { \
  |  |11368|  90.9k|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|  90.9k|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|  90.9k|        TYPE1* end = p1 + len; \
  |  |11371|  90.9k|        Py_UCS4 c1, c2; \
  |  |11372|   106k|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 104k, False: 1.40k]
  |  |  ------------------
  |  |11373|   104k|            c1 = *p1; \
  |  |11374|   104k|            c2 = *p2; \
  |  |11375|   104k|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 89.5k, False: 15.2k]
  |  |  ------------------
  |  |11376|   104k|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 85.9k, False: 3.57k]
  |  |  ------------------
  |  |11377|   104k|        } \
  |  |11378|  90.9k|    } \
  |  |11379|  90.9k|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 1.40k]
  |  |  ------------------
  ------------------
11409|  1.40k|            break;
11410|  14.0k|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11410:9): [True: 14.0k, False: 846k]
  ------------------
11411|  14.0k|            COMPARE(Py_UCS1, Py_UCS4);
  ------------------
  |  |11367|  14.0k|    do { \
  |  |11368|  14.0k|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|  14.0k|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|  14.0k|        TYPE1* end = p1 + len; \
  |  |11371|  14.0k|        Py_UCS4 c1, c2; \
  |  |11372|  14.5k|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 14.5k, False: 67]
  |  |  ------------------
  |  |11373|  14.5k|            c1 = *p1; \
  |  |11374|  14.5k|            c2 = *p2; \
  |  |11375|  14.5k|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 13.9k, False: 524]
  |  |  ------------------
  |  |11376|  14.5k|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 13.7k, False: 218]
  |  |  ------------------
  |  |11377|  14.5k|        } \
  |  |11378|  14.0k|    } \
  |  |11379|  14.0k|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 67]
  |  |  ------------------
  ------------------
11412|     67|            break;
11413|     67|        default:
  ------------------
  |  Branch (11413:9): [True: 0, False: 860k]
  ------------------
11414|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11415|   860k|        }
11416|  58.4k|        break;
11417|   860k|    }
11418|  2.60M|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11418:5): [True: 2.60M, False: 999k]
  ------------------
11419|  2.60M|    {
11420|  2.60M|        switch(kind2) {
11421|  13.3k|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11421:9): [True: 13.3k, False: 2.58M]
  ------------------
11422|  13.3k|            COMPARE(Py_UCS2, Py_UCS1);
  ------------------
  |  |11367|  13.3k|    do { \
  |  |11368|  13.3k|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|  13.3k|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|  13.3k|        TYPE1* end = p1 + len; \
  |  |11371|  13.3k|        Py_UCS4 c1, c2; \
  |  |11372|  27.7k|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 26.7k, False: 1.06k]
  |  |  ------------------
  |  |11373|  26.7k|            c1 = *p1; \
  |  |11374|  26.7k|            c2 = *p2; \
  |  |11375|  26.7k|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 12.3k, False: 14.4k]
  |  |  ------------------
  |  |11376|  26.7k|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 3.64k, False: 8.67k]
  |  |  ------------------
  |  |11377|  26.7k|        } \
  |  |11378|  13.3k|    } \
  |  |11379|  13.3k|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 1.06k]
  |  |  ------------------
  ------------------
11423|  1.06k|            break;
11424|  2.57M|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11424:9): [True: 2.57M, False: 25.4k]
  ------------------
11425|  2.57M|        {
11426|  2.57M|            COMPARE(Py_UCS2, Py_UCS2);
  ------------------
  |  |11367|  2.57M|    do { \
  |  |11368|  2.57M|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|  2.57M|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|  2.57M|        TYPE1* end = p1 + len; \
  |  |11371|  2.57M|        Py_UCS4 c1, c2; \
  |  |11372|  2.70M|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 2.70M, False: 3.63k]
  |  |  ------------------
  |  |11373|  2.70M|            c1 = *p1; \
  |  |11374|  2.70M|            c2 = *p2; \
  |  |11375|  2.70M|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 2.57M, False: 127k]
  |  |  ------------------
  |  |11376|  2.70M|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 1.12M, False: 1.44M]
  |  |  ------------------
  |  |11377|  2.70M|        } \
  |  |11378|  2.57M|    } \
  |  |11379|  2.57M|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 3.63k]
  |  |  ------------------
  ------------------
11427|  3.63k|            break;
11428|  2.57M|        }
11429|  12.0k|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11429:9): [True: 12.0k, False: 2.59M]
  ------------------
11430|  12.0k|            COMPARE(Py_UCS2, Py_UCS4);
  ------------------
  |  |11367|  12.0k|    do { \
  |  |11368|  12.0k|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|  12.0k|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|  12.0k|        TYPE1* end = p1 + len; \
  |  |11371|  12.0k|        Py_UCS4 c1, c2; \
  |  |11372|  12.6k|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 12.5k, False: 24]
  |  |  ------------------
  |  |11373|  12.5k|            c1 = *p1; \
  |  |11374|  12.5k|            c2 = *p2; \
  |  |11375|  12.5k|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 12.0k, False: 563]
  |  |  ------------------
  |  |11376|  12.5k|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 12.0k, False: 21]
  |  |  ------------------
  |  |11377|  12.5k|        } \
  |  |11378|  12.0k|    } \
  |  |11379|  12.0k|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 24]
  |  |  ------------------
  ------------------
11431|     24|            break;
11432|     24|        default:
  ------------------
  |  Branch (11432:9): [True: 0, False: 2.60M]
  ------------------
11433|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11434|  2.60M|        }
11435|  4.72k|        break;
11436|  2.60M|    }
11437|   138k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11437:5): [True: 138k, False: 3.46M]
  ------------------
11438|   138k|    {
11439|   138k|        switch(kind2) {
11440|    611|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11440:9): [True: 611, False: 138k]
  ------------------
11441|    611|            COMPARE(Py_UCS4, Py_UCS1);
  ------------------
  |  |11367|    611|    do { \
  |  |11368|    611|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|    611|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|    611|        TYPE1* end = p1 + len; \
  |  |11371|    611|        Py_UCS4 c1, c2; \
  |  |11372|  1.19k|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 1.15k, False: 45]
  |  |  ------------------
  |  |11373|  1.15k|            c1 = *p1; \
  |  |11374|  1.15k|            c2 = *p2; \
  |  |11375|  1.15k|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 566, False: 588]
  |  |  ------------------
  |  |11376|  1.15k|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 159, False: 407]
  |  |  ------------------
  |  |11377|  1.15k|        } \
  |  |11378|    611|    } \
  |  |11379|    611|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 45]
  |  |  ------------------
  ------------------
11442|     45|            break;
11443|  12.3k|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11443:9): [True: 12.3k, False: 126k]
  ------------------
11444|  12.3k|            COMPARE(Py_UCS4, Py_UCS2);
  ------------------
  |  |11367|  12.3k|    do { \
  |  |11368|  12.3k|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11369|  12.3k|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11370|  12.3k|        TYPE1* end = p1 + len; \
  |  |11371|  12.3k|        Py_UCS4 c1, c2; \
  |  |11372|  12.8k|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11372:16): [True: 12.8k, False: 7]
  |  |  ------------------
  |  |11373|  12.8k|            c1 = *p1; \
  |  |11374|  12.8k|            c2 = *p2; \
  |  |11375|  12.8k|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11375:17): [True: 12.3k, False: 444]
  |  |  ------------------
  |  |11376|  12.8k|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11376:24): [True: 20, False: 12.3k]
  |  |  ------------------
  |  |11377|  12.8k|        } \
  |  |11378|  12.3k|    } \
  |  |11379|  12.3k|    while (0)
  |  |  ------------------
  |  |  |  Branch (11379:12): [Folded, False: 7]
  |  |  ------------------
  ------------------
11445|      7|            break;
11446|   125k|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11446:9): [True: 125k, False: 12.9k]
  ------------------
11447|   125k|        {
11448|   125k|#if defined(HAVE_WMEMCMP) && SIZEOF_WCHAR_T == 4
11449|   125k|            int cmp = wmemcmp((wchar_t *)data1, (wchar_t *)data2, len);
11450|       |            /* normalize result of wmemcmp() into the range [-1; 1] */
11451|   125k|            if (cmp < 0)
  ------------------
  |  Branch (11451:17): [True: 60.6k, False: 65.3k]
  ------------------
11452|  60.6k|                return -1;
11453|  65.3k|            if (cmp > 0)
  ------------------
  |  Branch (11453:17): [True: 65.2k, False: 70]
  ------------------
11454|  65.2k|                return 1;
11455|       |#else
11456|       |            COMPARE(Py_UCS4, Py_UCS4);
11457|       |#endif
11458|     70|            break;
11459|  65.3k|        }
11460|     70|        default:
  ------------------
  |  Branch (11460:9): [True: 0, False: 138k]
  ------------------
11461|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11462|   138k|        }
11463|    122|        break;
11464|   138k|    }
11465|    122|    default:
  ------------------
  |  Branch (11465:5): [True: 0, False: 3.60M]
  ------------------
11466|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11467|  3.60M|    }
11468|       |
11469|  63.2k|    if (len1 == len2)
  ------------------
  |  Branch (11469:9): [True: 101, False: 63.1k]
  ------------------
11470|    101|        return 0;
11471|  63.1k|    if (len1 < len2)
  ------------------
  |  Branch (11471:9): [True: 33.2k, False: 29.9k]
  ------------------
11472|  33.2k|        return -1;
11473|  29.9k|    else
11474|  29.9k|        return 1;
11475|       |
11476|  63.1k|#undef COMPARE
11477|  63.1k|}
unicodeobject.c:unicode_askind:
 2459|  6.96k|{
 2460|  6.96k|    void *result;
 2461|       |
 2462|  6.96k|    assert(skind < kind);
  ------------------
  |  Branch (2462:5): [True: 6.96k, False: 0]
  ------------------
 2463|  6.96k|    switch (kind) {
 2464|  3.92k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2464:5): [True: 3.92k, False: 3.03k]
  ------------------
 2465|  3.92k|        result = PyMem_New(Py_UCS2, len);
  ------------------
  |  |   64|  3.92k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|  3.92k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 3.92k]
  |  |  ------------------
  |  |   65|  3.92k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 2466|  3.92k|        if (!result)
  ------------------
  |  Branch (2466:13): [True: 0, False: 3.92k]
  ------------------
 2467|      0|            return PyErr_NoMemory();
 2468|  3.92k|        assert(skind == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (2468:9): [True: 3.92k, False: 0]
  ------------------
 2469|  3.92k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|  3.92k|    do {                                                \
  |  |   48|  3.92k|        to_type *_to = (to_type *)(to);                 \
  |  |   49|  3.92k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|  3.92k|        const from_type *_end = (const from_type *)(end);\
  |  |   51|  3.92k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|  3.92k|        const from_type *_unrolled_end =                \
  |  |   53|  3.92k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|  3.92k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  3.92k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 0, False: 3.92k]
  |  |  ------------------
  |  |   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|  9.15k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 5.22k, False: 3.92k]
  |  |  ------------------
  |  |   62|  5.22k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|  3.92k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 3.92k]
  |  |  ------------------
  ------------------
 2470|  3.92k|            Py_UCS1, Py_UCS2,
 2471|  3.92k|            (const Py_UCS1 *)data,
 2472|  3.92k|            ((const Py_UCS1 *)data) + len,
 2473|  3.92k|            result);
 2474|  3.92k|        return result;
 2475|  3.03k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2475:5): [True: 3.03k, False: 3.92k]
  ------------------
 2476|  3.03k|        result = PyMem_New(Py_UCS4, len);
  ------------------
  |  |   64|  3.03k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|  3.03k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 3.03k]
  |  |  ------------------
  |  |   65|  3.03k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 2477|  3.03k|        if (!result)
  ------------------
  |  Branch (2477:13): [True: 0, False: 3.03k]
  ------------------
 2478|      0|            return PyErr_NoMemory();
 2479|  3.03k|        if (skind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (2479:13): [True: 0, False: 3.03k]
  ------------------
 2480|      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]
  |  |  ------------------
  ------------------
 2481|      0|                Py_UCS2, Py_UCS4,
 2482|      0|                (const Py_UCS2 *)data,
 2483|      0|                ((const Py_UCS2 *)data) + len,
 2484|      0|                result);
 2485|      0|        }
 2486|  3.03k|        else {
 2487|  3.03k|            assert(skind == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (2487:13): [True: 3.03k, False: 0]
  ------------------
 2488|  3.03k|            _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   47|  3.03k|    do {                                                \
  |  |   48|  3.03k|        to_type *_to = (to_type *)(to);                 \
  |  |   49|  3.03k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|  3.03k|        const from_type *_end = (const from_type *)(end);\
  |  |   51|  3.03k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|  3.03k|        const from_type *_unrolled_end =                \
  |  |   53|  3.03k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|  3.03k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  3.03k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 0, False: 3.03k]
  |  |  ------------------
  |  |   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|  7.50k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 4.46k, False: 3.03k]
  |  |  ------------------
  |  |   62|  4.46k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|  3.03k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 3.03k]
  |  |  ------------------
  ------------------
 2489|  3.03k|                Py_UCS1, Py_UCS4,
 2490|  3.03k|                (const Py_UCS1 *)data,
 2491|  3.03k|                ((const Py_UCS1 *)data) + len,
 2492|  3.03k|                result);
 2493|  3.03k|        }
 2494|  3.03k|        return result;
 2495|      0|    default:
  ------------------
  |  Branch (2495:5): [True: 0, False: 6.96k]
  ------------------
 2496|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2497|      0|        return NULL;
 2498|  6.96k|    }
 2499|  6.96k|}
unicodeobject.c:make_bloom_mask:
  918|  5.62k|{
  919|  5.62k|#define BLOOM_UPDATE(TYPE, MASK, PTR, LEN)             \
  920|  5.62k|    do {                                               \
  921|  5.62k|        TYPE *data = (TYPE *)PTR;                      \
  922|  5.62k|        TYPE *end = data + LEN;                        \
  923|  5.62k|        Py_UCS4 ch;                                    \
  924|  5.62k|        for (; data != end; data++) {                  \
  925|  5.62k|            ch = *data;                                \
  926|  5.62k|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  927|  5.62k|        }                                              \
  928|  5.62k|        break;                                         \
  929|  5.62k|    } while (0)
  930|       |
  931|       |    /* calculate simple bloom-style bitmask for a given unicode string */
  932|       |
  933|  5.62k|    BLOOM_MASK mask;
  ------------------
  |  |  906|  5.62k|#define BLOOM_MASK unsigned long
  ------------------
  934|       |
  935|  5.62k|    mask = 0;
  936|  5.62k|    switch (kind) {
  937|  5.62k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (937:5): [True: 5.62k, False: 2]
  ------------------
  938|  5.62k|        BLOOM_UPDATE(Py_UCS1, mask, ptr, len);
  ------------------
  |  |  920|  5.62k|    do {                                               \
  |  |  921|  5.62k|        TYPE *data = (TYPE *)PTR;                      \
  |  |  922|  5.62k|        TYPE *end = data + LEN;                        \
  |  |  923|  5.62k|        Py_UCS4 ch;                                    \
  |  |  924|  11.2k|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (924:16): [True: 5.62k, False: 5.62k]
  |  |  ------------------
  |  |  925|  5.62k|            ch = *data;                                \
  |  |  926|  5.62k|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  899|  5.62k|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  927|  5.62k|        }                                              \
  |  |  928|  5.62k|        break;                                         \
  |  |  929|  5.62k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (929:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  939|  5.62k|        break;
  940|      2|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (940:5): [True: 2, False: 5.62k]
  ------------------
  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: 5.62k]
  ------------------
  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: 5.62k]
  ------------------
  947|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  948|  5.62k|    }
  949|  5.62k|    return mask;
  950|       |
  951|  5.62k|#undef BLOOM_UPDATE
  952|  5.62k|}
unicodeobject.c:unicode_result_unchanged:
  742|   120k|{
  743|   120k|    if (PyUnicode_CheckExact(unicode)) {
  ------------------
  |  |  104|   120k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   120k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   120k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   120k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 120k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  744|   120k|        return Py_NewRef(unicode);
  ------------------
  |  |  647|   120k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   120k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   120k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  745|   120k|    }
  746|      0|    else
  747|       |        /* Subtype -- return genuine unicode string with the same value. */
  748|      0|        return _PyUnicode_Copy(unicode);
  749|   120k|}
unicodeobject.c:replace:
10983|  40.1k|{
10984|  40.1k|    PyObject *u;
10985|  40.1k|    const char *sbuf = PyUnicode_DATA(self);
  ------------------
  |  |  285|  40.1k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10986|  40.1k|    const void *buf1 = PyUnicode_DATA(str1);
  ------------------
  |  |  285|  40.1k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10987|  40.1k|    const void *buf2 = PyUnicode_DATA(str2);
  ------------------
  |  |  285|  40.1k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10988|  40.1k|    int srelease = 0, release1 = 0, release2 = 0;
10989|  40.1k|    int skind = PyUnicode_KIND(self);
  ------------------
  |  |  259|  40.1k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  80.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 40.1k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10990|  40.1k|    int kind1 = PyUnicode_KIND(str1);
  ------------------
  |  |  259|  40.1k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  80.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 40.1k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10991|  40.1k|    int kind2 = PyUnicode_KIND(str2);
  ------------------
  |  |  259|  40.1k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  80.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 40.1k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10992|  40.1k|    Py_ssize_t slen = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|  40.1k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10993|  40.1k|    Py_ssize_t len1 = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  300|  40.1k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10994|  40.1k|    Py_ssize_t len2 = PyUnicode_GET_LENGTH(str2);
  ------------------
  |  |  300|  40.1k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10995|  40.1k|    int mayshrink;
10996|  40.1k|    Py_UCS4 maxchar, maxchar_str1, maxchar_str2;
10997|       |
10998|  40.1k|    if (slen < len1)
  ------------------
  |  Branch (10998:9): [True: 3.38k, False: 36.7k]
  ------------------
10999|  3.38k|        goto nothing;
11000|       |
11001|  36.7k|    if (maxcount < 0)
  ------------------
  |  Branch (11001:9): [True: 36.7k, False: 0]
  ------------------
11002|  36.7k|        maxcount = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  36.7k|#   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|  36.7k|    if (str1 == str2)
  ------------------
  |  Branch (11006:9): [True: 0, False: 36.7k]
  ------------------
11007|      0|        goto nothing;
11008|       |
11009|  36.7k|    maxchar = PyUnicode_MAX_CHAR_VALUE(self);
  ------------------
  |  |  406|  36.7k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11010|  36.7k|    maxchar_str1 = PyUnicode_MAX_CHAR_VALUE(str1);
  ------------------
  |  |  406|  36.7k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11011|  36.7k|    if (maxchar < maxchar_str1)
  ------------------
  |  Branch (11011:9): [True: 0, False: 36.7k]
  ------------------
11012|       |        /* substring too wide to be present */
11013|      0|        goto nothing;
11014|  36.7k|    maxchar_str2 = PyUnicode_MAX_CHAR_VALUE(str2);
  ------------------
  |  |  406|  36.7k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11015|       |    /* Replacing str1 with str2 may cause a maxchar reduction in the
11016|       |       result string. */
11017|  36.7k|    mayshrink = (maxchar_str2 < maxchar_str1) && (maxchar == maxchar_str1);
  ------------------
  |  Branch (11017:17): [True: 0, False: 36.7k]
  |  Branch (11017:50): [True: 0, False: 0]
  ------------------
11018|  36.7k|    maxchar = Py_MAX(maxchar, maxchar_str2);
  ------------------
  |  |  133|  36.7k|       __extension__ \
  |  |  134|  36.7k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  36.7k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  36.7k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  36.7k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  36.7k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 7.83k, False: 28.9k]
  |  |  ------------------
  ------------------
11019|       |
11020|  36.7k|    if (len1 == len2) {
  ------------------
  |  Branch (11020:9): [True: 334, False: 36.4k]
  ------------------
11021|       |        /* same length */
11022|    334|        if (len1 == 0)
  ------------------
  |  Branch (11022:13): [True: 0, False: 334]
  ------------------
11023|      0|            goto nothing;
11024|    334|        if (len1 == 1) {
  ------------------
  |  Branch (11024:13): [True: 334, False: 0]
  ------------------
11025|       |            /* replace characters */
11026|    334|            Py_UCS4 u1, u2;
11027|    334|            Py_ssize_t pos;
11028|       |
11029|    334|            u1 = PyUnicode_READ(kind1, buf1, 0);
  ------------------
  |  |  355|    334|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    334|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    334|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    334|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    334|                   (index))
  ------------------
11030|    334|            pos = findchar(sbuf, skind, slen, u1, 1);
11031|    334|            if (pos < 0)
  ------------------
  |  Branch (11031:17): [True: 288, False: 46]
  ------------------
11032|    288|                goto nothing;
11033|     46|            u2 = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  355|     46|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     46|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     46|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     46|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|     46|                   (index))
  ------------------
11034|     46|            u = PyUnicode_New(slen, maxchar);
11035|     46|            if (!u)
  ------------------
  |  Branch (11035:17): [True: 0, False: 46]
  ------------------
11036|      0|                goto error;
11037|       |
11038|     46|            _PyUnicode_FastCopyCharacters(u, 0, self, 0, slen);
11039|     46|            replace_1char_inplace(u, pos, u1, u2, maxcount);
11040|     46|        }
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|    334|    }
11103|  36.4k|    else {
11104|  36.4k|        Py_ssize_t n, i, j, ires;
11105|  36.4k|        Py_ssize_t new_size;
11106|  36.4k|        int rkind = skind;
11107|  36.4k|        char *res;
11108|       |
11109|  36.4k|        if (kind1 < rkind) {
  ------------------
  |  Branch (11109:13): [True: 4.23k, False: 32.2k]
  ------------------
11110|       |            /* widen substring */
11111|  4.23k|            buf1 = unicode_askind(kind1, buf1, len1, rkind);
11112|  4.23k|            if (!buf1) goto error;
  ------------------
  |  Branch (11112:17): [True: 0, False: 4.23k]
  ------------------
11113|  4.23k|            release1 = 1;
11114|  4.23k|        }
11115|  36.4k|        n = anylib_count(rkind, self, sbuf, slen, str1, buf1, len1, maxcount);
11116|  36.4k|        if (n == 0)
  ------------------
  |  Branch (11116:13): [True: 26.8k, False: 9.57k]
  ------------------
11117|  26.8k|            goto nothing;
11118|  9.57k|        if (kind2 < rkind) {
  ------------------
  |  Branch (11118:13): [True: 2.72k, False: 6.85k]
  ------------------
11119|       |            /* widen replacement */
11120|  2.72k|            buf2 = unicode_askind(kind2, buf2, len2, rkind);
11121|  2.72k|            if (!buf2) goto error;
  ------------------
  |  Branch (11121:17): [True: 0, False: 2.72k]
  ------------------
11122|  2.72k|            release2 = 1;
11123|  2.72k|        }
11124|  6.85k|        else if (kind2 > rkind) {
  ------------------
  |  Branch (11124:18): [True: 0, False: 6.85k]
  ------------------
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|  9.57k|        if (len1 < len2 && len2 - len1 > (PY_SSIZE_T_MAX - slen) / n) {
  ------------------
  |  |  137|  6.47k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11142:13): [True: 6.47k, False: 3.09k]
  |  Branch (11142:28): [True: 0, False: 6.47k]
  ------------------
11143|      0|                PyErr_SetString(PyExc_OverflowError,
11144|      0|                                "replace string is too long");
11145|      0|                goto error;
11146|      0|        }
11147|  9.57k|        new_size = slen + n * (len2 - len1);
11148|  9.57k|        if (new_size == 0) {
  ------------------
  |  Branch (11148:13): [True: 0, False: 9.57k]
  ------------------
11149|      0|            u = _PyUnicode_GetEmpty();
11150|      0|            goto done;
11151|      0|        }
11152|  9.57k|        if (new_size > (PY_SSIZE_T_MAX / rkind)) {
  ------------------
  |  |  137|  9.57k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11152:13): [True: 0, False: 9.57k]
  ------------------
11153|      0|            PyErr_SetString(PyExc_OverflowError,
11154|      0|                            "replace string is too long");
11155|      0|            goto error;
11156|      0|        }
11157|  9.57k|        u = PyUnicode_New(new_size, maxchar);
11158|  9.57k|        if (!u)
  ------------------
  |  Branch (11158:13): [True: 0, False: 9.57k]
  ------------------
11159|      0|            goto error;
11160|  9.57k|        assert(PyUnicode_KIND(u) == rkind);
  ------------------
  |  Branch (11160:9): [True: 9.57k, False: 0]
  |  Branch (11160:9): [True: 9.57k, False: 0]
  ------------------
11161|  9.57k|        res = PyUnicode_DATA(u);
  ------------------
  |  |  285|  9.57k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11162|  9.57k|        ires = i = 0;
11163|  9.57k|        if (len1 > 0) {
  ------------------
  |  Branch (11163:13): [True: 9.57k, False: 0]
  ------------------
11164|  43.5k|            while (n-- > 0) {
  ------------------
  |  Branch (11164:20): [True: 34.0k, False: 9.57k]
  ------------------
11165|       |                /* look for next match */
11166|  34.0k|                j = anylib_find(rkind, self,
11167|  34.0k|                                sbuf + rkind * i, slen-i,
11168|  34.0k|                                str1, buf1, len1, i);
11169|  34.0k|                if (j == -1)
  ------------------
  |  Branch (11169:21): [True: 0, False: 34.0k]
  ------------------
11170|      0|                    break;
11171|  34.0k|                else if (j > i) {
  ------------------
  |  Branch (11171:26): [True: 12.2k, False: 21.7k]
  ------------------
11172|       |                    /* copy unchanged part [i:j] */
11173|  12.2k|                    memcpy(res + rkind * ires,
11174|  12.2k|                           sbuf + rkind * i,
11175|  12.2k|                           rkind * (j-i));
11176|  12.2k|                    ires += j - i;
11177|  12.2k|                }
11178|       |                /* copy substitution string */
11179|  34.0k|                if (len2 > 0) {
  ------------------
  |  Branch (11179:21): [True: 33.9k, False: 24]
  ------------------
11180|  33.9k|                    memcpy(res + rkind * ires,
11181|  33.9k|                           buf2,
11182|  33.9k|                           rkind * len2);
11183|  33.9k|                    ires += len2;
11184|  33.9k|                }
11185|  34.0k|                i = j + len1;
11186|  34.0k|            }
11187|  9.57k|            if (i < slen)
  ------------------
  |  Branch (11187:17): [True: 7.27k, False: 2.29k]
  ------------------
11188|       |                /* copy tail [i:] */
11189|  7.27k|                memcpy(res + rkind * ires,
11190|  7.27k|                       sbuf + rkind * i,
11191|  7.27k|                       rkind * (slen-i));
11192|  9.57k|        }
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|  9.57k|    }
11213|       |
11214|  9.62k|    if (mayshrink) {
  ------------------
  |  Branch (11214:9): [True: 0, False: 9.62k]
  ------------------
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|  9.62k|  done:
11221|  9.62k|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11221:5): [True: 9.62k, False: 0]
  |  Branch (11221:5): [True: 0, False: 9.62k]
  |  Branch (11221:5): [True: 9.62k, False: 0]
  ------------------
11222|  9.62k|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11222:5): [True: 9.62k, False: 0]
  |  Branch (11222:5): [True: 2.72k, False: 6.89k]
  |  Branch (11222:5): [True: 9.62k, False: 0]
  ------------------
11223|  9.62k|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11223:5): [True: 9.62k, False: 0]
  |  Branch (11223:5): [True: 2.72k, False: 6.89k]
  |  Branch (11223:5): [True: 9.62k, False: 0]
  ------------------
11224|  9.62k|    if (srelease)
  ------------------
  |  Branch (11224:9): [True: 0, False: 9.62k]
  ------------------
11225|      0|        PyMem_Free((void *)sbuf);
11226|  9.62k|    if (release1)
  ------------------
  |  Branch (11226:9): [True: 2.72k, False: 6.89k]
  ------------------
11227|  2.72k|        PyMem_Free((void *)buf1);
11228|  9.62k|    if (release2)
  ------------------
  |  Branch (11228:9): [True: 2.72k, False: 6.89k]
  ------------------
11229|  2.72k|        PyMem_Free((void *)buf2);
11230|  9.62k|    assert(_PyUnicode_CheckConsistency(u, 1));
  ------------------
  |  Branch (11230:5): [True: 9.62k, False: 0]
  ------------------
11231|  9.62k|    return u;
11232|       |
11233|  30.5k|  nothing:
11234|       |    /* nothing to replace; return original string (when possible) */
11235|  30.5k|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11235:5): [True: 30.5k, False: 0]
  |  Branch (11235:5): [True: 0, False: 30.5k]
  |  Branch (11235:5): [True: 30.5k, False: 0]
  ------------------
11236|  30.5k|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11236:5): [True: 30.5k, False: 0]
  |  Branch (11236:5): [True: 1.51k, False: 29.0k]
  |  Branch (11236:5): [True: 30.5k, False: 0]
  ------------------
11237|  30.5k|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11237:5): [True: 30.5k, False: 0]
  |  Branch (11237:5): [True: 0, False: 30.5k]
  |  Branch (11237:5): [True: 30.5k, False: 0]
  ------------------
11238|  30.5k|    if (srelease)
  ------------------
  |  Branch (11238:9): [True: 0, False: 30.5k]
  ------------------
11239|      0|        PyMem_Free((void *)sbuf);
11240|  30.5k|    if (release1)
  ------------------
  |  Branch (11240:9): [True: 1.51k, False: 29.0k]
  ------------------
11241|  1.51k|        PyMem_Free((void *)buf1);
11242|  30.5k|    if (release2)
  ------------------
  |  Branch (11242:9): [True: 0, False: 30.5k]
  ------------------
11243|      0|        PyMem_Free((void *)buf2);
11244|  30.5k|    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|     46|{
10959|     46|    int kind = PyUnicode_KIND(u);
  ------------------
  |  |  259|     46|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|     92|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 46, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10960|     46|    void *data = PyUnicode_DATA(u);
  ------------------
  |  |  285|     46|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10961|     46|    Py_ssize_t len = PyUnicode_GET_LENGTH(u);
  ------------------
  |  |  300|     46|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10962|     46|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (10962:9): [True: 46, False: 0]
  ------------------
10963|     46|        ucs1lib_replace_1char_inplace((Py_UCS1 *)data + pos,
10964|     46|                                      (Py_UCS1 *)data + len,
10965|     46|                                      u1, u2, maxcount);
10966|     46|    }
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|     46|}
unicodeobject.c:anylib_find:
10925|  34.0k|{
10926|  34.0k|    switch (kind) {
  ------------------
  |  Branch (10926:13): [True: 34.0k, False: 0]
  ------------------
10927|  17.1k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10927:5): [True: 17.1k, False: 16.8k]
  ------------------
10928|  17.1k|        if (PyUnicode_IS_ASCII(str1) && PyUnicode_IS_ASCII(str2))
  ------------------
  |  |  228|  34.2k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 12.3k, False: 4.77k]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(str1) && PyUnicode_IS_ASCII(str2))
  ------------------
  |  |  228|  12.3k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 12.3k, False: 0]
  |  |  ------------------
  ------------------
10929|  12.3k|            return asciilib_find(buf1, len1, buf2, len2, offset);
10930|  4.77k|        else
10931|  4.77k|            return ucs1lib_find(buf1, len1, buf2, len2, offset);
10932|  7.58k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10932:5): [True: 7.58k, False: 26.4k]
  ------------------
10933|  7.58k|        return ucs2lib_find(buf1, len1, buf2, len2, offset);
10934|  9.29k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10934:5): [True: 9.29k, False: 24.7k]
  ------------------
10935|  9.29k|        return ucs4lib_find(buf1, len1, buf2, len2, offset);
10936|  34.0k|    }
10937|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10938|  34.0k|}
unicodeobject.c:anylib_count:
10943|  36.4k|{
10944|  36.4k|    switch (kind) {
  ------------------
  |  Branch (10944:13): [True: 36.4k, False: 0]
  ------------------
10945|  32.2k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10945:5): [True: 32.2k, False: 4.23k]
  ------------------
10946|  32.2k|        return ucs1lib_count(sbuf, slen, buf1, len1, maxcount);
10947|  2.62k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10947:5): [True: 2.62k, False: 33.8k]
  ------------------
10948|  2.62k|        return ucs2lib_count(sbuf, slen, buf1, len1, maxcount);
10949|  1.61k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10949:5): [True: 1.61k, False: 34.8k]
  ------------------
10950|  1.61k|        return ucs4lib_count(sbuf, slen, buf1, len1, maxcount);
10951|  36.4k|    }
10952|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10953|  36.4k|}
unicodeobject.c:split:
10742|    382|{
10743|    382|    int kind1, kind2;
10744|    382|    const void *buf1, *buf2;
10745|    382|    Py_ssize_t len1, len2;
10746|    382|    PyObject* out;
10747|    382|    len1 = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|    382|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    382|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    382|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10748|    382|    kind1 = PyUnicode_KIND(self);
  ------------------
  |  |  259|    382|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    764|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 382, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10749|       |
10750|    382|    if (substring == NULL) {
  ------------------
  |  Branch (10750:9): [True: 2, False: 380]
  ------------------
10751|      2|        if (maxcount < 0) {
  ------------------
  |  Branch (10751:13): [True: 2, False: 0]
  ------------------
10752|      2|            maxcount = (len1 - 1) / 2 + 1;
10753|      2|        }
10754|      2|        switch (kind1) {
10755|      2|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10755:9): [True: 2, False: 0]
  ------------------
10756|      2|            if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  228|      2|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 2, False: 0]
  |  |  ------------------
  ------------------
10757|      2|                return asciilib_split_whitespace(
10758|      2|                    self,  PyUnicode_1BYTE_DATA(self),
  ------------------
  |  |  292|      2|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10759|      2|                    len1, maxcount
10760|      2|                    );
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: 2]
  ------------------
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: 2]
  ------------------
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: 2]
  ------------------
10777|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10778|      2|        }
10779|      2|    }
10780|       |
10781|    380|    kind2 = PyUnicode_KIND(substring);
  ------------------
  |  |  259|    380|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|    760|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 380, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10782|    380|    len2 = PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  300|    380|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10783|    380|    if (maxcount < 0) {
  ------------------
  |  Branch (10783:9): [True: 380, False: 0]
  ------------------
10784|       |        // if len2 == 0, it will raise ValueError.
10785|    380|        maxcount = len2 == 0 ? 0 : (len1 / len2) + 1;
  ------------------
  |  Branch (10785:20): [True: 0, False: 380]
  ------------------
10786|       |        // handle expected overflow case: (Py_SSIZE_T_MAX / 1) + 1
10787|    380|        maxcount = maxcount < 0 ? len1 : maxcount;
  ------------------
  |  Branch (10787:20): [True: 0, False: 380]
  ------------------
10788|    380|    }
10789|    380|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (10789:9): [True: 0, False: 380]
  |  Branch (10789:26): [True: 0, False: 380]
  ------------------
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|    380|    buf1 = PyUnicode_DATA(self);
  ------------------
  |  |  285|    380|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10797|    380|    buf2 = PyUnicode_DATA(substring);
  ------------------
  |  |  285|    380|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10798|    380|    if (kind2 != kind1) {
  ------------------
  |  Branch (10798:9): [True: 0, False: 380]
  ------------------
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|    380|    switch (kind1) {
10805|    380|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10805:5): [True: 380, False: 0]
  ------------------
10806|    380|        if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  228|    760|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 380, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  228|    380|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 380, False: 0]
  |  |  ------------------
  ------------------
10807|    380|            out = asciilib_split(
10808|    380|                self,  buf1, len1, buf2, len2, maxcount);
10809|      0|        else
10810|      0|            out = ucs1lib_split(
10811|      0|                self,  buf1, len1, buf2, len2, maxcount);
10812|    380|        break;
10813|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10813:5): [True: 0, False: 380]
  ------------------
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: 380]
  ------------------
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: 380]
  ------------------
10822|      0|        out = NULL;
10823|    380|    }
10824|    380|    assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(substring)));
  ------------------
  |  Branch (10824:5): [True: 380, False: 0]
  ------------------
10825|    380|    if (kind2 != kind1)
  ------------------
  |  Branch (10825:9): [True: 0, False: 380]
  ------------------
10826|      0|        PyMem_Free((void *)buf2);
10827|    380|    return out;
10828|    380|}
unicodeobject.c:unicode_dealloc:
 1634|  9.27M|{
 1635|       |#ifdef Py_DEBUG
 1636|       |    if (!unicode_is_finalizing() && unicode_is_singleton(unicode)) {
 1637|       |        _Py_FatalRefcountError("deallocating an Unicode singleton");
 1638|       |    }
 1639|       |#endif
 1640|  18.5M|    if (_PyUnicode_STATE(unicode).statically_allocated) {
  ------------------
  |  |  152|  9.27M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  9.27M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  9.27M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1640:9): [True: 9.27M, False: 0]
  |  Branch (1640:9): [True: 0, False: 9.27M]
  ------------------
 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|  9.27M|    switch (_PyUnicode_STATE(unicode).interned) {
  ------------------
  |  |  152|  9.27M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  9.27M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  9.27M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1651:13): [True: 9.27M, False: 0]
  ------------------
 1652|  9.25M|        case SSTATE_NOT_INTERNED:
  ------------------
  |  |  202|  9.25M|#define SSTATE_NOT_INTERNED 0
  ------------------
  |  Branch (1652:9): [True: 9.25M, False: 25.7k]
  ------------------
 1653|  9.25M|            break;
 1654|  25.7k|        case SSTATE_INTERNED_MORTAL:
  ------------------
  |  |  203|  25.7k|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (1654:9): [True: 25.7k, False: 9.25M]
  ------------------
 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|  25.7k|            assert(Py_REFCNT(unicode) == 0);
  ------------------
  |  Branch (1659:13): [True: 25.7k, False: 0]
  ------------------
 1660|  25.7k|            Py_SET_REFCNT(unicode, 2);
  ------------------
  |  |  201|  25.7k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  25.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.7k|#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|  25.7k|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1667|  25.7k|            PyObject *interned = get_interned_dict(interp);
 1668|  25.7k|            assert(interned != NULL);
  ------------------
  |  Branch (1668:13): [True: 25.7k, False: 0]
  ------------------
 1669|  25.7k|            PyObject *popped;
 1670|  25.7k|            int r = PyDict_Pop(interned, unicode, &popped);
 1671|  25.7k|            if (r == -1) {
  ------------------
  |  Branch (1671:17): [True: 0, False: 25.7k]
  ------------------
 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|  25.7k|            if (r == 0) {
  ------------------
  |  Branch (1684:17): [True: 0, False: 25.7k]
  ------------------
 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|  25.7k|            assert(popped == unicode);
  ------------------
  |  Branch (1693:13): [True: 25.7k, False: 0]
  ------------------
 1694|       |            // Only our `popped` reference should be left; remove it too.
 1695|  25.7k|            assert(Py_REFCNT(unicode) == 1);
  ------------------
  |  Branch (1695:13): [True: 25.7k, False: 0]
  ------------------
 1696|  25.7k|            Py_SET_REFCNT(unicode, 0);
  ------------------
  |  |  201|  25.7k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  25.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.7k|#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|  25.7k|            break;
 1702|      0|        default:
  ------------------
  |  Branch (1702:9): [True: 0, False: 9.27M]
  ------------------
 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|  9.27M|    }
 1710|  9.27M|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1710:9): [True: 12.1k, False: 9.26M]
  ------------------
 1711|  12.1k|        PyMem_Free(_PyUnicode_UTF8(unicode));
 1712|  12.1k|    }
 1713|  9.27M|    if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) {
  ------------------
  |  |  235|  18.5M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.27M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.27M|#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: 9.27M]
  |  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|  9.27M|    Py_TYPE(unicode)->tp_free(unicode);
  ------------------
  |  |  213|  9.27M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.27M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1718|  9.27M|}
unicodeobject.c:unicode_repr:
13112|  8.62k|{
13113|  8.62k|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  300|  8.62k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13114|  8.62k|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  285|  8.62k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13115|       |
13116|       |    /* Compute length of output, quote characters, and
13117|       |       maximum character */
13118|  8.62k|    Py_ssize_t osize = 0;
13119|  8.62k|    Py_UCS4 maxch = 127;
13120|  8.62k|    Py_ssize_t squote = 0;
13121|  8.62k|    Py_ssize_t dquote = 0;
13122|  8.62k|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  259|  8.62k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  17.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 8.62k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13123|   639k|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (13123:28): [True: 630k, False: 8.62k]
  ------------------
13124|   630k|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  355|   630k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   630k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   630k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   630k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   630k|                   (index))
  ------------------
13125|   630k|        Py_ssize_t incr = 1;
13126|   630k|        switch (ch) {
13127|  10.3k|        case '\'': squote++; break;
  ------------------
  |  Branch (13127:9): [True: 10.3k, False: 620k]
  ------------------
13128|  20.8k|        case '"':  dquote++; break;
  ------------------
  |  Branch (13128:9): [True: 20.8k, False: 610k]
  ------------------
13129|  10.7k|        case '\\': case '\t': case '\r': case '\n':
  ------------------
  |  Branch (13129:9): [True: 3.82k, False: 626k]
  |  Branch (13129:20): [True: 2.56k, False: 628k]
  |  Branch (13129:31): [True: 702, False: 630k]
  |  Branch (13129:42): [True: 3.66k, False: 627k]
  ------------------
13130|  10.7k|            incr = 2;
13131|  10.7k|            break;
13132|   588k|        default:
  ------------------
  |  Branch (13132:9): [True: 588k, False: 41.9k]
  ------------------
13133|       |            /* Fast-path ASCII */
13134|   588k|            if (ch < ' ' || ch == 0x7f)
  ------------------
  |  Branch (13134:17): [True: 11.9k, False: 576k]
  |  Branch (13134:29): [True: 1.96k, False: 574k]
  ------------------
13135|  13.8k|                incr = 4; /* \xHH */
13136|   574k|            else if (ch < 0x7f)
  ------------------
  |  Branch (13136:22): [True: 444k, False: 130k]
  ------------------
13137|   444k|                ;
13138|   130k|            else if (Py_UNICODE_ISPRINTABLE(ch))
  ------------------
  |  |  722|   130k|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  |  |  |  Branch (722:36): [True: 83.3k, False: 47.5k]
  |  |  ------------------
  ------------------
13139|  83.3k|                maxch = (ch > maxch) ? ch : maxch;
  ------------------
  |  Branch (13139:25): [True: 4.81k, False: 78.5k]
  ------------------
13140|  47.5k|            else if (ch < 0x100)
  ------------------
  |  Branch (13140:22): [True: 45.9k, False: 1.59k]
  ------------------
13141|  45.9k|                incr = 4; /* \xHH */
13142|  1.59k|            else if (ch < 0x10000)
  ------------------
  |  Branch (13142:22): [True: 1.12k, False: 473]
  ------------------
13143|  1.12k|                incr = 6; /* \uHHHH */
13144|    473|            else
13145|    473|                incr = 10; /* \uHHHHHHHH */
13146|   630k|        }
13147|   630k|        if (osize > PY_SSIZE_T_MAX - incr) {
  ------------------
  |  |  137|   630k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (13147:13): [True: 0, False: 630k]
  ------------------
13148|      0|            PyErr_SetString(PyExc_OverflowError,
13149|      0|                            "string is too long to generate repr");
13150|      0|            return NULL;
13151|      0|        }
13152|   630k|        osize += incr;
13153|   630k|    }
13154|       |
13155|  8.62k|    Py_UCS4 quote = '\'';
13156|  8.62k|    int changed = (osize != isize);
13157|  8.62k|    if (squote) {
  ------------------
  |  Branch (13157:9): [True: 887, False: 7.74k]
  ------------------
13158|    887|        changed = 1;
13159|    887|        if (dquote)
  ------------------
  |  Branch (13159:13): [True: 672, False: 215]
  ------------------
13160|       |            /* Both squote and dquote present. Use squote,
13161|       |               and escape them */
13162|    672|            osize += squote;
13163|    215|        else
13164|    215|            quote = '"';
13165|    887|    }
13166|  8.62k|    osize += 2;   /* quotes */
13167|       |
13168|  8.62k|    PyObject *repr = PyUnicode_New(osize, maxch);
13169|  8.62k|    if (repr == NULL)
  ------------------
  |  Branch (13169:9): [True: 0, False: 8.62k]
  ------------------
13170|      0|        return NULL;
13171|  8.62k|    int okind = PyUnicode_KIND(repr);
  ------------------
  |  |  259|  8.62k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  17.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 8.62k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13172|  8.62k|    void *odata = PyUnicode_DATA(repr);
  ------------------
  |  |  285|  8.62k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13173|       |
13174|  8.62k|    if (!changed) {
  ------------------
  |  Branch (13174:9): [True: 4.75k, False: 3.87k]
  ------------------
13175|  4.75k|        PyUnicode_WRITE(okind, odata, 0, quote);
  ------------------
  |  |  336|  4.75k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|  4.75k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|  4.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|  4.75k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|  4.75k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13176|       |
13177|  4.75k|        _PyUnicode_FastCopyCharacters(repr, 1,
13178|  4.75k|                                      unicode, 0,
13179|  4.75k|                                      isize);
13180|       |
13181|  4.75k|        PyUnicode_WRITE(okind, odata, osize-1, quote);
  ------------------
  |  |  336|  4.75k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|  4.75k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|  4.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|  4.75k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|  4.75k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13182|  4.75k|    }
13183|  3.87k|    else {
13184|  3.87k|        switch (okind) {
13185|  2.54k|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (13185:9): [True: 2.54k, False: 1.33k]
  ------------------
13186|  2.54k|            ucs1lib_repr(unicode, quote, odata);
13187|  2.54k|            break;
13188|  1.01k|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (13188:9): [True: 1.01k, False: 2.86k]
  ------------------
13189|  1.01k|            ucs2lib_repr(unicode, quote, odata);
13190|  1.01k|            break;
13191|    318|        default:
  ------------------
  |  Branch (13191:9): [True: 318, False: 3.56k]
  ------------------
13192|    318|            assert(okind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (13192:13): [True: 318, False: 0]
  ------------------
13193|    318|            ucs4lib_repr(unicode, quote, odata);
13194|  3.87k|        }
13195|  3.87k|    }
13196|       |
13197|  8.62k|    assert(_PyUnicode_CheckConsistency(repr, 1));
  ------------------
  |  Branch (13197:5): [True: 8.62k, False: 0]
  ------------------
13198|  8.62k|    return repr;
13199|  8.62k|}
unicodeobject.c:unicode_mod:
14183|    180|{
14184|    180|    if (!PyUnicode_Check(v))
  ------------------
  |  |  103|    180|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    180|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14184:9): [True: 159, False: 21]
  ------------------
14185|    159|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|    159|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|    159|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
14186|     21|    return PyUnicode_Format(v, w);
14187|    180|}
unicodeobject.c:unicode_length:
12680|   869k|{
12681|   869k|    return PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|   869k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   869k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   869k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12682|   869k|}
unicodeobject.c:unicode_getitem:
12112|  2.62M|{
12113|  2.62M|    const void *data;
12114|  2.62M|    int kind;
12115|  2.62M|    Py_UCS4 ch;
12116|       |
12117|  2.62M|    if (!PyUnicode_Check(self)) {
  ------------------
  |  |  103|  2.62M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.62M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (12117:9): [True: 0, False: 2.62M]
  ------------------
12118|      0|        PyErr_BadArgument();
12119|      0|        return NULL;
12120|      0|    }
12121|  2.62M|    if (index < 0 || index >= PyUnicode_GET_LENGTH(self)) {
  ------------------
  |  |  300|  2.62M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.62M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.62M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12121:9): [True: 683, False: 2.62M]
  |  Branch (12121:22): [True: 747, False: 2.62M]
  ------------------
12122|  1.43k|        PyErr_SetString(PyExc_IndexError, "string index out of range");
12123|  1.43k|        return NULL;
12124|  1.43k|    }
12125|  2.62M|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|  2.62M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  5.24M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2.62M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12126|  2.62M|    data = PyUnicode_DATA(self);
  ------------------
  |  |  285|  2.62M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.62M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.62M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12127|  2.62M|    ch = PyUnicode_READ(kind, data, index);
  ------------------
  |  |  355|  2.62M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  2.62M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  2.62M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  2.62M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  2.62M|                   (index))
  ------------------
12128|  2.62M|    return unicode_char(ch);
12129|  2.62M|}
unicodeobject.c:unicode_subscript:
14209|  2.62M|{
14210|  2.62M|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (14210:9): [True: 2.62M, False: 5.11k]
  ------------------
14211|  2.62M|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
14212|  2.62M|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (14212:13): [True: 991, False: 2.62M]
  |  Branch (14212:24): [True: 739, False: 252]
  ------------------
14213|    739|            return NULL;
14214|  2.62M|        if (i < 0)
  ------------------
  |  Branch (14214:13): [True: 961, False: 2.62M]
  ------------------
14215|    961|            i += PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|    961|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    961|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    961|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14216|  2.62M|        return unicode_getitem(self, i);
14217|  2.62M|    } else if (PySlice_Check(item)) {
  ------------------
  |  |   22|  5.11k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  5.11k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.82k, False: 290]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14218|  4.82k|        Py_ssize_t start, stop, step, slicelength, i;
14219|  4.82k|        size_t cur;
14220|  4.82k|        PyObject *result;
14221|  4.82k|        const void *src_data;
14222|  4.82k|        void *dest_data;
14223|  4.82k|        int src_kind, dest_kind;
14224|  4.82k|        Py_UCS4 ch, max_char, kind_limit;
14225|       |
14226|  4.82k|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (14226:13): [True: 996, False: 3.83k]
  ------------------
14227|    996|            return NULL;
14228|    996|        }
14229|  3.83k|        slicelength = PySlice_AdjustIndices(PyUnicode_GET_LENGTH(self),
  ------------------
  |  |  300|  3.83k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14230|  3.83k|                                            &start, &stop, step);
14231|       |
14232|  3.83k|        if (slicelength <= 0) {
  ------------------
  |  Branch (14232:13): [True: 1.59k, False: 2.23k]
  ------------------
14233|  1.59k|            _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  365|  1.59k|    do {                             \
  |  |  366|  1.59k|        return _PyUnicode_GetEmpty();\
  |  |  367|  1.59k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (367:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
14234|  2.23k|        } else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (14234:20): [True: 1.67k, False: 557]
  |  Branch (14234:34): [True: 293, False: 1.38k]
  ------------------
14235|    293|                   slicelength == PyUnicode_GET_LENGTH(self)) {
  ------------------
  |  |  300|    293|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    293|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    293|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14235:20): [True: 193, False: 100]
  ------------------
14236|    193|            return unicode_result_unchanged(self);
14237|  2.03k|        } else if (step == 1) {
  ------------------
  |  Branch (14237:20): [True: 655, False: 1.38k]
  ------------------
14238|    655|            return PyUnicode_Substring(self,
14239|    655|                                       start, start + slicelength);
14240|    655|        }
14241|       |        /* General case */
14242|  1.38k|        src_kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|  1.38k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  2.76k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.38k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14243|  1.38k|        src_data = PyUnicode_DATA(self);
  ------------------
  |  |  285|  1.38k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14244|  1.38k|        if (!PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  228|  1.38k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14244:13): [True: 751, False: 633]
  ------------------
14245|    751|            kind_limit = kind_maxchar_limit(src_kind);
14246|    751|            max_char = 0;
14247|  15.2k|            for (cur = start, i = 0; i < slicelength; cur += step, i++) {
  ------------------
  |  Branch (14247:38): [True: 14.6k, False: 608]
  ------------------
14248|  14.6k|                ch = PyUnicode_READ(src_kind, src_data, cur);
  ------------------
  |  |  355|  14.6k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  14.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  14.6k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  14.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  14.6k|                   (index))
  ------------------
14249|  14.6k|                if (ch > max_char) {
  ------------------
  |  Branch (14249:21): [True: 3.04k, False: 11.6k]
  ------------------
14250|  3.04k|                    max_char = ch;
14251|  3.04k|                    if (max_char >= kind_limit)
  ------------------
  |  Branch (14251:25): [True: 143, False: 2.90k]
  ------------------
14252|    143|                        break;
14253|  3.04k|                }
14254|  14.6k|            }
14255|    751|        }
14256|    633|        else
14257|    633|            max_char = 127;
14258|  1.38k|        result = PyUnicode_New(slicelength, max_char);
14259|  1.38k|        if (result == NULL)
  ------------------
  |  Branch (14259:13): [True: 0, False: 1.38k]
  ------------------
14260|      0|            return NULL;
14261|  1.38k|        dest_kind = PyUnicode_KIND(result);
  ------------------
  |  |  259|  1.38k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  2.76k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.38k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14262|  1.38k|        dest_data = PyUnicode_DATA(result);
  ------------------
  |  |  285|  1.38k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14263|       |
14264|  23.4k|        for (cur = start, i = 0; i < slicelength; cur += step, i++) {
  ------------------
  |  Branch (14264:34): [True: 22.0k, False: 1.38k]
  ------------------
14265|  22.0k|            Py_UCS4 ch = PyUnicode_READ(src_kind, src_data, cur);
  ------------------
  |  |  355|  22.0k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  22.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  22.0k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  22.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  22.0k|                   (index))
  ------------------
14266|  22.0k|            PyUnicode_WRITE(dest_kind, dest_data, i, ch);
  ------------------
  |  |  336|  22.0k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|  22.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|  22.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|  22.0k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|  22.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
14267|  22.0k|        }
14268|  1.38k|        assert(_PyUnicode_CheckConsistency(result, 1));
  ------------------
  |  Branch (14268:9): [True: 1.38k, False: 0]
  ------------------
14269|  1.38k|        return result;
14270|  1.38k|    } else {
14271|    290|        PyErr_Format(PyExc_TypeError, "string indices must be integers, not '%.200s'",
14272|    290|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|    290|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    290|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    290|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14273|       |        return NULL;
14274|    290|    }
14275|  2.62M|}
unicodeobject.c:kind_maxchar_limit:
 2154|    751|{
 2155|    751|    switch (kind) {
 2156|     71|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2156:5): [True: 71, False: 680]
  ------------------
 2157|     71|        return 0x80;
 2158|     45|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2158:5): [True: 45, False: 706]
  ------------------
 2159|     45|        return 0x100;
 2160|    635|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2160:5): [True: 635, False: 116]
  ------------------
 2161|    635|        return 0x10000;
 2162|      0|    default:
  ------------------
  |  Branch (2162:5): [True: 0, False: 751]
  ------------------
 2163|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2164|    751|    }
 2165|    751|}
unicodeobject.c:unicode_hash:
12135|  3.06M|{
12136|  3.06M|    Py_uhash_t x;  /* Unsigned for defined overflow behavior. */
12137|       |
12138|       |#ifdef Py_DEBUG
12139|       |    assert(_Py_HashSecret_Initialized);
12140|       |#endif
12141|  3.06M|    Py_hash_t hash = PyUnicode_HASH(self);
  ------------------
  |  |  156|  3.06M|#define PyUnicode_HASH PyUnstable_Unicode_GET_CACHED_HASH
  ------------------
12142|  3.06M|    if (hash != -1) {
  ------------------
  |  Branch (12142:9): [True: 2.55M, False: 515k]
  ------------------
12143|  2.55M|        return hash;
12144|  2.55M|    }
12145|   515k|    x = Py_HashBuffer(PyUnicode_DATA(self),
  ------------------
  |  |  285|   515k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   515k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   515k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12146|   515k|                      PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self));
  ------------------
  |  |  300|   515k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   515k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   515k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                    PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self));
  ------------------
  |  |  259|   515k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.03M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 515k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12147|       |
12148|      0|    PyUnicode_SET_HASH(self, x);
12149|   515k|    return x;
12150|   515k|}
unicodeobject.c:PyUnicode_SET_HASH:
  159|   515k|{
  160|   515k|    FT_ATOMIC_STORE_SSIZE_RELAXED(_PyASCIIObject_CAST(op)->hash, hash);
  ------------------
  |  |  197|  1.03M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (197:57): [True: 515k, False: 0]
  |  |  ------------------
  ------------------
  161|   515k|}
unicodeobject.c:unicode_encode_impl:
11998|  44.4k|{
11999|  44.4k|    return PyUnicode_AsEncodedString(self, encoding, errors);
12000|  44.4k|}
unicodeobject.c:unicode_replace_impl:
13050|    535|{
13051|    535|    return replace(self, old, new, count);
13052|    535|}
unicodeobject.c:unicode_split_impl:
13307|    382|{
13308|    382|    if (sep == Py_None)
  ------------------
  |  |  616|    382|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (13308:9): [True: 2, False: 380]
  ------------------
13309|      2|        return split(self, NULL, maxsplit);
13310|    380|    if (PyUnicode_Check(sep))
  ------------------
  |  |  103|    380|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    380|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 380, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13311|    380|        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|    380|}
unicodeobject.c:unicode_join:
12674|   213k|{
12675|   213k|    return PyUnicode_Join(self, iterable);
12676|   213k|}
unicodeobject.c:case_operation:
10380|   352k|{
10381|   352k|    PyObject *res = NULL;
10382|   352k|    Py_ssize_t length, newlength = 0;
10383|   352k|    int kind, outkind;
10384|   352k|    const void *data;
10385|   352k|    void *outdata;
10386|   352k|    Py_UCS4 maxchar = 0, *tmp, *tmpend;
10387|       |
10388|   352k|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|   352k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   705k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 352k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10389|   352k|    data = PyUnicode_DATA(self);
  ------------------
  |  |  285|   352k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   352k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   352k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10390|   352k|    length = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|   352k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   352k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   352k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10391|   352k|    if ((size_t) length > PY_SSIZE_T_MAX / (3 * sizeof(Py_UCS4))) {
  ------------------
  |  |  137|   352k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (10391:9): [True: 0, False: 352k]
  ------------------
10392|      0|        PyErr_SetString(PyExc_OverflowError, "string is too long");
10393|      0|        return NULL;
10394|      0|    }
10395|   352k|    tmp = PyMem_Malloc(sizeof(Py_UCS4) * 3 * length);
10396|   352k|    if (tmp == NULL)
  ------------------
  |  Branch (10396:9): [True: 0, False: 352k]
  ------------------
10397|      0|        return PyErr_NoMemory();
10398|   352k|    newlength = perform(kind, data, length, tmp, &maxchar);
10399|   352k|    res = PyUnicode_New(newlength, maxchar);
10400|   352k|    if (res == NULL)
  ------------------
  |  Branch (10400:9): [True: 0, False: 352k]
  ------------------
10401|      0|        goto leave;
10402|   352k|    tmpend = tmp + newlength;
10403|   352k|    outdata = PyUnicode_DATA(res);
  ------------------
  |  |  285|   352k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   352k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   352k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10404|   352k|    outkind = PyUnicode_KIND(res);
  ------------------
  |  |  259|   352k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   705k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 352k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10405|      0|    switch (outkind) {
10406|  33.0k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10406:5): [True: 33.0k, False: 319k]
  ------------------
10407|  33.0k|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS1, tmp, tmpend, outdata);
  ------------------
  |  |   47|  33.0k|    do {                                                \
  |  |   48|  33.0k|        to_type *_to = (to_type *)(to);                 \
  |  |   49|  33.0k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|  33.0k|        const from_type *_end = (const from_type *)(end);\
  |  |   51|  33.0k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|  33.0k|        const from_type *_unrolled_end =                \
  |  |   53|  33.0k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|  33.0k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|  35.7k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 2.78k, False: 33.0k]
  |  |  ------------------
  |  |   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|  67.2k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 34.2k, False: 33.0k]
  |  |  ------------------
  |  |   62|  34.2k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|  33.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 33.0k]
  |  |  ------------------
  ------------------
10408|  33.0k|        break;
10409|   291k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10409:5): [True: 291k, False: 61.8k]
  ------------------
10410|   291k|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS2, tmp, tmpend, outdata);
  ------------------
  |  |   47|   291k|    do {                                                \
  |  |   48|   291k|        to_type *_to = (to_type *)(to);                 \
  |  |   49|   291k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   50|   291k|        const from_type *_end = (const from_type *)(end);\
  |  |   51|   291k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   52|   291k|        const from_type *_unrolled_end =                \
  |  |   53|   291k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  247|   291k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   54|   327k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (54:16): [True: 36.7k, False: 291k]
  |  |  ------------------
  |  |   55|  36.7k|            _to[0] = (to_type) _iter[0];                \
  |  |   56|  36.7k|            _to[1] = (to_type) _iter[1];                \
  |  |   57|  36.7k|            _to[2] = (to_type) _iter[2];                \
  |  |   58|  36.7k|            _to[3] = (to_type) _iter[3];                \
  |  |   59|  36.7k|            _iter += 4; _to += 4;                       \
  |  |   60|  36.7k|        }                                               \
  |  |   61|   585k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (61:16): [True: 294k, False: 291k]
  |  |  ------------------
  |  |   62|   294k|            *_to++ = (to_type) *_iter++;                \
  |  |   63|   291k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 291k]
  |  |  ------------------
  ------------------
10411|   291k|        break;
10412|  28.8k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10412:5): [True: 28.8k, False: 324k]
  ------------------
10413|  28.8k|        memcpy(outdata, tmp, sizeof(Py_UCS4) * newlength);
10414|  28.8k|        break;
10415|      0|    default:
  ------------------
  |  Branch (10415:5): [True: 0, False: 352k]
  ------------------
10416|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10417|   352k|    }
10418|   352k|  leave:
10419|   352k|    PyMem_Free(tmp);
10420|   352k|    return res;
10421|   352k|}
unicodeobject.c:lower_ucs4:
10242|   536k|{
10243|       |    /* Obscure special case. */
10244|   536k|    if (c == 0x3A3) {
  ------------------
  |  Branch (10244:9): [True: 35, False: 536k]
  ------------------
10245|     35|        mapped[0] = handle_capital_sigma(kind, data, length, i);
10246|     35|        return 1;
10247|     35|    }
10248|   536k|    return _PyUnicode_ToLowerFull(c, mapped);
10249|   536k|}
unicodeobject.c:handle_capital_sigma:
10212|     35|{
10213|     35|    Py_ssize_t j;
10214|     35|    int final_sigma;
10215|     35|    Py_UCS4 c = 0;   /* initialize to prevent gcc warning */
10216|       |    /* U+03A3 is in the Final_Sigma context when, it is found like this:
10217|       |
10218|       |     \p{cased}\p{case-ignorable}*U+03A3!(\p{case-ignorable}*\p{cased})
10219|       |
10220|       |    where ! is a negation and \p{xxx} is a character with property xxx.
10221|       |    */
10222|     35|    for (j = i - 1; j >= 0; j--) {
  ------------------
  |  Branch (10222:21): [True: 0, False: 35]
  ------------------
10223|      0|        c = PyUnicode_READ(kind, data, j);
  ------------------
  |  |  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))
  ------------------
10224|      0|        if (!_PyUnicode_IsCaseIgnorable(c))
  ------------------
  |  Branch (10224:13): [True: 0, False: 0]
  ------------------
10225|      0|            break;
10226|      0|    }
10227|     35|    final_sigma = j >= 0 && _PyUnicode_IsCased(c);
  ------------------
  |  Branch (10227:19): [True: 0, False: 35]
  |  Branch (10227:29): [True: 0, False: 0]
  ------------------
10228|     35|    if (final_sigma) {
  ------------------
  |  Branch (10228:9): [True: 0, False: 35]
  ------------------
10229|      0|        for (j = i + 1; j < length; j++) {
  ------------------
  |  Branch (10229:25): [True: 0, False: 0]
  ------------------
10230|      0|            c = PyUnicode_READ(kind, data, j);
  ------------------
  |  |  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))
  ------------------
10231|      0|            if (!_PyUnicode_IsCaseIgnorable(c))
  ------------------
  |  Branch (10231:17): [True: 0, False: 0]
  ------------------
10232|      0|                break;
10233|      0|        }
10234|      0|        final_sigma = j == length || !_PyUnicode_IsCased(c);
  ------------------
  |  Branch (10234:23): [True: 0, False: 0]
  |  Branch (10234:38): [True: 0, False: 0]
  ------------------
10235|      0|    }
10236|     35|    return (final_sigma) ? 0x3C2 : 0x3C3;
  ------------------
  |  Branch (10236:12): [True: 0, False: 35]
  ------------------
10237|     35|}
unicodeobject.c:ascii_upper_or_lower:
10193|  70.5k|{
10194|  70.5k|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|  70.5k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  70.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10195|  70.5k|    const char *data = PyUnicode_DATA(self);
  ------------------
  |  |  285|  70.5k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  70.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10196|  70.5k|    char *resdata;
10197|  70.5k|    PyObject *res;
10198|       |
10199|  70.5k|    res = PyUnicode_New(len, 127);
10200|  70.5k|    if (res == NULL)
  ------------------
  |  Branch (10200:9): [True: 0, False: 70.5k]
  ------------------
10201|      0|        return NULL;
10202|  70.5k|    resdata = PyUnicode_DATA(res);
  ------------------
  |  |  285|  70.5k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  70.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10203|  70.5k|    if (lower)
  ------------------
  |  Branch (10203:9): [True: 70.5k, False: 51]
  ------------------
10204|  70.5k|        _Py_bytes_lower(resdata, data, len);
10205|     51|    else
10206|     51|        _Py_bytes_upper(resdata, data, len);
10207|  70.5k|    return res;
10208|  70.5k|}
unicodeobject.c:unicode_expandtabs_impl:
12015|  2.91k|{
12016|  2.91k|    Py_ssize_t i, j, line_pos, src_len, incr;
12017|  2.91k|    Py_UCS4 ch;
12018|  2.91k|    PyObject *u;
12019|  2.91k|    const void *src_data;
12020|  2.91k|    void *dest_data;
12021|  2.91k|    int kind;
12022|  2.91k|    int found;
12023|       |
12024|       |    /* First pass: determine size of output string */
12025|  2.91k|    src_len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|  2.91k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12026|  2.91k|    i = j = line_pos = 0;
12027|  2.91k|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  259|  2.91k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  5.83k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2.91k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12028|  2.91k|    src_data = PyUnicode_DATA(self);
  ------------------
  |  |  285|  2.91k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12029|  2.91k|    found = 0;
12030|   152k|    for (; i < src_len; i++) {
  ------------------
  |  Branch (12030:12): [True: 149k, False: 2.91k]
  ------------------
12031|   149k|        ch = PyUnicode_READ(kind, src_data, i);
  ------------------
  |  |  355|   149k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   149k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   149k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   149k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   149k|                   (index))
  ------------------
12032|   149k|        if (ch == '\t') {
  ------------------
  |  Branch (12032:13): [True: 7.77k, False: 141k]
  ------------------
12033|  7.77k|            found = 1;
12034|  7.77k|            if (tabsize > 0) {
  ------------------
  |  Branch (12034:17): [True: 7.77k, False: 0]
  ------------------
12035|  7.77k|                incr = tabsize - (line_pos % tabsize); /* cannot overflow */
12036|  7.77k|                if (j > PY_SSIZE_T_MAX - incr)
  ------------------
  |  |  137|  7.77k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (12036:21): [True: 0, False: 7.77k]
  ------------------
12037|      0|                    goto overflow;
12038|  7.77k|                line_pos += incr;
12039|  7.77k|                j += incr;
12040|  7.77k|            }
12041|  7.77k|        }
12042|   141k|        else {
12043|   141k|            if (j > PY_SSIZE_T_MAX - 1)
  ------------------
  |  |  137|   141k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (12043:17): [True: 0, False: 141k]
  ------------------
12044|      0|                goto overflow;
12045|   141k|            line_pos++;
12046|   141k|            j++;
12047|   141k|            if (ch == '\n' || ch == '\r')
  ------------------
  |  Branch (12047:17): [True: 32.2k, False: 109k]
  |  Branch (12047:31): [True: 240, False: 109k]
  ------------------
12048|  32.4k|                line_pos = 0;
12049|   141k|        }
12050|   149k|    }
12051|  2.91k|    if (!found)
  ------------------
  |  Branch (12051:9): [True: 1.92k, False: 988]
  ------------------
12052|  1.92k|        return unicode_result_unchanged(self);
12053|       |
12054|       |    /* Second pass: create output string and fill it */
12055|    988|    u = PyUnicode_New(j, PyUnicode_MAX_CHAR_VALUE(self));
  ------------------
  |  |  406|    988|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    988|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    988|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12056|    988|    if (!u)
  ------------------
  |  Branch (12056:9): [True: 0, False: 988]
  ------------------
12057|      0|        return NULL;
12058|    988|    dest_data = PyUnicode_DATA(u);
  ------------------
  |  |  285|    988|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    988|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    988|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12059|       |
12060|    988|    i = j = line_pos = 0;
12061|       |
12062|   131k|    for (; i < src_len; i++) {
  ------------------
  |  Branch (12062:12): [True: 130k, False: 988]
  ------------------
12063|   130k|        ch = PyUnicode_READ(kind, src_data, i);
  ------------------
  |  |  355|   130k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   130k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   130k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   130k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   130k|                   (index))
  ------------------
12064|   130k|        if (ch == '\t') {
  ------------------
  |  Branch (12064:13): [True: 7.77k, False: 122k]
  ------------------
12065|  7.77k|            if (tabsize > 0) {
  ------------------
  |  Branch (12065:17): [True: 7.77k, False: 0]
  ------------------
12066|  7.77k|                incr = tabsize - (line_pos % tabsize);
12067|  7.77k|                line_pos += incr;
12068|  7.77k|                _PyUnicode_Fill(kind, dest_data, ' ', j, incr);
12069|  7.77k|                j += incr;
12070|  7.77k|            }
12071|  7.77k|        }
12072|   122k|        else {
12073|   122k|            line_pos++;
12074|   122k|            PyUnicode_WRITE(kind, dest_data, j, ch);
  ------------------
  |  |  336|   122k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|   122k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|   122k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  337|   122k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|   122k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12075|   122k|            j++;
12076|   122k|            if (ch == '\n' || ch == '\r')
  ------------------
  |  Branch (12076:17): [True: 28.2k, False: 94.5k]
  |  Branch (12076:31): [True: 239, False: 94.3k]
  ------------------
12077|  28.5k|                line_pos = 0;
12078|   122k|        }
12079|   130k|    }
12080|    988|    assert (j == PyUnicode_GET_LENGTH(u));
  ------------------
  |  Branch (12080:5): [True: 988, False: 0]
  ------------------
12081|    988|    return unicode_result(u);
  ------------------
  |  |  738|    988|#define unicode_result _PyUnicode_Result
  ------------------
12082|       |
12083|      0|  overflow:
12084|      0|    PyErr_SetString(PyExc_OverflowError, "new string is too long");
12085|       |    return NULL;
12086|    988|}
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|   423k|{
12717|   423k|    if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  228|   423k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   423k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   423k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 70.5k, False: 352k]
  |  |  ------------------
  ------------------
12718|  70.5k|        return ascii_upper_or_lower(self, 1);
12719|   352k|    return case_operation(self, do_lower);
12720|   423k|}
unicodeobject.c:do_lower:
10329|   352k|{
10330|   352k|    return do_upper_or_lower(kind, data, length, res, maxchar, 1);
10331|   352k|}
unicodeobject.c:do_upper_or_lower:
10303|   352k|{
10304|   352k|    Py_ssize_t i, k = 0;
10305|       |
10306|   889k|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (10306:17): [True: 536k, False: 352k]
  ------------------
10307|   536k|        Py_UCS4 c = PyUnicode_READ(kind, data, i), mapped[3];
  ------------------
  |  |  355|   536k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   536k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   536k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   536k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   536k|                   (index))
  ------------------
10308|   536k|        int n_res, j;
10309|   536k|        if (lower)
  ------------------
  |  Branch (10309:13): [True: 536k, False: 0]
  ------------------
10310|   536k|            n_res = lower_ucs4(kind, data, length, i, c, mapped);
10311|      0|        else
10312|      0|            n_res = _PyUnicode_ToUpperFull(c, mapped);
10313|  1.07M|        for (j = 0; j < n_res; j++) {
  ------------------
  |  Branch (10313:21): [True: 536k, False: 536k]
  ------------------
10314|   536k|            *maxchar = Py_MAX(*maxchar, mapped[j]);
  ------------------
  |  |  133|   536k|       __extension__ \
  |  |  134|   536k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|   536k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|   536k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|   536k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|   536k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 155k, False: 380k]
  |  |  ------------------
  ------------------
10315|   536k|            res[k++] = mapped[j];
10316|   536k|        }
10317|   536k|    }
10318|   352k|    return k;
10319|   352k|}
unicodeobject.c:unicode_lstrip_impl:
12940|      1|{
12941|      1|    return do_argstrip(self, LEFTSTRIP, chars);
  ------------------
  |  |12722|      1|#define LEFTSTRIP 0
  ------------------
12942|      1|}
unicodeobject.c:do_argstrip:
12890|  5.77k|{
12891|  5.77k|    if (sep != Py_None) {
  ------------------
  |  |  616|  5.77k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12891:9): [True: 5.62k, False: 152]
  ------------------
12892|  5.62k|        if (PyUnicode_Check(sep))
  ------------------
  |  |  103|  5.62k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.62k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 5.62k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12893|  5.62k|            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|  5.62k|    }
12901|       |
12902|    152|    return do_strip(self, striptype);
12903|  5.77k|}
unicodeobject.c:do_strip:
12827|    152|{
12828|    152|    Py_ssize_t len, i, j;
12829|       |
12830|    152|    len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  300|    152|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    152|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    152|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12831|       |
12832|    152|    if (PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  228|    152|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    152|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    152|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 152, False: 0]
  |  |  ------------------
  ------------------
12833|    152|        const Py_UCS1 *data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  292|    152|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    152|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12834|       |
12835|    152|        i = 0;
12836|    152|        if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12723|    152|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12836:13): [True: 3, False: 149]
  ------------------
12837|      3|            while (i < len) {
  ------------------
  |  Branch (12837:20): [True: 3, False: 0]
  ------------------
12838|      3|                Py_UCS1 ch = data[i];
12839|      3|                if (!_Py_ascii_whitespace[ch])
  ------------------
  |  Branch (12839:21): [True: 3, False: 0]
  ------------------
12840|      3|                    break;
12841|      0|                i++;
12842|      0|            }
12843|      3|        }
12844|       |
12845|    152|        j = len;
12846|    152|        if (striptype != LEFTSTRIP) {
  ------------------
  |  |12722|    152|#define LEFTSTRIP 0
  ------------------
  |  Branch (12846:13): [True: 152, False: 0]
  ------------------
12847|    152|            j--;
12848|    152|            while (j >= i) {
  ------------------
  |  Branch (12848:20): [True: 152, False: 0]
  ------------------
12849|    152|                Py_UCS1 ch = data[j];
12850|    152|                if (!_Py_ascii_whitespace[ch])
  ------------------
  |  Branch (12850:21): [True: 152, False: 0]
  ------------------
12851|    152|                    break;
12852|      0|                j--;
12853|      0|            }
12854|    152|            j++;
12855|    152|        }
12856|    152|    }
12857|      0|    else {
12858|      0|        int 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12859|      0|        const void *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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12860|       |
12861|      0|        i = 0;
12862|      0|        if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12723|      0|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12862:13): [True: 0, False: 0]
  ------------------
12863|      0|            while (i < len) {
  ------------------
  |  Branch (12863:20): [True: 0, False: 0]
  ------------------
12864|      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))
  ------------------
12865|      0|                if (!Py_UNICODE_ISSPACE(ch))
  ------------------
  |  Branch (12865:21): [True: 0, False: 0]
  ------------------
12866|      0|                    break;
12867|      0|                i++;
12868|      0|            }
12869|      0|        }
12870|       |
12871|      0|        j = len;
12872|      0|        if (striptype != LEFTSTRIP) {
  ------------------
  |  |12722|      0|#define LEFTSTRIP 0
  ------------------
  |  Branch (12872:13): [True: 0, False: 0]
  ------------------
12873|      0|            j--;
12874|      0|            while (j >= i) {
  ------------------
  |  Branch (12874:20): [True: 0, False: 0]
  ------------------
12875|      0|                Py_UCS4 ch = PyUnicode_READ(kind, data, j);
  ------------------
  |  |  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))
  ------------------
12876|      0|                if (!Py_UNICODE_ISSPACE(ch))
  ------------------
  |  Branch (12876:21): [True: 0, False: 0]
  ------------------
12877|      0|                    break;
12878|      0|                j--;
12879|      0|            }
12880|      0|            j++;
12881|      0|        }
12882|      0|    }
12883|       |
12884|    152|    return PyUnicode_Substring(self, i, j);
12885|    152|}
unicodeobject.c:unicode_rfind_impl:
13215|    107|{
13216|    107|    Py_ssize_t result = any_find_slice(str, substr, start, end, -1);
13217|    107|    if (result < 0) {
  ------------------
  |  Branch (13217:9): [True: 0, False: 107]
  ------------------
13218|      0|        return -1;
13219|      0|    }
13220|    107|    return result;
13221|    107|}
unicodeobject.c:unicode_rstrip_impl:
12959|  5.77k|{
12960|  5.77k|    return do_argstrip(self, RIGHTSTRIP, chars);
  ------------------
  |  |12723|  5.77k|#define RIGHTSTRIP 1
  ------------------
12961|  5.77k|}
unicodeobject.c:unicode_rpartition:
13462|  1.68k|{
13463|  1.68k|    return PyUnicode_RPartition(self, sep);
13464|  1.68k|}
unicodeobject.c:unicode_strip_impl:
12921|      3|{
12922|      3|    return do_argstrip(self, BOTHSTRIP, chars);
  ------------------
  |  |12724|      3|#define BOTHSTRIP 2
  ------------------
12923|      3|}
unicodeobject.c:unicode_translate:
13703|     48|{
13704|     48|    return _PyUnicode_TranslateCharmap(self, table, "ignore");
13705|     48|}
unicodeobject.c:unicode_upper_impl:
13716|     51|{
13717|     51|    if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  228|     51|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 51, False: 0]
  |  |  ------------------
  ------------------
13718|     51|        return ascii_upper_or_lower(self, 0);
13719|      0|    return case_operation(self, do_upper);
13720|     51|}
unicodeobject.c:unicode_startswith_impl:
13788|  98.2k|{
13789|  98.2k|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|  98.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  98.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 11, False: 98.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13790|     11|        Py_ssize_t i;
13791|     88|        for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
  ------------------
  |  |   27|     88|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13791:21): [True: 77, False: 11]
  ------------------
13792|     77|            PyObject *substring = PyTuple_GET_ITEM(subobj, i);
  ------------------
  |  |   29|     77|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     77|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13792:35): [True: 77, False: 0]
  ------------------
13793|     77|            if (!PyUnicode_Check(substring)) {
  ------------------
  |  |  103|     77|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     77|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13793:17): [True: 0, False: 77]
  ------------------
13794|      0|                PyErr_Format(PyExc_TypeError,
13795|      0|                             "tuple for startswith must only contain str, "
13796|      0|                             "not %.100s",
13797|      0|                             Py_TYPE(substring)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13798|      0|                return NULL;
13799|      0|            }
13800|     77|            int result = tailmatch(self, substring, start, end, -1);
13801|     77|            if (result < 0) {
  ------------------
  |  Branch (13801:17): [True: 0, False: 77]
  ------------------
13802|      0|                return NULL;
13803|      0|            }
13804|     77|            if (result) {
  ------------------
  |  Branch (13804:17): [True: 0, False: 77]
  ------------------
13805|      0|                Py_RETURN_TRUE;
  ------------------
  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13806|      0|            }
13807|     77|        }
13808|       |        /* nothing matched */
13809|     11|        Py_RETURN_FALSE;
  ------------------
  |  |   45|     11|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     11|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13810|     11|    }
13811|  98.2k|    if (!PyUnicode_Check(subobj)) {
  ------------------
  |  |  103|  98.2k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  98.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13811:9): [True: 0, False: 98.2k]
  ------------------
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|  98.2k|    int result = tailmatch(self, subobj, start, end, -1);
13818|  98.2k|    if (result < 0) {
  ------------------
  |  Branch (13818:9): [True: 0, False: 98.2k]
  ------------------
13819|      0|        return NULL;
13820|      0|    }
13821|  98.2k|    return PyBool_FromLong(result);
13822|  98.2k|}
unicodeobject.c:unicode_endswith_impl:
13845|  41.4k|{
13846|  41.4k|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|  41.4k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  41.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 41.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
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|  41.4k|    if (!PyUnicode_Check(subobj)) {
  ------------------
  |  |  103|  41.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  41.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13867:9): [True: 0, False: 41.4k]
  ------------------
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|  41.4k|    int result = tailmatch(self, subobj, start, end, +1);
13874|  41.4k|    if (result < 0) {
  ------------------
  |  Branch (13874:9): [True: 0, False: 41.4k]
  ------------------
13875|      0|        return NULL;
13876|      0|    }
13877|  41.4k|    return PyBool_FromLong(result);
13878|  41.4k|}
unicodeobject.c:unicode_isascii_impl:
12190|    410|{
12191|    410|    return PyBool_FromLong(PyUnicode_IS_ASCII(self));
  ------------------
  |  |  228|    410|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    410|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    410|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12192|    410|}
unicodeobject.c:unicode_isidentifier_impl:
12619|     32|{
12620|     32|    return PyBool_FromLong(PyUnicode_IsIdentifier(self));
12621|     32|}
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|   168k|{
14335|   168k|    assert(Py_Is(_PyType_CAST(type), &PyUnicode_Type));
  ------------------
  |  Branch (14335:5): [True: 168k, False: 0]
  |  Branch (14335:5): [True: 168k, False: 0]
  ------------------
14336|       |
14337|   168k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   168k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
14338|   168k|    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: 168k]
  |  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|   168k|    if (!_PyArg_CheckPositional("str", nargs, 0, 3)) {
  ------------------
  |  |   38|   168k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 168k, False: 0]
  |  |  |  Branch (38:27): [True: 168k, False: 0]
  |  |  ------------------
  |  |   39|   168k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
14355|      0|        return NULL;
14356|      0|    }
14357|   168k|    if (nargs == 0) {
  ------------------
  |  Branch (14357:9): [True: 0, False: 168k]
  ------------------
14358|      0|        return _PyUnicode_GetEmpty();
14359|      0|    }
14360|   168k|    PyObject *object = args[0];
14361|   168k|    if (nargs == 1) {
  ------------------
  |  Branch (14361:9): [True: 23, False: 168k]
  ------------------
14362|     23|        return PyObject_Str(object);
14363|     23|    }
14364|   168k|    const char *encoding = arg_as_utf8(args[1], "encoding");
14365|   168k|    if (encoding == NULL) {
  ------------------
  |  Branch (14365:9): [True: 0, False: 168k]
  ------------------
14366|      0|        return NULL;
14367|      0|    }
14368|   168k|    const char *errors = NULL;
14369|   168k|    if (nargs == 3) {
  ------------------
  |  Branch (14369:9): [True: 2.64k, False: 166k]
  ------------------
14370|  2.64k|        errors = arg_as_utf8(args[2], "errors");
14371|  2.64k|        if (errors == NULL) {
  ------------------
  |  Branch (14371:13): [True: 0, False: 2.64k]
  ------------------
14372|      0|            return NULL;
14373|      0|        }
14374|  2.64k|    }
14375|   168k|    return PyUnicode_FromEncodedObject(object, encoding, errors);
14376|   168k|}
unicodeobject.c:arg_as_utf8:
14321|   171k|{
14322|   171k|    if (!PyUnicode_Check(obj)) {
  ------------------
  |  |  103|   171k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   171k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14322:9): [True: 0, False: 171k]
  ------------------
14323|      0|        PyErr_Format(PyExc_TypeError,
14324|      0|                     "str() argument '%s' must be str, not %T",
14325|      0|                     name, obj);
14326|      0|        return NULL;
14327|      0|    }
14328|   171k|    return _PyUnicode_AsUTF8NoNUL(obj);
14329|   171k|}
unicodeobject.c:unicode_iteritem:
14457|  3.87M|{
14458|  3.87M|    if (index >= PyUnicode_GET_LENGTH(obj)) {
  ------------------
  |  |  300|  3.87M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.87M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14458:9): [True: 368k, False: 3.50M]
  ------------------
14459|   368k|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
14460|   368k|    }
14461|  3.50M|    const void *data = PyUnicode_DATA(obj);
  ------------------
  |  |  285|  3.50M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14462|  3.50M|    int kind = PyUnicode_KIND(obj);
  ------------------
  |  |  259|  3.50M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  7.01M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 3.50M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14463|  3.50M|    Py_UCS4 ch = PyUnicode_READ(kind, data, index);
  ------------------
  |  |  355|  3.50M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  3.50M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  3.50M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  3.50M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  3.50M|                   (index))
  ------------------
14464|  3.50M|    PyObject *result = unicode_char(ch);
14465|  3.50M|    index = (result == NULL) ? -1 : index + 1;
  ------------------
  |  Branch (14465:13): [True: 0, False: 3.50M]
  ------------------
14466|  3.50M|    return (_PyObjectIndexPair) { .object = result, .index = index };
14467|  3.50M|}
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|   252k|{
  246|   252k|    return unicode_hash((PyObject *)key);
  247|   252k|}
unicodeobject.c:hashtable_unicode_compare:
  251|  10.4k|{
  252|  10.4k|    PyObject *obj1 = (PyObject *)key1;
  253|  10.4k|    PyObject *obj2 = (PyObject *)key2;
  254|  10.4k|    if (obj1 != NULL && obj2 != NULL) {
  ------------------
  |  Branch (254:9): [True: 10.4k, False: 0]
  |  Branch (254:25): [True: 10.4k, False: 0]
  ------------------
  255|  10.4k|        return unicode_eq(obj1, obj2);
  256|  10.4k|    }
  257|      0|    else {
  258|      0|        return obj1 == obj2;
  259|      0|    }
  260|  10.4k|}
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|  3.43M|{
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|  3.43M|    if (s == NULL || !PyUnicode_Check(s)) {
  ------------------
  |  |  103|  3.43M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.43M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14705:9): [True: 0, False: 3.43M]
  |  Branch (14705:22): [True: 0, False: 3.43M]
  ------------------
14706|      0|        return s;
14707|      0|    }
14708|  3.43M|#endif
14709|       |
14710|       |    /* If it's a subclass, we don't really know what putting
14711|       |       it in the interned dict might do. */
14712|  3.43M|    if (!PyUnicode_CheckExact(s)) {
  ------------------
  |  |  104|  3.43M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  3.43M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14712:9): [True: 0, False: 3.43M]
  ------------------
14713|      0|        return s;
14714|      0|    }
14715|       |
14716|       |    /* Is it already interned? */
14717|  3.43M|    switch (PyUnicode_CHECK_INTERNED(s)) {
  ------------------
  |  |  215|  3.43M|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14718|   241k|        case SSTATE_NOT_INTERNED:
  ------------------
  |  |  202|   241k|#define SSTATE_NOT_INTERNED 0
  ------------------
  |  Branch (14718:9): [True: 241k, False: 3.19M]
  ------------------
14719|       |            // no, go on
14720|   241k|            break;
14721|   142k|        case SSTATE_INTERNED_MORTAL:
  ------------------
  |  |  203|   142k|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (14721:9): [True: 142k, False: 3.29M]
  ------------------
14722|   142k|#ifndef Py_GIL_DISABLED
14723|       |            // yes but we might need to make it immortal
14724|   142k|            if (immortalize) {
  ------------------
  |  Branch (14724:17): [True: 88, False: 142k]
  ------------------
14725|     88|                immortalize_interned(s);
14726|     88|            }
14727|   142k|            return s;
14728|       |#else
14729|       |            // not fully interned yet; fall through to the locking path
14730|       |            break;
14731|       |#endif
14732|  3.05M|        default:
  ------------------
  |  Branch (14732:9): [True: 3.05M, False: 384k]
  ------------------
14733|       |            // all done
14734|  3.05M|            return s;
14735|  3.43M|    }
14736|       |
14737|       |    /* Statically allocated strings must be already interned. */
14738|  3.43M|    assert(!_PyUnicode_STATE(s).statically_allocated);
  ------------------
  |  Branch (14738:5): [True: 241k, False: 0]
  |  Branch (14738:5): [True: 241k, 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|   241k|    if (_Py_IsImmortal(s)) {
  ------------------
  |  |  137|   241k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   241k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   241k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 241k]
  |  |  ------------------
  ------------------
14747|      0|        immortalize = 1;
14748|      0|    }
14749|       |
14750|       |    /* if it's a short string, get the singleton */
14751|   241k|    if (PyUnicode_GET_LENGTH(s) == 1 &&
  ------------------
  |  |  300|   241k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   241k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   241k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14751:9): [True: 662, False: 240k]
  ------------------
14752|  1.32k|                PyUnicode_KIND(s) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  259|    662|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  1.32k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 662, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14752:17): [True: 19, False: 643]
  ------------------
14753|     19|        PyObject *r = LATIN1(*(unsigned char*)PyUnicode_DATA(s));
  ------------------
  |  |  174|     19|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  955|     19|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (955:6): [True: 19, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  956|     19|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|     19|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|     19|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  957|     19|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14754|     19|        assert(PyUnicode_CHECK_INTERNED(r));
  ------------------
  |  Branch (14754:9): [True: 19, False: 0]
  ------------------
14755|     19|        Py_DECREF(s);
  ------------------
  |  |  430|     19|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14756|     19|        return r;
14757|     19|    }
14758|       |#ifdef Py_DEBUG
14759|       |    assert(!unicode_is_singleton(s));
14760|       |#endif
14761|       |
14762|       |    /* Look in the global cache now. */
14763|   241k|    {
14764|   241k|        PyObject *r = (PyObject *)_Py_hashtable_get(INTERNED_STRINGS, s);
  ------------------
  |  |  209|   241k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
14765|   241k|        if (r != NULL) {
  ------------------
  |  Branch (14765:13): [True: 10.4k, False: 230k]
  ------------------
14766|  10.4k|            assert(_PyUnicode_STATE(r).statically_allocated);
  ------------------
  |  Branch (14766:13): [True: 10.4k, False: 0]
  |  Branch (14766:13): [True: 10.4k, False: 0]
  ------------------
14767|  10.4k|            assert(r != s);  // r must be statically_allocated; s is not
  ------------------
  |  Branch (14767:13): [True: 10.4k, False: 0]
  ------------------
14768|  10.4k|            Py_DECREF(s);
  ------------------
  |  |  430|  10.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14769|  10.4k|            return Py_NewRef(r);
  ------------------
  |  |  647|  10.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14770|  10.4k|        }
14771|   241k|    }
14772|       |
14773|       |    /* Do a setdefault on the per-interpreter cache. */
14774|   230k|    PyObject *interned = get_interned_dict(interp);
14775|   230k|    assert(interned != NULL);
  ------------------
  |  Branch (14775:5): [True: 230k, 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|   230k|    FT_MUTEX_LOCK_FLAGS(INTERN_MUTEX, _Py_LOCK_DONT_DETACH);
  ------------------
  |  |  208|   230k|#define FT_MUTEX_LOCK_FLAGS(lock, flags) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (208:55): [Folded, False: 230k]
  |  |  ------------------
  ------------------
14823|   230k|    PyObject *t;
14824|   230k|    {
14825|   230k|        int res = PyDict_SetDefaultRef(interned, s, s, &t);
14826|   230k|        if (res < 0) {
  ------------------
  |  Branch (14826:13): [True: 0, False: 230k]
  ------------------
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|   230k|        else if (res == 1) {
  ------------------
  |  Branch (14831:18): [True: 166k, False: 63.8k]
  ------------------
14832|       |            // value was already present (not inserted)
14833|   166k|            Py_DECREF(s);
  ------------------
  |  |  430|   166k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   166k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   166k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14834|   166k|            if (immortalize &&
  ------------------
  |  Branch (14834:17): [True: 84.6k, False: 82.2k]
  ------------------
14835|  84.6k|                    PyUnicode_CHECK_INTERNED(t) == SSTATE_INTERNED_MORTAL) {
  ------------------
  |  |  215|  84.6k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  84.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  84.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                  PyUnicode_CHECK_INTERNED(t) == SSTATE_INTERNED_MORTAL) {
  ------------------
  |  |  203|  84.6k|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (14835:21): [True: 441, False: 84.1k]
  ------------------
14836|    441|                immortalize_interned(t);
14837|    441|            }
14838|   166k|            FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  209|   166k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (209:44): [Folded, False: 166k]
  |  |  ------------------
  ------------------
14839|   166k|            return t;
14840|   166k|        }
14841|  63.8k|        else {
14842|       |            // value was newly inserted
14843|  63.8k|            assert (s == t);
  ------------------
  |  Branch (14843:13): [True: 63.8k, False: 0]
  ------------------
14844|  63.8k|            Py_DECREF(t);
  ------------------
  |  |  430|  63.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14845|  63.8k|        }
14846|   230k|    }
14847|       |
14848|       |    /* NOT_INTERNED -> INTERNED_MORTAL */
14849|       |
14850|   230k|    assert(_PyUnicode_STATE(s).interned == SSTATE_NOT_INTERNED);
  ------------------
  |  Branch (14850:5): [True: 63.8k, False: 0]
  |  Branch (14850:5): [True: 63.8k, False: 0]
  ------------------
14851|       |
14852|  63.8k|    if (!_Py_IsImmortal(s)) {
  ------------------
  |  |  137|  63.8k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14852:9): [True: 63.8k, 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|  63.8k|        Py_DECREF(s);
  ------------------
  |  |  430|  63.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14856|  63.8k|        Py_DECREF(s);
  ------------------
  |  |  430|  63.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14857|  63.8k|    }
14858|  63.8k|    FT_ATOMIC_STORE_UINT8(_PyUnicode_STATE(s).interned, SSTATE_INTERNED_MORTAL);
  ------------------
  |  |  157|   127k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (157:49): [True: 63.8k, 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|  63.8k|    if (immortalize) {
  ------------------
  |  Branch (14867:9): [True: 36.1k, False: 27.6k]
  ------------------
14868|  36.1k|        immortalize_interned(s);
14869|  36.1k|    }
14870|       |
14871|  63.8k|    FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  209|  63.8k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (209:44): [Folded, False: 63.8k]
  |  |  ------------------
  ------------------
14872|  63.8k|    return s;
14873|  63.8k|}
unicodeobject.c:immortalize_interned:
14664|  36.7k|{
14665|  36.7k|    assert(PyUnicode_CHECK_INTERNED(s) == SSTATE_INTERNED_MORTAL);
  ------------------
  |  Branch (14665:5): [True: 36.7k, False: 0]
  ------------------
14666|  36.7k|    assert(!_Py_IsImmortal(s));
  ------------------
  |  Branch (14666:5): [True: 36.7k, 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|  36.7k|    _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|  36.7k|    FT_ATOMIC_STORE_UINT8(_PyUnicode_STATE(s).interned, SSTATE_INTERNED_IMMORTAL);
  ------------------
  |  |  157|  73.4k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (157:49): [True: 36.7k, False: 0]
  |  |  ------------------
  ------------------
14680|  36.7k|}
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|  15.4k|{
15026|  15.4k|    unicodeiterobject *it = (unicodeiterobject *)op;
15027|  15.4k|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  504|  15.4k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15028|  15.4k|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  621|  15.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15029|  15.4k|    PyObject_GC_Del(it);
15030|  15.4k|}
unicodeobject.c:unicodeiter_next:
15042|   216k|{
15043|   216k|    unicodeiterobject *it = (unicodeiterobject *)op;
15044|   216k|    PyObject *seq;
15045|       |
15046|   216k|    assert(it != NULL);
  ------------------
  |  Branch (15046:5): [True: 216k, False: 0]
  ------------------
15047|   216k|    seq = it->it_seq;
15048|   216k|    if (seq == NULL)
  ------------------
  |  Branch (15048:9): [True: 0, False: 216k]
  ------------------
15049|      0|        return NULL;
15050|   216k|    assert(_PyUnicode_CHECK(seq));
  ------------------
  |  Branch (15050:5): [True: 216k, False: 0]
  ------------------
15051|       |
15052|   216k|    if (it->it_index < PyUnicode_GET_LENGTH(seq)) {
  ------------------
  |  |  300|   216k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   216k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   216k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15052:9): [True: 200k, False: 15.3k]
  ------------------
15053|   200k|        int kind = PyUnicode_KIND(seq);
  ------------------
  |  |  259|   200k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|   401k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 200k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15054|   200k|        const void *data = PyUnicode_DATA(seq);
  ------------------
  |  |  285|   200k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   200k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   200k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15055|   200k|        Py_UCS4 chr = PyUnicode_READ(kind, data, it->it_index);
  ------------------
  |  |  355|   200k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   200k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   200k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   200k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   200k|                   (index))
  ------------------
15056|   200k|        it->it_index++;
15057|   200k|        return unicode_char(chr);
15058|   200k|    }
15059|       |
15060|  15.3k|    it->it_seq = NULL;
15061|  15.3k|    Py_DECREF(seq);
  ------------------
  |  |  430|  15.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15062|       |    return NULL;
15063|   216k|}
unicodeobject.c:unicode_ascii_iter_next:
15067|    690|{
15068|    690|    unicodeiterobject *it = (unicodeiterobject *)op;
15069|    690|    assert(it != NULL);
  ------------------
  |  Branch (15069:5): [True: 690, False: 0]
  ------------------
15070|    690|    PyObject *seq = it->it_seq;
15071|    690|    if (seq == NULL) {
  ------------------
  |  Branch (15071:9): [True: 0, False: 690]
  ------------------
15072|      0|        return NULL;
15073|      0|    }
15074|    690|    assert(_PyUnicode_CHECK(seq));
  ------------------
  |  Branch (15074:5): [True: 690, False: 0]
  ------------------
15075|    690|    assert(PyUnicode_IS_COMPACT_ASCII(seq));
  ------------------
  |  Branch (15075:5): [True: 690, False: 0]
  ------------------
15076|    690|    if (it->it_index < PyUnicode_GET_LENGTH(seq)) {
  ------------------
  |  |  300|    690|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    690|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    690|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15076:9): [True: 636, False: 54]
  ------------------
15077|    636|        const void *data = ((void*)(_PyASCIIObject_CAST(seq) + 1));
  ------------------
  |  |  186|    636|    (assert(PyUnicode_Check(op)), \
  |  |  187|    636|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    636|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (15077:37): [True: 636, False: 0]
  ------------------
15078|    636|        Py_UCS1 chr = (Py_UCS1)PyUnicode_READ(PyUnicode_1BYTE_KIND,
  ------------------
  |  |  355|    636|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    636|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    636|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    636|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|    636|                   (index))
  ------------------
15079|    636|                                              data, it->it_index);
15080|    636|        it->it_index++;
15081|    636|        return (PyObject*)&_Py_SINGLETON(strings).ascii[chr];
  ------------------
  |  |   18|    636|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|    636|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
15082|    636|    }
15083|     54|    it->it_seq = NULL;
15084|     54|    Py_DECREF(seq);
  ------------------
  |  |  430|     54|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15085|       |    return NULL;
15086|    690|}
unicodeobject.c:unicode_iter:
15198|  15.4k|{
15199|  15.4k|    unicodeiterobject *it;
15200|       |
15201|  15.4k|    if (!PyUnicode_Check(seq)) {
  ------------------
  |  |  103|  15.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  15.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (15201:9): [True: 0, False: 15.4k]
  ------------------
15202|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
15203|      0|        return NULL;
15204|      0|    }
15205|  15.4k|    if (PyUnicode_IS_COMPACT_ASCII(seq)) {
  ------------------
  |  |  242|  15.4k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:40): [True: 56, False: 15.3k]
  |  |  ------------------
  ------------------
15206|     56|        it = PyObject_GC_New(unicodeiterobject, &_PyUnicodeASCIIIter_Type);
  ------------------
  |  |  181|     56|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
15207|     56|    }
15208|  15.3k|    else {
15209|  15.3k|        it = PyObject_GC_New(unicodeiterobject, &PyUnicodeIter_Type);
  ------------------
  |  |  181|  15.3k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  15.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
15210|  15.3k|    }
15211|  15.4k|    if (it == NULL)
  ------------------
  |  Branch (15211:9): [True: 0, False: 15.4k]
  ------------------
15212|      0|        return NULL;
15213|  15.4k|    it->it_index = 0;
15214|  15.4k|    it->it_seq = Py_NewRef(seq);
  ------------------
  |  |  647|  15.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  15.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15215|  15.4k|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  502|  15.4k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15216|  15.4k|    return (PyObject *)it;
15217|  15.4k|}
unicodeobject.c:init_fs_encoding:
15362|      2|{
15363|      2|    PyInterpreterState *interp = tstate->interp;
15364|       |
15365|       |    /* Update the filesystem encoding to the normalized Python codec name.
15366|       |       For example, replace "ANSI_X3.4-1968" (locale encoding) with "ascii"
15367|       |       (Python codec name). */
15368|      2|    PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
15369|      2|    if (config_get_codec_name(&config->filesystem_encoding) < 0) {
  ------------------
  |  Branch (15369:9): [True: 0, False: 2]
  ------------------
15370|      0|        _Py_DumpPathConfig(tstate);
15371|      0|        return _PyStatus_ERR("failed to get the Python codec "
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
15372|      0|                             "of the filesystem encoding");
15373|      0|    }
15374|       |
15375|      2|    if (init_fs_codec(interp) < 0) {
  ------------------
  |  Branch (15375:9): [True: 0, False: 2]
  ------------------
15376|      0|        return _PyStatus_ERR("cannot initialize filesystem codec");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
15377|      0|    }
15378|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
15379|      2|}
unicodeobject.c:config_get_codec_name:
15241|      4|{
15242|      4|    char *encoding;
15243|      4|    if (encode_wstr_utf8(*config_encoding, &encoding, "stdio_encoding") < 0) {
  ------------------
  |  Branch (15243:9): [True: 0, False: 4]
  ------------------
15244|      0|        return -1;
15245|      0|    }
15246|       |
15247|      4|    PyObject *name_obj = NULL;
15248|      4|    PyObject *codec = _PyCodec_Lookup(encoding);
15249|      4|    PyMem_RawFree(encoding);
15250|       |
15251|      4|    if (!codec)
  ------------------
  |  Branch (15251:9): [True: 0, False: 4]
  ------------------
15252|      0|        goto error;
15253|       |
15254|      4|    name_obj = PyObject_GetAttrString(codec, "name");
15255|      4|    Py_CLEAR(codec);
  ------------------
  |  |  487|      4|    do { \
  |  |  488|      4|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      4|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  491|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      4|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      4|        } \
  |  |  494|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
15256|      4|    if (!name_obj) {
  ------------------
  |  Branch (15256:9): [True: 0, False: 4]
  ------------------
15257|      0|        goto error;
15258|      0|    }
15259|       |
15260|      4|    wchar_t *wname = PyUnicode_AsWideCharString(name_obj, NULL);
15261|      4|    Py_DECREF(name_obj);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15262|      4|    if (wname == NULL) {
  ------------------
  |  Branch (15262:9): [True: 0, False: 4]
  ------------------
15263|      0|        goto error;
15264|      0|    }
15265|       |
15266|      4|    wchar_t *raw_wname = _PyMem_RawWcsdup(wname);
15267|      4|    if (raw_wname == NULL) {
  ------------------
  |  Branch (15267:9): [True: 0, False: 4]
  ------------------
15268|      0|        PyMem_Free(wname);
15269|      0|        PyErr_NoMemory();
15270|      0|        goto error;
15271|      0|    }
15272|       |
15273|      4|    PyMem_RawFree(*config_encoding);
15274|      4|    *config_encoding = raw_wname;
15275|       |
15276|      4|    PyMem_Free(wname);
15277|      4|    return 0;
15278|       |
15279|      0|error:
15280|      0|    Py_XDECREF(codec);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15281|      0|    Py_XDECREF(name_obj);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15282|      0|    return -1;
15283|      4|}
unicodeobject.c:encode_wstr_utf8:
15221|      8|{
15222|      8|    assert(str != NULL);
  ------------------
  |  Branch (15222:5): [True: 8, False: 0]
  ------------------
15223|       |
15224|      8|    size_t unused_output_length;
15225|      8|    int res = _Py_EncodeUTF8(wstr, str, &unused_output_length,
15226|      8|                             NULL, 1, _Py_ERROR_STRICT);
15227|      8|    if (res == -2) {
  ------------------
  |  Branch (15227:9): [True: 0, False: 8]
  ------------------
15228|      0|        PyErr_Format(PyExc_RuntimeError, "cannot encode %s", name);
15229|      0|        return -1;
15230|      0|    }
15231|      8|    if (res < 0) {
  ------------------
  |  Branch (15231:9): [True: 0, False: 8]
  ------------------
15232|      0|        PyErr_NoMemory();
15233|      0|        return -1;
15234|      0|    }
15235|      8|    return 0;
15236|      8|}
unicodeobject.c:init_fs_codec:
15305|      2|{
15306|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
15307|       |
15308|      2|    _Py_error_handler error_handler;
15309|      2|    error_handler = get_error_handler_wide(config->filesystem_errors);
15310|      2|    if (error_handler == _Py_ERROR_UNKNOWN) {
  ------------------
  |  Branch (15310:9): [True: 0, False: 2]
  ------------------
15311|      0|        PyErr_SetString(PyExc_RuntimeError, "unknown filesystem error handler");
15312|      0|        return -1;
15313|      0|    }
15314|       |
15315|      2|    char *encoding, *errors;
15316|      2|    if (encode_wstr_utf8(config->filesystem_encoding,
  ------------------
  |  Branch (15316:9): [True: 0, False: 2]
  ------------------
15317|      2|                         &encoding,
15318|      2|                         "filesystem_encoding") < 0) {
15319|      0|        return -1;
15320|      0|    }
15321|       |
15322|      2|    if (encode_wstr_utf8(config->filesystem_errors,
  ------------------
  |  Branch (15322:9): [True: 0, False: 2]
  ------------------
15323|      2|                         &errors,
15324|      2|                         "filesystem_errors") < 0) {
15325|      0|        PyMem_RawFree(encoding);
15326|      0|        return -1;
15327|      0|    }
15328|       |
15329|      2|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
15330|      2|    PyMem_RawFree(fs_codec->encoding);
15331|      2|    fs_codec->encoding = encoding;
15332|       |    /* encoding has been normalized by init_fs_encoding() */
15333|      2|    fs_codec->utf8 = (strcmp(encoding, "utf-8") == 0);
15334|      2|    PyMem_RawFree(fs_codec->errors);
15335|      2|    fs_codec->errors = errors;
15336|      2|    fs_codec->error_handler = error_handler;
15337|       |
15338|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
15339|       |    assert(fs_codec->utf8 == 1);
15340|       |#endif
15341|       |
15342|       |    /* At this point, PyUnicode_EncodeFSDefault() and
15343|       |       PyUnicode_DecodeFSDefault() can now use the Python codec rather than
15344|       |       the C implementation of the filesystem encoding. */
15345|       |
15346|       |    /* Set Py_FileSystemDefaultEncoding and Py_FileSystemDefaultEncodeErrors
15347|       |       global configuration variables. */
15348|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (15348:9): [True: 2, False: 0]
  ------------------
15349|       |
15350|      2|        if (_Py_SetFileSystemEncoding(fs_codec->encoding,
  ------------------
  |  Branch (15350:13): [True: 0, False: 2]
  ------------------
15351|      2|                                      fs_codec->errors) < 0) {
15352|      0|            PyErr_NoMemory();
15353|      0|            return -1;
15354|      0|        }
15355|      2|    }
15356|      2|    return 0;
15357|      2|}
unicodeobject.c:init_stdio_encoding:
15288|      2|{
15289|       |    /* Update the stdio encoding to the normalized Python codec name. */
15290|      2|    PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
15291|      2|    if (config->stdio_encoding == NULL) {
  ------------------
  |  Branch (15291:9): [True: 0, False: 2]
  ------------------
15292|       |        /* gh-86427: The encoding is determined for every stream. */
15293|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
15294|      0|    }
15295|      2|    if (config_get_codec_name(&config->stdio_encoding) < 0) {
  ------------------
  |  Branch (15295:9): [True: 0, False: 2]
  ------------------
15296|      0|        return _PyStatus_ERR("failed to get the Python codec name "
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
15297|      0|                             "of the stdio encoding");
15298|      0|    }
15299|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
15300|      2|}

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

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

_PyWeakref_GetWeakrefCount:
   51|    791|{
   52|    791|    if (!_PyType_SUPPORTS_WEAKREFS(Py_TYPE(obj))) {
  ------------------
  |  |  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 (52:9): [True: 0, False: 791]
  ------------------
   53|      0|        return 0;
   54|      0|    }
   55|       |
   56|    791|    LOCK_WEAKREFS(obj);
   57|    791|    Py_ssize_t count = 0;
   58|    791|    PyWeakReference *head = *GET_WEAKREFS_LISTPTR(obj);
  ------------------
  |  |   46|    791|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
   59|  1.58k|    while (head != NULL) {
  ------------------
  |  Branch (59:12): [True: 791, False: 791]
  ------------------
   60|    791|        ++count;
   61|    791|        head = head->wr_next;
   62|    791|    }
   63|    791|    UNLOCK_WEAKREFS(obj);
   64|    791|    return count;
   65|    791|}
_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.90k|{
  972|  1.90k|    return (PyObject *)get_or_create_weakref(&_PyWeakref_RefType, ob,
  973|  1.90k|                                             callback);
  974|  1.90k|}
PyWeakref_GetRef:
 1002|     50|{
 1003|     50|    if (ref == NULL) {
  ------------------
  |  Branch (1003:9): [True: 0, False: 50]
  ------------------
 1004|      0|        *pobj = NULL;
 1005|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1006|      0|        return -1;
 1007|      0|    }
 1008|     50|    if (!PyWeakref_Check(ref)) {
  ------------------
  |  |   23|     50|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|     50|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    100|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 50, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   19|      0|        (Py_IS_TYPE((op), &_PyWeakref_ProxyType) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   20|      0|         || Py_IS_TYPE((op), &_PyWeakref_CallableProxyType))
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1009|      0|        *pobj = NULL;
 1010|      0|        PyErr_SetString(PyExc_TypeError, "expected a weakref");
 1011|      0|        return -1;
 1012|      0|    }
 1013|     50|    *pobj = _PyWeakref_GET_REF(ref);
 1014|       |    return (*pobj != NULL);
 1015|     50|}
PyObject_ClearWeakRefs:
 1059|   375k|{
 1060|   375k|    PyWeakReference **list;
 1061|       |
 1062|   375k|    if (object == NULL
  ------------------
  |  Branch (1062:9): [True: 0, False: 375k]
  ------------------
 1063|   375k|        || !_PyType_SUPPORTS_WEAKREFS(Py_TYPE(object))
  ------------------
  |  |  213|   375k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   375k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   375k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1063:12): [True: 0, False: 375k]
  ------------------
 1064|   375k|        || Py_REFCNT(object) != 0)
  ------------------
  |  |  119|   375k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   375k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   375k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1064:12): [True: 0, False: 375k]
  ------------------
 1065|      0|    {
 1066|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1067|      0|        return;
 1068|      0|    }
 1069|       |
 1070|   375k|    list = GET_WEAKREFS_LISTPTR(object);
  ------------------
  |  |   46|   375k|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
 1071|   375k|    if (FT_ATOMIC_LOAD_PTR(*list) == NULL) {
  ------------------
  |  |  147|   375k|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  |  Branch (1071:9): [True: 374k, False: 791]
  ------------------
 1072|       |        // Fast path for the common case
 1073|   374k|        return;
 1074|   374k|    }
 1075|       |
 1076|       |    /* Remove the callback-less basic and proxy references, which always appear
 1077|       |       at the head of the list.
 1078|       |    */
 1079|  1.58k|    for (int done = 0; !done;) {
  ------------------
  |  Branch (1079:24): [True: 791, False: 791]
  ------------------
 1080|    791|        LOCK_WEAKREFS(object);
 1081|    791|        if (*list != NULL && is_basic_ref_or_proxy(*list)) {
  ------------------
  |  Branch (1081:13): [True: 791, False: 0]
  |  Branch (1081:30): [True: 0, False: 791]
  ------------------
 1082|      0|            PyObject *callback;
 1083|      0|            clear_weakref_lock_held(*list, &callback);
 1084|      0|            assert(callback == NULL);
  ------------------
  |  Branch (1084:13): [True: 0, False: 0]
  ------------------
 1085|      0|        }
 1086|    791|        done = (*list == NULL) || !is_basic_ref_or_proxy(*list);
  ------------------
  |  Branch (1086:16): [True: 0, False: 791]
  |  Branch (1086:35): [True: 791, False: 0]
  ------------------
 1087|    791|        UNLOCK_WEAKREFS(object);
 1088|    791|    }
 1089|       |
 1090|       |    /* Deal with non-canonical (subtypes or refs with callbacks) references. */
 1091|    791|    Py_ssize_t num_weakrefs = _PyWeakref_GetWeakrefCount(object);
 1092|    791|    if (num_weakrefs == 0) {
  ------------------
  |  Branch (1092:9): [True: 0, False: 791]
  ------------------
 1093|      0|        return;
 1094|      0|    }
 1095|       |
 1096|    791|    PyObject *exc = PyErr_GetRaisedException();
 1097|    791|    PyObject *tuple = PyTuple_New(num_weakrefs * 2);
 1098|    791|    if (tuple == NULL) {
  ------------------
  |  Branch (1098:9): [True: 0, False: 791]
  ------------------
 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|    791|    Py_ssize_t num_items = 0;
 1107|  1.58k|    for (int done = 0; !done;) {
  ------------------
  |  Branch (1107:24): [True: 791, False: 791]
  ------------------
 1108|    791|        PyObject *callback = NULL;
 1109|    791|        LOCK_WEAKREFS(object);
 1110|    791|        PyWeakReference *cur = *list;
 1111|    791|        if (cur != NULL) {
  ------------------
  |  Branch (1111:13): [True: 791, False: 0]
  ------------------
 1112|    791|            clear_weakref_lock_held(cur, &callback);
 1113|    791|            if (_Py_TryIncref((PyObject *) cur)) {
  ------------------
  |  Branch (1113:17): [True: 791, False: 0]
  ------------------
 1114|    791|                assert(num_items / 2 < num_weakrefs);
  ------------------
  |  Branch (1114:17): [True: 791, False: 0]
  ------------------
 1115|    791|                PyTuple_SET_ITEM(tuple, num_items, (PyObject *) cur);
  ------------------
  |  |   40|    791|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    791|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    791|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    791|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    791|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1116|    791|                PyTuple_SET_ITEM(tuple, num_items + 1, callback);
  ------------------
  |  |   40|    791|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    791|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    791|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    791|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    791|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1117|    791|                num_items += 2;
 1118|    791|                callback = NULL;
 1119|    791|            }
 1120|    791|        }
 1121|    791|        done = (*list == NULL);
 1122|    791|        UNLOCK_WEAKREFS(object);
 1123|       |
 1124|    791|        Py_XDECREF(callback);
  ------------------
  |  |  621|    791|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    791|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    791|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1125|    791|    }
 1126|       |
 1127|  1.58k|    for (Py_ssize_t i = 0; i < num_items; i += 2) {
  ------------------
  |  Branch (1127:28): [True: 791, False: 791]
  ------------------
 1128|    791|        PyObject *callback = PyTuple_GET_ITEM(tuple, i + 1);
  ------------------
  |  |   29|    791|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    791|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    791|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1128:30): [True: 791, False: 0]
  ------------------
 1129|    791|        if (callback != NULL) {
  ------------------
  |  Branch (1129:13): [True: 791, False: 0]
  ------------------
 1130|    791|            PyObject *weakref = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|    791|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    791|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    791|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1130:33): [True: 791, False: 0]
  ------------------
 1131|      0|            handle_callback((PyWeakReference *)weakref, callback);
 1132|    791|        }
 1133|    791|    }
 1134|       |
 1135|    791|    Py_DECREF(tuple);
  ------------------
  |  |  430|    791|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    791|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    791|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1136|       |
 1137|    791|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1137:5): [True: 791, False: 0]
  ------------------
 1138|    791|    PyErr_SetRaisedException(exc);
 1139|    791|}
weakrefobject.c:clear_weakref_lock_held:
   88|  1.65k|{
   89|  1.65k|    if (self->wr_object != Py_None) {
  ------------------
  |  |  616|  1.65k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (89:9): [True: 854, False: 798]
  ------------------
   90|    854|        PyWeakReference **list = GET_WEAKREFS_LISTPTR(self->wr_object);
  ------------------
  |  |   46|    854|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
   91|    854|        if (*list == self) {
  ------------------
  |  Branch (91:13): [True: 827, False: 27]
  ------------------
   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|    827|            FT_ATOMIC_STORE_PTR_RELEASE(*list, self->wr_next);
  ------------------
  |  |  166|    827|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
   96|    827|        }
   97|    854|        FT_ATOMIC_STORE_PTR_RELEASE(self->wr_object, Py_None);
  ------------------
  |  |  166|    854|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
   98|    854|        if (self->wr_prev != NULL) {
  ------------------
  |  Branch (98:13): [True: 27, False: 827]
  ------------------
   99|     27|            self->wr_prev->wr_next = self->wr_next;
  100|     27|        }
  101|    854|        if (self->wr_next != NULL) {
  ------------------
  |  Branch (101:13): [True: 3, False: 851]
  ------------------
  102|      3|            self->wr_next->wr_prev = self->wr_prev;
  103|      3|        }
  104|    854|        self->wr_prev = NULL;
  105|    854|        self->wr_next = NULL;
  106|    854|    }
  107|  1.65k|    if (callback != NULL) {
  ------------------
  |  Branch (107:9): [True: 1.64k, False: 7]
  ------------------
  108|  1.64k|        *callback = self->wr_callback;
  109|       |        self->wr_callback = NULL;
  110|  1.64k|    }
  111|  1.65k|}
weakrefobject.c:weakref_dealloc:
  150|    854|{
  151|    854|    PyObject_GC_UnTrack(self);
  152|    854|    clear_weakref(self);
  153|    854|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    854|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    854|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    854|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  154|    854|}
weakrefobject.c:clear_weakref:
  116|    854|{
  117|    854|    PyWeakReference *self = _PyWeakref_CAST(op);
  ------------------
  |  |   46|    854|    (assert(PyWeakref_Check(op)), _Py_CAST(PyWeakReference*, (op)))
  |  |  ------------------
  |  |  |  |   37|    854|#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: 854, False: 0]
  ------------------
  118|    854|    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|    854|    LOCK_WEAKREFS_FOR_WR(self);
  123|    854|    clear_weakref_lock_held(self, &callback);
  124|    854|    UNLOCK_WEAKREFS_FOR_WR(self);
  125|    854|    Py_XDECREF(callback);
  ------------------
  |  |  621|    854|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    854|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    854|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  126|    854|}
weakrefobject.c:weakref_hash_impl:
  205|    191|{
  206|    191|    if (self->hash != -1)
  ------------------
  |  Branch (206:9): [True: 5, False: 186]
  ------------------
  207|      5|        return self->hash;
  208|    186|    PyObject* obj = _PyWeakref_GET_REF((PyObject*)self);
  209|    186|    if (obj == NULL) {
  ------------------
  |  Branch (209:9): [True: 0, False: 186]
  ------------------
  210|      0|        PyErr_SetString(PyExc_TypeError, "weak object has gone away");
  211|      0|        return -1;
  212|      0|    }
  213|    186|    self->hash = PyObject_Hash(obj);
  214|    186|    Py_DECREF(obj);
  ------------------
  |  |  430|    186|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    186|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    186|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  215|    186|    return self->hash;
  216|    186|}
weakrefobject.c:gc_traverse:
  159|  23.3k|{
  160|  23.3k|    PyWeakReference *self = _PyWeakref_CAST(op);
  ------------------
  |  |   46|  23.3k|    (assert(PyWeakref_Check(op)), _Py_CAST(PyWeakReference*, (op)))
  |  |  ------------------
  |  |  |  |   37|  23.3k|#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: 23.3k, False: 0]
  ------------------
  161|  23.3k|    Py_VISIT(self->wr_callback);
  ------------------
  |  |  194|  23.3k|    do {                                                                \
  |  |  195|  23.3k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.42k, False: 21.9k]
  |  |  ------------------
  |  |  196|  1.42k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.42k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.42k]
  |  |  ------------------
  |  |  198|  1.42k|                return vret;                                            \
  |  |  199|  1.42k|        }                                                               \
  |  |  200|  23.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 23.3k]
  |  |  ------------------
  ------------------
  162|  23.3k|    return 0;
  163|  23.3k|}
weakrefobject.c:weakref_ref_init_impl:
  505|    411|{
  506|       |    /* The arguments were already used by __new__; only validate them. */
  507|    411|    return 0;
  508|    411|}
weakrefobject.c:weakref_ref_new_impl:
  489|    793|{
  490|    793|    return (PyObject *)get_or_create_weakref(type, object, callback);
  491|    793|}
weakrefobject.c:get_or_create_weakref:
  419|  2.69k|{
  420|  2.69k|    if (!_PyType_SUPPORTS_WEAKREFS(Py_TYPE(obj))) {
  ------------------
  |  |  213|  2.69k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (420:9): [True: 0, False: 2.69k]
  ------------------
  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.69k|    if (callback == Py_None) {
  ------------------
  |  |  616|  2.69k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (426:9): [True: 0, False: 2.69k]
  ------------------
  427|      0|        callback = NULL;
  428|      0|    }
  429|  2.69k|    if (callback != NULL && !PyCallable_Check(callback)) {
  ------------------
  |  Branch (429:9): [True: 931, False: 1.76k]
  |  Branch (429:29): [True: 0, False: 931]
  ------------------
  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.69k|    PyWeakReference **list = GET_WEAKREFS_LISTPTR(obj);
  ------------------
  |  |   46|  2.69k|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
  437|  2.69k|    if ((type == &_PyWeakref_RefType) ||
  ------------------
  |  Branch (437:9): [True: 2.28k, False: 411]
  ------------------
  438|    411|        (type == &_PyWeakref_ProxyType) ||
  ------------------
  |  Branch (438:9): [True: 0, False: 411]
  ------------------
  439|    411|        (type == &_PyWeakref_CallableProxyType))
  ------------------
  |  Branch (439:9): [True: 0, False: 411]
  ------------------
  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: 297, False: 1.98k]
  ------------------
  444|    297|            UNLOCK_WEAKREFS(obj);
  445|    297|            return basic_ref;
  446|    297|        }
  447|  1.98k|        PyWeakReference *newref = allocate_weakref(type, obj, callback);
  448|  1.98k|        if (newref == NULL) {
  ------------------
  |  Branch (448:13): [True: 0, False: 1.98k]
  ------------------
  449|      0|            UNLOCK_WEAKREFS(obj);
  450|      0|            return NULL;
  451|      0|        }
  452|  1.98k|        insert_weakref(newref, list);
  453|  1.98k|        UNLOCK_WEAKREFS(obj);
  454|  1.98k|        return newref;
  455|  1.98k|    }
  456|    411|    else {
  457|       |        // We may not be able to safely allocate inside the lock
  458|    411|        PyWeakReference *newref = allocate_weakref(type, obj, callback);
  459|    411|        if (newref == NULL) {
  ------------------
  |  Branch (459:13): [True: 0, False: 411]
  ------------------
  460|      0|            return NULL;
  461|      0|        }
  462|    411|        LOCK_WEAKREFS(obj);
  463|    411|        insert_weakref(newref, list);
  464|    411|        UNLOCK_WEAKREFS(obj);
  465|    411|        return newref;
  466|    411|    }
  467|  2.69k|}
weakrefobject.c:try_reuse_basic_ref:
  339|  2.28k|{
  340|  2.28k|    if (callback != NULL) {
  ------------------
  |  Branch (340:9): [True: 520, False: 1.76k]
  ------------------
  341|    520|        return NULL;
  342|    520|    }
  343|       |
  344|  1.76k|    PyWeakReference *ref, *proxy;
  345|  1.76k|    get_basic_refs(list, &ref, &proxy);
  346|       |
  347|  1.76k|    PyWeakReference *cand = NULL;
  348|  1.76k|    if (type == &_PyWeakref_RefType) {
  ------------------
  |  Branch (348:9): [True: 1.76k, False: 0]
  ------------------
  349|  1.76k|        cand = ref;
  350|  1.76k|    }
  351|  1.76k|    if ((type == &_PyWeakref_ProxyType) ||
  ------------------
  |  Branch (351:9): [True: 0, False: 1.76k]
  ------------------
  352|  1.76k|        (type == &_PyWeakref_CallableProxyType)) {
  ------------------
  |  Branch (352:9): [True: 0, False: 1.76k]
  ------------------
  353|      0|        cand = proxy;
  354|      0|    }
  355|       |
  356|  1.76k|    if (cand != NULL && _Py_TryIncref((PyObject *) cand)) {
  ------------------
  |  Branch (356:9): [True: 297, False: 1.46k]
  |  Branch (356:25): [True: 297, False: 0]
  ------------------
  357|    297|        return cand;
  358|    297|    }
  359|  1.46k|    return NULL;
  360|  1.76k|}
weakrefobject.c:get_basic_refs:
  286|  4.16k|{
  287|  4.16k|    *refp = NULL;
  288|  4.16k|    *proxyp = NULL;
  289|       |
  290|  4.16k|    if (head != NULL && head->wr_callback == NULL) {
  ------------------
  |  Branch (290:9): [True: 437, False: 3.72k]
  |  Branch (290:25): [True: 437, 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|    437|        if (PyWeakref_CheckRefExact(head)) {
  ------------------
  |  |   17|    437|        Py_IS_TYPE((op), &_PyWeakref_RefType)
  |  |  ------------------
  |  |  |  |  215|    437|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    437|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    437|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 437, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  295|    437|            *refp = head;
  296|    437|            head = head->wr_next;
  297|    437|        }
  298|    437|        if (head != NULL
  ------------------
  |  Branch (298:13): [True: 64, False: 373]
  ------------------
  299|     64|            && head->wr_callback == NULL
  ------------------
  |  Branch (299:16): [True: 0, False: 64]
  ------------------
  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|    437|    }
  305|  4.16k|}
weakrefobject.c:allocate_weakref:
  408|  2.39k|{
  409|  2.39k|    PyWeakReference *newref = (PyWeakReference *) type->tp_alloc(type, 0);
  410|  2.39k|    if (newref == NULL) {
  ------------------
  |  Branch (410:9): [True: 0, False: 2.39k]
  ------------------
  411|      0|        return NULL;
  412|      0|    }
  413|  2.39k|    init_weakref(newref, obj, callback);
  414|  2.39k|    return newref;
  415|  2.39k|}
weakrefobject.c:init_weakref:
   71|  2.39k|{
   72|  2.39k|    self->hash = -1;
   73|  2.39k|    self->wr_object = ob;
   74|  2.39k|    self->wr_prev = NULL;
   75|  2.39k|    self->wr_next = NULL;
   76|  2.39k|    self->wr_callback = Py_XNewRef(callback);
  ------------------
  |  |  648|  2.39k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   77|  2.39k|    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.39k|}
weakrefobject.c:weakref_vectorcall:
  182|    442|{
  183|    442|    if (!_PyArg_NoKwnames("weakref", kwnames)) {
  ------------------
  |  |   16|    442|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (16:6): [True: 442, False: 0]
  |  |  |  Branch (16:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  184|      0|        return NULL;
  185|      0|    }
  186|    442|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    442|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  187|    442|    if (!_PyArg_CheckPositional("weakref", nargs, 0, 0)) {
  ------------------
  |  |   38|    442|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 442, False: 0]
  |  |  |  Branch (38:27): [True: 442, False: 0]
  |  |  ------------------
  |  |   39|    442|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  188|      0|        return NULL;
  189|      0|    }
  190|    442|    PyObject *obj = _PyWeakref_GET_REF(self);
  191|    442|    if (obj == NULL) {
  ------------------
  |  Branch (191:9): [True: 0, False: 442]
  ------------------
  192|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  193|      0|    }
  194|    442|    return obj;
  195|    442|}
weakrefobject.c:insert_weakref:
  383|  2.39k|{
  384|  2.39k|    PyWeakReference *ref, *proxy;
  385|  2.39k|    get_basic_refs(*list, &ref, &proxy);
  386|       |
  387|  2.39k|    PyWeakReference *prev;
  388|  2.39k|    if (is_basic_ref(newref)) {
  ------------------
  |  Branch (388:9): [True: 1.46k, False: 931]
  ------------------
  389|  1.46k|        prev = NULL;
  390|  1.46k|    }
  391|    931|    else if (is_basic_proxy(newref)) {
  ------------------
  |  Branch (391:14): [True: 0, False: 931]
  ------------------
  392|      0|        prev = ref;
  393|      0|    }
  394|    931|    else {
  395|    931|        prev = (proxy == NULL) ? ref : proxy;
  ------------------
  |  Branch (395:16): [True: 931, False: 0]
  ------------------
  396|    931|    }
  397|       |
  398|  2.39k|    if (prev == NULL) {
  ------------------
  |  Branch (398:9): [True: 2.25k, False: 140]
  ------------------
  399|  2.25k|        insert_head(newref, list);
  400|  2.25k|    }
  401|    140|    else {
  402|    140|        insert_after(newref, prev);
  403|    140|    }
  404|  2.39k|}
weakrefobject.c:is_basic_ref:
  364|  3.97k|{
  365|  3.97k|    return (ref->wr_callback == NULL) && PyWeakref_CheckRefExact(ref);
  ------------------
  |  |   17|  1.46k|        Py_IS_TYPE((op), &_PyWeakref_RefType)
  |  |  ------------------
  |  |  |  |  215|  1.46k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.46k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (365:12): [True: 1.46k, False: 2.51k]
  ------------------
  366|  3.97k|}
weakrefobject.c:is_basic_proxy:
  370|  2.51k|{
  371|  2.51k|    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: 2.51k]
  ------------------
  372|  2.51k|}
weakrefobject.c:insert_head:
  323|  2.25k|{
  324|  2.25k|    PyWeakReference *next = *list;
  325|       |
  326|  2.25k|    newref->wr_prev = NULL;
  327|  2.25k|    newref->wr_next = next;
  328|  2.25k|    if (next != NULL)
  ------------------
  |  Branch (328:9): [True: 0, False: 2.25k]
  ------------------
  329|      0|        next->wr_prev = newref;
  330|  2.25k|    *list = newref;
  331|  2.25k|}
weakrefobject.c:insert_after:
  310|    140|{
  311|    140|    newref->wr_prev = prev;
  312|    140|    newref->wr_next = prev->wr_next;
  313|    140|    if (prev->wr_next != NULL)
  ------------------
  |  Branch (313:9): [True: 62, False: 78]
  ------------------
  314|     62|        prev->wr_next->wr_prev = newref;
  315|    140|    prev->wr_next = newref;
  316|    140|}
weakrefobject.c:is_basic_ref_or_proxy:
  376|  1.58k|{
  377|  1.58k|    return is_basic_ref(wr) || is_basic_proxy(wr);
  ------------------
  |  Branch (377:12): [True: 0, False: 1.58k]
  |  Branch (377:32): [True: 0, False: 1.58k]
  ------------------
  378|  1.58k|}
weakrefobject.c:handle_callback:
 1039|    791|{
 1040|    791|    PyObject *cbresult = PyObject_CallOneArg(callback, (PyObject *)ref);
 1041|       |
 1042|    791|    if (cbresult == NULL) {
  ------------------
  |  Branch (1042:9): [True: 0, False: 791]
  ------------------
 1043|      0|        PyErr_FormatUnraisable("Exception ignored while "
 1044|      0|                               "calling weakref callback %R", callback);
 1045|      0|    }
 1046|    791|    else {
 1047|    791|        Py_DECREF(cbresult);
  ------------------
  |  |  430|    791|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    791|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    791|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1048|    791|    }
 1049|    791|}

_PyPegen_dummy_name:
   14|  71.8k|{
   15|  71.8k|    return &_PyRuntime.parser.dummy_name;
   16|  71.8k|}
_PyPegen_singleton_seq:
   21|   221k|{
   22|   221k|    assert(a != NULL);
  ------------------
  |  Branch (22:5): [True: 221k, False: 0]
  ------------------
   23|   221k|    asdl_seq *seq = (asdl_seq*)_Py_asdl_generic_seq_new(1, p->arena);
   24|   221k|    if (!seq) {
  ------------------
  |  Branch (24:9): [True: 0, False: 221k]
  ------------------
   25|      0|        return NULL;
   26|      0|    }
   27|   221k|    asdl_seq_SET_UNTYPED(seq, 0, a);
  ------------------
  |  |  106|   221k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|   221k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   28|   221k|    return seq;
   29|   221k|}
_PyPegen_seq_insert_in_front:
   34|   608k|{
   35|   608k|    assert(a != NULL);
  ------------------
  |  Branch (35:5): [True: 608k, False: 0]
  ------------------
   36|   608k|    if (!seq) {
  ------------------
  |  Branch (36:9): [True: 29.2k, False: 579k]
  ------------------
   37|  29.2k|        return _PyPegen_singleton_seq(p, a);
   38|  29.2k|    }
   39|       |
   40|   579k|    asdl_seq *new_seq = (asdl_seq*)_Py_asdl_generic_seq_new(asdl_seq_LEN(seq) + 1, p->arena);
  ------------------
  |  |   83|   579k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  1.15M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 579k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   41|   579k|    if (!new_seq) {
  ------------------
  |  Branch (41:9): [True: 0, False: 579k]
  ------------------
   42|      0|        return NULL;
   43|      0|    }
   44|       |
   45|   579k|    asdl_seq_SET_UNTYPED(new_seq, 0, a);
  ------------------
  |  |  106|   579k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|   579k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   46|  3.80M|    for (Py_ssize_t i = 1, l = asdl_seq_LEN(new_seq); i < l; i++) {
  ------------------
  |  |   83|   579k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  1.15M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 579k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (46:55): [True: 3.22M, False: 579k]
  ------------------
   47|  3.22M|        asdl_seq_SET_UNTYPED(new_seq, i, asdl_seq_GET_UNTYPED(seq, i - 1));
  ------------------
  |  |  106|  3.22M|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  3.22M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   48|  3.22M|    }
   49|   579k|    return new_seq;
   50|   579k|}
_PyPegen_seq_flatten:
   87|  28.4k|{
   88|  28.4k|    Py_ssize_t flattened_seq_size = _get_flattened_seq_size(seqs);
   89|  28.4k|    assert(flattened_seq_size > 0);
  ------------------
  |  Branch (89:5): [True: 28.4k, False: 0]
  ------------------
   90|       |
   91|  28.4k|    asdl_seq *flattened_seq = (asdl_seq*)_Py_asdl_generic_seq_new(flattened_seq_size, p->arena);
   92|  28.4k|    if (!flattened_seq) {
  ------------------
  |  Branch (92:9): [True: 0, False: 28.4k]
  ------------------
   93|      0|        return NULL;
   94|      0|    }
   95|       |
   96|  28.4k|    int flattened_seq_idx = 0;
   97|   170k|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seqs); i < l; i++) {
  ------------------
  |  |   83|  28.4k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  56.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 28.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (97:52): [True: 141k, False: 28.4k]
  ------------------
   98|   141k|        asdl_seq *inner_seq = asdl_seq_GET_UNTYPED(seqs, i);
  ------------------
  |  |   81|   141k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|   141k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   99|   304k|        for (Py_ssize_t j = 0, li = asdl_seq_LEN(inner_seq); j < li; j++) {
  ------------------
  |  |   83|   141k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|   283k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 141k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (99:62): [True: 162k, False: 141k]
  ------------------
  100|   162k|            asdl_seq_SET_UNTYPED(flattened_seq, flattened_seq_idx++, asdl_seq_GET_UNTYPED(inner_seq, j));
  ------------------
  |  |  106|   162k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|   162k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  101|   162k|        }
  102|   141k|    }
  103|  28.4k|    assert(flattened_seq_idx == flattened_seq_size);
  ------------------
  |  Branch (103:5): [True: 28.4k, False: 0]
  ------------------
  104|       |
  105|  28.4k|    return flattened_seq;
  106|  28.4k|}
_PyPegen_seq_last_item:
  110|     94|{
  111|     94|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|     94|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    188|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|     94|    return asdl_seq_GET_UNTYPED(seq, len - 1);
  ------------------
  |  |   81|     94|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|     94|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  113|     94|}
_PyPegen_seq_first_item:
  117|     62|{
  118|     62|    return asdl_seq_GET_UNTYPED(seq, 0);
  ------------------
  |  |   81|     62|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|     62|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  119|     62|}
_PyPegen_join_names_with_dot:
  124|  6.66k|{
  125|  6.66k|    assert(first_name != NULL && second_name != NULL);
  ------------------
  |  Branch (125:5): [True: 6.66k, False: 0]
  |  Branch (125:5): [True: 6.66k, False: 0]
  ------------------
  126|  6.66k|    PyObject *uni = PyUnicode_FromFormat("%U.%U",
  127|  6.66k|            first_name->v.Name.id, second_name->v.Name.id);
  128|  6.66k|    if (!uni) {
  ------------------
  |  Branch (128:9): [True: 0, False: 6.66k]
  ------------------
  129|      0|        return NULL;
  130|      0|    }
  131|  6.66k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  132|  6.66k|    _PyUnicode_InternImmortal(interp, &uni);
  133|  6.66k|    if (_PyArena_AddPyObject(p->arena, uni) < 0) {
  ------------------
  |  Branch (133:9): [True: 0, False: 6.66k]
  ------------------
  134|      0|        Py_DECREF(uni);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  135|      0|        return NULL;
  136|      0|    }
  137|       |
  138|  6.66k|    return _PyAST_Name(uni, Load, EXTRA_EXPR(first_name, second_name));
  ------------------
  |  |  315|  6.66k|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  139|  6.66k|}
_PyPegen_seq_count_dots:
  144|  6.48k|{
  145|  6.48k|    int number_of_dots = 0;
  146|  36.6k|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seq); i < l; i++) {
  ------------------
  |  |   83|  6.48k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  12.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 6.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (146:51): [True: 30.1k, False: 6.48k]
  ------------------
  147|  30.1k|        Token *current_expr = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|  30.1k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  30.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  148|  30.1k|        switch (current_expr->type) {
  149|  26.6k|            case ELLIPSIS:
  ------------------
  |  |   68|  26.6k|#define ELLIPSIS        52
  ------------------
  |  Branch (149:13): [True: 26.6k, False: 3.45k]
  ------------------
  150|  26.6k|                number_of_dots += 3;
  151|  26.6k|                break;
  152|  3.45k|            case DOT:
  ------------------
  |  |   39|  3.45k|#define DOT             23
  ------------------
  |  Branch (152:13): [True: 3.45k, False: 26.6k]
  ------------------
  153|  3.45k|                number_of_dots += 1;
  154|  3.45k|                break;
  155|      0|            default:
  ------------------
  |  Branch (155:13): [True: 0, False: 30.1k]
  ------------------
  156|      0|                Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  157|  30.1k|        }
  158|  30.1k|    }
  159|       |
  160|  6.48k|    return number_of_dots;
  161|  6.48k|}
_PyPegen_alias_for_star:
  166|     52|                        int end_col_offset, PyArena *arena) {
  167|     52|    PyObject *str = PyUnicode_InternFromString("*");
  168|     52|    if (!str) {
  ------------------
  |  Branch (168:9): [True: 0, False: 52]
  ------------------
  169|      0|        return NULL;
  170|      0|    }
  171|     52|    if (_PyArena_AddPyObject(p->arena, str) < 0) {
  ------------------
  |  Branch (171:9): [True: 0, False: 52]
  ------------------
  172|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  173|      0|        return NULL;
  174|      0|    }
  175|     52|    return _PyAST_alias(str, NULL, lineno, col_offset, end_lineno, end_col_offset, arena);
  176|     52|}
_PyPegen_map_names_to_ids:
  181|  1.65k|{
  182|  1.65k|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|  1.65k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  3.30k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.65k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  183|  1.65k|    assert(len > 0);
  ------------------
  |  Branch (183:5): [True: 1.65k, False: 0]
  ------------------
  184|       |
  185|  1.65k|    asdl_identifier_seq *new_seq = _Py_asdl_identifier_seq_new(len, p->arena);
  186|  1.65k|    if (!new_seq) {
  ------------------
  |  Branch (186:9): [True: 0, False: 1.65k]
  ------------------
  187|      0|        return NULL;
  188|      0|    }
  189|  6.41k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (189:28): [True: 4.76k, False: 1.65k]
  ------------------
  190|  4.76k|        expr_ty e = asdl_seq_GET(seq, i);
  ------------------
  |  |   82|  4.76k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  4.76k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  191|  4.76k|        asdl_seq_SET(new_seq, i, e->v.Name.id);
  ------------------
  |  |   94|  4.76k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  4.76k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  192|  4.76k|    }
  193|  1.65k|    return new_seq;
  194|  1.65k|}
_PyPegen_cmpop_expr_pair:
  199|  63.9k|{
  200|  63.9k|    assert(expr != NULL);
  ------------------
  |  Branch (200:5): [True: 63.9k, False: 0]
  ------------------
  201|  63.9k|    CmpopExprPair *a = _PyArena_Malloc(p->arena, sizeof(CmpopExprPair));
  202|  63.9k|    if (!a) {
  ------------------
  |  Branch (202:9): [True: 0, False: 63.9k]
  ------------------
  203|      0|        return NULL;
  204|      0|    }
  205|  63.9k|    a->cmpop = cmpop;
  206|  63.9k|    a->expr = expr;
  207|  63.9k|    return a;
  208|  63.9k|}
_PyPegen_get_cmpops:
  212|  26.9k|{
  213|  26.9k|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|  26.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  53.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 26.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|  26.9k|    assert(len > 0);
  ------------------
  |  Branch (214:5): [True: 26.9k, False: 0]
  ------------------
  215|       |
  216|  26.9k|    asdl_int_seq *new_seq = _Py_asdl_int_seq_new(len, p->arena);
  217|  26.9k|    if (!new_seq) {
  ------------------
  |  Branch (217:9): [True: 0, False: 26.9k]
  ------------------
  218|      0|        return NULL;
  219|      0|    }
  220|  90.2k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (220:28): [True: 63.3k, False: 26.9k]
  ------------------
  221|  63.3k|        CmpopExprPair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|  63.3k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  63.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  222|  63.3k|        asdl_seq_SET(new_seq, i, pair->cmpop);
  ------------------
  |  |   94|  63.3k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  63.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  223|  63.3k|    }
  224|  26.9k|    return new_seq;
  225|  26.9k|}
_PyPegen_get_exprs:
  229|  26.9k|{
  230|  26.9k|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|  26.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  53.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 26.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  231|  26.9k|    assert(len > 0);
  ------------------
  |  Branch (231:5): [True: 26.9k, False: 0]
  ------------------
  232|       |
  233|  26.9k|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(len, p->arena);
  234|  26.9k|    if (!new_seq) {
  ------------------
  |  Branch (234:9): [True: 0, False: 26.9k]
  ------------------
  235|      0|        return NULL;
  236|      0|    }
  237|  90.2k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (237:28): [True: 63.3k, False: 26.9k]
  ------------------
  238|  63.3k|        CmpopExprPair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|  63.3k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  63.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  239|  63.3k|        asdl_seq_SET(new_seq, i, pair->expr);
  ------------------
  |  |   94|  63.3k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  63.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  240|  63.3k|    }
  241|  26.9k|    return new_seq;
  242|  26.9k|}
_PyPegen_set_expr_context:
  321|   534k|{
  322|   534k|    assert(expr != NULL);
  ------------------
  |  Branch (322:5): [True: 534k, False: 0]
  ------------------
  323|       |
  324|   534k|    expr_ty new = NULL;
  325|   534k|    switch (expr->kind) {
  326|   473k|        case Name_kind:
  ------------------
  |  Branch (326:9): [True: 473k, False: 60.8k]
  ------------------
  327|   473k|            new = _set_name_context(p, expr, ctx);
  328|   473k|            break;
  329|  4.40k|        case Tuple_kind:
  ------------------
  |  Branch (329:9): [True: 4.40k, False: 529k]
  ------------------
  330|  4.40k|            new = _set_tuple_context(p, expr, ctx);
  331|  4.40k|            break;
  332|  7.52k|        case List_kind:
  ------------------
  |  Branch (332:9): [True: 7.52k, False: 526k]
  ------------------
  333|  7.52k|            new = _set_list_context(p, expr, ctx);
  334|  7.52k|            break;
  335|  25.1k|        case Subscript_kind:
  ------------------
  |  Branch (335:9): [True: 25.1k, False: 508k]
  ------------------
  336|  25.1k|            new = _set_subscript_context(p, expr, ctx);
  337|  25.1k|            break;
  338|  23.4k|        case Attribute_kind:
  ------------------
  |  Branch (338:9): [True: 23.4k, False: 510k]
  ------------------
  339|  23.4k|            new = _set_attribute_context(p, expr, ctx);
  340|  23.4k|            break;
  341|    249|        case Starred_kind:
  ------------------
  |  Branch (341:9): [True: 249, False: 533k]
  ------------------
  342|    249|            new = _set_starred_context(p, expr, ctx);
  343|    249|            break;
  344|      0|        default:
  ------------------
  |  Branch (344:9): [True: 0, False: 534k]
  ------------------
  345|      0|            new = expr;
  346|   534k|    }
  347|   534k|    return new;
  348|   534k|}
_PyPegen_make_target:
  354|   689k|{
  355|   689k|    assert(expr != NULL);
  ------------------
  |  Branch (355:5): [True: 689k, False: 0]
  ------------------
  356|   689k|    assert(targets_type != FOR_TARGETS);
  ------------------
  |  Branch (356:5): [True: 689k, False: 0]
  ------------------
  357|   689k|    if (_PyPegen_get_invalid_target(expr, targets_type) != NULL) {
  ------------------
  |  Branch (357:9): [True: 222k, False: 466k]
  ------------------
  358|   222k|        return NULL;
  359|   222k|    }
  360|   466k|    return _PyPegen_set_expr_context(
  361|   466k|        p, expr, targets_type == DEL_TARGETS ? Del : Store);
  ------------------
  |  Branch (361:18): [True: 25.6k, False: 441k]
  ------------------
  362|   689k|}
_PyPegen_key_value_pair:
  367|  23.5k|{
  368|  23.5k|    KeyValuePair *a = _PyArena_Malloc(p->arena, sizeof(KeyValuePair));
  369|  23.5k|    if (!a) {
  ------------------
  |  Branch (369:9): [True: 0, False: 23.5k]
  ------------------
  370|      0|        return NULL;
  371|      0|    }
  372|  23.5k|    a->key = key;
  373|  23.5k|    a->value = value;
  374|  23.5k|    return a;
  375|  23.5k|}
_PyPegen_get_keys:
  380|  6.75k|{
  381|  6.75k|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|  6.75k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  13.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 5.16k, False: 1.59k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  382|  6.75k|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(len, p->arena);
  383|  6.75k|    if (!new_seq) {
  ------------------
  |  Branch (383:9): [True: 0, False: 6.75k]
  ------------------
  384|      0|        return NULL;
  385|      0|    }
  386|  13.5k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (386:28): [True: 6.75k, False: 6.75k]
  ------------------
  387|  6.75k|        KeyValuePair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|  6.75k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  6.75k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  388|  6.75k|        asdl_seq_SET(new_seq, i, pair->key);
  ------------------
  |  |   94|  6.75k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  6.75k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  389|  6.75k|    }
  390|  6.75k|    return new_seq;
  391|  6.75k|}
_PyPegen_get_values:
  396|  6.75k|{
  397|  6.75k|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|  6.75k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  13.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 5.16k, False: 1.59k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  398|  6.75k|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(len, p->arena);
  399|  6.75k|    if (!new_seq) {
  ------------------
  |  Branch (399:9): [True: 0, False: 6.75k]
  ------------------
  400|      0|        return NULL;
  401|      0|    }
  402|  13.5k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (402:28): [True: 6.75k, False: 6.75k]
  ------------------
  403|  6.75k|        KeyValuePair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|  6.75k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  6.75k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  404|  6.75k|        asdl_seq_SET(new_seq, i, pair->value);
  ------------------
  |  |   94|  6.75k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  6.75k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  405|  6.75k|    }
  406|  6.75k|    return new_seq;
  407|  6.75k|}
_PyPegen_key_pattern_pair:
  412|  20.1k|{
  413|  20.1k|    KeyPatternPair *a = _PyArena_Malloc(p->arena, sizeof(KeyPatternPair));
  414|  20.1k|    if (!a) {
  ------------------
  |  Branch (414:9): [True: 0, False: 20.1k]
  ------------------
  415|      0|        return NULL;
  416|      0|    }
  417|  20.1k|    a->key = key;
  418|  20.1k|    a->pattern = pattern;
  419|  20.1k|    return a;
  420|  20.1k|}
_PyPegen_get_pattern_keys:
  425|    986|{
  426|    986|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|    986|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  1.97k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 986]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  427|    986|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(len, p->arena);
  428|    986|    if (!new_seq) {
  ------------------
  |  Branch (428:9): [True: 0, False: 986]
  ------------------
  429|      0|        return NULL;
  430|      0|    }
  431|  3.59k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (431:28): [True: 2.60k, False: 986]
  ------------------
  432|  2.60k|        KeyPatternPair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|  2.60k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  2.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  433|  2.60k|        asdl_seq_SET(new_seq, i, pair->key);
  ------------------
  |  |   94|  2.60k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  2.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  434|  2.60k|    }
  435|    986|    return new_seq;
  436|    986|}
_PyPegen_get_patterns:
  441|    986|{
  442|    986|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|    986|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  1.97k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 986]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  443|    986|    asdl_pattern_seq *new_seq = _Py_asdl_pattern_seq_new(len, p->arena);
  444|    986|    if (!new_seq) {
  ------------------
  |  Branch (444:9): [True: 0, False: 986]
  ------------------
  445|      0|        return NULL;
  446|      0|    }
  447|  3.59k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (447:28): [True: 2.60k, False: 986]
  ------------------
  448|  2.60k|        KeyPatternPair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|  2.60k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  2.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  449|  2.60k|        asdl_seq_SET(new_seq, i, pair->pattern);
  ------------------
  |  |   94|  2.60k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  2.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  450|  2.60k|    }
  451|    986|    return new_seq;
  452|    986|}
_PyPegen_name_default_pair:
  457|   102k|{
  458|   102k|    NameDefaultPair *a = _PyArena_Malloc(p->arena, sizeof(NameDefaultPair));
  459|   102k|    if (!a) {
  ------------------
  |  Branch (459:9): [True: 0, False: 102k]
  ------------------
  460|      0|        return NULL;
  461|      0|    }
  462|   102k|    a->arg = _PyPegen_add_type_comment_to_arg(p, arg, tc);
  463|   102k|    if (!a->arg) {
  ------------------
  |  Branch (463:9): [True: 4, False: 102k]
  ------------------
  464|      4|        return NULL;
  465|      4|    }
  466|   102k|    a->value = value;
  467|   102k|    return a;
  468|   102k|}
_PyPegen_slash_with_default:
  473|  4.05k|{
  474|  4.05k|    SlashWithDefault *a = _PyArena_Malloc(p->arena, sizeof(SlashWithDefault));
  475|  4.05k|    if (!a) {
  ------------------
  |  Branch (475:9): [True: 0, False: 4.05k]
  ------------------
  476|      0|        return NULL;
  477|      0|    }
  478|  4.05k|    a->plain_names = plain_names;
  479|  4.05k|    a->names_with_defaults = names_with_defaults;
  480|  4.05k|    return a;
  481|  4.05k|}
_PyPegen_star_etc:
  486|  19.9k|{
  487|  19.9k|    StarEtc *a = _PyArena_Malloc(p->arena, sizeof(StarEtc));
  488|  19.9k|    if (!a) {
  ------------------
  |  Branch (488:9): [True: 0, False: 19.9k]
  ------------------
  489|      0|        return NULL;
  490|      0|    }
  491|  19.9k|    a->vararg = vararg;
  492|  19.9k|    a->kwonlyargs = kwonlyargs;
  493|  19.9k|    a->kwarg = kwarg;
  494|  19.9k|    return a;
  495|  19.9k|}
_PyPegen_join_sequences:
  499|  17.1k|{
  500|  17.1k|    Py_ssize_t first_len = asdl_seq_LEN(a);
  ------------------
  |  |   83|  17.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  34.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 17.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|  17.1k|    Py_ssize_t second_len = asdl_seq_LEN(b);
  ------------------
  |  |   83|  17.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  34.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 17.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  502|  17.1k|    asdl_seq *new_seq = (asdl_seq*)_Py_asdl_generic_seq_new(first_len + second_len, p->arena);
  503|  17.1k|    if (!new_seq) {
  ------------------
  |  Branch (503:9): [True: 0, False: 17.1k]
  ------------------
  504|      0|        return NULL;
  505|      0|    }
  506|       |
  507|  17.1k|    int k = 0;
  508|  34.4k|    for (Py_ssize_t i = 0; i < first_len; i++) {
  ------------------
  |  Branch (508:28): [True: 17.2k, False: 17.1k]
  ------------------
  509|  17.2k|        asdl_seq_SET_UNTYPED(new_seq, k++, asdl_seq_GET_UNTYPED(a, i));
  ------------------
  |  |  106|  17.2k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  17.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  510|  17.2k|    }
  511|  24.2k|    for (Py_ssize_t i = 0; i < second_len; i++) {
  ------------------
  |  Branch (511:28): [True: 7.08k, False: 17.1k]
  ------------------
  512|  7.08k|        asdl_seq_SET_UNTYPED(new_seq, k++, asdl_seq_GET_UNTYPED(b, i));
  ------------------
  |  |  106|  7.08k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  7.08k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  513|  7.08k|    }
  514|       |
  515|  17.1k|    return new_seq;
  516|  17.1k|}
_PyPegen_make_arguments:
  672|  34.6k|{
  673|  34.6k|    asdl_arg_seq *posonlyargs;
  674|  34.6k|    if (_make_posonlyargs(p, slash_without_default, slash_with_default, &posonlyargs) == -1) {
  ------------------
  |  Branch (674:9): [True: 0, False: 34.6k]
  ------------------
  675|      0|        return NULL;
  676|      0|    }
  677|       |
  678|  34.6k|    asdl_arg_seq *posargs;
  679|  34.6k|    if (_make_posargs(p, plain_names, names_with_default, &posargs) == -1) {
  ------------------
  |  Branch (679:9): [True: 0, False: 34.6k]
  ------------------
  680|      0|        return NULL;
  681|      0|    }
  682|       |
  683|  34.6k|    asdl_expr_seq *posdefaults;
  684|  34.6k|    if (_make_posdefaults(p,slash_with_default, names_with_default, &posdefaults) == -1) {
  ------------------
  |  Branch (684:9): [True: 0, False: 34.6k]
  ------------------
  685|      0|        return NULL;
  686|      0|    }
  687|       |
  688|  34.6k|    arg_ty vararg = NULL;
  689|  34.6k|    if (star_etc != NULL && star_etc->vararg != NULL) {
  ------------------
  |  Branch (689:9): [True: 19.9k, False: 14.6k]
  |  Branch (689:29): [True: 15.7k, False: 4.22k]
  ------------------
  690|  15.7k|        vararg = star_etc->vararg;
  691|  15.7k|    }
  692|       |
  693|  34.6k|    asdl_arg_seq *kwonlyargs;
  694|  34.6k|    asdl_expr_seq *kwdefaults;
  695|  34.6k|    if (_make_kwargs(p, star_etc, &kwonlyargs, &kwdefaults) == -1) {
  ------------------
  |  Branch (695:9): [True: 0, False: 34.6k]
  ------------------
  696|      0|        return NULL;
  697|      0|    }
  698|       |
  699|  34.6k|    arg_ty kwarg = NULL;
  700|  34.6k|    if (star_etc != NULL && star_etc->kwarg != NULL) {
  ------------------
  |  Branch (700:9): [True: 19.9k, False: 14.6k]
  |  Branch (700:29): [True: 3.11k, False: 16.8k]
  ------------------
  701|  3.11k|        kwarg = star_etc->kwarg;
  702|  3.11k|    }
  703|       |
  704|  34.6k|    return _PyAST_arguments(posonlyargs, posargs, vararg, kwonlyargs,
  705|  34.6k|                            kwdefaults, kwarg, posdefaults, p->arena);
  706|  34.6k|}
_PyPegen_empty_arguments:
  713|  7.48k|{
  714|  7.48k|    asdl_arg_seq *posonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  715|  7.48k|    if (!posonlyargs) {
  ------------------
  |  Branch (715:9): [True: 0, False: 7.48k]
  ------------------
  716|      0|        return NULL;
  717|      0|    }
  718|  7.48k|    asdl_arg_seq *posargs = _Py_asdl_arg_seq_new(0, p->arena);
  719|  7.48k|    if (!posargs) {
  ------------------
  |  Branch (719:9): [True: 0, False: 7.48k]
  ------------------
  720|      0|        return NULL;
  721|      0|    }
  722|  7.48k|    asdl_expr_seq *posdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  723|  7.48k|    if (!posdefaults) {
  ------------------
  |  Branch (723:9): [True: 0, False: 7.48k]
  ------------------
  724|      0|        return NULL;
  725|      0|    }
  726|  7.48k|    asdl_arg_seq *kwonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  727|  7.48k|    if (!kwonlyargs) {
  ------------------
  |  Branch (727:9): [True: 0, False: 7.48k]
  ------------------
  728|      0|        return NULL;
  729|      0|    }
  730|  7.48k|    asdl_expr_seq *kwdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  731|  7.48k|    if (!kwdefaults) {
  ------------------
  |  Branch (731:9): [True: 0, False: 7.48k]
  ------------------
  732|      0|        return NULL;
  733|      0|    }
  734|       |
  735|  7.48k|    return _PyAST_arguments(posonlyargs, posargs, NULL, kwonlyargs,
  736|       |                            kwdefaults, NULL, posdefaults, p->arena);
  737|  7.48k|}
_PyPegen_augoperator:
  742|  7.93k|{
  743|  7.93k|    AugOperator *a = _PyArena_Malloc(p->arena, sizeof(AugOperator));
  744|  7.93k|    if (!a) {
  ------------------
  |  Branch (744:9): [True: 0, False: 7.93k]
  ------------------
  745|      0|        return NULL;
  746|      0|    }
  747|  7.93k|    a->kind = kind;
  748|  7.93k|    return a;
  749|  7.93k|}
_PyPegen_function_def_decorators:
  754|  1.54k|{
  755|  1.54k|    assert(function_def != NULL);
  ------------------
  |  Branch (755:5): [True: 1.54k, False: 0]
  ------------------
  756|  1.54k|    if (function_def->kind == AsyncFunctionDef_kind) {
  ------------------
  |  Branch (756:9): [True: 826, False: 722]
  ------------------
  757|    826|        return _PyAST_AsyncFunctionDef(
  758|    826|            function_def->v.AsyncFunctionDef.name,
  759|    826|            function_def->v.AsyncFunctionDef.args,
  760|    826|            function_def->v.AsyncFunctionDef.body, decorators,
  761|    826|            function_def->v.AsyncFunctionDef.returns,
  762|    826|            function_def->v.AsyncFunctionDef.type_comment,
  763|    826|            function_def->v.AsyncFunctionDef.type_params,
  764|    826|            function_def->lineno, function_def->col_offset,
  765|    826|            function_def->end_lineno, function_def->end_col_offset, p->arena);
  766|    826|    }
  767|       |
  768|    722|    return _PyAST_FunctionDef(
  769|    722|        function_def->v.FunctionDef.name,
  770|    722|        function_def->v.FunctionDef.args,
  771|    722|        function_def->v.FunctionDef.body, decorators,
  772|    722|        function_def->v.FunctionDef.returns,
  773|    722|        function_def->v.FunctionDef.type_comment,
  774|    722|        function_def->v.FunctionDef.type_params,
  775|    722|        function_def->lineno, function_def->col_offset,
  776|    722|        function_def->end_lineno, function_def->end_col_offset, p->arena);
  777|  1.54k|}
_PyPegen_class_def_decorators:
  782|    883|{
  783|    883|    assert(class_def != NULL);
  ------------------
  |  Branch (783:5): [True: 883, False: 0]
  ------------------
  784|    883|    return _PyAST_ClassDef(
  785|    883|        class_def->v.ClassDef.name,
  786|    883|        class_def->v.ClassDef.bases, class_def->v.ClassDef.keywords,
  787|    883|        class_def->v.ClassDef.body, decorators,
  788|    883|        class_def->v.ClassDef.type_params,
  789|    883|        class_def->lineno, class_def->col_offset, class_def->end_lineno,
  790|    883|        class_def->end_col_offset, p->arena);
  791|    883|}
_PyPegen_keyword_or_starred:
  796|  36.7k|{
  797|  36.7k|    KeywordOrStarred *a = _PyArena_Malloc(p->arena, sizeof(KeywordOrStarred));
  798|  36.7k|    if (!a) {
  ------------------
  |  Branch (798:9): [True: 0, False: 36.7k]
  ------------------
  799|      0|        return NULL;
  800|      0|    }
  801|  36.7k|    a->element = element;
  802|  36.7k|    a->is_keyword = is_keyword;
  803|  36.7k|    return a;
  804|  36.7k|}
_PyPegen_seq_extract_starred_exprs:
  823|  15.9k|{
  824|  15.9k|    int new_len = _seq_number_of_starred_exprs(kwargs);
  825|  15.9k|    if (new_len == 0) {
  ------------------
  |  Branch (825:9): [True: 15.0k, False: 917]
  ------------------
  826|  15.0k|        return NULL;
  827|  15.0k|    }
  828|    917|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(new_len, p->arena);
  829|    917|    if (!new_seq) {
  ------------------
  |  Branch (829:9): [True: 0, False: 917]
  ------------------
  830|      0|        return NULL;
  831|      0|    }
  832|       |
  833|    917|    int idx = 0;
  834|  4.33k|    for (Py_ssize_t i = 0, len = asdl_seq_LEN(kwargs); i < len; i++) {
  ------------------
  |  |   83|    917|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  1.83k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 917]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (834:56): [True: 3.41k, False: 917]
  ------------------
  835|  3.41k|        KeywordOrStarred *k = asdl_seq_GET_UNTYPED(kwargs, i);
  ------------------
  |  |   81|  3.41k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  3.41k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  836|  3.41k|        if (!k->is_keyword) {
  ------------------
  |  Branch (836:13): [True: 1.37k, False: 2.03k]
  ------------------
  837|  1.37k|            asdl_seq_SET(new_seq, idx++, k->element);
  ------------------
  |  |   94|  1.37k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  1.37k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  838|  1.37k|        }
  839|  3.41k|    }
  840|    917|    return new_seq;
  841|    917|}
_PyPegen_seq_delete_starred_exprs:
  846|  15.9k|{
  847|  15.9k|    Py_ssize_t len = asdl_seq_LEN(kwargs);
  ------------------
  |  |   83|  15.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  31.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 15.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  848|  15.9k|    Py_ssize_t new_len = len - _seq_number_of_starred_exprs(kwargs);
  849|  15.9k|    if (new_len == 0) {
  ------------------
  |  Branch (849:9): [True: 0, False: 15.9k]
  ------------------
  850|      0|        return NULL;
  851|      0|    }
  852|  15.9k|    asdl_keyword_seq *new_seq = _Py_asdl_keyword_seq_new(new_len, p->arena);
  853|  15.9k|    if (!new_seq) {
  ------------------
  |  Branch (853:9): [True: 0, False: 15.9k]
  ------------------
  854|      0|        return NULL;
  855|      0|    }
  856|       |
  857|  15.9k|    int idx = 0;
  858|  46.3k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (858:28): [True: 30.3k, False: 15.9k]
  ------------------
  859|  30.3k|        KeywordOrStarred *k = asdl_seq_GET_UNTYPED(kwargs, i);
  ------------------
  |  |   81|  30.3k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  30.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  860|  30.3k|        if (k->is_keyword) {
  ------------------
  |  Branch (860:13): [True: 28.9k, False: 1.37k]
  ------------------
  861|  28.9k|            asdl_seq_SET(new_seq, idx++, k->element);
  ------------------
  |  |   94|  28.9k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  28.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  862|  28.9k|        }
  863|  30.3k|    }
  864|  15.9k|    return new_seq;
  865|  15.9k|}
_PyPegen_ensure_imaginary:
  869|  3.76k|{
  870|  3.76k|    if (exp->kind != Constant_kind || !PyComplex_CheckExact(exp->v.Constant.value)) {
  ------------------
  |  |   14|  3.76k|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|  3.76k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (870:9): [True: 0, False: 3.76k]
  |  Branch (870:39): [True: 1, False: 3.76k]
  ------------------
  871|      1|        RAISE_SYNTAX_ERROR_KNOWN_LOCATION(exp, "imaginary number required in complex literal");
  ------------------
  |  |  248|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  872|      1|        return NULL;
  873|      1|    }
  874|  3.76k|    return exp;
  875|  3.76k|}
_PyPegen_ensure_real:
  879|  5.51k|{
  880|  5.51k|    if (exp->kind != Constant_kind || PyComplex_CheckExact(exp->v.Constant.value)) {
  ------------------
  |  |   14|  5.51k|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|  5.51k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 5.50k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (880:9): [True: 0, False: 5.51k]
  ------------------
  881|      4|        RAISE_SYNTAX_ERROR_KNOWN_LOCATION(exp, "real number required in complex literal");
  ------------------
  |  |  248|      4|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  882|      4|        return NULL;
  883|      4|    }
  884|  5.50k|    return exp;
  885|  5.51k|}
_PyPegen_make_module:
  888|  9.91k|_PyPegen_make_module(Parser *p, asdl_stmt_seq *a) {
  889|  9.91k|    asdl_type_ignore_seq *type_ignores = NULL;
  890|  9.91k|    Py_ssize_t num = p->type_ignore_comments.num_items;
  891|  9.91k|    if (num > 0) {
  ------------------
  |  Branch (891:9): [True: 42, False: 9.86k]
  ------------------
  892|       |        // Turn the raw (comment, lineno) pairs into TypeIgnore objects in the arena
  893|     42|        type_ignores = _Py_asdl_type_ignore_seq_new(num, p->arena);
  894|     42|        if (type_ignores == NULL) {
  ------------------
  |  Branch (894:13): [True: 0, False: 42]
  ------------------
  895|      0|            return NULL;
  896|      0|        }
  897|    876|        for (Py_ssize_t i = 0; i < num; i++) {
  ------------------
  |  Branch (897:32): [True: 837, False: 39]
  ------------------
  898|    837|            PyObject *tag = _PyPegen_new_type_comment(p, p->type_ignore_comments.items[i].comment);
  899|    837|            if (tag == NULL) {
  ------------------
  |  Branch (899:17): [True: 3, False: 834]
  ------------------
  900|      3|                return NULL;
  901|      3|            }
  902|    834|            type_ignore_ty ti = _PyAST_TypeIgnore(p->type_ignore_comments.items[i].lineno,
  903|    834|                                                  tag, p->arena);
  904|    834|            if (ti == NULL) {
  ------------------
  |  Branch (904:17): [True: 0, False: 834]
  ------------------
  905|      0|                return NULL;
  906|      0|            }
  907|    834|            asdl_seq_SET(type_ignores, i, ti);
  ------------------
  |  |   94|    834|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|    834|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  908|    834|        }
  909|     42|    }
  910|  9.90k|    return _PyAST_Module(a, type_ignores, p->arena);
  911|  9.91k|}
_PyPegen_new_type_comment:
  915|  1.85k|{
  916|  1.85k|    PyObject *res = PyUnicode_DecodeUTF8(s, strlen(s), NULL);
  917|  1.85k|    if (res == NULL) {
  ------------------
  |  Branch (917:9): [True: 14, False: 1.83k]
  ------------------
  918|     14|        return NULL;
  919|     14|    }
  920|  1.83k|    if (_PyArena_AddPyObject(p->arena, res) < 0) {
  ------------------
  |  Branch (920:9): [True: 0, False: 1.83k]
  ------------------
  921|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  922|      0|        return NULL;
  923|      0|    }
  924|  1.83k|    return res;
  925|  1.83k|}
_PyPegen_add_type_comment_to_arg:
  929|   166k|{
  930|   166k|    if (tc == NULL) {
  ------------------
  |  Branch (930:9): [True: 166k, False: 471]
  ------------------
  931|   166k|        return a;
  932|   166k|    }
  933|    471|    const char *bytes = PyBytes_AsString(tc->bytes);
  934|    471|    if (bytes == NULL) {
  ------------------
  |  Branch (934:9): [True: 0, False: 471]
  ------------------
  935|      0|        return NULL;
  936|      0|    }
  937|    471|    PyObject *tco = _PyPegen_new_type_comment(p, bytes);
  938|    471|    if (tco == NULL) {
  ------------------
  |  Branch (938:9): [True: 5, False: 466]
  ------------------
  939|      5|        return NULL;
  940|      5|    }
  941|    466|    return _PyAST_arg(a->arg, a->annotation, tco,
  942|    466|                      a->lineno, a->col_offset, a->end_lineno, a->end_col_offset,
  943|    466|                      p->arena);
  944|    471|}
_PyPegen_check_barry_as_flufl:
  949|  1.31k|_PyPegen_check_barry_as_flufl(Parser *p, Token* t) {
  950|  1.31k|    assert(t->bytes != NULL);
  ------------------
  |  Branch (950:5): [True: 1.31k, False: 0]
  ------------------
  951|  1.31k|    assert(t->type == NOTEQUAL);
  ------------------
  |  Branch (951:5): [True: 1.31k, False: 0]
  ------------------
  952|       |
  953|  1.31k|    const char* tok_str = PyBytes_AS_STRING(t->bytes);
  ------------------
  |  |   27|  1.31k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  954|  1.31k|    if (p->flags & PyPARSE_BARRY_AS_BDFL && strcmp(tok_str, "<>") != 0) {
  ------------------
  |  |   26|  2.62k|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
  |  Branch (954:9): [True: 13, False: 1.29k]
  |  Branch (954:45): [True: 1, False: 12]
  ------------------
  955|      1|        RAISE_SYNTAX_ERROR("with Barry as BDFL, use '<>' instead of '!='");
  ------------------
  |  |  242|      1|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  956|      1|        return -1;
  957|      1|    }
  958|  1.31k|    if (!(p->flags & PyPARSE_BARRY_AS_BDFL)) {
  ------------------
  |  |   26|  1.31k|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
  |  Branch (958:9): [True: 1.29k, False: 12]
  ------------------
  959|  1.29k|        return strcmp(tok_str, "!=");
  960|  1.29k|    }
  961|     12|    return 0;
  962|  1.31k|}
_PyPegen_check_legacy_stmt:
  965|  15.8k|_PyPegen_check_legacy_stmt(Parser *p, expr_ty name) {
  966|  15.8k|    if (name->kind != Name_kind) {
  ------------------
  |  Branch (966:9): [True: 1.90k, False: 13.9k]
  ------------------
  967|  1.90k|        return 0;
  968|  1.90k|    }
  969|  13.9k|    const char* candidates[2] = {"print", "exec"};
  970|  41.4k|    for (int i=0; i<2; i++) {
  ------------------
  |  Branch (970:19): [True: 27.8k, False: 13.6k]
  ------------------
  971|  27.8k|        if (PyUnicode_CompareWithASCIIString(name->v.Name.id, candidates[i]) == 0) {
  ------------------
  |  Branch (971:13): [True: 257, False: 27.5k]
  ------------------
  972|    257|            return 1;
  973|    257|        }
  974|  27.8k|    }
  975|  13.6k|    return 0;
  976|  13.9k|}
_PyPegen_raise_error_for_missing_comma:
  980|  4.52k|{
  981|       |    // Don't raise for legacy statements like "print x" or "exec x"
  982|  4.52k|    if (_PyPegen_check_legacy_stmt(p, a)) {
  ------------------
  |  Branch (982:9): [True: 248, False: 4.27k]
  ------------------
  983|    248|        return NULL;
  984|    248|    }
  985|       |    // Only raise inside parentheses/brackets (level > 0)
  986|  4.27k|    if (p->tokens[p->mark - 1]->level == 0) {
  ------------------
  |  Branch (986:9): [True: 4.09k, False: 177]
  ------------------
  987|  4.09k|        return NULL;
  988|  4.09k|    }
  989|       |    // For multi-line expressions (like string concatenations), point to the
  990|       |    // last line instead of the first for a more helpful error message.
  991|       |    // Use a->col_offset as the starting column since all strings in the
  992|       |    // concatenation typically share the same indentation.
  993|    177|    if (a->end_lineno > a->lineno) {
  ------------------
  |  Branch (993:9): [True: 10, False: 167]
  ------------------
  994|     10|        return RAISE_ERROR_KNOWN_LOCATION(
  995|     10|            p, PyExc_SyntaxError, a->end_lineno, a->col_offset,
  996|     10|            a->end_lineno, a->end_col_offset,
  997|     10|            "invalid syntax. Perhaps you forgot a comma?"
  998|     10|        );
  999|     10|    }
 1000|    167|    return RAISE_ERROR_KNOWN_LOCATION(
 1001|    167|        p, PyExc_SyntaxError, a->lineno, a->col_offset,
 1002|    167|        b->end_lineno, b->end_col_offset,
 1003|    167|        "invalid syntax. Perhaps you forgot a comma?"
 1004|    167|    );
 1005|    177|}
_PyPegen_check_fstring_conversion:
 1040|  4.54k|{
 1041|  4.54k|    if (conv_token->lineno != conv->lineno || conv_token->end_col_offset != conv->col_offset) {
  ------------------
  |  Branch (1041:9): [True: 11, False: 4.52k]
  |  Branch (1041:47): [True: 4, False: 4.52k]
  ------------------
 1042|     15|        return RAISE_SYNTAX_ERROR_KNOWN_RANGE(
  ------------------
  |  |  246|     15|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1043|     15|            conv_token, conv,
 1044|     15|            "%c-string: conversion type must come right after the exclamation mark",
 1045|     15|            formatted_string_prefix(p)
 1046|     15|        );
 1047|     15|    }
 1048|       |
 1049|  4.52k|    Py_UCS4 first = PyUnicode_READ_CHAR(conv->v.Name.id, 0);
  ------------------
  |  |  382|  4.52k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  4.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1050|  4.52k|    if (PyUnicode_GET_LENGTH(conv->v.Name.id) > 1 ||
  ------------------
  |  |  300|  4.52k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1050:9): [True: 36, False: 4.48k]
  ------------------
 1051|  4.48k|            !(first == 's' || first == 'r' || first == 'a')) {
  ------------------
  |  Branch (1051:15): [True: 1.94k, False: 2.54k]
  |  Branch (1051:31): [True: 850, False: 1.69k]
  |  Branch (1051:47): [True: 1.68k, False: 11]
  ------------------
 1052|     47|        RAISE_SYNTAX_ERROR_KNOWN_LOCATION(conv,
  ------------------
  |  |  248|     47|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1053|     47|                                            "%c-string: invalid conversion character %R: expected 's', 'r', or 'a'",
 1054|     47|                                            formatted_string_prefix(p),
 1055|     47|                                            conv->v.Name.id);
 1056|     47|        return NULL;
 1057|     47|    }
 1058|       |
 1059|  4.47k|    return result_token_with_metadata(p, conv, conv_token->metadata);
 1060|  4.52k|}
_PyPegen_setup_full_format_spec:
 1065|  12.5k|{
 1066|  12.5k|    if (!spec) {
  ------------------
  |  Branch (1066:9): [True: 0, False: 12.5k]
  ------------------
 1067|      0|        return NULL;
 1068|      0|    }
 1069|       |
 1070|       |    // This is needed to keep compatibility with 3.11, where an empty format
 1071|       |    // spec is parsed as an *empty* JoinedStr node, instead of having an empty
 1072|       |    // constant in it.
 1073|  12.5k|    Py_ssize_t n_items = asdl_seq_LEN(spec);
  ------------------
  |  |   83|  12.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  25.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 12.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1074|  12.5k|    Py_ssize_t non_empty_count = 0;
 1075|  35.8k|    for (Py_ssize_t i = 0; i < n_items; i++) {
  ------------------
  |  Branch (1075:28): [True: 23.2k, False: 12.5k]
  ------------------
 1076|  23.2k|        expr_ty item = asdl_seq_GET(spec, i);
  ------------------
  |  |   82|  23.2k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  23.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1077|  23.2k|        non_empty_count += !(item->kind == Constant_kind &&
  ------------------
  |  Branch (1077:30): [True: 17.0k, False: 6.26k]
  ------------------
 1078|  23.2k|                             PyUnicode_CheckExact(item->v.Constant.value) &&
  ------------------
  |  |  104|  17.0k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  40.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  17.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  17.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 17.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1079|  17.0k|                             PyUnicode_GET_LENGTH(item->v.Constant.value) == 0);
  ------------------
  |  |  300|  17.0k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1079:30): [True: 4.20k, False: 12.8k]
  ------------------
 1080|  23.2k|    }
 1081|  12.5k|    if (non_empty_count != n_items) {
  ------------------
  |  Branch (1081:9): [True: 4.20k, False: 8.33k]
  ------------------
 1082|  4.20k|        asdl_expr_seq *resized_spec =
 1083|  4.20k|            _Py_asdl_expr_seq_new(non_empty_count, p->arena);
 1084|  4.20k|        if (resized_spec == NULL) {
  ------------------
  |  Branch (1084:13): [True: 0, False: 4.20k]
  ------------------
 1085|      0|            return NULL;
 1086|      0|        }
 1087|  4.20k|        Py_ssize_t j = 0;
 1088|  11.9k|        for (Py_ssize_t i = 0; i < n_items; i++) {
  ------------------
  |  Branch (1088:32): [True: 7.69k, False: 4.20k]
  ------------------
 1089|  7.69k|            expr_ty item = asdl_seq_GET(spec, i);
  ------------------
  |  |   82|  7.69k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  7.69k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1090|  7.69k|            if (item->kind == Constant_kind &&
  ------------------
  |  Branch (1090:17): [True: 5.86k, False: 1.82k]
  ------------------
 1091|  7.69k|                PyUnicode_CheckExact(item->v.Constant.value) &&
  ------------------
  |  |  104|  5.86k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  13.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5.86k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1092|  5.86k|                PyUnicode_GET_LENGTH(item->v.Constant.value) == 0) {
  ------------------
  |  |  300|  5.86k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1092:17): [True: 4.20k, False: 1.65k]
  ------------------
 1093|  4.20k|                continue;
 1094|  4.20k|            }
 1095|  3.48k|            asdl_seq_SET(resized_spec, j++, item);
  ------------------
  |  |   94|  3.48k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  3.48k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1096|  3.48k|        }
 1097|  4.20k|        assert(j == non_empty_count);
  ------------------
  |  Branch (1097:9): [True: 4.20k, False: 0]
  ------------------
 1098|  4.20k|        spec = resized_spec;
 1099|  4.20k|    }
 1100|  12.5k|    expr_ty res;
 1101|  12.5k|    Py_ssize_t n = asdl_seq_LEN(spec);
  ------------------
  |  |   83|  12.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  25.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 12.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1102|  12.5k|    if (n == 0 || (n == 1 && asdl_seq_GET(spec, 0)->kind == Constant_kind)) {
  ------------------
  |  |   82|  5.60k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  5.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (1102:9): [True: 4.09k, False: 8.44k]
  |  Branch (1102:20): [True: 5.60k, False: 2.84k]
  |  Branch (1102:30): [True: 5.29k, False: 309]
  ------------------
 1103|  9.39k|        res = _PyAST_JoinedStr(spec, lineno, col_offset, end_lineno,
 1104|  9.39k|                                    end_col_offset, p->arena);
 1105|  9.39k|    } else {
 1106|  3.15k|        res = _PyPegen_concatenate_strings(p, spec,
 1107|  3.15k|                             lineno, col_offset, end_lineno,
 1108|  3.15k|                             end_col_offset, arena);
 1109|  3.15k|    }
 1110|  12.5k|    if (!res) {
  ------------------
  |  Branch (1110:9): [True: 0, False: 12.5k]
  ------------------
 1111|      0|        return NULL;
 1112|      0|    }
 1113|  12.5k|    return result_token_with_metadata(p, res, colon->metadata);
 1114|  12.5k|}
_PyPegen_get_expr_name:
 1118|    196|{
 1119|    196|    assert(e != NULL);
  ------------------
  |  Branch (1119:5): [True: 196, False: 0]
  ------------------
 1120|    196|    switch (e->kind) {
 1121|      2|        case Attribute_kind:
  ------------------
  |  Branch (1121:9): [True: 2, False: 194]
  ------------------
 1122|      2|            return "attribute";
 1123|      1|        case Subscript_kind:
  ------------------
  |  Branch (1123:9): [True: 1, False: 195]
  ------------------
 1124|      1|            return "subscript";
 1125|      7|        case Starred_kind:
  ------------------
  |  Branch (1125:9): [True: 7, False: 189]
  ------------------
 1126|      7|            return "starred";
 1127|      6|        case Name_kind:
  ------------------
  |  Branch (1127:9): [True: 6, False: 190]
  ------------------
 1128|      6|            return "name";
 1129|      2|        case List_kind:
  ------------------
  |  Branch (1129:9): [True: 2, False: 194]
  ------------------
 1130|      2|            return "list";
 1131|      9|        case Tuple_kind:
  ------------------
  |  Branch (1131:9): [True: 9, False: 187]
  ------------------
 1132|      9|            return "tuple";
 1133|      5|        case Lambda_kind:
  ------------------
  |  Branch (1133:9): [True: 5, False: 191]
  ------------------
 1134|      5|            return "lambda";
 1135|     10|        case Call_kind:
  ------------------
  |  Branch (1135:9): [True: 10, False: 186]
  ------------------
 1136|     10|            return "function call";
 1137|      4|        case BoolOp_kind:
  ------------------
  |  Branch (1137:9): [True: 4, False: 192]
  ------------------
 1138|     41|        case BinOp_kind:
  ------------------
  |  Branch (1138:9): [True: 37, False: 159]
  ------------------
 1139|     51|        case UnaryOp_kind:
  ------------------
  |  Branch (1139:9): [True: 10, False: 186]
  ------------------
 1140|     51|            return "expression";
 1141|      1|        case GeneratorExp_kind:
  ------------------
  |  Branch (1141:9): [True: 1, False: 195]
  ------------------
 1142|      1|            return "generator expression";
 1143|      1|        case Yield_kind:
  ------------------
  |  Branch (1143:9): [True: 1, False: 195]
  ------------------
 1144|      1|        case YieldFrom_kind:
  ------------------
  |  Branch (1144:9): [True: 0, False: 196]
  ------------------
 1145|      1|            return "yield expression";
 1146|      1|        case Await_kind:
  ------------------
  |  Branch (1146:9): [True: 1, False: 195]
  ------------------
 1147|      1|            return "await expression";
 1148|      1|        case ListComp_kind:
  ------------------
  |  Branch (1148:9): [True: 1, False: 195]
  ------------------
 1149|      1|            return "list comprehension";
 1150|      1|        case SetComp_kind:
  ------------------
  |  Branch (1150:9): [True: 1, False: 195]
  ------------------
 1151|      1|            return "set comprehension";
 1152|      1|        case DictComp_kind:
  ------------------
  |  Branch (1152:9): [True: 1, False: 195]
  ------------------
 1153|      1|            return "dict comprehension";
 1154|      1|        case Dict_kind:
  ------------------
  |  Branch (1154:9): [True: 1, False: 195]
  ------------------
 1155|      1|            return "dict literal";
 1156|      1|        case Set_kind:
  ------------------
  |  Branch (1156:9): [True: 1, False: 195]
  ------------------
 1157|      1|            return "set display";
 1158|      7|        case JoinedStr_kind:
  ------------------
  |  Branch (1158:9): [True: 7, False: 189]
  ------------------
 1159|      7|        case FormattedValue_kind:
  ------------------
  |  Branch (1159:9): [True: 0, False: 196]
  ------------------
 1160|      7|            return "f-string expression";
 1161|      4|        case TemplateStr_kind:
  ------------------
  |  Branch (1161:9): [True: 4, False: 192]
  ------------------
 1162|      4|        case Interpolation_kind:
  ------------------
  |  Branch (1162:9): [True: 0, False: 196]
  ------------------
 1163|      4|            return "t-string expression";
 1164|     68|        case Constant_kind: {
  ------------------
  |  Branch (1164:9): [True: 68, False: 128]
  ------------------
 1165|     68|            PyObject *value = e->v.Constant.value;
 1166|     68|            if (value == Py_None) {
  ------------------
  |  |  616|     68|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1166:17): [True: 1, False: 67]
  ------------------
 1167|      1|                return "None";
 1168|      1|            }
 1169|     67|            if (value == Py_False) {
  ------------------
  |  |   25|     67|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1169:17): [True: 2, False: 65]
  ------------------
 1170|      2|                return "False";
 1171|      2|            }
 1172|     65|            if (value == Py_True) {
  ------------------
  |  |   26|     65|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     65|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     65|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1172:17): [True: 2, False: 63]
  ------------------
 1173|      2|                return "True";
 1174|      2|            }
 1175|     63|            if (value == Py_Ellipsis) {
  ------------------
  |  |   14|     63|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (1175:17): [True: 1, False: 62]
  ------------------
 1176|      1|                return "ellipsis";
 1177|      1|            }
 1178|     62|            return "literal";
 1179|     63|        }
 1180|     14|        case Compare_kind:
  ------------------
  |  Branch (1180:9): [True: 14, False: 182]
  ------------------
 1181|     14|            return "comparison";
 1182|      1|        case IfExp_kind:
  ------------------
  |  Branch (1182:9): [True: 1, False: 195]
  ------------------
 1183|      1|            return "conditional expression";
 1184|      1|        case NamedExpr_kind:
  ------------------
  |  Branch (1184:9): [True: 1, False: 195]
  ------------------
 1185|      1|            return "named expression";
 1186|      0|        default:
  ------------------
  |  Branch (1186:9): [True: 0, False: 196]
  ------------------
 1187|      0|            PyErr_Format(PyExc_SystemError,
 1188|      0|                         "unexpected expression in assignment %d (line %d)",
 1189|      0|                         e->kind, e->lineno);
 1190|       |            return NULL;
 1191|    196|    }
 1192|    196|}
_PyPegen_get_last_comprehension_item:
 1195|     12|_PyPegen_get_last_comprehension_item(comprehension_ty comprehension) {
 1196|     12|    if (comprehension->ifs == NULL || asdl_seq_LEN(comprehension->ifs) == 0) {
  ------------------
  |  |   83|     12|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|     24|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1196:9): [True: 0, False: 12]
  |  Branch (1196:39): [True: 8, False: 4]
  ------------------
 1197|      8|        return comprehension->iter;
 1198|      8|    }
 1199|      4|    return PyPegen_last_item(comprehension->ifs, expr_ty);
  ------------------
  |  |  311|      4|#define PyPegen_last_item(seq, type) ((type)_PyPegen_seq_last_item((asdl_seq*)seq))
  ------------------
 1200|     12|}
_PyPegen_collect_call_seqs:
 1204|  30.9k|                     int end_col_offset, PyArena *arena) {
 1205|  30.9k|    Py_ssize_t args_len = asdl_seq_LEN(a);
  ------------------
  |  |   83|  30.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  61.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 30.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1206|  30.9k|    Py_ssize_t total_len = args_len;
 1207|       |
 1208|  30.9k|    if (b == NULL) {
  ------------------
  |  Branch (1208:9): [True: 27.6k, False: 3.32k]
  ------------------
 1209|  27.6k|        return _PyAST_Call(_PyPegen_dummy_name(p), a, NULL, lineno, col_offset,
 1210|  27.6k|                        end_lineno, end_col_offset, arena);
 1211|       |
 1212|  27.6k|    }
 1213|       |
 1214|  3.32k|    asdl_expr_seq *starreds = _PyPegen_seq_extract_starred_exprs(p, b);
 1215|  3.32k|    if (!starreds && PyErr_Occurred()) {
  ------------------
  |  Branch (1215:9): [True: 3.08k, False: 238]
  |  Branch (1215:22): [True: 0, False: 3.08k]
  ------------------
 1216|      0|        return NULL;
 1217|      0|    }
 1218|       |
 1219|  3.32k|    asdl_keyword_seq *keywords = _PyPegen_seq_delete_starred_exprs(p, b);
 1220|  3.32k|    if (!keywords && PyErr_Occurred()) {
  ------------------
  |  Branch (1220:9): [True: 0, False: 3.32k]
  |  Branch (1220:22): [True: 0, False: 0]
  ------------------
 1221|      0|        return NULL;
 1222|      0|    }
 1223|       |
 1224|  3.32k|    if (starreds) {
  ------------------
  |  Branch (1224:9): [True: 238, False: 3.08k]
  ------------------
 1225|    238|        total_len += asdl_seq_LEN(starreds);
  ------------------
  |  |   83|    238|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    476|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 238]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1226|    238|    }
 1227|       |
 1228|  3.32k|    asdl_expr_seq *args = _Py_asdl_expr_seq_new(total_len, arena);
 1229|  3.32k|    if (args == NULL) {
  ------------------
  |  Branch (1229:9): [True: 0, False: 3.32k]
  ------------------
 1230|      0|        return NULL;
 1231|      0|    }
 1232|       |
 1233|  3.32k|    Py_ssize_t i = 0;
 1234|  7.67k|    for (i = 0; i < args_len; i++) {
  ------------------
  |  Branch (1234:17): [True: 4.35k, False: 3.32k]
  ------------------
 1235|  4.35k|        asdl_seq_SET(args, i, asdl_seq_GET(a, i));
  ------------------
  |  |   94|  4.35k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  4.35k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1236|  4.35k|    }
 1237|  3.76k|    for (; i < total_len; i++) {
  ------------------
  |  Branch (1237:12): [True: 441, False: 3.32k]
  ------------------
 1238|    441|        asdl_seq_SET(args, i, asdl_seq_GET(starreds, i - args_len));
  ------------------
  |  |   94|    441|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|    441|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1239|    441|    }
 1240|       |
 1241|  3.32k|    return _PyAST_Call(_PyPegen_dummy_name(p), args, keywords, lineno,
 1242|  3.32k|                       col_offset, end_lineno, end_col_offset, arena);
 1243|  3.32k|}
_PyPegen_get_invalid_target:
 1249|   702k|{
 1250|   702k|    if (e == NULL) {
  ------------------
  |  Branch (1250:9): [True: 0, False: 702k]
  ------------------
 1251|      0|        return NULL;
 1252|      0|    }
 1253|       |
 1254|   702k|    if (targets_type == SINGLE_TARGETS ||
  ------------------
  |  Branch (1254:9): [True: 161k, False: 541k]
  ------------------
 1255|   541k|        targets_type == ATTRIBUTE_OR_SUBSCRIPT_TARGETS) {
  ------------------
  |  Branch (1255:9): [True: 170k, False: 370k]
  ------------------
 1256|   332k|        if (targets_type == SINGLE_TARGETS && e->kind == Name_kind) {
  ------------------
  |  Branch (1256:13): [True: 161k, False: 170k]
  |  Branch (1256:47): [True: 119k, False: 42.4k]
  ------------------
 1257|   119k|            return NULL;
 1258|   119k|        }
 1259|   213k|        return e->kind == Attribute_kind || e->kind == Subscript_kind ? NULL : e;
  ------------------
  |  Branch (1259:16): [True: 14.0k, False: 199k]
  |  Branch (1259:45): [True: 8.57k, False: 190k]
  ------------------
 1260|   332k|    }
 1261|       |
 1262|   370k|#define VISIT_CONTAINER(CONTAINER, TYPE) do { \
 1263|   370k|        Py_ssize_t len = asdl_seq_LEN((CONTAINER)->v.TYPE.elts);\
 1264|   370k|        for (Py_ssize_t i = 0; i < len; i++) {\
 1265|   370k|            expr_ty other = asdl_seq_GET((CONTAINER)->v.TYPE.elts, i);\
 1266|   370k|            expr_ty child = _PyPegen_get_invalid_target(other, targets_type);\
 1267|   370k|            if (child != NULL) {\
 1268|   370k|                return child;\
 1269|   370k|            }\
 1270|   370k|        }\
 1271|   370k|    } while (0)
 1272|       |
 1273|       |    // We only need to visit List and Tuple nodes recursively as those
 1274|       |    // are the only ones that can contain valid names in targets when
 1275|       |    // they are parsed as expressions. Any other kind of expression
 1276|       |    // that is a container (like Sets or Dicts) is directly invalid and
 1277|       |    // we don't need to visit it recursively.
 1278|       |
 1279|   370k|    switch (e->kind) {
 1280|  9.37k|        case List_kind:
  ------------------
  |  Branch (1280:9): [True: 9.37k, False: 361k]
  ------------------
 1281|  9.37k|            VISIT_CONTAINER(e, List);
  ------------------
  |  | 1262|  9.37k|#define VISIT_CONTAINER(CONTAINER, TYPE) do { \
  |  | 1263|  9.37k|        Py_ssize_t len = asdl_seq_LEN((CONTAINER)->v.TYPE.elts);\
  |  |  ------------------
  |  |  |  |   83|  9.37k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  18.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 7.58k, False: 1.78k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1264|  12.3k|        for (Py_ssize_t i = 0; i < len; i++) {\
  |  |  ------------------
  |  |  |  Branch (1264:32): [True: 3.20k, False: 9.13k]
  |  |  ------------------
  |  | 1265|  3.20k|            expr_ty other = asdl_seq_GET((CONTAINER)->v.TYPE.elts, i);\
  |  |  ------------------
  |  |  |  |   82|  3.20k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.20k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1266|  3.20k|            expr_ty child = _PyPegen_get_invalid_target(other, targets_type);\
  |  | 1267|  3.20k|            if (child != NULL) {\
  |  |  ------------------
  |  |  |  Branch (1267:17): [True: 242, False: 2.96k]
  |  |  ------------------
  |  | 1268|    242|                return child;\
  |  | 1269|    242|            }\
  |  | 1270|  3.20k|        }\
  |  | 1271|  9.37k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1271:14): [Folded, False: 9.13k]
  |  |  ------------------
  ------------------
 1282|  9.13k|            return NULL;
 1283|  5.33k|        case Tuple_kind:
  ------------------
  |  Branch (1283:9): [True: 5.33k, False: 365k]
  ------------------
 1284|  5.33k|            VISIT_CONTAINER(e, Tuple);
  ------------------
  |  | 1262|  5.33k|#define VISIT_CONTAINER(CONTAINER, TYPE) do { \
  |  | 1263|  5.33k|        Py_ssize_t len = asdl_seq_LEN((CONTAINER)->v.TYPE.elts);\
  |  |  ------------------
  |  |  |  |   83|  5.33k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  10.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 3.90k, False: 1.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1264|  13.6k|        for (Py_ssize_t i = 0; i < len; i++) {\
  |  |  ------------------
  |  |  |  Branch (1264:32): [True: 8.71k, False: 4.97k]
  |  |  ------------------
  |  | 1265|  8.71k|            expr_ty other = asdl_seq_GET((CONTAINER)->v.TYPE.elts, i);\
  |  |  ------------------
  |  |  |  |   82|  8.71k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  8.71k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1266|  8.71k|            expr_ty child = _PyPegen_get_invalid_target(other, targets_type);\
  |  | 1267|  8.71k|            if (child != NULL) {\
  |  |  ------------------
  |  |  |  Branch (1267:17): [True: 359, False: 8.35k]
  |  |  ------------------
  |  | 1268|    359|                return child;\
  |  | 1269|    359|            }\
  |  | 1270|  8.71k|        }\
  |  | 1271|  5.33k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1271:14): [Folded, False: 4.97k]
  |  |  ------------------
  ------------------
 1285|  4.97k|            return NULL;
 1286|    768|        case Starred_kind:
  ------------------
  |  Branch (1286:9): [True: 768, False: 369k]
  ------------------
 1287|    768|            if (targets_type == DEL_TARGETS) {
  ------------------
  |  Branch (1287:17): [True: 30, False: 738]
  ------------------
 1288|     30|                return e;
 1289|     30|            }
 1290|    738|            return _PyPegen_get_invalid_target(e->v.Starred.value, targets_type);
 1291|    356|        case Compare_kind:
  ------------------
  |  Branch (1291:9): [True: 356, False: 370k]
  ------------------
 1292|       |            // This is needed, because the `a in b` in `for a in b` gets parsed
 1293|       |            // as a comparison, and so we need to search the left side of the comparison
 1294|       |            // for invalid targets.
 1295|    356|            if (targets_type == FOR_TARGETS) {
  ------------------
  |  Branch (1295:17): [True: 166, False: 190]
  ------------------
 1296|    166|                cmpop_ty cmpop = (cmpop_ty) asdl_seq_GET(e->v.Compare.ops, 0);
  ------------------
  |  |   82|    166|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    166|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1297|    166|                if (cmpop == In) {
  ------------------
  |  Branch (1297:21): [True: 78, False: 88]
  ------------------
 1298|     78|                    return _PyPegen_get_invalid_target(e->v.Compare.left, targets_type);
 1299|     78|                }
 1300|     88|                return NULL;
 1301|    166|            }
 1302|    190|            return e;
 1303|   293k|        case Name_kind:
  ------------------
  |  Branch (1303:9): [True: 293k, False: 77.1k]
  ------------------
 1304|   312k|        case Subscript_kind:
  ------------------
  |  Branch (1304:9): [True: 19.7k, False: 350k]
  ------------------
 1305|   322k|        case Attribute_kind:
  ------------------
  |  Branch (1305:9): [True: 9.45k, False: 360k]
  ------------------
 1306|   322k|            return NULL;
 1307|  32.1k|        default:
  ------------------
  |  Branch (1307:9): [True: 32.1k, False: 338k]
  ------------------
 1308|  32.1k|            return e;
 1309|   370k|    }
 1310|   370k|}
_PyPegen_arguments_parsing_error:
 1312|     26|void *_PyPegen_arguments_parsing_error(Parser *p, expr_ty e) {
 1313|     26|    int kwarg_unpacking = 0;
 1314|    180|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(e->v.Call.keywords); i < l; i++) {
  ------------------
  |  |   83|     26|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|     52|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1314:66): [True: 154, False: 26]
  ------------------
 1315|    154|        keyword_ty keyword = asdl_seq_GET(e->v.Call.keywords, i);
  ------------------
  |  |   82|    154|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    154|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1316|    154|        if (!keyword->arg) {
  ------------------
  |  Branch (1316:13): [True: 30, False: 124]
  ------------------
 1317|     30|            kwarg_unpacking = 1;
 1318|     30|        }
 1319|    154|    }
 1320|       |
 1321|     26|    const char *msg = NULL;
 1322|     26|    if (kwarg_unpacking) {
  ------------------
  |  Branch (1322:9): [True: 10, False: 16]
  ------------------
 1323|     10|        msg = "positional argument follows keyword argument unpacking";
 1324|     16|    } else {
 1325|     16|        msg = "positional argument follows keyword argument";
 1326|     16|    }
 1327|       |
 1328|     26|    return RAISE_SYNTAX_ERROR(msg);
  ------------------
  |  |  242|     26|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 1329|     26|}
_PyPegen_nonparen_genexp_in_call:
 1333|    328|{
 1334|       |    /* The rule that calls this function is 'args for_if_clauses'.
 1335|       |       For the input f(L, x for x in y), L and x are in args and
 1336|       |       the for is parsed as a for_if_clause. We have to check if
 1337|       |       len <= 1, so that input like dict((a, b) for a, b in x)
 1338|       |       gets successfully parsed and then we pass the last
 1339|       |       argument (x in the above example) as the location of the
 1340|       |       error */
 1341|    328|    Py_ssize_t len = asdl_seq_LEN(args->v.Call.args);
  ------------------
  |  |   83|    328|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    656|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 180, False: 148]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1342|    328|    if (len <= 1) {
  ------------------
  |  Branch (1342:9): [True: 326, False: 2]
  ------------------
 1343|    326|        return NULL;
 1344|    326|    }
 1345|       |
 1346|      2|    comprehension_ty last_comprehension = PyPegen_last_item(comprehensions, comprehension_ty);
  ------------------
  |  |  311|      2|#define PyPegen_last_item(seq, type) ((type)_PyPegen_seq_last_item((asdl_seq*)seq))
  ------------------
 1347|       |
 1348|      2|    return RAISE_SYNTAX_ERROR_KNOWN_RANGE(
  ------------------
  |  |  246|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1349|    328|        (expr_ty) asdl_seq_GET(args->v.Call.args, len - 1),
 1350|    328|        _PyPegen_get_last_comprehension_item(last_comprehension),
 1351|    328|        "Generator expression must be parenthesized"
 1352|    328|    );
 1353|    328|}
_PyPegen_template_str:
 1476|  4.61k|_PyPegen_template_str(Parser *p, Token *a, asdl_expr_seq *raw_expressions, Token *b) {
 1477|       |
 1478|  4.61k|    asdl_expr_seq *resized_exprs = _get_resized_exprs(p, a, raw_expressions, b, 1);
 1479|  4.61k|    if (resized_exprs == NULL) {
  ------------------
  |  Branch (1479:9): [True: 2, False: 4.61k]
  ------------------
 1480|      2|        return NULL;
 1481|      2|    }
 1482|  4.61k|    return _PyAST_TemplateStr(resized_exprs, a->lineno, a->col_offset,
 1483|  4.61k|                              b->end_lineno, b->end_col_offset,
 1484|  4.61k|                              p->arena);
 1485|  4.61k|}
_PyPegen_joined_str:
 1488|  16.0k|_PyPegen_joined_str(Parser *p, Token* a, asdl_expr_seq* raw_expressions, Token*b) {
 1489|       |
 1490|  16.0k|    asdl_expr_seq *resized_exprs = _get_resized_exprs(p, a, raw_expressions, b, 0);
 1491|  16.0k|    if (resized_exprs == NULL) {
  ------------------
  |  Branch (1491:9): [True: 2, False: 16.0k]
  ------------------
 1492|      2|        return NULL;
 1493|      2|    }
 1494|  16.0k|    return _PyAST_JoinedStr(resized_exprs, a->lineno, a->col_offset,
 1495|  16.0k|                            b->end_lineno, b->end_col_offset,
 1496|  16.0k|                            p->arena);
 1497|  16.0k|}
_PyPegen_decoded_constant_from_token:
 1499|  17.4k|expr_ty _PyPegen_decoded_constant_from_token(Parser* p, Token* tok) {
 1500|  17.4k|    if (tok->bytes == NULL) {
  ------------------
  |  Branch (1500:9): [True: 0, False: 17.4k]
  ------------------
 1501|      0|        return _PyPegen_raise_incomplete_input(p);
 1502|      0|    }
 1503|  17.4k|    Py_ssize_t bsize = PyBytes_GET_SIZE(tok->bytes);
  ------------------
  |  |   33|  17.4k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  17.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1504|  17.4k|    const char *bstr = PyBytes_AS_STRING(tok->bytes);
  ------------------
  |  |   27|  17.4k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1505|       |
 1506|  17.4k|    int is_raw = tok->is_raw;
 1507|       |
 1508|  17.4k|    PyObject* str = _PyPegen_decode_string(p, is_raw, bstr, bsize, tok);
 1509|  17.4k|    if (str == NULL) {
  ------------------
  |  Branch (1509:9): [True: 3, False: 17.4k]
  ------------------
 1510|      3|        if ((p->flags & PyPARSE_ALLOW_INCOMPLETE_INPUT) || tok->is_incomplete) {
  ------------------
  |  |   28|      3|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  |  Branch (1510:13): [True: 2, False: 1]
  |  Branch (1510:60): [True: 0, False: 1]
  ------------------
 1511|      2|            _Pypegen_raise_decode_error(p);
 1512|      2|        }
 1513|      3|        return NULL;
 1514|      3|    }
 1515|  17.4k|    if (tok->is_incomplete) {
  ------------------
  |  Branch (1515:9): [True: 3, False: 17.4k]
  ------------------
 1516|      3|        Py_DECREF(str);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1517|      3|        return _PyPegen_raise_incomplete_input(p);
 1518|      3|    }
 1519|  17.4k|    if (_PyArena_AddPyObject(p->arena, str) < 0) {
  ------------------
  |  Branch (1519:9): [True: 0, False: 17.4k]
  ------------------
 1520|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1521|      0|        return NULL;
 1522|      0|    }
 1523|  17.4k|    return _PyAST_Constant(str, NULL, tok->lineno, tok->col_offset,
 1524|  17.4k|                           tok->end_lineno, tok->end_col_offset,
 1525|  17.4k|                           p->arena);
 1526|  17.4k|}
_PyPegen_constant_from_token:
 1528|  37.5k|expr_ty _PyPegen_constant_from_token(Parser* p, Token* tok) {
 1529|  37.5k|    if (tok->bytes == NULL) {
  ------------------
  |  Branch (1529:9): [True: 0, False: 37.5k]
  ------------------
 1530|      0|        return _PyPegen_raise_incomplete_input(p);
 1531|      0|    }
 1532|  37.5k|    const char *bstr = PyBytes_AS_STRING(tok->bytes);
  ------------------
  |  |   27|  37.5k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1533|  37.5k|    Py_ssize_t bsize = PyBytes_GET_SIZE(tok->bytes);
  ------------------
  |  |   33|  37.5k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  37.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1534|  37.5k|    if (((p->flags & PyPARSE_ALLOW_INCOMPLETE_INPUT) || tok->is_incomplete) &&
  ------------------
  |  |   28|  37.5k|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  |  Branch (1534:10): [True: 18.8k, False: 18.7k]
  |  Branch (1534:57): [True: 0, False: 18.7k]
  ------------------
 1535|  18.8k|        !tok->is_raw && memchr(bstr, '\\', bsize) != NULL) {
  ------------------
  |  Branch (1535:9): [True: 17.5k, False: 1.26k]
  |  Branch (1535:25): [True: 2.28k, False: 15.2k]
  ------------------
 1536|       |        // Check escapes before the string is complete, without emitting warnings.
 1537|  2.28k|        PyObject *decoded = _PyPegen_decode_string(
 1538|  2.28k|            p, 0, bstr, bsize, tok->is_incomplete ? tok : NULL);
  ------------------
  |  Branch (1538:32): [True: 14, False: 2.26k]
  ------------------
 1539|  2.28k|        if (decoded == NULL) {
  ------------------
  |  Branch (1539:13): [True: 18, False: 2.26k]
  ------------------
 1540|     18|            _Pypegen_raise_decode_error(p);
 1541|     18|            return NULL;
 1542|     18|        }
 1543|  2.26k|        Py_DECREF(decoded);
  ------------------
  |  |  430|  2.26k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1544|  2.26k|    }
 1545|  37.5k|    if (tok->is_incomplete) {
  ------------------
  |  Branch (1545:9): [True: 28, False: 37.5k]
  ------------------
 1546|     28|        return _PyPegen_raise_incomplete_input(p);
 1547|     28|    }
 1548|  37.5k|    PyObject* str = PyUnicode_FromString(bstr);
 1549|  37.5k|    if (str == NULL) {
  ------------------
  |  Branch (1549:9): [True: 3, False: 37.5k]
  ------------------
 1550|      3|        return NULL;
 1551|      3|    }
 1552|  37.5k|    if (_PyArena_AddPyObject(p->arena, str) < 0) {
  ------------------
  |  Branch (1552:9): [True: 0, False: 37.5k]
  ------------------
 1553|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1554|      0|        return NULL;
 1555|      0|    }
 1556|  37.5k|    return _PyAST_Constant(str, NULL, tok->lineno, tok->col_offset,
 1557|  37.5k|                           tok->end_lineno, tok->end_col_offset,
 1558|  37.5k|                           p->arena);
 1559|  37.5k|}
_PyPegen_constant_from_string:
 1561|  77.5k|expr_ty _PyPegen_constant_from_string(Parser* p, Token* tok) {
 1562|  77.5k|    if (tok->bytes == NULL) {
  ------------------
  |  Branch (1562:9): [True: 109, False: 77.4k]
  ------------------
 1563|    109|        return _PyPegen_raise_incomplete_input(p);
 1564|    109|    }
 1565|  77.4k|    const char *the_str = PyBytes_AS_STRING(tok->bytes);
  ------------------
  |  |   27|  77.4k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  77.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1566|  77.4k|    PyObject *s = _PyPegen_parse_string(p, tok);
 1567|  77.4k|    if (s == NULL) {
  ------------------
  |  Branch (1567:9): [True: 198, False: 77.2k]
  ------------------
 1568|    198|        _Pypegen_raise_decode_error(p);
 1569|    198|        return NULL;
 1570|    198|    }
 1571|  77.2k|    if (_PyArena_AddPyObject(p->arena, s) < 0) {
  ------------------
  |  Branch (1571:9): [True: 0, False: 77.2k]
  ------------------
 1572|      0|        Py_DECREF(s);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1573|      0|        return NULL;
 1574|      0|    }
 1575|  77.2k|    PyObject *kind = NULL;
 1576|  77.2k|    if (the_str && the_str[0] == 'u') {
  ------------------
  |  Branch (1576:9): [True: 77.2k, False: 0]
  |  Branch (1576:20): [True: 5.44k, False: 71.7k]
  ------------------
 1577|  5.44k|        kind = _PyPegen_new_identifier(p, "u");
 1578|  5.44k|        if (kind == NULL) {
  ------------------
  |  Branch (1578:13): [True: 0, False: 5.44k]
  ------------------
 1579|      0|            return NULL;
 1580|      0|        }
 1581|  5.44k|    }
 1582|  77.2k|    return _PyAST_Constant(s, kind, tok->lineno, tok->col_offset, tok->end_lineno, tok->end_col_offset, p->arena);
 1583|  77.2k|}
_PyPegen_interpolation:
 1639|  5.25k|                                 int end_lineno, int end_col_offset, PyArena *arena) {
 1640|       |
 1641|  5.25k|    int conversion_val = _get_interpolation_conversion(p, debug, conversion, format);
 1642|       |
 1643|       |    /* Find the non whitespace token after the "=" */
 1644|  5.25k|    int debug_end_line, debug_end_offset;
 1645|  5.25k|    PyObject *debug_metadata;
 1646|  5.25k|    constant exprstr;
 1647|       |
 1648|  5.25k|    if (conversion) {
  ------------------
  |  Branch (1648:9): [True: 1.07k, False: 4.17k]
  ------------------
 1649|  1.07k|        debug_end_line = ((expr_ty) conversion->result)->lineno;
 1650|  1.07k|        debug_end_offset = ((expr_ty) conversion->result)->col_offset;
 1651|  1.07k|        debug_metadata = exprstr = conversion->metadata;
 1652|  1.07k|    }
 1653|  4.17k|    else if (format) {
  ------------------
  |  Branch (1653:14): [True: 2.50k, False: 1.67k]
  ------------------
 1654|  2.50k|        debug_end_line = ((expr_ty) format->result)->lineno;
 1655|  2.50k|        debug_end_offset = ((expr_ty) format->result)->col_offset + 1;
 1656|  2.50k|        debug_metadata = exprstr = format->metadata;
 1657|  2.50k|    }
 1658|  1.67k|    else {
 1659|  1.67k|        debug_end_line = end_lineno;
 1660|  1.67k|        debug_end_offset = end_col_offset;
 1661|  1.67k|        debug_metadata = exprstr = closing_brace->metadata;
 1662|  1.67k|    }
 1663|       |
 1664|  5.25k|    assert(exprstr != NULL);
  ------------------
  |  Branch (1664:5): [True: 5.25k, False: 0]
  ------------------
 1665|  5.25k|    PyObject *final_exprstr = debug
  ------------------
  |  Branch (1665:31): [True: 1.01k, False: 4.24k]
  ------------------
 1666|  5.25k|        ? _strip_interpolation_debug_expr(exprstr)
 1667|  5.25k|        : Py_NewRef(exprstr);
  ------------------
  |  |  647|  4.24k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1668|  5.25k|    if (!final_exprstr || _PyArena_AddPyObject(arena, final_exprstr) < 0) {
  ------------------
  |  Branch (1668:9): [True: 0, False: 5.25k]
  |  Branch (1668:27): [True: 0, False: 5.25k]
  ------------------
 1669|      0|        Py_XDECREF(final_exprstr);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1670|      0|        return NULL;
 1671|      0|    }
 1672|       |
 1673|  5.25k|    expr_ty interpolation = _PyAST_Interpolation(
 1674|  5.25k|        expression, final_exprstr, conversion_val, format ? (expr_ty) format->result : NULL,
  ------------------
  |  Branch (1674:52): [True: 2.50k, False: 2.75k]
  ------------------
 1675|  5.25k|        lineno, col_offset, end_lineno,
 1676|  5.25k|        end_col_offset, arena
 1677|  5.25k|    );
 1678|       |
 1679|  5.25k|    if (!interpolation || !debug) {
  ------------------
  |  Branch (1679:9): [True: 0, False: 5.25k]
  |  Branch (1679:27): [True: 4.24k, False: 1.01k]
  ------------------
 1680|  4.24k|        return interpolation;
 1681|  4.24k|    }
 1682|       |
 1683|  1.01k|    expr_ty debug_text = _PyAST_Constant(debug_metadata, NULL, lineno, col_offset + 1, debug_end_line,
 1684|  1.01k|                                            debug_end_offset - 1, p->arena);
 1685|  1.01k|    if (!debug_text) {
  ------------------
  |  Branch (1685:9): [True: 0, False: 1.01k]
  ------------------
 1686|      0|        return NULL;
 1687|      0|    }
 1688|       |
 1689|  1.01k|    asdl_expr_seq *values = _Py_asdl_expr_seq_new(2, arena);
 1690|  1.01k|    if (!values) {
  ------------------
  |  Branch (1690:9): [True: 0, False: 1.01k]
  ------------------
 1691|      0|        return NULL;
 1692|      0|    }
 1693|  1.01k|    asdl_seq_SET(values, 0, debug_text);
  ------------------
  |  |   94|  1.01k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  1.01k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1694|  1.01k|    asdl_seq_SET(values, 1, interpolation);
  ------------------
  |  |   94|  1.01k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  1.01k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1695|  1.01k|    return _PyAST_JoinedStr(values, lineno, col_offset, debug_end_line, debug_end_offset, p->arena);
 1696|  1.01k|}
_PyPegen_formatted_value:
 1700|  15.7k|                                 int end_lineno, int end_col_offset, PyArena *arena) {
 1701|  15.7k|    int conversion_val = _get_interpolation_conversion(p, debug, conversion, format);
 1702|       |
 1703|  15.7k|    expr_ty formatted_value = _PyAST_FormattedValue(
 1704|  15.7k|        expression, conversion_val, format ? (expr_ty) format->result : NULL,
  ------------------
  |  Branch (1704:37): [True: 8.13k, False: 7.57k]
  ------------------
 1705|  15.7k|        lineno, col_offset, end_lineno,
 1706|  15.7k|        end_col_offset, arena
 1707|  15.7k|    );
 1708|       |
 1709|  15.7k|    if (!formatted_value || !debug) {
  ------------------
  |  Branch (1709:9): [True: 0, False: 15.7k]
  |  Branch (1709:29): [True: 12.7k, False: 2.92k]
  ------------------
 1710|  12.7k|        return formatted_value;
 1711|  12.7k|    }
 1712|       |
 1713|       |    /* Find the non whitespace token after the "=" */
 1714|  2.92k|    int debug_end_line, debug_end_offset;
 1715|  2.92k|    PyObject *debug_metadata;
 1716|       |
 1717|  2.92k|    if (conversion) {
  ------------------
  |  Branch (1717:9): [True: 213, False: 2.71k]
  ------------------
 1718|    213|        debug_end_line = ((expr_ty) conversion->result)->lineno;
 1719|    213|        debug_end_offset = ((expr_ty) conversion->result)->col_offset;
 1720|    213|        debug_metadata = conversion->metadata;
 1721|    213|    }
 1722|  2.71k|    else if (format) {
  ------------------
  |  Branch (1722:14): [True: 1.28k, False: 1.42k]
  ------------------
 1723|  1.28k|        debug_end_line = ((expr_ty) format->result)->lineno;
 1724|  1.28k|        debug_end_offset = ((expr_ty) format->result)->col_offset + 1;
 1725|  1.28k|        debug_metadata = format->metadata;
 1726|  1.28k|    }
 1727|  1.42k|    else {
 1728|  1.42k|        debug_end_line = end_lineno;
 1729|  1.42k|        debug_end_offset = end_col_offset;
 1730|  1.42k|        debug_metadata = closing_brace->metadata;
 1731|  1.42k|    }
 1732|  2.92k|    expr_ty debug_text = _PyAST_Constant(debug_metadata, NULL, lineno, col_offset + 1, debug_end_line,
 1733|  2.92k|                                            debug_end_offset - 1, p->arena);
 1734|  2.92k|    if (!debug_text) {
  ------------------
  |  Branch (1734:9): [True: 0, False: 2.92k]
  ------------------
 1735|      0|        return NULL;
 1736|      0|    }
 1737|       |
 1738|  2.92k|    asdl_expr_seq *values = _Py_asdl_expr_seq_new(2, arena);
 1739|  2.92k|    if (!values) {
  ------------------
  |  Branch (1739:9): [True: 0, False: 2.92k]
  ------------------
 1740|      0|        return NULL;
 1741|      0|    }
 1742|  2.92k|    asdl_seq_SET(values, 0, debug_text);
  ------------------
  |  |   94|  2.92k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  2.92k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1743|  2.92k|    asdl_seq_SET(values, 1, formatted_value);
  ------------------
  |  |   94|  2.92k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  2.92k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1744|  2.92k|    return _PyAST_JoinedStr(values, lineno, col_offset, debug_end_line, debug_end_offset, p->arena);
 1745|  2.92k|}
_PyPegen_concatenate_tstrings:
 2019|  3.20k|{
 2020|  3.20k|    asdl_expr_seq *values = _build_concatenated_str(p, strings, lineno,
 2021|  3.20k|        col_offset, end_lineno, end_col_offset, arena);
 2022|  3.20k|    if (!values) {
  ------------------
  |  Branch (2022:9): [True: 0, False: 3.20k]
  ------------------
 2023|      0|        return NULL;
 2024|      0|    }
 2025|  3.20k|    return _PyAST_TemplateStr(values, lineno, col_offset, end_lineno,
 2026|  3.20k|        end_col_offset, arena);
 2027|  3.20k|}
_PyPegen_concatenate_strings:
 2033|  66.6k|{
 2034|  66.6k|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|  66.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|   133k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 66.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2035|  66.6k|    assert(len > 0);
  ------------------
  |  Branch (2035:5): [True: 66.6k, False: 0]
  ------------------
 2036|       |
 2037|  66.6k|    int f_string_found = 0;
 2038|  66.6k|    int unicode_string_found = 0;
 2039|  66.6k|    int bytes_found = 0;
 2040|       |
 2041|  66.6k|    Py_ssize_t i = 0;
 2042|   160k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (2042:17): [True: 93.8k, False: 66.6k]
  ------------------
 2043|  93.8k|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|  93.8k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  93.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2044|  93.8k|        switch(elem->kind) {
 2045|  74.7k|            case Constant_kind:
  ------------------
  |  Branch (2045:13): [True: 74.7k, False: 19.0k]
  ------------------
 2046|  74.7k|                if (PyBytes_CheckExact(elem->v.Constant.value)) {
  ------------------
  |  |   29|  74.7k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  74.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  74.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  74.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 19.7k, False: 55.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2047|  19.7k|                    bytes_found = 1;
 2048|  55.0k|                } else {
 2049|  55.0k|                    unicode_string_found = 1;
 2050|  55.0k|                }
 2051|  74.7k|                break;
 2052|  13.8k|            case JoinedStr_kind:
  ------------------
  |  Branch (2052:13): [True: 13.8k, False: 79.9k]
  ------------------
 2053|  13.8k|                f_string_found = 1;
 2054|  13.8k|                break;
 2055|      0|            case TemplateStr_kind:
  ------------------
  |  Branch (2055:13): [True: 0, False: 93.8k]
  ------------------
 2056|       |                // python.gram handles this; we should never get here
 2057|      0|                assert(0);
  ------------------
  |  Branch (2057:17): [Folded, False: 0]
  ------------------
 2058|      0|                break;
 2059|  5.17k|            default:
  ------------------
  |  Branch (2059:13): [True: 5.17k, False: 88.6k]
  ------------------
 2060|  5.17k|                f_string_found = 1;
 2061|  5.17k|                break;
 2062|  93.8k|        }
 2063|  93.8k|    }
 2064|       |
 2065|       |    // Cannot mix unicode and bytes
 2066|  66.6k|    if ((unicode_string_found || f_string_found) && bytes_found) {
  ------------------
  |  Branch (2066:10): [True: 42.3k, False: 24.2k]
  |  Branch (2066:34): [True: 6.33k, False: 17.9k]
  |  Branch (2066:53): [True: 7, False: 48.7k]
  ------------------
 2067|      7|        RAISE_SYNTAX_ERROR("cannot mix bytes and nonbytes literals");
  ------------------
  |  |  242|      7|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 2068|      7|        return NULL;
 2069|      7|    }
 2070|       |
 2071|       |    // If it's only bytes or only unicode string, do a simple concat
 2072|  66.6k|    if (!f_string_found) {
  ------------------
  |  Branch (2072:9): [True: 53.2k, False: 13.3k]
  ------------------
 2073|  53.2k|        if (len == 1) {
  ------------------
  |  Branch (2073:13): [True: 51.5k, False: 1.73k]
  ------------------
 2074|  51.5k|            return asdl_seq_GET(strings, 0);
  ------------------
  |  |   82|  51.5k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  51.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2075|  51.5k|        }
 2076|  1.73k|        else if (bytes_found) {
  ------------------
  |  Branch (2076:18): [True: 300, False: 1.43k]
  ------------------
 2077|    300|            return _build_concatenated_bytes(p, strings, lineno, col_offset,
 2078|    300|                end_lineno, end_col_offset, arena);
 2079|    300|        }
 2080|  1.43k|        else {
 2081|  1.43k|            return _build_concatenated_unicode(p, strings, lineno, col_offset,
 2082|  1.43k|                end_lineno, end_col_offset, arena);
 2083|  1.43k|        }
 2084|  53.2k|    }
 2085|       |
 2086|  13.3k|    return _build_concatenated_joined_str(p, strings, lineno,
 2087|  13.3k|        col_offset, end_lineno, end_col_offset, arena);
 2088|  66.6k|}
_PyPegen_checked_from_import:
 2146|  4.97k|{
 2147|  4.97k|    identifier module = module_name->v.Name.id;
 2148|  4.97k|    int level = _PyPegen_seq_count_dots(dots);
 2149|  4.97k|    if (level == 0 && PyUnicode_CompareWithASCIIString(module, "__future__") == 0) {
  ------------------
  |  Branch (2149:9): [True: 3.76k, False: 1.20k]
  |  Branch (2149:23): [True: 2.21k, False: 1.54k]
  ------------------
 2150|  2.21k|        if (lazy_token) {
  ------------------
  |  Branch (2150:13): [True: 1, False: 2.21k]
  ------------------
 2151|      1|            RAISE_SYNTAX_ERROR_KNOWN_LOCATION(lazy_token,
  ------------------
  |  |  248|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2152|      1|                "lazy from __future__ import is not allowed");
 2153|      1|            return NULL;
 2154|      1|        }
 2155|  4.52k|        for (Py_ssize_t i = 0; i < asdl_seq_LEN(names); i++) {
  ------------------
  |  |   83|  4.52k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  9.04k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 4.52k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2155:32): [True: 2.30k, False: 2.21k]
  ------------------
 2156|  2.30k|            alias_ty alias = asdl_seq_GET(names, i);
  ------------------
  |  |   82|  2.30k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  2.30k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2157|  2.30k|            if (PyUnicode_CompareWithASCIIString(alias->name, "barry_as_FLUFL") == 0) {
  ------------------
  |  Branch (2157:17): [True: 153, False: 2.15k]
  ------------------
 2158|    153|                p->flags |= PyPARSE_BARRY_AS_BDFL;
  ------------------
  |  |   26|    153|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
 2159|    153|                p->tok->barry_as_bdfl = 1;
 2160|    153|            }
 2161|  2.30k|        }
 2162|  2.21k|    }
 2163|  2.75k|    else if (
 2164|  2.75k|        level > 0
  ------------------
  |  Branch (2164:9): [True: 1.20k, False: 1.54k]
  ------------------
 2165|  1.20k|        && lazy_token == NULL
  ------------------
  |  Branch (2165:12): [True: 1.18k, False: 28]
  ------------------
 2166|  1.18k|        && PyUnicode_CompareWithASCIIString(module, "lazy") == 0
  ------------------
  |  Branch (2166:12): [True: 835, False: 346]
  ------------------
 2167|  2.75k|    ) {
 2168|    835|        if (_warn_relative_import_of_lazy(p, dots, module_name) < 0) {
  ------------------
  |  Branch (2168:13): [True: 0, False: 835]
  ------------------
 2169|      0|            return NULL;
 2170|      0|        }
 2171|    835|    }
 2172|  4.97k|    return _PyAST_ImportFrom(module, names, level, lazy_token ? 1 : 0, lineno,
  ------------------
  |  Branch (2172:52): [True: 136, False: 4.83k]
  ------------------
 2173|  4.97k|                             col_offset, end_lineno, end_col_offset, arena);
 2174|  4.97k|}
_PyPegen_register_stmts:
 2177|  48.7k|_PyPegen_register_stmts(Parser *p, asdl_stmt_seq* stmts) {
 2178|  48.7k|    if (!p->call_invalid_rules) {
  ------------------
  |  Branch (2178:9): [True: 41.6k, False: 7.08k]
  ------------------
 2179|  41.6k|        return stmts;
 2180|  41.6k|    }
 2181|  7.08k|    Py_ssize_t len = asdl_seq_LEN(stmts);
  ------------------
  |  |   83|  7.08k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  14.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 7.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2182|  7.08k|    if (len == 0) {
  ------------------
  |  Branch (2182:9): [True: 0, False: 7.08k]
  ------------------
 2183|      0|        return stmts;
 2184|      0|    }
 2185|  7.08k|    stmt_ty last_stmt = asdl_seq_GET(stmts, len - 1);
  ------------------
  |  |   82|  7.08k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  7.08k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2186|  7.08k|    if (p->last_stmt_location.lineno > last_stmt->lineno) {
  ------------------
  |  Branch (2186:9): [True: 519, False: 6.56k]
  ------------------
 2187|    519|        return stmts;
 2188|    519|    }
 2189|  6.56k|    p->last_stmt_location.lineno = last_stmt->lineno;
 2190|  6.56k|    p->last_stmt_location.col_offset = last_stmt->col_offset;
 2191|  6.56k|    p->last_stmt_location.end_lineno = last_stmt->end_lineno;
 2192|  6.56k|    p->last_stmt_location.end_col_offset = last_stmt->end_col_offset;
 2193|  6.56k|    return stmts;
 2194|  7.08k|}
action_helpers.c:_get_flattened_seq_size:
   75|  28.4k|{
   76|  28.4k|    Py_ssize_t size = 0;
   77|   170k|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seqs); i < l; i++) {
  ------------------
  |  |   83|  28.4k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  56.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 28.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (77:52): [True: 141k, False: 28.4k]
  ------------------
   78|   141k|        asdl_seq *inner_seq = asdl_seq_GET_UNTYPED(seqs, i);
  ------------------
  |  |   81|   141k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|   141k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   79|   141k|        size += asdl_seq_LEN(inner_seq);
  ------------------
  |  |   83|   141k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|   283k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 141k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|   141k|    }
   81|  28.4k|    return size;
   82|  28.4k|}
action_helpers.c:_set_name_context:
  270|   473k|{
  271|   473k|    return _PyAST_Name(e->v.Name.id, ctx, EXTRA_EXPR(e, e));
  ------------------
  |  |  315|   473k|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  272|   473k|}
action_helpers.c:_set_tuple_context:
  276|  4.40k|{
  277|  4.40k|    asdl_expr_seq *seq = _set_seq_context(p, e->v.Tuple.elts, ctx);
  278|  4.40k|    if (!seq && PyErr_Occurred()) {
  ------------------
  |  Branch (278:9): [True: 3.80k, False: 598]
  |  Branch (278:17): [True: 0, False: 3.80k]
  ------------------
  279|      0|        return NULL;
  280|      0|    }
  281|  4.40k|    return _PyAST_Tuple(seq, ctx, EXTRA_EXPR(e, e));
  ------------------
  |  |  315|  4.40k|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  282|  4.40k|}
action_helpers.c:_set_seq_context:
  247|  11.9k|{
  248|  11.9k|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|  11.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  23.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 9.81k, False: 2.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|  11.9k|    if (len == 0) {
  ------------------
  |  Branch (249:9): [True: 9.81k, False: 2.11k]
  ------------------
  250|  9.81k|        return NULL;
  251|  9.81k|    }
  252|       |
  253|  2.11k|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(len, p->arena);
  254|  2.11k|    if (!new_seq) {
  ------------------
  |  Branch (254:9): [True: 0, False: 2.11k]
  ------------------
  255|      0|        return NULL;
  256|      0|    }
  257|  5.71k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (257:28): [True: 3.60k, False: 2.11k]
  ------------------
  258|  3.60k|        expr_ty e = asdl_seq_GET(seq, i);
  ------------------
  |  |   82|  3.60k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  3.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  259|  3.60k|        expr_ty new_e = _PyPegen_set_expr_context(p, e, ctx);
  260|  3.60k|        if (!new_e) {
  ------------------
  |  Branch (260:13): [True: 0, False: 3.60k]
  ------------------
  261|      0|            return NULL;
  262|      0|        }
  263|  3.60k|        asdl_seq_SET(new_seq, i, new_e);
  ------------------
  |  |   94|  3.60k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  3.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  264|  3.60k|    }
  265|  2.11k|    return new_seq;
  266|  2.11k|}
action_helpers.c:_set_list_context:
  286|  7.52k|{
  287|  7.52k|    asdl_expr_seq *seq = _set_seq_context(p, e->v.List.elts, ctx);
  288|  7.52k|    if (!seq && PyErr_Occurred()) {
  ------------------
  |  Branch (288:9): [True: 6.00k, False: 1.51k]
  |  Branch (288:17): [True: 0, False: 6.00k]
  ------------------
  289|      0|        return NULL;
  290|      0|    }
  291|  7.52k|    return _PyAST_List(seq, ctx, EXTRA_EXPR(e, e));
  ------------------
  |  |  315|  7.52k|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  292|  7.52k|}
action_helpers.c:_set_subscript_context:
  296|  25.1k|{
  297|  25.1k|    return _PyAST_Subscript(e->v.Subscript.value, e->v.Subscript.slice,
  298|  25.1k|                            ctx, EXTRA_EXPR(e, e));
  ------------------
  |  |  315|  25.1k|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  299|  25.1k|}
action_helpers.c:_set_attribute_context:
  303|  23.4k|{
  304|  23.4k|    return _PyAST_Attribute(e->v.Attribute.value, e->v.Attribute.attr,
  305|  23.4k|                            ctx, EXTRA_EXPR(e, e));
  ------------------
  |  |  315|  23.4k|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  306|  23.4k|}
action_helpers.c:_set_starred_context:
  310|    249|{
  311|    249|    expr_ty inner = _PyPegen_set_expr_context(p, e->v.Starred.value, ctx);
  312|    249|    if (!inner) {
  ------------------
  |  Branch (312:9): [True: 0, False: 249]
  ------------------
  313|      0|        return NULL;
  314|      0|    }
  315|    249|    return _PyAST_Starred(inner, ctx, EXTRA_EXPR(e, e));
  ------------------
  |  |  315|    249|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  316|    249|}
action_helpers.c:_make_posonlyargs:
  552|  34.6k|                  asdl_arg_seq **posonlyargs) {
  553|  34.6k|    if (slash_without_default != NULL) {
  ------------------
  |  Branch (553:9): [True: 2.61k, False: 31.9k]
  ------------------
  554|  2.61k|        *posonlyargs = slash_without_default;
  555|  2.61k|    }
  556|  31.9k|    else if (slash_with_default != NULL) {
  ------------------
  |  Branch (556:14): [True: 1.48k, False: 30.5k]
  ------------------
  557|  1.48k|        asdl_arg_seq *slash_with_default_names =
  558|  1.48k|                _get_names(p, slash_with_default->names_with_defaults);
  559|  1.48k|        if (!slash_with_default_names) {
  ------------------
  |  Branch (559:13): [True: 0, False: 1.48k]
  ------------------
  560|      0|            return -1;
  561|      0|        }
  562|  1.48k|        *posonlyargs = (asdl_arg_seq*)_PyPegen_join_sequences(
  563|  1.48k|                p,
  564|  1.48k|                (asdl_seq*)slash_with_default->plain_names,
  565|  1.48k|                (asdl_seq*)slash_with_default_names);
  566|  1.48k|    }
  567|  30.5k|    else {
  568|  30.5k|        *posonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  569|  30.5k|    }
  570|  34.6k|    return *posonlyargs == NULL ? -1 : 0;
  ------------------
  |  Branch (570:12): [True: 0, False: 34.6k]
  ------------------
  571|  34.6k|}
action_helpers.c:_get_names:
  520|  34.3k|{
  521|  34.3k|    Py_ssize_t len = asdl_seq_LEN(names_with_defaults);
  ------------------
  |  |   83|  34.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  68.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 34.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  522|  34.3k|    asdl_arg_seq *seq = _Py_asdl_arg_seq_new(len, p->arena);
  523|  34.3k|    if (!seq) {
  ------------------
  |  Branch (523:9): [True: 0, False: 34.3k]
  ------------------
  524|      0|        return NULL;
  525|      0|    }
  526|  67.3k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (526:28): [True: 32.9k, False: 34.3k]
  ------------------
  527|  32.9k|        NameDefaultPair *pair = asdl_seq_GET_UNTYPED(names_with_defaults, i);
  ------------------
  |  |   81|  32.9k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  32.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  528|  32.9k|        asdl_seq_SET(seq, i, pair->arg);
  ------------------
  |  |   94|  32.9k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  32.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  529|  32.9k|    }
  530|  34.3k|    return seq;
  531|  34.3k|}
action_helpers.c:_make_posargs:
  577|  34.6k|              asdl_arg_seq **posargs) {
  578|       |
  579|  34.6k|    if (names_with_default != NULL) {
  ------------------
  |  Branch (579:9): [True: 16.0k, False: 18.5k]
  ------------------
  580|  16.0k|        if (plain_names != NULL) {
  ------------------
  |  Branch (580:13): [True: 12.6k, False: 3.40k]
  ------------------
  581|  12.6k|            asdl_arg_seq *names_with_default_names = _get_names(p, names_with_default);
  582|  12.6k|            if (!names_with_default_names) {
  ------------------
  |  Branch (582:17): [True: 0, False: 12.6k]
  ------------------
  583|      0|                return -1;
  584|      0|            }
  585|  12.6k|            *posargs = (asdl_arg_seq*)_PyPegen_join_sequences(
  586|  12.6k|                    p,(asdl_seq*)plain_names, (asdl_seq*)names_with_default_names);
  587|  12.6k|        }
  588|  3.40k|        else {
  589|  3.40k|            *posargs = _get_names(p, names_with_default);
  590|  3.40k|        }
  591|  16.0k|    }
  592|  18.5k|    else {
  593|  18.5k|        if (plain_names != NULL) {
  ------------------
  |  Branch (593:13): [True: 0, False: 18.5k]
  ------------------
  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|  18.5k|        else {
  600|  18.5k|            *posargs = _Py_asdl_arg_seq_new(0, p->arena);
  601|  18.5k|        }
  602|  18.5k|    }
  603|  34.6k|    return *posargs == NULL ? -1 : 0;
  ------------------
  |  Branch (603:12): [True: 0, False: 34.6k]
  ------------------
  604|  34.6k|}
action_helpers.c:_make_posdefaults:
  610|  34.6k|                  asdl_expr_seq **posdefaults) {
  611|  34.6k|    if (slash_with_default != NULL && names_with_default != NULL) {
  ------------------
  |  Branch (611:9): [True: 1.48k, False: 33.1k]
  |  Branch (611:39): [True: 1.48k, False: 0]
  ------------------
  612|  1.48k|        asdl_expr_seq *slash_with_default_values =
  613|  1.48k|                _get_defaults(p, slash_with_default->names_with_defaults);
  614|  1.48k|        if (!slash_with_default_values) {
  ------------------
  |  Branch (614:13): [True: 0, False: 1.48k]
  ------------------
  615|      0|            return -1;
  616|      0|        }
  617|  1.48k|        asdl_expr_seq *names_with_default_values = _get_defaults(p, names_with_default);
  618|  1.48k|        if (!names_with_default_values) {
  ------------------
  |  Branch (618:13): [True: 0, False: 1.48k]
  ------------------
  619|      0|            return -1;
  620|      0|        }
  621|  1.48k|        *posdefaults = (asdl_expr_seq*)_PyPegen_join_sequences(
  622|  1.48k|                p,
  623|  1.48k|                (asdl_seq*)slash_with_default_values,
  624|  1.48k|                (asdl_seq*)names_with_default_values);
  625|  1.48k|    }
  626|  33.1k|    else if (slash_with_default == NULL && names_with_default != NULL) {
  ------------------
  |  Branch (626:14): [True: 33.1k, False: 0]
  |  Branch (626:44): [True: 14.5k, False: 18.5k]
  ------------------
  627|  14.5k|        *posdefaults = _get_defaults(p, names_with_default);
  628|  14.5k|    }
  629|  18.5k|    else if (slash_with_default != NULL && names_with_default == NULL) {
  ------------------
  |  Branch (629:14): [True: 0, False: 18.5k]
  |  Branch (629:44): [True: 0, False: 0]
  ------------------
  630|      0|        *posdefaults = _get_defaults(p, slash_with_default->names_with_defaults);
  631|      0|    }
  632|  18.5k|    else {
  633|  18.5k|        *posdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  634|  18.5k|    }
  635|  34.6k|    return *posdefaults == NULL ? -1 : 0;
  ------------------
  |  Branch (635:12): [True: 0, False: 34.6k]
  ------------------
  636|  34.6k|}
action_helpers.c:_get_defaults:
  535|  34.3k|{
  536|  34.3k|    Py_ssize_t len = asdl_seq_LEN(names_with_defaults);
  ------------------
  |  |   83|  34.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  68.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 34.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  34.3k|    asdl_expr_seq *seq = _Py_asdl_expr_seq_new(len, p->arena);
  538|  34.3k|    if (!seq) {
  ------------------
  |  Branch (538:9): [True: 0, False: 34.3k]
  ------------------
  539|      0|        return NULL;
  540|      0|    }
  541|  67.3k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (541:28): [True: 32.9k, False: 34.3k]
  ------------------
  542|  32.9k|        NameDefaultPair *pair = asdl_seq_GET_UNTYPED(names_with_defaults, i);
  ------------------
  |  |   81|  32.9k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  32.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  543|  32.9k|        asdl_seq_SET(seq, i, pair->value);
  ------------------
  |  |   94|  32.9k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  32.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  544|  32.9k|    }
  545|  34.3k|    return seq;
  546|  34.3k|}
action_helpers.c:_make_kwargs:
  641|  34.6k|             asdl_expr_seq **kwdefaults) {
  642|  34.6k|    if (star_etc != NULL && star_etc->kwonlyargs != NULL) {
  ------------------
  |  Branch (642:9): [True: 19.9k, False: 14.6k]
  |  Branch (642:29): [True: 16.8k, False: 3.08k]
  ------------------
  643|  16.8k|        *kwonlyargs = _get_names(p, star_etc->kwonlyargs);
  644|  16.8k|    }
  645|  17.7k|    else {
  646|  17.7k|        *kwonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  647|  17.7k|    }
  648|       |
  649|  34.6k|    if (*kwonlyargs == NULL) {
  ------------------
  |  Branch (649:9): [True: 0, False: 34.6k]
  ------------------
  650|      0|        return -1;
  651|      0|    }
  652|       |
  653|  34.6k|    if (star_etc != NULL && star_etc->kwonlyargs != NULL) {
  ------------------
  |  Branch (653:9): [True: 19.9k, False: 14.6k]
  |  Branch (653:29): [True: 16.8k, False: 3.08k]
  ------------------
  654|  16.8k|        *kwdefaults = _get_defaults(p, star_etc->kwonlyargs);
  655|  16.8k|    }
  656|  17.7k|    else {
  657|  17.7k|        *kwdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  658|  17.7k|    }
  659|       |
  660|  34.6k|    if (*kwdefaults == NULL) {
  ------------------
  |  Branch (660:9): [True: 0, False: 34.6k]
  ------------------
  661|      0|        return -1;
  662|      0|    }
  663|       |
  664|  34.6k|    return 0;
  665|  34.6k|}
action_helpers.c:_seq_number_of_starred_exprs:
  809|  31.9k|{
  810|  31.9k|    int n = 0;
  811|  92.6k|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seq); i < l; i++) {
  ------------------
  |  |   83|  31.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  63.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 31.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (811:51): [True: 60.7k, False: 31.9k]
  ------------------
  812|  60.7k|        KeywordOrStarred *k = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|  60.7k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  60.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  813|  60.7k|        if (!k->is_keyword) {
  ------------------
  |  Branch (813:13): [True: 2.75k, False: 57.9k]
  ------------------
  814|  2.75k|            n++;
  815|  2.75k|        }
  816|  60.7k|    }
  817|  31.9k|    return n;
  818|  31.9k|}
action_helpers.c:formatted_string_prefix:
 1021|     62|{
 1022|     62|    int nested = 0;
 1023|  3.18k|    for (int i = p->mark - 1; i >= 0; i--) {
  ------------------
  |  Branch (1023:31): [True: 3.18k, False: 0]
  ------------------
 1024|  3.18k|        int type = p->tokens[i]->type;
 1025|  3.18k|        if (type == FSTRING_END || type == TSTRING_END) {
  ------------------
  |  |   77|  6.36k|#define FSTRING_END     61
  ------------------
                      if (type == FSTRING_END || type == TSTRING_END) {
  ------------------
  |  |   80|  2.94k|#define TSTRING_END     64
  ------------------
  |  Branch (1025:13): [True: 240, False: 2.94k]
  |  Branch (1025:36): [True: 66, False: 2.87k]
  ------------------
 1026|    306|            nested++;
 1027|    306|        }
 1028|  2.87k|        else if (type == FSTRING_START || type == TSTRING_START) {
  ------------------
  |  |   75|  5.75k|#define FSTRING_START   59
  ------------------
                      else if (type == FSTRING_START || type == TSTRING_START) {
  ------------------
  |  |   78|  2.59k|#define TSTRING_START   62
  ------------------
  |  Branch (1028:18): [True: 287, False: 2.59k]
  |  Branch (1028:43): [True: 81, False: 2.50k]
  ------------------
 1029|    368|            if (nested == 0) {
  ------------------
  |  Branch (1029:17): [True: 62, False: 306]
  ------------------
 1030|     62|                return type == TSTRING_START ? 't' : 'f';
  ------------------
  |  |   78|     62|#define TSTRING_START   62
  ------------------
  |  Branch (1030:24): [True: 15, False: 47]
  ------------------
 1031|     62|            }
 1032|    306|            nested--;
 1033|    306|        }
 1034|  3.18k|    }
 1035|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1036|     62|}
action_helpers.c:result_token_with_metadata:
 1009|  17.0k|{
 1010|  17.0k|    ResultTokenWithMetadata *res = _PyArena_Malloc(p->arena, sizeof(ResultTokenWithMetadata));
 1011|  17.0k|    if (res == NULL) {
  ------------------
  |  Branch (1011:9): [True: 0, False: 17.0k]
  ------------------
 1012|      0|        return NULL;
 1013|      0|    }
 1014|  17.0k|    res->metadata = metadata;
 1015|  17.0k|    res->result = result;
 1016|  17.0k|    return res;
 1017|  17.0k|}
action_helpers.c:_get_resized_exprs:
 1391|  20.7k|{
 1392|  20.7k|    Py_ssize_t n_items = asdl_seq_LEN(raw_expressions);
  ------------------
  |  |   83|  20.7k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  41.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 20.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1393|  20.7k|    Py_ssize_t total_items = n_items;
 1394|  67.0k|    for (Py_ssize_t i = 0; i < n_items; i++) {
  ------------------
  |  Branch (1394:28): [True: 46.3k, False: 20.7k]
  ------------------
 1395|  46.3k|        expr_ty item = asdl_seq_GET(raw_expressions, i);
  ------------------
  |  |   82|  46.3k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  46.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1396|  46.3k|        if (item->kind == JoinedStr_kind) {
  ------------------
  |  Branch (1396:13): [True: 1.85k, False: 44.5k]
  ------------------
 1397|  1.85k|            total_items += asdl_seq_LEN(item->v.JoinedStr.values) - 1;
  ------------------
  |  |   83|  1.85k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  3.71k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.85k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1398|  1.85k|        }
 1399|  46.3k|    }
 1400|       |
 1401|  20.7k|    const char* quote_str = PyBytes_AsString(a->bytes);
 1402|  20.7k|    if (quote_str == NULL) {
  ------------------
  |  Branch (1402:9): [True: 0, False: 20.7k]
  ------------------
 1403|      0|        return NULL;
 1404|      0|    }
 1405|  20.7k|    int is_raw = strpbrk(quote_str, "rR") != NULL;
 1406|       |
 1407|  20.7k|    asdl_expr_seq *seq = _Py_asdl_expr_seq_new(total_items, p->arena);
 1408|  20.7k|    if (seq == NULL) {
  ------------------
  |  Branch (1408:9): [True: 0, False: 20.7k]
  ------------------
 1409|      0|        return NULL;
 1410|      0|    }
 1411|       |
 1412|  20.7k|    Py_ssize_t index = 0;
 1413|  67.0k|    for (Py_ssize_t i = 0; i < n_items; i++) {
  ------------------
  |  Branch (1413:28): [True: 46.3k, False: 20.6k]
  ------------------
 1414|  46.3k|        expr_ty item = asdl_seq_GET(raw_expressions, i);
  ------------------
  |  |   82|  46.3k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  46.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1415|       |
 1416|       |        /* Debug expressions arrive as JoinedStr(text, value); flatten them
 1417|       |           into the surrounding string. */
 1418|  46.3k|        if (item->kind == JoinedStr_kind) {
  ------------------
  |  Branch (1418:13): [True: 1.85k, False: 44.5k]
  ------------------
 1419|  1.85k|            asdl_expr_seq *values = item->v.JoinedStr.values;
 1420|  1.85k|            if (asdl_seq_LEN(values) != 2) {
  ------------------
  |  |   83|  1.85k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  3.71k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.85k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1420:17): [True: 0, False: 1.85k]
  ------------------
 1421|      0|                PyErr_Format(PyExc_SystemError,
 1422|      0|                             is_tstring
  ------------------
  |  Branch (1422:30): [True: 0, False: 0]
  ------------------
 1423|      0|                             ? "unexpected TemplateStr node without debug data in t-string at line %d"
 1424|      0|                             : "unexpected JoinedStr node without debug data in f-string at line %d",
 1425|      0|                             item->lineno);
 1426|      0|                return NULL;
 1427|      0|            }
 1428|       |
 1429|  1.85k|            expr_ty first = asdl_seq_GET(values, 0);
  ------------------
  |  |   82|  1.85k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.85k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1430|  1.85k|            assert(first->kind == Constant_kind);
  ------------------
  |  Branch (1430:13): [True: 1.85k, False: 0]
  ------------------
 1431|  1.85k|            asdl_seq_SET(seq, index++, first);
  ------------------
  |  |   94|  1.85k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  1.85k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1432|       |
 1433|  1.85k|            expr_ty second = asdl_seq_GET(values, 1);
  ------------------
  |  |   82|  1.85k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.85k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1434|  1.85k|            assert((is_tstring &&
  ------------------
  |  Branch (1434:13): [True: 749, False: 1.10k]
  |  Branch (1434:13): [True: 749, False: 0]
  |  Branch (1434:13): [True: 1.10k, False: 0]
  ------------------
 1435|  1.85k|                    second->kind == Interpolation_kind) ||
 1436|  1.85k|                   second->kind == FormattedValue_kind);
 1437|  1.85k|            asdl_seq_SET(seq, index++, second);
  ------------------
  |  |   94|  1.85k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  1.85k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1438|       |
 1439|  1.85k|            continue;
 1440|  1.85k|        }
 1441|       |
 1442|  44.5k|        if (item->kind == Constant_kind) {
  ------------------
  |  Branch (1442:13): [True: 34.1k, False: 10.4k]
  ------------------
 1443|  34.1k|            item = _PyPegen_decode_fstring_part(p, is_raw, item, b);
 1444|  34.1k|            if (item == NULL) {
  ------------------
  |  Branch (1444:17): [True: 4, False: 34.1k]
  ------------------
 1445|      4|                return NULL;
 1446|      4|            }
 1447|       |
 1448|       |            /* Tokenizer emits string parts even when the underlying string
 1449|       |            might become an empty value (e.g. FSTRING_MIDDLE with the value \\n)
 1450|       |            so we need to check for them and simplify it here. */
 1451|  34.1k|            if (PyUnicode_CheckExact(item->v.Constant.value)
  ------------------
  |  |  104|  34.1k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  68.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  34.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  34.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 34.1k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1452|  34.1k|                && PyUnicode_GET_LENGTH(item->v.Constant.value) == 0) {
  ------------------
  |  |  300|  34.1k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1452:20): [True: 1.04k, False: 33.0k]
  ------------------
 1453|  1.04k|                continue;
 1454|  1.04k|            }
 1455|  34.1k|        }
 1456|  43.4k|        asdl_seq_SET(seq, index++, item);
  ------------------
  |  |   94|  43.4k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  43.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1457|  43.4k|    }
 1458|       |
 1459|  20.6k|    asdl_expr_seq *resized_exprs;
 1460|  20.6k|    if (index != total_items) {
  ------------------
  |  Branch (1460:9): [True: 991, False: 19.7k]
  ------------------
 1461|    991|        resized_exprs = _Py_asdl_expr_seq_new(index, p->arena);
 1462|    991|        if (resized_exprs == NULL) {
  ------------------
  |  Branch (1462:13): [True: 0, False: 991]
  ------------------
 1463|      0|            return NULL;
 1464|      0|        }
 1465|  1.50k|        for (Py_ssize_t i = 0; i < index; i++) {
  ------------------
  |  Branch (1465:32): [True: 510, False: 991]
  ------------------
 1466|    510|            asdl_seq_SET(resized_exprs, i, asdl_seq_GET(seq, i));
  ------------------
  |  |   94|    510|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|    510|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1467|    510|        }
 1468|    991|    }
 1469|  19.7k|    else {
 1470|  19.7k|        resized_exprs = seq;
 1471|  19.7k|    }
 1472|  20.6k|    return resized_exprs;
 1473|  20.6k|}
action_helpers.c:_PyPegen_decode_fstring_part:
 1358|  34.1k|_PyPegen_decode_fstring_part(Parser* p, int is_raw, expr_ty constant, Token* token) {
 1359|  34.1k|    assert(PyUnicode_CheckExact(constant->v.Constant.value));
  ------------------
  |  Branch (1359:5): [True: 34.1k, False: 0]
  ------------------
 1360|       |
 1361|  34.1k|    const char* bstr = PyUnicode_AsUTF8(constant->v.Constant.value);
 1362|  34.1k|    if (bstr == NULL) {
  ------------------
  |  Branch (1362:9): [True: 0, False: 34.1k]
  ------------------
 1363|      0|        return NULL;
 1364|      0|    }
 1365|       |
 1366|  34.1k|    size_t len;
 1367|  34.1k|    if (strcmp(bstr, "{{") == 0 || strcmp(bstr, "}}") == 0) {
  ------------------
  |  Branch (1367:9): [True: 0, False: 34.1k]
  |  Branch (1367:36): [True: 0, False: 34.1k]
  ------------------
 1368|      0|        len = 1;
 1369|  34.1k|    } else {
 1370|  34.1k|        len = strlen(bstr);
 1371|  34.1k|    }
 1372|       |
 1373|  34.1k|    is_raw = is_raw || strchr(bstr, '\\') == NULL;
  ------------------
  |  Branch (1373:14): [True: 3.89k, False: 30.2k]
  |  Branch (1373:24): [True: 21.9k, False: 8.21k]
  ------------------
 1374|  34.1k|    PyObject *str = _PyPegen_decode_string(p, is_raw, bstr, len, token);
 1375|  34.1k|    if (str == NULL) {
  ------------------
  |  Branch (1375:9): [True: 4, False: 34.1k]
  ------------------
 1376|      4|        _Pypegen_raise_decode_error_known_location(p, constant);
 1377|      4|        return NULL;
 1378|      4|    }
 1379|  34.1k|    if (_PyArena_AddPyObject(p->arena, str) < 0) {
  ------------------
  |  Branch (1379:9): [True: 0, False: 34.1k]
  ------------------
 1380|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1381|      0|        return NULL;
 1382|      0|    }
 1383|  34.1k|    return _PyAST_Constant(str, NULL, constant->lineno, constant->col_offset,
 1384|  34.1k|                           constant->end_lineno, constant->end_col_offset,
 1385|  34.1k|                           p->arena);
 1386|  34.1k|}
action_helpers.c:_get_interpolation_conversion:
 1588|  20.9k|{
 1589|  20.9k|    if (conversion != NULL) {
  ------------------
  |  Branch (1589:9): [True: 4.45k, False: 16.5k]
  ------------------
 1590|  4.45k|        expr_ty conversion_expr = (expr_ty) conversion->result;
 1591|  4.45k|        assert(conversion_expr->kind == Name_kind);
  ------------------
  |  Branch (1591:9): [True: 4.45k, False: 0]
  ------------------
 1592|  4.45k|        Py_UCS4 first = PyUnicode_READ_CHAR(conversion_expr->v.Name.id, 0);
  ------------------
  |  |  382|  4.45k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  4.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1593|  4.45k|        return Py_SAFE_DOWNCAST(first, Py_UCS4, int);
  ------------------
  |  |  247|  4.45k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  4.45k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1594|  4.45k|    }
 1595|  16.5k|    else if (debug && !format) {
  ------------------
  |  Branch (1595:14): [True: 3.72k, False: 12.7k]
  |  Branch (1595:23): [True: 1.86k, False: 1.86k]
  ------------------
 1596|       |        /* If no conversion is specified, use !r for debug expressions */
 1597|  1.86k|        return (int)'r';
 1598|  1.86k|    }
 1599|  14.6k|    return -1;
 1600|  20.9k|}
action_helpers.c:_strip_interpolation_debug_expr:
 1604|  1.01k|{
 1605|  1.01k|    Py_ssize_t len = PyUnicode_GET_LENGTH(exprstr);
  ------------------
  |  |  300|  1.01k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1606|       |
 1607|       |    /* Discard whitespace and explicit line continuations after the debug "="
 1608|       |       but preserve whitespace before it. */
 1609|  1.48k|    while (len > 0) {
  ------------------
  |  Branch (1609:12): [True: 1.48k, False: 0]
  ------------------
 1610|  1.48k|        int has_newline = 0;
 1611|  3.50k|        while (len > 0) {
  ------------------
  |  Branch (1611:16): [True: 3.50k, False: 0]
  ------------------
 1612|  3.50k|            Py_UCS4 c = PyUnicode_READ_CHAR(exprstr, len - 1);
  ------------------
  |  |  382|  3.50k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  3.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1613|  3.50k|            if (!_PyUnicode_IsWhitespace(c)) {
  ------------------
  |  Branch (1613:17): [True: 1.48k, False: 2.01k]
  ------------------
 1614|  1.48k|                break;
 1615|  1.48k|            }
 1616|  2.01k|            if (c == '\r' || c == '\n') {
  ------------------
  |  Branch (1616:17): [True: 0, False: 2.01k]
  |  Branch (1616:30): [True: 773, False: 1.24k]
  ------------------
 1617|    773|                has_newline = 1;
 1618|    773|            }
 1619|  2.01k|            len--;
 1620|  2.01k|        }
 1621|  1.48k|        if (!has_newline || len == 0 ||
  ------------------
  |  Branch (1621:13): [True: 818, False: 669]
  |  Branch (1621:29): [True: 0, False: 669]
  ------------------
 1622|    669|            PyUnicode_READ_CHAR(exprstr, len - 1) != '\\')
  ------------------
  |  |  382|    669|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|    669|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    669|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1622:13): [True: 198, False: 471]
  ------------------
 1623|  1.01k|        {
 1624|  1.01k|            break;
 1625|  1.01k|        }
 1626|    471|        len--;
 1627|    471|    }
 1628|       |
 1629|       |    /* Preserve unexpected metadata instead of dropping source text. */
 1630|  1.01k|    if (len == 0 || PyUnicode_READ_CHAR(exprstr, len - 1) != '=') {
  ------------------
  |  |  382|  1.01k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1630:9): [True: 0, False: 1.01k]
  |  Branch (1630:21): [True: 0, False: 1.01k]
  ------------------
 1631|      0|        return Py_NewRef(exprstr);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1632|      0|    }
 1633|       |
 1634|  1.01k|    return PyUnicode_Substring(exprstr, 0, len - 1);
 1635|  1.01k|}
action_helpers.c:_build_concatenated_str:
 1850|  16.5k|{
 1851|  16.5k|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|  16.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  33.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 16.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1852|  16.5k|    assert(len > 0);
  ------------------
  |  Branch (1852:5): [True: 16.5k, False: 0]
  ------------------
 1853|       |
 1854|  16.5k|    Py_ssize_t n_flattened_elements = 0;
 1855|  57.1k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1855:28): [True: 40.5k, False: 16.5k]
  ------------------
 1856|  40.5k|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|  40.5k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  40.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1857|  40.5k|        switch(elem->kind) {
 1858|  13.8k|            case JoinedStr_kind:
  ------------------
  |  Branch (1858:13): [True: 13.8k, False: 26.6k]
  ------------------
 1859|  13.8k|                n_flattened_elements += asdl_seq_LEN(elem->v.JoinedStr.values);
  ------------------
  |  |   83|  13.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  27.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 13.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1860|  13.8k|                break;
 1861|  4.24k|            case TemplateStr_kind:
  ------------------
  |  Branch (1861:13): [True: 4.24k, False: 36.3k]
  ------------------
 1862|  4.24k|                n_flattened_elements += asdl_seq_LEN(elem->v.TemplateStr.values);
  ------------------
  |  |   83|  4.24k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  8.48k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 4.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1863|  4.24k|                break;
 1864|  22.4k|            default:
  ------------------
  |  Branch (1864:13): [True: 22.4k, False: 18.1k]
  ------------------
 1865|  22.4k|                n_flattened_elements++;
 1866|  22.4k|                break;
 1867|  40.5k|        }
 1868|  40.5k|    }
 1869|       |
 1870|       |
 1871|  16.5k|    asdl_expr_seq* flattened = _Py_asdl_expr_seq_new(n_flattened_elements, p->arena);
 1872|  16.5k|    if (flattened == NULL) {
  ------------------
  |  Branch (1872:9): [True: 0, False: 16.5k]
  ------------------
 1873|      0|        return NULL;
 1874|      0|    }
 1875|       |
 1876|       |    /* build flattened list */
 1877|  16.5k|    Py_ssize_t current_pos = 0;
 1878|  57.1k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1878:28): [True: 40.5k, False: 16.5k]
  ------------------
 1879|  40.5k|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|  40.5k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  40.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1880|  40.5k|        switch(elem->kind) {
 1881|  13.8k|            case JoinedStr_kind:
  ------------------
  |  Branch (1881:13): [True: 13.8k, False: 26.6k]
  ------------------
 1882|  44.5k|                for (Py_ssize_t j = 0; j < asdl_seq_LEN(elem->v.JoinedStr.values); j++) {
  ------------------
  |  |   83|  44.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  89.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 44.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1882:40): [True: 30.7k, False: 13.8k]
  ------------------
 1883|  30.7k|                    expr_ty subvalue = asdl_seq_GET(elem->v.JoinedStr.values, j);
  ------------------
  |  |   82|  30.7k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  30.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1884|  30.7k|                    if (subvalue == NULL) {
  ------------------
  |  Branch (1884:25): [True: 0, False: 30.7k]
  ------------------
 1885|      0|                        return NULL;
 1886|      0|                    }
 1887|  30.7k|                    asdl_seq_SET(flattened, current_pos++, subvalue);
  ------------------
  |  |   94|  30.7k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  30.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1888|  30.7k|                }
 1889|  13.8k|                break;
 1890|  13.8k|            case TemplateStr_kind:
  ------------------
  |  Branch (1890:13): [True: 4.24k, False: 36.3k]
  ------------------
 1891|  16.2k|                for (Py_ssize_t j = 0; j < asdl_seq_LEN(elem->v.TemplateStr.values); j++) {
  ------------------
  |  |   83|  16.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  32.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 16.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1891:40): [True: 11.9k, False: 4.24k]
  ------------------
 1892|  11.9k|                    expr_ty subvalue = asdl_seq_GET(elem->v.TemplateStr.values, j);
  ------------------
  |  |   82|  11.9k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  11.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1893|  11.9k|                    if (subvalue == NULL) {
  ------------------
  |  Branch (1893:25): [True: 0, False: 11.9k]
  ------------------
 1894|      0|                        return NULL;
 1895|      0|                    }
 1896|  11.9k|                    asdl_seq_SET(flattened, current_pos++, subvalue);
  ------------------
  |  |   94|  11.9k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  11.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1897|  11.9k|                }
 1898|  4.24k|                break;
 1899|  22.4k|            default:
  ------------------
  |  Branch (1899:13): [True: 22.4k, False: 18.1k]
  ------------------
 1900|  22.4k|                asdl_seq_SET(flattened, current_pos++, elem);
  ------------------
  |  |   94|  22.4k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  22.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1901|  22.4k|                break;
 1902|  40.5k|        }
 1903|  40.5k|    }
 1904|       |
 1905|       |    /* calculate folded element count */
 1906|  16.5k|    Py_ssize_t n_elements = 0;
 1907|  16.5k|    int prev_is_constant = 0;
 1908|  81.6k|    for (Py_ssize_t i = 0; i < n_flattened_elements; i++) {
  ------------------
  |  Branch (1908:28): [True: 65.1k, False: 16.5k]
  ------------------
 1909|  65.1k|        expr_ty elem = asdl_seq_GET(flattened, i);
  ------------------
  |  |   82|  65.1k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  65.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1910|       |
 1911|       |        /* The concatenation of a FormattedValue and an empty Constant should
 1912|       |           lead to the FormattedValue itself. Thus, we will not take any empty
 1913|       |           constants into account, just as in `_PyPegen_joined_str` */
 1914|  65.1k|        if (elem->kind == Constant_kind &&
  ------------------
  |  Branch (1914:13): [True: 47.9k, False: 17.2k]
  ------------------
 1915|  65.1k|            PyUnicode_CheckExact(elem->v.Constant.value) &&
  ------------------
  |  |  104|  47.9k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   113k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  47.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  47.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 47.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1916|  47.9k|            PyUnicode_GET_LENGTH(elem->v.Constant.value) == 0)
  ------------------
  |  |  300|  47.9k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  47.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1916:13): [True: 4.77k, False: 43.1k]
  ------------------
 1917|  4.77k|            continue;
 1918|       |
 1919|  60.3k|        if (!prev_is_constant || elem->kind != Constant_kind) {
  ------------------
  |  Branch (1919:13): [True: 27.0k, False: 33.3k]
  |  Branch (1919:34): [True: 13.2k, False: 20.1k]
  ------------------
 1920|  40.2k|            n_elements++;
 1921|  40.2k|        }
 1922|  60.3k|        prev_is_constant = elem->kind == Constant_kind;
 1923|  60.3k|    }
 1924|       |
 1925|  16.5k|    asdl_expr_seq* values = _Py_asdl_expr_seq_new(n_elements, p->arena);
 1926|  16.5k|    if (values == NULL) {
  ------------------
  |  Branch (1926:9): [True: 0, False: 16.5k]
  ------------------
 1927|      0|        return NULL;
 1928|      0|    }
 1929|       |
 1930|       |    /* build folded list */
 1931|  16.5k|    current_pos = 0;
 1932|  57.8k|    for (Py_ssize_t i = 0; i < n_flattened_elements; i++) {
  ------------------
  |  Branch (1932:28): [True: 41.2k, False: 16.5k]
  ------------------
 1933|  41.2k|        expr_ty elem = asdl_seq_GET(flattened, i);
  ------------------
  |  |   82|  41.2k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  41.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1934|       |
 1935|       |        /* if the current elem and the following are constants,
 1936|       |           fold them and all consequent constants */
 1937|  41.2k|        if (elem->kind == Constant_kind) {
  ------------------
  |  Branch (1937:13): [True: 24.0k, False: 17.2k]
  ------------------
 1938|  24.0k|            if (i + 1 < n_flattened_elements &&
  ------------------
  |  Branch (1938:17): [True: 17.6k, False: 6.39k]
  ------------------
 1939|  17.6k|                asdl_seq_GET(flattened, i + 1)->kind == Constant_kind) {
  ------------------
  |  |   82|  17.6k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  17.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (1939:17): [True: 7.82k, False: 9.81k]
  ------------------
 1940|  7.82k|                expr_ty first_elem = elem;
 1941|       |
 1942|       |                /* When a string is getting concatenated, the kind of the string
 1943|       |                   is determined by the first string in the concatenation
 1944|       |                   sequence.
 1945|       |
 1946|       |                   u"abc" "def" -> u"abcdef"
 1947|       |                   "abc" u"abc" ->  "abcabc" */
 1948|  7.82k|                PyObject *kind = elem->v.Constant.kind;
 1949|       |
 1950|  7.82k|                PyUnicodeWriter *writer = PyUnicodeWriter_Create(0);
 1951|  7.82k|                if (writer == NULL) {
  ------------------
  |  Branch (1951:21): [True: 0, False: 7.82k]
  ------------------
 1952|      0|                    return NULL;
 1953|      0|                }
 1954|  7.82k|                expr_ty last_elem = elem;
 1955|  7.82k|                Py_ssize_t j;
 1956|  39.5k|                for (j = i; j < n_flattened_elements; j++) {
  ------------------
  |  Branch (1956:29): [True: 35.5k, False: 3.97k]
  ------------------
 1957|  35.5k|                    expr_ty current_elem = asdl_seq_GET(flattened, j);
  ------------------
  |  |   82|  35.5k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  35.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1958|  35.5k|                    if (current_elem->kind == Constant_kind) {
  ------------------
  |  Branch (1958:25): [True: 31.6k, False: 3.84k]
  ------------------
 1959|  31.6k|                        if (PyUnicodeWriter_WriteStr(writer,
  ------------------
  |  Branch (1959:29): [True: 0, False: 31.6k]
  ------------------
 1960|  31.6k|                                                     current_elem->v.Constant.value)) {
 1961|      0|                            PyUnicodeWriter_Discard(writer);
 1962|      0|                            return NULL;
 1963|      0|                        }
 1964|  31.6k|                        last_elem = current_elem;
 1965|  31.6k|                    } else {
 1966|  3.84k|                        break;
 1967|  3.84k|                    }
 1968|  35.5k|                }
 1969|  7.82k|                i = j - 1;
 1970|       |
 1971|  7.82k|                PyObject *concat_str = PyUnicodeWriter_Finish(writer);
 1972|  7.82k|                if (concat_str == NULL) {
  ------------------
  |  Branch (1972:21): [True: 0, False: 7.82k]
  ------------------
 1973|      0|                    return NULL;
 1974|      0|                }
 1975|  7.82k|                if (_PyArena_AddPyObject(p->arena, concat_str) < 0) {
  ------------------
  |  Branch (1975:21): [True: 0, False: 7.82k]
  ------------------
 1976|      0|                    Py_DECREF(concat_str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1977|      0|                    return NULL;
 1978|      0|                }
 1979|  7.82k|                elem = _PyAST_Constant(concat_str, kind, first_elem->lineno,
 1980|  7.82k|                                       first_elem->col_offset,
 1981|  7.82k|                                       last_elem->end_lineno,
 1982|  7.82k|                                       last_elem->end_col_offset, p->arena);
 1983|  7.82k|                if (elem == NULL) {
  ------------------
  |  Branch (1983:21): [True: 0, False: 7.82k]
  ------------------
 1984|      0|                    return NULL;
 1985|      0|                }
 1986|  7.82k|            }
 1987|       |
 1988|       |            /* Drop all empty contanst strings */
 1989|  24.0k|            if (PyUnicode_CheckExact(elem->v.Constant.value) &&
  ------------------
  |  |  104|  24.0k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  48.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  24.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  24.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 24.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1990|  24.0k|                PyUnicode_GET_LENGTH(elem->v.Constant.value) == 0) {
  ------------------
  |  |  300|  24.0k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1990:17): [True: 1.03k, False: 23.0k]
  ------------------
 1991|  1.03k|                continue;
 1992|  1.03k|            }
 1993|  24.0k|        }
 1994|       |
 1995|  40.2k|        asdl_seq_SET(values, current_pos++, elem);
  ------------------
  |  |   94|  40.2k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  40.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1996|  40.2k|    }
 1997|       |
 1998|  16.5k|    assert(current_pos == n_elements);
  ------------------
  |  Branch (1998:5): [True: 16.5k, False: 0]
  ------------------
 1999|  16.5k|    return values;
 2000|  16.5k|}
action_helpers.c:_build_concatenated_bytes:
 1751|    300|{
 1752|    300|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|    300|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    600|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 300]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1753|    300|    assert(len > 0);
  ------------------
  |  Branch (1753:5): [True: 300, False: 0]
  ------------------
 1754|       |
 1755|       |    /* Bytes literals never get a kind, but just for consistency
 1756|       |        since they are represented as Constant nodes, we'll mirror
 1757|       |        the same behavior as unicode strings for determining the
 1758|       |        kind. */
 1759|    300|    PyObject *kind = asdl_seq_GET(strings, 0)->v.Constant.kind;
  ------------------
  |  |   82|    300|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    300|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1760|       |
 1761|    300|    Py_ssize_t total = 0;
 1762|  2.39k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1762:28): [True: 2.09k, False: 300]
  ------------------
 1763|  2.09k|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|  2.09k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  2.09k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1764|  2.09k|        PyObject *bytes = elem->v.Constant.value;
 1765|  2.09k|        Py_ssize_t part = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|  2.09k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1766|  2.09k|        if (part > PY_SSIZE_T_MAX - total) {
  ------------------
  |  |  137|  2.09k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1766:13): [True: 0, False: 2.09k]
  ------------------
 1767|      0|            PyErr_NoMemory();
 1768|      0|            return NULL;
 1769|      0|        }
 1770|  2.09k|        total += part;
 1771|  2.09k|    }
 1772|       |
 1773|    300|    PyBytesWriter *writer = PyBytesWriter_Create(total);
 1774|    300|    if (writer == NULL) {
  ------------------
  |  Branch (1774:9): [True: 0, False: 300]
  ------------------
 1775|      0|        return NULL;
 1776|      0|    }
 1777|    300|    char *out = PyBytesWriter_GetData(writer);
 1778|       |
 1779|  2.39k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1779:28): [True: 2.09k, False: 300]
  ------------------
 1780|  2.09k|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|  2.09k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  2.09k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1781|  2.09k|        PyObject *bytes = elem->v.Constant.value;
 1782|  2.09k|        Py_ssize_t part = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|  2.09k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1783|  2.09k|        if (part > 0) {
  ------------------
  |  Branch (1783:13): [True: 1.47k, False: 613]
  ------------------
 1784|  1.47k|            memcpy(out, PyBytes_AS_STRING(bytes), part);
  ------------------
  |  |   27|  1.47k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1785|  1.47k|            out += part;
 1786|  1.47k|        }
 1787|  2.09k|    }
 1788|       |
 1789|    300|    PyObject *res = PyBytesWriter_Finish(writer);
 1790|    300|    if (res == NULL) {
  ------------------
  |  Branch (1790:9): [True: 0, False: 300]
  ------------------
 1791|      0|        return NULL;
 1792|      0|    }
 1793|    300|    if (_PyArena_AddPyObject(arena, res) < 0) {
  ------------------
  |  Branch (1793:9): [True: 0, False: 300]
  ------------------
 1794|      0|        Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1795|      0|        return NULL;
 1796|      0|    }
 1797|    300|    return _PyAST_Constant(res, kind, lineno, col_offset, end_lineno, end_col_offset, p->arena);
 1798|    300|}
action_helpers.c:_build_concatenated_unicode:
 1804|  1.43k|{
 1805|  1.43k|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|  1.43k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  2.87k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.43k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1806|  1.43k|    assert(len > 1);
  ------------------
  |  Branch (1806:5): [True: 1.43k, False: 0]
  ------------------
 1807|       |
 1808|  1.43k|    expr_ty first = asdl_seq_GET(strings, 0);
  ------------------
  |  |   82|  1.43k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.43k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1809|       |
 1810|       |    /* When a string is getting concatenated, the kind of the string
 1811|       |        is determined by the first string in the concatenation
 1812|       |        sequence.
 1813|       |
 1814|       |        u"abc" "def" -> u"abcdef"
 1815|       |        "abc" u"abc" ->  "abcabc" */
 1816|  1.43k|    PyObject *kind = first->v.Constant.kind;
 1817|       |
 1818|  1.43k|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(0);
 1819|  1.43k|    if (writer == NULL) {
  ------------------
  |  Branch (1819:9): [True: 0, False: 1.43k]
  ------------------
 1820|      0|        return NULL;
 1821|      0|    }
 1822|       |
 1823|  5.27k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1823:28): [True: 3.84k, False: 1.43k]
  ------------------
 1824|  3.84k|        expr_ty current_elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|  3.84k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  3.84k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1825|  3.84k|        assert(current_elem->kind == Constant_kind);
  ------------------
  |  Branch (1825:9): [True: 3.84k, False: 0]
  ------------------
 1826|       |
 1827|  3.84k|        if (PyUnicodeWriter_WriteStr(writer,
  ------------------
  |  Branch (1827:13): [True: 0, False: 3.84k]
  ------------------
 1828|  3.84k|                                     current_elem->v.Constant.value)) {
 1829|      0|            PyUnicodeWriter_Discard(writer);
 1830|      0|            return NULL;
 1831|      0|        }
 1832|  3.84k|    }
 1833|       |
 1834|  1.43k|    PyObject *final = PyUnicodeWriter_Finish(writer);
 1835|  1.43k|    if (final == NULL) {
  ------------------
  |  Branch (1835:9): [True: 0, False: 1.43k]
  ------------------
 1836|      0|        return NULL;
 1837|      0|    }
 1838|  1.43k|    if (_PyArena_AddPyObject(p->arena, final) < 0) {
  ------------------
  |  Branch (1838:9): [True: 0, False: 1.43k]
  ------------------
 1839|      0|        Py_DECREF(final);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1840|      0|        return NULL;
 1841|      0|    }
 1842|  1.43k|    return _PyAST_Constant(final, kind, lineno, col_offset,
 1843|  1.43k|                           end_lineno, end_col_offset, arena);
 1844|  1.43k|}
action_helpers.c:_build_concatenated_joined_str:
 2006|  13.3k|{
 2007|  13.3k|    asdl_expr_seq *values = _build_concatenated_str(p, strings, lineno,
 2008|  13.3k|        col_offset, end_lineno, end_col_offset, arena);
 2009|  13.3k|    if (!values) {
  ------------------
  |  Branch (2009:9): [True: 0, False: 13.3k]
  ------------------
 2010|      0|        return NULL;
 2011|      0|    }
 2012|  13.3k|    return _PyAST_JoinedStr(values, lineno, col_offset, end_lineno, end_col_offset, p->arena);
 2013|  13.3k|}
action_helpers.c:_warn_relative_import_of_lazy:
 2092|    835|{
 2093|       |    // Warn about `from . lazy import x`: the whitespace between the dots and
 2094|       |    // the module name is insignificant, so this is parsed exactly like
 2095|       |    // `from .lazy import x` (an import of the relative module "lazy"), but it
 2096|       |    // is most likely a transposition of `lazy from . import x` (PEP 810).
 2097|    835|    if (p->call_invalid_rules) {
  ------------------
  |  Branch (2097:9): [True: 283, False: 552]
  ------------------
 2098|    283|        return 0;
 2099|    283|    }
 2100|       |
 2101|       |    // Only fire if there is whitespace between the last dot and the name,
 2102|       |    // i.e. not for the common `from .lazy import x` spelling.
 2103|    552|    Token *last_dot = asdl_seq_GET_UNTYPED(dots, asdl_seq_LEN(dots) - 1);
  ------------------
  |  |   81|    552|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.10k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 552]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2104|    552|    if (
 2105|    552|        last_dot->end_lineno == module->lineno
  ------------------
  |  Branch (2105:9): [True: 552, False: 0]
  ------------------
 2106|    552|        && last_dot->end_col_offset == module->col_offset
  ------------------
  |  Branch (2106:12): [True: 38, False: 514]
  ------------------
 2107|    552|    ) {
 2108|     38|        return 0;
 2109|     38|    }
 2110|       |
 2111|    514|    int count = _PyPegen_seq_count_dots(dots);
 2112|    514|    char *buf = PyMem_RawMalloc(count + 1);
 2113|    514|    if (buf == NULL) {
  ------------------
  |  Branch (2113:9): [True: 0, False: 514]
  ------------------
 2114|      0|        PyErr_NoMemory();
 2115|      0|        return -1;
 2116|      0|    }
 2117|    514|    memset(buf, '.', count);
 2118|    514|    buf[count] = '\0';
 2119|       |
 2120|    514|    PyObject *msg = PyUnicode_FromFormat(
 2121|    514|        "'from %s lazy import' is the same as 'from %slazy import'; "
 2122|    514|        "did you mean 'lazy from %s import'?",
 2123|    514|        buf, buf, buf);
 2124|    514|    PyMem_RawFree(buf);
 2125|    514|    if (msg == NULL) {
  ------------------
  |  Branch (2125:9): [True: 0, False: 514]
  ------------------
 2126|      0|        return -1;
 2127|      0|    }
 2128|       |
 2129|    514|    _PyTokenizer_Info info = _PyTokenizer_GetInfo(p->tok);
 2130|    514|    int res = _PyErr_EmitSyntaxWarning(msg,
 2131|    514|                                       info.filename,
 2132|    514|                                       module->lineno,
 2133|    514|                                       module->col_offset + 1,
 2134|    514|                                       module->end_lineno,
 2135|    514|                                       module->end_col_offset + 1,
 2136|    514|                                       info.module);
 2137|    514|    Py_DECREF(msg);
  ------------------
  |  |  430|    514|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    514|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    514|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2138|    514|    return res;
 2139|    514|}

_PyLexer_ContinueLine:
   14|  1.71k|{
   15|  1.71k|    int c = tok_nextc(tok);
   16|  1.71k|    if (c == '\r') {
  ------------------
  |  Branch (16:9): [True: 0, False: 1.71k]
  ------------------
   17|      0|        c = tok_nextc(tok);
   18|      0|    }
   19|  1.71k|    if (c != '\n') {
  ------------------
  |  Branch (19:9): [True: 133, False: 1.58k]
  ------------------
   20|    133|        tok->done = E_LINECONT;
  ------------------
  |  |   37|    133|#define E_LINECONT       25      /* Unexpected characters after a line continuation */
  ------------------
   21|    133|        return -1;
   22|    133|    }
   23|  1.58k|    c = tok_nextc(tok);
   24|  1.58k|    if (tok->implicit_newline == _PyTokenizer_APPEND_NEWLINE) {
  ------------------
  |  Branch (24:9): [True: 5, False: 1.57k]
  ------------------
   25|      5|        tok->needs_newline |= _PyTokenizer_NEWLINE_CONTINUATION;
   26|      5|    }
   27|  1.58k|    if (c == EOF) {
  ------------------
  |  Branch (27:9): [True: 25, False: 1.55k]
  ------------------
   28|     25|        tok->done = E_EOF;
  ------------------
  |  |   23|     25|#define E_EOF            11      /* End Of File */
  ------------------
   29|     25|        tok->cur = tok->inp;
   30|     25|        return -1;
   31|  1.55k|    } else {
   32|  1.55k|        tok_backup(tok, c);
  ------------------
  |  |   24|  1.55k|#define tok_backup _PyLexer_backup
  ------------------
   33|  1.55k|    }
   34|  1.55k|    return c;
   35|  1.58k|}
_PyLexer_BeginLine:
   82|   350k|{
   83|   350k|    assert(tok->layout.at_bol);
  ------------------
  |  Branch (83:5): [True: 350k, False: 0]
  ------------------
   84|   350k|    int c;
   85|   350k|    int blankline = 0;
   86|   350k|    int col = 0;
   87|   350k|    int altcol = 0;
   88|   350k|    tok->layout.at_bol = 0;
   89|   350k|    int cont_line_col = 0;
   90|   400k|    for (;;) {
   91|   400k|        c = tok_nextc(tok);
   92|   400k|        if (c == ' ') {
  ------------------
  |  Branch (92:13): [True: 48.3k, False: 352k]
  ------------------
   93|  48.3k|            col++, altcol++;
   94|  48.3k|        }
   95|   352k|        else if (c == '\t') {
  ------------------
  |  Branch (95:18): [True: 417, False: 352k]
  ------------------
   96|    417|            col = (col / TABSIZE + 1) * TABSIZE;
  ------------------
  |  |    9|    417|#define TABSIZE 8
  ------------------
                          col = (col / TABSIZE + 1) * TABSIZE;
  ------------------
  |  |    9|    417|#define TABSIZE 8
  ------------------
   97|    417|            altcol = (altcol / ALTTABSIZE + 1) * ALTTABSIZE;
  ------------------
  |  |   10|    417|#define ALTTABSIZE 1
  ------------------
                          altcol = (altcol / ALTTABSIZE + 1) * ALTTABSIZE;
  ------------------
  |  |   10|    417|#define ALTTABSIZE 1
  ------------------
   98|    417|        }
   99|   352k|        else if (c == '\014')  {/* Control-L (formfeed) */
  ------------------
  |  Branch (99:18): [True: 1.08k, False: 350k]
  ------------------
  100|  1.08k|            col = altcol = 0; /* For Emacs users */
  101|  1.08k|        }
  102|   350k|        else if (c == '\\') {
  ------------------
  |  Branch (102:18): [True: 835, False: 350k]
  ------------------
  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|    835|            cont_line_col = cont_line_col ? cont_line_col : col;
  ------------------
  |  Branch (107:29): [True: 274, False: 561]
  ------------------
  108|    835|            if ((c = _PyLexer_ContinueLine(tok)) == -1) {
  ------------------
  |  Branch (108:17): [True: 18, False: 817]
  ------------------
  109|     18|                return -1;
  110|     18|            }
  111|    835|        }
  112|   350k|        else if (c == EOF && PyErr_Occurred()) {
  ------------------
  |  Branch (112:18): [True: 17.5k, False: 332k]
  |  Branch (112:30): [True: 39, False: 17.5k]
  ------------------
  113|     39|            return -1;
  114|     39|        }
  115|   350k|        else {
  116|   350k|            break;
  117|   350k|        }
  118|   400k|    }
  119|   350k|    tok_backup(tok, c);
  ------------------
  |  |   24|   350k|#define tok_backup _PyLexer_backup
  ------------------
  120|   350k|    if (c == '\n' && tok->implicit_newline == _PyTokenizer_IMPLY_NEWLINE &&
  ------------------
  |  Branch (120:9): [True: 143k, False: 206k]
  |  Branch (120:22): [True: 40, False: 143k]
  ------------------
  121|     40|        tok->level == 0 && (cont_line_col || col)) {
  ------------------
  |  Branch (121:9): [True: 38, False: 2]
  |  Branch (121:29): [True: 1, False: 37]
  |  Branch (121:46): [True: 31, False: 6]
  ------------------
  122|       |        // Without the newline, a whitespace-only line affects indentation.
  123|     32|        tok->needs_newline |= _PyTokenizer_NEWLINE_INDENT;
  124|     32|    }
  125|   350k|    if (c == '#' || c == '\n' || c == '\r') {
  ------------------
  |  Branch (125:9): [True: 9.12k, False: 340k]
  |  Branch (125:21): [True: 143k, False: 197k]
  |  Branch (125:34): [True: 0, False: 197k]
  ------------------
  126|   152k|        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|   152k|        if (col == 0 && c == '\n' && interactive) {
  ------------------
  |  Branch (132:13): [True: 151k, False: 1.32k]
  |  Branch (132:25): [True: 143k, False: 8.16k]
  |  Branch (132:38): [True: 0, False: 143k]
  ------------------
  133|      0|            blankline = 0; /* Let it through */
  134|      0|        }
  135|   152k|        else if (interactive && tok->lineno == 1) {
  ------------------
  |  Branch (135:18): [True: 0, False: 152k]
  |  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|   152k|        else {
  142|   152k|            blankline = 1; /* Ignore completely */
  143|   152k|        }
  144|   152k|    }
  145|   350k|    if (!blankline && tok->level == 0) {
  ------------------
  |  Branch (145:9): [True: 197k, False: 152k]
  |  Branch (145:23): [True: 176k, False: 20.4k]
  ------------------
  146|   176k|        col = cont_line_col ? cont_line_col : col;
  ------------------
  |  Branch (146:15): [True: 197, False: 176k]
  ------------------
  147|   176k|        altcol = cont_line_col ? cont_line_col : altcol;
  ------------------
  |  Branch (147:18): [True: 197, False: 176k]
  ------------------
  148|   176k|        if (update_indentation(tok, col, altcol) < 0) {
  ------------------
  |  Branch (148:13): [True: 4, False: 176k]
  ------------------
  149|      4|            return -1;
  150|      4|        }
  151|   176k|    }
  152|   350k|    return blankline;
  153|   350k|}
_PyLexer_IndentationToken:
  157|  32.8k|{
  158|  32.8k|    assert(tok->layout.pending != 0);
  ------------------
  |  Branch (158:5): [True: 32.8k, False: 0]
  ------------------
  159|  32.8k|    _PyTok_Off p_start = -1;
  160|  32.8k|    _PyTok_Off p_end = -1;
  161|  32.8k|    if (tok->layout.pending < 0) {
  ------------------
  |  Branch (161:9): [True: 16.2k, False: 16.6k]
  ------------------
  162|  16.2k|        if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (162:13): [True: 0, False: 16.2k]
  ------------------
  163|      0|            p_start = tok->cur;
  164|      0|            p_end = tok->cur;
  165|      0|        }
  166|  16.2k|        tok->layout.pending++;
  167|  16.2k|        return _PyLexer_token_setup(tok, token, DEDENT, p_start, p_end);
  ------------------
  |  |   22|  16.2k|#define DEDENT          6
  ------------------
  168|  16.2k|    }
  169|  16.6k|    else {
  170|  16.6k|        if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (170:13): [True: 0, False: 16.6k]
  ------------------
  171|      0|            p_start = tok->buf_offset;
  172|      0|            p_end = tok->cur;
  173|      0|        }
  174|  16.6k|        tok->layout.pending--;
  175|  16.6k|        return _PyLexer_token_setup(tok, token, INDENT, p_start, p_end);
  ------------------
  |  |   21|  16.6k|#define INDENT          5
  ------------------
  176|  16.6k|    }
  177|  32.8k|}
_PyLexer_Newline:
  181|   325k|{
  182|   325k|    if (!blankline && tok->implicit_newline == _PyTokenizer_IMPLY_NEWLINE) {
  ------------------
  |  Branch (182:9): [True: 175k, False: 150k]
  |  Branch (182:23): [True: 18.5k, False: 156k]
  ------------------
  183|       |        // The statement's terminating newline was not in the input.
  184|  18.5k|        tok->needs_newline |= _PyTokenizer_NEWLINE_STATEMENT;
  185|  18.5k|    }
  186|   325k|    tok->layout.at_bol = 1;
  187|   325k|    if (blankline || tok->level > 0) {
  ------------------
  |  Branch (187:9): [True: 150k, False: 175k]
  |  Branch (187:22): [True: 20.4k, False: 154k]
  ------------------
  188|   171k|        if (!tok->tok_extra_tokens) {
  ------------------
  |  Branch (188:13): [True: 171k, False: 0]
  ------------------
  189|   171k|            return 0;
  190|   171k|        }
  191|   171k|    }
  192|   154k|    else if (!tok->layout.comment_newline || !tok->tok_extra_tokens) {
  ------------------
  |  Branch (192:14): [True: 154k, False: 0]
  |  Branch (192:46): [True: 0, False: 0]
  ------------------
  193|   154k|        return _PyLexer_token_setup(tok, token, NEWLINE,
  ------------------
  |  |   20|   154k|#define NEWLINE         4
  ------------------
  194|   154k|                                    tok->start, tok->cur - 1);
  195|   154k|    }
  196|      0|    tok->layout.comment_newline = 0;
  197|      0|    return _PyLexer_token_setup(tok, token, NL, tok->start, tok->cur);
  ------------------
  |  |   82|      0|#define NL              66
  ------------------
  198|   325k|}
_PyLexer_ImplyDedents:
  202|    686|{
  203|    686|    if (tok->layout.depth != 0) {
  ------------------
  |  Branch (203:9): [True: 23, False: 663]
  ------------------
  204|     23|        tok->layout.pending = -tok->layout.depth;
  205|     23|        tok->layout.depth = 0;
  206|     23|    }
  207|    686|}
layout.c:update_indentation:
   40|   176k|{
   41|   176k|    lexer_layout_state *layout = &tok->layout;
   42|   176k|    if (col == layout->stack[layout->depth].column) {
  ------------------
  |  Branch (42:9): [True: 144k, False: 32.3k]
  ------------------
   43|   144k|        if (altcol != layout->stack[layout->depth].alternate_column) {
  ------------------
  |  Branch (43:13): [True: 1, False: 144k]
  ------------------
   44|      1|            _PyTokenizer_indenterror(tok);
   45|      1|            return -1;
   46|      1|        }
   47|   144k|    }
   48|  32.3k|    else if (col > layout->stack[layout->depth].column) {
  ------------------
  |  Branch (48:14): [True: 16.6k, False: 15.6k]
  ------------------
   49|  16.6k|        if (layout->depth + 1 >= MAXINDENT) {
  ------------------
  |  |    8|  16.6k|#define MAXINDENT 100       /* Max indentation level */
  ------------------
  |  Branch (49:13): [True: 0, False: 16.6k]
  ------------------
   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|  16.6k|        if (altcol <= layout->stack[layout->depth].alternate_column) {
  ------------------
  |  Branch (54:13): [True: 0, False: 16.6k]
  ------------------
   55|      0|            _PyTokenizer_indenterror(tok);
   56|      0|            return -1;
   57|      0|        }
   58|  16.6k|        layout->pending++;
   59|  16.6k|        layout->stack[++layout->depth] = (indentation_level){col, altcol};
   60|  16.6k|    }
   61|  15.6k|    else {
   62|  31.8k|        while (layout->depth > 0 &&
  ------------------
  |  Branch (62:16): [True: 17.2k, False: 14.6k]
  ------------------
   63|  17.2k|            col < layout->stack[layout->depth].column) {
  ------------------
  |  Branch (63:13): [True: 16.2k, False: 1.04k]
  ------------------
   64|  16.2k|            layout->pending--;
   65|  16.2k|            layout->depth--;
   66|  16.2k|        }
   67|  15.6k|        if (col != layout->stack[layout->depth].column) {
  ------------------
  |  Branch (67:13): [True: 3, False: 15.6k]
  ------------------
   68|      3|            tok->done = E_DEDENT;
  ------------------
  |  |   33|      3|#define E_DEDENT         21      /* No matching outer block for dedent */
  ------------------
   69|      3|            tok->cur = tok->inp;
   70|      3|            return -1;
   71|      3|        }
   72|  15.6k|        if (altcol != layout->stack[layout->depth].alternate_column) {
  ------------------
  |  Branch (72:13): [True: 0, False: 15.6k]
  ------------------
   73|      0|            _PyTokenizer_indenterror(tok);
   74|      0|            return -1;
   75|      0|        }
   76|  15.6k|    }
   77|   176k|    return 0;
   78|   176k|}

_PyLexer_refill:
   18|   456k|{
   19|   456k|    if (tok->done != E_OK) {
  ------------------
  |  |   22|   456k|#define E_OK             10      /* No error */
  ------------------
  |  Branch (19:9): [True: 39.1k, False: 417k]
  ------------------
   20|  39.1k|        return 0;
   21|  39.1k|    }
   22|   417k|    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|   417k|    if (!rc) {
  ------------------
  |  Branch (32:9): [True: 19.8k, False: 397k]
  ------------------
   33|  19.8k|        tok->cur = tok->inp;
   34|  19.8k|        return 0;
   35|  19.8k|    }
   36|   397k|    tok->line_start = tok->cur;
   37|   397k|    _PyTok_Span line = {tok->line_start, tok->inp};
   38|   397k|    if (_PyTok_SourceFindByte(&tok->source, line, '\0') >= 0) {
  ------------------
  |  Branch (38:9): [True: 39, False: 397k]
  ------------------
   39|     39|        _PyTokenizer_syntaxerror(tok, "source code cannot contain null bytes");
   40|     39|        tok->cur = tok->inp;
   41|     39|        return 0;
   42|     39|    }
   43|   397k|    return 1;
   44|   397k|}
_PyLexer_backup:
   49|  9.92M|{
   50|  9.92M|    if (c != EOF) {
  ------------------
  |  Branch (50:9): [True: 9.88M, False: 38.8k]
  ------------------
   51|  9.88M|        if (--tok->cur < tok->buf_offset) {
  ------------------
  |  Branch (51:13): [True: 0, False: 9.88M]
  ------------------
   52|      0|            Py_FatalError("tokenizer beginning of buffer");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
   53|      0|        }
   54|  9.88M|        if (_PyTok_SourceByte(&tok->source, tok->cur) != Py_CHARMASK(c)) {
  ------------------
  |  |  170|  9.88M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (54:13): [True: 0, False: 9.88M]
  ------------------
   55|      0|            Py_FatalError("tok_backup: wrong character");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
   56|      0|        }
   57|  9.88M|    }
   58|  9.92M|}
_PyLexer_get_normal:
  122|  4.75M|{
  123|  4.75M|    assert(current == NULL ||
  ------------------
  |  Branch (123:5): [True: 157k, False: 0]
  |  Branch (123:5): [True: 157k, False: 0]
  |  Branch (123:5): [True: 4.59M, False: 157k]
  ------------------
  124|  4.75M|           (current->mode == FTSTRING_MODE_EXPRESSION &&
  125|  4.75M|            current->replacement_depth > 0));
  126|  4.75M|    int c;
  127|  4.75M|    int blankline, nonascii;
  128|       |
  129|  4.75M|    _PyTok_Off p_start = -1;
  130|  4.75M|    _PyTok_Off p_end = -1;
  131|  4.92M|  nextline:
  132|  4.92M|    tok->start = -1;
  133|  4.92M|    tok->start_loc = (_PyTok_Loc){tok->lineno, -1};
  134|  4.92M|    blankline = 0;
  135|       |
  136|       |
  137|  4.92M|    if (tok->layout.at_bol) {
  ------------------
  |  Branch (137:9): [True: 350k, False: 4.57M]
  ------------------
  138|   350k|        blankline = _PyLexer_BeginLine(tok);
  139|   350k|        if (blankline < 0) {
  ------------------
  |  Branch (139:13): [True: 61, False: 350k]
  ------------------
  140|     61|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   10|     61|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  141|     61|        }
  142|   350k|    }
  143|       |
  144|  4.92M|    tok->start = tok->cur;
  145|  4.92M|    tok->start_loc = (_PyTok_Loc){
  146|  4.92M|        tok->lineno, tok->line_start >= 0 ? _PyLexer_ByteColumn(tok) : -1};
  ------------------
  |  Branch (146:22): [True: 4.92M, False: 0]
  ------------------
  147|       |
  148|  4.92M|    if (tok->layout.pending != 0) {
  ------------------
  |  Branch (148:9): [True: 32.8k, False: 4.89M]
  ------------------
  149|  32.8k|        return _PyLexer_IndentationToken(tok, token);
  150|  32.8k|    }
  151|       |
  152|       |    /* Peek ahead at the next character */
  153|  4.89M|    c = tok_nextc(tok);
  154|  4.89M|    tok_backup(tok, c);
  ------------------
  |  |   24|  4.89M|#define tok_backup _PyLexer_backup
  ------------------
  155|       |
  156|  4.89M| again:
  157|  4.89M|    tok->start = -1;
  158|       |    /* Skip spaces */
  159|  5.32M|    do {
  160|  5.32M|        c = tok_nextc(tok);
  161|  5.32M|    } while (c == ' ' || c == '\t' || c == '\014');
  ------------------
  |  Branch (161:14): [True: 409k, False: 4.91M]
  |  Branch (161:26): [True: 4.06k, False: 4.91M]
  |  Branch (161:39): [True: 18.7k, False: 4.89M]
  ------------------
  162|       |
  163|       |    /* Set start of current token */
  164|  4.89M|    tok->start = tok->cur - 1;
  165|  4.89M|    tok->start_loc = (_PyTok_Loc){
  166|  4.89M|        tok->lineno, tok->line_start >= 0 ? _PyLexer_ByteColumn(tok) - 1 : -1};
  ------------------
  |  Branch (166:22): [True: 4.89M, False: 0]
  ------------------
  167|       |
  168|       |    /* Skip comment, unless it's a type comment */
  169|  4.89M|    if (c == '#') {
  ------------------
  |  Branch (169:9): [True: 47.5k, False: 4.84M]
  ------------------
  170|       |
  171|  2.47M|        while (c != EOF && c != '\n' && c != '\r') {
  ------------------
  |  Branch (171:16): [True: 2.47M, False: 172]
  |  Branch (171:28): [True: 2.42M, False: 47.3k]
  |  Branch (171:41): [True: 2.42M, False: 0]
  ------------------
  172|  2.42M|            c = tok_nextc(tok);
  173|  2.42M|        }
  174|       |
  175|  47.5k|        if (current != NULL) {
  ------------------
  |  Branch (175:13): [True: 2.64k, False: 44.8k]
  ------------------
  176|  2.64k|            _PyTok_Off comment_end = tok->cur;
  177|  2.64k|            if (c == '\n' || c == '\r') {
  ------------------
  |  Branch (177:17): [True: 2.64k, False: 3]
  |  Branch (177:30): [True: 0, False: 3]
  ------------------
  178|  2.64k|                comment_end--;
  179|  2.64k|            }
  180|  2.64k|            if (_PyLexer_record_ftstring_comment(
  ------------------
  |  Branch (180:17): [True: 0, False: 2.64k]
  ------------------
  181|  2.64k|                    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|  2.64k|        }
  186|       |
  187|  47.5k|        _PyTok_Off comment = tok->start;
  188|  47.5k|        if (tok->type_comments) {
  ------------------
  |  Branch (188:13): [True: 19.0k, False: 28.4k]
  ------------------
  189|  19.0k|            const char *prefix = type_comment_prefix;
  190|  84.5k|            while (*prefix && comment < tok->cur) {
  ------------------
  |  Branch (190:20): [True: 80.1k, False: 4.45k]
  |  Branch (190:31): [True: 80.1k, False: 8]
  ------------------
  191|  80.1k|                if (*prefix == ' ') {
  ------------------
  |  Branch (191:21): [True: 23.5k, False: 56.5k]
  ------------------
  192|  36.1k|                    while (comment < tok->cur) {
  ------------------
  |  Branch (192:28): [True: 36.1k, False: 3]
  ------------------
  193|  36.1k|                        int ch = _PyTok_SourceByte(&tok->source, comment);
  194|  36.1k|                        if (ch != ' ' && ch != '\t') {
  ------------------
  |  Branch (194:29): [True: 27.1k, False: 9.04k]
  |  Branch (194:42): [True: 23.5k, False: 3.61k]
  ------------------
  195|  23.5k|                            break;
  196|  23.5k|                        }
  197|  12.6k|                        comment++;
  198|  12.6k|                    }
  199|  56.5k|                } else if (*prefix == _PyTok_SourceByte(&tok->source, comment)) {
  ------------------
  |  Branch (199:28): [True: 41.9k, False: 14.6k]
  ------------------
  200|  41.9k|                    comment++;
  201|  41.9k|                } else {
  202|  14.6k|                    break;
  203|  14.6k|                }
  204|       |
  205|  65.4k|                prefix++;
  206|  65.4k|            }
  207|       |
  208|       |            /* This is a type comment if we matched all of type_comment_prefix. */
  209|  19.0k|            if (!*prefix) {
  ------------------
  |  Branch (209:17): [True: 4.45k, False: 14.6k]
  ------------------
  210|  4.45k|                tok_backup(tok, c);  /* don't eat the newline or EOF */
  ------------------
  |  |   24|  4.45k|#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|  4.45k|                int is_type_ignore = tok->cur - comment >= 6 &&
  ------------------
  |  Branch (213:38): [True: 4.05k, False: 401]
  ------------------
  214|  4.05k|                    memcmp(_PyTok_SourcePointer(&tok->source, comment),
  ------------------
  |  Branch (214:21): [True: 3.51k, False: 538]
  ------------------
  215|  4.05k|                           "ignore", 6) == 0;
  216|  4.45k|                if (is_type_ignore && comment + 6 < tok->cur) {
  ------------------
  |  Branch (216:21): [True: 3.51k, False: 939]
  |  Branch (216:39): [True: 3.07k, False: 442]
  ------------------
  217|  3.07k|                    int ch = _PyTok_SourceByte(&tok->source, comment + 6);
  218|  3.07k|                    is_type_ignore = ch < 128 && !Py_ISALNUM(ch);
  ------------------
  |  |   26|  5.98k|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  170|  2.91k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|  2.91k|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|  2.91k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|  2.91k|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|  2.91k|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|  2.91k|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (218:38): [True: 2.91k, False: 160]
  |  Branch (218:50): [True: 2.91k, False: 4]
  ------------------
  219|  3.07k|                }
  220|       |
  221|  4.45k|                int type = is_type_ignore ? TYPE_IGNORE : TYPE_COMMENT;
  ------------------
  |  |   72|  3.35k|#define TYPE_IGNORE     56
  ------------------
                              int type = is_type_ignore ? TYPE_IGNORE : TYPE_COMMENT;
  ------------------
  |  |   73|  1.10k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (221:28): [True: 3.35k, False: 1.10k]
  ------------------
  222|  4.45k|                p_start = comment + (is_type_ignore ? 6 : 0);
  ------------------
  |  Branch (222:38): [True: 3.35k, False: 1.10k]
  ------------------
  223|  4.45k|                p_end = tok->cur;
  224|  4.45k|                int start_col_offset = tok->start_loc.byte_col +
  225|  4.45k|                    (int)(p_start - tok->start);
  226|       |                /* Consume the newline after a standalone type ignore. */
  227|  4.45k|                if (is_type_ignore && blankline) {
  ------------------
  |  Branch (227:21): [True: 3.35k, False: 1.10k]
  |  Branch (227:39): [True: 1.59k, False: 1.76k]
  ------------------
  228|  1.59k|                    tok_nextc(tok);
  229|  1.59k|                    tok->layout.at_bol = 1;
  230|  1.59k|                }
  231|  4.45k|                _PyLexer_token_setup(tok, token, type, p_start, p_end);
  232|  4.45k|                token->start_loc = (_PyTok_Loc){tok->lineno, start_col_offset};
  233|  4.45k|                token->end_loc = (_PyTok_Loc){tok->lineno,
  234|  4.45k|                                              _PyLexer_ByteColumn(tok)};
  235|  4.45k|                return type;
  236|  4.45k|            }
  237|  19.0k|        }
  238|  43.0k|        if (tok->implicit_newline == _PyTokenizer_IMPLY_NEWLINE &&
  ------------------
  |  Branch (238:13): [True: 1.92k, False: 41.1k]
  ------------------
  239|  1.92k|            tok->layout.depth > 0) {
  ------------------
  |  Branch (239:13): [True: 511, False: 1.41k]
  ------------------
  240|       |            // Ending this comment lets the next line dedent the suite.
  241|    511|            tok->needs_newline |= _PyTokenizer_NEWLINE_STATEMENT;
  242|    511|        }
  243|  43.0k|        if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (243:13): [True: 0, False: 43.0k]
  ------------------
  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|  43.0k|    }
  251|       |
  252|  4.89M|    if (tok->done == E_INTERACT_STOP) {
  ------------------
  |  |   39|  4.89M|#define E_INTERACT_STOP  28      /* Interactive mode stopped tokenization */
  ------------------
  |  Branch (252:9): [True: 0, False: 4.89M]
  ------------------
  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|  4.89M|    if (c == EOF) {
  ------------------
  |  Branch (257:9): [True: 19.7k, False: 4.87M]
  ------------------
  258|  19.7k|        if (tok->level) {
  ------------------
  |  Branch (258:13): [True: 2.97k, False: 16.8k]
  ------------------
  259|  2.97k|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   10|  2.97k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  260|  2.97k|        }
  261|  16.8k|        return MAKE_TOKEN(tok->done == E_EOF ? ENDMARKER : ERRORTOKEN);
  ------------------
  |  |   10|  33.6k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (10:65): [True: 16.8k, False: 12]
  |  |  ------------------
  ------------------
  262|  19.7k|    }
  263|       |
  264|       |    /* Identifier (most frequent token!) */
  265|  4.87M|    nonascii = 0;
  266|  4.87M|    if (is_potential_identifier_start(c)) {
  ------------------
  |  |    7|  4.87M|#define is_potential_identifier_start(c) (\
  |  |    8|  4.87M|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (8:16): [True: 1.20M, False: 3.66M]
  |  |  |  Branch (8:28): [True: 937k, False: 268k]
  |  |  ------------------
  |  |    9|  4.87M|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (9:20): [True: 610k, False: 3.32M]
  |  |  |  Branch (9:32): [True: 92.5k, False: 517k]
  |  |  ------------------
  |  |   10|  4.87M|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (10:19): [True: 60.5k, False: 3.78M]
  |  |  ------------------
  |  |   11|  4.87M|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (11:19): [True: 29.9k, False: 3.75M]
  |  |  ------------------
  ------------------
  267|       |        /* Process the various legal combinations of b"", r"", u"", and f"". */
  268|  1.12M|        int saw_b = 0, saw_r = 0, saw_u = 0, saw_f = 0, saw_t = 0;
  269|  1.42M|        while (1) {
  ------------------
  |  Branch (269:16): [True: 1.42M, Folded]
  ------------------
  270|  1.42M|            if (!saw_b && (c == 'b' || c == 'B')) {
  ------------------
  |  Branch (270:17): [True: 1.41M, False: 16.0k]
  |  Branch (270:28): [True: 29.2k, False: 1.38M]
  |  Branch (270:40): [True: 2.53k, False: 1.38M]
  ------------------
  271|  31.7k|                saw_b = 1;
  272|  31.7k|            }
  273|       |            /* Since this is a backwards compatibility support literal we don't
  274|       |               want to support it in arbitrary order like byte literals. */
  275|  1.39M|            else if (!saw_u && (c == 'u'|| c == 'U')) {
  ------------------
  |  Branch (275:22): [True: 1.37M, False: 24.5k]
  |  Branch (275:33): [True: 24.3k, False: 1.34M]
  |  Branch (275:44): [True: 1.50k, False: 1.34M]
  ------------------
  276|  25.8k|                saw_u = 1;
  277|  25.8k|            }
  278|       |            /* ur"" and ru"" are not supported */
  279|  1.37M|            else if (!saw_r && (c == 'r' || c == 'R')) {
  ------------------
  |  Branch (279:22): [True: 1.26M, False: 110k]
  |  Branch (279:33): [True: 98.1k, False: 1.16M]
  |  Branch (279:45): [True: 6.97k, False: 1.15M]
  ------------------
  280|   105k|                saw_r = 1;
  281|   105k|            }
  282|  1.26M|            else if (!saw_f && (c == 'f' || c == 'F')) {
  ------------------
  |  Branch (282:22): [True: 1.16M, False: 98.8k]
  |  Branch (282:33): [True: 85.8k, False: 1.08M]
  |  Branch (282:45): [True: 12.7k, False: 1.06M]
  ------------------
  283|  98.5k|                saw_f = 1;
  284|  98.5k|            }
  285|  1.16M|            else if (!saw_t && (c == 't' || c == 'T')) {
  ------------------
  |  Branch (285:22): [True: 1.08M, False: 83.9k]
  |  Branch (285:33): [True: 80.9k, False: 1.00M]
  |  Branch (285:45): [True: 11.4k, False: 991k]
  ------------------
  286|  92.3k|                saw_t = 1;
  287|  92.3k|            }
  288|  1.07M|            else {
  289|  1.07M|                break;
  290|  1.07M|            }
  291|   353k|            c = tok_nextc(tok);
  292|   353k|            if (c == '"' || c == '\'') {
  ------------------
  |  Branch (292:17): [True: 33.6k, False: 320k]
  |  Branch (292:29): [True: 11.5k, False: 308k]
  ------------------
  293|       |                // Raise error on incompatible string prefixes:
  294|  45.1k|                int status = _PyLexer_check_string_prefixes(
  295|  45.1k|                    tok, saw_b, saw_r, saw_u, saw_f, saw_t);
  296|  45.1k|                if (status < 0) {
  ------------------
  |  Branch (296:21): [True: 12, False: 45.1k]
  ------------------
  297|     12|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   10|     12|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  298|     12|                }
  299|       |
  300|       |                // Handle valid f or t string creation:
  301|  45.1k|                if (saw_f || saw_t) {
  ------------------
  |  Branch (301:21): [True: 13.0k, False: 32.1k]
  |  Branch (301:30): [True: 8.39k, False: 23.7k]
  ------------------
  302|  21.4k|                    ftstring_kind kind = saw_t
  ------------------
  |  Branch (302:42): [True: 8.39k, False: 13.0k]
  ------------------
  303|  21.4k|                        ? (saw_r ? RAW_TSTRING : TSTRING)
  ------------------
  |  Branch (303:28): [True: 1.13k, False: 7.25k]
  ------------------
  304|  21.4k|                        : (saw_r ? RAW_FSTRING : FSTRING);
  ------------------
  |  Branch (304:28): [True: 245, False: 12.8k]
  ------------------
  305|  21.4k|                    return _PyLexer_scan_fstring_start(tok, token, c, kind);
  306|  21.4k|                }
  307|  23.7k|                return _PyLexer_scan_string(tok, token, c);
  308|  45.1k|            }
  309|   353k|        }
  310|  6.44M|        while (is_potential_identifier_char(c)) {
  ------------------
  |  |   13|  6.44M|#define is_potential_identifier_char(c) (\
  |  |   14|  6.44M|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (14:16): [True: 4.78M, False: 1.66M]
  |  |  |  Branch (14:28): [True: 2.93M, False: 1.85M]
  |  |  ------------------
  |  |   15|  6.44M|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (15:20): [True: 2.28M, False: 1.23M]
  |  |  |  Branch (15:32): [True: 244k, False: 2.03M]
  |  |  ------------------
  |  |   16|  6.44M|               || (c >= '0' && c <= '9')\
  |  |  ------------------
  |  |  |  Branch (16:20): [True: 2.52M, False: 748k]
  |  |  |  Branch (16:32): [True: 223k, False: 2.29M]
  |  |  ------------------
  |  |   17|  6.44M|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (17:19): [True: 137k, False: 2.90M]
  |  |  ------------------
  |  |   18|  6.44M|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (18:19): [True: 1.83M, False: 1.07M]
  |  |  ------------------
  ------------------
  311|  5.37M|            if (c >= 128) {
  ------------------
  |  Branch (311:17): [True: 1.83M, False: 3.53M]
  ------------------
  312|  1.83M|                nonascii = 1;
  313|  1.83M|            }
  314|  5.37M|            c = tok_nextc(tok);
  315|  5.37M|        }
  316|  1.07M|        tok_backup(tok, c);
  ------------------
  |  |   24|  1.07M|#define tok_backup _PyLexer_backup
  ------------------
  317|  1.07M|        if (nonascii && !verify_identifier(tok)) {
  ------------------
  |  Branch (317:13): [True: 63.4k, False: 1.01M]
  |  Branch (317:25): [True: 1.08k, False: 62.3k]
  ------------------
  318|  1.08k|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   10|  1.08k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  319|  1.08k|        }
  320|       |
  321|  1.07M|        p_start = tok->start;
  322|  1.07M|        p_end = tok->cur;
  323|       |
  324|  1.07M|        return MAKE_TOKEN(NAME);
  ------------------
  |  |   10|  1.07M|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  325|  1.07M|    }
  326|       |
  327|  3.75M|    if (c == '\r') {
  ------------------
  |  Branch (327:9): [True: 0, False: 3.75M]
  ------------------
  328|      0|        c = tok_nextc(tok);
  329|      0|    }
  330|       |
  331|  3.75M|    if (c == '\n') {
  ------------------
  |  Branch (331:9): [True: 325k, False: 3.42M]
  ------------------
  332|   325k|        int type = _PyLexer_Newline(tok, token, blankline);
  333|   325k|        if (type == 0) {
  ------------------
  |  Branch (333:13): [True: 171k, False: 154k]
  ------------------
  334|   171k|            goto nextline;
  335|   171k|        }
  336|   154k|        return type;
  337|   325k|    }
  338|       |
  339|       |    /* Period or number starting with period? */
  340|  3.42M|    if (c == '.') {
  ------------------
  |  Branch (340:9): [True: 70.1k, False: 3.35M]
  ------------------
  341|  70.1k|        c = tok_nextc(tok);
  342|  70.1k|        if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  70.1k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|  70.1k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  70.1k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 13.6k, False: 56.5k]
  |  |  ------------------
  ------------------
  343|  13.6k|            return _PyLexer_scan_number(tok, token, c, 1);
  344|  56.5k|        } else if (c == '.') {
  ------------------
  |  Branch (344:20): [True: 22.8k, False: 33.6k]
  ------------------
  345|  22.8k|            c = tok_nextc(tok);
  346|  22.8k|            if (c == '.') {
  ------------------
  |  Branch (346:17): [True: 21.8k, False: 1.00k]
  ------------------
  347|  21.8k|                p_start = tok->start;
  348|  21.8k|                p_end = tok->cur;
  349|  21.8k|                return MAKE_TOKEN(ELLIPSIS);
  ------------------
  |  |   10|  21.8k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  350|  21.8k|            }
  351|  1.00k|            else {
  352|  1.00k|                tok_backup(tok, c);
  ------------------
  |  |   24|  1.00k|#define tok_backup _PyLexer_backup
  ------------------
  353|  1.00k|            }
  354|  1.00k|            tok_backup(tok, '.');
  ------------------
  |  |   24|  1.00k|#define tok_backup _PyLexer_backup
  ------------------
  355|  1.00k|        }
  356|  33.6k|        else {
  357|  33.6k|            tok_backup(tok, c);
  ------------------
  |  |   24|  33.6k|#define tok_backup _PyLexer_backup
  ------------------
  358|  33.6k|        }
  359|  34.6k|        p_start = tok->start;
  360|  34.6k|        p_end = tok->cur;
  361|  34.6k|        return MAKE_TOKEN(DOT);
  ------------------
  |  |   10|  34.6k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  362|  70.1k|    }
  363|       |
  364|       |
  365|       |    /* Number */
  366|  3.35M|    if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  3.35M|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|  3.35M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  3.35M|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 825k, False: 2.52M]
  |  |  ------------------
  ------------------
  367|   825k|        return _PyLexer_scan_number(tok, token, c, 0);
  368|   825k|    }
  369|       |
  370|       |    /* String */
  371|  2.52M|    if (c == '\'' || c == '"') {
  ------------------
  |  Branch (371:9): [True: 11.7k, False: 2.51M]
  |  Branch (371:22): [True: 27.8k, False: 2.49M]
  ------------------
  372|  39.5k|        return _PyLexer_scan_string(tok, token, c);
  373|  39.5k|    }
  374|       |
  375|       |    /* Line continuation */
  376|  2.49M|    if (c == '\\') {
  ------------------
  |  Branch (376:9): [True: 881, False: 2.48M]
  ------------------
  377|    881|        if ((c = _PyLexer_ContinueLine(tok)) == -1) {
  ------------------
  |  Branch (377:13): [True: 140, False: 741]
  ------------------
  378|    140|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   10|    140|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  379|    140|        }
  380|    741|        goto again; /* Read next line */
  381|    881|    }
  382|       |
  383|       |    /* Punctuation character */
  384|  2.48M|    int is_punctuation = (c == ':' || c == '}' || c == '!');
  ------------------
  |  Branch (384:27): [True: 170k, False: 2.31M]
  |  Branch (384:39): [True: 35.7k, False: 2.28M]
  |  Branch (384:51): [True: 7.16k, False: 2.27M]
  ------------------
  385|  2.48M|    if (is_punctuation && current != NULL) {
  ------------------
  |  Branch (385:9): [True: 213k, False: 2.27M]
  |  Branch (385:27): [True: 36.1k, False: 177k]
  ------------------
  386|  36.1k|        int type = _PyLexer_ftstring_punctuation(tok, current, token, c);
  387|  36.1k|        if (type < 0) {
  ------------------
  |  Branch (387:13): [True: 1, False: 36.1k]
  ------------------
  388|      1|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   10|      1|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  389|      1|        }
  390|  36.1k|        if (type != 0) {
  ------------------
  |  Branch (390:13): [True: 11.4k, False: 24.6k]
  ------------------
  391|  11.4k|            p_start = tok->start;
  392|  11.4k|            p_end = tok->cur;
  393|  11.4k|            return MAKE_TOKEN(type);
  ------------------
  |  |   10|  11.4k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  394|  11.4k|        }
  395|  36.1k|    }
  396|       |
  397|       |    /* Check for two-character token */
  398|  2.47M|    {
  399|  2.47M|        int c2 = tok_nextc(tok);
  400|  2.47M|        int current_token = _PyToken_TwoChars(c, c2, tok->barry_as_bdfl);
  401|  2.47M|        if (current_token != OP) {
  ------------------
  |  |   71|  2.47M|#define OP              55
  ------------------
  |  Branch (401:13): [True: 155k, False: 2.32M]
  ------------------
  402|   155k|            int c3 = tok_nextc(tok);
  403|   155k|            int current_token3 = _PyToken_ThreeChars(c, c2, c3);
  404|   155k|            if (current_token3 != OP) {
  ------------------
  |  |   71|   155k|#define OP              55
  ------------------
  |  Branch (404:17): [True: 947, False: 154k]
  ------------------
  405|    947|                current_token = current_token3;
  406|    947|            }
  407|   154k|            else {
  408|   154k|                tok_backup(tok, c3);
  ------------------
  |  |   24|   154k|#define tok_backup _PyLexer_backup
  ------------------
  409|   154k|            }
  410|   155k|            p_start = tok->start;
  411|   155k|            p_end = tok->cur;
  412|   155k|            return MAKE_TOKEN(current_token);
  ------------------
  |  |   10|   155k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  413|   155k|        }
  414|  2.32M|        tok_backup(tok, c2);
  ------------------
  |  |   24|  2.32M|#define tok_backup _PyLexer_backup
  ------------------
  415|  2.32M|    }
  416|       |
  417|       |    /* Keep track of parentheses nesting level */
  418|      0|    switch (c) {
  419|   136k|    case '(':
  ------------------
  |  Branch (419:5): [True: 136k, False: 2.18M]
  ------------------
  420|   229k|    case '[':
  ------------------
  |  Branch (420:5): [True: 92.8k, False: 2.22M]
  ------------------
  421|   289k|    case '{':
  ------------------
  |  Branch (421:5): [True: 60.5k, False: 2.26M]
  ------------------
  422|   289k|        if (tok->level >= MAXLEVEL) {
  ------------------
  |  |    9|   289k|#define MAXLEVEL 200        /* Max parentheses level */
  ------------------
  |  Branch (422:13): [True: 28, False: 289k]
  ------------------
  423|     28|            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "too many nested parentheses"));
  ------------------
  |  |   10|     28|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  424|     28|        }
  425|   289k|        tok->parenstack[tok->level] = c;
  426|   289k|        tok->parenlinenostack[tok->level] = tok->lineno;
  427|   289k|        tok->parencolstack[tok->level] = (int)(tok->start - tok->line_start);
  428|   289k|        tok->level++;
  429|   289k|        break;
  430|   101k|    case ')':
  ------------------
  |  Branch (430:5): [True: 101k, False: 2.22M]
  ------------------
  431|   158k|    case ']':
  ------------------
  |  Branch (431:5): [True: 56.7k, False: 2.26M]
  ------------------
  432|   194k|    case '}':
  ------------------
  |  Branch (432:5): [True: 35.7k, False: 2.28M]
  ------------------
  433|   194k|        if (current != NULL &&
  ------------------
  |  Branch (433:13): [True: 19.4k, False: 174k]
  ------------------
  434|  19.4k|                _PyLexer_FTStringBracketDepth(tok, current) == 0) {
  ------------------
  |  Branch (434:17): [True: 0, False: 19.4k]
  ------------------
  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|   194k|        if (!tok->tok_extra_tokens && !tok->level) {
  ------------------
  |  Branch (444:13): [True: 194k, False: 0]
  |  Branch (444:39): [True: 202, False: 194k]
  ------------------
  445|    202|            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "unmatched '%c'", c));
  ------------------
  |  |   10|    202|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  446|    202|        }
  447|   194k|        if (tok->level > 0) {
  ------------------
  |  Branch (447:13): [True: 194k, False: 0]
  ------------------
  448|   194k|            tok->level--;
  449|   194k|            int opening = tok->parenstack[tok->level];
  450|   194k|            if (!((opening == '(' && c == ')') ||
  ------------------
  |  Branch (450:20): [True: 101k, False: 92.4k]
  |  Branch (450:38): [True: 101k, False: 35]
  ------------------
  451|  92.4k|                  (opening == '[' && c == ']') ||
  ------------------
  |  Branch (451:20): [True: 56.6k, False: 35.7k]
  |  Branch (451:38): [True: 56.6k, False: 25]
  ------------------
  452|  35.7k|                  (opening == '{' && c == '}'))) {
  ------------------
  |  Branch (452:20): [True: 35.7k, False: 60]
  |  Branch (452:38): [True: 35.6k, False: 43]
  ------------------
  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|    103|                if (current != NULL && opening == '{') {
  ------------------
  |  Branch (456:21): [True: 17, False: 86]
  |  Branch (456:40): [True: 14, False: 3]
  ------------------
  457|     14|                    int bracket_depth =
  458|     14|                        _PyLexer_FTStringBracketDepth(tok, current);
  459|     14|                    if (bracket_depth == current->replacement_depth - 1) {
  ------------------
  |  Branch (459:25): [True: 10, False: 4]
  ------------------
  460|     10|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   10|     10|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  461|     10|                            "%c-string: unmatched '%c'",
  462|     10|                            _PyLexer_StringPrefix(current->kind), c));
  463|     10|                    }
  464|     14|                }
  465|     93|                if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (465:21): [True: 0, False: 93]
  ------------------
  466|       |                    /* Allow other mismatched brackets. */
  467|      0|                }
  468|     93|                else if (tok->parenlinenostack[tok->level] != tok->lineno) {
  ------------------
  |  Branch (468:26): [True: 11, False: 82]
  ------------------
  469|     11|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   10|     11|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  470|     11|                            "closing parenthesis '%c' does not match "
  471|     11|                            "opening parenthesis '%c' on line %d",
  472|     11|                            c, opening, tok->parenlinenostack[tok->level]));
  473|     11|                }
  474|     82|                else {
  475|     82|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   10|     82|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  476|     82|                            "closing parenthesis '%c' does not match "
  477|     82|                            "opening parenthesis '%c'",
  478|     82|                            c, opening));
  479|     82|                }
  480|     93|            }
  481|   194k|        }
  482|   193k|        if (current != NULL &&
  ------------------
  |  Branch (482:13): [True: 19.4k, False: 174k]
  ------------------
  483|  19.4k|                _PyLexer_close_ftstring_expr(tok, current, c) < 0) {
  ------------------
  |  Branch (483:17): [True: 0, False: 19.4k]
  ------------------
  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|   193k|        break;
  487|  1.83M|    default:
  ------------------
  |  Branch (487:5): [True: 1.83M, False: 483k]
  ------------------
  488|  1.83M|        break;
  489|  2.32M|    }
  490|       |
  491|  2.32M|    if (!Py_UNICODE_ISPRINTABLE(c)) {
  ------------------
  |  |  722|  2.32M|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  ------------------
  |  Branch (491:9): [True: 398, False: 2.32M]
  ------------------
  492|    398|        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid non-printable character U+%04X", c));
  ------------------
  |  |   10|    398|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  493|    398|    }
  494|       |
  495|  2.32M|    if (c == '=' && current != NULL) {
  ------------------
  |  Branch (495:9): [True: 92.0k, False: 2.22M]
  |  Branch (495:21): [True: 4.51k, False: 87.5k]
  ------------------
  496|  4.51k|        _PyLexer_mark_ftstring_debug(tok, current);
  497|  4.51k|    }
  498|       |
  499|       |    /* Punctuation character */
  500|  2.32M|    p_start = tok->start;
  501|  2.32M|    p_end = tok->cur;
  502|  2.32M|    return MAKE_TOKEN(_PyToken_OneChar(c));
  ------------------
  |  |   10|  2.32M|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  503|  2.32M|}
_PyTokenizer_Get:
  508|  4.81M|{
  509|  4.81M|    _PyToken_Free(token);
  510|  4.81M|    ftstring_state *current = _PyLexer_CurrentFTString(tok);
  511|  4.81M|    int result;
  512|  4.81M|    if (current == NULL) {
  ------------------
  |  Branch (512:9): [True: 4.59M, False: 213k]
  ------------------
  513|  4.59M|        result = _PyLexer_get_normal(tok, NULL, token);
  514|  4.59M|    }
  515|   213k|    else {
  516|   213k|        switch (current->mode) {
  517|   143k|        case FTSTRING_MODE_EXPRESSION:
  ------------------
  |  Branch (517:9): [True: 143k, False: 69.5k]
  ------------------
  518|   143k|            result = _PyLexer_get_normal(tok, current, token);
  519|   143k|            break;
  520|  58.0k|        case FTSTRING_MODE_MIDDLE:
  ------------------
  |  Branch (520:9): [True: 58.0k, False: 155k]
  ------------------
  521|  69.5k|        case FTSTRING_MODE_FORMAT_SPEC:
  ------------------
  |  Branch (521:9): [True: 11.5k, False: 202k]
  ------------------
  522|  69.5k|            result = _PyLexer_get_ftstring(tok, current, token);
  523|  69.5k|            break;
  524|      0|        default:
  ------------------
  |  Branch (524:9): [True: 0, False: 213k]
  ------------------
  525|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  526|   213k|        }
  527|   213k|    }
  528|  4.81M|    if (tok_failed(tok) && tok->done != E_INCOMPLETE) {
  ------------------
  |  |   41|  3.39k|#define E_INCOMPLETE     30      /* An unfinished token in partial input */
  ------------------
  |  Branch (528:9): [True: 3.39k, False: 4.80M]
  |  Branch (528:28): [True: 3.21k, False: 187]
  ------------------
  529|  3.21k|        result = ERRORTOKEN;
  ------------------
  |  |   83|  3.21k|#define ERRORTOKEN      67
  ------------------
  530|  3.21k|    }
  531|  4.81M|    token->type = result;
  532|  4.81M|}
lexer.c:verify_identifier:
   65|  63.4k|{
   66|  63.4k|    if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (66:9): [True: 0, False: 63.4k]
  ------------------
   67|      0|        return 1;
   68|      0|    }
   69|  63.4k|    PyObject *s;
   70|  63.4k|    if (tok_failed(tok))
  ------------------
  |  Branch (70:9): [True: 0, False: 63.4k]
  ------------------
   71|      0|        return 0;
   72|  63.4k|    s = PyUnicode_DecodeUTF8(_PyTok_SourcePointer(&tok->source, tok->start),
   73|  63.4k|                             tok->cur - tok->start, NULL);
   74|  63.4k|    if (s == NULL) {
  ------------------
  |  Branch (74:9): [True: 727, False: 62.7k]
  ------------------
   75|    727|        if (PyErr_ExceptionMatches(PyExc_UnicodeDecodeError)) {
  ------------------
  |  Branch (75:13): [True: 727, False: 0]
  ------------------
   76|    727|            tok->done = E_DECODE;
  ------------------
  |  |   34|    727|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
   77|    727|        }
   78|      0|        else {
   79|      0|            tok->done = E_ERROR;
  ------------------
  |  |   29|      0|#define E_ERROR          17      /* Execution error */
  ------------------
   80|      0|        }
   81|    727|        return 0;
   82|    727|    }
   83|  62.7k|    Py_ssize_t invalid = _PyUnicode_ScanIdentifier(s);
   84|  62.7k|    assert(invalid >= 0);
  ------------------
  |  Branch (84:5): [True: 62.7k, False: 0]
  ------------------
   85|  62.7k|    assert(PyUnicode_GET_LENGTH(s) > 0);
  ------------------
  |  Branch (85:5): [True: 62.7k, False: 0]
  ------------------
   86|  62.7k|    if (invalid < PyUnicode_GET_LENGTH(s)) {
  ------------------
  |  |  300|  62.7k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (86:9): [True: 354, False: 62.3k]
  ------------------
   87|    354|        Py_UCS4 ch = PyUnicode_READ_CHAR(s, invalid);
  ------------------
  |  |  382|    354|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|    354|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    354|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   88|    354|        _PyTok_Off error_cursor = tok->cur;
   89|    354|        if (invalid + 1 < PyUnicode_GET_LENGTH(s)) {
  ------------------
  |  |  300|    354|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    354|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    354|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (89:13): [True: 246, False: 108]
  ------------------
   90|       |            /* Determine the offset in UTF-8 encoded input */
   91|    246|            Py_SETREF(s, PyUnicode_Substring(s, 0, invalid + 1));
  ------------------
  |  |  545|    246|    do { \
  |  |  546|    246|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    246|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|    246|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    246|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|    246|        *_tmp_dst_ptr = (src); \
  |  |  549|    246|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|    246|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|    246|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 246]
  |  |  ------------------
  ------------------
   92|    246|            if (s != NULL) {
  ------------------
  |  Branch (92:17): [True: 246, False: 0]
  ------------------
   93|    246|                Py_SETREF(s, PyUnicode_AsUTF8String(s));
  ------------------
  |  |  545|    246|    do { \
  |  |  546|    246|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    246|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|    246|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    246|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|    246|        *_tmp_dst_ptr = (src); \
  |  |  549|    246|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|    246|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|    246|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 246]
  |  |  ------------------
  ------------------
   94|    246|            }
   95|    246|            if (s == NULL) {
  ------------------
  |  Branch (95:17): [True: 0, False: 246]
  ------------------
   96|      0|                tok->done = E_ERROR;
  ------------------
  |  |   29|      0|#define E_ERROR          17      /* Execution error */
  ------------------
   97|      0|                return 0;
   98|      0|            }
   99|    246|            error_cursor = tok->start + PyBytes_GET_SIZE(s);
  ------------------
  |  |   33|    246|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  100|    246|        }
  101|    354|        Py_DECREF(s);
  ------------------
  |  |  430|    354|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    354|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    354|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  102|    354|        if (Py_UNICODE_ISPRINTABLE(ch)) {
  ------------------
  |  |  722|    354|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  |  |  |  Branch (722:36): [True: 119, False: 235]
  |  |  ------------------
  ------------------
  103|    119|            _PyTokenizer_syntaxerror_at(
  104|    119|                tok, _PyTok_SourcePointer(&tok->source, tok->line_start),
  105|    119|                error_cursor - tok->line_start, tok->lineno, -1, -1,
  106|    119|                "invalid character '%c' (U+%04X)", ch, ch);
  107|    119|        }
  108|    235|        else {
  109|    235|            _PyTokenizer_syntaxerror_at(
  110|    235|                tok, _PyTok_SourcePointer(&tok->source, tok->line_start),
  111|    235|                error_cursor - tok->line_start, tok->lineno, -1, -1,
  112|    235|                "invalid non-printable character U+%04X", ch);
  113|    235|        }
  114|    354|        return 0;
  115|    354|    }
  116|  62.3k|    Py_DECREF(s);
  ------------------
  |  |  430|  62.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  117|  62.3k|    return 1;
  118|  62.7k|}

lexer.c:tok_nextc:
   37|  21.1M|{
   38|  21.1M|    while (tok->cur == tok->inp) {
  ------------------
  |  Branch (38:12): [True: 40.7k, False: 21.0M]
  ------------------
   39|  40.7k|        if (!_PyLexer_refill(tok)) {
  ------------------
  |  Branch (39:13): [True: 40.7k, False: 0]
  ------------------
   40|  40.7k|            return EOF;
   41|  40.7k|        }
   42|  40.7k|    }
   43|  21.0M|    if (tok->cur - tok->line_start >= INT_MAX) {
  ------------------
  |  Branch (43:9): [True: 0, False: 21.0M]
  ------------------
   44|      0|        tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   45|      0|        return EOF;
   46|      0|    }
   47|  21.0M|    return _PyTok_SourceByte(&tok->source, tok->cur++);
   48|  21.0M|}
lexer.c:tok_failed:
   28|  4.87M|{
   29|  4.87M|    return tok->done != E_OK && tok->done != E_EOF &&
  ------------------
  |  |   22|  9.75M|#define E_OK             10      /* No error */
  ------------------
                  return tok->done != E_OK && tok->done != E_EOF &&
  ------------------
  |  |   23|  4.90M|#define E_EOF            11      /* End Of File */
  ------------------
  |  Branch (29:12): [True: 27.5k, False: 4.84M]
  |  Branch (29:33): [True: 3.39k, False: 24.1k]
  ------------------
   30|  3.39k|           tok->done != E_INTERACT_STOP;
  ------------------
  |  |   39|  3.39k|#define E_INTERACT_STOP  28      /* Interactive mode stopped tokenization */
  ------------------
  |  Branch (30:12): [True: 3.39k, False: 0]
  ------------------
   31|  4.87M|}
layout.c:tok_nextc:
   37|   404k|{
   38|   738k|    while (tok->cur == tok->inp) {
  ------------------
  |  Branch (38:12): [True: 351k, False: 386k]
  ------------------
   39|   351k|        if (!_PyLexer_refill(tok)) {
  ------------------
  |  Branch (39:13): [True: 17.5k, False: 334k]
  ------------------
   40|  17.5k|            return EOF;
   41|  17.5k|        }
   42|   351k|    }
   43|   386k|    if (tok->cur - tok->line_start >= INT_MAX) {
  ------------------
  |  Branch (43:9): [True: 0, False: 386k]
  ------------------
   44|      0|        tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   45|      0|        return EOF;
   46|      0|    }
   47|   386k|    return _PyTok_SourceByte(&tok->source, tok->cur++);
   48|   386k|}
number.c:tok_nextc:
   37|  5.24M|{
   38|  5.24M|    while (tok->cur == tok->inp) {
  ------------------
  |  Branch (38:12): [True: 303, False: 5.24M]
  ------------------
   39|    303|        if (!_PyLexer_refill(tok)) {
  ------------------
  |  Branch (39:13): [True: 303, False: 0]
  ------------------
   40|    303|            return EOF;
   41|    303|        }
   42|    303|    }
   43|  5.24M|    if (tok->cur - tok->line_start >= INT_MAX) {
  ------------------
  |  Branch (43:9): [True: 0, False: 5.24M]
  ------------------
   44|      0|        tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   45|      0|        return EOF;
   46|      0|    }
   47|  5.24M|    return _PyTok_SourceByte(&tok->source, tok->cur++);
   48|  5.24M|}
string.c:tok_nextc:
   37|  2.97M|{
   38|  3.03M|    while (tok->cur == tok->inp) {
  ------------------
  |  Branch (38:12): [True: 63.3k, False: 2.97M]
  ------------------
   39|  63.3k|        if (!_PyLexer_refill(tok)) {
  ------------------
  |  Branch (39:13): [True: 362, False: 63.0k]
  ------------------
   40|    362|            return EOF;
   41|    362|        }
   42|  63.3k|    }
   43|  2.97M|    if (tok->cur - tok->line_start >= INT_MAX) {
  ------------------
  |  Branch (43:9): [True: 0, False: 2.97M]
  ------------------
   44|      0|        tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   45|      0|        return EOF;
   46|      0|    }
   47|  2.97M|    return _PyTok_SourceByte(&tok->source, tok->cur++);
   48|  2.97M|}
string.c:tok_failed:
   28|    798|{
   29|    798|    return tok->done != E_OK && tok->done != E_EOF &&
  ------------------
  |  |   22|  1.59k|#define E_OK             10      /* No error */
  ------------------
                  return tok->done != E_OK && tok->done != E_EOF &&
  ------------------
  |  |   23|  1.04k|#define E_EOF            11      /* End Of File */
  ------------------
  |  Branch (29:12): [True: 245, False: 553]
  |  Branch (29:33): [True: 0, False: 245]
  ------------------
   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|    798|}

_PyLexer_scan_number:
  115|   839k|{
  116|   839k|    _PyTok_Off p_start = -1;
  117|   839k|    _PyTok_Off p_end = -1;
  118|       |
  119|   839k|    if (leading_dot) {
  ------------------
  |  Branch (119:9): [True: 13.6k, False: 825k]
  ------------------
  120|  13.6k|        goto fraction;
  121|  13.6k|    }
  122|   825k|    if (c == '0') {
  ------------------
  |  Branch (122:9): [True: 67.6k, False: 757k]
  ------------------
  123|       |        /* Hex, octal or binary -- maybe. */
  124|  67.6k|        c = tok_nextc(tok);
  125|  67.6k|        if (c == 'x' || c == 'X') {
  ------------------
  |  Branch (125:13): [True: 417, False: 67.2k]
  |  Branch (125:25): [True: 477, False: 66.7k]
  ------------------
  126|       |            /* Hex */
  127|    894|            c = tok_nextc(tok);
  128|  1.70k|            do {
  129|  1.70k|                if (c == '_') {
  ------------------
  |  Branch (129:21): [True: 813, False: 894]
  ------------------
  130|    813|                    c = tok_nextc(tok);
  131|    813|                }
  132|  1.70k|                if (!Py_ISXDIGIT(c)) {
  ------------------
  |  |   25|  1.70k|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  170|  1.70k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |   14|  1.70k|#define PY_CTF_XDIGIT 0x10
  |  |  ------------------
  ------------------
  |  Branch (132:21): [True: 5, False: 1.70k]
  ------------------
  133|      5|                    tok_backup(tok, c);
  ------------------
  |  |   24|      5|#define tok_backup _PyLexer_backup
  ------------------
  134|      5|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid hexadecimal literal"));
  ------------------
  |  |    7|      5|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  135|      5|                }
  136|  25.2k|                do {
  137|  25.2k|                    c = tok_nextc(tok);
  138|  25.2k|                } while (Py_ISXDIGIT(c));
  ------------------
  |  |   25|  25.2k|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  170|  25.2k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |   14|  25.2k|#define PY_CTF_XDIGIT 0x10
  |  |  ------------------
  |  |  |  Branch (25:24): [True: 23.5k, False: 1.70k]
  |  |  ------------------
  ------------------
  139|  1.70k|            } while (c == '_');
  ------------------
  |  Branch (139:22): [True: 813, False: 889]
  ------------------
  140|    889|            if (!verify_end_of_number(tok, c, "hexadecimal")) {
  ------------------
  |  Branch (140:17): [True: 4, False: 885]
  ------------------
  141|      4|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      4|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  142|      4|            }
  143|    889|        }
  144|  66.7k|        else if (c == 'o' || c == 'O') {
  ------------------
  |  Branch (144:18): [True: 663, False: 66.0k]
  |  Branch (144:30): [True: 1.34k, False: 64.7k]
  ------------------
  145|       |            /* Octal */
  146|  2.01k|            c = tok_nextc(tok);
  147|  4.17k|            do {
  148|  4.17k|                if (c == '_') {
  ------------------
  |  Branch (148:21): [True: 2.17k, False: 2.00k]
  ------------------
  149|  2.17k|                    c = tok_nextc(tok);
  150|  2.17k|                }
  151|  4.17k|                if (c < '0' || c >= '8') {
  ------------------
  |  Branch (151:21): [True: 10, False: 4.16k]
  |  Branch (151:32): [True: 3, False: 4.16k]
  ------------------
  152|     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: 1, False: 12]
  |  |  ------------------
  ------------------
  153|      1|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |    7|      1|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  154|      1|                                "invalid digit '%c' in octal literal", c));
  155|      1|                    }
  156|     12|                    else {
  157|     12|                        tok_backup(tok, c);
  ------------------
  |  |   24|     12|#define tok_backup _PyLexer_backup
  ------------------
  158|     12|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid octal literal"));
  ------------------
  |  |    7|     12|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  159|     12|                    }
  160|     13|                }
  161|  58.6k|                do {
  162|  58.6k|                    c = tok_nextc(tok);
  163|  58.6k|                } while ('0' <= c && c < '8');
  ------------------
  |  Branch (163:26): [True: 56.9k, False: 1.67k]
  |  Branch (163:38): [True: 54.4k, False: 2.48k]
  ------------------
  164|  4.16k|            } while (c == '_');
  ------------------
  |  Branch (164:22): [True: 2.16k, False: 1.99k]
  ------------------
  165|  1.99k|            if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  1.99k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|  1.99k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  1.99k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 2, False: 1.99k]
  |  |  ------------------
  ------------------
  166|      2|                return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |    7|      2|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  167|      2|                        "invalid digit '%c' in octal literal", c));
  168|      2|            }
  169|  1.99k|            if (!verify_end_of_number(tok, c, "octal")) {
  ------------------
  |  Branch (169:17): [True: 7, False: 1.98k]
  ------------------
  170|      7|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      7|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  171|      7|            }
  172|  1.99k|        }
  173|  64.7k|        else if (c == 'b' || c == 'B') {
  ------------------
  |  Branch (173:18): [True: 690, False: 64.0k]
  |  Branch (173:30): [True: 513, False: 63.5k]
  ------------------
  174|       |            /* Binary */
  175|  1.20k|            c = tok_nextc(tok);
  176|  1.99k|            do {
  177|  1.99k|                if (c == '_') {
  ------------------
  |  Branch (177:21): [True: 1.35k, False: 637]
  ------------------
  178|  1.35k|                    c = tok_nextc(tok);
  179|  1.35k|                }
  180|  1.99k|                if (c != '0' && c != '1') {
  ------------------
  |  Branch (180:21): [True: 275, False: 1.71k]
  |  Branch (180:33): [True: 14, False: 261]
  ------------------
  181|     14|                    if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|     14|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|     14|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|     14|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 3, False: 11]
  |  |  ------------------
  ------------------
  182|      3|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid digit '%c' in binary literal", c));
  ------------------
  |  |    7|      3|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  183|      3|                    }
  184|     11|                    else {
  185|     11|                        tok_backup(tok, c);
  ------------------
  |  |   24|     11|#define tok_backup _PyLexer_backup
  ------------------
  186|     11|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid binary literal"));
  ------------------
  |  |    7|     11|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  187|     11|                    }
  188|     14|                }
  189|  37.0k|                do {
  190|  37.0k|                    c = tok_nextc(tok);
  191|  37.0k|                } while (c == '0' || c == '1');
  ------------------
  |  Branch (191:26): [True: 33.9k, False: 3.10k]
  |  Branch (191:38): [True: 1.12k, False: 1.97k]
  ------------------
  192|  1.97k|            } while (c == '_');
  ------------------
  |  Branch (192:22): [True: 790, False: 1.18k]
  ------------------
  193|  1.18k|            if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  1.18k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|  1.18k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  1.18k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 3, False: 1.18k]
  |  |  ------------------
  ------------------
  194|      3|                return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid digit '%c' in binary literal", c));
  ------------------
  |  |    7|      3|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  195|      3|            }
  196|  1.18k|            if (!verify_end_of_number(tok, c, "binary")) {
  ------------------
  |  Branch (196:17): [True: 4, False: 1.18k]
  ------------------
  197|      4|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      4|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  198|      4|            }
  199|  1.18k|        }
  200|  63.5k|        else {
  201|  63.5k|            int nonzero = 0;
  202|       |            /* maybe old-style octal; c is first char of it */
  203|       |            /* in any case, allow '0' as a literal */
  204|   103k|            while (1) {
  ------------------
  |  Branch (204:20): [True: 103k, Folded]
  ------------------
  205|   103k|                if (c == '_') {
  ------------------
  |  Branch (205:21): [True: 492, False: 102k]
  ------------------
  206|    492|                    c = tok_nextc(tok);
  207|    492|                    if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|    492|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|    492|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|    492|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  ------------------
  |  Branch (207:25): [True: 7, False: 485]
  ------------------
  208|      7|                        tok_backup(tok, c);
  ------------------
  |  |   24|      7|#define tok_backup _PyLexer_backup
  ------------------
  209|      7|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid decimal literal"));
  ------------------
  |  |    7|      7|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  210|      7|                    }
  211|    492|                }
  212|   103k|                if (c != '0') {
  ------------------
  |  Branch (212:21): [True: 63.5k, False: 39.7k]
  ------------------
  213|  63.5k|                    break;
  214|  63.5k|                }
  215|  39.7k|                c = tok_nextc(tok);
  216|  39.7k|            }
  217|  63.5k|            _PyTok_Off zeros_end = tok->cur;
  218|  63.5k|            if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  63.5k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|  63.5k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  63.5k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 2.53k, False: 60.9k]
  |  |  ------------------
  ------------------
  219|  2.53k|                nonzero = 1;
  220|  2.53k|                c = tok_decimal_tail(tok);
  221|  2.53k|                if (c == 0) {
  ------------------
  |  Branch (221:21): [True: 0, False: 2.53k]
  ------------------
  222|      0|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  223|      0|                }
  224|  2.53k|            }
  225|  63.5k|            if (c == '.') {
  ------------------
  |  Branch (225:17): [True: 3.54k, False: 59.9k]
  ------------------
  226|  3.54k|                c = tok_nextc(tok);
  227|  3.54k|                goto fraction;
  228|  3.54k|            }
  229|  59.9k|            else if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (229:22): [True: 1.40k, False: 58.5k]
  |  Branch (229:34): [True: 386, False: 58.1k]
  ------------------
  230|  1.79k|                goto exponent;
  231|  1.79k|            }
  232|  58.1k|            else if (c == 'j' || c == 'J') {
  ------------------
  |  Branch (232:22): [True: 7.52k, False: 50.6k]
  |  Branch (232:34): [True: 1.14k, False: 49.5k]
  ------------------
  233|  8.66k|                goto imaginary;
  234|  8.66k|            }
  235|  49.5k|            else if (nonzero && !tok->tok_extra_tokens) {
  ------------------
  |  Branch (235:22): [True: 75, False: 49.4k]
  |  Branch (235:33): [True: 75, False: 0]
  ------------------
  236|       |                /* Old-style octal: now disallowed. */
  237|     75|                tok_backup(tok, c);
  ------------------
  |  |   24|     75|#define tok_backup _PyLexer_backup
  ------------------
  238|     75|                return MAKE_TOKEN(_PyTokenizer_syntaxerror_known_range(
  ------------------
  |  |    7|     75|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  239|     75|                        tok, (int)(tok->start + 1 - tok->line_start),
  240|     75|                        (int)(zeros_end - tok->line_start),
  241|     75|                        "leading zeros in decimal integer "
  242|     75|                        "literals are not permitted; "
  243|     75|                        "use an 0o prefix for octal integers"));
  244|     75|            }
  245|  49.4k|            if (!verify_end_of_number(tok, c, "decimal")) {
  ------------------
  |  Branch (245:17): [True: 36, False: 49.4k]
  ------------------
  246|     36|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|     36|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  247|     36|            }
  248|  49.4k|        }
  249|  67.6k|    }
  250|   757k|    else {
  251|       |        /* Decimal */
  252|   757k|        c = tok_decimal_tail(tok);
  253|   757k|        if (c == 0) {
  ------------------
  |  Branch (253:13): [True: 10, False: 757k]
  ------------------
  254|     10|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|     10|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  255|     10|        }
  256|   757k|        {
  257|       |            /* Accept floating-point numbers. */
  258|   757k|            if (c == '.') {
  ------------------
  |  Branch (258:17): [True: 38.0k, False: 719k]
  ------------------
  259|  38.0k|                c = tok_nextc(tok);
  260|  55.2k|    fraction:
  261|       |                /* Fraction */
  262|  55.2k|                if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  55.2k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|  55.2k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  55.2k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 35.2k, False: 20.0k]
  |  |  ------------------
  ------------------
  263|  35.2k|                    c = tok_decimal_tail(tok);
  264|  35.2k|                    if (c == 0) {
  ------------------
  |  Branch (264:25): [True: 1, False: 35.2k]
  ------------------
  265|      1|                        return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      1|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  266|      1|                    }
  267|  35.2k|                }
  268|  55.2k|            }
  269|   775k|            if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (269:17): [True: 47.4k, False: 727k]
  |  Branch (269:29): [True: 7.16k, False: 720k]
  ------------------
  270|  54.5k|                int e;
  271|  56.3k|              exponent:
  272|  56.3k|                e = c;
  273|       |                /* Exponent part */
  274|  56.3k|                c = tok_nextc(tok);
  275|  56.3k|                if (c == '+' || c == '-') {
  ------------------
  |  Branch (275:21): [True: 664, False: 55.7k]
  |  Branch (275:33): [True: 20.0k, False: 35.6k]
  ------------------
  276|  20.6k|                    c = tok_nextc(tok);
  277|  20.6k|                    if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  20.6k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|  20.6k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  20.6k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  ------------------
  |  Branch (277:25): [True: 6, False: 20.6k]
  ------------------
  278|      6|                        tok_backup(tok, c);
  ------------------
  |  |   24|      6|#define tok_backup _PyLexer_backup
  ------------------
  279|      6|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid decimal literal"));
  ------------------
  |  |    7|      6|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  280|      6|                    }
  281|  35.6k|                } else if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  35.6k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|  35.6k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  35.6k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  ------------------
  |  Branch (281:28): [True: 2.63k, False: 33.0k]
  ------------------
  282|  2.63k|                    tok_backup(tok, c);
  ------------------
  |  |   24|  2.63k|#define tok_backup _PyLexer_backup
  ------------------
  283|  2.63k|                    if (!verify_end_of_number(tok, e, "decimal")) {
  ------------------
  |  Branch (283:25): [True: 54, False: 2.58k]
  ------------------
  284|     54|                        return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|     54|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  285|     54|                    }
  286|  2.58k|                    tok_backup(tok, e);
  ------------------
  |  |   24|  2.58k|#define tok_backup _PyLexer_backup
  ------------------
  287|  2.58k|                    p_start = tok->start;
  288|  2.58k|                    p_end = tok->cur;
  289|  2.58k|                    return MAKE_TOKEN(NUMBER);
  ------------------
  |  |    7|  2.58k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  290|  2.63k|                }
  291|  53.7k|                c = tok_decimal_tail(tok);
  292|  53.7k|                if (c == 0) {
  ------------------
  |  Branch (292:21): [True: 2, False: 53.7k]
  ------------------
  293|      2|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      2|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  294|      2|                }
  295|  53.7k|            }
  296|   774k|            if (c == 'j' || c == 'J') {
  ------------------
  |  Branch (296:17): [True: 40.3k, False: 733k]
  |  Branch (296:29): [True: 7.40k, False: 726k]
  ------------------
  297|       |                /* Imaginary part */
  298|  56.3k|    imaginary:
  299|  56.3k|                c = tok_nextc(tok);
  300|  56.3k|                if (!verify_end_of_number(tok, c, "imaginary")) {
  ------------------
  |  Branch (300:21): [True: 7, False: 56.3k]
  ------------------
  301|      7|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      7|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  302|      7|                }
  303|  56.3k|            }
  304|   726k|            else if (!verify_end_of_number(tok, c, "decimal")) {
  ------------------
  |  Branch (304:22): [True: 205, False: 726k]
  ------------------
  305|    205|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|    205|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  306|    205|            }
  307|   774k|        }
  308|   774k|    }
  309|   836k|    tok_backup(tok, c);
  ------------------
  |  |   24|   836k|#define tok_backup _PyLexer_backup
  ------------------
  310|   836k|    p_start = tok->start;
  311|   836k|    p_end = tok->cur;
  312|   836k|    return MAKE_TOKEN(NUMBER);
  ------------------
  |  |    7|   836k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  313|   825k|}
number.c:verify_end_of_number:
   33|   838k|verify_end_of_number(struct tok_state *tok, int c, const char *kind) {
   34|   838k|    if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (34:9): [True: 0, False: 838k]
  ------------------
   35|       |        // When we are parsing extra tokens, we don't want to emit warnings
   36|       |        // about invalid literals, because we want to be a bit more liberal.
   37|      0|        return 1;
   38|      0|    }
   39|       |    /* Emit a deprecation warning only if the numeric literal is immediately
   40|       |     * followed by one of keywords which can occur after a numeric literal
   41|       |     * in valid code: "and", "else", "for", "if", "in", "is" and "or".
   42|       |     * It allows to gradually deprecate existing valid code without adding
   43|       |     * warning before error in most cases of invalid numeric literal (which
   44|       |     * would be confusing and break existing tests).
   45|       |     * Raise a syntax error with slightly better message than plain
   46|       |     * "invalid syntax" if the numeric literal is immediately followed by
   47|       |     * other keyword or identifier.
   48|       |     */
   49|   838k|    int r = 0;
   50|   838k|    if (c == 'a') {
  ------------------
  |  Branch (50:9): [True: 4.07k, False: 834k]
  ------------------
   51|  4.07k|        r = lookahead(tok, "nd");
   52|  4.07k|    }
   53|   834k|    else if (c == 'e') {
  ------------------
  |  Branch (53:14): [True: 2.63k, False: 832k]
  ------------------
   54|  2.63k|        r = lookahead(tok, "lse");
   55|  2.63k|    }
   56|   832k|    else if (c == 'f') {
  ------------------
  |  Branch (56:14): [True: 2.28k, False: 829k]
  ------------------
   57|  2.28k|        r = lookahead(tok, "or");
   58|  2.28k|    }
   59|   829k|    else if (c == 'i') {
  ------------------
  |  Branch (59:14): [True: 10.9k, False: 819k]
  ------------------
   60|  10.9k|        int c2 = tok_nextc(tok);
   61|  10.9k|        if (c2 == 'f' || c2 == 'n' || c2 == 's') {
  ------------------
  |  Branch (61:13): [True: 6.32k, False: 4.61k]
  |  Branch (61:26): [True: 1.29k, False: 3.32k]
  |  Branch (61:39): [True: 3.30k, False: 18]
  ------------------
   62|  10.9k|            r = 1;
   63|  10.9k|        }
   64|  10.9k|        tok_backup(tok, c2);
  ------------------
  |  |   24|  10.9k|#define tok_backup _PyLexer_backup
  ------------------
   65|  10.9k|    }
   66|   819k|    else if (c == 'o') {
  ------------------
  |  Branch (66:14): [True: 3.28k, False: 815k]
  ------------------
   67|  3.28k|        r = lookahead(tok, "r");
   68|  3.28k|    }
   69|   815k|    else if (c == 'n') {
  ------------------
  |  Branch (69:14): [True: 653, False: 815k]
  ------------------
   70|    653|        r = lookahead(tok, "ot");
   71|    653|    }
   72|   838k|    if (r) {
  ------------------
  |  Branch (72:9): [True: 23.7k, False: 815k]
  ------------------
   73|  23.7k|        tok_backup(tok, c);
  ------------------
  |  |   24|  23.7k|#define tok_backup _PyLexer_backup
  ------------------
   74|  23.7k|        if (_PyTokenizer_parser_warn(tok, PyExc_SyntaxWarning,
  ------------------
  |  Branch (74:13): [True: 0, False: 23.7k]
  ------------------
   75|  23.7k|                "invalid %s literal", kind))
   76|      0|        {
   77|      0|            return 0;
   78|      0|        }
   79|  23.7k|        tok_nextc(tok);
   80|  23.7k|    }
   81|   815k|    else /* In future releases, only error will remain. */
   82|   815k|    if (c < 128 && is_potential_identifier_char(c)) {
  ------------------
  |  |   13|   814k|#define is_potential_identifier_char(c) (\
  |  |   14|   814k|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (14:16): [True: 13.8k, False: 800k]
  |  |  |  Branch (14:28): [True: 265, False: 13.5k]
  |  |  ------------------
  |  |   15|   814k|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (15:20): [True: 73.6k, False: 740k]
  |  |  |  Branch (15:32): [True: 51, False: 73.5k]
  |  |  ------------------
  |  |   16|   814k|               || (c >= '0' && c <= '9')\
  |  |  ------------------
  |  |  |  Branch (16:20): [True: 149k, False: 664k]
  |  |  |  Branch (16:32): [True: 1, False: 149k]
  |  |  ------------------
  |  |   17|   814k|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (17:19): [True: 0, False: 814k]
  |  |  ------------------
  |  |   18|   814k|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (18:19): [True: 0, False: 814k]
  |  |  ------------------
  ------------------
  |  Branch (82:9): [True: 814k, False: 550]
  ------------------
   83|    317|        tok_backup(tok, c);
  ------------------
  |  |   24|    317|#define tok_backup _PyLexer_backup
  ------------------
   84|    317|        _PyTokenizer_syntaxerror(tok, "invalid %s literal", kind);
   85|    317|        return 0;
   86|    317|    }
   87|   838k|    return 1;
   88|   838k|}
number.c:lookahead:
   11|  12.9k|{
   12|  12.9k|    const char *s = test;
   13|  12.9k|    int res = 0;
   14|  37.8k|    while (1) {
  ------------------
  |  Branch (14:12): [True: 37.8k, Folded]
  ------------------
   15|  37.8k|        int c = tok_nextc(tok);
   16|  37.8k|        if (*s == 0) {
  ------------------
  |  Branch (16:13): [True: 12.8k, False: 25.0k]
  ------------------
   17|  12.8k|            res = !is_potential_identifier_char(c);
  ------------------
  |  |   13|  12.8k|#define is_potential_identifier_char(c) (\
  |  |   14|  12.8k|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (14:16): [True: 89, False: 12.7k]
  |  |  |  Branch (14:28): [True: 6, False: 83]
  |  |  ------------------
  |  |   15|  12.8k|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (15:20): [True: 341, False: 12.4k]
  |  |  |  Branch (15:32): [True: 1, False: 340]
  |  |  ------------------
  |  |   16|  12.8k|               || (c >= '0' && c <= '9')\
  |  |  ------------------
  |  |  |  Branch (16:20): [True: 444, False: 12.3k]
  |  |  |  Branch (16:32): [True: 5, False: 439]
  |  |  ------------------
  |  |   17|  12.8k|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (17:19): [True: 1, False: 12.7k]
  |  |  ------------------
  |  |   18|  12.8k|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (18:19): [True: 1, False: 12.7k]
  |  |  ------------------
  ------------------
   18|  12.8k|        }
   19|  25.0k|        else if (c == *s) {
  ------------------
  |  Branch (19:18): [True: 24.9k, False: 111]
  ------------------
   20|  24.9k|            s++;
   21|  24.9k|            continue;
   22|  24.9k|        }
   23|       |
   24|  12.9k|        tok_backup(tok, c);
  ------------------
  |  |   24|  12.9k|#define tok_backup _PyLexer_backup
  ------------------
   25|  37.8k|        while (s != test) {
  ------------------
  |  Branch (25:16): [True: 24.9k, False: 12.9k]
  ------------------
   26|  24.9k|            tok_backup(tok, *--s);
  ------------------
  |  |   24|  24.9k|#define tok_backup _PyLexer_backup
  ------------------
   27|  24.9k|        }
   28|  12.9k|        return res;
   29|  37.8k|    }
   30|  12.9k|}
number.c:tok_decimal_tail:
   92|   849k|{
   93|   849k|    int c;
   94|       |
   95|   855k|    while (1) {
  ------------------
  |  Branch (95:12): [True: 855k, Folded]
  ------------------
   96|  4.75M|        do {
   97|  4.75M|            c = tok_nextc(tok);
   98|  4.75M|        } while (Py_ISDIGIT(c));
  ------------------
  |  |   24|  4.75M|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|  4.75M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  4.75M|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 3.89M, False: 855k]
  |  |  ------------------
  ------------------
   99|   855k|        if (c != '_') {
  ------------------
  |  Branch (99:13): [True: 849k, False: 5.83k]
  ------------------
  100|   849k|            break;
  101|   849k|        }
  102|  5.83k|        c = tok_nextc(tok);
  103|  5.83k|        if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  5.83k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  170|  5.83k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  5.83k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  ------------------
  |  Branch (103:13): [True: 13, False: 5.82k]
  ------------------
  104|     13|            tok_backup(tok, c);
  ------------------
  |  |   24|     13|#define tok_backup _PyLexer_backup
  ------------------
  105|     13|            _PyTokenizer_syntaxerror(tok, "invalid decimal literal");
  106|     13|            return 0;
  107|     13|        }
  108|  5.83k|    }
  109|   849k|    return c;
  110|   849k|}

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

reader.c:_PyLexer_CurrentFTString:
  114|   351k|{
  115|   351k|    assert(tok->ftstring_stack != NULL);
  ------------------
  |  Branch (115:5): [True: 351k, False: 0]
  ------------------
  116|   351k|    assert(tok->ftstring_depth >= 0 && tok->ftstring_depth <= tok->ftstring_capacity);
  ------------------
  |  Branch (116:5): [True: 351k, False: 0]
  |  Branch (116:5): [True: 351k, False: 0]
  ------------------
  117|   351k|    if (tok->ftstring_depth == 0) {
  ------------------
  |  Branch (117:9): [True: 345k, False: 5.13k]
  ------------------
  118|   345k|        return NULL;
  119|   345k|    }
  120|  5.13k|    return &tok->ftstring_stack[tok->ftstring_depth - 1];
  121|   351k|}
lexer.c:_PyLexer_ByteColumn:
  138|  9.82M|{
  139|  9.82M|    assert(tok->line_start >= 0);
  ------------------
  |  Branch (139:5): [True: 9.82M, False: 0]
  ------------------
  140|  9.82M|    assert(tok->cur >= tok->line_start);
  ------------------
  |  Branch (140:5): [True: 9.82M, False: 0]
  ------------------
  141|  9.82M|    Py_ssize_t column = tok->cur - tok->line_start;
  142|  9.82M|    assert(column <= INT_MAX);
  ------------------
  |  Branch (142:5): [True: 9.82M, False: 0]
  ------------------
  143|  9.82M|    return (int)column;
  144|  9.82M|}
lexer.c:_PyLexer_FTStringBracketDepth:
  132|  19.5k|{
  133|  19.5k|    return tok->level - state->paren_level;
  134|  19.5k|}
lexer.c:_PyLexer_StringPrefix:
  125|     10|{
  126|     10|    return _PyLexer_IsTString(kind) ? 't' : 'f';
  ------------------
  |  Branch (126:12): [True: 7, False: 3]
  ------------------
  127|     10|}
lexer.c:_PyLexer_IsTString:
   50|     10|{
   51|     10|    return kind == TSTRING || kind == RAW_TSTRING;
  ------------------
  |  Branch (51:12): [True: 7, False: 3]
  |  Branch (51:31): [True: 0, False: 3]
  ------------------
   52|     10|}
lexer.c:_PyLexer_CurrentFTString:
  114|  4.81M|{
  115|  4.81M|    assert(tok->ftstring_stack != NULL);
  ------------------
  |  Branch (115:5): [True: 4.81M, False: 0]
  ------------------
  116|  4.81M|    assert(tok->ftstring_depth >= 0 && tok->ftstring_depth <= tok->ftstring_capacity);
  ------------------
  |  Branch (116:5): [True: 4.81M, False: 0]
  |  Branch (116:5): [True: 4.81M, False: 0]
  ------------------
  117|  4.81M|    if (tok->ftstring_depth == 0) {
  ------------------
  |  Branch (117:9): [True: 4.59M, False: 213k]
  ------------------
  118|  4.59M|        return NULL;
  119|  4.59M|    }
  120|   213k|    return &tok->ftstring_stack[tok->ftstring_depth - 1];
  121|  4.81M|}
state.c:_PyLexer_CurrentFTString:
  114|  14.0k|{
  115|  14.0k|    assert(tok->ftstring_stack != NULL);
  ------------------
  |  Branch (115:5): [True: 14.0k, False: 0]
  ------------------
  116|  14.0k|    assert(tok->ftstring_depth >= 0 && tok->ftstring_depth <= tok->ftstring_capacity);
  ------------------
  |  Branch (116:5): [True: 14.0k, False: 0]
  |  Branch (116:5): [True: 14.0k, False: 0]
  ------------------
  117|  14.0k|    if (tok->ftstring_depth == 0) {
  ------------------
  |  Branch (117:9): [True: 0, False: 14.0k]
  ------------------
  118|      0|        return NULL;
  119|      0|    }
  120|  14.0k|    return &tok->ftstring_stack[tok->ftstring_depth - 1];
  121|  14.0k|}
state.c:_PyLexer_ByteColumn:
  138|  4.75M|{
  139|  4.75M|    assert(tok->line_start >= 0);
  ------------------
  |  Branch (139:5): [True: 4.75M, False: 0]
  ------------------
  140|  4.75M|    assert(tok->cur >= tok->line_start);
  ------------------
  |  Branch (140:5): [True: 4.75M, False: 0]
  ------------------
  141|  4.75M|    Py_ssize_t column = tok->cur - tok->line_start;
  142|  4.75M|    assert(column <= INT_MAX);
  ------------------
  |  Branch (142:5): [True: 4.75M, False: 0]
  ------------------
  143|  4.75M|    return (int)column;
  144|  4.75M|}
string.c:_PyLexer_CurrentFTString:
  114|   105k|{
  115|   105k|    assert(tok->ftstring_stack != NULL);
  ------------------
  |  Branch (115:5): [True: 105k, False: 0]
  ------------------
  116|   105k|    assert(tok->ftstring_depth >= 0 && tok->ftstring_depth <= tok->ftstring_capacity);
  ------------------
  |  Branch (116:5): [True: 105k, False: 0]
  |  Branch (116:5): [True: 105k, False: 0]
  ------------------
  117|   105k|    if (tok->ftstring_depth == 0) {
  ------------------
  |  Branch (117:9): [True: 394, False: 105k]
  ------------------
  118|    394|        return NULL;
  119|    394|    }
  120|   105k|    return &tok->ftstring_stack[tok->ftstring_depth - 1];
  121|   105k|}
string.c:_PyLexer_FTStringBracketDepth:
  132|  76.5k|{
  133|  76.5k|    return tok->level - state->paren_level;
  134|  76.5k|}
string.c:_PyLexer_StringPrefix:
  125|    407|{
  126|    407|    return _PyLexer_IsTString(kind) ? 't' : 'f';
  ------------------
  |  Branch (126:12): [True: 216, False: 191]
  ------------------
  127|    407|}
string.c:_PyLexer_IsTString:
   50|  96.6k|{
   51|  96.6k|    return kind == TSTRING || kind == RAW_TSTRING;
  ------------------
  |  Branch (51:12): [True: 35.1k, False: 61.4k]
  |  Branch (51:31): [True: 3.48k, False: 57.9k]
  ------------------
   52|  96.6k|}
string.c:_PyLexer_IsRawString:
   56|  69.5k|{
   57|  69.5k|    return kind == RAW_FSTRING || kind == RAW_TSTRING;
  ------------------
  |  Branch (57:12): [True: 3.23k, False: 66.3k]
  |  Branch (57:35): [True: 2.37k, False: 63.9k]
  ------------------
   58|  69.5k|}
string.c:_PyLexer_ByteColumn:
  138|  69.5k|{
  139|  69.5k|    assert(tok->line_start >= 0);
  ------------------
  |  Branch (139:5): [True: 69.5k, False: 0]
  ------------------
  140|  69.5k|    assert(tok->cur >= tok->line_start);
  ------------------
  |  Branch (140:5): [True: 69.5k, False: 0]
  ------------------
  141|  69.5k|    Py_ssize_t column = tok->cur - tok->line_start;
  142|  69.5k|    assert(column <= INT_MAX);
  ------------------
  |  Branch (142:5): [True: 69.5k, False: 0]
  ------------------
  143|  69.5k|    return (int)column;
  144|  69.5k|}

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

_PyPegen_simple_stmt_rule:
 1487|   319k|{
 1488|   319k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   639k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1488:9): [True: 0, False: 319k]
  |  Branch (1488:35): [True: 0, False: 319k]
  ------------------
 1489|      0|        _Pypegen_stack_overflow(p);
 1490|      0|    }
 1491|   319k|    if (p->error_indicator) {
  ------------------
  |  Branch (1491:9): [True: 0, False: 319k]
  ------------------
 1492|      0|        p->level--;
 1493|      0|        return NULL;
 1494|      0|    }
 1495|   319k|    stmt_ty _res = NULL;
 1496|   319k|    if (_PyPegen_is_memoized(p, simple_stmt_type, &_res)) {
  ------------------
  |  |   98|   319k|#define simple_stmt_type 1009
  ------------------
  |  Branch (1496:9): [True: 52.5k, False: 267k]
  ------------------
 1497|  52.5k|        p->level--;
 1498|  52.5k|        return _res;
 1499|  52.5k|    }
 1500|   267k|    int _mark = p->mark;
 1501|   267k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (1501:9): [True: 0, False: 267k]
  |  Branch (1501:31): [True: 0, False: 0]
  ------------------
 1502|      0|        p->error_indicator = 1;
 1503|      0|        p->level--;
 1504|      0|        return NULL;
 1505|      0|    }
 1506|   267k|    int _start_lineno = p->tokens[_mark]->lineno;
 1507|   267k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   267k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 267k]
  |  |  ------------------
  ------------------
 1508|   267k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 1509|   267k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   267k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 267k]
  |  |  ------------------
  ------------------
 1510|   267k|    { // assignment
 1511|   267k|        if (p->error_indicator) {
  ------------------
  |  Branch (1511:13): [True: 0, False: 267k]
  ------------------
 1512|      0|            p->level--;
 1513|      0|            return NULL;
 1514|      0|        }
 1515|   267k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment"));
 1516|   267k|        stmt_ty assignment_var;
 1517|   267k|        if (
 1518|   267k|            (assignment_var = assignment_rule(p))  // assignment
  ------------------
  |  Branch (1518:13): [True: 46.2k, False: 221k]
  ------------------
 1519|   267k|        )
 1520|  46.2k|        {
 1521|  46.2k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment"));
 1522|  46.2k|            _res = assignment_var;
 1523|  46.2k|            goto done;
 1524|  46.2k|        }
 1525|   221k|        p->mark = _mark;
 1526|   221k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1527|   221k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment"));
 1528|   221k|    }
 1529|      0|    { // &"type" type_alias
 1530|   221k|        if (p->error_indicator) {
  ------------------
  |  Branch (1530:13): [True: 4.45k, False: 216k]
  ------------------
 1531|  4.45k|            p->level--;
 1532|  4.45k|            return NULL;
 1533|  4.45k|        }
 1534|   216k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&\"type\" type_alias"));
 1535|   216k|        stmt_ty type_alias_var;
 1536|   216k|        if (
 1537|   216k|            _PyPegen_lookahead_with_string(1, _PyPegen_expect_soft_keyword, p, "type")
  ------------------
  |  Branch (1537:13): [True: 3.06k, False: 213k]
  ------------------
 1538|  3.06k|            &&
 1539|  3.06k|            (type_alias_var = type_alias_rule(p))  // type_alias
  ------------------
  |  Branch (1539:13): [True: 2.75k, False: 311]
  ------------------
 1540|   216k|        )
 1541|  2.75k|        {
 1542|  2.75k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&\"type\" type_alias"));
 1543|  2.75k|            _res = type_alias_var;
 1544|  2.75k|            goto done;
 1545|  2.75k|        }
 1546|   213k|        p->mark = _mark;
 1547|   213k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1548|   213k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&\"type\" type_alias"));
 1549|   213k|    }
 1550|      0|    { // &('import' | 'from' | "lazy") import_stmt
 1551|   213k|        if (p->error_indicator) {
  ------------------
  |  Branch (1551:13): [True: 4, False: 213k]
  ------------------
 1552|      4|            p->level--;
 1553|      4|            return NULL;
 1554|      4|        }
 1555|   213k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('import' | 'from' | \"lazy\") import_stmt"));
 1556|   213k|        stmt_ty import_stmt_var;
 1557|   213k|        if (
 1558|   213k|            _PyPegen_lookahead(1, _tmp_5_rule, p)
  ------------------
  |  Branch (1558:13): [True: 10.0k, False: 203k]
  ------------------
 1559|  10.0k|            &&
 1560|  10.0k|            (import_stmt_var = import_stmt_rule(p))  // import_stmt
  ------------------
  |  Branch (1560:13): [True: 9.31k, False: 714]
  ------------------
 1561|   213k|        )
 1562|  9.31k|        {
 1563|  9.31k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('import' | 'from' | \"lazy\") import_stmt"));
 1564|  9.31k|            _res = import_stmt_var;
 1565|  9.31k|            goto done;
 1566|  9.31k|        }
 1567|   204k|        p->mark = _mark;
 1568|   204k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1569|   204k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('import' | 'from' | \"lazy\") import_stmt"));
 1570|   204k|    }
 1571|      0|    { // star_expressions
 1572|   204k|        if (p->error_indicator) {
  ------------------
  |  Branch (1572:13): [True: 53, False: 204k]
  ------------------
 1573|     53|            p->level--;
 1574|     53|            return NULL;
 1575|     53|        }
 1576|   204k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 1577|   204k|        expr_ty e;
 1578|   204k|        if (
 1579|   204k|            (e = star_expressions_rule(p))  // star_expressions
  ------------------
  |  |  467|   204k|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (1579:13): [True: 153k, False: 50.5k]
  ------------------
 1580|   204k|        )
 1581|   153k|        {
 1582|   153k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 1583|   153k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 1584|   153k|            if (_token == NULL) {
  ------------------
  |  Branch (1584:17): [True: 0, False: 153k]
  ------------------
 1585|      0|                p->level--;
 1586|      0|                return NULL;
 1587|      0|            }
 1588|   153k|            int _end_lineno = _token->end_lineno;
 1589|   153k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   153k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 153k]
  |  |  ------------------
  ------------------
 1590|   153k|            int _end_col_offset = _token->end_col_offset;
 1591|   153k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   153k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 153k]
  |  |  ------------------
  ------------------
 1592|   153k|            _res = _PyAST_Expr ( e , EXTRA );
  ------------------
  |  |  316|   153k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 1593|   153k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1593:18): [True: 0, False: 153k]
  |  Branch (1593:34): [True: 0, False: 153k]
  |  Branch (1593:57): [True: 0, False: 0]
  ------------------
 1594|      0|                p->error_indicator = 1;
 1595|      0|                p->level--;
 1596|      0|                return NULL;
 1597|      0|            }
 1598|   153k|            goto done;
 1599|   153k|        }
 1600|  50.5k|        p->mark = _mark;
 1601|  50.5k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1602|  50.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expressions"));
 1603|  50.5k|    }
 1604|      0|    { // &'return' return_stmt
 1605|  50.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (1605:13): [True: 292, False: 50.2k]
  ------------------
 1606|    292|            p->level--;
 1607|    292|            return NULL;
 1608|    292|        }
 1609|  50.2k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'return' return_stmt"));
 1610|  50.2k|        stmt_ty return_stmt_var;
 1611|  50.2k|        if (
 1612|  50.2k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 502)  // token='return'
  ------------------
  |  Branch (1612:13): [True: 1.64k, False: 48.6k]
  ------------------
 1613|  1.64k|            &&
 1614|  1.64k|            (return_stmt_var = return_stmt_rule(p))  // return_stmt
  ------------------
  |  Branch (1614:13): [True: 1.59k, False: 42]
  ------------------
 1615|  50.2k|        )
 1616|  1.59k|        {
 1617|  1.59k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'return' return_stmt"));
 1618|  1.59k|            _res = return_stmt_var;
 1619|  1.59k|            goto done;
 1620|  1.59k|        }
 1621|  48.6k|        p->mark = _mark;
 1622|  48.6k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1623|  48.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'return' return_stmt"));
 1624|  48.6k|    }
 1625|      0|    { // &'raise' raise_stmt
 1626|  48.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (1626:13): [True: 42, False: 48.6k]
  ------------------
 1627|     42|            p->level--;
 1628|     42|            return NULL;
 1629|     42|        }
 1630|  48.6k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'raise' raise_stmt"));
 1631|  48.6k|        stmt_ty raise_stmt_var;
 1632|  48.6k|        if (
 1633|  48.6k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 503)  // token='raise'
  ------------------
  |  Branch (1633:13): [True: 1.41k, False: 47.2k]
  ------------------
 1634|  1.41k|            &&
 1635|  1.41k|            (raise_stmt_var = raise_stmt_rule(p))  // raise_stmt
  ------------------
  |  Branch (1635:13): [True: 1.40k, False: 6]
  ------------------
 1636|  48.6k|        )
 1637|  1.40k|        {
 1638|  1.40k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'raise' raise_stmt"));
 1639|  1.40k|            _res = raise_stmt_var;
 1640|  1.40k|            goto done;
 1641|  1.40k|        }
 1642|  47.2k|        p->mark = _mark;
 1643|  47.2k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1644|  47.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'raise' raise_stmt"));
 1645|  47.2k|    }
 1646|      0|    { // &'pass' pass_stmt
 1647|  47.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (1647:13): [True: 6, False: 47.2k]
  ------------------
 1648|      6|            p->level--;
 1649|      6|            return NULL;
 1650|      6|        }
 1651|  47.2k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'pass' pass_stmt"));
 1652|  47.2k|        stmt_ty pass_stmt_var;
 1653|  47.2k|        if (
 1654|  47.2k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 504)  // token='pass'
  ------------------
  |  Branch (1654:13): [True: 726, False: 46.5k]
  ------------------
 1655|    726|            &&
 1656|    726|            (pass_stmt_var = pass_stmt_rule(p))  // pass_stmt
  ------------------
  |  |  407|    726|#define pass_stmt_rule _PyPegen_pass_stmt_rule
  ------------------
  |  Branch (1656:13): [True: 726, False: 0]
  ------------------
 1657|  47.2k|        )
 1658|    726|        {
 1659|    726|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'pass' pass_stmt"));
 1660|    726|            _res = pass_stmt_var;
 1661|    726|            goto done;
 1662|    726|        }
 1663|  46.5k|        p->mark = _mark;
 1664|  46.5k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1665|  46.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'pass' pass_stmt"));
 1666|  46.5k|    }
 1667|      0|    { // &'del' del_stmt
 1668|  46.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (1668:13): [True: 0, False: 46.5k]
  ------------------
 1669|      0|            p->level--;
 1670|      0|            return NULL;
 1671|      0|        }
 1672|  46.5k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'del' del_stmt"));
 1673|  46.5k|        stmt_ty del_stmt_var;
 1674|  46.5k|        if (
 1675|  46.5k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 505)  // token='del'
  ------------------
  |  Branch (1675:13): [True: 1.98k, False: 44.5k]
  ------------------
 1676|  1.98k|            &&
 1677|  1.98k|            (del_stmt_var = del_stmt_rule(p))  // del_stmt
  ------------------
  |  Branch (1677:13): [True: 1.54k, False: 439]
  ------------------
 1678|  46.5k|        )
 1679|  1.54k|        {
 1680|  1.54k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'del' del_stmt"));
 1681|  1.54k|            _res = del_stmt_var;
 1682|  1.54k|            goto done;
 1683|  1.54k|        }
 1684|  44.9k|        p->mark = _mark;
 1685|  44.9k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1686|  44.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'del' del_stmt"));
 1687|  44.9k|    }
 1688|      0|    { // &'yield' yield_stmt
 1689|  44.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (1689:13): [True: 234, False: 44.7k]
  ------------------
 1690|    234|            p->level--;
 1691|    234|            return NULL;
 1692|    234|        }
 1693|  44.7k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'yield' yield_stmt"));
 1694|  44.7k|        stmt_ty yield_stmt_var;
 1695|  44.7k|        if (
 1696|  44.7k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 506)  // token='yield'
  ------------------
  |  Branch (1696:13): [True: 2.38k, False: 42.3k]
  ------------------
 1697|  2.38k|            &&
 1698|  2.38k|            (yield_stmt_var = yield_stmt_rule(p))  // yield_stmt
  ------------------
  |  Branch (1698:13): [True: 2.38k, False: 2]
  ------------------
 1699|  44.7k|        )
 1700|  2.38k|        {
 1701|  2.38k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'yield' yield_stmt"));
 1702|  2.38k|            _res = yield_stmt_var;
 1703|  2.38k|            goto done;
 1704|  2.38k|        }
 1705|  42.3k|        p->mark = _mark;
 1706|  42.3k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1707|  42.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'yield' yield_stmt"));
 1708|  42.3k|    }
 1709|      0|    { // &'assert' assert_stmt
 1710|  42.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (1710:13): [True: 2, False: 42.3k]
  ------------------
 1711|      2|            p->level--;
 1712|      2|            return NULL;
 1713|      2|        }
 1714|  42.3k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'assert' assert_stmt"));
 1715|  42.3k|        stmt_ty assert_stmt_var;
 1716|  42.3k|        if (
 1717|  42.3k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 507)  // token='assert'
  ------------------
  |  Branch (1717:13): [True: 3.86k, False: 38.4k]
  ------------------
 1718|  3.86k|            &&
 1719|  3.86k|            (assert_stmt_var = assert_stmt_rule(p))  // assert_stmt
  ------------------
  |  Branch (1719:13): [True: 3.84k, False: 17]
  ------------------
 1720|  42.3k|        )
 1721|  3.84k|        {
 1722|  3.84k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'assert' assert_stmt"));
 1723|  3.84k|            _res = assert_stmt_var;
 1724|  3.84k|            goto done;
 1725|  3.84k|        }
 1726|  38.5k|        p->mark = _mark;
 1727|  38.5k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1728|  38.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'assert' assert_stmt"));
 1729|  38.5k|    }
 1730|      0|    { // &'break' break_stmt
 1731|  38.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (1731:13): [True: 11, False: 38.5k]
  ------------------
 1732|     11|            p->level--;
 1733|     11|            return NULL;
 1734|     11|        }
 1735|  38.5k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'break' break_stmt"));
 1736|  38.5k|        stmt_ty break_stmt_var;
 1737|  38.5k|        if (
 1738|  38.5k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 508)  // token='break'
  ------------------
  |  Branch (1738:13): [True: 1.20k, False: 37.2k]
  ------------------
 1739|  1.20k|            &&
 1740|  1.20k|            (break_stmt_var = break_stmt_rule(p))  // break_stmt
  ------------------
  |  |  409|  1.20k|#define break_stmt_rule _PyPegen_break_stmt_rule
  ------------------
  |  Branch (1740:13): [True: 1.20k, False: 0]
  ------------------
 1741|  38.5k|        )
 1742|  1.20k|        {
 1743|  1.20k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'break' break_stmt"));
 1744|  1.20k|            _res = break_stmt_var;
 1745|  1.20k|            goto done;
 1746|  1.20k|        }
 1747|  37.2k|        p->mark = _mark;
 1748|  37.2k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1749|  37.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'break' break_stmt"));
 1750|  37.2k|    }
 1751|      0|    { // &'continue' continue_stmt
 1752|  37.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (1752:13): [True: 0, False: 37.2k]
  ------------------
 1753|      0|            p->level--;
 1754|      0|            return NULL;
 1755|      0|        }
 1756|  37.2k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'continue' continue_stmt"));
 1757|  37.2k|        stmt_ty continue_stmt_var;
 1758|  37.2k|        if (
 1759|  37.2k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 509)  // token='continue'
  ------------------
  |  Branch (1759:13): [True: 1.03k, False: 36.2k]
  ------------------
 1760|  1.03k|            &&
 1761|  1.03k|            (continue_stmt_var = continue_stmt_rule(p))  // continue_stmt
  ------------------
  |  |  411|  1.03k|#define continue_stmt_rule _PyPegen_continue_stmt_rule
  ------------------
  |  Branch (1761:13): [True: 1.03k, False: 0]
  ------------------
 1762|  37.2k|        )
 1763|  1.03k|        {
 1764|  1.03k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'continue' continue_stmt"));
 1765|  1.03k|            _res = continue_stmt_var;
 1766|  1.03k|            goto done;
 1767|  1.03k|        }
 1768|  36.2k|        p->mark = _mark;
 1769|  36.2k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1770|  36.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'continue' continue_stmt"));
 1771|  36.2k|    }
 1772|      0|    { // &'global' global_stmt
 1773|  36.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (1773:13): [True: 0, False: 36.2k]
  ------------------
 1774|      0|            p->level--;
 1775|      0|            return NULL;
 1776|      0|        }
 1777|  36.2k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'global' global_stmt"));
 1778|  36.2k|        stmt_ty global_stmt_var;
 1779|  36.2k|        if (
 1780|  36.2k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 510)  // token='global'
  ------------------
  |  Branch (1780:13): [True: 963, False: 35.2k]
  ------------------
 1781|    963|            &&
 1782|    963|            (global_stmt_var = global_stmt_rule(p))  // global_stmt
  ------------------
  |  Branch (1782:13): [True: 954, False: 9]
  ------------------
 1783|  36.2k|        )
 1784|    954|        {
 1785|    954|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'global' global_stmt"));
 1786|    954|            _res = global_stmt_var;
 1787|    954|            goto done;
 1788|    954|        }
 1789|  35.3k|        p->mark = _mark;
 1790|  35.3k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1791|  35.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'global' global_stmt"));
 1792|  35.3k|    }
 1793|      0|    { // &'nonlocal' nonlocal_stmt
 1794|  35.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (1794:13): [True: 3, False: 35.3k]
  ------------------
 1795|      3|            p->level--;
 1796|      3|            return NULL;
 1797|      3|        }
 1798|  35.3k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'nonlocal' nonlocal_stmt"));
 1799|  35.3k|        stmt_ty nonlocal_stmt_var;
 1800|  35.3k|        if (
 1801|  35.3k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 511)  // token='nonlocal'
  ------------------
  |  Branch (1801:13): [True: 295, False: 35.0k]
  ------------------
 1802|    295|            &&
 1803|    295|            (nonlocal_stmt_var = nonlocal_stmt_rule(p))  // nonlocal_stmt
  ------------------
  |  Branch (1803:13): [True: 289, False: 6]
  ------------------
 1804|  35.3k|        )
 1805|    289|        {
 1806|    289|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'nonlocal' nonlocal_stmt"));
 1807|    289|            _res = nonlocal_stmt_var;
 1808|    289|            goto done;
 1809|    289|        }
 1810|  35.0k|        p->mark = _mark;
 1811|  35.0k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1812|  35.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'nonlocal' nonlocal_stmt"));
 1813|  35.0k|    }
 1814|  35.0k|    _res = NULL;
 1815|   262k|  done:
 1816|   262k|    _PyPegen_insert_memo(p, _mark, simple_stmt_type, _res);
  ------------------
  |  |   98|   262k|#define simple_stmt_type 1009
  ------------------
 1817|   262k|    p->level--;
 1818|   262k|    return _res;
 1819|  35.0k|}
_PyPegen_annotated_rhs_rule:
 2240|  50.3k|{
 2241|  50.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   100k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2241:9): [True: 1, False: 50.3k]
  |  Branch (2241:35): [True: 0, False: 50.3k]
  ------------------
 2242|      1|        _Pypegen_stack_overflow(p);
 2243|      1|    }
 2244|  50.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (2244:9): [True: 1, False: 50.3k]
  ------------------
 2245|      1|        p->level--;
 2246|      1|        return NULL;
 2247|      1|    }
 2248|  50.3k|    expr_ty _res = NULL;
 2249|  50.3k|    int _mark = p->mark;
 2250|  50.3k|    { // yield_expr
 2251|  50.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (2251:13): [True: 0, False: 50.3k]
  ------------------
 2252|      0|            p->level--;
 2253|      0|            return NULL;
 2254|      0|        }
 2255|  50.3k|        D(fprintf(stderr, "%*c> annotated_rhs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "yield_expr"));
 2256|  50.3k|        expr_ty yield_expr_var;
 2257|  50.3k|        if (
 2258|  50.3k|            (yield_expr_var = yield_expr_rule(p))  // yield_expr
  ------------------
  |  |  465|  50.3k|#define yield_expr_rule _PyPegen_yield_expr_rule
  ------------------
  |  Branch (2258:13): [True: 543, False: 49.8k]
  ------------------
 2259|  50.3k|        )
 2260|    543|        {
 2261|    543|            D(fprintf(stderr, "%*c+ annotated_rhs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "yield_expr"));
 2262|    543|            _res = yield_expr_var;
 2263|    543|            goto done;
 2264|    543|        }
 2265|  49.8k|        p->mark = _mark;
 2266|  49.8k|        D(fprintf(stderr, "%*c%s annotated_rhs[%d-%d]: %s failed!\n", p->level, ' ',
 2267|  49.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "yield_expr"));
 2268|  49.8k|    }
 2269|      0|    { // star_expressions
 2270|  49.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (2270:13): [True: 104, False: 49.7k]
  ------------------
 2271|    104|            p->level--;
 2272|    104|            return NULL;
 2273|    104|        }
 2274|  49.7k|        D(fprintf(stderr, "%*c> annotated_rhs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 2275|  49.7k|        expr_ty star_expressions_var;
 2276|  49.7k|        if (
 2277|  49.7k|            (star_expressions_var = star_expressions_rule(p))  // star_expressions
  ------------------
  |  |  467|  49.7k|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (2277:13): [True: 42.0k, False: 7.72k]
  ------------------
 2278|  49.7k|        )
 2279|  42.0k|        {
 2280|  42.0k|            D(fprintf(stderr, "%*c+ annotated_rhs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 2281|  42.0k|            _res = star_expressions_var;
 2282|  42.0k|            goto done;
 2283|  42.0k|        }
 2284|  7.72k|        p->mark = _mark;
 2285|  7.72k|        D(fprintf(stderr, "%*c%s annotated_rhs[%d-%d]: %s failed!\n", p->level, ' ',
 2286|  7.72k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expressions"));
 2287|  7.72k|    }
 2288|  7.72k|    _res = NULL;
 2289|  50.2k|  done:
 2290|  50.2k|    p->level--;
 2291|  50.2k|    return _res;
 2292|  7.72k|}
_PyPegen_augassign_rule:
 2310|   153k|{
 2311|   153k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   307k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2311:9): [True: 0, False: 153k]
  |  Branch (2311:35): [True: 0, False: 153k]
  ------------------
 2312|      0|        _Pypegen_stack_overflow(p);
 2313|      0|    }
 2314|   153k|    if (p->error_indicator) {
  ------------------
  |  Branch (2314:9): [True: 0, False: 153k]
  ------------------
 2315|      0|        p->level--;
 2316|      0|        return NULL;
 2317|      0|    }
 2318|   153k|    AugOperator* _res = NULL;
 2319|   153k|    int _mark = p->mark;
 2320|   153k|    { // '+='
 2321|   153k|        if (p->error_indicator) {
  ------------------
  |  Branch (2321:13): [True: 0, False: 153k]
  ------------------
 2322|      0|            p->level--;
 2323|      0|            return NULL;
 2324|      0|        }
 2325|   153k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+='"));
 2326|   153k|        Token * _literal;
 2327|   153k|        if (
 2328|   153k|            (_literal = _PyPegen_expect_token(p, 36))  // token='+='
  ------------------
  |  Branch (2328:13): [True: 1.80k, False: 152k]
  ------------------
 2329|   153k|        )
 2330|  1.80k|        {
 2331|  1.80k|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+='"));
 2332|  1.80k|            _res = _PyPegen_augoperator ( p , Add );
 2333|  1.80k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2333:18): [True: 0, False: 1.80k]
  |  Branch (2333:34): [True: 0, False: 1.80k]
  |  Branch (2333:57): [True: 0, False: 0]
  ------------------
 2334|      0|                p->error_indicator = 1;
 2335|      0|                p->level--;
 2336|      0|                return NULL;
 2337|      0|            }
 2338|  1.80k|            goto done;
 2339|  1.80k|        }
 2340|   152k|        p->mark = _mark;
 2341|   152k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2342|   152k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+='"));
 2343|   152k|    }
 2344|      0|    { // '-='
 2345|   152k|        if (p->error_indicator) {
  ------------------
  |  Branch (2345:13): [True: 0, False: 152k]
  ------------------
 2346|      0|            p->level--;
 2347|      0|            return NULL;
 2348|      0|        }
 2349|   152k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-='"));
 2350|   152k|        Token * _literal;
 2351|   152k|        if (
 2352|   152k|            (_literal = _PyPegen_expect_token(p, 37))  // token='-='
  ------------------
  |  Branch (2352:13): [True: 81, False: 151k]
  ------------------
 2353|   152k|        )
 2354|     81|        {
 2355|     81|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-='"));
 2356|     81|            _res = _PyPegen_augoperator ( p , Sub );
 2357|     81|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2357:18): [True: 0, False: 81]
  |  Branch (2357:34): [True: 0, False: 81]
  |  Branch (2357:57): [True: 0, False: 0]
  ------------------
 2358|      0|                p->error_indicator = 1;
 2359|      0|                p->level--;
 2360|      0|                return NULL;
 2361|      0|            }
 2362|     81|            goto done;
 2363|     81|        }
 2364|   151k|        p->mark = _mark;
 2365|   151k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2366|   151k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-='"));
 2367|   151k|    }
 2368|      0|    { // '*='
 2369|   151k|        if (p->error_indicator) {
  ------------------
  |  Branch (2369:13): [True: 0, False: 151k]
  ------------------
 2370|      0|            p->level--;
 2371|      0|            return NULL;
 2372|      0|        }
 2373|   151k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*='"));
 2374|   151k|        Token * _literal;
 2375|   151k|        if (
 2376|   151k|            (_literal = _PyPegen_expect_token(p, 38))  // token='*='
  ------------------
  |  Branch (2376:13): [True: 1.89k, False: 150k]
  ------------------
 2377|   151k|        )
 2378|  1.89k|        {
 2379|  1.89k|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*='"));
 2380|  1.89k|            _res = _PyPegen_augoperator ( p , Mult );
 2381|  1.89k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2381:18): [True: 0, False: 1.89k]
  |  Branch (2381:34): [True: 0, False: 1.89k]
  |  Branch (2381:57): [True: 0, False: 0]
  ------------------
 2382|      0|                p->error_indicator = 1;
 2383|      0|                p->level--;
 2384|      0|                return NULL;
 2385|      0|            }
 2386|  1.89k|            goto done;
 2387|  1.89k|        }
 2388|   150k|        p->mark = _mark;
 2389|   150k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2390|   150k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*='"));
 2391|   150k|    }
 2392|      0|    { // '@='
 2393|   150k|        if (p->error_indicator) {
  ------------------
  |  Branch (2393:13): [True: 0, False: 150k]
  ------------------
 2394|      0|            p->level--;
 2395|      0|            return NULL;
 2396|      0|        }
 2397|   150k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@='"));
 2398|   150k|        Token * _literal;
 2399|   150k|        if (
 2400|   150k|            (_literal = _PyPegen_expect_token(p, 50))  // token='@='
  ------------------
  |  Branch (2400:13): [True: 143, False: 149k]
  ------------------
 2401|   150k|        )
 2402|    143|        {
 2403|    143|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@='"));
 2404|    143|            _res = CHECK_VERSION ( AugOperator* , 5 , "The '@' operator is" , _PyPegen_augoperator ( p , MatMult ) );
  ------------------
  |  |  354|    143|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 2405|    143|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2405:18): [True: 0, False: 143]
  |  Branch (2405:34): [True: 0, False: 143]
  |  Branch (2405:57): [True: 0, False: 0]
  ------------------
 2406|      0|                p->error_indicator = 1;
 2407|      0|                p->level--;
 2408|      0|                return NULL;
 2409|      0|            }
 2410|    143|            goto done;
 2411|    143|        }
 2412|   149k|        p->mark = _mark;
 2413|   149k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2414|   149k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@='"));
 2415|   149k|    }
 2416|      0|    { // '/='
 2417|   149k|        if (p->error_indicator) {
  ------------------
  |  Branch (2417:13): [True: 0, False: 149k]
  ------------------
 2418|      0|            p->level--;
 2419|      0|            return NULL;
 2420|      0|        }
 2421|   149k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'/='"));
 2422|   149k|        Token * _literal;
 2423|   149k|        if (
 2424|   149k|            (_literal = _PyPegen_expect_token(p, 39))  // token='/='
  ------------------
  |  Branch (2424:13): [True: 629, False: 149k]
  ------------------
 2425|   149k|        )
 2426|    629|        {
 2427|    629|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'/='"));
 2428|    629|            _res = _PyPegen_augoperator ( p , Div );
 2429|    629|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2429:18): [True: 0, False: 629]
  |  Branch (2429:34): [True: 0, False: 629]
  |  Branch (2429:57): [True: 0, False: 0]
  ------------------
 2430|      0|                p->error_indicator = 1;
 2431|      0|                p->level--;
 2432|      0|                return NULL;
 2433|      0|            }
 2434|    629|            goto done;
 2435|    629|        }
 2436|   149k|        p->mark = _mark;
 2437|   149k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2438|   149k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'/='"));
 2439|   149k|    }
 2440|      0|    { // '%='
 2441|   149k|        if (p->error_indicator) {
  ------------------
  |  Branch (2441:13): [True: 0, False: 149k]
  ------------------
 2442|      0|            p->level--;
 2443|      0|            return NULL;
 2444|      0|        }
 2445|   149k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'%='"));
 2446|   149k|        Token * _literal;
 2447|   149k|        if (
 2448|   149k|            (_literal = _PyPegen_expect_token(p, 40))  // token='%='
  ------------------
  |  Branch (2448:13): [True: 465, False: 148k]
  ------------------
 2449|   149k|        )
 2450|    465|        {
 2451|    465|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'%='"));
 2452|    465|            _res = _PyPegen_augoperator ( p , Mod );
 2453|    465|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2453:18): [True: 0, False: 465]
  |  Branch (2453:34): [True: 0, False: 465]
  |  Branch (2453:57): [True: 0, False: 0]
  ------------------
 2454|      0|                p->error_indicator = 1;
 2455|      0|                p->level--;
 2456|      0|                return NULL;
 2457|      0|            }
 2458|    465|            goto done;
 2459|    465|        }
 2460|   148k|        p->mark = _mark;
 2461|   148k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2462|   148k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'%='"));
 2463|   148k|    }
 2464|      0|    { // '&='
 2465|   148k|        if (p->error_indicator) {
  ------------------
  |  Branch (2465:13): [True: 0, False: 148k]
  ------------------
 2466|      0|            p->level--;
 2467|      0|            return NULL;
 2468|      0|        }
 2469|   148k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'&='"));
 2470|   148k|        Token * _literal;
 2471|   148k|        if (
 2472|   148k|            (_literal = _PyPegen_expect_token(p, 41))  // token='&='
  ------------------
  |  Branch (2472:13): [True: 700, False: 148k]
  ------------------
 2473|   148k|        )
 2474|    700|        {
 2475|    700|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'&='"));
 2476|    700|            _res = _PyPegen_augoperator ( p , BitAnd );
 2477|    700|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2477:18): [True: 0, False: 700]
  |  Branch (2477:34): [True: 0, False: 700]
  |  Branch (2477:57): [True: 0, False: 0]
  ------------------
 2478|      0|                p->error_indicator = 1;
 2479|      0|                p->level--;
 2480|      0|                return NULL;
 2481|      0|            }
 2482|    700|            goto done;
 2483|    700|        }
 2484|   148k|        p->mark = _mark;
 2485|   148k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2486|   148k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'&='"));
 2487|   148k|    }
 2488|      0|    { // '|='
 2489|   148k|        if (p->error_indicator) {
  ------------------
  |  Branch (2489:13): [True: 0, False: 148k]
  ------------------
 2490|      0|            p->level--;
 2491|      0|            return NULL;
 2492|      0|        }
 2493|   148k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'|='"));
 2494|   148k|        Token * _literal;
 2495|   148k|        if (
 2496|   148k|            (_literal = _PyPegen_expect_token(p, 42))  // token='|='
  ------------------
  |  Branch (2496:13): [True: 426, False: 147k]
  ------------------
 2497|   148k|        )
 2498|    426|        {
 2499|    426|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'|='"));
 2500|    426|            _res = _PyPegen_augoperator ( p , BitOr );
 2501|    426|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2501:18): [True: 0, False: 426]
  |  Branch (2501:34): [True: 0, False: 426]
  |  Branch (2501:57): [True: 0, False: 0]
  ------------------
 2502|      0|                p->error_indicator = 1;
 2503|      0|                p->level--;
 2504|      0|                return NULL;
 2505|      0|            }
 2506|    426|            goto done;
 2507|    426|        }
 2508|   147k|        p->mark = _mark;
 2509|   147k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2510|   147k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'|='"));
 2511|   147k|    }
 2512|      0|    { // '^='
 2513|   147k|        if (p->error_indicator) {
  ------------------
  |  Branch (2513:13): [True: 0, False: 147k]
  ------------------
 2514|      0|            p->level--;
 2515|      0|            return NULL;
 2516|      0|        }
 2517|   147k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'^='"));
 2518|   147k|        Token * _literal;
 2519|   147k|        if (
 2520|   147k|            (_literal = _PyPegen_expect_token(p, 43))  // token='^='
  ------------------
  |  Branch (2520:13): [True: 1.10k, False: 146k]
  ------------------
 2521|   147k|        )
 2522|  1.10k|        {
 2523|  1.10k|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'^='"));
 2524|  1.10k|            _res = _PyPegen_augoperator ( p , BitXor );
 2525|  1.10k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2525:18): [True: 0, False: 1.10k]
  |  Branch (2525:34): [True: 0, False: 1.10k]
  |  Branch (2525:57): [True: 0, False: 0]
  ------------------
 2526|      0|                p->error_indicator = 1;
 2527|      0|                p->level--;
 2528|      0|                return NULL;
 2529|      0|            }
 2530|  1.10k|            goto done;
 2531|  1.10k|        }
 2532|   146k|        p->mark = _mark;
 2533|   146k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2534|   146k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'^='"));
 2535|   146k|    }
 2536|      0|    { // '<<='
 2537|   146k|        if (p->error_indicator) {
  ------------------
  |  Branch (2537:13): [True: 0, False: 146k]
  ------------------
 2538|      0|            p->level--;
 2539|      0|            return NULL;
 2540|      0|        }
 2541|   146k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<<='"));
 2542|   146k|        Token * _literal;
 2543|   146k|        if (
 2544|   146k|            (_literal = _PyPegen_expect_token(p, 44))  // token='<<='
  ------------------
  |  Branch (2544:13): [True: 347, False: 146k]
  ------------------
 2545|   146k|        )
 2546|    347|        {
 2547|    347|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<<='"));
 2548|    347|            _res = _PyPegen_augoperator ( p , LShift );
 2549|    347|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2549:18): [True: 0, False: 347]
  |  Branch (2549:34): [True: 0, False: 347]
  |  Branch (2549:57): [True: 0, False: 0]
  ------------------
 2550|      0|                p->error_indicator = 1;
 2551|      0|                p->level--;
 2552|      0|                return NULL;
 2553|      0|            }
 2554|    347|            goto done;
 2555|    347|        }
 2556|   146k|        p->mark = _mark;
 2557|   146k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2558|   146k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<<='"));
 2559|   146k|    }
 2560|      0|    { // '>>='
 2561|   146k|        if (p->error_indicator) {
  ------------------
  |  Branch (2561:13): [True: 0, False: 146k]
  ------------------
 2562|      0|            p->level--;
 2563|      0|            return NULL;
 2564|      0|        }
 2565|   146k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>>='"));
 2566|   146k|        Token * _literal;
 2567|   146k|        if (
 2568|   146k|            (_literal = _PyPegen_expect_token(p, 45))  // token='>>='
  ------------------
  |  Branch (2568:13): [True: 37, False: 146k]
  ------------------
 2569|   146k|        )
 2570|     37|        {
 2571|     37|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>>='"));
 2572|     37|            _res = _PyPegen_augoperator ( p , RShift );
 2573|     37|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2573:18): [True: 0, False: 37]
  |  Branch (2573:34): [True: 0, False: 37]
  |  Branch (2573:57): [True: 0, False: 0]
  ------------------
 2574|      0|                p->error_indicator = 1;
 2575|      0|                p->level--;
 2576|      0|                return NULL;
 2577|      0|            }
 2578|     37|            goto done;
 2579|     37|        }
 2580|   146k|        p->mark = _mark;
 2581|   146k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2582|   146k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>>='"));
 2583|   146k|    }
 2584|      0|    { // '**='
 2585|   146k|        if (p->error_indicator) {
  ------------------
  |  Branch (2585:13): [True: 0, False: 146k]
  ------------------
 2586|      0|            p->level--;
 2587|      0|            return NULL;
 2588|      0|        }
 2589|   146k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**='"));
 2590|   146k|        Token * _literal;
 2591|   146k|        if (
 2592|   146k|            (_literal = _PyPegen_expect_token(p, 46))  // token='**='
  ------------------
  |  Branch (2592:13): [True: 72, False: 146k]
  ------------------
 2593|   146k|        )
 2594|     72|        {
 2595|     72|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**='"));
 2596|     72|            _res = _PyPegen_augoperator ( p , Pow );
 2597|     72|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2597:18): [True: 0, False: 72]
  |  Branch (2597:34): [True: 0, False: 72]
  |  Branch (2597:57): [True: 0, False: 0]
  ------------------
 2598|      0|                p->error_indicator = 1;
 2599|      0|                p->level--;
 2600|      0|                return NULL;
 2601|      0|            }
 2602|     72|            goto done;
 2603|     72|        }
 2604|   146k|        p->mark = _mark;
 2605|   146k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2606|   146k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**='"));
 2607|   146k|    }
 2608|      0|    { // '//='
 2609|   146k|        if (p->error_indicator) {
  ------------------
  |  Branch (2609:13): [True: 0, False: 146k]
  ------------------
 2610|      0|            p->level--;
 2611|      0|            return NULL;
 2612|      0|        }
 2613|   146k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'//='"));
 2614|   146k|        Token * _literal;
 2615|   146k|        if (
 2616|   146k|            (_literal = _PyPegen_expect_token(p, 48))  // token='//='
  ------------------
  |  Branch (2616:13): [True: 228, False: 145k]
  ------------------
 2617|   146k|        )
 2618|    228|        {
 2619|    228|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'//='"));
 2620|    228|            _res = _PyPegen_augoperator ( p , FloorDiv );
 2621|    228|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2621:18): [True: 0, False: 228]
  |  Branch (2621:34): [True: 0, False: 228]
  |  Branch (2621:57): [True: 0, False: 0]
  ------------------
 2622|      0|                p->error_indicator = 1;
 2623|      0|                p->level--;
 2624|      0|                return NULL;
 2625|      0|            }
 2626|    228|            goto done;
 2627|    228|        }
 2628|   145k|        p->mark = _mark;
 2629|   145k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2630|   145k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'//='"));
 2631|   145k|    }
 2632|   145k|    _res = NULL;
 2633|   153k|  done:
 2634|   153k|    p->level--;
 2635|   153k|    return _res;
 2636|   145k|}
_PyPegen_pass_stmt_rule:
 2867|   279k|{
 2868|   279k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   559k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2868:9): [True: 0, False: 279k]
  |  Branch (2868:35): [True: 0, False: 279k]
  ------------------
 2869|      0|        _Pypegen_stack_overflow(p);
 2870|      0|    }
 2871|   279k|    if (p->error_indicator) {
  ------------------
  |  Branch (2871:9): [True: 0, False: 279k]
  ------------------
 2872|      0|        p->level--;
 2873|      0|        return NULL;
 2874|      0|    }
 2875|   279k|    stmt_ty _res = NULL;
 2876|   279k|    int _mark = p->mark;
 2877|   279k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2877:9): [True: 0, False: 279k]
  |  Branch (2877:31): [True: 0, False: 0]
  ------------------
 2878|      0|        p->error_indicator = 1;
 2879|      0|        p->level--;
 2880|      0|        return NULL;
 2881|      0|    }
 2882|   279k|    int _start_lineno = p->tokens[_mark]->lineno;
 2883|   279k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   279k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 279k]
  |  |  ------------------
  ------------------
 2884|   279k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2885|   279k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   279k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 279k]
  |  |  ------------------
  ------------------
 2886|   279k|    { // 'pass'
 2887|   279k|        if (p->error_indicator) {
  ------------------
  |  Branch (2887:13): [True: 0, False: 279k]
  ------------------
 2888|      0|            p->level--;
 2889|      0|            return NULL;
 2890|      0|        }
 2891|   279k|        D(fprintf(stderr, "%*c> pass_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'pass'"));
 2892|   279k|        Token * _keyword;
 2893|   279k|        if (
 2894|   279k|            (_keyword = _PyPegen_expect_token(p, 504))  // token='pass'
  ------------------
  |  Branch (2894:13): [True: 3.48k, False: 276k]
  ------------------
 2895|   279k|        )
 2896|  3.48k|        {
 2897|  3.48k|            D(fprintf(stderr, "%*c+ pass_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'pass'"));
 2898|  3.48k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2899|  3.48k|            if (_token == NULL) {
  ------------------
  |  Branch (2899:17): [True: 0, False: 3.48k]
  ------------------
 2900|      0|                p->level--;
 2901|      0|                return NULL;
 2902|      0|            }
 2903|  3.48k|            int _end_lineno = _token->end_lineno;
 2904|  3.48k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.48k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.48k]
  |  |  ------------------
  ------------------
 2905|  3.48k|            int _end_col_offset = _token->end_col_offset;
 2906|  3.48k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.48k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.48k]
  |  |  ------------------
  ------------------
 2907|  3.48k|            _res = _PyAST_Pass ( EXTRA );
  ------------------
  |  |  316|  3.48k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2908|  3.48k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2908:18): [True: 0, False: 3.48k]
  |  Branch (2908:34): [True: 0, False: 3.48k]
  |  Branch (2908:57): [True: 0, False: 0]
  ------------------
 2909|      0|                p->error_indicator = 1;
 2910|      0|                p->level--;
 2911|      0|                return NULL;
 2912|      0|            }
 2913|  3.48k|            goto done;
 2914|  3.48k|        }
 2915|   276k|        p->mark = _mark;
 2916|   276k|        D(fprintf(stderr, "%*c%s pass_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2917|   276k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'pass'"));
 2918|   276k|    }
 2919|   276k|    _res = NULL;
 2920|   279k|  done:
 2921|   279k|    p->level--;
 2922|   279k|    return _res;
 2923|   276k|}
_PyPegen_break_stmt_rule:
 2928|   277k|{
 2929|   277k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   555k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2929:9): [True: 0, False: 277k]
  |  Branch (2929:35): [True: 0, False: 277k]
  ------------------
 2930|      0|        _Pypegen_stack_overflow(p);
 2931|      0|    }
 2932|   277k|    if (p->error_indicator) {
  ------------------
  |  Branch (2932:9): [True: 0, False: 277k]
  ------------------
 2933|      0|        p->level--;
 2934|      0|        return NULL;
 2935|      0|    }
 2936|   277k|    stmt_ty _res = NULL;
 2937|   277k|    int _mark = p->mark;
 2938|   277k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2938:9): [True: 0, False: 277k]
  |  Branch (2938:31): [True: 0, False: 0]
  ------------------
 2939|      0|        p->error_indicator = 1;
 2940|      0|        p->level--;
 2941|      0|        return NULL;
 2942|      0|    }
 2943|   277k|    int _start_lineno = p->tokens[_mark]->lineno;
 2944|   277k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   277k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 277k]
  |  |  ------------------
  ------------------
 2945|   277k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2946|   277k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   277k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 277k]
  |  |  ------------------
  ------------------
 2947|   277k|    { // 'break'
 2948|   277k|        if (p->error_indicator) {
  ------------------
  |  Branch (2948:13): [True: 0, False: 277k]
  ------------------
 2949|      0|            p->level--;
 2950|      0|            return NULL;
 2951|      0|        }
 2952|   277k|        D(fprintf(stderr, "%*c> break_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'break'"));
 2953|   277k|        Token * _keyword;
 2954|   277k|        if (
 2955|   277k|            (_keyword = _PyPegen_expect_token(p, 508))  // token='break'
  ------------------
  |  Branch (2955:13): [True: 1.69k, False: 275k]
  ------------------
 2956|   277k|        )
 2957|  1.69k|        {
 2958|  1.69k|            D(fprintf(stderr, "%*c+ break_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'break'"));
 2959|  1.69k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2960|  1.69k|            if (_token == NULL) {
  ------------------
  |  Branch (2960:17): [True: 0, False: 1.69k]
  ------------------
 2961|      0|                p->level--;
 2962|      0|                return NULL;
 2963|      0|            }
 2964|  1.69k|            int _end_lineno = _token->end_lineno;
 2965|  1.69k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.69k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.69k]
  |  |  ------------------
  ------------------
 2966|  1.69k|            int _end_col_offset = _token->end_col_offset;
 2967|  1.69k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.69k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.69k]
  |  |  ------------------
  ------------------
 2968|  1.69k|            _res = _PyAST_Break ( EXTRA );
  ------------------
  |  |  316|  1.69k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2969|  1.69k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2969:18): [True: 0, False: 1.69k]
  |  Branch (2969:34): [True: 0, False: 1.69k]
  |  Branch (2969:57): [True: 0, False: 0]
  ------------------
 2970|      0|                p->error_indicator = 1;
 2971|      0|                p->level--;
 2972|      0|                return NULL;
 2973|      0|            }
 2974|  1.69k|            goto done;
 2975|  1.69k|        }
 2976|   275k|        p->mark = _mark;
 2977|   275k|        D(fprintf(stderr, "%*c%s break_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2978|   275k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'break'"));
 2979|   275k|    }
 2980|   275k|    _res = NULL;
 2981|   277k|  done:
 2982|   277k|    p->level--;
 2983|   277k|    return _res;
 2984|   275k|}
_PyPegen_continue_stmt_rule:
 2989|   276k|{
 2990|   276k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   553k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2990:9): [True: 0, False: 276k]
  |  Branch (2990:35): [True: 0, False: 276k]
  ------------------
 2991|      0|        _Pypegen_stack_overflow(p);
 2992|      0|    }
 2993|   276k|    if (p->error_indicator) {
  ------------------
  |  Branch (2993:9): [True: 0, False: 276k]
  ------------------
 2994|      0|        p->level--;
 2995|      0|        return NULL;
 2996|      0|    }
 2997|   276k|    stmt_ty _res = NULL;
 2998|   276k|    int _mark = p->mark;
 2999|   276k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2999:9): [True: 0, False: 276k]
  |  Branch (2999:31): [True: 0, False: 0]
  ------------------
 3000|      0|        p->error_indicator = 1;
 3001|      0|        p->level--;
 3002|      0|        return NULL;
 3003|      0|    }
 3004|   276k|    int _start_lineno = p->tokens[_mark]->lineno;
 3005|   276k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   276k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 276k]
  |  |  ------------------
  ------------------
 3006|   276k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3007|   276k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   276k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 276k]
  |  |  ------------------
  ------------------
 3008|   276k|    { // 'continue'
 3009|   276k|        if (p->error_indicator) {
  ------------------
  |  Branch (3009:13): [True: 0, False: 276k]
  ------------------
 3010|      0|            p->level--;
 3011|      0|            return NULL;
 3012|      0|        }
 3013|   276k|        D(fprintf(stderr, "%*c> continue_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'continue'"));
 3014|   276k|        Token * _keyword;
 3015|   276k|        if (
 3016|   276k|            (_keyword = _PyPegen_expect_token(p, 509))  // token='continue'
  ------------------
  |  Branch (3016:13): [True: 1.13k, False: 275k]
  ------------------
 3017|   276k|        )
 3018|  1.13k|        {
 3019|  1.13k|            D(fprintf(stderr, "%*c+ continue_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'continue'"));
 3020|  1.13k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3021|  1.13k|            if (_token == NULL) {
  ------------------
  |  Branch (3021:17): [True: 0, False: 1.13k]
  ------------------
 3022|      0|                p->level--;
 3023|      0|                return NULL;
 3024|      0|            }
 3025|  1.13k|            int _end_lineno = _token->end_lineno;
 3026|  1.13k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.13k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.13k]
  |  |  ------------------
  ------------------
 3027|  1.13k|            int _end_col_offset = _token->end_col_offset;
 3028|  1.13k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.13k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.13k]
  |  |  ------------------
  ------------------
 3029|  1.13k|            _res = _PyAST_Continue ( EXTRA );
  ------------------
  |  |  316|  1.13k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3030|  1.13k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3030:18): [True: 0, False: 1.13k]
  |  Branch (3030:34): [True: 0, False: 1.13k]
  |  Branch (3030:57): [True: 0, False: 0]
  ------------------
 3031|      0|                p->error_indicator = 1;
 3032|      0|                p->level--;
 3033|      0|                return NULL;
 3034|      0|            }
 3035|  1.13k|            goto done;
 3036|  1.13k|        }
 3037|   275k|        p->mark = _mark;
 3038|   275k|        D(fprintf(stderr, "%*c%s continue_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3039|   275k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'continue'"));
 3040|   275k|    }
 3041|   275k|    _res = NULL;
 3042|   276k|  done:
 3043|   276k|    p->level--;
 3044|   276k|    return _res;
 3045|   275k|}
_PyPegen_import_from_targets_rule:
 3830|  6.04k|{
 3831|  6.04k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  12.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3831:9): [True: 0, False: 6.04k]
  |  Branch (3831:35): [True: 0, False: 6.04k]
  ------------------
 3832|      0|        _Pypegen_stack_overflow(p);
 3833|      0|    }
 3834|  6.04k|    if (p->error_indicator) {
  ------------------
  |  Branch (3834:9): [True: 0, False: 6.04k]
  ------------------
 3835|      0|        p->level--;
 3836|      0|        return NULL;
 3837|      0|    }
 3838|  6.04k|    asdl_alias_seq* _res = NULL;
 3839|  6.04k|    int _mark = p->mark;
 3840|  6.04k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3840:9): [True: 4.90k, False: 1.13k]
  |  Branch (3840:31): [True: 3, False: 4.90k]
  ------------------
 3841|      3|        p->error_indicator = 1;
 3842|      3|        p->level--;
 3843|      3|        return NULL;
 3844|      3|    }
 3845|  6.04k|    int _start_lineno = p->tokens[_mark]->lineno;
 3846|  6.04k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  6.04k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.04k]
  |  |  ------------------
  ------------------
 3847|  6.04k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3848|  6.04k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  6.04k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.04k]
  |  |  ------------------
  ------------------
 3849|  6.04k|    { // '(' import_from_as_names ','? ')'
 3850|  6.04k|        if (p->error_indicator) {
  ------------------
  |  Branch (3850:13): [True: 0, False: 6.04k]
  ------------------
 3851|      0|            p->level--;
 3852|      0|            return NULL;
 3853|      0|        }
 3854|  6.04k|        D(fprintf(stderr, "%*c> import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' import_from_as_names ','? ')'"));
 3855|  6.04k|        Token * _literal;
 3856|  6.04k|        Token * _literal_1;
 3857|  6.04k|        void *_opt_var;
 3858|  6.04k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  6.04k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.04k]
  |  |  ------------------
  ------------------
 3859|  6.04k|        asdl_alias_seq* a;
 3860|  6.04k|        if (
 3861|  6.04k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (3861:13): [True: 55, False: 5.98k]
  ------------------
 3862|     55|            &&
 3863|     55|            (a = import_from_as_names_rule(p))  // import_from_as_names
  ------------------
  |  |  415|     55|#define import_from_as_names_rule _PyPegen_import_from_as_names_rule
  ------------------
  |  Branch (3863:13): [True: 45, False: 10]
  ------------------
 3864|     45|            &&
 3865|     45|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (3865:13): [True: 45, False: 0]
  ------------------
 3866|     45|            &&
 3867|     45|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (3867:13): [True: 36, False: 9]
  ------------------
 3868|  6.04k|        )
 3869|     36|        {
 3870|     36|            D(fprintf(stderr, "%*c+ import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' import_from_as_names ','? ')'"));
 3871|     36|            _res = a;
 3872|     36|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3872:18): [True: 0, False: 36]
  |  Branch (3872:34): [True: 0, False: 36]
  |  Branch (3872:57): [True: 0, False: 0]
  ------------------
 3873|      0|                p->error_indicator = 1;
 3874|      0|                p->level--;
 3875|      0|                return NULL;
 3876|      0|            }
 3877|     36|            goto done;
 3878|     36|        }
 3879|  6.00k|        p->mark = _mark;
 3880|  6.00k|        D(fprintf(stderr, "%*c%s import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
 3881|  6.00k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' import_from_as_names ','? ')'"));
 3882|  6.00k|    }
 3883|      0|    { // import_from_as_names !','
 3884|  6.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (3884:13): [True: 8, False: 5.99k]
  ------------------
 3885|      8|            p->level--;
 3886|      8|            return NULL;
 3887|      8|        }
 3888|  5.99k|        D(fprintf(stderr, "%*c> import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_from_as_names !','"));
 3889|  5.99k|        asdl_alias_seq* import_from_as_names_var;
 3890|  5.99k|        if (
 3891|  5.99k|            (import_from_as_names_var = import_from_as_names_rule(p))  // import_from_as_names
  ------------------
  |  |  415|  5.99k|#define import_from_as_names_rule _PyPegen_import_from_as_names_rule
  ------------------
  |  Branch (3891:13): [True: 5.91k, False: 83]
  ------------------
 3892|  5.91k|            &&
 3893|  5.91k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 12)  // token=','
  ------------------
  |  Branch (3893:13): [True: 5.88k, False: 32]
  ------------------
 3894|  5.99k|        )
 3895|  5.88k|        {
 3896|  5.88k|            D(fprintf(stderr, "%*c+ import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_from_as_names !','"));
 3897|  5.88k|            _res = import_from_as_names_var;
 3898|  5.88k|            goto done;
 3899|  5.88k|        }
 3900|    115|        p->mark = _mark;
 3901|    115|        D(fprintf(stderr, "%*c%s import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
 3902|    115|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_from_as_names !','"));
 3903|    115|    }
 3904|      0|    { // '*'
 3905|    115|        if (p->error_indicator) {
  ------------------
  |  Branch (3905:13): [True: 5, False: 110]
  ------------------
 3906|      5|            p->level--;
 3907|      5|            return NULL;
 3908|      5|        }
 3909|    110|        D(fprintf(stderr, "%*c> import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*'"));
 3910|    110|        Token * _literal;
 3911|    110|        if (
 3912|    110|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (3912:13): [True: 52, False: 58]
  ------------------
 3913|    110|        )
 3914|     52|        {
 3915|     52|            D(fprintf(stderr, "%*c+ import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*'"));
 3916|     52|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3917|     52|            if (_token == NULL) {
  ------------------
  |  Branch (3917:17): [True: 0, False: 52]
  ------------------
 3918|      0|                p->level--;
 3919|      0|                return NULL;
 3920|      0|            }
 3921|     52|            int _end_lineno = _token->end_lineno;
 3922|     52|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     52|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 52]
  |  |  ------------------
  ------------------
 3923|     52|            int _end_col_offset = _token->end_col_offset;
 3924|     52|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     52|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 52]
  |  |  ------------------
  ------------------
 3925|     52|            _res = ( asdl_alias_seq* ) _PyPegen_singleton_seq ( p , CHECK ( alias_ty , _PyPegen_alias_for_star ( p , EXTRA ) ) );
  ------------------
  |  |  280|     52|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
 3926|     52|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3926:18): [True: 0, False: 52]
  |  Branch (3926:34): [True: 0, False: 52]
  |  Branch (3926:57): [True: 0, False: 0]
  ------------------
 3927|      0|                p->error_indicator = 1;
 3928|      0|                p->level--;
 3929|      0|                return NULL;
 3930|      0|            }
 3931|     52|            goto done;
 3932|     52|        }
 3933|     58|        p->mark = _mark;
 3934|     58|        D(fprintf(stderr, "%*c%s import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
 3935|     58|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*'"));
 3936|     58|    }
 3937|     58|    if (p->call_invalid_rules) { // invalid_import_from_targets
  ------------------
  |  Branch (3937:9): [True: 29, False: 29]
  ------------------
 3938|     29|        if (p->error_indicator) {
  ------------------
  |  Branch (3938:13): [True: 0, False: 29]
  ------------------
 3939|      0|            p->level--;
 3940|      0|            return NULL;
 3941|      0|        }
 3942|     29|        D(fprintf(stderr, "%*c> import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_import_from_targets"));
 3943|     29|        void *invalid_import_from_targets_var;
 3944|     29|        if (
 3945|     29|            (invalid_import_from_targets_var = invalid_import_from_targets_rule(p))  // invalid_import_from_targets
  ------------------
  |  |  595|     29|#define invalid_import_from_targets_rule _PyPegen_invalid_import_from_targets_rule
  ------------------
  |  Branch (3945:13): [True: 0, False: 29]
  ------------------
 3946|     29|        )
 3947|      0|        {
 3948|      0|            D(fprintf(stderr, "%*c+ import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_import_from_targets"));
 3949|      0|            _res = invalid_import_from_targets_var;
 3950|      0|            goto done;
 3951|      0|        }
 3952|     29|        p->mark = _mark;
 3953|     29|        D(fprintf(stderr, "%*c%s import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
 3954|     29|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_import_from_targets"));
 3955|     29|    }
 3956|     58|    _res = NULL;
 3957|  6.02k|  done:
 3958|  6.02k|    p->level--;
 3959|  6.02k|    return _res;
 3960|     58|}
_PyPegen_import_from_as_names_rule:
 3965|  6.08k|{
 3966|  6.08k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  12.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3966:9): [True: 0, False: 6.08k]
  |  Branch (3966:35): [True: 0, False: 6.08k]
  ------------------
 3967|      0|        _Pypegen_stack_overflow(p);
 3968|      0|    }
 3969|  6.08k|    if (p->error_indicator) {
  ------------------
  |  Branch (3969:9): [True: 0, False: 6.08k]
  ------------------
 3970|      0|        p->level--;
 3971|      0|        return NULL;
 3972|      0|    }
 3973|  6.08k|    asdl_alias_seq* _res = NULL;
 3974|  6.08k|    int _mark = p->mark;
 3975|  6.08k|    { // ','.import_from_as_name+
 3976|  6.08k|        if (p->error_indicator) {
  ------------------
  |  Branch (3976:13): [True: 0, False: 6.08k]
  ------------------
 3977|      0|            p->level--;
 3978|      0|            return NULL;
 3979|      0|        }
 3980|  6.08k|        D(fprintf(stderr, "%*c> import_from_as_names[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.import_from_as_name+"));
 3981|  6.08k|        asdl_alias_seq* a;
 3982|  6.08k|        if (
 3983|  6.08k|            (a = (asdl_alias_seq*)_gather_20_rule(p))  // ','.import_from_as_name+
  ------------------
  |  Branch (3983:13): [True: 5.98k, False: 101]
  ------------------
 3984|  6.08k|        )
 3985|  5.98k|        {
 3986|  5.98k|            D(fprintf(stderr, "%*c+ import_from_as_names[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.import_from_as_name+"));
 3987|  5.98k|            _res = a;
 3988|  5.98k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3988:18): [True: 0, False: 5.98k]
  |  Branch (3988:34): [True: 7, False: 5.97k]
  |  Branch (3988:57): [True: 6, False: 1]
  ------------------
 3989|      6|                p->error_indicator = 1;
 3990|      6|                p->level--;
 3991|      6|                return NULL;
 3992|      6|            }
 3993|  5.97k|            goto done;
 3994|  5.98k|        }
 3995|    101|        p->mark = _mark;
 3996|    101|        D(fprintf(stderr, "%*c%s import_from_as_names[%d-%d]: %s failed!\n", p->level, ' ',
 3997|    101|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.import_from_as_name+"));
 3998|    101|    }
 3999|    101|    _res = NULL;
 4000|  6.07k|  done:
 4001|  6.07k|    p->level--;
 4002|  6.07k|    return _res;
 4003|    101|}
_PyPegen_dotted_name_rule:
 4219|  65.3k|{
 4220|  65.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   130k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4220:9): [True: 0, False: 65.3k]
  |  Branch (4220:35): [True: 0, False: 65.3k]
  ------------------
 4221|      0|        _Pypegen_stack_overflow(p);
 4222|      0|    }
 4223|  65.3k|    expr_ty _res = NULL;
 4224|  65.3k|    if (_PyPegen_is_memoized(p, dotted_name_type, &_res)) {
  ------------------
  |  |  121|  65.3k|#define dotted_name_type 1032  // Left-recursive
  ------------------
  |  Branch (4224:9): [True: 47.1k, False: 18.2k]
  ------------------
 4225|  47.1k|        p->level--;
 4226|  47.1k|        return _res;
 4227|  47.1k|    }
 4228|  18.2k|    int _mark = p->mark;
 4229|  18.2k|    int _resmark = p->mark;
 4230|  18.2k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, dotted_name_type);
  ------------------
  |  |  121|  18.2k|#define dotted_name_type 1032  // Left-recursive
  ------------------
 4231|  18.2k|    if (_memo == NULL) {
  ------------------
  |  Branch (4231:9): [True: 0, False: 18.2k]
  ------------------
 4232|      0|        p->level--;
 4233|      0|        return NULL;
 4234|      0|    }
 4235|  42.0k|    while (1) {
  ------------------
  |  Branch (4235:12): [True: 42.0k, Folded]
  ------------------
 4236|  42.0k|        _memo->node = _res;
 4237|  42.0k|        _memo->mark = p->mark;
 4238|  42.0k|        p->mark = _mark;
 4239|  42.0k|        void *_raw = dotted_name_raw(p);
 4240|  42.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (4240:13): [True: 15, False: 41.9k]
  ------------------
 4241|     15|            p->level--;
 4242|     15|            return NULL;
 4243|     15|        }
 4244|  41.9k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (4244:13): [True: 1.13k, False: 40.8k]
  |  Branch (4244:29): [True: 17.0k, False: 23.7k]
  ------------------
 4245|  18.2k|            break;
 4246|  23.7k|        _resmark = p->mark;
 4247|  23.7k|        _res = _raw;
 4248|  23.7k|    }
 4249|  18.2k|    p->mark = _resmark;
 4250|  18.2k|    p->level--;
 4251|  18.2k|    return _res;
 4252|  18.2k|}
_PyPegen_block_rule:
 4323|  81.7k|{
 4324|  81.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   163k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4324:9): [True: 0, False: 81.7k]
  |  Branch (4324:35): [True: 0, False: 81.7k]
  ------------------
 4325|      0|        _Pypegen_stack_overflow(p);
 4326|      0|    }
 4327|  81.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (4327:9): [True: 0, False: 81.7k]
  ------------------
 4328|      0|        p->level--;
 4329|      0|        return NULL;
 4330|      0|    }
 4331|  81.7k|    asdl_stmt_seq* _res = NULL;
 4332|  81.7k|    if (_PyPegen_is_memoized(p, block_type, &_res)) {
  ------------------
  |  |  122|  81.7k|#define block_type 1033
  ------------------
  |  Branch (4332:9): [True: 13.6k, False: 68.0k]
  ------------------
 4333|  13.6k|        p->level--;
 4334|  13.6k|        return _res;
 4335|  13.6k|    }
 4336|  68.0k|    int _mark = p->mark;
 4337|  68.0k|    { // NEWLINE INDENT statements DEDENT
 4338|  68.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (4338:13): [True: 0, False: 68.0k]
  ------------------
 4339|      0|            p->level--;
 4340|      0|            return NULL;
 4341|      0|        }
 4342|  68.0k|        D(fprintf(stderr, "%*c> block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE INDENT statements DEDENT"));
 4343|  68.0k|        asdl_stmt_seq* a;
 4344|  68.0k|        Token * dedent_var;
 4345|  68.0k|        Token * indent_var;
 4346|  68.0k|        Token * newline_var;
 4347|  68.0k|        if (
 4348|  68.0k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  68.0k|#define NEWLINE         4
  ------------------
  |  Branch (4348:13): [True: 17.7k, False: 50.2k]
  ------------------
 4349|  17.7k|            &&
 4350|  17.7k|            (indent_var = _PyPegen_expect_token(p, INDENT))  // token='INDENT'
  ------------------
  |  |   21|  17.7k|#define INDENT          5
  ------------------
  |  Branch (4350:13): [True: 17.7k, False: 57]
  ------------------
 4351|  17.7k|            &&
 4352|  17.7k|            (a = statements_rule(p))  // statements
  ------------------
  |  Branch (4352:13): [True: 17.3k, False: 382]
  ------------------
 4353|  17.3k|            &&
 4354|  17.3k|            (dedent_var = _PyPegen_expect_token(p, DEDENT))  // token='DEDENT'
  ------------------
  |  |   22|  17.3k|#define DEDENT          6
  ------------------
  |  Branch (4354:13): [True: 17.2k, False: 83]
  ------------------
 4355|  68.0k|        )
 4356|  17.2k|        {
 4357|  17.2k|            D(fprintf(stderr, "%*c+ block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE INDENT statements DEDENT"));
 4358|  17.2k|            _res = a;
 4359|  17.2k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4359:18): [True: 0, False: 17.2k]
  |  Branch (4359:34): [True: 0, False: 17.2k]
  |  Branch (4359:57): [True: 0, False: 0]
  ------------------
 4360|      0|                p->error_indicator = 1;
 4361|      0|                p->level--;
 4362|      0|                return NULL;
 4363|      0|            }
 4364|  17.2k|            goto done;
 4365|  17.2k|        }
 4366|  50.8k|        p->mark = _mark;
 4367|  50.8k|        D(fprintf(stderr, "%*c%s block[%d-%d]: %s failed!\n", p->level, ' ',
 4368|  50.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE INDENT statements DEDENT"));
 4369|  50.8k|    }
 4370|      0|    { // simple_stmts
 4371|  50.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (4371:13): [True: 125, False: 50.6k]
  ------------------
 4372|    125|            p->level--;
 4373|    125|            return NULL;
 4374|    125|        }
 4375|  50.6k|        D(fprintf(stderr, "%*c> block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 4376|  50.6k|        asdl_stmt_seq* simple_stmts_var;
 4377|  50.6k|        if (
 4378|  50.6k|            (simple_stmts_var = simple_stmts_rule(p))  // simple_stmts
  ------------------
  |  Branch (4378:13): [True: 48.9k, False: 1.76k]
  ------------------
 4379|  50.6k|        )
 4380|  48.9k|        {
 4381|  48.9k|            D(fprintf(stderr, "%*c+ block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 4382|  48.9k|            _res = simple_stmts_var;
 4383|  48.9k|            goto done;
 4384|  48.9k|        }
 4385|  1.76k|        p->mark = _mark;
 4386|  1.76k|        D(fprintf(stderr, "%*c%s block[%d-%d]: %s failed!\n", p->level, ' ',
 4387|  1.76k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmts"));
 4388|  1.76k|    }
 4389|  1.76k|    if (p->call_invalid_rules) { // invalid_block
  ------------------
  |  Branch (4389:9): [True: 1.33k, False: 424]
  ------------------
 4390|  1.33k|        if (p->error_indicator) {
  ------------------
  |  Branch (4390:13): [True: 29, False: 1.30k]
  ------------------
 4391|     29|            p->level--;
 4392|     29|            return NULL;
 4393|     29|        }
 4394|  1.30k|        D(fprintf(stderr, "%*c> block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_block"));
 4395|  1.30k|        void *invalid_block_var;
 4396|  1.30k|        if (
 4397|  1.30k|            (invalid_block_var = invalid_block_rule(p))  // invalid_block
  ------------------
  |  |  559|  1.30k|#define invalid_block_rule _PyPegen_invalid_block_rule
  ------------------
  |  Branch (4397:13): [True: 0, False: 1.30k]
  ------------------
 4398|  1.30k|        )
 4399|      0|        {
 4400|      0|            D(fprintf(stderr, "%*c+ block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_block"));
 4401|      0|            _res = invalid_block_var;
 4402|      0|            goto done;
 4403|      0|        }
 4404|  1.30k|        p->mark = _mark;
 4405|  1.30k|        D(fprintf(stderr, "%*c%s block[%d-%d]: %s failed!\n", p->level, ' ',
 4406|  1.30k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_block"));
 4407|  1.30k|    }
 4408|  1.73k|    _res = NULL;
 4409|  67.9k|  done:
 4410|  67.9k|    _PyPegen_insert_memo(p, _mark, block_type, _res);
  ------------------
  |  |  122|  67.9k|#define block_type 1033
  ------------------
 4411|  67.9k|    p->level--;
 4412|  67.9k|    return _res;
 4413|  1.73k|}
_PyPegen_params_rule:
 4861|  15.9k|{
 4862|  15.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  31.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4862:9): [True: 0, False: 15.9k]
  |  Branch (4862:35): [True: 0, False: 15.9k]
  ------------------
 4863|      0|        _Pypegen_stack_overflow(p);
 4864|      0|    }
 4865|  15.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (4865:9): [True: 0, False: 15.9k]
  ------------------
 4866|      0|        p->level--;
 4867|      0|        return NULL;
 4868|      0|    }
 4869|  15.9k|    arguments_ty _res = NULL;
 4870|  15.9k|    int _mark = p->mark;
 4871|  15.9k|    if (p->call_invalid_rules) { // invalid_parameters
  ------------------
  |  Branch (4871:9): [True: 4.81k, False: 11.1k]
  ------------------
 4872|  4.81k|        if (p->error_indicator) {
  ------------------
  |  Branch (4872:13): [True: 0, False: 4.81k]
  ------------------
 4873|      0|            p->level--;
 4874|      0|            return NULL;
 4875|      0|        }
 4876|  4.81k|        D(fprintf(stderr, "%*c> params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_parameters"));
 4877|  4.81k|        void *invalid_parameters_var;
 4878|  4.81k|        if (
 4879|  4.81k|            (invalid_parameters_var = invalid_parameters_rule(p))  // invalid_parameters
  ------------------
  |  |  563|  4.81k|#define invalid_parameters_rule _PyPegen_invalid_parameters_rule
  ------------------
  |  Branch (4879:13): [True: 0, False: 4.81k]
  ------------------
 4880|  4.81k|        )
 4881|      0|        {
 4882|      0|            D(fprintf(stderr, "%*c+ params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_parameters"));
 4883|      0|            _res = invalid_parameters_var;
 4884|      0|            goto done;
 4885|      0|        }
 4886|  4.81k|        p->mark = _mark;
 4887|  4.81k|        D(fprintf(stderr, "%*c%s params[%d-%d]: %s failed!\n", p->level, ' ',
 4888|  4.81k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_parameters"));
 4889|  4.81k|    }
 4890|  15.9k|    { // parameters
 4891|  15.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (4891:13): [True: 28, False: 15.9k]
  ------------------
 4892|     28|            p->level--;
 4893|     28|            return NULL;
 4894|     28|        }
 4895|  15.9k|        D(fprintf(stderr, "%*c> params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "parameters"));
 4896|  15.9k|        arguments_ty parameters_var;
 4897|  15.9k|        if (
 4898|  15.9k|            (parameters_var = parameters_rule(p))  // parameters
  ------------------
  |  Branch (4898:13): [True: 9.97k, False: 5.99k]
  ------------------
 4899|  15.9k|        )
 4900|  9.97k|        {
 4901|  9.97k|            D(fprintf(stderr, "%*c+ params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "parameters"));
 4902|  9.97k|            _res = parameters_var;
 4903|  9.97k|            goto done;
 4904|  9.97k|        }
 4905|  5.99k|        p->mark = _mark;
 4906|  5.99k|        D(fprintf(stderr, "%*c%s params[%d-%d]: %s failed!\n", p->level, ' ',
 4907|  5.99k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "parameters"));
 4908|  5.99k|    }
 4909|  5.99k|    _res = NULL;
 4910|  15.9k|  done:
 4911|  15.9k|    p->level--;
 4912|  15.9k|    return _res;
 4913|  5.99k|}
_PyPegen_slash_no_default_rule:
 5086|  30.3k|{
 5087|  30.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  60.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5087:9): [True: 0, False: 30.3k]
  |  Branch (5087:35): [True: 0, False: 30.3k]
  ------------------
 5088|      0|        _Pypegen_stack_overflow(p);
 5089|      0|    }
 5090|  30.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (5090:9): [True: 0, False: 30.3k]
  ------------------
 5091|      0|        p->level--;
 5092|      0|        return NULL;
 5093|      0|    }
 5094|  30.3k|    asdl_arg_seq* _res = NULL;
 5095|  30.3k|    int _mark = p->mark;
 5096|  30.3k|    { // param_no_default+ '/' ','
 5097|  30.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (5097:13): [True: 0, False: 30.3k]
  ------------------
 5098|      0|            p->level--;
 5099|      0|            return NULL;
 5100|      0|        }
 5101|  30.3k|        D(fprintf(stderr, "%*c> slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default+ '/' ','"));
 5102|  30.3k|        Token * _literal;
 5103|  30.3k|        Token * _literal_1;
 5104|  30.3k|        asdl_arg_seq* a;
 5105|  30.3k|        if (
 5106|  30.3k|            (a = (asdl_arg_seq*)_loop1_29_rule(p))  // param_no_default+
  ------------------
  |  Branch (5106:13): [True: 10.4k, False: 19.9k]
  ------------------
 5107|  10.4k|            &&
 5108|  10.4k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (5108:13): [True: 603, False: 9.86k]
  ------------------
 5109|    603|            &&
 5110|    603|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5110:13): [True: 81, False: 522]
  ------------------
 5111|  30.3k|        )
 5112|     81|        {
 5113|     81|            D(fprintf(stderr, "%*c+ slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default+ '/' ','"));
 5114|     81|            _res = a;
 5115|     81|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5115:18): [True: 0, False: 81]
  |  Branch (5115:34): [True: 0, False: 81]
  |  Branch (5115:57): [True: 0, False: 0]
  ------------------
 5116|      0|                p->error_indicator = 1;
 5117|      0|                p->level--;
 5118|      0|                return NULL;
 5119|      0|            }
 5120|     81|            goto done;
 5121|     81|        }
 5122|  30.2k|        p->mark = _mark;
 5123|  30.2k|        D(fprintf(stderr, "%*c%s slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
 5124|  30.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default+ '/' ','"));
 5125|  30.2k|    }
 5126|      0|    { // param_no_default+ '/' &')'
 5127|  30.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (5127:13): [True: 11, False: 30.2k]
  ------------------
 5128|     11|            p->level--;
 5129|     11|            return NULL;
 5130|     11|        }
 5131|  30.2k|        D(fprintf(stderr, "%*c> slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default+ '/' &')'"));
 5132|  30.2k|        Token * _literal;
 5133|  30.2k|        asdl_arg_seq* a;
 5134|  30.2k|        if (
 5135|  30.2k|            (a = (asdl_arg_seq*)_loop1_29_rule(p))  // param_no_default+
  ------------------
  |  Branch (5135:13): [True: 10.3k, False: 19.9k]
  ------------------
 5136|  10.3k|            &&
 5137|  10.3k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (5137:13): [True: 522, False: 9.86k]
  ------------------
 5138|    522|            &&
 5139|    522|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5139:13): [True: 502, False: 20]
  ------------------
 5140|  30.2k|        )
 5141|    502|        {
 5142|    502|            D(fprintf(stderr, "%*c+ slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default+ '/' &')'"));
 5143|    502|            _res = a;
 5144|    502|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5144:18): [True: 0, False: 502]
  |  Branch (5144:34): [True: 0, False: 502]
  |  Branch (5144:57): [True: 0, False: 0]
  ------------------
 5145|      0|                p->error_indicator = 1;
 5146|      0|                p->level--;
 5147|      0|                return NULL;
 5148|      0|            }
 5149|    502|            goto done;
 5150|    502|        }
 5151|  29.7k|        p->mark = _mark;
 5152|  29.7k|        D(fprintf(stderr, "%*c%s slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
 5153|  29.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default+ '/' &')'"));
 5154|  29.7k|    }
 5155|  29.7k|    _res = NULL;
 5156|  30.3k|  done:
 5157|  30.3k|    p->level--;
 5158|  30.3k|    return _res;
 5159|  29.7k|}
_PyPegen_slash_with_default_rule:
 5166|  29.9k|{
 5167|  29.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  59.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5167:9): [True: 0, False: 29.9k]
  |  Branch (5167:35): [True: 0, False: 29.9k]
  ------------------
 5168|      0|        _Pypegen_stack_overflow(p);
 5169|      0|    }
 5170|  29.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (5170:9): [True: 0, False: 29.9k]
  ------------------
 5171|      0|        p->level--;
 5172|      0|        return NULL;
 5173|      0|    }
 5174|  29.9k|    SlashWithDefault* _res = NULL;
 5175|  29.9k|    int _mark = p->mark;
 5176|  29.9k|    { // param_no_default* param_with_default+ '/' ','
 5177|  29.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (5177:13): [True: 0, False: 29.9k]
  ------------------
 5178|      0|            p->level--;
 5179|      0|            return NULL;
 5180|      0|        }
 5181|  29.9k|        D(fprintf(stderr, "%*c> slash_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default* param_with_default+ '/' ','"));
 5182|  29.9k|        Token * _literal;
 5183|  29.9k|        Token * _literal_1;
 5184|  29.9k|        asdl_seq * a;
 5185|  29.9k|        asdl_seq * b;
 5186|  29.9k|        if (
 5187|  29.9k|            (a = _loop0_27_rule(p))  // param_no_default*
  ------------------
  |  Branch (5187:13): [True: 29.9k, False: 0]
  ------------------
 5188|  29.9k|            &&
 5189|  29.9k|            (b = _loop1_30_rule(p))  // param_with_default+
  ------------------
  |  Branch (5189:13): [True: 3.18k, False: 26.7k]
  ------------------
 5190|  3.18k|            &&
 5191|  3.18k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (5191:13): [True: 1.27k, False: 1.90k]
  ------------------
 5192|  1.27k|            &&
 5193|  1.27k|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5193:13): [True: 93, False: 1.18k]
  ------------------
 5194|  29.9k|        )
 5195|     93|        {
 5196|     93|            D(fprintf(stderr, "%*c+ slash_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default* param_with_default+ '/' ','"));
 5197|     93|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
 5198|     93|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5198:18): [True: 0, False: 93]
  |  Branch (5198:34): [True: 0, False: 93]
  |  Branch (5198:57): [True: 0, False: 0]
  ------------------
 5199|      0|                p->error_indicator = 1;
 5200|      0|                p->level--;
 5201|      0|                return NULL;
 5202|      0|            }
 5203|     93|            goto done;
 5204|     93|        }
 5205|  29.8k|        p->mark = _mark;
 5206|  29.8k|        D(fprintf(stderr, "%*c%s slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
 5207|  29.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default* param_with_default+ '/' ','"));
 5208|  29.8k|    }
 5209|      0|    { // param_no_default* param_with_default+ '/' &')'
 5210|  29.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (5210:13): [True: 19, False: 29.7k]
  ------------------
 5211|     19|            p->level--;
 5212|     19|            return NULL;
 5213|     19|        }
 5214|  29.7k|        D(fprintf(stderr, "%*c> slash_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default* param_with_default+ '/' &')'"));
 5215|  29.7k|        Token * _literal;
 5216|  29.7k|        asdl_seq * a;
 5217|  29.7k|        asdl_seq * b;
 5218|  29.7k|        if (
 5219|  29.7k|            (a = _loop0_27_rule(p))  // param_no_default*
  ------------------
  |  Branch (5219:13): [True: 29.7k, False: 0]
  ------------------
 5220|  29.7k|            &&
 5221|  29.7k|            (b = _loop1_30_rule(p))  // param_with_default+
  ------------------
  |  Branch (5221:13): [True: 3.08k, False: 26.7k]
  ------------------
 5222|  3.08k|            &&
 5223|  3.08k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (5223:13): [True: 1.18k, False: 1.90k]
  ------------------
 5224|  1.18k|            &&
 5225|  1.18k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5225:13): [True: 1.16k, False: 17]
  ------------------
 5226|  29.7k|        )
 5227|  1.16k|        {
 5228|  1.16k|            D(fprintf(stderr, "%*c+ slash_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default* param_with_default+ '/' &')'"));
 5229|  1.16k|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
 5230|  1.16k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5230:18): [True: 0, False: 1.16k]
  |  Branch (5230:34): [True: 0, False: 1.16k]
  |  Branch (5230:57): [True: 0, False: 0]
  ------------------
 5231|      0|                p->error_indicator = 1;
 5232|      0|                p->level--;
 5233|      0|                return NULL;
 5234|      0|            }
 5235|  1.16k|            goto done;
 5236|  1.16k|        }
 5237|  28.6k|        p->mark = _mark;
 5238|  28.6k|        D(fprintf(stderr, "%*c%s slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
 5239|  28.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default* param_with_default+ '/' &')'"));
 5240|  28.6k|    }
 5241|  28.6k|    _res = NULL;
 5242|  29.8k|  done:
 5243|  29.8k|    p->level--;
 5244|  29.8k|    return _res;
 5245|  28.6k|}
_PyPegen_param_no_default_rule:
 5481|   211k|{
 5482|   211k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   422k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5482:9): [True: 0, False: 211k]
  |  Branch (5482:35): [True: 0, False: 211k]
  ------------------
 5483|      0|        _Pypegen_stack_overflow(p);
 5484|      0|    }
 5485|   211k|    if (p->error_indicator) {
  ------------------
  |  Branch (5485:9): [True: 0, False: 211k]
  ------------------
 5486|      0|        p->level--;
 5487|      0|        return NULL;
 5488|      0|    }
 5489|   211k|    arg_ty _res = NULL;
 5490|   211k|    int _mark = p->mark;
 5491|   211k|    { // param ',' TYPE_COMMENT?
 5492|   211k|        if (p->error_indicator) {
  ------------------
  |  Branch (5492:13): [True: 0, False: 211k]
  ------------------
 5493|      0|            p->level--;
 5494|      0|            return NULL;
 5495|      0|        }
 5496|   211k|        D(fprintf(stderr, "%*c> param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param ',' TYPE_COMMENT?"));
 5497|   211k|        Token * _literal;
 5498|   211k|        arg_ty a;
 5499|   211k|        void *tc;
 5500|   211k|        if (
 5501|   211k|            (a = param_rule(p))  // param
  ------------------
  |  |  433|   211k|#define param_rule _PyPegen_param_rule
  ------------------
  |  Branch (5501:13): [True: 79.9k, False: 131k]
  ------------------
 5502|  79.9k|            &&
 5503|  79.9k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5503:13): [True: 25.4k, False: 54.5k]
  ------------------
 5504|  25.4k|            &&
 5505|  25.4k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  25.4k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5505:13): [True: 25.3k, False: 2]
  ------------------
 5506|   211k|        )
 5507|  25.3k|        {
 5508|  25.3k|            D(fprintf(stderr, "%*c+ param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param ',' TYPE_COMMENT?"));
 5509|  25.3k|            _res = _PyPegen_add_type_comment_to_arg ( p , a , tc );
 5510|  25.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5510:18): [True: 1, False: 25.3k]
  |  Branch (5510:34): [True: 0, False: 25.3k]
  |  Branch (5510:57): [True: 1, False: 0]
  ------------------
 5511|      1|                p->error_indicator = 1;
 5512|      1|                p->level--;
 5513|      1|                return NULL;
 5514|      1|            }
 5515|  25.3k|            goto done;
 5516|  25.3k|        }
 5517|   185k|        p->mark = _mark;
 5518|   185k|        D(fprintf(stderr, "%*c%s param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
 5519|   185k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param ',' TYPE_COMMENT?"));
 5520|   185k|    }
 5521|      0|    { // param TYPE_COMMENT? &')'
 5522|   185k|        if (p->error_indicator) {
  ------------------
  |  Branch (5522:13): [True: 26, False: 185k]
  ------------------
 5523|     26|            p->level--;
 5524|     26|            return NULL;
 5525|     26|        }
 5526|   185k|        D(fprintf(stderr, "%*c> param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param TYPE_COMMENT? &')'"));
 5527|   185k|        arg_ty a;
 5528|   185k|        void *tc;
 5529|   185k|        if (
 5530|   185k|            (a = param_rule(p))  // param
  ------------------
  |  |  433|   185k|#define param_rule _PyPegen_param_rule
  ------------------
  |  Branch (5530:13): [True: 54.5k, False: 130k]
  ------------------
 5531|  54.5k|            &&
 5532|  54.5k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  54.5k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5532:13): [True: 54.5k, False: 0]
  ------------------
 5533|  54.5k|            &&
 5534|  54.5k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5534:13): [True: 38.0k, False: 16.5k]
  ------------------
 5535|   185k|        )
 5536|  38.0k|        {
 5537|  38.0k|            D(fprintf(stderr, "%*c+ param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param TYPE_COMMENT? &')'"));
 5538|  38.0k|            _res = _PyPegen_add_type_comment_to_arg ( p , a , tc );
 5539|  38.0k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5539:18): [True: 0, False: 38.0k]
  |  Branch (5539:34): [True: 0, False: 38.0k]
  |  Branch (5539:57): [True: 0, False: 0]
  ------------------
 5540|      0|                p->error_indicator = 1;
 5541|      0|                p->level--;
 5542|      0|                return NULL;
 5543|      0|            }
 5544|  38.0k|            goto done;
 5545|  38.0k|        }
 5546|   147k|        p->mark = _mark;
 5547|   147k|        D(fprintf(stderr, "%*c%s param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
 5548|   147k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param TYPE_COMMENT? &')'"));
 5549|   147k|    }
 5550|   147k|    _res = NULL;
 5551|   210k|  done:
 5552|   210k|    p->level--;
 5553|   210k|    return _res;
 5554|   147k|}
_PyPegen_param_with_default_rule:
 5639|  91.7k|{
 5640|  91.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   183k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5640:9): [True: 0, False: 91.7k]
  |  Branch (5640:35): [True: 0, False: 91.7k]
  ------------------
 5641|      0|        _Pypegen_stack_overflow(p);
 5642|      0|    }
 5643|  91.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (5643:9): [True: 0, False: 91.7k]
  ------------------
 5644|      0|        p->level--;
 5645|      0|        return NULL;
 5646|      0|    }
 5647|  91.7k|    NameDefaultPair* _res = NULL;
 5648|  91.7k|    int _mark = p->mark;
 5649|  91.7k|    { // param default ',' TYPE_COMMENT?
 5650|  91.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (5650:13): [True: 0, False: 91.7k]
  ------------------
 5651|      0|            p->level--;
 5652|      0|            return NULL;
 5653|      0|        }
 5654|  91.7k|        D(fprintf(stderr, "%*c> param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param default ',' TYPE_COMMENT?"));
 5655|  91.7k|        Token * _literal;
 5656|  91.7k|        arg_ty a;
 5657|  91.7k|        expr_ty c;
 5658|  91.7k|        void *tc;
 5659|  91.7k|        if (
 5660|  91.7k|            (a = param_rule(p))  // param
  ------------------
  |  |  433|  91.7k|#define param_rule _PyPegen_param_rule
  ------------------
  |  Branch (5660:13): [True: 12.0k, False: 79.7k]
  ------------------
 5661|  12.0k|            &&
 5662|  12.0k|            (c = default_rule(p))  // default
  ------------------
  |  Branch (5662:13): [True: 11.6k, False: 393]
  ------------------
 5663|  11.6k|            &&
 5664|  11.6k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5664:13): [True: 6.93k, False: 4.72k]
  ------------------
 5665|  6.93k|            &&
 5666|  6.93k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  6.93k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5666:13): [True: 6.93k, False: 1]
  ------------------
 5667|  91.7k|        )
 5668|  6.93k|        {
 5669|  6.93k|            D(fprintf(stderr, "%*c+ param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param default ',' TYPE_COMMENT?"));
 5670|  6.93k|            _res = _PyPegen_name_default_pair ( p , a , c , tc );
 5671|  6.93k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5671:18): [True: 1, False: 6.93k]
  |  Branch (5671:34): [True: 0, False: 6.93k]
  |  Branch (5671:57): [True: 1, False: 0]
  ------------------
 5672|      1|                p->error_indicator = 1;
 5673|      1|                p->level--;
 5674|      1|                return NULL;
 5675|      1|            }
 5676|  6.93k|            goto done;
 5677|  6.93k|        }
 5678|  84.8k|        p->mark = _mark;
 5679|  84.8k|        D(fprintf(stderr, "%*c%s param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
 5680|  84.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param default ',' TYPE_COMMENT?"));
 5681|  84.8k|    }
 5682|      0|    { // param default TYPE_COMMENT? &')'
 5683|  84.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (5683:13): [True: 14, False: 84.8k]
  ------------------
 5684|     14|            p->level--;
 5685|     14|            return NULL;
 5686|     14|        }
 5687|  84.8k|        D(fprintf(stderr, "%*c> param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param default TYPE_COMMENT? &')'"));
 5688|  84.8k|        arg_ty a;
 5689|  84.8k|        expr_ty c;
 5690|  84.8k|        void *tc;
 5691|  84.8k|        if (
 5692|  84.8k|            (a = param_rule(p))  // param
  ------------------
  |  |  433|  84.8k|#define param_rule _PyPegen_param_rule
  ------------------
  |  Branch (5692:13): [True: 5.10k, False: 79.7k]
  ------------------
 5693|  5.10k|            &&
 5694|  5.10k|            (c = default_rule(p))  // default
  ------------------
  |  Branch (5694:13): [True: 4.72k, False: 384]
  ------------------
 5695|  4.72k|            &&
 5696|  4.72k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  4.72k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5696:13): [True: 4.72k, False: 0]
  ------------------
 5697|  4.72k|            &&
 5698|  4.72k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5698:13): [True: 4.62k, False: 103]
  ------------------
 5699|  84.8k|        )
 5700|  4.62k|        {
 5701|  4.62k|            D(fprintf(stderr, "%*c+ param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param default TYPE_COMMENT? &')'"));
 5702|  4.62k|            _res = _PyPegen_name_default_pair ( p , a , c , tc );
 5703|  4.62k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5703:18): [True: 2, False: 4.61k]
  |  Branch (5703:34): [True: 0, False: 4.61k]
  |  Branch (5703:57): [True: 2, False: 0]
  ------------------
 5704|      2|                p->error_indicator = 1;
 5705|      2|                p->level--;
 5706|      2|                return NULL;
 5707|      2|            }
 5708|  4.61k|            goto done;
 5709|  4.62k|        }
 5710|  80.1k|        p->mark = _mark;
 5711|  80.1k|        D(fprintf(stderr, "%*c%s param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
 5712|  80.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param default TYPE_COMMENT? &')'"));
 5713|  80.1k|    }
 5714|  80.1k|    _res = NULL;
 5715|  91.7k|  done:
 5716|  91.7k|    p->level--;
 5717|  91.7k|    return _res;
 5718|  80.1k|}
_PyPegen_param_maybe_default_rule:
 5725|  24.3k|{
 5726|  24.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  48.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5726:9): [True: 0, False: 24.3k]
  |  Branch (5726:35): [True: 0, False: 24.3k]
  ------------------
 5727|      0|        _Pypegen_stack_overflow(p);
 5728|      0|    }
 5729|  24.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (5729:9): [True: 0, False: 24.3k]
  ------------------
 5730|      0|        p->level--;
 5731|      0|        return NULL;
 5732|      0|    }
 5733|  24.3k|    NameDefaultPair* _res = NULL;
 5734|  24.3k|    int _mark = p->mark;
 5735|  24.3k|    { // param default? ',' TYPE_COMMENT?
 5736|  24.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (5736:13): [True: 0, False: 24.3k]
  ------------------
 5737|      0|            p->level--;
 5738|      0|            return NULL;
 5739|      0|        }
 5740|  24.3k|        D(fprintf(stderr, "%*c> param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param default? ',' TYPE_COMMENT?"));
 5741|  24.3k|        Token * _literal;
 5742|  24.3k|        arg_ty a;
 5743|  24.3k|        void *c;
 5744|  24.3k|        void *tc;
 5745|  24.3k|        if (
 5746|  24.3k|            (a = param_rule(p))  // param
  ------------------
  |  |  433|  24.3k|#define param_rule _PyPegen_param_rule
  ------------------
  |  Branch (5746:13): [True: 11.7k, False: 12.6k]
  ------------------
 5747|  11.7k|            &&
 5748|  11.7k|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (5748:13): [True: 11.7k, False: 2]
  ------------------
 5749|  11.7k|            &&
 5750|  11.7k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5750:13): [True: 6.64k, False: 5.09k]
  ------------------
 5751|  6.64k|            &&
 5752|  6.64k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  6.64k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5752:13): [True: 6.64k, False: 1]
  ------------------
 5753|  24.3k|        )
 5754|  6.64k|        {
 5755|  6.64k|            D(fprintf(stderr, "%*c+ param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param default? ',' TYPE_COMMENT?"));
 5756|  6.64k|            _res = _PyPegen_name_default_pair ( p , a , c , tc );
 5757|  6.64k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5757:18): [True: 1, False: 6.64k]
  |  Branch (5757:34): [True: 0, False: 6.64k]
  |  Branch (5757:57): [True: 1, False: 0]
  ------------------
 5758|      1|                p->error_indicator = 1;
 5759|      1|                p->level--;
 5760|      1|                return NULL;
 5761|      1|            }
 5762|  6.64k|            goto done;
 5763|  6.64k|        }
 5764|  17.7k|        p->mark = _mark;
 5765|  17.7k|        D(fprintf(stderr, "%*c%s param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
 5766|  17.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param default? ',' TYPE_COMMENT?"));
 5767|  17.7k|    }
 5768|      0|    { // param default? TYPE_COMMENT? &')'
 5769|  17.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (5769:13): [True: 12, False: 17.6k]
  ------------------
 5770|     12|            p->level--;
 5771|     12|            return NULL;
 5772|     12|        }
 5773|  17.6k|        D(fprintf(stderr, "%*c> param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param default? TYPE_COMMENT? &')'"));
 5774|  17.6k|        arg_ty a;
 5775|  17.6k|        void *c;
 5776|  17.6k|        void *tc;
 5777|  17.6k|        if (
 5778|  17.6k|            (a = param_rule(p))  // param
  ------------------
  |  |  433|  17.6k|#define param_rule _PyPegen_param_rule
  ------------------
  |  Branch (5778:13): [True: 5.09k, False: 12.5k]
  ------------------
 5779|  5.09k|            &&
 5780|  5.09k|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (5780:13): [True: 5.09k, False: 0]
  ------------------
 5781|  5.09k|            &&
 5782|  5.09k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  5.09k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5782:13): [True: 5.09k, False: 0]
  ------------------
 5783|  5.09k|            &&
 5784|  5.09k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5784:13): [True: 4.88k, False: 216]
  ------------------
 5785|  17.6k|        )
 5786|  4.88k|        {
 5787|  4.88k|            D(fprintf(stderr, "%*c+ param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param default? TYPE_COMMENT? &')'"));
 5788|  4.88k|            _res = _PyPegen_name_default_pair ( p , a , c , tc );
 5789|  4.88k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5789:18): [True: 0, False: 4.88k]
  |  Branch (5789:34): [True: 0, False: 4.88k]
  |  Branch (5789:57): [True: 0, False: 0]
  ------------------
 5790|      0|                p->error_indicator = 1;
 5791|      0|                p->level--;
 5792|      0|                return NULL;
 5793|      0|            }
 5794|  4.88k|            goto done;
 5795|  4.88k|        }
 5796|  12.8k|        p->mark = _mark;
 5797|  12.8k|        D(fprintf(stderr, "%*c%s param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
 5798|  12.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param default? TYPE_COMMENT? &')'"));
 5799|  12.8k|    }
 5800|  12.8k|    _res = NULL;
 5801|  24.3k|  done:
 5802|  24.3k|    p->level--;
 5803|  24.3k|    return _res;
 5804|  12.8k|}
_PyPegen_param_rule:
 5809|   619k|{
 5810|   619k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.23M|#  define MAXSTACK 6000
  ------------------
  |  Branch (5810:9): [True: 0, False: 619k]
  |  Branch (5810:35): [True: 0, False: 619k]
  ------------------
 5811|      0|        _Pypegen_stack_overflow(p);
 5812|      0|    }
 5813|   619k|    if (p->error_indicator) {
  ------------------
  |  Branch (5813:9): [True: 0, False: 619k]
  ------------------
 5814|      0|        p->level--;
 5815|      0|        return NULL;
 5816|      0|    }
 5817|   619k|    arg_ty _res = NULL;
 5818|   619k|    int _mark = p->mark;
 5819|   619k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (5819:9): [True: 13.7k, False: 605k]
  |  Branch (5819:31): [True: 12, False: 13.7k]
  ------------------
 5820|     12|        p->error_indicator = 1;
 5821|     12|        p->level--;
 5822|     12|        return NULL;
 5823|     12|    }
 5824|   619k|    int _start_lineno = p->tokens[_mark]->lineno;
 5825|   619k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   619k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 619k]
  |  |  ------------------
  ------------------
 5826|   619k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 5827|   619k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   619k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 619k]
  |  |  ------------------
  ------------------
 5828|   619k|    { // NAME annotation?
 5829|   619k|        if (p->error_indicator) {
  ------------------
  |  Branch (5829:13): [True: 0, False: 619k]
  ------------------
 5830|      0|            p->level--;
 5831|      0|            return NULL;
 5832|      0|        }
 5833|   619k|        D(fprintf(stderr, "%*c> param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME annotation?"));
 5834|   619k|        expr_ty a;
 5835|   619k|        void *b;
 5836|   619k|        if (
 5837|   619k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (5837:13): [True: 172k, False: 446k]
  ------------------
 5838|   172k|            &&
 5839|   172k|            (b = annotation_rule(p), !p->error_indicator)  // annotation?
  ------------------
  |  Branch (5839:13): [True: 172k, False: 27]
  ------------------
 5840|   619k|        )
 5841|   172k|        {
 5842|   172k|            D(fprintf(stderr, "%*c+ param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME annotation?"));
 5843|   172k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 5844|   172k|            if (_token == NULL) {
  ------------------
  |  Branch (5844:17): [True: 0, False: 172k]
  ------------------
 5845|      0|                p->level--;
 5846|      0|                return NULL;
 5847|      0|            }
 5848|   172k|            int _end_lineno = _token->end_lineno;
 5849|   172k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   172k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 172k]
  |  |  ------------------
  ------------------
 5850|   172k|            int _end_col_offset = _token->end_col_offset;
 5851|   172k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   172k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 172k]
  |  |  ------------------
  ------------------
 5852|   172k|            _res = _PyAST_arg ( a -> v . Name . id , b , NULL , EXTRA );
  ------------------
  |  |  316|   172k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 5853|   172k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5853:18): [True: 0, False: 172k]
  |  Branch (5853:34): [True: 0, False: 172k]
  |  Branch (5853:57): [True: 0, False: 0]
  ------------------
 5854|      0|                p->error_indicator = 1;
 5855|      0|                p->level--;
 5856|      0|                return NULL;
 5857|      0|            }
 5858|   172k|            goto done;
 5859|   172k|        }
 5860|   446k|        p->mark = _mark;
 5861|   446k|        D(fprintf(stderr, "%*c%s param[%d-%d]: %s failed!\n", p->level, ' ',
 5862|   446k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME annotation?"));
 5863|   446k|    }
 5864|   446k|    _res = NULL;
 5865|   619k|  done:
 5866|   619k|    p->level--;
 5867|   619k|    return _res;
 5868|   446k|}
_PyPegen_except_block_rule:
 7296|  11.4k|{
 7297|  11.4k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  22.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7297:9): [True: 0, False: 11.4k]
  |  Branch (7297:35): [True: 0, False: 11.4k]
  ------------------
 7298|      0|        _Pypegen_stack_overflow(p);
 7299|      0|    }
 7300|  11.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (7300:9): [True: 0, False: 11.4k]
  ------------------
 7301|      0|        p->level--;
 7302|      0|        return NULL;
 7303|      0|    }
 7304|  11.4k|    excepthandler_ty _res = NULL;
 7305|  11.4k|    int _mark = p->mark;
 7306|  11.4k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (7306:9): [True: 3.71k, False: 7.72k]
  |  Branch (7306:31): [True: 1, False: 3.71k]
  ------------------
 7307|      1|        p->error_indicator = 1;
 7308|      1|        p->level--;
 7309|      1|        return NULL;
 7310|      1|    }
 7311|  11.4k|    int _start_lineno = p->tokens[_mark]->lineno;
 7312|  11.4k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  11.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 11.4k]
  |  |  ------------------
  ------------------
 7313|  11.4k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 7314|  11.4k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  11.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 11.4k]
  |  |  ------------------
  ------------------
 7315|  11.4k|    if (p->call_invalid_rules) { // invalid_except_stmt_indent
  ------------------
  |  Branch (7315:9): [True: 4.48k, False: 6.96k]
  ------------------
 7316|  4.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (7316:13): [True: 0, False: 4.48k]
  ------------------
 7317|      0|            p->level--;
 7318|      0|            return NULL;
 7319|      0|        }
 7320|  4.48k|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_except_stmt_indent"));
 7321|  4.48k|        void *invalid_except_stmt_indent_var;
 7322|  4.48k|        if (
 7323|  4.48k|            (invalid_except_stmt_indent_var = invalid_except_stmt_indent_rule(p))  // invalid_except_stmt_indent
  ------------------
  |  |  609|  4.48k|#define invalid_except_stmt_indent_rule _PyPegen_invalid_except_stmt_indent_rule
  ------------------
  |  Branch (7323:13): [True: 0, False: 4.48k]
  ------------------
 7324|  4.48k|        )
 7325|      0|        {
 7326|      0|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_except_stmt_indent"));
 7327|      0|            _res = invalid_except_stmt_indent_var;
 7328|      0|            goto done;
 7329|      0|        }
 7330|  4.48k|        p->mark = _mark;
 7331|  4.48k|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7332|  4.48k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_except_stmt_indent"));
 7333|  4.48k|    }
 7334|  11.4k|    { // 'except' expression ':' block
 7335|  11.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (7335:13): [True: 4, False: 11.4k]
  ------------------
 7336|      4|            p->level--;
 7337|      4|            return NULL;
 7338|      4|        }
 7339|  11.4k|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expression ':' block"));
 7340|  11.4k|        Token * _keyword;
 7341|  11.4k|        Token * _literal;
 7342|  11.4k|        asdl_stmt_seq* b;
 7343|  11.4k|        expr_ty e;
 7344|  11.4k|        if (
 7345|  11.4k|            (_keyword = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (7345:13): [True: 7.96k, False: 3.47k]
  ------------------
 7346|  7.96k|            &&
 7347|  7.96k|            (e = expression_rule(p))  // expression
  ------------------
  |  |  461|  7.96k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (7347:13): [True: 3.62k, False: 4.33k]
  ------------------
 7348|  3.62k|            &&
 7349|  3.62k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7349:13): [True: 2.67k, False: 951]
  ------------------
 7350|  2.67k|            &&
 7351|  2.67k|            (b = block_rule(p))  // block
  ------------------
  |  |  419|  2.67k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (7351:13): [True: 2.64k, False: 30]
  ------------------
 7352|  11.4k|        )
 7353|  2.64k|        {
 7354|  2.64k|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expression ':' block"));
 7355|  2.64k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7356|  2.64k|            if (_token == NULL) {
  ------------------
  |  Branch (7356:17): [True: 0, False: 2.64k]
  ------------------
 7357|      0|                p->level--;
 7358|      0|                return NULL;
 7359|      0|            }
 7360|  2.64k|            int _end_lineno = _token->end_lineno;
 7361|  2.64k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.64k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.64k]
  |  |  ------------------
  ------------------
 7362|  2.64k|            int _end_col_offset = _token->end_col_offset;
 7363|  2.64k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.64k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.64k]
  |  |  ------------------
  ------------------
 7364|  2.64k|            _res = _PyAST_ExceptHandler ( e , NULL , b , EXTRA );
  ------------------
  |  |  316|  2.64k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7365|  2.64k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7365:18): [True: 0, False: 2.64k]
  |  Branch (7365:34): [True: 0, False: 2.64k]
  |  Branch (7365:57): [True: 0, False: 0]
  ------------------
 7366|      0|                p->error_indicator = 1;
 7367|      0|                p->level--;
 7368|      0|                return NULL;
 7369|      0|            }
 7370|  2.64k|            goto done;
 7371|  2.64k|        }
 7372|  8.79k|        p->mark = _mark;
 7373|  8.79k|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7374|  8.79k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expression ':' block"));
 7375|  8.79k|    }
 7376|      0|    { // 'except' expression 'as' NAME ':' block
 7377|  8.79k|        if (p->error_indicator) {
  ------------------
  |  Branch (7377:13): [True: 3, False: 8.79k]
  ------------------
 7378|      3|            p->level--;
 7379|      3|            return NULL;
 7380|      3|        }
 7381|  8.79k|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expression 'as' NAME ':' block"));
 7382|  8.79k|        Token * _keyword;
 7383|  8.79k|        Token * _keyword_1;
 7384|  8.79k|        Token * _literal;
 7385|  8.79k|        asdl_stmt_seq* b;
 7386|  8.79k|        expr_ty e;
 7387|  8.79k|        expr_ty t;
 7388|  8.79k|        if (
 7389|  8.79k|            (_keyword = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (7389:13): [True: 5.31k, False: 3.47k]
  ------------------
 7390|  5.31k|            &&
 7391|  5.31k|            (e = expression_rule(p))  // expression
  ------------------
  |  |  461|  5.31k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (7391:13): [True: 979, False: 4.33k]
  ------------------
 7392|    979|            &&
 7393|    979|            (_keyword_1 = _PyPegen_expect_token(p, 520))  // token='as'
  ------------------
  |  Branch (7393:13): [True: 765, False: 214]
  ------------------
 7394|    765|            &&
 7395|    765|            (t = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (7395:13): [True: 753, False: 12]
  ------------------
 7396|    753|            &&
 7397|    753|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7397:13): [True: 747, False: 6]
  ------------------
 7398|    747|            &&
 7399|    747|            (b = block_rule(p))  // block
  ------------------
  |  |  419|    747|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (7399:13): [True: 740, False: 7]
  ------------------
 7400|  8.79k|        )
 7401|    740|        {
 7402|    740|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expression 'as' NAME ':' block"));
 7403|    740|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7404|    740|            if (_token == NULL) {
  ------------------
  |  Branch (7404:17): [True: 0, False: 740]
  ------------------
 7405|      0|                p->level--;
 7406|      0|                return NULL;
 7407|      0|            }
 7408|    740|            int _end_lineno = _token->end_lineno;
 7409|    740|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    740|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 740]
  |  |  ------------------
  ------------------
 7410|    740|            int _end_col_offset = _token->end_col_offset;
 7411|    740|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    740|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 740]
  |  |  ------------------
  ------------------
 7412|    740|            _res = _PyAST_ExceptHandler ( e , ( ( expr_ty ) t ) -> v . Name . id , b , EXTRA );
  ------------------
  |  |  316|    740|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7413|    740|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7413:18): [True: 0, False: 740]
  |  Branch (7413:34): [True: 0, False: 740]
  |  Branch (7413:57): [True: 0, False: 0]
  ------------------
 7414|      0|                p->error_indicator = 1;
 7415|      0|                p->level--;
 7416|      0|                return NULL;
 7417|      0|            }
 7418|    740|            goto done;
 7419|    740|        }
 7420|  8.05k|        p->mark = _mark;
 7421|  8.05k|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7422|  8.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expression 'as' NAME ':' block"));
 7423|  8.05k|    }
 7424|      0|    { // 'except' expressions ':' block
 7425|  8.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (7425:13): [True: 1, False: 8.05k]
  ------------------
 7426|      1|            p->level--;
 7427|      1|            return NULL;
 7428|      1|        }
 7429|  8.05k|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expressions ':' block"));
 7430|  8.05k|        Token * _keyword;
 7431|  8.05k|        Token * _literal;
 7432|  8.05k|        asdl_stmt_seq* b;
 7433|  8.05k|        expr_ty e;
 7434|  8.05k|        if (
 7435|  8.05k|            (_keyword = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (7435:13): [True: 4.57k, False: 3.47k]
  ------------------
 7436|  4.57k|            &&
 7437|  4.57k|            (e = expressions_rule(p))  // expressions
  ------------------
  |  |  459|  4.57k|#define expressions_rule _PyPegen_expressions_rule
  ------------------
  |  Branch (7437:13): [True: 237, False: 4.33k]
  ------------------
 7438|    237|            &&
 7439|    237|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7439:13): [True: 190, False: 47]
  ------------------
 7440|    190|            &&
 7441|    190|            (b = block_rule(p))  // block
  ------------------
  |  |  419|    190|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (7441:13): [True: 156, False: 34]
  ------------------
 7442|  8.05k|        )
 7443|    156|        {
 7444|    156|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expressions ':' block"));
 7445|    156|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7446|    156|            if (_token == NULL) {
  ------------------
  |  Branch (7446:17): [True: 0, False: 156]
  ------------------
 7447|      0|                p->level--;
 7448|      0|                return NULL;
 7449|      0|            }
 7450|    156|            int _end_lineno = _token->end_lineno;
 7451|    156|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    156|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 156]
  |  |  ------------------
  ------------------
 7452|    156|            int _end_col_offset = _token->end_col_offset;
 7453|    156|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    156|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 156]
  |  |  ------------------
  ------------------
 7454|    156|            _res = CHECK_VERSION ( excepthandler_ty , 14 , "except expressions without parentheses are" , _PyAST_ExceptHandler ( e , NULL , b , EXTRA ) );
  ------------------
  |  |  354|    156|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 7455|    156|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7455:18): [True: 0, False: 156]
  |  Branch (7455:34): [True: 0, False: 156]
  |  Branch (7455:57): [True: 0, False: 0]
  ------------------
 7456|      0|                p->error_indicator = 1;
 7457|      0|                p->level--;
 7458|      0|                return NULL;
 7459|      0|            }
 7460|    156|            goto done;
 7461|    156|        }
 7462|  7.89k|        p->mark = _mark;
 7463|  7.89k|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7464|  7.89k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expressions ':' block"));
 7465|  7.89k|    }
 7466|      0|    { // 'except' ':' block
 7467|  7.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (7467:13): [True: 1, False: 7.89k]
  ------------------
 7468|      1|            p->level--;
 7469|      1|            return NULL;
 7470|      1|        }
 7471|  7.89k|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' ':' block"));
 7472|  7.89k|        Token * _keyword;
 7473|  7.89k|        Token * _literal;
 7474|  7.89k|        asdl_stmt_seq* b;
 7475|  7.89k|        if (
 7476|  7.89k|            (_keyword = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (7476:13): [True: 4.41k, False: 3.47k]
  ------------------
 7477|  4.41k|            &&
 7478|  4.41k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7478:13): [True: 2.85k, False: 1.56k]
  ------------------
 7479|  2.85k|            &&
 7480|  2.85k|            (b = block_rule(p))  // block
  ------------------
  |  |  419|  2.85k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (7480:13): [True: 2.83k, False: 20]
  ------------------
 7481|  7.89k|        )
 7482|  2.83k|        {
 7483|  2.83k|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' ':' block"));
 7484|  2.83k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7485|  2.83k|            if (_token == NULL) {
  ------------------
  |  Branch (7485:17): [True: 0, False: 2.83k]
  ------------------
 7486|      0|                p->level--;
 7487|      0|                return NULL;
 7488|      0|            }
 7489|  2.83k|            int _end_lineno = _token->end_lineno;
 7490|  2.83k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.83k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.83k]
  |  |  ------------------
  ------------------
 7491|  2.83k|            int _end_col_offset = _token->end_col_offset;
 7492|  2.83k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.83k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.83k]
  |  |  ------------------
  ------------------
 7493|  2.83k|            _res = _PyAST_ExceptHandler ( NULL , NULL , b , EXTRA );
  ------------------
  |  |  316|  2.83k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7494|  2.83k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7494:18): [True: 0, False: 2.83k]
  |  Branch (7494:34): [True: 0, False: 2.83k]
  |  Branch (7494:57): [True: 0, False: 0]
  ------------------
 7495|      0|                p->error_indicator = 1;
 7496|      0|                p->level--;
 7497|      0|                return NULL;
 7498|      0|            }
 7499|  2.83k|            goto done;
 7500|  2.83k|        }
 7501|  5.05k|        p->mark = _mark;
 7502|  5.05k|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7503|  5.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' ':' block"));
 7504|  5.05k|    }
 7505|  5.05k|    if (p->call_invalid_rules) { // invalid_except_stmt
  ------------------
  |  Branch (7505:9): [True: 1.81k, False: 3.24k]
  ------------------
 7506|  1.81k|        if (p->error_indicator) {
  ------------------
  |  Branch (7506:13): [True: 7, False: 1.80k]
  ------------------
 7507|      7|            p->level--;
 7508|      7|            return NULL;
 7509|      7|        }
 7510|  1.80k|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_except_stmt"));
 7511|  1.80k|        void *invalid_except_stmt_var;
 7512|  1.80k|        if (
 7513|  1.80k|            (invalid_except_stmt_var = invalid_except_stmt_rule(p))  // invalid_except_stmt
  ------------------
  |  |  603|  1.80k|#define invalid_except_stmt_rule _PyPegen_invalid_except_stmt_rule
  ------------------
  |  Branch (7513:13): [True: 0, False: 1.80k]
  ------------------
 7514|  1.80k|        )
 7515|      0|        {
 7516|      0|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_except_stmt"));
 7517|      0|            _res = invalid_except_stmt_var;
 7518|      0|            goto done;
 7519|      0|        }
 7520|  1.80k|        p->mark = _mark;
 7521|  1.80k|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7522|  1.80k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_except_stmt"));
 7523|  1.80k|    }
 7524|  5.04k|    _res = NULL;
 7525|  11.4k|  done:
 7526|  11.4k|    p->level--;
 7527|  11.4k|    return _res;
 7528|  5.04k|}
_PyPegen_except_star_block_rule:
 7538|  5.60k|{
 7539|  5.60k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  11.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7539:9): [True: 0, False: 5.60k]
  |  Branch (7539:35): [True: 0, False: 5.60k]
  ------------------
 7540|      0|        _Pypegen_stack_overflow(p);
 7541|      0|    }
 7542|  5.60k|    if (p->error_indicator) {
  ------------------
  |  Branch (7542:9): [True: 0, False: 5.60k]
  ------------------
 7543|      0|        p->level--;
 7544|      0|        return NULL;
 7545|      0|    }
 7546|  5.60k|    excepthandler_ty _res = NULL;
 7547|  5.60k|    int _mark = p->mark;
 7548|  5.60k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (7548:9): [True: 1.87k, False: 3.72k]
  |  Branch (7548:31): [True: 1, False: 1.87k]
  ------------------
 7549|      1|        p->error_indicator = 1;
 7550|      1|        p->level--;
 7551|      1|        return NULL;
 7552|      1|    }
 7553|  5.60k|    int _start_lineno = p->tokens[_mark]->lineno;
 7554|  5.60k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  5.60k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5.60k]
  |  |  ------------------
  ------------------
 7555|  5.60k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 7556|  5.60k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  5.60k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5.60k]
  |  |  ------------------
  ------------------
 7557|  5.60k|    if (p->call_invalid_rules) { // invalid_except_star_stmt_indent
  ------------------
  |  Branch (7557:9): [True: 2.64k, False: 2.95k]
  ------------------
 7558|  2.64k|        if (p->error_indicator) {
  ------------------
  |  Branch (7558:13): [True: 0, False: 2.64k]
  ------------------
 7559|      0|            p->level--;
 7560|      0|            return NULL;
 7561|      0|        }
 7562|  2.64k|        D(fprintf(stderr, "%*c> except_star_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_except_star_stmt_indent"));
 7563|  2.64k|        void *invalid_except_star_stmt_indent_var;
 7564|  2.64k|        if (
 7565|  2.64k|            (invalid_except_star_stmt_indent_var = invalid_except_star_stmt_indent_rule(p))  // invalid_except_star_stmt_indent
  ------------------
  |  |  611|  2.64k|#define invalid_except_star_stmt_indent_rule _PyPegen_invalid_except_star_stmt_indent_rule
  ------------------
  |  Branch (7565:13): [True: 0, False: 2.64k]
  ------------------
 7566|  2.64k|        )
 7567|      0|        {
 7568|      0|            D(fprintf(stderr, "%*c+ except_star_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_except_star_stmt_indent"));
 7569|      0|            _res = invalid_except_star_stmt_indent_var;
 7570|      0|            goto done;
 7571|      0|        }
 7572|  2.64k|        p->mark = _mark;
 7573|  2.64k|        D(fprintf(stderr, "%*c%s except_star_block[%d-%d]: %s failed!\n", p->level, ' ',
 7574|  2.64k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_except_star_stmt_indent"));
 7575|  2.64k|    }
 7576|  5.60k|    { // 'except' '*' expression ':' block
 7577|  5.60k|        if (p->error_indicator) {
  ------------------
  |  Branch (7577:13): [True: 3, False: 5.59k]
  ------------------
 7578|      3|            p->level--;
 7579|      3|            return NULL;
 7580|      3|        }
 7581|  5.59k|        D(fprintf(stderr, "%*c> except_star_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' '*' expression ':' block"));
 7582|  5.59k|        Token * _keyword;
 7583|  5.59k|        Token * _literal;
 7584|  5.59k|        Token * _literal_1;
 7585|  5.59k|        asdl_stmt_seq* b;
 7586|  5.59k|        expr_ty e;
 7587|  5.59k|        if (
 7588|  5.59k|            (_keyword = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (7588:13): [True: 3.93k, False: 1.65k]
  ------------------
 7589|  3.93k|            &&
 7590|  3.93k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (7590:13): [True: 3.37k, False: 568]
  ------------------
 7591|  3.37k|            &&
 7592|  3.37k|            (e = expression_rule(p))  // expression
  ------------------
  |  |  461|  3.37k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (7592:13): [True: 3.36k, False: 10]
  ------------------
 7593|  3.36k|            &&
 7594|  3.36k|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7594:13): [True: 2.85k, False: 505]
  ------------------
 7595|  2.85k|            &&
 7596|  2.85k|            (b = block_rule(p))  // block
  ------------------
  |  |  419|  2.85k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (7596:13): [True: 2.82k, False: 32]
  ------------------
 7597|  5.59k|        )
 7598|  2.82k|        {
 7599|  2.82k|            D(fprintf(stderr, "%*c+ except_star_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' '*' expression ':' block"));
 7600|  2.82k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7601|  2.82k|            if (_token == NULL) {
  ------------------
  |  Branch (7601:17): [True: 0, False: 2.82k]
  ------------------
 7602|      0|                p->level--;
 7603|      0|                return NULL;
 7604|      0|            }
 7605|  2.82k|            int _end_lineno = _token->end_lineno;
 7606|  2.82k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.82k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.82k]
  |  |  ------------------
  ------------------
 7607|  2.82k|            int _end_col_offset = _token->end_col_offset;
 7608|  2.82k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.82k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.82k]
  |  |  ------------------
  ------------------
 7609|  2.82k|            _res = _PyAST_ExceptHandler ( e , NULL , b , EXTRA );
  ------------------
  |  |  316|  2.82k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7610|  2.82k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7610:18): [True: 0, False: 2.82k]
  |  Branch (7610:34): [True: 0, False: 2.82k]
  |  Branch (7610:57): [True: 0, False: 0]
  ------------------
 7611|      0|                p->error_indicator = 1;
 7612|      0|                p->level--;
 7613|      0|                return NULL;
 7614|      0|            }
 7615|  2.82k|            goto done;
 7616|  2.82k|        }
 7617|  2.77k|        p->mark = _mark;
 7618|  2.77k|        D(fprintf(stderr, "%*c%s except_star_block[%d-%d]: %s failed!\n", p->level, ' ',
 7619|  2.77k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' '*' expression ':' block"));
 7620|  2.77k|    }
 7621|      0|    { // 'except' '*' expression 'as' NAME ':' block
 7622|  2.77k|        if (p->error_indicator) {
  ------------------
  |  Branch (7622:13): [True: 6, False: 2.76k]
  ------------------
 7623|      6|            p->level--;
 7624|      6|            return NULL;
 7625|      6|        }
 7626|  2.76k|        D(fprintf(stderr, "%*c> except_star_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' '*' expression 'as' NAME ':' block"));
 7627|  2.76k|        Token * _keyword;
 7628|  2.76k|        Token * _keyword_1;
 7629|  2.76k|        Token * _literal;
 7630|  2.76k|        Token * _literal_1;
 7631|  2.76k|        asdl_stmt_seq* b;
 7632|  2.76k|        expr_ty e;
 7633|  2.76k|        expr_ty t;
 7634|  2.76k|        if (
 7635|  2.76k|            (_keyword = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (7635:13): [True: 1.10k, False: 1.65k]
  ------------------
 7636|  1.10k|            &&
 7637|  1.10k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (7637:13): [True: 541, False: 568]
  ------------------
 7638|    541|            &&
 7639|    541|            (e = expression_rule(p))  // expression
  ------------------
  |  |  461|    541|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (7639:13): [True: 531, False: 10]
  ------------------
 7640|    531|            &&
 7641|    531|            (_keyword_1 = _PyPegen_expect_token(p, 520))  // token='as'
  ------------------
  |  Branch (7641:13): [True: 317, False: 214]
  ------------------
 7642|    317|            &&
 7643|    317|            (t = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (7643:13): [True: 299, False: 18]
  ------------------
 7644|    299|            &&
 7645|    299|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7645:13): [True: 286, False: 13]
  ------------------
 7646|    286|            &&
 7647|    286|            (b = block_rule(p))  // block
  ------------------
  |  |  419|    286|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (7647:13): [True: 282, False: 4]
  ------------------
 7648|  2.76k|        )
 7649|    282|        {
 7650|    282|            D(fprintf(stderr, "%*c+ except_star_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' '*' expression 'as' NAME ':' block"));
 7651|    282|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7652|    282|            if (_token == NULL) {
  ------------------
  |  Branch (7652:17): [True: 0, False: 282]
  ------------------
 7653|      0|                p->level--;
 7654|      0|                return NULL;
 7655|      0|            }
 7656|    282|            int _end_lineno = _token->end_lineno;
 7657|    282|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    282|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 282]
  |  |  ------------------
  ------------------
 7658|    282|            int _end_col_offset = _token->end_col_offset;
 7659|    282|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    282|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 282]
  |  |  ------------------
  ------------------
 7660|    282|            _res = _PyAST_ExceptHandler ( e , ( ( expr_ty ) t ) -> v . Name . id , b , EXTRA );
  ------------------
  |  |  316|    282|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7661|    282|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7661:18): [True: 0, False: 282]
  |  Branch (7661:34): [True: 0, False: 282]
  |  Branch (7661:57): [True: 0, False: 0]
  ------------------
 7662|      0|                p->error_indicator = 1;
 7663|      0|                p->level--;
 7664|      0|                return NULL;
 7665|      0|            }
 7666|    282|            goto done;
 7667|    282|        }
 7668|  2.48k|        p->mark = _mark;
 7669|  2.48k|        D(fprintf(stderr, "%*c%s except_star_block[%d-%d]: %s failed!\n", p->level, ' ',
 7670|  2.48k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' '*' expression 'as' NAME ':' block"));
 7671|  2.48k|    }
 7672|      0|    { // 'except' '*' expressions ':' block
 7673|  2.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (7673:13): [True: 1, False: 2.48k]
  ------------------
 7674|      1|            p->level--;
 7675|      1|            return NULL;
 7676|      1|        }
 7677|  2.48k|        D(fprintf(stderr, "%*c> except_star_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' '*' expressions ':' block"));
 7678|  2.48k|        Token * _keyword;
 7679|  2.48k|        Token * _literal;
 7680|  2.48k|        Token * _literal_1;
 7681|  2.48k|        asdl_stmt_seq* b;
 7682|  2.48k|        expr_ty e;
 7683|  2.48k|        if (
 7684|  2.48k|            (_keyword = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (7684:13): [True: 826, False: 1.65k]
  ------------------
 7685|    826|            &&
 7686|    826|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (7686:13): [True: 258, False: 568]
  ------------------
 7687|    258|            &&
 7688|    258|            (e = expressions_rule(p))  // expressions
  ------------------
  |  |  459|    258|#define expressions_rule _PyPegen_expressions_rule
  ------------------
  |  Branch (7688:13): [True: 248, False: 10]
  ------------------
 7689|    248|            &&
 7690|    248|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7690:13): [True: 172, False: 76]
  ------------------
 7691|    172|            &&
 7692|    172|            (b = block_rule(p))  // block
  ------------------
  |  |  419|    172|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (7692:13): [True: 141, False: 31]
  ------------------
 7693|  2.48k|        )
 7694|    141|        {
 7695|    141|            D(fprintf(stderr, "%*c+ except_star_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' '*' expressions ':' block"));
 7696|    141|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7697|    141|            if (_token == NULL) {
  ------------------
  |  Branch (7697:17): [True: 0, False: 141]
  ------------------
 7698|      0|                p->level--;
 7699|      0|                return NULL;
 7700|      0|            }
 7701|    141|            int _end_lineno = _token->end_lineno;
 7702|    141|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    141|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 141]
  |  |  ------------------
  ------------------
 7703|    141|            int _end_col_offset = _token->end_col_offset;
 7704|    141|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    141|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 141]
  |  |  ------------------
  ------------------
 7705|    141|            _res = CHECK_VERSION ( excepthandler_ty , 14 , "except expressions without parentheses are" , _PyAST_ExceptHandler ( e , NULL , b , EXTRA ) );
  ------------------
  |  |  354|    141|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 7706|    141|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7706:18): [True: 0, False: 141]
  |  Branch (7706:34): [True: 0, False: 141]
  |  Branch (7706:57): [True: 0, False: 0]
  ------------------
 7707|      0|                p->error_indicator = 1;
 7708|      0|                p->level--;
 7709|      0|                return NULL;
 7710|      0|            }
 7711|    141|            goto done;
 7712|    141|        }
 7713|  2.34k|        p->mark = _mark;
 7714|  2.34k|        D(fprintf(stderr, "%*c%s except_star_block[%d-%d]: %s failed!\n", p->level, ' ',
 7715|  2.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' '*' expressions ':' block"));
 7716|  2.34k|    }
 7717|  2.34k|    if (p->call_invalid_rules) { // invalid_except_star_stmt
  ------------------
  |  Branch (7717:9): [True: 1.26k, False: 1.07k]
  ------------------
 7718|  1.26k|        if (p->error_indicator) {
  ------------------
  |  Branch (7718:13): [True: 1, False: 1.26k]
  ------------------
 7719|      1|            p->level--;
 7720|      1|            return NULL;
 7721|      1|        }
 7722|  1.26k|        D(fprintf(stderr, "%*c> except_star_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_except_star_stmt"));
 7723|  1.26k|        void *invalid_except_star_stmt_var;
 7724|  1.26k|        if (
 7725|  1.26k|            (invalid_except_star_stmt_var = invalid_except_star_stmt_rule(p))  // invalid_except_star_stmt
  ------------------
  |  |  605|  1.26k|#define invalid_except_star_stmt_rule _PyPegen_invalid_except_star_stmt_rule
  ------------------
  |  Branch (7725:13): [True: 0, False: 1.26k]
  ------------------
 7726|  1.26k|        )
 7727|      0|        {
 7728|      0|            D(fprintf(stderr, "%*c+ except_star_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_except_star_stmt"));
 7729|      0|            _res = invalid_except_star_stmt_var;
 7730|      0|            goto done;
 7731|      0|        }
 7732|  1.26k|        p->mark = _mark;
 7733|  1.26k|        D(fprintf(stderr, "%*c%s except_star_block[%d-%d]: %s failed!\n", p->level, ' ',
 7734|  1.26k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_except_star_stmt"));
 7735|  1.26k|    }
 7736|  2.34k|    _res = NULL;
 7737|  5.58k|  done:
 7738|  5.58k|    p->level--;
 7739|  5.58k|    return _res;
 7740|  2.34k|}
_PyPegen_subject_expr_rule:
 7913|  4.19k|{
 7914|  4.19k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.39k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7914:9): [True: 0, False: 4.19k]
  |  Branch (7914:35): [True: 0, False: 4.19k]
  ------------------
 7915|      0|        _Pypegen_stack_overflow(p);
 7916|      0|    }
 7917|  4.19k|    if (p->error_indicator) {
  ------------------
  |  Branch (7917:9): [True: 0, False: 4.19k]
  ------------------
 7918|      0|        p->level--;
 7919|      0|        return NULL;
 7920|      0|    }
 7921|  4.19k|    expr_ty _res = NULL;
 7922|  4.19k|    int _mark = p->mark;
 7923|  4.19k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (7923:9): [True: 1.85k, False: 2.33k]
  |  Branch (7923:31): [True: 1, False: 1.85k]
  ------------------
 7924|      1|        p->error_indicator = 1;
 7925|      1|        p->level--;
 7926|      1|        return NULL;
 7927|      1|    }
 7928|  4.19k|    int _start_lineno = p->tokens[_mark]->lineno;
 7929|  4.19k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.19k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.19k]
  |  |  ------------------
  ------------------
 7930|  4.19k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 7931|  4.19k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.19k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.19k]
  |  |  ------------------
  ------------------
 7932|  4.19k|    { // star_named_expression ',' star_named_expressions?
 7933|  4.19k|        if (p->error_indicator) {
  ------------------
  |  Branch (7933:13): [True: 0, False: 4.19k]
  ------------------
 7934|      0|            p->level--;
 7935|      0|            return NULL;
 7936|      0|        }
 7937|  4.19k|        D(fprintf(stderr, "%*c> subject_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression ',' star_named_expressions?"));
 7938|  4.19k|        Token * _literal;
 7939|  4.19k|        expr_ty value;
 7940|  4.19k|        void *values;
 7941|  4.19k|        if (
 7942|  4.19k|            (value = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  |  471|  4.19k|#define star_named_expression_rule _PyPegen_star_named_expression_rule
  ------------------
  |  Branch (7942:13): [True: 3.19k, False: 1.00k]
  ------------------
 7943|  3.19k|            &&
 7944|  3.19k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (7944:13): [True: 196, False: 2.99k]
  ------------------
 7945|    196|            &&
 7946|    196|            (values = star_named_expressions_rule(p), !p->error_indicator)  // star_named_expressions?
  ------------------
  |  |  469|    196|#define star_named_expressions_rule _PyPegen_star_named_expressions_rule
  ------------------
  |  Branch (7946:13): [True: 195, False: 1]
  ------------------
 7947|  4.19k|        )
 7948|    195|        {
 7949|    195|            D(fprintf(stderr, "%*c+ subject_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression ',' star_named_expressions?"));
 7950|    195|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7951|    195|            if (_token == NULL) {
  ------------------
  |  Branch (7951:17): [True: 0, False: 195]
  ------------------
 7952|      0|                p->level--;
 7953|      0|                return NULL;
 7954|      0|            }
 7955|    195|            int _end_lineno = _token->end_lineno;
 7956|    195|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    195|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 195]
  |  |  ------------------
  ------------------
 7957|    195|            int _end_col_offset = _token->end_col_offset;
 7958|    195|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    195|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 195]
  |  |  ------------------
  ------------------
 7959|    195|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , value , values ) ) , Load , EXTRA );
  ------------------
  |  |  280|    195|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , value , values ) ) , Load , EXTRA );
  ------------------
  |  |  316|    195|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7960|    195|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7960:18): [True: 0, False: 195]
  |  Branch (7960:34): [True: 0, False: 195]
  |  Branch (7960:57): [True: 0, False: 0]
  ------------------
 7961|      0|                p->error_indicator = 1;
 7962|      0|                p->level--;
 7963|      0|                return NULL;
 7964|      0|            }
 7965|    195|            goto done;
 7966|    195|        }
 7967|  4.00k|        p->mark = _mark;
 7968|  4.00k|        D(fprintf(stderr, "%*c%s subject_expr[%d-%d]: %s failed!\n", p->level, ' ',
 7969|  4.00k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression ',' star_named_expressions?"));
 7970|  4.00k|    }
 7971|      0|    { // named_expression
 7972|  4.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (7972:13): [True: 4, False: 3.99k]
  ------------------
 7973|      4|            p->level--;
 7974|      4|            return NULL;
 7975|      4|        }
 7976|  3.99k|        D(fprintf(stderr, "%*c> subject_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
 7977|  3.99k|        expr_ty named_expression_var;
 7978|  3.99k|        if (
 7979|  3.99k|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  |  475|  3.99k|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (7979:13): [True: 2.99k, False: 999]
  ------------------
 7980|  3.99k|        )
 7981|  2.99k|        {
 7982|  2.99k|            D(fprintf(stderr, "%*c+ subject_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
 7983|  2.99k|            _res = named_expression_var;
 7984|  2.99k|            goto done;
 7985|  2.99k|        }
 7986|    999|        p->mark = _mark;
 7987|    999|        D(fprintf(stderr, "%*c%s subject_expr[%d-%d]: %s failed!\n", p->level, ' ',
 7988|    999|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
 7989|    999|    }
 7990|    999|    _res = NULL;
 7991|  4.19k|  done:
 7992|  4.19k|    p->level--;
 7993|  4.19k|    return _res;
 7994|    999|}
_PyPegen_guard_rule:
 8073|  8.00k|{
 8074|  8.00k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  16.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8074:9): [True: 0, False: 8.00k]
  |  Branch (8074:35): [True: 0, False: 8.00k]
  ------------------
 8075|      0|        _Pypegen_stack_overflow(p);
 8076|      0|    }
 8077|  8.00k|    if (p->error_indicator) {
  ------------------
  |  Branch (8077:9): [True: 0, False: 8.00k]
  ------------------
 8078|      0|        p->level--;
 8079|      0|        return NULL;
 8080|      0|    }
 8081|  8.00k|    expr_ty _res = NULL;
 8082|  8.00k|    int _mark = p->mark;
 8083|  8.00k|    { // 'if' named_expression
 8084|  8.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (8084:13): [True: 0, False: 8.00k]
  ------------------
 8085|      0|            p->level--;
 8086|      0|            return NULL;
 8087|      0|        }
 8088|  8.00k|        D(fprintf(stderr, "%*c> guard[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' named_expression"));
 8089|  8.00k|        Token * _keyword;
 8090|  8.00k|        expr_ty guard;
 8091|  8.00k|        if (
 8092|  8.00k|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (8092:13): [True: 915, False: 7.08k]
  ------------------
 8093|    915|            &&
 8094|    915|            (guard = named_expression_rule(p))  // named_expression
  ------------------
  |  |  475|    915|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (8094:13): [True: 909, False: 6]
  ------------------
 8095|  8.00k|        )
 8096|    909|        {
 8097|    909|            D(fprintf(stderr, "%*c+ guard[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' named_expression"));
 8098|    909|            _res = guard;
 8099|    909|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8099:18): [True: 0, False: 909]
  |  Branch (8099:34): [True: 0, False: 909]
  |  Branch (8099:57): [True: 0, False: 0]
  ------------------
 8100|      0|                p->error_indicator = 1;
 8101|      0|                p->level--;
 8102|      0|                return NULL;
 8103|      0|            }
 8104|    909|            goto done;
 8105|    909|        }
 8106|  7.09k|        p->mark = _mark;
 8107|  7.09k|        D(fprintf(stderr, "%*c%s guard[%d-%d]: %s failed!\n", p->level, ' ',
 8108|  7.09k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' named_expression"));
 8109|  7.09k|    }
 8110|  7.09k|    _res = NULL;
 8111|  8.00k|  done:
 8112|  8.00k|    p->level--;
 8113|  8.00k|    return _res;
 8114|  7.09k|}
_PyPegen_patterns_rule:
 8119|  8.87k|{
 8120|  8.87k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  17.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8120:9): [True: 0, False: 8.87k]
  |  Branch (8120:35): [True: 0, False: 8.87k]
  ------------------
 8121|      0|        _Pypegen_stack_overflow(p);
 8122|      0|    }
 8123|  8.87k|    if (p->error_indicator) {
  ------------------
  |  Branch (8123:9): [True: 0, False: 8.87k]
  ------------------
 8124|      0|        p->level--;
 8125|      0|        return NULL;
 8126|      0|    }
 8127|  8.87k|    pattern_ty _res = NULL;
 8128|  8.87k|    int _mark = p->mark;
 8129|  8.87k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (8129:9): [True: 4.16k, False: 4.70k]
  |  Branch (8129:31): [True: 1, False: 4.16k]
  ------------------
 8130|      1|        p->error_indicator = 1;
 8131|      1|        p->level--;
 8132|      1|        return NULL;
 8133|      1|    }
 8134|  8.87k|    int _start_lineno = p->tokens[_mark]->lineno;
 8135|  8.87k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  8.87k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 8.87k]
  |  |  ------------------
  ------------------
 8136|  8.87k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 8137|  8.87k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  8.87k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 8.87k]
  |  |  ------------------
  ------------------
 8138|  8.87k|    { // open_sequence_pattern
 8139|  8.87k|        if (p->error_indicator) {
  ------------------
  |  Branch (8139:13): [True: 0, False: 8.87k]
  ------------------
 8140|      0|            p->level--;
 8141|      0|            return NULL;
 8142|      0|        }
 8143|  8.87k|        D(fprintf(stderr, "%*c> patterns[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "open_sequence_pattern"));
 8144|  8.87k|        asdl_pattern_seq* patterns;
 8145|  8.87k|        if (
 8146|  8.87k|            (patterns = (asdl_pattern_seq*)open_sequence_pattern_rule(p))  // open_sequence_pattern
  ------------------
  |  Branch (8146:13): [True: 3.25k, False: 5.61k]
  ------------------
 8147|  8.87k|        )
 8148|  3.25k|        {
 8149|  3.25k|            D(fprintf(stderr, "%*c+ patterns[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "open_sequence_pattern"));
 8150|  3.25k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8151|  3.25k|            if (_token == NULL) {
  ------------------
  |  Branch (8151:17): [True: 0, False: 3.25k]
  ------------------
 8152|      0|                p->level--;
 8153|      0|                return NULL;
 8154|      0|            }
 8155|  3.25k|            int _end_lineno = _token->end_lineno;
 8156|  3.25k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.25k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.25k]
  |  |  ------------------
  ------------------
 8157|  3.25k|            int _end_col_offset = _token->end_col_offset;
 8158|  3.25k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.25k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.25k]
  |  |  ------------------
  ------------------
 8159|  3.25k|            _res = _PyAST_MatchSequence ( patterns , EXTRA );
  ------------------
  |  |  316|  3.25k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8160|  3.25k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8160:18): [True: 0, False: 3.25k]
  |  Branch (8160:34): [True: 0, False: 3.25k]
  |  Branch (8160:57): [True: 0, False: 0]
  ------------------
 8161|      0|                p->error_indicator = 1;
 8162|      0|                p->level--;
 8163|      0|                return NULL;
 8164|      0|            }
 8165|  3.25k|            goto done;
 8166|  3.25k|        }
 8167|  5.61k|        p->mark = _mark;
 8168|  5.61k|        D(fprintf(stderr, "%*c%s patterns[%d-%d]: %s failed!\n", p->level, ' ',
 8169|  5.61k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "open_sequence_pattern"));
 8170|  5.61k|    }
 8171|      0|    { // pattern
 8172|  5.61k|        if (p->error_indicator) {
  ------------------
  |  Branch (8172:13): [True: 175, False: 5.44k]
  ------------------
 8173|    175|            p->level--;
 8174|    175|            return NULL;
 8175|    175|        }
 8176|  5.44k|        D(fprintf(stderr, "%*c> patterns[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "pattern"));
 8177|  5.44k|        pattern_ty pattern_var;
 8178|  5.44k|        if (
 8179|  5.44k|            (pattern_var = pattern_rule(p))  // pattern
  ------------------
  |  Branch (8179:13): [True: 4.74k, False: 694]
  ------------------
 8180|  5.44k|        )
 8181|  4.74k|        {
 8182|  4.74k|            D(fprintf(stderr, "%*c+ patterns[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "pattern"));
 8183|  4.74k|            _res = pattern_var;
 8184|  4.74k|            goto done;
 8185|  4.74k|        }
 8186|    694|        p->mark = _mark;
 8187|    694|        D(fprintf(stderr, "%*c%s patterns[%d-%d]: %s failed!\n", p->level, ' ',
 8188|    694|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "pattern"));
 8189|    694|    }
 8190|    694|    _res = NULL;
 8191|  8.69k|  done:
 8192|  8.69k|    p->level--;
 8193|  8.69k|    return _res;
 8194|    694|}
_PyPegen_or_pattern_rule:
 8342|   288k|{
 8343|   288k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   577k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8343:9): [True: 0, False: 288k]
  |  Branch (8343:35): [True: 0, False: 288k]
  ------------------
 8344|      0|        _Pypegen_stack_overflow(p);
 8345|      0|    }
 8346|   288k|    if (p->error_indicator) {
  ------------------
  |  Branch (8346:9): [True: 0, False: 288k]
  ------------------
 8347|      0|        p->level--;
 8348|      0|        return NULL;
 8349|      0|    }
 8350|   288k|    pattern_ty _res = NULL;
 8351|   288k|    int _mark = p->mark;
 8352|   288k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (8352:9): [True: 0, False: 288k]
  |  Branch (8352:31): [True: 0, False: 0]
  ------------------
 8353|      0|        p->error_indicator = 1;
 8354|      0|        p->level--;
 8355|      0|        return NULL;
 8356|      0|    }
 8357|   288k|    int _start_lineno = p->tokens[_mark]->lineno;
 8358|   288k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   288k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 288k]
  |  |  ------------------
  ------------------
 8359|   288k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 8360|   288k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   288k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 288k]
  |  |  ------------------
  ------------------
 8361|   288k|    { // '|'.closed_pattern+
 8362|   288k|        if (p->error_indicator) {
  ------------------
  |  Branch (8362:13): [True: 0, False: 288k]
  ------------------
 8363|      0|            p->level--;
 8364|      0|            return NULL;
 8365|      0|        }
 8366|   288k|        D(fprintf(stderr, "%*c> or_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'|'.closed_pattern+"));
 8367|   288k|        asdl_pattern_seq* patterns;
 8368|   288k|        if (
 8369|   288k|            (patterns = (asdl_pattern_seq*)_gather_40_rule(p))  // '|'.closed_pattern+
  ------------------
  |  Branch (8369:13): [True: 213k, False: 74.8k]
  ------------------
 8370|   288k|        )
 8371|   213k|        {
 8372|   213k|            D(fprintf(stderr, "%*c+ or_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'|'.closed_pattern+"));
 8373|   213k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8374|   213k|            if (_token == NULL) {
  ------------------
  |  Branch (8374:17): [True: 0, False: 213k]
  ------------------
 8375|      0|                p->level--;
 8376|      0|                return NULL;
 8377|      0|            }
 8378|   213k|            int _end_lineno = _token->end_lineno;
 8379|   213k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   213k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 213k]
  |  |  ------------------
  ------------------
 8380|   213k|            int _end_col_offset = _token->end_col_offset;
 8381|   213k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   213k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 213k]
  |  |  ------------------
  ------------------
 8382|   213k|            _res = asdl_seq_LEN ( patterns ) == 1 ? asdl_seq_GET ( patterns , 0 ) : _PyAST_MatchOr ( patterns , EXTRA );
  ------------------
  |  |   83|   213k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|   427k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 213k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = asdl_seq_LEN ( patterns ) == 1 ? asdl_seq_GET ( patterns , 0 ) : _PyAST_MatchOr ( patterns , EXTRA );
  ------------------
  |  |   82|   204k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|   204k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                          _res = asdl_seq_LEN ( patterns ) == 1 ? asdl_seq_GET ( patterns , 0 ) : _PyAST_MatchOr ( patterns , EXTRA );
  ------------------
  |  |  316|  9.35k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (8382:20): [True: 204k, False: 9.35k]
  ------------------
 8383|   213k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8383:18): [True: 0, False: 213k]
  |  Branch (8383:34): [True: 557, False: 213k]
  |  Branch (8383:57): [True: 474, False: 83]
  ------------------
 8384|    474|                p->error_indicator = 1;
 8385|    474|                p->level--;
 8386|    474|                return NULL;
 8387|    474|            }
 8388|   213k|            goto done;
 8389|   213k|        }
 8390|  74.8k|        p->mark = _mark;
 8391|  74.8k|        D(fprintf(stderr, "%*c%s or_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8392|  74.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'|'.closed_pattern+"));
 8393|  74.8k|    }
 8394|  74.8k|    _res = NULL;
 8395|   288k|  done:
 8396|   288k|    p->level--;
 8397|   288k|    return _res;
 8398|  74.8k|}
_PyPegen_name_or_attr_rule:
 9785|  91.9k|{
 9786|  91.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   183k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9786:9): [True: 0, False: 91.9k]
  |  Branch (9786:35): [True: 0, False: 91.9k]
  ------------------
 9787|      0|        _Pypegen_stack_overflow(p);
 9788|      0|    }
 9789|  91.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (9789:9): [True: 0, False: 91.9k]
  ------------------
 9790|      0|        p->level--;
 9791|      0|        return NULL;
 9792|      0|    }
 9793|  91.9k|    expr_ty _res = NULL;
 9794|  91.9k|    int _mark = p->mark;
 9795|  91.9k|    { // attr
 9796|  91.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (9796:13): [True: 0, False: 91.9k]
  ------------------
 9797|      0|            p->level--;
 9798|      0|            return NULL;
 9799|      0|        }
 9800|  91.9k|        D(fprintf(stderr, "%*c> name_or_attr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "attr"));
 9801|  91.9k|        expr_ty attr_var;
 9802|  91.9k|        if (
 9803|  91.9k|            (attr_var = attr_rule(p))  // attr
  ------------------
  |  Branch (9803:13): [True: 3.98k, False: 87.9k]
  ------------------
 9804|  91.9k|        )
 9805|  3.98k|        {
 9806|  3.98k|            D(fprintf(stderr, "%*c+ name_or_attr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "attr"));
 9807|  3.98k|            _res = attr_var;
 9808|  3.98k|            goto done;
 9809|  3.98k|        }
 9810|  87.9k|        p->mark = _mark;
 9811|  87.9k|        D(fprintf(stderr, "%*c%s name_or_attr[%d-%d]: %s failed!\n", p->level, ' ',
 9812|  87.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "attr"));
 9813|  87.9k|    }
 9814|      0|    { // NAME
 9815|  87.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (9815:13): [True: 0, False: 87.9k]
  ------------------
 9816|      0|            p->level--;
 9817|      0|            return NULL;
 9818|      0|        }
 9819|  87.9k|        D(fprintf(stderr, "%*c> name_or_attr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
 9820|  87.9k|        expr_ty name_var;
 9821|  87.9k|        if (
 9822|  87.9k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (9822:13): [True: 46.1k, False: 41.8k]
  ------------------
 9823|  87.9k|        )
 9824|  46.1k|        {
 9825|  46.1k|            D(fprintf(stderr, "%*c+ name_or_attr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
 9826|  46.1k|            _res = name_var;
 9827|  46.1k|            goto done;
 9828|  46.1k|        }
 9829|  41.8k|        p->mark = _mark;
 9830|  41.8k|        D(fprintf(stderr, "%*c%s name_or_attr[%d-%d]: %s failed!\n", p->level, ' ',
 9831|  41.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
 9832|  41.8k|    }
 9833|  41.8k|    _res = NULL;
 9834|  91.9k|  done:
 9835|  91.9k|    p->level--;
 9836|  91.9k|    return _res;
 9837|  41.8k|}
_PyPegen_items_pattern_rule:
10478|  8.97k|{
10479|  8.97k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  17.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10479:9): [True: 0, False: 8.97k]
  |  Branch (10479:35): [True: 0, False: 8.97k]
  ------------------
10480|      0|        _Pypegen_stack_overflow(p);
10481|      0|    }
10482|  8.97k|    if (p->error_indicator) {
  ------------------
  |  Branch (10482:9): [True: 0, False: 8.97k]
  ------------------
10483|      0|        p->level--;
10484|      0|        return NULL;
10485|      0|    }
10486|  8.97k|    asdl_seq* _res = NULL;
10487|  8.97k|    int _mark = p->mark;
10488|  8.97k|    { // ','.key_value_pattern+
10489|  8.97k|        if (p->error_indicator) {
  ------------------
  |  Branch (10489:13): [True: 0, False: 8.97k]
  ------------------
10490|      0|            p->level--;
10491|      0|            return NULL;
10492|      0|        }
10493|  8.97k|        D(fprintf(stderr, "%*c> items_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.key_value_pattern+"));
10494|  8.97k|        asdl_seq * _gather_47_var;
10495|  8.97k|        if (
10496|  8.97k|            (_gather_47_var = _gather_47_rule(p))  // ','.key_value_pattern+
  ------------------
  |  Branch (10496:13): [True: 6.98k, False: 1.98k]
  ------------------
10497|  8.97k|        )
10498|  6.98k|        {
10499|  6.98k|            D(fprintf(stderr, "%*c+ items_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.key_value_pattern+"));
10500|  6.98k|            _res = _gather_47_var;
10501|  6.98k|            goto done;
10502|  6.98k|        }
10503|  1.98k|        p->mark = _mark;
10504|  1.98k|        D(fprintf(stderr, "%*c%s items_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10505|  1.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.key_value_pattern+"));
10506|  1.98k|    }
10507|  1.98k|    _res = NULL;
10508|  8.97k|  done:
10509|  8.97k|    p->level--;
10510|  8.97k|    return _res;
10511|  1.98k|}
_PyPegen_double_star_pattern_rule:
10565|  6.76k|{
10566|  6.76k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  13.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10566:9): [True: 0, False: 6.76k]
  |  Branch (10566:35): [True: 0, False: 6.76k]
  ------------------
10567|      0|        _Pypegen_stack_overflow(p);
10568|      0|    }
10569|  6.76k|    if (p->error_indicator) {
  ------------------
  |  Branch (10569:9): [True: 27, False: 6.73k]
  ------------------
10570|     27|        p->level--;
10571|     27|        return NULL;
10572|     27|    }
10573|  6.73k|    expr_ty _res = NULL;
10574|  6.73k|    int _mark = p->mark;
10575|  6.73k|    { // '**' pattern_capture_target
10576|  6.73k|        if (p->error_indicator) {
  ------------------
  |  Branch (10576:13): [True: 0, False: 6.73k]
  ------------------
10577|      0|            p->level--;
10578|      0|            return NULL;
10579|      0|        }
10580|  6.73k|        D(fprintf(stderr, "%*c> double_star_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' pattern_capture_target"));
10581|  6.73k|        Token * _literal;
10582|  6.73k|        expr_ty target;
10583|  6.73k|        if (
10584|  6.73k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (10584:13): [True: 1.76k, False: 4.97k]
  ------------------
10585|  1.76k|            &&
10586|  1.76k|            (target = pattern_capture_target_rule(p))  // pattern_capture_target
  ------------------
  |  Branch (10586:13): [True: 1.75k, False: 3]
  ------------------
10587|  6.73k|        )
10588|  1.75k|        {
10589|  1.75k|            D(fprintf(stderr, "%*c+ double_star_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' pattern_capture_target"));
10590|  1.75k|            _res = target;
10591|  1.75k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10591:18): [True: 0, False: 1.75k]
  |  Branch (10591:34): [True: 0, False: 1.75k]
  |  Branch (10591:57): [True: 0, False: 0]
  ------------------
10592|      0|                p->error_indicator = 1;
10593|      0|                p->level--;
10594|      0|                return NULL;
10595|      0|            }
10596|  1.75k|            goto done;
10597|  1.75k|        }
10598|  4.97k|        p->mark = _mark;
10599|  4.97k|        D(fprintf(stderr, "%*c%s double_star_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10600|  4.97k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' pattern_capture_target"));
10601|  4.97k|    }
10602|  4.97k|    _res = NULL;
10603|  6.73k|  done:
10604|  6.73k|    p->level--;
10605|  6.73k|    return _res;
10606|  4.97k|}
_PyPegen_positional_patterns_rule:
10846|  13.7k|{
10847|  13.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  27.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10847:9): [True: 0, False: 13.7k]
  |  Branch (10847:35): [True: 0, False: 13.7k]
  ------------------
10848|      0|        _Pypegen_stack_overflow(p);
10849|      0|    }
10850|  13.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (10850:9): [True: 0, False: 13.7k]
  ------------------
10851|      0|        p->level--;
10852|      0|        return NULL;
10853|      0|    }
10854|  13.7k|    asdl_pattern_seq* _res = NULL;
10855|  13.7k|    int _mark = p->mark;
10856|  13.7k|    { // ','.pattern+
10857|  13.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (10857:13): [True: 0, False: 13.7k]
  ------------------
10858|      0|            p->level--;
10859|      0|            return NULL;
10860|      0|        }
10861|  13.7k|        D(fprintf(stderr, "%*c> positional_patterns[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.pattern+"));
10862|  13.7k|        asdl_pattern_seq* args;
10863|  13.7k|        if (
10864|  13.7k|            (args = (asdl_pattern_seq*)_gather_50_rule(p))  // ','.pattern+
  ------------------
  |  Branch (10864:13): [True: 8.37k, False: 5.34k]
  ------------------
10865|  13.7k|        )
10866|  8.37k|        {
10867|  8.37k|            D(fprintf(stderr, "%*c+ positional_patterns[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.pattern+"));
10868|  8.37k|            _res = args;
10869|  8.37k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10869:18): [True: 0, False: 8.37k]
  |  Branch (10869:34): [True: 529, False: 7.84k]
  |  Branch (10869:57): [True: 486, False: 43]
  ------------------
10870|    486|                p->error_indicator = 1;
10871|    486|                p->level--;
10872|    486|                return NULL;
10873|    486|            }
10874|  7.88k|            goto done;
10875|  8.37k|        }
10876|  5.34k|        p->mark = _mark;
10877|  5.34k|        D(fprintf(stderr, "%*c%s positional_patterns[%d-%d]: %s failed!\n", p->level, ' ',
10878|  5.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.pattern+"));
10879|  5.34k|    }
10880|  5.34k|    _res = NULL;
10881|  13.2k|  done:
10882|  13.2k|    p->level--;
10883|  13.2k|    return _res;
10884|  5.34k|}
_PyPegen_keyword_patterns_rule:
10889|  8.80k|{
10890|  8.80k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  17.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10890:9): [True: 0, False: 8.80k]
  |  Branch (10890:35): [True: 0, False: 8.80k]
  ------------------
10891|      0|        _Pypegen_stack_overflow(p);
10892|      0|    }
10893|  8.80k|    if (p->error_indicator) {
  ------------------
  |  Branch (10893:9): [True: 0, False: 8.80k]
  ------------------
10894|      0|        p->level--;
10895|      0|        return NULL;
10896|      0|    }
10897|  8.80k|    asdl_seq* _res = NULL;
10898|  8.80k|    int _mark = p->mark;
10899|  8.80k|    { // ','.keyword_pattern+
10900|  8.80k|        if (p->error_indicator) {
  ------------------
  |  Branch (10900:13): [True: 0, False: 8.80k]
  ------------------
10901|      0|            p->level--;
10902|      0|            return NULL;
10903|      0|        }
10904|  8.80k|        D(fprintf(stderr, "%*c> keyword_patterns[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.keyword_pattern+"));
10905|  8.80k|        asdl_seq * _gather_52_var;
10906|  8.80k|        if (
10907|  8.80k|            (_gather_52_var = _gather_52_rule(p))  // ','.keyword_pattern+
  ------------------
  |  Branch (10907:13): [True: 2.18k, False: 6.61k]
  ------------------
10908|  8.80k|        )
10909|  2.18k|        {
10910|  2.18k|            D(fprintf(stderr, "%*c+ keyword_patterns[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.keyword_pattern+"));
10911|  2.18k|            _res = _gather_52_var;
10912|  2.18k|            goto done;
10913|  2.18k|        }
10914|  6.61k|        p->mark = _mark;
10915|  6.61k|        D(fprintf(stderr, "%*c%s keyword_patterns[%d-%d]: %s failed!\n", p->level, ' ',
10916|  6.61k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.keyword_pattern+"));
10917|  6.61k|    }
10918|  6.61k|    _res = NULL;
10919|  8.80k|  done:
10920|  8.80k|    p->level--;
10921|  8.80k|    return _res;
10922|  6.61k|}
_PyPegen_type_params_rule:
11049|  36.9k|{
11050|  36.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  73.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11050:9): [True: 0, False: 36.9k]
  |  Branch (11050:35): [True: 0, False: 36.9k]
  ------------------
11051|      0|        _Pypegen_stack_overflow(p);
11052|      0|    }
11053|  36.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (11053:9): [True: 0, False: 36.9k]
  ------------------
11054|      0|        p->level--;
11055|      0|        return NULL;
11056|      0|    }
11057|  36.9k|    asdl_type_param_seq* _res = NULL;
11058|  36.9k|    int _mark = p->mark;
11059|  36.9k|    if (p->call_invalid_rules) { // invalid_type_params
  ------------------
  |  Branch (11059:9): [True: 8.55k, False: 28.4k]
  ------------------
11060|  8.55k|        if (p->error_indicator) {
  ------------------
  |  Branch (11060:13): [True: 0, False: 8.55k]
  ------------------
11061|      0|            p->level--;
11062|      0|            return NULL;
11063|      0|        }
11064|  8.55k|        D(fprintf(stderr, "%*c> type_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_type_params"));
11065|  8.55k|        void *invalid_type_params_var;
11066|  8.55k|        if (
11067|  8.55k|            (invalid_type_params_var = invalid_type_params_rule(p))  // invalid_type_params
  ------------------
  |  |  655|  8.55k|#define invalid_type_params_rule _PyPegen_invalid_type_params_rule
  ------------------
  |  Branch (11067:13): [True: 0, False: 8.55k]
  ------------------
11068|  8.55k|        )
11069|      0|        {
11070|      0|            D(fprintf(stderr, "%*c+ type_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_type_params"));
11071|      0|            _res = invalid_type_params_var;
11072|      0|            goto done;
11073|      0|        }
11074|  8.55k|        p->mark = _mark;
11075|  8.55k|        D(fprintf(stderr, "%*c%s type_params[%d-%d]: %s failed!\n", p->level, ' ',
11076|  8.55k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_type_params"));
11077|  8.55k|    }
11078|  36.9k|    { // '[' type_param_seq ']'
11079|  36.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (11079:13): [True: 2, False: 36.9k]
  ------------------
11080|      2|            p->level--;
11081|      2|            return NULL;
11082|      2|        }
11083|  36.9k|        D(fprintf(stderr, "%*c> type_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' type_param_seq ']'"));
11084|  36.9k|        Token * _literal;
11085|  36.9k|        Token * _literal_1;
11086|  36.9k|        asdl_type_param_seq* t;
11087|  36.9k|        if (
11088|  36.9k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (11088:13): [True: 8.93k, False: 28.0k]
  ------------------
11089|  8.93k|            &&
11090|  8.93k|            (t = type_param_seq_rule(p))  // type_param_seq
  ------------------
  |  Branch (11090:13): [True: 8.90k, False: 33]
  ------------------
11091|  8.90k|            &&
11092|  8.90k|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (11092:13): [True: 8.76k, False: 134]
  ------------------
11093|  36.9k|        )
11094|  8.76k|        {
11095|  8.76k|            D(fprintf(stderr, "%*c+ type_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' type_param_seq ']'"));
11096|  8.76k|            _res = CHECK_VERSION ( asdl_type_param_seq* , 12 , "Type parameter lists are" , t );
  ------------------
  |  |  354|  8.76k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
11097|  8.76k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11097:18): [True: 0, False: 8.76k]
  |  Branch (11097:34): [True: 0, False: 8.76k]
  |  Branch (11097:57): [True: 0, False: 0]
  ------------------
11098|      0|                p->error_indicator = 1;
11099|      0|                p->level--;
11100|      0|                return NULL;
11101|      0|            }
11102|  8.76k|            goto done;
11103|  8.76k|        }
11104|  28.2k|        p->mark = _mark;
11105|  28.2k|        D(fprintf(stderr, "%*c%s type_params[%d-%d]: %s failed!\n", p->level, ' ',
11106|  28.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' type_param_seq ']'"));
11107|  28.2k|    }
11108|  28.2k|    _res = NULL;
11109|  36.9k|  done:
11110|  36.9k|    p->level--;
11111|  36.9k|    return _res;
11112|  28.2k|}
_PyPegen_expressions_rule:
11475|  11.3k|{
11476|  11.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  22.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11476:9): [True: 0, False: 11.3k]
  |  Branch (11476:35): [True: 0, False: 11.3k]
  ------------------
11477|      0|        _Pypegen_stack_overflow(p);
11478|      0|    }
11479|  11.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (11479:9): [True: 0, False: 11.3k]
  ------------------
11480|      0|        p->level--;
11481|      0|        return NULL;
11482|      0|    }
11483|  11.3k|    expr_ty _res = NULL;
11484|  11.3k|    int _mark = p->mark;
11485|  11.3k|    expr_ty _prefix_0_result = NULL;
11486|  11.3k|    int _prefix_0_end = 0, _prefix_0_valid = 0;
11487|  11.3k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11487:9): [True: 4.15k, False: 7.19k]
  |  Branch (11487:31): [True: 199, False: 3.95k]
  ------------------
11488|    199|        p->error_indicator = 1;
11489|    199|        p->level--;
11490|    199|        return NULL;
11491|    199|    }
11492|  11.1k|    int _start_lineno = p->tokens[_mark]->lineno;
11493|  11.1k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  11.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 11.1k]
  |  |  ------------------
  ------------------
11494|  11.1k|    int _start_col_offset = p->tokens[_mark]->col_offset;
11495|  11.1k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  11.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 11.1k]
  |  |  ------------------
  ------------------
11496|  11.1k|    { // expression ((',' expression))+ ','?
11497|  11.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (11497:13): [True: 0, False: 11.1k]
  ------------------
11498|      0|            p->level--;
11499|      0|            return NULL;
11500|      0|        }
11501|  11.1k|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ((',' expression))+ ','?"));
11502|  11.1k|        void *_opt_var;
11503|  11.1k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  11.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 11.1k]
  |  |  ------------------
  ------------------
11504|  11.1k|        expr_ty a;
11505|  11.1k|        asdl_seq * b;
11506|  11.1k|        if (
11507|  11.1k|            (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|  11.1k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11507:13): [True: 5.11k, False: 6.03k]
  |  Branch (11507:20): [True: 6.77k, False: 4.37k]
  |  Branch (11507:46): [True: 0, False: 6.77k]
  ------------------
11508|  5.11k|            &&
11509|  5.11k|            (b = _loop1_55_rule(p))  // ((',' expression))+
  ------------------
  |  Branch (11509:13): [True: 576, False: 4.54k]
  ------------------
11510|    576|            &&
11511|    576|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (11511:13): [True: 576, False: 0]
  ------------------
11512|  11.1k|        )
11513|    576|        {
11514|    576|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ((',' expression))+ ','?"));
11515|    576|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11516|    576|            if (_token == NULL) {
  ------------------
  |  Branch (11516:17): [True: 0, False: 576]
  ------------------
11517|      0|                p->level--;
11518|      0|                return NULL;
11519|      0|            }
11520|    576|            int _end_lineno = _token->end_lineno;
11521|    576|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    576|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 576]
  |  |  ------------------
  ------------------
11522|    576|            int _end_col_offset = _token->end_col_offset;
11523|    576|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    576|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 576]
  |  |  ------------------
  ------------------
11524|    576|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  280|    576|#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|    576|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11525|    576|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11525:18): [True: 0, False: 576]
  |  Branch (11525:34): [True: 0, False: 576]
  |  Branch (11525:57): [True: 0, False: 0]
  ------------------
11526|      0|                p->error_indicator = 1;
11527|      0|                p->level--;
11528|      0|                return NULL;
11529|      0|            }
11530|    576|            goto done;
11531|    576|        }
11532|  10.5k|        p->mark = _mark;
11533|  10.5k|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11534|  10.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ((',' expression))+ ','?"));
11535|  10.5k|    }
11536|      0|    { // expression ','
11537|  10.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (11537:13): [True: 742, False: 9.83k]
  ------------------
11538|    742|            p->level--;
11539|    742|            return NULL;
11540|    742|        }
11541|  9.83k|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ','"));
11542|  9.83k|        Token * _literal;
11543|  9.83k|        expr_ty a;
11544|  9.83k|        if (
11545|  9.83k|            (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|  3.69k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11545:13): [True: 4.52k, False: 5.31k]
  |  Branch (11545:20): [True: 6.13k, False: 3.69k]
  |  Branch (11545:46): [True: 6.13k, False: 0]
  ------------------
11546|  4.52k|            &&
11547|  4.52k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11547:13): [True: 1.09k, False: 3.43k]
  ------------------
11548|  9.83k|        )
11549|  1.09k|        {
11550|  1.09k|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ','"));
11551|  1.09k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11552|  1.09k|            if (_token == NULL) {
  ------------------
  |  Branch (11552:17): [True: 0, False: 1.09k]
  ------------------
11553|      0|                p->level--;
11554|      0|                return NULL;
11555|      0|            }
11556|  1.09k|            int _end_lineno = _token->end_lineno;
11557|  1.09k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.09k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.09k]
  |  |  ------------------
  ------------------
11558|  1.09k|            int _end_col_offset = _token->end_col_offset;
11559|  1.09k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.09k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.09k]
  |  |  ------------------
  ------------------
11560|  1.09k|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  280|  1.09k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  316|  1.09k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11561|  1.09k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11561:18): [True: 0, False: 1.09k]
  |  Branch (11561:34): [True: 0, False: 1.09k]
  |  Branch (11561:57): [True: 0, False: 0]
  ------------------
11562|      0|                p->error_indicator = 1;
11563|      0|                p->level--;
11564|      0|                return NULL;
11565|      0|            }
11566|  1.09k|            goto done;
11567|  1.09k|        }
11568|  8.74k|        p->mark = _mark;
11569|  8.74k|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11570|  8.74k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ','"));
11571|  8.74k|    }
11572|      0|    { // expression
11573|  8.74k|        if (p->error_indicator) {
  ------------------
  |  Branch (11573:13): [True: 0, False: 8.74k]
  ------------------
11574|      0|            p->level--;
11575|      0|            return NULL;
11576|      0|        }
11577|  8.74k|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
11578|  8.74k|        expr_ty expression_var;
11579|  8.74k|        if (
11580|  8.74k|            (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|  2.70k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11580:13): [True: 3.43k, False: 5.31k]
  |  Branch (11580:33): [True: 6.04k, False: 2.70k]
  |  Branch (11580:59): [True: 6.04k, False: 0]
  ------------------
11581|  8.74k|        )
11582|  3.43k|        {
11583|  3.43k|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression"));
11584|  3.43k|            _res = expression_var;
11585|  3.43k|            goto done;
11586|  3.43k|        }
11587|  5.31k|        p->mark = _mark;
11588|  5.31k|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11589|  5.31k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
11590|  5.31k|    }
11591|  5.31k|    _res = NULL;
11592|  10.4k|  done:
11593|  10.4k|    p->level--;
11594|  10.4k|    return _res;
11595|  5.31k|}
_PyPegen_expression_rule:
11606|  2.61M|{
11607|  2.61M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  5.23M|#  define MAXSTACK 6000
  ------------------
  |  Branch (11607:9): [True: 1, False: 2.61M]
  |  Branch (11607:35): [True: 0, False: 2.61M]
  ------------------
11608|      1|        _Pypegen_stack_overflow(p);
11609|      1|    }
11610|  2.61M|    if (p->error_indicator) {
  ------------------
  |  Branch (11610:9): [True: 1, False: 2.61M]
  ------------------
11611|      1|        p->level--;
11612|      1|        return NULL;
11613|      1|    }
11614|  2.61M|    expr_ty _res = NULL;
11615|  2.61M|    if (_PyPegen_is_memoized(p, expression_type, &_res)) {
  ------------------
  |  |  198|  2.61M|#define expression_type 1109
  ------------------
  |  Branch (11615:9): [True: 1.52M, False: 1.09M]
  ------------------
11616|  1.52M|        p->level--;
11617|  1.52M|        return _res;
11618|  1.52M|    }
11619|  1.09M|    int _mark = p->mark;
11620|  1.09M|    if (p->call_invalid_rules) { // invalid_if_expression
  ------------------
  |  Branch (11620:9): [True: 317k, False: 776k]
  ------------------
11621|   317k|        if (p->error_indicator) {
  ------------------
  |  Branch (11621:13): [True: 0, False: 317k]
  ------------------
11622|      0|            p->level--;
11623|      0|            return NULL;
11624|      0|        }
11625|   317k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_if_expression"));
11626|   317k|        void *invalid_if_expression_var;
11627|   317k|        if (
11628|   317k|            (invalid_if_expression_var = invalid_if_expression_rule(p))  // invalid_if_expression
  ------------------
  |  |  547|   317k|#define invalid_if_expression_rule _PyPegen_invalid_if_expression_rule
  ------------------
  |  Branch (11628:13): [True: 0, False: 317k]
  ------------------
11629|   317k|        )
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|   317k|        p->mark = _mark;
11636|   317k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11637|   317k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_if_expression"));
11638|   317k|    }
11639|  1.09M|    if (p->call_invalid_rules) { // invalid_expression
  ------------------
  |  Branch (11639:9): [True: 317k, False: 776k]
  ------------------
11640|   317k|        if (p->error_indicator) {
  ------------------
  |  Branch (11640:13): [True: 33.3k, False: 284k]
  ------------------
11641|  33.3k|            p->level--;
11642|  33.3k|            return NULL;
11643|  33.3k|        }
11644|   284k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_expression"));
11645|   284k|        void *invalid_expression_var;
11646|   284k|        if (
11647|   284k|            (invalid_expression_var = invalid_expression_rule(p))  // invalid_expression
  ------------------
  |  |  545|   284k|#define invalid_expression_rule _PyPegen_invalid_expression_rule
  ------------------
  |  Branch (11647:13): [True: 0, False: 284k]
  ------------------
11648|   284k|        )
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|   284k|        p->mark = _mark;
11655|   284k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11656|   284k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_expression"));
11657|   284k|    }
11658|  1.06M|    if (p->call_invalid_rules) { // invalid_legacy_expression
  ------------------
  |  Branch (11658:9): [True: 284k, False: 776k]
  ------------------
11659|   284k|        if (p->error_indicator) {
  ------------------
  |  Branch (11659:13): [True: 3.80k, False: 280k]
  ------------------
11660|  3.80k|            p->level--;
11661|  3.80k|            return NULL;
11662|  3.80k|        }
11663|   280k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_legacy_expression"));
11664|   280k|        void *invalid_legacy_expression_var;
11665|   280k|        if (
11666|   280k|            (invalid_legacy_expression_var = invalid_legacy_expression_rule(p))  // invalid_legacy_expression
  ------------------
  |  |  541|   280k|#define invalid_legacy_expression_rule _PyPegen_invalid_legacy_expression_rule
  ------------------
  |  Branch (11666:13): [True: 0, False: 280k]
  ------------------
11667|   280k|        )
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|   280k|        p->mark = _mark;
11674|   280k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11675|   280k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_legacy_expression"));
11676|   280k|    }
11677|  1.05M|    { // if_expression
11678|  1.05M|        if (p->error_indicator) {
  ------------------
  |  Branch (11678:13): [True: 4.66k, False: 1.05M]
  ------------------
11679|  4.66k|            p->level--;
11680|  4.66k|            return NULL;
11681|  4.66k|        }
11682|  1.05M|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "if_expression"));
11683|  1.05M|        expr_ty if_expression_var;
11684|  1.05M|        if (
11685|  1.05M|            (if_expression_var = if_expression_rule(p))  // if_expression
  ------------------
  |  |  463|  1.05M|#define if_expression_rule _PyPegen_if_expression_rule
  ------------------
  |  Branch (11685:13): [True: 3.49k, False: 1.04M]
  ------------------
11686|  1.05M|        )
11687|  3.49k|        {
11688|  3.49k|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "if_expression"));
11689|  3.49k|            _res = if_expression_var;
11690|  3.49k|            goto done;
11691|  3.49k|        }
11692|  1.04M|        p->mark = _mark;
11693|  1.04M|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11694|  1.04M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "if_expression"));
11695|  1.04M|    }
11696|      0|    { // disjunction
11697|  1.04M|        if (p->error_indicator) {
  ------------------
  |  Branch (11697:13): [True: 12.7k, False: 1.03M]
  ------------------
11698|  12.7k|            p->level--;
11699|  12.7k|            return NULL;
11700|  12.7k|        }
11701|  1.03M|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction"));
11702|  1.03M|        expr_ty disjunction_var;
11703|  1.03M|        if (
11704|  1.03M|            (disjunction_var = disjunction_rule(p))  // disjunction
  ------------------
  |  |  477|  1.03M|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (11704:13): [True: 732k, False: 304k]
  ------------------
11705|  1.03M|        )
11706|   732k|        {
11707|   732k|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction"));
11708|   732k|            _res = disjunction_var;
11709|   732k|            goto done;
11710|   732k|        }
11711|   304k|        p->mark = _mark;
11712|   304k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11713|   304k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction"));
11714|   304k|    }
11715|      0|    { // lambdef
11716|   304k|        if (p->error_indicator) {
  ------------------
  |  Branch (11716:13): [True: 0, False: 304k]
  ------------------
11717|      0|            p->level--;
11718|      0|            return NULL;
11719|      0|        }
11720|   304k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambdef"));
11721|   304k|        expr_ty lambdef_var;
11722|   304k|        if (
11723|   304k|            (lambdef_var = lambdef_rule(p))  // lambdef
  ------------------
  |  |  489|   304k|#define lambdef_rule _PyPegen_lambdef_rule
  ------------------
  |  Branch (11723:13): [True: 15.3k, False: 288k]
  ------------------
11724|   304k|        )
11725|  15.3k|        {
11726|  15.3k|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambdef"));
11727|  15.3k|            _res = lambdef_var;
11728|  15.3k|            goto done;
11729|  15.3k|        }
11730|   288k|        p->mark = _mark;
11731|   288k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11732|   288k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambdef"));
11733|   288k|    }
11734|   288k|    _res = NULL;
11735|  1.03M|  done:
11736|  1.03M|    _PyPegen_insert_memo(p, _mark, expression_type, _res);
  ------------------
  |  |  198|  1.03M|#define expression_type 1109
  ------------------
11737|  1.03M|    p->level--;
11738|  1.03M|    return _res;
11739|   288k|}
_PyPegen_if_expression_rule:
11744|  1.06M|{
11745|  1.06M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.13M|#  define MAXSTACK 6000
  ------------------
  |  Branch (11745:9): [True: 1, False: 1.06M]
  |  Branch (11745:35): [True: 0, False: 1.06M]
  ------------------
11746|      1|        _Pypegen_stack_overflow(p);
11747|      1|    }
11748|  1.06M|    if (p->error_indicator) {
  ------------------
  |  Branch (11748:9): [True: 1, False: 1.06M]
  ------------------
11749|      1|        p->level--;
11750|      1|        return NULL;
11751|      1|    }
11752|  1.06M|    expr_ty _res = NULL;
11753|  1.06M|    int _mark = p->mark;
11754|  1.06M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11754:9): [True: 1.75k, False: 1.06M]
  |  Branch (11754:31): [True: 8, False: 1.74k]
  ------------------
11755|      8|        p->error_indicator = 1;
11756|      8|        p->level--;
11757|      8|        return NULL;
11758|      8|    }
11759|  1.06M|    int _start_lineno = p->tokens[_mark]->lineno;
11760|  1.06M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.06M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.06M]
  |  |  ------------------
  ------------------
11761|  1.06M|    int _start_col_offset = p->tokens[_mark]->col_offset;
11762|  1.06M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.06M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.06M]
  |  |  ------------------
  ------------------
11763|  1.06M|    { // disjunction 'if' disjunction 'else' expression
11764|  1.06M|        if (p->error_indicator) {
  ------------------
  |  Branch (11764:13): [True: 0, False: 1.06M]
  ------------------
11765|      0|            p->level--;
11766|      0|            return NULL;
11767|      0|        }
11768|  1.06M|        D(fprintf(stderr, "%*c> if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11769|  1.06M|        Token * _keyword;
11770|  1.06M|        Token * _keyword_1;
11771|  1.06M|        expr_ty a;
11772|  1.06M|        expr_ty b;
11773|  1.06M|        expr_ty c;
11774|  1.06M|        if (
11775|  1.06M|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  |  477|  1.06M|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (11775:13): [True: 749k, False: 317k]
  ------------------
11776|   749k|            &&
11777|   749k|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (11777:13): [True: 4.45k, False: 745k]
  ------------------
11778|  4.45k|            &&
11779|  4.45k|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  477|  4.45k|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (11779:13): [True: 3.90k, False: 550]
  ------------------
11780|  3.90k|            &&
11781|  3.90k|            (_keyword_1 = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (11781:13): [True: 3.71k, False: 192]
  ------------------
11782|  3.71k|            &&
11783|  3.71k|            (c = expression_rule(p))  // expression
  ------------------
  |  |  461|  3.71k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11783:13): [True: 3.49k, False: 220]
  ------------------
11784|  1.06M|        )
11785|  3.49k|        {
11786|  3.49k|            D(fprintf(stderr, "%*c+ if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11787|  3.49k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11788|  3.49k|            if (_token == NULL) {
  ------------------
  |  Branch (11788:17): [True: 0, False: 3.49k]
  ------------------
11789|      0|                p->level--;
11790|      0|                return NULL;
11791|      0|            }
11792|  3.49k|            int _end_lineno = _token->end_lineno;
11793|  3.49k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.49k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.49k]
  |  |  ------------------
  ------------------
11794|  3.49k|            int _end_col_offset = _token->end_col_offset;
11795|  3.49k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.49k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.49k]
  |  |  ------------------
  ------------------
11796|  3.49k|            _res = _PyAST_IfExp ( b , a , c , EXTRA );
  ------------------
  |  |  316|  3.49k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11797|  3.49k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11797:18): [True: 0, False: 3.49k]
  |  Branch (11797:34): [True: 0, False: 3.49k]
  |  Branch (11797:57): [True: 0, False: 0]
  ------------------
11798|      0|                p->error_indicator = 1;
11799|      0|                p->level--;
11800|      0|                return NULL;
11801|      0|            }
11802|  3.49k|            goto done;
11803|  3.49k|        }
11804|  1.06M|        p->mark = _mark;
11805|  1.06M|        D(fprintf(stderr, "%*c%s if_expression[%d-%d]: %s failed!\n", p->level, ' ',
11806|  1.06M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11807|  1.06M|    }
11808|  1.06M|    _res = NULL;
11809|  1.06M|  done:
11810|  1.06M|    p->level--;
11811|  1.06M|    return _res;
11812|  1.06M|}
_PyPegen_yield_expr_rule:
11817|   129k|{
11818|   129k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   258k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11818:9): [True: 1, False: 129k]
  |  Branch (11818:35): [True: 0, False: 129k]
  ------------------
11819|      1|        _Pypegen_stack_overflow(p);
11820|      1|    }
11821|   129k|    if (p->error_indicator) {
  ------------------
  |  Branch (11821:9): [True: 1, False: 129k]
  ------------------
11822|      1|        p->level--;
11823|      1|        return NULL;
11824|      1|    }
11825|   129k|    expr_ty _res = NULL;
11826|   129k|    int _mark = p->mark;
11827|   129k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11827:9): [True: 31.2k, False: 98.2k]
  |  Branch (11827:31): [True: 53, False: 31.1k]
  ------------------
11828|     53|        p->error_indicator = 1;
11829|     53|        p->level--;
11830|     53|        return NULL;
11831|     53|    }
11832|   129k|    int _start_lineno = p->tokens[_mark]->lineno;
11833|   129k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   129k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 129k]
  |  |  ------------------
  ------------------
11834|   129k|    int _start_col_offset = p->tokens[_mark]->col_offset;
11835|   129k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   129k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 129k]
  |  |  ------------------
  ------------------
11836|   129k|    { // 'yield' 'from' expression
11837|   129k|        if (p->error_indicator) {
  ------------------
  |  Branch (11837:13): [True: 0, False: 129k]
  ------------------
11838|      0|            p->level--;
11839|      0|            return NULL;
11840|      0|        }
11841|   129k|        D(fprintf(stderr, "%*c> yield_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'yield' 'from' expression"));
11842|   129k|        Token * _keyword;
11843|   129k|        Token * _keyword_1;
11844|   129k|        expr_ty a;
11845|   129k|        if (
11846|   129k|            (_keyword = _PyPegen_expect_token(p, 506))  // token='yield'
  ------------------
  |  Branch (11846:13): [True: 5.81k, False: 123k]
  ------------------
11847|  5.81k|            &&
11848|  5.81k|            (_keyword_1 = _PyPegen_expect_token(p, 501))  // token='from'
  ------------------
  |  Branch (11848:13): [True: 641, False: 5.16k]
  ------------------
11849|    641|            &&
11850|    641|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|    641|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11850:13): [True: 580, False: 61]
  ------------------
11851|   129k|        )
11852|    580|        {
11853|    580|            D(fprintf(stderr, "%*c+ yield_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'yield' 'from' expression"));
11854|    580|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11855|    580|            if (_token == NULL) {
  ------------------
  |  Branch (11855:17): [True: 0, False: 580]
  ------------------
11856|      0|                p->level--;
11857|      0|                return NULL;
11858|      0|            }
11859|    580|            int _end_lineno = _token->end_lineno;
11860|    580|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    580|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 580]
  |  |  ------------------
  ------------------
11861|    580|            int _end_col_offset = _token->end_col_offset;
11862|    580|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    580|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 580]
  |  |  ------------------
  ------------------
11863|    580|            _res = _PyAST_YieldFrom ( a , EXTRA );
  ------------------
  |  |  316|    580|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11864|    580|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11864:18): [True: 0, False: 580]
  |  Branch (11864:34): [True: 0, False: 580]
  |  Branch (11864:57): [True: 0, False: 0]
  ------------------
11865|      0|                p->error_indicator = 1;
11866|      0|                p->level--;
11867|      0|                return NULL;
11868|      0|            }
11869|    580|            goto done;
11870|    580|        }
11871|   128k|        p->mark = _mark;
11872|   128k|        D(fprintf(stderr, "%*c%s yield_expr[%d-%d]: %s failed!\n", p->level, ' ',
11873|   128k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'yield' 'from' expression"));
11874|   128k|    }
11875|      0|    { // 'yield' star_expressions?
11876|   128k|        if (p->error_indicator) {
  ------------------
  |  Branch (11876:13): [True: 34, False: 128k]
  ------------------
11877|     34|            p->level--;
11878|     34|            return NULL;
11879|     34|        }
11880|   128k|        D(fprintf(stderr, "%*c> yield_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'yield' star_expressions?"));
11881|   128k|        Token * _keyword;
11882|   128k|        void *a;
11883|   128k|        if (
11884|   128k|            (_keyword = _PyPegen_expect_token(p, 506))  // token='yield'
  ------------------
  |  Branch (11884:13): [True: 5.19k, False: 123k]
  ------------------
11885|  5.19k|            &&
11886|  5.19k|            (a = star_expressions_rule(p), !p->error_indicator)  // star_expressions?
  ------------------
  |  |  467|  5.19k|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (11886:13): [True: 4.94k, False: 249]
  ------------------
11887|   128k|        )
11888|  4.94k|        {
11889|  4.94k|            D(fprintf(stderr, "%*c+ yield_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'yield' star_expressions?"));
11890|  4.94k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11891|  4.94k|            if (_token == NULL) {
  ------------------
  |  Branch (11891:17): [True: 0, False: 4.94k]
  ------------------
11892|      0|                p->level--;
11893|      0|                return NULL;
11894|      0|            }
11895|  4.94k|            int _end_lineno = _token->end_lineno;
11896|  4.94k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.94k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.94k]
  |  |  ------------------
  ------------------
11897|  4.94k|            int _end_col_offset = _token->end_col_offset;
11898|  4.94k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.94k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.94k]
  |  |  ------------------
  ------------------
11899|  4.94k|            _res = _PyAST_Yield ( a , EXTRA );
  ------------------
  |  |  316|  4.94k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11900|  4.94k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11900:18): [True: 0, False: 4.94k]
  |  Branch (11900:34): [True: 0, False: 4.94k]
  |  Branch (11900:57): [True: 0, False: 0]
  ------------------
11901|      0|                p->error_indicator = 1;
11902|      0|                p->level--;
11903|      0|                return NULL;
11904|      0|            }
11905|  4.94k|            goto done;
11906|  4.94k|        }
11907|   123k|        p->mark = _mark;
11908|   123k|        D(fprintf(stderr, "%*c%s yield_expr[%d-%d]: %s failed!\n", p->level, ' ',
11909|   123k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'yield' star_expressions?"));
11910|   123k|    }
11911|   123k|    _res = NULL;
11912|   129k|  done:
11913|   129k|    p->level--;
11914|   129k|    return _res;
11915|   123k|}
_PyPegen_star_expressions_rule:
11923|   433k|{
11924|   433k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   866k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11924:9): [True: 0, False: 433k]
  |  Branch (11924:35): [True: 0, False: 433k]
  ------------------
11925|      0|        _Pypegen_stack_overflow(p);
11926|      0|    }
11927|   433k|    if (p->error_indicator) {
  ------------------
  |  Branch (11927:9): [True: 0, False: 433k]
  ------------------
11928|      0|        p->level--;
11929|      0|        return NULL;
11930|      0|    }
11931|   433k|    expr_ty _res = NULL;
11932|   433k|    int _mark = p->mark;
11933|   433k|    expr_ty _prefix_1_result = NULL;
11934|   433k|    int _prefix_1_end = 0, _prefix_1_valid = 0;
11935|   433k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11935:9): [True: 2.95k, False: 430k]
  |  Branch (11935:31): [True: 4, False: 2.95k]
  ------------------
11936|      4|        p->error_indicator = 1;
11937|      4|        p->level--;
11938|      4|        return NULL;
11939|      4|    }
11940|   433k|    int _start_lineno = p->tokens[_mark]->lineno;
11941|   433k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   433k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 433k]
  |  |  ------------------
  ------------------
11942|   433k|    int _start_col_offset = p->tokens[_mark]->col_offset;
11943|   433k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   433k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 433k]
  |  |  ------------------
  ------------------
11944|   433k|    { // star_expression ((',' star_expression))+ ','?
11945|   433k|        if (p->error_indicator) {
  ------------------
  |  Branch (11945:13): [True: 0, False: 433k]
  ------------------
11946|      0|            p->level--;
11947|      0|            return NULL;
11948|      0|        }
11949|   433k|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11950|   433k|        void *_opt_var;
11951|   433k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|   433k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 433k]
  |  |  ------------------
  ------------------
11952|   433k|        expr_ty a;
11953|   433k|        asdl_seq * b;
11954|   433k|        if (
11955|   433k|            (a = ((!p->call_invalid_rules && _prefix_1_valid) ? (p->mark = _prefix_1_end, _prefix_1_result) : (_prefix_1_result = star_expression_rule(p), _prefix_1_end = p->mark, _prefix_1_valid = 1, _prefix_1_result)))  // star_expression
  ------------------
  |  Branch (11955:13): [True: 265k, False: 167k]
  |  Branch (11955:20): [True: 213k, False: 219k]
  |  Branch (11955:46): [True: 0, False: 213k]
  ------------------
11956|   265k|            &&
11957|   265k|            (b = _loop1_56_rule(p))  // ((',' star_expression))+
  ------------------
  |  Branch (11957:13): [True: 19.8k, False: 245k]
  ------------------
11958|  19.8k|            &&
11959|  19.8k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (11959:13): [True: 19.8k, False: 0]
  ------------------
11960|   433k|        )
11961|  19.8k|        {
11962|  19.8k|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11963|  19.8k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11964|  19.8k|            if (_token == NULL) {
  ------------------
  |  Branch (11964:17): [True: 0, False: 19.8k]
  ------------------
11965|      0|                p->level--;
11966|      0|                return NULL;
11967|      0|            }
11968|  19.8k|            int _end_lineno = _token->end_lineno;
11969|  19.8k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  19.8k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 19.8k]
  |  |  ------------------
  ------------------
11970|  19.8k|            int _end_col_offset = _token->end_col_offset;
11971|  19.8k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  19.8k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 19.8k]
  |  |  ------------------
  ------------------
11972|  19.8k|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  280|  19.8k|#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|  19.8k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11973|  19.8k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11973:18): [True: 0, False: 19.8k]
  |  Branch (11973:34): [True: 0, False: 19.8k]
  |  Branch (11973:57): [True: 0, False: 0]
  ------------------
11974|      0|                p->error_indicator = 1;
11975|      0|                p->level--;
11976|      0|                return NULL;
11977|      0|            }
11978|  19.8k|            goto done;
11979|  19.8k|        }
11980|   413k|        p->mark = _mark;
11981|   413k|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
11982|   413k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11983|   413k|    }
11984|      0|    { // star_expression ','
11985|   413k|        if (p->error_indicator) {
  ------------------
  |  Branch (11985:13): [True: 11.3k, False: 401k]
  ------------------
11986|  11.3k|            p->level--;
11987|  11.3k|            return NULL;
11988|  11.3k|        }
11989|   401k|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression ','"));
11990|   401k|        Token * _literal;
11991|   401k|        expr_ty a;
11992|   401k|        if (
11993|   401k|            (a = ((!p->call_invalid_rules && _prefix_1_valid) ? (p->mark = _prefix_1_end, _prefix_1_result) : (_prefix_1_result = star_expression_rule(p), _prefix_1_end = p->mark, _prefix_1_valid = 1, _prefix_1_result)))  // star_expression
  ------------------
  |  Branch (11993:13): [True: 243k, False: 158k]
  |  Branch (11993:20): [True: 200k, False: 200k]
  |  Branch (11993:46): [True: 200k, False: 0]
  ------------------
11994|   243k|            &&
11995|   243k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11995:13): [True: 3.28k, False: 240k]
  ------------------
11996|   401k|        )
11997|  3.28k|        {
11998|  3.28k|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression ','"));
11999|  3.28k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12000|  3.28k|            if (_token == NULL) {
  ------------------
  |  Branch (12000:17): [True: 0, False: 3.28k]
  ------------------
12001|      0|                p->level--;
12002|      0|                return NULL;
12003|      0|            }
12004|  3.28k|            int _end_lineno = _token->end_lineno;
12005|  3.28k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.28k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.28k]
  |  |  ------------------
  ------------------
12006|  3.28k|            int _end_col_offset = _token->end_col_offset;
12007|  3.28k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.28k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.28k]
  |  |  ------------------
  ------------------
12008|  3.28k|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  280|  3.28k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  316|  3.28k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12009|  3.28k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12009:18): [True: 0, False: 3.28k]
  |  Branch (12009:34): [True: 0, False: 3.28k]
  |  Branch (12009:57): [True: 0, False: 0]
  ------------------
12010|      0|                p->error_indicator = 1;
12011|      0|                p->level--;
12012|      0|                return NULL;
12013|      0|            }
12014|  3.28k|            goto done;
12015|  3.28k|        }
12016|   398k|        p->mark = _mark;
12017|   398k|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
12018|   398k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression ','"));
12019|   398k|    }
12020|      0|    { // star_expression
12021|   398k|        if (p->error_indicator) {
  ------------------
  |  Branch (12021:13): [True: 0, False: 398k]
  ------------------
12022|      0|            p->level--;
12023|      0|            return NULL;
12024|      0|        }
12025|   398k|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression"));
12026|   398k|        expr_ty star_expression_var;
12027|   398k|        if (
12028|   398k|            (star_expression_var = ((!p->call_invalid_rules && _prefix_1_valid) ? (p->mark = _prefix_1_end, _prefix_1_result) : (_prefix_1_result = star_expression_rule(p), _prefix_1_end = p->mark, _prefix_1_valid = 1, _prefix_1_result)))  // star_expression
  ------------------
  |  Branch (12028:13): [True: 240k, False: 158k]
  |  Branch (12028:38): [True: 199k, False: 198k]
  |  Branch (12028:64): [True: 199k, False: 0]
  ------------------
12029|   398k|        )
12030|   240k|        {
12031|   240k|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression"));
12032|   240k|            _res = star_expression_var;
12033|   240k|            goto done;
12034|   240k|        }
12035|   158k|        p->mark = _mark;
12036|   158k|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
12037|   158k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression"));
12038|   158k|    }
12039|   158k|    _res = NULL;
12040|   421k|  done:
12041|   421k|    p->level--;
12042|   421k|    return _res;
12043|   158k|}
_PyPegen_star_named_expressions_rule:
12136|  7.94k|{
12137|  7.94k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  15.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12137:9): [True: 0, False: 7.94k]
  |  Branch (12137:35): [True: 0, False: 7.94k]
  ------------------
12138|      0|        _Pypegen_stack_overflow(p);
12139|      0|    }
12140|  7.94k|    if (p->error_indicator) {
  ------------------
  |  Branch (12140:9): [True: 0, False: 7.94k]
  ------------------
12141|      0|        p->level--;
12142|      0|        return NULL;
12143|      0|    }
12144|  7.94k|    asdl_expr_seq* _res = NULL;
12145|  7.94k|    int _mark = p->mark;
12146|  7.94k|    { // ','.star_named_expression+ ','?
12147|  7.94k|        if (p->error_indicator) {
  ------------------
  |  Branch (12147:13): [True: 0, False: 7.94k]
  ------------------
12148|      0|            p->level--;
12149|      0|            return NULL;
12150|      0|        }
12151|  7.94k|        D(fprintf(stderr, "%*c> star_named_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.star_named_expression+ ','?"));
12152|  7.94k|        void *_opt_var;
12153|  7.94k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  7.94k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 7.94k]
  |  |  ------------------
  ------------------
12154|  7.94k|        asdl_expr_seq* a;
12155|  7.94k|        if (
12156|  7.94k|            (a = (asdl_expr_seq*)_gather_58_rule(p))  // ','.star_named_expression+
  ------------------
  |  Branch (12156:13): [True: 4.96k, False: 2.97k]
  ------------------
12157|  4.96k|            &&
12158|  4.96k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (12158:13): [True: 4.44k, False: 521]
  ------------------
12159|  7.94k|        )
12160|  4.44k|        {
12161|  4.44k|            D(fprintf(stderr, "%*c+ star_named_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.star_named_expression+ ','?"));
12162|  4.44k|            _res = a;
12163|  4.44k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12163:18): [True: 0, False: 4.44k]
  |  Branch (12163:34): [True: 0, False: 4.44k]
  |  Branch (12163:57): [True: 0, False: 0]
  ------------------
12164|      0|                p->error_indicator = 1;
12165|      0|                p->level--;
12166|      0|                return NULL;
12167|      0|            }
12168|  4.44k|            goto done;
12169|  4.44k|        }
12170|  3.49k|        p->mark = _mark;
12171|  3.49k|        D(fprintf(stderr, "%*c%s star_named_expressions[%d-%d]: %s failed!\n", p->level, ' ',
12172|  3.49k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.star_named_expression+ ','?"));
12173|  3.49k|    }
12174|  3.49k|    _res = NULL;
12175|  7.94k|  done:
12176|  7.94k|    p->level--;
12177|  7.94k|    return _res;
12178|  3.49k|}
_PyPegen_star_named_expression_rule:
12183|   766k|{
12184|   766k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.53M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12184:9): [True: 1, False: 766k]
  |  Branch (12184:35): [True: 0, False: 766k]
  ------------------
12185|      1|        _Pypegen_stack_overflow(p);
12186|      1|    }
12187|   766k|    if (p->error_indicator) {
  ------------------
  |  Branch (12187:9): [True: 1, False: 766k]
  ------------------
12188|      1|        p->level--;
12189|      1|        return NULL;
12190|      1|    }
12191|   766k|    expr_ty _res = NULL;
12192|   766k|    int _mark = p->mark;
12193|   766k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12193:9): [True: 122k, False: 644k]
  |  Branch (12193:31): [True: 145, False: 122k]
  ------------------
12194|    145|        p->error_indicator = 1;
12195|    145|        p->level--;
12196|    145|        return NULL;
12197|    145|    }
12198|   766k|    int _start_lineno = p->tokens[_mark]->lineno;
12199|   766k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   766k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 766k]
  |  |  ------------------
  ------------------
12200|   766k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12201|   766k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   766k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 766k]
  |  |  ------------------
  ------------------
12202|   766k|    { // '*' bitwise_or
12203|   766k|        if (p->error_indicator) {
  ------------------
  |  Branch (12203:13): [True: 0, False: 766k]
  ------------------
12204|      0|            p->level--;
12205|      0|            return NULL;
12206|      0|        }
12207|   766k|        D(fprintf(stderr, "%*c> star_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12208|   766k|        Token * _literal;
12209|   766k|        expr_ty a;
12210|   766k|        if (
12211|   766k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (12211:13): [True: 21.5k, False: 745k]
  ------------------
12212|  21.5k|            &&
12213|  21.5k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|  21.5k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12213:13): [True: 18.5k, False: 2.93k]
  ------------------
12214|   766k|        )
12215|  18.5k|        {
12216|  18.5k|            D(fprintf(stderr, "%*c+ star_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12217|  18.5k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12218|  18.5k|            if (_token == NULL) {
  ------------------
  |  Branch (12218:17): [True: 0, False: 18.5k]
  ------------------
12219|      0|                p->level--;
12220|      0|                return NULL;
12221|      0|            }
12222|  18.5k|            int _end_lineno = _token->end_lineno;
12223|  18.5k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  18.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 18.5k]
  |  |  ------------------
  ------------------
12224|  18.5k|            int _end_col_offset = _token->end_col_offset;
12225|  18.5k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  18.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 18.5k]
  |  |  ------------------
  ------------------
12226|  18.5k|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  316|  18.5k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12227|  18.5k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12227:18): [True: 0, False: 18.5k]
  |  Branch (12227:34): [True: 0, False: 18.5k]
  |  Branch (12227:57): [True: 0, False: 0]
  ------------------
12228|      0|                p->error_indicator = 1;
12229|      0|                p->level--;
12230|      0|                return NULL;
12231|      0|            }
12232|  18.5k|            goto done;
12233|  18.5k|        }
12234|   748k|        p->mark = _mark;
12235|   748k|        D(fprintf(stderr, "%*c%s star_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12236|   748k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or"));
12237|   748k|    }
12238|      0|    { // named_expression
12239|   748k|        if (p->error_indicator) {
  ------------------
  |  Branch (12239:13): [True: 204, False: 747k]
  ------------------
12240|    204|            p->level--;
12241|    204|            return NULL;
12242|    204|        }
12243|   747k|        D(fprintf(stderr, "%*c> star_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
12244|   747k|        expr_ty named_expression_var;
12245|   747k|        if (
12246|   747k|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  |  475|   747k|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (12246:13): [True: 470k, False: 277k]
  ------------------
12247|   747k|        )
12248|   470k|        {
12249|   470k|            D(fprintf(stderr, "%*c+ star_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
12250|   470k|            _res = named_expression_var;
12251|   470k|            goto done;
12252|   470k|        }
12253|   277k|        p->mark = _mark;
12254|   277k|        D(fprintf(stderr, "%*c%s star_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12255|   277k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
12256|   277k|    }
12257|   277k|    _res = NULL;
12258|   766k|  done:
12259|   766k|    p->level--;
12260|   766k|    return _res;
12261|   277k|}
_PyPegen_assignment_expression_rule:
12266|  1.15M|{
12267|  1.15M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.31M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12267:9): [True: 1, False: 1.15M]
  |  Branch (12267:35): [True: 0, False: 1.15M]
  ------------------
12268|      1|        _Pypegen_stack_overflow(p);
12269|      1|    }
12270|  1.15M|    if (p->error_indicator) {
  ------------------
  |  Branch (12270:9): [True: 1, False: 1.15M]
  ------------------
12271|      1|        p->level--;
12272|      1|        return NULL;
12273|      1|    }
12274|  1.15M|    expr_ty _res = NULL;
12275|  1.15M|    int _mark = p->mark;
12276|  1.15M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12276:9): [True: 114k, False: 1.04M]
  |  Branch (12276:31): [True: 109, False: 114k]
  ------------------
12277|    109|        p->error_indicator = 1;
12278|    109|        p->level--;
12279|    109|        return NULL;
12280|    109|    }
12281|  1.15M|    int _start_lineno = p->tokens[_mark]->lineno;
12282|  1.15M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.15M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.15M]
  |  |  ------------------
  ------------------
12283|  1.15M|    int _start_col_offset = p->tokens[_mark]->col_offset;
12284|  1.15M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.15M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.15M]
  |  |  ------------------
  ------------------
12285|  1.15M|    { // NAME ':=' ~ expression
12286|  1.15M|        if (p->error_indicator) {
  ------------------
  |  Branch (12286:13): [True: 0, False: 1.15M]
  ------------------
12287|      0|            p->level--;
12288|      0|            return NULL;
12289|      0|        }
12290|  1.15M|        D(fprintf(stderr, "%*c> assignment_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME ':=' ~ expression"));
12291|  1.15M|        int _cut_var = 0;
12292|  1.15M|        Token * _literal;
12293|  1.15M|        expr_ty a;
12294|  1.15M|        expr_ty b;
12295|  1.15M|        if (
12296|  1.15M|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (12296:13): [True: 371k, False: 784k]
  ------------------
12297|   371k|            &&
12298|   371k|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (12298:13): [True: 9.98k, False: 361k]
  ------------------
12299|  9.98k|            &&
12300|  9.98k|            (_cut_var = 1)
  ------------------
  |  Branch (12300:13): [True: 9.98k, False: 0]
  ------------------
12301|  9.98k|            &&
12302|  9.98k|            (b = expression_rule(p))  // expression
  ------------------
  |  |  461|  9.98k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (12302:13): [True: 6.71k, False: 3.27k]
  ------------------
12303|  1.15M|        )
12304|  6.71k|        {
12305|  6.71k|            D(fprintf(stderr, "%*c+ assignment_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME ':=' ~ expression"));
12306|  6.71k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12307|  6.71k|            if (_token == NULL) {
  ------------------
  |  Branch (12307:17): [True: 0, False: 6.71k]
  ------------------
12308|      0|                p->level--;
12309|      0|                return NULL;
12310|      0|            }
12311|  6.71k|            int _end_lineno = _token->end_lineno;
12312|  6.71k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  6.71k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.71k]
  |  |  ------------------
  ------------------
12313|  6.71k|            int _end_col_offset = _token->end_col_offset;
12314|  6.71k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  6.71k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.71k]
  |  |  ------------------
  ------------------
12315|  6.71k|            _res = CHECK_VERSION ( expr_ty , 8 , "Assignment expressions are" , _PyAST_NamedExpr ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , a , Store ) ) , b , EXTRA ) );
  ------------------
  |  |  354|  6.71k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
12316|  6.71k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12316:18): [True: 0, False: 6.71k]
  |  Branch (12316:34): [True: 0, False: 6.71k]
  |  Branch (12316:57): [True: 0, False: 0]
  ------------------
12317|      0|                p->error_indicator = 1;
12318|      0|                p->level--;
12319|      0|                return NULL;
12320|      0|            }
12321|  6.71k|            goto done;
12322|  6.71k|        }
12323|  1.14M|        p->mark = _mark;
12324|  1.14M|        D(fprintf(stderr, "%*c%s assignment_expression[%d-%d]: %s failed!\n", p->level, ' ',
12325|  1.14M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME ':=' ~ expression"));
12326|  1.14M|        if (_cut_var) {
  ------------------
  |  Branch (12326:13): [True: 3.27k, False: 1.14M]
  ------------------
12327|  3.27k|            p->level--;
12328|  3.27k|            return NULL;
12329|  3.27k|        }
12330|  1.14M|    }
12331|  1.14M|    _res = NULL;
12332|  1.15M|  done:
12333|  1.15M|    p->level--;
12334|  1.15M|    return _res;
12335|  1.14M|}
_PyPegen_named_expression_rule:
12340|   865k|{
12341|   865k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.73M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12341:9): [True: 1, False: 865k]
  |  Branch (12341:35): [True: 0, False: 865k]
  ------------------
12342|      1|        _Pypegen_stack_overflow(p);
12343|      1|    }
12344|   865k|    if (p->error_indicator) {
  ------------------
  |  Branch (12344:9): [True: 1, False: 865k]
  ------------------
12345|      1|        p->level--;
12346|      1|        return NULL;
12347|      1|    }
12348|   865k|    expr_ty _res = NULL;
12349|   865k|    int _mark = p->mark;
12350|   865k|    { // assignment_expression
12351|   865k|        if (p->error_indicator) {
  ------------------
  |  Branch (12351:13): [True: 0, False: 865k]
  ------------------
12352|      0|            p->level--;
12353|      0|            return NULL;
12354|      0|        }
12355|   865k|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
12356|   865k|        expr_ty assignment_expression_var;
12357|   865k|        if (
12358|   865k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  |  473|   865k|#define assignment_expression_rule _PyPegen_assignment_expression_rule
  ------------------
  |  Branch (12358:13): [True: 4.85k, False: 860k]
  ------------------
12359|   865k|        )
12360|  4.85k|        {
12361|  4.85k|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
12362|  4.85k|            _res = assignment_expression_var;
12363|  4.85k|            goto done;
12364|  4.85k|        }
12365|   860k|        p->mark = _mark;
12366|   860k|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12367|   860k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
12368|   860k|    }
12369|   860k|    if (p->call_invalid_rules) { // invalid_named_expression
  ------------------
  |  Branch (12369:9): [True: 353k, False: 507k]
  ------------------
12370|   353k|        if (p->error_indicator) {
  ------------------
  |  Branch (12370:13): [True: 103, False: 353k]
  ------------------
12371|    103|            p->level--;
12372|    103|            return NULL;
12373|    103|        }
12374|   353k|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_named_expression"));
12375|   353k|        void *invalid_named_expression_var;
12376|   353k|        if (
12377|   353k|            (invalid_named_expression_var = invalid_named_expression_rule(p))  // invalid_named_expression
  ------------------
  |  |  549|   353k|#define invalid_named_expression_rule _PyPegen_invalid_named_expression_rule
  ------------------
  |  Branch (12377:13): [True: 0, False: 353k]
  ------------------
12378|   353k|        )
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|   353k|        p->mark = _mark;
12385|   353k|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12386|   353k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_named_expression"));
12387|   353k|    }
12388|   860k|    { // expression !':='
12389|   860k|        if (p->error_indicator) {
  ------------------
  |  Branch (12389:13): [True: 17.5k, False: 843k]
  ------------------
12390|  17.5k|            p->level--;
12391|  17.5k|            return NULL;
12392|  17.5k|        }
12393|   843k|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
12394|   843k|        expr_ty expression_var;
12395|   843k|        if (
12396|   843k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  461|   843k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (12396:13): [True: 567k, False: 275k]
  ------------------
12397|   567k|            &&
12398|   567k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (12398:13): [True: 566k, False: 1.42k]
  ------------------
12399|   843k|        )
12400|   566k|        {
12401|   566k|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
12402|   566k|            _res = expression_var;
12403|   566k|            goto done;
12404|   566k|        }
12405|   277k|        p->mark = _mark;
12406|   277k|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12407|   277k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
12408|   277k|    }
12409|   277k|    _res = NULL;
12410|   848k|  done:
12411|   848k|    p->level--;
12412|   848k|    return _res;
12413|   277k|}
_PyPegen_disjunction_rule:
12418|  3.71M|{
12419|  3.71M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  7.42M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12419:9): [True: 2, False: 3.71M]
  |  Branch (12419:35): [True: 0, False: 3.71M]
  ------------------
12420|      2|        _Pypegen_stack_overflow(p);
12421|      2|    }
12422|  3.71M|    if (p->error_indicator) {
  ------------------
  |  Branch (12422:9): [True: 2, False: 3.71M]
  ------------------
12423|      2|        p->level--;
12424|      2|        return NULL;
12425|      2|    }
12426|  3.71M|    expr_ty _res = NULL;
12427|  3.71M|    if (_PyPegen_atom_fast_path(p, &_res)) {
  ------------------
  |  Branch (12427:9): [True: 1.36M, False: 2.34M]
  ------------------
12428|  1.36M|        p->level--;
12429|  1.36M|        return _res;
12430|  1.36M|    }
12431|  2.34M|    if (_PyPegen_is_memoized(p, disjunction_type, &_res)) {
  ------------------
  |  |  207|  2.34M|#define disjunction_type 1118
  ------------------
  |  Branch (12431:9): [True: 1.65M, False: 697k]
  ------------------
12432|  1.65M|        p->level--;
12433|  1.65M|        return _res;
12434|  1.65M|    }
12435|   697k|    int _mark = p->mark;
12436|   697k|    expr_ty _prefix_2_result = NULL;
12437|   697k|    int _prefix_2_end = 0, _prefix_2_valid = 0;
12438|   697k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12438:9): [True: 0, False: 697k]
  |  Branch (12438:31): [True: 0, False: 0]
  ------------------
12439|      0|        p->error_indicator = 1;
12440|      0|        p->level--;
12441|      0|        return NULL;
12442|      0|    }
12443|   697k|    int _start_lineno = p->tokens[_mark]->lineno;
12444|   697k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   697k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 697k]
  |  |  ------------------
  ------------------
12445|   697k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12446|   697k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   697k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 697k]
  |  |  ------------------
  ------------------
12447|   697k|    { // conjunction (('or' conjunction))+
12448|   697k|        if (p->error_indicator) {
  ------------------
  |  Branch (12448:13): [True: 0, False: 697k]
  ------------------
12449|      0|            p->level--;
12450|      0|            return NULL;
12451|      0|        }
12452|   697k|        D(fprintf(stderr, "%*c> disjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "conjunction (('or' conjunction))+"));
12453|   697k|        expr_ty a;
12454|   697k|        asdl_seq * b;
12455|   697k|        if (
12456|   697k|            (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: 292k, False: 404k]
  |  Branch (12456:20): [True: 533k, False: 163k]
  |  Branch (12456:46): [True: 0, False: 533k]
  ------------------
12457|   292k|            &&
12458|   292k|            (b = _loop1_59_rule(p))  // (('or' conjunction))+
  ------------------
  |  Branch (12458:13): [True: 2.10k, False: 290k]
  ------------------
12459|   697k|        )
12460|  2.10k|        {
12461|  2.10k|            D(fprintf(stderr, "%*c+ disjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "conjunction (('or' conjunction))+"));
12462|  2.10k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12463|  2.10k|            if (_token == NULL) {
  ------------------
  |  Branch (12463:17): [True: 0, False: 2.10k]
  ------------------
12464|      0|                p->level--;
12465|      0|                return NULL;
12466|      0|            }
12467|  2.10k|            int _end_lineno = _token->end_lineno;
12468|  2.10k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.10k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.10k]
  |  |  ------------------
  ------------------
12469|  2.10k|            int _end_col_offset = _token->end_col_offset;
12470|  2.10k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.10k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.10k]
  |  |  ------------------
  ------------------
12471|  2.10k|            _res = _PyAST_BoolOp ( Or , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  280|  2.10k|#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|  2.10k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12472|  2.10k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12472:18): [True: 0, False: 2.10k]
  |  Branch (12472:34): [True: 0, False: 2.10k]
  |  Branch (12472:57): [True: 0, False: 0]
  ------------------
12473|      0|                p->error_indicator = 1;
12474|      0|                p->level--;
12475|      0|                return NULL;
12476|      0|            }
12477|  2.10k|            goto done;
12478|  2.10k|        }
12479|   695k|        p->mark = _mark;
12480|   695k|        D(fprintf(stderr, "%*c%s disjunction[%d-%d]: %s failed!\n", p->level, ' ',
12481|   695k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "conjunction (('or' conjunction))+"));
12482|   695k|    }
12483|      0|    { // conjunction
12484|   695k|        if (p->error_indicator) {
  ------------------
  |  Branch (12484:13): [True: 48.0k, False: 647k]
  ------------------
12485|  48.0k|            p->level--;
12486|  48.0k|            return NULL;
12487|  48.0k|        }
12488|   647k|        D(fprintf(stderr, "%*c> disjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "conjunction"));
12489|   647k|        expr_ty conjunction_var;
12490|   647k|        if (
12491|   647k|            (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: 290k, False: 356k]
  |  Branch (12491:34): [True: 518k, False: 128k]
  |  Branch (12491:60): [True: 518k, False: 0]
  ------------------
12492|   647k|        )
12493|   290k|        {
12494|   290k|            D(fprintf(stderr, "%*c+ disjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "conjunction"));
12495|   290k|            _res = conjunction_var;
12496|   290k|            goto done;
12497|   290k|        }
12498|   356k|        p->mark = _mark;
12499|   356k|        D(fprintf(stderr, "%*c%s disjunction[%d-%d]: %s failed!\n", p->level, ' ',
12500|   356k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "conjunction"));
12501|   356k|    }
12502|   356k|    _res = NULL;
12503|   649k|  done:
12504|   649k|    _PyPegen_insert_memo(p, _mark, disjunction_type, _res);
  ------------------
  |  |  207|   649k|#define disjunction_type 1118
  ------------------
12505|   649k|    p->level--;
12506|   649k|    return _res;
12507|   356k|}
_PyPegen_inversion_rule:
12602|   837k|{
12603|   837k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.67M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12603:9): [True: 1, False: 837k]
  |  Branch (12603:35): [True: 0, False: 837k]
  ------------------
12604|      1|        _Pypegen_stack_overflow(p);
12605|      1|    }
12606|   837k|    if (p->error_indicator) {
  ------------------
  |  Branch (12606:9): [True: 1, False: 837k]
  ------------------
12607|      1|        p->level--;
12608|      1|        return NULL;
12609|      1|    }
12610|   837k|    expr_ty _res = NULL;
12611|   837k|    if (_PyPegen_atom_fast_path(p, &_res)) {
  ------------------
  |  Branch (12611:9): [True: 1.74k, False: 835k]
  ------------------
12612|  1.74k|        p->level--;
12613|  1.74k|        return _res;
12614|  1.74k|    }
12615|   835k|    if (_PyPegen_is_memoized(p, inversion_type, &_res)) {
  ------------------
  |  |  209|   835k|#define inversion_type 1120
  ------------------
  |  Branch (12615:9): [True: 129k, False: 706k]
  ------------------
12616|   129k|        p->level--;
12617|   129k|        return _res;
12618|   129k|    }
12619|   706k|    int _mark = p->mark;
12620|   706k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12620:9): [True: 0, False: 706k]
  |  Branch (12620:31): [True: 0, False: 0]
  ------------------
12621|      0|        p->error_indicator = 1;
12622|      0|        p->level--;
12623|      0|        return NULL;
12624|      0|    }
12625|   706k|    int _start_lineno = p->tokens[_mark]->lineno;
12626|   706k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   706k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 706k]
  |  |  ------------------
  ------------------
12627|   706k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12628|   706k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   706k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 706k]
  |  |  ------------------
  ------------------
12629|   706k|    { // 'not' inversion
12630|   706k|        if (p->error_indicator) {
  ------------------
  |  Branch (12630:13): [True: 0, False: 706k]
  ------------------
12631|      0|            p->level--;
12632|      0|            return NULL;
12633|      0|        }
12634|   706k|        D(fprintf(stderr, "%*c> inversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'not' inversion"));
12635|   706k|        Token * _keyword;
12636|   706k|        expr_ty a;
12637|   706k|        if (
12638|   706k|            (_keyword = _PyPegen_expect_token(p, 531))  // token='not'
  ------------------
  |  Branch (12638:13): [True: 1.80k, False: 704k]
  ------------------
12639|  1.80k|            &&
12640|  1.80k|            (a = inversion_rule(p))  // inversion
  ------------------
  |  |  479|  1.80k|#define inversion_rule _PyPegen_inversion_rule
  ------------------
  |  Branch (12640:13): [True: 1.37k, False: 434]
  ------------------
12641|   706k|        )
12642|  1.37k|        {
12643|  1.37k|            D(fprintf(stderr, "%*c+ inversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'not' inversion"));
12644|  1.37k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12645|  1.37k|            if (_token == NULL) {
  ------------------
  |  Branch (12645:17): [True: 0, False: 1.37k]
  ------------------
12646|      0|                p->level--;
12647|      0|                return NULL;
12648|      0|            }
12649|  1.37k|            int _end_lineno = _token->end_lineno;
12650|  1.37k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.37k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.37k]
  |  |  ------------------
  ------------------
12651|  1.37k|            int _end_col_offset = _token->end_col_offset;
12652|  1.37k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.37k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.37k]
  |  |  ------------------
  ------------------
12653|  1.37k|            _res = _PyAST_UnaryOp ( Not , a , EXTRA );
  ------------------
  |  |  316|  1.37k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12654|  1.37k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12654:18): [True: 0, False: 1.37k]
  |  Branch (12654:34): [True: 0, False: 1.37k]
  |  Branch (12654:57): [True: 0, False: 0]
  ------------------
12655|      0|                p->error_indicator = 1;
12656|      0|                p->level--;
12657|      0|                return NULL;
12658|      0|            }
12659|  1.37k|            goto done;
12660|  1.37k|        }
12661|   704k|        p->mark = _mark;
12662|   704k|        D(fprintf(stderr, "%*c%s inversion[%d-%d]: %s failed!\n", p->level, ' ',
12663|   704k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'not' inversion"));
12664|   704k|    }
12665|      0|    { // comparison
12666|   704k|        if (p->error_indicator) {
  ------------------
  |  Branch (12666:13): [True: 263, False: 704k]
  ------------------
12667|    263|            p->level--;
12668|    263|            return NULL;
12669|    263|        }
12670|   704k|        D(fprintf(stderr, "%*c> inversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "comparison"));
12671|   704k|        expr_ty comparison_var;
12672|   704k|        if (
12673|   704k|            (comparison_var = comparison_rule(p))  // comparison
  ------------------
  |  Branch (12673:13): [True: 299k, False: 405k]
  ------------------
12674|   704k|        )
12675|   299k|        {
12676|   299k|            D(fprintf(stderr, "%*c+ inversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "comparison"));
12677|   299k|            _res = comparison_var;
12678|   299k|            goto done;
12679|   299k|        }
12680|   405k|        p->mark = _mark;
12681|   405k|        D(fprintf(stderr, "%*c%s inversion[%d-%d]: %s failed!\n", p->level, ' ',
12682|   405k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "comparison"));
12683|   405k|    }
12684|   405k|    _res = NULL;
12685|   706k|  done:
12686|   706k|    _PyPegen_insert_memo(p, _mark, inversion_type, _res);
  ------------------
  |  |  209|   706k|#define inversion_type 1120
  ------------------
12687|   706k|    p->level--;
12688|   706k|    return _res;
12689|   405k|}
_PyPegen_bitwise_or_rule:
13106|  2.68M|{
13107|  2.68M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  5.36M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13107:9): [True: 1, False: 2.68M]
  |  Branch (13107:35): [True: 0, False: 2.68M]
  ------------------
13108|      1|        _Pypegen_stack_overflow(p);
13109|      1|    }
13110|  2.68M|    expr_ty _res = NULL;
13111|  2.68M|    if (_PyPegen_is_memoized(p, bitwise_or_type, &_res)) {
  ------------------
  |  |  212|  2.68M|#define bitwise_or_type 1123  // Left-recursive
  ------------------
  |  Branch (13111:9): [True: 1.83M, False: 840k]
  ------------------
13112|  1.83M|        p->level--;
13113|  1.83M|        return _res;
13114|  1.83M|    }
13115|   840k|    int _mark = p->mark;
13116|   840k|    int _resmark = p->mark;
13117|   840k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, bitwise_or_type);
  ------------------
  |  |  212|   840k|#define bitwise_or_type 1123  // Left-recursive
  ------------------
13118|   840k|    if (_memo == NULL) {
  ------------------
  |  Branch (13118:9): [True: 0, False: 840k]
  ------------------
13119|      0|        p->level--;
13120|      0|        return NULL;
13121|      0|    }
13122|  1.27M|    while (1) {
  ------------------
  |  Branch (13122:12): [True: 1.27M, Folded]
  ------------------
13123|  1.27M|        _memo->node = _res;
13124|  1.27M|        _memo->mark = p->mark;
13125|  1.27M|        p->mark = _mark;
13126|  1.27M|        void *_raw = bitwise_or_raw(p);
13127|  1.27M|        if (p->error_indicator) {
  ------------------
  |  Branch (13127:13): [True: 49.4k, False: 1.23M]
  ------------------
13128|  49.4k|            p->level--;
13129|  49.4k|            return NULL;
13130|  49.4k|        }
13131|  1.23M|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13131:13): [True: 360k, False: 869k]
  |  Branch (13131:29): [True: 430k, False: 439k]
  ------------------
13132|   791k|            break;
13133|   439k|        _resmark = p->mark;
13134|   439k|        _res = _raw;
13135|   439k|    }
13136|   791k|    p->mark = _resmark;
13137|   791k|    p->level--;
13138|   791k|    return _res;
13139|   840k|}
_PyPegen_bitwise_and_rule:
13373|  3.07M|{
13374|  3.07M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.14M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13374:9): [True: 1, False: 3.07M]
  |  Branch (13374:35): [True: 0, False: 3.07M]
  ------------------
13375|      1|        _Pypegen_stack_overflow(p);
13376|      1|    }
13377|  3.07M|    expr_ty _res = NULL;
13378|  3.07M|    if (_PyPegen_is_memoized(p, bitwise_and_type, &_res)) {
  ------------------
  |  |  214|  3.07M|#define bitwise_and_type 1125  // Left-recursive
  ------------------
  |  Branch (13378:9): [True: 2.18M, False: 888k]
  ------------------
13379|  2.18M|        p->level--;
13380|  2.18M|        return _res;
13381|  2.18M|    }
13382|   888k|    int _mark = p->mark;
13383|   888k|    int _resmark = p->mark;
13384|   888k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, bitwise_and_type);
  ------------------
  |  |  214|   888k|#define bitwise_and_type 1125  // Left-recursive
  ------------------
13385|   888k|    if (_memo == NULL) {
  ------------------
  |  Branch (13385:9): [True: 0, False: 888k]
  ------------------
13386|      0|        p->level--;
13387|      0|        return NULL;
13388|      0|    }
13389|  1.38M|    while (1) {
  ------------------
  |  Branch (13389:12): [True: 1.38M, Folded]
  ------------------
13390|  1.38M|        _memo->node = _res;
13391|  1.38M|        _memo->mark = p->mark;
13392|  1.38M|        p->mark = _mark;
13393|  1.38M|        void *_raw = bitwise_and_raw(p);
13394|  1.38M|        if (p->error_indicator) {
  ------------------
  |  Branch (13394:13): [True: 49.4k, False: 1.33M]
  ------------------
13395|  49.4k|            p->level--;
13396|  49.4k|            return NULL;
13397|  49.4k|        }
13398|  1.33M|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13398:13): [True: 361k, False: 974k]
  |  Branch (13398:29): [True: 477k, False: 496k]
  ------------------
13399|   839k|            break;
13400|   496k|        _resmark = p->mark;
13401|   496k|        _res = _raw;
13402|   496k|    }
13403|   839k|    p->mark = _resmark;
13404|   839k|    p->level--;
13405|   839k|    return _res;
13406|   888k|}
_PyPegen_sum_rule:
13681|  3.89M|{
13682|  3.89M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  7.78M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13682:9): [True: 1, False: 3.89M]
  |  Branch (13682:35): [True: 0, False: 3.89M]
  ------------------
13683|      1|        _Pypegen_stack_overflow(p);
13684|      1|    }
13685|  3.89M|    expr_ty _res = NULL;
13686|  3.89M|    if (_PyPegen_is_memoized(p, sum_type, &_res)) {
  ------------------
  |  |  216|  3.89M|#define sum_type 1127  // Left-recursive
  ------------------
  |  Branch (13686:9): [True: 2.96M, False: 929k]
  ------------------
13687|  2.96M|        p->level--;
13688|  2.96M|        return _res;
13689|  2.96M|    }
13690|   929k|    int _mark = p->mark;
13691|   929k|    int _resmark = p->mark;
13692|   929k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, sum_type);
  ------------------
  |  |  216|   929k|#define sum_type 1127  // Left-recursive
  ------------------
13693|   929k|    if (_memo == NULL) {
  ------------------
  |  Branch (13693:9): [True: 0, False: 929k]
  ------------------
13694|      0|        p->level--;
13695|      0|        return NULL;
13696|      0|    }
13697|  1.72M|    while (1) {
  ------------------
  |  Branch (13697:12): [True: 1.72M, Folded]
  ------------------
13698|  1.72M|        _memo->node = _res;
13699|  1.72M|        _memo->mark = p->mark;
13700|  1.72M|        p->mark = _mark;
13701|  1.72M|        void *_raw = sum_raw(p);
13702|  1.72M|        if (p->error_indicator) {
  ------------------
  |  Branch (13702:13): [True: 49.4k, False: 1.67M]
  ------------------
13703|  49.4k|            p->level--;
13704|  49.4k|            return NULL;
13705|  49.4k|        }
13706|  1.67M|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13706:13): [True: 362k, False: 1.31M]
  |  Branch (13706:29): [True: 517k, False: 793k]
  ------------------
13707|   879k|            break;
13708|   793k|        _resmark = p->mark;
13709|   793k|        _res = _raw;
13710|   793k|    }
13711|   879k|    p->mark = _resmark;
13712|   879k|    p->level--;
13713|   879k|    return _res;
13714|   929k|}
_PyPegen_factor_rule:
14151|  2.77M|{
14152|  2.77M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  5.54M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14152:9): [True: 2, False: 2.77M]
  |  Branch (14152:35): [True: 0, False: 2.77M]
  ------------------
14153|      2|        _Pypegen_stack_overflow(p);
14154|      2|    }
14155|  2.77M|    if (p->error_indicator) {
  ------------------
  |  Branch (14155:9): [True: 2, False: 2.77M]
  ------------------
14156|      2|        p->level--;
14157|      2|        return NULL;
14158|      2|    }
14159|  2.77M|    expr_ty _res = NULL;
14160|  2.77M|    if (_PyPegen_is_memoized(p, factor_type, &_res)) {
  ------------------
  |  |  218|  2.77M|#define factor_type 1129
  ------------------
  |  Branch (14160:9): [True: 798k, False: 1.97M]
  ------------------
14161|   798k|        p->level--;
14162|   798k|        return _res;
14163|   798k|    }
14164|  1.97M|    int _mark = p->mark;
14165|  1.97M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14165:9): [True: 0, False: 1.97M]
  |  Branch (14165:31): [True: 0, False: 0]
  ------------------
14166|      0|        p->error_indicator = 1;
14167|      0|        p->level--;
14168|      0|        return NULL;
14169|      0|    }
14170|  1.97M|    int _start_lineno = p->tokens[_mark]->lineno;
14171|  1.97M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.97M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.97M]
  |  |  ------------------
  ------------------
14172|  1.97M|    int _start_col_offset = p->tokens[_mark]->col_offset;
14173|  1.97M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.97M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.97M]
  |  |  ------------------
  ------------------
14174|  1.97M|    { // '+' factor
14175|  1.97M|        if (p->error_indicator) {
  ------------------
  |  Branch (14175:13): [True: 0, False: 1.97M]
  ------------------
14176|      0|            p->level--;
14177|      0|            return NULL;
14178|      0|        }
14179|  1.97M|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+' factor"));
14180|  1.97M|        Token * _literal;
14181|  1.97M|        expr_ty a;
14182|  1.97M|        if (
14183|  1.97M|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (14183:13): [True: 79.9k, False: 1.89M]
  ------------------
14184|  79.9k|            &&
14185|  79.9k|            (a = factor_rule(p))  // factor
  ------------------
  |  |  487|  79.9k|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14185:13): [True: 78.9k, False: 922]
  ------------------
14186|  1.97M|        )
14187|  78.9k|        {
14188|  78.9k|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+' factor"));
14189|  78.9k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14190|  78.9k|            if (_token == NULL) {
  ------------------
  |  Branch (14190:17): [True: 0, False: 78.9k]
  ------------------
14191|      0|                p->level--;
14192|      0|                return NULL;
14193|      0|            }
14194|  78.9k|            int _end_lineno = _token->end_lineno;
14195|  78.9k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  78.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 78.9k]
  |  |  ------------------
  ------------------
14196|  78.9k|            int _end_col_offset = _token->end_col_offset;
14197|  78.9k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  78.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 78.9k]
  |  |  ------------------
  ------------------
14198|  78.9k|            _res = _PyAST_UnaryOp ( UAdd , a , EXTRA );
  ------------------
  |  |  316|  78.9k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14199|  78.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14199:18): [True: 0, False: 78.9k]
  |  Branch (14199:34): [True: 0, False: 78.9k]
  |  Branch (14199:57): [True: 0, False: 0]
  ------------------
14200|      0|                p->error_indicator = 1;
14201|      0|                p->level--;
14202|      0|                return NULL;
14203|      0|            }
14204|  78.9k|            goto done;
14205|  78.9k|        }
14206|  1.89M|        p->mark = _mark;
14207|  1.89M|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14208|  1.89M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+' factor"));
14209|  1.89M|    }
14210|      0|    { // '-' factor
14211|  1.89M|        if (p->error_indicator) {
  ------------------
  |  Branch (14211:13): [True: 400, False: 1.89M]
  ------------------
14212|    400|            p->level--;
14213|    400|            return NULL;
14214|    400|        }
14215|  1.89M|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-' factor"));
14216|  1.89M|        Token * _literal;
14217|  1.89M|        expr_ty a;
14218|  1.89M|        if (
14219|  1.89M|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (14219:13): [True: 177k, False: 1.71M]
  ------------------
14220|   177k|            &&
14221|   177k|            (a = factor_rule(p))  // factor
  ------------------
  |  |  487|   177k|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14221:13): [True: 174k, False: 3.77k]
  ------------------
14222|  1.89M|        )
14223|   174k|        {
14224|   174k|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-' factor"));
14225|   174k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14226|   174k|            if (_token == NULL) {
  ------------------
  |  Branch (14226:17): [True: 0, False: 174k]
  ------------------
14227|      0|                p->level--;
14228|      0|                return NULL;
14229|      0|            }
14230|   174k|            int _end_lineno = _token->end_lineno;
14231|   174k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   174k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 174k]
  |  |  ------------------
  ------------------
14232|   174k|            int _end_col_offset = _token->end_col_offset;
14233|   174k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   174k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 174k]
  |  |  ------------------
  ------------------
14234|   174k|            _res = _PyAST_UnaryOp ( USub , a , EXTRA );
  ------------------
  |  |  316|   174k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14235|   174k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14235:18): [True: 0, False: 174k]
  |  Branch (14235:34): [True: 0, False: 174k]
  |  Branch (14235:57): [True: 0, False: 0]
  ------------------
14236|      0|                p->error_indicator = 1;
14237|      0|                p->level--;
14238|      0|                return NULL;
14239|      0|            }
14240|   174k|            goto done;
14241|   174k|        }
14242|  1.71M|        p->mark = _mark;
14243|  1.71M|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14244|  1.71M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-' factor"));
14245|  1.71M|    }
14246|      0|    { // '~' factor
14247|  1.71M|        if (p->error_indicator) {
  ------------------
  |  Branch (14247:13): [True: 1.94k, False: 1.71M]
  ------------------
14248|  1.94k|            p->level--;
14249|  1.94k|            return NULL;
14250|  1.94k|        }
14251|  1.71M|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'~' factor"));
14252|  1.71M|        Token * _literal;
14253|  1.71M|        expr_ty a;
14254|  1.71M|        if (
14255|  1.71M|            (_literal = _PyPegen_expect_token(p, 31))  // token='~'
  ------------------
  |  Branch (14255:13): [True: 154k, False: 1.56M]
  ------------------
14256|   154k|            &&
14257|   154k|            (a = factor_rule(p))  // factor
  ------------------
  |  |  487|   154k|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14257:13): [True: 113k, False: 40.7k]
  ------------------
14258|  1.71M|        )
14259|   113k|        {
14260|   113k|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'~' factor"));
14261|   113k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14262|   113k|            if (_token == NULL) {
  ------------------
  |  Branch (14262:17): [True: 0, False: 113k]
  ------------------
14263|      0|                p->level--;
14264|      0|                return NULL;
14265|      0|            }
14266|   113k|            int _end_lineno = _token->end_lineno;
14267|   113k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   113k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 113k]
  |  |  ------------------
  ------------------
14268|   113k|            int _end_col_offset = _token->end_col_offset;
14269|   113k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   113k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 113k]
  |  |  ------------------
  ------------------
14270|   113k|            _res = _PyAST_UnaryOp ( Invert , a , EXTRA );
  ------------------
  |  |  316|   113k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14271|   113k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14271:18): [True: 0, False: 113k]
  |  Branch (14271:34): [True: 0, False: 113k]
  |  Branch (14271:57): [True: 0, False: 0]
  ------------------
14272|      0|                p->error_indicator = 1;
14273|      0|                p->level--;
14274|      0|                return NULL;
14275|      0|            }
14276|   113k|            goto done;
14277|   113k|        }
14278|  1.60M|        p->mark = _mark;
14279|  1.60M|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14280|  1.60M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'~' factor"));
14281|  1.60M|    }
14282|      0|    { // power
14283|  1.60M|        if (p->error_indicator) {
  ------------------
  |  Branch (14283:13): [True: 4.20k, False: 1.59M]
  ------------------
14284|  4.20k|            p->level--;
14285|  4.20k|            return NULL;
14286|  4.20k|        }
14287|  1.59M|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "power"));
14288|  1.59M|        expr_ty power_var;
14289|  1.59M|        if (
14290|  1.59M|            (power_var = power_rule(p))  // power
  ------------------
  |  Branch (14290:13): [True: 1.14M, False: 455k]
  ------------------
14291|  1.59M|        )
14292|  1.14M|        {
14293|  1.14M|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "power"));
14294|  1.14M|            _res = power_var;
14295|  1.14M|            goto done;
14296|  1.14M|        }
14297|   455k|        p->mark = _mark;
14298|   455k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14299|   455k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "power"));
14300|   455k|    }
14301|   455k|    if (p->call_invalid_rules) { // invalid_factor
  ------------------
  |  Branch (14301:9): [True: 127k, False: 327k]
  ------------------
14302|   127k|        if (p->error_indicator) {
  ------------------
  |  Branch (14302:13): [True: 36.6k, False: 91.1k]
  ------------------
14303|  36.6k|            p->level--;
14304|  36.6k|            return NULL;
14305|  36.6k|        }
14306|  91.1k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_factor"));
14307|  91.1k|        void *invalid_factor_var;
14308|  91.1k|        if (
14309|  91.1k|            (invalid_factor_var = invalid_factor_rule(p))  // invalid_factor
  ------------------
  |  |  653|  91.1k|#define invalid_factor_rule _PyPegen_invalid_factor_rule
  ------------------
  |  Branch (14309:13): [True: 0, False: 91.1k]
  ------------------
14310|  91.1k|        )
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|  91.1k|        p->mark = _mark;
14317|  91.1k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14318|  91.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_factor"));
14319|  91.1k|    }
14320|   418k|    _res = NULL;
14321|  1.92M|  done:
14322|  1.92M|    _PyPegen_insert_memo(p, _mark, factor_type, _res);
  ------------------
  |  |  218|  1.92M|#define factor_type 1129
  ------------------
14323|  1.92M|    p->level--;
14324|  1.92M|    return _res;
14325|   418k|}
_PyPegen_lambdef_rule:
15302|   436k|{
15303|   436k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   872k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15303:9): [True: 0, False: 436k]
  |  Branch (15303:35): [True: 0, False: 436k]
  ------------------
15304|      0|        _Pypegen_stack_overflow(p);
15305|      0|    }
15306|   436k|    if (p->error_indicator) {
  ------------------
  |  Branch (15306:9): [True: 0, False: 436k]
  ------------------
15307|      0|        p->level--;
15308|      0|        return NULL;
15309|      0|    }
15310|   436k|    expr_ty _res = NULL;
15311|   436k|    int _mark = p->mark;
15312|   436k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15312:9): [True: 0, False: 436k]
  |  Branch (15312:31): [True: 0, False: 0]
  ------------------
15313|      0|        p->error_indicator = 1;
15314|      0|        p->level--;
15315|      0|        return NULL;
15316|      0|    }
15317|   436k|    int _start_lineno = p->tokens[_mark]->lineno;
15318|   436k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   436k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 436k]
  |  |  ------------------
  ------------------
15319|   436k|    int _start_col_offset = p->tokens[_mark]->col_offset;
15320|   436k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   436k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 436k]
  |  |  ------------------
  ------------------
15321|   436k|    { // 'lambda' lambda_params? ':' expression
15322|   436k|        if (p->error_indicator) {
  ------------------
  |  Branch (15322:13): [True: 0, False: 436k]
  ------------------
15323|      0|            p->level--;
15324|      0|            return NULL;
15325|      0|        }
15326|   436k|        D(fprintf(stderr, "%*c> lambdef[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15327|   436k|        Token * _keyword;
15328|   436k|        Token * _literal;
15329|   436k|        void *a;
15330|   436k|        expr_ty b;
15331|   436k|        if (
15332|   436k|            (_keyword = _PyPegen_expect_token(p, 534))  // token='lambda'
  ------------------
  |  Branch (15332:13): [True: 22.0k, False: 414k]
  ------------------
15333|  22.0k|            &&
15334|  22.0k|            (a = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  |  491|  22.0k|#define lambda_params_rule _PyPegen_lambda_params_rule
  ------------------
  |  Branch (15334:13): [True: 21.2k, False: 767]
  ------------------
15335|  21.2k|            &&
15336|  21.2k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (15336:13): [True: 18.3k, False: 2.88k]
  ------------------
15337|  18.3k|            &&
15338|  18.3k|            (b = expression_rule(p))  // expression
  ------------------
  |  |  461|  18.3k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (15338:13): [True: 15.4k, False: 2.95k]
  ------------------
15339|   436k|        )
15340|  15.4k|        {
15341|  15.4k|            D(fprintf(stderr, "%*c+ lambdef[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15342|  15.4k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15343|  15.4k|            if (_token == NULL) {
  ------------------
  |  Branch (15343:17): [True: 0, False: 15.4k]
  ------------------
15344|      0|                p->level--;
15345|      0|                return NULL;
15346|      0|            }
15347|  15.4k|            int _end_lineno = _token->end_lineno;
15348|  15.4k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  15.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 15.4k]
  |  |  ------------------
  ------------------
15349|  15.4k|            int _end_col_offset = _token->end_col_offset;
15350|  15.4k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  15.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 15.4k]
  |  |  ------------------
  ------------------
15351|  15.4k|            _res = _PyAST_Lambda ( ( a ) ? a : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , EXTRA );
  ------------------
  |  |  280|  18.2k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Lambda ( ( a ) ? a : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , EXTRA );
  ------------------
  |  |  316|  15.4k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (15351:36): [True: 12.5k, False: 2.84k]
  ------------------
15352|  15.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15352:18): [True: 0, False: 15.4k]
  |  Branch (15352:34): [True: 0, False: 15.4k]
  |  Branch (15352:57): [True: 0, False: 0]
  ------------------
15353|      0|                p->error_indicator = 1;
15354|      0|                p->level--;
15355|      0|                return NULL;
15356|      0|            }
15357|  15.4k|            goto done;
15358|  15.4k|        }
15359|   420k|        p->mark = _mark;
15360|   420k|        D(fprintf(stderr, "%*c%s lambdef[%d-%d]: %s failed!\n", p->level, ' ',
15361|   420k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15362|   420k|    }
15363|   420k|    _res = NULL;
15364|   436k|  done:
15365|   436k|    p->level--;
15366|   436k|    return _res;
15367|   420k|}
_PyPegen_lambda_params_rule:
15372|  30.3k|{
15373|  30.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  60.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15373:9): [True: 0, False: 30.3k]
  |  Branch (15373:35): [True: 0, False: 30.3k]
  ------------------
15374|      0|        _Pypegen_stack_overflow(p);
15375|      0|    }
15376|  30.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (15376:9): [True: 0, False: 30.3k]
  ------------------
15377|      0|        p->level--;
15378|      0|        return NULL;
15379|      0|    }
15380|  30.3k|    arguments_ty _res = NULL;
15381|  30.3k|    int _mark = p->mark;
15382|  30.3k|    if (p->call_invalid_rules) { // invalid_lambda_parameters
  ------------------
  |  Branch (15382:9): [True: 12.2k, False: 18.1k]
  ------------------
15383|  12.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (15383:13): [True: 0, False: 12.2k]
  ------------------
15384|      0|            p->level--;
15385|      0|            return NULL;
15386|      0|        }
15387|  12.2k|        D(fprintf(stderr, "%*c> lambda_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_parameters"));
15388|  12.2k|        void *invalid_lambda_parameters_var;
15389|  12.2k|        if (
15390|  12.2k|            (invalid_lambda_parameters_var = invalid_lambda_parameters_rule(p))  // invalid_lambda_parameters
  ------------------
  |  |  571|  12.2k|#define invalid_lambda_parameters_rule _PyPegen_invalid_lambda_parameters_rule
  ------------------
  |  Branch (15390:13): [True: 0, False: 12.2k]
  ------------------
15391|  12.2k|        )
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|  12.2k|        p->mark = _mark;
15398|  12.2k|        D(fprintf(stderr, "%*c%s lambda_params[%d-%d]: %s failed!\n", p->level, ' ',
15399|  12.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_parameters"));
15400|  12.2k|    }
15401|  30.3k|    { // lambda_parameters
15402|  30.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (15402:13): [True: 478, False: 29.8k]
  ------------------
15403|    478|            p->level--;
15404|    478|            return NULL;
15405|    478|        }
15406|  29.8k|        D(fprintf(stderr, "%*c> lambda_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_parameters"));
15407|  29.8k|        arguments_ty lambda_parameters_var;
15408|  29.8k|        if (
15409|  29.8k|            (lambda_parameters_var = lambda_parameters_rule(p))  // lambda_parameters
  ------------------
  |  Branch (15409:13): [True: 24.6k, False: 5.24k]
  ------------------
15410|  29.8k|        )
15411|  24.6k|        {
15412|  24.6k|            D(fprintf(stderr, "%*c+ lambda_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_parameters"));
15413|  24.6k|            _res = lambda_parameters_var;
15414|  24.6k|            goto done;
15415|  24.6k|        }
15416|  5.24k|        p->mark = _mark;
15417|  5.24k|        D(fprintf(stderr, "%*c%s lambda_params[%d-%d]: %s failed!\n", p->level, ' ',
15418|  5.24k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_parameters"));
15419|  5.24k|    }
15420|  5.24k|    _res = NULL;
15421|  29.8k|  done:
15422|  29.8k|    p->level--;
15423|  29.8k|    return _res;
15424|  5.24k|}
_PyPegen_lambda_slash_no_default_rule:
15599|  66.0k|{
15600|  66.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   132k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15600:9): [True: 0, False: 66.0k]
  |  Branch (15600:35): [True: 0, False: 66.0k]
  ------------------
15601|      0|        _Pypegen_stack_overflow(p);
15602|      0|    }
15603|  66.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (15603:9): [True: 0, False: 66.0k]
  ------------------
15604|      0|        p->level--;
15605|      0|        return NULL;
15606|      0|    }
15607|  66.0k|    asdl_arg_seq* _res = NULL;
15608|  66.0k|    int _mark = p->mark;
15609|  66.0k|    { // lambda_param_no_default+ '/' ','
15610|  66.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (15610:13): [True: 0, False: 66.0k]
  ------------------
15611|      0|            p->level--;
15612|      0|            return NULL;
15613|      0|        }
15614|  66.0k|        D(fprintf(stderr, "%*c> lambda_slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15615|  66.0k|        Token * _literal;
15616|  66.0k|        Token * _literal_1;
15617|  66.0k|        asdl_arg_seq* a;
15618|  66.0k|        if (
15619|  66.0k|            (a = (asdl_arg_seq*)_loop1_72_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15619:13): [True: 22.4k, False: 43.5k]
  ------------------
15620|  22.4k|            &&
15621|  22.4k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15621:13): [True: 8.47k, False: 13.9k]
  ------------------
15622|  8.47k|            &&
15623|  8.47k|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15623:13): [True: 8.00k, False: 479]
  ------------------
15624|  66.0k|        )
15625|  8.00k|        {
15626|  8.00k|            D(fprintf(stderr, "%*c+ lambda_slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15627|  8.00k|            _res = a;
15628|  8.00k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15628:18): [True: 0, False: 8.00k]
  |  Branch (15628:34): [True: 0, False: 8.00k]
  |  Branch (15628:57): [True: 0, False: 0]
  ------------------
15629|      0|                p->error_indicator = 1;
15630|      0|                p->level--;
15631|      0|                return NULL;
15632|      0|            }
15633|  8.00k|            goto done;
15634|  8.00k|        }
15635|  58.0k|        p->mark = _mark;
15636|  58.0k|        D(fprintf(stderr, "%*c%s lambda_slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
15637|  58.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15638|  58.0k|    }
15639|      0|    { // lambda_param_no_default+ '/' &':'
15640|  58.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (15640:13): [True: 9, False: 58.0k]
  ------------------
15641|      9|            p->level--;
15642|      9|            return NULL;
15643|      9|        }
15644|  58.0k|        D(fprintf(stderr, "%*c> lambda_slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
15645|  58.0k|        Token * _literal;
15646|  58.0k|        asdl_arg_seq* a;
15647|  58.0k|        if (
15648|  58.0k|            (a = (asdl_arg_seq*)_loop1_72_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15648:13): [True: 14.4k, False: 43.5k]
  ------------------
15649|  14.4k|            &&
15650|  14.4k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15650:13): [True: 477, False: 13.9k]
  ------------------
15651|    477|            &&
15652|    477|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (15652:13): [True: 460, False: 17]
  ------------------
15653|  58.0k|        )
15654|    460|        {
15655|    460|            D(fprintf(stderr, "%*c+ lambda_slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
15656|    460|            _res = a;
15657|    460|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15657:18): [True: 0, False: 460]
  |  Branch (15657:34): [True: 0, False: 460]
  |  Branch (15657:57): [True: 0, False: 0]
  ------------------
15658|      0|                p->error_indicator = 1;
15659|      0|                p->level--;
15660|      0|                return NULL;
15661|      0|            }
15662|    460|            goto done;
15663|    460|        }
15664|  57.5k|        p->mark = _mark;
15665|  57.5k|        D(fprintf(stderr, "%*c%s lambda_slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
15666|  57.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
15667|  57.5k|    }
15668|  57.5k|    _res = NULL;
15669|  66.0k|  done:
15670|  66.0k|    p->level--;
15671|  66.0k|    return _res;
15672|  57.5k|}
_PyPegen_lambda_slash_with_default_rule:
15679|  59.5k|{
15680|  59.5k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   119k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15680:9): [True: 0, False: 59.5k]
  |  Branch (15680:35): [True: 0, False: 59.5k]
  ------------------
15681|      0|        _Pypegen_stack_overflow(p);
15682|      0|    }
15683|  59.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (15683:9): [True: 0, False: 59.5k]
  ------------------
15684|      0|        p->level--;
15685|      0|        return NULL;
15686|      0|    }
15687|  59.5k|    SlashWithDefault* _res = NULL;
15688|  59.5k|    int _mark = p->mark;
15689|  59.5k|    { // lambda_param_no_default* lambda_param_with_default+ '/' ','
15690|  59.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (15690:13): [True: 0, False: 59.5k]
  ------------------
15691|      0|            p->level--;
15692|      0|            return NULL;
15693|      0|        }
15694|  59.5k|        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|  59.5k|        Token * _literal;
15696|  59.5k|        Token * _literal_1;
15697|  59.5k|        asdl_seq * a;
15698|  59.5k|        asdl_seq * b;
15699|  59.5k|        if (
15700|  59.5k|            (a = _loop0_70_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (15700:13): [True: 59.5k, False: 0]
  ------------------
15701|  59.5k|            &&
15702|  59.5k|            (b = _loop1_73_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (15702:13): [True: 7.04k, False: 52.4k]
  ------------------
15703|  7.04k|            &&
15704|  7.04k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15704:13): [True: 2.83k, False: 4.20k]
  ------------------
15705|  2.83k|            &&
15706|  2.83k|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15706:13): [True: 2.50k, False: 332]
  ------------------
15707|  59.5k|        )
15708|  2.50k|        {
15709|  2.50k|            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|  2.50k|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
15711|  2.50k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15711:18): [True: 0, False: 2.50k]
  |  Branch (15711:34): [True: 0, False: 2.50k]
  |  Branch (15711:57): [True: 0, False: 0]
  ------------------
15712|      0|                p->error_indicator = 1;
15713|      0|                p->level--;
15714|      0|                return NULL;
15715|      0|            }
15716|  2.50k|            goto done;
15717|  2.50k|        }
15718|  57.0k|        p->mark = _mark;
15719|  57.0k|        D(fprintf(stderr, "%*c%s lambda_slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
15720|  57.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' ','"));
15721|  57.0k|    }
15722|      0|    { // lambda_param_no_default* lambda_param_with_default+ '/' &':'
15723|  57.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (15723:13): [True: 576, False: 56.4k]
  ------------------
15724|    576|            p->level--;
15725|    576|            return NULL;
15726|    576|        }
15727|  56.4k|        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|  56.4k|        Token * _literal;
15729|  56.4k|        asdl_seq * a;
15730|  56.4k|        asdl_seq * b;
15731|  56.4k|        if (
15732|  56.4k|            (a = _loop0_70_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (15732:13): [True: 56.4k, False: 0]
  ------------------
15733|  56.4k|            &&
15734|  56.4k|            (b = _loop1_73_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (15734:13): [True: 4.53k, False: 51.9k]
  ------------------
15735|  4.53k|            &&
15736|  4.53k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15736:13): [True: 329, False: 4.20k]
  ------------------
15737|    329|            &&
15738|    329|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (15738:13): [True: 296, False: 33]
  ------------------
15739|  56.4k|        )
15740|    296|        {
15741|    296|            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|    296|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
15743|    296|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15743:18): [True: 0, False: 296]
  |  Branch (15743:34): [True: 0, False: 296]
  |  Branch (15743:57): [True: 0, False: 0]
  ------------------
15744|      0|                p->error_indicator = 1;
15745|      0|                p->level--;
15746|      0|                return NULL;
15747|      0|            }
15748|    296|            goto done;
15749|    296|        }
15750|  56.1k|        p->mark = _mark;
15751|  56.1k|        D(fprintf(stderr, "%*c%s lambda_slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
15752|  56.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' &':'"));
15753|  56.1k|    }
15754|  56.1k|    _res = NULL;
15755|  58.9k|  done:
15756|  58.9k|    p->level--;
15757|  58.9k|    return _res;
15758|  56.1k|}
_PyPegen_lambda_param_no_default_rule:
15960|   406k|{
15961|   406k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   812k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15961:9): [True: 0, False: 406k]
  |  Branch (15961:35): [True: 0, False: 406k]
  ------------------
15962|      0|        _Pypegen_stack_overflow(p);
15963|      0|    }
15964|   406k|    if (p->error_indicator) {
  ------------------
  |  Branch (15964:9): [True: 0, False: 406k]
  ------------------
15965|      0|        p->level--;
15966|      0|        return NULL;
15967|      0|    }
15968|   406k|    arg_ty _res = NULL;
15969|   406k|    int _mark = p->mark;
15970|   406k|    { // lambda_param ','
15971|   406k|        if (p->error_indicator) {
  ------------------
  |  Branch (15971:13): [True: 0, False: 406k]
  ------------------
15972|      0|            p->level--;
15973|      0|            return NULL;
15974|      0|        }
15975|   406k|        D(fprintf(stderr, "%*c> lambda_param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param ','"));
15976|   406k|        Token * _literal;
15977|   406k|        arg_ty a;
15978|   406k|        if (
15979|   406k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  503|   406k|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (15979:13): [True: 169k, False: 237k]
  ------------------
15980|   169k|            &&
15981|   169k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15981:13): [True: 87.9k, False: 81.0k]
  ------------------
15982|   406k|        )
15983|  87.9k|        {
15984|  87.9k|            D(fprintf(stderr, "%*c+ lambda_param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param ','"));
15985|  87.9k|            _res = a;
15986|  87.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15986:18): [True: 0, False: 87.9k]
  |  Branch (15986:34): [True: 0, False: 87.9k]
  |  Branch (15986:57): [True: 0, False: 0]
  ------------------
15987|      0|                p->error_indicator = 1;
15988|      0|                p->level--;
15989|      0|                return NULL;
15990|      0|            }
15991|  87.9k|            goto done;
15992|  87.9k|        }
15993|   318k|        p->mark = _mark;
15994|   318k|        D(fprintf(stderr, "%*c%s lambda_param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
15995|   318k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param ','"));
15996|   318k|    }
15997|      0|    { // lambda_param &':'
15998|   318k|        if (p->error_indicator) {
  ------------------
  |  Branch (15998:13): [True: 16, False: 318k]
  ------------------
15999|     16|            p->level--;
16000|     16|            return NULL;
16001|     16|        }
16002|   318k|        D(fprintf(stderr, "%*c> lambda_param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param &':'"));
16003|   318k|        arg_ty a;
16004|   318k|        if (
16005|   318k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  503|   318k|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (16005:13): [True: 81.0k, False: 237k]
  ------------------
16006|  81.0k|            &&
16007|  81.0k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16007:13): [True: 18.1k, False: 62.9k]
  ------------------
16008|   318k|        )
16009|  18.1k|        {
16010|  18.1k|            D(fprintf(stderr, "%*c+ lambda_param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param &':'"));
16011|  18.1k|            _res = a;
16012|  18.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16012:18): [True: 0, False: 18.1k]
  |  Branch (16012:34): [True: 0, False: 18.1k]
  |  Branch (16012:57): [True: 0, False: 0]
  ------------------
16013|      0|                p->error_indicator = 1;
16014|      0|                p->level--;
16015|      0|                return NULL;
16016|      0|            }
16017|  18.1k|            goto done;
16018|  18.1k|        }
16019|   300k|        p->mark = _mark;
16020|   300k|        D(fprintf(stderr, "%*c%s lambda_param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16021|   300k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param &':'"));
16022|   300k|    }
16023|   300k|    _res = NULL;
16024|   406k|  done:
16025|   406k|    p->level--;
16026|   406k|    return _res;
16027|   300k|}
_PyPegen_lambda_param_with_default_rule:
16032|   183k|{
16033|   183k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   367k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16033:9): [True: 0, False: 183k]
  |  Branch (16033:35): [True: 0, False: 183k]
  ------------------
16034|      0|        _Pypegen_stack_overflow(p);
16035|      0|    }
16036|   183k|    if (p->error_indicator) {
  ------------------
  |  Branch (16036:9): [True: 0, False: 183k]
  ------------------
16037|      0|        p->level--;
16038|      0|        return NULL;
16039|      0|    }
16040|   183k|    NameDefaultPair* _res = NULL;
16041|   183k|    int _mark = p->mark;
16042|   183k|    { // lambda_param default ','
16043|   183k|        if (p->error_indicator) {
  ------------------
  |  Branch (16043:13): [True: 0, False: 183k]
  ------------------
16044|      0|            p->level--;
16045|      0|            return NULL;
16046|      0|        }
16047|   183k|        D(fprintf(stderr, "%*c> lambda_param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default ','"));
16048|   183k|        Token * _literal;
16049|   183k|        arg_ty a;
16050|   183k|        expr_ty c;
16051|   183k|        if (
16052|   183k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  503|   183k|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (16052:13): [True: 46.0k, False: 137k]
  ------------------
16053|  46.0k|            &&
16054|  46.0k|            (c = default_rule(p))  // default
  ------------------
  |  Branch (16054:13): [True: 32.4k, False: 13.5k]
  ------------------
16055|  32.4k|            &&
16056|  32.4k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16056:13): [True: 22.2k, False: 10.2k]
  ------------------
16057|   183k|        )
16058|  22.2k|        {
16059|  22.2k|            D(fprintf(stderr, "%*c+ lambda_param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default ','"));
16060|  22.2k|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16061|  22.2k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16061:18): [True: 0, False: 22.2k]
  |  Branch (16061:34): [True: 0, False: 22.2k]
  |  Branch (16061:57): [True: 0, False: 0]
  ------------------
16062|      0|                p->error_indicator = 1;
16063|      0|                p->level--;
16064|      0|                return NULL;
16065|      0|            }
16066|  22.2k|            goto done;
16067|  22.2k|        }
16068|   161k|        p->mark = _mark;
16069|   161k|        D(fprintf(stderr, "%*c%s lambda_param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16070|   161k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default ','"));
16071|   161k|    }
16072|      0|    { // lambda_param default &':'
16073|   161k|        if (p->error_indicator) {
  ------------------
  |  Branch (16073:13): [True: 644, False: 160k]
  ------------------
16074|    644|            p->level--;
16075|    644|            return NULL;
16076|    644|        }
16077|   160k|        D(fprintf(stderr, "%*c> lambda_param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default &':'"));
16078|   160k|        arg_ty a;
16079|   160k|        expr_ty c;
16080|   160k|        if (
16081|   160k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  503|   160k|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (16081:13): [True: 23.1k, False: 137k]
  ------------------
16082|  23.1k|            &&
16083|  23.1k|            (c = default_rule(p))  // default
  ------------------
  |  Branch (16083:13): [True: 10.2k, False: 12.9k]
  ------------------
16084|  10.2k|            &&
16085|  10.2k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16085:13): [True: 4.75k, False: 5.46k]
  ------------------
16086|   160k|        )
16087|  4.75k|        {
16088|  4.75k|            D(fprintf(stderr, "%*c+ lambda_param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default &':'"));
16089|  4.75k|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16090|  4.75k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16090:18): [True: 0, False: 4.75k]
  |  Branch (16090:34): [True: 0, False: 4.75k]
  |  Branch (16090:57): [True: 0, False: 0]
  ------------------
16091|      0|                p->error_indicator = 1;
16092|      0|                p->level--;
16093|      0|                return NULL;
16094|      0|            }
16095|  4.75k|            goto done;
16096|  4.75k|        }
16097|   156k|        p->mark = _mark;
16098|   156k|        D(fprintf(stderr, "%*c%s lambda_param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16099|   156k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default &':'"));
16100|   156k|    }
16101|   156k|    _res = NULL;
16102|   183k|  done:
16103|   183k|    p->level--;
16104|   183k|    return _res;
16105|   156k|}
_PyPegen_lambda_param_maybe_default_rule:
16110|   110k|{
16111|   110k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   221k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16111:9): [True: 0, False: 110k]
  |  Branch (16111:35): [True: 0, False: 110k]
  ------------------
16112|      0|        _Pypegen_stack_overflow(p);
16113|      0|    }
16114|   110k|    if (p->error_indicator) {
  ------------------
  |  Branch (16114:9): [True: 0, False: 110k]
  ------------------
16115|      0|        p->level--;
16116|      0|        return NULL;
16117|      0|    }
16118|   110k|    NameDefaultPair* _res = NULL;
16119|   110k|    int _mark = p->mark;
16120|   110k|    { // lambda_param default? ','
16121|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (16121:13): [True: 0, False: 110k]
  ------------------
16122|      0|            p->level--;
16123|      0|            return NULL;
16124|      0|        }
16125|   110k|        D(fprintf(stderr, "%*c> lambda_param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default? ','"));
16126|   110k|        Token * _literal;
16127|   110k|        arg_ty a;
16128|   110k|        void *c;
16129|   110k|        if (
16130|   110k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  503|   110k|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (16130:13): [True: 62.4k, False: 48.3k]
  ------------------
16131|  62.4k|            &&
16132|  62.4k|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (16132:13): [True: 61.8k, False: 548]
  ------------------
16133|  61.8k|            &&
16134|  61.8k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16134:13): [True: 28.7k, False: 33.1k]
  ------------------
16135|   110k|        )
16136|  28.7k|        {
16137|  28.7k|            D(fprintf(stderr, "%*c+ lambda_param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default? ','"));
16138|  28.7k|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16139|  28.7k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16139:18): [True: 0, False: 28.7k]
  |  Branch (16139:34): [True: 0, False: 28.7k]
  |  Branch (16139:57): [True: 0, False: 0]
  ------------------
16140|      0|                p->error_indicator = 1;
16141|      0|                p->level--;
16142|      0|                return NULL;
16143|      0|            }
16144|  28.7k|            goto done;
16145|  28.7k|        }
16146|  82.0k|        p->mark = _mark;
16147|  82.0k|        D(fprintf(stderr, "%*c%s lambda_param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
16148|  82.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default? ','"));
16149|  82.0k|    }
16150|      0|    { // lambda_param default? &':'
16151|  82.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (16151:13): [True: 556, False: 81.4k]
  ------------------
16152|    556|            p->level--;
16153|    556|            return NULL;
16154|    556|        }
16155|  81.4k|        D(fprintf(stderr, "%*c> lambda_param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default? &':'"));
16156|  81.4k|        arg_ty a;
16157|  81.4k|        void *c;
16158|  81.4k|        if (
16159|  81.4k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  503|  81.4k|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (16159:13): [True: 33.1k, False: 48.3k]
  ------------------
16160|  33.1k|            &&
16161|  33.1k|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (16161:13): [True: 33.1k, False: 0]
  ------------------
16162|  33.1k|            &&
16163|  33.1k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16163:13): [True: 23.7k, False: 9.30k]
  ------------------
16164|  81.4k|        )
16165|  23.7k|        {
16166|  23.7k|            D(fprintf(stderr, "%*c+ lambda_param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default? &':'"));
16167|  23.7k|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16168|  23.7k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16168:18): [True: 0, False: 23.7k]
  |  Branch (16168:34): [True: 0, False: 23.7k]
  |  Branch (16168:57): [True: 0, False: 0]
  ------------------
16169|      0|                p->error_indicator = 1;
16170|      0|                p->level--;
16171|      0|                return NULL;
16172|      0|            }
16173|  23.7k|            goto done;
16174|  23.7k|        }
16175|  57.6k|        p->mark = _mark;
16176|  57.6k|        D(fprintf(stderr, "%*c%s lambda_param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
16177|  57.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default? &':'"));
16178|  57.6k|    }
16179|  57.6k|    _res = NULL;
16180|   110k|  done:
16181|   110k|    p->level--;
16182|   110k|    return _res;
16183|  57.6k|}
_PyPegen_lambda_param_rule:
16188|  1.27M|{
16189|  1.27M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.54M|#  define MAXSTACK 6000
  ------------------
  |  Branch (16189:9): [True: 0, False: 1.27M]
  |  Branch (16189:35): [True: 0, False: 1.27M]
  ------------------
16190|      0|        _Pypegen_stack_overflow(p);
16191|      0|    }
16192|  1.27M|    if (p->error_indicator) {
  ------------------
  |  Branch (16192:9): [True: 0, False: 1.27M]
  ------------------
16193|      0|        p->level--;
16194|      0|        return NULL;
16195|      0|    }
16196|  1.27M|    arg_ty _res = NULL;
16197|  1.27M|    int _mark = p->mark;
16198|  1.27M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16198:9): [True: 51.3k, False: 1.21M]
  |  Branch (16198:31): [True: 30, False: 51.2k]
  ------------------
16199|     30|        p->error_indicator = 1;
16200|     30|        p->level--;
16201|     30|        return NULL;
16202|     30|    }
16203|  1.27M|    int _start_lineno = p->tokens[_mark]->lineno;
16204|  1.27M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.27M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.27M]
  |  |  ------------------
  ------------------
16205|  1.27M|    int _start_col_offset = p->tokens[_mark]->col_offset;
16206|  1.27M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.27M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.27M]
  |  |  ------------------
  ------------------
16207|  1.27M|    { // NAME
16208|  1.27M|        if (p->error_indicator) {
  ------------------
  |  Branch (16208:13): [True: 0, False: 1.27M]
  ------------------
16209|      0|            p->level--;
16210|      0|            return NULL;
16211|      0|        }
16212|  1.27M|        D(fprintf(stderr, "%*c> lambda_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
16213|  1.27M|        expr_ty a;
16214|  1.27M|        if (
16215|  1.27M|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (16215:13): [True: 421k, False: 849k]
  ------------------
16216|  1.27M|        )
16217|   421k|        {
16218|   421k|            D(fprintf(stderr, "%*c+ lambda_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
16219|   421k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16220|   421k|            if (_token == NULL) {
  ------------------
  |  Branch (16220:17): [True: 0, False: 421k]
  ------------------
16221|      0|                p->level--;
16222|      0|                return NULL;
16223|      0|            }
16224|   421k|            int _end_lineno = _token->end_lineno;
16225|   421k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   421k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 421k]
  |  |  ------------------
  ------------------
16226|   421k|            int _end_col_offset = _token->end_col_offset;
16227|   421k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   421k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 421k]
  |  |  ------------------
  ------------------
16228|   421k|            _res = _PyAST_arg ( a -> v . Name . id , NULL , NULL , EXTRA );
  ------------------
  |  |  316|   421k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16229|   421k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16229:18): [True: 0, False: 421k]
  |  Branch (16229:34): [True: 0, False: 421k]
  |  Branch (16229:57): [True: 0, False: 0]
  ------------------
16230|      0|                p->error_indicator = 1;
16231|      0|                p->level--;
16232|      0|                return NULL;
16233|      0|            }
16234|   421k|            goto done;
16235|   421k|        }
16236|   849k|        p->mark = _mark;
16237|   849k|        D(fprintf(stderr, "%*c%s lambda_param[%d-%d]: %s failed!\n", p->level, ' ',
16238|   849k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
16239|   849k|    }
16240|   849k|    _res = NULL;
16241|  1.27M|  done:
16242|  1.27M|    p->level--;
16243|  1.27M|    return _res;
16244|   849k|}
_PyPegen_fstring_format_spec_rule:
16518|  21.1k|{
16519|  21.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  42.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16519:9): [True: 0, False: 21.1k]
  |  Branch (16519:35): [True: 0, False: 21.1k]
  ------------------
16520|      0|        _Pypegen_stack_overflow(p);
16521|      0|    }
16522|  21.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (16522:9): [True: 0, False: 21.1k]
  ------------------
16523|      0|        p->level--;
16524|      0|        return NULL;
16525|      0|    }
16526|  21.1k|    expr_ty _res = NULL;
16527|  21.1k|    int _mark = p->mark;
16528|  21.1k|    { // FSTRING_MIDDLE
16529|  21.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (16529:13): [True: 0, False: 21.1k]
  ------------------
16530|      0|            p->level--;
16531|      0|            return NULL;
16532|      0|        }
16533|  21.1k|        D(fprintf(stderr, "%*c> fstring_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_MIDDLE"));
16534|  21.1k|        Token * t;
16535|  21.1k|        if (
16536|  21.1k|            (t = _PyPegen_expect_token(p, FSTRING_MIDDLE))  // token='FSTRING_MIDDLE'
  ------------------
  |  |   76|  21.1k|#define FSTRING_MIDDLE  60
  ------------------
  |  Branch (16536:13): [True: 10.5k, False: 10.5k]
  ------------------
16537|  21.1k|        )
16538|  10.5k|        {
16539|  10.5k|            D(fprintf(stderr, "%*c+ fstring_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_MIDDLE"));
16540|  10.5k|            _res = _PyPegen_decoded_constant_from_token ( p , t );
16541|  10.5k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16541:18): [True: 1, False: 10.5k]
  |  Branch (16541:34): [True: 0, False: 10.5k]
  |  Branch (16541:57): [True: 1, False: 0]
  ------------------
16542|      1|                p->error_indicator = 1;
16543|      1|                p->level--;
16544|      1|                return NULL;
16545|      1|            }
16546|  10.5k|            goto done;
16547|  10.5k|        }
16548|  10.5k|        p->mark = _mark;
16549|  10.5k|        D(fprintf(stderr, "%*c%s fstring_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
16550|  10.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_MIDDLE"));
16551|  10.5k|    }
16552|      0|    { // fstring_replacement_field
16553|  10.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (16553:13): [True: 14, False: 10.5k]
  ------------------
16554|     14|            p->level--;
16555|     14|            return NULL;
16556|     14|        }
16557|  10.5k|        D(fprintf(stderr, "%*c> fstring_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring_replacement_field"));
16558|  10.5k|        expr_ty fstring_replacement_field_var;
16559|  10.5k|        if (
16560|  10.5k|            (fstring_replacement_field_var = fstring_replacement_field_rule(p))  // fstring_replacement_field
  ------------------
  |  Branch (16560:13): [True: 3.73k, False: 6.82k]
  ------------------
16561|  10.5k|        )
16562|  3.73k|        {
16563|  3.73k|            D(fprintf(stderr, "%*c+ fstring_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "fstring_replacement_field"));
16564|  3.73k|            _res = fstring_replacement_field_var;
16565|  3.73k|            goto done;
16566|  3.73k|        }
16567|  6.82k|        p->mark = _mark;
16568|  6.82k|        D(fprintf(stderr, "%*c%s fstring_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
16569|  6.82k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring_replacement_field"));
16570|  6.82k|    }
16571|  6.82k|    _res = NULL;
16572|  21.1k|  done:
16573|  21.1k|    p->level--;
16574|  21.1k|    return _res;
16575|  6.82k|}
_PyPegen_fstring_rule:
16580|   250k|{
16581|   250k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   501k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16581:9): [True: 1, False: 250k]
  |  Branch (16581:35): [True: 0, False: 250k]
  ------------------
16582|      1|        _Pypegen_stack_overflow(p);
16583|      1|    }
16584|   250k|    if (p->error_indicator) {
  ------------------
  |  Branch (16584:9): [True: 1, False: 250k]
  ------------------
16585|      1|        p->level--;
16586|      1|        return NULL;
16587|      1|    }
16588|   250k|    expr_ty _res = NULL;
16589|   250k|    int _mark = p->mark;
16590|   250k|    { // FSTRING_START fstring_middle* FSTRING_END
16591|   250k|        if (p->error_indicator) {
  ------------------
  |  Branch (16591:13): [True: 0, False: 250k]
  ------------------
16592|      0|            p->level--;
16593|      0|            return NULL;
16594|      0|        }
16595|   250k|        D(fprintf(stderr, "%*c> fstring[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16596|   250k|        Token * a;
16597|   250k|        asdl_seq * b;
16598|   250k|        Token * c;
16599|   250k|        if (
16600|   250k|            (a = _PyPegen_expect_token(p, FSTRING_START))  // token='FSTRING_START'
  ------------------
  |  |   75|   250k|#define FSTRING_START   59
  ------------------
  |  Branch (16600:13): [True: 19.1k, False: 231k]
  ------------------
16601|  19.1k|            &&
16602|  19.1k|            (b = _loop0_77_rule(p))  // fstring_middle*
  ------------------
  |  Branch (16602:13): [True: 19.1k, False: 0]
  ------------------
16603|  19.1k|            &&
16604|  19.1k|            (c = _PyPegen_expect_token(p, FSTRING_END))  // token='FSTRING_END'
  ------------------
  |  |   77|  19.1k|#define FSTRING_END     61
  ------------------
  |  Branch (16604:13): [True: 16.0k, False: 3.11k]
  ------------------
16605|   250k|        )
16606|  16.0k|        {
16607|  16.0k|            D(fprintf(stderr, "%*c+ fstring[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16608|  16.0k|            _res = _PyPegen_joined_str ( p , a , ( asdl_expr_seq* ) b , c );
16609|  16.0k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16609:18): [True: 2, False: 16.0k]
  |  Branch (16609:34): [True: 1, False: 16.0k]
  |  Branch (16609:57): [True: 3, False: 0]
  ------------------
16610|      3|                p->error_indicator = 1;
16611|      3|                p->level--;
16612|      3|                return NULL;
16613|      3|            }
16614|  16.0k|            goto done;
16615|  16.0k|        }
16616|   234k|        p->mark = _mark;
16617|   234k|        D(fprintf(stderr, "%*c%s fstring[%d-%d]: %s failed!\n", p->level, ' ',
16618|   234k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16619|   234k|    }
16620|   234k|    _res = NULL;
16621|   250k|  done:
16622|   250k|    p->level--;
16623|   250k|    return _res;
16624|   234k|}
_PyPegen_tstring_rule:
17011|   103k|{
17012|   103k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   207k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17012:9): [True: 0, False: 103k]
  |  Branch (17012:35): [True: 0, False: 103k]
  ------------------
17013|      0|        _Pypegen_stack_overflow(p);
17014|      0|    }
17015|   103k|    if (p->error_indicator) {
  ------------------
  |  Branch (17015:9): [True: 0, False: 103k]
  ------------------
17016|      0|        p->level--;
17017|      0|        return NULL;
17018|      0|    }
17019|   103k|    expr_ty _res = NULL;
17020|   103k|    if (_PyPegen_is_memoized(p, tstring_type, &_res)) {
  ------------------
  |  |  248|   103k|#define tstring_type 1159
  ------------------
  |  Branch (17020:9): [True: 25.3k, False: 78.4k]
  ------------------
17021|  25.3k|        p->level--;
17022|  25.3k|        return _res;
17023|  25.3k|    }
17024|  78.4k|    int _mark = p->mark;
17025|  78.4k|    { // TSTRING_START tstring_middle* TSTRING_END
17026|  78.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (17026:13): [True: 0, False: 78.4k]
  ------------------
17027|      0|            p->level--;
17028|      0|            return NULL;
17029|      0|        }
17030|  78.4k|        D(fprintf(stderr, "%*c> tstring[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_START tstring_middle* TSTRING_END"));
17031|  78.4k|        Token * a;
17032|  78.4k|        asdl_seq * b;
17033|  78.4k|        Token * c;
17034|  78.4k|        if (
17035|  78.4k|            (a = _PyPegen_expect_token(p, TSTRING_START))  // token='TSTRING_START'
  ------------------
  |  |   78|  78.4k|#define TSTRING_START   62
  ------------------
  |  Branch (17035:13): [True: 9.90k, False: 68.5k]
  ------------------
17036|  9.90k|            &&
17037|  9.90k|            (b = _loop0_79_rule(p))  // tstring_middle*
  ------------------
  |  Branch (17037:13): [True: 9.90k, False: 0]
  ------------------
17038|  9.90k|            &&
17039|  9.90k|            (c = _PyPegen_expect_token(p, TSTRING_END))  // token='TSTRING_END'
  ------------------
  |  |   80|  9.90k|#define TSTRING_END     64
  ------------------
  |  Branch (17039:13): [True: 4.61k, False: 5.28k]
  ------------------
17040|  78.4k|        )
17041|  4.61k|        {
17042|  4.61k|            D(fprintf(stderr, "%*c+ tstring[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_START tstring_middle* TSTRING_END"));
17043|  4.61k|            _res = CHECK_VERSION ( expr_ty , 14 , "t-strings are" , _PyPegen_template_str ( p , a , ( asdl_expr_seq* ) b , c ) );
  ------------------
  |  |  354|  4.61k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
17044|  4.61k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17044:18): [True: 2, False: 4.61k]
  |  Branch (17044:34): [True: 1, False: 4.61k]
  |  Branch (17044:57): [True: 3, False: 0]
  ------------------
17045|      3|                p->error_indicator = 1;
17046|      3|                p->level--;
17047|      3|                return NULL;
17048|      3|            }
17049|  4.61k|            goto done;
17050|  4.61k|        }
17051|  73.8k|        p->mark = _mark;
17052|  73.8k|        D(fprintf(stderr, "%*c%s tstring[%d-%d]: %s failed!\n", p->level, ' ',
17053|  73.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_START tstring_middle* TSTRING_END"));
17054|  73.8k|    }
17055|  73.8k|    _res = NULL;
17056|  78.4k|  done:
17057|  78.4k|    _PyPegen_insert_memo(p, _mark, tstring_type, _res);
  ------------------
  |  |  248|  78.4k|#define tstring_type 1159
  ------------------
17058|  78.4k|    p->level--;
17059|  78.4k|    return _res;
17060|  73.8k|}
_PyPegen_string_rule:
17065|   232k|{
17066|   232k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   464k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17066:9): [True: 0, False: 232k]
  |  Branch (17066:35): [True: 0, False: 232k]
  ------------------
17067|      0|        _Pypegen_stack_overflow(p);
17068|      0|    }
17069|   232k|    if (p->error_indicator) {
  ------------------
  |  Branch (17069:9): [True: 0, False: 232k]
  ------------------
17070|      0|        p->level--;
17071|      0|        return NULL;
17072|      0|    }
17073|   232k|    expr_ty _res = NULL;
17074|   232k|    int _mark = p->mark;
17075|   232k|    { // STRING
17076|   232k|        if (p->error_indicator) {
  ------------------
  |  Branch (17076:13): [True: 0, False: 232k]
  ------------------
17077|      0|            p->level--;
17078|      0|            return NULL;
17079|      0|        }
17080|   232k|        D(fprintf(stderr, "%*c> string[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING"));
17081|   232k|        Token* s;
17082|   232k|        if (
17083|   232k|            (s = (Token*)_PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (17083:13): [True: 77.5k, False: 154k]
  ------------------
17084|   232k|        )
17085|  77.5k|        {
17086|  77.5k|            D(fprintf(stderr, "%*c+ string[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING"));
17087|  77.5k|            _res = _PyPegen_constant_from_string ( p , s );
17088|  77.5k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17088:18): [True: 307, False: 77.2k]
  |  Branch (17088:34): [True: 0, False: 77.2k]
  |  Branch (17088:57): [True: 212, False: 95]
  ------------------
17089|    212|                p->error_indicator = 1;
17090|    212|                p->level--;
17091|    212|                return NULL;
17092|    212|            }
17093|  77.3k|            goto done;
17094|  77.5k|        }
17095|   154k|        p->mark = _mark;
17096|   154k|        D(fprintf(stderr, "%*c%s string[%d-%d]: %s failed!\n", p->level, ' ',
17097|   154k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING"));
17098|   154k|    }
17099|   154k|    _res = NULL;
17100|   231k|  done:
17101|   231k|    p->level--;
17102|   231k|    return _res;
17103|   154k|}
_PyPegen_list_rule:
17330|   218k|{
17331|   218k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   437k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17331:9): [True: 0, False: 218k]
  |  Branch (17331:35): [True: 0, False: 218k]
  ------------------
17332|      0|        _Pypegen_stack_overflow(p);
17333|      0|    }
17334|   218k|    if (p->error_indicator) {
  ------------------
  |  Branch (17334:9): [True: 0, False: 218k]
  ------------------
17335|      0|        p->level--;
17336|      0|        return NULL;
17337|      0|    }
17338|   218k|    expr_ty _res = NULL;
17339|   218k|    int _mark = p->mark;
17340|   218k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17340:9): [True: 0, False: 218k]
  |  Branch (17340:31): [True: 0, False: 0]
  ------------------
17341|      0|        p->error_indicator = 1;
17342|      0|        p->level--;
17343|      0|        return NULL;
17344|      0|    }
17345|   218k|    int _start_lineno = p->tokens[_mark]->lineno;
17346|   218k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   218k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 218k]
  |  |  ------------------
  ------------------
17347|   218k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17348|   218k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   218k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 218k]
  |  |  ------------------
  ------------------
17349|   218k|    { // '[' display_items? ']'
17350|   218k|        if (p->error_indicator) {
  ------------------
  |  Branch (17350:13): [True: 0, False: 218k]
  ------------------
17351|      0|            p->level--;
17352|      0|            return NULL;
17353|      0|        }
17354|   218k|        D(fprintf(stderr, "%*c> list[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' display_items? ']'"));
17355|   218k|        Token * _literal;
17356|   218k|        Token * _literal_1;
17357|   218k|        void *a;
17358|   218k|        if (
17359|   218k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (17359:13): [True: 82.4k, False: 136k]
  ------------------
17360|  82.4k|            &&
17361|  82.4k|            (a = display_items_rule(p), !p->error_indicator)  // display_items?
  ------------------
  |  Branch (17361:13): [True: 81.5k, False: 880]
  ------------------
17362|  81.5k|            &&
17363|  81.5k|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (17363:13): [True: 46.5k, False: 34.9k]
  ------------------
17364|   218k|        )
17365|  46.5k|        {
17366|  46.5k|            D(fprintf(stderr, "%*c+ list[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' display_items? ']'"));
17367|  46.5k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17368|  46.5k|            if (_token == NULL) {
  ------------------
  |  Branch (17368:17): [True: 0, False: 46.5k]
  ------------------
17369|      0|                p->level--;
17370|      0|                return NULL;
17371|      0|            }
17372|  46.5k|            int _end_lineno = _token->end_lineno;
17373|  46.5k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  46.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 46.5k]
  |  |  ------------------
  ------------------
17374|  46.5k|            int _end_col_offset = _token->end_col_offset;
17375|  46.5k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  46.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 46.5k]
  |  |  ------------------
  ------------------
17376|  46.5k|            _res = _PyAST_List ( a , Load , EXTRA );
  ------------------
  |  |  316|  46.5k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17377|  46.5k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17377:18): [True: 0, False: 46.5k]
  |  Branch (17377:34): [True: 0, False: 46.5k]
  |  Branch (17377:57): [True: 0, False: 0]
  ------------------
17378|      0|                p->error_indicator = 1;
17379|      0|                p->level--;
17380|      0|                return NULL;
17381|      0|            }
17382|  46.5k|            goto done;
17383|  46.5k|        }
17384|   172k|        p->mark = _mark;
17385|   172k|        D(fprintf(stderr, "%*c%s list[%d-%d]: %s failed!\n", p->level, ' ',
17386|   172k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' display_items? ']'"));
17387|   172k|    }
17388|   172k|    _res = NULL;
17389|   218k|  done:
17390|   218k|    p->level--;
17391|   218k|    return _res;
17392|   172k|}
_PyPegen_tuple_rule:
17397|   291k|{
17398|   291k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   582k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17398:9): [True: 0, False: 291k]
  |  Branch (17398:35): [True: 0, False: 291k]
  ------------------
17399|      0|        _Pypegen_stack_overflow(p);
17400|      0|    }
17401|   291k|    if (p->error_indicator) {
  ------------------
  |  Branch (17401:9): [True: 0, False: 291k]
  ------------------
17402|      0|        p->level--;
17403|      0|        return NULL;
17404|      0|    }
17405|   291k|    expr_ty _res = NULL;
17406|   291k|    int _mark = p->mark;
17407|   291k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17407:9): [True: 0, False: 291k]
  |  Branch (17407:31): [True: 0, False: 0]
  ------------------
17408|      0|        p->error_indicator = 1;
17409|      0|        p->level--;
17410|      0|        return NULL;
17411|      0|    }
17412|   291k|    int _start_lineno = p->tokens[_mark]->lineno;
17413|   291k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   291k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 291k]
  |  |  ------------------
  ------------------
17414|   291k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17415|   291k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   291k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 291k]
  |  |  ------------------
  ------------------
17416|   291k|    { // '(' [display_item ',' display_items?] ')'
17417|   291k|        if (p->error_indicator) {
  ------------------
  |  Branch (17417:13): [True: 0, False: 291k]
  ------------------
17418|      0|            p->level--;
17419|      0|            return NULL;
17420|      0|        }
17421|   291k|        D(fprintf(stderr, "%*c> tuple[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' [display_item ',' display_items?] ')'"));
17422|   291k|        Token * _literal;
17423|   291k|        Token * _literal_1;
17424|   291k|        void *a;
17425|   291k|        if (
17426|   291k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (17426:13): [True: 151k, False: 139k]
  ------------------
17427|   151k|            &&
17428|   151k|            (a = _tmp_84_rule(p), !p->error_indicator)  // [display_item ',' display_items?]
  ------------------
  |  Branch (17428:13): [True: 151k, False: 753]
  ------------------
17429|   151k|            &&
17430|   151k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (17430:13): [True: 105k, False: 45.3k]
  ------------------
17431|   291k|        )
17432|   105k|        {
17433|   105k|            D(fprintf(stderr, "%*c+ tuple[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' [display_item ',' display_items?] ')'"));
17434|   105k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17435|   105k|            if (_token == NULL) {
  ------------------
  |  Branch (17435:17): [True: 0, False: 105k]
  ------------------
17436|      0|                p->level--;
17437|      0|                return NULL;
17438|      0|            }
17439|   105k|            int _end_lineno = _token->end_lineno;
17440|   105k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   105k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 105k]
  |  |  ------------------
  ------------------
17441|   105k|            int _end_col_offset = _token->end_col_offset;
17442|   105k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   105k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 105k]
  |  |  ------------------
  ------------------
17443|   105k|            _res = _PyAST_Tuple ( a , Load , EXTRA );
  ------------------
  |  |  316|   105k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17444|   105k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17444:18): [True: 0, False: 105k]
  |  Branch (17444:34): [True: 0, False: 105k]
  |  Branch (17444:57): [True: 0, False: 0]
  ------------------
17445|      0|                p->error_indicator = 1;
17446|      0|                p->level--;
17447|      0|                return NULL;
17448|      0|            }
17449|   105k|            goto done;
17450|   105k|        }
17451|   185k|        p->mark = _mark;
17452|   185k|        D(fprintf(stderr, "%*c%s tuple[%d-%d]: %s failed!\n", p->level, ' ',
17453|   185k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' [display_item ',' display_items?] ')'"));
17454|   185k|    }
17455|   185k|    _res = NULL;
17456|   291k|  done:
17457|   291k|    p->level--;
17458|   291k|    return _res;
17459|   185k|}
_PyPegen_double_starred_kvpair_rule:
17670|  84.0k|{
17671|  84.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   168k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17671:9): [True: 0, False: 84.0k]
  |  Branch (17671:35): [True: 0, False: 84.0k]
  ------------------
17672|      0|        _Pypegen_stack_overflow(p);
17673|      0|    }
17674|  84.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (17674:9): [True: 0, False: 84.0k]
  ------------------
17675|      0|        p->level--;
17676|      0|        return NULL;
17677|      0|    }
17678|  84.0k|    KeyValuePair* _res = NULL;
17679|  84.0k|    int _mark = p->mark;
17680|  84.0k|    { // '**' bitwise_or
17681|  84.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (17681:13): [True: 0, False: 84.0k]
  ------------------
17682|      0|            p->level--;
17683|      0|            return NULL;
17684|      0|        }
17685|  84.0k|        D(fprintf(stderr, "%*c> double_starred_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
17686|  84.0k|        Token * _literal;
17687|  84.0k|        expr_ty a;
17688|  84.0k|        if (
17689|  84.0k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (17689:13): [True: 6.54k, False: 77.5k]
  ------------------
17690|  6.54k|            &&
17691|  6.54k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|  6.54k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (17691:13): [True: 6.16k, False: 380]
  ------------------
17692|  84.0k|        )
17693|  6.16k|        {
17694|  6.16k|            D(fprintf(stderr, "%*c+ double_starred_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
17695|  6.16k|            _res = _PyPegen_key_value_pair ( p , NULL , a );
17696|  6.16k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17696:18): [True: 0, False: 6.16k]
  |  Branch (17696:34): [True: 0, False: 6.16k]
  |  Branch (17696:57): [True: 0, False: 0]
  ------------------
17697|      0|                p->error_indicator = 1;
17698|      0|                p->level--;
17699|      0|                return NULL;
17700|      0|            }
17701|  6.16k|            goto done;
17702|  6.16k|        }
17703|  77.9k|        p->mark = _mark;
17704|  77.9k|        D(fprintf(stderr, "%*c%s double_starred_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
17705|  77.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' bitwise_or"));
17706|  77.9k|    }
17707|      0|    { // kvpair
17708|  77.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (17708:13): [True: 132, False: 77.7k]
  ------------------
17709|    132|            p->level--;
17710|    132|            return NULL;
17711|    132|        }
17712|  77.7k|        D(fprintf(stderr, "%*c> double_starred_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kvpair"));
17713|  77.7k|        KeyValuePair* kvpair_var;
17714|  77.7k|        if (
17715|  77.7k|            (kvpair_var = kvpair_rule(p))  // kvpair
  ------------------
  |  Branch (17715:13): [True: 12.6k, False: 65.0k]
  ------------------
17716|  77.7k|        )
17717|  12.6k|        {
17718|  12.6k|            D(fprintf(stderr, "%*c+ double_starred_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kvpair"));
17719|  12.6k|            _res = kvpair_var;
17720|  12.6k|            goto done;
17721|  12.6k|        }
17722|  65.0k|        p->mark = _mark;
17723|  65.0k|        D(fprintf(stderr, "%*c%s double_starred_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
17724|  65.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kvpair"));
17725|  65.0k|    }
17726|  65.0k|    _res = NULL;
17727|  83.9k|  done:
17728|  83.9k|    p->level--;
17729|  83.9k|    return _res;
17730|  65.0k|}
_PyPegen_for_if_clauses_rule:
17784|   234k|{
17785|   234k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   468k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17785:9): [True: 0, False: 234k]
  |  Branch (17785:35): [True: 0, False: 234k]
  ------------------
17786|      0|        _Pypegen_stack_overflow(p);
17787|      0|    }
17788|   234k|    if (p->error_indicator) {
  ------------------
  |  Branch (17788:9): [True: 0, False: 234k]
  ------------------
17789|      0|        p->level--;
17790|      0|        return NULL;
17791|      0|    }
17792|   234k|    asdl_comprehension_seq* _res = NULL;
17793|   234k|    int _mark = p->mark;
17794|   234k|    { // for_if_clause+
17795|   234k|        if (p->error_indicator) {
  ------------------
  |  Branch (17795:13): [True: 0, False: 234k]
  ------------------
17796|      0|            p->level--;
17797|      0|            return NULL;
17798|      0|        }
17799|   234k|        D(fprintf(stderr, "%*c> for_if_clauses[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "for_if_clause+"));
17800|   234k|        asdl_comprehension_seq* a;
17801|   234k|        if (
17802|   234k|            (a = (asdl_comprehension_seq*)_loop1_87_rule(p))  // for_if_clause+
  ------------------
  |  Branch (17802:13): [True: 13.8k, False: 220k]
  ------------------
17803|   234k|        )
17804|  13.8k|        {
17805|  13.8k|            D(fprintf(stderr, "%*c+ for_if_clauses[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "for_if_clause+"));
17806|  13.8k|            _res = a;
17807|  13.8k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17807:18): [True: 0, False: 13.8k]
  |  Branch (17807:34): [True: 0, False: 13.8k]
  |  Branch (17807:57): [True: 0, False: 0]
  ------------------
17808|      0|                p->error_indicator = 1;
17809|      0|                p->level--;
17810|      0|                return NULL;
17811|      0|            }
17812|  13.8k|            goto done;
17813|  13.8k|        }
17814|   220k|        p->mark = _mark;
17815|   220k|        D(fprintf(stderr, "%*c%s for_if_clauses[%d-%d]: %s failed!\n", p->level, ' ',
17816|   220k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "for_if_clause+"));
17817|   220k|    }
17818|   220k|    _res = NULL;
17819|   234k|  done:
17820|   234k|    p->level--;
17821|   234k|    return _res;
17822|   220k|}
_PyPegen_genexp_rule:
18157|  1.76M|{
18158|  1.76M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.53M|#  define MAXSTACK 6000
  ------------------
  |  Branch (18158:9): [True: 1, False: 1.76M]
  |  Branch (18158:35): [True: 0, False: 1.76M]
  ------------------
18159|      1|        _Pypegen_stack_overflow(p);
18160|      1|    }
18161|  1.76M|    if (p->error_indicator) {
  ------------------
  |  Branch (18161:9): [True: 1, False: 1.76M]
  ------------------
18162|      1|        p->level--;
18163|      1|        return NULL;
18164|      1|    }
18165|  1.76M|    expr_ty _res = NULL;
18166|  1.76M|    int _mark = p->mark;
18167|  1.76M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18167:9): [True: 0, False: 1.76M]
  |  Branch (18167:31): [True: 0, False: 0]
  ------------------
18168|      0|        p->error_indicator = 1;
18169|      0|        p->level--;
18170|      0|        return NULL;
18171|      0|    }
18172|  1.76M|    int _start_lineno = p->tokens[_mark]->lineno;
18173|  1.76M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.76M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.76M]
  |  |  ------------------
  ------------------
18174|  1.76M|    int _start_col_offset = p->tokens[_mark]->col_offset;
18175|  1.76M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.76M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.76M]
  |  |  ------------------
  ------------------
18176|  1.76M|    { // '(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'
18177|  1.76M|        if (p->error_indicator) {
  ------------------
  |  Branch (18177:13): [True: 0, False: 1.76M]
  ------------------
18178|      0|            p->level--;
18179|      0|            return NULL;
18180|      0|        }
18181|  1.76M|        D(fprintf(stderr, "%*c> genexp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18182|  1.76M|        Token * _literal;
18183|  1.76M|        Token * _literal_1;
18184|  1.76M|        void *a;
18185|  1.76M|        asdl_comprehension_seq* b;
18186|  1.76M|        if (
18187|  1.76M|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (18187:13): [True: 200k, False: 1.56M]
  ------------------
18188|   200k|            &&
18189|   200k|            (a = _tmp_89_rule(p))  // assignment_expression | expression !':=' | starred_expression
  ------------------
  |  Branch (18189:13): [True: 132k, False: 67.7k]
  ------------------
18190|   132k|            &&
18191|   132k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  519|   132k|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (18191:13): [True: 3.16k, False: 129k]
  ------------------
18192|  3.16k|            &&
18193|  3.16k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (18193:13): [True: 2.43k, False: 728]
  ------------------
18194|  1.76M|        )
18195|  2.43k|        {
18196|  2.43k|            D(fprintf(stderr, "%*c+ genexp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18197|  2.43k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18198|  2.43k|            if (_token == NULL) {
  ------------------
  |  Branch (18198:17): [True: 0, False: 2.43k]
  ------------------
18199|      0|                p->level--;
18200|      0|                return NULL;
18201|      0|            }
18202|  2.43k|            int _end_lineno = _token->end_lineno;
18203|  2.43k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
18204|  2.43k|            int _end_col_offset = _token->end_col_offset;
18205|  2.43k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
18206|  2.43k|            _res = _PyAST_GeneratorExp ( a , b , EXTRA );
  ------------------
  |  |  316|  2.43k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18207|  2.43k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18207:18): [True: 0, False: 2.43k]
  |  Branch (18207:34): [True: 0, False: 2.43k]
  |  Branch (18207:57): [True: 0, False: 0]
  ------------------
18208|      0|                p->error_indicator = 1;
18209|      0|                p->level--;
18210|      0|                return NULL;
18211|      0|            }
18212|  2.43k|            goto done;
18213|  2.43k|        }
18214|  1.76M|        p->mark = _mark;
18215|  1.76M|        D(fprintf(stderr, "%*c%s genexp[%d-%d]: %s failed!\n", p->level, ' ',
18216|  1.76M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18217|  1.76M|    }
18218|  1.76M|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18218:9): [True: 330k, False: 1.43M]
  ------------------
18219|   330k|        if (p->error_indicator) {
  ------------------
  |  Branch (18219:13): [True: 6.84k, False: 323k]
  ------------------
18220|  6.84k|            p->level--;
18221|  6.84k|            return NULL;
18222|  6.84k|        }
18223|   323k|        D(fprintf(stderr, "%*c> genexp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18224|   323k|        void *invalid_comprehension_var;
18225|   323k|        if (
18226|   323k|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  |  561|   323k|#define invalid_comprehension_rule _PyPegen_invalid_comprehension_rule
  ------------------
  |  Branch (18226:13): [True: 0, False: 323k]
  ------------------
18227|   323k|        )
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|   323k|        p->mark = _mark;
18234|   323k|        D(fprintf(stderr, "%*c%s genexp[%d-%d]: %s failed!\n", p->level, ' ',
18235|   323k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18236|   323k|    }
18237|  1.76M|    _res = NULL;
18238|  1.76M|  done:
18239|  1.76M|    p->level--;
18240|  1.76M|    return _res;
18241|  1.76M|}
_PyPegen_arguments_rule:
18361|  40.7k|{
18362|  40.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  81.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18362:9): [True: 0, False: 40.7k]
  |  Branch (18362:35): [True: 0, False: 40.7k]
  ------------------
18363|      0|        _Pypegen_stack_overflow(p);
18364|      0|    }
18365|  40.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (18365:9): [True: 0, False: 40.7k]
  ------------------
18366|      0|        p->level--;
18367|      0|        return NULL;
18368|      0|    }
18369|  40.7k|    expr_ty _res = NULL;
18370|  40.7k|    if (_PyPegen_is_memoized(p, arguments_type, &_res)) {
  ------------------
  |  |  266|  40.7k|#define arguments_type 1177
  ------------------
  |  Branch (18370:9): [True: 602, False: 40.1k]
  ------------------
18371|    602|        p->level--;
18372|    602|        return _res;
18373|    602|    }
18374|  40.1k|    int _mark = p->mark;
18375|  40.1k|    { // args ','? &')'
18376|  40.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (18376:13): [True: 0, False: 40.1k]
  ------------------
18377|      0|            p->level--;
18378|      0|            return NULL;
18379|      0|        }
18380|  40.1k|        D(fprintf(stderr, "%*c> arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ','? &')'"));
18381|  40.1k|        void *_opt_var;
18382|  40.1k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  40.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 40.1k]
  |  |  ------------------
  ------------------
18383|  40.1k|        expr_ty a;
18384|  40.1k|        if (
18385|  40.1k|            (a = args_rule(p))  // args
  ------------------
  |  |  525|  40.1k|#define args_rule _PyPegen_args_rule
  ------------------
  |  Branch (18385:13): [True: 26.5k, False: 13.5k]
  ------------------
18386|  26.5k|            &&
18387|  26.5k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (18387:13): [True: 26.4k, False: 39]
  ------------------
18388|  26.4k|            &&
18389|  26.4k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (18389:13): [True: 16.1k, False: 10.3k]
  ------------------
18390|  40.1k|        )
18391|  16.1k|        {
18392|  16.1k|            D(fprintf(stderr, "%*c+ arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ','? &')'"));
18393|  16.1k|            _res = a;
18394|  16.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18394:18): [True: 0, False: 16.1k]
  |  Branch (18394:34): [True: 0, False: 16.1k]
  |  Branch (18394:57): [True: 0, False: 0]
  ------------------
18395|      0|                p->error_indicator = 1;
18396|      0|                p->level--;
18397|      0|                return NULL;
18398|      0|            }
18399|  16.1k|            goto done;
18400|  16.1k|        }
18401|  23.9k|        p->mark = _mark;
18402|  23.9k|        D(fprintf(stderr, "%*c%s arguments[%d-%d]: %s failed!\n", p->level, ' ',
18403|  23.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ','? &')'"));
18404|  23.9k|    }
18405|  23.9k|    if (p->call_invalid_rules) { // invalid_arguments
  ------------------
  |  Branch (18405:9): [True: 10.2k, False: 13.7k]
  ------------------
18406|  10.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (18406:13): [True: 2.48k, False: 7.72k]
  ------------------
18407|  2.48k|            p->level--;
18408|  2.48k|            return NULL;
18409|  2.48k|        }
18410|  7.72k|        D(fprintf(stderr, "%*c> arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_arguments"));
18411|  7.72k|        void *invalid_arguments_var;
18412|  7.72k|        if (
18413|  7.72k|            (invalid_arguments_var = invalid_arguments_rule(p))  // invalid_arguments
  ------------------
  |  |  537|  7.72k|#define invalid_arguments_rule _PyPegen_invalid_arguments_rule
  ------------------
  |  Branch (18413:13): [True: 0, False: 7.72k]
  ------------------
18414|  7.72k|        )
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|  7.72k|        p->mark = _mark;
18421|  7.72k|        D(fprintf(stderr, "%*c%s arguments[%d-%d]: %s failed!\n", p->level, ' ',
18422|  7.72k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_arguments"));
18423|  7.72k|    }
18424|  21.4k|    _res = NULL;
18425|  37.6k|  done:
18426|  37.6k|    _PyPegen_insert_memo(p, _mark, arguments_type, _res);
  ------------------
  |  |  266|  37.6k|#define arguments_type 1177
  ------------------
18427|  37.6k|    p->level--;
18428|  37.6k|    return _res;
18429|  21.4k|}
_PyPegen_args_rule:
18436|  66.6k|{
18437|  66.6k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   133k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18437:9): [True: 0, False: 66.6k]
  |  Branch (18437:35): [True: 0, False: 66.6k]
  ------------------
18438|      0|        _Pypegen_stack_overflow(p);
18439|      0|    }
18440|  66.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (18440:9): [True: 0, False: 66.6k]
  ------------------
18441|      0|        p->level--;
18442|      0|        return NULL;
18443|      0|    }
18444|  66.6k|    expr_ty _res = NULL;
18445|  66.6k|    int _mark = p->mark;
18446|  66.6k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18446:9): [True: 249, False: 66.4k]
  |  Branch (18446:31): [True: 2, False: 247]
  ------------------
18447|      2|        p->error_indicator = 1;
18448|      2|        p->level--;
18449|      2|        return NULL;
18450|      2|    }
18451|  66.6k|    int _start_lineno = p->tokens[_mark]->lineno;
18452|  66.6k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  66.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 66.6k]
  |  |  ------------------
  ------------------
18453|  66.6k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18454|  66.6k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  66.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 66.6k]
  |  |  ------------------
  ------------------
18455|  66.6k|    { // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]
18456|  66.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (18456:13): [True: 0, False: 66.6k]
  ------------------
18457|      0|            p->level--;
18458|      0|            return NULL;
18459|      0|        }
18460|  66.6k|        D(fprintf(stderr, "%*c> args[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18461|  66.6k|        asdl_expr_seq* a;
18462|  66.6k|        void *b;
18463|  66.6k|        if (
18464|  66.6k|            (a = (asdl_expr_seq*)_gather_91_rule(p))  // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+
  ------------------
  |  Branch (18464:13): [True: 33.0k, False: 33.6k]
  ------------------
18465|  33.0k|            &&
18466|  33.0k|            (b = _tmp_92_rule(p), !p->error_indicator)  // [',' kwargs]
  ------------------
  |  Branch (18466:13): [True: 30.9k, False: 2.02k]
  ------------------
18467|  66.6k|        )
18468|  30.9k|        {
18469|  30.9k|            D(fprintf(stderr, "%*c+ args[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18470|  30.9k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18471|  30.9k|            if (_token == NULL) {
  ------------------
  |  Branch (18471:17): [True: 0, False: 30.9k]
  ------------------
18472|      0|                p->level--;
18473|      0|                return NULL;
18474|      0|            }
18475|  30.9k|            int _end_lineno = _token->end_lineno;
18476|  30.9k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  30.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 30.9k]
  |  |  ------------------
  ------------------
18477|  30.9k|            int _end_col_offset = _token->end_col_offset;
18478|  30.9k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  30.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 30.9k]
  |  |  ------------------
  ------------------
18479|  30.9k|            _res = _PyPegen_collect_call_seqs ( p , a , b , EXTRA );
  ------------------
  |  |  316|  30.9k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18480|  30.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18480:18): [True: 0, False: 30.9k]
  |  Branch (18480:34): [True: 0, False: 30.9k]
  |  Branch (18480:57): [True: 0, False: 0]
  ------------------
18481|      0|                p->error_indicator = 1;
18482|      0|                p->level--;
18483|      0|                return NULL;
18484|      0|            }
18485|  30.9k|            goto done;
18486|  30.9k|        }
18487|  35.6k|        p->mark = _mark;
18488|  35.6k|        D(fprintf(stderr, "%*c%s args[%d-%d]: %s failed!\n", p->level, ' ',
18489|  35.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18490|  35.6k|    }
18491|      0|    { // kwargs
18492|  35.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (18492:13): [True: 2.27k, False: 33.4k]
  ------------------
18493|  2.27k|            p->level--;
18494|  2.27k|            return NULL;
18495|  2.27k|        }
18496|  33.4k|        D(fprintf(stderr, "%*c> args[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwargs"));
18497|  33.4k|        asdl_seq* a;
18498|  33.4k|        if (
18499|  33.4k|            (a = kwargs_rule(p))  // kwargs
  ------------------
  |  |  527|  33.4k|#define kwargs_rule _PyPegen_kwargs_rule
  ------------------
  |  Branch (18499:13): [True: 12.6k, False: 20.7k]
  ------------------
18500|  33.4k|        )
18501|  12.6k|        {
18502|  12.6k|            D(fprintf(stderr, "%*c+ args[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwargs"));
18503|  12.6k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18504|  12.6k|            if (_token == NULL) {
  ------------------
  |  Branch (18504:17): [True: 0, False: 12.6k]
  ------------------
18505|      0|                p->level--;
18506|      0|                return NULL;
18507|      0|            }
18508|  12.6k|            int _end_lineno = _token->end_lineno;
18509|  12.6k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  12.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 12.6k]
  |  |  ------------------
  ------------------
18510|  12.6k|            int _end_col_offset = _token->end_col_offset;
18511|  12.6k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  12.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 12.6k]
  |  |  ------------------
  ------------------
18512|  12.6k|            _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|  12.6k|#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|  12.6k|#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|  12.6k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18513|  12.6k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18513:18): [True: 0, False: 12.6k]
  |  Branch (18513:34): [True: 641, False: 11.9k]
  |  Branch (18513:57): [True: 602, False: 39]
  ------------------
18514|    602|                p->error_indicator = 1;
18515|    602|                p->level--;
18516|    602|                return NULL;
18517|    602|            }
18518|  12.0k|            goto done;
18519|  12.6k|        }
18520|  20.7k|        p->mark = _mark;
18521|  20.7k|        D(fprintf(stderr, "%*c%s args[%d-%d]: %s failed!\n", p->level, ' ',
18522|  20.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwargs"));
18523|  20.7k|    }
18524|  20.7k|    _res = NULL;
18525|  63.8k|  done:
18526|  63.8k|    p->level--;
18527|  63.8k|    return _res;
18528|  20.7k|}
_PyPegen_kwargs_rule:
18535|  47.9k|{
18536|  47.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  95.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18536:9): [True: 0, False: 47.9k]
  |  Branch (18536:35): [True: 0, False: 47.9k]
  ------------------
18537|      0|        _Pypegen_stack_overflow(p);
18538|      0|    }
18539|  47.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (18539:9): [True: 0, False: 47.9k]
  ------------------
18540|      0|        p->level--;
18541|      0|        return NULL;
18542|      0|    }
18543|  47.9k|    asdl_seq* _res = NULL;
18544|  47.9k|    int _mark = p->mark;
18545|  47.9k|    { // ','.kwarg_or_starred+ [',' ','.kwarg_or_double_starred+]
18546|  47.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (18546:13): [True: 0, False: 47.9k]
  ------------------
18547|      0|            p->level--;
18548|      0|            return NULL;
18549|      0|        }
18550|  47.9k|        D(fprintf(stderr, "%*c> kwargs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+ [',' ','.kwarg_or_double_starred+]"));
18551|  47.9k|        asdl_seq * a;
18552|  47.9k|        void *b;
18553|  47.9k|        if (
18554|  47.9k|            (a = _gather_94_rule(p))  // ','.kwarg_or_starred+
  ------------------
  |  Branch (18554:13): [True: 12.3k, False: 35.6k]
  ------------------
18555|  12.3k|            &&
18556|  12.3k|            (b = _tmp_95_rule(p), !p->error_indicator)  // [',' ','.kwarg_or_double_starred+]
  ------------------
  |  Branch (18556:13): [True: 11.6k, False: 666]
  ------------------
18557|  47.9k|        )
18558|  11.6k|        {
18559|  11.6k|            D(fprintf(stderr, "%*c+ kwargs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+ [',' ','.kwarg_or_double_starred+]"));
18560|  11.6k|            _res = b ? _PyPegen_join_sequences ( p , a , b ) : a;
  ------------------
  |  Branch (18560:20): [True: 1.60k, False: 10.0k]
  ------------------
18561|  11.6k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18561:18): [True: 0, False: 11.6k]
  |  Branch (18561:34): [True: 0, False: 11.6k]
  |  Branch (18561:57): [True: 0, False: 0]
  ------------------
18562|      0|                p->error_indicator = 1;
18563|      0|                p->level--;
18564|      0|                return NULL;
18565|      0|            }
18566|  11.6k|            goto done;
18567|  11.6k|        }
18568|  36.2k|        p->mark = _mark;
18569|  36.2k|        D(fprintf(stderr, "%*c%s kwargs[%d-%d]: %s failed!\n", p->level, ' ',
18570|  36.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.kwarg_or_starred+ [',' ','.kwarg_or_double_starred+]"));
18571|  36.2k|    }
18572|      0|    { // ','.kwarg_or_double_starred+
18573|  36.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (18573:13): [True: 1.31k, False: 34.9k]
  ------------------
18574|  1.31k|            p->level--;
18575|  1.31k|            return NULL;
18576|  1.31k|        }
18577|  34.9k|        D(fprintf(stderr, "%*c> kwargs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_double_starred+"));
18578|  34.9k|        asdl_seq * _gather_97_var;
18579|  34.9k|        if (
18580|  34.9k|            (_gather_97_var = _gather_97_rule(p))  // ','.kwarg_or_double_starred+
  ------------------
  |  Branch (18580:13): [True: 7.62k, False: 27.3k]
  ------------------
18581|  34.9k|        )
18582|  7.62k|        {
18583|  7.62k|            D(fprintf(stderr, "%*c+ kwargs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_double_starred+"));
18584|  7.62k|            _res = _gather_97_var;
18585|  7.62k|            goto done;
18586|  7.62k|        }
18587|  27.3k|        p->mark = _mark;
18588|  27.3k|        D(fprintf(stderr, "%*c%s kwargs[%d-%d]: %s failed!\n", p->level, ' ',
18589|  27.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.kwarg_or_double_starred+"));
18590|  27.3k|    }
18591|  27.3k|    _res = NULL;
18592|  46.6k|  done:
18593|  46.6k|    p->level--;
18594|  46.6k|    return _res;
18595|  27.3k|}
_PyPegen_starred_expression_rule:
18603|   221k|{
18604|   221k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   442k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18604:9): [True: 0, False: 221k]
  |  Branch (18604:35): [True: 0, False: 221k]
  ------------------
18605|      0|        _Pypegen_stack_overflow(p);
18606|      0|    }
18607|   221k|    if (p->error_indicator) {
  ------------------
  |  Branch (18607:9): [True: 0, False: 221k]
  ------------------
18608|      0|        p->level--;
18609|      0|        return NULL;
18610|      0|    }
18611|   221k|    expr_ty _res = NULL;
18612|   221k|    int _mark = p->mark;
18613|   221k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18613:9): [True: 14.0k, False: 207k]
  |  Branch (18613:31): [True: 19, False: 14.0k]
  ------------------
18614|     19|        p->error_indicator = 1;
18615|     19|        p->level--;
18616|     19|        return NULL;
18617|     19|    }
18618|   221k|    int _start_lineno = p->tokens[_mark]->lineno;
18619|   221k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   221k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 221k]
  |  |  ------------------
  ------------------
18620|   221k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18621|   221k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   221k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 221k]
  |  |  ------------------
  ------------------
18622|   221k|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking
  ------------------
  |  Branch (18622:9): [True: 120k, False: 100k]
  ------------------
18623|   120k|        if (p->error_indicator) {
  ------------------
  |  Branch (18623:13): [True: 0, False: 120k]
  ------------------
18624|      0|            p->level--;
18625|      0|            return NULL;
18626|      0|        }
18627|   120k|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
18628|   120k|        void *invalid_starred_expression_unpacking_var;
18629|   120k|        if (
18630|   120k|            (invalid_starred_expression_unpacking_var = invalid_starred_expression_unpacking_rule(p))  // invalid_starred_expression_unpacking
  ------------------
  |  |  639|   120k|#define invalid_starred_expression_unpacking_rule _PyPegen_invalid_starred_expression_unpacking_rule
  ------------------
  |  Branch (18630:13): [True: 0, False: 120k]
  ------------------
18631|   120k|        )
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|   120k|        p->mark = _mark;
18638|   120k|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18639|   120k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking"));
18640|   120k|    }
18641|   221k|    { // '*' expression
18642|   221k|        if (p->error_indicator) {
  ------------------
  |  Branch (18642:13): [True: 846, False: 220k]
  ------------------
18643|    846|            p->level--;
18644|    846|            return NULL;
18645|    846|        }
18646|   220k|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' expression"));
18647|   220k|        Token * _literal;
18648|   220k|        expr_ty a;
18649|   220k|        if (
18650|   220k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (18650:13): [True: 24.5k, False: 195k]
  ------------------
18651|  24.5k|            &&
18652|  24.5k|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|  24.5k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (18652:13): [True: 23.5k, False: 938]
  ------------------
18653|   220k|        )
18654|  23.5k|        {
18655|  23.5k|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' expression"));
18656|  23.5k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18657|  23.5k|            if (_token == NULL) {
  ------------------
  |  Branch (18657:17): [True: 0, False: 23.5k]
  ------------------
18658|      0|                p->level--;
18659|      0|                return NULL;
18660|      0|            }
18661|  23.5k|            int _end_lineno = _token->end_lineno;
18662|  23.5k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  23.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 23.5k]
  |  |  ------------------
  ------------------
18663|  23.5k|            int _end_col_offset = _token->end_col_offset;
18664|  23.5k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  23.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 23.5k]
  |  |  ------------------
  ------------------
18665|  23.5k|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  316|  23.5k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18666|  23.5k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18666:18): [True: 0, False: 23.5k]
  |  Branch (18666:34): [True: 0, False: 23.5k]
  |  Branch (18666:57): [True: 0, False: 0]
  ------------------
18667|      0|                p->error_indicator = 1;
18668|      0|                p->level--;
18669|      0|                return NULL;
18670|      0|            }
18671|  23.5k|            goto done;
18672|  23.5k|        }
18673|   196k|        p->mark = _mark;
18674|   196k|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18675|   196k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' expression"));
18676|   196k|    }
18677|   196k|    if (p->call_invalid_rules) { // invalid_starred_expression
  ------------------
  |  Branch (18677:9): [True: 108k, False: 88.0k]
  ------------------
18678|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (18678:13): [True: 0, False: 108k]
  ------------------
18679|      0|            p->level--;
18680|      0|            return NULL;
18681|      0|        }
18682|   108k|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression"));
18683|   108k|        void *invalid_starred_expression_var;
18684|   108k|        if (
18685|   108k|            (invalid_starred_expression_var = invalid_starred_expression_rule(p))  // invalid_starred_expression
  ------------------
  |  |  643|   108k|#define invalid_starred_expression_rule _PyPegen_invalid_starred_expression_rule
  ------------------
  |  Branch (18685:13): [True: 0, False: 108k]
  ------------------
18686|   108k|        )
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|   108k|        p->mark = _mark;
18693|   108k|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18694|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression"));
18695|   108k|    }
18696|   196k|    _res = NULL;
18697|   220k|  done:
18698|   220k|    p->level--;
18699|   220k|    return _res;
18700|   196k|}
_PyPegen_star_targets_rule:
18937|   380k|{
18938|   380k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   761k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18938:9): [True: 0, False: 380k]
  |  Branch (18938:35): [True: 0, False: 380k]
  ------------------
18939|      0|        _Pypegen_stack_overflow(p);
18940|      0|    }
18941|   380k|    if (p->error_indicator) {
  ------------------
  |  Branch (18941:9): [True: 0, False: 380k]
  ------------------
18942|      0|        p->level--;
18943|      0|        return NULL;
18944|      0|    }
18945|   380k|    expr_ty _res = NULL;
18946|   380k|    int _mark = p->mark;
18947|   380k|    expr_ty _prefix_10_result = NULL;
18948|   380k|    int _prefix_10_end = 0, _prefix_10_valid = 0;
18949|   380k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18949:9): [True: 61.2k, False: 319k]
  |  Branch (18949:31): [True: 15, False: 61.2k]
  ------------------
18950|     15|        p->error_indicator = 1;
18951|     15|        p->level--;
18952|     15|        return NULL;
18953|     15|    }
18954|   380k|    int _start_lineno = p->tokens[_mark]->lineno;
18955|   380k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   380k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 380k]
  |  |  ------------------
  ------------------
18956|   380k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18957|   380k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   380k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 380k]
  |  |  ------------------
  ------------------
18958|   380k|    { // star_target !','
18959|   380k|        if (p->error_indicator) {
  ------------------
  |  Branch (18959:13): [True: 0, False: 380k]
  ------------------
18960|      0|            p->level--;
18961|      0|            return NULL;
18962|      0|        }
18963|   380k|        D(fprintf(stderr, "%*c> star_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_target !','"));
18964|   380k|        expr_ty a;
18965|   380k|        if (
18966|   380k|            (a = ((!p->call_invalid_rules && _prefix_10_valid) ? (p->mark = _prefix_10_end, _prefix_10_result) : (_prefix_10_result = star_target_rule(p), _prefix_10_end = p->mark, _prefix_10_valid = 1, _prefix_10_result)))  // star_target
  ------------------
  |  |  533|   380k|#define star_target_rule _PyPegen_star_target_rule
  ------------------
  |  Branch (18966:13): [True: 246k, False: 134k]
  |  Branch (18966:20): [True: 259k, False: 120k]
  |  Branch (18966:46): [True: 0, False: 259k]
  ------------------
18967|   246k|            &&
18968|   246k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 12)  // token=','
  ------------------
  |  Branch (18968:13): [True: 206k, False: 39.7k]
  ------------------
18969|   380k|        )
18970|   206k|        {
18971|   206k|            D(fprintf(stderr, "%*c+ star_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_target !','"));
18972|   206k|            _res = a;
18973|   206k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18973:18): [True: 0, False: 206k]
  |  Branch (18973:34): [True: 0, False: 206k]
  |  Branch (18973:57): [True: 0, False: 0]
  ------------------
18974|      0|                p->error_indicator = 1;
18975|      0|                p->level--;
18976|      0|                return NULL;
18977|      0|            }
18978|   206k|            goto done;
18979|   206k|        }
18980|   174k|        p->mark = _mark;
18981|   174k|        D(fprintf(stderr, "%*c%s star_targets[%d-%d]: %s failed!\n", p->level, ' ',
18982|   174k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_target !','"));
18983|   174k|    }
18984|      0|    { // star_target ((',' star_target))* ','?
18985|   174k|        if (p->error_indicator) {
  ------------------
  |  Branch (18985:13): [True: 1.24k, False: 172k]
  ------------------
18986|  1.24k|            p->level--;
18987|  1.24k|            return NULL;
18988|  1.24k|        }
18989|   172k|        D(fprintf(stderr, "%*c> star_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_target ((',' star_target))* ','?"));
18990|   172k|        void *_opt_var;
18991|   172k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|   172k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 172k]
  |  |  ------------------
  ------------------
18992|   172k|        expr_ty a;
18993|   172k|        asdl_seq * b;
18994|   172k|        if (
18995|   172k|            (a = ((!p->call_invalid_rules && _prefix_10_valid) ? (p->mark = _prefix_10_end, _prefix_10_result) : (_prefix_10_result = star_target_rule(p), _prefix_10_end = p->mark, _prefix_10_valid = 1, _prefix_10_result)))  // star_target
  ------------------
  |  |  533|  58.6k|#define star_target_rule _PyPegen_star_target_rule
  ------------------
  |  Branch (18995:13): [True: 39.7k, False: 133k]
  |  Branch (18995:20): [True: 114k, False: 58.6k]
  |  Branch (18995:46): [True: 114k, False: 0]
  ------------------
18996|  39.7k|            &&
18997|  39.7k|            (b = _loop0_98_rule(p))  // ((',' star_target))*
  ------------------
  |  Branch (18997:13): [True: 39.7k, False: 0]
  ------------------
18998|  39.7k|            &&
18999|  39.7k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (18999:13): [True: 39.4k, False: 233]
  ------------------
19000|   172k|        )
19001|  39.4k|        {
19002|  39.4k|            D(fprintf(stderr, "%*c+ star_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_target ((',' star_target))* ','?"));
19003|  39.4k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19004|  39.4k|            if (_token == NULL) {
  ------------------
  |  Branch (19004:17): [True: 0, False: 39.4k]
  ------------------
19005|      0|                p->level--;
19006|      0|                return NULL;
19007|      0|            }
19008|  39.4k|            int _end_lineno = _token->end_lineno;
19009|  39.4k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  39.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 39.4k]
  |  |  ------------------
  ------------------
19010|  39.4k|            int _end_col_offset = _token->end_col_offset;
19011|  39.4k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  39.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 39.4k]
  |  |  ------------------
  ------------------
19012|  39.4k|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Store , EXTRA );
  ------------------
  |  |  280|  39.4k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Store , EXTRA );
  ------------------
  |  |  316|  39.4k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19013|  39.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19013:18): [True: 0, False: 39.4k]
  |  Branch (19013:34): [True: 0, False: 39.4k]
  |  Branch (19013:57): [True: 0, False: 0]
  ------------------
19014|      0|                p->error_indicator = 1;
19015|      0|                p->level--;
19016|      0|                return NULL;
19017|      0|            }
19018|  39.4k|            goto done;
19019|  39.4k|        }
19020|   133k|        p->mark = _mark;
19021|   133k|        D(fprintf(stderr, "%*c%s star_targets[%d-%d]: %s failed!\n", p->level, ' ',
19022|   133k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_target ((',' star_target))* ','?"));
19023|   133k|    }
19024|   133k|    _res = NULL;
19025|   379k|  done:
19026|   379k|    p->level--;
19027|   379k|    return _res;
19028|   133k|}
_PyPegen_star_target_rule:
19033|   587k|{
19034|   587k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.17M|#  define MAXSTACK 6000
  ------------------
  |  Branch (19034:9): [True: 0, False: 587k]
  |  Branch (19034:35): [True: 0, False: 587k]
  ------------------
19035|      0|        _Pypegen_stack_overflow(p);
19036|      0|    }
19037|   587k|    if (p->error_indicator) {
  ------------------
  |  Branch (19037:9): [True: 6, False: 587k]
  ------------------
19038|      6|        p->level--;
19039|      6|        return NULL;
19040|      6|    }
19041|   587k|    expr_ty _res = NULL;
19042|   587k|    if (_PyPegen_is_memoized(p, star_target_type, &_res)) {
  ------------------
  |  |  273|   587k|#define star_target_type 1184
  ------------------
  |  Branch (19042:9): [True: 162k, False: 424k]
  ------------------
19043|   162k|        p->level--;
19044|   162k|        return _res;
19045|   162k|    }
19046|   424k|    int _mark = p->mark;
19047|   424k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19047:9): [True: 0, False: 424k]
  |  Branch (19047:31): [True: 0, False: 0]
  ------------------
19048|      0|        p->error_indicator = 1;
19049|      0|        p->level--;
19050|      0|        return NULL;
19051|      0|    }
19052|   424k|    int _start_lineno = p->tokens[_mark]->lineno;
19053|   424k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   424k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 424k]
  |  |  ------------------
  ------------------
19054|   424k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19055|   424k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   424k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 424k]
  |  |  ------------------
  ------------------
19056|   424k|    { // '*' (!'*' star_target)
19057|   424k|        if (p->error_indicator) {
  ------------------
  |  Branch (19057:13): [True: 0, False: 424k]
  ------------------
19058|      0|            p->level--;
19059|      0|            return NULL;
19060|      0|        }
19061|   424k|        D(fprintf(stderr, "%*c> star_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' (!'*' star_target)"));
19062|   424k|        Token * _literal;
19063|   424k|        void *a;
19064|   424k|        if (
19065|   424k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (19065:13): [True: 5.96k, False: 418k]
  ------------------
19066|  5.96k|            &&
19067|  5.96k|            (a = _tmp_99_rule(p))  // !'*' star_target
  ------------------
  |  Branch (19067:13): [True: 4.94k, False: 1.01k]
  ------------------
19068|   424k|        )
19069|  4.94k|        {
19070|  4.94k|            D(fprintf(stderr, "%*c+ star_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' (!'*' star_target)"));
19071|  4.94k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19072|  4.94k|            if (_token == NULL) {
  ------------------
  |  Branch (19072:17): [True: 0, False: 4.94k]
  ------------------
19073|      0|                p->level--;
19074|      0|                return NULL;
19075|      0|            }
19076|  4.94k|            int _end_lineno = _token->end_lineno;
19077|  4.94k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.94k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.94k]
  |  |  ------------------
  ------------------
19078|  4.94k|            int _end_col_offset = _token->end_col_offset;
19079|  4.94k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.94k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.94k]
  |  |  ------------------
  ------------------
19080|  4.94k|            _res = _PyAST_Starred ( a , Store , EXTRA );
  ------------------
  |  |  316|  4.94k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19081|  4.94k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19081:18): [True: 0, False: 4.94k]
  |  Branch (19081:34): [True: 0, False: 4.94k]
  |  Branch (19081:57): [True: 0, False: 0]
  ------------------
19082|      0|                p->error_indicator = 1;
19083|      0|                p->level--;
19084|      0|                return NULL;
19085|      0|            }
19086|  4.94k|            goto done;
19087|  4.94k|        }
19088|   419k|        p->mark = _mark;
19089|   419k|        D(fprintf(stderr, "%*c%s star_target[%d-%d]: %s failed!\n", p->level, ' ',
19090|   419k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (!'*' star_target)"));
19091|   419k|    }
19092|      0|    { // target
19093|   419k|        if (p->error_indicator) {
  ------------------
  |  Branch (19093:13): [True: 273, False: 418k]
  ------------------
19094|    273|            p->level--;
19095|    273|            return NULL;
19096|    273|        }
19097|   418k|        D(fprintf(stderr, "%*c> star_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "target"));
19098|   418k|        expr_ty target_var;
19099|   418k|        if (
19100|   418k|            (target_var = target_rule(p))  // target
  ------------------
  |  Branch (19100:13): [True: 299k, False: 119k]
  ------------------
19101|   418k|        )
19102|   299k|        {
19103|   299k|            D(fprintf(stderr, "%*c+ star_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "target"));
19104|   299k|            _res = target_var;
19105|   299k|            goto done;
19106|   299k|        }
19107|   119k|        p->mark = _mark;
19108|   119k|        D(fprintf(stderr, "%*c%s star_target[%d-%d]: %s failed!\n", p->level, ' ',
19109|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "target"));
19110|   119k|    }
19111|   119k|    _res = NULL;
19112|   423k|  done:
19113|   423k|    _PyPegen_insert_memo(p, _mark, star_target_type, _res);
  ------------------
  |  |  273|   423k|#define star_target_type 1184
  ------------------
19114|   423k|    p->level--;
19115|   423k|    return _res;
19116|   119k|}
_PyPegen_func_type_comment_rule:
19646|  13.1k|{
19647|  13.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  26.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19647:9): [True: 0, False: 13.1k]
  |  Branch (19647:35): [True: 0, False: 13.1k]
  ------------------
19648|      0|        _Pypegen_stack_overflow(p);
19649|      0|    }
19650|  13.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (19650:9): [True: 0, False: 13.1k]
  ------------------
19651|      0|        p->level--;
19652|      0|        return NULL;
19653|      0|    }
19654|  13.1k|    Token* _res = NULL;
19655|  13.1k|    int _mark = p->mark;
19656|  13.1k|    { // NEWLINE TYPE_COMMENT &(NEWLINE INDENT)
19657|  13.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (19657:13): [True: 0, False: 13.1k]
  ------------------
19658|      0|            p->level--;
19659|      0|            return NULL;
19660|      0|        }
19661|  13.1k|        D(fprintf(stderr, "%*c> func_type_comment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE TYPE_COMMENT &(NEWLINE INDENT)"));
19662|  13.1k|        Token * newline_var;
19663|  13.1k|        Token * t;
19664|  13.1k|        if (
19665|  13.1k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  13.1k|#define NEWLINE         4
  ------------------
  |  Branch (19665:13): [True: 5.17k, False: 8.00k]
  ------------------
19666|  5.17k|            &&
19667|  5.17k|            (t = _PyPegen_expect_token(p, TYPE_COMMENT))  // token='TYPE_COMMENT'
  ------------------
  |  |   73|  5.17k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (19667:13): [True: 102, False: 5.07k]
  ------------------
19668|    102|            &&
19669|    102|            _PyPegen_lookahead(1, _tmp_105_rule, p)
  ------------------
  |  Branch (19669:13): [True: 102, False: 0]
  ------------------
19670|  13.1k|        )
19671|    102|        {
19672|    102|            D(fprintf(stderr, "%*c+ func_type_comment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE TYPE_COMMENT &(NEWLINE INDENT)"));
19673|    102|            _res = t;
19674|    102|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19674:18): [True: 0, False: 102]
  |  Branch (19674:34): [True: 0, False: 102]
  |  Branch (19674:57): [True: 0, False: 0]
  ------------------
19675|      0|                p->error_indicator = 1;
19676|      0|                p->level--;
19677|      0|                return NULL;
19678|      0|            }
19679|    102|            goto done;
19680|    102|        }
19681|  13.0k|        p->mark = _mark;
19682|  13.0k|        D(fprintf(stderr, "%*c%s func_type_comment[%d-%d]: %s failed!\n", p->level, ' ',
19683|  13.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE TYPE_COMMENT &(NEWLINE INDENT)"));
19684|  13.0k|    }
19685|  13.0k|    if (p->call_invalid_rules) { // invalid_double_type_comments
  ------------------
  |  Branch (19685:9): [True: 2.22k, False: 10.8k]
  ------------------
19686|  2.22k|        if (p->error_indicator) {
  ------------------
  |  Branch (19686:13): [True: 0, False: 2.22k]
  ------------------
19687|      0|            p->level--;
19688|      0|            return NULL;
19689|      0|        }
19690|  2.22k|        D(fprintf(stderr, "%*c> func_type_comment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_double_type_comments"));
19691|  2.22k|        void *invalid_double_type_comments_var;
19692|  2.22k|        if (
19693|  2.22k|            (invalid_double_type_comments_var = invalid_double_type_comments_rule(p))  // invalid_double_type_comments
  ------------------
  |  |  577|  2.22k|#define invalid_double_type_comments_rule _PyPegen_invalid_double_type_comments_rule
  ------------------
  |  Branch (19693:13): [True: 0, False: 2.22k]
  ------------------
19694|  2.22k|        )
19695|      0|        {
19696|      0|            D(fprintf(stderr, "%*c+ func_type_comment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_double_type_comments"));
19697|      0|            _res = invalid_double_type_comments_var;
19698|      0|            goto done;
19699|      0|        }
19700|  2.22k|        p->mark = _mark;
19701|  2.22k|        D(fprintf(stderr, "%*c%s func_type_comment[%d-%d]: %s failed!\n", p->level, ' ',
19702|  2.22k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_double_type_comments"));
19703|  2.22k|    }
19704|  13.0k|    { // TYPE_COMMENT
19705|  13.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (19705:13): [True: 4, False: 13.0k]
  ------------------
19706|      4|            p->level--;
19707|      4|            return NULL;
19708|      4|        }
19709|  13.0k|        D(fprintf(stderr, "%*c> func_type_comment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TYPE_COMMENT"));
19710|  13.0k|        Token * type_comment_var;
19711|  13.0k|        if (
19712|  13.0k|            (type_comment_var = _PyPegen_expect_token(p, TYPE_COMMENT))  // token='TYPE_COMMENT'
  ------------------
  |  |   73|  13.0k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (19712:13): [True: 479, False: 12.5k]
  ------------------
19713|  13.0k|        )
19714|    479|        {
19715|    479|            D(fprintf(stderr, "%*c+ func_type_comment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TYPE_COMMENT"));
19716|    479|            _res = type_comment_var;
19717|    479|            goto done;
19718|    479|        }
19719|  12.5k|        p->mark = _mark;
19720|  12.5k|        D(fprintf(stderr, "%*c%s func_type_comment[%d-%d]: %s failed!\n", p->level, ' ',
19721|  12.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TYPE_COMMENT"));
19722|  12.5k|    }
19723|  12.5k|    _res = NULL;
19724|  13.1k|  done:
19725|  13.1k|    p->level--;
19726|  13.1k|    return _res;
19727|  12.5k|}
_PyPegen_parse:
26414|  34.1k|{
26415|       |    // Initialize keywords
26416|  34.1k|    p->keywords = reserved_keywords;
26417|  34.1k|    p->n_keyword_lists = n_keyword_lists;
26418|  34.1k|    p->soft_keywords = soft_keywords;
26419|       |
26420|       |    // Run parser
26421|  34.1k|    void *result = NULL;
26422|  34.1k|    if (p->start_rule == Py_file_input) {
  ------------------
  |  |    9|  34.1k|#define Py_file_input 257
  ------------------
  |  Branch (26422:9): [True: 20.0k, False: 14.0k]
  ------------------
26423|  20.0k|        result = file_rule(p);
26424|  20.0k|    } else if (p->start_rule == Py_single_input) {
  ------------------
  |  |    8|  14.0k|#define Py_single_input 256
  ------------------
  |  Branch (26424:16): [True: 8.54k, False: 5.54k]
  ------------------
26425|  8.54k|        result = interactive_rule(p);
26426|  8.54k|    } else if (p->start_rule == Py_eval_input) {
  ------------------
  |  |   10|  5.54k|#define Py_eval_input 258
  ------------------
  |  Branch (26426:16): [True: 5.54k, False: 0]
  ------------------
26427|  5.54k|        result = eval_rule(p);
26428|  5.54k|    } 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|  34.1k|    return result;
26433|  34.1k|}
parser.c:assignment_rule:
 2022|   267k|{
 2023|   267k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   534k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2023:9): [True: 0, False: 267k]
  |  Branch (2023:35): [True: 0, False: 267k]
  ------------------
 2024|      0|        _Pypegen_stack_overflow(p);
 2025|      0|    }
 2026|   267k|    if (p->error_indicator) {
  ------------------
  |  Branch (2026:9): [True: 0, False: 267k]
  ------------------
 2027|      0|        p->level--;
 2028|      0|        return NULL;
 2029|      0|    }
 2030|   267k|    stmt_ty _res = NULL;
 2031|   267k|    int _mark = p->mark;
 2032|   267k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2032:9): [True: 0, False: 267k]
  |  Branch (2032:31): [True: 0, False: 0]
  ------------------
 2033|      0|        p->error_indicator = 1;
 2034|      0|        p->level--;
 2035|      0|        return NULL;
 2036|      0|    }
 2037|   267k|    int _start_lineno = p->tokens[_mark]->lineno;
 2038|   267k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   267k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 267k]
  |  |  ------------------
  ------------------
 2039|   267k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2040|   267k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   267k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 267k]
  |  |  ------------------
  ------------------
 2041|   267k|    { // NAME ':' expression ['=' annotated_rhs]
 2042|   267k|        if (p->error_indicator) {
  ------------------
  |  Branch (2042:13): [True: 0, False: 267k]
  ------------------
 2043|      0|            p->level--;
 2044|      0|            return NULL;
 2045|      0|        }
 2046|   267k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME ':' expression ['=' annotated_rhs]"));
 2047|   267k|        Token * _literal;
 2048|   267k|        expr_ty a;
 2049|   267k|        expr_ty b;
 2050|   267k|        void *c;
 2051|   267k|        if (
 2052|   267k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (2052:13): [True: 168k, False: 98.7k]
  ------------------
 2053|   168k|            &&
 2054|   168k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (2054:13): [True: 29.0k, False: 139k]
  ------------------
 2055|  29.0k|            &&
 2056|  29.0k|            (b = expression_rule(p))  // expression
  ------------------
  |  |  461|  29.0k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2056:13): [True: 28.6k, False: 366]
  ------------------
 2057|  28.6k|            &&
 2058|  28.6k|            (c = _tmp_10_rule(p), !p->error_indicator)  // ['=' annotated_rhs]
  ------------------
  |  Branch (2058:13): [True: 28.6k, False: 1]
  ------------------
 2059|   267k|        )
 2060|  28.6k|        {
 2061|  28.6k|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME ':' expression ['=' annotated_rhs]"));
 2062|  28.6k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2063|  28.6k|            if (_token == NULL) {
  ------------------
  |  Branch (2063:17): [True: 0, False: 28.6k]
  ------------------
 2064|      0|                p->level--;
 2065|      0|                return NULL;
 2066|      0|            }
 2067|  28.6k|            int _end_lineno = _token->end_lineno;
 2068|  28.6k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  28.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 28.6k]
  |  |  ------------------
  ------------------
 2069|  28.6k|            int _end_col_offset = _token->end_col_offset;
 2070|  28.6k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  28.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 28.6k]
  |  |  ------------------
  ------------------
 2071|  28.6k|            _res = CHECK_VERSION ( stmt_ty , 6 , "Variable annotation syntax is" , _PyAST_AnnAssign ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , a , Store ) ) , b , c , 1 , EXTRA ) );
  ------------------
  |  |  354|  28.6k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 2072|  28.6k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2072:18): [True: 0, False: 28.6k]
  |  Branch (2072:34): [True: 0, False: 28.6k]
  |  Branch (2072:57): [True: 0, False: 0]
  ------------------
 2073|      0|                p->error_indicator = 1;
 2074|      0|                p->level--;
 2075|      0|                return NULL;
 2076|      0|            }
 2077|  28.6k|            goto done;
 2078|  28.6k|        }
 2079|   238k|        p->mark = _mark;
 2080|   238k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2081|   238k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME ':' expression ['=' annotated_rhs]"));
 2082|   238k|    }
 2083|      0|    { // ('(' single_target ')' | attribute_or_subscript_target) ':' expression ['=' annotated_rhs]
 2084|   238k|        if (p->error_indicator) {
  ------------------
  |  Branch (2084:13): [True: 290, False: 238k]
  ------------------
 2085|    290|            p->level--;
 2086|    290|            return NULL;
 2087|    290|        }
 2088|   238k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('(' single_target ')' | attribute_or_subscript_target) ':' expression ['=' annotated_rhs]"));
 2089|   238k|        Token * _literal;
 2090|   238k|        void *a;
 2091|   238k|        expr_ty b;
 2092|   238k|        void *c;
 2093|   238k|        if (
 2094|   238k|            (a = _tmp_11_rule(p))  // '(' single_target ')' | attribute_or_subscript_target
  ------------------
  |  Branch (2094:13): [True: 12.6k, False: 225k]
  ------------------
 2095|  12.6k|            &&
 2096|  12.6k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (2096:13): [True: 1.57k, False: 11.1k]
  ------------------
 2097|  1.57k|            &&
 2098|  1.57k|            (b = expression_rule(p))  // expression
  ------------------
  |  |  461|  1.57k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2098:13): [True: 1.56k, False: 3]
  ------------------
 2099|  1.56k|            &&
 2100|  1.56k|            (c = _tmp_10_rule(p), !p->error_indicator)  // ['=' annotated_rhs]
  ------------------
  |  Branch (2100:13): [True: 1.56k, False: 1]
  ------------------
 2101|   238k|        )
 2102|  1.56k|        {
 2103|  1.56k|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('(' single_target ')' | attribute_or_subscript_target) ':' expression ['=' annotated_rhs]"));
 2104|  1.56k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2105|  1.56k|            if (_token == NULL) {
  ------------------
  |  Branch (2105:17): [True: 0, False: 1.56k]
  ------------------
 2106|      0|                p->level--;
 2107|      0|                return NULL;
 2108|      0|            }
 2109|  1.56k|            int _end_lineno = _token->end_lineno;
 2110|  1.56k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.56k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.56k]
  |  |  ------------------
  ------------------
 2111|  1.56k|            int _end_col_offset = _token->end_col_offset;
 2112|  1.56k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.56k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.56k]
  |  |  ------------------
  ------------------
 2113|  1.56k|            _res = CHECK_VERSION ( stmt_ty , 6 , "Variable annotations syntax is" , _PyAST_AnnAssign ( a , b , c , 0 , EXTRA ) );
  ------------------
  |  |  354|  1.56k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 2114|  1.56k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2114:18): [True: 0, False: 1.56k]
  |  Branch (2114:34): [True: 0, False: 1.56k]
  |  Branch (2114:57): [True: 0, False: 0]
  ------------------
 2115|      0|                p->error_indicator = 1;
 2116|      0|                p->level--;
 2117|      0|                return NULL;
 2118|      0|            }
 2119|  1.56k|            goto done;
 2120|  1.56k|        }
 2121|   236k|        p->mark = _mark;
 2122|   236k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2123|   236k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('(' single_target ')' | attribute_or_subscript_target) ':' expression ['=' annotated_rhs]"));
 2124|   236k|    }
 2125|      0|    { // ((star_targets '='))+ annotated_rhs !'=' TYPE_COMMENT?
 2126|   236k|        if (p->error_indicator) {
  ------------------
  |  Branch (2126:13): [True: 1.46k, False: 235k]
  ------------------
 2127|  1.46k|            p->level--;
 2128|  1.46k|            return NULL;
 2129|  1.46k|        }
 2130|   235k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((star_targets '='))+ annotated_rhs !'=' TYPE_COMMENT?"));
 2131|   235k|        asdl_expr_seq* a;
 2132|   235k|        expr_ty b;
 2133|   235k|        void *tc;
 2134|   235k|        if (
 2135|   235k|            (a = (asdl_expr_seq*)_loop1_12_rule(p))  // ((star_targets '='))+
  ------------------
  |  Branch (2135:13): [True: 8.65k, False: 226k]
  ------------------
 2136|  8.65k|            &&
 2137|  8.65k|            (b = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  403|  8.65k|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (2137:13): [True: 8.33k, False: 318]
  ------------------
 2138|  8.33k|            &&
 2139|  8.33k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 22)  // token='='
  ------------------
  |  Branch (2139:13): [True: 8.31k, False: 17]
  ------------------
 2140|  8.31k|            &&
 2141|  8.31k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  8.31k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (2141:13): [True: 8.31k, False: 0]
  ------------------
 2142|   235k|        )
 2143|  8.31k|        {
 2144|  8.31k|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((star_targets '='))+ annotated_rhs !'=' TYPE_COMMENT?"));
 2145|  8.31k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2146|  8.31k|            if (_token == NULL) {
  ------------------
  |  Branch (2146:17): [True: 0, False: 8.31k]
  ------------------
 2147|      0|                p->level--;
 2148|      0|                return NULL;
 2149|      0|            }
 2150|  8.31k|            int _end_lineno = _token->end_lineno;
 2151|  8.31k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  8.31k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 8.31k]
  |  |  ------------------
  ------------------
 2152|  8.31k|            int _end_col_offset = _token->end_col_offset;
 2153|  8.31k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  8.31k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 8.31k]
  |  |  ------------------
  ------------------
 2154|  8.31k|            _res = _PyAST_Assign ( a , b , NEW_TYPE_COMMENT ( p , tc ) , EXTRA );
  ------------------
  |  |  316|  8.31k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2155|  8.31k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2155:18): [True: 0, False: 8.31k]
  |  Branch (2155:34): [True: 4, False: 8.31k]
  |  Branch (2155:57): [True: 4, False: 0]
  ------------------
 2156|      4|                p->error_indicator = 1;
 2157|      4|                p->level--;
 2158|      4|                return NULL;
 2159|      4|            }
 2160|  8.31k|            goto done;
 2161|  8.31k|        }
 2162|   227k|        p->mark = _mark;
 2163|   227k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2164|   227k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((star_targets '='))+ annotated_rhs !'=' TYPE_COMMENT?"));
 2165|   227k|    }
 2166|      0|    { // single_target augassign ~ annotated_rhs
 2167|   227k|        if (p->error_indicator) {
  ------------------
  |  Branch (2167:13): [True: 882, False: 226k]
  ------------------
 2168|    882|            p->level--;
 2169|    882|            return NULL;
 2170|    882|        }
 2171|   226k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "single_target augassign ~ annotated_rhs"));
 2172|   226k|        int _cut_var = 0;
 2173|   226k|        expr_ty a;
 2174|   226k|        AugOperator* b;
 2175|   226k|        expr_ty c;
 2176|   226k|        if (
 2177|   226k|            (a = single_target_rule(p))  // single_target
  ------------------
  |  Branch (2177:13): [True: 129k, False: 97.1k]
  ------------------
 2178|   129k|            &&
 2179|   129k|            (b = augassign_rule(p))  // augassign
  ------------------
  |  |  405|   129k|#define augassign_rule _PyPegen_augassign_rule
  ------------------
  |  Branch (2179:13): [True: 7.86k, False: 121k]
  ------------------
 2180|  7.86k|            &&
 2181|  7.86k|            (_cut_var = 1)
  ------------------
  |  Branch (2181:13): [True: 7.86k, False: 0]
  ------------------
 2182|  7.86k|            &&
 2183|  7.86k|            (c = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  403|  7.86k|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (2183:13): [True: 7.75k, False: 109]
  ------------------
 2184|   226k|        )
 2185|  7.75k|        {
 2186|  7.75k|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "single_target augassign ~ annotated_rhs"));
 2187|  7.75k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2188|  7.75k|            if (_token == NULL) {
  ------------------
  |  Branch (2188:17): [True: 0, False: 7.75k]
  ------------------
 2189|      0|                p->level--;
 2190|      0|                return NULL;
 2191|      0|            }
 2192|  7.75k|            int _end_lineno = _token->end_lineno;
 2193|  7.75k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  7.75k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 7.75k]
  |  |  ------------------
  ------------------
 2194|  7.75k|            int _end_col_offset = _token->end_col_offset;
 2195|  7.75k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  7.75k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 7.75k]
  |  |  ------------------
  ------------------
 2196|  7.75k|            _res = _PyAST_AugAssign ( a , b -> kind , c , EXTRA );
  ------------------
  |  |  316|  7.75k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2197|  7.75k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2197:18): [True: 0, False: 7.75k]
  |  Branch (2197:34): [True: 0, False: 7.75k]
  |  Branch (2197:57): [True: 0, False: 0]
  ------------------
 2198|      0|                p->error_indicator = 1;
 2199|      0|                p->level--;
 2200|      0|                return NULL;
 2201|      0|            }
 2202|  7.75k|            goto done;
 2203|  7.75k|        }
 2204|   218k|        p->mark = _mark;
 2205|   218k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2206|   218k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "single_target augassign ~ annotated_rhs"));
 2207|   218k|        if (_cut_var) {
  ------------------
  |  Branch (2207:13): [True: 109, False: 218k]
  ------------------
 2208|    109|            p->level--;
 2209|    109|            return NULL;
 2210|    109|        }
 2211|   218k|    }
 2212|   218k|    if (p->call_invalid_rules) { // invalid_assignment
  ------------------
  |  Branch (2212:9): [True: 37.3k, False: 181k]
  ------------------
 2213|  37.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (2213:13): [True: 0, False: 37.3k]
  ------------------
 2214|      0|            p->level--;
 2215|      0|            return NULL;
 2216|      0|        }
 2217|  37.3k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_assignment"));
 2218|  37.3k|        void *invalid_assignment_var;
 2219|  37.3k|        if (
 2220|  37.3k|            (invalid_assignment_var = invalid_assignment_rule(p))  // invalid_assignment
  ------------------
  |  |  551|  37.3k|#define invalid_assignment_rule _PyPegen_invalid_assignment_rule
  ------------------
  |  Branch (2220:13): [True: 0, False: 37.3k]
  ------------------
 2221|  37.3k|        )
 2222|      0|        {
 2223|      0|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_assignment"));
 2224|      0|            _res = invalid_assignment_var;
 2225|      0|            goto done;
 2226|      0|        }
 2227|  37.3k|        p->mark = _mark;
 2228|  37.3k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2229|  37.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_assignment"));
 2230|  37.3k|    }
 2231|   218k|    _res = NULL;
 2232|   264k|  done:
 2233|   264k|    p->level--;
 2234|   264k|    return _res;
 2235|   218k|}
parser.c:_tmp_10_rule:
20284|  30.2k|{
20285|  30.2k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  60.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20285:9): [True: 0, False: 30.2k]
  |  Branch (20285:35): [True: 0, False: 30.2k]
  ------------------
20286|      0|        _Pypegen_stack_overflow(p);
20287|      0|    }
20288|  30.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (20288:9): [True: 0, False: 30.2k]
  ------------------
20289|      0|        p->level--;
20290|      0|        return NULL;
20291|      0|    }
20292|  30.2k|    void * _res = NULL;
20293|  30.2k|    int _mark = p->mark;
20294|  30.2k|    { // '=' annotated_rhs
20295|  30.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (20295:13): [True: 0, False: 30.2k]
  ------------------
20296|      0|            p->level--;
20297|      0|            return NULL;
20298|      0|        }
20299|  30.2k|        D(fprintf(stderr, "%*c> _tmp_10[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' annotated_rhs"));
20300|  30.2k|        Token * _literal;
20301|  30.2k|        expr_ty d;
20302|  30.2k|        if (
20303|  30.2k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (20303:13): [True: 2.23k, False: 27.9k]
  ------------------
20304|  2.23k|            &&
20305|  2.23k|            (d = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  403|  2.23k|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (20305:13): [True: 2.21k, False: 14]
  ------------------
20306|  30.2k|        )
20307|  2.21k|        {
20308|  2.21k|            D(fprintf(stderr, "%*c+ _tmp_10[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'=' annotated_rhs"));
20309|  2.21k|            _res = d;
20310|  2.21k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20310:18): [True: 0, False: 2.21k]
  |  Branch (20310:34): [True: 0, False: 2.21k]
  |  Branch (20310:57): [True: 0, False: 0]
  ------------------
20311|      0|                p->error_indicator = 1;
20312|      0|                p->level--;
20313|      0|                return NULL;
20314|      0|            }
20315|  2.21k|            goto done;
20316|  2.21k|        }
20317|  28.0k|        p->mark = _mark;
20318|  28.0k|        D(fprintf(stderr, "%*c%s _tmp_10[%d-%d]: %s failed!\n", p->level, ' ',
20319|  28.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' annotated_rhs"));
20320|  28.0k|    }
20321|  28.0k|    _res = NULL;
20322|  30.2k|  done:
20323|  30.2k|    p->level--;
20324|  30.2k|    return _res;
20325|  28.0k|}
parser.c:_tmp_11_rule:
20330|   238k|{
20331|   238k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   476k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20331:9): [True: 0, False: 238k]
  |  Branch (20331:35): [True: 0, False: 238k]
  ------------------
20332|      0|        _Pypegen_stack_overflow(p);
20333|      0|    }
20334|   238k|    if (p->error_indicator) {
  ------------------
  |  Branch (20334:9): [True: 0, False: 238k]
  ------------------
20335|      0|        p->level--;
20336|      0|        return NULL;
20337|      0|    }
20338|   238k|    void * _res = NULL;
20339|   238k|    int _mark = p->mark;
20340|   238k|    { // '(' single_target ')'
20341|   238k|        if (p->error_indicator) {
  ------------------
  |  Branch (20341:13): [True: 0, False: 238k]
  ------------------
20342|      0|            p->level--;
20343|      0|            return NULL;
20344|      0|        }
20345|   238k|        D(fprintf(stderr, "%*c> _tmp_11[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' single_target ')'"));
20346|   238k|        Token * _literal;
20347|   238k|        Token * _literal_1;
20348|   238k|        expr_ty b;
20349|   238k|        if (
20350|   238k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (20350:13): [True: 2.07k, False: 236k]
  ------------------
20351|  2.07k|            &&
20352|  2.07k|            (b = single_target_rule(p))  // single_target
  ------------------
  |  Branch (20352:13): [True: 844, False: 1.22k]
  ------------------
20353|    844|            &&
20354|    844|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (20354:13): [True: 554, False: 290]
  ------------------
20355|   238k|        )
20356|    554|        {
20357|    554|            D(fprintf(stderr, "%*c+ _tmp_11[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' single_target ')'"));
20358|    554|            _res = b;
20359|    554|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20359:18): [True: 0, False: 554]
  |  Branch (20359:34): [True: 0, False: 554]
  |  Branch (20359:57): [True: 0, False: 0]
  ------------------
20360|      0|                p->error_indicator = 1;
20361|      0|                p->level--;
20362|      0|                return NULL;
20363|      0|            }
20364|    554|            goto done;
20365|    554|        }
20366|   237k|        p->mark = _mark;
20367|   237k|        D(fprintf(stderr, "%*c%s _tmp_11[%d-%d]: %s failed!\n", p->level, ' ',
20368|   237k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' single_target ')'"));
20369|   237k|    }
20370|      0|    { // attribute_or_subscript_target
20371|   237k|        if (p->error_indicator) {
  ------------------
  |  Branch (20371:13): [True: 124, False: 237k]
  ------------------
20372|    124|            p->level--;
20373|    124|            return NULL;
20374|    124|        }
20375|   237k|        D(fprintf(stderr, "%*c> _tmp_11[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "attribute_or_subscript_target"));
20376|   237k|        expr_ty attribute_or_subscript_target_var;
20377|   237k|        if (
20378|   237k|            (attribute_or_subscript_target_var = attribute_or_subscript_target_rule(p))  // attribute_or_subscript_target
  ------------------
  |  Branch (20378:13): [True: 12.1k, False: 225k]
  ------------------
20379|   237k|        )
20380|  12.1k|        {
20381|  12.1k|            D(fprintf(stderr, "%*c+ _tmp_11[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "attribute_or_subscript_target"));
20382|  12.1k|            _res = attribute_or_subscript_target_var;
20383|  12.1k|            goto done;
20384|  12.1k|        }
20385|   225k|        p->mark = _mark;
20386|   225k|        D(fprintf(stderr, "%*c%s _tmp_11[%d-%d]: %s failed!\n", p->level, ' ',
20387|   225k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "attribute_or_subscript_target"));
20388|   225k|    }
20389|   225k|    _res = NULL;
20390|   238k|  done:
20391|   238k|    p->level--;
20392|   238k|    return _res;
20393|   225k|}
parser.c:attribute_or_subscript_target_rule:
19212|   237k|{
19213|   237k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   475k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19213:9): [True: 0, False: 237k]
  |  Branch (19213:35): [True: 0, False: 237k]
  ------------------
19214|      0|        _Pypegen_stack_overflow(p);
19215|      0|    }
19216|   237k|    if (p->error_indicator) {
  ------------------
  |  Branch (19216:9): [True: 0, False: 237k]
  ------------------
19217|      0|        p->level--;
19218|      0|        return NULL;
19219|      0|    }
19220|   237k|    expr_ty _res = NULL;
19221|   237k|    int _mark = p->mark;
19222|   237k|    { // target_value
19223|   237k|        if (p->error_indicator) {
  ------------------
  |  Branch (19223:13): [True: 0, False: 237k]
  ------------------
19224|      0|            p->level--;
19225|      0|            return NULL;
19226|      0|        }
19227|   237k|        D(fprintf(stderr, "%*c> attribute_or_subscript_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "target_value"));
19228|   237k|        expr_ty a;
19229|   237k|        if (
19230|   237k|            (a = target_value_rule(p))  // target_value
  ------------------
  |  Branch (19230:13): [True: 170k, False: 67.0k]
  ------------------
19231|   237k|        )
19232|   170k|        {
19233|   170k|            D(fprintf(stderr, "%*c+ attribute_or_subscript_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "target_value"));
19234|   170k|            _res = _PyPegen_make_target ( p , a , ATTRIBUTE_OR_SUBSCRIPT_TARGETS );
19235|   170k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19235:18): [True: 158k, False: 12.1k]
  |  Branch (19235:34): [True: 0, False: 12.1k]
  |  Branch (19235:57): [True: 0, False: 158k]
  ------------------
19236|      0|                p->error_indicator = 1;
19237|      0|                p->level--;
19238|      0|                return NULL;
19239|      0|            }
19240|   170k|            goto done;
19241|   170k|        }
19242|  67.0k|        p->mark = _mark;
19243|  67.0k|        D(fprintf(stderr, "%*c%s attribute_or_subscript_target[%d-%d]: %s failed!\n", p->level, ' ',
19244|  67.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "target_value"));
19245|  67.0k|    }
19246|  67.0k|    _res = NULL;
19247|   237k|  done:
19248|   237k|    p->level--;
19249|   237k|    return _res;
19250|  67.0k|}
parser.c:target_value_rule:
19255|   911k|{
19256|   911k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.82M|#  define MAXSTACK 6000
  ------------------
  |  Branch (19256:9): [True: 0, False: 911k]
  |  Branch (19256:35): [True: 0, False: 911k]
  ------------------
19257|      0|        _Pypegen_stack_overflow(p);
19258|      0|    }
19259|   911k|    if (p->error_indicator) {
  ------------------
  |  Branch (19259:9): [True: 0, False: 911k]
  ------------------
19260|      0|        p->level--;
19261|      0|        return NULL;
19262|      0|    }
19263|   911k|    expr_ty _res = NULL;
19264|   911k|    int _mark = p->mark;
19265|   911k|    { // primary !('(' | '[' | '.')
19266|   911k|        if (p->error_indicator) {
  ------------------
  |  Branch (19266:13): [True: 0, False: 911k]
  ------------------
19267|      0|            p->level--;
19268|      0|            return NULL;
19269|      0|        }
19270|   911k|        D(fprintf(stderr, "%*c> target_value[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary !('(' | '[' | '.')"));
19271|   911k|        expr_ty a;
19272|   911k|        if (
19273|   911k|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (19273:13): [True: 692k, False: 218k]
  ------------------
19274|   692k|            &&
19275|   692k|            _PyPegen_lookahead(0, _tmp_100_rule, p)
  ------------------
  |  Branch (19275:13): [True: 689k, False: 3.21k]
  ------------------
19276|   911k|        )
19277|   689k|        {
19278|   689k|            D(fprintf(stderr, "%*c+ target_value[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary !('(' | '[' | '.')"));
19279|   689k|            _res = a;
19280|   689k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19280:18): [True: 0, False: 689k]
  |  Branch (19280:34): [True: 0, False: 689k]
  |  Branch (19280:57): [True: 0, False: 0]
  ------------------
19281|      0|                p->error_indicator = 1;
19282|      0|                p->level--;
19283|      0|                return NULL;
19284|      0|            }
19285|   689k|            goto done;
19286|   689k|        }
19287|   221k|        p->mark = _mark;
19288|   221k|        D(fprintf(stderr, "%*c%s target_value[%d-%d]: %s failed!\n", p->level, ' ',
19289|   221k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary !('(' | '[' | '.')"));
19290|   221k|    }
19291|   221k|    _res = NULL;
19292|   911k|  done:
19293|   911k|    p->level--;
19294|   911k|    return _res;
19295|   221k|}
parser.c:primary_rule:
14513|  7.44M|{
14514|  7.44M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  14.8M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14514:9): [True: 2, False: 7.44M]
  |  Branch (14514:35): [True: 0, False: 7.44M]
  ------------------
14515|      2|        _Pypegen_stack_overflow(p);
14516|      2|    }
14517|  7.44M|    expr_ty _res = NULL;
14518|  7.44M|    if (_PyPegen_is_memoized(p, primary_type, &_res)) {
  ------------------
  |  |  221|  7.44M|#define primary_type 1132  // Left-recursive
  ------------------
  |  Branch (14518:9): [True: 5.52M, False: 1.91M]
  ------------------
14519|  5.52M|        p->level--;
14520|  5.52M|        return _res;
14521|  5.52M|    }
14522|  1.91M|    int _mark = p->mark;
14523|  1.91M|    int _resmark = p->mark;
14524|  1.91M|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, primary_type);
  ------------------
  |  |  221|  1.91M|#define primary_type 1132  // Left-recursive
  ------------------
14525|  1.91M|    if (_memo == NULL) {
  ------------------
  |  Branch (14525:9): [True: 0, False: 1.91M]
  ------------------
14526|      0|        p->level--;
14527|      0|        return NULL;
14528|      0|    }
14529|  3.45M|    while (1) {
  ------------------
  |  Branch (14529:12): [True: 3.45M, Folded]
  ------------------
14530|  3.45M|        _memo->node = _res;
14531|  3.45M|        _memo->mark = p->mark;
14532|  3.45M|        p->mark = _mark;
14533|  3.45M|        void *_raw = primary_raw(p);
14534|  3.45M|        if (p->error_indicator) {
  ------------------
  |  Branch (14534:13): [True: 52.2k, False: 3.39M]
  ------------------
14535|  52.2k|            p->level--;
14536|  52.2k|            return NULL;
14537|  52.2k|        }
14538|  3.39M|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (14538:13): [True: 437k, False: 2.96M]
  |  Branch (14538:29): [True: 1.42M, False: 1.53M]
  ------------------
14539|  1.86M|            break;
14540|  1.53M|        _resmark = p->mark;
14541|  1.53M|        _res = _raw;
14542|  1.53M|    }
14543|  1.86M|    p->mark = _resmark;
14544|  1.86M|    p->level--;
14545|  1.86M|    return _res;
14546|  1.91M|}
parser.c:primary_raw:
14549|  3.45M|{
14550|  3.45M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.90M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14550:9): [True: 1, False: 3.45M]
  |  Branch (14550:35): [True: 0, False: 3.45M]
  ------------------
14551|      1|        _Pypegen_stack_overflow(p);
14552|      1|    }
14553|  3.45M|    if (p->error_indicator) {
  ------------------
  |  Branch (14553:9): [True: 2, False: 3.45M]
  ------------------
14554|      2|        p->level--;
14555|      2|        return NULL;
14556|      2|    }
14557|  3.45M|    expr_ty _res = NULL;
14558|  3.45M|    int _mark = p->mark;
14559|  3.45M|    expr_ty _prefix_9_result = NULL;
14560|  3.45M|    int _prefix_9_end = 0, _prefix_9_valid = 0;
14561|  3.45M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14561:9): [True: 0, False: 3.45M]
  |  Branch (14561:31): [True: 0, False: 0]
  ------------------
14562|      0|        p->error_indicator = 1;
14563|      0|        p->level--;
14564|      0|        return NULL;
14565|      0|    }
14566|  3.45M|    int _start_lineno = p->tokens[_mark]->lineno;
14567|  3.45M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.45M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.45M]
  |  |  ------------------
  ------------------
14568|  3.45M|    int _start_col_offset = p->tokens[_mark]->col_offset;
14569|  3.45M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.45M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.45M]
  |  |  ------------------
  ------------------
14570|  3.45M|    { // primary '.' NAME
14571|  3.45M|        if (p->error_indicator) {
  ------------------
  |  Branch (14571:13): [True: 0, False: 3.45M]
  ------------------
14572|      0|            p->level--;
14573|      0|            return NULL;
14574|      0|        }
14575|  3.45M|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '.' NAME"));
14576|  3.45M|        Token * _literal;
14577|  3.45M|        expr_ty a;
14578|  3.45M|        expr_ty b;
14579|  3.45M|        if (
14580|  3.45M|            (a = ((!p->call_invalid_rules && _prefix_9_valid) ? (p->mark = _prefix_9_end, _prefix_9_result) : (_prefix_9_result = primary_rule(p), _prefix_9_end = p->mark, _prefix_9_valid = 1, _prefix_9_result)))  // primary
  ------------------
  |  Branch (14580:13): [True: 1.53M, False: 1.91M]
  |  Branch (14580:20): [True: 2.94M, False: 505k]
  |  Branch (14580:46): [True: 0, False: 2.94M]
  ------------------
14581|  1.53M|            &&
14582|  1.53M|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (14582:13): [True: 25.1k, False: 1.51M]
  ------------------
14583|  25.1k|            &&
14584|  25.1k|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (14584:13): [True: 24.9k, False: 243]
  ------------------
14585|  3.45M|        )
14586|  24.9k|        {
14587|  24.9k|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '.' NAME"));
14588|  24.9k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14589|  24.9k|            if (_token == NULL) {
  ------------------
  |  Branch (14589:17): [True: 0, False: 24.9k]
  ------------------
14590|      0|                p->level--;
14591|      0|                return NULL;
14592|      0|            }
14593|  24.9k|            int _end_lineno = _token->end_lineno;
14594|  24.9k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  24.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 24.9k]
  |  |  ------------------
  ------------------
14595|  24.9k|            int _end_col_offset = _token->end_col_offset;
14596|  24.9k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  24.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 24.9k]
  |  |  ------------------
  ------------------
14597|  24.9k|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Load , EXTRA );
  ------------------
  |  |  316|  24.9k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14598|  24.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14598:18): [True: 0, False: 24.9k]
  |  Branch (14598:34): [True: 0, False: 24.9k]
  |  Branch (14598:57): [True: 0, False: 0]
  ------------------
14599|      0|                p->error_indicator = 1;
14600|      0|                p->level--;
14601|      0|                return NULL;
14602|      0|            }
14603|  24.9k|            goto done;
14604|  24.9k|        }
14605|  3.42M|        p->mark = _mark;
14606|  3.42M|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14607|  3.42M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '.' NAME"));
14608|  3.42M|    }
14609|      0|    { // primary genexp
14610|  3.42M|        if (p->error_indicator) {
  ------------------
  |  Branch (14610:13): [True: 266, False: 3.42M]
  ------------------
14611|    266|            p->level--;
14612|    266|            return NULL;
14613|    266|        }
14614|  3.42M|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary genexp"));
14615|  3.42M|        expr_ty a;
14616|  3.42M|        expr_ty b;
14617|  3.42M|        if (
14618|  3.42M|            (a = ((!p->call_invalid_rules && _prefix_9_valid) ? (p->mark = _prefix_9_end, _prefix_9_result) : (_prefix_9_result = primary_rule(p), _prefix_9_end = p->mark, _prefix_9_valid = 1, _prefix_9_result)))  // primary
  ------------------
  |  Branch (14618:13): [True: 1.51M, False: 1.91M]
  |  Branch (14618:20): [True: 2.92M, False: 503k]
  |  Branch (14618:46): [True: 2.92M, False: 0]
  ------------------
14619|  1.51M|            &&
14620|  1.51M|            (b = genexp_rule(p))  // genexp
  ------------------
  |  |  521|  1.51M|#define genexp_rule _PyPegen_genexp_rule
  ------------------
  |  Branch (14620:13): [True: 1.38k, False: 1.50M]
  ------------------
14621|  3.42M|        )
14622|  1.38k|        {
14623|  1.38k|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary genexp"));
14624|  1.38k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14625|  1.38k|            if (_token == NULL) {
  ------------------
  |  Branch (14625:17): [True: 0, False: 1.38k]
  ------------------
14626|      0|                p->level--;
14627|      0|                return NULL;
14628|      0|            }
14629|  1.38k|            int _end_lineno = _token->end_lineno;
14630|  1.38k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.38k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.38k]
  |  |  ------------------
  ------------------
14631|  1.38k|            int _end_col_offset = _token->end_col_offset;
14632|  1.38k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.38k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.38k]
  |  |  ------------------
  ------------------
14633|  1.38k|            _res = _PyAST_Call ( a , CHECK ( asdl_expr_seq* , ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , b ) ) , NULL , EXTRA );
  ------------------
  |  |  280|  1.38k|#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|  1.38k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14634|  1.38k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14634:18): [True: 0, False: 1.38k]
  |  Branch (14634:34): [True: 0, False: 1.38k]
  |  Branch (14634:57): [True: 0, False: 0]
  ------------------
14635|      0|                p->error_indicator = 1;
14636|      0|                p->level--;
14637|      0|                return NULL;
14638|      0|            }
14639|  1.38k|            goto done;
14640|  1.38k|        }
14641|  3.42M|        p->mark = _mark;
14642|  3.42M|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14643|  3.42M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary genexp"));
14644|  3.42M|    }
14645|      0|    { // primary '(' arguments? ')'
14646|  3.42M|        if (p->error_indicator) {
  ------------------
  |  Branch (14646:13): [True: 10.3k, False: 3.41M]
  ------------------
14647|  10.3k|            p->level--;
14648|  10.3k|            return NULL;
14649|  10.3k|        }
14650|  3.41M|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '(' arguments? ')'"));
14651|  3.41M|        Token * _literal;
14652|  3.41M|        Token * _literal_1;
14653|  3.41M|        expr_ty a;
14654|  3.41M|        void *b;
14655|  3.41M|        if (
14656|  3.41M|            (a = ((!p->call_invalid_rules && _prefix_9_valid) ? (p->mark = _prefix_9_end, _prefix_9_result) : (_prefix_9_result = primary_rule(p), _prefix_9_end = p->mark, _prefix_9_valid = 1, _prefix_9_result)))  // primary
  ------------------
  |  Branch (14656:13): [True: 1.49M, False: 1.91M]
  |  Branch (14656:20): [True: 2.91M, False: 494k]
  |  Branch (14656:46): [True: 2.91M, False: 0]
  ------------------
14657|  1.49M|            &&
14658|  1.49M|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (14658:13): [True: 37.5k, False: 1.46M]
  ------------------
14659|  37.5k|            &&
14660|  37.5k|            (b = arguments_rule(p), !p->error_indicator)  // arguments?
  ------------------
  |  |  523|  37.5k|#define arguments_rule _PyPegen_arguments_rule
  ------------------
  |  Branch (14660:13): [True: 32.3k, False: 5.19k]
  ------------------
14661|  32.3k|            &&
14662|  32.3k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (14662:13): [True: 20.6k, False: 11.7k]
  ------------------
14663|  3.41M|        )
14664|  20.6k|        {
14665|  20.6k|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '(' arguments? ')'"));
14666|  20.6k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14667|  20.6k|            if (_token == NULL) {
  ------------------
  |  Branch (14667:17): [True: 0, False: 20.6k]
  ------------------
14668|      0|                p->level--;
14669|      0|                return NULL;
14670|      0|            }
14671|  20.6k|            int _end_lineno = _token->end_lineno;
14672|  20.6k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  20.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 20.6k]
  |  |  ------------------
  ------------------
14673|  20.6k|            int _end_col_offset = _token->end_col_offset;
14674|  20.6k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  20.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 20.6k]
  |  |  ------------------
  ------------------
14675|  20.6k|            _res = _PyAST_Call ( a , ( b ) ? ( ( expr_ty ) b ) -> v . Call . args : NULL , ( b ) ? ( ( expr_ty ) b ) -> v . Call . keywords : NULL , EXTRA );
  ------------------
  |  |  316|  20.6k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (14675:38): [True: 15.1k, False: 5.52k]
  |  Branch (14675:92): [True: 15.1k, False: 5.52k]
  ------------------
14676|  20.6k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14676:18): [True: 0, False: 20.6k]
  |  Branch (14676:34): [True: 0, False: 20.6k]
  |  Branch (14676:57): [True: 0, False: 0]
  ------------------
14677|      0|                p->error_indicator = 1;
14678|      0|                p->level--;
14679|      0|                return NULL;
14680|      0|            }
14681|  20.6k|            goto done;
14682|  20.6k|        }
14683|  3.39M|        p->mark = _mark;
14684|  3.39M|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14685|  3.39M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '(' arguments? ')'"));
14686|  3.39M|    }
14687|      0|    { // primary '[' slices ']'
14688|  3.39M|        if (p->error_indicator) {
  ------------------
  |  Branch (14688:13): [True: 5.19k, False: 3.38M]
  ------------------
14689|  5.19k|            p->level--;
14690|  5.19k|            return NULL;
14691|  5.19k|        }
14692|  3.38M|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '[' slices ']'"));
14693|  3.38M|        Token * _literal;
14694|  3.38M|        Token * _literal_1;
14695|  3.38M|        expr_ty a;
14696|  3.38M|        expr_ty b;
14697|  3.38M|        if (
14698|  3.38M|            (a = ((!p->call_invalid_rules && _prefix_9_valid) ? (p->mark = _prefix_9_end, _prefix_9_result) : (_prefix_9_result = primary_rule(p), _prefix_9_end = p->mark, _prefix_9_valid = 1, _prefix_9_result)))  // primary
  ------------------
  |  Branch (14698:13): [True: 1.47M, False: 1.91M]
  |  Branch (14698:20): [True: 2.90M, False: 487k]
  |  Branch (14698:46): [True: 2.90M, False: 0]
  ------------------
14699|  1.47M|            &&
14700|  1.47M|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (14700:13): [True: 54.7k, False: 1.41M]
  ------------------
14701|  54.7k|            &&
14702|  54.7k|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (14702:13): [True: 48.8k, False: 5.90k]
  ------------------
14703|  48.8k|            &&
14704|  48.8k|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (14704:13): [True: 43.5k, False: 5.28k]
  ------------------
14705|  3.38M|        )
14706|  43.5k|        {
14707|  43.5k|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '[' slices ']'"));
14708|  43.5k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14709|  43.5k|            if (_token == NULL) {
  ------------------
  |  Branch (14709:17): [True: 0, False: 43.5k]
  ------------------
14710|      0|                p->level--;
14711|      0|                return NULL;
14712|      0|            }
14713|  43.5k|            int _end_lineno = _token->end_lineno;
14714|  43.5k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  43.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 43.5k]
  |  |  ------------------
  ------------------
14715|  43.5k|            int _end_col_offset = _token->end_col_offset;
14716|  43.5k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  43.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 43.5k]
  |  |  ------------------
  ------------------
14717|  43.5k|            _res = _PyAST_Subscript ( a , b , Load , EXTRA );
  ------------------
  |  |  316|  43.5k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14718|  43.5k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14718:18): [True: 0, False: 43.5k]
  |  Branch (14718:34): [True: 0, False: 43.5k]
  |  Branch (14718:57): [True: 0, False: 0]
  ------------------
14719|      0|                p->error_indicator = 1;
14720|      0|                p->level--;
14721|      0|                return NULL;
14722|      0|            }
14723|  43.5k|            goto done;
14724|  43.5k|        }
14725|  3.34M|        p->mark = _mark;
14726|  3.34M|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14727|  3.34M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '[' slices ']'"));
14728|  3.34M|    }
14729|      0|    { // atom
14730|  3.34M|        if (p->error_indicator) {
  ------------------
  |  Branch (14730:13): [True: 4.16k, False: 3.33M]
  ------------------
14731|  4.16k|            p->level--;
14732|  4.16k|            return NULL;
14733|  4.16k|        }
14734|  3.33M|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "atom"));
14735|  3.33M|        expr_ty atom_var;
14736|  3.33M|        if (
14737|  3.33M|            (atom_var = atom_rule(p))  // atom
  ------------------
  |  Branch (14737:13): [True: 2.87M, False: 469k]
  ------------------
14738|  3.33M|        )
14739|  2.87M|        {
14740|  2.87M|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "atom"));
14741|  2.87M|            _res = atom_var;
14742|  2.87M|            goto done;
14743|  2.87M|        }
14744|   469k|        p->mark = _mark;
14745|   469k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14746|   469k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "atom"));
14747|   469k|    }
14748|   469k|    _res = NULL;
14749|  3.43M|  done:
14750|  3.43M|    p->level--;
14751|  3.43M|    return _res;
14752|   469k|}
parser.c:slices_rule:
14757|  54.7k|{
14758|  54.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   109k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14758:9): [True: 0, False: 54.7k]
  |  Branch (14758:35): [True: 0, False: 54.7k]
  ------------------
14759|      0|        _Pypegen_stack_overflow(p);
14760|      0|    }
14761|  54.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (14761:9): [True: 0, False: 54.7k]
  ------------------
14762|      0|        p->level--;
14763|      0|        return NULL;
14764|      0|    }
14765|  54.7k|    expr_ty _res = NULL;
14766|  54.7k|    int _mark = p->mark;
14767|  54.7k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14767:9): [True: 44.0k, False: 10.6k]
  |  Branch (14767:31): [True: 27, False: 44.0k]
  ------------------
14768|     27|        p->error_indicator = 1;
14769|     27|        p->level--;
14770|     27|        return NULL;
14771|     27|    }
14772|  54.6k|    int _start_lineno = p->tokens[_mark]->lineno;
14773|  54.6k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  54.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 54.6k]
  |  |  ------------------
  ------------------
14774|  54.6k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14775|  54.6k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  54.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 54.6k]
  |  |  ------------------
  ------------------
14776|  54.6k|    { // slice !','
14777|  54.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (14777:13): [True: 0, False: 54.6k]
  ------------------
14778|      0|            p->level--;
14779|      0|            return NULL;
14780|      0|        }
14781|  54.6k|        D(fprintf(stderr, "%*c> slices[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slice !','"));
14782|  54.6k|        expr_ty a;
14783|  54.6k|        if (
14784|  54.6k|            (a = slice_rule(p))  // slice
  ------------------
  |  Branch (14784:13): [True: 48.5k, False: 6.19k]
  ------------------
14785|  48.5k|            &&
14786|  48.5k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 12)  // token=','
  ------------------
  |  Branch (14786:13): [True: 44.2k, False: 4.25k]
  ------------------
14787|  54.6k|        )
14788|  44.2k|        {
14789|  44.2k|            D(fprintf(stderr, "%*c+ slices[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slice !','"));
14790|  44.2k|            _res = a;
14791|  44.2k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14791:18): [True: 0, False: 44.2k]
  |  Branch (14791:34): [True: 0, False: 44.2k]
  |  Branch (14791:57): [True: 0, False: 0]
  ------------------
14792|      0|                p->error_indicator = 1;
14793|      0|                p->level--;
14794|      0|                return NULL;
14795|      0|            }
14796|  44.2k|            goto done;
14797|  44.2k|        }
14798|  10.4k|        p->mark = _mark;
14799|  10.4k|        D(fprintf(stderr, "%*c%s slices[%d-%d]: %s failed!\n", p->level, ' ',
14800|  10.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slice !','"));
14801|  10.4k|    }
14802|      0|    { // ','.(slice | starred_expression)+ ','?
14803|  10.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (14803:13): [True: 3.21k, False: 7.23k]
  ------------------
14804|  3.21k|            p->level--;
14805|  3.21k|            return NULL;
14806|  3.21k|        }
14807|  7.23k|        D(fprintf(stderr, "%*c> slices[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.(slice | starred_expression)+ ','?"));
14808|  7.23k|        void *_opt_var;
14809|  7.23k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  7.23k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 7.23k]
  |  |  ------------------
  ------------------
14810|  7.23k|        asdl_expr_seq* a;
14811|  7.23k|        if (
14812|  7.23k|            (a = (asdl_expr_seq*)_gather_64_rule(p))  // ','.(slice | starred_expression)+
  ------------------
  |  Branch (14812:13): [True: 5.48k, False: 1.74k]
  ------------------
14813|  5.48k|            &&
14814|  5.48k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (14814:13): [True: 4.56k, False: 919]
  ------------------
14815|  7.23k|        )
14816|  4.56k|        {
14817|  4.56k|            D(fprintf(stderr, "%*c+ slices[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.(slice | starred_expression)+ ','?"));
14818|  4.56k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14819|  4.56k|            if (_token == NULL) {
  ------------------
  |  Branch (14819:17): [True: 0, False: 4.56k]
  ------------------
14820|      0|                p->level--;
14821|      0|                return NULL;
14822|      0|            }
14823|  4.56k|            int _end_lineno = _token->end_lineno;
14824|  4.56k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.56k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.56k]
  |  |  ------------------
  ------------------
14825|  4.56k|            int _end_col_offset = _token->end_col_offset;
14826|  4.56k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.56k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.56k]
  |  |  ------------------
  ------------------
14827|  4.56k|            _res = _PyAST_Tuple ( a , Load , EXTRA );
  ------------------
  |  |  316|  4.56k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14828|  4.56k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14828:18): [True: 0, False: 4.56k]
  |  Branch (14828:34): [True: 0, False: 4.56k]
  |  Branch (14828:57): [True: 0, False: 0]
  ------------------
14829|      0|                p->error_indicator = 1;
14830|      0|                p->level--;
14831|      0|                return NULL;
14832|      0|            }
14833|  4.56k|            goto done;
14834|  4.56k|        }
14835|  2.66k|        p->mark = _mark;
14836|  2.66k|        D(fprintf(stderr, "%*c%s slices[%d-%d]: %s failed!\n", p->level, ' ',
14837|  2.66k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.(slice | starred_expression)+ ','?"));
14838|  2.66k|    }
14839|  2.66k|    _res = NULL;
14840|  51.4k|  done:
14841|  51.4k|    p->level--;
14842|  51.4k|    return _res;
14843|  2.66k|}
parser.c:slice_rule:
14848|  84.0k|{
14849|  84.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   168k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14849:9): [True: 1, False: 84.0k]
  |  Branch (14849:35): [True: 0, False: 84.0k]
  ------------------
14850|      1|        _Pypegen_stack_overflow(p);
14851|      1|    }
14852|  84.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (14852:9): [True: 1, False: 84.0k]
  ------------------
14853|      1|        p->level--;
14854|      1|        return NULL;
14855|      1|    }
14856|  84.0k|    expr_ty _res = NULL;
14857|  84.0k|    int _mark = p->mark;
14858|  84.0k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14858:9): [True: 15.9k, False: 68.0k]
  |  Branch (14858:31): [True: 8, False: 15.9k]
  ------------------
14859|      8|        p->error_indicator = 1;
14860|      8|        p->level--;
14861|      8|        return NULL;
14862|      8|    }
14863|  84.0k|    int _start_lineno = p->tokens[_mark]->lineno;
14864|  84.0k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  84.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 84.0k]
  |  |  ------------------
  ------------------
14865|  84.0k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14866|  84.0k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  84.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 84.0k]
  |  |  ------------------
  ------------------
14867|  84.0k|    { // expression? ':' expression? [':' expression?]
14868|  84.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (14868:13): [True: 0, False: 84.0k]
  ------------------
14869|      0|            p->level--;
14870|      0|            return NULL;
14871|      0|        }
14872|  84.0k|        D(fprintf(stderr, "%*c> slice[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression? ':' expression? [':' expression?]"));
14873|  84.0k|        Token * _literal;
14874|  84.0k|        void *a;
14875|  84.0k|        void *b;
14876|  84.0k|        void *c;
14877|  84.0k|        if (
14878|  84.0k|            (a = expression_rule(p), !p->error_indicator)  // expression?
  ------------------
  |  |  461|  84.0k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (14878:13): [True: 80.6k, False: 3.35k]
  ------------------
14879|  80.6k|            &&
14880|  80.6k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (14880:13): [True: 22.8k, False: 57.8k]
  ------------------
14881|  22.8k|            &&
14882|  22.8k|            (b = expression_rule(p), !p->error_indicator)  // expression?
  ------------------
  |  |  461|  22.8k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (14882:13): [True: 22.5k, False: 222]
  ------------------
14883|  22.5k|            &&
14884|  22.5k|            (c = _tmp_65_rule(p), !p->error_indicator)  // [':' expression?]
  ------------------
  |  Branch (14884:13): [True: 22.3k, False: 203]
  ------------------
14885|  84.0k|        )
14886|  22.3k|        {
14887|  22.3k|            D(fprintf(stderr, "%*c+ slice[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression? ':' expression? [':' expression?]"));
14888|  22.3k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14889|  22.3k|            if (_token == NULL) {
  ------------------
  |  Branch (14889:17): [True: 0, False: 22.3k]
  ------------------
14890|      0|                p->level--;
14891|      0|                return NULL;
14892|      0|            }
14893|  22.3k|            int _end_lineno = _token->end_lineno;
14894|  22.3k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  22.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 22.3k]
  |  |  ------------------
  ------------------
14895|  22.3k|            int _end_col_offset = _token->end_col_offset;
14896|  22.3k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  22.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 22.3k]
  |  |  ------------------
  ------------------
14897|  22.3k|            _res = _PyAST_Slice ( a , b , c , EXTRA );
  ------------------
  |  |  316|  22.3k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14898|  22.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14898:18): [True: 0, False: 22.3k]
  |  Branch (14898:34): [True: 0, False: 22.3k]
  |  Branch (14898:57): [True: 0, False: 0]
  ------------------
14899|      0|                p->error_indicator = 1;
14900|      0|                p->level--;
14901|      0|                return NULL;
14902|      0|            }
14903|  22.3k|            goto done;
14904|  22.3k|        }
14905|  61.6k|        p->mark = _mark;
14906|  61.6k|        D(fprintf(stderr, "%*c%s slice[%d-%d]: %s failed!\n", p->level, ' ',
14907|  61.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression? ':' expression? [':' expression?]"));
14908|  61.6k|    }
14909|      0|    { // named_expression
14910|  61.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (14910:13): [True: 3.78k, False: 57.8k]
  ------------------
14911|  3.78k|            p->level--;
14912|  3.78k|            return NULL;
14913|  3.78k|        }
14914|  57.8k|        D(fprintf(stderr, "%*c> slice[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
14915|  57.8k|        expr_ty a;
14916|  57.8k|        if (
14917|  57.8k|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  |  475|  57.8k|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (14917:13): [True: 50.1k, False: 7.74k]
  ------------------
14918|  57.8k|        )
14919|  50.1k|        {
14920|  50.1k|            D(fprintf(stderr, "%*c+ slice[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
14921|  50.1k|            _res = a;
14922|  50.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14922:18): [True: 0, False: 50.1k]
  |  Branch (14922:34): [True: 0, False: 50.1k]
  |  Branch (14922:57): [True: 0, False: 0]
  ------------------
14923|      0|                p->error_indicator = 1;
14924|      0|                p->level--;
14925|      0|                return NULL;
14926|      0|            }
14927|  50.1k|            goto done;
14928|  50.1k|        }
14929|  7.74k|        p->mark = _mark;
14930|  7.74k|        D(fprintf(stderr, "%*c%s slice[%d-%d]: %s failed!\n", p->level, ' ',
14931|  7.74k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
14932|  7.74k|    }
14933|  7.74k|    _res = NULL;
14934|  80.2k|  done:
14935|  80.2k|    p->level--;
14936|  80.2k|    return _res;
14937|  7.74k|}
parser.c:_tmp_65_rule:
23437|  22.5k|{
23438|  22.5k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  45.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23438:9): [True: 0, False: 22.5k]
  |  Branch (23438:35): [True: 0, False: 22.5k]
  ------------------
23439|      0|        _Pypegen_stack_overflow(p);
23440|      0|    }
23441|  22.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (23441:9): [True: 0, False: 22.5k]
  ------------------
23442|      0|        p->level--;
23443|      0|        return NULL;
23444|      0|    }
23445|  22.5k|    void * _res = NULL;
23446|  22.5k|    int _mark = p->mark;
23447|  22.5k|    { // ':' expression?
23448|  22.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (23448:13): [True: 0, False: 22.5k]
  ------------------
23449|      0|            p->level--;
23450|      0|            return NULL;
23451|      0|        }
23452|  22.5k|        D(fprintf(stderr, "%*c> _tmp_65[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' expression?"));
23453|  22.5k|        Token * _literal;
23454|  22.5k|        void *d;
23455|  22.5k|        if (
23456|  22.5k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (23456:13): [True: 9.76k, False: 12.8k]
  ------------------
23457|  9.76k|            &&
23458|  9.76k|            (d = expression_rule(p), !p->error_indicator)  // expression?
  ------------------
  |  |  461|  9.76k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (23458:13): [True: 9.56k, False: 203]
  ------------------
23459|  22.5k|        )
23460|  9.56k|        {
23461|  9.56k|            D(fprintf(stderr, "%*c+ _tmp_65[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' expression?"));
23462|  9.56k|            _res = d;
23463|  9.56k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23463:18): [True: 2.15k, False: 7.41k]
  |  Branch (23463:34): [True: 0, False: 7.41k]
  |  Branch (23463:57): [True: 0, False: 2.15k]
  ------------------
23464|      0|                p->error_indicator = 1;
23465|      0|                p->level--;
23466|      0|                return NULL;
23467|      0|            }
23468|  9.56k|            goto done;
23469|  9.56k|        }
23470|  13.0k|        p->mark = _mark;
23471|  13.0k|        D(fprintf(stderr, "%*c%s _tmp_65[%d-%d]: %s failed!\n", p->level, ' ',
23472|  13.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' expression?"));
23473|  13.0k|    }
23474|  13.0k|    _res = NULL;
23475|  22.5k|  done:
23476|  22.5k|    p->level--;
23477|  22.5k|    return _res;
23478|  13.0k|}
parser.c:_gather_64_rule:
23396|  7.23k|{
23397|  7.23k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  14.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23397:9): [True: 0, False: 7.23k]
  |  Branch (23397:35): [True: 0, False: 7.23k]
  ------------------
23398|      0|        _Pypegen_stack_overflow(p);
23399|      0|    }
23400|  7.23k|    if (p->error_indicator) {
  ------------------
  |  Branch (23400:9): [True: 0, False: 7.23k]
  ------------------
23401|      0|        p->level--;
23402|      0|        return NULL;
23403|      0|    }
23404|  7.23k|    asdl_seq * _res = NULL;
23405|  7.23k|    int _mark = p->mark;
23406|  7.23k|    { // (slice | starred_expression) _loop0_63
23407|  7.23k|        if (p->error_indicator) {
  ------------------
  |  Branch (23407:13): [True: 0, False: 7.23k]
  ------------------
23408|      0|            p->level--;
23409|      0|            return NULL;
23410|      0|        }
23411|  7.23k|        D(fprintf(stderr, "%*c> _gather_64[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(slice | starred_expression) _loop0_63"));
23412|  7.23k|        void *elem;
23413|  7.23k|        asdl_seq * seq;
23414|  7.23k|        if (
23415|  7.23k|            (elem = _tmp_184_rule(p))  // slice | starred_expression
  ------------------
  |  Branch (23415:13): [True: 5.48k, False: 1.74k]
  ------------------
23416|  5.48k|            &&
23417|  5.48k|            (seq = _loop0_63_rule(p))  // _loop0_63
  ------------------
  |  Branch (23417:13): [True: 5.48k, False: 0]
  ------------------
23418|  7.23k|        )
23419|  5.48k|        {
23420|  5.48k|            D(fprintf(stderr, "%*c+ _gather_64[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(slice | starred_expression) _loop0_63"));
23421|  5.48k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
23422|  5.48k|            goto done;
23423|  5.48k|        }
23424|  1.74k|        p->mark = _mark;
23425|  1.74k|        D(fprintf(stderr, "%*c%s _gather_64[%d-%d]: %s failed!\n", p->level, ' ',
23426|  1.74k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(slice | starred_expression) _loop0_63"));
23427|  1.74k|    }
23428|  1.74k|    _res = NULL;
23429|  7.23k|  done:
23430|  7.23k|    p->level--;
23431|  7.23k|    return _res;
23432|  1.74k|}
parser.c:_tmp_184_rule:
26091|  29.3k|{
26092|  29.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  58.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26092:9): [True: 0, False: 29.3k]
  |  Branch (26092:35): [True: 0, False: 29.3k]
  ------------------
26093|      0|        _Pypegen_stack_overflow(p);
26094|      0|    }
26095|  29.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (26095:9): [True: 0, False: 29.3k]
  ------------------
26096|      0|        p->level--;
26097|      0|        return NULL;
26098|      0|    }
26099|  29.3k|    void * _res = NULL;
26100|  29.3k|    int _mark = p->mark;
26101|  29.3k|    { // slice
26102|  29.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (26102:13): [True: 0, False: 29.3k]
  ------------------
26103|      0|            p->level--;
26104|      0|            return NULL;
26105|      0|        }
26106|  29.3k|        D(fprintf(stderr, "%*c> _tmp_184[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slice"));
26107|  29.3k|        expr_ty slice_var;
26108|  29.3k|        if (
26109|  29.3k|            (slice_var = slice_rule(p))  // slice
  ------------------
  |  Branch (26109:13): [True: 23.9k, False: 5.34k]
  ------------------
26110|  29.3k|        )
26111|  23.9k|        {
26112|  23.9k|            D(fprintf(stderr, "%*c+ _tmp_184[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slice"));
26113|  23.9k|            _res = slice_var;
26114|  23.9k|            goto done;
26115|  23.9k|        }
26116|  5.34k|        p->mark = _mark;
26117|  5.34k|        D(fprintf(stderr, "%*c%s _tmp_184[%d-%d]: %s failed!\n", p->level, ' ',
26118|  5.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slice"));
26119|  5.34k|    }
26120|      0|    { // starred_expression
26121|  5.34k|        if (p->error_indicator) {
  ------------------
  |  Branch (26121:13): [True: 579, False: 4.76k]
  ------------------
26122|    579|            p->level--;
26123|    579|            return NULL;
26124|    579|        }
26125|  4.76k|        D(fprintf(stderr, "%*c> _tmp_184[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
26126|  4.76k|        expr_ty starred_expression_var;
26127|  4.76k|        if (
26128|  4.76k|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  |  529|  4.76k|#define starred_expression_rule _PyPegen_starred_expression_rule
  ------------------
  |  Branch (26128:13): [True: 1.95k, False: 2.81k]
  ------------------
26129|  4.76k|        )
26130|  1.95k|        {
26131|  1.95k|            D(fprintf(stderr, "%*c+ _tmp_184[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
26132|  1.95k|            _res = starred_expression_var;
26133|  1.95k|            goto done;
26134|  1.95k|        }
26135|  2.81k|        p->mark = _mark;
26136|  2.81k|        D(fprintf(stderr, "%*c%s _tmp_184[%d-%d]: %s failed!\n", p->level, ' ',
26137|  2.81k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
26138|  2.81k|    }
26139|  2.81k|    _res = NULL;
26140|  28.7k|  done:
26141|  28.7k|    p->level--;
26142|  28.7k|    return _res;
26143|  2.81k|}
parser.c:_loop0_63_rule:
23329|  5.48k|{
23330|  5.48k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  10.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23330:9): [True: 0, False: 5.48k]
  |  Branch (23330:35): [True: 0, False: 5.48k]
  ------------------
23331|      0|        _Pypegen_stack_overflow(p);
23332|      0|    }
23333|  5.48k|    if (p->error_indicator) {
  ------------------
  |  Branch (23333:9): [True: 0, False: 5.48k]
  ------------------
23334|      0|        p->level--;
23335|      0|        return NULL;
23336|      0|    }
23337|  5.48k|    void *_res = NULL;
23338|  5.48k|    int _mark = p->mark;
23339|  5.48k|    void **_children = NULL;
23340|  5.48k|    Py_ssize_t _children_capacity = 0;
23341|  5.48k|    Py_ssize_t _n = 0;
23342|  5.48k|    { // ',' (slice | starred_expression)
23343|  5.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (23343:13): [True: 0, False: 5.48k]
  ------------------
23344|      0|            p->level--;
23345|      0|            return NULL;
23346|      0|        }
23347|  5.48k|        D(fprintf(stderr, "%*c> _loop0_63[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (slice | starred_expression)"));
23348|  5.48k|        Token * _literal;
23349|  5.48k|        void *elem;
23350|  5.48k|        while (
23351|  25.9k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (23351:13): [True: 22.1k, False: 3.83k]
  ------------------
23352|  22.1k|            &&
23353|  22.1k|            (elem = _tmp_184_rule(p))  // slice | starred_expression
  ------------------
  |  Branch (23353:13): [True: 20.4k, False: 1.65k]
  ------------------
23354|  5.48k|        )
23355|  20.4k|        {
23356|  20.4k|            _res = elem;
23357|  20.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23357:18): [True: 0, False: 20.4k]
  |  Branch (23357:34): [True: 0, False: 20.4k]
  |  Branch (23357:57): [True: 0, False: 0]
  ------------------
23358|      0|                p->error_indicator = 1;
23359|      0|                PyMem_Free(_children);
23360|      0|                p->level--;
23361|      0|                return NULL;
23362|      0|            }
23363|  20.4k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23363:17): [True: 5.50k, False: 14.9k]
  ------------------
23364|  5.50k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23364:21): [True: 0, False: 5.50k]
  ------------------
23365|      0|                    p->error_indicator = 1;
23366|      0|                    PyErr_NoMemory();
23367|      0|                    PyMem_Free(_children);
23368|      0|                    p->level--;
23369|      0|                    return NULL;
23370|      0|                }
23371|  5.50k|            }
23372|  20.4k|            _children[_n++] = _res;
23373|  20.4k|            _mark = p->mark;
23374|  20.4k|        }
23375|  5.48k|        p->mark = _mark;
23376|  5.48k|        D(fprintf(stderr, "%*c%s _loop0_63[%d-%d]: %s failed!\n", p->level, ' ',
23377|  5.48k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (slice | starred_expression)"));
23378|  5.48k|    }
23379|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23380|  5.48k|    if (!_seq) {
  ------------------
  |  Branch (23380:9): [True: 0, False: 5.48k]
  ------------------
23381|      0|        p->error_indicator = 1;
23382|      0|        PyErr_NoMemory();
23383|      0|        PyMem_Free(_children);
23384|      0|        p->level--;
23385|      0|        return NULL;
23386|      0|    }
23387|  25.9k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  20.4k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  25.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23387:28): [True: 20.4k, False: 5.48k]
  ------------------
23388|  5.48k|    PyMem_Free(_children);
23389|  5.48k|    p->level--;
23390|  5.48k|    return _seq;
23391|  5.48k|}
parser.c:atom_rule:
14952|  3.33M|{
14953|  3.33M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.67M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14953:9): [True: 0, False: 3.33M]
  |  Branch (14953:35): [True: 0, False: 3.33M]
  ------------------
14954|      0|        _Pypegen_stack_overflow(p);
14955|      0|    }
14956|  3.33M|    if (p->error_indicator) {
  ------------------
  |  Branch (14956:9): [True: 0, False: 3.33M]
  ------------------
14957|      0|        p->level--;
14958|      0|        return NULL;
14959|      0|    }
14960|  3.33M|    expr_ty _res = NULL;
14961|  3.33M|    int _mark = p->mark;
14962|  3.33M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14962:9): [True: 0, False: 3.33M]
  |  Branch (14962:31): [True: 0, False: 0]
  ------------------
14963|      0|        p->error_indicator = 1;
14964|      0|        p->level--;
14965|      0|        return NULL;
14966|      0|    }
14967|  3.33M|    int _start_lineno = p->tokens[_mark]->lineno;
14968|  3.33M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.33M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.33M]
  |  |  ------------------
  ------------------
14969|  3.33M|    int _start_col_offset = p->tokens[_mark]->col_offset;
14970|  3.33M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.33M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.33M]
  |  |  ------------------
  ------------------
14971|  3.33M|    { // NAME
14972|  3.33M|        if (p->error_indicator) {
  ------------------
  |  Branch (14972:13): [True: 0, False: 3.33M]
  ------------------
14973|      0|            p->level--;
14974|      0|            return NULL;
14975|      0|        }
14976|  3.33M|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
14977|  3.33M|        expr_ty name_var;
14978|  3.33M|        if (
14979|  3.33M|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (14979:13): [True: 995k, False: 2.34M]
  ------------------
14980|  3.33M|        )
14981|   995k|        {
14982|   995k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
14983|   995k|            _res = name_var;
14984|   995k|            goto done;
14985|   995k|        }
14986|  2.34M|        p->mark = _mark;
14987|  2.34M|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
14988|  2.34M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
14989|  2.34M|    }
14990|      0|    { // 'True'
14991|  2.34M|        if (p->error_indicator) {
  ------------------
  |  Branch (14991:13): [True: 1, False: 2.34M]
  ------------------
14992|      1|            p->level--;
14993|      1|            return NULL;
14994|      1|        }
14995|  2.34M|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
14996|  2.34M|        Token * _keyword;
14997|  2.34M|        if (
14998|  2.34M|            (_keyword = _PyPegen_expect_token(p, 527))  // token='True'
  ------------------
  |  Branch (14998:13): [True: 9.49k, False: 2.33M]
  ------------------
14999|  2.34M|        )
15000|  9.49k|        {
15001|  9.49k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
15002|  9.49k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15003|  9.49k|            if (_token == NULL) {
  ------------------
  |  Branch (15003:17): [True: 0, False: 9.49k]
  ------------------
15004|      0|                p->level--;
15005|      0|                return NULL;
15006|      0|            }
15007|  9.49k|            int _end_lineno = _token->end_lineno;
15008|  9.49k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  9.49k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 9.49k]
  |  |  ------------------
  ------------------
15009|  9.49k|            int _end_col_offset = _token->end_col_offset;
15010|  9.49k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  9.49k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 9.49k]
  |  |  ------------------
  ------------------
15011|  9.49k|            _res = _PyAST_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |   26|  9.49k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  9.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |  316|  9.49k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15012|  9.49k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15012:18): [True: 0, False: 9.49k]
  |  Branch (15012:34): [True: 0, False: 9.49k]
  |  Branch (15012:57): [True: 0, False: 0]
  ------------------
15013|      0|                p->error_indicator = 1;
15014|      0|                p->level--;
15015|      0|                return NULL;
15016|      0|            }
15017|  9.49k|            goto done;
15018|  9.49k|        }
15019|  2.33M|        p->mark = _mark;
15020|  2.33M|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15021|  2.33M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
15022|  2.33M|    }
15023|      0|    { // 'False'
15024|  2.33M|        if (p->error_indicator) {
  ------------------
  |  Branch (15024:13): [True: 0, False: 2.33M]
  ------------------
15025|      0|            p->level--;
15026|      0|            return NULL;
15027|      0|        }
15028|  2.33M|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
15029|  2.33M|        Token * _keyword;
15030|  2.33M|        if (
15031|  2.33M|            (_keyword = _PyPegen_expect_token(p, 528))  // token='False'
  ------------------
  |  Branch (15031:13): [True: 3.70k, False: 2.33M]
  ------------------
15032|  2.33M|        )
15033|  3.70k|        {
15034|  3.70k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
15035|  3.70k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15036|  3.70k|            if (_token == NULL) {
  ------------------
  |  Branch (15036:17): [True: 0, False: 3.70k]
  ------------------
15037|      0|                p->level--;
15038|      0|                return NULL;
15039|      0|            }
15040|  3.70k|            int _end_lineno = _token->end_lineno;
15041|  3.70k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.70k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.70k]
  |  |  ------------------
  ------------------
15042|  3.70k|            int _end_col_offset = _token->end_col_offset;
15043|  3.70k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.70k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.70k]
  |  |  ------------------
  ------------------
15044|  3.70k|            _res = _PyAST_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |  316|  3.70k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15045|  3.70k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15045:18): [True: 0, False: 3.70k]
  |  Branch (15045:34): [True: 0, False: 3.70k]
  |  Branch (15045:57): [True: 0, False: 0]
  ------------------
15046|      0|                p->error_indicator = 1;
15047|      0|                p->level--;
15048|      0|                return NULL;
15049|      0|            }
15050|  3.70k|            goto done;
15051|  3.70k|        }
15052|  2.33M|        p->mark = _mark;
15053|  2.33M|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15054|  2.33M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
15055|  2.33M|    }
15056|      0|    { // 'None'
15057|  2.33M|        if (p->error_indicator) {
  ------------------
  |  Branch (15057:13): [True: 0, False: 2.33M]
  ------------------
15058|      0|            p->level--;
15059|      0|            return NULL;
15060|      0|        }
15061|  2.33M|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
15062|  2.33M|        Token * _keyword;
15063|  2.33M|        if (
15064|  2.33M|            (_keyword = _PyPegen_expect_token(p, 526))  // token='None'
  ------------------
  |  Branch (15064:13): [True: 3.40k, False: 2.32M]
  ------------------
15065|  2.33M|        )
15066|  3.40k|        {
15067|  3.40k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
15068|  3.40k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15069|  3.40k|            if (_token == NULL) {
  ------------------
  |  Branch (15069:17): [True: 0, False: 3.40k]
  ------------------
15070|      0|                p->level--;
15071|      0|                return NULL;
15072|      0|            }
15073|  3.40k|            int _end_lineno = _token->end_lineno;
15074|  3.40k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.40k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.40k]
  |  |  ------------------
  ------------------
15075|  3.40k|            int _end_col_offset = _token->end_col_offset;
15076|  3.40k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.40k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.40k]
  |  |  ------------------
  ------------------
15077|  3.40k|            _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  616|  3.40k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  316|  3.40k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15078|  3.40k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15078:18): [True: 0, False: 3.40k]
  |  Branch (15078:34): [True: 0, False: 3.40k]
  |  Branch (15078:57): [True: 0, False: 0]
  ------------------
15079|      0|                p->error_indicator = 1;
15080|      0|                p->level--;
15081|      0|                return NULL;
15082|      0|            }
15083|  3.40k|            goto done;
15084|  3.40k|        }
15085|  2.32M|        p->mark = _mark;
15086|  2.32M|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15087|  2.32M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
15088|  2.32M|    }
15089|      0|    { // &(STRING | FSTRING_START | TSTRING_START) strings
15090|  2.32M|        if (p->error_indicator) {
  ------------------
  |  Branch (15090:13): [True: 0, False: 2.32M]
  ------------------
15091|      0|            p->level--;
15092|      0|            return NULL;
15093|      0|        }
15094|  2.32M|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15095|  2.32M|        expr_ty strings_var;
15096|  2.32M|        if (
15097|  2.32M|            _PyPegen_lookahead(1, _tmp_42_rule, p)
  ------------------
  |  Branch (15097:13): [True: 140k, False: 2.18M]
  ------------------
15098|   140k|            &&
15099|   140k|            (strings_var = strings_rule(p))  // strings
  ------------------
  |  Branch (15099:13): [True: 131k, False: 8.61k]
  ------------------
15100|  2.32M|        )
15101|   131k|        {
15102|   131k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15103|   131k|            _res = strings_var;
15104|   131k|            goto done;
15105|   131k|        }
15106|  2.19M|        p->mark = _mark;
15107|  2.19M|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15108|  2.19M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15109|  2.19M|    }
15110|      0|    { // NUMBER
15111|  2.19M|        if (p->error_indicator) {
  ------------------
  |  Branch (15111:13): [True: 6.68k, False: 2.19M]
  ------------------
15112|  6.68k|            p->level--;
15113|  6.68k|            return NULL;
15114|  6.68k|        }
15115|  2.19M|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NUMBER"));
15116|  2.19M|        expr_ty number_var;
15117|  2.19M|        if (
15118|  2.19M|            (number_var = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (15118:13): [True: 1.51M, False: 677k]
  ------------------
15119|  2.19M|        )
15120|  1.51M|        {
15121|  1.51M|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NUMBER"));
15122|  1.51M|            _res = number_var;
15123|  1.51M|            goto done;
15124|  1.51M|        }
15125|   677k|        p->mark = _mark;
15126|   677k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15127|   677k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NUMBER"));
15128|   677k|    }
15129|      0|    { // &'(' (genexp | tuple | group)
15130|   677k|        if (p->error_indicator) {
  ------------------
  |  Branch (15130:13): [True: 2, False: 677k]
  ------------------
15131|      2|            p->level--;
15132|      2|            return NULL;
15133|      2|        }
15134|   677k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'(' (genexp | tuple | group)"));
15135|   677k|        void *_tmp_66_var;
15136|   677k|        if (
15137|   677k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 7)  // token='('
  ------------------
  |  Branch (15137:13): [True: 152k, False: 524k]
  ------------------
15138|   152k|            &&
15139|   152k|            (_tmp_66_var = _tmp_66_rule(p))  // genexp | tuple | group
  ------------------
  |  Branch (15139:13): [True: 129k, False: 23.6k]
  ------------------
15140|   677k|        )
15141|   129k|        {
15142|   129k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'(' (genexp | tuple | group)"));
15143|   129k|            _res = _tmp_66_var;
15144|   129k|            goto done;
15145|   129k|        }
15146|   547k|        p->mark = _mark;
15147|   547k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15148|   547k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'(' (genexp | tuple | group)"));
15149|   547k|    }
15150|      0|    { // &'[' (listcomp | list)
15151|   547k|        if (p->error_indicator) {
  ------------------
  |  Branch (15151:13): [True: 6.21k, False: 541k]
  ------------------
15152|  6.21k|            p->level--;
15153|  6.21k|            return NULL;
15154|  6.21k|        }
15155|   541k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'[' (listcomp | list)"));
15156|   541k|        void *_tmp_67_var;
15157|   541k|        if (
15158|   541k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 9)  // token='['
  ------------------
  |  Branch (15158:13): [True: 86.4k, False: 455k]
  ------------------
15159|  86.4k|            &&
15160|  86.4k|            (_tmp_67_var = _tmp_67_rule(p))  // listcomp | list
  ------------------
  |  Branch (15160:13): [True: 46.5k, False: 39.9k]
  ------------------
15161|   541k|        )
15162|  46.5k|        {
15163|  46.5k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'[' (listcomp | list)"));
15164|  46.5k|            _res = _tmp_67_var;
15165|  46.5k|            goto done;
15166|  46.5k|        }
15167|   495k|        p->mark = _mark;
15168|   495k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15169|   495k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'[' (listcomp | list)"));
15170|   495k|    }
15171|      0|    { // &'{' (dictcomp | setcomp | dict | set)
15172|   495k|        if (p->error_indicator) {
  ------------------
  |  Branch (15172:13): [True: 13.2k, False: 481k]
  ------------------
15173|  13.2k|            p->level--;
15174|  13.2k|            return NULL;
15175|  13.2k|        }
15176|   481k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15177|   481k|        void *_tmp_68_var;
15178|   481k|        if (
15179|   481k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 25)  // token='{'
  ------------------
  |  Branch (15179:13): [True: 51.5k, False: 430k]
  ------------------
15180|  51.5k|            &&
15181|  51.5k|            (_tmp_68_var = _tmp_68_rule(p))  // dictcomp | setcomp | dict | set
  ------------------
  |  Branch (15181:13): [True: 34.1k, False: 17.3k]
  ------------------
15182|   481k|        )
15183|  34.1k|        {
15184|  34.1k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15185|  34.1k|            _res = _tmp_68_var;
15186|  34.1k|            goto done;
15187|  34.1k|        }
15188|   447k|        p->mark = _mark;
15189|   447k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15190|   447k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15191|   447k|    }
15192|      0|    { // '...'
15193|   447k|        if (p->error_indicator) {
  ------------------
  |  Branch (15193:13): [True: 6.03k, False: 441k]
  ------------------
15194|  6.03k|            p->level--;
15195|  6.03k|            return NULL;
15196|  6.03k|        }
15197|   441k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'...'"));
15198|   441k|        Token * _literal;
15199|   441k|        if (
15200|   441k|            (_literal = _PyPegen_expect_token(p, 52))  // token='...'
  ------------------
  |  Branch (15200:13): [True: 4.60k, False: 437k]
  ------------------
15201|   441k|        )
15202|  4.60k|        {
15203|  4.60k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'...'"));
15204|  4.60k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15205|  4.60k|            if (_token == NULL) {
  ------------------
  |  Branch (15205:17): [True: 0, False: 4.60k]
  ------------------
15206|      0|                p->level--;
15207|      0|                return NULL;
15208|      0|            }
15209|  4.60k|            int _end_lineno = _token->end_lineno;
15210|  4.60k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.60k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.60k]
  |  |  ------------------
  ------------------
15211|  4.60k|            int _end_col_offset = _token->end_col_offset;
15212|  4.60k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.60k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.60k]
  |  |  ------------------
  ------------------
15213|  4.60k|            _res = _PyAST_Constant ( Py_Ellipsis , NULL , EXTRA );
  ------------------
  |  |   14|  4.60k|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
                          _res = _PyAST_Constant ( Py_Ellipsis , NULL , EXTRA );
  ------------------
  |  |  316|  4.60k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15214|  4.60k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15214:18): [True: 0, False: 4.60k]
  |  Branch (15214:34): [True: 0, False: 4.60k]
  |  Branch (15214:57): [True: 0, False: 0]
  ------------------
15215|      0|                p->error_indicator = 1;
15216|      0|                p->level--;
15217|      0|                return NULL;
15218|      0|            }
15219|  4.60k|            goto done;
15220|  4.60k|        }
15221|   437k|        p->mark = _mark;
15222|   437k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15223|   437k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'...'"));
15224|   437k|    }
15225|   437k|    _res = NULL;
15226|  3.30M|  done:
15227|  3.30M|    p->level--;
15228|  3.30M|    return _res;
15229|   437k|}
parser.c:_tmp_42_rule:
22114|  2.33M|{
22115|  2.33M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.66M|#  define MAXSTACK 6000
  ------------------
  |  Branch (22115:9): [True: 1, False: 2.33M]
  |  Branch (22115:35): [True: 0, False: 2.33M]
  ------------------
22116|      1|        _Pypegen_stack_overflow(p);
22117|      1|    }
22118|  2.33M|    if (p->error_indicator) {
  ------------------
  |  Branch (22118:9): [True: 1, False: 2.33M]
  ------------------
22119|      1|        p->level--;
22120|      1|        return NULL;
22121|      1|    }
22122|  2.33M|    void * _res = NULL;
22123|  2.33M|    int _mark = p->mark;
22124|  2.33M|    { // STRING
22125|  2.33M|        if (p->error_indicator) {
  ------------------
  |  Branch (22125:13): [True: 0, False: 2.33M]
  ------------------
22126|      0|            p->level--;
22127|      0|            return NULL;
22128|      0|        }
22129|  2.33M|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING"));
22130|  2.33M|        expr_ty string_var;
22131|  2.33M|        if (
22132|  2.33M|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (22132:13): [True: 112k, False: 2.22M]
  ------------------
22133|  2.33M|        )
22134|   112k|        {
22135|   112k|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING"));
22136|   112k|            _res = string_var;
22137|   112k|            goto done;
22138|   112k|        }
22139|  2.22M|        p->mark = _mark;
22140|  2.22M|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
22141|  2.22M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING"));
22142|  2.22M|    }
22143|      0|    { // FSTRING_START
22144|  2.22M|        if (p->error_indicator) {
  ------------------
  |  Branch (22144:13): [True: 0, False: 2.22M]
  ------------------
22145|      0|            p->level--;
22146|      0|            return NULL;
22147|      0|        }
22148|  2.22M|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_START"));
22149|  2.22M|        Token * fstring_start_var;
22150|  2.22M|        if (
22151|  2.22M|            (fstring_start_var = _PyPegen_expect_token(p, FSTRING_START))  // token='FSTRING_START'
  ------------------
  |  |   75|  2.22M|#define FSTRING_START   59
  ------------------
  |  Branch (22151:13): [True: 16.8k, False: 2.20M]
  ------------------
22152|  2.22M|        )
22153|  16.8k|        {
22154|  16.8k|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_START"));
22155|  16.8k|            _res = fstring_start_var;
22156|  16.8k|            goto done;
22157|  16.8k|        }
22158|  2.20M|        p->mark = _mark;
22159|  2.20M|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
22160|  2.20M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_START"));
22161|  2.20M|    }
22162|      0|    { // TSTRING_START
22163|  2.20M|        if (p->error_indicator) {
  ------------------
  |  Branch (22163:13): [True: 0, False: 2.20M]
  ------------------
22164|      0|            p->level--;
22165|      0|            return NULL;
22166|      0|        }
22167|  2.20M|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_START"));
22168|  2.20M|        Token * tstring_start_var;
22169|  2.20M|        if (
22170|  2.20M|            (tstring_start_var = _PyPegen_expect_token(p, TSTRING_START))  // token='TSTRING_START'
  ------------------
  |  |   78|  2.20M|#define TSTRING_START   62
  ------------------
  |  Branch (22170:13): [True: 11.1k, False: 2.19M]
  ------------------
22171|  2.20M|        )
22172|  11.1k|        {
22173|  11.1k|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_START"));
22174|  11.1k|            _res = tstring_start_var;
22175|  11.1k|            goto done;
22176|  11.1k|        }
22177|  2.19M|        p->mark = _mark;
22178|  2.19M|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
22179|  2.19M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_START"));
22180|  2.19M|    }
22181|  2.19M|    _res = NULL;
22182|  2.33M|  done:
22183|  2.33M|    p->level--;
22184|  2.33M|    return _res;
22185|  2.19M|}
parser.c:strings_rule:
17108|   190k|{
17109|   190k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   380k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17109:9): [True: 0, False: 190k]
  |  Branch (17109:35): [True: 0, False: 190k]
  ------------------
17110|      0|        _Pypegen_stack_overflow(p);
17111|      0|    }
17112|   190k|    if (p->error_indicator) {
  ------------------
  |  Branch (17112:9): [True: 0, False: 190k]
  ------------------
17113|      0|        p->level--;
17114|      0|        return NULL;
17115|      0|    }
17116|   190k|    expr_ty _res = NULL;
17117|   190k|    if (_PyPegen_is_memoized(p, strings_type, &_res)) {
  ------------------
  |  |  250|   190k|#define strings_type 1161
  ------------------
  |  Branch (17117:9): [True: 65.0k, False: 124k]
  ------------------
17118|  65.0k|        p->level--;
17119|  65.0k|        return _res;
17120|  65.0k|    }
17121|   124k|    int _mark = p->mark;
17122|   124k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17122:9): [True: 0, False: 124k]
  |  Branch (17122:31): [True: 0, False: 0]
  ------------------
17123|      0|        p->error_indicator = 1;
17124|      0|        p->level--;
17125|      0|        return NULL;
17126|      0|    }
17127|   124k|    int _start_lineno = p->tokens[_mark]->lineno;
17128|   124k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   124k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 124k]
  |  |  ------------------
  ------------------
17129|   124k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17130|   124k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   124k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 124k]
  |  |  ------------------
  ------------------
17131|   124k|    if (p->call_invalid_rules) { // invalid_string_tstring_concat
  ------------------
  |  Branch (17131:9): [True: 37.0k, False: 87.8k]
  ------------------
17132|  37.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (17132:13): [True: 0, False: 37.0k]
  ------------------
17133|      0|            p->level--;
17134|      0|            return NULL;
17135|      0|        }
17136|  37.0k|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_string_tstring_concat"));
17137|  37.0k|        void *invalid_string_tstring_concat_var;
17138|  37.0k|        if (
17139|  37.0k|            (invalid_string_tstring_concat_var = invalid_string_tstring_concat_rule(p))  // invalid_string_tstring_concat
  ------------------
  |  |  649|  37.0k|#define invalid_string_tstring_concat_rule _PyPegen_invalid_string_tstring_concat_rule
  ------------------
  |  Branch (17139:13): [True: 0, False: 37.0k]
  ------------------
17140|  37.0k|        )
17141|      0|        {
17142|      0|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_string_tstring_concat"));
17143|      0|            _res = invalid_string_tstring_concat_var;
17144|      0|            goto done;
17145|      0|        }
17146|  37.0k|        p->mark = _mark;
17147|  37.0k|        D(fprintf(stderr, "%*c%s strings[%d-%d]: %s failed!\n", p->level, ' ',
17148|  37.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_string_tstring_concat"));
17149|  37.0k|    }
17150|   124k|    { // ((fstring | string))+
17151|   124k|        if (p->error_indicator) {
  ------------------
  |  Branch (17151:13): [True: 5.44k, False: 119k]
  ------------------
17152|  5.44k|            p->level--;
17153|  5.44k|            return NULL;
17154|  5.44k|        }
17155|   119k|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((fstring | string))+"));
17156|   119k|        asdl_expr_seq* a;
17157|   119k|        if (
17158|   119k|            (a = (asdl_expr_seq*)_loop1_80_rule(p))  // ((fstring | string))+
  ------------------
  |  Branch (17158:13): [True: 63.4k, False: 56.0k]
  ------------------
17159|   119k|        )
17160|  63.4k|        {
17161|  63.4k|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((fstring | string))+"));
17162|  63.4k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17163|  63.4k|            if (_token == NULL) {
  ------------------
  |  Branch (17163:17): [True: 0, False: 63.4k]
  ------------------
17164|      0|                p->level--;
17165|      0|                return NULL;
17166|      0|            }
17167|  63.4k|            int _end_lineno = _token->end_lineno;
17168|  63.4k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  63.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 63.4k]
  |  |  ------------------
  ------------------
17169|  63.4k|            int _end_col_offset = _token->end_col_offset;
17170|  63.4k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  63.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 63.4k]
  |  |  ------------------
  ------------------
17171|  63.4k|            _res = _PyPegen_concatenate_strings ( p , a , EXTRA );
  ------------------
  |  |  316|  63.4k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17172|  63.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17172:18): [True: 7, False: 63.4k]
  |  Branch (17172:34): [True: 0, False: 63.4k]
  |  Branch (17172:57): [True: 7, False: 0]
  ------------------
17173|      7|                p->error_indicator = 1;
17174|      7|                p->level--;
17175|      7|                return NULL;
17176|      7|            }
17177|  63.4k|            goto done;
17178|  63.4k|        }
17179|  56.0k|        p->mark = _mark;
17180|  56.0k|        D(fprintf(stderr, "%*c%s strings[%d-%d]: %s failed!\n", p->level, ' ',
17181|  56.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((fstring | string))+"));
17182|  56.0k|    }
17183|      0|    { // tstring+
17184|  56.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (17184:13): [True: 884, False: 55.1k]
  ------------------
17185|    884|            p->level--;
17186|    884|            return NULL;
17187|    884|        }
17188|  55.1k|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring+"));
17189|  55.1k|        asdl_expr_seq* a;
17190|  55.1k|        if (
17191|  55.1k|            (a = (asdl_expr_seq*)_loop1_81_rule(p))  // tstring+
  ------------------
  |  Branch (17191:13): [True: 3.20k, False: 51.9k]
  ------------------
17192|  55.1k|        )
17193|  3.20k|        {
17194|  3.20k|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tstring+"));
17195|  3.20k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17196|  3.20k|            if (_token == NULL) {
  ------------------
  |  Branch (17196:17): [True: 0, False: 3.20k]
  ------------------
17197|      0|                p->level--;
17198|      0|                return NULL;
17199|      0|            }
17200|  3.20k|            int _end_lineno = _token->end_lineno;
17201|  3.20k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.20k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.20k]
  |  |  ------------------
  ------------------
17202|  3.20k|            int _end_col_offset = _token->end_col_offset;
17203|  3.20k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.20k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.20k]
  |  |  ------------------
  ------------------
17204|  3.20k|            _res = _PyPegen_concatenate_tstrings ( p , a , EXTRA );
  ------------------
  |  |  316|  3.20k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17205|  3.20k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17205:18): [True: 0, False: 3.20k]
  |  Branch (17205:34): [True: 0, False: 3.20k]
  |  Branch (17205:57): [True: 0, False: 0]
  ------------------
17206|      0|                p->error_indicator = 1;
17207|      0|                p->level--;
17208|      0|                return NULL;
17209|      0|            }
17210|  3.20k|            goto done;
17211|  3.20k|        }
17212|  51.9k|        p->mark = _mark;
17213|  51.9k|        D(fprintf(stderr, "%*c%s strings[%d-%d]: %s failed!\n", p->level, ' ',
17214|  51.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring+"));
17215|  51.9k|    }
17216|  51.9k|    _res = NULL;
17217|   118k|  done:
17218|   118k|    _PyPegen_insert_memo(p, _mark, strings_type, _res);
  ------------------
  |  |  250|   118k|#define strings_type 1161
  ------------------
17219|   118k|    p->level--;
17220|   118k|    return _res;
17221|  51.9k|}
parser.c:_loop1_80_rule:
24363|   119k|{
24364|   119k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   239k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24364:9): [True: 1, False: 119k]
  |  Branch (24364:35): [True: 0, False: 119k]
  ------------------
24365|      1|        _Pypegen_stack_overflow(p);
24366|      1|    }
24367|   119k|    if (p->error_indicator) {
  ------------------
  |  Branch (24367:9): [True: 1, False: 119k]
  ------------------
24368|      1|        p->level--;
24369|      1|        return NULL;
24370|      1|    }
24371|   119k|    void *_res = NULL;
24372|   119k|    int _mark = p->mark;
24373|   119k|    void **_children = NULL;
24374|   119k|    Py_ssize_t _children_capacity = 0;
24375|   119k|    Py_ssize_t _n = 0;
24376|   119k|    { // (fstring | string)
24377|   119k|        if (p->error_indicator) {
  ------------------
  |  Branch (24377:13): [True: 0, False: 119k]
  ------------------
24378|      0|            p->level--;
24379|      0|            return NULL;
24380|      0|        }
24381|   119k|        D(fprintf(stderr, "%*c> _loop1_80[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(fstring | string)"));
24382|   119k|        void *_tmp_185_var;
24383|   119k|        while (
24384|   200k|            (_tmp_185_var = _tmp_185_rule(p))  // fstring | string
  ------------------
  |  Branch (24384:13): [True: 80.5k, False: 119k]
  ------------------
24385|   119k|        )
24386|  80.5k|        {
24387|  80.5k|            _res = _tmp_185_var;
24388|  80.5k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24388:17): [True: 75.0k, False: 5.53k]
  ------------------
24389|  75.0k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24389:21): [True: 0, False: 75.0k]
  ------------------
24390|      0|                    p->error_indicator = 1;
24391|      0|                    PyErr_NoMemory();
24392|      0|                    PyMem_Free(_children);
24393|      0|                    p->level--;
24394|      0|                    return NULL;
24395|      0|                }
24396|  75.0k|            }
24397|  80.5k|            _children[_n++] = _res;
24398|  80.5k|            _mark = p->mark;
24399|  80.5k|        }
24400|   119k|        p->mark = _mark;
24401|   119k|        D(fprintf(stderr, "%*c%s _loop1_80[%d-%d]: %s failed!\n", p->level, ' ',
24402|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(fstring | string)"));
24403|   119k|    }
24404|   119k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (24404:9): [True: 55.7k, False: 63.7k]
  |  Branch (24404:20): [True: 266, False: 63.4k]
  ------------------
24405|  56.0k|        PyMem_Free(_children);
24406|  56.0k|        p->level--;
24407|  56.0k|        return NULL;
24408|  56.0k|    }
24409|  63.4k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24410|  63.4k|    if (!_seq) {
  ------------------
  |  Branch (24410:9): [True: 0, False: 63.4k]
  ------------------
24411|      0|        p->error_indicator = 1;
24412|      0|        PyErr_NoMemory();
24413|      0|        PyMem_Free(_children);
24414|      0|        p->level--;
24415|      0|        return NULL;
24416|      0|    }
24417|   143k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  80.0k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|   143k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24417:28): [True: 80.0k, False: 63.4k]
  ------------------
24418|  63.4k|    PyMem_Free(_children);
24419|  63.4k|    p->level--;
24420|  63.4k|    return _seq;
24421|  63.4k|}
parser.c:_tmp_185_rule:
26148|   200k|{
26149|   200k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   400k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26149:9): [True: 1, False: 200k]
  |  Branch (26149:35): [True: 0, False: 200k]
  ------------------
26150|      1|        _Pypegen_stack_overflow(p);
26151|      1|    }
26152|   200k|    if (p->error_indicator) {
  ------------------
  |  Branch (26152:9): [True: 1, False: 200k]
  ------------------
26153|      1|        p->level--;
26154|      1|        return NULL;
26155|      1|    }
26156|   200k|    void * _res = NULL;
26157|   200k|    int _mark = p->mark;
26158|   200k|    { // fstring
26159|   200k|        if (p->error_indicator) {
  ------------------
  |  Branch (26159:13): [True: 0, False: 200k]
  ------------------
26160|      0|            p->level--;
26161|      0|            return NULL;
26162|      0|        }
26163|   200k|        D(fprintf(stderr, "%*c> _tmp_185[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring"));
26164|   200k|        expr_ty fstring_var;
26165|   200k|        if (
26166|   200k|            (fstring_var = fstring_rule(p))  // fstring
  ------------------
  |  |  507|   200k|#define fstring_rule _PyPegen_fstring_rule
  ------------------
  |  Branch (26166:13): [True: 12.7k, False: 187k]
  ------------------
26167|   200k|        )
26168|  12.7k|        {
26169|  12.7k|            D(fprintf(stderr, "%*c+ _tmp_185[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "fstring"));
26170|  12.7k|            _res = fstring_var;
26171|  12.7k|            goto done;
26172|  12.7k|        }
26173|   187k|        p->mark = _mark;
26174|   187k|        D(fprintf(stderr, "%*c%s _tmp_185[%d-%d]: %s failed!\n", p->level, ' ',
26175|   187k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring"));
26176|   187k|    }
26177|      0|    { // string
26178|   187k|        if (p->error_indicator) {
  ------------------
  |  Branch (26178:13): [True: 711, False: 186k]
  ------------------
26179|    711|            p->level--;
26180|    711|            return NULL;
26181|    711|        }
26182|   186k|        D(fprintf(stderr, "%*c> _tmp_185[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "string"));
26183|   186k|        expr_ty string_var;
26184|   186k|        if (
26185|   186k|            (string_var = string_rule(p))  // string
  ------------------
  |  |  511|   186k|#define string_rule _PyPegen_string_rule
  ------------------
  |  Branch (26185:13): [True: 67.7k, False: 118k]
  ------------------
26186|   186k|        )
26187|  67.7k|        {
26188|  67.7k|            D(fprintf(stderr, "%*c+ _tmp_185[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "string"));
26189|  67.7k|            _res = string_var;
26190|  67.7k|            goto done;
26191|  67.7k|        }
26192|   118k|        p->mark = _mark;
26193|   118k|        D(fprintf(stderr, "%*c%s _tmp_185[%d-%d]: %s failed!\n", p->level, ' ',
26194|   118k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "string"));
26195|   118k|    }
26196|   118k|    _res = NULL;
26197|   199k|  done:
26198|   199k|    p->level--;
26199|   199k|    return _res;
26200|   118k|}
parser.c:_loop1_81_rule:
24426|  55.1k|{
24427|  55.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   110k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24427:9): [True: 0, False: 55.1k]
  |  Branch (24427:35): [True: 0, False: 55.1k]
  ------------------
24428|      0|        _Pypegen_stack_overflow(p);
24429|      0|    }
24430|  55.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (24430:9): [True: 0, False: 55.1k]
  ------------------
24431|      0|        p->level--;
24432|      0|        return NULL;
24433|      0|    }
24434|  55.1k|    void *_res = NULL;
24435|  55.1k|    int _mark = p->mark;
24436|  55.1k|    void **_children = NULL;
24437|  55.1k|    Py_ssize_t _children_capacity = 0;
24438|  55.1k|    Py_ssize_t _n = 0;
24439|  55.1k|    { // tstring
24440|  55.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (24440:13): [True: 0, False: 55.1k]
  ------------------
24441|      0|            p->level--;
24442|      0|            return NULL;
24443|      0|        }
24444|  55.1k|        D(fprintf(stderr, "%*c> _loop1_81[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring"));
24445|  55.1k|        expr_ty tstring_var;
24446|  55.1k|        while (
24447|  59.4k|            (tstring_var = tstring_rule(p))  // tstring
  ------------------
  |  |  509|  59.4k|#define tstring_rule _PyPegen_tstring_rule
  ------------------
  |  Branch (24447:13): [True: 4.33k, False: 55.1k]
  ------------------
24448|  55.1k|        )
24449|  4.33k|        {
24450|  4.33k|            _res = tstring_var;
24451|  4.33k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24451:17): [True: 3.73k, False: 602]
  ------------------
24452|  3.73k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24452:21): [True: 0, False: 3.73k]
  ------------------
24453|      0|                    p->error_indicator = 1;
24454|      0|                    PyErr_NoMemory();
24455|      0|                    PyMem_Free(_children);
24456|      0|                    p->level--;
24457|      0|                    return NULL;
24458|      0|                }
24459|  3.73k|            }
24460|  4.33k|            _children[_n++] = _res;
24461|  4.33k|            _mark = p->mark;
24462|  4.33k|        }
24463|  55.1k|        p->mark = _mark;
24464|  55.1k|        D(fprintf(stderr, "%*c%s _loop1_81[%d-%d]: %s failed!\n", p->level, ' ',
24465|  55.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring"));
24466|  55.1k|    }
24467|  55.1k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (24467:9): [True: 51.8k, False: 3.26k]
  |  Branch (24467:20): [True: 60, False: 3.20k]
  ------------------
24468|  51.9k|        PyMem_Free(_children);
24469|  51.9k|        p->level--;
24470|  51.9k|        return NULL;
24471|  51.9k|    }
24472|  3.20k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24473|  3.20k|    if (!_seq) {
  ------------------
  |  Branch (24473:9): [True: 0, False: 3.20k]
  ------------------
24474|      0|        p->error_indicator = 1;
24475|      0|        PyErr_NoMemory();
24476|      0|        PyMem_Free(_children);
24477|      0|        p->level--;
24478|      0|        return NULL;
24479|      0|    }
24480|  7.44k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  4.24k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  7.44k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24480:28): [True: 4.24k, False: 3.20k]
  ------------------
24481|  3.20k|    PyMem_Free(_children);
24482|  3.20k|    p->level--;
24483|  3.20k|    return _seq;
24484|  3.20k|}
parser.c:_tmp_66_rule:
23483|   152k|{
23484|   152k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   305k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23484:9): [True: 0, False: 152k]
  |  Branch (23484:35): [True: 0, False: 152k]
  ------------------
23485|      0|        _Pypegen_stack_overflow(p);
23486|      0|    }
23487|   152k|    if (p->error_indicator) {
  ------------------
  |  Branch (23487:9): [True: 0, False: 152k]
  ------------------
23488|      0|        p->level--;
23489|      0|        return NULL;
23490|      0|    }
23491|   152k|    void * _res = NULL;
23492|   152k|    int _mark = p->mark;
23493|   152k|    { // genexp
23494|   152k|        if (p->error_indicator) {
  ------------------
  |  Branch (23494:13): [True: 0, False: 152k]
  ------------------
23495|      0|            p->level--;
23496|      0|            return NULL;
23497|      0|        }
23498|   152k|        D(fprintf(stderr, "%*c> _tmp_66[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "genexp"));
23499|   152k|        expr_ty genexp_var;
23500|   152k|        if (
23501|   152k|            (genexp_var = genexp_rule(p))  // genexp
  ------------------
  |  |  521|   152k|#define genexp_rule _PyPegen_genexp_rule
  ------------------
  |  Branch (23501:13): [True: 1.01k, False: 151k]
  ------------------
23502|   152k|        )
23503|  1.01k|        {
23504|  1.01k|            D(fprintf(stderr, "%*c+ _tmp_66[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "genexp"));
23505|  1.01k|            _res = genexp_var;
23506|  1.01k|            goto done;
23507|  1.01k|        }
23508|   151k|        p->mark = _mark;
23509|   151k|        D(fprintf(stderr, "%*c%s _tmp_66[%d-%d]: %s failed!\n", p->level, ' ',
23510|   151k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "genexp"));
23511|   151k|    }
23512|      0|    { // tuple
23513|   151k|        if (p->error_indicator) {
  ------------------
  |  Branch (23513:13): [True: 5.29k, False: 146k]
  ------------------
23514|  5.29k|            p->level--;
23515|  5.29k|            return NULL;
23516|  5.29k|        }
23517|   146k|        D(fprintf(stderr, "%*c> _tmp_66[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
23518|   146k|        expr_ty tuple_var;
23519|   146k|        if (
23520|   146k|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  |  515|   146k|#define tuple_rule _PyPegen_tuple_rule
  ------------------
  |  Branch (23520:13): [True: 104k, False: 41.8k]
  ------------------
23521|   146k|        )
23522|   104k|        {
23523|   104k|            D(fprintf(stderr, "%*c+ _tmp_66[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tuple"));
23524|   104k|            _res = tuple_var;
23525|   104k|            goto done;
23526|   104k|        }
23527|  41.8k|        p->mark = _mark;
23528|  41.8k|        D(fprintf(stderr, "%*c%s _tmp_66[%d-%d]: %s failed!\n", p->level, ' ',
23529|  41.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
23530|  41.8k|    }
23531|      0|    { // group
23532|  41.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (23532:13): [True: 694, False: 41.1k]
  ------------------
23533|    694|            p->level--;
23534|    694|            return NULL;
23535|    694|        }
23536|  41.1k|        D(fprintf(stderr, "%*c> _tmp_66[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "group"));
23537|  41.1k|        expr_ty group_var;
23538|  41.1k|        if (
23539|  41.1k|            (group_var = group_rule(p))  // group
  ------------------
  |  Branch (23539:13): [True: 23.4k, False: 17.7k]
  ------------------
23540|  41.1k|        )
23541|  23.4k|        {
23542|  23.4k|            D(fprintf(stderr, "%*c+ _tmp_66[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "group"));
23543|  23.4k|            _res = group_var;
23544|  23.4k|            goto done;
23545|  23.4k|        }
23546|  17.7k|        p->mark = _mark;
23547|  17.7k|        D(fprintf(stderr, "%*c%s _tmp_66[%d-%d]: %s failed!\n", p->level, ' ',
23548|  17.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "group"));
23549|  17.7k|    }
23550|  17.7k|    _res = NULL;
23551|   146k|  done:
23552|   146k|    p->level--;
23553|   146k|    return _res;
23554|  17.7k|}
parser.c:group_rule:
15234|  41.1k|{
15235|  41.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  82.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15235:9): [True: 0, False: 41.1k]
  |  Branch (15235:35): [True: 0, False: 41.1k]
  ------------------
15236|      0|        _Pypegen_stack_overflow(p);
15237|      0|    }
15238|  41.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (15238:9): [True: 0, False: 41.1k]
  ------------------
15239|      0|        p->level--;
15240|      0|        return NULL;
15241|      0|    }
15242|  41.1k|    expr_ty _res = NULL;
15243|  41.1k|    int _mark = p->mark;
15244|  41.1k|    { // '(' (yield_expr | named_expression) ')'
15245|  41.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (15245:13): [True: 0, False: 41.1k]
  ------------------
15246|      0|            p->level--;
15247|      0|            return NULL;
15248|      0|        }
15249|  41.1k|        D(fprintf(stderr, "%*c> group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15250|  41.1k|        Token * _literal;
15251|  41.1k|        Token * _literal_1;
15252|  41.1k|        void *a;
15253|  41.1k|        if (
15254|  41.1k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (15254:13): [True: 41.1k, False: 0]
  ------------------
15255|  41.1k|            &&
15256|  41.1k|            (a = _tmp_69_rule(p))  // yield_expr | named_expression
  ------------------
  |  Branch (15256:13): [True: 32.1k, False: 8.99k]
  ------------------
15257|  32.1k|            &&
15258|  32.1k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (15258:13): [True: 23.4k, False: 8.71k]
  ------------------
15259|  41.1k|        )
15260|  23.4k|        {
15261|  23.4k|            D(fprintf(stderr, "%*c+ group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15262|  23.4k|            _res = a;
15263|  23.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15263:18): [True: 0, False: 23.4k]
  |  Branch (15263:34): [True: 0, False: 23.4k]
  |  Branch (15263:57): [True: 0, False: 0]
  ------------------
15264|      0|                p->error_indicator = 1;
15265|      0|                p->level--;
15266|      0|                return NULL;
15267|      0|            }
15268|  23.4k|            goto done;
15269|  23.4k|        }
15270|  17.7k|        p->mark = _mark;
15271|  17.7k|        D(fprintf(stderr, "%*c%s group[%d-%d]: %s failed!\n", p->level, ' ',
15272|  17.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15273|  17.7k|    }
15274|  17.7k|    if (p->call_invalid_rules) { // invalid_group
  ------------------
  |  Branch (15274:9): [True: 6.19k, False: 11.5k]
  ------------------
15275|  6.19k|        if (p->error_indicator) {
  ------------------
  |  Branch (15275:13): [True: 201, False: 5.99k]
  ------------------
15276|    201|            p->level--;
15277|    201|            return NULL;
15278|    201|        }
15279|  5.99k|        D(fprintf(stderr, "%*c> group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_group"));
15280|  5.99k|        void *invalid_group_var;
15281|  5.99k|        if (
15282|  5.99k|            (invalid_group_var = invalid_group_rule(p))  // invalid_group
  ------------------
  |  |  585|  5.99k|#define invalid_group_rule _PyPegen_invalid_group_rule
  ------------------
  |  Branch (15282:13): [True: 0, False: 5.99k]
  ------------------
15283|  5.99k|        )
15284|      0|        {
15285|      0|            D(fprintf(stderr, "%*c+ group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_group"));
15286|      0|            _res = invalid_group_var;
15287|      0|            goto done;
15288|      0|        }
15289|  5.99k|        p->mark = _mark;
15290|  5.99k|        D(fprintf(stderr, "%*c%s group[%d-%d]: %s failed!\n", p->level, ' ',
15291|  5.99k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_group"));
15292|  5.99k|    }
15293|  17.5k|    _res = NULL;
15294|  40.9k|  done:
15295|  40.9k|    p->level--;
15296|  40.9k|    return _res;
15297|  17.5k|}
parser.c:_tmp_69_rule:
23711|  41.1k|{
23712|  41.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  82.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23712:9): [True: 0, False: 41.1k]
  |  Branch (23712:35): [True: 0, False: 41.1k]
  ------------------
23713|      0|        _Pypegen_stack_overflow(p);
23714|      0|    }
23715|  41.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (23715:9): [True: 0, False: 41.1k]
  ------------------
23716|      0|        p->level--;
23717|      0|        return NULL;
23718|      0|    }
23719|  41.1k|    void * _res = NULL;
23720|  41.1k|    int _mark = p->mark;
23721|  41.1k|    { // yield_expr
23722|  41.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (23722:13): [True: 0, False: 41.1k]
  ------------------
23723|      0|            p->level--;
23724|      0|            return NULL;
23725|      0|        }
23726|  41.1k|        D(fprintf(stderr, "%*c> _tmp_69[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "yield_expr"));
23727|  41.1k|        expr_ty yield_expr_var;
23728|  41.1k|        if (
23729|  41.1k|            (yield_expr_var = yield_expr_rule(p))  // yield_expr
  ------------------
  |  |  465|  41.1k|#define yield_expr_rule _PyPegen_yield_expr_rule
  ------------------
  |  Branch (23729:13): [True: 2.17k, False: 38.9k]
  ------------------
23730|  41.1k|        )
23731|  2.17k|        {
23732|  2.17k|            D(fprintf(stderr, "%*c+ _tmp_69[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "yield_expr"));
23733|  2.17k|            _res = yield_expr_var;
23734|  2.17k|            goto done;
23735|  2.17k|        }
23736|  38.9k|        p->mark = _mark;
23737|  38.9k|        D(fprintf(stderr, "%*c%s _tmp_69[%d-%d]: %s failed!\n", p->level, ' ',
23738|  38.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "yield_expr"));
23739|  38.9k|    }
23740|      0|    { // named_expression
23741|  38.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (23741:13): [True: 228, False: 38.7k]
  ------------------
23742|    228|            p->level--;
23743|    228|            return NULL;
23744|    228|        }
23745|  38.7k|        D(fprintf(stderr, "%*c> _tmp_69[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
23746|  38.7k|        expr_ty named_expression_var;
23747|  38.7k|        if (
23748|  38.7k|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  |  475|  38.7k|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (23748:13): [True: 29.9k, False: 8.76k]
  ------------------
23749|  38.7k|        )
23750|  29.9k|        {
23751|  29.9k|            D(fprintf(stderr, "%*c+ _tmp_69[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
23752|  29.9k|            _res = named_expression_var;
23753|  29.9k|            goto done;
23754|  29.9k|        }
23755|  8.76k|        p->mark = _mark;
23756|  8.76k|        D(fprintf(stderr, "%*c%s _tmp_69[%d-%d]: %s failed!\n", p->level, ' ',
23757|  8.76k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
23758|  8.76k|    }
23759|  8.76k|    _res = NULL;
23760|  40.8k|  done:
23761|  40.8k|    p->level--;
23762|  40.8k|    return _res;
23763|  8.76k|}
parser.c:_tmp_67_rule:
23559|  86.4k|{
23560|  86.4k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   172k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23560:9): [True: 0, False: 86.4k]
  |  Branch (23560:35): [True: 0, False: 86.4k]
  ------------------
23561|      0|        _Pypegen_stack_overflow(p);
23562|      0|    }
23563|  86.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (23563:9): [True: 0, False: 86.4k]
  ------------------
23564|      0|        p->level--;
23565|      0|        return NULL;
23566|      0|    }
23567|  86.4k|    void * _res = NULL;
23568|  86.4k|    int _mark = p->mark;
23569|  86.4k|    { // listcomp
23570|  86.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (23570:13): [True: 0, False: 86.4k]
  ------------------
23571|      0|            p->level--;
23572|      0|            return NULL;
23573|      0|        }
23574|  86.4k|        D(fprintf(stderr, "%*c> _tmp_67[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "listcomp"));
23575|  86.4k|        expr_ty listcomp_var;
23576|  86.4k|        if (
23577|  86.4k|            (listcomp_var = listcomp_rule(p))  // listcomp
  ------------------
  |  Branch (23577:13): [True: 1.32k, False: 85.1k]
  ------------------
23578|  86.4k|        )
23579|  1.32k|        {
23580|  1.32k|            D(fprintf(stderr, "%*c+ _tmp_67[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "listcomp"));
23581|  1.32k|            _res = listcomp_var;
23582|  1.32k|            goto done;
23583|  1.32k|        }
23584|  85.1k|        p->mark = _mark;
23585|  85.1k|        D(fprintf(stderr, "%*c%s _tmp_67[%d-%d]: %s failed!\n", p->level, ' ',
23586|  85.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "listcomp"));
23587|  85.1k|    }
23588|      0|    { // list
23589|  85.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (23589:13): [True: 12.5k, False: 72.5k]
  ------------------
23590|  12.5k|            p->level--;
23591|  12.5k|            return NULL;
23592|  12.5k|        }
23593|  72.5k|        D(fprintf(stderr, "%*c> _tmp_67[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "list"));
23594|  72.5k|        expr_ty list_var;
23595|  72.5k|        if (
23596|  72.5k|            (list_var = list_rule(p))  // list
  ------------------
  |  |  513|  72.5k|#define list_rule _PyPegen_list_rule
  ------------------
  |  Branch (23596:13): [True: 45.2k, False: 27.3k]
  ------------------
23597|  72.5k|        )
23598|  45.2k|        {
23599|  45.2k|            D(fprintf(stderr, "%*c+ _tmp_67[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "list"));
23600|  45.2k|            _res = list_var;
23601|  45.2k|            goto done;
23602|  45.2k|        }
23603|  27.3k|        p->mark = _mark;
23604|  27.3k|        D(fprintf(stderr, "%*c%s _tmp_67[%d-%d]: %s failed!\n", p->level, ' ',
23605|  27.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "list"));
23606|  27.3k|    }
23607|  27.3k|    _res = NULL;
23608|  73.8k|  done:
23609|  73.8k|    p->level--;
23610|  73.8k|    return _res;
23611|  27.3k|}
parser.c:listcomp_rule:
17977|  86.4k|{
17978|  86.4k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   172k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17978:9): [True: 1, False: 86.4k]
  |  Branch (17978:35): [True: 0, False: 86.4k]
  ------------------
17979|      1|        _Pypegen_stack_overflow(p);
17980|      1|    }
17981|  86.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (17981:9): [True: 1, False: 86.4k]
  ------------------
17982|      1|        p->level--;
17983|      1|        return NULL;
17984|      1|    }
17985|  86.4k|    expr_ty _res = NULL;
17986|  86.4k|    int _mark = p->mark;
17987|  86.4k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17987:9): [True: 0, False: 86.4k]
  |  Branch (17987:31): [True: 0, False: 0]
  ------------------
17988|      0|        p->error_indicator = 1;
17989|      0|        p->level--;
17990|      0|        return NULL;
17991|      0|    }
17992|  86.4k|    int _start_lineno = p->tokens[_mark]->lineno;
17993|  86.4k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  86.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 86.4k]
  |  |  ------------------
  ------------------
17994|  86.4k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17995|  86.4k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  86.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 86.4k]
  |  |  ------------------
  ------------------
17996|  86.4k|    { // '[' star_named_expression for_if_clauses ']'
17997|  86.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (17997:13): [True: 0, False: 86.4k]
  ------------------
17998|      0|            p->level--;
17999|      0|            return NULL;
18000|      0|        }
18001|  86.4k|        D(fprintf(stderr, "%*c> listcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' star_named_expression for_if_clauses ']'"));
18002|  86.4k|        Token * _literal;
18003|  86.4k|        Token * _literal_1;
18004|  86.4k|        expr_ty a;
18005|  86.4k|        asdl_comprehension_seq* b;
18006|  86.4k|        if (
18007|  86.4k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (18007:13): [True: 86.4k, False: 0]
  ------------------
18008|  86.4k|            &&
18009|  86.4k|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  |  471|  86.4k|#define star_named_expression_rule _PyPegen_star_named_expression_rule
  ------------------
  |  Branch (18009:13): [True: 34.9k, False: 51.4k]
  ------------------
18010|  34.9k|            &&
18011|  34.9k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  519|  34.9k|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (18011:13): [True: 1.47k, False: 33.5k]
  ------------------
18012|  1.47k|            &&
18013|  1.47k|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (18013:13): [True: 1.32k, False: 157]
  ------------------
18014|  86.4k|        )
18015|  1.32k|        {
18016|  1.32k|            D(fprintf(stderr, "%*c+ listcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' star_named_expression for_if_clauses ']'"));
18017|  1.32k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18018|  1.32k|            if (_token == NULL) {
  ------------------
  |  Branch (18018:17): [True: 0, False: 1.32k]
  ------------------
18019|      0|                p->level--;
18020|      0|                return NULL;
18021|      0|            }
18022|  1.32k|            int _end_lineno = _token->end_lineno;
18023|  1.32k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.32k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.32k]
  |  |  ------------------
  ------------------
18024|  1.32k|            int _end_col_offset = _token->end_col_offset;
18025|  1.32k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.32k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.32k]
  |  |  ------------------
  ------------------
18026|  1.32k|            _res = _PyAST_ListComp ( a , b , EXTRA );
  ------------------
  |  |  316|  1.32k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18027|  1.32k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18027:18): [True: 0, False: 1.32k]
  |  Branch (18027:34): [True: 0, False: 1.32k]
  |  Branch (18027:57): [True: 0, False: 0]
  ------------------
18028|      0|                p->error_indicator = 1;
18029|      0|                p->level--;
18030|      0|                return NULL;
18031|      0|            }
18032|  1.32k|            goto done;
18033|  1.32k|        }
18034|  85.1k|        p->mark = _mark;
18035|  85.1k|        D(fprintf(stderr, "%*c%s listcomp[%d-%d]: %s failed!\n", p->level, ' ',
18036|  85.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' star_named_expression for_if_clauses ']'"));
18037|  85.1k|    }
18038|  85.1k|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18038:9): [True: 42.7k, False: 42.4k]
  ------------------
18039|  42.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (18039:13): [True: 10.7k, False: 32.0k]
  ------------------
18040|  10.7k|            p->level--;
18041|  10.7k|            return NULL;
18042|  10.7k|        }
18043|  32.0k|        D(fprintf(stderr, "%*c> listcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18044|  32.0k|        void *invalid_comprehension_var;
18045|  32.0k|        if (
18046|  32.0k|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  |  561|  32.0k|#define invalid_comprehension_rule _PyPegen_invalid_comprehension_rule
  ------------------
  |  Branch (18046:13): [True: 0, False: 32.0k]
  ------------------
18047|  32.0k|        )
18048|      0|        {
18049|      0|            D(fprintf(stderr, "%*c+ listcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18050|      0|            _res = invalid_comprehension_var;
18051|      0|            goto done;
18052|      0|        }
18053|  32.0k|        p->mark = _mark;
18054|  32.0k|        D(fprintf(stderr, "%*c%s listcomp[%d-%d]: %s failed!\n", p->level, ' ',
18055|  32.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18056|  32.0k|    }
18057|  74.4k|    _res = NULL;
18058|  75.7k|  done:
18059|  75.7k|    p->level--;
18060|  75.7k|    return _res;
18061|  74.4k|}
parser.c:_tmp_68_rule:
23616|  51.5k|{
23617|  51.5k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   103k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23617:9): [True: 0, False: 51.5k]
  |  Branch (23617:35): [True: 0, False: 51.5k]
  ------------------
23618|      0|        _Pypegen_stack_overflow(p);
23619|      0|    }
23620|  51.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (23620:9): [True: 0, False: 51.5k]
  ------------------
23621|      0|        p->level--;
23622|      0|        return NULL;
23623|      0|    }
23624|  51.5k|    void * _res = NULL;
23625|  51.5k|    int _mark = p->mark;
23626|  51.5k|    { // dictcomp
23627|  51.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (23627:13): [True: 0, False: 51.5k]
  ------------------
23628|      0|            p->level--;
23629|      0|            return NULL;
23630|      0|        }
23631|  51.5k|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dictcomp"));
23632|  51.5k|        expr_ty dictcomp_var;
23633|  51.5k|        if (
23634|  51.5k|            (dictcomp_var = dictcomp_rule(p))  // dictcomp
  ------------------
  |  Branch (23634:13): [True: 1.72k, False: 49.7k]
  ------------------
23635|  51.5k|        )
23636|  1.72k|        {
23637|  1.72k|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dictcomp"));
23638|  1.72k|            _res = dictcomp_var;
23639|  1.72k|            goto done;
23640|  1.72k|        }
23641|  49.7k|        p->mark = _mark;
23642|  49.7k|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
23643|  49.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dictcomp"));
23644|  49.7k|    }
23645|      0|    { // setcomp
23646|  49.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (23646:13): [True: 3.90k, False: 45.8k]
  ------------------
23647|  3.90k|            p->level--;
23648|  3.90k|            return NULL;
23649|  3.90k|        }
23650|  45.8k|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "setcomp"));
23651|  45.8k|        expr_ty setcomp_var;
23652|  45.8k|        if (
23653|  45.8k|            (setcomp_var = setcomp_rule(p))  // setcomp
  ------------------
  |  Branch (23653:13): [True: 6.01k, False: 39.8k]
  ------------------
23654|  45.8k|        )
23655|  6.01k|        {
23656|  6.01k|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "setcomp"));
23657|  6.01k|            _res = setcomp_var;
23658|  6.01k|            goto done;
23659|  6.01k|        }
23660|  39.8k|        p->mark = _mark;
23661|  39.8k|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
23662|  39.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "setcomp"));
23663|  39.8k|    }
23664|      0|    { // dict
23665|  39.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (23665:13): [True: 812, False: 39.0k]
  ------------------
23666|    812|            p->level--;
23667|    812|            return NULL;
23668|    812|        }
23669|  39.0k|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dict"));
23670|  39.0k|        expr_ty dict_var;
23671|  39.0k|        if (
23672|  39.0k|            (dict_var = dict_rule(p))  // dict
  ------------------
  |  Branch (23672:13): [True: 6.75k, False: 32.3k]
  ------------------
23673|  39.0k|        )
23674|  6.75k|        {
23675|  6.75k|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dict"));
23676|  6.75k|            _res = dict_var;
23677|  6.75k|            goto done;
23678|  6.75k|        }
23679|  32.3k|        p->mark = _mark;
23680|  32.3k|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
23681|  32.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dict"));
23682|  32.3k|    }
23683|      0|    { // set
23684|  32.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (23684:13): [True: 1.28k, False: 31.0k]
  ------------------
23685|  1.28k|            p->level--;
23686|  1.28k|            return NULL;
23687|  1.28k|        }
23688|  31.0k|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "set"));
23689|  31.0k|        expr_ty set_var;
23690|  31.0k|        if (
23691|  31.0k|            (set_var = set_rule(p))  // set
  ------------------
  |  Branch (23691:13): [True: 19.6k, False: 11.3k]
  ------------------
23692|  31.0k|        )
23693|  19.6k|        {
23694|  19.6k|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "set"));
23695|  19.6k|            _res = set_var;
23696|  19.6k|            goto done;
23697|  19.6k|        }
23698|  11.3k|        p->mark = _mark;
23699|  11.3k|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
23700|  11.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "set"));
23701|  11.3k|    }
23702|  11.3k|    _res = NULL;
23703|  45.5k|  done:
23704|  45.5k|    p->level--;
23705|  45.5k|    return _res;
23706|  11.3k|}
parser.c:dictcomp_rule:
18246|  51.5k|{
18247|  51.5k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   103k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18247:9): [True: 1, False: 51.5k]
  |  Branch (18247:35): [True: 0, False: 51.5k]
  ------------------
18248|      1|        _Pypegen_stack_overflow(p);
18249|      1|    }
18250|  51.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (18250:9): [True: 1, False: 51.5k]
  ------------------
18251|      1|        p->level--;
18252|      1|        return NULL;
18253|      1|    }
18254|  51.5k|    expr_ty _res = NULL;
18255|  51.5k|    int _mark = p->mark;
18256|  51.5k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18256:9): [True: 0, False: 51.5k]
  |  Branch (18256:31): [True: 0, False: 0]
  ------------------
18257|      0|        p->error_indicator = 1;
18258|      0|        p->level--;
18259|      0|        return NULL;
18260|      0|    }
18261|  51.5k|    int _start_lineno = p->tokens[_mark]->lineno;
18262|  51.5k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  51.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 51.5k]
  |  |  ------------------
  ------------------
18263|  51.5k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18264|  51.5k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  51.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 51.5k]
  |  |  ------------------
  ------------------
18265|  51.5k|    { // '{' kvpair for_if_clauses '}'
18266|  51.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (18266:13): [True: 0, False: 51.5k]
  ------------------
18267|      0|            p->level--;
18268|      0|            return NULL;
18269|      0|        }
18270|  51.5k|        D(fprintf(stderr, "%*c> dictcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18271|  51.5k|        Token * _literal;
18272|  51.5k|        Token * _literal_1;
18273|  51.5k|        KeyValuePair* a;
18274|  51.5k|        asdl_comprehension_seq* b;
18275|  51.5k|        if (
18276|  51.5k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18276:13): [True: 51.5k, False: 0]
  ------------------
18277|  51.5k|            &&
18278|  51.5k|            (a = kvpair_rule(p))  // kvpair
  ------------------
  |  Branch (18278:13): [True: 4.74k, False: 46.7k]
  ------------------
18279|  4.74k|            &&
18280|  4.74k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  519|  4.74k|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (18280:13): [True: 1.23k, False: 3.50k]
  ------------------
18281|  1.23k|            &&
18282|  1.23k|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18282:13): [True: 1.18k, False: 49]
  ------------------
18283|  51.5k|        )
18284|  1.18k|        {
18285|  1.18k|            D(fprintf(stderr, "%*c+ dictcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18286|  1.18k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18287|  1.18k|            if (_token == NULL) {
  ------------------
  |  Branch (18287:17): [True: 0, False: 1.18k]
  ------------------
18288|      0|                p->level--;
18289|      0|                return NULL;
18290|      0|            }
18291|  1.18k|            int _end_lineno = _token->end_lineno;
18292|  1.18k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.18k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.18k]
  |  |  ------------------
  ------------------
18293|  1.18k|            int _end_col_offset = _token->end_col_offset;
18294|  1.18k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.18k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.18k]
  |  |  ------------------
  ------------------
18295|  1.18k|            _res = _PyAST_DictComp ( a -> key , a -> value , b , EXTRA );
  ------------------
  |  |  316|  1.18k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18296|  1.18k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18296:18): [True: 0, False: 1.18k]
  |  Branch (18296:34): [True: 0, False: 1.18k]
  |  Branch (18296:57): [True: 0, False: 0]
  ------------------
18297|      0|                p->error_indicator = 1;
18298|      0|                p->level--;
18299|      0|                return NULL;
18300|      0|            }
18301|  1.18k|            goto done;
18302|  1.18k|        }
18303|  50.3k|        p->mark = _mark;
18304|  50.3k|        D(fprintf(stderr, "%*c%s dictcomp[%d-%d]: %s failed!\n", p->level, ' ',
18305|  50.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18306|  50.3k|    }
18307|      0|    { // '{' '**' expression for_if_clauses '}'
18308|  50.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (18308:13): [True: 3.79k, False: 46.5k]
  ------------------
18309|  3.79k|            p->level--;
18310|  3.79k|            return NULL;
18311|  3.79k|        }
18312|  46.5k|        D(fprintf(stderr, "%*c> dictcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18313|  46.5k|        Token * _literal;
18314|  46.5k|        Token * _literal_1;
18315|  46.5k|        Token * _literal_2;
18316|  46.5k|        expr_ty a;
18317|  46.5k|        asdl_comprehension_seq* b;
18318|  46.5k|        if (
18319|  46.5k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18319:13): [True: 46.5k, False: 0]
  ------------------
18320|  46.5k|            &&
18321|  46.5k|            (_literal_1 = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (18321:13): [True: 1.81k, False: 44.7k]
  ------------------
18322|  1.81k|            &&
18323|  1.81k|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|  1.81k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (18323:13): [True: 1.62k, False: 185]
  ------------------
18324|  1.62k|            &&
18325|  1.62k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  519|  1.62k|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (18325:13): [True: 558, False: 1.07k]
  ------------------
18326|    558|            &&
18327|    558|            (_literal_2 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18327:13): [True: 543, False: 15]
  ------------------
18328|  46.5k|        )
18329|    543|        {
18330|    543|            D(fprintf(stderr, "%*c+ dictcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18331|    543|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18332|    543|            if (_token == NULL) {
  ------------------
  |  Branch (18332:17): [True: 0, False: 543]
  ------------------
18333|      0|                p->level--;
18334|      0|                return NULL;
18335|      0|            }
18336|    543|            int _end_lineno = _token->end_lineno;
18337|    543|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    543|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 543]
  |  |  ------------------
  ------------------
18338|    543|            int _end_col_offset = _token->end_col_offset;
18339|    543|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    543|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 543]
  |  |  ------------------
  ------------------
18340|    543|            _res = _PyAST_DictComp ( a , NULL , b , EXTRA );
  ------------------
  |  |  316|    543|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18341|    543|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18341:18): [True: 0, False: 543]
  |  Branch (18341:34): [True: 0, False: 543]
  |  Branch (18341:57): [True: 0, False: 0]
  ------------------
18342|      0|                p->error_indicator = 1;
18343|      0|                p->level--;
18344|      0|                return NULL;
18345|      0|            }
18346|    543|            goto done;
18347|    543|        }
18348|  45.9k|        p->mark = _mark;
18349|  45.9k|        D(fprintf(stderr, "%*c%s dictcomp[%d-%d]: %s failed!\n", p->level, ' ',
18350|  45.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18351|  45.9k|    }
18352|  45.9k|    _res = NULL;
18353|  47.7k|  done:
18354|  47.7k|    p->level--;
18355|  47.7k|    return _res;
18356|  45.9k|}
parser.c:setcomp_rule:
18066|  45.8k|{
18067|  45.8k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  91.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18067:9): [True: 0, False: 45.8k]
  |  Branch (18067:35): [True: 0, False: 45.8k]
  ------------------
18068|      0|        _Pypegen_stack_overflow(p);
18069|      0|    }
18070|  45.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (18070:9): [True: 0, False: 45.8k]
  ------------------
18071|      0|        p->level--;
18072|      0|        return NULL;
18073|      0|    }
18074|  45.8k|    expr_ty _res = NULL;
18075|  45.8k|    int _mark = p->mark;
18076|  45.8k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18076:9): [True: 0, False: 45.8k]
  |  Branch (18076:31): [True: 0, False: 0]
  ------------------
18077|      0|        p->error_indicator = 1;
18078|      0|        p->level--;
18079|      0|        return NULL;
18080|      0|    }
18081|  45.8k|    int _start_lineno = p->tokens[_mark]->lineno;
18082|  45.8k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  45.8k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 45.8k]
  |  |  ------------------
  ------------------
18083|  45.8k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18084|  45.8k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  45.8k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 45.8k]
  |  |  ------------------
  ------------------
18085|  45.8k|    { // '{' star_named_expression for_if_clauses '}'
18086|  45.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (18086:13): [True: 0, False: 45.8k]
  ------------------
18087|      0|            p->level--;
18088|      0|            return NULL;
18089|      0|        }
18090|  45.8k|        D(fprintf(stderr, "%*c> setcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18091|  45.8k|        Token * _literal;
18092|  45.8k|        Token * _literal_1;
18093|  45.8k|        expr_ty a;
18094|  45.8k|        asdl_comprehension_seq* b;
18095|  45.8k|        if (
18096|  45.8k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18096:13): [True: 45.8k, False: 0]
  ------------------
18097|  45.8k|            &&
18098|  45.8k|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  |  471|  45.8k|#define star_named_expression_rule _PyPegen_star_named_expression_rule
  ------------------
  |  Branch (18098:13): [True: 34.2k, False: 11.6k]
  ------------------
18099|  34.2k|            &&
18100|  34.2k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  519|  34.2k|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (18100:13): [True: 6.65k, False: 27.6k]
  ------------------
18101|  6.65k|            &&
18102|  6.65k|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18102:13): [True: 6.01k, False: 640]
  ------------------
18103|  45.8k|        )
18104|  6.01k|        {
18105|  6.01k|            D(fprintf(stderr, "%*c+ setcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18106|  6.01k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18107|  6.01k|            if (_token == NULL) {
  ------------------
  |  Branch (18107:17): [True: 0, False: 6.01k]
  ------------------
18108|      0|                p->level--;
18109|      0|                return NULL;
18110|      0|            }
18111|  6.01k|            int _end_lineno = _token->end_lineno;
18112|  6.01k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  6.01k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.01k]
  |  |  ------------------
  ------------------
18113|  6.01k|            int _end_col_offset = _token->end_col_offset;
18114|  6.01k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  6.01k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.01k]
  |  |  ------------------
  ------------------
18115|  6.01k|            _res = _PyAST_SetComp ( a , b , EXTRA );
  ------------------
  |  |  316|  6.01k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18116|  6.01k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18116:18): [True: 0, False: 6.01k]
  |  Branch (18116:34): [True: 0, False: 6.01k]
  |  Branch (18116:57): [True: 0, False: 0]
  ------------------
18117|      0|                p->error_indicator = 1;
18118|      0|                p->level--;
18119|      0|                return NULL;
18120|      0|            }
18121|  6.01k|            goto done;
18122|  6.01k|        }
18123|  39.8k|        p->mark = _mark;
18124|  39.8k|        D(fprintf(stderr, "%*c%s setcomp[%d-%d]: %s failed!\n", p->level, ' ',
18125|  39.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18126|  39.8k|    }
18127|  39.8k|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18127:9): [True: 7.31k, False: 32.5k]
  ------------------
18128|  7.31k|        if (p->error_indicator) {
  ------------------
  |  Branch (18128:13): [True: 363, False: 6.94k]
  ------------------
18129|    363|            p->level--;
18130|    363|            return NULL;
18131|    363|        }
18132|  6.94k|        D(fprintf(stderr, "%*c> setcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18133|  6.94k|        void *invalid_comprehension_var;
18134|  6.94k|        if (
18135|  6.94k|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  |  561|  6.94k|#define invalid_comprehension_rule _PyPegen_invalid_comprehension_rule
  ------------------
  |  Branch (18135:13): [True: 0, False: 6.94k]
  ------------------
18136|  6.94k|        )
18137|      0|        {
18138|      0|            D(fprintf(stderr, "%*c+ setcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18139|      0|            _res = invalid_comprehension_var;
18140|      0|            goto done;
18141|      0|        }
18142|  6.94k|        p->mark = _mark;
18143|  6.94k|        D(fprintf(stderr, "%*c%s setcomp[%d-%d]: %s failed!\n", p->level, ' ',
18144|  6.94k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18145|  6.94k|    }
18146|  39.5k|    _res = NULL;
18147|  45.5k|  done:
18148|  45.5k|    p->level--;
18149|  45.5k|    return _res;
18150|  39.5k|}
parser.c:dict_rule:
17531|  39.0k|{
17532|  39.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  78.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17532:9): [True: 0, False: 39.0k]
  |  Branch (17532:35): [True: 0, False: 39.0k]
  ------------------
17533|      0|        _Pypegen_stack_overflow(p);
17534|      0|    }
17535|  39.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (17535:9): [True: 0, False: 39.0k]
  ------------------
17536|      0|        p->level--;
17537|      0|        return NULL;
17538|      0|    }
17539|  39.0k|    expr_ty _res = NULL;
17540|  39.0k|    int _mark = p->mark;
17541|  39.0k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17541:9): [True: 0, False: 39.0k]
  |  Branch (17541:31): [True: 0, False: 0]
  ------------------
17542|      0|        p->error_indicator = 1;
17543|      0|        p->level--;
17544|      0|        return NULL;
17545|      0|    }
17546|  39.0k|    int _start_lineno = p->tokens[_mark]->lineno;
17547|  39.0k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  39.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 39.0k]
  |  |  ------------------
  ------------------
17548|  39.0k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17549|  39.0k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  39.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 39.0k]
  |  |  ------------------
  ------------------
17550|  39.0k|    { // '{' double_starred_kvpairs? '}'
17551|  39.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (17551:13): [True: 0, False: 39.0k]
  ------------------
17552|      0|            p->level--;
17553|      0|            return NULL;
17554|      0|        }
17555|  39.0k|        D(fprintf(stderr, "%*c> dict[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17556|  39.0k|        Token * _literal;
17557|  39.0k|        Token * _literal_1;
17558|  39.0k|        void *a;
17559|  39.0k|        if (
17560|  39.0k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17560:13): [True: 39.0k, False: 0]
  ------------------
17561|  39.0k|            &&
17562|  39.0k|            (a = double_starred_kvpairs_rule(p), !p->error_indicator)  // double_starred_kvpairs?
  ------------------
  |  Branch (17562:13): [True: 38.5k, False: 558]
  ------------------
17563|  38.5k|            &&
17564|  38.5k|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17564:13): [True: 6.75k, False: 31.7k]
  ------------------
17565|  39.0k|        )
17566|  6.75k|        {
17567|  6.75k|            D(fprintf(stderr, "%*c+ dict[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17568|  6.75k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17569|  6.75k|            if (_token == NULL) {
  ------------------
  |  Branch (17569:17): [True: 0, False: 6.75k]
  ------------------
17570|      0|                p->level--;
17571|      0|                return NULL;
17572|      0|            }
17573|  6.75k|            int _end_lineno = _token->end_lineno;
17574|  6.75k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  6.75k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.75k]
  |  |  ------------------
  ------------------
17575|  6.75k|            int _end_col_offset = _token->end_col_offset;
17576|  6.75k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  6.75k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.75k]
  |  |  ------------------
  ------------------
17577|  6.75k|            _res = _PyAST_Dict ( CHECK ( asdl_expr_seq* , _PyPegen_get_keys ( p , a ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_values ( p , a ) ) , EXTRA );
  ------------------
  |  |  280|  6.75k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Dict ( CHECK ( asdl_expr_seq* , _PyPegen_get_keys ( p , a ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_values ( p , a ) ) , EXTRA );
  ------------------
  |  |  280|  6.75k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Dict ( CHECK ( asdl_expr_seq* , _PyPegen_get_keys ( p , a ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_values ( p , a ) ) , EXTRA );
  ------------------
  |  |  316|  6.75k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17578|  6.75k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17578:18): [True: 0, False: 6.75k]
  |  Branch (17578:34): [True: 0, False: 6.75k]
  |  Branch (17578:57): [True: 0, False: 0]
  ------------------
17579|      0|                p->error_indicator = 1;
17580|      0|                p->level--;
17581|      0|                return NULL;
17582|      0|            }
17583|  6.75k|            goto done;
17584|  6.75k|        }
17585|  32.3k|        p->mark = _mark;
17586|  32.3k|        D(fprintf(stderr, "%*c%s dict[%d-%d]: %s failed!\n", p->level, ' ',
17587|  32.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17588|  32.3k|    }
17589|      0|    { // '{' invalid_double_starred_kvpairs '}'
17590|  32.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (17590:13): [True: 558, False: 31.7k]
  ------------------
17591|    558|            p->level--;
17592|    558|            return NULL;
17593|    558|        }
17594|  31.7k|        D(fprintf(stderr, "%*c> dict[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17595|  31.7k|        Token * _literal;
17596|  31.7k|        Token * _literal_1;
17597|  31.7k|        void *invalid_double_starred_kvpairs_var;
17598|  31.7k|        if (
17599|  31.7k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17599:13): [True: 31.7k, False: 0]
  ------------------
17600|  31.7k|            &&
17601|  31.7k|            (invalid_double_starred_kvpairs_var = invalid_double_starred_kvpairs_rule(p))  // invalid_double_starred_kvpairs
  ------------------
  |  |  637|  31.7k|#define invalid_double_starred_kvpairs_rule _PyPegen_invalid_double_starred_kvpairs_rule
  ------------------
  |  Branch (17601:13): [True: 0, False: 31.7k]
  ------------------
17602|      0|            &&
17603|      0|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17603:13): [True: 0, False: 0]
  ------------------
17604|  31.7k|        )
17605|      0|        {
17606|      0|            D(fprintf(stderr, "%*c+ dict[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17607|      0|            _res = _PyPegen_dummy_name(p, _literal, invalid_double_starred_kvpairs_var, _literal_1);
17608|      0|            goto done;
17609|      0|        }
17610|  31.7k|        p->mark = _mark;
17611|  31.7k|        D(fprintf(stderr, "%*c%s dict[%d-%d]: %s failed!\n", p->level, ' ',
17612|  31.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17613|  31.7k|    }
17614|  31.7k|    _res = NULL;
17615|  38.5k|  done:
17616|  38.5k|    p->level--;
17617|  38.5k|    return _res;
17618|  31.7k|}
parser.c:double_starred_kvpairs_rule:
17623|  39.0k|{
17624|  39.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  78.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17624:9): [True: 0, False: 39.0k]
  |  Branch (17624:35): [True: 0, False: 39.0k]
  ------------------
17625|      0|        _Pypegen_stack_overflow(p);
17626|      0|    }
17627|  39.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (17627:9): [True: 0, False: 39.0k]
  ------------------
17628|      0|        p->level--;
17629|      0|        return NULL;
17630|      0|    }
17631|  39.0k|    asdl_seq* _res = NULL;
17632|  39.0k|    int _mark = p->mark;
17633|  39.0k|    { // ','.double_starred_kvpair+ ','?
17634|  39.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (17634:13): [True: 0, False: 39.0k]
  ------------------
17635|      0|            p->level--;
17636|      0|            return NULL;
17637|      0|        }
17638|  39.0k|        D(fprintf(stderr, "%*c> double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17639|  39.0k|        void *_opt_var;
17640|  39.0k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  39.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 39.0k]
  |  |  ------------------
  ------------------
17641|  39.0k|        asdl_seq * a;
17642|  39.0k|        if (
17643|  39.0k|            (a = _gather_86_rule(p))  // ','.double_starred_kvpair+
  ------------------
  |  Branch (17643:13): [True: 4.45k, False: 34.6k]
  ------------------
17644|  4.45k|            &&
17645|  4.45k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (17645:13): [True: 3.90k, False: 558]
  ------------------
17646|  39.0k|        )
17647|  3.90k|        {
17648|  3.90k|            D(fprintf(stderr, "%*c+ double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17649|  3.90k|            _res = a;
17650|  3.90k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17650:18): [True: 0, False: 3.90k]
  |  Branch (17650:34): [True: 0, False: 3.90k]
  |  Branch (17650:57): [True: 0, False: 0]
  ------------------
17651|      0|                p->error_indicator = 1;
17652|      0|                p->level--;
17653|      0|                return NULL;
17654|      0|            }
17655|  3.90k|            goto done;
17656|  3.90k|        }
17657|  35.1k|        p->mark = _mark;
17658|  35.1k|        D(fprintf(stderr, "%*c%s double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
17659|  35.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17660|  35.1k|    }
17661|  35.1k|    _res = NULL;
17662|  39.0k|  done:
17663|  39.0k|    p->level--;
17664|  39.0k|    return _res;
17665|  35.1k|}
parser.c:_gather_86_rule:
24713|  39.0k|{
24714|  39.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  78.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24714:9): [True: 0, False: 39.0k]
  |  Branch (24714:35): [True: 0, False: 39.0k]
  ------------------
24715|      0|        _Pypegen_stack_overflow(p);
24716|      0|    }
24717|  39.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (24717:9): [True: 0, False: 39.0k]
  ------------------
24718|      0|        p->level--;
24719|      0|        return NULL;
24720|      0|    }
24721|  39.0k|    asdl_seq * _res = NULL;
24722|  39.0k|    int _mark = p->mark;
24723|  39.0k|    { // double_starred_kvpair _loop0_85
24724|  39.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (24724:13): [True: 0, False: 39.0k]
  ------------------
24725|      0|            p->level--;
24726|      0|            return NULL;
24727|      0|        }
24728|  39.0k|        D(fprintf(stderr, "%*c> _gather_86[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "double_starred_kvpair _loop0_85"));
24729|  39.0k|        KeyValuePair* elem;
24730|  39.0k|        asdl_seq * seq;
24731|  39.0k|        if (
24732|  39.0k|            (elem = double_starred_kvpair_rule(p))  // double_starred_kvpair
  ------------------
  |  |  517|  39.0k|#define double_starred_kvpair_rule _PyPegen_double_starred_kvpair_rule
  ------------------
  |  Branch (24732:13): [True: 4.45k, False: 34.6k]
  ------------------
24733|  4.45k|            &&
24734|  4.45k|            (seq = _loop0_85_rule(p))  // _loop0_85
  ------------------
  |  Branch (24734:13): [True: 4.45k, False: 0]
  ------------------
24735|  39.0k|        )
24736|  4.45k|        {
24737|  4.45k|            D(fprintf(stderr, "%*c+ _gather_86[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "double_starred_kvpair _loop0_85"));
24738|  4.45k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
24739|  4.45k|            goto done;
24740|  4.45k|        }
24741|  34.6k|        p->mark = _mark;
24742|  34.6k|        D(fprintf(stderr, "%*c%s _gather_86[%d-%d]: %s failed!\n", p->level, ' ',
24743|  34.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "double_starred_kvpair _loop0_85"));
24744|  34.6k|    }
24745|  34.6k|    _res = NULL;
24746|  39.0k|  done:
24747|  39.0k|    p->level--;
24748|  39.0k|    return _res;
24749|  34.6k|}
parser.c:_loop0_85_rule:
24646|  4.45k|{
24647|  4.45k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.91k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24647:9): [True: 0, False: 4.45k]
  |  Branch (24647:35): [True: 0, False: 4.45k]
  ------------------
24648|      0|        _Pypegen_stack_overflow(p);
24649|      0|    }
24650|  4.45k|    if (p->error_indicator) {
  ------------------
  |  Branch (24650:9): [True: 0, False: 4.45k]
  ------------------
24651|      0|        p->level--;
24652|      0|        return NULL;
24653|      0|    }
24654|  4.45k|    void *_res = NULL;
24655|  4.45k|    int _mark = p->mark;
24656|  4.45k|    void **_children = NULL;
24657|  4.45k|    Py_ssize_t _children_capacity = 0;
24658|  4.45k|    Py_ssize_t _n = 0;
24659|  4.45k|    { // ',' double_starred_kvpair
24660|  4.45k|        if (p->error_indicator) {
  ------------------
  |  Branch (24660:13): [True: 0, False: 4.45k]
  ------------------
24661|      0|            p->level--;
24662|      0|            return NULL;
24663|      0|        }
24664|  4.45k|        D(fprintf(stderr, "%*c> _loop0_85[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' double_starred_kvpair"));
24665|  4.45k|        Token * _literal;
24666|  4.45k|        KeyValuePair* elem;
24667|  4.45k|        while (
24668|  13.6k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (24668:13): [True: 10.2k, False: 3.39k]
  ------------------
24669|  10.2k|            &&
24670|  10.2k|            (elem = double_starred_kvpair_rule(p))  // double_starred_kvpair
  ------------------
  |  |  517|  10.2k|#define double_starred_kvpair_rule _PyPegen_double_starred_kvpair_rule
  ------------------
  |  Branch (24670:13): [True: 9.20k, False: 1.06k]
  ------------------
24671|  4.45k|        )
24672|  9.20k|        {
24673|  9.20k|            _res = elem;
24674|  9.20k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24674:18): [True: 0, False: 9.20k]
  |  Branch (24674:34): [True: 0, False: 9.20k]
  |  Branch (24674:57): [True: 0, False: 0]
  ------------------
24675|      0|                p->error_indicator = 1;
24676|      0|                PyMem_Free(_children);
24677|      0|                p->level--;
24678|      0|                return NULL;
24679|      0|            }
24680|  9.20k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24680:17): [True: 6.25k, False: 2.94k]
  ------------------
24681|  6.25k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24681:21): [True: 0, False: 6.25k]
  ------------------
24682|      0|                    p->error_indicator = 1;
24683|      0|                    PyErr_NoMemory();
24684|      0|                    PyMem_Free(_children);
24685|      0|                    p->level--;
24686|      0|                    return NULL;
24687|      0|                }
24688|  6.25k|            }
24689|  9.20k|            _children[_n++] = _res;
24690|  9.20k|            _mark = p->mark;
24691|  9.20k|        }
24692|  4.45k|        p->mark = _mark;
24693|  4.45k|        D(fprintf(stderr, "%*c%s _loop0_85[%d-%d]: %s failed!\n", p->level, ' ',
24694|  4.45k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' double_starred_kvpair"));
24695|  4.45k|    }
24696|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24697|  4.45k|    if (!_seq) {
  ------------------
  |  Branch (24697:9): [True: 0, False: 4.45k]
  ------------------
24698|      0|        p->error_indicator = 1;
24699|      0|        PyErr_NoMemory();
24700|      0|        PyMem_Free(_children);
24701|      0|        p->level--;
24702|      0|        return NULL;
24703|      0|    }
24704|  13.6k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  9.20k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  13.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24704:28): [True: 9.20k, False: 4.45k]
  ------------------
24705|  4.45k|    PyMem_Free(_children);
24706|  4.45k|    p->level--;
24707|  4.45k|    return _seq;
24708|  4.45k|}
parser.c:set_rule:
17464|  31.0k|{
17465|  31.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  62.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17465:9): [True: 0, False: 31.0k]
  |  Branch (17465:35): [True: 0, False: 31.0k]
  ------------------
17466|      0|        _Pypegen_stack_overflow(p);
17467|      0|    }
17468|  31.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (17468:9): [True: 0, False: 31.0k]
  ------------------
17469|      0|        p->level--;
17470|      0|        return NULL;
17471|      0|    }
17472|  31.0k|    expr_ty _res = NULL;
17473|  31.0k|    int _mark = p->mark;
17474|  31.0k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17474:9): [True: 0, False: 31.0k]
  |  Branch (17474:31): [True: 0, False: 0]
  ------------------
17475|      0|        p->error_indicator = 1;
17476|      0|        p->level--;
17477|      0|        return NULL;
17478|      0|    }
17479|  31.0k|    int _start_lineno = p->tokens[_mark]->lineno;
17480|  31.0k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  31.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 31.0k]
  |  |  ------------------
  ------------------
17481|  31.0k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17482|  31.0k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  31.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 31.0k]
  |  |  ------------------
  ------------------
17483|  31.0k|    { // '{' display_items '}'
17484|  31.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (17484:13): [True: 0, False: 31.0k]
  ------------------
17485|      0|            p->level--;
17486|      0|            return NULL;
17487|      0|        }
17488|  31.0k|        D(fprintf(stderr, "%*c> set[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' display_items '}'"));
17489|  31.0k|        Token * _literal;
17490|  31.0k|        Token * _literal_1;
17491|  31.0k|        asdl_expr_seq* a;
17492|  31.0k|        if (
17493|  31.0k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17493:13): [True: 31.0k, False: 0]
  ------------------
17494|  31.0k|            &&
17495|  31.0k|            (a = display_items_rule(p))  // display_items
  ------------------
  |  Branch (17495:13): [True: 25.3k, False: 5.68k]
  ------------------
17496|  25.3k|            &&
17497|  25.3k|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17497:13): [True: 19.6k, False: 5.64k]
  ------------------
17498|  31.0k|        )
17499|  19.6k|        {
17500|  19.6k|            D(fprintf(stderr, "%*c+ set[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' display_items '}'"));
17501|  19.6k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17502|  19.6k|            if (_token == NULL) {
  ------------------
  |  Branch (17502:17): [True: 0, False: 19.6k]
  ------------------
17503|      0|                p->level--;
17504|      0|                return NULL;
17505|      0|            }
17506|  19.6k|            int _end_lineno = _token->end_lineno;
17507|  19.6k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  19.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 19.6k]
  |  |  ------------------
  ------------------
17508|  19.6k|            int _end_col_offset = _token->end_col_offset;
17509|  19.6k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  19.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 19.6k]
  |  |  ------------------
  ------------------
17510|  19.6k|            _res = _PyAST_Set ( a , EXTRA );
  ------------------
  |  |  316|  19.6k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17511|  19.6k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17511:18): [True: 0, False: 19.6k]
  |  Branch (17511:34): [True: 0, False: 19.6k]
  |  Branch (17511:57): [True: 0, False: 0]
  ------------------
17512|      0|                p->error_indicator = 1;
17513|      0|                p->level--;
17514|      0|                return NULL;
17515|      0|            }
17516|  19.6k|            goto done;
17517|  19.6k|        }
17518|  11.3k|        p->mark = _mark;
17519|  11.3k|        D(fprintf(stderr, "%*c%s set[%d-%d]: %s failed!\n", p->level, ' ',
17520|  11.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' display_items '}'"));
17521|  11.3k|    }
17522|  11.3k|    _res = NULL;
17523|  31.0k|  done:
17524|  31.0k|    p->level--;
17525|  31.0k|    return _res;
17526|  11.3k|}
parser.c:_tmp_100_rule:
25468|   692k|{
25469|   692k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.38M|#  define MAXSTACK 6000
  ------------------
  |  Branch (25469:9): [True: 0, False: 692k]
  |  Branch (25469:35): [True: 0, False: 692k]
  ------------------
25470|      0|        _Pypegen_stack_overflow(p);
25471|      0|    }
25472|   692k|    if (p->error_indicator) {
  ------------------
  |  Branch (25472:9): [True: 0, False: 692k]
  ------------------
25473|      0|        p->level--;
25474|      0|        return NULL;
25475|      0|    }
25476|   692k|    void * _res = NULL;
25477|   692k|    int _mark = p->mark;
25478|   692k|    { // '('
25479|   692k|        if (p->error_indicator) {
  ------------------
  |  Branch (25479:13): [True: 0, False: 692k]
  ------------------
25480|      0|            p->level--;
25481|      0|            return NULL;
25482|      0|        }
25483|   692k|        D(fprintf(stderr, "%*c> _tmp_100[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'('"));
25484|   692k|        Token * _literal;
25485|   692k|        if (
25486|   692k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (25486:13): [True: 1.97k, False: 690k]
  ------------------
25487|   692k|        )
25488|  1.97k|        {
25489|  1.97k|            D(fprintf(stderr, "%*c+ _tmp_100[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'('"));
25490|  1.97k|            _res = _literal;
25491|  1.97k|            goto done;
25492|  1.97k|        }
25493|   690k|        p->mark = _mark;
25494|   690k|        D(fprintf(stderr, "%*c%s _tmp_100[%d-%d]: %s failed!\n", p->level, ' ',
25495|   690k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'('"));
25496|   690k|    }
25497|      0|    { // '['
25498|   690k|        if (p->error_indicator) {
  ------------------
  |  Branch (25498:13): [True: 0, False: 690k]
  ------------------
25499|      0|            p->level--;
25500|      0|            return NULL;
25501|      0|        }
25502|   690k|        D(fprintf(stderr, "%*c> _tmp_100[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'['"));
25503|   690k|        Token * _literal;
25504|   690k|        if (
25505|   690k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (25505:13): [True: 915, False: 689k]
  ------------------
25506|   690k|        )
25507|    915|        {
25508|    915|            D(fprintf(stderr, "%*c+ _tmp_100[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'['"));
25509|    915|            _res = _literal;
25510|    915|            goto done;
25511|    915|        }
25512|   689k|        p->mark = _mark;
25513|   689k|        D(fprintf(stderr, "%*c%s _tmp_100[%d-%d]: %s failed!\n", p->level, ' ',
25514|   689k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'['"));
25515|   689k|    }
25516|      0|    { // '.'
25517|   689k|        if (p->error_indicator) {
  ------------------
  |  Branch (25517:13): [True: 0, False: 689k]
  ------------------
25518|      0|            p->level--;
25519|      0|            return NULL;
25520|      0|        }
25521|   689k|        D(fprintf(stderr, "%*c> _tmp_100[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'.'"));
25522|   689k|        Token * _literal;
25523|   689k|        if (
25524|   689k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (25524:13): [True: 324, False: 689k]
  ------------------
25525|   689k|        )
25526|    324|        {
25527|    324|            D(fprintf(stderr, "%*c+ _tmp_100[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'.'"));
25528|    324|            _res = _literal;
25529|    324|            goto done;
25530|    324|        }
25531|   689k|        p->mark = _mark;
25532|   689k|        D(fprintf(stderr, "%*c%s _tmp_100[%d-%d]: %s failed!\n", p->level, ' ',
25533|   689k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'.'"));
25534|   689k|    }
25535|   689k|    _res = NULL;
25536|   692k|  done:
25537|   692k|    p->level--;
25538|   692k|    return _res;
25539|   689k|}
parser.c:_loop1_12_rule:
20398|   235k|{
20399|   235k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   470k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20399:9): [True: 0, False: 235k]
  |  Branch (20399:35): [True: 0, False: 235k]
  ------------------
20400|      0|        _Pypegen_stack_overflow(p);
20401|      0|    }
20402|   235k|    if (p->error_indicator) {
  ------------------
  |  Branch (20402:9): [True: 0, False: 235k]
  ------------------
20403|      0|        p->level--;
20404|      0|        return NULL;
20405|      0|    }
20406|   235k|    void *_res = NULL;
20407|   235k|    int _mark = p->mark;
20408|   235k|    void **_children = NULL;
20409|   235k|    Py_ssize_t _children_capacity = 0;
20410|   235k|    Py_ssize_t _n = 0;
20411|   235k|    { // (star_targets '=')
20412|   235k|        if (p->error_indicator) {
  ------------------
  |  Branch (20412:13): [True: 0, False: 235k]
  ------------------
20413|      0|            p->level--;
20414|      0|            return NULL;
20415|      0|        }
20416|   235k|        D(fprintf(stderr, "%*c> _loop1_12[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(star_targets '=')"));
20417|   235k|        void *_tmp_178_var;
20418|   235k|        while (
20419|   284k|            (_tmp_178_var = _tmp_178_rule(p))  // star_targets '='
  ------------------
  |  Branch (20419:13): [True: 49.4k, False: 235k]
  ------------------
20420|   235k|        )
20421|  49.4k|        {
20422|  49.4k|            _res = _tmp_178_var;
20423|  49.4k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (20423:17): [True: 23.2k, False: 26.1k]
  ------------------
20424|  23.2k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (20424:21): [True: 0, False: 23.2k]
  ------------------
20425|      0|                    p->error_indicator = 1;
20426|      0|                    PyErr_NoMemory();
20427|      0|                    PyMem_Free(_children);
20428|      0|                    p->level--;
20429|      0|                    return NULL;
20430|      0|                }
20431|  23.2k|            }
20432|  49.4k|            _children[_n++] = _res;
20433|  49.4k|            _mark = p->mark;
20434|  49.4k|        }
20435|   235k|        p->mark = _mark;
20436|   235k|        D(fprintf(stderr, "%*c%s _loop1_12[%d-%d]: %s failed!\n", p->level, ' ',
20437|   235k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(star_targets '=')"));
20438|   235k|    }
20439|   235k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (20439:9): [True: 226k, False: 9.05k]
  |  Branch (20439:20): [True: 406, False: 8.65k]
  ------------------
20440|   226k|        PyMem_Free(_children);
20441|   226k|        p->level--;
20442|   226k|        return NULL;
20443|   226k|    }
20444|  8.65k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
20445|  8.65k|    if (!_seq) {
  ------------------
  |  Branch (20445:9): [True: 0, False: 8.65k]
  ------------------
20446|      0|        p->error_indicator = 1;
20447|      0|        PyErr_NoMemory();
20448|      0|        PyMem_Free(_children);
20449|      0|        p->level--;
20450|      0|        return NULL;
20451|      0|    }
20452|  57.6k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  48.9k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  57.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (20452:28): [True: 48.9k, False: 8.65k]
  ------------------
20453|  8.65k|    PyMem_Free(_children);
20454|  8.65k|    p->level--;
20455|  8.65k|    return _seq;
20456|  8.65k|}
parser.c:_tmp_178_rule:
25801|   284k|{
25802|   284k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   569k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25802:9): [True: 0, False: 284k]
  |  Branch (25802:35): [True: 0, False: 284k]
  ------------------
25803|      0|        _Pypegen_stack_overflow(p);
25804|      0|    }
25805|   284k|    if (p->error_indicator) {
  ------------------
  |  Branch (25805:9): [True: 0, False: 284k]
  ------------------
25806|      0|        p->level--;
25807|      0|        return NULL;
25808|      0|    }
25809|   284k|    void * _res = NULL;
25810|   284k|    int _mark = p->mark;
25811|   284k|    { // star_targets '='
25812|   284k|        if (p->error_indicator) {
  ------------------
  |  Branch (25812:13): [True: 0, False: 284k]
  ------------------
25813|      0|            p->level--;
25814|      0|            return NULL;
25815|      0|        }
25816|   284k|        D(fprintf(stderr, "%*c> _tmp_178[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_targets '='"));
25817|   284k|        Token * _literal;
25818|   284k|        expr_ty z;
25819|   284k|        if (
25820|   284k|            (z = star_targets_rule(p))  // star_targets
  ------------------
  |  |  531|   284k|#define star_targets_rule _PyPegen_star_targets_rule
  ------------------
  |  Branch (25820:13): [True: 187k, False: 97.3k]
  ------------------
25821|   187k|            &&
25822|   187k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (25822:13): [True: 49.4k, False: 138k]
  ------------------
25823|   284k|        )
25824|  49.4k|        {
25825|  49.4k|            D(fprintf(stderr, "%*c+ _tmp_178[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_targets '='"));
25826|  49.4k|            _res = z;
25827|  49.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25827:18): [True: 0, False: 49.4k]
  |  Branch (25827:34): [True: 0, False: 49.4k]
  |  Branch (25827:57): [True: 0, False: 0]
  ------------------
25828|      0|                p->error_indicator = 1;
25829|      0|                p->level--;
25830|      0|                return NULL;
25831|      0|            }
25832|  49.4k|            goto done;
25833|  49.4k|        }
25834|   235k|        p->mark = _mark;
25835|   235k|        D(fprintf(stderr, "%*c%s _tmp_178[%d-%d]: %s failed!\n", p->level, ' ',
25836|   235k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_targets '='"));
25837|   235k|    }
25838|   235k|    _res = NULL;
25839|   284k|  done:
25840|   284k|    p->level--;
25841|   284k|    return _res;
25842|   235k|}
parser.c:single_target_rule:
19169|   228k|{
19170|   228k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   456k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19170:9): [True: 0, False: 228k]
  |  Branch (19170:35): [True: 0, False: 228k]
  ------------------
19171|      0|        _Pypegen_stack_overflow(p);
19172|      0|    }
19173|   228k|    if (p->error_indicator) {
  ------------------
  |  Branch (19173:9): [True: 0, False: 228k]
  ------------------
19174|      0|        p->level--;
19175|      0|        return NULL;
19176|      0|    }
19177|   228k|    expr_ty _res = NULL;
19178|   228k|    int _mark = p->mark;
19179|   228k|    { // target_value
19180|   228k|        if (p->error_indicator) {
  ------------------
  |  Branch (19180:13): [True: 0, False: 228k]
  ------------------
19181|      0|            p->level--;
19182|      0|            return NULL;
19183|      0|        }
19184|   228k|        D(fprintf(stderr, "%*c> single_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "target_value"));
19185|   228k|        expr_ty a;
19186|   228k|        if (
19187|   228k|            (a = target_value_rule(p))  // target_value
  ------------------
  |  Branch (19187:13): [True: 161k, False: 66.4k]
  ------------------
19188|   228k|        )
19189|   161k|        {
19190|   161k|            D(fprintf(stderr, "%*c+ single_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "target_value"));
19191|   161k|            _res = _PyPegen_make_target ( p , a , SINGLE_TARGETS );
19192|   161k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19192:18): [True: 31.9k, False: 129k]
  |  Branch (19192:34): [True: 0, False: 129k]
  |  Branch (19192:57): [True: 0, False: 31.9k]
  ------------------
19193|      0|                p->error_indicator = 1;
19194|      0|                p->level--;
19195|      0|                return NULL;
19196|      0|            }
19197|   161k|            goto done;
19198|   161k|        }
19199|  66.4k|        p->mark = _mark;
19200|  66.4k|        D(fprintf(stderr, "%*c%s single_target[%d-%d]: %s failed!\n", p->level, ' ',
19201|  66.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "target_value"));
19202|  66.4k|    }
19203|  66.4k|    _res = NULL;
19204|   228k|  done:
19205|   228k|    p->level--;
19206|   228k|    return _res;
19207|  66.4k|}
parser.c:return_stmt_rule:
 2641|  1.64k|{
 2642|  1.64k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.28k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2642:9): [True: 0, False: 1.64k]
  |  Branch (2642:35): [True: 0, False: 1.64k]
  ------------------
 2643|      0|        _Pypegen_stack_overflow(p);
 2644|      0|    }
 2645|  1.64k|    if (p->error_indicator) {
  ------------------
  |  Branch (2645:9): [True: 0, False: 1.64k]
  ------------------
 2646|      0|        p->level--;
 2647|      0|        return NULL;
 2648|      0|    }
 2649|  1.64k|    stmt_ty _res = NULL;
 2650|  1.64k|    int _mark = p->mark;
 2651|  1.64k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2651:9): [True: 0, False: 1.64k]
  |  Branch (2651:31): [True: 0, False: 0]
  ------------------
 2652|      0|        p->error_indicator = 1;
 2653|      0|        p->level--;
 2654|      0|        return NULL;
 2655|      0|    }
 2656|  1.64k|    int _start_lineno = p->tokens[_mark]->lineno;
 2657|  1.64k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.64k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.64k]
  |  |  ------------------
  ------------------
 2658|  1.64k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2659|  1.64k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.64k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.64k]
  |  |  ------------------
  ------------------
 2660|  1.64k|    { // 'return' star_expressions?
 2661|  1.64k|        if (p->error_indicator) {
  ------------------
  |  Branch (2661:13): [True: 0, False: 1.64k]
  ------------------
 2662|      0|            p->level--;
 2663|      0|            return NULL;
 2664|      0|        }
 2665|  1.64k|        D(fprintf(stderr, "%*c> return_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'return' star_expressions?"));
 2666|  1.64k|        Token * _keyword;
 2667|  1.64k|        void *a;
 2668|  1.64k|        if (
 2669|  1.64k|            (_keyword = _PyPegen_expect_token(p, 502))  // token='return'
  ------------------
  |  Branch (2669:13): [True: 1.64k, False: 0]
  ------------------
 2670|  1.64k|            &&
 2671|  1.64k|            (a = star_expressions_rule(p), !p->error_indicator)  // star_expressions?
  ------------------
  |  |  467|  1.64k|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (2671:13): [True: 1.59k, False: 42]
  ------------------
 2672|  1.64k|        )
 2673|  1.59k|        {
 2674|  1.59k|            D(fprintf(stderr, "%*c+ return_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'return' star_expressions?"));
 2675|  1.59k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2676|  1.59k|            if (_token == NULL) {
  ------------------
  |  Branch (2676:17): [True: 0, False: 1.59k]
  ------------------
 2677|      0|                p->level--;
 2678|      0|                return NULL;
 2679|      0|            }
 2680|  1.59k|            int _end_lineno = _token->end_lineno;
 2681|  1.59k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.59k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.59k]
  |  |  ------------------
  ------------------
 2682|  1.59k|            int _end_col_offset = _token->end_col_offset;
 2683|  1.59k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.59k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.59k]
  |  |  ------------------
  ------------------
 2684|  1.59k|            _res = _PyAST_Return ( a , EXTRA );
  ------------------
  |  |  316|  1.59k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2685|  1.59k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2685:18): [True: 0, False: 1.59k]
  |  Branch (2685:34): [True: 0, False: 1.59k]
  |  Branch (2685:57): [True: 0, False: 0]
  ------------------
 2686|      0|                p->error_indicator = 1;
 2687|      0|                p->level--;
 2688|      0|                return NULL;
 2689|      0|            }
 2690|  1.59k|            goto done;
 2691|  1.59k|        }
 2692|     42|        p->mark = _mark;
 2693|     42|        D(fprintf(stderr, "%*c%s return_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2694|     42|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'return' star_expressions?"));
 2695|     42|    }
 2696|     42|    _res = NULL;
 2697|  1.64k|  done:
 2698|  1.64k|    p->level--;
 2699|  1.64k|    return _res;
 2700|     42|}
parser.c:raise_stmt_rule:
 2709|  1.41k|{
 2710|  1.41k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.82k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2710:9): [True: 0, False: 1.41k]
  |  Branch (2710:35): [True: 0, False: 1.41k]
  ------------------
 2711|      0|        _Pypegen_stack_overflow(p);
 2712|      0|    }
 2713|  1.41k|    if (p->error_indicator) {
  ------------------
  |  Branch (2713:9): [True: 0, False: 1.41k]
  ------------------
 2714|      0|        p->level--;
 2715|      0|        return NULL;
 2716|      0|    }
 2717|  1.41k|    stmt_ty _res = NULL;
 2718|  1.41k|    int _mark = p->mark;
 2719|  1.41k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2719:9): [True: 0, False: 1.41k]
  |  Branch (2719:31): [True: 0, False: 0]
  ------------------
 2720|      0|        p->error_indicator = 1;
 2721|      0|        p->level--;
 2722|      0|        return NULL;
 2723|      0|    }
 2724|  1.41k|    int _start_lineno = p->tokens[_mark]->lineno;
 2725|  1.41k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.41k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.41k]
  |  |  ------------------
  ------------------
 2726|  1.41k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2727|  1.41k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.41k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.41k]
  |  |  ------------------
  ------------------
 2728|  1.41k|    { // 'raise' expression 'from' expression
 2729|  1.41k|        if (p->error_indicator) {
  ------------------
  |  Branch (2729:13): [True: 0, False: 1.41k]
  ------------------
 2730|      0|            p->level--;
 2731|      0|            return NULL;
 2732|      0|        }
 2733|  1.41k|        D(fprintf(stderr, "%*c> raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'raise' expression 'from' expression"));
 2734|  1.41k|        Token * _keyword;
 2735|  1.41k|        Token * _keyword_1;
 2736|  1.41k|        expr_ty a;
 2737|  1.41k|        expr_ty b;
 2738|  1.41k|        if (
 2739|  1.41k|            (_keyword = _PyPegen_expect_token(p, 503))  // token='raise'
  ------------------
  |  Branch (2739:13): [True: 1.41k, False: 0]
  ------------------
 2740|  1.41k|            &&
 2741|  1.41k|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|  1.41k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2741:13): [True: 804, False: 608]
  ------------------
 2742|    804|            &&
 2743|    804|            (_keyword_1 = _PyPegen_expect_token(p, 501))  // token='from'
  ------------------
  |  Branch (2743:13): [True: 277, False: 527]
  ------------------
 2744|    277|            &&
 2745|    277|            (b = expression_rule(p))  // expression
  ------------------
  |  |  461|    277|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2745:13): [True: 274, False: 3]
  ------------------
 2746|  1.41k|        )
 2747|    274|        {
 2748|    274|            D(fprintf(stderr, "%*c+ raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'raise' expression 'from' expression"));
 2749|    274|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2750|    274|            if (_token == NULL) {
  ------------------
  |  Branch (2750:17): [True: 0, False: 274]
  ------------------
 2751|      0|                p->level--;
 2752|      0|                return NULL;
 2753|      0|            }
 2754|    274|            int _end_lineno = _token->end_lineno;
 2755|    274|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    274|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 274]
  |  |  ------------------
  ------------------
 2756|    274|            int _end_col_offset = _token->end_col_offset;
 2757|    274|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    274|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 274]
  |  |  ------------------
  ------------------
 2758|    274|            _res = _PyAST_Raise ( a , b , EXTRA );
  ------------------
  |  |  316|    274|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2759|    274|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2759:18): [True: 0, False: 274]
  |  Branch (2759:34): [True: 0, False: 274]
  |  Branch (2759:57): [True: 0, False: 0]
  ------------------
 2760|      0|                p->error_indicator = 1;
 2761|      0|                p->level--;
 2762|      0|                return NULL;
 2763|      0|            }
 2764|    274|            goto done;
 2765|    274|        }
 2766|  1.13k|        p->mark = _mark;
 2767|  1.13k|        D(fprintf(stderr, "%*c%s raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2768|  1.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'raise' expression 'from' expression"));
 2769|  1.13k|    }
 2770|  1.13k|    if (p->call_invalid_rules) { // invalid_raise_stmt
  ------------------
  |  Branch (2770:9): [True: 412, False: 726]
  ------------------
 2771|    412|        if (p->error_indicator) {
  ------------------
  |  Branch (2771:13): [True: 2, False: 410]
  ------------------
 2772|      2|            p->level--;
 2773|      2|            return NULL;
 2774|      2|        }
 2775|    410|        D(fprintf(stderr, "%*c> raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_raise_stmt"));
 2776|    410|        void *invalid_raise_stmt_var;
 2777|    410|        if (
 2778|    410|            (invalid_raise_stmt_var = invalid_raise_stmt_rule(p))  // invalid_raise_stmt
  ------------------
  |  |  553|    410|#define invalid_raise_stmt_rule _PyPegen_invalid_raise_stmt_rule
  ------------------
  |  Branch (2778:13): [True: 0, False: 410]
  ------------------
 2779|    410|        )
 2780|      0|        {
 2781|      0|            D(fprintf(stderr, "%*c+ raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_raise_stmt"));
 2782|      0|            _res = invalid_raise_stmt_var;
 2783|      0|            goto done;
 2784|      0|        }
 2785|    410|        p->mark = _mark;
 2786|    410|        D(fprintf(stderr, "%*c%s raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2787|    410|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_raise_stmt"));
 2788|    410|    }
 2789|  1.13k|    { // 'raise' expression
 2790|  1.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (2790:13): [True: 4, False: 1.13k]
  ------------------
 2791|      4|            p->level--;
 2792|      4|            return NULL;
 2793|      4|        }
 2794|  1.13k|        D(fprintf(stderr, "%*c> raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'raise' expression"));
 2795|  1.13k|        Token * _keyword;
 2796|  1.13k|        expr_ty a;
 2797|  1.13k|        if (
 2798|  1.13k|            (_keyword = _PyPegen_expect_token(p, 503))  // token='raise'
  ------------------
  |  Branch (2798:13): [True: 1.13k, False: 0]
  ------------------
 2799|  1.13k|            &&
 2800|  1.13k|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|  1.13k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2800:13): [True: 528, False: 604]
  ------------------
 2801|  1.13k|        )
 2802|    528|        {
 2803|    528|            D(fprintf(stderr, "%*c+ raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'raise' expression"));
 2804|    528|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2805|    528|            if (_token == NULL) {
  ------------------
  |  Branch (2805:17): [True: 0, False: 528]
  ------------------
 2806|      0|                p->level--;
 2807|      0|                return NULL;
 2808|      0|            }
 2809|    528|            int _end_lineno = _token->end_lineno;
 2810|    528|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    528|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 528]
  |  |  ------------------
  ------------------
 2811|    528|            int _end_col_offset = _token->end_col_offset;
 2812|    528|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    528|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 528]
  |  |  ------------------
  ------------------
 2813|    528|            _res = _PyAST_Raise ( a , NULL , EXTRA );
  ------------------
  |  |  316|    528|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2814|    528|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2814:18): [True: 0, False: 528]
  |  Branch (2814:34): [True: 0, False: 528]
  |  Branch (2814:57): [True: 0, False: 0]
  ------------------
 2815|      0|                p->error_indicator = 1;
 2816|      0|                p->level--;
 2817|      0|                return NULL;
 2818|      0|            }
 2819|    528|            goto done;
 2820|    528|        }
 2821|    604|        p->mark = _mark;
 2822|    604|        D(fprintf(stderr, "%*c%s raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2823|    604|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'raise' expression"));
 2824|    604|    }
 2825|      0|    { // 'raise'
 2826|    604|        if (p->error_indicator) {
  ------------------
  |  Branch (2826:13): [True: 0, False: 604]
  ------------------
 2827|      0|            p->level--;
 2828|      0|            return NULL;
 2829|      0|        }
 2830|    604|        D(fprintf(stderr, "%*c> raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'raise'"));
 2831|    604|        Token * _keyword;
 2832|    604|        if (
 2833|    604|            (_keyword = _PyPegen_expect_token(p, 503))  // token='raise'
  ------------------
  |  Branch (2833:13): [True: 604, False: 0]
  ------------------
 2834|    604|        )
 2835|    604|        {
 2836|    604|            D(fprintf(stderr, "%*c+ raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'raise'"));
 2837|    604|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2838|    604|            if (_token == NULL) {
  ------------------
  |  Branch (2838:17): [True: 0, False: 604]
  ------------------
 2839|      0|                p->level--;
 2840|      0|                return NULL;
 2841|      0|            }
 2842|    604|            int _end_lineno = _token->end_lineno;
 2843|    604|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    604|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 604]
  |  |  ------------------
  ------------------
 2844|    604|            int _end_col_offset = _token->end_col_offset;
 2845|    604|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    604|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 604]
  |  |  ------------------
  ------------------
 2846|    604|            _res = _PyAST_Raise ( NULL , NULL , EXTRA );
  ------------------
  |  |  316|    604|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2847|    604|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2847:18): [True: 0, False: 604]
  |  Branch (2847:34): [True: 0, False: 604]
  |  Branch (2847:57): [True: 0, False: 0]
  ------------------
 2848|      0|                p->error_indicator = 1;
 2849|      0|                p->level--;
 2850|      0|                return NULL;
 2851|      0|            }
 2852|    604|            goto done;
 2853|    604|        }
 2854|      0|        p->mark = _mark;
 2855|      0|        D(fprintf(stderr, "%*c%s raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2856|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'raise'"));
 2857|      0|    }
 2858|      0|    _res = NULL;
 2859|  1.40k|  done:
 2860|  1.40k|    p->level--;
 2861|  1.40k|    return _res;
 2862|      0|}
parser.c:global_stmt_rule:
 3050|    963|{
 3051|    963|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.92k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3051:9): [True: 0, False: 963]
  |  Branch (3051:35): [True: 0, False: 963]
  ------------------
 3052|      0|        _Pypegen_stack_overflow(p);
 3053|      0|    }
 3054|    963|    if (p->error_indicator) {
  ------------------
  |  Branch (3054:9): [True: 0, False: 963]
  ------------------
 3055|      0|        p->level--;
 3056|      0|        return NULL;
 3057|      0|    }
 3058|    963|    stmt_ty _res = NULL;
 3059|    963|    int _mark = p->mark;
 3060|    963|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3060:9): [True: 0, False: 963]
  |  Branch (3060:31): [True: 0, False: 0]
  ------------------
 3061|      0|        p->error_indicator = 1;
 3062|      0|        p->level--;
 3063|      0|        return NULL;
 3064|      0|    }
 3065|    963|    int _start_lineno = p->tokens[_mark]->lineno;
 3066|    963|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    963|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 963]
  |  |  ------------------
  ------------------
 3067|    963|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3068|    963|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    963|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 963]
  |  |  ------------------
  ------------------
 3069|    963|    { // 'global' ','.NAME+
 3070|    963|        if (p->error_indicator) {
  ------------------
  |  Branch (3070:13): [True: 0, False: 963]
  ------------------
 3071|      0|            p->level--;
 3072|      0|            return NULL;
 3073|      0|        }
 3074|    963|        D(fprintf(stderr, "%*c> global_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'global' ','.NAME+"));
 3075|    963|        Token * _keyword;
 3076|    963|        asdl_expr_seq* a;
 3077|    963|        if (
 3078|    963|            (_keyword = _PyPegen_expect_token(p, 510))  // token='global'
  ------------------
  |  Branch (3078:13): [True: 963, False: 0]
  ------------------
 3079|    963|            &&
 3080|    963|            (a = (asdl_expr_seq*)_gather_14_rule(p))  // ','.NAME+
  ------------------
  |  Branch (3080:13): [True: 957, False: 6]
  ------------------
 3081|    963|        )
 3082|    957|        {
 3083|    957|            D(fprintf(stderr, "%*c+ global_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'global' ','.NAME+"));
 3084|    957|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3085|    957|            if (_token == NULL) {
  ------------------
  |  Branch (3085:17): [True: 0, False: 957]
  ------------------
 3086|      0|                p->level--;
 3087|      0|                return NULL;
 3088|      0|            }
 3089|    957|            int _end_lineno = _token->end_lineno;
 3090|    957|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    957|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 957]
  |  |  ------------------
  ------------------
 3091|    957|            int _end_col_offset = _token->end_col_offset;
 3092|    957|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    957|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 957]
  |  |  ------------------
  ------------------
 3093|    957|            _res = _PyAST_Global ( CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , a ) ) , EXTRA );
  ------------------
  |  |  280|    957|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Global ( CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , a ) ) , EXTRA );
  ------------------
  |  |  316|    957|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3094|    957|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3094:18): [True: 0, False: 957]
  |  Branch (3094:34): [True: 3, False: 954]
  |  Branch (3094:57): [True: 3, False: 0]
  ------------------
 3095|      3|                p->error_indicator = 1;
 3096|      3|                p->level--;
 3097|      3|                return NULL;
 3098|      3|            }
 3099|    954|            goto done;
 3100|    957|        }
 3101|      6|        p->mark = _mark;
 3102|      6|        D(fprintf(stderr, "%*c%s global_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3103|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'global' ','.NAME+"));
 3104|      6|    }
 3105|      6|    _res = NULL;
 3106|    960|  done:
 3107|    960|    p->level--;
 3108|    960|    return _res;
 3109|      6|}
parser.c:_gather_14_rule:
20528|  1.25k|{
20529|  1.25k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.51k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20529:9): [True: 0, False: 1.25k]
  |  Branch (20529:35): [True: 0, False: 1.25k]
  ------------------
20530|      0|        _Pypegen_stack_overflow(p);
20531|      0|    }
20532|  1.25k|    if (p->error_indicator) {
  ------------------
  |  Branch (20532:9): [True: 0, False: 1.25k]
  ------------------
20533|      0|        p->level--;
20534|      0|        return NULL;
20535|      0|    }
20536|  1.25k|    asdl_seq * _res = NULL;
20537|  1.25k|    int _mark = p->mark;
20538|  1.25k|    { // NAME _loop0_13
20539|  1.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (20539:13): [True: 0, False: 1.25k]
  ------------------
20540|      0|            p->level--;
20541|      0|            return NULL;
20542|      0|        }
20543|  1.25k|        D(fprintf(stderr, "%*c> _gather_14[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME _loop0_13"));
20544|  1.25k|        expr_ty elem;
20545|  1.25k|        asdl_seq * seq;
20546|  1.25k|        if (
20547|  1.25k|            (elem = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (20547:13): [True: 1.24k, False: 11]
  ------------------
20548|  1.24k|            &&
20549|  1.24k|            (seq = _loop0_13_rule(p))  // _loop0_13
  ------------------
  |  Branch (20549:13): [True: 1.24k, False: 0]
  ------------------
20550|  1.25k|        )
20551|  1.24k|        {
20552|  1.24k|            D(fprintf(stderr, "%*c+ _gather_14[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME _loop0_13"));
20553|  1.24k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
20554|  1.24k|            goto done;
20555|  1.24k|        }
20556|     11|        p->mark = _mark;
20557|     11|        D(fprintf(stderr, "%*c%s _gather_14[%d-%d]: %s failed!\n", p->level, ' ',
20558|     11|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME _loop0_13"));
20559|     11|    }
20560|     11|    _res = NULL;
20561|  1.25k|  done:
20562|  1.25k|    p->level--;
20563|  1.25k|    return _res;
20564|     11|}
parser.c:_loop0_13_rule:
20461|  1.24k|{
20462|  1.24k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.49k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20462:9): [True: 0, False: 1.24k]
  |  Branch (20462:35): [True: 0, False: 1.24k]
  ------------------
20463|      0|        _Pypegen_stack_overflow(p);
20464|      0|    }
20465|  1.24k|    if (p->error_indicator) {
  ------------------
  |  Branch (20465:9): [True: 0, False: 1.24k]
  ------------------
20466|      0|        p->level--;
20467|      0|        return NULL;
20468|      0|    }
20469|  1.24k|    void *_res = NULL;
20470|  1.24k|    int _mark = p->mark;
20471|  1.24k|    void **_children = NULL;
20472|  1.24k|    Py_ssize_t _children_capacity = 0;
20473|  1.24k|    Py_ssize_t _n = 0;
20474|  1.24k|    { // ',' NAME
20475|  1.24k|        if (p->error_indicator) {
  ------------------
  |  Branch (20475:13): [True: 0, False: 1.24k]
  ------------------
20476|      0|            p->level--;
20477|      0|            return NULL;
20478|      0|        }
20479|  1.24k|        D(fprintf(stderr, "%*c> _loop0_13[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' NAME"));
20480|  1.24k|        Token * _literal;
20481|  1.24k|        expr_ty elem;
20482|  1.24k|        while (
20483|  3.25k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (20483:13): [True: 2.02k, False: 1.23k]
  ------------------
20484|  2.02k|            &&
20485|  2.02k|            (elem = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (20485:13): [True: 2.00k, False: 15]
  ------------------
20486|  1.24k|        )
20487|  2.00k|        {
20488|  2.00k|            _res = elem;
20489|  2.00k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20489:18): [True: 0, False: 2.00k]
  |  Branch (20489:34): [True: 0, False: 2.00k]
  |  Branch (20489:57): [True: 0, False: 0]
  ------------------
20490|      0|                p->error_indicator = 1;
20491|      0|                PyMem_Free(_children);
20492|      0|                p->level--;
20493|      0|                return NULL;
20494|      0|            }
20495|  2.00k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (20495:17): [True: 650, False: 1.35k]
  ------------------
20496|    650|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (20496:21): [True: 0, False: 650]
  ------------------
20497|      0|                    p->error_indicator = 1;
20498|      0|                    PyErr_NoMemory();
20499|      0|                    PyMem_Free(_children);
20500|      0|                    p->level--;
20501|      0|                    return NULL;
20502|      0|                }
20503|    650|            }
20504|  2.00k|            _children[_n++] = _res;
20505|  2.00k|            _mark = p->mark;
20506|  2.00k|        }
20507|  1.24k|        p->mark = _mark;
20508|  1.24k|        D(fprintf(stderr, "%*c%s _loop0_13[%d-%d]: %s failed!\n", p->level, ' ',
20509|  1.24k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' NAME"));
20510|  1.24k|    }
20511|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
20512|  1.24k|    if (!_seq) {
  ------------------
  |  Branch (20512:9): [True: 0, False: 1.24k]
  ------------------
20513|      0|        p->error_indicator = 1;
20514|      0|        PyErr_NoMemory();
20515|      0|        PyMem_Free(_children);
20516|      0|        p->level--;
20517|      0|        return NULL;
20518|      0|    }
20519|  3.25k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  2.00k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  3.25k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (20519:28): [True: 2.00k, False: 1.24k]
  ------------------
20520|  1.24k|    PyMem_Free(_children);
20521|  1.24k|    p->level--;
20522|  1.24k|    return _seq;
20523|  1.24k|}
parser.c:nonlocal_stmt_rule:
 3114|    295|{
 3115|    295|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    590|#  define MAXSTACK 6000
  ------------------
  |  Branch (3115:9): [True: 0, False: 295]
  |  Branch (3115:35): [True: 0, False: 295]
  ------------------
 3116|      0|        _Pypegen_stack_overflow(p);
 3117|      0|    }
 3118|    295|    if (p->error_indicator) {
  ------------------
  |  Branch (3118:9): [True: 0, False: 295]
  ------------------
 3119|      0|        p->level--;
 3120|      0|        return NULL;
 3121|      0|    }
 3122|    295|    stmt_ty _res = NULL;
 3123|    295|    int _mark = p->mark;
 3124|    295|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3124:9): [True: 0, False: 295]
  |  Branch (3124:31): [True: 0, False: 0]
  ------------------
 3125|      0|        p->error_indicator = 1;
 3126|      0|        p->level--;
 3127|      0|        return NULL;
 3128|      0|    }
 3129|    295|    int _start_lineno = p->tokens[_mark]->lineno;
 3130|    295|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    295|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 295]
  |  |  ------------------
  ------------------
 3131|    295|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3132|    295|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    295|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 295]
  |  |  ------------------
  ------------------
 3133|    295|    { // 'nonlocal' ','.NAME+
 3134|    295|        if (p->error_indicator) {
  ------------------
  |  Branch (3134:13): [True: 0, False: 295]
  ------------------
 3135|      0|            p->level--;
 3136|      0|            return NULL;
 3137|      0|        }
 3138|    295|        D(fprintf(stderr, "%*c> nonlocal_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'nonlocal' ','.NAME+"));
 3139|    295|        Token * _keyword;
 3140|    295|        asdl_expr_seq* a;
 3141|    295|        if (
 3142|    295|            (_keyword = _PyPegen_expect_token(p, 511))  // token='nonlocal'
  ------------------
  |  Branch (3142:13): [True: 295, False: 0]
  ------------------
 3143|    295|            &&
 3144|    295|            (a = (asdl_expr_seq*)_gather_14_rule(p))  // ','.NAME+
  ------------------
  |  Branch (3144:13): [True: 290, False: 5]
  ------------------
 3145|    295|        )
 3146|    290|        {
 3147|    290|            D(fprintf(stderr, "%*c+ nonlocal_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'nonlocal' ','.NAME+"));
 3148|    290|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3149|    290|            if (_token == NULL) {
  ------------------
  |  Branch (3149:17): [True: 0, False: 290]
  ------------------
 3150|      0|                p->level--;
 3151|      0|                return NULL;
 3152|      0|            }
 3153|    290|            int _end_lineno = _token->end_lineno;
 3154|    290|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    290|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 290]
  |  |  ------------------
  ------------------
 3155|    290|            int _end_col_offset = _token->end_col_offset;
 3156|    290|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    290|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 290]
  |  |  ------------------
  ------------------
 3157|    290|            _res = _PyAST_Nonlocal ( CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , a ) ) , EXTRA );
  ------------------
  |  |  280|    290|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Nonlocal ( CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , a ) ) , EXTRA );
  ------------------
  |  |  316|    290|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3158|    290|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3158:18): [True: 0, False: 290]
  |  Branch (3158:34): [True: 1, False: 289]
  |  Branch (3158:57): [True: 1, False: 0]
  ------------------
 3159|      1|                p->error_indicator = 1;
 3160|      1|                p->level--;
 3161|      1|                return NULL;
 3162|      1|            }
 3163|    289|            goto done;
 3164|    290|        }
 3165|      5|        p->mark = _mark;
 3166|      5|        D(fprintf(stderr, "%*c%s nonlocal_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3167|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'nonlocal' ','.NAME+"));
 3168|      5|    }
 3169|      5|    _res = NULL;
 3170|    294|  done:
 3171|    294|    p->level--;
 3172|    294|    return _res;
 3173|      5|}
parser.c:del_stmt_rule:
 3178|  1.98k|{
 3179|  1.98k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.96k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3179:9): [True: 0, False: 1.98k]
  |  Branch (3179:35): [True: 0, False: 1.98k]
  ------------------
 3180|      0|        _Pypegen_stack_overflow(p);
 3181|      0|    }
 3182|  1.98k|    if (p->error_indicator) {
  ------------------
  |  Branch (3182:9): [True: 0, False: 1.98k]
  ------------------
 3183|      0|        p->level--;
 3184|      0|        return NULL;
 3185|      0|    }
 3186|  1.98k|    stmt_ty _res = NULL;
 3187|  1.98k|    int _mark = p->mark;
 3188|  1.98k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3188:9): [True: 0, False: 1.98k]
  |  Branch (3188:31): [True: 0, False: 0]
  ------------------
 3189|      0|        p->error_indicator = 1;
 3190|      0|        p->level--;
 3191|      0|        return NULL;
 3192|      0|    }
 3193|  1.98k|    int _start_lineno = p->tokens[_mark]->lineno;
 3194|  1.98k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.98k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.98k]
  |  |  ------------------
  ------------------
 3195|  1.98k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3196|  1.98k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.98k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.98k]
  |  |  ------------------
  ------------------
 3197|  1.98k|    { // 'del' del_targets &(';' | NEWLINE)
 3198|  1.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (3198:13): [True: 0, False: 1.98k]
  ------------------
 3199|      0|            p->level--;
 3200|      0|            return NULL;
 3201|      0|        }
 3202|  1.98k|        D(fprintf(stderr, "%*c> del_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'del' del_targets &(';' | NEWLINE)"));
 3203|  1.98k|        Token * _keyword;
 3204|  1.98k|        asdl_expr_seq* a;
 3205|  1.98k|        if (
 3206|  1.98k|            (_keyword = _PyPegen_expect_token(p, 505))  // token='del'
  ------------------
  |  Branch (3206:13): [True: 1.98k, False: 0]
  ------------------
 3207|  1.98k|            &&
 3208|  1.98k|            (a = del_targets_rule(p))  // del_targets
  ------------------
  |  Branch (3208:13): [True: 1.68k, False: 299]
  ------------------
 3209|  1.68k|            &&
 3210|  1.68k|            _PyPegen_lookahead(1, _tmp_15_rule, p)
  ------------------
  |  Branch (3210:13): [True: 1.54k, False: 140]
  ------------------
 3211|  1.98k|        )
 3212|  1.54k|        {
 3213|  1.54k|            D(fprintf(stderr, "%*c+ del_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'del' del_targets &(';' | NEWLINE)"));
 3214|  1.54k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3215|  1.54k|            if (_token == NULL) {
  ------------------
  |  Branch (3215:17): [True: 0, False: 1.54k]
  ------------------
 3216|      0|                p->level--;
 3217|      0|                return NULL;
 3218|      0|            }
 3219|  1.54k|            int _end_lineno = _token->end_lineno;
 3220|  1.54k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.54k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.54k]
  |  |  ------------------
  ------------------
 3221|  1.54k|            int _end_col_offset = _token->end_col_offset;
 3222|  1.54k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.54k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.54k]
  |  |  ------------------
  ------------------
 3223|  1.54k|            _res = _PyAST_Delete ( a , EXTRA );
  ------------------
  |  |  316|  1.54k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3224|  1.54k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3224:18): [True: 0, False: 1.54k]
  |  Branch (3224:34): [True: 0, False: 1.54k]
  |  Branch (3224:57): [True: 0, False: 0]
  ------------------
 3225|      0|                p->error_indicator = 1;
 3226|      0|                p->level--;
 3227|      0|                return NULL;
 3228|      0|            }
 3229|  1.54k|            goto done;
 3230|  1.54k|        }
 3231|    439|        p->mark = _mark;
 3232|    439|        D(fprintf(stderr, "%*c%s del_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3233|    439|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'del' del_targets &(';' | NEWLINE)"));
 3234|    439|    }
 3235|    439|    if (p->call_invalid_rules) { // invalid_del_stmt
  ------------------
  |  Branch (3235:9): [True: 367, False: 72]
  ------------------
 3236|    367|        if (p->error_indicator) {
  ------------------
  |  Branch (3236:13): [True: 185, False: 182]
  ------------------
 3237|    185|            p->level--;
 3238|    185|            return NULL;
 3239|    185|        }
 3240|    182|        D(fprintf(stderr, "%*c> del_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_del_stmt"));
 3241|    182|        void *invalid_del_stmt_var;
 3242|    182|        if (
 3243|    182|            (invalid_del_stmt_var = invalid_del_stmt_rule(p))  // invalid_del_stmt
  ------------------
  |  |  555|    182|#define invalid_del_stmt_rule _PyPegen_invalid_del_stmt_rule
  ------------------
  |  Branch (3243:13): [True: 0, False: 182]
  ------------------
 3244|    182|        )
 3245|      0|        {
 3246|      0|            D(fprintf(stderr, "%*c+ del_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_del_stmt"));
 3247|      0|            _res = invalid_del_stmt_var;
 3248|      0|            goto done;
 3249|      0|        }
 3250|    182|        p->mark = _mark;
 3251|    182|        D(fprintf(stderr, "%*c%s del_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3252|    182|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_del_stmt"));
 3253|    182|    }
 3254|    254|    _res = NULL;
 3255|  1.79k|  done:
 3256|  1.79k|    p->level--;
 3257|  1.79k|    return _res;
 3258|    254|}
parser.c:del_targets_rule:
19300|  1.98k|{
19301|  1.98k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.96k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19301:9): [True: 0, False: 1.98k]
  |  Branch (19301:35): [True: 0, False: 1.98k]
  ------------------
19302|      0|        _Pypegen_stack_overflow(p);
19303|      0|    }
19304|  1.98k|    if (p->error_indicator) {
  ------------------
  |  Branch (19304:9): [True: 0, False: 1.98k]
  ------------------
19305|      0|        p->level--;
19306|      0|        return NULL;
19307|      0|    }
19308|  1.98k|    asdl_expr_seq* _res = NULL;
19309|  1.98k|    int _mark = p->mark;
19310|  1.98k|    { // ','.del_target+ ','?
19311|  1.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (19311:13): [True: 0, False: 1.98k]
  ------------------
19312|      0|            p->level--;
19313|      0|            return NULL;
19314|      0|        }
19315|  1.98k|        D(fprintf(stderr, "%*c> del_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.del_target+ ','?"));
19316|  1.98k|        void *_opt_var;
19317|  1.98k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  1.98k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.98k]
  |  |  ------------------
  ------------------
19318|  1.98k|        asdl_expr_seq* a;
19319|  1.98k|        if (
19320|  1.98k|            (a = (asdl_expr_seq*)_gather_102_rule(p))  // ','.del_target+
  ------------------
  |  Branch (19320:13): [True: 1.81k, False: 167]
  ------------------
19321|  1.81k|            &&
19322|  1.81k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (19322:13): [True: 1.68k, False: 132]
  ------------------
19323|  1.98k|        )
19324|  1.68k|        {
19325|  1.68k|            D(fprintf(stderr, "%*c+ del_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.del_target+ ','?"));
19326|  1.68k|            _res = a;
19327|  1.68k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19327:18): [True: 0, False: 1.68k]
  |  Branch (19327:34): [True: 0, False: 1.68k]
  |  Branch (19327:57): [True: 0, False: 0]
  ------------------
19328|      0|                p->error_indicator = 1;
19329|      0|                p->level--;
19330|      0|                return NULL;
19331|      0|            }
19332|  1.68k|            goto done;
19333|  1.68k|        }
19334|    299|        p->mark = _mark;
19335|    299|        D(fprintf(stderr, "%*c%s del_targets[%d-%d]: %s failed!\n", p->level, ' ',
19336|    299|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.del_target+ ','?"));
19337|    299|    }
19338|    299|    _res = NULL;
19339|  1.98k|  done:
19340|  1.98k|    p->level--;
19341|  1.98k|    return _res;
19342|    299|}
parser.c:_gather_102_rule:
25611|  1.98k|{
25612|  1.98k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.96k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25612:9): [True: 0, False: 1.98k]
  |  Branch (25612:35): [True: 0, False: 1.98k]
  ------------------
25613|      0|        _Pypegen_stack_overflow(p);
25614|      0|    }
25615|  1.98k|    if (p->error_indicator) {
  ------------------
  |  Branch (25615:9): [True: 0, False: 1.98k]
  ------------------
25616|      0|        p->level--;
25617|      0|        return NULL;
25618|      0|    }
25619|  1.98k|    asdl_seq * _res = NULL;
25620|  1.98k|    int _mark = p->mark;
25621|  1.98k|    { // del_target _loop0_101
25622|  1.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (25622:13): [True: 0, False: 1.98k]
  ------------------
25623|      0|            p->level--;
25624|      0|            return NULL;
25625|      0|        }
25626|  1.98k|        D(fprintf(stderr, "%*c> _gather_102[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "del_target _loop0_101"));
25627|  1.98k|        expr_ty elem;
25628|  1.98k|        asdl_seq * seq;
25629|  1.98k|        if (
25630|  1.98k|            (elem = del_target_rule(p))  // del_target
  ------------------
  |  Branch (25630:13): [True: 1.81k, False: 167]
  ------------------
25631|  1.81k|            &&
25632|  1.81k|            (seq = _loop0_101_rule(p))  // _loop0_101
  ------------------
  |  Branch (25632:13): [True: 1.81k, False: 0]
  ------------------
25633|  1.98k|        )
25634|  1.81k|        {
25635|  1.81k|            D(fprintf(stderr, "%*c+ _gather_102[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "del_target _loop0_101"));
25636|  1.81k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
25637|  1.81k|            goto done;
25638|  1.81k|        }
25639|    167|        p->mark = _mark;
25640|    167|        D(fprintf(stderr, "%*c%s _gather_102[%d-%d]: %s failed!\n", p->level, ' ',
25641|    167|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "del_target _loop0_101"));
25642|    167|    }
25643|    167|    _res = NULL;
25644|  1.98k|  done:
25645|  1.98k|    p->level--;
25646|  1.98k|    return _res;
25647|    167|}
parser.c:del_target_rule:
19347|  26.4k|{
19348|  26.4k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  52.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19348:9): [True: 0, False: 26.4k]
  |  Branch (19348:35): [True: 0, False: 26.4k]
  ------------------
19349|      0|        _Pypegen_stack_overflow(p);
19350|      0|    }
19351|  26.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (19351:9): [True: 0, False: 26.4k]
  ------------------
19352|      0|        p->level--;
19353|      0|        return NULL;
19354|      0|    }
19355|  26.4k|    expr_ty _res = NULL;
19356|  26.4k|    if (_PyPegen_is_memoized(p, del_target_type, &_res)) {
  ------------------
  |  |  279|  26.4k|#define del_target_type 1190
  ------------------
  |  Branch (19356:9): [True: 2, False: 26.4k]
  ------------------
19357|      2|        p->level--;
19358|      2|        return _res;
19359|      2|    }
19360|  26.4k|    int _mark = p->mark;
19361|  26.4k|    { // target_value
19362|  26.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (19362:13): [True: 0, False: 26.4k]
  ------------------
19363|      0|            p->level--;
19364|      0|            return NULL;
19365|      0|        }
19366|  26.4k|        D(fprintf(stderr, "%*c> del_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "target_value"));
19367|  26.4k|        expr_ty a;
19368|  26.4k|        if (
19369|  26.4k|            (a = target_value_rule(p))  // target_value
  ------------------
  |  Branch (19369:13): [True: 25.7k, False: 720]
  ------------------
19370|  26.4k|        )
19371|  25.7k|        {
19372|  25.7k|            D(fprintf(stderr, "%*c+ del_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "target_value"));
19373|  25.7k|            _res = _PyPegen_make_target ( p , a , DEL_TARGETS );
19374|  25.7k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19374:18): [True: 42, False: 25.6k]
  |  Branch (19374:34): [True: 0, False: 25.6k]
  |  Branch (19374:57): [True: 0, False: 42]
  ------------------
19375|      0|                p->error_indicator = 1;
19376|      0|                p->level--;
19377|      0|                return NULL;
19378|      0|            }
19379|  25.7k|            goto done;
19380|  25.7k|        }
19381|    720|        p->mark = _mark;
19382|    720|        D(fprintf(stderr, "%*c%s del_target[%d-%d]: %s failed!\n", p->level, ' ',
19383|    720|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "target_value"));
19384|    720|    }
19385|    720|    _res = NULL;
19386|  26.4k|  done:
19387|  26.4k|    _PyPegen_insert_memo(p, _mark, del_target_type, _res);
  ------------------
  |  |  279|  26.4k|#define del_target_type 1190
  ------------------
19388|  26.4k|    p->level--;
19389|  26.4k|    return _res;
19390|    720|}
parser.c:_loop0_101_rule:
25544|  1.81k|{
25545|  1.81k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.62k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25545:9): [True: 0, False: 1.81k]
  |  Branch (25545:35): [True: 0, False: 1.81k]
  ------------------
25546|      0|        _Pypegen_stack_overflow(p);
25547|      0|    }
25548|  1.81k|    if (p->error_indicator) {
  ------------------
  |  Branch (25548:9): [True: 0, False: 1.81k]
  ------------------
25549|      0|        p->level--;
25550|      0|        return NULL;
25551|      0|    }
25552|  1.81k|    void *_res = NULL;
25553|  1.81k|    int _mark = p->mark;
25554|  1.81k|    void **_children = NULL;
25555|  1.81k|    Py_ssize_t _children_capacity = 0;
25556|  1.81k|    Py_ssize_t _n = 0;
25557|  1.81k|    { // ',' del_target
25558|  1.81k|        if (p->error_indicator) {
  ------------------
  |  Branch (25558:13): [True: 0, False: 1.81k]
  ------------------
25559|      0|            p->level--;
25560|      0|            return NULL;
25561|      0|        }
25562|  1.81k|        D(fprintf(stderr, "%*c> _loop0_101[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' del_target"));
25563|  1.81k|        Token * _literal;
25564|  1.81k|        expr_ty elem;
25565|  1.81k|        while (
25566|  25.6k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (25566:13): [True: 24.4k, False: 1.21k]
  ------------------
25567|  24.4k|            &&
25568|  24.4k|            (elem = del_target_rule(p))  // del_target
  ------------------
  |  Branch (25568:13): [True: 23.8k, False: 597]
  ------------------
25569|  1.81k|        )
25570|  23.8k|        {
25571|  23.8k|            _res = elem;
25572|  23.8k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25572:18): [True: 0, False: 23.8k]
  |  Branch (25572:34): [True: 0, False: 23.8k]
  |  Branch (25572:57): [True: 0, False: 0]
  ------------------
25573|      0|                p->error_indicator = 1;
25574|      0|                PyMem_Free(_children);
25575|      0|                p->level--;
25576|      0|                return NULL;
25577|      0|            }
25578|  23.8k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (25578:17): [True: 2.91k, False: 20.9k]
  ------------------
25579|  2.91k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (25579:21): [True: 0, False: 2.91k]
  ------------------
25580|      0|                    p->error_indicator = 1;
25581|      0|                    PyErr_NoMemory();
25582|      0|                    PyMem_Free(_children);
25583|      0|                    p->level--;
25584|      0|                    return NULL;
25585|      0|                }
25586|  2.91k|            }
25587|  23.8k|            _children[_n++] = _res;
25588|  23.8k|            _mark = p->mark;
25589|  23.8k|        }
25590|  1.81k|        p->mark = _mark;
25591|  1.81k|        D(fprintf(stderr, "%*c%s _loop0_101[%d-%d]: %s failed!\n", p->level, ' ',
25592|  1.81k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' del_target"));
25593|  1.81k|    }
25594|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
25595|  1.81k|    if (!_seq) {
  ------------------
  |  Branch (25595:9): [True: 0, False: 1.81k]
  ------------------
25596|      0|        p->error_indicator = 1;
25597|      0|        PyErr_NoMemory();
25598|      0|        PyMem_Free(_children);
25599|      0|        p->level--;
25600|      0|        return NULL;
25601|      0|    }
25602|  25.6k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  23.8k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  25.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (25602:28): [True: 23.8k, False: 1.81k]
  ------------------
25603|  1.81k|    PyMem_Free(_children);
25604|  1.81k|    p->level--;
25605|  1.81k|    return _seq;
25606|  1.81k|}
parser.c:_tmp_15_rule:
20569|  1.68k|{
20570|  1.68k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.36k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20570:9): [True: 0, False: 1.68k]
  |  Branch (20570:35): [True: 0, False: 1.68k]
  ------------------
20571|      0|        _Pypegen_stack_overflow(p);
20572|      0|    }
20573|  1.68k|    if (p->error_indicator) {
  ------------------
  |  Branch (20573:9): [True: 0, False: 1.68k]
  ------------------
20574|      0|        p->level--;
20575|      0|        return NULL;
20576|      0|    }
20577|  1.68k|    void * _res = NULL;
20578|  1.68k|    int _mark = p->mark;
20579|  1.68k|    { // ';'
20580|  1.68k|        if (p->error_indicator) {
  ------------------
  |  Branch (20580:13): [True: 0, False: 1.68k]
  ------------------
20581|      0|            p->level--;
20582|      0|            return NULL;
20583|      0|        }
20584|  1.68k|        D(fprintf(stderr, "%*c> _tmp_15[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "';'"));
20585|  1.68k|        Token * _literal;
20586|  1.68k|        if (
20587|  1.68k|            (_literal = _PyPegen_expect_token(p, 13))  // token=';'
  ------------------
  |  Branch (20587:13): [True: 445, False: 1.23k]
  ------------------
20588|  1.68k|        )
20589|    445|        {
20590|    445|            D(fprintf(stderr, "%*c+ _tmp_15[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "';'"));
20591|    445|            _res = _literal;
20592|    445|            goto done;
20593|    445|        }
20594|  1.23k|        p->mark = _mark;
20595|  1.23k|        D(fprintf(stderr, "%*c%s _tmp_15[%d-%d]: %s failed!\n", p->level, ' ',
20596|  1.23k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "';'"));
20597|  1.23k|    }
20598|      0|    { // NEWLINE
20599|  1.23k|        if (p->error_indicator) {
  ------------------
  |  Branch (20599:13): [True: 0, False: 1.23k]
  ------------------
20600|      0|            p->level--;
20601|      0|            return NULL;
20602|      0|        }
20603|  1.23k|        D(fprintf(stderr, "%*c> _tmp_15[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
20604|  1.23k|        Token * newline_var;
20605|  1.23k|        if (
20606|  1.23k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.23k|#define NEWLINE         4
  ------------------
  |  Branch (20606:13): [True: 1.09k, False: 140]
  ------------------
20607|  1.23k|        )
20608|  1.09k|        {
20609|  1.09k|            D(fprintf(stderr, "%*c+ _tmp_15[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
20610|  1.09k|            _res = newline_var;
20611|  1.09k|            goto done;
20612|  1.09k|        }
20613|    140|        p->mark = _mark;
20614|    140|        D(fprintf(stderr, "%*c%s _tmp_15[%d-%d]: %s failed!\n", p->level, ' ',
20615|    140|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
20616|    140|    }
20617|    140|    _res = NULL;
20618|  1.68k|  done:
20619|  1.68k|    p->level--;
20620|  1.68k|    return _res;
20621|    140|}
parser.c:yield_stmt_rule:
 3263|  2.38k|{
 3264|  2.38k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.76k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3264:9): [True: 0, False: 2.38k]
  |  Branch (3264:35): [True: 0, False: 2.38k]
  ------------------
 3265|      0|        _Pypegen_stack_overflow(p);
 3266|      0|    }
 3267|  2.38k|    if (p->error_indicator) {
  ------------------
  |  Branch (3267:9): [True: 0, False: 2.38k]
  ------------------
 3268|      0|        p->level--;
 3269|      0|        return NULL;
 3270|      0|    }
 3271|  2.38k|    stmt_ty _res = NULL;
 3272|  2.38k|    int _mark = p->mark;
 3273|  2.38k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3273:9): [True: 0, False: 2.38k]
  |  Branch (3273:31): [True: 0, False: 0]
  ------------------
 3274|      0|        p->error_indicator = 1;
 3275|      0|        p->level--;
 3276|      0|        return NULL;
 3277|      0|    }
 3278|  2.38k|    int _start_lineno = p->tokens[_mark]->lineno;
 3279|  2.38k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.38k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.38k]
  |  |  ------------------
  ------------------
 3280|  2.38k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3281|  2.38k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.38k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.38k]
  |  |  ------------------
  ------------------
 3282|  2.38k|    { // yield_expr
 3283|  2.38k|        if (p->error_indicator) {
  ------------------
  |  Branch (3283:13): [True: 0, False: 2.38k]
  ------------------
 3284|      0|            p->level--;
 3285|      0|            return NULL;
 3286|      0|        }
 3287|  2.38k|        D(fprintf(stderr, "%*c> yield_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "yield_expr"));
 3288|  2.38k|        expr_ty y;
 3289|  2.38k|        if (
 3290|  2.38k|            (y = yield_expr_rule(p))  // yield_expr
  ------------------
  |  |  465|  2.38k|#define yield_expr_rule _PyPegen_yield_expr_rule
  ------------------
  |  Branch (3290:13): [True: 2.38k, False: 2]
  ------------------
 3291|  2.38k|        )
 3292|  2.38k|        {
 3293|  2.38k|            D(fprintf(stderr, "%*c+ yield_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "yield_expr"));
 3294|  2.38k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3295|  2.38k|            if (_token == NULL) {
  ------------------
  |  Branch (3295:17): [True: 0, False: 2.38k]
  ------------------
 3296|      0|                p->level--;
 3297|      0|                return NULL;
 3298|      0|            }
 3299|  2.38k|            int _end_lineno = _token->end_lineno;
 3300|  2.38k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.38k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.38k]
  |  |  ------------------
  ------------------
 3301|  2.38k|            int _end_col_offset = _token->end_col_offset;
 3302|  2.38k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.38k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.38k]
  |  |  ------------------
  ------------------
 3303|  2.38k|            _res = _PyAST_Expr ( y , EXTRA );
  ------------------
  |  |  316|  2.38k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3304|  2.38k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3304:18): [True: 0, False: 2.38k]
  |  Branch (3304:34): [True: 0, False: 2.38k]
  |  Branch (3304:57): [True: 0, False: 0]
  ------------------
 3305|      0|                p->error_indicator = 1;
 3306|      0|                p->level--;
 3307|      0|                return NULL;
 3308|      0|            }
 3309|  2.38k|            goto done;
 3310|  2.38k|        }
 3311|      2|        p->mark = _mark;
 3312|      2|        D(fprintf(stderr, "%*c%s yield_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3313|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "yield_expr"));
 3314|      2|    }
 3315|      2|    _res = NULL;
 3316|  2.38k|  done:
 3317|  2.38k|    p->level--;
 3318|  2.38k|    return _res;
 3319|      2|}
parser.c:assert_stmt_rule:
 3324|  3.86k|{
 3325|  3.86k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  7.72k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3325:9): [True: 0, False: 3.86k]
  |  Branch (3325:35): [True: 0, False: 3.86k]
  ------------------
 3326|      0|        _Pypegen_stack_overflow(p);
 3327|      0|    }
 3328|  3.86k|    if (p->error_indicator) {
  ------------------
  |  Branch (3328:9): [True: 0, False: 3.86k]
  ------------------
 3329|      0|        p->level--;
 3330|      0|        return NULL;
 3331|      0|    }
 3332|  3.86k|    stmt_ty _res = NULL;
 3333|  3.86k|    int _mark = p->mark;
 3334|  3.86k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3334:9): [True: 0, False: 3.86k]
  |  Branch (3334:31): [True: 0, False: 0]
  ------------------
 3335|      0|        p->error_indicator = 1;
 3336|      0|        p->level--;
 3337|      0|        return NULL;
 3338|      0|    }
 3339|  3.86k|    int _start_lineno = p->tokens[_mark]->lineno;
 3340|  3.86k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.86k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.86k]
  |  |  ------------------
  ------------------
 3341|  3.86k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3342|  3.86k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.86k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.86k]
  |  |  ------------------
  ------------------
 3343|  3.86k|    if (p->call_invalid_rules) { // invalid_assert_stmt
  ------------------
  |  Branch (3343:9): [True: 413, False: 3.45k]
  ------------------
 3344|    413|        if (p->error_indicator) {
  ------------------
  |  Branch (3344:13): [True: 0, False: 413]
  ------------------
 3345|      0|            p->level--;
 3346|      0|            return NULL;
 3347|      0|        }
 3348|    413|        D(fprintf(stderr, "%*c> assert_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_assert_stmt"));
 3349|    413|        void *invalid_assert_stmt_var;
 3350|    413|        if (
 3351|    413|            (invalid_assert_stmt_var = invalid_assert_stmt_rule(p))  // invalid_assert_stmt
  ------------------
  |  |  557|    413|#define invalid_assert_stmt_rule _PyPegen_invalid_assert_stmt_rule
  ------------------
  |  Branch (3351:13): [True: 0, False: 413]
  ------------------
 3352|    413|        )
 3353|      0|        {
 3354|      0|            D(fprintf(stderr, "%*c+ assert_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_assert_stmt"));
 3355|      0|            _res = invalid_assert_stmt_var;
 3356|      0|            goto done;
 3357|      0|        }
 3358|    413|        p->mark = _mark;
 3359|    413|        D(fprintf(stderr, "%*c%s assert_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3360|    413|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_assert_stmt"));
 3361|    413|    }
 3362|  3.86k|    { // 'assert' expression [',' expression]
 3363|  3.86k|        if (p->error_indicator) {
  ------------------
  |  Branch (3363:13): [True: 9, False: 3.85k]
  ------------------
 3364|      9|            p->level--;
 3365|      9|            return NULL;
 3366|      9|        }
 3367|  3.85k|        D(fprintf(stderr, "%*c> assert_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'assert' expression [',' expression]"));
 3368|  3.85k|        Token * _keyword;
 3369|  3.85k|        expr_ty a;
 3370|  3.85k|        void *b;
 3371|  3.85k|        if (
 3372|  3.85k|            (_keyword = _PyPegen_expect_token(p, 507))  // token='assert'
  ------------------
  |  Branch (3372:13): [True: 3.85k, False: 0]
  ------------------
 3373|  3.85k|            &&
 3374|  3.85k|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|  3.85k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (3374:13): [True: 3.84k, False: 7]
  ------------------
 3375|  3.84k|            &&
 3376|  3.84k|            (b = _tmp_16_rule(p), !p->error_indicator)  // [',' expression]
  ------------------
  |  Branch (3376:13): [True: 3.84k, False: 1]
  ------------------
 3377|  3.85k|        )
 3378|  3.84k|        {
 3379|  3.84k|            D(fprintf(stderr, "%*c+ assert_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'assert' expression [',' expression]"));
 3380|  3.84k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3381|  3.84k|            if (_token == NULL) {
  ------------------
  |  Branch (3381:17): [True: 0, False: 3.84k]
  ------------------
 3382|      0|                p->level--;
 3383|      0|                return NULL;
 3384|      0|            }
 3385|  3.84k|            int _end_lineno = _token->end_lineno;
 3386|  3.84k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.84k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.84k]
  |  |  ------------------
  ------------------
 3387|  3.84k|            int _end_col_offset = _token->end_col_offset;
 3388|  3.84k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.84k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.84k]
  |  |  ------------------
  ------------------
 3389|  3.84k|            _res = _PyAST_Assert ( a , b , EXTRA );
  ------------------
  |  |  316|  3.84k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3390|  3.84k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3390:18): [True: 0, False: 3.84k]
  |  Branch (3390:34): [True: 0, False: 3.84k]
  |  Branch (3390:57): [True: 0, False: 0]
  ------------------
 3391|      0|                p->error_indicator = 1;
 3392|      0|                p->level--;
 3393|      0|                return NULL;
 3394|      0|            }
 3395|  3.84k|            goto done;
 3396|  3.84k|        }
 3397|      8|        p->mark = _mark;
 3398|      8|        D(fprintf(stderr, "%*c%s assert_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3399|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'assert' expression [',' expression]"));
 3400|      8|    }
 3401|      8|    _res = NULL;
 3402|  3.85k|  done:
 3403|  3.85k|    p->level--;
 3404|  3.85k|    return _res;
 3405|      8|}
parser.c:_tmp_16_rule:
20626|  13.3k|{
20627|  13.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  26.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20627:9): [True: 0, False: 13.3k]
  |  Branch (20627:35): [True: 0, False: 13.3k]
  ------------------
20628|      0|        _Pypegen_stack_overflow(p);
20629|      0|    }
20630|  13.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (20630:9): [True: 0, False: 13.3k]
  ------------------
20631|      0|        p->level--;
20632|      0|        return NULL;
20633|      0|    }
20634|  13.3k|    void * _res = NULL;
20635|  13.3k|    int _mark = p->mark;
20636|  13.3k|    { // ',' expression
20637|  13.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (20637:13): [True: 0, False: 13.3k]
  ------------------
20638|      0|            p->level--;
20639|      0|            return NULL;
20640|      0|        }
20641|  13.3k|        D(fprintf(stderr, "%*c> _tmp_16[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' expression"));
20642|  13.3k|        Token * _literal;
20643|  13.3k|        expr_ty z;
20644|  13.3k|        if (
20645|  13.3k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (20645:13): [True: 6.80k, False: 6.55k]
  ------------------
20646|  6.80k|            &&
20647|  6.80k|            (z = expression_rule(p))  // expression
  ------------------
  |  |  461|  6.80k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (20647:13): [True: 5.58k, False: 1.21k]
  ------------------
20648|  13.3k|        )
20649|  5.58k|        {
20650|  5.58k|            D(fprintf(stderr, "%*c+ _tmp_16[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' expression"));
20651|  5.58k|            _res = z;
20652|  5.58k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20652:18): [True: 0, False: 5.58k]
  |  Branch (20652:34): [True: 0, False: 5.58k]
  |  Branch (20652:57): [True: 0, False: 0]
  ------------------
20653|      0|                p->error_indicator = 1;
20654|      0|                p->level--;
20655|      0|                return NULL;
20656|      0|            }
20657|  5.58k|            goto done;
20658|  5.58k|        }
20659|  7.77k|        p->mark = _mark;
20660|  7.77k|        D(fprintf(stderr, "%*c%s _tmp_16[%d-%d]: %s failed!\n", p->level, ' ',
20661|  7.77k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' expression"));
20662|  7.77k|    }
20663|  7.77k|    _res = NULL;
20664|  13.3k|  done:
20665|  13.3k|    p->level--;
20666|  13.3k|    return _res;
20667|  7.77k|}
parser.c:import_stmt_rule:
 3410|  10.0k|{
 3411|  10.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  20.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3411:9): [True: 0, False: 10.0k]
  |  Branch (3411:35): [True: 0, False: 10.0k]
  ------------------
 3412|      0|        _Pypegen_stack_overflow(p);
 3413|      0|    }
 3414|  10.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (3414:9): [True: 0, False: 10.0k]
  ------------------
 3415|      0|        p->level--;
 3416|      0|        return NULL;
 3417|      0|    }
 3418|  10.0k|    stmt_ty _res = NULL;
 3419|  10.0k|    if (_PyPegen_is_memoized(p, import_stmt_type, &_res)) {
  ------------------
  |  |  113|  10.0k|#define import_stmt_type 1024
  ------------------
  |  Branch (3419:9): [True: 0, False: 10.0k]
  ------------------
 3420|      0|        p->level--;
 3421|      0|        return _res;
 3422|      0|    }
 3423|  10.0k|    int _mark = p->mark;
 3424|  10.0k|    if (p->call_invalid_rules) { // invalid_import
  ------------------
  |  Branch (3424:9): [True: 2.23k, False: 7.79k]
  ------------------
 3425|  2.23k|        if (p->error_indicator) {
  ------------------
  |  Branch (3425:13): [True: 0, False: 2.23k]
  ------------------
 3426|      0|            p->level--;
 3427|      0|            return NULL;
 3428|      0|        }
 3429|  2.23k|        D(fprintf(stderr, "%*c> import_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_import"));
 3430|  2.23k|        void *invalid_import_var;
 3431|  2.23k|        if (
 3432|  2.23k|            (invalid_import_var = invalid_import_rule(p))  // invalid_import
  ------------------
  |  |  587|  2.23k|#define invalid_import_rule _PyPegen_invalid_import_rule
  ------------------
  |  Branch (3432:13): [True: 0, False: 2.23k]
  ------------------
 3433|  2.23k|        )
 3434|      0|        {
 3435|      0|            D(fprintf(stderr, "%*c+ import_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_import"));
 3436|      0|            _res = invalid_import_var;
 3437|      0|            goto done;
 3438|      0|        }
 3439|  2.23k|        p->mark = _mark;
 3440|  2.23k|        D(fprintf(stderr, "%*c%s import_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3441|  2.23k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_import"));
 3442|  2.23k|    }
 3443|  10.0k|    { // import_name
 3444|  10.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (3444:13): [True: 5, False: 10.0k]
  ------------------
 3445|      5|            p->level--;
 3446|      5|            return NULL;
 3447|      5|        }
 3448|  10.0k|        D(fprintf(stderr, "%*c> import_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_name"));
 3449|  10.0k|        stmt_ty import_name_var;
 3450|  10.0k|        if (
 3451|  10.0k|            (import_name_var = import_name_rule(p))  // import_name
  ------------------
  |  Branch (3451:13): [True: 3.34k, False: 6.67k]
  ------------------
 3452|  10.0k|        )
 3453|  3.34k|        {
 3454|  3.34k|            D(fprintf(stderr, "%*c+ import_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_name"));
 3455|  3.34k|            _res = import_name_var;
 3456|  3.34k|            goto done;
 3457|  3.34k|        }
 3458|  6.67k|        p->mark = _mark;
 3459|  6.67k|        D(fprintf(stderr, "%*c%s import_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3460|  6.67k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_name"));
 3461|  6.67k|    }
 3462|      0|    { // import_from
 3463|  6.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (3463:13): [True: 6, False: 6.67k]
  ------------------
 3464|      6|            p->level--;
 3465|      6|            return NULL;
 3466|      6|        }
 3467|  6.67k|        D(fprintf(stderr, "%*c> import_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_from"));
 3468|  6.67k|        stmt_ty import_from_var;
 3469|  6.67k|        if (
 3470|  6.67k|            (import_from_var = import_from_rule(p))  // import_from
  ------------------
  |  Branch (3470:13): [True: 5.96k, False: 703]
  ------------------
 3471|  6.67k|        )
 3472|  5.96k|        {
 3473|  5.96k|            D(fprintf(stderr, "%*c+ import_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_from"));
 3474|  5.96k|            _res = import_from_var;
 3475|  5.96k|            goto done;
 3476|  5.96k|        }
 3477|    703|        p->mark = _mark;
 3478|    703|        D(fprintf(stderr, "%*c%s import_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3479|    703|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_from"));
 3480|    703|    }
 3481|    703|    _res = NULL;
 3482|  10.0k|  done:
 3483|  10.0k|    _PyPegen_insert_memo(p, _mark, import_stmt_type, _res);
  ------------------
  |  |  113|  10.0k|#define import_stmt_type 1024
  ------------------
 3484|  10.0k|    p->level--;
 3485|  10.0k|    return _res;
 3486|    703|}
parser.c:import_name_rule:
 3491|  10.0k|{
 3492|  10.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  20.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3492:9): [True: 0, False: 10.0k]
  |  Branch (3492:35): [True: 0, False: 10.0k]
  ------------------
 3493|      0|        _Pypegen_stack_overflow(p);
 3494|      0|    }
 3495|  10.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (3495:9): [True: 0, False: 10.0k]
  ------------------
 3496|      0|        p->level--;
 3497|      0|        return NULL;
 3498|      0|    }
 3499|  10.0k|    stmt_ty _res = NULL;
 3500|  10.0k|    int _mark = p->mark;
 3501|  10.0k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3501:9): [True: 0, False: 10.0k]
  |  Branch (3501:31): [True: 0, False: 0]
  ------------------
 3502|      0|        p->error_indicator = 1;
 3503|      0|        p->level--;
 3504|      0|        return NULL;
 3505|      0|    }
 3506|  10.0k|    int _start_lineno = p->tokens[_mark]->lineno;
 3507|  10.0k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  10.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 10.0k]
  |  |  ------------------
  ------------------
 3508|  10.0k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3509|  10.0k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  10.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 10.0k]
  |  |  ------------------
  ------------------
 3510|  10.0k|    { // "lazy" 'import' dotted_as_names
 3511|  10.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (3511:13): [True: 0, False: 10.0k]
  ------------------
 3512|      0|            p->level--;
 3513|      0|            return NULL;
 3514|      0|        }
 3515|  10.0k|        D(fprintf(stderr, "%*c> import_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"lazy\" 'import' dotted_as_names"));
 3516|  10.0k|        expr_ty _keyword;
 3517|  10.0k|        Token * _keyword_1;
 3518|  10.0k|        asdl_alias_seq* a;
 3519|  10.0k|        if (
 3520|  10.0k|            (_keyword = _PyPegen_expect_soft_keyword(p, "lazy"))  // soft_keyword='"lazy"'
  ------------------
  |  Branch (3520:13): [True: 766, False: 9.25k]
  ------------------
 3521|    766|            &&
 3522|    766|            (_keyword_1 = _PyPegen_expect_token(p, 500))  // token='import'
  ------------------
  |  Branch (3522:13): [True: 173, False: 593]
  ------------------
 3523|    173|            &&
 3524|    173|            (a = dotted_as_names_rule(p))  // dotted_as_names
  ------------------
  |  Branch (3524:13): [True: 171, False: 2]
  ------------------
 3525|  10.0k|        )
 3526|    171|        {
 3527|    171|            D(fprintf(stderr, "%*c+ import_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"lazy\" 'import' dotted_as_names"));
 3528|    171|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3529|    171|            if (_token == NULL) {
  ------------------
  |  Branch (3529:17): [True: 0, False: 171]
  ------------------
 3530|      0|                p->level--;
 3531|      0|                return NULL;
 3532|      0|            }
 3533|    171|            int _end_lineno = _token->end_lineno;
 3534|    171|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    171|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 171]
  |  |  ------------------
  ------------------
 3535|    171|            int _end_col_offset = _token->end_col_offset;
 3536|    171|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    171|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 171]
  |  |  ------------------
  ------------------
 3537|    171|            _res = CHECK_VERSION ( stmt_ty , 15 , "Lazy imports are" , _PyAST_Import ( a , 1 , EXTRA ) );
  ------------------
  |  |  354|    171|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 3538|    171|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3538:18): [True: 0, False: 171]
  |  Branch (3538:34): [True: 0, False: 171]
  |  Branch (3538:57): [True: 0, False: 0]
  ------------------
 3539|      0|                p->error_indicator = 1;
 3540|      0|                p->level--;
 3541|      0|                return NULL;
 3542|      0|            }
 3543|    171|            goto done;
 3544|    171|        }
 3545|  9.85k|        p->mark = _mark;
 3546|  9.85k|        D(fprintf(stderr, "%*c%s import_name[%d-%d]: %s failed!\n", p->level, ' ',
 3547|  9.85k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"lazy\" 'import' dotted_as_names"));
 3548|  9.85k|    }
 3549|      0|    { // 'import' dotted_as_names
 3550|  9.85k|        if (p->error_indicator) {
  ------------------
  |  Branch (3550:13): [True: 0, False: 9.85k]
  ------------------
 3551|      0|            p->level--;
 3552|      0|            return NULL;
 3553|      0|        }
 3554|  9.85k|        D(fprintf(stderr, "%*c> import_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'import' dotted_as_names"));
 3555|  9.85k|        Token * _keyword;
 3556|  9.85k|        asdl_alias_seq* a;
 3557|  9.85k|        if (
 3558|  9.85k|            (_keyword = _PyPegen_expect_token(p, 500))  // token='import'
  ------------------
  |  Branch (3558:13): [True: 3.19k, False: 6.65k]
  ------------------
 3559|  3.19k|            &&
 3560|  3.19k|            (a = dotted_as_names_rule(p))  // dotted_as_names
  ------------------
  |  Branch (3560:13): [True: 3.17k, False: 22]
  ------------------
 3561|  9.85k|        )
 3562|  3.17k|        {
 3563|  3.17k|            D(fprintf(stderr, "%*c+ import_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'import' dotted_as_names"));
 3564|  3.17k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3565|  3.17k|            if (_token == NULL) {
  ------------------
  |  Branch (3565:17): [True: 0, False: 3.17k]
  ------------------
 3566|      0|                p->level--;
 3567|      0|                return NULL;
 3568|      0|            }
 3569|  3.17k|            int _end_lineno = _token->end_lineno;
 3570|  3.17k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.17k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.17k]
  |  |  ------------------
  ------------------
 3571|  3.17k|            int _end_col_offset = _token->end_col_offset;
 3572|  3.17k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.17k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.17k]
  |  |  ------------------
  ------------------
 3573|  3.17k|            _res = _PyAST_Import ( a , 0 , EXTRA );
  ------------------
  |  |  316|  3.17k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3574|  3.17k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3574:18): [True: 0, False: 3.17k]
  |  Branch (3574:34): [True: 1, False: 3.17k]
  |  Branch (3574:57): [True: 0, False: 1]
  ------------------
 3575|      0|                p->error_indicator = 1;
 3576|      0|                p->level--;
 3577|      0|                return NULL;
 3578|      0|            }
 3579|  3.17k|            goto done;
 3580|  3.17k|        }
 3581|  6.67k|        p->mark = _mark;
 3582|  6.67k|        D(fprintf(stderr, "%*c%s import_name[%d-%d]: %s failed!\n", p->level, ' ',
 3583|  6.67k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'import' dotted_as_names"));
 3584|  6.67k|    }
 3585|  6.67k|    _res = NULL;
 3586|  10.0k|  done:
 3587|  10.0k|    p->level--;
 3588|  10.0k|    return _res;
 3589|  6.67k|}
parser.c:dotted_as_names_rule:
 4091|  3.36k|{
 4092|  3.36k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.73k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4092:9): [True: 0, False: 3.36k]
  |  Branch (4092:35): [True: 0, False: 3.36k]
  ------------------
 4093|      0|        _Pypegen_stack_overflow(p);
 4094|      0|    }
 4095|  3.36k|    if (p->error_indicator) {
  ------------------
  |  Branch (4095:9): [True: 0, False: 3.36k]
  ------------------
 4096|      0|        p->level--;
 4097|      0|        return NULL;
 4098|      0|    }
 4099|  3.36k|    asdl_alias_seq* _res = NULL;
 4100|  3.36k|    int _mark = p->mark;
 4101|  3.36k|    { // ','.dotted_as_name+
 4102|  3.36k|        if (p->error_indicator) {
  ------------------
  |  Branch (4102:13): [True: 0, False: 3.36k]
  ------------------
 4103|      0|            p->level--;
 4104|      0|            return NULL;
 4105|      0|        }
 4106|  3.36k|        D(fprintf(stderr, "%*c> dotted_as_names[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.dotted_as_name+"));
 4107|  3.36k|        asdl_alias_seq* a;
 4108|  3.36k|        if (
 4109|  3.36k|            (a = (asdl_alias_seq*)_gather_23_rule(p))  // ','.dotted_as_name+
  ------------------
  |  Branch (4109:13): [True: 3.34k, False: 23]
  ------------------
 4110|  3.36k|        )
 4111|  3.34k|        {
 4112|  3.34k|            D(fprintf(stderr, "%*c+ dotted_as_names[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.dotted_as_name+"));
 4113|  3.34k|            _res = a;
 4114|  3.34k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4114:18): [True: 0, False: 3.34k]
  |  Branch (4114:34): [True: 2, False: 3.34k]
  |  Branch (4114:57): [True: 1, False: 1]
  ------------------
 4115|      1|                p->error_indicator = 1;
 4116|      1|                p->level--;
 4117|      1|                return NULL;
 4118|      1|            }
 4119|  3.34k|            goto done;
 4120|  3.34k|        }
 4121|     23|        p->mark = _mark;
 4122|     23|        D(fprintf(stderr, "%*c%s dotted_as_names[%d-%d]: %s failed!\n", p->level, ' ',
 4123|     23|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.dotted_as_name+"));
 4124|     23|    }
 4125|     23|    _res = NULL;
 4126|  3.36k|  done:
 4127|  3.36k|    p->level--;
 4128|  3.36k|    return _res;
 4129|     23|}
parser.c:_gather_23_rule:
21014|  3.36k|{
21015|  3.36k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.73k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21015:9): [True: 0, False: 3.36k]
  |  Branch (21015:35): [True: 0, False: 3.36k]
  ------------------
21016|      0|        _Pypegen_stack_overflow(p);
21017|      0|    }
21018|  3.36k|    if (p->error_indicator) {
  ------------------
  |  Branch (21018:9): [True: 0, False: 3.36k]
  ------------------
21019|      0|        p->level--;
21020|      0|        return NULL;
21021|      0|    }
21022|  3.36k|    asdl_seq * _res = NULL;
21023|  3.36k|    int _mark = p->mark;
21024|  3.36k|    { // dotted_as_name _loop0_22
21025|  3.36k|        if (p->error_indicator) {
  ------------------
  |  Branch (21025:13): [True: 0, False: 3.36k]
  ------------------
21026|      0|            p->level--;
21027|      0|            return NULL;
21028|      0|        }
21029|  3.36k|        D(fprintf(stderr, "%*c> _gather_23[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dotted_as_name _loop0_22"));
21030|  3.36k|        alias_ty elem;
21031|  3.36k|        asdl_seq * seq;
21032|  3.36k|        if (
21033|  3.36k|            (elem = dotted_as_name_rule(p))  // dotted_as_name
  ------------------
  |  Branch (21033:13): [True: 3.34k, False: 23]
  ------------------
21034|  3.34k|            &&
21035|  3.34k|            (seq = _loop0_22_rule(p))  // _loop0_22
  ------------------
  |  Branch (21035:13): [True: 3.34k, False: 0]
  ------------------
21036|  3.36k|        )
21037|  3.34k|        {
21038|  3.34k|            D(fprintf(stderr, "%*c+ _gather_23[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dotted_as_name _loop0_22"));
21039|  3.34k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
21040|  3.34k|            goto done;
21041|  3.34k|        }
21042|     23|        p->mark = _mark;
21043|     23|        D(fprintf(stderr, "%*c%s _gather_23[%d-%d]: %s failed!\n", p->level, ' ',
21044|     23|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dotted_as_name _loop0_22"));
21045|     23|    }
21046|     23|    _res = NULL;
21047|  3.36k|  done:
21048|  3.36k|    p->level--;
21049|  3.36k|    return _res;
21050|     23|}
parser.c:dotted_as_name_rule:
 4134|  12.0k|{
 4135|  12.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  24.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4135:9): [True: 0, False: 12.0k]
  |  Branch (4135:35): [True: 0, False: 12.0k]
  ------------------
 4136|      0|        _Pypegen_stack_overflow(p);
 4137|      0|    }
 4138|  12.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (4138:9): [True: 0, False: 12.0k]
  ------------------
 4139|      0|        p->level--;
 4140|      0|        return NULL;
 4141|      0|    }
 4142|  12.0k|    alias_ty _res = NULL;
 4143|  12.0k|    int _mark = p->mark;
 4144|  12.0k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (4144:9): [True: 9.86k, False: 2.16k]
  |  Branch (4144:31): [True: 1, False: 9.86k]
  ------------------
 4145|      1|        p->error_indicator = 1;
 4146|      1|        p->level--;
 4147|      1|        return NULL;
 4148|      1|    }
 4149|  12.0k|    int _start_lineno = p->tokens[_mark]->lineno;
 4150|  12.0k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  12.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 12.0k]
  |  |  ------------------
  ------------------
 4151|  12.0k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 4152|  12.0k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  12.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 12.0k]
  |  |  ------------------
  ------------------
 4153|  12.0k|    if (p->call_invalid_rules) { // invalid_dotted_as_name
  ------------------
  |  Branch (4153:9): [True: 2.16k, False: 9.86k]
  ------------------
 4154|  2.16k|        if (p->error_indicator) {
  ------------------
  |  Branch (4154:13): [True: 0, False: 2.16k]
  ------------------
 4155|      0|            p->level--;
 4156|      0|            return NULL;
 4157|      0|        }
 4158|  2.16k|        D(fprintf(stderr, "%*c> dotted_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_dotted_as_name"));
 4159|  2.16k|        void *invalid_dotted_as_name_var;
 4160|  2.16k|        if (
 4161|  2.16k|            (invalid_dotted_as_name_var = invalid_dotted_as_name_rule(p))  // invalid_dotted_as_name
  ------------------
  |  |  589|  2.16k|#define invalid_dotted_as_name_rule _PyPegen_invalid_dotted_as_name_rule
  ------------------
  |  Branch (4161:13): [True: 0, False: 2.16k]
  ------------------
 4162|  2.16k|        )
 4163|      0|        {
 4164|      0|            D(fprintf(stderr, "%*c+ dotted_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_dotted_as_name"));
 4165|      0|            _res = invalid_dotted_as_name_var;
 4166|      0|            goto done;
 4167|      0|        }
 4168|  2.16k|        p->mark = _mark;
 4169|  2.16k|        D(fprintf(stderr, "%*c%s dotted_as_name[%d-%d]: %s failed!\n", p->level, ' ',
 4170|  2.16k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_dotted_as_name"));
 4171|  2.16k|    }
 4172|  12.0k|    { // dotted_name ['as' NAME]
 4173|  12.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (4173:13): [True: 4, False: 12.0k]
  ------------------
 4174|      4|            p->level--;
 4175|      4|            return NULL;
 4176|      4|        }
 4177|  12.0k|        D(fprintf(stderr, "%*c> dotted_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dotted_name ['as' NAME]"));
 4178|  12.0k|        expr_ty a;
 4179|  12.0k|        void *b;
 4180|  12.0k|        if (
 4181|  12.0k|            (a = dotted_name_rule(p))  // dotted_name
  ------------------
  |  |  417|  12.0k|#define dotted_name_rule _PyPegen_dotted_name_rule
  ------------------
  |  Branch (4181:13): [True: 11.9k, False: 39]
  ------------------
 4182|  11.9k|            &&
 4183|  11.9k|            (b = _tmp_21_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (4183:13): [True: 11.9k, False: 1]
  ------------------
 4184|  12.0k|        )
 4185|  11.9k|        {
 4186|  11.9k|            D(fprintf(stderr, "%*c+ dotted_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dotted_name ['as' NAME]"));
 4187|  11.9k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4188|  11.9k|            if (_token == NULL) {
  ------------------
  |  Branch (4188:17): [True: 0, False: 11.9k]
  ------------------
 4189|      0|                p->level--;
 4190|      0|                return NULL;
 4191|      0|            }
 4192|  11.9k|            int _end_lineno = _token->end_lineno;
 4193|  11.9k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  11.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 11.9k]
  |  |  ------------------
  ------------------
 4194|  11.9k|            int _end_col_offset = _token->end_col_offset;
 4195|  11.9k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  11.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 11.9k]
  |  |  ------------------
  ------------------
 4196|  11.9k|            _res = _PyAST_alias ( a -> v . Name . id , ( b ) ? ( ( expr_ty ) b ) -> v . Name . id : NULL , EXTRA );
  ------------------
  |  |  316|  11.9k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (4196:56): [True: 1.10k, False: 10.8k]
  ------------------
 4197|  11.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4197:18): [True: 0, False: 11.9k]
  |  Branch (4197:34): [True: 0, False: 11.9k]
  |  Branch (4197:57): [True: 0, False: 0]
  ------------------
 4198|      0|                p->error_indicator = 1;
 4199|      0|                p->level--;
 4200|      0|                return NULL;
 4201|      0|            }
 4202|  11.9k|            goto done;
 4203|  11.9k|        }
 4204|     40|        p->mark = _mark;
 4205|     40|        D(fprintf(stderr, "%*c%s dotted_as_name[%d-%d]: %s failed!\n", p->level, ' ',
 4206|     40|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dotted_name ['as' NAME]"));
 4207|     40|    }
 4208|     40|    _res = NULL;
 4209|  12.0k|  done:
 4210|  12.0k|    p->level--;
 4211|  12.0k|    return _res;
 4212|     40|}
parser.c:_tmp_21_rule:
20901|  26.2k|{
20902|  26.2k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  52.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20902:9): [True: 0, False: 26.2k]
  |  Branch (20902:35): [True: 0, False: 26.2k]
  ------------------
20903|      0|        _Pypegen_stack_overflow(p);
20904|      0|    }
20905|  26.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (20905:9): [True: 0, False: 26.2k]
  ------------------
20906|      0|        p->level--;
20907|      0|        return NULL;
20908|      0|    }
20909|  26.2k|    void * _res = NULL;
20910|  26.2k|    int _mark = p->mark;
20911|  26.2k|    { // 'as' NAME
20912|  26.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (20912:13): [True: 0, False: 26.2k]
  ------------------
20913|      0|            p->level--;
20914|      0|            return NULL;
20915|      0|        }
20916|  26.2k|        D(fprintf(stderr, "%*c> _tmp_21[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'as' NAME"));
20917|  26.2k|        Token * _keyword;
20918|  26.2k|        expr_ty z;
20919|  26.2k|        if (
20920|  26.2k|            (_keyword = _PyPegen_expect_token(p, 520))  // token='as'
  ------------------
  |  Branch (20920:13): [True: 1.99k, False: 24.2k]
  ------------------
20921|  1.99k|            &&
20922|  1.99k|            (z = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (20922:13): [True: 1.98k, False: 6]
  ------------------
20923|  26.2k|        )
20924|  1.98k|        {
20925|  1.98k|            D(fprintf(stderr, "%*c+ _tmp_21[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'as' NAME"));
20926|  1.98k|            _res = z;
20927|  1.98k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20927:18): [True: 0, False: 1.98k]
  |  Branch (20927:34): [True: 0, False: 1.98k]
  |  Branch (20927:57): [True: 0, False: 0]
  ------------------
20928|      0|                p->error_indicator = 1;
20929|      0|                p->level--;
20930|      0|                return NULL;
20931|      0|            }
20932|  1.98k|            goto done;
20933|  1.98k|        }
20934|  24.2k|        p->mark = _mark;
20935|  24.2k|        D(fprintf(stderr, "%*c%s _tmp_21[%d-%d]: %s failed!\n", p->level, ' ',
20936|  24.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'as' NAME"));
20937|  24.2k|    }
20938|  24.2k|    _res = NULL;
20939|  26.2k|  done:
20940|  26.2k|    p->level--;
20941|  26.2k|    return _res;
20942|  24.2k|}
parser.c:_loop0_22_rule:
20947|  3.34k|{
20948|  3.34k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.69k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20948:9): [True: 0, False: 3.34k]
  |  Branch (20948:35): [True: 0, False: 3.34k]
  ------------------
20949|      0|        _Pypegen_stack_overflow(p);
20950|      0|    }
20951|  3.34k|    if (p->error_indicator) {
  ------------------
  |  Branch (20951:9): [True: 0, False: 3.34k]
  ------------------
20952|      0|        p->level--;
20953|      0|        return NULL;
20954|      0|    }
20955|  3.34k|    void *_res = NULL;
20956|  3.34k|    int _mark = p->mark;
20957|  3.34k|    void **_children = NULL;
20958|  3.34k|    Py_ssize_t _children_capacity = 0;
20959|  3.34k|    Py_ssize_t _n = 0;
20960|  3.34k|    { // ',' dotted_as_name
20961|  3.34k|        if (p->error_indicator) {
  ------------------
  |  Branch (20961:13): [True: 0, False: 3.34k]
  ------------------
20962|      0|            p->level--;
20963|      0|            return NULL;
20964|      0|        }
20965|  3.34k|        D(fprintf(stderr, "%*c> _loop0_22[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' dotted_as_name"));
20966|  3.34k|        Token * _literal;
20967|  3.34k|        alias_ty elem;
20968|  3.34k|        while (
20969|  11.9k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (20969:13): [True: 8.66k, False: 3.32k]
  ------------------
20970|  8.66k|            &&
20971|  8.66k|            (elem = dotted_as_name_rule(p))  // dotted_as_name
  ------------------
  |  Branch (20971:13): [True: 8.63k, False: 22]
  ------------------
20972|  3.34k|        )
20973|  8.63k|        {
20974|  8.63k|            _res = elem;
20975|  8.63k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20975:18): [True: 0, False: 8.63k]
  |  Branch (20975:34): [True: 0, False: 8.63k]
  |  Branch (20975:57): [True: 0, False: 0]
  ------------------
20976|      0|                p->error_indicator = 1;
20977|      0|                PyMem_Free(_children);
20978|      0|                p->level--;
20979|      0|                return NULL;
20980|      0|            }
20981|  8.63k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (20981:17): [True: 4.76k, False: 3.87k]
  ------------------
20982|  4.76k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (20982:21): [True: 0, False: 4.76k]
  ------------------
20983|      0|                    p->error_indicator = 1;
20984|      0|                    PyErr_NoMemory();
20985|      0|                    PyMem_Free(_children);
20986|      0|                    p->level--;
20987|      0|                    return NULL;
20988|      0|                }
20989|  4.76k|            }
20990|  8.63k|            _children[_n++] = _res;
20991|  8.63k|            _mark = p->mark;
20992|  8.63k|        }
20993|  3.34k|        p->mark = _mark;
20994|  3.34k|        D(fprintf(stderr, "%*c%s _loop0_22[%d-%d]: %s failed!\n", p->level, ' ',
20995|  3.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' dotted_as_name"));
20996|  3.34k|    }
20997|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
20998|  3.34k|    if (!_seq) {
  ------------------
  |  Branch (20998:9): [True: 0, False: 3.34k]
  ------------------
20999|      0|        p->error_indicator = 1;
21000|      0|        PyErr_NoMemory();
21001|      0|        PyMem_Free(_children);
21002|      0|        p->level--;
21003|      0|        return NULL;
21004|      0|    }
21005|  11.9k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  8.63k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  11.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (21005:28): [True: 8.63k, False: 3.34k]
  ------------------
21006|  3.34k|    PyMem_Free(_children);
21007|  3.34k|    p->level--;
21008|  3.34k|    return _seq;
21009|  3.34k|}
parser.c:import_from_rule:
 3599|  6.67k|{
 3600|  6.67k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  13.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3600:9): [True: 0, False: 6.67k]
  |  Branch (3600:35): [True: 0, False: 6.67k]
  ------------------
 3601|      0|        _Pypegen_stack_overflow(p);
 3602|      0|    }
 3603|  6.67k|    if (p->error_indicator) {
  ------------------
  |  Branch (3603:9): [True: 0, False: 6.67k]
  ------------------
 3604|      0|        p->level--;
 3605|      0|        return NULL;
 3606|      0|    }
 3607|  6.67k|    stmt_ty _res = NULL;
 3608|  6.67k|    int _mark = p->mark;
 3609|  6.67k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3609:9): [True: 0, False: 6.67k]
  |  Branch (3609:31): [True: 0, False: 0]
  ------------------
 3610|      0|        p->error_indicator = 1;
 3611|      0|        p->level--;
 3612|      0|        return NULL;
 3613|      0|    }
 3614|  6.67k|    int _start_lineno = p->tokens[_mark]->lineno;
 3615|  6.67k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  6.67k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.67k]
  |  |  ------------------
  ------------------
 3616|  6.67k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3617|  6.67k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  6.67k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.67k]
  |  |  ------------------
  ------------------
 3618|  6.67k|    if (p->call_invalid_rules) { // invalid_import_from
  ------------------
  |  Branch (3618:9): [True: 1.44k, False: 5.22k]
  ------------------
 3619|  1.44k|        if (p->error_indicator) {
  ------------------
  |  Branch (3619:13): [True: 0, False: 1.44k]
  ------------------
 3620|      0|            p->level--;
 3621|      0|            return NULL;
 3622|      0|        }
 3623|  1.44k|        D(fprintf(stderr, "%*c> import_from[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_import_from"));
 3624|  1.44k|        void *invalid_import_from_var;
 3625|  1.44k|        if (
 3626|  1.44k|            (invalid_import_from_var = invalid_import_from_rule(p))  // invalid_import_from
  ------------------
  |  |  593|  1.44k|#define invalid_import_from_rule _PyPegen_invalid_import_from_rule
  ------------------
  |  Branch (3626:13): [True: 0, False: 1.44k]
  ------------------
 3627|  1.44k|        )
 3628|      0|        {
 3629|      0|            D(fprintf(stderr, "%*c+ import_from[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_import_from"));
 3630|      0|            _res = invalid_import_from_var;
 3631|      0|            goto done;
 3632|      0|        }
 3633|  1.44k|        p->mark = _mark;
 3634|  1.44k|        D(fprintf(stderr, "%*c%s import_from[%d-%d]: %s failed!\n", p->level, ' ',
 3635|  1.44k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_import_from"));
 3636|  1.44k|    }
 3637|  6.67k|    { // "lazy" 'from' (('.' | '...'))* dotted_name 'import' import_from_targets
 3638|  6.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (3638:13): [True: 4, False: 6.66k]
  ------------------
 3639|      4|            p->level--;
 3640|      4|            return NULL;
 3641|      4|        }
 3642|  6.66k|        D(fprintf(stderr, "%*c> import_from[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"lazy\" 'from' (('.' | '...'))* dotted_name 'import' import_from_targets"));
 3643|  6.66k|        Token * _keyword;
 3644|  6.66k|        Token * _keyword_1;
 3645|  6.66k|        asdl_seq * a;
 3646|  6.66k|        expr_ty b;
 3647|  6.66k|        asdl_alias_seq* c;
 3648|  6.66k|        expr_ty lazy;
 3649|  6.66k|        if (
 3650|  6.66k|            (lazy = _PyPegen_expect_soft_keyword(p, "lazy"))  // soft_keyword='"lazy"'
  ------------------
  |  Branch (3650:13): [True: 595, False: 6.07k]
  ------------------
 3651|    595|            &&
 3652|    595|            (_keyword = _PyPegen_expect_token(p, 501))  // token='from'
  ------------------
  |  Branch (3652:13): [True: 152, False: 443]
  ------------------
 3653|    152|            &&
 3654|    152|            (a = _loop0_17_rule(p))  // (('.' | '...'))*
  ------------------
  |  Branch (3654:13): [True: 152, False: 0]
  ------------------
 3655|    152|            &&
 3656|    152|            (b = dotted_name_rule(p))  // dotted_name
  ------------------
  |  |  417|    152|#define dotted_name_rule _PyPegen_dotted_name_rule
  ------------------
  |  Branch (3656:13): [True: 144, False: 8]
  ------------------
 3657|    144|            &&
 3658|    144|            (_keyword_1 = _PyPegen_expect_token(p, 500))  // token='import'
  ------------------
  |  Branch (3658:13): [True: 142, False: 2]
  ------------------
 3659|    142|            &&
 3660|    142|            (c = import_from_targets_rule(p))  // import_from_targets
  ------------------
  |  |  413|    142|#define import_from_targets_rule _PyPegen_import_from_targets_rule
  ------------------
  |  Branch (3660:13): [True: 137, False: 5]
  ------------------
 3661|  6.66k|        )
 3662|    137|        {
 3663|    137|            D(fprintf(stderr, "%*c+ import_from[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"lazy\" 'from' (('.' | '...'))* dotted_name 'import' import_from_targets"));
 3664|    137|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3665|    137|            if (_token == NULL) {
  ------------------
  |  Branch (3665:17): [True: 0, False: 137]
  ------------------
 3666|      0|                p->level--;
 3667|      0|                return NULL;
 3668|      0|            }
 3669|    137|            int _end_lineno = _token->end_lineno;
 3670|    137|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    137|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 137]
  |  |  ------------------
  ------------------
 3671|    137|            int _end_col_offset = _token->end_col_offset;
 3672|    137|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    137|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 137]
  |  |  ------------------
  ------------------
 3673|    137|            _res = CHECK_VERSION ( stmt_ty , 15 , "Lazy imports are" , _PyPegen_checked_from_import ( p , a , b , c , lazy , EXTRA ) );
  ------------------
  |  |  354|    137|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 3674|    137|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3674:18): [True: 1, False: 136]
  |  Branch (3674:34): [True: 0, False: 136]
  |  Branch (3674:57): [True: 1, False: 0]
  ------------------
 3675|      1|                p->error_indicator = 1;
 3676|      1|                p->level--;
 3677|      1|                return NULL;
 3678|      1|            }
 3679|    136|            goto done;
 3680|    137|        }
 3681|  6.53k|        p->mark = _mark;
 3682|  6.53k|        D(fprintf(stderr, "%*c%s import_from[%d-%d]: %s failed!\n", p->level, ' ',
 3683|  6.53k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"lazy\" 'from' (('.' | '...'))* dotted_name 'import' import_from_targets"));
 3684|  6.53k|    }
 3685|      0|    { // "lazy" 'from' (('.' | '...'))+ 'import' import_from_targets
 3686|  6.53k|        if (p->error_indicator) {
  ------------------
  |  Branch (3686:13): [True: 4, False: 6.52k]
  ------------------
 3687|      4|            p->level--;
 3688|      4|            return NULL;
 3689|      4|        }
 3690|  6.52k|        D(fprintf(stderr, "%*c> import_from[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"lazy\" 'from' (('.' | '...'))+ 'import' import_from_targets"));
 3691|  6.52k|        expr_ty _keyword;
 3692|  6.52k|        Token * _keyword_1;
 3693|  6.52k|        Token * _keyword_2;
 3694|  6.52k|        asdl_seq * a;
 3695|  6.52k|        asdl_alias_seq* b;
 3696|  6.52k|        if (
 3697|  6.52k|            (_keyword = _PyPegen_expect_soft_keyword(p, "lazy"))  // soft_keyword='"lazy"'
  ------------------
  |  Branch (3697:13): [True: 454, False: 6.07k]
  ------------------
 3698|    454|            &&
 3699|    454|            (_keyword_1 = _PyPegen_expect_token(p, 501))  // token='from'
  ------------------
  |  Branch (3699:13): [True: 11, False: 443]
  ------------------
 3700|     11|            &&
 3701|     11|            (a = _loop1_18_rule(p))  // (('.' | '...'))+
  ------------------
  |  Branch (3701:13): [True: 8, False: 3]
  ------------------
 3702|      8|            &&
 3703|      8|            (_keyword_2 = _PyPegen_expect_token(p, 500))  // token='import'
  ------------------
  |  Branch (3703:13): [True: 5, False: 3]
  ------------------
 3704|      5|            &&
 3705|      5|            (b = import_from_targets_rule(p))  // import_from_targets
  ------------------
  |  |  413|      5|#define import_from_targets_rule _PyPegen_import_from_targets_rule
  ------------------
  |  Branch (3705:13): [True: 4, False: 1]
  ------------------
 3706|  6.52k|        )
 3707|      4|        {
 3708|      4|            D(fprintf(stderr, "%*c+ import_from[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"lazy\" 'from' (('.' | '...'))+ 'import' import_from_targets"));
 3709|      4|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3710|      4|            if (_token == NULL) {
  ------------------
  |  Branch (3710:17): [True: 0, False: 4]
  ------------------
 3711|      0|                p->level--;
 3712|      0|                return NULL;
 3713|      0|            }
 3714|      4|            int _end_lineno = _token->end_lineno;
 3715|      4|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3716|      4|            int _end_col_offset = _token->end_col_offset;
 3717|      4|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3718|      4|            _res = CHECK_VERSION ( stmt_ty , 15 , "Lazy imports are" , _PyAST_ImportFrom ( NULL , b , _PyPegen_seq_count_dots ( a ) , 1 , EXTRA ) );
  ------------------
  |  |  354|      4|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 3719|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3719:18): [True: 0, False: 4]
  |  Branch (3719:34): [True: 0, False: 4]
  |  Branch (3719:57): [True: 0, False: 0]
  ------------------
 3720|      0|                p->error_indicator = 1;
 3721|      0|                p->level--;
 3722|      0|                return NULL;
 3723|      0|            }
 3724|      4|            goto done;
 3725|      4|        }
 3726|  6.52k|        p->mark = _mark;
 3727|  6.52k|        D(fprintf(stderr, "%*c%s import_from[%d-%d]: %s failed!\n", p->level, ' ',
 3728|  6.52k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"lazy\" 'from' (('.' | '...'))+ 'import' import_from_targets"));
 3729|  6.52k|    }
 3730|      0|    { // 'from' (('.' | '...'))* dotted_name 'import' import_from_targets
 3731|  6.52k|        if (p->error_indicator) {
  ------------------
  |  Branch (3731:13): [True: 1, False: 6.52k]
  ------------------
 3732|      1|            p->level--;
 3733|      1|            return NULL;
 3734|      1|        }
 3735|  6.52k|        D(fprintf(stderr, "%*c> import_from[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'from' (('.' | '...'))* dotted_name 'import' import_from_targets"));
 3736|  6.52k|        Token * _keyword;
 3737|  6.52k|        Token * _keyword_1;
 3738|  6.52k|        asdl_seq * a;
 3739|  6.52k|        expr_ty b;
 3740|  6.52k|        asdl_alias_seq* c;
 3741|  6.52k|        if (
 3742|  6.52k|            (_keyword = _PyPegen_expect_token(p, 501))  // token='from'
  ------------------
  |  Branch (3742:13): [True: 6.05k, False: 465]
  ------------------
 3743|  6.05k|            &&
 3744|  6.05k|            (a = _loop0_17_rule(p))  // (('.' | '...'))*
  ------------------
  |  Branch (3744:13): [True: 6.05k, False: 0]
  ------------------
 3745|  6.05k|            &&
 3746|  6.05k|            (b = dotted_name_rule(p))  // dotted_name
  ------------------
  |  |  417|  6.05k|#define dotted_name_rule _PyPegen_dotted_name_rule
  ------------------
  |  Branch (3746:13): [True: 4.95k, False: 1.10k]
  ------------------
 3747|  4.95k|            &&
 3748|  4.95k|            (_keyword_1 = _PyPegen_expect_token(p, 500))  // token='import'
  ------------------
  |  Branch (3748:13): [True: 4.87k, False: 76]
  ------------------
 3749|  4.87k|            &&
 3750|  4.87k|            (c = import_from_targets_rule(p))  // import_from_targets
  ------------------
  |  |  413|  4.87k|#define import_from_targets_rule _PyPegen_import_from_targets_rule
  ------------------
  |  Branch (3750:13): [True: 4.83k, False: 43]
  ------------------
 3751|  6.52k|        )
 3752|  4.83k|        {
 3753|  4.83k|            D(fprintf(stderr, "%*c+ import_from[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'from' (('.' | '...'))* dotted_name 'import' import_from_targets"));
 3754|  4.83k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3755|  4.83k|            if (_token == NULL) {
  ------------------
  |  Branch (3755:17): [True: 0, False: 4.83k]
  ------------------
 3756|      0|                p->level--;
 3757|      0|                return NULL;
 3758|      0|            }
 3759|  4.83k|            int _end_lineno = _token->end_lineno;
 3760|  4.83k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.83k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.83k]
  |  |  ------------------
  ------------------
 3761|  4.83k|            int _end_col_offset = _token->end_col_offset;
 3762|  4.83k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.83k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.83k]
  |  |  ------------------
  ------------------
 3763|  4.83k|            _res = _PyPegen_checked_from_import ( p , a , b , c , NULL , EXTRA );
  ------------------
  |  |  316|  4.83k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3764|  4.83k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3764:18): [True: 0, False: 4.83k]
  |  Branch (3764:34): [True: 0, False: 4.83k]
  |  Branch (3764:57): [True: 0, False: 0]
  ------------------
 3765|      0|                p->error_indicator = 1;
 3766|      0|                p->level--;
 3767|      0|                return NULL;
 3768|      0|            }
 3769|  4.83k|            goto done;
 3770|  4.83k|        }
 3771|  1.68k|        p->mark = _mark;
 3772|  1.68k|        D(fprintf(stderr, "%*c%s import_from[%d-%d]: %s failed!\n", p->level, ' ',
 3773|  1.68k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'from' (('.' | '...'))* dotted_name 'import' import_from_targets"));
 3774|  1.68k|    }
 3775|      0|    { // 'from' (('.' | '...'))+ 'import' import_from_targets
 3776|  1.68k|        if (p->error_indicator) {
  ------------------
  |  Branch (3776:13): [True: 22, False: 1.66k]
  ------------------
 3777|     22|            p->level--;
 3778|     22|            return NULL;
 3779|     22|        }
 3780|  1.66k|        D(fprintf(stderr, "%*c> import_from[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'from' (('.' | '...'))+ 'import' import_from_targets"));
 3781|  1.66k|        Token * _keyword;
 3782|  1.66k|        Token * _keyword_1;
 3783|  1.66k|        asdl_seq * a;
 3784|  1.66k|        asdl_alias_seq* b;
 3785|  1.66k|        if (
 3786|  1.66k|            (_keyword = _PyPegen_expect_token(p, 501))  // token='from'
  ------------------
  |  Branch (3786:13): [True: 1.19k, False: 465]
  ------------------
 3787|  1.19k|            &&
 3788|  1.19k|            (a = _loop1_18_rule(p))  // (('.' | '...'))+
  ------------------
  |  Branch (3788:13): [True: 1.11k, False: 89]
  ------------------
 3789|  1.11k|            &&
 3790|  1.11k|            (_keyword_1 = _PyPegen_expect_token(p, 500))  // token='import'
  ------------------
  |  Branch (3790:13): [True: 1.01k, False: 94]
  ------------------
 3791|  1.01k|            &&
 3792|  1.01k|            (b = import_from_targets_rule(p))  // import_from_targets
  ------------------
  |  |  413|  1.01k|#define import_from_targets_rule _PyPegen_import_from_targets_rule
  ------------------
  |  Branch (3792:13): [True: 993, False: 23]
  ------------------
 3793|  1.66k|        )
 3794|    993|        {
 3795|    993|            D(fprintf(stderr, "%*c+ import_from[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'from' (('.' | '...'))+ 'import' import_from_targets"));
 3796|    993|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3797|    993|            if (_token == NULL) {
  ------------------
  |  Branch (3797:17): [True: 0, False: 993]
  ------------------
 3798|      0|                p->level--;
 3799|      0|                return NULL;
 3800|      0|            }
 3801|    993|            int _end_lineno = _token->end_lineno;
 3802|    993|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    993|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 993]
  |  |  ------------------
  ------------------
 3803|    993|            int _end_col_offset = _token->end_col_offset;
 3804|    993|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    993|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 993]
  |  |  ------------------
  ------------------
 3805|    993|            _res = _PyAST_ImportFrom ( NULL , b , _PyPegen_seq_count_dots ( a ) , 0 , EXTRA );
  ------------------
  |  |  316|    993|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3806|    993|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3806:18): [True: 0, False: 993]
  |  Branch (3806:34): [True: 0, False: 993]
  |  Branch (3806:57): [True: 0, False: 0]
  ------------------
 3807|      0|                p->error_indicator = 1;
 3808|      0|                p->level--;
 3809|      0|                return NULL;
 3810|      0|            }
 3811|    993|            goto done;
 3812|    993|        }
 3813|    671|        p->mark = _mark;
 3814|    671|        D(fprintf(stderr, "%*c%s import_from[%d-%d]: %s failed!\n", p->level, ' ',
 3815|    671|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'from' (('.' | '...'))+ 'import' import_from_targets"));
 3816|    671|    }
 3817|    671|    _res = NULL;
 3818|  6.63k|  done:
 3819|  6.63k|    p->level--;
 3820|  6.63k|    return _res;
 3821|    671|}
parser.c:_loop0_17_rule:
20672|  6.20k|{
20673|  6.20k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  12.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20673:9): [True: 0, False: 6.20k]
  |  Branch (20673:35): [True: 0, False: 6.20k]
  ------------------
20674|      0|        _Pypegen_stack_overflow(p);
20675|      0|    }
20676|  6.20k|    if (p->error_indicator) {
  ------------------
  |  Branch (20676:9): [True: 0, False: 6.20k]
  ------------------
20677|      0|        p->level--;
20678|      0|        return NULL;
20679|      0|    }
20680|  6.20k|    void *_res = NULL;
20681|  6.20k|    int _mark = p->mark;
20682|  6.20k|    void **_children = NULL;
20683|  6.20k|    Py_ssize_t _children_capacity = 0;
20684|  6.20k|    Py_ssize_t _n = 0;
20685|  6.20k|    { // ('.' | '...')
20686|  6.20k|        if (p->error_indicator) {
  ------------------
  |  Branch (20686:13): [True: 0, False: 6.20k]
  ------------------
20687|      0|            p->level--;
20688|      0|            return NULL;
20689|      0|        }
20690|  6.20k|        D(fprintf(stderr, "%*c> _loop0_17[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('.' | '...')"));
20691|  6.20k|        void *_tmp_179_var;
20692|  6.20k|        while (
20693|  26.0k|            (_tmp_179_var = _tmp_179_rule(p))  // '.' | '...'
  ------------------
  |  Branch (20693:13): [True: 19.8k, False: 6.20k]
  ------------------
20694|  6.20k|        )
20695|  19.8k|        {
20696|  19.8k|            _res = _tmp_179_var;
20697|  19.8k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (20697:17): [True: 4.01k, False: 15.8k]
  ------------------
20698|  4.01k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (20698:21): [True: 0, False: 4.01k]
  ------------------
20699|      0|                    p->error_indicator = 1;
20700|      0|                    PyErr_NoMemory();
20701|      0|                    PyMem_Free(_children);
20702|      0|                    p->level--;
20703|      0|                    return NULL;
20704|      0|                }
20705|  4.01k|            }
20706|  19.8k|            _children[_n++] = _res;
20707|  19.8k|            _mark = p->mark;
20708|  19.8k|        }
20709|  6.20k|        p->mark = _mark;
20710|  6.20k|        D(fprintf(stderr, "%*c%s _loop0_17[%d-%d]: %s failed!\n", p->level, ' ',
20711|  6.20k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('.' | '...')"));
20712|  6.20k|    }
20713|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
20714|  6.20k|    if (!_seq) {
  ------------------
  |  Branch (20714:9): [True: 0, False: 6.20k]
  ------------------
20715|      0|        p->error_indicator = 1;
20716|      0|        PyErr_NoMemory();
20717|      0|        PyMem_Free(_children);
20718|      0|        p->level--;
20719|      0|        return NULL;
20720|      0|    }
20721|  26.0k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  19.8k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  26.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (20721:28): [True: 19.8k, False: 6.20k]
  ------------------
20722|  6.20k|    PyMem_Free(_children);
20723|  6.20k|    p->level--;
20724|  6.20k|    return _seq;
20725|  6.20k|}
parser.c:_tmp_179_rule:
25847|  31.7k|{
25848|  31.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  63.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25848:9): [True: 0, False: 31.7k]
  |  Branch (25848:35): [True: 0, False: 31.7k]
  ------------------
25849|      0|        _Pypegen_stack_overflow(p);
25850|      0|    }
25851|  31.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (25851:9): [True: 0, False: 31.7k]
  ------------------
25852|      0|        p->level--;
25853|      0|        return NULL;
25854|      0|    }
25855|  31.7k|    void * _res = NULL;
25856|  31.7k|    int _mark = p->mark;
25857|  31.7k|    { // '.'
25858|  31.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (25858:13): [True: 0, False: 31.7k]
  ------------------
25859|      0|            p->level--;
25860|      0|            return NULL;
25861|      0|        }
25862|  31.7k|        D(fprintf(stderr, "%*c> _tmp_179[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'.'"));
25863|  31.7k|        Token * _literal;
25864|  31.7k|        if (
25865|  31.7k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (25865:13): [True: 4.47k, False: 27.2k]
  ------------------
25866|  31.7k|        )
25867|  4.47k|        {
25868|  4.47k|            D(fprintf(stderr, "%*c+ _tmp_179[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'.'"));
25869|  4.47k|            _res = _literal;
25870|  4.47k|            goto done;
25871|  4.47k|        }
25872|  27.2k|        p->mark = _mark;
25873|  27.2k|        D(fprintf(stderr, "%*c%s _tmp_179[%d-%d]: %s failed!\n", p->level, ' ',
25874|  27.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'.'"));
25875|  27.2k|    }
25876|      0|    { // '...'
25877|  27.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (25877:13): [True: 10, False: 27.2k]
  ------------------
25878|     10|            p->level--;
25879|     10|            return NULL;
25880|     10|        }
25881|  27.2k|        D(fprintf(stderr, "%*c> _tmp_179[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'...'"));
25882|  27.2k|        Token * _literal;
25883|  27.2k|        if (
25884|  27.2k|            (_literal = _PyPegen_expect_token(p, 52))  // token='...'
  ------------------
  |  Branch (25884:13): [True: 19.8k, False: 7.40k]
  ------------------
25885|  27.2k|        )
25886|  19.8k|        {
25887|  19.8k|            D(fprintf(stderr, "%*c+ _tmp_179[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'...'"));
25888|  19.8k|            _res = _literal;
25889|  19.8k|            goto done;
25890|  19.8k|        }
25891|  7.40k|        p->mark = _mark;
25892|  7.40k|        D(fprintf(stderr, "%*c%s _tmp_179[%d-%d]: %s failed!\n", p->level, ' ',
25893|  7.40k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'...'"));
25894|  7.40k|    }
25895|  7.40k|    _res = NULL;
25896|  31.6k|  done:
25897|  31.6k|    p->level--;
25898|  31.6k|    return _res;
25899|  7.40k|}
parser.c:_loop1_18_rule:
20730|  1.21k|{
20731|  1.21k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.42k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20731:9): [True: 0, False: 1.21k]
  |  Branch (20731:35): [True: 0, False: 1.21k]
  ------------------
20732|      0|        _Pypegen_stack_overflow(p);
20733|      0|    }
20734|  1.21k|    if (p->error_indicator) {
  ------------------
  |  Branch (20734:9): [True: 0, False: 1.21k]
  ------------------
20735|      0|        p->level--;
20736|      0|        return NULL;
20737|      0|    }
20738|  1.21k|    void *_res = NULL;
20739|  1.21k|    int _mark = p->mark;
20740|  1.21k|    void **_children = NULL;
20741|  1.21k|    Py_ssize_t _children_capacity = 0;
20742|  1.21k|    Py_ssize_t _n = 0;
20743|  1.21k|    { // ('.' | '...')
20744|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (20744:13): [True: 0, False: 1.21k]
  ------------------
20745|      0|            p->level--;
20746|      0|            return NULL;
20747|      0|        }
20748|  1.21k|        D(fprintf(stderr, "%*c> _loop1_18[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('.' | '...')"));
20749|  1.21k|        void *_tmp_179_var;
20750|  1.21k|        while (
20751|  5.60k|            (_tmp_179_var = _tmp_179_rule(p))  // '.' | '...'
  ------------------
  |  Branch (20751:13): [True: 4.39k, False: 1.21k]
  ------------------
20752|  1.21k|        )
20753|  4.39k|        {
20754|  4.39k|            _res = _tmp_179_var;
20755|  4.39k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (20755:17): [True: 2.01k, False: 2.38k]
  ------------------
20756|  2.01k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (20756:21): [True: 0, False: 2.01k]
  ------------------
20757|      0|                    p->error_indicator = 1;
20758|      0|                    PyErr_NoMemory();
20759|      0|                    PyMem_Free(_children);
20760|      0|                    p->level--;
20761|      0|                    return NULL;
20762|      0|                }
20763|  2.01k|            }
20764|  4.39k|            _children[_n++] = _res;
20765|  4.39k|            _mark = p->mark;
20766|  4.39k|        }
20767|  1.21k|        p->mark = _mark;
20768|  1.21k|        D(fprintf(stderr, "%*c%s _loop1_18[%d-%d]: %s failed!\n", p->level, ' ',
20769|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('.' | '...')"));
20770|  1.21k|    }
20771|  1.21k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (20771:9): [True: 92, False: 1.11k]
  |  Branch (20771:20): [True: 0, False: 1.11k]
  ------------------
20772|     92|        PyMem_Free(_children);
20773|     92|        p->level--;
20774|     92|        return NULL;
20775|     92|    }
20776|  1.11k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
20777|  1.11k|    if (!_seq) {
  ------------------
  |  Branch (20777:9): [True: 0, False: 1.11k]
  ------------------
20778|      0|        p->error_indicator = 1;
20779|      0|        PyErr_NoMemory();
20780|      0|        PyMem_Free(_children);
20781|      0|        p->level--;
20782|      0|        return NULL;
20783|      0|    }
20784|  5.51k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  4.39k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  5.51k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (20784:28): [True: 4.39k, False: 1.11k]
  ------------------
20785|  1.11k|    PyMem_Free(_children);
20786|  1.11k|    p->level--;
20787|  1.11k|    return _seq;
20788|  1.11k|}
parser.c:dotted_name_raw:
 4255|  42.0k|{
 4256|  42.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  84.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4256:9): [True: 0, False: 42.0k]
  |  Branch (4256:35): [True: 0, False: 42.0k]
  ------------------
 4257|      0|        _Pypegen_stack_overflow(p);
 4258|      0|    }
 4259|  42.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (4259:9): [True: 10, False: 42.0k]
  ------------------
 4260|     10|        p->level--;
 4261|     10|        return NULL;
 4262|     10|    }
 4263|  42.0k|    expr_ty _res = NULL;
 4264|  42.0k|    int _mark = p->mark;
 4265|  42.0k|    { // dotted_name '.' NAME
 4266|  42.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (4266:13): [True: 0, False: 42.0k]
  ------------------
 4267|      0|            p->level--;
 4268|      0|            return NULL;
 4269|      0|        }
 4270|  42.0k|        D(fprintf(stderr, "%*c> dotted_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dotted_name '.' NAME"));
 4271|  42.0k|        Token * _literal;
 4272|  42.0k|        expr_ty a;
 4273|  42.0k|        expr_ty b;
 4274|  42.0k|        if (
 4275|  42.0k|            (a = dotted_name_rule(p))  // dotted_name
  ------------------
  |  |  417|  42.0k|#define dotted_name_rule _PyPegen_dotted_name_rule
  ------------------
  |  Branch (4275:13): [True: 23.7k, False: 18.2k]
  ------------------
 4276|  23.7k|            &&
 4277|  23.7k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (4277:13): [True: 6.68k, False: 17.0k]
  ------------------
 4278|  6.68k|            &&
 4279|  6.68k|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4279:13): [True: 6.66k, False: 15]
  ------------------
 4280|  42.0k|        )
 4281|  6.66k|        {
 4282|  6.66k|            D(fprintf(stderr, "%*c+ dotted_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dotted_name '.' NAME"));
 4283|  6.66k|            _res = _PyPegen_join_names_with_dot ( p , a , b );
 4284|  6.66k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4284:18): [True: 0, False: 6.66k]
  |  Branch (4284:34): [True: 0, False: 6.66k]
  |  Branch (4284:57): [True: 0, False: 0]
  ------------------
 4285|      0|                p->error_indicator = 1;
 4286|      0|                p->level--;
 4287|      0|                return NULL;
 4288|      0|            }
 4289|  6.66k|            goto done;
 4290|  6.66k|        }
 4291|  35.3k|        p->mark = _mark;
 4292|  35.3k|        D(fprintf(stderr, "%*c%s dotted_name[%d-%d]: %s failed!\n", p->level, ' ',
 4293|  35.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dotted_name '.' NAME"));
 4294|  35.3k|    }
 4295|      0|    { // NAME
 4296|  35.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (4296:13): [True: 5, False: 35.3k]
  ------------------
 4297|      5|            p->level--;
 4298|      5|            return NULL;
 4299|      5|        }
 4300|  35.3k|        D(fprintf(stderr, "%*c> dotted_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
 4301|  35.3k|        expr_ty name_var;
 4302|  35.3k|        if (
 4303|  35.3k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4303:13): [True: 34.1k, False: 1.13k]
  ------------------
 4304|  35.3k|        )
 4305|  34.1k|        {
 4306|  34.1k|            D(fprintf(stderr, "%*c+ dotted_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
 4307|  34.1k|            _res = name_var;
 4308|  34.1k|            goto done;
 4309|  34.1k|        }
 4310|  1.13k|        p->mark = _mark;
 4311|  1.13k|        D(fprintf(stderr, "%*c%s dotted_name[%d-%d]: %s failed!\n", p->level, ' ',
 4312|  1.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
 4313|  1.13k|    }
 4314|  1.13k|    _res = NULL;
 4315|  41.9k|  done:
 4316|  41.9k|    p->level--;
 4317|  41.9k|    return _res;
 4318|  1.13k|}
parser.c:statements_rule:
 1110|  36.9k|{
 1111|  36.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  73.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1111:9): [True: 0, False: 36.9k]
  |  Branch (1111:35): [True: 0, False: 36.9k]
  ------------------
 1112|      0|        _Pypegen_stack_overflow(p);
 1113|      0|    }
 1114|  36.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (1114:9): [True: 0, False: 36.9k]
  ------------------
 1115|      0|        p->level--;
 1116|      0|        return NULL;
 1117|      0|    }
 1118|  36.9k|    asdl_stmt_seq* _res = NULL;
 1119|  36.9k|    int _mark = p->mark;
 1120|  36.9k|    { // statement+
 1121|  36.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (1121:13): [True: 0, False: 36.9k]
  ------------------
 1122|      0|            p->level--;
 1123|      0|            return NULL;
 1124|      0|        }
 1125|  36.9k|        D(fprintf(stderr, "%*c> statements[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "statement+"));
 1126|  36.9k|        asdl_seq * a;
 1127|  36.9k|        if (
 1128|  36.9k|            (a = _loop1_2_rule(p))  // statement+
  ------------------
  |  Branch (1128:13): [True: 28.4k, False: 8.48k]
  ------------------
 1129|  36.9k|        )
 1130|  28.4k|        {
 1131|  28.4k|            D(fprintf(stderr, "%*c+ statements[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "statement+"));
 1132|  28.4k|            _res = ( asdl_stmt_seq* ) _PyPegen_seq_flatten ( p , a );
 1133|  28.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1133:18): [True: 0, False: 28.4k]
  |  Branch (1133:34): [True: 0, False: 28.4k]
  |  Branch (1133:57): [True: 0, False: 0]
  ------------------
 1134|      0|                p->error_indicator = 1;
 1135|      0|                p->level--;
 1136|      0|                return NULL;
 1137|      0|            }
 1138|  28.4k|            goto done;
 1139|  28.4k|        }
 1140|  8.48k|        p->mark = _mark;
 1141|  8.48k|        D(fprintf(stderr, "%*c%s statements[%d-%d]: %s failed!\n", p->level, ' ',
 1142|  8.48k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "statement+"));
 1143|  8.48k|    }
 1144|  8.48k|    _res = NULL;
 1145|  36.9k|  done:
 1146|  36.9k|    p->level--;
 1147|  36.9k|    return _res;
 1148|  8.48k|}
parser.c:_loop1_2_rule:
19790|  36.9k|{
19791|  36.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  73.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19791:9): [True: 0, False: 36.9k]
  |  Branch (19791:35): [True: 0, False: 36.9k]
  ------------------
19792|      0|        _Pypegen_stack_overflow(p);
19793|      0|    }
19794|  36.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (19794:9): [True: 0, False: 36.9k]
  ------------------
19795|      0|        p->level--;
19796|      0|        return NULL;
19797|      0|    }
19798|  36.9k|    void *_res = NULL;
19799|  36.9k|    int _mark = p->mark;
19800|  36.9k|    void **_children = NULL;
19801|  36.9k|    Py_ssize_t _children_capacity = 0;
19802|  36.9k|    Py_ssize_t _n = 0;
19803|  36.9k|    { // statement
19804|  36.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (19804:13): [True: 0, False: 36.9k]
  ------------------
19805|      0|            p->level--;
19806|      0|            return NULL;
19807|      0|        }
19808|  36.9k|        D(fprintf(stderr, "%*c> _loop1_2[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "statement"));
19809|  36.9k|        asdl_stmt_seq* statement_var;
19810|  36.9k|        while (
19811|   182k|            (statement_var = statement_rule(p))  // statement
  ------------------
  |  Branch (19811:13): [True: 145k, False: 36.9k]
  ------------------
19812|  36.9k|        )
19813|   145k|        {
19814|   145k|            _res = statement_var;
19815|   145k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (19815:17): [True: 47.6k, False: 98.0k]
  ------------------
19816|  47.6k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (19816:21): [True: 0, False: 47.6k]
  ------------------
19817|      0|                    p->error_indicator = 1;
19818|      0|                    PyErr_NoMemory();
19819|      0|                    PyMem_Free(_children);
19820|      0|                    p->level--;
19821|      0|                    return NULL;
19822|      0|                }
19823|  47.6k|            }
19824|   145k|            _children[_n++] = _res;
19825|   145k|            _mark = p->mark;
19826|   145k|        }
19827|  36.9k|        p->mark = _mark;
19828|  36.9k|        D(fprintf(stderr, "%*c%s _loop1_2[%d-%d]: %s failed!\n", p->level, ' ',
19829|  36.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "statement"));
19830|  36.9k|    }
19831|  36.9k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (19831:9): [True: 8.14k, False: 28.8k]
  |  Branch (19831:20): [True: 339, False: 28.4k]
  ------------------
19832|  8.48k|        PyMem_Free(_children);
19833|  8.48k|        p->level--;
19834|  8.48k|        return NULL;
19835|  8.48k|    }
19836|  28.4k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
19837|  28.4k|    if (!_seq) {
  ------------------
  |  Branch (19837:9): [True: 0, False: 28.4k]
  ------------------
19838|      0|        p->error_indicator = 1;
19839|      0|        PyErr_NoMemory();
19840|      0|        PyMem_Free(_children);
19841|      0|        p->level--;
19842|      0|        return NULL;
19843|      0|    }
19844|   170k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|   141k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|   170k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (19844:28): [True: 141k, False: 28.4k]
  ------------------
19845|  28.4k|    PyMem_Free(_children);
19846|  28.4k|    p->level--;
19847|  28.4k|    return _seq;
19848|  28.4k|}
parser.c:statement_rule:
 1153|   182k|{
 1154|   182k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   365k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1154:9): [True: 0, False: 182k]
  |  Branch (1154:35): [True: 0, False: 182k]
  ------------------
 1155|      0|        _Pypegen_stack_overflow(p);
 1156|      0|    }
 1157|   182k|    if (p->error_indicator) {
  ------------------
  |  Branch (1157:9): [True: 0, False: 182k]
  ------------------
 1158|      0|        p->level--;
 1159|      0|        return NULL;
 1160|      0|    }
 1161|   182k|    asdl_stmt_seq* _res = NULL;
 1162|   182k|    int _mark = p->mark;
 1163|   182k|    { // compound_stmt
 1164|   182k|        if (p->error_indicator) {
  ------------------
  |  Branch (1164:13): [True: 0, False: 182k]
  ------------------
 1165|      0|            p->level--;
 1166|      0|            return NULL;
 1167|      0|        }
 1168|   182k|        D(fprintf(stderr, "%*c> statement[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "compound_stmt"));
 1169|   182k|        stmt_ty a;
 1170|   182k|        if (
 1171|   182k|            (a = compound_stmt_rule(p))  // compound_stmt
  ------------------
  |  Branch (1171:13): [True: 48.4k, False: 134k]
  ------------------
 1172|   182k|        )
 1173|  48.4k|        {
 1174|  48.4k|            D(fprintf(stderr, "%*c+ statement[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "compound_stmt"));
 1175|  48.4k|            _res = _PyPegen_register_stmts ( p , ( asdl_stmt_seq* ) _PyPegen_singleton_seq ( p , a ) );
 1176|  48.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1176:18): [True: 0, False: 48.4k]
  |  Branch (1176:34): [True: 0, False: 48.4k]
  |  Branch (1176:57): [True: 0, False: 0]
  ------------------
 1177|      0|                p->error_indicator = 1;
 1178|      0|                p->level--;
 1179|      0|                return NULL;
 1180|      0|            }
 1181|  48.4k|            goto done;
 1182|  48.4k|        }
 1183|   134k|        p->mark = _mark;
 1184|   134k|        D(fprintf(stderr, "%*c%s statement[%d-%d]: %s failed!\n", p->level, ' ',
 1185|   134k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "compound_stmt"));
 1186|   134k|    }
 1187|      0|    { // simple_stmts
 1188|   134k|        if (p->error_indicator) {
  ------------------
  |  Branch (1188:13): [True: 964, False: 133k]
  ------------------
 1189|    964|            p->level--;
 1190|    964|            return NULL;
 1191|    964|        }
 1192|   133k|        D(fprintf(stderr, "%*c> statement[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 1193|   133k|        asdl_stmt_seq* a;
 1194|   133k|        if (
 1195|   133k|            (a = (asdl_stmt_seq*)simple_stmts_rule(p))  // simple_stmts
  ------------------
  |  Branch (1195:13): [True: 97.3k, False: 35.9k]
  ------------------
 1196|   133k|        )
 1197|  97.3k|        {
 1198|  97.3k|            D(fprintf(stderr, "%*c+ statement[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 1199|  97.3k|            _res = a;
 1200|  97.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1200:18): [True: 0, False: 97.3k]
  |  Branch (1200:34): [True: 0, False: 97.3k]
  |  Branch (1200:57): [True: 0, False: 0]
  ------------------
 1201|      0|                p->error_indicator = 1;
 1202|      0|                p->level--;
 1203|      0|                return NULL;
 1204|      0|            }
 1205|  97.3k|            goto done;
 1206|  97.3k|        }
 1207|  35.9k|        p->mark = _mark;
 1208|  35.9k|        D(fprintf(stderr, "%*c%s statement[%d-%d]: %s failed!\n", p->level, ' ',
 1209|  35.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmts"));
 1210|  35.9k|    }
 1211|  35.9k|    _res = NULL;
 1212|   181k|  done:
 1213|   181k|    p->level--;
 1214|   181k|    return _res;
 1215|  35.9k|}
parser.c:compound_stmt_rule:
 1832|   190k|{
 1833|   190k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   381k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1833:9): [True: 0, False: 190k]
  |  Branch (1833:35): [True: 0, False: 190k]
  ------------------
 1834|      0|        _Pypegen_stack_overflow(p);
 1835|      0|    }
 1836|   190k|    if (p->error_indicator) {
  ------------------
  |  Branch (1836:9): [True: 0, False: 190k]
  ------------------
 1837|      0|        p->level--;
 1838|      0|        return NULL;
 1839|      0|    }
 1840|   190k|    stmt_ty _res = NULL;
 1841|   190k|    int _mark = p->mark;
 1842|   190k|    { // &('def' | '@' | 'async') function_def
 1843|   190k|        if (p->error_indicator) {
  ------------------
  |  Branch (1843:13): [True: 0, False: 190k]
  ------------------
 1844|      0|            p->level--;
 1845|      0|            return NULL;
 1846|      0|        }
 1847|   190k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('def' | '@' | 'async') function_def"));
 1848|   190k|        stmt_ty function_def_var;
 1849|   190k|        if (
 1850|   190k|            _PyPegen_lookahead(1, _tmp_6_rule, p)
  ------------------
  |  Branch (1850:13): [True: 18.5k, False: 172k]
  ------------------
 1851|  18.5k|            &&
 1852|  18.5k|            (function_def_var = function_def_rule(p))  // function_def
  ------------------
  |  Branch (1852:13): [True: 12.9k, False: 5.59k]
  ------------------
 1853|   190k|        )
 1854|  12.9k|        {
 1855|  12.9k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('def' | '@' | 'async') function_def"));
 1856|  12.9k|            _res = function_def_var;
 1857|  12.9k|            goto done;
 1858|  12.9k|        }
 1859|   177k|        p->mark = _mark;
 1860|   177k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1861|   177k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('def' | '@' | 'async') function_def"));
 1862|   177k|    }
 1863|      0|    { // &'if' if_stmt
 1864|   177k|        if (p->error_indicator) {
  ------------------
  |  Branch (1864:13): [True: 552, False: 177k]
  ------------------
 1865|    552|            p->level--;
 1866|    552|            return NULL;
 1867|    552|        }
 1868|   177k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'if' if_stmt"));
 1869|   177k|        stmt_ty if_stmt_var;
 1870|   177k|        if (
 1871|   177k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 514)  // token='if'
  ------------------
  |  Branch (1871:13): [True: 1.73k, False: 175k]
  ------------------
 1872|  1.73k|            &&
 1873|  1.73k|            (if_stmt_var = if_stmt_rule(p))  // if_stmt
  ------------------
  |  Branch (1873:13): [True: 1.63k, False: 100]
  ------------------
 1874|   177k|        )
 1875|  1.63k|        {
 1876|  1.63k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'if' if_stmt"));
 1877|  1.63k|            _res = if_stmt_var;
 1878|  1.63k|            goto done;
 1879|  1.63k|        }
 1880|   175k|        p->mark = _mark;
 1881|   175k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1882|   175k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'if' if_stmt"));
 1883|   175k|    }
 1884|      0|    { // &('class' | '@') class_def
 1885|   175k|        if (p->error_indicator) {
  ------------------
  |  Branch (1885:13): [True: 46, False: 175k]
  ------------------
 1886|     46|            p->level--;
 1887|     46|            return NULL;
 1888|     46|        }
 1889|   175k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('class' | '@') class_def"));
 1890|   175k|        stmt_ty class_def_var;
 1891|   175k|        if (
 1892|   175k|            _PyPegen_lookahead(1, _tmp_7_rule, p)
  ------------------
  |  Branch (1892:13): [True: 15.8k, False: 159k]
  ------------------
 1893|  15.8k|            &&
 1894|  15.8k|            (class_def_var = class_def_rule(p))  // class_def
  ------------------
  |  Branch (1894:13): [True: 15.5k, False: 314]
  ------------------
 1895|   175k|        )
 1896|  15.5k|        {
 1897|  15.5k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('class' | '@') class_def"));
 1898|  15.5k|            _res = class_def_var;
 1899|  15.5k|            goto done;
 1900|  15.5k|        }
 1901|   159k|        p->mark = _mark;
 1902|   159k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1903|   159k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('class' | '@') class_def"));
 1904|   159k|    }
 1905|      0|    { // &('with' | 'async') with_stmt
 1906|   159k|        if (p->error_indicator) {
  ------------------
  |  Branch (1906:13): [True: 45, False: 159k]
  ------------------
 1907|     45|            p->level--;
 1908|     45|            return NULL;
 1909|     45|        }
 1910|   159k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('with' | 'async') with_stmt"));
 1911|   159k|        stmt_ty with_stmt_var;
 1912|   159k|        if (
 1913|   159k|            _PyPegen_lookahead(1, _tmp_8_rule, p)
  ------------------
  |  Branch (1913:13): [True: 6.75k, False: 153k]
  ------------------
 1914|  6.75k|            &&
 1915|  6.75k|            (with_stmt_var = with_stmt_rule(p))  // with_stmt
  ------------------
  |  Branch (1915:13): [True: 5.37k, False: 1.38k]
  ------------------
 1916|   159k|        )
 1917|  5.37k|        {
 1918|  5.37k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('with' | 'async') with_stmt"));
 1919|  5.37k|            _res = with_stmt_var;
 1920|  5.37k|            goto done;
 1921|  5.37k|        }
 1922|   154k|        p->mark = _mark;
 1923|   154k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1924|   154k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('with' | 'async') with_stmt"));
 1925|   154k|    }
 1926|      0|    { // &('for' | 'async') for_stmt
 1927|   154k|        if (p->error_indicator) {
  ------------------
  |  Branch (1927:13): [True: 95, False: 154k]
  ------------------
 1928|     95|            p->level--;
 1929|     95|            return NULL;
 1930|     95|        }
 1931|   154k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('for' | 'async') for_stmt"));
 1932|   154k|        stmt_ty for_stmt_var;
 1933|   154k|        if (
 1934|   154k|            _PyPegen_lookahead(1, _tmp_9_rule, p)
  ------------------
  |  Branch (1934:13): [True: 2.09k, False: 152k]
  ------------------
 1935|  2.09k|            &&
 1936|  2.09k|            (for_stmt_var = for_stmt_rule(p))  // for_stmt
  ------------------
  |  Branch (1936:13): [True: 1.79k, False: 302]
  ------------------
 1937|   154k|        )
 1938|  1.79k|        {
 1939|  1.79k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('for' | 'async') for_stmt"));
 1940|  1.79k|            _res = for_stmt_var;
 1941|  1.79k|            goto done;
 1942|  1.79k|        }
 1943|   152k|        p->mark = _mark;
 1944|   152k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1945|   152k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('for' | 'async') for_stmt"));
 1946|   152k|    }
 1947|      0|    { // &'try' try_stmt
 1948|   152k|        if (p->error_indicator) {
  ------------------
  |  Branch (1948:13): [True: 28, False: 152k]
  ------------------
 1949|     28|            p->level--;
 1950|     28|            return NULL;
 1951|     28|        }
 1952|   152k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'try' try_stmt"));
 1953|   152k|        stmt_ty try_stmt_var;
 1954|   152k|        if (
 1955|   152k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 518)  // token='try'
  ------------------
  |  Branch (1955:13): [True: 7.25k, False: 145k]
  ------------------
 1956|  7.25k|            &&
 1957|  7.25k|            (try_stmt_var = try_stmt_rule(p))  // try_stmt
  ------------------
  |  Branch (1957:13): [True: 6.86k, False: 389]
  ------------------
 1958|   152k|        )
 1959|  6.86k|        {
 1960|  6.86k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'try' try_stmt"));
 1961|  6.86k|            _res = try_stmt_var;
 1962|  6.86k|            goto done;
 1963|  6.86k|        }
 1964|   145k|        p->mark = _mark;
 1965|   145k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1966|   145k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'try' try_stmt"));
 1967|   145k|    }
 1968|      0|    { // &'while' while_stmt
 1969|   145k|        if (p->error_indicator) {
  ------------------
  |  Branch (1969:13): [True: 139, False: 145k]
  ------------------
 1970|    139|            p->level--;
 1971|    139|            return NULL;
 1972|    139|        }
 1973|   145k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'while' while_stmt"));
 1974|   145k|        stmt_ty while_stmt_var;
 1975|   145k|        if (
 1976|   145k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 519)  // token='while'
  ------------------
  |  Branch (1976:13): [True: 3.25k, False: 142k]
  ------------------
 1977|  3.25k|            &&
 1978|  3.25k|            (while_stmt_var = while_stmt_rule(p))  // while_stmt
  ------------------
  |  Branch (1978:13): [True: 3.21k, False: 46]
  ------------------
 1979|   145k|        )
 1980|  3.21k|        {
 1981|  3.21k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'while' while_stmt"));
 1982|  3.21k|            _res = while_stmt_var;
 1983|  3.21k|            goto done;
 1984|  3.21k|        }
 1985|   142k|        p->mark = _mark;
 1986|   142k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1987|   142k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'while' while_stmt"));
 1988|   142k|    }
 1989|      0|    { // match_stmt
 1990|   142k|        if (p->error_indicator) {
  ------------------
  |  Branch (1990:13): [True: 14, False: 142k]
  ------------------
 1991|     14|            p->level--;
 1992|     14|            return NULL;
 1993|     14|        }
 1994|   142k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "match_stmt"));
 1995|   142k|        stmt_ty match_stmt_var;
 1996|   142k|        if (
 1997|   142k|            (match_stmt_var = match_stmt_rule(p))  // match_stmt
  ------------------
  |  Branch (1997:13): [True: 1.40k, False: 140k]
  ------------------
 1998|   142k|        )
 1999|  1.40k|        {
 2000|  1.40k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "match_stmt"));
 2001|  1.40k|            _res = match_stmt_var;
 2002|  1.40k|            goto done;
 2003|  1.40k|        }
 2004|   140k|        p->mark = _mark;
 2005|   140k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2006|   140k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "match_stmt"));
 2007|   140k|    }
 2008|   140k|    _res = NULL;
 2009|   189k|  done:
 2010|   189k|    p->level--;
 2011|   189k|    return _res;
 2012|   140k|}
parser.c:_tmp_6_rule:
20037|   190k|{
20038|   190k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   381k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20038:9): [True: 0, False: 190k]
  |  Branch (20038:35): [True: 0, False: 190k]
  ------------------
20039|      0|        _Pypegen_stack_overflow(p);
20040|      0|    }
20041|   190k|    if (p->error_indicator) {
  ------------------
  |  Branch (20041:9): [True: 0, False: 190k]
  ------------------
20042|      0|        p->level--;
20043|      0|        return NULL;
20044|      0|    }
20045|   190k|    void * _res = NULL;
20046|   190k|    int _mark = p->mark;
20047|   190k|    { // 'def'
20048|   190k|        if (p->error_indicator) {
  ------------------
  |  Branch (20048:13): [True: 0, False: 190k]
  ------------------
20049|      0|            p->level--;
20050|      0|            return NULL;
20051|      0|        }
20052|   190k|        D(fprintf(stderr, "%*c> _tmp_6[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'def'"));
20053|   190k|        Token * _keyword;
20054|   190k|        if (
20055|   190k|            (_keyword = _PyPegen_expect_token(p, 512))  // token='def'
  ------------------
  |  Branch (20055:13): [True: 7.89k, False: 182k]
  ------------------
20056|   190k|        )
20057|  7.89k|        {
20058|  7.89k|            D(fprintf(stderr, "%*c+ _tmp_6[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'def'"));
20059|  7.89k|            _res = _keyword;
20060|  7.89k|            goto done;
20061|  7.89k|        }
20062|   182k|        p->mark = _mark;
20063|   182k|        D(fprintf(stderr, "%*c%s _tmp_6[%d-%d]: %s failed!\n", p->level, ' ',
20064|   182k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'def'"));
20065|   182k|    }
20066|      0|    { // '@'
20067|   182k|        if (p->error_indicator) {
  ------------------
  |  Branch (20067:13): [True: 285, False: 182k]
  ------------------
20068|    285|            p->level--;
20069|    285|            return NULL;
20070|    285|        }
20071|   182k|        D(fprintf(stderr, "%*c> _tmp_6[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@'"));
20072|   182k|        Token * _literal;
20073|   182k|        if (
20074|   182k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (20074:13): [True: 2.60k, False: 179k]
  ------------------
20075|   182k|        )
20076|  2.60k|        {
20077|  2.60k|            D(fprintf(stderr, "%*c+ _tmp_6[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@'"));
20078|  2.60k|            _res = _literal;
20079|  2.60k|            goto done;
20080|  2.60k|        }
20081|   179k|        p->mark = _mark;
20082|   179k|        D(fprintf(stderr, "%*c%s _tmp_6[%d-%d]: %s failed!\n", p->level, ' ',
20083|   179k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@'"));
20084|   179k|    }
20085|      0|    { // 'async'
20086|   179k|        if (p->error_indicator) {
  ------------------
  |  Branch (20086:13): [True: 0, False: 179k]
  ------------------
20087|      0|            p->level--;
20088|      0|            return NULL;
20089|      0|        }
20090|   179k|        D(fprintf(stderr, "%*c> _tmp_6[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'"));
20091|   179k|        Token * _keyword;
20092|   179k|        if (
20093|   179k|            (_keyword = _PyPegen_expect_token(p, 513))  // token='async'
  ------------------
  |  Branch (20093:13): [True: 7.99k, False: 171k]
  ------------------
20094|   179k|        )
20095|  7.99k|        {
20096|  7.99k|            D(fprintf(stderr, "%*c+ _tmp_6[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'"));
20097|  7.99k|            _res = _keyword;
20098|  7.99k|            goto done;
20099|  7.99k|        }
20100|   171k|        p->mark = _mark;
20101|   171k|        D(fprintf(stderr, "%*c%s _tmp_6[%d-%d]: %s failed!\n", p->level, ' ',
20102|   171k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'"));
20103|   171k|    }
20104|   171k|    _res = NULL;
20105|   190k|  done:
20106|   190k|    p->level--;
20107|   190k|    return _res;
20108|   171k|}
parser.c:function_def_rule:
 4623|  18.5k|{
 4624|  18.5k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  37.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4624:9): [True: 0, False: 18.5k]
  |  Branch (4624:35): [True: 0, False: 18.5k]
  ------------------
 4625|      0|        _Pypegen_stack_overflow(p);
 4626|      0|    }
 4627|  18.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (4627:9): [True: 0, False: 18.5k]
  ------------------
 4628|      0|        p->level--;
 4629|      0|        return NULL;
 4630|      0|    }
 4631|  18.5k|    stmt_ty _res = NULL;
 4632|  18.5k|    int _mark = p->mark;
 4633|  18.5k|    { // decorators function_def_raw
 4634|  18.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (4634:13): [True: 0, False: 18.5k]
  ------------------
 4635|      0|            p->level--;
 4636|      0|            return NULL;
 4637|      0|        }
 4638|  18.5k|        D(fprintf(stderr, "%*c> function_def[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "decorators function_def_raw"));
 4639|  18.5k|        asdl_expr_seq* d;
 4640|  18.5k|        stmt_ty f;
 4641|  18.5k|        if (
 4642|  18.5k|            (d = decorators_rule(p))  // decorators
  ------------------
  |  Branch (4642:13): [True: 2.52k, False: 15.9k]
  ------------------
 4643|  2.52k|            &&
 4644|  2.52k|            (f = function_def_raw_rule(p))  // function_def_raw
  ------------------
  |  Branch (4644:13): [True: 1.54k, False: 980]
  ------------------
 4645|  18.5k|        )
 4646|  1.54k|        {
 4647|  1.54k|            D(fprintf(stderr, "%*c+ function_def[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "decorators function_def_raw"));
 4648|  1.54k|            _res = _PyPegen_function_def_decorators ( p , d , f );
 4649|  1.54k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4649:18): [True: 0, False: 1.54k]
  |  Branch (4649:34): [True: 0, False: 1.54k]
  |  Branch (4649:57): [True: 0, False: 0]
  ------------------
 4650|      0|                p->error_indicator = 1;
 4651|      0|                p->level--;
 4652|      0|                return NULL;
 4653|      0|            }
 4654|  1.54k|            goto done;
 4655|  1.54k|        }
 4656|  16.9k|        p->mark = _mark;
 4657|  16.9k|        D(fprintf(stderr, "%*c%s function_def[%d-%d]: %s failed!\n", p->level, ' ',
 4658|  16.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "decorators function_def_raw"));
 4659|  16.9k|    }
 4660|      0|    { // function_def_raw
 4661|  16.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (4661:13): [True: 30, False: 16.9k]
  ------------------
 4662|     30|            p->level--;
 4663|     30|            return NULL;
 4664|     30|        }
 4665|  16.9k|        D(fprintf(stderr, "%*c> function_def[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "function_def_raw"));
 4666|  16.9k|        stmt_ty function_def_raw_var;
 4667|  16.9k|        if (
 4668|  16.9k|            (function_def_raw_var = function_def_raw_rule(p))  // function_def_raw
  ------------------
  |  Branch (4668:13): [True: 11.3k, False: 5.56k]
  ------------------
 4669|  16.9k|        )
 4670|  11.3k|        {
 4671|  11.3k|            D(fprintf(stderr, "%*c+ function_def[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "function_def_raw"));
 4672|  11.3k|            _res = function_def_raw_var;
 4673|  11.3k|            goto done;
 4674|  11.3k|        }
 4675|  5.56k|        p->mark = _mark;
 4676|  5.56k|        D(fprintf(stderr, "%*c%s function_def[%d-%d]: %s failed!\n", p->level, ' ',
 4677|  5.56k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "function_def_raw"));
 4678|  5.56k|    }
 4679|  5.56k|    _res = NULL;
 4680|  18.4k|  done:
 4681|  18.4k|    p->level--;
 4682|  18.4k|    return _res;
 4683|  5.56k|}
parser.c:decorators_rule:
 4418|  34.3k|{
 4419|  34.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  68.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4419:9): [True: 0, False: 34.3k]
  |  Branch (4419:35): [True: 0, False: 34.3k]
  ------------------
 4420|      0|        _Pypegen_stack_overflow(p);
 4421|      0|    }
 4422|  34.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (4422:9): [True: 0, False: 34.3k]
  ------------------
 4423|      0|        p->level--;
 4424|      0|        return NULL;
 4425|      0|    }
 4426|  34.3k|    asdl_expr_seq* _res = NULL;
 4427|  34.3k|    int _mark = p->mark;
 4428|  34.3k|    { // (('@' named_expression NEWLINE))+
 4429|  34.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (4429:13): [True: 0, False: 34.3k]
  ------------------
 4430|      0|            p->level--;
 4431|      0|            return NULL;
 4432|      0|        }
 4433|  34.3k|        D(fprintf(stderr, "%*c> decorators[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(('@' named_expression NEWLINE))+"));
 4434|  34.3k|        asdl_expr_seq* a;
 4435|  34.3k|        if (
 4436|  34.3k|            (a = (asdl_expr_seq*)_loop1_24_rule(p))  // (('@' named_expression NEWLINE))+
  ------------------
  |  Branch (4436:13): [True: 3.50k, False: 30.8k]
  ------------------
 4437|  34.3k|        )
 4438|  3.50k|        {
 4439|  3.50k|            D(fprintf(stderr, "%*c+ decorators[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(('@' named_expression NEWLINE))+"));
 4440|  3.50k|            _res = a;
 4441|  3.50k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4441:18): [True: 0, False: 3.50k]
  |  Branch (4441:34): [True: 0, False: 3.50k]
  |  Branch (4441:57): [True: 0, False: 0]
  ------------------
 4442|      0|                p->error_indicator = 1;
 4443|      0|                p->level--;
 4444|      0|                return NULL;
 4445|      0|            }
 4446|  3.50k|            goto done;
 4447|  3.50k|        }
 4448|  30.8k|        p->mark = _mark;
 4449|  30.8k|        D(fprintf(stderr, "%*c%s decorators[%d-%d]: %s failed!\n", p->level, ' ',
 4450|  30.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(('@' named_expression NEWLINE))+"));
 4451|  30.8k|    }
 4452|  30.8k|    _res = NULL;
 4453|  34.3k|  done:
 4454|  34.3k|    p->level--;
 4455|  34.3k|    return _res;
 4456|  30.8k|}
parser.c:_loop1_24_rule:
21055|  34.3k|{
21056|  34.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  68.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21056:9): [True: 0, False: 34.3k]
  |  Branch (21056:35): [True: 0, False: 34.3k]
  ------------------
21057|      0|        _Pypegen_stack_overflow(p);
21058|      0|    }
21059|  34.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (21059:9): [True: 0, False: 34.3k]
  ------------------
21060|      0|        p->level--;
21061|      0|        return NULL;
21062|      0|    }
21063|  34.3k|    void *_res = NULL;
21064|  34.3k|    int _mark = p->mark;
21065|  34.3k|    void **_children = NULL;
21066|  34.3k|    Py_ssize_t _children_capacity = 0;
21067|  34.3k|    Py_ssize_t _n = 0;
21068|  34.3k|    { // ('@' named_expression NEWLINE)
21069|  34.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (21069:13): [True: 0, False: 34.3k]
  ------------------
21070|      0|            p->level--;
21071|      0|            return NULL;
21072|      0|        }
21073|  34.3k|        D(fprintf(stderr, "%*c> _loop1_24[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('@' named_expression NEWLINE)"));
21074|  34.3k|        void *_tmp_180_var;
21075|  34.3k|        while (
21076|  40.4k|            (_tmp_180_var = _tmp_180_rule(p))  // '@' named_expression NEWLINE
  ------------------
  |  Branch (21076:13): [True: 6.05k, False: 34.3k]
  ------------------
21077|  34.3k|        )
21078|  6.05k|        {
21079|  6.05k|            _res = _tmp_180_var;
21080|  6.05k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (21080:17): [True: 5.08k, False: 973]
  ------------------
21081|  5.08k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (21081:21): [True: 0, False: 5.08k]
  ------------------
21082|      0|                    p->error_indicator = 1;
21083|      0|                    PyErr_NoMemory();
21084|      0|                    PyMem_Free(_children);
21085|      0|                    p->level--;
21086|      0|                    return NULL;
21087|      0|                }
21088|  5.08k|            }
21089|  6.05k|            _children[_n++] = _res;
21090|  6.05k|            _mark = p->mark;
21091|  6.05k|        }
21092|  34.3k|        p->mark = _mark;
21093|  34.3k|        D(fprintf(stderr, "%*c%s _loop1_24[%d-%d]: %s failed!\n", p->level, ' ',
21094|  34.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('@' named_expression NEWLINE)"));
21095|  34.3k|    }
21096|  34.3k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (21096:9): [True: 30.8k, False: 3.50k]
  |  Branch (21096:20): [True: 2, False: 3.50k]
  ------------------
21097|  30.8k|        PyMem_Free(_children);
21098|  30.8k|        p->level--;
21099|  30.8k|        return NULL;
21100|  30.8k|    }
21101|  3.50k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
21102|  3.50k|    if (!_seq) {
  ------------------
  |  Branch (21102:9): [True: 0, False: 3.50k]
  ------------------
21103|      0|        p->error_indicator = 1;
21104|      0|        PyErr_NoMemory();
21105|      0|        PyMem_Free(_children);
21106|      0|        p->level--;
21107|      0|        return NULL;
21108|      0|    }
21109|  9.55k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  6.05k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  9.55k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (21109:28): [True: 6.05k, False: 3.50k]
  ------------------
21110|  3.50k|    PyMem_Free(_children);
21111|  3.50k|    p->level--;
21112|  3.50k|    return _seq;
21113|  3.50k|}
parser.c:_tmp_180_rule:
25904|  40.4k|{
25905|  40.4k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  80.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25905:9): [True: 0, False: 40.4k]
  |  Branch (25905:35): [True: 0, False: 40.4k]
  ------------------
25906|      0|        _Pypegen_stack_overflow(p);
25907|      0|    }
25908|  40.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (25908:9): [True: 0, False: 40.4k]
  ------------------
25909|      0|        p->level--;
25910|      0|        return NULL;
25911|      0|    }
25912|  40.4k|    void * _res = NULL;
25913|  40.4k|    int _mark = p->mark;
25914|  40.4k|    { // '@' named_expression NEWLINE
25915|  40.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (25915:13): [True: 0, False: 40.4k]
  ------------------
25916|      0|            p->level--;
25917|      0|            return NULL;
25918|      0|        }
25919|  40.4k|        D(fprintf(stderr, "%*c> _tmp_180[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@' named_expression NEWLINE"));
25920|  40.4k|        Token * _literal;
25921|  40.4k|        expr_ty f;
25922|  40.4k|        Token * newline_var;
25923|  40.4k|        if (
25924|  40.4k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (25924:13): [True: 6.20k, False: 34.2k]
  ------------------
25925|  6.20k|            &&
25926|  6.20k|            (f = named_expression_rule(p))  // named_expression
  ------------------
  |  |  475|  6.20k|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (25926:13): [True: 6.11k, False: 87]
  ------------------
25927|  6.11k|            &&
25928|  6.11k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  6.11k|#define NEWLINE         4
  ------------------
  |  Branch (25928:13): [True: 6.05k, False: 56]
  ------------------
25929|  40.4k|        )
25930|  6.05k|        {
25931|  6.05k|            D(fprintf(stderr, "%*c+ _tmp_180[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@' named_expression NEWLINE"));
25932|  6.05k|            _res = f;
25933|  6.05k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25933:18): [True: 0, False: 6.05k]
  |  Branch (25933:34): [True: 0, False: 6.05k]
  |  Branch (25933:57): [True: 0, False: 0]
  ------------------
25934|      0|                p->error_indicator = 1;
25935|      0|                p->level--;
25936|      0|                return NULL;
25937|      0|            }
25938|  6.05k|            goto done;
25939|  6.05k|        }
25940|  34.3k|        p->mark = _mark;
25941|  34.3k|        D(fprintf(stderr, "%*c%s _tmp_180[%d-%d]: %s failed!\n", p->level, ' ',
25942|  34.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@' named_expression NEWLINE"));
25943|  34.3k|    }
25944|  34.3k|    _res = NULL;
25945|  40.4k|  done:
25946|  40.4k|    p->level--;
25947|  40.4k|    return _res;
25948|  34.3k|}
parser.c:function_def_raw_rule:
 4691|  19.4k|{
 4692|  19.4k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  38.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4692:9): [True: 0, False: 19.4k]
  |  Branch (4692:35): [True: 0, False: 19.4k]
  ------------------
 4693|      0|        _Pypegen_stack_overflow(p);
 4694|      0|    }
 4695|  19.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (4695:9): [True: 0, False: 19.4k]
  ------------------
 4696|      0|        p->level--;
 4697|      0|        return NULL;
 4698|      0|    }
 4699|  19.4k|    stmt_ty _res = NULL;
 4700|  19.4k|    int _mark = p->mark;
 4701|  19.4k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (4701:9): [True: 0, False: 19.4k]
  |  Branch (4701:31): [True: 0, False: 0]
  ------------------
 4702|      0|        p->error_indicator = 1;
 4703|      0|        p->level--;
 4704|      0|        return NULL;
 4705|      0|    }
 4706|  19.4k|    int _start_lineno = p->tokens[_mark]->lineno;
 4707|  19.4k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  19.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 19.4k]
  |  |  ------------------
  ------------------
 4708|  19.4k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 4709|  19.4k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  19.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 19.4k]
  |  |  ------------------
  ------------------
 4710|  19.4k|    if (p->call_invalid_rules) { // invalid_def_raw
  ------------------
  |  Branch (4710:9): [True: 3.67k, False: 15.7k]
  ------------------
 4711|  3.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (4711:13): [True: 0, False: 3.67k]
  ------------------
 4712|      0|            p->level--;
 4713|      0|            return NULL;
 4714|      0|        }
 4715|  3.67k|        D(fprintf(stderr, "%*c> function_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_def_raw"));
 4716|  3.67k|        void *invalid_def_raw_var;
 4717|  3.67k|        if (
 4718|  3.67k|            (invalid_def_raw_var = invalid_def_raw_rule(p))  // invalid_def_raw
  ------------------
  |  |  633|  3.67k|#define invalid_def_raw_rule _PyPegen_invalid_def_raw_rule
  ------------------
  |  Branch (4718:13): [True: 2.06k, False: 1.60k]
  ------------------
 4719|  3.67k|        )
 4720|  2.06k|        {
 4721|  2.06k|            D(fprintf(stderr, "%*c+ function_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_def_raw"));
 4722|  2.06k|            _res = invalid_def_raw_var;
 4723|  2.06k|            goto done;
 4724|  2.06k|        }
 4725|  1.60k|        p->mark = _mark;
 4726|  1.60k|        D(fprintf(stderr, "%*c%s function_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4727|  1.60k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_def_raw"));
 4728|  1.60k|    }
 4729|  17.3k|    { // 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block
 4730|  17.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (4730:13): [True: 168, False: 17.2k]
  ------------------
 4731|    168|            p->level--;
 4732|    168|            return NULL;
 4733|    168|        }
 4734|  17.2k|        D(fprintf(stderr, "%*c> function_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4735|  17.2k|        Token * _keyword;
 4736|  17.2k|        Token * _literal;
 4737|  17.2k|        Token * _literal_1;
 4738|  17.2k|        Token * _literal_2;
 4739|  17.2k|        void *a;
 4740|  17.2k|        asdl_stmt_seq* b;
 4741|  17.2k|        expr_ty n;
 4742|  17.2k|        void *params;
 4743|  17.2k|        void *t;
 4744|  17.2k|        void *tc;
 4745|  17.2k|        if (
 4746|  17.2k|            (_keyword = _PyPegen_expect_token(p, 512))  // token='def'
  ------------------
  |  Branch (4746:13): [True: 7.21k, False: 10.0k]
  ------------------
 4747|  7.21k|            &&
 4748|  7.21k|            (n = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4748:13): [True: 7.20k, False: 10]
  ------------------
 4749|  7.20k|            &&
 4750|  7.20k|            (t = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  |  457|  7.20k|#define type_params_rule _PyPegen_type_params_rule
  ------------------
  |  Branch (4750:13): [True: 7.19k, False: 10]
  ------------------
 4751|  7.19k|            &&
 4752|  7.19k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (4752:13): [True: 7.15k, False: 40]
  ------------------
 4753|  7.15k|            &&
 4754|  7.15k|            (params = params_rule(p), !p->error_indicator)  // params?
  ------------------
  |  |  421|  7.15k|#define params_rule _PyPegen_params_rule
  ------------------
  |  Branch (4754:13): [True: 7.11k, False: 41]
  ------------------
 4755|  7.11k|            &&
 4756|  7.11k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (4756:13): [True: 6.92k, False: 191]
  ------------------
 4757|  6.92k|            &&
 4758|  6.92k|            (a = _tmp_26_rule(p), !p->error_indicator)  // ['->' expression]
  ------------------
  |  Branch (4758:13): [True: 6.92k, False: 3]
  ------------------
 4759|  6.92k|            &&
 4760|  6.92k|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4760:13): [True: 6.88k, False: 36]
  ------------------
 4761|  6.88k|            &&
 4762|  6.88k|            (tc = func_type_comment_rule(p), !p->error_indicator)  // func_type_comment?
  ------------------
  |  |  535|  6.88k|#define func_type_comment_rule _PyPegen_func_type_comment_rule
  ------------------
  |  Branch (4762:13): [True: 6.88k, False: 1]
  ------------------
 4763|  6.88k|            &&
 4764|  6.88k|            (b = block_rule(p))  // block
  ------------------
  |  |  419|  6.88k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (4764:13): [True: 6.78k, False: 100]
  ------------------
 4765|  17.2k|        )
 4766|  6.78k|        {
 4767|  6.78k|            D(fprintf(stderr, "%*c+ function_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4768|  6.78k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4769|  6.78k|            if (_token == NULL) {
  ------------------
  |  Branch (4769:17): [True: 0, False: 6.78k]
  ------------------
 4770|      0|                p->level--;
 4771|      0|                return NULL;
 4772|      0|            }
 4773|  6.78k|            int _end_lineno = _token->end_lineno;
 4774|  6.78k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  6.78k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.78k]
  |  |  ------------------
  ------------------
 4775|  6.78k|            int _end_col_offset = _token->end_col_offset;
 4776|  6.78k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  6.78k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.78k]
  |  |  ------------------
  ------------------
 4777|  6.78k|            _res = _PyAST_FunctionDef ( n -> v . Name . id , ( params ) ? params : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , NULL , a , NEW_TYPE_COMMENT ( p , tc ) , t , EXTRA );
  ------------------
  |  |  280|  11.2k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_FunctionDef ( n -> v . Name . id , ( params ) ? params : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , NULL , a , NEW_TYPE_COMMENT ( p , tc ) , t , EXTRA );
  ------------------
  |  |  316|  6.78k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (4777:62): [True: 2.34k, False: 4.44k]
  ------------------
 4778|  6.78k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4778:18): [True: 0, False: 6.78k]
  |  Branch (4778:34): [True: 1, False: 6.78k]
  |  Branch (4778:57): [True: 1, False: 0]
  ------------------
 4779|      1|                p->error_indicator = 1;
 4780|      1|                p->level--;
 4781|      1|                return NULL;
 4782|      1|            }
 4783|  6.78k|            goto done;
 4784|  6.78k|        }
 4785|  10.4k|        p->mark = _mark;
 4786|  10.4k|        D(fprintf(stderr, "%*c%s function_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4787|  10.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4788|  10.4k|    }
 4789|      0|    { // 'async' 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block
 4790|  10.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (4790:13): [True: 62, False: 10.3k]
  ------------------
 4791|     62|            p->level--;
 4792|     62|            return NULL;
 4793|     62|        }
 4794|  10.3k|        D(fprintf(stderr, "%*c> function_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4795|  10.3k|        Token * _keyword;
 4796|  10.3k|        Token * _keyword_1;
 4797|  10.3k|        Token * _literal;
 4798|  10.3k|        Token * _literal_1;
 4799|  10.3k|        Token * _literal_2;
 4800|  10.3k|        void *a;
 4801|  10.3k|        asdl_stmt_seq* b;
 4802|  10.3k|        expr_ty n;
 4803|  10.3k|        void *params;
 4804|  10.3k|        void *t;
 4805|  10.3k|        void *tc;
 4806|  10.3k|        if (
 4807|  10.3k|            (_keyword = _PyPegen_expect_token(p, 513))  // token='async'
  ------------------
  |  Branch (4807:13): [True: 8.01k, False: 2.36k]
  ------------------
 4808|  8.01k|            &&
 4809|  8.01k|            (_keyword_1 = _PyPegen_expect_token(p, 512))  // token='def'
  ------------------
  |  Branch (4809:13): [True: 4.19k, False: 3.81k]
  ------------------
 4810|  4.19k|            &&
 4811|  4.19k|            (n = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4811:13): [True: 4.19k, False: 3]
  ------------------
 4812|  4.19k|            &&
 4813|  4.19k|            (t = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  |  457|  4.19k|#define type_params_rule _PyPegen_type_params_rule
  ------------------
  |  Branch (4813:13): [True: 4.18k, False: 2]
  ------------------
 4814|  4.18k|            &&
 4815|  4.18k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (4815:13): [True: 4.18k, False: 3]
  ------------------
 4816|  4.18k|            &&
 4817|  4.18k|            (params = params_rule(p), !p->error_indicator)  // params?
  ------------------
  |  |  421|  4.18k|#define params_rule _PyPegen_params_rule
  ------------------
  |  Branch (4817:13): [True: 4.18k, False: 3]
  ------------------
 4818|  4.18k|            &&
 4819|  4.18k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (4819:13): [True: 4.14k, False: 36]
  ------------------
 4820|  4.14k|            &&
 4821|  4.14k|            (a = _tmp_26_rule(p), !p->error_indicator)  // ['->' expression]
  ------------------
  |  Branch (4821:13): [True: 4.14k, False: 1]
  ------------------
 4822|  4.14k|            &&
 4823|  4.14k|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4823:13): [True: 4.13k, False: 8]
  ------------------
 4824|  4.13k|            &&
 4825|  4.13k|            (tc = func_type_comment_rule(p), !p->error_indicator)  // func_type_comment?
  ------------------
  |  |  535|  4.13k|#define func_type_comment_rule _PyPegen_func_type_comment_rule
  ------------------
  |  Branch (4825:13): [True: 4.13k, False: 1]
  ------------------
 4826|  4.13k|            &&
 4827|  4.13k|            (b = block_rule(p))  // block
  ------------------
  |  |  419|  4.13k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (4827:13): [True: 4.05k, False: 81]
  ------------------
 4828|  10.3k|        )
 4829|  4.05k|        {
 4830|  4.05k|            D(fprintf(stderr, "%*c+ function_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async' 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4831|  4.05k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4832|  4.05k|            if (_token == NULL) {
  ------------------
  |  Branch (4832:17): [True: 0, False: 4.05k]
  ------------------
 4833|      0|                p->level--;
 4834|      0|                return NULL;
 4835|      0|            }
 4836|  4.05k|            int _end_lineno = _token->end_lineno;
 4837|  4.05k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
 4838|  4.05k|            int _end_col_offset = _token->end_col_offset;
 4839|  4.05k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  4.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
 4840|  4.05k|            _res = CHECK_VERSION ( stmt_ty , 5 , "Async functions are" , _PyAST_AsyncFunctionDef ( n -> v . Name . id , ( params ) ? params : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , NULL , a , NEW_TYPE_COMMENT ( p , tc ) , t , EXTRA ) );
  ------------------
  |  |  354|  8.11k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  |  |  ------------------
  |  |  |  Branch (354:96): [True: 3.85k, False: 198]
  |  |  ------------------
  ------------------
 4841|  4.05k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4841:18): [True: 0, False: 4.05k]
  |  Branch (4841:34): [True: 1, False: 4.05k]
  |  Branch (4841:57): [True: 1, False: 0]
  ------------------
 4842|      1|                p->error_indicator = 1;
 4843|      1|                p->level--;
 4844|      1|                return NULL;
 4845|      1|            }
 4846|  4.05k|            goto done;
 4847|  4.05k|        }
 4848|  6.31k|        p->mark = _mark;
 4849|  6.31k|        D(fprintf(stderr, "%*c%s function_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4850|  6.31k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4851|  6.31k|    }
 4852|  6.31k|    _res = NULL;
 4853|  19.2k|  done:
 4854|  19.2k|    p->level--;
 4855|  19.2k|    return _res;
 4856|  6.31k|}
parser.c:_tmp_26_rule:
21167|  11.0k|{
21168|  11.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  22.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21168:9): [True: 0, False: 11.0k]
  |  Branch (21168:35): [True: 0, False: 11.0k]
  ------------------
21169|      0|        _Pypegen_stack_overflow(p);
21170|      0|    }
21171|  11.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (21171:9): [True: 0, False: 11.0k]
  ------------------
21172|      0|        p->level--;
21173|      0|        return NULL;
21174|      0|    }
21175|  11.0k|    void * _res = NULL;
21176|  11.0k|    int _mark = p->mark;
21177|  11.0k|    { // '->' expression
21178|  11.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (21178:13): [True: 0, False: 11.0k]
  ------------------
21179|      0|            p->level--;
21180|      0|            return NULL;
21181|      0|        }
21182|  11.0k|        D(fprintf(stderr, "%*c> _tmp_26[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'->' expression"));
21183|  11.0k|        Token * _literal;
21184|  11.0k|        expr_ty z;
21185|  11.0k|        if (
21186|  11.0k|            (_literal = _PyPegen_expect_token(p, 51))  // token='->'
  ------------------
  |  Branch (21186:13): [True: 2.55k, False: 8.51k]
  ------------------
21187|  2.55k|            &&
21188|  2.55k|            (z = expression_rule(p))  // expression
  ------------------
  |  |  461|  2.55k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (21188:13): [True: 2.54k, False: 4]
  ------------------
21189|  11.0k|        )
21190|  2.54k|        {
21191|  2.54k|            D(fprintf(stderr, "%*c+ _tmp_26[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'->' expression"));
21192|  2.54k|            _res = z;
21193|  2.54k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21193:18): [True: 0, False: 2.54k]
  |  Branch (21193:34): [True: 0, False: 2.54k]
  |  Branch (21193:57): [True: 0, False: 0]
  ------------------
21194|      0|                p->error_indicator = 1;
21195|      0|                p->level--;
21196|      0|                return NULL;
21197|      0|            }
21198|  2.54k|            goto done;
21199|  2.54k|        }
21200|  8.52k|        p->mark = _mark;
21201|  8.52k|        D(fprintf(stderr, "%*c%s _tmp_26[%d-%d]: %s failed!\n", p->level, ' ',
21202|  8.52k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'->' expression"));
21203|  8.52k|    }
21204|  8.52k|    _res = NULL;
21205|  11.0k|  done:
21206|  11.0k|    p->level--;
21207|  11.0k|    return _res;
21208|  8.52k|}
parser.c:if_stmt_rule:
 6097|  1.73k|{
 6098|  1.73k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.47k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6098:9): [True: 0, False: 1.73k]
  |  Branch (6098:35): [True: 0, False: 1.73k]
  ------------------
 6099|      0|        _Pypegen_stack_overflow(p);
 6100|      0|    }
 6101|  1.73k|    if (p->error_indicator) {
  ------------------
  |  Branch (6101:9): [True: 0, False: 1.73k]
  ------------------
 6102|      0|        p->level--;
 6103|      0|        return NULL;
 6104|      0|    }
 6105|  1.73k|    stmt_ty _res = NULL;
 6106|  1.73k|    int _mark = p->mark;
 6107|  1.73k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6107:9): [True: 0, False: 1.73k]
  |  Branch (6107:31): [True: 0, False: 0]
  ------------------
 6108|      0|        p->error_indicator = 1;
 6109|      0|        p->level--;
 6110|      0|        return NULL;
 6111|      0|    }
 6112|  1.73k|    int _start_lineno = p->tokens[_mark]->lineno;
 6113|  1.73k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.73k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.73k]
  |  |  ------------------
  ------------------
 6114|  1.73k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6115|  1.73k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.73k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.73k]
  |  |  ------------------
  ------------------
 6116|  1.73k|    if (p->call_invalid_rules) { // invalid_if_stmt
  ------------------
  |  Branch (6116:9): [True: 353, False: 1.38k]
  ------------------
 6117|    353|        if (p->error_indicator) {
  ------------------
  |  Branch (6117:13): [True: 0, False: 353]
  ------------------
 6118|      0|            p->level--;
 6119|      0|            return NULL;
 6120|      0|        }
 6121|    353|        D(fprintf(stderr, "%*c> if_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_if_stmt"));
 6122|    353|        void *invalid_if_stmt_var;
 6123|    353|        if (
 6124|    353|            (invalid_if_stmt_var = invalid_if_stmt_rule(p))  // invalid_if_stmt
  ------------------
  |  |  623|    353|#define invalid_if_stmt_rule _PyPegen_invalid_if_stmt_rule
  ------------------
  |  Branch (6124:13): [True: 0, False: 353]
  ------------------
 6125|    353|        )
 6126|      0|        {
 6127|      0|            D(fprintf(stderr, "%*c+ if_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_if_stmt"));
 6128|      0|            _res = invalid_if_stmt_var;
 6129|      0|            goto done;
 6130|      0|        }
 6131|    353|        p->mark = _mark;
 6132|    353|        D(fprintf(stderr, "%*c%s if_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6133|    353|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_if_stmt"));
 6134|    353|    }
 6135|  1.73k|    { // 'if' named_expression ':' block elif_stmt
 6136|  1.73k|        if (p->error_indicator) {
  ------------------
  |  Branch (6136:13): [True: 8, False: 1.73k]
  ------------------
 6137|      8|            p->level--;
 6138|      8|            return NULL;
 6139|      8|        }
 6140|  1.73k|        D(fprintf(stderr, "%*c> if_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' block elif_stmt"));
 6141|  1.73k|        Token * _keyword;
 6142|  1.73k|        Token * _literal;
 6143|  1.73k|        expr_ty a;
 6144|  1.73k|        asdl_stmt_seq* b;
 6145|  1.73k|        stmt_ty c;
 6146|  1.73k|        if (
 6147|  1.73k|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (6147:13): [True: 1.73k, False: 0]
  ------------------
 6148|  1.73k|            &&
 6149|  1.73k|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  |  475|  1.73k|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (6149:13): [True: 1.70k, False: 22]
  ------------------
 6150|  1.70k|            &&
 6151|  1.70k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6151:13): [True: 1.70k, False: 6]
  ------------------
 6152|  1.70k|            &&
 6153|  1.70k|            (b = block_rule(p))  // block
  ------------------
  |  |  419|  1.70k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (6153:13): [True: 1.65k, False: 44]
  ------------------
 6154|  1.65k|            &&
 6155|  1.65k|            (c = elif_stmt_rule(p))  // elif_stmt
  ------------------
  |  Branch (6155:13): [True: 95, False: 1.56k]
  ------------------
 6156|  1.73k|        )
 6157|     95|        {
 6158|     95|            D(fprintf(stderr, "%*c+ if_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' block elif_stmt"));
 6159|     95|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6160|     95|            if (_token == NULL) {
  ------------------
  |  Branch (6160:17): [True: 0, False: 95]
  ------------------
 6161|      0|                p->level--;
 6162|      0|                return NULL;
 6163|      0|            }
 6164|     95|            int _end_lineno = _token->end_lineno;
 6165|     95|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     95|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 95]
  |  |  ------------------
  ------------------
 6166|     95|            int _end_col_offset = _token->end_col_offset;
 6167|     95|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     95|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 95]
  |  |  ------------------
  ------------------
 6168|     95|            _res = _PyAST_If ( a , b , CHECK ( asdl_stmt_seq* , _PyPegen_singleton_seq ( p , c ) ) , EXTRA );
  ------------------
  |  |  280|     95|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_If ( a , b , CHECK ( asdl_stmt_seq* , _PyPegen_singleton_seq ( p , c ) ) , EXTRA );
  ------------------
  |  |  316|     95|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6169|     95|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6169:18): [True: 0, False: 95]
  |  Branch (6169:34): [True: 0, False: 95]
  |  Branch (6169:57): [True: 0, False: 0]
  ------------------
 6170|      0|                p->error_indicator = 1;
 6171|      0|                p->level--;
 6172|      0|                return NULL;
 6173|      0|            }
 6174|     95|            goto done;
 6175|     95|        }
 6176|  1.63k|        p->mark = _mark;
 6177|  1.63k|        D(fprintf(stderr, "%*c%s if_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6178|  1.63k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' named_expression ':' block elif_stmt"));
 6179|  1.63k|    }
 6180|      0|    { // 'if' named_expression ':' block else_block?
 6181|  1.63k|        if (p->error_indicator) {
  ------------------
  |  Branch (6181:13): [True: 34, False: 1.60k]
  ------------------
 6182|     34|            p->level--;
 6183|     34|            return NULL;
 6184|     34|        }
 6185|  1.60k|        D(fprintf(stderr, "%*c> if_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' block else_block?"));
 6186|  1.60k|        Token * _keyword;
 6187|  1.60k|        Token * _literal;
 6188|  1.60k|        expr_ty a;
 6189|  1.60k|        asdl_stmt_seq* b;
 6190|  1.60k|        void *c;
 6191|  1.60k|        if (
 6192|  1.60k|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (6192:13): [True: 1.60k, False: 0]
  ------------------
 6193|  1.60k|            &&
 6194|  1.60k|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  |  475|  1.60k|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (6194:13): [True: 1.58k, False: 17]
  ------------------
 6195|  1.58k|            &&
 6196|  1.58k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6196:13): [True: 1.57k, False: 6]
  ------------------
 6197|  1.57k|            &&
 6198|  1.57k|            (b = block_rule(p))  // block
  ------------------
  |  |  419|  1.57k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (6198:13): [True: 1.54k, False: 31]
  ------------------
 6199|  1.54k|            &&
 6200|  1.54k|            (c = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6200:13): [True: 1.54k, False: 4]
  ------------------
 6201|  1.60k|        )
 6202|  1.54k|        {
 6203|  1.54k|            D(fprintf(stderr, "%*c+ if_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' block else_block?"));
 6204|  1.54k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6205|  1.54k|            if (_token == NULL) {
  ------------------
  |  Branch (6205:17): [True: 0, False: 1.54k]
  ------------------
 6206|      0|                p->level--;
 6207|      0|                return NULL;
 6208|      0|            }
 6209|  1.54k|            int _end_lineno = _token->end_lineno;
 6210|  1.54k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.54k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.54k]
  |  |  ------------------
  ------------------
 6211|  1.54k|            int _end_col_offset = _token->end_col_offset;
 6212|  1.54k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.54k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.54k]
  |  |  ------------------
  ------------------
 6213|  1.54k|            _res = _PyAST_If ( a , b , c , EXTRA );
  ------------------
  |  |  316|  1.54k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6214|  1.54k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6214:18): [True: 0, False: 1.54k]
  |  Branch (6214:34): [True: 0, False: 1.54k]
  |  Branch (6214:57): [True: 0, False: 0]
  ------------------
 6215|      0|                p->error_indicator = 1;
 6216|      0|                p->level--;
 6217|      0|                return NULL;
 6218|      0|            }
 6219|  1.54k|            goto done;
 6220|  1.54k|        }
 6221|     58|        p->mark = _mark;
 6222|     58|        D(fprintf(stderr, "%*c%s if_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6223|     58|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' named_expression ':' block else_block?"));
 6224|     58|    }
 6225|     58|    _res = NULL;
 6226|  1.69k|  done:
 6227|  1.69k|    p->level--;
 6228|  1.69k|    return _res;
 6229|     58|}
parser.c:elif_stmt_rule:
 6237|  2.66k|{
 6238|  2.66k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  5.33k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6238:9): [True: 0, False: 2.66k]
  |  Branch (6238:35): [True: 0, False: 2.66k]
  ------------------
 6239|      0|        _Pypegen_stack_overflow(p);
 6240|      0|    }
 6241|  2.66k|    if (p->error_indicator) {
  ------------------
  |  Branch (6241:9): [True: 0, False: 2.66k]
  ------------------
 6242|      0|        p->level--;
 6243|      0|        return NULL;
 6244|      0|    }
 6245|  2.66k|    stmt_ty _res = NULL;
 6246|  2.66k|    int _mark = p->mark;
 6247|  2.66k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6247:9): [True: 2.07k, False: 589]
  |  Branch (6247:31): [True: 1, False: 2.07k]
  ------------------
 6248|      1|        p->error_indicator = 1;
 6249|      1|        p->level--;
 6250|      1|        return NULL;
 6251|      1|    }
 6252|  2.66k|    int _start_lineno = p->tokens[_mark]->lineno;
 6253|  2.66k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.66k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.66k]
  |  |  ------------------
  ------------------
 6254|  2.66k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6255|  2.66k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.66k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.66k]
  |  |  ------------------
  ------------------
 6256|  2.66k|    if (p->call_invalid_rules) { // invalid_elif_stmt
  ------------------
  |  Branch (6256:9): [True: 589, False: 2.07k]
  ------------------
 6257|    589|        if (p->error_indicator) {
  ------------------
  |  Branch (6257:13): [True: 0, False: 589]
  ------------------
 6258|      0|            p->level--;
 6259|      0|            return NULL;
 6260|      0|        }
 6261|    589|        D(fprintf(stderr, "%*c> elif_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_elif_stmt"));
 6262|    589|        void *invalid_elif_stmt_var;
 6263|    589|        if (
 6264|    589|            (invalid_elif_stmt_var = invalid_elif_stmt_rule(p))  // invalid_elif_stmt
  ------------------
  |  |  625|    589|#define invalid_elif_stmt_rule _PyPegen_invalid_elif_stmt_rule
  ------------------
  |  Branch (6264:13): [True: 0, False: 589]
  ------------------
 6265|    589|        )
 6266|      0|        {
 6267|      0|            D(fprintf(stderr, "%*c+ elif_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_elif_stmt"));
 6268|      0|            _res = invalid_elif_stmt_var;
 6269|      0|            goto done;
 6270|      0|        }
 6271|    589|        p->mark = _mark;
 6272|    589|        D(fprintf(stderr, "%*c%s elif_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6273|    589|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_elif_stmt"));
 6274|    589|    }
 6275|  2.66k|    { // 'elif' named_expression ':' block elif_stmt
 6276|  2.66k|        if (p->error_indicator) {
  ------------------
  |  Branch (6276:13): [True: 7, False: 2.65k]
  ------------------
 6277|      7|            p->level--;
 6278|      7|            return NULL;
 6279|      7|        }
 6280|  2.65k|        D(fprintf(stderr, "%*c> elif_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' block elif_stmt"));
 6281|  2.65k|        Token * _keyword;
 6282|  2.65k|        Token * _literal;
 6283|  2.65k|        expr_ty a;
 6284|  2.65k|        asdl_stmt_seq* b;
 6285|  2.65k|        stmt_ty c;
 6286|  2.65k|        if (
 6287|  2.65k|            (_keyword = _PyPegen_expect_token(p, 521))  // token='elif'
  ------------------
  |  Branch (6287:13): [True: 1.04k, False: 1.61k]
  ------------------
 6288|  1.04k|            &&
 6289|  1.04k|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  |  475|  1.04k|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (6289:13): [True: 1.03k, False: 5]
  ------------------
 6290|  1.03k|            &&
 6291|  1.03k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6291:13): [True: 1.02k, False: 9]
  ------------------
 6292|  1.02k|            &&
 6293|  1.02k|            (b = block_rule(p))  // block
  ------------------
  |  |  419|  1.02k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (6293:13): [True: 1.00k, False: 19]
  ------------------
 6294|  1.00k|            &&
 6295|  1.00k|            (c = elif_stmt_rule(p))  // elif_stmt
  ------------------
  |  Branch (6295:13): [True: 701, False: 307]
  ------------------
 6296|  2.65k|        )
 6297|    701|        {
 6298|    701|            D(fprintf(stderr, "%*c+ elif_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' block elif_stmt"));
 6299|    701|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6300|    701|            if (_token == NULL) {
  ------------------
  |  Branch (6300:17): [True: 0, False: 701]
  ------------------
 6301|      0|                p->level--;
 6302|      0|                return NULL;
 6303|      0|            }
 6304|    701|            int _end_lineno = _token->end_lineno;
 6305|    701|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    701|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 701]
  |  |  ------------------
  ------------------
 6306|    701|            int _end_col_offset = _token->end_col_offset;
 6307|    701|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    701|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 701]
  |  |  ------------------
  ------------------
 6308|    701|            _res = _PyAST_If ( a , b , CHECK ( asdl_stmt_seq* , _PyPegen_singleton_seq ( p , c ) ) , EXTRA );
  ------------------
  |  |  280|    701|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_If ( a , b , CHECK ( asdl_stmt_seq* , _PyPegen_singleton_seq ( p , c ) ) , EXTRA );
  ------------------
  |  |  316|    701|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6309|    701|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6309:18): [True: 0, False: 701]
  |  Branch (6309:34): [True: 0, False: 701]
  |  Branch (6309:57): [True: 0, False: 0]
  ------------------
 6310|      0|                p->error_indicator = 1;
 6311|      0|                p->level--;
 6312|      0|                return NULL;
 6313|      0|            }
 6314|    701|            goto done;
 6315|    701|        }
 6316|  1.95k|        p->mark = _mark;
 6317|  1.95k|        D(fprintf(stderr, "%*c%s elif_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6318|  1.95k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'elif' named_expression ':' block elif_stmt"));
 6319|  1.95k|    }
 6320|      0|    { // 'elif' named_expression ':' block else_block?
 6321|  1.95k|        if (p->error_indicator) {
  ------------------
  |  Branch (6321:13): [True: 218, False: 1.73k]
  ------------------
 6322|    218|            p->level--;
 6323|    218|            return NULL;
 6324|    218|        }
 6325|  1.73k|        D(fprintf(stderr, "%*c> elif_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' block else_block?"));
 6326|  1.73k|        Token * _keyword;
 6327|  1.73k|        Token * _literal;
 6328|  1.73k|        expr_ty a;
 6329|  1.73k|        asdl_stmt_seq* b;
 6330|  1.73k|        void *c;
 6331|  1.73k|        if (
 6332|  1.73k|            (_keyword = _PyPegen_expect_token(p, 521))  // token='elif'
  ------------------
  |  Branch (6332:13): [True: 122, False: 1.61k]
  ------------------
 6333|    122|            &&
 6334|    122|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  |  475|    122|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (6334:13): [True: 119, False: 3]
  ------------------
 6335|    119|            &&
 6336|    119|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6336:13): [True: 110, False: 9]
  ------------------
 6337|    110|            &&
 6338|    110|            (b = block_rule(p))  // block
  ------------------
  |  |  419|    110|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (6338:13): [True: 96, False: 14]
  ------------------
 6339|     96|            &&
 6340|     96|            (c = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6340:13): [True: 95, False: 1]
  ------------------
 6341|  1.73k|        )
 6342|     95|        {
 6343|     95|            D(fprintf(stderr, "%*c+ elif_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' block else_block?"));
 6344|     95|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6345|     95|            if (_token == NULL) {
  ------------------
  |  Branch (6345:17): [True: 0, False: 95]
  ------------------
 6346|      0|                p->level--;
 6347|      0|                return NULL;
 6348|      0|            }
 6349|     95|            int _end_lineno = _token->end_lineno;
 6350|     95|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     95|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 95]
  |  |  ------------------
  ------------------
 6351|     95|            int _end_col_offset = _token->end_col_offset;
 6352|     95|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     95|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 95]
  |  |  ------------------
  ------------------
 6353|     95|            _res = _PyAST_If ( a , b , c , EXTRA );
  ------------------
  |  |  316|     95|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6354|     95|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6354:18): [True: 0, False: 95]
  |  Branch (6354:34): [True: 0, False: 95]
  |  Branch (6354:57): [True: 0, False: 0]
  ------------------
 6355|      0|                p->error_indicator = 1;
 6356|      0|                p->level--;
 6357|      0|                return NULL;
 6358|      0|            }
 6359|     95|            goto done;
 6360|     95|        }
 6361|  1.64k|        p->mark = _mark;
 6362|  1.64k|        D(fprintf(stderr, "%*c%s elif_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6363|  1.64k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'elif' named_expression ':' block else_block?"));
 6364|  1.64k|    }
 6365|  1.64k|    _res = NULL;
 6366|  2.44k|  done:
 6367|  2.44k|    p->level--;
 6368|  2.44k|    return _res;
 6369|  1.64k|}
parser.c:else_block_rule:
 6374|  10.4k|{
 6375|  10.4k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  20.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6375:9): [True: 0, False: 10.4k]
  |  Branch (6375:35): [True: 0, False: 10.4k]
  ------------------
 6376|      0|        _Pypegen_stack_overflow(p);
 6377|      0|    }
 6378|  10.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (6378:9): [True: 0, False: 10.4k]
  ------------------
 6379|      0|        p->level--;
 6380|      0|        return NULL;
 6381|      0|    }
 6382|  10.4k|    asdl_stmt_seq* _res = NULL;
 6383|  10.4k|    int _mark = p->mark;
 6384|  10.4k|    if (p->call_invalid_rules) { // invalid_else_stmt
  ------------------
  |  Branch (6384:9): [True: 2.00k, False: 8.47k]
  ------------------
 6385|  2.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (6385:13): [True: 0, False: 2.00k]
  ------------------
 6386|      0|            p->level--;
 6387|      0|            return NULL;
 6388|      0|        }
 6389|  2.00k|        D(fprintf(stderr, "%*c> else_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_else_stmt"));
 6390|  2.00k|        void *invalid_else_stmt_var;
 6391|  2.00k|        if (
 6392|  2.00k|            (invalid_else_stmt_var = invalid_else_stmt_rule(p))  // invalid_else_stmt
  ------------------
  |  |  627|  2.00k|#define invalid_else_stmt_rule _PyPegen_invalid_else_stmt_rule
  ------------------
  |  Branch (6392:13): [True: 0, False: 2.00k]
  ------------------
 6393|  2.00k|        )
 6394|      0|        {
 6395|      0|            D(fprintf(stderr, "%*c+ else_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_else_stmt"));
 6396|      0|            _res = invalid_else_stmt_var;
 6397|      0|            goto done;
 6398|      0|        }
 6399|  2.00k|        p->mark = _mark;
 6400|  2.00k|        D(fprintf(stderr, "%*c%s else_block[%d-%d]: %s failed!\n", p->level, ' ',
 6401|  2.00k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_else_stmt"));
 6402|  2.00k|    }
 6403|  10.4k|    { // 'else' &&':' block
 6404|  10.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (6404:13): [True: 6, False: 10.4k]
  ------------------
 6405|      6|            p->level--;
 6406|      6|            return NULL;
 6407|      6|        }
 6408|  10.4k|        D(fprintf(stderr, "%*c> else_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'else' &&':' block"));
 6409|  10.4k|        Token * _keyword;
 6410|  10.4k|        Token * _literal;
 6411|  10.4k|        asdl_stmt_seq* b;
 6412|  10.4k|        if (
 6413|  10.4k|            (_keyword = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (6413:13): [True: 1.34k, False: 9.12k]
  ------------------
 6414|  1.34k|            &&
 6415|  1.34k|            (_literal = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (6415:13): [True: 1.34k, False: 3]
  ------------------
 6416|  1.34k|            &&
 6417|  1.34k|            (b = block_rule(p))  // block
  ------------------
  |  |  419|  1.34k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (6417:13): [True: 1.33k, False: 12]
  ------------------
 6418|  10.4k|        )
 6419|  1.33k|        {
 6420|  1.33k|            D(fprintf(stderr, "%*c+ else_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'else' &&':' block"));
 6421|  1.33k|            _res = b;
 6422|  1.33k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6422:18): [True: 0, False: 1.33k]
  |  Branch (6422:34): [True: 0, False: 1.33k]
  |  Branch (6422:57): [True: 0, False: 0]
  ------------------
 6423|      0|                p->error_indicator = 1;
 6424|      0|                p->level--;
 6425|      0|                return NULL;
 6426|      0|            }
 6427|  1.33k|            goto done;
 6428|  1.33k|        }
 6429|  9.14k|        p->mark = _mark;
 6430|  9.14k|        D(fprintf(stderr, "%*c%s else_block[%d-%d]: %s failed!\n", p->level, ' ',
 6431|  9.14k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'else' &&':' block"));
 6432|  9.14k|    }
 6433|  9.14k|    _res = NULL;
 6434|  10.4k|  done:
 6435|  10.4k|    p->level--;
 6436|  10.4k|    return _res;
 6437|  9.14k|}
parser.c:_tmp_7_rule:
20113|   175k|{
20114|   175k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   350k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20114:9): [True: 0, False: 175k]
  |  Branch (20114:35): [True: 0, False: 175k]
  ------------------
20115|      0|        _Pypegen_stack_overflow(p);
20116|      0|    }
20117|   175k|    if (p->error_indicator) {
  ------------------
  |  Branch (20117:9): [True: 0, False: 175k]
  ------------------
20118|      0|        p->level--;
20119|      0|        return NULL;
20120|      0|    }
20121|   175k|    void * _res = NULL;
20122|   175k|    int _mark = p->mark;
20123|   175k|    { // 'class'
20124|   175k|        if (p->error_indicator) {
  ------------------
  |  Branch (20124:13): [True: 0, False: 175k]
  ------------------
20125|      0|            p->level--;
20126|      0|            return NULL;
20127|      0|        }
20128|   175k|        D(fprintf(stderr, "%*c> _tmp_7[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'class'"));
20129|   175k|        Token * _keyword;
20130|   175k|        if (
20131|   175k|            (_keyword = _PyPegen_expect_token(p, 515))  // token='class'
  ------------------
  |  Branch (20131:13): [True: 14.8k, False: 160k]
  ------------------
20132|   175k|        )
20133|  14.8k|        {
20134|  14.8k|            D(fprintf(stderr, "%*c+ _tmp_7[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'class'"));
20135|  14.8k|            _res = _keyword;
20136|  14.8k|            goto done;
20137|  14.8k|        }
20138|   160k|        p->mark = _mark;
20139|   160k|        D(fprintf(stderr, "%*c%s _tmp_7[%d-%d]: %s failed!\n", p->level, ' ',
20140|   160k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'class'"));
20141|   160k|    }
20142|      0|    { // '@'
20143|   160k|        if (p->error_indicator) {
  ------------------
  |  Branch (20143:13): [True: 0, False: 160k]
  ------------------
20144|      0|            p->level--;
20145|      0|            return NULL;
20146|      0|        }
20147|   160k|        D(fprintf(stderr, "%*c> _tmp_7[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@'"));
20148|   160k|        Token * _literal;
20149|   160k|        if (
20150|   160k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (20150:13): [True: 1.02k, False: 159k]
  ------------------
20151|   160k|        )
20152|  1.02k|        {
20153|  1.02k|            D(fprintf(stderr, "%*c+ _tmp_7[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@'"));
20154|  1.02k|            _res = _literal;
20155|  1.02k|            goto done;
20156|  1.02k|        }
20157|   159k|        p->mark = _mark;
20158|   159k|        D(fprintf(stderr, "%*c%s _tmp_7[%d-%d]: %s failed!\n", p->level, ' ',
20159|   159k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@'"));
20160|   159k|    }
20161|   159k|    _res = NULL;
20162|   175k|  done:
20163|   175k|    p->level--;
20164|   175k|    return _res;
20165|   159k|}
parser.c:class_def_rule:
 4461|  15.8k|{
 4462|  15.8k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  31.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4462:9): [True: 0, False: 15.8k]
  |  Branch (4462:35): [True: 0, False: 15.8k]
  ------------------
 4463|      0|        _Pypegen_stack_overflow(p);
 4464|      0|    }
 4465|  15.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (4465:9): [True: 0, False: 15.8k]
  ------------------
 4466|      0|        p->level--;
 4467|      0|        return NULL;
 4468|      0|    }
 4469|  15.8k|    stmt_ty _res = NULL;
 4470|  15.8k|    int _mark = p->mark;
 4471|  15.8k|    { // decorators class_def_raw
 4472|  15.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (4472:13): [True: 0, False: 15.8k]
  ------------------
 4473|      0|            p->level--;
 4474|      0|            return NULL;
 4475|      0|        }
 4476|  15.8k|        D(fprintf(stderr, "%*c> class_def[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "decorators class_def_raw"));
 4477|  15.8k|        asdl_expr_seq* a;
 4478|  15.8k|        stmt_ty b;
 4479|  15.8k|        if (
 4480|  15.8k|            (a = decorators_rule(p))  // decorators
  ------------------
  |  Branch (4480:13): [True: 974, False: 14.8k]
  ------------------
 4481|    974|            &&
 4482|    974|            (b = class_def_raw_rule(p))  // class_def_raw
  ------------------
  |  Branch (4482:13): [True: 883, False: 91]
  ------------------
 4483|  15.8k|        )
 4484|    883|        {
 4485|    883|            D(fprintf(stderr, "%*c+ class_def[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "decorators class_def_raw"));
 4486|    883|            _res = _PyPegen_class_def_decorators ( p , a , b );
 4487|    883|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4487:18): [True: 0, False: 883]
  |  Branch (4487:34): [True: 0, False: 883]
  |  Branch (4487:57): [True: 0, False: 0]
  ------------------
 4488|      0|                p->error_indicator = 1;
 4489|      0|                p->level--;
 4490|      0|                return NULL;
 4491|      0|            }
 4492|    883|            goto done;
 4493|    883|        }
 4494|  14.9k|        p->mark = _mark;
 4495|  14.9k|        D(fprintf(stderr, "%*c%s class_def[%d-%d]: %s failed!\n", p->level, ' ',
 4496|  14.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "decorators class_def_raw"));
 4497|  14.9k|    }
 4498|      0|    { // class_def_raw
 4499|  14.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (4499:13): [True: 2, False: 14.9k]
  ------------------
 4500|      2|            p->level--;
 4501|      2|            return NULL;
 4502|      2|        }
 4503|  14.9k|        D(fprintf(stderr, "%*c> class_def[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "class_def_raw"));
 4504|  14.9k|        stmt_ty class_def_raw_var;
 4505|  14.9k|        if (
 4506|  14.9k|            (class_def_raw_var = class_def_raw_rule(p))  // class_def_raw
  ------------------
  |  Branch (4506:13): [True: 14.6k, False: 312]
  ------------------
 4507|  14.9k|        )
 4508|  14.6k|        {
 4509|  14.6k|            D(fprintf(stderr, "%*c+ class_def[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "class_def_raw"));
 4510|  14.6k|            _res = class_def_raw_var;
 4511|  14.6k|            goto done;
 4512|  14.6k|        }
 4513|    312|        p->mark = _mark;
 4514|    312|        D(fprintf(stderr, "%*c%s class_def[%d-%d]: %s failed!\n", p->level, ' ',
 4515|    312|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "class_def_raw"));
 4516|    312|    }
 4517|    312|    _res = NULL;
 4518|  15.8k|  done:
 4519|  15.8k|    p->level--;
 4520|  15.8k|    return _res;
 4521|    312|}
parser.c:class_def_raw_rule:
 4528|  15.9k|{
 4529|  15.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  31.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4529:9): [True: 0, False: 15.9k]
  |  Branch (4529:35): [True: 0, False: 15.9k]
  ------------------
 4530|      0|        _Pypegen_stack_overflow(p);
 4531|      0|    }
 4532|  15.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (4532:9): [True: 0, False: 15.9k]
  ------------------
 4533|      0|        p->level--;
 4534|      0|        return NULL;
 4535|      0|    }
 4536|  15.9k|    stmt_ty _res = NULL;
 4537|  15.9k|    int _mark = p->mark;
 4538|  15.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (4538:9): [True: 0, False: 15.9k]
  |  Branch (4538:31): [True: 0, False: 0]
  ------------------
 4539|      0|        p->error_indicator = 1;
 4540|      0|        p->level--;
 4541|      0|        return NULL;
 4542|      0|    }
 4543|  15.9k|    int _start_lineno = p->tokens[_mark]->lineno;
 4544|  15.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  15.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 15.9k]
  |  |  ------------------
  ------------------
 4545|  15.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 4546|  15.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  15.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 15.9k]
  |  |  ------------------
  ------------------
 4547|  15.9k|    if (p->call_invalid_rules) { // invalid_class_def_raw
  ------------------
  |  Branch (4547:9): [True: 1.28k, False: 14.6k]
  ------------------
 4548|  1.28k|        if (p->error_indicator) {
  ------------------
  |  Branch (4548:13): [True: 0, False: 1.28k]
  ------------------
 4549|      0|            p->level--;
 4550|      0|            return NULL;
 4551|      0|        }
 4552|  1.28k|        D(fprintf(stderr, "%*c> class_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_class_def_raw"));
 4553|  1.28k|        void *invalid_class_def_raw_var;
 4554|  1.28k|        if (
 4555|  1.28k|            (invalid_class_def_raw_var = invalid_class_def_raw_rule(p))  // invalid_class_def_raw
  ------------------
  |  |  635|  1.28k|#define invalid_class_def_raw_rule _PyPegen_invalid_class_def_raw_rule
  ------------------
  |  Branch (4555:13): [True: 0, False: 1.28k]
  ------------------
 4556|  1.28k|        )
 4557|      0|        {
 4558|      0|            D(fprintf(stderr, "%*c+ class_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_class_def_raw"));
 4559|      0|            _res = invalid_class_def_raw_var;
 4560|      0|            goto done;
 4561|      0|        }
 4562|  1.28k|        p->mark = _mark;
 4563|  1.28k|        D(fprintf(stderr, "%*c%s class_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4564|  1.28k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_class_def_raw"));
 4565|  1.28k|    }
 4566|  15.9k|    { // 'class' NAME type_params? ['(' arguments? ')'] ':' block
 4567|  15.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (4567:13): [True: 12, False: 15.9k]
  ------------------
 4568|     12|            p->level--;
 4569|     12|            return NULL;
 4570|     12|        }
 4571|  15.9k|        D(fprintf(stderr, "%*c> class_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] ':' block"));
 4572|  15.9k|        Token * _keyword;
 4573|  15.9k|        Token * _literal;
 4574|  15.9k|        expr_ty a;
 4575|  15.9k|        void *b;
 4576|  15.9k|        asdl_stmt_seq* c;
 4577|  15.9k|        void *t;
 4578|  15.9k|        if (
 4579|  15.9k|            (_keyword = _PyPegen_expect_token(p, 515))  // token='class'
  ------------------
  |  Branch (4579:13): [True: 15.6k, False: 229]
  ------------------
 4580|  15.6k|            &&
 4581|  15.6k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4581:13): [True: 15.6k, False: 8]
  ------------------
 4582|  15.6k|            &&
 4583|  15.6k|            (t = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  |  457|  15.6k|#define type_params_rule _PyPegen_type_params_rule
  ------------------
  |  Branch (4583:13): [True: 15.6k, False: 3]
  ------------------
 4584|  15.6k|            &&
 4585|  15.6k|            (b = _tmp_25_rule(p), !p->error_indicator)  // ['(' arguments? ')']
  ------------------
  |  Branch (4585:13): [True: 15.6k, False: 1]
  ------------------
 4586|  15.6k|            &&
 4587|  15.6k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4587:13): [True: 15.6k, False: 58]
  ------------------
 4588|  15.6k|            &&
 4589|  15.6k|            (c = block_rule(p))  // block
  ------------------
  |  |  419|  15.6k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (4589:13): [True: 15.5k, False: 92]
  ------------------
 4590|  15.9k|        )
 4591|  15.5k|        {
 4592|  15.5k|            D(fprintf(stderr, "%*c+ class_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] ':' block"));
 4593|  15.5k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4594|  15.5k|            if (_token == NULL) {
  ------------------
  |  Branch (4594:17): [True: 0, False: 15.5k]
  ------------------
 4595|      0|                p->level--;
 4596|      0|                return NULL;
 4597|      0|            }
 4598|  15.5k|            int _end_lineno = _token->end_lineno;
 4599|  15.5k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  15.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 15.5k]
  |  |  ------------------
  ------------------
 4600|  15.5k|            int _end_col_offset = _token->end_col_offset;
 4601|  15.5k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  15.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 15.5k]
  |  |  ------------------
  ------------------
 4602|  15.5k|            _res = _PyAST_ClassDef ( a -> v . Name . id , ( b ) ? ( ( expr_ty ) b ) -> v . Call . args : NULL , ( b ) ? ( ( expr_ty ) b ) -> v . Call . keywords : NULL , c , NULL , t , EXTRA );
  ------------------
  |  |  316|  15.5k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (4602:59): [True: 1.02k, False: 14.5k]
  |  Branch (4602:113): [True: 1.02k, False: 14.5k]
  ------------------
 4603|  15.5k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4603:18): [True: 0, False: 15.5k]
  |  Branch (4603:34): [True: 0, False: 15.5k]
  |  Branch (4603:57): [True: 0, False: 0]
  ------------------
 4604|      0|                p->error_indicator = 1;
 4605|      0|                p->level--;
 4606|      0|                return NULL;
 4607|      0|            }
 4608|  15.5k|            goto done;
 4609|  15.5k|        }
 4610|    391|        p->mark = _mark;
 4611|    391|        D(fprintf(stderr, "%*c%s class_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4612|    391|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] ':' block"));
 4613|    391|    }
 4614|    391|    _res = NULL;
 4615|  15.9k|  done:
 4616|  15.9k|    p->level--;
 4617|  15.9k|    return _res;
 4618|    391|}
parser.c:_tmp_25_rule:
21118|  15.6k|{
21119|  15.6k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  31.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21119:9): [True: 0, False: 15.6k]
  |  Branch (21119:35): [True: 0, False: 15.6k]
  ------------------
21120|      0|        _Pypegen_stack_overflow(p);
21121|      0|    }
21122|  15.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (21122:9): [True: 0, False: 15.6k]
  ------------------
21123|      0|        p->level--;
21124|      0|        return NULL;
21125|      0|    }
21126|  15.6k|    void * _res = NULL;
21127|  15.6k|    int _mark = p->mark;
21128|  15.6k|    { // '(' arguments? ')'
21129|  15.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (21129:13): [True: 0, False: 15.6k]
  ------------------
21130|      0|            p->level--;
21131|      0|            return NULL;
21132|      0|        }
21133|  15.6k|        D(fprintf(stderr, "%*c> _tmp_25[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' arguments? ')'"));
21134|  15.6k|        Token * _literal;
21135|  15.6k|        Token * _literal_1;
21136|  15.6k|        void *z;
21137|  15.6k|        if (
21138|  15.6k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (21138:13): [True: 2.56k, False: 13.1k]
  ------------------
21139|  2.56k|            &&
21140|  2.56k|            (z = arguments_rule(p), !p->error_indicator)  // arguments?
  ------------------
  |  |  523|  2.56k|#define arguments_rule _PyPegen_arguments_rule
  ------------------
  |  Branch (21140:13): [True: 2.55k, False: 1]
  ------------------
21141|  2.55k|            &&
21142|  2.55k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (21142:13): [True: 2.55k, False: 5]
  ------------------
21143|  15.6k|        )
21144|  2.55k|        {
21145|  2.55k|            D(fprintf(stderr, "%*c+ _tmp_25[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' arguments? ')'"));
21146|  2.55k|            _res = z;
21147|  2.55k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21147:18): [True: 1.52k, False: 1.02k]
  |  Branch (21147:34): [True: 0, False: 1.02k]
  |  Branch (21147:57): [True: 0, False: 1.52k]
  ------------------
21148|      0|                p->error_indicator = 1;
21149|      0|                p->level--;
21150|      0|                return NULL;
21151|      0|            }
21152|  2.55k|            goto done;
21153|  2.55k|        }
21154|  13.1k|        p->mark = _mark;
21155|  13.1k|        D(fprintf(stderr, "%*c%s _tmp_25[%d-%d]: %s failed!\n", p->level, ' ',
21156|  13.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' arguments? ')'"));
21157|  13.1k|    }
21158|  13.1k|    _res = NULL;
21159|  15.6k|  done:
21160|  15.6k|    p->level--;
21161|  15.6k|    return _res;
21162|  13.1k|}
parser.c:_tmp_8_rule:
20170|   159k|{
20171|   159k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   319k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20171:9): [True: 0, False: 159k]
  |  Branch (20171:35): [True: 0, False: 159k]
  ------------------
20172|      0|        _Pypegen_stack_overflow(p);
20173|      0|    }
20174|   159k|    if (p->error_indicator) {
  ------------------
  |  Branch (20174:9): [True: 0, False: 159k]
  ------------------
20175|      0|        p->level--;
20176|      0|        return NULL;
20177|      0|    }
20178|   159k|    void * _res = NULL;
20179|   159k|    int _mark = p->mark;
20180|   159k|    { // 'with'
20181|   159k|        if (p->error_indicator) {
  ------------------
  |  Branch (20181:13): [True: 0, False: 159k]
  ------------------
20182|      0|            p->level--;
20183|      0|            return NULL;
20184|      0|        }
20185|   159k|        D(fprintf(stderr, "%*c> _tmp_8[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'with'"));
20186|   159k|        Token * _keyword;
20187|   159k|        if (
20188|   159k|            (_keyword = _PyPegen_expect_token(p, 516))  // token='with'
  ------------------
  |  Branch (20188:13): [True: 2.81k, False: 157k]
  ------------------
20189|   159k|        )
20190|  2.81k|        {
20191|  2.81k|            D(fprintf(stderr, "%*c+ _tmp_8[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'with'"));
20192|  2.81k|            _res = _keyword;
20193|  2.81k|            goto done;
20194|  2.81k|        }
20195|   157k|        p->mark = _mark;
20196|   157k|        D(fprintf(stderr, "%*c%s _tmp_8[%d-%d]: %s failed!\n", p->level, ' ',
20197|   157k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'with'"));
20198|   157k|    }
20199|      0|    { // 'async'
20200|   157k|        if (p->error_indicator) {
  ------------------
  |  Branch (20200:13): [True: 0, False: 157k]
  ------------------
20201|      0|            p->level--;
20202|      0|            return NULL;
20203|      0|        }
20204|   157k|        D(fprintf(stderr, "%*c> _tmp_8[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'"));
20205|   157k|        Token * _keyword;
20206|   157k|        if (
20207|   157k|            (_keyword = _PyPegen_expect_token(p, 513))  // token='async'
  ------------------
  |  Branch (20207:13): [True: 3.94k, False: 153k]
  ------------------
20208|   157k|        )
20209|  3.94k|        {
20210|  3.94k|            D(fprintf(stderr, "%*c+ _tmp_8[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'"));
20211|  3.94k|            _res = _keyword;
20212|  3.94k|            goto done;
20213|  3.94k|        }
20214|   153k|        p->mark = _mark;
20215|   153k|        D(fprintf(stderr, "%*c%s _tmp_8[%d-%d]: %s failed!\n", p->level, ' ',
20216|   153k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'"));
20217|   153k|    }
20218|   153k|    _res = NULL;
20219|   159k|  done:
20220|   159k|    p->level--;
20221|   159k|    return _res;
20222|   153k|}
parser.c:with_stmt_rule:
 6735|  6.75k|{
 6736|  6.75k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  13.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6736:9): [True: 0, False: 6.75k]
  |  Branch (6736:35): [True: 0, False: 6.75k]
  ------------------
 6737|      0|        _Pypegen_stack_overflow(p);
 6738|      0|    }
 6739|  6.75k|    if (p->error_indicator) {
  ------------------
  |  Branch (6739:9): [True: 0, False: 6.75k]
  ------------------
 6740|      0|        p->level--;
 6741|      0|        return NULL;
 6742|      0|    }
 6743|  6.75k|    stmt_ty _res = NULL;
 6744|  6.75k|    int _mark = p->mark;
 6745|  6.75k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6745:9): [True: 0, False: 6.75k]
  |  Branch (6745:31): [True: 0, False: 0]
  ------------------
 6746|      0|        p->error_indicator = 1;
 6747|      0|        p->level--;
 6748|      0|        return NULL;
 6749|      0|    }
 6750|  6.75k|    int _start_lineno = p->tokens[_mark]->lineno;
 6751|  6.75k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  6.75k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.75k]
  |  |  ------------------
  ------------------
 6752|  6.75k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6753|  6.75k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  6.75k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.75k]
  |  |  ------------------
  ------------------
 6754|  6.75k|    if (p->call_invalid_rules) { // invalid_with_stmt_indent
  ------------------
  |  Branch (6754:9): [True: 1.87k, False: 4.88k]
  ------------------
 6755|  1.87k|        if (p->error_indicator) {
  ------------------
  |  Branch (6755:13): [True: 0, False: 1.87k]
  ------------------
 6756|      0|            p->level--;
 6757|      0|            return NULL;
 6758|      0|        }
 6759|  1.87k|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_with_stmt_indent"));
 6760|  1.87k|        void *invalid_with_stmt_indent_var;
 6761|  1.87k|        if (
 6762|  1.87k|            (invalid_with_stmt_indent_var = invalid_with_stmt_indent_rule(p))  // invalid_with_stmt_indent
  ------------------
  |  |  599|  1.87k|#define invalid_with_stmt_indent_rule _PyPegen_invalid_with_stmt_indent_rule
  ------------------
  |  Branch (6762:13): [True: 0, False: 1.87k]
  ------------------
 6763|  1.87k|        )
 6764|      0|        {
 6765|      0|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_with_stmt_indent"));
 6766|      0|            _res = invalid_with_stmt_indent_var;
 6767|      0|            goto done;
 6768|      0|        }
 6769|  1.87k|        p->mark = _mark;
 6770|  1.87k|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6771|  1.87k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_with_stmt_indent"));
 6772|  1.87k|    }
 6773|  6.75k|    { // 'with' '(' ','.with_item+ ','? ')' ':' TYPE_COMMENT? block
 6774|  6.75k|        if (p->error_indicator) {
  ------------------
  |  Branch (6774:13): [True: 29, False: 6.73k]
  ------------------
 6775|     29|            p->level--;
 6776|     29|            return NULL;
 6777|     29|        }
 6778|  6.73k|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'with' '(' ','.with_item+ ','? ')' ':' TYPE_COMMENT? block"));
 6779|  6.73k|        Token * _keyword;
 6780|  6.73k|        Token * _literal;
 6781|  6.73k|        Token * _literal_1;
 6782|  6.73k|        Token * _literal_2;
 6783|  6.73k|        void *_opt_var;
 6784|  6.73k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  6.73k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.73k]
  |  |  ------------------
  ------------------
 6785|  6.73k|        asdl_withitem_seq* a;
 6786|  6.73k|        asdl_stmt_seq* b;
 6787|  6.73k|        void *tc;
 6788|  6.73k|        if (
 6789|  6.73k|            (_keyword = _PyPegen_expect_token(p, 516))  // token='with'
  ------------------
  |  Branch (6789:13): [True: 2.79k, False: 3.93k]
  ------------------
 6790|  2.79k|            &&
 6791|  2.79k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (6791:13): [True: 1.50k, False: 1.29k]
  ------------------
 6792|  1.50k|            &&
 6793|  1.50k|            (a = (asdl_withitem_seq*)_gather_34_rule(p))  // ','.with_item+
  ------------------
  |  Branch (6793:13): [True: 1.40k, False: 94]
  ------------------
 6794|  1.40k|            &&
 6795|  1.40k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (6795:13): [True: 1.40k, False: 1]
  ------------------
 6796|  1.40k|            &&
 6797|  1.40k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (6797:13): [True: 1.10k, False: 302]
  ------------------
 6798|  1.10k|            &&
 6799|  1.10k|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6799:13): [True: 1.07k, False: 35]
  ------------------
 6800|  1.07k|            &&
 6801|  1.07k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  1.07k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (6801:13): [True: 1.06k, False: 1]
  ------------------
 6802|  1.06k|            &&
 6803|  1.06k|            (b = block_rule(p))  // block
  ------------------
  |  |  419|  1.06k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (6803:13): [True: 1.04k, False: 20]
  ------------------
 6804|  6.73k|        )
 6805|  1.04k|        {
 6806|  1.04k|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'with' '(' ','.with_item+ ','? ')' ':' TYPE_COMMENT? block"));
 6807|  1.04k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6808|  1.04k|            if (_token == NULL) {
  ------------------
  |  Branch (6808:17): [True: 0, False: 1.04k]
  ------------------
 6809|      0|                p->level--;
 6810|      0|                return NULL;
 6811|      0|            }
 6812|  1.04k|            int _end_lineno = _token->end_lineno;
 6813|  1.04k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.04k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.04k]
  |  |  ------------------
  ------------------
 6814|  1.04k|            int _end_col_offset = _token->end_col_offset;
 6815|  1.04k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.04k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.04k]
  |  |  ------------------
  ------------------
 6816|  1.04k|            _res = _PyAST_With ( a , b , NEW_TYPE_COMMENT ( p , tc ) , EXTRA );
  ------------------
  |  |  316|  1.04k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6817|  1.04k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6817:18): [True: 0, False: 1.04k]
  |  Branch (6817:34): [True: 0, False: 1.04k]
  |  Branch (6817:57): [True: 0, False: 0]
  ------------------
 6818|      0|                p->error_indicator = 1;
 6819|      0|                p->level--;
 6820|      0|                return NULL;
 6821|      0|            }
 6822|  1.04k|            goto done;
 6823|  1.04k|        }
 6824|  5.68k|        p->mark = _mark;
 6825|  5.68k|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6826|  5.68k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'with' '(' ','.with_item+ ','? ')' ':' TYPE_COMMENT? block"));
 6827|  5.68k|    }
 6828|      0|    { // 'with' ','.with_item+ ':' TYPE_COMMENT? block
 6829|  5.68k|        if (p->error_indicator) {
  ------------------
  |  Branch (6829:13): [True: 10, False: 5.67k]
  ------------------
 6830|     10|            p->level--;
 6831|     10|            return NULL;
 6832|     10|        }
 6833|  5.67k|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6834|  5.67k|        Token * _keyword;
 6835|  5.67k|        Token * _literal;
 6836|  5.67k|        asdl_withitem_seq* a;
 6837|  5.67k|        asdl_stmt_seq* b;
 6838|  5.67k|        void *tc;
 6839|  5.67k|        if (
 6840|  5.67k|            (_keyword = _PyPegen_expect_token(p, 516))  // token='with'
  ------------------
  |  Branch (6840:13): [True: 1.73k, False: 3.93k]
  ------------------
 6841|  1.73k|            &&
 6842|  1.73k|            (a = (asdl_withitem_seq*)_gather_34_rule(p))  // ','.with_item+
  ------------------
  |  Branch (6842:13): [True: 1.64k, False: 87]
  ------------------
 6843|  1.64k|            &&
 6844|  1.64k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6844:13): [True: 1.57k, False: 77]
  ------------------
 6845|  1.57k|            &&
 6846|  1.57k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  1.57k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (6846:13): [True: 1.56k, False: 3]
  ------------------
 6847|  1.56k|            &&
 6848|  1.56k|            (b = block_rule(p))  // block
  ------------------
  |  |  419|  1.56k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (6848:13): [True: 1.50k, False: 67]
  ------------------
 6849|  5.67k|        )
 6850|  1.50k|        {
 6851|  1.50k|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6852|  1.50k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6853|  1.50k|            if (_token == NULL) {
  ------------------
  |  Branch (6853:17): [True: 0, False: 1.50k]
  ------------------
 6854|      0|                p->level--;
 6855|      0|                return NULL;
 6856|      0|            }
 6857|  1.50k|            int _end_lineno = _token->end_lineno;
 6858|  1.50k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.50k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.50k]
  |  |  ------------------
  ------------------
 6859|  1.50k|            int _end_col_offset = _token->end_col_offset;
 6860|  1.50k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.50k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.50k]
  |  |  ------------------
  ------------------
 6861|  1.50k|            _res = _PyAST_With ( a , b , NEW_TYPE_COMMENT ( p , tc ) , EXTRA );
  ------------------
  |  |  316|  1.50k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6862|  1.50k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6862:18): [True: 0, False: 1.50k]
  |  Branch (6862:34): [True: 0, False: 1.50k]
  |  Branch (6862:57): [True: 0, False: 0]
  ------------------
 6863|      0|                p->error_indicator = 1;
 6864|      0|                p->level--;
 6865|      0|                return NULL;
 6866|      0|            }
 6867|  1.50k|            goto done;
 6868|  1.50k|        }
 6869|  4.16k|        p->mark = _mark;
 6870|  4.16k|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6871|  4.16k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6872|  4.16k|    }
 6873|      0|    { // 'async' 'with' '(' ','.with_item+ ','? ')' ':' block
 6874|  4.16k|        if (p->error_indicator) {
  ------------------
  |  Branch (6874:13): [True: 19, False: 4.15k]
  ------------------
 6875|     19|            p->level--;
 6876|     19|            return NULL;
 6877|     19|        }
 6878|  4.15k|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'with' '(' ','.with_item+ ','? ')' ':' block"));
 6879|  4.15k|        Token * _keyword;
 6880|  4.15k|        Token * _keyword_1;
 6881|  4.15k|        Token * _literal;
 6882|  4.15k|        Token * _literal_1;
 6883|  4.15k|        Token * _literal_2;
 6884|  4.15k|        void *_opt_var;
 6885|  4.15k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  4.15k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.15k]
  |  |  ------------------
  ------------------
 6886|  4.15k|        asdl_withitem_seq* a;
 6887|  4.15k|        asdl_stmt_seq* b;
 6888|  4.15k|        if (
 6889|  4.15k|            (_keyword = _PyPegen_expect_token(p, 513))  // token='async'
  ------------------
  |  Branch (6889:13): [True: 3.93k, False: 215]
  ------------------
 6890|  3.93k|            &&
 6891|  3.93k|            (_keyword_1 = _PyPegen_expect_token(p, 516))  // token='with'
  ------------------
  |  Branch (6891:13): [True: 2.88k, False: 1.04k]
  ------------------
 6892|  2.88k|            &&
 6893|  2.88k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (6893:13): [True: 565, False: 2.32k]
  ------------------
 6894|    565|            &&
 6895|    565|            (a = (asdl_withitem_seq*)_gather_34_rule(p))  // ','.with_item+
  ------------------
  |  Branch (6895:13): [True: 387, False: 178]
  ------------------
 6896|    387|            &&
 6897|    387|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (6897:13): [True: 386, False: 1]
  ------------------
 6898|    386|            &&
 6899|    386|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (6899:13): [True: 384, False: 2]
  ------------------
 6900|    384|            &&
 6901|    384|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6901:13): [True: 376, False: 8]
  ------------------
 6902|    376|            &&
 6903|    376|            (b = block_rule(p))  // block
  ------------------
  |  |  419|    376|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (6903:13): [True: 372, False: 4]
  ------------------
 6904|  4.15k|        )
 6905|    372|        {
 6906|    372|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async' 'with' '(' ','.with_item+ ','? ')' ':' block"));
 6907|    372|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6908|    372|            if (_token == NULL) {
  ------------------
  |  Branch (6908:17): [True: 0, False: 372]
  ------------------
 6909|      0|                p->level--;
 6910|      0|                return NULL;
 6911|      0|            }
 6912|    372|            int _end_lineno = _token->end_lineno;
 6913|    372|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    372|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 372]
  |  |  ------------------
  ------------------
 6914|    372|            int _end_col_offset = _token->end_col_offset;
 6915|    372|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    372|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 372]
  |  |  ------------------
  ------------------
 6916|    372|            _res = CHECK_VERSION ( stmt_ty , 5 , "Async with statements are" , _PyAST_AsyncWith ( a , b , NULL , EXTRA ) );
  ------------------
  |  |  354|    372|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 6917|    372|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6917:18): [True: 0, False: 372]
  |  Branch (6917:34): [True: 0, False: 372]
  |  Branch (6917:57): [True: 0, False: 0]
  ------------------
 6918|      0|                p->error_indicator = 1;
 6919|      0|                p->level--;
 6920|      0|                return NULL;
 6921|      0|            }
 6922|    372|            goto done;
 6923|    372|        }
 6924|  3.77k|        p->mark = _mark;
 6925|  3.77k|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6926|  3.77k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'with' '(' ','.with_item+ ','? ')' ':' block"));
 6927|  3.77k|    }
 6928|      0|    { // 'async' 'with' ','.with_item+ ':' TYPE_COMMENT? block
 6929|  3.77k|        if (p->error_indicator) {
  ------------------
  |  Branch (6929:13): [True: 6, False: 3.77k]
  ------------------
 6930|      6|            p->level--;
 6931|      6|            return NULL;
 6932|      6|        }
 6933|  3.77k|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6934|  3.77k|        Token * _keyword;
 6935|  3.77k|        Token * _keyword_1;
 6936|  3.77k|        Token * _literal;
 6937|  3.77k|        asdl_withitem_seq* a;
 6938|  3.77k|        asdl_stmt_seq* b;
 6939|  3.77k|        void *tc;
 6940|  3.77k|        if (
 6941|  3.77k|            (_keyword = _PyPegen_expect_token(p, 513))  // token='async'
  ------------------
  |  Branch (6941:13): [True: 3.55k, False: 215]
  ------------------
 6942|  3.55k|            &&
 6943|  3.55k|            (_keyword_1 = _PyPegen_expect_token(p, 516))  // token='with'
  ------------------
  |  Branch (6943:13): [True: 2.51k, False: 1.04k]
  ------------------
 6944|  2.51k|            &&
 6945|  2.51k|            (a = (asdl_withitem_seq*)_gather_34_rule(p))  // ','.with_item+
  ------------------
  |  Branch (6945:13): [True: 2.50k, False: 8]
  ------------------
 6946|  2.50k|            &&
 6947|  2.50k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6947:13): [True: 2.48k, False: 22]
  ------------------
 6948|  2.48k|            &&
 6949|  2.48k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  2.48k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (6949:13): [True: 2.48k, False: 0]
  ------------------
 6950|  2.48k|            &&
 6951|  2.48k|            (b = block_rule(p))  // block
  ------------------
  |  |  419|  2.48k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (6951:13): [True: 2.45k, False: 25]
  ------------------
 6952|  3.77k|        )
 6953|  2.45k|        {
 6954|  2.45k|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async' 'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6955|  2.45k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6956|  2.45k|            if (_token == NULL) {
  ------------------
  |  Branch (6956:17): [True: 0, False: 2.45k]
  ------------------
 6957|      0|                p->level--;
 6958|      0|                return NULL;
 6959|      0|            }
 6960|  2.45k|            int _end_lineno = _token->end_lineno;
 6961|  2.45k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.45k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.45k]
  |  |  ------------------
  ------------------
 6962|  2.45k|            int _end_col_offset = _token->end_col_offset;
 6963|  2.45k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.45k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.45k]
  |  |  ------------------
  ------------------
 6964|  2.45k|            _res = CHECK_VERSION ( stmt_ty , 5 , "Async with statements are" , _PyAST_AsyncWith ( a , b , NEW_TYPE_COMMENT ( p , tc ) , EXTRA ) );
  ------------------
  |  |  354|  2.45k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 6965|  2.45k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6965:18): [True: 0, False: 2.45k]
  |  Branch (6965:34): [True: 0, False: 2.45k]
  |  Branch (6965:57): [True: 0, False: 0]
  ------------------
 6966|      0|                p->error_indicator = 1;
 6967|      0|                p->level--;
 6968|      0|                return NULL;
 6969|      0|            }
 6970|  2.45k|            goto done;
 6971|  2.45k|        }
 6972|  1.31k|        p->mark = _mark;
 6973|  1.31k|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6974|  1.31k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6975|  1.31k|    }
 6976|  1.31k|    if (p->call_invalid_rules) { // invalid_with_stmt
  ------------------
  |  Branch (6976:9): [True: 442, False: 874]
  ------------------
 6977|    442|        if (p->error_indicator) {
  ------------------
  |  Branch (6977:13): [True: 5, False: 437]
  ------------------
 6978|      5|            p->level--;
 6979|      5|            return NULL;
 6980|      5|        }
 6981|    437|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_with_stmt"));
 6982|    437|        void *invalid_with_stmt_var;
 6983|    437|        if (
 6984|    437|            (invalid_with_stmt_var = invalid_with_stmt_rule(p))  // invalid_with_stmt
  ------------------
  |  |  597|    437|#define invalid_with_stmt_rule _PyPegen_invalid_with_stmt_rule
  ------------------
  |  Branch (6984:13): [True: 0, False: 437]
  ------------------
 6985|    437|        )
 6986|      0|        {
 6987|      0|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_with_stmt"));
 6988|      0|            _res = invalid_with_stmt_var;
 6989|      0|            goto done;
 6990|      0|        }
 6991|    437|        p->mark = _mark;
 6992|    437|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6993|    437|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_with_stmt"));
 6994|    437|    }
 6995|  1.31k|    _res = NULL;
 6996|  6.69k|  done:
 6997|  6.69k|    p->level--;
 6998|  6.69k|    return _res;
 6999|  1.31k|}
parser.c:_gather_34_rule:
21643|  6.31k|{
21644|  6.31k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  12.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21644:9): [True: 0, False: 6.31k]
  |  Branch (21644:35): [True: 0, False: 6.31k]
  ------------------
21645|      0|        _Pypegen_stack_overflow(p);
21646|      0|    }
21647|  6.31k|    if (p->error_indicator) {
  ------------------
  |  Branch (21647:9): [True: 0, False: 6.31k]
  ------------------
21648|      0|        p->level--;
21649|      0|        return NULL;
21650|      0|    }
21651|  6.31k|    asdl_seq * _res = NULL;
21652|  6.31k|    int _mark = p->mark;
21653|  6.31k|    { // with_item _loop0_33
21654|  6.31k|        if (p->error_indicator) {
  ------------------
  |  Branch (21654:13): [True: 0, False: 6.31k]
  ------------------
21655|      0|            p->level--;
21656|      0|            return NULL;
21657|      0|        }
21658|  6.31k|        D(fprintf(stderr, "%*c> _gather_34[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "with_item _loop0_33"));
21659|  6.31k|        withitem_ty elem;
21660|  6.31k|        asdl_seq * seq;
21661|  6.31k|        if (
21662|  6.31k|            (elem = with_item_rule(p))  // with_item
  ------------------
  |  Branch (21662:13): [True: 5.94k, False: 367]
  ------------------
21663|  5.94k|            &&
21664|  5.94k|            (seq = _loop0_33_rule(p))  // _loop0_33
  ------------------
  |  Branch (21664:13): [True: 5.94k, False: 0]
  ------------------
21665|  6.31k|        )
21666|  5.94k|        {
21667|  5.94k|            D(fprintf(stderr, "%*c+ _gather_34[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "with_item _loop0_33"));
21668|  5.94k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
21669|  5.94k|            goto done;
21670|  5.94k|        }
21671|    367|        p->mark = _mark;
21672|    367|        D(fprintf(stderr, "%*c%s _gather_34[%d-%d]: %s failed!\n", p->level, ' ',
21673|    367|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "with_item _loop0_33"));
21674|    367|    }
21675|    367|    _res = NULL;
21676|  6.31k|  done:
21677|  6.31k|    p->level--;
21678|  6.31k|    return _res;
21679|    367|}
parser.c:with_item_rule:
 7007|  18.8k|{
 7008|  18.8k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  37.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7008:9): [True: 0, False: 18.8k]
  |  Branch (7008:35): [True: 0, False: 18.8k]
  ------------------
 7009|      0|        _Pypegen_stack_overflow(p);
 7010|      0|    }
 7011|  18.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (7011:9): [True: 0, False: 18.8k]
  ------------------
 7012|      0|        p->level--;
 7013|      0|        return NULL;
 7014|      0|    }
 7015|  18.8k|    withitem_ty _res = NULL;
 7016|  18.8k|    int _mark = p->mark;
 7017|  18.8k|    { // expression 'as' star_target &(',' | ')' | ':')
 7018|  18.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (7018:13): [True: 0, False: 18.8k]
  ------------------
 7019|      0|            p->level--;
 7020|      0|            return NULL;
 7021|      0|        }
 7022|  18.8k|        D(fprintf(stderr, "%*c> with_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression 'as' star_target &(',' | ')' | ':')"));
 7023|  18.8k|        Token * _keyword;
 7024|  18.8k|        expr_ty e;
 7025|  18.8k|        expr_ty t;
 7026|  18.8k|        if (
 7027|  18.8k|            (e = expression_rule(p))  // expression
  ------------------
  |  |  461|  18.8k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (7027:13): [True: 17.3k, False: 1.48k]
  ------------------
 7028|  17.3k|            &&
 7029|  17.3k|            (_keyword = _PyPegen_expect_token(p, 520))  // token='as'
  ------------------
  |  Branch (7029:13): [True: 1.44k, False: 15.8k]
  ------------------
 7030|  1.44k|            &&
 7031|  1.44k|            (t = star_target_rule(p))  // star_target
  ------------------
  |  |  533|  1.44k|#define star_target_rule _PyPegen_star_target_rule
  ------------------
  |  Branch (7031:13): [True: 1.44k, False: 8]
  ------------------
 7032|  1.44k|            &&
 7033|  1.44k|            _PyPegen_lookahead(1, _tmp_35_rule, p)
  ------------------
  |  Branch (7033:13): [True: 1.42k, False: 12]
  ------------------
 7034|  18.8k|        )
 7035|  1.42k|        {
 7036|  1.42k|            D(fprintf(stderr, "%*c+ with_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression 'as' star_target &(',' | ')' | ':')"));
 7037|  1.42k|            _res = _PyAST_withitem ( e , t , p -> arena );
 7038|  1.42k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7038:18): [True: 0, False: 1.42k]
  |  Branch (7038:34): [True: 0, False: 1.42k]
  |  Branch (7038:57): [True: 0, False: 0]
  ------------------
 7039|      0|                p->error_indicator = 1;
 7040|      0|                p->level--;
 7041|      0|                return NULL;
 7042|      0|            }
 7043|  1.42k|            goto done;
 7044|  1.42k|        }
 7045|  17.3k|        p->mark = _mark;
 7046|  17.3k|        D(fprintf(stderr, "%*c%s with_item[%d-%d]: %s failed!\n", p->level, ' ',
 7047|  17.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression 'as' star_target &(',' | ')' | ':')"));
 7048|  17.3k|    }
 7049|  17.3k|    if (p->call_invalid_rules) { // invalid_with_item
  ------------------
  |  Branch (7049:9): [True: 2.89k, False: 14.4k]
  ------------------
 7050|  2.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (7050:13): [True: 0, False: 2.89k]
  ------------------
 7051|      0|            p->level--;
 7052|      0|            return NULL;
 7053|      0|        }
 7054|  2.89k|        D(fprintf(stderr, "%*c> with_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_with_item"));
 7055|  2.89k|        void *invalid_with_item_var;
 7056|  2.89k|        if (
 7057|  2.89k|            (invalid_with_item_var = invalid_with_item_rule(p))  // invalid_with_item
  ------------------
  |  |  579|  2.89k|#define invalid_with_item_rule _PyPegen_invalid_with_item_rule
  ------------------
  |  Branch (7057:13): [True: 0, False: 2.89k]
  ------------------
 7058|  2.89k|        )
 7059|      0|        {
 7060|      0|            D(fprintf(stderr, "%*c+ with_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_with_item"));
 7061|      0|            _res = invalid_with_item_var;
 7062|      0|            goto done;
 7063|      0|        }
 7064|  2.89k|        p->mark = _mark;
 7065|  2.89k|        D(fprintf(stderr, "%*c%s with_item[%d-%d]: %s failed!\n", p->level, ' ',
 7066|  2.89k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_with_item"));
 7067|  2.89k|    }
 7068|  17.3k|    { // expression
 7069|  17.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (7069:13): [True: 11, False: 17.3k]
  ------------------
 7070|     11|            p->level--;
 7071|     11|            return NULL;
 7072|     11|        }
 7073|  17.3k|        D(fprintf(stderr, "%*c> with_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
 7074|  17.3k|        expr_ty e;
 7075|  17.3k|        if (
 7076|  17.3k|            (e = expression_rule(p))  // expression
  ------------------
  |  |  461|  17.3k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (7076:13): [True: 15.9k, False: 1.47k]
  ------------------
 7077|  17.3k|        )
 7078|  15.9k|        {
 7079|  15.9k|            D(fprintf(stderr, "%*c+ with_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression"));
 7080|  15.9k|            _res = _PyAST_withitem ( e , NULL , p -> arena );
 7081|  15.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7081:18): [True: 0, False: 15.9k]
  |  Branch (7081:34): [True: 0, False: 15.9k]
  |  Branch (7081:57): [True: 0, False: 0]
  ------------------
 7082|      0|                p->error_indicator = 1;
 7083|      0|                p->level--;
 7084|      0|                return NULL;
 7085|      0|            }
 7086|  15.9k|            goto done;
 7087|  15.9k|        }
 7088|  1.47k|        p->mark = _mark;
 7089|  1.47k|        D(fprintf(stderr, "%*c%s with_item[%d-%d]: %s failed!\n", p->level, ' ',
 7090|  1.47k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
 7091|  1.47k|    }
 7092|  1.47k|    _res = NULL;
 7093|  18.8k|  done:
 7094|  18.8k|    p->level--;
 7095|  18.8k|    return _res;
 7096|  1.47k|}
parser.c:_tmp_35_rule:
21684|  1.44k|{
21685|  1.44k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.88k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21685:9): [True: 0, False: 1.44k]
  |  Branch (21685:35): [True: 0, False: 1.44k]
  ------------------
21686|      0|        _Pypegen_stack_overflow(p);
21687|      0|    }
21688|  1.44k|    if (p->error_indicator) {
  ------------------
  |  Branch (21688:9): [True: 0, False: 1.44k]
  ------------------
21689|      0|        p->level--;
21690|      0|        return NULL;
21691|      0|    }
21692|  1.44k|    void * _res = NULL;
21693|  1.44k|    int _mark = p->mark;
21694|  1.44k|    { // ','
21695|  1.44k|        if (p->error_indicator) {
  ------------------
  |  Branch (21695:13): [True: 0, False: 1.44k]
  ------------------
21696|      0|            p->level--;
21697|      0|            return NULL;
21698|      0|        }
21699|  1.44k|        D(fprintf(stderr, "%*c> _tmp_35[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
21700|  1.44k|        Token * _literal;
21701|  1.44k|        if (
21702|  1.44k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (21702:13): [True: 495, False: 945]
  ------------------
21703|  1.44k|        )
21704|    495|        {
21705|    495|            D(fprintf(stderr, "%*c+ _tmp_35[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
21706|    495|            _res = _literal;
21707|    495|            goto done;
21708|    495|        }
21709|    945|        p->mark = _mark;
21710|    945|        D(fprintf(stderr, "%*c%s _tmp_35[%d-%d]: %s failed!\n", p->level, ' ',
21711|    945|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
21712|    945|    }
21713|      0|    { // ')'
21714|    945|        if (p->error_indicator) {
  ------------------
  |  Branch (21714:13): [True: 0, False: 945]
  ------------------
21715|      0|            p->level--;
21716|      0|            return NULL;
21717|      0|        }
21718|    945|        D(fprintf(stderr, "%*c> _tmp_35[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "')'"));
21719|    945|        Token * _literal;
21720|    945|        if (
21721|    945|            (_literal = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (21721:13): [True: 42, False: 903]
  ------------------
21722|    945|        )
21723|     42|        {
21724|     42|            D(fprintf(stderr, "%*c+ _tmp_35[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "')'"));
21725|     42|            _res = _literal;
21726|     42|            goto done;
21727|     42|        }
21728|    903|        p->mark = _mark;
21729|    903|        D(fprintf(stderr, "%*c%s _tmp_35[%d-%d]: %s failed!\n", p->level, ' ',
21730|    903|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "')'"));
21731|    903|    }
21732|      0|    { // ':'
21733|    903|        if (p->error_indicator) {
  ------------------
  |  Branch (21733:13): [True: 0, False: 903]
  ------------------
21734|      0|            p->level--;
21735|      0|            return NULL;
21736|      0|        }
21737|    903|        D(fprintf(stderr, "%*c> _tmp_35[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
21738|    903|        Token * _literal;
21739|    903|        if (
21740|    903|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (21740:13): [True: 891, False: 12]
  ------------------
21741|    903|        )
21742|    891|        {
21743|    891|            D(fprintf(stderr, "%*c+ _tmp_35[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
21744|    891|            _res = _literal;
21745|    891|            goto done;
21746|    891|        }
21747|     12|        p->mark = _mark;
21748|     12|        D(fprintf(stderr, "%*c%s _tmp_35[%d-%d]: %s failed!\n", p->level, ' ',
21749|     12|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
21750|     12|    }
21751|     12|    _res = NULL;
21752|  1.44k|  done:
21753|  1.44k|    p->level--;
21754|  1.44k|    return _res;
21755|     12|}
parser.c:_loop0_33_rule:
21576|  5.94k|{
21577|  5.94k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  11.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21577:9): [True: 0, False: 5.94k]
  |  Branch (21577:35): [True: 0, False: 5.94k]
  ------------------
21578|      0|        _Pypegen_stack_overflow(p);
21579|      0|    }
21580|  5.94k|    if (p->error_indicator) {
  ------------------
  |  Branch (21580:9): [True: 0, False: 5.94k]
  ------------------
21581|      0|        p->level--;
21582|      0|        return NULL;
21583|      0|    }
21584|  5.94k|    void *_res = NULL;
21585|  5.94k|    int _mark = p->mark;
21586|  5.94k|    void **_children = NULL;
21587|  5.94k|    Py_ssize_t _children_capacity = 0;
21588|  5.94k|    Py_ssize_t _n = 0;
21589|  5.94k|    { // ',' with_item
21590|  5.94k|        if (p->error_indicator) {
  ------------------
  |  Branch (21590:13): [True: 0, False: 5.94k]
  ------------------
21591|      0|            p->level--;
21592|      0|            return NULL;
21593|      0|        }
21594|  5.94k|        D(fprintf(stderr, "%*c> _loop0_33[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' with_item"));
21595|  5.94k|        Token * _literal;
21596|  5.94k|        withitem_ty elem;
21597|  5.94k|        while (
21598|  17.3k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (21598:13): [True: 12.5k, False: 4.82k]
  ------------------
21599|  12.5k|            &&
21600|  12.5k|            (elem = with_item_rule(p))  // with_item
  ------------------
  |  Branch (21600:13): [True: 11.3k, False: 1.11k]
  ------------------
21601|  5.94k|        )
21602|  11.3k|        {
21603|  11.3k|            _res = elem;
21604|  11.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21604:18): [True: 0, False: 11.3k]
  |  Branch (21604:34): [True: 0, False: 11.3k]
  |  Branch (21604:57): [True: 0, False: 0]
  ------------------
21605|      0|                p->error_indicator = 1;
21606|      0|                PyMem_Free(_children);
21607|      0|                p->level--;
21608|      0|                return NULL;
21609|      0|            }
21610|  11.3k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (21610:17): [True: 6.71k, False: 4.66k]
  ------------------
21611|  6.71k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (21611:21): [True: 0, False: 6.71k]
  ------------------
21612|      0|                    p->error_indicator = 1;
21613|      0|                    PyErr_NoMemory();
21614|      0|                    PyMem_Free(_children);
21615|      0|                    p->level--;
21616|      0|                    return NULL;
21617|      0|                }
21618|  6.71k|            }
21619|  11.3k|            _children[_n++] = _res;
21620|  11.3k|            _mark = p->mark;
21621|  11.3k|        }
21622|  5.94k|        p->mark = _mark;
21623|  5.94k|        D(fprintf(stderr, "%*c%s _loop0_33[%d-%d]: %s failed!\n", p->level, ' ',
21624|  5.94k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' with_item"));
21625|  5.94k|    }
21626|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
21627|  5.94k|    if (!_seq) {
  ------------------
  |  Branch (21627:9): [True: 0, False: 5.94k]
  ------------------
21628|      0|        p->error_indicator = 1;
21629|      0|        PyErr_NoMemory();
21630|      0|        PyMem_Free(_children);
21631|      0|        p->level--;
21632|      0|        return NULL;
21633|      0|    }
21634|  17.3k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  11.3k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  17.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (21634:28): [True: 11.3k, False: 5.94k]
  ------------------
21635|  5.94k|    PyMem_Free(_children);
21636|  5.94k|    p->level--;
21637|  5.94k|    return _seq;
21638|  5.94k|}
parser.c:_tmp_9_rule:
20227|   154k|{
20228|   154k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   308k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20228:9): [True: 0, False: 154k]
  |  Branch (20228:35): [True: 0, False: 154k]
  ------------------
20229|      0|        _Pypegen_stack_overflow(p);
20230|      0|    }
20231|   154k|    if (p->error_indicator) {
  ------------------
  |  Branch (20231:9): [True: 0, False: 154k]
  ------------------
20232|      0|        p->level--;
20233|      0|        return NULL;
20234|      0|    }
20235|   154k|    void * _res = NULL;
20236|   154k|    int _mark = p->mark;
20237|   154k|    { // 'for'
20238|   154k|        if (p->error_indicator) {
  ------------------
  |  Branch (20238:13): [True: 0, False: 154k]
  ------------------
20239|      0|            p->level--;
20240|      0|            return NULL;
20241|      0|        }
20242|   154k|        D(fprintf(stderr, "%*c> _tmp_9[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'for'"));
20243|   154k|        Token * _keyword;
20244|   154k|        if (
20245|   154k|            (_keyword = _PyPegen_expect_token(p, 517))  // token='for'
  ------------------
  |  Branch (20245:13): [True: 999, False: 153k]
  ------------------
20246|   154k|        )
20247|    999|        {
20248|    999|            D(fprintf(stderr, "%*c+ _tmp_9[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'for'"));
20249|    999|            _res = _keyword;
20250|    999|            goto done;
20251|    999|        }
20252|   153k|        p->mark = _mark;
20253|   153k|        D(fprintf(stderr, "%*c%s _tmp_9[%d-%d]: %s failed!\n", p->level, ' ',
20254|   153k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'for'"));
20255|   153k|    }
20256|      0|    { // 'async'
20257|   153k|        if (p->error_indicator) {
  ------------------
  |  Branch (20257:13): [True: 0, False: 153k]
  ------------------
20258|      0|            p->level--;
20259|      0|            return NULL;
20260|      0|        }
20261|   153k|        D(fprintf(stderr, "%*c> _tmp_9[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'"));
20262|   153k|        Token * _keyword;
20263|   153k|        if (
20264|   153k|            (_keyword = _PyPegen_expect_token(p, 513))  // token='async'
  ------------------
  |  Branch (20264:13): [True: 1.09k, False: 152k]
  ------------------
20265|   153k|        )
20266|  1.09k|        {
20267|  1.09k|            D(fprintf(stderr, "%*c+ _tmp_9[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'"));
20268|  1.09k|            _res = _keyword;
20269|  1.09k|            goto done;
20270|  1.09k|        }
20271|   152k|        p->mark = _mark;
20272|   152k|        D(fprintf(stderr, "%*c%s _tmp_9[%d-%d]: %s failed!\n", p->level, ' ',
20273|   152k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'"));
20274|   152k|    }
20275|   152k|    _res = NULL;
20276|   154k|  done:
20277|   154k|    p->level--;
20278|   154k|    return _res;
20279|   152k|}
parser.c:for_stmt_rule:
 6538|  2.09k|{
 6539|  2.09k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.18k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6539:9): [True: 0, False: 2.09k]
  |  Branch (6539:35): [True: 0, False: 2.09k]
  ------------------
 6540|      0|        _Pypegen_stack_overflow(p);
 6541|      0|    }
 6542|  2.09k|    if (p->error_indicator) {
  ------------------
  |  Branch (6542:9): [True: 0, False: 2.09k]
  ------------------
 6543|      0|        p->level--;
 6544|      0|        return NULL;
 6545|      0|    }
 6546|  2.09k|    stmt_ty _res = NULL;
 6547|  2.09k|    int _mark = p->mark;
 6548|  2.09k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6548:9): [True: 0, False: 2.09k]
  |  Branch (6548:31): [True: 0, False: 0]
  ------------------
 6549|      0|        p->error_indicator = 1;
 6550|      0|        p->level--;
 6551|      0|        return NULL;
 6552|      0|    }
 6553|  2.09k|    int _start_lineno = p->tokens[_mark]->lineno;
 6554|  2.09k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.09k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.09k]
  |  |  ------------------
  ------------------
 6555|  2.09k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6556|  2.09k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.09k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.09k]
  |  |  ------------------
  ------------------
 6557|  2.09k|    if (p->call_invalid_rules) { // invalid_for_stmt
  ------------------
  |  Branch (6557:9): [True: 581, False: 1.51k]
  ------------------
 6558|    581|        if (p->error_indicator) {
  ------------------
  |  Branch (6558:13): [True: 0, False: 581]
  ------------------
 6559|      0|            p->level--;
 6560|      0|            return NULL;
 6561|      0|        }
 6562|    581|        D(fprintf(stderr, "%*c> for_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_stmt"));
 6563|    581|        void *invalid_for_stmt_var;
 6564|    581|        if (
 6565|    581|            (invalid_for_stmt_var = invalid_for_stmt_rule(p))  // invalid_for_stmt
  ------------------
  |  |  631|    581|#define invalid_for_stmt_rule _PyPegen_invalid_for_stmt_rule
  ------------------
  |  Branch (6565:13): [True: 0, False: 581]
  ------------------
 6566|    581|        )
 6567|      0|        {
 6568|      0|            D(fprintf(stderr, "%*c+ for_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_stmt"));
 6569|      0|            _res = invalid_for_stmt_var;
 6570|      0|            goto done;
 6571|      0|        }
 6572|    581|        p->mark = _mark;
 6573|    581|        D(fprintf(stderr, "%*c%s for_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6574|    581|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_stmt"));
 6575|    581|    }
 6576|  2.09k|    { // 'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?
 6577|  2.09k|        if (p->error_indicator) {
  ------------------
  |  Branch (6577:13): [True: 7, False: 2.08k]
  ------------------
 6578|      7|            p->level--;
 6579|      7|            return NULL;
 6580|      7|        }
 6581|  2.08k|        D(fprintf(stderr, "%*c> for_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6582|  2.08k|        int _cut_var = 0;
 6583|  2.08k|        Token * _keyword;
 6584|  2.08k|        Token * _keyword_1;
 6585|  2.08k|        Token * _literal;
 6586|  2.08k|        asdl_stmt_seq* b;
 6587|  2.08k|        void *el;
 6588|  2.08k|        expr_ty ex;
 6589|  2.08k|        expr_ty t;
 6590|  2.08k|        void *tc;
 6591|  2.08k|        if (
 6592|  2.08k|            (_keyword = _PyPegen_expect_token(p, 517))  // token='for'
  ------------------
  |  Branch (6592:13): [True: 994, False: 1.09k]
  ------------------
 6593|    994|            &&
 6594|    994|            (t = star_targets_rule(p))  // star_targets
  ------------------
  |  |  531|    994|#define star_targets_rule _PyPegen_star_targets_rule
  ------------------
  |  Branch (6594:13): [True: 966, False: 28]
  ------------------
 6595|    966|            &&
 6596|    966|            (_keyword_1 = _PyPegen_expect_token(p, 523))  // token='in'
  ------------------
  |  Branch (6596:13): [True: 949, False: 17]
  ------------------
 6597|    949|            &&
 6598|    949|            (_cut_var = 1)
  ------------------
  |  Branch (6598:13): [True: 949, False: 0]
  ------------------
 6599|    949|            &&
 6600|    949|            (ex = star_expressions_rule(p))  // star_expressions
  ------------------
  |  |  467|    949|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (6600:13): [True: 946, False: 3]
  ------------------
 6601|    946|            &&
 6602|    946|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6602:13): [True: 941, False: 5]
  ------------------
 6603|    941|            &&
 6604|    941|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|    941|#define TYPE_COMMENT    57
  ------------------
  |  Branch (6604:13): [True: 940, False: 1]
  ------------------
 6605|    940|            &&
 6606|    940|            (b = block_rule(p))  // block
  ------------------
  |  |  419|    940|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (6606:13): [True: 922, False: 18]
  ------------------
 6607|    922|            &&
 6608|    922|            (el = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6608:13): [True: 920, False: 2]
  ------------------
 6609|  2.08k|        )
 6610|    920|        {
 6611|    920|            D(fprintf(stderr, "%*c+ for_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6612|    920|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6613|    920|            if (_token == NULL) {
  ------------------
  |  Branch (6613:17): [True: 0, False: 920]
  ------------------
 6614|      0|                p->level--;
 6615|      0|                return NULL;
 6616|      0|            }
 6617|    920|            int _end_lineno = _token->end_lineno;
 6618|    920|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    920|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 920]
  |  |  ------------------
  ------------------
 6619|    920|            int _end_col_offset = _token->end_col_offset;
 6620|    920|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    920|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 920]
  |  |  ------------------
  ------------------
 6621|    920|            _res = _PyAST_For ( t , ex , b , el , NEW_TYPE_COMMENT ( p , tc ) , EXTRA );
  ------------------
  |  |  316|    920|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6622|    920|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6622:18): [True: 0, False: 920]
  |  Branch (6622:34): [True: 0, False: 920]
  |  Branch (6622:57): [True: 0, False: 0]
  ------------------
 6623|      0|                p->error_indicator = 1;
 6624|      0|                p->level--;
 6625|      0|                return NULL;
 6626|      0|            }
 6627|    920|            goto done;
 6628|    920|        }
 6629|  1.16k|        p->mark = _mark;
 6630|  1.16k|        D(fprintf(stderr, "%*c%s for_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6631|  1.16k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6632|  1.16k|        if (_cut_var) {
  ------------------
  |  Branch (6632:13): [True: 29, False: 1.13k]
  ------------------
 6633|     29|            p->level--;
 6634|     29|            return NULL;
 6635|     29|        }
 6636|  1.16k|    }
 6637|  1.13k|    { // 'async' 'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?
 6638|  1.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (6638:13): [True: 5, False: 1.13k]
  ------------------
 6639|      5|            p->level--;
 6640|      5|            return NULL;
 6641|      5|        }
 6642|  1.13k|        D(fprintf(stderr, "%*c> for_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6643|  1.13k|        int _cut_var = 0;
 6644|  1.13k|        Token * _keyword;
 6645|  1.13k|        Token * _keyword_1;
 6646|  1.13k|        Token * _keyword_2;
 6647|  1.13k|        Token * _literal;
 6648|  1.13k|        asdl_stmt_seq* b;
 6649|  1.13k|        void *el;
 6650|  1.13k|        expr_ty ex;
 6651|  1.13k|        expr_ty t;
 6652|  1.13k|        void *tc;
 6653|  1.13k|        if (
 6654|  1.13k|            (_keyword = _PyPegen_expect_token(p, 513))  // token='async'
  ------------------
  |  Branch (6654:13): [True: 1.09k, False: 40]
  ------------------
 6655|  1.09k|            &&
 6656|  1.09k|            (_keyword_1 = _PyPegen_expect_token(p, 517))  // token='for'
  ------------------
  |  Branch (6656:13): [True: 886, False: 205]
  ------------------
 6657|    886|            &&
 6658|    886|            (t = star_targets_rule(p))  // star_targets
  ------------------
  |  |  531|    886|#define star_targets_rule _PyPegen_star_targets_rule
  ------------------
  |  Branch (6658:13): [True: 882, False: 4]
  ------------------
 6659|    882|            &&
 6660|    882|            (_keyword_2 = _PyPegen_expect_token(p, 523))  // token='in'
  ------------------
  |  Branch (6660:13): [True: 877, False: 5]
  ------------------
 6661|    877|            &&
 6662|    877|            (_cut_var = 1)
  ------------------
  |  Branch (6662:13): [True: 877, False: 0]
  ------------------
 6663|    877|            &&
 6664|    877|            (ex = star_expressions_rule(p))  // star_expressions
  ------------------
  |  |  467|    877|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (6664:13): [True: 875, False: 2]
  ------------------
 6665|    875|            &&
 6666|    875|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6666:13): [True: 873, False: 2]
  ------------------
 6667|    873|            &&
 6668|    873|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|    873|#define TYPE_COMMENT    57
  ------------------
  |  Branch (6668:13): [True: 872, False: 1]
  ------------------
 6669|    872|            &&
 6670|    872|            (b = block_rule(p))  // block
  ------------------
  |  |  419|    872|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (6670:13): [True: 870, False: 2]
  ------------------
 6671|    870|            &&
 6672|    870|            (el = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6672:13): [True: 870, False: 0]
  ------------------
 6673|  1.13k|        )
 6674|    870|        {
 6675|    870|            D(fprintf(stderr, "%*c+ for_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async' 'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6676|    870|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6677|    870|            if (_token == NULL) {
  ------------------
  |  Branch (6677:17): [True: 0, False: 870]
  ------------------
 6678|      0|                p->level--;
 6679|      0|                return NULL;
 6680|      0|            }
 6681|    870|            int _end_lineno = _token->end_lineno;
 6682|    870|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    870|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 870]
  |  |  ------------------
  ------------------
 6683|    870|            int _end_col_offset = _token->end_col_offset;
 6684|    870|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    870|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 870]
  |  |  ------------------
  ------------------
 6685|    870|            _res = CHECK_VERSION ( stmt_ty , 5 , "Async for loops are" , _PyAST_AsyncFor ( t , ex , b , el , NEW_TYPE_COMMENT ( p , tc ) , EXTRA ) );
  ------------------
  |  |  354|    870|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 6686|    870|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6686:18): [True: 0, False: 870]
  |  Branch (6686:34): [True: 0, False: 870]
  |  Branch (6686:57): [True: 0, False: 0]
  ------------------
 6687|      0|                p->error_indicator = 1;
 6688|      0|                p->level--;
 6689|      0|                return NULL;
 6690|      0|            }
 6691|    870|            goto done;
 6692|    870|        }
 6693|    261|        p->mark = _mark;
 6694|    261|        D(fprintf(stderr, "%*c%s for_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6695|    261|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6696|    261|        if (_cut_var) {
  ------------------
  |  Branch (6696:13): [True: 7, False: 254]
  ------------------
 6697|      7|            p->level--;
 6698|      7|            return NULL;
 6699|      7|        }
 6700|    261|    }
 6701|    254|    if (p->call_invalid_rules) { // invalid_for_target
  ------------------
  |  Branch (6701:9): [True: 103, False: 151]
  ------------------
 6702|    103|        if (p->error_indicator) {
  ------------------
  |  Branch (6702:13): [True: 0, False: 103]
  ------------------
 6703|      0|            p->level--;
 6704|      0|            return NULL;
 6705|      0|        }
 6706|    103|        D(fprintf(stderr, "%*c> for_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
 6707|    103|        void *invalid_for_target_var;
 6708|    103|        if (
 6709|    103|            (invalid_for_target_var = invalid_for_target_rule(p))  // invalid_for_target
  ------------------
  |  |  583|    103|#define invalid_for_target_rule _PyPegen_invalid_for_target_rule
  ------------------
  |  Branch (6709:13): [True: 0, False: 103]
  ------------------
 6710|    103|        )
 6711|      0|        {
 6712|      0|            D(fprintf(stderr, "%*c+ for_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
 6713|      0|            _res = invalid_for_target_var;
 6714|      0|            goto done;
 6715|      0|        }
 6716|    103|        p->mark = _mark;
 6717|    103|        D(fprintf(stderr, "%*c%s for_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6718|    103|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_target"));
 6719|    103|    }
 6720|    254|    _res = NULL;
 6721|  2.04k|  done:
 6722|  2.04k|    p->level--;
 6723|  2.04k|    return _res;
 6724|    254|}
parser.c:try_stmt_rule:
 7105|  7.25k|{
 7106|  7.25k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  14.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7106:9): [True: 0, False: 7.25k]
  |  Branch (7106:35): [True: 0, False: 7.25k]
  ------------------
 7107|      0|        _Pypegen_stack_overflow(p);
 7108|      0|    }
 7109|  7.25k|    if (p->error_indicator) {
  ------------------
  |  Branch (7109:9): [True: 0, False: 7.25k]
  ------------------
 7110|      0|        p->level--;
 7111|      0|        return NULL;
 7112|      0|    }
 7113|  7.25k|    stmt_ty _res = NULL;
 7114|  7.25k|    int _mark = p->mark;
 7115|  7.25k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (7115:9): [True: 0, False: 7.25k]
  |  Branch (7115:31): [True: 0, False: 0]
  ------------------
 7116|      0|        p->error_indicator = 1;
 7117|      0|        p->level--;
 7118|      0|        return NULL;
 7119|      0|    }
 7120|  7.25k|    int _start_lineno = p->tokens[_mark]->lineno;
 7121|  7.25k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  7.25k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 7.25k]
  |  |  ------------------
  ------------------
 7122|  7.25k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 7123|  7.25k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  7.25k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 7.25k]
  |  |  ------------------
  ------------------
 7124|  7.25k|    if (p->call_invalid_rules) { // invalid_try_stmt
  ------------------
  |  Branch (7124:9): [True: 1.08k, False: 6.17k]
  ------------------
 7125|  1.08k|        if (p->error_indicator) {
  ------------------
  |  Branch (7125:13): [True: 0, False: 1.08k]
  ------------------
 7126|      0|            p->level--;
 7127|      0|            return NULL;
 7128|      0|        }
 7129|  1.08k|        D(fprintf(stderr, "%*c> try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_try_stmt"));
 7130|  1.08k|        void *invalid_try_stmt_var;
 7131|  1.08k|        if (
 7132|  1.08k|            (invalid_try_stmt_var = invalid_try_stmt_rule(p))  // invalid_try_stmt
  ------------------
  |  |  601|  1.08k|#define invalid_try_stmt_rule _PyPegen_invalid_try_stmt_rule
  ------------------
  |  Branch (7132:13): [True: 0, False: 1.08k]
  ------------------
 7133|  1.08k|        )
 7134|      0|        {
 7135|      0|            D(fprintf(stderr, "%*c+ try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_try_stmt"));
 7136|      0|            _res = invalid_try_stmt_var;
 7137|      0|            goto done;
 7138|      0|        }
 7139|  1.08k|        p->mark = _mark;
 7140|  1.08k|        D(fprintf(stderr, "%*c%s try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7141|  1.08k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_try_stmt"));
 7142|  1.08k|    }
 7143|  7.25k|    { // 'try' &&':' block finally_block
 7144|  7.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (7144:13): [True: 84, False: 7.16k]
  ------------------
 7145|     84|            p->level--;
 7146|     84|            return NULL;
 7147|     84|        }
 7148|  7.16k|        D(fprintf(stderr, "%*c> try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' &&':' block finally_block"));
 7149|  7.16k|        Token * _keyword;
 7150|  7.16k|        Token * _literal;
 7151|  7.16k|        asdl_stmt_seq* b;
 7152|  7.16k|        asdl_stmt_seq* f;
 7153|  7.16k|        if (
 7154|  7.16k|            (_keyword = _PyPegen_expect_token(p, 518))  // token='try'
  ------------------
  |  Branch (7154:13): [True: 7.16k, False: 0]
  ------------------
 7155|  7.16k|            &&
 7156|  7.16k|            (_literal = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (7156:13): [True: 7.16k, False: 2]
  ------------------
 7157|  7.16k|            &&
 7158|  7.16k|            (b = block_rule(p))  // block
  ------------------
  |  |  419|  7.16k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (7158:13): [True: 7.08k, False: 86]
  ------------------
 7159|  7.08k|            &&
 7160|  7.08k|            (f = finally_block_rule(p))  // finally_block
  ------------------
  |  Branch (7160:13): [True: 3.03k, False: 4.04k]
  ------------------
 7161|  7.16k|        )
 7162|  3.03k|        {
 7163|  3.03k|            D(fprintf(stderr, "%*c+ try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' &&':' block finally_block"));
 7164|  3.03k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7165|  3.03k|            if (_token == NULL) {
  ------------------
  |  Branch (7165:17): [True: 0, False: 3.03k]
  ------------------
 7166|      0|                p->level--;
 7167|      0|                return NULL;
 7168|      0|            }
 7169|  3.03k|            int _end_lineno = _token->end_lineno;
 7170|  3.03k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.03k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.03k]
  |  |  ------------------
  ------------------
 7171|  3.03k|            int _end_col_offset = _token->end_col_offset;
 7172|  3.03k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.03k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.03k]
  |  |  ------------------
  ------------------
 7173|  3.03k|            _res = _PyAST_Try ( b , NULL , NULL , f , EXTRA );
  ------------------
  |  |  316|  3.03k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7174|  3.03k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7174:18): [True: 0, False: 3.03k]
  |  Branch (7174:34): [True: 0, False: 3.03k]
  |  Branch (7174:57): [True: 0, False: 0]
  ------------------
 7175|      0|                p->error_indicator = 1;
 7176|      0|                p->level--;
 7177|      0|                return NULL;
 7178|      0|            }
 7179|  3.03k|            goto done;
 7180|  3.03k|        }
 7181|  4.13k|        p->mark = _mark;
 7182|  4.13k|        D(fprintf(stderr, "%*c%s try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7183|  4.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' &&':' block finally_block"));
 7184|  4.13k|    }
 7185|      0|    { // 'try' &&':' block except_block+ else_block? finally_block?
 7186|  4.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (7186:13): [True: 44, False: 4.08k]
  ------------------
 7187|     44|            p->level--;
 7188|     44|            return NULL;
 7189|     44|        }
 7190|  4.08k|        D(fprintf(stderr, "%*c> try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' &&':' block except_block+ else_block? finally_block?"));
 7191|  4.08k|        Token * _keyword;
 7192|  4.08k|        Token * _literal;
 7193|  4.08k|        asdl_stmt_seq* b;
 7194|  4.08k|        void *el;
 7195|  4.08k|        asdl_excepthandler_seq* ex;
 7196|  4.08k|        void *f;
 7197|  4.08k|        if (
 7198|  4.08k|            (_keyword = _PyPegen_expect_token(p, 518))  // token='try'
  ------------------
  |  Branch (7198:13): [True: 4.08k, False: 0]
  ------------------
 7199|  4.08k|            &&
 7200|  4.08k|            (_literal = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (7200:13): [True: 4.08k, False: 0]
  ------------------
 7201|  4.08k|            &&
 7202|  4.08k|            (b = block_rule(p))  // block
  ------------------
  |  |  419|  4.08k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (7202:13): [True: 4.01k, False: 77]
  ------------------
 7203|  4.01k|            &&
 7204|  4.01k|            (ex = (asdl_excepthandler_seq*)_loop1_36_rule(p))  // except_block+
  ------------------
  |  Branch (7204:13): [True: 2.67k, False: 1.33k]
  ------------------
 7205|  2.67k|            &&
 7206|  2.67k|            (el = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (7206:13): [True: 2.67k, False: 1]
  ------------------
 7207|  2.67k|            &&
 7208|  2.67k|            (f = finally_block_rule(p), !p->error_indicator)  // finally_block?
  ------------------
  |  Branch (7208:13): [True: 2.67k, False: 2]
  ------------------
 7209|  4.08k|        )
 7210|  2.67k|        {
 7211|  2.67k|            D(fprintf(stderr, "%*c+ try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' &&':' block except_block+ else_block? finally_block?"));
 7212|  2.67k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7213|  2.67k|            if (_token == NULL) {
  ------------------
  |  Branch (7213:17): [True: 0, False: 2.67k]
  ------------------
 7214|      0|                p->level--;
 7215|      0|                return NULL;
 7216|      0|            }
 7217|  2.67k|            int _end_lineno = _token->end_lineno;
 7218|  2.67k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.67k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.67k]
  |  |  ------------------
  ------------------
 7219|  2.67k|            int _end_col_offset = _token->end_col_offset;
 7220|  2.67k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.67k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.67k]
  |  |  ------------------
  ------------------
 7221|  2.67k|            _res = _PyAST_Try ( b , ex , el , f , EXTRA );
  ------------------
  |  |  316|  2.67k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7222|  2.67k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7222:18): [True: 0, False: 2.67k]
  |  Branch (7222:34): [True: 0, False: 2.67k]
  |  Branch (7222:57): [True: 0, False: 0]
  ------------------
 7223|      0|                p->error_indicator = 1;
 7224|      0|                p->level--;
 7225|      0|                return NULL;
 7226|      0|            }
 7227|  2.67k|            goto done;
 7228|  2.67k|        }
 7229|  1.41k|        p->mark = _mark;
 7230|  1.41k|        D(fprintf(stderr, "%*c%s try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7231|  1.41k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' &&':' block except_block+ else_block? finally_block?"));
 7232|  1.41k|    }
 7233|      0|    { // 'try' &&':' block except_star_block+ else_block? finally_block?
 7234|  1.41k|        if (p->error_indicator) {
  ------------------
  |  Branch (7234:13): [True: 5, False: 1.41k]
  ------------------
 7235|      5|            p->level--;
 7236|      5|            return NULL;
 7237|      5|        }
 7238|  1.41k|        D(fprintf(stderr, "%*c> try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' &&':' block except_star_block+ else_block? finally_block?"));
 7239|  1.41k|        Token * _keyword;
 7240|  1.41k|        Token * _literal;
 7241|  1.41k|        asdl_stmt_seq* b;
 7242|  1.41k|        void *el;
 7243|  1.41k|        asdl_excepthandler_seq* ex;
 7244|  1.41k|        void *f;
 7245|  1.41k|        if (
 7246|  1.41k|            (_keyword = _PyPegen_expect_token(p, 518))  // token='try'
  ------------------
  |  Branch (7246:13): [True: 1.41k, False: 0]
  ------------------
 7247|  1.41k|            &&
 7248|  1.41k|            (_literal = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (7248:13): [True: 1.41k, False: 0]
  ------------------
 7249|  1.41k|            &&
 7250|  1.41k|            (b = block_rule(p))  // block
  ------------------
  |  |  419|  1.41k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (7250:13): [True: 1.33k, False: 77]
  ------------------
 7251|  1.33k|            &&
 7252|  1.33k|            (ex = (asdl_excepthandler_seq*)_loop1_37_rule(p))  // except_star_block+
  ------------------
  |  Branch (7252:13): [True: 1.15k, False: 177]
  ------------------
 7253|  1.15k|            &&
 7254|  1.15k|            (el = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (7254:13): [True: 1.15k, False: 1]
  ------------------
 7255|  1.15k|            &&
 7256|  1.15k|            (f = finally_block_rule(p), !p->error_indicator)  // finally_block?
  ------------------
  |  Branch (7256:13): [True: 1.15k, False: 1]
  ------------------
 7257|  1.41k|        )
 7258|  1.15k|        {
 7259|  1.15k|            D(fprintf(stderr, "%*c+ try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' &&':' block except_star_block+ else_block? finally_block?"));
 7260|  1.15k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7261|  1.15k|            if (_token == NULL) {
  ------------------
  |  Branch (7261:17): [True: 0, False: 1.15k]
  ------------------
 7262|      0|                p->level--;
 7263|      0|                return NULL;
 7264|      0|            }
 7265|  1.15k|            int _end_lineno = _token->end_lineno;
 7266|  1.15k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.15k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.15k]
  |  |  ------------------
  ------------------
 7267|  1.15k|            int _end_col_offset = _token->end_col_offset;
 7268|  1.15k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.15k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.15k]
  |  |  ------------------
  ------------------
 7269|  1.15k|            _res = CHECK_VERSION ( stmt_ty , 11 , "Exception groups are" , _PyAST_TryStar ( b , ex , el , f , EXTRA ) );
  ------------------
  |  |  354|  1.15k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 7270|  1.15k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7270:18): [True: 0, False: 1.15k]
  |  Branch (7270:34): [True: 0, False: 1.15k]
  |  Branch (7270:57): [True: 0, False: 0]
  ------------------
 7271|      0|                p->error_indicator = 1;
 7272|      0|                p->level--;
 7273|      0|                return NULL;
 7274|      0|            }
 7275|  1.15k|            goto done;
 7276|  1.15k|        }
 7277|    256|        p->mark = _mark;
 7278|    256|        D(fprintf(stderr, "%*c%s try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7279|    256|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' &&':' block except_star_block+ else_block? finally_block?"));
 7280|    256|    }
 7281|    256|    _res = NULL;
 7282|  7.11k|  done:
 7283|  7.11k|    p->level--;
 7284|  7.11k|    return _res;
 7285|    256|}
parser.c:finally_block_rule:
 7745|  10.9k|{
 7746|  10.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  21.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7746:9): [True: 0, False: 10.9k]
  |  Branch (7746:35): [True: 0, False: 10.9k]
  ------------------
 7747|      0|        _Pypegen_stack_overflow(p);
 7748|      0|    }
 7749|  10.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (7749:9): [True: 0, False: 10.9k]
  ------------------
 7750|      0|        p->level--;
 7751|      0|        return NULL;
 7752|      0|    }
 7753|  10.9k|    asdl_stmt_seq* _res = NULL;
 7754|  10.9k|    int _mark = p->mark;
 7755|  10.9k|    if (p->call_invalid_rules) { // invalid_finally_stmt
  ------------------
  |  Branch (7755:9): [True: 1.67k, False: 9.23k]
  ------------------
 7756|  1.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (7756:13): [True: 0, False: 1.67k]
  ------------------
 7757|      0|            p->level--;
 7758|      0|            return NULL;
 7759|      0|        }
 7760|  1.67k|        D(fprintf(stderr, "%*c> finally_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_finally_stmt"));
 7761|  1.67k|        void *invalid_finally_stmt_var;
 7762|  1.67k|        if (
 7763|  1.67k|            (invalid_finally_stmt_var = invalid_finally_stmt_rule(p))  // invalid_finally_stmt
  ------------------
  |  |  607|  1.67k|#define invalid_finally_stmt_rule _PyPegen_invalid_finally_stmt_rule
  ------------------
  |  Branch (7763:13): [True: 0, False: 1.67k]
  ------------------
 7764|  1.67k|        )
 7765|      0|        {
 7766|      0|            D(fprintf(stderr, "%*c+ finally_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_finally_stmt"));
 7767|      0|            _res = invalid_finally_stmt_var;
 7768|      0|            goto done;
 7769|      0|        }
 7770|  1.67k|        p->mark = _mark;
 7771|  1.67k|        D(fprintf(stderr, "%*c%s finally_block[%d-%d]: %s failed!\n", p->level, ' ',
 7772|  1.67k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_finally_stmt"));
 7773|  1.67k|    }
 7774|  10.9k|    { // 'finally' &&':' block
 7775|  10.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (7775:13): [True: 0, False: 10.9k]
  ------------------
 7776|      0|            p->level--;
 7777|      0|            return NULL;
 7778|      0|        }
 7779|  10.9k|        D(fprintf(stderr, "%*c> finally_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'finally' &&':' block"));
 7780|  10.9k|        Token * _keyword;
 7781|  10.9k|        Token * _literal;
 7782|  10.9k|        asdl_stmt_seq* a;
 7783|  10.9k|        if (
 7784|  10.9k|            (_keyword = _PyPegen_expect_token(p, 525))  // token='finally'
  ------------------
  |  Branch (7784:13): [True: 3.72k, False: 7.18k]
  ------------------
 7785|  3.72k|            &&
 7786|  3.72k|            (_literal = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (7786:13): [True: 3.71k, False: 2]
  ------------------
 7787|  3.71k|            &&
 7788|  3.71k|            (a = block_rule(p))  // block
  ------------------
  |  |  419|  3.71k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (7788:13): [True: 3.60k, False: 116]
  ------------------
 7789|  10.9k|        )
 7790|  3.60k|        {
 7791|  3.60k|            D(fprintf(stderr, "%*c+ finally_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'finally' &&':' block"));
 7792|  3.60k|            _res = a;
 7793|  3.60k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7793:18): [True: 0, False: 3.60k]
  |  Branch (7793:34): [True: 0, False: 3.60k]
  |  Branch (7793:57): [True: 0, False: 0]
  ------------------
 7794|      0|                p->error_indicator = 1;
 7795|      0|                p->level--;
 7796|      0|                return NULL;
 7797|      0|            }
 7798|  3.60k|            goto done;
 7799|  3.60k|        }
 7800|  7.30k|        p->mark = _mark;
 7801|  7.30k|        D(fprintf(stderr, "%*c%s finally_block[%d-%d]: %s failed!\n", p->level, ' ',
 7802|  7.30k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'finally' &&':' block"));
 7803|  7.30k|    }
 7804|  7.30k|    _res = NULL;
 7805|  10.9k|  done:
 7806|  10.9k|    p->level--;
 7807|  10.9k|    return _res;
 7808|  7.30k|}
parser.c:_loop1_36_rule:
21760|  4.01k|{
21761|  4.01k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.02k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21761:9): [True: 0, False: 4.01k]
  |  Branch (21761:35): [True: 0, False: 4.01k]
  ------------------
21762|      0|        _Pypegen_stack_overflow(p);
21763|      0|    }
21764|  4.01k|    if (p->error_indicator) {
  ------------------
  |  Branch (21764:9): [True: 0, False: 4.01k]
  ------------------
21765|      0|        p->level--;
21766|      0|        return NULL;
21767|      0|    }
21768|  4.01k|    void *_res = NULL;
21769|  4.01k|    int _mark = p->mark;
21770|  4.01k|    void **_children = NULL;
21771|  4.01k|    Py_ssize_t _children_capacity = 0;
21772|  4.01k|    Py_ssize_t _n = 0;
21773|  4.01k|    { // except_block
21774|  4.01k|        if (p->error_indicator) {
  ------------------
  |  Branch (21774:13): [True: 0, False: 4.01k]
  ------------------
21775|      0|            p->level--;
21776|      0|            return NULL;
21777|      0|        }
21778|  4.01k|        D(fprintf(stderr, "%*c> _loop1_36[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "except_block"));
21779|  4.01k|        excepthandler_ty except_block_var;
21780|  4.01k|        while (
21781|  9.05k|            (except_block_var = except_block_rule(p))  // except_block
  ------------------
  |  |  435|  9.05k|#define except_block_rule _PyPegen_except_block_rule
  ------------------
  |  Branch (21781:13): [True: 5.04k, False: 4.01k]
  ------------------
21782|  4.01k|        )
21783|  5.04k|        {
21784|  5.04k|            _res = except_block_var;
21785|  5.04k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (21785:17): [True: 3.64k, False: 1.39k]
  ------------------
21786|  3.64k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (21786:21): [True: 0, False: 3.64k]
  ------------------
21787|      0|                    p->error_indicator = 1;
21788|      0|                    PyErr_NoMemory();
21789|      0|                    PyMem_Free(_children);
21790|      0|                    p->level--;
21791|      0|                    return NULL;
21792|      0|                }
21793|  3.64k|            }
21794|  5.04k|            _children[_n++] = _res;
21795|  5.04k|            _mark = p->mark;
21796|  5.04k|        }
21797|  4.01k|        p->mark = _mark;
21798|  4.01k|        D(fprintf(stderr, "%*c%s _loop1_36[%d-%d]: %s failed!\n", p->level, ' ',
21799|  4.01k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "except_block"));
21800|  4.01k|    }
21801|  4.01k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (21801:9): [True: 1.33k, False: 2.67k]
  |  Branch (21801:20): [True: 0, False: 2.67k]
  ------------------
21802|  1.33k|        PyMem_Free(_children);
21803|  1.33k|        p->level--;
21804|  1.33k|        return NULL;
21805|  1.33k|    }
21806|  2.67k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
21807|  2.67k|    if (!_seq) {
  ------------------
  |  Branch (21807:9): [True: 0, False: 2.67k]
  ------------------
21808|      0|        p->error_indicator = 1;
21809|      0|        PyErr_NoMemory();
21810|      0|        PyMem_Free(_children);
21811|      0|        p->level--;
21812|      0|        return NULL;
21813|      0|    }
21814|  7.71k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  5.04k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  7.71k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (21814:28): [True: 5.04k, False: 2.67k]
  ------------------
21815|  2.67k|    PyMem_Free(_children);
21816|  2.67k|    p->level--;
21817|  2.67k|    return _seq;
21818|  2.67k|}
parser.c:_loop1_37_rule:
21823|  1.33k|{
21824|  1.33k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.66k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21824:9): [True: 0, False: 1.33k]
  |  Branch (21824:35): [True: 0, False: 1.33k]
  ------------------
21825|      0|        _Pypegen_stack_overflow(p);
21826|      0|    }
21827|  1.33k|    if (p->error_indicator) {
  ------------------
  |  Branch (21827:9): [True: 0, False: 1.33k]
  ------------------
21828|      0|        p->level--;
21829|      0|        return NULL;
21830|      0|    }
21831|  1.33k|    void *_res = NULL;
21832|  1.33k|    int _mark = p->mark;
21833|  1.33k|    void **_children = NULL;
21834|  1.33k|    Py_ssize_t _children_capacity = 0;
21835|  1.33k|    Py_ssize_t _n = 0;
21836|  1.33k|    { // except_star_block
21837|  1.33k|        if (p->error_indicator) {
  ------------------
  |  Branch (21837:13): [True: 0, False: 1.33k]
  ------------------
21838|      0|            p->level--;
21839|      0|            return NULL;
21840|      0|        }
21841|  1.33k|        D(fprintf(stderr, "%*c> _loop1_37[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "except_star_block"));
21842|  1.33k|        excepthandler_ty except_star_block_var;
21843|  1.33k|        while (
21844|  3.87k|            (except_star_block_var = except_star_block_rule(p))  // except_star_block
  ------------------
  |  |  437|  3.87k|#define except_star_block_rule _PyPegen_except_star_block_rule
  ------------------
  |  Branch (21844:13): [True: 2.54k, False: 1.33k]
  ------------------
21845|  1.33k|        )
21846|  2.54k|        {
21847|  2.54k|            _res = except_star_block_var;
21848|  2.54k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (21848:17): [True: 1.57k, False: 967]
  ------------------
21849|  1.57k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (21849:21): [True: 0, False: 1.57k]
  ------------------
21850|      0|                    p->error_indicator = 1;
21851|      0|                    PyErr_NoMemory();
21852|      0|                    PyMem_Free(_children);
21853|      0|                    p->level--;
21854|      0|                    return NULL;
21855|      0|                }
21856|  1.57k|            }
21857|  2.54k|            _children[_n++] = _res;
21858|  2.54k|            _mark = p->mark;
21859|  2.54k|        }
21860|  1.33k|        p->mark = _mark;
21861|  1.33k|        D(fprintf(stderr, "%*c%s _loop1_37[%d-%d]: %s failed!\n", p->level, ' ',
21862|  1.33k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "except_star_block"));
21863|  1.33k|    }
21864|  1.33k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (21864:9): [True: 176, False: 1.15k]
  |  Branch (21864:20): [True: 1, False: 1.15k]
  ------------------
21865|    177|        PyMem_Free(_children);
21866|    177|        p->level--;
21867|    177|        return NULL;
21868|    177|    }
21869|  1.15k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
21870|  1.15k|    if (!_seq) {
  ------------------
  |  Branch (21870:9): [True: 0, False: 1.15k]
  ------------------
21871|      0|        p->error_indicator = 1;
21872|      0|        PyErr_NoMemory();
21873|      0|        PyMem_Free(_children);
21874|      0|        p->level--;
21875|      0|        return NULL;
21876|      0|    }
21877|  3.70k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  2.54k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  3.70k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (21877:28): [True: 2.54k, False: 1.15k]
  ------------------
21878|  1.15k|    PyMem_Free(_children);
21879|  1.15k|    p->level--;
21880|  1.15k|    return _seq;
21881|  1.15k|}
parser.c:while_stmt_rule:
 6442|  3.25k|{
 6443|  3.25k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.51k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6443:9): [True: 0, False: 3.25k]
  |  Branch (6443:35): [True: 0, False: 3.25k]
  ------------------
 6444|      0|        _Pypegen_stack_overflow(p);
 6445|      0|    }
 6446|  3.25k|    if (p->error_indicator) {
  ------------------
  |  Branch (6446:9): [True: 0, False: 3.25k]
  ------------------
 6447|      0|        p->level--;
 6448|      0|        return NULL;
 6449|      0|    }
 6450|  3.25k|    stmt_ty _res = NULL;
 6451|  3.25k|    int _mark = p->mark;
 6452|  3.25k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6452:9): [True: 0, False: 3.25k]
  |  Branch (6452:31): [True: 0, False: 0]
  ------------------
 6453|      0|        p->error_indicator = 1;
 6454|      0|        p->level--;
 6455|      0|        return NULL;
 6456|      0|    }
 6457|  3.25k|    int _start_lineno = p->tokens[_mark]->lineno;
 6458|  3.25k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.25k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.25k]
  |  |  ------------------
  ------------------
 6459|  3.25k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6460|  3.25k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.25k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.25k]
  |  |  ------------------
  ------------------
 6461|  3.25k|    if (p->call_invalid_rules) { // invalid_while_stmt
  ------------------
  |  Branch (6461:9): [True: 543, False: 2.71k]
  ------------------
 6462|    543|        if (p->error_indicator) {
  ------------------
  |  Branch (6462:13): [True: 0, False: 543]
  ------------------
 6463|      0|            p->level--;
 6464|      0|            return NULL;
 6465|      0|        }
 6466|    543|        D(fprintf(stderr, "%*c> while_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_while_stmt"));
 6467|    543|        void *invalid_while_stmt_var;
 6468|    543|        if (
 6469|    543|            (invalid_while_stmt_var = invalid_while_stmt_rule(p))  // invalid_while_stmt
  ------------------
  |  |  629|    543|#define invalid_while_stmt_rule _PyPegen_invalid_while_stmt_rule
  ------------------
  |  Branch (6469:13): [True: 0, False: 543]
  ------------------
 6470|    543|        )
 6471|      0|        {
 6472|      0|            D(fprintf(stderr, "%*c+ while_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_while_stmt"));
 6473|      0|            _res = invalid_while_stmt_var;
 6474|      0|            goto done;
 6475|      0|        }
 6476|    543|        p->mark = _mark;
 6477|    543|        D(fprintf(stderr, "%*c%s while_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6478|    543|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_while_stmt"));
 6479|    543|    }
 6480|  3.25k|    { // 'while' named_expression ':' block else_block?
 6481|  3.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (6481:13): [True: 5, False: 3.25k]
  ------------------
 6482|      5|            p->level--;
 6483|      5|            return NULL;
 6484|      5|        }
 6485|  3.25k|        D(fprintf(stderr, "%*c> while_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'while' named_expression ':' block else_block?"));
 6486|  3.25k|        Token * _keyword;
 6487|  3.25k|        Token * _literal;
 6488|  3.25k|        expr_ty a;
 6489|  3.25k|        asdl_stmt_seq* b;
 6490|  3.25k|        void *c;
 6491|  3.25k|        if (
 6492|  3.25k|            (_keyword = _PyPegen_expect_token(p, 519))  // token='while'
  ------------------
  |  Branch (6492:13): [True: 3.25k, False: 0]
  ------------------
 6493|  3.25k|            &&
 6494|  3.25k|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  |  475|  3.25k|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (6494:13): [True: 3.24k, False: 10]
  ------------------
 6495|  3.24k|            &&
 6496|  3.24k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6496:13): [True: 3.23k, False: 5]
  ------------------
 6497|  3.23k|            &&
 6498|  3.23k|            (b = block_rule(p))  // block
  ------------------
  |  |  419|  3.23k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (6498:13): [True: 3.21k, False: 23]
  ------------------
 6499|  3.21k|            &&
 6500|  3.21k|            (c = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6500:13): [True: 3.21k, False: 3]
  ------------------
 6501|  3.25k|        )
 6502|  3.21k|        {
 6503|  3.21k|            D(fprintf(stderr, "%*c+ while_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'while' named_expression ':' block else_block?"));
 6504|  3.21k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6505|  3.21k|            if (_token == NULL) {
  ------------------
  |  Branch (6505:17): [True: 0, False: 3.21k]
  ------------------
 6506|      0|                p->level--;
 6507|      0|                return NULL;
 6508|      0|            }
 6509|  3.21k|            int _end_lineno = _token->end_lineno;
 6510|  3.21k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.21k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.21k]
  |  |  ------------------
  ------------------
 6511|  3.21k|            int _end_col_offset = _token->end_col_offset;
 6512|  3.21k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.21k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.21k]
  |  |  ------------------
  ------------------
 6513|  3.21k|            _res = _PyAST_While ( a , b , c , EXTRA );
  ------------------
  |  |  316|  3.21k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6514|  3.21k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6514:18): [True: 0, False: 3.21k]
  |  Branch (6514:34): [True: 0, False: 3.21k]
  |  Branch (6514:57): [True: 0, False: 0]
  ------------------
 6515|      0|                p->error_indicator = 1;
 6516|      0|                p->level--;
 6517|      0|                return NULL;
 6518|      0|            }
 6519|  3.21k|            goto done;
 6520|  3.21k|        }
 6521|     41|        p->mark = _mark;
 6522|     41|        D(fprintf(stderr, "%*c%s while_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6523|     41|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'while' named_expression ':' block else_block?"));
 6524|     41|    }
 6525|     41|    _res = NULL;
 6526|  3.25k|  done:
 6527|  3.25k|    p->level--;
 6528|  3.25k|    return _res;
 6529|     41|}
parser.c:match_stmt_rule:
 7815|   142k|{
 7816|   142k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   284k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7816:9): [True: 0, False: 142k]
  |  Branch (7816:35): [True: 0, False: 142k]
  ------------------
 7817|      0|        _Pypegen_stack_overflow(p);
 7818|      0|    }
 7819|   142k|    if (p->error_indicator) {
  ------------------
  |  Branch (7819:9): [True: 0, False: 142k]
  ------------------
 7820|      0|        p->level--;
 7821|      0|        return NULL;
 7822|      0|    }
 7823|   142k|    stmt_ty _res = NULL;
 7824|   142k|    int _mark = p->mark;
 7825|   142k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (7825:9): [True: 0, False: 142k]
  |  Branch (7825:31): [True: 0, False: 0]
  ------------------
 7826|      0|        p->error_indicator = 1;
 7827|      0|        p->level--;
 7828|      0|        return NULL;
 7829|      0|    }
 7830|   142k|    int _start_lineno = p->tokens[_mark]->lineno;
 7831|   142k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   142k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 142k]
  |  |  ------------------
  ------------------
 7832|   142k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 7833|   142k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   142k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 142k]
  |  |  ------------------
  ------------------
 7834|   142k|    { // "match" subject_expr ':' NEWLINE INDENT case_block+ DEDENT
 7835|   142k|        if (p->error_indicator) {
  ------------------
  |  Branch (7835:13): [True: 0, False: 142k]
  ------------------
 7836|      0|            p->level--;
 7837|      0|            return NULL;
 7838|      0|        }
 7839|   142k|        D(fprintf(stderr, "%*c> match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr ':' NEWLINE INDENT case_block+ DEDENT"));
 7840|   142k|        expr_ty _keyword;
 7841|   142k|        Token * _literal;
 7842|   142k|        asdl_match_case_seq* cases;
 7843|   142k|        Token * dedent_var;
 7844|   142k|        Token * indent_var;
 7845|   142k|        Token * newline_var;
 7846|   142k|        expr_ty subject;
 7847|   142k|        if (
 7848|   142k|            (_keyword = _PyPegen_expect_soft_keyword(p, "match"))  // soft_keyword='"match"'
  ------------------
  |  Branch (7848:13): [True: 2.89k, False: 139k]
  ------------------
 7849|  2.89k|            &&
 7850|  2.89k|            (subject = subject_expr_rule(p))  // subject_expr
  ------------------
  |  |  439|  2.89k|#define subject_expr_rule _PyPegen_subject_expr_rule
  ------------------
  |  Branch (7850:13): [True: 2.38k, False: 514]
  ------------------
 7851|  2.38k|            &&
 7852|  2.38k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7852:13): [True: 2.02k, False: 362]
  ------------------
 7853|  2.02k|            &&
 7854|  2.02k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  2.02k|#define NEWLINE         4
  ------------------
  |  Branch (7854:13): [True: 2.01k, False: 7]
  ------------------
 7855|  2.01k|            &&
 7856|  2.01k|            (indent_var = _PyPegen_expect_token(p, INDENT))  // token='INDENT'
  ------------------
  |  |   21|  2.01k|#define INDENT          5
  ------------------
  |  Branch (7856:13): [True: 2.01k, False: 2]
  ------------------
 7857|  2.01k|            &&
 7858|  2.01k|            (cases = (asdl_match_case_seq*)_loop1_38_rule(p))  // case_block+
  ------------------
  |  Branch (7858:13): [True: 1.47k, False: 543]
  ------------------
 7859|  1.47k|            &&
 7860|  1.47k|            (dedent_var = _PyPegen_expect_token(p, DEDENT))  // token='DEDENT'
  ------------------
  |  |   22|  1.47k|#define DEDENT          6
  ------------------
  |  Branch (7860:13): [True: 1.40k, False: 69]
  ------------------
 7861|   142k|        )
 7862|  1.40k|        {
 7863|  1.40k|            D(fprintf(stderr, "%*c+ match_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr ':' NEWLINE INDENT case_block+ DEDENT"));
 7864|  1.40k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7865|  1.40k|            if (_token == NULL) {
  ------------------
  |  Branch (7865:17): [True: 0, False: 1.40k]
  ------------------
 7866|      0|                p->level--;
 7867|      0|                return NULL;
 7868|      0|            }
 7869|  1.40k|            int _end_lineno = _token->end_lineno;
 7870|  1.40k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.40k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.40k]
  |  |  ------------------
  ------------------
 7871|  1.40k|            int _end_col_offset = _token->end_col_offset;
 7872|  1.40k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.40k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.40k]
  |  |  ------------------
  ------------------
 7873|  1.40k|            _res = CHECK_VERSION ( stmt_ty , 10 , "Pattern matching is" , _PyAST_Match ( subject , cases , EXTRA ) );
  ------------------
  |  |  354|  1.40k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 7874|  1.40k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7874:18): [True: 0, False: 1.40k]
  |  Branch (7874:34): [True: 0, False: 1.40k]
  |  Branch (7874:57): [True: 0, False: 0]
  ------------------
 7875|      0|                p->error_indicator = 1;
 7876|      0|                p->level--;
 7877|      0|                return NULL;
 7878|      0|            }
 7879|  1.40k|            goto done;
 7880|  1.40k|        }
 7881|   140k|        p->mark = _mark;
 7882|   140k|        D(fprintf(stderr, "%*c%s match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7883|   140k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"match\" subject_expr ':' NEWLINE INDENT case_block+ DEDENT"));
 7884|   140k|    }
 7885|   140k|    if (p->call_invalid_rules) { // invalid_match_stmt
  ------------------
  |  Branch (7885:9): [True: 24.6k, False: 116k]
  ------------------
 7886|  24.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (7886:13): [True: 66, False: 24.5k]
  ------------------
 7887|     66|            p->level--;
 7888|     66|            return NULL;
 7889|     66|        }
 7890|  24.5k|        D(fprintf(stderr, "%*c> match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_match_stmt"));
 7891|  24.5k|        void *invalid_match_stmt_var;
 7892|  24.5k|        if (
 7893|  24.5k|            (invalid_match_stmt_var = invalid_match_stmt_rule(p))  // invalid_match_stmt
  ------------------
  |  |  613|  24.5k|#define invalid_match_stmt_rule _PyPegen_invalid_match_stmt_rule
  ------------------
  |  Branch (7893:13): [True: 0, False: 24.5k]
  ------------------
 7894|  24.5k|        )
 7895|      0|        {
 7896|      0|            D(fprintf(stderr, "%*c+ match_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_match_stmt"));
 7897|      0|            _res = invalid_match_stmt_var;
 7898|      0|            goto done;
 7899|      0|        }
 7900|  24.5k|        p->mark = _mark;
 7901|  24.5k|        D(fprintf(stderr, "%*c%s match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7902|  24.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_match_stmt"));
 7903|  24.5k|    }
 7904|   140k|    _res = NULL;
 7905|   142k|  done:
 7906|   142k|    p->level--;
 7907|   142k|    return _res;
 7908|   140k|}
parser.c:_loop1_38_rule:
21886|  2.01k|{
21887|  2.01k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.02k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21887:9): [True: 0, False: 2.01k]
  |  Branch (21887:35): [True: 0, False: 2.01k]
  ------------------
21888|      0|        _Pypegen_stack_overflow(p);
21889|      0|    }
21890|  2.01k|    if (p->error_indicator) {
  ------------------
  |  Branch (21890:9): [True: 0, False: 2.01k]
  ------------------
21891|      0|        p->level--;
21892|      0|        return NULL;
21893|      0|    }
21894|  2.01k|    void *_res = NULL;
21895|  2.01k|    int _mark = p->mark;
21896|  2.01k|    void **_children = NULL;
21897|  2.01k|    Py_ssize_t _children_capacity = 0;
21898|  2.01k|    Py_ssize_t _n = 0;
21899|  2.01k|    { // case_block
21900|  2.01k|        if (p->error_indicator) {
  ------------------
  |  Branch (21900:13): [True: 0, False: 2.01k]
  ------------------
21901|      0|            p->level--;
21902|      0|            return NULL;
21903|      0|        }
21904|  2.01k|        D(fprintf(stderr, "%*c> _loop1_38[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "case_block"));
21905|  2.01k|        match_case_ty case_block_var;
21906|  2.01k|        while (
21907|  7.00k|            (case_block_var = case_block_rule(p))  // case_block
  ------------------
  |  Branch (21907:13): [True: 4.98k, False: 2.01k]
  ------------------
21908|  2.01k|        )
21909|  4.98k|        {
21910|  4.98k|            _res = case_block_var;
21911|  4.98k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (21911:17): [True: 2.13k, False: 2.85k]
  ------------------
21912|  2.13k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (21912:21): [True: 0, False: 2.13k]
  ------------------
21913|      0|                    p->error_indicator = 1;
21914|      0|                    PyErr_NoMemory();
21915|      0|                    PyMem_Free(_children);
21916|      0|                    p->level--;
21917|      0|                    return NULL;
21918|      0|                }
21919|  2.13k|            }
21920|  4.98k|            _children[_n++] = _res;
21921|  4.98k|            _mark = p->mark;
21922|  4.98k|        }
21923|  2.01k|        p->mark = _mark;
21924|  2.01k|        D(fprintf(stderr, "%*c%s _loop1_38[%d-%d]: %s failed!\n", p->level, ' ',
21925|  2.01k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "case_block"));
21926|  2.01k|    }
21927|  2.01k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (21927:9): [True: 537, False: 1.47k]
  |  Branch (21927:20): [True: 6, False: 1.47k]
  ------------------
21928|    543|        PyMem_Free(_children);
21929|    543|        p->level--;
21930|    543|        return NULL;
21931|    543|    }
21932|  1.47k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
21933|  1.47k|    if (!_seq) {
  ------------------
  |  Branch (21933:9): [True: 0, False: 1.47k]
  ------------------
21934|      0|        p->error_indicator = 1;
21935|      0|        PyErr_NoMemory();
21936|      0|        PyMem_Free(_children);
21937|      0|        p->level--;
21938|      0|        return NULL;
21939|      0|    }
21940|  6.39k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  4.92k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  6.39k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (21940:28): [True: 4.92k, False: 1.47k]
  ------------------
21941|  1.47k|    PyMem_Free(_children);
21942|  1.47k|    p->level--;
21943|  1.47k|    return _seq;
21944|  1.47k|}
parser.c:case_block_rule:
 7999|  7.00k|{
 8000|  7.00k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  14.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8000:9): [True: 0, False: 7.00k]
  |  Branch (8000:35): [True: 0, False: 7.00k]
  ------------------
 8001|      0|        _Pypegen_stack_overflow(p);
 8002|      0|    }
 8003|  7.00k|    if (p->error_indicator) {
  ------------------
  |  Branch (8003:9): [True: 0, False: 7.00k]
  ------------------
 8004|      0|        p->level--;
 8005|      0|        return NULL;
 8006|      0|    }
 8007|  7.00k|    match_case_ty _res = NULL;
 8008|  7.00k|    int _mark = p->mark;
 8009|  7.00k|    if (p->call_invalid_rules) { // invalid_case_block
  ------------------
  |  Branch (8009:9): [True: 1.74k, False: 5.26k]
  ------------------
 8010|  1.74k|        if (p->error_indicator) {
  ------------------
  |  Branch (8010:13): [True: 0, False: 1.74k]
  ------------------
 8011|      0|            p->level--;
 8012|      0|            return NULL;
 8013|      0|        }
 8014|  1.74k|        D(fprintf(stderr, "%*c> case_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_case_block"));
 8015|  1.74k|        void *invalid_case_block_var;
 8016|  1.74k|        if (
 8017|  1.74k|            (invalid_case_block_var = invalid_case_block_rule(p))  // invalid_case_block
  ------------------
  |  |  615|  1.74k|#define invalid_case_block_rule _PyPegen_invalid_case_block_rule
  ------------------
  |  Branch (8017:13): [True: 0, False: 1.74k]
  ------------------
 8018|  1.74k|        )
 8019|      0|        {
 8020|      0|            D(fprintf(stderr, "%*c+ case_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_case_block"));
 8021|      0|            _res = invalid_case_block_var;
 8022|      0|            goto done;
 8023|      0|        }
 8024|  1.74k|        p->mark = _mark;
 8025|  1.74k|        D(fprintf(stderr, "%*c%s case_block[%d-%d]: %s failed!\n", p->level, ' ',
 8026|  1.74k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_case_block"));
 8027|  1.74k|    }
 8028|  7.00k|    { // "case" patterns guard? ':' block
 8029|  7.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (8029:13): [True: 63, False: 6.94k]
  ------------------
 8030|     63|            p->level--;
 8031|     63|            return NULL;
 8032|     63|        }
 8033|  6.94k|        D(fprintf(stderr, "%*c> case_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' block"));
 8034|  6.94k|        expr_ty _keyword;
 8035|  6.94k|        Token * _literal;
 8036|  6.94k|        asdl_stmt_seq* body;
 8037|  6.94k|        void *guard;
 8038|  6.94k|        pattern_ty pattern;
 8039|  6.94k|        if (
 8040|  6.94k|            (_keyword = _PyPegen_expect_soft_keyword(p, "case"))  // soft_keyword='"case"'
  ------------------
  |  Branch (8040:13): [True: 5.50k, False: 1.43k]
  ------------------
 8041|  5.50k|            &&
 8042|  5.50k|            (pattern = patterns_rule(p))  // patterns
  ------------------
  |  |  443|  5.50k|#define patterns_rule _PyPegen_patterns_rule
  ------------------
  |  Branch (8042:13): [True: 5.29k, False: 206]
  ------------------
 8043|  5.29k|            &&
 8044|  5.29k|            (guard = guard_rule(p), !p->error_indicator)  // guard?
  ------------------
  |  |  441|  5.29k|#define guard_rule _PyPegen_guard_rule
  ------------------
  |  Branch (8044:13): [True: 5.29k, False: 1]
  ------------------
 8045|  5.29k|            &&
 8046|  5.29k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (8046:13): [True: 5.03k, False: 267]
  ------------------
 8047|  5.03k|            &&
 8048|  5.03k|            (body = block_rule(p))  // block
  ------------------
  |  |  419|  5.03k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (8048:13): [True: 4.98k, False: 42]
  ------------------
 8049|  6.94k|        )
 8050|  4.98k|        {
 8051|  4.98k|            D(fprintf(stderr, "%*c+ case_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' block"));
 8052|  4.98k|            _res = _PyAST_match_case ( pattern , guard , body , p -> arena );
 8053|  4.98k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8053:18): [True: 0, False: 4.98k]
  |  Branch (8053:34): [True: 0, False: 4.98k]
  |  Branch (8053:57): [True: 0, False: 0]
  ------------------
 8054|      0|                p->error_indicator = 1;
 8055|      0|                p->level--;
 8056|      0|                return NULL;
 8057|      0|            }
 8058|  4.98k|            goto done;
 8059|  4.98k|        }
 8060|  1.95k|        p->mark = _mark;
 8061|  1.95k|        D(fprintf(stderr, "%*c%s case_block[%d-%d]: %s failed!\n", p->level, ' ',
 8062|  1.95k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"case\" patterns guard? ':' block"));
 8063|  1.95k|    }
 8064|  1.95k|    _res = NULL;
 8065|  6.94k|  done:
 8066|  6.94k|    p->level--;
 8067|  6.94k|    return _res;
 8068|  1.95k|}
parser.c:simple_stmts_rule:
 1394|   191k|{
 1395|   191k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   382k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1395:9): [True: 0, False: 191k]
  |  Branch (1395:35): [True: 0, False: 191k]
  ------------------
 1396|      0|        _Pypegen_stack_overflow(p);
 1397|      0|    }
 1398|   191k|    if (p->error_indicator) {
  ------------------
  |  Branch (1398:9): [True: 0, False: 191k]
  ------------------
 1399|      0|        p->level--;
 1400|      0|        return NULL;
 1401|      0|    }
 1402|   191k|    asdl_stmt_seq* _res = NULL;
 1403|   191k|    int _mark = p->mark;
 1404|   191k|    { // simple_stmt !';' NEWLINE
 1405|   191k|        if (p->error_indicator) {
  ------------------
  |  Branch (1405:13): [True: 0, False: 191k]
  ------------------
 1406|      0|            p->level--;
 1407|      0|            return NULL;
 1408|      0|        }
 1409|   191k|        D(fprintf(stderr, "%*c> simple_stmts[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmt !';' NEWLINE"));
 1410|   191k|        stmt_ty a;
 1411|   191k|        Token * newline_var;
 1412|   191k|        if (
 1413|   191k|            (a = simple_stmt_rule(p))  // simple_stmt
  ------------------
  |  |  401|   191k|#define simple_stmt_rule _PyPegen_simple_stmt_rule
  ------------------
  |  Branch (1413:13): [True: 155k, False: 35.5k]
  ------------------
 1414|   155k|            &&
 1415|   155k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 13)  // token=';'
  ------------------
  |  Branch (1415:13): [True: 142k, False: 13.1k]
  ------------------
 1416|   142k|            &&
 1417|   142k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|   142k|#define NEWLINE         4
  ------------------
  |  Branch (1417:13): [True: 136k, False: 6.72k]
  ------------------
 1418|   191k|        )
 1419|   136k|        {
 1420|   136k|            D(fprintf(stderr, "%*c+ simple_stmts[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "simple_stmt !';' NEWLINE"));
 1421|   136k|            _res = ( asdl_stmt_seq* ) _PyPegen_singleton_seq ( p , a );
 1422|   136k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1422:18): [True: 0, False: 136k]
  |  Branch (1422:34): [True: 0, False: 136k]
  |  Branch (1422:57): [True: 0, False: 0]
  ------------------
 1423|      0|                p->error_indicator = 1;
 1424|      0|                p->level--;
 1425|      0|                return NULL;
 1426|      0|            }
 1427|   136k|            goto done;
 1428|   136k|        }
 1429|  55.3k|        p->mark = _mark;
 1430|  55.3k|        D(fprintf(stderr, "%*c%s simple_stmts[%d-%d]: %s failed!\n", p->level, ' ',
 1431|  55.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmt !';' NEWLINE"));
 1432|  55.3k|    }
 1433|      0|    { // ';'.simple_stmt+ ';'? NEWLINE
 1434|  55.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (1434:13): [True: 2.82k, False: 52.5k]
  ------------------
 1435|  2.82k|            p->level--;
 1436|  2.82k|            return NULL;
 1437|  2.82k|        }
 1438|  52.5k|        D(fprintf(stderr, "%*c> simple_stmts[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "';'.simple_stmt+ ';'? NEWLINE"));
 1439|  52.5k|        void *_opt_var;
 1440|  52.5k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  52.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 52.5k]
  |  |  ------------------
  ------------------
 1441|  52.5k|        asdl_stmt_seq* a;
 1442|  52.5k|        Token * newline_var;
 1443|  52.5k|        if (
 1444|  52.5k|            (a = (asdl_stmt_seq*)_gather_4_rule(p))  // ';'.simple_stmt+
  ------------------
  |  Branch (1444:13): [True: 19.8k, False: 32.7k]
  ------------------
 1445|  19.8k|            &&
 1446|  19.8k|            (_opt_var = _PyPegen_expect_token(p, 13), !p->error_indicator)  // ';'?
  ------------------
  |  Branch (1446:13): [True: 19.7k, False: 38]
  ------------------
 1447|  19.7k|            &&
 1448|  19.7k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  19.7k|#define NEWLINE         4
  ------------------
  |  Branch (1448:13): [True: 12.7k, False: 7.06k]
  ------------------
 1449|  52.5k|        )
 1450|  12.7k|        {
 1451|  12.7k|            D(fprintf(stderr, "%*c+ simple_stmts[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "';'.simple_stmt+ ';'? NEWLINE"));
 1452|  12.7k|            _res = a;
 1453|  12.7k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1453:18): [True: 0, False: 12.7k]
  |  Branch (1453:34): [True: 0, False: 12.7k]
  |  Branch (1453:57): [True: 0, False: 0]
  ------------------
 1454|      0|                p->error_indicator = 1;
 1455|      0|                p->level--;
 1456|      0|                return NULL;
 1457|      0|            }
 1458|  12.7k|            goto done;
 1459|  12.7k|        }
 1460|  39.8k|        p->mark = _mark;
 1461|  39.8k|        D(fprintf(stderr, "%*c%s simple_stmts[%d-%d]: %s failed!\n", p->level, ' ',
 1462|  39.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "';'.simple_stmt+ ';'? NEWLINE"));
 1463|  39.8k|    }
 1464|  39.8k|    _res = NULL;
 1465|   188k|  done:
 1466|   188k|    p->level--;
 1467|   188k|    return _res;
 1468|  39.8k|}
parser.c:_gather_4_rule:
19920|  52.5k|{
19921|  52.5k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   105k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19921:9): [True: 0, False: 52.5k]
  |  Branch (19921:35): [True: 0, False: 52.5k]
  ------------------
19922|      0|        _Pypegen_stack_overflow(p);
19923|      0|    }
19924|  52.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (19924:9): [True: 0, False: 52.5k]
  ------------------
19925|      0|        p->level--;
19926|      0|        return NULL;
19927|      0|    }
19928|  52.5k|    asdl_seq * _res = NULL;
19929|  52.5k|    int _mark = p->mark;
19930|  52.5k|    { // simple_stmt _loop0_3
19931|  52.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (19931:13): [True: 0, False: 52.5k]
  ------------------
19932|      0|            p->level--;
19933|      0|            return NULL;
19934|      0|        }
19935|  52.5k|        D(fprintf(stderr, "%*c> _gather_4[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmt _loop0_3"));
19936|  52.5k|        stmt_ty elem;
19937|  52.5k|        asdl_seq * seq;
19938|  52.5k|        if (
19939|  52.5k|            (elem = simple_stmt_rule(p))  // simple_stmt
  ------------------
  |  |  401|  52.5k|#define simple_stmt_rule _PyPegen_simple_stmt_rule
  ------------------
  |  Branch (19939:13): [True: 19.8k, False: 32.7k]
  ------------------
19940|  19.8k|            &&
19941|  19.8k|            (seq = _loop0_3_rule(p))  // _loop0_3
  ------------------
  |  Branch (19941:13): [True: 19.8k, False: 0]
  ------------------
19942|  52.5k|        )
19943|  19.8k|        {
19944|  19.8k|            D(fprintf(stderr, "%*c+ _gather_4[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "simple_stmt _loop0_3"));
19945|  19.8k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
19946|  19.8k|            goto done;
19947|  19.8k|        }
19948|  32.7k|        p->mark = _mark;
19949|  32.7k|        D(fprintf(stderr, "%*c%s _gather_4[%d-%d]: %s failed!\n", p->level, ' ',
19950|  32.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmt _loop0_3"));
19951|  32.7k|    }
19952|  32.7k|    _res = NULL;
19953|  52.5k|  done:
19954|  52.5k|    p->level--;
19955|  52.5k|    return _res;
19956|  32.7k|}
parser.c:_loop0_3_rule:
19853|  19.8k|{
19854|  19.8k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  39.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19854:9): [True: 0, False: 19.8k]
  |  Branch (19854:35): [True: 0, False: 19.8k]
  ------------------
19855|      0|        _Pypegen_stack_overflow(p);
19856|      0|    }
19857|  19.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (19857:9): [True: 0, False: 19.8k]
  ------------------
19858|      0|        p->level--;
19859|      0|        return NULL;
19860|      0|    }
19861|  19.8k|    void *_res = NULL;
19862|  19.8k|    int _mark = p->mark;
19863|  19.8k|    void **_children = NULL;
19864|  19.8k|    Py_ssize_t _children_capacity = 0;
19865|  19.8k|    Py_ssize_t _n = 0;
19866|  19.8k|    { // ';' simple_stmt
19867|  19.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (19867:13): [True: 0, False: 19.8k]
  ------------------
19868|      0|            p->level--;
19869|      0|            return NULL;
19870|      0|        }
19871|  19.8k|        D(fprintf(stderr, "%*c> _loop0_3[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "';' simple_stmt"));
19872|  19.8k|        Token * _literal;
19873|  19.8k|        stmt_ty elem;
19874|  19.8k|        while (
19875|  91.2k|            (_literal = _PyPegen_expect_token(p, 13))  // token=';'
  ------------------
  |  Branch (19875:13): [True: 73.6k, False: 17.6k]
  ------------------
19876|  73.6k|            &&
19877|  73.6k|            (elem = simple_stmt_rule(p))  // simple_stmt
  ------------------
  |  |  401|  73.6k|#define simple_stmt_rule _PyPegen_simple_stmt_rule
  ------------------
  |  Branch (19877:13): [True: 71.3k, False: 2.22k]
  ------------------
19878|  19.8k|        )
19879|  71.3k|        {
19880|  71.3k|            _res = elem;
19881|  71.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19881:18): [True: 0, False: 71.3k]
  |  Branch (19881:34): [True: 1, False: 71.3k]
  |  Branch (19881:57): [True: 0, False: 1]
  ------------------
19882|      0|                p->error_indicator = 1;
19883|      0|                PyMem_Free(_children);
19884|      0|                p->level--;
19885|      0|                return NULL;
19886|      0|            }
19887|  71.3k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (19887:17): [True: 28.4k, False: 42.9k]
  ------------------
19888|  28.4k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (19888:21): [True: 0, False: 28.4k]
  ------------------
19889|      0|                    p->error_indicator = 1;
19890|      0|                    PyErr_NoMemory();
19891|      0|                    PyMem_Free(_children);
19892|      0|                    p->level--;
19893|      0|                    return NULL;
19894|      0|                }
19895|  28.4k|            }
19896|  71.3k|            _children[_n++] = _res;
19897|  71.3k|            _mark = p->mark;
19898|  71.3k|        }
19899|  19.8k|        p->mark = _mark;
19900|  19.8k|        D(fprintf(stderr, "%*c%s _loop0_3[%d-%d]: %s failed!\n", p->level, ' ',
19901|  19.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "';' simple_stmt"));
19902|  19.8k|    }
19903|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
19904|  19.8k|    if (!_seq) {
  ------------------
  |  Branch (19904:9): [True: 0, False: 19.8k]
  ------------------
19905|      0|        p->error_indicator = 1;
19906|      0|        PyErr_NoMemory();
19907|      0|        PyMem_Free(_children);
19908|      0|        p->level--;
19909|      0|        return NULL;
19910|      0|    }
19911|  91.2k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  71.3k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  91.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (19911:28): [True: 71.3k, False: 19.8k]
  ------------------
19912|  19.8k|    PyMem_Free(_children);
19913|  19.8k|    p->level--;
19914|  19.8k|    return _seq;
19915|  19.8k|}
parser.c:parameters_rule:
 4923|  15.9k|{
 4924|  15.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  31.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4924:9): [True: 0, False: 15.9k]
  |  Branch (4924:35): [True: 0, False: 15.9k]
  ------------------
 4925|      0|        _Pypegen_stack_overflow(p);
 4926|      0|    }
 4927|  15.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (4927:9): [True: 0, False: 15.9k]
  ------------------
 4928|      0|        p->level--;
 4929|      0|        return NULL;
 4930|      0|    }
 4931|  15.9k|    arguments_ty _res = NULL;
 4932|  15.9k|    int _mark = p->mark;
 4933|  15.9k|    { // slash_no_default param_no_default* param_with_default* star_etc?
 4934|  15.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (4934:13): [True: 0, False: 15.9k]
  ------------------
 4935|      0|            p->level--;
 4936|      0|            return NULL;
 4937|      0|        }
 4938|  15.9k|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slash_no_default param_no_default* param_with_default* star_etc?"));
 4939|  15.9k|        asdl_arg_seq* a;
 4940|  15.9k|        asdl_arg_seq* b;
 4941|  15.9k|        asdl_seq * c;
 4942|  15.9k|        void *d;
 4943|  15.9k|        if (
 4944|  15.9k|            (a = slash_no_default_rule(p))  // slash_no_default
  ------------------
  |  |  423|  15.9k|#define slash_no_default_rule _PyPegen_slash_no_default_rule
  ------------------
  |  Branch (4944:13): [True: 213, False: 15.7k]
  ------------------
 4945|    213|            &&
 4946|    213|            (b = (asdl_arg_seq*)_loop0_27_rule(p))  // param_no_default*
  ------------------
  |  Branch (4946:13): [True: 213, False: 0]
  ------------------
 4947|    213|            &&
 4948|    213|            (c = _loop0_28_rule(p))  // param_with_default*
  ------------------
  |  Branch (4948:13): [True: 213, False: 0]
  ------------------
 4949|    213|            &&
 4950|    213|            (d = star_etc_rule(p), !p->error_indicator)  // star_etc?
  ------------------
  |  Branch (4950:13): [True: 212, False: 1]
  ------------------
 4951|  15.9k|        )
 4952|    212|        {
 4953|    212|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slash_no_default param_no_default* param_with_default* star_etc?"));
 4954|    212|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , a , NULL , b , c , d ) );
  ------------------
  |  |  354|    212|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 4955|    212|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4955:18): [True: 0, False: 212]
  |  Branch (4955:34): [True: 0, False: 212]
  |  Branch (4955:57): [True: 0, False: 0]
  ------------------
 4956|      0|                p->error_indicator = 1;
 4957|      0|                p->level--;
 4958|      0|                return NULL;
 4959|      0|            }
 4960|    212|            goto done;
 4961|    212|        }
 4962|  15.7k|        p->mark = _mark;
 4963|  15.7k|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 4964|  15.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slash_no_default param_no_default* param_with_default* star_etc?"));
 4965|  15.7k|    }
 4966|      0|    { // slash_with_default param_with_default* star_etc?
 4967|  15.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (4967:13): [True: 11, False: 15.7k]
  ------------------
 4968|     11|            p->level--;
 4969|     11|            return NULL;
 4970|     11|        }
 4971|  15.7k|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slash_with_default param_with_default* star_etc?"));
 4972|  15.7k|        SlashWithDefault* a;
 4973|  15.7k|        asdl_seq * b;
 4974|  15.7k|        void *c;
 4975|  15.7k|        if (
 4976|  15.7k|            (a = slash_with_default_rule(p))  // slash_with_default
  ------------------
  |  |  425|  15.7k|#define slash_with_default_rule _PyPegen_slash_with_default_rule
  ------------------
  |  Branch (4976:13): [True: 513, False: 15.2k]
  ------------------
 4977|    513|            &&
 4978|    513|            (b = _loop0_28_rule(p))  // param_with_default*
  ------------------
  |  Branch (4978:13): [True: 513, False: 0]
  ------------------
 4979|    513|            &&
 4980|    513|            (c = star_etc_rule(p), !p->error_indicator)  // star_etc?
  ------------------
  |  Branch (4980:13): [True: 511, False: 2]
  ------------------
 4981|  15.7k|        )
 4982|    511|        {
 4983|    511|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slash_with_default param_with_default* star_etc?"));
 4984|    511|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , NULL , a , NULL , b , c ) );
  ------------------
  |  |  354|    511|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 4985|    511|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4985:18): [True: 0, False: 511]
  |  Branch (4985:34): [True: 0, False: 511]
  |  Branch (4985:57): [True: 0, False: 0]
  ------------------
 4986|      0|                p->error_indicator = 1;
 4987|      0|                p->level--;
 4988|      0|                return NULL;
 4989|      0|            }
 4990|    511|            goto done;
 4991|    511|        }
 4992|  15.2k|        p->mark = _mark;
 4993|  15.2k|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 4994|  15.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slash_with_default param_with_default* star_etc?"));
 4995|  15.2k|    }
 4996|      0|    { // param_no_default+ param_with_default* star_etc?
 4997|  15.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (4997:13): [True: 17, False: 15.2k]
  ------------------
 4998|     17|            p->level--;
 4999|     17|            return NULL;
 5000|     17|        }
 5001|  15.2k|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default+ param_with_default* star_etc?"));
 5002|  15.2k|        asdl_arg_seq* a;
 5003|  15.2k|        asdl_seq * b;
 5004|  15.2k|        void *c;
 5005|  15.2k|        if (
 5006|  15.2k|            (a = (asdl_arg_seq*)_loop1_29_rule(p))  // param_no_default+
  ------------------
  |  Branch (5006:13): [True: 4.82k, False: 10.3k]
  ------------------
 5007|  4.82k|            &&
 5008|  4.82k|            (b = _loop0_28_rule(p))  // param_with_default*
  ------------------
  |  Branch (5008:13): [True: 4.82k, False: 0]
  ------------------
 5009|  4.82k|            &&
 5010|  4.82k|            (c = star_etc_rule(p), !p->error_indicator)  // star_etc?
  ------------------
  |  Branch (5010:13): [True: 4.81k, False: 8]
  ------------------
 5011|  15.2k|        )
 5012|  4.81k|        {
 5013|  4.81k|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default+ param_with_default* star_etc?"));
 5014|  4.81k|            _res = _PyPegen_make_arguments ( p , NULL , NULL , a , b , c );
 5015|  4.81k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5015:18): [True: 0, False: 4.81k]
  |  Branch (5015:34): [True: 0, False: 4.81k]
  |  Branch (5015:57): [True: 0, False: 0]
  ------------------
 5016|      0|                p->error_indicator = 1;
 5017|      0|                p->level--;
 5018|      0|                return NULL;
 5019|      0|            }
 5020|  4.81k|            goto done;
 5021|  4.81k|        }
 5022|  10.3k|        p->mark = _mark;
 5023|  10.3k|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 5024|  10.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default+ param_with_default* star_etc?"));
 5025|  10.3k|    }
 5026|      0|    { // param_with_default+ star_etc?
 5027|  10.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (5027:13): [True: 8, False: 10.3k]
  ------------------
 5028|      8|            p->level--;
 5029|      8|            return NULL;
 5030|      8|        }
 5031|  10.3k|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_with_default+ star_etc?"));
 5032|  10.3k|        asdl_seq * a;
 5033|  10.3k|        void *b;
 5034|  10.3k|        if (
 5035|  10.3k|            (a = _loop1_30_rule(p))  // param_with_default+
  ------------------
  |  Branch (5035:13): [True: 863, False: 9.52k]
  ------------------
 5036|    863|            &&
 5037|    863|            (b = star_etc_rule(p), !p->error_indicator)  // star_etc?
  ------------------
  |  Branch (5037:13): [True: 861, False: 2]
  ------------------
 5038|  10.3k|        )
 5039|    861|        {
 5040|    861|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_with_default+ star_etc?"));
 5041|    861|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , a , b );
 5042|    861|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5042:18): [True: 0, False: 861]
  |  Branch (5042:34): [True: 0, False: 861]
  |  Branch (5042:57): [True: 0, False: 0]
  ------------------
 5043|      0|                p->error_indicator = 1;
 5044|      0|                p->level--;
 5045|      0|                return NULL;
 5046|      0|            }
 5047|    861|            goto done;
 5048|    861|        }
 5049|  9.53k|        p->mark = _mark;
 5050|  9.53k|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 5051|  9.53k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_with_default+ star_etc?"));
 5052|  9.53k|    }
 5053|      0|    { // star_etc
 5054|  9.53k|        if (p->error_indicator) {
  ------------------
  |  Branch (5054:13): [True: 2, False: 9.52k]
  ------------------
 5055|      2|            p->level--;
 5056|      2|            return NULL;
 5057|      2|        }
 5058|  9.52k|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_etc"));
 5059|  9.52k|        StarEtc* a;
 5060|  9.52k|        if (
 5061|  9.52k|            (a = star_etc_rule(p))  // star_etc
  ------------------
  |  Branch (5061:13): [True: 3.57k, False: 5.95k]
  ------------------
 5062|  9.52k|        )
 5063|  3.57k|        {
 5064|  3.57k|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_etc"));
 5065|  3.57k|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , NULL , a );
 5066|  3.57k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5066:18): [True: 0, False: 3.57k]
  |  Branch (5066:34): [True: 0, False: 3.57k]
  |  Branch (5066:57): [True: 0, False: 0]
  ------------------
 5067|      0|                p->error_indicator = 1;
 5068|      0|                p->level--;
 5069|      0|                return NULL;
 5070|      0|            }
 5071|  3.57k|            goto done;
 5072|  3.57k|        }
 5073|  5.95k|        p->mark = _mark;
 5074|  5.95k|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 5075|  5.95k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_etc"));
 5076|  5.95k|    }
 5077|  5.95k|    _res = NULL;
 5078|  15.9k|  done:
 5079|  15.9k|    p->level--;
 5080|  15.9k|    return _res;
 5081|  5.95k|}
parser.c:_loop0_28_rule:
21271|  5.54k|{
21272|  5.54k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  11.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21272:9): [True: 0, False: 5.54k]
  |  Branch (21272:35): [True: 0, False: 5.54k]
  ------------------
21273|      0|        _Pypegen_stack_overflow(p);
21274|      0|    }
21275|  5.54k|    if (p->error_indicator) {
  ------------------
  |  Branch (21275:9): [True: 0, False: 5.54k]
  ------------------
21276|      0|        p->level--;
21277|      0|        return NULL;
21278|      0|    }
21279|  5.54k|    void *_res = NULL;
21280|  5.54k|    int _mark = p->mark;
21281|  5.54k|    void **_children = NULL;
21282|  5.54k|    Py_ssize_t _children_capacity = 0;
21283|  5.54k|    Py_ssize_t _n = 0;
21284|  5.54k|    { // param_with_default
21285|  5.54k|        if (p->error_indicator) {
  ------------------
  |  Branch (21285:13): [True: 0, False: 5.54k]
  ------------------
21286|      0|            p->level--;
21287|      0|            return NULL;
21288|      0|        }
21289|  5.54k|        D(fprintf(stderr, "%*c> _loop0_28[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_with_default"));
21290|  5.54k|        NameDefaultPair* param_with_default_var;
21291|  5.54k|        while (
21292|  5.86k|            (param_with_default_var = param_with_default_rule(p))  // param_with_default
  ------------------
  |  |  429|  5.86k|#define param_with_default_rule _PyPegen_param_with_default_rule
  ------------------
  |  Branch (21292:13): [True: 314, False: 5.54k]
  ------------------
21293|  5.54k|        )
21294|    314|        {
21295|    314|            _res = param_with_default_var;
21296|    314|            if (_n == _children_capacity) {
  ------------------
  |  Branch (21296:17): [True: 148, False: 166]
  ------------------
21297|    148|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (21297:21): [True: 0, False: 148]
  ------------------
21298|      0|                    p->error_indicator = 1;
21299|      0|                    PyErr_NoMemory();
21300|      0|                    PyMem_Free(_children);
21301|      0|                    p->level--;
21302|      0|                    return NULL;
21303|      0|                }
21304|    148|            }
21305|    314|            _children[_n++] = _res;
21306|    314|            _mark = p->mark;
21307|    314|        }
21308|  5.54k|        p->mark = _mark;
21309|  5.54k|        D(fprintf(stderr, "%*c%s _loop0_28[%d-%d]: %s failed!\n", p->level, ' ',
21310|  5.54k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_with_default"));
21311|  5.54k|    }
21312|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
21313|  5.54k|    if (!_seq) {
  ------------------
  |  Branch (21313:9): [True: 0, False: 5.54k]
  ------------------
21314|      0|        p->error_indicator = 1;
21315|      0|        PyErr_NoMemory();
21316|      0|        PyMem_Free(_children);
21317|      0|        p->level--;
21318|      0|        return NULL;
21319|      0|    }
21320|  5.86k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    314|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  5.86k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (21320:28): [True: 314, False: 5.54k]
  ------------------
21321|  5.54k|    PyMem_Free(_children);
21322|  5.54k|    p->level--;
21323|  5.54k|    return _seq;
21324|  5.54k|}
parser.c:star_etc_rule:
 5255|  15.9k|{
 5256|  15.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  31.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5256:9): [True: 0, False: 15.9k]
  |  Branch (5256:35): [True: 0, False: 15.9k]
  ------------------
 5257|      0|        _Pypegen_stack_overflow(p);
 5258|      0|    }
 5259|  15.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (5259:9): [True: 0, False: 15.9k]
  ------------------
 5260|      0|        p->level--;
 5261|      0|        return NULL;
 5262|      0|    }
 5263|  15.9k|    StarEtc* _res = NULL;
 5264|  15.9k|    int _mark = p->mark;
 5265|  15.9k|    if (p->call_invalid_rules) { // invalid_star_etc
  ------------------
  |  Branch (5265:9): [True: 4.78k, False: 11.1k]
  ------------------
 5266|  4.78k|        if (p->error_indicator) {
  ------------------
  |  Branch (5266:13): [True: 0, False: 4.78k]
  ------------------
 5267|      0|            p->level--;
 5268|      0|            return NULL;
 5269|      0|        }
 5270|  4.78k|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_star_etc"));
 5271|  4.78k|        void *invalid_star_etc_var;
 5272|  4.78k|        if (
 5273|  4.78k|            (invalid_star_etc_var = invalid_star_etc_rule(p))  // invalid_star_etc
  ------------------
  |  |  567|  4.78k|#define invalid_star_etc_rule _PyPegen_invalid_star_etc_rule
  ------------------
  |  Branch (5273:13): [True: 0, False: 4.78k]
  ------------------
 5274|  4.78k|        )
 5275|      0|        {
 5276|      0|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_star_etc"));
 5277|      0|            _res = invalid_star_etc_var;
 5278|      0|            goto done;
 5279|      0|        }
 5280|  4.78k|        p->mark = _mark;
 5281|  4.78k|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5282|  4.78k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_star_etc"));
 5283|  4.78k|    }
 5284|  15.9k|    { // '*' param_no_default param_maybe_default* kwds?
 5285|  15.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (5285:13): [True: 11, False: 15.9k]
  ------------------
 5286|     11|            p->level--;
 5287|     11|            return NULL;
 5288|     11|        }
 5289|  15.9k|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' param_no_default param_maybe_default* kwds?"));
 5290|  15.9k|        Token * _literal;
 5291|  15.9k|        arg_ty a;
 5292|  15.9k|        asdl_seq * b;
 5293|  15.9k|        void *c;
 5294|  15.9k|        if (
 5295|  15.9k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (5295:13): [True: 2.02k, False: 13.9k]
  ------------------
 5296|  2.02k|            &&
 5297|  2.02k|            (a = param_no_default_rule(p))  // param_no_default
  ------------------
  |  |  427|  2.02k|#define param_no_default_rule _PyPegen_param_no_default_rule
  ------------------
  |  Branch (5297:13): [True: 1.23k, False: 788]
  ------------------
 5298|  1.23k|            &&
 5299|  1.23k|            (b = _loop0_31_rule(p))  // param_maybe_default*
  ------------------
  |  Branch (5299:13): [True: 1.23k, False: 0]
  ------------------
 5300|  1.23k|            &&
 5301|  1.23k|            (c = kwds_rule(p), !p->error_indicator)  // kwds?
  ------------------
  |  Branch (5301:13): [True: 1.23k, False: 7]
  ------------------
 5302|  15.9k|        )
 5303|  1.23k|        {
 5304|  1.23k|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' param_no_default param_maybe_default* kwds?"));
 5305|  1.23k|            _res = _PyPegen_star_etc ( p , a , b , c );
 5306|  1.23k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5306:18): [True: 0, False: 1.23k]
  |  Branch (5306:34): [True: 0, False: 1.23k]
  |  Branch (5306:57): [True: 0, False: 0]
  ------------------
 5307|      0|                p->error_indicator = 1;
 5308|      0|                p->level--;
 5309|      0|                return NULL;
 5310|      0|            }
 5311|  1.23k|            goto done;
 5312|  1.23k|        }
 5313|  14.6k|        p->mark = _mark;
 5314|  14.6k|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5315|  14.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' param_no_default param_maybe_default* kwds?"));
 5316|  14.6k|    }
 5317|      0|    { // '*' param_no_default_star_annotation param_maybe_default* kwds?
 5318|  14.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (5318:13): [True: 10, False: 14.6k]
  ------------------
 5319|     10|            p->level--;
 5320|     10|            return NULL;
 5321|     10|        }
 5322|  14.6k|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' param_no_default_star_annotation param_maybe_default* kwds?"));
 5323|  14.6k|        Token * _literal;
 5324|  14.6k|        arg_ty a;
 5325|  14.6k|        asdl_seq * b;
 5326|  14.6k|        void *c;
 5327|  14.6k|        if (
 5328|  14.6k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (5328:13): [True: 785, False: 13.9k]
  ------------------
 5329|    785|            &&
 5330|    785|            (a = param_no_default_star_annotation_rule(p))  // param_no_default_star_annotation
  ------------------
  |  Branch (5330:13): [True: 479, False: 306]
  ------------------
 5331|    479|            &&
 5332|    479|            (b = _loop0_31_rule(p))  // param_maybe_default*
  ------------------
  |  Branch (5332:13): [True: 479, False: 0]
  ------------------
 5333|    479|            &&
 5334|    479|            (c = kwds_rule(p), !p->error_indicator)  // kwds?
  ------------------
  |  Branch (5334:13): [True: 477, False: 2]
  ------------------
 5335|  14.6k|        )
 5336|    477|        {
 5337|    477|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' param_no_default_star_annotation param_maybe_default* kwds?"));
 5338|    477|            _res = _PyPegen_star_etc ( p , a , b , c );
 5339|    477|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5339:18): [True: 0, False: 477]
  |  Branch (5339:34): [True: 0, False: 477]
  |  Branch (5339:57): [True: 0, False: 0]
  ------------------
 5340|      0|                p->error_indicator = 1;
 5341|      0|                p->level--;
 5342|      0|                return NULL;
 5343|      0|            }
 5344|    477|            goto done;
 5345|    477|        }
 5346|  14.2k|        p->mark = _mark;
 5347|  14.2k|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5348|  14.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' param_no_default_star_annotation param_maybe_default* kwds?"));
 5349|  14.2k|    }
 5350|      0|    { // '*' ',' param_maybe_default+ kwds?
 5351|  14.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (5351:13): [True: 4, False: 14.2k]
  ------------------
 5352|      4|            p->level--;
 5353|      4|            return NULL;
 5354|      4|        }
 5355|  14.2k|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' ',' param_maybe_default+ kwds?"));
 5356|  14.2k|        Token * _literal;
 5357|  14.2k|        Token * _literal_1;
 5358|  14.2k|        asdl_seq * b;
 5359|  14.2k|        void *c;
 5360|  14.2k|        if (
 5361|  14.2k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (5361:13): [True: 304, False: 13.9k]
  ------------------
 5362|    304|            &&
 5363|    304|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5363:13): [True: 241, False: 63]
  ------------------
 5364|    241|            &&
 5365|    241|            (b = _loop1_32_rule(p))  // param_maybe_default+
  ------------------
  |  Branch (5365:13): [True: 205, False: 36]
  ------------------
 5366|    205|            &&
 5367|    205|            (c = kwds_rule(p), !p->error_indicator)  // kwds?
  ------------------
  |  Branch (5367:13): [True: 204, False: 1]
  ------------------
 5368|  14.2k|        )
 5369|    204|        {
 5370|    204|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' ',' param_maybe_default+ kwds?"));
 5371|    204|            _res = _PyPegen_star_etc ( p , NULL , b , c );
 5372|    204|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5372:18): [True: 0, False: 204]
  |  Branch (5372:34): [True: 0, False: 204]
  |  Branch (5372:57): [True: 0, False: 0]
  ------------------
 5373|      0|                p->error_indicator = 1;
 5374|      0|                p->level--;
 5375|      0|                return NULL;
 5376|      0|            }
 5377|    204|            goto done;
 5378|    204|        }
 5379|  14.0k|        p->mark = _mark;
 5380|  14.0k|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5381|  14.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' ',' param_maybe_default+ kwds?"));
 5382|  14.0k|    }
 5383|      0|    { // kwds
 5384|  14.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (5384:13): [True: 7, False: 13.9k]
  ------------------
 5385|      7|            p->level--;
 5386|      7|            return NULL;
 5387|      7|        }
 5388|  13.9k|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwds"));
 5389|  13.9k|        arg_ty a;
 5390|  13.9k|        if (
 5391|  13.9k|            (a = kwds_rule(p))  // kwds
  ------------------
  |  Branch (5391:13): [True: 2.03k, False: 11.9k]
  ------------------
 5392|  13.9k|        )
 5393|  2.03k|        {
 5394|  2.03k|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwds"));
 5395|  2.03k|            _res = _PyPegen_star_etc ( p , NULL , NULL , a );
 5396|  2.03k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5396:18): [True: 0, False: 2.03k]
  |  Branch (5396:34): [True: 0, False: 2.03k]
  |  Branch (5396:57): [True: 0, False: 0]
  ------------------
 5397|      0|                p->error_indicator = 1;
 5398|      0|                p->level--;
 5399|      0|                return NULL;
 5400|      0|            }
 5401|  2.03k|            goto done;
 5402|  2.03k|        }
 5403|  11.9k|        p->mark = _mark;
 5404|  11.9k|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5405|  11.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwds"));
 5406|  11.9k|    }
 5407|  11.9k|    _res = NULL;
 5408|  15.9k|  done:
 5409|  15.9k|    p->level--;
 5410|  15.9k|    return _res;
 5411|  11.9k|}
parser.c:_loop0_31_rule:
21455|  1.71k|{
21456|  1.71k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.43k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21456:9): [True: 0, False: 1.71k]
  |  Branch (21456:35): [True: 0, False: 1.71k]
  ------------------
21457|      0|        _Pypegen_stack_overflow(p);
21458|      0|    }
21459|  1.71k|    if (p->error_indicator) {
  ------------------
  |  Branch (21459:9): [True: 0, False: 1.71k]
  ------------------
21460|      0|        p->level--;
21461|      0|        return NULL;
21462|      0|    }
21463|  1.71k|    void *_res = NULL;
21464|  1.71k|    int _mark = p->mark;
21465|  1.71k|    void **_children = NULL;
21466|  1.71k|    Py_ssize_t _children_capacity = 0;
21467|  1.71k|    Py_ssize_t _n = 0;
21468|  1.71k|    { // param_maybe_default
21469|  1.71k|        if (p->error_indicator) {
  ------------------
  |  Branch (21469:13): [True: 0, False: 1.71k]
  ------------------
21470|      0|            p->level--;
21471|      0|            return NULL;
21472|      0|        }
21473|  1.71k|        D(fprintf(stderr, "%*c> _loop0_31[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_maybe_default"));
21474|  1.71k|        NameDefaultPair* param_maybe_default_var;
21475|  1.71k|        while (
21476|  5.15k|            (param_maybe_default_var = param_maybe_default_rule(p))  // param_maybe_default
  ------------------
  |  |  431|  5.15k|#define param_maybe_default_rule _PyPegen_param_maybe_default_rule
  ------------------
  |  Branch (21476:13): [True: 3.43k, False: 1.71k]
  ------------------
21477|  1.71k|        )
21478|  3.43k|        {
21479|  3.43k|            _res = param_maybe_default_var;
21480|  3.43k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (21480:17): [True: 1.76k, False: 1.66k]
  ------------------
21481|  1.76k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (21481:21): [True: 0, False: 1.76k]
  ------------------
21482|      0|                    p->error_indicator = 1;
21483|      0|                    PyErr_NoMemory();
21484|      0|                    PyMem_Free(_children);
21485|      0|                    p->level--;
21486|      0|                    return NULL;
21487|      0|                }
21488|  1.76k|            }
21489|  3.43k|            _children[_n++] = _res;
21490|  3.43k|            _mark = p->mark;
21491|  3.43k|        }
21492|  1.71k|        p->mark = _mark;
21493|  1.71k|        D(fprintf(stderr, "%*c%s _loop0_31[%d-%d]: %s failed!\n", p->level, ' ',
21494|  1.71k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_maybe_default"));
21495|  1.71k|    }
21496|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
21497|  1.71k|    if (!_seq) {
  ------------------
  |  Branch (21497:9): [True: 0, False: 1.71k]
  ------------------
21498|      0|        p->error_indicator = 1;
21499|      0|        PyErr_NoMemory();
21500|      0|        PyMem_Free(_children);
21501|      0|        p->level--;
21502|      0|        return NULL;
21503|      0|    }
21504|  5.15k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  3.43k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  5.15k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (21504:28): [True: 3.43k, False: 1.71k]
  ------------------
21505|  1.71k|    PyMem_Free(_children);
21506|  1.71k|    p->level--;
21507|  1.71k|    return _seq;
21508|  1.71k|}
parser.c:kwds_rule:
 5416|  15.9k|{
 5417|  15.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  31.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5417:9): [True: 0, False: 15.9k]
  |  Branch (5417:35): [True: 0, False: 15.9k]
  ------------------
 5418|      0|        _Pypegen_stack_overflow(p);
 5419|      0|    }
 5420|  15.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (5420:9): [True: 7, False: 15.9k]
  ------------------
 5421|      7|        p->level--;
 5422|      7|        return NULL;
 5423|      7|    }
 5424|  15.9k|    arg_ty _res = NULL;
 5425|  15.9k|    int _mark = p->mark;
 5426|  15.9k|    if (p->call_invalid_rules) { // invalid_kwds
  ------------------
  |  Branch (5426:9): [True: 4.77k, False: 11.1k]
  ------------------
 5427|  4.77k|        if (p->error_indicator) {
  ------------------
  |  Branch (5427:13): [True: 0, False: 4.77k]
  ------------------
 5428|      0|            p->level--;
 5429|      0|            return NULL;
 5430|      0|        }
 5431|  4.77k|        D(fprintf(stderr, "%*c> kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kwds"));
 5432|  4.77k|        void *invalid_kwds_var;
 5433|  4.77k|        if (
 5434|  4.77k|            (invalid_kwds_var = invalid_kwds_rule(p))  // invalid_kwds
  ------------------
  |  |  569|  4.77k|#define invalid_kwds_rule _PyPegen_invalid_kwds_rule
  ------------------
  |  Branch (5434:13): [True: 0, False: 4.77k]
  ------------------
 5435|  4.77k|        )
 5436|      0|        {
 5437|      0|            D(fprintf(stderr, "%*c+ kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kwds"));
 5438|      0|            _res = invalid_kwds_var;
 5439|      0|            goto done;
 5440|      0|        }
 5441|  4.77k|        p->mark = _mark;
 5442|  4.77k|        D(fprintf(stderr, "%*c%s kwds[%d-%d]: %s failed!\n", p->level, ' ',
 5443|  4.77k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kwds"));
 5444|  4.77k|    }
 5445|  15.9k|    { // '**' param_no_default
 5446|  15.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (5446:13): [True: 5, False: 15.9k]
  ------------------
 5447|      5|            p->level--;
 5448|      5|            return NULL;
 5449|      5|        }
 5450|  15.9k|        D(fprintf(stderr, "%*c> kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' param_no_default"));
 5451|  15.9k|        Token * _literal;
 5452|  15.9k|        arg_ty a;
 5453|  15.9k|        if (
 5454|  15.9k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (5454:13): [True: 2.07k, False: 13.8k]
  ------------------
 5455|  2.07k|            &&
 5456|  2.07k|            (a = param_no_default_rule(p))  // param_no_default
  ------------------
  |  |  427|  2.07k|#define param_no_default_rule _PyPegen_param_no_default_rule
  ------------------
  |  Branch (5456:13): [True: 2.03k, False: 35]
  ------------------
 5457|  15.9k|        )
 5458|  2.03k|        {
 5459|  2.03k|            D(fprintf(stderr, "%*c+ kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' param_no_default"));
 5460|  2.03k|            _res = a;
 5461|  2.03k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5461:18): [True: 0, False: 2.03k]
  |  Branch (5461:34): [True: 0, False: 2.03k]
  |  Branch (5461:57): [True: 0, False: 0]
  ------------------
 5462|      0|                p->error_indicator = 1;
 5463|      0|                p->level--;
 5464|      0|                return NULL;
 5465|      0|            }
 5466|  2.03k|            goto done;
 5467|  2.03k|        }
 5468|  13.8k|        p->mark = _mark;
 5469|  13.8k|        D(fprintf(stderr, "%*c%s kwds[%d-%d]: %s failed!\n", p->level, ' ',
 5470|  13.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' param_no_default"));
 5471|  13.8k|    }
 5472|  13.8k|    _res = NULL;
 5473|  15.9k|  done:
 5474|  15.9k|    p->level--;
 5475|  15.9k|    return _res;
 5476|  13.8k|}
parser.c:param_no_default_star_annotation_rule:
 5561|    785|{
 5562|    785|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.57k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5562:9): [True: 0, False: 785]
  |  Branch (5562:35): [True: 0, False: 785]
  ------------------
 5563|      0|        _Pypegen_stack_overflow(p);
 5564|      0|    }
 5565|    785|    if (p->error_indicator) {
  ------------------
  |  Branch (5565:9): [True: 0, False: 785]
  ------------------
 5566|      0|        p->level--;
 5567|      0|        return NULL;
 5568|      0|    }
 5569|    785|    arg_ty _res = NULL;
 5570|    785|    int _mark = p->mark;
 5571|    785|    { // param_star_annotation ',' TYPE_COMMENT?
 5572|    785|        if (p->error_indicator) {
  ------------------
  |  Branch (5572:13): [True: 0, False: 785]
  ------------------
 5573|      0|            p->level--;
 5574|      0|            return NULL;
 5575|      0|        }
 5576|    785|        D(fprintf(stderr, "%*c> param_no_default_star_annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_star_annotation ',' TYPE_COMMENT?"));
 5577|    785|        Token * _literal;
 5578|    785|        arg_ty a;
 5579|    785|        void *tc;
 5580|    785|        if (
 5581|    785|            (a = param_star_annotation_rule(p))  // param_star_annotation
  ------------------
  |  Branch (5581:13): [True: 496, False: 289]
  ------------------
 5582|    496|            &&
 5583|    496|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5583:13): [True: 61, False: 435]
  ------------------
 5584|     61|            &&
 5585|     61|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|     61|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5585:13): [True: 61, False: 0]
  ------------------
 5586|    785|        )
 5587|     61|        {
 5588|     61|            D(fprintf(stderr, "%*c+ param_no_default_star_annotation[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_star_annotation ',' TYPE_COMMENT?"));
 5589|     61|            _res = _PyPegen_add_type_comment_to_arg ( p , a , tc );
 5590|     61|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5590:18): [True: 0, False: 61]
  |  Branch (5590:34): [True: 0, False: 61]
  |  Branch (5590:57): [True: 0, False: 0]
  ------------------
 5591|      0|                p->error_indicator = 1;
 5592|      0|                p->level--;
 5593|      0|                return NULL;
 5594|      0|            }
 5595|     61|            goto done;
 5596|     61|        }
 5597|    724|        p->mark = _mark;
 5598|    724|        D(fprintf(stderr, "%*c%s param_no_default_star_annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5599|    724|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_star_annotation ',' TYPE_COMMENT?"));
 5600|    724|    }
 5601|      0|    { // param_star_annotation TYPE_COMMENT? &')'
 5602|    724|        if (p->error_indicator) {
  ------------------
  |  Branch (5602:13): [True: 2, False: 722]
  ------------------
 5603|      2|            p->level--;
 5604|      2|            return NULL;
 5605|      2|        }
 5606|    722|        D(fprintf(stderr, "%*c> param_no_default_star_annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_star_annotation TYPE_COMMENT? &')'"));
 5607|    722|        arg_ty a;
 5608|    722|        void *tc;
 5609|    722|        if (
 5610|    722|            (a = param_star_annotation_rule(p))  // param_star_annotation
  ------------------
  |  Branch (5610:13): [True: 435, False: 287]
  ------------------
 5611|    435|            &&
 5612|    435|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|    435|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5612:13): [True: 435, False: 0]
  ------------------
 5613|    435|            &&
 5614|    435|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5614:13): [True: 418, False: 17]
  ------------------
 5615|    722|        )
 5616|    418|        {
 5617|    418|            D(fprintf(stderr, "%*c+ param_no_default_star_annotation[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_star_annotation TYPE_COMMENT? &')'"));
 5618|    418|            _res = _PyPegen_add_type_comment_to_arg ( p , a , tc );
 5619|    418|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5619:18): [True: 0, False: 418]
  |  Branch (5619:34): [True: 0, False: 418]
  |  Branch (5619:57): [True: 0, False: 0]
  ------------------
 5620|      0|                p->error_indicator = 1;
 5621|      0|                p->level--;
 5622|      0|                return NULL;
 5623|      0|            }
 5624|    418|            goto done;
 5625|    418|        }
 5626|    304|        p->mark = _mark;
 5627|    304|        D(fprintf(stderr, "%*c%s param_no_default_star_annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5628|    304|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_star_annotation TYPE_COMMENT? &')'"));
 5629|    304|    }
 5630|    304|    _res = NULL;
 5631|    783|  done:
 5632|    783|    p->level--;
 5633|    783|    return _res;
 5634|    304|}
parser.c:param_star_annotation_rule:
 5873|  1.50k|{
 5874|  1.50k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.01k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5874:9): [True: 0, False: 1.50k]
  |  Branch (5874:35): [True: 0, False: 1.50k]
  ------------------
 5875|      0|        _Pypegen_stack_overflow(p);
 5876|      0|    }
 5877|  1.50k|    if (p->error_indicator) {
  ------------------
  |  Branch (5877:9): [True: 0, False: 1.50k]
  ------------------
 5878|      0|        p->level--;
 5879|      0|        return NULL;
 5880|      0|    }
 5881|  1.50k|    arg_ty _res = NULL;
 5882|  1.50k|    int _mark = p->mark;
 5883|  1.50k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (5883:9): [True: 0, False: 1.50k]
  |  Branch (5883:31): [True: 0, False: 0]
  ------------------
 5884|      0|        p->error_indicator = 1;
 5885|      0|        p->level--;
 5886|      0|        return NULL;
 5887|      0|    }
 5888|  1.50k|    int _start_lineno = p->tokens[_mark]->lineno;
 5889|  1.50k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.50k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.50k]
  |  |  ------------------
  ------------------
 5890|  1.50k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 5891|  1.50k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.50k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.50k]
  |  |  ------------------
  ------------------
 5892|  1.50k|    { // NAME star_annotation
 5893|  1.50k|        if (p->error_indicator) {
  ------------------
  |  Branch (5893:13): [True: 0, False: 1.50k]
  ------------------
 5894|      0|            p->level--;
 5895|      0|            return NULL;
 5896|      0|        }
 5897|  1.50k|        D(fprintf(stderr, "%*c> param_star_annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME star_annotation"));
 5898|  1.50k|        expr_ty a;
 5899|  1.50k|        expr_ty b;
 5900|  1.50k|        if (
 5901|  1.50k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (5901:13): [True: 977, False: 530]
  ------------------
 5902|    977|            &&
 5903|    977|            (b = star_annotation_rule(p))  // star_annotation
  ------------------
  |  Branch (5903:13): [True: 931, False: 46]
  ------------------
 5904|  1.50k|        )
 5905|    931|        {
 5906|    931|            D(fprintf(stderr, "%*c+ param_star_annotation[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME star_annotation"));
 5907|    931|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 5908|    931|            if (_token == NULL) {
  ------------------
  |  Branch (5908:17): [True: 0, False: 931]
  ------------------
 5909|      0|                p->level--;
 5910|      0|                return NULL;
 5911|      0|            }
 5912|    931|            int _end_lineno = _token->end_lineno;
 5913|    931|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    931|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 931]
  |  |  ------------------
  ------------------
 5914|    931|            int _end_col_offset = _token->end_col_offset;
 5915|    931|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    931|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 931]
  |  |  ------------------
  ------------------
 5916|    931|            _res = _PyAST_arg ( a -> v . Name . id , b , NULL , EXTRA );
  ------------------
  |  |  316|    931|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 5917|    931|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5917:18): [True: 0, False: 931]
  |  Branch (5917:34): [True: 0, False: 931]
  |  Branch (5917:57): [True: 0, False: 0]
  ------------------
 5918|      0|                p->error_indicator = 1;
 5919|      0|                p->level--;
 5920|      0|                return NULL;
 5921|      0|            }
 5922|    931|            goto done;
 5923|    931|        }
 5924|    576|        p->mark = _mark;
 5925|    576|        D(fprintf(stderr, "%*c%s param_star_annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5926|    576|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME star_annotation"));
 5927|    576|    }
 5928|    576|    _res = NULL;
 5929|  1.50k|  done:
 5930|  1.50k|    p->level--;
 5931|  1.50k|    return _res;
 5932|    576|}
parser.c:star_annotation_rule:
 5983|    977|{
 5984|    977|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.95k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5984:9): [True: 0, False: 977]
  |  Branch (5984:35): [True: 0, False: 977]
  ------------------
 5985|      0|        _Pypegen_stack_overflow(p);
 5986|      0|    }
 5987|    977|    if (p->error_indicator) {
  ------------------
  |  Branch (5987:9): [True: 0, False: 977]
  ------------------
 5988|      0|        p->level--;
 5989|      0|        return NULL;
 5990|      0|    }
 5991|    977|    expr_ty _res = NULL;
 5992|    977|    int _mark = p->mark;
 5993|    977|    { // ':' star_expression
 5994|    977|        if (p->error_indicator) {
  ------------------
  |  Branch (5994:13): [True: 0, False: 977]
  ------------------
 5995|      0|            p->level--;
 5996|      0|            return NULL;
 5997|      0|        }
 5998|    977|        D(fprintf(stderr, "%*c> star_annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' star_expression"));
 5999|    977|        Token * _literal;
 6000|    977|        expr_ty a;
 6001|    977|        if (
 6002|    977|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6002:13): [True: 943, False: 34]
  ------------------
 6003|    943|            &&
 6004|    943|            (a = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (6004:13): [True: 931, False: 12]
  ------------------
 6005|    977|        )
 6006|    931|        {
 6007|    931|            D(fprintf(stderr, "%*c+ star_annotation[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' star_expression"));
 6008|    931|            _res = a;
 6009|    931|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6009:18): [True: 0, False: 931]
  |  Branch (6009:34): [True: 0, False: 931]
  |  Branch (6009:57): [True: 0, False: 0]
  ------------------
 6010|      0|                p->error_indicator = 1;
 6011|      0|                p->level--;
 6012|      0|                return NULL;
 6013|      0|            }
 6014|    931|            goto done;
 6015|    931|        }
 6016|     46|        p->mark = _mark;
 6017|     46|        D(fprintf(stderr, "%*c%s star_annotation[%d-%d]: %s failed!\n", p->level, ' ',
 6018|     46|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' star_expression"));
 6019|     46|    }
 6020|     46|    _res = NULL;
 6021|    977|  done:
 6022|    977|    p->level--;
 6023|    977|    return _res;
 6024|     46|}
parser.c:_loop1_32_rule:
21513|    241|{
21514|    241|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    482|#  define MAXSTACK 6000
  ------------------
  |  Branch (21514:9): [True: 0, False: 241]
  |  Branch (21514:35): [True: 0, False: 241]
  ------------------
21515|      0|        _Pypegen_stack_overflow(p);
21516|      0|    }
21517|    241|    if (p->error_indicator) {
  ------------------
  |  Branch (21517:9): [True: 0, False: 241]
  ------------------
21518|      0|        p->level--;
21519|      0|        return NULL;
21520|      0|    }
21521|    241|    void *_res = NULL;
21522|    241|    int _mark = p->mark;
21523|    241|    void **_children = NULL;
21524|    241|    Py_ssize_t _children_capacity = 0;
21525|    241|    Py_ssize_t _n = 0;
21526|    241|    { // param_maybe_default
21527|    241|        if (p->error_indicator) {
  ------------------
  |  Branch (21527:13): [True: 0, False: 241]
  ------------------
21528|      0|            p->level--;
21529|      0|            return NULL;
21530|      0|        }
21531|    241|        D(fprintf(stderr, "%*c> _loop1_32[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_maybe_default"));
21532|    241|        NameDefaultPair* param_maybe_default_var;
21533|    241|        while (
21534|    850|            (param_maybe_default_var = param_maybe_default_rule(p))  // param_maybe_default
  ------------------
  |  |  431|    850|#define param_maybe_default_rule _PyPegen_param_maybe_default_rule
  ------------------
  |  Branch (21534:13): [True: 609, False: 241]
  ------------------
21535|    241|        )
21536|    609|        {
21537|    609|            _res = param_maybe_default_var;
21538|    609|            if (_n == _children_capacity) {
  ------------------
  |  Branch (21538:17): [True: 321, False: 288]
  ------------------
21539|    321|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (21539:21): [True: 0, False: 321]
  ------------------
21540|      0|                    p->error_indicator = 1;
21541|      0|                    PyErr_NoMemory();
21542|      0|                    PyMem_Free(_children);
21543|      0|                    p->level--;
21544|      0|                    return NULL;
21545|      0|                }
21546|    321|            }
21547|    609|            _children[_n++] = _res;
21548|    609|            _mark = p->mark;
21549|    609|        }
21550|    241|        p->mark = _mark;
21551|    241|        D(fprintf(stderr, "%*c%s _loop1_32[%d-%d]: %s failed!\n", p->level, ' ',
21552|    241|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_maybe_default"));
21553|    241|    }
21554|    241|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (21554:9): [True: 33, False: 208]
  |  Branch (21554:20): [True: 3, False: 205]
  ------------------
21555|     36|        PyMem_Free(_children);
21556|     36|        p->level--;
21557|     36|        return NULL;
21558|     36|    }
21559|    205|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
21560|    205|    if (!_seq) {
  ------------------
  |  Branch (21560:9): [True: 0, False: 205]
  ------------------
21561|      0|        p->error_indicator = 1;
21562|      0|        PyErr_NoMemory();
21563|      0|        PyMem_Free(_children);
21564|      0|        p->level--;
21565|      0|        return NULL;
21566|      0|    }
21567|    807|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    602|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|    807|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (21567:28): [True: 602, False: 205]
  ------------------
21568|    205|    PyMem_Free(_children);
21569|    205|    p->level--;
21570|    205|    return _seq;
21571|    205|}
parser.c:annotation_rule:
 5937|   172k|{
 5938|   172k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   344k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5938:9): [True: 0, False: 172k]
  |  Branch (5938:35): [True: 0, False: 172k]
  ------------------
 5939|      0|        _Pypegen_stack_overflow(p);
 5940|      0|    }
 5941|   172k|    if (p->error_indicator) {
  ------------------
  |  Branch (5941:9): [True: 0, False: 172k]
  ------------------
 5942|      0|        p->level--;
 5943|      0|        return NULL;
 5944|      0|    }
 5945|   172k|    expr_ty _res = NULL;
 5946|   172k|    int _mark = p->mark;
 5947|   172k|    { // ':' expression
 5948|   172k|        if (p->error_indicator) {
  ------------------
  |  Branch (5948:13): [True: 0, False: 172k]
  ------------------
 5949|      0|            p->level--;
 5950|      0|            return NULL;
 5951|      0|        }
 5952|   172k|        D(fprintf(stderr, "%*c> annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' expression"));
 5953|   172k|        Token * _literal;
 5954|   172k|        expr_ty a;
 5955|   172k|        if (
 5956|   172k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5956:13): [True: 27.9k, False: 144k]
  ------------------
 5957|  27.9k|            &&
 5958|  27.9k|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|  27.9k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (5958:13): [True: 25.3k, False: 2.56k]
  ------------------
 5959|   172k|        )
 5960|  25.3k|        {
 5961|  25.3k|            D(fprintf(stderr, "%*c+ annotation[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' expression"));
 5962|  25.3k|            _res = a;
 5963|  25.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5963:18): [True: 0, False: 25.3k]
  |  Branch (5963:34): [True: 0, False: 25.3k]
  |  Branch (5963:57): [True: 0, False: 0]
  ------------------
 5964|      0|                p->error_indicator = 1;
 5965|      0|                p->level--;
 5966|      0|                return NULL;
 5967|      0|            }
 5968|  25.3k|            goto done;
 5969|  25.3k|        }
 5970|   146k|        p->mark = _mark;
 5971|   146k|        D(fprintf(stderr, "%*c%s annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5972|   146k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' expression"));
 5973|   146k|    }
 5974|   146k|    _res = NULL;
 5975|   172k|  done:
 5976|   172k|    p->level--;
 5977|   172k|    return _res;
 5978|   146k|}
parser.c:default_rule:
 6029|   198k|{
 6030|   198k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   397k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6030:9): [True: 0, False: 198k]
  |  Branch (6030:35): [True: 0, False: 198k]
  ------------------
 6031|      0|        _Pypegen_stack_overflow(p);
 6032|      0|    }
 6033|   198k|    if (p->error_indicator) {
  ------------------
  |  Branch (6033:9): [True: 0, False: 198k]
  ------------------
 6034|      0|        p->level--;
 6035|      0|        return NULL;
 6036|      0|    }
 6037|   198k|    expr_ty _res = NULL;
 6038|   198k|    int _mark = p->mark;
 6039|   198k|    { // '=' expression
 6040|   198k|        if (p->error_indicator) {
  ------------------
  |  Branch (6040:13): [True: 0, False: 198k]
  ------------------
 6041|      0|            p->level--;
 6042|      0|            return NULL;
 6043|      0|        }
 6044|   198k|        D(fprintf(stderr, "%*c> default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' expression"));
 6045|   198k|        Token * _literal;
 6046|   198k|        expr_ty a;
 6047|   198k|        if (
 6048|   198k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (6048:13): [True: 139k, False: 59.1k]
  ------------------
 6049|   139k|            &&
 6050|   139k|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|   139k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6050:13): [True: 109k, False: 29.7k]
  ------------------
 6051|   198k|        )
 6052|   109k|        {
 6053|   109k|            D(fprintf(stderr, "%*c+ default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'=' expression"));
 6054|   109k|            _res = a;
 6055|   109k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6055:18): [True: 0, False: 109k]
  |  Branch (6055:34): [True: 0, False: 109k]
  |  Branch (6055:57): [True: 0, False: 0]
  ------------------
 6056|      0|                p->error_indicator = 1;
 6057|      0|                p->level--;
 6058|      0|                return NULL;
 6059|      0|            }
 6060|   109k|            goto done;
 6061|   109k|        }
 6062|  88.9k|        p->mark = _mark;
 6063|  88.9k|        D(fprintf(stderr, "%*c%s default[%d-%d]: %s failed!\n", p->level, ' ',
 6064|  88.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' expression"));
 6065|  88.9k|    }
 6066|  88.9k|    if (p->call_invalid_rules) { // invalid_default
  ------------------
  |  Branch (6066:9): [True: 72.2k, False: 16.6k]
  ------------------
 6067|  72.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (6067:13): [True: 441, False: 71.8k]
  ------------------
 6068|    441|            p->level--;
 6069|    441|            return NULL;
 6070|    441|        }
 6071|  71.8k|        D(fprintf(stderr, "%*c> default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_default"));
 6072|  71.8k|        void *invalid_default_var;
 6073|  71.8k|        if (
 6074|  71.8k|            (invalid_default_var = invalid_default_rule(p))  // invalid_default
  ------------------
  |  |  565|  71.8k|#define invalid_default_rule _PyPegen_invalid_default_rule
  ------------------
  |  Branch (6074:13): [True: 0, False: 71.8k]
  ------------------
 6075|  71.8k|        )
 6076|      0|        {
 6077|      0|            D(fprintf(stderr, "%*c+ default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_default"));
 6078|      0|            _res = invalid_default_var;
 6079|      0|            goto done;
 6080|      0|        }
 6081|  71.8k|        p->mark = _mark;
 6082|  71.8k|        D(fprintf(stderr, "%*c%s default[%d-%d]: %s failed!\n", p->level, ' ',
 6083|  71.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_default"));
 6084|  71.8k|    }
 6085|  88.4k|    _res = NULL;
 6086|   198k|  done:
 6087|   198k|    p->level--;
 6088|   198k|    return _res;
 6089|  88.4k|}
parser.c:pattern_rule:
 8199|  93.9k|{
 8200|  93.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   187k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8200:9): [True: 0, False: 93.9k]
  |  Branch (8200:35): [True: 0, False: 93.9k]
  ------------------
 8201|      0|        _Pypegen_stack_overflow(p);
 8202|      0|    }
 8203|  93.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (8203:9): [True: 0, False: 93.9k]
  ------------------
 8204|      0|        p->level--;
 8205|      0|        return NULL;
 8206|      0|    }
 8207|  93.9k|    pattern_ty _res = NULL;
 8208|  93.9k|    int _mark = p->mark;
 8209|  93.9k|    { // as_pattern
 8210|  93.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (8210:13): [True: 0, False: 93.9k]
  ------------------
 8211|      0|            p->level--;
 8212|      0|            return NULL;
 8213|      0|        }
 8214|  93.9k|        D(fprintf(stderr, "%*c> pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "as_pattern"));
 8215|  93.9k|        pattern_ty as_pattern_var;
 8216|  93.9k|        if (
 8217|  93.9k|            (as_pattern_var = as_pattern_rule(p))  // as_pattern
  ------------------
  |  Branch (8217:13): [True: 314, False: 93.6k]
  ------------------
 8218|  93.9k|        )
 8219|    314|        {
 8220|    314|            D(fprintf(stderr, "%*c+ pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "as_pattern"));
 8221|    314|            _res = as_pattern_var;
 8222|    314|            goto done;
 8223|    314|        }
 8224|  93.6k|        p->mark = _mark;
 8225|  93.6k|        D(fprintf(stderr, "%*c%s pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8226|  93.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "as_pattern"));
 8227|  93.6k|    }
 8228|      0|    { // or_pattern
 8229|  93.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (8229:13): [True: 3.30k, False: 90.3k]
  ------------------
 8230|  3.30k|            p->level--;
 8231|  3.30k|            return NULL;
 8232|  3.30k|        }
 8233|  90.3k|        D(fprintf(stderr, "%*c> pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "or_pattern"));
 8234|  90.3k|        pattern_ty or_pattern_var;
 8235|  90.3k|        if (
 8236|  90.3k|            (or_pattern_var = or_pattern_rule(p))  // or_pattern
  ------------------
  |  |  445|  90.3k|#define or_pattern_rule _PyPegen_or_pattern_rule
  ------------------
  |  Branch (8236:13): [True: 69.6k, False: 20.6k]
  ------------------
 8237|  90.3k|        )
 8238|  69.6k|        {
 8239|  69.6k|            D(fprintf(stderr, "%*c+ pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "or_pattern"));
 8240|  69.6k|            _res = or_pattern_var;
 8241|  69.6k|            goto done;
 8242|  69.6k|        }
 8243|  20.6k|        p->mark = _mark;
 8244|  20.6k|        D(fprintf(stderr, "%*c%s pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8245|  20.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "or_pattern"));
 8246|  20.6k|    }
 8247|  20.6k|    _res = NULL;
 8248|  90.6k|  done:
 8249|  90.6k|    p->level--;
 8250|  90.6k|    return _res;
 8251|  20.6k|}
parser.c:as_pattern_rule:
 8256|  93.9k|{
 8257|  93.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   187k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8257:9): [True: 0, False: 93.9k]
  |  Branch (8257:35): [True: 0, False: 93.9k]
  ------------------
 8258|      0|        _Pypegen_stack_overflow(p);
 8259|      0|    }
 8260|  93.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (8260:9): [True: 0, False: 93.9k]
  ------------------
 8261|      0|        p->level--;
 8262|      0|        return NULL;
 8263|      0|    }
 8264|  93.9k|    pattern_ty _res = NULL;
 8265|  93.9k|    int _mark = p->mark;
 8266|  93.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (8266:9): [True: 17.1k, False: 76.8k]
  |  Branch (8266:31): [True: 34, False: 17.0k]
  ------------------
 8267|     34|        p->error_indicator = 1;
 8268|     34|        p->level--;
 8269|     34|        return NULL;
 8270|     34|    }
 8271|  93.8k|    int _start_lineno = p->tokens[_mark]->lineno;
 8272|  93.8k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  93.8k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 93.8k]
  |  |  ------------------
  ------------------
 8273|  93.8k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 8274|  93.8k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  93.8k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 93.8k]
  |  |  ------------------
  ------------------
 8275|  93.8k|    { // or_pattern 'as' pattern_capture_target
 8276|  93.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (8276:13): [True: 0, False: 93.8k]
  ------------------
 8277|      0|            p->level--;
 8278|      0|            return NULL;
 8279|      0|        }
 8280|  93.8k|        D(fprintf(stderr, "%*c> as_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "or_pattern 'as' pattern_capture_target"));
 8281|  93.8k|        Token * _keyword;
 8282|  93.8k|        pattern_ty pattern;
 8283|  93.8k|        expr_ty target;
 8284|  93.8k|        if (
 8285|  93.8k|            (pattern = or_pattern_rule(p))  // or_pattern
  ------------------
  |  |  445|  93.8k|#define or_pattern_rule _PyPegen_or_pattern_rule
  ------------------
  |  Branch (8285:13): [True: 70.0k, False: 23.8k]
  ------------------
 8286|  70.0k|            &&
 8287|  70.0k|            (_keyword = _PyPegen_expect_token(p, 520))  // token='as'
  ------------------
  |  Branch (8287:13): [True: 331, False: 69.7k]
  ------------------
 8288|    331|            &&
 8289|    331|            (target = pattern_capture_target_rule(p))  // pattern_capture_target
  ------------------
  |  Branch (8289:13): [True: 314, False: 17]
  ------------------
 8290|  93.8k|        )
 8291|    314|        {
 8292|    314|            D(fprintf(stderr, "%*c+ as_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "or_pattern 'as' pattern_capture_target"));
 8293|    314|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8294|    314|            if (_token == NULL) {
  ------------------
  |  Branch (8294:17): [True: 0, False: 314]
  ------------------
 8295|      0|                p->level--;
 8296|      0|                return NULL;
 8297|      0|            }
 8298|    314|            int _end_lineno = _token->end_lineno;
 8299|    314|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    314|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 314]
  |  |  ------------------
  ------------------
 8300|    314|            int _end_col_offset = _token->end_col_offset;
 8301|    314|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    314|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 314]
  |  |  ------------------
  ------------------
 8302|    314|            _res = _PyAST_MatchAs ( pattern , target -> v . Name . id , EXTRA );
  ------------------
  |  |  316|    314|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8303|    314|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8303:18): [True: 0, False: 314]
  |  Branch (8303:34): [True: 0, False: 314]
  |  Branch (8303:57): [True: 0, False: 0]
  ------------------
 8304|      0|                p->error_indicator = 1;
 8305|      0|                p->level--;
 8306|      0|                return NULL;
 8307|      0|            }
 8308|    314|            goto done;
 8309|    314|        }
 8310|  93.5k|        p->mark = _mark;
 8311|  93.5k|        D(fprintf(stderr, "%*c%s as_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8312|  93.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "or_pattern 'as' pattern_capture_target"));
 8313|  93.5k|    }
 8314|  93.5k|    if (p->call_invalid_rules) { // invalid_as_pattern
  ------------------
  |  Branch (8314:9): [True: 54.8k, False: 38.7k]
  ------------------
 8315|  54.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (8315:13): [True: 2.59k, False: 52.2k]
  ------------------
 8316|  2.59k|            p->level--;
 8317|  2.59k|            return NULL;
 8318|  2.59k|        }
 8319|  52.2k|        D(fprintf(stderr, "%*c> as_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_as_pattern"));
 8320|  52.2k|        void *invalid_as_pattern_var;
 8321|  52.2k|        if (
 8322|  52.2k|            (invalid_as_pattern_var = invalid_as_pattern_rule(p))  // invalid_as_pattern
  ------------------
  |  |  617|  52.2k|#define invalid_as_pattern_rule _PyPegen_invalid_as_pattern_rule
  ------------------
  |  Branch (8322:13): [True: 0, False: 52.2k]
  ------------------
 8323|  52.2k|        )
 8324|      0|        {
 8325|      0|            D(fprintf(stderr, "%*c+ as_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_as_pattern"));
 8326|      0|            _res = invalid_as_pattern_var;
 8327|      0|            goto done;
 8328|      0|        }
 8329|  52.2k|        p->mark = _mark;
 8330|  52.2k|        D(fprintf(stderr, "%*c%s as_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8331|  52.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_as_pattern"));
 8332|  52.2k|    }
 8333|  90.9k|    _res = NULL;
 8334|  91.2k|  done:
 8335|  91.2k|    p->level--;
 8336|  91.2k|    return _res;
 8337|  90.9k|}
parser.c:attr_rule:
 9681|   117k|{
 9682|   117k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   235k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9682:9): [True: 0, False: 117k]
  |  Branch (9682:35): [True: 0, False: 117k]
  ------------------
 9683|      0|        _Pypegen_stack_overflow(p);
 9684|      0|    }
 9685|   117k|    expr_ty _res = NULL;
 9686|   117k|    if (_PyPegen_is_memoized(p, attr_type, &_res)) {
  ------------------
  |  |  174|   117k|#define attr_type 1085  // Left-recursive
  ------------------
  |  Branch (9686:9): [True: 94.3k, False: 23.5k]
  ------------------
 9687|  94.3k|        p->level--;
 9688|  94.3k|        return _res;
 9689|  94.3k|    }
 9690|  23.5k|    int _mark = p->mark;
 9691|  23.5k|    int _resmark = p->mark;
 9692|  23.5k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, attr_type);
  ------------------
  |  |  174|  23.5k|#define attr_type 1085  // Left-recursive
  ------------------
 9693|  23.5k|    if (_memo == NULL) {
  ------------------
  |  Branch (9693:9): [True: 0, False: 23.5k]
  ------------------
 9694|      0|        p->level--;
 9695|      0|        return NULL;
 9696|      0|    }
 9697|  25.6k|    while (1) {
  ------------------
  |  Branch (9697:12): [True: 25.6k, Folded]
  ------------------
 9698|  25.6k|        _memo->node = _res;
 9699|  25.6k|        _memo->mark = p->mark;
 9700|  25.6k|        p->mark = _mark;
 9701|  25.6k|        void *_raw = attr_raw(p);
 9702|  25.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (9702:13): [True: 6, False: 25.6k]
  ------------------
 9703|      6|            p->level--;
 9704|      6|            return NULL;
 9705|      6|        }
 9706|  25.6k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (9706:13): [True: 23.5k, False: 2.12k]
  |  Branch (9706:29): [True: 0, False: 2.12k]
  ------------------
 9707|  23.5k|            break;
 9708|  2.12k|        _resmark = p->mark;
 9709|  2.12k|        _res = _raw;
 9710|  2.12k|    }
 9711|  23.5k|    p->mark = _resmark;
 9712|  23.5k|    p->level--;
 9713|  23.5k|    return _res;
 9714|  23.5k|}
parser.c:attr_raw:
 9717|  25.6k|{
 9718|  25.6k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  51.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9718:9): [True: 0, False: 25.6k]
  |  Branch (9718:35): [True: 0, False: 25.6k]
  ------------------
 9719|      0|        _Pypegen_stack_overflow(p);
 9720|      0|    }
 9721|  25.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (9721:9): [True: 0, False: 25.6k]
  ------------------
 9722|      0|        p->level--;
 9723|      0|        return NULL;
 9724|      0|    }
 9725|  25.6k|    expr_ty _res = NULL;
 9726|  25.6k|    int _mark = p->mark;
 9727|  25.6k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9727:9): [True: 0, False: 25.6k]
  |  Branch (9727:31): [True: 0, False: 0]
  ------------------
 9728|      0|        p->error_indicator = 1;
 9729|      0|        p->level--;
 9730|      0|        return NULL;
 9731|      0|    }
 9732|  25.6k|    int _start_lineno = p->tokens[_mark]->lineno;
 9733|  25.6k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  25.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 25.6k]
  |  |  ------------------
  ------------------
 9734|  25.6k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9735|  25.6k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  25.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 25.6k]
  |  |  ------------------
  ------------------
 9736|  25.6k|    { // name_or_attr '.' NAME
 9737|  25.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (9737:13): [True: 0, False: 25.6k]
  ------------------
 9738|      0|            p->level--;
 9739|      0|            return NULL;
 9740|      0|        }
 9741|  25.6k|        D(fprintf(stderr, "%*c> attr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "name_or_attr '.' NAME"));
 9742|  25.6k|        Token * _literal;
 9743|  25.6k|        expr_ty attr;
 9744|  25.6k|        expr_ty value;
 9745|  25.6k|        if (
 9746|  25.6k|            (value = name_or_attr_rule(p))  // name_or_attr
  ------------------
  |  |  447|  25.6k|#define name_or_attr_rule _PyPegen_name_or_attr_rule
  ------------------
  |  Branch (9746:13): [True: 13.6k, False: 12.0k]
  ------------------
 9747|  13.6k|            &&
 9748|  13.6k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (9748:13): [True: 2.13k, False: 11.4k]
  ------------------
 9749|  2.13k|            &&
 9750|  2.13k|            (attr = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (9750:13): [True: 2.12k, False: 11]
  ------------------
 9751|  25.6k|        )
 9752|  2.12k|        {
 9753|  2.12k|            D(fprintf(stderr, "%*c+ attr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "name_or_attr '.' NAME"));
 9754|  2.12k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9755|  2.12k|            if (_token == NULL) {
  ------------------
  |  Branch (9755:17): [True: 0, False: 2.12k]
  ------------------
 9756|      0|                p->level--;
 9757|      0|                return NULL;
 9758|      0|            }
 9759|  2.12k|            int _end_lineno = _token->end_lineno;
 9760|  2.12k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.12k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.12k]
  |  |  ------------------
  ------------------
 9761|  2.12k|            int _end_col_offset = _token->end_col_offset;
 9762|  2.12k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.12k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.12k]
  |  |  ------------------
  ------------------
 9763|  2.12k|            _res = _PyAST_Attribute ( value , attr -> v . Name . id , Load , EXTRA );
  ------------------
  |  |  316|  2.12k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9764|  2.12k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9764:18): [True: 0, False: 2.12k]
  |  Branch (9764:34): [True: 0, False: 2.12k]
  |  Branch (9764:57): [True: 0, False: 0]
  ------------------
 9765|      0|                p->error_indicator = 1;
 9766|      0|                p->level--;
 9767|      0|                return NULL;
 9768|      0|            }
 9769|  2.12k|            goto done;
 9770|  2.12k|        }
 9771|  23.5k|        p->mark = _mark;
 9772|  23.5k|        D(fprintf(stderr, "%*c%s attr[%d-%d]: %s failed!\n", p->level, ' ',
 9773|  23.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "name_or_attr '.' NAME"));
 9774|  23.5k|    }
 9775|  23.5k|    _res = NULL;
 9776|  25.6k|  done:
 9777|  25.6k|    p->level--;
 9778|  25.6k|    return _res;
 9779|  23.5k|}
parser.c:open_sequence_pattern_rule:
 9997|  11.7k|{
 9998|  11.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  23.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9998:9): [True: 0, False: 11.7k]
  |  Branch (9998:35): [True: 0, False: 11.7k]
  ------------------
 9999|      0|        _Pypegen_stack_overflow(p);
10000|      0|    }
10001|  11.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (10001:9): [True: 0, False: 11.7k]
  ------------------
10002|      0|        p->level--;
10003|      0|        return NULL;
10004|      0|    }
10005|  11.7k|    asdl_seq* _res = NULL;
10006|  11.7k|    int _mark = p->mark;
10007|  11.7k|    { // maybe_star_pattern ',' maybe_sequence_pattern?
10008|  11.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (10008:13): [True: 0, False: 11.7k]
  ------------------
10009|      0|            p->level--;
10010|      0|            return NULL;
10011|      0|        }
10012|  11.7k|        D(fprintf(stderr, "%*c> open_sequence_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "maybe_star_pattern ',' maybe_sequence_pattern?"));
10013|  11.7k|        Token * _literal;
10014|  11.7k|        pattern_ty pattern;
10015|  11.7k|        void *patterns;
10016|  11.7k|        if (
10017|  11.7k|            (pattern = maybe_star_pattern_rule(p))  // maybe_star_pattern
  ------------------
  |  Branch (10017:13): [True: 9.23k, False: 2.46k]
  ------------------
10018|  9.23k|            &&
10019|  9.23k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (10019:13): [True: 4.41k, False: 4.82k]
  ------------------
10020|  4.41k|            &&
10021|  4.41k|            (patterns = maybe_sequence_pattern_rule(p), !p->error_indicator)  // maybe_sequence_pattern?
  ------------------
  |  Branch (10021:13): [True: 4.00k, False: 409]
  ------------------
10022|  11.7k|        )
10023|  4.00k|        {
10024|  4.00k|            D(fprintf(stderr, "%*c+ open_sequence_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "maybe_star_pattern ',' maybe_sequence_pattern?"));
10025|  4.00k|            _res = _PyPegen_seq_insert_in_front ( p , pattern , patterns );
10026|  4.00k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10026:18): [True: 0, False: 4.00k]
  |  Branch (10026:34): [True: 0, False: 4.00k]
  |  Branch (10026:57): [True: 0, False: 0]
  ------------------
10027|      0|                p->error_indicator = 1;
10028|      0|                p->level--;
10029|      0|                return NULL;
10030|      0|            }
10031|  4.00k|            goto done;
10032|  4.00k|        }
10033|  7.70k|        p->mark = _mark;
10034|  7.70k|        D(fprintf(stderr, "%*c%s open_sequence_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10035|  7.70k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "maybe_star_pattern ',' maybe_sequence_pattern?"));
10036|  7.70k|    }
10037|  7.70k|    _res = NULL;
10038|  11.7k|  done:
10039|  11.7k|    p->level--;
10040|  11.7k|    return _res;
10041|  7.70k|}
parser.c:maybe_star_pattern_rule:
10093|  37.6k|{
10094|  37.6k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  75.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10094:9): [True: 0, False: 37.6k]
  |  Branch (10094:35): [True: 0, False: 37.6k]
  ------------------
10095|      0|        _Pypegen_stack_overflow(p);
10096|      0|    }
10097|  37.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (10097:9): [True: 0, False: 37.6k]
  ------------------
10098|      0|        p->level--;
10099|      0|        return NULL;
10100|      0|    }
10101|  37.6k|    pattern_ty _res = NULL;
10102|  37.6k|    int _mark = p->mark;
10103|  37.6k|    { // star_pattern
10104|  37.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (10104:13): [True: 0, False: 37.6k]
  ------------------
10105|      0|            p->level--;
10106|      0|            return NULL;
10107|      0|        }
10108|  37.6k|        D(fprintf(stderr, "%*c> maybe_star_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_pattern"));
10109|  37.6k|        pattern_ty star_pattern_var;
10110|  37.6k|        if (
10111|  37.6k|            (star_pattern_var = star_pattern_rule(p))  // star_pattern
  ------------------
  |  Branch (10111:13): [True: 2.08k, False: 35.5k]
  ------------------
10112|  37.6k|        )
10113|  2.08k|        {
10114|  2.08k|            D(fprintf(stderr, "%*c+ maybe_star_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_pattern"));
10115|  2.08k|            _res = star_pattern_var;
10116|  2.08k|            goto done;
10117|  2.08k|        }
10118|  35.5k|        p->mark = _mark;
10119|  35.5k|        D(fprintf(stderr, "%*c%s maybe_star_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10120|  35.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_pattern"));
10121|  35.5k|    }
10122|      0|    { // pattern
10123|  35.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (10123:13): [True: 13, False: 35.5k]
  ------------------
10124|     13|            p->level--;
10125|     13|            return NULL;
10126|     13|        }
10127|  35.5k|        D(fprintf(stderr, "%*c> maybe_star_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "pattern"));
10128|  35.5k|        pattern_ty pattern_var;
10129|  35.5k|        if (
10130|  35.5k|            (pattern_var = pattern_rule(p))  // pattern
  ------------------
  |  Branch (10130:13): [True: 29.9k, False: 5.53k]
  ------------------
10131|  35.5k|        )
10132|  29.9k|        {
10133|  29.9k|            D(fprintf(stderr, "%*c+ maybe_star_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "pattern"));
10134|  29.9k|            _res = pattern_var;
10135|  29.9k|            goto done;
10136|  29.9k|        }
10137|  5.53k|        p->mark = _mark;
10138|  5.53k|        D(fprintf(stderr, "%*c%s maybe_star_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10139|  5.53k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "pattern"));
10140|  5.53k|    }
10141|  5.53k|    _res = NULL;
10142|  37.6k|  done:
10143|  37.6k|    p->level--;
10144|  37.6k|    return _res;
10145|  5.53k|}
parser.c:star_pattern_rule:
10150|  37.6k|{
10151|  37.6k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  75.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10151:9): [True: 0, False: 37.6k]
  |  Branch (10151:35): [True: 0, False: 37.6k]
  ------------------
10152|      0|        _Pypegen_stack_overflow(p);
10153|      0|    }
10154|  37.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (10154:9): [True: 0, False: 37.6k]
  ------------------
10155|      0|        p->level--;
10156|      0|        return NULL;
10157|      0|    }
10158|  37.6k|    pattern_ty _res = NULL;
10159|  37.6k|    if (_PyPegen_is_memoized(p, star_pattern_type, &_res)) {
  ------------------
  |  |  181|  37.6k|#define star_pattern_type 1092
  ------------------
  |  Branch (10159:9): [True: 6.04k, False: 31.5k]
  ------------------
10160|  6.04k|        p->level--;
10161|  6.04k|        return _res;
10162|  6.04k|    }
10163|  31.5k|    int _mark = p->mark;
10164|  31.5k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (10164:9): [True: 0, False: 31.5k]
  |  Branch (10164:31): [True: 0, False: 0]
  ------------------
10165|      0|        p->error_indicator = 1;
10166|      0|        p->level--;
10167|      0|        return NULL;
10168|      0|    }
10169|  31.5k|    int _start_lineno = p->tokens[_mark]->lineno;
10170|  31.5k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  31.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 31.5k]
  |  |  ------------------
  ------------------
10171|  31.5k|    int _start_col_offset = p->tokens[_mark]->col_offset;
10172|  31.5k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  31.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 31.5k]
  |  |  ------------------
  ------------------
10173|  31.5k|    { // '*' pattern_capture_target
10174|  31.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (10174:13): [True: 0, False: 31.5k]
  ------------------
10175|      0|            p->level--;
10176|      0|            return NULL;
10177|      0|        }
10178|  31.5k|        D(fprintf(stderr, "%*c> star_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' pattern_capture_target"));
10179|  31.5k|        Token * _literal;
10180|  31.5k|        expr_ty target;
10181|  31.5k|        if (
10182|  31.5k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (10182:13): [True: 1.88k, False: 29.6k]
  ------------------
10183|  1.88k|            &&
10184|  1.88k|            (target = pattern_capture_target_rule(p))  // pattern_capture_target
  ------------------
  |  Branch (10184:13): [True: 1.03k, False: 856]
  ------------------
10185|  31.5k|        )
10186|  1.03k|        {
10187|  1.03k|            D(fprintf(stderr, "%*c+ star_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' pattern_capture_target"));
10188|  1.03k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10189|  1.03k|            if (_token == NULL) {
  ------------------
  |  Branch (10189:17): [True: 0, False: 1.03k]
  ------------------
10190|      0|                p->level--;
10191|      0|                return NULL;
10192|      0|            }
10193|  1.03k|            int _end_lineno = _token->end_lineno;
10194|  1.03k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.03k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.03k]
  |  |  ------------------
  ------------------
10195|  1.03k|            int _end_col_offset = _token->end_col_offset;
10196|  1.03k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.03k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.03k]
  |  |  ------------------
  ------------------
10197|  1.03k|            _res = _PyAST_MatchStar ( target -> v . Name . id , EXTRA );
  ------------------
  |  |  316|  1.03k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10198|  1.03k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10198:18): [True: 0, False: 1.03k]
  |  Branch (10198:34): [True: 0, False: 1.03k]
  |  Branch (10198:57): [True: 0, False: 0]
  ------------------
10199|      0|                p->error_indicator = 1;
10200|      0|                p->level--;
10201|      0|                return NULL;
10202|      0|            }
10203|  1.03k|            goto done;
10204|  1.03k|        }
10205|  30.5k|        p->mark = _mark;
10206|  30.5k|        D(fprintf(stderr, "%*c%s star_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10207|  30.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' pattern_capture_target"));
10208|  30.5k|    }
10209|      0|    { // '*' wildcard_pattern
10210|  30.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (10210:13): [True: 1, False: 30.5k]
  ------------------
10211|      1|            p->level--;
10212|      1|            return NULL;
10213|      1|        }
10214|  30.5k|        D(fprintf(stderr, "%*c> star_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' wildcard_pattern"));
10215|  30.5k|        Token * _literal;
10216|  30.5k|        pattern_ty wildcard_pattern_var;
10217|  30.5k|        if (
10218|  30.5k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (10218:13): [True: 855, False: 29.6k]
  ------------------
10219|    855|            &&
10220|    855|            (wildcard_pattern_var = wildcard_pattern_rule(p))  // wildcard_pattern
  ------------------
  |  Branch (10220:13): [True: 671, False: 184]
  ------------------
10221|  30.5k|        )
10222|    671|        {
10223|    671|            D(fprintf(stderr, "%*c+ star_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' wildcard_pattern"));
10224|    671|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10225|    671|            if (_token == NULL) {
  ------------------
  |  Branch (10225:17): [True: 0, False: 671]
  ------------------
10226|      0|                p->level--;
10227|      0|                return NULL;
10228|      0|            }
10229|    671|            int _end_lineno = _token->end_lineno;
10230|    671|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    671|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 671]
  |  |  ------------------
  ------------------
10231|    671|            int _end_col_offset = _token->end_col_offset;
10232|    671|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    671|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 671]
  |  |  ------------------
  ------------------
10233|    671|            _res = _PyAST_MatchStar ( NULL , EXTRA );
  ------------------
  |  |  316|    671|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10234|    671|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10234:18): [True: 0, False: 671]
  |  Branch (10234:34): [True: 0, False: 671]
  |  Branch (10234:57): [True: 0, False: 0]
  ------------------
10235|      0|                p->error_indicator = 1;
10236|      0|                p->level--;
10237|      0|                return NULL;
10238|      0|            }
10239|    671|            goto done;
10240|    671|        }
10241|  29.8k|        p->mark = _mark;
10242|  29.8k|        D(fprintf(stderr, "%*c%s star_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10243|  29.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' wildcard_pattern"));
10244|  29.8k|    }
10245|  29.8k|    _res = NULL;
10246|  31.5k|  done:
10247|  31.5k|    _PyPegen_insert_memo(p, _mark, star_pattern_type, _res);
  ------------------
  |  |  181|  31.5k|#define star_pattern_type 1092
  ------------------
10248|  31.5k|    p->level--;
10249|  31.5k|    return _res;
10250|  29.8k|}
parser.c:wildcard_pattern_rule:
 9555|  27.3k|{
 9556|  27.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  54.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9556:9): [True: 0, False: 27.3k]
  |  Branch (9556:35): [True: 0, False: 27.3k]
  ------------------
 9557|      0|        _Pypegen_stack_overflow(p);
 9558|      0|    }
 9559|  27.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (9559:9): [True: 0, False: 27.3k]
  ------------------
 9560|      0|        p->level--;
 9561|      0|        return NULL;
 9562|      0|    }
 9563|  27.3k|    pattern_ty _res = NULL;
 9564|  27.3k|    int _mark = p->mark;
 9565|  27.3k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9565:9): [True: 0, False: 27.3k]
  |  Branch (9565:31): [True: 0, False: 0]
  ------------------
 9566|      0|        p->error_indicator = 1;
 9567|      0|        p->level--;
 9568|      0|        return NULL;
 9569|      0|    }
 9570|  27.3k|    int _start_lineno = p->tokens[_mark]->lineno;
 9571|  27.3k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  27.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 27.3k]
  |  |  ------------------
  ------------------
 9572|  27.3k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9573|  27.3k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  27.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 27.3k]
  |  |  ------------------
  ------------------
 9574|  27.3k|    { // "_"
 9575|  27.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (9575:13): [True: 0, False: 27.3k]
  ------------------
 9576|      0|            p->level--;
 9577|      0|            return NULL;
 9578|      0|        }
 9579|  27.3k|        D(fprintf(stderr, "%*c> wildcard_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"_\""));
 9580|  27.3k|        expr_ty _keyword;
 9581|  27.3k|        if (
 9582|  27.3k|            (_keyword = _PyPegen_expect_soft_keyword(p, "_"))  // soft_keyword='"_"'
  ------------------
  |  Branch (9582:13): [True: 5.11k, False: 22.1k]
  ------------------
 9583|  27.3k|        )
 9584|  5.11k|        {
 9585|  5.11k|            D(fprintf(stderr, "%*c+ wildcard_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"_\""));
 9586|  5.11k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9587|  5.11k|            if (_token == NULL) {
  ------------------
  |  Branch (9587:17): [True: 0, False: 5.11k]
  ------------------
 9588|      0|                p->level--;
 9589|      0|                return NULL;
 9590|      0|            }
 9591|  5.11k|            int _end_lineno = _token->end_lineno;
 9592|  5.11k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  5.11k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5.11k]
  |  |  ------------------
  ------------------
 9593|  5.11k|            int _end_col_offset = _token->end_col_offset;
 9594|  5.11k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  5.11k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5.11k]
  |  |  ------------------
  ------------------
 9595|  5.11k|            _res = _PyAST_MatchAs ( NULL , NULL , EXTRA );
  ------------------
  |  |  316|  5.11k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9596|  5.11k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9596:18): [True: 0, False: 5.11k]
  |  Branch (9596:34): [True: 0, False: 5.11k]
  |  Branch (9596:57): [True: 0, False: 0]
  ------------------
 9597|      0|                p->error_indicator = 1;
 9598|      0|                p->level--;
 9599|      0|                return NULL;
 9600|      0|            }
 9601|  5.11k|            goto done;
 9602|  5.11k|        }
 9603|  22.1k|        p->mark = _mark;
 9604|  22.1k|        D(fprintf(stderr, "%*c%s wildcard_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 9605|  22.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"_\""));
 9606|  22.1k|    }
 9607|  22.1k|    _res = NULL;
 9608|  27.3k|  done:
 9609|  27.3k|    p->level--;
 9610|  27.3k|    return _res;
 9611|  22.1k|}
parser.c:maybe_sequence_pattern_rule:
10046|  6.06k|{
10047|  6.06k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  12.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10047:9): [True: 0, False: 6.06k]
  |  Branch (10047:35): [True: 0, False: 6.06k]
  ------------------
10048|      0|        _Pypegen_stack_overflow(p);
10049|      0|    }
10050|  6.06k|    if (p->error_indicator) {
  ------------------
  |  Branch (10050:9): [True: 0, False: 6.06k]
  ------------------
10051|      0|        p->level--;
10052|      0|        return NULL;
10053|      0|    }
10054|  6.06k|    asdl_seq* _res = NULL;
10055|  6.06k|    int _mark = p->mark;
10056|  6.06k|    { // ','.maybe_star_pattern+ ','?
10057|  6.06k|        if (p->error_indicator) {
  ------------------
  |  Branch (10057:13): [True: 0, False: 6.06k]
  ------------------
10058|      0|            p->level--;
10059|      0|            return NULL;
10060|      0|        }
10061|  6.06k|        D(fprintf(stderr, "%*c> maybe_sequence_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.maybe_star_pattern+ ','?"));
10062|  6.06k|        void *_opt_var;
10063|  6.06k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  6.06k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.06k]
  |  |  ------------------
  ------------------
10064|  6.06k|        asdl_seq * patterns;
10065|  6.06k|        if (
10066|  6.06k|            (patterns = _gather_45_rule(p))  // ','.maybe_star_pattern+
  ------------------
  |  Branch (10066:13): [True: 3.80k, False: 2.25k]
  ------------------
10067|  3.80k|            &&
10068|  3.80k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (10068:13): [True: 3.73k, False: 71]
  ------------------
10069|  6.06k|        )
10070|  3.73k|        {
10071|  3.73k|            D(fprintf(stderr, "%*c+ maybe_sequence_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.maybe_star_pattern+ ','?"));
10072|  3.73k|            _res = patterns;
10073|  3.73k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10073:18): [True: 0, False: 3.73k]
  |  Branch (10073:34): [True: 0, False: 3.73k]
  |  Branch (10073:57): [True: 0, False: 0]
  ------------------
10074|      0|                p->error_indicator = 1;
10075|      0|                p->level--;
10076|      0|                return NULL;
10077|      0|            }
10078|  3.73k|            goto done;
10079|  3.73k|        }
10080|  2.32k|        p->mark = _mark;
10081|  2.32k|        D(fprintf(stderr, "%*c%s maybe_sequence_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10082|  2.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.maybe_star_pattern+ ','?"));
10083|  2.32k|    }
10084|  2.32k|    _res = NULL;
10085|  6.06k|  done:
10086|  6.06k|    p->level--;
10087|  6.06k|    return _res;
10088|  2.32k|}
parser.c:_gather_45_rule:
22333|  6.06k|{
22334|  6.06k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  12.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22334:9): [True: 0, False: 6.06k]
  |  Branch (22334:35): [True: 0, False: 6.06k]
  ------------------
22335|      0|        _Pypegen_stack_overflow(p);
22336|      0|    }
22337|  6.06k|    if (p->error_indicator) {
  ------------------
  |  Branch (22337:9): [True: 0, False: 6.06k]
  ------------------
22338|      0|        p->level--;
22339|      0|        return NULL;
22340|      0|    }
22341|  6.06k|    asdl_seq * _res = NULL;
22342|  6.06k|    int _mark = p->mark;
22343|  6.06k|    { // maybe_star_pattern _loop0_44
22344|  6.06k|        if (p->error_indicator) {
  ------------------
  |  Branch (22344:13): [True: 0, False: 6.06k]
  ------------------
22345|      0|            p->level--;
22346|      0|            return NULL;
22347|      0|        }
22348|  6.06k|        D(fprintf(stderr, "%*c> _gather_45[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "maybe_star_pattern _loop0_44"));
22349|  6.06k|        pattern_ty elem;
22350|  6.06k|        asdl_seq * seq;
22351|  6.06k|        if (
22352|  6.06k|            (elem = maybe_star_pattern_rule(p))  // maybe_star_pattern
  ------------------
  |  Branch (22352:13): [True: 3.80k, False: 2.25k]
  ------------------
22353|  3.80k|            &&
22354|  3.80k|            (seq = _loop0_44_rule(p))  // _loop0_44
  ------------------
  |  Branch (22354:13): [True: 3.80k, False: 0]
  ------------------
22355|  6.06k|        )
22356|  3.80k|        {
22357|  3.80k|            D(fprintf(stderr, "%*c+ _gather_45[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "maybe_star_pattern _loop0_44"));
22358|  3.80k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
22359|  3.80k|            goto done;
22360|  3.80k|        }
22361|  2.25k|        p->mark = _mark;
22362|  2.25k|        D(fprintf(stderr, "%*c%s _gather_45[%d-%d]: %s failed!\n", p->level, ' ',
22363|  2.25k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "maybe_star_pattern _loop0_44"));
22364|  2.25k|    }
22365|  2.25k|    _res = NULL;
22366|  6.06k|  done:
22367|  6.06k|    p->level--;
22368|  6.06k|    return _res;
22369|  2.25k|}
parser.c:_loop0_44_rule:
22266|  3.80k|{
22267|  3.80k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  7.61k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22267:9): [True: 0, False: 3.80k]
  |  Branch (22267:35): [True: 0, False: 3.80k]
  ------------------
22268|      0|        _Pypegen_stack_overflow(p);
22269|      0|    }
22270|  3.80k|    if (p->error_indicator) {
  ------------------
  |  Branch (22270:9): [True: 0, False: 3.80k]
  ------------------
22271|      0|        p->level--;
22272|      0|        return NULL;
22273|      0|    }
22274|  3.80k|    void *_res = NULL;
22275|  3.80k|    int _mark = p->mark;
22276|  3.80k|    void **_children = NULL;
22277|  3.80k|    Py_ssize_t _children_capacity = 0;
22278|  3.80k|    Py_ssize_t _n = 0;
22279|  3.80k|    { // ',' maybe_star_pattern
22280|  3.80k|        if (p->error_indicator) {
  ------------------
  |  Branch (22280:13): [True: 0, False: 3.80k]
  ------------------
22281|      0|            p->level--;
22282|      0|            return NULL;
22283|      0|        }
22284|  3.80k|        D(fprintf(stderr, "%*c> _loop0_44[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' maybe_star_pattern"));
22285|  3.80k|        Token * _literal;
22286|  3.80k|        pattern_ty elem;
22287|  3.80k|        while (
22288|  22.8k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (22288:13): [True: 19.8k, False: 2.98k]
  ------------------
22289|  19.8k|            &&
22290|  19.8k|            (elem = maybe_star_pattern_rule(p))  // maybe_star_pattern
  ------------------
  |  Branch (22290:13): [True: 19.0k, False: 823]
  ------------------
22291|  3.80k|        )
22292|  19.0k|        {
22293|  19.0k|            _res = elem;
22294|  19.0k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22294:18): [True: 0, False: 19.0k]
  |  Branch (22294:34): [True: 0, False: 19.0k]
  |  Branch (22294:57): [True: 0, False: 0]
  ------------------
22295|      0|                p->error_indicator = 1;
22296|      0|                PyMem_Free(_children);
22297|      0|                p->level--;
22298|      0|                return NULL;
22299|      0|            }
22300|  19.0k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (22300:17): [True: 4.20k, False: 14.8k]
  ------------------
22301|  4.20k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (22301:21): [True: 0, False: 4.20k]
  ------------------
22302|      0|                    p->error_indicator = 1;
22303|      0|                    PyErr_NoMemory();
22304|      0|                    PyMem_Free(_children);
22305|      0|                    p->level--;
22306|      0|                    return NULL;
22307|      0|                }
22308|  4.20k|            }
22309|  19.0k|            _children[_n++] = _res;
22310|  19.0k|            _mark = p->mark;
22311|  19.0k|        }
22312|  3.80k|        p->mark = _mark;
22313|  3.80k|        D(fprintf(stderr, "%*c%s _loop0_44[%d-%d]: %s failed!\n", p->level, ' ',
22314|  3.80k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' maybe_star_pattern"));
22315|  3.80k|    }
22316|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
22317|  3.80k|    if (!_seq) {
  ------------------
  |  Branch (22317:9): [True: 0, False: 3.80k]
  ------------------
22318|      0|        p->error_indicator = 1;
22319|      0|        PyErr_NoMemory();
22320|      0|        PyMem_Free(_children);
22321|      0|        p->level--;
22322|      0|        return NULL;
22323|      0|    }
22324|  22.8k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  19.0k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  22.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (22324:28): [True: 19.0k, False: 3.80k]
  ------------------
22325|  3.80k|    PyMem_Free(_children);
22326|  3.80k|    p->level--;
22327|  3.80k|    return _seq;
22328|  3.80k|}
parser.c:pattern_capture_target_rule:
 9508|  52.6k|{
 9509|  52.6k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   105k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9509:9): [True: 0, False: 52.6k]
  |  Branch (9509:35): [True: 0, False: 52.6k]
  ------------------
 9510|      0|        _Pypegen_stack_overflow(p);
 9511|      0|    }
 9512|  52.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (9512:9): [True: 0, False: 52.6k]
  ------------------
 9513|      0|        p->level--;
 9514|      0|        return NULL;
 9515|      0|    }
 9516|  52.6k|    expr_ty _res = NULL;
 9517|  52.6k|    int _mark = p->mark;
 9518|  52.6k|    { // !"_" NAME !('.' | '(' | '=')
 9519|  52.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (9519:13): [True: 0, False: 52.6k]
  ------------------
 9520|      0|            p->level--;
 9521|      0|            return NULL;
 9522|      0|        }
 9523|  52.6k|        D(fprintf(stderr, "%*c> pattern_capture_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!\"_\" NAME !('.' | '(' | '=')"));
 9524|  52.6k|        expr_ty name;
 9525|  52.6k|        if (
 9526|  52.6k|            _PyPegen_lookahead_with_string(0, _PyPegen_expect_soft_keyword, p, "_")
  ------------------
  |  Branch (9526:13): [True: 47.5k, False: 5.11k]
  ------------------
 9527|  47.5k|            &&
 9528|  47.5k|            (name = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (9528:13): [True: 36.8k, False: 10.6k]
  ------------------
 9529|  36.8k|            &&
 9530|  36.8k|            _PyPegen_lookahead(0, _tmp_43_rule, p)
  ------------------
  |  Branch (9530:13): [True: 25.3k, False: 11.5k]
  ------------------
 9531|  52.6k|        )
 9532|  25.3k|        {
 9533|  25.3k|            D(fprintf(stderr, "%*c+ pattern_capture_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!\"_\" NAME !('.' | '(' | '=')"));
 9534|  25.3k|            _res = _PyPegen_set_expr_context ( p , name , Store );
 9535|  25.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9535:18): [True: 0, False: 25.3k]
  |  Branch (9535:34): [True: 36, False: 25.2k]
  |  Branch (9535:57): [True: 36, False: 0]
  ------------------
 9536|     36|                p->error_indicator = 1;
 9537|     36|                p->level--;
 9538|     36|                return NULL;
 9539|     36|            }
 9540|  25.2k|            goto done;
 9541|  25.3k|        }
 9542|  27.3k|        p->mark = _mark;
 9543|  27.3k|        D(fprintf(stderr, "%*c%s pattern_capture_target[%d-%d]: %s failed!\n", p->level, ' ',
 9544|  27.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!\"_\" NAME !('.' | '(' | '=')"));
 9545|  27.3k|    }
 9546|  27.3k|    _res = NULL;
 9547|  52.6k|  done:
 9548|  52.6k|    p->level--;
 9549|  52.6k|    return _res;
 9550|  27.3k|}
parser.c:_tmp_43_rule:
22190|  38.6k|{
22191|  38.6k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  77.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22191:9): [True: 0, False: 38.6k]
  |  Branch (22191:35): [True: 0, False: 38.6k]
  ------------------
22192|      0|        _Pypegen_stack_overflow(p);
22193|      0|    }
22194|  38.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (22194:9): [True: 0, False: 38.6k]
  ------------------
22195|      0|        p->level--;
22196|      0|        return NULL;
22197|      0|    }
22198|  38.6k|    void * _res = NULL;
22199|  38.6k|    int _mark = p->mark;
22200|  38.6k|    { // '.'
22201|  38.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (22201:13): [True: 0, False: 38.6k]
  ------------------
22202|      0|            p->level--;
22203|      0|            return NULL;
22204|      0|        }
22205|  38.6k|        D(fprintf(stderr, "%*c> _tmp_43[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'.'"));
22206|  38.6k|        Token * _literal;
22207|  38.6k|        if (
22208|  38.6k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (22208:13): [True: 1.95k, False: 36.7k]
  ------------------
22209|  38.6k|        )
22210|  1.95k|        {
22211|  1.95k|            D(fprintf(stderr, "%*c+ _tmp_43[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'.'"));
22212|  1.95k|            _res = _literal;
22213|  1.95k|            goto done;
22214|  1.95k|        }
22215|  36.7k|        p->mark = _mark;
22216|  36.7k|        D(fprintf(stderr, "%*c%s _tmp_43[%d-%d]: %s failed!\n", p->level, ' ',
22217|  36.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'.'"));
22218|  36.7k|    }
22219|      0|    { // '('
22220|  36.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (22220:13): [True: 36, False: 36.6k]
  ------------------
22221|     36|            p->level--;
22222|     36|            return NULL;
22223|     36|        }
22224|  36.6k|        D(fprintf(stderr, "%*c> _tmp_43[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'('"));
22225|  36.6k|        Token * _literal;
22226|  36.6k|        if (
22227|  36.6k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (22227:13): [True: 7.69k, False: 28.9k]
  ------------------
22228|  36.6k|        )
22229|  7.69k|        {
22230|  7.69k|            D(fprintf(stderr, "%*c+ _tmp_43[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'('"));
22231|  7.69k|            _res = _literal;
22232|  7.69k|            goto done;
22233|  7.69k|        }
22234|  28.9k|        p->mark = _mark;
22235|  28.9k|        D(fprintf(stderr, "%*c%s _tmp_43[%d-%d]: %s failed!\n", p->level, ' ',
22236|  28.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'('"));
22237|  28.9k|    }
22238|      0|    { // '='
22239|  28.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (22239:13): [True: 0, False: 28.9k]
  ------------------
22240|      0|            p->level--;
22241|      0|            return NULL;
22242|      0|        }
22243|  28.9k|        D(fprintf(stderr, "%*c> _tmp_43[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'='"));
22244|  28.9k|        Token * _literal;
22245|  28.9k|        if (
22246|  28.9k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (22246:13): [True: 2.36k, False: 26.6k]
  ------------------
22247|  28.9k|        )
22248|  2.36k|        {
22249|  2.36k|            D(fprintf(stderr, "%*c+ _tmp_43[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'='"));
22250|  2.36k|            _res = _literal;
22251|  2.36k|            goto done;
22252|  2.36k|        }
22253|  26.6k|        p->mark = _mark;
22254|  26.6k|        D(fprintf(stderr, "%*c%s _tmp_43[%d-%d]: %s failed!\n", p->level, ' ',
22255|  26.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'='"));
22256|  26.6k|    }
22257|  26.6k|    _res = NULL;
22258|  38.6k|  done:
22259|  38.6k|    p->level--;
22260|  38.6k|    return _res;
22261|  26.6k|}
parser.c:type_alias_rule:
10976|  3.06k|{
10977|  3.06k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.13k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10977:9): [True: 0, False: 3.06k]
  |  Branch (10977:35): [True: 0, False: 3.06k]
  ------------------
10978|      0|        _Pypegen_stack_overflow(p);
10979|      0|    }
10980|  3.06k|    if (p->error_indicator) {
  ------------------
  |  Branch (10980:9): [True: 0, False: 3.06k]
  ------------------
10981|      0|        p->level--;
10982|      0|        return NULL;
10983|      0|    }
10984|  3.06k|    stmt_ty _res = NULL;
10985|  3.06k|    int _mark = p->mark;
10986|  3.06k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (10986:9): [True: 0, False: 3.06k]
  |  Branch (10986:31): [True: 0, False: 0]
  ------------------
10987|      0|        p->error_indicator = 1;
10988|      0|        p->level--;
10989|      0|        return NULL;
10990|      0|    }
10991|  3.06k|    int _start_lineno = p->tokens[_mark]->lineno;
10992|  3.06k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.06k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.06k]
  |  |  ------------------
  ------------------
10993|  3.06k|    int _start_col_offset = p->tokens[_mark]->col_offset;
10994|  3.06k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.06k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.06k]
  |  |  ------------------
  ------------------
10995|  3.06k|    { // "type" NAME type_params? '=' expression
10996|  3.06k|        if (p->error_indicator) {
  ------------------
  |  Branch (10996:13): [True: 0, False: 3.06k]
  ------------------
10997|      0|            p->level--;
10998|      0|            return NULL;
10999|      0|        }
11000|  3.06k|        D(fprintf(stderr, "%*c> type_alias[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"type\" NAME type_params? '=' expression"));
11001|  3.06k|        expr_ty _keyword;
11002|  3.06k|        Token * _literal;
11003|  3.06k|        expr_ty b;
11004|  3.06k|        expr_ty n;
11005|  3.06k|        void *t;
11006|  3.06k|        if (
11007|  3.06k|            (_keyword = _PyPegen_expect_soft_keyword(p, "type"))  // soft_keyword='"type"'
  ------------------
  |  Branch (11007:13): [True: 3.06k, False: 0]
  ------------------
11008|  3.06k|            &&
11009|  3.06k|            (n = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (11009:13): [True: 2.78k, False: 285]
  ------------------
11010|  2.78k|            &&
11011|  2.78k|            (t = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  |  457|  2.78k|#define type_params_rule _PyPegen_type_params_rule
  ------------------
  |  Branch (11011:13): [True: 2.78k, False: 2]
  ------------------
11012|  2.78k|            &&
11013|  2.78k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (11013:13): [True: 2.75k, False: 23]
  ------------------
11014|  2.75k|            &&
11015|  2.75k|            (b = expression_rule(p))  // expression
  ------------------
  |  |  461|  2.75k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11015:13): [True: 2.75k, False: 1]
  ------------------
11016|  3.06k|        )
11017|  2.75k|        {
11018|  2.75k|            D(fprintf(stderr, "%*c+ type_alias[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"type\" NAME type_params? '=' expression"));
11019|  2.75k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11020|  2.75k|            if (_token == NULL) {
  ------------------
  |  Branch (11020:17): [True: 0, False: 2.75k]
  ------------------
11021|      0|                p->level--;
11022|      0|                return NULL;
11023|      0|            }
11024|  2.75k|            int _end_lineno = _token->end_lineno;
11025|  2.75k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.75k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.75k]
  |  |  ------------------
  ------------------
11026|  2.75k|            int _end_col_offset = _token->end_col_offset;
11027|  2.75k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.75k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.75k]
  |  |  ------------------
  ------------------
11028|  2.75k|            _res = CHECK_VERSION ( stmt_ty , 12 , "Type statement is" , _PyAST_TypeAlias ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , n , Store ) ) , t , b , EXTRA ) );
  ------------------
  |  |  354|  2.75k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
11029|  2.75k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11029:18): [True: 0, False: 2.75k]
  |  Branch (11029:34): [True: 0, False: 2.75k]
  |  Branch (11029:57): [True: 0, False: 0]
  ------------------
11030|      0|                p->error_indicator = 1;
11031|      0|                p->level--;
11032|      0|                return NULL;
11033|      0|            }
11034|  2.75k|            goto done;
11035|  2.75k|        }
11036|    311|        p->mark = _mark;
11037|    311|        D(fprintf(stderr, "%*c%s type_alias[%d-%d]: %s failed!\n", p->level, ' ',
11038|    311|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"type\" NAME type_params? '=' expression"));
11039|    311|    }
11040|    311|    _res = NULL;
11041|  3.06k|  done:
11042|  3.06k|    p->level--;
11043|  3.06k|    return _res;
11044|    311|}
parser.c:type_param_seq_rule:
11117|  8.93k|{
11118|  8.93k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  17.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11118:9): [True: 0, False: 8.93k]
  |  Branch (11118:35): [True: 0, False: 8.93k]
  ------------------
11119|      0|        _Pypegen_stack_overflow(p);
11120|      0|    }
11121|  8.93k|    if (p->error_indicator) {
  ------------------
  |  Branch (11121:9): [True: 0, False: 8.93k]
  ------------------
11122|      0|        p->level--;
11123|      0|        return NULL;
11124|      0|    }
11125|  8.93k|    asdl_type_param_seq* _res = NULL;
11126|  8.93k|    int _mark = p->mark;
11127|  8.93k|    { // ','.type_param+ ','?
11128|  8.93k|        if (p->error_indicator) {
  ------------------
  |  Branch (11128:13): [True: 0, False: 8.93k]
  ------------------
11129|      0|            p->level--;
11130|      0|            return NULL;
11131|      0|        }
11132|  8.93k|        D(fprintf(stderr, "%*c> type_param_seq[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.type_param+ ','?"));
11133|  8.93k|        void *_opt_var;
11134|  8.93k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  8.93k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 8.93k]
  |  |  ------------------
  ------------------
11135|  8.93k|        asdl_type_param_seq* a;
11136|  8.93k|        if (
11137|  8.93k|            (a = (asdl_type_param_seq*)_gather_54_rule(p))  // ','.type_param+
  ------------------
  |  Branch (11137:13): [True: 8.90k, False: 25]
  ------------------
11138|  8.90k|            &&
11139|  8.90k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (11139:13): [True: 8.90k, False: 8]
  ------------------
11140|  8.93k|        )
11141|  8.90k|        {
11142|  8.90k|            D(fprintf(stderr, "%*c+ type_param_seq[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.type_param+ ','?"));
11143|  8.90k|            _res = a;
11144|  8.90k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11144:18): [True: 0, False: 8.90k]
  |  Branch (11144:34): [True: 0, False: 8.90k]
  |  Branch (11144:57): [True: 0, False: 0]
  ------------------
11145|      0|                p->error_indicator = 1;
11146|      0|                p->level--;
11147|      0|                return NULL;
11148|      0|            }
11149|  8.90k|            goto done;
11150|  8.90k|        }
11151|     33|        p->mark = _mark;
11152|     33|        D(fprintf(stderr, "%*c%s type_param_seq[%d-%d]: %s failed!\n", p->level, ' ',
11153|     33|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.type_param+ ','?"));
11154|     33|    }
11155|     33|    _res = NULL;
11156|  8.93k|  done:
11157|  8.93k|    p->level--;
11158|  8.93k|    return _res;
11159|     33|}
parser.c:_gather_54_rule:
22822|  8.93k|{
22823|  8.93k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  17.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22823:9): [True: 0, False: 8.93k]
  |  Branch (22823:35): [True: 0, False: 8.93k]
  ------------------
22824|      0|        _Pypegen_stack_overflow(p);
22825|      0|    }
22826|  8.93k|    if (p->error_indicator) {
  ------------------
  |  Branch (22826:9): [True: 0, False: 8.93k]
  ------------------
22827|      0|        p->level--;
22828|      0|        return NULL;
22829|      0|    }
22830|  8.93k|    asdl_seq * _res = NULL;
22831|  8.93k|    int _mark = p->mark;
22832|  8.93k|    { // type_param _loop0_53
22833|  8.93k|        if (p->error_indicator) {
  ------------------
  |  Branch (22833:13): [True: 0, False: 8.93k]
  ------------------
22834|      0|            p->level--;
22835|      0|            return NULL;
22836|      0|        }
22837|  8.93k|        D(fprintf(stderr, "%*c> _gather_54[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "type_param _loop0_53"));
22838|  8.93k|        type_param_ty elem;
22839|  8.93k|        asdl_seq * seq;
22840|  8.93k|        if (
22841|  8.93k|            (elem = type_param_rule(p))  // type_param
  ------------------
  |  Branch (22841:13): [True: 8.90k, False: 25]
  ------------------
22842|  8.90k|            &&
22843|  8.90k|            (seq = _loop0_53_rule(p))  // _loop0_53
  ------------------
  |  Branch (22843:13): [True: 8.90k, False: 0]
  ------------------
22844|  8.93k|        )
22845|  8.90k|        {
22846|  8.90k|            D(fprintf(stderr, "%*c+ _gather_54[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "type_param _loop0_53"));
22847|  8.90k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
22848|  8.90k|            goto done;
22849|  8.90k|        }
22850|     25|        p->mark = _mark;
22851|     25|        D(fprintf(stderr, "%*c%s _gather_54[%d-%d]: %s failed!\n", p->level, ' ',
22852|     25|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "type_param _loop0_53"));
22853|     25|    }
22854|     25|    _res = NULL;
22855|  8.93k|  done:
22856|  8.93k|    p->level--;
22857|  8.93k|    return _res;
22858|     25|}
parser.c:type_param_rule:
11168|  25.1k|{
11169|  25.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  50.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11169:9): [True: 0, False: 25.1k]
  |  Branch (11169:35): [True: 0, False: 25.1k]
  ------------------
11170|      0|        _Pypegen_stack_overflow(p);
11171|      0|    }
11172|  25.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (11172:9): [True: 0, False: 25.1k]
  ------------------
11173|      0|        p->level--;
11174|      0|        return NULL;
11175|      0|    }
11176|  25.1k|    type_param_ty _res = NULL;
11177|  25.1k|    if (_PyPegen_is_memoized(p, type_param_type, &_res)) {
  ------------------
  |  |  193|  25.1k|#define type_param_type 1104
  ------------------
  |  Branch (11177:9): [True: 3.02k, False: 22.1k]
  ------------------
11178|  3.02k|        p->level--;
11179|  3.02k|        return _res;
11180|  3.02k|    }
11181|  22.1k|    int _mark = p->mark;
11182|  22.1k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11182:9): [True: 0, False: 22.1k]
  |  Branch (11182:31): [True: 0, False: 0]
  ------------------
11183|      0|        p->error_indicator = 1;
11184|      0|        p->level--;
11185|      0|        return NULL;
11186|      0|    }
11187|  22.1k|    int _start_lineno = p->tokens[_mark]->lineno;
11188|  22.1k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  22.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 22.1k]
  |  |  ------------------
  ------------------
11189|  22.1k|    int _start_col_offset = p->tokens[_mark]->col_offset;
11190|  22.1k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  22.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 22.1k]
  |  |  ------------------
  ------------------
11191|  22.1k|    { // NAME type_param_bound? type_param_default?
11192|  22.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (11192:13): [True: 0, False: 22.1k]
  ------------------
11193|      0|            p->level--;
11194|      0|            return NULL;
11195|      0|        }
11196|  22.1k|        D(fprintf(stderr, "%*c> type_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME type_param_bound? type_param_default?"));
11197|  22.1k|        expr_ty a;
11198|  22.1k|        void *b;
11199|  22.1k|        void *c;
11200|  22.1k|        if (
11201|  22.1k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (11201:13): [True: 15.6k, False: 6.50k]
  ------------------
11202|  15.6k|            &&
11203|  15.6k|            (b = type_param_bound_rule(p), !p->error_indicator)  // type_param_bound?
  ------------------
  |  Branch (11203:13): [True: 15.6k, False: 6]
  ------------------
11204|  15.6k|            &&
11205|  15.6k|            (c = type_param_default_rule(p), !p->error_indicator)  // type_param_default?
  ------------------
  |  Branch (11205:13): [True: 15.6k, False: 1]
  ------------------
11206|  22.1k|        )
11207|  15.6k|        {
11208|  15.6k|            D(fprintf(stderr, "%*c+ type_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME type_param_bound? type_param_default?"));
11209|  15.6k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11210|  15.6k|            if (_token == NULL) {
  ------------------
  |  Branch (11210:17): [True: 0, False: 15.6k]
  ------------------
11211|      0|                p->level--;
11212|      0|                return NULL;
11213|      0|            }
11214|  15.6k|            int _end_lineno = _token->end_lineno;
11215|  15.6k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  15.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 15.6k]
  |  |  ------------------
  ------------------
11216|  15.6k|            int _end_col_offset = _token->end_col_offset;
11217|  15.6k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  15.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 15.6k]
  |  |  ------------------
  ------------------
11218|  15.6k|            _res = _PyAST_TypeVar ( a -> v . Name . id , b , c , EXTRA );
  ------------------
  |  |  316|  15.6k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11219|  15.6k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11219:18): [True: 0, False: 15.6k]
  |  Branch (11219:34): [True: 0, False: 15.6k]
  |  Branch (11219:57): [True: 0, False: 0]
  ------------------
11220|      0|                p->error_indicator = 1;
11221|      0|                p->level--;
11222|      0|                return NULL;
11223|      0|            }
11224|  15.6k|            goto done;
11225|  15.6k|        }
11226|  6.51k|        p->mark = _mark;
11227|  6.51k|        D(fprintf(stderr, "%*c%s type_param[%d-%d]: %s failed!\n", p->level, ' ',
11228|  6.51k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME type_param_bound? type_param_default?"));
11229|  6.51k|    }
11230|  6.51k|    if (p->call_invalid_rules) { // invalid_type_param
  ------------------
  |  Branch (11230:9): [True: 763, False: 5.75k]
  ------------------
11231|    763|        if (p->error_indicator) {
  ------------------
  |  Branch (11231:13): [True: 2, False: 761]
  ------------------
11232|      2|            p->level--;
11233|      2|            return NULL;
11234|      2|        }
11235|    761|        D(fprintf(stderr, "%*c> type_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_type_param"));
11236|    761|        void *invalid_type_param_var;
11237|    761|        if (
11238|    761|            (invalid_type_param_var = invalid_type_param_rule(p))  // invalid_type_param
  ------------------
  |  |  543|    761|#define invalid_type_param_rule _PyPegen_invalid_type_param_rule
  ------------------
  |  Branch (11238:13): [True: 0, False: 761]
  ------------------
11239|    761|        )
11240|      0|        {
11241|      0|            D(fprintf(stderr, "%*c+ type_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_type_param"));
11242|      0|            _res = invalid_type_param_var;
11243|      0|            goto done;
11244|      0|        }
11245|    761|        p->mark = _mark;
11246|    761|        D(fprintf(stderr, "%*c%s type_param[%d-%d]: %s failed!\n", p->level, ' ',
11247|    761|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_type_param"));
11248|    761|    }
11249|  6.51k|    { // '*' NAME type_param_starred_default?
11250|  6.51k|        if (p->error_indicator) {
  ------------------
  |  Branch (11250:13): [True: 6, False: 6.50k]
  ------------------
11251|      6|            p->level--;
11252|      6|            return NULL;
11253|      6|        }
11254|  6.50k|        D(fprintf(stderr, "%*c> type_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' NAME type_param_starred_default?"));
11255|  6.50k|        Token * _literal;
11256|  6.50k|        expr_ty a;
11257|  6.50k|        void *b;
11258|  6.50k|        if (
11259|  6.50k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (11259:13): [True: 2.89k, False: 3.61k]
  ------------------
11260|  2.89k|            &&
11261|  2.89k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (11261:13): [True: 2.89k, False: 5]
  ------------------
11262|  2.89k|            &&
11263|  2.89k|            (b = type_param_starred_default_rule(p), !p->error_indicator)  // type_param_starred_default?
  ------------------
  |  Branch (11263:13): [True: 2.88k, False: 5]
  ------------------
11264|  6.50k|        )
11265|  2.88k|        {
11266|  2.88k|            D(fprintf(stderr, "%*c+ type_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' NAME type_param_starred_default?"));
11267|  2.88k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11268|  2.88k|            if (_token == NULL) {
  ------------------
  |  Branch (11268:17): [True: 0, False: 2.88k]
  ------------------
11269|      0|                p->level--;
11270|      0|                return NULL;
11271|      0|            }
11272|  2.88k|            int _end_lineno = _token->end_lineno;
11273|  2.88k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.88k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
11274|  2.88k|            int _end_col_offset = _token->end_col_offset;
11275|  2.88k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.88k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.88k]
  |  |  ------------------
  ------------------
11276|  2.88k|            _res = _PyAST_TypeVarTuple ( a -> v . Name . id , b , EXTRA );
  ------------------
  |  |  316|  2.88k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11277|  2.88k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11277:18): [True: 0, False: 2.88k]
  |  Branch (11277:34): [True: 0, False: 2.88k]
  |  Branch (11277:57): [True: 0, False: 0]
  ------------------
11278|      0|                p->error_indicator = 1;
11279|      0|                p->level--;
11280|      0|                return NULL;
11281|      0|            }
11282|  2.88k|            goto done;
11283|  2.88k|        }
11284|  3.62k|        p->mark = _mark;
11285|  3.62k|        D(fprintf(stderr, "%*c%s type_param[%d-%d]: %s failed!\n", p->level, ' ',
11286|  3.62k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' NAME type_param_starred_default?"));
11287|  3.62k|    }
11288|      0|    { // '**' NAME type_param_default?
11289|  3.62k|        if (p->error_indicator) {
  ------------------
  |  Branch (11289:13): [True: 6, False: 3.61k]
  ------------------
11290|      6|            p->level--;
11291|      6|            return NULL;
11292|      6|        }
11293|  3.61k|        D(fprintf(stderr, "%*c> type_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' NAME type_param_default?"));
11294|  3.61k|        Token * _literal;
11295|  3.61k|        expr_ty a;
11296|  3.61k|        void *b;
11297|  3.61k|        if (
11298|  3.61k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (11298:13): [True: 1.33k, False: 2.27k]
  ------------------
11299|  1.33k|            &&
11300|  1.33k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (11300:13): [True: 1.33k, False: 3]
  ------------------
11301|  1.33k|            &&
11302|  1.33k|            (b = type_param_default_rule(p), !p->error_indicator)  // type_param_default?
  ------------------
  |  Branch (11302:13): [True: 1.33k, False: 1]
  ------------------
11303|  3.61k|        )
11304|  1.33k|        {
11305|  1.33k|            D(fprintf(stderr, "%*c+ type_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' NAME type_param_default?"));
11306|  1.33k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11307|  1.33k|            if (_token == NULL) {
  ------------------
  |  Branch (11307:17): [True: 0, False: 1.33k]
  ------------------
11308|      0|                p->level--;
11309|      0|                return NULL;
11310|      0|            }
11311|  1.33k|            int _end_lineno = _token->end_lineno;
11312|  1.33k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.33k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.33k]
  |  |  ------------------
  ------------------
11313|  1.33k|            int _end_col_offset = _token->end_col_offset;
11314|  1.33k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.33k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.33k]
  |  |  ------------------
  ------------------
11315|  1.33k|            _res = _PyAST_ParamSpec ( a -> v . Name . id , b , EXTRA );
  ------------------
  |  |  316|  1.33k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11316|  1.33k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11316:18): [True: 0, False: 1.33k]
  |  Branch (11316:34): [True: 0, False: 1.33k]
  |  Branch (11316:57): [True: 0, False: 0]
  ------------------
11317|      0|                p->error_indicator = 1;
11318|      0|                p->level--;
11319|      0|                return NULL;
11320|      0|            }
11321|  1.33k|            goto done;
11322|  1.33k|        }
11323|  2.27k|        p->mark = _mark;
11324|  2.27k|        D(fprintf(stderr, "%*c%s type_param[%d-%d]: %s failed!\n", p->level, ' ',
11325|  2.27k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' NAME type_param_default?"));
11326|  2.27k|    }
11327|  2.27k|    _res = NULL;
11328|  22.1k|  done:
11329|  22.1k|    _PyPegen_insert_memo(p, _mark, type_param_type, _res);
  ------------------
  |  |  193|  22.1k|#define type_param_type 1104
  ------------------
11330|  22.1k|    p->level--;
11331|  22.1k|    return _res;
11332|  2.27k|}
parser.c:type_param_bound_rule:
11337|  15.6k|{
11338|  15.6k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  31.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11338:9): [True: 0, False: 15.6k]
  |  Branch (11338:35): [True: 0, False: 15.6k]
  ------------------
11339|      0|        _Pypegen_stack_overflow(p);
11340|      0|    }
11341|  15.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (11341:9): [True: 0, False: 15.6k]
  ------------------
11342|      0|        p->level--;
11343|      0|        return NULL;
11344|      0|    }
11345|  15.6k|    expr_ty _res = NULL;
11346|  15.6k|    int _mark = p->mark;
11347|  15.6k|    { // ':' expression
11348|  15.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (11348:13): [True: 0, False: 15.6k]
  ------------------
11349|      0|            p->level--;
11350|      0|            return NULL;
11351|      0|        }
11352|  15.6k|        D(fprintf(stderr, "%*c> type_param_bound[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' expression"));
11353|  15.6k|        Token * _literal;
11354|  15.6k|        expr_ty e;
11355|  15.6k|        if (
11356|  15.6k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (11356:13): [True: 5.00k, False: 10.6k]
  ------------------
11357|  5.00k|            &&
11358|  5.00k|            (e = expression_rule(p))  // expression
  ------------------
  |  |  461|  5.00k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11358:13): [True: 4.99k, False: 9]
  ------------------
11359|  15.6k|        )
11360|  4.99k|        {
11361|  4.99k|            D(fprintf(stderr, "%*c+ type_param_bound[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' expression"));
11362|  4.99k|            _res = e;
11363|  4.99k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11363:18): [True: 0, False: 4.99k]
  |  Branch (11363:34): [True: 0, False: 4.99k]
  |  Branch (11363:57): [True: 0, False: 0]
  ------------------
11364|      0|                p->error_indicator = 1;
11365|      0|                p->level--;
11366|      0|                return NULL;
11367|      0|            }
11368|  4.99k|            goto done;
11369|  4.99k|        }
11370|  10.6k|        p->mark = _mark;
11371|  10.6k|        D(fprintf(stderr, "%*c%s type_param_bound[%d-%d]: %s failed!\n", p->level, ' ',
11372|  10.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' expression"));
11373|  10.6k|    }
11374|  10.6k|    _res = NULL;
11375|  15.6k|  done:
11376|  15.6k|    p->level--;
11377|  15.6k|    return _res;
11378|  10.6k|}
parser.c:type_param_default_rule:
11383|  16.9k|{
11384|  16.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  33.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11384:9): [True: 0, False: 16.9k]
  |  Branch (11384:35): [True: 0, False: 16.9k]
  ------------------
11385|      0|        _Pypegen_stack_overflow(p);
11386|      0|    }
11387|  16.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (11387:9): [True: 0, False: 16.9k]
  ------------------
11388|      0|        p->level--;
11389|      0|        return NULL;
11390|      0|    }
11391|  16.9k|    expr_ty _res = NULL;
11392|  16.9k|    int _mark = p->mark;
11393|  16.9k|    { // '=' expression
11394|  16.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (11394:13): [True: 0, False: 16.9k]
  ------------------
11395|      0|            p->level--;
11396|      0|            return NULL;
11397|      0|        }
11398|  16.9k|        D(fprintf(stderr, "%*c> type_param_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' expression"));
11399|  16.9k|        Token * _literal;
11400|  16.9k|        expr_ty e;
11401|  16.9k|        if (
11402|  16.9k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (11402:13): [True: 941, False: 16.0k]
  ------------------
11403|    941|            &&
11404|    941|            (e = expression_rule(p))  // expression
  ------------------
  |  |  461|    941|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11404:13): [True: 936, False: 5]
  ------------------
11405|  16.9k|        )
11406|    936|        {
11407|    936|            D(fprintf(stderr, "%*c+ type_param_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'=' expression"));
11408|    936|            _res = CHECK_VERSION ( expr_ty , 13 , "Type parameter defaults are" , e );
  ------------------
  |  |  354|    936|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
11409|    936|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11409:18): [True: 0, False: 936]
  |  Branch (11409:34): [True: 0, False: 936]
  |  Branch (11409:57): [True: 0, False: 0]
  ------------------
11410|      0|                p->error_indicator = 1;
11411|      0|                p->level--;
11412|      0|                return NULL;
11413|      0|            }
11414|    936|            goto done;
11415|    936|        }
11416|  16.0k|        p->mark = _mark;
11417|  16.0k|        D(fprintf(stderr, "%*c%s type_param_default[%d-%d]: %s failed!\n", p->level, ' ',
11418|  16.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' expression"));
11419|  16.0k|    }
11420|  16.0k|    _res = NULL;
11421|  16.9k|  done:
11422|  16.9k|    p->level--;
11423|  16.9k|    return _res;
11424|  16.0k|}
parser.c:type_param_starred_default_rule:
11429|  2.89k|{
11430|  2.89k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  5.78k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11430:9): [True: 0, False: 2.89k]
  |  Branch (11430:35): [True: 0, False: 2.89k]
  ------------------
11431|      0|        _Pypegen_stack_overflow(p);
11432|      0|    }
11433|  2.89k|    if (p->error_indicator) {
  ------------------
  |  Branch (11433:9): [True: 0, False: 2.89k]
  ------------------
11434|      0|        p->level--;
11435|      0|        return NULL;
11436|      0|    }
11437|  2.89k|    expr_ty _res = NULL;
11438|  2.89k|    int _mark = p->mark;
11439|  2.89k|    { // '=' star_expression
11440|  2.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (11440:13): [True: 0, False: 2.89k]
  ------------------
11441|      0|            p->level--;
11442|      0|            return NULL;
11443|      0|        }
11444|  2.89k|        D(fprintf(stderr, "%*c> type_param_starred_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' star_expression"));
11445|  2.89k|        Token * _literal;
11446|  2.89k|        expr_ty e;
11447|  2.89k|        if (
11448|  2.89k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (11448:13): [True: 1.46k, False: 1.43k]
  ------------------
11449|  1.46k|            &&
11450|  1.46k|            (e = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (11450:13): [True: 1.45k, False: 4]
  ------------------
11451|  2.89k|        )
11452|  1.45k|        {
11453|  1.45k|            D(fprintf(stderr, "%*c+ type_param_starred_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'=' star_expression"));
11454|  1.45k|            _res = CHECK_VERSION ( expr_ty , 13 , "Type parameter defaults are" , e );
  ------------------
  |  |  354|  1.45k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
11455|  1.45k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11455:18): [True: 0, False: 1.45k]
  |  Branch (11455:34): [True: 0, False: 1.45k]
  |  Branch (11455:57): [True: 0, False: 0]
  ------------------
11456|      0|                p->error_indicator = 1;
11457|      0|                p->level--;
11458|      0|                return NULL;
11459|      0|            }
11460|  1.45k|            goto done;
11461|  1.45k|        }
11462|  1.43k|        p->mark = _mark;
11463|  1.43k|        D(fprintf(stderr, "%*c%s type_param_starred_default[%d-%d]: %s failed!\n", p->level, ' ',
11464|  1.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' star_expression"));
11465|  1.43k|    }
11466|  1.43k|    _res = NULL;
11467|  2.89k|  done:
11468|  2.89k|    p->level--;
11469|  2.89k|    return _res;
11470|  1.43k|}
parser.c:_loop0_53_rule:
22755|  8.90k|{
22756|  8.90k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  17.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22756:9): [True: 0, False: 8.90k]
  |  Branch (22756:35): [True: 0, False: 8.90k]
  ------------------
22757|      0|        _Pypegen_stack_overflow(p);
22758|      0|    }
22759|  8.90k|    if (p->error_indicator) {
  ------------------
  |  Branch (22759:9): [True: 0, False: 8.90k]
  ------------------
22760|      0|        p->level--;
22761|      0|        return NULL;
22762|      0|    }
22763|  8.90k|    void *_res = NULL;
22764|  8.90k|    int _mark = p->mark;
22765|  8.90k|    void **_children = NULL;
22766|  8.90k|    Py_ssize_t _children_capacity = 0;
22767|  8.90k|    Py_ssize_t _n = 0;
22768|  8.90k|    { // ',' type_param
22769|  8.90k|        if (p->error_indicator) {
  ------------------
  |  Branch (22769:13): [True: 0, False: 8.90k]
  ------------------
22770|      0|            p->level--;
22771|      0|            return NULL;
22772|      0|        }
22773|  8.90k|        D(fprintf(stderr, "%*c> _loop0_53[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' type_param"));
22774|  8.90k|        Token * _literal;
22775|  8.90k|        type_param_ty elem;
22776|  8.90k|        while (
22777|  22.5k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (22777:13): [True: 16.2k, False: 6.34k]
  ------------------
22778|  16.2k|            &&
22779|  16.2k|            (elem = type_param_rule(p))  // type_param
  ------------------
  |  Branch (22779:13): [True: 13.6k, False: 2.56k]
  ------------------
22780|  8.90k|        )
22781|  13.6k|        {
22782|  13.6k|            _res = elem;
22783|  13.6k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22783:18): [True: 0, False: 13.6k]
  |  Branch (22783:34): [True: 0, False: 13.6k]
  |  Branch (22783:57): [True: 0, False: 0]
  ------------------
22784|      0|                p->error_indicator = 1;
22785|      0|                PyMem_Free(_children);
22786|      0|                p->level--;
22787|      0|                return NULL;
22788|      0|            }
22789|  13.6k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (22789:17): [True: 8.86k, False: 4.77k]
  ------------------
22790|  8.86k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (22790:21): [True: 0, False: 8.86k]
  ------------------
22791|      0|                    p->error_indicator = 1;
22792|      0|                    PyErr_NoMemory();
22793|      0|                    PyMem_Free(_children);
22794|      0|                    p->level--;
22795|      0|                    return NULL;
22796|      0|                }
22797|  8.86k|            }
22798|  13.6k|            _children[_n++] = _res;
22799|  13.6k|            _mark = p->mark;
22800|  13.6k|        }
22801|  8.90k|        p->mark = _mark;
22802|  8.90k|        D(fprintf(stderr, "%*c%s _loop0_53[%d-%d]: %s failed!\n", p->level, ' ',
22803|  8.90k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' type_param"));
22804|  8.90k|    }
22805|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
22806|  8.90k|    if (!_seq) {
  ------------------
  |  Branch (22806:9): [True: 0, False: 8.90k]
  ------------------
22807|      0|        p->error_indicator = 1;
22808|      0|        PyErr_NoMemory();
22809|      0|        PyMem_Free(_children);
22810|      0|        p->level--;
22811|      0|        return NULL;
22812|      0|    }
22813|  22.5k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  13.6k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  22.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (22813:28): [True: 13.6k, False: 8.90k]
  ------------------
22814|  8.90k|    PyMem_Free(_children);
22815|  8.90k|    p->level--;
22816|  8.90k|    return _seq;
22817|  8.90k|}
parser.c:star_expression_rule:
12048|  3.49M|{
12049|  3.49M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.98M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12049:9): [True: 1, False: 3.49M]
  |  Branch (12049:35): [True: 0, False: 3.49M]
  ------------------
12050|      1|        _Pypegen_stack_overflow(p);
12051|      1|    }
12052|  3.49M|    if (p->error_indicator) {
  ------------------
  |  Branch (12052:9): [True: 1, False: 3.49M]
  ------------------
12053|      1|        p->level--;
12054|      1|        return NULL;
12055|      1|    }
12056|  3.49M|    expr_ty _res = NULL;
12057|  3.49M|    if (_PyPegen_is_memoized(p, star_expression_type, &_res)) {
  ------------------
  |  |  202|  3.49M|#define star_expression_type 1113
  ------------------
  |  Branch (12057:9): [True: 3.02M, False: 470k]
  ------------------
12058|  3.02M|        p->level--;
12059|  3.02M|        return _res;
12060|  3.02M|    }
12061|   470k|    int _mark = p->mark;
12062|   470k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12062:9): [True: 0, False: 470k]
  |  Branch (12062:31): [True: 0, False: 0]
  ------------------
12063|      0|        p->error_indicator = 1;
12064|      0|        p->level--;
12065|      0|        return NULL;
12066|      0|    }
12067|   470k|    int _start_lineno = p->tokens[_mark]->lineno;
12068|   470k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   470k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 470k]
  |  |  ------------------
  ------------------
12069|   470k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12070|   470k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   470k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 470k]
  |  |  ------------------
  ------------------
12071|   470k|    { // '*' bitwise_or
12072|   470k|        if (p->error_indicator) {
  ------------------
  |  Branch (12072:13): [True: 0, False: 470k]
  ------------------
12073|      0|            p->level--;
12074|      0|            return NULL;
12075|      0|        }
12076|   470k|        D(fprintf(stderr, "%*c> star_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12077|   470k|        Token * _literal;
12078|   470k|        expr_ty a;
12079|   470k|        if (
12080|   470k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (12080:13): [True: 7.66k, False: 462k]
  ------------------
12081|  7.66k|            &&
12082|  7.66k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|  7.66k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12082:13): [True: 7.18k, False: 483]
  ------------------
12083|   470k|        )
12084|  7.18k|        {
12085|  7.18k|            D(fprintf(stderr, "%*c+ star_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12086|  7.18k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12087|  7.18k|            if (_token == NULL) {
  ------------------
  |  Branch (12087:17): [True: 0, False: 7.18k]
  ------------------
12088|      0|                p->level--;
12089|      0|                return NULL;
12090|      0|            }
12091|  7.18k|            int _end_lineno = _token->end_lineno;
12092|  7.18k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  7.18k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 7.18k]
  |  |  ------------------
  ------------------
12093|  7.18k|            int _end_col_offset = _token->end_col_offset;
12094|  7.18k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  7.18k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 7.18k]
  |  |  ------------------
  ------------------
12095|  7.18k|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  316|  7.18k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12096|  7.18k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12096:18): [True: 0, False: 7.18k]
  |  Branch (12096:34): [True: 0, False: 7.18k]
  |  Branch (12096:57): [True: 0, False: 0]
  ------------------
12097|      0|                p->error_indicator = 1;
12098|      0|                p->level--;
12099|      0|                return NULL;
12100|      0|            }
12101|  7.18k|            goto done;
12102|  7.18k|        }
12103|   463k|        p->mark = _mark;
12104|   463k|        D(fprintf(stderr, "%*c%s star_expression[%d-%d]: %s failed!\n", p->level, ' ',
12105|   463k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or"));
12106|   463k|    }
12107|      0|    { // expression
12108|   463k|        if (p->error_indicator) {
  ------------------
  |  Branch (12108:13): [True: 85, False: 463k]
  ------------------
12109|     85|            p->level--;
12110|     85|            return NULL;
12111|     85|        }
12112|   463k|        D(fprintf(stderr, "%*c> star_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
12113|   463k|        expr_ty expression_var;
12114|   463k|        if (
12115|   463k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  461|   463k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (12115:13): [True: 310k, False: 152k]
  ------------------
12116|   463k|        )
12117|   310k|        {
12118|   310k|            D(fprintf(stderr, "%*c+ star_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression"));
12119|   310k|            _res = expression_var;
12120|   310k|            goto done;
12121|   310k|        }
12122|   152k|        p->mark = _mark;
12123|   152k|        D(fprintf(stderr, "%*c%s star_expression[%d-%d]: %s failed!\n", p->level, ' ',
12124|   152k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
12125|   152k|    }
12126|   152k|    _res = NULL;
12127|   470k|  done:
12128|   470k|    _PyPegen_insert_memo(p, _mark, star_expression_type, _res);
  ------------------
  |  |  202|   470k|#define star_expression_type 1113
  ------------------
12129|   470k|    p->level--;
12130|   470k|    return _res;
12131|   152k|}
parser.c:conjunction_rule:
12512|   829k|{
12513|   829k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.65M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12513:9): [True: 1, False: 829k]
  |  Branch (12513:35): [True: 0, False: 829k]
  ------------------
12514|      1|        _Pypegen_stack_overflow(p);
12515|      1|    }
12516|   829k|    if (p->error_indicator) {
  ------------------
  |  Branch (12516:9): [True: 1, False: 829k]
  ------------------
12517|      1|        p->level--;
12518|      1|        return NULL;
12519|      1|    }
12520|   829k|    expr_ty _res = NULL;
12521|   829k|    if (_PyPegen_is_memoized(p, conjunction_type, &_res)) {
  ------------------
  |  |  208|   829k|#define conjunction_type 1119
  ------------------
  |  Branch (12521:9): [True: 128k, False: 701k]
  ------------------
12522|   128k|        p->level--;
12523|   128k|        return _res;
12524|   128k|    }
12525|   701k|    int _mark = p->mark;
12526|   701k|    expr_ty _prefix_3_result = NULL;
12527|   701k|    int _prefix_3_end = 0, _prefix_3_valid = 0;
12528|   701k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12528:9): [True: 0, False: 701k]
  |  Branch (12528:31): [True: 0, False: 0]
  ------------------
12529|      0|        p->error_indicator = 1;
12530|      0|        p->level--;
12531|      0|        return NULL;
12532|      0|    }
12533|   701k|    int _start_lineno = p->tokens[_mark]->lineno;
12534|   701k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   701k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 701k]
  |  |  ------------------
  ------------------
12535|   701k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12536|   701k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   701k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 701k]
  |  |  ------------------
  ------------------
12537|   701k|    { // inversion (('and' inversion))+
12538|   701k|        if (p->error_indicator) {
  ------------------
  |  Branch (12538:13): [True: 0, False: 701k]
  ------------------
12539|      0|            p->level--;
12540|      0|            return NULL;
12541|      0|        }
12542|   701k|        D(fprintf(stderr, "%*c> conjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "inversion (('and' inversion))+"));
12543|   701k|        expr_ty a;
12544|   701k|        asdl_seq * b;
12545|   701k|        if (
12546|   701k|            (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|   701k|#define inversion_rule _PyPegen_inversion_rule
  ------------------
  |  Branch (12546:13): [True: 296k, False: 404k]
  |  Branch (12546:20): [True: 536k, False: 164k]
  |  Branch (12546:46): [True: 0, False: 536k]
  ------------------
12547|   296k|            &&
12548|   296k|            (b = _loop1_60_rule(p))  // (('and' inversion))+
  ------------------
  |  Branch (12548:13): [True: 1.57k, False: 295k]
  ------------------
12549|   701k|        )
12550|  1.57k|        {
12551|  1.57k|            D(fprintf(stderr, "%*c+ conjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "inversion (('and' inversion))+"));
12552|  1.57k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12553|  1.57k|            if (_token == NULL) {
  ------------------
  |  Branch (12553:17): [True: 0, False: 1.57k]
  ------------------
12554|      0|                p->level--;
12555|      0|                return NULL;
12556|      0|            }
12557|  1.57k|            int _end_lineno = _token->end_lineno;
12558|  1.57k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.57k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.57k]
  |  |  ------------------
  ------------------
12559|  1.57k|            int _end_col_offset = _token->end_col_offset;
12560|  1.57k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.57k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.57k]
  |  |  ------------------
  ------------------
12561|  1.57k|            _res = _PyAST_BoolOp ( And , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  280|  1.57k|#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|  1.57k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12562|  1.57k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12562:18): [True: 0, False: 1.57k]
  |  Branch (12562:34): [True: 0, False: 1.57k]
  |  Branch (12562:57): [True: 0, False: 0]
  ------------------
12563|      0|                p->error_indicator = 1;
12564|      0|                p->level--;
12565|      0|                return NULL;
12566|      0|            }
12567|  1.57k|            goto done;
12568|  1.57k|        }
12569|   699k|        p->mark = _mark;
12570|   699k|        D(fprintf(stderr, "%*c%s conjunction[%d-%d]: %s failed!\n", p->level, ' ',
12571|   699k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "inversion (('and' inversion))+"));
12572|   699k|    }
12573|      0|    { // inversion
12574|   699k|        if (p->error_indicator) {
  ------------------
  |  Branch (12574:13): [True: 48.0k, False: 651k]
  ------------------
12575|  48.0k|            p->level--;
12576|  48.0k|            return NULL;
12577|  48.0k|        }
12578|   651k|        D(fprintf(stderr, "%*c> conjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "inversion"));
12579|   651k|        expr_ty inversion_var;
12580|   651k|        if (
12581|   651k|            (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|   129k|#define inversion_rule _PyPegen_inversion_rule
  ------------------
  |  Branch (12581:13): [True: 294k, False: 356k]
  |  Branch (12581:32): [True: 522k, False: 129k]
  |  Branch (12581:58): [True: 522k, False: 0]
  ------------------
12582|   651k|        )
12583|   294k|        {
12584|   294k|            D(fprintf(stderr, "%*c+ conjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "inversion"));
12585|   294k|            _res = inversion_var;
12586|   294k|            goto done;
12587|   294k|        }
12588|   356k|        p->mark = _mark;
12589|   356k|        D(fprintf(stderr, "%*c%s conjunction[%d-%d]: %s failed!\n", p->level, ' ',
12590|   356k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "inversion"));
12591|   356k|    }
12592|   356k|    _res = NULL;
12593|   653k|  done:
12594|   653k|    _PyPegen_insert_memo(p, _mark, conjunction_type, _res);
  ------------------
  |  |  208|   653k|#define conjunction_type 1119
  ------------------
12595|   653k|    p->level--;
12596|   653k|    return _res;
12597|   356k|}
parser.c:_loop1_60_rule:
23160|   296k|{
23161|   296k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   593k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23161:9): [True: 0, False: 296k]
  |  Branch (23161:35): [True: 0, False: 296k]
  ------------------
23162|      0|        _Pypegen_stack_overflow(p);
23163|      0|    }
23164|   296k|    if (p->error_indicator) {
  ------------------
  |  Branch (23164:9): [True: 0, False: 296k]
  ------------------
23165|      0|        p->level--;
23166|      0|        return NULL;
23167|      0|    }
23168|   296k|    void *_res = NULL;
23169|   296k|    int _mark = p->mark;
23170|   296k|    void **_children = NULL;
23171|   296k|    Py_ssize_t _children_capacity = 0;
23172|   296k|    Py_ssize_t _n = 0;
23173|   296k|    { // ('and' inversion)
23174|   296k|        if (p->error_indicator) {
  ------------------
  |  Branch (23174:13): [True: 0, False: 296k]
  ------------------
23175|      0|            p->level--;
23176|      0|            return NULL;
23177|      0|        }
23178|   296k|        D(fprintf(stderr, "%*c> _loop1_60[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('and' inversion)"));
23179|   296k|        void *_tmp_183_var;
23180|   296k|        while (
23181|   301k|            (_tmp_183_var = _tmp_183_rule(p))  // 'and' inversion
  ------------------
  |  Branch (23181:13): [True: 4.39k, False: 296k]
  ------------------
23182|   296k|        )
23183|  4.39k|        {
23184|  4.39k|            _res = _tmp_183_var;
23185|  4.39k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23185:17): [True: 2.85k, False: 1.54k]
  ------------------
23186|  2.85k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23186:21): [True: 0, False: 2.85k]
  ------------------
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|  2.85k|            }
23194|  4.39k|            _children[_n++] = _res;
23195|  4.39k|            _mark = p->mark;
23196|  4.39k|        }
23197|   296k|        p->mark = _mark;
23198|   296k|        D(fprintf(stderr, "%*c%s _loop1_60[%d-%d]: %s failed!\n", p->level, ' ',
23199|   296k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('and' inversion)"));
23200|   296k|    }
23201|   296k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (23201:9): [True: 295k, False: 1.67k]
  |  Branch (23201:20): [True: 103, False: 1.57k]
  ------------------
23202|   295k|        PyMem_Free(_children);
23203|   295k|        p->level--;
23204|   295k|        return NULL;
23205|   295k|    }
23206|  1.57k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23207|  1.57k|    if (!_seq) {
  ------------------
  |  Branch (23207:9): [True: 0, False: 1.57k]
  ------------------
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|  5.57k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  3.99k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  5.57k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23214:28): [True: 3.99k, False: 1.57k]
  ------------------
23215|  1.57k|    PyMem_Free(_children);
23216|  1.57k|    p->level--;
23217|  1.57k|    return _seq;
23218|  1.57k|}
parser.c:_tmp_183_rule:
26045|   301k|{
26046|   301k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   602k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26046:9): [True: 0, False: 301k]
  |  Branch (26046:35): [True: 0, False: 301k]
  ------------------
26047|      0|        _Pypegen_stack_overflow(p);
26048|      0|    }
26049|   301k|    if (p->error_indicator) {
  ------------------
  |  Branch (26049:9): [True: 0, False: 301k]
  ------------------
26050|      0|        p->level--;
26051|      0|        return NULL;
26052|      0|    }
26053|   301k|    void * _res = NULL;
26054|   301k|    int _mark = p->mark;
26055|   301k|    { // 'and' inversion
26056|   301k|        if (p->error_indicator) {
  ------------------
  |  Branch (26056:13): [True: 0, False: 301k]
  ------------------
26057|      0|            p->level--;
26058|      0|            return NULL;
26059|      0|        }
26060|   301k|        D(fprintf(stderr, "%*c> _tmp_183[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'and' inversion"));
26061|   301k|        Token * _keyword;
26062|   301k|        expr_ty c;
26063|   301k|        if (
26064|   301k|            (_keyword = _PyPegen_expect_token(p, 530))  // token='and'
  ------------------
  |  Branch (26064:13): [True: 4.75k, False: 296k]
  ------------------
26065|  4.75k|            &&
26066|  4.75k|            (c = inversion_rule(p))  // inversion
  ------------------
  |  |  479|  4.75k|#define inversion_rule _PyPegen_inversion_rule
  ------------------
  |  Branch (26066:13): [True: 4.39k, False: 353]
  ------------------
26067|   301k|        )
26068|  4.39k|        {
26069|  4.39k|            D(fprintf(stderr, "%*c+ _tmp_183[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'and' inversion"));
26070|  4.39k|            _res = c;
26071|  4.39k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26071:18): [True: 0, False: 4.39k]
  |  Branch (26071:34): [True: 0, False: 4.39k]
  |  Branch (26071:57): [True: 0, False: 0]
  ------------------
26072|      0|                p->error_indicator = 1;
26073|      0|                p->level--;
26074|      0|                return NULL;
26075|      0|            }
26076|  4.39k|            goto done;
26077|  4.39k|        }
26078|   296k|        p->mark = _mark;
26079|   296k|        D(fprintf(stderr, "%*c%s _tmp_183[%d-%d]: %s failed!\n", p->level, ' ',
26080|   296k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'and' inversion"));
26081|   296k|    }
26082|   296k|    _res = NULL;
26083|   301k|  done:
26084|   301k|    p->level--;
26085|   301k|    return _res;
26086|   296k|}
parser.c:comparison_rule:
12694|   704k|{
12695|   704k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.40M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12695:9): [True: 1, False: 704k]
  |  Branch (12695:35): [True: 0, False: 704k]
  ------------------
12696|      1|        _Pypegen_stack_overflow(p);
12697|      1|    }
12698|   704k|    if (p->error_indicator) {
  ------------------
  |  Branch (12698:9): [True: 1, False: 704k]
  ------------------
12699|      1|        p->level--;
12700|      1|        return NULL;
12701|      1|    }
12702|   704k|    expr_ty _res = NULL;
12703|   704k|    int _mark = p->mark;
12704|   704k|    expr_ty _prefix_4_result = NULL;
12705|   704k|    int _prefix_4_end = 0, _prefix_4_valid = 0;
12706|   704k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12706:9): [True: 0, False: 704k]
  |  Branch (12706:31): [True: 0, False: 0]
  ------------------
12707|      0|        p->error_indicator = 1;
12708|      0|        p->level--;
12709|      0|        return NULL;
12710|      0|    }
12711|   704k|    int _start_lineno = p->tokens[_mark]->lineno;
12712|   704k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   704k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 704k]
  |  |  ------------------
  ------------------
12713|   704k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12714|   704k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   704k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 704k]
  |  |  ------------------
  ------------------
12715|   704k|    { // bitwise_or compare_op_bitwise_or_pair+
12716|   704k|        if (p->error_indicator) {
  ------------------
  |  Branch (12716:13): [True: 0, False: 704k]
  ------------------
12717|      0|            p->level--;
12718|      0|            return NULL;
12719|      0|        }
12720|   704k|        D(fprintf(stderr, "%*c> comparison[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12721|   704k|        expr_ty a;
12722|   704k|        asdl_seq * b;
12723|   704k|        if (
12724|   704k|            (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|   704k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12724:13): [True: 302k, False: 402k]
  |  Branch (12724:20): [True: 539k, False: 165k]
  |  Branch (12724:46): [True: 0, False: 539k]
  ------------------
12725|   302k|            &&
12726|   302k|            (b = _loop1_61_rule(p))  // compare_op_bitwise_or_pair+
  ------------------
  |  Branch (12726:13): [True: 26.9k, False: 275k]
  ------------------
12727|   704k|        )
12728|  26.9k|        {
12729|  26.9k|            D(fprintf(stderr, "%*c+ comparison[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12730|  26.9k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12731|  26.9k|            if (_token == NULL) {
  ------------------
  |  Branch (12731:17): [True: 0, False: 26.9k]
  ------------------
12732|      0|                p->level--;
12733|      0|                return NULL;
12734|      0|            }
12735|  26.9k|            int _end_lineno = _token->end_lineno;
12736|  26.9k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  26.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 26.9k]
  |  |  ------------------
  ------------------
12737|  26.9k|            int _end_col_offset = _token->end_col_offset;
12738|  26.9k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  26.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 26.9k]
  |  |  ------------------
  ------------------
12739|  26.9k|            _res = _PyAST_Compare ( a , CHECK ( asdl_int_seq* , _PyPegen_get_cmpops ( p , b ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_exprs ( p , b ) ) , EXTRA );
  ------------------
  |  |  280|  26.9k|#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|  26.9k|#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|  26.9k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12740|  26.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12740:18): [True: 0, False: 26.9k]
  |  Branch (12740:34): [True: 0, False: 26.9k]
  |  Branch (12740:57): [True: 0, False: 0]
  ------------------
12741|      0|                p->error_indicator = 1;
12742|      0|                p->level--;
12743|      0|                return NULL;
12744|      0|            }
12745|  26.9k|            goto done;
12746|  26.9k|        }
12747|   677k|        p->mark = _mark;
12748|   677k|        D(fprintf(stderr, "%*c%s comparison[%d-%d]: %s failed!\n", p->level, ' ',
12749|   677k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12750|   677k|    }
12751|      0|    { // bitwise_or
12752|   677k|        if (p->error_indicator) {
  ------------------
  |  Branch (12752:13): [True: 48.0k, False: 629k]
  ------------------
12753|  48.0k|            p->level--;
12754|  48.0k|            return NULL;
12755|  48.0k|        }
12756|   629k|        D(fprintf(stderr, "%*c> comparison[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or"));
12757|   629k|        expr_ty bitwise_or_var;
12758|   629k|        if (
12759|   629k|            (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|   126k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12759:13): [True: 272k, False: 357k]
  |  Branch (12759:33): [True: 503k, False: 126k]
  |  Branch (12759:59): [True: 503k, False: 0]
  ------------------
12760|   629k|        )
12761|   272k|        {
12762|   272k|            D(fprintf(stderr, "%*c+ comparison[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or"));
12763|   272k|            _res = bitwise_or_var;
12764|   272k|            goto done;
12765|   272k|        }
12766|   357k|        p->mark = _mark;
12767|   357k|        D(fprintf(stderr, "%*c%s comparison[%d-%d]: %s failed!\n", p->level, ' ',
12768|   357k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or"));
12769|   357k|    }
12770|   357k|    _res = NULL;
12771|   656k|  done:
12772|   656k|    p->level--;
12773|   656k|    return _res;
12774|   357k|}
parser.c:_loop1_61_rule:
23223|   302k|{
23224|   302k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   604k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23224:9): [True: 0, False: 302k]
  |  Branch (23224:35): [True: 0, False: 302k]
  ------------------
23225|      0|        _Pypegen_stack_overflow(p);
23226|      0|    }
23227|   302k|    if (p->error_indicator) {
  ------------------
  |  Branch (23227:9): [True: 0, False: 302k]
  ------------------
23228|      0|        p->level--;
23229|      0|        return NULL;
23230|      0|    }
23231|   302k|    void *_res = NULL;
23232|   302k|    int _mark = p->mark;
23233|   302k|    void **_children = NULL;
23234|   302k|    Py_ssize_t _children_capacity = 0;
23235|   302k|    Py_ssize_t _n = 0;
23236|   302k|    { // compare_op_bitwise_or_pair
23237|   302k|        if (p->error_indicator) {
  ------------------
  |  Branch (23237:13): [True: 0, False: 302k]
  ------------------
23238|      0|            p->level--;
23239|      0|            return NULL;
23240|      0|        }
23241|   302k|        D(fprintf(stderr, "%*c> _loop1_61[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "compare_op_bitwise_or_pair"));
23242|   302k|        CmpopExprPair* compare_op_bitwise_or_pair_var;
23243|   302k|        while (
23244|   366k|            (compare_op_bitwise_or_pair_var = compare_op_bitwise_or_pair_rule(p))  // compare_op_bitwise_or_pair
  ------------------
  |  Branch (23244:13): [True: 63.9k, False: 302k]
  ------------------
23245|   302k|        )
23246|  63.9k|        {
23247|  63.9k|            _res = compare_op_bitwise_or_pair_var;
23248|  63.9k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23248:17): [True: 44.6k, False: 19.3k]
  ------------------
23249|  44.6k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23249:21): [True: 0, False: 44.6k]
  ------------------
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|  44.6k|            }
23257|  63.9k|            _children[_n++] = _res;
23258|  63.9k|            _mark = p->mark;
23259|  63.9k|        }
23260|   302k|        p->mark = _mark;
23261|   302k|        D(fprintf(stderr, "%*c%s _loop1_61[%d-%d]: %s failed!\n", p->level, ' ',
23262|   302k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "compare_op_bitwise_or_pair"));
23263|   302k|    }
23264|   302k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (23264:9): [True: 274k, False: 27.5k]
  |  Branch (23264:20): [True: 612, False: 26.9k]
  ------------------
23265|   275k|        PyMem_Free(_children);
23266|   275k|        p->level--;
23267|   275k|        return NULL;
23268|   275k|    }
23269|  26.9k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23270|  26.9k|    if (!_seq) {
  ------------------
  |  Branch (23270:9): [True: 0, False: 26.9k]
  ------------------
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|  90.2k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  63.3k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  90.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23277:28): [True: 63.3k, False: 26.9k]
  ------------------
23278|  26.9k|    PyMem_Free(_children);
23279|  26.9k|    p->level--;
23280|  26.9k|    return _seq;
23281|  26.9k|}
parser.c:compare_op_bitwise_or_pair_rule:
12790|   366k|{
12791|   366k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   732k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12791:9): [True: 0, False: 366k]
  |  Branch (12791:35): [True: 0, False: 366k]
  ------------------
12792|      0|        _Pypegen_stack_overflow(p);
12793|      0|    }
12794|   366k|    if (p->error_indicator) {
  ------------------
  |  Branch (12794:9): [True: 0, False: 366k]
  ------------------
12795|      0|        p->level--;
12796|      0|        return NULL;
12797|      0|    }
12798|   366k|    CmpopExprPair* _res = NULL;
12799|   366k|    int _mark = p->mark;
12800|   366k|    { // '==' bitwise_or
12801|   366k|        if (p->error_indicator) {
  ------------------
  |  Branch (12801:13): [True: 0, False: 366k]
  ------------------
12802|      0|            p->level--;
12803|      0|            return NULL;
12804|      0|        }
12805|   366k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'==' bitwise_or"));
12806|   366k|        Token * _literal;
12807|   366k|        expr_ty a;
12808|   366k|        if (
12809|   366k|            (_literal = _PyPegen_expect_token(p, 27))  // token='=='
  ------------------
  |  Branch (12809:13): [True: 3.73k, False: 362k]
  ------------------
12810|  3.73k|            &&
12811|  3.73k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|  3.73k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12811:13): [True: 3.26k, False: 466]
  ------------------
12812|   366k|        )
12813|  3.26k|        {
12814|  3.26k|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'==' bitwise_or"));
12815|  3.26k|            _res = _PyPegen_cmpop_expr_pair ( p , Eq , a );
12816|  3.26k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12816:18): [True: 0, False: 3.26k]
  |  Branch (12816:34): [True: 0, False: 3.26k]
  |  Branch (12816:57): [True: 0, False: 0]
  ------------------
12817|      0|                p->error_indicator = 1;
12818|      0|                p->level--;
12819|      0|                return NULL;
12820|      0|            }
12821|  3.26k|            goto done;
12822|  3.26k|        }
12823|   363k|        p->mark = _mark;
12824|   363k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12825|   363k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'==' bitwise_or"));
12826|   363k|    }
12827|      0|    { // ('!=') bitwise_or
12828|   363k|        if (p->error_indicator) {
  ------------------
  |  Branch (12828:13): [True: 289, False: 362k]
  ------------------
12829|    289|            p->level--;
12830|    289|            return NULL;
12831|    289|        }
12832|   362k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('!=') bitwise_or"));
12833|   362k|        void *_tmp_62_var;
12834|   362k|        expr_ty a;
12835|   362k|        if (
12836|   362k|            (_tmp_62_var = _tmp_62_rule(p))  // '!='
  ------------------
  |  Branch (12836:13): [True: 1.31k, False: 361k]
  ------------------
12837|  1.31k|            &&
12838|  1.31k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|  1.31k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12838:13): [True: 910, False: 401]
  ------------------
12839|   362k|        )
12840|    910|        {
12841|    910|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('!=') bitwise_or"));
12842|    910|            _res = _PyPegen_cmpop_expr_pair ( p , NotEq , a );
12843|    910|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12843:18): [True: 0, False: 910]
  |  Branch (12843:34): [True: 0, False: 910]
  |  Branch (12843:57): [True: 0, False: 0]
  ------------------
12844|      0|                p->error_indicator = 1;
12845|      0|                p->level--;
12846|      0|                return NULL;
12847|      0|            }
12848|    910|            goto done;
12849|    910|        }
12850|   361k|        p->mark = _mark;
12851|   361k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12852|   361k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('!=') bitwise_or"));
12853|   361k|    }
12854|      0|    { // '<=' bitwise_or
12855|   361k|        if (p->error_indicator) {
  ------------------
  |  Branch (12855:13): [True: 107, False: 361k]
  ------------------
12856|    107|            p->level--;
12857|    107|            return NULL;
12858|    107|        }
12859|   361k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<=' bitwise_or"));
12860|   361k|        Token * _literal;
12861|   361k|        expr_ty a;
12862|   361k|        if (
12863|   361k|            (_literal = _PyPegen_expect_token(p, 29))  // token='<='
  ------------------
  |  Branch (12863:13): [True: 3.36k, False: 358k]
  ------------------
12864|  3.36k|            &&
12865|  3.36k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|  3.36k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12865:13): [True: 2.87k, False: 486]
  ------------------
12866|   361k|        )
12867|  2.87k|        {
12868|  2.87k|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<=' bitwise_or"));
12869|  2.87k|            _res = _PyPegen_cmpop_expr_pair ( p , LtE , a );
12870|  2.87k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12870:18): [True: 0, False: 2.87k]
  |  Branch (12870:34): [True: 0, False: 2.87k]
  |  Branch (12870:57): [True: 0, False: 0]
  ------------------
12871|      0|                p->error_indicator = 1;
12872|      0|                p->level--;
12873|      0|                return NULL;
12874|      0|            }
12875|  2.87k|            goto done;
12876|  2.87k|        }
12877|   358k|        p->mark = _mark;
12878|   358k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12879|   358k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<=' bitwise_or"));
12880|   358k|    }
12881|   358k|    if (p->call_invalid_rules) { // invalid_noteq
  ------------------
  |  Branch (12881:9): [True: 70.0k, False: 288k]
  ------------------
12882|  70.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (12882:13): [True: 239, False: 69.8k]
  ------------------
12883|    239|            p->level--;
12884|    239|            return NULL;
12885|    239|        }
12886|  69.8k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_noteq"));
12887|  69.8k|        void *invalid_noteq_var;
12888|  69.8k|        if (
12889|  69.8k|            (invalid_noteq_var = invalid_noteq_rule(p))  // invalid_noteq
  ------------------
  |  |  661|  69.8k|#define invalid_noteq_rule _PyPegen_invalid_noteq_rule
  ------------------
  |  Branch (12889:13): [True: 0, False: 69.8k]
  ------------------
12890|  69.8k|        )
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|  69.8k|        p->mark = _mark;
12897|  69.8k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12898|  69.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_noteq"));
12899|  69.8k|    }
12900|   358k|    { // '<' bitwise_or
12901|   358k|        if (p->error_indicator) {
  ------------------
  |  Branch (12901:13): [True: 199, False: 358k]
  ------------------
12902|    199|            p->level--;
12903|    199|            return NULL;
12904|    199|        }
12905|   358k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<' bitwise_or"));
12906|   358k|        Token * _literal;
12907|   358k|        expr_ty a;
12908|   358k|        if (
12909|   358k|            (_literal = _PyPegen_expect_token(p, 20))  // token='<'
  ------------------
  |  Branch (12909:13): [True: 23.4k, False: 335k]
  ------------------
12910|  23.4k|            &&
12911|  23.4k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|  23.4k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12911:13): [True: 22.7k, False: 772]
  ------------------
12912|   358k|        )
12913|  22.7k|        {
12914|  22.7k|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<' bitwise_or"));
12915|  22.7k|            _res = _PyPegen_cmpop_expr_pair ( p , Lt , a );
12916|  22.7k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12916:18): [True: 0, False: 22.7k]
  |  Branch (12916:34): [True: 0, False: 22.7k]
  |  Branch (12916:57): [True: 0, False: 0]
  ------------------
12917|      0|                p->error_indicator = 1;
12918|      0|                p->level--;
12919|      0|                return NULL;
12920|      0|            }
12921|  22.7k|            goto done;
12922|  22.7k|        }
12923|   335k|        p->mark = _mark;
12924|   335k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12925|   335k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<' bitwise_or"));
12926|   335k|    }
12927|      0|    { // '>=' bitwise_or
12928|   335k|        if (p->error_indicator) {
  ------------------
  |  Branch (12928:13): [True: 527, False: 335k]
  ------------------
12929|    527|            p->level--;
12930|    527|            return NULL;
12931|    527|        }
12932|   335k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>=' bitwise_or"));
12933|   335k|        Token * _literal;
12934|   335k|        expr_ty a;
12935|   335k|        if (
12936|   335k|            (_literal = _PyPegen_expect_token(p, 30))  // token='>='
  ------------------
  |  Branch (12936:13): [True: 4.80k, False: 330k]
  ------------------
12937|  4.80k|            &&
12938|  4.80k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|  4.80k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12938:13): [True: 4.21k, False: 592]
  ------------------
12939|   335k|        )
12940|  4.21k|        {
12941|  4.21k|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>=' bitwise_or"));
12942|  4.21k|            _res = _PyPegen_cmpop_expr_pair ( p , GtE , a );
12943|  4.21k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12943:18): [True: 0, False: 4.21k]
  |  Branch (12943:34): [True: 0, False: 4.21k]
  |  Branch (12943:57): [True: 0, False: 0]
  ------------------
12944|      0|                p->error_indicator = 1;
12945|      0|                p->level--;
12946|      0|                return NULL;
12947|      0|            }
12948|  4.21k|            goto done;
12949|  4.21k|        }
12950|   331k|        p->mark = _mark;
12951|   331k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12952|   331k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>=' bitwise_or"));
12953|   331k|    }
12954|      0|    { // '>' bitwise_or
12955|   331k|        if (p->error_indicator) {
  ------------------
  |  Branch (12955:13): [True: 337, False: 330k]
  ------------------
12956|    337|            p->level--;
12957|    337|            return NULL;
12958|    337|        }
12959|   330k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>' bitwise_or"));
12960|   330k|        Token * _literal;
12961|   330k|        expr_ty a;
12962|   330k|        if (
12963|   330k|            (_literal = _PyPegen_expect_token(p, 21))  // token='>'
  ------------------
  |  Branch (12963:13): [True: 22.1k, False: 308k]
  ------------------
12964|  22.1k|            &&
12965|  22.1k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|  22.1k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12965:13): [True: 20.9k, False: 1.13k]
  ------------------
12966|   330k|        )
12967|  20.9k|        {
12968|  20.9k|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>' bitwise_or"));
12969|  20.9k|            _res = _PyPegen_cmpop_expr_pair ( p , Gt , a );
12970|  20.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12970:18): [True: 0, False: 20.9k]
  |  Branch (12970:34): [True: 0, False: 20.9k]
  |  Branch (12970:57): [True: 0, False: 0]
  ------------------
12971|      0|                p->error_indicator = 1;
12972|      0|                p->level--;
12973|      0|                return NULL;
12974|      0|            }
12975|  20.9k|            goto done;
12976|  20.9k|        }
12977|   309k|        p->mark = _mark;
12978|   309k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12979|   309k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>' bitwise_or"));
12980|   309k|    }
12981|      0|    { // 'not' 'in' bitwise_or
12982|   309k|        if (p->error_indicator) {
  ------------------
  |  Branch (12982:13): [True: 704, False: 309k]
  ------------------
12983|    704|            p->level--;
12984|    704|            return NULL;
12985|    704|        }
12986|   309k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'not' 'in' bitwise_or"));
12987|   309k|        Token * _keyword;
12988|   309k|        Token * _keyword_1;
12989|   309k|        expr_ty a;
12990|   309k|        if (
12991|   309k|            (_keyword = _PyPegen_expect_token(p, 531))  // token='not'
  ------------------
  |  Branch (12991:13): [True: 738, False: 308k]
  ------------------
12992|    738|            &&
12993|    738|            (_keyword_1 = _PyPegen_expect_token(p, 523))  // token='in'
  ------------------
  |  Branch (12993:13): [True: 679, False: 59]
  ------------------
12994|    679|            &&
12995|    679|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|    679|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (12995:13): [True: 469, False: 210]
  ------------------
12996|   309k|        )
12997|    469|        {
12998|    469|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'not' 'in' bitwise_or"));
12999|    469|            _res = _PyPegen_cmpop_expr_pair ( p , NotIn , a );
13000|    469|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13000:18): [True: 0, False: 469]
  |  Branch (13000:34): [True: 0, False: 469]
  |  Branch (13000:57): [True: 0, False: 0]
  ------------------
13001|      0|                p->error_indicator = 1;
13002|      0|                p->level--;
13003|      0|                return NULL;
13004|      0|            }
13005|    469|            goto done;
13006|    469|        }
13007|   308k|        p->mark = _mark;
13008|   308k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13009|   308k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'not' 'in' bitwise_or"));
13010|   308k|    }
13011|      0|    { // 'in' bitwise_or
13012|   308k|        if (p->error_indicator) {
  ------------------
  |  Branch (13012:13): [True: 119, False: 308k]
  ------------------
13013|    119|            p->level--;
13014|    119|            return NULL;
13015|    119|        }
13016|   308k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'in' bitwise_or"));
13017|   308k|        Token * _keyword;
13018|   308k|        expr_ty a;
13019|   308k|        if (
13020|   308k|            (_keyword = _PyPegen_expect_token(p, 523))  // token='in'
  ------------------
  |  Branch (13020:13): [True: 4.37k, False: 304k]
  ------------------
13021|  4.37k|            &&
13022|  4.37k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|  4.37k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (13022:13): [True: 3.99k, False: 381]
  ------------------
13023|   308k|        )
13024|  3.99k|        {
13025|  3.99k|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'in' bitwise_or"));
13026|  3.99k|            _res = _PyPegen_cmpop_expr_pair ( p , In , a );
13027|  3.99k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13027:18): [True: 0, False: 3.99k]
  |  Branch (13027:34): [True: 0, False: 3.99k]
  |  Branch (13027:57): [True: 0, False: 0]
  ------------------
13028|      0|                p->error_indicator = 1;
13029|      0|                p->level--;
13030|      0|                return NULL;
13031|      0|            }
13032|  3.99k|            goto done;
13033|  3.99k|        }
13034|   304k|        p->mark = _mark;
13035|   304k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13036|   304k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'in' bitwise_or"));
13037|   304k|    }
13038|      0|    { // 'is' 'not' bitwise_or
13039|   304k|        if (p->error_indicator) {
  ------------------
  |  Branch (13039:13): [True: 204, False: 304k]
  ------------------
13040|    204|            p->level--;
13041|    204|            return NULL;
13042|    204|        }
13043|   304k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'is' 'not' bitwise_or"));
13044|   304k|        Token * _keyword;
13045|   304k|        Token * _keyword_1;
13046|   304k|        expr_ty a;
13047|   304k|        if (
13048|   304k|            (_keyword = _PyPegen_expect_token(p, 532))  // token='is'
  ------------------
  |  Branch (13048:13): [True: 5.05k, False: 299k]
  ------------------
13049|  5.05k|            &&
13050|  5.05k|            (_keyword_1 = _PyPegen_expect_token(p, 531))  // token='not'
  ------------------
  |  Branch (13050:13): [True: 474, False: 4.57k]
  ------------------
13051|    474|            &&
13052|    474|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|    474|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (13052:13): [True: 146, False: 328]
  ------------------
13053|   304k|        )
13054|    146|        {
13055|    146|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'is' 'not' bitwise_or"));
13056|    146|            _res = _PyPegen_cmpop_expr_pair ( p , IsNot , a );
13057|    146|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13057:18): [True: 0, False: 146]
  |  Branch (13057:34): [True: 0, False: 146]
  |  Branch (13057:57): [True: 0, False: 0]
  ------------------
13058|      0|                p->error_indicator = 1;
13059|      0|                p->level--;
13060|      0|                return NULL;
13061|      0|            }
13062|    146|            goto done;
13063|    146|        }
13064|   304k|        p->mark = _mark;
13065|   304k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13066|   304k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'is' 'not' bitwise_or"));
13067|   304k|    }
13068|      0|    { // 'is' bitwise_or
13069|   304k|        if (p->error_indicator) {
  ------------------
  |  Branch (13069:13): [True: 139, False: 304k]
  ------------------
13070|    139|            p->level--;
13071|    139|            return NULL;
13072|    139|        }
13073|   304k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'is' bitwise_or"));
13074|   304k|        Token * _keyword;
13075|   304k|        expr_ty a;
13076|   304k|        if (
13077|   304k|            (_keyword = _PyPegen_expect_token(p, 532))  // token='is'
  ------------------
  |  Branch (13077:13): [True: 4.76k, False: 299k]
  ------------------
13078|  4.76k|            &&
13079|  4.76k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|  4.76k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (13079:13): [True: 4.42k, False: 345]
  ------------------
13080|   304k|        )
13081|  4.42k|        {
13082|  4.42k|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'is' bitwise_or"));
13083|  4.42k|            _res = _PyPegen_cmpop_expr_pair ( p , Is , a );
13084|  4.42k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13084:18): [True: 0, False: 4.42k]
  |  Branch (13084:34): [True: 0, False: 4.42k]
  |  Branch (13084:57): [True: 0, False: 0]
  ------------------
13085|      0|                p->error_indicator = 1;
13086|      0|                p->level--;
13087|      0|                return NULL;
13088|      0|            }
13089|  4.42k|            goto done;
13090|  4.42k|        }
13091|   299k|        p->mark = _mark;
13092|   299k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13093|   299k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'is' bitwise_or"));
13094|   299k|    }
13095|   299k|    _res = NULL;
13096|   363k|  done:
13097|   363k|    p->level--;
13098|   363k|    return _res;
13099|   299k|}
parser.c:_tmp_62_rule:
23286|   362k|{
23287|   362k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   725k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23287:9): [True: 0, False: 362k]
  |  Branch (23287:35): [True: 0, False: 362k]
  ------------------
23288|      0|        _Pypegen_stack_overflow(p);
23289|      0|    }
23290|   362k|    if (p->error_indicator) {
  ------------------
  |  Branch (23290:9): [True: 0, False: 362k]
  ------------------
23291|      0|        p->level--;
23292|      0|        return NULL;
23293|      0|    }
23294|   362k|    void * _res = NULL;
23295|   362k|    int _mark = p->mark;
23296|   362k|    { // '!='
23297|   362k|        if (p->error_indicator) {
  ------------------
  |  Branch (23297:13): [True: 0, False: 362k]
  ------------------
23298|      0|            p->level--;
23299|      0|            return NULL;
23300|      0|        }
23301|   362k|        D(fprintf(stderr, "%*c> _tmp_62[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!='"));
23302|   362k|        Token * tok;
23303|   362k|        if (
23304|   362k|            (tok = _PyPegen_expect_token(p, 28))  // token='!='
  ------------------
  |  Branch (23304:13): [True: 1.31k, False: 361k]
  ------------------
23305|   362k|        )
23306|  1.31k|        {
23307|  1.31k|            D(fprintf(stderr, "%*c+ _tmp_62[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!='"));
23308|  1.31k|            _res = _PyPegen_check_barry_as_flufl ( p , tok ) ? NULL : tok;
  ------------------
  |  Branch (23308:20): [True: 1, False: 1.31k]
  ------------------
23309|  1.31k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23309:18): [True: 1, False: 1.31k]
  |  Branch (23309:34): [True: 0, False: 1.31k]
  |  Branch (23309:57): [True: 1, False: 0]
  ------------------
23310|      1|                p->error_indicator = 1;
23311|      1|                p->level--;
23312|      1|                return NULL;
23313|      1|            }
23314|  1.31k|            goto done;
23315|  1.31k|        }
23316|   361k|        p->mark = _mark;
23317|   361k|        D(fprintf(stderr, "%*c%s _tmp_62[%d-%d]: %s failed!\n", p->level, ' ',
23318|   361k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!='"));
23319|   361k|    }
23320|   361k|    _res = NULL;
23321|   362k|  done:
23322|   362k|    p->level--;
23323|   362k|    return _res;
23324|   361k|}
parser.c:bitwise_or_raw:
13142|  1.27M|{
13143|  1.27M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.55M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13143:9): [True: 0, False: 1.27M]
  |  Branch (13143:35): [True: 0, False: 1.27M]
  ------------------
13144|      0|        _Pypegen_stack_overflow(p);
13145|      0|    }
13146|  1.27M|    if (p->error_indicator) {
  ------------------
  |  Branch (13146:9): [True: 0, False: 1.27M]
  ------------------
13147|      0|        p->level--;
13148|      0|        return NULL;
13149|      0|    }
13150|  1.27M|    expr_ty _res = NULL;
13151|  1.27M|    int _mark = p->mark;
13152|  1.27M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13152:9): [True: 0, False: 1.27M]
  |  Branch (13152:31): [True: 0, False: 0]
  ------------------
13153|      0|        p->error_indicator = 1;
13154|      0|        p->level--;
13155|      0|        return NULL;
13156|      0|    }
13157|  1.27M|    int _start_lineno = p->tokens[_mark]->lineno;
13158|  1.27M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.27M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.27M]
  |  |  ------------------
  ------------------
13159|  1.27M|    int _start_col_offset = p->tokens[_mark]->col_offset;
13160|  1.27M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.27M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.27M]
  |  |  ------------------
  ------------------
13161|  1.27M|    { // bitwise_or '|' bitwise_xor
13162|  1.27M|        if (p->error_indicator) {
  ------------------
  |  Branch (13162:13): [True: 0, False: 1.27M]
  ------------------
13163|      0|            p->level--;
13164|      0|            return NULL;
13165|      0|        }
13166|  1.27M|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13167|  1.27M|        Token * _literal;
13168|  1.27M|        expr_ty a;
13169|  1.27M|        expr_ty b;
13170|  1.27M|        if (
13171|  1.27M|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  481|  1.27M|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (13171:13): [True: 439k, False: 840k]
  ------------------
13172|   439k|            &&
13173|   439k|            (_literal = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (13173:13): [True: 9.01k, False: 430k]
  ------------------
13174|  9.01k|            &&
13175|  9.01k|            (b = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13175:13): [True: 7.40k, False: 1.60k]
  ------------------
13176|  1.27M|        )
13177|  7.40k|        {
13178|  7.40k|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13179|  7.40k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13180|  7.40k|            if (_token == NULL) {
  ------------------
  |  Branch (13180:17): [True: 0, False: 7.40k]
  ------------------
13181|      0|                p->level--;
13182|      0|                return NULL;
13183|      0|            }
13184|  7.40k|            int _end_lineno = _token->end_lineno;
13185|  7.40k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  7.40k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 7.40k]
  |  |  ------------------
  ------------------
13186|  7.40k|            int _end_col_offset = _token->end_col_offset;
13187|  7.40k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  7.40k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 7.40k]
  |  |  ------------------
  ------------------
13188|  7.40k|            _res = _PyAST_BinOp ( a , BitOr , b , EXTRA );
  ------------------
  |  |  316|  7.40k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13189|  7.40k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13189:18): [True: 0, False: 7.40k]
  |  Branch (13189:34): [True: 0, False: 7.40k]
  |  Branch (13189:57): [True: 0, False: 0]
  ------------------
13190|      0|                p->error_indicator = 1;
13191|      0|                p->level--;
13192|      0|                return NULL;
13193|      0|            }
13194|  7.40k|            goto done;
13195|  7.40k|        }
13196|  1.27M|        p->mark = _mark;
13197|  1.27M|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13198|  1.27M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13199|  1.27M|    }
13200|  1.27M|    if (p->call_invalid_rules) { // invalid_bitwise_or
  ------------------
  |  Branch (13200:9): [True: 352k, False: 920k]
  ------------------
13201|   352k|        if (p->error_indicator) {
  ------------------
  |  Branch (13201:13): [True: 470, False: 351k]
  ------------------
13202|    470|            p->level--;
13203|    470|            return NULL;
13204|    470|        }
13205|   351k|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_or"));
13206|   351k|        void *invalid_bitwise_or_var;
13207|   351k|        if (
13208|   351k|            (invalid_bitwise_or_var = invalid_bitwise_or_rule(p))  // invalid_bitwise_or
  ------------------
  |  |  659|   351k|#define invalid_bitwise_or_rule _PyPegen_invalid_bitwise_or_rule
  ------------------
  |  Branch (13208:13): [True: 0, False: 351k]
  ------------------
13209|   351k|        )
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|   351k|        p->mark = _mark;
13216|   351k|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13217|   351k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_bitwise_or"));
13218|   351k|    }
13219|  1.27M|    { // bitwise_xor
13220|  1.27M|        if (p->error_indicator) {
  ------------------
  |  Branch (13220:13): [True: 470, False: 1.27M]
  ------------------
13221|    470|            p->level--;
13222|    470|            return NULL;
13223|    470|        }
13224|  1.27M|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_xor"));
13225|  1.27M|        expr_ty bitwise_xor_var;
13226|  1.27M|        if (
13227|  1.27M|            (bitwise_xor_var = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13227:13): [True: 862k, False: 409k]
  ------------------
13228|  1.27M|        )
13229|   862k|        {
13230|   862k|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_xor"));
13231|   862k|            _res = bitwise_xor_var;
13232|   862k|            goto done;
13233|   862k|        }
13234|   409k|        p->mark = _mark;
13235|   409k|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13236|   409k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_xor"));
13237|   409k|    }
13238|   409k|    _res = NULL;
13239|  1.27M|  done:
13240|  1.27M|    p->level--;
13241|  1.27M|    return _res;
13242|   409k|}
parser.c:bitwise_xor_rule:
13249|  2.60M|{
13250|  2.60M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  5.21M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13250:9): [True: 2, False: 2.60M]
  |  Branch (13250:35): [True: 0, False: 2.60M]
  ------------------
13251|      2|        _Pypegen_stack_overflow(p);
13252|      2|    }
13253|  2.60M|    expr_ty _res = NULL;
13254|  2.60M|    if (_PyPegen_is_memoized(p, bitwise_xor_type, &_res)) {
  ------------------
  |  |  213|  2.60M|#define bitwise_xor_type 1124  // Left-recursive
  ------------------
  |  Branch (13254:9): [True: 1.75M, False: 849k]
  ------------------
13255|  1.75M|        p->level--;
13256|  1.75M|        return _res;
13257|  1.75M|    }
13258|   849k|    int _mark = p->mark;
13259|   849k|    int _resmark = p->mark;
13260|   849k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, bitwise_xor_type);
  ------------------
  |  |  213|   849k|#define bitwise_xor_type 1124  // Left-recursive
  ------------------
13261|   849k|    if (_memo == NULL) {
  ------------------
  |  Branch (13261:9): [True: 0, False: 849k]
  ------------------
13262|      0|        p->level--;
13263|      0|        return NULL;
13264|      0|    }
13265|  1.32M|    while (1) {
  ------------------
  |  Branch (13265:12): [True: 1.32M, Folded]
  ------------------
13266|  1.32M|        _memo->node = _res;
13267|  1.32M|        _memo->mark = p->mark;
13268|  1.32M|        p->mark = _mark;
13269|  1.32M|        void *_raw = bitwise_xor_raw(p);
13270|  1.32M|        if (p->error_indicator) {
  ------------------
  |  Branch (13270:13): [True: 49.4k, False: 1.27M]
  ------------------
13271|  49.4k|            p->level--;
13272|  49.4k|            return NULL;
13273|  49.4k|        }
13274|  1.27M|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13274:13): [True: 361k, False: 917k]
  |  Branch (13274:29): [True: 439k, False: 477k]
  ------------------
13275|   800k|            break;
13276|   477k|        _resmark = p->mark;
13277|   477k|        _res = _raw;
13278|   477k|    }
13279|   800k|    p->mark = _resmark;
13280|   800k|    p->level--;
13281|   800k|    return _res;
13282|   849k|}
parser.c:bitwise_xor_raw:
13285|  1.32M|{
13286|  1.32M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.65M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13286:9): [True: 0, False: 1.32M]
  |  Branch (13286:35): [True: 0, False: 1.32M]
  ------------------
13287|      0|        _Pypegen_stack_overflow(p);
13288|      0|    }
13289|  1.32M|    if (p->error_indicator) {
  ------------------
  |  Branch (13289:9): [True: 0, False: 1.32M]
  ------------------
13290|      0|        p->level--;
13291|      0|        return NULL;
13292|      0|    }
13293|  1.32M|    expr_ty _res = NULL;
13294|  1.32M|    int _mark = p->mark;
13295|  1.32M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13295:9): [True: 0, False: 1.32M]
  |  Branch (13295:31): [True: 0, False: 0]
  ------------------
13296|      0|        p->error_indicator = 1;
13297|      0|        p->level--;
13298|      0|        return NULL;
13299|      0|    }
13300|  1.32M|    int _start_lineno = p->tokens[_mark]->lineno;
13301|  1.32M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.32M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.32M]
  |  |  ------------------
  ------------------
13302|  1.32M|    int _start_col_offset = p->tokens[_mark]->col_offset;
13303|  1.32M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.32M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.32M]
  |  |  ------------------
  ------------------
13304|  1.32M|    { // bitwise_xor '^' bitwise_and
13305|  1.32M|        if (p->error_indicator) {
  ------------------
  |  Branch (13305:13): [True: 0, False: 1.32M]
  ------------------
13306|      0|            p->level--;
13307|      0|            return NULL;
13308|      0|        }
13309|  1.32M|        D(fprintf(stderr, "%*c> bitwise_xor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13310|  1.32M|        Token * _literal;
13311|  1.32M|        expr_ty a;
13312|  1.32M|        expr_ty b;
13313|  1.32M|        if (
13314|  1.32M|            (a = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13314:13): [True: 477k, False: 849k]
  ------------------
13315|   477k|            &&
13316|   477k|            (_literal = _PyPegen_expect_token(p, 32))  // token='^'
  ------------------
  |  Branch (13316:13): [True: 38.8k, False: 439k]
  ------------------
13317|  38.8k|            &&
13318|  38.8k|            (b = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  |  483|  38.8k|#define bitwise_and_rule _PyPegen_bitwise_and_rule
  ------------------
  |  Branch (13318:13): [True: 38.2k, False: 645]
  ------------------
13319|  1.32M|        )
13320|  38.2k|        {
13321|  38.2k|            D(fprintf(stderr, "%*c+ bitwise_xor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13322|  38.2k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13323|  38.2k|            if (_token == NULL) {
  ------------------
  |  Branch (13323:17): [True: 0, False: 38.2k]
  ------------------
13324|      0|                p->level--;
13325|      0|                return NULL;
13326|      0|            }
13327|  38.2k|            int _end_lineno = _token->end_lineno;
13328|  38.2k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  38.2k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 38.2k]
  |  |  ------------------
  ------------------
13329|  38.2k|            int _end_col_offset = _token->end_col_offset;
13330|  38.2k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  38.2k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 38.2k]
  |  |  ------------------
  ------------------
13331|  38.2k|            _res = _PyAST_BinOp ( a , BitXor , b , EXTRA );
  ------------------
  |  |  316|  38.2k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13332|  38.2k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13332:18): [True: 0, False: 38.2k]
  |  Branch (13332:34): [True: 0, False: 38.2k]
  |  Branch (13332:57): [True: 0, False: 0]
  ------------------
13333|      0|                p->error_indicator = 1;
13334|      0|                p->level--;
13335|      0|                return NULL;
13336|      0|            }
13337|  38.2k|            goto done;
13338|  38.2k|        }
13339|  1.28M|        p->mark = _mark;
13340|  1.28M|        D(fprintf(stderr, "%*c%s bitwise_xor[%d-%d]: %s failed!\n", p->level, ' ',
13341|  1.28M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13342|  1.28M|    }
13343|      0|    { // bitwise_and
13344|  1.28M|        if (p->error_indicator) {
  ------------------
  |  Branch (13344:13): [True: 583, False: 1.28M]
  ------------------
13345|    583|            p->level--;
13346|    583|            return NULL;
13347|    583|        }
13348|  1.28M|        D(fprintf(stderr, "%*c> bitwise_xor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and"));
13349|  1.28M|        expr_ty bitwise_and_var;
13350|  1.28M|        if (
13351|  1.28M|            (bitwise_and_var = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  |  483|  1.28M|#define bitwise_and_rule _PyPegen_bitwise_and_rule
  ------------------
  |  Branch (13351:13): [True: 878k, False: 410k]
  ------------------
13352|  1.28M|        )
13353|   878k|        {
13354|   878k|            D(fprintf(stderr, "%*c+ bitwise_xor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and"));
13355|   878k|            _res = bitwise_and_var;
13356|   878k|            goto done;
13357|   878k|        }
13358|   410k|        p->mark = _mark;
13359|   410k|        D(fprintf(stderr, "%*c%s bitwise_xor[%d-%d]: %s failed!\n", p->level, ' ',
13360|   410k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and"));
13361|   410k|    }
13362|   410k|    _res = NULL;
13363|  1.32M|  done:
13364|  1.32M|    p->level--;
13365|  1.32M|    return _res;
13366|   410k|}
parser.c:bitwise_and_raw:
13409|  1.38M|{
13410|  1.38M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.76M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13410:9): [True: 0, False: 1.38M]
  |  Branch (13410:35): [True: 0, False: 1.38M]
  ------------------
13411|      0|        _Pypegen_stack_overflow(p);
13412|      0|    }
13413|  1.38M|    if (p->error_indicator) {
  ------------------
  |  Branch (13413:9): [True: 0, False: 1.38M]
  ------------------
13414|      0|        p->level--;
13415|      0|        return NULL;
13416|      0|    }
13417|  1.38M|    expr_ty _res = NULL;
13418|  1.38M|    int _mark = p->mark;
13419|  1.38M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13419:9): [True: 0, False: 1.38M]
  |  Branch (13419:31): [True: 0, False: 0]
  ------------------
13420|      0|        p->error_indicator = 1;
13421|      0|        p->level--;
13422|      0|        return NULL;
13423|      0|    }
13424|  1.38M|    int _start_lineno = p->tokens[_mark]->lineno;
13425|  1.38M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.38M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.38M]
  |  |  ------------------
  ------------------
13426|  1.38M|    int _start_col_offset = p->tokens[_mark]->col_offset;
13427|  1.38M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.38M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.38M]
  |  |  ------------------
  ------------------
13428|  1.38M|    { // bitwise_and '&' shift_expr
13429|  1.38M|        if (p->error_indicator) {
  ------------------
  |  Branch (13429:13): [True: 0, False: 1.38M]
  ------------------
13430|      0|            p->level--;
13431|      0|            return NULL;
13432|      0|        }
13433|  1.38M|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' shift_expr"));
13434|  1.38M|        Token * _literal;
13435|  1.38M|        expr_ty a;
13436|  1.38M|        expr_ty b;
13437|  1.38M|        if (
13438|  1.38M|            (a = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  |  483|  1.38M|#define bitwise_and_rule _PyPegen_bitwise_and_rule
  ------------------
  |  Branch (13438:13): [True: 496k, False: 888k]
  ------------------
13439|   496k|            &&
13440|   496k|            (_literal = _PyPegen_expect_token(p, 19))  // token='&'
  ------------------
  |  Branch (13440:13): [True: 18.9k, False: 477k]
  ------------------
13441|  18.9k|            &&
13442|  18.9k|            (b = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13442:13): [True: 17.3k, False: 1.59k]
  ------------------
13443|  1.38M|        )
13444|  17.3k|        {
13445|  17.3k|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' shift_expr"));
13446|  17.3k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13447|  17.3k|            if (_token == NULL) {
  ------------------
  |  Branch (13447:17): [True: 0, False: 17.3k]
  ------------------
13448|      0|                p->level--;
13449|      0|                return NULL;
13450|      0|            }
13451|  17.3k|            int _end_lineno = _token->end_lineno;
13452|  17.3k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  17.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 17.3k]
  |  |  ------------------
  ------------------
13453|  17.3k|            int _end_col_offset = _token->end_col_offset;
13454|  17.3k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  17.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 17.3k]
  |  |  ------------------
  ------------------
13455|  17.3k|            _res = _PyAST_BinOp ( a , BitAnd , b , EXTRA );
  ------------------
  |  |  316|  17.3k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13456|  17.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13456:18): [True: 0, False: 17.3k]
  |  Branch (13456:34): [True: 0, False: 17.3k]
  |  Branch (13456:57): [True: 0, False: 0]
  ------------------
13457|      0|                p->error_indicator = 1;
13458|      0|                p->level--;
13459|      0|                return NULL;
13460|      0|            }
13461|  17.3k|            goto done;
13462|  17.3k|        }
13463|  1.36M|        p->mark = _mark;
13464|  1.36M|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13465|  1.36M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and '&' shift_expr"));
13466|  1.36M|    }
13467|  1.36M|    if (p->call_invalid_rules) { // invalid_bitwise_and
  ------------------
  |  Branch (13467:9): [True: 361k, False: 1.00M]
  ------------------
13468|   361k|        if (p->error_indicator) {
  ------------------
  |  Branch (13468:13): [True: 500, False: 361k]
  ------------------
13469|    500|            p->level--;
13470|    500|            return NULL;
13471|    500|        }
13472|   361k|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_and"));
13473|   361k|        void *invalid_bitwise_and_var;
13474|   361k|        if (
13475|   361k|            (invalid_bitwise_and_var = invalid_bitwise_and_rule(p))  // invalid_bitwise_and
  ------------------
  |  |  657|   361k|#define invalid_bitwise_and_rule _PyPegen_invalid_bitwise_and_rule
  ------------------
  |  Branch (13475:13): [True: 0, False: 361k]
  ------------------
13476|   361k|        )
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|   361k|        p->mark = _mark;
13483|   361k|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13484|   361k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_bitwise_and"));
13485|   361k|    }
13486|  1.36M|    { // shift_expr
13487|  1.36M|        if (p->error_indicator) {
  ------------------
  |  Branch (13487:13): [True: 383, False: 1.36M]
  ------------------
13488|    383|            p->level--;
13489|    383|            return NULL;
13490|    383|        }
13491|  1.36M|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr"));
13492|  1.36M|        expr_ty shift_expr_var;
13493|  1.36M|        if (
13494|  1.36M|            (shift_expr_var = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13494:13): [True: 956k, False: 409k]
  ------------------
13495|  1.36M|        )
13496|   956k|        {
13497|   956k|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr"));
13498|   956k|            _res = shift_expr_var;
13499|   956k|            goto done;
13500|   956k|        }
13501|   409k|        p->mark = _mark;
13502|   409k|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13503|   409k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr"));
13504|   409k|    }
13505|   409k|    _res = NULL;
13506|  1.38M|  done:
13507|  1.38M|    p->level--;
13508|  1.38M|    return _res;
13509|   409k|}
parser.c:shift_expr_rule:
13516|  3.17M|{
13517|  3.17M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.35M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13517:9): [True: 1, False: 3.17M]
  |  Branch (13517:35): [True: 0, False: 3.17M]
  ------------------
13518|      1|        _Pypegen_stack_overflow(p);
13519|      1|    }
13520|  3.17M|    expr_ty _res = NULL;
13521|  3.17M|    if (_PyPegen_is_memoized(p, shift_expr_type, &_res)) {
  ------------------
  |  |  215|  3.17M|#define shift_expr_type 1126  // Left-recursive
  ------------------
  |  Branch (13521:9): [True: 2.26M, False: 907k]
  ------------------
13522|  2.26M|        p->level--;
13523|  2.26M|        return _res;
13524|  2.26M|    }
13525|   907k|    int _mark = p->mark;
13526|   907k|    int _resmark = p->mark;
13527|   907k|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, shift_expr_type);
  ------------------
  |  |  215|   907k|#define shift_expr_type 1126  // Left-recursive
  ------------------
13528|   907k|    if (_memo == NULL) {
  ------------------
  |  Branch (13528:9): [True: 0, False: 907k]
  ------------------
13529|      0|        p->level--;
13530|      0|        return NULL;
13531|      0|    }
13532|  1.42M|    while (1) {
  ------------------
  |  Branch (13532:12): [True: 1.42M, Folded]
  ------------------
13533|  1.42M|        _memo->node = _res;
13534|  1.42M|        _memo->mark = p->mark;
13535|  1.42M|        p->mark = _mark;
13536|  1.42M|        void *_raw = shift_expr_raw(p);
13537|  1.42M|        if (p->error_indicator) {
  ------------------
  |  Branch (13537:13): [True: 49.4k, False: 1.37M]
  ------------------
13538|  49.4k|            p->level--;
13539|  49.4k|            return NULL;
13540|  49.4k|        }
13541|  1.37M|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13541:13): [True: 361k, False: 1.01M]
  |  Branch (13541:29): [True: 496k, False: 517k]
  ------------------
13542|   858k|            break;
13543|   517k|        _resmark = p->mark;
13544|   517k|        _res = _raw;
13545|   517k|    }
13546|   858k|    p->mark = _resmark;
13547|   858k|    p->level--;
13548|   858k|    return _res;
13549|   907k|}
parser.c:shift_expr_raw:
13552|  1.42M|{
13553|  1.42M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.85M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13553:9): [True: 1, False: 1.42M]
  |  Branch (13553:35): [True: 0, False: 1.42M]
  ------------------
13554|      1|        _Pypegen_stack_overflow(p);
13555|      1|    }
13556|  1.42M|    if (p->error_indicator) {
  ------------------
  |  Branch (13556:9): [True: 1, False: 1.42M]
  ------------------
13557|      1|        p->level--;
13558|      1|        return NULL;
13559|      1|    }
13560|  1.42M|    expr_ty _res = NULL;
13561|  1.42M|    int _mark = p->mark;
13562|  1.42M|    expr_ty _prefix_5_result = NULL;
13563|  1.42M|    int _prefix_5_end = 0, _prefix_5_valid = 0;
13564|  1.42M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13564:9): [True: 0, False: 1.42M]
  |  Branch (13564:31): [True: 0, False: 0]
  ------------------
13565|      0|        p->error_indicator = 1;
13566|      0|        p->level--;
13567|      0|        return NULL;
13568|      0|    }
13569|  1.42M|    int _start_lineno = p->tokens[_mark]->lineno;
13570|  1.42M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.42M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.42M]
  |  |  ------------------
  ------------------
13571|  1.42M|    int _start_col_offset = p->tokens[_mark]->col_offset;
13572|  1.42M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.42M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.42M]
  |  |  ------------------
  ------------------
13573|  1.42M|    { // shift_expr '<<' sum
13574|  1.42M|        if (p->error_indicator) {
  ------------------
  |  Branch (13574:13): [True: 0, False: 1.42M]
  ------------------
13575|      0|            p->level--;
13576|      0|            return NULL;
13577|      0|        }
13578|  1.42M|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr '<<' sum"));
13579|  1.42M|        Token * _literal;
13580|  1.42M|        expr_ty a;
13581|  1.42M|        expr_ty b;
13582|  1.42M|        if (
13583|  1.42M|            (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: 517k, False: 907k]
  |  Branch (13583:20): [True: 1.05M, False: 366k]
  |  Branch (13583:46): [True: 0, False: 1.05M]
  ------------------
13584|   517k|            &&
13585|   517k|            (_literal = _PyPegen_expect_token(p, 33))  // token='<<'
  ------------------
  |  Branch (13585:13): [True: 9.52k, False: 508k]
  ------------------
13586|  9.52k|            &&
13587|  9.52k|            (b = sum_rule(p))  // sum
  ------------------
  |  |  485|  9.52k|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (13587:13): [True: 9.16k, False: 364]
  ------------------
13588|  1.42M|        )
13589|  9.16k|        {
13590|  9.16k|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr '<<' sum"));
13591|  9.16k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13592|  9.16k|            if (_token == NULL) {
  ------------------
  |  Branch (13592:17): [True: 0, False: 9.16k]
  ------------------
13593|      0|                p->level--;
13594|      0|                return NULL;
13595|      0|            }
13596|  9.16k|            int _end_lineno = _token->end_lineno;
13597|  9.16k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  9.16k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 9.16k]
  |  |  ------------------
  ------------------
13598|  9.16k|            int _end_col_offset = _token->end_col_offset;
13599|  9.16k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  9.16k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 9.16k]
  |  |  ------------------
  ------------------
13600|  9.16k|            _res = _PyAST_BinOp ( a , LShift , b , EXTRA );
  ------------------
  |  |  316|  9.16k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13601|  9.16k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13601:18): [True: 0, False: 9.16k]
  |  Branch (13601:34): [True: 0, False: 9.16k]
  |  Branch (13601:57): [True: 0, False: 0]
  ------------------
13602|      0|                p->error_indicator = 1;
13603|      0|                p->level--;
13604|      0|                return NULL;
13605|      0|            }
13606|  9.16k|            goto done;
13607|  9.16k|        }
13608|  1.41M|        p->mark = _mark;
13609|  1.41M|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
13610|  1.41M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr '<<' sum"));
13611|  1.41M|    }
13612|      0|    { // shift_expr '>>' sum
13613|  1.41M|        if (p->error_indicator) {
  ------------------
  |  Branch (13613:13): [True: 281, False: 1.41M]
  ------------------
13614|    281|            p->level--;
13615|    281|            return NULL;
13616|    281|        }
13617|  1.41M|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr '>>' sum"));
13618|  1.41M|        Token * _literal;
13619|  1.41M|        expr_ty a;
13620|  1.41M|        expr_ty b;
13621|  1.41M|        if (
13622|  1.41M|            (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: 508k, False: 907k]
  |  Branch (13622:20): [True: 1.04M, False: 365k]
  |  Branch (13622:46): [True: 1.04M, False: 0]
  ------------------
13623|   508k|            &&
13624|   508k|            (_literal = _PyPegen_expect_token(p, 34))  // token='>>'
  ------------------
  |  Branch (13624:13): [True: 12.0k, False: 496k]
  ------------------
13625|  12.0k|            &&
13626|  12.0k|            (b = sum_rule(p))  // sum
  ------------------
  |  |  485|  12.0k|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (13626:13): [True: 11.7k, False: 321]
  ------------------
13627|  1.41M|        )
13628|  11.7k|        {
13629|  11.7k|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr '>>' sum"));
13630|  11.7k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13631|  11.7k|            if (_token == NULL) {
  ------------------
  |  Branch (13631:17): [True: 0, False: 11.7k]
  ------------------
13632|      0|                p->level--;
13633|      0|                return NULL;
13634|      0|            }
13635|  11.7k|            int _end_lineno = _token->end_lineno;
13636|  11.7k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  11.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 11.7k]
  |  |  ------------------
  ------------------
13637|  11.7k|            int _end_col_offset = _token->end_col_offset;
13638|  11.7k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  11.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 11.7k]
  |  |  ------------------
  ------------------
13639|  11.7k|            _res = _PyAST_BinOp ( a , RShift , b , EXTRA );
  ------------------
  |  |  316|  11.7k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13640|  11.7k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13640:18): [True: 0, False: 11.7k]
  |  Branch (13640:34): [True: 0, False: 11.7k]
  |  Branch (13640:57): [True: 0, False: 0]
  ------------------
13641|      0|                p->error_indicator = 1;
13642|      0|                p->level--;
13643|      0|                return NULL;
13644|      0|            }
13645|  11.7k|            goto done;
13646|  11.7k|        }
13647|  1.40M|        p->mark = _mark;
13648|  1.40M|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
13649|  1.40M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr '>>' sum"));
13650|  1.40M|    }
13651|      0|    { // sum
13652|  1.40M|        if (p->error_indicator) {
  ------------------
  |  Branch (13652:13): [True: 245, False: 1.40M]
  ------------------
13653|    245|            p->level--;
13654|    245|            return NULL;
13655|    245|        }
13656|  1.40M|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum"));
13657|  1.40M|        expr_ty sum_var;
13658|  1.40M|        if (
13659|  1.40M|            (sum_var = sum_rule(p))  // sum
  ------------------
  |  |  485|  1.40M|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (13659:13): [True: 992k, False: 410k]
  ------------------
13660|  1.40M|        )
13661|   992k|        {
13662|   992k|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum"));
13663|   992k|            _res = sum_var;
13664|   992k|            goto done;
13665|   992k|        }
13666|   410k|        p->mark = _mark;
13667|   410k|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
13668|   410k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum"));
13669|   410k|    }
13670|   410k|    _res = NULL;
13671|  1.42M|  done:
13672|  1.42M|    p->level--;
13673|  1.42M|    return _res;
13674|   410k|}
parser.c:sum_raw:
13717|  1.72M|{
13718|  1.72M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.44M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13718:9): [True: 1, False: 1.72M]
  |  Branch (13718:35): [True: 0, False: 1.72M]
  ------------------
13719|      1|        _Pypegen_stack_overflow(p);
13720|      1|    }
13721|  1.72M|    if (p->error_indicator) {
  ------------------
  |  Branch (13721:9): [True: 1, False: 1.72M]
  ------------------
13722|      1|        p->level--;
13723|      1|        return NULL;
13724|      1|    }
13725|  1.72M|    expr_ty _res = NULL;
13726|  1.72M|    int _mark = p->mark;
13727|  1.72M|    expr_ty _prefix_6_result = NULL;
13728|  1.72M|    int _prefix_6_end = 0, _prefix_6_valid = 0;
13729|  1.72M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13729:9): [True: 0, False: 1.72M]
  |  Branch (13729:31): [True: 0, False: 0]
  ------------------
13730|      0|        p->error_indicator = 1;
13731|      0|        p->level--;
13732|      0|        return NULL;
13733|      0|    }
13734|  1.72M|    int _start_lineno = p->tokens[_mark]->lineno;
13735|  1.72M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.72M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.72M]
  |  |  ------------------
  ------------------
13736|  1.72M|    int _start_col_offset = p->tokens[_mark]->col_offset;
13737|  1.72M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.72M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.72M]
  |  |  ------------------
  ------------------
13738|  1.72M|    { // sum '+' term
13739|  1.72M|        if (p->error_indicator) {
  ------------------
  |  Branch (13739:13): [True: 0, False: 1.72M]
  ------------------
13740|      0|            p->level--;
13741|      0|            return NULL;
13742|      0|        }
13743|  1.72M|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum '+' term"));
13744|  1.72M|        Token * _literal;
13745|  1.72M|        expr_ty a;
13746|  1.72M|        expr_ty b;
13747|  1.72M|        if (
13748|  1.72M|            (a = ((!p->call_invalid_rules && _prefix_6_valid) ? (p->mark = _prefix_6_end, _prefix_6_result) : (_prefix_6_result = sum_rule(p), _prefix_6_end = p->mark, _prefix_6_valid = 1, _prefix_6_result)))  // sum
  ------------------
  |  |  485|  1.72M|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (13748:13): [True: 793k, False: 929k]
  |  Branch (13748:20): [True: 1.33M, False: 382k]
  |  Branch (13748:46): [True: 0, False: 1.33M]
  ------------------
13749|   793k|            &&
13750|   793k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (13750:13): [True: 131k, False: 661k]
  ------------------
13751|   131k|            &&
13752|   131k|            (b = term_rule(p))  // term
  ------------------
  |  Branch (13752:13): [True: 130k, False: 900]
  ------------------
13753|  1.72M|        )
13754|   130k|        {
13755|   130k|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum '+' term"));
13756|   130k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13757|   130k|            if (_token == NULL) {
  ------------------
  |  Branch (13757:17): [True: 0, False: 130k]
  ------------------
13758|      0|                p->level--;
13759|      0|                return NULL;
13760|      0|            }
13761|   130k|            int _end_lineno = _token->end_lineno;
13762|   130k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   130k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 130k]
  |  |  ------------------
  ------------------
13763|   130k|            int _end_col_offset = _token->end_col_offset;
13764|   130k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   130k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 130k]
  |  |  ------------------
  ------------------
13765|   130k|            _res = _PyAST_BinOp ( a , Add , b , EXTRA );
  ------------------
  |  |  316|   130k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13766|   130k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13766:18): [True: 0, False: 130k]
  |  Branch (13766:34): [True: 0, False: 130k]
  |  Branch (13766:57): [True: 0, False: 0]
  ------------------
13767|      0|                p->error_indicator = 1;
13768|      0|                p->level--;
13769|      0|                return NULL;
13770|      0|            }
13771|   130k|            goto done;
13772|   130k|        }
13773|  1.59M|        p->mark = _mark;
13774|  1.59M|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
13775|  1.59M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum '+' term"));
13776|  1.59M|    }
13777|      0|    { // sum '-' term
13778|  1.59M|        if (p->error_indicator) {
  ------------------
  |  Branch (13778:13): [True: 585, False: 1.59M]
  ------------------
13779|    585|            p->level--;
13780|    585|            return NULL;
13781|    585|        }
13782|  1.59M|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum '-' term"));
13783|  1.59M|        Token * _literal;
13784|  1.59M|        expr_ty a;
13785|  1.59M|        expr_ty b;
13786|  1.59M|        if (
13787|  1.59M|            (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|   377k|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (13787:13): [True: 661k, False: 929k]
  |  Branch (13787:20): [True: 1.21M, False: 377k]
  |  Branch (13787:46): [True: 1.21M, False: 0]
  ------------------
13788|   661k|            &&
13789|   661k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (13789:13): [True: 145k, False: 516k]
  ------------------
13790|   145k|            &&
13791|   145k|            (b = term_rule(p))  // term
  ------------------
  |  Branch (13791:13): [True: 142k, False: 3.32k]
  ------------------
13792|  1.59M|        )
13793|   142k|        {
13794|   142k|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum '-' term"));
13795|   142k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13796|   142k|            if (_token == NULL) {
  ------------------
  |  Branch (13796:17): [True: 0, False: 142k]
  ------------------
13797|      0|                p->level--;
13798|      0|                return NULL;
13799|      0|            }
13800|   142k|            int _end_lineno = _token->end_lineno;
13801|   142k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   142k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 142k]
  |  |  ------------------
  ------------------
13802|   142k|            int _end_col_offset = _token->end_col_offset;
13803|   142k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   142k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 142k]
  |  |  ------------------
  ------------------
13804|   142k|            _res = _PyAST_BinOp ( a , Sub , b , EXTRA );
  ------------------
  |  |  316|   142k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13805|   142k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13805:18): [True: 0, False: 142k]
  |  Branch (13805:34): [True: 0, False: 142k]
  |  Branch (13805:57): [True: 0, False: 0]
  ------------------
13806|      0|                p->error_indicator = 1;
13807|      0|                p->level--;
13808|      0|                return NULL;
13809|      0|            }
13810|   142k|            goto done;
13811|   142k|        }
13812|  1.44M|        p->mark = _mark;
13813|  1.44M|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
13814|  1.44M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum '-' term"));
13815|  1.44M|    }
13816|  1.44M|    if (p->call_invalid_rules) { // invalid_arithmetic
  ------------------
  |  Branch (13816:9): [True: 369k, False: 1.07M]
  ------------------
13817|   369k|        if (p->error_indicator) {
  ------------------
  |  Branch (13817:13): [True: 1.37k, False: 368k]
  ------------------
13818|  1.37k|            p->level--;
13819|  1.37k|            return NULL;
13820|  1.37k|        }
13821|   368k|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_arithmetic"));
13822|   368k|        void *invalid_arithmetic_var;
13823|   368k|        if (
13824|   368k|            (invalid_arithmetic_var = invalid_arithmetic_rule(p))  // invalid_arithmetic
  ------------------
  |  |  651|   368k|#define invalid_arithmetic_rule _PyPegen_invalid_arithmetic_rule
  ------------------
  |  Branch (13824:13): [True: 0, False: 368k]
  ------------------
13825|   368k|        )
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|   368k|        p->mark = _mark;
13832|   368k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
13833|   368k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_arithmetic"));
13834|   368k|    }
13835|  1.44M|    { // term
13836|  1.44M|        if (p->error_indicator) {
  ------------------
  |  Branch (13836:13): [True: 672, False: 1.44M]
  ------------------
13837|    672|            p->level--;
13838|    672|            return NULL;
13839|    672|        }
13840|  1.44M|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term"));
13841|  1.44M|        expr_ty term_var;
13842|  1.44M|        if (
13843|  1.44M|            (term_var = term_rule(p))  // term
  ------------------
  |  Branch (13843:13): [True: 1.03M, False: 408k]
  ------------------
13844|  1.44M|        )
13845|  1.03M|        {
13846|  1.03M|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term"));
13847|  1.03M|            _res = term_var;
13848|  1.03M|            goto done;
13849|  1.03M|        }
13850|   408k|        p->mark = _mark;
13851|   408k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
13852|   408k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term"));
13853|   408k|    }
13854|   408k|    _res = NULL;
13855|  1.71M|  done:
13856|  1.71M|    p->level--;
13857|  1.71M|    return _res;
13858|   408k|}
parser.c:term_rule:
13871|  5.61M|{
13872|  5.61M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  11.2M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13872:9): [True: 1, False: 5.61M]
  |  Branch (13872:35): [True: 0, False: 5.61M]
  ------------------
13873|      1|        _Pypegen_stack_overflow(p);
13874|      1|    }
13875|  5.61M|    expr_ty _res = NULL;
13876|  5.61M|    if (_PyPegen_is_memoized(p, term_type, &_res)) {
  ------------------
  |  |  217|  5.61M|#define term_type 1128  // Left-recursive
  ------------------
  |  Branch (13876:9): [True: 4.40M, False: 1.20M]
  ------------------
13877|  4.40M|        p->level--;
13878|  4.40M|        return _res;
13879|  4.40M|    }
13880|  1.20M|    int _mark = p->mark;
13881|  1.20M|    int _resmark = p->mark;
13882|  1.20M|    Memo *_memo = _PyPegen_insert_memo_direct(p, _mark, term_type);
  ------------------
  |  |  217|  1.20M|#define term_type 1128  // Left-recursive
  ------------------
13883|  1.20M|    if (_memo == NULL) {
  ------------------
  |  Branch (13883:9): [True: 0, False: 1.20M]
  ------------------
13884|      0|        p->level--;
13885|      0|        return NULL;
13886|      0|    }
13887|  2.28M|    while (1) {
  ------------------
  |  Branch (13887:12): [True: 2.28M, Folded]
  ------------------
13888|  2.28M|        _memo->node = _res;
13889|  2.28M|        _memo->mark = p->mark;
13890|  2.28M|        p->mark = _mark;
13891|  2.28M|        void *_raw = term_raw(p);
13892|  2.28M|        if (p->error_indicator) {
  ------------------
  |  Branch (13892:13): [True: 49.3k, False: 2.23M]
  ------------------
13893|  49.3k|            p->level--;
13894|  49.3k|            return NULL;
13895|  49.3k|        }
13896|  2.23M|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13896:13): [True: 363k, False: 1.86M]
  |  Branch (13896:29): [True: 791k, False: 1.07M]
  ------------------
13897|  1.15M|            break;
13898|  1.07M|        _resmark = p->mark;
13899|  1.07M|        _res = _raw;
13900|  1.07M|    }
13901|  1.15M|    p->mark = _resmark;
13902|  1.15M|    p->level--;
13903|  1.15M|    return _res;
13904|  1.20M|}
parser.c:term_raw:
13907|  2.28M|{
13908|  2.28M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.56M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13908:9): [True: 1, False: 2.28M]
  |  Branch (13908:35): [True: 0, False: 2.28M]
  ------------------
13909|      1|        _Pypegen_stack_overflow(p);
13910|      1|    }
13911|  2.28M|    if (p->error_indicator) {
  ------------------
  |  Branch (13911:9): [True: 1, False: 2.28M]
  ------------------
13912|      1|        p->level--;
13913|      1|        return NULL;
13914|      1|    }
13915|  2.28M|    expr_ty _res = NULL;
13916|  2.28M|    int _mark = p->mark;
13917|  2.28M|    expr_ty _prefix_7_result = NULL;
13918|  2.28M|    int _prefix_7_end = 0, _prefix_7_valid = 0;
13919|  2.28M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13919:9): [True: 0, False: 2.28M]
  |  Branch (13919:31): [True: 0, False: 0]
  ------------------
13920|      0|        p->error_indicator = 1;
13921|      0|        p->level--;
13922|      0|        return NULL;
13923|      0|    }
13924|  2.28M|    int _start_lineno = p->tokens[_mark]->lineno;
13925|  2.28M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.28M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.28M]
  |  |  ------------------
  ------------------
13926|  2.28M|    int _start_col_offset = p->tokens[_mark]->col_offset;
13927|  2.28M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.28M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.28M]
  |  |  ------------------
  ------------------
13928|  2.28M|    { // term '*' factor
13929|  2.28M|        if (p->error_indicator) {
  ------------------
  |  Branch (13929:13): [True: 0, False: 2.28M]
  ------------------
13930|      0|            p->level--;
13931|      0|            return NULL;
13932|      0|        }
13933|  2.28M|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '*' factor"));
13934|  2.28M|        Token * _literal;
13935|  2.28M|        expr_ty a;
13936|  2.28M|        expr_ty b;
13937|  2.28M|        if (
13938|  2.28M|            (a = ((!p->call_invalid_rules && _prefix_7_valid) ? (p->mark = _prefix_7_end, _prefix_7_result) : (_prefix_7_result = term_rule(p), _prefix_7_end = p->mark, _prefix_7_valid = 1, _prefix_7_result)))  // term
  ------------------
  |  Branch (13938:13): [True: 1.07M, False: 1.20M]
  |  Branch (13938:20): [True: 1.86M, False: 414k]
  |  Branch (13938:46): [True: 0, False: 1.86M]
  ------------------
13939|  1.07M|            &&
13940|  1.07M|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (13940:13): [True: 156k, False: 920k]
  ------------------
13941|   156k|            &&
13942|   156k|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|   156k|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (13942:13): [True: 152k, False: 4.11k]
  ------------------
13943|  2.28M|        )
13944|   152k|        {
13945|   152k|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '*' factor"));
13946|   152k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13947|   152k|            if (_token == NULL) {
  ------------------
  |  Branch (13947:17): [True: 0, False: 152k]
  ------------------
13948|      0|                p->level--;
13949|      0|                return NULL;
13950|      0|            }
13951|   152k|            int _end_lineno = _token->end_lineno;
13952|   152k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   152k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 152k]
  |  |  ------------------
  ------------------
13953|   152k|            int _end_col_offset = _token->end_col_offset;
13954|   152k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   152k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 152k]
  |  |  ------------------
  ------------------
13955|   152k|            _res = _PyAST_BinOp ( a , Mult , b , EXTRA );
  ------------------
  |  |  316|   152k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13956|   152k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13956:18): [True: 0, False: 152k]
  |  Branch (13956:34): [True: 0, False: 152k]
  |  Branch (13956:57): [True: 0, False: 0]
  ------------------
13957|      0|                p->error_indicator = 1;
13958|      0|                p->level--;
13959|      0|                return NULL;
13960|      0|            }
13961|   152k|            goto done;
13962|   152k|        }
13963|  2.13M|        p->mark = _mark;
13964|  2.13M|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
13965|  2.13M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '*' factor"));
13966|  2.13M|    }
13967|      0|    { // term '/' factor
13968|  2.13M|        if (p->error_indicator) {
  ------------------
  |  Branch (13968:13): [True: 1.66k, False: 2.12M]
  ------------------
13969|  1.66k|            p->level--;
13970|  1.66k|            return NULL;
13971|  1.66k|        }
13972|  2.12M|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '/' factor"));
13973|  2.12M|        Token * _literal;
13974|  2.12M|        expr_ty a;
13975|  2.12M|        expr_ty b;
13976|  2.12M|        if (
13977|  2.12M|            (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: 923k, False: 1.20M]
  |  Branch (13977:20): [True: 1.72M, False: 406k]
  |  Branch (13977:46): [True: 1.72M, False: 0]
  ------------------
13978|   923k|            &&
13979|   923k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (13979:13): [True: 64.7k, False: 858k]
  ------------------
13980|  64.7k|            &&
13981|  64.7k|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|  64.7k|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (13981:13): [True: 63.4k, False: 1.23k]
  ------------------
13982|  2.12M|        )
13983|  63.4k|        {
13984|  63.4k|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '/' factor"));
13985|  63.4k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13986|  63.4k|            if (_token == NULL) {
  ------------------
  |  Branch (13986:17): [True: 0, False: 63.4k]
  ------------------
13987|      0|                p->level--;
13988|      0|                return NULL;
13989|      0|            }
13990|  63.4k|            int _end_lineno = _token->end_lineno;
13991|  63.4k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  63.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 63.4k]
  |  |  ------------------
  ------------------
13992|  63.4k|            int _end_col_offset = _token->end_col_offset;
13993|  63.4k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  63.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 63.4k]
  |  |  ------------------
  ------------------
13994|  63.4k|            _res = _PyAST_BinOp ( a , Div , b , EXTRA );
  ------------------
  |  |  316|  63.4k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13995|  63.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13995:18): [True: 0, False: 63.4k]
  |  Branch (13995:34): [True: 0, False: 63.4k]
  |  Branch (13995:57): [True: 0, False: 0]
  ------------------
13996|      0|                p->error_indicator = 1;
13997|      0|                p->level--;
13998|      0|                return NULL;
13999|      0|            }
14000|  63.4k|            goto done;
14001|  63.4k|        }
14002|  2.06M|        p->mark = _mark;
14003|  2.06M|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14004|  2.06M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '/' factor"));
14005|  2.06M|    }
14006|      0|    { // term '//' factor
14007|  2.06M|        if (p->error_indicator) {
  ------------------
  |  Branch (14007:13): [True: 537, False: 2.06M]
  ------------------
14008|    537|            p->level--;
14009|    537|            return NULL;
14010|    537|        }
14011|  2.06M|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '//' factor"));
14012|  2.06M|        Token * _literal;
14013|  2.06M|        expr_ty a;
14014|  2.06M|        expr_ty b;
14015|  2.06M|        if (
14016|  2.06M|            (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: 859k, False: 1.20M]
  |  Branch (14016:20): [True: 1.66M, False: 401k]
  |  Branch (14016:46): [True: 1.66M, False: 0]
  ------------------
14017|   859k|            &&
14018|   859k|            (_literal = _PyPegen_expect_token(p, 47))  // token='//'
  ------------------
  |  Branch (14018:13): [True: 19.5k, False: 839k]
  ------------------
14019|  19.5k|            &&
14020|  19.5k|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|  19.5k|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14020:13): [True: 19.1k, False: 401]
  ------------------
14021|  2.06M|        )
14022|  19.1k|        {
14023|  19.1k|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '//' factor"));
14024|  19.1k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14025|  19.1k|            if (_token == NULL) {
  ------------------
  |  Branch (14025:17): [True: 0, False: 19.1k]
  ------------------
14026|      0|                p->level--;
14027|      0|                return NULL;
14028|      0|            }
14029|  19.1k|            int _end_lineno = _token->end_lineno;
14030|  19.1k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  19.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 19.1k]
  |  |  ------------------
  ------------------
14031|  19.1k|            int _end_col_offset = _token->end_col_offset;
14032|  19.1k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  19.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 19.1k]
  |  |  ------------------
  ------------------
14033|  19.1k|            _res = _PyAST_BinOp ( a , FloorDiv , b , EXTRA );
  ------------------
  |  |  316|  19.1k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14034|  19.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14034:18): [True: 0, False: 19.1k]
  |  Branch (14034:34): [True: 0, False: 19.1k]
  |  Branch (14034:57): [True: 0, False: 0]
  ------------------
14035|      0|                p->error_indicator = 1;
14036|      0|                p->level--;
14037|      0|                return NULL;
14038|      0|            }
14039|  19.1k|            goto done;
14040|  19.1k|        }
14041|  2.04M|        p->mark = _mark;
14042|  2.04M|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14043|  2.04M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '//' factor"));
14044|  2.04M|    }
14045|      0|    { // term '%' factor
14046|  2.04M|        if (p->error_indicator) {
  ------------------
  |  Branch (14046:13): [True: 186, False: 2.04M]
  ------------------
14047|    186|            p->level--;
14048|    186|            return NULL;
14049|    186|        }
14050|  2.04M|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '%' factor"));
14051|  2.04M|        Token * _literal;
14052|  2.04M|        expr_ty a;
14053|  2.04M|        expr_ty b;
14054|  2.04M|        if (
14055|  2.04M|            (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: 839k, False: 1.20M]
  |  Branch (14055:20): [True: 1.64M, False: 400k]
  |  Branch (14055:46): [True: 1.64M, False: 0]
  ------------------
14056|   839k|            &&
14057|   839k|            (_literal = _PyPegen_expect_token(p, 24))  // token='%'
  ------------------
  |  Branch (14057:13): [True: 35.7k, False: 804k]
  ------------------
14058|  35.7k|            &&
14059|  35.7k|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|  35.7k|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14059:13): [True: 32.3k, False: 3.37k]
  ------------------
14060|  2.04M|        )
14061|  32.3k|        {
14062|  32.3k|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '%' factor"));
14063|  32.3k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14064|  32.3k|            if (_token == NULL) {
  ------------------
  |  Branch (14064:17): [True: 0, False: 32.3k]
  ------------------
14065|      0|                p->level--;
14066|      0|                return NULL;
14067|      0|            }
14068|  32.3k|            int _end_lineno = _token->end_lineno;
14069|  32.3k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  32.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 32.3k]
  |  |  ------------------
  ------------------
14070|  32.3k|            int _end_col_offset = _token->end_col_offset;
14071|  32.3k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  32.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 32.3k]
  |  |  ------------------
  ------------------
14072|  32.3k|            _res = _PyAST_BinOp ( a , Mod , b , EXTRA );
  ------------------
  |  |  316|  32.3k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14073|  32.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14073:18): [True: 0, False: 32.3k]
  |  Branch (14073:34): [True: 0, False: 32.3k]
  |  Branch (14073:57): [True: 0, False: 0]
  ------------------
14074|      0|                p->error_indicator = 1;
14075|      0|                p->level--;
14076|      0|                return NULL;
14077|      0|            }
14078|  32.3k|            goto done;
14079|  32.3k|        }
14080|  2.01M|        p->mark = _mark;
14081|  2.01M|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14082|  2.01M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '%' factor"));
14083|  2.01M|    }
14084|      0|    { // term '@' factor
14085|  2.01M|        if (p->error_indicator) {
  ------------------
  |  Branch (14085:13): [True: 3.09k, False: 2.00M]
  ------------------
14086|  3.09k|            p->level--;
14087|  3.09k|            return NULL;
14088|  3.09k|        }
14089|  2.00M|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '@' factor"));
14090|  2.00M|        Token * _literal;
14091|  2.00M|        expr_ty a;
14092|  2.00M|        expr_ty b;
14093|  2.00M|        if (
14094|  2.00M|            (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: 804k, False: 1.20M]
  |  Branch (14094:20): [True: 1.61M, False: 397k]
  |  Branch (14094:46): [True: 1.61M, False: 0]
  ------------------
14095|   804k|            &&
14096|   804k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (14096:13): [True: 13.0k, False: 791k]
  ------------------
14097|  13.0k|            &&
14098|  13.0k|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|  13.0k|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14098:13): [True: 12.1k, False: 908]
  ------------------
14099|  2.00M|        )
14100|  12.1k|        {
14101|  12.1k|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '@' factor"));
14102|  12.1k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14103|  12.1k|            if (_token == NULL) {
  ------------------
  |  Branch (14103:17): [True: 0, False: 12.1k]
  ------------------
14104|      0|                p->level--;
14105|      0|                return NULL;
14106|      0|            }
14107|  12.1k|            int _end_lineno = _token->end_lineno;
14108|  12.1k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  12.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 12.1k]
  |  |  ------------------
  ------------------
14109|  12.1k|            int _end_col_offset = _token->end_col_offset;
14110|  12.1k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  12.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 12.1k]
  |  |  ------------------
  ------------------
14111|  12.1k|            _res = CHECK_VERSION ( expr_ty , 5 , "The '@' operator is" , _PyAST_BinOp ( a , MatMult , b , EXTRA ) );
  ------------------
  |  |  354|  12.1k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
14112|  12.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14112:18): [True: 0, False: 12.1k]
  |  Branch (14112:34): [True: 0, False: 12.1k]
  |  Branch (14112:57): [True: 0, False: 0]
  ------------------
14113|      0|                p->error_indicator = 1;
14114|      0|                p->level--;
14115|      0|                return NULL;
14116|      0|            }
14117|  12.1k|            goto done;
14118|  12.1k|        }
14119|  1.99M|        p->mark = _mark;
14120|  1.99M|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14121|  1.99M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '@' factor"));
14122|  1.99M|    }
14123|      0|    { // factor
14124|  1.99M|        if (p->error_indicator) {
  ------------------
  |  Branch (14124:13): [True: 369, False: 1.99M]
  ------------------
14125|    369|            p->level--;
14126|    369|            return NULL;
14127|    369|        }
14128|  1.99M|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "factor"));
14129|  1.99M|        expr_ty factor_var;
14130|  1.99M|        if (
14131|  1.99M|            (factor_var = factor_rule(p))  // factor
  ------------------
  |  |  487|  1.99M|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14131:13): [True: 1.58M, False: 407k]
  ------------------
14132|  1.99M|        )
14133|  1.58M|        {
14134|  1.58M|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "factor"));
14135|  1.58M|            _res = factor_var;
14136|  1.58M|            goto done;
14137|  1.58M|        }
14138|   407k|        p->mark = _mark;
14139|   407k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14140|   407k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "factor"));
14141|   407k|    }
14142|   407k|    _res = NULL;
14143|  2.27M|  done:
14144|  2.27M|    p->level--;
14145|  2.27M|    return _res;
14146|   407k|}
parser.c:power_rule:
14330|  1.59M|{
14331|  1.59M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.19M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14331:9): [True: 3, False: 1.59M]
  |  Branch (14331:35): [True: 0, False: 1.59M]
  ------------------
14332|      3|        _Pypegen_stack_overflow(p);
14333|      3|    }
14334|  1.59M|    if (p->error_indicator) {
  ------------------
  |  Branch (14334:9): [True: 3, False: 1.59M]
  ------------------
14335|      3|        p->level--;
14336|      3|        return NULL;
14337|      3|    }
14338|  1.59M|    expr_ty _res = NULL;
14339|  1.59M|    int _mark = p->mark;
14340|  1.59M|    expr_ty _prefix_8_result = NULL;
14341|  1.59M|    int _prefix_8_end = 0, _prefix_8_valid = 0;
14342|  1.59M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14342:9): [True: 0, False: 1.59M]
  |  Branch (14342:31): [True: 0, False: 0]
  ------------------
14343|      0|        p->error_indicator = 1;
14344|      0|        p->level--;
14345|      0|        return NULL;
14346|      0|    }
14347|  1.59M|    int _start_lineno = p->tokens[_mark]->lineno;
14348|  1.59M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.59M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.59M]
  |  |  ------------------
  ------------------
14349|  1.59M|    int _start_col_offset = p->tokens[_mark]->col_offset;
14350|  1.59M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.59M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.59M]
  |  |  ------------------
  ------------------
14351|  1.59M|    { // await_primary '**' factor
14352|  1.59M|        if (p->error_indicator) {
  ------------------
  |  Branch (14352:13): [True: 0, False: 1.59M]
  ------------------
14353|      0|            p->level--;
14354|      0|            return NULL;
14355|      0|        }
14356|  1.59M|        D(fprintf(stderr, "%*c> power[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "await_primary '**' factor"));
14357|  1.59M|        Token * _literal;
14358|  1.59M|        expr_ty a;
14359|  1.59M|        expr_ty b;
14360|  1.59M|        if (
14361|  1.59M|            (a = ((!p->call_invalid_rules && _prefix_8_valid) ? (p->mark = _prefix_8_end, _prefix_8_result) : (_prefix_8_result = await_primary_rule(p), _prefix_8_end = p->mark, _prefix_8_valid = 1, _prefix_8_result)))  // await_primary
  ------------------
  |  Branch (14361:13): [True: 1.14M, False: 455k]
  |  Branch (14361:20): [True: 1.30M, False: 288k]
  |  Branch (14361:46): [True: 0, False: 1.30M]
  ------------------
14362|  1.14M|            &&
14363|  1.14M|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (14363:13): [True: 70.8k, False: 1.07M]
  ------------------
14364|  70.8k|            &&
14365|  70.8k|            (b = factor_rule(p))  // factor
  ------------------
  |  |  487|  70.8k|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (14365:13): [True: 70.4k, False: 390]
  ------------------
14366|  1.59M|        )
14367|  70.4k|        {
14368|  70.4k|            D(fprintf(stderr, "%*c+ power[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "await_primary '**' factor"));
14369|  70.4k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14370|  70.4k|            if (_token == NULL) {
  ------------------
  |  Branch (14370:17): [True: 0, False: 70.4k]
  ------------------
14371|      0|                p->level--;
14372|      0|                return NULL;
14373|      0|            }
14374|  70.4k|            int _end_lineno = _token->end_lineno;
14375|  70.4k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  70.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 70.4k]
  |  |  ------------------
  ------------------
14376|  70.4k|            int _end_col_offset = _token->end_col_offset;
14377|  70.4k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  70.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 70.4k]
  |  |  ------------------
  ------------------
14378|  70.4k|            _res = _PyAST_BinOp ( a , Pow , b , EXTRA );
  ------------------
  |  |  316|  70.4k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14379|  70.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14379:18): [True: 0, False: 70.4k]
  |  Branch (14379:34): [True: 0, False: 70.4k]
  |  Branch (14379:57): [True: 0, False: 0]
  ------------------
14380|      0|                p->error_indicator = 1;
14381|      0|                p->level--;
14382|      0|                return NULL;
14383|      0|            }
14384|  70.4k|            goto done;
14385|  70.4k|        }
14386|  1.52M|        p->mark = _mark;
14387|  1.52M|        D(fprintf(stderr, "%*c%s power[%d-%d]: %s failed!\n", p->level, ' ',
14388|  1.52M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "await_primary '**' factor"));
14389|  1.52M|    }
14390|      0|    { // await_primary
14391|  1.52M|        if (p->error_indicator) {
  ------------------
  |  Branch (14391:13): [True: 49.4k, False: 1.47M]
  ------------------
14392|  49.4k|            p->level--;
14393|  49.4k|            return NULL;
14394|  49.4k|        }
14395|  1.47M|        D(fprintf(stderr, "%*c> power[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "await_primary"));
14396|  1.47M|        expr_ty await_primary_var;
14397|  1.47M|        if (
14398|  1.47M|            (await_primary_var = ((!p->call_invalid_rules && _prefix_8_valid) ? (p->mark = _prefix_8_end, _prefix_8_result) : (_prefix_8_result = await_primary_rule(p), _prefix_8_end = p->mark, _prefix_8_valid = 1, _prefix_8_result)))  // await_primary
  ------------------
  |  Branch (14398:13): [True: 1.07M, False: 406k]
  |  Branch (14398:36): [True: 1.22M, False: 249k]
  |  Branch (14398:62): [True: 1.22M, False: 0]
  ------------------
14399|  1.47M|        )
14400|  1.07M|        {
14401|  1.07M|            D(fprintf(stderr, "%*c+ power[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "await_primary"));
14402|  1.07M|            _res = await_primary_var;
14403|  1.07M|            goto done;
14404|  1.07M|        }
14405|   406k|        p->mark = _mark;
14406|   406k|        D(fprintf(stderr, "%*c%s power[%d-%d]: %s failed!\n", p->level, ' ',
14407|   406k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "await_primary"));
14408|   406k|    }
14409|   406k|    _res = NULL;
14410|  1.54M|  done:
14411|  1.54M|    p->level--;
14412|  1.54M|    return _res;
14413|   406k|}
parser.c:await_primary_rule:
14418|  1.84M|{
14419|  1.84M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.69M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14419:9): [True: 0, False: 1.84M]
  |  Branch (14419:35): [True: 0, False: 1.84M]
  ------------------
14420|      0|        _Pypegen_stack_overflow(p);
14421|      0|    }
14422|  1.84M|    if (p->error_indicator) {
  ------------------
  |  Branch (14422:9): [True: 0, False: 1.84M]
  ------------------
14423|      0|        p->level--;
14424|      0|        return NULL;
14425|      0|    }
14426|  1.84M|    expr_ty _res = NULL;
14427|  1.84M|    if (_PyPegen_is_memoized(p, await_primary_type, &_res)) {
  ------------------
  |  |  220|  1.84M|#define await_primary_type 1131
  ------------------
  |  Branch (14427:9): [True: 249k, False: 1.59M]
  ------------------
14428|   249k|        p->level--;
14429|   249k|        return _res;
14430|   249k|    }
14431|  1.59M|    int _mark = p->mark;
14432|  1.59M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14432:9): [True: 0, False: 1.59M]
  |  Branch (14432:31): [True: 0, False: 0]
  ------------------
14433|      0|        p->error_indicator = 1;
14434|      0|        p->level--;
14435|      0|        return NULL;
14436|      0|    }
14437|  1.59M|    int _start_lineno = p->tokens[_mark]->lineno;
14438|  1.59M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.59M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.59M]
  |  |  ------------------
  ------------------
14439|  1.59M|    int _start_col_offset = p->tokens[_mark]->col_offset;
14440|  1.59M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.59M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.59M]
  |  |  ------------------
  ------------------
14441|  1.59M|    { // 'await' primary
14442|  1.59M|        if (p->error_indicator) {
  ------------------
  |  Branch (14442:13): [True: 0, False: 1.59M]
  ------------------
14443|      0|            p->level--;
14444|      0|            return NULL;
14445|      0|        }
14446|  1.59M|        D(fprintf(stderr, "%*c> await_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'await' primary"));
14447|  1.59M|        Token * _keyword;
14448|  1.59M|        expr_ty a;
14449|  1.59M|        if (
14450|  1.59M|            (_keyword = _PyPegen_expect_token(p, 533))  // token='await'
  ------------------
  |  Branch (14450:13): [True: 1.56k, False: 1.59M]
  ------------------
14451|  1.56k|            &&
14452|  1.56k|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14452:13): [True: 1.33k, False: 231]
  ------------------
14453|  1.59M|        )
14454|  1.33k|        {
14455|  1.33k|            D(fprintf(stderr, "%*c+ await_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'await' primary"));
14456|  1.33k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14457|  1.33k|            if (_token == NULL) {
  ------------------
  |  Branch (14457:17): [True: 0, False: 1.33k]
  ------------------
14458|      0|                p->level--;
14459|      0|                return NULL;
14460|      0|            }
14461|  1.33k|            int _end_lineno = _token->end_lineno;
14462|  1.33k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.33k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.33k]
  |  |  ------------------
  ------------------
14463|  1.33k|            int _end_col_offset = _token->end_col_offset;
14464|  1.33k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.33k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.33k]
  |  |  ------------------
  ------------------
14465|  1.33k|            _res = CHECK_VERSION ( expr_ty , 5 , "Await expressions are" , _PyAST_Await ( a , EXTRA ) );
  ------------------
  |  |  354|  1.33k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
14466|  1.33k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14466:18): [True: 0, False: 1.33k]
  |  Branch (14466:34): [True: 0, False: 1.33k]
  |  Branch (14466:57): [True: 0, False: 0]
  ------------------
14467|      0|                p->error_indicator = 1;
14468|      0|                p->level--;
14469|      0|                return NULL;
14470|      0|            }
14471|  1.33k|            goto done;
14472|  1.33k|        }
14473|  1.59M|        p->mark = _mark;
14474|  1.59M|        D(fprintf(stderr, "%*c%s await_primary[%d-%d]: %s failed!\n", p->level, ' ',
14475|  1.59M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'await' primary"));
14476|  1.59M|    }
14477|      0|    { // primary
14478|  1.59M|        if (p->error_indicator) {
  ------------------
  |  Branch (14478:13): [True: 218, False: 1.59M]
  ------------------
14479|    218|            p->level--;
14480|    218|            return NULL;
14481|    218|        }
14482|  1.59M|        D(fprintf(stderr, "%*c> await_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary"));
14483|  1.59M|        expr_ty primary_var;
14484|  1.59M|        if (
14485|  1.59M|            (primary_var = primary_rule(p))  // primary
  ------------------
  |  Branch (14485:13): [True: 1.14M, False: 455k]
  ------------------
14486|  1.59M|        )
14487|  1.14M|        {
14488|  1.14M|            D(fprintf(stderr, "%*c+ await_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary"));
14489|  1.14M|            _res = primary_var;
14490|  1.14M|            goto done;
14491|  1.14M|        }
14492|   455k|        p->mark = _mark;
14493|   455k|        D(fprintf(stderr, "%*c%s await_primary[%d-%d]: %s failed!\n", p->level, ' ',
14494|   455k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary"));
14495|   455k|    }
14496|   455k|    _res = NULL;
14497|  1.59M|  done:
14498|  1.59M|    _PyPegen_insert_memo(p, _mark, await_primary_type, _res);
  ------------------
  |  |  220|  1.59M|#define await_primary_type 1131
  ------------------
14499|  1.59M|    p->level--;
14500|  1.59M|    return _res;
14501|   455k|}
parser.c:lambda_parameters_rule:
15434|  29.8k|{
15435|  29.8k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  59.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15435:9): [True: 0, False: 29.8k]
  |  Branch (15435:35): [True: 0, False: 29.8k]
  ------------------
15436|      0|        _Pypegen_stack_overflow(p);
15437|      0|    }
15438|  29.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (15438:9): [True: 0, False: 29.8k]
  ------------------
15439|      0|        p->level--;
15440|      0|        return NULL;
15441|      0|    }
15442|  29.8k|    arguments_ty _res = NULL;
15443|  29.8k|    int _mark = p->mark;
15444|  29.8k|    { // lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?
15445|  29.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (15445:13): [True: 0, False: 29.8k]
  ------------------
15446|      0|            p->level--;
15447|      0|            return NULL;
15448|      0|        }
15449|  29.8k|        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|  29.8k|        asdl_arg_seq* a;
15451|  29.8k|        asdl_arg_seq* b;
15452|  29.8k|        asdl_seq * c;
15453|  29.8k|        void *d;
15454|  29.8k|        if (
15455|  29.8k|            (a = lambda_slash_no_default_rule(p))  // lambda_slash_no_default
  ------------------
  |  |  493|  29.8k|#define lambda_slash_no_default_rule _PyPegen_lambda_slash_no_default_rule
  ------------------
  |  Branch (15455:13): [True: 2.61k, False: 27.2k]
  ------------------
15456|  2.61k|            &&
15457|  2.61k|            (b = (asdl_arg_seq*)_loop0_70_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (15457:13): [True: 2.61k, False: 0]
  ------------------
15458|  2.61k|            &&
15459|  2.61k|            (c = _loop0_71_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15459:13): [True: 2.61k, False: 1]
  ------------------
15460|  2.61k|            &&
15461|  2.61k|            (d = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15461:13): [True: 2.40k, False: 210]
  ------------------
15462|  29.8k|        )
15463|  2.40k|        {
15464|  2.40k|            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|  2.40k|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , a , NULL , b , c , d ) );
  ------------------
  |  |  354|  2.40k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
15466|  2.40k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15466:18): [True: 0, False: 2.40k]
  |  Branch (15466:34): [True: 0, False: 2.40k]
  |  Branch (15466:57): [True: 0, False: 0]
  ------------------
15467|      0|                p->error_indicator = 1;
15468|      0|                p->level--;
15469|      0|                return NULL;
15470|      0|            }
15471|  2.40k|            goto done;
15472|  2.40k|        }
15473|  27.4k|        p->mark = _mark;
15474|  27.4k|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15475|  27.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?"));
15476|  27.4k|    }
15477|      0|    { // lambda_slash_with_default lambda_param_with_default* lambda_star_etc?
15478|  27.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (15478:13): [True: 219, False: 27.2k]
  ------------------
15479|    219|            p->level--;
15480|    219|            return NULL;
15481|    219|        }
15482|  27.2k|        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|  27.2k|        SlashWithDefault* a;
15484|  27.2k|        asdl_seq * b;
15485|  27.2k|        void *c;
15486|  27.2k|        if (
15487|  27.2k|            (a = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  |  495|  27.2k|#define lambda_slash_with_default_rule _PyPegen_lambda_slash_with_default_rule
  ------------------
  |  Branch (15487:13): [True: 1.04k, False: 26.2k]
  ------------------
15488|  1.04k|            &&
15489|  1.04k|            (b = _loop0_71_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15489:13): [True: 1.04k, False: 0]
  ------------------
15490|  1.04k|            &&
15491|  1.04k|            (c = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15491:13): [True: 974, False: 66]
  ------------------
15492|  27.2k|        )
15493|    974|        {
15494|    974|            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|    974|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , NULL , a , NULL , b , c ) );
  ------------------
  |  |  354|    974|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
15496|    974|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15496:18): [True: 0, False: 974]
  |  Branch (15496:34): [True: 0, False: 974]
  |  Branch (15496:57): [True: 0, False: 0]
  ------------------
15497|      0|                p->error_indicator = 1;
15498|      0|                p->level--;
15499|      0|                return NULL;
15500|      0|            }
15501|    974|            goto done;
15502|    974|        }
15503|  26.2k|        p->mark = _mark;
15504|  26.2k|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15505|  26.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default lambda_param_with_default* lambda_star_etc?"));
15506|  26.2k|    }
15507|      0|    { // lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?
15508|  26.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (15508:13): [True: 405, False: 25.8k]
  ------------------
15509|    405|            p->level--;
15510|    405|            return NULL;
15511|    405|        }
15512|  25.8k|        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|  25.8k|        asdl_arg_seq* a;
15514|  25.8k|        asdl_seq * b;
15515|  25.8k|        void *c;
15516|  25.8k|        if (
15517|  25.8k|            (a = (asdl_arg_seq*)_loop1_72_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15517:13): [True: 5.22k, False: 20.6k]
  ------------------
15518|  5.22k|            &&
15519|  5.22k|            (b = _loop0_71_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15519:13): [True: 5.22k, False: 0]
  ------------------
15520|  5.22k|            &&
15521|  5.22k|            (c = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15521:13): [True: 5.19k, False: 30]
  ------------------
15522|  25.8k|        )
15523|  5.19k|        {
15524|  5.19k|            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|  5.19k|            _res = _PyPegen_make_arguments ( p , NULL , NULL , a , b , c );
15526|  5.19k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15526:18): [True: 0, False: 5.19k]
  |  Branch (15526:34): [True: 0, False: 5.19k]
  |  Branch (15526:57): [True: 0, False: 0]
  ------------------
15527|      0|                p->error_indicator = 1;
15528|      0|                p->level--;
15529|      0|                return NULL;
15530|      0|            }
15531|  5.19k|            goto done;
15532|  5.19k|        }
15533|  20.6k|        p->mark = _mark;
15534|  20.6k|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15535|  20.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?"));
15536|  20.6k|    }
15537|      0|    { // lambda_param_with_default+ lambda_star_etc?
15538|  20.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (15538:13): [True: 30, False: 20.6k]
  ------------------
15539|     30|            p->level--;
15540|     30|            return NULL;
15541|     30|        }
15542|  20.6k|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15543|  20.6k|        asdl_seq * a;
15544|  20.6k|        void *b;
15545|  20.6k|        if (
15546|  20.6k|            (a = _loop1_73_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (15546:13): [True: 1.07k, False: 19.5k]
  ------------------
15547|  1.07k|            &&
15548|  1.07k|            (b = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15548:13): [True: 1.05k, False: 20]
  ------------------
15549|  20.6k|        )
15550|  1.05k|        {
15551|  1.05k|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15552|  1.05k|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , a , b );
15553|  1.05k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15553:18): [True: 0, False: 1.05k]
  |  Branch (15553:34): [True: 0, False: 1.05k]
  |  Branch (15553:57): [True: 0, False: 0]
  ------------------
15554|      0|                p->error_indicator = 1;
15555|      0|                p->level--;
15556|      0|                return NULL;
15557|      0|            }
15558|  1.05k|            goto done;
15559|  1.05k|        }
15560|  19.6k|        p->mark = _mark;
15561|  19.6k|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15562|  19.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15563|  19.6k|    }
15564|      0|    { // lambda_star_etc
15565|  19.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (15565:13): [True: 20, False: 19.5k]
  ------------------
15566|     20|            p->level--;
15567|     20|            return NULL;
15568|     20|        }
15569|  19.5k|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_star_etc"));
15570|  19.5k|        StarEtc* a;
15571|  19.5k|        if (
15572|  19.5k|            (a = lambda_star_etc_rule(p))  // lambda_star_etc
  ------------------
  |  Branch (15572:13): [True: 15.0k, False: 4.57k]
  ------------------
15573|  19.5k|        )
15574|  15.0k|        {
15575|  15.0k|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_star_etc"));
15576|  15.0k|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , NULL , a );
15577|  15.0k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15577:18): [True: 0, False: 15.0k]
  |  Branch (15577:34): [True: 0, False: 15.0k]
  |  Branch (15577:57): [True: 0, False: 0]
  ------------------
15578|      0|                p->error_indicator = 1;
15579|      0|                p->level--;
15580|      0|                return NULL;
15581|      0|            }
15582|  15.0k|            goto done;
15583|  15.0k|        }
15584|  4.57k|        p->mark = _mark;
15585|  4.57k|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15586|  4.57k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_star_etc"));
15587|  4.57k|    }
15588|  4.57k|    _res = NULL;
15589|  29.2k|  done:
15590|  29.2k|    p->level--;
15591|  29.2k|    return _res;
15592|  4.57k|}
parser.c:_loop0_71_rule:
23826|  8.87k|{
23827|  8.87k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  17.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23827:9): [True: 0, False: 8.87k]
  |  Branch (23827:35): [True: 0, False: 8.87k]
  ------------------
23828|      0|        _Pypegen_stack_overflow(p);
23829|      0|    }
23830|  8.87k|    if (p->error_indicator) {
  ------------------
  |  Branch (23830:9): [True: 1, False: 8.87k]
  ------------------
23831|      1|        p->level--;
23832|      1|        return NULL;
23833|      1|    }
23834|  8.87k|    void *_res = NULL;
23835|  8.87k|    int _mark = p->mark;
23836|  8.87k|    void **_children = NULL;
23837|  8.87k|    Py_ssize_t _children_capacity = 0;
23838|  8.87k|    Py_ssize_t _n = 0;
23839|  8.87k|    { // lambda_param_with_default
23840|  8.87k|        if (p->error_indicator) {
  ------------------
  |  Branch (23840:13): [True: 0, False: 8.87k]
  ------------------
23841|      0|            p->level--;
23842|      0|            return NULL;
23843|      0|        }
23844|  8.87k|        D(fprintf(stderr, "%*c> _loop0_71[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
23845|  8.87k|        NameDefaultPair* lambda_param_with_default_var;
23846|  8.87k|        while (
23847|  10.7k|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  |  499|  10.7k|#define lambda_param_with_default_rule _PyPegen_lambda_param_with_default_rule
  ------------------
  |  Branch (23847:13): [True: 1.91k, False: 8.87k]
  ------------------
23848|  8.87k|        )
23849|  1.91k|        {
23850|  1.91k|            _res = lambda_param_with_default_var;
23851|  1.91k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23851:17): [True: 1.27k, False: 643]
  ------------------
23852|  1.27k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23852:21): [True: 0, False: 1.27k]
  ------------------
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|  1.27k|            }
23860|  1.91k|            _children[_n++] = _res;
23861|  1.91k|            _mark = p->mark;
23862|  1.91k|        }
23863|  8.87k|        p->mark = _mark;
23864|  8.87k|        D(fprintf(stderr, "%*c%s _loop0_71[%d-%d]: %s failed!\n", p->level, ' ',
23865|  8.87k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
23866|  8.87k|    }
23867|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23868|  8.87k|    if (!_seq) {
  ------------------
  |  Branch (23868:9): [True: 0, False: 8.87k]
  ------------------
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|  10.7k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.91k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  10.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23875:28): [True: 1.91k, False: 8.87k]
  ------------------
23876|  8.87k|    PyMem_Free(_children);
23877|  8.87k|    p->level--;
23878|  8.87k|    return _seq;
23879|  8.87k|}
parser.c:lambda_star_etc_rule:
15767|  29.5k|{
15768|  29.5k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  59.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15768:9): [True: 0, False: 29.5k]
  |  Branch (15768:35): [True: 0, False: 29.5k]
  ------------------
15769|      0|        _Pypegen_stack_overflow(p);
15770|      0|    }
15771|  29.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (15771:9): [True: 71, False: 29.4k]
  ------------------
15772|     71|        p->level--;
15773|     71|        return NULL;
15774|     71|    }
15775|  29.4k|    StarEtc* _res = NULL;
15776|  29.4k|    int _mark = p->mark;
15777|  29.4k|    if (p->call_invalid_rules) { // invalid_lambda_star_etc
  ------------------
  |  Branch (15777:9): [True: 11.7k, False: 17.7k]
  ------------------
15778|  11.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (15778:13): [True: 0, False: 11.7k]
  ------------------
15779|      0|            p->level--;
15780|      0|            return NULL;
15781|      0|        }
15782|  11.7k|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_star_etc"));
15783|  11.7k|        void *invalid_lambda_star_etc_var;
15784|  11.7k|        if (
15785|  11.7k|            (invalid_lambda_star_etc_var = invalid_lambda_star_etc_rule(p))  // invalid_lambda_star_etc
  ------------------
  |  |  573|  11.7k|#define invalid_lambda_star_etc_rule _PyPegen_invalid_lambda_star_etc_rule
  ------------------
  |  Branch (15785:13): [True: 0, False: 11.7k]
  ------------------
15786|  11.7k|        )
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|  11.7k|        p->mark = _mark;
15793|  11.7k|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
15794|  11.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_star_etc"));
15795|  11.7k|    }
15796|  29.4k|    { // '*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?
15797|  29.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (15797:13): [True: 15, False: 29.4k]
  ------------------
15798|     15|            p->level--;
15799|     15|            return NULL;
15800|     15|        }
15801|  29.4k|        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|  29.4k|        Token * _literal;
15803|  29.4k|        arg_ty a;
15804|  29.4k|        asdl_seq * b;
15805|  29.4k|        void *c;
15806|  29.4k|        if (
15807|  29.4k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (15807:13): [True: 17.8k, False: 11.5k]
  ------------------
15808|  17.8k|            &&
15809|  17.8k|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  497|  17.8k|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (15809:13): [True: 14.0k, False: 3.78k]
  ------------------
15810|  14.0k|            &&
15811|  14.0k|            (b = _loop0_74_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (15811:13): [True: 14.0k, False: 0]
  ------------------
15812|  14.0k|            &&
15813|  14.0k|            (c = lambda_kwds_rule(p), !p->error_indicator)  // lambda_kwds?
  ------------------
  |  Branch (15813:13): [True: 14.0k, False: 33]
  ------------------
15814|  29.4k|        )
15815|  14.0k|        {
15816|  14.0k|            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|  14.0k|            _res = _PyPegen_star_etc ( p , a , b , c );
15818|  14.0k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15818:18): [True: 0, False: 14.0k]
  |  Branch (15818:34): [True: 0, False: 14.0k]
  |  Branch (15818:57): [True: 0, False: 0]
  ------------------
15819|      0|                p->error_indicator = 1;
15820|      0|                p->level--;
15821|      0|                return NULL;
15822|      0|            }
15823|  14.0k|            goto done;
15824|  14.0k|        }
15825|  15.4k|        p->mark = _mark;
15826|  15.4k|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
15827|  15.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?"));
15828|  15.4k|    }
15829|      0|    { // '*' ',' lambda_param_maybe_default+ lambda_kwds?
15830|  15.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (15830:13): [True: 37, False: 15.3k]
  ------------------
15831|     37|            p->level--;
15832|     37|            return NULL;
15833|     37|        }
15834|  15.3k|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
15835|  15.3k|        Token * _literal;
15836|  15.3k|        Token * _literal_1;
15837|  15.3k|        asdl_seq * b;
15838|  15.3k|        void *c;
15839|  15.3k|        if (
15840|  15.3k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (15840:13): [True: 3.77k, False: 11.5k]
  ------------------
15841|  3.77k|            &&
15842|  3.77k|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15842:13): [True: 3.59k, False: 186]
  ------------------
15843|  3.59k|            &&
15844|  3.59k|            (b = _loop1_75_rule(p))  // lambda_param_maybe_default+
  ------------------
  |  Branch (15844:13): [True: 937, False: 2.65k]
  ------------------
15845|    937|            &&
15846|    937|            (c = lambda_kwds_rule(p), !p->error_indicator)  // lambda_kwds?
  ------------------
  |  Branch (15846:13): [True: 936, False: 1]
  ------------------
15847|  15.3k|        )
15848|    936|        {
15849|    936|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
15850|    936|            _res = _PyPegen_star_etc ( p , NULL , b , c );
15851|    936|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15851:18): [True: 0, False: 936]
  |  Branch (15851:34): [True: 0, False: 936]
  |  Branch (15851:57): [True: 0, False: 0]
  ------------------
15852|      0|                p->error_indicator = 1;
15853|      0|                p->level--;
15854|      0|                return NULL;
15855|      0|            }
15856|    936|            goto done;
15857|    936|        }
15858|  14.4k|        p->mark = _mark;
15859|  14.4k|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
15860|  14.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
15861|  14.4k|    }
15862|      0|    { // lambda_kwds
15863|  14.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (15863:13): [True: 309, False: 14.1k]
  ------------------
15864|    309|            p->level--;
15865|    309|            return NULL;
15866|    309|        }
15867|  14.1k|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_kwds"));
15868|  14.1k|        arg_ty a;
15869|  14.1k|        if (
15870|  14.1k|            (a = lambda_kwds_rule(p))  // lambda_kwds
  ------------------
  |  Branch (15870:13): [True: 1.04k, False: 13.0k]
  ------------------
15871|  14.1k|        )
15872|  1.04k|        {
15873|  1.04k|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_kwds"));
15874|  1.04k|            _res = _PyPegen_star_etc ( p , NULL , NULL , a );
15875|  1.04k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15875:18): [True: 0, False: 1.04k]
  |  Branch (15875:34): [True: 0, False: 1.04k]
  |  Branch (15875:57): [True: 0, False: 0]
  ------------------
15876|      0|                p->error_indicator = 1;
15877|      0|                p->level--;
15878|      0|                return NULL;
15879|      0|            }
15880|  1.04k|            goto done;
15881|  1.04k|        }
15882|  13.0k|        p->mark = _mark;
15883|  13.0k|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
15884|  13.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_kwds"));
15885|  13.0k|    }
15886|  13.0k|    _res = NULL;
15887|  29.1k|  done:
15888|  29.1k|    p->level--;
15889|  29.1k|    return _res;
15890|  13.0k|}
parser.c:_loop0_74_rule:
24010|  14.0k|{
24011|  14.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  28.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24011:9): [True: 0, False: 14.0k]
  |  Branch (24011:35): [True: 0, False: 14.0k]
  ------------------
24012|      0|        _Pypegen_stack_overflow(p);
24013|      0|    }
24014|  14.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (24014:9): [True: 0, False: 14.0k]
  ------------------
24015|      0|        p->level--;
24016|      0|        return NULL;
24017|      0|    }
24018|  14.0k|    void *_res = NULL;
24019|  14.0k|    int _mark = p->mark;
24020|  14.0k|    void **_children = NULL;
24021|  14.0k|    Py_ssize_t _children_capacity = 0;
24022|  14.0k|    Py_ssize_t _n = 0;
24023|  14.0k|    { // lambda_param_maybe_default
24024|  14.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (24024:13): [True: 0, False: 14.0k]
  ------------------
24025|      0|            p->level--;
24026|      0|            return NULL;
24027|      0|        }
24028|  14.0k|        D(fprintf(stderr, "%*c> _loop0_74[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default"));
24029|  14.0k|        NameDefaultPair* lambda_param_maybe_default_var;
24030|  14.0k|        while (
24031|  34.2k|            (lambda_param_maybe_default_var = lambda_param_maybe_default_rule(p))  // lambda_param_maybe_default
  ------------------
  |  |  501|  34.2k|#define lambda_param_maybe_default_rule _PyPegen_lambda_param_maybe_default_rule
  ------------------
  |  Branch (24031:13): [True: 20.2k, False: 14.0k]
  ------------------
24032|  14.0k|        )
24033|  20.2k|        {
24034|  20.2k|            _res = lambda_param_maybe_default_var;
24035|  20.2k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24035:17): [True: 13.6k, False: 6.53k]
  ------------------
24036|  13.6k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24036:21): [True: 0, False: 13.6k]
  ------------------
24037|      0|                    p->error_indicator = 1;
24038|      0|                    PyErr_NoMemory();
24039|      0|                    PyMem_Free(_children);
24040|      0|                    p->level--;
24041|      0|                    return NULL;
24042|      0|                }
24043|  13.6k|            }
24044|  20.2k|            _children[_n++] = _res;
24045|  20.2k|            _mark = p->mark;
24046|  20.2k|        }
24047|  14.0k|        p->mark = _mark;
24048|  14.0k|        D(fprintf(stderr, "%*c%s _loop0_74[%d-%d]: %s failed!\n", p->level, ' ',
24049|  14.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default"));
24050|  14.0k|    }
24051|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24052|  14.0k|    if (!_seq) {
  ------------------
  |  Branch (24052:9): [True: 0, False: 14.0k]
  ------------------
24053|      0|        p->error_indicator = 1;
24054|      0|        PyErr_NoMemory();
24055|      0|        PyMem_Free(_children);
24056|      0|        p->level--;
24057|      0|        return NULL;
24058|      0|    }
24059|  34.2k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  20.2k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  34.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24059:28): [True: 20.2k, False: 14.0k]
  ------------------
24060|  14.0k|    PyMem_Free(_children);
24061|  14.0k|    p->level--;
24062|  14.0k|    return _seq;
24063|  14.0k|}
parser.c:lambda_kwds_rule:
15895|  29.1k|{
15896|  29.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  58.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15896:9): [True: 0, False: 29.1k]
  |  Branch (15896:35): [True: 0, False: 29.1k]
  ------------------
15897|      0|        _Pypegen_stack_overflow(p);
15898|      0|    }
15899|  29.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (15899:9): [True: 33, False: 29.1k]
  ------------------
15900|     33|        p->level--;
15901|     33|        return NULL;
15902|     33|    }
15903|  29.1k|    arg_ty _res = NULL;
15904|  29.1k|    int _mark = p->mark;
15905|  29.1k|    if (p->call_invalid_rules) { // invalid_lambda_kwds
  ------------------
  |  Branch (15905:9): [True: 11.7k, False: 17.3k]
  ------------------
15906|  11.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (15906:13): [True: 0, False: 11.7k]
  ------------------
15907|      0|            p->level--;
15908|      0|            return NULL;
15909|      0|        }
15910|  11.7k|        D(fprintf(stderr, "%*c> lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_kwds"));
15911|  11.7k|        void *invalid_lambda_kwds_var;
15912|  11.7k|        if (
15913|  11.7k|            (invalid_lambda_kwds_var = invalid_lambda_kwds_rule(p))  // invalid_lambda_kwds
  ------------------
  |  |  575|  11.7k|#define invalid_lambda_kwds_rule _PyPegen_invalid_lambda_kwds_rule
  ------------------
  |  Branch (15913:13): [True: 0, False: 11.7k]
  ------------------
15914|  11.7k|        )
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|  11.7k|        p->mark = _mark;
15921|  11.7k|        D(fprintf(stderr, "%*c%s lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
15922|  11.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_kwds"));
15923|  11.7k|    }
15924|  29.1k|    { // '**' lambda_param_no_default
15925|  29.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (15925:13): [True: 7, False: 29.0k]
  ------------------
15926|      7|            p->level--;
15927|      7|            return NULL;
15928|      7|        }
15929|  29.0k|        D(fprintf(stderr, "%*c> lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param_no_default"));
15930|  29.0k|        Token * _literal;
15931|  29.0k|        arg_ty a;
15932|  29.0k|        if (
15933|  29.0k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (15933:13): [True: 1.11k, False: 27.9k]
  ------------------
15934|  1.11k|            &&
15935|  1.11k|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  497|  1.11k|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (15935:13): [True: 1.08k, False: 32]
  ------------------
15936|  29.0k|        )
15937|  1.08k|        {
15938|  1.08k|            D(fprintf(stderr, "%*c+ lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param_no_default"));
15939|  1.08k|            _res = a;
15940|  1.08k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15940:18): [True: 0, False: 1.08k]
  |  Branch (15940:34): [True: 0, False: 1.08k]
  |  Branch (15940:57): [True: 0, False: 0]
  ------------------
15941|      0|                p->error_indicator = 1;
15942|      0|                p->level--;
15943|      0|                return NULL;
15944|      0|            }
15945|  1.08k|            goto done;
15946|  1.08k|        }
15947|  28.0k|        p->mark = _mark;
15948|  28.0k|        D(fprintf(stderr, "%*c%s lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
15949|  28.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param_no_default"));
15950|  28.0k|    }
15951|  28.0k|    _res = NULL;
15952|  29.0k|  done:
15953|  29.0k|    p->level--;
15954|  29.0k|    return _res;
15955|  28.0k|}
parser.c:_loop1_75_rule:
24068|  3.59k|{
24069|  3.59k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  7.18k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24069:9): [True: 0, False: 3.59k]
  |  Branch (24069:35): [True: 0, False: 3.59k]
  ------------------
24070|      0|        _Pypegen_stack_overflow(p);
24071|      0|    }
24072|  3.59k|    if (p->error_indicator) {
  ------------------
  |  Branch (24072:9): [True: 0, False: 3.59k]
  ------------------
24073|      0|        p->level--;
24074|      0|        return NULL;
24075|      0|    }
24076|  3.59k|    void *_res = NULL;
24077|  3.59k|    int _mark = p->mark;
24078|  3.59k|    void **_children = NULL;
24079|  3.59k|    Py_ssize_t _children_capacity = 0;
24080|  3.59k|    Py_ssize_t _n = 0;
24081|  3.59k|    { // lambda_param_maybe_default
24082|  3.59k|        if (p->error_indicator) {
  ------------------
  |  Branch (24082:13): [True: 0, False: 3.59k]
  ------------------
24083|      0|            p->level--;
24084|      0|            return NULL;
24085|      0|        }
24086|  3.59k|        D(fprintf(stderr, "%*c> _loop1_75[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default"));
24087|  3.59k|        NameDefaultPair* lambda_param_maybe_default_var;
24088|  3.59k|        while (
24089|  5.82k|            (lambda_param_maybe_default_var = lambda_param_maybe_default_rule(p))  // lambda_param_maybe_default
  ------------------
  |  |  501|  5.82k|#define lambda_param_maybe_default_rule _PyPegen_lambda_param_maybe_default_rule
  ------------------
  |  Branch (24089:13): [True: 2.23k, False: 3.59k]
  ------------------
24090|  3.59k|        )
24091|  2.23k|        {
24092|  2.23k|            _res = lambda_param_maybe_default_var;
24093|  2.23k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24093:17): [True: 2.00k, False: 232]
  ------------------
24094|  2.00k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24094:21): [True: 0, False: 2.00k]
  ------------------
24095|      0|                    p->error_indicator = 1;
24096|      0|                    PyErr_NoMemory();
24097|      0|                    PyMem_Free(_children);
24098|      0|                    p->level--;
24099|      0|                    return NULL;
24100|      0|                }
24101|  2.00k|            }
24102|  2.23k|            _children[_n++] = _res;
24103|  2.23k|            _mark = p->mark;
24104|  2.23k|        }
24105|  3.59k|        p->mark = _mark;
24106|  3.59k|        D(fprintf(stderr, "%*c%s _loop1_75[%d-%d]: %s failed!\n", p->level, ' ',
24107|  3.59k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default"));
24108|  3.59k|    }
24109|  3.59k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (24109:9): [True: 2.59k, False: 996]
  |  Branch (24109:20): [True: 59, False: 937]
  ------------------
24110|  2.65k|        PyMem_Free(_children);
24111|  2.65k|        p->level--;
24112|  2.65k|        return NULL;
24113|  2.65k|    }
24114|    937|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24115|    937|    if (!_seq) {
  ------------------
  |  Branch (24115:9): [True: 0, False: 937]
  ------------------
24116|      0|        p->error_indicator = 1;
24117|      0|        PyErr_NoMemory();
24118|      0|        PyMem_Free(_children);
24119|      0|        p->level--;
24120|      0|        return NULL;
24121|      0|    }
24122|  3.05k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  2.11k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  3.05k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24122:28): [True: 2.11k, False: 937]
  ------------------
24123|    937|    PyMem_Free(_children);
24124|    937|    p->level--;
24125|    937|    return _seq;
24126|    937|}
parser.c:fstring_replacement_field_rule:
16313|  67.9k|{
16314|  67.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   135k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16314:9): [True: 1, False: 67.9k]
  |  Branch (16314:35): [True: 0, False: 67.9k]
  ------------------
16315|      1|        _Pypegen_stack_overflow(p);
16316|      1|    }
16317|  67.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (16317:9): [True: 1, False: 67.9k]
  ------------------
16318|      1|        p->level--;
16319|      1|        return NULL;
16320|      1|    }
16321|  67.9k|    expr_ty _res = NULL;
16322|  67.9k|    int _mark = p->mark;
16323|  67.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16323:9): [True: 34.6k, False: 33.3k]
  |  Branch (16323:31): [True: 59, False: 34.5k]
  ------------------
16324|     59|        p->error_indicator = 1;
16325|     59|        p->level--;
16326|     59|        return NULL;
16327|     59|    }
16328|  67.9k|    int _start_lineno = p->tokens[_mark]->lineno;
16329|  67.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  67.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 67.9k]
  |  |  ------------------
  ------------------
16330|  67.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
16331|  67.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  67.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 67.9k]
  |  |  ------------------
  ------------------
16332|  67.9k|    { // '{' annotated_rhs '='? fstring_conversion? fstring_full_format_spec? '}'
16333|  67.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (16333:13): [True: 0, False: 67.9k]
  ------------------
16334|      0|            p->level--;
16335|      0|            return NULL;
16336|      0|        }
16337|  67.9k|        D(fprintf(stderr, "%*c> fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? fstring_full_format_spec? '}'"));
16338|  67.9k|        Token * _literal;
16339|  67.9k|        expr_ty a;
16340|  67.9k|        void *conversion;
16341|  67.9k|        void *debug_expr;
16342|  67.9k|        void *format;
16343|  67.9k|        Token * rbrace;
16344|  67.9k|        if (
16345|  67.9k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (16345:13): [True: 16.7k, False: 51.1k]
  ------------------
16346|  16.7k|            &&
16347|  16.7k|            (a = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  403|  16.7k|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (16347:13): [True: 14.0k, False: 2.69k]
  ------------------
16348|  14.0k|            &&
16349|  14.0k|            (debug_expr = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (16349:13): [True: 14.0k, False: 0]
  ------------------
16350|  14.0k|            &&
16351|  14.0k|            (conversion = fstring_conversion_rule(p), !p->error_indicator)  // fstring_conversion?
  ------------------
  |  Branch (16351:13): [True: 13.9k, False: 50]
  ------------------
16352|  13.9k|            &&
16353|  13.9k|            (format = fstring_full_format_spec_rule(p), !p->error_indicator)  // fstring_full_format_spec?
  ------------------
  |  Branch (16353:13): [True: 13.5k, False: 434]
  ------------------
16354|  13.5k|            &&
16355|  13.5k|            (rbrace = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (16355:13): [True: 13.0k, False: 522]
  ------------------
16356|  67.9k|        )
16357|  13.0k|        {
16358|  13.0k|            D(fprintf(stderr, "%*c+ fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? fstring_full_format_spec? '}'"));
16359|  13.0k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16360|  13.0k|            if (_token == NULL) {
  ------------------
  |  Branch (16360:17): [True: 0, False: 13.0k]
  ------------------
16361|      0|                p->level--;
16362|      0|                return NULL;
16363|      0|            }
16364|  13.0k|            int _end_lineno = _token->end_lineno;
16365|  13.0k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  13.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
16366|  13.0k|            int _end_col_offset = _token->end_col_offset;
16367|  13.0k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  13.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
16368|  13.0k|            _res = _PyPegen_formatted_value ( p , a , debug_expr , conversion , format , rbrace , EXTRA );
  ------------------
  |  |  316|  13.0k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16369|  13.0k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16369:18): [True: 0, False: 13.0k]
  |  Branch (16369:34): [True: 0, False: 13.0k]
  |  Branch (16369:57): [True: 0, False: 0]
  ------------------
16370|      0|                p->error_indicator = 1;
16371|      0|                p->level--;
16372|      0|                return NULL;
16373|      0|            }
16374|  13.0k|            goto done;
16375|  13.0k|        }
16376|  54.8k|        p->mark = _mark;
16377|  54.8k|        D(fprintf(stderr, "%*c%s fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
16378|  54.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? fstring_full_format_spec? '}'"));
16379|  54.8k|    }
16380|  54.8k|    if (p->call_invalid_rules) { // invalid_fstring_replacement_field
  ------------------
  |  Branch (16380:9): [True: 21.4k, False: 33.4k]
  ------------------
16381|  21.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (16381:13): [True: 1.86k, False: 19.6k]
  ------------------
16382|  1.86k|            p->level--;
16383|  1.86k|            return NULL;
16384|  1.86k|        }
16385|  19.6k|        D(fprintf(stderr, "%*c> fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_fstring_replacement_field"));
16386|  19.6k|        void *invalid_fstring_replacement_field_var;
16387|  19.6k|        if (
16388|  19.6k|            (invalid_fstring_replacement_field_var = invalid_fstring_replacement_field_rule(p))  // invalid_fstring_replacement_field
  ------------------
  |  |  645|  19.6k|#define invalid_fstring_replacement_field_rule _PyPegen_invalid_fstring_replacement_field_rule
  ------------------
  |  Branch (16388:13): [True: 0, False: 19.6k]
  ------------------
16389|  19.6k|        )
16390|      0|        {
16391|      0|            D(fprintf(stderr, "%*c+ fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_fstring_replacement_field"));
16392|      0|            _res = invalid_fstring_replacement_field_var;
16393|      0|            goto done;
16394|      0|        }
16395|  19.6k|        p->mark = _mark;
16396|  19.6k|        D(fprintf(stderr, "%*c%s fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
16397|  19.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_fstring_replacement_field"));
16398|  19.6k|    }
16399|  53.0k|    _res = NULL;
16400|  66.0k|  done:
16401|  66.0k|    p->level--;
16402|  66.0k|    return _res;
16403|  53.0k|}
parser.c:fstring_conversion_rule:
16408|  23.6k|{
16409|  23.6k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  47.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16409:9): [True: 0, False: 23.6k]
  |  Branch (16409:35): [True: 0, False: 23.6k]
  ------------------
16410|      0|        _Pypegen_stack_overflow(p);
16411|      0|    }
16412|  23.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (16412:9): [True: 0, False: 23.6k]
  ------------------
16413|      0|        p->level--;
16414|      0|        return NULL;
16415|      0|    }
16416|  23.6k|    ResultTokenWithMetadata* _res = NULL;
16417|  23.6k|    int _mark = p->mark;
16418|  23.6k|    { // "!" NAME
16419|  23.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (16419:13): [True: 0, False: 23.6k]
  ------------------
16420|      0|            p->level--;
16421|      0|            return NULL;
16422|      0|        }
16423|  23.6k|        D(fprintf(stderr, "%*c> fstring_conversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"!\" NAME"));
16424|  23.6k|        expr_ty conv;
16425|  23.6k|        Token * conv_token;
16426|  23.6k|        if (
16427|  23.6k|            (conv_token = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (16427:13): [True: 4.58k, False: 19.0k]
  ------------------
16428|  4.58k|            &&
16429|  4.58k|            (conv = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (16429:13): [True: 4.54k, False: 42]
  ------------------
16430|  23.6k|        )
16431|  4.54k|        {
16432|  4.54k|            D(fprintf(stderr, "%*c+ fstring_conversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"!\" NAME"));
16433|  4.54k|            _res = _PyPegen_check_fstring_conversion ( p , conv_token , conv );
16434|  4.54k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16434:18): [True: 62, False: 4.47k]
  |  Branch (16434:34): [True: 0, False: 4.47k]
  |  Branch (16434:57): [True: 62, False: 0]
  ------------------
16435|     62|                p->error_indicator = 1;
16436|     62|                p->level--;
16437|     62|                return NULL;
16438|     62|            }
16439|  4.47k|            goto done;
16440|  4.54k|        }
16441|  19.0k|        p->mark = _mark;
16442|  19.0k|        D(fprintf(stderr, "%*c%s fstring_conversion[%d-%d]: %s failed!\n", p->level, ' ',
16443|  19.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"!\" NAME"));
16444|  19.0k|    }
16445|  19.0k|    _res = NULL;
16446|  23.5k|  done:
16447|  23.5k|    p->level--;
16448|  23.5k|    return _res;
16449|  19.0k|}
parser.c:fstring_full_format_spec_rule:
16454|  13.9k|{
16455|  13.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  27.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16455:9): [True: 0, False: 13.9k]
  |  Branch (16455:35): [True: 0, False: 13.9k]
  ------------------
16456|      0|        _Pypegen_stack_overflow(p);
16457|      0|    }
16458|  13.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (16458:9): [True: 0, False: 13.9k]
  ------------------
16459|      0|        p->level--;
16460|      0|        return NULL;
16461|      0|    }
16462|  13.9k|    ResultTokenWithMetadata* _res = NULL;
16463|  13.9k|    int _mark = p->mark;
16464|  13.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16464:9): [True: 1.86k, False: 12.1k]
  |  Branch (16464:31): [True: 4, False: 1.86k]
  ------------------
16465|      4|        p->error_indicator = 1;
16466|      4|        p->level--;
16467|      4|        return NULL;
16468|      4|    }
16469|  13.9k|    int _start_lineno = p->tokens[_mark]->lineno;
16470|  13.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  13.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
16471|  13.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
16472|  13.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  13.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
16473|  13.9k|    { // ':' fstring_format_spec*
16474|  13.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (16474:13): [True: 0, False: 13.9k]
  ------------------
16475|      0|            p->level--;
16476|      0|            return NULL;
16477|      0|        }
16478|  13.9k|        D(fprintf(stderr, "%*c> fstring_full_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' fstring_format_spec*"));
16479|  13.9k|        Token * colon;
16480|  13.9k|        asdl_seq * spec;
16481|  13.9k|        if (
16482|  13.9k|            (colon = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (16482:13): [True: 6.77k, False: 7.18k]
  ------------------
16483|  6.77k|            &&
16484|  6.77k|            (spec = _loop0_76_rule(p))  // fstring_format_spec*
  ------------------
  |  Branch (16484:13): [True: 6.77k, False: 0]
  ------------------
16485|  13.9k|        )
16486|  6.77k|        {
16487|  6.77k|            D(fprintf(stderr, "%*c+ fstring_full_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' fstring_format_spec*"));
16488|  6.77k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16489|  6.77k|            if (_token == NULL) {
  ------------------
  |  Branch (16489:17): [True: 0, False: 6.77k]
  ------------------
16490|      0|                p->level--;
16491|      0|                return NULL;
16492|      0|            }
16493|  6.77k|            int _end_lineno = _token->end_lineno;
16494|  6.77k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  6.77k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.77k]
  |  |  ------------------
  ------------------
16495|  6.77k|            int _end_col_offset = _token->end_col_offset;
16496|  6.77k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  6.77k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.77k]
  |  |  ------------------
  ------------------
16497|  6.77k|            _res = _PyPegen_setup_full_format_spec ( p , colon , ( asdl_expr_seq* ) spec , EXTRA );
  ------------------
  |  |  316|  6.77k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16498|  6.77k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16498:18): [True: 0, False: 6.77k]
  |  Branch (16498:34): [True: 430, False: 6.34k]
  |  Branch (16498:57): [True: 396, False: 34]
  ------------------
16499|    396|                p->error_indicator = 1;
16500|    396|                p->level--;
16501|    396|                return NULL;
16502|    396|            }
16503|  6.38k|            goto done;
16504|  6.77k|        }
16505|  7.18k|        p->mark = _mark;
16506|  7.18k|        D(fprintf(stderr, "%*c%s fstring_full_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
16507|  7.18k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' fstring_format_spec*"));
16508|  7.18k|    }
16509|  7.18k|    _res = NULL;
16510|  13.5k|  done:
16511|  13.5k|    p->level--;
16512|  13.5k|    return _res;
16513|  7.18k|}
parser.c:_loop0_76_rule:
24131|  6.77k|{
24132|  6.77k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  13.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24132:9): [True: 0, False: 6.77k]
  |  Branch (24132:35): [True: 0, False: 6.77k]
  ------------------
24133|      0|        _Pypegen_stack_overflow(p);
24134|      0|    }
24135|  6.77k|    if (p->error_indicator) {
  ------------------
  |  Branch (24135:9): [True: 0, False: 6.77k]
  ------------------
24136|      0|        p->level--;
24137|      0|        return NULL;
24138|      0|    }
24139|  6.77k|    void *_res = NULL;
24140|  6.77k|    int _mark = p->mark;
24141|  6.77k|    void **_children = NULL;
24142|  6.77k|    Py_ssize_t _children_capacity = 0;
24143|  6.77k|    Py_ssize_t _n = 0;
24144|  6.77k|    { // fstring_format_spec
24145|  6.77k|        if (p->error_indicator) {
  ------------------
  |  Branch (24145:13): [True: 0, False: 6.77k]
  ------------------
24146|      0|            p->level--;
24147|      0|            return NULL;
24148|      0|        }
24149|  6.77k|        D(fprintf(stderr, "%*c> _loop0_76[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring_format_spec"));
24150|  6.77k|        expr_ty fstring_format_spec_var;
24151|  6.77k|        while (
24152|  20.4k|            (fstring_format_spec_var = fstring_format_spec_rule(p))  // fstring_format_spec
  ------------------
  |  |  505|  20.4k|#define fstring_format_spec_rule _PyPegen_fstring_format_spec_rule
  ------------------
  |  Branch (24152:13): [True: 13.6k, False: 6.77k]
  ------------------
24153|  6.77k|        )
24154|  13.6k|        {
24155|  13.6k|            _res = fstring_format_spec_var;
24156|  13.6k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24156:17): [True: 10.5k, False: 3.10k]
  ------------------
24157|  10.5k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24157:21): [True: 0, False: 10.5k]
  ------------------
24158|      0|                    p->error_indicator = 1;
24159|      0|                    PyErr_NoMemory();
24160|      0|                    PyMem_Free(_children);
24161|      0|                    p->level--;
24162|      0|                    return NULL;
24163|      0|                }
24164|  10.5k|            }
24165|  13.6k|            _children[_n++] = _res;
24166|  13.6k|            _mark = p->mark;
24167|  13.6k|        }
24168|  6.77k|        p->mark = _mark;
24169|  6.77k|        D(fprintf(stderr, "%*c%s _loop0_76[%d-%d]: %s failed!\n", p->level, ' ',
24170|  6.77k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring_format_spec"));
24171|  6.77k|    }
24172|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24173|  6.77k|    if (!_seq) {
  ------------------
  |  Branch (24173:9): [True: 0, False: 6.77k]
  ------------------
24174|      0|        p->error_indicator = 1;
24175|      0|        PyErr_NoMemory();
24176|      0|        PyMem_Free(_children);
24177|      0|        p->level--;
24178|      0|        return NULL;
24179|      0|    }
24180|  20.4k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  13.6k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  20.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24180:28): [True: 13.6k, False: 6.77k]
  ------------------
24181|  6.77k|    PyMem_Free(_children);
24182|  6.77k|    p->level--;
24183|  6.77k|    return _seq;
24184|  6.77k|}
parser.c:display_items_rule:
17226|   188k|{
17227|   188k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   376k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17227:9): [True: 0, False: 188k]
  |  Branch (17227:35): [True: 0, False: 188k]
  ------------------
17228|      0|        _Pypegen_stack_overflow(p);
17229|      0|    }
17230|   188k|    if (p->error_indicator) {
  ------------------
  |  Branch (17230:9): [True: 0, False: 188k]
  ------------------
17231|      0|        p->level--;
17232|      0|        return NULL;
17233|      0|    }
17234|   188k|    asdl_expr_seq* _res = NULL;
17235|   188k|    int _mark = p->mark;
17236|   188k|    { // ','.display_item+ ','?
17237|   188k|        if (p->error_indicator) {
  ------------------
  |  Branch (17237:13): [True: 0, False: 188k]
  ------------------
17238|      0|            p->level--;
17239|      0|            return NULL;
17240|      0|        }
17241|   188k|        D(fprintf(stderr, "%*c> display_items[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.display_item+ ','?"));
17242|   188k|        void *_opt_var;
17243|   188k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|   188k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 188k]
  |  |  ------------------
  ------------------
17244|   188k|        asdl_expr_seq* a;
17245|   188k|        if (
17246|   188k|            (a = (asdl_expr_seq*)_gather_83_rule(p))  // ','.display_item+
  ------------------
  |  Branch (17246:13): [True: 105k, False: 82.4k]
  ------------------
17247|   105k|            &&
17248|   105k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (17248:13): [True: 105k, False: 573]
  ------------------
17249|   188k|        )
17250|   105k|        {
17251|   105k|            D(fprintf(stderr, "%*c+ display_items[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.display_item+ ','?"));
17252|   105k|            _res = a;
17253|   105k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17253:18): [True: 0, False: 105k]
  |  Branch (17253:34): [True: 0, False: 105k]
  |  Branch (17253:57): [True: 0, False: 0]
  ------------------
17254|      0|                p->error_indicator = 1;
17255|      0|                p->level--;
17256|      0|                return NULL;
17257|      0|            }
17258|   105k|            goto done;
17259|   105k|        }
17260|  82.9k|        p->mark = _mark;
17261|  82.9k|        D(fprintf(stderr, "%*c%s display_items[%d-%d]: %s failed!\n", p->level, ' ',
17262|  82.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.display_item+ ','?"));
17263|  82.9k|    }
17264|  82.9k|    _res = NULL;
17265|   188k|  done:
17266|   188k|    p->level--;
17267|   188k|    return _res;
17268|  82.9k|}
parser.c:_gather_83_rule:
24556|   188k|{
24557|   188k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   376k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24557:9): [True: 0, False: 188k]
  |  Branch (24557:35): [True: 0, False: 188k]
  ------------------
24558|      0|        _Pypegen_stack_overflow(p);
24559|      0|    }
24560|   188k|    if (p->error_indicator) {
  ------------------
  |  Branch (24560:9): [True: 0, False: 188k]
  ------------------
24561|      0|        p->level--;
24562|      0|        return NULL;
24563|      0|    }
24564|   188k|    asdl_seq * _res = NULL;
24565|   188k|    int _mark = p->mark;
24566|   188k|    { // display_item _loop0_82
24567|   188k|        if (p->error_indicator) {
  ------------------
  |  Branch (24567:13): [True: 0, False: 188k]
  ------------------
24568|      0|            p->level--;
24569|      0|            return NULL;
24570|      0|        }
24571|   188k|        D(fprintf(stderr, "%*c> _gather_83[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "display_item _loop0_82"));
24572|   188k|        expr_ty elem;
24573|   188k|        asdl_seq * seq;
24574|   188k|        if (
24575|   188k|            (elem = display_item_rule(p))  // display_item
  ------------------
  |  Branch (24575:13): [True: 105k, False: 82.4k]
  ------------------
24576|   105k|            &&
24577|   105k|            (seq = _loop0_82_rule(p))  // _loop0_82
  ------------------
  |  Branch (24577:13): [True: 105k, False: 0]
  ------------------
24578|   188k|        )
24579|   105k|        {
24580|   105k|            D(fprintf(stderr, "%*c+ _gather_83[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "display_item _loop0_82"));
24581|   105k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
24582|   105k|            goto done;
24583|   105k|        }
24584|  82.4k|        p->mark = _mark;
24585|  82.4k|        D(fprintf(stderr, "%*c%s _gather_83[%d-%d]: %s failed!\n", p->level, ' ',
24586|  82.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "display_item _loop0_82"));
24587|  82.4k|    }
24588|  82.4k|    _res = NULL;
24589|   188k|  done:
24590|   188k|    p->level--;
24591|   188k|    return _res;
24592|  82.4k|}
parser.c:display_item_rule:
17273|   445k|{
17274|   445k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   890k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17274:9): [True: 0, False: 445k]
  |  Branch (17274:35): [True: 0, False: 445k]
  ------------------
17275|      0|        _Pypegen_stack_overflow(p);
17276|      0|    }
17277|   445k|    if (p->error_indicator) {
  ------------------
  |  Branch (17277:9): [True: 0, False: 445k]
  ------------------
17278|      0|        p->level--;
17279|      0|        return NULL;
17280|      0|    }
17281|   445k|    expr_ty _res = NULL;
17282|   445k|    int _mark = p->mark;
17283|   445k|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking_sequence
  ------------------
  |  Branch (17283:9): [True: 85.5k, False: 359k]
  ------------------
17284|  85.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (17284:13): [True: 0, False: 85.5k]
  ------------------
17285|      0|            p->level--;
17286|      0|            return NULL;
17287|      0|        }
17288|  85.5k|        D(fprintf(stderr, "%*c> display_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
17289|  85.5k|        void *invalid_starred_expression_unpacking_sequence_var;
17290|  85.5k|        if (
17291|  85.5k|            (invalid_starred_expression_unpacking_sequence_var = invalid_starred_expression_unpacking_sequence_rule(p))  // invalid_starred_expression_unpacking_sequence
  ------------------
  |  |  641|  85.5k|#define invalid_starred_expression_unpacking_sequence_rule _PyPegen_invalid_starred_expression_unpacking_sequence_rule
  ------------------
  |  Branch (17291:13): [True: 0, False: 85.5k]
  ------------------
17292|  85.5k|        )
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|  85.5k|        p->mark = _mark;
17299|  85.5k|        D(fprintf(stderr, "%*c%s display_item[%d-%d]: %s failed!\n", p->level, ' ',
17300|  85.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
17301|  85.5k|    }
17302|   445k|    { // star_named_expression
17303|   445k|        if (p->error_indicator) {
  ------------------
  |  Branch (17303:13): [True: 292, False: 444k]
  ------------------
17304|    292|            p->level--;
17305|    292|            return NULL;
17306|    292|        }
17307|   444k|        D(fprintf(stderr, "%*c> display_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression"));
17308|   444k|        expr_ty star_named_expression_var;
17309|   444k|        if (
17310|   444k|            (star_named_expression_var = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  |  471|   444k|#define star_named_expression_rule _PyPegen_star_named_expression_rule
  ------------------
  |  Branch (17310:13): [True: 310k, False: 134k]
  ------------------
17311|   444k|        )
17312|   310k|        {
17313|   310k|            D(fprintf(stderr, "%*c+ display_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression"));
17314|   310k|            _res = star_named_expression_var;
17315|   310k|            goto done;
17316|   310k|        }
17317|   134k|        p->mark = _mark;
17318|   134k|        D(fprintf(stderr, "%*c%s display_item[%d-%d]: %s failed!\n", p->level, ' ',
17319|   134k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression"));
17320|   134k|    }
17321|   134k|    _res = NULL;
17322|   444k|  done:
17323|   444k|    p->level--;
17324|   444k|    return _res;
17325|   134k|}
parser.c:_loop0_82_rule:
24489|   105k|{
24490|   105k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   211k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24490:9): [True: 0, False: 105k]
  |  Branch (24490:35): [True: 0, False: 105k]
  ------------------
24491|      0|        _Pypegen_stack_overflow(p);
24492|      0|    }
24493|   105k|    if (p->error_indicator) {
  ------------------
  |  Branch (24493:9): [True: 0, False: 105k]
  ------------------
24494|      0|        p->level--;
24495|      0|        return NULL;
24496|      0|    }
24497|   105k|    void *_res = NULL;
24498|   105k|    int _mark = p->mark;
24499|   105k|    void **_children = NULL;
24500|   105k|    Py_ssize_t _children_capacity = 0;
24501|   105k|    Py_ssize_t _n = 0;
24502|   105k|    { // ',' display_item
24503|   105k|        if (p->error_indicator) {
  ------------------
  |  Branch (24503:13): [True: 0, False: 105k]
  ------------------
24504|      0|            p->level--;
24505|      0|            return NULL;
24506|      0|        }
24507|   105k|        D(fprintf(stderr, "%*c> _loop0_82[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' display_item"));
24508|   105k|        Token * _literal;
24509|   105k|        expr_ty elem;
24510|   105k|        while (
24511|   206k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (24511:13): [True: 105k, False: 101k]
  ------------------
24512|   105k|            &&
24513|   105k|            (elem = display_item_rule(p))  // display_item
  ------------------
  |  Branch (24513:13): [True: 100k, False: 4.73k]
  ------------------
24514|   105k|        )
24515|   100k|        {
24516|   100k|            _res = elem;
24517|   100k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24517:18): [True: 0, False: 100k]
  |  Branch (24517:34): [True: 0, False: 100k]
  |  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|   100k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24523:17): [True: 53.2k, False: 47.0k]
  ------------------
24524|  53.2k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24524:21): [True: 0, False: 53.2k]
  ------------------
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|  53.2k|            }
24532|   100k|            _children[_n++] = _res;
24533|   100k|            _mark = p->mark;
24534|   100k|        }
24535|   105k|        p->mark = _mark;
24536|   105k|        D(fprintf(stderr, "%*c%s _loop0_82[%d-%d]: %s failed!\n", p->level, ' ',
24537|   105k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' display_item"));
24538|   105k|    }
24539|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24540|   105k|    if (!_seq) {
  ------------------
  |  Branch (24540:9): [True: 0, False: 105k]
  ------------------
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|   206k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|   100k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|   206k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24547:28): [True: 100k, False: 105k]
  ------------------
24548|   105k|    PyMem_Free(_children);
24549|   105k|    p->level--;
24550|   105k|    return _seq;
24551|   105k|}
parser.c:kvpair_rule:
17735|   129k|{
17736|   129k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   258k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17736:9): [True: 1, False: 129k]
  |  Branch (17736:35): [True: 0, False: 129k]
  ------------------
17737|      1|        _Pypegen_stack_overflow(p);
17738|      1|    }
17739|   129k|    if (p->error_indicator) {
  ------------------
  |  Branch (17739:9): [True: 1, False: 129k]
  ------------------
17740|      1|        p->level--;
17741|      1|        return NULL;
17742|      1|    }
17743|   129k|    KeyValuePair* _res = NULL;
17744|   129k|    int _mark = p->mark;
17745|   129k|    { // expression ':' expression
17746|   129k|        if (p->error_indicator) {
  ------------------
  |  Branch (17746:13): [True: 0, False: 129k]
  ------------------
17747|      0|            p->level--;
17748|      0|            return NULL;
17749|      0|        }
17750|   129k|        D(fprintf(stderr, "%*c> kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
17751|   129k|        Token * _literal;
17752|   129k|        expr_ty a;
17753|   129k|        expr_ty b;
17754|   129k|        if (
17755|   129k|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|   129k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (17755:13): [True: 94.6k, False: 34.6k]
  ------------------
17756|  94.6k|            &&
17757|  94.6k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (17757:13): [True: 19.9k, False: 74.6k]
  ------------------
17758|  19.9k|            &&
17759|  19.9k|            (b = expression_rule(p))  // expression
  ------------------
  |  |  461|  19.9k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (17759:13): [True: 17.4k, False: 2.55k]
  ------------------
17760|   129k|        )
17761|  17.4k|        {
17762|  17.4k|            D(fprintf(stderr, "%*c+ kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
17763|  17.4k|            _res = _PyPegen_key_value_pair ( p , a , b );
17764|  17.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17764:18): [True: 0, False: 17.4k]
  |  Branch (17764:34): [True: 0, False: 17.4k]
  |  Branch (17764:57): [True: 0, False: 0]
  ------------------
17765|      0|                p->error_indicator = 1;
17766|      0|                p->level--;
17767|      0|                return NULL;
17768|      0|            }
17769|  17.4k|            goto done;
17770|  17.4k|        }
17771|   111k|        p->mark = _mark;
17772|   111k|        D(fprintf(stderr, "%*c%s kvpair[%d-%d]: %s failed!\n", p->level, ' ',
17773|   111k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' expression"));
17774|   111k|    }
17775|   111k|    _res = NULL;
17776|   129k|  done:
17777|   129k|    p->level--;
17778|   129k|    return _res;
17779|   111k|}
parser.c:target_rule:
19121|   418k|{
19122|   418k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   837k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19122:9): [True: 0, False: 418k]
  |  Branch (19122:35): [True: 0, False: 418k]
  ------------------
19123|      0|        _Pypegen_stack_overflow(p);
19124|      0|    }
19125|   418k|    if (p->error_indicator) {
  ------------------
  |  Branch (19125:9): [True: 0, False: 418k]
  ------------------
19126|      0|        p->level--;
19127|      0|        return NULL;
19128|      0|    }
19129|   418k|    expr_ty _res = NULL;
19130|   418k|    if (_PyPegen_is_memoized(p, target_type, &_res)) {
  ------------------
  |  |  274|   418k|#define target_type 1185
  ------------------
  |  Branch (19130:9): [True: 0, False: 418k]
  ------------------
19131|      0|        p->level--;
19132|      0|        return _res;
19133|      0|    }
19134|   418k|    int _mark = p->mark;
19135|   418k|    { // target_value
19136|   418k|        if (p->error_indicator) {
  ------------------
  |  Branch (19136:13): [True: 0, False: 418k]
  ------------------
19137|      0|            p->level--;
19138|      0|            return NULL;
19139|      0|        }
19140|   418k|        D(fprintf(stderr, "%*c> target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "target_value"));
19141|   418k|        expr_ty a;
19142|   418k|        if (
19143|   418k|            (a = target_value_rule(p))  // target_value
  ------------------
  |  Branch (19143:13): [True: 331k, False: 87.6k]
  ------------------
19144|   418k|        )
19145|   331k|        {
19146|   331k|            D(fprintf(stderr, "%*c+ target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "target_value"));
19147|   331k|            _res = _PyPegen_make_target ( p , a , STAR_TARGETS );
19148|   331k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19148:18): [True: 32.1k, False: 299k]
  |  Branch (19148:34): [True: 0, False: 299k]
  |  Branch (19148:57): [True: 0, False: 32.1k]
  ------------------
19149|      0|                p->error_indicator = 1;
19150|      0|                p->level--;
19151|      0|                return NULL;
19152|      0|            }
19153|   331k|            goto done;
19154|   331k|        }
19155|  87.6k|        p->mark = _mark;
19156|  87.6k|        D(fprintf(stderr, "%*c%s target[%d-%d]: %s failed!\n", p->level, ' ',
19157|  87.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "target_value"));
19158|  87.6k|    }
19159|  87.6k|    _res = NULL;
19160|   418k|  done:
19161|   418k|    _PyPegen_insert_memo(p, _mark, target_type, _res);
  ------------------
  |  |  274|   418k|#define target_type 1185
  ------------------
19162|   418k|    p->level--;
19163|   418k|    return _res;
19164|  87.6k|}
parser.c:_tmp_5_rule:
19961|   213k|{
19962|   213k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   427k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19962:9): [True: 0, False: 213k]
  |  Branch (19962:35): [True: 0, False: 213k]
  ------------------
19963|      0|        _Pypegen_stack_overflow(p);
19964|      0|    }
19965|   213k|    if (p->error_indicator) {
  ------------------
  |  Branch (19965:9): [True: 0, False: 213k]
  ------------------
19966|      0|        p->level--;
19967|      0|        return NULL;
19968|      0|    }
19969|   213k|    void * _res = NULL;
19970|   213k|    int _mark = p->mark;
19971|   213k|    { // 'import'
19972|   213k|        if (p->error_indicator) {
  ------------------
  |  Branch (19972:13): [True: 0, False: 213k]
  ------------------
19973|      0|            p->level--;
19974|      0|            return NULL;
19975|      0|        }
19976|   213k|        D(fprintf(stderr, "%*c> _tmp_5[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'import'"));
19977|   213k|        Token * _keyword;
19978|   213k|        if (
19979|   213k|            (_keyword = _PyPegen_expect_token(p, 500))  // token='import'
  ------------------
  |  Branch (19979:13): [True: 3.20k, False: 210k]
  ------------------
19980|   213k|        )
19981|  3.20k|        {
19982|  3.20k|            D(fprintf(stderr, "%*c+ _tmp_5[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'import'"));
19983|  3.20k|            _res = _keyword;
19984|  3.20k|            goto done;
19985|  3.20k|        }
19986|   210k|        p->mark = _mark;
19987|   210k|        D(fprintf(stderr, "%*c%s _tmp_5[%d-%d]: %s failed!\n", p->level, ' ',
19988|   210k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'import'"));
19989|   210k|    }
19990|      0|    { // 'from'
19991|   210k|        if (p->error_indicator) {
  ------------------
  |  Branch (19991:13): [True: 0, False: 210k]
  ------------------
19992|      0|            p->level--;
19993|      0|            return NULL;
19994|      0|        }
19995|   210k|        D(fprintf(stderr, "%*c> _tmp_5[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'from'"));
19996|   210k|        Token * _keyword;
19997|   210k|        if (
19998|   210k|            (_keyword = _PyPegen_expect_token(p, 501))  // token='from'
  ------------------
  |  Branch (19998:13): [True: 6.06k, False: 204k]
  ------------------
19999|   210k|        )
20000|  6.06k|        {
20001|  6.06k|            D(fprintf(stderr, "%*c+ _tmp_5[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'from'"));
20002|  6.06k|            _res = _keyword;
20003|  6.06k|            goto done;
20004|  6.06k|        }
20005|   204k|        p->mark = _mark;
20006|   204k|        D(fprintf(stderr, "%*c%s _tmp_5[%d-%d]: %s failed!\n", p->level, ' ',
20007|   204k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'from'"));
20008|   204k|    }
20009|      0|    { // "lazy"
20010|   204k|        if (p->error_indicator) {
  ------------------
  |  Branch (20010:13): [True: 0, False: 204k]
  ------------------
20011|      0|            p->level--;
20012|      0|            return NULL;
20013|      0|        }
20014|   204k|        D(fprintf(stderr, "%*c> _tmp_5[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"lazy\""));
20015|   204k|        expr_ty _keyword;
20016|   204k|        if (
20017|   204k|            (_keyword = _PyPegen_expect_soft_keyword(p, "lazy"))  // soft_keyword='"lazy"'
  ------------------
  |  Branch (20017:13): [True: 766, False: 203k]
  ------------------
20018|   204k|        )
20019|    766|        {
20020|    766|            D(fprintf(stderr, "%*c+ _tmp_5[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"lazy\""));
20021|    766|            _res = _keyword;
20022|    766|            goto done;
20023|    766|        }
20024|   203k|        p->mark = _mark;
20025|   203k|        D(fprintf(stderr, "%*c%s _tmp_5[%d-%d]: %s failed!\n", p->level, ' ',
20026|   203k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"lazy\""));
20027|   203k|    }
20028|   203k|    _res = NULL;
20029|   213k|  done:
20030|   213k|    p->level--;
20031|   213k|    return _res;
20032|   203k|}
parser.c:_gather_20_rule:
20860|  6.08k|{
20861|  6.08k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  12.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20861:9): [True: 0, False: 6.08k]
  |  Branch (20861:35): [True: 0, False: 6.08k]
  ------------------
20862|      0|        _Pypegen_stack_overflow(p);
20863|      0|    }
20864|  6.08k|    if (p->error_indicator) {
  ------------------
  |  Branch (20864:9): [True: 0, False: 6.08k]
  ------------------
20865|      0|        p->level--;
20866|      0|        return NULL;
20867|      0|    }
20868|  6.08k|    asdl_seq * _res = NULL;
20869|  6.08k|    int _mark = p->mark;
20870|  6.08k|    { // import_from_as_name _loop0_19
20871|  6.08k|        if (p->error_indicator) {
  ------------------
  |  Branch (20871:13): [True: 0, False: 6.08k]
  ------------------
20872|      0|            p->level--;
20873|      0|            return NULL;
20874|      0|        }
20875|  6.08k|        D(fprintf(stderr, "%*c> _gather_20[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_from_as_name _loop0_19"));
20876|  6.08k|        alias_ty elem;
20877|  6.08k|        asdl_seq * seq;
20878|  6.08k|        if (
20879|  6.08k|            (elem = import_from_as_name_rule(p))  // import_from_as_name
  ------------------
  |  Branch (20879:13): [True: 5.98k, False: 101]
  ------------------
20880|  5.98k|            &&
20881|  5.98k|            (seq = _loop0_19_rule(p))  // _loop0_19
  ------------------
  |  Branch (20881:13): [True: 5.98k, False: 0]
  ------------------
20882|  6.08k|        )
20883|  5.98k|        {
20884|  5.98k|            D(fprintf(stderr, "%*c+ _gather_20[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_from_as_name _loop0_19"));
20885|  5.98k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
20886|  5.98k|            goto done;
20887|  5.98k|        }
20888|    101|        p->mark = _mark;
20889|    101|        D(fprintf(stderr, "%*c%s _gather_20[%d-%d]: %s failed!\n", p->level, ' ',
20890|    101|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_from_as_name _loop0_19"));
20891|    101|    }
20892|    101|    _res = NULL;
20893|  6.08k|  done:
20894|  6.08k|    p->level--;
20895|  6.08k|    return _res;
20896|    101|}
parser.c:import_from_as_name_rule:
 4008|  14.4k|{
 4009|  14.4k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  28.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4009:9): [True: 0, False: 14.4k]
  |  Branch (4009:35): [True: 0, False: 14.4k]
  ------------------
 4010|      0|        _Pypegen_stack_overflow(p);
 4011|      0|    }
 4012|  14.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (4012:9): [True: 0, False: 14.4k]
  ------------------
 4013|      0|        p->level--;
 4014|      0|        return NULL;
 4015|      0|    }
 4016|  14.4k|    alias_ty _res = NULL;
 4017|  14.4k|    int _mark = p->mark;
 4018|  14.4k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (4018:9): [True: 4.74k, False: 9.68k]
  |  Branch (4018:31): [True: 3, False: 4.74k]
  ------------------
 4019|      3|        p->error_indicator = 1;
 4020|      3|        p->level--;
 4021|      3|        return NULL;
 4022|      3|    }
 4023|  14.4k|    int _start_lineno = p->tokens[_mark]->lineno;
 4024|  14.4k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  14.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 14.4k]
  |  |  ------------------
  ------------------
 4025|  14.4k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 4026|  14.4k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  14.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 14.4k]
  |  |  ------------------
  ------------------
 4027|  14.4k|    if (p->call_invalid_rules) { // invalid_import_from_as_name
  ------------------
  |  Branch (4027:9): [True: 4.81k, False: 9.61k]
  ------------------
 4028|  4.81k|        if (p->error_indicator) {
  ------------------
  |  Branch (4028:13): [True: 0, False: 4.81k]
  ------------------
 4029|      0|            p->level--;
 4030|      0|            return NULL;
 4031|      0|        }
 4032|  4.81k|        D(fprintf(stderr, "%*c> import_from_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_import_from_as_name"));
 4033|  4.81k|        void *invalid_import_from_as_name_var;
 4034|  4.81k|        if (
 4035|  4.81k|            (invalid_import_from_as_name_var = invalid_import_from_as_name_rule(p))  // invalid_import_from_as_name
  ------------------
  |  |  591|  4.81k|#define invalid_import_from_as_name_rule _PyPegen_invalid_import_from_as_name_rule
  ------------------
  |  Branch (4035:13): [True: 0, False: 4.81k]
  ------------------
 4036|  4.81k|        )
 4037|      0|        {
 4038|      0|            D(fprintf(stderr, "%*c+ import_from_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_import_from_as_name"));
 4039|      0|            _res = invalid_import_from_as_name_var;
 4040|      0|            goto done;
 4041|      0|        }
 4042|  4.81k|        p->mark = _mark;
 4043|  4.81k|        D(fprintf(stderr, "%*c%s import_from_as_name[%d-%d]: %s failed!\n", p->level, ' ',
 4044|  4.81k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_import_from_as_name"));
 4045|  4.81k|    }
 4046|  14.4k|    { // NAME ['as' NAME]
 4047|  14.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (4047:13): [True: 5, False: 14.4k]
  ------------------
 4048|      5|            p->level--;
 4049|      5|            return NULL;
 4050|      5|        }
 4051|  14.4k|        D(fprintf(stderr, "%*c> import_from_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME ['as' NAME]"));
 4052|  14.4k|        expr_ty a;
 4053|  14.4k|        void *b;
 4054|  14.4k|        if (
 4055|  14.4k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4055:13): [True: 14.2k, False: 141]
  ------------------
 4056|  14.2k|            &&
 4057|  14.2k|            (b = _tmp_21_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (4057:13): [True: 14.2k, False: 4]
  ------------------
 4058|  14.4k|        )
 4059|  14.2k|        {
 4060|  14.2k|            D(fprintf(stderr, "%*c+ import_from_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME ['as' NAME]"));
 4061|  14.2k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4062|  14.2k|            if (_token == NULL) {
  ------------------
  |  Branch (4062:17): [True: 0, False: 14.2k]
  ------------------
 4063|      0|                p->level--;
 4064|      0|                return NULL;
 4065|      0|            }
 4066|  14.2k|            int _end_lineno = _token->end_lineno;
 4067|  14.2k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  14.2k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 14.2k]
  |  |  ------------------
  ------------------
 4068|  14.2k|            int _end_col_offset = _token->end_col_offset;
 4069|  14.2k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  14.2k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 14.2k]
  |  |  ------------------
  ------------------
 4070|  14.2k|            _res = _PyAST_alias ( a -> v . Name . id , ( b ) ? ( ( expr_ty ) b ) -> v . Name . id : NULL , EXTRA );
  ------------------
  |  |  316|  14.2k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (4070:56): [True: 881, False: 13.3k]
  ------------------
 4071|  14.2k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4071:18): [True: 0, False: 14.2k]
  |  Branch (4071:34): [True: 0, False: 14.2k]
  |  Branch (4071:57): [True: 0, False: 0]
  ------------------
 4072|      0|                p->error_indicator = 1;
 4073|      0|                p->level--;
 4074|      0|                return NULL;
 4075|      0|            }
 4076|  14.2k|            goto done;
 4077|  14.2k|        }
 4078|    145|        p->mark = _mark;
 4079|    145|        D(fprintf(stderr, "%*c%s import_from_as_name[%d-%d]: %s failed!\n", p->level, ' ',
 4080|    145|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME ['as' NAME]"));
 4081|    145|    }
 4082|    145|    _res = NULL;
 4083|  14.4k|  done:
 4084|  14.4k|    p->level--;
 4085|  14.4k|    return _res;
 4086|    145|}
parser.c:_loop0_19_rule:
20793|  5.98k|{
20794|  5.98k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  11.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20794:9): [True: 0, False: 5.98k]
  |  Branch (20794:35): [True: 0, False: 5.98k]
  ------------------
20795|      0|        _Pypegen_stack_overflow(p);
20796|      0|    }
20797|  5.98k|    if (p->error_indicator) {
  ------------------
  |  Branch (20797:9): [True: 0, False: 5.98k]
  ------------------
20798|      0|        p->level--;
20799|      0|        return NULL;
20800|      0|    }
20801|  5.98k|    void *_res = NULL;
20802|  5.98k|    int _mark = p->mark;
20803|  5.98k|    void **_children = NULL;
20804|  5.98k|    Py_ssize_t _children_capacity = 0;
20805|  5.98k|    Py_ssize_t _n = 0;
20806|  5.98k|    { // ',' import_from_as_name
20807|  5.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (20807:13): [True: 0, False: 5.98k]
  ------------------
20808|      0|            p->level--;
20809|      0|            return NULL;
20810|      0|        }
20811|  5.98k|        D(fprintf(stderr, "%*c> _loop0_19[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' import_from_as_name"));
20812|  5.98k|        Token * _literal;
20813|  5.98k|        alias_ty elem;
20814|  5.98k|        while (
20815|  14.2k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (20815:13): [True: 8.34k, False: 5.92k]
  ------------------
20816|  8.34k|            &&
20817|  8.34k|            (elem = import_from_as_name_rule(p))  // import_from_as_name
  ------------------
  |  Branch (20817:13): [True: 8.29k, False: 52]
  ------------------
20818|  5.98k|        )
20819|  8.29k|        {
20820|  8.29k|            _res = elem;
20821|  8.29k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20821:18): [True: 0, False: 8.29k]
  |  Branch (20821:34): [True: 0, False: 8.29k]
  |  Branch (20821:57): [True: 0, False: 0]
  ------------------
20822|      0|                p->error_indicator = 1;
20823|      0|                PyMem_Free(_children);
20824|      0|                p->level--;
20825|      0|                return NULL;
20826|      0|            }
20827|  8.29k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (20827:17): [True: 1.97k, False: 6.31k]
  ------------------
20828|  1.97k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (20828:21): [True: 0, False: 1.97k]
  ------------------
20829|      0|                    p->error_indicator = 1;
20830|      0|                    PyErr_NoMemory();
20831|      0|                    PyMem_Free(_children);
20832|      0|                    p->level--;
20833|      0|                    return NULL;
20834|      0|                }
20835|  1.97k|            }
20836|  8.29k|            _children[_n++] = _res;
20837|  8.29k|            _mark = p->mark;
20838|  8.29k|        }
20839|  5.98k|        p->mark = _mark;
20840|  5.98k|        D(fprintf(stderr, "%*c%s _loop0_19[%d-%d]: %s failed!\n", p->level, ' ',
20841|  5.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' import_from_as_name"));
20842|  5.98k|    }
20843|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
20844|  5.98k|    if (!_seq) {
  ------------------
  |  Branch (20844:9): [True: 0, False: 5.98k]
  ------------------
20845|      0|        p->error_indicator = 1;
20846|      0|        PyErr_NoMemory();
20847|      0|        PyMem_Free(_children);
20848|      0|        p->level--;
20849|      0|        return NULL;
20850|      0|    }
20851|  14.2k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  8.29k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  14.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (20851:28): [True: 8.29k, False: 5.98k]
  ------------------
20852|  5.98k|    PyMem_Free(_children);
20853|  5.98k|    p->level--;
20854|  5.98k|    return _seq;
20855|  5.98k|}
parser.c:_loop0_27_rule:
21213|  59.9k|{
21214|  59.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   119k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21214:9): [True: 0, False: 59.9k]
  |  Branch (21214:35): [True: 0, False: 59.9k]
  ------------------
21215|      0|        _Pypegen_stack_overflow(p);
21216|      0|    }
21217|  59.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (21217:9): [True: 0, False: 59.9k]
  ------------------
21218|      0|        p->level--;
21219|      0|        return NULL;
21220|      0|    }
21221|  59.9k|    void *_res = NULL;
21222|  59.9k|    int _mark = p->mark;
21223|  59.9k|    void **_children = NULL;
21224|  59.9k|    Py_ssize_t _children_capacity = 0;
21225|  59.9k|    Py_ssize_t _n = 0;
21226|  59.9k|    { // param_no_default
21227|  59.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (21227:13): [True: 0, False: 59.9k]
  ------------------
21228|      0|            p->level--;
21229|      0|            return NULL;
21230|      0|        }
21231|  59.9k|        D(fprintf(stderr, "%*c> _loop0_27[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default"));
21232|  59.9k|        arg_ty param_no_default_var;
21233|  59.9k|        while (
21234|  81.6k|            (param_no_default_var = param_no_default_rule(p))  // param_no_default
  ------------------
  |  |  427|  81.6k|#define param_no_default_rule _PyPegen_param_no_default_rule
  ------------------
  |  Branch (21234:13): [True: 21.6k, False: 59.9k]
  ------------------
21235|  59.9k|        )
21236|  21.6k|        {
21237|  21.6k|            _res = param_no_default_var;
21238|  21.6k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (21238:17): [True: 20.5k, False: 1.18k]
  ------------------
21239|  20.5k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (21239:21): [True: 0, False: 20.5k]
  ------------------
21240|      0|                    p->error_indicator = 1;
21241|      0|                    PyErr_NoMemory();
21242|      0|                    PyMem_Free(_children);
21243|      0|                    p->level--;
21244|      0|                    return NULL;
21245|      0|                }
21246|  20.5k|            }
21247|  21.6k|            _children[_n++] = _res;
21248|  21.6k|            _mark = p->mark;
21249|  21.6k|        }
21250|  59.9k|        p->mark = _mark;
21251|  59.9k|        D(fprintf(stderr, "%*c%s _loop0_27[%d-%d]: %s failed!\n", p->level, ' ',
21252|  59.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default"));
21253|  59.9k|    }
21254|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
21255|  59.9k|    if (!_seq) {
  ------------------
  |  Branch (21255:9): [True: 0, False: 59.9k]
  ------------------
21256|      0|        p->error_indicator = 1;
21257|      0|        PyErr_NoMemory();
21258|      0|        PyMem_Free(_children);
21259|      0|        p->level--;
21260|      0|        return NULL;
21261|      0|    }
21262|  81.6k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  21.6k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  81.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (21262:28): [True: 21.6k, False: 59.9k]
  ------------------
21263|  59.9k|    PyMem_Free(_children);
21264|  59.9k|    p->level--;
21265|  59.9k|    return _seq;
21266|  59.9k|}
parser.c:_loop1_29_rule:
21329|  75.8k|{
21330|  75.8k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   151k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21330:9): [True: 0, False: 75.8k]
  |  Branch (21330:35): [True: 0, False: 75.8k]
  ------------------
21331|      0|        _Pypegen_stack_overflow(p);
21332|      0|    }
21333|  75.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (21333:9): [True: 0, False: 75.8k]
  ------------------
21334|      0|        p->level--;
21335|      0|        return NULL;
21336|      0|    }
21337|  75.8k|    void *_res = NULL;
21338|  75.8k|    int _mark = p->mark;
21339|  75.8k|    void **_children = NULL;
21340|  75.8k|    Py_ssize_t _children_capacity = 0;
21341|  75.8k|    Py_ssize_t _n = 0;
21342|  75.8k|    { // param_no_default
21343|  75.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (21343:13): [True: 0, False: 75.8k]
  ------------------
21344|      0|            p->level--;
21345|      0|            return NULL;
21346|      0|        }
21347|  75.8k|        D(fprintf(stderr, "%*c> _loop1_29[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default"));
21348|  75.8k|        arg_ty param_no_default_var;
21349|  75.8k|        while (
21350|   109k|            (param_no_default_var = param_no_default_rule(p))  // param_no_default
  ------------------
  |  |  427|   109k|#define param_no_default_rule _PyPegen_param_no_default_rule
  ------------------
  |  Branch (21350:13): [True: 33.1k, False: 75.8k]
  ------------------
21351|  75.8k|        )
21352|  33.1k|        {
21353|  33.1k|            _res = param_no_default_var;
21354|  33.1k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (21354:17): [True: 31.3k, False: 1.75k]
  ------------------
21355|  31.3k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (21355:21): [True: 0, False: 31.3k]
  ------------------
21356|      0|                    p->error_indicator = 1;
21357|      0|                    PyErr_NoMemory();
21358|      0|                    PyMem_Free(_children);
21359|      0|                    p->level--;
21360|      0|                    return NULL;
21361|      0|                }
21362|  31.3k|            }
21363|  33.1k|            _children[_n++] = _res;
21364|  33.1k|            _mark = p->mark;
21365|  33.1k|        }
21366|  75.8k|        p->mark = _mark;
21367|  75.8k|        D(fprintf(stderr, "%*c%s _loop1_29[%d-%d]: %s failed!\n", p->level, ' ',
21368|  75.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default"));
21369|  75.8k|    }
21370|  75.8k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (21370:9): [True: 50.2k, False: 25.6k]
  |  Branch (21370:20): [True: 5, False: 25.6k]
  ------------------
21371|  50.2k|        PyMem_Free(_children);
21372|  50.2k|        p->level--;
21373|  50.2k|        return NULL;
21374|  50.2k|    }
21375|  25.6k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
21376|  25.6k|    if (!_seq) {
  ------------------
  |  Branch (21376:9): [True: 0, False: 25.6k]
  ------------------
21377|      0|        p->error_indicator = 1;
21378|      0|        PyErr_NoMemory();
21379|      0|        PyMem_Free(_children);
21380|      0|        p->level--;
21381|      0|        return NULL;
21382|      0|    }
21383|  58.8k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  33.1k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  58.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (21383:28): [True: 33.1k, False: 25.6k]
  ------------------
21384|  25.6k|    PyMem_Free(_children);
21385|  25.6k|    p->level--;
21386|  25.6k|    return _seq;
21387|  25.6k|}
parser.c:_loop1_30_rule:
21392|  70.0k|{
21393|  70.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   140k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21393:9): [True: 0, False: 70.0k]
  |  Branch (21393:35): [True: 0, False: 70.0k]
  ------------------
21394|      0|        _Pypegen_stack_overflow(p);
21395|      0|    }
21396|  70.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (21396:9): [True: 0, False: 70.0k]
  ------------------
21397|      0|        p->level--;
21398|      0|        return NULL;
21399|      0|    }
21400|  70.0k|    void *_res = NULL;
21401|  70.0k|    int _mark = p->mark;
21402|  70.0k|    void **_children = NULL;
21403|  70.0k|    Py_ssize_t _children_capacity = 0;
21404|  70.0k|    Py_ssize_t _n = 0;
21405|  70.0k|    { // param_with_default
21406|  70.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (21406:13): [True: 0, False: 70.0k]
  ------------------
21407|      0|            p->level--;
21408|      0|            return NULL;
21409|      0|        }
21410|  70.0k|        D(fprintf(stderr, "%*c> _loop1_30[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_with_default"));
21411|  70.0k|        NameDefaultPair* param_with_default_var;
21412|  70.0k|        while (
21413|  80.6k|            (param_with_default_var = param_with_default_rule(p))  // param_with_default
  ------------------
  |  |  429|  80.6k|#define param_with_default_rule _PyPegen_param_with_default_rule
  ------------------
  |  Branch (21413:13): [True: 10.5k, False: 70.0k]
  ------------------
21414|  70.0k|        )
21415|  10.5k|        {
21416|  10.5k|            _res = param_with_default_var;
21417|  10.5k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (21417:17): [True: 8.05k, False: 2.49k]
  ------------------
21418|  8.05k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (21418:21): [True: 0, False: 8.05k]
  ------------------
21419|      0|                    p->error_indicator = 1;
21420|      0|                    PyErr_NoMemory();
21421|      0|                    PyMem_Free(_children);
21422|      0|                    p->level--;
21423|      0|                    return NULL;
21424|      0|                }
21425|  8.05k|            }
21426|  10.5k|            _children[_n++] = _res;
21427|  10.5k|            _mark = p->mark;
21428|  10.5k|        }
21429|  70.0k|        p->mark = _mark;
21430|  70.0k|        D(fprintf(stderr, "%*c%s _loop1_30[%d-%d]: %s failed!\n", p->level, ' ',
21431|  70.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_with_default"));
21432|  70.0k|    }
21433|  70.0k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (21433:9): [True: 62.9k, False: 7.13k]
  |  Branch (21433:20): [True: 5, False: 7.13k]
  ------------------
21434|  62.9k|        PyMem_Free(_children);
21435|  62.9k|        p->level--;
21436|  62.9k|        return NULL;
21437|  62.9k|    }
21438|  7.13k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
21439|  7.13k|    if (!_seq) {
  ------------------
  |  Branch (21439:9): [True: 0, False: 7.13k]
  ------------------
21440|      0|        p->error_indicator = 1;
21441|      0|        PyErr_NoMemory();
21442|      0|        PyMem_Free(_children);
21443|      0|        p->level--;
21444|      0|        return NULL;
21445|      0|    }
21446|  17.6k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  10.5k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  17.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (21446:28): [True: 10.5k, False: 7.13k]
  ------------------
21447|  7.13k|    PyMem_Free(_children);
21448|  7.13k|    p->level--;
21449|  7.13k|    return _seq;
21450|  7.13k|}
parser.c:_gather_40_rule:
22016|   288k|{
22017|   288k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   577k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22017:9): [True: 0, False: 288k]
  |  Branch (22017:35): [True: 0, False: 288k]
  ------------------
22018|      0|        _Pypegen_stack_overflow(p);
22019|      0|    }
22020|   288k|    if (p->error_indicator) {
  ------------------
  |  Branch (22020:9): [True: 0, False: 288k]
  ------------------
22021|      0|        p->level--;
22022|      0|        return NULL;
22023|      0|    }
22024|   288k|    asdl_seq * _res = NULL;
22025|   288k|    int _mark = p->mark;
22026|   288k|    { // closed_pattern _loop0_39
22027|   288k|        if (p->error_indicator) {
  ------------------
  |  Branch (22027:13): [True: 0, False: 288k]
  ------------------
22028|      0|            p->level--;
22029|      0|            return NULL;
22030|      0|        }
22031|   288k|        D(fprintf(stderr, "%*c> _gather_40[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "closed_pattern _loop0_39"));
22032|   288k|        pattern_ty elem;
22033|   288k|        asdl_seq * seq;
22034|   288k|        if (
22035|   288k|            (elem = closed_pattern_rule(p))  // closed_pattern
  ------------------
  |  Branch (22035:13): [True: 213k, False: 74.8k]
  ------------------
22036|   213k|            &&
22037|   213k|            (seq = _loop0_39_rule(p))  // _loop0_39
  ------------------
  |  Branch (22037:13): [True: 213k, False: 0]
  ------------------
22038|   288k|        )
22039|   213k|        {
22040|   213k|            D(fprintf(stderr, "%*c+ _gather_40[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "closed_pattern _loop0_39"));
22041|   213k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
22042|   213k|            goto done;
22043|   213k|        }
22044|  74.8k|        p->mark = _mark;
22045|  74.8k|        D(fprintf(stderr, "%*c%s _gather_40[%d-%d]: %s failed!\n", p->level, ' ',
22046|  74.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "closed_pattern _loop0_39"));
22047|  74.8k|    }
22048|  74.8k|    _res = NULL;
22049|   288k|  done:
22050|   288k|    p->level--;
22051|   288k|    return _res;
22052|  74.8k|}
parser.c:closed_pattern_rule:
 8411|   313k|{
 8412|   313k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   626k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8412:9): [True: 0, False: 313k]
  |  Branch (8412:35): [True: 0, False: 313k]
  ------------------
 8413|      0|        _Pypegen_stack_overflow(p);
 8414|      0|    }
 8415|   313k|    if (p->error_indicator) {
  ------------------
  |  Branch (8415:9): [True: 0, False: 313k]
  ------------------
 8416|      0|        p->level--;
 8417|      0|        return NULL;
 8418|      0|    }
 8419|   313k|    pattern_ty _res = NULL;
 8420|   313k|    if (_PyPegen_is_memoized(p, closed_pattern_type, &_res)) {
  ------------------
  |  |  162|   313k|#define closed_pattern_type 1073
  ------------------
  |  Branch (8420:9): [True: 249k, False: 63.2k]
  ------------------
 8421|   249k|        p->level--;
 8422|   249k|        return _res;
 8423|   249k|    }
 8424|  63.2k|    int _mark = p->mark;
 8425|  63.2k|    { // literal_pattern
 8426|  63.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (8426:13): [True: 0, False: 63.2k]
  ------------------
 8427|      0|            p->level--;
 8428|      0|            return NULL;
 8429|      0|        }
 8430|  63.2k|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "literal_pattern"));
 8431|  63.2k|        pattern_ty literal_pattern_var;
 8432|  63.2k|        if (
 8433|  63.2k|            (literal_pattern_var = literal_pattern_rule(p))  // literal_pattern
  ------------------
  |  Branch (8433:13): [True: 14.5k, False: 48.6k]
  ------------------
 8434|  63.2k|        )
 8435|  14.5k|        {
 8436|  14.5k|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "literal_pattern"));
 8437|  14.5k|            _res = literal_pattern_var;
 8438|  14.5k|            goto done;
 8439|  14.5k|        }
 8440|  48.6k|        p->mark = _mark;
 8441|  48.6k|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8442|  48.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "literal_pattern"));
 8443|  48.6k|    }
 8444|      0|    { // capture_pattern
 8445|  48.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (8445:13): [True: 21, False: 48.6k]
  ------------------
 8446|     21|            p->level--;
 8447|     21|            return NULL;
 8448|     21|        }
 8449|  48.6k|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "capture_pattern"));
 8450|  48.6k|        pattern_ty capture_pattern_var;
 8451|  48.6k|        if (
 8452|  48.6k|            (capture_pattern_var = capture_pattern_rule(p))  // capture_pattern
  ------------------
  |  Branch (8452:13): [True: 22.1k, False: 26.4k]
  ------------------
 8453|  48.6k|        )
 8454|  22.1k|        {
 8455|  22.1k|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "capture_pattern"));
 8456|  22.1k|            _res = capture_pattern_var;
 8457|  22.1k|            goto done;
 8458|  22.1k|        }
 8459|  26.4k|        p->mark = _mark;
 8460|  26.4k|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8461|  26.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "capture_pattern"));
 8462|  26.4k|    }
 8463|      0|    { // wildcard_pattern
 8464|  26.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (8464:13): [True: 36, False: 26.4k]
  ------------------
 8465|     36|            p->level--;
 8466|     36|            return NULL;
 8467|     36|        }
 8468|  26.4k|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "wildcard_pattern"));
 8469|  26.4k|        pattern_ty wildcard_pattern_var;
 8470|  26.4k|        if (
 8471|  26.4k|            (wildcard_pattern_var = wildcard_pattern_rule(p))  // wildcard_pattern
  ------------------
  |  Branch (8471:13): [True: 4.44k, False: 22.0k]
  ------------------
 8472|  26.4k|        )
 8473|  4.44k|        {
 8474|  4.44k|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "wildcard_pattern"));
 8475|  4.44k|            _res = wildcard_pattern_var;
 8476|  4.44k|            goto done;
 8477|  4.44k|        }
 8478|  22.0k|        p->mark = _mark;
 8479|  22.0k|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8480|  22.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "wildcard_pattern"));
 8481|  22.0k|    }
 8482|      0|    { // value_pattern
 8483|  22.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (8483:13): [True: 0, False: 22.0k]
  ------------------
 8484|      0|            p->level--;
 8485|      0|            return NULL;
 8486|      0|        }
 8487|  22.0k|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "value_pattern"));
 8488|  22.0k|        pattern_ty value_pattern_var;
 8489|  22.0k|        if (
 8490|  22.0k|            (value_pattern_var = value_pattern_rule(p))  // value_pattern
  ------------------
  |  Branch (8490:13): [True: 1.34k, False: 20.6k]
  ------------------
 8491|  22.0k|        )
 8492|  1.34k|        {
 8493|  1.34k|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "value_pattern"));
 8494|  1.34k|            _res = value_pattern_var;
 8495|  1.34k|            goto done;
 8496|  1.34k|        }
 8497|  20.6k|        p->mark = _mark;
 8498|  20.6k|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8499|  20.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "value_pattern"));
 8500|  20.6k|    }
 8501|      0|    { // group_pattern
 8502|  20.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (8502:13): [True: 0, False: 20.6k]
  ------------------
 8503|      0|            p->level--;
 8504|      0|            return NULL;
 8505|      0|        }
 8506|  20.6k|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "group_pattern"));
 8507|  20.6k|        pattern_ty group_pattern_var;
 8508|  20.6k|        if (
 8509|  20.6k|            (group_pattern_var = group_pattern_rule(p))  // group_pattern
  ------------------
  |  Branch (8509:13): [True: 73, False: 20.5k]
  ------------------
 8510|  20.6k|        )
 8511|     73|        {
 8512|     73|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "group_pattern"));
 8513|     73|            _res = group_pattern_var;
 8514|     73|            goto done;
 8515|     73|        }
 8516|  20.5k|        p->mark = _mark;
 8517|  20.5k|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8518|  20.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "group_pattern"));
 8519|  20.5k|    }
 8520|      0|    { // sequence_pattern
 8521|  20.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (8521:13): [True: 555, False: 20.0k]
  ------------------
 8522|    555|            p->level--;
 8523|    555|            return NULL;
 8524|    555|        }
 8525|  20.0k|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sequence_pattern"));
 8526|  20.0k|        pattern_ty sequence_pattern_var;
 8527|  20.0k|        if (
 8528|  20.0k|            (sequence_pattern_var = sequence_pattern_rule(p))  // sequence_pattern
  ------------------
  |  Branch (8528:13): [True: 1.31k, False: 18.7k]
  ------------------
 8529|  20.0k|        )
 8530|  1.31k|        {
 8531|  1.31k|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sequence_pattern"));
 8532|  1.31k|            _res = sequence_pattern_var;
 8533|  1.31k|            goto done;
 8534|  1.31k|        }
 8535|  18.7k|        p->mark = _mark;
 8536|  18.7k|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8537|  18.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sequence_pattern"));
 8538|  18.7k|    }
 8539|      0|    { // mapping_pattern
 8540|  18.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (8540:13): [True: 550, False: 18.1k]
  ------------------
 8541|    550|            p->level--;
 8542|    550|            return NULL;
 8543|    550|        }
 8544|  18.1k|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "mapping_pattern"));
 8545|  18.1k|        pattern_ty mapping_pattern_var;
 8546|  18.1k|        if (
 8547|  18.1k|            (mapping_pattern_var = mapping_pattern_rule(p))  // mapping_pattern
  ------------------
  |  Branch (8547:13): [True: 1.02k, False: 17.1k]
  ------------------
 8548|  18.1k|        )
 8549|  1.02k|        {
 8550|  1.02k|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "mapping_pattern"));
 8551|  1.02k|            _res = mapping_pattern_var;
 8552|  1.02k|            goto done;
 8553|  1.02k|        }
 8554|  17.1k|        p->mark = _mark;
 8555|  17.1k|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8556|  17.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "mapping_pattern"));
 8557|  17.1k|    }
 8558|      0|    { // class_pattern
 8559|  17.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (8559:13): [True: 631, False: 16.5k]
  ------------------
 8560|    631|            p->level--;
 8561|    631|            return NULL;
 8562|    631|        }
 8563|  16.5k|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "class_pattern"));
 8564|  16.5k|        pattern_ty class_pattern_var;
 8565|  16.5k|        if (
 8566|  16.5k|            (class_pattern_var = class_pattern_rule(p))  // class_pattern
  ------------------
  |  Branch (8566:13): [True: 3.03k, False: 13.4k]
  ------------------
 8567|  16.5k|        )
 8568|  3.03k|        {
 8569|  3.03k|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "class_pattern"));
 8570|  3.03k|            _res = class_pattern_var;
 8571|  3.03k|            goto done;
 8572|  3.03k|        }
 8573|  13.4k|        p->mark = _mark;
 8574|  13.4k|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8575|  13.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "class_pattern"));
 8576|  13.4k|    }
 8577|  13.4k|    _res = NULL;
 8578|  61.4k|  done:
 8579|  61.4k|    _PyPegen_insert_memo(p, _mark, closed_pattern_type, _res);
  ------------------
  |  |  162|  61.4k|#define closed_pattern_type 1073
  ------------------
 8580|  61.4k|    p->level--;
 8581|  61.4k|    return _res;
 8582|  13.4k|}
parser.c:literal_pattern_rule:
 8593|  63.2k|{
 8594|  63.2k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   126k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8594:9): [True: 0, False: 63.2k]
  |  Branch (8594:35): [True: 0, False: 63.2k]
  ------------------
 8595|      0|        _Pypegen_stack_overflow(p);
 8596|      0|    }
 8597|  63.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (8597:9): [True: 0, False: 63.2k]
  ------------------
 8598|      0|        p->level--;
 8599|      0|        return NULL;
 8600|      0|    }
 8601|  63.2k|    pattern_ty _res = NULL;
 8602|  63.2k|    int _mark = p->mark;
 8603|  63.2k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (8603:9): [True: 0, False: 63.2k]
  |  Branch (8603:31): [True: 0, False: 0]
  ------------------
 8604|      0|        p->error_indicator = 1;
 8605|      0|        p->level--;
 8606|      0|        return NULL;
 8607|      0|    }
 8608|  63.2k|    int _start_lineno = p->tokens[_mark]->lineno;
 8609|  63.2k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  63.2k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 63.2k]
  |  |  ------------------
  ------------------
 8610|  63.2k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 8611|  63.2k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  63.2k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 63.2k]
  |  |  ------------------
  ------------------
 8612|  63.2k|    { // signed_number !('+' | '-')
 8613|  63.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (8613:13): [True: 0, False: 63.2k]
  ------------------
 8614|      0|            p->level--;
 8615|      0|            return NULL;
 8616|      0|        }
 8617|  63.2k|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "signed_number !('+' | '-')"));
 8618|  63.2k|        expr_ty value;
 8619|  63.2k|        if (
 8620|  63.2k|            (value = signed_number_rule(p))  // signed_number
  ------------------
  |  Branch (8620:13): [True: 13.2k, False: 49.9k]
  ------------------
 8621|  13.2k|            &&
 8622|  13.2k|            _PyPegen_lookahead(0, _tmp_41_rule, p)
  ------------------
  |  Branch (8622:13): [True: 9.52k, False: 3.73k]
  ------------------
 8623|  63.2k|        )
 8624|  9.52k|        {
 8625|  9.52k|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "signed_number !('+' | '-')"));
 8626|  9.52k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8627|  9.52k|            if (_token == NULL) {
  ------------------
  |  Branch (8627:17): [True: 0, False: 9.52k]
  ------------------
 8628|      0|                p->level--;
 8629|      0|                return NULL;
 8630|      0|            }
 8631|  9.52k|            int _end_lineno = _token->end_lineno;
 8632|  9.52k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  9.52k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 9.52k]
  |  |  ------------------
  ------------------
 8633|  9.52k|            int _end_col_offset = _token->end_col_offset;
 8634|  9.52k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  9.52k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 9.52k]
  |  |  ------------------
  ------------------
 8635|  9.52k|            _res = _PyAST_MatchValue ( value , EXTRA );
  ------------------
  |  |  316|  9.52k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8636|  9.52k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8636:18): [True: 0, False: 9.52k]
  |  Branch (8636:34): [True: 6, False: 9.51k]
  |  Branch (8636:57): [True: 6, False: 0]
  ------------------
 8637|      6|                p->error_indicator = 1;
 8638|      6|                p->level--;
 8639|      6|                return NULL;
 8640|      6|            }
 8641|  9.51k|            goto done;
 8642|  9.52k|        }
 8643|  53.6k|        p->mark = _mark;
 8644|  53.6k|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8645|  53.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "signed_number !('+' | '-')"));
 8646|  53.6k|    }
 8647|      0|    { // complex_number
 8648|  53.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (8648:13): [True: 1, False: 53.6k]
  ------------------
 8649|      1|            p->level--;
 8650|      1|            return NULL;
 8651|      1|        }
 8652|  53.6k|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "complex_number"));
 8653|  53.6k|        expr_ty value;
 8654|  53.6k|        if (
 8655|  53.6k|            (value = complex_number_rule(p))  // complex_number
  ------------------
  |  Branch (8655:13): [True: 3.71k, False: 49.9k]
  ------------------
 8656|  53.6k|        )
 8657|  3.71k|        {
 8658|  3.71k|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "complex_number"));
 8659|  3.71k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8660|  3.71k|            if (_token == NULL) {
  ------------------
  |  Branch (8660:17): [True: 0, False: 3.71k]
  ------------------
 8661|      0|                p->level--;
 8662|      0|                return NULL;
 8663|      0|            }
 8664|  3.71k|            int _end_lineno = _token->end_lineno;
 8665|  3.71k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.71k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.71k]
  |  |  ------------------
  ------------------
 8666|  3.71k|            int _end_col_offset = _token->end_col_offset;
 8667|  3.71k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  3.71k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.71k]
  |  |  ------------------
  ------------------
 8668|  3.71k|            _res = _PyAST_MatchValue ( value , EXTRA );
  ------------------
  |  |  316|  3.71k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8669|  3.71k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8669:18): [True: 0, False: 3.71k]
  |  Branch (8669:34): [True: 0, False: 3.71k]
  |  Branch (8669:57): [True: 0, False: 0]
  ------------------
 8670|      0|                p->error_indicator = 1;
 8671|      0|                p->level--;
 8672|      0|                return NULL;
 8673|      0|            }
 8674|  3.71k|            goto done;
 8675|  3.71k|        }
 8676|  49.9k|        p->mark = _mark;
 8677|  49.9k|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8678|  49.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "complex_number"));
 8679|  49.9k|    }
 8680|      0|    { // strings
 8681|  49.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (8681:13): [True: 6, False: 49.9k]
  ------------------
 8682|      6|            p->level--;
 8683|      6|            return NULL;
 8684|      6|        }
 8685|  49.9k|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "strings"));
 8686|  49.9k|        expr_ty value;
 8687|  49.9k|        if (
 8688|  49.9k|            (value = strings_rule(p))  // strings
  ------------------
  |  Branch (8688:13): [True: 297, False: 49.6k]
  ------------------
 8689|  49.9k|        )
 8690|    297|        {
 8691|    297|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "strings"));
 8692|    297|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8693|    297|            if (_token == NULL) {
  ------------------
  |  Branch (8693:17): [True: 0, False: 297]
  ------------------
 8694|      0|                p->level--;
 8695|      0|                return NULL;
 8696|      0|            }
 8697|    297|            int _end_lineno = _token->end_lineno;
 8698|    297|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    297|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 297]
  |  |  ------------------
  ------------------
 8699|    297|            int _end_col_offset = _token->end_col_offset;
 8700|    297|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    297|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 297]
  |  |  ------------------
  ------------------
 8701|    297|            _res = _PyAST_MatchValue ( value , EXTRA );
  ------------------
  |  |  316|    297|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8702|    297|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8702:18): [True: 0, False: 297]
  |  Branch (8702:34): [True: 0, False: 297]
  |  Branch (8702:57): [True: 0, False: 0]
  ------------------
 8703|      0|                p->error_indicator = 1;
 8704|      0|                p->level--;
 8705|      0|                return NULL;
 8706|      0|            }
 8707|    297|            goto done;
 8708|    297|        }
 8709|  49.6k|        p->mark = _mark;
 8710|  49.6k|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8711|  49.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "strings"));
 8712|  49.6k|    }
 8713|      0|    { // 'None'
 8714|  49.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (8714:13): [True: 8, False: 49.6k]
  ------------------
 8715|      8|            p->level--;
 8716|      8|            return NULL;
 8717|      8|        }
 8718|  49.6k|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
 8719|  49.6k|        Token * _keyword;
 8720|  49.6k|        if (
 8721|  49.6k|            (_keyword = _PyPegen_expect_token(p, 526))  // token='None'
  ------------------
  |  Branch (8721:13): [True: 195, False: 49.4k]
  ------------------
 8722|  49.6k|        )
 8723|    195|        {
 8724|    195|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
 8725|    195|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8726|    195|            if (_token == NULL) {
  ------------------
  |  Branch (8726:17): [True: 0, False: 195]
  ------------------
 8727|      0|                p->level--;
 8728|      0|                return NULL;
 8729|      0|            }
 8730|    195|            int _end_lineno = _token->end_lineno;
 8731|    195|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    195|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 195]
  |  |  ------------------
  ------------------
 8732|    195|            int _end_col_offset = _token->end_col_offset;
 8733|    195|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    195|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 195]
  |  |  ------------------
  ------------------
 8734|    195|            _res = _PyAST_MatchSingleton ( Py_None , EXTRA );
  ------------------
  |  |  616|    195|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          _res = _PyAST_MatchSingleton ( Py_None , EXTRA );
  ------------------
  |  |  316|    195|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8735|    195|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8735:18): [True: 0, False: 195]
  |  Branch (8735:34): [True: 0, False: 195]
  |  Branch (8735:57): [True: 0, False: 0]
  ------------------
 8736|      0|                p->error_indicator = 1;
 8737|      0|                p->level--;
 8738|      0|                return NULL;
 8739|      0|            }
 8740|    195|            goto done;
 8741|    195|        }
 8742|  49.4k|        p->mark = _mark;
 8743|  49.4k|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8744|  49.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
 8745|  49.4k|    }
 8746|      0|    { // 'True'
 8747|  49.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (8747:13): [True: 0, False: 49.4k]
  ------------------
 8748|      0|            p->level--;
 8749|      0|            return NULL;
 8750|      0|        }
 8751|  49.4k|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
 8752|  49.4k|        Token * _keyword;
 8753|  49.4k|        if (
 8754|  49.4k|            (_keyword = _PyPegen_expect_token(p, 527))  // token='True'
  ------------------
  |  Branch (8754:13): [True: 101, False: 49.3k]
  ------------------
 8755|  49.4k|        )
 8756|    101|        {
 8757|    101|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
 8758|    101|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8759|    101|            if (_token == NULL) {
  ------------------
  |  Branch (8759:17): [True: 0, False: 101]
  ------------------
 8760|      0|                p->level--;
 8761|      0|                return NULL;
 8762|      0|            }
 8763|    101|            int _end_lineno = _token->end_lineno;
 8764|    101|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    101|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 101]
  |  |  ------------------
  ------------------
 8765|    101|            int _end_col_offset = _token->end_col_offset;
 8766|    101|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    101|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 101]
  |  |  ------------------
  ------------------
 8767|    101|            _res = _PyAST_MatchSingleton ( Py_True , EXTRA );
  ------------------
  |  |   26|    101|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_MatchSingleton ( Py_True , EXTRA );
  ------------------
  |  |  316|    101|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8768|    101|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8768:18): [True: 0, False: 101]
  |  Branch (8768:34): [True: 0, False: 101]
  |  Branch (8768:57): [True: 0, False: 0]
  ------------------
 8769|      0|                p->error_indicator = 1;
 8770|      0|                p->level--;
 8771|      0|                return NULL;
 8772|      0|            }
 8773|    101|            goto done;
 8774|    101|        }
 8775|  49.3k|        p->mark = _mark;
 8776|  49.3k|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8777|  49.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
 8778|  49.3k|    }
 8779|      0|    { // 'False'
 8780|  49.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (8780:13): [True: 0, False: 49.3k]
  ------------------
 8781|      0|            p->level--;
 8782|      0|            return NULL;
 8783|      0|        }
 8784|  49.3k|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
 8785|  49.3k|        Token * _keyword;
 8786|  49.3k|        if (
 8787|  49.3k|            (_keyword = _PyPegen_expect_token(p, 528))  // token='False'
  ------------------
  |  Branch (8787:13): [True: 704, False: 48.6k]
  ------------------
 8788|  49.3k|        )
 8789|    704|        {
 8790|    704|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
 8791|    704|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8792|    704|            if (_token == NULL) {
  ------------------
  |  Branch (8792:17): [True: 0, False: 704]
  ------------------
 8793|      0|                p->level--;
 8794|      0|                return NULL;
 8795|      0|            }
 8796|    704|            int _end_lineno = _token->end_lineno;
 8797|    704|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    704|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 704]
  |  |  ------------------
  ------------------
 8798|    704|            int _end_col_offset = _token->end_col_offset;
 8799|    704|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    704|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 704]
  |  |  ------------------
  ------------------
 8800|    704|            _res = _PyAST_MatchSingleton ( Py_False , EXTRA );
  ------------------
  |  |   25|    704|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|    704|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    704|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_MatchSingleton ( Py_False , EXTRA );
  ------------------
  |  |  316|    704|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8801|    704|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8801:18): [True: 0, False: 704]
  |  Branch (8801:34): [True: 0, False: 704]
  |  Branch (8801:57): [True: 0, False: 0]
  ------------------
 8802|      0|                p->error_indicator = 1;
 8803|      0|                p->level--;
 8804|      0|                return NULL;
 8805|      0|            }
 8806|    704|            goto done;
 8807|    704|        }
 8808|  48.6k|        p->mark = _mark;
 8809|  48.6k|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8810|  48.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
 8811|  48.6k|    }
 8812|  48.6k|    _res = NULL;
 8813|  63.1k|  done:
 8814|  63.1k|    p->level--;
 8815|  63.1k|    return _res;
 8816|  48.6k|}
parser.c:signed_number_rule:
 9123|  82.1k|{
 9124|  82.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   164k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9124:9): [True: 0, False: 82.1k]
  |  Branch (9124:35): [True: 0, False: 82.1k]
  ------------------
 9125|      0|        _Pypegen_stack_overflow(p);
 9126|      0|    }
 9127|  82.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (9127:9): [True: 0, False: 82.1k]
  ------------------
 9128|      0|        p->level--;
 9129|      0|        return NULL;
 9130|      0|    }
 9131|  82.1k|    expr_ty _res = NULL;
 9132|  82.1k|    int _mark = p->mark;
 9133|  82.1k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9133:9): [True: 0, False: 82.1k]
  |  Branch (9133:31): [True: 0, False: 0]
  ------------------
 9134|      0|        p->error_indicator = 1;
 9135|      0|        p->level--;
 9136|      0|        return NULL;
 9137|      0|    }
 9138|  82.1k|    int _start_lineno = p->tokens[_mark]->lineno;
 9139|  82.1k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  82.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 82.1k]
  |  |  ------------------
  ------------------
 9140|  82.1k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9141|  82.1k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  82.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 82.1k]
  |  |  ------------------
  ------------------
 9142|  82.1k|    { // NUMBER
 9143|  82.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (9143:13): [True: 0, False: 82.1k]
  ------------------
 9144|      0|            p->level--;
 9145|      0|            return NULL;
 9146|      0|        }
 9147|  82.1k|        D(fprintf(stderr, "%*c> signed_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NUMBER"));
 9148|  82.1k|        expr_ty number_var;
 9149|  82.1k|        if (
 9150|  82.1k|            (number_var = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (9150:13): [True: 26.1k, False: 55.9k]
  ------------------
 9151|  82.1k|        )
 9152|  26.1k|        {
 9153|  26.1k|            D(fprintf(stderr, "%*c+ signed_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NUMBER"));
 9154|  26.1k|            _res = number_var;
 9155|  26.1k|            goto done;
 9156|  26.1k|        }
 9157|  55.9k|        p->mark = _mark;
 9158|  55.9k|        D(fprintf(stderr, "%*c%s signed_number[%d-%d]: %s failed!\n", p->level, ' ',
 9159|  55.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NUMBER"));
 9160|  55.9k|    }
 9161|      0|    { // '+' NUMBER
 9162|  55.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (9162:13): [True: 0, False: 55.9k]
  ------------------
 9163|      0|            p->level--;
 9164|      0|            return NULL;
 9165|      0|        }
 9166|  55.9k|        D(fprintf(stderr, "%*c> signed_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+' NUMBER"));
 9167|  55.9k|        Token * _literal;
 9168|  55.9k|        expr_ty number;
 9169|  55.9k|        if (
 9170|  55.9k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (9170:13): [True: 161, False: 55.8k]
  ------------------
 9171|    161|            &&
 9172|    161|            (number = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (9172:13): [True: 151, False: 10]
  ------------------
 9173|  55.9k|        )
 9174|    151|        {
 9175|    151|            D(fprintf(stderr, "%*c+ signed_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+' NUMBER"));
 9176|    151|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9177|    151|            if (_token == NULL) {
  ------------------
  |  Branch (9177:17): [True: 0, False: 151]
  ------------------
 9178|      0|                p->level--;
 9179|      0|                return NULL;
 9180|      0|            }
 9181|    151|            int _end_lineno = _token->end_lineno;
 9182|    151|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    151|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 151]
  |  |  ------------------
  ------------------
 9183|    151|            int _end_col_offset = _token->end_col_offset;
 9184|    151|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    151|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 151]
  |  |  ------------------
  ------------------
 9185|    151|            _res = _PyAST_UnaryOp ( UAdd , number , EXTRA );
  ------------------
  |  |  316|    151|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9186|    151|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9186:18): [True: 0, False: 151]
  |  Branch (9186:34): [True: 0, False: 151]
  |  Branch (9186:57): [True: 0, False: 0]
  ------------------
 9187|      0|                p->error_indicator = 1;
 9188|      0|                p->level--;
 9189|      0|                return NULL;
 9190|      0|            }
 9191|    151|            goto done;
 9192|    151|        }
 9193|  55.8k|        p->mark = _mark;
 9194|  55.8k|        D(fprintf(stderr, "%*c%s signed_number[%d-%d]: %s failed!\n", p->level, ' ',
 9195|  55.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+' NUMBER"));
 9196|  55.8k|    }
 9197|      0|    { // '-' NUMBER
 9198|  55.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (9198:13): [True: 0, False: 55.8k]
  ------------------
 9199|      0|            p->level--;
 9200|      0|            return NULL;
 9201|      0|        }
 9202|  55.8k|        D(fprintf(stderr, "%*c> signed_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-' NUMBER"));
 9203|  55.8k|        Token * _literal;
 9204|  55.8k|        expr_ty number;
 9205|  55.8k|        if (
 9206|  55.8k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (9206:13): [True: 1.48k, False: 54.3k]
  ------------------
 9207|  1.48k|            &&
 9208|  1.48k|            (number = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (9208:13): [True: 1.48k, False: 8]
  ------------------
 9209|  55.8k|        )
 9210|  1.48k|        {
 9211|  1.48k|            D(fprintf(stderr, "%*c+ signed_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-' NUMBER"));
 9212|  1.48k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9213|  1.48k|            if (_token == NULL) {
  ------------------
  |  Branch (9213:17): [True: 0, False: 1.48k]
  ------------------
 9214|      0|                p->level--;
 9215|      0|                return NULL;
 9216|      0|            }
 9217|  1.48k|            int _end_lineno = _token->end_lineno;
 9218|  1.48k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.48k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.48k]
  |  |  ------------------
  ------------------
 9219|  1.48k|            int _end_col_offset = _token->end_col_offset;
 9220|  1.48k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.48k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.48k]
  |  |  ------------------
  ------------------
 9221|  1.48k|            _res = _PyAST_UnaryOp ( USub , number , EXTRA );
  ------------------
  |  |  316|  1.48k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9222|  1.48k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9222:18): [True: 0, False: 1.48k]
  |  Branch (9222:34): [True: 0, False: 1.48k]
  |  Branch (9222:57): [True: 0, False: 0]
  ------------------
 9223|      0|                p->error_indicator = 1;
 9224|      0|                p->level--;
 9225|      0|                return NULL;
 9226|      0|            }
 9227|  1.48k|            goto done;
 9228|  1.48k|        }
 9229|  54.3k|        p->mark = _mark;
 9230|  54.3k|        D(fprintf(stderr, "%*c%s signed_number[%d-%d]: %s failed!\n", p->level, ' ',
 9231|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-' NUMBER"));
 9232|  54.3k|    }
 9233|  54.3k|    _res = NULL;
 9234|  82.1k|  done:
 9235|  82.1k|    p->level--;
 9236|  82.1k|    return _res;
 9237|  54.3k|}
parser.c:_tmp_41_rule:
22057|  27.7k|{
22058|  27.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  55.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22058:9): [True: 0, False: 27.7k]
  |  Branch (22058:35): [True: 0, False: 27.7k]
  ------------------
22059|      0|        _Pypegen_stack_overflow(p);
22060|      0|    }
22061|  27.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (22061:9): [True: 0, False: 27.7k]
  ------------------
22062|      0|        p->level--;
22063|      0|        return NULL;
22064|      0|    }
22065|  27.7k|    void * _res = NULL;
22066|  27.7k|    int _mark = p->mark;
22067|  27.7k|    { // '+'
22068|  27.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (22068:13): [True: 0, False: 27.7k]
  ------------------
22069|      0|            p->level--;
22070|      0|            return NULL;
22071|      0|        }
22072|  27.7k|        D(fprintf(stderr, "%*c> _tmp_41[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+'"));
22073|  27.7k|        Token * _literal;
22074|  27.7k|        if (
22075|  27.7k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (22075:13): [True: 2.09k, False: 25.6k]
  ------------------
22076|  27.7k|        )
22077|  2.09k|        {
22078|  2.09k|            D(fprintf(stderr, "%*c+ _tmp_41[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+'"));
22079|  2.09k|            _res = _literal;
22080|  2.09k|            goto done;
22081|  2.09k|        }
22082|  25.6k|        p->mark = _mark;
22083|  25.6k|        D(fprintf(stderr, "%*c%s _tmp_41[%d-%d]: %s failed!\n", p->level, ' ',
22084|  25.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+'"));
22085|  25.6k|    }
22086|      0|    { // '-'
22087|  25.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (22087:13): [True: 9, False: 25.6k]
  ------------------
22088|      9|            p->level--;
22089|      9|            return NULL;
22090|      9|        }
22091|  25.6k|        D(fprintf(stderr, "%*c> _tmp_41[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-'"));
22092|  25.6k|        Token * _literal;
22093|  25.6k|        if (
22094|  25.6k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (22094:13): [True: 1.70k, False: 23.9k]
  ------------------
22095|  25.6k|        )
22096|  1.70k|        {
22097|  1.70k|            D(fprintf(stderr, "%*c+ _tmp_41[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-'"));
22098|  1.70k|            _res = _literal;
22099|  1.70k|            goto done;
22100|  1.70k|        }
22101|  23.9k|        p->mark = _mark;
22102|  23.9k|        D(fprintf(stderr, "%*c%s _tmp_41[%d-%d]: %s failed!\n", p->level, ' ',
22103|  23.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-'"));
22104|  23.9k|    }
22105|  23.9k|    _res = NULL;
22106|  27.7k|  done:
22107|  27.7k|    p->level--;
22108|  27.7k|    return _res;
22109|  23.9k|}
parser.c:complex_number_rule:
 9017|  58.1k|{
 9018|  58.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   116k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9018:9): [True: 0, False: 58.1k]
  |  Branch (9018:35): [True: 0, False: 58.1k]
  ------------------
 9019|      0|        _Pypegen_stack_overflow(p);
 9020|      0|    }
 9021|  58.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (9021:9): [True: 0, False: 58.1k]
  ------------------
 9022|      0|        p->level--;
 9023|      0|        return NULL;
 9024|      0|    }
 9025|  58.1k|    expr_ty _res = NULL;
 9026|  58.1k|    int _mark = p->mark;
 9027|  58.1k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9027:9): [True: 0, False: 58.1k]
  |  Branch (9027:31): [True: 0, False: 0]
  ------------------
 9028|      0|        p->error_indicator = 1;
 9029|      0|        p->level--;
 9030|      0|        return NULL;
 9031|      0|    }
 9032|  58.1k|    int _start_lineno = p->tokens[_mark]->lineno;
 9033|  58.1k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  58.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 58.1k]
  |  |  ------------------
  ------------------
 9034|  58.1k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9035|  58.1k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  58.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 58.1k]
  |  |  ------------------
  ------------------
 9036|  58.1k|    { // signed_real_number '+' imaginary_number
 9037|  58.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (9037:13): [True: 0, False: 58.1k]
  ------------------
 9038|      0|            p->level--;
 9039|      0|            return NULL;
 9040|      0|        }
 9041|  58.1k|        D(fprintf(stderr, "%*c> complex_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "signed_real_number '+' imaginary_number"));
 9042|  58.1k|        Token * _literal;
 9043|  58.1k|        expr_ty imag;
 9044|  58.1k|        expr_ty real;
 9045|  58.1k|        if (
 9046|  58.1k|            (real = signed_real_number_rule(p))  // signed_real_number
  ------------------
  |  Branch (9046:13): [True: 3.79k, False: 54.3k]
  ------------------
 9047|  3.79k|            &&
 9048|  3.79k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (9048:13): [True: 2.09k, False: 1.69k]
  ------------------
 9049|  2.09k|            &&
 9050|  2.09k|            (imag = imaginary_number_rule(p))  // imaginary_number
  ------------------
  |  Branch (9050:13): [True: 2.07k, False: 18]
  ------------------
 9051|  58.1k|        )
 9052|  2.07k|        {
 9053|  2.07k|            D(fprintf(stderr, "%*c+ complex_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "signed_real_number '+' imaginary_number"));
 9054|  2.07k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9055|  2.07k|            if (_token == NULL) {
  ------------------
  |  Branch (9055:17): [True: 0, False: 2.07k]
  ------------------
 9056|      0|                p->level--;
 9057|      0|                return NULL;
 9058|      0|            }
 9059|  2.07k|            int _end_lineno = _token->end_lineno;
 9060|  2.07k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.07k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.07k]
  |  |  ------------------
  ------------------
 9061|  2.07k|            int _end_col_offset = _token->end_col_offset;
 9062|  2.07k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.07k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.07k]
  |  |  ------------------
  ------------------
 9063|  2.07k|            _res = _PyAST_BinOp ( real , Add , imag , EXTRA );
  ------------------
  |  |  316|  2.07k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9064|  2.07k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9064:18): [True: 0, False: 2.07k]
  |  Branch (9064:34): [True: 0, False: 2.07k]
  |  Branch (9064:57): [True: 0, False: 0]
  ------------------
 9065|      0|                p->error_indicator = 1;
 9066|      0|                p->level--;
 9067|      0|                return NULL;
 9068|      0|            }
 9069|  2.07k|            goto done;
 9070|  2.07k|        }
 9071|  56.0k|        p->mark = _mark;
 9072|  56.0k|        D(fprintf(stderr, "%*c%s complex_number[%d-%d]: %s failed!\n", p->level, ' ',
 9073|  56.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "signed_real_number '+' imaginary_number"));
 9074|  56.0k|    }
 9075|      0|    { // signed_real_number '-' imaginary_number
 9076|  56.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (9076:13): [True: 6, False: 56.0k]
  ------------------
 9077|      6|            p->level--;
 9078|      6|            return NULL;
 9079|      6|        }
 9080|  56.0k|        D(fprintf(stderr, "%*c> complex_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "signed_real_number '-' imaginary_number"));
 9081|  56.0k|        Token * _literal;
 9082|  56.0k|        expr_ty imag;
 9083|  56.0k|        expr_ty real;
 9084|  56.0k|        if (
 9085|  56.0k|            (real = signed_real_number_rule(p))  // signed_real_number
  ------------------
  |  Branch (9085:13): [True: 1.71k, False: 54.3k]
  ------------------
 9086|  1.71k|            &&
 9087|  1.71k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (9087:13): [True: 1.69k, False: 16]
  ------------------
 9088|  1.69k|            &&
 9089|  1.69k|            (imag = imaginary_number_rule(p))  // imaginary_number
  ------------------
  |  Branch (9089:13): [True: 1.68k, False: 14]
  ------------------
 9090|  56.0k|        )
 9091|  1.68k|        {
 9092|  1.68k|            D(fprintf(stderr, "%*c+ complex_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "signed_real_number '-' imaginary_number"));
 9093|  1.68k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9094|  1.68k|            if (_token == NULL) {
  ------------------
  |  Branch (9094:17): [True: 0, False: 1.68k]
  ------------------
 9095|      0|                p->level--;
 9096|      0|                return NULL;
 9097|      0|            }
 9098|  1.68k|            int _end_lineno = _token->end_lineno;
 9099|  1.68k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.68k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.68k]
  |  |  ------------------
  ------------------
 9100|  1.68k|            int _end_col_offset = _token->end_col_offset;
 9101|  1.68k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.68k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.68k]
  |  |  ------------------
  ------------------
 9102|  1.68k|            _res = _PyAST_BinOp ( real , Sub , imag , EXTRA );
  ------------------
  |  |  316|  1.68k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9103|  1.68k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9103:18): [True: 0, False: 1.68k]
  |  Branch (9103:34): [True: 0, False: 1.68k]
  |  Branch (9103:57): [True: 0, False: 0]
  ------------------
 9104|      0|                p->error_indicator = 1;
 9105|      0|                p->level--;
 9106|      0|                return NULL;
 9107|      0|            }
 9108|  1.68k|            goto done;
 9109|  1.68k|        }
 9110|  54.3k|        p->mark = _mark;
 9111|  54.3k|        D(fprintf(stderr, "%*c%s complex_number[%d-%d]: %s failed!\n", p->level, ' ',
 9112|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "signed_real_number '-' imaginary_number"));
 9113|  54.3k|    }
 9114|  54.3k|    _res = NULL;
 9115|  58.1k|  done:
 9116|  58.1k|    p->level--;
 9117|  58.1k|    return _res;
 9118|  54.3k|}
parser.c:signed_real_number_rule:
 9242|   114k|{
 9243|   114k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   228k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9243:9): [True: 0, False: 114k]
  |  Branch (9243:35): [True: 0, False: 114k]
  ------------------
 9244|      0|        _Pypegen_stack_overflow(p);
 9245|      0|    }
 9246|   114k|    if (p->error_indicator) {
  ------------------
  |  Branch (9246:9): [True: 0, False: 114k]
  ------------------
 9247|      0|        p->level--;
 9248|      0|        return NULL;
 9249|      0|    }
 9250|   114k|    expr_ty _res = NULL;
 9251|   114k|    int _mark = p->mark;
 9252|   114k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9252:9): [True: 0, False: 114k]
  |  Branch (9252:31): [True: 0, False: 0]
  ------------------
 9253|      0|        p->error_indicator = 1;
 9254|      0|        p->level--;
 9255|      0|        return NULL;
 9256|      0|    }
 9257|   114k|    int _start_lineno = p->tokens[_mark]->lineno;
 9258|   114k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   114k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 114k]
  |  |  ------------------
  ------------------
 9259|   114k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9260|   114k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   114k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 114k]
  |  |  ------------------
  ------------------
 9261|   114k|    { // real_number
 9262|   114k|        if (p->error_indicator) {
  ------------------
  |  Branch (9262:13): [True: 0, False: 114k]
  ------------------
 9263|      0|            p->level--;
 9264|      0|            return NULL;
 9265|      0|        }
 9266|   114k|        D(fprintf(stderr, "%*c> signed_real_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "real_number"));
 9267|   114k|        expr_ty real_number_var;
 9268|   114k|        if (
 9269|   114k|            (real_number_var = real_number_rule(p))  // real_number
  ------------------
  |  Branch (9269:13): [True: 5.31k, False: 108k]
  ------------------
 9270|   114k|        )
 9271|  5.31k|        {
 9272|  5.31k|            D(fprintf(stderr, "%*c+ signed_real_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "real_number"));
 9273|  5.31k|            _res = real_number_var;
 9274|  5.31k|            goto done;
 9275|  5.31k|        }
 9276|   108k|        p->mark = _mark;
 9277|   108k|        D(fprintf(stderr, "%*c%s signed_real_number[%d-%d]: %s failed!\n", p->level, ' ',
 9278|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "real_number"));
 9279|   108k|    }
 9280|      0|    { // '+' real_number
 9281|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (9281:13): [True: 1, False: 108k]
  ------------------
 9282|      1|            p->level--;
 9283|      1|            return NULL;
 9284|      1|        }
 9285|   108k|        D(fprintf(stderr, "%*c> signed_real_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+' real_number"));
 9286|   108k|        Token * _literal;
 9287|   108k|        expr_ty real;
 9288|   108k|        if (
 9289|   108k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (9289:13): [True: 99, False: 108k]
  ------------------
 9290|     99|            &&
 9291|     99|            (real = real_number_rule(p))  // real_number
  ------------------
  |  Branch (9291:13): [True: 78, False: 21]
  ------------------
 9292|   108k|        )
 9293|     78|        {
 9294|     78|            D(fprintf(stderr, "%*c+ signed_real_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+' real_number"));
 9295|     78|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9296|     78|            if (_token == NULL) {
  ------------------
  |  Branch (9296:17): [True: 0, False: 78]
  ------------------
 9297|      0|                p->level--;
 9298|      0|                return NULL;
 9299|      0|            }
 9300|     78|            int _end_lineno = _token->end_lineno;
 9301|     78|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     78|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 78]
  |  |  ------------------
  ------------------
 9302|     78|            int _end_col_offset = _token->end_col_offset;
 9303|     78|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     78|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 78]
  |  |  ------------------
  ------------------
 9304|     78|            _res = _PyAST_UnaryOp ( UAdd , real , EXTRA );
  ------------------
  |  |  316|     78|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9305|     78|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9305:18): [True: 0, False: 78]
  |  Branch (9305:34): [True: 0, False: 78]
  |  Branch (9305:57): [True: 0, False: 0]
  ------------------
 9306|      0|                p->error_indicator = 1;
 9307|      0|                p->level--;
 9308|      0|                return NULL;
 9309|      0|            }
 9310|     78|            goto done;
 9311|     78|        }
 9312|   108k|        p->mark = _mark;
 9313|   108k|        D(fprintf(stderr, "%*c%s signed_real_number[%d-%d]: %s failed!\n", p->level, ' ',
 9314|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+' real_number"));
 9315|   108k|    }
 9316|      0|    { // '-' real_number
 9317|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (9317:13): [True: 1, False: 108k]
  ------------------
 9318|      1|            p->level--;
 9319|      1|            return NULL;
 9320|      1|        }
 9321|   108k|        D(fprintf(stderr, "%*c> signed_real_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-' real_number"));
 9322|   108k|        Token * _literal;
 9323|   108k|        expr_ty real;
 9324|   108k|        if (
 9325|   108k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (9325:13): [True: 125, False: 108k]
  ------------------
 9326|    125|            &&
 9327|    125|            (real = real_number_rule(p))  // real_number
  ------------------
  |  Branch (9327:13): [True: 111, False: 14]
  ------------------
 9328|   108k|        )
 9329|    111|        {
 9330|    111|            D(fprintf(stderr, "%*c+ signed_real_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-' real_number"));
 9331|    111|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9332|    111|            if (_token == NULL) {
  ------------------
  |  Branch (9332:17): [True: 0, False: 111]
  ------------------
 9333|      0|                p->level--;
 9334|      0|                return NULL;
 9335|      0|            }
 9336|    111|            int _end_lineno = _token->end_lineno;
 9337|    111|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    111|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 111]
  |  |  ------------------
  ------------------
 9338|    111|            int _end_col_offset = _token->end_col_offset;
 9339|    111|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    111|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 111]
  |  |  ------------------
  ------------------
 9340|    111|            _res = _PyAST_UnaryOp ( USub , real , EXTRA );
  ------------------
  |  |  316|    111|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9341|    111|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9341:18): [True: 0, False: 111]
  |  Branch (9341:34): [True: 0, False: 111]
  |  Branch (9341:57): [True: 0, False: 0]
  ------------------
 9342|      0|                p->error_indicator = 1;
 9343|      0|                p->level--;
 9344|      0|                return NULL;
 9345|      0|            }
 9346|    111|            goto done;
 9347|    111|        }
 9348|   108k|        p->mark = _mark;
 9349|   108k|        D(fprintf(stderr, "%*c%s signed_real_number[%d-%d]: %s failed!\n", p->level, ' ',
 9350|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-' real_number"));
 9351|   108k|    }
 9352|   108k|    _res = NULL;
 9353|   114k|  done:
 9354|   114k|    p->level--;
 9355|   114k|    return _res;
 9356|   108k|}
parser.c:real_number_rule:
 9361|   114k|{
 9362|   114k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   228k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9362:9): [True: 0, False: 114k]
  |  Branch (9362:35): [True: 0, False: 114k]
  ------------------
 9363|      0|        _Pypegen_stack_overflow(p);
 9364|      0|    }
 9365|   114k|    if (p->error_indicator) {
  ------------------
  |  Branch (9365:9): [True: 0, False: 114k]
  ------------------
 9366|      0|        p->level--;
 9367|      0|        return NULL;
 9368|      0|    }
 9369|   114k|    expr_ty _res = NULL;
 9370|   114k|    int _mark = p->mark;
 9371|   114k|    { // NUMBER
 9372|   114k|        if (p->error_indicator) {
  ------------------
  |  Branch (9372:13): [True: 0, False: 114k]
  ------------------
 9373|      0|            p->level--;
 9374|      0|            return NULL;
 9375|      0|        }
 9376|   114k|        D(fprintf(stderr, "%*c> real_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NUMBER"));
 9377|   114k|        expr_ty real;
 9378|   114k|        if (
 9379|   114k|            (real = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (9379:13): [True: 5.51k, False: 108k]
  ------------------
 9380|   114k|        )
 9381|  5.51k|        {
 9382|  5.51k|            D(fprintf(stderr, "%*c+ real_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NUMBER"));
 9383|  5.51k|            _res = _PyPegen_ensure_real ( p , real );
 9384|  5.51k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9384:18): [True: 4, False: 5.50k]
  |  Branch (9384:34): [True: 0, False: 5.50k]
  |  Branch (9384:57): [True: 4, False: 0]
  ------------------
 9385|      4|                p->error_indicator = 1;
 9386|      4|                p->level--;
 9387|      4|                return NULL;
 9388|      4|            }
 9389|  5.50k|            goto done;
 9390|  5.51k|        }
 9391|   108k|        p->mark = _mark;
 9392|   108k|        D(fprintf(stderr, "%*c%s real_number[%d-%d]: %s failed!\n", p->level, ' ',
 9393|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NUMBER"));
 9394|   108k|    }
 9395|   108k|    _res = NULL;
 9396|   114k|  done:
 9397|   114k|    p->level--;
 9398|   114k|    return _res;
 9399|   108k|}
parser.c:imaginary_number_rule:
 9404|  3.79k|{
 9405|  3.79k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  7.58k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9405:9): [True: 0, False: 3.79k]
  |  Branch (9405:35): [True: 0, False: 3.79k]
  ------------------
 9406|      0|        _Pypegen_stack_overflow(p);
 9407|      0|    }
 9408|  3.79k|    if (p->error_indicator) {
  ------------------
  |  Branch (9408:9): [True: 0, False: 3.79k]
  ------------------
 9409|      0|        p->level--;
 9410|      0|        return NULL;
 9411|      0|    }
 9412|  3.79k|    expr_ty _res = NULL;
 9413|  3.79k|    int _mark = p->mark;
 9414|  3.79k|    { // NUMBER
 9415|  3.79k|        if (p->error_indicator) {
  ------------------
  |  Branch (9415:13): [True: 0, False: 3.79k]
  ------------------
 9416|      0|            p->level--;
 9417|      0|            return NULL;
 9418|      0|        }
 9419|  3.79k|        D(fprintf(stderr, "%*c> imaginary_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NUMBER"));
 9420|  3.79k|        expr_ty imag;
 9421|  3.79k|        if (
 9422|  3.79k|            (imag = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (9422:13): [True: 3.76k, False: 31]
  ------------------
 9423|  3.79k|        )
 9424|  3.76k|        {
 9425|  3.76k|            D(fprintf(stderr, "%*c+ imaginary_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NUMBER"));
 9426|  3.76k|            _res = _PyPegen_ensure_imaginary ( p , imag );
 9427|  3.76k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9427:18): [True: 1, False: 3.76k]
  |  Branch (9427:34): [True: 0, False: 3.76k]
  |  Branch (9427:57): [True: 1, False: 0]
  ------------------
 9428|      1|                p->error_indicator = 1;
 9429|      1|                p->level--;
 9430|      1|                return NULL;
 9431|      1|            }
 9432|  3.76k|            goto done;
 9433|  3.76k|        }
 9434|     31|        p->mark = _mark;
 9435|     31|        D(fprintf(stderr, "%*c%s imaginary_number[%d-%d]: %s failed!\n", p->level, ' ',
 9436|     31|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NUMBER"));
 9437|     31|    }
 9438|     31|    _res = NULL;
 9439|  3.79k|  done:
 9440|  3.79k|    p->level--;
 9441|  3.79k|    return _res;
 9442|     31|}
parser.c:capture_pattern_rule:
 9447|  48.6k|{
 9448|  48.6k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  97.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9448:9): [True: 0, False: 48.6k]
  |  Branch (9448:35): [True: 0, False: 48.6k]
  ------------------
 9449|      0|        _Pypegen_stack_overflow(p);
 9450|      0|    }
 9451|  48.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (9451:9): [True: 0, False: 48.6k]
  ------------------
 9452|      0|        p->level--;
 9453|      0|        return NULL;
 9454|      0|    }
 9455|  48.6k|    pattern_ty _res = NULL;
 9456|  48.6k|    int _mark = p->mark;
 9457|  48.6k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9457:9): [True: 0, False: 48.6k]
  |  Branch (9457:31): [True: 0, False: 0]
  ------------------
 9458|      0|        p->error_indicator = 1;
 9459|      0|        p->level--;
 9460|      0|        return NULL;
 9461|      0|    }
 9462|  48.6k|    int _start_lineno = p->tokens[_mark]->lineno;
 9463|  48.6k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  48.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 48.6k]
  |  |  ------------------
  ------------------
 9464|  48.6k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9465|  48.6k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  48.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 48.6k]
  |  |  ------------------
  ------------------
 9466|  48.6k|    { // pattern_capture_target
 9467|  48.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (9467:13): [True: 0, False: 48.6k]
  ------------------
 9468|      0|            p->level--;
 9469|      0|            return NULL;
 9470|      0|        }
 9471|  48.6k|        D(fprintf(stderr, "%*c> capture_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "pattern_capture_target"));
 9472|  48.6k|        expr_ty target;
 9473|  48.6k|        if (
 9474|  48.6k|            (target = pattern_capture_target_rule(p))  // pattern_capture_target
  ------------------
  |  Branch (9474:13): [True: 22.1k, False: 26.4k]
  ------------------
 9475|  48.6k|        )
 9476|  22.1k|        {
 9477|  22.1k|            D(fprintf(stderr, "%*c+ capture_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "pattern_capture_target"));
 9478|  22.1k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9479|  22.1k|            if (_token == NULL) {
  ------------------
  |  Branch (9479:17): [True: 0, False: 22.1k]
  ------------------
 9480|      0|                p->level--;
 9481|      0|                return NULL;
 9482|      0|            }
 9483|  22.1k|            int _end_lineno = _token->end_lineno;
 9484|  22.1k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  22.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 22.1k]
  |  |  ------------------
  ------------------
 9485|  22.1k|            int _end_col_offset = _token->end_col_offset;
 9486|  22.1k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  22.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 22.1k]
  |  |  ------------------
  ------------------
 9487|  22.1k|            _res = _PyAST_MatchAs ( NULL , target -> v . Name . id , EXTRA );
  ------------------
  |  |  316|  22.1k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9488|  22.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9488:18): [True: 0, False: 22.1k]
  |  Branch (9488:34): [True: 0, False: 22.1k]
  |  Branch (9488:57): [True: 0, False: 0]
  ------------------
 9489|      0|                p->error_indicator = 1;
 9490|      0|                p->level--;
 9491|      0|                return NULL;
 9492|      0|            }
 9493|  22.1k|            goto done;
 9494|  22.1k|        }
 9495|  26.4k|        p->mark = _mark;
 9496|  26.4k|        D(fprintf(stderr, "%*c%s capture_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 9497|  26.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "pattern_capture_target"));
 9498|  26.4k|    }
 9499|  26.4k|    _res = NULL;
 9500|  48.6k|  done:
 9501|  48.6k|    p->level--;
 9502|  48.6k|    return _res;
 9503|  26.4k|}
parser.c:value_pattern_rule:
 9616|  22.0k|{
 9617|  22.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  44.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9617:9): [True: 0, False: 22.0k]
  |  Branch (9617:35): [True: 0, False: 22.0k]
  ------------------
 9618|      0|        _Pypegen_stack_overflow(p);
 9619|      0|    }
 9620|  22.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (9620:9): [True: 0, False: 22.0k]
  ------------------
 9621|      0|        p->level--;
 9622|      0|        return NULL;
 9623|      0|    }
 9624|  22.0k|    pattern_ty _res = NULL;
 9625|  22.0k|    int _mark = p->mark;
 9626|  22.0k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9626:9): [True: 0, False: 22.0k]
  |  Branch (9626:31): [True: 0, False: 0]
  ------------------
 9627|      0|        p->error_indicator = 1;
 9628|      0|        p->level--;
 9629|      0|        return NULL;
 9630|      0|    }
 9631|  22.0k|    int _start_lineno = p->tokens[_mark]->lineno;
 9632|  22.0k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  22.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 22.0k]
  |  |  ------------------
  ------------------
 9633|  22.0k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9634|  22.0k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  22.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 22.0k]
  |  |  ------------------
  ------------------
 9635|  22.0k|    { // attr !('.' | '(' | '=')
 9636|  22.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (9636:13): [True: 0, False: 22.0k]
  ------------------
 9637|      0|            p->level--;
 9638|      0|            return NULL;
 9639|      0|        }
 9640|  22.0k|        D(fprintf(stderr, "%*c> value_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "attr !('.' | '(' | '=')"));
 9641|  22.0k|        expr_ty attr;
 9642|  22.0k|        if (
 9643|  22.0k|            (attr = attr_rule(p))  // attr
  ------------------
  |  Branch (9643:13): [True: 1.76k, False: 20.2k]
  ------------------
 9644|  1.76k|            &&
 9645|  1.76k|            _PyPegen_lookahead(0, _tmp_43_rule, p)
  ------------------
  |  Branch (9645:13): [True: 1.34k, False: 421]
  ------------------
 9646|  22.0k|        )
 9647|  1.34k|        {
 9648|  1.34k|            D(fprintf(stderr, "%*c+ value_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "attr !('.' | '(' | '=')"));
 9649|  1.34k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9650|  1.34k|            if (_token == NULL) {
  ------------------
  |  Branch (9650:17): [True: 0, False: 1.34k]
  ------------------
 9651|      0|                p->level--;
 9652|      0|                return NULL;
 9653|      0|            }
 9654|  1.34k|            int _end_lineno = _token->end_lineno;
 9655|  1.34k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.34k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.34k]
  |  |  ------------------
  ------------------
 9656|  1.34k|            int _end_col_offset = _token->end_col_offset;
 9657|  1.34k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.34k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.34k]
  |  |  ------------------
  ------------------
 9658|  1.34k|            _res = _PyAST_MatchValue ( attr , EXTRA );
  ------------------
  |  |  316|  1.34k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9659|  1.34k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9659:18): [True: 0, False: 1.34k]
  |  Branch (9659:34): [True: 0, False: 1.34k]
  |  Branch (9659:57): [True: 0, False: 0]
  ------------------
 9660|      0|                p->error_indicator = 1;
 9661|      0|                p->level--;
 9662|      0|                return NULL;
 9663|      0|            }
 9664|  1.34k|            goto done;
 9665|  1.34k|        }
 9666|  20.6k|        p->mark = _mark;
 9667|  20.6k|        D(fprintf(stderr, "%*c%s value_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 9668|  20.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "attr !('.' | '(' | '=')"));
 9669|  20.6k|    }
 9670|  20.6k|    _res = NULL;
 9671|  22.0k|  done:
 9672|  22.0k|    p->level--;
 9673|  22.0k|    return _res;
 9674|  20.6k|}
parser.c:group_pattern_rule:
 9842|  20.6k|{
 9843|  20.6k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  41.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9843:9): [True: 0, False: 20.6k]
  |  Branch (9843:35): [True: 0, False: 20.6k]
  ------------------
 9844|      0|        _Pypegen_stack_overflow(p);
 9845|      0|    }
 9846|  20.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (9846:9): [True: 0, False: 20.6k]
  ------------------
 9847|      0|        p->level--;
 9848|      0|        return NULL;
 9849|      0|    }
 9850|  20.6k|    pattern_ty _res = NULL;
 9851|  20.6k|    int _mark = p->mark;
 9852|  20.6k|    { // '(' pattern ')'
 9853|  20.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (9853:13): [True: 0, False: 20.6k]
  ------------------
 9854|      0|            p->level--;
 9855|      0|            return NULL;
 9856|      0|        }
 9857|  20.6k|        D(fprintf(stderr, "%*c> group_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' pattern ')'"));
 9858|  20.6k|        Token * _literal;
 9859|  20.6k|        Token * _literal_1;
 9860|  20.6k|        pattern_ty pattern;
 9861|  20.6k|        if (
 9862|  20.6k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (9862:13): [True: 3.46k, False: 17.1k]
  ------------------
 9863|  3.46k|            &&
 9864|  3.46k|            (pattern = pattern_rule(p))  // pattern
  ------------------
  |  Branch (9864:13): [True: 1.22k, False: 2.24k]
  ------------------
 9865|  1.22k|            &&
 9866|  1.22k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (9866:13): [True: 73, False: 1.14k]
  ------------------
 9867|  20.6k|        )
 9868|     73|        {
 9869|     73|            D(fprintf(stderr, "%*c+ group_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' pattern ')'"));
 9870|     73|            _res = pattern;
 9871|     73|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9871:18): [True: 0, False: 73]
  |  Branch (9871:34): [True: 0, False: 73]
  |  Branch (9871:57): [True: 0, False: 0]
  ------------------
 9872|      0|                p->error_indicator = 1;
 9873|      0|                p->level--;
 9874|      0|                return NULL;
 9875|      0|            }
 9876|     73|            goto done;
 9877|     73|        }
 9878|  20.5k|        p->mark = _mark;
 9879|  20.5k|        D(fprintf(stderr, "%*c%s group_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 9880|  20.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' pattern ')'"));
 9881|  20.5k|    }
 9882|  20.5k|    _res = NULL;
 9883|  20.6k|  done:
 9884|  20.6k|    p->level--;
 9885|  20.6k|    return _res;
 9886|  20.5k|}
parser.c:sequence_pattern_rule:
 9891|  20.0k|{
 9892|  20.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  40.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9892:9): [True: 0, False: 20.0k]
  |  Branch (9892:35): [True: 0, False: 20.0k]
  ------------------
 9893|      0|        _Pypegen_stack_overflow(p);
 9894|      0|    }
 9895|  20.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (9895:9): [True: 0, False: 20.0k]
  ------------------
 9896|      0|        p->level--;
 9897|      0|        return NULL;
 9898|      0|    }
 9899|  20.0k|    pattern_ty _res = NULL;
 9900|  20.0k|    int _mark = p->mark;
 9901|  20.0k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9901:9): [True: 0, False: 20.0k]
  |  Branch (9901:31): [True: 0, False: 0]
  ------------------
 9902|      0|        p->error_indicator = 1;
 9903|      0|        p->level--;
 9904|      0|        return NULL;
 9905|      0|    }
 9906|  20.0k|    int _start_lineno = p->tokens[_mark]->lineno;
 9907|  20.0k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  20.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 20.0k]
  |  |  ------------------
  ------------------
 9908|  20.0k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9909|  20.0k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  20.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 20.0k]
  |  |  ------------------
  ------------------
 9910|  20.0k|    { // '[' maybe_sequence_pattern? ']'
 9911|  20.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (9911:13): [True: 0, False: 20.0k]
  ------------------
 9912|      0|            p->level--;
 9913|      0|            return NULL;
 9914|      0|        }
 9915|  20.0k|        D(fprintf(stderr, "%*c> sequence_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' maybe_sequence_pattern? ']'"));
 9916|  20.0k|        Token * _literal;
 9917|  20.0k|        Token * _literal_1;
 9918|  20.0k|        void *patterns;
 9919|  20.0k|        if (
 9920|  20.0k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (9920:13): [True: 1.65k, False: 18.3k]
  ------------------
 9921|  1.65k|            &&
 9922|  1.65k|            (patterns = maybe_sequence_pattern_rule(p), !p->error_indicator)  // maybe_sequence_pattern?
  ------------------
  |  Branch (9922:13): [True: 1.46k, False: 187]
  ------------------
 9923|  1.46k|            &&
 9924|  1.46k|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (9924:13): [True: 547, False: 917]
  ------------------
 9925|  20.0k|        )
 9926|    547|        {
 9927|    547|            D(fprintf(stderr, "%*c+ sequence_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' maybe_sequence_pattern? ']'"));
 9928|    547|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9929|    547|            if (_token == NULL) {
  ------------------
  |  Branch (9929:17): [True: 0, False: 547]
  ------------------
 9930|      0|                p->level--;
 9931|      0|                return NULL;
 9932|      0|            }
 9933|    547|            int _end_lineno = _token->end_lineno;
 9934|    547|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    547|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 547]
  |  |  ------------------
  ------------------
 9935|    547|            int _end_col_offset = _token->end_col_offset;
 9936|    547|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    547|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 547]
  |  |  ------------------
  ------------------
 9937|    547|            _res = _PyAST_MatchSequence ( patterns , EXTRA );
  ------------------
  |  |  316|    547|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9938|    547|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9938:18): [True: 0, False: 547]
  |  Branch (9938:34): [True: 0, False: 547]
  |  Branch (9938:57): [True: 0, False: 0]
  ------------------
 9939|      0|                p->error_indicator = 1;
 9940|      0|                p->level--;
 9941|      0|                return NULL;
 9942|      0|            }
 9943|    547|            goto done;
 9944|    547|        }
 9945|  19.4k|        p->mark = _mark;
 9946|  19.4k|        D(fprintf(stderr, "%*c%s sequence_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 9947|  19.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' maybe_sequence_pattern? ']'"));
 9948|  19.4k|    }
 9949|      0|    { // '(' open_sequence_pattern? ')'
 9950|  19.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (9950:13): [True: 187, False: 19.2k]
  ------------------
 9951|    187|            p->level--;
 9952|    187|            return NULL;
 9953|    187|        }
 9954|  19.2k|        D(fprintf(stderr, "%*c> sequence_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' open_sequence_pattern? ')'"));
 9955|  19.2k|        Token * _literal;
 9956|  19.2k|        Token * _literal_1;
 9957|  19.2k|        void *patterns;
 9958|  19.2k|        if (
 9959|  19.2k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (9959:13): [True: 2.83k, False: 16.4k]
  ------------------
 9960|  2.83k|            &&
 9961|  2.83k|            (patterns = open_sequence_pattern_rule(p), !p->error_indicator)  // open_sequence_pattern?
  ------------------
  |  Branch (9961:13): [True: 2.47k, False: 363]
  ------------------
 9962|  2.47k|            &&
 9963|  2.47k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (9963:13): [True: 766, False: 1.70k]
  ------------------
 9964|  19.2k|        )
 9965|    766|        {
 9966|    766|            D(fprintf(stderr, "%*c+ sequence_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' open_sequence_pattern? ')'"));
 9967|    766|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9968|    766|            if (_token == NULL) {
  ------------------
  |  Branch (9968:17): [True: 0, False: 766]
  ------------------
 9969|      0|                p->level--;
 9970|      0|                return NULL;
 9971|      0|            }
 9972|    766|            int _end_lineno = _token->end_lineno;
 9973|    766|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    766|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 766]
  |  |  ------------------
  ------------------
 9974|    766|            int _end_col_offset = _token->end_col_offset;
 9975|    766|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    766|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 766]
  |  |  ------------------
  ------------------
 9976|    766|            _res = _PyAST_MatchSequence ( patterns , EXTRA );
  ------------------
  |  |  316|    766|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9977|    766|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9977:18): [True: 0, False: 766]
  |  Branch (9977:34): [True: 0, False: 766]
  |  Branch (9977:57): [True: 0, False: 0]
  ------------------
 9978|      0|                p->error_indicator = 1;
 9979|      0|                p->level--;
 9980|      0|                return NULL;
 9981|      0|            }
 9982|    766|            goto done;
 9983|    766|        }
 9984|  18.5k|        p->mark = _mark;
 9985|  18.5k|        D(fprintf(stderr, "%*c%s sequence_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 9986|  18.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' open_sequence_pattern? ')'"));
 9987|  18.5k|    }
 9988|  18.5k|    _res = NULL;
 9989|  19.8k|  done:
 9990|  19.8k|    p->level--;
 9991|  19.8k|    return _res;
 9992|  18.5k|}
parser.c:mapping_pattern_rule:
10260|  18.1k|{
10261|  18.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  36.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10261:9): [True: 0, False: 18.1k]
  |  Branch (10261:35): [True: 0, False: 18.1k]
  ------------------
10262|      0|        _Pypegen_stack_overflow(p);
10263|      0|    }
10264|  18.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (10264:9): [True: 0, False: 18.1k]
  ------------------
10265|      0|        p->level--;
10266|      0|        return NULL;
10267|      0|    }
10268|  18.1k|    pattern_ty _res = NULL;
10269|  18.1k|    int _mark = p->mark;
10270|  18.1k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (10270:9): [True: 0, False: 18.1k]
  |  Branch (10270:31): [True: 0, False: 0]
  ------------------
10271|      0|        p->error_indicator = 1;
10272|      0|        p->level--;
10273|      0|        return NULL;
10274|      0|    }
10275|  18.1k|    int _start_lineno = p->tokens[_mark]->lineno;
10276|  18.1k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  18.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 18.1k]
  |  |  ------------------
  ------------------
10277|  18.1k|    int _start_col_offset = p->tokens[_mark]->col_offset;
10278|  18.1k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  18.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 18.1k]
  |  |  ------------------
  ------------------
10279|  18.1k|    { // '{' '}'
10280|  18.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (10280:13): [True: 0, False: 18.1k]
  ------------------
10281|      0|            p->level--;
10282|      0|            return NULL;
10283|      0|        }
10284|  18.1k|        D(fprintf(stderr, "%*c> mapping_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '}'"));
10285|  18.1k|        Token * _literal;
10286|  18.1k|        Token * _literal_1;
10287|  18.1k|        if (
10288|  18.1k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (10288:13): [True: 3.81k, False: 14.3k]
  ------------------
10289|  3.81k|            &&
10290|  3.81k|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (10290:13): [True: 431, False: 3.38k]
  ------------------
10291|  18.1k|        )
10292|    431|        {
10293|    431|            D(fprintf(stderr, "%*c+ mapping_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '}'"));
10294|    431|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10295|    431|            if (_token == NULL) {
  ------------------
  |  Branch (10295:17): [True: 0, False: 431]
  ------------------
10296|      0|                p->level--;
10297|      0|                return NULL;
10298|      0|            }
10299|    431|            int _end_lineno = _token->end_lineno;
10300|    431|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    431|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 431]
  |  |  ------------------
  ------------------
10301|    431|            int _end_col_offset = _token->end_col_offset;
10302|    431|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    431|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 431]
  |  |  ------------------
  ------------------
10303|    431|            _res = _PyAST_MatchMapping ( NULL , NULL , NULL , EXTRA );
  ------------------
  |  |  316|    431|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10304|    431|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10304:18): [True: 0, False: 431]
  |  Branch (10304:34): [True: 0, False: 431]
  |  Branch (10304:57): [True: 0, False: 0]
  ------------------
10305|      0|                p->error_indicator = 1;
10306|      0|                p->level--;
10307|      0|                return NULL;
10308|      0|            }
10309|    431|            goto done;
10310|    431|        }
10311|  17.7k|        p->mark = _mark;
10312|  17.7k|        D(fprintf(stderr, "%*c%s mapping_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10313|  17.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '}'"));
10314|  17.7k|    }
10315|      0|    { // '{' double_star_pattern ','? '}'
10316|  17.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (10316:13): [True: 3, False: 17.7k]
  ------------------
10317|      3|            p->level--;
10318|      3|            return NULL;
10319|      3|        }
10320|  17.7k|        D(fprintf(stderr, "%*c> mapping_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' double_star_pattern ','? '}'"));
10321|  17.7k|        Token * _literal;
10322|  17.7k|        Token * _literal_1;
10323|  17.7k|        void *_opt_var;
10324|  17.7k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  17.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 17.7k]
  |  |  ------------------
  ------------------
10325|  17.7k|        expr_ty rest;
10326|  17.7k|        if (
10327|  17.7k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (10327:13): [True: 3.38k, False: 14.3k]
  ------------------
10328|  3.38k|            &&
10329|  3.38k|            (rest = double_star_pattern_rule(p))  // double_star_pattern
  ------------------
  |  |  451|  3.38k|#define double_star_pattern_rule _PyPegen_double_star_pattern_rule
  ------------------
  |  Branch (10329:13): [True: 16, False: 3.36k]
  ------------------
10330|     16|            &&
10331|     16|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (10331:13): [True: 16, False: 0]
  ------------------
10332|     16|            &&
10333|     16|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (10333:13): [True: 9, False: 7]
  ------------------
10334|  17.7k|        )
10335|      9|        {
10336|      9|            D(fprintf(stderr, "%*c+ mapping_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' double_star_pattern ','? '}'"));
10337|      9|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10338|      9|            if (_token == NULL) {
  ------------------
  |  Branch (10338:17): [True: 0, False: 9]
  ------------------
10339|      0|                p->level--;
10340|      0|                return NULL;
10341|      0|            }
10342|      9|            int _end_lineno = _token->end_lineno;
10343|      9|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      9|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 9]
  |  |  ------------------
  ------------------
10344|      9|            int _end_col_offset = _token->end_col_offset;
10345|      9|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      9|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 9]
  |  |  ------------------
  ------------------
10346|      9|            _res = _PyAST_MatchMapping ( NULL , NULL , rest -> v . Name . id , EXTRA );
  ------------------
  |  |  316|      9|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10347|      9|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10347:18): [True: 0, False: 9]
  |  Branch (10347:34): [True: 0, False: 9]
  |  Branch (10347:57): [True: 0, False: 0]
  ------------------
10348|      0|                p->error_indicator = 1;
10349|      0|                p->level--;
10350|      0|                return NULL;
10351|      0|            }
10352|      9|            goto done;
10353|      9|        }
10354|  17.7k|        p->mark = _mark;
10355|  17.7k|        D(fprintf(stderr, "%*c%s mapping_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10356|  17.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' double_star_pattern ','? '}'"));
10357|  17.7k|    }
10358|      0|    { // '{' items_pattern ',' double_star_pattern ','? '}'
10359|  17.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (10359:13): [True: 1, False: 17.7k]
  ------------------
10360|      1|            p->level--;
10361|      1|            return NULL;
10362|      1|        }
10363|  17.7k|        D(fprintf(stderr, "%*c> mapping_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' items_pattern ',' double_star_pattern ','? '}'"));
10364|  17.7k|        Token * _literal;
10365|  17.7k|        Token * _literal_1;
10366|  17.7k|        Token * _literal_2;
10367|  17.7k|        void *_opt_var;
10368|  17.7k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  17.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 17.7k]
  |  |  ------------------
  ------------------
10369|  17.7k|        asdl_seq* items;
10370|  17.7k|        expr_ty rest;
10371|  17.7k|        if (
10372|  17.7k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (10372:13): [True: 3.37k, False: 14.3k]
  ------------------
10373|  3.37k|            &&
10374|  3.37k|            (items = items_pattern_rule(p))  // items_pattern
  ------------------
  |  |  449|  3.37k|#define items_pattern_rule _PyPegen_items_pattern_rule
  ------------------
  |  Branch (10374:13): [True: 2.50k, False: 872]
  ------------------
10375|  2.50k|            &&
10376|  2.50k|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (10376:13): [True: 1.67k, False: 825]
  ------------------
10377|  1.67k|            &&
10378|  1.67k|            (rest = double_star_pattern_rule(p))  // double_star_pattern
  ------------------
  |  |  451|  1.67k|#define double_star_pattern_rule _PyPegen_double_star_pattern_rule
  ------------------
  |  Branch (10378:13): [True: 882, False: 794]
  ------------------
10379|    882|            &&
10380|    882|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (10380:13): [True: 882, False: 0]
  ------------------
10381|    882|            &&
10382|    882|            (_literal_2 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (10382:13): [True: 6, False: 876]
  ------------------
10383|  17.7k|        )
10384|      6|        {
10385|      6|            D(fprintf(stderr, "%*c+ mapping_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' items_pattern ',' double_star_pattern ','? '}'"));
10386|      6|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10387|      6|            if (_token == NULL) {
  ------------------
  |  Branch (10387:17): [True: 0, False: 6]
  ------------------
10388|      0|                p->level--;
10389|      0|                return NULL;
10390|      0|            }
10391|      6|            int _end_lineno = _token->end_lineno;
10392|      6|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
10393|      6|            int _end_col_offset = _token->end_col_offset;
10394|      6|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
10395|      6|            _res = _PyAST_MatchMapping ( CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , items ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , items ) ) , rest -> v . Name . id , EXTRA );
  ------------------
  |  |  280|      6|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_MatchMapping ( CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , items ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , items ) ) , rest -> v . Name . id , EXTRA );
  ------------------
  |  |  280|      6|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_MatchMapping ( CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , items ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , items ) ) , rest -> v . Name . id , EXTRA );
  ------------------
  |  |  316|      6|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10396|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10396:18): [True: 0, False: 6]
  |  Branch (10396:34): [True: 0, False: 6]
  |  Branch (10396:57): [True: 0, False: 0]
  ------------------
10397|      0|                p->error_indicator = 1;
10398|      0|                p->level--;
10399|      0|                return NULL;
10400|      0|            }
10401|      6|            goto done;
10402|      6|        }
10403|  17.7k|        p->mark = _mark;
10404|  17.7k|        D(fprintf(stderr, "%*c%s mapping_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10405|  17.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' items_pattern ',' double_star_pattern ','? '}'"));
10406|  17.7k|    }
10407|      0|    { // '{' items_pattern ','? '}'
10408|  17.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (10408:13): [True: 332, False: 17.3k]
  ------------------
10409|    332|            p->level--;
10410|    332|            return NULL;
10411|    332|        }
10412|  17.3k|        D(fprintf(stderr, "%*c> mapping_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' items_pattern ','? '}'"));
10413|  17.3k|        Token * _literal;
10414|  17.3k|        Token * _literal_1;
10415|  17.3k|        void *_opt_var;
10416|  17.3k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  17.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 17.3k]
  |  |  ------------------
  ------------------
10417|  17.3k|        asdl_seq* items;
10418|  17.3k|        if (
10419|  17.3k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (10419:13): [True: 3.03k, False: 14.3k]
  ------------------
10420|  3.03k|            &&
10421|  3.03k|            (items = items_pattern_rule(p))  // items_pattern
  ------------------
  |  |  449|  3.03k|#define items_pattern_rule _PyPegen_items_pattern_rule
  ------------------
  |  Branch (10421:13): [True: 2.46k, False: 567]
  ------------------
10422|  2.46k|            &&
10423|  2.46k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (10423:13): [True: 2.46k, False: 0]
  ------------------
10424|  2.46k|            &&
10425|  2.46k|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (10425:13): [True: 577, False: 1.89k]
  ------------------
10426|  17.3k|        )
10427|    577|        {
10428|    577|            D(fprintf(stderr, "%*c+ mapping_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' items_pattern ','? '}'"));
10429|    577|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10430|    577|            if (_token == NULL) {
  ------------------
  |  Branch (10430:17): [True: 0, False: 577]
  ------------------
10431|      0|                p->level--;
10432|      0|                return NULL;
10433|      0|            }
10434|    577|            int _end_lineno = _token->end_lineno;
10435|    577|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    577|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 577]
  |  |  ------------------
  ------------------
10436|    577|            int _end_col_offset = _token->end_col_offset;
10437|    577|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    577|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 577]
  |  |  ------------------
  ------------------
10438|    577|            _res = _PyAST_MatchMapping ( CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , items ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , items ) ) , NULL , EXTRA );
  ------------------
  |  |  280|    577|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_MatchMapping ( CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , items ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , items ) ) , NULL , EXTRA );
  ------------------
  |  |  280|    577|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_MatchMapping ( CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , items ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , items ) ) , NULL , EXTRA );
  ------------------
  |  |  316|    577|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10439|    577|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10439:18): [True: 0, False: 577]
  |  Branch (10439:34): [True: 0, False: 577]
  |  Branch (10439:57): [True: 0, False: 0]
  ------------------
10440|      0|                p->error_indicator = 1;
10441|      0|                p->level--;
10442|      0|                return NULL;
10443|      0|            }
10444|    577|            goto done;
10445|    577|        }
10446|  16.8k|        p->mark = _mark;
10447|  16.8k|        D(fprintf(stderr, "%*c%s mapping_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10448|  16.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' items_pattern ','? '}'"));
10449|  16.8k|    }
10450|  16.8k|    if (p->call_invalid_rules) { // invalid_mapping_pattern
  ------------------
  |  Branch (10450:9): [True: 10.5k, False: 6.28k]
  ------------------
10451|  10.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (10451:13): [True: 0, False: 10.5k]
  ------------------
10452|      0|            p->level--;
10453|      0|            return NULL;
10454|      0|        }
10455|  10.5k|        D(fprintf(stderr, "%*c> mapping_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_mapping_pattern"));
10456|  10.5k|        void *invalid_mapping_pattern_var;
10457|  10.5k|        if (
10458|  10.5k|            (invalid_mapping_pattern_var = invalid_mapping_pattern_rule(p))  // invalid_mapping_pattern
  ------------------
  |  |  621|  10.5k|#define invalid_mapping_pattern_rule _PyPegen_invalid_mapping_pattern_rule
  ------------------
  |  Branch (10458:13): [True: 0, False: 10.5k]
  ------------------
10459|  10.5k|        )
10460|      0|        {
10461|      0|            D(fprintf(stderr, "%*c+ mapping_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_mapping_pattern"));
10462|      0|            _res = invalid_mapping_pattern_var;
10463|      0|            goto done;
10464|      0|        }
10465|  10.5k|        p->mark = _mark;
10466|  10.5k|        D(fprintf(stderr, "%*c%s mapping_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10467|  10.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_mapping_pattern"));
10468|  10.5k|    }
10469|  16.8k|    _res = NULL;
10470|  17.8k|  done:
10471|  17.8k|    p->level--;
10472|  17.8k|    return _res;
10473|  16.8k|}
parser.c:class_pattern_rule:
10616|  16.5k|{
10617|  16.5k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  33.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10617:9): [True: 0, False: 16.5k]
  |  Branch (10617:35): [True: 0, False: 16.5k]
  ------------------
10618|      0|        _Pypegen_stack_overflow(p);
10619|      0|    }
10620|  16.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (10620:9): [True: 0, False: 16.5k]
  ------------------
10621|      0|        p->level--;
10622|      0|        return NULL;
10623|      0|    }
10624|  16.5k|    pattern_ty _res = NULL;
10625|  16.5k|    int _mark = p->mark;
10626|  16.5k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (10626:9): [True: 0, False: 16.5k]
  |  Branch (10626:31): [True: 0, False: 0]
  ------------------
10627|      0|        p->error_indicator = 1;
10628|      0|        p->level--;
10629|      0|        return NULL;
10630|      0|    }
10631|  16.5k|    int _start_lineno = p->tokens[_mark]->lineno;
10632|  16.5k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  16.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 16.5k]
  |  |  ------------------
  ------------------
10633|  16.5k|    int _start_col_offset = p->tokens[_mark]->col_offset;
10634|  16.5k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  16.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 16.5k]
  |  |  ------------------
  ------------------
10635|  16.5k|    { // name_or_attr '(' ')'
10636|  16.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (10636:13): [True: 0, False: 16.5k]
  ------------------
10637|      0|            p->level--;
10638|      0|            return NULL;
10639|      0|        }
10640|  16.5k|        D(fprintf(stderr, "%*c> class_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' ')'"));
10641|  16.5k|        Token * _literal;
10642|  16.5k|        Token * _literal_1;
10643|  16.5k|        expr_ty cls;
10644|  16.5k|        if (
10645|  16.5k|            (cls = name_or_attr_rule(p))  // name_or_attr
  ------------------
  |  |  447|  16.5k|#define name_or_attr_rule _PyPegen_name_or_attr_rule
  ------------------
  |  Branch (10645:13): [True: 10.0k, False: 6.44k]
  ------------------
10646|  10.0k|            &&
10647|  10.0k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (10647:13): [True: 7.69k, False: 2.37k]
  ------------------
10648|  7.69k|            &&
10649|  7.69k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (10649:13): [True: 971, False: 6.72k]
  ------------------
10650|  16.5k|        )
10651|    971|        {
10652|    971|            D(fprintf(stderr, "%*c+ class_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' ')'"));
10653|    971|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10654|    971|            if (_token == NULL) {
  ------------------
  |  Branch (10654:17): [True: 0, False: 971]
  ------------------
10655|      0|                p->level--;
10656|      0|                return NULL;
10657|      0|            }
10658|    971|            int _end_lineno = _token->end_lineno;
10659|    971|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    971|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 971]
  |  |  ------------------
  ------------------
10660|    971|            int _end_col_offset = _token->end_col_offset;
10661|    971|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    971|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 971]
  |  |  ------------------
  ------------------
10662|    971|            _res = _PyAST_MatchClass ( cls , NULL , NULL , NULL , EXTRA );
  ------------------
  |  |  316|    971|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10663|    971|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10663:18): [True: 0, False: 971]
  |  Branch (10663:34): [True: 0, False: 971]
  |  Branch (10663:57): [True: 0, False: 0]
  ------------------
10664|      0|                p->error_indicator = 1;
10665|      0|                p->level--;
10666|      0|                return NULL;
10667|      0|            }
10668|    971|            goto done;
10669|    971|        }
10670|  15.5k|        p->mark = _mark;
10671|  15.5k|        D(fprintf(stderr, "%*c%s class_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10672|  15.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "name_or_attr '(' ')'"));
10673|  15.5k|    }
10674|      0|    { // name_or_attr '(' positional_patterns ','? ')'
10675|  15.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (10675:13): [True: 7, False: 15.5k]
  ------------------
10676|      7|            p->level--;
10677|      7|            return NULL;
10678|      7|        }
10679|  15.5k|        D(fprintf(stderr, "%*c> class_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' positional_patterns ','? ')'"));
10680|  15.5k|        Token * _literal;
10681|  15.5k|        Token * _literal_1;
10682|  15.5k|        void *_opt_var;
10683|  15.5k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  15.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 15.5k]
  |  |  ------------------
  ------------------
10684|  15.5k|        expr_ty cls;
10685|  15.5k|        asdl_pattern_seq* patterns;
10686|  15.5k|        if (
10687|  15.5k|            (cls = name_or_attr_rule(p))  // name_or_attr
  ------------------
  |  |  447|  15.5k|#define name_or_attr_rule _PyPegen_name_or_attr_rule
  ------------------
  |  Branch (10687:13): [True: 9.08k, False: 6.44k]
  ------------------
10688|  9.08k|            &&
10689|  9.08k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (10689:13): [True: 6.71k, False: 2.37k]
  ------------------
10690|  6.71k|            &&
10691|  6.71k|            (patterns = positional_patterns_rule(p))  // positional_patterns
  ------------------
  |  |  453|  6.71k|#define positional_patterns_rule _PyPegen_positional_patterns_rule
  ------------------
  |  Branch (10691:13): [True: 4.05k, False: 2.66k]
  ------------------
10692|  4.05k|            &&
10693|  4.05k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (10693:13): [True: 4.01k, False: 43]
  ------------------
10694|  4.01k|            &&
10695|  4.01k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (10695:13): [True: 1.65k, False: 2.35k]
  ------------------
10696|  15.5k|        )
10697|  1.65k|        {
10698|  1.65k|            D(fprintf(stderr, "%*c+ class_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' positional_patterns ','? ')'"));
10699|  1.65k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10700|  1.65k|            if (_token == NULL) {
  ------------------
  |  Branch (10700:17): [True: 0, False: 1.65k]
  ------------------
10701|      0|                p->level--;
10702|      0|                return NULL;
10703|      0|            }
10704|  1.65k|            int _end_lineno = _token->end_lineno;
10705|  1.65k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.65k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.65k]
  |  |  ------------------
  ------------------
10706|  1.65k|            int _end_col_offset = _token->end_col_offset;
10707|  1.65k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.65k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.65k]
  |  |  ------------------
  ------------------
10708|  1.65k|            _res = _PyAST_MatchClass ( cls , patterns , NULL , NULL , EXTRA );
  ------------------
  |  |  316|  1.65k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10709|  1.65k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10709:18): [True: 0, False: 1.65k]
  |  Branch (10709:34): [True: 0, False: 1.65k]
  |  Branch (10709:57): [True: 0, False: 0]
  ------------------
10710|      0|                p->error_indicator = 1;
10711|      0|                p->level--;
10712|      0|                return NULL;
10713|      0|            }
10714|  1.65k|            goto done;
10715|  1.65k|        }
10716|  13.8k|        p->mark = _mark;
10717|  13.8k|        D(fprintf(stderr, "%*c%s class_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10718|  13.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "name_or_attr '(' positional_patterns ','? ')'"));
10719|  13.8k|    }
10720|      0|    { // name_or_attr '(' keyword_patterns ','? ')'
10721|  13.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (10721:13): [True: 759, False: 13.1k]
  ------------------
10722|    759|            p->level--;
10723|    759|            return NULL;
10724|    759|        }
10725|  13.1k|        D(fprintf(stderr, "%*c> class_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' keyword_patterns ','? ')'"));
10726|  13.1k|        Token * _literal;
10727|  13.1k|        Token * _literal_1;
10728|  13.1k|        void *_opt_var;
10729|  13.1k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  13.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 13.1k]
  |  |  ------------------
  ------------------
10730|  13.1k|        expr_ty cls;
10731|  13.1k|        asdl_seq* keywords;
10732|  13.1k|        if (
10733|  13.1k|            (cls = name_or_attr_rule(p))  // name_or_attr
  ------------------
  |  |  447|  13.1k|#define name_or_attr_rule _PyPegen_name_or_attr_rule
  ------------------
  |  Branch (10733:13): [True: 6.67k, False: 6.44k]
  ------------------
10734|  6.67k|            &&
10735|  6.67k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (10735:13): [True: 4.30k, False: 2.37k]
  ------------------
10736|  4.30k|            &&
10737|  4.30k|            (keywords = keyword_patterns_rule(p))  // keyword_patterns
  ------------------
  |  |  455|  4.30k|#define keyword_patterns_rule _PyPegen_keyword_patterns_rule
  ------------------
  |  Branch (10737:13): [True: 438, False: 3.86k]
  ------------------
10738|    438|            &&
10739|    438|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (10739:13): [True: 385, False: 53]
  ------------------
10740|    385|            &&
10741|    385|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (10741:13): [True: 210, False: 175]
  ------------------
10742|  13.1k|        )
10743|    210|        {
10744|    210|            D(fprintf(stderr, "%*c+ class_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' keyword_patterns ','? ')'"));
10745|    210|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10746|    210|            if (_token == NULL) {
  ------------------
  |  Branch (10746:17): [True: 0, False: 210]
  ------------------
10747|      0|                p->level--;
10748|      0|                return NULL;
10749|      0|            }
10750|    210|            int _end_lineno = _token->end_lineno;
10751|    210|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    210|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 210]
  |  |  ------------------
  ------------------
10752|    210|            int _end_col_offset = _token->end_col_offset;
10753|    210|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    210|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 210]
  |  |  ------------------
  ------------------
10754|    210|            _res = _PyAST_MatchClass ( cls , NULL , CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , keywords ) ) ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , keywords ) ) , EXTRA );
  ------------------
  |  |  280|    210|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_MatchClass ( cls , NULL , CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , keywords ) ) ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , keywords ) ) , EXTRA );
  ------------------
  |  |  280|    210|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_MatchClass ( cls , NULL , CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , keywords ) ) ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , keywords ) ) , EXTRA );
  ------------------
  |  |  316|    210|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10755|    210|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10755:18): [True: 0, False: 210]
  |  Branch (10755:34): [True: 0, False: 210]
  |  Branch (10755:57): [True: 0, False: 0]
  ------------------
10756|      0|                p->error_indicator = 1;
10757|      0|                p->level--;
10758|      0|                return NULL;
10759|      0|            }
10760|    210|            goto done;
10761|    210|        }
10762|  12.9k|        p->mark = _mark;
10763|  12.9k|        D(fprintf(stderr, "%*c%s class_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10764|  12.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "name_or_attr '(' keyword_patterns ','? ')'"));
10765|  12.9k|    }
10766|      0|    { // name_or_attr '(' positional_patterns ',' keyword_patterns ','? ')'
10767|  12.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (10767:13): [True: 273, False: 12.6k]
  ------------------
10768|    273|            p->level--;
10769|    273|            return NULL;
10770|    273|        }
10771|  12.6k|        D(fprintf(stderr, "%*c> class_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' positional_patterns ',' keyword_patterns ','? ')'"));
10772|  12.6k|        Token * _literal;
10773|  12.6k|        Token * _literal_1;
10774|  12.6k|        Token * _literal_2;
10775|  12.6k|        void *_opt_var;
10776|  12.6k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  12.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 12.6k]
  |  |  ------------------
  ------------------
10777|  12.6k|        expr_ty cls;
10778|  12.6k|        asdl_seq* keywords;
10779|  12.6k|        asdl_pattern_seq* patterns;
10780|  12.6k|        if (
10781|  12.6k|            (cls = name_or_attr_rule(p))  // name_or_attr
  ------------------
  |  |  447|  12.6k|#define name_or_attr_rule _PyPegen_name_or_attr_rule
  ------------------
  |  Branch (10781:13): [True: 6.18k, False: 6.44k]
  ------------------
10782|  6.18k|            &&
10783|  6.18k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (10783:13): [True: 3.81k, False: 2.37k]
  ------------------
10784|  3.81k|            &&
10785|  3.81k|            (patterns = positional_patterns_rule(p))  // positional_patterns
  ------------------
  |  |  453|  3.81k|#define positional_patterns_rule _PyPegen_positional_patterns_rule
  ------------------
  |  Branch (10785:13): [True: 2.35k, False: 1.46k]
  ------------------
10786|  2.35k|            &&
10787|  2.35k|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (10787:13): [True: 1.98k, False: 367]
  ------------------
10788|  1.98k|            &&
10789|  1.98k|            (keywords = keyword_patterns_rule(p))  // keyword_patterns
  ------------------
  |  |  455|  1.98k|#define keyword_patterns_rule _PyPegen_keyword_patterns_rule
  ------------------
  |  Branch (10789:13): [True: 1.04k, False: 940]
  ------------------
10790|  1.04k|            &&
10791|  1.04k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (10791:13): [True: 843, False: 203]
  ------------------
10792|    843|            &&
10793|    843|            (_literal_2 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (10793:13): [True: 193, False: 650]
  ------------------
10794|  12.6k|        )
10795|    193|        {
10796|    193|            D(fprintf(stderr, "%*c+ class_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' positional_patterns ',' keyword_patterns ','? ')'"));
10797|    193|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10798|    193|            if (_token == NULL) {
  ------------------
  |  Branch (10798:17): [True: 0, False: 193]
  ------------------
10799|      0|                p->level--;
10800|      0|                return NULL;
10801|      0|            }
10802|    193|            int _end_lineno = _token->end_lineno;
10803|    193|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    193|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 193]
  |  |  ------------------
  ------------------
10804|    193|            int _end_col_offset = _token->end_col_offset;
10805|    193|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    193|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 193]
  |  |  ------------------
  ------------------
10806|    193|            _res = _PyAST_MatchClass ( cls , patterns , CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , keywords ) ) ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , keywords ) ) , EXTRA );
  ------------------
  |  |  280|    193|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_MatchClass ( cls , patterns , CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , keywords ) ) ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , keywords ) ) , EXTRA );
  ------------------
  |  |  280|    193|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_MatchClass ( cls , patterns , CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , keywords ) ) ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , keywords ) ) , EXTRA );
  ------------------
  |  |  316|    193|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10807|    193|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10807:18): [True: 0, False: 193]
  |  Branch (10807:34): [True: 0, False: 193]
  |  Branch (10807:57): [True: 0, False: 0]
  ------------------
10808|      0|                p->error_indicator = 1;
10809|      0|                p->level--;
10810|      0|                return NULL;
10811|      0|            }
10812|    193|            goto done;
10813|    193|        }
10814|  12.4k|        p->mark = _mark;
10815|  12.4k|        D(fprintf(stderr, "%*c%s class_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10816|  12.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "name_or_attr '(' positional_patterns ',' keyword_patterns ','? ')'"));
10817|  12.4k|    }
10818|  12.4k|    if (p->call_invalid_rules) { // invalid_class_pattern
  ------------------
  |  Branch (10818:9): [True: 8.76k, False: 3.68k]
  ------------------
10819|  8.76k|        if (p->error_indicator) {
  ------------------
  |  Branch (10819:13): [True: 255, False: 8.50k]
  ------------------
10820|    255|            p->level--;
10821|    255|            return NULL;
10822|    255|        }
10823|  8.50k|        D(fprintf(stderr, "%*c> class_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_class_pattern"));
10824|  8.50k|        void *invalid_class_pattern_var;
10825|  8.50k|        if (
10826|  8.50k|            (invalid_class_pattern_var = invalid_class_pattern_rule(p))  // invalid_class_pattern
  ------------------
  |  |  619|  8.50k|#define invalid_class_pattern_rule _PyPegen_invalid_class_pattern_rule
  ------------------
  |  Branch (10826:13): [True: 0, False: 8.50k]
  ------------------
10827|  8.50k|        )
10828|      0|        {
10829|      0|            D(fprintf(stderr, "%*c+ class_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_class_pattern"));
10830|      0|            _res = invalid_class_pattern_var;
10831|      0|            goto done;
10832|      0|        }
10833|  8.50k|        p->mark = _mark;
10834|  8.50k|        D(fprintf(stderr, "%*c%s class_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10835|  8.50k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_class_pattern"));
10836|  8.50k|    }
10837|  12.1k|    _res = NULL;
10838|  15.2k|  done:
10839|  15.2k|    p->level--;
10840|  15.2k|    return _res;
10841|  12.1k|}
parser.c:_loop0_39_rule:
21949|   213k|{
21950|   213k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   427k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21950:9): [True: 0, False: 213k]
  |  Branch (21950:35): [True: 0, False: 213k]
  ------------------
21951|      0|        _Pypegen_stack_overflow(p);
21952|      0|    }
21953|   213k|    if (p->error_indicator) {
  ------------------
  |  Branch (21953:9): [True: 0, False: 213k]
  ------------------
21954|      0|        p->level--;
21955|      0|        return NULL;
21956|      0|    }
21957|   213k|    void *_res = NULL;
21958|   213k|    int _mark = p->mark;
21959|   213k|    void **_children = NULL;
21960|   213k|    Py_ssize_t _children_capacity = 0;
21961|   213k|    Py_ssize_t _n = 0;
21962|   213k|    { // '|' closed_pattern
21963|   213k|        if (p->error_indicator) {
  ------------------
  |  Branch (21963:13): [True: 0, False: 213k]
  ------------------
21964|      0|            p->level--;
21965|      0|            return NULL;
21966|      0|        }
21967|   213k|        D(fprintf(stderr, "%*c> _loop0_39[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'|' closed_pattern"));
21968|   213k|        Token * _literal;
21969|   213k|        pattern_ty elem;
21970|   213k|        while (
21971|   226k|            (_literal = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (21971:13): [True: 24.4k, False: 202k]
  ------------------
21972|  24.4k|            &&
21973|  24.4k|            (elem = closed_pattern_rule(p))  // closed_pattern
  ------------------
  |  Branch (21973:13): [True: 12.7k, False: 11.7k]
  ------------------
21974|   213k|        )
21975|  12.7k|        {
21976|  12.7k|            _res = elem;
21977|  12.7k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21977:18): [True: 0, False: 12.7k]
  |  Branch (21977:34): [True: 0, False: 12.7k]
  |  Branch (21977:57): [True: 0, False: 0]
  ------------------
21978|      0|                p->error_indicator = 1;
21979|      0|                PyMem_Free(_children);
21980|      0|                p->level--;
21981|      0|                return NULL;
21982|      0|            }
21983|  12.7k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (21983:17): [True: 11.0k, False: 1.70k]
  ------------------
21984|  11.0k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (21984:21): [True: 0, False: 11.0k]
  ------------------
21985|      0|                    p->error_indicator = 1;
21986|      0|                    PyErr_NoMemory();
21987|      0|                    PyMem_Free(_children);
21988|      0|                    p->level--;
21989|      0|                    return NULL;
21990|      0|                }
21991|  11.0k|            }
21992|  12.7k|            _children[_n++] = _res;
21993|  12.7k|            _mark = p->mark;
21994|  12.7k|        }
21995|   213k|        p->mark = _mark;
21996|   213k|        D(fprintf(stderr, "%*c%s _loop0_39[%d-%d]: %s failed!\n", p->level, ' ',
21997|   213k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'|' closed_pattern"));
21998|   213k|    }
21999|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
22000|   213k|    if (!_seq) {
  ------------------
  |  Branch (22000:9): [True: 0, False: 213k]
  ------------------
22001|      0|        p->error_indicator = 1;
22002|      0|        PyErr_NoMemory();
22003|      0|        PyMem_Free(_children);
22004|      0|        p->level--;
22005|      0|        return NULL;
22006|      0|    }
22007|   226k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  12.7k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|   226k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (22007:28): [True: 12.7k, False: 213k]
  ------------------
22008|   213k|    PyMem_Free(_children);
22009|   213k|    p->level--;
22010|   213k|    return _seq;
22011|   213k|}
parser.c:_gather_47_rule:
22441|  8.97k|{
22442|  8.97k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  17.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22442:9): [True: 0, False: 8.97k]
  |  Branch (22442:35): [True: 0, False: 8.97k]
  ------------------
22443|      0|        _Pypegen_stack_overflow(p);
22444|      0|    }
22445|  8.97k|    if (p->error_indicator) {
  ------------------
  |  Branch (22445:9): [True: 0, False: 8.97k]
  ------------------
22446|      0|        p->level--;
22447|      0|        return NULL;
22448|      0|    }
22449|  8.97k|    asdl_seq * _res = NULL;
22450|  8.97k|    int _mark = p->mark;
22451|  8.97k|    { // key_value_pattern _loop0_46
22452|  8.97k|        if (p->error_indicator) {
  ------------------
  |  Branch (22452:13): [True: 0, False: 8.97k]
  ------------------
22453|      0|            p->level--;
22454|      0|            return NULL;
22455|      0|        }
22456|  8.97k|        D(fprintf(stderr, "%*c> _gather_47[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "key_value_pattern _loop0_46"));
22457|  8.97k|        KeyPatternPair* elem;
22458|  8.97k|        asdl_seq * seq;
22459|  8.97k|        if (
22460|  8.97k|            (elem = key_value_pattern_rule(p))  // key_value_pattern
  ------------------
  |  Branch (22460:13): [True: 6.98k, False: 1.98k]
  ------------------
22461|  6.98k|            &&
22462|  6.98k|            (seq = _loop0_46_rule(p))  // _loop0_46
  ------------------
  |  Branch (22462:13): [True: 6.98k, False: 0]
  ------------------
22463|  8.97k|        )
22464|  6.98k|        {
22465|  6.98k|            D(fprintf(stderr, "%*c+ _gather_47[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "key_value_pattern _loop0_46"));
22466|  6.98k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
22467|  6.98k|            goto done;
22468|  6.98k|        }
22469|  1.98k|        p->mark = _mark;
22470|  1.98k|        D(fprintf(stderr, "%*c%s _gather_47[%d-%d]: %s failed!\n", p->level, ' ',
22471|  1.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "key_value_pattern _loop0_46"));
22472|  1.98k|    }
22473|  1.98k|    _res = NULL;
22474|  8.97k|  done:
22475|  8.97k|    p->level--;
22476|  8.97k|    return _res;
22477|  1.98k|}
parser.c:key_value_pattern_rule:
10516|  18.9k|{
10517|  18.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  37.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10517:9): [True: 0, False: 18.9k]
  |  Branch (10517:35): [True: 0, False: 18.9k]
  ------------------
10518|      0|        _Pypegen_stack_overflow(p);
10519|      0|    }
10520|  18.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (10520:9): [True: 0, False: 18.9k]
  ------------------
10521|      0|        p->level--;
10522|      0|        return NULL;
10523|      0|    }
10524|  18.9k|    KeyPatternPair* _res = NULL;
10525|  18.9k|    int _mark = p->mark;
10526|  18.9k|    { // (literal_expr | attr) ':' pattern
10527|  18.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (10527:13): [True: 0, False: 18.9k]
  ------------------
10528|      0|            p->level--;
10529|      0|            return NULL;
10530|      0|        }
10531|  18.9k|        D(fprintf(stderr, "%*c> key_value_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(literal_expr | attr) ':' pattern"));
10532|  18.9k|        Token * _literal;
10533|  18.9k|        void *key;
10534|  18.9k|        pattern_ty pattern;
10535|  18.9k|        if (
10536|  18.9k|            (key = _tmp_48_rule(p))  // literal_expr | attr
  ------------------
  |  Branch (10536:13): [True: 15.0k, False: 3.82k]
  ------------------
10537|  15.0k|            &&
10538|  15.0k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (10538:13): [True: 14.9k, False: 110]
  ------------------
10539|  14.9k|            &&
10540|  14.9k|            (pattern = pattern_rule(p))  // pattern
  ------------------
  |  Branch (10540:13): [True: 12.3k, False: 2.64k]
  ------------------
10541|  18.9k|        )
10542|  12.3k|        {
10543|  12.3k|            D(fprintf(stderr, "%*c+ key_value_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(literal_expr | attr) ':' pattern"));
10544|  12.3k|            _res = _PyPegen_key_pattern_pair ( p , key , pattern );
10545|  12.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10545:18): [True: 0, False: 12.3k]
  |  Branch (10545:34): [True: 0, False: 12.3k]
  |  Branch (10545:57): [True: 0, False: 0]
  ------------------
10546|      0|                p->error_indicator = 1;
10547|      0|                p->level--;
10548|      0|                return NULL;
10549|      0|            }
10550|  12.3k|            goto done;
10551|  12.3k|        }
10552|  6.57k|        p->mark = _mark;
10553|  6.57k|        D(fprintf(stderr, "%*c%s key_value_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10554|  6.57k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(literal_expr | attr) ':' pattern"));
10555|  6.57k|    }
10556|  6.57k|    _res = NULL;
10557|  18.9k|  done:
10558|  18.9k|    p->level--;
10559|  18.9k|    return _res;
10560|  6.57k|}
parser.c:_tmp_48_rule:
22482|  18.9k|{
22483|  18.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  37.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22483:9): [True: 0, False: 18.9k]
  |  Branch (22483:35): [True: 0, False: 18.9k]
  ------------------
22484|      0|        _Pypegen_stack_overflow(p);
22485|      0|    }
22486|  18.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (22486:9): [True: 0, False: 18.9k]
  ------------------
22487|      0|        p->level--;
22488|      0|        return NULL;
22489|      0|    }
22490|  18.9k|    void * _res = NULL;
22491|  18.9k|    int _mark = p->mark;
22492|  18.9k|    { // literal_expr
22493|  18.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (22493:13): [True: 0, False: 18.9k]
  ------------------
22494|      0|            p->level--;
22495|      0|            return NULL;
22496|      0|        }
22497|  18.9k|        D(fprintf(stderr, "%*c> _tmp_48[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "literal_expr"));
22498|  18.9k|        expr_ty literal_expr_var;
22499|  18.9k|        if (
22500|  18.9k|            (literal_expr_var = literal_expr_rule(p))  // literal_expr
  ------------------
  |  Branch (22500:13): [True: 14.9k, False: 3.96k]
  ------------------
22501|  18.9k|        )
22502|  14.9k|        {
22503|  14.9k|            D(fprintf(stderr, "%*c+ _tmp_48[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "literal_expr"));
22504|  14.9k|            _res = literal_expr_var;
22505|  14.9k|            goto done;
22506|  14.9k|        }
22507|  3.96k|        p->mark = _mark;
22508|  3.96k|        D(fprintf(stderr, "%*c%s _tmp_48[%d-%d]: %s failed!\n", p->level, ' ',
22509|  3.96k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "literal_expr"));
22510|  3.96k|    }
22511|      0|    { // attr
22512|  3.96k|        if (p->error_indicator) {
  ------------------
  |  Branch (22512:13): [True: 9, False: 3.95k]
  ------------------
22513|      9|            p->level--;
22514|      9|            return NULL;
22515|      9|        }
22516|  3.95k|        D(fprintf(stderr, "%*c> _tmp_48[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "attr"));
22517|  3.95k|        expr_ty attr_var;
22518|  3.95k|        if (
22519|  3.95k|            (attr_var = attr_rule(p))  // attr
  ------------------
  |  Branch (22519:13): [True: 144, False: 3.81k]
  ------------------
22520|  3.95k|        )
22521|    144|        {
22522|    144|            D(fprintf(stderr, "%*c+ _tmp_48[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "attr"));
22523|    144|            _res = attr_var;
22524|    144|            goto done;
22525|    144|        }
22526|  3.81k|        p->mark = _mark;
22527|  3.81k|        D(fprintf(stderr, "%*c%s _tmp_48[%d-%d]: %s failed!\n", p->level, ' ',
22528|  3.81k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "attr"));
22529|  3.81k|    }
22530|  3.81k|    _res = NULL;
22531|  18.8k|  done:
22532|  18.8k|    p->level--;
22533|  18.8k|    return _res;
22534|  3.81k|}
parser.c:literal_expr_rule:
 8827|  18.9k|{
 8828|  18.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  37.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8828:9): [True: 0, False: 18.9k]
  |  Branch (8828:35): [True: 0, False: 18.9k]
  ------------------
 8829|      0|        _Pypegen_stack_overflow(p);
 8830|      0|    }
 8831|  18.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (8831:9): [True: 0, False: 18.9k]
  ------------------
 8832|      0|        p->level--;
 8833|      0|        return NULL;
 8834|      0|    }
 8835|  18.9k|    expr_ty _res = NULL;
 8836|  18.9k|    int _mark = p->mark;
 8837|  18.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (8837:9): [True: 2.94k, False: 15.9k]
  |  Branch (8837:31): [True: 2, False: 2.93k]
  ------------------
 8838|      2|        p->error_indicator = 1;
 8839|      2|        p->level--;
 8840|      2|        return NULL;
 8841|      2|    }
 8842|  18.9k|    int _start_lineno = p->tokens[_mark]->lineno;
 8843|  18.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  18.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 18.9k]
  |  |  ------------------
  ------------------
 8844|  18.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 8845|  18.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  18.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 18.9k]
  |  |  ------------------
  ------------------
 8846|  18.9k|    { // signed_number !('+' | '-')
 8847|  18.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (8847:13): [True: 0, False: 18.9k]
  ------------------
 8848|      0|            p->level--;
 8849|      0|            return NULL;
 8850|      0|        }
 8851|  18.9k|        D(fprintf(stderr, "%*c> literal_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "signed_number !('+' | '-')"));
 8852|  18.9k|        expr_ty signed_number_var;
 8853|  18.9k|        if (
 8854|  18.9k|            (signed_number_var = signed_number_rule(p))  // signed_number
  ------------------
  |  Branch (8854:13): [True: 14.5k, False: 4.38k]
  ------------------
 8855|  14.5k|            &&
 8856|  14.5k|            _PyPegen_lookahead(0, _tmp_41_rule, p)
  ------------------
  |  Branch (8856:13): [True: 14.4k, False: 66]
  ------------------
 8857|  18.9k|        )
 8858|  14.4k|        {
 8859|  14.4k|            D(fprintf(stderr, "%*c+ literal_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "signed_number !('+' | '-')"));
 8860|  14.4k|            _res = signed_number_var;
 8861|  14.4k|            goto done;
 8862|  14.4k|        }
 8863|  4.45k|        p->mark = _mark;
 8864|  4.45k|        D(fprintf(stderr, "%*c%s literal_expr[%d-%d]: %s failed!\n", p->level, ' ',
 8865|  4.45k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "signed_number !('+' | '-')"));
 8866|  4.45k|    }
 8867|      0|    { // complex_number
 8868|  4.45k|        if (p->error_indicator) {
  ------------------
  |  Branch (8868:13): [True: 1, False: 4.45k]
  ------------------
 8869|      1|            p->level--;
 8870|      1|            return NULL;
 8871|      1|        }
 8872|  4.45k|        D(fprintf(stderr, "%*c> literal_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "complex_number"));
 8873|  4.45k|        expr_ty complex_number_var;
 8874|  4.45k|        if (
 8875|  4.45k|            (complex_number_var = complex_number_rule(p))  // complex_number
  ------------------
  |  Branch (8875:13): [True: 47, False: 4.40k]
  ------------------
 8876|  4.45k|        )
 8877|     47|        {
 8878|     47|            D(fprintf(stderr, "%*c+ literal_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "complex_number"));
 8879|     47|            _res = complex_number_var;
 8880|     47|            goto done;
 8881|     47|        }
 8882|  4.40k|        p->mark = _mark;
 8883|  4.40k|        D(fprintf(stderr, "%*c%s literal_expr[%d-%d]: %s failed!\n", p->level, ' ',
 8884|  4.40k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "complex_number"));
 8885|  4.40k|    }
 8886|      0|    { // &(STRING | FSTRING_START | TSTRING_START) strings
 8887|  4.40k|        if (p->error_indicator) {
  ------------------
  |  Branch (8887:13): [True: 1, False: 4.40k]
  ------------------
 8888|      1|            p->level--;
 8889|      1|            return NULL;
 8890|      1|        }
 8891|  4.40k|        D(fprintf(stderr, "%*c> literal_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
 8892|  4.40k|        expr_ty strings_var;
 8893|  4.40k|        if (
 8894|  4.40k|            _PyPegen_lookahead(1, _tmp_42_rule, p)
  ------------------
  |  Branch (8894:13): [True: 37, False: 4.36k]
  ------------------
 8895|     37|            &&
 8896|     37|            (strings_var = strings_rule(p))  // strings
  ------------------
  |  Branch (8896:13): [True: 30, False: 7]
  ------------------
 8897|  4.40k|        )
 8898|     30|        {
 8899|     30|            D(fprintf(stderr, "%*c+ literal_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
 8900|     30|            _res = strings_var;
 8901|     30|            goto done;
 8902|     30|        }
 8903|  4.37k|        p->mark = _mark;
 8904|  4.37k|        D(fprintf(stderr, "%*c%s literal_expr[%d-%d]: %s failed!\n", p->level, ' ',
 8905|  4.37k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
 8906|  4.37k|    }
 8907|      0|    { // 'None'
 8908|  4.37k|        if (p->error_indicator) {
  ------------------
  |  Branch (8908:13): [True: 5, False: 4.37k]
  ------------------
 8909|      5|            p->level--;
 8910|      5|            return NULL;
 8911|      5|        }
 8912|  4.37k|        D(fprintf(stderr, "%*c> literal_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
 8913|  4.37k|        Token * _keyword;
 8914|  4.37k|        if (
 8915|  4.37k|            (_keyword = _PyPegen_expect_token(p, 526))  // token='None'
  ------------------
  |  Branch (8915:13): [True: 272, False: 4.09k]
  ------------------
 8916|  4.37k|        )
 8917|    272|        {
 8918|    272|            D(fprintf(stderr, "%*c+ literal_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
 8919|    272|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8920|    272|            if (_token == NULL) {
  ------------------
  |  Branch (8920:17): [True: 0, False: 272]
  ------------------
 8921|      0|                p->level--;
 8922|      0|                return NULL;
 8923|      0|            }
 8924|    272|            int _end_lineno = _token->end_lineno;
 8925|    272|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|    272|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 272]
  |  |  ------------------
  ------------------
 8926|    272|            int _end_col_offset = _token->end_col_offset;
 8927|    272|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|    272|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 272]
  |  |  ------------------
  ------------------
 8928|    272|            _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  616|    272|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  316|    272|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8929|    272|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8929:18): [True: 0, False: 272]
  |  Branch (8929:34): [True: 0, False: 272]
  |  Branch (8929:57): [True: 0, False: 0]
  ------------------
 8930|      0|                p->error_indicator = 1;
 8931|      0|                p->level--;
 8932|      0|                return NULL;
 8933|      0|            }
 8934|    272|            goto done;
 8935|    272|        }
 8936|  4.09k|        p->mark = _mark;
 8937|  4.09k|        D(fprintf(stderr, "%*c%s literal_expr[%d-%d]: %s failed!\n", p->level, ' ',
 8938|  4.09k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
 8939|  4.09k|    }
 8940|      0|    { // 'True'
 8941|  4.09k|        if (p->error_indicator) {
  ------------------
  |  Branch (8941:13): [True: 0, False: 4.09k]
  ------------------
 8942|      0|            p->level--;
 8943|      0|            return NULL;
 8944|      0|        }
 8945|  4.09k|        D(fprintf(stderr, "%*c> literal_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
 8946|  4.09k|        Token * _keyword;
 8947|  4.09k|        if (
 8948|  4.09k|            (_keyword = _PyPegen_expect_token(p, 527))  // token='True'
  ------------------
  |  Branch (8948:13): [True: 69, False: 4.03k]
  ------------------
 8949|  4.09k|        )
 8950|     69|        {
 8951|     69|            D(fprintf(stderr, "%*c+ literal_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
 8952|     69|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8953|     69|            if (_token == NULL) {
  ------------------
  |  Branch (8953:17): [True: 0, False: 69]
  ------------------
 8954|      0|                p->level--;
 8955|      0|                return NULL;
 8956|      0|            }
 8957|     69|            int _end_lineno = _token->end_lineno;
 8958|     69|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     69|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 69]
  |  |  ------------------
  ------------------
 8959|     69|            int _end_col_offset = _token->end_col_offset;
 8960|     69|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     69|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 69]
  |  |  ------------------
  ------------------
 8961|     69|            _res = _PyAST_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |   26|     69|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |  316|     69|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8962|     69|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8962:18): [True: 0, False: 69]
  |  Branch (8962:34): [True: 0, False: 69]
  |  Branch (8962:57): [True: 0, False: 0]
  ------------------
 8963|      0|                p->error_indicator = 1;
 8964|      0|                p->level--;
 8965|      0|                return NULL;
 8966|      0|            }
 8967|     69|            goto done;
 8968|     69|        }
 8969|  4.03k|        p->mark = _mark;
 8970|  4.03k|        D(fprintf(stderr, "%*c%s literal_expr[%d-%d]: %s failed!\n", p->level, ' ',
 8971|  4.03k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
 8972|  4.03k|    }
 8973|      0|    { // 'False'
 8974|  4.03k|        if (p->error_indicator) {
  ------------------
  |  Branch (8974:13): [True: 0, False: 4.03k]
  ------------------
 8975|      0|            p->level--;
 8976|      0|            return NULL;
 8977|      0|        }
 8978|  4.03k|        D(fprintf(stderr, "%*c> literal_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
 8979|  4.03k|        Token * _keyword;
 8980|  4.03k|        if (
 8981|  4.03k|            (_keyword = _PyPegen_expect_token(p, 528))  // token='False'
  ------------------
  |  Branch (8981:13): [True: 73, False: 3.95k]
  ------------------
 8982|  4.03k|        )
 8983|     73|        {
 8984|     73|            D(fprintf(stderr, "%*c+ literal_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
 8985|     73|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8986|     73|            if (_token == NULL) {
  ------------------
  |  Branch (8986:17): [True: 0, False: 73]
  ------------------
 8987|      0|                p->level--;
 8988|      0|                return NULL;
 8989|      0|            }
 8990|     73|            int _end_lineno = _token->end_lineno;
 8991|     73|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     73|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 73]
  |  |  ------------------
  ------------------
 8992|     73|            int _end_col_offset = _token->end_col_offset;
 8993|     73|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     73|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 73]
  |  |  ------------------
  ------------------
 8994|     73|            _res = _PyAST_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |   25|     73|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     73|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     73|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |  316|     73|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8995|     73|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8995:18): [True: 0, False: 73]
  |  Branch (8995:34): [True: 0, False: 73]
  |  Branch (8995:57): [True: 0, False: 0]
  ------------------
 8996|      0|                p->error_indicator = 1;
 8997|      0|                p->level--;
 8998|      0|                return NULL;
 8999|      0|            }
 9000|     73|            goto done;
 9001|     73|        }
 9002|  3.95k|        p->mark = _mark;
 9003|  3.95k|        D(fprintf(stderr, "%*c%s literal_expr[%d-%d]: %s failed!\n", p->level, ' ',
 9004|  3.95k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
 9005|  3.95k|    }
 9006|  3.95k|    _res = NULL;
 9007|  18.8k|  done:
 9008|  18.8k|    p->level--;
 9009|  18.8k|    return _res;
 9010|  3.95k|}
parser.c:_loop0_46_rule:
22374|  6.98k|{
22375|  6.98k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  13.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22375:9): [True: 0, False: 6.98k]
  |  Branch (22375:35): [True: 0, False: 6.98k]
  ------------------
22376|      0|        _Pypegen_stack_overflow(p);
22377|      0|    }
22378|  6.98k|    if (p->error_indicator) {
  ------------------
  |  Branch (22378:9): [True: 0, False: 6.98k]
  ------------------
22379|      0|        p->level--;
22380|      0|        return NULL;
22381|      0|    }
22382|  6.98k|    void *_res = NULL;
22383|  6.98k|    int _mark = p->mark;
22384|  6.98k|    void **_children = NULL;
22385|  6.98k|    Py_ssize_t _children_capacity = 0;
22386|  6.98k|    Py_ssize_t _n = 0;
22387|  6.98k|    { // ',' key_value_pattern
22388|  6.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (22388:13): [True: 0, False: 6.98k]
  ------------------
22389|      0|            p->level--;
22390|      0|            return NULL;
22391|      0|        }
22392|  6.98k|        D(fprintf(stderr, "%*c> _loop0_46[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' key_value_pattern"));
22393|  6.98k|        Token * _literal;
22394|  6.98k|        KeyPatternPair* elem;
22395|  6.98k|        while (
22396|  12.3k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (22396:13): [True: 9.93k, False: 2.39k]
  ------------------
22397|  9.93k|            &&
22398|  9.93k|            (elem = key_value_pattern_rule(p))  // key_value_pattern
  ------------------
  |  Branch (22398:13): [True: 5.34k, False: 4.59k]
  ------------------
22399|  6.98k|        )
22400|  5.34k|        {
22401|  5.34k|            _res = elem;
22402|  5.34k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22402:18): [True: 0, False: 5.34k]
  |  Branch (22402:34): [True: 0, False: 5.34k]
  |  Branch (22402:57): [True: 0, False: 0]
  ------------------
22403|      0|                p->error_indicator = 1;
22404|      0|                PyMem_Free(_children);
22405|      0|                p->level--;
22406|      0|                return NULL;
22407|      0|            }
22408|  5.34k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (22408:17): [True: 4.15k, False: 1.19k]
  ------------------
22409|  4.15k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (22409:21): [True: 0, False: 4.15k]
  ------------------
22410|      0|                    p->error_indicator = 1;
22411|      0|                    PyErr_NoMemory();
22412|      0|                    PyMem_Free(_children);
22413|      0|                    p->level--;
22414|      0|                    return NULL;
22415|      0|                }
22416|  4.15k|            }
22417|  5.34k|            _children[_n++] = _res;
22418|  5.34k|            _mark = p->mark;
22419|  5.34k|        }
22420|  6.98k|        p->mark = _mark;
22421|  6.98k|        D(fprintf(stderr, "%*c%s _loop0_46[%d-%d]: %s failed!\n", p->level, ' ',
22422|  6.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' key_value_pattern"));
22423|  6.98k|    }
22424|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
22425|  6.98k|    if (!_seq) {
  ------------------
  |  Branch (22425:9): [True: 0, False: 6.98k]
  ------------------
22426|      0|        p->error_indicator = 1;
22427|      0|        PyErr_NoMemory();
22428|      0|        PyMem_Free(_children);
22429|      0|        p->level--;
22430|      0|        return NULL;
22431|      0|    }
22432|  12.3k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  5.34k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  12.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (22432:28): [True: 5.34k, False: 6.98k]
  ------------------
22433|  6.98k|    PyMem_Free(_children);
22434|  6.98k|    p->level--;
22435|  6.98k|    return _seq;
22436|  6.98k|}
parser.c:_gather_50_rule:
22606|  13.7k|{
22607|  13.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  27.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22607:9): [True: 0, False: 13.7k]
  |  Branch (22607:35): [True: 0, False: 13.7k]
  ------------------
22608|      0|        _Pypegen_stack_overflow(p);
22609|      0|    }
22610|  13.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (22610:9): [True: 0, False: 13.7k]
  ------------------
22611|      0|        p->level--;
22612|      0|        return NULL;
22613|      0|    }
22614|  13.7k|    asdl_seq * _res = NULL;
22615|  13.7k|    int _mark = p->mark;
22616|  13.7k|    { // pattern _loop0_49
22617|  13.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (22617:13): [True: 0, False: 13.7k]
  ------------------
22618|      0|            p->level--;
22619|      0|            return NULL;
22620|      0|        }
22621|  13.7k|        D(fprintf(stderr, "%*c> _gather_50[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "pattern _loop0_49"));
22622|  13.7k|        pattern_ty elem;
22623|  13.7k|        asdl_seq * seq;
22624|  13.7k|        if (
22625|  13.7k|            (elem = pattern_rule(p))  // pattern
  ------------------
  |  Branch (22625:13): [True: 8.37k, False: 5.34k]
  ------------------
22626|  8.37k|            &&
22627|  8.37k|            (seq = _loop0_49_rule(p))  // _loop0_49
  ------------------
  |  Branch (22627:13): [True: 8.37k, False: 0]
  ------------------
22628|  13.7k|        )
22629|  8.37k|        {
22630|  8.37k|            D(fprintf(stderr, "%*c+ _gather_50[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "pattern _loop0_49"));
22631|  8.37k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
22632|  8.37k|            goto done;
22633|  8.37k|        }
22634|  5.34k|        p->mark = _mark;
22635|  5.34k|        D(fprintf(stderr, "%*c%s _gather_50[%d-%d]: %s failed!\n", p->level, ' ',
22636|  5.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "pattern _loop0_49"));
22637|  5.34k|    }
22638|  5.34k|    _res = NULL;
22639|  13.7k|  done:
22640|  13.7k|    p->level--;
22641|  13.7k|    return _res;
22642|  5.34k|}
parser.c:_loop0_49_rule:
22539|  8.37k|{
22540|  8.37k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  16.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22540:9): [True: 0, False: 8.37k]
  |  Branch (22540:35): [True: 0, False: 8.37k]
  ------------------
22541|      0|        _Pypegen_stack_overflow(p);
22542|      0|    }
22543|  8.37k|    if (p->error_indicator) {
  ------------------
  |  Branch (22543:9): [True: 0, False: 8.37k]
  ------------------
22544|      0|        p->level--;
22545|      0|        return NULL;
22546|      0|    }
22547|  8.37k|    void *_res = NULL;
22548|  8.37k|    int _mark = p->mark;
22549|  8.37k|    void **_children = NULL;
22550|  8.37k|    Py_ssize_t _children_capacity = 0;
22551|  8.37k|    Py_ssize_t _n = 0;
22552|  8.37k|    { // ',' pattern
22553|  8.37k|        if (p->error_indicator) {
  ------------------
  |  Branch (22553:13): [True: 0, False: 8.37k]
  ------------------
22554|      0|            p->level--;
22555|      0|            return NULL;
22556|      0|        }
22557|  8.37k|        D(fprintf(stderr, "%*c> _loop0_49[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' pattern"));
22558|  8.37k|        Token * _literal;
22559|  8.37k|        pattern_ty elem;
22560|  8.37k|        while (
22561|  13.8k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (22561:13): [True: 11.1k, False: 2.68k]
  ------------------
22562|  11.1k|            &&
22563|  11.1k|            (elem = pattern_rule(p))  // pattern
  ------------------
  |  Branch (22563:13): [True: 5.47k, False: 5.69k]
  ------------------
22564|  8.37k|        )
22565|  5.47k|        {
22566|  5.47k|            _res = elem;
22567|  5.47k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22567:18): [True: 0, False: 5.47k]
  |  Branch (22567:34): [True: 0, False: 5.47k]
  |  Branch (22567:57): [True: 0, False: 0]
  ------------------
22568|      0|                p->error_indicator = 1;
22569|      0|                PyMem_Free(_children);
22570|      0|                p->level--;
22571|      0|                return NULL;
22572|      0|            }
22573|  5.47k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (22573:17): [True: 4.21k, False: 1.26k]
  ------------------
22574|  4.21k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (22574:21): [True: 0, False: 4.21k]
  ------------------
22575|      0|                    p->error_indicator = 1;
22576|      0|                    PyErr_NoMemory();
22577|      0|                    PyMem_Free(_children);
22578|      0|                    p->level--;
22579|      0|                    return NULL;
22580|      0|                }
22581|  4.21k|            }
22582|  5.47k|            _children[_n++] = _res;
22583|  5.47k|            _mark = p->mark;
22584|  5.47k|        }
22585|  8.37k|        p->mark = _mark;
22586|  8.37k|        D(fprintf(stderr, "%*c%s _loop0_49[%d-%d]: %s failed!\n", p->level, ' ',
22587|  8.37k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' pattern"));
22588|  8.37k|    }
22589|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
22590|  8.37k|    if (!_seq) {
  ------------------
  |  Branch (22590:9): [True: 0, False: 8.37k]
  ------------------
22591|      0|        p->error_indicator = 1;
22592|      0|        PyErr_NoMemory();
22593|      0|        PyMem_Free(_children);
22594|      0|        p->level--;
22595|      0|        return NULL;
22596|      0|    }
22597|  13.8k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  5.47k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  13.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (22597:28): [True: 5.47k, False: 8.37k]
  ------------------
22598|  8.37k|    PyMem_Free(_children);
22599|  8.37k|    p->level--;
22600|  8.37k|    return _seq;
22601|  8.37k|}
parser.c:_gather_52_rule:
22714|  8.80k|{
22715|  8.80k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  17.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22715:9): [True: 0, False: 8.80k]
  |  Branch (22715:35): [True: 0, False: 8.80k]
  ------------------
22716|      0|        _Pypegen_stack_overflow(p);
22717|      0|    }
22718|  8.80k|    if (p->error_indicator) {
  ------------------
  |  Branch (22718:9): [True: 0, False: 8.80k]
  ------------------
22719|      0|        p->level--;
22720|      0|        return NULL;
22721|      0|    }
22722|  8.80k|    asdl_seq * _res = NULL;
22723|  8.80k|    int _mark = p->mark;
22724|  8.80k|    { // keyword_pattern _loop0_51
22725|  8.80k|        if (p->error_indicator) {
  ------------------
  |  Branch (22725:13): [True: 0, False: 8.80k]
  ------------------
22726|      0|            p->level--;
22727|      0|            return NULL;
22728|      0|        }
22729|  8.80k|        D(fprintf(stderr, "%*c> _gather_52[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "keyword_pattern _loop0_51"));
22730|  8.80k|        KeyPatternPair* elem;
22731|  8.80k|        asdl_seq * seq;
22732|  8.80k|        if (
22733|  8.80k|            (elem = keyword_pattern_rule(p))  // keyword_pattern
  ------------------
  |  Branch (22733:13): [True: 2.18k, False: 6.61k]
  ------------------
22734|  2.18k|            &&
22735|  2.18k|            (seq = _loop0_51_rule(p))  // _loop0_51
  ------------------
  |  Branch (22735:13): [True: 2.18k, False: 0]
  ------------------
22736|  8.80k|        )
22737|  2.18k|        {
22738|  2.18k|            D(fprintf(stderr, "%*c+ _gather_52[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "keyword_pattern _loop0_51"));
22739|  2.18k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
22740|  2.18k|            goto done;
22741|  2.18k|        }
22742|  6.61k|        p->mark = _mark;
22743|  6.61k|        D(fprintf(stderr, "%*c%s _gather_52[%d-%d]: %s failed!\n", p->level, ' ',
22744|  6.61k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "keyword_pattern _loop0_51"));
22745|  6.61k|    }
22746|  6.61k|    _res = NULL;
22747|  8.80k|  done:
22748|  8.80k|    p->level--;
22749|  8.80k|    return _res;
22750|  6.61k|}
parser.c:keyword_pattern_rule:
10927|  16.1k|{
10928|  16.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  32.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10928:9): [True: 0, False: 16.1k]
  |  Branch (10928:35): [True: 0, False: 16.1k]
  ------------------
10929|      0|        _Pypegen_stack_overflow(p);
10930|      0|    }
10931|  16.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (10931:9): [True: 0, False: 16.1k]
  ------------------
10932|      0|        p->level--;
10933|      0|        return NULL;
10934|      0|    }
10935|  16.1k|    KeyPatternPair* _res = NULL;
10936|  16.1k|    int _mark = p->mark;
10937|  16.1k|    { // NAME '=' pattern
10938|  16.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (10938:13): [True: 0, False: 16.1k]
  ------------------
10939|      0|            p->level--;
10940|      0|            return NULL;
10941|      0|        }
10942|  16.1k|        D(fprintf(stderr, "%*c> keyword_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' pattern"));
10943|  16.1k|        Token * _literal;
10944|  16.1k|        expr_ty arg;
10945|  16.1k|        pattern_ty value;
10946|  16.1k|        if (
10947|  16.1k|            (arg = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (10947:13): [True: 14.8k, False: 1.31k]
  ------------------
10948|  14.8k|            &&
10949|  14.8k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (10949:13): [True: 9.64k, False: 5.20k]
  ------------------
10950|  9.64k|            &&
10951|  9.64k|            (value = pattern_rule(p))  // pattern
  ------------------
  |  Branch (10951:13): [True: 7.85k, False: 1.79k]
  ------------------
10952|  16.1k|        )
10953|  7.85k|        {
10954|  7.85k|            D(fprintf(stderr, "%*c+ keyword_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' pattern"));
10955|  7.85k|            _res = _PyPegen_key_pattern_pair ( p , arg , value );
10956|  7.85k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10956:18): [True: 0, False: 7.85k]
  |  Branch (10956:34): [True: 0, False: 7.85k]
  |  Branch (10956:57): [True: 0, False: 0]
  ------------------
10957|      0|                p->error_indicator = 1;
10958|      0|                p->level--;
10959|      0|                return NULL;
10960|      0|            }
10961|  7.85k|            goto done;
10962|  7.85k|        }
10963|  8.31k|        p->mark = _mark;
10964|  8.31k|        D(fprintf(stderr, "%*c%s keyword_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10965|  8.31k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' pattern"));
10966|  8.31k|    }
10967|  8.31k|    _res = NULL;
10968|  16.1k|  done:
10969|  16.1k|    p->level--;
10970|  16.1k|    return _res;
10971|  8.31k|}
parser.c:_loop0_51_rule:
22647|  2.18k|{
22648|  2.18k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.37k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22648:9): [True: 0, False: 2.18k]
  |  Branch (22648:35): [True: 0, False: 2.18k]
  ------------------
22649|      0|        _Pypegen_stack_overflow(p);
22650|      0|    }
22651|  2.18k|    if (p->error_indicator) {
  ------------------
  |  Branch (22651:9): [True: 0, False: 2.18k]
  ------------------
22652|      0|        p->level--;
22653|      0|        return NULL;
22654|      0|    }
22655|  2.18k|    void *_res = NULL;
22656|  2.18k|    int _mark = p->mark;
22657|  2.18k|    void **_children = NULL;
22658|  2.18k|    Py_ssize_t _children_capacity = 0;
22659|  2.18k|    Py_ssize_t _n = 0;
22660|  2.18k|    { // ',' keyword_pattern
22661|  2.18k|        if (p->error_indicator) {
  ------------------
  |  Branch (22661:13): [True: 0, False: 2.18k]
  ------------------
22662|      0|            p->level--;
22663|      0|            return NULL;
22664|      0|        }
22665|  2.18k|        D(fprintf(stderr, "%*c> _loop0_51[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' keyword_pattern"));
22666|  2.18k|        Token * _literal;
22667|  2.18k|        KeyPatternPair* elem;
22668|  2.18k|        while (
22669|  7.85k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (22669:13): [True: 7.36k, False: 492]
  ------------------
22670|  7.36k|            &&
22671|  7.36k|            (elem = keyword_pattern_rule(p))  // keyword_pattern
  ------------------
  |  Branch (22671:13): [True: 5.66k, False: 1.69k]
  ------------------
22672|  2.18k|        )
22673|  5.66k|        {
22674|  5.66k|            _res = elem;
22675|  5.66k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22675:18): [True: 0, False: 5.66k]
  |  Branch (22675:34): [True: 0, False: 5.66k]
  |  Branch (22675:57): [True: 0, False: 0]
  ------------------
22676|      0|                p->error_indicator = 1;
22677|      0|                PyMem_Free(_children);
22678|      0|                p->level--;
22679|      0|                return NULL;
22680|      0|            }
22681|  5.66k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (22681:17): [True: 657, False: 5.01k]
  ------------------
22682|    657|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (22682:21): [True: 0, False: 657]
  ------------------
22683|      0|                    p->error_indicator = 1;
22684|      0|                    PyErr_NoMemory();
22685|      0|                    PyMem_Free(_children);
22686|      0|                    p->level--;
22687|      0|                    return NULL;
22688|      0|                }
22689|    657|            }
22690|  5.66k|            _children[_n++] = _res;
22691|  5.66k|            _mark = p->mark;
22692|  5.66k|        }
22693|  2.18k|        p->mark = _mark;
22694|  2.18k|        D(fprintf(stderr, "%*c%s _loop0_51[%d-%d]: %s failed!\n", p->level, ' ',
22695|  2.18k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' keyword_pattern"));
22696|  2.18k|    }
22697|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
22698|  2.18k|    if (!_seq) {
  ------------------
  |  Branch (22698:9): [True: 0, False: 2.18k]
  ------------------
22699|      0|        p->error_indicator = 1;
22700|      0|        PyErr_NoMemory();
22701|      0|        PyMem_Free(_children);
22702|      0|        p->level--;
22703|      0|        return NULL;
22704|      0|    }
22705|  7.85k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  5.66k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  7.85k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (22705:28): [True: 5.66k, False: 2.18k]
  ------------------
22706|  2.18k|    PyMem_Free(_children);
22707|  2.18k|    p->level--;
22708|  2.18k|    return _seq;
22709|  2.18k|}
parser.c:_loop1_55_rule:
22863|  5.11k|{
22864|  5.11k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  10.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22864:9): [True: 0, False: 5.11k]
  |  Branch (22864:35): [True: 0, False: 5.11k]
  ------------------
22865|      0|        _Pypegen_stack_overflow(p);
22866|      0|    }
22867|  5.11k|    if (p->error_indicator) {
  ------------------
  |  Branch (22867:9): [True: 0, False: 5.11k]
  ------------------
22868|      0|        p->level--;
22869|      0|        return NULL;
22870|      0|    }
22871|  5.11k|    void *_res = NULL;
22872|  5.11k|    int _mark = p->mark;
22873|  5.11k|    void **_children = NULL;
22874|  5.11k|    Py_ssize_t _children_capacity = 0;
22875|  5.11k|    Py_ssize_t _n = 0;
22876|  5.11k|    { // (',' expression)
22877|  5.11k|        if (p->error_indicator) {
  ------------------
  |  Branch (22877:13): [True: 0, False: 5.11k]
  ------------------
22878|      0|            p->level--;
22879|      0|            return NULL;
22880|      0|        }
22881|  5.11k|        D(fprintf(stderr, "%*c> _loop1_55[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' expression)"));
22882|  5.11k|        void *_tmp_16_var;
22883|  5.11k|        while (
22884|  9.50k|            (_tmp_16_var = _tmp_16_rule(p))  // ',' expression
  ------------------
  |  Branch (22884:13): [True: 4.38k, False: 5.11k]
  ------------------
22885|  5.11k|        )
22886|  4.38k|        {
22887|  4.38k|            _res = _tmp_16_var;
22888|  4.38k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (22888:17): [True: 1.24k, False: 3.14k]
  ------------------
22889|  1.24k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (22889:21): [True: 0, False: 1.24k]
  ------------------
22890|      0|                    p->error_indicator = 1;
22891|      0|                    PyErr_NoMemory();
22892|      0|                    PyMem_Free(_children);
22893|      0|                    p->level--;
22894|      0|                    return NULL;
22895|      0|                }
22896|  1.24k|            }
22897|  4.38k|            _children[_n++] = _res;
22898|  4.38k|            _mark = p->mark;
22899|  4.38k|        }
22900|  5.11k|        p->mark = _mark;
22901|  5.11k|        D(fprintf(stderr, "%*c%s _loop1_55[%d-%d]: %s failed!\n", p->level, ' ',
22902|  5.11k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' expression)"));
22903|  5.11k|    }
22904|  5.11k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (22904:9): [True: 4.53k, False: 584]
  |  Branch (22904:20): [True: 8, False: 576]
  ------------------
22905|  4.54k|        PyMem_Free(_children);
22906|  4.54k|        p->level--;
22907|  4.54k|        return NULL;
22908|  4.54k|    }
22909|    576|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
22910|    576|    if (!_seq) {
  ------------------
  |  Branch (22910:9): [True: 0, False: 576]
  ------------------
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|  4.94k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  4.36k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  4.94k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (22917:28): [True: 4.36k, False: 576]
  ------------------
22918|    576|    PyMem_Free(_children);
22919|    576|    p->level--;
22920|    576|    return _seq;
22921|    576|}
parser.c:_loop1_56_rule:
22926|   265k|{
22927|   265k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   530k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22927:9): [True: 0, False: 265k]
  |  Branch (22927:35): [True: 0, False: 265k]
  ------------------
22928|      0|        _Pypegen_stack_overflow(p);
22929|      0|    }
22930|   265k|    if (p->error_indicator) {
  ------------------
  |  Branch (22930:9): [True: 0, False: 265k]
  ------------------
22931|      0|        p->level--;
22932|      0|        return NULL;
22933|      0|    }
22934|   265k|    void *_res = NULL;
22935|   265k|    int _mark = p->mark;
22936|   265k|    void **_children = NULL;
22937|   265k|    Py_ssize_t _children_capacity = 0;
22938|   265k|    Py_ssize_t _n = 0;
22939|   265k|    { // (',' star_expression)
22940|   265k|        if (p->error_indicator) {
  ------------------
  |  Branch (22940:13): [True: 0, False: 265k]
  ------------------
22941|      0|            p->level--;
22942|      0|            return NULL;
22943|      0|        }
22944|   265k|        D(fprintf(stderr, "%*c> _loop1_56[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' star_expression)"));
22945|   265k|        void *_tmp_181_var;
22946|   265k|        while (
22947|  2.91M|            (_tmp_181_var = _tmp_181_rule(p))  // ',' star_expression
  ------------------
  |  Branch (22947:13): [True: 2.64M, False: 265k]
  ------------------
22948|   265k|        )
22949|  2.64M|        {
22950|  2.64M|            _res = _tmp_181_var;
22951|  2.64M|            if (_n == _children_capacity) {
  ------------------
  |  Branch (22951:17): [True: 87.2k, False: 2.56M]
  ------------------
22952|  87.2k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (22952:21): [True: 0, False: 87.2k]
  ------------------
22953|      0|                    p->error_indicator = 1;
22954|      0|                    PyErr_NoMemory();
22955|      0|                    PyMem_Free(_children);
22956|      0|                    p->level--;
22957|      0|                    return NULL;
22958|      0|                }
22959|  87.2k|            }
22960|  2.64M|            _children[_n++] = _res;
22961|  2.64M|            _mark = p->mark;
22962|  2.64M|        }
22963|   265k|        p->mark = _mark;
22964|   265k|        D(fprintf(stderr, "%*c%s _loop1_56[%d-%d]: %s failed!\n", p->level, ' ',
22965|   265k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' star_expression)"));
22966|   265k|    }
22967|   265k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (22967:9): [True: 244k, False: 20.8k]
  |  Branch (22967:20): [True: 967, False: 19.8k]
  ------------------
22968|   245k|        PyMem_Free(_children);
22969|   245k|        p->level--;
22970|   245k|        return NULL;
22971|   245k|    }
22972|  19.8k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
22973|  19.8k|    if (!_seq) {
  ------------------
  |  Branch (22973:9): [True: 0, False: 19.8k]
  ------------------
22974|      0|        p->error_indicator = 1;
22975|      0|        PyErr_NoMemory();
22976|      0|        PyMem_Free(_children);
22977|      0|        p->level--;
22978|      0|        return NULL;
22979|      0|    }
22980|  2.66M|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  2.64M|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  2.66M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (22980:28): [True: 2.64M, False: 19.8k]
  ------------------
22981|  19.8k|    PyMem_Free(_children);
22982|  19.8k|    p->level--;
22983|  19.8k|    return _seq;
22984|  19.8k|}
parser.c:_tmp_181_rule:
25953|  2.91M|{
25954|  2.91M|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  5.83M|#  define MAXSTACK 6000
  ------------------
  |  Branch (25954:9): [True: 0, False: 2.91M]
  |  Branch (25954:35): [True: 0, False: 2.91M]
  ------------------
25955|      0|        _Pypegen_stack_overflow(p);
25956|      0|    }
25957|  2.91M|    if (p->error_indicator) {
  ------------------
  |  Branch (25957:9): [True: 0, False: 2.91M]
  ------------------
25958|      0|        p->level--;
25959|      0|        return NULL;
25960|      0|    }
25961|  2.91M|    void * _res = NULL;
25962|  2.91M|    int _mark = p->mark;
25963|  2.91M|    { // ',' star_expression
25964|  2.91M|        if (p->error_indicator) {
  ------------------
  |  Branch (25964:13): [True: 0, False: 2.91M]
  ------------------
25965|      0|            p->level--;
25966|      0|            return NULL;
25967|      0|        }
25968|  2.91M|        D(fprintf(stderr, "%*c> _tmp_181[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_expression"));
25969|  2.91M|        Token * _literal;
25970|  2.91M|        expr_ty c;
25971|  2.91M|        if (
25972|  2.91M|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (25972:13): [True: 2.65M, False: 258k]
  ------------------
25973|  2.65M|            &&
25974|  2.65M|            (c = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (25974:13): [True: 2.64M, False: 6.42k]
  ------------------
25975|  2.91M|        )
25976|  2.64M|        {
25977|  2.64M|            D(fprintf(stderr, "%*c+ _tmp_181[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' star_expression"));
25978|  2.64M|            _res = c;
25979|  2.64M|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25979:18): [True: 0, False: 2.64M]
  |  Branch (25979:34): [True: 0, False: 2.64M]
  |  Branch (25979:57): [True: 0, False: 0]
  ------------------
25980|      0|                p->error_indicator = 1;
25981|      0|                p->level--;
25982|      0|                return NULL;
25983|      0|            }
25984|  2.64M|            goto done;
25985|  2.64M|        }
25986|   265k|        p->mark = _mark;
25987|   265k|        D(fprintf(stderr, "%*c%s _tmp_181[%d-%d]: %s failed!\n", p->level, ' ',
25988|   265k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_expression"));
25989|   265k|    }
25990|   265k|    _res = NULL;
25991|  2.91M|  done:
25992|  2.91M|    p->level--;
25993|  2.91M|    return _res;
25994|   265k|}
parser.c:_gather_58_rule:
23056|  7.94k|{
23057|  7.94k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  15.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23057:9): [True: 0, False: 7.94k]
  |  Branch (23057:35): [True: 0, False: 7.94k]
  ------------------
23058|      0|        _Pypegen_stack_overflow(p);
23059|      0|    }
23060|  7.94k|    if (p->error_indicator) {
  ------------------
  |  Branch (23060:9): [True: 0, False: 7.94k]
  ------------------
23061|      0|        p->level--;
23062|      0|        return NULL;
23063|      0|    }
23064|  7.94k|    asdl_seq * _res = NULL;
23065|  7.94k|    int _mark = p->mark;
23066|  7.94k|    { // star_named_expression _loop0_57
23067|  7.94k|        if (p->error_indicator) {
  ------------------
  |  Branch (23067:13): [True: 0, False: 7.94k]
  ------------------
23068|      0|            p->level--;
23069|      0|            return NULL;
23070|      0|        }
23071|  7.94k|        D(fprintf(stderr, "%*c> _gather_58[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression _loop0_57"));
23072|  7.94k|        expr_ty elem;
23073|  7.94k|        asdl_seq * seq;
23074|  7.94k|        if (
23075|  7.94k|            (elem = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  |  471|  7.94k|#define star_named_expression_rule _PyPegen_star_named_expression_rule
  ------------------
  |  Branch (23075:13): [True: 4.96k, False: 2.97k]
  ------------------
23076|  4.96k|            &&
23077|  4.96k|            (seq = _loop0_57_rule(p))  // _loop0_57
  ------------------
  |  Branch (23077:13): [True: 4.96k, False: 0]
  ------------------
23078|  7.94k|        )
23079|  4.96k|        {
23080|  4.96k|            D(fprintf(stderr, "%*c+ _gather_58[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression _loop0_57"));
23081|  4.96k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
23082|  4.96k|            goto done;
23083|  4.96k|        }
23084|  2.97k|        p->mark = _mark;
23085|  2.97k|        D(fprintf(stderr, "%*c%s _gather_58[%d-%d]: %s failed!\n", p->level, ' ',
23086|  2.97k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression _loop0_57"));
23087|  2.97k|    }
23088|  2.97k|    _res = NULL;
23089|  7.94k|  done:
23090|  7.94k|    p->level--;
23091|  7.94k|    return _res;
23092|  2.97k|}
parser.c:_loop0_57_rule:
22989|  4.96k|{
22990|  4.96k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  9.93k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22990:9): [True: 0, False: 4.96k]
  |  Branch (22990:35): [True: 0, False: 4.96k]
  ------------------
22991|      0|        _Pypegen_stack_overflow(p);
22992|      0|    }
22993|  4.96k|    if (p->error_indicator) {
  ------------------
  |  Branch (22993:9): [True: 0, False: 4.96k]
  ------------------
22994|      0|        p->level--;
22995|      0|        return NULL;
22996|      0|    }
22997|  4.96k|    void *_res = NULL;
22998|  4.96k|    int _mark = p->mark;
22999|  4.96k|    void **_children = NULL;
23000|  4.96k|    Py_ssize_t _children_capacity = 0;
23001|  4.96k|    Py_ssize_t _n = 0;
23002|  4.96k|    { // ',' star_named_expression
23003|  4.96k|        if (p->error_indicator) {
  ------------------
  |  Branch (23003:13): [True: 0, False: 4.96k]
  ------------------
23004|      0|            p->level--;
23005|      0|            return NULL;
23006|      0|        }
23007|  4.96k|        D(fprintf(stderr, "%*c> _loop0_57[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_named_expression"));
23008|  4.96k|        Token * _literal;
23009|  4.96k|        expr_ty elem;
23010|  4.96k|        while (
23011|  16.9k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (23011:13): [True: 12.7k, False: 4.14k]
  ------------------
23012|  12.7k|            &&
23013|  12.7k|            (elem = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  |  471|  12.7k|#define star_named_expression_rule _PyPegen_star_named_expression_rule
  ------------------
  |  Branch (23013:13): [True: 11.9k, False: 820]
  ------------------
23014|  4.96k|        )
23015|  11.9k|        {
23016|  11.9k|            _res = elem;
23017|  11.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23017:18): [True: 0, False: 11.9k]
  |  Branch (23017:34): [True: 0, False: 11.9k]
  |  Branch (23017:57): [True: 0, False: 0]
  ------------------
23018|      0|                p->error_indicator = 1;
23019|      0|                PyMem_Free(_children);
23020|      0|                p->level--;
23021|      0|                return NULL;
23022|      0|            }
23023|  11.9k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23023:17): [True: 3.70k, False: 8.26k]
  ------------------
23024|  3.70k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23024:21): [True: 0, False: 3.70k]
  ------------------
23025|      0|                    p->error_indicator = 1;
23026|      0|                    PyErr_NoMemory();
23027|      0|                    PyMem_Free(_children);
23028|      0|                    p->level--;
23029|      0|                    return NULL;
23030|      0|                }
23031|  3.70k|            }
23032|  11.9k|            _children[_n++] = _res;
23033|  11.9k|            _mark = p->mark;
23034|  11.9k|        }
23035|  4.96k|        p->mark = _mark;
23036|  4.96k|        D(fprintf(stderr, "%*c%s _loop0_57[%d-%d]: %s failed!\n", p->level, ' ',
23037|  4.96k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_named_expression"));
23038|  4.96k|    }
23039|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23040|  4.96k|    if (!_seq) {
  ------------------
  |  Branch (23040:9): [True: 0, False: 4.96k]
  ------------------
23041|      0|        p->error_indicator = 1;
23042|      0|        PyErr_NoMemory();
23043|      0|        PyMem_Free(_children);
23044|      0|        p->level--;
23045|      0|        return NULL;
23046|      0|    }
23047|  16.9k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  11.9k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  16.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23047:28): [True: 11.9k, False: 4.96k]
  ------------------
23048|  4.96k|    PyMem_Free(_children);
23049|  4.96k|    p->level--;
23050|  4.96k|    return _seq;
23051|  4.96k|}
parser.c:_loop1_59_rule:
23097|   292k|{
23098|   292k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   585k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23098:9): [True: 0, False: 292k]
  |  Branch (23098:35): [True: 0, False: 292k]
  ------------------
23099|      0|        _Pypegen_stack_overflow(p);
23100|      0|    }
23101|   292k|    if (p->error_indicator) {
  ------------------
  |  Branch (23101:9): [True: 0, False: 292k]
  ------------------
23102|      0|        p->level--;
23103|      0|        return NULL;
23104|      0|    }
23105|   292k|    void *_res = NULL;
23106|   292k|    int _mark = p->mark;
23107|   292k|    void **_children = NULL;
23108|   292k|    Py_ssize_t _children_capacity = 0;
23109|   292k|    Py_ssize_t _n = 0;
23110|   292k|    { // ('or' conjunction)
23111|   292k|        if (p->error_indicator) {
  ------------------
  |  Branch (23111:13): [True: 0, False: 292k]
  ------------------
23112|      0|            p->level--;
23113|      0|            return NULL;
23114|      0|        }
23115|   292k|        D(fprintf(stderr, "%*c> _loop1_59[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('or' conjunction)"));
23116|   292k|        void *_tmp_182_var;
23117|   292k|        while (
23118|   296k|            (_tmp_182_var = _tmp_182_rule(p))  // 'or' conjunction
  ------------------
  |  Branch (23118:13): [True: 3.64k, False: 292k]
  ------------------
23119|   292k|        )
23120|  3.64k|        {
23121|  3.64k|            _res = _tmp_182_var;
23122|  3.64k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23122:17): [True: 2.83k, False: 811]
  ------------------
23123|  2.83k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23123:21): [True: 0, False: 2.83k]
  ------------------
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|  2.83k|            }
23131|  3.64k|            _children[_n++] = _res;
23132|  3.64k|            _mark = p->mark;
23133|  3.64k|        }
23134|   292k|        p->mark = _mark;
23135|   292k|        D(fprintf(stderr, "%*c%s _loop1_59[%d-%d]: %s failed!\n", p->level, ' ',
23136|   292k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('or' conjunction)"));
23137|   292k|    }
23138|   292k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (23138:9): [True: 290k, False: 2.14k]
  |  Branch (23138:20): [True: 38, False: 2.10k]
  ------------------
23139|   290k|        PyMem_Free(_children);
23140|   290k|        p->level--;
23141|   290k|        return NULL;
23142|   290k|    }
23143|  2.10k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23144|  2.10k|    if (!_seq) {
  ------------------
  |  Branch (23144:9): [True: 0, False: 2.10k]
  ------------------
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|  5.70k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  3.59k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  5.70k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23151:28): [True: 3.59k, False: 2.10k]
  ------------------
23152|  2.10k|    PyMem_Free(_children);
23153|  2.10k|    p->level--;
23154|  2.10k|    return _seq;
23155|  2.10k|}
parser.c:_tmp_182_rule:
25999|   296k|{
26000|   296k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   593k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26000:9): [True: 0, False: 296k]
  |  Branch (26000:35): [True: 0, False: 296k]
  ------------------
26001|      0|        _Pypegen_stack_overflow(p);
26002|      0|    }
26003|   296k|    if (p->error_indicator) {
  ------------------
  |  Branch (26003:9): [True: 0, False: 296k]
  ------------------
26004|      0|        p->level--;
26005|      0|        return NULL;
26006|      0|    }
26007|   296k|    void * _res = NULL;
26008|   296k|    int _mark = p->mark;
26009|   296k|    { // 'or' conjunction
26010|   296k|        if (p->error_indicator) {
  ------------------
  |  Branch (26010:13): [True: 0, False: 296k]
  ------------------
26011|      0|            p->level--;
26012|      0|            return NULL;
26013|      0|        }
26014|   296k|        D(fprintf(stderr, "%*c> _tmp_182[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'or' conjunction"));
26015|   296k|        Token * _keyword;
26016|   296k|        expr_ty c;
26017|   296k|        if (
26018|   296k|            (_keyword = _PyPegen_expect_token(p, 529))  // token='or'
  ------------------
  |  Branch (26018:13): [True: 4.03k, False: 292k]
  ------------------
26019|  4.03k|            &&
26020|  4.03k|            (c = conjunction_rule(p))  // conjunction
  ------------------
  |  Branch (26020:13): [True: 3.64k, False: 394]
  ------------------
26021|   296k|        )
26022|  3.64k|        {
26023|  3.64k|            D(fprintf(stderr, "%*c+ _tmp_182[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'or' conjunction"));
26024|  3.64k|            _res = c;
26025|  3.64k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26025:18): [True: 0, False: 3.64k]
  |  Branch (26025:34): [True: 0, False: 3.64k]
  |  Branch (26025:57): [True: 0, False: 0]
  ------------------
26026|      0|                p->error_indicator = 1;
26027|      0|                p->level--;
26028|      0|                return NULL;
26029|      0|            }
26030|  3.64k|            goto done;
26031|  3.64k|        }
26032|   292k|        p->mark = _mark;
26033|   292k|        D(fprintf(stderr, "%*c%s _tmp_182[%d-%d]: %s failed!\n", p->level, ' ',
26034|   292k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'or' conjunction"));
26035|   292k|    }
26036|   292k|    _res = NULL;
26037|   296k|  done:
26038|   296k|    p->level--;
26039|   296k|    return _res;
26040|   292k|}
parser.c:_loop0_70_rule:
23768|   118k|{
23769|   118k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   237k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23769:9): [True: 0, False: 118k]
  |  Branch (23769:35): [True: 0, False: 118k]
  ------------------
23770|      0|        _Pypegen_stack_overflow(p);
23771|      0|    }
23772|   118k|    if (p->error_indicator) {
  ------------------
  |  Branch (23772:9): [True: 0, False: 118k]
  ------------------
23773|      0|        p->level--;
23774|      0|        return NULL;
23775|      0|    }
23776|   118k|    void *_res = NULL;
23777|   118k|    int _mark = p->mark;
23778|   118k|    void **_children = NULL;
23779|   118k|    Py_ssize_t _children_capacity = 0;
23780|   118k|    Py_ssize_t _n = 0;
23781|   118k|    { // lambda_param_no_default
23782|   118k|        if (p->error_indicator) {
  ------------------
  |  Branch (23782:13): [True: 0, False: 118k]
  ------------------
23783|      0|            p->level--;
23784|      0|            return NULL;
23785|      0|        }
23786|   118k|        D(fprintf(stderr, "%*c> _loop0_70[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
23787|   118k|        arg_ty lambda_param_no_default_var;
23788|   118k|        while (
23789|   143k|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  497|   143k|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (23789:13): [True: 24.8k, False: 118k]
  ------------------
23790|   118k|        )
23791|  24.8k|        {
23792|  24.8k|            _res = lambda_param_no_default_var;
23793|  24.8k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23793:17): [True: 22.8k, False: 2.03k]
  ------------------
23794|  22.8k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23794:21): [True: 0, False: 22.8k]
  ------------------
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|  22.8k|            }
23802|  24.8k|            _children[_n++] = _res;
23803|  24.8k|            _mark = p->mark;
23804|  24.8k|        }
23805|   118k|        p->mark = _mark;
23806|   118k|        D(fprintf(stderr, "%*c%s _loop0_70[%d-%d]: %s failed!\n", p->level, ' ',
23807|   118k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
23808|   118k|    }
23809|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23810|   118k|    if (!_seq) {
  ------------------
  |  Branch (23810:9): [True: 0, False: 118k]
  ------------------
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|   143k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  24.8k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|   143k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23817:28): [True: 24.8k, False: 118k]
  ------------------
23818|   118k|    PyMem_Free(_children);
23819|   118k|    p->level--;
23820|   118k|    return _seq;
23821|   118k|}
parser.c:_loop1_72_rule:
23884|   149k|{
23885|   149k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   299k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23885:9): [True: 0, False: 149k]
  |  Branch (23885:35): [True: 0, False: 149k]
  ------------------
23886|      0|        _Pypegen_stack_overflow(p);
23887|      0|    }
23888|   149k|    if (p->error_indicator) {
  ------------------
  |  Branch (23888:9): [True: 0, False: 149k]
  ------------------
23889|      0|        p->level--;
23890|      0|        return NULL;
23891|      0|    }
23892|   149k|    void *_res = NULL;
23893|   149k|    int _mark = p->mark;
23894|   149k|    void **_children = NULL;
23895|   149k|    Py_ssize_t _children_capacity = 0;
23896|   149k|    Py_ssize_t _n = 0;
23897|   149k|    { // lambda_param_no_default
23898|   149k|        if (p->error_indicator) {
  ------------------
  |  Branch (23898:13): [True: 0, False: 149k]
  ------------------
23899|      0|            p->level--;
23900|      0|            return NULL;
23901|      0|        }
23902|   149k|        D(fprintf(stderr, "%*c> _loop1_72[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
23903|   149k|        arg_ty lambda_param_no_default_var;
23904|   149k|        while (
23905|   197k|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  497|   197k|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (23905:13): [True: 48.0k, False: 149k]
  ------------------
23906|   149k|        )
23907|  48.0k|        {
23908|  48.0k|            _res = lambda_param_no_default_var;
23909|  48.0k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23909:17): [True: 44.9k, False: 3.08k]
  ------------------
23910|  44.9k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23910:21): [True: 0, False: 44.9k]
  ------------------
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|  44.9k|            }
23918|  48.0k|            _children[_n++] = _res;
23919|  48.0k|            _mark = p->mark;
23920|  48.0k|        }
23921|   149k|        p->mark = _mark;
23922|   149k|        D(fprintf(stderr, "%*c%s _loop1_72[%d-%d]: %s failed!\n", p->level, ' ',
23923|   149k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
23924|   149k|    }
23925|   149k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (23925:9): [True: 107k, False: 42.0k]
  |  Branch (23925:20): [True: 1, False: 42.0k]
  ------------------
23926|   107k|        PyMem_Free(_children);
23927|   107k|        p->level--;
23928|   107k|        return NULL;
23929|   107k|    }
23930|  42.0k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23931|  42.0k|    if (!_seq) {
  ------------------
  |  Branch (23931:9): [True: 0, False: 42.0k]
  ------------------
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|  90.1k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  48.0k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  90.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (23938:28): [True: 48.0k, False: 42.0k]
  ------------------
23939|  42.0k|    PyMem_Free(_children);
23940|  42.0k|    p->level--;
23941|  42.0k|    return _seq;
23942|  42.0k|}
parser.c:_loop1_73_rule:
23947|   136k|{
23948|   136k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   273k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23948:9): [True: 0, False: 136k]
  |  Branch (23948:35): [True: 0, False: 136k]
  ------------------
23949|      0|        _Pypegen_stack_overflow(p);
23950|      0|    }
23951|   136k|    if (p->error_indicator) {
  ------------------
  |  Branch (23951:9): [True: 0, False: 136k]
  ------------------
23952|      0|        p->level--;
23953|      0|        return NULL;
23954|      0|    }
23955|   136k|    void *_res = NULL;
23956|   136k|    int _mark = p->mark;
23957|   136k|    void **_children = NULL;
23958|   136k|    Py_ssize_t _children_capacity = 0;
23959|   136k|    Py_ssize_t _n = 0;
23960|   136k|    { // lambda_param_with_default
23961|   136k|        if (p->error_indicator) {
  ------------------
  |  Branch (23961:13): [True: 0, False: 136k]
  ------------------
23962|      0|            p->level--;
23963|      0|            return NULL;
23964|      0|        }
23965|   136k|        D(fprintf(stderr, "%*c> _loop1_73[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
23966|   136k|        NameDefaultPair* lambda_param_with_default_var;
23967|   136k|        while (
23968|   159k|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  |  499|   159k|#define lambda_param_with_default_rule _PyPegen_lambda_param_with_default_rule
  ------------------
  |  Branch (23968:13): [True: 23.2k, False: 136k]
  ------------------
23969|   136k|        )
23970|  23.2k|        {
23971|  23.2k|            _res = lambda_param_with_default_var;
23972|  23.2k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (23972:17): [True: 18.1k, False: 5.09k]
  ------------------
23973|  18.1k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (23973:21): [True: 0, False: 18.1k]
  ------------------
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|  18.1k|            }
23981|  23.2k|            _children[_n++] = _res;
23982|  23.2k|            _mark = p->mark;
23983|  23.2k|        }
23984|   136k|        p->mark = _mark;
23985|   136k|        D(fprintf(stderr, "%*c%s _loop1_73[%d-%d]: %s failed!\n", p->level, ' ',
23986|   136k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
23987|   136k|    }
23988|   136k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (23988:9): [True: 123k, False: 13.0k]
  |  Branch (23988:20): [True: 382, False: 12.6k]
  ------------------
23989|   123k|        PyMem_Free(_children);
23990|   123k|        p->level--;
23991|   123k|        return NULL;
23992|   123k|    }
23993|  12.6k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
23994|  12.6k|    if (!_seq) {
  ------------------
  |  Branch (23994:9): [True: 0, False: 12.6k]
  ------------------
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|  35.1k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  22.5k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  35.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24001:28): [True: 22.5k, False: 12.6k]
  ------------------
24002|  12.6k|    PyMem_Free(_children);
24003|  12.6k|    p->level--;
24004|  12.6k|    return _seq;
24005|  12.6k|}
parser.c:_loop0_77_rule:
24189|  19.1k|{
24190|  19.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  38.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24190:9): [True: 0, False: 19.1k]
  |  Branch (24190:35): [True: 0, False: 19.1k]
  ------------------
24191|      0|        _Pypegen_stack_overflow(p);
24192|      0|    }
24193|  19.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (24193:9): [True: 0, False: 19.1k]
  ------------------
24194|      0|        p->level--;
24195|      0|        return NULL;
24196|      0|    }
24197|  19.1k|    void *_res = NULL;
24198|  19.1k|    int _mark = p->mark;
24199|  19.1k|    void **_children = NULL;
24200|  19.1k|    Py_ssize_t _children_capacity = 0;
24201|  19.1k|    Py_ssize_t _n = 0;
24202|  19.1k|    { // fstring_middle
24203|  19.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (24203:13): [True: 0, False: 19.1k]
  ------------------
24204|      0|            p->level--;
24205|      0|            return NULL;
24206|      0|        }
24207|  19.1k|        D(fprintf(stderr, "%*c> _loop0_77[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring_middle"));
24208|  19.1k|        expr_ty fstring_middle_var;
24209|  19.1k|        while (
24210|  57.4k|            (fstring_middle_var = fstring_middle_rule(p))  // fstring_middle
  ------------------
  |  Branch (24210:13): [True: 38.2k, False: 19.1k]
  ------------------
24211|  19.1k|        )
24212|  38.2k|        {
24213|  38.2k|            _res = fstring_middle_var;
24214|  38.2k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24214:17): [True: 18.4k, False: 19.7k]
  ------------------
24215|  18.4k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24215:21): [True: 0, False: 18.4k]
  ------------------
24216|      0|                    p->error_indicator = 1;
24217|      0|                    PyErr_NoMemory();
24218|      0|                    PyMem_Free(_children);
24219|      0|                    p->level--;
24220|      0|                    return NULL;
24221|      0|                }
24222|  18.4k|            }
24223|  38.2k|            _children[_n++] = _res;
24224|  38.2k|            _mark = p->mark;
24225|  38.2k|        }
24226|  19.1k|        p->mark = _mark;
24227|  19.1k|        D(fprintf(stderr, "%*c%s _loop0_77[%d-%d]: %s failed!\n", p->level, ' ',
24228|  19.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring_middle"));
24229|  19.1k|    }
24230|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24231|  19.1k|    if (!_seq) {
  ------------------
  |  Branch (24231:9): [True: 0, False: 19.1k]
  ------------------
24232|      0|        p->error_indicator = 1;
24233|      0|        PyErr_NoMemory();
24234|      0|        PyMem_Free(_children);
24235|      0|        p->level--;
24236|      0|        return NULL;
24237|      0|    }
24238|  57.4k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  38.2k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  57.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24238:28): [True: 38.2k, False: 19.1k]
  ------------------
24239|  19.1k|    PyMem_Free(_children);
24240|  19.1k|    p->level--;
24241|  19.1k|    return _seq;
24242|  19.1k|}
parser.c:fstring_middle_rule:
16249|  57.4k|{
16250|  57.4k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   114k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16250:9): [True: 0, False: 57.4k]
  |  Branch (16250:35): [True: 0, False: 57.4k]
  ------------------
16251|      0|        _Pypegen_stack_overflow(p);
16252|      0|    }
16253|  57.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (16253:9): [True: 0, False: 57.4k]
  ------------------
16254|      0|        p->level--;
16255|      0|        return NULL;
16256|      0|    }
16257|  57.4k|    expr_ty _res = NULL;
16258|  57.4k|    int _mark = p->mark;
16259|  57.4k|    { // fstring_replacement_field
16260|  57.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (16260:13): [True: 0, False: 57.4k]
  ------------------
16261|      0|            p->level--;
16262|      0|            return NULL;
16263|      0|        }
16264|  57.4k|        D(fprintf(stderr, "%*c> fstring_middle[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring_replacement_field"));
16265|  57.4k|        expr_ty fstring_replacement_field_var;
16266|  57.4k|        if (
16267|  57.4k|            (fstring_replacement_field_var = fstring_replacement_field_rule(p))  // fstring_replacement_field
  ------------------
  |  Branch (16267:13): [True: 9.28k, False: 48.1k]
  ------------------
16268|  57.4k|        )
16269|  9.28k|        {
16270|  9.28k|            D(fprintf(stderr, "%*c+ fstring_middle[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "fstring_replacement_field"));
16271|  9.28k|            _res = fstring_replacement_field_var;
16272|  9.28k|            goto done;
16273|  9.28k|        }
16274|  48.1k|        p->mark = _mark;
16275|  48.1k|        D(fprintf(stderr, "%*c%s fstring_middle[%d-%d]: %s failed!\n", p->level, ' ',
16276|  48.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring_replacement_field"));
16277|  48.1k|    }
16278|      0|    { // FSTRING_MIDDLE
16279|  48.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (16279:13): [True: 2.33k, False: 45.8k]
  ------------------
16280|  2.33k|            p->level--;
16281|  2.33k|            return NULL;
16282|  2.33k|        }
16283|  45.8k|        D(fprintf(stderr, "%*c> fstring_middle[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_MIDDLE"));
16284|  45.8k|        Token * t;
16285|  45.8k|        if (
16286|  45.8k|            (t = _PyPegen_expect_token(p, FSTRING_MIDDLE))  // token='FSTRING_MIDDLE'
  ------------------
  |  |   76|  45.8k|#define FSTRING_MIDDLE  60
  ------------------
  |  Branch (16286:13): [True: 28.9k, False: 16.8k]
  ------------------
16287|  45.8k|        )
16288|  28.9k|        {
16289|  28.9k|            D(fprintf(stderr, "%*c+ fstring_middle[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_MIDDLE"));
16290|  28.9k|            _res = _PyPegen_constant_from_token ( p , t );
16291|  28.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16291:18): [True: 28, False: 28.9k]
  |  Branch (16291:34): [True: 0, False: 28.9k]
  |  Branch (16291:57): [True: 28, False: 0]
  ------------------
16292|     28|                p->error_indicator = 1;
16293|     28|                p->level--;
16294|     28|                return NULL;
16295|     28|            }
16296|  28.9k|            goto done;
16297|  28.9k|        }
16298|  16.8k|        p->mark = _mark;
16299|  16.8k|        D(fprintf(stderr, "%*c%s fstring_middle[%d-%d]: %s failed!\n", p->level, ' ',
16300|  16.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_MIDDLE"));
16301|  16.8k|    }
16302|  16.8k|    _res = NULL;
16303|  55.0k|  done:
16304|  55.0k|    p->level--;
16305|  55.0k|    return _res;
16306|  16.8k|}
parser.c:_loop0_79_rule:
24305|  9.90k|{
24306|  9.90k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  19.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24306:9): [True: 0, False: 9.90k]
  |  Branch (24306:35): [True: 0, False: 9.90k]
  ------------------
24307|      0|        _Pypegen_stack_overflow(p);
24308|      0|    }
24309|  9.90k|    if (p->error_indicator) {
  ------------------
  |  Branch (24309:9): [True: 0, False: 9.90k]
  ------------------
24310|      0|        p->level--;
24311|      0|        return NULL;
24312|      0|    }
24313|  9.90k|    void *_res = NULL;
24314|  9.90k|    int _mark = p->mark;
24315|  9.90k|    void **_children = NULL;
24316|  9.90k|    Py_ssize_t _children_capacity = 0;
24317|  9.90k|    Py_ssize_t _n = 0;
24318|  9.90k|    { // tstring_middle
24319|  9.90k|        if (p->error_indicator) {
  ------------------
  |  Branch (24319:13): [True: 0, False: 9.90k]
  ------------------
24320|      0|            p->level--;
24321|      0|            return NULL;
24322|      0|        }
24323|  9.90k|        D(fprintf(stderr, "%*c> _loop0_79[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring_middle"));
24324|  9.90k|        expr_ty tstring_middle_var;
24325|  9.90k|        while (
24326|  23.7k|            (tstring_middle_var = tstring_middle_rule(p))  // tstring_middle
  ------------------
  |  Branch (24326:13): [True: 13.8k, False: 9.90k]
  ------------------
24327|  9.90k|        )
24328|  13.8k|        {
24329|  13.8k|            _res = tstring_middle_var;
24330|  13.8k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24330:17): [True: 5.43k, False: 8.41k]
  ------------------
24331|  5.43k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24331:21): [True: 0, False: 5.43k]
  ------------------
24332|      0|                    p->error_indicator = 1;
24333|      0|                    PyErr_NoMemory();
24334|      0|                    PyMem_Free(_children);
24335|      0|                    p->level--;
24336|      0|                    return NULL;
24337|      0|                }
24338|  5.43k|            }
24339|  13.8k|            _children[_n++] = _res;
24340|  13.8k|            _mark = p->mark;
24341|  13.8k|        }
24342|  9.90k|        p->mark = _mark;
24343|  9.90k|        D(fprintf(stderr, "%*c%s _loop0_79[%d-%d]: %s failed!\n", p->level, ' ',
24344|  9.90k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring_middle"));
24345|  9.90k|    }
24346|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24347|  9.90k|    if (!_seq) {
  ------------------
  |  Branch (24347:9): [True: 0, False: 9.90k]
  ------------------
24348|      0|        p->error_indicator = 1;
24349|      0|        PyErr_NoMemory();
24350|      0|        PyMem_Free(_children);
24351|      0|        p->level--;
24352|      0|        return NULL;
24353|      0|    }
24354|  23.7k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  13.8k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  23.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24354:28): [True: 13.8k, False: 9.90k]
  ------------------
24355|  9.90k|    PyMem_Free(_children);
24356|  9.90k|    p->level--;
24357|  9.90k|    return _seq;
24358|  9.90k|}
parser.c:tstring_middle_rule:
16949|  23.7k|{
16950|  23.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  47.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16950:9): [True: 0, False: 23.7k]
  |  Branch (16950:35): [True: 0, False: 23.7k]
  ------------------
16951|      0|        _Pypegen_stack_overflow(p);
16952|      0|    }
16953|  23.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (16953:9): [True: 0, False: 23.7k]
  ------------------
16954|      0|        p->level--;
16955|      0|        return NULL;
16956|      0|    }
16957|  23.7k|    expr_ty _res = NULL;
16958|  23.7k|    int _mark = p->mark;
16959|  23.7k|    { // tstring_replacement_field
16960|  23.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (16960:13): [True: 0, False: 23.7k]
  ------------------
16961|      0|            p->level--;
16962|      0|            return NULL;
16963|      0|        }
16964|  23.7k|        D(fprintf(stderr, "%*c> tstring_middle[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring_replacement_field"));
16965|  23.7k|        expr_ty tstring_replacement_field_var;
16966|  23.7k|        if (
16967|  23.7k|            (tstring_replacement_field_var = tstring_replacement_field_rule(p))  // tstring_replacement_field
  ------------------
  |  Branch (16967:13): [True: 5.25k, False: 18.4k]
  ------------------
16968|  23.7k|        )
16969|  5.25k|        {
16970|  5.25k|            D(fprintf(stderr, "%*c+ tstring_middle[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tstring_replacement_field"));
16971|  5.25k|            _res = tstring_replacement_field_var;
16972|  5.25k|            goto done;
16973|  5.25k|        }
16974|  18.4k|        p->mark = _mark;
16975|  18.4k|        D(fprintf(stderr, "%*c%s tstring_middle[%d-%d]: %s failed!\n", p->level, ' ',
16976|  18.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring_replacement_field"));
16977|  18.4k|    }
16978|      0|    { // TSTRING_MIDDLE
16979|  18.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (16979:13): [True: 3.98k, False: 14.5k]
  ------------------
16980|  3.98k|            p->level--;
16981|  3.98k|            return NULL;
16982|  3.98k|        }
16983|  14.5k|        D(fprintf(stderr, "%*c> tstring_middle[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_MIDDLE"));
16984|  14.5k|        Token * t;
16985|  14.5k|        if (
16986|  14.5k|            (t = _PyPegen_expect_token(p, TSTRING_MIDDLE))  // token='TSTRING_MIDDLE'
  ------------------
  |  |   79|  14.5k|#define TSTRING_MIDDLE  63
  ------------------
  |  Branch (16986:13): [True: 8.60k, False: 5.90k]
  ------------------
16987|  14.5k|        )
16988|  8.60k|        {
16989|  8.60k|            D(fprintf(stderr, "%*c+ tstring_middle[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_MIDDLE"));
16990|  8.60k|            _res = _PyPegen_constant_from_token ( p , t );
16991|  8.60k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16991:18): [True: 21, False: 8.58k]
  |  Branch (16991:34): [True: 0, False: 8.58k]
  |  Branch (16991:57): [True: 21, False: 0]
  ------------------
16992|     21|                p->error_indicator = 1;
16993|     21|                p->level--;
16994|     21|                return NULL;
16995|     21|            }
16996|  8.58k|            goto done;
16997|  8.60k|        }
16998|  5.90k|        p->mark = _mark;
16999|  5.90k|        D(fprintf(stderr, "%*c%s tstring_middle[%d-%d]: %s failed!\n", p->level, ' ',
17000|  5.90k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_MIDDLE"));
17001|  5.90k|    }
17002|  5.90k|    _res = NULL;
17003|  19.7k|  done:
17004|  19.7k|    p->level--;
17005|  19.7k|    return _res;
17006|  5.90k|}
parser.c:tstring_replacement_field_rule:
16854|  23.7k|{
16855|  23.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  47.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16855:9): [True: 2, False: 23.7k]
  |  Branch (16855:35): [True: 0, False: 23.7k]
  ------------------
16856|      2|        _Pypegen_stack_overflow(p);
16857|      2|    }
16858|  23.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (16858:9): [True: 2, False: 23.7k]
  ------------------
16859|      2|        p->level--;
16860|      2|        return NULL;
16861|      2|    }
16862|  23.7k|    expr_ty _res = NULL;
16863|  23.7k|    int _mark = p->mark;
16864|  23.7k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16864:9): [True: 19.4k, False: 4.27k]
  |  Branch (16864:31): [True: 84, False: 19.3k]
  ------------------
16865|     84|        p->error_indicator = 1;
16866|     84|        p->level--;
16867|     84|        return NULL;
16868|     84|    }
16869|  23.6k|    int _start_lineno = p->tokens[_mark]->lineno;
16870|  23.6k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  23.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 23.6k]
  |  |  ------------------
  ------------------
16871|  23.6k|    int _start_col_offset = p->tokens[_mark]->col_offset;
16872|  23.6k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  23.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 23.6k]
  |  |  ------------------
  ------------------
16873|  23.6k|    { // '{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'
16874|  23.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (16874:13): [True: 0, False: 23.6k]
  ------------------
16875|      0|            p->level--;
16876|      0|            return NULL;
16877|      0|        }
16878|  23.6k|        D(fprintf(stderr, "%*c> tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
16879|  23.6k|        Token * _literal;
16880|  23.6k|        expr_ty a;
16881|  23.6k|        void *conversion;
16882|  23.6k|        void *debug_expr;
16883|  23.6k|        void *format;
16884|  23.6k|        Token * rbrace;
16885|  23.6k|        if (
16886|  23.6k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (16886:13): [True: 10.4k, False: 13.2k]
  ------------------
16887|  10.4k|            &&
16888|  10.4k|            (a = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  403|  10.4k|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (16888:13): [True: 6.47k, False: 3.96k]
  ------------------
16889|  6.47k|            &&
16890|  6.47k|            (debug_expr = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (16890:13): [True: 6.47k, False: 0]
  ------------------
16891|  6.47k|            &&
16892|  6.47k|            (conversion = fstring_conversion_rule(p), !p->error_indicator)  // fstring_conversion?
  ------------------
  |  Branch (16892:13): [True: 6.45k, False: 15]
  ------------------
16893|  6.45k|            &&
16894|  6.45k|            (format = tstring_full_format_spec_rule(p), !p->error_indicator)  // tstring_full_format_spec?
  ------------------
  |  Branch (16894:13): [True: 6.03k, False: 424]
  ------------------
16895|  6.03k|            &&
16896|  6.03k|            (rbrace = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (16896:13): [True: 5.25k, False: 774]
  ------------------
16897|  23.6k|        )
16898|  5.25k|        {
16899|  5.25k|            D(fprintf(stderr, "%*c+ tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
16900|  5.25k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16901|  5.25k|            if (_token == NULL) {
  ------------------
  |  Branch (16901:17): [True: 0, False: 5.25k]
  ------------------
16902|      0|                p->level--;
16903|      0|                return NULL;
16904|      0|            }
16905|  5.25k|            int _end_lineno = _token->end_lineno;
16906|  5.25k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  5.25k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5.25k]
  |  |  ------------------
  ------------------
16907|  5.25k|            int _end_col_offset = _token->end_col_offset;
16908|  5.25k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  5.25k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5.25k]
  |  |  ------------------
  ------------------
16909|  5.25k|            _res = _PyPegen_interpolation ( p , a , debug_expr , conversion , format , rbrace , EXTRA );
  ------------------
  |  |  316|  5.25k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16910|  5.25k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16910:18): [True: 0, False: 5.25k]
  |  Branch (16910:34): [True: 0, False: 5.25k]
  |  Branch (16910:57): [True: 0, False: 0]
  ------------------
16911|      0|                p->error_indicator = 1;
16912|      0|                p->level--;
16913|      0|                return NULL;
16914|      0|            }
16915|  5.25k|            goto done;
16916|  5.25k|        }
16917|  18.4k|        p->mark = _mark;
16918|  18.4k|        D(fprintf(stderr, "%*c%s tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
16919|  18.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
16920|  18.4k|    }
16921|  18.4k|    if (p->call_invalid_rules) { // invalid_tstring_replacement_field
  ------------------
  |  Branch (16921:9): [True: 7.02k, False: 11.3k]
  ------------------
16922|  7.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (16922:13): [True: 3.53k, False: 3.48k]
  ------------------
16923|  3.53k|            p->level--;
16924|  3.53k|            return NULL;
16925|  3.53k|        }
16926|  3.48k|        D(fprintf(stderr, "%*c> tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_tstring_replacement_field"));
16927|  3.48k|        void *invalid_tstring_replacement_field_var;
16928|  3.48k|        if (
16929|  3.48k|            (invalid_tstring_replacement_field_var = invalid_tstring_replacement_field_rule(p))  // invalid_tstring_replacement_field
  ------------------
  |  |  647|  3.48k|#define invalid_tstring_replacement_field_rule _PyPegen_invalid_tstring_replacement_field_rule
  ------------------
  |  Branch (16929:13): [True: 0, False: 3.48k]
  ------------------
16930|  3.48k|        )
16931|      0|        {
16932|      0|            D(fprintf(stderr, "%*c+ tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_tstring_replacement_field"));
16933|      0|            _res = invalid_tstring_replacement_field_var;
16934|      0|            goto done;
16935|      0|        }
16936|  3.48k|        p->mark = _mark;
16937|  3.48k|        D(fprintf(stderr, "%*c%s tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
16938|  3.48k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_tstring_replacement_field"));
16939|  3.48k|    }
16940|  14.8k|    _res = NULL;
16941|  20.1k|  done:
16942|  20.1k|    p->level--;
16943|  20.1k|    return _res;
16944|  14.8k|}
parser.c:tstring_full_format_spec_rule:
16788|  9.60k|{
16789|  9.60k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  19.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16789:9): [True: 0, False: 9.60k]
  |  Branch (16789:35): [True: 0, False: 9.60k]
  ------------------
16790|      0|        _Pypegen_stack_overflow(p);
16791|      0|    }
16792|  9.60k|    if (p->error_indicator) {
  ------------------
  |  Branch (16792:9): [True: 0, False: 9.60k]
  ------------------
16793|      0|        p->level--;
16794|      0|        return NULL;
16795|      0|    }
16796|  9.60k|    ResultTokenWithMetadata* _res = NULL;
16797|  9.60k|    int _mark = p->mark;
16798|  9.60k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16798:9): [True: 1.02k, False: 8.58k]
  |  Branch (16798:31): [True: 0, False: 1.02k]
  ------------------
16799|      0|        p->error_indicator = 1;
16800|      0|        p->level--;
16801|      0|        return NULL;
16802|      0|    }
16803|  9.60k|    int _start_lineno = p->tokens[_mark]->lineno;
16804|  9.60k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  9.60k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 9.60k]
  |  |  ------------------
  ------------------
16805|  9.60k|    int _start_col_offset = p->tokens[_mark]->col_offset;
16806|  9.60k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  9.60k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 9.60k]
  |  |  ------------------
  ------------------
16807|  9.60k|    { // ':' tstring_format_spec*
16808|  9.60k|        if (p->error_indicator) {
  ------------------
  |  Branch (16808:13): [True: 0, False: 9.60k]
  ------------------
16809|      0|            p->level--;
16810|      0|            return NULL;
16811|      0|        }
16812|  9.60k|        D(fprintf(stderr, "%*c> tstring_full_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' tstring_format_spec*"));
16813|  9.60k|        Token * colon;
16814|  9.60k|        asdl_seq * spec;
16815|  9.60k|        if (
16816|  9.60k|            (colon = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (16816:13): [True: 5.76k, False: 3.83k]
  ------------------
16817|  5.76k|            &&
16818|  5.76k|            (spec = _loop0_78_rule(p))  // tstring_format_spec*
  ------------------
  |  Branch (16818:13): [True: 5.76k, False: 0]
  ------------------
16819|  9.60k|        )
16820|  5.76k|        {
16821|  5.76k|            D(fprintf(stderr, "%*c+ tstring_full_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' tstring_format_spec*"));
16822|  5.76k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16823|  5.76k|            if (_token == NULL) {
  ------------------
  |  Branch (16823:17): [True: 0, False: 5.76k]
  ------------------
16824|      0|                p->level--;
16825|      0|                return NULL;
16826|      0|            }
16827|  5.76k|            int _end_lineno = _token->end_lineno;
16828|  5.76k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  5.76k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5.76k]
  |  |  ------------------
  ------------------
16829|  5.76k|            int _end_col_offset = _token->end_col_offset;
16830|  5.76k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  5.76k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 5.76k]
  |  |  ------------------
  ------------------
16831|  5.76k|            _res = _PyPegen_setup_full_format_spec ( p , colon , ( asdl_expr_seq* ) spec , EXTRA );
  ------------------
  |  |  316|  5.76k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16832|  5.76k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16832:18): [True: 0, False: 5.76k]
  |  Branch (16832:34): [True: 604, False: 5.16k]
  |  Branch (16832:57): [True: 541, False: 63]
  ------------------
16833|    541|                p->error_indicator = 1;
16834|    541|                p->level--;
16835|    541|                return NULL;
16836|    541|            }
16837|  5.22k|            goto done;
16838|  5.76k|        }
16839|  3.83k|        p->mark = _mark;
16840|  3.83k|        D(fprintf(stderr, "%*c%s tstring_full_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
16841|  3.83k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' tstring_format_spec*"));
16842|  3.83k|    }
16843|  3.83k|    _res = NULL;
16844|  9.06k|  done:
16845|  9.06k|    p->level--;
16846|  9.06k|    return _res;
16847|  3.83k|}
parser.c:_loop0_78_rule:
24247|  5.76k|{
24248|  5.76k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  11.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24248:9): [True: 0, False: 5.76k]
  |  Branch (24248:35): [True: 0, False: 5.76k]
  ------------------
24249|      0|        _Pypegen_stack_overflow(p);
24250|      0|    }
24251|  5.76k|    if (p->error_indicator) {
  ------------------
  |  Branch (24251:9): [True: 0, False: 5.76k]
  ------------------
24252|      0|        p->level--;
24253|      0|        return NULL;
24254|      0|    }
24255|  5.76k|    void *_res = NULL;
24256|  5.76k|    int _mark = p->mark;
24257|  5.76k|    void **_children = NULL;
24258|  5.76k|    Py_ssize_t _children_capacity = 0;
24259|  5.76k|    Py_ssize_t _n = 0;
24260|  5.76k|    { // tstring_format_spec
24261|  5.76k|        if (p->error_indicator) {
  ------------------
  |  Branch (24261:13): [True: 0, False: 5.76k]
  ------------------
24262|      0|            p->level--;
24263|      0|            return NULL;
24264|      0|        }
24265|  5.76k|        D(fprintf(stderr, "%*c> _loop0_78[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring_format_spec"));
24266|  5.76k|        expr_ty tstring_format_spec_var;
24267|  5.76k|        while (
24268|  15.3k|            (tstring_format_spec_var = tstring_format_spec_rule(p))  // tstring_format_spec
  ------------------
  |  Branch (24268:13): [True: 9.59k, False: 5.76k]
  ------------------
24269|  5.76k|        )
24270|  9.59k|        {
24271|  9.59k|            _res = tstring_format_spec_var;
24272|  9.59k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24272:17): [True: 6.94k, False: 2.65k]
  ------------------
24273|  6.94k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24273:21): [True: 0, False: 6.94k]
  ------------------
24274|      0|                    p->error_indicator = 1;
24275|      0|                    PyErr_NoMemory();
24276|      0|                    PyMem_Free(_children);
24277|      0|                    p->level--;
24278|      0|                    return NULL;
24279|      0|                }
24280|  6.94k|            }
24281|  9.59k|            _children[_n++] = _res;
24282|  9.59k|            _mark = p->mark;
24283|  9.59k|        }
24284|  5.76k|        p->mark = _mark;
24285|  5.76k|        D(fprintf(stderr, "%*c%s _loop0_78[%d-%d]: %s failed!\n", p->level, ' ',
24286|  5.76k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring_format_spec"));
24287|  5.76k|    }
24288|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24289|  5.76k|    if (!_seq) {
  ------------------
  |  Branch (24289:9): [True: 0, False: 5.76k]
  ------------------
24290|      0|        p->error_indicator = 1;
24291|      0|        PyErr_NoMemory();
24292|      0|        PyMem_Free(_children);
24293|      0|        p->level--;
24294|      0|        return NULL;
24295|      0|    }
24296|  15.3k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  9.59k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  15.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24296:28): [True: 9.59k, False: 5.76k]
  ------------------
24297|  5.76k|    PyMem_Free(_children);
24298|  5.76k|    p->level--;
24299|  5.76k|    return _seq;
24300|  5.76k|}
parser.c:tstring_format_spec_rule:
16726|  15.3k|{
16727|  15.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  30.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16727:9): [True: 0, False: 15.3k]
  |  Branch (16727:35): [True: 0, False: 15.3k]
  ------------------
16728|      0|        _Pypegen_stack_overflow(p);
16729|      0|    }
16730|  15.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (16730:9): [True: 0, False: 15.3k]
  ------------------
16731|      0|        p->level--;
16732|      0|        return NULL;
16733|      0|    }
16734|  15.3k|    expr_ty _res = NULL;
16735|  15.3k|    int _mark = p->mark;
16736|  15.3k|    { // TSTRING_MIDDLE
16737|  15.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (16737:13): [True: 0, False: 15.3k]
  ------------------
16738|      0|            p->level--;
16739|      0|            return NULL;
16740|      0|        }
16741|  15.3k|        D(fprintf(stderr, "%*c> tstring_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_MIDDLE"));
16742|  15.3k|        Token * t;
16743|  15.3k|        if (
16744|  15.3k|            (t = _PyPegen_expect_token(p, TSTRING_MIDDLE))  // token='TSTRING_MIDDLE'
  ------------------
  |  |   79|  15.3k|#define TSTRING_MIDDLE  63
  ------------------
  |  Branch (16744:13): [True: 6.90k, False: 8.46k]
  ------------------
16745|  15.3k|        )
16746|  6.90k|        {
16747|  6.90k|            D(fprintf(stderr, "%*c+ tstring_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_MIDDLE"));
16748|  6.90k|            _res = _PyPegen_decoded_constant_from_token ( p , t );
16749|  6.90k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16749:18): [True: 5, False: 6.89k]
  |  Branch (16749:34): [True: 0, False: 6.89k]
  |  Branch (16749:57): [True: 5, False: 0]
  ------------------
16750|      5|                p->error_indicator = 1;
16751|      5|                p->level--;
16752|      5|                return NULL;
16753|      5|            }
16754|  6.89k|            goto done;
16755|  6.90k|        }
16756|  8.46k|        p->mark = _mark;
16757|  8.46k|        D(fprintf(stderr, "%*c%s tstring_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
16758|  8.46k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_MIDDLE"));
16759|  8.46k|    }
16760|      0|    { // tstring_format_spec_replacement_field
16761|  8.46k|        if (p->error_indicator) {
  ------------------
  |  Branch (16761:13): [True: 14, False: 8.45k]
  ------------------
16762|     14|            p->level--;
16763|     14|            return NULL;
16764|     14|        }
16765|  8.45k|        D(fprintf(stderr, "%*c> tstring_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring_format_spec_replacement_field"));
16766|  8.45k|        expr_ty tstring_format_spec_replacement_field_var;
16767|  8.45k|        if (
16768|  8.45k|            (tstring_format_spec_replacement_field_var = tstring_format_spec_replacement_field_rule(p))  // tstring_format_spec_replacement_field
  ------------------
  |  Branch (16768:13): [True: 2.70k, False: 5.74k]
  ------------------
16769|  8.45k|        )
16770|  2.70k|        {
16771|  2.70k|            D(fprintf(stderr, "%*c+ tstring_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tstring_format_spec_replacement_field"));
16772|  2.70k|            _res = tstring_format_spec_replacement_field_var;
16773|  2.70k|            goto done;
16774|  2.70k|        }
16775|  5.74k|        p->mark = _mark;
16776|  5.74k|        D(fprintf(stderr, "%*c%s tstring_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
16777|  5.74k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring_format_spec_replacement_field"));
16778|  5.74k|    }
16779|  5.74k|    _res = NULL;
16780|  15.3k|  done:
16781|  15.3k|    p->level--;
16782|  15.3k|    return _res;
16783|  5.74k|}
parser.c:tstring_format_spec_replacement_field_rule:
16631|  8.45k|{
16632|  8.45k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  16.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16632:9): [True: 0, False: 8.45k]
  |  Branch (16632:35): [True: 0, False: 8.45k]
  ------------------
16633|      0|        _Pypegen_stack_overflow(p);
16634|      0|    }
16635|  8.45k|    if (p->error_indicator) {
  ------------------
  |  Branch (16635:9): [True: 0, False: 8.45k]
  ------------------
16636|      0|        p->level--;
16637|      0|        return NULL;
16638|      0|    }
16639|  8.45k|    expr_ty _res = NULL;
16640|  8.45k|    int _mark = p->mark;
16641|  8.45k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16641:9): [True: 0, False: 8.45k]
  |  Branch (16641:31): [True: 0, False: 0]
  ------------------
16642|      0|        p->error_indicator = 1;
16643|      0|        p->level--;
16644|      0|        return NULL;
16645|      0|    }
16646|  8.45k|    int _start_lineno = p->tokens[_mark]->lineno;
16647|  8.45k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  8.45k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 8.45k]
  |  |  ------------------
  ------------------
16648|  8.45k|    int _start_col_offset = p->tokens[_mark]->col_offset;
16649|  8.45k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  8.45k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 8.45k]
  |  |  ------------------
  ------------------
16650|  8.45k|    { // '{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'
16651|  8.45k|        if (p->error_indicator) {
  ------------------
  |  Branch (16651:13): [True: 0, False: 8.45k]
  ------------------
16652|      0|            p->level--;
16653|      0|            return NULL;
16654|      0|        }
16655|  8.45k|        D(fprintf(stderr, "%*c> tstring_format_spec_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
16656|  8.45k|        Token * _literal;
16657|  8.45k|        expr_ty a;
16658|  8.45k|        void *conversion;
16659|  8.45k|        void *debug_expr;
16660|  8.45k|        void *format;
16661|  8.45k|        Token * rbrace;
16662|  8.45k|        if (
16663|  8.45k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (16663:13): [True: 3.79k, False: 4.65k]
  ------------------
16664|  3.79k|            &&
16665|  3.79k|            (a = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  403|  3.79k|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (16665:13): [True: 3.14k, False: 647]
  ------------------
16666|  3.14k|            &&
16667|  3.14k|            (debug_expr = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (16667:13): [True: 3.14k, False: 0]
  ------------------
16668|  3.14k|            &&
16669|  3.14k|            (conversion = fstring_conversion_rule(p), !p->error_indicator)  // fstring_conversion?
  ------------------
  |  Branch (16669:13): [True: 3.14k, False: 0]
  ------------------
16670|  3.14k|            &&
16671|  3.14k|            (format = tstring_full_format_spec_rule(p), !p->error_indicator)  // tstring_full_format_spec?
  ------------------
  |  Branch (16671:13): [True: 2.96k, False: 180]
  ------------------
16672|  2.96k|            &&
16673|  2.96k|            (rbrace = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (16673:13): [True: 2.70k, False: 264]
  ------------------
16674|  8.45k|        )
16675|  2.70k|        {
16676|  2.70k|            D(fprintf(stderr, "%*c+ tstring_format_spec_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
16677|  2.70k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16678|  2.70k|            if (_token == NULL) {
  ------------------
  |  Branch (16678:17): [True: 0, False: 2.70k]
  ------------------
16679|      0|                p->level--;
16680|      0|                return NULL;
16681|      0|            }
16682|  2.70k|            int _end_lineno = _token->end_lineno;
16683|  2.70k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.70k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.70k]
  |  |  ------------------
  ------------------
16684|  2.70k|            int _end_col_offset = _token->end_col_offset;
16685|  2.70k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  2.70k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.70k]
  |  |  ------------------
  ------------------
16686|  2.70k|            _res = _PyPegen_formatted_value ( p , a , debug_expr , conversion , format , rbrace , EXTRA );
  ------------------
  |  |  316|  2.70k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16687|  2.70k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16687:18): [True: 0, False: 2.70k]
  |  Branch (16687:34): [True: 0, False: 2.70k]
  |  Branch (16687:57): [True: 0, False: 0]
  ------------------
16688|      0|                p->error_indicator = 1;
16689|      0|                p->level--;
16690|      0|                return NULL;
16691|      0|            }
16692|  2.70k|            goto done;
16693|  2.70k|        }
16694|  5.74k|        p->mark = _mark;
16695|  5.74k|        D(fprintf(stderr, "%*c%s tstring_format_spec_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
16696|  5.74k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
16697|  5.74k|    }
16698|  5.74k|    if (p->call_invalid_rules) { // invalid_tstring_replacement_field
  ------------------
  |  Branch (16698:9): [True: 1.16k, False: 4.58k]
  ------------------
16699|  1.16k|        if (p->error_indicator) {
  ------------------
  |  Branch (16699:13): [True: 492, False: 668]
  ------------------
16700|    492|            p->level--;
16701|    492|            return NULL;
16702|    492|        }
16703|    668|        D(fprintf(stderr, "%*c> tstring_format_spec_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_tstring_replacement_field"));
16704|    668|        void *invalid_tstring_replacement_field_var;
16705|    668|        if (
16706|    668|            (invalid_tstring_replacement_field_var = invalid_tstring_replacement_field_rule(p))  // invalid_tstring_replacement_field
  ------------------
  |  |  647|    668|#define invalid_tstring_replacement_field_rule _PyPegen_invalid_tstring_replacement_field_rule
  ------------------
  |  Branch (16706:13): [True: 0, False: 668]
  ------------------
16707|    668|        )
16708|      0|        {
16709|      0|            D(fprintf(stderr, "%*c+ tstring_format_spec_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_tstring_replacement_field"));
16710|      0|            _res = invalid_tstring_replacement_field_var;
16711|      0|            goto done;
16712|      0|        }
16713|    668|        p->mark = _mark;
16714|    668|        D(fprintf(stderr, "%*c%s tstring_format_spec_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
16715|    668|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_tstring_replacement_field"));
16716|    668|    }
16717|  5.25k|    _res = NULL;
16718|  7.96k|  done:
16719|  7.96k|    p->level--;
16720|  7.96k|    return _res;
16721|  5.25k|}
parser.c:_tmp_84_rule:
24597|   151k|{
24598|   151k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   303k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24598:9): [True: 0, False: 151k]
  |  Branch (24598:35): [True: 0, False: 151k]
  ------------------
24599|      0|        _Pypegen_stack_overflow(p);
24600|      0|    }
24601|   151k|    if (p->error_indicator) {
  ------------------
  |  Branch (24601:9): [True: 0, False: 151k]
  ------------------
24602|      0|        p->level--;
24603|      0|        return NULL;
24604|      0|    }
24605|   151k|    void * _res = NULL;
24606|   151k|    int _mark = p->mark;
24607|   151k|    { // display_item ',' display_items?
24608|   151k|        if (p->error_indicator) {
  ------------------
  |  Branch (24608:13): [True: 0, False: 151k]
  ------------------
24609|      0|            p->level--;
24610|      0|            return NULL;
24611|      0|        }
24612|   151k|        D(fprintf(stderr, "%*c> _tmp_84[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "display_item ',' display_items?"));
24613|   151k|        Token * _literal;
24614|   151k|        expr_ty y;
24615|   151k|        void *z;
24616|   151k|        if (
24617|   151k|            (y = display_item_rule(p))  // display_item
  ------------------
  |  Branch (24617:13): [True: 103k, False: 47.9k]
  ------------------
24618|   103k|            &&
24619|   103k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (24619:13): [True: 74.7k, False: 29.2k]
  ------------------
24620|  74.7k|            &&
24621|  74.7k|            (z = display_items_rule(p), !p->error_indicator)  // display_items?
  ------------------
  |  Branch (24621:13): [True: 74.0k, False: 665]
  ------------------
24622|   151k|        )
24623|  74.0k|        {
24624|  74.0k|            D(fprintf(stderr, "%*c+ _tmp_84[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "display_item ',' display_items?"));
24625|  74.0k|            _res = _PyPegen_seq_insert_in_front ( p , y , z );
24626|  74.0k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24626:18): [True: 0, False: 74.0k]
  |  Branch (24626:34): [True: 0, False: 74.0k]
  |  Branch (24626:57): [True: 0, False: 0]
  ------------------
24627|      0|                p->error_indicator = 1;
24628|      0|                p->level--;
24629|      0|                return NULL;
24630|      0|            }
24631|  74.0k|            goto done;
24632|  74.0k|        }
24633|  77.8k|        p->mark = _mark;
24634|  77.8k|        D(fprintf(stderr, "%*c%s _tmp_84[%d-%d]: %s failed!\n", p->level, ' ',
24635|  77.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "display_item ',' display_items?"));
24636|  77.8k|    }
24637|  77.8k|    _res = NULL;
24638|   151k|  done:
24639|   151k|    p->level--;
24640|   151k|    return _res;
24641|  77.8k|}
parser.c:_loop1_87_rule:
24754|   234k|{
24755|   234k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   468k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24755:9): [True: 0, False: 234k]
  |  Branch (24755:35): [True: 0, False: 234k]
  ------------------
24756|      0|        _Pypegen_stack_overflow(p);
24757|      0|    }
24758|   234k|    if (p->error_indicator) {
  ------------------
  |  Branch (24758:9): [True: 0, False: 234k]
  ------------------
24759|      0|        p->level--;
24760|      0|        return NULL;
24761|      0|    }
24762|   234k|    void *_res = NULL;
24763|   234k|    int _mark = p->mark;
24764|   234k|    void **_children = NULL;
24765|   234k|    Py_ssize_t _children_capacity = 0;
24766|   234k|    Py_ssize_t _n = 0;
24767|   234k|    { // for_if_clause
24768|   234k|        if (p->error_indicator) {
  ------------------
  |  Branch (24768:13): [True: 0, False: 234k]
  ------------------
24769|      0|            p->level--;
24770|      0|            return NULL;
24771|      0|        }
24772|   234k|        D(fprintf(stderr, "%*c> _loop1_87[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "for_if_clause"));
24773|   234k|        comprehension_ty for_if_clause_var;
24774|   234k|        while (
24775|   251k|            (for_if_clause_var = for_if_clause_rule(p))  // for_if_clause
  ------------------
  |  Branch (24775:13): [True: 16.7k, False: 234k]
  ------------------
24776|   234k|        )
24777|  16.7k|        {
24778|  16.7k|            _res = for_if_clause_var;
24779|  16.7k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24779:17): [True: 16.0k, False: 731]
  ------------------
24780|  16.0k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24780:21): [True: 0, False: 16.0k]
  ------------------
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|  16.0k|            }
24788|  16.7k|            _children[_n++] = _res;
24789|  16.7k|            _mark = p->mark;
24790|  16.7k|        }
24791|   234k|        p->mark = _mark;
24792|   234k|        D(fprintf(stderr, "%*c%s _loop1_87[%d-%d]: %s failed!\n", p->level, ' ',
24793|   234k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "for_if_clause"));
24794|   234k|    }
24795|   234k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (24795:9): [True: 220k, False: 13.8k]
  |  Branch (24795:20): [True: 73, False: 13.8k]
  ------------------
24796|   220k|        PyMem_Free(_children);
24797|   220k|        p->level--;
24798|   220k|        return NULL;
24799|   220k|    }
24800|  13.8k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24801|  13.8k|    if (!_seq) {
  ------------------
  |  Branch (24801:9): [True: 0, False: 13.8k]
  ------------------
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|  30.4k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  16.6k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  30.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24808:28): [True: 16.6k, False: 13.8k]
  ------------------
24809|  13.8k|    PyMem_Free(_children);
24810|  13.8k|    p->level--;
24811|  13.8k|    return _seq;
24812|  13.8k|}
parser.c:for_if_clause_rule:
17831|   251k|{
17832|   251k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   502k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17832:9): [True: 0, False: 251k]
  |  Branch (17832:35): [True: 0, False: 251k]
  ------------------
17833|      0|        _Pypegen_stack_overflow(p);
17834|      0|    }
17835|   251k|    if (p->error_indicator) {
  ------------------
  |  Branch (17835:9): [True: 36, False: 251k]
  ------------------
17836|     36|        p->level--;
17837|     36|        return NULL;
17838|     36|    }
17839|   251k|    comprehension_ty _res = NULL;
17840|   251k|    int _mark = p->mark;
17841|   251k|    { // 'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*
17842|   251k|        if (p->error_indicator) {
  ------------------
  |  Branch (17842:13): [True: 0, False: 251k]
  ------------------
17843|      0|            p->level--;
17844|      0|            return NULL;
17845|      0|        }
17846|   251k|        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|   251k|        int _cut_var = 0;
17848|   251k|        Token * _keyword;
17849|   251k|        Token * _keyword_1;
17850|   251k|        Token * _keyword_2;
17851|   251k|        expr_ty a;
17852|   251k|        expr_ty b;
17853|   251k|        asdl_expr_seq* c;
17854|   251k|        if (
17855|   251k|            (_keyword = _PyPegen_expect_token(p, 513))  // token='async'
  ------------------
  |  Branch (17855:13): [True: 4.10k, False: 247k]
  ------------------
17856|  4.10k|            &&
17857|  4.10k|            (_keyword_1 = _PyPegen_expect_token(p, 517))  // token='for'
  ------------------
  |  Branch (17857:13): [True: 4.08k, False: 24]
  ------------------
17858|  4.08k|            &&
17859|  4.08k|            (a = star_targets_rule(p))  // star_targets
  ------------------
  |  |  531|  4.08k|#define star_targets_rule _PyPegen_star_targets_rule
  ------------------
  |  Branch (17859:13): [True: 3.61k, False: 469]
  ------------------
17860|  3.61k|            &&
17861|  3.61k|            (_keyword_2 = _PyPegen_expect_token(p, 523))  // token='in'
  ------------------
  |  Branch (17861:13): [True: 3.55k, False: 61]
  ------------------
17862|  3.55k|            &&
17863|  3.55k|            (_cut_var = 1)
  ------------------
  |  Branch (17863:13): [True: 3.55k, False: 0]
  ------------------
17864|  3.55k|            &&
17865|  3.55k|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  477|  3.55k|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (17865:13): [True: 2.90k, False: 648]
  ------------------
17866|  2.90k|            &&
17867|  2.90k|            (c = (asdl_expr_seq*)_loop0_88_rule(p))  // (('if' disjunction))*
  ------------------
  |  Branch (17867:13): [True: 2.90k, False: 0]
  ------------------
17868|   251k|        )
17869|  2.90k|        {
17870|  2.90k|            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|  2.90k|            _res = CHECK_VERSION ( comprehension_ty , 6 , "Async comprehensions are" , _PyAST_comprehension ( a , b , c , 1 , p -> arena ) );
  ------------------
  |  |  354|  2.90k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
17872|  2.90k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17872:18): [True: 0, False: 2.90k]
  |  Branch (17872:34): [True: 27, False: 2.88k]
  |  Branch (17872:57): [True: 21, False: 6]
  ------------------
17873|     21|                p->error_indicator = 1;
17874|     21|                p->level--;
17875|     21|                return NULL;
17876|     21|            }
17877|  2.88k|            goto done;
17878|  2.90k|        }
17879|   248k|        p->mark = _mark;
17880|   248k|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
17881|   248k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17882|   248k|        if (_cut_var) {
  ------------------
  |  Branch (17882:13): [True: 648, False: 247k]
  ------------------
17883|    648|            p->level--;
17884|    648|            return NULL;
17885|    648|        }
17886|   248k|    }
17887|   247k|    { // 'for' star_targets 'in' ~ disjunction (('if' disjunction))*
17888|   247k|        if (p->error_indicator) {
  ------------------
  |  Branch (17888:13): [True: 180, False: 247k]
  ------------------
17889|    180|            p->level--;
17890|    180|            return NULL;
17891|    180|        }
17892|   247k|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17893|   247k|        int _cut_var = 0;
17894|   247k|        Token * _keyword;
17895|   247k|        Token * _keyword_1;
17896|   247k|        expr_ty a;
17897|   247k|        expr_ty b;
17898|   247k|        asdl_expr_seq* c;
17899|   247k|        if (
17900|   247k|            (_keyword = _PyPegen_expect_token(p, 517))  // token='for'
  ------------------
  |  Branch (17900:13): [True: 17.2k, False: 230k]
  ------------------
17901|  17.2k|            &&
17902|  17.2k|            (a = star_targets_rule(p))  // star_targets
  ------------------
  |  |  531|  17.2k|#define star_targets_rule _PyPegen_star_targets_rule
  ------------------
  |  Branch (17902:13): [True: 15.1k, False: 2.09k]
  ------------------
17903|  15.1k|            &&
17904|  15.1k|            (_keyword_1 = _PyPegen_expect_token(p, 523))  // token='in'
  ------------------
  |  Branch (17904:13): [True: 14.3k, False: 791]
  ------------------
17905|  14.3k|            &&
17906|  14.3k|            (_cut_var = 1)
  ------------------
  |  Branch (17906:13): [True: 14.3k, False: 0]
  ------------------
17907|  14.3k|            &&
17908|  14.3k|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  477|  14.3k|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (17908:13): [True: 13.9k, False: 382]
  ------------------
17909|  13.9k|            &&
17910|  13.9k|            (c = (asdl_expr_seq*)_loop0_88_rule(p))  // (('if' disjunction))*
  ------------------
  |  Branch (17910:13): [True: 13.9k, False: 0]
  ------------------
17911|   247k|        )
17912|  13.9k|        {
17913|  13.9k|            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|  13.9k|            _res = _PyAST_comprehension ( a , b , c , 0 , p -> arena );
17915|  13.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17915:18): [True: 0, False: 13.9k]
  |  Branch (17915:34): [True: 106, False: 13.8k]
  |  Branch (17915:57): [True: 76, False: 30]
  ------------------
17916|     76|                p->error_indicator = 1;
17917|     76|                p->level--;
17918|     76|                return NULL;
17919|     76|            }
17920|  13.8k|            goto done;
17921|  13.9k|        }
17922|   233k|        p->mark = _mark;
17923|   233k|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
17924|   233k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
17925|   233k|        if (_cut_var) {
  ------------------
  |  Branch (17925:13): [True: 382, False: 233k]
  ------------------
17926|    382|            p->level--;
17927|    382|            return NULL;
17928|    382|        }
17929|   233k|    }
17930|   233k|    if (p->call_invalid_rules) { // invalid_for_if_clause
  ------------------
  |  Branch (17930:9): [True: 67.9k, False: 165k]
  ------------------
17931|  67.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (17931:13): [True: 448, False: 67.5k]
  ------------------
17932|    448|            p->level--;
17933|    448|            return NULL;
17934|    448|        }
17935|  67.5k|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_if_clause"));
17936|  67.5k|        void *invalid_for_if_clause_var;
17937|  67.5k|        if (
17938|  67.5k|            (invalid_for_if_clause_var = invalid_for_if_clause_rule(p))  // invalid_for_if_clause
  ------------------
  |  |  581|  67.5k|#define invalid_for_if_clause_rule _PyPegen_invalid_for_if_clause_rule
  ------------------
  |  Branch (17938:13): [True: 0, False: 67.5k]
  ------------------
17939|  67.5k|        )
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|  67.5k|        p->mark = _mark;
17946|  67.5k|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
17947|  67.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_if_clause"));
17948|  67.5k|    }
17949|   232k|    if (p->call_invalid_rules) { // invalid_for_target
  ------------------
  |  Branch (17949:9): [True: 67.5k, False: 165k]
  ------------------
17950|  67.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (17950:13): [True: 662, False: 66.8k]
  ------------------
17951|    662|            p->level--;
17952|    662|            return NULL;
17953|    662|        }
17954|  66.8k|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
17955|  66.8k|        void *invalid_for_target_var;
17956|  66.8k|        if (
17957|  66.8k|            (invalid_for_target_var = invalid_for_target_rule(p))  // invalid_for_target
  ------------------
  |  |  583|  66.8k|#define invalid_for_target_rule _PyPegen_invalid_for_target_rule
  ------------------
  |  Branch (17957:13): [True: 0, False: 66.8k]
  ------------------
17958|  66.8k|        )
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|  66.8k|        p->mark = _mark;
17965|  66.8k|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
17966|  66.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_target"));
17967|  66.8k|    }
17968|   232k|    _res = NULL;
17969|   248k|  done:
17970|   248k|    p->level--;
17971|   248k|    return _res;
17972|   232k|}
parser.c:_loop0_88_rule:
24817|  16.8k|{
24818|  16.8k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  33.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24818:9): [True: 0, False: 16.8k]
  |  Branch (24818:35): [True: 0, False: 16.8k]
  ------------------
24819|      0|        _Pypegen_stack_overflow(p);
24820|      0|    }
24821|  16.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (24821:9): [True: 0, False: 16.8k]
  ------------------
24822|      0|        p->level--;
24823|      0|        return NULL;
24824|      0|    }
24825|  16.8k|    void *_res = NULL;
24826|  16.8k|    int _mark = p->mark;
24827|  16.8k|    void **_children = NULL;
24828|  16.8k|    Py_ssize_t _children_capacity = 0;
24829|  16.8k|    Py_ssize_t _n = 0;
24830|  16.8k|    { // ('if' disjunction)
24831|  16.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (24831:13): [True: 0, False: 16.8k]
  ------------------
24832|      0|            p->level--;
24833|      0|            return NULL;
24834|      0|        }
24835|  16.8k|        D(fprintf(stderr, "%*c> _loop0_88[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('if' disjunction)"));
24836|  16.8k|        void *_tmp_186_var;
24837|  16.8k|        while (
24838|  22.7k|            (_tmp_186_var = _tmp_186_rule(p))  // 'if' disjunction
  ------------------
  |  Branch (24838:13): [True: 5.87k, False: 16.8k]
  ------------------
24839|  16.8k|        )
24840|  5.87k|        {
24841|  5.87k|            _res = _tmp_186_var;
24842|  5.87k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24842:17): [True: 4.76k, False: 1.10k]
  ------------------
24843|  4.76k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24843:21): [True: 0, False: 4.76k]
  ------------------
24844|      0|                    p->error_indicator = 1;
24845|      0|                    PyErr_NoMemory();
24846|      0|                    PyMem_Free(_children);
24847|      0|                    p->level--;
24848|      0|                    return NULL;
24849|      0|                }
24850|  4.76k|            }
24851|  5.87k|            _children[_n++] = _res;
24852|  5.87k|            _mark = p->mark;
24853|  5.87k|        }
24854|  16.8k|        p->mark = _mark;
24855|  16.8k|        D(fprintf(stderr, "%*c%s _loop0_88[%d-%d]: %s failed!\n", p->level, ' ',
24856|  16.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('if' disjunction)"));
24857|  16.8k|    }
24858|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
24859|  16.8k|    if (!_seq) {
  ------------------
  |  Branch (24859:9): [True: 0, False: 16.8k]
  ------------------
24860|      0|        p->error_indicator = 1;
24861|      0|        PyErr_NoMemory();
24862|      0|        PyMem_Free(_children);
24863|      0|        p->level--;
24864|      0|        return NULL;
24865|      0|    }
24866|  22.7k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  5.87k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  22.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (24866:28): [True: 5.87k, False: 16.8k]
  ------------------
24867|  16.8k|    PyMem_Free(_children);
24868|  16.8k|    p->level--;
24869|  16.8k|    return _seq;
24870|  16.8k|}
parser.c:_tmp_186_rule:
26205|  22.7k|{
26206|  22.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  45.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26206:9): [True: 0, False: 22.7k]
  |  Branch (26206:35): [True: 0, False: 22.7k]
  ------------------
26207|      0|        _Pypegen_stack_overflow(p);
26208|      0|    }
26209|  22.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (26209:9): [True: 0, False: 22.7k]
  ------------------
26210|      0|        p->level--;
26211|      0|        return NULL;
26212|      0|    }
26213|  22.7k|    void * _res = NULL;
26214|  22.7k|    int _mark = p->mark;
26215|  22.7k|    { // 'if' disjunction
26216|  22.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (26216:13): [True: 0, False: 22.7k]
  ------------------
26217|      0|            p->level--;
26218|      0|            return NULL;
26219|      0|        }
26220|  22.7k|        D(fprintf(stderr, "%*c> _tmp_186[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' disjunction"));
26221|  22.7k|        Token * _keyword;
26222|  22.7k|        expr_ty z;
26223|  22.7k|        if (
26224|  22.7k|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (26224:13): [True: 6.49k, False: 16.2k]
  ------------------
26225|  6.49k|            &&
26226|  6.49k|            (z = disjunction_rule(p))  // disjunction
  ------------------
  |  |  477|  6.49k|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (26226:13): [True: 5.87k, False: 622]
  ------------------
26227|  22.7k|        )
26228|  5.87k|        {
26229|  5.87k|            D(fprintf(stderr, "%*c+ _tmp_186[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' disjunction"));
26230|  5.87k|            _res = z;
26231|  5.87k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26231:18): [True: 0, False: 5.87k]
  |  Branch (26231:34): [True: 0, False: 5.87k]
  |  Branch (26231:57): [True: 0, False: 0]
  ------------------
26232|      0|                p->error_indicator = 1;
26233|      0|                p->level--;
26234|      0|                return NULL;
26235|      0|            }
26236|  5.87k|            goto done;
26237|  5.87k|        }
26238|  16.8k|        p->mark = _mark;
26239|  16.8k|        D(fprintf(stderr, "%*c%s _tmp_186[%d-%d]: %s failed!\n", p->level, ' ',
26240|  16.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' disjunction"));
26241|  16.8k|    }
26242|  16.8k|    _res = NULL;
26243|  22.7k|  done:
26244|  22.7k|    p->level--;
26245|  22.7k|    return _res;
26246|  16.8k|}
parser.c:_tmp_89_rule:
24875|   200k|{
24876|   200k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   400k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24876:9): [True: 1, False: 200k]
  |  Branch (24876:35): [True: 0, False: 200k]
  ------------------
24877|      1|        _Pypegen_stack_overflow(p);
24878|      1|    }
24879|   200k|    if (p->error_indicator) {
  ------------------
  |  Branch (24879:9): [True: 1, False: 200k]
  ------------------
24880|      1|        p->level--;
24881|      1|        return NULL;
24882|      1|    }
24883|   200k|    void * _res = NULL;
24884|   200k|    int _mark = p->mark;
24885|   200k|    { // assignment_expression
24886|   200k|        if (p->error_indicator) {
  ------------------
  |  Branch (24886:13): [True: 0, False: 200k]
  ------------------
24887|      0|            p->level--;
24888|      0|            return NULL;
24889|      0|        }
24890|   200k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
24891|   200k|        expr_ty assignment_expression_var;
24892|   200k|        if (
24893|   200k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  |  473|   200k|#define assignment_expression_rule _PyPegen_assignment_expression_rule
  ------------------
  |  Branch (24893:13): [True: 574, False: 199k]
  ------------------
24894|   200k|        )
24895|    574|        {
24896|    574|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
24897|    574|            _res = assignment_expression_var;
24898|    574|            goto done;
24899|    574|        }
24900|   199k|        p->mark = _mark;
24901|   199k|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
24902|   199k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
24903|   199k|    }
24904|      0|    { // expression !':='
24905|   199k|        if (p->error_indicator) {
  ------------------
  |  Branch (24905:13): [True: 194, False: 199k]
  ------------------
24906|    194|            p->level--;
24907|    194|            return NULL;
24908|    194|        }
24909|   199k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
24910|   199k|        expr_ty expression_var;
24911|   199k|        if (
24912|   199k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  461|   199k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (24912:13): [True: 126k, False: 72.8k]
  ------------------
24913|   126k|            &&
24914|   126k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (24914:13): [True: 126k, False: 322]
  ------------------
24915|   199k|        )
24916|   126k|        {
24917|   126k|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
24918|   126k|            _res = expression_var;
24919|   126k|            goto done;
24920|   126k|        }
24921|  73.2k|        p->mark = _mark;
24922|  73.2k|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
24923|  73.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
24924|  73.2k|    }
24925|      0|    { // starred_expression
24926|  73.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (24926:13): [True: 8.59k, False: 64.6k]
  ------------------
24927|  8.59k|            p->level--;
24928|  8.59k|            return NULL;
24929|  8.59k|        }
24930|  64.6k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
24931|  64.6k|        expr_ty starred_expression_var;
24932|  64.6k|        if (
24933|  64.6k|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  |  529|  64.6k|#define starred_expression_rule _PyPegen_starred_expression_rule
  ------------------
  |  Branch (24933:13): [True: 5.67k, False: 58.9k]
  ------------------
24934|  64.6k|        )
24935|  5.67k|        {
24936|  5.67k|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
24937|  5.67k|            _res = starred_expression_var;
24938|  5.67k|            goto done;
24939|  5.67k|        }
24940|  58.9k|        p->mark = _mark;
24941|  58.9k|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
24942|  58.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
24943|  58.9k|    }
24944|  58.9k|    _res = NULL;
24945|   191k|  done:
24946|   191k|    p->level--;
24947|   191k|    return _res;
24948|  58.9k|}
parser.c:_gather_91_rule:
25021|  66.6k|{
25022|  66.6k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   133k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25022:9): [True: 0, False: 66.6k]
  |  Branch (25022:35): [True: 0, False: 66.6k]
  ------------------
25023|      0|        _Pypegen_stack_overflow(p);
25024|      0|    }
25025|  66.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (25025:9): [True: 0, False: 66.6k]
  ------------------
25026|      0|        p->level--;
25027|      0|        return NULL;
25028|      0|    }
25029|  66.6k|    asdl_seq * _res = NULL;
25030|  66.6k|    int _mark = p->mark;
25031|  66.6k|    { // (starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90
25032|  66.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (25032:13): [True: 0, False: 66.6k]
  ------------------
25033|      0|            p->level--;
25034|      0|            return NULL;
25035|      0|        }
25036|  66.6k|        D(fprintf(stderr, "%*c> _gather_91[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
25037|  66.6k|        void *elem;
25038|  66.6k|        asdl_seq * seq;
25039|  66.6k|        if (
25040|  66.6k|            (elem = _tmp_187_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (25040:13): [True: 33.0k, False: 33.6k]
  ------------------
25041|  33.0k|            &&
25042|  33.0k|            (seq = _loop0_90_rule(p))  // _loop0_90
  ------------------
  |  Branch (25042:13): [True: 33.0k, False: 0]
  ------------------
25043|  66.6k|        )
25044|  33.0k|        {
25045|  33.0k|            D(fprintf(stderr, "%*c+ _gather_91[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
25046|  33.0k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
25047|  33.0k|            goto done;
25048|  33.0k|        }
25049|  33.6k|        p->mark = _mark;
25050|  33.6k|        D(fprintf(stderr, "%*c%s _gather_91[%d-%d]: %s failed!\n", p->level, ' ',
25051|  33.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
25052|  33.6k|    }
25053|  33.6k|    _res = NULL;
25054|  66.6k|  done:
25055|  66.6k|    p->level--;
25056|  66.6k|    return _res;
25057|  33.6k|}
parser.c:_tmp_187_rule:
26251|  92.9k|{
26252|  92.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   185k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26252:9): [True: 0, False: 92.9k]
  |  Branch (26252:35): [True: 0, False: 92.9k]
  ------------------
26253|      0|        _Pypegen_stack_overflow(p);
26254|      0|    }
26255|  92.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (26255:9): [True: 0, False: 92.9k]
  ------------------
26256|      0|        p->level--;
26257|      0|        return NULL;
26258|      0|    }
26259|  92.9k|    void * _res = NULL;
26260|  92.9k|    int _mark = p->mark;
26261|  92.9k|    { // starred_expression
26262|  92.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (26262:13): [True: 0, False: 92.9k]
  ------------------
26263|      0|            p->level--;
26264|      0|            return NULL;
26265|      0|        }
26266|  92.9k|        D(fprintf(stderr, "%*c> _tmp_187[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
26267|  92.9k|        expr_ty starred_expression_var;
26268|  92.9k|        if (
26269|  92.9k|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  |  529|  92.9k|#define starred_expression_rule _PyPegen_starred_expression_rule
  ------------------
  |  Branch (26269:13): [True: 11.3k, False: 81.5k]
  ------------------
26270|  92.9k|        )
26271|  11.3k|        {
26272|  11.3k|            D(fprintf(stderr, "%*c+ _tmp_187[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
26273|  11.3k|            _res = starred_expression_var;
26274|  11.3k|            goto done;
26275|  11.3k|        }
26276|  81.5k|        p->mark = _mark;
26277|  81.5k|        D(fprintf(stderr, "%*c%s _tmp_187[%d-%d]: %s failed!\n", p->level, ' ',
26278|  81.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
26279|  81.5k|    }
26280|      0|    { // (assignment_expression | expression !':=') !'='
26281|  81.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (26281:13): [True: 213, False: 81.3k]
  ------------------
26282|    213|            p->level--;
26283|    213|            return NULL;
26284|    213|        }
26285|  81.3k|        D(fprintf(stderr, "%*c> _tmp_187[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
26286|  81.3k|        void *_tmp_200_var;
26287|  81.3k|        if (
26288|  81.3k|            (_tmp_200_var = _tmp_200_rule(p))  // assignment_expression | expression !':='
  ------------------
  |  Branch (26288:13): [True: 51.7k, False: 29.5k]
  ------------------
26289|  51.7k|            &&
26290|  51.7k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 22)  // token='='
  ------------------
  |  Branch (26290:13): [True: 39.9k, False: 11.8k]
  ------------------
26291|  81.3k|        )
26292|  39.9k|        {
26293|  39.9k|            D(fprintf(stderr, "%*c+ _tmp_187[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
26294|  39.9k|            _res = _tmp_200_var;
26295|  39.9k|            goto done;
26296|  39.9k|        }
26297|  41.4k|        p->mark = _mark;
26298|  41.4k|        D(fprintf(stderr, "%*c%s _tmp_187[%d-%d]: %s failed!\n", p->level, ' ',
26299|  41.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
26300|  41.4k|    }
26301|  41.4k|    _res = NULL;
26302|  92.7k|  done:
26303|  92.7k|    p->level--;
26304|  92.7k|    return _res;
26305|  41.4k|}
parser.c:_tmp_200_rule:
26356|  81.3k|{
26357|  81.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   162k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26357:9): [True: 0, False: 81.3k]
  |  Branch (26357:35): [True: 0, False: 81.3k]
  ------------------
26358|      0|        _Pypegen_stack_overflow(p);
26359|      0|    }
26360|  81.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (26360:9): [True: 0, False: 81.3k]
  ------------------
26361|      0|        p->level--;
26362|      0|        return NULL;
26363|      0|    }
26364|  81.3k|    void * _res = NULL;
26365|  81.3k|    int _mark = p->mark;
26366|  81.3k|    { // assignment_expression
26367|  81.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (26367:13): [True: 0, False: 81.3k]
  ------------------
26368|      0|            p->level--;
26369|      0|            return NULL;
26370|      0|        }
26371|  81.3k|        D(fprintf(stderr, "%*c> _tmp_200[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
26372|  81.3k|        expr_ty assignment_expression_var;
26373|  81.3k|        if (
26374|  81.3k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  |  473|  81.3k|#define assignment_expression_rule _PyPegen_assignment_expression_rule
  ------------------
  |  Branch (26374:13): [True: 1.12k, False: 80.2k]
  ------------------
26375|  81.3k|        )
26376|  1.12k|        {
26377|  1.12k|            D(fprintf(stderr, "%*c+ _tmp_200[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
26378|  1.12k|            _res = assignment_expression_var;
26379|  1.12k|            goto done;
26380|  1.12k|        }
26381|  80.2k|        p->mark = _mark;
26382|  80.2k|        D(fprintf(stderr, "%*c%s _tmp_200[%d-%d]: %s failed!\n", p->level, ' ',
26383|  80.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
26384|  80.2k|    }
26385|      0|    { // expression !':='
26386|  80.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (26386:13): [True: 195, False: 80.0k]
  ------------------
26387|    195|            p->level--;
26388|    195|            return NULL;
26389|    195|        }
26390|  80.0k|        D(fprintf(stderr, "%*c> _tmp_200[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
26391|  80.0k|        expr_ty expression_var;
26392|  80.0k|        if (
26393|  80.0k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  461|  80.0k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (26393:13): [True: 51.7k, False: 28.2k]
  ------------------
26394|  51.7k|            &&
26395|  51.7k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (26395:13): [True: 50.6k, False: 1.08k]
  ------------------
26396|  80.0k|        )
26397|  50.6k|        {
26398|  50.6k|            D(fprintf(stderr, "%*c+ _tmp_200[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
26399|  50.6k|            _res = expression_var;
26400|  50.6k|            goto done;
26401|  50.6k|        }
26402|  29.3k|        p->mark = _mark;
26403|  29.3k|        D(fprintf(stderr, "%*c%s _tmp_200[%d-%d]: %s failed!\n", p->level, ' ',
26404|  29.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
26405|  29.3k|    }
26406|  29.3k|    _res = NULL;
26407|  81.1k|  done:
26408|  81.1k|    p->level--;
26409|  81.1k|    return _res;
26410|  29.3k|}
parser.c:_loop0_90_rule:
24953|  33.0k|{
24954|  33.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  66.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24954:9): [True: 0, False: 33.0k]
  |  Branch (24954:35): [True: 0, False: 33.0k]
  ------------------
24955|      0|        _Pypegen_stack_overflow(p);
24956|      0|    }
24957|  33.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (24957:9): [True: 0, False: 33.0k]
  ------------------
24958|      0|        p->level--;
24959|      0|        return NULL;
24960|      0|    }
24961|  33.0k|    void *_res = NULL;
24962|  33.0k|    int _mark = p->mark;
24963|  33.0k|    void **_children = NULL;
24964|  33.0k|    Py_ssize_t _children_capacity = 0;
24965|  33.0k|    Py_ssize_t _n = 0;
24966|  33.0k|    { // ',' (starred_expression | (assignment_expression | expression !':=') !'=')
24967|  33.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (24967:13): [True: 0, False: 33.0k]
  ------------------
24968|      0|            p->level--;
24969|      0|            return NULL;
24970|      0|        }
24971|  33.0k|        D(fprintf(stderr, "%*c> _loop0_90[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
24972|  33.0k|        Token * _literal;
24973|  33.0k|        void *elem;
24974|  33.0k|        while (
24975|  51.2k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (24975:13): [True: 26.2k, False: 25.0k]
  ------------------
24976|  26.2k|            &&
24977|  26.2k|            (elem = _tmp_187_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (24977:13): [True: 18.2k, False: 8.00k]
  ------------------
24978|  33.0k|        )
24979|  18.2k|        {
24980|  18.2k|            _res = elem;
24981|  18.2k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24981:18): [True: 0, False: 18.2k]
  |  Branch (24981:34): [True: 0, False: 18.2k]
  |  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|  18.2k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (24987:17): [True: 13.9k, False: 4.33k]
  ------------------
24988|  13.9k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (24988:21): [True: 0, False: 13.9k]
  ------------------
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|  13.9k|            }
24996|  18.2k|            _children[_n++] = _res;
24997|  18.2k|            _mark = p->mark;
24998|  18.2k|        }
24999|  33.0k|        p->mark = _mark;
25000|  33.0k|        D(fprintf(stderr, "%*c%s _loop0_90[%d-%d]: %s failed!\n", p->level, ' ',
25001|  33.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
25002|  33.0k|    }
25003|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
25004|  33.0k|    if (!_seq) {
  ------------------
  |  Branch (25004:9): [True: 0, False: 33.0k]
  ------------------
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|  51.2k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  18.2k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  51.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (25011:28): [True: 18.2k, False: 33.0k]
  ------------------
25012|  33.0k|    PyMem_Free(_children);
25013|  33.0k|    p->level--;
25014|  33.0k|    return _seq;
25015|  33.0k|}
parser.c:_tmp_92_rule:
25062|  33.0k|{
25063|  33.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  66.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25063:9): [True: 0, False: 33.0k]
  |  Branch (25063:35): [True: 0, False: 33.0k]
  ------------------
25064|      0|        _Pypegen_stack_overflow(p);
25065|      0|    }
25066|  33.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (25066:9): [True: 1.41k, False: 31.5k]
  ------------------
25067|  1.41k|        p->level--;
25068|  1.41k|        return NULL;
25069|  1.41k|    }
25070|  31.5k|    void * _res = NULL;
25071|  31.5k|    int _mark = p->mark;
25072|  31.5k|    { // ',' kwargs
25073|  31.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (25073:13): [True: 0, False: 31.5k]
  ------------------
25074|      0|            p->level--;
25075|      0|            return NULL;
25076|      0|        }
25077|  31.5k|        D(fprintf(stderr, "%*c> _tmp_92[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwargs"));
25078|  31.5k|        Token * _literal;
25079|  31.5k|        asdl_seq* k;
25080|  31.5k|        if (
25081|  31.5k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (25081:13): [True: 6.58k, False: 25.0k]
  ------------------
25082|  6.58k|            &&
25083|  6.58k|            (k = kwargs_rule(p))  // kwargs
  ------------------
  |  |  527|  6.58k|#define kwargs_rule _PyPegen_kwargs_rule
  ------------------
  |  Branch (25083:13): [True: 3.46k, False: 3.11k]
  ------------------
25084|  31.5k|        )
25085|  3.46k|        {
25086|  3.46k|            D(fprintf(stderr, "%*c+ _tmp_92[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' kwargs"));
25087|  3.46k|            _res = k;
25088|  3.46k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25088:18): [True: 0, False: 3.46k]
  |  Branch (25088:34): [True: 140, False: 3.32k]
  |  Branch (25088:57): [True: 82, False: 58]
  ------------------
25089|     82|                p->error_indicator = 1;
25090|     82|                p->level--;
25091|     82|                return NULL;
25092|     82|            }
25093|  3.38k|            goto done;
25094|  3.46k|        }
25095|  28.1k|        p->mark = _mark;
25096|  28.1k|        D(fprintf(stderr, "%*c%s _tmp_92[%d-%d]: %s failed!\n", p->level, ' ',
25097|  28.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwargs"));
25098|  28.1k|    }
25099|  28.1k|    _res = NULL;
25100|  31.5k|  done:
25101|  31.5k|    p->level--;
25102|  31.5k|    return _res;
25103|  28.1k|}
parser.c:_gather_94_rule:
25175|  47.9k|{
25176|  47.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  95.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25176:9): [True: 0, False: 47.9k]
  |  Branch (25176:35): [True: 0, False: 47.9k]
  ------------------
25177|      0|        _Pypegen_stack_overflow(p);
25178|      0|    }
25179|  47.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (25179:9): [True: 0, False: 47.9k]
  ------------------
25180|      0|        p->level--;
25181|      0|        return NULL;
25182|      0|    }
25183|  47.9k|    asdl_seq * _res = NULL;
25184|  47.9k|    int _mark = p->mark;
25185|  47.9k|    { // kwarg_or_starred _loop0_93
25186|  47.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (25186:13): [True: 0, False: 47.9k]
  ------------------
25187|      0|            p->level--;
25188|      0|            return NULL;
25189|      0|        }
25190|  47.9k|        D(fprintf(stderr, "%*c> _gather_94[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwarg_or_starred _loop0_93"));
25191|  47.9k|        KeywordOrStarred* elem;
25192|  47.9k|        asdl_seq * seq;
25193|  47.9k|        if (
25194|  47.9k|            (elem = kwarg_or_starred_rule(p))  // kwarg_or_starred
  ------------------
  |  Branch (25194:13): [True: 12.3k, False: 35.6k]
  ------------------
25195|  12.3k|            &&
25196|  12.3k|            (seq = _loop0_93_rule(p))  // _loop0_93
  ------------------
  |  Branch (25196:13): [True: 12.3k, False: 0]
  ------------------
25197|  47.9k|        )
25198|  12.3k|        {
25199|  12.3k|            D(fprintf(stderr, "%*c+ _gather_94[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwarg_or_starred _loop0_93"));
25200|  12.3k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
25201|  12.3k|            goto done;
25202|  12.3k|        }
25203|  35.6k|        p->mark = _mark;
25204|  35.6k|        D(fprintf(stderr, "%*c%s _gather_94[%d-%d]: %s failed!\n", p->level, ' ',
25205|  35.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwarg_or_starred _loop0_93"));
25206|  35.6k|    }
25207|  35.6k|    _res = NULL;
25208|  47.9k|  done:
25209|  47.9k|    p->level--;
25210|  47.9k|    return _res;
25211|  35.6k|}
parser.c:kwarg_or_starred_rule:
18705|  59.5k|{
18706|  59.5k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   119k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18706:9): [True: 0, False: 59.5k]
  |  Branch (18706:35): [True: 0, False: 59.5k]
  ------------------
18707|      0|        _Pypegen_stack_overflow(p);
18708|      0|    }
18709|  59.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (18709:9): [True: 0, False: 59.5k]
  ------------------
18710|      0|        p->level--;
18711|      0|        return NULL;
18712|      0|    }
18713|  59.5k|    KeywordOrStarred* _res = NULL;
18714|  59.5k|    int _mark = p->mark;
18715|  59.5k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18715:9): [True: 4.69k, False: 54.8k]
  |  Branch (18715:31): [True: 2, False: 4.69k]
  ------------------
18716|      2|        p->error_indicator = 1;
18717|      2|        p->level--;
18718|      2|        return NULL;
18719|      2|    }
18720|  59.5k|    int _start_lineno = p->tokens[_mark]->lineno;
18721|  59.5k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  59.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 59.5k]
  |  |  ------------------
  ------------------
18722|  59.5k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18723|  59.5k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  59.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 59.5k]
  |  |  ------------------
  ------------------
18724|  59.5k|    if (p->call_invalid_rules) { // invalid_kwarg
  ------------------
  |  Branch (18724:9): [True: 40.3k, False: 19.1k]
  ------------------
18725|  40.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (18725:13): [True: 0, False: 40.3k]
  ------------------
18726|      0|            p->level--;
18727|      0|            return NULL;
18728|      0|        }
18729|  40.3k|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
18730|  40.3k|        void *invalid_kwarg_var;
18731|  40.3k|        if (
18732|  40.3k|            (invalid_kwarg_var = invalid_kwarg_rule(p))  // invalid_kwarg
  ------------------
  |  |  539|  40.3k|#define invalid_kwarg_rule _PyPegen_invalid_kwarg_rule
  ------------------
  |  Branch (18732:13): [True: 0, False: 40.3k]
  ------------------
18733|  40.3k|        )
18734|      0|        {
18735|      0|            D(fprintf(stderr, "%*c+ kwarg_or_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
18736|      0|            _res = invalid_kwarg_var;
18737|      0|            goto done;
18738|      0|        }
18739|  40.3k|        p->mark = _mark;
18740|  40.3k|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
18741|  40.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kwarg"));
18742|  40.3k|    }
18743|  59.5k|    { // NAME '=' expression
18744|  59.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (18744:13): [True: 931, False: 58.6k]
  ------------------
18745|    931|            p->level--;
18746|    931|            return NULL;
18747|    931|        }
18748|  58.6k|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
18749|  58.6k|        Token * _literal;
18750|  58.6k|        expr_ty a;
18751|  58.6k|        expr_ty b;
18752|  58.6k|        if (
18753|  58.6k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (18753:13): [True: 21.9k, False: 36.6k]
  ------------------
18754|  21.9k|            &&
18755|  21.9k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (18755:13): [True: 18.5k, False: 3.44k]
  ------------------
18756|  18.5k|            &&
18757|  18.5k|            (b = expression_rule(p))  // expression
  ------------------
  |  |  461|  18.5k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (18757:13): [True: 17.4k, False: 1.14k]
  ------------------
18758|  58.6k|        )
18759|  17.4k|        {
18760|  17.4k|            D(fprintf(stderr, "%*c+ kwarg_or_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
18761|  17.4k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18762|  17.4k|            if (_token == NULL) {
  ------------------
  |  Branch (18762:17): [True: 0, False: 17.4k]
  ------------------
18763|      0|                p->level--;
18764|      0|                return NULL;
18765|      0|            }
18766|  17.4k|            int _end_lineno = _token->end_lineno;
18767|  17.4k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  17.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 17.4k]
  |  |  ------------------
  ------------------
18768|  17.4k|            int _end_col_offset = _token->end_col_offset;
18769|  17.4k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  17.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 17.4k]
  |  |  ------------------
  ------------------
18770|  17.4k|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( a -> v . Name . id , b , EXTRA ) ) , 1 );
  ------------------
  |  |  280|  17.4k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
18771|  17.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18771:18): [True: 0, False: 17.4k]
  |  Branch (18771:34): [True: 0, False: 17.4k]
  |  Branch (18771:57): [True: 0, False: 0]
  ------------------
18772|      0|                p->error_indicator = 1;
18773|      0|                p->level--;
18774|      0|                return NULL;
18775|      0|            }
18776|  17.4k|            goto done;
18777|  17.4k|        }
18778|  41.2k|        p->mark = _mark;
18779|  41.2k|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
18780|  41.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression"));
18781|  41.2k|    }
18782|      0|    { // starred_expression
18783|  41.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (18783:13): [True: 341, False: 40.8k]
  ------------------
18784|    341|            p->level--;
18785|    341|            return NULL;
18786|    341|        }
18787|  40.8k|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
18788|  40.8k|        expr_ty a;
18789|  40.8k|        if (
18790|  40.8k|            (a = starred_expression_rule(p))  // starred_expression
  ------------------
  |  |  529|  40.8k|#define starred_expression_rule _PyPegen_starred_expression_rule
  ------------------
  |  Branch (18790:13): [True: 2.22k, False: 38.6k]
  ------------------
18791|  40.8k|        )
18792|  2.22k|        {
18793|  2.22k|            D(fprintf(stderr, "%*c+ kwarg_or_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
18794|  2.22k|            _res = _PyPegen_keyword_or_starred ( p , a , 0 );
18795|  2.22k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18795:18): [True: 0, False: 2.22k]
  |  Branch (18795:34): [True: 0, False: 2.22k]
  |  Branch (18795:57): [True: 0, False: 0]
  ------------------
18796|      0|                p->error_indicator = 1;
18797|      0|                p->level--;
18798|      0|                return NULL;
18799|      0|            }
18800|  2.22k|            goto done;
18801|  2.22k|        }
18802|  38.6k|        p->mark = _mark;
18803|  38.6k|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
18804|  38.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
18805|  38.6k|    }
18806|  38.6k|    _res = NULL;
18807|  58.3k|  done:
18808|  58.3k|    p->level--;
18809|  58.3k|    return _res;
18810|  38.6k|}
parser.c:_loop0_93_rule:
25108|  12.3k|{
25109|  12.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  24.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25109:9): [True: 0, False: 12.3k]
  |  Branch (25109:35): [True: 0, False: 12.3k]
  ------------------
25110|      0|        _Pypegen_stack_overflow(p);
25111|      0|    }
25112|  12.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (25112:9): [True: 0, False: 12.3k]
  ------------------
25113|      0|        p->level--;
25114|      0|        return NULL;
25115|      0|    }
25116|  12.3k|    void *_res = NULL;
25117|  12.3k|    int _mark = p->mark;
25118|  12.3k|    void **_children = NULL;
25119|  12.3k|    Py_ssize_t _children_capacity = 0;
25120|  12.3k|    Py_ssize_t _n = 0;
25121|  12.3k|    { // ',' kwarg_or_starred
25122|  12.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (25122:13): [True: 0, False: 12.3k]
  ------------------
25123|      0|            p->level--;
25124|      0|            return NULL;
25125|      0|        }
25126|  12.3k|        D(fprintf(stderr, "%*c> _loop0_93[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwarg_or_starred"));
25127|  12.3k|        Token * _literal;
25128|  12.3k|        KeywordOrStarred* elem;
25129|  12.3k|        while (
25130|  19.6k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (25130:13): [True: 11.5k, False: 8.04k]
  ------------------
25131|  11.5k|            &&
25132|  11.5k|            (elem = kwarg_or_starred_rule(p))  // kwarg_or_starred
  ------------------
  |  Branch (25132:13): [True: 7.26k, False: 4.32k]
  ------------------
25133|  12.3k|        )
25134|  7.26k|        {
25135|  7.26k|            _res = elem;
25136|  7.26k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25136:18): [True: 0, False: 7.26k]
  |  Branch (25136:34): [True: 0, False: 7.26k]
  |  Branch (25136:57): [True: 0, False: 0]
  ------------------
25137|      0|                p->error_indicator = 1;
25138|      0|                PyMem_Free(_children);
25139|      0|                p->level--;
25140|      0|                return NULL;
25141|      0|            }
25142|  7.26k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (25142:17): [True: 6.18k, False: 1.08k]
  ------------------
25143|  6.18k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (25143:21): [True: 0, False: 6.18k]
  ------------------
25144|      0|                    p->error_indicator = 1;
25145|      0|                    PyErr_NoMemory();
25146|      0|                    PyMem_Free(_children);
25147|      0|                    p->level--;
25148|      0|                    return NULL;
25149|      0|                }
25150|  6.18k|            }
25151|  7.26k|            _children[_n++] = _res;
25152|  7.26k|            _mark = p->mark;
25153|  7.26k|        }
25154|  12.3k|        p->mark = _mark;
25155|  12.3k|        D(fprintf(stderr, "%*c%s _loop0_93[%d-%d]: %s failed!\n", p->level, ' ',
25156|  12.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwarg_or_starred"));
25157|  12.3k|    }
25158|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
25159|  12.3k|    if (!_seq) {
  ------------------
  |  Branch (25159:9): [True: 0, False: 12.3k]
  ------------------
25160|      0|        p->error_indicator = 1;
25161|      0|        PyErr_NoMemory();
25162|      0|        PyMem_Free(_children);
25163|      0|        p->level--;
25164|      0|        return NULL;
25165|      0|    }
25166|  19.6k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  7.26k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  19.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (25166:28): [True: 7.26k, False: 12.3k]
  ------------------
25167|  12.3k|    PyMem_Free(_children);
25168|  12.3k|    p->level--;
25169|  12.3k|    return _seq;
25170|  12.3k|}
parser.c:_tmp_95_rule:
25216|  12.3k|{
25217|  12.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  24.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25217:9): [True: 0, False: 12.3k]
  |  Branch (25217:35): [True: 0, False: 12.3k]
  ------------------
25218|      0|        _Pypegen_stack_overflow(p);
25219|      0|    }
25220|  12.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (25220:9): [True: 626, False: 11.7k]
  ------------------
25221|    626|        p->level--;
25222|    626|        return NULL;
25223|    626|    }
25224|  11.7k|    void * _res = NULL;
25225|  11.7k|    int _mark = p->mark;
25226|  11.7k|    { // ',' ','.kwarg_or_double_starred+
25227|  11.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (25227:13): [True: 0, False: 11.7k]
  ------------------
25228|      0|            p->level--;
25229|      0|            return NULL;
25230|      0|        }
25231|  11.7k|        D(fprintf(stderr, "%*c> _tmp_95[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' ','.kwarg_or_double_starred+"));
25232|  11.7k|        Token * _literal;
25233|  11.7k|        asdl_seq * c;
25234|  11.7k|        if (
25235|  11.7k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (25235:13): [True: 3.69k, False: 8.04k]
  ------------------
25236|  3.69k|            &&
25237|  3.69k|            (c = _gather_97_rule(p))  // ','.kwarg_or_double_starred+
  ------------------
  |  Branch (25237:13): [True: 1.64k, False: 2.05k]
  ------------------
25238|  11.7k|        )
25239|  1.64k|        {
25240|  1.64k|            D(fprintf(stderr, "%*c+ _tmp_95[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' ','.kwarg_or_double_starred+"));
25241|  1.64k|            _res = c;
25242|  1.64k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25242:18): [True: 0, False: 1.64k]
  |  Branch (25242:34): [True: 38, False: 1.60k]
  |  Branch (25242:57): [True: 27, False: 11]
  ------------------
25243|     27|                p->error_indicator = 1;
25244|     27|                p->level--;
25245|     27|                return NULL;
25246|     27|            }
25247|  1.61k|            goto done;
25248|  1.64k|        }
25249|  10.0k|        p->mark = _mark;
25250|  10.0k|        D(fprintf(stderr, "%*c%s _tmp_95[%d-%d]: %s failed!\n", p->level, ' ',
25251|  10.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' ','.kwarg_or_double_starred+"));
25252|  10.0k|    }
25253|  10.0k|    _res = NULL;
25254|  11.7k|  done:
25255|  11.7k|    p->level--;
25256|  11.7k|    return _res;
25257|  10.0k|}
parser.c:_gather_97_rule:
25329|  38.6k|{
25330|  38.6k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  77.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25330:9): [True: 0, False: 38.6k]
  |  Branch (25330:35): [True: 0, False: 38.6k]
  ------------------
25331|      0|        _Pypegen_stack_overflow(p);
25332|      0|    }
25333|  38.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (25333:9): [True: 0, False: 38.6k]
  ------------------
25334|      0|        p->level--;
25335|      0|        return NULL;
25336|      0|    }
25337|  38.6k|    asdl_seq * _res = NULL;
25338|  38.6k|    int _mark = p->mark;
25339|  38.6k|    { // kwarg_or_double_starred _loop0_96
25340|  38.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (25340:13): [True: 0, False: 38.6k]
  ------------------
25341|      0|            p->level--;
25342|      0|            return NULL;
25343|      0|        }
25344|  38.6k|        D(fprintf(stderr, "%*c> _gather_97[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwarg_or_double_starred _loop0_96"));
25345|  38.6k|        KeywordOrStarred* elem;
25346|  38.6k|        asdl_seq * seq;
25347|  38.6k|        if (
25348|  38.6k|            (elem = kwarg_or_double_starred_rule(p))  // kwarg_or_double_starred
  ------------------
  |  Branch (25348:13): [True: 9.26k, False: 29.4k]
  ------------------
25349|  9.26k|            &&
25350|  9.26k|            (seq = _loop0_96_rule(p))  // _loop0_96
  ------------------
  |  Branch (25350:13): [True: 9.26k, False: 0]
  ------------------
25351|  38.6k|        )
25352|  9.26k|        {
25353|  9.26k|            D(fprintf(stderr, "%*c+ _gather_97[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwarg_or_double_starred _loop0_96"));
25354|  9.26k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
25355|  9.26k|            goto done;
25356|  9.26k|        }
25357|  29.4k|        p->mark = _mark;
25358|  29.4k|        D(fprintf(stderr, "%*c%s _gather_97[%d-%d]: %s failed!\n", p->level, ' ',
25359|  29.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwarg_or_double_starred _loop0_96"));
25360|  29.4k|    }
25361|  29.4k|    _res = NULL;
25362|  38.6k|  done:
25363|  38.6k|    p->level--;
25364|  38.6k|    return _res;
25365|  29.4k|}
parser.c:kwarg_or_double_starred_rule:
18815|  49.1k|{
18816|  49.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  98.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18816:9): [True: 0, False: 49.1k]
  |  Branch (18816:35): [True: 0, False: 49.1k]
  ------------------
18817|      0|        _Pypegen_stack_overflow(p);
18818|      0|    }
18819|  49.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (18819:9): [True: 0, False: 49.1k]
  ------------------
18820|      0|        p->level--;
18821|      0|        return NULL;
18822|      0|    }
18823|  49.1k|    KeywordOrStarred* _res = NULL;
18824|  49.1k|    int _mark = p->mark;
18825|  49.1k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18825:9): [True: 3.56k, False: 45.5k]
  |  Branch (18825:31): [True: 7, False: 3.55k]
  ------------------
18826|      7|        p->error_indicator = 1;
18827|      7|        p->level--;
18828|      7|        return NULL;
18829|      7|    }
18830|  49.1k|    int _start_lineno = p->tokens[_mark]->lineno;
18831|  49.1k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  49.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 49.1k]
  |  |  ------------------
  ------------------
18832|  49.1k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18833|  49.1k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  49.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 49.1k]
  |  |  ------------------
  ------------------
18834|  49.1k|    if (p->call_invalid_rules) { // invalid_kwarg
  ------------------
  |  Branch (18834:9): [True: 34.5k, False: 14.5k]
  ------------------
18835|  34.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (18835:13): [True: 0, False: 34.5k]
  ------------------
18836|      0|            p->level--;
18837|      0|            return NULL;
18838|      0|        }
18839|  34.5k|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
18840|  34.5k|        void *invalid_kwarg_var;
18841|  34.5k|        if (
18842|  34.5k|            (invalid_kwarg_var = invalid_kwarg_rule(p))  // invalid_kwarg
  ------------------
  |  |  539|  34.5k|#define invalid_kwarg_rule _PyPegen_invalid_kwarg_rule
  ------------------
  |  Branch (18842:13): [True: 0, False: 34.5k]
  ------------------
18843|  34.5k|        )
18844|      0|        {
18845|      0|            D(fprintf(stderr, "%*c+ kwarg_or_double_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
18846|      0|            _res = invalid_kwarg_var;
18847|      0|            goto done;
18848|      0|        }
18849|  34.5k|        p->mark = _mark;
18850|  34.5k|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
18851|  34.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kwarg"));
18852|  34.5k|    }
18853|  49.1k|    { // NAME '=' expression
18854|  49.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (18854:13): [True: 637, False: 48.5k]
  ------------------
18855|    637|            p->level--;
18856|    637|            return NULL;
18857|    637|        }
18858|  48.5k|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
18859|  48.5k|        Token * _literal;
18860|  48.5k|        expr_ty a;
18861|  48.5k|        expr_ty b;
18862|  48.5k|        if (
18863|  48.5k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (18863:13): [True: 6.31k, False: 42.1k]
  ------------------
18864|  6.31k|            &&
18865|  6.31k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (18865:13): [True: 2.13k, False: 4.18k]
  ------------------
18866|  2.13k|            &&
18867|  2.13k|            (b = expression_rule(p))  // expression
  ------------------
  |  |  461|  2.13k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (18867:13): [True: 1.14k, False: 984]
  ------------------
18868|  48.5k|        )
18869|  1.14k|        {
18870|  1.14k|            D(fprintf(stderr, "%*c+ kwarg_or_double_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
18871|  1.14k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18872|  1.14k|            if (_token == NULL) {
  ------------------
  |  Branch (18872:17): [True: 0, False: 1.14k]
  ------------------
18873|      0|                p->level--;
18874|      0|                return NULL;
18875|      0|            }
18876|  1.14k|            int _end_lineno = _token->end_lineno;
18877|  1.14k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.14k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.14k]
  |  |  ------------------
  ------------------
18878|  1.14k|            int _end_col_offset = _token->end_col_offset;
18879|  1.14k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  1.14k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.14k]
  |  |  ------------------
  ------------------
18880|  1.14k|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( a -> v . Name . id , b , EXTRA ) ) , 1 );
  ------------------
  |  |  280|  1.14k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
18881|  1.14k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18881:18): [True: 0, False: 1.14k]
  |  Branch (18881:34): [True: 0, False: 1.14k]
  |  Branch (18881:57): [True: 0, False: 0]
  ------------------
18882|      0|                p->error_indicator = 1;
18883|      0|                p->level--;
18884|      0|                return NULL;
18885|      0|            }
18886|  1.14k|            goto done;
18887|  1.14k|        }
18888|  47.3k|        p->mark = _mark;
18889|  47.3k|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
18890|  47.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression"));
18891|  47.3k|    }
18892|      0|    { // '**' expression
18893|  47.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (18893:13): [True: 175, False: 47.1k]
  ------------------
18894|    175|            p->level--;
18895|    175|            return NULL;
18896|    175|        }
18897|  47.1k|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' expression"));
18898|  47.1k|        Token * _literal;
18899|  47.1k|        expr_ty a;
18900|  47.1k|        if (
18901|  47.1k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (18901:13): [True: 16.1k, False: 30.9k]
  ------------------
18902|  16.1k|            &&
18903|  16.1k|            (a = expression_rule(p))  // expression
  ------------------
  |  |  461|  16.1k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (18903:13): [True: 15.9k, False: 247]
  ------------------
18904|  47.1k|        )
18905|  15.9k|        {
18906|  15.9k|            D(fprintf(stderr, "%*c+ kwarg_or_double_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' expression"));
18907|  15.9k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18908|  15.9k|            if (_token == NULL) {
  ------------------
  |  Branch (18908:17): [True: 0, False: 15.9k]
  ------------------
18909|      0|                p->level--;
18910|      0|                return NULL;
18911|      0|            }
18912|  15.9k|            int _end_lineno = _token->end_lineno;
18913|  15.9k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  15.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 15.9k]
  |  |  ------------------
  ------------------
18914|  15.9k|            int _end_col_offset = _token->end_col_offset;
18915|  15.9k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  15.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 15.9k]
  |  |  ------------------
  ------------------
18916|  15.9k|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( NULL , a , EXTRA ) ) , 1 );
  ------------------
  |  |  280|  15.9k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
18917|  15.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18917:18): [True: 0, False: 15.9k]
  |  Branch (18917:34): [True: 0, False: 15.9k]
  |  Branch (18917:57): [True: 0, False: 0]
  ------------------
18918|      0|                p->error_indicator = 1;
18919|      0|                p->level--;
18920|      0|                return NULL;
18921|      0|            }
18922|  15.9k|            goto done;
18923|  15.9k|        }
18924|  31.2k|        p->mark = _mark;
18925|  31.2k|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
18926|  31.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' expression"));
18927|  31.2k|    }
18928|  31.2k|    _res = NULL;
18929|  48.3k|  done:
18930|  48.3k|    p->level--;
18931|  48.3k|    return _res;
18932|  31.2k|}
parser.c:_loop0_96_rule:
25262|  9.26k|{
25263|  9.26k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  18.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25263:9): [True: 0, False: 9.26k]
  |  Branch (25263:35): [True: 0, False: 9.26k]
  ------------------
25264|      0|        _Pypegen_stack_overflow(p);
25265|      0|    }
25266|  9.26k|    if (p->error_indicator) {
  ------------------
  |  Branch (25266:9): [True: 0, False: 9.26k]
  ------------------
25267|      0|        p->level--;
25268|      0|        return NULL;
25269|      0|    }
25270|  9.26k|    void *_res = NULL;
25271|  9.26k|    int _mark = p->mark;
25272|  9.26k|    void **_children = NULL;
25273|  9.26k|    Py_ssize_t _children_capacity = 0;
25274|  9.26k|    Py_ssize_t _n = 0;
25275|  9.26k|    { // ',' kwarg_or_double_starred
25276|  9.26k|        if (p->error_indicator) {
  ------------------
  |  Branch (25276:13): [True: 0, False: 9.26k]
  ------------------
25277|      0|            p->level--;
25278|      0|            return NULL;
25279|      0|        }
25280|  9.26k|        D(fprintf(stderr, "%*c> _loop0_96[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwarg_or_double_starred"));
25281|  9.26k|        Token * _literal;
25282|  9.26k|        KeywordOrStarred* elem;
25283|  9.26k|        while (
25284|  17.0k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (25284:13): [True: 10.4k, False: 6.61k]
  ------------------
25285|  10.4k|            &&
25286|  10.4k|            (elem = kwarg_or_double_starred_rule(p))  // kwarg_or_double_starred
  ------------------
  |  Branch (25286:13): [True: 7.82k, False: 2.65k]
  ------------------
25287|  9.26k|        )
25288|  7.82k|        {
25289|  7.82k|            _res = elem;
25290|  7.82k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25290:18): [True: 0, False: 7.82k]
  |  Branch (25290:34): [True: 0, False: 7.82k]
  |  Branch (25290:57): [True: 0, False: 0]
  ------------------
25291|      0|                p->error_indicator = 1;
25292|      0|                PyMem_Free(_children);
25293|      0|                p->level--;
25294|      0|                return NULL;
25295|      0|            }
25296|  7.82k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (25296:17): [True: 7.41k, False: 418]
  ------------------
25297|  7.41k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (25297:21): [True: 0, False: 7.41k]
  ------------------
25298|      0|                    p->error_indicator = 1;
25299|      0|                    PyErr_NoMemory();
25300|      0|                    PyMem_Free(_children);
25301|      0|                    p->level--;
25302|      0|                    return NULL;
25303|      0|                }
25304|  7.41k|            }
25305|  7.82k|            _children[_n++] = _res;
25306|  7.82k|            _mark = p->mark;
25307|  7.82k|        }
25308|  9.26k|        p->mark = _mark;
25309|  9.26k|        D(fprintf(stderr, "%*c%s _loop0_96[%d-%d]: %s failed!\n", p->level, ' ',
25310|  9.26k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwarg_or_double_starred"));
25311|  9.26k|    }
25312|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
25313|  9.26k|    if (!_seq) {
  ------------------
  |  Branch (25313:9): [True: 0, False: 9.26k]
  ------------------
25314|      0|        p->error_indicator = 1;
25315|      0|        PyErr_NoMemory();
25316|      0|        PyMem_Free(_children);
25317|      0|        p->level--;
25318|      0|        return NULL;
25319|      0|    }
25320|  17.0k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  7.82k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  17.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (25320:28): [True: 7.82k, False: 9.26k]
  ------------------
25321|  9.26k|    PyMem_Free(_children);
25322|  9.26k|    p->level--;
25323|  9.26k|    return _seq;
25324|  9.26k|}
parser.c:_loop0_98_rule:
25370|  39.7k|{
25371|  39.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  79.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25371:9): [True: 0, False: 39.7k]
  |  Branch (25371:35): [True: 0, False: 39.7k]
  ------------------
25372|      0|        _Pypegen_stack_overflow(p);
25373|      0|    }
25374|  39.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (25374:9): [True: 0, False: 39.7k]
  ------------------
25375|      0|        p->level--;
25376|      0|        return NULL;
25377|      0|    }
25378|  39.7k|    void *_res = NULL;
25379|  39.7k|    int _mark = p->mark;
25380|  39.7k|    void **_children = NULL;
25381|  39.7k|    Py_ssize_t _children_capacity = 0;
25382|  39.7k|    Py_ssize_t _n = 0;
25383|  39.7k|    { // (',' star_target)
25384|  39.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (25384:13): [True: 0, False: 39.7k]
  ------------------
25385|      0|            p->level--;
25386|      0|            return NULL;
25387|      0|        }
25388|  39.7k|        D(fprintf(stderr, "%*c> _loop0_98[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' star_target)"));
25389|  39.7k|        void *_tmp_188_var;
25390|  39.7k|        while (
25391|   157k|            (_tmp_188_var = _tmp_188_rule(p))  // ',' star_target
  ------------------
  |  Branch (25391:13): [True: 117k, False: 39.7k]
  ------------------
25392|  39.7k|        )
25393|   117k|        {
25394|   117k|            _res = _tmp_188_var;
25395|   117k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (25395:17): [True: 52.0k, False: 65.5k]
  ------------------
25396|  52.0k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (25396:21): [True: 0, False: 52.0k]
  ------------------
25397|      0|                    p->error_indicator = 1;
25398|      0|                    PyErr_NoMemory();
25399|      0|                    PyMem_Free(_children);
25400|      0|                    p->level--;
25401|      0|                    return NULL;
25402|      0|                }
25403|  52.0k|            }
25404|   117k|            _children[_n++] = _res;
25405|   117k|            _mark = p->mark;
25406|   117k|        }
25407|  39.7k|        p->mark = _mark;
25408|  39.7k|        D(fprintf(stderr, "%*c%s _loop0_98[%d-%d]: %s failed!\n", p->level, ' ',
25409|  39.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' star_target)"));
25410|  39.7k|    }
25411|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
25412|  39.7k|    if (!_seq) {
  ------------------
  |  Branch (25412:9): [True: 0, False: 39.7k]
  ------------------
25413|      0|        p->error_indicator = 1;
25414|      0|        PyErr_NoMemory();
25415|      0|        PyMem_Free(_children);
25416|      0|        p->level--;
25417|      0|        return NULL;
25418|      0|    }
25419|   157k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|   117k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|   157k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (25419:28): [True: 117k, False: 39.7k]
  ------------------
25420|  39.7k|    PyMem_Free(_children);
25421|  39.7k|    p->level--;
25422|  39.7k|    return _seq;
25423|  39.7k|}
parser.c:_tmp_188_rule:
26310|   157k|{
26311|   157k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   314k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26311:9): [True: 0, False: 157k]
  |  Branch (26311:35): [True: 0, False: 157k]
  ------------------
26312|      0|        _Pypegen_stack_overflow(p);
26313|      0|    }
26314|   157k|    if (p->error_indicator) {
  ------------------
  |  Branch (26314:9): [True: 0, False: 157k]
  ------------------
26315|      0|        p->level--;
26316|      0|        return NULL;
26317|      0|    }
26318|   157k|    void * _res = NULL;
26319|   157k|    int _mark = p->mark;
26320|   157k|    { // ',' star_target
26321|   157k|        if (p->error_indicator) {
  ------------------
  |  Branch (26321:13): [True: 0, False: 157k]
  ------------------
26322|      0|            p->level--;
26323|      0|            return NULL;
26324|      0|        }
26325|   157k|        D(fprintf(stderr, "%*c> _tmp_188[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_target"));
26326|   157k|        Token * _literal;
26327|   157k|        expr_ty c;
26328|   157k|        if (
26329|   157k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (26329:13): [True: 139k, False: 17.4k]
  ------------------
26330|   139k|            &&
26331|   139k|            (c = star_target_rule(p))  // star_target
  ------------------
  |  |  533|   139k|#define star_target_rule _PyPegen_star_target_rule
  ------------------
  |  Branch (26331:13): [True: 117k, False: 22.2k]
  ------------------
26332|   157k|        )
26333|   117k|        {
26334|   117k|            D(fprintf(stderr, "%*c+ _tmp_188[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' star_target"));
26335|   117k|            _res = c;
26336|   117k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26336:18): [True: 0, False: 117k]
  |  Branch (26336:34): [True: 0, False: 117k]
  |  Branch (26336:57): [True: 0, False: 0]
  ------------------
26337|      0|                p->error_indicator = 1;
26338|      0|                p->level--;
26339|      0|                return NULL;
26340|      0|            }
26341|   117k|            goto done;
26342|   117k|        }
26343|  39.7k|        p->mark = _mark;
26344|  39.7k|        D(fprintf(stderr, "%*c%s _tmp_188[%d-%d]: %s failed!\n", p->level, ' ',
26345|  39.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_target"));
26346|  39.7k|    }
26347|  39.7k|    _res = NULL;
26348|   157k|  done:
26349|   157k|    p->level--;
26350|   157k|    return _res;
26351|  39.7k|}
parser.c:_tmp_99_rule:
25428|  5.96k|{
25429|  5.96k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  11.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25429:9): [True: 0, False: 5.96k]
  |  Branch (25429:35): [True: 0, False: 5.96k]
  ------------------
25430|      0|        _Pypegen_stack_overflow(p);
25431|      0|    }
25432|  5.96k|    if (p->error_indicator) {
  ------------------
  |  Branch (25432:9): [True: 0, False: 5.96k]
  ------------------
25433|      0|        p->level--;
25434|      0|        return NULL;
25435|      0|    }
25436|  5.96k|    void * _res = NULL;
25437|  5.96k|    int _mark = p->mark;
25438|  5.96k|    { // !'*' star_target
25439|  5.96k|        if (p->error_indicator) {
  ------------------
  |  Branch (25439:13): [True: 0, False: 5.96k]
  ------------------
25440|      0|            p->level--;
25441|      0|            return NULL;
25442|      0|        }
25443|  5.96k|        D(fprintf(stderr, "%*c> _tmp_99[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!'*' star_target"));
25444|  5.96k|        expr_ty star_target_var;
25445|  5.96k|        if (
25446|  5.96k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 16)  // token='*'
  ------------------
  |  Branch (25446:13): [True: 5.95k, False: 2]
  ------------------
25447|  5.95k|            &&
25448|  5.95k|            (star_target_var = star_target_rule(p))  // star_target
  ------------------
  |  |  533|  5.95k|#define star_target_rule _PyPegen_star_target_rule
  ------------------
  |  Branch (25448:13): [True: 4.94k, False: 1.01k]
  ------------------
25449|  5.96k|        )
25450|  4.94k|        {
25451|  4.94k|            D(fprintf(stderr, "%*c+ _tmp_99[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!'*' star_target"));
25452|  4.94k|            _res = star_target_var;
25453|  4.94k|            goto done;
25454|  4.94k|        }
25455|  1.01k|        p->mark = _mark;
25456|  1.01k|        D(fprintf(stderr, "%*c%s _tmp_99[%d-%d]: %s failed!\n", p->level, ' ',
25457|  1.01k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!'*' star_target"));
25458|  1.01k|    }
25459|  1.01k|    _res = NULL;
25460|  5.96k|  done:
25461|  5.96k|    p->level--;
25462|  5.96k|    return _res;
25463|  1.01k|}
parser.c:_tmp_105_rule:
25760|    102|{
25761|    102|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    204|#  define MAXSTACK 6000
  ------------------
  |  Branch (25761:9): [True: 0, False: 102]
  |  Branch (25761:35): [True: 0, False: 102]
  ------------------
25762|      0|        _Pypegen_stack_overflow(p);
25763|      0|    }
25764|    102|    if (p->error_indicator) {
  ------------------
  |  Branch (25764:9): [True: 0, False: 102]
  ------------------
25765|      0|        p->level--;
25766|      0|        return NULL;
25767|      0|    }
25768|    102|    void * _res = NULL;
25769|    102|    int _mark = p->mark;
25770|    102|    { // NEWLINE INDENT
25771|    102|        if (p->error_indicator) {
  ------------------
  |  Branch (25771:13): [True: 0, False: 102]
  ------------------
25772|      0|            p->level--;
25773|      0|            return NULL;
25774|      0|        }
25775|    102|        D(fprintf(stderr, "%*c> _tmp_105[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE INDENT"));
25776|    102|        Token * indent_var;
25777|    102|        Token * newline_var;
25778|    102|        if (
25779|    102|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    102|#define NEWLINE         4
  ------------------
  |  Branch (25779:13): [True: 102, False: 0]
  ------------------
25780|    102|            &&
25781|    102|            (indent_var = _PyPegen_expect_token(p, INDENT))  // token='INDENT'
  ------------------
  |  |   21|    102|#define INDENT          5
  ------------------
  |  Branch (25781:13): [True: 102, False: 0]
  ------------------
25782|    102|        )
25783|    102|        {
25784|    102|            D(fprintf(stderr, "%*c+ _tmp_105[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE INDENT"));
25785|    102|            _res = _PyPegen_dummy_name(p, newline_var, indent_var);
25786|    102|            goto done;
25787|    102|        }
25788|      0|        p->mark = _mark;
25789|      0|        D(fprintf(stderr, "%*c%s _tmp_105[%d-%d]: %s failed!\n", p->level, ' ',
25790|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE INDENT"));
25791|      0|    }
25792|      0|    _res = NULL;
25793|    102|  done:
25794|    102|    p->level--;
25795|    102|    return _res;
25796|      0|}
parser.c:file_rule:
  911|  20.0k|{
  912|  20.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  40.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (912:9): [True: 0, False: 20.0k]
  |  Branch (912:35): [True: 0, False: 20.0k]
  ------------------
  913|      0|        _Pypegen_stack_overflow(p);
  914|      0|    }
  915|  20.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (915:9): [True: 849, False: 19.2k]
  ------------------
  916|    849|        p->level--;
  917|    849|        return NULL;
  918|    849|    }
  919|  19.2k|    mod_ty _res = NULL;
  920|  19.2k|    int _mark = p->mark;
  921|  19.2k|    { // statements? $
  922|  19.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (922:13): [True: 0, False: 19.2k]
  ------------------
  923|      0|            p->level--;
  924|      0|            return NULL;
  925|      0|        }
  926|  19.2k|        D(fprintf(stderr, "%*c> file[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "statements? $"));
  927|  19.2k|        void *a;
  928|  19.2k|        Token * endmarker_var;
  929|  19.2k|        if (
  930|  19.2k|            (a = statements_rule(p), !p->error_indicator)  // statements?
  ------------------
  |  Branch (930:13): [True: 16.7k, False: 2.47k]
  ------------------
  931|  16.7k|            &&
  932|  16.7k|            (endmarker_var = _PyPegen_expect_token(p, ENDMARKER))  // token='ENDMARKER'
  ------------------
  |  |   16|  16.7k|#define ENDMARKER       0
  ------------------
  |  Branch (932:13): [True: 9.91k, False: 6.84k]
  ------------------
  933|  19.2k|        )
  934|  9.91k|        {
  935|  9.91k|            D(fprintf(stderr, "%*c+ file[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "statements? $"));
  936|  9.91k|            _res = _PyPegen_make_module ( p , a );
  937|  9.91k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (937:18): [True: 3, False: 9.90k]
  |  Branch (937:34): [True: 0, False: 9.90k]
  |  Branch (937:57): [True: 3, False: 0]
  ------------------
  938|      3|                p->error_indicator = 1;
  939|      3|                p->level--;
  940|      3|                return NULL;
  941|      3|            }
  942|  9.90k|            goto done;
  943|  9.91k|        }
  944|  9.32k|        p->mark = _mark;
  945|  9.32k|        D(fprintf(stderr, "%*c%s file[%d-%d]: %s failed!\n", p->level, ' ',
  946|  9.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "statements? $"));
  947|  9.32k|    }
  948|  9.32k|    _res = NULL;
  949|  19.2k|  done:
  950|  19.2k|    p->level--;
  951|  19.2k|    return _res;
  952|  9.32k|}
parser.c:interactive_rule:
  957|  8.54k|{
  958|  8.54k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  17.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (958:9): [True: 0, False: 8.54k]
  |  Branch (958:35): [True: 0, False: 8.54k]
  ------------------
  959|      0|        _Pypegen_stack_overflow(p);
  960|      0|    }
  961|  8.54k|    if (p->error_indicator) {
  ------------------
  |  Branch (961:9): [True: 516, False: 8.02k]
  ------------------
  962|    516|        p->level--;
  963|    516|        return NULL;
  964|    516|    }
  965|  8.02k|    mod_ty _res = NULL;
  966|  8.02k|    int _mark = p->mark;
  967|  8.02k|    { // statement_newline
  968|  8.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (968:13): [True: 0, False: 8.02k]
  ------------------
  969|      0|            p->level--;
  970|      0|            return NULL;
  971|      0|        }
  972|  8.02k|        D(fprintf(stderr, "%*c> interactive[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "statement_newline"));
  973|  8.02k|        asdl_stmt_seq* a;
  974|  8.02k|        if (
  975|  8.02k|            (a = statement_newline_rule(p))  // statement_newline
  ------------------
  |  Branch (975:13): [True: 2.76k, False: 5.26k]
  ------------------
  976|  8.02k|        )
  977|  2.76k|        {
  978|  2.76k|            D(fprintf(stderr, "%*c+ interactive[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "statement_newline"));
  979|  2.76k|            _res = _PyAST_Interactive ( a , p -> arena );
  980|  2.76k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (980:18): [True: 0, False: 2.76k]
  |  Branch (980:34): [True: 0, False: 2.76k]
  |  Branch (980:57): [True: 0, False: 0]
  ------------------
  981|      0|                p->error_indicator = 1;
  982|      0|                p->level--;
  983|      0|                return NULL;
  984|      0|            }
  985|  2.76k|            goto done;
  986|  2.76k|        }
  987|  5.26k|        p->mark = _mark;
  988|  5.26k|        D(fprintf(stderr, "%*c%s interactive[%d-%d]: %s failed!\n", p->level, ' ',
  989|  5.26k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "statement_newline"));
  990|  5.26k|    }
  991|  5.26k|    _res = NULL;
  992|  8.02k|  done:
  993|  8.02k|    p->level--;
  994|  8.02k|    return _res;
  995|  5.26k|}
parser.c:statement_newline_rule:
 1263|  8.02k|{
 1264|  8.02k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  16.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1264:9): [True: 0, False: 8.02k]
  |  Branch (1264:35): [True: 0, False: 8.02k]
  ------------------
 1265|      0|        _Pypegen_stack_overflow(p);
 1266|      0|    }
 1267|  8.02k|    if (p->error_indicator) {
  ------------------
  |  Branch (1267:9): [True: 0, False: 8.02k]
  ------------------
 1268|      0|        p->level--;
 1269|      0|        return NULL;
 1270|      0|    }
 1271|  8.02k|    asdl_stmt_seq* _res = NULL;
 1272|  8.02k|    int _mark = p->mark;
 1273|  8.02k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (1273:9): [True: 5.75k, False: 2.26k]
  |  Branch (1273:31): [True: 197, False: 5.56k]
  ------------------
 1274|    197|        p->error_indicator = 1;
 1275|    197|        p->level--;
 1276|    197|        return NULL;
 1277|    197|    }
 1278|  7.82k|    int _start_lineno = p->tokens[_mark]->lineno;
 1279|  7.82k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|  7.82k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 7.82k]
  |  |  ------------------
  ------------------
 1280|  7.82k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 1281|  7.82k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|  7.82k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 7.82k]
  |  |  ------------------
  ------------------
 1282|  7.82k|    { // single_compound_stmt NEWLINE
 1283|  7.82k|        if (p->error_indicator) {
  ------------------
  |  Branch (1283:13): [True: 0, False: 7.82k]
  ------------------
 1284|      0|            p->level--;
 1285|      0|            return NULL;
 1286|      0|        }
 1287|  7.82k|        D(fprintf(stderr, "%*c> statement_newline[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "single_compound_stmt NEWLINE"));
 1288|  7.82k|        asdl_stmt_seq* a;
 1289|  7.82k|        Token * newline_var;
 1290|  7.82k|        if (
 1291|  7.82k|            (a = single_compound_stmt_rule(p))  // single_compound_stmt
  ------------------
  |  Branch (1291:13): [True: 277, False: 7.55k]
  ------------------
 1292|    277|            &&
 1293|    277|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    277|#define NEWLINE         4
  ------------------
  |  Branch (1293:13): [True: 239, False: 38]
  ------------------
 1294|  7.82k|        )
 1295|    239|        {
 1296|    239|            D(fprintf(stderr, "%*c+ statement_newline[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "single_compound_stmt NEWLINE"));
 1297|    239|            _res = a;
 1298|    239|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1298:18): [True: 0, False: 239]
  |  Branch (1298:34): [True: 0, False: 239]
  |  Branch (1298:57): [True: 0, False: 0]
  ------------------
 1299|      0|                p->error_indicator = 1;
 1300|      0|                p->level--;
 1301|      0|                return NULL;
 1302|      0|            }
 1303|    239|            goto done;
 1304|    239|        }
 1305|  7.59k|        p->mark = _mark;
 1306|  7.59k|        D(fprintf(stderr, "%*c%s statement_newline[%d-%d]: %s failed!\n", p->level, ' ',
 1307|  7.59k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "single_compound_stmt NEWLINE"));
 1308|  7.59k|    }
 1309|      0|    { // simple_stmts
 1310|  7.59k|        if (p->error_indicator) {
  ------------------
  |  Branch (1310:13): [True: 190, False: 7.40k]
  ------------------
 1311|    190|            p->level--;
 1312|    190|            return NULL;
 1313|    190|        }
 1314|  7.40k|        D(fprintf(stderr, "%*c> statement_newline[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 1315|  7.40k|        asdl_stmt_seq* simple_stmts_var;
 1316|  7.40k|        if (
 1317|  7.40k|            (simple_stmts_var = simple_stmts_rule(p))  // simple_stmts
  ------------------
  |  Branch (1317:13): [True: 2.52k, False: 4.87k]
  ------------------
 1318|  7.40k|        )
 1319|  2.52k|        {
 1320|  2.52k|            D(fprintf(stderr, "%*c+ statement_newline[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 1321|  2.52k|            _res = simple_stmts_var;
 1322|  2.52k|            goto done;
 1323|  2.52k|        }
 1324|  4.87k|        p->mark = _mark;
 1325|  4.87k|        D(fprintf(stderr, "%*c%s statement_newline[%d-%d]: %s failed!\n", p->level, ' ',
 1326|  4.87k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmts"));
 1327|  4.87k|    }
 1328|      0|    { // NEWLINE
 1329|  4.87k|        if (p->error_indicator) {
  ------------------
  |  Branch (1329:13): [True: 1.18k, False: 3.69k]
  ------------------
 1330|  1.18k|            p->level--;
 1331|  1.18k|            return NULL;
 1332|  1.18k|        }
 1333|  3.69k|        D(fprintf(stderr, "%*c> statement_newline[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
 1334|  3.69k|        Token * newline_var;
 1335|  3.69k|        if (
 1336|  3.69k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  3.69k|#define NEWLINE         4
  ------------------
  |  Branch (1336:13): [True: 0, False: 3.69k]
  ------------------
 1337|  3.69k|        )
 1338|      0|        {
 1339|      0|            D(fprintf(stderr, "%*c+ statement_newline[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
 1340|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 1341|      0|            if (_token == NULL) {
  ------------------
  |  Branch (1341:17): [True: 0, False: 0]
  ------------------
 1342|      0|                p->level--;
 1343|      0|                return NULL;
 1344|      0|            }
 1345|      0|            int _end_lineno = _token->end_lineno;
 1346|      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]
  |  |  ------------------
  ------------------
 1347|      0|            int _end_col_offset = _token->end_col_offset;
 1348|      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]
  |  |  ------------------
  ------------------
 1349|      0|            _res = ( asdl_stmt_seq* ) _PyPegen_singleton_seq ( p , CHECK ( stmt_ty , _PyAST_Pass ( EXTRA ) ) );
  ------------------
  |  |  280|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
 1350|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1350:18): [True: 0, False: 0]
  |  Branch (1350:34): [True: 0, False: 0]
  |  Branch (1350:57): [True: 0, False: 0]
  ------------------
 1351|      0|                p->error_indicator = 1;
 1352|      0|                p->level--;
 1353|      0|                return NULL;
 1354|      0|            }
 1355|      0|            goto done;
 1356|      0|        }
 1357|  3.69k|        p->mark = _mark;
 1358|  3.69k|        D(fprintf(stderr, "%*c%s statement_newline[%d-%d]: %s failed!\n", p->level, ' ',
 1359|  3.69k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
 1360|  3.69k|    }
 1361|      0|    { // $
 1362|  3.69k|        if (p->error_indicator) {
  ------------------
  |  Branch (1362:13): [True: 0, False: 3.69k]
  ------------------
 1363|      0|            p->level--;
 1364|      0|            return NULL;
 1365|      0|        }
 1366|  3.69k|        D(fprintf(stderr, "%*c> statement_newline[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "$"));
 1367|  3.69k|        Token * endmarker_var;
 1368|  3.69k|        if (
 1369|  3.69k|            (endmarker_var = _PyPegen_expect_token(p, ENDMARKER))  // token='ENDMARKER'
  ------------------
  |  |   16|  3.69k|#define ENDMARKER       0
  ------------------
  |  Branch (1369:13): [True: 190, False: 3.50k]
  ------------------
 1370|  3.69k|        )
 1371|    190|        {
 1372|    190|            D(fprintf(stderr, "%*c+ statement_newline[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "$"));
 1373|    190|            _res = _PyPegen_interactive_exit ( p );
 1374|    190|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1374:18): [True: 190, False: 0]
  |  Branch (1374:34): [True: 0, False: 0]
  |  Branch (1374:57): [True: 0, False: 190]
  ------------------
 1375|      0|                p->error_indicator = 1;
 1376|      0|                p->level--;
 1377|      0|                return NULL;
 1378|      0|            }
 1379|    190|            goto done;
 1380|    190|        }
 1381|  3.50k|        p->mark = _mark;
 1382|  3.50k|        D(fprintf(stderr, "%*c%s statement_newline[%d-%d]: %s failed!\n", p->level, ' ',
 1383|  3.50k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "$"));
 1384|  3.50k|    }
 1385|  3.50k|    _res = NULL;
 1386|  6.45k|  done:
 1387|  6.45k|    p->level--;
 1388|  6.45k|    return _res;
 1389|  3.50k|}
parser.c:single_compound_stmt_rule:
 1220|  7.82k|{
 1221|  7.82k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  15.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1221:9): [True: 0, False: 7.82k]
  |  Branch (1221:35): [True: 0, False: 7.82k]
  ------------------
 1222|      0|        _Pypegen_stack_overflow(p);
 1223|      0|    }
 1224|  7.82k|    if (p->error_indicator) {
  ------------------
  |  Branch (1224:9): [True: 0, False: 7.82k]
  ------------------
 1225|      0|        p->level--;
 1226|      0|        return NULL;
 1227|      0|    }
 1228|  7.82k|    asdl_stmt_seq* _res = NULL;
 1229|  7.82k|    int _mark = p->mark;
 1230|  7.82k|    { // compound_stmt
 1231|  7.82k|        if (p->error_indicator) {
  ------------------
  |  Branch (1231:13): [True: 0, False: 7.82k]
  ------------------
 1232|      0|            p->level--;
 1233|      0|            return NULL;
 1234|      0|        }
 1235|  7.82k|        D(fprintf(stderr, "%*c> single_compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "compound_stmt"));
 1236|  7.82k|        stmt_ty a;
 1237|  7.82k|        if (
 1238|  7.82k|            (a = compound_stmt_rule(p))  // compound_stmt
  ------------------
  |  Branch (1238:13): [True: 277, False: 7.55k]
  ------------------
 1239|  7.82k|        )
 1240|    277|        {
 1241|    277|            D(fprintf(stderr, "%*c+ single_compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "compound_stmt"));
 1242|    277|            _res = _PyPegen_register_stmts ( p , ( asdl_stmt_seq* ) _PyPegen_singleton_seq ( p , a ) );
 1243|    277|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1243:18): [True: 0, False: 277]
  |  Branch (1243:34): [True: 0, False: 277]
  |  Branch (1243:57): [True: 0, False: 0]
  ------------------
 1244|      0|                p->error_indicator = 1;
 1245|      0|                p->level--;
 1246|      0|                return NULL;
 1247|      0|            }
 1248|    277|            goto done;
 1249|    277|        }
 1250|  7.55k|        p->mark = _mark;
 1251|  7.55k|        D(fprintf(stderr, "%*c%s single_compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1252|  7.55k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "compound_stmt"));
 1253|  7.55k|    }
 1254|  7.55k|    _res = NULL;
 1255|  7.82k|  done:
 1256|  7.82k|    p->level--;
 1257|  7.82k|    return _res;
 1258|  7.55k|}
parser.c:eval_rule:
 1000|  5.54k|{
 1001|  5.54k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  11.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1001:9): [True: 0, False: 5.54k]
  |  Branch (1001:35): [True: 0, False: 5.54k]
  ------------------
 1002|      0|        _Pypegen_stack_overflow(p);
 1003|      0|    }
 1004|  5.54k|    if (p->error_indicator) {
  ------------------
  |  Branch (1004:9): [True: 423, False: 5.11k]
  ------------------
 1005|    423|        p->level--;
 1006|    423|        return NULL;
 1007|    423|    }
 1008|  5.11k|    mod_ty _res = NULL;
 1009|  5.11k|    int _mark = p->mark;
 1010|  5.11k|    { // expressions NEWLINE* $
 1011|  5.11k|        if (p->error_indicator) {
  ------------------
  |  Branch (1011:13): [True: 0, False: 5.11k]
  ------------------
 1012|      0|            p->level--;
 1013|      0|            return NULL;
 1014|      0|        }
 1015|  5.11k|        D(fprintf(stderr, "%*c> eval[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expressions NEWLINE* $"));
 1016|  5.11k|        asdl_seq * _loop0_1_var;
 1017|  5.11k|        expr_ty a;
 1018|  5.11k|        Token * endmarker_var;
 1019|  5.11k|        if (
 1020|  5.11k|            (a = expressions_rule(p))  // expressions
  ------------------
  |  |  459|  5.11k|#define expressions_rule _PyPegen_expressions_rule
  ------------------
  |  Branch (1020:13): [True: 3.38k, False: 1.73k]
  ------------------
 1021|  3.38k|            &&
 1022|  3.38k|            (_loop0_1_var = _loop0_1_rule(p))  // NEWLINE*
  ------------------
  |  Branch (1022:13): [True: 3.38k, False: 0]
  ------------------
 1023|  3.38k|            &&
 1024|  3.38k|            (endmarker_var = _PyPegen_expect_token(p, ENDMARKER))  // token='ENDMARKER'
  ------------------
  |  |   16|  3.38k|#define ENDMARKER       0
  ------------------
  |  Branch (1024:13): [True: 2.02k, False: 1.35k]
  ------------------
 1025|  5.11k|        )
 1026|  2.02k|        {
 1027|  2.02k|            D(fprintf(stderr, "%*c+ eval[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expressions NEWLINE* $"));
 1028|  2.02k|            _res = _PyAST_Expression ( a , p -> arena );
 1029|  2.02k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1029:18): [True: 0, False: 2.02k]
  |  Branch (1029:34): [True: 0, False: 2.02k]
  |  Branch (1029:57): [True: 0, False: 0]
  ------------------
 1030|      0|                p->error_indicator = 1;
 1031|      0|                p->level--;
 1032|      0|                return NULL;
 1033|      0|            }
 1034|  2.02k|            goto done;
 1035|  2.02k|        }
 1036|  3.09k|        p->mark = _mark;
 1037|  3.09k|        D(fprintf(stderr, "%*c%s eval[%d-%d]: %s failed!\n", p->level, ' ',
 1038|  3.09k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expressions NEWLINE* $"));
 1039|  3.09k|    }
 1040|  3.09k|    _res = NULL;
 1041|  5.11k|  done:
 1042|  5.11k|    p->level--;
 1043|  5.11k|    return _res;
 1044|  3.09k|}
parser.c:_loop0_1_rule:
19732|  3.38k|{
19733|  3.38k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.76k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19733:9): [True: 0, False: 3.38k]
  |  Branch (19733:35): [True: 0, False: 3.38k]
  ------------------
19734|      0|        _Pypegen_stack_overflow(p);
19735|      0|    }
19736|  3.38k|    if (p->error_indicator) {
  ------------------
  |  Branch (19736:9): [True: 0, False: 3.38k]
  ------------------
19737|      0|        p->level--;
19738|      0|        return NULL;
19739|      0|    }
19740|  3.38k|    void *_res = NULL;
19741|  3.38k|    int _mark = p->mark;
19742|  3.38k|    void **_children = NULL;
19743|  3.38k|    Py_ssize_t _children_capacity = 0;
19744|  3.38k|    Py_ssize_t _n = 0;
19745|  3.38k|    { // NEWLINE
19746|  3.38k|        if (p->error_indicator) {
  ------------------
  |  Branch (19746:13): [True: 0, False: 3.38k]
  ------------------
19747|      0|            p->level--;
19748|      0|            return NULL;
19749|      0|        }
19750|  3.38k|        D(fprintf(stderr, "%*c> _loop0_1[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
19751|  3.38k|        Token * newline_var;
19752|  3.38k|        while (
19753|  5.07k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  5.07k|#define NEWLINE         4
  ------------------
  |  Branch (19753:13): [True: 1.69k, False: 3.38k]
  ------------------
19754|  3.38k|        )
19755|  1.69k|        {
19756|  1.69k|            _res = newline_var;
19757|  1.69k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (19757:17): [True: 1.69k, False: 0]
  ------------------
19758|  1.69k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (19758:21): [True: 0, False: 1.69k]
  ------------------
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|  1.69k|            }
19766|  1.69k|            _children[_n++] = _res;
19767|  1.69k|            _mark = p->mark;
19768|  1.69k|        }
19769|  3.38k|        p->mark = _mark;
19770|  3.38k|        D(fprintf(stderr, "%*c%s _loop0_1[%d-%d]: %s failed!\n", p->level, ' ',
19771|  3.38k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
19772|  3.38k|    }
19773|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
19774|  3.38k|    if (!_seq) {
  ------------------
  |  Branch (19774:9): [True: 0, False: 3.38k]
  ------------------
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|  5.07k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.69k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  5.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (19781:28): [True: 1.69k, False: 3.38k]
  ------------------
19782|  3.38k|    PyMem_Free(_children);
19783|  3.38k|    p->level--;
19784|  3.38k|    return _seq;
19785|  3.38k|}

_PyPegen_invalid_arguments_rule:
  556|  7.72k|{
  557|  7.72k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  15.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (557:9): [True: 0, False: 7.72k]
  |  Branch (557:35): [True: 0, False: 7.72k]
  ------------------
  558|      0|        _Pypegen_stack_overflow(p);
  559|      0|    }
  560|  7.72k|    if (p->error_indicator) {
  ------------------
  |  Branch (560:9): [True: 0, False: 7.72k]
  ------------------
  561|      0|        p->level--;
  562|      0|        return NULL;
  563|      0|    }
  564|  7.72k|    void * _res = NULL;
  565|  7.72k|    int _mark = p->mark;
  566|  7.72k|    { // ((','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs) ',' ','.(starred_expression !'=')+
  567|  7.72k|        if (p->error_indicator) {
  ------------------
  |  Branch (567:13): [True: 0, False: 7.72k]
  ------------------
  568|      0|            p->level--;
  569|      0|            return NULL;
  570|      0|        }
  571|  7.72k|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs) ',' ','.(starred_expression !'=')+"));
  572|  7.72k|        asdl_seq * _gather_108_var;
  573|  7.72k|        void *_tmp_106_var;
  574|  7.72k|        Token * a;
  575|  7.72k|        if (
  576|  7.72k|            (_tmp_106_var = _tmp_106_rule(p))  // (','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs
  ------------------
  |  Branch (576:13): [True: 3.21k, False: 4.50k]
  ------------------
  577|  3.21k|            &&
  578|  3.21k|            (a = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (578:13): [True: 1.12k, False: 2.09k]
  ------------------
  579|  1.12k|            &&
  580|  1.12k|            (_gather_108_var = _gather_108_rule(p))  // ','.(starred_expression !'=')+
  ------------------
  |  Branch (580:13): [True: 391, False: 732]
  ------------------
  581|  7.72k|        )
  582|    391|        {
  583|    391|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs) ',' ','.(starred_expression !'=')+"));
  584|    391|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( a , "iterable argument unpacking follows keyword argument unpacking" );
  ------------------
  |  |  250|    391|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|    391|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|    391|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
  585|    391|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (585:18): [True: 391, False: 0]
  |  Branch (585:34): [True: 0, False: 0]
  |  Branch (585:57): [True: 391, False: 0]
  ------------------
  586|    391|                p->error_indicator = 1;
  587|    391|                p->level--;
  588|    391|                return NULL;
  589|    391|            }
  590|      0|            goto done;
  591|    391|        }
  592|  7.33k|        p->mark = _mark;
  593|  7.33k|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
  594|  7.33k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs) ',' ','.(starred_expression !'=')+"));
  595|  7.33k|    }
  596|      0|    { // expression for_if_clauses ',' [args | expression for_if_clauses]
  597|  7.33k|        if (p->error_indicator) {
  ------------------
  |  Branch (597:13): [True: 88, False: 7.24k]
  ------------------
  598|     88|            p->level--;
  599|     88|            return NULL;
  600|     88|        }
  601|  7.24k|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression for_if_clauses ',' [args | expression for_if_clauses]"));
  602|  7.24k|        Token * _literal;
  603|  7.24k|        void *_opt_var;
  604|  7.24k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  7.24k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 7.24k]
  |  |  ------------------
  ------------------
  605|  7.24k|        expr_ty a;
  606|  7.24k|        asdl_comprehension_seq* b;
  607|  7.24k|        if (
  608|  7.24k|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|  7.24k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (608:13): [True: 3.43k, False: 3.80k]
  ------------------
  609|  3.43k|            &&
  610|  3.43k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|  3.43k|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (610:13): [True: 390, False: 3.04k]
  ------------------
  611|    390|            &&
  612|    390|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (612:13): [True: 249, False: 141]
  ------------------
  613|    249|            &&
  614|    249|            (_opt_var = _tmp_109_rule(p), !p->error_indicator)  // [args | expression for_if_clauses]
  ------------------
  |  Branch (614:13): [True: 4, False: 245]
  ------------------
  615|  7.24k|        )
  616|      4|        {
  617|      4|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression for_if_clauses ',' [args | expression for_if_clauses]"));
  618|      4|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , _PyPegen_get_last_comprehension_item ( PyPegen_last_item ( b , comprehension_ty ) ) , "Generator expression must be parenthesized" );
  ------------------
  |  |  246|      4|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  619|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (619:18): [True: 4, False: 0]
  |  Branch (619:34): [True: 0, False: 0]
  |  Branch (619:57): [True: 4, False: 0]
  ------------------
  620|      4|                p->error_indicator = 1;
  621|      4|                p->level--;
  622|      4|                return NULL;
  623|      4|            }
  624|      0|            goto done;
  625|      4|        }
  626|  7.23k|        p->mark = _mark;
  627|  7.23k|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
  628|  7.23k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression for_if_clauses ',' [args | expression for_if_clauses]"));
  629|  7.23k|    }
  630|      0|    { // NAME '=' expression for_if_clauses
  631|  7.23k|        if (p->error_indicator) {
  ------------------
  |  Branch (631:13): [True: 245, False: 6.99k]
  ------------------
  632|    245|            p->level--;
  633|    245|            return NULL;
  634|    245|        }
  635|  6.99k|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression for_if_clauses"));
  636|  6.99k|        expr_ty a;
  637|  6.99k|        Token * b;
  638|  6.99k|        expr_ty expression_var;
  639|  6.99k|        asdl_comprehension_seq* for_if_clauses_var;
  640|  6.99k|        if (
  641|  6.99k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (641:13): [True: 2.76k, False: 4.23k]
  ------------------
  642|  2.76k|            &&
  643|  2.76k|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (643:13): [True: 782, False: 1.97k]
  ------------------
  644|    782|            &&
  645|    782|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|    782|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (645:13): [True: 679, False: 103]
  ------------------
  646|    679|            &&
  647|    679|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|    679|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (647:13): [True: 0, False: 679]
  ------------------
  648|  6.99k|        )
  649|      0|        {
  650|      0|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression for_if_clauses"));
  651|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid syntax. Maybe you meant '==' or ':=' instead of '='?" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  652|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (652:18): [True: 0, False: 0]
  |  Branch (652:34): [True: 0, False: 0]
  |  Branch (652:57): [True: 0, False: 0]
  ------------------
  653|      0|                p->error_indicator = 1;
  654|      0|                p->level--;
  655|      0|                return NULL;
  656|      0|            }
  657|      0|            goto done;
  658|      0|        }
  659|  6.99k|        p->mark = _mark;
  660|  6.99k|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
  661|  6.99k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression for_if_clauses"));
  662|  6.99k|    }
  663|      0|    { // [(args ',')] NAME '=' &(',' | ')')
  664|  6.99k|        if (p->error_indicator) {
  ------------------
  |  Branch (664:13): [True: 0, False: 6.99k]
  ------------------
  665|      0|            p->level--;
  666|      0|            return NULL;
  667|      0|        }
  668|  6.99k|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "[(args ',')] NAME '=' &(',' | ')')"));
  669|  6.99k|        void *_opt_var;
  670|  6.99k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  6.99k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 6.99k]
  |  |  ------------------
  ------------------
  671|  6.99k|        expr_ty a;
  672|  6.99k|        Token * b;
  673|  6.99k|        if (
  674|  6.99k|            (_opt_var = _tmp_110_rule(p), !p->error_indicator)  // [(args ',')]
  ------------------
  |  Branch (674:13): [True: 6.99k, False: 0]
  ------------------
  675|  6.99k|            &&
  676|  6.99k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (676:13): [True: 2.39k, False: 4.60k]
  ------------------
  677|  2.39k|            &&
  678|  2.39k|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (678:13): [True: 428, False: 1.96k]
  ------------------
  679|    428|            &&
  680|    428|            _PyPegen_lookahead(1, _tmp_111_rule, p)
  ------------------
  |  Branch (680:13): [True: 14, False: 414]
  ------------------
  681|  6.99k|        )
  682|     14|        {
  683|     14|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "[(args ',')] NAME '=' &(',' | ')')"));
  684|     14|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "expected argument value expression" );
  ------------------
  |  |  246|     14|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  685|     14|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (685:18): [True: 14, False: 0]
  |  Branch (685:34): [True: 0, False: 0]
  |  Branch (685:57): [True: 14, False: 0]
  ------------------
  686|     14|                p->error_indicator = 1;
  687|     14|                p->level--;
  688|     14|                return NULL;
  689|     14|            }
  690|      0|            goto done;
  691|     14|        }
  692|  6.98k|        p->mark = _mark;
  693|  6.98k|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
  694|  6.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "[(args ',')] NAME '=' &(',' | ')')"));
  695|  6.98k|    }
  696|      0|    { // args for_if_clauses
  697|  6.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (697:13): [True: 0, False: 6.98k]
  ------------------
  698|      0|            p->level--;
  699|      0|            return NULL;
  700|      0|        }
  701|  6.98k|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args for_if_clauses"));
  702|  6.98k|        expr_ty a;
  703|  6.98k|        asdl_comprehension_seq* b;
  704|  6.98k|        if (
  705|  6.98k|            (a = args_rule(p))  // args
  ------------------
  |  |  307|  6.98k|#define args_rule _PyPegen_args_rule
  ------------------
  |  Branch (705:13): [True: 4.66k, False: 2.31k]
  ------------------
  706|  4.66k|            &&
  707|  4.66k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|  4.66k|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (707:13): [True: 328, False: 4.33k]
  ------------------
  708|  6.98k|        )
  709|    328|        {
  710|    328|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args for_if_clauses"));
  711|    328|            _res = _PyPegen_nonparen_genexp_in_call ( p , a , b );
  712|    328|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (712:18): [True: 328, False: 0]
  |  Branch (712:34): [True: 0, False: 0]
  |  Branch (712:57): [True: 2, False: 326]
  ------------------
  713|      2|                p->error_indicator = 1;
  714|      2|                p->level--;
  715|      2|                return NULL;
  716|      2|            }
  717|    326|            goto done;
  718|    328|        }
  719|  6.65k|        p->mark = _mark;
  720|  6.65k|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
  721|  6.65k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args for_if_clauses"));
  722|  6.65k|    }
  723|      0|    { // args ',' expression for_if_clauses
  724|  6.65k|        if (p->error_indicator) {
  ------------------
  |  Branch (724:13): [True: 709, False: 5.94k]
  ------------------
  725|    709|            p->level--;
  726|    709|            return NULL;
  727|    709|        }
  728|  5.94k|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ',' expression for_if_clauses"));
  729|  5.94k|        Token * _literal;
  730|  5.94k|        expr_ty a;
  731|  5.94k|        expr_ty args_var;
  732|  5.94k|        asdl_comprehension_seq* b;
  733|  5.94k|        if (
  734|  5.94k|            (args_var = args_rule(p))  // args
  ------------------
  |  |  307|  5.94k|#define args_rule _PyPegen_args_rule
  ------------------
  |  Branch (734:13): [True: 3.62k, False: 2.31k]
  ------------------
  735|  3.62k|            &&
  736|  3.62k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (736:13): [True: 703, False: 2.92k]
  ------------------
  737|    703|            &&
  738|    703|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|    703|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (738:13): [True: 521, False: 182]
  ------------------
  739|    521|            &&
  740|    521|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|    521|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (740:13): [True: 0, False: 521]
  ------------------
  741|  5.94k|        )
  742|      0|        {
  743|      0|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ',' expression for_if_clauses"));
  744|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , _PyPegen_get_last_comprehension_item ( PyPegen_last_item ( b , comprehension_ty ) ) , "Generator expression must be parenthesized" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  745|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (745:18): [True: 0, False: 0]
  |  Branch (745:34): [True: 0, False: 0]
  |  Branch (745:57): [True: 0, False: 0]
  ------------------
  746|      0|                p->error_indicator = 1;
  747|      0|                p->level--;
  748|      0|                return NULL;
  749|      0|            }
  750|      0|            goto done;
  751|      0|        }
  752|  5.94k|        p->mark = _mark;
  753|  5.94k|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
  754|  5.94k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ',' expression for_if_clauses"));
  755|  5.94k|    }
  756|      0|    { // args ',' args
  757|  5.94k|        if (p->error_indicator) {
  ------------------
  |  Branch (757:13): [True: 123, False: 5.82k]
  ------------------
  758|    123|            p->level--;
  759|    123|            return NULL;
  760|    123|        }
  761|  5.82k|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ',' args"));
  762|  5.82k|        Token * _literal;
  763|  5.82k|        expr_ty a;
  764|  5.82k|        expr_ty args_var;
  765|  5.82k|        if (
  766|  5.82k|            (a = args_rule(p))  // args
  ------------------
  |  |  307|  5.82k|#define args_rule _PyPegen_args_rule
  ------------------
  |  Branch (766:13): [True: 3.50k, False: 2.31k]
  ------------------
  767|  3.50k|            &&
  768|  3.50k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (768:13): [True: 580, False: 2.92k]
  ------------------
  769|    580|            &&
  770|    580|            (args_var = args_rule(p))  // args
  ------------------
  |  |  307|    580|#define args_rule _PyPegen_args_rule
  ------------------
  |  Branch (770:13): [True: 26, False: 554]
  ------------------
  771|  5.82k|        )
  772|     26|        {
  773|     26|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ',' args"));
  774|     26|            _res = _PyPegen_arguments_parsing_error ( p , a );
  775|     26|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (775:18): [True: 26, False: 0]
  |  Branch (775:34): [True: 0, False: 0]
  |  Branch (775:57): [True: 26, False: 0]
  ------------------
  776|     26|                p->error_indicator = 1;
  777|     26|                p->level--;
  778|     26|                return NULL;
  779|     26|            }
  780|      0|            goto done;
  781|     26|        }
  782|  5.79k|        p->mark = _mark;
  783|  5.79k|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
  784|  5.79k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ',' args"));
  785|  5.79k|    }
  786|  5.79k|    _res = NULL;
  787|  6.12k|  done:
  788|  6.12k|    p->level--;
  789|  6.12k|    return _res;
  790|  5.79k|}
_PyPegen_invalid_kwarg_rule:
  801|  74.9k|{
  802|  74.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   149k|#  define MAXSTACK 6000
  ------------------
  |  Branch (802:9): [True: 0, False: 74.9k]
  |  Branch (802:35): [True: 0, False: 74.9k]
  ------------------
  803|      0|        _Pypegen_stack_overflow(p);
  804|      0|    }
  805|  74.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (805:9): [True: 0, False: 74.9k]
  ------------------
  806|      0|        p->level--;
  807|      0|        return NULL;
  808|      0|    }
  809|  74.9k|    void * _res = NULL;
  810|  74.9k|    int _mark = p->mark;
  811|  74.9k|    { // 'True' '='
  812|  74.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (812:13): [True: 0, False: 74.9k]
  ------------------
  813|      0|            p->level--;
  814|      0|            return NULL;
  815|      0|        }
  816|  74.9k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True' '='"));
  817|  74.9k|        Token * a;
  818|  74.9k|        Token * b;
  819|  74.9k|        if (
  820|  74.9k|            (a = _PyPegen_expect_token(p, 527))  // token='True'
  ------------------
  |  Branch (820:13): [True: 2.65k, False: 72.2k]
  ------------------
  821|  2.65k|            &&
  822|  2.65k|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (822:13): [True: 1, False: 2.65k]
  ------------------
  823|  74.9k|        )
  824|      1|        {
  825|      1|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True' '='"));
  826|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to True" );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  827|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (827:18): [True: 1, False: 0]
  |  Branch (827:34): [True: 0, False: 0]
  |  Branch (827:57): [True: 1, False: 0]
  ------------------
  828|      1|                p->error_indicator = 1;
  829|      1|                p->level--;
  830|      1|                return NULL;
  831|      1|            }
  832|      0|            goto done;
  833|      1|        }
  834|  74.9k|        p->mark = _mark;
  835|  74.9k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
  836|  74.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True' '='"));
  837|  74.9k|    }
  838|      0|    { // 'False' '='
  839|  74.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (839:13): [True: 0, False: 74.9k]
  ------------------
  840|      0|            p->level--;
  841|      0|            return NULL;
  842|      0|        }
  843|  74.9k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False' '='"));
  844|  74.9k|        Token * a;
  845|  74.9k|        Token * b;
  846|  74.9k|        if (
  847|  74.9k|            (a = _PyPegen_expect_token(p, 528))  // token='False'
  ------------------
  |  Branch (847:13): [True: 72, False: 74.8k]
  ------------------
  848|     72|            &&
  849|     72|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (849:13): [True: 0, False: 72]
  ------------------
  850|  74.9k|        )
  851|      0|        {
  852|      0|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False' '='"));
  853|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to False" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  854|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (854:18): [True: 0, False: 0]
  |  Branch (854:34): [True: 0, False: 0]
  |  Branch (854:57): [True: 0, False: 0]
  ------------------
  855|      0|                p->error_indicator = 1;
  856|      0|                p->level--;
  857|      0|                return NULL;
  858|      0|            }
  859|      0|            goto done;
  860|      0|        }
  861|  74.9k|        p->mark = _mark;
  862|  74.9k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
  863|  74.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False' '='"));
  864|  74.9k|    }
  865|      0|    { // 'None' '='
  866|  74.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (866:13): [True: 0, False: 74.9k]
  ------------------
  867|      0|            p->level--;
  868|      0|            return NULL;
  869|      0|        }
  870|  74.9k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None' '='"));
  871|  74.9k|        Token * a;
  872|  74.9k|        Token * b;
  873|  74.9k|        if (
  874|  74.9k|            (a = _PyPegen_expect_token(p, 526))  // token='None'
  ------------------
  |  Branch (874:13): [True: 33, False: 74.9k]
  ------------------
  875|     33|            &&
  876|     33|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (876:13): [True: 1, False: 32]
  ------------------
  877|  74.9k|        )
  878|      1|        {
  879|      1|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None' '='"));
  880|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to None" );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  881|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (881:18): [True: 1, False: 0]
  |  Branch (881:34): [True: 0, False: 0]
  |  Branch (881:57): [True: 1, False: 0]
  ------------------
  882|      1|                p->error_indicator = 1;
  883|      1|                p->level--;
  884|      1|                return NULL;
  885|      1|            }
  886|      0|            goto done;
  887|      1|        }
  888|  74.9k|        p->mark = _mark;
  889|  74.9k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
  890|  74.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None' '='"));
  891|  74.9k|    }
  892|      0|    { // NAME '=' expression for_if_clauses
  893|  74.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (893:13): [True: 0, False: 74.9k]
  ------------------
  894|      0|            p->level--;
  895|      0|            return NULL;
  896|      0|        }
  897|  74.9k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression for_if_clauses"));
  898|  74.9k|        expr_ty a;
  899|  74.9k|        Token * b;
  900|  74.9k|        expr_ty expression_var;
  901|  74.9k|        asdl_comprehension_seq* for_if_clauses_var;
  902|  74.9k|        if (
  903|  74.9k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (903:13): [True: 21.5k, False: 53.3k]
  ------------------
  904|  21.5k|            &&
  905|  21.5k|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (905:13): [True: 13.8k, False: 7.75k]
  ------------------
  906|  13.8k|            &&
  907|  13.8k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|  13.8k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (907:13): [True: 11.5k, False: 2.21k]
  ------------------
  908|  11.5k|            &&
  909|  11.5k|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|  11.5k|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (909:13): [True: 1, False: 11.5k]
  ------------------
  910|  74.9k|        )
  911|      1|        {
  912|      1|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression for_if_clauses"));
  913|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid syntax. Maybe you meant '==' or ':=' instead of '='?" );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  914|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (914:18): [True: 1, False: 0]
  |  Branch (914:34): [True: 0, False: 0]
  |  Branch (914:57): [True: 1, False: 0]
  ------------------
  915|      1|                p->error_indicator = 1;
  916|      1|                p->level--;
  917|      1|                return NULL;
  918|      1|            }
  919|      0|            goto done;
  920|      1|        }
  921|  74.9k|        p->mark = _mark;
  922|  74.9k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
  923|  74.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression for_if_clauses"));
  924|  74.9k|    }
  925|      0|    { // !(NAME '=') expression '='
  926|  74.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (926:13): [True: 766, False: 74.1k]
  ------------------
  927|    766|            p->level--;
  928|    766|            return NULL;
  929|    766|        }
  930|  74.1k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!(NAME '=') expression '='"));
  931|  74.1k|        expr_ty a;
  932|  74.1k|        Token * b;
  933|  74.1k|        if (
  934|  74.1k|            _PyPegen_lookahead(0, _tmp_112_rule, p)
  ------------------
  |  Branch (934:13): [True: 61.1k, False: 13.0k]
  ------------------
  935|  61.1k|            &&
  936|  61.1k|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|  61.1k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (936:13): [True: 10.9k, False: 50.2k]
  ------------------
  937|  10.9k|            &&
  938|  10.9k|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (938:13): [True: 8, False: 10.9k]
  ------------------
  939|  74.1k|        )
  940|      8|        {
  941|      8|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!(NAME '=') expression '='"));
  942|      8|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "expression cannot contain assignment, perhaps you meant \"==\"?" );
  ------------------
  |  |  246|      8|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  943|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (943:18): [True: 8, False: 0]
  |  Branch (943:34): [True: 0, False: 0]
  |  Branch (943:57): [True: 8, False: 0]
  ------------------
  944|      8|                p->error_indicator = 1;
  945|      8|                p->level--;
  946|      8|                return NULL;
  947|      8|            }
  948|      0|            goto done;
  949|      8|        }
  950|  74.1k|        p->mark = _mark;
  951|  74.1k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
  952|  74.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!(NAME '=') expression '='"));
  953|  74.1k|    }
  954|      0|    { // '**' expression '=' expression
  955|  74.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (955:13): [True: 594, False: 73.5k]
  ------------------
  956|    594|            p->level--;
  957|    594|            return NULL;
  958|    594|        }
  959|  73.5k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' expression '=' expression"));
  960|  73.5k|        Token * _literal;
  961|  73.5k|        Token * a;
  962|  73.5k|        expr_ty b;
  963|  73.5k|        expr_ty expression_var;
  964|  73.5k|        if (
  965|  73.5k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (965:13): [True: 18.9k, False: 54.6k]
  ------------------
  966|  18.9k|            &&
  967|  18.9k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|  18.9k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (967:13): [True: 18.4k, False: 486]
  ------------------
  968|  18.4k|            &&
  969|  18.4k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (969:13): [True: 71, False: 18.3k]
  ------------------
  970|     71|            &&
  971|     71|            (b = expression_rule(p))  // expression
  ------------------
  |  |  243|     71|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (971:13): [True: 1, False: 70]
  ------------------
  972|  73.5k|        )
  973|      1|        {
  974|      1|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' expression '=' expression"));
  975|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to keyword argument unpacking" );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  976|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (976:18): [True: 1, False: 0]
  |  Branch (976:34): [True: 0, False: 0]
  |  Branch (976:57): [True: 1, False: 0]
  ------------------
  977|      1|                p->error_indicator = 1;
  978|      1|                p->level--;
  979|      1|                return NULL;
  980|      1|            }
  981|      0|            goto done;
  982|      1|        }
  983|  73.5k|        p->mark = _mark;
  984|  73.5k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
  985|  73.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' expression '=' expression"));
  986|  73.5k|    }
  987|  73.5k|    _res = NULL;
  988|  73.5k|  done:
  989|  73.5k|    p->level--;
  990|  73.5k|    return _res;
  991|  73.5k|}
_PyPegen_invalid_legacy_expression_rule:
 1122|   280k|{
 1123|   280k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   561k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1123:9): [True: 0, False: 280k]
  |  Branch (1123:35): [True: 0, False: 280k]
  ------------------
 1124|      0|        _Pypegen_stack_overflow(p);
 1125|      0|    }
 1126|   280k|    if (p->error_indicator) {
  ------------------
  |  Branch (1126:9): [True: 0, False: 280k]
  ------------------
 1127|      0|        p->level--;
 1128|      0|        return NULL;
 1129|      0|    }
 1130|   280k|    void * _res = NULL;
 1131|   280k|    int _mark = p->mark;
 1132|   280k|    { // NAME !'(' star_expressions
 1133|   280k|        if (p->error_indicator) {
  ------------------
  |  Branch (1133:13): [True: 0, False: 280k]
  ------------------
 1134|      0|            p->level--;
 1135|      0|            return NULL;
 1136|      0|        }
 1137|   280k|        D(fprintf(stderr, "%*c> invalid_legacy_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME !'(' star_expressions"));
 1138|   280k|        expr_ty a;
 1139|   280k|        expr_ty b;
 1140|   280k|        if (
 1141|   280k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (1141:13): [True: 100k, False: 180k]
  ------------------
 1142|   100k|            &&
 1143|   100k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 7)  // token='('
  ------------------
  |  Branch (1143:13): [True: 96.7k, False: 3.70k]
  ------------------
 1144|  96.7k|            &&
 1145|  96.7k|            (b = star_expressions_rule(p))  // star_expressions
  ------------------
  |  |  249|  96.7k|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (1145:13): [True: 11.2k, False: 85.4k]
  ------------------
 1146|   280k|        )
 1147|  11.2k|        {
 1148|  11.2k|            D(fprintf(stderr, "%*c+ invalid_legacy_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME !'(' star_expressions"));
 1149|  11.2k|            _res = _PyPegen_check_legacy_stmt ( p , a ) ? RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "Missing parentheses in call to '%U'. Did you mean %U(...)?" , a -> v . Name . id , a -> v . Name . id ) : NULL;
  ------------------
  |  |  246|      9|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (1149:20): [True: 9, False: 11.2k]
  ------------------
 1150|  11.2k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1150:18): [True: 11.2k, False: 0]
  |  Branch (1150:34): [True: 0, False: 0]
  |  Branch (1150:57): [True: 9, False: 11.2k]
  ------------------
 1151|      9|                p->error_indicator = 1;
 1152|      9|                p->level--;
 1153|      9|                return NULL;
 1154|      9|            }
 1155|  11.2k|            goto done;
 1156|  11.2k|        }
 1157|   269k|        p->mark = _mark;
 1158|   269k|        D(fprintf(stderr, "%*c%s invalid_legacy_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1159|   269k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME !'(' star_expressions"));
 1160|   269k|    }
 1161|   269k|    _res = NULL;
 1162|   280k|  done:
 1163|   280k|    p->level--;
 1164|   280k|    return _res;
 1165|   269k|}
_PyPegen_invalid_type_param_rule:
 1170|    761|{
 1171|    761|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.52k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1171:9): [True: 0, False: 761]
  |  Branch (1171:35): [True: 0, False: 761]
  ------------------
 1172|      0|        _Pypegen_stack_overflow(p);
 1173|      0|    }
 1174|    761|    if (p->error_indicator) {
  ------------------
  |  Branch (1174:9): [True: 0, False: 761]
  ------------------
 1175|      0|        p->level--;
 1176|      0|        return NULL;
 1177|      0|    }
 1178|    761|    void * _res = NULL;
 1179|    761|    int _mark = p->mark;
 1180|    761|    { // '*' NAME ':' expression
 1181|    761|        if (p->error_indicator) {
  ------------------
  |  Branch (1181:13): [True: 0, False: 761]
  ------------------
 1182|      0|            p->level--;
 1183|      0|            return NULL;
 1184|      0|        }
 1185|    761|        D(fprintf(stderr, "%*c> invalid_type_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' NAME ':' expression"));
 1186|    761|        Token * _literal;
 1187|    761|        expr_ty a;
 1188|    761|        Token * colon;
 1189|    761|        expr_ty e;
 1190|    761|        if (
 1191|    761|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (1191:13): [True: 450, False: 311]
  ------------------
 1192|    450|            &&
 1193|    450|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (1193:13): [True: 448, False: 2]
  ------------------
 1194|    448|            &&
 1195|    448|            (colon = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (1195:13): [True: 0, False: 448]
  ------------------
 1196|      0|            &&
 1197|      0|            (e = expression_rule(p))  // expression
  ------------------
  |  |  243|      0|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (1197:13): [True: 0, False: 0]
  ------------------
 1198|    761|        )
 1199|      0|        {
 1200|      0|            D(fprintf(stderr, "%*c+ invalid_type_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' NAME ':' expression"));
 1201|      0|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( colon , e -> kind == Tuple_kind ? "cannot use constraints with TypeVarTuple" : "cannot use bound with TypeVarTuple" );
  ------------------
  |  |  250|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      0|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      0|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |  |  Branch (250:110): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1202|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1202:18): [True: 0, False: 0]
  |  Branch (1202:34): [True: 0, False: 0]
  |  Branch (1202:57): [True: 0, False: 0]
  ------------------
 1203|      0|                p->error_indicator = 1;
 1204|      0|                p->level--;
 1205|      0|                return NULL;
 1206|      0|            }
 1207|      0|            goto done;
 1208|      0|        }
 1209|    761|        p->mark = _mark;
 1210|    761|        D(fprintf(stderr, "%*c%s invalid_type_param[%d-%d]: %s failed!\n", p->level, ' ',
 1211|    761|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' NAME ':' expression"));
 1212|    761|    }
 1213|      0|    { // '**' NAME ':' expression
 1214|    761|        if (p->error_indicator) {
  ------------------
  |  Branch (1214:13): [True: 0, False: 761]
  ------------------
 1215|      0|            p->level--;
 1216|      0|            return NULL;
 1217|      0|        }
 1218|    761|        D(fprintf(stderr, "%*c> invalid_type_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' NAME ':' expression"));
 1219|    761|        Token * _literal;
 1220|    761|        expr_ty a;
 1221|    761|        Token * colon;
 1222|    761|        expr_ty e;
 1223|    761|        if (
 1224|    761|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (1224:13): [True: 152, False: 609]
  ------------------
 1225|    152|            &&
 1226|    152|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (1226:13): [True: 151, False: 1]
  ------------------
 1227|    151|            &&
 1228|    151|            (colon = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (1228:13): [True: 1, False: 150]
  ------------------
 1229|      1|            &&
 1230|      1|            (e = expression_rule(p))  // expression
  ------------------
  |  |  243|      1|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (1230:13): [True: 1, False: 0]
  ------------------
 1231|    761|        )
 1232|      1|        {
 1233|      1|            D(fprintf(stderr, "%*c+ invalid_type_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' NAME ':' expression"));
 1234|      1|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( colon , e -> kind == Tuple_kind ? "cannot use constraints with ParamSpec" : "cannot use bound with ParamSpec" );
  ------------------
  |  |  250|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |  |  Branch (250:110): [True: 0, False: 1]
  |  |  ------------------
  ------------------
 1235|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1235:18): [True: 1, False: 0]
  |  Branch (1235:34): [True: 0, False: 0]
  |  Branch (1235:57): [True: 1, False: 0]
  ------------------
 1236|      1|                p->error_indicator = 1;
 1237|      1|                p->level--;
 1238|      1|                return NULL;
 1239|      1|            }
 1240|      0|            goto done;
 1241|      1|        }
 1242|    760|        p->mark = _mark;
 1243|    760|        D(fprintf(stderr, "%*c%s invalid_type_param[%d-%d]: %s failed!\n", p->level, ' ',
 1244|    760|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' NAME ':' expression"));
 1245|    760|    }
 1246|    760|    _res = NULL;
 1247|    760|  done:
 1248|    760|    p->level--;
 1249|    760|    return _res;
 1250|    760|}
_PyPegen_invalid_expression_rule:
 1262|   284k|{
 1263|   284k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   569k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1263:9): [True: 0, False: 284k]
  |  Branch (1263:35): [True: 0, False: 284k]
  ------------------
 1264|      0|        _Pypegen_stack_overflow(p);
 1265|      0|    }
 1266|   284k|    if (p->error_indicator) {
  ------------------
  |  Branch (1266:9): [True: 0, False: 284k]
  ------------------
 1267|      0|        p->level--;
 1268|      0|        return NULL;
 1269|      0|    }
 1270|   284k|    void * _res = NULL;
 1271|   284k|    int _mark = p->mark;
 1272|   284k|    expr_ty _prefix_12_result = NULL;
 1273|   284k|    int _prefix_12_end = 0, _prefix_12_valid = 0;
 1274|   284k|    { // STRING ((!STRING expression_without_invalid))+ STRING
 1275|   284k|        if (p->error_indicator) {
  ------------------
  |  Branch (1275:13): [True: 0, False: 284k]
  ------------------
 1276|      0|            p->level--;
 1277|      0|            return NULL;
 1278|      0|        }
 1279|   284k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
 1280|   284k|        asdl_seq * a;
 1281|   284k|        expr_ty string_var;
 1282|   284k|        expr_ty string_var_1;
 1283|   284k|        if (
 1284|   284k|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (1284:13): [True: 2.13k, False: 282k]
  ------------------
 1285|  2.13k|            &&
 1286|  2.13k|            (a = _loop1_113_rule(p))  // ((!STRING expression_without_invalid))+
  ------------------
  |  Branch (1286:13): [True: 585, False: 1.54k]
  ------------------
 1287|    585|            &&
 1288|    585|            (string_var_1 = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (1288:13): [True: 25, False: 560]
  ------------------
 1289|   284k|        )
 1290|     25|        {
 1291|     25|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
 1292|     25|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( PyPegen_first_item ( a , expr_ty ) , PyPegen_last_item ( a , expr_ty ) , "invalid syntax. Is this intended to be part of the string?" );
  ------------------
  |  |  246|     25|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1293|     25|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1293:18): [True: 25, False: 0]
  |  Branch (1293:34): [True: 0, False: 0]
  |  Branch (1293:57): [True: 25, False: 0]
  ------------------
 1294|     25|                p->error_indicator = 1;
 1295|     25|                p->level--;
 1296|     25|                return NULL;
 1297|     25|            }
 1298|      0|            goto done;
 1299|     25|        }
 1300|   284k|        p->mark = _mark;
 1301|   284k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1302|   284k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
 1303|   284k|    }
 1304|      0|    { // !(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid
 1305|   284k|        if (p->error_indicator) {
  ------------------
  |  Branch (1305:13): [True: 149, False: 284k]
  ------------------
 1306|    149|            p->level--;
 1307|    149|            return NULL;
 1308|    149|        }
 1309|   284k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
 1310|   284k|        expr_ty a;
 1311|   284k|        expr_ty b;
 1312|   284k|        if (
 1313|   284k|            _PyPegen_lookahead(0, _tmp_114_rule, p)
  ------------------
  |  Branch (1313:13): [True: 276k, False: 8.19k]
  ------------------
 1314|   276k|            &&
 1315|   276k|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  |  259|   276k|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1315:13): [True: 135k, False: 140k]
  ------------------
 1316|   135k|            &&
 1317|   135k|            (b = expression_without_invalid_rule(p))  // expression_without_invalid
  ------------------
  |  Branch (1317:13): [True: 4.52k, False: 130k]
  ------------------
 1318|   284k|        )
 1319|  4.52k|        {
 1320|  4.52k|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
 1321|  4.52k|            _res = _PyPegen_raise_error_for_missing_comma ( p , a , b );
 1322|  4.52k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1322:18): [True: 4.52k, False: 0]
  |  Branch (1322:34): [True: 0, False: 0]
  |  Branch (1322:57): [True: 177, False: 4.34k]
  ------------------
 1323|    177|                p->error_indicator = 1;
 1324|    177|                p->level--;
 1325|    177|                return NULL;
 1326|    177|            }
 1327|  4.34k|            goto done;
 1328|  4.52k|        }
 1329|   279k|        p->mark = _mark;
 1330|   279k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1331|   279k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
 1332|   279k|    }
 1333|      0|    { // disjunction 'if' disjunction !('else' | ':')
 1334|   279k|        if (p->error_indicator) {
  ------------------
  |  Branch (1334:13): [True: 320, False: 279k]
  ------------------
 1335|    320|            p->level--;
 1336|    320|            return NULL;
 1337|    320|        }
 1338|   279k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
 1339|   279k|        Token * _keyword;
 1340|   279k|        expr_ty a;
 1341|   279k|        expr_ty b;
 1342|   279k|        if (
 1343|   279k|            (a = ((!p->call_invalid_rules && _prefix_12_valid) ? (p->mark = _prefix_12_end, _prefix_12_result) : (_prefix_12_result = disjunction_rule(p), _prefix_12_end = p->mark, _prefix_12_valid = 1, _prefix_12_result)))  // disjunction
  ------------------
  |  |  259|   279k|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1343:13): [True: 138k, False: 140k]
  |  Branch (1343:20): [True: 0, False: 279k]
  |  Branch (1343:46): [True: 0, False: 0]
  ------------------
 1344|   138k|            &&
 1345|   138k|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (1345:13): [True: 810, False: 137k]
  ------------------
 1346|    810|            &&
 1347|    810|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  259|    810|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1347:13): [True: 689, False: 121]
  ------------------
 1348|    689|            &&
 1349|    689|            _PyPegen_lookahead(0, _tmp_115_rule, p)
  ------------------
  |  Branch (1349:13): [True: 20, False: 669]
  ------------------
 1350|   279k|        )
 1351|     20|        {
 1352|     20|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
 1353|     20|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "expected 'else' after 'if' expression" );
  ------------------
  |  |  246|     20|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1354|     20|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1354:18): [True: 20, False: 0]
  |  Branch (1354:34): [True: 0, False: 0]
  |  Branch (1354:57): [True: 20, False: 0]
  ------------------
 1355|     20|                p->error_indicator = 1;
 1356|     20|                p->level--;
 1357|     20|                return NULL;
 1358|     20|            }
 1359|      0|            goto done;
 1360|     20|        }
 1361|   279k|        p->mark = _mark;
 1362|   279k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1363|   279k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
 1364|   279k|    }
 1365|      0|    { // disjunction 'if' disjunction 'else' !expression
 1366|   279k|        if (p->error_indicator) {
  ------------------
  |  Branch (1366:13): [True: 0, False: 279k]
  ------------------
 1367|      0|            p->level--;
 1368|      0|            return NULL;
 1369|      0|        }
 1370|   279k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
 1371|   279k|        Token * _keyword;
 1372|   279k|        Token * _keyword_1;
 1373|   279k|        expr_ty a;
 1374|   279k|        expr_ty b;
 1375|   279k|        if (
 1376|   279k|            (a = ((!p->call_invalid_rules && _prefix_12_valid) ? (p->mark = _prefix_12_end, _prefix_12_result) : (_prefix_12_result = disjunction_rule(p), _prefix_12_end = p->mark, _prefix_12_valid = 1, _prefix_12_result)))  // disjunction
  ------------------
  |  |  259|   279k|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1376:13): [True: 138k, False: 140k]
  |  Branch (1376:20): [True: 0, False: 279k]
  |  Branch (1376:46): [True: 0, False: 0]
  ------------------
 1377|   138k|            &&
 1378|   138k|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (1378:13): [True: 790, False: 137k]
  ------------------
 1379|    790|            &&
 1380|    790|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  259|    790|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1380:13): [True: 669, False: 121]
  ------------------
 1381|    669|            &&
 1382|    669|            (_keyword_1 = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (1382:13): [True: 665, False: 4]
  ------------------
 1383|    665|            &&
 1384|    665|            _PyPegen_lookahead_for_expr(0, expression_rule, p)
  ------------------
  |  |  243|    665|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (1384:13): [True: 293, False: 372]
  ------------------
 1385|   279k|        )
 1386|    293|        {
 1387|    293|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
 1388|    293|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "expected expression after 'else', but statement is given" );
  ------------------
  |  |  244|    293|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
 1389|    293|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1389:18): [True: 293, False: 0]
  |  Branch (1389:34): [True: 0, False: 0]
  |  Branch (1389:57): [True: 293, False: 0]
  ------------------
 1390|    293|                p->error_indicator = 1;
 1391|    293|                p->level--;
 1392|    293|                return NULL;
 1393|    293|            }
 1394|      0|            goto done;
 1395|    293|        }
 1396|   279k|        p->mark = _mark;
 1397|   279k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1398|   279k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
 1399|   279k|    }
 1400|      0|    { // (pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt
 1401|   279k|        if (p->error_indicator) {
  ------------------
  |  Branch (1401:13): [True: 0, False: 279k]
  ------------------
 1402|      0|            p->level--;
 1403|      0|            return NULL;
 1404|      0|        }
 1405|   279k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt"));
 1406|   279k|        Token * _keyword;
 1407|   279k|        Token * _keyword_1;
 1408|   279k|        stmt_ty a;
 1409|   279k|        expr_ty b;
 1410|   279k|        stmt_ty c;
 1411|   279k|        if (
 1412|   279k|            (a = (stmt_ty)_tmp_116_rule(p))  // pass_stmt | break_stmt | continue_stmt
  ------------------
  |  Branch (1412:13): [True: 3.34k, False: 275k]
  ------------------
 1413|  3.34k|            &&
 1414|  3.34k|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (1414:13): [True: 2.57k, False: 769]
  ------------------
 1415|  2.57k|            &&
 1416|  2.57k|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  259|  2.57k|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1416:13): [True: 2.46k, False: 116]
  ------------------
 1417|  2.46k|            &&
 1418|  2.46k|            (_keyword_1 = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (1418:13): [True: 2.39k, False: 70]
  ------------------
 1419|  2.39k|            &&
 1420|  2.39k|            (c = simple_stmt_rule(p))  // simple_stmt
  ------------------
  |  |  183|  2.39k|#define simple_stmt_rule _PyPegen_simple_stmt_rule
  ------------------
  |  Branch (1420:13): [True: 19, False: 2.37k]
  ------------------
 1421|   279k|        )
 1422|     19|        {
 1423|     19|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt"));
 1424|     19|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expected expression before 'if', but statement is given" );
  ------------------
  |  |  248|     19|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1425|     19|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1425:18): [True: 19, False: 0]
  |  Branch (1425:34): [True: 0, False: 0]
  |  Branch (1425:57): [True: 19, False: 0]
  ------------------
 1426|     19|                p->error_indicator = 1;
 1427|     19|                p->level--;
 1428|     19|                return NULL;
 1429|     19|            }
 1430|      0|            goto done;
 1431|     19|        }
 1432|   279k|        p->mark = _mark;
 1433|   279k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1434|   279k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt"));
 1435|   279k|    }
 1436|      0|    { // 'lambda' lambda_params? ':' &FSTRING_MIDDLE
 1437|   279k|        if (p->error_indicator) {
  ------------------
  |  Branch (1437:13): [True: 2.29k, False: 276k]
  ------------------
 1438|  2.29k|            p->level--;
 1439|  2.29k|            return NULL;
 1440|  2.29k|        }
 1441|   276k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
 1442|   276k|        void *_opt_var;
 1443|   276k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|   276k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 276k]
  |  |  ------------------
  ------------------
 1444|   276k|        Token * a;
 1445|   276k|        Token * b;
 1446|   276k|        if (
 1447|   276k|            (a = _PyPegen_expect_token(p, 534))  // token='lambda'
  ------------------
  |  Branch (1447:13): [True: 4.41k, False: 272k]
  ------------------
 1448|  4.41k|            &&
 1449|  4.41k|            (_opt_var = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  |  273|  4.41k|#define lambda_params_rule _PyPegen_lambda_params_rule
  ------------------
  |  Branch (1449:13): [True: 3.91k, False: 500]
  ------------------
 1450|  3.91k|            &&
 1451|  3.91k|            (b = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (1451:13): [True: 2.60k, False: 1.31k]
  ------------------
 1452|  2.60k|            &&
 1453|  2.60k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, FSTRING_MIDDLE)  // token=FSTRING_MIDDLE
  ------------------
  |  |   76|  2.60k|#define FSTRING_MIDDLE  60
  ------------------
  |  Branch (1453:13): [True: 0, False: 2.60k]
  ------------------
 1454|   276k|        )
 1455|      0|        {
 1456|      0|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
 1457|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "f-string: lambda expressions are not allowed without parentheses" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1458|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1458:18): [True: 0, False: 0]
  |  Branch (1458:34): [True: 0, False: 0]
  |  Branch (1458:57): [True: 0, False: 0]
  ------------------
 1459|      0|                p->error_indicator = 1;
 1460|      0|                p->level--;
 1461|      0|                return NULL;
 1462|      0|            }
 1463|      0|            goto done;
 1464|      0|        }
 1465|   276k|        p->mark = _mark;
 1466|   276k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1467|   276k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
 1468|   276k|    }
 1469|      0|    { // 'lambda' lambda_params? ':' &TSTRING_MIDDLE
 1470|   276k|        if (p->error_indicator) {
  ------------------
  |  Branch (1470:13): [True: 506, False: 276k]
  ------------------
 1471|    506|            p->level--;
 1472|    506|            return NULL;
 1473|    506|        }
 1474|   276k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
 1475|   276k|        void *_opt_var;
 1476|   276k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|   276k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 276k]
  |  |  ------------------
  ------------------
 1477|   276k|        Token * a;
 1478|   276k|        Token * b;
 1479|   276k|        if (
 1480|   276k|            (a = _PyPegen_expect_token(p, 534))  // token='lambda'
  ------------------
  |  Branch (1480:13): [True: 3.90k, False: 272k]
  ------------------
 1481|  3.90k|            &&
 1482|  3.90k|            (_opt_var = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  |  273|  3.90k|#define lambda_params_rule _PyPegen_lambda_params_rule
  ------------------
  |  Branch (1482:13): [True: 3.90k, False: 0]
  ------------------
 1483|  3.90k|            &&
 1484|  3.90k|            (b = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (1484:13): [True: 2.59k, False: 1.31k]
  ------------------
 1485|  2.59k|            &&
 1486|  2.59k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, TSTRING_MIDDLE)  // token=TSTRING_MIDDLE
  ------------------
  |  |   79|  2.59k|#define TSTRING_MIDDLE  63
  ------------------
  |  Branch (1486:13): [True: 4, False: 2.59k]
  ------------------
 1487|   276k|        )
 1488|      4|        {
 1489|      4|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
 1490|      4|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "t-string: lambda expressions are not allowed without parentheses" );
  ------------------
  |  |  246|      4|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1491|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1491:18): [True: 4, False: 0]
  |  Branch (1491:34): [True: 0, False: 0]
  |  Branch (1491:57): [True: 4, False: 0]
  ------------------
 1492|      4|                p->error_indicator = 1;
 1493|      4|                p->level--;
 1494|      4|                return NULL;
 1495|      4|            }
 1496|      0|            goto done;
 1497|      4|        }
 1498|   276k|        p->mark = _mark;
 1499|   276k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1500|   276k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
 1501|   276k|    }
 1502|   276k|    _res = NULL;
 1503|   280k|  done:
 1504|   280k|    p->level--;
 1505|   280k|    return _res;
 1506|   276k|}
_PyPegen_invalid_if_expression_rule:
 1513|   317k|{
 1514|   317k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   635k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1514:9): [True: 1, False: 317k]
  |  Branch (1514:35): [True: 0, False: 317k]
  ------------------
 1515|      1|        _Pypegen_stack_overflow(p);
 1516|      1|    }
 1517|   317k|    if (p->error_indicator) {
  ------------------
  |  Branch (1517:9): [True: 1, False: 317k]
  ------------------
 1518|      1|        p->level--;
 1519|      1|        return NULL;
 1520|      1|    }
 1521|   317k|    void * _res = NULL;
 1522|   317k|    int _mark = p->mark;
 1523|   317k|    expr_ty _prefix_13_result = NULL;
 1524|   317k|    int _prefix_13_end = 0, _prefix_13_valid = 0;
 1525|   317k|    { // disjunction 'if' disjunction 'else' '*'
 1526|   317k|        if (p->error_indicator) {
  ------------------
  |  Branch (1526:13): [True: 0, False: 317k]
  ------------------
 1527|      0|            p->level--;
 1528|      0|            return NULL;
 1529|      0|        }
 1530|   317k|        D(fprintf(stderr, "%*c> invalid_if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
 1531|   317k|        Token * _keyword;
 1532|   317k|        Token * _keyword_1;
 1533|   317k|        Token * a;
 1534|   317k|        expr_ty b;
 1535|   317k|        expr_ty disjunction_var;
 1536|   317k|        if (
 1537|   317k|            (disjunction_var = ((!p->call_invalid_rules && _prefix_13_valid) ? (p->mark = _prefix_13_end, _prefix_13_result) : (_prefix_13_result = disjunction_rule(p), _prefix_13_end = p->mark, _prefix_13_valid = 1, _prefix_13_result)))  // disjunction
  ------------------
  |  |  259|   317k|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1537:13): [True: 143k, False: 174k]
  |  Branch (1537:34): [True: 0, False: 317k]
  |  Branch (1537:60): [True: 0, False: 0]
  ------------------
 1538|   143k|            &&
 1539|   143k|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (1539:13): [True: 854, False: 142k]
  ------------------
 1540|    854|            &&
 1541|    854|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  259|    854|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1541:13): [True: 691, False: 163]
  ------------------
 1542|    691|            &&
 1543|    691|            (_keyword_1 = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (1543:13): [True: 667, False: 24]
  ------------------
 1544|    667|            &&
 1545|    667|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (1545:13): [True: 0, False: 667]
  ------------------
 1546|   317k|        )
 1547|      0|        {
 1548|      0|            D(fprintf(stderr, "%*c+ invalid_if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
 1549|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot unpack only part of a conditional expression" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1550|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1550:18): [True: 0, False: 0]
  |  Branch (1550:34): [True: 0, False: 0]
  |  Branch (1550:57): [True: 0, False: 0]
  ------------------
 1551|      0|                p->error_indicator = 1;
 1552|      0|                p->level--;
 1553|      0|                return NULL;
 1554|      0|            }
 1555|      0|            goto done;
 1556|      0|        }
 1557|   317k|        p->mark = _mark;
 1558|   317k|        D(fprintf(stderr, "%*c%s invalid_if_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1559|   317k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
 1560|   317k|    }
 1561|      0|    { // disjunction 'if' disjunction 'else' '**'
 1562|   317k|        if (p->error_indicator) {
  ------------------
  |  Branch (1562:13): [True: 33.3k, False: 284k]
  ------------------
 1563|  33.3k|            p->level--;
 1564|  33.3k|            return NULL;
 1565|  33.3k|        }
 1566|   284k|        D(fprintf(stderr, "%*c> invalid_if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
 1567|   284k|        Token * _keyword;
 1568|   284k|        Token * _keyword_1;
 1569|   284k|        Token * a;
 1570|   284k|        expr_ty b;
 1571|   284k|        expr_ty disjunction_var;
 1572|   284k|        if (
 1573|   284k|            (disjunction_var = ((!p->call_invalid_rules && _prefix_13_valid) ? (p->mark = _prefix_13_end, _prefix_13_result) : (_prefix_13_result = disjunction_rule(p), _prefix_13_end = p->mark, _prefix_13_valid = 1, _prefix_13_result)))  // disjunction
  ------------------
  |  |  259|   284k|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1573:13): [True: 143k, False: 140k]
  |  Branch (1573:34): [True: 0, False: 284k]
  |  Branch (1573:60): [True: 0, False: 0]
  ------------------
 1574|   143k|            &&
 1575|   143k|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (1575:13): [True: 812, False: 142k]
  ------------------
 1576|    812|            &&
 1577|    812|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  259|    812|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1577:13): [True: 691, False: 121]
  ------------------
 1578|    691|            &&
 1579|    691|            (_keyword_1 = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (1579:13): [True: 667, False: 24]
  ------------------
 1580|    667|            &&
 1581|    667|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (1581:13): [True: 2, False: 665]
  ------------------
 1582|   284k|        )
 1583|      2|        {
 1584|      2|            D(fprintf(stderr, "%*c+ invalid_if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
 1585|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use dict unpacking on only part of a conditional expression" );
  ------------------
  |  |  248|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1586|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1586:18): [True: 2, False: 0]
  |  Branch (1586:34): [True: 0, False: 0]
  |  Branch (1586:57): [True: 2, False: 0]
  ------------------
 1587|      2|                p->error_indicator = 1;
 1588|      2|                p->level--;
 1589|      2|                return NULL;
 1590|      2|            }
 1591|      0|            goto done;
 1592|      2|        }
 1593|   284k|        p->mark = _mark;
 1594|   284k|        D(fprintf(stderr, "%*c%s invalid_if_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1595|   284k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
 1596|   284k|    }
 1597|   284k|    _res = NULL;
 1598|   284k|  done:
 1599|   284k|    p->level--;
 1600|   284k|    return _res;
 1601|   284k|}
_PyPegen_invalid_named_expression_rule:
 1609|   353k|{
 1610|   353k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   706k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1610:9): [True: 0, False: 353k]
  |  Branch (1610:35): [True: 0, False: 353k]
  ------------------
 1611|      0|        _Pypegen_stack_overflow(p);
 1612|      0|    }
 1613|   353k|    if (p->error_indicator) {
  ------------------
  |  Branch (1613:9): [True: 0, False: 353k]
  ------------------
 1614|      0|        p->level--;
 1615|      0|        return NULL;
 1616|      0|    }
 1617|   353k|    void * _res = NULL;
 1618|   353k|    if (_PyPegen_is_memoized(p, invalid_named_expression_type, &_res)) {
  ------------------
  |  |   27|   353k|#define invalid_named_expression_type 1200
  ------------------
  |  Branch (1618:9): [True: 227k, False: 125k]
  ------------------
 1619|   227k|        p->level--;
 1620|   227k|        return _res;
 1621|   227k|    }
 1622|   125k|    int _mark = p->mark;
 1623|   125k|    { // expression ':=' expression
 1624|   125k|        if (p->error_indicator) {
  ------------------
  |  Branch (1624:13): [True: 0, False: 125k]
  ------------------
 1625|      0|            p->level--;
 1626|      0|            return NULL;
 1627|      0|        }
 1628|   125k|        D(fprintf(stderr, "%*c> invalid_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':=' expression"));
 1629|   125k|        Token * _literal;
 1630|   125k|        expr_ty a;
 1631|   125k|        expr_ty expression_var;
 1632|   125k|        if (
 1633|   125k|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|   125k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (1633:13): [True: 69.0k, False: 56.2k]
  ------------------
 1634|  69.0k|            &&
 1635|  69.0k|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (1635:13): [True: 284, False: 68.7k]
  ------------------
 1636|    284|            &&
 1637|    284|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|    284|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (1637:13): [True: 3, False: 281]
  ------------------
 1638|   125k|        )
 1639|      3|        {
 1640|      3|            D(fprintf(stderr, "%*c+ invalid_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':=' expression"));
 1641|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use assignment expressions with %s" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  248|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1642|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1642:18): [True: 3, False: 0]
  |  Branch (1642:34): [True: 0, False: 0]
  |  Branch (1642:57): [True: 3, False: 0]
  ------------------
 1643|      3|                p->error_indicator = 1;
 1644|      3|                p->level--;
 1645|      3|                return NULL;
 1646|      3|            }
 1647|      0|            goto done;
 1648|      3|        }
 1649|   125k|        p->mark = _mark;
 1650|   125k|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1651|   125k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':=' expression"));
 1652|   125k|    }
 1653|      0|    { // NAME '=' bitwise_or !('=' | ':=')
 1654|   125k|        if (p->error_indicator) {
  ------------------
  |  Branch (1654:13): [True: 16.8k, False: 108k]
  ------------------
 1655|  16.8k|            p->level--;
 1656|  16.8k|            return NULL;
 1657|  16.8k|        }
 1658|   108k|        D(fprintf(stderr, "%*c> invalid_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
 1659|   108k|        Token * _literal;
 1660|   108k|        expr_ty a;
 1661|   108k|        expr_ty b;
 1662|   108k|        if (
 1663|   108k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (1663:13): [True: 49.4k, False: 59.0k]
  ------------------
 1664|  49.4k|            &&
 1665|  49.4k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (1665:13): [True: 648, False: 48.7k]
  ------------------
 1666|    648|            &&
 1667|    648|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|    648|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (1667:13): [True: 49, False: 599]
  ------------------
 1668|     49|            &&
 1669|     49|            _PyPegen_lookahead(0, _tmp_117_rule, p)
  ------------------
  |  Branch (1669:13): [True: 29, False: 20]
  ------------------
 1670|   108k|        )
 1671|     29|        {
 1672|     29|            D(fprintf(stderr, "%*c+ invalid_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
 1673|     29|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid syntax. Maybe you meant '==' or ':=' instead of '='?" );
  ------------------
  |  |  246|     29|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1674|     29|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1674:18): [True: 29, False: 0]
  |  Branch (1674:34): [True: 0, False: 0]
  |  Branch (1674:57): [True: 29, False: 0]
  ------------------
 1675|     29|                p->error_indicator = 1;
 1676|     29|                p->level--;
 1677|     29|                return NULL;
 1678|     29|            }
 1679|      0|            goto done;
 1680|     29|        }
 1681|   108k|        p->mark = _mark;
 1682|   108k|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1683|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
 1684|   108k|    }
 1685|      0|    { // !(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')
 1686|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (1686:13): [True: 291, False: 108k]
  ------------------
 1687|    291|            p->level--;
 1688|    291|            return NULL;
 1689|    291|        }
 1690|   108k|        D(fprintf(stderr, "%*c> invalid_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')"));
 1691|   108k|        expr_ty a;
 1692|   108k|        Token * b;
 1693|   108k|        expr_ty bitwise_or_var;
 1694|   108k|        if (
 1695|   108k|            _PyPegen_lookahead(0, _tmp_118_rule, p)
  ------------------
  |  Branch (1695:13): [True: 105k, False: 2.43k]
  ------------------
 1696|   105k|            &&
 1697|   105k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|   105k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (1697:13): [True: 66.1k, False: 39.6k]
  ------------------
 1698|  66.1k|            &&
 1699|  66.1k|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (1699:13): [True: 429, False: 65.6k]
  ------------------
 1700|    429|            &&
 1701|    429|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|    429|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (1701:13): [True: 45, False: 384]
  ------------------
 1702|     45|            &&
 1703|     45|            _PyPegen_lookahead(0, _tmp_117_rule, p)
  ------------------
  |  Branch (1703:13): [True: 20, False: 25]
  ------------------
 1704|   108k|        )
 1705|     20|        {
 1706|     20|            D(fprintf(stderr, "%*c+ invalid_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')"));
 1707|     20|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot assign to %s here. Maybe you meant '==' instead of '='?" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  248|     20|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1708|     20|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1708:18): [True: 20, False: 0]
  |  Branch (1708:34): [True: 0, False: 0]
  |  Branch (1708:57): [True: 20, False: 0]
  ------------------
 1709|     20|                p->error_indicator = 1;
 1710|     20|                p->level--;
 1711|     20|                return NULL;
 1712|     20|            }
 1713|      0|            goto done;
 1714|     20|        }
 1715|   108k|        p->mark = _mark;
 1716|   108k|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
 1717|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')"));
 1718|   108k|    }
 1719|   108k|    _res = NULL;
 1720|   108k|  done:
 1721|   108k|    _PyPegen_insert_memo(p, _mark, invalid_named_expression_type, _res);
  ------------------
  |  |   27|   108k|#define invalid_named_expression_type 1200
  ------------------
 1722|   108k|    p->level--;
 1723|   108k|    return _res;
 1724|   108k|}
_PyPegen_invalid_assignment_rule:
 1735|  37.3k|{
 1736|  37.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  74.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1736:9): [True: 0, False: 37.3k]
  |  Branch (1736:35): [True: 0, False: 37.3k]
  ------------------
 1737|      0|        _Pypegen_stack_overflow(p);
 1738|      0|    }
 1739|  37.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (1739:9): [True: 0, False: 37.3k]
  ------------------
 1740|      0|        p->level--;
 1741|      0|        return NULL;
 1742|      0|    }
 1743|  37.3k|    void * _res = NULL;
 1744|  37.3k|    int _mark = p->mark;
 1745|  37.3k|    { // invalid_ann_assign_target ':' expression
 1746|  37.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (1746:13): [True: 0, False: 37.3k]
  ------------------
 1747|      0|            p->level--;
 1748|      0|            return NULL;
 1749|      0|        }
 1750|  37.3k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_ann_assign_target ':' expression"));
 1751|  37.3k|        Token * _literal;
 1752|  37.3k|        expr_ty a;
 1753|  37.3k|        expr_ty expression_var;
 1754|  37.3k|        if (
 1755|  37.3k|            (a = invalid_ann_assign_target_rule(p))  // invalid_ann_assign_target
  ------------------
  |  Branch (1755:13): [True: 292, False: 37.0k]
  ------------------
 1756|    292|            &&
 1757|    292|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (1757:13): [True: 6, False: 286]
  ------------------
 1758|      6|            &&
 1759|      6|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|      6|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (1759:13): [True: 3, False: 3]
  ------------------
 1760|  37.3k|        )
 1761|      3|        {
 1762|      3|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_ann_assign_target ':' expression"));
 1763|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "only single target (not %s) can be annotated" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  248|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1764|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1764:18): [True: 3, False: 0]
  |  Branch (1764:34): [True: 0, False: 0]
  |  Branch (1764:57): [True: 3, False: 0]
  ------------------
 1765|      3|                p->error_indicator = 1;
 1766|      3|                p->level--;
 1767|      3|                return NULL;
 1768|      3|            }
 1769|      0|            goto done;
 1770|      3|        }
 1771|  37.3k|        p->mark = _mark;
 1772|  37.3k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
 1773|  37.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_ann_assign_target ':' expression"));
 1774|  37.3k|    }
 1775|      0|    { // star_named_expression ',' star_named_expressions* ':' expression
 1776|  37.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (1776:13): [True: 1, False: 37.3k]
  ------------------
 1777|      1|            p->level--;
 1778|      1|            return NULL;
 1779|      1|        }
 1780|  37.3k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression ',' star_named_expressions* ':' expression"));
 1781|  37.3k|        Token * _literal;
 1782|  37.3k|        Token * _literal_1;
 1783|  37.3k|        asdl_seq * _loop0_119_var;
 1784|  37.3k|        expr_ty a;
 1785|  37.3k|        expr_ty expression_var;
 1786|  37.3k|        if (
 1787|  37.3k|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  |  253|  37.3k|#define star_named_expression_rule _PyPegen_star_named_expression_rule
  ------------------
  |  Branch (1787:13): [True: 25.7k, False: 11.5k]
  ------------------
 1788|  25.7k|            &&
 1789|  25.7k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (1789:13): [True: 1.69k, False: 24.0k]
  ------------------
 1790|  1.69k|            &&
 1791|  1.69k|            (_loop0_119_var = _loop0_119_rule(p))  // star_named_expressions*
  ------------------
  |  Branch (1791:13): [True: 1.69k, False: 0]
  ------------------
 1792|  1.69k|            &&
 1793|  1.69k|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (1793:13): [True: 369, False: 1.32k]
  ------------------
 1794|    369|            &&
 1795|    369|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|    369|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (1795:13): [True: 17, False: 352]
  ------------------
 1796|  37.3k|        )
 1797|     17|        {
 1798|     17|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression ',' star_named_expressions* ':' expression"));
 1799|     17|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "only single target (not tuple) can be annotated" );
  ------------------
  |  |  248|     17|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1800|     17|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1800:18): [True: 17, False: 0]
  |  Branch (1800:34): [True: 0, False: 0]
  |  Branch (1800:57): [True: 17, False: 0]
  ------------------
 1801|     17|                p->error_indicator = 1;
 1802|     17|                p->level--;
 1803|     17|                return NULL;
 1804|     17|            }
 1805|      0|            goto done;
 1806|     17|        }
 1807|  37.3k|        p->mark = _mark;
 1808|  37.3k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
 1809|  37.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression ',' star_named_expressions* ':' expression"));
 1810|  37.3k|    }
 1811|      0|    { // expression ':' expression
 1812|  37.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (1812:13): [True: 1.37k, False: 35.9k]
  ------------------
 1813|  1.37k|            p->level--;
 1814|  1.37k|            return NULL;
 1815|  1.37k|        }
 1816|  35.9k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
 1817|  35.9k|        Token * _literal;
 1818|  35.9k|        expr_ty a;
 1819|  35.9k|        expr_ty expression_var;
 1820|  35.9k|        if (
 1821|  35.9k|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|  35.9k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (1821:13): [True: 24.8k, False: 11.1k]
  ------------------
 1822|  24.8k|            &&
 1823|  24.8k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (1823:13): [True: 324, False: 24.4k]
  ------------------
 1824|    324|            &&
 1825|    324|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|    324|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (1825:13): [True: 39, False: 285]
  ------------------
 1826|  35.9k|        )
 1827|     39|        {
 1828|     39|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
 1829|     39|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "illegal target for annotation" );
  ------------------
  |  |  248|     39|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1830|     39|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1830:18): [True: 39, False: 0]
  |  Branch (1830:34): [True: 0, False: 0]
  |  Branch (1830:57): [True: 39, False: 0]
  ------------------
 1831|     39|                p->error_indicator = 1;
 1832|     39|                p->level--;
 1833|     39|                return NULL;
 1834|     39|            }
 1835|      0|            goto done;
 1836|     39|        }
 1837|  35.9k|        p->mark = _mark;
 1838|  35.9k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
 1839|  35.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' expression"));
 1840|  35.9k|    }
 1841|      0|    { // ((star_targets '='))* star_expressions '='
 1842|  35.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (1842:13): [True: 197, False: 35.7k]
  ------------------
 1843|    197|            p->level--;
 1844|    197|            return NULL;
 1845|    197|        }
 1846|  35.7k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((star_targets '='))* star_expressions '='"));
 1847|  35.7k|        Token * _literal;
 1848|  35.7k|        asdl_seq * _loop0_120_var;
 1849|  35.7k|        expr_ty a;
 1850|  35.7k|        if (
 1851|  35.7k|            (_loop0_120_var = _loop0_120_rule(p))  // ((star_targets '='))*
  ------------------
  |  Branch (1851:13): [True: 35.7k, False: 0]
  ------------------
 1852|  35.7k|            &&
 1853|  35.7k|            (a = star_expressions_rule(p))  // star_expressions
  ------------------
  |  |  249|  35.7k|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (1853:13): [True: 24.8k, False: 10.8k]
  ------------------
 1854|  24.8k|            &&
 1855|  24.8k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (1855:13): [True: 101, False: 24.7k]
  ------------------
 1856|  35.7k|        )
 1857|    101|        {
 1858|    101|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((star_targets '='))* star_expressions '='"));
 1859|    101|            _res = RAISE_SYNTAX_ERROR_INVALID_TARGET ( STAR_TARGETS , a );
  ------------------
  |  |  251|    101|#define RAISE_SYNTAX_ERROR_INVALID_TARGET(type, e) _RAISE_SYNTAX_ERROR_INVALID_TARGET(p, type, e)
  ------------------
 1860|    101|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1860:18): [True: 101, False: 0]
  |  Branch (1860:34): [True: 0, False: 0]
  |  Branch (1860:57): [True: 101, False: 0]
  ------------------
 1861|    101|                p->error_indicator = 1;
 1862|    101|                p->level--;
 1863|    101|                return NULL;
 1864|    101|            }
 1865|      0|            goto done;
 1866|    101|        }
 1867|  35.6k|        p->mark = _mark;
 1868|  35.6k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
 1869|  35.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((star_targets '='))* star_expressions '='"));
 1870|  35.6k|    }
 1871|      0|    { // ((star_targets '='))* yield_expr '='
 1872|  35.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (1872:13): [True: 0, False: 35.6k]
  ------------------
 1873|      0|            p->level--;
 1874|      0|            return NULL;
 1875|      0|        }
 1876|  35.6k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((star_targets '='))* yield_expr '='"));
 1877|  35.6k|        Token * _literal;
 1878|  35.6k|        asdl_seq * _loop0_120_var;
 1879|  35.6k|        expr_ty a;
 1880|  35.6k|        if (
 1881|  35.6k|            (_loop0_120_var = _loop0_120_rule(p))  // ((star_targets '='))*
  ------------------
  |  Branch (1881:13): [True: 35.6k, False: 0]
  ------------------
 1882|  35.6k|            &&
 1883|  35.6k|            (a = yield_expr_rule(p))  // yield_expr
  ------------------
  |  |  247|  35.6k|#define yield_expr_rule _PyPegen_yield_expr_rule
  ------------------
  |  Branch (1883:13): [True: 431, False: 35.1k]
  ------------------
 1884|    431|            &&
 1885|    431|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (1885:13): [True: 2, False: 429]
  ------------------
 1886|  35.6k|        )
 1887|      2|        {
 1888|      2|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((star_targets '='))* yield_expr '='"));
 1889|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "assignment to yield expression not possible" );
  ------------------
  |  |  248|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1890|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1890:18): [True: 2, False: 0]
  |  Branch (1890:34): [True: 0, False: 0]
  |  Branch (1890:57): [True: 2, False: 0]
  ------------------
 1891|      2|                p->error_indicator = 1;
 1892|      2|                p->level--;
 1893|      2|                return NULL;
 1894|      2|            }
 1895|      0|            goto done;
 1896|      2|        }
 1897|  35.6k|        p->mark = _mark;
 1898|  35.6k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
 1899|  35.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((star_targets '='))* yield_expr '='"));
 1900|  35.6k|    }
 1901|      0|    { // star_expressions augassign annotated_rhs
 1902|  35.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (1902:13): [True: 3, False: 35.6k]
  ------------------
 1903|      3|            p->level--;
 1904|      3|            return NULL;
 1905|      3|        }
 1906|  35.6k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expressions augassign annotated_rhs"));
 1907|  35.6k|        expr_ty a;
 1908|  35.6k|        expr_ty annotated_rhs_var;
 1909|  35.6k|        AugOperator* augassign_var;
 1910|  35.6k|        if (
 1911|  35.6k|            (a = star_expressions_rule(p))  // star_expressions
  ------------------
  |  |  249|  35.6k|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (1911:13): [True: 24.7k, False: 10.8k]
  ------------------
 1912|  24.7k|            &&
 1913|  24.7k|            (augassign_var = augassign_rule(p))  // augassign
  ------------------
  |  |  187|  24.7k|#define augassign_rule _PyPegen_augassign_rule
  ------------------
  |  Branch (1913:13): [True: 74, False: 24.6k]
  ------------------
 1914|     74|            &&
 1915|     74|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  185|     74|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (1915:13): [True: 25, False: 49]
  ------------------
 1916|  35.6k|        )
 1917|     25|        {
 1918|     25|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expressions augassign annotated_rhs"));
 1919|     25|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "'%s' is an illegal expression for augmented assignment" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  248|     25|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1920|     25|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1920:18): [True: 25, False: 0]
  |  Branch (1920:34): [True: 0, False: 0]
  |  Branch (1920:57): [True: 25, False: 0]
  ------------------
 1921|     25|                p->error_indicator = 1;
 1922|     25|                p->level--;
 1923|     25|                return NULL;
 1924|     25|            }
 1925|      0|            goto done;
 1926|     25|        }
 1927|  35.5k|        p->mark = _mark;
 1928|  35.5k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
 1929|  35.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expressions augassign annotated_rhs"));
 1930|  35.5k|    }
 1931|  35.5k|    _res = NULL;
 1932|  35.5k|  done:
 1933|  35.5k|    p->level--;
 1934|  35.5k|    return _res;
 1935|  35.5k|}
_PyPegen_invalid_raise_stmt_rule:
 2027|    410|{
 2028|    410|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    820|#  define MAXSTACK 6000
  ------------------
  |  Branch (2028:9): [True: 0, False: 410]
  |  Branch (2028:35): [True: 0, False: 410]
  ------------------
 2029|      0|        _Pypegen_stack_overflow(p);
 2030|      0|    }
 2031|    410|    if (p->error_indicator) {
  ------------------
  |  Branch (2031:9): [True: 0, False: 410]
  ------------------
 2032|      0|        p->level--;
 2033|      0|        return NULL;
 2034|      0|    }
 2035|    410|    void * _res = NULL;
 2036|    410|    int _mark = p->mark;
 2037|    410|    { // 'raise' 'from'
 2038|    410|        if (p->error_indicator) {
  ------------------
  |  Branch (2038:13): [True: 0, False: 410]
  ------------------
 2039|      0|            p->level--;
 2040|      0|            return NULL;
 2041|      0|        }
 2042|    410|        D(fprintf(stderr, "%*c> invalid_raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'raise' 'from'"));
 2043|    410|        Token * a;
 2044|    410|        Token * b;
 2045|    410|        if (
 2046|    410|            (a = _PyPegen_expect_token(p, 503))  // token='raise'
  ------------------
  |  Branch (2046:13): [True: 410, False: 0]
  ------------------
 2047|    410|            &&
 2048|    410|            (b = _PyPegen_expect_token(p, 501))  // token='from'
  ------------------
  |  Branch (2048:13): [True: 1, False: 409]
  ------------------
 2049|    410|        )
 2050|      1|        {
 2051|      1|            D(fprintf(stderr, "%*c+ invalid_raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'raise' 'from'"));
 2052|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "did you forget an expression between 'raise' and 'from'?" );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2053|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2053:18): [True: 1, False: 0]
  |  Branch (2053:34): [True: 0, False: 0]
  |  Branch (2053:57): [True: 1, False: 0]
  ------------------
 2054|      1|                p->error_indicator = 1;
 2055|      1|                p->level--;
 2056|      1|                return NULL;
 2057|      1|            }
 2058|      0|            goto done;
 2059|      1|        }
 2060|    409|        p->mark = _mark;
 2061|    409|        D(fprintf(stderr, "%*c%s invalid_raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2062|    409|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'raise' 'from'"));
 2063|    409|    }
 2064|      0|    { // 'raise' expression 'from'
 2065|    409|        if (p->error_indicator) {
  ------------------
  |  Branch (2065:13): [True: 0, False: 409]
  ------------------
 2066|      0|            p->level--;
 2067|      0|            return NULL;
 2068|      0|        }
 2069|    409|        D(fprintf(stderr, "%*c> invalid_raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'raise' expression 'from'"));
 2070|    409|        Token * _keyword;
 2071|    409|        Token * a;
 2072|    409|        expr_ty expression_var;
 2073|    409|        if (
 2074|    409|            (_keyword = _PyPegen_expect_token(p, 503))  // token='raise'
  ------------------
  |  Branch (2074:13): [True: 409, False: 0]
  ------------------
 2075|    409|            &&
 2076|    409|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|    409|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2076:13): [True: 210, False: 199]
  ------------------
 2077|    210|            &&
 2078|    210|            (a = _PyPegen_expect_token(p, 501))  // token='from'
  ------------------
  |  Branch (2078:13): [True: 1, False: 209]
  ------------------
 2079|    409|        )
 2080|      1|        {
 2081|      1|            D(fprintf(stderr, "%*c+ invalid_raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'raise' expression 'from'"));
 2082|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "did you forget an expression after 'from'?" );
  ------------------
  |  |  248|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2083|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2083:18): [True: 1, False: 0]
  |  Branch (2083:34): [True: 0, False: 0]
  |  Branch (2083:57): [True: 1, False: 0]
  ------------------
 2084|      1|                p->error_indicator = 1;
 2085|      1|                p->level--;
 2086|      1|                return NULL;
 2087|      1|            }
 2088|      0|            goto done;
 2089|      1|        }
 2090|    408|        p->mark = _mark;
 2091|    408|        D(fprintf(stderr, "%*c%s invalid_raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2092|    408|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'raise' expression 'from'"));
 2093|    408|    }
 2094|    408|    _res = NULL;
 2095|    408|  done:
 2096|    408|    p->level--;
 2097|    408|    return _res;
 2098|    408|}
_PyPegen_invalid_del_stmt_rule:
 2103|    182|{
 2104|    182|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    364|#  define MAXSTACK 6000
  ------------------
  |  Branch (2104:9): [True: 0, False: 182]
  |  Branch (2104:35): [True: 0, False: 182]
  ------------------
 2105|      0|        _Pypegen_stack_overflow(p);
 2106|      0|    }
 2107|    182|    if (p->error_indicator) {
  ------------------
  |  Branch (2107:9): [True: 0, False: 182]
  ------------------
 2108|      0|        p->level--;
 2109|      0|        return NULL;
 2110|      0|    }
 2111|    182|    void * _res = NULL;
 2112|    182|    int _mark = p->mark;
 2113|    182|    { // 'del' star_expressions
 2114|    182|        if (p->error_indicator) {
  ------------------
  |  Branch (2114:13): [True: 0, False: 182]
  ------------------
 2115|      0|            p->level--;
 2116|      0|            return NULL;
 2117|      0|        }
 2118|    182|        D(fprintf(stderr, "%*c> invalid_del_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'del' star_expressions"));
 2119|    182|        Token * _keyword;
 2120|    182|        expr_ty a;
 2121|    182|        if (
 2122|    182|            (_keyword = _PyPegen_expect_token(p, 505))  // token='del'
  ------------------
  |  Branch (2122:13): [True: 182, False: 0]
  ------------------
 2123|    182|            &&
 2124|    182|            (a = star_expressions_rule(p))  // star_expressions
  ------------------
  |  |  249|    182|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (2124:13): [True: 128, False: 54]
  ------------------
 2125|    182|        )
 2126|    128|        {
 2127|    128|            D(fprintf(stderr, "%*c+ invalid_del_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'del' star_expressions"));
 2128|    128|            _res = RAISE_SYNTAX_ERROR_INVALID_TARGET ( DEL_TARGETS , a );
  ------------------
  |  |  251|    128|#define RAISE_SYNTAX_ERROR_INVALID_TARGET(type, e) _RAISE_SYNTAX_ERROR_INVALID_TARGET(p, type, e)
  ------------------
 2129|    128|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2129:18): [True: 128, False: 0]
  |  Branch (2129:34): [True: 0, False: 0]
  |  Branch (2129:57): [True: 19, False: 109]
  ------------------
 2130|     19|                p->error_indicator = 1;
 2131|     19|                p->level--;
 2132|     19|                return NULL;
 2133|     19|            }
 2134|    109|            goto done;
 2135|    128|        }
 2136|     54|        p->mark = _mark;
 2137|     54|        D(fprintf(stderr, "%*c%s invalid_del_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2138|     54|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'del' star_expressions"));
 2139|     54|    }
 2140|     54|    _res = NULL;
 2141|    163|  done:
 2142|    163|    p->level--;
 2143|    163|    return _res;
 2144|     54|}
_PyPegen_invalid_assert_stmt_rule:
 2153|    413|{
 2154|    413|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    826|#  define MAXSTACK 6000
  ------------------
  |  Branch (2154:9): [True: 0, False: 413]
  |  Branch (2154:35): [True: 0, False: 413]
  ------------------
 2155|      0|        _Pypegen_stack_overflow(p);
 2156|      0|    }
 2157|    413|    if (p->error_indicator) {
  ------------------
  |  Branch (2157:9): [True: 0, False: 413]
  ------------------
 2158|      0|        p->level--;
 2159|      0|        return NULL;
 2160|      0|    }
 2161|    413|    void * _res = NULL;
 2162|    413|    int _mark = p->mark;
 2163|    413|    { // 'assert' expression '=' expression
 2164|    413|        if (p->error_indicator) {
  ------------------
  |  Branch (2164:13): [True: 0, False: 413]
  ------------------
 2165|      0|            p->level--;
 2166|      0|            return NULL;
 2167|      0|        }
 2168|    413|        D(fprintf(stderr, "%*c> invalid_assert_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'assert' expression '=' expression"));
 2169|    413|        Token * _keyword;
 2170|    413|        Token * _literal;
 2171|    413|        expr_ty a;
 2172|    413|        expr_ty b;
 2173|    413|        if (
 2174|    413|            (_keyword = _PyPegen_expect_token(p, 507))  // token='assert'
  ------------------
  |  Branch (2174:13): [True: 413, False: 0]
  ------------------
 2175|    413|            &&
 2176|    413|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|    413|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2176:13): [True: 406, False: 7]
  ------------------
 2177|    406|            &&
 2178|    406|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (2178:13): [True: 2, False: 404]
  ------------------
 2179|      2|            &&
 2180|      2|            (b = expression_rule(p))  // expression
  ------------------
  |  |  243|      2|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2180:13): [True: 1, False: 1]
  ------------------
 2181|    413|        )
 2182|      1|        {
 2183|      1|            D(fprintf(stderr, "%*c+ invalid_assert_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'assert' expression '=' expression"));
 2184|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to %s here. Maybe you meant '==' instead of '='?" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2185|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2185:18): [True: 1, False: 0]
  |  Branch (2185:34): [True: 0, False: 0]
  |  Branch (2185:57): [True: 1, False: 0]
  ------------------
 2186|      1|                p->error_indicator = 1;
 2187|      1|                p->level--;
 2188|      1|                return NULL;
 2189|      1|            }
 2190|      0|            goto done;
 2191|      1|        }
 2192|    412|        p->mark = _mark;
 2193|    412|        D(fprintf(stderr, "%*c%s invalid_assert_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2194|    412|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'assert' expression '=' expression"));
 2195|    412|    }
 2196|      0|    { // 'assert' expression ',' expression '=' expression
 2197|    412|        if (p->error_indicator) {
  ------------------
  |  Branch (2197:13): [True: 4, False: 408]
  ------------------
 2198|      4|            p->level--;
 2199|      4|            return NULL;
 2200|      4|        }
 2201|    408|        D(fprintf(stderr, "%*c> invalid_assert_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'assert' expression ',' expression '=' expression"));
 2202|    408|        Token * _keyword;
 2203|    408|        Token * _literal;
 2204|    408|        Token * _literal_1;
 2205|    408|        expr_ty a;
 2206|    408|        expr_ty b;
 2207|    408|        expr_ty expression_var;
 2208|    408|        if (
 2209|    408|            (_keyword = _PyPegen_expect_token(p, 507))  // token='assert'
  ------------------
  |  Branch (2209:13): [True: 408, False: 0]
  ------------------
 2210|    408|            &&
 2211|    408|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|    408|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2211:13): [True: 405, False: 3]
  ------------------
 2212|    405|            &&
 2213|    405|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (2213:13): [True: 78, False: 327]
  ------------------
 2214|     78|            &&
 2215|     78|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|     78|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2215:13): [True: 78, False: 0]
  ------------------
 2216|     78|            &&
 2217|     78|            (_literal_1 = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (2217:13): [True: 1, False: 77]
  ------------------
 2218|      1|            &&
 2219|      1|            (b = expression_rule(p))  // expression
  ------------------
  |  |  243|      1|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2219:13): [True: 0, False: 1]
  ------------------
 2220|    408|        )
 2221|      0|        {
 2222|      0|            D(fprintf(stderr, "%*c+ invalid_assert_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'assert' expression ',' expression '=' expression"));
 2223|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to %s here. Maybe you meant '==' instead of '='?" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2224|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2224:18): [True: 0, False: 0]
  |  Branch (2224:34): [True: 0, False: 0]
  |  Branch (2224:57): [True: 0, False: 0]
  ------------------
 2225|      0|                p->error_indicator = 1;
 2226|      0|                p->level--;
 2227|      0|                return NULL;
 2228|      0|            }
 2229|      0|            goto done;
 2230|      0|        }
 2231|    408|        p->mark = _mark;
 2232|    408|        D(fprintf(stderr, "%*c%s invalid_assert_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2233|    408|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'assert' expression ',' expression '=' expression"));
 2234|    408|    }
 2235|      0|    { // 'assert' expression ':=' expression
 2236|    408|        if (p->error_indicator) {
  ------------------
  |  Branch (2236:13): [True: 1, False: 407]
  ------------------
 2237|      1|            p->level--;
 2238|      1|            return NULL;
 2239|      1|        }
 2240|    407|        D(fprintf(stderr, "%*c> invalid_assert_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'assert' expression ':=' expression"));
 2241|    407|        Token * _keyword;
 2242|    407|        Token * _literal;
 2243|    407|        expr_ty a;
 2244|    407|        expr_ty b;
 2245|    407|        if (
 2246|    407|            (_keyword = _PyPegen_expect_token(p, 507))  // token='assert'
  ------------------
  |  Branch (2246:13): [True: 407, False: 0]
  ------------------
 2247|    407|            &&
 2248|    407|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|    407|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2248:13): [True: 404, False: 3]
  ------------------
 2249|    404|            &&
 2250|    404|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (2250:13): [True: 1, False: 403]
  ------------------
 2251|      1|            &&
 2252|      1|            (b = expression_rule(p))  // expression
  ------------------
  |  |  243|      1|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2252:13): [True: 0, False: 1]
  ------------------
 2253|    407|        )
 2254|      0|        {
 2255|      0|            D(fprintf(stderr, "%*c+ invalid_assert_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'assert' expression ':=' expression"));
 2256|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use named expression without parentheses here" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2257|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2257:18): [True: 0, False: 0]
  |  Branch (2257:34): [True: 0, False: 0]
  |  Branch (2257:57): [True: 0, False: 0]
  ------------------
 2258|      0|                p->error_indicator = 1;
 2259|      0|                p->level--;
 2260|      0|                return NULL;
 2261|      0|            }
 2262|      0|            goto done;
 2263|      0|        }
 2264|    407|        p->mark = _mark;
 2265|    407|        D(fprintf(stderr, "%*c%s invalid_assert_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2266|    407|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'assert' expression ':=' expression"));
 2267|    407|    }
 2268|      0|    { // 'assert' expression ',' expression ':=' expression
 2269|    407|        if (p->error_indicator) {
  ------------------
  |  Branch (2269:13): [True: 1, False: 406]
  ------------------
 2270|      1|            p->level--;
 2271|      1|            return NULL;
 2272|      1|        }
 2273|    406|        D(fprintf(stderr, "%*c> invalid_assert_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'assert' expression ',' expression ':=' expression"));
 2274|    406|        Token * _keyword;
 2275|    406|        Token * _literal;
 2276|    406|        Token * _literal_1;
 2277|    406|        expr_ty a;
 2278|    406|        expr_ty b;
 2279|    406|        expr_ty expression_var;
 2280|    406|        if (
 2281|    406|            (_keyword = _PyPegen_expect_token(p, 507))  // token='assert'
  ------------------
  |  Branch (2281:13): [True: 406, False: 0]
  ------------------
 2282|    406|            &&
 2283|    406|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|    406|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2283:13): [True: 403, False: 3]
  ------------------
 2284|    403|            &&
 2285|    403|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (2285:13): [True: 77, False: 326]
  ------------------
 2286|     77|            &&
 2287|     77|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|     77|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2287:13): [True: 77, False: 0]
  ------------------
 2288|     77|            &&
 2289|     77|            (_literal_1 = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (2289:13): [True: 2, False: 75]
  ------------------
 2290|      2|            &&
 2291|      2|            (b = expression_rule(p))  // expression
  ------------------
  |  |  243|      2|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2291:13): [True: 1, False: 1]
  ------------------
 2292|    406|        )
 2293|      1|        {
 2294|      1|            D(fprintf(stderr, "%*c+ invalid_assert_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'assert' expression ',' expression ':=' expression"));
 2295|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use named expression without parentheses here" );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2296|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2296:18): [True: 1, False: 0]
  |  Branch (2296:34): [True: 0, False: 0]
  |  Branch (2296:57): [True: 1, False: 0]
  ------------------
 2297|      1|                p->error_indicator = 1;
 2298|      1|                p->level--;
 2299|      1|                return NULL;
 2300|      1|            }
 2301|      0|            goto done;
 2302|      1|        }
 2303|    405|        p->mark = _mark;
 2304|    405|        D(fprintf(stderr, "%*c%s invalid_assert_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2305|    405|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'assert' expression ',' expression ':=' expression"));
 2306|    405|    }
 2307|    405|    _res = NULL;
 2308|    405|  done:
 2309|    405|    p->level--;
 2310|    405|    return _res;
 2311|    405|}
_PyPegen_invalid_block_rule:
 2316|  1.30k|{
 2317|  1.30k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.61k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2317:9): [True: 0, False: 1.30k]
  |  Branch (2317:35): [True: 0, False: 1.30k]
  ------------------
 2318|      0|        _Pypegen_stack_overflow(p);
 2319|      0|    }
 2320|  1.30k|    if (p->error_indicator) {
  ------------------
  |  Branch (2320:9): [True: 0, False: 1.30k]
  ------------------
 2321|      0|        p->level--;
 2322|      0|        return NULL;
 2323|      0|    }
 2324|  1.30k|    void * _res = NULL;
 2325|  1.30k|    int _mark = p->mark;
 2326|  1.30k|    { // NEWLINE !INDENT
 2327|  1.30k|        if (p->error_indicator) {
  ------------------
  |  Branch (2327:13): [True: 0, False: 1.30k]
  ------------------
 2328|      0|            p->level--;
 2329|      0|            return NULL;
 2330|      0|        }
 2331|  1.30k|        D(fprintf(stderr, "%*c> invalid_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE !INDENT"));
 2332|  1.30k|        Token * newline_var;
 2333|  1.30k|        if (
 2334|  1.30k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.30k|#define NEWLINE         4
  ------------------
  |  Branch (2334:13): [True: 150, False: 1.15k]
  ------------------
 2335|    150|            &&
 2336|    150|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    150|#define INDENT          5
  ------------------
  |  Branch (2336:13): [True: 6, False: 144]
  ------------------
 2337|  1.30k|        )
 2338|      6|        {
 2339|      6|            D(fprintf(stderr, "%*c+ invalid_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE !INDENT"));
 2340|      6|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block" );
  ------------------
  |  |  243|      6|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 2341|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2341:18): [True: 6, False: 0]
  |  Branch (2341:34): [True: 0, False: 0]
  |  Branch (2341:57): [True: 6, False: 0]
  ------------------
 2342|      6|                p->error_indicator = 1;
 2343|      6|                p->level--;
 2344|      6|                return NULL;
 2345|      6|            }
 2346|      0|            goto done;
 2347|      6|        }
 2348|  1.30k|        p->mark = _mark;
 2349|  1.30k|        D(fprintf(stderr, "%*c%s invalid_block[%d-%d]: %s failed!\n", p->level, ' ',
 2350|  1.30k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE !INDENT"));
 2351|  1.30k|    }
 2352|  1.30k|    _res = NULL;
 2353|  1.30k|  done:
 2354|  1.30k|    p->level--;
 2355|  1.30k|    return _res;
 2356|  1.30k|}
_PyPegen_invalid_comprehension_rule:
 2365|   362k|{
 2366|   362k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   725k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2366:9): [True: 1, False: 362k]
  |  Branch (2366:35): [True: 0, False: 362k]
  ------------------
 2367|      1|        _Pypegen_stack_overflow(p);
 2368|      1|    }
 2369|   362k|    if (p->error_indicator) {
  ------------------
  |  Branch (2369:9): [True: 1, False: 362k]
  ------------------
 2370|      1|        p->level--;
 2371|      1|        return NULL;
 2372|      1|    }
 2373|   362k|    void * _res = NULL;
 2374|   362k|    int _mark = p->mark;
 2375|   362k|    { // '[' '**' expression for_if_clauses
 2376|   362k|        if (p->error_indicator) {
  ------------------
  |  Branch (2376:13): [True: 0, False: 362k]
  ------------------
 2377|      0|            p->level--;
 2378|      0|            return NULL;
 2379|      0|        }
 2380|   362k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' '**' expression for_if_clauses"));
 2381|   362k|        Token * _literal;
 2382|   362k|        Token * a;
 2383|   362k|        expr_ty b;
 2384|   362k|        asdl_comprehension_seq* for_if_clauses_var;
 2385|   362k|        if (
 2386|   362k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (2386:13): [True: 54.7k, False: 308k]
  ------------------
 2387|  54.7k|            &&
 2388|  54.7k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (2388:13): [True: 270, False: 54.4k]
  ------------------
 2389|    270|            &&
 2390|    270|            (b = expression_rule(p))  // expression
  ------------------
  |  |  243|    270|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2390:13): [True: 190, False: 80]
  ------------------
 2391|    190|            &&
 2392|    190|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|    190|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (2392:13): [True: 1, False: 189]
  ------------------
 2393|   362k|        )
 2394|      1|        {
 2395|      1|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' '**' expression for_if_clauses"));
 2396|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in list comprehension" );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2397|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2397:18): [True: 1, False: 0]
  |  Branch (2397:34): [True: 0, False: 0]
  |  Branch (2397:57): [True: 1, False: 0]
  ------------------
 2398|      1|                p->error_indicator = 1;
 2399|      1|                p->level--;
 2400|      1|                return NULL;
 2401|      1|            }
 2402|      0|            goto done;
 2403|      1|        }
 2404|   362k|        p->mark = _mark;
 2405|   362k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
 2406|   362k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' '**' expression for_if_clauses"));
 2407|   362k|    }
 2408|      0|    { // '(' '**' expression for_if_clauses
 2409|   362k|        if (p->error_indicator) {
  ------------------
  |  Branch (2409:13): [True: 42, False: 362k]
  ------------------
 2410|     42|            p->level--;
 2411|     42|            return NULL;
 2412|     42|        }
 2413|   362k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' '**' expression for_if_clauses"));
 2414|   362k|        Token * _literal;
 2415|   362k|        Token * a;
 2416|   362k|        expr_ty b;
 2417|   362k|        asdl_comprehension_seq* for_if_clauses_var;
 2418|   362k|        if (
 2419|   362k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (2419:13): [True: 38.6k, False: 324k]
  ------------------
 2420|  38.6k|            &&
 2421|  38.6k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (2421:13): [True: 2.37k, False: 36.3k]
  ------------------
 2422|  2.37k|            &&
 2423|  2.37k|            (b = expression_rule(p))  // expression
  ------------------
  |  |  243|  2.37k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (2423:13): [True: 1.94k, False: 426]
  ------------------
 2424|  1.94k|            &&
 2425|  1.94k|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|  1.94k|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (2425:13): [True: 0, False: 1.94k]
  ------------------
 2426|   362k|        )
 2427|      0|        {
 2428|      0|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' '**' expression for_if_clauses"));
 2429|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in generator expression" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2430|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2430:18): [True: 0, False: 0]
  |  Branch (2430:34): [True: 0, False: 0]
  |  Branch (2430:57): [True: 0, False: 0]
  ------------------
 2431|      0|                p->error_indicator = 1;
 2432|      0|                p->level--;
 2433|      0|                return NULL;
 2434|      0|            }
 2435|      0|            goto done;
 2436|      0|        }
 2437|   362k|        p->mark = _mark;
 2438|   362k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
 2439|   362k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' '**' expression for_if_clauses"));
 2440|   362k|    }
 2441|      0|    { // ('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses
 2442|   362k|        if (p->error_indicator) {
  ------------------
  |  Branch (2442:13): [True: 274, False: 362k]
  ------------------
 2443|    274|            p->level--;
 2444|    274|            return NULL;
 2445|    274|        }
 2446|   362k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses"));
 2447|   362k|        Token * _literal;
 2448|   362k|        void *_tmp_121_var;
 2449|   362k|        expr_ty a;
 2450|   362k|        asdl_expr_seq* b;
 2451|   362k|        asdl_comprehension_seq* for_if_clauses_var;
 2452|   362k|        if (
 2453|   362k|            (_tmp_121_var = _tmp_121_rule(p))  // '[' | '{'
  ------------------
  |  Branch (2453:13): [True: 66.3k, False: 296k]
  ------------------
 2454|  66.3k|            &&
 2455|  66.3k|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  |  253|  66.3k|#define star_named_expression_rule _PyPegen_star_named_expression_rule
  ------------------
  |  Branch (2455:13): [True: 32.4k, False: 33.9k]
  ------------------
 2456|  32.4k|            &&
 2457|  32.4k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (2457:13): [True: 2.83k, False: 29.5k]
  ------------------
 2458|  2.83k|            &&
 2459|  2.83k|            (b = star_named_expressions_rule(p))  // star_named_expressions
  ------------------
  |  |  251|  2.83k|#define star_named_expressions_rule _PyPegen_star_named_expressions_rule
  ------------------
  |  Branch (2459:13): [True: 1.03k, False: 1.79k]
  ------------------
 2460|  1.03k|            &&
 2461|  1.03k|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|  1.03k|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (2461:13): [True: 1, False: 1.03k]
  ------------------
 2462|   362k|        )
 2463|      1|        {
 2464|      1|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses"));
 2465|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , PyPegen_last_item ( b , expr_ty ) , "did you forget parentheses around the comprehension target?" );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2466|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2466:18): [True: 1, False: 0]
  |  Branch (2466:34): [True: 0, False: 0]
  |  Branch (2466:57): [True: 1, False: 0]
  ------------------
 2467|      1|                p->error_indicator = 1;
 2468|      1|                p->level--;
 2469|      1|                return NULL;
 2470|      1|            }
 2471|      0|            goto done;
 2472|      1|        }
 2473|   362k|        p->mark = _mark;
 2474|   362k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
 2475|   362k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses"));
 2476|   362k|    }
 2477|      0|    { // ('[' | '{') star_named_expression ',' for_if_clauses
 2478|   362k|        if (p->error_indicator) {
  ------------------
  |  Branch (2478:13): [True: 5.34k, False: 357k]
  ------------------
 2479|  5.34k|            p->level--;
 2480|  5.34k|            return NULL;
 2481|  5.34k|        }
 2482|   357k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
 2483|   357k|        void *_tmp_121_var;
 2484|   357k|        expr_ty a;
 2485|   357k|        Token * b;
 2486|   357k|        asdl_comprehension_seq* for_if_clauses_var;
 2487|   357k|        if (
 2488|   357k|            (_tmp_121_var = _tmp_121_rule(p))  // '[' | '{'
  ------------------
  |  Branch (2488:13): [True: 61.0k, False: 296k]
  ------------------
 2489|  61.0k|            &&
 2490|  61.0k|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  |  253|  61.0k|#define star_named_expression_rule _PyPegen_star_named_expression_rule
  ------------------
  |  Branch (2490:13): [True: 31.9k, False: 29.1k]
  ------------------
 2491|  31.9k|            &&
 2492|  31.9k|            (b = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (2492:13): [True: 2.32k, False: 29.5k]
  ------------------
 2493|  2.32k|            &&
 2494|  2.32k|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|  2.32k|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (2494:13): [True: 0, False: 2.32k]
  ------------------
 2495|   357k|        )
 2496|      0|        {
 2497|      0|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
 2498|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "did you forget parentheses around the comprehension target?" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2499|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2499:18): [True: 0, False: 0]
  |  Branch (2499:34): [True: 0, False: 0]
  |  Branch (2499:57): [True: 0, False: 0]
  ------------------
 2500|      0|                p->error_indicator = 1;
 2501|      0|                p->level--;
 2502|      0|                return NULL;
 2503|      0|            }
 2504|      0|            goto done;
 2505|      0|        }
 2506|   357k|        p->mark = _mark;
 2507|   357k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
 2508|   357k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
 2509|   357k|    }
 2510|   357k|    _res = NULL;
 2511|   357k|  done:
 2512|   357k|    p->level--;
 2513|   357k|    return _res;
 2514|   357k|}
_PyPegen_invalid_parameters_rule:
 2525|  4.81k|{
 2526|  4.81k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  9.63k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2526:9): [True: 0, False: 4.81k]
  |  Branch (2526:35): [True: 0, False: 4.81k]
  ------------------
 2527|      0|        _Pypegen_stack_overflow(p);
 2528|      0|    }
 2529|  4.81k|    if (p->error_indicator) {
  ------------------
  |  Branch (2529:9): [True: 0, False: 4.81k]
  ------------------
 2530|      0|        p->level--;
 2531|      0|        return NULL;
 2532|      0|    }
 2533|  4.81k|    void * _res = NULL;
 2534|  4.81k|    int _mark = p->mark;
 2535|  4.81k|    { // "/" ','
 2536|  4.81k|        if (p->error_indicator) {
  ------------------
  |  Branch (2536:13): [True: 0, False: 4.81k]
  ------------------
 2537|      0|            p->level--;
 2538|      0|            return NULL;
 2539|      0|        }
 2540|  4.81k|        D(fprintf(stderr, "%*c> invalid_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"/\" ','"));
 2541|  4.81k|        Token * _literal;
 2542|  4.81k|        Token * a;
 2543|  4.81k|        if (
 2544|  4.81k|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (2544:13): [True: 8, False: 4.80k]
  ------------------
 2545|      8|            &&
 2546|      8|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (2546:13): [True: 2, False: 6]
  ------------------
 2547|  4.81k|        )
 2548|      2|        {
 2549|      2|            D(fprintf(stderr, "%*c+ invalid_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"/\" ','"));
 2550|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "at least one parameter must precede /" );
  ------------------
  |  |  248|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2551|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2551:18): [True: 2, False: 0]
  |  Branch (2551:34): [True: 0, False: 0]
  |  Branch (2551:57): [True: 2, False: 0]
  ------------------
 2552|      2|                p->error_indicator = 1;
 2553|      2|                p->level--;
 2554|      2|                return NULL;
 2555|      2|            }
 2556|      0|            goto done;
 2557|      2|        }
 2558|  4.81k|        p->mark = _mark;
 2559|  4.81k|        D(fprintf(stderr, "%*c%s invalid_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 2560|  4.81k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"/\" ','"));
 2561|  4.81k|    }
 2562|      0|    { // (slash_no_default | slash_with_default) param_maybe_default* '/'
 2563|  4.81k|        if (p->error_indicator) {
  ------------------
  |  Branch (2563:13): [True: 0, False: 4.81k]
  ------------------
 2564|      0|            p->level--;
 2565|      0|            return NULL;
 2566|      0|        }
 2567|  4.81k|        D(fprintf(stderr, "%*c> invalid_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(slash_no_default | slash_with_default) param_maybe_default* '/'"));
 2568|  4.81k|        asdl_seq * _loop0_123_var;
 2569|  4.81k|        void *_tmp_122_var;
 2570|  4.81k|        Token * a;
 2571|  4.81k|        if (
 2572|  4.81k|            (_tmp_122_var = _tmp_122_rule(p))  // slash_no_default | slash_with_default
  ------------------
  |  Branch (2572:13): [True: 372, False: 4.44k]
  ------------------
 2573|    372|            &&
 2574|    372|            (_loop0_123_var = _loop0_123_rule(p))  // param_maybe_default*
  ------------------
  |  Branch (2574:13): [True: 372, False: 0]
  ------------------
 2575|    372|            &&
 2576|    372|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (2576:13): [True: 1, False: 371]
  ------------------
 2577|  4.81k|        )
 2578|      1|        {
 2579|      1|            D(fprintf(stderr, "%*c+ invalid_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(slash_no_default | slash_with_default) param_maybe_default* '/'"));
 2580|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "/ may appear only once" );
  ------------------
  |  |  248|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2581|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2581:18): [True: 1, False: 0]
  |  Branch (2581:34): [True: 0, False: 0]
  |  Branch (2581:57): [True: 1, False: 0]
  ------------------
 2582|      1|                p->error_indicator = 1;
 2583|      1|                p->level--;
 2584|      1|                return NULL;
 2585|      1|            }
 2586|      0|            goto done;
 2587|      1|        }
 2588|  4.81k|        p->mark = _mark;
 2589|  4.81k|        D(fprintf(stderr, "%*c%s invalid_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 2590|  4.81k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(slash_no_default | slash_with_default) param_maybe_default* '/'"));
 2591|  4.81k|    }
 2592|      0|    { // slash_no_default? param_no_default* invalid_parameters_helper param_no_default
 2593|  4.81k|        if (p->error_indicator) {
  ------------------
  |  Branch (2593:13): [True: 5, False: 4.80k]
  ------------------
 2594|      5|            p->level--;
 2595|      5|            return NULL;
 2596|      5|        }
 2597|  4.80k|        D(fprintf(stderr, "%*c> invalid_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slash_no_default? param_no_default* invalid_parameters_helper param_no_default"));
 2598|  4.80k|        asdl_seq * _loop0_124_var;
 2599|  4.80k|        void *_opt_var;
 2600|  4.80k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  4.80k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.80k]
  |  |  ------------------
  ------------------
 2601|  4.80k|        arg_ty a;
 2602|  4.80k|        void *invalid_parameters_helper_var;
 2603|  4.80k|        if (
 2604|  4.80k|            (_opt_var = slash_no_default_rule(p), !p->error_indicator)  // slash_no_default?
  ------------------
  |  |  205|  4.80k|#define slash_no_default_rule _PyPegen_slash_no_default_rule
  ------------------
  |  Branch (2604:13): [True: 4.80k, False: 0]
  ------------------
 2605|  4.80k|            &&
 2606|  4.80k|            (_loop0_124_var = _loop0_124_rule(p))  // param_no_default*
  ------------------
  |  Branch (2606:13): [True: 4.80k, False: 0]
  ------------------
 2607|  4.80k|            &&
 2608|  4.80k|            (invalid_parameters_helper_var = invalid_parameters_helper_rule(p))  // invalid_parameters_helper
  ------------------
  |  Branch (2608:13): [True: 589, False: 4.21k]
  ------------------
 2609|    589|            &&
 2610|    589|            (a = param_no_default_rule(p))  // param_no_default
  ------------------
  |  |  209|    589|#define param_no_default_rule _PyPegen_param_no_default_rule
  ------------------
  |  Branch (2610:13): [True: 5, False: 584]
  ------------------
 2611|  4.80k|        )
 2612|      5|        {
 2613|      5|            D(fprintf(stderr, "%*c+ invalid_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slash_no_default? param_no_default* invalid_parameters_helper param_no_default"));
 2614|      5|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameter without a default follows parameter with a default" );
  ------------------
  |  |  248|      5|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2615|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2615:18): [True: 5, False: 0]
  |  Branch (2615:34): [True: 0, False: 0]
  |  Branch (2615:57): [True: 5, False: 0]
  ------------------
 2616|      5|                p->error_indicator = 1;
 2617|      5|                p->level--;
 2618|      5|                return NULL;
 2619|      5|            }
 2620|      0|            goto done;
 2621|      5|        }
 2622|  4.80k|        p->mark = _mark;
 2623|  4.80k|        D(fprintf(stderr, "%*c%s invalid_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 2624|  4.80k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slash_no_default? param_no_default* invalid_parameters_helper param_no_default"));
 2625|  4.80k|    }
 2626|      0|    { // param_no_default* '(' param_no_default+ ','? ')'
 2627|  4.80k|        if (p->error_indicator) {
  ------------------
  |  Branch (2627:13): [True: 1, False: 4.80k]
  ------------------
 2628|      1|            p->level--;
 2629|      1|            return NULL;
 2630|      1|        }
 2631|  4.80k|        D(fprintf(stderr, "%*c> invalid_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default* '(' param_no_default+ ','? ')'"));
 2632|  4.80k|        asdl_seq * _loop0_124_var;
 2633|  4.80k|        asdl_seq * _loop1_125_var;
 2634|  4.80k|        void *_opt_var;
 2635|  4.80k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  4.80k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.80k]
  |  |  ------------------
  ------------------
 2636|  4.80k|        Token * a;
 2637|  4.80k|        Token * b;
 2638|  4.80k|        if (
 2639|  4.80k|            (_loop0_124_var = _loop0_124_rule(p))  // param_no_default*
  ------------------
  |  Branch (2639:13): [True: 4.80k, False: 0]
  ------------------
 2640|  4.80k|            &&
 2641|  4.80k|            (a = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (2641:13): [True: 38, False: 4.76k]
  ------------------
 2642|     38|            &&
 2643|     38|            (_loop1_125_var = _loop1_125_rule(p))  // param_no_default+
  ------------------
  |  Branch (2643:13): [True: 29, False: 9]
  ------------------
 2644|     29|            &&
 2645|     29|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (2645:13): [True: 29, False: 0]
  ------------------
 2646|     29|            &&
 2647|     29|            (b = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (2647:13): [True: 1, False: 28]
  ------------------
 2648|  4.80k|        )
 2649|      1|        {
 2650|      1|            D(fprintf(stderr, "%*c+ invalid_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default* '(' param_no_default+ ','? ')'"));
 2651|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "Function parameters cannot be parenthesized" );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2652|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2652:18): [True: 1, False: 0]
  |  Branch (2652:34): [True: 0, False: 0]
  |  Branch (2652:57): [True: 1, False: 0]
  ------------------
 2653|      1|                p->error_indicator = 1;
 2654|      1|                p->level--;
 2655|      1|                return NULL;
 2656|      1|            }
 2657|      0|            goto done;
 2658|      1|        }
 2659|  4.80k|        p->mark = _mark;
 2660|  4.80k|        D(fprintf(stderr, "%*c%s invalid_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 2661|  4.80k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default* '(' param_no_default+ ','? ')'"));
 2662|  4.80k|    }
 2663|      0|    { // [(slash_no_default | slash_with_default)] param_maybe_default* '*' (',' | param_no_default) param_maybe_default* '/'
 2664|  4.80k|        if (p->error_indicator) {
  ------------------
  |  Branch (2664:13): [True: 4, False: 4.79k]
  ------------------
 2665|      4|            p->level--;
 2666|      4|            return NULL;
 2667|      4|        }
 2668|  4.79k|        D(fprintf(stderr, "%*c> invalid_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "[(slash_no_default | slash_with_default)] param_maybe_default* '*' (',' | param_no_default) param_maybe_default* '/'"));
 2669|  4.79k|        Token * _literal;
 2670|  4.79k|        asdl_seq * _loop0_123_var;
 2671|  4.79k|        asdl_seq * _loop0_123_var_1;
 2672|  4.79k|        void *_opt_var;
 2673|  4.79k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  4.79k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.79k]
  |  |  ------------------
  ------------------
 2674|  4.79k|        void *_tmp_126_var;
 2675|  4.79k|        Token * a;
 2676|  4.79k|        if (
 2677|  4.79k|            (_opt_var = _tmp_122_rule(p), !p->error_indicator)  // [(slash_no_default | slash_with_default)]
  ------------------
  |  Branch (2677:13): [True: 4.79k, False: 0]
  ------------------
 2678|  4.79k|            &&
 2679|  4.79k|            (_loop0_123_var = _loop0_123_rule(p))  // param_maybe_default*
  ------------------
  |  Branch (2679:13): [True: 4.79k, False: 0]
  ------------------
 2680|  4.79k|            &&
 2681|  4.79k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (2681:13): [True: 750, False: 4.04k]
  ------------------
 2682|    750|            &&
 2683|    750|            (_tmp_126_var = _tmp_126_rule(p))  // ',' | param_no_default
  ------------------
  |  Branch (2683:13): [True: 456, False: 294]
  ------------------
 2684|    456|            &&
 2685|    456|            (_loop0_123_var_1 = _loop0_123_rule(p))  // param_maybe_default*
  ------------------
  |  Branch (2685:13): [True: 456, False: 0]
  ------------------
 2686|    456|            &&
 2687|    456|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (2687:13): [True: 1, False: 455]
  ------------------
 2688|  4.79k|        )
 2689|      1|        {
 2690|      1|            D(fprintf(stderr, "%*c+ invalid_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "[(slash_no_default | slash_with_default)] param_maybe_default* '*' (',' | param_no_default) param_maybe_default* '/'"));
 2691|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "/ must be ahead of *" );
  ------------------
  |  |  248|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2692|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2692:18): [True: 1, False: 0]
  |  Branch (2692:34): [True: 0, False: 0]
  |  Branch (2692:57): [True: 1, False: 0]
  ------------------
 2693|      1|                p->error_indicator = 1;
 2694|      1|                p->level--;
 2695|      1|                return NULL;
 2696|      1|            }
 2697|      0|            goto done;
 2698|      1|        }
 2699|  4.79k|        p->mark = _mark;
 2700|  4.79k|        D(fprintf(stderr, "%*c%s invalid_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 2701|  4.79k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "[(slash_no_default | slash_with_default)] param_maybe_default* '*' (',' | param_no_default) param_maybe_default* '/'"));
 2702|  4.79k|    }
 2703|      0|    { // param_maybe_default+ '/' '*'
 2704|  4.79k|        if (p->error_indicator) {
  ------------------
  |  Branch (2704:13): [True: 5, False: 4.79k]
  ------------------
 2705|      5|            p->level--;
 2706|      5|            return NULL;
 2707|      5|        }
 2708|  4.79k|        D(fprintf(stderr, "%*c> invalid_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_maybe_default+ '/' '*'"));
 2709|  4.79k|        Token * _literal;
 2710|  4.79k|        asdl_seq * _loop1_127_var;
 2711|  4.79k|        Token * a;
 2712|  4.79k|        if (
 2713|  4.79k|            (_loop1_127_var = _loop1_127_rule(p))  // param_maybe_default+
  ------------------
  |  Branch (2713:13): [True: 2.17k, False: 2.61k]
  ------------------
 2714|  2.17k|            &&
 2715|  2.17k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (2715:13): [True: 379, False: 1.79k]
  ------------------
 2716|    379|            &&
 2717|    379|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (2717:13): [True: 3, False: 376]
  ------------------
 2718|  4.79k|        )
 2719|      3|        {
 2720|      3|            D(fprintf(stderr, "%*c+ invalid_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_maybe_default+ '/' '*'"));
 2721|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expected comma between / and *" );
  ------------------
  |  |  248|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2722|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2722:18): [True: 3, False: 0]
  |  Branch (2722:34): [True: 0, False: 0]
  |  Branch (2722:57): [True: 3, False: 0]
  ------------------
 2723|      3|                p->error_indicator = 1;
 2724|      3|                p->level--;
 2725|      3|                return NULL;
 2726|      3|            }
 2727|      0|            goto done;
 2728|      3|        }
 2729|  4.78k|        p->mark = _mark;
 2730|  4.78k|        D(fprintf(stderr, "%*c%s invalid_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 2731|  4.78k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_maybe_default+ '/' '*'"));
 2732|  4.78k|    }
 2733|  4.78k|    _res = NULL;
 2734|  4.78k|  done:
 2735|  4.78k|    p->level--;
 2736|  4.78k|    return _res;
 2737|  4.78k|}
_PyPegen_invalid_default_rule:
 2742|  71.8k|{
 2743|  71.8k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   143k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2743:9): [True: 0, False: 71.8k]
  |  Branch (2743:35): [True: 0, False: 71.8k]
  ------------------
 2744|      0|        _Pypegen_stack_overflow(p);
 2745|      0|    }
 2746|  71.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (2746:9): [True: 0, False: 71.8k]
  ------------------
 2747|      0|        p->level--;
 2748|      0|        return NULL;
 2749|      0|    }
 2750|  71.8k|    void * _res = NULL;
 2751|  71.8k|    int _mark = p->mark;
 2752|  71.8k|    { // '=' &(')' | ',')
 2753|  71.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (2753:13): [True: 0, False: 71.8k]
  ------------------
 2754|      0|            p->level--;
 2755|      0|            return NULL;
 2756|      0|        }
 2757|  71.8k|        D(fprintf(stderr, "%*c> invalid_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' &(')' | ',')"));
 2758|  71.8k|        Token * a;
 2759|  71.8k|        if (
 2760|  71.8k|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (2760:13): [True: 26.0k, False: 45.7k]
  ------------------
 2761|  26.0k|            &&
 2762|  26.0k|            _PyPegen_lookahead(1, _tmp_128_rule, p)
  ------------------
  |  Branch (2762:13): [True: 12, False: 26.0k]
  ------------------
 2763|  71.8k|        )
 2764|     12|        {
 2765|     12|            D(fprintf(stderr, "%*c+ invalid_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'=' &(')' | ',')"));
 2766|     12|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expected default value expression" );
  ------------------
  |  |  248|     12|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2767|     12|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2767:18): [True: 12, False: 0]
  |  Branch (2767:34): [True: 0, False: 0]
  |  Branch (2767:57): [True: 12, False: 0]
  ------------------
 2768|     12|                p->error_indicator = 1;
 2769|     12|                p->level--;
 2770|     12|                return NULL;
 2771|     12|            }
 2772|      0|            goto done;
 2773|     12|        }
 2774|  71.8k|        p->mark = _mark;
 2775|  71.8k|        D(fprintf(stderr, "%*c%s invalid_default[%d-%d]: %s failed!\n", p->level, ' ',
 2776|  71.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' &(')' | ',')"));
 2777|  71.8k|    }
 2778|  71.8k|    _res = NULL;
 2779|  71.8k|  done:
 2780|  71.8k|    p->level--;
 2781|  71.8k|    return _res;
 2782|  71.8k|}
_PyPegen_invalid_star_etc_rule:
 2791|  4.78k|{
 2792|  4.78k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  9.57k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2792:9): [True: 0, False: 4.78k]
  |  Branch (2792:35): [True: 0, False: 4.78k]
  ------------------
 2793|      0|        _Pypegen_stack_overflow(p);
 2794|      0|    }
 2795|  4.78k|    if (p->error_indicator) {
  ------------------
  |  Branch (2795:9): [True: 0, False: 4.78k]
  ------------------
 2796|      0|        p->level--;
 2797|      0|        return NULL;
 2798|      0|    }
 2799|  4.78k|    void * _res = NULL;
 2800|  4.78k|    int _mark = p->mark;
 2801|  4.78k|    { // '*' (')' | ',' (')' | '**'))
 2802|  4.78k|        if (p->error_indicator) {
  ------------------
  |  Branch (2802:13): [True: 0, False: 4.78k]
  ------------------
 2803|      0|            p->level--;
 2804|      0|            return NULL;
 2805|      0|        }
 2806|  4.78k|        D(fprintf(stderr, "%*c> invalid_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' (')' | ',' (')' | '**'))"));
 2807|  4.78k|        void *_tmp_129_var;
 2808|  4.78k|        Token * a;
 2809|  4.78k|        if (
 2810|  4.78k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (2810:13): [True: 744, False: 4.04k]
  ------------------
 2811|    744|            &&
 2812|    744|            (_tmp_129_var = _tmp_129_rule(p))  // ')' | ',' (')' | '**')
  ------------------
  |  Branch (2812:13): [True: 3, False: 741]
  ------------------
 2813|  4.78k|        )
 2814|      3|        {
 2815|      3|            D(fprintf(stderr, "%*c+ invalid_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' (')' | ',' (')' | '**'))"));
 2816|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "named parameters must follow bare *" );
  ------------------
  |  |  248|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2817|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2817:18): [True: 3, False: 0]
  |  Branch (2817:34): [True: 0, False: 0]
  |  Branch (2817:57): [True: 3, False: 0]
  ------------------
 2818|      3|                p->error_indicator = 1;
 2819|      3|                p->level--;
 2820|      3|                return NULL;
 2821|      3|            }
 2822|      0|            goto done;
 2823|      3|        }
 2824|  4.78k|        p->mark = _mark;
 2825|  4.78k|        D(fprintf(stderr, "%*c%s invalid_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 2826|  4.78k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (')' | ',' (')' | '**'))"));
 2827|  4.78k|    }
 2828|      0|    { // '*' ',' TYPE_COMMENT
 2829|  4.78k|        if (p->error_indicator) {
  ------------------
  |  Branch (2829:13): [True: 0, False: 4.78k]
  ------------------
 2830|      0|            p->level--;
 2831|      0|            return NULL;
 2832|      0|        }
 2833|  4.78k|        D(fprintf(stderr, "%*c> invalid_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' ',' TYPE_COMMENT"));
 2834|  4.78k|        Token * _literal;
 2835|  4.78k|        Token * _literal_1;
 2836|  4.78k|        Token * type_comment_var;
 2837|  4.78k|        if (
 2838|  4.78k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (2838:13): [True: 741, False: 4.04k]
  ------------------
 2839|    741|            &&
 2840|    741|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (2840:13): [True: 155, False: 586]
  ------------------
 2841|    155|            &&
 2842|    155|            (type_comment_var = _PyPegen_expect_token(p, TYPE_COMMENT))  // token='TYPE_COMMENT'
  ------------------
  |  |   73|    155|#define TYPE_COMMENT    57
  ------------------
  |  Branch (2842:13): [True: 0, False: 155]
  ------------------
 2843|  4.78k|        )
 2844|      0|        {
 2845|      0|            D(fprintf(stderr, "%*c+ invalid_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' ',' TYPE_COMMENT"));
 2846|      0|            _res = RAISE_SYNTAX_ERROR ( "bare * has associated type comment" );
  ------------------
  |  |  242|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 2847|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2847:18): [True: 0, False: 0]
  |  Branch (2847:34): [True: 0, False: 0]
  |  Branch (2847:57): [True: 0, False: 0]
  ------------------
 2848|      0|                p->error_indicator = 1;
 2849|      0|                p->level--;
 2850|      0|                return NULL;
 2851|      0|            }
 2852|      0|            goto done;
 2853|      0|        }
 2854|  4.78k|        p->mark = _mark;
 2855|  4.78k|        D(fprintf(stderr, "%*c%s invalid_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 2856|  4.78k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' ',' TYPE_COMMENT"));
 2857|  4.78k|    }
 2858|      0|    { // '*' param '='
 2859|  4.78k|        if (p->error_indicator) {
  ------------------
  |  Branch (2859:13): [True: 0, False: 4.78k]
  ------------------
 2860|      0|            p->level--;
 2861|      0|            return NULL;
 2862|      0|        }
 2863|  4.78k|        D(fprintf(stderr, "%*c> invalid_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' param '='"));
 2864|  4.78k|        Token * _literal;
 2865|  4.78k|        Token * a;
 2866|  4.78k|        arg_ty param_var;
 2867|  4.78k|        if (
 2868|  4.78k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (2868:13): [True: 741, False: 4.04k]
  ------------------
 2869|    741|            &&
 2870|    741|            (param_var = param_rule(p))  // param
  ------------------
  |  |  215|    741|#define param_rule _PyPegen_param_rule
  ------------------
  |  Branch (2870:13): [True: 568, False: 173]
  ------------------
 2871|    568|            &&
 2872|    568|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (2872:13): [True: 2, False: 566]
  ------------------
 2873|  4.78k|        )
 2874|      2|        {
 2875|      2|            D(fprintf(stderr, "%*c+ invalid_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' param '='"));
 2876|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "var-positional parameter cannot have default value" );
  ------------------
  |  |  248|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2877|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2877:18): [True: 2, False: 0]
  |  Branch (2877:34): [True: 0, False: 0]
  |  Branch (2877:57): [True: 2, False: 0]
  ------------------
 2878|      2|                p->error_indicator = 1;
 2879|      2|                p->level--;
 2880|      2|                return NULL;
 2881|      2|            }
 2882|      0|            goto done;
 2883|      2|        }
 2884|  4.78k|        p->mark = _mark;
 2885|  4.78k|        D(fprintf(stderr, "%*c%s invalid_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 2886|  4.78k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' param '='"));
 2887|  4.78k|    }
 2888|      0|    { // '*' (param_no_default | ',') param_maybe_default* '*' (param_no_default | ',')
 2889|  4.78k|        if (p->error_indicator) {
  ------------------
  |  Branch (2889:13): [True: 0, False: 4.78k]
  ------------------
 2890|      0|            p->level--;
 2891|      0|            return NULL;
 2892|      0|        }
 2893|  4.78k|        D(fprintf(stderr, "%*c> invalid_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' (param_no_default | ',') param_maybe_default* '*' (param_no_default | ',')"));
 2894|  4.78k|        Token * _literal;
 2895|  4.78k|        asdl_seq * _loop0_123_var;
 2896|  4.78k|        void *_tmp_130_var;
 2897|  4.78k|        void *_tmp_130_var_1;
 2898|  4.78k|        Token * a;
 2899|  4.78k|        if (
 2900|  4.78k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (2900:13): [True: 739, False: 4.04k]
  ------------------
 2901|    739|            &&
 2902|    739|            (_tmp_130_var = _tmp_130_rule(p))  // param_no_default | ','
  ------------------
  |  Branch (2902:13): [True: 452, False: 287]
  ------------------
 2903|    452|            &&
 2904|    452|            (_loop0_123_var = _loop0_123_rule(p))  // param_maybe_default*
  ------------------
  |  Branch (2904:13): [True: 452, False: 0]
  ------------------
 2905|    452|            &&
 2906|    452|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (2906:13): [True: 6, False: 446]
  ------------------
 2907|      6|            &&
 2908|      6|            (_tmp_130_var_1 = _tmp_130_rule(p))  // param_no_default | ','
  ------------------
  |  Branch (2908:13): [True: 2, False: 4]
  ------------------
 2909|  4.78k|        )
 2910|      2|        {
 2911|      2|            D(fprintf(stderr, "%*c+ invalid_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' (param_no_default | ',') param_maybe_default* '*' (param_no_default | ',')"));
 2912|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "* may appear only once" );
  ------------------
  |  |  248|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2913|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2913:18): [True: 2, False: 0]
  |  Branch (2913:34): [True: 0, False: 0]
  |  Branch (2913:57): [True: 2, False: 0]
  ------------------
 2914|      2|                p->error_indicator = 1;
 2915|      2|                p->level--;
 2916|      2|                return NULL;
 2917|      2|            }
 2918|      0|            goto done;
 2919|      2|        }
 2920|  4.78k|        p->mark = _mark;
 2921|  4.78k|        D(fprintf(stderr, "%*c%s invalid_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 2922|  4.78k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (param_no_default | ',') param_maybe_default* '*' (param_no_default | ',')"));
 2923|  4.78k|    }
 2924|  4.78k|    _res = NULL;
 2925|  4.78k|  done:
 2926|  4.78k|    p->level--;
 2927|  4.78k|    return _res;
 2928|  4.78k|}
_PyPegen_invalid_kwds_rule:
 2933|  4.77k|{
 2934|  4.77k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  9.55k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2934:9): [True: 0, False: 4.77k]
  |  Branch (2934:35): [True: 0, False: 4.77k]
  ------------------
 2935|      0|        _Pypegen_stack_overflow(p);
 2936|      0|    }
 2937|  4.77k|    if (p->error_indicator) {
  ------------------
  |  Branch (2937:9): [True: 0, False: 4.77k]
  ------------------
 2938|      0|        p->level--;
 2939|      0|        return NULL;
 2940|      0|    }
 2941|  4.77k|    void * _res = NULL;
 2942|  4.77k|    int _mark = p->mark;
 2943|  4.77k|    { // '**' param '='
 2944|  4.77k|        if (p->error_indicator) {
  ------------------
  |  Branch (2944:13): [True: 0, False: 4.77k]
  ------------------
 2945|      0|            p->level--;
 2946|      0|            return NULL;
 2947|      0|        }
 2948|  4.77k|        D(fprintf(stderr, "%*c> invalid_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' param '='"));
 2949|  4.77k|        Token * _literal;
 2950|  4.77k|        Token * a;
 2951|  4.77k|        arg_ty param_var;
 2952|  4.77k|        if (
 2953|  4.77k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (2953:13): [True: 965, False: 3.81k]
  ------------------
 2954|    965|            &&
 2955|    965|            (param_var = param_rule(p))  // param
  ------------------
  |  |  215|    965|#define param_rule _PyPegen_param_rule
  ------------------
  |  Branch (2955:13): [True: 955, False: 10]
  ------------------
 2956|    955|            &&
 2957|    955|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (2957:13): [True: 0, False: 955]
  ------------------
 2958|  4.77k|        )
 2959|      0|        {
 2960|      0|            D(fprintf(stderr, "%*c+ invalid_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' param '='"));
 2961|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "var-keyword parameter cannot have default value" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2962|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2962:18): [True: 0, False: 0]
  |  Branch (2962:34): [True: 0, False: 0]
  |  Branch (2962:57): [True: 0, False: 0]
  ------------------
 2963|      0|                p->error_indicator = 1;
 2964|      0|                p->level--;
 2965|      0|                return NULL;
 2966|      0|            }
 2967|      0|            goto done;
 2968|      0|        }
 2969|  4.77k|        p->mark = _mark;
 2970|  4.77k|        D(fprintf(stderr, "%*c%s invalid_kwds[%d-%d]: %s failed!\n", p->level, ' ',
 2971|  4.77k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' param '='"));
 2972|  4.77k|    }
 2973|      0|    { // '**' param ',' param
 2974|  4.77k|        if (p->error_indicator) {
  ------------------
  |  Branch (2974:13): [True: 1, False: 4.77k]
  ------------------
 2975|      1|            p->level--;
 2976|      1|            return NULL;
 2977|      1|        }
 2978|  4.77k|        D(fprintf(stderr, "%*c> invalid_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' param ',' param"));
 2979|  4.77k|        Token * _literal;
 2980|  4.77k|        Token * _literal_1;
 2981|  4.77k|        arg_ty a;
 2982|  4.77k|        arg_ty param_var;
 2983|  4.77k|        if (
 2984|  4.77k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (2984:13): [True: 964, False: 3.81k]
  ------------------
 2985|    964|            &&
 2986|    964|            (param_var = param_rule(p))  // param
  ------------------
  |  |  215|    964|#define param_rule _PyPegen_param_rule
  ------------------
  |  Branch (2986:13): [True: 955, False: 9]
  ------------------
 2987|    955|            &&
 2988|    955|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (2988:13): [True: 162, False: 793]
  ------------------
 2989|    162|            &&
 2990|    162|            (a = param_rule(p))  // param
  ------------------
  |  |  215|    162|#define param_rule _PyPegen_param_rule
  ------------------
  |  Branch (2990:13): [True: 1, False: 161]
  ------------------
 2991|  4.77k|        )
 2992|      1|        {
 2993|      1|            D(fprintf(stderr, "%*c+ invalid_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' param ',' param"));
 2994|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameters cannot follow var-keyword parameter" );
  ------------------
  |  |  248|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2995|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2995:18): [True: 1, False: 0]
  |  Branch (2995:34): [True: 0, False: 0]
  |  Branch (2995:57): [True: 1, False: 0]
  ------------------
 2996|      1|                p->error_indicator = 1;
 2997|      1|                p->level--;
 2998|      1|                return NULL;
 2999|      1|            }
 3000|      0|            goto done;
 3001|      1|        }
 3002|  4.77k|        p->mark = _mark;
 3003|  4.77k|        D(fprintf(stderr, "%*c%s invalid_kwds[%d-%d]: %s failed!\n", p->level, ' ',
 3004|  4.77k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' param ',' param"));
 3005|  4.77k|    }
 3006|      0|    { // '**' param ',' ('*' | '**' | '/')
 3007|  4.77k|        if (p->error_indicator) {
  ------------------
  |  Branch (3007:13): [True: 1, False: 4.77k]
  ------------------
 3008|      1|            p->level--;
 3009|      1|            return NULL;
 3010|      1|        }
 3011|  4.77k|        D(fprintf(stderr, "%*c> invalid_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' param ',' ('*' | '**' | '/')"));
 3012|  4.77k|        Token * _literal;
 3013|  4.77k|        Token * _literal_1;
 3014|  4.77k|        Token* a;
 3015|  4.77k|        arg_ty param_var;
 3016|  4.77k|        if (
 3017|  4.77k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (3017:13): [True: 962, False: 3.81k]
  ------------------
 3018|    962|            &&
 3019|    962|            (param_var = param_rule(p))  // param
  ------------------
  |  |  215|    962|#define param_rule _PyPegen_param_rule
  ------------------
  |  Branch (3019:13): [True: 953, False: 9]
  ------------------
 3020|    953|            &&
 3021|    953|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (3021:13): [True: 160, False: 793]
  ------------------
 3022|    160|            &&
 3023|    160|            (a = (Token*)_tmp_131_rule(p))  // '*' | '**' | '/'
  ------------------
  |  Branch (3023:13): [True: 2, False: 158]
  ------------------
 3024|  4.77k|        )
 3025|      2|        {
 3026|      2|            D(fprintf(stderr, "%*c+ invalid_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' param ',' ('*' | '**' | '/')"));
 3027|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameters cannot follow var-keyword parameter" );
  ------------------
  |  |  248|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3028|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3028:18): [True: 2, False: 0]
  |  Branch (3028:34): [True: 0, False: 0]
  |  Branch (3028:57): [True: 2, False: 0]
  ------------------
 3029|      2|                p->error_indicator = 1;
 3030|      2|                p->level--;
 3031|      2|                return NULL;
 3032|      2|            }
 3033|      0|            goto done;
 3034|      2|        }
 3035|  4.77k|        p->mark = _mark;
 3036|  4.77k|        D(fprintf(stderr, "%*c%s invalid_kwds[%d-%d]: %s failed!\n", p->level, ' ',
 3037|  4.77k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' param ',' ('*' | '**' | '/')"));
 3038|  4.77k|    }
 3039|  4.77k|    _res = NULL;
 3040|  4.77k|  done:
 3041|  4.77k|    p->level--;
 3042|  4.77k|    return _res;
 3043|  4.77k|}
_PyPegen_invalid_lambda_parameters_rule:
 3116|  12.2k|{
 3117|  12.2k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  24.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3117:9): [True: 0, False: 12.2k]
  |  Branch (3117:35): [True: 0, False: 12.2k]
  ------------------
 3118|      0|        _Pypegen_stack_overflow(p);
 3119|      0|    }
 3120|  12.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (3120:9): [True: 0, False: 12.2k]
  ------------------
 3121|      0|        p->level--;
 3122|      0|        return NULL;
 3123|      0|    }
 3124|  12.2k|    void * _res = NULL;
 3125|  12.2k|    int _mark = p->mark;
 3126|  12.2k|    { // "/" ','
 3127|  12.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (3127:13): [True: 0, False: 12.2k]
  ------------------
 3128|      0|            p->level--;
 3129|      0|            return NULL;
 3130|      0|        }
 3131|  12.2k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"/\" ','"));
 3132|  12.2k|        Token * _literal;
 3133|  12.2k|        Token * a;
 3134|  12.2k|        if (
 3135|  12.2k|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (3135:13): [True: 5, False: 12.2k]
  ------------------
 3136|      5|            &&
 3137|      5|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (3137:13): [True: 1, False: 4]
  ------------------
 3138|  12.2k|        )
 3139|      1|        {
 3140|      1|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"/\" ','"));
 3141|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "at least one parameter must precede /" );
  ------------------
  |  |  248|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3142|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3142:18): [True: 1, False: 0]
  |  Branch (3142:34): [True: 0, False: 0]
  |  Branch (3142:57): [True: 1, False: 0]
  ------------------
 3143|      1|                p->error_indicator = 1;
 3144|      1|                p->level--;
 3145|      1|                return NULL;
 3146|      1|            }
 3147|      0|            goto done;
 3148|      1|        }
 3149|  12.2k|        p->mark = _mark;
 3150|  12.2k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 3151|  12.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"/\" ','"));
 3152|  12.2k|    }
 3153|      0|    { // (lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'
 3154|  12.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (3154:13): [True: 3, False: 12.2k]
  ------------------
 3155|      3|            p->level--;
 3156|      3|            return NULL;
 3157|      3|        }
 3158|  12.2k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'"));
 3159|  12.2k|        asdl_seq * _loop0_134_var;
 3160|  12.2k|        void *_tmp_133_var;
 3161|  12.2k|        Token * a;
 3162|  12.2k|        if (
 3163|  12.2k|            (_tmp_133_var = _tmp_133_rule(p))  // lambda_slash_no_default | lambda_slash_with_default
  ------------------
  |  Branch (3163:13): [True: 2.54k, False: 9.67k]
  ------------------
 3164|  2.54k|            &&
 3165|  2.54k|            (_loop0_134_var = _loop0_134_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (3165:13): [True: 2.54k, False: 0]
  ------------------
 3166|  2.54k|            &&
 3167|  2.54k|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (3167:13): [True: 3, False: 2.54k]
  ------------------
 3168|  12.2k|        )
 3169|      3|        {
 3170|      3|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'"));
 3171|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "/ may appear only once" );
  ------------------
  |  |  248|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3172|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3172:18): [True: 3, False: 0]
  |  Branch (3172:34): [True: 0, False: 0]
  |  Branch (3172:57): [True: 3, False: 0]
  ------------------
 3173|      3|                p->error_indicator = 1;
 3174|      3|                p->level--;
 3175|      3|                return NULL;
 3176|      3|            }
 3177|      0|            goto done;
 3178|      3|        }
 3179|  12.2k|        p->mark = _mark;
 3180|  12.2k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 3181|  12.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'"));
 3182|  12.2k|    }
 3183|      0|    { // lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default
 3184|  12.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (3184:13): [True: 250, False: 11.9k]
  ------------------
 3185|    250|            p->level--;
 3186|    250|            return NULL;
 3187|    250|        }
 3188|  11.9k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default"));
 3189|  11.9k|        asdl_seq * _loop0_135_var;
 3190|  11.9k|        void *_opt_var;
 3191|  11.9k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  11.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 11.9k]
  |  |  ------------------
  ------------------
 3192|  11.9k|        arg_ty a;
 3193|  11.9k|        void *invalid_lambda_parameters_helper_var;
 3194|  11.9k|        if (
 3195|  11.9k|            (_opt_var = lambda_slash_no_default_rule(p), !p->error_indicator)  // lambda_slash_no_default?
  ------------------
  |  |  275|  11.9k|#define lambda_slash_no_default_rule _PyPegen_lambda_slash_no_default_rule
  ------------------
  |  Branch (3195:13): [True: 11.9k, False: 0]
  ------------------
 3196|  11.9k|            &&
 3197|  11.9k|            (_loop0_135_var = _loop0_135_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (3197:13): [True: 11.9k, False: 0]
  ------------------
 3198|  11.9k|            &&
 3199|  11.9k|            (invalid_lambda_parameters_helper_var = invalid_lambda_parameters_helper_rule(p))  // invalid_lambda_parameters_helper
  ------------------
  |  Branch (3199:13): [True: 1.40k, False: 10.5k]
  ------------------
 3200|  1.40k|            &&
 3201|  1.40k|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  279|  1.40k|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (3201:13): [True: 7, False: 1.39k]
  ------------------
 3202|  11.9k|        )
 3203|      7|        {
 3204|      7|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default"));
 3205|      7|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameter without a default follows parameter with a default" );
  ------------------
  |  |  248|      7|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3206|      7|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3206:18): [True: 7, False: 0]
  |  Branch (3206:34): [True: 0, False: 0]
  |  Branch (3206:57): [True: 7, False: 0]
  ------------------
 3207|      7|                p->error_indicator = 1;
 3208|      7|                p->level--;
 3209|      7|                return NULL;
 3210|      7|            }
 3211|      0|            goto done;
 3212|      7|        }
 3213|  11.9k|        p->mark = _mark;
 3214|  11.9k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 3215|  11.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default"));
 3216|  11.9k|    }
 3217|      0|    { // lambda_param_no_default* '(' ','.lambda_param+ ','? ')'
 3218|  11.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (3218:13): [True: 0, False: 11.9k]
  ------------------
 3219|      0|            p->level--;
 3220|      0|            return NULL;
 3221|      0|        }
 3222|  11.9k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* '(' ','.lambda_param+ ','? ')'"));
 3223|  11.9k|        asdl_seq * _gather_137_var;
 3224|  11.9k|        asdl_seq * _loop0_135_var;
 3225|  11.9k|        void *_opt_var;
 3226|  11.9k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  11.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 11.9k]
  |  |  ------------------
  ------------------
 3227|  11.9k|        Token * a;
 3228|  11.9k|        Token * b;
 3229|  11.9k|        if (
 3230|  11.9k|            (_loop0_135_var = _loop0_135_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (3230:13): [True: 11.9k, False: 0]
  ------------------
 3231|  11.9k|            &&
 3232|  11.9k|            (a = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (3232:13): [True: 44, False: 11.9k]
  ------------------
 3233|     44|            &&
 3234|     44|            (_gather_137_var = _gather_137_rule(p))  // ','.lambda_param+
  ------------------
  |  Branch (3234:13): [True: 38, False: 6]
  ------------------
 3235|     38|            &&
 3236|     38|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (3236:13): [True: 35, False: 3]
  ------------------
 3237|     35|            &&
 3238|     35|            (b = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (3238:13): [True: 2, False: 33]
  ------------------
 3239|  11.9k|        )
 3240|      2|        {
 3241|      2|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* '(' ','.lambda_param+ ','? ')'"));
 3242|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "Lambda expression parameters cannot be parenthesized" );
  ------------------
  |  |  246|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3243|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3243:18): [True: 2, False: 0]
  |  Branch (3243:34): [True: 0, False: 0]
  |  Branch (3243:57): [True: 2, False: 0]
  ------------------
 3244|      2|                p->error_indicator = 1;
 3245|      2|                p->level--;
 3246|      2|                return NULL;
 3247|      2|            }
 3248|      0|            goto done;
 3249|      2|        }
 3250|  11.9k|        p->mark = _mark;
 3251|  11.9k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 3252|  11.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* '(' ','.lambda_param+ ','? ')'"));
 3253|  11.9k|    }
 3254|      0|    { // [(lambda_slash_no_default | lambda_slash_with_default)] lambda_param_maybe_default* '*' (',' | lambda_param_no_default) lambda_param_maybe_default* '/'
 3255|  11.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (3255:13): [True: 6, False: 11.9k]
  ------------------
 3256|      6|            p->level--;
 3257|      6|            return NULL;
 3258|      6|        }
 3259|  11.9k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "[(lambda_slash_no_default | lambda_slash_with_default)] lambda_param_maybe_default* '*' (',' | lambda_param_no_default) lambda_param_maybe_default* '/'"));
 3260|  11.9k|        Token * _literal;
 3261|  11.9k|        asdl_seq * _loop0_134_var;
 3262|  11.9k|        asdl_seq * _loop0_134_var_1;
 3263|  11.9k|        void *_opt_var;
 3264|  11.9k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  11.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 11.9k]
  |  |  ------------------
  ------------------
 3265|  11.9k|        void *_tmp_138_var;
 3266|  11.9k|        Token * a;
 3267|  11.9k|        if (
 3268|  11.9k|            (_opt_var = _tmp_133_rule(p), !p->error_indicator)  // [(lambda_slash_no_default | lambda_slash_with_default)]
  ------------------
  |  Branch (3268:13): [True: 11.9k, False: 0]
  ------------------
 3269|  11.9k|            &&
 3270|  11.9k|            (_loop0_134_var = _loop0_134_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (3270:13): [True: 11.9k, False: 0]
  ------------------
 3271|  11.9k|            &&
 3272|  11.9k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (3272:13): [True: 7.42k, False: 4.53k]
  ------------------
 3273|  7.42k|            &&
 3274|  7.42k|            (_tmp_138_var = _tmp_138_rule(p))  // ',' | lambda_param_no_default
  ------------------
  |  Branch (3274:13): [True: 7.25k, False: 170]
  ------------------
 3275|  7.25k|            &&
 3276|  7.25k|            (_loop0_134_var_1 = _loop0_134_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (3276:13): [True: 7.25k, False: 0]
  ------------------
 3277|  7.25k|            &&
 3278|  7.25k|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (3278:13): [True: 1, False: 7.25k]
  ------------------
 3279|  11.9k|        )
 3280|      1|        {
 3281|      1|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "[(lambda_slash_no_default | lambda_slash_with_default)] lambda_param_maybe_default* '*' (',' | lambda_param_no_default) lambda_param_maybe_default* '/'"));
 3282|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "/ must be ahead of *" );
  ------------------
  |  |  248|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3283|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3283:18): [True: 1, False: 0]
  |  Branch (3283:34): [True: 0, False: 0]
  |  Branch (3283:57): [True: 1, False: 0]
  ------------------
 3284|      1|                p->error_indicator = 1;
 3285|      1|                p->level--;
 3286|      1|                return NULL;
 3287|      1|            }
 3288|      0|            goto done;
 3289|      1|        }
 3290|  11.9k|        p->mark = _mark;
 3291|  11.9k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 3292|  11.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "[(lambda_slash_no_default | lambda_slash_with_default)] lambda_param_maybe_default* '*' (',' | lambda_param_no_default) lambda_param_maybe_default* '/'"));
 3293|  11.9k|    }
 3294|      0|    { // lambda_param_maybe_default+ '/' '*'
 3295|  11.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (3295:13): [True: 203, False: 11.7k]
  ------------------
 3296|    203|            p->level--;
 3297|    203|            return NULL;
 3298|    203|        }
 3299|  11.7k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default+ '/' '*'"));
 3300|  11.7k|        Token * _literal;
 3301|  11.7k|        asdl_seq * _loop1_139_var;
 3302|  11.7k|        Token * a;
 3303|  11.7k|        if (
 3304|  11.7k|            (_loop1_139_var = _loop1_139_rule(p))  // lambda_param_maybe_default+
  ------------------
  |  Branch (3304:13): [True: 5.01k, False: 6.73k]
  ------------------
 3305|  5.01k|            &&
 3306|  5.01k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (3306:13): [True: 2.39k, False: 2.61k]
  ------------------
 3307|  2.39k|            &&
 3308|  2.39k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (3308:13): [True: 2, False: 2.39k]
  ------------------
 3309|  11.7k|        )
 3310|      2|        {
 3311|      2|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default+ '/' '*'"));
 3312|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expected comma between / and *" );
  ------------------
  |  |  248|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3313|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3313:18): [True: 2, False: 0]
  |  Branch (3313:34): [True: 0, False: 0]
  |  Branch (3313:57): [True: 2, False: 0]
  ------------------
 3314|      2|                p->error_indicator = 1;
 3315|      2|                p->level--;
 3316|      2|                return NULL;
 3317|      2|            }
 3318|      0|            goto done;
 3319|      2|        }
 3320|  11.7k|        p->mark = _mark;
 3321|  11.7k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
 3322|  11.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default+ '/' '*'"));
 3323|  11.7k|    }
 3324|  11.7k|    _res = NULL;
 3325|  11.7k|  done:
 3326|  11.7k|    p->level--;
 3327|  11.7k|    return _res;
 3328|  11.7k|}
_PyPegen_invalid_lambda_star_etc_rule:
 3400|  11.7k|{
 3401|  11.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  23.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3401:9): [True: 0, False: 11.7k]
  |  Branch (3401:35): [True: 0, False: 11.7k]
  ------------------
 3402|      0|        _Pypegen_stack_overflow(p);
 3403|      0|    }
 3404|  11.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (3404:9): [True: 0, False: 11.7k]
  ------------------
 3405|      0|        p->level--;
 3406|      0|        return NULL;
 3407|      0|    }
 3408|  11.7k|    void * _res = NULL;
 3409|  11.7k|    int _mark = p->mark;
 3410|  11.7k|    { // '*' (':' | ',' (':' | '**'))
 3411|  11.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (3411:13): [True: 0, False: 11.7k]
  ------------------
 3412|      0|            p->level--;
 3413|      0|            return NULL;
 3414|      0|        }
 3415|  11.7k|        D(fprintf(stderr, "%*c> invalid_lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' (':' | ',' (':' | '**'))"));
 3416|  11.7k|        Token * _literal;
 3417|  11.7k|        void *_tmp_141_var;
 3418|  11.7k|        if (
 3419|  11.7k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (3419:13): [True: 7.21k, False: 4.53k]
  ------------------
 3420|  7.21k|            &&
 3421|  7.21k|            (_tmp_141_var = _tmp_141_rule(p))  // ':' | ',' (':' | '**')
  ------------------
  |  Branch (3421:13): [True: 7, False: 7.21k]
  ------------------
 3422|  11.7k|        )
 3423|      7|        {
 3424|      7|            D(fprintf(stderr, "%*c+ invalid_lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' (':' | ',' (':' | '**'))"));
 3425|      7|            _res = RAISE_SYNTAX_ERROR ( "named parameters must follow bare *" );
  ------------------
  |  |  242|      7|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 3426|      7|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3426:18): [True: 7, False: 0]
  |  Branch (3426:34): [True: 0, False: 0]
  |  Branch (3426:57): [True: 7, False: 0]
  ------------------
 3427|      7|                p->error_indicator = 1;
 3428|      7|                p->level--;
 3429|      7|                return NULL;
 3430|      7|            }
 3431|      0|            goto done;
 3432|      7|        }
 3433|  11.7k|        p->mark = _mark;
 3434|  11.7k|        D(fprintf(stderr, "%*c%s invalid_lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 3435|  11.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (':' | ',' (':' | '**'))"));
 3436|  11.7k|    }
 3437|      0|    { // '*' lambda_param '='
 3438|  11.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (3438:13): [True: 0, False: 11.7k]
  ------------------
 3439|      0|            p->level--;
 3440|      0|            return NULL;
 3441|      0|        }
 3442|  11.7k|        D(fprintf(stderr, "%*c> invalid_lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' lambda_param '='"));
 3443|  11.7k|        Token * _literal;
 3444|  11.7k|        Token * a;
 3445|  11.7k|        arg_ty lambda_param_var;
 3446|  11.7k|        if (
 3447|  11.7k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (3447:13): [True: 7.21k, False: 4.53k]
  ------------------
 3448|  7.21k|            &&
 3449|  7.21k|            (lambda_param_var = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  285|  7.21k|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (3449:13): [True: 5.02k, False: 2.18k]
  ------------------
 3450|  5.02k|            &&
 3451|  5.02k|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (3451:13): [True: 1, False: 5.02k]
  ------------------
 3452|  11.7k|        )
 3453|      1|        {
 3454|      1|            D(fprintf(stderr, "%*c+ invalid_lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' lambda_param '='"));
 3455|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "var-positional parameter cannot have default value" );
  ------------------
  |  |  248|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3456|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3456:18): [True: 1, False: 0]
  |  Branch (3456:34): [True: 0, False: 0]
  |  Branch (3456:57): [True: 1, False: 0]
  ------------------
 3457|      1|                p->error_indicator = 1;
 3458|      1|                p->level--;
 3459|      1|                return NULL;
 3460|      1|            }
 3461|      0|            goto done;
 3462|      1|        }
 3463|  11.7k|        p->mark = _mark;
 3464|  11.7k|        D(fprintf(stderr, "%*c%s invalid_lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 3465|  11.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' lambda_param '='"));
 3466|  11.7k|    }
 3467|      0|    { // '*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')
 3468|  11.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (3468:13): [True: 0, False: 11.7k]
  ------------------
 3469|      0|            p->level--;
 3470|      0|            return NULL;
 3471|      0|        }
 3472|  11.7k|        D(fprintf(stderr, "%*c> invalid_lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')"));
 3473|  11.7k|        Token * _literal;
 3474|  11.7k|        asdl_seq * _loop0_134_var;
 3475|  11.7k|        void *_tmp_142_var;
 3476|  11.7k|        void *_tmp_142_var_1;
 3477|  11.7k|        Token * a;
 3478|  11.7k|        if (
 3479|  11.7k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (3479:13): [True: 7.21k, False: 4.53k]
  ------------------
 3480|  7.21k|            &&
 3481|  7.21k|            (_tmp_142_var = _tmp_142_rule(p))  // lambda_param_no_default | ','
  ------------------
  |  Branch (3481:13): [True: 7.04k, False: 165]
  ------------------
 3482|  7.04k|            &&
 3483|  7.04k|            (_loop0_134_var = _loop0_134_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (3483:13): [True: 7.04k, False: 0]
  ------------------
 3484|  7.04k|            &&
 3485|  7.04k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (3485:13): [True: 55, False: 6.99k]
  ------------------
 3486|     55|            &&
 3487|     55|            (_tmp_142_var_1 = _tmp_142_rule(p))  // lambda_param_no_default | ','
  ------------------
  |  Branch (3487:13): [True: 6, False: 49]
  ------------------
 3488|  11.7k|        )
 3489|      6|        {
 3490|      6|            D(fprintf(stderr, "%*c+ invalid_lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')"));
 3491|      6|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "* may appear only once" );
  ------------------
  |  |  248|      6|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3492|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3492:18): [True: 6, False: 0]
  |  Branch (3492:34): [True: 0, False: 0]
  |  Branch (3492:57): [True: 6, False: 0]
  ------------------
 3493|      6|                p->error_indicator = 1;
 3494|      6|                p->level--;
 3495|      6|                return NULL;
 3496|      6|            }
 3497|      0|            goto done;
 3498|      6|        }
 3499|  11.7k|        p->mark = _mark;
 3500|  11.7k|        D(fprintf(stderr, "%*c%s invalid_lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 3501|  11.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')"));
 3502|  11.7k|    }
 3503|  11.7k|    _res = NULL;
 3504|  11.7k|  done:
 3505|  11.7k|    p->level--;
 3506|  11.7k|    return _res;
 3507|  11.7k|}
_PyPegen_invalid_lambda_kwds_rule:
 3515|  11.7k|{
 3516|  11.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  23.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3516:9): [True: 0, False: 11.7k]
  |  Branch (3516:35): [True: 0, False: 11.7k]
  ------------------
 3517|      0|        _Pypegen_stack_overflow(p);
 3518|      0|    }
 3519|  11.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (3519:9): [True: 0, False: 11.7k]
  ------------------
 3520|      0|        p->level--;
 3521|      0|        return NULL;
 3522|      0|    }
 3523|  11.7k|    void * _res = NULL;
 3524|  11.7k|    int _mark = p->mark;
 3525|  11.7k|    { // '**' lambda_param '='
 3526|  11.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (3526:13): [True: 0, False: 11.7k]
  ------------------
 3527|      0|            p->level--;
 3528|      0|            return NULL;
 3529|      0|        }
 3530|  11.7k|        D(fprintf(stderr, "%*c> invalid_lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param '='"));
 3531|  11.7k|        Token * _literal;
 3532|  11.7k|        Token * a;
 3533|  11.7k|        arg_ty lambda_param_var;
 3534|  11.7k|        if (
 3535|  11.7k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (3535:13): [True: 417, False: 11.3k]
  ------------------
 3536|    417|            &&
 3537|    417|            (lambda_param_var = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  285|    417|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (3537:13): [True: 404, False: 13]
  ------------------
 3538|    404|            &&
 3539|    404|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (3539:13): [True: 0, False: 404]
  ------------------
 3540|  11.7k|        )
 3541|      0|        {
 3542|      0|            D(fprintf(stderr, "%*c+ invalid_lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param '='"));
 3543|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "var-keyword parameter cannot have default value" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3544|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3544:18): [True: 0, False: 0]
  |  Branch (3544:34): [True: 0, False: 0]
  |  Branch (3544:57): [True: 0, False: 0]
  ------------------
 3545|      0|                p->error_indicator = 1;
 3546|      0|                p->level--;
 3547|      0|                return NULL;
 3548|      0|            }
 3549|      0|            goto done;
 3550|      0|        }
 3551|  11.7k|        p->mark = _mark;
 3552|  11.7k|        D(fprintf(stderr, "%*c%s invalid_lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
 3553|  11.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param '='"));
 3554|  11.7k|    }
 3555|      0|    { // '**' lambda_param ',' lambda_param
 3556|  11.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (3556:13): [True: 1, False: 11.7k]
  ------------------
 3557|      1|            p->level--;
 3558|      1|            return NULL;
 3559|      1|        }
 3560|  11.7k|        D(fprintf(stderr, "%*c> invalid_lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' lambda_param"));
 3561|  11.7k|        Token * _literal;
 3562|  11.7k|        Token * _literal_1;
 3563|  11.7k|        arg_ty a;
 3564|  11.7k|        arg_ty lambda_param_var;
 3565|  11.7k|        if (
 3566|  11.7k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (3566:13): [True: 416, False: 11.3k]
  ------------------
 3567|    416|            &&
 3568|    416|            (lambda_param_var = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  285|    416|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (3568:13): [True: 404, False: 12]
  ------------------
 3569|    404|            &&
 3570|    404|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (3570:13): [True: 339, False: 65]
  ------------------
 3571|    339|            &&
 3572|    339|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  285|    339|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (3572:13): [True: 3, False: 336]
  ------------------
 3573|  11.7k|        )
 3574|      3|        {
 3575|      3|            D(fprintf(stderr, "%*c+ invalid_lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' lambda_param"));
 3576|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameters cannot follow var-keyword parameter" );
  ------------------
  |  |  248|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3577|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3577:18): [True: 3, False: 0]
  |  Branch (3577:34): [True: 0, False: 0]
  |  Branch (3577:57): [True: 3, False: 0]
  ------------------
 3578|      3|                p->error_indicator = 1;
 3579|      3|                p->level--;
 3580|      3|                return NULL;
 3581|      3|            }
 3582|      0|            goto done;
 3583|      3|        }
 3584|  11.7k|        p->mark = _mark;
 3585|  11.7k|        D(fprintf(stderr, "%*c%s invalid_lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
 3586|  11.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param ',' lambda_param"));
 3587|  11.7k|    }
 3588|      0|    { // '**' lambda_param ',' ('*' | '**' | '/')
 3589|  11.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (3589:13): [True: 1, False: 11.7k]
  ------------------
 3590|      1|            p->level--;
 3591|      1|            return NULL;
 3592|      1|        }
 3593|  11.7k|        D(fprintf(stderr, "%*c> invalid_lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' ('*' | '**' | '/')"));
 3594|  11.7k|        Token * _literal;
 3595|  11.7k|        Token * _literal_1;
 3596|  11.7k|        Token* a;
 3597|  11.7k|        arg_ty lambda_param_var;
 3598|  11.7k|        if (
 3599|  11.7k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (3599:13): [True: 412, False: 11.3k]
  ------------------
 3600|    412|            &&
 3601|    412|            (lambda_param_var = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  285|    412|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (3601:13): [True: 400, False: 12]
  ------------------
 3602|    400|            &&
 3603|    400|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (3603:13): [True: 335, False: 65]
  ------------------
 3604|    335|            &&
 3605|    335|            (a = (Token*)_tmp_131_rule(p))  // '*' | '**' | '/'
  ------------------
  |  Branch (3605:13): [True: 2, False: 333]
  ------------------
 3606|  11.7k|        )
 3607|      2|        {
 3608|      2|            D(fprintf(stderr, "%*c+ invalid_lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' ('*' | '**' | '/')"));
 3609|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameters cannot follow var-keyword parameter" );
  ------------------
  |  |  248|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3610|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3610:18): [True: 2, False: 0]
  |  Branch (3610:34): [True: 0, False: 0]
  |  Branch (3610:57): [True: 2, False: 0]
  ------------------
 3611|      2|                p->error_indicator = 1;
 3612|      2|                p->level--;
 3613|      2|                return NULL;
 3614|      2|            }
 3615|      0|            goto done;
 3616|      2|        }
 3617|  11.7k|        p->mark = _mark;
 3618|  11.7k|        D(fprintf(stderr, "%*c%s invalid_lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
 3619|  11.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param ',' ('*' | '**' | '/')"));
 3620|  11.7k|    }
 3621|  11.7k|    _res = NULL;
 3622|  11.7k|  done:
 3623|  11.7k|    p->level--;
 3624|  11.7k|    return _res;
 3625|  11.7k|}
_PyPegen_invalid_double_type_comments_rule:
 3630|  2.22k|{
 3631|  2.22k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.44k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3631:9): [True: 0, False: 2.22k]
  |  Branch (3631:35): [True: 0, False: 2.22k]
  ------------------
 3632|      0|        _Pypegen_stack_overflow(p);
 3633|      0|    }
 3634|  2.22k|    if (p->error_indicator) {
  ------------------
  |  Branch (3634:9): [True: 0, False: 2.22k]
  ------------------
 3635|      0|        p->level--;
 3636|      0|        return NULL;
 3637|      0|    }
 3638|  2.22k|    void * _res = NULL;
 3639|  2.22k|    int _mark = p->mark;
 3640|  2.22k|    { // TYPE_COMMENT NEWLINE TYPE_COMMENT NEWLINE INDENT
 3641|  2.22k|        if (p->error_indicator) {
  ------------------
  |  Branch (3641:13): [True: 0, False: 2.22k]
  ------------------
 3642|      0|            p->level--;
 3643|      0|            return NULL;
 3644|      0|        }
 3645|  2.22k|        D(fprintf(stderr, "%*c> invalid_double_type_comments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TYPE_COMMENT NEWLINE TYPE_COMMENT NEWLINE INDENT"));
 3646|  2.22k|        Token * indent_var;
 3647|  2.22k|        Token * newline_var;
 3648|  2.22k|        Token * newline_var_1;
 3649|  2.22k|        Token * type_comment_var;
 3650|  2.22k|        Token * type_comment_var_1;
 3651|  2.22k|        if (
 3652|  2.22k|            (type_comment_var = _PyPegen_expect_token(p, TYPE_COMMENT))  // token='TYPE_COMMENT'
  ------------------
  |  |   73|  2.22k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (3652:13): [True: 206, False: 2.01k]
  ------------------
 3653|    206|            &&
 3654|    206|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    206|#define NEWLINE         4
  ------------------
  |  Branch (3654:13): [True: 206, False: 0]
  ------------------
 3655|    206|            &&
 3656|    206|            (type_comment_var_1 = _PyPegen_expect_token(p, TYPE_COMMENT))  // token='TYPE_COMMENT'
  ------------------
  |  |   73|    206|#define TYPE_COMMENT    57
  ------------------
  |  Branch (3656:13): [True: 2, False: 204]
  ------------------
 3657|      2|            &&
 3658|      2|            (newline_var_1 = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|      2|#define NEWLINE         4
  ------------------
  |  Branch (3658:13): [True: 2, False: 0]
  ------------------
 3659|      2|            &&
 3660|      2|            (indent_var = _PyPegen_expect_token(p, INDENT))  // token='INDENT'
  ------------------
  |  |   21|      2|#define INDENT          5
  ------------------
  |  Branch (3660:13): [True: 1, False: 1]
  ------------------
 3661|  2.22k|        )
 3662|      1|        {
 3663|      1|            D(fprintf(stderr, "%*c+ invalid_double_type_comments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TYPE_COMMENT NEWLINE TYPE_COMMENT NEWLINE INDENT"));
 3664|      1|            _res = RAISE_SYNTAX_ERROR ( "Cannot have two type comments on def" );
  ------------------
  |  |  242|      1|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 3665|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3665:18): [True: 1, False: 0]
  |  Branch (3665:34): [True: 0, False: 0]
  |  Branch (3665:57): [True: 1, False: 0]
  ------------------
 3666|      1|                p->error_indicator = 1;
 3667|      1|                p->level--;
 3668|      1|                return NULL;
 3669|      1|            }
 3670|      0|            goto done;
 3671|      1|        }
 3672|  2.22k|        p->mark = _mark;
 3673|  2.22k|        D(fprintf(stderr, "%*c%s invalid_double_type_comments[%d-%d]: %s failed!\n", p->level, ' ',
 3674|  2.22k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TYPE_COMMENT NEWLINE TYPE_COMMENT NEWLINE INDENT"));
 3675|  2.22k|    }
 3676|  2.22k|    _res = NULL;
 3677|  2.22k|  done:
 3678|  2.22k|    p->level--;
 3679|  2.22k|    return _res;
 3680|  2.22k|}
_PyPegen_invalid_with_item_rule:
 3685|  2.89k|{
 3686|  2.89k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  5.78k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3686:9): [True: 0, False: 2.89k]
  |  Branch (3686:35): [True: 0, False: 2.89k]
  ------------------
 3687|      0|        _Pypegen_stack_overflow(p);
 3688|      0|    }
 3689|  2.89k|    if (p->error_indicator) {
  ------------------
  |  Branch (3689:9): [True: 0, False: 2.89k]
  ------------------
 3690|      0|        p->level--;
 3691|      0|        return NULL;
 3692|      0|    }
 3693|  2.89k|    void * _res = NULL;
 3694|  2.89k|    int _mark = p->mark;
 3695|  2.89k|    { // expression 'as' expression &(',' | ')' | ':')
 3696|  2.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (3696:13): [True: 0, False: 2.89k]
  ------------------
 3697|      0|            p->level--;
 3698|      0|            return NULL;
 3699|      0|        }
 3700|  2.89k|        D(fprintf(stderr, "%*c> invalid_with_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression 'as' expression &(',' | ')' | ':')"));
 3701|  2.89k|        Token * _keyword;
 3702|  2.89k|        expr_ty a;
 3703|  2.89k|        expr_ty expression_var;
 3704|  2.89k|        if (
 3705|  2.89k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|  2.89k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (3705:13): [True: 2.33k, False: 559]
  ------------------
 3706|  2.33k|            &&
 3707|  2.33k|            (_keyword = _PyPegen_expect_token(p, 520))  // token='as'
  ------------------
  |  Branch (3707:13): [True: 9, False: 2.32k]
  ------------------
 3708|      9|            &&
 3709|      9|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|      9|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (3709:13): [True: 8, False: 1]
  ------------------
 3710|      8|            &&
 3711|      8|            _PyPegen_lookahead(1, _tmp_143_rule, p)
  ------------------
  |  Branch (3711:13): [True: 4, False: 4]
  ------------------
 3712|  2.89k|        )
 3713|      4|        {
 3714|      4|            D(fprintf(stderr, "%*c+ invalid_with_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression 'as' expression &(',' | ')' | ':')"));
 3715|      4|            _res = RAISE_SYNTAX_ERROR_INVALID_TARGET ( STAR_TARGETS , a );
  ------------------
  |  |  251|      4|#define RAISE_SYNTAX_ERROR_INVALID_TARGET(type, e) _RAISE_SYNTAX_ERROR_INVALID_TARGET(p, type, e)
  ------------------
 3716|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3716:18): [True: 4, False: 0]
  |  Branch (3716:34): [True: 0, False: 0]
  |  Branch (3716:57): [True: 4, False: 0]
  ------------------
 3717|      4|                p->error_indicator = 1;
 3718|      4|                p->level--;
 3719|      4|                return NULL;
 3720|      4|            }
 3721|      0|            goto done;
 3722|      4|        }
 3723|  2.89k|        p->mark = _mark;
 3724|  2.89k|        D(fprintf(stderr, "%*c%s invalid_with_item[%d-%d]: %s failed!\n", p->level, ' ',
 3725|  2.89k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression 'as' expression &(',' | ')' | ':')"));
 3726|  2.89k|    }
 3727|  2.89k|    _res = NULL;
 3728|  2.89k|  done:
 3729|  2.89k|    p->level--;
 3730|  2.89k|    return _res;
 3731|  2.89k|}
_PyPegen_invalid_for_if_clause_rule:
 3736|  67.5k|{
 3737|  67.5k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   135k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3737:9): [True: 0, False: 67.5k]
  |  Branch (3737:35): [True: 0, False: 67.5k]
  ------------------
 3738|      0|        _Pypegen_stack_overflow(p);
 3739|      0|    }
 3740|  67.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (3740:9): [True: 0, False: 67.5k]
  ------------------
 3741|      0|        p->level--;
 3742|      0|        return NULL;
 3743|      0|    }
 3744|  67.5k|    void * _res = NULL;
 3745|  67.5k|    int _mark = p->mark;
 3746|  67.5k|    { // 'async'? 'for' (bitwise_or ((',' bitwise_or))* ','?) !'in'
 3747|  67.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (3747:13): [True: 0, False: 67.5k]
  ------------------
 3748|      0|            p->level--;
 3749|      0|            return NULL;
 3750|      0|        }
 3751|  67.5k|        D(fprintf(stderr, "%*c> invalid_for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'for' (bitwise_or ((',' bitwise_or))* ','?) !'in'"));
 3752|  67.5k|        Token * _keyword;
 3753|  67.5k|        void *_opt_var;
 3754|  67.5k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  67.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 67.5k]
  |  |  ------------------
  ------------------
 3755|  67.5k|        void *_tmp_144_var;
 3756|  67.5k|        if (
 3757|  67.5k|            (_opt_var = _PyPegen_expect_token(p, 513), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (3757:13): [True: 67.5k, False: 0]
  ------------------
 3758|  67.5k|            &&
 3759|  67.5k|            (_keyword = _PyPegen_expect_token(p, 517))  // token='for'
  ------------------
  |  Branch (3759:13): [True: 1.66k, False: 65.8k]
  ------------------
 3760|  1.66k|            &&
 3761|  1.66k|            (_tmp_144_var = _tmp_144_rule(p))  // bitwise_or ((',' bitwise_or))* ','?
  ------------------
  |  Branch (3761:13): [True: 157, False: 1.50k]
  ------------------
 3762|    157|            &&
 3763|    157|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 523)  // token='in'
  ------------------
  |  Branch (3763:13): [True: 28, False: 129]
  ------------------
 3764|  67.5k|        )
 3765|     28|        {
 3766|     28|            D(fprintf(stderr, "%*c+ invalid_for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'for' (bitwise_or ((',' bitwise_or))* ','?) !'in'"));
 3767|     28|            _res = RAISE_SYNTAX_ERROR ( "'in' expected after for-loop variables" );
  ------------------
  |  |  242|     28|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 3768|     28|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3768:18): [True: 28, False: 0]
  |  Branch (3768:34): [True: 0, False: 0]
  |  Branch (3768:57): [True: 28, False: 0]
  ------------------
 3769|     28|                p->error_indicator = 1;
 3770|     28|                p->level--;
 3771|     28|                return NULL;
 3772|     28|            }
 3773|      0|            goto done;
 3774|     28|        }
 3775|  67.4k|        p->mark = _mark;
 3776|  67.4k|        D(fprintf(stderr, "%*c%s invalid_for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
 3777|  67.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'for' (bitwise_or ((',' bitwise_or))* ','?) !'in'"));
 3778|  67.4k|    }
 3779|  67.4k|    _res = NULL;
 3780|  67.4k|  done:
 3781|  67.4k|    p->level--;
 3782|  67.4k|    return _res;
 3783|  67.4k|}
_PyPegen_invalid_for_target_rule:
 3788|  66.9k|{
 3789|  66.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   133k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3789:9): [True: 0, False: 66.9k]
  |  Branch (3789:35): [True: 0, False: 66.9k]
  ------------------
 3790|      0|        _Pypegen_stack_overflow(p);
 3791|      0|    }
 3792|  66.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (3792:9): [True: 0, False: 66.9k]
  ------------------
 3793|      0|        p->level--;
 3794|      0|        return NULL;
 3795|      0|    }
 3796|  66.9k|    void * _res = NULL;
 3797|  66.9k|    int _mark = p->mark;
 3798|  66.9k|    { // 'async'? 'for' star_expressions
 3799|  66.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (3799:13): [True: 0, False: 66.9k]
  ------------------
 3800|      0|            p->level--;
 3801|      0|            return NULL;
 3802|      0|        }
 3803|  66.9k|        D(fprintf(stderr, "%*c> invalid_for_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'for' star_expressions"));
 3804|  66.9k|        Token * _keyword;
 3805|  66.9k|        void *_opt_var;
 3806|  66.9k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  66.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 66.9k]
  |  |  ------------------
  ------------------
 3807|  66.9k|        expr_ty a;
 3808|  66.9k|        if (
 3809|  66.9k|            (_opt_var = _PyPegen_expect_token(p, 513), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (3809:13): [True: 66.9k, False: 0]
  ------------------
 3810|  66.9k|            &&
 3811|  66.9k|            (_keyword = _PyPegen_expect_token(p, 517))  // token='for'
  ------------------
  |  Branch (3811:13): [True: 1.02k, False: 65.9k]
  ------------------
 3812|  1.02k|            &&
 3813|  1.02k|            (a = star_expressions_rule(p))  // star_expressions
  ------------------
  |  |  249|  1.02k|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (3813:13): [True: 389, False: 633]
  ------------------
 3814|  66.9k|        )
 3815|    389|        {
 3816|    389|            D(fprintf(stderr, "%*c+ invalid_for_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'for' star_expressions"));
 3817|    389|            _res = RAISE_SYNTAX_ERROR_INVALID_TARGET ( FOR_TARGETS , a );
  ------------------
  |  |  251|    389|#define RAISE_SYNTAX_ERROR_INVALID_TARGET(type, e) _RAISE_SYNTAX_ERROR_INVALID_TARGET(p, type, e)
  ------------------
 3818|    389|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3818:18): [True: 389, False: 0]
  |  Branch (3818:34): [True: 0, False: 0]
  |  Branch (3818:57): [True: 10, False: 379]
  ------------------
 3819|     10|                p->error_indicator = 1;
 3820|     10|                p->level--;
 3821|     10|                return NULL;
 3822|     10|            }
 3823|    379|            goto done;
 3824|    389|        }
 3825|  66.5k|        p->mark = _mark;
 3826|  66.5k|        D(fprintf(stderr, "%*c%s invalid_for_target[%d-%d]: %s failed!\n", p->level, ' ',
 3827|  66.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'for' star_expressions"));
 3828|  66.5k|    }
 3829|  66.5k|    _res = NULL;
 3830|  66.9k|  done:
 3831|  66.9k|    p->level--;
 3832|  66.9k|    return _res;
 3833|  66.5k|}
_PyPegen_invalid_group_rule:
 3838|  5.99k|{
 3839|  5.99k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  11.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3839:9): [True: 0, False: 5.99k]
  |  Branch (3839:35): [True: 0, False: 5.99k]
  ------------------
 3840|      0|        _Pypegen_stack_overflow(p);
 3841|      0|    }
 3842|  5.99k|    if (p->error_indicator) {
  ------------------
  |  Branch (3842:9): [True: 0, False: 5.99k]
  ------------------
 3843|      0|        p->level--;
 3844|      0|        return NULL;
 3845|      0|    }
 3846|  5.99k|    void * _res = NULL;
 3847|  5.99k|    int _mark = p->mark;
 3848|  5.99k|    { // '(' starred_expression ')'
 3849|  5.99k|        if (p->error_indicator) {
  ------------------
  |  Branch (3849:13): [True: 0, False: 5.99k]
  ------------------
 3850|      0|            p->level--;
 3851|      0|            return NULL;
 3852|      0|        }
 3853|  5.99k|        D(fprintf(stderr, "%*c> invalid_group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' starred_expression ')'"));
 3854|  5.99k|        Token * _literal;
 3855|  5.99k|        Token * _literal_1;
 3856|  5.99k|        expr_ty a;
 3857|  5.99k|        if (
 3858|  5.99k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (3858:13): [True: 5.99k, False: 0]
  ------------------
 3859|  5.99k|            &&
 3860|  5.99k|            (a = starred_expression_rule(p))  // starred_expression
  ------------------
  |  |  311|  5.99k|#define starred_expression_rule _PyPegen_starred_expression_rule
  ------------------
  |  Branch (3860:13): [True: 350, False: 5.64k]
  ------------------
 3861|    350|            &&
 3862|    350|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (3862:13): [True: 1, False: 349]
  ------------------
 3863|  5.99k|        )
 3864|      1|        {
 3865|      1|            D(fprintf(stderr, "%*c+ invalid_group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' starred_expression ')'"));
 3866|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use starred expression here" );
  ------------------
  |  |  248|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3867|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3867:18): [True: 1, False: 0]
  |  Branch (3867:34): [True: 0, False: 0]
  |  Branch (3867:57): [True: 1, False: 0]
  ------------------
 3868|      1|                p->error_indicator = 1;
 3869|      1|                p->level--;
 3870|      1|                return NULL;
 3871|      1|            }
 3872|      0|            goto done;
 3873|      1|        }
 3874|  5.99k|        p->mark = _mark;
 3875|  5.99k|        D(fprintf(stderr, "%*c%s invalid_group[%d-%d]: %s failed!\n", p->level, ' ',
 3876|  5.99k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' starred_expression ')'"));
 3877|  5.99k|    }
 3878|      0|    { // '(' '**' expression ')'
 3879|  5.99k|        if (p->error_indicator) {
  ------------------
  |  Branch (3879:13): [True: 0, False: 5.99k]
  ------------------
 3880|      0|            p->level--;
 3881|      0|            return NULL;
 3882|      0|        }
 3883|  5.99k|        D(fprintf(stderr, "%*c> invalid_group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' '**' expression ')'"));
 3884|  5.99k|        Token * _literal;
 3885|  5.99k|        Token * _literal_1;
 3886|  5.99k|        Token * a;
 3887|  5.99k|        expr_ty expression_var;
 3888|  5.99k|        if (
 3889|  5.99k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (3889:13): [True: 5.99k, False: 0]
  ------------------
 3890|  5.99k|            &&
 3891|  5.99k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (3891:13): [True: 116, False: 5.87k]
  ------------------
 3892|    116|            &&
 3893|    116|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|    116|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (3893:13): [True: 35, False: 81]
  ------------------
 3894|     35|            &&
 3895|     35|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (3895:13): [True: 1, False: 34]
  ------------------
 3896|  5.99k|        )
 3897|      1|        {
 3898|      1|            D(fprintf(stderr, "%*c+ invalid_group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' '**' expression ')'"));
 3899|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use double starred expression here" );
  ------------------
  |  |  248|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 3900|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3900:18): [True: 1, False: 0]
  |  Branch (3900:34): [True: 0, False: 0]
  |  Branch (3900:57): [True: 1, False: 0]
  ------------------
 3901|      1|                p->error_indicator = 1;
 3902|      1|                p->level--;
 3903|      1|                return NULL;
 3904|      1|            }
 3905|      0|            goto done;
 3906|      1|        }
 3907|  5.99k|        p->mark = _mark;
 3908|  5.99k|        D(fprintf(stderr, "%*c%s invalid_group[%d-%d]: %s failed!\n", p->level, ' ',
 3909|  5.99k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' '**' expression ')'"));
 3910|  5.99k|    }
 3911|  5.99k|    _res = NULL;
 3912|  5.99k|  done:
 3913|  5.99k|    p->level--;
 3914|  5.99k|    return _res;
 3915|  5.99k|}
_PyPegen_invalid_import_rule:
 3920|  2.23k|{
 3921|  2.23k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.46k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3921:9): [True: 0, False: 2.23k]
  |  Branch (3921:35): [True: 0, False: 2.23k]
  ------------------
 3922|      0|        _Pypegen_stack_overflow(p);
 3923|      0|    }
 3924|  2.23k|    if (p->error_indicator) {
  ------------------
  |  Branch (3924:9): [True: 0, False: 2.23k]
  ------------------
 3925|      0|        p->level--;
 3926|      0|        return NULL;
 3927|      0|    }
 3928|  2.23k|    void * _res = NULL;
 3929|  2.23k|    int _mark = p->mark;
 3930|  2.23k|    { // 'import' ','.dotted_name+ 'from' dotted_name
 3931|  2.23k|        if (p->error_indicator) {
  ------------------
  |  Branch (3931:13): [True: 0, False: 2.23k]
  ------------------
 3932|      0|            p->level--;
 3933|      0|            return NULL;
 3934|      0|        }
 3935|  2.23k|        D(fprintf(stderr, "%*c> invalid_import[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'import' ','.dotted_name+ 'from' dotted_name"));
 3936|  2.23k|        asdl_seq * _gather_146_var;
 3937|  2.23k|        Token * _keyword;
 3938|  2.23k|        Token * a;
 3939|  2.23k|        expr_ty dotted_name_var;
 3940|  2.23k|        if (
 3941|  2.23k|            (a = _PyPegen_expect_token(p, 500))  // token='import'
  ------------------
  |  Branch (3941:13): [True: 725, False: 1.50k]
  ------------------
 3942|    725|            &&
 3943|    725|            (_gather_146_var = _gather_146_rule(p))  // ','.dotted_name+
  ------------------
  |  Branch (3943:13): [True: 713, False: 12]
  ------------------
 3944|    713|            &&
 3945|    713|            (_keyword = _PyPegen_expect_token(p, 501))  // token='from'
  ------------------
  |  Branch (3945:13): [True: 1, False: 712]
  ------------------
 3946|      1|            &&
 3947|      1|            (dotted_name_var = dotted_name_rule(p))  // dotted_name
  ------------------
  |  |  199|      1|#define dotted_name_rule _PyPegen_dotted_name_rule
  ------------------
  |  Branch (3947:13): [True: 1, False: 0]
  ------------------
 3948|  2.23k|        )
 3949|      1|        {
 3950|      1|            D(fprintf(stderr, "%*c+ invalid_import[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'import' ','.dotted_name+ 'from' dotted_name"));
 3951|      1|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( a , "Did you mean to use 'from ... import ...' instead?" );
  ------------------
  |  |  250|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
 3952|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3952:18): [True: 1, False: 0]
  |  Branch (3952:34): [True: 0, False: 0]
  |  Branch (3952:57): [True: 1, False: 0]
  ------------------
 3953|      1|                p->error_indicator = 1;
 3954|      1|                p->level--;
 3955|      1|                return NULL;
 3956|      1|            }
 3957|      0|            goto done;
 3958|      1|        }
 3959|  2.23k|        p->mark = _mark;
 3960|  2.23k|        D(fprintf(stderr, "%*c%s invalid_import[%d-%d]: %s failed!\n", p->level, ' ',
 3961|  2.23k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'import' ','.dotted_name+ 'from' dotted_name"));
 3962|  2.23k|    }
 3963|      0|    { // 'import' NEWLINE
 3964|  2.23k|        if (p->error_indicator) {
  ------------------
  |  Branch (3964:13): [True: 0, False: 2.23k]
  ------------------
 3965|      0|            p->level--;
 3966|      0|            return NULL;
 3967|      0|        }
 3968|  2.23k|        D(fprintf(stderr, "%*c> invalid_import[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'import' NEWLINE"));
 3969|  2.23k|        Token * _keyword;
 3970|  2.23k|        Token * token;
 3971|  2.23k|        if (
 3972|  2.23k|            (_keyword = _PyPegen_expect_token(p, 500))  // token='import'
  ------------------
  |  Branch (3972:13): [True: 724, False: 1.50k]
  ------------------
 3973|    724|            &&
 3974|    724|            (token = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    724|#define NEWLINE         4
  ------------------
  |  Branch (3974:13): [True: 4, False: 720]
  ------------------
 3975|  2.23k|        )
 3976|      4|        {
 3977|      4|            D(fprintf(stderr, "%*c+ invalid_import[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'import' NEWLINE"));
 3978|      4|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( token , "Expected one or more names after 'import'" );
  ------------------
  |  |  250|      4|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      4|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      4|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
 3979|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3979:18): [True: 4, False: 0]
  |  Branch (3979:34): [True: 0, False: 0]
  |  Branch (3979:57): [True: 4, False: 0]
  ------------------
 3980|      4|                p->error_indicator = 1;
 3981|      4|                p->level--;
 3982|      4|                return NULL;
 3983|      4|            }
 3984|      0|            goto done;
 3985|      4|        }
 3986|  2.22k|        p->mark = _mark;
 3987|  2.22k|        D(fprintf(stderr, "%*c%s invalid_import[%d-%d]: %s failed!\n", p->level, ' ',
 3988|  2.22k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'import' NEWLINE"));
 3989|  2.22k|    }
 3990|  2.22k|    _res = NULL;
 3991|  2.22k|  done:
 3992|  2.22k|    p->level--;
 3993|  2.22k|    return _res;
 3994|  2.22k|}
_PyPegen_invalid_dotted_as_name_rule:
 3999|  2.16k|{
 4000|  2.16k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.33k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4000:9): [True: 0, False: 2.16k]
  |  Branch (4000:35): [True: 0, False: 2.16k]
  ------------------
 4001|      0|        _Pypegen_stack_overflow(p);
 4002|      0|    }
 4003|  2.16k|    if (p->error_indicator) {
  ------------------
  |  Branch (4003:9): [True: 0, False: 2.16k]
  ------------------
 4004|      0|        p->level--;
 4005|      0|        return NULL;
 4006|      0|    }
 4007|  2.16k|    void * _res = NULL;
 4008|  2.16k|    int _mark = p->mark;
 4009|  2.16k|    { // dotted_name 'as' !(NAME (',' | ')' | ';' | NEWLINE)) expression
 4010|  2.16k|        if (p->error_indicator) {
  ------------------
  |  Branch (4010:13): [True: 0, False: 2.16k]
  ------------------
 4011|      0|            p->level--;
 4012|      0|            return NULL;
 4013|      0|        }
 4014|  2.16k|        D(fprintf(stderr, "%*c> invalid_dotted_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dotted_name 'as' !(NAME (',' | ')' | ';' | NEWLINE)) expression"));
 4015|  2.16k|        Token * _keyword;
 4016|  2.16k|        expr_ty a;
 4017|  2.16k|        expr_ty dotted_name_var;
 4018|  2.16k|        if (
 4019|  2.16k|            (dotted_name_var = dotted_name_rule(p))  // dotted_name
  ------------------
  |  |  199|  2.16k|#define dotted_name_rule _PyPegen_dotted_name_rule
  ------------------
  |  Branch (4019:13): [True: 2.14k, False: 19]
  ------------------
 4020|  2.14k|            &&
 4021|  2.14k|            (_keyword = _PyPegen_expect_token(p, 520))  // token='as'
  ------------------
  |  Branch (4021:13): [True: 401, False: 1.74k]
  ------------------
 4022|    401|            &&
 4023|    401|            _PyPegen_lookahead(0, _tmp_147_rule, p)
  ------------------
  |  Branch (4023:13): [True: 5, False: 396]
  ------------------
 4024|      5|            &&
 4025|      5|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|      5|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (4025:13): [True: 2, False: 3]
  ------------------
 4026|  2.16k|        )
 4027|      2|        {
 4028|      2|            D(fprintf(stderr, "%*c+ invalid_dotted_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dotted_name 'as' !(NAME (',' | ')' | ';' | NEWLINE)) expression"));
 4029|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use %s as import target" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  248|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 4030|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4030:18): [True: 2, False: 0]
  |  Branch (4030:34): [True: 0, False: 0]
  |  Branch (4030:57): [True: 2, False: 0]
  ------------------
 4031|      2|                p->error_indicator = 1;
 4032|      2|                p->level--;
 4033|      2|                return NULL;
 4034|      2|            }
 4035|      0|            goto done;
 4036|      2|        }
 4037|  2.16k|        p->mark = _mark;
 4038|  2.16k|        D(fprintf(stderr, "%*c%s invalid_dotted_as_name[%d-%d]: %s failed!\n", p->level, ' ',
 4039|  2.16k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dotted_name 'as' !(NAME (',' | ')' | ';' | NEWLINE)) expression"));
 4040|  2.16k|    }
 4041|  2.16k|    _res = NULL;
 4042|  2.16k|  done:
 4043|  2.16k|    p->level--;
 4044|  2.16k|    return _res;
 4045|  2.16k|}
_PyPegen_invalid_import_from_as_name_rule:
 4050|  4.81k|{
 4051|  4.81k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  9.62k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4051:9): [True: 0, False: 4.81k]
  |  Branch (4051:35): [True: 0, False: 4.81k]
  ------------------
 4052|      0|        _Pypegen_stack_overflow(p);
 4053|      0|    }
 4054|  4.81k|    if (p->error_indicator) {
  ------------------
  |  Branch (4054:9): [True: 0, False: 4.81k]
  ------------------
 4055|      0|        p->level--;
 4056|      0|        return NULL;
 4057|      0|    }
 4058|  4.81k|    void * _res = NULL;
 4059|  4.81k|    int _mark = p->mark;
 4060|  4.81k|    { // NAME 'as' !(NAME (',' | ')' | ';' | NEWLINE)) expression
 4061|  4.81k|        if (p->error_indicator) {
  ------------------
  |  Branch (4061:13): [True: 0, False: 4.81k]
  ------------------
 4062|      0|            p->level--;
 4063|      0|            return NULL;
 4064|      0|        }
 4065|  4.81k|        D(fprintf(stderr, "%*c> invalid_import_from_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME 'as' !(NAME (',' | ')' | ';' | NEWLINE)) expression"));
 4066|  4.81k|        Token * _keyword;
 4067|  4.81k|        expr_ty a;
 4068|  4.81k|        expr_ty name_var;
 4069|  4.81k|        if (
 4070|  4.81k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4070:13): [True: 4.73k, False: 79]
  ------------------
 4071|  4.73k|            &&
 4072|  4.73k|            (_keyword = _PyPegen_expect_token(p, 520))  // token='as'
  ------------------
  |  Branch (4072:13): [True: 411, False: 4.32k]
  ------------------
 4073|    411|            &&
 4074|    411|            _PyPegen_lookahead(0, _tmp_147_rule, p)
  ------------------
  |  Branch (4074:13): [True: 5, False: 406]
  ------------------
 4075|      5|            &&
 4076|      5|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|      5|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (4076:13): [True: 3, False: 2]
  ------------------
 4077|  4.81k|        )
 4078|      3|        {
 4079|      3|            D(fprintf(stderr, "%*c+ invalid_import_from_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME 'as' !(NAME (',' | ')' | ';' | NEWLINE)) expression"));
 4080|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use %s as import target" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  248|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 4081|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4081:18): [True: 3, False: 0]
  |  Branch (4081:34): [True: 0, False: 0]
  |  Branch (4081:57): [True: 3, False: 0]
  ------------------
 4082|      3|                p->error_indicator = 1;
 4083|      3|                p->level--;
 4084|      3|                return NULL;
 4085|      3|            }
 4086|      0|            goto done;
 4087|      3|        }
 4088|  4.80k|        p->mark = _mark;
 4089|  4.80k|        D(fprintf(stderr, "%*c%s invalid_import_from_as_name[%d-%d]: %s failed!\n", p->level, ' ',
 4090|  4.80k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME 'as' !(NAME (',' | ')' | ';' | NEWLINE)) expression"));
 4091|  4.80k|    }
 4092|  4.80k|    _res = NULL;
 4093|  4.80k|  done:
 4094|  4.80k|    p->level--;
 4095|  4.80k|    return _res;
 4096|  4.80k|}
_PyPegen_invalid_import_from_rule:
 4102|  1.44k|{
 4103|  1.44k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.89k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4103:9): [True: 0, False: 1.44k]
  |  Branch (4103:35): [True: 0, False: 1.44k]
  ------------------
 4104|      0|        _Pypegen_stack_overflow(p);
 4105|      0|    }
 4106|  1.44k|    if (p->error_indicator) {
  ------------------
  |  Branch (4106:9): [True: 0, False: 1.44k]
  ------------------
 4107|      0|        p->level--;
 4108|      0|        return NULL;
 4109|      0|    }
 4110|  1.44k|    void * _res = NULL;
 4111|  1.44k|    int _mark = p->mark;
 4112|  1.44k|    { // 'from' (('.' | '...'))* dotted_name "lazy" 'import' import_from_targets
 4113|  1.44k|        if (p->error_indicator) {
  ------------------
  |  Branch (4113:13): [True: 0, False: 1.44k]
  ------------------
 4114|      0|            p->level--;
 4115|      0|            return NULL;
 4116|      0|        }
 4117|  1.44k|        D(fprintf(stderr, "%*c> invalid_import_from[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'from' (('.' | '...'))* dotted_name \"lazy\" 'import' import_from_targets"));
 4118|  1.44k|        Token * _keyword;
 4119|  1.44k|        Token * _keyword_1;
 4120|  1.44k|        asdl_seq * _loop0_148_var;
 4121|  1.44k|        expr_ty a;
 4122|  1.44k|        expr_ty dotted_name_var;
 4123|  1.44k|        asdl_alias_seq* import_from_targets_var;
 4124|  1.44k|        if (
 4125|  1.44k|            (_keyword = _PyPegen_expect_token(p, 501))  // token='from'
  ------------------
  |  Branch (4125:13): [True: 1.20k, False: 242]
  ------------------
 4126|  1.20k|            &&
 4127|  1.20k|            (_loop0_148_var = _loop0_148_rule(p))  // (('.' | '...'))*
  ------------------
  |  Branch (4127:13): [True: 1.20k, False: 0]
  ------------------
 4128|  1.20k|            &&
 4129|  1.20k|            (dotted_name_var = dotted_name_rule(p))  // dotted_name
  ------------------
  |  |  199|  1.20k|#define dotted_name_rule _PyPegen_dotted_name_rule
  ------------------
  |  Branch (4129:13): [True: 873, False: 330]
  ------------------
 4130|    873|            &&
 4131|    873|            (a = _PyPegen_expect_soft_keyword(p, "lazy"))  // soft_keyword='"lazy"'
  ------------------
  |  Branch (4131:13): [True: 5, False: 868]
  ------------------
 4132|      5|            &&
 4133|      5|            (_keyword_1 = _PyPegen_expect_token(p, 500))  // token='import'
  ------------------
  |  Branch (4133:13): [True: 3, False: 2]
  ------------------
 4134|      3|            &&
 4135|      3|            (import_from_targets_var = import_from_targets_rule(p))  // import_from_targets
  ------------------
  |  |  195|      3|#define import_from_targets_rule _PyPegen_import_from_targets_rule
  ------------------
  |  Branch (4135:13): [True: 1, False: 2]
  ------------------
 4136|  1.44k|        )
 4137|      1|        {
 4138|      1|            D(fprintf(stderr, "%*c+ invalid_import_from[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'from' (('.' | '...'))* dotted_name \"lazy\" 'import' import_from_targets"));
 4139|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "use 'lazy from ... ' instead of 'from ... lazy import'" );
  ------------------
  |  |  248|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 4140|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4140:18): [True: 1, False: 0]
  |  Branch (4140:34): [True: 0, False: 0]
  |  Branch (4140:57): [True: 1, False: 0]
  ------------------
 4141|      1|                p->error_indicator = 1;
 4142|      1|                p->level--;
 4143|      1|                return NULL;
 4144|      1|            }
 4145|      0|            goto done;
 4146|      1|        }
 4147|  1.44k|        p->mark = _mark;
 4148|  1.44k|        D(fprintf(stderr, "%*c%s invalid_import_from[%d-%d]: %s failed!\n", p->level, ' ',
 4149|  1.44k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'from' (('.' | '...'))* dotted_name \"lazy\" 'import' import_from_targets"));
 4150|  1.44k|    }
 4151|  1.44k|    _res = NULL;
 4152|  1.44k|  done:
 4153|  1.44k|    p->level--;
 4154|  1.44k|    return _res;
 4155|  1.44k|}
_PyPegen_invalid_import_from_targets_rule:
 4160|     29|{
 4161|     29|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     58|#  define MAXSTACK 6000
  ------------------
  |  Branch (4161:9): [True: 0, False: 29]
  |  Branch (4161:35): [True: 0, False: 29]
  ------------------
 4162|      0|        _Pypegen_stack_overflow(p);
 4163|      0|    }
 4164|     29|    if (p->error_indicator) {
  ------------------
  |  Branch (4164:9): [True: 0, False: 29]
  ------------------
 4165|      0|        p->level--;
 4166|      0|        return NULL;
 4167|      0|    }
 4168|     29|    void * _res = NULL;
 4169|     29|    int _mark = p->mark;
 4170|     29|    { // import_from_as_names ',' NEWLINE
 4171|     29|        if (p->error_indicator) {
  ------------------
  |  Branch (4171:13): [True: 0, False: 29]
  ------------------
 4172|      0|            p->level--;
 4173|      0|            return NULL;
 4174|      0|        }
 4175|     29|        D(fprintf(stderr, "%*c> invalid_import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_from_as_names ',' NEWLINE"));
 4176|     29|        Token * _literal;
 4177|     29|        asdl_alias_seq* import_from_as_names_var;
 4178|     29|        Token * newline_var;
 4179|     29|        if (
 4180|     29|            (import_from_as_names_var = import_from_as_names_rule(p))  // import_from_as_names
  ------------------
  |  |  197|     29|#define import_from_as_names_rule _PyPegen_import_from_as_names_rule
  ------------------
  |  Branch (4180:13): [True: 15, False: 14]
  ------------------
 4181|     15|            &&
 4182|     15|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (4182:13): [True: 15, False: 0]
  ------------------
 4183|     15|            &&
 4184|     15|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     15|#define NEWLINE         4
  ------------------
  |  Branch (4184:13): [True: 4, False: 11]
  ------------------
 4185|     29|        )
 4186|      4|        {
 4187|      4|            D(fprintf(stderr, "%*c+ invalid_import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_from_as_names ',' NEWLINE"));
 4188|      4|            _res = RAISE_SYNTAX_ERROR ( "trailing comma not allowed without surrounding parentheses" );
  ------------------
  |  |  242|      4|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 4189|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4189:18): [True: 4, False: 0]
  |  Branch (4189:34): [True: 0, False: 0]
  |  Branch (4189:57): [True: 4, False: 0]
  ------------------
 4190|      4|                p->error_indicator = 1;
 4191|      4|                p->level--;
 4192|      4|                return NULL;
 4193|      4|            }
 4194|      0|            goto done;
 4195|      4|        }
 4196|     25|        p->mark = _mark;
 4197|     25|        D(fprintf(stderr, "%*c%s invalid_import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
 4198|     25|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_from_as_names ',' NEWLINE"));
 4199|     25|    }
 4200|      0|    { // NEWLINE
 4201|     25|        if (p->error_indicator) {
  ------------------
  |  Branch (4201:13): [True: 0, False: 25]
  ------------------
 4202|      0|            p->level--;
 4203|      0|            return NULL;
 4204|      0|        }
 4205|     25|        D(fprintf(stderr, "%*c> invalid_import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
 4206|     25|        Token * token;
 4207|     25|        if (
 4208|     25|            (token = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     25|#define NEWLINE         4
  ------------------
  |  Branch (4208:13): [True: 5, False: 20]
  ------------------
 4209|     25|        )
 4210|      5|        {
 4211|      5|            D(fprintf(stderr, "%*c+ invalid_import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
 4212|      5|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( token , "Expected one or more names after 'import'" );
  ------------------
  |  |  250|      5|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      5|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      5|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
 4213|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4213:18): [True: 5, False: 0]
  |  Branch (4213:34): [True: 0, False: 0]
  |  Branch (4213:57): [True: 5, False: 0]
  ------------------
 4214|      5|                p->error_indicator = 1;
 4215|      5|                p->level--;
 4216|      5|                return NULL;
 4217|      5|            }
 4218|      0|            goto done;
 4219|      5|        }
 4220|     20|        p->mark = _mark;
 4221|     20|        D(fprintf(stderr, "%*c%s invalid_import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
 4222|     20|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
 4223|     20|    }
 4224|     20|    _res = NULL;
 4225|     20|  done:
 4226|     20|    p->level--;
 4227|     20|    return _res;
 4228|     20|}
_PyPegen_invalid_with_stmt_rule:
 4236|    437|{
 4237|    437|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    874|#  define MAXSTACK 6000
  ------------------
  |  Branch (4237:9): [True: 0, False: 437]
  |  Branch (4237:35): [True: 0, False: 437]
  ------------------
 4238|      0|        _Pypegen_stack_overflow(p);
 4239|      0|    }
 4240|    437|    if (p->error_indicator) {
  ------------------
  |  Branch (4240:9): [True: 0, False: 437]
  ------------------
 4241|      0|        p->level--;
 4242|      0|        return NULL;
 4243|      0|    }
 4244|    437|    void * _res = NULL;
 4245|    437|    int _mark = p->mark;
 4246|    437|    { // 'async'? 'with' ','.(expression ['as' star_target])+ ',' ':'
 4247|    437|        if (p->error_indicator) {
  ------------------
  |  Branch (4247:13): [True: 0, False: 437]
  ------------------
 4248|      0|            p->level--;
 4249|      0|            return NULL;
 4250|      0|        }
 4251|    437|        D(fprintf(stderr, "%*c> invalid_with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ ',' ':'"));
 4252|    437|        asdl_seq * _gather_150_var;
 4253|    437|        Token * _keyword;
 4254|    437|        Token * _literal;
 4255|    437|        void *_opt_var;
 4256|    437|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|    437|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 437]
  |  |  ------------------
  ------------------
 4257|    437|        Token * trailing;
 4258|    437|        if (
 4259|    437|            (_opt_var = _PyPegen_expect_token(p, 513), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (4259:13): [True: 437, False: 0]
  ------------------
 4260|    437|            &&
 4261|    437|            (_keyword = _PyPegen_expect_token(p, 516))  // token='with'
  ------------------
  |  Branch (4261:13): [True: 111, False: 326]
  ------------------
 4262|    111|            &&
 4263|    111|            (_gather_150_var = _gather_150_rule(p))  // ','.(expression ['as' star_target])+
  ------------------
  |  Branch (4263:13): [True: 72, False: 39]
  ------------------
 4264|     72|            &&
 4265|     72|            (trailing = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (4265:13): [True: 8, False: 64]
  ------------------
 4266|      8|            &&
 4267|      8|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4267:13): [True: 2, False: 6]
  ------------------
 4268|    437|        )
 4269|      2|        {
 4270|      2|            D(fprintf(stderr, "%*c+ invalid_with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ ',' ':'"));
 4271|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( trailing , "the last 'with' item has a trailing comma" );
  ------------------
  |  |  248|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 4272|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4272:18): [True: 2, False: 0]
  |  Branch (4272:34): [True: 0, False: 0]
  |  Branch (4272:57): [True: 2, False: 0]
  ------------------
 4273|      2|                p->error_indicator = 1;
 4274|      2|                p->level--;
 4275|      2|                return NULL;
 4276|      2|            }
 4277|      0|            goto done;
 4278|      2|        }
 4279|    435|        p->mark = _mark;
 4280|    435|        D(fprintf(stderr, "%*c%s invalid_with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 4281|    435|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ ',' ':'"));
 4282|    435|    }
 4283|      0|    { // 'async'? 'with' ','.(expression ['as' star_target])+ NEWLINE
 4284|    435|        if (p->error_indicator) {
  ------------------
  |  Branch (4284:13): [True: 0, False: 435]
  ------------------
 4285|      0|            p->level--;
 4286|      0|            return NULL;
 4287|      0|        }
 4288|    435|        D(fprintf(stderr, "%*c> invalid_with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ NEWLINE"));
 4289|    435|        asdl_seq * _gather_150_var;
 4290|    435|        Token * _keyword;
 4291|    435|        void *_opt_var;
 4292|    435|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|    435|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 435]
  |  |  ------------------
  ------------------
 4293|    435|        Token * newline_var;
 4294|    435|        if (
 4295|    435|            (_opt_var = _PyPegen_expect_token(p, 513), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (4295:13): [True: 435, False: 0]
  ------------------
 4296|    435|            &&
 4297|    435|            (_keyword = _PyPegen_expect_token(p, 516))  // token='with'
  ------------------
  |  Branch (4297:13): [True: 109, False: 326]
  ------------------
 4298|    109|            &&
 4299|    109|            (_gather_150_var = _gather_150_rule(p))  // ','.(expression ['as' star_target])+
  ------------------
  |  Branch (4299:13): [True: 70, False: 39]
  ------------------
 4300|     70|            &&
 4301|     70|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     70|#define NEWLINE         4
  ------------------
  |  Branch (4301:13): [True: 21, False: 49]
  ------------------
 4302|    435|        )
 4303|     21|        {
 4304|     21|            D(fprintf(stderr, "%*c+ invalid_with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ NEWLINE"));
 4305|     21|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  242|     21|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 4306|     21|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4306:18): [True: 21, False: 0]
  |  Branch (4306:34): [True: 0, False: 0]
  |  Branch (4306:57): [True: 21, False: 0]
  ------------------
 4307|     21|                p->error_indicator = 1;
 4308|     21|                p->level--;
 4309|     21|                return NULL;
 4310|     21|            }
 4311|      0|            goto done;
 4312|     21|        }
 4313|    414|        p->mark = _mark;
 4314|    414|        D(fprintf(stderr, "%*c%s invalid_with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 4315|    414|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ NEWLINE"));
 4316|    414|    }
 4317|      0|    { // 'async'? 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' NEWLINE
 4318|    414|        if (p->error_indicator) {
  ------------------
  |  Branch (4318:13): [True: 0, False: 414]
  ------------------
 4319|      0|            p->level--;
 4320|      0|            return NULL;
 4321|      0|        }
 4322|    414|        D(fprintf(stderr, "%*c> invalid_with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' NEWLINE"));
 4323|    414|        asdl_seq * _gather_152_var;
 4324|    414|        Token * _keyword;
 4325|    414|        Token * _literal;
 4326|    414|        Token * _literal_1;
 4327|    414|        void *_opt_var;
 4328|    414|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|    414|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 414]
  |  |  ------------------
  ------------------
 4329|    414|        void *_opt_var_1;
 4330|    414|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  314|    414|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 414]
  |  |  ------------------
  ------------------
 4331|    414|        Token * newline_var;
 4332|    414|        if (
 4333|    414|            (_opt_var = _PyPegen_expect_token(p, 513), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (4333:13): [True: 414, False: 0]
  ------------------
 4334|    414|            &&
 4335|    414|            (_keyword = _PyPegen_expect_token(p, 516))  // token='with'
  ------------------
  |  Branch (4335:13): [True: 88, False: 326]
  ------------------
 4336|     88|            &&
 4337|     88|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (4337:13): [True: 52, False: 36]
  ------------------
 4338|     52|            &&
 4339|     52|            (_gather_152_var = _gather_152_rule(p))  // ','.(expressions ['as' star_target])+
  ------------------
  |  Branch (4339:13): [True: 38, False: 14]
  ------------------
 4340|     38|            &&
 4341|     38|            (_opt_var_1 = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (4341:13): [True: 38, False: 0]
  ------------------
 4342|     38|            &&
 4343|     38|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (4343:13): [True: 18, False: 20]
  ------------------
 4344|     18|            &&
 4345|     18|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     18|#define NEWLINE         4
  ------------------
  |  Branch (4345:13): [True: 3, False: 15]
  ------------------
 4346|    414|        )
 4347|      3|        {
 4348|      3|            D(fprintf(stderr, "%*c+ invalid_with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' NEWLINE"));
 4349|      3|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  242|      3|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 4350|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4350:18): [True: 3, False: 0]
  |  Branch (4350:34): [True: 0, False: 0]
  |  Branch (4350:57): [True: 3, False: 0]
  ------------------
 4351|      3|                p->error_indicator = 1;
 4352|      3|                p->level--;
 4353|      3|                return NULL;
 4354|      3|            }
 4355|      0|            goto done;
 4356|      3|        }
 4357|    411|        p->mark = _mark;
 4358|    411|        D(fprintf(stderr, "%*c%s invalid_with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 4359|    411|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' NEWLINE"));
 4360|    411|    }
 4361|    411|    _res = NULL;
 4362|    411|  done:
 4363|    411|    p->level--;
 4364|    411|    return _res;
 4365|    411|}
_PyPegen_invalid_with_stmt_indent_rule:
 4372|  1.87k|{
 4373|  1.87k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.75k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4373:9): [True: 0, False: 1.87k]
  |  Branch (4373:35): [True: 0, False: 1.87k]
  ------------------
 4374|      0|        _Pypegen_stack_overflow(p);
 4375|      0|    }
 4376|  1.87k|    if (p->error_indicator) {
  ------------------
  |  Branch (4376:9): [True: 0, False: 1.87k]
  ------------------
 4377|      0|        p->level--;
 4378|      0|        return NULL;
 4379|      0|    }
 4380|  1.87k|    void * _res = NULL;
 4381|  1.87k|    int _mark = p->mark;
 4382|  1.87k|    { // 'async'? 'with' ','.(expression ['as' star_target])+ ':' NEWLINE !INDENT
 4383|  1.87k|        if (p->error_indicator) {
  ------------------
  |  Branch (4383:13): [True: 0, False: 1.87k]
  ------------------
 4384|      0|            p->level--;
 4385|      0|            return NULL;
 4386|      0|        }
 4387|  1.87k|        D(fprintf(stderr, "%*c> invalid_with_stmt_indent[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ ':' NEWLINE !INDENT"));
 4388|  1.87k|        asdl_seq * _gather_150_var;
 4389|  1.87k|        Token * _literal;
 4390|  1.87k|        void *_opt_var;
 4391|  1.87k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  1.87k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.87k]
  |  |  ------------------
  ------------------
 4392|  1.87k|        Token * a;
 4393|  1.87k|        Token * newline_var;
 4394|  1.87k|        if (
 4395|  1.87k|            (_opt_var = _PyPegen_expect_token(p, 513), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (4395:13): [True: 1.87k, False: 0]
  ------------------
 4396|  1.87k|            &&
 4397|  1.87k|            (a = _PyPegen_expect_token(p, 516))  // token='with'
  ------------------
  |  Branch (4397:13): [True: 1.55k, False: 326]
  ------------------
 4398|  1.55k|            &&
 4399|  1.55k|            (_gather_150_var = _gather_150_rule(p))  // ','.(expression ['as' star_target])+
  ------------------
  |  Branch (4399:13): [True: 1.47k, False: 75]
  ------------------
 4400|  1.47k|            &&
 4401|  1.47k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4401:13): [True: 1.42k, False: 48]
  ------------------
 4402|  1.42k|            &&
 4403|  1.42k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.42k|#define NEWLINE         4
  ------------------
  |  Branch (4403:13): [True: 177, False: 1.25k]
  ------------------
 4404|    177|            &&
 4405|    177|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    177|#define INDENT          5
  ------------------
  |  Branch (4405:13): [True: 7, False: 170]
  ------------------
 4406|  1.87k|        )
 4407|      7|        {
 4408|      7|            D(fprintf(stderr, "%*c+ invalid_with_stmt_indent[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ ':' NEWLINE !INDENT"));
 4409|      7|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'with' statement on line %d" , a -> lineno );
  ------------------
  |  |  243|      7|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 4410|      7|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4410:18): [True: 7, False: 0]
  |  Branch (4410:34): [True: 0, False: 0]
  |  Branch (4410:57): [True: 7, False: 0]
  ------------------
 4411|      7|                p->error_indicator = 1;
 4412|      7|                p->level--;
 4413|      7|                return NULL;
 4414|      7|            }
 4415|      0|            goto done;
 4416|      7|        }
 4417|  1.87k|        p->mark = _mark;
 4418|  1.87k|        D(fprintf(stderr, "%*c%s invalid_with_stmt_indent[%d-%d]: %s failed!\n", p->level, ' ',
 4419|  1.87k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ ':' NEWLINE !INDENT"));
 4420|  1.87k|    }
 4421|      0|    { // 'async'? 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' ':' NEWLINE !INDENT
 4422|  1.87k|        if (p->error_indicator) {
  ------------------
  |  Branch (4422:13): [True: 11, False: 1.85k]
  ------------------
 4423|     11|            p->level--;
 4424|     11|            return NULL;
 4425|     11|        }
 4426|  1.85k|        D(fprintf(stderr, "%*c> invalid_with_stmt_indent[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' ':' NEWLINE !INDENT"));
 4427|  1.85k|        asdl_seq * _gather_152_var;
 4428|  1.85k|        Token * _literal;
 4429|  1.85k|        Token * _literal_1;
 4430|  1.85k|        Token * _literal_2;
 4431|  1.85k|        void *_opt_var;
 4432|  1.85k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  1.85k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.85k]
  |  |  ------------------
  ------------------
 4433|  1.85k|        void *_opt_var_1;
 4434|  1.85k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  314|  1.85k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.85k]
  |  |  ------------------
  ------------------
 4435|  1.85k|        Token * a;
 4436|  1.85k|        Token * newline_var;
 4437|  1.85k|        if (
 4438|  1.85k|            (_opt_var = _PyPegen_expect_token(p, 513), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (4438:13): [True: 1.85k, False: 0]
  ------------------
 4439|  1.85k|            &&
 4440|  1.85k|            (a = _PyPegen_expect_token(p, 516))  // token='with'
  ------------------
  |  Branch (4440:13): [True: 1.53k, False: 326]
  ------------------
 4441|  1.53k|            &&
 4442|  1.53k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (4442:13): [True: 749, False: 784]
  ------------------
 4443|    749|            &&
 4444|    749|            (_gather_152_var = _gather_152_rule(p))  // ','.(expressions ['as' star_target])+
  ------------------
  |  Branch (4444:13): [True: 623, False: 126]
  ------------------
 4445|    623|            &&
 4446|    623|            (_opt_var_1 = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (4446:13): [True: 616, False: 7]
  ------------------
 4447|    616|            &&
 4448|    616|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (4448:13): [True: 472, False: 144]
  ------------------
 4449|    472|            &&
 4450|    472|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4450:13): [True: 451, False: 21]
  ------------------
 4451|    451|            &&
 4452|    451|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    451|#define NEWLINE         4
  ------------------
  |  Branch (4452:13): [True: 17, False: 434]
  ------------------
 4453|     17|            &&
 4454|     17|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|     17|#define INDENT          5
  ------------------
  |  Branch (4454:13): [True: 3, False: 14]
  ------------------
 4455|  1.85k|        )
 4456|      3|        {
 4457|      3|            D(fprintf(stderr, "%*c+ invalid_with_stmt_indent[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' ':' NEWLINE !INDENT"));
 4458|      3|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'with' statement on line %d" , a -> lineno );
  ------------------
  |  |  243|      3|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 4459|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4459:18): [True: 3, False: 0]
  |  Branch (4459:34): [True: 0, False: 0]
  |  Branch (4459:57): [True: 3, False: 0]
  ------------------
 4460|      3|                p->error_indicator = 1;
 4461|      3|                p->level--;
 4462|      3|                return NULL;
 4463|      3|            }
 4464|      0|            goto done;
 4465|      3|        }
 4466|  1.85k|        p->mark = _mark;
 4467|  1.85k|        D(fprintf(stderr, "%*c%s invalid_with_stmt_indent[%d-%d]: %s failed!\n", p->level, ' ',
 4468|  1.85k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' ':' NEWLINE !INDENT"));
 4469|  1.85k|    }
 4470|  1.85k|    _res = NULL;
 4471|  1.85k|  done:
 4472|  1.85k|    p->level--;
 4473|  1.85k|    return _res;
 4474|  1.85k|}
_PyPegen_invalid_try_stmt_rule:
 4483|  1.08k|{
 4484|  1.08k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.16k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4484:9): [True: 0, False: 1.08k]
  |  Branch (4484:35): [True: 0, False: 1.08k]
  ------------------
 4485|      0|        _Pypegen_stack_overflow(p);
 4486|      0|    }
 4487|  1.08k|    if (p->error_indicator) {
  ------------------
  |  Branch (4487:9): [True: 0, False: 1.08k]
  ------------------
 4488|      0|        p->level--;
 4489|      0|        return NULL;
 4490|      0|    }
 4491|  1.08k|    void * _res = NULL;
 4492|  1.08k|    int _mark = p->mark;
 4493|  1.08k|    { // 'try' ':' NEWLINE !INDENT
 4494|  1.08k|        if (p->error_indicator) {
  ------------------
  |  Branch (4494:13): [True: 0, False: 1.08k]
  ------------------
 4495|      0|            p->level--;
 4496|      0|            return NULL;
 4497|      0|        }
 4498|  1.08k|        D(fprintf(stderr, "%*c> invalid_try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' ':' NEWLINE !INDENT"));
 4499|  1.08k|        Token * _literal;
 4500|  1.08k|        Token * a;
 4501|  1.08k|        Token * newline_var;
 4502|  1.08k|        if (
 4503|  1.08k|            (a = _PyPegen_expect_token(p, 518))  // token='try'
  ------------------
  |  Branch (4503:13): [True: 1.08k, False: 0]
  ------------------
 4504|  1.08k|            &&
 4505|  1.08k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4505:13): [True: 1.08k, False: 0]
  ------------------
 4506|  1.08k|            &&
 4507|  1.08k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.08k|#define NEWLINE         4
  ------------------
  |  Branch (4507:13): [True: 247, False: 833]
  ------------------
 4508|    247|            &&
 4509|    247|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    247|#define INDENT          5
  ------------------
  |  Branch (4509:13): [True: 2, False: 245]
  ------------------
 4510|  1.08k|        )
 4511|      2|        {
 4512|      2|            D(fprintf(stderr, "%*c+ invalid_try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' ':' NEWLINE !INDENT"));
 4513|      2|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'try' statement on line %d" , a -> lineno );
  ------------------
  |  |  243|      2|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 4514|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4514:18): [True: 2, False: 0]
  |  Branch (4514:34): [True: 0, False: 0]
  |  Branch (4514:57): [True: 2, False: 0]
  ------------------
 4515|      2|                p->error_indicator = 1;
 4516|      2|                p->level--;
 4517|      2|                return NULL;
 4518|      2|            }
 4519|      0|            goto done;
 4520|      2|        }
 4521|  1.07k|        p->mark = _mark;
 4522|  1.07k|        D(fprintf(stderr, "%*c%s invalid_try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 4523|  1.07k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' ':' NEWLINE !INDENT"));
 4524|  1.07k|    }
 4525|      0|    { // 'try' ':' block !('except' | 'finally')
 4526|  1.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (4526:13): [True: 1, False: 1.07k]
  ------------------
 4527|      1|            p->level--;
 4528|      1|            return NULL;
 4529|      1|        }
 4530|  1.07k|        D(fprintf(stderr, "%*c> invalid_try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' ':' block !('except' | 'finally')"));
 4531|  1.07k|        Token * _keyword;
 4532|  1.07k|        Token * _literal;
 4533|  1.07k|        asdl_stmt_seq* block_var;
 4534|  1.07k|        if (
 4535|  1.07k|            (_keyword = _PyPegen_expect_token(p, 518))  // token='try'
  ------------------
  |  Branch (4535:13): [True: 1.07k, False: 0]
  ------------------
 4536|  1.07k|            &&
 4537|  1.07k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4537:13): [True: 1.07k, False: 0]
  ------------------
 4538|  1.07k|            &&
 4539|  1.07k|            (block_var = block_rule(p))  // block
  ------------------
  |  |  201|  1.07k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (4539:13): [True: 1.02k, False: 48]
  ------------------
 4540|  1.02k|            &&
 4541|  1.02k|            _PyPegen_lookahead(0, _tmp_153_rule, p)
  ------------------
  |  Branch (4541:13): [True: 18, False: 1.01k]
  ------------------
 4542|  1.07k|        )
 4543|     18|        {
 4544|     18|            D(fprintf(stderr, "%*c+ invalid_try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' ':' block !('except' | 'finally')"));
 4545|     18|            _res = RAISE_SYNTAX_ERROR ( "expected 'except' or 'finally' block" );
  ------------------
  |  |  242|     18|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 4546|     18|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4546:18): [True: 18, False: 0]
  |  Branch (4546:34): [True: 0, False: 0]
  |  Branch (4546:57): [True: 18, False: 0]
  ------------------
 4547|     18|                p->error_indicator = 1;
 4548|     18|                p->level--;
 4549|     18|                return NULL;
 4550|     18|            }
 4551|      0|            goto done;
 4552|     18|        }
 4553|  1.05k|        p->mark = _mark;
 4554|  1.05k|        D(fprintf(stderr, "%*c%s invalid_try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 4555|  1.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' ':' block !('except' | 'finally')"));
 4556|  1.05k|    }
 4557|      0|    { // 'try' ':' block* except_block+ 'except' '*' expression ['as' NAME] ':'
 4558|  1.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (4558:13): [True: 3, False: 1.05k]
  ------------------
 4559|      3|            p->level--;
 4560|      3|            return NULL;
 4561|      3|        }
 4562|  1.05k|        D(fprintf(stderr, "%*c> invalid_try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' ':' block* except_block+ 'except' '*' expression ['as' NAME] ':'"));
 4563|  1.05k|        Token * _keyword;
 4564|  1.05k|        Token * _literal;
 4565|  1.05k|        Token * _literal_1;
 4566|  1.05k|        asdl_seq * _loop0_154_var;
 4567|  1.05k|        asdl_seq * _loop1_155_var;
 4568|  1.05k|        void *_opt_var;
 4569|  1.05k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  1.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.05k]
  |  |  ------------------
  ------------------
 4570|  1.05k|        Token * a;
 4571|  1.05k|        Token * b;
 4572|  1.05k|        expr_ty expression_var;
 4573|  1.05k|        if (
 4574|  1.05k|            (_keyword = _PyPegen_expect_token(p, 518))  // token='try'
  ------------------
  |  Branch (4574:13): [True: 1.05k, False: 0]
  ------------------
 4575|  1.05k|            &&
 4576|  1.05k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4576:13): [True: 1.05k, False: 0]
  ------------------
 4577|  1.05k|            &&
 4578|  1.05k|            (_loop0_154_var = _loop0_154_rule(p))  // block*
  ------------------
  |  Branch (4578:13): [True: 1.05k, False: 0]
  ------------------
 4579|  1.05k|            &&
 4580|  1.05k|            (_loop1_155_var = _loop1_155_rule(p))  // except_block+
  ------------------
  |  Branch (4580:13): [True: 515, False: 541]
  ------------------
 4581|    515|            &&
 4582|    515|            (a = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (4582:13): [True: 21, False: 494]
  ------------------
 4583|     21|            &&
 4584|     21|            (b = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (4584:13): [True: 4, False: 17]
  ------------------
 4585|      4|            &&
 4586|      4|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|      4|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (4586:13): [True: 3, False: 1]
  ------------------
 4587|      3|            &&
 4588|      3|            (_opt_var = _tmp_156_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (4588:13): [True: 2, False: 1]
  ------------------
 4589|      2|            &&
 4590|      2|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4590:13): [True: 1, False: 1]
  ------------------
 4591|  1.05k|        )
 4592|      1|        {
 4593|      1|            D(fprintf(stderr, "%*c+ invalid_try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' ':' block* except_block+ 'except' '*' expression ['as' NAME] ':'"));
 4594|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot have both 'except' and 'except*' on the same 'try'" );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 4595|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4595:18): [True: 1, False: 0]
  |  Branch (4595:34): [True: 0, False: 0]
  |  Branch (4595:57): [True: 1, False: 0]
  ------------------
 4596|      1|                p->error_indicator = 1;
 4597|      1|                p->level--;
 4598|      1|                return NULL;
 4599|      1|            }
 4600|      0|            goto done;
 4601|      1|        }
 4602|  1.05k|        p->mark = _mark;
 4603|  1.05k|        D(fprintf(stderr, "%*c%s invalid_try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 4604|  1.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' ':' block* except_block+ 'except' '*' expression ['as' NAME] ':'"));
 4605|  1.05k|    }
 4606|      0|    { // 'try' ':' block* except_star_block+ 'except' [expression ['as' NAME]] ':'
 4607|  1.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (4607:13): [True: 33, False: 1.02k]
  ------------------
 4608|     33|            p->level--;
 4609|     33|            return NULL;
 4610|     33|        }
 4611|  1.02k|        D(fprintf(stderr, "%*c> invalid_try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' ':' block* except_star_block+ 'except' [expression ['as' NAME]] ':'"));
 4612|  1.02k|        Token * _keyword;
 4613|  1.02k|        Token * _literal;
 4614|  1.02k|        Token * _literal_1;
 4615|  1.02k|        asdl_seq * _loop0_154_var;
 4616|  1.02k|        asdl_seq * _loop1_157_var;
 4617|  1.02k|        void *_opt_var;
 4618|  1.02k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  1.02k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.02k]
  |  |  ------------------
  ------------------
 4619|  1.02k|        Token * a;
 4620|  1.02k|        if (
 4621|  1.02k|            (_keyword = _PyPegen_expect_token(p, 518))  // token='try'
  ------------------
  |  Branch (4621:13): [True: 1.02k, False: 0]
  ------------------
 4622|  1.02k|            &&
 4623|  1.02k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4623:13): [True: 1.02k, False: 0]
  ------------------
 4624|  1.02k|            &&
 4625|  1.02k|            (_loop0_154_var = _loop0_154_rule(p))  // block*
  ------------------
  |  Branch (4625:13): [True: 1.02k, False: 0]
  ------------------
 4626|  1.02k|            &&
 4627|  1.02k|            (_loop1_157_var = _loop1_157_rule(p))  // except_star_block+
  ------------------
  |  Branch (4627:13): [True: 203, False: 819]
  ------------------
 4628|    203|            &&
 4629|    203|            (a = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (4629:13): [True: 16, False: 187]
  ------------------
 4630|     16|            &&
 4631|     16|            (_opt_var = _tmp_158_rule(p), !p->error_indicator)  // [expression ['as' NAME]]
  ------------------
  |  Branch (4631:13): [True: 14, False: 2]
  ------------------
 4632|     14|            &&
 4633|     14|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4633:13): [True: 1, False: 13]
  ------------------
 4634|  1.02k|        )
 4635|      1|        {
 4636|      1|            D(fprintf(stderr, "%*c+ invalid_try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' ':' block* except_star_block+ 'except' [expression ['as' NAME]] ':'"));
 4637|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot have both 'except' and 'except*' on the same 'try'" );
  ------------------
  |  |  248|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 4638|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4638:18): [True: 1, False: 0]
  |  Branch (4638:34): [True: 0, False: 0]
  |  Branch (4638:57): [True: 1, False: 0]
  ------------------
 4639|      1|                p->error_indicator = 1;
 4640|      1|                p->level--;
 4641|      1|                return NULL;
 4642|      1|            }
 4643|      0|            goto done;
 4644|      1|        }
 4645|  1.02k|        p->mark = _mark;
 4646|  1.02k|        D(fprintf(stderr, "%*c%s invalid_try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 4647|  1.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' ':' block* except_star_block+ 'except' [expression ['as' NAME]] ':'"));
 4648|  1.02k|    }
 4649|  1.02k|    _res = NULL;
 4650|  1.02k|  done:
 4651|  1.02k|    p->level--;
 4652|  1.02k|    return _res;
 4653|  1.02k|}
_PyPegen_invalid_except_stmt_rule:
 4662|  1.80k|{
 4663|  1.80k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.61k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4663:9): [True: 0, False: 1.80k]
  |  Branch (4663:35): [True: 0, False: 1.80k]
  ------------------
 4664|      0|        _Pypegen_stack_overflow(p);
 4665|      0|    }
 4666|  1.80k|    if (p->error_indicator) {
  ------------------
  |  Branch (4666:9): [True: 0, False: 1.80k]
  ------------------
 4667|      0|        p->level--;
 4668|      0|        return NULL;
 4669|      0|    }
 4670|  1.80k|    void * _res = NULL;
 4671|  1.80k|    int _mark = p->mark;
 4672|  1.80k|    { // 'except' expression ',' expressions 'as' NAME ':'
 4673|  1.80k|        if (p->error_indicator) {
  ------------------
  |  Branch (4673:13): [True: 0, False: 1.80k]
  ------------------
 4674|      0|            p->level--;
 4675|      0|            return NULL;
 4676|      0|        }
 4677|  1.80k|        D(fprintf(stderr, "%*c> invalid_except_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expression ',' expressions 'as' NAME ':'"));
 4678|  1.80k|        Token * _keyword;
 4679|  1.80k|        Token * _keyword_1;
 4680|  1.80k|        Token * _literal;
 4681|  1.80k|        Token * _literal_1;
 4682|  1.80k|        expr_ty a;
 4683|  1.80k|        expr_ty expressions_var;
 4684|  1.80k|        expr_ty name_var;
 4685|  1.80k|        if (
 4686|  1.80k|            (_keyword = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (4686:13): [True: 537, False: 1.26k]
  ------------------
 4687|    537|            &&
 4688|    537|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|    537|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (4688:13): [True: 52, False: 485]
  ------------------
 4689|     52|            &&
 4690|     52|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (4690:13): [True: 11, False: 41]
  ------------------
 4691|     11|            &&
 4692|     11|            (expressions_var = expressions_rule(p))  // expressions
  ------------------
  |  |  241|     11|#define expressions_rule _PyPegen_expressions_rule
  ------------------
  |  Branch (4692:13): [True: 4, False: 7]
  ------------------
 4693|      4|            &&
 4694|      4|            (_keyword_1 = _PyPegen_expect_token(p, 520))  // token='as'
  ------------------
  |  Branch (4694:13): [True: 2, False: 2]
  ------------------
 4695|      2|            &&
 4696|      2|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4696:13): [True: 2, False: 0]
  ------------------
 4697|      2|            &&
 4698|      2|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4698:13): [True: 1, False: 1]
  ------------------
 4699|  1.80k|        )
 4700|      1|        {
 4701|      1|            D(fprintf(stderr, "%*c+ invalid_except_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expression ',' expressions 'as' NAME ':'"));
 4702|      1|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( a , "multiple exception types must be parenthesized when using 'as'" );
  ------------------
  |  |  250|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
 4703|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4703:18): [True: 1, False: 0]
  |  Branch (4703:34): [True: 0, False: 0]
  |  Branch (4703:57): [True: 1, False: 0]
  ------------------
 4704|      1|                p->error_indicator = 1;
 4705|      1|                p->level--;
 4706|      1|                return NULL;
 4707|      1|            }
 4708|      0|            goto done;
 4709|      1|        }
 4710|  1.80k|        p->mark = _mark;
 4711|  1.80k|        D(fprintf(stderr, "%*c%s invalid_except_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 4712|  1.80k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expression ',' expressions 'as' NAME ':'"));
 4713|  1.80k|    }
 4714|      0|    { // 'except' expression ['as' NAME] NEWLINE
 4715|  1.80k|        if (p->error_indicator) {
  ------------------
  |  Branch (4715:13): [True: 1, False: 1.80k]
  ------------------
 4716|      1|            p->level--;
 4717|      1|            return NULL;
 4718|      1|        }
 4719|  1.80k|        D(fprintf(stderr, "%*c> invalid_except_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expression ['as' NAME] NEWLINE"));
 4720|  1.80k|        void *_opt_var;
 4721|  1.80k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  1.80k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.80k]
  |  |  ------------------
  ------------------
 4722|  1.80k|        Token * a;
 4723|  1.80k|        expr_ty expression_var;
 4724|  1.80k|        Token * newline_var;
 4725|  1.80k|        if (
 4726|  1.80k|            (a = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (4726:13): [True: 535, False: 1.26k]
  ------------------
 4727|    535|            &&
 4728|    535|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|    535|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (4728:13): [True: 50, False: 485]
  ------------------
 4729|     50|            &&
 4730|     50|            (_opt_var = _tmp_156_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (4730:13): [True: 50, False: 0]
  ------------------
 4731|     50|            &&
 4732|     50|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     50|#define NEWLINE         4
  ------------------
  |  Branch (4732:13): [True: 5, False: 45]
  ------------------
 4733|  1.80k|        )
 4734|      5|        {
 4735|      5|            D(fprintf(stderr, "%*c+ invalid_except_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expression ['as' NAME] NEWLINE"));
 4736|      5|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  242|      5|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 4737|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4737:18): [True: 5, False: 0]
  |  Branch (4737:34): [True: 0, False: 0]
  |  Branch (4737:57): [True: 5, False: 0]
  ------------------
 4738|      5|                p->error_indicator = 1;
 4739|      5|                p->level--;
 4740|      5|                return NULL;
 4741|      5|            }
 4742|      0|            goto done;
 4743|      5|        }
 4744|  1.79k|        p->mark = _mark;
 4745|  1.79k|        D(fprintf(stderr, "%*c%s invalid_except_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 4746|  1.79k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expression ['as' NAME] NEWLINE"));
 4747|  1.79k|    }
 4748|      0|    { // 'except' NEWLINE
 4749|  1.79k|        if (p->error_indicator) {
  ------------------
  |  Branch (4749:13): [True: 0, False: 1.79k]
  ------------------
 4750|      0|            p->level--;
 4751|      0|            return NULL;
 4752|      0|        }
 4753|  1.79k|        D(fprintf(stderr, "%*c> invalid_except_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' NEWLINE"));
 4754|  1.79k|        Token * a;
 4755|  1.79k|        Token * newline_var;
 4756|  1.79k|        if (
 4757|  1.79k|            (a = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (4757:13): [True: 530, False: 1.26k]
  ------------------
 4758|    530|            &&
 4759|    530|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    530|#define NEWLINE         4
  ------------------
  |  Branch (4759:13): [True: 8, False: 522]
  ------------------
 4760|  1.79k|        )
 4761|      8|        {
 4762|      8|            D(fprintf(stderr, "%*c+ invalid_except_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' NEWLINE"));
 4763|      8|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  242|      8|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 4764|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4764:18): [True: 8, False: 0]
  |  Branch (4764:34): [True: 0, False: 0]
  |  Branch (4764:57): [True: 8, False: 0]
  ------------------
 4765|      8|                p->error_indicator = 1;
 4766|      8|                p->level--;
 4767|      8|                return NULL;
 4768|      8|            }
 4769|      0|            goto done;
 4770|      8|        }
 4771|  1.79k|        p->mark = _mark;
 4772|  1.79k|        D(fprintf(stderr, "%*c%s invalid_except_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 4773|  1.79k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' NEWLINE"));
 4774|  1.79k|    }
 4775|      0|    { // 'except' expression 'as' expression ':' block
 4776|  1.79k|        if (p->error_indicator) {
  ------------------
  |  Branch (4776:13): [True: 0, False: 1.79k]
  ------------------
 4777|      0|            p->level--;
 4778|      0|            return NULL;
 4779|      0|        }
 4780|  1.79k|        D(fprintf(stderr, "%*c> invalid_except_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expression 'as' expression ':' block"));
 4781|  1.79k|        Token * _keyword;
 4782|  1.79k|        Token * _keyword_1;
 4783|  1.79k|        Token * _literal;
 4784|  1.79k|        expr_ty a;
 4785|  1.79k|        asdl_stmt_seq* block_var;
 4786|  1.79k|        expr_ty expression_var;
 4787|  1.79k|        if (
 4788|  1.79k|            (_keyword = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (4788:13): [True: 522, False: 1.26k]
  ------------------
 4789|    522|            &&
 4790|    522|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|    522|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (4790:13): [True: 45, False: 477]
  ------------------
 4791|     45|            &&
 4792|     45|            (_keyword_1 = _PyPegen_expect_token(p, 520))  // token='as'
  ------------------
  |  Branch (4792:13): [True: 15, False: 30]
  ------------------
 4793|     15|            &&
 4794|     15|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|     15|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (4794:13): [True: 9, False: 6]
  ------------------
 4795|      9|            &&
 4796|      9|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4796:13): [True: 6, False: 3]
  ------------------
 4797|      6|            &&
 4798|      6|            (block_var = block_rule(p))  // block
  ------------------
  |  |  201|      6|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (4798:13): [True: 1, False: 5]
  ------------------
 4799|  1.79k|        )
 4800|      1|        {
 4801|      1|            D(fprintf(stderr, "%*c+ invalid_except_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expression 'as' expression ':' block"));
 4802|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use except statement with %s" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  248|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 4803|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4803:18): [True: 1, False: 0]
  |  Branch (4803:34): [True: 0, False: 0]
  |  Branch (4803:57): [True: 1, False: 0]
  ------------------
 4804|      1|                p->error_indicator = 1;
 4805|      1|                p->level--;
 4806|      1|                return NULL;
 4807|      1|            }
 4808|      0|            goto done;
 4809|      1|        }
 4810|  1.79k|        p->mark = _mark;
 4811|  1.79k|        D(fprintf(stderr, "%*c%s invalid_except_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 4812|  1.79k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expression 'as' expression ':' block"));
 4813|  1.79k|    }
 4814|  1.79k|    _res = NULL;
 4815|  1.79k|  done:
 4816|  1.79k|    p->level--;
 4817|  1.79k|    return _res;
 4818|  1.79k|}
_PyPegen_invalid_except_star_stmt_rule:
 4827|  1.26k|{
 4828|  1.26k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.53k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4828:9): [True: 0, False: 1.26k]
  |  Branch (4828:35): [True: 0, False: 1.26k]
  ------------------
 4829|      0|        _Pypegen_stack_overflow(p);
 4830|      0|    }
 4831|  1.26k|    if (p->error_indicator) {
  ------------------
  |  Branch (4831:9): [True: 0, False: 1.26k]
  ------------------
 4832|      0|        p->level--;
 4833|      0|        return NULL;
 4834|      0|    }
 4835|  1.26k|    void * _res = NULL;
 4836|  1.26k|    int _mark = p->mark;
 4837|  1.26k|    { // 'except' '*' expression ',' expressions 'as' NAME ':'
 4838|  1.26k|        if (p->error_indicator) {
  ------------------
  |  Branch (4838:13): [True: 0, False: 1.26k]
  ------------------
 4839|      0|            p->level--;
 4840|      0|            return NULL;
 4841|      0|        }
 4842|  1.26k|        D(fprintf(stderr, "%*c> invalid_except_star_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' '*' expression ',' expressions 'as' NAME ':'"));
 4843|  1.26k|        Token * _keyword;
 4844|  1.26k|        Token * _keyword_1;
 4845|  1.26k|        Token * _literal;
 4846|  1.26k|        Token * _literal_1;
 4847|  1.26k|        Token * _literal_2;
 4848|  1.26k|        expr_ty a;
 4849|  1.26k|        expr_ty expressions_var;
 4850|  1.26k|        expr_ty name_var;
 4851|  1.26k|        if (
 4852|  1.26k|            (_keyword = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (4852:13): [True: 613, False: 654]
  ------------------
 4853|    613|            &&
 4854|    613|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (4854:13): [True: 72, False: 541]
  ------------------
 4855|     72|            &&
 4856|     72|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|     72|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (4856:13): [True: 65, False: 7]
  ------------------
 4857|     65|            &&
 4858|     65|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (4858:13): [True: 18, False: 47]
  ------------------
 4859|     18|            &&
 4860|     18|            (expressions_var = expressions_rule(p))  // expressions
  ------------------
  |  |  241|     18|#define expressions_rule _PyPegen_expressions_rule
  ------------------
  |  Branch (4860:13): [True: 15, False: 3]
  ------------------
 4861|     15|            &&
 4862|     15|            (_keyword_1 = _PyPegen_expect_token(p, 520))  // token='as'
  ------------------
  |  Branch (4862:13): [True: 6, False: 9]
  ------------------
 4863|      6|            &&
 4864|      6|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4864:13): [True: 3, False: 3]
  ------------------
 4865|      3|            &&
 4866|      3|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4866:13): [True: 0, False: 3]
  ------------------
 4867|  1.26k|        )
 4868|      0|        {
 4869|      0|            D(fprintf(stderr, "%*c+ invalid_except_star_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' '*' expression ',' expressions 'as' NAME ':'"));
 4870|      0|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( a , "multiple exception types must be parenthesized when using 'as'" );
  ------------------
  |  |  250|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      0|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      0|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
 4871|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4871:18): [True: 0, False: 0]
  |  Branch (4871:34): [True: 0, False: 0]
  |  Branch (4871:57): [True: 0, False: 0]
  ------------------
 4872|      0|                p->error_indicator = 1;
 4873|      0|                p->level--;
 4874|      0|                return NULL;
 4875|      0|            }
 4876|      0|            goto done;
 4877|      0|        }
 4878|  1.26k|        p->mark = _mark;
 4879|  1.26k|        D(fprintf(stderr, "%*c%s invalid_except_star_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 4880|  1.26k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' '*' expression ',' expressions 'as' NAME ':'"));
 4881|  1.26k|    }
 4882|      0|    { // 'except' '*' expression ['as' NAME] NEWLINE
 4883|  1.26k|        if (p->error_indicator) {
  ------------------
  |  Branch (4883:13): [True: 1, False: 1.26k]
  ------------------
 4884|      1|            p->level--;
 4885|      1|            return NULL;
 4886|      1|        }
 4887|  1.26k|        D(fprintf(stderr, "%*c> invalid_except_star_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' '*' expression ['as' NAME] NEWLINE"));
 4888|  1.26k|        Token * _literal;
 4889|  1.26k|        void *_opt_var;
 4890|  1.26k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  1.26k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.26k]
  |  |  ------------------
  ------------------
 4891|  1.26k|        Token * a;
 4892|  1.26k|        expr_ty expression_var;
 4893|  1.26k|        Token * newline_var;
 4894|  1.26k|        if (
 4895|  1.26k|            (a = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (4895:13): [True: 612, False: 654]
  ------------------
 4896|    612|            &&
 4897|    612|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (4897:13): [True: 71, False: 541]
  ------------------
 4898|     71|            &&
 4899|     71|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|     71|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (4899:13): [True: 64, False: 7]
  ------------------
 4900|     64|            &&
 4901|     64|            (_opt_var = _tmp_156_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (4901:13): [True: 64, False: 0]
  ------------------
 4902|     64|            &&
 4903|     64|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     64|#define NEWLINE         4
  ------------------
  |  Branch (4903:13): [True: 7, False: 57]
  ------------------
 4904|  1.26k|        )
 4905|      7|        {
 4906|      7|            D(fprintf(stderr, "%*c+ invalid_except_star_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' '*' expression ['as' NAME] NEWLINE"));
 4907|      7|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  242|      7|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 4908|      7|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4908:18): [True: 7, False: 0]
  |  Branch (4908:34): [True: 0, False: 0]
  |  Branch (4908:57): [True: 7, False: 0]
  ------------------
 4909|      7|                p->error_indicator = 1;
 4910|      7|                p->level--;
 4911|      7|                return NULL;
 4912|      7|            }
 4913|      0|            goto done;
 4914|      7|        }
 4915|  1.25k|        p->mark = _mark;
 4916|  1.25k|        D(fprintf(stderr, "%*c%s invalid_except_star_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 4917|  1.25k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' '*' expression ['as' NAME] NEWLINE"));
 4918|  1.25k|    }
 4919|      0|    { // 'except' '*' (NEWLINE | ':')
 4920|  1.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (4920:13): [True: 0, False: 1.25k]
  ------------------
 4921|      0|            p->level--;
 4922|      0|            return NULL;
 4923|      0|        }
 4924|  1.25k|        D(fprintf(stderr, "%*c> invalid_except_star_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' '*' (NEWLINE | ':')"));
 4925|  1.25k|        Token * _literal;
 4926|  1.25k|        void *_tmp_159_var;
 4927|  1.25k|        Token * a;
 4928|  1.25k|        if (
 4929|  1.25k|            (a = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (4929:13): [True: 605, False: 654]
  ------------------
 4930|    605|            &&
 4931|    605|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (4931:13): [True: 64, False: 541]
  ------------------
 4932|     64|            &&
 4933|     64|            (_tmp_159_var = _tmp_159_rule(p))  // NEWLINE | ':'
  ------------------
  |  Branch (4933:13): [True: 2, False: 62]
  ------------------
 4934|  1.25k|        )
 4935|      2|        {
 4936|      2|            D(fprintf(stderr, "%*c+ invalid_except_star_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' '*' (NEWLINE | ':')"));
 4937|      2|            _res = RAISE_SYNTAX_ERROR ( "expected one or more exception types" );
  ------------------
  |  |  242|      2|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 4938|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4938:18): [True: 2, False: 0]
  |  Branch (4938:34): [True: 0, False: 0]
  |  Branch (4938:57): [True: 2, False: 0]
  ------------------
 4939|      2|                p->error_indicator = 1;
 4940|      2|                p->level--;
 4941|      2|                return NULL;
 4942|      2|            }
 4943|      0|            goto done;
 4944|      2|        }
 4945|  1.25k|        p->mark = _mark;
 4946|  1.25k|        D(fprintf(stderr, "%*c%s invalid_except_star_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 4947|  1.25k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' '*' (NEWLINE | ':')"));
 4948|  1.25k|    }
 4949|      0|    { // 'except' '*' expression 'as' expression ':' block
 4950|  1.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (4950:13): [True: 0, False: 1.25k]
  ------------------
 4951|      0|            p->level--;
 4952|      0|            return NULL;
 4953|      0|        }
 4954|  1.25k|        D(fprintf(stderr, "%*c> invalid_except_star_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' '*' expression 'as' expression ':' block"));
 4955|  1.25k|        Token * _keyword;
 4956|  1.25k|        Token * _keyword_1;
 4957|  1.25k|        Token * _literal;
 4958|  1.25k|        Token * _literal_1;
 4959|  1.25k|        expr_ty a;
 4960|  1.25k|        asdl_stmt_seq* block_var;
 4961|  1.25k|        expr_ty expression_var;
 4962|  1.25k|        if (
 4963|  1.25k|            (_keyword = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (4963:13): [True: 603, False: 654]
  ------------------
 4964|    603|            &&
 4965|    603|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (4965:13): [True: 62, False: 541]
  ------------------
 4966|     62|            &&
 4967|     62|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|     62|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (4967:13): [True: 57, False: 5]
  ------------------
 4968|     57|            &&
 4969|     57|            (_keyword_1 = _PyPegen_expect_token(p, 520))  // token='as'
  ------------------
  |  Branch (4969:13): [True: 18, False: 39]
  ------------------
 4970|     18|            &&
 4971|     18|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|     18|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (4971:13): [True: 13, False: 5]
  ------------------
 4972|     13|            &&
 4973|     13|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4973:13): [True: 6, False: 7]
  ------------------
 4974|      6|            &&
 4975|      6|            (block_var = block_rule(p))  // block
  ------------------
  |  |  201|      6|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (4975:13): [True: 2, False: 4]
  ------------------
 4976|  1.25k|        )
 4977|      2|        {
 4978|      2|            D(fprintf(stderr, "%*c+ invalid_except_star_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' '*' expression 'as' expression ':' block"));
 4979|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use except* statement with %s" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  248|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 4980|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4980:18): [True: 2, False: 0]
  |  Branch (4980:34): [True: 0, False: 0]
  |  Branch (4980:57): [True: 2, False: 0]
  ------------------
 4981|      2|                p->error_indicator = 1;
 4982|      2|                p->level--;
 4983|      2|                return NULL;
 4984|      2|            }
 4985|      0|            goto done;
 4986|      2|        }
 4987|  1.25k|        p->mark = _mark;
 4988|  1.25k|        D(fprintf(stderr, "%*c%s invalid_except_star_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 4989|  1.25k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' '*' expression 'as' expression ':' block"));
 4990|  1.25k|    }
 4991|  1.25k|    _res = NULL;
 4992|  1.25k|  done:
 4993|  1.25k|    p->level--;
 4994|  1.25k|    return _res;
 4995|  1.25k|}
_PyPegen_invalid_finally_stmt_rule:
 5000|  1.67k|{
 5001|  1.67k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.35k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5001:9): [True: 0, False: 1.67k]
  |  Branch (5001:35): [True: 0, False: 1.67k]
  ------------------
 5002|      0|        _Pypegen_stack_overflow(p);
 5003|      0|    }
 5004|  1.67k|    if (p->error_indicator) {
  ------------------
  |  Branch (5004:9): [True: 0, False: 1.67k]
  ------------------
 5005|      0|        p->level--;
 5006|      0|        return NULL;
 5007|      0|    }
 5008|  1.67k|    void * _res = NULL;
 5009|  1.67k|    int _mark = p->mark;
 5010|  1.67k|    { // 'finally' ':' NEWLINE !INDENT
 5011|  1.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (5011:13): [True: 0, False: 1.67k]
  ------------------
 5012|      0|            p->level--;
 5013|      0|            return NULL;
 5014|      0|        }
 5015|  1.67k|        D(fprintf(stderr, "%*c> invalid_finally_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'finally' ':' NEWLINE !INDENT"));
 5016|  1.67k|        Token * _literal;
 5017|  1.67k|        Token * a;
 5018|  1.67k|        Token * newline_var;
 5019|  1.67k|        if (
 5020|  1.67k|            (a = _PyPegen_expect_token(p, 525))  // token='finally'
  ------------------
  |  Branch (5020:13): [True: 240, False: 1.43k]
  ------------------
 5021|    240|            &&
 5022|    240|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5022:13): [True: 240, False: 0]
  ------------------
 5023|    240|            &&
 5024|    240|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    240|#define NEWLINE         4
  ------------------
  |  Branch (5024:13): [True: 177, False: 63]
  ------------------
 5025|    177|            &&
 5026|    177|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    177|#define INDENT          5
  ------------------
  |  Branch (5026:13): [True: 0, False: 177]
  ------------------
 5027|  1.67k|        )
 5028|      0|        {
 5029|      0|            D(fprintf(stderr, "%*c+ invalid_finally_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'finally' ':' NEWLINE !INDENT"));
 5030|      0|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'finally' statement on line %d" , a -> lineno );
  ------------------
  |  |  243|      0|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 5031|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5031:18): [True: 0, False: 0]
  |  Branch (5031:34): [True: 0, False: 0]
  |  Branch (5031:57): [True: 0, False: 0]
  ------------------
 5032|      0|                p->error_indicator = 1;
 5033|      0|                p->level--;
 5034|      0|                return NULL;
 5035|      0|            }
 5036|      0|            goto done;
 5037|      0|        }
 5038|  1.67k|        p->mark = _mark;
 5039|  1.67k|        D(fprintf(stderr, "%*c%s invalid_finally_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 5040|  1.67k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'finally' ':' NEWLINE !INDENT"));
 5041|  1.67k|    }
 5042|  1.67k|    _res = NULL;
 5043|  1.67k|  done:
 5044|  1.67k|    p->level--;
 5045|  1.67k|    return _res;
 5046|  1.67k|}
_PyPegen_invalid_except_stmt_indent_rule:
 5053|  4.48k|{
 5054|  4.48k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.96k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5054:9): [True: 0, False: 4.48k]
  |  Branch (5054:35): [True: 0, False: 4.48k]
  ------------------
 5055|      0|        _Pypegen_stack_overflow(p);
 5056|      0|    }
 5057|  4.48k|    if (p->error_indicator) {
  ------------------
  |  Branch (5057:9): [True: 0, False: 4.48k]
  ------------------
 5058|      0|        p->level--;
 5059|      0|        return NULL;
 5060|      0|    }
 5061|  4.48k|    void * _res = NULL;
 5062|  4.48k|    int _mark = p->mark;
 5063|  4.48k|    { // 'except' expression ['as' NAME] ':' NEWLINE !INDENT
 5064|  4.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (5064:13): [True: 0, False: 4.48k]
  ------------------
 5065|      0|            p->level--;
 5066|      0|            return NULL;
 5067|      0|        }
 5068|  4.48k|        D(fprintf(stderr, "%*c> invalid_except_stmt_indent[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expression ['as' NAME] ':' NEWLINE !INDENT"));
 5069|  4.48k|        Token * _literal;
 5070|  4.48k|        void *_opt_var;
 5071|  4.48k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  4.48k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.48k]
  |  |  ------------------
  ------------------
 5072|  4.48k|        Token * a;
 5073|  4.48k|        expr_ty expression_var;
 5074|  4.48k|        Token * newline_var;
 5075|  4.48k|        if (
 5076|  4.48k|            (a = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (5076:13): [True: 3.21k, False: 1.26k]
  ------------------
 5077|  3.21k|            &&
 5078|  3.21k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|  3.21k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (5078:13): [True: 1.81k, False: 1.40k]
  ------------------
 5079|  1.81k|            &&
 5080|  1.81k|            (_opt_var = _tmp_156_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (5080:13): [True: 1.81k, False: 0]
  ------------------
 5081|  1.81k|            &&
 5082|  1.81k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5082:13): [True: 1.67k, False: 134]
  ------------------
 5083|  1.67k|            &&
 5084|  1.67k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.67k|#define NEWLINE         4
  ------------------
  |  Branch (5084:13): [True: 592, False: 1.08k]
  ------------------
 5085|    592|            &&
 5086|    592|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    592|#define INDENT          5
  ------------------
  |  Branch (5086:13): [True: 1, False: 591]
  ------------------
 5087|  4.48k|        )
 5088|      1|        {
 5089|      1|            D(fprintf(stderr, "%*c+ invalid_except_stmt_indent[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expression ['as' NAME] ':' NEWLINE !INDENT"));
 5090|      1|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'except' statement on line %d" , a -> lineno );
  ------------------
  |  |  243|      1|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 5091|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5091:18): [True: 1, False: 0]
  |  Branch (5091:34): [True: 0, False: 0]
  |  Branch (5091:57): [True: 1, False: 0]
  ------------------
 5092|      1|                p->error_indicator = 1;
 5093|      1|                p->level--;
 5094|      1|                return NULL;
 5095|      1|            }
 5096|      0|            goto done;
 5097|      1|        }
 5098|  4.48k|        p->mark = _mark;
 5099|  4.48k|        D(fprintf(stderr, "%*c%s invalid_except_stmt_indent[%d-%d]: %s failed!\n", p->level, ' ',
 5100|  4.48k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expression ['as' NAME] ':' NEWLINE !INDENT"));
 5101|  4.48k|    }
 5102|      0|    { // 'except' ':' NEWLINE !INDENT
 5103|  4.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (5103:13): [True: 1, False: 4.48k]
  ------------------
 5104|      1|            p->level--;
 5105|      1|            return NULL;
 5106|      1|        }
 5107|  4.48k|        D(fprintf(stderr, "%*c> invalid_except_stmt_indent[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' ':' NEWLINE !INDENT"));
 5108|  4.48k|        Token * _literal;
 5109|  4.48k|        Token * a;
 5110|  4.48k|        Token * newline_var;
 5111|  4.48k|        if (
 5112|  4.48k|            (a = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (5112:13): [True: 3.21k, False: 1.26k]
  ------------------
 5113|  3.21k|            &&
 5114|  3.21k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5114:13): [True: 925, False: 2.28k]
  ------------------
 5115|    925|            &&
 5116|    925|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    925|#define NEWLINE         4
  ------------------
  |  Branch (5116:13): [True: 469, False: 456]
  ------------------
 5117|    469|            &&
 5118|    469|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    469|#define INDENT          5
  ------------------
  |  Branch (5118:13): [True: 2, False: 467]
  ------------------
 5119|  4.48k|        )
 5120|      2|        {
 5121|      2|            D(fprintf(stderr, "%*c+ invalid_except_stmt_indent[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' ':' NEWLINE !INDENT"));
 5122|      2|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'except' statement on line %d" , a -> lineno );
  ------------------
  |  |  243|      2|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 5123|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5123:18): [True: 2, False: 0]
  |  Branch (5123:34): [True: 0, False: 0]
  |  Branch (5123:57): [True: 2, False: 0]
  ------------------
 5124|      2|                p->error_indicator = 1;
 5125|      2|                p->level--;
 5126|      2|                return NULL;
 5127|      2|            }
 5128|      0|            goto done;
 5129|      2|        }
 5130|  4.47k|        p->mark = _mark;
 5131|  4.47k|        D(fprintf(stderr, "%*c%s invalid_except_stmt_indent[%d-%d]: %s failed!\n", p->level, ' ',
 5132|  4.47k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' ':' NEWLINE !INDENT"));
 5133|  4.47k|    }
 5134|  4.47k|    _res = NULL;
 5135|  4.47k|  done:
 5136|  4.47k|    p->level--;
 5137|  4.47k|    return _res;
 5138|  4.47k|}
_PyPegen_invalid_except_star_stmt_indent_rule:
 5144|  2.64k|{
 5145|  2.64k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  5.29k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5145:9): [True: 0, False: 2.64k]
  |  Branch (5145:35): [True: 0, False: 2.64k]
  ------------------
 5146|      0|        _Pypegen_stack_overflow(p);
 5147|      0|    }
 5148|  2.64k|    if (p->error_indicator) {
  ------------------
  |  Branch (5148:9): [True: 0, False: 2.64k]
  ------------------
 5149|      0|        p->level--;
 5150|      0|        return NULL;
 5151|      0|    }
 5152|  2.64k|    void * _res = NULL;
 5153|  2.64k|    int _mark = p->mark;
 5154|  2.64k|    { // 'except' '*' expression ['as' NAME] ':' NEWLINE !INDENT
 5155|  2.64k|        if (p->error_indicator) {
  ------------------
  |  Branch (5155:13): [True: 0, False: 2.64k]
  ------------------
 5156|      0|            p->level--;
 5157|      0|            return NULL;
 5158|      0|        }
 5159|  2.64k|        D(fprintf(stderr, "%*c> invalid_except_star_stmt_indent[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' '*' expression ['as' NAME] ':' NEWLINE !INDENT"));
 5160|  2.64k|        Token * _literal;
 5161|  2.64k|        Token * _literal_1;
 5162|  2.64k|        void *_opt_var;
 5163|  2.64k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  2.64k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.64k]
  |  |  ------------------
  ------------------
 5164|  2.64k|        Token * a;
 5165|  2.64k|        expr_ty expression_var;
 5166|  2.64k|        Token * newline_var;
 5167|  2.64k|        if (
 5168|  2.64k|            (a = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (5168:13): [True: 1.99k, False: 654]
  ------------------
 5169|  1.99k|            &&
 5170|  1.99k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (5170:13): [True: 1.45k, False: 541]
  ------------------
 5171|  1.45k|            &&
 5172|  1.45k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|  1.45k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (5172:13): [True: 1.44k, False: 7]
  ------------------
 5173|  1.44k|            &&
 5174|  1.44k|            (_opt_var = _tmp_156_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (5174:13): [True: 1.44k, False: 1]
  ------------------
 5175|  1.44k|            &&
 5176|  1.44k|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5176:13): [True: 1.30k, False: 142]
  ------------------
 5177|  1.30k|            &&
 5178|  1.30k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.30k|#define NEWLINE         4
  ------------------
  |  Branch (5178:13): [True: 492, False: 810]
  ------------------
 5179|    492|            &&
 5180|    492|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    492|#define INDENT          5
  ------------------
  |  Branch (5180:13): [True: 2, False: 490]
  ------------------
 5181|  2.64k|        )
 5182|      2|        {
 5183|      2|            D(fprintf(stderr, "%*c+ invalid_except_star_stmt_indent[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' '*' expression ['as' NAME] ':' NEWLINE !INDENT"));
 5184|      2|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'except*' statement on line %d" , a -> lineno );
  ------------------
  |  |  243|      2|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 5185|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5185:18): [True: 2, False: 0]
  |  Branch (5185:34): [True: 0, False: 0]
  |  Branch (5185:57): [True: 2, False: 0]
  ------------------
 5186|      2|                p->error_indicator = 1;
 5187|      2|                p->level--;
 5188|      2|                return NULL;
 5189|      2|            }
 5190|      0|            goto done;
 5191|      2|        }
 5192|  2.64k|        p->mark = _mark;
 5193|  2.64k|        D(fprintf(stderr, "%*c%s invalid_except_star_stmt_indent[%d-%d]: %s failed!\n", p->level, ' ',
 5194|  2.64k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' '*' expression ['as' NAME] ':' NEWLINE !INDENT"));
 5195|  2.64k|    }
 5196|  2.64k|    _res = NULL;
 5197|  2.64k|  done:
 5198|  2.64k|    p->level--;
 5199|  2.64k|    return _res;
 5200|  2.64k|}
_PyPegen_invalid_match_stmt_rule:
 5208|  24.5k|{
 5209|  24.5k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  49.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5209:9): [True: 0, False: 24.5k]
  |  Branch (5209:35): [True: 0, False: 24.5k]
  ------------------
 5210|      0|        _Pypegen_stack_overflow(p);
 5211|      0|    }
 5212|  24.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (5212:9): [True: 0, False: 24.5k]
  ------------------
 5213|      0|        p->level--;
 5214|      0|        return NULL;
 5215|      0|    }
 5216|  24.5k|    void * _res = NULL;
 5217|  24.5k|    int _mark = p->mark;
 5218|  24.5k|    { // "match" subject_expr NEWLINE
 5219|  24.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (5219:13): [True: 0, False: 24.5k]
  ------------------
 5220|      0|            p->level--;
 5221|      0|            return NULL;
 5222|      0|        }
 5223|  24.5k|        D(fprintf(stderr, "%*c> invalid_match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr NEWLINE"));
 5224|  24.5k|        expr_ty _keyword;
 5225|  24.5k|        Token * newline_var;
 5226|  24.5k|        expr_ty subject_expr_var;
 5227|  24.5k|        if (
 5228|  24.5k|            (_keyword = _PyPegen_expect_soft_keyword(p, "match"))  // soft_keyword='"match"'
  ------------------
  |  Branch (5228:13): [True: 652, False: 23.9k]
  ------------------
 5229|    652|            &&
 5230|    652|            (subject_expr_var = subject_expr_rule(p))  // subject_expr
  ------------------
  |  |  221|    652|#define subject_expr_rule _PyPegen_subject_expr_rule
  ------------------
  |  Branch (5230:13): [True: 407, False: 245]
  ------------------
 5231|    407|            &&
 5232|    407|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    407|#define NEWLINE         4
  ------------------
  |  Branch (5232:13): [True: 6, False: 401]
  ------------------
 5233|  24.5k|        )
 5234|      6|        {
 5235|      6|            D(fprintf(stderr, "%*c+ invalid_match_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr NEWLINE"));
 5236|      6|            _res = CHECK_VERSION ( void* , 10 , "Pattern matching is" , RAISE_SYNTAX_ERROR ( "expected ':'" ) );
  ------------------
  |  |  354|      6|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 5237|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5237:18): [True: 6, False: 0]
  |  Branch (5237:34): [True: 0, False: 0]
  |  Branch (5237:57): [True: 6, False: 0]
  ------------------
 5238|      6|                p->error_indicator = 1;
 5239|      6|                p->level--;
 5240|      6|                return NULL;
 5241|      6|            }
 5242|      0|            goto done;
 5243|      6|        }
 5244|  24.5k|        p->mark = _mark;
 5245|  24.5k|        D(fprintf(stderr, "%*c%s invalid_match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 5246|  24.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"match\" subject_expr NEWLINE"));
 5247|  24.5k|    }
 5248|      0|    { // "match" subject_expr ':' NEWLINE !INDENT
 5249|  24.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (5249:13): [True: 0, False: 24.5k]
  ------------------
 5250|      0|            p->level--;
 5251|      0|            return NULL;
 5252|      0|        }
 5253|  24.5k|        D(fprintf(stderr, "%*c> invalid_match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr ':' NEWLINE !INDENT"));
 5254|  24.5k|        Token * _literal;
 5255|  24.5k|        expr_ty a;
 5256|  24.5k|        Token * newline_var;
 5257|  24.5k|        expr_ty subject;
 5258|  24.5k|        if (
 5259|  24.5k|            (a = _PyPegen_expect_soft_keyword(p, "match"))  // soft_keyword='"match"'
  ------------------
  |  Branch (5259:13): [True: 646, False: 23.9k]
  ------------------
 5260|    646|            &&
 5261|    646|            (subject = subject_expr_rule(p))  // subject_expr
  ------------------
  |  |  221|    646|#define subject_expr_rule _PyPegen_subject_expr_rule
  ------------------
  |  Branch (5261:13): [True: 401, False: 245]
  ------------------
 5262|    401|            &&
 5263|    401|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5263:13): [True: 229, False: 172]
  ------------------
 5264|    229|            &&
 5265|    229|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    229|#define NEWLINE         4
  ------------------
  |  Branch (5265:13): [True: 226, False: 3]
  ------------------
 5266|    226|            &&
 5267|    226|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    226|#define INDENT          5
  ------------------
  |  Branch (5267:13): [True: 1, False: 225]
  ------------------
 5268|  24.5k|        )
 5269|      1|        {
 5270|      1|            D(fprintf(stderr, "%*c+ invalid_match_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr ':' NEWLINE !INDENT"));
 5271|      1|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'match' statement on line %d" , a -> lineno );
  ------------------
  |  |  243|      1|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 5272|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5272:18): [True: 1, False: 0]
  |  Branch (5272:34): [True: 0, False: 0]
  |  Branch (5272:57): [True: 1, False: 0]
  ------------------
 5273|      1|                p->error_indicator = 1;
 5274|      1|                p->level--;
 5275|      1|                return NULL;
 5276|      1|            }
 5277|      0|            goto done;
 5278|      1|        }
 5279|  24.5k|        p->mark = _mark;
 5280|  24.5k|        D(fprintf(stderr, "%*c%s invalid_match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 5281|  24.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"match\" subject_expr ':' NEWLINE !INDENT"));
 5282|  24.5k|    }
 5283|      0|    { // "case" patterns guard? ':' block
 5284|  24.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (5284:13): [True: 0, False: 24.5k]
  ------------------
 5285|      0|            p->level--;
 5286|      0|            return NULL;
 5287|      0|        }
 5288|  24.5k|        D(fprintf(stderr, "%*c> invalid_match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' block"));
 5289|  24.5k|        void *_opt_var;
 5290|  24.5k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  24.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 24.5k]
  |  |  ------------------
  ------------------
 5291|  24.5k|        expr_ty a;
 5292|  24.5k|        Token * b;
 5293|  24.5k|        asdl_stmt_seq* block_var;
 5294|  24.5k|        pattern_ty patterns_var;
 5295|  24.5k|        if (
 5296|  24.5k|            (a = _PyPegen_expect_soft_keyword(p, "case"))  // soft_keyword='"case"'
  ------------------
  |  Branch (5296:13): [True: 619, False: 23.9k]
  ------------------
 5297|    619|            &&
 5298|    619|            (patterns_var = patterns_rule(p))  // patterns
  ------------------
  |  |  225|    619|#define patterns_rule _PyPegen_patterns_rule
  ------------------
  |  Branch (5298:13): [True: 151, False: 468]
  ------------------
 5299|    151|            &&
 5300|    151|            (_opt_var = guard_rule(p), !p->error_indicator)  // guard?
  ------------------
  |  |  223|    151|#define guard_rule _PyPegen_guard_rule
  ------------------
  |  Branch (5300:13): [True: 150, False: 1]
  ------------------
 5301|    150|            &&
 5302|    150|            (b = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5302:13): [True: 22, False: 128]
  ------------------
 5303|     22|            &&
 5304|     22|            (block_var = block_rule(p))  // block
  ------------------
  |  |  201|     22|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (5304:13): [True: 3, False: 19]
  ------------------
 5305|  24.5k|        )
 5306|      3|        {
 5307|      3|            D(fprintf(stderr, "%*c+ invalid_match_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' block"));
 5308|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "case statement must be inside match statement" );
  ------------------
  |  |  246|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 5309|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5309:18): [True: 3, False: 0]
  |  Branch (5309:34): [True: 0, False: 0]
  |  Branch (5309:57): [True: 3, False: 0]
  ------------------
 5310|      3|                p->error_indicator = 1;
 5311|      3|                p->level--;
 5312|      3|                return NULL;
 5313|      3|            }
 5314|      0|            goto done;
 5315|      3|        }
 5316|  24.5k|        p->mark = _mark;
 5317|  24.5k|        D(fprintf(stderr, "%*c%s invalid_match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 5318|  24.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"case\" patterns guard? ':' block"));
 5319|  24.5k|    }
 5320|  24.5k|    _res = NULL;
 5321|  24.5k|  done:
 5322|  24.5k|    p->level--;
 5323|  24.5k|    return _res;
 5324|  24.5k|}
_PyPegen_invalid_case_block_rule:
 5331|  1.74k|{
 5332|  1.74k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.48k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5332:9): [True: 0, False: 1.74k]
  |  Branch (5332:35): [True: 0, False: 1.74k]
  ------------------
 5333|      0|        _Pypegen_stack_overflow(p);
 5334|      0|    }
 5335|  1.74k|    if (p->error_indicator) {
  ------------------
  |  Branch (5335:9): [True: 0, False: 1.74k]
  ------------------
 5336|      0|        p->level--;
 5337|      0|        return NULL;
 5338|      0|    }
 5339|  1.74k|    void * _res = NULL;
 5340|  1.74k|    int _mark = p->mark;
 5341|  1.74k|    { // "case" patterns guard? NEWLINE
 5342|  1.74k|        if (p->error_indicator) {
  ------------------
  |  Branch (5342:13): [True: 0, False: 1.74k]
  ------------------
 5343|      0|            p->level--;
 5344|      0|            return NULL;
 5345|      0|        }
 5346|  1.74k|        D(fprintf(stderr, "%*c> invalid_case_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? NEWLINE"));
 5347|  1.74k|        expr_ty _keyword;
 5348|  1.74k|        void *_opt_var;
 5349|  1.74k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  1.74k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.74k]
  |  |  ------------------
  ------------------
 5350|  1.74k|        Token * newline_var;
 5351|  1.74k|        pattern_ty patterns_var;
 5352|  1.74k|        if (
 5353|  1.74k|            (_keyword = _PyPegen_expect_soft_keyword(p, "case"))  // soft_keyword='"case"'
  ------------------
  |  Branch (5353:13): [True: 1.40k, False: 339]
  ------------------
 5354|  1.40k|            &&
 5355|  1.40k|            (patterns_var = patterns_rule(p))  // patterns
  ------------------
  |  |  225|  1.40k|#define patterns_rule _PyPegen_patterns_rule
  ------------------
  |  Branch (5355:13): [True: 1.29k, False: 114]
  ------------------
 5356|  1.29k|            &&
 5357|  1.29k|            (_opt_var = guard_rule(p), !p->error_indicator)  // guard?
  ------------------
  |  |  223|  1.29k|#define guard_rule _PyPegen_guard_rule
  ------------------
  |  Branch (5357:13): [True: 1.29k, False: 0]
  ------------------
 5358|  1.29k|            &&
 5359|  1.29k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.29k|#define NEWLINE         4
  ------------------
  |  Branch (5359:13): [True: 27, False: 1.26k]
  ------------------
 5360|  1.74k|        )
 5361|     27|        {
 5362|     27|            D(fprintf(stderr, "%*c+ invalid_case_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? NEWLINE"));
 5363|     27|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  242|     27|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 5364|     27|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5364:18): [True: 27, False: 0]
  |  Branch (5364:34): [True: 0, False: 0]
  |  Branch (5364:57): [True: 27, False: 0]
  ------------------
 5365|     27|                p->error_indicator = 1;
 5366|     27|                p->level--;
 5367|     27|                return NULL;
 5368|     27|            }
 5369|      0|            goto done;
 5370|     27|        }
 5371|  1.71k|        p->mark = _mark;
 5372|  1.71k|        D(fprintf(stderr, "%*c%s invalid_case_block[%d-%d]: %s failed!\n", p->level, ' ',
 5373|  1.71k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"case\" patterns guard? NEWLINE"));
 5374|  1.71k|    }
 5375|      0|    { // "case" patterns guard? ':' NEWLINE !INDENT
 5376|  1.71k|        if (p->error_indicator) {
  ------------------
  |  Branch (5376:13): [True: 32, False: 1.68k]
  ------------------
 5377|     32|            p->level--;
 5378|     32|            return NULL;
 5379|     32|        }
 5380|  1.68k|        D(fprintf(stderr, "%*c> invalid_case_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' NEWLINE !INDENT"));
 5381|  1.68k|        Token * _literal;
 5382|  1.68k|        void *_opt_var;
 5383|  1.68k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  1.68k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.68k]
  |  |  ------------------
  ------------------
 5384|  1.68k|        expr_ty a;
 5385|  1.68k|        Token * newline_var;
 5386|  1.68k|        pattern_ty patterns_var;
 5387|  1.68k|        if (
 5388|  1.68k|            (a = _PyPegen_expect_soft_keyword(p, "case"))  // soft_keyword='"case"'
  ------------------
  |  Branch (5388:13): [True: 1.34k, False: 339]
  ------------------
 5389|  1.34k|            &&
 5390|  1.34k|            (patterns_var = patterns_rule(p))  // patterns
  ------------------
  |  |  225|  1.34k|#define patterns_rule _PyPegen_patterns_rule
  ------------------
  |  Branch (5390:13): [True: 1.26k, False: 82]
  ------------------
 5391|  1.26k|            &&
 5392|  1.26k|            (_opt_var = guard_rule(p), !p->error_indicator)  // guard?
  ------------------
  |  |  223|  1.26k|#define guard_rule _PyPegen_guard_rule
  ------------------
  |  Branch (5392:13): [True: 1.26k, False: 0]
  ------------------
 5393|  1.26k|            &&
 5394|  1.26k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5394:13): [True: 1.15k, False: 112]
  ------------------
 5395|  1.15k|            &&
 5396|  1.15k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.15k|#define NEWLINE         4
  ------------------
  |  Branch (5396:13): [True: 271, False: 880]
  ------------------
 5397|    271|            &&
 5398|    271|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    271|#define INDENT          5
  ------------------
  |  Branch (5398:13): [True: 4, False: 267]
  ------------------
 5399|  1.68k|        )
 5400|      4|        {
 5401|      4|            D(fprintf(stderr, "%*c+ invalid_case_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' NEWLINE !INDENT"));
 5402|      4|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'case' statement on line %d" , a -> lineno );
  ------------------
  |  |  243|      4|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 5403|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5403:18): [True: 4, False: 0]
  |  Branch (5403:34): [True: 0, False: 0]
  |  Branch (5403:57): [True: 4, False: 0]
  ------------------
 5404|      4|                p->error_indicator = 1;
 5405|      4|                p->level--;
 5406|      4|                return NULL;
 5407|      4|            }
 5408|      0|            goto done;
 5409|      4|        }
 5410|  1.68k|        p->mark = _mark;
 5411|  1.68k|        D(fprintf(stderr, "%*c%s invalid_case_block[%d-%d]: %s failed!\n", p->level, ' ',
 5412|  1.68k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"case\" patterns guard? ':' NEWLINE !INDENT"));
 5413|  1.68k|    }
 5414|  1.68k|    _res = NULL;
 5415|  1.68k|  done:
 5416|  1.68k|    p->level--;
 5417|  1.68k|    return _res;
 5418|  1.68k|}
_PyPegen_invalid_as_pattern_rule:
 5423|  52.2k|{
 5424|  52.2k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   104k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5424:9): [True: 0, False: 52.2k]
  |  Branch (5424:35): [True: 0, False: 52.2k]
  ------------------
 5425|      0|        _Pypegen_stack_overflow(p);
 5426|      0|    }
 5427|  52.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (5427:9): [True: 0, False: 52.2k]
  ------------------
 5428|      0|        p->level--;
 5429|      0|        return NULL;
 5430|      0|    }
 5431|  52.2k|    void * _res = NULL;
 5432|  52.2k|    int _mark = p->mark;
 5433|  52.2k|    { // or_pattern 'as' "_"
 5434|  52.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (5434:13): [True: 0, False: 52.2k]
  ------------------
 5435|      0|            p->level--;
 5436|      0|            return NULL;
 5437|      0|        }
 5438|  52.2k|        D(fprintf(stderr, "%*c> invalid_as_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "or_pattern 'as' \"_\""));
 5439|  52.2k|        Token * _keyword;
 5440|  52.2k|        expr_ty a;
 5441|  52.2k|        pattern_ty or_pattern_var;
 5442|  52.2k|        if (
 5443|  52.2k|            (or_pattern_var = or_pattern_rule(p))  // or_pattern
  ------------------
  |  |  227|  52.2k|#define or_pattern_rule _PyPegen_or_pattern_rule
  ------------------
  |  Branch (5443:13): [True: 36.8k, False: 15.4k]
  ------------------
 5444|  36.8k|            &&
 5445|  36.8k|            (_keyword = _PyPegen_expect_token(p, 520))  // token='as'
  ------------------
  |  Branch (5445:13): [True: 8, False: 36.8k]
  ------------------
 5446|      8|            &&
 5447|      8|            (a = _PyPegen_expect_soft_keyword(p, "_"))  // soft_keyword='"_"'
  ------------------
  |  Branch (5447:13): [True: 1, False: 7]
  ------------------
 5448|  52.2k|        )
 5449|      1|        {
 5450|      1|            D(fprintf(stderr, "%*c+ invalid_as_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "or_pattern 'as' \"_\""));
 5451|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use '_' as a target" );
  ------------------
  |  |  248|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 5452|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5452:18): [True: 1, False: 0]
  |  Branch (5452:34): [True: 0, False: 0]
  |  Branch (5452:57): [True: 1, False: 0]
  ------------------
 5453|      1|                p->error_indicator = 1;
 5454|      1|                p->level--;
 5455|      1|                return NULL;
 5456|      1|            }
 5457|      0|            goto done;
 5458|      1|        }
 5459|  52.2k|        p->mark = _mark;
 5460|  52.2k|        D(fprintf(stderr, "%*c%s invalid_as_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 5461|  52.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "or_pattern 'as' \"_\""));
 5462|  52.2k|    }
 5463|      0|    { // or_pattern 'as' expression
 5464|  52.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (5464:13): [True: 0, False: 52.2k]
  ------------------
 5465|      0|            p->level--;
 5466|      0|            return NULL;
 5467|      0|        }
 5468|  52.2k|        D(fprintf(stderr, "%*c> invalid_as_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "or_pattern 'as' expression"));
 5469|  52.2k|        Token * _keyword;
 5470|  52.2k|        expr_ty a;
 5471|  52.2k|        pattern_ty or_pattern_var;
 5472|  52.2k|        if (
 5473|  52.2k|            (or_pattern_var = or_pattern_rule(p))  // or_pattern
  ------------------
  |  |  227|  52.2k|#define or_pattern_rule _PyPegen_or_pattern_rule
  ------------------
  |  Branch (5473:13): [True: 36.8k, False: 15.4k]
  ------------------
 5474|  36.8k|            &&
 5475|  36.8k|            (_keyword = _PyPegen_expect_token(p, 520))  // token='as'
  ------------------
  |  Branch (5475:13): [True: 7, False: 36.8k]
  ------------------
 5476|      7|            &&
 5477|      7|            (a = expression_rule(p))  // expression
  ------------------
  |  |  243|      7|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (5477:13): [True: 2, False: 5]
  ------------------
 5478|  52.2k|        )
 5479|      2|        {
 5480|      2|            D(fprintf(stderr, "%*c+ invalid_as_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "or_pattern 'as' expression"));
 5481|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use %s as pattern target" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  248|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 5482|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5482:18): [True: 2, False: 0]
  |  Branch (5482:34): [True: 0, False: 0]
  |  Branch (5482:57): [True: 2, False: 0]
  ------------------
 5483|      2|                p->error_indicator = 1;
 5484|      2|                p->level--;
 5485|      2|                return NULL;
 5486|      2|            }
 5487|      0|            goto done;
 5488|      2|        }
 5489|  52.2k|        p->mark = _mark;
 5490|  52.2k|        D(fprintf(stderr, "%*c%s invalid_as_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 5491|  52.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "or_pattern 'as' expression"));
 5492|  52.2k|    }
 5493|  52.2k|    _res = NULL;
 5494|  52.2k|  done:
 5495|  52.2k|    p->level--;
 5496|  52.2k|    return _res;
 5497|  52.2k|}
_PyPegen_invalid_class_pattern_rule:
 5502|  8.50k|{
 5503|  8.50k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  17.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5503:9): [True: 0, False: 8.50k]
  |  Branch (5503:35): [True: 0, False: 8.50k]
  ------------------
 5504|      0|        _Pypegen_stack_overflow(p);
 5505|      0|    }
 5506|  8.50k|    if (p->error_indicator) {
  ------------------
  |  Branch (5506:9): [True: 0, False: 8.50k]
  ------------------
 5507|      0|        p->level--;
 5508|      0|        return NULL;
 5509|      0|    }
 5510|  8.50k|    void * _res = NULL;
 5511|  8.50k|    int _mark = p->mark;
 5512|  8.50k|    { // name_or_attr '(' invalid_class_argument_pattern
 5513|  8.50k|        if (p->error_indicator) {
  ------------------
  |  Branch (5513:13): [True: 0, False: 8.50k]
  ------------------
 5514|      0|            p->level--;
 5515|      0|            return NULL;
 5516|      0|        }
 5517|  8.50k|        D(fprintf(stderr, "%*c> invalid_class_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' invalid_class_argument_pattern"));
 5518|  8.50k|        Token * _literal;
 5519|  8.50k|        asdl_pattern_seq* a;
 5520|  8.50k|        expr_ty name_or_attr_var;
 5521|  8.50k|        if (
 5522|  8.50k|            (name_or_attr_var = name_or_attr_rule(p))  // name_or_attr
  ------------------
  |  |  229|  8.50k|#define name_or_attr_rule _PyPegen_name_or_attr_rule
  ------------------
  |  Branch (5522:13): [True: 4.47k, False: 4.03k]
  ------------------
 5523|  4.47k|            &&
 5524|  4.47k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (5524:13): [True: 2.51k, False: 1.95k]
  ------------------
 5525|  2.51k|            &&
 5526|  2.51k|            (a = invalid_class_argument_pattern_rule(p))  // invalid_class_argument_pattern
  ------------------
  |  Branch (5526:13): [True: 6, False: 2.51k]
  ------------------
 5527|  8.50k|        )
 5528|      6|        {
 5529|      6|            D(fprintf(stderr, "%*c+ invalid_class_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' invalid_class_argument_pattern"));
 5530|      6|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( PyPegen_first_item ( a , pattern_ty ) , PyPegen_last_item ( a , pattern_ty ) , "positional patterns follow keyword patterns" );
  ------------------
  |  |  246|      6|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 5531|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5531:18): [True: 6, False: 0]
  |  Branch (5531:34): [True: 0, False: 0]
  |  Branch (5531:57): [True: 6, False: 0]
  ------------------
 5532|      6|                p->error_indicator = 1;
 5533|      6|                p->level--;
 5534|      6|                return NULL;
 5535|      6|            }
 5536|      0|            goto done;
 5537|      6|        }
 5538|  8.50k|        p->mark = _mark;
 5539|  8.50k|        D(fprintf(stderr, "%*c%s invalid_class_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 5540|  8.50k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "name_or_attr '(' invalid_class_argument_pattern"));
 5541|  8.50k|    }
 5542|  8.50k|    _res = NULL;
 5543|  8.50k|  done:
 5544|  8.50k|    p->level--;
 5545|  8.50k|    return _res;
 5546|  8.50k|}
_PyPegen_invalid_mapping_pattern_rule:
 5552|  10.5k|{
 5553|  10.5k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  21.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5553:9): [True: 0, False: 10.5k]
  |  Branch (5553:35): [True: 0, False: 10.5k]
  ------------------
 5554|      0|        _Pypegen_stack_overflow(p);
 5555|      0|    }
 5556|  10.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (5556:9): [True: 0, False: 10.5k]
  ------------------
 5557|      0|        p->level--;
 5558|      0|        return NULL;
 5559|      0|    }
 5560|  10.5k|    void * _res = NULL;
 5561|  10.5k|    int _mark = p->mark;
 5562|  10.5k|    { // '{' [(items_pattern ',')] double_star_pattern ',' items_pattern ','? '}'
 5563|  10.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (5563:13): [True: 0, False: 10.5k]
  ------------------
 5564|      0|            p->level--;
 5565|      0|            return NULL;
 5566|      0|        }
 5567|  10.5k|        D(fprintf(stderr, "%*c> invalid_mapping_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' [(items_pattern ',')] double_star_pattern ',' items_pattern ','? '}'"));
 5568|  10.5k|        Token * _literal;
 5569|  10.5k|        Token * _literal_1;
 5570|  10.5k|        Token * _literal_2;
 5571|  10.5k|        void *_opt_var;
 5572|  10.5k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  10.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 10.5k]
  |  |  ------------------
  ------------------
 5573|  10.5k|        void *_opt_var_1;
 5574|  10.5k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  314|  10.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 10.5k]
  |  |  ------------------
  ------------------
 5575|  10.5k|        asdl_seq* items_pattern_var;
 5576|  10.5k|        expr_ty rest;
 5577|  10.5k|        if (
 5578|  10.5k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (5578:13): [True: 1.70k, False: 8.81k]
  ------------------
 5579|  1.70k|            &&
 5580|  1.70k|            (_opt_var = _tmp_160_rule(p), !p->error_indicator)  // [(items_pattern ',')]
  ------------------
  |  Branch (5580:13): [True: 1.70k, False: 0]
  ------------------
 5581|  1.70k|            &&
 5582|  1.70k|            (rest = double_star_pattern_rule(p))  // double_star_pattern
  ------------------
  |  |  233|  1.70k|#define double_star_pattern_rule _PyPegen_double_star_pattern_rule
  ------------------
  |  Branch (5582:13): [True: 860, False: 845]
  ------------------
 5583|    860|            &&
 5584|    860|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5584:13): [True: 858, False: 2]
  ------------------
 5585|    858|            &&
 5586|    858|            (items_pattern_var = items_pattern_rule(p))  // items_pattern
  ------------------
  |  |  231|    858|#define items_pattern_rule _PyPegen_items_pattern_rule
  ------------------
  |  Branch (5586:13): [True: 604, False: 254]
  ------------------
 5587|    604|            &&
 5588|    604|            (_opt_var_1 = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (5588:13): [True: 484, False: 120]
  ------------------
 5589|    484|            &&
 5590|    484|            (_literal_2 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (5590:13): [True: 0, False: 484]
  ------------------
 5591|  10.5k|        )
 5592|      0|        {
 5593|      0|            D(fprintf(stderr, "%*c+ invalid_mapping_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' [(items_pattern ',')] double_star_pattern ',' items_pattern ','? '}'"));
 5594|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( rest , "double star pattern must be the last (right-most) subpattern in the mapping pattern" );
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 5595|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5595:18): [True: 0, False: 0]
  |  Branch (5595:34): [True: 0, False: 0]
  |  Branch (5595:57): [True: 0, False: 0]
  ------------------
 5596|      0|                p->error_indicator = 1;
 5597|      0|                p->level--;
 5598|      0|                return NULL;
 5599|      0|            }
 5600|      0|            goto done;
 5601|      0|        }
 5602|  10.5k|        p->mark = _mark;
 5603|  10.5k|        D(fprintf(stderr, "%*c%s invalid_mapping_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 5604|  10.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' [(items_pattern ',')] double_star_pattern ',' items_pattern ','? '}'"));
 5605|  10.5k|    }
 5606|  10.5k|    _res = NULL;
 5607|  10.5k|  done:
 5608|  10.5k|    p->level--;
 5609|  10.5k|    return _res;
 5610|  10.5k|}
_PyPegen_invalid_if_stmt_rule:
 5671|    353|{
 5672|    353|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    706|#  define MAXSTACK 6000
  ------------------
  |  Branch (5672:9): [True: 0, False: 353]
  |  Branch (5672:35): [True: 0, False: 353]
  ------------------
 5673|      0|        _Pypegen_stack_overflow(p);
 5674|      0|    }
 5675|    353|    if (p->error_indicator) {
  ------------------
  |  Branch (5675:9): [True: 0, False: 353]
  ------------------
 5676|      0|        p->level--;
 5677|      0|        return NULL;
 5678|      0|    }
 5679|    353|    void * _res = NULL;
 5680|    353|    int _mark = p->mark;
 5681|    353|    { // 'if' named_expression NEWLINE
 5682|    353|        if (p->error_indicator) {
  ------------------
  |  Branch (5682:13): [True: 0, False: 353]
  ------------------
 5683|      0|            p->level--;
 5684|      0|            return NULL;
 5685|      0|        }
 5686|    353|        D(fprintf(stderr, "%*c> invalid_if_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' named_expression NEWLINE"));
 5687|    353|        Token * _keyword;
 5688|    353|        expr_ty named_expression_var;
 5689|    353|        Token * newline_var;
 5690|    353|        if (
 5691|    353|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (5691:13): [True: 353, False: 0]
  ------------------
 5692|    353|            &&
 5693|    353|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  |  257|    353|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (5693:13): [True: 343, False: 10]
  ------------------
 5694|    343|            &&
 5695|    343|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    343|#define NEWLINE         4
  ------------------
  |  Branch (5695:13): [True: 2, False: 341]
  ------------------
 5696|    353|        )
 5697|      2|        {
 5698|      2|            D(fprintf(stderr, "%*c+ invalid_if_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' named_expression NEWLINE"));
 5699|      2|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  242|      2|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 5700|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5700:18): [True: 2, False: 0]
  |  Branch (5700:34): [True: 0, False: 0]
  |  Branch (5700:57): [True: 2, False: 0]
  ------------------
 5701|      2|                p->error_indicator = 1;
 5702|      2|                p->level--;
 5703|      2|                return NULL;
 5704|      2|            }
 5705|      0|            goto done;
 5706|      2|        }
 5707|    351|        p->mark = _mark;
 5708|    351|        D(fprintf(stderr, "%*c%s invalid_if_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 5709|    351|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' named_expression NEWLINE"));
 5710|    351|    }
 5711|      0|    { // 'if' named_expression ':' NEWLINE !INDENT
 5712|    351|        if (p->error_indicator) {
  ------------------
  |  Branch (5712:13): [True: 3, False: 348]
  ------------------
 5713|      3|            p->level--;
 5714|      3|            return NULL;
 5715|      3|        }
 5716|    348|        D(fprintf(stderr, "%*c> invalid_if_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' NEWLINE !INDENT"));
 5717|    348|        Token * _literal;
 5718|    348|        Token * a;
 5719|    348|        expr_ty a_1;
 5720|    348|        Token * newline_var;
 5721|    348|        if (
 5722|    348|            (a = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (5722:13): [True: 348, False: 0]
  ------------------
 5723|    348|            &&
 5724|    348|            (a_1 = named_expression_rule(p))  // named_expression
  ------------------
  |  |  257|    348|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (5724:13): [True: 341, False: 7]
  ------------------
 5725|    341|            &&
 5726|    341|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5726:13): [True: 339, False: 2]
  ------------------
 5727|    339|            &&
 5728|    339|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    339|#define NEWLINE         4
  ------------------
  |  Branch (5728:13): [True: 44, False: 295]
  ------------------
 5729|     44|            &&
 5730|     44|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|     44|#define INDENT          5
  ------------------
  |  Branch (5730:13): [True: 3, False: 41]
  ------------------
 5731|    348|        )
 5732|      3|        {
 5733|      3|            D(fprintf(stderr, "%*c+ invalid_if_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' NEWLINE !INDENT"));
 5734|      3|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'if' statement on line %d" , a -> lineno );
  ------------------
  |  |  243|      3|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 5735|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5735:18): [True: 3, False: 0]
  |  Branch (5735:34): [True: 0, False: 0]
  |  Branch (5735:57): [True: 3, False: 0]
  ------------------
 5736|      3|                p->error_indicator = 1;
 5737|      3|                p->level--;
 5738|      3|                return NULL;
 5739|      3|            }
 5740|      0|            goto done;
 5741|      3|        }
 5742|    345|        p->mark = _mark;
 5743|    345|        D(fprintf(stderr, "%*c%s invalid_if_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 5744|    345|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' named_expression ':' NEWLINE !INDENT"));
 5745|    345|    }
 5746|    345|    _res = NULL;
 5747|    345|  done:
 5748|    345|    p->level--;
 5749|    345|    return _res;
 5750|    345|}
_PyPegen_invalid_elif_stmt_rule:
 5757|    589|{
 5758|    589|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.17k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5758:9): [True: 0, False: 589]
  |  Branch (5758:35): [True: 0, False: 589]
  ------------------
 5759|      0|        _Pypegen_stack_overflow(p);
 5760|      0|    }
 5761|    589|    if (p->error_indicator) {
  ------------------
  |  Branch (5761:9): [True: 0, False: 589]
  ------------------
 5762|      0|        p->level--;
 5763|      0|        return NULL;
 5764|      0|    }
 5765|    589|    void * _res = NULL;
 5766|    589|    int _mark = p->mark;
 5767|    589|    { // 'elif' named_expression NEWLINE
 5768|    589|        if (p->error_indicator) {
  ------------------
  |  Branch (5768:13): [True: 0, False: 589]
  ------------------
 5769|      0|            p->level--;
 5770|      0|            return NULL;
 5771|      0|        }
 5772|    589|        D(fprintf(stderr, "%*c> invalid_elif_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'elif' named_expression NEWLINE"));
 5773|    589|        Token * _keyword;
 5774|    589|        expr_ty named_expression_var;
 5775|    589|        Token * newline_var;
 5776|    589|        if (
 5777|    589|            (_keyword = _PyPegen_expect_token(p, 521))  // token='elif'
  ------------------
  |  Branch (5777:13): [True: 286, False: 303]
  ------------------
 5778|    286|            &&
 5779|    286|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  |  257|    286|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (5779:13): [True: 284, False: 2]
  ------------------
 5780|    284|            &&
 5781|    284|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    284|#define NEWLINE         4
  ------------------
  |  Branch (5781:13): [True: 5, False: 279]
  ------------------
 5782|    589|        )
 5783|      5|        {
 5784|      5|            D(fprintf(stderr, "%*c+ invalid_elif_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'elif' named_expression NEWLINE"));
 5785|      5|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  242|      5|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 5786|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5786:18): [True: 5, False: 0]
  |  Branch (5786:34): [True: 0, False: 0]
  |  Branch (5786:57): [True: 5, False: 0]
  ------------------
 5787|      5|                p->error_indicator = 1;
 5788|      5|                p->level--;
 5789|      5|                return NULL;
 5790|      5|            }
 5791|      0|            goto done;
 5792|      5|        }
 5793|    584|        p->mark = _mark;
 5794|    584|        D(fprintf(stderr, "%*c%s invalid_elif_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 5795|    584|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'elif' named_expression NEWLINE"));
 5796|    584|    }
 5797|      0|    { // 'elif' named_expression ':' NEWLINE !INDENT
 5798|    584|        if (p->error_indicator) {
  ------------------
  |  Branch (5798:13): [True: 1, False: 583]
  ------------------
 5799|      1|            p->level--;
 5800|      1|            return NULL;
 5801|      1|        }
 5802|    583|        D(fprintf(stderr, "%*c> invalid_elif_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' NEWLINE !INDENT"));
 5803|    583|        Token * _literal;
 5804|    583|        Token * a;
 5805|    583|        expr_ty named_expression_var;
 5806|    583|        Token * newline_var;
 5807|    583|        if (
 5808|    583|            (a = _PyPegen_expect_token(p, 521))  // token='elif'
  ------------------
  |  Branch (5808:13): [True: 280, False: 303]
  ------------------
 5809|    280|            &&
 5810|    280|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  |  257|    280|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (5810:13): [True: 279, False: 1]
  ------------------
 5811|    279|            &&
 5812|    279|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5812:13): [True: 277, False: 2]
  ------------------
 5813|    277|            &&
 5814|    277|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    277|#define NEWLINE         4
  ------------------
  |  Branch (5814:13): [True: 71, False: 206]
  ------------------
 5815|     71|            &&
 5816|     71|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|     71|#define INDENT          5
  ------------------
  |  Branch (5816:13): [True: 1, False: 70]
  ------------------
 5817|    583|        )
 5818|      1|        {
 5819|      1|            D(fprintf(stderr, "%*c+ invalid_elif_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' NEWLINE !INDENT"));
 5820|      1|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'elif' statement on line %d" , a -> lineno );
  ------------------
  |  |  243|      1|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 5821|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5821:18): [True: 1, False: 0]
  |  Branch (5821:34): [True: 0, False: 0]
  |  Branch (5821:57): [True: 1, False: 0]
  ------------------
 5822|      1|                p->error_indicator = 1;
 5823|      1|                p->level--;
 5824|      1|                return NULL;
 5825|      1|            }
 5826|      0|            goto done;
 5827|      1|        }
 5828|    582|        p->mark = _mark;
 5829|    582|        D(fprintf(stderr, "%*c%s invalid_elif_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 5830|    582|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'elif' named_expression ':' NEWLINE !INDENT"));
 5831|    582|    }
 5832|    582|    _res = NULL;
 5833|    582|  done:
 5834|    582|    p->level--;
 5835|    582|    return _res;
 5836|    582|}
_PyPegen_invalid_else_stmt_rule:
 5841|  2.00k|{
 5842|  2.00k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.00k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5842:9): [True: 0, False: 2.00k]
  |  Branch (5842:35): [True: 0, False: 2.00k]
  ------------------
 5843|      0|        _Pypegen_stack_overflow(p);
 5844|      0|    }
 5845|  2.00k|    if (p->error_indicator) {
  ------------------
  |  Branch (5845:9): [True: 0, False: 2.00k]
  ------------------
 5846|      0|        p->level--;
 5847|      0|        return NULL;
 5848|      0|    }
 5849|  2.00k|    void * _res = NULL;
 5850|  2.00k|    int _mark = p->mark;
 5851|  2.00k|    { // 'else' ':' NEWLINE !INDENT
 5852|  2.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (5852:13): [True: 0, False: 2.00k]
  ------------------
 5853|      0|            p->level--;
 5854|      0|            return NULL;
 5855|      0|        }
 5856|  2.00k|        D(fprintf(stderr, "%*c> invalid_else_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'else' ':' NEWLINE !INDENT"));
 5857|  2.00k|        Token * _literal;
 5858|  2.00k|        Token * a;
 5859|  2.00k|        Token * newline_var;
 5860|  2.00k|        if (
 5861|  2.00k|            (a = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (5861:13): [True: 271, False: 1.73k]
  ------------------
 5862|    271|            &&
 5863|    271|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5863:13): [True: 271, False: 0]
  ------------------
 5864|    271|            &&
 5865|    271|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    271|#define NEWLINE         4
  ------------------
  |  Branch (5865:13): [True: 234, False: 37]
  ------------------
 5866|    234|            &&
 5867|    234|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    234|#define INDENT          5
  ------------------
  |  Branch (5867:13): [True: 2, False: 232]
  ------------------
 5868|  2.00k|        )
 5869|      2|        {
 5870|      2|            D(fprintf(stderr, "%*c+ invalid_else_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'else' ':' NEWLINE !INDENT"));
 5871|      2|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'else' statement on line %d" , a -> lineno );
  ------------------
  |  |  243|      2|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 5872|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5872:18): [True: 2, False: 0]
  |  Branch (5872:34): [True: 0, False: 0]
  |  Branch (5872:57): [True: 2, False: 0]
  ------------------
 5873|      2|                p->error_indicator = 1;
 5874|      2|                p->level--;
 5875|      2|                return NULL;
 5876|      2|            }
 5877|      0|            goto done;
 5878|      2|        }
 5879|  2.00k|        p->mark = _mark;
 5880|  2.00k|        D(fprintf(stderr, "%*c%s invalid_else_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 5881|  2.00k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'else' ':' NEWLINE !INDENT"));
 5882|  2.00k|    }
 5883|      0|    { // 'else' ':' block 'elif'
 5884|  2.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (5884:13): [True: 0, False: 2.00k]
  ------------------
 5885|      0|            p->level--;
 5886|      0|            return NULL;
 5887|      0|        }
 5888|  2.00k|        D(fprintf(stderr, "%*c> invalid_else_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'else' ':' block 'elif'"));
 5889|  2.00k|        Token * _keyword;
 5890|  2.00k|        Token * _keyword_1;
 5891|  2.00k|        Token * _literal;
 5892|  2.00k|        asdl_stmt_seq* block_var;
 5893|  2.00k|        if (
 5894|  2.00k|            (_keyword = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (5894:13): [True: 269, False: 1.73k]
  ------------------
 5895|    269|            &&
 5896|    269|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5896:13): [True: 269, False: 0]
  ------------------
 5897|    269|            &&
 5898|    269|            (block_var = block_rule(p))  // block
  ------------------
  |  |  201|    269|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (5898:13): [True: 263, False: 6]
  ------------------
 5899|    263|            &&
 5900|    263|            (_keyword_1 = _PyPegen_expect_token(p, 521))  // token='elif'
  ------------------
  |  Branch (5900:13): [True: 1, False: 262]
  ------------------
 5901|  2.00k|        )
 5902|      1|        {
 5903|      1|            D(fprintf(stderr, "%*c+ invalid_else_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'else' ':' block 'elif'"));
 5904|      1|            _res = RAISE_SYNTAX_ERROR ( "'elif' block follows an 'else' block" );
  ------------------
  |  |  242|      1|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 5905|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5905:18): [True: 1, False: 0]
  |  Branch (5905:34): [True: 0, False: 0]
  |  Branch (5905:57): [True: 1, False: 0]
  ------------------
 5906|      1|                p->error_indicator = 1;
 5907|      1|                p->level--;
 5908|      1|                return NULL;
 5909|      1|            }
 5910|      0|            goto done;
 5911|      1|        }
 5912|  2.00k|        p->mark = _mark;
 5913|  2.00k|        D(fprintf(stderr, "%*c%s invalid_else_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 5914|  2.00k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'else' ':' block 'elif'"));
 5915|  2.00k|    }
 5916|  2.00k|    _res = NULL;
 5917|  2.00k|  done:
 5918|  2.00k|    p->level--;
 5919|  2.00k|    return _res;
 5920|  2.00k|}
_PyPegen_invalid_while_stmt_rule:
 5927|    543|{
 5928|    543|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.08k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5928:9): [True: 0, False: 543]
  |  Branch (5928:35): [True: 0, False: 543]
  ------------------
 5929|      0|        _Pypegen_stack_overflow(p);
 5930|      0|    }
 5931|    543|    if (p->error_indicator) {
  ------------------
  |  Branch (5931:9): [True: 0, False: 543]
  ------------------
 5932|      0|        p->level--;
 5933|      0|        return NULL;
 5934|      0|    }
 5935|    543|    void * _res = NULL;
 5936|    543|    int _mark = p->mark;
 5937|    543|    { // 'while' named_expression NEWLINE
 5938|    543|        if (p->error_indicator) {
  ------------------
  |  Branch (5938:13): [True: 0, False: 543]
  ------------------
 5939|      0|            p->level--;
 5940|      0|            return NULL;
 5941|      0|        }
 5942|    543|        D(fprintf(stderr, "%*c> invalid_while_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'while' named_expression NEWLINE"));
 5943|    543|        Token * _keyword;
 5944|    543|        expr_ty named_expression_var;
 5945|    543|        Token * newline_var;
 5946|    543|        if (
 5947|    543|            (_keyword = _PyPegen_expect_token(p, 519))  // token='while'
  ------------------
  |  Branch (5947:13): [True: 543, False: 0]
  ------------------
 5948|    543|            &&
 5949|    543|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  |  257|    543|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (5949:13): [True: 538, False: 5]
  ------------------
 5950|    538|            &&
 5951|    538|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    538|#define NEWLINE         4
  ------------------
  |  Branch (5951:13): [True: 3, False: 535]
  ------------------
 5952|    543|        )
 5953|      3|        {
 5954|      3|            D(fprintf(stderr, "%*c+ invalid_while_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'while' named_expression NEWLINE"));
 5955|      3|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  242|      3|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 5956|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5956:18): [True: 3, False: 0]
  |  Branch (5956:34): [True: 0, False: 0]
  |  Branch (5956:57): [True: 3, False: 0]
  ------------------
 5957|      3|                p->error_indicator = 1;
 5958|      3|                p->level--;
 5959|      3|                return NULL;
 5960|      3|            }
 5961|      0|            goto done;
 5962|      3|        }
 5963|    540|        p->mark = _mark;
 5964|    540|        D(fprintf(stderr, "%*c%s invalid_while_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 5965|    540|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'while' named_expression NEWLINE"));
 5966|    540|    }
 5967|      0|    { // 'while' named_expression ':' NEWLINE !INDENT
 5968|    540|        if (p->error_indicator) {
  ------------------
  |  Branch (5968:13): [True: 1, False: 539]
  ------------------
 5969|      1|            p->level--;
 5970|      1|            return NULL;
 5971|      1|        }
 5972|    539|        D(fprintf(stderr, "%*c> invalid_while_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'while' named_expression ':' NEWLINE !INDENT"));
 5973|    539|        Token * _literal;
 5974|    539|        Token * a;
 5975|    539|        expr_ty named_expression_var;
 5976|    539|        Token * newline_var;
 5977|    539|        if (
 5978|    539|            (a = _PyPegen_expect_token(p, 519))  // token='while'
  ------------------
  |  Branch (5978:13): [True: 539, False: 0]
  ------------------
 5979|    539|            &&
 5980|    539|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  |  257|    539|#define named_expression_rule _PyPegen_named_expression_rule
  ------------------
  |  Branch (5980:13): [True: 535, False: 4]
  ------------------
 5981|    535|            &&
 5982|    535|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5982:13): [True: 534, False: 1]
  ------------------
 5983|    534|            &&
 5984|    534|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    534|#define NEWLINE         4
  ------------------
  |  Branch (5984:13): [True: 65, False: 469]
  ------------------
 5985|     65|            &&
 5986|     65|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|     65|#define INDENT          5
  ------------------
  |  Branch (5986:13): [True: 1, False: 64]
  ------------------
 5987|    539|        )
 5988|      1|        {
 5989|      1|            D(fprintf(stderr, "%*c+ invalid_while_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'while' named_expression ':' NEWLINE !INDENT"));
 5990|      1|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'while' statement on line %d" , a -> lineno );
  ------------------
  |  |  243|      1|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 5991|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5991:18): [True: 1, False: 0]
  |  Branch (5991:34): [True: 0, False: 0]
  |  Branch (5991:57): [True: 1, False: 0]
  ------------------
 5992|      1|                p->error_indicator = 1;
 5993|      1|                p->level--;
 5994|      1|                return NULL;
 5995|      1|            }
 5996|      0|            goto done;
 5997|      1|        }
 5998|    538|        p->mark = _mark;
 5999|    538|        D(fprintf(stderr, "%*c%s invalid_while_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6000|    538|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'while' named_expression ':' NEWLINE !INDENT"));
 6001|    538|    }
 6002|    538|    _res = NULL;
 6003|    538|  done:
 6004|    538|    p->level--;
 6005|    538|    return _res;
 6006|    538|}
_PyPegen_invalid_for_stmt_rule:
 6013|    581|{
 6014|    581|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.16k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6014:9): [True: 0, False: 581]
  |  Branch (6014:35): [True: 0, False: 581]
  ------------------
 6015|      0|        _Pypegen_stack_overflow(p);
 6016|      0|    }
 6017|    581|    if (p->error_indicator) {
  ------------------
  |  Branch (6017:9): [True: 0, False: 581]
  ------------------
 6018|      0|        p->level--;
 6019|      0|        return NULL;
 6020|      0|    }
 6021|    581|    void * _res = NULL;
 6022|    581|    int _mark = p->mark;
 6023|    581|    { // 'async'? 'for' star_targets 'in' star_expressions NEWLINE
 6024|    581|        if (p->error_indicator) {
  ------------------
  |  Branch (6024:13): [True: 0, False: 581]
  ------------------
 6025|      0|            p->level--;
 6026|      0|            return NULL;
 6027|      0|        }
 6028|    581|        D(fprintf(stderr, "%*c> invalid_for_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'for' star_targets 'in' star_expressions NEWLINE"));
 6029|    581|        Token * _keyword;
 6030|    581|        Token * _keyword_1;
 6031|    581|        void *_opt_var;
 6032|    581|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|    581|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 581]
  |  |  ------------------
  ------------------
 6033|    581|        Token * newline_var;
 6034|    581|        expr_ty star_expressions_var;
 6035|    581|        expr_ty star_targets_var;
 6036|    581|        if (
 6037|    581|            (_opt_var = _PyPegen_expect_token(p, 513), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (6037:13): [True: 581, False: 0]
  ------------------
 6038|    581|            &&
 6039|    581|            (_keyword = _PyPegen_expect_token(p, 517))  // token='for'
  ------------------
  |  Branch (6039:13): [True: 500, False: 81]
  ------------------
 6040|    500|            &&
 6041|    500|            (star_targets_var = star_targets_rule(p))  // star_targets
  ------------------
  |  |  313|    500|#define star_targets_rule _PyPegen_star_targets_rule
  ------------------
  |  Branch (6041:13): [True: 484, False: 16]
  ------------------
 6042|    484|            &&
 6043|    484|            (_keyword_1 = _PyPegen_expect_token(p, 523))  // token='in'
  ------------------
  |  Branch (6043:13): [True: 474, False: 10]
  ------------------
 6044|    474|            &&
 6045|    474|            (star_expressions_var = star_expressions_rule(p))  // star_expressions
  ------------------
  |  |  249|    474|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (6045:13): [True: 472, False: 2]
  ------------------
 6046|    472|            &&
 6047|    472|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    472|#define NEWLINE         4
  ------------------
  |  Branch (6047:13): [True: 3, False: 469]
  ------------------
 6048|    581|        )
 6049|      3|        {
 6050|      3|            D(fprintf(stderr, "%*c+ invalid_for_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'for' star_targets 'in' star_expressions NEWLINE"));
 6051|      3|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  242|      3|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 6052|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6052:18): [True: 3, False: 0]
  |  Branch (6052:34): [True: 0, False: 0]
  |  Branch (6052:57): [True: 3, False: 0]
  ------------------
 6053|      3|                p->error_indicator = 1;
 6054|      3|                p->level--;
 6055|      3|                return NULL;
 6056|      3|            }
 6057|      0|            goto done;
 6058|      3|        }
 6059|    578|        p->mark = _mark;
 6060|    578|        D(fprintf(stderr, "%*c%s invalid_for_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6061|    578|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'for' star_targets 'in' star_expressions NEWLINE"));
 6062|    578|    }
 6063|      0|    { // 'async'? 'for' star_targets 'in' star_expressions ':' NEWLINE !INDENT
 6064|    578|        if (p->error_indicator) {
  ------------------
  |  Branch (6064:13): [True: 4, False: 574]
  ------------------
 6065|      4|            p->level--;
 6066|      4|            return NULL;
 6067|      4|        }
 6068|    574|        D(fprintf(stderr, "%*c> invalid_for_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'for' star_targets 'in' star_expressions ':' NEWLINE !INDENT"));
 6069|    574|        Token * _keyword;
 6070|    574|        Token * _literal;
 6071|    574|        void *_opt_var;
 6072|    574|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|    574|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 574]
  |  |  ------------------
  ------------------
 6073|    574|        Token * a;
 6074|    574|        Token * newline_var;
 6075|    574|        expr_ty star_expressions_var;
 6076|    574|        expr_ty star_targets_var;
 6077|    574|        if (
 6078|    574|            (_opt_var = _PyPegen_expect_token(p, 513), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (6078:13): [True: 574, False: 0]
  ------------------
 6079|    574|            &&
 6080|    574|            (a = _PyPegen_expect_token(p, 517))  // token='for'
  ------------------
  |  Branch (6080:13): [True: 493, False: 81]
  ------------------
 6081|    493|            &&
 6082|    493|            (star_targets_var = star_targets_rule(p))  // star_targets
  ------------------
  |  |  313|    493|#define star_targets_rule _PyPegen_star_targets_rule
  ------------------
  |  Branch (6082:13): [True: 481, False: 12]
  ------------------
 6083|    481|            &&
 6084|    481|            (_keyword = _PyPegen_expect_token(p, 523))  // token='in'
  ------------------
  |  Branch (6084:13): [True: 471, False: 10]
  ------------------
 6085|    471|            &&
 6086|    471|            (star_expressions_var = star_expressions_rule(p))  // star_expressions
  ------------------
  |  |  249|    471|#define star_expressions_rule _PyPegen_star_expressions_rule
  ------------------
  |  Branch (6086:13): [True: 469, False: 2]
  ------------------
 6087|    469|            &&
 6088|    469|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6088:13): [True: 467, False: 2]
  ------------------
 6089|    467|            &&
 6090|    467|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    467|#define NEWLINE         4
  ------------------
  |  Branch (6090:13): [True: 201, False: 266]
  ------------------
 6091|    201|            &&
 6092|    201|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    201|#define INDENT          5
  ------------------
  |  Branch (6092:13): [True: 0, False: 201]
  ------------------
 6093|    574|        )
 6094|      0|        {
 6095|      0|            D(fprintf(stderr, "%*c+ invalid_for_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'for' star_targets 'in' star_expressions ':' NEWLINE !INDENT"));
 6096|      0|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'for' statement on line %d" , a -> lineno );
  ------------------
  |  |  243|      0|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 6097|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6097:18): [True: 0, False: 0]
  |  Branch (6097:34): [True: 0, False: 0]
  |  Branch (6097:57): [True: 0, False: 0]
  ------------------
 6098|      0|                p->error_indicator = 1;
 6099|      0|                p->level--;
 6100|      0|                return NULL;
 6101|      0|            }
 6102|      0|            goto done;
 6103|      0|        }
 6104|    574|        p->mark = _mark;
 6105|    574|        D(fprintf(stderr, "%*c%s invalid_for_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6106|    574|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'for' star_targets 'in' star_expressions ':' NEWLINE !INDENT"));
 6107|    574|    }
 6108|    574|    _res = NULL;
 6109|    574|  done:
 6110|    574|    p->level--;
 6111|    574|    return _res;
 6112|    574|}
_PyPegen_invalid_def_raw_rule:
 6119|  3.67k|{
 6120|  3.67k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  7.34k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6120:9): [True: 0, False: 3.67k]
  |  Branch (6120:35): [True: 0, False: 3.67k]
  ------------------
 6121|      0|        _Pypegen_stack_overflow(p);
 6122|      0|    }
 6123|  3.67k|    if (p->error_indicator) {
  ------------------
  |  Branch (6123:9): [True: 0, False: 3.67k]
  ------------------
 6124|      0|        p->level--;
 6125|      0|        return NULL;
 6126|      0|    }
 6127|  3.67k|    void * _res = NULL;
 6128|  3.67k|    int _mark = p->mark;
 6129|  3.67k|    { // 'async'? 'def' NAME type_params? '(' params? ')' ['->' expression] ':' NEWLINE !INDENT
 6130|  3.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (6130:13): [True: 0, False: 3.67k]
  ------------------
 6131|      0|            p->level--;
 6132|      0|            return NULL;
 6133|      0|        }
 6134|  3.67k|        D(fprintf(stderr, "%*c> invalid_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'def' NAME type_params? '(' params? ')' ['->' expression] ':' NEWLINE !INDENT"));
 6135|  3.67k|        Token * _literal;
 6136|  3.67k|        Token * _literal_1;
 6137|  3.67k|        Token * _literal_2;
 6138|  3.67k|        void *_opt_var;
 6139|  3.67k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  3.67k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.67k]
  |  |  ------------------
  ------------------
 6140|  3.67k|        void *_opt_var_1;
 6141|  3.67k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  314|  3.67k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.67k]
  |  |  ------------------
  ------------------
 6142|  3.67k|        void *_opt_var_2;
 6143|  3.67k|        UNUSED(_opt_var_2); // Silence compiler warnings
  ------------------
  |  |  314|  3.67k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.67k]
  |  |  ------------------
  ------------------
 6144|  3.67k|        void *_opt_var_3;
 6145|  3.67k|        UNUSED(_opt_var_3); // Silence compiler warnings
  ------------------
  |  |  314|  3.67k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.67k]
  |  |  ------------------
  ------------------
 6146|  3.67k|        Token * a;
 6147|  3.67k|        expr_ty name_var;
 6148|  3.67k|        Token * newline_var;
 6149|  3.67k|        if (
 6150|  3.67k|            (_opt_var = _PyPegen_expect_token(p, 513), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (6150:13): [True: 3.67k, False: 0]
  ------------------
 6151|  3.67k|            &&
 6152|  3.67k|            (a = _PyPegen_expect_token(p, 512))  // token='def'
  ------------------
  |  Branch (6152:13): [True: 2.40k, False: 1.27k]
  ------------------
 6153|  2.40k|            &&
 6154|  2.40k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (6154:13): [True: 2.39k, False: 4]
  ------------------
 6155|  2.39k|            &&
 6156|  2.39k|            (_opt_var_1 = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  |  239|  2.39k|#define type_params_rule _PyPegen_type_params_rule
  ------------------
  |  Branch (6156:13): [True: 2.39k, False: 3]
  ------------------
 6157|  2.39k|            &&
 6158|  2.39k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (6158:13): [True: 2.35k, False: 39]
  ------------------
 6159|  2.35k|            &&
 6160|  2.35k|            (_opt_var_2 = params_rule(p), !p->error_indicator)  // params?
  ------------------
  |  |  203|  2.35k|#define params_rule _PyPegen_params_rule
  ------------------
  |  Branch (6160:13): [True: 2.31k, False: 45]
  ------------------
 6161|  2.31k|            &&
 6162|  2.31k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (6162:13): [True: 2.21k, False: 96]
  ------------------
 6163|  2.21k|            &&
 6164|  2.21k|            (_opt_var_3 = _tmp_162_rule(p), !p->error_indicator)  // ['->' expression]
  ------------------
  |  Branch (6164:13): [True: 2.21k, False: 1]
  ------------------
 6165|  2.21k|            &&
 6166|  2.21k|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6166:13): [True: 2.16k, False: 44]
  ------------------
 6167|  2.16k|            &&
 6168|  2.16k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  2.16k|#define NEWLINE         4
  ------------------
  |  Branch (6168:13): [True: 489, False: 1.68k]
  ------------------
 6169|    489|            &&
 6170|    489|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    489|#define INDENT          5
  ------------------
  |  Branch (6170:13): [True: 15, False: 474]
  ------------------
 6171|  3.67k|        )
 6172|     15|        {
 6173|     15|            D(fprintf(stderr, "%*c+ invalid_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'def' NAME type_params? '(' params? ')' ['->' expression] ':' NEWLINE !INDENT"));
 6174|     15|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after function definition on line %d" , a -> lineno );
  ------------------
  |  |  243|     15|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 6175|     15|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6175:18): [True: 15, False: 0]
  |  Branch (6175:34): [True: 0, False: 0]
  |  Branch (6175:57): [True: 15, False: 0]
  ------------------
 6176|     15|                p->error_indicator = 1;
 6177|     15|                p->level--;
 6178|     15|                return NULL;
 6179|     15|            }
 6180|      0|            goto done;
 6181|     15|        }
 6182|  3.65k|        p->mark = _mark;
 6183|  3.65k|        D(fprintf(stderr, "%*c%s invalid_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 6184|  3.65k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'def' NAME type_params? '(' params? ')' ['->' expression] ':' NEWLINE !INDENT"));
 6185|  3.65k|    }
 6186|      0|    { // 'async'? 'def' NAME type_params? &&'(' params? ')' ['->' expression] &&':' func_type_comment? block
 6187|  3.65k|        if (p->error_indicator) {
  ------------------
  |  Branch (6187:13): [True: 49, False: 3.60k]
  ------------------
 6188|     49|            p->level--;
 6189|     49|            return NULL;
 6190|     49|        }
 6191|  3.60k|        D(fprintf(stderr, "%*c> invalid_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'def' NAME type_params? &&'(' params? ')' ['->' expression] &&':' func_type_comment? block"));
 6192|  3.60k|        Token * _keyword;
 6193|  3.60k|        Token * _literal;
 6194|  3.60k|        Token * _literal_1;
 6195|  3.60k|        Token * _literal_2;
 6196|  3.60k|        void *_opt_var;
 6197|  3.60k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  3.60k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.60k]
  |  |  ------------------
  ------------------
 6198|  3.60k|        void *_opt_var_1;
 6199|  3.60k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  314|  3.60k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.60k]
  |  |  ------------------
  ------------------
 6200|  3.60k|        void *_opt_var_2;
 6201|  3.60k|        UNUSED(_opt_var_2); // Silence compiler warnings
  ------------------
  |  |  314|  3.60k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.60k]
  |  |  ------------------
  ------------------
 6202|  3.60k|        void *_opt_var_3;
 6203|  3.60k|        UNUSED(_opt_var_3); // Silence compiler warnings
  ------------------
  |  |  314|  3.60k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.60k]
  |  |  ------------------
  ------------------
 6204|  3.60k|        void *_opt_var_4;
 6205|  3.60k|        UNUSED(_opt_var_4); // Silence compiler warnings
  ------------------
  |  |  314|  3.60k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.60k]
  |  |  ------------------
  ------------------
 6206|  3.60k|        asdl_stmt_seq* block_var;
 6207|  3.60k|        expr_ty name_var;
 6208|  3.60k|        if (
 6209|  3.60k|            (_opt_var = _PyPegen_expect_token(p, 513), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (6209:13): [True: 3.60k, False: 0]
  ------------------
 6210|  3.60k|            &&
 6211|  3.60k|            (_keyword = _PyPegen_expect_token(p, 512))  // token='def'
  ------------------
  |  Branch (6211:13): [True: 2.33k, False: 1.27k]
  ------------------
 6212|  2.33k|            &&
 6213|  2.33k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (6213:13): [True: 2.33k, False: 4]
  ------------------
 6214|  2.33k|            &&
 6215|  2.33k|            (_opt_var_1 = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  |  239|  2.33k|#define type_params_rule _PyPegen_type_params_rule
  ------------------
  |  Branch (6215:13): [True: 2.33k, False: 0]
  ------------------
 6216|  2.33k|            &&
 6217|  2.33k|            (_literal = _PyPegen_expect_forced_token(p, 7, "("))  // forced_token='('
  ------------------
  |  Branch (6217:13): [True: 2.29k, False: 39]
  ------------------
 6218|  2.29k|            &&
 6219|  2.29k|            (_opt_var_2 = params_rule(p), !p->error_indicator)  // params?
  ------------------
  |  |  203|  2.29k|#define params_rule _PyPegen_params_rule
  ------------------
  |  Branch (6219:13): [True: 2.29k, False: 0]
  ------------------
 6220|  2.29k|            &&
 6221|  2.29k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (6221:13): [True: 2.19k, False: 96]
  ------------------
 6222|  2.19k|            &&
 6223|  2.19k|            (_opt_var_3 = _tmp_162_rule(p), !p->error_indicator)  // ['->' expression]
  ------------------
  |  Branch (6223:13): [True: 2.19k, False: 0]
  ------------------
 6224|  2.19k|            &&
 6225|  2.19k|            (_literal_2 = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (6225:13): [True: 2.15k, False: 44]
  ------------------
 6226|  2.15k|            &&
 6227|  2.15k|            (_opt_var_4 = func_type_comment_rule(p), !p->error_indicator)  // func_type_comment?
  ------------------
  |  |  317|  2.15k|#define func_type_comment_rule _PyPegen_func_type_comment_rule
  ------------------
  |  Branch (6227:13): [True: 2.15k, False: 2]
  ------------------
 6228|  2.15k|            &&
 6229|  2.15k|            (block_var = block_rule(p))  // block
  ------------------
  |  |  201|  2.15k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (6229:13): [True: 2.06k, False: 89]
  ------------------
 6230|  3.60k|        )
 6231|  2.06k|        {
 6232|  2.06k|            D(fprintf(stderr, "%*c+ invalid_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'def' NAME type_params? &&'(' params? ')' ['->' expression] &&':' func_type_comment? block"));
 6233|  2.06k|            _res = _PyPegen_dummy_name(p, _opt_var, _keyword, name_var, _opt_var_1, _literal, _opt_var_2, _literal_1, _opt_var_3, _literal_2, _opt_var_4, block_var);
 6234|  2.06k|            goto done;
 6235|  2.06k|        }
 6236|  1.54k|        p->mark = _mark;
 6237|  1.54k|        D(fprintf(stderr, "%*c%s invalid_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 6238|  1.54k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'def' NAME type_params? &&'(' params? ')' ['->' expression] &&':' func_type_comment? block"));
 6239|  1.54k|    }
 6240|  1.54k|    _res = NULL;
 6241|  3.60k|  done:
 6242|  3.60k|    p->level--;
 6243|  3.60k|    return _res;
 6244|  1.54k|}
_PyPegen_invalid_class_def_raw_rule:
 6251|  1.28k|{
 6252|  1.28k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.57k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6252:9): [True: 0, False: 1.28k]
  |  Branch (6252:35): [True: 0, False: 1.28k]
  ------------------
 6253|      0|        _Pypegen_stack_overflow(p);
 6254|      0|    }
 6255|  1.28k|    if (p->error_indicator) {
  ------------------
  |  Branch (6255:9): [True: 0, False: 1.28k]
  ------------------
 6256|      0|        p->level--;
 6257|      0|        return NULL;
 6258|      0|    }
 6259|  1.28k|    void * _res = NULL;
 6260|  1.28k|    int _mark = p->mark;
 6261|  1.28k|    { // 'class' NAME type_params? ['(' arguments? ')'] NEWLINE
 6262|  1.28k|        if (p->error_indicator) {
  ------------------
  |  Branch (6262:13): [True: 0, False: 1.28k]
  ------------------
 6263|      0|            p->level--;
 6264|      0|            return NULL;
 6265|      0|        }
 6266|  1.28k|        D(fprintf(stderr, "%*c> invalid_class_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] NEWLINE"));
 6267|  1.28k|        Token * _keyword;
 6268|  1.28k|        void *_opt_var;
 6269|  1.28k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  1.28k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.28k]
  |  |  ------------------
  ------------------
 6270|  1.28k|        void *_opt_var_1;
 6271|  1.28k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  314|  1.28k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.28k]
  |  |  ------------------
  ------------------
 6272|  1.28k|        expr_ty name_var;
 6273|  1.28k|        Token * newline_var;
 6274|  1.28k|        if (
 6275|  1.28k|            (_keyword = _PyPegen_expect_token(p, 515))  // token='class'
  ------------------
  |  Branch (6275:13): [True: 1.19k, False: 96]
  ------------------
 6276|  1.19k|            &&
 6277|  1.19k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (6277:13): [True: 1.19k, False: 2]
  ------------------
 6278|  1.19k|            &&
 6279|  1.19k|            (_opt_var = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  |  239|  1.19k|#define type_params_rule _PyPegen_type_params_rule
  ------------------
  |  Branch (6279:13): [True: 1.18k, False: 2]
  ------------------
 6280|  1.18k|            &&
 6281|  1.18k|            (_opt_var_1 = _tmp_163_rule(p), !p->error_indicator)  // ['(' arguments? ')']
  ------------------
  |  Branch (6281:13): [True: 1.18k, False: 1]
  ------------------
 6282|  1.18k|            &&
 6283|  1.18k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.18k|#define NEWLINE         4
  ------------------
  |  Branch (6283:13): [True: 5, False: 1.18k]
  ------------------
 6284|  1.28k|        )
 6285|      5|        {
 6286|      5|            D(fprintf(stderr, "%*c+ invalid_class_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] NEWLINE"));
 6287|      5|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  242|      5|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 6288|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6288:18): [True: 5, False: 0]
  |  Branch (6288:34): [True: 0, False: 0]
  |  Branch (6288:57): [True: 5, False: 0]
  ------------------
 6289|      5|                p->error_indicator = 1;
 6290|      5|                p->level--;
 6291|      5|                return NULL;
 6292|      5|            }
 6293|      0|            goto done;
 6294|      5|        }
 6295|  1.28k|        p->mark = _mark;
 6296|  1.28k|        D(fprintf(stderr, "%*c%s invalid_class_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 6297|  1.28k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] NEWLINE"));
 6298|  1.28k|    }
 6299|      0|    { // 'class' NAME type_params? ['(' arguments? ')'] ':' NEWLINE !INDENT
 6300|  1.28k|        if (p->error_indicator) {
  ------------------
  |  Branch (6300:13): [True: 3, False: 1.28k]
  ------------------
 6301|      3|            p->level--;
 6302|      3|            return NULL;
 6303|      3|        }
 6304|  1.28k|        D(fprintf(stderr, "%*c> invalid_class_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] ':' NEWLINE !INDENT"));
 6305|  1.28k|        Token * _literal;
 6306|  1.28k|        void *_opt_var;
 6307|  1.28k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  1.28k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.28k]
  |  |  ------------------
  ------------------
 6308|  1.28k|        void *_opt_var_1;
 6309|  1.28k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  314|  1.28k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.28k]
  |  |  ------------------
  ------------------
 6310|  1.28k|        Token * a;
 6311|  1.28k|        expr_ty name_var;
 6312|  1.28k|        Token * newline_var;
 6313|  1.28k|        if (
 6314|  1.28k|            (a = _PyPegen_expect_token(p, 515))  // token='class'
  ------------------
  |  Branch (6314:13): [True: 1.18k, False: 96]
  ------------------
 6315|  1.18k|            &&
 6316|  1.18k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (6316:13): [True: 1.18k, False: 2]
  ------------------
 6317|  1.18k|            &&
 6318|  1.18k|            (_opt_var = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  |  239|  1.18k|#define type_params_rule _PyPegen_type_params_rule
  ------------------
  |  Branch (6318:13): [True: 1.18k, False: 0]
  ------------------
 6319|  1.18k|            &&
 6320|  1.18k|            (_opt_var_1 = _tmp_163_rule(p), !p->error_indicator)  // ['(' arguments? ')']
  ------------------
  |  Branch (6320:13): [True: 1.18k, False: 0]
  ------------------
 6321|  1.18k|            &&
 6322|  1.18k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6322:13): [True: 1.15k, False: 25]
  ------------------
 6323|  1.15k|            &&
 6324|  1.15k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.15k|#define NEWLINE         4
  ------------------
  |  Branch (6324:13): [True: 259, False: 899]
  ------------------
 6325|    259|            &&
 6326|    259|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    259|#define INDENT          5
  ------------------
  |  Branch (6326:13): [True: 4, False: 255]
  ------------------
 6327|  1.28k|        )
 6328|      4|        {
 6329|      4|            D(fprintf(stderr, "%*c+ invalid_class_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] ':' NEWLINE !INDENT"));
 6330|      4|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after class definition on line %d" , a -> lineno );
  ------------------
  |  |  243|      4|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
 6331|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6331:18): [True: 4, False: 0]
  |  Branch (6331:34): [True: 0, False: 0]
  |  Branch (6331:57): [True: 4, False: 0]
  ------------------
 6332|      4|                p->error_indicator = 1;
 6333|      4|                p->level--;
 6334|      4|                return NULL;
 6335|      4|            }
 6336|      0|            goto done;
 6337|      4|        }
 6338|  1.27k|        p->mark = _mark;
 6339|  1.27k|        D(fprintf(stderr, "%*c%s invalid_class_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 6340|  1.27k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] ':' NEWLINE !INDENT"));
 6341|  1.27k|    }
 6342|  1.27k|    _res = NULL;
 6343|  1.27k|  done:
 6344|  1.27k|    p->level--;
 6345|  1.27k|    return _res;
 6346|  1.27k|}
_PyPegen_invalid_double_starred_kvpairs_rule:
 6354|  31.7k|{
 6355|  31.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  63.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6355:9): [True: 0, False: 31.7k]
  |  Branch (6355:35): [True: 0, False: 31.7k]
  ------------------
 6356|      0|        _Pypegen_stack_overflow(p);
 6357|      0|    }
 6358|  31.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (6358:9): [True: 0, False: 31.7k]
  ------------------
 6359|      0|        p->level--;
 6360|      0|        return NULL;
 6361|      0|    }
 6362|  31.7k|    void * _res = NULL;
 6363|  31.7k|    int _mark = p->mark;
 6364|  31.7k|    { // invalid_kvpair_unpacking ','?
 6365|  31.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (6365:13): [True: 0, False: 31.7k]
  ------------------
 6366|      0|            p->level--;
 6367|      0|            return NULL;
 6368|      0|        }
 6369|  31.7k|        D(fprintf(stderr, "%*c> invalid_double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kvpair_unpacking ','?"));
 6370|  31.7k|        void *_opt_var;
 6371|  31.7k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  31.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 31.7k]
  |  |  ------------------
  ------------------
 6372|  31.7k|        void *invalid_kvpair_unpacking_var;
 6373|  31.7k|        if (
 6374|  31.7k|            (invalid_kvpair_unpacking_var = invalid_kvpair_unpacking_rule(p))  // invalid_kvpair_unpacking
  ------------------
  |  Branch (6374:13): [True: 0, False: 31.7k]
  ------------------
 6375|      0|            &&
 6376|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (6376:13): [True: 0, False: 0]
  ------------------
 6377|  31.7k|        )
 6378|      0|        {
 6379|      0|            D(fprintf(stderr, "%*c+ invalid_double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kvpair_unpacking ','?"));
 6380|      0|            _res = _PyPegen_dummy_name(p, invalid_kvpair_unpacking_var, _opt_var);
 6381|      0|            goto done;
 6382|      0|        }
 6383|  31.7k|        p->mark = _mark;
 6384|  31.7k|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
 6385|  31.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kvpair_unpacking ','?"));
 6386|  31.7k|    }
 6387|      0|    { // ','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)
 6388|  31.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (6388:13): [True: 605, False: 31.1k]
  ------------------
 6389|    605|            p->level--;
 6390|    605|            return NULL;
 6391|    605|        }
 6392|  31.1k|        D(fprintf(stderr, "%*c> invalid_double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)"));
 6393|  31.1k|        asdl_seq * _gather_165_var;
 6394|  31.1k|        Token * _literal;
 6395|  31.1k|        void *_tmp_166_var;
 6396|  31.1k|        if (
 6397|  31.1k|            (_gather_165_var = _gather_165_rule(p))  // ','.double_starred_kvpair+
  ------------------
  |  Branch (6397:13): [True: 2.06k, False: 29.0k]
  ------------------
 6398|  2.06k|            &&
 6399|  2.06k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (6399:13): [True: 477, False: 1.58k]
  ------------------
 6400|    477|            &&
 6401|    477|            (_tmp_166_var = _tmp_166_rule(p))  // invalid_kvpair | invalid_kvpair_unpacking
  ------------------
  |  Branch (6401:13): [True: 0, False: 477]
  ------------------
 6402|  31.1k|        )
 6403|      0|        {
 6404|      0|            D(fprintf(stderr, "%*c+ invalid_double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)"));
 6405|      0|            _res = _PyPegen_dummy_name(p, _gather_165_var, _literal, _tmp_166_var);
 6406|      0|            goto done;
 6407|      0|        }
 6408|  31.1k|        p->mark = _mark;
 6409|  31.1k|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
 6410|  31.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)"));
 6411|  31.1k|    }
 6412|      0|    { // expression ':' &('}' | ',')
 6413|  31.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (6413:13): [True: 114, False: 31.0k]
  ------------------
 6414|    114|            p->level--;
 6415|    114|            return NULL;
 6416|    114|        }
 6417|  31.0k|        D(fprintf(stderr, "%*c> invalid_double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' &('}' | ',')"));
 6418|  31.0k|        Token * a;
 6419|  31.0k|        expr_ty expression_var;
 6420|  31.0k|        if (
 6421|  31.0k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|  31.0k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6421:13): [True: 24.7k, False: 6.31k]
  ------------------
 6422|  24.7k|            &&
 6423|  24.7k|            (a = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6423:13): [True: 2.03k, False: 22.6k]
  ------------------
 6424|  2.03k|            &&
 6425|  2.03k|            _PyPegen_lookahead(1, _tmp_167_rule, p)
  ------------------
  |  Branch (6425:13): [True: 4, False: 2.02k]
  ------------------
 6426|  31.0k|        )
 6427|      4|        {
 6428|      4|            D(fprintf(stderr, "%*c+ invalid_double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' &('}' | ',')"));
 6429|      4|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expression expected after dictionary key and ':'" );
  ------------------
  |  |  248|      4|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6430|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6430:18): [True: 4, False: 0]
  |  Branch (6430:34): [True: 0, False: 0]
  |  Branch (6430:57): [True: 4, False: 0]
  ------------------
 6431|      4|                p->error_indicator = 1;
 6432|      4|                p->level--;
 6433|      4|                return NULL;
 6434|      4|            }
 6435|      0|            goto done;
 6436|      4|        }
 6437|  31.0k|        p->mark = _mark;
 6438|  31.0k|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
 6439|  31.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' &('}' | ',')"));
 6440|  31.0k|    }
 6441|  31.0k|    _res = NULL;
 6442|  31.0k|  done:
 6443|  31.0k|    p->level--;
 6444|  31.0k|    return _res;
 6445|  31.0k|}
_PyPegen_invalid_starred_expression_unpacking_rule:
 6781|   206k|{
 6782|   206k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   412k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6782:9): [True: 1, False: 206k]
  |  Branch (6782:35): [True: 0, False: 206k]
  ------------------
 6783|      1|        _Pypegen_stack_overflow(p);
 6784|      1|    }
 6785|   206k|    if (p->error_indicator) {
  ------------------
  |  Branch (6785:9): [True: 1, False: 206k]
  ------------------
 6786|      1|        p->level--;
 6787|      1|        return NULL;
 6788|      1|    }
 6789|   206k|    void * _res = NULL;
 6790|   206k|    int _mark = p->mark;
 6791|   206k|    { // '*' if_expression
 6792|   206k|        if (p->error_indicator) {
  ------------------
  |  Branch (6792:13): [True: 0, False: 206k]
  ------------------
 6793|      0|            p->level--;
 6794|      0|            return NULL;
 6795|      0|        }
 6796|   206k|        D(fprintf(stderr, "%*c> invalid_starred_expression_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' if_expression"));
 6797|   206k|        Token * a;
 6798|   206k|        expr_ty b;
 6799|   206k|        if (
 6800|   206k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (6800:13): [True: 13.8k, False: 192k]
  ------------------
 6801|  13.8k|            &&
 6802|  13.8k|            (b = if_expression_rule(p))  // if_expression
  ------------------
  |  |  245|  13.8k|#define if_expression_rule _PyPegen_if_expression_rule
  ------------------
  |  Branch (6802:13): [True: 1, False: 13.8k]
  ------------------
 6803|   206k|        )
 6804|      1|        {
 6805|      1|            D(fprintf(stderr, "%*c+ invalid_starred_expression_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' if_expression"));
 6806|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid starred expression. Did you forget to wrap the conditional expression in parentheses?" );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6807|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6807:18): [True: 1, False: 0]
  |  Branch (6807:34): [True: 0, False: 0]
  |  Branch (6807:57): [True: 1, False: 0]
  ------------------
 6808|      1|                p->error_indicator = 1;
 6809|      1|                p->level--;
 6810|      1|                return NULL;
 6811|      1|            }
 6812|      0|            goto done;
 6813|      1|        }
 6814|   206k|        p->mark = _mark;
 6815|   206k|        D(fprintf(stderr, "%*c%s invalid_starred_expression_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
 6816|   206k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' if_expression"));
 6817|   206k|    }
 6818|      0|    { // '*' expression '=' expression
 6819|   206k|        if (p->error_indicator) {
  ------------------
  |  Branch (6819:13): [True: 998, False: 205k]
  ------------------
 6820|    998|            p->level--;
 6821|    998|            return NULL;
 6822|    998|        }
 6823|   205k|        D(fprintf(stderr, "%*c> invalid_starred_expression_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' expression '=' expression"));
 6824|   205k|        Token * _literal;
 6825|   205k|        Token * a;
 6826|   205k|        expr_ty b;
 6827|   205k|        expr_ty expression_var;
 6828|   205k|        if (
 6829|   205k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (6829:13): [True: 12.8k, False: 192k]
  ------------------
 6830|  12.8k|            &&
 6831|  12.8k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|  12.8k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6831:13): [True: 12.3k, False: 553]
  ------------------
 6832|  12.3k|            &&
 6833|  12.3k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (6833:13): [True: 680, False: 11.6k]
  ------------------
 6834|    680|            &&
 6835|    680|            (b = expression_rule(p))  // expression
  ------------------
  |  |  243|    680|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6835:13): [True: 2, False: 678]
  ------------------
 6836|   205k|        )
 6837|      2|        {
 6838|      2|            D(fprintf(stderr, "%*c+ invalid_starred_expression_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' expression '=' expression"));
 6839|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to iterable argument unpacking" );
  ------------------
  |  |  246|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6840|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6840:18): [True: 2, False: 0]
  |  Branch (6840:34): [True: 0, False: 0]
  |  Branch (6840:57): [True: 2, False: 0]
  ------------------
 6841|      2|                p->error_indicator = 1;
 6842|      2|                p->level--;
 6843|      2|                return NULL;
 6844|      2|            }
 6845|      0|            goto done;
 6846|      2|        }
 6847|   205k|        p->mark = _mark;
 6848|   205k|        D(fprintf(stderr, "%*c%s invalid_starred_expression_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
 6849|   205k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' expression '=' expression"));
 6850|   205k|    }
 6851|   205k|    _res = NULL;
 6852|   205k|  done:
 6853|   205k|    p->level--;
 6854|   205k|    return _res;
 6855|   205k|}
_PyPegen_invalid_starred_expression_unpacking_sequence_rule:
 6862|  85.5k|{
 6863|  85.5k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   171k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6863:9): [True: 0, False: 85.5k]
  |  Branch (6863:35): [True: 0, False: 85.5k]
  ------------------
 6864|      0|        _Pypegen_stack_overflow(p);
 6865|      0|    }
 6866|  85.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (6866:9): [True: 0, False: 85.5k]
  ------------------
 6867|      0|        p->level--;
 6868|      0|        return NULL;
 6869|      0|    }
 6870|  85.5k|    void * _res = NULL;
 6871|  85.5k|    int _mark = p->mark;
 6872|  85.5k|    { // '**' bitwise_or
 6873|  85.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (6873:13): [True: 0, False: 85.5k]
  ------------------
 6874|      0|            p->level--;
 6875|      0|            return NULL;
 6876|      0|        }
 6877|  85.5k|        D(fprintf(stderr, "%*c> invalid_starred_expression_unpacking_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
 6878|  85.5k|        Token * a;
 6879|  85.5k|        expr_ty bitwise_or_var;
 6880|  85.5k|        if (
 6881|  85.5k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (6881:13): [True: 402, False: 85.1k]
  ------------------
 6882|    402|            &&
 6883|    402|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|    402|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (6883:13): [True: 26, False: 376]
  ------------------
 6884|  85.5k|        )
 6885|     26|        {
 6886|     26|            D(fprintf(stderr, "%*c+ invalid_starred_expression_unpacking_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
 6887|     26|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use dict unpacking here" );
  ------------------
  |  |  248|     26|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6888|     26|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6888:18): [True: 26, False: 0]
  |  Branch (6888:34): [True: 0, False: 0]
  |  Branch (6888:57): [True: 26, False: 0]
  ------------------
 6889|     26|                p->error_indicator = 1;
 6890|     26|                p->level--;
 6891|     26|                return NULL;
 6892|     26|            }
 6893|      0|            goto done;
 6894|     26|        }
 6895|  85.5k|        p->mark = _mark;
 6896|  85.5k|        D(fprintf(stderr, "%*c%s invalid_starred_expression_unpacking_sequence[%d-%d]: %s failed!\n", p->level, ' ',
 6897|  85.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' bitwise_or"));
 6898|  85.5k|    }
 6899|  85.5k|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking
  ------------------
  |  Branch (6899:9): [True: 85.5k, False: 0]
  ------------------
 6900|  85.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (6900:13): [True: 75, False: 85.4k]
  ------------------
 6901|     75|            p->level--;
 6902|     75|            return NULL;
 6903|     75|        }
 6904|  85.4k|        D(fprintf(stderr, "%*c> invalid_starred_expression_unpacking_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
 6905|  85.4k|        void *invalid_starred_expression_unpacking_var;
 6906|  85.4k|        if (
 6907|  85.4k|            (invalid_starred_expression_unpacking_var = invalid_starred_expression_unpacking_rule(p))  // invalid_starred_expression_unpacking
  ------------------
  |  |  421|  85.4k|#define invalid_starred_expression_unpacking_rule _PyPegen_invalid_starred_expression_unpacking_rule
  ------------------
  |  Branch (6907:13): [True: 0, False: 85.4k]
  ------------------
 6908|  85.4k|        )
 6909|      0|        {
 6910|      0|            D(fprintf(stderr, "%*c+ invalid_starred_expression_unpacking_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
 6911|      0|            _res = invalid_starred_expression_unpacking_var;
 6912|      0|            goto done;
 6913|      0|        }
 6914|  85.4k|        p->mark = _mark;
 6915|  85.4k|        D(fprintf(stderr, "%*c%s invalid_starred_expression_unpacking_sequence[%d-%d]: %s failed!\n", p->level, ' ',
 6916|  85.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking"));
 6917|  85.4k|    }
 6918|  85.4k|    _res = NULL;
 6919|  85.4k|  done:
 6920|  85.4k|    p->level--;
 6921|  85.4k|    return _res;
 6922|  85.4k|}
_PyPegen_invalid_starred_expression_rule:
 6927|   108k|{
 6928|   108k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   217k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6928:9): [True: 0, False: 108k]
  |  Branch (6928:35): [True: 0, False: 108k]
  ------------------
 6929|      0|        _Pypegen_stack_overflow(p);
 6930|      0|    }
 6931|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (6931:9): [True: 0, False: 108k]
  ------------------
 6932|      0|        p->level--;
 6933|      0|        return NULL;
 6934|      0|    }
 6935|   108k|    void * _res = NULL;
 6936|   108k|    int _mark = p->mark;
 6937|   108k|    { // '*'
 6938|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (6938:13): [True: 0, False: 108k]
  ------------------
 6939|      0|            p->level--;
 6940|      0|            return NULL;
 6941|      0|        }
 6942|   108k|        D(fprintf(stderr, "%*c> invalid_starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*'"));
 6943|   108k|        Token * _literal;
 6944|   108k|        if (
 6945|   108k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (6945:13): [True: 24, False: 108k]
  ------------------
 6946|   108k|        )
 6947|     24|        {
 6948|     24|            D(fprintf(stderr, "%*c+ invalid_starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*'"));
 6949|     24|            _res = RAISE_SYNTAX_ERROR ( "Invalid star expression" );
  ------------------
  |  |  242|     24|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 6950|     24|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6950:18): [True: 24, False: 0]
  |  Branch (6950:34): [True: 0, False: 0]
  |  Branch (6950:57): [True: 24, False: 0]
  ------------------
 6951|     24|                p->error_indicator = 1;
 6952|     24|                p->level--;
 6953|     24|                return NULL;
 6954|     24|            }
 6955|      0|            goto done;
 6956|     24|        }
 6957|   108k|        p->mark = _mark;
 6958|   108k|        D(fprintf(stderr, "%*c%s invalid_starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
 6959|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*'"));
 6960|   108k|    }
 6961|   108k|    _res = NULL;
 6962|   108k|  done:
 6963|   108k|    p->level--;
 6964|   108k|    return _res;
 6965|   108k|}
_PyPegen_invalid_fstring_replacement_field_rule:
 6981|  19.6k|{
 6982|  19.6k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  39.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6982:9): [True: 1, False: 19.6k]
  |  Branch (6982:35): [True: 0, False: 19.6k]
  ------------------
 6983|      1|        _Pypegen_stack_overflow(p);
 6984|      1|    }
 6985|  19.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (6985:9): [True: 1, False: 19.6k]
  ------------------
 6986|      1|        p->level--;
 6987|      1|        return NULL;
 6988|      1|    }
 6989|  19.6k|    void * _res = NULL;
 6990|  19.6k|    int _mark = p->mark;
 6991|  19.6k|    { // '{' '='
 6992|  19.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (6992:13): [True: 0, False: 19.6k]
  ------------------
 6993|      0|            p->level--;
 6994|      0|            return NULL;
 6995|      0|        }
 6996|  19.6k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '='"));
 6997|  19.6k|        Token * _literal;
 6998|  19.6k|        Token * a;
 6999|  19.6k|        if (
 7000|  19.6k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7000:13): [True: 123, False: 19.4k]
  ------------------
 7001|    123|            &&
 7002|    123|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (7002:13): [True: 2, False: 121]
  ------------------
 7003|  19.6k|        )
 7004|      2|        {
 7005|      2|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '='"));
 7006|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "f-string: valid expression required before '='" );
  ------------------
  |  |  248|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 7007|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7007:18): [True: 2, False: 0]
  |  Branch (7007:34): [True: 0, False: 0]
  |  Branch (7007:57): [True: 2, False: 0]
  ------------------
 7008|      2|                p->error_indicator = 1;
 7009|      2|                p->level--;
 7010|      2|                return NULL;
 7011|      2|            }
 7012|      0|            goto done;
 7013|      2|        }
 7014|  19.6k|        p->mark = _mark;
 7015|  19.6k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7016|  19.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '='"));
 7017|  19.6k|    }
 7018|      0|    { // '{' '!'
 7019|  19.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (7019:13): [True: 0, False: 19.6k]
  ------------------
 7020|      0|            p->level--;
 7021|      0|            return NULL;
 7022|      0|        }
 7023|  19.6k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '!'"));
 7024|  19.6k|        Token * _literal;
 7025|  19.6k|        Token * a;
 7026|  19.6k|        if (
 7027|  19.6k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7027:13): [True: 121, False: 19.4k]
  ------------------
 7028|    121|            &&
 7029|    121|            (a = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (7029:13): [True: 8, False: 113]
  ------------------
 7030|  19.6k|        )
 7031|      8|        {
 7032|      8|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '!'"));
 7033|      8|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "f-string: valid expression required before '!'" );
  ------------------
  |  |  248|      8|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 7034|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7034:18): [True: 8, False: 0]
  |  Branch (7034:34): [True: 0, False: 0]
  |  Branch (7034:57): [True: 8, False: 0]
  ------------------
 7035|      8|                p->error_indicator = 1;
 7036|      8|                p->level--;
 7037|      8|                return NULL;
 7038|      8|            }
 7039|      0|            goto done;
 7040|      8|        }
 7041|  19.6k|        p->mark = _mark;
 7042|  19.6k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7043|  19.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '!'"));
 7044|  19.6k|    }
 7045|      0|    { // '{' ':'
 7046|  19.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (7046:13): [True: 0, False: 19.6k]
  ------------------
 7047|      0|            p->level--;
 7048|      0|            return NULL;
 7049|      0|        }
 7050|  19.6k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' ':'"));
 7051|  19.6k|        Token * _literal;
 7052|  19.6k|        Token * a;
 7053|  19.6k|        if (
 7054|  19.6k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7054:13): [True: 113, False: 19.4k]
  ------------------
 7055|    113|            &&
 7056|    113|            (a = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7056:13): [True: 19, False: 94]
  ------------------
 7057|  19.6k|        )
 7058|     19|        {
 7059|     19|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' ':'"));
 7060|     19|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "f-string: valid expression required before ':'" );
  ------------------
  |  |  248|     19|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 7061|     19|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7061:18): [True: 19, False: 0]
  |  Branch (7061:34): [True: 0, False: 0]
  |  Branch (7061:57): [True: 19, False: 0]
  ------------------
 7062|     19|                p->error_indicator = 1;
 7063|     19|                p->level--;
 7064|     19|                return NULL;
 7065|     19|            }
 7066|      0|            goto done;
 7067|     19|        }
 7068|  19.5k|        p->mark = _mark;
 7069|  19.5k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7070|  19.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' ':'"));
 7071|  19.5k|    }
 7072|      0|    { // '{' '}'
 7073|  19.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (7073:13): [True: 0, False: 19.5k]
  ------------------
 7074|      0|            p->level--;
 7075|      0|            return NULL;
 7076|      0|        }
 7077|  19.5k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '}'"));
 7078|  19.5k|        Token * _literal;
 7079|  19.5k|        Token * a;
 7080|  19.5k|        if (
 7081|  19.5k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7081:13): [True: 94, False: 19.4k]
  ------------------
 7082|     94|            &&
 7083|     94|            (a = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (7083:13): [True: 10, False: 84]
  ------------------
 7084|  19.5k|        )
 7085|     10|        {
 7086|     10|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '}'"));
 7087|     10|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "f-string: valid expression required before '}'" );
  ------------------
  |  |  248|     10|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 7088|     10|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7088:18): [True: 10, False: 0]
  |  Branch (7088:34): [True: 0, False: 0]
  |  Branch (7088:57): [True: 10, False: 0]
  ------------------
 7089|     10|                p->error_indicator = 1;
 7090|     10|                p->level--;
 7091|     10|                return NULL;
 7092|     10|            }
 7093|      0|            goto done;
 7094|     10|        }
 7095|  19.5k|        p->mark = _mark;
 7096|  19.5k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7097|  19.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '}'"));
 7098|  19.5k|    }
 7099|      0|    { // '{' !annotated_rhs
 7100|  19.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (7100:13): [True: 0, False: 19.5k]
  ------------------
 7101|      0|            p->level--;
 7102|      0|            return NULL;
 7103|      0|        }
 7104|  19.5k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' !annotated_rhs"));
 7105|  19.5k|        Token * _literal;
 7106|  19.5k|        if (
 7107|  19.5k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7107:13): [True: 84, False: 19.4k]
  ------------------
 7108|     84|            &&
 7109|     84|            _PyPegen_lookahead_for_expr(0, annotated_rhs_rule, p)
  ------------------
  |  |  185|     84|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (7109:13): [True: 16, False: 68]
  ------------------
 7110|  19.5k|        )
 7111|     16|        {
 7112|     16|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' !annotated_rhs"));
 7113|     16|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "f-string: expecting a valid expression after '{'" );
  ------------------
  |  |  244|     16|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
 7114|     16|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7114:18): [True: 16, False: 0]
  |  Branch (7114:34): [True: 0, False: 0]
  |  Branch (7114:57): [True: 16, False: 0]
  ------------------
 7115|     16|                p->error_indicator = 1;
 7116|     16|                p->level--;
 7117|     16|                return NULL;
 7118|     16|            }
 7119|      0|            goto done;
 7120|     16|        }
 7121|  19.5k|        p->mark = _mark;
 7122|  19.5k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7123|  19.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' !annotated_rhs"));
 7124|  19.5k|    }
 7125|      0|    { // '{' annotated_rhs !('=' | '!' | ':' | '}')
 7126|  19.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (7126:13): [True: 0, False: 19.5k]
  ------------------
 7127|      0|            p->level--;
 7128|      0|            return NULL;
 7129|      0|        }
 7130|  19.5k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs !('=' | '!' | ':' | '}')"));
 7131|  19.5k|        Token * _literal;
 7132|  19.5k|        expr_ty annotated_rhs_var;
 7133|  19.5k|        if (
 7134|  19.5k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7134:13): [True: 68, False: 19.4k]
  ------------------
 7135|     68|            &&
 7136|     68|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  185|     68|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (7136:13): [True: 68, False: 0]
  ------------------
 7137|     68|            &&
 7138|     68|            _PyPegen_lookahead(0, _tmp_168_rule, p)
  ------------------
  |  Branch (7138:13): [True: 17, False: 51]
  ------------------
 7139|  19.5k|        )
 7140|     17|        {
 7141|     17|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs !('=' | '!' | ':' | '}')"));
 7142|     17|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "f-string: expecting '=', or '!', or ':', or '}'" );
  ------------------
  |  |  244|     34|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (7142:20): [True: 0, False: 17]
  ------------------
 7143|     17|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7143:18): [True: 17, False: 0]
  |  Branch (7143:34): [True: 0, False: 0]
  |  Branch (7143:57): [True: 17, False: 0]
  ------------------
 7144|     17|                p->error_indicator = 1;
 7145|     17|                p->level--;
 7146|     17|                return NULL;
 7147|     17|            }
 7148|      0|            goto done;
 7149|     17|        }
 7150|  19.5k|        p->mark = _mark;
 7151|  19.5k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7152|  19.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs !('=' | '!' | ':' | '}')"));
 7153|  19.5k|    }
 7154|      0|    { // '{' annotated_rhs '=' !('!' | ':' | '}')
 7155|  19.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (7155:13): [True: 0, False: 19.5k]
  ------------------
 7156|      0|            p->level--;
 7157|      0|            return NULL;
 7158|      0|        }
 7159|  19.5k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '=' !('!' | ':' | '}')"));
 7160|  19.5k|        Token * _literal;
 7161|  19.5k|        Token * _literal_1;
 7162|  19.5k|        expr_ty annotated_rhs_var;
 7163|  19.5k|        if (
 7164|  19.5k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7164:13): [True: 51, False: 19.4k]
  ------------------
 7165|     51|            &&
 7166|     51|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  185|     51|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (7166:13): [True: 51, False: 0]
  ------------------
 7167|     51|            &&
 7168|     51|            (_literal_1 = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (7168:13): [True: 11, False: 40]
  ------------------
 7169|     11|            &&
 7170|     11|            _PyPegen_lookahead(0, _tmp_169_rule, p)
  ------------------
  |  Branch (7170:13): [True: 7, False: 4]
  ------------------
 7171|  19.5k|        )
 7172|      7|        {
 7173|      7|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '=' !('!' | ':' | '}')"));
 7174|      7|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "f-string: expecting '!', or ':', or '}'" );
  ------------------
  |  |  244|     14|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (7174:20): [True: 0, False: 7]
  ------------------
 7175|      7|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7175:18): [True: 7, False: 0]
  |  Branch (7175:34): [True: 0, False: 0]
  |  Branch (7175:57): [True: 7, False: 0]
  ------------------
 7176|      7|                p->error_indicator = 1;
 7177|      7|                p->level--;
 7178|      7|                return NULL;
 7179|      7|            }
 7180|      0|            goto done;
 7181|      7|        }
 7182|  19.5k|        p->mark = _mark;
 7183|  19.5k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7184|  19.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '=' !('!' | ':' | '}')"));
 7185|  19.5k|    }
 7186|      0|    { // '{' annotated_rhs '='? invalid_fstring_conversion_character
 7187|  19.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (7187:13): [True: 0, False: 19.5k]
  ------------------
 7188|      0|            p->level--;
 7189|      0|            return NULL;
 7190|      0|        }
 7191|  19.5k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? invalid_fstring_conversion_character"));
 7192|  19.5k|        Token * _literal;
 7193|  19.5k|        void *_opt_var;
 7194|  19.5k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  19.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 19.5k]
  |  |  ------------------
  ------------------
 7195|  19.5k|        expr_ty annotated_rhs_var;
 7196|  19.5k|        void *invalid_fstring_conversion_character_var;
 7197|  19.5k|        if (
 7198|  19.5k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7198:13): [True: 44, False: 19.4k]
  ------------------
 7199|     44|            &&
 7200|     44|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  185|     44|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (7200:13): [True: 44, False: 0]
  ------------------
 7201|     44|            &&
 7202|     44|            (_opt_var = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (7202:13): [True: 44, False: 0]
  ------------------
 7203|     44|            &&
 7204|     44|            (invalid_fstring_conversion_character_var = invalid_fstring_conversion_character_rule(p))  // invalid_fstring_conversion_character
  ------------------
  |  Branch (7204:13): [True: 0, False: 44]
  ------------------
 7205|  19.5k|        )
 7206|      0|        {
 7207|      0|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? invalid_fstring_conversion_character"));
 7208|      0|            _res = _PyPegen_dummy_name(p, _literal, annotated_rhs_var, _opt_var, invalid_fstring_conversion_character_var);
 7209|      0|            goto done;
 7210|      0|        }
 7211|  19.5k|        p->mark = _mark;
 7212|  19.5k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7213|  19.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? invalid_fstring_conversion_character"));
 7214|  19.5k|    }
 7215|      0|    { // '{' annotated_rhs '='? ['!' NAME] !(':' | '}')
 7216|  19.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (7216:13): [True: 14, False: 19.5k]
  ------------------
 7217|     14|            p->level--;
 7218|     14|            return NULL;
 7219|     14|        }
 7220|  19.5k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !(':' | '}')"));
 7221|  19.5k|        Token * _literal;
 7222|  19.5k|        void *_opt_var;
 7223|  19.5k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  19.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 19.5k]
  |  |  ------------------
  ------------------
 7224|  19.5k|        void *_opt_var_1;
 7225|  19.5k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  314|  19.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 19.5k]
  |  |  ------------------
  ------------------
 7226|  19.5k|        expr_ty annotated_rhs_var;
 7227|  19.5k|        if (
 7228|  19.5k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7228:13): [True: 30, False: 19.4k]
  ------------------
 7229|     30|            &&
 7230|     30|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  185|     30|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (7230:13): [True: 30, False: 0]
  ------------------
 7231|     30|            &&
 7232|     30|            (_opt_var = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (7232:13): [True: 30, False: 0]
  ------------------
 7233|     30|            &&
 7234|     30|            (_opt_var_1 = _tmp_170_rule(p), !p->error_indicator)  // ['!' NAME]
  ------------------
  |  Branch (7234:13): [True: 30, False: 0]
  ------------------
 7235|     30|            &&
 7236|     30|            _PyPegen_lookahead(0, _tmp_171_rule, p)
  ------------------
  |  Branch (7236:13): [True: 2, False: 28]
  ------------------
 7237|  19.5k|        )
 7238|      2|        {
 7239|      2|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !(':' | '}')"));
 7240|      2|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "f-string: expecting ':' or '}'" );
  ------------------
  |  |  244|      4|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (7240:20): [True: 0, False: 2]
  ------------------
 7241|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7241:18): [True: 2, False: 0]
  |  Branch (7241:34): [True: 0, False: 0]
  |  Branch (7241:57): [True: 2, False: 0]
  ------------------
 7242|      2|                p->error_indicator = 1;
 7243|      2|                p->level--;
 7244|      2|                return NULL;
 7245|      2|            }
 7246|      0|            goto done;
 7247|      2|        }
 7248|  19.5k|        p->mark = _mark;
 7249|  19.5k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7250|  19.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !(':' | '}')"));
 7251|  19.5k|    }
 7252|      0|    { // '{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}'
 7253|  19.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (7253:13): [True: 0, False: 19.5k]
  ------------------
 7254|      0|            p->level--;
 7255|      0|            return NULL;
 7256|      0|        }
 7257|  19.5k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}'"));
 7258|  19.5k|        Token * _literal;
 7259|  19.5k|        Token * _literal_1;
 7260|  19.5k|        asdl_seq * _loop0_172_var;
 7261|  19.5k|        void *_opt_var;
 7262|  19.5k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  19.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 19.5k]
  |  |  ------------------
  ------------------
 7263|  19.5k|        void *_opt_var_1;
 7264|  19.5k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  314|  19.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 19.5k]
  |  |  ------------------
  ------------------
 7265|  19.5k|        expr_ty annotated_rhs_var;
 7266|  19.5k|        if (
 7267|  19.5k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7267:13): [True: 28, False: 19.4k]
  ------------------
 7268|     28|            &&
 7269|     28|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  185|     28|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (7269:13): [True: 28, False: 0]
  ------------------
 7270|     28|            &&
 7271|     28|            (_opt_var = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (7271:13): [True: 28, False: 0]
  ------------------
 7272|     28|            &&
 7273|     28|            (_opt_var_1 = _tmp_170_rule(p), !p->error_indicator)  // ['!' NAME]
  ------------------
  |  Branch (7273:13): [True: 28, False: 0]
  ------------------
 7274|     28|            &&
 7275|     28|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7275:13): [True: 28, False: 0]
  ------------------
 7276|     28|            &&
 7277|     28|            (_loop0_172_var = _loop0_172_rule(p))  // fstring_format_spec*
  ------------------
  |  Branch (7277:13): [True: 28, False: 0]
  ------------------
 7278|     28|            &&
 7279|     28|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 26)  // token='}'
  ------------------
  |  Branch (7279:13): [True: 28, False: 0]
  ------------------
 7280|  19.5k|        )
 7281|     28|        {
 7282|     28|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}'"));
 7283|     28|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "f-string: expecting '}', or format specs" );
  ------------------
  |  |  244|     56|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (7283:20): [True: 0, False: 28]
  ------------------
 7284|     28|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7284:18): [True: 28, False: 0]
  |  Branch (7284:34): [True: 0, False: 0]
  |  Branch (7284:57): [True: 28, False: 0]
  ------------------
 7285|     28|                p->error_indicator = 1;
 7286|     28|                p->level--;
 7287|     28|                return NULL;
 7288|     28|            }
 7289|      0|            goto done;
 7290|     28|        }
 7291|  19.4k|        p->mark = _mark;
 7292|  19.4k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7293|  19.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}'"));
 7294|  19.4k|    }
 7295|      0|    { // '{' annotated_rhs '='? ['!' NAME] !'}'
 7296|  19.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (7296:13): [True: 0, False: 19.4k]
  ------------------
 7297|      0|            p->level--;
 7298|      0|            return NULL;
 7299|      0|        }
 7300|  19.4k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !'}'"));
 7301|  19.4k|        Token * _literal;
 7302|  19.4k|        void *_opt_var;
 7303|  19.4k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  19.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 19.4k]
  |  |  ------------------
  ------------------
 7304|  19.4k|        void *_opt_var_1;
 7305|  19.4k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  314|  19.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 19.4k]
  |  |  ------------------
  ------------------
 7306|  19.4k|        expr_ty annotated_rhs_var;
 7307|  19.4k|        if (
 7308|  19.4k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7308:13): [True: 0, False: 19.4k]
  ------------------
 7309|      0|            &&
 7310|      0|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  185|      0|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (7310:13): [True: 0, False: 0]
  ------------------
 7311|      0|            &&
 7312|      0|            (_opt_var = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (7312:13): [True: 0, False: 0]
  ------------------
 7313|      0|            &&
 7314|      0|            (_opt_var_1 = _tmp_170_rule(p), !p->error_indicator)  // ['!' NAME]
  ------------------
  |  Branch (7314:13): [True: 0, False: 0]
  ------------------
 7315|      0|            &&
 7316|      0|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 26)  // token='}'
  ------------------
  |  Branch (7316:13): [True: 0, False: 0]
  ------------------
 7317|  19.4k|        )
 7318|      0|        {
 7319|      0|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !'}'"));
 7320|      0|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "f-string: expecting '}'" );
  ------------------
  |  |  244|      0|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (7320:20): [True: 0, False: 0]
  ------------------
 7321|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7321:18): [True: 0, False: 0]
  |  Branch (7321:34): [True: 0, False: 0]
  |  Branch (7321:57): [True: 0, False: 0]
  ------------------
 7322|      0|                p->error_indicator = 1;
 7323|      0|                p->level--;
 7324|      0|                return NULL;
 7325|      0|            }
 7326|      0|            goto done;
 7327|      0|        }
 7328|  19.4k|        p->mark = _mark;
 7329|  19.4k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7330|  19.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !'}'"));
 7331|  19.4k|    }
 7332|  19.4k|    _res = NULL;
 7333|  19.4k|  done:
 7334|  19.4k|    p->level--;
 7335|  19.4k|    return _res;
 7336|  19.4k|}
_PyPegen_invalid_tstring_replacement_field_rule:
 7423|  4.15k|{
 7424|  4.15k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.31k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7424:9): [True: 0, False: 4.15k]
  |  Branch (7424:35): [True: 0, False: 4.15k]
  ------------------
 7425|      0|        _Pypegen_stack_overflow(p);
 7426|      0|    }
 7427|  4.15k|    if (p->error_indicator) {
  ------------------
  |  Branch (7427:9): [True: 0, False: 4.15k]
  ------------------
 7428|      0|        p->level--;
 7429|      0|        return NULL;
 7430|      0|    }
 7431|  4.15k|    void * _res = NULL;
 7432|  4.15k|    int _mark = p->mark;
 7433|  4.15k|    { // '{' '='
 7434|  4.15k|        if (p->error_indicator) {
  ------------------
  |  Branch (7434:13): [True: 0, False: 4.15k]
  ------------------
 7435|      0|            p->level--;
 7436|      0|            return NULL;
 7437|      0|        }
 7438|  4.15k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '='"));
 7439|  4.15k|        Token * _literal;
 7440|  4.15k|        Token * a;
 7441|  4.15k|        if (
 7442|  4.15k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7442:13): [True: 137, False: 4.02k]
  ------------------
 7443|    137|            &&
 7444|    137|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (7444:13): [True: 6, False: 131]
  ------------------
 7445|  4.15k|        )
 7446|      6|        {
 7447|      6|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '='"));
 7448|      6|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "t-string: valid expression required before '='" );
  ------------------
  |  |  248|      6|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 7449|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7449:18): [True: 6, False: 0]
  |  Branch (7449:34): [True: 0, False: 0]
  |  Branch (7449:57): [True: 6, False: 0]
  ------------------
 7450|      6|                p->error_indicator = 1;
 7451|      6|                p->level--;
 7452|      6|                return NULL;
 7453|      6|            }
 7454|      0|            goto done;
 7455|      6|        }
 7456|  4.15k|        p->mark = _mark;
 7457|  4.15k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7458|  4.15k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '='"));
 7459|  4.15k|    }
 7460|      0|    { // '{' '!'
 7461|  4.15k|        if (p->error_indicator) {
  ------------------
  |  Branch (7461:13): [True: 0, False: 4.15k]
  ------------------
 7462|      0|            p->level--;
 7463|      0|            return NULL;
 7464|      0|        }
 7465|  4.15k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '!'"));
 7466|  4.15k|        Token * _literal;
 7467|  4.15k|        Token * a;
 7468|  4.15k|        if (
 7469|  4.15k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7469:13): [True: 131, False: 4.02k]
  ------------------
 7470|    131|            &&
 7471|    131|            (a = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (7471:13): [True: 3, False: 128]
  ------------------
 7472|  4.15k|        )
 7473|      3|        {
 7474|      3|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '!'"));
 7475|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "t-string: valid expression required before '!'" );
  ------------------
  |  |  248|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 7476|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7476:18): [True: 3, False: 0]
  |  Branch (7476:34): [True: 0, False: 0]
  |  Branch (7476:57): [True: 3, False: 0]
  ------------------
 7477|      3|                p->error_indicator = 1;
 7478|      3|                p->level--;
 7479|      3|                return NULL;
 7480|      3|            }
 7481|      0|            goto done;
 7482|      3|        }
 7483|  4.14k|        p->mark = _mark;
 7484|  4.14k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7485|  4.14k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '!'"));
 7486|  4.14k|    }
 7487|      0|    { // '{' ':'
 7488|  4.14k|        if (p->error_indicator) {
  ------------------
  |  Branch (7488:13): [True: 0, False: 4.14k]
  ------------------
 7489|      0|            p->level--;
 7490|      0|            return NULL;
 7491|      0|        }
 7492|  4.14k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' ':'"));
 7493|  4.14k|        Token * _literal;
 7494|  4.14k|        Token * a;
 7495|  4.14k|        if (
 7496|  4.14k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7496:13): [True: 128, False: 4.02k]
  ------------------
 7497|    128|            &&
 7498|    128|            (a = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7498:13): [True: 25, False: 103]
  ------------------
 7499|  4.14k|        )
 7500|     25|        {
 7501|     25|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' ':'"));
 7502|     25|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "t-string: valid expression required before ':'" );
  ------------------
  |  |  248|     25|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 7503|     25|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7503:18): [True: 25, False: 0]
  |  Branch (7503:34): [True: 0, False: 0]
  |  Branch (7503:57): [True: 25, False: 0]
  ------------------
 7504|     25|                p->error_indicator = 1;
 7505|     25|                p->level--;
 7506|     25|                return NULL;
 7507|     25|            }
 7508|      0|            goto done;
 7509|     25|        }
 7510|  4.12k|        p->mark = _mark;
 7511|  4.12k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7512|  4.12k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' ':'"));
 7513|  4.12k|    }
 7514|      0|    { // '{' '}'
 7515|  4.12k|        if (p->error_indicator) {
  ------------------
  |  Branch (7515:13): [True: 0, False: 4.12k]
  ------------------
 7516|      0|            p->level--;
 7517|      0|            return NULL;
 7518|      0|        }
 7519|  4.12k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '}'"));
 7520|  4.12k|        Token * _literal;
 7521|  4.12k|        Token * a;
 7522|  4.12k|        if (
 7523|  4.12k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7523:13): [True: 103, False: 4.02k]
  ------------------
 7524|    103|            &&
 7525|    103|            (a = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (7525:13): [True: 12, False: 91]
  ------------------
 7526|  4.12k|        )
 7527|     12|        {
 7528|     12|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '}'"));
 7529|     12|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "t-string: valid expression required before '}'" );
  ------------------
  |  |  248|     12|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 7530|     12|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7530:18): [True: 12, False: 0]
  |  Branch (7530:34): [True: 0, False: 0]
  |  Branch (7530:57): [True: 12, False: 0]
  ------------------
 7531|     12|                p->error_indicator = 1;
 7532|     12|                p->level--;
 7533|     12|                return NULL;
 7534|     12|            }
 7535|      0|            goto done;
 7536|     12|        }
 7537|  4.11k|        p->mark = _mark;
 7538|  4.11k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7539|  4.11k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '}'"));
 7540|  4.11k|    }
 7541|      0|    { // '{' !annotated_rhs
 7542|  4.11k|        if (p->error_indicator) {
  ------------------
  |  Branch (7542:13): [True: 0, False: 4.11k]
  ------------------
 7543|      0|            p->level--;
 7544|      0|            return NULL;
 7545|      0|        }
 7546|  4.11k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' !annotated_rhs"));
 7547|  4.11k|        Token * _literal;
 7548|  4.11k|        if (
 7549|  4.11k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7549:13): [True: 91, False: 4.02k]
  ------------------
 7550|     91|            &&
 7551|     91|            _PyPegen_lookahead_for_expr(0, annotated_rhs_rule, p)
  ------------------
  |  |  185|     91|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (7551:13): [True: 19, False: 72]
  ------------------
 7552|  4.11k|        )
 7553|     19|        {
 7554|     19|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' !annotated_rhs"));
 7555|     19|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "t-string: expecting a valid expression after '{'" );
  ------------------
  |  |  244|     19|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
 7556|     19|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7556:18): [True: 19, False: 0]
  |  Branch (7556:34): [True: 0, False: 0]
  |  Branch (7556:57): [True: 19, False: 0]
  ------------------
 7557|     19|                p->error_indicator = 1;
 7558|     19|                p->level--;
 7559|     19|                return NULL;
 7560|     19|            }
 7561|      0|            goto done;
 7562|     19|        }
 7563|  4.09k|        p->mark = _mark;
 7564|  4.09k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7565|  4.09k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' !annotated_rhs"));
 7566|  4.09k|    }
 7567|      0|    { // '{' annotated_rhs !('=' | '!' | ':' | '}')
 7568|  4.09k|        if (p->error_indicator) {
  ------------------
  |  Branch (7568:13): [True: 0, False: 4.09k]
  ------------------
 7569|      0|            p->level--;
 7570|      0|            return NULL;
 7571|      0|        }
 7572|  4.09k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs !('=' | '!' | ':' | '}')"));
 7573|  4.09k|        Token * _literal;
 7574|  4.09k|        expr_ty annotated_rhs_var;
 7575|  4.09k|        if (
 7576|  4.09k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7576:13): [True: 72, False: 4.02k]
  ------------------
 7577|     72|            &&
 7578|     72|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  185|     72|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (7578:13): [True: 72, False: 0]
  ------------------
 7579|     72|            &&
 7580|     72|            _PyPegen_lookahead(0, _tmp_168_rule, p)
  ------------------
  |  Branch (7580:13): [True: 28, False: 44]
  ------------------
 7581|  4.09k|        )
 7582|     28|        {
 7583|     28|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs !('=' | '!' | ':' | '}')"));
 7584|     28|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "t-string: expecting '=', or '!', or ':', or '}'" );
  ------------------
  |  |  244|     56|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (7584:20): [True: 0, False: 28]
  ------------------
 7585|     28|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7585:18): [True: 28, False: 0]
  |  Branch (7585:34): [True: 0, False: 0]
  |  Branch (7585:57): [True: 28, False: 0]
  ------------------
 7586|     28|                p->error_indicator = 1;
 7587|     28|                p->level--;
 7588|     28|                return NULL;
 7589|     28|            }
 7590|      0|            goto done;
 7591|     28|        }
 7592|  4.06k|        p->mark = _mark;
 7593|  4.06k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7594|  4.06k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs !('=' | '!' | ':' | '}')"));
 7595|  4.06k|    }
 7596|      0|    { // '{' annotated_rhs '=' !('!' | ':' | '}')
 7597|  4.06k|        if (p->error_indicator) {
  ------------------
  |  Branch (7597:13): [True: 0, False: 4.06k]
  ------------------
 7598|      0|            p->level--;
 7599|      0|            return NULL;
 7600|      0|        }
 7601|  4.06k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '=' !('!' | ':' | '}')"));
 7602|  4.06k|        Token * _literal;
 7603|  4.06k|        Token * _literal_1;
 7604|  4.06k|        expr_ty annotated_rhs_var;
 7605|  4.06k|        if (
 7606|  4.06k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7606:13): [True: 44, False: 4.02k]
  ------------------
 7607|     44|            &&
 7608|     44|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  185|     44|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (7608:13): [True: 44, False: 0]
  ------------------
 7609|     44|            &&
 7610|     44|            (_literal_1 = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (7610:13): [True: 10, False: 34]
  ------------------
 7611|     10|            &&
 7612|     10|            _PyPegen_lookahead(0, _tmp_169_rule, p)
  ------------------
  |  Branch (7612:13): [True: 7, False: 3]
  ------------------
 7613|  4.06k|        )
 7614|      7|        {
 7615|      7|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '=' !('!' | ':' | '}')"));
 7616|      7|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "t-string: expecting '!', or ':', or '}'" );
  ------------------
  |  |  244|     14|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (7616:20): [True: 0, False: 7]
  ------------------
 7617|      7|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7617:18): [True: 7, False: 0]
  |  Branch (7617:34): [True: 0, False: 0]
  |  Branch (7617:57): [True: 7, False: 0]
  ------------------
 7618|      7|                p->error_indicator = 1;
 7619|      7|                p->level--;
 7620|      7|                return NULL;
 7621|      7|            }
 7622|      0|            goto done;
 7623|      7|        }
 7624|  4.05k|        p->mark = _mark;
 7625|  4.05k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7626|  4.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '=' !('!' | ':' | '}')"));
 7627|  4.05k|    }
 7628|      0|    { // '{' annotated_rhs '='? invalid_tstring_conversion_character
 7629|  4.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (7629:13): [True: 0, False: 4.05k]
  ------------------
 7630|      0|            p->level--;
 7631|      0|            return NULL;
 7632|      0|        }
 7633|  4.05k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? invalid_tstring_conversion_character"));
 7634|  4.05k|        Token * _literal;
 7635|  4.05k|        void *_opt_var;
 7636|  4.05k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  4.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
 7637|  4.05k|        expr_ty annotated_rhs_var;
 7638|  4.05k|        void *invalid_tstring_conversion_character_var;
 7639|  4.05k|        if (
 7640|  4.05k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7640:13): [True: 37, False: 4.02k]
  ------------------
 7641|     37|            &&
 7642|     37|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  185|     37|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (7642:13): [True: 37, False: 0]
  ------------------
 7643|     37|            &&
 7644|     37|            (_opt_var = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (7644:13): [True: 37, False: 0]
  ------------------
 7645|     37|            &&
 7646|     37|            (invalid_tstring_conversion_character_var = invalid_tstring_conversion_character_rule(p))  // invalid_tstring_conversion_character
  ------------------
  |  Branch (7646:13): [True: 0, False: 37]
  ------------------
 7647|  4.05k|        )
 7648|      0|        {
 7649|      0|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? invalid_tstring_conversion_character"));
 7650|      0|            _res = _PyPegen_dummy_name(p, _literal, annotated_rhs_var, _opt_var, invalid_tstring_conversion_character_var);
 7651|      0|            goto done;
 7652|      0|        }
 7653|  4.05k|        p->mark = _mark;
 7654|  4.05k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7655|  4.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? invalid_tstring_conversion_character"));
 7656|  4.05k|    }
 7657|      0|    { // '{' annotated_rhs '='? ['!' NAME] !(':' | '}')
 7658|  4.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (7658:13): [True: 5, False: 4.05k]
  ------------------
 7659|      5|            p->level--;
 7660|      5|            return NULL;
 7661|      5|        }
 7662|  4.05k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !(':' | '}')"));
 7663|  4.05k|        Token * _literal;
 7664|  4.05k|        void *_opt_var;
 7665|  4.05k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  4.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
 7666|  4.05k|        void *_opt_var_1;
 7667|  4.05k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  314|  4.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
 7668|  4.05k|        expr_ty annotated_rhs_var;
 7669|  4.05k|        if (
 7670|  4.05k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7670:13): [True: 32, False: 4.02k]
  ------------------
 7671|     32|            &&
 7672|     32|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  185|     32|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (7672:13): [True: 32, False: 0]
  ------------------
 7673|     32|            &&
 7674|     32|            (_opt_var = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (7674:13): [True: 32, False: 0]
  ------------------
 7675|     32|            &&
 7676|     32|            (_opt_var_1 = _tmp_170_rule(p), !p->error_indicator)  // ['!' NAME]
  ------------------
  |  Branch (7676:13): [True: 32, False: 0]
  ------------------
 7677|     32|            &&
 7678|     32|            _PyPegen_lookahead(0, _tmp_171_rule, p)
  ------------------
  |  Branch (7678:13): [True: 2, False: 30]
  ------------------
 7679|  4.05k|        )
 7680|      2|        {
 7681|      2|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !(':' | '}')"));
 7682|      2|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "t-string: expecting ':' or '}'" );
  ------------------
  |  |  244|      4|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (7682:20): [True: 0, False: 2]
  ------------------
 7683|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7683:18): [True: 2, False: 0]
  |  Branch (7683:34): [True: 0, False: 0]
  |  Branch (7683:57): [True: 2, False: 0]
  ------------------
 7684|      2|                p->error_indicator = 1;
 7685|      2|                p->level--;
 7686|      2|                return NULL;
 7687|      2|            }
 7688|      0|            goto done;
 7689|      2|        }
 7690|  4.05k|        p->mark = _mark;
 7691|  4.05k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7692|  4.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !(':' | '}')"));
 7693|  4.05k|    }
 7694|      0|    { // '{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}'
 7695|  4.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (7695:13): [True: 0, False: 4.05k]
  ------------------
 7696|      0|            p->level--;
 7697|      0|            return NULL;
 7698|      0|        }
 7699|  4.05k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}'"));
 7700|  4.05k|        Token * _literal;
 7701|  4.05k|        Token * _literal_1;
 7702|  4.05k|        asdl_seq * _loop0_172_var;
 7703|  4.05k|        void *_opt_var;
 7704|  4.05k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  4.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
 7705|  4.05k|        void *_opt_var_1;
 7706|  4.05k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  314|  4.05k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
 7707|  4.05k|        expr_ty annotated_rhs_var;
 7708|  4.05k|        if (
 7709|  4.05k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7709:13): [True: 30, False: 4.02k]
  ------------------
 7710|     30|            &&
 7711|     30|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  185|     30|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (7711:13): [True: 30, False: 0]
  ------------------
 7712|     30|            &&
 7713|     30|            (_opt_var = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (7713:13): [True: 30, False: 0]
  ------------------
 7714|     30|            &&
 7715|     30|            (_opt_var_1 = _tmp_170_rule(p), !p->error_indicator)  // ['!' NAME]
  ------------------
  |  Branch (7715:13): [True: 30, False: 0]
  ------------------
 7716|     30|            &&
 7717|     30|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7717:13): [True: 30, False: 0]
  ------------------
 7718|     30|            &&
 7719|     30|            (_loop0_172_var = _loop0_172_rule(p))  // fstring_format_spec*
  ------------------
  |  Branch (7719:13): [True: 30, False: 0]
  ------------------
 7720|     30|            &&
 7721|     30|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 26)  // token='}'
  ------------------
  |  Branch (7721:13): [True: 30, False: 0]
  ------------------
 7722|  4.05k|        )
 7723|     30|        {
 7724|     30|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}'"));
 7725|     30|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "t-string: expecting '}', or format specs" );
  ------------------
  |  |  244|     56|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (7725:20): [True: 4, False: 26]
  ------------------
 7726|     30|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7726:18): [True: 30, False: 0]
  |  Branch (7726:34): [True: 0, False: 0]
  |  Branch (7726:57): [True: 30, False: 0]
  ------------------
 7727|     30|                p->error_indicator = 1;
 7728|     30|                p->level--;
 7729|     30|                return NULL;
 7730|     30|            }
 7731|      0|            goto done;
 7732|     30|        }
 7733|  4.02k|        p->mark = _mark;
 7734|  4.02k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7735|  4.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}'"));
 7736|  4.02k|    }
 7737|      0|    { // '{' annotated_rhs '='? ['!' NAME] !'}'
 7738|  4.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (7738:13): [True: 0, False: 4.02k]
  ------------------
 7739|      0|            p->level--;
 7740|      0|            return NULL;
 7741|      0|        }
 7742|  4.02k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !'}'"));
 7743|  4.02k|        Token * _literal;
 7744|  4.02k|        void *_opt_var;
 7745|  4.02k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  4.02k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.02k]
  |  |  ------------------
  ------------------
 7746|  4.02k|        void *_opt_var_1;
 7747|  4.02k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  314|  4.02k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 4.02k]
  |  |  ------------------
  ------------------
 7748|  4.02k|        expr_ty annotated_rhs_var;
 7749|  4.02k|        if (
 7750|  4.02k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (7750:13): [True: 0, False: 4.02k]
  ------------------
 7751|      0|            &&
 7752|      0|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  |  185|      0|#define annotated_rhs_rule _PyPegen_annotated_rhs_rule
  ------------------
  |  Branch (7752:13): [True: 0, False: 0]
  ------------------
 7753|      0|            &&
 7754|      0|            (_opt_var = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (7754:13): [True: 0, False: 0]
  ------------------
 7755|      0|            &&
 7756|      0|            (_opt_var_1 = _tmp_170_rule(p), !p->error_indicator)  // ['!' NAME]
  ------------------
  |  Branch (7756:13): [True: 0, False: 0]
  ------------------
 7757|      0|            &&
 7758|      0|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 26)  // token='}'
  ------------------
  |  Branch (7758:13): [True: 0, False: 0]
  ------------------
 7759|  4.02k|        )
 7760|      0|        {
 7761|      0|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !'}'"));
 7762|      0|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "t-string: expecting '}'" );
  ------------------
  |  |  244|      0|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (7762:20): [True: 0, False: 0]
  ------------------
 7763|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7763:18): [True: 0, False: 0]
  |  Branch (7763:34): [True: 0, False: 0]
  |  Branch (7763:57): [True: 0, False: 0]
  ------------------
 7764|      0|                p->error_indicator = 1;
 7765|      0|                p->level--;
 7766|      0|                return NULL;
 7767|      0|            }
 7768|      0|            goto done;
 7769|      0|        }
 7770|  4.02k|        p->mark = _mark;
 7771|  4.02k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
 7772|  4.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !'}'"));
 7773|  4.02k|    }
 7774|  4.02k|    _res = NULL;
 7775|  4.02k|  done:
 7776|  4.02k|    p->level--;
 7777|  4.02k|    return _res;
 7778|  4.02k|}
_PyPegen_invalid_string_tstring_concat_rule:
 7856|  37.0k|{
 7857|  37.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  74.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7857:9): [True: 2, False: 37.0k]
  |  Branch (7857:35): [True: 0, False: 37.0k]
  ------------------
 7858|      2|        _Pypegen_stack_overflow(p);
 7859|      2|    }
 7860|  37.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (7860:9): [True: 2, False: 37.0k]
  ------------------
 7861|      2|        p->level--;
 7862|      2|        return NULL;
 7863|      2|    }
 7864|  37.0k|    void * _res = NULL;
 7865|  37.0k|    int _mark = p->mark;
 7866|  37.0k|    { // ((fstring | string))+ tstring
 7867|  37.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (7867:13): [True: 0, False: 37.0k]
  ------------------
 7868|      0|            p->level--;
 7869|      0|            return NULL;
 7870|      0|        }
 7871|  37.0k|        D(fprintf(stderr, "%*c> invalid_string_tstring_concat[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((fstring | string))+ tstring"));
 7872|  37.0k|        asdl_seq * a;
 7873|  37.0k|        expr_ty b;
 7874|  37.0k|        if (
 7875|  37.0k|            (a = _loop1_173_rule(p))  // ((fstring | string))+
  ------------------
  |  Branch (7875:13): [True: 7.56k, False: 29.4k]
  ------------------
 7876|  7.56k|            &&
 7877|  7.56k|            (b = (expr_ty)tstring_rule(p))  // tstring
  ------------------
  |  |  291|  7.56k|#define tstring_rule _PyPegen_tstring_rule
  ------------------
  |  Branch (7877:13): [True: 3, False: 7.56k]
  ------------------
 7878|  37.0k|        )
 7879|      3|        {
 7880|      3|            D(fprintf(stderr, "%*c+ invalid_string_tstring_concat[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((fstring | string))+ tstring"));
 7881|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( PyPegen_last_item ( a , expr_ty ) , b , "cannot mix t-string literals with string or bytes literals" );
  ------------------
  |  |  246|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 7882|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7882:18): [True: 3, False: 0]
  |  Branch (7882:34): [True: 0, False: 0]
  |  Branch (7882:57): [True: 3, False: 0]
  ------------------
 7883|      3|                p->error_indicator = 1;
 7884|      3|                p->level--;
 7885|      3|                return NULL;
 7886|      3|            }
 7887|      0|            goto done;
 7888|      3|        }
 7889|  37.0k|        p->mark = _mark;
 7890|  37.0k|        D(fprintf(stderr, "%*c%s invalid_string_tstring_concat[%d-%d]: %s failed!\n", p->level, ' ',
 7891|  37.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((fstring | string))+ tstring"));
 7892|  37.0k|    }
 7893|      0|    { // tstring+ (fstring | string)
 7894|  37.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (7894:13): [True: 1.80k, False: 35.2k]
  ------------------
 7895|  1.80k|            p->level--;
 7896|  1.80k|            return NULL;
 7897|  1.80k|        }
 7898|  35.2k|        D(fprintf(stderr, "%*c> invalid_string_tstring_concat[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring+ (fstring | string)"));
 7899|  35.2k|        asdl_seq * a;
 7900|  35.2k|        expr_ty b;
 7901|  35.2k|        if (
 7902|  35.2k|            (a = _loop1_174_rule(p))  // tstring+
  ------------------
  |  Branch (7902:13): [True: 853, False: 34.3k]
  ------------------
 7903|    853|            &&
 7904|    853|            (b = (expr_ty)_tmp_175_rule(p))  // fstring | string
  ------------------
  |  Branch (7904:13): [True: 5, False: 848]
  ------------------
 7905|  35.2k|        )
 7906|      5|        {
 7907|      5|            D(fprintf(stderr, "%*c+ invalid_string_tstring_concat[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tstring+ (fstring | string)"));
 7908|      5|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( PyPegen_last_item ( a , expr_ty ) , b , "cannot mix t-string literals with string or bytes literals" );
  ------------------
  |  |  246|      5|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 7909|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7909:18): [True: 5, False: 0]
  |  Branch (7909:34): [True: 0, False: 0]
  |  Branch (7909:57): [True: 5, False: 0]
  ------------------
 7910|      5|                p->error_indicator = 1;
 7911|      5|                p->level--;
 7912|      5|                return NULL;
 7913|      5|            }
 7914|      0|            goto done;
 7915|      5|        }
 7916|  35.2k|        p->mark = _mark;
 7917|  35.2k|        D(fprintf(stderr, "%*c%s invalid_string_tstring_concat[%d-%d]: %s failed!\n", p->level, ' ',
 7918|  35.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring+ (fstring | string)"));
 7919|  35.2k|    }
 7920|  35.2k|    _res = NULL;
 7921|  35.2k|  done:
 7922|  35.2k|    p->level--;
 7923|  35.2k|    return _res;
 7924|  35.2k|}
_PyPegen_invalid_arithmetic_rule:
 7930|   368k|{
 7931|   368k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   736k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7931:9): [True: 0, False: 368k]
  |  Branch (7931:35): [True: 0, False: 368k]
  ------------------
 7932|      0|        _Pypegen_stack_overflow(p);
 7933|      0|    }
 7934|   368k|    if (p->error_indicator) {
  ------------------
  |  Branch (7934:9): [True: 0, False: 368k]
  ------------------
 7935|      0|        p->level--;
 7936|      0|        return NULL;
 7937|      0|    }
 7938|   368k|    void * _res = NULL;
 7939|   368k|    int _mark = p->mark;
 7940|   368k|    { // sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion
 7941|   368k|        if (p->error_indicator) {
  ------------------
  |  Branch (7941:13): [True: 0, False: 368k]
  ------------------
 7942|      0|            p->level--;
 7943|      0|            return NULL;
 7944|      0|        }
 7945|   368k|        D(fprintf(stderr, "%*c> invalid_arithmetic[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
 7946|   368k|        void *_tmp_176_var;
 7947|   368k|        Token * a;
 7948|   368k|        expr_ty b;
 7949|   368k|        expr_ty sum_var;
 7950|   368k|        if (
 7951|   368k|            (sum_var = sum_rule(p))  // sum
  ------------------
  |  |  267|   368k|#define sum_rule _PyPegen_sum_rule
  ------------------
  |  Branch (7951:13): [True: 131k, False: 237k]
  ------------------
 7952|   131k|            &&
 7953|   131k|            (_tmp_176_var = _tmp_176_rule(p))  // '+' | '-' | '*' | '/' | '%' | '//' | '@'
  ------------------
  |  Branch (7953:13): [True: 2.49k, False: 128k]
  ------------------
 7954|  2.49k|            &&
 7955|  2.49k|            (a = _PyPegen_expect_token(p, 531))  // token='not'
  ------------------
  |  Branch (7955:13): [True: 104, False: 2.39k]
  ------------------
 7956|    104|            &&
 7957|    104|            (b = inversion_rule(p))  // inversion
  ------------------
  |  |  261|    104|#define inversion_rule _PyPegen_inversion_rule
  ------------------
  |  Branch (7957:13): [True: 1, False: 103]
  ------------------
 7958|   368k|        )
 7959|      1|        {
 7960|      1|            D(fprintf(stderr, "%*c+ invalid_arithmetic[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
 7961|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "'not' after an operator must be parenthesized" );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 7962|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7962:18): [True: 1, False: 0]
  |  Branch (7962:34): [True: 0, False: 0]
  |  Branch (7962:57): [True: 1, False: 0]
  ------------------
 7963|      1|                p->error_indicator = 1;
 7964|      1|                p->level--;
 7965|      1|                return NULL;
 7966|      1|            }
 7967|      0|            goto done;
 7968|      1|        }
 7969|   368k|        p->mark = _mark;
 7970|   368k|        D(fprintf(stderr, "%*c%s invalid_arithmetic[%d-%d]: %s failed!\n", p->level, ' ',
 7971|   368k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
 7972|   368k|    }
 7973|   368k|    _res = NULL;
 7974|   368k|  done:
 7975|   368k|    p->level--;
 7976|   368k|    return _res;
 7977|   368k|}
_PyPegen_invalid_factor_rule:
 7982|  91.1k|{
 7983|  91.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   182k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7983:9): [True: 0, False: 91.1k]
  |  Branch (7983:35): [True: 0, False: 91.1k]
  ------------------
 7984|      0|        _Pypegen_stack_overflow(p);
 7985|      0|    }
 7986|  91.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (7986:9): [True: 0, False: 91.1k]
  ------------------
 7987|      0|        p->level--;
 7988|      0|        return NULL;
 7989|      0|    }
 7990|  91.1k|    void * _res = NULL;
 7991|  91.1k|    int _mark = p->mark;
 7992|  91.1k|    { // ('+' | '-' | '~') 'not' factor
 7993|  91.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (7993:13): [True: 0, False: 91.1k]
  ------------------
 7994|      0|            p->level--;
 7995|      0|            return NULL;
 7996|      0|        }
 7997|  91.1k|        D(fprintf(stderr, "%*c> invalid_factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
 7998|  91.1k|        void *_tmp_177_var;
 7999|  91.1k|        Token * a;
 8000|  91.1k|        expr_ty b;
 8001|  91.1k|        if (
 8002|  91.1k|            (_tmp_177_var = _tmp_177_rule(p))  // '+' | '-' | '~'
  ------------------
  |  Branch (8002:13): [True: 19.1k, False: 71.9k]
  ------------------
 8003|  19.1k|            &&
 8004|  19.1k|            (a = _PyPegen_expect_token(p, 531))  // token='not'
  ------------------
  |  Branch (8004:13): [True: 113, False: 19.0k]
  ------------------
 8005|    113|            &&
 8006|    113|            (b = factor_rule(p))  // factor
  ------------------
  |  |  269|    113|#define factor_rule _PyPegen_factor_rule
  ------------------
  |  Branch (8006:13): [True: 1, False: 112]
  ------------------
 8007|  91.1k|        )
 8008|      1|        {
 8009|      1|            D(fprintf(stderr, "%*c+ invalid_factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
 8010|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "'not' after an operator must be parenthesized" );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 8011|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8011:18): [True: 1, False: 0]
  |  Branch (8011:34): [True: 0, False: 0]
  |  Branch (8011:57): [True: 1, False: 0]
  ------------------
 8012|      1|                p->error_indicator = 1;
 8013|      1|                p->level--;
 8014|      1|                return NULL;
 8015|      1|            }
 8016|      0|            goto done;
 8017|      1|        }
 8018|  91.1k|        p->mark = _mark;
 8019|  91.1k|        D(fprintf(stderr, "%*c%s invalid_factor[%d-%d]: %s failed!\n", p->level, ' ',
 8020|  91.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
 8021|  91.1k|    }
 8022|  91.1k|    _res = NULL;
 8023|  91.1k|  done:
 8024|  91.1k|    p->level--;
 8025|  91.1k|    return _res;
 8026|  91.1k|}
_PyPegen_invalid_type_params_rule:
 8031|  8.55k|{
 8032|  8.55k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  17.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8032:9): [True: 0, False: 8.55k]
  |  Branch (8032:35): [True: 0, False: 8.55k]
  ------------------
 8033|      0|        _Pypegen_stack_overflow(p);
 8034|      0|    }
 8035|  8.55k|    if (p->error_indicator) {
  ------------------
  |  Branch (8035:9): [True: 0, False: 8.55k]
  ------------------
 8036|      0|        p->level--;
 8037|      0|        return NULL;
 8038|      0|    }
 8039|  8.55k|    void * _res = NULL;
 8040|  8.55k|    int _mark = p->mark;
 8041|  8.55k|    { // '[' ']'
 8042|  8.55k|        if (p->error_indicator) {
  ------------------
  |  Branch (8042:13): [True: 0, False: 8.55k]
  ------------------
 8043|      0|            p->level--;
 8044|      0|            return NULL;
 8045|      0|        }
 8046|  8.55k|        D(fprintf(stderr, "%*c> invalid_type_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' ']'"));
 8047|  8.55k|        Token * _literal;
 8048|  8.55k|        Token * token;
 8049|  8.55k|        if (
 8050|  8.55k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (8050:13): [True: 1.45k, False: 7.10k]
  ------------------
 8051|  1.45k|            &&
 8052|  1.45k|            (token = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (8052:13): [True: 2, False: 1.45k]
  ------------------
 8053|  8.55k|        )
 8054|      2|        {
 8055|      2|            D(fprintf(stderr, "%*c+ invalid_type_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' ']'"));
 8056|      2|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( token , "Type parameter list cannot be empty" );
  ------------------
  |  |  250|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      2|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      2|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
 8057|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8057:18): [True: 2, False: 0]
  |  Branch (8057:34): [True: 0, False: 0]
  |  Branch (8057:57): [True: 2, False: 0]
  ------------------
 8058|      2|                p->error_indicator = 1;
 8059|      2|                p->level--;
 8060|      2|                return NULL;
 8061|      2|            }
 8062|      0|            goto done;
 8063|      2|        }
 8064|  8.55k|        p->mark = _mark;
 8065|  8.55k|        D(fprintf(stderr, "%*c%s invalid_type_params[%d-%d]: %s failed!\n", p->level, ' ',
 8066|  8.55k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' ']'"));
 8067|  8.55k|    }
 8068|  8.55k|    _res = NULL;
 8069|  8.55k|  done:
 8070|  8.55k|    p->level--;
 8071|  8.55k|    return _res;
 8072|  8.55k|}
_PyPegen_invalid_bitwise_and_rule:
 8078|   361k|{
 8079|   361k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   722k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8079:9): [True: 0, False: 361k]
  |  Branch (8079:35): [True: 0, False: 361k]
  ------------------
 8080|      0|        _Pypegen_stack_overflow(p);
 8081|      0|    }
 8082|   361k|    if (p->error_indicator) {
  ------------------
  |  Branch (8082:9): [True: 0, False: 361k]
  ------------------
 8083|      0|        p->level--;
 8084|      0|        return NULL;
 8085|      0|    }
 8086|   361k|    void * _res = NULL;
 8087|   361k|    int _mark = p->mark;
 8088|   361k|    { // bitwise_and '&' '&'
 8089|   361k|        if (p->error_indicator) {
  ------------------
  |  Branch (8089:13): [True: 0, False: 361k]
  ------------------
 8090|      0|            p->level--;
 8091|      0|            return NULL;
 8092|      0|        }
 8093|   361k|        D(fprintf(stderr, "%*c> invalid_bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' '&'"));
 8094|   361k|        expr_ty a;
 8095|   361k|        Token * b;
 8096|   361k|        Token * c;
 8097|   361k|        if (
 8098|   361k|            (a = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  |  265|   361k|#define bitwise_and_rule _PyPegen_bitwise_and_rule
  ------------------
  |  Branch (8098:13): [True: 127k, False: 233k]
  ------------------
 8099|   127k|            &&
 8100|   127k|            (b = _PyPegen_expect_token(p, 19))  // token='&'
  ------------------
  |  Branch (8100:13): [True: 301, False: 127k]
  ------------------
 8101|    301|            &&
 8102|    301|            (c = _PyPegen_expect_token(p, 19))  // token='&'
  ------------------
  |  Branch (8102:13): [True: 6, False: 295]
  ------------------
 8103|   361k|        )
 8104|      6|        {
 8105|      6|            D(fprintf(stderr, "%*c+ invalid_bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' '&'"));
 8106|      6|            _res = _PyPegen_tokens_are_adjacent ( b , c ) ? RAISE_SYNTAX_ERROR_KNOWN_RANGE ( b , c , "invalid syntax.  Maybe you meant 'and' or '&' instead of '&&'?" ) : NULL;
  ------------------
  |  |  246|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (8106:20): [True: 2, False: 4]
  ------------------
 8107|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8107:18): [True: 6, False: 0]
  |  Branch (8107:34): [True: 0, False: 0]
  |  Branch (8107:57): [True: 2, False: 4]
  ------------------
 8108|      2|                p->error_indicator = 1;
 8109|      2|                p->level--;
 8110|      2|                return NULL;
 8111|      2|            }
 8112|      4|            goto done;
 8113|      6|        }
 8114|   361k|        p->mark = _mark;
 8115|   361k|        D(fprintf(stderr, "%*c%s invalid_bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
 8116|   361k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and '&' '&'"));
 8117|   361k|    }
 8118|   361k|    _res = NULL;
 8119|   361k|  done:
 8120|   361k|    p->level--;
 8121|   361k|    return _res;
 8122|   361k|}
_PyPegen_invalid_bitwise_or_rule:
 8128|   351k|{
 8129|   351k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   703k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8129:9): [True: 0, False: 351k]
  |  Branch (8129:35): [True: 0, False: 351k]
  ------------------
 8130|      0|        _Pypegen_stack_overflow(p);
 8131|      0|    }
 8132|   351k|    if (p->error_indicator) {
  ------------------
  |  Branch (8132:9): [True: 0, False: 351k]
  ------------------
 8133|      0|        p->level--;
 8134|      0|        return NULL;
 8135|      0|    }
 8136|   351k|    void * _res = NULL;
 8137|   351k|    int _mark = p->mark;
 8138|   351k|    { // bitwise_or '|' '|'
 8139|   351k|        if (p->error_indicator) {
  ------------------
  |  Branch (8139:13): [True: 0, False: 351k]
  ------------------
 8140|      0|            p->level--;
 8141|      0|            return NULL;
 8142|      0|        }
 8143|   351k|        D(fprintf(stderr, "%*c> invalid_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' '|'"));
 8144|   351k|        expr_ty a;
 8145|   351k|        Token * b;
 8146|   351k|        Token * c;
 8147|   351k|        if (
 8148|   351k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|   351k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (8148:13): [True: 122k, False: 228k]
  ------------------
 8149|   122k|            &&
 8150|   122k|            (b = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (8150:13): [True: 277, False: 122k]
  ------------------
 8151|    277|            &&
 8152|    277|            (c = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (8152:13): [True: 10, False: 267]
  ------------------
 8153|   351k|        )
 8154|     10|        {
 8155|     10|            D(fprintf(stderr, "%*c+ invalid_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' '|'"));
 8156|     10|            _res = _PyPegen_tokens_are_adjacent ( b , c ) ? RAISE_SYNTAX_ERROR_KNOWN_RANGE ( b , c , "invalid syntax.  Maybe you meant 'or' or '|' instead of '||'?" ) : NULL;
  ------------------
  |  |  246|      6|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (8156:20): [True: 6, False: 4]
  ------------------
 8157|     10|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8157:18): [True: 10, False: 0]
  |  Branch (8157:34): [True: 0, False: 0]
  |  Branch (8157:57): [True: 6, False: 4]
  ------------------
 8158|      6|                p->error_indicator = 1;
 8159|      6|                p->level--;
 8160|      6|                return NULL;
 8161|      6|            }
 8162|      4|            goto done;
 8163|     10|        }
 8164|   351k|        p->mark = _mark;
 8165|   351k|        D(fprintf(stderr, "%*c%s invalid_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
 8166|   351k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or '|' '|'"));
 8167|   351k|    }
 8168|   351k|    _res = NULL;
 8169|   351k|  done:
 8170|   351k|    p->level--;
 8171|   351k|    return _res;
 8172|   351k|}
_PyPegen_invalid_noteq_rule:
 8177|  69.8k|{
 8178|  69.8k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   139k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8178:9): [True: 0, False: 69.8k]
  |  Branch (8178:35): [True: 0, False: 69.8k]
  ------------------
 8179|      0|        _Pypegen_stack_overflow(p);
 8180|      0|    }
 8181|  69.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (8181:9): [True: 0, False: 69.8k]
  ------------------
 8182|      0|        p->level--;
 8183|      0|        return NULL;
 8184|      0|    }
 8185|  69.8k|    void * _res = NULL;
 8186|  69.8k|    int _mark = p->mark;
 8187|  69.8k|    { // '<' '>'
 8188|  69.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (8188:13): [True: 0, False: 69.8k]
  ------------------
 8189|      0|            p->level--;
 8190|      0|            return NULL;
 8191|      0|        }
 8192|  69.8k|        D(fprintf(stderr, "%*c> invalid_noteq[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<' '>'"));
 8193|  69.8k|        Token * a;
 8194|  69.8k|        Token * b;
 8195|  69.8k|        if (
 8196|  69.8k|            (a = _PyPegen_expect_token(p, 20))  // token='<'
  ------------------
  |  Branch (8196:13): [True: 2.36k, False: 67.4k]
  ------------------
 8197|  2.36k|            &&
 8198|  2.36k|            (b = _PyPegen_expect_token(p, 21))  // token='>'
  ------------------
  |  Branch (8198:13): [True: 14, False: 2.34k]
  ------------------
 8199|  69.8k|        )
 8200|     14|        {
 8201|     14|            D(fprintf(stderr, "%*c+ invalid_noteq[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<' '>'"));
 8202|     14|            _res = _PyPegen_tokens_are_adjacent ( a , b ) ? RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid syntax.  Maybe you meant '!=' instead of '<>'?" ) : NULL;
  ------------------
  |  |  246|     10|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (8202:20): [True: 10, False: 4]
  ------------------
 8203|     14|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8203:18): [True: 14, False: 0]
  |  Branch (8203:34): [True: 0, False: 0]
  |  Branch (8203:57): [True: 10, False: 4]
  ------------------
 8204|     10|                p->error_indicator = 1;
 8205|     10|                p->level--;
 8206|     10|                return NULL;
 8207|     10|            }
 8208|      4|            goto done;
 8209|     14|        }
 8210|  69.8k|        p->mark = _mark;
 8211|  69.8k|        D(fprintf(stderr, "%*c%s invalid_noteq[%d-%d]: %s failed!\n", p->level, ' ',
 8212|  69.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<' '>'"));
 8213|  69.8k|    }
 8214|  69.8k|    _res = NULL;
 8215|  69.8k|  done:
 8216|  69.8k|    p->level--;
 8217|  69.8k|    return _res;
 8218|  69.8k|}
parser_invalid.c:expression_without_invalid_rule:
  999|   138k|{
 1000|   138k|    int _prev_call_invalid = p->call_invalid_rules;
 1001|   138k|    p->call_invalid_rules = 0;
 1002|   138k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   277k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1002:9): [True: 0, False: 138k]
  |  Branch (1002:35): [True: 0, False: 138k]
  ------------------
 1003|      0|        _Pypegen_stack_overflow(p);
 1004|      0|    }
 1005|   138k|    if (p->error_indicator) {
  ------------------
  |  Branch (1005:9): [True: 46, False: 138k]
  ------------------
 1006|     46|        p->call_invalid_rules = _prev_call_invalid;
 1007|     46|        p->level--;
 1008|     46|        return NULL;
 1009|     46|    }
 1010|   138k|    expr_ty _res = NULL;
 1011|   138k|    int _mark = p->mark;
 1012|   138k|    expr_ty _prefix_11_result = NULL;
 1013|   138k|    int _prefix_11_end = 0, _prefix_11_valid = 0;
 1014|   138k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (1014:9): [True: 0, False: 138k]
  |  Branch (1014:31): [True: 0, False: 0]
  ------------------
 1015|      0|        p->error_indicator = 1;
 1016|      0|        p->call_invalid_rules = _prev_call_invalid;
 1017|      0|        p->level--;
 1018|      0|        return NULL;
 1019|      0|    }
 1020|   138k|    int _start_lineno = p->tokens[_mark]->lineno;
 1021|   138k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|   138k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 138k]
  |  |  ------------------
  ------------------
 1022|   138k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 1023|   138k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|   138k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 138k]
  |  |  ------------------
  ------------------
 1024|   138k|    { // disjunction 'if' disjunction 'else' expression
 1025|   138k|        if (p->error_indicator) {
  ------------------
  |  Branch (1025:13): [True: 0, False: 138k]
  ------------------
 1026|      0|            p->call_invalid_rules = _prev_call_invalid;
 1027|      0|            p->level--;
 1028|      0|            return NULL;
 1029|      0|        }
 1030|   138k|        D(fprintf(stderr, "%*c> expression_without_invalid[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
 1031|   138k|        Token * _keyword;
 1032|   138k|        Token * _keyword_1;
 1033|   138k|        expr_ty a;
 1034|   138k|        expr_ty b;
 1035|   138k|        expr_ty c;
 1036|   138k|        if (
 1037|   138k|            (a = ((!p->call_invalid_rules && _prefix_11_valid) ? (p->mark = _prefix_11_end, _prefix_11_result) : (_prefix_11_result = disjunction_rule(p), _prefix_11_end = p->mark, _prefix_11_valid = 1, _prefix_11_result)))  // disjunction
  ------------------
  |  |  259|   138k|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1037:13): [True: 5.91k, False: 132k]
  |  Branch (1037:20): [True: 138k, False: 0]
  |  Branch (1037:46): [True: 0, False: 138k]
  ------------------
 1038|  5.91k|            &&
 1039|  5.91k|            (_keyword = _PyPegen_expect_token(p, 514))  // token='if'
  ------------------
  |  Branch (1039:13): [True: 53, False: 5.85k]
  ------------------
 1040|     53|            &&
 1041|     53|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  |  259|     53|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1041:13): [True: 49, False: 4]
  ------------------
 1042|     49|            &&
 1043|     49|            (_keyword_1 = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (1043:13): [True: 40, False: 9]
  ------------------
 1044|     40|            &&
 1045|     40|            (c = expression_rule(p))  // expression
  ------------------
  |  |  243|     40|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (1045:13): [True: 38, False: 2]
  ------------------
 1046|   138k|        )
 1047|     38|        {
 1048|     38|            D(fprintf(stderr, "%*c+ expression_without_invalid[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
 1049|     38|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 1050|     38|            if (_token == NULL) {
  ------------------
  |  Branch (1050:17): [True: 0, False: 38]
  ------------------
 1051|      0|                p->call_invalid_rules = _prev_call_invalid;
 1052|      0|                p->level--;
 1053|      0|                return NULL;
 1054|      0|            }
 1055|     38|            int _end_lineno = _token->end_lineno;
 1056|     38|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  314|     38|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 38]
  |  |  ------------------
  ------------------
 1057|     38|            int _end_col_offset = _token->end_col_offset;
 1058|     38|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  314|     38|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 38]
  |  |  ------------------
  ------------------
 1059|     38|            _res = _PyAST_IfExp ( b , a , c , EXTRA );
  ------------------
  |  |  316|     38|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 1060|     38|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1060:18): [True: 0, False: 38]
  |  Branch (1060:34): [True: 0, False: 38]
  |  Branch (1060:57): [True: 0, False: 0]
  ------------------
 1061|      0|                p->error_indicator = 1;
 1062|      0|                p->call_invalid_rules = _prev_call_invalid;
 1063|      0|                p->level--;
 1064|      0|                return NULL;
 1065|      0|            }
 1066|     38|            goto done;
 1067|     38|        }
 1068|   138k|        p->mark = _mark;
 1069|   138k|        D(fprintf(stderr, "%*c%s expression_without_invalid[%d-%d]: %s failed!\n", p->level, ' ',
 1070|   138k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
 1071|   138k|    }
 1072|      0|    { // disjunction
 1073|   138k|        if (p->error_indicator) {
  ------------------
  |  Branch (1073:13): [True: 422, False: 138k]
  ------------------
 1074|    422|            p->call_invalid_rules = _prev_call_invalid;
 1075|    422|            p->level--;
 1076|    422|            return NULL;
 1077|    422|        }
 1078|   138k|        D(fprintf(stderr, "%*c> expression_without_invalid[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction"));
 1079|   138k|        expr_ty disjunction_var;
 1080|   138k|        if (
 1081|   138k|            (disjunction_var = ((!p->call_invalid_rules && _prefix_11_valid) ? (p->mark = _prefix_11_end, _prefix_11_result) : (_prefix_11_result = disjunction_rule(p), _prefix_11_end = p->mark, _prefix_11_valid = 1, _prefix_11_result)))  // disjunction
  ------------------
  |  |  259|      0|#define disjunction_rule _PyPegen_disjunction_rule
  ------------------
  |  Branch (1081:13): [True: 5.87k, False: 132k]
  |  Branch (1081:34): [True: 138k, False: 0]
  |  Branch (1081:60): [True: 138k, False: 0]
  ------------------
 1082|   138k|        )
 1083|  5.87k|        {
 1084|  5.87k|            D(fprintf(stderr, "%*c+ expression_without_invalid[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction"));
 1085|  5.87k|            _res = disjunction_var;
 1086|  5.87k|            goto done;
 1087|  5.87k|        }
 1088|   132k|        p->mark = _mark;
 1089|   132k|        D(fprintf(stderr, "%*c%s expression_without_invalid[%d-%d]: %s failed!\n", p->level, ' ',
 1090|   132k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction"));
 1091|   132k|    }
 1092|      0|    { // lambdef
 1093|   132k|        if (p->error_indicator) {
  ------------------
  |  Branch (1093:13): [True: 0, False: 132k]
  ------------------
 1094|      0|            p->call_invalid_rules = _prev_call_invalid;
 1095|      0|            p->level--;
 1096|      0|            return NULL;
 1097|      0|        }
 1098|   132k|        D(fprintf(stderr, "%*c> expression_without_invalid[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambdef"));
 1099|   132k|        expr_ty lambdef_var;
 1100|   132k|        if (
 1101|   132k|            (lambdef_var = lambdef_rule(p))  // lambdef
  ------------------
  |  |  271|   132k|#define lambdef_rule _PyPegen_lambdef_rule
  ------------------
  |  Branch (1101:13): [True: 45, False: 132k]
  ------------------
 1102|   132k|        )
 1103|     45|        {
 1104|     45|            D(fprintf(stderr, "%*c+ expression_without_invalid[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambdef"));
 1105|     45|            _res = lambdef_var;
 1106|     45|            goto done;
 1107|     45|        }
 1108|   132k|        p->mark = _mark;
 1109|   132k|        D(fprintf(stderr, "%*c%s expression_without_invalid[%d-%d]: %s failed!\n", p->level, ' ',
 1110|   132k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambdef"));
 1111|   132k|    }
 1112|   132k|    _res = NULL;
 1113|   138k|  done:
 1114|   138k|    p->call_invalid_rules = _prev_call_invalid;
 1115|   138k|    p->level--;
 1116|   138k|    return _res;
 1117|   132k|}
parser_invalid.c:invalid_ann_assign_target_rule:
 1940|  38.2k|{
 1941|  38.2k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  76.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1941:9): [True: 0, False: 38.2k]
  |  Branch (1941:35): [True: 0, False: 38.2k]
  ------------------
 1942|      0|        _Pypegen_stack_overflow(p);
 1943|      0|    }
 1944|  38.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (1944:9): [True: 0, False: 38.2k]
  ------------------
 1945|      0|        p->level--;
 1946|      0|        return NULL;
 1947|      0|    }
 1948|  38.2k|    expr_ty _res = NULL;
 1949|  38.2k|    int _mark = p->mark;
 1950|  38.2k|    { // list
 1951|  38.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (1951:13): [True: 0, False: 38.2k]
  ------------------
 1952|      0|            p->level--;
 1953|      0|            return NULL;
 1954|      0|        }
 1955|  38.2k|        D(fprintf(stderr, "%*c> invalid_ann_assign_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "list"));
 1956|  38.2k|        expr_ty list_var;
 1957|  38.2k|        if (
 1958|  38.2k|            (list_var = list_rule(p))  // list
  ------------------
  |  |  295|  38.2k|#define list_rule _PyPegen_list_rule
  ------------------
  |  Branch (1958:13): [True: 75, False: 38.1k]
  ------------------
 1959|  38.2k|        )
 1960|     75|        {
 1961|     75|            D(fprintf(stderr, "%*c+ invalid_ann_assign_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "list"));
 1962|     75|            _res = list_var;
 1963|     75|            goto done;
 1964|     75|        }
 1965|  38.1k|        p->mark = _mark;
 1966|  38.1k|        D(fprintf(stderr, "%*c%s invalid_ann_assign_target[%d-%d]: %s failed!\n", p->level, ' ',
 1967|  38.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "list"));
 1968|  38.1k|    }
 1969|      0|    { // tuple
 1970|  38.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (1970:13): [True: 0, False: 38.1k]
  ------------------
 1971|      0|            p->level--;
 1972|      0|            return NULL;
 1973|      0|        }
 1974|  38.1k|        D(fprintf(stderr, "%*c> invalid_ann_assign_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
 1975|  38.1k|        expr_ty tuple_var;
 1976|  38.1k|        if (
 1977|  38.1k|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  |  297|  38.1k|#define tuple_rule _PyPegen_tuple_rule
  ------------------
  |  Branch (1977:13): [True: 233, False: 37.9k]
  ------------------
 1978|  38.1k|        )
 1979|    233|        {
 1980|    233|            D(fprintf(stderr, "%*c+ invalid_ann_assign_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tuple"));
 1981|    233|            _res = tuple_var;
 1982|    233|            goto done;
 1983|    233|        }
 1984|  37.9k|        p->mark = _mark;
 1985|  37.9k|        D(fprintf(stderr, "%*c%s invalid_ann_assign_target[%d-%d]: %s failed!\n", p->level, ' ',
 1986|  37.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
 1987|  37.9k|    }
 1988|      0|    { // '(' invalid_ann_assign_target ')'
 1989|  37.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (1989:13): [True: 0, False: 37.9k]
  ------------------
 1990|      0|            p->level--;
 1991|      0|            return NULL;
 1992|      0|        }
 1993|  37.9k|        D(fprintf(stderr, "%*c> invalid_ann_assign_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' invalid_ann_assign_target ')'"));
 1994|  37.9k|        Token * _literal;
 1995|  37.9k|        Token * _literal_1;
 1996|  37.9k|        expr_ty a;
 1997|  37.9k|        if (
 1998|  37.9k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (1998:13): [True: 882, False: 37.0k]
  ------------------
 1999|    882|            &&
 2000|    882|            (a = invalid_ann_assign_target_rule(p))  // invalid_ann_assign_target
  ------------------
  |  Branch (2000:13): [True: 64, False: 818]
  ------------------
 2001|     64|            &&
 2002|     64|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (2002:13): [True: 48, False: 16]
  ------------------
 2003|  37.9k|        )
 2004|     48|        {
 2005|     48|            D(fprintf(stderr, "%*c+ invalid_ann_assign_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' invalid_ann_assign_target ')'"));
 2006|     48|            _res = a;
 2007|     48|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2007:18): [True: 0, False: 48]
  |  Branch (2007:34): [True: 0, False: 48]
  |  Branch (2007:57): [True: 0, False: 0]
  ------------------
 2008|      0|                p->error_indicator = 1;
 2009|      0|                p->level--;
 2010|      0|                return NULL;
 2011|      0|            }
 2012|     48|            goto done;
 2013|     48|        }
 2014|  37.8k|        p->mark = _mark;
 2015|  37.8k|        D(fprintf(stderr, "%*c%s invalid_ann_assign_target[%d-%d]: %s failed!\n", p->level, ' ',
 2016|  37.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' invalid_ann_assign_target ')'"));
 2017|  37.8k|    }
 2018|  37.8k|    _res = NULL;
 2019|  38.2k|  done:
 2020|  38.2k|    p->level--;
 2021|  38.2k|    return _res;
 2022|  37.8k|}
parser_invalid.c:invalid_parameters_helper_rule:
 3048|  4.80k|{
 3049|  4.80k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  9.61k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3049:9): [True: 0, False: 4.80k]
  |  Branch (3049:35): [True: 0, False: 4.80k]
  ------------------
 3050|      0|        _Pypegen_stack_overflow(p);
 3051|      0|    }
 3052|  4.80k|    if (p->error_indicator) {
  ------------------
  |  Branch (3052:9): [True: 0, False: 4.80k]
  ------------------
 3053|      0|        p->level--;
 3054|      0|        return NULL;
 3055|      0|    }
 3056|  4.80k|    void * _res = NULL;
 3057|  4.80k|    int _mark = p->mark;
 3058|  4.80k|    { // slash_with_default
 3059|  4.80k|        if (p->error_indicator) {
  ------------------
  |  Branch (3059:13): [True: 0, False: 4.80k]
  ------------------
 3060|      0|            p->level--;
 3061|      0|            return NULL;
 3062|      0|        }
 3063|  4.80k|        D(fprintf(stderr, "%*c> invalid_parameters_helper[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slash_with_default"));
 3064|  4.80k|        SlashWithDefault* a;
 3065|  4.80k|        if (
 3066|  4.80k|            (a = slash_with_default_rule(p))  // slash_with_default
  ------------------
  |  |  207|  4.80k|#define slash_with_default_rule _PyPegen_slash_with_default_rule
  ------------------
  |  Branch (3066:13): [True: 248, False: 4.55k]
  ------------------
 3067|  4.80k|        )
 3068|    248|        {
 3069|    248|            D(fprintf(stderr, "%*c+ invalid_parameters_helper[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slash_with_default"));
 3070|    248|            _res = _PyPegen_singleton_seq ( p , a );
 3071|    248|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3071:18): [True: 0, False: 248]
  |  Branch (3071:34): [True: 0, False: 248]
  |  Branch (3071:57): [True: 0, False: 0]
  ------------------
 3072|      0|                p->error_indicator = 1;
 3073|      0|                p->level--;
 3074|      0|                return NULL;
 3075|      0|            }
 3076|    248|            goto done;
 3077|    248|        }
 3078|  4.55k|        p->mark = _mark;
 3079|  4.55k|        D(fprintf(stderr, "%*c%s invalid_parameters_helper[%d-%d]: %s failed!\n", p->level, ' ',
 3080|  4.55k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slash_with_default"));
 3081|  4.55k|    }
 3082|      0|    { // param_with_default+
 3083|  4.55k|        if (p->error_indicator) {
  ------------------
  |  Branch (3083:13): [True: 0, False: 4.55k]
  ------------------
 3084|      0|            p->level--;
 3085|      0|            return NULL;
 3086|      0|        }
 3087|  4.55k|        D(fprintf(stderr, "%*c> invalid_parameters_helper[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_with_default+"));
 3088|  4.55k|        asdl_seq * _loop1_132_var;
 3089|  4.55k|        if (
 3090|  4.55k|            (_loop1_132_var = _loop1_132_rule(p))  // param_with_default+
  ------------------
  |  Branch (3090:13): [True: 341, False: 4.21k]
  ------------------
 3091|  4.55k|        )
 3092|    341|        {
 3093|    341|            D(fprintf(stderr, "%*c+ invalid_parameters_helper[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_with_default+"));
 3094|    341|            _res = _loop1_132_var;
 3095|    341|            goto done;
 3096|    341|        }
 3097|  4.21k|        p->mark = _mark;
 3098|  4.21k|        D(fprintf(stderr, "%*c%s invalid_parameters_helper[%d-%d]: %s failed!\n", p->level, ' ',
 3099|  4.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_with_default+"));
 3100|  4.21k|    }
 3101|  4.21k|    _res = NULL;
 3102|  4.80k|  done:
 3103|  4.80k|    p->level--;
 3104|  4.80k|    return _res;
 3105|  4.21k|}
parser_invalid.c:_loop1_132_rule:
 9814|  4.55k|{
 9815|  4.55k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  9.11k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9815:9): [True: 0, False: 4.55k]
  |  Branch (9815:35): [True: 0, False: 4.55k]
  ------------------
 9816|      0|        _Pypegen_stack_overflow(p);
 9817|      0|    }
 9818|  4.55k|    if (p->error_indicator) {
  ------------------
  |  Branch (9818:9): [True: 0, False: 4.55k]
  ------------------
 9819|      0|        p->level--;
 9820|      0|        return NULL;
 9821|      0|    }
 9822|  4.55k|    void *_res = NULL;
 9823|  4.55k|    int _mark = p->mark;
 9824|  4.55k|    void **_children = NULL;
 9825|  4.55k|    Py_ssize_t _children_capacity = 0;
 9826|  4.55k|    Py_ssize_t _n = 0;
 9827|  4.55k|    { // param_with_default
 9828|  4.55k|        if (p->error_indicator) {
  ------------------
  |  Branch (9828:13): [True: 0, False: 4.55k]
  ------------------
 9829|      0|            p->level--;
 9830|      0|            return NULL;
 9831|      0|        }
 9832|  4.55k|        D(fprintf(stderr, "%*c> _loop1_132[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_with_default"));
 9833|  4.55k|        NameDefaultPair* param_with_default_var;
 9834|  4.55k|        while (
 9835|  5.24k|            (param_with_default_var = param_with_default_rule(p))  // param_with_default
  ------------------
  |  |  211|  5.24k|#define param_with_default_rule _PyPegen_param_with_default_rule
  ------------------
  |  Branch (9835:13): [True: 688, False: 4.55k]
  ------------------
 9836|  4.55k|        )
 9837|    688|        {
 9838|    688|            _res = param_with_default_var;
 9839|    688|            if (_n == _children_capacity) {
  ------------------
  |  Branch (9839:17): [True: 433, False: 255]
  ------------------
 9840|    433|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (9840:21): [True: 0, False: 433]
  ------------------
 9841|      0|                    p->error_indicator = 1;
 9842|      0|                    PyErr_NoMemory();
 9843|      0|                    PyMem_Free(_children);
 9844|      0|                    p->level--;
 9845|      0|                    return NULL;
 9846|      0|                }
 9847|    433|            }
 9848|    688|            _children[_n++] = _res;
 9849|    688|            _mark = p->mark;
 9850|    688|        }
 9851|  4.55k|        p->mark = _mark;
 9852|  4.55k|        D(fprintf(stderr, "%*c%s _loop1_132[%d-%d]: %s failed!\n", p->level, ' ',
 9853|  4.55k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_with_default"));
 9854|  4.55k|    }
 9855|  4.55k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (9855:9): [True: 4.21k, False: 341]
  |  Branch (9855:20): [True: 0, False: 341]
  ------------------
 9856|  4.21k|        PyMem_Free(_children);
 9857|  4.21k|        p->level--;
 9858|  4.21k|        return NULL;
 9859|  4.21k|    }
 9860|    341|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
 9861|    341|    if (!_seq) {
  ------------------
  |  Branch (9861:9): [True: 0, False: 341]
  ------------------
 9862|      0|        p->error_indicator = 1;
 9863|      0|        PyErr_NoMemory();
 9864|      0|        PyMem_Free(_children);
 9865|      0|        p->level--;
 9866|      0|        return NULL;
 9867|      0|    }
 9868|  1.02k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    688|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  1.02k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (9868:28): [True: 688, False: 341]
  ------------------
 9869|    341|    PyMem_Free(_children);
 9870|    341|    p->level--;
 9871|    341|    return _seq;
 9872|    341|}
parser_invalid.c:invalid_lambda_parameters_helper_rule:
 3335|  11.9k|{
 3336|  11.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  23.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3336:9): [True: 0, False: 11.9k]
  |  Branch (3336:35): [True: 0, False: 11.9k]
  ------------------
 3337|      0|        _Pypegen_stack_overflow(p);
 3338|      0|    }
 3339|  11.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (3339:9): [True: 0, False: 11.9k]
  ------------------
 3340|      0|        p->level--;
 3341|      0|        return NULL;
 3342|      0|    }
 3343|  11.9k|    void * _res = NULL;
 3344|  11.9k|    int _mark = p->mark;
 3345|  11.9k|    { // lambda_slash_with_default
 3346|  11.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (3346:13): [True: 0, False: 11.9k]
  ------------------
 3347|      0|            p->level--;
 3348|      0|            return NULL;
 3349|      0|        }
 3350|  11.9k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters_helper[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
 3351|  11.9k|        SlashWithDefault* a;
 3352|  11.9k|        if (
 3353|  11.9k|            (a = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  |  277|  11.9k|#define lambda_slash_with_default_rule _PyPegen_lambda_slash_with_default_rule
  ------------------
  |  Branch (3353:13): [True: 584, False: 11.3k]
  ------------------
 3354|  11.9k|        )
 3355|    584|        {
 3356|    584|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters_helper[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
 3357|    584|            _res = _PyPegen_singleton_seq ( p , a );
 3358|    584|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3358:18): [True: 0, False: 584]
  |  Branch (3358:34): [True: 0, False: 584]
  |  Branch (3358:57): [True: 0, False: 0]
  ------------------
 3359|      0|                p->error_indicator = 1;
 3360|      0|                p->level--;
 3361|      0|                return NULL;
 3362|      0|            }
 3363|    584|            goto done;
 3364|    584|        }
 3365|  11.3k|        p->mark = _mark;
 3366|  11.3k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters_helper[%d-%d]: %s failed!\n", p->level, ' ',
 3367|  11.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default"));
 3368|  11.3k|    }
 3369|      0|    { // lambda_param_with_default+
 3370|  11.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (3370:13): [True: 0, False: 11.3k]
  ------------------
 3371|      0|            p->level--;
 3372|      0|            return NULL;
 3373|      0|        }
 3374|  11.3k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters_helper[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+"));
 3375|  11.3k|        asdl_seq * _loop1_140_var;
 3376|  11.3k|        if (
 3377|  11.3k|            (_loop1_140_var = _loop1_140_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (3377:13): [True: 818, False: 10.5k]
  ------------------
 3378|  11.3k|        )
 3379|    818|        {
 3380|    818|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters_helper[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+"));
 3381|    818|            _res = _loop1_140_var;
 3382|    818|            goto done;
 3383|    818|        }
 3384|  10.5k|        p->mark = _mark;
 3385|  10.5k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters_helper[%d-%d]: %s failed!\n", p->level, ' ',
 3386|  10.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default+"));
 3387|  10.5k|    }
 3388|  10.5k|    _res = NULL;
 3389|  11.9k|  done:
 3390|  11.9k|    p->level--;
 3391|  11.9k|    return _res;
 3392|  10.5k|}
parser_invalid.c:_loop1_140_rule:
10278|  11.3k|{
10279|  11.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  22.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10279:9): [True: 0, False: 11.3k]
  |  Branch (10279:35): [True: 0, False: 11.3k]
  ------------------
10280|      0|        _Pypegen_stack_overflow(p);
10281|      0|    }
10282|  11.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (10282:9): [True: 0, False: 11.3k]
  ------------------
10283|      0|        p->level--;
10284|      0|        return NULL;
10285|      0|    }
10286|  11.3k|    void *_res = NULL;
10287|  11.3k|    int _mark = p->mark;
10288|  11.3k|    void **_children = NULL;
10289|  11.3k|    Py_ssize_t _children_capacity = 0;
10290|  11.3k|    Py_ssize_t _n = 0;
10291|  11.3k|    { // lambda_param_with_default
10292|  11.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (10292:13): [True: 0, False: 11.3k]
  ------------------
10293|      0|            p->level--;
10294|      0|            return NULL;
10295|      0|        }
10296|  11.3k|        D(fprintf(stderr, "%*c> _loop1_140[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
10297|  11.3k|        NameDefaultPair* lambda_param_with_default_var;
10298|  11.3k|        while (
10299|  13.1k|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  |  281|  13.1k|#define lambda_param_with_default_rule _PyPegen_lambda_param_with_default_rule
  ------------------
  |  Branch (10299:13): [True: 1.78k, False: 11.3k]
  ------------------
10300|  11.3k|        )
10301|  1.78k|        {
10302|  1.78k|            _res = lambda_param_with_default_var;
10303|  1.78k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (10303:17): [True: 1.22k, False: 559]
  ------------------
10304|  1.22k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (10304:21): [True: 0, False: 1.22k]
  ------------------
10305|      0|                    p->error_indicator = 1;
10306|      0|                    PyErr_NoMemory();
10307|      0|                    PyMem_Free(_children);
10308|      0|                    p->level--;
10309|      0|                    return NULL;
10310|      0|                }
10311|  1.22k|            }
10312|  1.78k|            _children[_n++] = _res;
10313|  1.78k|            _mark = p->mark;
10314|  1.78k|        }
10315|  11.3k|        p->mark = _mark;
10316|  11.3k|        D(fprintf(stderr, "%*c%s _loop1_140[%d-%d]: %s failed!\n", p->level, ' ',
10317|  11.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
10318|  11.3k|    }
10319|  11.3k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (10319:9): [True: 10.5k, False: 818]
  |  Branch (10319:20): [True: 0, False: 818]
  ------------------
10320|  10.5k|        PyMem_Free(_children);
10321|  10.5k|        p->level--;
10322|  10.5k|        return NULL;
10323|  10.5k|    }
10324|    818|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
10325|    818|    if (!_seq) {
  ------------------
  |  Branch (10325:9): [True: 0, False: 818]
  ------------------
10326|      0|        p->error_indicator = 1;
10327|      0|        PyErr_NoMemory();
10328|      0|        PyMem_Free(_children);
10329|      0|        p->level--;
10330|      0|        return NULL;
10331|      0|    }
10332|  2.60k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.78k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  2.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (10332:28): [True: 1.78k, False: 818]
  ------------------
10333|    818|    PyMem_Free(_children);
10334|    818|    p->level--;
10335|    818|    return _seq;
10336|    818|}
parser_invalid.c:invalid_class_argument_pattern_rule:
 5616|  2.51k|{
 5617|  2.51k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  5.03k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5617:9): [True: 0, False: 2.51k]
  |  Branch (5617:35): [True: 0, False: 2.51k]
  ------------------
 5618|      0|        _Pypegen_stack_overflow(p);
 5619|      0|    }
 5620|  2.51k|    if (p->error_indicator) {
  ------------------
  |  Branch (5620:9): [True: 0, False: 2.51k]
  ------------------
 5621|      0|        p->level--;
 5622|      0|        return NULL;
 5623|      0|    }
 5624|  2.51k|    asdl_pattern_seq* _res = NULL;
 5625|  2.51k|    int _mark = p->mark;
 5626|  2.51k|    { // [positional_patterns ','] keyword_patterns ',' positional_patterns
 5627|  2.51k|        if (p->error_indicator) {
  ------------------
  |  Branch (5627:13): [True: 0, False: 2.51k]
  ------------------
 5628|      0|            p->level--;
 5629|      0|            return NULL;
 5630|      0|        }
 5631|  2.51k|        D(fprintf(stderr, "%*c> invalid_class_argument_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "[positional_patterns ','] keyword_patterns ',' positional_patterns"));
 5632|  2.51k|        Token * _literal;
 5633|  2.51k|        void *_opt_var;
 5634|  2.51k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  2.51k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.51k]
  |  |  ------------------
  ------------------
 5635|  2.51k|        asdl_pattern_seq* a;
 5636|  2.51k|        asdl_seq* keyword_patterns_var;
 5637|  2.51k|        if (
 5638|  2.51k|            (_opt_var = _tmp_161_rule(p), !p->error_indicator)  // [positional_patterns ',']
  ------------------
  |  Branch (5638:13): [True: 2.51k, False: 0]
  ------------------
 5639|  2.51k|            &&
 5640|  2.51k|            (keyword_patterns_var = keyword_patterns_rule(p))  // keyword_patterns
  ------------------
  |  |  237|  2.51k|#define keyword_patterns_rule _PyPegen_keyword_patterns_rule
  ------------------
  |  Branch (5640:13): [True: 704, False: 1.81k]
  ------------------
 5641|    704|            &&
 5642|    704|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5642:13): [True: 661, False: 43]
  ------------------
 5643|    661|            &&
 5644|    661|            (a = positional_patterns_rule(p))  // positional_patterns
  ------------------
  |  |  235|    661|#define positional_patterns_rule _PyPegen_positional_patterns_rule
  ------------------
  |  Branch (5644:13): [True: 6, False: 655]
  ------------------
 5645|  2.51k|        )
 5646|      6|        {
 5647|      6|            D(fprintf(stderr, "%*c+ invalid_class_argument_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "[positional_patterns ','] keyword_patterns ',' positional_patterns"));
 5648|      6|            _res = a;
 5649|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5649:18): [True: 0, False: 6]
  |  Branch (5649:34): [True: 0, False: 6]
  |  Branch (5649:57): [True: 0, False: 0]
  ------------------
 5650|      0|                p->error_indicator = 1;
 5651|      0|                p->level--;
 5652|      0|                return NULL;
 5653|      0|            }
 5654|      6|            goto done;
 5655|      6|        }
 5656|  2.51k|        p->mark = _mark;
 5657|  2.51k|        D(fprintf(stderr, "%*c%s invalid_class_argument_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 5658|  2.51k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "[positional_patterns ','] keyword_patterns ',' positional_patterns"));
 5659|  2.51k|    }
 5660|  2.51k|    _res = NULL;
 5661|  2.51k|  done:
 5662|  2.51k|    p->level--;
 5663|  2.51k|    return _res;
 5664|  2.51k|}
parser_invalid.c:_tmp_161_rule:
11424|  2.51k|{
11425|  2.51k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  5.03k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11425:9): [True: 0, False: 2.51k]
  |  Branch (11425:35): [True: 0, False: 2.51k]
  ------------------
11426|      0|        _Pypegen_stack_overflow(p);
11427|      0|    }
11428|  2.51k|    if (p->error_indicator) {
  ------------------
  |  Branch (11428:9): [True: 0, False: 2.51k]
  ------------------
11429|      0|        p->level--;
11430|      0|        return NULL;
11431|      0|    }
11432|  2.51k|    void * _res = NULL;
11433|  2.51k|    int _mark = p->mark;
11434|  2.51k|    { // positional_patterns ','
11435|  2.51k|        if (p->error_indicator) {
  ------------------
  |  Branch (11435:13): [True: 0, False: 2.51k]
  ------------------
11436|      0|            p->level--;
11437|      0|            return NULL;
11438|      0|        }
11439|  2.51k|        D(fprintf(stderr, "%*c> _tmp_161[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "positional_patterns ','"));
11440|  2.51k|        Token * _literal;
11441|  2.51k|        asdl_pattern_seq* positional_patterns_var;
11442|  2.51k|        if (
11443|  2.51k|            (positional_patterns_var = positional_patterns_rule(p))  // positional_patterns
  ------------------
  |  |  235|  2.51k|#define positional_patterns_rule _PyPegen_positional_patterns_rule
  ------------------
  |  Branch (11443:13): [True: 1.47k, False: 1.04k]
  ------------------
11444|  1.47k|            &&
11445|  1.47k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11445:13): [True: 1.16k, False: 304]
  ------------------
11446|  2.51k|        )
11447|  1.16k|        {
11448|  1.16k|            D(fprintf(stderr, "%*c+ _tmp_161[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "positional_patterns ','"));
11449|  1.16k|            _res = _PyPegen_dummy_name(p, positional_patterns_var, _literal);
11450|  1.16k|            goto done;
11451|  1.16k|        }
11452|  1.35k|        p->mark = _mark;
11453|  1.35k|        D(fprintf(stderr, "%*c%s _tmp_161[%d-%d]: %s failed!\n", p->level, ' ',
11454|  1.35k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "positional_patterns ','"));
11455|  1.35k|    }
11456|  1.35k|    _res = NULL;
11457|  2.51k|  done:
11458|  2.51k|    p->level--;
11459|  2.51k|    return _res;
11460|  1.35k|}
parser_invalid.c:invalid_kvpair_unpacking_rule:
 6455|  31.9k|{
 6456|  31.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  63.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6456:9): [True: 0, False: 31.9k]
  |  Branch (6456:35): [True: 0, False: 31.9k]
  ------------------
 6457|      0|        _Pypegen_stack_overflow(p);
 6458|      0|    }
 6459|  31.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (6459:9): [True: 0, False: 31.9k]
  ------------------
 6460|      0|        p->level--;
 6461|      0|        return NULL;
 6462|      0|    }
 6463|  31.9k|    void * _res = NULL;
 6464|  31.9k|    int _mark = p->mark;
 6465|  31.9k|    expr_ty _prefix_14_result = NULL;
 6466|  31.9k|    int _prefix_14_end = 0, _prefix_14_valid = 0;
 6467|  31.9k|    { // '**' if_expression
 6468|  31.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (6468:13): [True: 0, False: 31.9k]
  ------------------
 6469|      0|            p->level--;
 6470|      0|            return NULL;
 6471|      0|        }
 6472|  31.9k|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' if_expression"));
 6473|  31.9k|        Token * a;
 6474|  31.9k|        expr_ty b;
 6475|  31.9k|        if (
 6476|  31.9k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (6476:13): [True: 887, False: 31.0k]
  ------------------
 6477|    887|            &&
 6478|    887|            (b = if_expression_rule(p))  // if_expression
  ------------------
  |  |  245|    887|#define if_expression_rule _PyPegen_if_expression_rule
  ------------------
  |  Branch (6478:13): [True: 1, False: 886]
  ------------------
 6479|  31.9k|        )
 6480|      1|        {
 6481|      1|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' if_expression"));
 6482|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid double starred expression. Did you forget to wrap the conditional expression in parentheses?" );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6483|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6483:18): [True: 1, False: 0]
  |  Branch (6483:34): [True: 0, False: 0]
  |  Branch (6483:57): [True: 1, False: 0]
  ------------------
 6484|      1|                p->error_indicator = 1;
 6485|      1|                p->level--;
 6486|      1|                return NULL;
 6487|      1|            }
 6488|      0|            goto done;
 6489|      1|        }
 6490|  31.9k|        p->mark = _mark;
 6491|  31.9k|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
 6492|  31.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' if_expression"));
 6493|  31.9k|    }
 6494|      0|    { // '*' bitwise_or ':' expression
 6495|  31.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (6495:13): [True: 41, False: 31.8k]
  ------------------
 6496|     41|            p->level--;
 6497|     41|            return NULL;
 6498|     41|        }
 6499|  31.8k|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or ':' expression"));
 6500|  31.8k|        Token * _literal;
 6501|  31.8k|        Token * a;
 6502|  31.8k|        expr_ty b;
 6503|  31.8k|        expr_ty expression_var;
 6504|  31.8k|        if (
 6505|  31.8k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (6505:13): [True: 1.66k, False: 30.2k]
  ------------------
 6506|  1.66k|            &&
 6507|  1.66k|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|  1.66k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (6507:13): [True: 946, False: 714]
  ------------------
 6508|    946|            &&
 6509|    946|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6509:13): [True: 621, False: 325]
  ------------------
 6510|    621|            &&
 6511|    621|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|    621|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6511:13): [True: 0, False: 621]
  ------------------
 6512|  31.8k|        )
 6513|      0|        {
 6514|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or ':' expression"));
 6515|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use a starred expression in a dictionary key" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6516|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6516:18): [True: 0, False: 0]
  |  Branch (6516:34): [True: 0, False: 0]
  |  Branch (6516:57): [True: 0, False: 0]
  ------------------
 6517|      0|                p->error_indicator = 1;
 6518|      0|                p->level--;
 6519|      0|                return NULL;
 6520|      0|            }
 6521|      0|            goto done;
 6522|      0|        }
 6523|  31.8k|        p->mark = _mark;
 6524|  31.8k|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
 6525|  31.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or ':' expression"));
 6526|  31.8k|    }
 6527|      0|    { // '**' bitwise_or ':' expression
 6528|  31.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (6528:13): [True: 316, False: 31.5k]
  ------------------
 6529|    316|            p->level--;
 6530|    316|            return NULL;
 6531|    316|        }
 6532|  31.5k|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or ':' expression"));
 6533|  31.5k|        Token * _literal;
 6534|  31.5k|        Token * a;
 6535|  31.5k|        expr_ty b;
 6536|  31.5k|        expr_ty expression_var;
 6537|  31.5k|        if (
 6538|  31.5k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (6538:13): [True: 845, False: 30.7k]
  ------------------
 6539|    845|            &&
 6540|    845|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|    845|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (6540:13): [True: 762, False: 83]
  ------------------
 6541|    762|            &&
 6542|    762|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6542:13): [True: 457, False: 305]
  ------------------
 6543|    457|            &&
 6544|    457|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|    457|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6544:13): [True: 1, False: 456]
  ------------------
 6545|  31.5k|        )
 6546|      1|        {
 6547|      1|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or ':' expression"));
 6548|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in a dictionary key" );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6549|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6549:18): [True: 1, False: 0]
  |  Branch (6549:34): [True: 0, False: 0]
  |  Branch (6549:57): [True: 1, False: 0]
  ------------------
 6550|      1|                p->error_indicator = 1;
 6551|      1|                p->level--;
 6552|      1|                return NULL;
 6553|      1|            }
 6554|      0|            goto done;
 6555|      1|        }
 6556|  31.5k|        p->mark = _mark;
 6557|  31.5k|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
 6558|  31.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' bitwise_or ':' expression"));
 6559|  31.5k|    }
 6560|      0|    { // expression ':' '*' bitwise_or
 6561|  31.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (6561:13): [True: 247, False: 31.3k]
  ------------------
 6562|    247|            p->level--;
 6563|    247|            return NULL;
 6564|    247|        }
 6565|  31.3k|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' '*' bitwise_or"));
 6566|  31.3k|        Token * _literal;
 6567|  31.3k|        Token * a;
 6568|  31.3k|        expr_ty b;
 6569|  31.3k|        expr_ty expression_var;
 6570|  31.3k|        if (
 6571|  31.3k|            (expression_var = ((!p->call_invalid_rules && _prefix_14_valid) ? (p->mark = _prefix_14_end, _prefix_14_result) : (_prefix_14_result = expression_rule(p), _prefix_14_end = p->mark, _prefix_14_valid = 1, _prefix_14_result)))  // expression
  ------------------
  |  |  243|  31.3k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6571:13): [True: 24.8k, False: 6.45k]
  |  Branch (6571:33): [True: 25.6k, False: 5.69k]
  |  Branch (6571:59): [True: 0, False: 25.6k]
  ------------------
 6572|  24.8k|            &&
 6573|  24.8k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6573:13): [True: 2.19k, False: 22.6k]
  ------------------
 6574|  2.19k|            &&
 6575|  2.19k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (6575:13): [True: 235, False: 1.95k]
  ------------------
 6576|    235|            &&
 6577|    235|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|    235|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (6577:13): [True: 0, False: 235]
  ------------------
 6578|  31.3k|        )
 6579|      0|        {
 6580|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' '*' bitwise_or"));
 6581|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use a starred expression in a dictionary value" );
  ------------------
  |  |  246|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6582|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6582:18): [True: 0, False: 0]
  |  Branch (6582:34): [True: 0, False: 0]
  |  Branch (6582:57): [True: 0, False: 0]
  ------------------
 6583|      0|                p->error_indicator = 1;
 6584|      0|                p->level--;
 6585|      0|                return NULL;
 6586|      0|            }
 6587|      0|            goto done;
 6588|      0|        }
 6589|  31.3k|        p->mark = _mark;
 6590|  31.3k|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
 6591|  31.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' '*' bitwise_or"));
 6592|  31.3k|    }
 6593|      0|    { // expression ':' '**' bitwise_or
 6594|  31.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (6594:13): [True: 35, False: 31.2k]
  ------------------
 6595|     35|            p->level--;
 6596|     35|            return NULL;
 6597|     35|        }
 6598|  31.2k|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' '**' bitwise_or"));
 6599|  31.2k|        Token * _literal;
 6600|  31.2k|        Token * a;
 6601|  31.2k|        expr_ty b;
 6602|  31.2k|        expr_ty expression_var;
 6603|  31.2k|        if (
 6604|  31.2k|            (expression_var = ((!p->call_invalid_rules && _prefix_14_valid) ? (p->mark = _prefix_14_end, _prefix_14_result) : (_prefix_14_result = expression_rule(p), _prefix_14_end = p->mark, _prefix_14_valid = 1, _prefix_14_result)))  // expression
  ------------------
  |  |  243|  5.68k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6604:13): [True: 24.8k, False: 6.45k]
  |  Branch (6604:33): [True: 25.6k, False: 5.68k]
  |  Branch (6604:59): [True: 25.6k, False: 0]
  ------------------
 6605|  24.8k|            &&
 6606|  24.8k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6606:13): [True: 2.15k, False: 22.6k]
  ------------------
 6607|  2.15k|            &&
 6608|  2.15k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (6608:13): [True: 40, False: 2.11k]
  ------------------
 6609|     40|            &&
 6610|     40|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|     40|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (6610:13): [True: 1, False: 39]
  ------------------
 6611|  31.2k|        )
 6612|      1|        {
 6613|      1|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' '**' bitwise_or"));
 6614|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in a dictionary value" );
  ------------------
  |  |  246|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6615|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6615:18): [True: 1, False: 0]
  |  Branch (6615:34): [True: 0, False: 0]
  |  Branch (6615:57): [True: 1, False: 0]
  ------------------
 6616|      1|                p->error_indicator = 1;
 6617|      1|                p->level--;
 6618|      1|                return NULL;
 6619|      1|            }
 6620|      0|            goto done;
 6621|      1|        }
 6622|  31.2k|        p->mark = _mark;
 6623|  31.2k|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
 6624|  31.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' '**' bitwise_or"));
 6625|  31.2k|    }
 6626|  31.2k|    _res = NULL;
 6627|  31.2k|  done:
 6628|  31.2k|    p->level--;
 6629|  31.2k|    return _res;
 6630|  31.2k|}
parser_invalid.c:invalid_fstring_conversion_character_rule:
 7341|     44|{
 7342|     44|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     88|#  define MAXSTACK 6000
  ------------------
  |  Branch (7342:9): [True: 0, False: 44]
  |  Branch (7342:35): [True: 0, False: 44]
  ------------------
 7343|      0|        _Pypegen_stack_overflow(p);
 7344|      0|    }
 7345|     44|    if (p->error_indicator) {
  ------------------
  |  Branch (7345:9): [True: 0, False: 44]
  ------------------
 7346|      0|        p->level--;
 7347|      0|        return NULL;
 7348|      0|    }
 7349|     44|    void * _res = NULL;
 7350|     44|    int _mark = p->mark;
 7351|     44|    { // '!' &(':' | '}')
 7352|     44|        if (p->error_indicator) {
  ------------------
  |  Branch (7352:13): [True: 0, False: 44]
  ------------------
 7353|      0|            p->level--;
 7354|      0|            return NULL;
 7355|      0|        }
 7356|     44|        D(fprintf(stderr, "%*c> invalid_fstring_conversion_character[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!' &(':' | '}')"));
 7357|     44|        Token * _literal;
 7358|     44|        if (
 7359|     44|            (_literal = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (7359:13): [True: 19, False: 25]
  ------------------
 7360|     19|            &&
 7361|     19|            _PyPegen_lookahead(1, _tmp_171_rule, p)
  ------------------
  |  Branch (7361:13): [True: 6, False: 13]
  ------------------
 7362|     44|        )
 7363|      6|        {
 7364|      6|            D(fprintf(stderr, "%*c+ invalid_fstring_conversion_character[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!' &(':' | '}')"));
 7365|      6|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "f-string: missing conversion character" );
  ------------------
  |  |  244|      6|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
 7366|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7366:18): [True: 6, False: 0]
  |  Branch (7366:34): [True: 0, False: 0]
  |  Branch (7366:57): [True: 6, False: 0]
  ------------------
 7367|      6|                p->error_indicator = 1;
 7368|      6|                p->level--;
 7369|      6|                return NULL;
 7370|      6|            }
 7371|      0|            goto done;
 7372|      6|        }
 7373|     38|        p->mark = _mark;
 7374|     38|        D(fprintf(stderr, "%*c%s invalid_fstring_conversion_character[%d-%d]: %s failed!\n", p->level, ' ',
 7375|     38|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!' &(':' | '}')"));
 7376|     38|    }
 7377|      0|    { // '!' !NAME
 7378|     38|        if (p->error_indicator) {
  ------------------
  |  Branch (7378:13): [True: 0, False: 38]
  ------------------
 7379|      0|            p->level--;
 7380|      0|            return NULL;
 7381|      0|        }
 7382|     38|        D(fprintf(stderr, "%*c> invalid_fstring_conversion_character[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!' !NAME"));
 7383|     38|        Token * _literal;
 7384|     38|        if (
 7385|     38|            (_literal = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (7385:13): [True: 13, False: 25]
  ------------------
 7386|     13|            &&
 7387|     13|            _PyPegen_lookahead_for_expr(0, _PyPegen_name_token, p)
  ------------------
  |  Branch (7387:13): [True: 8, False: 5]
  ------------------
 7388|     38|        )
 7389|      8|        {
 7390|      8|            D(fprintf(stderr, "%*c+ invalid_fstring_conversion_character[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!' !NAME"));
 7391|      8|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "f-string: invalid conversion character" );
  ------------------
  |  |  244|      8|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
 7392|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7392:18): [True: 8, False: 0]
  |  Branch (7392:34): [True: 0, False: 0]
  |  Branch (7392:57): [True: 8, False: 0]
  ------------------
 7393|      8|                p->error_indicator = 1;
 7394|      8|                p->level--;
 7395|      8|                return NULL;
 7396|      8|            }
 7397|      0|            goto done;
 7398|      8|        }
 7399|     30|        p->mark = _mark;
 7400|     30|        D(fprintf(stderr, "%*c%s invalid_fstring_conversion_character[%d-%d]: %s failed!\n", p->level, ' ',
 7401|     30|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!' !NAME"));
 7402|     30|    }
 7403|     30|    _res = NULL;
 7404|     30|  done:
 7405|     30|    p->level--;
 7406|     30|    return _res;
 7407|     30|}
parser_invalid.c:invalid_tstring_conversion_character_rule:
 7783|     37|{
 7784|     37|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     74|#  define MAXSTACK 6000
  ------------------
  |  Branch (7784:9): [True: 0, False: 37]
  |  Branch (7784:35): [True: 0, False: 37]
  ------------------
 7785|      0|        _Pypegen_stack_overflow(p);
 7786|      0|    }
 7787|     37|    if (p->error_indicator) {
  ------------------
  |  Branch (7787:9): [True: 0, False: 37]
  ------------------
 7788|      0|        p->level--;
 7789|      0|        return NULL;
 7790|      0|    }
 7791|     37|    void * _res = NULL;
 7792|     37|    int _mark = p->mark;
 7793|     37|    { // '!' &(':' | '}')
 7794|     37|        if (p->error_indicator) {
  ------------------
  |  Branch (7794:13): [True: 0, False: 37]
  ------------------
 7795|      0|            p->level--;
 7796|      0|            return NULL;
 7797|      0|        }
 7798|     37|        D(fprintf(stderr, "%*c> invalid_tstring_conversion_character[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!' &(':' | '}')"));
 7799|     37|        Token * _literal;
 7800|     37|        if (
 7801|     37|            (_literal = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (7801:13): [True: 7, False: 30]
  ------------------
 7802|      7|            &&
 7803|      7|            _PyPegen_lookahead(1, _tmp_171_rule, p)
  ------------------
  |  Branch (7803:13): [True: 1, False: 6]
  ------------------
 7804|     37|        )
 7805|      1|        {
 7806|      1|            D(fprintf(stderr, "%*c+ invalid_tstring_conversion_character[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!' &(':' | '}')"));
 7807|      1|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "t-string: missing conversion character" );
  ------------------
  |  |  244|      1|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
 7808|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7808:18): [True: 1, False: 0]
  |  Branch (7808:34): [True: 0, False: 0]
  |  Branch (7808:57): [True: 1, False: 0]
  ------------------
 7809|      1|                p->error_indicator = 1;
 7810|      1|                p->level--;
 7811|      1|                return NULL;
 7812|      1|            }
 7813|      0|            goto done;
 7814|      1|        }
 7815|     36|        p->mark = _mark;
 7816|     36|        D(fprintf(stderr, "%*c%s invalid_tstring_conversion_character[%d-%d]: %s failed!\n", p->level, ' ',
 7817|     36|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!' &(':' | '}')"));
 7818|     36|    }
 7819|      0|    { // '!' !NAME
 7820|     36|        if (p->error_indicator) {
  ------------------
  |  Branch (7820:13): [True: 0, False: 36]
  ------------------
 7821|      0|            p->level--;
 7822|      0|            return NULL;
 7823|      0|        }
 7824|     36|        D(fprintf(stderr, "%*c> invalid_tstring_conversion_character[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!' !NAME"));
 7825|     36|        Token * _literal;
 7826|     36|        if (
 7827|     36|            (_literal = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (7827:13): [True: 6, False: 30]
  ------------------
 7828|      6|            &&
 7829|      6|            _PyPegen_lookahead_for_expr(0, _PyPegen_name_token, p)
  ------------------
  |  Branch (7829:13): [True: 4, False: 2]
  ------------------
 7830|     36|        )
 7831|      4|        {
 7832|      4|            D(fprintf(stderr, "%*c+ invalid_tstring_conversion_character[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!' !NAME"));
 7833|      4|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "t-string: invalid conversion character" );
  ------------------
  |  |  244|      4|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
 7834|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7834:18): [True: 4, False: 0]
  |  Branch (7834:34): [True: 0, False: 0]
  |  Branch (7834:57): [True: 4, False: 0]
  ------------------
 7835|      4|                p->error_indicator = 1;
 7836|      4|                p->level--;
 7837|      4|                return NULL;
 7838|      4|            }
 7839|      0|            goto done;
 7840|      4|        }
 7841|     32|        p->mark = _mark;
 7842|     32|        D(fprintf(stderr, "%*c%s invalid_tstring_conversion_character[%d-%d]: %s failed!\n", p->level, ' ',
 7843|     32|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!' !NAME"));
 7844|     32|    }
 7845|     32|    _res = NULL;
 7846|     32|  done:
 7847|     32|    p->level--;
 7848|     32|    return _res;
 7849|     32|}
parser_invalid.c:_tmp_106_rule:
 8225|  7.72k|{
 8226|  7.72k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  15.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8226:9): [True: 0, False: 7.72k]
  |  Branch (8226:35): [True: 0, False: 7.72k]
  ------------------
 8227|      0|        _Pypegen_stack_overflow(p);
 8228|      0|    }
 8229|  7.72k|    if (p->error_indicator) {
  ------------------
  |  Branch (8229:9): [True: 0, False: 7.72k]
  ------------------
 8230|      0|        p->level--;
 8231|      0|        return NULL;
 8232|      0|    }
 8233|  7.72k|    void * _res = NULL;
 8234|  7.72k|    int _mark = p->mark;
 8235|  7.72k|    { // (','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs)
 8236|  7.72k|        if (p->error_indicator) {
  ------------------
  |  Branch (8236:13): [True: 0, False: 7.72k]
  ------------------
 8237|      0|            p->level--;
 8238|      0|            return NULL;
 8239|      0|        }
 8240|  7.72k|        D(fprintf(stderr, "%*c> _tmp_106[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs)"));
 8241|  7.72k|        void *_tmp_189_var;
 8242|  7.72k|        if (
 8243|  7.72k|            (_tmp_189_var = _tmp_189_rule(p))  // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs
  ------------------
  |  Branch (8243:13): [True: 458, False: 7.26k]
  ------------------
 8244|  7.72k|        )
 8245|    458|        {
 8246|    458|            D(fprintf(stderr, "%*c+ _tmp_106[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs)"));
 8247|    458|            _res = _tmp_189_var;
 8248|    458|            goto done;
 8249|    458|        }
 8250|  7.26k|        p->mark = _mark;
 8251|  7.26k|        D(fprintf(stderr, "%*c%s _tmp_106[%d-%d]: %s failed!\n", p->level, ' ',
 8252|  7.26k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs)"));
 8253|  7.26k|    }
 8254|      0|    { // kwargs
 8255|  7.26k|        if (p->error_indicator) {
  ------------------
  |  Branch (8255:13): [True: 0, False: 7.26k]
  ------------------
 8256|      0|            p->level--;
 8257|      0|            return NULL;
 8258|      0|        }
 8259|  7.26k|        D(fprintf(stderr, "%*c> _tmp_106[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwargs"));
 8260|  7.26k|        asdl_seq* kwargs_var;
 8261|  7.26k|        if (
 8262|  7.26k|            (kwargs_var = kwargs_rule(p))  // kwargs
  ------------------
  |  |  309|  7.26k|#define kwargs_rule _PyPegen_kwargs_rule
  ------------------
  |  Branch (8262:13): [True: 2.75k, False: 4.50k]
  ------------------
 8263|  7.26k|        )
 8264|  2.75k|        {
 8265|  2.75k|            D(fprintf(stderr, "%*c+ _tmp_106[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwargs"));
 8266|  2.75k|            _res = kwargs_var;
 8267|  2.75k|            goto done;
 8268|  2.75k|        }
 8269|  4.50k|        p->mark = _mark;
 8270|  4.50k|        D(fprintf(stderr, "%*c%s _tmp_106[%d-%d]: %s failed!\n", p->level, ' ',
 8271|  4.50k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwargs"));
 8272|  4.50k|    }
 8273|  4.50k|    _res = NULL;
 8274|  7.72k|  done:
 8275|  7.72k|    p->level--;
 8276|  7.72k|    return _res;
 8277|  4.50k|}
parser_invalid.c:_tmp_189_rule:
12512|  7.72k|{
12513|  7.72k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  15.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12513:9): [True: 0, False: 7.72k]
  |  Branch (12513:35): [True: 0, False: 7.72k]
  ------------------
12514|      0|        _Pypegen_stack_overflow(p);
12515|      0|    }
12516|  7.72k|    if (p->error_indicator) {
  ------------------
  |  Branch (12516:9): [True: 0, False: 7.72k]
  ------------------
12517|      0|        p->level--;
12518|      0|        return NULL;
12519|      0|    }
12520|  7.72k|    void * _res = NULL;
12521|  7.72k|    int _mark = p->mark;
12522|  7.72k|    { // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs
12523|  7.72k|        if (p->error_indicator) {
  ------------------
  |  Branch (12523:13): [True: 0, False: 7.72k]
  ------------------
12524|      0|            p->level--;
12525|      0|            return NULL;
12526|      0|        }
12527|  7.72k|        D(fprintf(stderr, "%*c> _tmp_189[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs"));
12528|  7.72k|        asdl_seq * _gather_202_var;
12529|  7.72k|        Token * _literal;
12530|  7.72k|        asdl_seq* kwargs_var;
12531|  7.72k|        if (
12532|  7.72k|            (_gather_202_var = _gather_202_rule(p))  // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+
  ------------------
  |  Branch (12532:13): [True: 3.32k, False: 4.40k]
  ------------------
12533|  3.32k|            &&
12534|  3.32k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (12534:13): [True: 721, False: 2.60k]
  ------------------
12535|    721|            &&
12536|    721|            (kwargs_var = kwargs_rule(p))  // kwargs
  ------------------
  |  |  309|    721|#define kwargs_rule _PyPegen_kwargs_rule
  ------------------
  |  Branch (12536:13): [True: 458, False: 263]
  ------------------
12537|  7.72k|        )
12538|    458|        {
12539|    458|            D(fprintf(stderr, "%*c+ _tmp_189[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs"));
12540|    458|            _res = _PyPegen_dummy_name(p, _gather_202_var, _literal, kwargs_var);
12541|    458|            goto done;
12542|    458|        }
12543|  7.26k|        p->mark = _mark;
12544|  7.26k|        D(fprintf(stderr, "%*c%s _tmp_189[%d-%d]: %s failed!\n", p->level, ' ',
12545|  7.26k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs"));
12546|  7.26k|    }
12547|  7.26k|    _res = NULL;
12548|  7.72k|  done:
12549|  7.72k|    p->level--;
12550|  7.72k|    return _res;
12551|  7.26k|}
parser_invalid.c:_gather_202_rule:
13153|  7.72k|{
13154|  7.72k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  15.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13154:9): [True: 0, False: 7.72k]
  |  Branch (13154:35): [True: 0, False: 7.72k]
  ------------------
13155|      0|        _Pypegen_stack_overflow(p);
13156|      0|    }
13157|  7.72k|    if (p->error_indicator) {
  ------------------
  |  Branch (13157:9): [True: 0, False: 7.72k]
  ------------------
13158|      0|        p->level--;
13159|      0|        return NULL;
13160|      0|    }
13161|  7.72k|    asdl_seq * _res = NULL;
13162|  7.72k|    int _mark = p->mark;
13163|  7.72k|    { // (starred_expression | (assignment_expression | expression !':=') !'=') _loop0_201
13164|  7.72k|        if (p->error_indicator) {
  ------------------
  |  Branch (13164:13): [True: 0, False: 7.72k]
  ------------------
13165|      0|            p->level--;
13166|      0|            return NULL;
13167|      0|        }
13168|  7.72k|        D(fprintf(stderr, "%*c> _gather_202[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_201"));
13169|  7.72k|        void *elem;
13170|  7.72k|        asdl_seq * seq;
13171|  7.72k|        if (
13172|  7.72k|            (elem = _tmp_205_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (13172:13): [True: 3.32k, False: 4.40k]
  ------------------
13173|  3.32k|            &&
13174|  3.32k|            (seq = _loop0_201_rule(p))  // _loop0_201
  ------------------
  |  Branch (13174:13): [True: 3.32k, False: 0]
  ------------------
13175|  7.72k|        )
13176|  3.32k|        {
13177|  3.32k|            D(fprintf(stderr, "%*c+ _gather_202[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_201"));
13178|  3.32k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
13179|  3.32k|            goto done;
13180|  3.32k|        }
13181|  4.40k|        p->mark = _mark;
13182|  4.40k|        D(fprintf(stderr, "%*c%s _gather_202[%d-%d]: %s failed!\n", p->level, ' ',
13183|  4.40k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_201"));
13184|  4.40k|    }
13185|  4.40k|    _res = NULL;
13186|  7.72k|  done:
13187|  7.72k|    p->level--;
13188|  7.72k|    return _res;
13189|  4.40k|}
parser_invalid.c:_tmp_205_rule:
13276|  10.1k|{
13277|  10.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  20.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13277:9): [True: 0, False: 10.1k]
  |  Branch (13277:35): [True: 0, False: 10.1k]
  ------------------
13278|      0|        _Pypegen_stack_overflow(p);
13279|      0|    }
13280|  10.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (13280:9): [True: 0, False: 10.1k]
  ------------------
13281|      0|        p->level--;
13282|      0|        return NULL;
13283|      0|    }
13284|  10.1k|    void * _res = NULL;
13285|  10.1k|    int _mark = p->mark;
13286|  10.1k|    { // starred_expression
13287|  10.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (13287:13): [True: 0, False: 10.1k]
  ------------------
13288|      0|            p->level--;
13289|      0|            return NULL;
13290|      0|        }
13291|  10.1k|        D(fprintf(stderr, "%*c> _tmp_205[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
13292|  10.1k|        expr_ty starred_expression_var;
13293|  10.1k|        if (
13294|  10.1k|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  |  311|  10.1k|#define starred_expression_rule _PyPegen_starred_expression_rule
  ------------------
  |  Branch (13294:13): [True: 1.09k, False: 9.00k]
  ------------------
13295|  10.1k|        )
13296|  1.09k|        {
13297|  1.09k|            D(fprintf(stderr, "%*c+ _tmp_205[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
13298|  1.09k|            _res = starred_expression_var;
13299|  1.09k|            goto done;
13300|  1.09k|        }
13301|  9.00k|        p->mark = _mark;
13302|  9.00k|        D(fprintf(stderr, "%*c%s _tmp_205[%d-%d]: %s failed!\n", p->level, ' ',
13303|  9.00k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
13304|  9.00k|    }
13305|      0|    { // (assignment_expression | expression !':=') !'='
13306|  9.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (13306:13): [True: 0, False: 9.00k]
  ------------------
13307|      0|            p->level--;
13308|      0|            return NULL;
13309|      0|        }
13310|  9.00k|        D(fprintf(stderr, "%*c> _tmp_205[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
13311|  9.00k|        void *_tmp_206_var;
13312|  9.00k|        if (
13313|  9.00k|            (_tmp_206_var = _tmp_206_rule(p))  // assignment_expression | expression !':='
  ------------------
  |  Branch (13313:13): [True: 5.05k, False: 3.94k]
  ------------------
13314|  5.05k|            &&
13315|  5.05k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 22)  // token='='
  ------------------
  |  Branch (13315:13): [True: 3.88k, False: 1.17k]
  ------------------
13316|  9.00k|        )
13317|  3.88k|        {
13318|  3.88k|            D(fprintf(stderr, "%*c+ _tmp_205[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
13319|  3.88k|            _res = _tmp_206_var;
13320|  3.88k|            goto done;
13321|  3.88k|        }
13322|  5.12k|        p->mark = _mark;
13323|  5.12k|        D(fprintf(stderr, "%*c%s _tmp_205[%d-%d]: %s failed!\n", p->level, ' ',
13324|  5.12k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
13325|  5.12k|    }
13326|  5.12k|    _res = NULL;
13327|  10.1k|  done:
13328|  10.1k|    p->level--;
13329|  10.1k|    return _res;
13330|  5.12k|}
parser_invalid.c:_tmp_206_rule:
13335|  9.00k|{
13336|  9.00k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  18.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13336:9): [True: 0, False: 9.00k]
  |  Branch (13336:35): [True: 0, False: 9.00k]
  ------------------
13337|      0|        _Pypegen_stack_overflow(p);
13338|      0|    }
13339|  9.00k|    if (p->error_indicator) {
  ------------------
  |  Branch (13339:9): [True: 0, False: 9.00k]
  ------------------
13340|      0|        p->level--;
13341|      0|        return NULL;
13342|      0|    }
13343|  9.00k|    void * _res = NULL;
13344|  9.00k|    int _mark = p->mark;
13345|  9.00k|    { // assignment_expression
13346|  9.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (13346:13): [True: 0, False: 9.00k]
  ------------------
13347|      0|            p->level--;
13348|      0|            return NULL;
13349|      0|        }
13350|  9.00k|        D(fprintf(stderr, "%*c> _tmp_206[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
13351|  9.00k|        expr_ty assignment_expression_var;
13352|  9.00k|        if (
13353|  9.00k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  |  255|  9.00k|#define assignment_expression_rule _PyPegen_assignment_expression_rule
  ------------------
  |  Branch (13353:13): [True: 157, False: 8.85k]
  ------------------
13354|  9.00k|        )
13355|    157|        {
13356|    157|            D(fprintf(stderr, "%*c+ _tmp_206[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
13357|    157|            _res = assignment_expression_var;
13358|    157|            goto done;
13359|    157|        }
13360|  8.85k|        p->mark = _mark;
13361|  8.85k|        D(fprintf(stderr, "%*c%s _tmp_206[%d-%d]: %s failed!\n", p->level, ' ',
13362|  8.85k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
13363|  8.85k|    }
13364|      0|    { // expression !':='
13365|  8.85k|        if (p->error_indicator) {
  ------------------
  |  Branch (13365:13): [True: 0, False: 8.85k]
  ------------------
13366|      0|            p->level--;
13367|      0|            return NULL;
13368|      0|        }
13369|  8.85k|        D(fprintf(stderr, "%*c> _tmp_206[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
13370|  8.85k|        expr_ty expression_var;
13371|  8.85k|        if (
13372|  8.85k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|  8.85k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (13372:13): [True: 5.07k, False: 3.77k]
  ------------------
13373|  5.07k|            &&
13374|  5.07k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (13374:13): [True: 4.90k, False: 172]
  ------------------
13375|  8.85k|        )
13376|  4.90k|        {
13377|  4.90k|            D(fprintf(stderr, "%*c+ _tmp_206[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
13378|  4.90k|            _res = expression_var;
13379|  4.90k|            goto done;
13380|  4.90k|        }
13381|  3.94k|        p->mark = _mark;
13382|  3.94k|        D(fprintf(stderr, "%*c%s _tmp_206[%d-%d]: %s failed!\n", p->level, ' ',
13383|  3.94k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
13384|  3.94k|    }
13385|  3.94k|    _res = NULL;
13386|  9.00k|  done:
13387|  9.00k|    p->level--;
13388|  9.00k|    return _res;
13389|  3.94k|}
parser_invalid.c:_loop0_201_rule:
13085|  3.32k|{
13086|  3.32k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.64k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13086:9): [True: 0, False: 3.32k]
  |  Branch (13086:35): [True: 0, False: 3.32k]
  ------------------
13087|      0|        _Pypegen_stack_overflow(p);
13088|      0|    }
13089|  3.32k|    if (p->error_indicator) {
  ------------------
  |  Branch (13089:9): [True: 0, False: 3.32k]
  ------------------
13090|      0|        p->level--;
13091|      0|        return NULL;
13092|      0|    }
13093|  3.32k|    void *_res = NULL;
13094|  3.32k|    int _mark = p->mark;
13095|  3.32k|    void **_children = NULL;
13096|  3.32k|    Py_ssize_t _children_capacity = 0;
13097|  3.32k|    Py_ssize_t _n = 0;
13098|  3.32k|    { // ',' (starred_expression | (assignment_expression | expression !':=') !'=')
13099|  3.32k|        if (p->error_indicator) {
  ------------------
  |  Branch (13099:13): [True: 0, False: 3.32k]
  ------------------
13100|      0|            p->level--;
13101|      0|            return NULL;
13102|      0|        }
13103|  3.32k|        D(fprintf(stderr, "%*c> _loop0_201[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
13104|  3.32k|        Token * _literal;
13105|  3.32k|        void *elem;
13106|  3.32k|        while (
13107|  4.98k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (13107:13): [True: 2.38k, False: 2.60k]
  ------------------
13108|  2.38k|            &&
13109|  2.38k|            (elem = _tmp_205_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (13109:13): [True: 1.65k, False: 721]
  ------------------
13110|  3.32k|        )
13111|  1.65k|        {
13112|  1.65k|            _res = elem;
13113|  1.65k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13113:18): [True: 0, False: 1.65k]
  |  Branch (13113:34): [True: 0, False: 1.65k]
  |  Branch (13113:57): [True: 0, False: 0]
  ------------------
13114|      0|                p->error_indicator = 1;
13115|      0|                PyMem_Free(_children);
13116|      0|                p->level--;
13117|      0|                return NULL;
13118|      0|            }
13119|  1.65k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (13119:17): [True: 1.13k, False: 524]
  ------------------
13120|  1.13k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (13120:21): [True: 0, False: 1.13k]
  ------------------
13121|      0|                    p->error_indicator = 1;
13122|      0|                    PyErr_NoMemory();
13123|      0|                    PyMem_Free(_children);
13124|      0|                    p->level--;
13125|      0|                    return NULL;
13126|      0|                }
13127|  1.13k|            }
13128|  1.65k|            _children[_n++] = _res;
13129|  1.65k|            _mark = p->mark;
13130|  1.65k|        }
13131|  3.32k|        p->mark = _mark;
13132|  3.32k|        D(fprintf(stderr, "%*c%s _loop0_201[%d-%d]: %s failed!\n", p->level, ' ',
13133|  3.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
13134|  3.32k|    }
13135|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
13136|  3.32k|    if (!_seq) {
  ------------------
  |  Branch (13136:9): [True: 0, False: 3.32k]
  ------------------
13137|      0|        p->error_indicator = 1;
13138|      0|        PyErr_NoMemory();
13139|      0|        PyMem_Free(_children);
13140|      0|        p->level--;
13141|      0|        return NULL;
13142|      0|    }
13143|  4.98k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.65k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  4.98k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (13143:28): [True: 1.65k, False: 3.32k]
  ------------------
13144|  3.32k|    PyMem_Free(_children);
13145|  3.32k|    p->level--;
13146|  3.32k|    return _seq;
13147|  3.32k|}
parser_invalid.c:_gather_108_rule:
 8349|  1.12k|{
 8350|  1.12k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.24k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8350:9): [True: 0, False: 1.12k]
  |  Branch (8350:35): [True: 0, False: 1.12k]
  ------------------
 8351|      0|        _Pypegen_stack_overflow(p);
 8352|      0|    }
 8353|  1.12k|    if (p->error_indicator) {
  ------------------
  |  Branch (8353:9): [True: 0, False: 1.12k]
  ------------------
 8354|      0|        p->level--;
 8355|      0|        return NULL;
 8356|      0|    }
 8357|  1.12k|    asdl_seq * _res = NULL;
 8358|  1.12k|    int _mark = p->mark;
 8359|  1.12k|    { // (starred_expression !'=') _loop0_107
 8360|  1.12k|        if (p->error_indicator) {
  ------------------
  |  Branch (8360:13): [True: 0, False: 1.12k]
  ------------------
 8361|      0|            p->level--;
 8362|      0|            return NULL;
 8363|      0|        }
 8364|  1.12k|        D(fprintf(stderr, "%*c> _gather_108[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(starred_expression !'=') _loop0_107"));
 8365|  1.12k|        void *elem;
 8366|  1.12k|        asdl_seq * seq;
 8367|  1.12k|        if (
 8368|  1.12k|            (elem = _tmp_190_rule(p))  // starred_expression !'='
  ------------------
  |  Branch (8368:13): [True: 391, False: 732]
  ------------------
 8369|    391|            &&
 8370|    391|            (seq = _loop0_107_rule(p))  // _loop0_107
  ------------------
  |  Branch (8370:13): [True: 391, False: 0]
  ------------------
 8371|  1.12k|        )
 8372|    391|        {
 8373|    391|            D(fprintf(stderr, "%*c+ _gather_108[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(starred_expression !'=') _loop0_107"));
 8374|    391|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
 8375|    391|            goto done;
 8376|    391|        }
 8377|    732|        p->mark = _mark;
 8378|    732|        D(fprintf(stderr, "%*c%s _gather_108[%d-%d]: %s failed!\n", p->level, ' ',
 8379|    732|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(starred_expression !'=') _loop0_107"));
 8380|    732|    }
 8381|    732|    _res = NULL;
 8382|  1.12k|  done:
 8383|  1.12k|    p->level--;
 8384|  1.12k|    return _res;
 8385|    732|}
parser_invalid.c:_tmp_190_rule:
12556|  2.00k|{
12557|  2.00k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.01k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12557:9): [True: 0, False: 2.00k]
  |  Branch (12557:35): [True: 0, False: 2.00k]
  ------------------
12558|      0|        _Pypegen_stack_overflow(p);
12559|      0|    }
12560|  2.00k|    if (p->error_indicator) {
  ------------------
  |  Branch (12560:9): [True: 0, False: 2.00k]
  ------------------
12561|      0|        p->level--;
12562|      0|        return NULL;
12563|      0|    }
12564|  2.00k|    void * _res = NULL;
12565|  2.00k|    int _mark = p->mark;
12566|  2.00k|    { // starred_expression !'='
12567|  2.00k|        if (p->error_indicator) {
  ------------------
  |  Branch (12567:13): [True: 0, False: 2.00k]
  ------------------
12568|      0|            p->level--;
12569|      0|            return NULL;
12570|      0|        }
12571|  2.00k|        D(fprintf(stderr, "%*c> _tmp_190[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression !'='"));
12572|  2.00k|        expr_ty starred_expression_var;
12573|  2.00k|        if (
12574|  2.00k|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  |  311|  2.00k|#define starred_expression_rule _PyPegen_starred_expression_rule
  ------------------
  |  Branch (12574:13): [True: 895, False: 1.11k]
  ------------------
12575|    895|            &&
12576|    895|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 22)  // token='='
  ------------------
  |  Branch (12576:13): [True: 895, False: 0]
  ------------------
12577|  2.00k|        )
12578|    895|        {
12579|    895|            D(fprintf(stderr, "%*c+ _tmp_190[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression !'='"));
12580|    895|            _res = starred_expression_var;
12581|    895|            goto done;
12582|    895|        }
12583|  1.11k|        p->mark = _mark;
12584|  1.11k|        D(fprintf(stderr, "%*c%s _tmp_190[%d-%d]: %s failed!\n", p->level, ' ',
12585|  1.11k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression !'='"));
12586|  1.11k|    }
12587|  1.11k|    _res = NULL;
12588|  2.00k|  done:
12589|  2.00k|    p->level--;
12590|  2.00k|    return _res;
12591|  1.11k|}
parser_invalid.c:_loop0_107_rule:
 8282|    391|{
 8283|    391|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    782|#  define MAXSTACK 6000
  ------------------
  |  Branch (8283:9): [True: 0, False: 391]
  |  Branch (8283:35): [True: 0, False: 391]
  ------------------
 8284|      0|        _Pypegen_stack_overflow(p);
 8285|      0|    }
 8286|    391|    if (p->error_indicator) {
  ------------------
  |  Branch (8286:9): [True: 0, False: 391]
  ------------------
 8287|      0|        p->level--;
 8288|      0|        return NULL;
 8289|      0|    }
 8290|    391|    void *_res = NULL;
 8291|    391|    int _mark = p->mark;
 8292|    391|    void **_children = NULL;
 8293|    391|    Py_ssize_t _children_capacity = 0;
 8294|    391|    Py_ssize_t _n = 0;
 8295|    391|    { // ',' (starred_expression !'=')
 8296|    391|        if (p->error_indicator) {
  ------------------
  |  Branch (8296:13): [True: 0, False: 391]
  ------------------
 8297|      0|            p->level--;
 8298|      0|            return NULL;
 8299|      0|        }
 8300|    391|        D(fprintf(stderr, "%*c> _loop0_107[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (starred_expression !'=')"));
 8301|    391|        Token * _literal;
 8302|    391|        void *elem;
 8303|    391|        while (
 8304|    895|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (8304:13): [True: 886, False: 9]
  ------------------
 8305|    886|            &&
 8306|    886|            (elem = _tmp_190_rule(p))  // starred_expression !'='
  ------------------
  |  Branch (8306:13): [True: 504, False: 382]
  ------------------
 8307|    391|        )
 8308|    504|        {
 8309|    504|            _res = elem;
 8310|    504|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8310:18): [True: 0, False: 504]
  |  Branch (8310:34): [True: 0, False: 504]
  |  Branch (8310:57): [True: 0, False: 0]
  ------------------
 8311|      0|                p->error_indicator = 1;
 8312|      0|                PyMem_Free(_children);
 8313|      0|                p->level--;
 8314|      0|                return NULL;
 8315|      0|            }
 8316|    504|            if (_n == _children_capacity) {
  ------------------
  |  Branch (8316:17): [True: 356, False: 148]
  ------------------
 8317|    356|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (8317:21): [True: 0, False: 356]
  ------------------
 8318|      0|                    p->error_indicator = 1;
 8319|      0|                    PyErr_NoMemory();
 8320|      0|                    PyMem_Free(_children);
 8321|      0|                    p->level--;
 8322|      0|                    return NULL;
 8323|      0|                }
 8324|    356|            }
 8325|    504|            _children[_n++] = _res;
 8326|    504|            _mark = p->mark;
 8327|    504|        }
 8328|    391|        p->mark = _mark;
 8329|    391|        D(fprintf(stderr, "%*c%s _loop0_107[%d-%d]: %s failed!\n", p->level, ' ',
 8330|    391|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (starred_expression !'=')"));
 8331|    391|    }
 8332|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
 8333|    391|    if (!_seq) {
  ------------------
  |  Branch (8333:9): [True: 0, False: 391]
  ------------------
 8334|      0|        p->error_indicator = 1;
 8335|      0|        PyErr_NoMemory();
 8336|      0|        PyMem_Free(_children);
 8337|      0|        p->level--;
 8338|      0|        return NULL;
 8339|      0|    }
 8340|    895|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    504|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|    895|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (8340:28): [True: 504, False: 391]
  ------------------
 8341|    391|    PyMem_Free(_children);
 8342|    391|    p->level--;
 8343|    391|    return _seq;
 8344|    391|}
parser_invalid.c:_tmp_109_rule:
 8390|    249|{
 8391|    249|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    498|#  define MAXSTACK 6000
  ------------------
  |  Branch (8391:9): [True: 0, False: 249]
  |  Branch (8391:35): [True: 0, False: 249]
  ------------------
 8392|      0|        _Pypegen_stack_overflow(p);
 8393|      0|    }
 8394|    249|    if (p->error_indicator) {
  ------------------
  |  Branch (8394:9): [True: 0, False: 249]
  ------------------
 8395|      0|        p->level--;
 8396|      0|        return NULL;
 8397|      0|    }
 8398|    249|    void * _res = NULL;
 8399|    249|    int _mark = p->mark;
 8400|    249|    { // args
 8401|    249|        if (p->error_indicator) {
  ------------------
  |  Branch (8401:13): [True: 0, False: 249]
  ------------------
 8402|      0|            p->level--;
 8403|      0|            return NULL;
 8404|      0|        }
 8405|    249|        D(fprintf(stderr, "%*c> _tmp_109[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args"));
 8406|    249|        expr_ty args_var;
 8407|    249|        if (
 8408|    249|            (args_var = args_rule(p))  // args
  ------------------
  |  |  307|    249|#define args_rule _PyPegen_args_rule
  ------------------
  |  Branch (8408:13): [True: 2, False: 247]
  ------------------
 8409|    249|        )
 8410|      2|        {
 8411|      2|            D(fprintf(stderr, "%*c+ _tmp_109[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args"));
 8412|      2|            _res = args_var;
 8413|      2|            goto done;
 8414|      2|        }
 8415|    247|        p->mark = _mark;
 8416|    247|        D(fprintf(stderr, "%*c%s _tmp_109[%d-%d]: %s failed!\n", p->level, ' ',
 8417|    247|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args"));
 8418|    247|    }
 8419|      0|    { // expression for_if_clauses
 8420|    247|        if (p->error_indicator) {
  ------------------
  |  Branch (8420:13): [True: 245, False: 2]
  ------------------
 8421|    245|            p->level--;
 8422|    245|            return NULL;
 8423|    245|        }
 8424|      2|        D(fprintf(stderr, "%*c> _tmp_109[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression for_if_clauses"));
 8425|      2|        expr_ty expression_var;
 8426|      2|        asdl_comprehension_seq* for_if_clauses_var;
 8427|      2|        if (
 8428|      2|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|      2|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (8428:13): [True: 1, False: 1]
  ------------------
 8429|      1|            &&
 8430|      1|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  |  301|      1|#define for_if_clauses_rule _PyPegen_for_if_clauses_rule
  ------------------
  |  Branch (8430:13): [True: 0, False: 1]
  ------------------
 8431|      2|        )
 8432|      0|        {
 8433|      0|            D(fprintf(stderr, "%*c+ _tmp_109[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression for_if_clauses"));
 8434|      0|            _res = _PyPegen_dummy_name(p, expression_var, for_if_clauses_var);
 8435|      0|            goto done;
 8436|      0|        }
 8437|      2|        p->mark = _mark;
 8438|      2|        D(fprintf(stderr, "%*c%s _tmp_109[%d-%d]: %s failed!\n", p->level, ' ',
 8439|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression for_if_clauses"));
 8440|      2|    }
 8441|      2|    _res = NULL;
 8442|      4|  done:
 8443|      4|    p->level--;
 8444|      4|    return _res;
 8445|      2|}
parser_invalid.c:_tmp_110_rule:
 8450|  6.99k|{
 8451|  6.99k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  13.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8451:9): [True: 0, False: 6.99k]
  |  Branch (8451:35): [True: 0, False: 6.99k]
  ------------------
 8452|      0|        _Pypegen_stack_overflow(p);
 8453|      0|    }
 8454|  6.99k|    if (p->error_indicator) {
  ------------------
  |  Branch (8454:9): [True: 0, False: 6.99k]
  ------------------
 8455|      0|        p->level--;
 8456|      0|        return NULL;
 8457|      0|    }
 8458|  6.99k|    void * _res = NULL;
 8459|  6.99k|    int _mark = p->mark;
 8460|  6.99k|    { // args ','
 8461|  6.99k|        if (p->error_indicator) {
  ------------------
  |  Branch (8461:13): [True: 0, False: 6.99k]
  ------------------
 8462|      0|            p->level--;
 8463|      0|            return NULL;
 8464|      0|        }
 8465|  6.99k|        D(fprintf(stderr, "%*c> _tmp_110[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ','"));
 8466|  6.99k|        Token * _literal;
 8467|  6.99k|        expr_ty args_var;
 8468|  6.99k|        if (
 8469|  6.99k|            (args_var = args_rule(p))  // args
  ------------------
  |  |  307|  6.99k|#define args_rule _PyPegen_args_rule
  ------------------
  |  Branch (8469:13): [True: 4.67k, False: 2.32k]
  ------------------
 8470|  4.67k|            &&
 8471|  4.67k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (8471:13): [True: 712, False: 3.95k]
  ------------------
 8472|  6.99k|        )
 8473|    712|        {
 8474|    712|            D(fprintf(stderr, "%*c+ _tmp_110[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ','"));
 8475|    712|            _res = _PyPegen_dummy_name(p, args_var, _literal);
 8476|    712|            goto done;
 8477|    712|        }
 8478|  6.28k|        p->mark = _mark;
 8479|  6.28k|        D(fprintf(stderr, "%*c%s _tmp_110[%d-%d]: %s failed!\n", p->level, ' ',
 8480|  6.28k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ','"));
 8481|  6.28k|    }
 8482|  6.28k|    _res = NULL;
 8483|  6.99k|  done:
 8484|  6.99k|    p->level--;
 8485|  6.99k|    return _res;
 8486|  6.28k|}
parser_invalid.c:_tmp_111_rule:
 8491|    428|{
 8492|    428|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    856|#  define MAXSTACK 6000
  ------------------
  |  Branch (8492:9): [True: 0, False: 428]
  |  Branch (8492:35): [True: 0, False: 428]
  ------------------
 8493|      0|        _Pypegen_stack_overflow(p);
 8494|      0|    }
 8495|    428|    if (p->error_indicator) {
  ------------------
  |  Branch (8495:9): [True: 0, False: 428]
  ------------------
 8496|      0|        p->level--;
 8497|      0|        return NULL;
 8498|      0|    }
 8499|    428|    void * _res = NULL;
 8500|    428|    int _mark = p->mark;
 8501|    428|    { // ','
 8502|    428|        if (p->error_indicator) {
  ------------------
  |  Branch (8502:13): [True: 0, False: 428]
  ------------------
 8503|      0|            p->level--;
 8504|      0|            return NULL;
 8505|      0|        }
 8506|    428|        D(fprintf(stderr, "%*c> _tmp_111[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
 8507|    428|        Token * _literal;
 8508|    428|        if (
 8509|    428|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (8509:13): [True: 8, False: 420]
  ------------------
 8510|    428|        )
 8511|      8|        {
 8512|      8|            D(fprintf(stderr, "%*c+ _tmp_111[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
 8513|      8|            _res = _literal;
 8514|      8|            goto done;
 8515|      8|        }
 8516|    420|        p->mark = _mark;
 8517|    420|        D(fprintf(stderr, "%*c%s _tmp_111[%d-%d]: %s failed!\n", p->level, ' ',
 8518|    420|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
 8519|    420|    }
 8520|      0|    { // ')'
 8521|    420|        if (p->error_indicator) {
  ------------------
  |  Branch (8521:13): [True: 0, False: 420]
  ------------------
 8522|      0|            p->level--;
 8523|      0|            return NULL;
 8524|      0|        }
 8525|    420|        D(fprintf(stderr, "%*c> _tmp_111[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "')'"));
 8526|    420|        Token * _literal;
 8527|    420|        if (
 8528|    420|            (_literal = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (8528:13): [True: 6, False: 414]
  ------------------
 8529|    420|        )
 8530|      6|        {
 8531|      6|            D(fprintf(stderr, "%*c+ _tmp_111[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "')'"));
 8532|      6|            _res = _literal;
 8533|      6|            goto done;
 8534|      6|        }
 8535|    414|        p->mark = _mark;
 8536|    414|        D(fprintf(stderr, "%*c%s _tmp_111[%d-%d]: %s failed!\n", p->level, ' ',
 8537|    414|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "')'"));
 8538|    414|    }
 8539|    414|    _res = NULL;
 8540|    428|  done:
 8541|    428|    p->level--;
 8542|    428|    return _res;
 8543|    414|}
parser_invalid.c:_tmp_112_rule:
 8548|  74.1k|{
 8549|  74.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   148k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8549:9): [True: 0, False: 74.1k]
  |  Branch (8549:35): [True: 0, False: 74.1k]
  ------------------
 8550|      0|        _Pypegen_stack_overflow(p);
 8551|      0|    }
 8552|  74.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (8552:9): [True: 0, False: 74.1k]
  ------------------
 8553|      0|        p->level--;
 8554|      0|        return NULL;
 8555|      0|    }
 8556|  74.1k|    void * _res = NULL;
 8557|  74.1k|    int _mark = p->mark;
 8558|  74.1k|    { // NAME '='
 8559|  74.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (8559:13): [True: 0, False: 74.1k]
  ------------------
 8560|      0|            p->level--;
 8561|      0|            return NULL;
 8562|      0|        }
 8563|  74.1k|        D(fprintf(stderr, "%*c> _tmp_112[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '='"));
 8564|  74.1k|        Token * _literal;
 8565|  74.1k|        expr_ty name_var;
 8566|  74.1k|        if (
 8567|  74.1k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (8567:13): [True: 20.7k, False: 53.3k]
  ------------------
 8568|  20.7k|            &&
 8569|  20.7k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (8569:13): [True: 13.0k, False: 7.75k]
  ------------------
 8570|  74.1k|        )
 8571|  13.0k|        {
 8572|  13.0k|            D(fprintf(stderr, "%*c+ _tmp_112[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '='"));
 8573|  13.0k|            _res = _PyPegen_dummy_name(p, name_var, _literal);
 8574|  13.0k|            goto done;
 8575|  13.0k|        }
 8576|  61.1k|        p->mark = _mark;
 8577|  61.1k|        D(fprintf(stderr, "%*c%s _tmp_112[%d-%d]: %s failed!\n", p->level, ' ',
 8578|  61.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '='"));
 8579|  61.1k|    }
 8580|  61.1k|    _res = NULL;
 8581|  74.1k|  done:
 8582|  74.1k|    p->level--;
 8583|  74.1k|    return _res;
 8584|  61.1k|}
parser_invalid.c:_loop1_113_rule:
 8589|  2.13k|{
 8590|  2.13k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.26k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8590:9): [True: 0, False: 2.13k]
  |  Branch (8590:35): [True: 0, False: 2.13k]
  ------------------
 8591|      0|        _Pypegen_stack_overflow(p);
 8592|      0|    }
 8593|  2.13k|    if (p->error_indicator) {
  ------------------
  |  Branch (8593:9): [True: 0, False: 2.13k]
  ------------------
 8594|      0|        p->level--;
 8595|      0|        return NULL;
 8596|      0|    }
 8597|  2.13k|    void *_res = NULL;
 8598|  2.13k|    int _mark = p->mark;
 8599|  2.13k|    void **_children = NULL;
 8600|  2.13k|    Py_ssize_t _children_capacity = 0;
 8601|  2.13k|    Py_ssize_t _n = 0;
 8602|  2.13k|    { // (!STRING expression_without_invalid)
 8603|  2.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (8603:13): [True: 0, False: 2.13k]
  ------------------
 8604|      0|            p->level--;
 8605|      0|            return NULL;
 8606|      0|        }
 8607|  2.13k|        D(fprintf(stderr, "%*c> _loop1_113[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(!STRING expression_without_invalid)"));
 8608|  2.13k|        void *_tmp_191_var;
 8609|  2.13k|        while (
 8610|  3.56k|            (_tmp_191_var = _tmp_191_rule(p))  // !STRING expression_without_invalid
  ------------------
  |  Branch (8610:13): [True: 1.43k, False: 2.13k]
  ------------------
 8611|  2.13k|        )
 8612|  1.43k|        {
 8613|  1.43k|            _res = _tmp_191_var;
 8614|  1.43k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (8614:17): [True: 912, False: 522]
  ------------------
 8615|    912|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (8615:21): [True: 0, False: 912]
  ------------------
 8616|      0|                    p->error_indicator = 1;
 8617|      0|                    PyErr_NoMemory();
 8618|      0|                    PyMem_Free(_children);
 8619|      0|                    p->level--;
 8620|      0|                    return NULL;
 8621|      0|                }
 8622|    912|            }
 8623|  1.43k|            _children[_n++] = _res;
 8624|  1.43k|            _mark = p->mark;
 8625|  1.43k|        }
 8626|  2.13k|        p->mark = _mark;
 8627|  2.13k|        D(fprintf(stderr, "%*c%s _loop1_113[%d-%d]: %s failed!\n", p->level, ' ',
 8628|  2.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(!STRING expression_without_invalid)"));
 8629|  2.13k|    }
 8630|  2.13k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (8630:9): [True: 1.50k, False: 634]
  |  Branch (8630:20): [True: 49, False: 585]
  ------------------
 8631|  1.54k|        PyMem_Free(_children);
 8632|  1.54k|        p->level--;
 8633|  1.54k|        return NULL;
 8634|  1.54k|    }
 8635|    585|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
 8636|    585|    if (!_seq) {
  ------------------
  |  Branch (8636:9): [True: 0, False: 585]
  ------------------
 8637|      0|        p->error_indicator = 1;
 8638|      0|        PyErr_NoMemory();
 8639|      0|        PyMem_Free(_children);
 8640|      0|        p->level--;
 8641|      0|        return NULL;
 8642|      0|    }
 8643|  1.74k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.16k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  1.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (8643:28): [True: 1.16k, False: 585]
  ------------------
 8644|    585|    PyMem_Free(_children);
 8645|    585|    p->level--;
 8646|    585|    return _seq;
 8647|    585|}
parser_invalid.c:_tmp_191_rule:
12596|  3.56k|{
12597|  3.56k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  7.13k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12597:9): [True: 0, False: 3.56k]
  |  Branch (12597:35): [True: 0, False: 3.56k]
  ------------------
12598|      0|        _Pypegen_stack_overflow(p);
12599|      0|    }
12600|  3.56k|    if (p->error_indicator) {
  ------------------
  |  Branch (12600:9): [True: 0, False: 3.56k]
  ------------------
12601|      0|        p->level--;
12602|      0|        return NULL;
12603|      0|    }
12604|  3.56k|    void * _res = NULL;
12605|  3.56k|    int _mark = p->mark;
12606|  3.56k|    { // !STRING expression_without_invalid
12607|  3.56k|        if (p->error_indicator) {
  ------------------
  |  Branch (12607:13): [True: 0, False: 3.56k]
  ------------------
12608|      0|            p->level--;
12609|      0|            return NULL;
12610|      0|        }
12611|  3.56k|        D(fprintf(stderr, "%*c> _tmp_191[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!STRING expression_without_invalid"));
12612|  3.56k|        expr_ty expression_without_invalid_var;
12613|  3.56k|        if (
12614|  3.56k|            _PyPegen_lookahead(0, _PyPegen_string_token, p)
  ------------------
  |  Branch (12614:13): [True: 3.35k, False: 216]
  ------------------
12615|  3.35k|            &&
12616|  3.35k|            (expression_without_invalid_var = expression_without_invalid_rule(p))  // expression_without_invalid
  ------------------
  |  Branch (12616:13): [True: 1.43k, False: 1.91k]
  ------------------
12617|  3.56k|        )
12618|  1.43k|        {
12619|  1.43k|            D(fprintf(stderr, "%*c+ _tmp_191[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!STRING expression_without_invalid"));
12620|  1.43k|            _res = expression_without_invalid_var;
12621|  1.43k|            goto done;
12622|  1.43k|        }
12623|  2.13k|        p->mark = _mark;
12624|  2.13k|        D(fprintf(stderr, "%*c%s _tmp_191[%d-%d]: %s failed!\n", p->level, ' ',
12625|  2.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!STRING expression_without_invalid"));
12626|  2.13k|    }
12627|  2.13k|    _res = NULL;
12628|  3.56k|  done:
12629|  3.56k|    p->level--;
12630|  3.56k|    return _res;
12631|  2.13k|}
parser_invalid.c:_tmp_114_rule:
 8652|   284k|{
 8653|   284k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   568k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8653:9): [True: 0, False: 284k]
  |  Branch (8653:35): [True: 0, False: 284k]
  ------------------
 8654|      0|        _Pypegen_stack_overflow(p);
 8655|      0|    }
 8656|   284k|    if (p->error_indicator) {
  ------------------
  |  Branch (8656:9): [True: 0, False: 284k]
  ------------------
 8657|      0|        p->level--;
 8658|      0|        return NULL;
 8659|      0|    }
 8660|   284k|    void * _res = NULL;
 8661|   284k|    int _mark = p->mark;
 8662|   284k|    { // NAME STRING
 8663|   284k|        if (p->error_indicator) {
  ------------------
  |  Branch (8663:13): [True: 0, False: 284k]
  ------------------
 8664|      0|            p->level--;
 8665|      0|            return NULL;
 8666|      0|        }
 8667|   284k|        D(fprintf(stderr, "%*c> _tmp_114[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME STRING"));
 8668|   284k|        expr_ty name_var;
 8669|   284k|        expr_ty string_var;
 8670|   284k|        if (
 8671|   284k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (8671:13): [True: 100k, False: 183k]
  ------------------
 8672|   100k|            &&
 8673|   100k|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (8673:13): [True: 712, False: 100k]
  ------------------
 8674|   284k|        )
 8675|    712|        {
 8676|    712|            D(fprintf(stderr, "%*c+ _tmp_114[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME STRING"));
 8677|    712|            _res = _PyPegen_dummy_name(p, name_var, string_var);
 8678|    712|            goto done;
 8679|    712|        }
 8680|   283k|        p->mark = _mark;
 8681|   283k|        D(fprintf(stderr, "%*c%s _tmp_114[%d-%d]: %s failed!\n", p->level, ' ',
 8682|   283k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME STRING"));
 8683|   283k|    }
 8684|      0|    { // SOFT_KEYWORD
 8685|   283k|        if (p->error_indicator) {
  ------------------
  |  Branch (8685:13): [True: 0, False: 283k]
  ------------------
 8686|      0|            p->level--;
 8687|      0|            return NULL;
 8688|      0|        }
 8689|   283k|        D(fprintf(stderr, "%*c> _tmp_114[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "SOFT_KEYWORD"));
 8690|   283k|        expr_ty soft_keyword_var;
 8691|   283k|        if (
 8692|   283k|            (soft_keyword_var = _PyPegen_soft_keyword_token(p))  // SOFT_KEYWORD
  ------------------
  |  Branch (8692:13): [True: 7.48k, False: 276k]
  ------------------
 8693|   283k|        )
 8694|  7.48k|        {
 8695|  7.48k|            D(fprintf(stderr, "%*c+ _tmp_114[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "SOFT_KEYWORD"));
 8696|  7.48k|            _res = soft_keyword_var;
 8697|  7.48k|            goto done;
 8698|  7.48k|        }
 8699|   276k|        p->mark = _mark;
 8700|   276k|        D(fprintf(stderr, "%*c%s _tmp_114[%d-%d]: %s failed!\n", p->level, ' ',
 8701|   276k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "SOFT_KEYWORD"));
 8702|   276k|    }
 8703|   276k|    _res = NULL;
 8704|   284k|  done:
 8705|   284k|    p->level--;
 8706|   284k|    return _res;
 8707|   276k|}
parser_invalid.c:_tmp_115_rule:
 8712|    689|{
 8713|    689|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.37k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8713:9): [True: 0, False: 689]
  |  Branch (8713:35): [True: 0, False: 689]
  ------------------
 8714|      0|        _Pypegen_stack_overflow(p);
 8715|      0|    }
 8716|    689|    if (p->error_indicator) {
  ------------------
  |  Branch (8716:9): [True: 0, False: 689]
  ------------------
 8717|      0|        p->level--;
 8718|      0|        return NULL;
 8719|      0|    }
 8720|    689|    void * _res = NULL;
 8721|    689|    int _mark = p->mark;
 8722|    689|    { // 'else'
 8723|    689|        if (p->error_indicator) {
  ------------------
  |  Branch (8723:13): [True: 0, False: 689]
  ------------------
 8724|      0|            p->level--;
 8725|      0|            return NULL;
 8726|      0|        }
 8727|    689|        D(fprintf(stderr, "%*c> _tmp_115[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'else'"));
 8728|    689|        Token * _keyword;
 8729|    689|        if (
 8730|    689|            (_keyword = _PyPegen_expect_token(p, 522))  // token='else'
  ------------------
  |  Branch (8730:13): [True: 665, False: 24]
  ------------------
 8731|    689|        )
 8732|    665|        {
 8733|    665|            D(fprintf(stderr, "%*c+ _tmp_115[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'else'"));
 8734|    665|            _res = _keyword;
 8735|    665|            goto done;
 8736|    665|        }
 8737|     24|        p->mark = _mark;
 8738|     24|        D(fprintf(stderr, "%*c%s _tmp_115[%d-%d]: %s failed!\n", p->level, ' ',
 8739|     24|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'else'"));
 8740|     24|    }
 8741|      0|    { // ':'
 8742|     24|        if (p->error_indicator) {
  ------------------
  |  Branch (8742:13): [True: 0, False: 24]
  ------------------
 8743|      0|            p->level--;
 8744|      0|            return NULL;
 8745|      0|        }
 8746|     24|        D(fprintf(stderr, "%*c> _tmp_115[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
 8747|     24|        Token * _literal;
 8748|     24|        if (
 8749|     24|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (8749:13): [True: 4, False: 20]
  ------------------
 8750|     24|        )
 8751|      4|        {
 8752|      4|            D(fprintf(stderr, "%*c+ _tmp_115[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
 8753|      4|            _res = _literal;
 8754|      4|            goto done;
 8755|      4|        }
 8756|     20|        p->mark = _mark;
 8757|     20|        D(fprintf(stderr, "%*c%s _tmp_115[%d-%d]: %s failed!\n", p->level, ' ',
 8758|     20|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
 8759|     20|    }
 8760|     20|    _res = NULL;
 8761|    689|  done:
 8762|    689|    p->level--;
 8763|    689|    return _res;
 8764|     20|}
parser_invalid.c:_tmp_116_rule:
 8769|   279k|{
 8770|   279k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   558k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8770:9): [True: 0, False: 279k]
  |  Branch (8770:35): [True: 0, False: 279k]
  ------------------
 8771|      0|        _Pypegen_stack_overflow(p);
 8772|      0|    }
 8773|   279k|    if (p->error_indicator) {
  ------------------
  |  Branch (8773:9): [True: 0, False: 279k]
  ------------------
 8774|      0|        p->level--;
 8775|      0|        return NULL;
 8776|      0|    }
 8777|   279k|    void * _res = NULL;
 8778|   279k|    int _mark = p->mark;
 8779|   279k|    { // pass_stmt
 8780|   279k|        if (p->error_indicator) {
  ------------------
  |  Branch (8780:13): [True: 0, False: 279k]
  ------------------
 8781|      0|            p->level--;
 8782|      0|            return NULL;
 8783|      0|        }
 8784|   279k|        D(fprintf(stderr, "%*c> _tmp_116[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "pass_stmt"));
 8785|   279k|        stmt_ty pass_stmt_var;
 8786|   279k|        if (
 8787|   279k|            (pass_stmt_var = pass_stmt_rule(p))  // pass_stmt
  ------------------
  |  |  189|   279k|#define pass_stmt_rule _PyPegen_pass_stmt_rule
  ------------------
  |  Branch (8787:13): [True: 2.76k, False: 276k]
  ------------------
 8788|   279k|        )
 8789|  2.76k|        {
 8790|  2.76k|            D(fprintf(stderr, "%*c+ _tmp_116[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "pass_stmt"));
 8791|  2.76k|            _res = pass_stmt_var;
 8792|  2.76k|            goto done;
 8793|  2.76k|        }
 8794|   276k|        p->mark = _mark;
 8795|   276k|        D(fprintf(stderr, "%*c%s _tmp_116[%d-%d]: %s failed!\n", p->level, ' ',
 8796|   276k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "pass_stmt"));
 8797|   276k|    }
 8798|      0|    { // break_stmt
 8799|   276k|        if (p->error_indicator) {
  ------------------
  |  Branch (8799:13): [True: 0, False: 276k]
  ------------------
 8800|      0|            p->level--;
 8801|      0|            return NULL;
 8802|      0|        }
 8803|   276k|        D(fprintf(stderr, "%*c> _tmp_116[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "break_stmt"));
 8804|   276k|        stmt_ty break_stmt_var;
 8805|   276k|        if (
 8806|   276k|            (break_stmt_var = break_stmt_rule(p))  // break_stmt
  ------------------
  |  |  191|   276k|#define break_stmt_rule _PyPegen_break_stmt_rule
  ------------------
  |  Branch (8806:13): [True: 492, False: 275k]
  ------------------
 8807|   276k|        )
 8808|    492|        {
 8809|    492|            D(fprintf(stderr, "%*c+ _tmp_116[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "break_stmt"));
 8810|    492|            _res = break_stmt_var;
 8811|    492|            goto done;
 8812|    492|        }
 8813|   275k|        p->mark = _mark;
 8814|   275k|        D(fprintf(stderr, "%*c%s _tmp_116[%d-%d]: %s failed!\n", p->level, ' ',
 8815|   275k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "break_stmt"));
 8816|   275k|    }
 8817|      0|    { // continue_stmt
 8818|   275k|        if (p->error_indicator) {
  ------------------
  |  Branch (8818:13): [True: 0, False: 275k]
  ------------------
 8819|      0|            p->level--;
 8820|      0|            return NULL;
 8821|      0|        }
 8822|   275k|        D(fprintf(stderr, "%*c> _tmp_116[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "continue_stmt"));
 8823|   275k|        stmt_ty continue_stmt_var;
 8824|   275k|        if (
 8825|   275k|            (continue_stmt_var = continue_stmt_rule(p))  // continue_stmt
  ------------------
  |  |  193|   275k|#define continue_stmt_rule _PyPegen_continue_stmt_rule
  ------------------
  |  Branch (8825:13): [True: 94, False: 275k]
  ------------------
 8826|   275k|        )
 8827|     94|        {
 8828|     94|            D(fprintf(stderr, "%*c+ _tmp_116[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "continue_stmt"));
 8829|     94|            _res = continue_stmt_var;
 8830|     94|            goto done;
 8831|     94|        }
 8832|   275k|        p->mark = _mark;
 8833|   275k|        D(fprintf(stderr, "%*c%s _tmp_116[%d-%d]: %s failed!\n", p->level, ' ',
 8834|   275k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "continue_stmt"));
 8835|   275k|    }
 8836|   275k|    _res = NULL;
 8837|   279k|  done:
 8838|   279k|    p->level--;
 8839|   279k|    return _res;
 8840|   275k|}
parser_invalid.c:_tmp_117_rule:
 8845|     94|{
 8846|     94|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    188|#  define MAXSTACK 6000
  ------------------
  |  Branch (8846:9): [True: 0, False: 94]
  |  Branch (8846:35): [True: 0, False: 94]
  ------------------
 8847|      0|        _Pypegen_stack_overflow(p);
 8848|      0|    }
 8849|     94|    if (p->error_indicator) {
  ------------------
  |  Branch (8849:9): [True: 0, False: 94]
  ------------------
 8850|      0|        p->level--;
 8851|      0|        return NULL;
 8852|      0|    }
 8853|     94|    void * _res = NULL;
 8854|     94|    int _mark = p->mark;
 8855|     94|    { // '='
 8856|     94|        if (p->error_indicator) {
  ------------------
  |  Branch (8856:13): [True: 0, False: 94]
  ------------------
 8857|      0|            p->level--;
 8858|      0|            return NULL;
 8859|      0|        }
 8860|     94|        D(fprintf(stderr, "%*c> _tmp_117[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'='"));
 8861|     94|        Token * _literal;
 8862|     94|        if (
 8863|     94|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (8863:13): [True: 43, False: 51]
  ------------------
 8864|     94|        )
 8865|     43|        {
 8866|     43|            D(fprintf(stderr, "%*c+ _tmp_117[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'='"));
 8867|     43|            _res = _literal;
 8868|     43|            goto done;
 8869|     43|        }
 8870|     51|        p->mark = _mark;
 8871|     51|        D(fprintf(stderr, "%*c%s _tmp_117[%d-%d]: %s failed!\n", p->level, ' ',
 8872|     51|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'='"));
 8873|     51|    }
 8874|      0|    { // ':='
 8875|     51|        if (p->error_indicator) {
  ------------------
  |  Branch (8875:13): [True: 0, False: 51]
  ------------------
 8876|      0|            p->level--;
 8877|      0|            return NULL;
 8878|      0|        }
 8879|     51|        D(fprintf(stderr, "%*c> _tmp_117[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':='"));
 8880|     51|        Token * _literal;
 8881|     51|        if (
 8882|     51|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (8882:13): [True: 2, False: 49]
  ------------------
 8883|     51|        )
 8884|      2|        {
 8885|      2|            D(fprintf(stderr, "%*c+ _tmp_117[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':='"));
 8886|      2|            _res = _literal;
 8887|      2|            goto done;
 8888|      2|        }
 8889|     49|        p->mark = _mark;
 8890|     49|        D(fprintf(stderr, "%*c%s _tmp_117[%d-%d]: %s failed!\n", p->level, ' ',
 8891|     49|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':='"));
 8892|     49|    }
 8893|     49|    _res = NULL;
 8894|     94|  done:
 8895|     94|    p->level--;
 8896|     94|    return _res;
 8897|     49|}
parser_invalid.c:_tmp_118_rule:
 8902|   108k|{
 8903|   108k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   216k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8903:9): [True: 0, False: 108k]
  |  Branch (8903:35): [True: 0, False: 108k]
  ------------------
 8904|      0|        _Pypegen_stack_overflow(p);
 8905|      0|    }
 8906|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (8906:9): [True: 0, False: 108k]
  ------------------
 8907|      0|        p->level--;
 8908|      0|        return NULL;
 8909|      0|    }
 8910|   108k|    void * _res = NULL;
 8911|   108k|    int _mark = p->mark;
 8912|   108k|    { // list
 8913|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (8913:13): [True: 0, False: 108k]
  ------------------
 8914|      0|            p->level--;
 8915|      0|            return NULL;
 8916|      0|        }
 8917|   108k|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "list"));
 8918|   108k|        expr_ty list_var;
 8919|   108k|        if (
 8920|   108k|            (list_var = list_rule(p))  // list
  ------------------
  |  |  295|   108k|#define list_rule _PyPegen_list_rule
  ------------------
  |  Branch (8920:13): [True: 1.27k, False: 106k]
  ------------------
 8921|   108k|        )
 8922|  1.27k|        {
 8923|  1.27k|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "list"));
 8924|  1.27k|            _res = list_var;
 8925|  1.27k|            goto done;
 8926|  1.27k|        }
 8927|   106k|        p->mark = _mark;
 8928|   106k|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
 8929|   106k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "list"));
 8930|   106k|    }
 8931|      0|    { // tuple
 8932|   106k|        if (p->error_indicator) {
  ------------------
  |  Branch (8932:13): [True: 183, False: 106k]
  ------------------
 8933|    183|            p->level--;
 8934|    183|            return NULL;
 8935|    183|        }
 8936|   106k|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
 8937|   106k|        expr_ty tuple_var;
 8938|   106k|        if (
 8939|   106k|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  |  297|   106k|#define tuple_rule _PyPegen_tuple_rule
  ------------------
  |  Branch (8939:13): [True: 677, False: 106k]
  ------------------
 8940|   106k|        )
 8941|    677|        {
 8942|    677|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tuple"));
 8943|    677|            _res = tuple_var;
 8944|    677|            goto done;
 8945|    677|        }
 8946|   106k|        p->mark = _mark;
 8947|   106k|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
 8948|   106k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
 8949|   106k|    }
 8950|      0|    { // genexp
 8951|   106k|        if (p->error_indicator) {
  ------------------
  |  Branch (8951:13): [True: 59, False: 105k]
  ------------------
 8952|     59|            p->level--;
 8953|     59|            return NULL;
 8954|     59|        }
 8955|   105k|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "genexp"));
 8956|   105k|        expr_ty genexp_var;
 8957|   105k|        if (
 8958|   105k|            (genexp_var = genexp_rule(p))  // genexp
  ------------------
  |  |  303|   105k|#define genexp_rule _PyPegen_genexp_rule
  ------------------
  |  Branch (8958:13): [True: 46, False: 105k]
  ------------------
 8959|   105k|        )
 8960|     46|        {
 8961|     46|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "genexp"));
 8962|     46|            _res = genexp_var;
 8963|     46|            goto done;
 8964|     46|        }
 8965|   105k|        p->mark = _mark;
 8966|   105k|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
 8967|   105k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "genexp"));
 8968|   105k|    }
 8969|      0|    { // 'True'
 8970|   105k|        if (p->error_indicator) {
  ------------------
  |  Branch (8970:13): [True: 62, False: 105k]
  ------------------
 8971|     62|            p->level--;
 8972|     62|            return NULL;
 8973|     62|        }
 8974|   105k|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
 8975|   105k|        Token * _keyword;
 8976|   105k|        if (
 8977|   105k|            (_keyword = _PyPegen_expect_token(p, 527))  // token='True'
  ------------------
  |  Branch (8977:13): [True: 208, False: 105k]
  ------------------
 8978|   105k|        )
 8979|    208|        {
 8980|    208|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
 8981|    208|            _res = _keyword;
 8982|    208|            goto done;
 8983|    208|        }
 8984|   105k|        p->mark = _mark;
 8985|   105k|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
 8986|   105k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
 8987|   105k|    }
 8988|      0|    { // 'None'
 8989|   105k|        if (p->error_indicator) {
  ------------------
  |  Branch (8989:13): [True: 0, False: 105k]
  ------------------
 8990|      0|            p->level--;
 8991|      0|            return NULL;
 8992|      0|        }
 8993|   105k|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
 8994|   105k|        Token * _keyword;
 8995|   105k|        if (
 8996|   105k|            (_keyword = _PyPegen_expect_token(p, 526))  // token='None'
  ------------------
  |  Branch (8996:13): [True: 68, False: 105k]
  ------------------
 8997|   105k|        )
 8998|     68|        {
 8999|     68|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
 9000|     68|            _res = _keyword;
 9001|     68|            goto done;
 9002|     68|        }
 9003|   105k|        p->mark = _mark;
 9004|   105k|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
 9005|   105k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
 9006|   105k|    }
 9007|      0|    { // 'False'
 9008|   105k|        if (p->error_indicator) {
  ------------------
  |  Branch (9008:13): [True: 0, False: 105k]
  ------------------
 9009|      0|            p->level--;
 9010|      0|            return NULL;
 9011|      0|        }
 9012|   105k|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
 9013|   105k|        Token * _keyword;
 9014|   105k|        if (
 9015|   105k|            (_keyword = _PyPegen_expect_token(p, 528))  // token='False'
  ------------------
  |  Branch (9015:13): [True: 168, False: 105k]
  ------------------
 9016|   105k|        )
 9017|    168|        {
 9018|    168|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
 9019|    168|            _res = _keyword;
 9020|    168|            goto done;
 9021|    168|        }
 9022|   105k|        p->mark = _mark;
 9023|   105k|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
 9024|   105k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
 9025|   105k|    }
 9026|   105k|    _res = NULL;
 9027|   107k|  done:
 9028|   107k|    p->level--;
 9029|   107k|    return _res;
 9030|   105k|}
parser_invalid.c:_loop0_119_rule:
 9035|  1.69k|{
 9036|  1.69k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.38k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9036:9): [True: 0, False: 1.69k]
  |  Branch (9036:35): [True: 0, False: 1.69k]
  ------------------
 9037|      0|        _Pypegen_stack_overflow(p);
 9038|      0|    }
 9039|  1.69k|    if (p->error_indicator) {
  ------------------
  |  Branch (9039:9): [True: 0, False: 1.69k]
  ------------------
 9040|      0|        p->level--;
 9041|      0|        return NULL;
 9042|      0|    }
 9043|  1.69k|    void *_res = NULL;
 9044|  1.69k|    int _mark = p->mark;
 9045|  1.69k|    void **_children = NULL;
 9046|  1.69k|    Py_ssize_t _children_capacity = 0;
 9047|  1.69k|    Py_ssize_t _n = 0;
 9048|  1.69k|    { // star_named_expressions
 9049|  1.69k|        if (p->error_indicator) {
  ------------------
  |  Branch (9049:13): [True: 0, False: 1.69k]
  ------------------
 9050|      0|            p->level--;
 9051|      0|            return NULL;
 9052|      0|        }
 9053|  1.69k|        D(fprintf(stderr, "%*c> _loop0_119[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expressions"));
 9054|  1.69k|        asdl_expr_seq* star_named_expressions_var;
 9055|  1.69k|        while (
 9056|  4.91k|            (star_named_expressions_var = star_named_expressions_rule(p))  // star_named_expressions
  ------------------
  |  |  251|  4.91k|#define star_named_expressions_rule _PyPegen_star_named_expressions_rule
  ------------------
  |  Branch (9056:13): [True: 3.22k, False: 1.69k]
  ------------------
 9057|  1.69k|        )
 9058|  3.22k|        {
 9059|  3.22k|            _res = star_named_expressions_var;
 9060|  3.22k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (9060:17): [True: 1.51k, False: 1.71k]
  ------------------
 9061|  1.51k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (9061:21): [True: 0, False: 1.51k]
  ------------------
 9062|      0|                    p->error_indicator = 1;
 9063|      0|                    PyErr_NoMemory();
 9064|      0|                    PyMem_Free(_children);
 9065|      0|                    p->level--;
 9066|      0|                    return NULL;
 9067|      0|                }
 9068|  1.51k|            }
 9069|  3.22k|            _children[_n++] = _res;
 9070|  3.22k|            _mark = p->mark;
 9071|  3.22k|        }
 9072|  1.69k|        p->mark = _mark;
 9073|  1.69k|        D(fprintf(stderr, "%*c%s _loop0_119[%d-%d]: %s failed!\n", p->level, ' ',
 9074|  1.69k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expressions"));
 9075|  1.69k|    }
 9076|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
 9077|  1.69k|    if (!_seq) {
  ------------------
  |  Branch (9077:9): [True: 0, False: 1.69k]
  ------------------
 9078|      0|        p->error_indicator = 1;
 9079|      0|        PyErr_NoMemory();
 9080|      0|        PyMem_Free(_children);
 9081|      0|        p->level--;
 9082|      0|        return NULL;
 9083|      0|    }
 9084|  4.91k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  3.22k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  4.91k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (9084:28): [True: 3.22k, False: 1.69k]
  ------------------
 9085|  1.69k|    PyMem_Free(_children);
 9086|  1.69k|    p->level--;
 9087|  1.69k|    return _seq;
 9088|  1.69k|}
parser_invalid.c:_loop0_120_rule:
 9093|  71.3k|{
 9094|  71.3k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   142k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9094:9): [True: 0, False: 71.3k]
  |  Branch (9094:35): [True: 0, False: 71.3k]
  ------------------
 9095|      0|        _Pypegen_stack_overflow(p);
 9096|      0|    }
 9097|  71.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (9097:9): [True: 0, False: 71.3k]
  ------------------
 9098|      0|        p->level--;
 9099|      0|        return NULL;
 9100|      0|    }
 9101|  71.3k|    void *_res = NULL;
 9102|  71.3k|    int _mark = p->mark;
 9103|  71.3k|    void **_children = NULL;
 9104|  71.3k|    Py_ssize_t _children_capacity = 0;
 9105|  71.3k|    Py_ssize_t _n = 0;
 9106|  71.3k|    { // (star_targets '=')
 9107|  71.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (9107:13): [True: 0, False: 71.3k]
  ------------------
 9108|      0|            p->level--;
 9109|      0|            return NULL;
 9110|      0|        }
 9111|  71.3k|        D(fprintf(stderr, "%*c> _loop0_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(star_targets '=')"));
 9112|  71.3k|        void *_tmp_192_var;
 9113|  71.3k|        while (
 9114|  71.5k|            (_tmp_192_var = _tmp_192_rule(p))  // star_targets '='
  ------------------
  |  Branch (9114:13): [True: 199, False: 71.3k]
  ------------------
 9115|  71.3k|        )
 9116|    199|        {
 9117|    199|            _res = _tmp_192_var;
 9118|    199|            if (_n == _children_capacity) {
  ------------------
  |  Branch (9118:17): [True: 152, False: 47]
  ------------------
 9119|    152|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (9119:21): [True: 0, False: 152]
  ------------------
 9120|      0|                    p->error_indicator = 1;
 9121|      0|                    PyErr_NoMemory();
 9122|      0|                    PyMem_Free(_children);
 9123|      0|                    p->level--;
 9124|      0|                    return NULL;
 9125|      0|                }
 9126|    152|            }
 9127|    199|            _children[_n++] = _res;
 9128|    199|            _mark = p->mark;
 9129|    199|        }
 9130|  71.3k|        p->mark = _mark;
 9131|  71.3k|        D(fprintf(stderr, "%*c%s _loop0_120[%d-%d]: %s failed!\n", p->level, ' ',
 9132|  71.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(star_targets '=')"));
 9133|  71.3k|    }
 9134|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
 9135|  71.3k|    if (!_seq) {
  ------------------
  |  Branch (9135:9): [True: 0, False: 71.3k]
  ------------------
 9136|      0|        p->error_indicator = 1;
 9137|      0|        PyErr_NoMemory();
 9138|      0|        PyMem_Free(_children);
 9139|      0|        p->level--;
 9140|      0|        return NULL;
 9141|      0|    }
 9142|  71.5k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    199|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  71.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (9142:28): [True: 199, False: 71.3k]
  ------------------
 9143|  71.3k|    PyMem_Free(_children);
 9144|  71.3k|    p->level--;
 9145|  71.3k|    return _seq;
 9146|  71.3k|}
parser_invalid.c:_tmp_192_rule:
12636|  71.5k|{
12637|  71.5k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   143k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12637:9): [True: 0, False: 71.5k]
  |  Branch (12637:35): [True: 0, False: 71.5k]
  ------------------
12638|      0|        _Pypegen_stack_overflow(p);
12639|      0|    }
12640|  71.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (12640:9): [True: 0, False: 71.5k]
  ------------------
12641|      0|        p->level--;
12642|      0|        return NULL;
12643|      0|    }
12644|  71.5k|    void * _res = NULL;
12645|  71.5k|    int _mark = p->mark;
12646|  71.5k|    { // star_targets '='
12647|  71.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (12647:13): [True: 0, False: 71.5k]
  ------------------
12648|      0|            p->level--;
12649|      0|            return NULL;
12650|      0|        }
12651|  71.5k|        D(fprintf(stderr, "%*c> _tmp_192[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_targets '='"));
12652|  71.5k|        Token * _literal;
12653|  71.5k|        expr_ty star_targets_var;
12654|  71.5k|        if (
12655|  71.5k|            (star_targets_var = star_targets_rule(p))  // star_targets
  ------------------
  |  |  313|  71.5k|#define star_targets_rule _PyPegen_star_targets_rule
  ------------------
  |  Branch (12655:13): [True: 36.7k, False: 34.7k]
  ------------------
12656|  36.7k|            &&
12657|  36.7k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (12657:13): [True: 199, False: 36.5k]
  ------------------
12658|  71.5k|        )
12659|    199|        {
12660|    199|            D(fprintf(stderr, "%*c+ _tmp_192[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_targets '='"));
12661|    199|            _res = _PyPegen_dummy_name(p, star_targets_var, _literal);
12662|    199|            goto done;
12663|    199|        }
12664|  71.3k|        p->mark = _mark;
12665|  71.3k|        D(fprintf(stderr, "%*c%s _tmp_192[%d-%d]: %s failed!\n", p->level, ' ',
12666|  71.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_targets '='"));
12667|  71.3k|    }
12668|  71.3k|    _res = NULL;
12669|  71.5k|  done:
12670|  71.5k|    p->level--;
12671|  71.5k|    return _res;
12672|  71.3k|}
parser_invalid.c:_tmp_121_rule:
 9151|   719k|{
 9152|   719k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.43M|#  define MAXSTACK 6000
  ------------------
  |  Branch (9152:9): [True: 1, False: 719k]
  |  Branch (9152:35): [True: 0, False: 719k]
  ------------------
 9153|      1|        _Pypegen_stack_overflow(p);
 9154|      1|    }
 9155|   719k|    if (p->error_indicator) {
  ------------------
  |  Branch (9155:9): [True: 1, False: 719k]
  ------------------
 9156|      1|        p->level--;
 9157|      1|        return NULL;
 9158|      1|    }
 9159|   719k|    void * _res = NULL;
 9160|   719k|    int _mark = p->mark;
 9161|   719k|    { // '['
 9162|   719k|        if (p->error_indicator) {
  ------------------
  |  Branch (9162:13): [True: 0, False: 719k]
  ------------------
 9163|      0|            p->level--;
 9164|      0|            return NULL;
 9165|      0|        }
 9166|   719k|        D(fprintf(stderr, "%*c> _tmp_121[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'['"));
 9167|   719k|        Token * _literal;
 9168|   719k|        if (
 9169|   719k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (9169:13): [True: 105k, False: 613k]
  ------------------
 9170|   719k|        )
 9171|   105k|        {
 9172|   105k|            D(fprintf(stderr, "%*c+ _tmp_121[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'['"));
 9173|   105k|            _res = _literal;
 9174|   105k|            goto done;
 9175|   105k|        }
 9176|   613k|        p->mark = _mark;
 9177|   613k|        D(fprintf(stderr, "%*c%s _tmp_121[%d-%d]: %s failed!\n", p->level, ' ',
 9178|   613k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'['"));
 9179|   613k|    }
 9180|      0|    { // '{'
 9181|   613k|        if (p->error_indicator) {
  ------------------
  |  Branch (9181:13): [True: 0, False: 613k]
  ------------------
 9182|      0|            p->level--;
 9183|      0|            return NULL;
 9184|      0|        }
 9185|   613k|        D(fprintf(stderr, "%*c> _tmp_121[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{'"));
 9186|   613k|        Token * _literal;
 9187|   613k|        if (
 9188|   613k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (9188:13): [True: 21.6k, False: 592k]
  ------------------
 9189|   613k|        )
 9190|  21.6k|        {
 9191|  21.6k|            D(fprintf(stderr, "%*c+ _tmp_121[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{'"));
 9192|  21.6k|            _res = _literal;
 9193|  21.6k|            goto done;
 9194|  21.6k|        }
 9195|   592k|        p->mark = _mark;
 9196|   592k|        D(fprintf(stderr, "%*c%s _tmp_121[%d-%d]: %s failed!\n", p->level, ' ',
 9197|   592k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{'"));
 9198|   592k|    }
 9199|   592k|    _res = NULL;
 9200|   719k|  done:
 9201|   719k|    p->level--;
 9202|   719k|    return _res;
 9203|   592k|}
parser_invalid.c:_tmp_122_rule:
 9208|  9.60k|{
 9209|  9.60k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  19.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9209:9): [True: 0, False: 9.60k]
  |  Branch (9209:35): [True: 0, False: 9.60k]
  ------------------
 9210|      0|        _Pypegen_stack_overflow(p);
 9211|      0|    }
 9212|  9.60k|    if (p->error_indicator) {
  ------------------
  |  Branch (9212:9): [True: 0, False: 9.60k]
  ------------------
 9213|      0|        p->level--;
 9214|      0|        return NULL;
 9215|      0|    }
 9216|  9.60k|    void * _res = NULL;
 9217|  9.60k|    int _mark = p->mark;
 9218|  9.60k|    { // slash_no_default
 9219|  9.60k|        if (p->error_indicator) {
  ------------------
  |  Branch (9219:13): [True: 0, False: 9.60k]
  ------------------
 9220|      0|            p->level--;
 9221|      0|            return NULL;
 9222|      0|        }
 9223|  9.60k|        D(fprintf(stderr, "%*c> _tmp_122[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slash_no_default"));
 9224|  9.60k|        asdl_arg_seq* slash_no_default_var;
 9225|  9.60k|        if (
 9226|  9.60k|            (slash_no_default_var = slash_no_default_rule(p))  // slash_no_default
  ------------------
  |  |  205|  9.60k|#define slash_no_default_rule _PyPegen_slash_no_default_rule
  ------------------
  |  Branch (9226:13): [True: 247, False: 9.36k]
  ------------------
 9227|  9.60k|        )
 9228|    247|        {
 9229|    247|            D(fprintf(stderr, "%*c+ _tmp_122[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slash_no_default"));
 9230|    247|            _res = slash_no_default_var;
 9231|    247|            goto done;
 9232|    247|        }
 9233|  9.36k|        p->mark = _mark;
 9234|  9.36k|        D(fprintf(stderr, "%*c%s _tmp_122[%d-%d]: %s failed!\n", p->level, ' ',
 9235|  9.36k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slash_no_default"));
 9236|  9.36k|    }
 9237|      0|    { // slash_with_default
 9238|  9.36k|        if (p->error_indicator) {
  ------------------
  |  Branch (9238:13): [True: 1, False: 9.36k]
  ------------------
 9239|      1|            p->level--;
 9240|      1|            return NULL;
 9241|      1|        }
 9242|  9.36k|        D(fprintf(stderr, "%*c> _tmp_122[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slash_with_default"));
 9243|  9.36k|        SlashWithDefault* slash_with_default_var;
 9244|  9.36k|        if (
 9245|  9.36k|            (slash_with_default_var = slash_with_default_rule(p))  // slash_with_default
  ------------------
  |  |  207|  9.36k|#define slash_with_default_rule _PyPegen_slash_with_default_rule
  ------------------
  |  Branch (9245:13): [True: 495, False: 8.86k]
  ------------------
 9246|  9.36k|        )
 9247|    495|        {
 9248|    495|            D(fprintf(stderr, "%*c+ _tmp_122[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slash_with_default"));
 9249|    495|            _res = slash_with_default_var;
 9250|    495|            goto done;
 9251|    495|        }
 9252|  8.86k|        p->mark = _mark;
 9253|  8.86k|        D(fprintf(stderr, "%*c%s _tmp_122[%d-%d]: %s failed!\n", p->level, ' ',
 9254|  8.86k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slash_with_default"));
 9255|  8.86k|    }
 9256|  8.86k|    _res = NULL;
 9257|  9.60k|  done:
 9258|  9.60k|    p->level--;
 9259|  9.60k|    return _res;
 9260|  8.86k|}
parser_invalid.c:_loop0_123_rule:
 9265|  6.07k|{
 9266|  6.07k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  12.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9266:9): [True: 0, False: 6.07k]
  |  Branch (9266:35): [True: 0, False: 6.07k]
  ------------------
 9267|      0|        _Pypegen_stack_overflow(p);
 9268|      0|    }
 9269|  6.07k|    if (p->error_indicator) {
  ------------------
  |  Branch (9269:9): [True: 0, False: 6.07k]
  ------------------
 9270|      0|        p->level--;
 9271|      0|        return NULL;
 9272|      0|    }
 9273|  6.07k|    void *_res = NULL;
 9274|  6.07k|    int _mark = p->mark;
 9275|  6.07k|    void **_children = NULL;
 9276|  6.07k|    Py_ssize_t _children_capacity = 0;
 9277|  6.07k|    Py_ssize_t _n = 0;
 9278|  6.07k|    { // param_maybe_default
 9279|  6.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (9279:13): [True: 0, False: 6.07k]
  ------------------
 9280|      0|            p->level--;
 9281|      0|            return NULL;
 9282|      0|        }
 9283|  6.07k|        D(fprintf(stderr, "%*c> _loop0_123[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_maybe_default"));
 9284|  6.07k|        NameDefaultPair* param_maybe_default_var;
 9285|  6.07k|        while (
 9286|  10.3k|            (param_maybe_default_var = param_maybe_default_rule(p))  // param_maybe_default
  ------------------
  |  |  213|  10.3k|#define param_maybe_default_rule _PyPegen_param_maybe_default_rule
  ------------------
  |  Branch (9286:13): [True: 4.25k, False: 6.07k]
  ------------------
 9287|  6.07k|        )
 9288|  4.25k|        {
 9289|  4.25k|            _res = param_maybe_default_var;
 9290|  4.25k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (9290:17): [True: 3.16k, False: 1.08k]
  ------------------
 9291|  3.16k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (9291:21): [True: 0, False: 3.16k]
  ------------------
 9292|      0|                    p->error_indicator = 1;
 9293|      0|                    PyErr_NoMemory();
 9294|      0|                    PyMem_Free(_children);
 9295|      0|                    p->level--;
 9296|      0|                    return NULL;
 9297|      0|                }
 9298|  3.16k|            }
 9299|  4.25k|            _children[_n++] = _res;
 9300|  4.25k|            _mark = p->mark;
 9301|  4.25k|        }
 9302|  6.07k|        p->mark = _mark;
 9303|  6.07k|        D(fprintf(stderr, "%*c%s _loop0_123[%d-%d]: %s failed!\n", p->level, ' ',
 9304|  6.07k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_maybe_default"));
 9305|  6.07k|    }
 9306|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
 9307|  6.07k|    if (!_seq) {
  ------------------
  |  Branch (9307:9): [True: 0, False: 6.07k]
  ------------------
 9308|      0|        p->error_indicator = 1;
 9309|      0|        PyErr_NoMemory();
 9310|      0|        PyMem_Free(_children);
 9311|      0|        p->level--;
 9312|      0|        return NULL;
 9313|      0|    }
 9314|  10.3k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  4.25k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  10.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (9314:28): [True: 4.25k, False: 6.07k]
  ------------------
 9315|  6.07k|    PyMem_Free(_children);
 9316|  6.07k|    p->level--;
 9317|  6.07k|    return _seq;
 9318|  6.07k|}
parser_invalid.c:_loop0_124_rule:
 9323|  9.60k|{
 9324|  9.60k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  19.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9324:9): [True: 0, False: 9.60k]
  |  Branch (9324:35): [True: 0, False: 9.60k]
  ------------------
 9325|      0|        _Pypegen_stack_overflow(p);
 9326|      0|    }
 9327|  9.60k|    if (p->error_indicator) {
  ------------------
  |  Branch (9327:9): [True: 0, False: 9.60k]
  ------------------
 9328|      0|        p->level--;
 9329|      0|        return NULL;
 9330|      0|    }
 9331|  9.60k|    void *_res = NULL;
 9332|  9.60k|    int _mark = p->mark;
 9333|  9.60k|    void **_children = NULL;
 9334|  9.60k|    Py_ssize_t _children_capacity = 0;
 9335|  9.60k|    Py_ssize_t _n = 0;
 9336|  9.60k|    { // param_no_default
 9337|  9.60k|        if (p->error_indicator) {
  ------------------
  |  Branch (9337:13): [True: 0, False: 9.60k]
  ------------------
 9338|      0|            p->level--;
 9339|      0|            return NULL;
 9340|      0|        }
 9341|  9.60k|        D(fprintf(stderr, "%*c> _loop0_124[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default"));
 9342|  9.60k|        arg_ty param_no_default_var;
 9343|  9.60k|        while (
 9344|  14.1k|            (param_no_default_var = param_no_default_rule(p))  // param_no_default
  ------------------
  |  |  209|  14.1k|#define param_no_default_rule _PyPegen_param_no_default_rule
  ------------------
  |  Branch (9344:13): [True: 4.52k, False: 9.60k]
  ------------------
 9345|  9.60k|        )
 9346|  4.52k|        {
 9347|  4.52k|            _res = param_no_default_var;
 9348|  4.52k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (9348:17): [True: 4.20k, False: 317]
  ------------------
 9349|  4.20k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (9349:21): [True: 0, False: 4.20k]
  ------------------
 9350|      0|                    p->error_indicator = 1;
 9351|      0|                    PyErr_NoMemory();
 9352|      0|                    PyMem_Free(_children);
 9353|      0|                    p->level--;
 9354|      0|                    return NULL;
 9355|      0|                }
 9356|  4.20k|            }
 9357|  4.52k|            _children[_n++] = _res;
 9358|  4.52k|            _mark = p->mark;
 9359|  4.52k|        }
 9360|  9.60k|        p->mark = _mark;
 9361|  9.60k|        D(fprintf(stderr, "%*c%s _loop0_124[%d-%d]: %s failed!\n", p->level, ' ',
 9362|  9.60k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default"));
 9363|  9.60k|    }
 9364|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
 9365|  9.60k|    if (!_seq) {
  ------------------
  |  Branch (9365:9): [True: 0, False: 9.60k]
  ------------------
 9366|      0|        p->error_indicator = 1;
 9367|      0|        PyErr_NoMemory();
 9368|      0|        PyMem_Free(_children);
 9369|      0|        p->level--;
 9370|      0|        return NULL;
 9371|      0|    }
 9372|  14.1k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  4.52k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  14.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (9372:28): [True: 4.52k, False: 9.60k]
  ------------------
 9373|  9.60k|    PyMem_Free(_children);
 9374|  9.60k|    p->level--;
 9375|  9.60k|    return _seq;
 9376|  9.60k|}
parser_invalid.c:_loop1_125_rule:
 9381|     38|{
 9382|     38|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     76|#  define MAXSTACK 6000
  ------------------
  |  Branch (9382:9): [True: 0, False: 38]
  |  Branch (9382:35): [True: 0, False: 38]
  ------------------
 9383|      0|        _Pypegen_stack_overflow(p);
 9384|      0|    }
 9385|     38|    if (p->error_indicator) {
  ------------------
  |  Branch (9385:9): [True: 0, False: 38]
  ------------------
 9386|      0|        p->level--;
 9387|      0|        return NULL;
 9388|      0|    }
 9389|     38|    void *_res = NULL;
 9390|     38|    int _mark = p->mark;
 9391|     38|    void **_children = NULL;
 9392|     38|    Py_ssize_t _children_capacity = 0;
 9393|     38|    Py_ssize_t _n = 0;
 9394|     38|    { // param_no_default
 9395|     38|        if (p->error_indicator) {
  ------------------
  |  Branch (9395:13): [True: 0, False: 38]
  ------------------
 9396|      0|            p->level--;
 9397|      0|            return NULL;
 9398|      0|        }
 9399|     38|        D(fprintf(stderr, "%*c> _loop1_125[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default"));
 9400|     38|        arg_ty param_no_default_var;
 9401|     38|        while (
 9402|    222|            (param_no_default_var = param_no_default_rule(p))  // param_no_default
  ------------------
  |  |  209|    222|#define param_no_default_rule _PyPegen_param_no_default_rule
  ------------------
  |  Branch (9402:13): [True: 184, False: 38]
  ------------------
 9403|     38|        )
 9404|    184|        {
 9405|    184|            _res = param_no_default_var;
 9406|    184|            if (_n == _children_capacity) {
  ------------------
  |  Branch (9406:17): [True: 91, False: 93]
  ------------------
 9407|     91|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (9407:21): [True: 0, False: 91]
  ------------------
 9408|      0|                    p->error_indicator = 1;
 9409|      0|                    PyErr_NoMemory();
 9410|      0|                    PyMem_Free(_children);
 9411|      0|                    p->level--;
 9412|      0|                    return NULL;
 9413|      0|                }
 9414|     91|            }
 9415|    184|            _children[_n++] = _res;
 9416|    184|            _mark = p->mark;
 9417|    184|        }
 9418|     38|        p->mark = _mark;
 9419|     38|        D(fprintf(stderr, "%*c%s _loop1_125[%d-%d]: %s failed!\n", p->level, ' ',
 9420|     38|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default"));
 9421|     38|    }
 9422|     38|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (9422:9): [True: 7, False: 31]
  |  Branch (9422:20): [True: 2, False: 29]
  ------------------
 9423|      9|        PyMem_Free(_children);
 9424|      9|        p->level--;
 9425|      9|        return NULL;
 9426|      9|    }
 9427|     29|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
 9428|     29|    if (!_seq) {
  ------------------
  |  Branch (9428:9): [True: 0, False: 29]
  ------------------
 9429|      0|        p->error_indicator = 1;
 9430|      0|        PyErr_NoMemory();
 9431|      0|        PyMem_Free(_children);
 9432|      0|        p->level--;
 9433|      0|        return NULL;
 9434|      0|    }
 9435|    209|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    180|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|    209|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (9435:28): [True: 180, False: 29]
  ------------------
 9436|     29|    PyMem_Free(_children);
 9437|     29|    p->level--;
 9438|     29|    return _seq;
 9439|     29|}
parser_invalid.c:_tmp_126_rule:
 9444|    750|{
 9445|    750|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.50k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9445:9): [True: 0, False: 750]
  |  Branch (9445:35): [True: 0, False: 750]
  ------------------
 9446|      0|        _Pypegen_stack_overflow(p);
 9447|      0|    }
 9448|    750|    if (p->error_indicator) {
  ------------------
  |  Branch (9448:9): [True: 0, False: 750]
  ------------------
 9449|      0|        p->level--;
 9450|      0|        return NULL;
 9451|      0|    }
 9452|    750|    void * _res = NULL;
 9453|    750|    int _mark = p->mark;
 9454|    750|    { // ','
 9455|    750|        if (p->error_indicator) {
  ------------------
  |  Branch (9455:13): [True: 0, False: 750]
  ------------------
 9456|      0|            p->level--;
 9457|      0|            return NULL;
 9458|      0|        }
 9459|    750|        D(fprintf(stderr, "%*c> _tmp_126[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
 9460|    750|        Token * _literal;
 9461|    750|        if (
 9462|    750|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (9462:13): [True: 158, False: 592]
  ------------------
 9463|    750|        )
 9464|    158|        {
 9465|    158|            D(fprintf(stderr, "%*c+ _tmp_126[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
 9466|    158|            _res = _literal;
 9467|    158|            goto done;
 9468|    158|        }
 9469|    592|        p->mark = _mark;
 9470|    592|        D(fprintf(stderr, "%*c%s _tmp_126[%d-%d]: %s failed!\n", p->level, ' ',
 9471|    592|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
 9472|    592|    }
 9473|      0|    { // param_no_default
 9474|    592|        if (p->error_indicator) {
  ------------------
  |  Branch (9474:13): [True: 1, False: 591]
  ------------------
 9475|      1|            p->level--;
 9476|      1|            return NULL;
 9477|      1|        }
 9478|    591|        D(fprintf(stderr, "%*c> _tmp_126[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default"));
 9479|    591|        arg_ty param_no_default_var;
 9480|    591|        if (
 9481|    591|            (param_no_default_var = param_no_default_rule(p))  // param_no_default
  ------------------
  |  |  209|    591|#define param_no_default_rule _PyPegen_param_no_default_rule
  ------------------
  |  Branch (9481:13): [True: 298, False: 293]
  ------------------
 9482|    591|        )
 9483|    298|        {
 9484|    298|            D(fprintf(stderr, "%*c+ _tmp_126[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default"));
 9485|    298|            _res = param_no_default_var;
 9486|    298|            goto done;
 9487|    298|        }
 9488|    293|        p->mark = _mark;
 9489|    293|        D(fprintf(stderr, "%*c%s _tmp_126[%d-%d]: %s failed!\n", p->level, ' ',
 9490|    293|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default"));
 9491|    293|    }
 9492|    293|    _res = NULL;
 9493|    749|  done:
 9494|    749|    p->level--;
 9495|    749|    return _res;
 9496|    293|}
parser_invalid.c:_loop1_127_rule:
 9501|  4.79k|{
 9502|  4.79k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  9.58k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9502:9): [True: 0, False: 4.79k]
  |  Branch (9502:35): [True: 0, False: 4.79k]
  ------------------
 9503|      0|        _Pypegen_stack_overflow(p);
 9504|      0|    }
 9505|  4.79k|    if (p->error_indicator) {
  ------------------
  |  Branch (9505:9): [True: 0, False: 4.79k]
  ------------------
 9506|      0|        p->level--;
 9507|      0|        return NULL;
 9508|      0|    }
 9509|  4.79k|    void *_res = NULL;
 9510|  4.79k|    int _mark = p->mark;
 9511|  4.79k|    void **_children = NULL;
 9512|  4.79k|    Py_ssize_t _children_capacity = 0;
 9513|  4.79k|    Py_ssize_t _n = 0;
 9514|  4.79k|    { // param_maybe_default
 9515|  4.79k|        if (p->error_indicator) {
  ------------------
  |  Branch (9515:13): [True: 0, False: 4.79k]
  ------------------
 9516|      0|            p->level--;
 9517|      0|            return NULL;
 9518|      0|        }
 9519|  4.79k|        D(fprintf(stderr, "%*c> _loop1_127[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_maybe_default"));
 9520|  4.79k|        NameDefaultPair* param_maybe_default_var;
 9521|  4.79k|        while (
 9522|  8.02k|            (param_maybe_default_var = param_maybe_default_rule(p))  // param_maybe_default
  ------------------
  |  |  213|  8.02k|#define param_maybe_default_rule _PyPegen_param_maybe_default_rule
  ------------------
  |  Branch (9522:13): [True: 3.23k, False: 4.79k]
  ------------------
 9523|  4.79k|        )
 9524|  3.23k|        {
 9525|  3.23k|            _res = param_maybe_default_var;
 9526|  3.23k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (9526:17): [True: 2.70k, False: 529]
  ------------------
 9527|  2.70k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (9527:21): [True: 0, False: 2.70k]
  ------------------
 9528|      0|                    p->error_indicator = 1;
 9529|      0|                    PyErr_NoMemory();
 9530|      0|                    PyMem_Free(_children);
 9531|      0|                    p->level--;
 9532|      0|                    return NULL;
 9533|      0|                }
 9534|  2.70k|            }
 9535|  3.23k|            _children[_n++] = _res;
 9536|  3.23k|            _mark = p->mark;
 9537|  3.23k|        }
 9538|  4.79k|        p->mark = _mark;
 9539|  4.79k|        D(fprintf(stderr, "%*c%s _loop1_127[%d-%d]: %s failed!\n", p->level, ' ',
 9540|  4.79k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_maybe_default"));
 9541|  4.79k|    }
 9542|  4.79k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (9542:9): [True: 2.61k, False: 2.17k]
  |  Branch (9542:20): [True: 0, False: 2.17k]
  ------------------
 9543|  2.61k|        PyMem_Free(_children);
 9544|  2.61k|        p->level--;
 9545|  2.61k|        return NULL;
 9546|  2.61k|    }
 9547|  2.17k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
 9548|  2.17k|    if (!_seq) {
  ------------------
  |  Branch (9548:9): [True: 0, False: 2.17k]
  ------------------
 9549|      0|        p->error_indicator = 1;
 9550|      0|        PyErr_NoMemory();
 9551|      0|        PyMem_Free(_children);
 9552|      0|        p->level--;
 9553|      0|        return NULL;
 9554|      0|    }
 9555|  5.40k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  3.23k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  5.40k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (9555:28): [True: 3.23k, False: 2.17k]
  ------------------
 9556|  2.17k|    PyMem_Free(_children);
 9557|  2.17k|    p->level--;
 9558|  2.17k|    return _seq;
 9559|  2.17k|}
parser_invalid.c:_tmp_128_rule:
 9564|  26.0k|{
 9565|  26.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  52.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9565:9): [True: 0, False: 26.0k]
  |  Branch (9565:35): [True: 0, False: 26.0k]
  ------------------
 9566|      0|        _Pypegen_stack_overflow(p);
 9567|      0|    }
 9568|  26.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (9568:9): [True: 0, False: 26.0k]
  ------------------
 9569|      0|        p->level--;
 9570|      0|        return NULL;
 9571|      0|    }
 9572|  26.0k|    void * _res = NULL;
 9573|  26.0k|    int _mark = p->mark;
 9574|  26.0k|    { // ')'
 9575|  26.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (9575:13): [True: 0, False: 26.0k]
  ------------------
 9576|      0|            p->level--;
 9577|      0|            return NULL;
 9578|      0|        }
 9579|  26.0k|        D(fprintf(stderr, "%*c> _tmp_128[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "')'"));
 9580|  26.0k|        Token * _literal;
 9581|  26.0k|        if (
 9582|  26.0k|            (_literal = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (9582:13): [True: 0, False: 26.0k]
  ------------------
 9583|  26.0k|        )
 9584|      0|        {
 9585|      0|            D(fprintf(stderr, "%*c+ _tmp_128[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "')'"));
 9586|      0|            _res = _literal;
 9587|      0|            goto done;
 9588|      0|        }
 9589|  26.0k|        p->mark = _mark;
 9590|  26.0k|        D(fprintf(stderr, "%*c%s _tmp_128[%d-%d]: %s failed!\n", p->level, ' ',
 9591|  26.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "')'"));
 9592|  26.0k|    }
 9593|      0|    { // ','
 9594|  26.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (9594:13): [True: 0, False: 26.0k]
  ------------------
 9595|      0|            p->level--;
 9596|      0|            return NULL;
 9597|      0|        }
 9598|  26.0k|        D(fprintf(stderr, "%*c> _tmp_128[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
 9599|  26.0k|        Token * _literal;
 9600|  26.0k|        if (
 9601|  26.0k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (9601:13): [True: 12, False: 26.0k]
  ------------------
 9602|  26.0k|        )
 9603|     12|        {
 9604|     12|            D(fprintf(stderr, "%*c+ _tmp_128[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
 9605|     12|            _res = _literal;
 9606|     12|            goto done;
 9607|     12|        }
 9608|  26.0k|        p->mark = _mark;
 9609|  26.0k|        D(fprintf(stderr, "%*c%s _tmp_128[%d-%d]: %s failed!\n", p->level, ' ',
 9610|  26.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
 9611|  26.0k|    }
 9612|  26.0k|    _res = NULL;
 9613|  26.0k|  done:
 9614|  26.0k|    p->level--;
 9615|  26.0k|    return _res;
 9616|  26.0k|}
parser_invalid.c:_tmp_129_rule:
 9621|    744|{
 9622|    744|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.48k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9622:9): [True: 0, False: 744]
  |  Branch (9622:35): [True: 0, False: 744]
  ------------------
 9623|      0|        _Pypegen_stack_overflow(p);
 9624|      0|    }
 9625|    744|    if (p->error_indicator) {
  ------------------
  |  Branch (9625:9): [True: 0, False: 744]
  ------------------
 9626|      0|        p->level--;
 9627|      0|        return NULL;
 9628|      0|    }
 9629|    744|    void * _res = NULL;
 9630|    744|    int _mark = p->mark;
 9631|    744|    { // ')'
 9632|    744|        if (p->error_indicator) {
  ------------------
  |  Branch (9632:13): [True: 0, False: 744]
  ------------------
 9633|      0|            p->level--;
 9634|      0|            return NULL;
 9635|      0|        }
 9636|    744|        D(fprintf(stderr, "%*c> _tmp_129[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "')'"));
 9637|    744|        Token * _literal;
 9638|    744|        if (
 9639|    744|            (_literal = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (9639:13): [True: 1, False: 743]
  ------------------
 9640|    744|        )
 9641|      1|        {
 9642|      1|            D(fprintf(stderr, "%*c+ _tmp_129[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "')'"));
 9643|      1|            _res = _literal;
 9644|      1|            goto done;
 9645|      1|        }
 9646|    743|        p->mark = _mark;
 9647|    743|        D(fprintf(stderr, "%*c%s _tmp_129[%d-%d]: %s failed!\n", p->level, ' ',
 9648|    743|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "')'"));
 9649|    743|    }
 9650|      0|    { // ',' (')' | '**')
 9651|    743|        if (p->error_indicator) {
  ------------------
  |  Branch (9651:13): [True: 0, False: 743]
  ------------------
 9652|      0|            p->level--;
 9653|      0|            return NULL;
 9654|      0|        }
 9655|    743|        D(fprintf(stderr, "%*c> _tmp_129[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (')' | '**')"));
 9656|    743|        Token * _literal;
 9657|    743|        void *_tmp_193_var;
 9658|    743|        if (
 9659|    743|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (9659:13): [True: 157, False: 586]
  ------------------
 9660|    157|            &&
 9661|    157|            (_tmp_193_var = _tmp_193_rule(p))  // ')' | '**'
  ------------------
  |  Branch (9661:13): [True: 2, False: 155]
  ------------------
 9662|    743|        )
 9663|      2|        {
 9664|      2|            D(fprintf(stderr, "%*c+ _tmp_129[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' (')' | '**')"));
 9665|      2|            _res = _PyPegen_dummy_name(p, _literal, _tmp_193_var);
 9666|      2|            goto done;
 9667|      2|        }
 9668|    741|        p->mark = _mark;
 9669|    741|        D(fprintf(stderr, "%*c%s _tmp_129[%d-%d]: %s failed!\n", p->level, ' ',
 9670|    741|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (')' | '**')"));
 9671|    741|    }
 9672|    741|    _res = NULL;
 9673|    744|  done:
 9674|    744|    p->level--;
 9675|    744|    return _res;
 9676|    741|}
parser_invalid.c:_tmp_193_rule:
12677|    157|{
12678|    157|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    314|#  define MAXSTACK 6000
  ------------------
  |  Branch (12678:9): [True: 0, False: 157]
  |  Branch (12678:35): [True: 0, False: 157]
  ------------------
12679|      0|        _Pypegen_stack_overflow(p);
12680|      0|    }
12681|    157|    if (p->error_indicator) {
  ------------------
  |  Branch (12681:9): [True: 0, False: 157]
  ------------------
12682|      0|        p->level--;
12683|      0|        return NULL;
12684|      0|    }
12685|    157|    void * _res = NULL;
12686|    157|    int _mark = p->mark;
12687|    157|    { // ')'
12688|    157|        if (p->error_indicator) {
  ------------------
  |  Branch (12688:13): [True: 0, False: 157]
  ------------------
12689|      0|            p->level--;
12690|      0|            return NULL;
12691|      0|        }
12692|    157|        D(fprintf(stderr, "%*c> _tmp_193[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "')'"));
12693|    157|        Token * _literal;
12694|    157|        if (
12695|    157|            (_literal = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (12695:13): [True: 1, False: 156]
  ------------------
12696|    157|        )
12697|      1|        {
12698|      1|            D(fprintf(stderr, "%*c+ _tmp_193[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "')'"));
12699|      1|            _res = _literal;
12700|      1|            goto done;
12701|      1|        }
12702|    156|        p->mark = _mark;
12703|    156|        D(fprintf(stderr, "%*c%s _tmp_193[%d-%d]: %s failed!\n", p->level, ' ',
12704|    156|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "')'"));
12705|    156|    }
12706|      0|    { // '**'
12707|    156|        if (p->error_indicator) {
  ------------------
  |  Branch (12707:13): [True: 0, False: 156]
  ------------------
12708|      0|            p->level--;
12709|      0|            return NULL;
12710|      0|        }
12711|    156|        D(fprintf(stderr, "%*c> _tmp_193[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**'"));
12712|    156|        Token * _literal;
12713|    156|        if (
12714|    156|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (12714:13): [True: 1, False: 155]
  ------------------
12715|    156|        )
12716|      1|        {
12717|      1|            D(fprintf(stderr, "%*c+ _tmp_193[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**'"));
12718|      1|            _res = _literal;
12719|      1|            goto done;
12720|      1|        }
12721|    155|        p->mark = _mark;
12722|    155|        D(fprintf(stderr, "%*c%s _tmp_193[%d-%d]: %s failed!\n", p->level, ' ',
12723|    155|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**'"));
12724|    155|    }
12725|    155|    _res = NULL;
12726|    157|  done:
12727|    157|    p->level--;
12728|    157|    return _res;
12729|    155|}
parser_invalid.c:_tmp_130_rule:
 9681|    745|{
 9682|    745|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.49k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9682:9): [True: 0, False: 745]
  |  Branch (9682:35): [True: 0, False: 745]
  ------------------
 9683|      0|        _Pypegen_stack_overflow(p);
 9684|      0|    }
 9685|    745|    if (p->error_indicator) {
  ------------------
  |  Branch (9685:9): [True: 0, False: 745]
  ------------------
 9686|      0|        p->level--;
 9687|      0|        return NULL;
 9688|      0|    }
 9689|    745|    void * _res = NULL;
 9690|    745|    int _mark = p->mark;
 9691|    745|    { // param_no_default
 9692|    745|        if (p->error_indicator) {
  ------------------
  |  Branch (9692:13): [True: 0, False: 745]
  ------------------
 9693|      0|            p->level--;
 9694|      0|            return NULL;
 9695|      0|        }
 9696|    745|        D(fprintf(stderr, "%*c> _tmp_130[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default"));
 9697|    745|        arg_ty param_no_default_var;
 9698|    745|        if (
 9699|    745|            (param_no_default_var = param_no_default_rule(p))  // param_no_default
  ------------------
  |  |  209|    745|#define param_no_default_rule _PyPegen_param_no_default_rule
  ------------------
  |  Branch (9699:13): [True: 299, False: 446]
  ------------------
 9700|    745|        )
 9701|    299|        {
 9702|    299|            D(fprintf(stderr, "%*c+ _tmp_130[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default"));
 9703|    299|            _res = param_no_default_var;
 9704|    299|            goto done;
 9705|    299|        }
 9706|    446|        p->mark = _mark;
 9707|    446|        D(fprintf(stderr, "%*c%s _tmp_130[%d-%d]: %s failed!\n", p->level, ' ',
 9708|    446|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default"));
 9709|    446|    }
 9710|      0|    { // ','
 9711|    446|        if (p->error_indicator) {
  ------------------
  |  Branch (9711:13): [True: 4, False: 442]
  ------------------
 9712|      4|            p->level--;
 9713|      4|            return NULL;
 9714|      4|        }
 9715|    442|        D(fprintf(stderr, "%*c> _tmp_130[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
 9716|    442|        Token * _literal;
 9717|    442|        if (
 9718|    442|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (9718:13): [True: 155, False: 287]
  ------------------
 9719|    442|        )
 9720|    155|        {
 9721|    155|            D(fprintf(stderr, "%*c+ _tmp_130[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
 9722|    155|            _res = _literal;
 9723|    155|            goto done;
 9724|    155|        }
 9725|    287|        p->mark = _mark;
 9726|    287|        D(fprintf(stderr, "%*c%s _tmp_130[%d-%d]: %s failed!\n", p->level, ' ',
 9727|    287|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
 9728|    287|    }
 9729|    287|    _res = NULL;
 9730|    741|  done:
 9731|    741|    p->level--;
 9732|    741|    return _res;
 9733|    287|}
parser_invalid.c:_tmp_131_rule:
 9738|    495|{
 9739|    495|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    990|#  define MAXSTACK 6000
  ------------------
  |  Branch (9739:9): [True: 0, False: 495]
  |  Branch (9739:35): [True: 0, False: 495]
  ------------------
 9740|      0|        _Pypegen_stack_overflow(p);
 9741|      0|    }
 9742|    495|    if (p->error_indicator) {
  ------------------
  |  Branch (9742:9): [True: 0, False: 495]
  ------------------
 9743|      0|        p->level--;
 9744|      0|        return NULL;
 9745|      0|    }
 9746|    495|    void * _res = NULL;
 9747|    495|    int _mark = p->mark;
 9748|    495|    { // '*'
 9749|    495|        if (p->error_indicator) {
  ------------------
  |  Branch (9749:13): [True: 0, False: 495]
  ------------------
 9750|      0|            p->level--;
 9751|      0|            return NULL;
 9752|      0|        }
 9753|    495|        D(fprintf(stderr, "%*c> _tmp_131[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*'"));
 9754|    495|        Token * _literal;
 9755|    495|        if (
 9756|    495|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (9756:13): [True: 2, False: 493]
  ------------------
 9757|    495|        )
 9758|      2|        {
 9759|      2|            D(fprintf(stderr, "%*c+ _tmp_131[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*'"));
 9760|      2|            _res = _literal;
 9761|      2|            goto done;
 9762|      2|        }
 9763|    493|        p->mark = _mark;
 9764|    493|        D(fprintf(stderr, "%*c%s _tmp_131[%d-%d]: %s failed!\n", p->level, ' ',
 9765|    493|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*'"));
 9766|    493|    }
 9767|      0|    { // '**'
 9768|    493|        if (p->error_indicator) {
  ------------------
  |  Branch (9768:13): [True: 0, False: 493]
  ------------------
 9769|      0|            p->level--;
 9770|      0|            return NULL;
 9771|      0|        }
 9772|    493|        D(fprintf(stderr, "%*c> _tmp_131[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**'"));
 9773|    493|        Token * _literal;
 9774|    493|        if (
 9775|    493|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (9775:13): [True: 1, False: 492]
  ------------------
 9776|    493|        )
 9777|      1|        {
 9778|      1|            D(fprintf(stderr, "%*c+ _tmp_131[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**'"));
 9779|      1|            _res = _literal;
 9780|      1|            goto done;
 9781|      1|        }
 9782|    492|        p->mark = _mark;
 9783|    492|        D(fprintf(stderr, "%*c%s _tmp_131[%d-%d]: %s failed!\n", p->level, ' ',
 9784|    492|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**'"));
 9785|    492|    }
 9786|      0|    { // '/'
 9787|    492|        if (p->error_indicator) {
  ------------------
  |  Branch (9787:13): [True: 0, False: 492]
  ------------------
 9788|      0|            p->level--;
 9789|      0|            return NULL;
 9790|      0|        }
 9791|    492|        D(fprintf(stderr, "%*c> _tmp_131[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'/'"));
 9792|    492|        Token * _literal;
 9793|    492|        if (
 9794|    492|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (9794:13): [True: 1, False: 491]
  ------------------
 9795|    492|        )
 9796|      1|        {
 9797|      1|            D(fprintf(stderr, "%*c+ _tmp_131[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'/'"));
 9798|      1|            _res = _literal;
 9799|      1|            goto done;
 9800|      1|        }
 9801|    491|        p->mark = _mark;
 9802|    491|        D(fprintf(stderr, "%*c%s _tmp_131[%d-%d]: %s failed!\n", p->level, ' ',
 9803|    491|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'/'"));
 9804|    491|    }
 9805|    491|    _res = NULL;
 9806|    495|  done:
 9807|    495|    p->level--;
 9808|    495|    return _res;
 9809|    491|}
parser_invalid.c:_tmp_133_rule:
 9877|  24.1k|{
 9878|  24.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  48.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9878:9): [True: 0, False: 24.1k]
  |  Branch (9878:35): [True: 0, False: 24.1k]
  ------------------
 9879|      0|        _Pypegen_stack_overflow(p);
 9880|      0|    }
 9881|  24.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (9881:9): [True: 0, False: 24.1k]
  ------------------
 9882|      0|        p->level--;
 9883|      0|        return NULL;
 9884|      0|    }
 9885|  24.1k|    void * _res = NULL;
 9886|  24.1k|    int _mark = p->mark;
 9887|  24.1k|    { // lambda_slash_no_default
 9888|  24.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (9888:13): [True: 0, False: 24.1k]
  ------------------
 9889|      0|            p->level--;
 9890|      0|            return NULL;
 9891|      0|        }
 9892|  24.1k|        D(fprintf(stderr, "%*c> _tmp_133[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default"));
 9893|  24.1k|        asdl_arg_seq* lambda_slash_no_default_var;
 9894|  24.1k|        if (
 9895|  24.1k|            (lambda_slash_no_default_var = lambda_slash_no_default_rule(p))  // lambda_slash_no_default
  ------------------
  |  |  275|  24.1k|#define lambda_slash_no_default_rule _PyPegen_lambda_slash_no_default_rule
  ------------------
  |  Branch (9895:13): [True: 3.90k, False: 20.2k]
  ------------------
 9896|  24.1k|        )
 9897|  3.90k|        {
 9898|  3.90k|            D(fprintf(stderr, "%*c+ _tmp_133[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default"));
 9899|  3.90k|            _res = lambda_slash_no_default_var;
 9900|  3.90k|            goto done;
 9901|  3.90k|        }
 9902|  20.2k|        p->mark = _mark;
 9903|  20.2k|        D(fprintf(stderr, "%*c%s _tmp_133[%d-%d]: %s failed!\n", p->level, ' ',
 9904|  20.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default"));
 9905|  20.2k|    }
 9906|      0|    { // lambda_slash_with_default
 9907|  20.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (9907:13): [True: 1, False: 20.2k]
  ------------------
 9908|      1|            p->level--;
 9909|      1|            return NULL;
 9910|      1|        }
 9911|  20.2k|        D(fprintf(stderr, "%*c> _tmp_133[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
 9912|  20.2k|        SlashWithDefault* lambda_slash_with_default_var;
 9913|  20.2k|        if (
 9914|  20.2k|            (lambda_slash_with_default_var = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  |  277|  20.2k|#define lambda_slash_with_default_rule _PyPegen_lambda_slash_with_default_rule
  ------------------
  |  Branch (9914:13): [True: 1.17k, False: 19.1k]
  ------------------
 9915|  20.2k|        )
 9916|  1.17k|        {
 9917|  1.17k|            D(fprintf(stderr, "%*c+ _tmp_133[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
 9918|  1.17k|            _res = lambda_slash_with_default_var;
 9919|  1.17k|            goto done;
 9920|  1.17k|        }
 9921|  19.1k|        p->mark = _mark;
 9922|  19.1k|        D(fprintf(stderr, "%*c%s _tmp_133[%d-%d]: %s failed!\n", p->level, ' ',
 9923|  19.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default"));
 9924|  19.1k|    }
 9925|  19.1k|    _res = NULL;
 9926|  24.1k|  done:
 9927|  24.1k|    p->level--;
 9928|  24.1k|    return _res;
 9929|  19.1k|}
parser_invalid.c:_loop0_134_rule:
 9934|  28.8k|{
 9935|  28.8k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  57.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9935:9): [True: 0, False: 28.8k]
  |  Branch (9935:35): [True: 0, False: 28.8k]
  ------------------
 9936|      0|        _Pypegen_stack_overflow(p);
 9937|      0|    }
 9938|  28.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (9938:9): [True: 0, False: 28.8k]
  ------------------
 9939|      0|        p->level--;
 9940|      0|        return NULL;
 9941|      0|    }
 9942|  28.8k|    void *_res = NULL;
 9943|  28.8k|    int _mark = p->mark;
 9944|  28.8k|    void **_children = NULL;
 9945|  28.8k|    Py_ssize_t _children_capacity = 0;
 9946|  28.8k|    Py_ssize_t _n = 0;
 9947|  28.8k|    { // lambda_param_maybe_default
 9948|  28.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (9948:13): [True: 0, False: 28.8k]
  ------------------
 9949|      0|            p->level--;
 9950|      0|            return NULL;
 9951|      0|        }
 9952|  28.8k|        D(fprintf(stderr, "%*c> _loop0_134[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default"));
 9953|  28.8k|        NameDefaultPair* lambda_param_maybe_default_var;
 9954|  28.8k|        while (
 9955|  51.5k|            (lambda_param_maybe_default_var = lambda_param_maybe_default_rule(p))  // lambda_param_maybe_default
  ------------------
  |  |  283|  51.5k|#define lambda_param_maybe_default_rule _PyPegen_lambda_param_maybe_default_rule
  ------------------
  |  Branch (9955:13): [True: 22.7k, False: 28.8k]
  ------------------
 9956|  28.8k|        )
 9957|  22.7k|        {
 9958|  22.7k|            _res = lambda_param_maybe_default_var;
 9959|  22.7k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (9959:17): [True: 15.0k, False: 7.75k]
  ------------------
 9960|  15.0k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (9960:21): [True: 0, False: 15.0k]
  ------------------
 9961|      0|                    p->error_indicator = 1;
 9962|      0|                    PyErr_NoMemory();
 9963|      0|                    PyMem_Free(_children);
 9964|      0|                    p->level--;
 9965|      0|                    return NULL;
 9966|      0|                }
 9967|  15.0k|            }
 9968|  22.7k|            _children[_n++] = _res;
 9969|  22.7k|            _mark = p->mark;
 9970|  22.7k|        }
 9971|  28.8k|        p->mark = _mark;
 9972|  28.8k|        D(fprintf(stderr, "%*c%s _loop0_134[%d-%d]: %s failed!\n", p->level, ' ',
 9973|  28.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default"));
 9974|  28.8k|    }
 9975|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
 9976|  28.8k|    if (!_seq) {
  ------------------
  |  Branch (9976:9): [True: 0, False: 28.8k]
  ------------------
 9977|      0|        p->error_indicator = 1;
 9978|      0|        PyErr_NoMemory();
 9979|      0|        PyMem_Free(_children);
 9980|      0|        p->level--;
 9981|      0|        return NULL;
 9982|      0|    }
 9983|  51.5k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  22.7k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  51.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (9983:28): [True: 22.7k, False: 28.8k]
  ------------------
 9984|  28.8k|    PyMem_Free(_children);
 9985|  28.8k|    p->level--;
 9986|  28.8k|    return _seq;
 9987|  28.8k|}
parser_invalid.c:_loop0_135_rule:
 9992|  23.9k|{
 9993|  23.9k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  47.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9993:9): [True: 0, False: 23.9k]
  |  Branch (9993:35): [True: 0, False: 23.9k]
  ------------------
 9994|      0|        _Pypegen_stack_overflow(p);
 9995|      0|    }
 9996|  23.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (9996:9): [True: 0, False: 23.9k]
  ------------------
 9997|      0|        p->level--;
 9998|      0|        return NULL;
 9999|      0|    }
10000|  23.9k|    void *_res = NULL;
10001|  23.9k|    int _mark = p->mark;
10002|  23.9k|    void **_children = NULL;
10003|  23.9k|    Py_ssize_t _children_capacity = 0;
10004|  23.9k|    Py_ssize_t _n = 0;
10005|  23.9k|    { // lambda_param_no_default
10006|  23.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (10006:13): [True: 0, False: 23.9k]
  ------------------
10007|      0|            p->level--;
10008|      0|            return NULL;
10009|      0|        }
10010|  23.9k|        D(fprintf(stderr, "%*c> _loop0_135[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
10011|  23.9k|        arg_ty lambda_param_no_default_var;
10012|  23.9k|        while (
10013|  32.2k|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  279|  32.2k|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (10013:13): [True: 8.28k, False: 23.9k]
  ------------------
10014|  23.9k|        )
10015|  8.28k|        {
10016|  8.28k|            _res = lambda_param_no_default_var;
10017|  8.28k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (10017:17): [True: 7.67k, False: 615]
  ------------------
10018|  7.67k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (10018:21): [True: 0, False: 7.67k]
  ------------------
10019|      0|                    p->error_indicator = 1;
10020|      0|                    PyErr_NoMemory();
10021|      0|                    PyMem_Free(_children);
10022|      0|                    p->level--;
10023|      0|                    return NULL;
10024|      0|                }
10025|  7.67k|            }
10026|  8.28k|            _children[_n++] = _res;
10027|  8.28k|            _mark = p->mark;
10028|  8.28k|        }
10029|  23.9k|        p->mark = _mark;
10030|  23.9k|        D(fprintf(stderr, "%*c%s _loop0_135[%d-%d]: %s failed!\n", p->level, ' ',
10031|  23.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
10032|  23.9k|    }
10033|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
10034|  23.9k|    if (!_seq) {
  ------------------
  |  Branch (10034:9): [True: 0, False: 23.9k]
  ------------------
10035|      0|        p->error_indicator = 1;
10036|      0|        PyErr_NoMemory();
10037|      0|        PyMem_Free(_children);
10038|      0|        p->level--;
10039|      0|        return NULL;
10040|      0|    }
10041|  32.2k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  8.28k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  32.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (10041:28): [True: 8.28k, False: 23.9k]
  ------------------
10042|  23.9k|    PyMem_Free(_children);
10043|  23.9k|    p->level--;
10044|  23.9k|    return _seq;
10045|  23.9k|}
parser_invalid.c:_gather_137_rule:
10117|     44|{
10118|     44|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     88|#  define MAXSTACK 6000
  ------------------
  |  Branch (10118:9): [True: 0, False: 44]
  |  Branch (10118:35): [True: 0, False: 44]
  ------------------
10119|      0|        _Pypegen_stack_overflow(p);
10120|      0|    }
10121|     44|    if (p->error_indicator) {
  ------------------
  |  Branch (10121:9): [True: 0, False: 44]
  ------------------
10122|      0|        p->level--;
10123|      0|        return NULL;
10124|      0|    }
10125|     44|    asdl_seq * _res = NULL;
10126|     44|    int _mark = p->mark;
10127|     44|    { // lambda_param _loop0_136
10128|     44|        if (p->error_indicator) {
  ------------------
  |  Branch (10128:13): [True: 0, False: 44]
  ------------------
10129|      0|            p->level--;
10130|      0|            return NULL;
10131|      0|        }
10132|     44|        D(fprintf(stderr, "%*c> _gather_137[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param _loop0_136"));
10133|     44|        arg_ty elem;
10134|     44|        asdl_seq * seq;
10135|     44|        if (
10136|     44|            (elem = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  285|     44|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (10136:13): [True: 38, False: 6]
  ------------------
10137|     38|            &&
10138|     38|            (seq = _loop0_136_rule(p))  // _loop0_136
  ------------------
  |  Branch (10138:13): [True: 38, False: 0]
  ------------------
10139|     44|        )
10140|     38|        {
10141|     38|            D(fprintf(stderr, "%*c+ _gather_137[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param _loop0_136"));
10142|     38|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
10143|     38|            goto done;
10144|     38|        }
10145|      6|        p->mark = _mark;
10146|      6|        D(fprintf(stderr, "%*c%s _gather_137[%d-%d]: %s failed!\n", p->level, ' ',
10147|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param _loop0_136"));
10148|      6|    }
10149|      6|    _res = NULL;
10150|     44|  done:
10151|     44|    p->level--;
10152|     44|    return _res;
10153|      6|}
parser_invalid.c:_loop0_136_rule:
10050|     38|{
10051|     38|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     76|#  define MAXSTACK 6000
  ------------------
  |  Branch (10051:9): [True: 0, False: 38]
  |  Branch (10051:35): [True: 0, False: 38]
  ------------------
10052|      0|        _Pypegen_stack_overflow(p);
10053|      0|    }
10054|     38|    if (p->error_indicator) {
  ------------------
  |  Branch (10054:9): [True: 0, False: 38]
  ------------------
10055|      0|        p->level--;
10056|      0|        return NULL;
10057|      0|    }
10058|     38|    void *_res = NULL;
10059|     38|    int _mark = p->mark;
10060|     38|    void **_children = NULL;
10061|     38|    Py_ssize_t _children_capacity = 0;
10062|     38|    Py_ssize_t _n = 0;
10063|     38|    { // ',' lambda_param
10064|     38|        if (p->error_indicator) {
  ------------------
  |  Branch (10064:13): [True: 0, False: 38]
  ------------------
10065|      0|            p->level--;
10066|      0|            return NULL;
10067|      0|        }
10068|     38|        D(fprintf(stderr, "%*c> _loop0_136[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' lambda_param"));
10069|     38|        Token * _literal;
10070|     38|        arg_ty elem;
10071|     38|        while (
10072|    281|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (10072:13): [True: 264, False: 17]
  ------------------
10073|    264|            &&
10074|    264|            (elem = lambda_param_rule(p))  // lambda_param
  ------------------
  |  |  285|    264|#define lambda_param_rule _PyPegen_lambda_param_rule
  ------------------
  |  Branch (10074:13): [True: 243, False: 21]
  ------------------
10075|     38|        )
10076|    243|        {
10077|    243|            _res = elem;
10078|    243|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10078:18): [True: 0, False: 243]
  |  Branch (10078:34): [True: 0, False: 243]
  |  Branch (10078:57): [True: 0, False: 0]
  ------------------
10079|      0|                p->error_indicator = 1;
10080|      0|                PyMem_Free(_children);
10081|      0|                p->level--;
10082|      0|                return NULL;
10083|      0|            }
10084|    243|            if (_n == _children_capacity) {
  ------------------
  |  Branch (10084:17): [True: 77, False: 166]
  ------------------
10085|     77|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (10085:21): [True: 0, False: 77]
  ------------------
10086|      0|                    p->error_indicator = 1;
10087|      0|                    PyErr_NoMemory();
10088|      0|                    PyMem_Free(_children);
10089|      0|                    p->level--;
10090|      0|                    return NULL;
10091|      0|                }
10092|     77|            }
10093|    243|            _children[_n++] = _res;
10094|    243|            _mark = p->mark;
10095|    243|        }
10096|     38|        p->mark = _mark;
10097|     38|        D(fprintf(stderr, "%*c%s _loop0_136[%d-%d]: %s failed!\n", p->level, ' ',
10098|     38|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' lambda_param"));
10099|     38|    }
10100|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
10101|     38|    if (!_seq) {
  ------------------
  |  Branch (10101:9): [True: 0, False: 38]
  ------------------
10102|      0|        p->error_indicator = 1;
10103|      0|        PyErr_NoMemory();
10104|      0|        PyMem_Free(_children);
10105|      0|        p->level--;
10106|      0|        return NULL;
10107|      0|    }
10108|    281|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    243|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|    281|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (10108:28): [True: 243, False: 38]
  ------------------
10109|     38|    PyMem_Free(_children);
10110|     38|    p->level--;
10111|     38|    return _seq;
10112|     38|}
parser_invalid.c:_tmp_138_rule:
10158|  7.42k|{
10159|  7.42k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  14.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10159:9): [True: 0, False: 7.42k]
  |  Branch (10159:35): [True: 0, False: 7.42k]
  ------------------
10160|      0|        _Pypegen_stack_overflow(p);
10161|      0|    }
10162|  7.42k|    if (p->error_indicator) {
  ------------------
  |  Branch (10162:9): [True: 0, False: 7.42k]
  ------------------
10163|      0|        p->level--;
10164|      0|        return NULL;
10165|      0|    }
10166|  7.42k|    void * _res = NULL;
10167|  7.42k|    int _mark = p->mark;
10168|  7.42k|    { // ','
10169|  7.42k|        if (p->error_indicator) {
  ------------------
  |  Branch (10169:13): [True: 0, False: 7.42k]
  ------------------
10170|      0|            p->level--;
10171|      0|            return NULL;
10172|      0|        }
10173|  7.42k|        D(fprintf(stderr, "%*c> _tmp_138[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
10174|  7.42k|        Token * _literal;
10175|  7.42k|        if (
10176|  7.42k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (10176:13): [True: 2.35k, False: 5.06k]
  ------------------
10177|  7.42k|        )
10178|  2.35k|        {
10179|  2.35k|            D(fprintf(stderr, "%*c+ _tmp_138[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
10180|  2.35k|            _res = _literal;
10181|  2.35k|            goto done;
10182|  2.35k|        }
10183|  5.06k|        p->mark = _mark;
10184|  5.06k|        D(fprintf(stderr, "%*c%s _tmp_138[%d-%d]: %s failed!\n", p->level, ' ',
10185|  5.06k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
10186|  5.06k|    }
10187|      0|    { // lambda_param_no_default
10188|  5.06k|        if (p->error_indicator) {
  ------------------
  |  Branch (10188:13): [True: 0, False: 5.06k]
  ------------------
10189|      0|            p->level--;
10190|      0|            return NULL;
10191|      0|        }
10192|  5.06k|        D(fprintf(stderr, "%*c> _tmp_138[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
10193|  5.06k|        arg_ty lambda_param_no_default_var;
10194|  5.06k|        if (
10195|  5.06k|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  279|  5.06k|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (10195:13): [True: 4.89k, False: 170]
  ------------------
10196|  5.06k|        )
10197|  4.89k|        {
10198|  4.89k|            D(fprintf(stderr, "%*c+ _tmp_138[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
10199|  4.89k|            _res = lambda_param_no_default_var;
10200|  4.89k|            goto done;
10201|  4.89k|        }
10202|    170|        p->mark = _mark;
10203|    170|        D(fprintf(stderr, "%*c%s _tmp_138[%d-%d]: %s failed!\n", p->level, ' ',
10204|    170|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
10205|    170|    }
10206|    170|    _res = NULL;
10207|  7.42k|  done:
10208|  7.42k|    p->level--;
10209|  7.42k|    return _res;
10210|    170|}
parser_invalid.c:_loop1_139_rule:
10215|  11.7k|{
10216|  11.7k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  23.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10216:9): [True: 0, False: 11.7k]
  |  Branch (10216:35): [True: 0, False: 11.7k]
  ------------------
10217|      0|        _Pypegen_stack_overflow(p);
10218|      0|    }
10219|  11.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (10219:9): [True: 0, False: 11.7k]
  ------------------
10220|      0|        p->level--;
10221|      0|        return NULL;
10222|      0|    }
10223|  11.7k|    void *_res = NULL;
10224|  11.7k|    int _mark = p->mark;
10225|  11.7k|    void **_children = NULL;
10226|  11.7k|    Py_ssize_t _children_capacity = 0;
10227|  11.7k|    Py_ssize_t _n = 0;
10228|  11.7k|    { // lambda_param_maybe_default
10229|  11.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (10229:13): [True: 0, False: 11.7k]
  ------------------
10230|      0|            p->level--;
10231|      0|            return NULL;
10232|      0|        }
10233|  11.7k|        D(fprintf(stderr, "%*c> _loop1_139[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default"));
10234|  11.7k|        NameDefaultPair* lambda_param_maybe_default_var;
10235|  11.7k|        while (
10236|  19.1k|            (lambda_param_maybe_default_var = lambda_param_maybe_default_rule(p))  // lambda_param_maybe_default
  ------------------
  |  |  283|  19.1k|#define lambda_param_maybe_default_rule _PyPegen_lambda_param_maybe_default_rule
  ------------------
  |  Branch (10236:13): [True: 7.35k, False: 11.7k]
  ------------------
10237|  11.7k|        )
10238|  7.35k|        {
10239|  7.35k|            _res = lambda_param_maybe_default_var;
10240|  7.35k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (10240:17): [True: 6.43k, False: 915]
  ------------------
10241|  6.43k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (10241:21): [True: 0, False: 6.43k]
  ------------------
10242|      0|                    p->error_indicator = 1;
10243|      0|                    PyErr_NoMemory();
10244|      0|                    PyMem_Free(_children);
10245|      0|                    p->level--;
10246|      0|                    return NULL;
10247|      0|                }
10248|  6.43k|            }
10249|  7.35k|            _children[_n++] = _res;
10250|  7.35k|            _mark = p->mark;
10251|  7.35k|        }
10252|  11.7k|        p->mark = _mark;
10253|  11.7k|        D(fprintf(stderr, "%*c%s _loop1_139[%d-%d]: %s failed!\n", p->level, ' ',
10254|  11.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default"));
10255|  11.7k|    }
10256|  11.7k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (10256:9): [True: 6.73k, False: 5.01k]
  |  Branch (10256:20): [True: 0, False: 5.01k]
  ------------------
10257|  6.73k|        PyMem_Free(_children);
10258|  6.73k|        p->level--;
10259|  6.73k|        return NULL;
10260|  6.73k|    }
10261|  5.01k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
10262|  5.01k|    if (!_seq) {
  ------------------
  |  Branch (10262:9): [True: 0, False: 5.01k]
  ------------------
10263|      0|        p->error_indicator = 1;
10264|      0|        PyErr_NoMemory();
10265|      0|        PyMem_Free(_children);
10266|      0|        p->level--;
10267|      0|        return NULL;
10268|      0|    }
10269|  12.3k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  7.35k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  12.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (10269:28): [True: 7.35k, False: 5.01k]
  ------------------
10270|  5.01k|    PyMem_Free(_children);
10271|  5.01k|    p->level--;
10272|  5.01k|    return _seq;
10273|  5.01k|}
parser_invalid.c:_tmp_141_rule:
10341|  7.21k|{
10342|  7.21k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  14.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10342:9): [True: 0, False: 7.21k]
  |  Branch (10342:35): [True: 0, False: 7.21k]
  ------------------
10343|      0|        _Pypegen_stack_overflow(p);
10344|      0|    }
10345|  7.21k|    if (p->error_indicator) {
  ------------------
  |  Branch (10345:9): [True: 0, False: 7.21k]
  ------------------
10346|      0|        p->level--;
10347|      0|        return NULL;
10348|      0|    }
10349|  7.21k|    void * _res = NULL;
10350|  7.21k|    int _mark = p->mark;
10351|  7.21k|    { // ':'
10352|  7.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (10352:13): [True: 0, False: 7.21k]
  ------------------
10353|      0|            p->level--;
10354|      0|            return NULL;
10355|      0|        }
10356|  7.21k|        D(fprintf(stderr, "%*c> _tmp_141[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
10357|  7.21k|        Token * _literal;
10358|  7.21k|        if (
10359|  7.21k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (10359:13): [True: 4, False: 7.21k]
  ------------------
10360|  7.21k|        )
10361|      4|        {
10362|      4|            D(fprintf(stderr, "%*c+ _tmp_141[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
10363|      4|            _res = _literal;
10364|      4|            goto done;
10365|      4|        }
10366|  7.21k|        p->mark = _mark;
10367|  7.21k|        D(fprintf(stderr, "%*c%s _tmp_141[%d-%d]: %s failed!\n", p->level, ' ',
10368|  7.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
10369|  7.21k|    }
10370|      0|    { // ',' (':' | '**')
10371|  7.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (10371:13): [True: 0, False: 7.21k]
  ------------------
10372|      0|            p->level--;
10373|      0|            return NULL;
10374|      0|        }
10375|  7.21k|        D(fprintf(stderr, "%*c> _tmp_141[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (':' | '**')"));
10376|  7.21k|        Token * _literal;
10377|  7.21k|        void *_tmp_194_var;
10378|  7.21k|        if (
10379|  7.21k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (10379:13): [True: 2.15k, False: 5.05k]
  ------------------
10380|  2.15k|            &&
10381|  2.15k|            (_tmp_194_var = _tmp_194_rule(p))  // ':' | '**'
  ------------------
  |  Branch (10381:13): [True: 3, False: 2.15k]
  ------------------
10382|  7.21k|        )
10383|      3|        {
10384|      3|            D(fprintf(stderr, "%*c+ _tmp_141[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' (':' | '**')"));
10385|      3|            _res = _PyPegen_dummy_name(p, _literal, _tmp_194_var);
10386|      3|            goto done;
10387|      3|        }
10388|  7.21k|        p->mark = _mark;
10389|  7.21k|        D(fprintf(stderr, "%*c%s _tmp_141[%d-%d]: %s failed!\n", p->level, ' ',
10390|  7.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (':' | '**')"));
10391|  7.21k|    }
10392|  7.21k|    _res = NULL;
10393|  7.21k|  done:
10394|  7.21k|    p->level--;
10395|  7.21k|    return _res;
10396|  7.21k|}
parser_invalid.c:_tmp_194_rule:
12734|  2.15k|{
12735|  2.15k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.31k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12735:9): [True: 0, False: 2.15k]
  |  Branch (12735:35): [True: 0, False: 2.15k]
  ------------------
12736|      0|        _Pypegen_stack_overflow(p);
12737|      0|    }
12738|  2.15k|    if (p->error_indicator) {
  ------------------
  |  Branch (12738:9): [True: 0, False: 2.15k]
  ------------------
12739|      0|        p->level--;
12740|      0|        return NULL;
12741|      0|    }
12742|  2.15k|    void * _res = NULL;
12743|  2.15k|    int _mark = p->mark;
12744|  2.15k|    { // ':'
12745|  2.15k|        if (p->error_indicator) {
  ------------------
  |  Branch (12745:13): [True: 0, False: 2.15k]
  ------------------
12746|      0|            p->level--;
12747|      0|            return NULL;
12748|      0|        }
12749|  2.15k|        D(fprintf(stderr, "%*c> _tmp_194[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
12750|  2.15k|        Token * _literal;
12751|  2.15k|        if (
12752|  2.15k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (12752:13): [True: 2, False: 2.15k]
  ------------------
12753|  2.15k|        )
12754|      2|        {
12755|      2|            D(fprintf(stderr, "%*c+ _tmp_194[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
12756|      2|            _res = _literal;
12757|      2|            goto done;
12758|      2|        }
12759|  2.15k|        p->mark = _mark;
12760|  2.15k|        D(fprintf(stderr, "%*c%s _tmp_194[%d-%d]: %s failed!\n", p->level, ' ',
12761|  2.15k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
12762|  2.15k|    }
12763|      0|    { // '**'
12764|  2.15k|        if (p->error_indicator) {
  ------------------
  |  Branch (12764:13): [True: 0, False: 2.15k]
  ------------------
12765|      0|            p->level--;
12766|      0|            return NULL;
12767|      0|        }
12768|  2.15k|        D(fprintf(stderr, "%*c> _tmp_194[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**'"));
12769|  2.15k|        Token * _literal;
12770|  2.15k|        if (
12771|  2.15k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (12771:13): [True: 1, False: 2.15k]
  ------------------
12772|  2.15k|        )
12773|      1|        {
12774|      1|            D(fprintf(stderr, "%*c+ _tmp_194[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**'"));
12775|      1|            _res = _literal;
12776|      1|            goto done;
12777|      1|        }
12778|  2.15k|        p->mark = _mark;
12779|  2.15k|        D(fprintf(stderr, "%*c%s _tmp_194[%d-%d]: %s failed!\n", p->level, ' ',
12780|  2.15k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**'"));
12781|  2.15k|    }
12782|  2.15k|    _res = NULL;
12783|  2.15k|  done:
12784|  2.15k|    p->level--;
12785|  2.15k|    return _res;
12786|  2.15k|}
parser_invalid.c:_tmp_142_rule:
10401|  7.26k|{
10402|  7.26k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  14.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10402:9): [True: 0, False: 7.26k]
  |  Branch (10402:35): [True: 0, False: 7.26k]
  ------------------
10403|      0|        _Pypegen_stack_overflow(p);
10404|      0|    }
10405|  7.26k|    if (p->error_indicator) {
  ------------------
  |  Branch (10405:9): [True: 0, False: 7.26k]
  ------------------
10406|      0|        p->level--;
10407|      0|        return NULL;
10408|      0|    }
10409|  7.26k|    void * _res = NULL;
10410|  7.26k|    int _mark = p->mark;
10411|  7.26k|    { // lambda_param_no_default
10412|  7.26k|        if (p->error_indicator) {
  ------------------
  |  Branch (10412:13): [True: 0, False: 7.26k]
  ------------------
10413|      0|            p->level--;
10414|      0|            return NULL;
10415|      0|        }
10416|  7.26k|        D(fprintf(stderr, "%*c> _tmp_142[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
10417|  7.26k|        arg_ty lambda_param_no_default_var;
10418|  7.26k|        if (
10419|  7.26k|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  |  279|  7.26k|#define lambda_param_no_default_rule _PyPegen_lambda_param_no_default_rule
  ------------------
  |  Branch (10419:13): [True: 4.89k, False: 2.37k]
  ------------------
10420|  7.26k|        )
10421|  4.89k|        {
10422|  4.89k|            D(fprintf(stderr, "%*c+ _tmp_142[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
10423|  4.89k|            _res = lambda_param_no_default_var;
10424|  4.89k|            goto done;
10425|  4.89k|        }
10426|  2.37k|        p->mark = _mark;
10427|  2.37k|        D(fprintf(stderr, "%*c%s _tmp_142[%d-%d]: %s failed!\n", p->level, ' ',
10428|  2.37k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
10429|  2.37k|    }
10430|      0|    { // ','
10431|  2.37k|        if (p->error_indicator) {
  ------------------
  |  Branch (10431:13): [True: 1, False: 2.37k]
  ------------------
10432|      1|            p->level--;
10433|      1|            return NULL;
10434|      1|        }
10435|  2.37k|        D(fprintf(stderr, "%*c> _tmp_142[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
10436|  2.37k|        Token * _literal;
10437|  2.37k|        if (
10438|  2.37k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (10438:13): [True: 2.15k, False: 213]
  ------------------
10439|  2.37k|        )
10440|  2.15k|        {
10441|  2.15k|            D(fprintf(stderr, "%*c+ _tmp_142[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
10442|  2.15k|            _res = _literal;
10443|  2.15k|            goto done;
10444|  2.15k|        }
10445|    213|        p->mark = _mark;
10446|    213|        D(fprintf(stderr, "%*c%s _tmp_142[%d-%d]: %s failed!\n", p->level, ' ',
10447|    213|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
10448|    213|    }
10449|    213|    _res = NULL;
10450|  7.26k|  done:
10451|  7.26k|    p->level--;
10452|  7.26k|    return _res;
10453|    213|}
parser_invalid.c:_tmp_143_rule:
10458|      8|{
10459|      8|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (10459:9): [True: 0, False: 8]
  |  Branch (10459:35): [True: 0, False: 8]
  ------------------
10460|      0|        _Pypegen_stack_overflow(p);
10461|      0|    }
10462|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (10462:9): [True: 0, False: 8]
  ------------------
10463|      0|        p->level--;
10464|      0|        return NULL;
10465|      0|    }
10466|      8|    void * _res = NULL;
10467|      8|    int _mark = p->mark;
10468|      8|    { // ','
10469|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (10469:13): [True: 0, False: 8]
  ------------------
10470|      0|            p->level--;
10471|      0|            return NULL;
10472|      0|        }
10473|      8|        D(fprintf(stderr, "%*c> _tmp_143[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
10474|      8|        Token * _literal;
10475|      8|        if (
10476|      8|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (10476:13): [True: 2, False: 6]
  ------------------
10477|      8|        )
10478|      2|        {
10479|      2|            D(fprintf(stderr, "%*c+ _tmp_143[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
10480|      2|            _res = _literal;
10481|      2|            goto done;
10482|      2|        }
10483|      6|        p->mark = _mark;
10484|      6|        D(fprintf(stderr, "%*c%s _tmp_143[%d-%d]: %s failed!\n", p->level, ' ',
10485|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
10486|      6|    }
10487|      0|    { // ')'
10488|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (10488:13): [True: 0, False: 6]
  ------------------
10489|      0|            p->level--;
10490|      0|            return NULL;
10491|      0|        }
10492|      6|        D(fprintf(stderr, "%*c> _tmp_143[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "')'"));
10493|      6|        Token * _literal;
10494|      6|        if (
10495|      6|            (_literal = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (10495:13): [True: 1, False: 5]
  ------------------
10496|      6|        )
10497|      1|        {
10498|      1|            D(fprintf(stderr, "%*c+ _tmp_143[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "')'"));
10499|      1|            _res = _literal;
10500|      1|            goto done;
10501|      1|        }
10502|      5|        p->mark = _mark;
10503|      5|        D(fprintf(stderr, "%*c%s _tmp_143[%d-%d]: %s failed!\n", p->level, ' ',
10504|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "')'"));
10505|      5|    }
10506|      0|    { // ':'
10507|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (10507:13): [True: 0, False: 5]
  ------------------
10508|      0|            p->level--;
10509|      0|            return NULL;
10510|      0|        }
10511|      5|        D(fprintf(stderr, "%*c> _tmp_143[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
10512|      5|        Token * _literal;
10513|      5|        if (
10514|      5|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (10514:13): [True: 1, False: 4]
  ------------------
10515|      5|        )
10516|      1|        {
10517|      1|            D(fprintf(stderr, "%*c+ _tmp_143[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
10518|      1|            _res = _literal;
10519|      1|            goto done;
10520|      1|        }
10521|      4|        p->mark = _mark;
10522|      4|        D(fprintf(stderr, "%*c%s _tmp_143[%d-%d]: %s failed!\n", p->level, ' ',
10523|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
10524|      4|    }
10525|      4|    _res = NULL;
10526|      8|  done:
10527|      8|    p->level--;
10528|      8|    return _res;
10529|      4|}
parser_invalid.c:_tmp_144_rule:
10534|  1.66k|{
10535|  1.66k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.32k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10535:9): [True: 0, False: 1.66k]
  |  Branch (10535:35): [True: 0, False: 1.66k]
  ------------------
10536|      0|        _Pypegen_stack_overflow(p);
10537|      0|    }
10538|  1.66k|    if (p->error_indicator) {
  ------------------
  |  Branch (10538:9): [True: 0, False: 1.66k]
  ------------------
10539|      0|        p->level--;
10540|      0|        return NULL;
10541|      0|    }
10542|  1.66k|    void * _res = NULL;
10543|  1.66k|    int _mark = p->mark;
10544|  1.66k|    { // bitwise_or ((',' bitwise_or))* ','?
10545|  1.66k|        if (p->error_indicator) {
  ------------------
  |  Branch (10545:13): [True: 0, False: 1.66k]
  ------------------
10546|      0|            p->level--;
10547|      0|            return NULL;
10548|      0|        }
10549|  1.66k|        D(fprintf(stderr, "%*c> _tmp_144[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or ((',' bitwise_or))* ','?"));
10550|  1.66k|        asdl_seq * _loop0_195_var;
10551|  1.66k|        void *_opt_var;
10552|  1.66k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  1.66k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.66k]
  |  |  ------------------
  ------------------
10553|  1.66k|        expr_ty bitwise_or_var;
10554|  1.66k|        if (
10555|  1.66k|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|  1.66k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (10555:13): [True: 755, False: 907]
  ------------------
10556|    755|            &&
10557|    755|            (_loop0_195_var = _loop0_195_rule(p))  // ((',' bitwise_or))*
  ------------------
  |  Branch (10557:13): [True: 755, False: 0]
  ------------------
10558|    755|            &&
10559|    755|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (10559:13): [True: 157, False: 598]
  ------------------
10560|  1.66k|        )
10561|    157|        {
10562|    157|            D(fprintf(stderr, "%*c+ _tmp_144[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or ((',' bitwise_or))* ','?"));
10563|    157|            _res = _PyPegen_dummy_name(p, bitwise_or_var, _loop0_195_var, _opt_var);
10564|    157|            goto done;
10565|    157|        }
10566|  1.50k|        p->mark = _mark;
10567|  1.50k|        D(fprintf(stderr, "%*c%s _tmp_144[%d-%d]: %s failed!\n", p->level, ' ',
10568|  1.50k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or ((',' bitwise_or))* ','?"));
10569|  1.50k|    }
10570|  1.50k|    _res = NULL;
10571|  1.66k|  done:
10572|  1.66k|    p->level--;
10573|  1.66k|    return _res;
10574|  1.50k|}
parser_invalid.c:_loop0_195_rule:
12791|    755|{
12792|    755|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.51k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12792:9): [True: 0, False: 755]
  |  Branch (12792:35): [True: 0, False: 755]
  ------------------
12793|      0|        _Pypegen_stack_overflow(p);
12794|      0|    }
12795|    755|    if (p->error_indicator) {
  ------------------
  |  Branch (12795:9): [True: 0, False: 755]
  ------------------
12796|      0|        p->level--;
12797|      0|        return NULL;
12798|      0|    }
12799|    755|    void *_res = NULL;
12800|    755|    int _mark = p->mark;
12801|    755|    void **_children = NULL;
12802|    755|    Py_ssize_t _children_capacity = 0;
12803|    755|    Py_ssize_t _n = 0;
12804|    755|    { // (',' bitwise_or)
12805|    755|        if (p->error_indicator) {
  ------------------
  |  Branch (12805:13): [True: 0, False: 755]
  ------------------
12806|      0|            p->level--;
12807|      0|            return NULL;
12808|      0|        }
12809|    755|        D(fprintf(stderr, "%*c> _loop0_195[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' bitwise_or)"));
12810|    755|        void *_tmp_203_var;
12811|    755|        while (
12812|  1.41k|            (_tmp_203_var = _tmp_203_rule(p))  // ',' bitwise_or
  ------------------
  |  Branch (12812:13): [True: 663, False: 755]
  ------------------
12813|    755|        )
12814|    663|        {
12815|    663|            _res = _tmp_203_var;
12816|    663|            if (_n == _children_capacity) {
  ------------------
  |  Branch (12816:17): [True: 235, False: 428]
  ------------------
12817|    235|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (12817:21): [True: 0, False: 235]
  ------------------
12818|      0|                    p->error_indicator = 1;
12819|      0|                    PyErr_NoMemory();
12820|      0|                    PyMem_Free(_children);
12821|      0|                    p->level--;
12822|      0|                    return NULL;
12823|      0|                }
12824|    235|            }
12825|    663|            _children[_n++] = _res;
12826|    663|            _mark = p->mark;
12827|    663|        }
12828|    755|        p->mark = _mark;
12829|    755|        D(fprintf(stderr, "%*c%s _loop0_195[%d-%d]: %s failed!\n", p->level, ' ',
12830|    755|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' bitwise_or)"));
12831|    755|    }
12832|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
12833|    755|    if (!_seq) {
  ------------------
  |  Branch (12833:9): [True: 0, False: 755]
  ------------------
12834|      0|        p->error_indicator = 1;
12835|      0|        PyErr_NoMemory();
12836|      0|        PyMem_Free(_children);
12837|      0|        p->level--;
12838|      0|        return NULL;
12839|      0|    }
12840|  1.41k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    663|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  1.41k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (12840:28): [True: 663, False: 755]
  ------------------
12841|    755|    PyMem_Free(_children);
12842|    755|    p->level--;
12843|    755|    return _seq;
12844|    755|}
parser_invalid.c:_tmp_203_rule:
13194|  1.41k|{
13195|  1.41k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.83k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13195:9): [True: 0, False: 1.41k]
  |  Branch (13195:35): [True: 0, False: 1.41k]
  ------------------
13196|      0|        _Pypegen_stack_overflow(p);
13197|      0|    }
13198|  1.41k|    if (p->error_indicator) {
  ------------------
  |  Branch (13198:9): [True: 0, False: 1.41k]
  ------------------
13199|      0|        p->level--;
13200|      0|        return NULL;
13201|      0|    }
13202|  1.41k|    void * _res = NULL;
13203|  1.41k|    int _mark = p->mark;
13204|  1.41k|    { // ',' bitwise_or
13205|  1.41k|        if (p->error_indicator) {
  ------------------
  |  Branch (13205:13): [True: 0, False: 1.41k]
  ------------------
13206|      0|            p->level--;
13207|      0|            return NULL;
13208|      0|        }
13209|  1.41k|        D(fprintf(stderr, "%*c> _tmp_203[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' bitwise_or"));
13210|  1.41k|        Token * _literal;
13211|  1.41k|        expr_ty bitwise_or_var;
13212|  1.41k|        if (
13213|  1.41k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (13213:13): [True: 1.26k, False: 154]
  ------------------
13214|  1.26k|            &&
13215|  1.26k|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|  1.26k|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (13215:13): [True: 663, False: 601]
  ------------------
13216|  1.41k|        )
13217|    663|        {
13218|    663|            D(fprintf(stderr, "%*c+ _tmp_203[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' bitwise_or"));
13219|    663|            _res = _PyPegen_dummy_name(p, _literal, bitwise_or_var);
13220|    663|            goto done;
13221|    663|        }
13222|    755|        p->mark = _mark;
13223|    755|        D(fprintf(stderr, "%*c%s _tmp_203[%d-%d]: %s failed!\n", p->level, ' ',
13224|    755|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' bitwise_or"));
13225|    755|    }
13226|    755|    _res = NULL;
13227|  1.41k|  done:
13228|  1.41k|    p->level--;
13229|  1.41k|    return _res;
13230|    755|}
parser_invalid.c:_gather_146_rule:
10646|    725|{
10647|    725|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.45k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10647:9): [True: 0, False: 725]
  |  Branch (10647:35): [True: 0, False: 725]
  ------------------
10648|      0|        _Pypegen_stack_overflow(p);
10649|      0|    }
10650|    725|    if (p->error_indicator) {
  ------------------
  |  Branch (10650:9): [True: 0, False: 725]
  ------------------
10651|      0|        p->level--;
10652|      0|        return NULL;
10653|      0|    }
10654|    725|    asdl_seq * _res = NULL;
10655|    725|    int _mark = p->mark;
10656|    725|    { // dotted_name _loop0_145
10657|    725|        if (p->error_indicator) {
  ------------------
  |  Branch (10657:13): [True: 0, False: 725]
  ------------------
10658|      0|            p->level--;
10659|      0|            return NULL;
10660|      0|        }
10661|    725|        D(fprintf(stderr, "%*c> _gather_146[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dotted_name _loop0_145"));
10662|    725|        expr_ty elem;
10663|    725|        asdl_seq * seq;
10664|    725|        if (
10665|    725|            (elem = dotted_name_rule(p))  // dotted_name
  ------------------
  |  |  199|    725|#define dotted_name_rule _PyPegen_dotted_name_rule
  ------------------
  |  Branch (10665:13): [True: 713, False: 12]
  ------------------
10666|    713|            &&
10667|    713|            (seq = _loop0_145_rule(p))  // _loop0_145
  ------------------
  |  Branch (10667:13): [True: 713, False: 0]
  ------------------
10668|    725|        )
10669|    713|        {
10670|    713|            D(fprintf(stderr, "%*c+ _gather_146[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dotted_name _loop0_145"));
10671|    713|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
10672|    713|            goto done;
10673|    713|        }
10674|     12|        p->mark = _mark;
10675|     12|        D(fprintf(stderr, "%*c%s _gather_146[%d-%d]: %s failed!\n", p->level, ' ',
10676|     12|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dotted_name _loop0_145"));
10677|     12|    }
10678|     12|    _res = NULL;
10679|    725|  done:
10680|    725|    p->level--;
10681|    725|    return _res;
10682|     12|}
parser_invalid.c:_loop0_145_rule:
10579|    713|{
10580|    713|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.42k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10580:9): [True: 0, False: 713]
  |  Branch (10580:35): [True: 0, False: 713]
  ------------------
10581|      0|        _Pypegen_stack_overflow(p);
10582|      0|    }
10583|    713|    if (p->error_indicator) {
  ------------------
  |  Branch (10583:9): [True: 0, False: 713]
  ------------------
10584|      0|        p->level--;
10585|      0|        return NULL;
10586|      0|    }
10587|    713|    void *_res = NULL;
10588|    713|    int _mark = p->mark;
10589|    713|    void **_children = NULL;
10590|    713|    Py_ssize_t _children_capacity = 0;
10591|    713|    Py_ssize_t _n = 0;
10592|    713|    { // ',' dotted_name
10593|    713|        if (p->error_indicator) {
  ------------------
  |  Branch (10593:13): [True: 0, False: 713]
  ------------------
10594|      0|            p->level--;
10595|      0|            return NULL;
10596|      0|        }
10597|    713|        D(fprintf(stderr, "%*c> _loop0_145[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' dotted_name"));
10598|    713|        Token * _literal;
10599|    713|        expr_ty elem;
10600|    713|        while (
10601|  1.75k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (10601:13): [True: 1.05k, False: 704]
  ------------------
10602|  1.05k|            &&
10603|  1.05k|            (elem = dotted_name_rule(p))  // dotted_name
  ------------------
  |  |  199|  1.05k|#define dotted_name_rule _PyPegen_dotted_name_rule
  ------------------
  |  Branch (10603:13): [True: 1.04k, False: 9]
  ------------------
10604|    713|        )
10605|  1.04k|        {
10606|  1.04k|            _res = elem;
10607|  1.04k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10607:18): [True: 0, False: 1.04k]
  |  Branch (10607:34): [True: 0, False: 1.04k]
  |  Branch (10607:57): [True: 0, False: 0]
  ------------------
10608|      0|                p->error_indicator = 1;
10609|      0|                PyMem_Free(_children);
10610|      0|                p->level--;
10611|      0|                return NULL;
10612|      0|            }
10613|  1.04k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (10613:17): [True: 694, False: 347]
  ------------------
10614|    694|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (10614:21): [True: 0, False: 694]
  ------------------
10615|      0|                    p->error_indicator = 1;
10616|      0|                    PyErr_NoMemory();
10617|      0|                    PyMem_Free(_children);
10618|      0|                    p->level--;
10619|      0|                    return NULL;
10620|      0|                }
10621|    694|            }
10622|  1.04k|            _children[_n++] = _res;
10623|  1.04k|            _mark = p->mark;
10624|  1.04k|        }
10625|    713|        p->mark = _mark;
10626|    713|        D(fprintf(stderr, "%*c%s _loop0_145[%d-%d]: %s failed!\n", p->level, ' ',
10627|    713|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' dotted_name"));
10628|    713|    }
10629|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
10630|    713|    if (!_seq) {
  ------------------
  |  Branch (10630:9): [True: 0, False: 713]
  ------------------
10631|      0|        p->error_indicator = 1;
10632|      0|        PyErr_NoMemory();
10633|      0|        PyMem_Free(_children);
10634|      0|        p->level--;
10635|      0|        return NULL;
10636|      0|    }
10637|  1.75k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.04k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  1.75k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (10637:28): [True: 1.04k, False: 713]
  ------------------
10638|    713|    PyMem_Free(_children);
10639|    713|    p->level--;
10640|    713|    return _seq;
10641|    713|}
parser_invalid.c:_tmp_147_rule:
10687|    812|{
10688|    812|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.62k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10688:9): [True: 0, False: 812]
  |  Branch (10688:35): [True: 0, False: 812]
  ------------------
10689|      0|        _Pypegen_stack_overflow(p);
10690|      0|    }
10691|    812|    if (p->error_indicator) {
  ------------------
  |  Branch (10691:9): [True: 0, False: 812]
  ------------------
10692|      0|        p->level--;
10693|      0|        return NULL;
10694|      0|    }
10695|    812|    void * _res = NULL;
10696|    812|    int _mark = p->mark;
10697|    812|    { // NAME (',' | ')' | ';' | NEWLINE)
10698|    812|        if (p->error_indicator) {
  ------------------
  |  Branch (10698:13): [True: 0, False: 812]
  ------------------
10699|      0|            p->level--;
10700|      0|            return NULL;
10701|      0|        }
10702|    812|        D(fprintf(stderr, "%*c> _tmp_147[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME (',' | ')' | ';' | NEWLINE)"));
10703|    812|        void *_tmp_196_var;
10704|    812|        expr_ty name_var;
10705|    812|        if (
10706|    812|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (10706:13): [True: 809, False: 3]
  ------------------
10707|    809|            &&
10708|    809|            (_tmp_196_var = _tmp_196_rule(p))  // ',' | ')' | ';' | NEWLINE
  ------------------
  |  Branch (10708:13): [True: 802, False: 7]
  ------------------
10709|    812|        )
10710|    802|        {
10711|    802|            D(fprintf(stderr, "%*c+ _tmp_147[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME (',' | ')' | ';' | NEWLINE)"));
10712|    802|            _res = _PyPegen_dummy_name(p, name_var, _tmp_196_var);
10713|    802|            goto done;
10714|    802|        }
10715|     10|        p->mark = _mark;
10716|     10|        D(fprintf(stderr, "%*c%s _tmp_147[%d-%d]: %s failed!\n", p->level, ' ',
10717|     10|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME (',' | ')' | ';' | NEWLINE)"));
10718|     10|    }
10719|     10|    _res = NULL;
10720|    812|  done:
10721|    812|    p->level--;
10722|    812|    return _res;
10723|     10|}
parser_invalid.c:_tmp_196_rule:
12849|    809|{
12850|    809|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.61k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12850:9): [True: 0, False: 809]
  |  Branch (12850:35): [True: 0, False: 809]
  ------------------
12851|      0|        _Pypegen_stack_overflow(p);
12852|      0|    }
12853|    809|    if (p->error_indicator) {
  ------------------
  |  Branch (12853:9): [True: 0, False: 809]
  ------------------
12854|      0|        p->level--;
12855|      0|        return NULL;
12856|      0|    }
12857|    809|    void * _res = NULL;
12858|    809|    int _mark = p->mark;
12859|    809|    { // ','
12860|    809|        if (p->error_indicator) {
  ------------------
  |  Branch (12860:13): [True: 0, False: 809]
  ------------------
12861|      0|            p->level--;
12862|      0|            return NULL;
12863|      0|        }
12864|    809|        D(fprintf(stderr, "%*c> _tmp_196[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
12865|    809|        Token * _literal;
12866|    809|        if (
12867|    809|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (12867:13): [True: 541, False: 268]
  ------------------
12868|    809|        )
12869|    541|        {
12870|    541|            D(fprintf(stderr, "%*c+ _tmp_196[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
12871|    541|            _res = _literal;
12872|    541|            goto done;
12873|    541|        }
12874|    268|        p->mark = _mark;
12875|    268|        D(fprintf(stderr, "%*c%s _tmp_196[%d-%d]: %s failed!\n", p->level, ' ',
12876|    268|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
12877|    268|    }
12878|      0|    { // ')'
12879|    268|        if (p->error_indicator) {
  ------------------
  |  Branch (12879:13): [True: 0, False: 268]
  ------------------
12880|      0|            p->level--;
12881|      0|            return NULL;
12882|      0|        }
12883|    268|        D(fprintf(stderr, "%*c> _tmp_196[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "')'"));
12884|    268|        Token * _literal;
12885|    268|        if (
12886|    268|            (_literal = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (12886:13): [True: 18, False: 250]
  ------------------
12887|    268|        )
12888|     18|        {
12889|     18|            D(fprintf(stderr, "%*c+ _tmp_196[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "')'"));
12890|     18|            _res = _literal;
12891|     18|            goto done;
12892|     18|        }
12893|    250|        p->mark = _mark;
12894|    250|        D(fprintf(stderr, "%*c%s _tmp_196[%d-%d]: %s failed!\n", p->level, ' ',
12895|    250|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "')'"));
12896|    250|    }
12897|      0|    { // ';'
12898|    250|        if (p->error_indicator) {
  ------------------
  |  Branch (12898:13): [True: 0, False: 250]
  ------------------
12899|      0|            p->level--;
12900|      0|            return NULL;
12901|      0|        }
12902|    250|        D(fprintf(stderr, "%*c> _tmp_196[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "';'"));
12903|    250|        Token * _literal;
12904|    250|        if (
12905|    250|            (_literal = _PyPegen_expect_token(p, 13))  // token=';'
  ------------------
  |  Branch (12905:13): [True: 37, False: 213]
  ------------------
12906|    250|        )
12907|     37|        {
12908|     37|            D(fprintf(stderr, "%*c+ _tmp_196[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "';'"));
12909|     37|            _res = _literal;
12910|     37|            goto done;
12911|     37|        }
12912|    213|        p->mark = _mark;
12913|    213|        D(fprintf(stderr, "%*c%s _tmp_196[%d-%d]: %s failed!\n", p->level, ' ',
12914|    213|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "';'"));
12915|    213|    }
12916|      0|    { // NEWLINE
12917|    213|        if (p->error_indicator) {
  ------------------
  |  Branch (12917:13): [True: 0, False: 213]
  ------------------
12918|      0|            p->level--;
12919|      0|            return NULL;
12920|      0|        }
12921|    213|        D(fprintf(stderr, "%*c> _tmp_196[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
12922|    213|        Token * newline_var;
12923|    213|        if (
12924|    213|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    213|#define NEWLINE         4
  ------------------
  |  Branch (12924:13): [True: 206, False: 7]
  ------------------
12925|    213|        )
12926|    206|        {
12927|    206|            D(fprintf(stderr, "%*c+ _tmp_196[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
12928|    206|            _res = newline_var;
12929|    206|            goto done;
12930|    206|        }
12931|      7|        p->mark = _mark;
12932|      7|        D(fprintf(stderr, "%*c%s _tmp_196[%d-%d]: %s failed!\n", p->level, ' ',
12933|      7|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
12934|      7|    }
12935|      7|    _res = NULL;
12936|    809|  done:
12937|    809|    p->level--;
12938|    809|    return _res;
12939|      7|}
parser_invalid.c:_loop0_148_rule:
10728|  1.20k|{
10729|  1.20k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.40k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10729:9): [True: 0, False: 1.20k]
  |  Branch (10729:35): [True: 0, False: 1.20k]
  ------------------
10730|      0|        _Pypegen_stack_overflow(p);
10731|      0|    }
10732|  1.20k|    if (p->error_indicator) {
  ------------------
  |  Branch (10732:9): [True: 0, False: 1.20k]
  ------------------
10733|      0|        p->level--;
10734|      0|        return NULL;
10735|      0|    }
10736|  1.20k|    void *_res = NULL;
10737|  1.20k|    int _mark = p->mark;
10738|  1.20k|    void **_children = NULL;
10739|  1.20k|    Py_ssize_t _children_capacity = 0;
10740|  1.20k|    Py_ssize_t _n = 0;
10741|  1.20k|    { // ('.' | '...')
10742|  1.20k|        if (p->error_indicator) {
  ------------------
  |  Branch (10742:13): [True: 0, False: 1.20k]
  ------------------
10743|      0|            p->level--;
10744|      0|            return NULL;
10745|      0|        }
10746|  1.20k|        D(fprintf(stderr, "%*c> _loop0_148[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('.' | '...')"));
10747|  1.20k|        void *_tmp_197_var;
10748|  1.20k|        while (
10749|  4.90k|            (_tmp_197_var = _tmp_197_rule(p))  // '.' | '...'
  ------------------
  |  Branch (10749:13): [True: 3.70k, False: 1.20k]
  ------------------
10750|  1.20k|        )
10751|  3.70k|        {
10752|  3.70k|            _res = _tmp_197_var;
10753|  3.70k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (10753:17): [True: 1.33k, False: 2.36k]
  ------------------
10754|  1.33k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (10754:21): [True: 0, False: 1.33k]
  ------------------
10755|      0|                    p->error_indicator = 1;
10756|      0|                    PyErr_NoMemory();
10757|      0|                    PyMem_Free(_children);
10758|      0|                    p->level--;
10759|      0|                    return NULL;
10760|      0|                }
10761|  1.33k|            }
10762|  3.70k|            _children[_n++] = _res;
10763|  3.70k|            _mark = p->mark;
10764|  3.70k|        }
10765|  1.20k|        p->mark = _mark;
10766|  1.20k|        D(fprintf(stderr, "%*c%s _loop0_148[%d-%d]: %s failed!\n", p->level, ' ',
10767|  1.20k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('.' | '...')"));
10768|  1.20k|    }
10769|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
10770|  1.20k|    if (!_seq) {
  ------------------
  |  Branch (10770:9): [True: 0, False: 1.20k]
  ------------------
10771|      0|        p->error_indicator = 1;
10772|      0|        PyErr_NoMemory();
10773|      0|        PyMem_Free(_children);
10774|      0|        p->level--;
10775|      0|        return NULL;
10776|      0|    }
10777|  4.90k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  3.70k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  4.90k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (10777:28): [True: 3.70k, False: 1.20k]
  ------------------
10778|  1.20k|    PyMem_Free(_children);
10779|  1.20k|    p->level--;
10780|  1.20k|    return _seq;
10781|  1.20k|}
parser_invalid.c:_tmp_197_rule:
12944|  4.90k|{
12945|  4.90k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  9.81k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12945:9): [True: 0, False: 4.90k]
  |  Branch (12945:35): [True: 0, False: 4.90k]
  ------------------
12946|      0|        _Pypegen_stack_overflow(p);
12947|      0|    }
12948|  4.90k|    if (p->error_indicator) {
  ------------------
  |  Branch (12948:9): [True: 0, False: 4.90k]
  ------------------
12949|      0|        p->level--;
12950|      0|        return NULL;
12951|      0|    }
12952|  4.90k|    void * _res = NULL;
12953|  4.90k|    int _mark = p->mark;
12954|  4.90k|    { // '.'
12955|  4.90k|        if (p->error_indicator) {
  ------------------
  |  Branch (12955:13): [True: 0, False: 4.90k]
  ------------------
12956|      0|            p->level--;
12957|      0|            return NULL;
12958|      0|        }
12959|  4.90k|        D(fprintf(stderr, "%*c> _tmp_197[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'.'"));
12960|  4.90k|        Token * _literal;
12961|  4.90k|        if (
12962|  4.90k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (12962:13): [True: 1.11k, False: 3.78k]
  ------------------
12963|  4.90k|        )
12964|  1.11k|        {
12965|  1.11k|            D(fprintf(stderr, "%*c+ _tmp_197[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'.'"));
12966|  1.11k|            _res = _literal;
12967|  1.11k|            goto done;
12968|  1.11k|        }
12969|  3.78k|        p->mark = _mark;
12970|  3.78k|        D(fprintf(stderr, "%*c%s _tmp_197[%d-%d]: %s failed!\n", p->level, ' ',
12971|  3.78k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'.'"));
12972|  3.78k|    }
12973|      0|    { // '...'
12974|  3.78k|        if (p->error_indicator) {
  ------------------
  |  Branch (12974:13): [True: 0, False: 3.78k]
  ------------------
12975|      0|            p->level--;
12976|      0|            return NULL;
12977|      0|        }
12978|  3.78k|        D(fprintf(stderr, "%*c> _tmp_197[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'...'"));
12979|  3.78k|        Token * _literal;
12980|  3.78k|        if (
12981|  3.78k|            (_literal = _PyPegen_expect_token(p, 52))  // token='...'
  ------------------
  |  Branch (12981:13): [True: 2.58k, False: 1.20k]
  ------------------
12982|  3.78k|        )
12983|  2.58k|        {
12984|  2.58k|            D(fprintf(stderr, "%*c+ _tmp_197[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'...'"));
12985|  2.58k|            _res = _literal;
12986|  2.58k|            goto done;
12987|  2.58k|        }
12988|  1.20k|        p->mark = _mark;
12989|  1.20k|        D(fprintf(stderr, "%*c%s _tmp_197[%d-%d]: %s failed!\n", p->level, ' ',
12990|  1.20k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'...'"));
12991|  1.20k|    }
12992|  1.20k|    _res = NULL;
12993|  4.90k|  done:
12994|  4.90k|    p->level--;
12995|  4.90k|    return _res;
12996|  1.20k|}
parser_invalid.c:_gather_150_rule:
10853|  1.77k|{
10854|  1.77k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.54k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10854:9): [True: 0, False: 1.77k]
  |  Branch (10854:35): [True: 0, False: 1.77k]
  ------------------
10855|      0|        _Pypegen_stack_overflow(p);
10856|      0|    }
10857|  1.77k|    if (p->error_indicator) {
  ------------------
  |  Branch (10857:9): [True: 0, False: 1.77k]
  ------------------
10858|      0|        p->level--;
10859|      0|        return NULL;
10860|      0|    }
10861|  1.77k|    asdl_seq * _res = NULL;
10862|  1.77k|    int _mark = p->mark;
10863|  1.77k|    { // (expression ['as' star_target]) _loop0_149
10864|  1.77k|        if (p->error_indicator) {
  ------------------
  |  Branch (10864:13): [True: 0, False: 1.77k]
  ------------------
10865|      0|            p->level--;
10866|      0|            return NULL;
10867|      0|        }
10868|  1.77k|        D(fprintf(stderr, "%*c> _gather_150[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(expression ['as' star_target]) _loop0_149"));
10869|  1.77k|        void *elem;
10870|  1.77k|        asdl_seq * seq;
10871|  1.77k|        if (
10872|  1.77k|            (elem = _tmp_198_rule(p))  // expression ['as' star_target]
  ------------------
  |  Branch (10872:13): [True: 1.61k, False: 153]
  ------------------
10873|  1.61k|            &&
10874|  1.61k|            (seq = _loop0_149_rule(p))  // _loop0_149
  ------------------
  |  Branch (10874:13): [True: 1.61k, False: 0]
  ------------------
10875|  1.77k|        )
10876|  1.61k|        {
10877|  1.61k|            D(fprintf(stderr, "%*c+ _gather_150[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(expression ['as' star_target]) _loop0_149"));
10878|  1.61k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
10879|  1.61k|            goto done;
10880|  1.61k|        }
10881|    153|        p->mark = _mark;
10882|    153|        D(fprintf(stderr, "%*c%s _gather_150[%d-%d]: %s failed!\n", p->level, ' ',
10883|    153|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(expression ['as' star_target]) _loop0_149"));
10884|    153|    }
10885|    153|    _res = NULL;
10886|  1.77k|  done:
10887|  1.77k|    p->level--;
10888|  1.77k|    return _res;
10889|    153|}
parser_invalid.c:_tmp_198_rule:
13001|  3.47k|{
13002|  3.47k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.94k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13002:9): [True: 0, False: 3.47k]
  |  Branch (13002:35): [True: 0, False: 3.47k]
  ------------------
13003|      0|        _Pypegen_stack_overflow(p);
13004|      0|    }
13005|  3.47k|    if (p->error_indicator) {
  ------------------
  |  Branch (13005:9): [True: 0, False: 3.47k]
  ------------------
13006|      0|        p->level--;
13007|      0|        return NULL;
13008|      0|    }
13009|  3.47k|    void * _res = NULL;
13010|  3.47k|    int _mark = p->mark;
13011|  3.47k|    { // expression ['as' star_target]
13012|  3.47k|        if (p->error_indicator) {
  ------------------
  |  Branch (13012:13): [True: 0, False: 3.47k]
  ------------------
13013|      0|            p->level--;
13014|      0|            return NULL;
13015|      0|        }
13016|  3.47k|        D(fprintf(stderr, "%*c> _tmp_198[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ['as' star_target]"));
13017|  3.47k|        void *_opt_var;
13018|  3.47k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  3.47k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 3.47k]
  |  |  ------------------
  ------------------
13019|  3.47k|        expr_ty expression_var;
13020|  3.47k|        if (
13021|  3.47k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|  3.47k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (13021:13): [True: 3.29k, False: 176]
  ------------------
13022|  3.29k|            &&
13023|  3.29k|            (_opt_var = _tmp_204_rule(p), !p->error_indicator)  // ['as' star_target]
  ------------------
  |  Branch (13023:13): [True: 3.29k, False: 1]
  ------------------
13024|  3.47k|        )
13025|  3.29k|        {
13026|  3.29k|            D(fprintf(stderr, "%*c+ _tmp_198[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ['as' star_target]"));
13027|  3.29k|            _res = _PyPegen_dummy_name(p, expression_var, _opt_var);
13028|  3.29k|            goto done;
13029|  3.29k|        }
13030|    177|        p->mark = _mark;
13031|    177|        D(fprintf(stderr, "%*c%s _tmp_198[%d-%d]: %s failed!\n", p->level, ' ',
13032|    177|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ['as' star_target]"));
13033|    177|    }
13034|    177|    _res = NULL;
13035|  3.47k|  done:
13036|  3.47k|    p->level--;
13037|  3.47k|    return _res;
13038|    177|}
parser_invalid.c:_tmp_204_rule:
13235|  4.50k|{
13236|  4.50k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  9.01k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13236:9): [True: 0, False: 4.50k]
  |  Branch (13236:35): [True: 0, False: 4.50k]
  ------------------
13237|      0|        _Pypegen_stack_overflow(p);
13238|      0|    }
13239|  4.50k|    if (p->error_indicator) {
  ------------------
  |  Branch (13239:9): [True: 0, False: 4.50k]
  ------------------
13240|      0|        p->level--;
13241|      0|        return NULL;
13242|      0|    }
13243|  4.50k|    void * _res = NULL;
13244|  4.50k|    int _mark = p->mark;
13245|  4.50k|    { // 'as' star_target
13246|  4.50k|        if (p->error_indicator) {
  ------------------
  |  Branch (13246:13): [True: 0, False: 4.50k]
  ------------------
13247|      0|            p->level--;
13248|      0|            return NULL;
13249|      0|        }
13250|  4.50k|        D(fprintf(stderr, "%*c> _tmp_204[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'as' star_target"));
13251|  4.50k|        Token * _keyword;
13252|  4.50k|        expr_ty star_target_var;
13253|  4.50k|        if (
13254|  4.50k|            (_keyword = _PyPegen_expect_token(p, 520))  // token='as'
  ------------------
  |  Branch (13254:13): [True: 554, False: 3.95k]
  ------------------
13255|    554|            &&
13256|    554|            (star_target_var = star_target_rule(p))  // star_target
  ------------------
  |  |  315|    554|#define star_target_rule _PyPegen_star_target_rule
  ------------------
  |  Branch (13256:13): [True: 547, False: 7]
  ------------------
13257|  4.50k|        )
13258|    547|        {
13259|    547|            D(fprintf(stderr, "%*c+ _tmp_204[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'as' star_target"));
13260|    547|            _res = _PyPegen_dummy_name(p, _keyword, star_target_var);
13261|    547|            goto done;
13262|    547|        }
13263|  3.95k|        p->mark = _mark;
13264|  3.95k|        D(fprintf(stderr, "%*c%s _tmp_204[%d-%d]: %s failed!\n", p->level, ' ',
13265|  3.95k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'as' star_target"));
13266|  3.95k|    }
13267|  3.95k|    _res = NULL;
13268|  4.50k|  done:
13269|  4.50k|    p->level--;
13270|  4.50k|    return _res;
13271|  3.95k|}
parser_invalid.c:_loop0_149_rule:
10786|  1.61k|{
10787|  1.61k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.23k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10787:9): [True: 0, False: 1.61k]
  |  Branch (10787:35): [True: 0, False: 1.61k]
  ------------------
10788|      0|        _Pypegen_stack_overflow(p);
10789|      0|    }
10790|  1.61k|    if (p->error_indicator) {
  ------------------
  |  Branch (10790:9): [True: 0, False: 1.61k]
  ------------------
10791|      0|        p->level--;
10792|      0|        return NULL;
10793|      0|    }
10794|  1.61k|    void *_res = NULL;
10795|  1.61k|    int _mark = p->mark;
10796|  1.61k|    void **_children = NULL;
10797|  1.61k|    Py_ssize_t _children_capacity = 0;
10798|  1.61k|    Py_ssize_t _n = 0;
10799|  1.61k|    { // ',' (expression ['as' star_target])
10800|  1.61k|        if (p->error_indicator) {
  ------------------
  |  Branch (10800:13): [True: 0, False: 1.61k]
  ------------------
10801|      0|            p->level--;
10802|      0|            return NULL;
10803|      0|        }
10804|  1.61k|        D(fprintf(stderr, "%*c> _loop0_149[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (expression ['as' star_target])"));
10805|  1.61k|        Token * _literal;
10806|  1.61k|        void *elem;
10807|  1.61k|        while (
10808|  3.29k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (10808:13): [True: 1.69k, False: 1.59k]
  ------------------
10809|  1.69k|            &&
10810|  1.69k|            (elem = _tmp_198_rule(p))  // expression ['as' star_target]
  ------------------
  |  Branch (10810:13): [True: 1.67k, False: 24]
  ------------------
10811|  1.61k|        )
10812|  1.67k|        {
10813|  1.67k|            _res = elem;
10814|  1.67k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10814:18): [True: 0, False: 1.67k]
  |  Branch (10814:34): [True: 0, False: 1.67k]
  |  Branch (10814:57): [True: 0, False: 0]
  ------------------
10815|      0|                p->error_indicator = 1;
10816|      0|                PyMem_Free(_children);
10817|      0|                p->level--;
10818|      0|                return NULL;
10819|      0|            }
10820|  1.67k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (10820:17): [True: 877, False: 798]
  ------------------
10821|    877|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (10821:21): [True: 0, False: 877]
  ------------------
10822|      0|                    p->error_indicator = 1;
10823|      0|                    PyErr_NoMemory();
10824|      0|                    PyMem_Free(_children);
10825|      0|                    p->level--;
10826|      0|                    return NULL;
10827|      0|                }
10828|    877|            }
10829|  1.67k|            _children[_n++] = _res;
10830|  1.67k|            _mark = p->mark;
10831|  1.67k|        }
10832|  1.61k|        p->mark = _mark;
10833|  1.61k|        D(fprintf(stderr, "%*c%s _loop0_149[%d-%d]: %s failed!\n", p->level, ' ',
10834|  1.61k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (expression ['as' star_target])"));
10835|  1.61k|    }
10836|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
10837|  1.61k|    if (!_seq) {
  ------------------
  |  Branch (10837:9): [True: 0, False: 1.61k]
  ------------------
10838|      0|        p->error_indicator = 1;
10839|      0|        PyErr_NoMemory();
10840|      0|        PyMem_Free(_children);
10841|      0|        p->level--;
10842|      0|        return NULL;
10843|      0|    }
10844|  3.29k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.67k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  3.29k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (10844:28): [True: 1.67k, False: 1.61k]
  ------------------
10845|  1.61k|    PyMem_Free(_children);
10846|  1.61k|    p->level--;
10847|  1.61k|    return _seq;
10848|  1.61k|}
parser_invalid.c:_gather_152_rule:
10961|    801|{
10962|    801|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.60k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10962:9): [True: 0, False: 801]
  |  Branch (10962:35): [True: 0, False: 801]
  ------------------
10963|      0|        _Pypegen_stack_overflow(p);
10964|      0|    }
10965|    801|    if (p->error_indicator) {
  ------------------
  |  Branch (10965:9): [True: 0, False: 801]
  ------------------
10966|      0|        p->level--;
10967|      0|        return NULL;
10968|      0|    }
10969|    801|    asdl_seq * _res = NULL;
10970|    801|    int _mark = p->mark;
10971|    801|    { // (expressions ['as' star_target]) _loop0_151
10972|    801|        if (p->error_indicator) {
  ------------------
  |  Branch (10972:13): [True: 0, False: 801]
  ------------------
10973|      0|            p->level--;
10974|      0|            return NULL;
10975|      0|        }
10976|    801|        D(fprintf(stderr, "%*c> _gather_152[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(expressions ['as' star_target]) _loop0_151"));
10977|    801|        void *elem;
10978|    801|        asdl_seq * seq;
10979|    801|        if (
10980|    801|            (elem = _tmp_199_rule(p))  // expressions ['as' star_target]
  ------------------
  |  Branch (10980:13): [True: 661, False: 140]
  ------------------
10981|    661|            &&
10982|    661|            (seq = _loop0_151_rule(p))  // _loop0_151
  ------------------
  |  Branch (10982:13): [True: 661, False: 0]
  ------------------
10983|    801|        )
10984|    661|        {
10985|    661|            D(fprintf(stderr, "%*c+ _gather_152[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(expressions ['as' star_target]) _loop0_151"));
10986|    661|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
10987|    661|            goto done;
10988|    661|        }
10989|    140|        p->mark = _mark;
10990|    140|        D(fprintf(stderr, "%*c%s _gather_152[%d-%d]: %s failed!\n", p->level, ' ',
10991|    140|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(expressions ['as' star_target]) _loop0_151"));
10992|    140|    }
10993|    140|    _res = NULL;
10994|    801|  done:
10995|    801|    p->level--;
10996|    801|    return _res;
10997|    140|}
parser_invalid.c:_tmp_199_rule:
13043|  1.36k|{
13044|  1.36k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.73k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13044:9): [True: 0, False: 1.36k]
  |  Branch (13044:35): [True: 0, False: 1.36k]
  ------------------
13045|      0|        _Pypegen_stack_overflow(p);
13046|      0|    }
13047|  1.36k|    if (p->error_indicator) {
  ------------------
  |  Branch (13047:9): [True: 0, False: 1.36k]
  ------------------
13048|      0|        p->level--;
13049|      0|        return NULL;
13050|      0|    }
13051|  1.36k|    void * _res = NULL;
13052|  1.36k|    int _mark = p->mark;
13053|  1.36k|    { // expressions ['as' star_target]
13054|  1.36k|        if (p->error_indicator) {
  ------------------
  |  Branch (13054:13): [True: 0, False: 1.36k]
  ------------------
13055|      0|            p->level--;
13056|      0|            return NULL;
13057|      0|        }
13058|  1.36k|        D(fprintf(stderr, "%*c> _tmp_199[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expressions ['as' star_target]"));
13059|  1.36k|        void *_opt_var;
13060|  1.36k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  1.36k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 1.36k]
  |  |  ------------------
  ------------------
13061|  1.36k|        expr_ty expressions_var;
13062|  1.36k|        if (
13063|  1.36k|            (expressions_var = expressions_rule(p))  // expressions
  ------------------
  |  |  241|  1.36k|#define expressions_rule _PyPegen_expressions_rule
  ------------------
  |  Branch (13063:13): [True: 1.21k, False: 157]
  ------------------
13064|  1.21k|            &&
13065|  1.21k|            (_opt_var = _tmp_204_rule(p), !p->error_indicator)  // ['as' star_target]
  ------------------
  |  Branch (13065:13): [True: 1.21k, False: 1]
  ------------------
13066|  1.36k|        )
13067|  1.21k|        {
13068|  1.21k|            D(fprintf(stderr, "%*c+ _tmp_199[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expressions ['as' star_target]"));
13069|  1.21k|            _res = _PyPegen_dummy_name(p, expressions_var, _opt_var);
13070|  1.21k|            goto done;
13071|  1.21k|        }
13072|    158|        p->mark = _mark;
13073|    158|        D(fprintf(stderr, "%*c%s _tmp_199[%d-%d]: %s failed!\n", p->level, ' ',
13074|    158|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expressions ['as' star_target]"));
13075|    158|    }
13076|    158|    _res = NULL;
13077|  1.36k|  done:
13078|  1.36k|    p->level--;
13079|  1.36k|    return _res;
13080|    158|}
parser_invalid.c:_loop0_151_rule:
10894|    661|{
10895|    661|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  1.32k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10895:9): [True: 0, False: 661]
  |  Branch (10895:35): [True: 0, False: 661]
  ------------------
10896|      0|        _Pypegen_stack_overflow(p);
10897|      0|    }
10898|    661|    if (p->error_indicator) {
  ------------------
  |  Branch (10898:9): [True: 0, False: 661]
  ------------------
10899|      0|        p->level--;
10900|      0|        return NULL;
10901|      0|    }
10902|    661|    void *_res = NULL;
10903|    661|    int _mark = p->mark;
10904|    661|    void **_children = NULL;
10905|    661|    Py_ssize_t _children_capacity = 0;
10906|    661|    Py_ssize_t _n = 0;
10907|    661|    { // ',' (expressions ['as' star_target])
10908|    661|        if (p->error_indicator) {
  ------------------
  |  Branch (10908:13): [True: 0, False: 661]
  ------------------
10909|      0|            p->level--;
10910|      0|            return NULL;
10911|      0|        }
10912|    661|        D(fprintf(stderr, "%*c> _loop0_151[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (expressions ['as' star_target])"));
10913|    661|        Token * _literal;
10914|    661|        void *elem;
10915|    661|        while (
10916|  1.21k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (10916:13): [True: 568, False: 643]
  ------------------
10917|    568|            &&
10918|    568|            (elem = _tmp_199_rule(p))  // expressions ['as' star_target]
  ------------------
  |  Branch (10918:13): [True: 550, False: 18]
  ------------------
10919|    661|        )
10920|    550|        {
10921|    550|            _res = elem;
10922|    550|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10922:18): [True: 0, False: 550]
  |  Branch (10922:34): [True: 0, False: 550]
  |  Branch (10922:57): [True: 0, False: 0]
  ------------------
10923|      0|                p->error_indicator = 1;
10924|      0|                PyMem_Free(_children);
10925|      0|                p->level--;
10926|      0|                return NULL;
10927|      0|            }
10928|    550|            if (_n == _children_capacity) {
  ------------------
  |  Branch (10928:17): [True: 106, False: 444]
  ------------------
10929|    106|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (10929:21): [True: 0, False: 106]
  ------------------
10930|      0|                    p->error_indicator = 1;
10931|      0|                    PyErr_NoMemory();
10932|      0|                    PyMem_Free(_children);
10933|      0|                    p->level--;
10934|      0|                    return NULL;
10935|      0|                }
10936|    106|            }
10937|    550|            _children[_n++] = _res;
10938|    550|            _mark = p->mark;
10939|    550|        }
10940|    661|        p->mark = _mark;
10941|    661|        D(fprintf(stderr, "%*c%s _loop0_151[%d-%d]: %s failed!\n", p->level, ' ',
10942|    661|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (expressions ['as' star_target])"));
10943|    661|    }
10944|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
10945|    661|    if (!_seq) {
  ------------------
  |  Branch (10945:9): [True: 0, False: 661]
  ------------------
10946|      0|        p->error_indicator = 1;
10947|      0|        PyErr_NoMemory();
10948|      0|        PyMem_Free(_children);
10949|      0|        p->level--;
10950|      0|        return NULL;
10951|      0|    }
10952|  1.21k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    550|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  1.21k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (10952:28): [True: 550, False: 661]
  ------------------
10953|    661|    PyMem_Free(_children);
10954|    661|    p->level--;
10955|    661|    return _seq;
10956|    661|}
parser_invalid.c:_tmp_153_rule:
11002|  1.02k|{
11003|  1.02k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.05k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11003:9): [True: 0, False: 1.02k]
  |  Branch (11003:35): [True: 0, False: 1.02k]
  ------------------
11004|      0|        _Pypegen_stack_overflow(p);
11005|      0|    }
11006|  1.02k|    if (p->error_indicator) {
  ------------------
  |  Branch (11006:9): [True: 0, False: 1.02k]
  ------------------
11007|      0|        p->level--;
11008|      0|        return NULL;
11009|      0|    }
11010|  1.02k|    void * _res = NULL;
11011|  1.02k|    int _mark = p->mark;
11012|  1.02k|    { // 'except'
11013|  1.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (11013:13): [True: 0, False: 1.02k]
  ------------------
11014|      0|            p->level--;
11015|      0|            return NULL;
11016|      0|        }
11017|  1.02k|        D(fprintf(stderr, "%*c> _tmp_153[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except'"));
11018|  1.02k|        Token * _keyword;
11019|  1.02k|        if (
11020|  1.02k|            (_keyword = _PyPegen_expect_token(p, 524))  // token='except'
  ------------------
  |  Branch (11020:13): [True: 774, False: 255]
  ------------------
11021|  1.02k|        )
11022|    774|        {
11023|    774|            D(fprintf(stderr, "%*c+ _tmp_153[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except'"));
11024|    774|            _res = _keyword;
11025|    774|            goto done;
11026|    774|        }
11027|    255|        p->mark = _mark;
11028|    255|        D(fprintf(stderr, "%*c%s _tmp_153[%d-%d]: %s failed!\n", p->level, ' ',
11029|    255|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except'"));
11030|    255|    }
11031|      0|    { // 'finally'
11032|    255|        if (p->error_indicator) {
  ------------------
  |  Branch (11032:13): [True: 1, False: 254]
  ------------------
11033|      1|            p->level--;
11034|      1|            return NULL;
11035|      1|        }
11036|    254|        D(fprintf(stderr, "%*c> _tmp_153[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'finally'"));
11037|    254|        Token * _keyword;
11038|    254|        if (
11039|    254|            (_keyword = _PyPegen_expect_token(p, 525))  // token='finally'
  ------------------
  |  Branch (11039:13): [True: 237, False: 17]
  ------------------
11040|    254|        )
11041|    237|        {
11042|    237|            D(fprintf(stderr, "%*c+ _tmp_153[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'finally'"));
11043|    237|            _res = _keyword;
11044|    237|            goto done;
11045|    237|        }
11046|     17|        p->mark = _mark;
11047|     17|        D(fprintf(stderr, "%*c%s _tmp_153[%d-%d]: %s failed!\n", p->level, ' ',
11048|     17|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'finally'"));
11049|     17|    }
11050|     17|    _res = NULL;
11051|  1.02k|  done:
11052|  1.02k|    p->level--;
11053|  1.02k|    return _res;
11054|     17|}
parser_invalid.c:_loop0_154_rule:
11059|  2.07k|{
11060|  2.07k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.15k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11060:9): [True: 0, False: 2.07k]
  |  Branch (11060:35): [True: 0, False: 2.07k]
  ------------------
11061|      0|        _Pypegen_stack_overflow(p);
11062|      0|    }
11063|  2.07k|    if (p->error_indicator) {
  ------------------
  |  Branch (11063:9): [True: 0, False: 2.07k]
  ------------------
11064|      0|        p->level--;
11065|      0|        return NULL;
11066|      0|    }
11067|  2.07k|    void *_res = NULL;
11068|  2.07k|    int _mark = p->mark;
11069|  2.07k|    void **_children = NULL;
11070|  2.07k|    Py_ssize_t _children_capacity = 0;
11071|  2.07k|    Py_ssize_t _n = 0;
11072|  2.07k|    { // block
11073|  2.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (11073:13): [True: 0, False: 2.07k]
  ------------------
11074|      0|            p->level--;
11075|      0|            return NULL;
11076|      0|        }
11077|  2.07k|        D(fprintf(stderr, "%*c> _loop0_154[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "block"));
11078|  2.07k|        asdl_stmt_seq* block_var;
11079|  2.07k|        while (
11080|  4.08k|            (block_var = block_rule(p))  // block
  ------------------
  |  |  201|  4.08k|#define block_rule _PyPegen_block_rule
  ------------------
  |  Branch (11080:13): [True: 2.00k, False: 2.07k]
  ------------------
11081|  2.07k|        )
11082|  2.00k|        {
11083|  2.00k|            _res = block_var;
11084|  2.00k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (11084:17): [True: 2.00k, False: 0]
  ------------------
11085|  2.00k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (11085:21): [True: 0, False: 2.00k]
  ------------------
11086|      0|                    p->error_indicator = 1;
11087|      0|                    PyErr_NoMemory();
11088|      0|                    PyMem_Free(_children);
11089|      0|                    p->level--;
11090|      0|                    return NULL;
11091|      0|                }
11092|  2.00k|            }
11093|  2.00k|            _children[_n++] = _res;
11094|  2.00k|            _mark = p->mark;
11095|  2.00k|        }
11096|  2.07k|        p->mark = _mark;
11097|  2.07k|        D(fprintf(stderr, "%*c%s _loop0_154[%d-%d]: %s failed!\n", p->level, ' ',
11098|  2.07k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "block"));
11099|  2.07k|    }
11100|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
11101|  2.07k|    if (!_seq) {
  ------------------
  |  Branch (11101:9): [True: 0, False: 2.07k]
  ------------------
11102|      0|        p->error_indicator = 1;
11103|      0|        PyErr_NoMemory();
11104|      0|        PyMem_Free(_children);
11105|      0|        p->level--;
11106|      0|        return NULL;
11107|      0|    }
11108|  4.08k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  2.00k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  4.08k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (11108:28): [True: 2.00k, False: 2.07k]
  ------------------
11109|  2.07k|    PyMem_Free(_children);
11110|  2.07k|    p->level--;
11111|  2.07k|    return _seq;
11112|  2.07k|}
parser_invalid.c:_loop1_155_rule:
11117|  1.05k|{
11118|  1.05k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.11k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11118:9): [True: 0, False: 1.05k]
  |  Branch (11118:35): [True: 0, False: 1.05k]
  ------------------
11119|      0|        _Pypegen_stack_overflow(p);
11120|      0|    }
11121|  1.05k|    if (p->error_indicator) {
  ------------------
  |  Branch (11121:9): [True: 0, False: 1.05k]
  ------------------
11122|      0|        p->level--;
11123|      0|        return NULL;
11124|      0|    }
11125|  1.05k|    void *_res = NULL;
11126|  1.05k|    int _mark = p->mark;
11127|  1.05k|    void **_children = NULL;
11128|  1.05k|    Py_ssize_t _children_capacity = 0;
11129|  1.05k|    Py_ssize_t _n = 0;
11130|  1.05k|    { // except_block
11131|  1.05k|        if (p->error_indicator) {
  ------------------
  |  Branch (11131:13): [True: 0, False: 1.05k]
  ------------------
11132|      0|            p->level--;
11133|      0|            return NULL;
11134|      0|        }
11135|  1.05k|        D(fprintf(stderr, "%*c> _loop1_155[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "except_block"));
11136|  1.05k|        excepthandler_ty except_block_var;
11137|  1.05k|        while (
11138|  2.39k|            (except_block_var = except_block_rule(p))  // except_block
  ------------------
  |  |  217|  2.39k|#define except_block_rule _PyPegen_except_block_rule
  ------------------
  |  Branch (11138:13): [True: 1.33k, False: 1.05k]
  ------------------
11139|  1.05k|        )
11140|  1.33k|        {
11141|  1.33k|            _res = except_block_var;
11142|  1.33k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (11142:17): [True: 772, False: 565]
  ------------------
11143|    772|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (11143:21): [True: 0, False: 772]
  ------------------
11144|      0|                    p->error_indicator = 1;
11145|      0|                    PyErr_NoMemory();
11146|      0|                    PyMem_Free(_children);
11147|      0|                    p->level--;
11148|      0|                    return NULL;
11149|      0|                }
11150|    772|            }
11151|  1.33k|            _children[_n++] = _res;
11152|  1.33k|            _mark = p->mark;
11153|  1.33k|        }
11154|  1.05k|        p->mark = _mark;
11155|  1.05k|        D(fprintf(stderr, "%*c%s _loop1_155[%d-%d]: %s failed!\n", p->level, ' ',
11156|  1.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "except_block"));
11157|  1.05k|    }
11158|  1.05k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (11158:9): [True: 536, False: 520]
  |  Branch (11158:20): [True: 5, False: 515]
  ------------------
11159|    541|        PyMem_Free(_children);
11160|    541|        p->level--;
11161|    541|        return NULL;
11162|    541|    }
11163|    515|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
11164|    515|    if (!_seq) {
  ------------------
  |  Branch (11164:9): [True: 0, False: 515]
  ------------------
11165|      0|        p->error_indicator = 1;
11166|      0|        PyErr_NoMemory();
11167|      0|        PyMem_Free(_children);
11168|      0|        p->level--;
11169|      0|        return NULL;
11170|      0|    }
11171|  1.84k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.32k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  1.84k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (11171:28): [True: 1.32k, False: 515]
  ------------------
11172|    515|    PyMem_Free(_children);
11173|    515|    p->level--;
11174|    515|    return _seq;
11175|    515|}
parser_invalid.c:_tmp_156_rule:
11180|  3.37k|{
11181|  3.37k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  6.75k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11181:9): [True: 0, False: 3.37k]
  |  Branch (11181:35): [True: 0, False: 3.37k]
  ------------------
11182|      0|        _Pypegen_stack_overflow(p);
11183|      0|    }
11184|  3.37k|    if (p->error_indicator) {
  ------------------
  |  Branch (11184:9): [True: 0, False: 3.37k]
  ------------------
11185|      0|        p->level--;
11186|      0|        return NULL;
11187|      0|    }
11188|  3.37k|    void * _res = NULL;
11189|  3.37k|    int _mark = p->mark;
11190|  3.37k|    { // 'as' NAME
11191|  3.37k|        if (p->error_indicator) {
  ------------------
  |  Branch (11191:13): [True: 0, False: 3.37k]
  ------------------
11192|      0|            p->level--;
11193|      0|            return NULL;
11194|      0|        }
11195|  3.37k|        D(fprintf(stderr, "%*c> _tmp_156[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'as' NAME"));
11196|  3.37k|        Token * _keyword;
11197|  3.37k|        expr_ty name_var;
11198|  3.37k|        if (
11199|  3.37k|            (_keyword = _PyPegen_expect_token(p, 520))  // token='as'
  ------------------
  |  Branch (11199:13): [True: 478, False: 2.89k]
  ------------------
11200|    478|            &&
11201|    478|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (11201:13): [True: 437, False: 41]
  ------------------
11202|  3.37k|        )
11203|    437|        {
11204|    437|            D(fprintf(stderr, "%*c+ _tmp_156[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'as' NAME"));
11205|    437|            _res = _PyPegen_dummy_name(p, _keyword, name_var);
11206|    437|            goto done;
11207|    437|        }
11208|  2.93k|        p->mark = _mark;
11209|  2.93k|        D(fprintf(stderr, "%*c%s _tmp_156[%d-%d]: %s failed!\n", p->level, ' ',
11210|  2.93k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'as' NAME"));
11211|  2.93k|    }
11212|  2.93k|    _res = NULL;
11213|  3.37k|  done:
11214|  3.37k|    p->level--;
11215|  3.37k|    return _res;
11216|  2.93k|}
parser_invalid.c:_loop1_157_rule:
11221|  1.02k|{
11222|  1.02k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  2.04k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11222:9): [True: 0, False: 1.02k]
  |  Branch (11222:35): [True: 0, False: 1.02k]
  ------------------
11223|      0|        _Pypegen_stack_overflow(p);
11224|      0|    }
11225|  1.02k|    if (p->error_indicator) {
  ------------------
  |  Branch (11225:9): [True: 0, False: 1.02k]
  ------------------
11226|      0|        p->level--;
11227|      0|        return NULL;
11228|      0|    }
11229|  1.02k|    void *_res = NULL;
11230|  1.02k|    int _mark = p->mark;
11231|  1.02k|    void **_children = NULL;
11232|  1.02k|    Py_ssize_t _children_capacity = 0;
11233|  1.02k|    Py_ssize_t _n = 0;
11234|  1.02k|    { // except_star_block
11235|  1.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (11235:13): [True: 0, False: 1.02k]
  ------------------
11236|      0|            p->level--;
11237|      0|            return NULL;
11238|      0|        }
11239|  1.02k|        D(fprintf(stderr, "%*c> _loop1_157[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "except_star_block"));
11240|  1.02k|        excepthandler_ty except_star_block_var;
11241|  1.02k|        while (
11242|  1.72k|            (except_star_block_var = except_star_block_rule(p))  // except_star_block
  ------------------
  |  |  219|  1.72k|#define except_star_block_rule _PyPegen_except_star_block_rule
  ------------------
  |  Branch (11242:13): [True: 700, False: 1.02k]
  ------------------
11243|  1.02k|        )
11244|    700|        {
11245|    700|            _res = except_star_block_var;
11246|    700|            if (_n == _children_capacity) {
  ------------------
  |  Branch (11246:17): [True: 317, False: 383]
  ------------------
11247|    317|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (11247:21): [True: 0, False: 317]
  ------------------
11248|      0|                    p->error_indicator = 1;
11249|      0|                    PyErr_NoMemory();
11250|      0|                    PyMem_Free(_children);
11251|      0|                    p->level--;
11252|      0|                    return NULL;
11253|      0|                }
11254|    317|            }
11255|    700|            _children[_n++] = _res;
11256|    700|            _mark = p->mark;
11257|    700|        }
11258|  1.02k|        p->mark = _mark;
11259|  1.02k|        D(fprintf(stderr, "%*c%s _loop1_157[%d-%d]: %s failed!\n", p->level, ' ',
11260|  1.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "except_star_block"));
11261|  1.02k|    }
11262|  1.02k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (11262:9): [True: 813, False: 209]
  |  Branch (11262:20): [True: 6, False: 203]
  ------------------
11263|    819|        PyMem_Free(_children);
11264|    819|        p->level--;
11265|    819|        return NULL;
11266|    819|    }
11267|    203|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
11268|    203|    if (!_seq) {
  ------------------
  |  Branch (11268:9): [True: 0, False: 203]
  ------------------
11269|      0|        p->error_indicator = 1;
11270|      0|        PyErr_NoMemory();
11271|      0|        PyMem_Free(_children);
11272|      0|        p->level--;
11273|      0|        return NULL;
11274|      0|    }
11275|    880|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    677|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|    880|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (11275:28): [True: 677, False: 203]
  ------------------
11276|    203|    PyMem_Free(_children);
11277|    203|    p->level--;
11278|    203|    return _seq;
11279|    203|}
parser_invalid.c:_tmp_158_rule:
11284|     16|{
11285|     16|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     32|#  define MAXSTACK 6000
  ------------------
  |  Branch (11285:9): [True: 0, False: 16]
  |  Branch (11285:35): [True: 0, False: 16]
  ------------------
11286|      0|        _Pypegen_stack_overflow(p);
11287|      0|    }
11288|     16|    if (p->error_indicator) {
  ------------------
  |  Branch (11288:9): [True: 0, False: 16]
  ------------------
11289|      0|        p->level--;
11290|      0|        return NULL;
11291|      0|    }
11292|     16|    void * _res = NULL;
11293|     16|    int _mark = p->mark;
11294|     16|    { // expression ['as' NAME]
11295|     16|        if (p->error_indicator) {
  ------------------
  |  Branch (11295:13): [True: 0, False: 16]
  ------------------
11296|      0|            p->level--;
11297|      0|            return NULL;
11298|      0|        }
11299|     16|        D(fprintf(stderr, "%*c> _tmp_158[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ['as' NAME]"));
11300|     16|        void *_opt_var;
11301|     16|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|     16|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 16]
  |  |  ------------------
  ------------------
11302|     16|        expr_ty expression_var;
11303|     16|        if (
11304|     16|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|     16|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11304:13): [True: 2, False: 14]
  ------------------
11305|      2|            &&
11306|      2|            (_opt_var = _tmp_156_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (11306:13): [True: 1, False: 1]
  ------------------
11307|     16|        )
11308|      1|        {
11309|      1|            D(fprintf(stderr, "%*c+ _tmp_158[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ['as' NAME]"));
11310|      1|            _res = _PyPegen_dummy_name(p, expression_var, _opt_var);
11311|      1|            goto done;
11312|      1|        }
11313|     15|        p->mark = _mark;
11314|     15|        D(fprintf(stderr, "%*c%s _tmp_158[%d-%d]: %s failed!\n", p->level, ' ',
11315|     15|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ['as' NAME]"));
11316|     15|    }
11317|     15|    _res = NULL;
11318|     16|  done:
11319|     16|    p->level--;
11320|     16|    return _res;
11321|     15|}
parser_invalid.c:_tmp_159_rule:
11326|     64|{
11327|     64|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    128|#  define MAXSTACK 6000
  ------------------
  |  Branch (11327:9): [True: 0, False: 64]
  |  Branch (11327:35): [True: 0, False: 64]
  ------------------
11328|      0|        _Pypegen_stack_overflow(p);
11329|      0|    }
11330|     64|    if (p->error_indicator) {
  ------------------
  |  Branch (11330:9): [True: 0, False: 64]
  ------------------
11331|      0|        p->level--;
11332|      0|        return NULL;
11333|      0|    }
11334|     64|    void * _res = NULL;
11335|     64|    int _mark = p->mark;
11336|     64|    { // NEWLINE
11337|     64|        if (p->error_indicator) {
  ------------------
  |  Branch (11337:13): [True: 0, False: 64]
  ------------------
11338|      0|            p->level--;
11339|      0|            return NULL;
11340|      0|        }
11341|     64|        D(fprintf(stderr, "%*c> _tmp_159[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
11342|     64|        Token * newline_var;
11343|     64|        if (
11344|     64|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     64|#define NEWLINE         4
  ------------------
  |  Branch (11344:13): [True: 2, False: 62]
  ------------------
11345|     64|        )
11346|      2|        {
11347|      2|            D(fprintf(stderr, "%*c+ _tmp_159[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
11348|      2|            _res = newline_var;
11349|      2|            goto done;
11350|      2|        }
11351|     62|        p->mark = _mark;
11352|     62|        D(fprintf(stderr, "%*c%s _tmp_159[%d-%d]: %s failed!\n", p->level, ' ',
11353|     62|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
11354|     62|    }
11355|      0|    { // ':'
11356|     62|        if (p->error_indicator) {
  ------------------
  |  Branch (11356:13): [True: 0, False: 62]
  ------------------
11357|      0|            p->level--;
11358|      0|            return NULL;
11359|      0|        }
11360|     62|        D(fprintf(stderr, "%*c> _tmp_159[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
11361|     62|        Token * _literal;
11362|     62|        if (
11363|     62|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (11363:13): [True: 0, False: 62]
  ------------------
11364|     62|        )
11365|      0|        {
11366|      0|            D(fprintf(stderr, "%*c+ _tmp_159[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
11367|      0|            _res = _literal;
11368|      0|            goto done;
11369|      0|        }
11370|     62|        p->mark = _mark;
11371|     62|        D(fprintf(stderr, "%*c%s _tmp_159[%d-%d]: %s failed!\n", p->level, ' ',
11372|     62|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
11373|     62|    }
11374|     62|    _res = NULL;
11375|     64|  done:
11376|     64|    p->level--;
11377|     64|    return _res;
11378|     62|}
parser_invalid.c:_tmp_160_rule:
11383|  1.70k|{
11384|  1.70k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  3.41k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11384:9): [True: 0, False: 1.70k]
  |  Branch (11384:35): [True: 0, False: 1.70k]
  ------------------
11385|      0|        _Pypegen_stack_overflow(p);
11386|      0|    }
11387|  1.70k|    if (p->error_indicator) {
  ------------------
  |  Branch (11387:9): [True: 0, False: 1.70k]
  ------------------
11388|      0|        p->level--;
11389|      0|        return NULL;
11390|      0|    }
11391|  1.70k|    void * _res = NULL;
11392|  1.70k|    int _mark = p->mark;
11393|  1.70k|    { // items_pattern ','
11394|  1.70k|        if (p->error_indicator) {
  ------------------
  |  Branch (11394:13): [True: 0, False: 1.70k]
  ------------------
11395|      0|            p->level--;
11396|      0|            return NULL;
11397|      0|        }
11398|  1.70k|        D(fprintf(stderr, "%*c> _tmp_160[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "items_pattern ','"));
11399|  1.70k|        Token * _literal;
11400|  1.70k|        asdl_seq* items_pattern_var;
11401|  1.70k|        if (
11402|  1.70k|            (items_pattern_var = items_pattern_rule(p))  // items_pattern
  ------------------
  |  |  231|  1.70k|#define items_pattern_rule _PyPegen_items_pattern_rule
  ------------------
  |  Branch (11402:13): [True: 1.41k, False: 291]
  ------------------
11403|  1.41k|            &&
11404|  1.41k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11404:13): [True: 1.05k, False: 359]
  ------------------
11405|  1.70k|        )
11406|  1.05k|        {
11407|  1.05k|            D(fprintf(stderr, "%*c+ _tmp_160[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "items_pattern ','"));
11408|  1.05k|            _res = _PyPegen_dummy_name(p, items_pattern_var, _literal);
11409|  1.05k|            goto done;
11410|  1.05k|        }
11411|    650|        p->mark = _mark;
11412|    650|        D(fprintf(stderr, "%*c%s _tmp_160[%d-%d]: %s failed!\n", p->level, ' ',
11413|    650|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "items_pattern ','"));
11414|    650|    }
11415|    650|    _res = NULL;
11416|  1.70k|  done:
11417|  1.70k|    p->level--;
11418|  1.70k|    return _res;
11419|    650|}
parser_invalid.c:_tmp_162_rule:
11465|  4.41k|{
11466|  4.41k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  8.82k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11466:9): [True: 0, False: 4.41k]
  |  Branch (11466:35): [True: 0, False: 4.41k]
  ------------------
11467|      0|        _Pypegen_stack_overflow(p);
11468|      0|    }
11469|  4.41k|    if (p->error_indicator) {
  ------------------
  |  Branch (11469:9): [True: 0, False: 4.41k]
  ------------------
11470|      0|        p->level--;
11471|      0|        return NULL;
11472|      0|    }
11473|  4.41k|    void * _res = NULL;
11474|  4.41k|    int _mark = p->mark;
11475|  4.41k|    { // '->' expression
11476|  4.41k|        if (p->error_indicator) {
  ------------------
  |  Branch (11476:13): [True: 0, False: 4.41k]
  ------------------
11477|      0|            p->level--;
11478|      0|            return NULL;
11479|      0|        }
11480|  4.41k|        D(fprintf(stderr, "%*c> _tmp_162[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'->' expression"));
11481|  4.41k|        Token * _literal;
11482|  4.41k|        expr_ty expression_var;
11483|  4.41k|        if (
11484|  4.41k|            (_literal = _PyPegen_expect_token(p, 51))  // token='->'
  ------------------
  |  Branch (11484:13): [True: 1.01k, False: 3.39k]
  ------------------
11485|  1.01k|            &&
11486|  1.01k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  |  243|  1.01k|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (11486:13): [True: 1.01k, False: 7]
  ------------------
11487|  4.41k|        )
11488|  1.01k|        {
11489|  1.01k|            D(fprintf(stderr, "%*c+ _tmp_162[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'->' expression"));
11490|  1.01k|            _res = _PyPegen_dummy_name(p, _literal, expression_var);
11491|  1.01k|            goto done;
11492|  1.01k|        }
11493|  3.40k|        p->mark = _mark;
11494|  3.40k|        D(fprintf(stderr, "%*c%s _tmp_162[%d-%d]: %s failed!\n", p->level, ' ',
11495|  3.40k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'->' expression"));
11496|  3.40k|    }
11497|  3.40k|    _res = NULL;
11498|  4.41k|  done:
11499|  4.41k|    p->level--;
11500|  4.41k|    return _res;
11501|  3.40k|}
parser_invalid.c:_tmp_163_rule:
11506|  2.37k|{
11507|  2.37k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.74k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11507:9): [True: 0, False: 2.37k]
  |  Branch (11507:35): [True: 0, False: 2.37k]
  ------------------
11508|      0|        _Pypegen_stack_overflow(p);
11509|      0|    }
11510|  2.37k|    if (p->error_indicator) {
  ------------------
  |  Branch (11510:9): [True: 0, False: 2.37k]
  ------------------
11511|      0|        p->level--;
11512|      0|        return NULL;
11513|      0|    }
11514|  2.37k|    void * _res = NULL;
11515|  2.37k|    int _mark = p->mark;
11516|  2.37k|    { // '(' arguments? ')'
11517|  2.37k|        if (p->error_indicator) {
  ------------------
  |  Branch (11517:13): [True: 0, False: 2.37k]
  ------------------
11518|      0|            p->level--;
11519|      0|            return NULL;
11520|      0|        }
11521|  2.37k|        D(fprintf(stderr, "%*c> _tmp_163[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' arguments? ')'"));
11522|  2.37k|        Token * _literal;
11523|  2.37k|        Token * _literal_1;
11524|  2.37k|        void *_opt_var;
11525|  2.37k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  314|  2.37k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (314:50): [Folded, False: 2.37k]
  |  |  ------------------
  ------------------
11526|  2.37k|        if (
11527|  2.37k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (11527:13): [True: 583, False: 1.78k]
  ------------------
11528|    583|            &&
11529|    583|            (_opt_var = arguments_rule(p), !p->error_indicator)  // arguments?
  ------------------
  |  |  305|    583|#define arguments_rule _PyPegen_arguments_rule
  ------------------
  |  Branch (11529:13): [True: 582, False: 1]
  ------------------
11530|    582|            &&
11531|    582|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (11531:13): [True: 578, False: 4]
  ------------------
11532|  2.37k|        )
11533|    578|        {
11534|    578|            D(fprintf(stderr, "%*c+ _tmp_163[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' arguments? ')'"));
11535|    578|            _res = _PyPegen_dummy_name(p, _literal, _opt_var, _literal_1);
11536|    578|            goto done;
11537|    578|        }
11538|  1.79k|        p->mark = _mark;
11539|  1.79k|        D(fprintf(stderr, "%*c%s _tmp_163[%d-%d]: %s failed!\n", p->level, ' ',
11540|  1.79k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' arguments? ')'"));
11541|  1.79k|    }
11542|  1.79k|    _res = NULL;
11543|  2.37k|  done:
11544|  2.37k|    p->level--;
11545|  2.37k|    return _res;
11546|  1.79k|}
parser_invalid.c:_gather_165_rule:
11618|  31.1k|{
11619|  31.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  62.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11619:9): [True: 0, False: 31.1k]
  |  Branch (11619:35): [True: 0, False: 31.1k]
  ------------------
11620|      0|        _Pypegen_stack_overflow(p);
11621|      0|    }
11622|  31.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (11622:9): [True: 0, False: 31.1k]
  ------------------
11623|      0|        p->level--;
11624|      0|        return NULL;
11625|      0|    }
11626|  31.1k|    asdl_seq * _res = NULL;
11627|  31.1k|    int _mark = p->mark;
11628|  31.1k|    { // double_starred_kvpair _loop0_164
11629|  31.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (11629:13): [True: 0, False: 31.1k]
  ------------------
11630|      0|            p->level--;
11631|      0|            return NULL;
11632|      0|        }
11633|  31.1k|        D(fprintf(stderr, "%*c> _gather_165[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "double_starred_kvpair _loop0_164"));
11634|  31.1k|        KeyValuePair* elem;
11635|  31.1k|        asdl_seq * seq;
11636|  31.1k|        if (
11637|  31.1k|            (elem = double_starred_kvpair_rule(p))  // double_starred_kvpair
  ------------------
  |  |  299|  31.1k|#define double_starred_kvpair_rule _PyPegen_double_starred_kvpair_rule
  ------------------
  |  Branch (11637:13): [True: 2.06k, False: 29.0k]
  ------------------
11638|  2.06k|            &&
11639|  2.06k|            (seq = _loop0_164_rule(p))  // _loop0_164
  ------------------
  |  Branch (11639:13): [True: 2.06k, False: 0]
  ------------------
11640|  31.1k|        )
11641|  2.06k|        {
11642|  2.06k|            D(fprintf(stderr, "%*c+ _gather_165[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "double_starred_kvpair _loop0_164"));
11643|  2.06k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
11644|  2.06k|            goto done;
11645|  2.06k|        }
11646|  29.0k|        p->mark = _mark;
11647|  29.0k|        D(fprintf(stderr, "%*c%s _gather_165[%d-%d]: %s failed!\n", p->level, ' ',
11648|  29.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "double_starred_kvpair _loop0_164"));
11649|  29.0k|    }
11650|  29.0k|    _res = NULL;
11651|  31.1k|  done:
11652|  31.1k|    p->level--;
11653|  31.1k|    return _res;
11654|  29.0k|}
parser_invalid.c:_loop0_164_rule:
11551|  2.06k|{
11552|  2.06k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.12k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11552:9): [True: 0, False: 2.06k]
  |  Branch (11552:35): [True: 0, False: 2.06k]
  ------------------
11553|      0|        _Pypegen_stack_overflow(p);
11554|      0|    }
11555|  2.06k|    if (p->error_indicator) {
  ------------------
  |  Branch (11555:9): [True: 0, False: 2.06k]
  ------------------
11556|      0|        p->level--;
11557|      0|        return NULL;
11558|      0|    }
11559|  2.06k|    void *_res = NULL;
11560|  2.06k|    int _mark = p->mark;
11561|  2.06k|    void **_children = NULL;
11562|  2.06k|    Py_ssize_t _children_capacity = 0;
11563|  2.06k|    Py_ssize_t _n = 0;
11564|  2.06k|    { // ',' double_starred_kvpair
11565|  2.06k|        if (p->error_indicator) {
  ------------------
  |  Branch (11565:13): [True: 0, False: 2.06k]
  ------------------
11566|      0|            p->level--;
11567|      0|            return NULL;
11568|      0|        }
11569|  2.06k|        D(fprintf(stderr, "%*c> _loop0_164[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' double_starred_kvpair"));
11570|  2.06k|        Token * _literal;
11571|  2.06k|        KeyValuePair* elem;
11572|  2.06k|        while (
11573|  5.19k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11573:13): [True: 3.61k, False: 1.58k]
  ------------------
11574|  3.61k|            &&
11575|  3.61k|            (elem = double_starred_kvpair_rule(p))  // double_starred_kvpair
  ------------------
  |  |  299|  3.61k|#define double_starred_kvpair_rule _PyPegen_double_starred_kvpair_rule
  ------------------
  |  Branch (11575:13): [True: 3.13k, False: 477]
  ------------------
11576|  2.06k|        )
11577|  3.13k|        {
11578|  3.13k|            _res = elem;
11579|  3.13k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11579:18): [True: 0, False: 3.13k]
  |  Branch (11579:34): [True: 0, False: 3.13k]
  |  Branch (11579:57): [True: 0, False: 0]
  ------------------
11580|      0|                p->error_indicator = 1;
11581|      0|                PyMem_Free(_children);
11582|      0|                p->level--;
11583|      0|                return NULL;
11584|      0|            }
11585|  3.13k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (11585:17): [True: 2.48k, False: 652]
  ------------------
11586|  2.48k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (11586:21): [True: 0, False: 2.48k]
  ------------------
11587|      0|                    p->error_indicator = 1;
11588|      0|                    PyErr_NoMemory();
11589|      0|                    PyMem_Free(_children);
11590|      0|                    p->level--;
11591|      0|                    return NULL;
11592|      0|                }
11593|  2.48k|            }
11594|  3.13k|            _children[_n++] = _res;
11595|  3.13k|            _mark = p->mark;
11596|  3.13k|        }
11597|  2.06k|        p->mark = _mark;
11598|  2.06k|        D(fprintf(stderr, "%*c%s _loop0_164[%d-%d]: %s failed!\n", p->level, ' ',
11599|  2.06k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' double_starred_kvpair"));
11600|  2.06k|    }
11601|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
11602|  2.06k|    if (!_seq) {
  ------------------
  |  Branch (11602:9): [True: 0, False: 2.06k]
  ------------------
11603|      0|        p->error_indicator = 1;
11604|      0|        PyErr_NoMemory();
11605|      0|        PyMem_Free(_children);
11606|      0|        p->level--;
11607|      0|        return NULL;
11608|      0|    }
11609|  5.19k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  3.13k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  5.19k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (11609:28): [True: 3.13k, False: 2.06k]
  ------------------
11610|  2.06k|    PyMem_Free(_children);
11611|  2.06k|    p->level--;
11612|  2.06k|    return _seq;
11613|  2.06k|}
parser_invalid.c:_tmp_166_rule:
11659|    477|{
11660|    477|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    954|#  define MAXSTACK 6000
  ------------------
  |  Branch (11660:9): [True: 0, False: 477]
  |  Branch (11660:35): [True: 0, False: 477]
  ------------------
11661|      0|        _Pypegen_stack_overflow(p);
11662|      0|    }
11663|    477|    if (p->error_indicator) {
  ------------------
  |  Branch (11663:9): [True: 0, False: 477]
  ------------------
11664|      0|        p->level--;
11665|      0|        return NULL;
11666|      0|    }
11667|    477|    void * _res = NULL;
11668|    477|    int _mark = p->mark;
11669|    477|    if (p->call_invalid_rules) { // invalid_kvpair
  ------------------
  |  Branch (11669:9): [True: 249, False: 228]
  ------------------
11670|    249|        if (p->error_indicator) {
  ------------------
  |  Branch (11670:13): [True: 0, False: 249]
  ------------------
11671|      0|            p->level--;
11672|      0|            return NULL;
11673|      0|        }
11674|    249|        D(fprintf(stderr, "%*c> _tmp_166[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kvpair"));
11675|    249|        void *invalid_kvpair_var;
11676|    249|        if (
11677|    249|            (invalid_kvpair_var = invalid_kvpair_rule(p))  // invalid_kvpair
  ------------------
  |  Branch (11677:13): [True: 0, False: 249]
  ------------------
11678|    249|        )
11679|      0|        {
11680|      0|            D(fprintf(stderr, "%*c+ _tmp_166[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kvpair"));
11681|      0|            _res = invalid_kvpair_var;
11682|      0|            goto done;
11683|      0|        }
11684|    249|        p->mark = _mark;
11685|    249|        D(fprintf(stderr, "%*c%s _tmp_166[%d-%d]: %s failed!\n", p->level, ' ',
11686|    249|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kvpair"));
11687|    249|    }
11688|    477|    if (p->call_invalid_rules) { // invalid_kvpair_unpacking
  ------------------
  |  Branch (11688:9): [True: 249, False: 228]
  ------------------
11689|    249|        if (p->error_indicator) {
  ------------------
  |  Branch (11689:13): [True: 61, False: 188]
  ------------------
11690|     61|            p->level--;
11691|     61|            return NULL;
11692|     61|        }
11693|    188|        D(fprintf(stderr, "%*c> _tmp_166[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kvpair_unpacking"));
11694|    188|        void *invalid_kvpair_unpacking_var;
11695|    188|        if (
11696|    188|            (invalid_kvpair_unpacking_var = invalid_kvpair_unpacking_rule(p))  // invalid_kvpair_unpacking
  ------------------
  |  Branch (11696:13): [True: 0, False: 188]
  ------------------
11697|    188|        )
11698|      0|        {
11699|      0|            D(fprintf(stderr, "%*c+ _tmp_166[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kvpair_unpacking"));
11700|      0|            _res = invalid_kvpair_unpacking_var;
11701|      0|            goto done;
11702|      0|        }
11703|    188|        p->mark = _mark;
11704|    188|        D(fprintf(stderr, "%*c%s _tmp_166[%d-%d]: %s failed!\n", p->level, ' ',
11705|    188|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kvpair_unpacking"));
11706|    188|    }
11707|    416|    _res = NULL;
11708|    416|  done:
11709|    416|    p->level--;
11710|    416|    return _res;
11711|    416|}
parser_invalid.c:invalid_kvpair_rule:
 6639|    249|{
 6640|    249|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    498|#  define MAXSTACK 6000
  ------------------
  |  Branch (6640:9): [True: 0, False: 249]
  |  Branch (6640:35): [True: 0, False: 249]
  ------------------
 6641|      0|        _Pypegen_stack_overflow(p);
 6642|      0|    }
 6643|    249|    if (p->error_indicator) {
  ------------------
  |  Branch (6643:9): [True: 0, False: 249]
  ------------------
 6644|      0|        p->level--;
 6645|      0|        return NULL;
 6646|      0|    }
 6647|    249|    void * _res = NULL;
 6648|    249|    int _mark = p->mark;
 6649|    249|    expr_ty _prefix_15_result = NULL;
 6650|    249|    int _prefix_15_end = 0, _prefix_15_valid = 0;
 6651|    249|    { // expression !(':')
 6652|    249|        if (p->error_indicator) {
  ------------------
  |  Branch (6652:13): [True: 0, False: 249]
  ------------------
 6653|      0|            p->level--;
 6654|      0|            return NULL;
 6655|      0|        }
 6656|    249|        D(fprintf(stderr, "%*c> invalid_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !(':')"));
 6657|    249|        expr_ty a;
 6658|    249|        if (
 6659|    249|            (a = ((!p->call_invalid_rules && _prefix_15_valid) ? (p->mark = _prefix_15_end, _prefix_15_result) : (_prefix_15_result = expression_rule(p), _prefix_15_end = p->mark, _prefix_15_valid = 1, _prefix_15_result)))  // expression
  ------------------
  |  |  243|    249|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6659:13): [True: 118, False: 131]
  |  Branch (6659:20): [True: 0, False: 249]
  |  Branch (6659:46): [True: 0, False: 0]
  ------------------
 6660|    118|            &&
 6661|    118|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 11)  // token=(':')
  ------------------
  |  Branch (6661:13): [True: 6, False: 112]
  ------------------
 6662|    249|        )
 6663|      6|        {
 6664|      6|            D(fprintf(stderr, "%*c+ invalid_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !(':')"));
 6665|      6|            _res = RAISE_ERROR_KNOWN_LOCATION ( p , PyExc_SyntaxError , a -> lineno , a -> end_col_offset - 1 , a -> end_lineno , - 1 , "':' expected after dictionary key" );
 6666|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6666:18): [True: 6, False: 0]
  |  Branch (6666:34): [True: 0, False: 0]
  |  Branch (6666:57): [True: 6, False: 0]
  ------------------
 6667|      6|                p->error_indicator = 1;
 6668|      6|                p->level--;
 6669|      6|                return NULL;
 6670|      6|            }
 6671|      0|            goto done;
 6672|      6|        }
 6673|    243|        p->mark = _mark;
 6674|    243|        D(fprintf(stderr, "%*c%s invalid_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
 6675|    243|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !(':')"));
 6676|    243|    }
 6677|      0|    { // expression ':' '*' bitwise_or
 6678|    243|        if (p->error_indicator) {
  ------------------
  |  Branch (6678:13): [True: 0, False: 243]
  ------------------
 6679|      0|            p->level--;
 6680|      0|            return NULL;
 6681|      0|        }
 6682|    243|        D(fprintf(stderr, "%*c> invalid_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' '*' bitwise_or"));
 6683|    243|        Token * _literal;
 6684|    243|        Token * a;
 6685|    243|        expr_ty bitwise_or_var;
 6686|    243|        expr_ty expression_var;
 6687|    243|        if (
 6688|    243|            (expression_var = ((!p->call_invalid_rules && _prefix_15_valid) ? (p->mark = _prefix_15_end, _prefix_15_result) : (_prefix_15_result = expression_rule(p), _prefix_15_end = p->mark, _prefix_15_valid = 1, _prefix_15_result)))  // expression
  ------------------
  |  |  243|    243|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6688:13): [True: 112, False: 131]
  |  Branch (6688:33): [True: 0, False: 243]
  |  Branch (6688:59): [True: 0, False: 0]
  ------------------
 6689|    112|            &&
 6690|    112|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6690:13): [True: 112, False: 0]
  ------------------
 6691|    112|            &&
 6692|    112|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (6692:13): [True: 53, False: 59]
  ------------------
 6693|     53|            &&
 6694|     53|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|     53|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (6694:13): [True: 0, False: 53]
  ------------------
 6695|    243|        )
 6696|      0|        {
 6697|      0|            D(fprintf(stderr, "%*c+ invalid_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' '*' bitwise_or"));
 6698|      0|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( a , "cannot use a starred expression in a dictionary value" );
  ------------------
  |  |  250|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      0|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      0|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
 6699|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6699:18): [True: 0, False: 0]
  |  Branch (6699:34): [True: 0, False: 0]
  |  Branch (6699:57): [True: 0, False: 0]
  ------------------
 6700|      0|                p->error_indicator = 1;
 6701|      0|                p->level--;
 6702|      0|                return NULL;
 6703|      0|            }
 6704|      0|            goto done;
 6705|      0|        }
 6706|    243|        p->mark = _mark;
 6707|    243|        D(fprintf(stderr, "%*c%s invalid_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
 6708|    243|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' '*' bitwise_or"));
 6709|    243|    }
 6710|      0|    { // expression ':' '**' bitwise_or
 6711|    243|        if (p->error_indicator) {
  ------------------
  |  Branch (6711:13): [True: 46, False: 197]
  ------------------
 6712|     46|            p->level--;
 6713|     46|            return NULL;
 6714|     46|        }
 6715|    197|        D(fprintf(stderr, "%*c> invalid_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' '**' bitwise_or"));
 6716|    197|        Token * _literal;
 6717|    197|        Token * a;
 6718|    197|        expr_ty bitwise_or_var;
 6719|    197|        expr_ty expression_var;
 6720|    197|        if (
 6721|    197|            (expression_var = ((!p->call_invalid_rules && _prefix_15_valid) ? (p->mark = _prefix_15_end, _prefix_15_result) : (_prefix_15_result = expression_rule(p), _prefix_15_end = p->mark, _prefix_15_valid = 1, _prefix_15_result)))  // expression
  ------------------
  |  |  243|    197|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6721:13): [True: 66, False: 131]
  |  Branch (6721:33): [True: 0, False: 197]
  |  Branch (6721:59): [True: 0, False: 0]
  ------------------
 6722|     66|            &&
 6723|     66|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6723:13): [True: 66, False: 0]
  ------------------
 6724|     66|            &&
 6725|     66|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (6725:13): [True: 7, False: 59]
  ------------------
 6726|      7|            &&
 6727|      7|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  |  263|      7|#define bitwise_or_rule _PyPegen_bitwise_or_rule
  ------------------
  |  Branch (6727:13): [True: 1, False: 6]
  ------------------
 6728|    197|        )
 6729|      1|        {
 6730|      1|            D(fprintf(stderr, "%*c+ invalid_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' '**' bitwise_or"));
 6731|      1|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( a , "cannot use dict unpacking in a dictionary value" );
  ------------------
  |  |  250|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   30|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
 6732|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6732:18): [True: 1, False: 0]
  |  Branch (6732:34): [True: 0, False: 0]
  |  Branch (6732:57): [True: 1, False: 0]
  ------------------
 6733|      1|                p->error_indicator = 1;
 6734|      1|                p->level--;
 6735|      1|                return NULL;
 6736|      1|            }
 6737|      0|            goto done;
 6738|      1|        }
 6739|    196|        p->mark = _mark;
 6740|    196|        D(fprintf(stderr, "%*c%s invalid_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
 6741|    196|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' '**' bitwise_or"));
 6742|    196|    }
 6743|      0|    { // expression ':' &('}' | ',')
 6744|    196|        if (p->error_indicator) {
  ------------------
  |  Branch (6744:13): [True: 6, False: 190]
  ------------------
 6745|      6|            p->level--;
 6746|      6|            return NULL;
 6747|      6|        }
 6748|    190|        D(fprintf(stderr, "%*c> invalid_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' &('}' | ',')"));
 6749|    190|        Token * a;
 6750|    190|        expr_ty expression_var;
 6751|    190|        if (
 6752|    190|            (expression_var = ((!p->call_invalid_rules && _prefix_15_valid) ? (p->mark = _prefix_15_end, _prefix_15_result) : (_prefix_15_result = expression_rule(p), _prefix_15_end = p->mark, _prefix_15_valid = 1, _prefix_15_result)))  // expression
  ------------------
  |  |  243|    190|#define expression_rule _PyPegen_expression_rule
  ------------------
  |  Branch (6752:13): [True: 59, False: 131]
  |  Branch (6752:33): [True: 0, False: 190]
  |  Branch (6752:59): [True: 0, False: 0]
  ------------------
 6753|     59|            &&
 6754|     59|            (a = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6754:13): [True: 59, False: 0]
  ------------------
 6755|     59|            &&
 6756|     59|            _PyPegen_lookahead(1, _tmp_167_rule, p)
  ------------------
  |  Branch (6756:13): [True: 2, False: 57]
  ------------------
 6757|    190|        )
 6758|      2|        {
 6759|      2|            D(fprintf(stderr, "%*c+ invalid_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' &('}' | ',')"));
 6760|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expression expected after dictionary key and ':'" );
  ------------------
  |  |  248|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 6761|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6761:18): [True: 2, False: 0]
  |  Branch (6761:34): [True: 0, False: 0]
  |  Branch (6761:57): [True: 2, False: 0]
  ------------------
 6762|      2|                p->error_indicator = 1;
 6763|      2|                p->level--;
 6764|      2|                return NULL;
 6765|      2|            }
 6766|      0|            goto done;
 6767|      2|        }
 6768|    188|        p->mark = _mark;
 6769|    188|        D(fprintf(stderr, "%*c%s invalid_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
 6770|    188|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' &('}' | ',')"));
 6771|    188|    }
 6772|    188|    _res = NULL;
 6773|    188|  done:
 6774|    188|    p->level--;
 6775|    188|    return _res;
 6776|    188|}
parser_invalid.c:_tmp_167_rule:
11716|  2.09k|{
11717|  2.09k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  4.18k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11717:9): [True: 0, False: 2.09k]
  |  Branch (11717:35): [True: 0, False: 2.09k]
  ------------------
11718|      0|        _Pypegen_stack_overflow(p);
11719|      0|    }
11720|  2.09k|    if (p->error_indicator) {
  ------------------
  |  Branch (11720:9): [True: 0, False: 2.09k]
  ------------------
11721|      0|        p->level--;
11722|      0|        return NULL;
11723|      0|    }
11724|  2.09k|    void * _res = NULL;
11725|  2.09k|    int _mark = p->mark;
11726|  2.09k|    { // '}'
11727|  2.09k|        if (p->error_indicator) {
  ------------------
  |  Branch (11727:13): [True: 0, False: 2.09k]
  ------------------
11728|      0|            p->level--;
11729|      0|            return NULL;
11730|      0|        }
11731|  2.09k|        D(fprintf(stderr, "%*c> _tmp_167[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'}'"));
11732|  2.09k|        Token * _literal;
11733|  2.09k|        if (
11734|  2.09k|            (_literal = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (11734:13): [True: 4, False: 2.08k]
  ------------------
11735|  2.09k|        )
11736|      4|        {
11737|      4|            D(fprintf(stderr, "%*c+ _tmp_167[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'}'"));
11738|      4|            _res = _literal;
11739|      4|            goto done;
11740|      4|        }
11741|  2.08k|        p->mark = _mark;
11742|  2.08k|        D(fprintf(stderr, "%*c%s _tmp_167[%d-%d]: %s failed!\n", p->level, ' ',
11743|  2.08k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'}'"));
11744|  2.08k|    }
11745|      0|    { // ','
11746|  2.08k|        if (p->error_indicator) {
  ------------------
  |  Branch (11746:13): [True: 0, False: 2.08k]
  ------------------
11747|      0|            p->level--;
11748|      0|            return NULL;
11749|      0|        }
11750|  2.08k|        D(fprintf(stderr, "%*c> _tmp_167[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
11751|  2.08k|        Token * _literal;
11752|  2.08k|        if (
11753|  2.08k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11753:13): [True: 2, False: 2.08k]
  ------------------
11754|  2.08k|        )
11755|      2|        {
11756|      2|            D(fprintf(stderr, "%*c+ _tmp_167[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
11757|      2|            _res = _literal;
11758|      2|            goto done;
11759|      2|        }
11760|  2.08k|        p->mark = _mark;
11761|  2.08k|        D(fprintf(stderr, "%*c%s _tmp_167[%d-%d]: %s failed!\n", p->level, ' ',
11762|  2.08k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
11763|  2.08k|    }
11764|  2.08k|    _res = NULL;
11765|  2.09k|  done:
11766|  2.09k|    p->level--;
11767|  2.09k|    return _res;
11768|  2.08k|}
parser_invalid.c:_tmp_168_rule:
11773|    140|{
11774|    140|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    280|#  define MAXSTACK 6000
  ------------------
  |  Branch (11774:9): [True: 0, False: 140]
  |  Branch (11774:35): [True: 0, False: 140]
  ------------------
11775|      0|        _Pypegen_stack_overflow(p);
11776|      0|    }
11777|    140|    if (p->error_indicator) {
  ------------------
  |  Branch (11777:9): [True: 0, False: 140]
  ------------------
11778|      0|        p->level--;
11779|      0|        return NULL;
11780|      0|    }
11781|    140|    void * _res = NULL;
11782|    140|    int _mark = p->mark;
11783|    140|    { // '='
11784|    140|        if (p->error_indicator) {
  ------------------
  |  Branch (11784:13): [True: 0, False: 140]
  ------------------
11785|      0|            p->level--;
11786|      0|            return NULL;
11787|      0|        }
11788|    140|        D(fprintf(stderr, "%*c> _tmp_168[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'='"));
11789|    140|        Token * _literal;
11790|    140|        if (
11791|    140|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (11791:13): [True: 21, False: 119]
  ------------------
11792|    140|        )
11793|     21|        {
11794|     21|            D(fprintf(stderr, "%*c+ _tmp_168[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'='"));
11795|     21|            _res = _literal;
11796|     21|            goto done;
11797|     21|        }
11798|    119|        p->mark = _mark;
11799|    119|        D(fprintf(stderr, "%*c%s _tmp_168[%d-%d]: %s failed!\n", p->level, ' ',
11800|    119|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'='"));
11801|    119|    }
11802|      0|    { // '!'
11803|    119|        if (p->error_indicator) {
  ------------------
  |  Branch (11803:13): [True: 0, False: 119]
  ------------------
11804|      0|            p->level--;
11805|      0|            return NULL;
11806|      0|        }
11807|    119|        D(fprintf(stderr, "%*c> _tmp_168[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!'"));
11808|    119|        Token * _literal;
11809|    119|        if (
11810|    119|            (_literal = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (11810:13): [True: 23, False: 96]
  ------------------
11811|    119|        )
11812|     23|        {
11813|     23|            D(fprintf(stderr, "%*c+ _tmp_168[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!'"));
11814|     23|            _res = _literal;
11815|     23|            goto done;
11816|     23|        }
11817|     96|        p->mark = _mark;
11818|     96|        D(fprintf(stderr, "%*c%s _tmp_168[%d-%d]: %s failed!\n", p->level, ' ',
11819|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!'"));
11820|     96|    }
11821|      0|    { // ':'
11822|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (11822:13): [True: 0, False: 96]
  ------------------
11823|      0|            p->level--;
11824|      0|            return NULL;
11825|      0|        }
11826|     96|        D(fprintf(stderr, "%*c> _tmp_168[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
11827|     96|        Token * _literal;
11828|     96|        if (
11829|     96|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (11829:13): [True: 51, False: 45]
  ------------------
11830|     96|        )
11831|     51|        {
11832|     51|            D(fprintf(stderr, "%*c+ _tmp_168[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
11833|     51|            _res = _literal;
11834|     51|            goto done;
11835|     51|        }
11836|     45|        p->mark = _mark;
11837|     45|        D(fprintf(stderr, "%*c%s _tmp_168[%d-%d]: %s failed!\n", p->level, ' ',
11838|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
11839|     45|    }
11840|      0|    { // '}'
11841|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (11841:13): [True: 0, False: 45]
  ------------------
11842|      0|            p->level--;
11843|      0|            return NULL;
11844|      0|        }
11845|     45|        D(fprintf(stderr, "%*c> _tmp_168[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'}'"));
11846|     45|        Token * _literal;
11847|     45|        if (
11848|     45|            (_literal = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (11848:13): [True: 0, False: 45]
  ------------------
11849|     45|        )
11850|      0|        {
11851|      0|            D(fprintf(stderr, "%*c+ _tmp_168[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'}'"));
11852|      0|            _res = _literal;
11853|      0|            goto done;
11854|      0|        }
11855|     45|        p->mark = _mark;
11856|     45|        D(fprintf(stderr, "%*c%s _tmp_168[%d-%d]: %s failed!\n", p->level, ' ',
11857|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'}'"));
11858|     45|    }
11859|     45|    _res = NULL;
11860|    140|  done:
11861|    140|    p->level--;
11862|    140|    return _res;
11863|     45|}
parser_invalid.c:_tmp_169_rule:
11868|     21|{
11869|     21|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|     42|#  define MAXSTACK 6000
  ------------------
  |  Branch (11869:9): [True: 0, False: 21]
  |  Branch (11869:35): [True: 0, False: 21]
  ------------------
11870|      0|        _Pypegen_stack_overflow(p);
11871|      0|    }
11872|     21|    if (p->error_indicator) {
  ------------------
  |  Branch (11872:9): [True: 0, False: 21]
  ------------------
11873|      0|        p->level--;
11874|      0|        return NULL;
11875|      0|    }
11876|     21|    void * _res = NULL;
11877|     21|    int _mark = p->mark;
11878|     21|    { // '!'
11879|     21|        if (p->error_indicator) {
  ------------------
  |  Branch (11879:13): [True: 0, False: 21]
  ------------------
11880|      0|            p->level--;
11881|      0|            return NULL;
11882|      0|        }
11883|     21|        D(fprintf(stderr, "%*c> _tmp_169[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!'"));
11884|     21|        Token * _literal;
11885|     21|        if (
11886|     21|            (_literal = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (11886:13): [True: 3, False: 18]
  ------------------
11887|     21|        )
11888|      3|        {
11889|      3|            D(fprintf(stderr, "%*c+ _tmp_169[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!'"));
11890|      3|            _res = _literal;
11891|      3|            goto done;
11892|      3|        }
11893|     18|        p->mark = _mark;
11894|     18|        D(fprintf(stderr, "%*c%s _tmp_169[%d-%d]: %s failed!\n", p->level, ' ',
11895|     18|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!'"));
11896|     18|    }
11897|      0|    { // ':'
11898|     18|        if (p->error_indicator) {
  ------------------
  |  Branch (11898:13): [True: 0, False: 18]
  ------------------
11899|      0|            p->level--;
11900|      0|            return NULL;
11901|      0|        }
11902|     18|        D(fprintf(stderr, "%*c> _tmp_169[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
11903|     18|        Token * _literal;
11904|     18|        if (
11905|     18|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (11905:13): [True: 4, False: 14]
  ------------------
11906|     18|        )
11907|      4|        {
11908|      4|            D(fprintf(stderr, "%*c+ _tmp_169[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
11909|      4|            _res = _literal;
11910|      4|            goto done;
11911|      4|        }
11912|     14|        p->mark = _mark;
11913|     14|        D(fprintf(stderr, "%*c%s _tmp_169[%d-%d]: %s failed!\n", p->level, ' ',
11914|     14|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
11915|     14|    }
11916|      0|    { // '}'
11917|     14|        if (p->error_indicator) {
  ------------------
  |  Branch (11917:13): [True: 0, False: 14]
  ------------------
11918|      0|            p->level--;
11919|      0|            return NULL;
11920|      0|        }
11921|     14|        D(fprintf(stderr, "%*c> _tmp_169[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'}'"));
11922|     14|        Token * _literal;
11923|     14|        if (
11924|     14|            (_literal = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (11924:13): [True: 0, False: 14]
  ------------------
11925|     14|        )
11926|      0|        {
11927|      0|            D(fprintf(stderr, "%*c+ _tmp_169[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'}'"));
11928|      0|            _res = _literal;
11929|      0|            goto done;
11930|      0|        }
11931|     14|        p->mark = _mark;
11932|     14|        D(fprintf(stderr, "%*c%s _tmp_169[%d-%d]: %s failed!\n", p->level, ' ',
11933|     14|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'}'"));
11934|     14|    }
11935|     14|    _res = NULL;
11936|     21|  done:
11937|     21|    p->level--;
11938|     21|    return _res;
11939|     14|}
parser_invalid.c:_tmp_170_rule:
11944|    120|{
11945|    120|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    240|#  define MAXSTACK 6000
  ------------------
  |  Branch (11945:9): [True: 0, False: 120]
  |  Branch (11945:35): [True: 0, False: 120]
  ------------------
11946|      0|        _Pypegen_stack_overflow(p);
11947|      0|    }
11948|    120|    if (p->error_indicator) {
  ------------------
  |  Branch (11948:9): [True: 0, False: 120]
  ------------------
11949|      0|        p->level--;
11950|      0|        return NULL;
11951|      0|    }
11952|    120|    void * _res = NULL;
11953|    120|    int _mark = p->mark;
11954|    120|    { // '!' NAME
11955|    120|        if (p->error_indicator) {
  ------------------
  |  Branch (11955:13): [True: 0, False: 120]
  ------------------
11956|      0|            p->level--;
11957|      0|            return NULL;
11958|      0|        }
11959|    120|        D(fprintf(stderr, "%*c> _tmp_170[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!' NAME"));
11960|    120|        Token * _literal;
11961|    120|        expr_ty name_var;
11962|    120|        if (
11963|    120|            (_literal = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (11963:13): [True: 10, False: 110]
  ------------------
11964|     10|            &&
11965|     10|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (11965:13): [True: 10, False: 0]
  ------------------
11966|    120|        )
11967|     10|        {
11968|     10|            D(fprintf(stderr, "%*c+ _tmp_170[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!' NAME"));
11969|     10|            _res = _PyPegen_dummy_name(p, _literal, name_var);
11970|     10|            goto done;
11971|     10|        }
11972|    110|        p->mark = _mark;
11973|    110|        D(fprintf(stderr, "%*c%s _tmp_170[%d-%d]: %s failed!\n", p->level, ' ',
11974|    110|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!' NAME"));
11975|    110|    }
11976|    110|    _res = NULL;
11977|    120|  done:
11978|    120|    p->level--;
11979|    120|    return _res;
11980|    110|}
parser_invalid.c:_tmp_171_rule:
11985|     88|{
11986|     88|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    176|#  define MAXSTACK 6000
  ------------------
  |  Branch (11986:9): [True: 0, False: 88]
  |  Branch (11986:35): [True: 0, False: 88]
  ------------------
11987|      0|        _Pypegen_stack_overflow(p);
11988|      0|    }
11989|     88|    if (p->error_indicator) {
  ------------------
  |  Branch (11989:9): [True: 0, False: 88]
  ------------------
11990|      0|        p->level--;
11991|      0|        return NULL;
11992|      0|    }
11993|     88|    void * _res = NULL;
11994|     88|    int _mark = p->mark;
11995|     88|    { // ':'
11996|     88|        if (p->error_indicator) {
  ------------------
  |  Branch (11996:13): [True: 0, False: 88]
  ------------------
11997|      0|            p->level--;
11998|      0|            return NULL;
11999|      0|        }
12000|     88|        D(fprintf(stderr, "%*c> _tmp_171[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
12001|     88|        Token * _literal;
12002|     88|        if (
12003|     88|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (12003:13): [True: 63, False: 25]
  ------------------
12004|     88|        )
12005|     63|        {
12006|     63|            D(fprintf(stderr, "%*c+ _tmp_171[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
12007|     63|            _res = _literal;
12008|     63|            goto done;
12009|     63|        }
12010|     25|        p->mark = _mark;
12011|     25|        D(fprintf(stderr, "%*c%s _tmp_171[%d-%d]: %s failed!\n", p->level, ' ',
12012|     25|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
12013|     25|    }
12014|      0|    { // '}'
12015|     25|        if (p->error_indicator) {
  ------------------
  |  Branch (12015:13): [True: 0, False: 25]
  ------------------
12016|      0|            p->level--;
12017|      0|            return NULL;
12018|      0|        }
12019|     25|        D(fprintf(stderr, "%*c> _tmp_171[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'}'"));
12020|     25|        Token * _literal;
12021|     25|        if (
12022|     25|            (_literal = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (12022:13): [True: 2, False: 23]
  ------------------
12023|     25|        )
12024|      2|        {
12025|      2|            D(fprintf(stderr, "%*c+ _tmp_171[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'}'"));
12026|      2|            _res = _literal;
12027|      2|            goto done;
12028|      2|        }
12029|     23|        p->mark = _mark;
12030|     23|        D(fprintf(stderr, "%*c%s _tmp_171[%d-%d]: %s failed!\n", p->level, ' ',
12031|     23|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'}'"));
12032|     23|    }
12033|     23|    _res = NULL;
12034|     88|  done:
12035|     88|    p->level--;
12036|     88|    return _res;
12037|     23|}
parser_invalid.c:_loop0_172_rule:
12042|     58|{
12043|     58|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|    116|#  define MAXSTACK 6000
  ------------------
  |  Branch (12043:9): [True: 0, False: 58]
  |  Branch (12043:35): [True: 0, False: 58]
  ------------------
12044|      0|        _Pypegen_stack_overflow(p);
12045|      0|    }
12046|     58|    if (p->error_indicator) {
  ------------------
  |  Branch (12046:9): [True: 0, False: 58]
  ------------------
12047|      0|        p->level--;
12048|      0|        return NULL;
12049|      0|    }
12050|     58|    void *_res = NULL;
12051|     58|    int _mark = p->mark;
12052|     58|    void **_children = NULL;
12053|     58|    Py_ssize_t _children_capacity = 0;
12054|     58|    Py_ssize_t _n = 0;
12055|     58|    { // fstring_format_spec
12056|     58|        if (p->error_indicator) {
  ------------------
  |  Branch (12056:13): [True: 0, False: 58]
  ------------------
12057|      0|            p->level--;
12058|      0|            return NULL;
12059|      0|        }
12060|     58|        D(fprintf(stderr, "%*c> _loop0_172[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring_format_spec"));
12061|     58|        expr_ty fstring_format_spec_var;
12062|     58|        while (
12063|    664|            (fstring_format_spec_var = fstring_format_spec_rule(p))  // fstring_format_spec
  ------------------
  |  |  287|    664|#define fstring_format_spec_rule _PyPegen_fstring_format_spec_rule
  ------------------
  |  Branch (12063:13): [True: 606, False: 58]
  ------------------
12064|     58|        )
12065|    606|        {
12066|    606|            _res = fstring_format_spec_var;
12067|    606|            if (_n == _children_capacity) {
  ------------------
  |  Branch (12067:17): [True: 86, False: 520]
  ------------------
12068|     86|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (12068:21): [True: 0, False: 86]
  ------------------
12069|      0|                    p->error_indicator = 1;
12070|      0|                    PyErr_NoMemory();
12071|      0|                    PyMem_Free(_children);
12072|      0|                    p->level--;
12073|      0|                    return NULL;
12074|      0|                }
12075|     86|            }
12076|    606|            _children[_n++] = _res;
12077|    606|            _mark = p->mark;
12078|    606|        }
12079|     58|        p->mark = _mark;
12080|     58|        D(fprintf(stderr, "%*c%s _loop0_172[%d-%d]: %s failed!\n", p->level, ' ',
12081|     58|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring_format_spec"));
12082|     58|    }
12083|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
12084|     58|    if (!_seq) {
  ------------------
  |  Branch (12084:9): [True: 0, False: 58]
  ------------------
12085|      0|        p->error_indicator = 1;
12086|      0|        PyErr_NoMemory();
12087|      0|        PyMem_Free(_children);
12088|      0|        p->level--;
12089|      0|        return NULL;
12090|      0|    }
12091|    664|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    606|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|    664|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (12091:28): [True: 606, False: 58]
  ------------------
12092|     58|    PyMem_Free(_children);
12093|     58|    p->level--;
12094|     58|    return _seq;
12095|     58|}
parser_invalid.c:_loop1_173_rule:
12100|  37.0k|{
12101|  37.0k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  74.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12101:9): [True: 1, False: 37.0k]
  |  Branch (12101:35): [True: 0, False: 37.0k]
  ------------------
12102|      1|        _Pypegen_stack_overflow(p);
12103|      1|    }
12104|  37.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (12104:9): [True: 1, False: 37.0k]
  ------------------
12105|      1|        p->level--;
12106|      1|        return NULL;
12107|      1|    }
12108|  37.0k|    void *_res = NULL;
12109|  37.0k|    int _mark = p->mark;
12110|  37.0k|    void **_children = NULL;
12111|  37.0k|    Py_ssize_t _children_capacity = 0;
12112|  37.0k|    Py_ssize_t _n = 0;
12113|  37.0k|    { // (fstring | string)
12114|  37.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (12114:13): [True: 0, False: 37.0k]
  ------------------
12115|      0|            p->level--;
12116|      0|            return NULL;
12117|      0|        }
12118|  37.0k|        D(fprintf(stderr, "%*c> _loop1_173[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(fstring | string)"));
12119|  37.0k|        void *_tmp_175_var;
12120|  37.0k|        while (
12121|  49.7k|            (_tmp_175_var = _tmp_175_rule(p))  // fstring | string
  ------------------
  |  Branch (12121:13): [True: 12.7k, False: 37.0k]
  ------------------
12122|  37.0k|        )
12123|  12.7k|        {
12124|  12.7k|            _res = _tmp_175_var;
12125|  12.7k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (12125:17): [True: 10.8k, False: 1.91k]
  ------------------
12126|  10.8k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (12126:21): [True: 0, False: 10.8k]
  ------------------
12127|      0|                    p->error_indicator = 1;
12128|      0|                    PyErr_NoMemory();
12129|      0|                    PyMem_Free(_children);
12130|      0|                    p->level--;
12131|      0|                    return NULL;
12132|      0|                }
12133|  10.8k|            }
12134|  12.7k|            _children[_n++] = _res;
12135|  12.7k|            _mark = p->mark;
12136|  12.7k|        }
12137|  37.0k|        p->mark = _mark;
12138|  37.0k|        D(fprintf(stderr, "%*c%s _loop1_173[%d-%d]: %s failed!\n", p->level, ' ',
12139|  37.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(fstring | string)"));
12140|  37.0k|    }
12141|  37.0k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (12141:9): [True: 29.3k, False: 7.71k]
  |  Branch (12141:20): [True: 153, False: 7.56k]
  ------------------
12142|  29.4k|        PyMem_Free(_children);
12143|  29.4k|        p->level--;
12144|  29.4k|        return NULL;
12145|  29.4k|    }
12146|  7.56k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
12147|  7.56k|    if (!_seq) {
  ------------------
  |  Branch (12147:9): [True: 0, False: 7.56k]
  ------------------
12148|      0|        p->error_indicator = 1;
12149|      0|        PyErr_NoMemory();
12150|      0|        PyMem_Free(_children);
12151|      0|        p->level--;
12152|      0|        return NULL;
12153|      0|    }
12154|  19.8k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  12.3k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  19.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (12154:28): [True: 12.3k, False: 7.56k]
  ------------------
12155|  7.56k|    PyMem_Free(_children);
12156|  7.56k|    p->level--;
12157|  7.56k|    return _seq;
12158|  7.56k|}
parser_invalid.c:_loop1_174_rule:
12163|  35.2k|{
12164|  35.2k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|  70.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12164:9): [True: 0, False: 35.2k]
  |  Branch (12164:35): [True: 0, False: 35.2k]
  ------------------
12165|      0|        _Pypegen_stack_overflow(p);
12166|      0|    }
12167|  35.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (12167:9): [True: 0, False: 35.2k]
  ------------------
12168|      0|        p->level--;
12169|      0|        return NULL;
12170|      0|    }
12171|  35.2k|    void *_res = NULL;
12172|  35.2k|    int _mark = p->mark;
12173|  35.2k|    void **_children = NULL;
12174|  35.2k|    Py_ssize_t _children_capacity = 0;
12175|  35.2k|    Py_ssize_t _n = 0;
12176|  35.2k|    { // tstring
12177|  35.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (12177:13): [True: 0, False: 35.2k]
  ------------------
12178|      0|            p->level--;
12179|      0|            return NULL;
12180|      0|        }
12181|  35.2k|        D(fprintf(stderr, "%*c> _loop1_174[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring"));
12182|  35.2k|        expr_ty tstring_var;
12183|  35.2k|        while (
12184|  36.7k|            (tstring_var = tstring_rule(p))  // tstring
  ------------------
  |  |  291|  36.7k|#define tstring_rule _PyPegen_tstring_rule
  ------------------
  |  Branch (12184:13): [True: 1.49k, False: 35.2k]
  ------------------
12185|  35.2k|        )
12186|  1.49k|        {
12187|  1.49k|            _res = tstring_var;
12188|  1.49k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (12188:17): [True: 1.15k, False: 339]
  ------------------
12189|  1.15k|                if (_PyPegen_grow_loop_buffer(&_children, &_children_capacity) < 0) {
  ------------------
  |  Branch (12189:21): [True: 0, False: 1.15k]
  ------------------
12190|      0|                    p->error_indicator = 1;
12191|      0|                    PyErr_NoMemory();
12192|      0|                    PyMem_Free(_children);
12193|      0|                    p->level--;
12194|      0|                    return NULL;
12195|      0|                }
12196|  1.15k|            }
12197|  1.49k|            _children[_n++] = _res;
12198|  1.49k|            _mark = p->mark;
12199|  1.49k|        }
12200|  35.2k|        p->mark = _mark;
12201|  35.2k|        D(fprintf(stderr, "%*c%s _loop1_174[%d-%d]: %s failed!\n", p->level, ' ',
12202|  35.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring"));
12203|  35.2k|    }
12204|  35.2k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (12204:9): [True: 34.2k, False: 956]
  |  Branch (12204:20): [True: 103, False: 853]
  ------------------
12205|  34.3k|        PyMem_Free(_children);
12206|  34.3k|        p->level--;
12207|  34.3k|        return NULL;
12208|  34.3k|    }
12209|    853|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
12210|    853|    if (!_seq) {
  ------------------
  |  Branch (12210:9): [True: 0, False: 853]
  ------------------
12211|      0|        p->error_indicator = 1;
12212|      0|        PyErr_NoMemory();
12213|      0|        PyMem_Free(_children);
12214|      0|        p->level--;
12215|      0|        return NULL;
12216|      0|    }
12217|  2.20k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.35k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  2.20k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (12217:28): [True: 1.35k, False: 853]
  ------------------
12218|    853|    PyMem_Free(_children);
12219|    853|    p->level--;
12220|    853|    return _seq;
12221|    853|}
parser_invalid.c:_tmp_175_rule:
12226|  50.6k|{
12227|  50.6k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   101k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12227:9): [True: 0, False: 50.6k]
  |  Branch (12227:35): [True: 0, False: 50.6k]
  ------------------
12228|      0|        _Pypegen_stack_overflow(p);
12229|      0|    }
12230|  50.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (12230:9): [True: 0, False: 50.6k]
  ------------------
12231|      0|        p->level--;
12232|      0|        return NULL;
12233|      0|    }
12234|  50.6k|    void * _res = NULL;
12235|  50.6k|    int _mark = p->mark;
12236|  50.6k|    { // fstring
12237|  50.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (12237:13): [True: 0, False: 50.6k]
  ------------------
12238|      0|            p->level--;
12239|      0|            return NULL;
12240|      0|        }
12241|  50.6k|        D(fprintf(stderr, "%*c> _tmp_175[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring"));
12242|  50.6k|        expr_ty fstring_var;
12243|  50.6k|        if (
12244|  50.6k|            (fstring_var = fstring_rule(p))  // fstring
  ------------------
  |  |  289|  50.6k|#define fstring_rule _PyPegen_fstring_rule
  ------------------
  |  Branch (12244:13): [True: 3.28k, False: 47.3k]
  ------------------
12245|  50.6k|        )
12246|  3.28k|        {
12247|  3.28k|            D(fprintf(stderr, "%*c+ _tmp_175[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "fstring"));
12248|  3.28k|            _res = fstring_var;
12249|  3.28k|            goto done;
12250|  3.28k|        }
12251|  47.3k|        p->mark = _mark;
12252|  47.3k|        D(fprintf(stderr, "%*c%s _tmp_175[%d-%d]: %s failed!\n", p->level, ' ',
12253|  47.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring"));
12254|  47.3k|    }
12255|      0|    { // string
12256|  47.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (12256:13): [True: 1.72k, False: 45.6k]
  ------------------
12257|  1.72k|            p->level--;
12258|  1.72k|            return NULL;
12259|  1.72k|        }
12260|  45.6k|        D(fprintf(stderr, "%*c> _tmp_175[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "string"));
12261|  45.6k|        expr_ty string_var;
12262|  45.6k|        if (
12263|  45.6k|            (string_var = string_rule(p))  // string
  ------------------
  |  |  293|  45.6k|#define string_rule _PyPegen_string_rule
  ------------------
  |  Branch (12263:13): [True: 9.44k, False: 36.1k]
  ------------------
12264|  45.6k|        )
12265|  9.44k|        {
12266|  9.44k|            D(fprintf(stderr, "%*c+ _tmp_175[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "string"));
12267|  9.44k|            _res = string_var;
12268|  9.44k|            goto done;
12269|  9.44k|        }
12270|  36.1k|        p->mark = _mark;
12271|  36.1k|        D(fprintf(stderr, "%*c%s _tmp_175[%d-%d]: %s failed!\n", p->level, ' ',
12272|  36.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "string"));
12273|  36.1k|    }
12274|  36.1k|    _res = NULL;
12275|  48.8k|  done:
12276|  48.8k|    p->level--;
12277|  48.8k|    return _res;
12278|  36.1k|}
parser_invalid.c:_tmp_176_rule:
12283|   131k|{
12284|   131k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   262k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12284:9): [True: 0, False: 131k]
  |  Branch (12284:35): [True: 0, False: 131k]
  ------------------
12285|      0|        _Pypegen_stack_overflow(p);
12286|      0|    }
12287|   131k|    if (p->error_indicator) {
  ------------------
  |  Branch (12287:9): [True: 0, False: 131k]
  ------------------
12288|      0|        p->level--;
12289|      0|        return NULL;
12290|      0|    }
12291|   131k|    void * _res = NULL;
12292|   131k|    int _mark = p->mark;
12293|   131k|    { // '+'
12294|   131k|        if (p->error_indicator) {
  ------------------
  |  Branch (12294:13): [True: 0, False: 131k]
  ------------------
12295|      0|            p->level--;
12296|      0|            return NULL;
12297|      0|        }
12298|   131k|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+'"));
12299|   131k|        Token * _literal;
12300|   131k|        if (
12301|   131k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (12301:13): [True: 142, False: 130k]
  ------------------
12302|   131k|        )
12303|    142|        {
12304|    142|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+'"));
12305|    142|            _res = _literal;
12306|    142|            goto done;
12307|    142|        }
12308|   130k|        p->mark = _mark;
12309|   130k|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
12310|   130k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+'"));
12311|   130k|    }
12312|      0|    { // '-'
12313|   130k|        if (p->error_indicator) {
  ------------------
  |  Branch (12313:13): [True: 0, False: 130k]
  ------------------
12314|      0|            p->level--;
12315|      0|            return NULL;
12316|      0|        }
12317|   130k|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-'"));
12318|   130k|        Token * _literal;
12319|   130k|        if (
12320|   130k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (12320:13): [True: 580, False: 130k]
  ------------------
12321|   130k|        )
12322|    580|        {
12323|    580|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-'"));
12324|    580|            _res = _literal;
12325|    580|            goto done;
12326|    580|        }
12327|   130k|        p->mark = _mark;
12328|   130k|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
12329|   130k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-'"));
12330|   130k|    }
12331|      0|    { // '*'
12332|   130k|        if (p->error_indicator) {
  ------------------
  |  Branch (12332:13): [True: 0, False: 130k]
  ------------------
12333|      0|            p->level--;
12334|      0|            return NULL;
12335|      0|        }
12336|   130k|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*'"));
12337|   130k|        Token * _literal;
12338|   130k|        if (
12339|   130k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (12339:13): [True: 1.09k, False: 129k]
  ------------------
12340|   130k|        )
12341|  1.09k|        {
12342|  1.09k|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*'"));
12343|  1.09k|            _res = _literal;
12344|  1.09k|            goto done;
12345|  1.09k|        }
12346|   129k|        p->mark = _mark;
12347|   129k|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
12348|   129k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*'"));
12349|   129k|    }
12350|      0|    { // '/'
12351|   129k|        if (p->error_indicator) {
  ------------------
  |  Branch (12351:13): [True: 0, False: 129k]
  ------------------
12352|      0|            p->level--;
12353|      0|            return NULL;
12354|      0|        }
12355|   129k|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'/'"));
12356|   129k|        Token * _literal;
12357|   129k|        if (
12358|   129k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (12358:13): [True: 235, False: 128k]
  ------------------
12359|   129k|        )
12360|    235|        {
12361|    235|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'/'"));
12362|    235|            _res = _literal;
12363|    235|            goto done;
12364|    235|        }
12365|   128k|        p->mark = _mark;
12366|   128k|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
12367|   128k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'/'"));
12368|   128k|    }
12369|      0|    { // '%'
12370|   128k|        if (p->error_indicator) {
  ------------------
  |  Branch (12370:13): [True: 0, False: 128k]
  ------------------
12371|      0|            p->level--;
12372|      0|            return NULL;
12373|      0|        }
12374|   128k|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'%'"));
12375|   128k|        Token * _literal;
12376|   128k|        if (
12377|   128k|            (_literal = _PyPegen_expect_token(p, 24))  // token='%'
  ------------------
  |  Branch (12377:13): [True: 133, False: 128k]
  ------------------
12378|   128k|        )
12379|    133|        {
12380|    133|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'%'"));
12381|    133|            _res = _literal;
12382|    133|            goto done;
12383|    133|        }
12384|   128k|        p->mark = _mark;
12385|   128k|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
12386|   128k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'%'"));
12387|   128k|    }
12388|      0|    { // '//'
12389|   128k|        if (p->error_indicator) {
  ------------------
  |  Branch (12389:13): [True: 0, False: 128k]
  ------------------
12390|      0|            p->level--;
12391|      0|            return NULL;
12392|      0|        }
12393|   128k|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'//'"));
12394|   128k|        Token * _literal;
12395|   128k|        if (
12396|   128k|            (_literal = _PyPegen_expect_token(p, 47))  // token='//'
  ------------------
  |  Branch (12396:13): [True: 64, False: 128k]
  ------------------
12397|   128k|        )
12398|     64|        {
12399|     64|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'//'"));
12400|     64|            _res = _literal;
12401|     64|            goto done;
12402|     64|        }
12403|   128k|        p->mark = _mark;
12404|   128k|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
12405|   128k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'//'"));
12406|   128k|    }
12407|      0|    { // '@'
12408|   128k|        if (p->error_indicator) {
  ------------------
  |  Branch (12408:13): [True: 0, False: 128k]
  ------------------
12409|      0|            p->level--;
12410|      0|            return NULL;
12411|      0|        }
12412|   128k|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@'"));
12413|   128k|        Token * _literal;
12414|   128k|        if (
12415|   128k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (12415:13): [True: 241, False: 128k]
  ------------------
12416|   128k|        )
12417|    241|        {
12418|    241|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@'"));
12419|    241|            _res = _literal;
12420|    241|            goto done;
12421|    241|        }
12422|   128k|        p->mark = _mark;
12423|   128k|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
12424|   128k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@'"));
12425|   128k|    }
12426|   128k|    _res = NULL;
12427|   131k|  done:
12428|   131k|    p->level--;
12429|   131k|    return _res;
12430|   128k|}
parser_invalid.c:_tmp_177_rule:
12435|  91.1k|{
12436|  91.1k|    if (p->level++ == MAXSTACK || _PyPegen_stack_exhausted(p)) {
  ------------------
  |  |   18|   182k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12436:9): [True: 0, False: 91.1k]
  |  Branch (12436:35): [True: 0, False: 91.1k]
  ------------------
12437|      0|        _Pypegen_stack_overflow(p);
12438|      0|    }
12439|  91.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (12439:9): [True: 0, False: 91.1k]
  ------------------
12440|      0|        p->level--;
12441|      0|        return NULL;
12442|      0|    }
12443|  91.1k|    void * _res = NULL;
12444|  91.1k|    int _mark = p->mark;
12445|  91.1k|    { // '+'
12446|  91.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (12446:13): [True: 0, False: 91.1k]
  ------------------
12447|      0|            p->level--;
12448|      0|            return NULL;
12449|      0|        }
12450|  91.1k|        D(fprintf(stderr, "%*c> _tmp_177[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+'"));
12451|  91.1k|        Token * _literal;
12452|  91.1k|        if (
12453|  91.1k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (12453:13): [True: 205, False: 90.9k]
  ------------------
12454|  91.1k|        )
12455|    205|        {
12456|    205|            D(fprintf(stderr, "%*c+ _tmp_177[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+'"));
12457|    205|            _res = _literal;
12458|    205|            goto done;
12459|    205|        }
12460|  90.9k|        p->mark = _mark;
12461|  90.9k|        D(fprintf(stderr, "%*c%s _tmp_177[%d-%d]: %s failed!\n", p->level, ' ',
12462|  90.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+'"));
12463|  90.9k|    }
12464|      0|    { // '-'
12465|  90.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (12465:13): [True: 0, False: 90.9k]
  ------------------
12466|      0|            p->level--;
12467|      0|            return NULL;
12468|      0|        }
12469|  90.9k|        D(fprintf(stderr, "%*c> _tmp_177[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-'"));
12470|  90.9k|        Token * _literal;
12471|  90.9k|        if (
12472|  90.9k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (12472:13): [True: 686, False: 90.2k]
  ------------------
12473|  90.9k|        )
12474|    686|        {
12475|    686|            D(fprintf(stderr, "%*c+ _tmp_177[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-'"));
12476|    686|            _res = _literal;
12477|    686|            goto done;
12478|    686|        }
12479|  90.2k|        p->mark = _mark;
12480|  90.2k|        D(fprintf(stderr, "%*c%s _tmp_177[%d-%d]: %s failed!\n", p->level, ' ',
12481|  90.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-'"));
12482|  90.2k|    }
12483|      0|    { // '~'
12484|  90.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (12484:13): [True: 0, False: 90.2k]
  ------------------
12485|      0|            p->level--;
12486|      0|            return NULL;
12487|      0|        }
12488|  90.2k|        D(fprintf(stderr, "%*c> _tmp_177[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'~'"));
12489|  90.2k|        Token * _literal;
12490|  90.2k|        if (
12491|  90.2k|            (_literal = _PyPegen_expect_token(p, 31))  // token='~'
  ------------------
  |  Branch (12491:13): [True: 18.2k, False: 71.9k]
  ------------------
12492|  90.2k|        )
12493|  18.2k|        {
12494|  18.2k|            D(fprintf(stderr, "%*c+ _tmp_177[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'~'"));
12495|  18.2k|            _res = _literal;
12496|  18.2k|            goto done;
12497|  18.2k|        }
12498|  71.9k|        p->mark = _mark;
12499|  71.9k|        D(fprintf(stderr, "%*c%s _tmp_177[%d-%d]: %s failed!\n", p->level, ' ',
12500|  71.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'~'"));
12501|  71.9k|    }
12502|  71.9k|    _res = NULL;
12503|  91.1k|  done:
12504|  91.1k|    p->level--;
12505|  91.1k|    return _res;
12506|  71.9k|}

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

_PyPegen_interactive_exit:
   30|    190|{
   31|    190|    if (p->errcode) {
  ------------------
  |  Branch (31:9): [True: 0, False: 190]
  ------------------
   32|      0|        *(p->errcode) = E_EOF;
  ------------------
  |  |   23|      0|#define E_EOF            11      /* End Of File */
  ------------------
   33|      0|    }
   34|       |    return NULL;
   35|    190|}
_PyPegen_byte_offset_to_character_offset_raw:
   67|  15.2k|{
   68|  15.2k|    Py_ssize_t len = (Py_ssize_t)strlen(str);
   69|  15.2k|    if (col_offset > len + 1) {
  ------------------
  |  Branch (69:9): [True: 4, False: 15.2k]
  ------------------
   70|      4|        col_offset = len + 1;
   71|      4|    }
   72|  15.2k|    assert(col_offset >= 0);
  ------------------
  |  Branch (72:5): [True: 15.2k, False: 0]
  ------------------
   73|  15.2k|    PyObject *text = PyUnicode_DecodeUTF8(str, col_offset, "replace");
   74|  15.2k|    if (!text) {
  ------------------
  |  Branch (74:9): [True: 0, False: 15.2k]
  ------------------
   75|      0|        return -1;
   76|      0|    }
   77|  15.2k|    Py_ssize_t size = PyUnicode_GET_LENGTH(text);
  ------------------
  |  |  300|  15.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   78|  15.2k|    Py_DECREF(text);
  ------------------
  |  |  430|  15.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   79|  15.2k|    return size;
   80|  15.2k|}
_PyPegen_byte_offset_to_character_offset:
   84|  15.2k|{
   85|  15.2k|    const char *str = PyUnicode_AsUTF8(line);
   86|  15.2k|    if (!str) {
  ------------------
  |  Branch (86:9): [True: 0, False: 15.2k]
  ------------------
   87|      0|        return -1;
   88|      0|    }
   89|  15.2k|    return _PyPegen_byte_offset_to_character_offset_raw(str, col_offset);
   90|  15.2k|}
_PyPegen_insert_memo:
   96|  18.1M|{
   97|       |    // Insert in front
   98|  18.1M|    Memo *m = _PyArena_Malloc(p->arena, sizeof(Memo));
   99|  18.1M|    if (m == NULL) {
  ------------------
  |  Branch (99:9): [True: 0, False: 18.1M]
  ------------------
  100|      0|        return -1;
  101|      0|    }
  102|  18.1M|    m->type = type;
  103|  18.1M|    m->node = node;
  104|  18.1M|    m->mark = p->mark;
  105|  18.1M|    m->next = p->tokens[mark]->memo;
  106|  18.1M|    p->tokens[mark]->memo = m;
  107|  18.1M|    p->tokens[mark]->memo_mask |= 1ULL << (type & 63);
  108|  18.1M|    return 0;
  109|  18.1M|}
_PyPegen_insert_memo_direct:
  115|  7.57M|{
  116|  7.57M|    if (_PyPegen_insert_memo(p, mark, type, NULL) < 0) {
  ------------------
  |  Branch (116:9): [True: 0, False: 7.57M]
  ------------------
  117|      0|        return NULL;
  118|      0|    }
  119|  7.57M|    return p->tokens[mark]->memo;
  120|  7.57M|}
_PyPegen_grow_loop_buffer:
  154|   828k|{
  155|   828k|    if ((size_t)*capacity > (size_t)PY_SSIZE_T_MAX /
  ------------------
  |  |  137|   828k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (155:9): [True: 0, False: 828k]
  ------------------
  156|   828k|            (PEGEN_ARRAY_GROWTH_FACTOR * sizeof(**buffer))) {
  ------------------
  |  |   16|   828k|#define PEGEN_ARRAY_GROWTH_FACTOR 2
  ------------------
  157|      0|        return -1;
  158|      0|    }
  159|   828k|    Py_ssize_t new_capacity = *capacity == 0
  ------------------
  |  Branch (159:31): [True: 517k, False: 311k]
  ------------------
  160|   828k|        ? 1 : *capacity * PEGEN_ARRAY_GROWTH_FACTOR;
  ------------------
  |  |   16|   311k|#define PEGEN_ARRAY_GROWTH_FACTOR 2
  ------------------
  161|   828k|    void **new_buffer = PyMem_Realloc(*buffer, new_capacity * sizeof(**buffer));
  162|   828k|    if (new_buffer == NULL) {
  ------------------
  |  Branch (162:9): [True: 0, False: 828k]
  ------------------
  163|      0|        return -1;
  164|      0|    }
  165|   828k|    *buffer = new_buffer;
  166|   828k|    *capacity = new_capacity;
  167|   828k|    return 0;
  168|   828k|}
_PyPegen_atom_fast_path:
  340|  4.55M|{
  341|  4.55M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (341:9): [True: 25.7k, False: 4.52M]
  |  Branch (341:31): [True: 26, False: 25.7k]
  ------------------
  342|     26|        p->error_indicator = 1;
  343|     26|        *(void **)result = NULL;
  344|     26|        return 1;
  345|     26|    }
  346|  4.55M|    Token *t = p->tokens[p->mark];
  347|  4.55M|    if (t->type != NAME && t->type != NUMBER) {
  ------------------
  |  |   17|  9.10M|#define NAME            1
  ------------------
                  if (t->type != NAME && t->type != NUMBER) {
  ------------------
  |  |   18|  2.98M|#define NUMBER          2
  ------------------
  |  Branch (347:9): [True: 2.98M, False: 1.56M]
  |  Branch (347:28): [True: 2.40M, False: 585k]
  ------------------
  348|  2.40M|        return 0;
  349|  2.40M|    }
  350|  2.15M|    if (p->mark + 1 == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (350:9): [True: 353k, False: 1.79M]
  |  Branch (350:35): [True: 417, False: 353k]
  ------------------
  351|    417|        p->error_indicator = 1;
  352|    417|        *(void **)result = NULL;
  353|    417|        return 1;
  354|    417|    }
  355|  2.15M|    switch (p->tokens[p->mark + 1]->type) {
  356|   488k|        case COMMA:
  ------------------
  |  |   28|   488k|#define COMMA           12
  ------------------
  |  Branch (356:9): [True: 488k, False: 1.66M]
  ------------------
  357|   590k|        case RPAR:
  ------------------
  |  |   24|   590k|#define RPAR            8
  ------------------
  |  Branch (357:9): [True: 102k, False: 2.04M]
  ------------------
  358|   701k|        case RSQB:
  ------------------
  |  |   26|   701k|#define RSQB            10
  ------------------
  |  Branch (358:9): [True: 110k, False: 2.03M]
  ------------------
  359|   721k|        case RBRACE:
  ------------------
  |  |   42|   721k|#define RBRACE          26
  ------------------
  |  Branch (359:9): [True: 20.0k, False: 2.13M]
  ------------------
  360|   887k|        case COLON:
  ------------------
  |  |   27|   887k|#define COLON           11
  ------------------
  |  Branch (360:9): [True: 165k, False: 1.98M]
  ------------------
  361|  1.17M|        case NEWLINE:
  ------------------
  |  |   20|  1.17M|#define NEWLINE         4
  ------------------
  |  Branch (361:9): [True: 283k, False: 1.86M]
  ------------------
  362|  1.31M|        case SEMI:
  ------------------
  |  |   29|  1.31M|#define SEMI            13
  ------------------
  |  Branch (362:9): [True: 141k, False: 2.00M]
  ------------------
  363|  1.36M|        case EQUAL:
  ------------------
  |  |   38|  1.36M|#define EQUAL           22
  ------------------
  |  Branch (363:9): [True: 55.4k, False: 2.09M]
  ------------------
  364|  1.36M|        case ENDMARKER:
  ------------------
  |  |   16|  1.36M|#define ENDMARKER       0
  ------------------
  |  Branch (364:9): [True: 211, False: 2.15M]
  ------------------
  365|  1.36M|            break;
  366|   783k|        default:
  ------------------
  |  Branch (366:9): [True: 783k, False: 1.36M]
  ------------------
  367|   783k|            return 0;
  368|  2.15M|    }
  369|  1.36M|    expr_ty res = (t->type == NAME)
  ------------------
  |  |   17|  1.36M|#define NAME            1
  ------------------
  |  Branch (369:19): [True: 1.08M, False: 281k]
  ------------------
  370|  1.36M|        ? _PyPegen_name_token(p) : _PyPegen_number_token(p);
  371|  1.36M|    *(void **)result = res;
  372|  1.36M|    return 1;
  373|  2.15M|}
_PyPegen_fill_token:
  377|  4.59M|{
  378|  4.59M|    struct token new_token;
  379|  4.59M|    _PyToken_Init(&new_token);
  380|  4.59M|    _PyTokenizer_Get(p->tok, &new_token);
  381|       |
  382|       |    // Record and skip '# type: ignore' comments
  383|  4.59M|    while (new_token.type == TYPE_IGNORE) {
  ------------------
  |  |   72|  4.59M|#define TYPE_IGNORE     56
  ------------------
  |  Branch (383:12): [True: 2.41k, False: 4.59M]
  ------------------
  384|  2.41k|        Py_ssize_t len;
  385|  2.41k|        const char *text = _PyToken_TextView(p->tok, &new_token, &len);
  386|  2.41k|        char *tag = PyMem_Malloc((size_t)len + 1);
  387|  2.41k|        if (tag == NULL) {
  ------------------
  |  Branch (387:13): [True: 0, False: 2.41k]
  ------------------
  388|      0|            PyErr_NoMemory();
  389|      0|            goto error;
  390|      0|        }
  391|  2.41k|        memcpy(tag, text, (size_t)len);
  392|  2.41k|        tag[len] = '\0';
  393|       |        // Ownership of tag passes to the growable array
  394|  2.41k|        if (!growable_comment_array_add(&p->type_ignore_comments, new_token.end_loc.lineno, tag)) {
  ------------------
  |  Branch (394:13): [True: 0, False: 2.41k]
  ------------------
  395|      0|            PyMem_Free(tag);
  396|      0|            PyErr_NoMemory();
  397|      0|            goto error;
  398|      0|        }
  399|  2.41k|        _PyTokenizer_Get(p->tok, &new_token);
  400|  2.41k|    }
  401|       |
  402|  4.59M|    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|  4.59M|    if (type == ENDMARKER ||
  ------------------
  |  |   16|  9.18M|#define ENDMARKER       0
  ------------------
  |  Branch (405:9): [True: 13.3k, False: 4.57M]
  ------------------
  406|  4.57M|        (type == DEDENT && (p->flags & PyPARSE_ALLOW_INCOMPLETE_INPUT) &&
  ------------------
  |  |   22|  9.15M|#define DEDENT          6
  ------------------
                      (type == DEDENT && (p->flags & PyPARSE_ALLOW_INCOMPLETE_INPUT) &&
  ------------------
  |  |   28|  15.3k|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  |  Branch (406:10): [True: 15.3k, False: 4.56M]
  |  Branch (406:28): [True: 10.6k, False: 4.67k]
  ------------------
  407|  14.8k|         _PyTokenizer_GetStatus(p->tok) == E_EOF)) {
  ------------------
  |  |   23|  10.6k|#define E_EOF            11      /* End Of File */
  ------------------
  |  Branch (407:10): [True: 1.46k, False: 9.23k]
  ------------------
  408|  14.8k|        p->input_exhausted = 1;
  409|  14.8k|    }
  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|  4.59M|    if (p->start_rule == Py_single_input && type == ENDMARKER && p->parsing_started) {
  ------------------
  |  |    8|  9.18M|#define Py_single_input 256
  ------------------
                  if (p->start_rule == Py_single_input && type == ENDMARKER && p->parsing_started) {
  ------------------
  |  |   16|  5.12M|#define ENDMARKER       0
  ------------------
  |  Branch (412:9): [True: 531k, False: 4.05M]
  |  Branch (412:45): [True: 1.15k, False: 530k]
  |  Branch (412:66): [True: 992, False: 164]
  ------------------
  413|    992|        type = NEWLINE; /* Add an extra newline */
  ------------------
  |  |   20|    992|#define NEWLINE         4
  ------------------
  414|    992|        p->parsing_started = 0;
  415|       |
  416|    992|        if (!(p->flags & PyPARSE_DONT_IMPLY_DEDENT)) {
  ------------------
  |  |   17|    992|#define PyPARSE_DONT_IMPLY_DEDENT       0x0002
  ------------------
  |  Branch (416:13): [True: 686, False: 306]
  ------------------
  417|    686|            _PyTokenizer_ImplyDedents(p->tok);
  418|    686|        }
  419|    992|    }
  420|  4.58M|    else {
  421|  4.58M|        p->parsing_started = 1;
  422|  4.58M|    }
  423|       |
  424|       |    // Check if we are at the limit of the token array capacity and resize if needed
  425|  4.59M|    if ((p->fill == p->size) && (_resize_tokens_array(p) != 0)) {
  ------------------
  |  Branch (425:9): [True: 122k, False: 4.46M]
  |  Branch (425:33): [True: 0, False: 122k]
  ------------------
  426|      0|        goto error;
  427|      0|    }
  428|       |
  429|  4.59M|    Token *t = p->tokens[p->fill];
  430|  4.59M|    int result = initialize_token(p, t, &new_token, type);
  431|  4.59M|    _PyToken_Free(&new_token);
  432|  4.59M|    return result;
  433|      0|error:
  434|      0|    _PyToken_Free(&new_token);
  435|      0|    return -1;
  436|  4.59M|}
_PyPegen_is_memoized:
  486|  51.5M|{
  487|  51.5M|    if (p->mark == p->fill) {
  ------------------
  |  Branch (487:9): [True: 1.67M, False: 49.9M]
  ------------------
  488|  1.67M|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (488:13): [True: 587, False: 1.67M]
  ------------------
  489|    587|            p->error_indicator = 1;
  490|    587|            return -1;
  491|    587|        }
  492|  1.67M|    }
  493|       |
  494|  51.5M|    Token *t = p->tokens[p->mark];
  495|       |
  496|  51.5M|    if (!(t->memo_mask & (1ULL << (type & 63)))) {
  ------------------
  |  Branch (496:9): [True: 18.2M, False: 33.3M]
  ------------------
  497|  18.2M|        return 0;
  498|  18.2M|    }
  499|       |
  500|  83.8M|    for (Memo *m = t->memo; m != NULL; m = m->next) {
  ------------------
  |  Branch (500:29): [True: 83.7M, False: 112k]
  ------------------
  501|  83.7M|        if (m->type == type) {
  ------------------
  |  Branch (501:13): [True: 33.2M, False: 50.5M]
  ------------------
  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|  33.2M|            p->mark = m->mark;
  515|  33.2M|            *(void **)(pres) = m->node;
  516|  33.2M|            return 1;
  517|  33.2M|        }
  518|  83.7M|    }
  519|   112k|    return 0;
  520|  33.3M|}
_PyPegen_expect_token:
  553|  88.3M|{
  554|  88.3M|    if (p->mark == p->fill) {
  ------------------
  |  Branch (554:9): [True: 1.91M, False: 86.4M]
  ------------------
  555|  1.91M|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (555:13): [True: 1.13k, False: 1.91M]
  ------------------
  556|  1.13k|            p->error_indicator = 1;
  557|  1.13k|            return NULL;
  558|  1.13k|        }
  559|  1.91M|    }
  560|  88.3M|    Token *t = p->tokens[p->mark];
  561|  88.3M|    if (t->type != type) {
  ------------------
  |  Branch (561:9): [True: 73.7M, False: 14.5M]
  ------------------
  562|  73.7M|       return NULL;
  563|  73.7M|    }
  564|  14.5M|    p->mark += 1;
  565|  14.5M|    return t;
  566|  88.3M|}
_PyPegen_expect_forced_token:
  582|  22.2k|_PyPegen_expect_forced_token(Parser *p, int type, const char* expected) {
  583|       |
  584|  22.2k|    if (p->error_indicator == 1) {
  ------------------
  |  Branch (584:9): [True: 0, False: 22.2k]
  ------------------
  585|      0|        return NULL;
  586|      0|    }
  587|       |
  588|  22.2k|    if (p->mark == p->fill) {
  ------------------
  |  Branch (588:9): [True: 10.7k, False: 11.5k]
  ------------------
  589|  10.7k|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (589:13): [True: 2, False: 10.7k]
  ------------------
  590|      2|            p->error_indicator = 1;
  591|      2|            return NULL;
  592|      2|        }
  593|  10.7k|    }
  594|  22.2k|    Token *t = p->tokens[p->mark];
  595|  22.2k|    if (t->type != type) {
  ------------------
  |  Branch (595:9): [True: 88, False: 22.1k]
  ------------------
  596|     88|        RAISE_SYNTAX_ERROR_KNOWN_LOCATION(t, "expected '%s'", expected);
  ------------------
  |  |  248|     88|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  597|     88|        return NULL;
  598|     88|    }
  599|  22.1k|    p->mark += 1;
  600|  22.1k|    return t;
  601|  22.2k|}
_PyPegen_expect_soft_keyword:
  605|   754k|{
  606|   754k|    if (p->mark == p->fill) {
  ------------------
  |  Branch (606:9): [True: 7.79k, False: 747k]
  ------------------
  607|  7.79k|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (607:13): [True: 4, False: 7.78k]
  ------------------
  608|      4|            p->error_indicator = 1;
  609|      4|            return NULL;
  610|      4|        }
  611|  7.79k|    }
  612|   754k|    Token *t = p->tokens[p->mark];
  613|   754k|    if (t->type != NAME) {
  ------------------
  |  |   17|   754k|#define NAME            1
  ------------------
  |  Branch (613:9): [True: 335k, False: 419k]
  ------------------
  614|   335k|        return NULL;
  615|   335k|    }
  616|   419k|    const char *s = PyBytes_AsString(t->bytes);
  617|   419k|    if (!s) {
  ------------------
  |  Branch (617:9): [True: 0, False: 419k]
  ------------------
  618|      0|        p->error_indicator = 1;
  619|      0|        return NULL;
  620|      0|    }
  621|   419k|    if (strcmp(s, keyword) != 0) {
  ------------------
  |  Branch (621:9): [True: 387k, False: 32.0k]
  ------------------
  622|   387k|        return NULL;
  623|   387k|    }
  624|  32.0k|    return _PyPegen_name_token(p);
  625|   419k|}
_PyPegen_get_last_nonnwhitespace_token:
  629|  2.96M|{
  630|  2.96M|    assert(p->mark >= 0);
  ------------------
  |  Branch (630:5): [True: 2.96M, False: 0]
  ------------------
  631|  2.96M|    Token *token = NULL;
  632|  3.04M|    for (int m = p->mark - 1; m >= 0; m--) {
  ------------------
  |  Branch (632:31): [True: 3.04M, False: 0]
  ------------------
  633|  3.04M|        token = p->tokens[m];
  634|  3.04M|        if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   16|  6.08M|#define ENDMARKER       0
  ------------------
                      if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   20|  6.08M|#define NEWLINE         4
  ------------------
                      if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   22|   566k|#define DEDENT          6
  ------------------
  |  Branch (634:13): [True: 3.04M, False: 0]
  |  Branch (634:42): [True: 2.47M, False: 566k]
  |  Branch (634:67): [True: 491k, False: 74.6k]
  ------------------
  635|  2.96M|            break;
  636|  2.96M|        }
  637|  3.04M|    }
  638|  2.96M|    return token;
  639|  2.96M|}
_PyPegen_new_identifier:
  643|   129k|{
  644|   129k|    PyObject *id = PyUnicode_DecodeUTF8(n, (Py_ssize_t)strlen(n), NULL);
  645|   129k|    if (!id) {
  ------------------
  |  Branch (645:9): [True: 0, False: 129k]
  ------------------
  646|      0|        goto error;
  647|      0|    }
  648|       |    /* Check whether there are non-ASCII characters in the
  649|       |       identifier; if so, normalize to NFKC. */
  650|   129k|    if (!PyUnicode_IS_ASCII(id))
  ------------------
  |  |  228|   129k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   129k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (650:9): [True: 11.5k, False: 117k]
  ------------------
  651|  11.5k|    {
  652|  11.5k|        if (!init_normalization(p))
  ------------------
  |  Branch (652:13): [True: 0, False: 11.5k]
  ------------------
  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|  11.5k|        PyObject *form = PyUnicode_InternFromString("NFKC");
  658|  11.5k|        if (form == NULL)
  ------------------
  |  Branch (658:13): [True: 0, False: 11.5k]
  ------------------
  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|  11.5k|        PyObject *args[2] = {form, id};
  664|  11.5k|        PyObject *id2 = PyObject_Vectorcall(p->normalize, args, 2, NULL);
  665|  11.5k|        Py_DECREF(id);
  ------------------
  |  |  430|  11.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  666|  11.5k|        Py_DECREF(form);
  ------------------
  |  |  430|  11.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|  11.5k|        if (!id2) {
  ------------------
  |  Branch (667:13): [True: 0, False: 11.5k]
  ------------------
  668|      0|            goto error;
  669|      0|        }
  670|       |
  671|  11.5k|        if (!PyUnicode_Check(id2))
  ------------------
  |  |  103|  11.5k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  11.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (671:13): [True: 0, False: 11.5k]
  ------------------
  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|  11.5k|        id = id2;
  681|  11.5k|    }
  682|   129k|    static const char * const forbidden[] = {
  683|   129k|        "None",
  684|   129k|        "True",
  685|   129k|        "False",
  686|   129k|        NULL
  687|   129k|    };
  688|   517k|    for (int i = 0; forbidden[i] != NULL; i++) {
  ------------------
  |  Branch (688:21): [True: 388k, False: 129k]
  ------------------
  689|   388k|        if (_PyUnicode_EqualToASCIIString(id, forbidden[i])) {
  ------------------
  |  Branch (689:13): [True: 1, False: 388k]
  ------------------
  690|      1|            PyErr_Format(PyExc_ValueError,
  691|      1|                         "identifier field can't represent '%s' constant",
  692|      1|                         forbidden[i]);
  693|      1|            Py_DECREF(id);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  694|      1|            goto error;
  695|      1|        }
  696|   388k|    }
  697|   129k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  698|   129k|    _PyUnicode_InternImmortal(interp, &id);
  699|   129k|    if (_PyArena_AddPyObject(p->arena, id) < 0)
  ------------------
  |  Branch (699:9): [True: 0, False: 129k]
  ------------------
  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|   129k|    return id;
  705|       |
  706|      1|error:
  707|      1|    p->error_indicator = 1;
  708|       |    return NULL;
  709|   129k|}
_PyPegen_name_token:
  800|  9.03M|{
  801|  9.03M|    Token *t = _PyPegen_expect_token(p, NAME);
  ------------------
  |  |   17|  9.03M|#define NAME            1
  ------------------
  802|  9.03M|    return _PyPegen_name_from_token(p, t);
  803|  9.03M|}
_PyPegen_string_token:
  807|  2.95M|{
  808|  2.95M|    return _PyPegen_expect_token(p, STRING);
  ------------------
  |  |   19|  2.95M|#define STRING          3
  ------------------
  809|  2.95M|}
_PyPegen_soft_keyword_token:
  811|   283k|expr_ty _PyPegen_soft_keyword_token(Parser *p) {
  812|   283k|    Token *t = _PyPegen_expect_token(p, NAME);
  ------------------
  |  |   17|   283k|#define NAME            1
  ------------------
  813|   283k|    if (t == NULL) {
  ------------------
  |  Branch (813:9): [True: 183k, False: 100k]
  ------------------
  814|   183k|        return NULL;
  815|   183k|    }
  816|   100k|    char *the_token;
  817|   100k|    Py_ssize_t size;
  818|   100k|    PyBytes_AsStringAndSize(t->bytes, &the_token, &size);
  819|   567k|    for (char **keyword = p->soft_keywords; *keyword != NULL; keyword++) {
  ------------------
  |  Branch (819:45): [True: 474k, False: 92.6k]
  ------------------
  820|   474k|        if (strlen(*keyword) == (size_t)size &&
  ------------------
  |  Branch (820:13): [True: 78.2k, False: 396k]
  ------------------
  821|  78.2k|            strncmp(*keyword, the_token, (size_t)size) == 0) {
  ------------------
  |  Branch (821:13): [True: 7.48k, False: 70.7k]
  ------------------
  822|  7.48k|            return _PyPegen_name_from_token(p, t);
  823|  7.48k|        }
  824|   474k|    }
  825|  92.6k|    return NULL;
  826|   100k|}
_PyPegen_number_token:
  903|  2.67M|{
  904|  2.67M|    int mark = p->mark;
  905|  2.67M|    Token *t = _PyPegen_expect_token(p, NUMBER);
  ------------------
  |  |   18|  2.67M|#define NUMBER          2
  ------------------
  906|  2.67M|    if (t == NULL) {
  ------------------
  |  Branch (906:9): [True: 842k, False: 1.83M]
  ------------------
  907|   842k|        return NULL;
  908|   842k|    }
  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|  1.83M|    p->mark = mark;
  913|  1.83M|    expr_ty cached = NULL;
  914|  1.83M|    if (_PyPegen_is_memoized(p, NUMBER, &cached)) {
  ------------------
  |  |   18|  1.83M|#define NUMBER          2
  ------------------
  |  Branch (914:9): [True: 960k, False: 871k]
  ------------------
  915|   960k|        return cached;
  916|   960k|    }
  917|   871k|    p->mark = mark + 1;
  918|       |
  919|   871k|    const char *num_raw = PyBytes_AsString(t->bytes);
  920|   871k|    if (num_raw == NULL) {
  ------------------
  |  Branch (920:9): [True: 0, False: 871k]
  ------------------
  921|      0|        p->error_indicator = 1;
  922|      0|        return NULL;
  923|      0|    }
  924|       |
  925|   871k|    if (p->feature_version < 6 && strchr(num_raw, '_') != NULL) {
  ------------------
  |  Branch (925:9): [True: 0, False: 871k]
  |  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|   871k|    PyObject *c = parsenumber(num_raw);
  932|       |
  933|   871k|    if (c == NULL) {
  ------------------
  |  Branch (933:9): [True: 2, False: 871k]
  ------------------
  934|      2|        p->error_indicator = 1;
  935|      2|        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|      2|        if (tstate->current_exception != NULL &&
  ------------------
  |  Branch (938:13): [True: 2, False: 0]
  ------------------
  939|      2|            Py_TYPE(tstate->current_exception) == (PyTypeObject *)PyExc_ValueError
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (939:13): [True: 2, False: 0]
  ------------------
  940|      2|        ) {
  941|      2|            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|      2|            RAISE_ERROR_KNOWN_LOCATION(
  946|      2|                p, PyExc_SyntaxError,
  947|      2|                t->lineno, -1 /* col_offset */,
  948|      2|                t->end_lineno, -1 /* end_col_offset */,
  949|      2|                "%S - Consider hexadecimal for huge integer literals "
  950|      2|                "to avoid decimal conversion limits.",
  951|      2|                exc);
  952|      2|            Py_DECREF(exc);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  953|      2|        }
  954|      2|        return NULL;
  955|      2|    }
  956|       |
  957|   871k|    if (_PyArena_AddPyObject(p->arena, c) < 0) {
  ------------------
  |  Branch (957:9): [True: 0, False: 871k]
  ------------------
  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|   871k|    expr_ty result = _PyAST_Constant(c, NULL, t->lineno, t->col_offset,
  964|   871k|                                    t->end_lineno, t->end_col_offset, p->arena);
  965|   871k|    if (result != NULL && _PyPegen_insert_memo(p, mark, NUMBER, result) < 0) {
  ------------------
  |  |   18|   871k|#define NUMBER          2
  ------------------
  |  Branch (965:9): [True: 871k, False: 0]
  |  Branch (965:27): [True: 0, False: 871k]
  ------------------
  966|      0|        p->error_indicator = 1;
  967|      0|        return NULL;
  968|      0|    }
  969|   871k|    return result;
  970|   871k|}
_PyPegen_Parser_New:
 1004|  24.7k|{
 1005|  24.7k|    Parser *p = PyMem_Malloc(sizeof(Parser));
 1006|  24.7k|    if (p == NULL) {
  ------------------
  |  Branch (1006:9): [True: 0, False: 24.7k]
  ------------------
 1007|      0|        return (Parser *) PyErr_NoMemory();
 1008|      0|    }
 1009|  24.7k|    assert(tok != NULL);
  ------------------
  |  Branch (1009:5): [True: 24.7k, False: 0]
  ------------------
 1010|  24.7k|    _PyTokenizer_SetOptions(tok, 0, (flags & PyPARSE_TYPE_COMMENTS) > 0);
  ------------------
  |  |   27|  24.7k|#define PyPARSE_TYPE_COMMENTS 0x0040
  ------------------
 1011|  24.7k|    _PyTokenizer_AllowIncompleteInput(tok, flags & PyPARSE_ALLOW_INCOMPLETE_INPUT);
  ------------------
  |  |   28|  24.7k|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
 1012|  24.7k|    p->tok = tok;
 1013|  24.7k|    p->keywords = NULL;
 1014|  24.7k|    p->n_keyword_lists = -1;
 1015|  24.7k|    p->soft_keywords = NULL;
 1016|  24.7k|    p->tokens = PyMem_Malloc(sizeof(Token *));
 1017|  24.7k|    if (!p->tokens) {
  ------------------
  |  Branch (1017:9): [True: 0, False: 24.7k]
  ------------------
 1018|      0|        PyMem_Free(p);
 1019|      0|        return (Parser *) PyErr_NoMemory();
 1020|      0|    }
 1021|  24.7k|    p->tokens[0] = PyMem_Calloc(1, sizeof(Token));
 1022|  24.7k|    if (!p->tokens[0]) {
  ------------------
  |  Branch (1022:9): [True: 0, False: 24.7k]
  ------------------
 1023|      0|        PyMem_Free(p->tokens);
 1024|      0|        PyMem_Free(p);
 1025|      0|        return (Parser *) PyErr_NoMemory();
 1026|      0|    }
 1027|  24.7k|    p->type_ignore_comments = (growable_comment_array){0};
 1028|       |
 1029|  24.7k|    p->mark = 0;
 1030|  24.7k|    p->fill = 0;
 1031|  24.7k|    p->size = 1;
 1032|       |
 1033|  24.7k|    p->errcode = errcode;
 1034|  24.7k|    p->arena = arena;
 1035|  24.7k|    p->start_rule = start_rule;
 1036|  24.7k|    p->parsing_started = 0;
 1037|  24.7k|    p->normalize = NULL;
 1038|  24.7k|    p->error_indicator = 0;
 1039|       |
 1040|  24.7k|    p->starting_lineno = 0;
 1041|  24.7k|    p->starting_col_offset = 0;
 1042|  24.7k|    p->flags = flags;
 1043|  24.7k|    p->feature_version = feature_version;
 1044|  24.7k|    p->known_err_token = NULL;
 1045|  24.7k|    p->identifier_cache = NULL;
 1046|  24.7k|    p->tstate = PyThreadState_Get();
 1047|       |    // Stack limits are initialized when the thread state is attached.
 1048|  24.7k|    assert(((_PyThreadStateImpl *)p->tstate)->c_stack_hard_limit != 0);
  ------------------
  |  Branch (1048:5): [True: 24.7k, False: 0]
  ------------------
 1049|  24.7k|    p->stack_soft_limit = ((_PyThreadStateImpl *)p->tstate)->c_stack_soft_limit;
 1050|  24.7k|#if _Py_STACK_GROWS_DOWN
 1051|  24.7k|    p->stack_soft_limit += _PyOS_STACK_MARGIN_BYTES;
  ------------------
  |  |   57|  24.7k|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|  24.7k|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|  24.7k|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1052|       |#else
 1053|       |    p->stack_soft_limit -= _PyOS_STACK_MARGIN_BYTES;
 1054|       |#endif
 1055|  24.7k|    p->level = 0;
 1056|  24.7k|    p->call_invalid_rules = 0;
 1057|  24.7k|    p->input_exhausted = 0;
 1058|  24.7k|    p->last_stmt_location.lineno = 0;
 1059|  24.7k|    p->last_stmt_location.col_offset = 0;
 1060|  24.7k|    p->last_stmt_location.end_lineno = 0;
 1061|  24.7k|    p->last_stmt_location.end_col_offset = 0;
 1062|       |#ifdef Py_DEBUG
 1063|       |    p->debug = _Py_GetConfig()->parser_debug;
 1064|       |#endif
 1065|  24.7k|    return p;
 1066|  24.7k|}
_PyPegen_Parser_Free:
 1070|  24.7k|{
 1071|  24.7k|    PyMem_Free(p->identifier_cache);
 1072|  24.7k|    Py_XDECREF(p->normalize);
  ------------------
  |  |  621|  24.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|       |    // Resizes allocate blocks starting at indices 1, 2, 4, and so on.
 1074|  24.7k|    PyMem_Free(p->tokens[0]);
 1075|   147k|    for (int i = 1; i < p->size; i *= PEGEN_ARRAY_GROWTH_FACTOR) {
  ------------------
  |  |   16|   122k|#define PEGEN_ARRAY_GROWTH_FACTOR 2
  ------------------
  |  Branch (1075:21): [True: 122k, False: 24.7k]
  ------------------
 1076|   122k|        PyMem_Free(p->tokens[i]);
 1077|   122k|    }
 1078|  24.7k|    PyMem_Free(p->tokens);
 1079|  24.7k|    growable_comment_array_deallocate(&p->type_ignore_comments);
 1080|  24.7k|    PyMem_Free(p);
 1081|  24.7k|}
_PyPegen_run_parser:
 1143|  24.7k|{
 1144|  24.7k|    void *res = _PyPegen_parse(p);
 1145|  24.7k|    assert(p->level == 0);
  ------------------
  |  Branch (1145:5): [True: 24.7k, False: 0]
  ------------------
 1146|  24.7k|    if (res != NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (1146:9): [True: 14.6k, False: 10.0k]
  |  Branch (1146:24): [True: 0, False: 14.6k]
  ------------------
 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|  24.7k|    if (res == NULL) {
  ------------------
  |  Branch (1151:9): [True: 10.0k, False: 14.6k]
  ------------------
 1152|  10.0k|        if (PyErr_Occurred() &&
  ------------------
  |  Branch (1152:13): [True: 2.23k, False: 7.79k]
  ------------------
 1153|  2.23k|            (PyErr_ExceptionMatches(PyExc_IncompleteInputError) ||
  ------------------
  |  |  204|  2.23k|#define PyExc_IncompleteInputError ((PyObject *)(&_PyExc_IncompleteInputError))
  ------------------
  |  Branch (1153:14): [True: 425, False: 1.81k]
  ------------------
 1154|  1.81k|             !PyErr_ExceptionMatches(PyExc_SyntaxError))) {
  ------------------
  |  Branch (1154:14): [True: 23, False: 1.78k]
  ------------------
 1155|    448|            return NULL;
 1156|    448|        }
 1157|  9.58k|        if ((p->flags & PyPARSE_ALLOW_INCOMPLETE_INPUT) &&
  ------------------
  |  |   28|  9.58k|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  |  Branch (1157:13): [True: 6.66k, False: 2.92k]
  ------------------
 1158|  6.66k|            p->input_exhausted && !PyErr_Occurred()) {
  ------------------
  |  Branch (1158:13): [True: 146, False: 6.51k]
  |  Branch (1158:35): [True: 146, False: 0]
  ------------------
 1159|    146|            return _PyPegen_raise_incomplete_input(p);
 1160|    146|        }
 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|  9.43k|        Token *last_token = p->tokens[p->fill - 1];
 1165|  9.43k|        reset_parser_state_for_error_pass(p);
 1166|  9.43k|        _PyPegen_parse(p);
 1167|       |
 1168|       |        // Set SyntaxErrors accordingly depending on the parser/tokenizer status at the failure
 1169|       |        // point.
 1170|  9.43k|        _Pypegen_set_syntax_error(p, last_token);
 1171|       |
 1172|       |        // Set the metadata in the exception from p->last_stmt_location
 1173|  9.43k|        if (PyErr_ExceptionMatches(PyExc_SyntaxError)) {
  ------------------
  |  Branch (1173:13): [True: 9.22k, False: 216]
  ------------------
 1174|  9.22k|            _PyPegen_set_syntax_error_metadata(p);
 1175|  9.22k|        }
 1176|  9.43k|       return NULL;
 1177|  9.58k|    }
 1178|       |
 1179|  14.6k|    if (p->start_rule == Py_single_input && _PyTokenizer_HasTrailingStatement(p->tok)) {
  ------------------
  |  |    8|  29.3k|#define Py_single_input 256
  ------------------
  |  Branch (1179:9): [True: 2.76k, False: 11.9k]
  |  Branch (1179:45): [True: 10, False: 2.75k]
  ------------------
 1180|     10|        return RAISE_SYNTAX_ERROR("multiple statements found while compiling a single statement");
  ------------------
  |  |  242|     10|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 1181|     10|    }
 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|  14.6k|    return res;
 1195|  14.6k|}
_PyPegen_run_parser_from_string:
 1255|  26.3k|{
 1256|  26.3k|    _PyTokenizer_Newline newline_mode = start_rule == Py_file_input
  ------------------
  |  |    9|  26.3k|#define Py_file_input 257
  ------------------
  |  Branch (1256:41): [True: 16.2k, False: 10.1k]
  ------------------
 1257|  26.3k|        ? _PyTokenizer_IMPLY_NEWLINE : _PyTokenizer_KEEP_NEWLINE;
 1258|  26.3k|    int parser_flags = compute_parser_flags(flags);
 1259|  26.3k|    if (parser_flags & PyPARSE_ALLOW_INCOMPLETE_INPUT) {
  ------------------
  |  |   28|  26.3k|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  |  Branch (1259:9): [True: 18.6k, False: 7.72k]
  ------------------
 1260|  18.6k|        newline_mode = _PyTokenizer_APPEND_NEWLINE;
 1261|  18.6k|    }
 1262|       |
 1263|  26.3k|    struct tok_state *tok;
 1264|  26.3k|    if (flags != NULL && flags->cf_flags & PyCF_IGNORE_COOKIE) {
  ------------------
  |  |   18|  26.3k|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
  |  Branch (1264:9): [True: 26.3k, False: 0]
  |  Branch (1264:26): [True: 11.6k, False: 14.6k]
  ------------------
 1265|  11.6k|        tok = _PyTokenizer_FromUTF8(str, newline_mode, 0);
 1266|  14.6k|    } else {
 1267|  14.6k|        tok = _PyTokenizer_FromString(str, newline_mode, 0);
 1268|  14.6k|    }
 1269|  26.3k|    if (tok == NULL) {
  ------------------
  |  Branch (1269:9): [True: 1.65k, False: 24.7k]
  ------------------
 1270|  1.65k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1270:13): [True: 1.65k, False: 0]
  ------------------
 1271|  1.65k|            _PyTokenizer_raise_init_error(filename_ob);
 1272|  1.65k|        }
 1273|      0|        else {
 1274|       |            // The only silent tokenizer init failure is a failed allocation.
 1275|      0|            PyErr_NoMemory();
 1276|      0|        }
 1277|  1.65k|        return NULL;
 1278|  1.65k|    }
 1279|  24.7k|    tok->barry_as_bdfl = parser_flags & PyPARSE_BARRY_AS_BDFL;
  ------------------
  |  |   26|  24.7k|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
 1280|       |
 1281|  24.7k|    _PyTokenizer_SetContext(tok, filename_ob, module);
 1282|       |
 1283|       |    // We need to clear up from here on
 1284|  24.7k|    mod_ty result = NULL;
 1285|       |
 1286|  24.7k|    int feature_version = flags && (flags->cf_flags & PyCF_ONLY_AST) ?
  ------------------
  |  |   17|  24.7k|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (1286:27): [True: 24.7k, False: 0]
  |  Branch (1286:36): [True: 7.60k, False: 17.1k]
  ------------------
 1287|  17.1k|        flags->cf_feature_version : PY_MINOR_VERSION;
  ------------------
  |  |   24|  17.1k|#define PY_MINOR_VERSION        16
  ------------------
 1288|  24.7k|    Parser *p = _PyPegen_Parser_New(tok, start_rule, parser_flags, feature_version,
 1289|  24.7k|                                    NULL, str, arena);
 1290|  24.7k|    if (p == NULL) {
  ------------------
  |  Branch (1290:9): [True: 0, False: 24.7k]
  ------------------
 1291|      0|        goto error;
 1292|      0|    }
 1293|       |
 1294|  24.7k|    result = _PyPegen_run_parser(p);
 1295|  24.7k|    if (result != NULL && (parser_flags & PyPARSE_ALLOW_INCOMPLETE_INPUT)) {
  ------------------
  |  |   28|  14.6k|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  |  Branch (1295:9): [True: 14.6k, False: 10.0k]
  |  Branch (1295:27): [True: 10.1k, False: 4.55k]
  ------------------
 1296|  10.1k|        int needs_newline = _PyTokenizer_GetNewlineRequirements(tok);
 1297|  10.1k|        if ((needs_newline & _PyTokenizer_NEWLINE_CONTINUATION) ||
  ------------------
  |  Branch (1297:13): [True: 5, False: 10.1k]
  ------------------
 1298|  10.1k|            (start_rule != Py_file_input &&
  ------------------
  |  |    9|  20.2k|#define Py_file_input 257
  ------------------
  |  Branch (1298:14): [True: 3.85k, False: 6.26k]
  ------------------
 1299|  3.85k|             (needs_newline & _PyTokenizer_NEWLINE_INDENT)) ||
  ------------------
  |  Branch (1299:14): [True: 4, False: 3.85k]
  ------------------
 1300|  10.1k|            (start_rule == Py_single_input && p->input_exhausted &&
  ------------------
  |  |    8|  20.2k|#define Py_single_input 256
  ------------------
  |  Branch (1300:14): [True: 2.17k, False: 7.94k]
  |  Branch (1300:47): [True: 213, False: 1.96k]
  ------------------
 1301|    219|             (needs_newline & _PyTokenizer_NEWLINE_STATEMENT))) {
  ------------------
  |  Branch (1301:14): [True: 210, False: 3]
  ------------------
 1302|    219|            _PyPegen_raise_incomplete_input(p);
 1303|    219|            if (incomplete != NULL && PyErr_ExceptionMatches(PyExc_IncompleteInputError)) {
  ------------------
  |  |  204|    219|#define PyExc_IncompleteInputError ((PyObject *)(&_PyExc_IncompleteInputError))
  ------------------
  |  Branch (1303:17): [True: 219, False: 0]
  |  Branch (1303:39): [True: 219, False: 0]
  ------------------
 1304|    219|                *incomplete = PyErr_GetRaisedException();
 1305|    219|            }
 1306|      0|            else {
 1307|      0|                result = NULL;
 1308|      0|            }
 1309|    219|        }
 1310|  10.1k|    }
 1311|  24.7k|    _PyPegen_Parser_Free(p);
 1312|       |
 1313|  24.7k|error:
 1314|  24.7k|    _PyTokenizer_Free(tok);
 1315|  24.7k|    return result;
 1316|  24.7k|}
pegen.c:growable_comment_array_add:
  172|  2.41k|{
  173|  2.41k|    if (arr->num_items >= arr->size) {
  ------------------
  |  Branch (173:9): [True: 116, False: 2.29k]
  ------------------
  174|    116|        if (arr->size > (size_t)PY_SSIZE_T_MAX /
  ------------------
  |  |  137|    116|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (174:13): [True: 0, False: 116]
  ------------------
  175|    116|                (PEGEN_ARRAY_GROWTH_FACTOR * sizeof(*arr->items))) {
  ------------------
  |  |   16|    116|#define PEGEN_ARRAY_GROWTH_FACTOR 2
  ------------------
  176|      0|            return 0;
  177|      0|        }
  178|    116|        size_t new_size = arr->size == 0
  ------------------
  |  Branch (178:27): [True: 61, False: 55]
  ------------------
  179|    116|            ? TYPE_IGNORE_INITIAL_CAPACITY
  ------------------
  |  |   17|     61|#define TYPE_IGNORE_INITIAL_CAPACITY 10
  ------------------
  180|    116|            : arr->size * PEGEN_ARRAY_GROWTH_FACTOR;
  ------------------
  |  |   16|     55|#define PEGEN_ARRAY_GROWTH_FACTOR 2
  ------------------
  181|    116|        void *new_items_array = PyMem_Realloc(
  182|    116|            arr->items, new_size * sizeof(*arr->items));
  183|    116|        if (!new_items_array) {
  ------------------
  |  Branch (183:13): [True: 0, False: 116]
  ------------------
  184|      0|            return 0;
  185|      0|        }
  186|    116|        arr->items = new_items_array;
  187|    116|        arr->size = new_size;
  188|    116|    }
  189|       |
  190|  2.41k|    arr->items[arr->num_items].lineno = lineno;
  191|  2.41k|    arr->items[arr->num_items].comment = comment;  // Take ownership
  192|  2.41k|    arr->num_items++;
  193|  2.41k|    return 1;
  194|  2.41k|}
pegen.c:_resize_tokens_array:
  302|   122k|_resize_tokens_array(Parser *p) {
  303|   122k|    if (p->size > INT_MAX / PEGEN_ARRAY_GROWTH_FACTOR ||
  ------------------
  |  |   16|   244k|#define PEGEN_ARRAY_GROWTH_FACTOR 2
  ------------------
  |  Branch (303:9): [True: 0, False: 122k]
  ------------------
  304|   122k|            (size_t)p->size > PY_SSIZE_T_MAX /
  ------------------
  |  |  137|   122k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (304:13): [True: 0, False: 122k]
  ------------------
  305|   122k|                (PEGEN_ARRAY_GROWTH_FACTOR * sizeof(*p->tokens))) {
  ------------------
  |  |   16|   122k|#define PEGEN_ARRAY_GROWTH_FACTOR 2
  ------------------
  306|      0|        PyErr_NoMemory();
  307|      0|        return -1;
  308|      0|    }
  309|   122k|    int newsize = p->size * PEGEN_ARRAY_GROWTH_FACTOR;
  ------------------
  |  |   16|   122k|#define PEGEN_ARRAY_GROWTH_FACTOR 2
  ------------------
  310|   122k|    Token **new_tokens = PyMem_Realloc(p->tokens, (size_t)newsize * sizeof(Token *));
  311|   122k|    if (new_tokens == NULL) {
  ------------------
  |  Branch (311:9): [True: 0, False: 122k]
  ------------------
  312|      0|        PyErr_NoMemory();
  313|      0|        return -1;
  314|      0|    }
  315|   122k|    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|   122k|    Token *chunk = PyMem_Calloc((size_t)(newsize - p->size), sizeof(Token));
  320|   122k|    if (chunk == NULL) {
  ------------------
  |  Branch (320:9): [True: 0, False: 122k]
  ------------------
  321|      0|        PyErr_NoMemory();
  322|      0|        return -1;
  323|      0|    }
  324|  6.77M|    for (int i = p->size; i < newsize; i++) {
  ------------------
  |  Branch (324:27): [True: 6.65M, False: 122k]
  ------------------
  325|  6.65M|        p->tokens[i] = &chunk[i - p->size];
  326|  6.65M|    }
  327|   122k|    p->size = newsize;
  328|   122k|    return 0;
  329|   122k|}
pegen.c:initialize_token:
  247|  4.59M|initialize_token(Parser *p, Token *parser_token, struct token *new_token, int token_type) {
  248|  4.59M|    assert(parser_token != NULL);
  ------------------
  |  Branch (248:5): [True: 4.59M, False: 0]
  ------------------
  249|       |
  250|  4.59M|    parser_token->type = token_type;
  251|  4.59M|    parser_token->bytes = NULL;
  252|  4.59M|    if (token_needs_text(token_type) && new_token->span.start >= 0) {
  ------------------
  |  Branch (252:9): [True: 1.96M, False: 2.62M]
  |  Branch (252:41): [True: 1.96M, False: 62]
  ------------------
  253|  1.96M|        Py_ssize_t length;
  254|  1.96M|        const char *text = _PyToken_TextView(p->tok, new_token, &length);
  255|  1.96M|        if (token_type == NAME) {
  ------------------
  |  |   17|  1.96M|#define NAME            1
  ------------------
  |  Branch (255:13): [True: 1.01M, False: 947k]
  ------------------
  256|  1.01M|            parser_token->type = _get_keyword_or_name_type(p, text, length);
  257|  1.01M|        }
  258|       |        // A name reclassified as a keyword does not need its text.
  259|  1.96M|        if (parser_token->type == token_type) {
  ------------------
  |  Branch (259:13): [True: 1.78M, False: 182k]
  ------------------
  260|  1.78M|            parser_token->bytes = PyBytes_FromStringAndSize(text, length);
  261|  1.78M|            if (parser_token->bytes == NULL) {
  ------------------
  |  Branch (261:17): [True: 0, False: 1.78M]
  ------------------
  262|      0|                return -1;
  263|      0|            }
  264|  1.78M|            if (_PyArena_AddPyObject(p->arena, parser_token->bytes) < 0) {
  ------------------
  |  Branch (264:17): [True: 0, False: 1.78M]
  ------------------
  265|      0|                Py_DECREF(parser_token->bytes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  266|      0|                return -1;
  267|      0|            }
  268|  1.78M|        }
  269|  1.96M|    }
  270|       |
  271|  4.59M|    parser_token->metadata = NULL;
  272|  4.59M|    if (new_token->metadata != NULL) {
  ------------------
  |  Branch (272:9): [True: 6.93k, False: 4.58M]
  ------------------
  273|  6.93k|        if (_PyArena_AddPyObject(p->arena, new_token->metadata) < 0) {
  ------------------
  |  Branch (273:13): [True: 0, False: 6.93k]
  ------------------
  274|      0|            return -1;
  275|      0|        }
  276|  6.93k|        parser_token->metadata = new_token->metadata;
  277|  6.93k|        new_token->metadata = NULL;
  278|  6.93k|    }
  279|       |
  280|  4.59M|    parser_token->level = new_token->level;
  281|  4.59M|    parser_token->is_raw = new_token->is_raw;
  282|  4.59M|    parser_token->is_incomplete = new_token->is_incomplete;
  283|  4.59M|    parser_token->lineno = new_token->start_loc.lineno;
  284|  4.59M|    parser_token->col_offset = new_token->end_loc.lineno == p->starting_lineno
  ------------------
  |  Branch (284:32): [True: 8, False: 4.59M]
  ------------------
  285|  4.59M|        ? p->starting_col_offset + new_token->start_loc.byte_col
  286|  4.59M|        : new_token->start_loc.byte_col;
  287|  4.59M|    parser_token->end_lineno = new_token->end_loc.lineno;
  288|  4.59M|    parser_token->end_col_offset = new_token->end_loc.lineno == p->starting_lineno
  ------------------
  |  Branch (288:36): [True: 8, False: 4.59M]
  ------------------
  289|  4.59M|        ? p->starting_col_offset + new_token->end_loc.byte_col
  290|  4.59M|        : new_token->end_loc.byte_col;
  291|       |
  292|  4.59M|    p->fill += 1;
  293|       |
  294|  4.59M|    if (token_type == ERRORTOKEN && _PyTokenizer_GetStatus(p->tok) == E_DECODE) {
  ------------------
  |  |   83|  9.18M|#define ERRORTOKEN      67
  ------------------
                  if (token_type == ERRORTOKEN && _PyTokenizer_GetStatus(p->tok) == E_DECODE) {
  ------------------
  |  |   34|  3.20k|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  |  Branch (294:9): [True: 3.20k, False: 4.58M]
  |  Branch (294:37): [True: 547, False: 2.66k]
  ------------------
  295|    547|        return _Pypegen_raise_decode_error(p);
  296|    547|    }
  297|       |
  298|  4.58M|    return (token_type == ERRORTOKEN ? _Pypegen_tokenizer_error(p) : 0);
  ------------------
  |  |   83|  4.58M|#define ERRORTOKEN      67
  ------------------
  |  Branch (298:13): [True: 2.66k, False: 4.58M]
  ------------------
  299|  4.59M|}
pegen.c:token_needs_text:
  227|  4.59M|{
  228|  4.59M|    switch (type) {
  229|  1.01M|        case NAME:
  ------------------
  |  |   17|  1.01M|#define NAME            1
  ------------------
  |  Branch (229:9): [True: 1.01M, False: 3.57M]
  ------------------
  230|  1.83M|        case NUMBER:
  ------------------
  |  |   18|  1.83M|#define NUMBER          2
  ------------------
  |  Branch (230:9): [True: 815k, False: 3.77M]
  ------------------
  231|  1.89M|        case STRING:
  ------------------
  |  |   19|  1.89M|#define STRING          3
  ------------------
  |  Branch (231:9): [True: 61.1k, False: 4.52M]
  ------------------
  232|  1.90M|        case FSTRING_START:
  ------------------
  |  |   75|  1.90M|#define FSTRING_START   59
  ------------------
  |  Branch (232:9): [True: 12.0k, False: 4.57M]
  ------------------
  233|  1.92M|        case FSTRING_MIDDLE:
  ------------------
  |  |   76|  1.92M|#define FSTRING_MIDDLE  60
  ------------------
  |  Branch (233:9): [True: 22.7k, False: 4.56M]
  ------------------
  234|  1.93M|        case FSTRING_END:
  ------------------
  |  |   77|  1.93M|#define FSTRING_END     61
  ------------------
  |  Branch (234:9): [True: 9.72k, False: 4.58M]
  ------------------
  235|  1.94M|        case TSTRING_START:
  ------------------
  |  |   78|  1.94M|#define TSTRING_START   62
  ------------------
  |  Branch (235:9): [True: 7.61k, False: 4.58M]
  ------------------
  236|  1.96M|        case TSTRING_MIDDLE:
  ------------------
  |  |   79|  1.96M|#define TSTRING_MIDDLE  63
  ------------------
  |  Branch (236:9): [True: 13.3k, False: 4.57M]
  ------------------
  237|  1.96M|        case TSTRING_END:
  ------------------
  |  |   80|  1.96M|#define TSTRING_END     64
  ------------------
  |  Branch (237:9): [True: 3.60k, False: 4.58M]
  ------------------
  238|  1.96M|        case TYPE_COMMENT:
  ------------------
  |  |   73|  1.96M|#define TYPE_COMMENT    57
  ------------------
  |  Branch (238:9): [True: 568, False: 4.58M]
  ------------------
  239|  1.96M|        case NOTEQUAL:  // _PyPegen_check_barry_as_flufl() distinguishes != and <>.
  ------------------
  |  |   44|  1.96M|#define NOTEQUAL        28
  ------------------
  |  Branch (239:9): [True: 860, False: 4.58M]
  ------------------
  240|  1.96M|            return 1;
  241|  2.62M|        default:
  ------------------
  |  Branch (241:9): [True: 2.62M, False: 1.96M]
  ------------------
  242|  2.62M|            return 0;
  243|  4.59M|    }
  244|  4.59M|}
pegen.c:_get_keyword_or_name_type:
  207|  1.01M|{
  208|  1.01M|    assert(length > 0);
  ------------------
  |  Branch (208:5): [True: 1.01M, False: 0]
  ------------------
  209|       |
  210|  1.01M|    if (length >= p->n_keyword_lists ||
  ------------------
  |  Branch (210:9): [True: 79.6k, False: 938k]
  ------------------
  211|   938k|        p->keywords[length] == NULL ||
  ------------------
  |  Branch (211:9): [True: 0, False: 938k]
  ------------------
  212|   938k|        p->keywords[length]->type == -1) {
  ------------------
  |  Branch (212:9): [True: 307k, False: 630k]
  ------------------
  213|   387k|        return NAME;
  ------------------
  |  |   17|   387k|#define NAME            1
  ------------------
  214|   387k|    }
  215|  3.62M|    for (KeywordToken *k = p->keywords[length]; k != NULL && k->type != -1; k++) {
  ------------------
  |  Branch (215:49): [True: 3.62M, False: 0]
  |  Branch (215:62): [True: 3.18M, False: 447k]
  ------------------
  216|  3.18M|        if (memcmp(k->str, text, (size_t)length) == 0) {
  ------------------
  |  Branch (216:13): [True: 182k, False: 2.99M]
  ------------------
  217|   182k|            return k->type;
  218|   182k|        }
  219|  3.18M|    }
  220|   447k|    return NAME;
  ------------------
  |  |   17|   447k|#define NAME            1
  ------------------
  221|   630k|}
pegen.c:init_normalization:
  140|  11.5k|{
  141|  11.5k|    if (p->normalize) {
  ------------------
  |  Branch (141:9): [True: 8.67k, False: 2.84k]
  ------------------
  142|  8.67k|        return 1;
  143|  8.67k|    }
  144|  2.84k|    p->normalize = PyImport_ImportModuleAttrString("unicodedata", "normalize");
  145|  2.84k|    if (!p->normalize)
  ------------------
  |  Branch (145:9): [True: 0, False: 2.84k]
  ------------------
  146|      0|    {
  147|      0|        return 0;
  148|      0|    }
  149|  2.84k|    return 1;
  150|  2.84k|}
pegen.c:_PyPegen_name_from_token:
  771|  9.04M|{
  772|  9.04M|    if (t == NULL) {
  ------------------
  |  Branch (772:9): [True: 5.20M, False: 3.83M]
  ------------------
  773|  5.20M|        return NULL;
  774|  5.20M|    }
  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|  3.83M|    int mark = p->mark - 1;
  779|  3.83M|    p->mark = mark;
  780|  3.83M|    expr_ty cached = NULL;
  781|  3.83M|    if (_PyPegen_is_memoized(p, NAME, &cached)) {
  ------------------
  |  |   17|  3.83M|#define NAME            1
  ------------------
  |  Branch (781:9): [True: 2.86M, False: 975k]
  ------------------
  782|  2.86M|        return cached;
  783|  2.86M|    }
  784|   975k|    p->mark = mark + 1;
  785|   975k|    PyObject *id = get_cached_identifier(p, t->bytes);
  786|   975k|    if (id == NULL) {
  ------------------
  |  Branch (786:9): [True: 1, False: 975k]
  ------------------
  787|      1|        return NULL;
  788|      1|    }
  789|   975k|    expr_ty result = _PyAST_Name(id, Load, t->lineno, t->col_offset,
  790|   975k|                                t->end_lineno, t->end_col_offset, p->arena);
  791|   975k|    if (result != NULL && _PyPegen_insert_memo(p, mark, NAME, result) < 0) {
  ------------------
  |  |   17|   975k|#define NAME            1
  ------------------
  |  Branch (791:9): [True: 975k, False: 0]
  |  Branch (791:27): [True: 0, False: 975k]
  ------------------
  792|      0|        p->error_indicator = 1;
  793|      0|        return NULL;
  794|      0|    }
  795|   975k|    return result;
  796|   975k|}
pegen.c:get_cached_identifier:
  714|   975k|{
  715|   975k|    const char *s = PyBytes_AsString(bytes);
  716|   975k|    if (!s) {
  ------------------
  |  Branch (716:9): [True: 0, False: 975k]
  ------------------
  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|   975k|    Py_ssize_t len = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|   975k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   975k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   975k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  726|   975k|    Py_hash_t hash = PyObject_Hash(bytes);
  727|   975k|    if (hash == -1) {
  ------------------
  |  Branch (727:9): [True: 0, False: 975k]
  ------------------
  728|      0|        p->error_indicator = 1;
  729|      0|        return NULL;
  730|      0|    }
  731|       |    // Parses without identifiers do not need this cache.
  732|   975k|    if (p->identifier_cache == NULL) {
  ------------------
  |  Branch (732:9): [True: 16.2k, False: 959k]
  ------------------
  733|  16.2k|        p->identifier_cache = PyMem_Calloc(
  734|  16.2k|            IDENTIFIER_CACHE_SIZE, sizeof(*p->identifier_cache));
  ------------------
  |  |   14|  16.2k|#define IDENTIFIER_CACHE_SIZE 2048  // Must be a power of two.
  ------------------
  735|  16.2k|        if (p->identifier_cache == NULL) {
  ------------------
  |  Branch (735:13): [True: 0, False: 16.2k]
  ------------------
  736|      0|            p->error_indicator = 1;
  737|      0|            return PyErr_NoMemory();
  738|      0|        }
  739|  16.2k|    }
  740|   975k|    IdentifierCacheEntry *free_slot = NULL;
  741|   975k|    size_t idx = (size_t)hash & (IDENTIFIER_CACHE_SIZE - 1);
  ------------------
  |  |   14|   975k|#define IDENTIFIER_CACHE_SIZE 2048  // Must be a power of two.
  ------------------
  742|   982k|    for (int probe = 0; probe < IDENTIFIER_CACHE_MAX_PROBES; probe++) {
  ------------------
  |  |   15|   982k|#define IDENTIFIER_CACHE_MAX_PROBES 8
  ------------------
  |  Branch (742:25): [True: 982k, False: 0]
  ------------------
  743|   982k|        IdentifierCacheEntry *entry = &p->identifier_cache[
  744|   982k|            (idx + probe) & (IDENTIFIER_CACHE_SIZE - 1)];
  ------------------
  |  |   14|   982k|#define IDENTIFIER_CACHE_SIZE 2048  // Must be a power of two.
  ------------------
  745|   982k|        if (entry->key == NULL) {
  ------------------
  |  Branch (745:13): [True: 124k, False: 858k]
  ------------------
  746|   124k|            free_slot = entry;
  747|   124k|            break;
  748|   124k|        }
  749|   858k|        if (entry->hash == hash && entry->len == len &&
  ------------------
  |  Branch (749:13): [True: 851k, False: 6.54k]
  |  Branch (749:36): [True: 851k, False: 0]
  ------------------
  750|   851k|            memcmp(entry->key, s, len) == 0)
  ------------------
  |  Branch (750:13): [True: 851k, False: 0]
  ------------------
  751|   851k|        {
  752|   851k|            return entry->value;
  753|   851k|        }
  754|   858k|    }
  755|   124k|    PyObject *id = _PyPegen_new_identifier(p, s);
  756|   124k|    if (id == NULL) {
  ------------------
  |  Branch (756:9): [True: 1, False: 124k]
  ------------------
  757|      1|        p->error_indicator = 1;
  758|      1|        return NULL;
  759|      1|    }
  760|   124k|    if (free_slot != NULL) {
  ------------------
  |  Branch (760:9): [True: 124k, False: 0]
  ------------------
  761|   124k|        free_slot->key = s;
  762|   124k|        free_slot->len = len;
  763|   124k|        free_slot->hash = hash;
  764|   124k|        free_slot->value = id;
  765|   124k|    }
  766|   124k|    return id;
  767|   124k|}
pegen.c:parsenumber:
  874|   871k|{
  875|   871k|    char *dup;
  876|   871k|    char *end;
  877|   871k|    PyObject *res = NULL;
  878|       |
  879|   871k|    assert(s != NULL);
  ------------------
  |  Branch (879:5): [True: 871k, False: 0]
  ------------------
  880|       |
  881|   871k|    if (strchr(s, '_') == NULL) {
  ------------------
  |  Branch (881:9): [True: 862k, False: 8.35k]
  ------------------
  882|   862k|        return parsenumber_raw(s);
  883|   862k|    }
  884|       |    /* Create a duplicate without underscores. */
  885|  8.35k|    dup = PyMem_Malloc(strlen(s) + 1);
  886|  8.35k|    if (dup == NULL) {
  ------------------
  |  Branch (886:9): [True: 0, False: 8.35k]
  ------------------
  887|      0|        return PyErr_NoMemory();
  888|      0|    }
  889|  8.35k|    end = dup;
  890|   700k|    for (; *s; s++) {
  ------------------
  |  Branch (890:12): [True: 691k, False: 8.35k]
  ------------------
  891|   691k|        if (*s != '_') {
  ------------------
  |  Branch (891:13): [True: 679k, False: 12.2k]
  ------------------
  892|   679k|            *end++ = *s;
  893|   679k|        }
  894|   691k|    }
  895|  8.35k|    *end = '\0';
  896|  8.35k|    res = parsenumber_raw(dup);
  897|  8.35k|    PyMem_Free(dup);
  898|  8.35k|    return res;
  899|  8.35k|}
pegen.c:parsenumber_raw:
  830|   871k|{
  831|   871k|    const char *end;
  832|   871k|    long x;
  833|   871k|    double dx;
  834|   871k|    Py_complex compl;
  835|   871k|    int imflag;
  836|       |
  837|   871k|    assert(s != NULL);
  ------------------
  |  Branch (837:5): [True: 871k, False: 0]
  ------------------
  838|   871k|    errno = 0;
  839|   871k|    end = s + strlen(s) - 1;
  840|   871k|    imflag = *end == 'j' || *end == 'J';
  ------------------
  |  Branch (840:14): [True: 49.7k, False: 821k]
  |  Branch (840:29): [True: 8.97k, False: 812k]
  ------------------
  841|   871k|    if (s[0] == '0') {
  ------------------
  |  Branch (841:9): [True: 74.1k, False: 797k]
  ------------------
  842|  74.1k|        x = (long)PyOS_strtoul(s, (char **)&end, 0);
  843|  74.1k|        if (x < 0 && errno == 0) {
  ------------------
  |  Branch (843:13): [True: 2.23k, False: 71.9k]
  |  Branch (843:22): [True: 523, False: 1.71k]
  ------------------
  844|    523|            return PyLong_FromString(s, (char **)0, 0);
  845|    523|        }
  846|  74.1k|    }
  847|   797k|    else {
  848|   797k|        x = PyOS_strtol(s, (char **)&end, 0);
  849|   797k|    }
  850|   870k|    if (*end == '\0') {
  ------------------
  |  Branch (850:9): [True: 706k, False: 164k]
  ------------------
  851|   706k|        if (errno != 0) {
  ------------------
  |  Branch (851:13): [True: 22.2k, False: 684k]
  ------------------
  852|  22.2k|            return PyLong_FromString(s, (char **)0, 0);
  853|  22.2k|        }
  854|   684k|        return PyLong_FromLong(x);
  855|   706k|    }
  856|       |    /* XXX Huge floats may silently fail */
  857|   164k|    if (imflag) {
  ------------------
  |  Branch (857:9): [True: 58.7k, False: 105k]
  ------------------
  858|  58.7k|        compl.real = 0.;
  859|  58.7k|        compl.imag = PyOS_string_to_double(s, (char **)&end, NULL);
  860|  58.7k|        if (compl.imag == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (860:13): [True: 0, False: 58.7k]
  |  Branch (860:35): [True: 0, False: 0]
  ------------------
  861|      0|            return NULL;
  862|      0|        }
  863|  58.7k|        return PyComplex_FromCComplex(compl);
  864|  58.7k|    }
  865|   105k|    dx = PyOS_string_to_double(s, NULL, NULL);
  866|   105k|    if (dx == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (866:9): [True: 0, False: 105k]
  |  Branch (866:23): [True: 0, False: 0]
  ------------------
  867|      0|        return NULL;
  868|      0|    }
  869|   105k|    return PyFloat_FromDouble(dx);
  870|   105k|}
pegen.c:growable_comment_array_deallocate:
  198|  24.7k|{
  199|  27.1k|    for (size_t i = 0; i < arr->num_items; i++) {
  ------------------
  |  Branch (199:24): [True: 2.41k, False: 24.7k]
  ------------------
  200|  2.41k|        PyMem_Free(arr->items[i].comment);
  201|  2.41k|    }
  202|  24.7k|    PyMem_Free(arr->items);
  203|  24.7k|}
pegen.c:reset_parser_state_for_error_pass:
 1085|  9.43k|{
 1086|  9.43k|    p->last_stmt_location.lineno = 0;
 1087|  9.43k|    p->last_stmt_location.col_offset = 0;
 1088|  9.43k|    p->last_stmt_location.end_lineno = 0;
 1089|  9.43k|    p->last_stmt_location.end_col_offset = 0;
 1090|   698k|    for (int i = 0; i < p->fill; i++) {
  ------------------
  |  Branch (1090:21): [True: 689k, False: 9.43k]
  ------------------
 1091|   689k|        p->tokens[i]->memo = NULL;
 1092|   689k|        p->tokens[i]->memo_mask = 0;
 1093|   689k|    }
 1094|  9.43k|    p->mark = 0;
 1095|  9.43k|    p->flags &= ~PyPARSE_ALLOW_INCOMPLETE_INPUT;
  ------------------
  |  |   28|  9.43k|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
 1096|  9.43k|    _PyTokenizer_AllowIncompleteInput(p->tok, 0);
 1097|  9.43k|    p->call_invalid_rules = 1;
 1098|  9.43k|    _PyTokenizer_StopInteractive(p->tok);
 1099|  9.43k|}
pegen.c:_PyPegen_set_syntax_error_metadata:
 1102|  9.22k|_PyPegen_set_syntax_error_metadata(Parser *p) {
 1103|  9.22k|    PyObject *exc = PyErr_GetRaisedException();
 1104|  9.22k|    if (!exc || !PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_SyntaxError)) {
  ------------------
  |  |  378|  9.22k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  9.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1104:9): [True: 0, False: 9.22k]
  |  Branch (1104:17): [True: 0, False: 9.22k]
  ------------------
 1105|      0|        PyErr_SetRaisedException(exc);
 1106|      0|        return;
 1107|      0|    }
 1108|  9.22k|    const char *source = _PyTokenizer_RetainedSource(p->tok);
 1109|  9.22k|    const char *encoding = _PyTokenizer_GetInfo(p->tok).encoding;
 1110|  9.22k|    PyObject* the_source = NULL;
 1111|  9.22k|    if (source) {
  ------------------
  |  Branch (1111:9): [True: 9.22k, False: 0]
  ------------------
 1112|  9.22k|        if (encoding == NULL) {
  ------------------
  |  Branch (1112:13): [True: 3.98k, False: 5.23k]
  ------------------
 1113|  3.98k|            the_source = PyUnicode_FromString(source);
 1114|  5.23k|        } else {
 1115|  5.23k|            the_source = PyUnicode_Decode(source, strlen(source), encoding, NULL);
 1116|  5.23k|        }
 1117|  9.22k|    }
 1118|  9.22k|    if (!the_source) {
  ------------------
  |  Branch (1118:9): [True: 1.42k, False: 7.80k]
  ------------------
 1119|  1.42k|        PyErr_Clear();
 1120|  1.42k|        the_source = Py_None;
  ------------------
  |  |  616|  1.42k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1121|  1.42k|        Py_INCREF(the_source);
  ------------------
  |  |  310|  1.42k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1122|  1.42k|    }
 1123|  9.22k|    PyObject* metadata = Py_BuildValue(
 1124|  9.22k|        "(iiN)",
 1125|  9.22k|        p->last_stmt_location.lineno,
 1126|  9.22k|        p->last_stmt_location.col_offset,
 1127|  9.22k|        the_source // N gives ownership to metadata
 1128|  9.22k|    );
 1129|  9.22k|    if (!metadata) {
  ------------------
  |  Branch (1129:9): [True: 0, False: 9.22k]
  ------------------
 1130|      0|        PyErr_Clear();
 1131|      0|        PyErr_SetRaisedException(exc);
 1132|      0|        return;
 1133|      0|    }
 1134|  9.22k|    PySyntaxErrorObject *syntax_error = (PySyntaxErrorObject *)exc;
 1135|       |
 1136|  9.22k|    Py_XDECREF(syntax_error->metadata);
  ------------------
  |  |  621|  9.22k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1137|  9.22k|    syntax_error->metadata = metadata;
 1138|  9.22k|    PyErr_SetRaisedException(exc);
 1139|  9.22k|}
pegen.c:compute_parser_flags:
  976|  26.3k|{
  977|  26.3k|    int parser_flags = 0;
  978|  26.3k|    if (!flags) {
  ------------------
  |  Branch (978:9): [True: 0, False: 26.3k]
  ------------------
  979|      0|        return 0;
  980|      0|    }
  981|  26.3k|    if (flags->cf_flags & PyCF_DONT_IMPLY_DEDENT) {
  ------------------
  |  |   16|  26.3k|#define PyCF_DONT_IMPLY_DEDENT 0x0200
  ------------------
  |  Branch (981:9): [True: 12.3k, False: 14.0k]
  ------------------
  982|  12.3k|        parser_flags |= PyPARSE_DONT_IMPLY_DEDENT;
  ------------------
  |  |   17|  12.3k|#define PyPARSE_DONT_IMPLY_DEDENT       0x0002
  ------------------
  983|  12.3k|    }
  984|  26.3k|    if (flags->cf_flags & PyCF_IGNORE_COOKIE) {
  ------------------
  |  |   18|  26.3k|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
  |  Branch (984:9): [True: 11.6k, False: 14.6k]
  ------------------
  985|  11.6k|        parser_flags |= PyPARSE_IGNORE_COOKIE;
  ------------------
  |  |   25|  11.6k|#define PyPARSE_IGNORE_COOKIE 0x0010
  ------------------
  986|  11.6k|    }
  987|  26.3k|    if (flags->cf_flags & CO_FUTURE_BARRY_AS_BDFL) {
  ------------------
  |  |  145|  26.3k|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  ------------------
  |  Branch (987:9): [True: 0, False: 26.3k]
  ------------------
  988|      0|        parser_flags |= PyPARSE_BARRY_AS_BDFL;
  ------------------
  |  |   26|      0|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
  989|      0|    }
  990|  26.3k|    if (flags->cf_flags & PyCF_TYPE_COMMENTS) {
  ------------------
  |  |   19|  26.3k|#define PyCF_TYPE_COMMENTS 0x1000
  ------------------
  |  Branch (990:9): [True: 11.6k, False: 14.7k]
  ------------------
  991|  11.6k|        parser_flags |= PyPARSE_TYPE_COMMENTS;
  ------------------
  |  |   27|  11.6k|#define PyPARSE_TYPE_COMMENTS 0x0040
  ------------------
  992|  11.6k|    }
  993|  26.3k|    if (flags->cf_flags & PyCF_ALLOW_INCOMPLETE_INPUT) {
  ------------------
  |  |   21|  26.3k|#define PyCF_ALLOW_INCOMPLETE_INPUT 0x4000
  ------------------
  |  Branch (993:9): [True: 18.6k, False: 7.72k]
  ------------------
  994|  18.6k|        parser_flags |= PyPARSE_ALLOW_INCOMPLETE_INPUT;
  ------------------
  |  |   28|  18.6k|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  995|  18.6k|    }
  996|  26.3k|    return parser_flags;
  997|  26.3k|}

pegen.c:RAISE_ERROR_KNOWN_LOCATION:
  233|     90|{
  234|     90|    va_list va;
  235|     90|    va_start(va, errmsg);
  236|     90|    Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|     90|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (236:31): [True: 0, False: 90]
  ------------------
  237|     90|    Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|     90|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (237:35): [True: 0, False: 90]
  ------------------
  238|     90|    _PyPegen_raise_error_known_location(p, errtype, lineno, _col_offset, end_lineno, _end_col_offset, errmsg, va);
  239|     90|    va_end(va);
  240|       |    return NULL;
  241|     90|}
pegen_errors.c:RAISE_ERROR_KNOWN_LOCATION:
  233|  5.97k|{
  234|  5.97k|    va_list va;
  235|  5.97k|    va_start(va, errmsg);
  236|  5.97k|    Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|  5.97k|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (236:31): [True: 0, False: 5.97k]
  ------------------
  237|  5.97k|    Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|  5.97k|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (237:35): [True: 0, False: 5.97k]
  ------------------
  238|  5.97k|    _PyPegen_raise_error_known_location(p, errtype, lineno, _col_offset, end_lineno, _end_col_offset, errmsg, va);
  239|  5.97k|    va_end(va);
  240|       |    return NULL;
  241|  5.97k|}
parser.c:_PyPegen_stack_exhausted:
  118|  99.1M|{
  119|  99.1M|#if _Py_STACK_GROWS_DOWN
  120|  99.1M|    if (_Py_get_machine_stack_pointer() > p->stack_soft_limit) {
  ------------------
  |  Branch (120:9): [True: 99.1M, False: 0]
  ------------------
  121|       |#else
  122|       |    if (_Py_get_machine_stack_pointer() <= p->stack_soft_limit) {
  123|       |#endif
  124|  99.1M|        assert(!_Py_ReachedRecursionLimitWithMargin(p->tstate, 1));
  ------------------
  |  Branch (124:9): [True: 99.1M, False: 0]
  ------------------
  125|  99.1M|        return 0;
  126|  99.1M|    }
  127|      0|    return _Py_ReachedRecursionLimitWithMargin(p->tstate, 1);
  128|  99.1M|}
parser.c:NEW_TYPE_COMMENT:
  321|  25.9k|{
  322|  25.9k|    if (tc == NULL) {
  ------------------
  |  Branch (322:9): [True: 25.4k, False: 543]
  ------------------
  323|  25.4k|        return NULL;
  324|  25.4k|    }
  325|    543|    const char *bytes = PyBytes_AsString(tc->bytes);
  326|    543|    if (bytes == NULL) {
  ------------------
  |  Branch (326:9): [True: 0, False: 543]
  ------------------
  327|      0|        goto error;
  328|      0|    }
  329|    543|    PyObject *tco = _PyPegen_new_type_comment(p, bytes);
  330|    543|    if (tco == NULL) {
  ------------------
  |  Branch (330:9): [True: 6, False: 537]
  ------------------
  331|      6|        goto error;
  332|      6|    }
  333|    537|    return tco;
  334|      6| error:
  335|      6|    p->error_indicator = 1;  // Inline CHECK_CALL
  336|       |    return NULL;
  337|    543|}
parser.c:INVALID_VERSION_CHECK:
  341|  87.0k|{
  342|  87.0k|    if (node == NULL) {
  ------------------
  |  Branch (342:9): [True: 3, False: 87.0k]
  ------------------
  343|      3|        p->error_indicator = 1;  // Inline CHECK_CALL
  344|      3|        return NULL;
  345|      3|    }
  346|  87.0k|    if (p->feature_version < version) {
  ------------------
  |  Branch (346:9): [True: 0, False: 87.0k]
  ------------------
  347|      0|        p->error_indicator = 1;
  348|      0|        return RAISE_SYNTAX_ERROR("%s only supported in Python 3.%i and greater",
  ------------------
  |  |  242|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  349|      0|                                  msg, version);
  350|      0|    }
  351|  87.0k|    return node;
  352|  87.0k|}
parser.c:CHECK_CALL:
  261|   221k|{
  262|   221k|    if (result == NULL) {
  ------------------
  |  Branch (262:9): [True: 0, False: 221k]
  ------------------
  263|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (263:9): [True: 0, False: 0]
  ------------------
  264|      0|        p->error_indicator = 1;
  265|      0|    }
  266|   221k|    return result;
  267|   221k|}
parser.c:CHECK_CALL_NULL_ALLOWED:
  273|  25.2k|{
  274|  25.2k|    if (result == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (274:9): [True: 11.9k, False: 13.3k]
  |  Branch (274:27): [True: 602, False: 11.3k]
  ------------------
  275|    602|        p->error_indicator = 1;
  276|    602|    }
  277|  25.2k|    return result;
  278|  25.2k|}
parser_invalid.c:_PyPegen_stack_exhausted:
  118|  6.38M|{
  119|  6.38M|#if _Py_STACK_GROWS_DOWN
  120|  6.38M|    if (_Py_get_machine_stack_pointer() > p->stack_soft_limit) {
  ------------------
  |  Branch (120:9): [True: 6.38M, False: 0]
  ------------------
  121|       |#else
  122|       |    if (_Py_get_machine_stack_pointer() <= p->stack_soft_limit) {
  123|       |#endif
  124|  6.38M|        assert(!_Py_ReachedRecursionLimitWithMargin(p->tstate, 1));
  ------------------
  |  Branch (124:9): [True: 6.38M, False: 0]
  ------------------
  125|  6.38M|        return 0;
  126|  6.38M|    }
  127|      0|    return _Py_ReachedRecursionLimitWithMargin(p->tstate, 1);
  128|  6.38M|}
parser_invalid.c:RAISE_ERROR_KNOWN_LOCATION:
  233|  1.04k|{
  234|  1.04k|    va_list va;
  235|  1.04k|    va_start(va, errmsg);
  236|  1.04k|    Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|  1.04k|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (236:31): [True: 0, False: 1.04k]
  ------------------
  237|  1.04k|    Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|  1.04k|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|    406|#define CURRENT_POS (-5)
  ------------------
  |  Branch (237:35): [True: 406, False: 634]
  ------------------
  238|  1.04k|    _PyPegen_raise_error_known_location(p, errtype, lineno, _col_offset, end_lineno, _end_col_offset, errmsg, va);
  239|  1.04k|    va_end(va);
  240|       |    return NULL;
  241|  1.04k|}
parser_invalid.c:_RAISE_SYNTAX_ERROR_INVALID_TARGET:
  287|    622|{
  288|    622|    expr_ty invalid_target = CHECK_NULL_ALLOWED(expr_ty, _PyPegen_get_invalid_target(e, type));
  ------------------
  |  |  281|    622|#define CHECK_NULL_ALLOWED(type, result) ((type) CHECK_CALL_NULL_ALLOWED(p, result))
  ------------------
  289|    622|    if (invalid_target != NULL) {
  ------------------
  |  Branch (289:9): [True: 134, False: 488]
  ------------------
  290|    134|        const char *msg;
  291|    134|        if (type == STAR_TARGETS || type == FOR_TARGETS) {
  ------------------
  |  Branch (291:13): [True: 105, False: 29]
  |  Branch (291:37): [True: 10, False: 19]
  ------------------
  292|    115|            msg = "cannot assign to %s";
  293|    115|        }
  294|     19|        else {
  295|     19|            msg = "cannot delete %s";
  296|     19|        }
  297|    134|        return RAISE_SYNTAX_ERROR_KNOWN_LOCATION(
  ------------------
  |  |  248|    134|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  298|    134|            invalid_target,
  299|    134|            msg,
  300|    134|            _PyPegen_get_expr_name(invalid_target)
  301|    134|        );
  302|      0|        return RAISE_SYNTAX_ERROR_KNOWN_LOCATION(invalid_target, "invalid syntax");
  ------------------
  |  |  248|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  303|    134|    }
  304|    488|    return NULL;
  305|    622|}
parser_invalid.c:CHECK_CALL_NULL_ALLOWED:
  273|    622|{
  274|    622|    if (result == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (274:9): [True: 488, False: 134]
  |  Branch (274:27): [True: 0, False: 488]
  ------------------
  275|      0|        p->error_indicator = 1;
  276|      0|    }
  277|    622|    return result;
  278|    622|}
parser_invalid.c:INVALID_VERSION_CHECK:
  341|      6|{
  342|      6|    if (node == NULL) {
  ------------------
  |  Branch (342:9): [True: 6, False: 0]
  ------------------
  343|      6|        p->error_indicator = 1;  // Inline CHECK_CALL
  344|      6|        return NULL;
  345|      6|    }
  346|      0|    if (p->feature_version < version) {
  ------------------
  |  Branch (346:9): [True: 0, False: 0]
  ------------------
  347|      0|        p->error_indicator = 1;
  348|      0|        return RAISE_SYNTAX_ERROR("%s only supported in Python 3.%i and greater",
  ------------------
  |  |  242|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  349|      0|                                  msg, version);
  350|      0|    }
  351|      0|    return node;
  352|      0|}
parser_invalid.c:_PyPegen_tokens_are_adjacent:
  255|     30|{
  256|     30|    return (a->end_lineno == b->lineno) && (a->end_col_offset == b->col_offset);
  ------------------
  |  Branch (256:12): [True: 26, False: 4]
  |  Branch (256:44): [True: 18, False: 8]
  ------------------
  257|     30|}
action_helpers.c:RAISE_ERROR_KNOWN_LOCATION:
  233|    247|{
  234|    247|    va_list va;
  235|    247|    va_start(va, errmsg);
  236|    247|    Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|    247|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (236:31): [True: 0, False: 247]
  ------------------
  237|    247|    Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|    247|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (237:35): [True: 0, False: 247]
  ------------------
  238|    247|    _PyPegen_raise_error_known_location(p, errtype, lineno, _col_offset, end_lineno, _end_col_offset, errmsg, va);
  239|    247|    va_end(va);
  240|       |    return NULL;
  241|    247|}
string_parser.c:RAISE_ERROR_KNOWN_LOCATION:
  233|      4|{
  234|      4|    va_list va;
  235|      4|    va_start(va, errmsg);
  236|      4|    Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|      4|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   30|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (236:31): [True: 0, False: 4]
  ------------------
  237|      4|    Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|      4|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   30|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (237:35): [True: 0, False: 4]
  ------------------
  238|      4|    _PyPegen_raise_error_known_location(p, errtype, lineno, _col_offset, end_lineno, _end_col_offset, errmsg, va);
  239|      4|    va_end(va);
  240|       |    return NULL;
  241|      4|}

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

_PyPegen_decode_string:
  243|   109k|{
  244|   109k|    if (raw) {
  ------------------
  |  Branch (244:9): [True: 76.2k, False: 33.0k]
  ------------------
  245|  76.2k|        return PyUnicode_DecodeUTF8Stateful(s, (Py_ssize_t)len, NULL, NULL);
  246|  76.2k|    }
  247|  33.0k|    return decode_unicode_with_escapes(p, s, len, t);
  248|   109k|}
_PyPegen_parse_string:
  255|  77.4k|{
  256|  77.4k|    const char *s = PyBytes_AsString(t->bytes);
  257|  77.4k|    if (s == NULL) {
  ------------------
  |  Branch (257:9): [True: 0, False: 77.4k]
  ------------------
  258|      0|        return NULL;
  259|      0|    }
  260|       |
  261|  77.4k|    size_t len;
  262|  77.4k|    int quote = Py_CHARMASK(*s);
  ------------------
  |  |  170|  77.4k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  263|  77.4k|    int bytesmode = 0;
  264|  77.4k|    int rawmode = 0;
  265|       |
  266|  77.4k|    if (Py_ISALPHA(quote)) {
  ------------------
  |  |   23|  77.4k|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  170|  77.4k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|  77.4k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  77.4k|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|  77.4k|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (23:24): [True: 29.5k, False: 47.8k]
  |  |  ------------------
  ------------------
  267|  67.2k|        while (!bytesmode || !rawmode) {
  ------------------
  |  Branch (267:16): [True: 44.6k, False: 22.5k]
  |  Branch (267:30): [True: 14.4k, False: 8.03k]
  ------------------
  268|  59.1k|            if (quote == 'b' || quote == 'B') {
  ------------------
  |  Branch (268:17): [True: 19.6k, False: 39.5k]
  |  Branch (268:33): [True: 2.29k, False: 37.2k]
  ------------------
  269|  21.9k|                quote =(unsigned char)*++s;
  270|  21.9k|                bytesmode = 1;
  271|  21.9k|            }
  272|  37.2k|            else if (quote == 'u' || quote == 'U') {
  ------------------
  |  Branch (272:22): [True: 5.44k, False: 31.7k]
  |  Branch (272:38): [True: 510, False: 31.2k]
  ------------------
  273|  5.95k|                quote = (unsigned char)*++s;
  274|  5.95k|            }
  275|  31.2k|            else if (quote == 'r' || quote == 'R') {
  ------------------
  |  Branch (275:22): [True: 9.63k, False: 21.6k]
  |  Branch (275:38): [True: 67, False: 21.5k]
  ------------------
  276|  9.69k|                quote = (unsigned char)*++s;
  277|  9.69k|                rawmode = 1;
  278|  9.69k|            }
  279|  21.5k|            else {
  280|  21.5k|                break;
  281|  21.5k|            }
  282|  59.1k|        }
  283|  29.5k|    }
  284|       |
  285|  77.4k|    if (quote != '\'' && quote != '\"') {
  ------------------
  |  Branch (285:9): [True: 56.3k, False: 21.0k]
  |  Branch (285:26): [True: 0, False: 56.3k]
  ------------------
  286|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  287|      0|        return NULL;
  288|      0|    }
  289|       |
  290|       |    /* Skip the leading quote char. */
  291|  77.4k|    s++;
  292|  77.4k|    len = strlen(s);
  293|       |    // gh-120155: 's' contains at least the trailing quote,
  294|       |    // so the code '--len' below is safe.
  295|  77.4k|    assert(len >= 1);
  ------------------
  |  Branch (295:5): [True: 77.4k, False: 0]
  ------------------
  296|       |
  297|  77.4k|    if (len > INT_MAX) {
  ------------------
  |  Branch (297:9): [True: 0, False: 77.4k]
  ------------------
  298|      0|        PyErr_SetString(PyExc_OverflowError, "string to parse is too long");
  299|      0|        return NULL;
  300|      0|    }
  301|  77.4k|    if (s[--len] != quote) {
  ------------------
  |  Branch (301:9): [True: 0, False: 77.4k]
  ------------------
  302|       |        /* Last quote char must match the first. */
  303|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  304|      0|        return NULL;
  305|      0|    }
  306|  77.4k|    if (len >= 4 && s[0] == quote && s[1] == quote) {
  ------------------
  |  Branch (306:9): [True: 27.8k, False: 49.6k]
  |  Branch (306:21): [True: 9.72k, False: 18.0k]
  |  Branch (306:38): [True: 9.72k, False: 0]
  ------------------
  307|       |        /* A triple quoted string. We've already skipped one quote at
  308|       |           the start and one at the end of the string. Now skip the
  309|       |           two at the start. */
  310|  9.72k|        s += 2;
  311|  9.72k|        len -= 2;
  312|       |        /* And check that the last two match. */
  313|  9.72k|        if (s[--len] != quote || s[--len] != quote) {
  ------------------
  |  Branch (313:13): [True: 0, False: 9.72k]
  |  Branch (313:34): [True: 0, False: 9.72k]
  ------------------
  314|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  315|      0|            return NULL;
  316|      0|        }
  317|  9.72k|    }
  318|       |
  319|       |    /* Avoid invoking escape decoding routines if possible. */
  320|  77.4k|    rawmode = rawmode || strchr(s, '\\') == NULL;
  ------------------
  |  Branch (320:15): [True: 9.69k, False: 67.7k]
  |  Branch (320:26): [True: 57.9k, False: 9.75k]
  ------------------
  321|  77.4k|    if (bytesmode) {
  ------------------
  |  Branch (321:9): [True: 21.9k, False: 55.4k]
  ------------------
  322|       |        /* Disallow non-ASCII characters. */
  323|  21.9k|        const char *ch;
  324|   153k|        for (ch = s; *ch; ch++) {
  ------------------
  |  Branch (324:22): [True: 131k, False: 21.9k]
  ------------------
  325|   131k|            if (Py_CHARMASK(*ch) >= 0x80) {
  ------------------
  |  |  170|   131k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (325:17): [True: 4, False: 131k]
  ------------------
  326|      4|                RAISE_SYNTAX_ERROR_KNOWN_LOCATION(
  ------------------
  |  |  248|      4|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  327|      4|                                   t,
  328|      4|                                   "bytes can only contain ASCII "
  329|      4|                                   "literal characters");
  330|      4|                return NULL;
  331|      4|            }
  332|   131k|        }
  333|  21.9k|        if (rawmode) {
  ------------------
  |  Branch (333:13): [True: 19.1k, False: 2.80k]
  ------------------
  334|  19.1k|            return PyBytes_FromStringAndSize(s, (Py_ssize_t)len);
  335|  19.1k|        }
  336|  2.80k|        return decode_bytes_with_escapes(p, s, (Py_ssize_t)len, t);
  337|  21.9k|    }
  338|  55.4k|    return _PyPegen_decode_string(p, rawmode, s, len, t);
  339|  77.4k|}
string_parser.c:decode_unicode_with_escapes:
  136|  33.0k|{
  137|  33.0k|    PyObject *v;
  138|  33.0k|    char *p;
  139|  33.0k|    const char *end;
  140|       |
  141|       |    /* check for integer overflow */
  142|  33.0k|    if (len > (size_t)PY_SSIZE_T_MAX / 6) {
  ------------------
  |  |  137|  33.0k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (142:9): [True: 0, False: 33.0k]
  ------------------
  143|      0|        return NULL;
  144|      0|    }
  145|       |    /* "ä" (2 bytes) may become "\U000000E4" (10 bytes), or 1:5.
  146|       |     * "\ä" (3 bytes) may become "\u005c\U000000E4" (16 bytes), or ~1:6. */
  147|  33.0k|    Py_ssize_t alloc = (Py_ssize_t)len * 6;
  148|  33.0k|    char *buf = PyMem_Malloc(alloc);
  149|  33.0k|    if (buf == NULL) {
  ------------------
  |  Branch (149:9): [True: 0, False: 33.0k]
  ------------------
  150|      0|        return PyErr_NoMemory();
  151|      0|    }
  152|  33.0k|    p = buf;
  153|  33.0k|    end = s + len;
  154|  1.13M|    while (s < end) {
  ------------------
  |  Branch (154:12): [True: 1.10M, False: 29.1k]
  ------------------
  155|  1.10M|        if (*s == '\\') {
  ------------------
  |  Branch (155:13): [True: 78.3k, False: 1.02M]
  ------------------
  156|  78.3k|            *p++ = *s++;
  157|  78.3k|            if (s >= end || *s & 0x80) {
  ------------------
  |  Branch (157:17): [True: 3.88k, False: 74.4k]
  |  Branch (157:29): [True: 1.49k, False: 72.9k]
  ------------------
  158|  5.38k|                memcpy(p, "u005c", 5);
  159|  5.38k|                p += 5;
  160|  5.38k|                if (s >= end) {
  ------------------
  |  Branch (160:21): [True: 3.88k, False: 1.49k]
  ------------------
  161|  3.88k|                    break;
  162|  3.88k|                }
  163|  5.38k|            }
  164|  78.3k|        }
  165|  1.10M|        if (*s & 0x80) {
  ------------------
  |  Branch (165:13): [True: 30.9k, False: 1.07M]
  ------------------
  166|  30.9k|            PyObject *w;
  167|  30.9k|            int kind;
  168|  30.9k|            const void *data;
  169|  30.9k|            Py_ssize_t w_len;
  170|  30.9k|            Py_ssize_t i;
  171|  30.9k|            w = decode_utf8(&s, end);
  172|  30.9k|            if (w == NULL) {
  ------------------
  |  Branch (172:17): [True: 16, False: 30.9k]
  ------------------
  173|     16|                PyMem_Free(buf);
  174|     16|                return NULL;
  175|     16|            }
  176|  30.9k|            kind = PyUnicode_KIND(w);
  ------------------
  |  |  259|  30.9k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  61.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 30.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  177|  30.9k|            data = PyUnicode_DATA(w);
  ------------------
  |  |  285|  30.9k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|  30.9k|            w_len = PyUnicode_GET_LENGTH(w);
  ------------------
  |  |  300|  30.9k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  179|   762k|            for (i = 0; i < w_len; i++) {
  ------------------
  |  Branch (179:25): [True: 731k, False: 30.9k]
  ------------------
  180|       |                // sprintf() writes a null byte: the buffer is large enough
  181|       |                // for that thanks to the overallocation.
  182|   731k|                assert((p + 11 - buf) <= alloc);
  ------------------
  |  Branch (182:17): [True: 731k, False: 0]
  ------------------
  183|   731k|                Py_UCS4 chr = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  355|   731k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   731k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   731k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   731k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   731k|                   (index))
  ------------------
  184|   731k|                sprintf(p, "\\U%08x", chr);
  185|   731k|                p += 10;
  186|   731k|            }
  187|  30.9k|            Py_DECREF(w);
  ------------------
  |  |  430|  30.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|  30.9k|        }
  189|  1.07M|        else {
  190|  1.07M|            *p++ = *s++;
  191|  1.07M|        }
  192|  1.10M|    }
  193|  33.0k|    len = (size_t)(p - buf);
  194|       |
  195|  33.0k|    int first_invalid_escape_char;
  196|  33.0k|    const char *first_invalid_escape_ptr;
  197|       |    // Allow a trailing unfinished escape in a partial token.
  198|  33.0k|    int incomplete = t != NULL && t->is_incomplete;
  ------------------
  |  Branch (198:22): [True: 30.7k, False: 2.26k]
  |  Branch (198:35): [True: 17, False: 30.7k]
  ------------------
  199|  33.0k|    Py_ssize_t consumed;
  200|  33.0k|    v = _PyUnicode_DecodeUnicodeEscapeInternal2(buf, (Py_ssize_t)len, NULL,
  201|  33.0k|                                                incomplete ? &consumed : NULL,
  ------------------
  |  Branch (201:49): [True: 17, False: 33.0k]
  ------------------
  202|  33.0k|                                                &first_invalid_escape_char,
  203|  33.0k|                                                &first_invalid_escape_ptr);
  204|       |
  205|       |    // HACK: later we can simply pass the line no, since we don't preserve the tokens
  206|       |    // when we are decoding the string but we preserve the line numbers.
  207|  33.0k|    if (v != NULL && first_invalid_escape_ptr != NULL && t != NULL && !incomplete) {
  ------------------
  |  Branch (207:9): [True: 32.9k, False: 86]
  |  Branch (207:22): [True: 12.6k, False: 20.3k]
  |  Branch (207:58): [True: 11.2k, False: 1.34k]
  |  Branch (207:71): [True: 11.2k, False: 4]
  ------------------
  208|  11.2k|        if (warn_invalid_escape_sequence(parser, buf, first_invalid_escape_ptr, t) < 0) {
  ------------------
  |  Branch (208:13): [True: 0, False: 11.2k]
  ------------------
  209|       |            /* We have not deallocated the buffer before because
  210|       |             * first_invalid_escape_ptr points inside buf. */
  211|      0|            PyMem_Free(buf);
  212|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|      0|            return NULL;
  214|      0|        }
  215|  11.2k|    }
  216|  33.0k|    PyMem_Free(buf);
  217|  33.0k|    return v;
  218|  33.0k|}
string_parser.c:decode_utf8:
  123|  30.9k|{
  124|  30.9k|    const char *s;
  125|  30.9k|    const char *t;
  126|  30.9k|    t = s = *sPtr;
  127|  2.07M|    while (s < end && (*s & 0x80)) {
  ------------------
  |  Branch (127:12): [True: 2.07M, False: 884]
  |  Branch (127:23): [True: 2.04M, False: 30.0k]
  ------------------
  128|  2.04M|        s++;
  129|  2.04M|    }
  130|  30.9k|    *sPtr = s;
  131|       |    return PyUnicode_DecodeUTF8(t, s - t, NULL);
  132|  30.9k|}
string_parser.c:warn_invalid_escape_sequence:
   14|  12.5k|{
   15|  12.5k|    if (p->call_invalid_rules) {
  ------------------
  |  Branch (15:9): [True: 5.46k, False: 7.08k]
  ------------------
   16|       |        // Do not report warnings if we are in the second pass of the parser
   17|       |        // to avoid showing the warning twice.
   18|  5.46k|        return 0;
   19|  5.46k|    }
   20|  7.08k|    unsigned char c = (unsigned char)*first_invalid_escape;
   21|  7.08k|    if ((t->type == FSTRING_MIDDLE || t->type == FSTRING_END || t->type == TSTRING_MIDDLE || t->type == TSTRING_END)
  ------------------
  |  |   76|  14.1k|#define FSTRING_MIDDLE  60
  ------------------
                  if ((t->type == FSTRING_MIDDLE || t->type == FSTRING_END || t->type == TSTRING_MIDDLE || t->type == TSTRING_END)
  ------------------
  |  |   77|  13.8k|#define FSTRING_END     61
  ------------------
                  if ((t->type == FSTRING_MIDDLE || t->type == FSTRING_END || t->type == TSTRING_MIDDLE || t->type == TSTRING_END)
  ------------------
  |  |   79|  10.9k|#define TSTRING_MIDDLE  63
  ------------------
                  if ((t->type == FSTRING_MIDDLE || t->type == FSTRING_END || t->type == TSTRING_MIDDLE || t->type == TSTRING_END)
  ------------------
  |  |   80|  3.57k|#define TSTRING_END     64
  ------------------
  |  Branch (21:10): [True: 363, False: 6.71k]
  |  Branch (21:39): [True: 2.90k, False: 3.81k]
  |  Branch (21:65): [True: 249, False: 3.57k]
  |  Branch (21:94): [True: 371, False: 3.19k]
  ------------------
   22|  3.88k|            && (c == '{' || c == '}')) {
  ------------------
  |  Branch (22:17): [True: 857, False: 3.02k]
  |  Branch (22:29): [True: 653, False: 2.37k]
  ------------------
   23|       |        // in this case the tokenizer has already emitted a warning,
   24|       |        // see Parser/tokenizer/helpers.c:warn_invalid_escape_sequence
   25|  1.51k|        return 0;
   26|  1.51k|    }
   27|       |
   28|  5.57k|    int octal = ('4' <= c && c <= '7');
  ------------------
  |  Branch (28:18): [True: 4.27k, False: 1.29k]
  |  Branch (28:30): [True: 537, False: 3.74k]
  ------------------
   29|  5.57k|    PyObject *msg =
   30|  5.57k|        octal
  ------------------
  |  Branch (30:9): [True: 537, False: 5.03k]
  ------------------
   31|  5.57k|        ? PyUnicode_FromFormat(
   32|    537|              "\"\\%.3s\" is an invalid octal escape sequence. "
   33|    537|              "Such sequences will not work in the future. "
   34|    537|              "Did you mean \"\\\\%.3s\"? A raw string is also an option.",
   35|    537|              first_invalid_escape, first_invalid_escape)
   36|  5.57k|        : PyUnicode_FromFormat(
   37|  5.03k|              "\"\\%c\" is an invalid escape sequence. "
   38|  5.03k|              "Such sequences will not work in the future. "
   39|  5.03k|              "Did you mean \"\\\\%c\"? A raw string is also an option.",
   40|  5.03k|              c, c);
   41|  5.57k|    if (msg == NULL) {
  ------------------
  |  Branch (41:9): [True: 0, False: 5.57k]
  ------------------
   42|      0|        return -1;
   43|      0|    }
   44|  5.57k|    PyObject *category;
   45|  5.57k|    if (p->feature_version >= 12) {
  ------------------
  |  Branch (45:9): [True: 5.57k, False: 0]
  ------------------
   46|  5.57k|        category = PyExc_SyntaxWarning;
   47|  5.57k|    }
   48|      0|    else {
   49|      0|        category = PyExc_DeprecationWarning;
   50|      0|    }
   51|       |
   52|       |    // Calculate the lineno and the col_offset of the invalid escape sequence
   53|  5.57k|    const char *start = buffer;
   54|  5.57k|    const char *end = first_invalid_escape;
   55|  5.57k|    int lineno = t->lineno;
   56|  5.57k|    int col_offset = t->col_offset;
   57|   432k|    while (start < end) {
  ------------------
  |  Branch (57:12): [True: 427k, False: 5.57k]
  ------------------
   58|   427k|        if (*start == '\n') {
  ------------------
  |  Branch (58:13): [True: 18.0k, False: 408k]
  ------------------
   59|  18.0k|            lineno++;
   60|  18.0k|            col_offset = 0;
   61|  18.0k|        }
   62|   408k|        else {
   63|   408k|            col_offset++;
   64|   408k|        }
   65|   427k|        start++;
   66|   427k|    }
   67|       |
   68|       |    // Count the number of quotes in the token
   69|  5.57k|    char first_quote = 0;
   70|  5.57k|    if (lineno == t->lineno) {
  ------------------
  |  Branch (70:9): [True: 4.82k, False: 751]
  ------------------
   71|  4.82k|        int quote_count = 0;
   72|  4.82k|        const char* tok = PyBytes_AsString(t->bytes);
   73|  9.08k|        for (int i = 0; i < PyBytes_Size(t->bytes); i++) {
  ------------------
  |  Branch (73:25): [True: 7.36k, False: 1.71k]
  ------------------
   74|  7.36k|            if (tok[i] == '\'' || tok[i] == '\"') {
  ------------------
  |  Branch (74:17): [True: 786, False: 6.58k]
  |  Branch (74:35): [True: 3.47k, False: 3.11k]
  ------------------
   75|  4.25k|                if (quote_count == 0) {
  ------------------
  |  Branch (75:21): [True: 2.98k, False: 1.27k]
  ------------------
   76|  2.98k|                    first_quote = tok[i];
   77|  2.98k|                }
   78|  4.25k|                if (tok[i] == first_quote) {
  ------------------
  |  Branch (78:21): [True: 4.04k, False: 210]
  ------------------
   79|  4.04k|                    quote_count++;
   80|  4.04k|                }
   81|  4.25k|            } else {
   82|  3.11k|                break;
   83|  3.11k|            }
   84|  7.36k|        }
   85|       |
   86|  4.82k|        col_offset += quote_count;
   87|  4.82k|    }
   88|       |
   89|  5.57k|    _PyTokenizer_Info info = _PyTokenizer_GetInfo(p->tok);
   90|  5.57k|    if (PyErr_WarnExplicitObject(category, msg, info.filename,
  ------------------
  |  Branch (90:9): [True: 0, False: 5.57k]
  ------------------
   91|  5.57k|                                 lineno, info.module, NULL) < 0) {
   92|      0|        if (PyErr_ExceptionMatches(category)) {
  ------------------
  |  Branch (92:13): [True: 0, False: 0]
  ------------------
   93|       |            /* Replace the Syntax/DeprecationWarning exception with a SyntaxError
   94|       |               to get a more accurate error report */
   95|      0|            PyErr_Clear();
   96|       |
   97|       |            /* This is needed, in order for the SyntaxError to point to the token t,
   98|       |               since _PyPegen_raise_error uses p->tokens[p->fill - 1] for the
   99|       |               error location, if p->known_err_token is not set. */
  100|      0|            p->known_err_token = t;
  101|      0|            if (octal) {
  ------------------
  |  Branch (101:17): [True: 0, False: 0]
  ------------------
  102|      0|                RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, lineno, col_offset-1, lineno, col_offset+1,
  103|      0|                    "\"\\%.3s\" is an invalid octal escape sequence. "
  104|      0|                    "Did you mean \"\\\\%.3s\"? A raw string is also an option.",
  105|      0|                    first_invalid_escape, first_invalid_escape);
  106|      0|            }
  107|      0|            else {
  108|      0|                RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, lineno, col_offset-1, lineno, col_offset+1,
  109|      0|                    "\"\\%c\" is an invalid escape sequence. "
  110|      0|                    "Did you mean \"\\\\%c\"? A raw string is also an option.",
  111|      0|                    c, c);
  112|      0|            }
  113|      0|        }
  114|      0|        Py_DECREF(msg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  115|      0|        return -1;
  116|      0|    }
  117|  5.57k|    Py_DECREF(msg);
  ------------------
  |  |  430|  5.57k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|  5.57k|    return 0;
  119|  5.57k|}
string_parser.c:decode_bytes_with_escapes:
  222|  2.80k|{
  223|  2.80k|    int first_invalid_escape_char;
  224|  2.80k|    const char *first_invalid_escape_ptr;
  225|  2.80k|    PyObject *result = _PyBytes_DecodeEscape2(s, len, NULL,
  226|  2.80k|                                              &first_invalid_escape_char,
  227|  2.80k|                                              &first_invalid_escape_ptr);
  228|  2.80k|    if (result == NULL) {
  ------------------
  |  Branch (228:9): [True: 4, False: 2.80k]
  ------------------
  229|      4|        return NULL;
  230|      4|    }
  231|       |
  232|  2.80k|    if (first_invalid_escape_ptr != NULL) {
  ------------------
  |  Branch (232:9): [True: 1.29k, False: 1.50k]
  ------------------
  233|  1.29k|        if (warn_invalid_escape_sequence(p, s, first_invalid_escape_ptr, t) < 0) {
  ------------------
  |  Branch (233:13): [True: 0, False: 1.29k]
  ------------------
  234|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  235|      0|            return NULL;
  236|      0|        }
  237|  1.29k|    }
  238|  2.80k|    return result;
  239|  2.80k|}

_PyToken_OneChar:
   85|  2.32M|{
   86|  2.32M|    switch (c1) {
  ------------------
  |  Branch (86:13): [True: 2.32M, False: 864]
  ------------------
   87|  6.12k|    case '!': return EXCLAMATION;
  ------------------
  |  |   70|  6.12k|#define EXCLAMATION     54
  ------------------
  |  Branch (87:5): [True: 6.12k, False: 2.31M]
  ------------------
   88|  37.3k|    case '%': return PERCENT;
  ------------------
  |  |   40|  37.3k|#define PERCENT         24
  ------------------
  |  Branch (88:5): [True: 37.3k, False: 2.28M]
  ------------------
   89|  17.8k|    case '&': return AMPER;
  ------------------
  |  |   35|  17.8k|#define AMPER           19
  ------------------
  |  Branch (89:5): [True: 17.8k, False: 2.30M]
  ------------------
   90|   136k|    case '(': return LPAR;
  ------------------
  |  |   23|   136k|#define LPAR            7
  ------------------
  |  Branch (90:5): [True: 136k, False: 2.18M]
  ------------------
   91|   101k|    case ')': return RPAR;
  ------------------
  |  |   24|   101k|#define RPAR            8
  ------------------
  |  Branch (91:5): [True: 101k, False: 2.21M]
  ------------------
   92|   199k|    case '*': return STAR;
  ------------------
  |  |   32|   199k|#define STAR            16
  ------------------
  |  Branch (92:5): [True: 199k, False: 2.12M]
  ------------------
   93|   209k|    case '+': return PLUS;
  ------------------
  |  |   30|   209k|#define PLUS            14
  ------------------
  |  Branch (93:5): [True: 209k, False: 2.11M]
  ------------------
   94|   433k|    case ',': return COMMA;
  ------------------
  |  |   28|   433k|#define COMMA           12
  ------------------
  |  Branch (94:5): [True: 433k, False: 1.88M]
  ------------------
   95|   315k|    case '-': return MINUS;
  ------------------
  |  |   31|   315k|#define MINUS           15
  ------------------
  |  Branch (95:5): [True: 315k, False: 2.00M]
  ------------------
   96|      0|    case '.': return DOT;
  ------------------
  |  |   39|      0|#define DOT             23
  ------------------
  |  Branch (96:5): [True: 0, False: 2.32M]
  ------------------
   97|  63.6k|    case '/': return SLASH;
  ------------------
  |  |   33|  63.6k|#define SLASH           17
  ------------------
  |  Branch (97:5): [True: 63.6k, False: 2.25M]
  ------------------
   98|   155k|    case ':': return COLON;
  ------------------
  |  |   27|   155k|#define COLON           11
  ------------------
  |  Branch (98:5): [True: 155k, False: 2.16M]
  ------------------
   99|  68.7k|    case ';': return SEMI;
  ------------------
  |  |   29|  68.7k|#define SEMI            13
  ------------------
  |  Branch (99:5): [True: 68.7k, False: 2.25M]
  ------------------
  100|  22.2k|    case '<': return LESS;
  ------------------
  |  |   36|  22.2k|#define LESS            20
  ------------------
  |  Branch (100:5): [True: 22.2k, False: 2.29M]
  ------------------
  101|  92.0k|    case '=': return EQUAL;
  ------------------
  |  |   38|  92.0k|#define EQUAL           22
  ------------------
  |  Branch (101:5): [True: 92.0k, False: 2.22M]
  ------------------
  102|  19.9k|    case '>': return GREATER;
  ------------------
  |  |   37|  19.9k|#define GREATER         21
  ------------------
  |  Branch (102:5): [True: 19.9k, False: 2.30M]
  ------------------
  103|  15.2k|    case '@': return AT;
  ------------------
  |  |   65|  15.2k|#define AT              49
  ------------------
  |  Branch (103:5): [True: 15.2k, False: 2.30M]
  ------------------
  104|  92.8k|    case '[': return LSQB;
  ------------------
  |  |   25|  92.8k|#define LSQB            9
  ------------------
  |  Branch (104:5): [True: 92.8k, False: 2.22M]
  ------------------
  105|  56.6k|    case ']': return RSQB;
  ------------------
  |  |   26|  56.6k|#define RSQB            10
  ------------------
  |  Branch (105:5): [True: 56.6k, False: 2.26M]
  ------------------
  106|  36.6k|    case '^': return CIRCUMFLEX;
  ------------------
  |  |   48|  36.6k|#define CIRCUMFLEX      32
  ------------------
  |  Branch (106:5): [True: 36.6k, False: 2.28M]
  ------------------
  107|  60.5k|    case '{': return LBRACE;
  ------------------
  |  |   41|  60.5k|#define LBRACE          25
  ------------------
  |  Branch (107:5): [True: 60.5k, False: 2.26M]
  ------------------
  108|  13.7k|    case '|': return VBAR;
  ------------------
  |  |   34|  13.7k|#define VBAR            18
  ------------------
  |  Branch (108:5): [True: 13.7k, False: 2.30M]
  ------------------
  109|  35.6k|    case '}': return RBRACE;
  ------------------
  |  |   42|  35.6k|#define RBRACE          26
  ------------------
  |  Branch (109:5): [True: 35.6k, False: 2.28M]
  ------------------
  110|   128k|    case '~': return TILDE;
  ------------------
  |  |   47|   128k|#define TILDE           31
  ------------------
  |  Branch (110:5): [True: 128k, False: 2.19M]
  ------------------
  111|  2.32M|    }
  112|    864|    return OP;
  ------------------
  |  |   71|    864|#define OP              55
  ------------------
  113|  2.32M|}
_PyToken_TwoChars:
  117|  2.47M|{
  118|  2.47M|    switch (c1) {
  ------------------
  |  Branch (118:13): [True: 1.36M, False: 1.11M]
  ------------------
  119|  7.16k|    case '!':
  ------------------
  |  Branch (119:5): [True: 7.16k, False: 2.47M]
  ------------------
  120|  7.16k|        switch (c2) {
  ------------------
  |  Branch (120:17): [True: 1.04k, False: 6.12k]
  ------------------
  121|  1.04k|        case '=': return NOTEQUAL;
  ------------------
  |  |   44|  1.04k|#define NOTEQUAL        28
  ------------------
  |  Branch (121:9): [True: 1.04k, False: 6.12k]
  ------------------
  122|  7.16k|        }
  123|  6.12k|        break;
  124|  37.8k|    case '%':
  ------------------
  |  Branch (124:5): [True: 37.8k, False: 2.44M]
  ------------------
  125|  37.8k|        switch (c2) {
  ------------------
  |  Branch (125:17): [True: 449, False: 37.3k]
  ------------------
  126|    449|        case '=': return PERCENTEQUAL;
  ------------------
  |  |   56|    449|#define PERCENTEQUAL    40
  ------------------
  |  Branch (126:9): [True: 449, False: 37.3k]
  ------------------
  127|  37.8k|        }
  128|  37.3k|        break;
  129|  37.3k|    case '&':
  ------------------
  |  Branch (129:5): [True: 18.6k, False: 2.45M]
  ------------------
  130|  18.6k|        switch (c2) {
  ------------------
  |  Branch (130:17): [True: 790, False: 17.8k]
  ------------------
  131|    790|        case '=': return AMPEREQUAL;
  ------------------
  |  |   57|    790|#define AMPEREQUAL      41
  ------------------
  |  Branch (131:9): [True: 790, False: 17.8k]
  ------------------
  132|  18.6k|        }
  133|  17.8k|        break;
  134|   288k|    case '*':
  ------------------
  |  Branch (134:5): [True: 288k, False: 2.18M]
  ------------------
  135|   288k|        switch (c2) {
  ------------------
  |  Branch (135:17): [True: 89.6k, False: 199k]
  ------------------
  136|  87.6k|        case '*': return DOUBLESTAR;
  ------------------
  |  |   51|  87.6k|#define DOUBLESTAR      35
  ------------------
  |  Branch (136:9): [True: 87.6k, False: 201k]
  ------------------
  137|  2.08k|        case '=': return STAREQUAL;
  ------------------
  |  |   54|  2.08k|#define STAREQUAL       38
  ------------------
  |  Branch (137:9): [True: 2.08k, False: 286k]
  ------------------
  138|   288k|        }
  139|   199k|        break;
  140|   211k|    case '+':
  ------------------
  |  Branch (140:5): [True: 211k, False: 2.26M]
  ------------------
  141|   211k|        switch (c2) {
  ------------------
  |  Branch (141:17): [True: 1.86k, False: 209k]
  ------------------
  142|  1.86k|        case '=': return PLUSEQUAL;
  ------------------
  |  |   52|  1.86k|#define PLUSEQUAL       36
  ------------------
  |  Branch (142:9): [True: 1.86k, False: 209k]
  ------------------
  143|   211k|        }
  144|   209k|        break;
  145|   318k|    case '-':
  ------------------
  |  Branch (145:5): [True: 318k, False: 2.15M]
  ------------------
  146|   318k|        switch (c2) {
  ------------------
  |  Branch (146:17): [True: 2.61k, False: 315k]
  ------------------
  147|     59|        case '=': return MINEQUAL;
  ------------------
  |  |   53|     59|#define MINEQUAL        37
  ------------------
  |  Branch (147:9): [True: 59, False: 318k]
  ------------------
  148|  2.56k|        case '>': return RARROW;
  ------------------
  |  |   67|  2.56k|#define RARROW          51
  ------------------
  |  Branch (148:9): [True: 2.56k, False: 316k]
  ------------------
  149|   318k|        }
  150|   315k|        break;
  151|   315k|    case '/':
  ------------------
  |  Branch (151:5): [True: 85.1k, False: 2.39M]
  ------------------
  152|  85.1k|        switch (c2) {
  ------------------
  |  Branch (152:17): [True: 21.4k, False: 63.6k]
  ------------------
  153|  20.8k|        case '/': return DOUBLESLASH;
  ------------------
  |  |   63|  20.8k|#define DOUBLESLASH     47
  ------------------
  |  Branch (153:9): [True: 20.8k, False: 64.2k]
  ------------------
  154|    630|        case '=': return SLASHEQUAL;
  ------------------
  |  |   55|    630|#define SLASHEQUAL      39
  ------------------
  |  Branch (154:9): [True: 630, False: 84.4k]
  ------------------
  155|  85.1k|        }
  156|  63.6k|        break;
  157|   159k|    case ':':
  ------------------
  |  Branch (157:5): [True: 159k, False: 2.31M]
  ------------------
  158|   159k|        switch (c2) {
  ------------------
  |  Branch (158:17): [True: 3.34k, False: 155k]
  ------------------
  159|  3.34k|        case '=': return COLONEQUAL;
  ------------------
  |  |   69|  3.34k|#define COLONEQUAL      53
  ------------------
  |  Branch (159:9): [True: 3.34k, False: 155k]
  ------------------
  160|   159k|        }
  161|   155k|        break;
  162|   155k|    case '<':
  ------------------
  |  Branch (162:5): [True: 35.2k, False: 2.44M]
  ------------------
  163|  35.2k|        switch (c2) {
  ------------------
  |  Branch (163:17): [True: 13.1k, False: 22.0k]
  ------------------
  164|  9.84k|        case '<': return LEFTSHIFT;
  ------------------
  |  |   49|  9.84k|#define LEFTSHIFT       33
  ------------------
  |  Branch (164:9): [True: 9.84k, False: 25.3k]
  ------------------
  165|  3.09k|        case '=': return LESSEQUAL;
  ------------------
  |  |   45|  3.09k|#define LESSEQUAL       29
  ------------------
  |  Branch (165:9): [True: 3.09k, False: 32.1k]
  ------------------
  166|    216|        case '>': return BARRY_AS_BDFL ? NOTEQUAL : OP;
  ------------------
  |  |   44|      7|#define NOTEQUAL        28
  ------------------
                      case '>': return BARRY_AS_BDFL ? NOTEQUAL : OP;
  ------------------
  |  |   71|    209|#define OP              55
  ------------------
  |  Branch (166:9): [True: 216, False: 35.0k]
  |  Branch (166:26): [True: 7, False: 209]
  ------------------
  167|  35.2k|        }
  168|  22.0k|        break;
  169|  95.6k|    case '=':
  ------------------
  |  Branch (169:5): [True: 95.6k, False: 2.38M]
  ------------------
  170|  95.6k|        switch (c2) {
  ------------------
  |  Branch (170:17): [True: 3.57k, False: 92.0k]
  ------------------
  171|  3.57k|        case '=': return EQEQUAL;
  ------------------
  |  |   43|  3.57k|#define EQEQUAL         27
  ------------------
  |  Branch (171:9): [True: 3.57k, False: 92.0k]
  ------------------
  172|  95.6k|        }
  173|  92.0k|        break;
  174|  92.0k|    case '>':
  ------------------
  |  Branch (174:5): [True: 36.2k, False: 2.44M]
  ------------------
  175|  36.2k|        switch (c2) {
  ------------------
  |  Branch (175:17): [True: 16.3k, False: 19.9k]
  ------------------
  176|  4.31k|        case '=': return GREATEREQUAL;
  ------------------
  |  |   46|  4.31k|#define GREATEREQUAL    30
  ------------------
  |  Branch (176:9): [True: 4.31k, False: 31.9k]
  ------------------
  177|  12.0k|        case '>': return RIGHTSHIFT;
  ------------------
  |  |   50|  12.0k|#define RIGHTSHIFT      34
  ------------------
  |  Branch (177:9): [True: 12.0k, False: 24.2k]
  ------------------
  178|  36.2k|        }
  179|  19.9k|        break;
  180|  19.9k|    case '@':
  ------------------
  |  Branch (180:5): [True: 15.4k, False: 2.46M]
  ------------------
  181|  15.4k|        switch (c2) {
  ------------------
  |  Branch (181:17): [True: 187, False: 15.2k]
  ------------------
  182|    187|        case '=': return ATEQUAL;
  ------------------
  |  |   66|    187|#define ATEQUAL         50
  ------------------
  |  Branch (182:9): [True: 187, False: 15.2k]
  ------------------
  183|  15.4k|        }
  184|  15.2k|        break;
  185|  37.6k|    case '^':
  ------------------
  |  Branch (185:5): [True: 37.6k, False: 2.44M]
  ------------------
  186|  37.6k|        switch (c2) {
  ------------------
  |  Branch (186:17): [True: 1.05k, False: 36.6k]
  ------------------
  187|  1.05k|        case '=': return CIRCUMFLEXEQUAL;
  ------------------
  |  |   59|  1.05k|#define CIRCUMFLEXEQUAL 43
  ------------------
  |  Branch (187:9): [True: 1.05k, False: 36.6k]
  ------------------
  188|  37.6k|        }
  189|  36.6k|        break;
  190|  36.6k|    case '|':
  ------------------
  |  Branch (190:5): [True: 14.1k, False: 2.46M]
  ------------------
  191|  14.1k|        switch (c2) {
  ------------------
  |  Branch (191:17): [True: 439, False: 13.7k]
  ------------------
  192|    439|        case '=': return VBAREQUAL;
  ------------------
  |  |   58|    439|#define VBAREQUAL       42
  ------------------
  |  Branch (192:9): [True: 439, False: 13.7k]
  ------------------
  193|  14.1k|        }
  194|  13.7k|        break;
  195|  2.47M|    }
  196|  2.32M|    return OP;
  ------------------
  |  |   71|  2.32M|#define OP              55
  ------------------
  197|  2.47M|}
_PyToken_ThreeChars:
  201|   155k|{
  202|   155k|    switch (c1) {
  ------------------
  |  Branch (202:13): [True: 140k, False: 15.3k]
  ------------------
  203|  89.6k|    case '*':
  ------------------
  |  Branch (203:5): [True: 89.6k, False: 66.1k]
  ------------------
  204|  89.6k|        switch (c2) {
  ------------------
  |  Branch (204:17): [True: 87.6k, False: 2.08k]
  ------------------
  205|  87.6k|        case '*':
  ------------------
  |  Branch (205:9): [True: 87.6k, False: 2.08k]
  ------------------
  206|  87.6k|            switch (c3) {
  ------------------
  |  Branch (206:21): [True: 105, False: 87.4k]
  ------------------
  207|    105|            case '=': return DOUBLESTAREQUAL;
  ------------------
  |  |   62|    105|#define DOUBLESTAREQUAL 46
  ------------------
  |  Branch (207:13): [True: 105, False: 87.4k]
  ------------------
  208|  87.6k|            }
  209|  87.4k|            break;
  210|  89.6k|        }
  211|  89.5k|        break;
  212|  89.5k|    case '.':
  ------------------
  |  Branch (212:5): [True: 0, False: 155k]
  ------------------
  213|      0|        switch (c2) {
  ------------------
  |  Branch (213:17): [True: 0, False: 0]
  ------------------
  214|      0|        case '.':
  ------------------
  |  Branch (214:9): [True: 0, False: 0]
  ------------------
  215|      0|            switch (c3) {
  ------------------
  |  Branch (215:21): [True: 0, False: 0]
  ------------------
  216|      0|            case '.': return ELLIPSIS;
  ------------------
  |  |   68|      0|#define ELLIPSIS        52
  ------------------
  |  Branch (216:13): [True: 0, False: 0]
  ------------------
  217|      0|            }
  218|      0|            break;
  219|      0|        }
  220|      0|        break;
  221|  21.4k|    case '/':
  ------------------
  |  Branch (221:5): [True: 21.4k, False: 134k]
  ------------------
  222|  21.4k|        switch (c2) {
  ------------------
  |  Branch (222:17): [True: 20.8k, False: 630]
  ------------------
  223|  20.8k|        case '/':
  ------------------
  |  Branch (223:9): [True: 20.8k, False: 630]
  ------------------
  224|  20.8k|            switch (c3) {
  ------------------
  |  Branch (224:21): [True: 292, False: 20.5k]
  ------------------
  225|    292|            case '=': return DOUBLESLASHEQUAL;
  ------------------
  |  |   64|    292|#define DOUBLESLASHEQUAL 48
  ------------------
  |  Branch (225:13): [True: 292, False: 20.5k]
  ------------------
  226|  20.8k|            }
  227|  20.5k|            break;
  228|  21.4k|        }
  229|  21.2k|        break;
  230|  21.2k|    case '<':
  ------------------
  |  Branch (230:5): [True: 12.9k, False: 142k]
  ------------------
  231|  12.9k|        switch (c2) {
  ------------------
  |  Branch (231:17): [True: 9.84k, False: 3.10k]
  ------------------
  232|  9.84k|        case '<':
  ------------------
  |  Branch (232:9): [True: 9.84k, False: 3.10k]
  ------------------
  233|  9.84k|            switch (c3) {
  ------------------
  |  Branch (233:21): [True: 374, False: 9.46k]
  ------------------
  234|    374|            case '=': return LEFTSHIFTEQUAL;
  ------------------
  |  |   60|    374|#define LEFTSHIFTEQUAL  44
  ------------------
  |  Branch (234:13): [True: 374, False: 9.46k]
  ------------------
  235|  9.84k|            }
  236|  9.46k|            break;
  237|  12.9k|        }
  238|  12.5k|        break;
  239|  16.3k|    case '>':
  ------------------
  |  Branch (239:5): [True: 16.3k, False: 139k]
  ------------------
  240|  16.3k|        switch (c2) {
  ------------------
  |  Branch (240:17): [True: 12.0k, False: 4.31k]
  ------------------
  241|  12.0k|        case '>':
  ------------------
  |  Branch (241:9): [True: 12.0k, False: 4.31k]
  ------------------
  242|  12.0k|            switch (c3) {
  ------------------
  |  Branch (242:21): [True: 176, False: 11.8k]
  ------------------
  243|    176|            case '=': return RIGHTSHIFTEQUAL;
  ------------------
  |  |   61|    176|#define RIGHTSHIFTEQUAL 45
  ------------------
  |  Branch (243:13): [True: 176, False: 11.8k]
  ------------------
  244|  12.0k|            }
  245|  11.8k|            break;
  246|  16.3k|        }
  247|  16.1k|        break;
  248|   155k|    }
  249|   154k|    return OP;
  ------------------
  |  |   71|   154k|#define OP              55
  ------------------
  250|   155k|}

_PyTokenizer_GetStatus:
   12|  13.9k|{
   13|  13.9k|    return tok->done;
   14|  13.9k|}
_PyTokenizer_GetNewlineRequirements:
   18|  10.1k|{
   19|  10.1k|    return tok->needs_newline;
   20|  10.1k|}
_PyTokenizer_GetInfo:
   24|  45.7k|{
   25|  45.7k|    _PyTokenizer_Info info = {
   26|  45.7k|        .status = tok->done,
   27|  45.7k|        .implicit_newline = tok->implicit_newline,
   28|  45.7k|        .diagnostic = tok->diagnostic,
   29|  45.7k|        .location = {tok->lineno, tok->line_start < 0
  ------------------
  |  Branch (29:35): [True: 0, False: 45.7k]
  ------------------
   30|  45.7k|            ? -1 : (int)(tok->cur - tok->line_start)},
   31|  45.7k|        .cursor = tok->cur,
   32|  45.7k|        .input_span = {tok->buf_offset, tok->inp},
   33|  45.7k|        .line_span = {tok->line_start, tok->inp},
   34|  45.7k|        .level = tok->level,
   35|  45.7k|        .delimiter_loc = {-1, -1},
   36|  45.7k|        .in_formatted_string = tok->ftstring_depth != 0,
   37|  45.7k|        .is_interactive = _PyTok_ReaderIsInteractive(tok),
   38|  45.7k|        .is_file = tok->reader->fp != NULL && tok->reader->fp != stdin,
  ------------------
  |  Branch (38:20): [True: 0, False: 45.7k]
  |  Branch (38:47): [True: 0, False: 0]
  ------------------
   39|  45.7k|        .filename = tok->filename,
   40|  45.7k|        .module = tok->module,
   41|  45.7k|        .encoding = tok->reader->encoding,
   42|  45.7k|    };
   43|  45.7k|    if (tok->level > 0) {
  ------------------
  |  Branch (43:9): [True: 19.6k, False: 26.1k]
  ------------------
   44|  19.6k|        int level = tok->level - 1;
   45|  19.6k|        info.delimiter = tok->parenstack[level];
   46|  19.6k|        info.delimiter_loc = (_PyTok_Loc){
   47|  19.6k|            tok->parenlinenostack[level], tok->parencolstack[level]};
   48|  19.6k|    }
   49|  45.7k|    return info;
   50|  45.7k|}
_PyToken_TextView:
   55|  1.96M|{
   56|  1.96M|    assert(length != NULL);
  ------------------
  |  Branch (56:5): [True: 1.96M, False: 0]
  ------------------
   57|  1.96M|    if (token->span.start < 0) {
  ------------------
  |  Branch (57:9): [True: 0, False: 1.96M]
  ------------------
   58|      0|        assert(token->span.start == -1 && token->span.end == -1);
  ------------------
  |  Branch (58:9): [True: 0, False: 0]
  |  Branch (58:9): [True: 0, False: 0]
  ------------------
   59|      0|        *length = 0;
   60|      0|        return "";
   61|      0|    }
   62|  1.96M|    return _PyTok_SourceSpanView(&tok->source, token->span, length);
   63|  1.96M|}
_PyTokenizer_SpanView:
   68|  8.70k|{
   69|  8.70k|    return _PyTok_SourceSpanView(&tok->source, span, length);
   70|  8.70k|}
_PyTokenizer_LineView:
   91|    405|{
   92|    405|    return _PyTok_SourceLineView(&tok->source, lineno, length);
   93|    405|}
_PyTokenizer_SetContext:
   98|  24.7k|{
   99|  24.7k|    Py_XINCREF(filename);
  ------------------
  |  |  611|  24.7k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  100|  24.7k|    Py_XINCREF(module);
  ------------------
  |  |  611|  24.7k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  101|  24.7k|    Py_XSETREF(tok->filename, filename);
  ------------------
  |  |  576|  24.7k|    do { \
  |  |  577|  24.7k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  24.7k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  24.7k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  24.7k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  24.7k|        *_tmp_dst_ptr = (src); \
  |  |  580|  24.7k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  24.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  24.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  24.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 24.7k]
  |  |  ------------------
  ------------------
  102|  24.7k|    Py_XSETREF(tok->module, module);
  ------------------
  |  |  576|  24.7k|    do { \
  |  |  577|  24.7k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  24.7k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  24.7k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  24.7k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  24.7k|        *_tmp_dst_ptr = (src); \
  |  |  580|  24.7k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  24.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  24.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  24.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 24.7k]
  |  |  ------------------
  ------------------
  103|  24.7k|}
_PyTokenizer_SetOptions:
  108|  24.7k|{
  109|  24.7k|    tok->tok_extra_tokens = extra_tokens;
  110|  24.7k|    tok->type_comments = type_comments;
  111|  24.7k|}
_PyTokenizer_ImplyDedents:
  115|    686|{
  116|    686|    _PyLexer_ImplyDedents(tok);
  117|    686|}
_PyTokenizer_AllowIncompleteInput:
  121|  34.1k|{
  122|  34.1k|    tok->allow_incomplete_input = allow != 0;
  123|  34.1k|}
_PyTokenizer_HasTrailingStatement:
  127|  2.76k|{
  128|  2.76k|    _PyTok_Off cur = tok->cur;
  129|  2.76k|    _PyTok_Off end = tok->source.base_offset + tok->source.len;
  130|  3.71k|    while (cur < end) {
  ------------------
  |  Branch (130:12): [True: 958, False: 2.75k]
  ------------------
  131|    958|        int c = _PyTok_SourceByte(&tok->source, cur++);
  132|    958|        if (c == '\0') {
  ------------------
  |  Branch (132:13): [True: 0, False: 958]
  ------------------
  133|      0|            return 0;
  134|      0|        }
  135|    958|        if (c == ' ' || c == '\t' || c == '\n' || c == '\014') {
  ------------------
  |  Branch (135:13): [True: 112, False: 846]
  |  Branch (135:25): [True: 177, False: 669]
  |  Branch (135:38): [True: 301, False: 368]
  |  Branch (135:51): [True: 176, False: 192]
  ------------------
  136|    766|            continue;
  137|    766|        }
  138|    192|        if (c != '#') {
  ------------------
  |  Branch (138:13): [True: 10, False: 182]
  ------------------
  139|     10|            return 1;
  140|     10|        }
  141|    610|        while (cur < end) {
  ------------------
  |  Branch (141:16): [True: 607, False: 3]
  ------------------
  142|    607|            c = _PyTok_SourceByte(&tok->source, cur);
  143|    607|            if (c == '\0' || c == '\n') {
  ------------------
  |  Branch (143:17): [True: 0, False: 607]
  |  Branch (143:30): [True: 179, False: 428]
  ------------------
  144|    179|                break;
  145|    179|            }
  146|    428|            cur++;
  147|    428|        }
  148|    182|    }
  149|  2.75k|    return 0;
  150|  2.76k|}
_PyTokenizer_IsInteractive:
  154|  6.46k|{
  155|  6.46k|    return _PyTok_ReaderIsInteractive(tok);
  156|  6.46k|}
_PyTokenizer_StopInteractive:
  160|  9.43k|{
  161|  9.43k|    _PyTok_ReaderStopInteractive(tok);
  162|  9.43k|}

_PyTok_CopyBytes:
   20|  16.3k|{
   21|  16.3k|    if (len < 0 || len == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  16.3k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (21:9): [True: 0, False: 16.3k]
  |  Branch (21:20): [True: 0, False: 16.3k]
  ------------------
   22|      0|        PyErr_NoMemory();
   23|      0|        return NULL;
   24|      0|    }
   25|  16.3k|    char *copy = PyMem_Malloc((size_t)len + 1);
   26|  16.3k|    if (copy == NULL) {
  ------------------
  |  Branch (26:9): [True: 0, False: 16.3k]
  ------------------
   27|      0|        PyErr_NoMemory();
   28|      0|        return NULL;
   29|      0|    }
   30|  16.3k|    memcpy(copy, data, (size_t)len);
   31|  16.3k|    copy[len] = '\0';
   32|  16.3k|    return copy;
   33|  16.3k|}
_PyTok_ChunkClear:
   52|   474k|{
   53|   474k|    chunk_release_data(chunk);
   54|   474k|    *chunk = (_PyTok_Chunk){0};
   55|   474k|}
_PyTok_SetEncoding:
  113|  11.6k|{
  114|  11.6k|    char *copy = _PyTok_CopyBytes(encoding, strlen(encoding));
  115|  11.6k|    if (copy == NULL) {
  ------------------
  |  Branch (115:9): [True: 0, False: 11.6k]
  ------------------
  116|      0|        tok->done = E_NOMEM;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
  117|      0|        return -1;
  118|      0|    }
  119|  11.6k|    PyMem_Free(tok->reader->encoding);
  120|  11.6k|    tok->reader->encoding = copy;
  121|  11.6k|    return 0;
  122|  11.6k|}
_PyTok_DetectEncoding:
  204|  14.6k|{
  205|  14.6k|    int bom = first->len >= UTF8_BOM_LENGTH &&
  ------------------
  |  |   16|  29.3k|#define UTF8_BOM_LENGTH ((Py_ssize_t)(sizeof(UTF8_BOM) - 1))
  |  |  ------------------
  |  |  |  |   15|  14.6k|#define UTF8_BOM "\xef\xbb\xbf"
  |  |  ------------------
  ------------------
  |  Branch (205:15): [True: 13.7k, False: 904]
  ------------------
  206|  13.7k|        memcmp(first->data, UTF8_BOM, UTF8_BOM_LENGTH) == 0;
  ------------------
  |  |   15|  13.7k|#define UTF8_BOM "\xef\xbb\xbf"
  ------------------
                      memcmp(first->data, UTF8_BOM, UTF8_BOM_LENGTH) == 0;
  ------------------
  |  |   16|  13.7k|#define UTF8_BOM_LENGTH ((Py_ssize_t)(sizeof(UTF8_BOM) - 1))
  |  |  ------------------
  |  |  |  |   15|  13.7k|#define UTF8_BOM "\xef\xbb\xbf"
  |  |  ------------------
  ------------------
  |  Branch (206:9): [True: 9, False: 13.7k]
  ------------------
  207|  14.6k|    *bom_len = bom ? UTF8_BOM_LENGTH : 0;
  ------------------
  |  |   16|      9|#define UTF8_BOM_LENGTH ((Py_ssize_t)(sizeof(UTF8_BOM) - 1))
  |  |  ------------------
  |  |  |  |   15|      9|#define UTF8_BOM "\xef\xbb\xbf"
  |  |  ------------------
  ------------------
  |  Branch (207:16): [True: 9, False: 14.6k]
  ------------------
  208|       |
  209|  14.6k|    char *cookie = NULL;
  210|  14.6k|    int scan_next = 0;
  211|  14.6k|    int cookie_line = 1;
  212|  14.6k|    const char *first_data = first->data + *bom_len;
  213|  14.6k|    Py_ssize_t first_len = first->len - *bom_len;
  214|  14.6k|    if (find_cookie(first_data, first_len, &cookie, &scan_next) < 0) {
  ------------------
  |  Branch (214:9): [True: 0, False: 14.6k]
  ------------------
  215|      0|        return _PYTOK_ENCODING_ERROR;
  216|      0|    }
  217|  14.6k|    if (cookie == NULL && scan_next && second != NULL) {
  ------------------
  |  Branch (217:9): [True: 10.0k, False: 4.66k]
  |  Branch (217:27): [True: 888, False: 9.14k]
  |  Branch (217:40): [True: 811, False: 77]
  ------------------
  218|    811|        if (find_cookie(second->data, second->len, &cookie, &scan_next) < 0) {
  ------------------
  |  Branch (218:13): [True: 0, False: 811]
  ------------------
  219|      0|            return _PYTOK_ENCODING_ERROR;
  220|      0|        }
  221|    811|        cookie_line = 2;
  222|    811|    }
  223|  13.8k|    else if (cookie == NULL && scan_next && !final) {
  ------------------
  |  Branch (223:14): [True: 9.21k, False: 4.66k]
  |  Branch (223:32): [True: 77, False: 9.14k]
  |  Branch (223:45): [True: 0, False: 77]
  ------------------
  224|      0|        return _PYTOK_ENCODING_NEED_SECOND_LINE;
  225|      0|    }
  226|       |
  227|  14.6k|    if (cookie == NULL) {
  ------------------
  |  Branch (227:9): [True: 10.0k, False: 4.68k]
  ------------------
  228|  10.0k|        if (bom && _PyTok_SetEncoding(tok, "utf-8") < 0) {
  ------------------
  |  Branch (228:13): [True: 2, False: 10.0k]
  |  Branch (228:20): [True: 0, False: 2]
  ------------------
  229|      0|            return _PYTOK_ENCODING_ERROR;
  230|      0|        }
  231|  10.0k|        return _PYTOK_ENCODING_DONE;
  232|  10.0k|    }
  233|  4.68k|    if (bom && strcmp(cookie, "utf-8") != 0) {
  ------------------
  |  Branch (233:9): [True: 7, False: 4.67k]
  |  Branch (233:16): [True: 7, False: 0]
  ------------------
  234|      7|        const _PyTok_Chunk *line = cookie_line == 2 ? second : first;
  ------------------
  |  Branch (234:36): [True: 3, False: 4]
  ------------------
  235|      7|        const char *line_data = line->data + (cookie_line == 1 ? *bom_len : 0);
  ------------------
  |  Branch (235:47): [True: 4, False: 3]
  ------------------
  236|      7|        Py_ssize_t line_len = line->len - (cookie_line == 1 ? *bom_len : 0);
  ------------------
  |  Branch (236:44): [True: 4, False: 3]
  ------------------
  237|      7|        int end_col = (int)Py_MIN(line_len, INT_MAX);
  ------------------
  |  |  127|      7|       __extension__ \
  |  |  128|      7|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      7|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      7|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 7, False: 0]
  |  |  ------------------
  ------------------
  238|      7|        if (end_col > 0 && (line_data[end_col - 1] == '\n' ||
  ------------------
  |  Branch (238:13): [True: 7, False: 0]
  |  Branch (238:29): [True: 2, False: 5]
  ------------------
  239|      5|                            line_data[end_col - 1] == '\r')) {
  ------------------
  |  Branch (239:29): [True: 2, False: 3]
  ------------------
  240|      4|            end_col--;
  241|      4|        }
  242|      7|        _PyTokenizer_syntaxerror_at(
  243|      7|            tok, line_data, 0, cookie_line, 0, end_col,
  244|      7|            "encoding problem: %s with BOM", cookie);
  245|      7|        PyMem_Free(cookie);
  246|      7|        return _PYTOK_ENCODING_ERROR;
  247|      7|    }
  248|  4.67k|    PyMem_Free(tok->reader->encoding);
  249|  4.67k|    tok->reader->encoding = cookie;
  250|  4.67k|    return _PYTOK_ENCODING_DONE;
  251|  4.68k|}
_PyTok_DecodeOnce:
  256|  4.67k|{
  257|  4.67k|    PyObject *unicode = PyUnicode_Decode(
  258|  4.67k|        chunk->data, chunk->len, encoding, errors);
  259|  4.67k|    if (unicode == NULL) {
  ------------------
  |  Branch (259:9): [True: 1.46k, False: 3.21k]
  ------------------
  260|  1.46k|        tok->done = PyErr_ExceptionMatches(PyExc_MemoryError)
  ------------------
  |  Branch (260:21): [True: 0, False: 1.46k]
  ------------------
  261|  1.46k|            ? E_NOMEM : E_DECODE;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
                          ? E_NOMEM : E_DECODE;
  ------------------
  |  |   34|  2.92k|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  262|  1.46k|        return -1;
  263|  1.46k|    }
  264|  3.21k|    return chunk_set_unicode(tok, chunk, unicode, 0);
  265|  4.67k|}
_PyTok_PrepareString:
  347|  26.3k|{
  348|  26.3k|    Py_ssize_t raw_len = strlen(input);
  349|  26.3k|    char *raw = (char *)input;
  350|       |
  351|  26.3k|    if (utf8_only) {
  ------------------
  |  Branch (351:9): [True: 11.6k, False: 14.6k]
  ------------------
  352|  11.6k|        if (_PyTok_SetEncoding(tok, "utf-8") < 0) {
  ------------------
  |  Branch (352:13): [True: 0, False: 11.6k]
  ------------------
  353|      0|            return -1;
  354|      0|        }
  355|  11.6k|    }
  356|  14.6k|    else {
  357|  14.6k|        Py_ssize_t first_original_len = raw_line_length(raw, raw_len);
  358|  14.6k|        _PyTok_Chunk first = {
  359|  14.6k|            .data = raw,
  360|  14.6k|            .len = first_original_len,
  361|  14.6k|            .ownership = _PYTOK_CHUNK_BORROWED,
  362|  14.6k|        };
  363|  14.6k|        _PyTok_Chunk second = {0};
  364|  14.6k|        int have_second = first_original_len < raw_len;
  365|  14.6k|        if (have_second) {
  ------------------
  |  Branch (365:13): [True: 5.20k, False: 9.49k]
  ------------------
  366|  5.20k|            second.data = raw + first_original_len;
  367|  5.20k|            second.len = raw_line_length(second.data,
  368|  5.20k|                                         raw_len - first_original_len);
  369|  5.20k|        }
  370|  14.6k|        Py_ssize_t bom_len;
  371|  14.6k|        _PyTok_EncodingResult detection = _PyTok_DetectEncoding(
  372|  14.6k|            tok, &first, have_second ? &second : NULL, 1, &bom_len);
  ------------------
  |  Branch (372:26): [True: 5.20k, False: 9.49k]
  ------------------
  373|  14.6k|        if (detection == _PYTOK_ENCODING_ERROR) {
  ------------------
  |  Branch (373:13): [True: 7, False: 14.6k]
  ------------------
  374|      7|            return -1;
  375|      7|        }
  376|  14.6k|        raw += bom_len;
  377|  14.6k|        raw_len -= bom_len;
  378|  14.6k|    }
  379|       |
  380|  26.3k|    _PyTok_Chunk decoded = {
  381|  26.3k|        .data = raw,
  382|  26.3k|        .len = raw_len,
  383|  26.3k|        .ownership = _PYTOK_CHUNK_BORROWED,
  384|  26.3k|    };
  385|  26.3k|    const char *encoding = tok->reader->encoding;
  386|  26.3k|    if (encoding != NULL && strcmp(encoding, "utf-8") != 0) {
  ------------------
  |  Branch (386:9): [True: 16.3k, False: 10.0k]
  |  Branch (386:29): [True: 4.67k, False: 11.6k]
  ------------------
  387|  4.67k|        if (_PyTok_DecodeOnce(
  ------------------
  |  Branch (387:13): [True: 1.49k, False: 3.18k]
  ------------------
  388|  4.67k|                tok, &decoded, encoding, NULL) < 0) {
  389|  1.49k|            return -1;
  390|  1.49k|        }
  391|  4.67k|    }
  392|       |
  393|  24.8k|    int stored = store_prepared_source(
  394|  24.8k|        tok, decoded.data, decoded.len, preserve_crlf, exec_input);
  395|  24.8k|    _PyTok_ChunkClear(&decoded);
  396|  24.8k|    if (stored < 0) {
  ------------------
  |  Branch (396:9): [True: 0, False: 24.8k]
  ------------------
  397|      0|        return -1;
  398|      0|    }
  399|  24.8k|    if (!utf8_only &&
  ------------------
  |  Branch (399:9): [True: 13.1k, False: 11.6k]
  ------------------
  400|  13.1k|            (encoding == NULL || strcmp(encoding, "utf-8") == 0) &&
  ------------------
  |  Branch (400:14): [True: 10.0k, False: 3.18k]
  |  Branch (400:34): [True: 4, False: 3.18k]
  ------------------
  401|  10.0k|            !_PyTokenizer_ensure_utf8(_PyTok_SourceData(&tok->source), tok, 1)) {
  ------------------
  |  Branch (401:13): [True: 155, False: 9.86k]
  ------------------
  402|    155|        return -1;
  403|    155|    }
  404|  24.7k|    return 0;
  405|  24.8k|}
decoder.c:chunk_release_data:
   37|   478k|{
   38|   478k|    switch (chunk->ownership) {
  ------------------
  |  Branch (38:13): [True: 478k, False: 0]
  ------------------
   39|   474k|        case _PYTOK_CHUNK_BORROWED:
  ------------------
  |  Branch (39:9): [True: 474k, False: 3.18k]
  ------------------
   40|   474k|            break;
   41|      0|        case _PYTOK_CHUNK_PYMEM:
  ------------------
  |  Branch (41:9): [True: 0, False: 478k]
  ------------------
   42|      0|            PyMem_Free(chunk->data);
   43|      0|            break;
   44|  3.18k|        case _PYTOK_CHUNK_PYOBJECT:
  ------------------
  |  Branch (44:9): [True: 3.18k, False: 474k]
  ------------------
   45|  3.18k|            Py_DECREF(chunk->owner);
  ------------------
  |  |  430|  3.18k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   46|  3.18k|            break;
   47|   478k|    }
   48|   478k|}
decoder.c:find_cookie:
  126|  15.5k|{
  127|  15.5k|    Py_ssize_t i = 0;
  128|  15.5k|    *encoding = NULL;
  129|  15.5k|    *scan_next = 1;
  130|  16.9k|    for (; i < len; i++) {
  ------------------
  |  Branch (130:12): [True: 16.8k, False: 41]
  ------------------
  131|  16.8k|        if (line[i] == '#') {
  ------------------
  |  Branch (131:13): [True: 5.02k, False: 11.8k]
  ------------------
  132|  5.02k|            break;
  133|  5.02k|        }
  134|  11.8k|        if (line[i] == '\n' || line[i] == '\r') {
  ------------------
  |  Branch (134:13): [True: 614, False: 11.2k]
  |  Branch (134:32): [True: 166, False: 11.0k]
  ------------------
  135|    780|            return 0;
  136|    780|        }
  137|  11.0k|        if (line[i] != ' ' && line[i] != '\t' && line[i] != '\f') {
  ------------------
  |  Branch (137:13): [True: 10.0k, False: 1.01k]
  |  Branch (137:31): [True: 9.75k, False: 314]
  |  Branch (137:50): [True: 9.66k, False: 91]
  ------------------
  138|  9.66k|            *scan_next = 0;
  139|  9.66k|            return 0;
  140|  9.66k|        }
  141|  11.0k|    }
  142|  5.06k|    const Py_ssize_t marker_len = sizeof("coding") - 1;
  143|   228k|    for (; i < len - marker_len; i++) {
  ------------------
  |  Branch (143:12): [True: 227k, False: 379]
  ------------------
  144|   227k|        if (memcmp(line + i, "coding", marker_len) != 0) {
  ------------------
  |  Branch (144:13): [True: 222k, False: 5.34k]
  ------------------
  145|   222k|            continue;
  146|   222k|        }
  147|  5.34k|        const char *cursor = line + i + marker_len;
  148|  5.34k|        if (*cursor != ':' && *cursor != '=') {
  ------------------
  |  Branch (148:13): [True: 1.29k, False: 4.04k]
  |  Branch (148:31): [True: 292, False: 1.00k]
  ------------------
  149|    292|            continue;
  150|    292|        }
  151|  8.99k|        do {
  152|  8.99k|            cursor++;
  153|  8.99k|        } while (cursor < line + len &&
  ------------------
  |  Branch (153:18): [True: 8.98k, False: 5]
  ------------------
  154|  8.98k|                 (*cursor == ' ' || *cursor == '\t'));
  ------------------
  |  Branch (154:19): [True: 3.21k, False: 5.77k]
  |  Branch (154:37): [True: 732, False: 5.04k]
  ------------------
  155|  5.04k|        const char *start = cursor;
  156|  66.9k|        while (cursor < line + len &&
  ------------------
  |  Branch (156:16): [True: 66.6k, False: 304]
  ------------------
  157|  66.6k|                (Py_ISALNUM(*cursor) || *cursor == '-' ||
  ------------------
  |  |   26|   133k|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  170|  66.6k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|  66.6k|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|  66.6k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|  66.6k|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|  66.6k|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|  66.6k|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (26:24): [True: 57.7k, False: 8.88k]
  |  |  ------------------
  ------------------
  |  Branch (157:41): [True: 1.92k, False: 6.95k]
  ------------------
  158|  61.9k|                 *cursor == '_' || *cursor == '.')) {
  ------------------
  |  Branch (158:18): [True: 601, False: 6.35k]
  |  Branch (158:36): [True: 1.61k, False: 4.74k]
  ------------------
  159|  61.9k|            cursor++;
  160|  61.9k|        }
  161|  5.04k|        if (cursor == start) {
  ------------------
  |  Branch (161:13): [True: 363, False: 4.68k]
  ------------------
  162|    363|            continue;
  163|    363|        }
  164|  4.68k|        Py_ssize_t encoding_len = cursor - start;
  165|       |        // Include the longest recognized prefix and its NUL terminator.
  166|  4.68k|        char normalized[sizeof("iso-latin-1-")];
  167|  4.68k|        const Py_ssize_t prefix_len = Py_MIN(
  ------------------
  |  |  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.61k, False: 73]
  |  |  ------------------
  ------------------
  168|  4.68k|            encoding_len, (Py_ssize_t)sizeof(normalized) - 1);
  169|  4.68k|        Py_ssize_t n;
  170|  29.2k|        for (n = 0; n < prefix_len; n++) {
  ------------------
  |  Branch (170:21): [True: 24.6k, False: 4.68k]
  ------------------
  171|  24.6k|            normalized[n] = start[n] == '_' ? '-' : Py_TOLOWER(start[n]);
  ------------------
  |  |   32|  48.8k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|  24.2k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (171:29): [True: 363, False: 24.2k]
  ------------------
  172|  24.6k|        }
  173|  4.68k|        normalized[n] = '\0';
  174|  4.68k|        const char *canonical = start;
  175|  4.68k|        if (strcmp(normalized, "utf-8") == 0 ||
  ------------------
  |  Branch (175:13): [True: 1, False: 4.68k]
  ------------------
  176|  4.68k|                strncmp(normalized, "utf-8-", sizeof("utf-8-") - 1) == 0) {
  ------------------
  |  Branch (176:17): [True: 1, False: 4.68k]
  ------------------
  177|      2|            canonical = "utf-8";
  178|      2|        }
  179|  4.68k|        else if (strcmp(normalized, "latin-1") == 0 ||
  ------------------
  |  Branch (179:18): [True: 18, False: 4.66k]
  ------------------
  180|  4.66k|                 strcmp(normalized, "iso-8859-1") == 0 ||
  ------------------
  |  Branch (180:18): [True: 1, False: 4.66k]
  ------------------
  181|  4.66k|                 strcmp(normalized, "iso-latin-1") == 0 ||
  ------------------
  |  Branch (181:18): [True: 1, False: 4.66k]
  ------------------
  182|  4.66k|                 strncmp(normalized, "latin-1-", sizeof("latin-1-") - 1) == 0 ||
  ------------------
  |  Branch (182:18): [True: 2, False: 4.66k]
  ------------------
  183|  4.66k|                 strncmp(normalized, "iso-8859-1-", sizeof("iso-8859-1-") - 1) == 0 ||
  ------------------
  |  Branch (183:18): [True: 1, False: 4.66k]
  ------------------
  184|  4.66k|                 strncmp(normalized, "iso-latin-1-", sizeof("iso-latin-1-") - 1) == 0) {
  ------------------
  |  Branch (184:18): [True: 0, False: 4.66k]
  ------------------
  185|     23|            canonical = "iso-8859-1";
  186|     23|        }
  187|  4.68k|        if (canonical != start) {
  ------------------
  |  Branch (187:13): [True: 25, False: 4.66k]
  ------------------
  188|     25|            encoding_len = strlen(canonical);
  189|     25|        }
  190|  4.68k|        *encoding = _PyTok_CopyBytes(canonical, encoding_len);
  191|  4.68k|        if (*encoding == NULL) {
  ------------------
  |  Branch (191:13): [True: 0, False: 4.68k]
  ------------------
  192|      0|            return -1;
  193|      0|        }
  194|  4.68k|        *scan_next = 0;
  195|  4.68k|        return 0;
  196|  4.68k|    }
  197|    379|    return 0;
  198|  5.06k|}
decoder.c:chunk_set_unicode:
   60|  3.21k|{
   61|  3.21k|    Py_ssize_t utf8_len;
   62|  3.21k|    const char *utf8 = PyUnicode_AsUTF8AndSize(unicode, &utf8_len);
   63|  3.21k|    if (utf8 == NULL) {
  ------------------
  |  Branch (63:9): [True: 34, False: 3.18k]
  ------------------
   64|     34|        Py_DECREF(unicode);
  ------------------
  |  |  430|     34|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   65|     34|        tok->done = PyErr_ExceptionMatches(PyExc_MemoryError)
  ------------------
  |  Branch (65:21): [True: 0, False: 34]
  ------------------
   66|     34|            ? E_NOMEM : E_DECODE;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
                          ? E_NOMEM : E_DECODE;
  ------------------
  |  |   34|     68|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
   67|     34|        return -1;
   68|     34|    }
   69|  3.18k|    if (strip_bom && PyUnicode_GET_LENGTH(unicode) > 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 (69:9): [True: 0, False: 3.18k]
  |  Branch (69:22): [True: 0, False: 0]
  ------------------
   70|      0|            PyUnicode_ReadChar(unicode, 0) == UNICODE_BOM) {
  ------------------
  |  |   11|      0|#define UNICODE_BOM 0xFEFF
  ------------------
  |  Branch (70:13): [True: 0, False: 0]
  ------------------
   71|      0|        utf8 += UTF8_BOM_LENGTH;
  ------------------
  |  |   16|      0|#define UTF8_BOM_LENGTH ((Py_ssize_t)(sizeof(UTF8_BOM) - 1))
  |  |  ------------------
  |  |  |  |   15|      0|#define UTF8_BOM "\xef\xbb\xbf"
  |  |  ------------------
  ------------------
   72|      0|        utf8_len -= UTF8_BOM_LENGTH;
  ------------------
  |  |   16|      0|#define UTF8_BOM_LENGTH ((Py_ssize_t)(sizeof(UTF8_BOM) - 1))
  |  |  ------------------
  |  |  |  |   15|      0|#define UTF8_BOM "\xef\xbb\xbf"
  |  |  ------------------
  ------------------
   73|      0|    }
   74|  3.18k|    chunk_release_data(chunk);
   75|  3.18k|    chunk->owner = unicode;
   76|  3.18k|    chunk->data = (char *)utf8;
   77|  3.18k|    chunk->len = utf8_len;
   78|  3.18k|    chunk->ownership = _PYTOK_CHUNK_PYOBJECT;
   79|  3.18k|    return 0;
   80|  3.21k|}
decoder.c:raw_line_length:
  269|   424k|{
  270|  26.2M|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (270:28): [True: 26.2M, False: 35.0k]
  ------------------
  271|  26.2M|        if (data[i] == '\n') {
  ------------------
  |  Branch (271:13): [True: 262k, False: 26.0M]
  ------------------
  272|   262k|            return i + 1;
  273|   262k|        }
  274|  26.0M|        if (data[i] == '\r') {
  ------------------
  |  Branch (274:13): [True: 127k, False: 25.8M]
  ------------------
  275|   127k|            return i + 1 < len && data[i + 1] == '\n' ? i + 2 : i + 1;
  ------------------
  |  Branch (275:20): [True: 127k, False: 142]
  |  Branch (275:35): [True: 313, False: 127k]
  ------------------
  276|   127k|        }
  277|  26.0M|    }
  278|  35.0k|    return len;
  279|   424k|}
decoder.c:store_prepared_source:
  284|  24.8k|{
  285|  24.8k|    Py_ssize_t pos = 0;
  286|   429k|    while (pos < len) {
  ------------------
  |  Branch (286:12): [True: 405k, False: 24.8k]
  ------------------
  287|   405k|        Py_ssize_t raw_line_len;
  288|   405k|        if (preserve_crlf) {
  ------------------
  |  Branch (288:13): [True: 0, False: 405k]
  ------------------
  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|   405k|        else {
  294|   405k|            raw_line_len = raw_line_length(data + pos, len - pos);
  295|   405k|        }
  296|   405k|        int terminated = preserve_crlf
  ------------------
  |  Branch (296:26): [True: 0, False: 405k]
  ------------------
  297|   405k|            ? data[pos + raw_line_len - 1] == '\n'
  298|   405k|            : data[pos + raw_line_len - 1] == '\n' ||
  ------------------
  |  Branch (298:15): [True: 255k, False: 149k]
  ------------------
  299|   149k|              data[pos + raw_line_len - 1] == '\r';
  ------------------
  |  Branch (299:15): [True: 124k, False: 24.4k]
  ------------------
  300|   405k|        int add_newline = add_final_newline &&
  ------------------
  |  Branch (300:27): [True: 397k, False: 7.25k]
  ------------------
  301|   397k|            pos + raw_line_len == len && !terminated;
  ------------------
  |  Branch (301:13): [True: 22.4k, False: 375k]
  |  Branch (301:42): [True: 22.0k, False: 362]
  ------------------
  302|   405k|        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|   405k|        Py_ssize_t terminator_len = 0;
  306|   405k|        if (!preserve_crlf) {
  ------------------
  |  Branch (306:13): [True: 405k, False: 0]
  ------------------
  307|   405k|            if (line[raw_line_len - 1] == '\r') {
  ------------------
  |  Branch (307:17): [True: 124k, False: 280k]
  ------------------
  308|   124k|                terminator_len = 1;
  309|   124k|            }
  310|   280k|            else if (raw_line_len > 1 && line[raw_line_len - 2] == '\r') {
  ------------------
  |  Branch (310:22): [True: 152k, False: 127k]
  |  Branch (310:42): [True: 284, False: 152k]
  ------------------
  311|    284|                terminator_len = 2;
  312|    284|            }
  313|   405k|        }
  314|   405k|        _PyTok_Off appended;
  315|   405k|        if (terminator_len || add_newline) {
  ------------------
  |  Branch (315:13): [True: 125k, False: 279k]
  |  Branch (315:31): [True: 22.0k, False: 257k]
  ------------------
  316|   147k|            appended = _PyTok_SourceAppendLineWithNewline(
  317|   147k|                &tok->source, line, raw_line_len - terminator_len);
  318|   147k|        }
  319|   257k|        else {
  320|   257k|            appended = _PyTok_SourceAppendLine(&tok->source, line, raw_line_len);
  321|   257k|        }
  322|   405k|        if (appended < 0) {
  ------------------
  |  Branch (322:13): [True: 0, False: 405k]
  ------------------
  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|   405k|        tok->reader->prepared_final_newline = add_newline;
  328|   405k|        pos += raw_line_len;
  329|   405k|    }
  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|  24.8k|    if (add_final_newline == _PyTokenizer_APPEND_NEWLINE &&
  ------------------
  |  Branch (332:9): [True: 17.3k, False: 7.52k]
  ------------------
  333|  17.3k|        !tok->reader->prepared_final_newline &&
  ------------------
  |  Branch (333:9): [True: 278, False: 17.0k]
  ------------------
  334|    278|        (len == 0 || data[len - 1] != '\r'))
  ------------------
  |  Branch (334:10): [True: 15, False: 263]
  |  Branch (334:22): [True: 187, False: 76]
  ------------------
  335|    202|    {
  336|    202|        if (_PyTok_SourceAppendLine(&tok->source, "\n", 1) < 0) {
  ------------------
  |  Branch (336:13): [True: 0, False: 202]
  ------------------
  337|      0|            return -1;
  338|      0|        }
  339|    202|        tok->reader->prepared_final_newline = _PyTokenizer_APPEND_NEWLINE;
  340|    202|    }
  341|  24.8k|    return 0;
  342|  24.8k|}

_PyTokenizer_syntaxerror:
   90|  1.25k|{
   91|       |    // These errors are cleaned on startup. Todo: Fix it.
   92|  1.25k|    va_list vargs;
   93|  1.25k|    va_start(vargs, format);
   94|  1.25k|    int ret = _syntaxerror_range(
   95|  1.25k|        tok, _PyTok_SourcePointer(&tok->source, tok->line_start),
   96|  1.25k|        tok->cur - tok->line_start, tok->lineno, format, -1, -1, vargs);
   97|       |    va_end(vargs);
   98|  1.25k|    return ret;
   99|  1.25k|}
_PyTokenizer_syntaxerror_known_range:
  105|     87|{
  106|     87|    va_list vargs;
  107|     87|    va_start(vargs, format);
  108|     87|    int ret = _syntaxerror_range(
  109|     87|        tok, _PyTok_SourcePointer(&tok->source, tok->line_start),
  110|     87|        tok->cur - tok->line_start, tok->lineno,
  111|     87|        format, col_offset, end_col_offset, vargs);
  112|       |    va_end(vargs);
  113|     87|    return ret;
  114|     87|}
_PyTokenizer_syntaxerror_at:
  121|  1.16k|{
  122|  1.16k|    va_list vargs;
  123|  1.16k|    va_start(vargs, format);
  124|  1.16k|    int ret = _syntaxerror_range(tok, line, cursor, lineno, format,
  125|  1.16k|                                col_offset, end_col_offset, vargs);
  126|       |    va_end(vargs);
  127|  1.16k|    return ret;
  128|  1.16k|}
_PyTokenizer_indenterror:
  132|      1|{
  133|      1|    tok->done = E_TABSPACE;
  ------------------
  |  |   30|      1|#define E_TABSPACE       18      /* Inconsistent mixing of tabs and spaces */
  ------------------
  134|      1|    tok->cur = tok->inp;
  135|      1|    return ERRORTOKEN;
  ------------------
  |  |   83|      1|#define ERRORTOKEN      67
  ------------------
  136|      1|}
_PyTokenizer_warn_invalid_escape_sequence:
  140|  3.53k|{
  141|  3.53k|    PyObject *msg = PyUnicode_FromFormat(
  142|  3.53k|        "\"\\%c\" is an invalid escape sequence. "
  143|  3.53k|        "Such sequences will not work in the future. "
  144|  3.53k|        "Did you mean \"\\\\%c\"? A raw string is also an option.",
  145|  3.53k|        (char) first_invalid_escape_char,
  146|  3.53k|        (char) first_invalid_escape_char
  147|  3.53k|    );
  148|       |
  149|  3.53k|    if (msg == NULL) {
  ------------------
  |  Branch (149:9): [True: 0, False: 3.53k]
  ------------------
  150|      0|        return -1;
  151|      0|    }
  152|       |
  153|  3.53k|    if (PyErr_WarnExplicitObject(PyExc_SyntaxWarning, msg, tok->filename,
  ------------------
  |  Branch (153:9): [True: 0, False: 3.53k]
  ------------------
  154|  3.53k|                                 tok->lineno, tok->module, NULL) < 0) {
  155|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  156|       |
  157|      0|        if (PyErr_ExceptionMatches(PyExc_SyntaxWarning)) {
  ------------------
  |  Branch (157:13): [True: 0, False: 0]
  ------------------
  158|       |            /* Replace the SyntaxWarning exception with a SyntaxError
  159|       |               to get a more accurate error report */
  160|      0|            PyErr_Clear();
  161|       |
  162|      0|            return _PyTokenizer_syntaxerror(tok,
  163|      0|                "\"\\%c\" is an invalid escape sequence. "
  164|      0|                "Did you mean \"\\\\%c\"? A raw string is also an option.",
  165|      0|                (char) first_invalid_escape_char,
  166|      0|                (char) first_invalid_escape_char);
  167|      0|        }
  168|       |
  169|      0|        return -1;
  170|      0|    }
  171|       |
  172|  3.53k|    Py_DECREF(msg);
  ------------------
  |  |  430|  3.53k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  173|  3.53k|    return 0;
  174|  3.53k|}
_PyTokenizer_raise_init_error:
  178|  1.65k|{
  179|  1.65k|    if (!(PyErr_ExceptionMatches(PyExc_LookupError)
  ------------------
  |  Branch (179:11): [True: 260, False: 1.39k]
  ------------------
  180|  1.39k|          || PyErr_ExceptionMatches(PyExc_SyntaxError)
  ------------------
  |  Branch (180:14): [True: 162, False: 1.23k]
  ------------------
  181|  1.23k|          || PyErr_ExceptionMatches(PyExc_ValueError)
  ------------------
  |  Branch (181:14): [True: 1.20k, False: 26]
  ------------------
  182|     26|          || PyErr_ExceptionMatches(PyExc_UnicodeDecodeError))) {
  ------------------
  |  Branch (182:14): [True: 0, False: 26]
  ------------------
  183|     26|        return;
  184|     26|    }
  185|  1.63k|    PyObject *errstr = NULL;
  186|  1.63k|    PyObject *tuple = NULL;
  187|  1.63k|    PyObject *type;
  188|  1.63k|    PyObject *value;
  189|  1.63k|    PyObject *tback;
  190|  1.63k|    PyErr_Fetch(&type, &value, &tback);
  191|  1.63k|    if (PyErr_GivenExceptionMatches(value, PyExc_SyntaxError)) {
  ------------------
  |  Branch (191:9): [True: 162, False: 1.46k]
  ------------------
  192|    162|        if (PyObject_SetAttr(value, &_Py_ID(filename), filename)) {
  ------------------
  |  |  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 (192:13): [True: 0, False: 162]
  ------------------
  193|      0|            goto error;
  194|      0|        }
  195|    162|        PyErr_Restore(type, value, tback);
  196|    162|        return;
  197|    162|    }
  198|  1.46k|    errstr = PyObject_Str(value);
  199|  1.46k|    if (!errstr) {
  ------------------
  |  Branch (199:9): [True: 0, False: 1.46k]
  ------------------
  200|      0|        goto error;
  201|      0|    }
  202|       |
  203|  1.46k|    PyObject *tmp = Py_BuildValue("(OiiO)", filename, 0, -1, Py_None);
  ------------------
  |  |  616|  1.46k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  204|  1.46k|    if (!tmp) {
  ------------------
  |  Branch (204:9): [True: 0, False: 1.46k]
  ------------------
  205|      0|        goto error;
  206|      0|    }
  207|       |
  208|  1.46k|    tuple = _PyTuple_FromPair(errstr, tmp);
  209|  1.46k|    Py_DECREF(tmp);
  ------------------
  |  |  430|  1.46k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  210|  1.46k|    if (!tuple) {
  ------------------
  |  Branch (210:9): [True: 0, False: 1.46k]
  ------------------
  211|      0|        goto error;
  212|      0|    }
  213|  1.46k|    PyErr_SetObject(PyExc_SyntaxError, tuple);
  214|       |
  215|  1.46k|error:
  216|  1.46k|    Py_XDECREF(type);
  ------------------
  |  |  621|  1.46k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  217|  1.46k|    Py_XDECREF(value);
  ------------------
  |  |  621|  1.46k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  218|  1.46k|    Py_XDECREF(tback);
  ------------------
  |  |  621|  1.46k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  219|  1.46k|    Py_XDECREF(errstr);
  ------------------
  |  |  621|  1.46k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|  1.46k|    Py_XDECREF(tuple);
  ------------------
  |  |  621|  1.46k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  221|  1.46k|}
_PyTokenizer_parser_warn:
  225|  23.7k|{
  226|  23.7k|    PyObject *errmsg;
  227|  23.7k|    va_list vargs;
  228|  23.7k|    va_start(vargs, format);
  229|  23.7k|    errmsg = PyUnicode_FromFormatV(format, vargs);
  230|  23.7k|    va_end(vargs);
  231|  23.7k|    if (!errmsg) {
  ------------------
  |  Branch (231:9): [True: 0, False: 23.7k]
  ------------------
  232|      0|        goto error;
  233|      0|    }
  234|       |
  235|  23.7k|    if (PyErr_WarnExplicitObject(category, errmsg, tok->filename,
  ------------------
  |  Branch (235:9): [True: 0, False: 23.7k]
  ------------------
  236|  23.7k|                                 tok->lineno, tok->module, NULL) < 0) {
  237|      0|        if (PyErr_ExceptionMatches(category)) {
  ------------------
  |  Branch (237:13): [True: 0, False: 0]
  ------------------
  238|       |            /* Replace the DeprecationWarning exception with a SyntaxError
  239|       |               to get a more accurate error report */
  240|      0|            PyErr_Clear();
  241|      0|            _PyTokenizer_syntaxerror(tok, "%U", errmsg);
  242|      0|        }
  243|      0|        goto error;
  244|      0|    }
  245|  23.7k|    Py_DECREF(errmsg);
  ------------------
  |  |  430|  23.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  246|  23.7k|    return 0;
  247|       |
  248|      0|error:
  249|      0|    Py_XDECREF(errmsg);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      0|    tok->done = E_ERROR;
  ------------------
  |  |   29|      0|#define E_ERROR          17      /* Execution error */
  ------------------
  251|      0|    return -1;
  252|  23.7k|}
_PyTokenizer_ensure_utf8:
  321|  10.0k|{
  322|  10.0k|    const char *badchar = NULL;
  323|  10.0k|    const char *c;
  324|  10.0k|    int length;
  325|  10.0k|    const char *line_start = line;
  326|  4.61M|    for (c = line; *c; c += length) {
  ------------------
  |  Branch (326:20): [True: 4.60M, False: 9.86k]
  ------------------
  327|  4.60M|        if (!(length = valid_utf8((const unsigned char *)c))) {
  ------------------
  |  Branch (327:13): [True: 155, False: 4.60M]
  ------------------
  328|    155|            badchar = c;
  329|    155|            break;
  330|    155|        }
  331|  4.60M|        if (*c == '\n') {
  ------------------
  |  Branch (331:13): [True: 143k, False: 4.46M]
  ------------------
  332|   143k|            lineno++;
  333|   143k|            line_start = c + 1;
  334|   143k|        }
  335|  4.60M|    }
  336|  10.0k|    if (badchar) {
  ------------------
  |  Branch (336:9): [True: 155, False: 9.86k]
  ------------------
  337|    155|        _PyTokenizer_syntaxerror_at(
  338|    155|                tok, line_start, badchar - line_start + 1, lineno,
  339|    155|                -1, -1,
  340|    155|                "Non-UTF-8 code starting with '\\x%.2x'"
  341|    155|                "%s%V on line %i, "
  342|    155|                "but no encoding declared; "
  343|    155|                "see https://peps.python.org/pep-0263/ for details",
  344|    155|                (unsigned char)*badchar,
  345|    155|                tok->filename ? " in file " : "", tok->filename, "",
  ------------------
  |  Branch (345:17): [True: 0, False: 155]
  ------------------
  346|    155|                lineno);
  347|    155|        return 0;
  348|    155|    }
  349|  9.86k|    return 1;
  350|  10.0k|}
helpers.c:_syntaxerror_range:
   31|  2.50k|{
   32|       |    // In release builds, we don't want to overwrite a previous error, but in debug builds we
   33|       |    // want to fail if we are not doing it so we can fix it.
   34|  2.50k|    assert(tok->done != E_ERROR);
  ------------------
  |  Branch (34:5): [True: 2.50k, False: 0]
  ------------------
   35|  2.50k|    if (tok->done == E_ERROR) {
  ------------------
  |  |   29|  2.50k|#define E_ERROR          17      /* Execution error */
  ------------------
  |  Branch (35:9): [True: 0, False: 2.50k]
  ------------------
   36|      0|        return ERRORTOKEN;
  ------------------
  |  |   83|      0|#define ERRORTOKEN      67
  ------------------
   37|      0|    }
   38|  2.50k|    PyObject *errmsg, *errtext, *args;
   39|  2.50k|    errmsg = PyUnicode_FromFormatV(format, vargs);
   40|  2.50k|    if (!errmsg) {
  ------------------
  |  Branch (40:9): [True: 0, False: 2.50k]
  ------------------
   41|      0|        goto error;
   42|      0|    }
   43|       |
   44|  2.50k|    errtext = PyUnicode_DecodeUTF8(line, cursor,
   45|  2.50k|                                   "replace");
   46|  2.50k|    if (!errtext) {
  ------------------
  |  Branch (46:9): [True: 0, False: 2.50k]
  ------------------
   47|      0|        goto error;
   48|      0|    }
   49|       |
   50|  2.50k|    if (col_offset == -1) {
  ------------------
  |  Branch (50:9): [True: 2.41k, False: 94]
  ------------------
   51|  2.41k|        col_offset = (int)PyUnicode_GET_LENGTH(errtext);
  ------------------
  |  |  300|  2.41k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   52|  2.41k|    }
   53|     94|    else if (col_offset > 0) {
  ------------------
  |  Branch (53:14): [True: 87, False: 7]
  ------------------
   54|     87|        col_offset = byte_col_to_char_col(line, col_offset);
   55|     87|    }
   56|  2.50k|    if (end_col_offset == -1) {
  ------------------
  |  Branch (56:9): [True: 2.41k, False: 94]
  ------------------
   57|  2.41k|        end_col_offset = col_offset;
   58|  2.41k|    }
   59|     94|    else if (end_col_offset > 0) {
  ------------------
  |  Branch (59:14): [True: 94, False: 0]
  ------------------
   60|     94|        end_col_offset = byte_col_to_char_col(line, end_col_offset);
   61|     94|    }
   62|       |
   63|  2.50k|    Py_ssize_t line_len = strcspn(line, "\n");
   64|  2.50k|    if (line_len != cursor) {
  ------------------
  |  Branch (64:9): [True: 1.94k, False: 569]
  ------------------
   65|  1.94k|        Py_DECREF(errtext);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   66|  1.94k|        errtext = PyUnicode_DecodeUTF8(line, line_len,
   67|  1.94k|                                       "replace");
   68|  1.94k|    }
   69|  2.50k|    if (!errtext) {
  ------------------
  |  Branch (69:9): [True: 0, False: 2.50k]
  ------------------
   70|      0|        goto error;
   71|      0|    }
   72|       |
   73|  2.50k|    args = Py_BuildValue("(O(OiiNii))", errmsg,
   74|  2.50k|                         tok->filename ? tok->filename : Py_None,
  ------------------
  |  |  616|    162|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (74:26): [True: 2.34k, False: 162]
  ------------------
   75|  2.50k|                         lineno, col_offset, errtext,
   76|  2.50k|                         lineno, end_col_offset);
   77|  2.50k|    if (args) {
  ------------------
  |  Branch (77:9): [True: 2.50k, False: 0]
  ------------------
   78|  2.50k|        PyErr_SetObject(PyExc_SyntaxError, args);
   79|  2.50k|        Py_DECREF(args);
  ------------------
  |  |  430|  2.50k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|  2.50k|    }
   81|       |
   82|  2.50k|error:
   83|  2.50k|    Py_XDECREF(errmsg);
  ------------------
  |  |  621|  2.50k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|  2.50k|    tok->done = E_ERROR;
  ------------------
  |  |   29|  2.50k|#define E_ERROR          17      /* Execution error */
  ------------------
   85|  2.50k|    return ERRORTOKEN;
  ------------------
  |  |   83|  2.50k|#define ERRORTOKEN      67
  ------------------
   86|  2.50k|}
helpers.c:byte_col_to_char_col:
   16|    181|{
   17|    181|    int char_col = 1;
   18|   211k|    for (int i = 0; i < byte_col - 1; i++) {
  ------------------
  |  Branch (18:21): [True: 211k, False: 181]
  ------------------
   19|   211k|        if ((line[i] & 0xC0) != 0x80) {
  ------------------
  |  Branch (19:13): [True: 206k, False: 4.89k]
  ------------------
   20|   206k|            char_col++;
   21|   206k|        }
   22|   211k|    }
   23|    181|    return char_col;
   24|    181|}
helpers.c:valid_utf8:
  262|  4.60M|{
  263|  4.60M|    int expected = 0;
  264|  4.60M|    int length;
  265|  4.60M|    if (*s < 0x80) {
  ------------------
  |  Branch (265:9): [True: 4.59M, False: 9.98k]
  ------------------
  266|       |        /* single-byte code */
  267|  4.59M|        return 1;
  268|  4.59M|    }
  269|  9.98k|    else if (*s < 0xE0) {
  ------------------
  |  Branch (269:14): [True: 5.34k, False: 4.63k]
  ------------------
  270|       |        /* \xC2\x80-\xDF\xBF -- 0080-07FF */
  271|  5.34k|        if (*s < 0xC2) {
  ------------------
  |  Branch (271:13): [True: 52, False: 5.29k]
  ------------------
  272|       |            /* invalid sequence
  273|       |               \x80-\xBF -- continuation byte
  274|       |               \xC0-\xC1 -- fake 0000-007F */
  275|     52|            return 0;
  276|     52|        }
  277|  5.29k|        expected = 1;
  278|  5.29k|    }
  279|  4.63k|    else if (*s < 0xF0) {
  ------------------
  |  Branch (279:14): [True: 1.77k, False: 2.86k]
  ------------------
  280|       |        /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  281|  1.77k|        if (*s == 0xE0 && *(s + 1) < 0xA0) {
  ------------------
  |  Branch (281:13): [True: 277, False: 1.49k]
  |  Branch (281:27): [True: 4, False: 273]
  ------------------
  282|       |            /* invalid sequence
  283|       |               \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  284|      4|            return 0;
  285|      4|        }
  286|  1.77k|        else if (*s == 0xED && *(s + 1) >= 0xA0) {
  ------------------
  |  Branch (286:18): [True: 213, False: 1.55k]
  |  Branch (286:32): [True: 1, False: 212]
  ------------------
  287|       |            /* Decoding UTF-8 sequences in range \xED\xA0\x80-\xED\xBF\xBF
  288|       |               will result in surrogates in range D800-DFFF. Surrogates are
  289|       |               not valid UTF-8 so they are rejected.
  290|       |               See https://www.unicode.org/versions/Unicode5.2.0/ch03.pdf
  291|       |               (table 3-7) and http://www.rfc-editor.org/rfc/rfc3629.txt */
  292|      1|            return 0;
  293|      1|        }
  294|  1.76k|        expected = 2;
  295|  1.76k|    }
  296|  2.86k|    else if (*s < 0xF5) {
  ------------------
  |  Branch (296:14): [True: 2.84k, False: 18]
  ------------------
  297|       |        /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  298|  2.84k|        if (*(s + 1) < 0x90 ? *s == 0xF0 : *s == 0xF4) {
  ------------------
  |  Branch (298:13): [True: 237, False: 2.60k]
  |  Branch (298:13): [True: 9, False: 2.83k]
  ------------------
  299|       |            /* invalid sequence -- one of:
  300|       |               \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF
  301|       |               \xF4\x90\x80\x80- -- 110000- overflow */
  302|      9|            return 0;
  303|      9|        }
  304|  2.83k|        expected = 3;
  305|  2.83k|    }
  306|     18|    else {
  307|       |        /* invalid start byte */
  308|     18|        return 0;
  309|     18|    }
  310|  9.90k|    length = expected + 1;
  311|  27.1k|    for (int i = 1; i <= expected; i++) {
  ------------------
  |  Branch (311:21): [True: 17.2k, False: 9.82k]
  ------------------
  312|  17.2k|        if (s[i] < 0x80 || s[i] >= 0xC0) {
  ------------------
  |  Branch (312:13): [True: 45, False: 17.2k]
  |  Branch (312:28): [True: 26, False: 17.2k]
  ------------------
  313|     71|            return 0;
  314|     71|        }
  315|  17.2k|    }
  316|  9.82k|    return length;
  317|  9.90k|}

_PyTok_ReaderFree:
   26|  26.3k|{
   27|  26.3k|    _PyTok_Reader *reader = tok->reader;
   28|  26.3k|    if (reader == NULL) {
  ------------------
  |  Branch (28:9): [True: 0, False: 26.3k]
  ------------------
   29|      0|        return;
   30|      0|    }
   31|  26.3k|    Py_XDECREF(reader->readline);
  ------------------
  |  |  621|  26.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  26.3k|    Py_XDECREF(reader->decoder);
  ------------------
  |  |  621|  26.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   33|  26.3k|    for (int i = 0;
   34|  79.1k|         i < (int)Py_ARRAY_LENGTH(reader->prefetched_lines); i++) {
  ------------------
  |  |  232|  79.1k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (34:10): [True: 52.7k, False: 26.3k]
  ------------------
   35|  52.7k|        _PyTok_ChunkClear(&reader->prefetched_lines[i]);
   36|  52.7k|    }
   37|  26.3k|    PyMem_Free(reader->encoding);
   38|  26.3k|    PyMem_Free(reader->file_buffer);
   39|  26.3k|    PyMem_Free(reader->decoded);
   40|  26.3k|    PyMem_Free(reader);
   41|       |    tok->reader = NULL;
   42|  26.3k|}
_PyTok_ReaderIsInteractive:
  552|   214k|{
  553|   214k|    return tok->reader->kind == _PYTOK_READER_INTERACTIVE;
  554|   214k|}
_PyTokenizer_RetainedSource:
  558|  9.70k|{
  559|  9.70k|    if (tok->reader->kind == _PYTOK_READER_PREPARED) {
  ------------------
  |  Branch (559:9): [True: 9.70k, False: 0]
  ------------------
  560|  9.70k|        return _PyTok_SourceData(&tok->source);
  561|  9.70k|    }
  562|      0|    if (tok->reader->kind == _PYTOK_READER_INTERACTIVE) {
  ------------------
  |  Branch (562:9): [True: 0, False: 0]
  ------------------
  563|      0|        return tok->source.bytes;
  564|      0|    }
  565|      0|    return NULL;
  566|      0|}
_PyTok_ReaderStopInteractive:
  570|  9.43k|{
  571|  9.43k|    if (_PyTok_ReaderIsInteractive(tok)) {
  ------------------
  |  Branch (571:9): [True: 0, False: 9.43k]
  ------------------
  572|      0|        tok->reader->stop_interactive = 1;
  573|      0|    }
  574|  9.43k|}
_PyTok_ReaderUnderflow:
  605|   417k|{
  606|   417k|    assert(tok->cur >= tok->buf_offset && tok->cur <= tok->inp);
  ------------------
  |  Branch (606:5): [True: 417k, False: 0]
  |  Branch (606:5): [True: 417k, False: 0]
  ------------------
  607|   417k|    _PyTok_Reader *reader = tok->reader;
  608|   417k|    _PyTok_ReaderKind kind = reader->kind;
  609|   417k|    int prepared = kind == _PYTOK_READER_PREPARED;
  610|   417k|    int streaming = reader_is_streaming(kind);
  611|   417k|    int reset_buffer = tok->start < 0 &&
  ------------------
  |  Branch (611:24): [True: 351k, False: 66.0k]
  ------------------
  612|   351k|        _PyLexer_CurrentFTString(tok) == NULL;
  ------------------
  |  Branch (612:9): [True: 345k, False: 5.13k]
  ------------------
  613|       |
  614|   417k|    _PyTok_Chunk chunk;
  615|   417k|    _PyTok_ReadResult result = reader_next(tok, &chunk);
  616|   417k|    if (result != _PYTOK_READ_LINE) {
  ------------------
  |  Branch (616:9): [True: 19.8k, False: 397k]
  ------------------
  617|  19.8k|        if (reset_buffer && streaming) {
  ------------------
  |  Branch (617:13): [True: 17.2k, False: 2.53k]
  |  Branch (617:29): [True: 0, False: 17.2k]
  ------------------
  618|      0|            reset_streaming_buffer(tok);
  619|      0|        }
  620|  19.8k|        if (result == _PYTOK_READ_EOF) {
  ------------------
  |  Branch (620:13): [True: 19.8k, False: 0]
  ------------------
  621|  19.8k|            tok->done = E_EOF;
  ------------------
  |  |   23|  19.8k|#define E_EOF            11      /* End Of File */
  ------------------
  622|  19.8k|        }
  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|  19.8k|        if (kind == _PYTOK_READER_INTERACTIVE &&
  ------------------
  |  Branch (635:13): [True: 0, False: 19.8k]
  ------------------
  636|      0|                result != _PYTOK_READ_STOPPED) {
  ------------------
  |  Branch (636:17): [True: 0, False: 0]
  ------------------
  637|      0|            PySys_WriteStderr("\n");
  638|      0|        }
  639|  19.8k|        return 0;
  640|  19.8k|    }
  641|   397k|    if (tok->lineno == INT_MAX) {
  ------------------
  |  Branch (641:9): [True: 0, False: 397k]
  ------------------
  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|   397k|    if (!prepared) {
  ------------------
  |  Branch (648:9): [True: 0, False: 397k]
  ------------------
  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|   397k|    else {
  668|   397k|        if (reset_buffer) {
  ------------------
  |  Branch (668:13): [True: 328k, False: 68.6k]
  ------------------
  669|   328k|            tok->buf_offset = tok->inp;
  670|   328k|        }
  671|   397k|        tok->inp += chunk.len;
  672|   397k|    }
  673|   397k|    tok->implicit_newline = chunk.implicit_newline;
  674|       |
  675|   397k|    tok->lineno++;
  676|   397k|    if (kind == _PYTOK_READER_FILE &&
  ------------------
  |  Branch (676:9): [True: 0, False: 397k]
  ------------------
  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|   397k|    _PyTok_ChunkClear(&chunk);
  686|   397k|    return 1;
  687|   397k|}
_PyTokenizer_FromString:
  744|  14.6k|{
  745|  14.6k|    return tokenizer_from_string(input, 0, exec_input, preserve_crlf);
  746|  14.6k|}
_PyTokenizer_FromUTF8:
  750|  11.6k|{
  751|  11.6k|    return tokenizer_from_string(input, 1, exec_input, preserve_crlf);
  752|  11.6k|}
reader.c:reader_is_streaming:
   20|   417k|{
   21|   417k|    return kind == _PYTOK_READER_FILE || kind == _PYTOK_READER_READLINE;
  ------------------
  |  Branch (21:12): [True: 0, False: 417k]
  |  Branch (21:42): [True: 0, False: 417k]
  ------------------
   22|   417k|}
reader.c:reader_next:
  578|   417k|{
  579|   417k|    *chunk = (_PyTok_Chunk){0};
  580|   417k|    switch (tok->reader->kind) {
  ------------------
  |  Branch (580:13): [True: 417k, False: 0]
  ------------------
  581|   417k|        case _PYTOK_READER_PREPARED:
  ------------------
  |  Branch (581:9): [True: 417k, False: 0]
  ------------------
  582|   417k|            return next_prepared(tok, chunk);
  583|      0|        case _PYTOK_READER_FILE:
  ------------------
  |  Branch (583:9): [True: 0, False: 417k]
  ------------------
  584|      0|            return next_file(tok, chunk);
  585|      0|        case _PYTOK_READER_READLINE:
  ------------------
  |  Branch (585:9): [True: 0, False: 417k]
  ------------------
  586|      0|            return next_readline(tok, chunk);
  587|      0|        case _PYTOK_READER_INTERACTIVE:
  ------------------
  |  Branch (587:9): [True: 0, False: 417k]
  ------------------
  588|      0|            return next_interactive(tok, chunk);
  589|   417k|    }
  590|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  591|   417k|}
reader.c:next_prepared:
  173|   417k|{
  174|   417k|    if (tok->lineno >= tok->source.nlines) {
  ------------------
  |  Branch (174:9): [True: 19.8k, False: 397k]
  ------------------
  175|  19.8k|        return _PYTOK_READ_EOF;
  176|  19.8k|    }
  177|   397k|    _PyTok_Span tail = {tok->inp, tok->source.base_offset + tok->source.len};
  178|   397k|    _PyTok_Off newline = _PyTok_SourceFindByte(&tok->source, tail, '\n');
  179|   397k|    _PyTok_Span line = {tail.start, newline >= 0 ? newline + 1 : tail.end};
  ------------------
  |  Branch (179:37): [True: 394k, False: 2.31k]
  ------------------
  180|   397k|    chunk->data = (char *)_PyTok_SourceSpanView(
  181|   397k|        &tok->source, line, &chunk->len);
  182|   397k|    chunk->ownership = _PYTOK_CHUNK_BORROWED;
  183|   397k|    chunk->implicit_newline = line.end == tail.end
  ------------------
  |  Branch (183:31): [True: 24.3k, False: 372k]
  ------------------
  184|   397k|        ? tok->reader->prepared_final_newline : 0;
  185|   397k|    return _PYTOK_READ_LINE;
  186|   417k|}
reader.c:tokenizer_from_string:
  727|  26.3k|{
  728|  26.3k|    struct tok_state *tok = tokenizer_new_with_reader(_PYTOK_READER_PREPARED);
  729|  26.3k|    if (tok == NULL) {
  ------------------
  |  Branch (729:9): [True: 0, False: 26.3k]
  ------------------
  730|      0|        return NULL;
  731|      0|    }
  732|  26.3k|    if (_PyTok_PrepareString(
  ------------------
  |  Branch (732:9): [True: 1.65k, False: 24.7k]
  ------------------
  733|  26.3k|            tok, input, utf8_only, exec_input, preserve_crlf) < 0) {
  734|  1.65k|        _PyTokenizer_Free(tok);
  735|  1.65k|        return NULL;
  736|  1.65k|    }
  737|  24.7k|    tok->cur = tok->inp = tok->source.base_offset;
  738|  24.7k|    tok->line_start = tok->source.base_offset;
  739|  24.7k|    return tok;
  740|  26.3k|}
reader.c:tokenizer_new_with_reader:
  691|  26.3k|{
  692|  26.3k|    struct tok_state *tok = PyMem_Calloc(1, sizeof(*tok));
  693|  26.3k|    if (tok == NULL) {
  ------------------
  |  Branch (693:9): [True: 0, False: 26.3k]
  ------------------
  694|      0|        PyErr_NoMemory();
  695|      0|        return NULL;
  696|      0|    }
  697|  26.3k|    tok->start = tok->line_start = -1;
  698|  26.3k|    _PyTok_SourceInit(&tok->source);
  699|  26.3k|    tok->done = E_OK;
  ------------------
  |  |   22|  26.3k|#define E_OK             10      /* No error */
  ------------------
  700|  26.3k|    tok->layout.at_bol = 1;
  701|  26.3k|    tok->start_loc = (_PyTok_Loc){-1, -1};
  702|  26.3k|    tok->ftstring_stack = tok->ftstring_stack_inline;
  703|  26.3k|    tok->ftstring_capacity = FTSTRING_STACK_INLINE_CAPACITY;
  ------------------
  |  |   11|  26.3k|#define FTSTRING_STACK_INLINE_CAPACITY 1
  ------------------
  704|       |#ifdef Py_DEBUG
  705|       |    tok->debug = _Py_GetConfig()->parser_debug;
  706|       |#endif
  707|  26.3k|    tok->reader = PyMem_Calloc(1, sizeof(*tok->reader));
  708|  26.3k|    if (tok->reader == NULL) {
  ------------------
  |  Branch (708:9): [True: 0, False: 26.3k]
  ------------------
  709|      0|        PyErr_NoMemory();
  710|      0|        _PyTokenizer_Free(tok);
  711|      0|        return NULL;
  712|      0|    }
  713|  26.3k|    tok->reader->kind = kind;
  714|  26.3k|    if (kind == _PYTOK_READER_PREPARED) {
  ------------------
  |  Branch (714:9): [True: 26.3k, False: 0]
  ------------------
  715|  26.3k|        return tok;
  716|  26.3k|    }
  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|  26.3k|}

_PyTok_SourceInit:
   10|  52.7k|{
   11|  52.7k|    *source = (_PyTok_SourceText){0};
   12|  52.7k|}
_PyTok_SourceClear:
   16|  26.3k|{
   17|  26.3k|    PyMem_Free(source->bytes);
   18|  26.3k|    _PyTok_SourceInit(source);
   19|  26.3k|}
_PyTok_SourceAppendLine:
  125|   257k|{
  126|   257k|    return append_line(source, bytes, len, 0);
  127|   257k|}
_PyTok_SourceAppendLineWithNewline:
  132|   147k|{
  133|   147k|    return append_line(source, bytes, len, 1);
  134|   147k|}
_PyTok_SourceLineView:
  139|    405|{
  140|    405|    assert(len != NULL);
  ------------------
  |  Branch (140:5): [True: 405, False: 0]
  ------------------
  141|    405|    const char *line = _PyTok_SourceData(source);
  142|    405|    const char *end = line + source->len;
  143|  30.0k|    while (lineno > 1) {
  ------------------
  |  Branch (143:12): [True: 29.6k, False: 405]
  ------------------
  144|  29.6k|        const char *newline = memchr(line, '\n', end - line);
  145|  29.6k|        if (newline == NULL) {
  ------------------
  |  Branch (145:13): [True: 0, False: 29.6k]
  ------------------
  146|      0|            break;
  147|      0|        }
  148|  29.6k|        line = newline + 1;
  149|  29.6k|        lineno--;
  150|  29.6k|    }
  151|    405|    const char *newline = memchr(line, '\n', end - line);
  152|    405|    *len = (newline != NULL ? newline : end) - line;
  ------------------
  |  Branch (152:13): [True: 398, False: 7]
  ------------------
  153|    405|    return line;
  154|    405|}
source.c:append_line:
   98|   405k|{
   99|   405k|    if (validate_line(source, bytes, len, append_newline) < 0) {
  ------------------
  |  Branch (99:9): [True: 0, False: 405k]
  ------------------
  100|      0|        return -1;
  101|      0|    }
  102|   405k|    if (source->len > PY_SSIZE_T_MAX - len - append_newline - 1 ||
  ------------------
  |  |  137|   405k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (102:9): [True: 0, False: 405k]
  ------------------
  103|   405k|            source->base_offset > PY_SSIZE_T_MAX - source->len - len - append_newline) {
  ------------------
  |  |  137|   405k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (103:13): [True: 0, False: 405k]
  ------------------
  104|      0|        PyErr_NoMemory();
  105|      0|        return -1;
  106|      0|    }
  107|   405k|    if (reserve_bytes(source, source->len + len + append_newline + 1) < 0) {
  ------------------
  |  Branch (107:9): [True: 0, False: 405k]
  ------------------
  108|      0|        return -1;
  109|      0|    }
  110|       |
  111|   405k|    _PyTok_Off start = source->len;
  112|   405k|    memcpy(source->bytes + start, bytes, len);
  113|   405k|    source->len += len;
  114|   405k|    if (append_newline) {
  ------------------
  |  Branch (114:9): [True: 147k, False: 257k]
  ------------------
  115|   147k|        source->bytes[source->len++] = '\n';
  116|   147k|    }
  117|   405k|    source->bytes[source->len] = '\0';
  118|   405k|    source->nlines++;
  119|   405k|    return source->base_offset + start;
  120|   405k|}
source.c:validate_line:
   75|   405k|{
   76|   405k|    if (len < 0 || (len == 0 && !append_newline) || bytes == NULL ||
  ------------------
  |  Branch (76:9): [True: 0, False: 405k]
  |  Branch (76:21): [True: 75.6k, False: 329k]
  |  Branch (76:33): [True: 0, False: 75.6k]
  |  Branch (76:53): [True: 0, False: 405k]
  ------------------
   77|   405k|            (source->nlines > 0 &&
  ------------------
  |  Branch (77:14): [True: 380k, False: 24.8k]
  ------------------
   78|   380k|             (source->len == 0 || source->bytes[source->len - 1] != '\n'))) {
  ------------------
  |  Branch (78:15): [True: 0, False: 380k]
  |  Branch (78:35): [True: 0, False: 380k]
  ------------------
   79|      0|        PyErr_SetString(PyExc_SystemError, "invalid tokenizer source line");
   80|      0|        return -1;
   81|      0|    }
   82|   405k|    const char *newline = memchr(bytes, '\n', len);
   83|   405k|    if (newline != NULL && (append_newline || newline != bytes + len - 1)) {
  ------------------
  |  Branch (83:9): [True: 255k, False: 149k]
  |  Branch (83:29): [True: 0, False: 255k]
  |  Branch (83:47): [True: 0, False: 255k]
  ------------------
   84|      0|        PyErr_SetString(PyExc_SystemError, "invalid tokenizer source line");
   85|      0|        return -1;
   86|      0|    }
   87|   405k|    if (source->nlines == INT_MAX ||
  ------------------
  |  Branch (87:9): [True: 0, False: 405k]
  ------------------
   88|   405k|            (source->nlines == INT_MAX - 1 && (newline != NULL || append_newline))) {
  ------------------
  |  Branch (88:14): [True: 0, False: 405k]
  |  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|   405k|    return 0;
   93|   405k|}
source.c:reserve_bytes:
   35|   405k|{
   36|   405k|    if (needed <= source->cap) {
  ------------------
  |  Branch (36:9): [True: 379k, False: 25.3k]
  ------------------
   37|   379k|        return 0;
   38|   379k|    }
   39|  25.3k|    Py_ssize_t cap = source->cap > 0 ? source->cap : BUFSIZ;
  ------------------
  |  Branch (39:22): [True: 492, False: 24.8k]
  ------------------
   40|  26.1k|    while (cap < needed) {
  ------------------
  |  Branch (40:12): [True: 750, False: 25.3k]
  ------------------
   41|    750|        if (cap > PY_SSIZE_T_MAX / SOURCE_BUFFER_GROWTH_FACTOR) {
  ------------------
  |  |  137|    750|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                      if (cap > PY_SSIZE_T_MAX / SOURCE_BUFFER_GROWTH_FACTOR) {
  ------------------
  |  |    6|    750|#define SOURCE_BUFFER_GROWTH_FACTOR 2
  ------------------
  |  Branch (41:13): [True: 0, False: 750]
  ------------------
   42|      0|            cap = needed;
   43|      0|            break;
   44|      0|        }
   45|    750|        cap *= SOURCE_BUFFER_GROWTH_FACTOR;
  ------------------
  |  |    6|    750|#define SOURCE_BUFFER_GROWTH_FACTOR 2
  ------------------
   46|    750|    }
   47|  25.3k|    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|  25.3k|    bytes = PyMem_Realloc(source->bytes, cap);
   56|  25.3k|#endif
   57|  25.3k|    if (bytes == NULL) {
  ------------------
  |  Branch (57:9): [True: 0, False: 25.3k]
  ------------------
   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|  25.3k|    source->bytes = bytes;
   68|  25.3k|    source->cap = cap;
   69|  25.3k|    return 0;
   70|  25.3k|}

reader.c:_PyTok_SourceData:
   18|   804k|{
   19|   804k|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (19:12): [True: 804k, False: 6]
  ------------------
   20|   804k|}
reader.c:_PyTok_SourceFindByte:
   55|   397k|{
   56|   397k|    Py_ssize_t length;
   57|   397k|    const char *data = _PyTok_SourceSpanView(source, span, &length);
   58|   397k|    const char *found = memchr(data, byte, length);
   59|   397k|    return found != NULL ? span.start + (found - data) : -1;
  ------------------
  |  Branch (59:12): [True: 394k, False: 2.31k]
  ------------------
   60|   397k|}
reader.c:_PyTok_SourceSpanView:
   43|   794k|{
   44|   794k|    assert(length != NULL);
  ------------------
  |  Branch (44:5): [True: 794k, False: 0]
  ------------------
   45|   794k|    assert(_PyTok_SpanIsValid(span));
  ------------------
  |  Branch (45:5): [True: 794k, False: 0]
  ------------------
   46|   794k|    assert(span.end - source->base_offset <= source->len);
  ------------------
  |  Branch (46:5): [True: 794k, False: 0]
  ------------------
   47|   794k|    *length = span.end - span.start;
   48|   794k|    return _PyTok_SourcePointer(source, span.start);
   49|   794k|}
reader.c:_PyTok_SourcePointer:
   26|   794k|{
   27|   794k|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (27:5): [True: 794k, False: 0]
  ------------------
   28|   794k|    assert(offset - source->base_offset <= source->len);
  ------------------
  |  Branch (28:5): [True: 794k, False: 0]
  ------------------
   29|   794k|    return _PyTok_SourceData(source) + (offset - source->base_offset);
   30|   794k|}
source.c:_PyTok_SourceData:
   18|    405|{
   19|    405|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (19:12): [True: 402, False: 3]
  ------------------
   20|    405|}
helpers.c:_PyTok_SourcePointer:
   26|  1.34k|{
   27|  1.34k|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (27:5): [True: 1.34k, False: 0]
  ------------------
   28|  1.34k|    assert(offset - source->base_offset <= source->len);
  ------------------
  |  Branch (28:5): [True: 1.34k, False: 0]
  ------------------
   29|  1.34k|    return _PyTok_SourceData(source) + (offset - source->base_offset);
   30|  1.34k|}
helpers.c:_PyTok_SourceData:
   18|  1.34k|{
   19|  1.34k|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (19:12): [True: 1.34k, False: 0]
  ------------------
   20|  1.34k|}
lexer.c:_PyTok_SourceFindByte:
   55|   397k|{
   56|   397k|    Py_ssize_t length;
   57|   397k|    const char *data = _PyTok_SourceSpanView(source, span, &length);
   58|   397k|    const char *found = memchr(data, byte, length);
   59|   397k|    return found != NULL ? span.start + (found - data) : -1;
  ------------------
  |  Branch (59:12): [True: 39, False: 397k]
  ------------------
   60|   397k|}
lexer.c:_PyTok_SourceSpanView:
   43|   397k|{
   44|   397k|    assert(length != NULL);
  ------------------
  |  Branch (44:5): [True: 397k, False: 0]
  ------------------
   45|   397k|    assert(_PyTok_SpanIsValid(span));
  ------------------
  |  Branch (45:5): [True: 397k, False: 0]
  ------------------
   46|   397k|    assert(span.end - source->base_offset <= source->len);
  ------------------
  |  Branch (46:5): [True: 397k, False: 0]
  ------------------
   47|   397k|    *length = span.end - span.start;
   48|   397k|    return _PyTok_SourcePointer(source, span.start);
   49|   397k|}
lexer.c:_PyTok_SourceByte:
   34|  31.0M|{
   35|  31.0M|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (35:5): [True: 31.0M, False: 0]
  ------------------
   36|  31.0M|    assert(offset - source->base_offset < source->len);
  ------------------
  |  Branch (36:5): [True: 31.0M, False: 0]
  ------------------
   37|  31.0M|    return (unsigned char)source->bytes[offset - source->base_offset];
   38|  31.0M|}
lexer.c:_PyTok_SourcePointer:
   26|   465k|{
   27|   465k|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (27:5): [True: 465k, False: 0]
  ------------------
   28|   465k|    assert(offset - source->base_offset <= source->len);
  ------------------
  |  Branch (28:5): [True: 465k, False: 0]
  ------------------
   29|   465k|    return _PyTok_SourceData(source) + (offset - source->base_offset);
   30|   465k|}
lexer.c:_PyTok_SourceData:
   18|   465k|{
   19|   465k|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (19:12): [True: 465k, False: 0]
  ------------------
   20|   465k|}
layout.c:_PyTok_SourceByte:
   34|   386k|{
   35|   386k|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (35:5): [True: 386k, False: 0]
  ------------------
   36|   386k|    assert(offset - source->base_offset < source->len);
  ------------------
  |  Branch (36:5): [True: 386k, False: 0]
  ------------------
   37|   386k|    return (unsigned char)source->bytes[offset - source->base_offset];
   38|   386k|}
number.c:_PyTok_SourceByte:
   34|  5.24M|{
   35|  5.24M|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (35:5): [True: 5.24M, False: 0]
  ------------------
   36|  5.24M|    assert(offset - source->base_offset < source->len);
  ------------------
  |  Branch (36:5): [True: 5.24M, False: 0]
  ------------------
   37|  5.24M|    return (unsigned char)source->bytes[offset - source->base_offset];
   38|  5.24M|}
string.c:_PyTok_SourceByte:
   34|  2.97M|{
   35|  2.97M|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (35:5): [True: 2.97M, False: 0]
  ------------------
   36|  2.97M|    assert(offset - source->base_offset < source->len);
  ------------------
  |  Branch (36:5): [True: 2.97M, False: 0]
  ------------------
   37|  2.97M|    return (unsigned char)source->bytes[offset - source->base_offset];
   38|  2.97M|}
string.c:_PyTok_SourceSpanView:
   43|  10.6k|{
   44|  10.6k|    assert(length != NULL);
  ------------------
  |  Branch (44:5): [True: 10.6k, False: 0]
  ------------------
   45|  10.6k|    assert(_PyTok_SpanIsValid(span));
  ------------------
  |  Branch (45:5): [True: 10.6k, False: 0]
  ------------------
   46|  10.6k|    assert(span.end - source->base_offset <= source->len);
  ------------------
  |  Branch (46:5): [True: 10.6k, False: 0]
  ------------------
   47|  10.6k|    *length = span.end - span.start;
   48|  10.6k|    return _PyTok_SourcePointer(source, span.start);
   49|  10.6k|}
string.c:_PyTok_SourcePointer:
   26|  11.2k|{
   27|  11.2k|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (27:5): [True: 11.2k, False: 0]
  ------------------
   28|  11.2k|    assert(offset - source->base_offset <= source->len);
  ------------------
  |  Branch (28:5): [True: 11.2k, False: 0]
  ------------------
   29|  11.2k|    return _PyTok_SourceData(source) + (offset - source->base_offset);
   30|  11.2k|}
string.c:_PyTok_SourceData:
   18|  11.2k|{
   19|  11.2k|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (19:12): [True: 11.2k, False: 0]
  ------------------
   20|  11.2k|}
decoder.c:_PyTok_SourceData:
   18|  10.0k|{
   19|  10.0k|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (19:12): [True: 10.0k, False: 5]
  ------------------
   20|  10.0k|}
api.c:_PyTok_SourceSpanView:
   43|  1.97M|{
   44|  1.97M|    assert(length != NULL);
  ------------------
  |  Branch (44:5): [True: 1.97M, False: 0]
  ------------------
   45|  1.97M|    assert(_PyTok_SpanIsValid(span));
  ------------------
  |  Branch (45:5): [True: 1.97M, False: 0]
  ------------------
   46|  1.97M|    assert(span.end - source->base_offset <= source->len);
  ------------------
  |  Branch (46:5): [True: 1.97M, False: 0]
  ------------------
   47|  1.97M|    *length = span.end - span.start;
   48|  1.97M|    return _PyTok_SourcePointer(source, span.start);
   49|  1.97M|}
api.c:_PyTok_SourcePointer:
   26|  1.97M|{
   27|  1.97M|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (27:5): [True: 1.97M, False: 0]
  ------------------
   28|  1.97M|    assert(offset - source->base_offset <= source->len);
  ------------------
  |  Branch (28:5): [True: 1.97M, False: 0]
  ------------------
   29|  1.97M|    return _PyTok_SourceData(source) + (offset - source->base_offset);
   30|  1.97M|}
api.c:_PyTok_SourceData:
   18|  1.97M|{
   19|  1.97M|    return source->bytes != NULL ? source->bytes : "";
  ------------------
  |  Branch (19:12): [True: 1.97M, False: 0]
  ------------------
   20|  1.97M|}
api.c:_PyTok_SourceByte:
   34|  1.56k|{
   35|  1.56k|    assert(offset >= source->base_offset);
  ------------------
  |  Branch (35:5): [True: 1.56k, False: 0]
  ------------------
   36|  1.56k|    assert(offset - source->base_offset < source->len);
  ------------------
  |  Branch (36:5): [True: 1.56k, False: 0]
  ------------------
   37|  1.56k|    return (unsigned char)source->bytes[offset - source->base_offset];
   38|  1.56k|}

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

reader.c:_PyTok_SpanIsValid:
   23|   794k|{
   24|   794k|    return span.start >= 0 && span.end >= span.start;
  ------------------
  |  Branch (24:12): [True: 794k, False: 0]
  |  Branch (24:31): [True: 794k, False: 0]
  ------------------
   25|   794k|}
lexer.c:_PyTok_SpanIsValid:
   23|   397k|{
   24|   397k|    return span.start >= 0 && span.end >= span.start;
  ------------------
  |  Branch (24:12): [True: 397k, False: 0]
  |  Branch (24:31): [True: 397k, False: 0]
  ------------------
   25|   397k|}
string.c:_PyTok_SpanIsValid:
   23|  11.8k|{
   24|  11.8k|    return span.start >= 0 && span.end >= span.start;
  ------------------
  |  Branch (24:12): [True: 11.8k, False: 0]
  |  Branch (24:31): [True: 11.8k, False: 0]
  ------------------
   25|  11.8k|}
api.c:_PyTok_SpanIsValid:
   23|  1.97M|{
   24|  1.97M|    return span.start >= 0 && span.end >= span.start;
  ------------------
  |  Branch (24:12): [True: 1.97M, False: 0]
  |  Branch (24:31): [True: 1.97M, False: 0]
  ------------------
   25|  1.97M|}

_PyAST_Module:
 3251|  9.90k|{
 3252|  9.90k|    mod_ty p;
 3253|  9.90k|    p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
 3254|  9.90k|    if (!p)
  ------------------
  |  Branch (3254:9): [True: 0, False: 9.90k]
  ------------------
 3255|      0|        return NULL;
 3256|  9.90k|    p->kind = Module_kind;
 3257|  9.90k|    p->v.Module.body = body;
 3258|  9.90k|    p->v.Module.type_ignores = type_ignores;
 3259|  9.90k|    return p;
 3260|  9.90k|}
_PyAST_Interactive:
 3264|  2.76k|{
 3265|  2.76k|    mod_ty p;
 3266|  2.76k|    p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
 3267|  2.76k|    if (!p)
  ------------------
  |  Branch (3267:9): [True: 0, False: 2.76k]
  ------------------
 3268|      0|        return NULL;
 3269|  2.76k|    p->kind = Interactive_kind;
 3270|  2.76k|    p->v.Interactive.body = body;
 3271|  2.76k|    return p;
 3272|  2.76k|}
_PyAST_Expression:
 3276|  2.02k|{
 3277|  2.02k|    mod_ty p;
 3278|  2.02k|    if (!body) {
  ------------------
  |  Branch (3278:9): [True: 0, False: 2.02k]
  ------------------
 3279|      0|        PyErr_SetString(PyExc_ValueError,
 3280|      0|                        "field 'body' is required for Expression");
 3281|      0|        return NULL;
 3282|      0|    }
 3283|  2.02k|    p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
 3284|  2.02k|    if (!p)
  ------------------
  |  Branch (3284:9): [True: 0, False: 2.02k]
  ------------------
 3285|      0|        return NULL;
 3286|  2.02k|    p->kind = Expression_kind;
 3287|  2.02k|    p->v.Expression.body = body;
 3288|  2.02k|    return p;
 3289|  2.02k|}
_PyAST_FunctionDef:
 3315|  7.50k|{
 3316|  7.50k|    stmt_ty p;
 3317|  7.50k|    if (!name) {
  ------------------
  |  Branch (3317:9): [True: 0, False: 7.50k]
  ------------------
 3318|      0|        PyErr_SetString(PyExc_ValueError,
 3319|      0|                        "field 'name' is required for FunctionDef");
 3320|      0|        return NULL;
 3321|      0|    }
 3322|  7.50k|    if (!args) {
  ------------------
  |  Branch (3322:9): [True: 0, False: 7.50k]
  ------------------
 3323|      0|        PyErr_SetString(PyExc_ValueError,
 3324|      0|                        "field 'args' is required for FunctionDef");
 3325|      0|        return NULL;
 3326|      0|    }
 3327|  7.50k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3328|  7.50k|    if (!p)
  ------------------
  |  Branch (3328:9): [True: 0, False: 7.50k]
  ------------------
 3329|      0|        return NULL;
 3330|  7.50k|    p->kind = FunctionDef_kind;
 3331|  7.50k|    p->v.FunctionDef.name = name;
 3332|  7.50k|    p->v.FunctionDef.args = args;
 3333|  7.50k|    p->v.FunctionDef.body = body;
 3334|  7.50k|    p->v.FunctionDef.decorator_list = decorator_list;
 3335|  7.50k|    p->v.FunctionDef.returns = returns;
 3336|  7.50k|    p->v.FunctionDef.type_comment = type_comment;
 3337|  7.50k|    p->v.FunctionDef.type_params = type_params;
 3338|  7.50k|    p->lineno = lineno;
 3339|  7.50k|    p->col_offset = col_offset;
 3340|  7.50k|    p->end_lineno = end_lineno;
 3341|  7.50k|    p->end_col_offset = end_col_offset;
 3342|  7.50k|    return p;
 3343|  7.50k|}
_PyAST_AsyncFunctionDef:
 3351|  4.88k|{
 3352|  4.88k|    stmt_ty p;
 3353|  4.88k|    if (!name) {
  ------------------
  |  Branch (3353:9): [True: 0, False: 4.88k]
  ------------------
 3354|      0|        PyErr_SetString(PyExc_ValueError,
 3355|      0|                        "field 'name' is required for AsyncFunctionDef");
 3356|      0|        return NULL;
 3357|      0|    }
 3358|  4.88k|    if (!args) {
  ------------------
  |  Branch (3358:9): [True: 0, False: 4.88k]
  ------------------
 3359|      0|        PyErr_SetString(PyExc_ValueError,
 3360|      0|                        "field 'args' is required for AsyncFunctionDef");
 3361|      0|        return NULL;
 3362|      0|    }
 3363|  4.88k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3364|  4.88k|    if (!p)
  ------------------
  |  Branch (3364:9): [True: 0, False: 4.88k]
  ------------------
 3365|      0|        return NULL;
 3366|  4.88k|    p->kind = AsyncFunctionDef_kind;
 3367|  4.88k|    p->v.AsyncFunctionDef.name = name;
 3368|  4.88k|    p->v.AsyncFunctionDef.args = args;
 3369|  4.88k|    p->v.AsyncFunctionDef.body = body;
 3370|  4.88k|    p->v.AsyncFunctionDef.decorator_list = decorator_list;
 3371|  4.88k|    p->v.AsyncFunctionDef.returns = returns;
 3372|  4.88k|    p->v.AsyncFunctionDef.type_comment = type_comment;
 3373|  4.88k|    p->v.AsyncFunctionDef.type_params = type_params;
 3374|  4.88k|    p->lineno = lineno;
 3375|  4.88k|    p->col_offset = col_offset;
 3376|  4.88k|    p->end_lineno = end_lineno;
 3377|  4.88k|    p->end_col_offset = end_col_offset;
 3378|  4.88k|    return p;
 3379|  4.88k|}
_PyAST_ClassDef:
 3386|  16.4k|{
 3387|  16.4k|    stmt_ty p;
 3388|  16.4k|    if (!name) {
  ------------------
  |  Branch (3388:9): [True: 0, False: 16.4k]
  ------------------
 3389|      0|        PyErr_SetString(PyExc_ValueError,
 3390|      0|                        "field 'name' is required for ClassDef");
 3391|      0|        return NULL;
 3392|      0|    }
 3393|  16.4k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3394|  16.4k|    if (!p)
  ------------------
  |  Branch (3394:9): [True: 0, False: 16.4k]
  ------------------
 3395|      0|        return NULL;
 3396|  16.4k|    p->kind = ClassDef_kind;
 3397|  16.4k|    p->v.ClassDef.name = name;
 3398|  16.4k|    p->v.ClassDef.bases = bases;
 3399|  16.4k|    p->v.ClassDef.keywords = keywords;
 3400|  16.4k|    p->v.ClassDef.body = body;
 3401|  16.4k|    p->v.ClassDef.decorator_list = decorator_list;
 3402|  16.4k|    p->v.ClassDef.type_params = type_params;
 3403|  16.4k|    p->lineno = lineno;
 3404|  16.4k|    p->col_offset = col_offset;
 3405|  16.4k|    p->end_lineno = end_lineno;
 3406|  16.4k|    p->end_col_offset = end_col_offset;
 3407|  16.4k|    return p;
 3408|  16.4k|}
_PyAST_Return:
 3413|  1.59k|{
 3414|  1.59k|    stmt_ty p;
 3415|  1.59k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3416|  1.59k|    if (!p)
  ------------------
  |  Branch (3416:9): [True: 0, False: 1.59k]
  ------------------
 3417|      0|        return NULL;
 3418|  1.59k|    p->kind = Return_kind;
 3419|  1.59k|    p->v.Return.value = value;
 3420|  1.59k|    p->lineno = lineno;
 3421|  1.59k|    p->col_offset = col_offset;
 3422|  1.59k|    p->end_lineno = end_lineno;
 3423|  1.59k|    p->end_col_offset = end_col_offset;
 3424|  1.59k|    return p;
 3425|  1.59k|}
_PyAST_Delete:
 3430|  1.54k|{
 3431|  1.54k|    stmt_ty p;
 3432|  1.54k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3433|  1.54k|    if (!p)
  ------------------
  |  Branch (3433:9): [True: 0, False: 1.54k]
  ------------------
 3434|      0|        return NULL;
 3435|  1.54k|    p->kind = Delete_kind;
 3436|  1.54k|    p->v.Delete.targets = targets;
 3437|  1.54k|    p->lineno = lineno;
 3438|  1.54k|    p->col_offset = col_offset;
 3439|  1.54k|    p->end_lineno = end_lineno;
 3440|  1.54k|    p->end_col_offset = end_col_offset;
 3441|  1.54k|    return p;
 3442|  1.54k|}
_PyAST_Assign:
 3448|  8.31k|{
 3449|  8.31k|    stmt_ty p;
 3450|  8.31k|    if (!value) {
  ------------------
  |  Branch (3450:9): [True: 0, False: 8.31k]
  ------------------
 3451|      0|        PyErr_SetString(PyExc_ValueError,
 3452|      0|                        "field 'value' is required for Assign");
 3453|      0|        return NULL;
 3454|      0|    }
 3455|  8.31k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3456|  8.31k|    if (!p)
  ------------------
  |  Branch (3456:9): [True: 0, False: 8.31k]
  ------------------
 3457|      0|        return NULL;
 3458|  8.31k|    p->kind = Assign_kind;
 3459|  8.31k|    p->v.Assign.targets = targets;
 3460|  8.31k|    p->v.Assign.value = value;
 3461|  8.31k|    p->v.Assign.type_comment = type_comment;
 3462|  8.31k|    p->lineno = lineno;
 3463|  8.31k|    p->col_offset = col_offset;
 3464|  8.31k|    p->end_lineno = end_lineno;
 3465|  8.31k|    p->end_col_offset = end_col_offset;
 3466|  8.31k|    return p;
 3467|  8.31k|}
_PyAST_TypeAlias:
 3473|  2.75k|{
 3474|  2.75k|    stmt_ty p;
 3475|  2.75k|    if (!name) {
  ------------------
  |  Branch (3475:9): [True: 0, False: 2.75k]
  ------------------
 3476|      0|        PyErr_SetString(PyExc_ValueError,
 3477|      0|                        "field 'name' is required for TypeAlias");
 3478|      0|        return NULL;
 3479|      0|    }
 3480|  2.75k|    if (!value) {
  ------------------
  |  Branch (3480:9): [True: 0, False: 2.75k]
  ------------------
 3481|      0|        PyErr_SetString(PyExc_ValueError,
 3482|      0|                        "field 'value' is required for TypeAlias");
 3483|      0|        return NULL;
 3484|      0|    }
 3485|  2.75k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3486|  2.75k|    if (!p)
  ------------------
  |  Branch (3486:9): [True: 0, False: 2.75k]
  ------------------
 3487|      0|        return NULL;
 3488|  2.75k|    p->kind = TypeAlias_kind;
 3489|  2.75k|    p->v.TypeAlias.name = name;
 3490|  2.75k|    p->v.TypeAlias.type_params = type_params;
 3491|  2.75k|    p->v.TypeAlias.value = value;
 3492|  2.75k|    p->lineno = lineno;
 3493|  2.75k|    p->col_offset = col_offset;
 3494|  2.75k|    p->end_lineno = end_lineno;
 3495|  2.75k|    p->end_col_offset = end_col_offset;
 3496|  2.75k|    return p;
 3497|  2.75k|}
_PyAST_AugAssign:
 3502|  7.75k|{
 3503|  7.75k|    stmt_ty p;
 3504|  7.75k|    if (!target) {
  ------------------
  |  Branch (3504:9): [True: 0, False: 7.75k]
  ------------------
 3505|      0|        PyErr_SetString(PyExc_ValueError,
 3506|      0|                        "field 'target' is required for AugAssign");
 3507|      0|        return NULL;
 3508|      0|    }
 3509|  7.75k|    if (!op) {
  ------------------
  |  Branch (3509:9): [True: 0, False: 7.75k]
  ------------------
 3510|      0|        PyErr_SetString(PyExc_ValueError,
 3511|      0|                        "field 'op' is required for AugAssign");
 3512|      0|        return NULL;
 3513|      0|    }
 3514|  7.75k|    if (!value) {
  ------------------
  |  Branch (3514:9): [True: 0, False: 7.75k]
  ------------------
 3515|      0|        PyErr_SetString(PyExc_ValueError,
 3516|      0|                        "field 'value' is required for AugAssign");
 3517|      0|        return NULL;
 3518|      0|    }
 3519|  7.75k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3520|  7.75k|    if (!p)
  ------------------
  |  Branch (3520:9): [True: 0, False: 7.75k]
  ------------------
 3521|      0|        return NULL;
 3522|  7.75k|    p->kind = AugAssign_kind;
 3523|  7.75k|    p->v.AugAssign.target = target;
 3524|  7.75k|    p->v.AugAssign.op = op;
 3525|  7.75k|    p->v.AugAssign.value = value;
 3526|  7.75k|    p->lineno = lineno;
 3527|  7.75k|    p->col_offset = col_offset;
 3528|  7.75k|    p->end_lineno = end_lineno;
 3529|  7.75k|    p->end_col_offset = end_col_offset;
 3530|  7.75k|    return p;
 3531|  7.75k|}
_PyAST_AnnAssign:
 3537|  30.2k|{
 3538|  30.2k|    stmt_ty p;
 3539|  30.2k|    if (!target) {
  ------------------
  |  Branch (3539:9): [True: 0, False: 30.2k]
  ------------------
 3540|      0|        PyErr_SetString(PyExc_ValueError,
 3541|      0|                        "field 'target' is required for AnnAssign");
 3542|      0|        return NULL;
 3543|      0|    }
 3544|  30.2k|    if (!annotation) {
  ------------------
  |  Branch (3544:9): [True: 0, False: 30.2k]
  ------------------
 3545|      0|        PyErr_SetString(PyExc_ValueError,
 3546|      0|                        "field 'annotation' is required for AnnAssign");
 3547|      0|        return NULL;
 3548|      0|    }
 3549|  30.2k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3550|  30.2k|    if (!p)
  ------------------
  |  Branch (3550:9): [True: 0, False: 30.2k]
  ------------------
 3551|      0|        return NULL;
 3552|  30.2k|    p->kind = AnnAssign_kind;
 3553|  30.2k|    p->v.AnnAssign.target = target;
 3554|  30.2k|    p->v.AnnAssign.annotation = annotation;
 3555|  30.2k|    p->v.AnnAssign.value = value;
 3556|  30.2k|    p->v.AnnAssign.simple = simple;
 3557|  30.2k|    p->lineno = lineno;
 3558|  30.2k|    p->col_offset = col_offset;
 3559|  30.2k|    p->end_lineno = end_lineno;
 3560|  30.2k|    p->end_col_offset = end_col_offset;
 3561|  30.2k|    return p;
 3562|  30.2k|}
_PyAST_For:
 3568|    920|{
 3569|    920|    stmt_ty p;
 3570|    920|    if (!target) {
  ------------------
  |  Branch (3570:9): [True: 0, False: 920]
  ------------------
 3571|      0|        PyErr_SetString(PyExc_ValueError,
 3572|      0|                        "field 'target' is required for For");
 3573|      0|        return NULL;
 3574|      0|    }
 3575|    920|    if (!iter) {
  ------------------
  |  Branch (3575:9): [True: 0, False: 920]
  ------------------
 3576|      0|        PyErr_SetString(PyExc_ValueError,
 3577|      0|                        "field 'iter' is required for For");
 3578|      0|        return NULL;
 3579|      0|    }
 3580|    920|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3581|    920|    if (!p)
  ------------------
  |  Branch (3581:9): [True: 0, False: 920]
  ------------------
 3582|      0|        return NULL;
 3583|    920|    p->kind = For_kind;
 3584|    920|    p->v.For.target = target;
 3585|    920|    p->v.For.iter = iter;
 3586|    920|    p->v.For.body = body;
 3587|    920|    p->v.For.orelse = orelse;
 3588|    920|    p->v.For.type_comment = type_comment;
 3589|    920|    p->lineno = lineno;
 3590|    920|    p->col_offset = col_offset;
 3591|    920|    p->end_lineno = end_lineno;
 3592|    920|    p->end_col_offset = end_col_offset;
 3593|    920|    return p;
 3594|    920|}
_PyAST_AsyncFor:
 3600|    870|{
 3601|    870|    stmt_ty p;
 3602|    870|    if (!target) {
  ------------------
  |  Branch (3602:9): [True: 0, False: 870]
  ------------------
 3603|      0|        PyErr_SetString(PyExc_ValueError,
 3604|      0|                        "field 'target' is required for AsyncFor");
 3605|      0|        return NULL;
 3606|      0|    }
 3607|    870|    if (!iter) {
  ------------------
  |  Branch (3607:9): [True: 0, False: 870]
  ------------------
 3608|      0|        PyErr_SetString(PyExc_ValueError,
 3609|      0|                        "field 'iter' is required for AsyncFor");
 3610|      0|        return NULL;
 3611|      0|    }
 3612|    870|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3613|    870|    if (!p)
  ------------------
  |  Branch (3613:9): [True: 0, False: 870]
  ------------------
 3614|      0|        return NULL;
 3615|    870|    p->kind = AsyncFor_kind;
 3616|    870|    p->v.AsyncFor.target = target;
 3617|    870|    p->v.AsyncFor.iter = iter;
 3618|    870|    p->v.AsyncFor.body = body;
 3619|    870|    p->v.AsyncFor.orelse = orelse;
 3620|    870|    p->v.AsyncFor.type_comment = type_comment;
 3621|    870|    p->lineno = lineno;
 3622|    870|    p->col_offset = col_offset;
 3623|    870|    p->end_lineno = end_lineno;
 3624|    870|    p->end_col_offset = end_col_offset;
 3625|    870|    return p;
 3626|    870|}
_PyAST_While:
 3632|  3.21k|{
 3633|  3.21k|    stmt_ty p;
 3634|  3.21k|    if (!test) {
  ------------------
  |  Branch (3634:9): [True: 0, False: 3.21k]
  ------------------
 3635|      0|        PyErr_SetString(PyExc_ValueError,
 3636|      0|                        "field 'test' is required for While");
 3637|      0|        return NULL;
 3638|      0|    }
 3639|  3.21k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3640|  3.21k|    if (!p)
  ------------------
  |  Branch (3640:9): [True: 0, False: 3.21k]
  ------------------
 3641|      0|        return NULL;
 3642|  3.21k|    p->kind = While_kind;
 3643|  3.21k|    p->v.While.test = test;
 3644|  3.21k|    p->v.While.body = body;
 3645|  3.21k|    p->v.While.orelse = orelse;
 3646|  3.21k|    p->lineno = lineno;
 3647|  3.21k|    p->col_offset = col_offset;
 3648|  3.21k|    p->end_lineno = end_lineno;
 3649|  3.21k|    p->end_col_offset = end_col_offset;
 3650|  3.21k|    return p;
 3651|  3.21k|}
_PyAST_If:
 3657|  2.43k|{
 3658|  2.43k|    stmt_ty p;
 3659|  2.43k|    if (!test) {
  ------------------
  |  Branch (3659:9): [True: 0, False: 2.43k]
  ------------------
 3660|      0|        PyErr_SetString(PyExc_ValueError,
 3661|      0|                        "field 'test' is required for If");
 3662|      0|        return NULL;
 3663|      0|    }
 3664|  2.43k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3665|  2.43k|    if (!p)
  ------------------
  |  Branch (3665:9): [True: 0, False: 2.43k]
  ------------------
 3666|      0|        return NULL;
 3667|  2.43k|    p->kind = If_kind;
 3668|  2.43k|    p->v.If.test = test;
 3669|  2.43k|    p->v.If.body = body;
 3670|  2.43k|    p->v.If.orelse = orelse;
 3671|  2.43k|    p->lineno = lineno;
 3672|  2.43k|    p->col_offset = col_offset;
 3673|  2.43k|    p->end_lineno = end_lineno;
 3674|  2.43k|    p->end_col_offset = end_col_offset;
 3675|  2.43k|    return p;
 3676|  2.43k|}
_PyAST_With:
 3682|  2.55k|{
 3683|  2.55k|    stmt_ty p;
 3684|  2.55k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3685|  2.55k|    if (!p)
  ------------------
  |  Branch (3685:9): [True: 0, False: 2.55k]
  ------------------
 3686|      0|        return NULL;
 3687|  2.55k|    p->kind = With_kind;
 3688|  2.55k|    p->v.With.items = items;
 3689|  2.55k|    p->v.With.body = body;
 3690|  2.55k|    p->v.With.type_comment = type_comment;
 3691|  2.55k|    p->lineno = lineno;
 3692|  2.55k|    p->col_offset = col_offset;
 3693|  2.55k|    p->end_lineno = end_lineno;
 3694|  2.55k|    p->end_col_offset = end_col_offset;
 3695|  2.55k|    return p;
 3696|  2.55k|}
_PyAST_AsyncWith:
 3702|  2.82k|{
 3703|  2.82k|    stmt_ty p;
 3704|  2.82k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3705|  2.82k|    if (!p)
  ------------------
  |  Branch (3705:9): [True: 0, False: 2.82k]
  ------------------
 3706|      0|        return NULL;
 3707|  2.82k|    p->kind = AsyncWith_kind;
 3708|  2.82k|    p->v.AsyncWith.items = items;
 3709|  2.82k|    p->v.AsyncWith.body = body;
 3710|  2.82k|    p->v.AsyncWith.type_comment = type_comment;
 3711|  2.82k|    p->lineno = lineno;
 3712|  2.82k|    p->col_offset = col_offset;
 3713|  2.82k|    p->end_lineno = end_lineno;
 3714|  2.82k|    p->end_col_offset = end_col_offset;
 3715|  2.82k|    return p;
 3716|  2.82k|}
_PyAST_Match:
 3721|  1.40k|{
 3722|  1.40k|    stmt_ty p;
 3723|  1.40k|    if (!subject) {
  ------------------
  |  Branch (3723:9): [True: 0, False: 1.40k]
  ------------------
 3724|      0|        PyErr_SetString(PyExc_ValueError,
 3725|      0|                        "field 'subject' is required for Match");
 3726|      0|        return NULL;
 3727|      0|    }
 3728|  1.40k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3729|  1.40k|    if (!p)
  ------------------
  |  Branch (3729:9): [True: 0, False: 1.40k]
  ------------------
 3730|      0|        return NULL;
 3731|  1.40k|    p->kind = Match_kind;
 3732|  1.40k|    p->v.Match.subject = subject;
 3733|  1.40k|    p->v.Match.cases = cases;
 3734|  1.40k|    p->lineno = lineno;
 3735|  1.40k|    p->col_offset = col_offset;
 3736|  1.40k|    p->end_lineno = end_lineno;
 3737|  1.40k|    p->end_col_offset = end_col_offset;
 3738|  1.40k|    return p;
 3739|  1.40k|}
_PyAST_Raise:
 3744|  1.40k|{
 3745|  1.40k|    stmt_ty p;
 3746|  1.40k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3747|  1.40k|    if (!p)
  ------------------
  |  Branch (3747:9): [True: 0, False: 1.40k]
  ------------------
 3748|      0|        return NULL;
 3749|  1.40k|    p->kind = Raise_kind;
 3750|  1.40k|    p->v.Raise.exc = exc;
 3751|  1.40k|    p->v.Raise.cause = cause;
 3752|  1.40k|    p->lineno = lineno;
 3753|  1.40k|    p->col_offset = col_offset;
 3754|  1.40k|    p->end_lineno = end_lineno;
 3755|  1.40k|    p->end_col_offset = end_col_offset;
 3756|  1.40k|    return p;
 3757|  1.40k|}
_PyAST_Try:
 3763|  5.70k|{
 3764|  5.70k|    stmt_ty p;
 3765|  5.70k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3766|  5.70k|    if (!p)
  ------------------
  |  Branch (3766:9): [True: 0, False: 5.70k]
  ------------------
 3767|      0|        return NULL;
 3768|  5.70k|    p->kind = Try_kind;
 3769|  5.70k|    p->v.Try.body = body;
 3770|  5.70k|    p->v.Try.handlers = handlers;
 3771|  5.70k|    p->v.Try.orelse = orelse;
 3772|  5.70k|    p->v.Try.finalbody = finalbody;
 3773|  5.70k|    p->lineno = lineno;
 3774|  5.70k|    p->col_offset = col_offset;
 3775|  5.70k|    p->end_lineno = end_lineno;
 3776|  5.70k|    p->end_col_offset = end_col_offset;
 3777|  5.70k|    return p;
 3778|  5.70k|}
_PyAST_TryStar:
 3785|  1.15k|{
 3786|  1.15k|    stmt_ty p;
 3787|  1.15k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3788|  1.15k|    if (!p)
  ------------------
  |  Branch (3788:9): [True: 0, False: 1.15k]
  ------------------
 3789|      0|        return NULL;
 3790|  1.15k|    p->kind = TryStar_kind;
 3791|  1.15k|    p->v.TryStar.body = body;
 3792|  1.15k|    p->v.TryStar.handlers = handlers;
 3793|  1.15k|    p->v.TryStar.orelse = orelse;
 3794|  1.15k|    p->v.TryStar.finalbody = finalbody;
 3795|  1.15k|    p->lineno = lineno;
 3796|  1.15k|    p->col_offset = col_offset;
 3797|  1.15k|    p->end_lineno = end_lineno;
 3798|  1.15k|    p->end_col_offset = end_col_offset;
 3799|  1.15k|    return p;
 3800|  1.15k|}
_PyAST_Assert:
 3805|  3.84k|{
 3806|  3.84k|    stmt_ty p;
 3807|  3.84k|    if (!test) {
  ------------------
  |  Branch (3807:9): [True: 0, False: 3.84k]
  ------------------
 3808|      0|        PyErr_SetString(PyExc_ValueError,
 3809|      0|                        "field 'test' is required for Assert");
 3810|      0|        return NULL;
 3811|      0|    }
 3812|  3.84k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3813|  3.84k|    if (!p)
  ------------------
  |  Branch (3813:9): [True: 0, False: 3.84k]
  ------------------
 3814|      0|        return NULL;
 3815|  3.84k|    p->kind = Assert_kind;
 3816|  3.84k|    p->v.Assert.test = test;
 3817|  3.84k|    p->v.Assert.msg = msg;
 3818|  3.84k|    p->lineno = lineno;
 3819|  3.84k|    p->col_offset = col_offset;
 3820|  3.84k|    p->end_lineno = end_lineno;
 3821|  3.84k|    p->end_col_offset = end_col_offset;
 3822|  3.84k|    return p;
 3823|  3.84k|}
_PyAST_Import:
 3828|  3.34k|{
 3829|  3.34k|    stmt_ty p;
 3830|  3.34k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3831|  3.34k|    if (!p)
  ------------------
  |  Branch (3831:9): [True: 0, False: 3.34k]
  ------------------
 3832|      0|        return NULL;
 3833|  3.34k|    p->kind = Import_kind;
 3834|  3.34k|    p->v.Import.names = names;
 3835|  3.34k|    p->v.Import.is_lazy = is_lazy;
 3836|  3.34k|    p->lineno = lineno;
 3837|  3.34k|    p->col_offset = col_offset;
 3838|  3.34k|    p->end_lineno = end_lineno;
 3839|  3.34k|    p->end_col_offset = end_col_offset;
 3840|  3.34k|    return p;
 3841|  3.34k|}
_PyAST_ImportFrom:
 3847|  5.96k|{
 3848|  5.96k|    stmt_ty p;
 3849|  5.96k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3850|  5.96k|    if (!p)
  ------------------
  |  Branch (3850:9): [True: 0, False: 5.96k]
  ------------------
 3851|      0|        return NULL;
 3852|  5.96k|    p->kind = ImportFrom_kind;
 3853|  5.96k|    p->v.ImportFrom.module = module;
 3854|  5.96k|    p->v.ImportFrom.names = names;
 3855|  5.96k|    p->v.ImportFrom.level = level;
 3856|  5.96k|    p->v.ImportFrom.is_lazy = is_lazy;
 3857|  5.96k|    p->lineno = lineno;
 3858|  5.96k|    p->col_offset = col_offset;
 3859|  5.96k|    p->end_lineno = end_lineno;
 3860|  5.96k|    p->end_col_offset = end_col_offset;
 3861|  5.96k|    return p;
 3862|  5.96k|}
_PyAST_Global:
 3867|    957|{
 3868|    957|    stmt_ty p;
 3869|    957|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3870|    957|    if (!p)
  ------------------
  |  Branch (3870:9): [True: 0, False: 957]
  ------------------
 3871|      0|        return NULL;
 3872|    957|    p->kind = Global_kind;
 3873|    957|    p->v.Global.names = names;
 3874|    957|    p->lineno = lineno;
 3875|    957|    p->col_offset = col_offset;
 3876|    957|    p->end_lineno = end_lineno;
 3877|    957|    p->end_col_offset = end_col_offset;
 3878|    957|    return p;
 3879|    957|}
_PyAST_Nonlocal:
 3884|    290|{
 3885|    290|    stmt_ty p;
 3886|    290|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3887|    290|    if (!p)
  ------------------
  |  Branch (3887:9): [True: 0, False: 290]
  ------------------
 3888|      0|        return NULL;
 3889|    290|    p->kind = Nonlocal_kind;
 3890|    290|    p->v.Nonlocal.names = names;
 3891|    290|    p->lineno = lineno;
 3892|    290|    p->col_offset = col_offset;
 3893|    290|    p->end_lineno = end_lineno;
 3894|    290|    p->end_col_offset = end_col_offset;
 3895|    290|    return p;
 3896|    290|}
_PyAST_Expr:
 3901|   156k|{
 3902|   156k|    stmt_ty p;
 3903|   156k|    if (!value) {
  ------------------
  |  Branch (3903:9): [True: 0, False: 156k]
  ------------------
 3904|      0|        PyErr_SetString(PyExc_ValueError,
 3905|      0|                        "field 'value' is required for Expr");
 3906|      0|        return NULL;
 3907|      0|    }
 3908|   156k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3909|   156k|    if (!p)
  ------------------
  |  Branch (3909:9): [True: 0, False: 156k]
  ------------------
 3910|      0|        return NULL;
 3911|   156k|    p->kind = Expr_kind;
 3912|   156k|    p->v.Expr.value = value;
 3913|   156k|    p->lineno = lineno;
 3914|   156k|    p->col_offset = col_offset;
 3915|   156k|    p->end_lineno = end_lineno;
 3916|   156k|    p->end_col_offset = end_col_offset;
 3917|   156k|    return p;
 3918|   156k|}
_PyAST_Pass:
 3923|  3.57k|{
 3924|  3.57k|    stmt_ty p;
 3925|  3.57k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3926|  3.57k|    if (!p)
  ------------------
  |  Branch (3926:9): [True: 0, False: 3.57k]
  ------------------
 3927|      0|        return NULL;
 3928|  3.57k|    p->kind = Pass_kind;
 3929|  3.57k|    p->lineno = lineno;
 3930|  3.57k|    p->col_offset = col_offset;
 3931|  3.57k|    p->end_lineno = end_lineno;
 3932|  3.57k|    p->end_col_offset = end_col_offset;
 3933|  3.57k|    return p;
 3934|  3.57k|}
_PyAST_Break:
 3939|  1.69k|{
 3940|  1.69k|    stmt_ty p;
 3941|  1.69k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3942|  1.69k|    if (!p)
  ------------------
  |  Branch (3942:9): [True: 0, False: 1.69k]
  ------------------
 3943|      0|        return NULL;
 3944|  1.69k|    p->kind = Break_kind;
 3945|  1.69k|    p->lineno = lineno;
 3946|  1.69k|    p->col_offset = col_offset;
 3947|  1.69k|    p->end_lineno = end_lineno;
 3948|  1.69k|    p->end_col_offset = end_col_offset;
 3949|  1.69k|    return p;
 3950|  1.69k|}
_PyAST_Continue:
 3955|  1.13k|{
 3956|  1.13k|    stmt_ty p;
 3957|  1.13k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 3958|  1.13k|    if (!p)
  ------------------
  |  Branch (3958:9): [True: 0, False: 1.13k]
  ------------------
 3959|      0|        return NULL;
 3960|  1.13k|    p->kind = Continue_kind;
 3961|  1.13k|    p->lineno = lineno;
 3962|  1.13k|    p->col_offset = col_offset;
 3963|  1.13k|    p->end_lineno = end_lineno;
 3964|  1.13k|    p->end_col_offset = end_col_offset;
 3965|  1.13k|    return p;
 3966|  1.13k|}
_PyAST_BoolOp:
 3971|  3.68k|{
 3972|  3.68k|    expr_ty p;
 3973|  3.68k|    if (!op) {
  ------------------
  |  Branch (3973:9): [True: 0, False: 3.68k]
  ------------------
 3974|      0|        PyErr_SetString(PyExc_ValueError,
 3975|      0|                        "field 'op' is required for BoolOp");
 3976|      0|        return NULL;
 3977|      0|    }
 3978|  3.68k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 3979|  3.68k|    if (!p)
  ------------------
  |  Branch (3979:9): [True: 0, False: 3.68k]
  ------------------
 3980|      0|        return NULL;
 3981|  3.68k|    p->kind = BoolOp_kind;
 3982|  3.68k|    p->v.BoolOp.op = op;
 3983|  3.68k|    p->v.BoolOp.values = values;
 3984|  3.68k|    p->lineno = lineno;
 3985|  3.68k|    p->col_offset = col_offset;
 3986|  3.68k|    p->end_lineno = end_lineno;
 3987|  3.68k|    p->end_col_offset = end_col_offset;
 3988|  3.68k|    return p;
 3989|  3.68k|}
_PyAST_NamedExpr:
 3994|  6.71k|{
 3995|  6.71k|    expr_ty p;
 3996|  6.71k|    if (!target) {
  ------------------
  |  Branch (3996:9): [True: 0, False: 6.71k]
  ------------------
 3997|      0|        PyErr_SetString(PyExc_ValueError,
 3998|      0|                        "field 'target' is required for NamedExpr");
 3999|      0|        return NULL;
 4000|      0|    }
 4001|  6.71k|    if (!value) {
  ------------------
  |  Branch (4001:9): [True: 0, False: 6.71k]
  ------------------
 4002|      0|        PyErr_SetString(PyExc_ValueError,
 4003|      0|                        "field 'value' is required for NamedExpr");
 4004|      0|        return NULL;
 4005|      0|    }
 4006|  6.71k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4007|  6.71k|    if (!p)
  ------------------
  |  Branch (4007:9): [True: 0, False: 6.71k]
  ------------------
 4008|      0|        return NULL;
 4009|  6.71k|    p->kind = NamedExpr_kind;
 4010|  6.71k|    p->v.NamedExpr.target = target;
 4011|  6.71k|    p->v.NamedExpr.value = value;
 4012|  6.71k|    p->lineno = lineno;
 4013|  6.71k|    p->col_offset = col_offset;
 4014|  6.71k|    p->end_lineno = end_lineno;
 4015|  6.71k|    p->end_col_offset = end_col_offset;
 4016|  6.71k|    return p;
 4017|  6.71k|}
_PyAST_BinOp:
 4022|   710k|{
 4023|   710k|    expr_ty p;
 4024|   710k|    if (!left) {
  ------------------
  |  Branch (4024:9): [True: 0, False: 710k]
  ------------------
 4025|      0|        PyErr_SetString(PyExc_ValueError,
 4026|      0|                        "field 'left' is required for BinOp");
 4027|      0|        return NULL;
 4028|      0|    }
 4029|   710k|    if (!op) {
  ------------------
  |  Branch (4029:9): [True: 0, False: 710k]
  ------------------
 4030|      0|        PyErr_SetString(PyExc_ValueError,
 4031|      0|                        "field 'op' is required for BinOp");
 4032|      0|        return NULL;
 4033|      0|    }
 4034|   710k|    if (!right) {
  ------------------
  |  Branch (4034:9): [True: 0, False: 710k]
  ------------------
 4035|      0|        PyErr_SetString(PyExc_ValueError,
 4036|      0|                        "field 'right' is required for BinOp");
 4037|      0|        return NULL;
 4038|      0|    }
 4039|   710k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4040|   710k|    if (!p)
  ------------------
  |  Branch (4040:9): [True: 0, False: 710k]
  ------------------
 4041|      0|        return NULL;
 4042|   710k|    p->kind = BinOp_kind;
 4043|   710k|    p->v.BinOp.left = left;
 4044|   710k|    p->v.BinOp.op = op;
 4045|   710k|    p->v.BinOp.right = right;
 4046|   710k|    p->lineno = lineno;
 4047|   710k|    p->col_offset = col_offset;
 4048|   710k|    p->end_lineno = end_lineno;
 4049|   710k|    p->end_col_offset = end_col_offset;
 4050|   710k|    return p;
 4051|   710k|}
_PyAST_UnaryOp:
 4056|   370k|{
 4057|   370k|    expr_ty p;
 4058|   370k|    if (!op) {
  ------------------
  |  Branch (4058:9): [True: 0, False: 370k]
  ------------------
 4059|      0|        PyErr_SetString(PyExc_ValueError,
 4060|      0|                        "field 'op' is required for UnaryOp");
 4061|      0|        return NULL;
 4062|      0|    }
 4063|   370k|    if (!operand) {
  ------------------
  |  Branch (4063:9): [True: 0, False: 370k]
  ------------------
 4064|      0|        PyErr_SetString(PyExc_ValueError,
 4065|      0|                        "field 'operand' is required for UnaryOp");
 4066|      0|        return NULL;
 4067|      0|    }
 4068|   370k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4069|   370k|    if (!p)
  ------------------
  |  Branch (4069:9): [True: 0, False: 370k]
  ------------------
 4070|      0|        return NULL;
 4071|   370k|    p->kind = UnaryOp_kind;
 4072|   370k|    p->v.UnaryOp.op = op;
 4073|   370k|    p->v.UnaryOp.operand = operand;
 4074|   370k|    p->lineno = lineno;
 4075|   370k|    p->col_offset = col_offset;
 4076|   370k|    p->end_lineno = end_lineno;
 4077|   370k|    p->end_col_offset = end_col_offset;
 4078|   370k|    return p;
 4079|   370k|}
_PyAST_Lambda:
 4084|  15.4k|{
 4085|  15.4k|    expr_ty p;
 4086|  15.4k|    if (!args) {
  ------------------
  |  Branch (4086:9): [True: 0, False: 15.4k]
  ------------------
 4087|      0|        PyErr_SetString(PyExc_ValueError,
 4088|      0|                        "field 'args' is required for Lambda");
 4089|      0|        return NULL;
 4090|      0|    }
 4091|  15.4k|    if (!body) {
  ------------------
  |  Branch (4091:9): [True: 0, False: 15.4k]
  ------------------
 4092|      0|        PyErr_SetString(PyExc_ValueError,
 4093|      0|                        "field 'body' is required for Lambda");
 4094|      0|        return NULL;
 4095|      0|    }
 4096|  15.4k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4097|  15.4k|    if (!p)
  ------------------
  |  Branch (4097:9): [True: 0, False: 15.4k]
  ------------------
 4098|      0|        return NULL;
 4099|  15.4k|    p->kind = Lambda_kind;
 4100|  15.4k|    p->v.Lambda.args = args;
 4101|  15.4k|    p->v.Lambda.body = body;
 4102|  15.4k|    p->lineno = lineno;
 4103|  15.4k|    p->col_offset = col_offset;
 4104|  15.4k|    p->end_lineno = end_lineno;
 4105|  15.4k|    p->end_col_offset = end_col_offset;
 4106|  15.4k|    return p;
 4107|  15.4k|}
_PyAST_IfExp:
 4112|  3.53k|{
 4113|  3.53k|    expr_ty p;
 4114|  3.53k|    if (!test) {
  ------------------
  |  Branch (4114:9): [True: 0, False: 3.53k]
  ------------------
 4115|      0|        PyErr_SetString(PyExc_ValueError,
 4116|      0|                        "field 'test' is required for IfExp");
 4117|      0|        return NULL;
 4118|      0|    }
 4119|  3.53k|    if (!body) {
  ------------------
  |  Branch (4119:9): [True: 0, False: 3.53k]
  ------------------
 4120|      0|        PyErr_SetString(PyExc_ValueError,
 4121|      0|                        "field 'body' is required for IfExp");
 4122|      0|        return NULL;
 4123|      0|    }
 4124|  3.53k|    if (!orelse) {
  ------------------
  |  Branch (4124:9): [True: 0, False: 3.53k]
  ------------------
 4125|      0|        PyErr_SetString(PyExc_ValueError,
 4126|      0|                        "field 'orelse' is required for IfExp");
 4127|      0|        return NULL;
 4128|      0|    }
 4129|  3.53k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4130|  3.53k|    if (!p)
  ------------------
  |  Branch (4130:9): [True: 0, False: 3.53k]
  ------------------
 4131|      0|        return NULL;
 4132|  3.53k|    p->kind = IfExp_kind;
 4133|  3.53k|    p->v.IfExp.test = test;
 4134|  3.53k|    p->v.IfExp.body = body;
 4135|  3.53k|    p->v.IfExp.orelse = orelse;
 4136|  3.53k|    p->lineno = lineno;
 4137|  3.53k|    p->col_offset = col_offset;
 4138|  3.53k|    p->end_lineno = end_lineno;
 4139|  3.53k|    p->end_col_offset = end_col_offset;
 4140|  3.53k|    return p;
 4141|  3.53k|}
_PyAST_Dict:
 4146|  6.75k|{
 4147|  6.75k|    expr_ty p;
 4148|  6.75k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4149|  6.75k|    if (!p)
  ------------------
  |  Branch (4149:9): [True: 0, False: 6.75k]
  ------------------
 4150|      0|        return NULL;
 4151|  6.75k|    p->kind = Dict_kind;
 4152|  6.75k|    p->v.Dict.keys = keys;
 4153|  6.75k|    p->v.Dict.values = values;
 4154|  6.75k|    p->lineno = lineno;
 4155|  6.75k|    p->col_offset = col_offset;
 4156|  6.75k|    p->end_lineno = end_lineno;
 4157|  6.75k|    p->end_col_offset = end_col_offset;
 4158|  6.75k|    return p;
 4159|  6.75k|}
_PyAST_Set:
 4164|  19.6k|{
 4165|  19.6k|    expr_ty p;
 4166|  19.6k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4167|  19.6k|    if (!p)
  ------------------
  |  Branch (4167:9): [True: 0, False: 19.6k]
  ------------------
 4168|      0|        return NULL;
 4169|  19.6k|    p->kind = Set_kind;
 4170|  19.6k|    p->v.Set.elts = elts;
 4171|  19.6k|    p->lineno = lineno;
 4172|  19.6k|    p->col_offset = col_offset;
 4173|  19.6k|    p->end_lineno = end_lineno;
 4174|  19.6k|    p->end_col_offset = end_col_offset;
 4175|  19.6k|    return p;
 4176|  19.6k|}
_PyAST_ListComp:
 4182|  1.32k|{
 4183|  1.32k|    expr_ty p;
 4184|  1.32k|    if (!elt) {
  ------------------
  |  Branch (4184:9): [True: 0, False: 1.32k]
  ------------------
 4185|      0|        PyErr_SetString(PyExc_ValueError,
 4186|      0|                        "field 'elt' is required for ListComp");
 4187|      0|        return NULL;
 4188|      0|    }
 4189|  1.32k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4190|  1.32k|    if (!p)
  ------------------
  |  Branch (4190:9): [True: 0, False: 1.32k]
  ------------------
 4191|      0|        return NULL;
 4192|  1.32k|    p->kind = ListComp_kind;
 4193|  1.32k|    p->v.ListComp.elt = elt;
 4194|  1.32k|    p->v.ListComp.generators = generators;
 4195|  1.32k|    p->lineno = lineno;
 4196|  1.32k|    p->col_offset = col_offset;
 4197|  1.32k|    p->end_lineno = end_lineno;
 4198|  1.32k|    p->end_col_offset = end_col_offset;
 4199|  1.32k|    return p;
 4200|  1.32k|}
_PyAST_SetComp:
 4206|  6.01k|{
 4207|  6.01k|    expr_ty p;
 4208|  6.01k|    if (!elt) {
  ------------------
  |  Branch (4208:9): [True: 0, False: 6.01k]
  ------------------
 4209|      0|        PyErr_SetString(PyExc_ValueError,
 4210|      0|                        "field 'elt' is required for SetComp");
 4211|      0|        return NULL;
 4212|      0|    }
 4213|  6.01k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4214|  6.01k|    if (!p)
  ------------------
  |  Branch (4214:9): [True: 0, False: 6.01k]
  ------------------
 4215|      0|        return NULL;
 4216|  6.01k|    p->kind = SetComp_kind;
 4217|  6.01k|    p->v.SetComp.elt = elt;
 4218|  6.01k|    p->v.SetComp.generators = generators;
 4219|  6.01k|    p->lineno = lineno;
 4220|  6.01k|    p->col_offset = col_offset;
 4221|  6.01k|    p->end_lineno = end_lineno;
 4222|  6.01k|    p->end_col_offset = end_col_offset;
 4223|  6.01k|    return p;
 4224|  6.01k|}
_PyAST_DictComp:
 4230|  1.72k|{
 4231|  1.72k|    expr_ty p;
 4232|  1.72k|    if (!key) {
  ------------------
  |  Branch (4232:9): [True: 0, False: 1.72k]
  ------------------
 4233|      0|        PyErr_SetString(PyExc_ValueError,
 4234|      0|                        "field 'key' is required for DictComp");
 4235|      0|        return NULL;
 4236|      0|    }
 4237|  1.72k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4238|  1.72k|    if (!p)
  ------------------
  |  Branch (4238:9): [True: 0, False: 1.72k]
  ------------------
 4239|      0|        return NULL;
 4240|  1.72k|    p->kind = DictComp_kind;
 4241|  1.72k|    p->v.DictComp.key = key;
 4242|  1.72k|    p->v.DictComp.value = value;
 4243|  1.72k|    p->v.DictComp.generators = generators;
 4244|  1.72k|    p->lineno = lineno;
 4245|  1.72k|    p->col_offset = col_offset;
 4246|  1.72k|    p->end_lineno = end_lineno;
 4247|  1.72k|    p->end_col_offset = end_col_offset;
 4248|  1.72k|    return p;
 4249|  1.72k|}
_PyAST_GeneratorExp:
 4255|  2.43k|{
 4256|  2.43k|    expr_ty p;
 4257|  2.43k|    if (!elt) {
  ------------------
  |  Branch (4257:9): [True: 0, False: 2.43k]
  ------------------
 4258|      0|        PyErr_SetString(PyExc_ValueError,
 4259|      0|                        "field 'elt' is required for GeneratorExp");
 4260|      0|        return NULL;
 4261|      0|    }
 4262|  2.43k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4263|  2.43k|    if (!p)
  ------------------
  |  Branch (4263:9): [True: 0, False: 2.43k]
  ------------------
 4264|      0|        return NULL;
 4265|  2.43k|    p->kind = GeneratorExp_kind;
 4266|  2.43k|    p->v.GeneratorExp.elt = elt;
 4267|  2.43k|    p->v.GeneratorExp.generators = generators;
 4268|  2.43k|    p->lineno = lineno;
 4269|  2.43k|    p->col_offset = col_offset;
 4270|  2.43k|    p->end_lineno = end_lineno;
 4271|  2.43k|    p->end_col_offset = end_col_offset;
 4272|  2.43k|    return p;
 4273|  2.43k|}
_PyAST_Await:
 4278|  1.33k|{
 4279|  1.33k|    expr_ty p;
 4280|  1.33k|    if (!value) {
  ------------------
  |  Branch (4280:9): [True: 0, False: 1.33k]
  ------------------
 4281|      0|        PyErr_SetString(PyExc_ValueError,
 4282|      0|                        "field 'value' is required for Await");
 4283|      0|        return NULL;
 4284|      0|    }
 4285|  1.33k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4286|  1.33k|    if (!p)
  ------------------
  |  Branch (4286:9): [True: 0, False: 1.33k]
  ------------------
 4287|      0|        return NULL;
 4288|  1.33k|    p->kind = Await_kind;
 4289|  1.33k|    p->v.Await.value = value;
 4290|  1.33k|    p->lineno = lineno;
 4291|  1.33k|    p->col_offset = col_offset;
 4292|  1.33k|    p->end_lineno = end_lineno;
 4293|  1.33k|    p->end_col_offset = end_col_offset;
 4294|  1.33k|    return p;
 4295|  1.33k|}
_PyAST_Yield:
 4300|  4.94k|{
 4301|  4.94k|    expr_ty p;
 4302|  4.94k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4303|  4.94k|    if (!p)
  ------------------
  |  Branch (4303:9): [True: 0, False: 4.94k]
  ------------------
 4304|      0|        return NULL;
 4305|  4.94k|    p->kind = Yield_kind;
 4306|  4.94k|    p->v.Yield.value = value;
 4307|  4.94k|    p->lineno = lineno;
 4308|  4.94k|    p->col_offset = col_offset;
 4309|  4.94k|    p->end_lineno = end_lineno;
 4310|  4.94k|    p->end_col_offset = end_col_offset;
 4311|  4.94k|    return p;
 4312|  4.94k|}
_PyAST_YieldFrom:
 4317|    580|{
 4318|    580|    expr_ty p;
 4319|    580|    if (!value) {
  ------------------
  |  Branch (4319:9): [True: 0, False: 580]
  ------------------
 4320|      0|        PyErr_SetString(PyExc_ValueError,
 4321|      0|                        "field 'value' is required for YieldFrom");
 4322|      0|        return NULL;
 4323|      0|    }
 4324|    580|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4325|    580|    if (!p)
  ------------------
  |  Branch (4325:9): [True: 0, False: 580]
  ------------------
 4326|      0|        return NULL;
 4327|    580|    p->kind = YieldFrom_kind;
 4328|    580|    p->v.YieldFrom.value = value;
 4329|    580|    p->lineno = lineno;
 4330|    580|    p->col_offset = col_offset;
 4331|    580|    p->end_lineno = end_lineno;
 4332|    580|    p->end_col_offset = end_col_offset;
 4333|    580|    return p;
 4334|    580|}
_PyAST_Compare:
 4340|  26.9k|{
 4341|  26.9k|    expr_ty p;
 4342|  26.9k|    if (!left) {
  ------------------
  |  Branch (4342:9): [True: 0, False: 26.9k]
  ------------------
 4343|      0|        PyErr_SetString(PyExc_ValueError,
 4344|      0|                        "field 'left' is required for Compare");
 4345|      0|        return NULL;
 4346|      0|    }
 4347|  26.9k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4348|  26.9k|    if (!p)
  ------------------
  |  Branch (4348:9): [True: 0, False: 26.9k]
  ------------------
 4349|      0|        return NULL;
 4350|  26.9k|    p->kind = Compare_kind;
 4351|  26.9k|    p->v.Compare.left = left;
 4352|  26.9k|    p->v.Compare.ops = ops;
 4353|  26.9k|    p->v.Compare.comparators = comparators;
 4354|  26.9k|    p->lineno = lineno;
 4355|  26.9k|    p->col_offset = col_offset;
 4356|  26.9k|    p->end_lineno = end_lineno;
 4357|  26.9k|    p->end_col_offset = end_col_offset;
 4358|  26.9k|    return p;
 4359|  26.9k|}
_PyAST_Call:
 4365|  65.6k|{
 4366|  65.6k|    expr_ty p;
 4367|  65.6k|    if (!func) {
  ------------------
  |  Branch (4367:9): [True: 0, False: 65.6k]
  ------------------
 4368|      0|        PyErr_SetString(PyExc_ValueError,
 4369|      0|                        "field 'func' is required for Call");
 4370|      0|        return NULL;
 4371|      0|    }
 4372|  65.6k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4373|  65.6k|    if (!p)
  ------------------
  |  Branch (4373:9): [True: 0, False: 65.6k]
  ------------------
 4374|      0|        return NULL;
 4375|  65.6k|    p->kind = Call_kind;
 4376|  65.6k|    p->v.Call.func = func;
 4377|  65.6k|    p->v.Call.args = args;
 4378|  65.6k|    p->v.Call.keywords = keywords;
 4379|  65.6k|    p->lineno = lineno;
 4380|  65.6k|    p->col_offset = col_offset;
 4381|  65.6k|    p->end_lineno = end_lineno;
 4382|  65.6k|    p->end_col_offset = end_col_offset;
 4383|  65.6k|    return p;
 4384|  65.6k|}
_PyAST_FormattedValue:
 4390|  17.4k|{
 4391|  17.4k|    expr_ty p;
 4392|  17.4k|    if (!value) {
  ------------------
  |  Branch (4392:9): [True: 0, False: 17.4k]
  ------------------
 4393|      0|        PyErr_SetString(PyExc_ValueError,
 4394|      0|                        "field 'value' is required for FormattedValue");
 4395|      0|        return NULL;
 4396|      0|    }
 4397|  17.4k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4398|  17.4k|    if (!p)
  ------------------
  |  Branch (4398:9): [True: 0, False: 17.4k]
  ------------------
 4399|      0|        return NULL;
 4400|  17.4k|    p->kind = FormattedValue_kind;
 4401|  17.4k|    p->v.FormattedValue.value = value;
 4402|  17.4k|    p->v.FormattedValue.conversion = conversion;
 4403|  17.4k|    p->v.FormattedValue.format_spec = format_spec;
 4404|  17.4k|    p->lineno = lineno;
 4405|  17.4k|    p->col_offset = col_offset;
 4406|  17.4k|    p->end_lineno = end_lineno;
 4407|  17.4k|    p->end_col_offset = end_col_offset;
 4408|  17.4k|    return p;
 4409|  17.4k|}
_PyAST_Interpolation:
 4415|  5.25k|{
 4416|  5.25k|    expr_ty p;
 4417|  5.25k|    if (!value) {
  ------------------
  |  Branch (4417:9): [True: 0, False: 5.25k]
  ------------------
 4418|      0|        PyErr_SetString(PyExc_ValueError,
 4419|      0|                        "field 'value' is required for Interpolation");
 4420|      0|        return NULL;
 4421|      0|    }
 4422|  5.25k|    if (!str) {
  ------------------
  |  Branch (4422:9): [True: 0, False: 5.25k]
  ------------------
 4423|      0|        PyErr_SetString(PyExc_ValueError,
 4424|      0|                        "field 'str' is required for Interpolation");
 4425|      0|        return NULL;
 4426|      0|    }
 4427|  5.25k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4428|  5.25k|    if (!p)
  ------------------
  |  Branch (4428:9): [True: 0, False: 5.25k]
  ------------------
 4429|      0|        return NULL;
 4430|  5.25k|    p->kind = Interpolation_kind;
 4431|  5.25k|    p->v.Interpolation.value = value;
 4432|  5.25k|    p->v.Interpolation.str = str;
 4433|  5.25k|    p->v.Interpolation.conversion = conversion;
 4434|  5.25k|    p->v.Interpolation.format_spec = format_spec;
 4435|  5.25k|    p->lineno = lineno;
 4436|  5.25k|    p->col_offset = col_offset;
 4437|  5.25k|    p->end_lineno = end_lineno;
 4438|  5.25k|    p->end_col_offset = end_col_offset;
 4439|  5.25k|    return p;
 4440|  5.25k|}
_PyAST_JoinedStr:
 4445|  44.2k|{
 4446|  44.2k|    expr_ty p;
 4447|  44.2k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4448|  44.2k|    if (!p)
  ------------------
  |  Branch (4448:9): [True: 0, False: 44.2k]
  ------------------
 4449|      0|        return NULL;
 4450|  44.2k|    p->kind = JoinedStr_kind;
 4451|  44.2k|    p->v.JoinedStr.values = values;
 4452|  44.2k|    p->lineno = lineno;
 4453|  44.2k|    p->col_offset = col_offset;
 4454|  44.2k|    p->end_lineno = end_lineno;
 4455|  44.2k|    p->end_col_offset = end_col_offset;
 4456|  44.2k|    return p;
 4457|  44.2k|}
_PyAST_TemplateStr:
 4462|  7.81k|{
 4463|  7.81k|    expr_ty p;
 4464|  7.81k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4465|  7.81k|    if (!p)
  ------------------
  |  Branch (4465:9): [True: 0, False: 7.81k]
  ------------------
 4466|      0|        return NULL;
 4467|  7.81k|    p->kind = TemplateStr_kind;
 4468|  7.81k|    p->v.TemplateStr.values = values;
 4469|  7.81k|    p->lineno = lineno;
 4470|  7.81k|    p->col_offset = col_offset;
 4471|  7.81k|    p->end_lineno = end_lineno;
 4472|  7.81k|    p->end_col_offset = end_col_offset;
 4473|  7.81k|    return p;
 4474|  7.81k|}
_PyAST_Constant:
 4479|  1.08M|{
 4480|  1.08M|    expr_ty p;
 4481|  1.08M|    if (!value) {
  ------------------
  |  Branch (4481:9): [True: 0, False: 1.08M]
  ------------------
 4482|      0|        PyErr_SetString(PyExc_ValueError,
 4483|      0|                        "field 'value' is required for Constant");
 4484|      0|        return NULL;
 4485|      0|    }
 4486|  1.08M|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4487|  1.08M|    if (!p)
  ------------------
  |  Branch (4487:9): [True: 0, False: 1.08M]
  ------------------
 4488|      0|        return NULL;
 4489|  1.08M|    p->kind = Constant_kind;
 4490|  1.08M|    p->v.Constant.value = value;
 4491|  1.08M|    p->v.Constant.kind = kind;
 4492|  1.08M|    p->lineno = lineno;
 4493|  1.08M|    p->col_offset = col_offset;
 4494|  1.08M|    p->end_lineno = end_lineno;
 4495|  1.08M|    p->end_col_offset = end_col_offset;
 4496|  1.08M|    return p;
 4497|  1.08M|}
_PyAST_Attribute:
 4503|  50.4k|{
 4504|  50.4k|    expr_ty p;
 4505|  50.4k|    if (!value) {
  ------------------
  |  Branch (4505:9): [True: 0, False: 50.4k]
  ------------------
 4506|      0|        PyErr_SetString(PyExc_ValueError,
 4507|      0|                        "field 'value' is required for Attribute");
 4508|      0|        return NULL;
 4509|      0|    }
 4510|  50.4k|    if (!attr) {
  ------------------
  |  Branch (4510:9): [True: 0, False: 50.4k]
  ------------------
 4511|      0|        PyErr_SetString(PyExc_ValueError,
 4512|      0|                        "field 'attr' is required for Attribute");
 4513|      0|        return NULL;
 4514|      0|    }
 4515|  50.4k|    if (!ctx) {
  ------------------
  |  Branch (4515:9): [True: 0, False: 50.4k]
  ------------------
 4516|      0|        PyErr_SetString(PyExc_ValueError,
 4517|      0|                        "field 'ctx' is required for Attribute");
 4518|      0|        return NULL;
 4519|      0|    }
 4520|  50.4k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4521|  50.4k|    if (!p)
  ------------------
  |  Branch (4521:9): [True: 0, False: 50.4k]
  ------------------
 4522|      0|        return NULL;
 4523|  50.4k|    p->kind = Attribute_kind;
 4524|  50.4k|    p->v.Attribute.value = value;
 4525|  50.4k|    p->v.Attribute.attr = attr;
 4526|  50.4k|    p->v.Attribute.ctx = ctx;
 4527|  50.4k|    p->lineno = lineno;
 4528|  50.4k|    p->col_offset = col_offset;
 4529|  50.4k|    p->end_lineno = end_lineno;
 4530|  50.4k|    p->end_col_offset = end_col_offset;
 4531|  50.4k|    return p;
 4532|  50.4k|}
_PyAST_Subscript:
 4538|  68.7k|{
 4539|  68.7k|    expr_ty p;
 4540|  68.7k|    if (!value) {
  ------------------
  |  Branch (4540:9): [True: 0, False: 68.7k]
  ------------------
 4541|      0|        PyErr_SetString(PyExc_ValueError,
 4542|      0|                        "field 'value' is required for Subscript");
 4543|      0|        return NULL;
 4544|      0|    }
 4545|  68.7k|    if (!slice) {
  ------------------
  |  Branch (4545:9): [True: 0, False: 68.7k]
  ------------------
 4546|      0|        PyErr_SetString(PyExc_ValueError,
 4547|      0|                        "field 'slice' is required for Subscript");
 4548|      0|        return NULL;
 4549|      0|    }
 4550|  68.7k|    if (!ctx) {
  ------------------
  |  Branch (4550:9): [True: 0, False: 68.7k]
  ------------------
 4551|      0|        PyErr_SetString(PyExc_ValueError,
 4552|      0|                        "field 'ctx' is required for Subscript");
 4553|      0|        return NULL;
 4554|      0|    }
 4555|  68.7k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4556|  68.7k|    if (!p)
  ------------------
  |  Branch (4556:9): [True: 0, False: 68.7k]
  ------------------
 4557|      0|        return NULL;
 4558|  68.7k|    p->kind = Subscript_kind;
 4559|  68.7k|    p->v.Subscript.value = value;
 4560|  68.7k|    p->v.Subscript.slice = slice;
 4561|  68.7k|    p->v.Subscript.ctx = ctx;
 4562|  68.7k|    p->lineno = lineno;
 4563|  68.7k|    p->col_offset = col_offset;
 4564|  68.7k|    p->end_lineno = end_lineno;
 4565|  68.7k|    p->end_col_offset = end_col_offset;
 4566|  68.7k|    return p;
 4567|  68.7k|}
_PyAST_Starred:
 4572|  54.5k|{
 4573|  54.5k|    expr_ty p;
 4574|  54.5k|    if (!value) {
  ------------------
  |  Branch (4574:9): [True: 0, False: 54.5k]
  ------------------
 4575|      0|        PyErr_SetString(PyExc_ValueError,
 4576|      0|                        "field 'value' is required for Starred");
 4577|      0|        return NULL;
 4578|      0|    }
 4579|  54.5k|    if (!ctx) {
  ------------------
  |  Branch (4579:9): [True: 0, False: 54.5k]
  ------------------
 4580|      0|        PyErr_SetString(PyExc_ValueError,
 4581|      0|                        "field 'ctx' is required for Starred");
 4582|      0|        return NULL;
 4583|      0|    }
 4584|  54.5k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4585|  54.5k|    if (!p)
  ------------------
  |  Branch (4585:9): [True: 0, False: 54.5k]
  ------------------
 4586|      0|        return NULL;
 4587|  54.5k|    p->kind = Starred_kind;
 4588|  54.5k|    p->v.Starred.value = value;
 4589|  54.5k|    p->v.Starred.ctx = ctx;
 4590|  54.5k|    p->lineno = lineno;
 4591|  54.5k|    p->col_offset = col_offset;
 4592|  54.5k|    p->end_lineno = end_lineno;
 4593|  54.5k|    p->end_col_offset = end_col_offset;
 4594|  54.5k|    return p;
 4595|  54.5k|}
_PyAST_Name:
 4600|  1.45M|{
 4601|  1.45M|    expr_ty p;
 4602|  1.45M|    if (!id) {
  ------------------
  |  Branch (4602:9): [True: 0, False: 1.45M]
  ------------------
 4603|      0|        PyErr_SetString(PyExc_ValueError,
 4604|      0|                        "field 'id' is required for Name");
 4605|      0|        return NULL;
 4606|      0|    }
 4607|  1.45M|    if (!ctx) {
  ------------------
  |  Branch (4607:9): [True: 0, False: 1.45M]
  ------------------
 4608|      0|        PyErr_SetString(PyExc_ValueError,
 4609|      0|                        "field 'ctx' is required for Name");
 4610|      0|        return NULL;
 4611|      0|    }
 4612|  1.45M|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4613|  1.45M|    if (!p)
  ------------------
  |  Branch (4613:9): [True: 0, False: 1.45M]
  ------------------
 4614|      0|        return NULL;
 4615|  1.45M|    p->kind = Name_kind;
 4616|  1.45M|    p->v.Name.id = id;
 4617|  1.45M|    p->v.Name.ctx = ctx;
 4618|  1.45M|    p->lineno = lineno;
 4619|  1.45M|    p->col_offset = col_offset;
 4620|  1.45M|    p->end_lineno = end_lineno;
 4621|  1.45M|    p->end_col_offset = end_col_offset;
 4622|  1.45M|    return p;
 4623|  1.45M|}
_PyAST_List:
 4628|  54.0k|{
 4629|  54.0k|    expr_ty p;
 4630|  54.0k|    if (!ctx) {
  ------------------
  |  Branch (4630:9): [True: 0, False: 54.0k]
  ------------------
 4631|      0|        PyErr_SetString(PyExc_ValueError,
 4632|      0|                        "field 'ctx' is required for List");
 4633|      0|        return NULL;
 4634|      0|    }
 4635|  54.0k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4636|  54.0k|    if (!p)
  ------------------
  |  Branch (4636:9): [True: 0, False: 54.0k]
  ------------------
 4637|      0|        return NULL;
 4638|  54.0k|    p->kind = List_kind;
 4639|  54.0k|    p->v.List.elts = elts;
 4640|  54.0k|    p->v.List.ctx = ctx;
 4641|  54.0k|    p->lineno = lineno;
 4642|  54.0k|    p->col_offset = col_offset;
 4643|  54.0k|    p->end_lineno = end_lineno;
 4644|  54.0k|    p->end_col_offset = end_col_offset;
 4645|  54.0k|    return p;
 4646|  54.0k|}
_PyAST_Tuple:
 4651|   179k|{
 4652|   179k|    expr_ty p;
 4653|   179k|    if (!ctx) {
  ------------------
  |  Branch (4653:9): [True: 0, False: 179k]
  ------------------
 4654|      0|        PyErr_SetString(PyExc_ValueError,
 4655|      0|                        "field 'ctx' is required for Tuple");
 4656|      0|        return NULL;
 4657|      0|    }
 4658|   179k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4659|   179k|    if (!p)
  ------------------
  |  Branch (4659:9): [True: 0, False: 179k]
  ------------------
 4660|      0|        return NULL;
 4661|   179k|    p->kind = Tuple_kind;
 4662|   179k|    p->v.Tuple.elts = elts;
 4663|   179k|    p->v.Tuple.ctx = ctx;
 4664|   179k|    p->lineno = lineno;
 4665|   179k|    p->col_offset = col_offset;
 4666|   179k|    p->end_lineno = end_lineno;
 4667|   179k|    p->end_col_offset = end_col_offset;
 4668|   179k|    return p;
 4669|   179k|}
_PyAST_Slice:
 4674|  22.3k|{
 4675|  22.3k|    expr_ty p;
 4676|  22.3k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 4677|  22.3k|    if (!p)
  ------------------
  |  Branch (4677:9): [True: 0, False: 22.3k]
  ------------------
 4678|      0|        return NULL;
 4679|  22.3k|    p->kind = Slice_kind;
 4680|  22.3k|    p->v.Slice.lower = lower;
 4681|  22.3k|    p->v.Slice.upper = upper;
 4682|  22.3k|    p->v.Slice.step = step;
 4683|  22.3k|    p->lineno = lineno;
 4684|  22.3k|    p->col_offset = col_offset;
 4685|  22.3k|    p->end_lineno = end_lineno;
 4686|  22.3k|    p->end_col_offset = end_col_offset;
 4687|  22.3k|    return p;
 4688|  22.3k|}
_PyAST_comprehension:
 4693|  16.8k|{
 4694|  16.8k|    comprehension_ty p;
 4695|  16.8k|    if (!target) {
  ------------------
  |  Branch (4695:9): [True: 0, False: 16.8k]
  ------------------
 4696|      0|        PyErr_SetString(PyExc_ValueError,
 4697|      0|                        "field 'target' is required for comprehension");
 4698|      0|        return NULL;
 4699|      0|    }
 4700|  16.8k|    if (!iter) {
  ------------------
  |  Branch (4700:9): [True: 0, False: 16.8k]
  ------------------
 4701|      0|        PyErr_SetString(PyExc_ValueError,
 4702|      0|                        "field 'iter' is required for comprehension");
 4703|      0|        return NULL;
 4704|      0|    }
 4705|  16.8k|    p = (comprehension_ty)_PyArena_Malloc(arena, sizeof(*p));
 4706|  16.8k|    if (!p)
  ------------------
  |  Branch (4706:9): [True: 0, False: 16.8k]
  ------------------
 4707|      0|        return NULL;
 4708|  16.8k|    p->target = target;
 4709|  16.8k|    p->iter = iter;
 4710|  16.8k|    p->ifs = ifs;
 4711|  16.8k|    p->is_async = is_async;
 4712|  16.8k|    return p;
 4713|  16.8k|}
_PyAST_ExceptHandler:
 4719|  9.62k|{
 4720|  9.62k|    excepthandler_ty p;
 4721|  9.62k|    p = (excepthandler_ty)_PyArena_Malloc(arena, sizeof(*p));
 4722|  9.62k|    if (!p)
  ------------------
  |  Branch (4722:9): [True: 0, False: 9.62k]
  ------------------
 4723|      0|        return NULL;
 4724|  9.62k|    p->kind = ExceptHandler_kind;
 4725|  9.62k|    p->v.ExceptHandler.type = type;
 4726|  9.62k|    p->v.ExceptHandler.name = name;
 4727|  9.62k|    p->v.ExceptHandler.body = body;
 4728|  9.62k|    p->lineno = lineno;
 4729|  9.62k|    p->col_offset = col_offset;
 4730|  9.62k|    p->end_lineno = end_lineno;
 4731|  9.62k|    p->end_col_offset = end_col_offset;
 4732|  9.62k|    return p;
 4733|  9.62k|}
_PyAST_arguments:
 4740|  42.0k|{
 4741|  42.0k|    arguments_ty p;
 4742|  42.0k|    p = (arguments_ty)_PyArena_Malloc(arena, sizeof(*p));
 4743|  42.0k|    if (!p)
  ------------------
  |  Branch (4743:9): [True: 0, False: 42.0k]
  ------------------
 4744|      0|        return NULL;
 4745|  42.0k|    p->posonlyargs = posonlyargs;
 4746|  42.0k|    p->args = args;
 4747|  42.0k|    p->vararg = vararg;
 4748|  42.0k|    p->kwonlyargs = kwonlyargs;
 4749|  42.0k|    p->kw_defaults = kw_defaults;
 4750|  42.0k|    p->kwarg = kwarg;
 4751|  42.0k|    p->defaults = defaults;
 4752|  42.0k|    return p;
 4753|  42.0k|}
_PyAST_arg:
 4758|   594k|{
 4759|   594k|    arg_ty p;
 4760|   594k|    if (!arg) {
  ------------------
  |  Branch (4760:9): [True: 0, False: 594k]
  ------------------
 4761|      0|        PyErr_SetString(PyExc_ValueError,
 4762|      0|                        "field 'arg' is required for arg");
 4763|      0|        return NULL;
 4764|      0|    }
 4765|   594k|    p = (arg_ty)_PyArena_Malloc(arena, sizeof(*p));
 4766|   594k|    if (!p)
  ------------------
  |  Branch (4766:9): [True: 0, False: 594k]
  ------------------
 4767|      0|        return NULL;
 4768|   594k|    p->arg = arg;
 4769|   594k|    p->annotation = annotation;
 4770|   594k|    p->type_comment = type_comment;
 4771|   594k|    p->lineno = lineno;
 4772|   594k|    p->col_offset = col_offset;
 4773|   594k|    p->end_lineno = end_lineno;
 4774|   594k|    p->end_col_offset = end_col_offset;
 4775|   594k|    return p;
 4776|   594k|}
_PyAST_keyword:
 4781|  34.4k|{
 4782|  34.4k|    keyword_ty p;
 4783|  34.4k|    if (!value) {
  ------------------
  |  Branch (4783:9): [True: 0, False: 34.4k]
  ------------------
 4784|      0|        PyErr_SetString(PyExc_ValueError,
 4785|      0|                        "field 'value' is required for keyword");
 4786|      0|        return NULL;
 4787|      0|    }
 4788|  34.4k|    p = (keyword_ty)_PyArena_Malloc(arena, sizeof(*p));
 4789|  34.4k|    if (!p)
  ------------------
  |  Branch (4789:9): [True: 0, False: 34.4k]
  ------------------
 4790|      0|        return NULL;
 4791|  34.4k|    p->arg = arg;
 4792|  34.4k|    p->value = value;
 4793|  34.4k|    p->lineno = lineno;
 4794|  34.4k|    p->col_offset = col_offset;
 4795|  34.4k|    p->end_lineno = end_lineno;
 4796|  34.4k|    p->end_col_offset = end_col_offset;
 4797|  34.4k|    return p;
 4798|  34.4k|}
_PyAST_alias:
 4803|  26.3k|{
 4804|  26.3k|    alias_ty p;
 4805|  26.3k|    if (!name) {
  ------------------
  |  Branch (4805:9): [True: 0, False: 26.3k]
  ------------------
 4806|      0|        PyErr_SetString(PyExc_ValueError,
 4807|      0|                        "field 'name' is required for alias");
 4808|      0|        return NULL;
 4809|      0|    }
 4810|  26.3k|    p = (alias_ty)_PyArena_Malloc(arena, sizeof(*p));
 4811|  26.3k|    if (!p)
  ------------------
  |  Branch (4811:9): [True: 0, False: 26.3k]
  ------------------
 4812|      0|        return NULL;
 4813|  26.3k|    p->name = name;
 4814|  26.3k|    p->asname = asname;
 4815|  26.3k|    p->lineno = lineno;
 4816|  26.3k|    p->col_offset = col_offset;
 4817|  26.3k|    p->end_lineno = end_lineno;
 4818|  26.3k|    p->end_col_offset = end_col_offset;
 4819|  26.3k|    return p;
 4820|  26.3k|}
_PyAST_withitem:
 4824|  17.3k|{
 4825|  17.3k|    withitem_ty p;
 4826|  17.3k|    if (!context_expr) {
  ------------------
  |  Branch (4826:9): [True: 0, False: 17.3k]
  ------------------
 4827|      0|        PyErr_SetString(PyExc_ValueError,
 4828|      0|                        "field 'context_expr' is required for withitem");
 4829|      0|        return NULL;
 4830|      0|    }
 4831|  17.3k|    p = (withitem_ty)_PyArena_Malloc(arena, sizeof(*p));
 4832|  17.3k|    if (!p)
  ------------------
  |  Branch (4832:9): [True: 0, False: 17.3k]
  ------------------
 4833|      0|        return NULL;
 4834|  17.3k|    p->context_expr = context_expr;
 4835|  17.3k|    p->optional_vars = optional_vars;
 4836|  17.3k|    return p;
 4837|  17.3k|}
_PyAST_match_case:
 4842|  4.98k|{
 4843|  4.98k|    match_case_ty p;
 4844|  4.98k|    if (!pattern) {
  ------------------
  |  Branch (4844:9): [True: 0, False: 4.98k]
  ------------------
 4845|      0|        PyErr_SetString(PyExc_ValueError,
 4846|      0|                        "field 'pattern' is required for match_case");
 4847|      0|        return NULL;
 4848|      0|    }
 4849|  4.98k|    p = (match_case_ty)_PyArena_Malloc(arena, sizeof(*p));
 4850|  4.98k|    if (!p)
  ------------------
  |  Branch (4850:9): [True: 0, False: 4.98k]
  ------------------
 4851|      0|        return NULL;
 4852|  4.98k|    p->pattern = pattern;
 4853|  4.98k|    p->guard = guard;
 4854|  4.98k|    p->body = body;
 4855|  4.98k|    return p;
 4856|  4.98k|}
_PyAST_MatchValue:
 4861|  14.8k|{
 4862|  14.8k|    pattern_ty p;
 4863|  14.8k|    if (!value) {
  ------------------
  |  Branch (4863:9): [True: 0, False: 14.8k]
  ------------------
 4864|      0|        PyErr_SetString(PyExc_ValueError,
 4865|      0|                        "field 'value' is required for MatchValue");
 4866|      0|        return NULL;
 4867|      0|    }
 4868|  14.8k|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 4869|  14.8k|    if (!p)
  ------------------
  |  Branch (4869:9): [True: 0, False: 14.8k]
  ------------------
 4870|      0|        return NULL;
 4871|  14.8k|    p->kind = MatchValue_kind;
 4872|  14.8k|    p->v.MatchValue.value = value;
 4873|  14.8k|    p->lineno = lineno;
 4874|  14.8k|    p->col_offset = col_offset;
 4875|  14.8k|    p->end_lineno = end_lineno;
 4876|  14.8k|    p->end_col_offset = end_col_offset;
 4877|  14.8k|    return p;
 4878|  14.8k|}
_PyAST_MatchSingleton:
 4883|  1.00k|{
 4884|  1.00k|    pattern_ty p;
 4885|  1.00k|    if (!value) {
  ------------------
  |  Branch (4885:9): [True: 0, False: 1.00k]
  ------------------
 4886|      0|        PyErr_SetString(PyExc_ValueError,
 4887|      0|                        "field 'value' is required for MatchSingleton");
 4888|      0|        return NULL;
 4889|      0|    }
 4890|  1.00k|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 4891|  1.00k|    if (!p)
  ------------------
  |  Branch (4891:9): [True: 0, False: 1.00k]
  ------------------
 4892|      0|        return NULL;
 4893|  1.00k|    p->kind = MatchSingleton_kind;
 4894|  1.00k|    p->v.MatchSingleton.value = value;
 4895|  1.00k|    p->lineno = lineno;
 4896|  1.00k|    p->col_offset = col_offset;
 4897|  1.00k|    p->end_lineno = end_lineno;
 4898|  1.00k|    p->end_col_offset = end_col_offset;
 4899|  1.00k|    return p;
 4900|  1.00k|}
_PyAST_MatchSequence:
 4905|  4.56k|{
 4906|  4.56k|    pattern_ty p;
 4907|  4.56k|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 4908|  4.56k|    if (!p)
  ------------------
  |  Branch (4908:9): [True: 0, False: 4.56k]
  ------------------
 4909|      0|        return NULL;
 4910|  4.56k|    p->kind = MatchSequence_kind;
 4911|  4.56k|    p->v.MatchSequence.patterns = patterns;
 4912|  4.56k|    p->lineno = lineno;
 4913|  4.56k|    p->col_offset = col_offset;
 4914|  4.56k|    p->end_lineno = end_lineno;
 4915|  4.56k|    p->end_col_offset = end_col_offset;
 4916|  4.56k|    return p;
 4917|  4.56k|}
_PyAST_MatchMapping:
 4923|  1.02k|{
 4924|  1.02k|    pattern_ty p;
 4925|  1.02k|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 4926|  1.02k|    if (!p)
  ------------------
  |  Branch (4926:9): [True: 0, False: 1.02k]
  ------------------
 4927|      0|        return NULL;
 4928|  1.02k|    p->kind = MatchMapping_kind;
 4929|  1.02k|    p->v.MatchMapping.keys = keys;
 4930|  1.02k|    p->v.MatchMapping.patterns = patterns;
 4931|  1.02k|    p->v.MatchMapping.rest = rest;
 4932|  1.02k|    p->lineno = lineno;
 4933|  1.02k|    p->col_offset = col_offset;
 4934|  1.02k|    p->end_lineno = end_lineno;
 4935|  1.02k|    p->end_col_offset = end_col_offset;
 4936|  1.02k|    return p;
 4937|  1.02k|}
_PyAST_MatchClass:
 4944|  3.03k|{
 4945|  3.03k|    pattern_ty p;
 4946|  3.03k|    if (!cls) {
  ------------------
  |  Branch (4946:9): [True: 0, False: 3.03k]
  ------------------
 4947|      0|        PyErr_SetString(PyExc_ValueError,
 4948|      0|                        "field 'cls' is required for MatchClass");
 4949|      0|        return NULL;
 4950|      0|    }
 4951|  3.03k|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 4952|  3.03k|    if (!p)
  ------------------
  |  Branch (4952:9): [True: 0, False: 3.03k]
  ------------------
 4953|      0|        return NULL;
 4954|  3.03k|    p->kind = MatchClass_kind;
 4955|  3.03k|    p->v.MatchClass.cls = cls;
 4956|  3.03k|    p->v.MatchClass.patterns = patterns;
 4957|  3.03k|    p->v.MatchClass.kwd_attrs = kwd_attrs;
 4958|  3.03k|    p->v.MatchClass.kwd_patterns = kwd_patterns;
 4959|  3.03k|    p->lineno = lineno;
 4960|  3.03k|    p->col_offset = col_offset;
 4961|  3.03k|    p->end_lineno = end_lineno;
 4962|  3.03k|    p->end_col_offset = end_col_offset;
 4963|  3.03k|    return p;
 4964|  3.03k|}
_PyAST_MatchStar:
 4969|  1.70k|{
 4970|  1.70k|    pattern_ty p;
 4971|  1.70k|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 4972|  1.70k|    if (!p)
  ------------------
  |  Branch (4972:9): [True: 0, False: 1.70k]
  ------------------
 4973|      0|        return NULL;
 4974|  1.70k|    p->kind = MatchStar_kind;
 4975|  1.70k|    p->v.MatchStar.name = name;
 4976|  1.70k|    p->lineno = lineno;
 4977|  1.70k|    p->col_offset = col_offset;
 4978|  1.70k|    p->end_lineno = end_lineno;
 4979|  1.70k|    p->end_col_offset = end_col_offset;
 4980|  1.70k|    return p;
 4981|  1.70k|}
_PyAST_MatchAs:
 4986|  27.6k|{
 4987|  27.6k|    pattern_ty p;
 4988|  27.6k|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 4989|  27.6k|    if (!p)
  ------------------
  |  Branch (4989:9): [True: 0, False: 27.6k]
  ------------------
 4990|      0|        return NULL;
 4991|  27.6k|    p->kind = MatchAs_kind;
 4992|  27.6k|    p->v.MatchAs.pattern = pattern;
 4993|  27.6k|    p->v.MatchAs.name = name;
 4994|  27.6k|    p->lineno = lineno;
 4995|  27.6k|    p->col_offset = col_offset;
 4996|  27.6k|    p->end_lineno = end_lineno;
 4997|  27.6k|    p->end_col_offset = end_col_offset;
 4998|  27.6k|    return p;
 4999|  27.6k|}
_PyAST_MatchOr:
 5004|  9.35k|{
 5005|  9.35k|    pattern_ty p;
 5006|  9.35k|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 5007|  9.35k|    if (!p)
  ------------------
  |  Branch (5007:9): [True: 0, False: 9.35k]
  ------------------
 5008|      0|        return NULL;
 5009|  9.35k|    p->kind = MatchOr_kind;
 5010|  9.35k|    p->v.MatchOr.patterns = patterns;
 5011|  9.35k|    p->lineno = lineno;
 5012|  9.35k|    p->col_offset = col_offset;
 5013|  9.35k|    p->end_lineno = end_lineno;
 5014|  9.35k|    p->end_col_offset = end_col_offset;
 5015|  9.35k|    return p;
 5016|  9.35k|}
_PyAST_TypeIgnore:
 5020|    834|{
 5021|    834|    type_ignore_ty p;
 5022|    834|    if (!tag) {
  ------------------
  |  Branch (5022:9): [True: 0, False: 834]
  ------------------
 5023|      0|        PyErr_SetString(PyExc_ValueError,
 5024|      0|                        "field 'tag' is required for TypeIgnore");
 5025|      0|        return NULL;
 5026|      0|    }
 5027|    834|    p = (type_ignore_ty)_PyArena_Malloc(arena, sizeof(*p));
 5028|    834|    if (!p)
  ------------------
  |  Branch (5028:9): [True: 0, False: 834]
  ------------------
 5029|      0|        return NULL;
 5030|    834|    p->kind = TypeIgnore_kind;
 5031|    834|    p->v.TypeIgnore.lineno = lineno;
 5032|    834|    p->v.TypeIgnore.tag = tag;
 5033|    834|    return p;
 5034|    834|}
_PyAST_TypeVar:
 5040|  15.6k|{
 5041|  15.6k|    type_param_ty p;
 5042|  15.6k|    if (!name) {
  ------------------
  |  Branch (5042:9): [True: 0, False: 15.6k]
  ------------------
 5043|      0|        PyErr_SetString(PyExc_ValueError,
 5044|      0|                        "field 'name' is required for TypeVar");
 5045|      0|        return NULL;
 5046|      0|    }
 5047|  15.6k|    p = (type_param_ty)_PyArena_Malloc(arena, sizeof(*p));
 5048|  15.6k|    if (!p)
  ------------------
  |  Branch (5048:9): [True: 0, False: 15.6k]
  ------------------
 5049|      0|        return NULL;
 5050|  15.6k|    p->kind = TypeVar_kind;
 5051|  15.6k|    p->v.TypeVar.name = name;
 5052|  15.6k|    p->v.TypeVar.bound = bound;
 5053|  15.6k|    p->v.TypeVar.default_value = default_value;
 5054|  15.6k|    p->lineno = lineno;
 5055|  15.6k|    p->col_offset = col_offset;
 5056|  15.6k|    p->end_lineno = end_lineno;
 5057|  15.6k|    p->end_col_offset = end_col_offset;
 5058|  15.6k|    return p;
 5059|  15.6k|}
_PyAST_ParamSpec:
 5064|  1.33k|{
 5065|  1.33k|    type_param_ty p;
 5066|  1.33k|    if (!name) {
  ------------------
  |  Branch (5066:9): [True: 0, False: 1.33k]
  ------------------
 5067|      0|        PyErr_SetString(PyExc_ValueError,
 5068|      0|                        "field 'name' is required for ParamSpec");
 5069|      0|        return NULL;
 5070|      0|    }
 5071|  1.33k|    p = (type_param_ty)_PyArena_Malloc(arena, sizeof(*p));
 5072|  1.33k|    if (!p)
  ------------------
  |  Branch (5072:9): [True: 0, False: 1.33k]
  ------------------
 5073|      0|        return NULL;
 5074|  1.33k|    p->kind = ParamSpec_kind;
 5075|  1.33k|    p->v.ParamSpec.name = name;
 5076|  1.33k|    p->v.ParamSpec.default_value = default_value;
 5077|  1.33k|    p->lineno = lineno;
 5078|  1.33k|    p->col_offset = col_offset;
 5079|  1.33k|    p->end_lineno = end_lineno;
 5080|  1.33k|    p->end_col_offset = end_col_offset;
 5081|  1.33k|    return p;
 5082|  1.33k|}
_PyAST_TypeVarTuple:
 5088|  2.88k|{
 5089|  2.88k|    type_param_ty p;
 5090|  2.88k|    if (!name) {
  ------------------
  |  Branch (5090:9): [True: 0, False: 2.88k]
  ------------------
 5091|      0|        PyErr_SetString(PyExc_ValueError,
 5092|      0|                        "field 'name' is required for TypeVarTuple");
 5093|      0|        return NULL;
 5094|      0|    }
 5095|  2.88k|    p = (type_param_ty)_PyArena_Malloc(arena, sizeof(*p));
 5096|  2.88k|    if (!p)
  ------------------
  |  Branch (5096:9): [True: 0, False: 2.88k]
  ------------------
 5097|      0|        return NULL;
 5098|  2.88k|    p->kind = TypeVarTuple_kind;
 5099|  2.88k|    p->v.TypeVarTuple.name = name;
 5100|  2.88k|    p->v.TypeVarTuple.default_value = default_value;
 5101|  2.88k|    p->lineno = lineno;
 5102|  2.88k|    p->col_offset = col_offset;
 5103|  2.88k|    p->end_lineno = end_lineno;
 5104|  2.88k|    p->end_col_offset = end_col_offset;
 5105|  2.88k|    return p;
 5106|  2.88k|}
PyAST_mod2obj:
14783|  1.94k|{
14784|  1.94k|    struct ast_state *state = get_ast_state();
14785|  1.94k|    if (state == NULL) {
  ------------------
  |  Branch (14785:9): [True: 0, False: 1.94k]
  ------------------
14786|      0|        return NULL;
14787|      0|    }
14788|  1.94k|    PyObject *result = ast2obj_mod(state, t);
14789|       |
14790|  1.94k|    return result;
14791|  1.94k|}
Python-ast.c:get_ast_state:
   22|  1.94k|{
   23|  1.94k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   24|  1.94k|    struct ast_state *state = &interp->ast;
   25|  1.94k|    assert(!state->finalized);
  ------------------
  |  Branch (25:5): [True: 1.94k, False: 0]
  ------------------
   26|  1.94k|    if (_PyOnceFlag_CallOnce(&state->once, (_Py_once_fn_t *)&init_types, state) < 0) {
  ------------------
  |  Branch (26:9): [True: 0, False: 1.94k]
  ------------------
   27|      0|        return NULL;
   28|      0|    }
   29|  1.94k|    return state;
   30|  1.94k|}
Python-ast.c:init_types:
 2352|      1|{
 2353|      1|    struct ast_state *state = arg;
 2354|      1|    if (init_identifiers(state) < 0) {
  ------------------
  |  Branch (2354:9): [True: 0, False: 1]
  ------------------
 2355|      0|        return -1;
 2356|      0|    }
 2357|      1|    state->AST_type = PyType_FromSpec(&AST_type_spec);
 2358|      1|    if (!state->AST_type) {
  ------------------
  |  Branch (2358:9): [True: 0, False: 1]
  ------------------
 2359|      0|        return -1;
 2360|      0|    }
 2361|      1|    state->abstract_types = PySet_New(NULL);
 2362|      1|    if (!state->abstract_types) {
  ------------------
  |  Branch (2362:9): [True: 0, False: 1]
  ------------------
 2363|      0|        return -1;
 2364|      0|    }
 2365|      1|    if (PySet_Add(state->abstract_types, state->AST_type) < 0) {
  ------------------
  |  Branch (2365:9): [True: 0, False: 1]
  ------------------
 2366|      0|        return -1;
 2367|      0|    }
 2368|      1|    if (add_ast_fields(state) < 0) {
  ------------------
  |  Branch (2368:9): [True: 0, False: 1]
  ------------------
 2369|      0|        return -1;
 2370|      0|    }
 2371|      1|    state->mod_type = make_type(state, "mod", state->AST_type, NULL, 0,
 2372|      1|        "mod = Module(stmt* body, type_ignore* type_ignores)\n"
 2373|      1|        "    | Interactive(stmt* body)\n"
 2374|      1|        "    | Expression(expr body)\n"
 2375|      1|        "    | FunctionType(expr* argtypes, expr returns)");
 2376|      1|    if (!state->mod_type) return -1;
  ------------------
  |  Branch (2376:9): [True: 0, False: 1]
  ------------------
 2377|      1|    if (add_attributes(state, state->mod_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2377:9): [True: 0, False: 1]
  ------------------
 2378|      1|    if (PySet_Add(state->abstract_types, state->mod_type) < 0) return -1;
  ------------------
  |  Branch (2378:9): [True: 0, False: 1]
  ------------------
 2379|      1|    state->Module_type = make_type(state, "Module", state->mod_type,
 2380|      1|                                   Module_fields, 2,
 2381|      1|        "Module(stmt* body, type_ignore* type_ignores)");
 2382|      1|    if (!state->Module_type) return -1;
  ------------------
  |  Branch (2382:9): [True: 0, False: 1]
  ------------------
 2383|      1|    state->Interactive_type = make_type(state, "Interactive", state->mod_type,
 2384|      1|                                        Interactive_fields, 1,
 2385|      1|        "Interactive(stmt* body)");
 2386|      1|    if (!state->Interactive_type) return -1;
  ------------------
  |  Branch (2386:9): [True: 0, False: 1]
  ------------------
 2387|      1|    state->Expression_type = make_type(state, "Expression", state->mod_type,
 2388|      1|                                       Expression_fields, 1,
 2389|      1|        "Expression(expr body)");
 2390|      1|    if (!state->Expression_type) return -1;
  ------------------
  |  Branch (2390:9): [True: 0, False: 1]
  ------------------
 2391|      1|    state->FunctionType_type = make_type(state, "FunctionType",
 2392|      1|                                         state->mod_type, FunctionType_fields,
 2393|      1|                                         2,
 2394|      1|        "FunctionType(expr* argtypes, expr returns)");
 2395|      1|    if (!state->FunctionType_type) return -1;
  ------------------
  |  Branch (2395:9): [True: 0, False: 1]
  ------------------
 2396|      1|    state->stmt_type = make_type(state, "stmt", state->AST_type, NULL, 0,
 2397|      1|        "stmt = FunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)\n"
 2398|      1|        "     | AsyncFunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)\n"
 2399|      1|        "     | ClassDef(identifier name, expr* bases, keyword* keywords, stmt* body, expr* decorator_list, type_param* type_params)\n"
 2400|      1|        "     | Return(expr? value)\n"
 2401|      1|        "     | Delete(expr* targets)\n"
 2402|      1|        "     | Assign(expr* targets, expr value, string? type_comment)\n"
 2403|      1|        "     | TypeAlias(expr name, type_param* type_params, expr value)\n"
 2404|      1|        "     | AugAssign(expr target, operator op, expr value)\n"
 2405|      1|        "     | AnnAssign(expr target, expr annotation, expr? value, int simple)\n"
 2406|      1|        "     | For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)\n"
 2407|      1|        "     | AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)\n"
 2408|      1|        "     | While(expr test, stmt* body, stmt* orelse)\n"
 2409|      1|        "     | If(expr test, stmt* body, stmt* orelse)\n"
 2410|      1|        "     | With(withitem* items, stmt* body, string? type_comment)\n"
 2411|      1|        "     | AsyncWith(withitem* items, stmt* body, string? type_comment)\n"
 2412|      1|        "     | Match(expr subject, match_case* cases)\n"
 2413|      1|        "     | Raise(expr? exc, expr? cause)\n"
 2414|      1|        "     | Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)\n"
 2415|      1|        "     | TryStar(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)\n"
 2416|      1|        "     | Assert(expr test, expr? msg)\n"
 2417|      1|        "     | Import(alias* names, int? is_lazy)\n"
 2418|      1|        "     | ImportFrom(identifier? module, alias* names, int? level, int? is_lazy)\n"
 2419|      1|        "     | Global(identifier* names)\n"
 2420|      1|        "     | Nonlocal(identifier* names)\n"
 2421|      1|        "     | Expr(expr value)\n"
 2422|      1|        "     | Pass\n"
 2423|      1|        "     | Break\n"
 2424|      1|        "     | Continue");
 2425|      1|    if (!state->stmt_type) return -1;
  ------------------
  |  Branch (2425:9): [True: 0, False: 1]
  ------------------
 2426|      1|    if (add_attributes(state, state->stmt_type, stmt_attributes, 4) < 0) return
  ------------------
  |  Branch (2426:9): [True: 0, False: 1]
  ------------------
 2427|      0|        -1;
 2428|      1|    if (PySet_Add(state->abstract_types, state->stmt_type) < 0) return -1;
  ------------------
  |  Branch (2428:9): [True: 0, False: 1]
  ------------------
 2429|      1|    if (PyObject_SetAttr(state->stmt_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2429:9): [True: 0, False: 1]
  ------------------
 2430|      0|        return -1;
 2431|      1|    if (PyObject_SetAttr(state->stmt_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2431:9): [True: 0, False: 1]
  ------------------
 2432|      1|        -1)
 2433|      0|        return -1;
 2434|      1|    state->FunctionDef_type = make_type(state, "FunctionDef", state->stmt_type,
 2435|      1|                                        FunctionDef_fields, 7,
 2436|      1|        "FunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)");
 2437|      1|    if (!state->FunctionDef_type) return -1;
  ------------------
  |  Branch (2437:9): [True: 0, False: 1]
  ------------------
 2438|      1|    if (PyObject_SetAttr(state->FunctionDef_type, state->returns, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2438:9): [True: 0, False: 1]
  ------------------
 2439|      1|        -1)
 2440|      0|        return -1;
 2441|      1|    if (PyObject_SetAttr(state->FunctionDef_type, state->type_comment, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2441:9): [True: 0, False: 1]
  ------------------
 2442|      1|        == -1)
 2443|      0|        return -1;
 2444|      1|    state->AsyncFunctionDef_type = make_type(state, "AsyncFunctionDef",
 2445|      1|                                             state->stmt_type,
 2446|      1|                                             AsyncFunctionDef_fields, 7,
 2447|      1|        "AsyncFunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)");
 2448|      1|    if (!state->AsyncFunctionDef_type) return -1;
  ------------------
  |  Branch (2448:9): [True: 0, False: 1]
  ------------------
 2449|      1|    if (PyObject_SetAttr(state->AsyncFunctionDef_type, state->returns, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2449:9): [True: 0, False: 1]
  ------------------
 2450|      1|        == -1)
 2451|      0|        return -1;
 2452|      1|    if (PyObject_SetAttr(state->AsyncFunctionDef_type, state->type_comment,
  ------------------
  |  Branch (2452:9): [True: 0, False: 1]
  ------------------
 2453|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2454|      0|        return -1;
 2455|      1|    state->ClassDef_type = make_type(state, "ClassDef", state->stmt_type,
 2456|      1|                                     ClassDef_fields, 6,
 2457|      1|        "ClassDef(identifier name, expr* bases, keyword* keywords, stmt* body, expr* decorator_list, type_param* type_params)");
 2458|      1|    if (!state->ClassDef_type) return -1;
  ------------------
  |  Branch (2458:9): [True: 0, False: 1]
  ------------------
 2459|      1|    state->Return_type = make_type(state, "Return", state->stmt_type,
 2460|      1|                                   Return_fields, 1,
 2461|      1|        "Return(expr? value)");
 2462|      1|    if (!state->Return_type) return -1;
  ------------------
  |  Branch (2462:9): [True: 0, False: 1]
  ------------------
 2463|      1|    if (PyObject_SetAttr(state->Return_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2463:9): [True: 0, False: 1]
  ------------------
 2464|      0|        return -1;
 2465|      1|    state->Delete_type = make_type(state, "Delete", state->stmt_type,
 2466|      1|                                   Delete_fields, 1,
 2467|      1|        "Delete(expr* targets)");
 2468|      1|    if (!state->Delete_type) return -1;
  ------------------
  |  Branch (2468:9): [True: 0, False: 1]
  ------------------
 2469|      1|    state->Assign_type = make_type(state, "Assign", state->stmt_type,
 2470|      1|                                   Assign_fields, 3,
 2471|      1|        "Assign(expr* targets, expr value, string? type_comment)");
 2472|      1|    if (!state->Assign_type) return -1;
  ------------------
  |  Branch (2472:9): [True: 0, False: 1]
  ------------------
 2473|      1|    if (PyObject_SetAttr(state->Assign_type, state->type_comment, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2473:9): [True: 0, False: 1]
  ------------------
 2474|      1|        -1)
 2475|      0|        return -1;
 2476|      1|    state->TypeAlias_type = make_type(state, "TypeAlias", state->stmt_type,
 2477|      1|                                      TypeAlias_fields, 3,
 2478|      1|        "TypeAlias(expr name, type_param* type_params, expr value)");
 2479|      1|    if (!state->TypeAlias_type) return -1;
  ------------------
  |  Branch (2479:9): [True: 0, False: 1]
  ------------------
 2480|      1|    state->AugAssign_type = make_type(state, "AugAssign", state->stmt_type,
 2481|      1|                                      AugAssign_fields, 3,
 2482|      1|        "AugAssign(expr target, operator op, expr value)");
 2483|      1|    if (!state->AugAssign_type) return -1;
  ------------------
  |  Branch (2483:9): [True: 0, False: 1]
  ------------------
 2484|      1|    state->AnnAssign_type = make_type(state, "AnnAssign", state->stmt_type,
 2485|      1|                                      AnnAssign_fields, 4,
 2486|      1|        "AnnAssign(expr target, expr annotation, expr? value, int simple)");
 2487|      1|    if (!state->AnnAssign_type) return -1;
  ------------------
  |  Branch (2487:9): [True: 0, False: 1]
  ------------------
 2488|      1|    if (PyObject_SetAttr(state->AnnAssign_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2488:9): [True: 0, False: 1]
  ------------------
 2489|      0|        return -1;
 2490|      1|    state->For_type = make_type(state, "For", state->stmt_type, For_fields, 5,
 2491|      1|        "For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)");
 2492|      1|    if (!state->For_type) return -1;
  ------------------
  |  Branch (2492:9): [True: 0, False: 1]
  ------------------
 2493|      1|    if (PyObject_SetAttr(state->For_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2493:9): [True: 0, False: 1]
  ------------------
 2494|      0|        return -1;
 2495|      1|    state->AsyncFor_type = make_type(state, "AsyncFor", state->stmt_type,
 2496|      1|                                     AsyncFor_fields, 5,
 2497|      1|        "AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)");
 2498|      1|    if (!state->AsyncFor_type) return -1;
  ------------------
  |  Branch (2498:9): [True: 0, False: 1]
  ------------------
 2499|      1|    if (PyObject_SetAttr(state->AsyncFor_type, state->type_comment, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2499:9): [True: 0, False: 1]
  ------------------
 2500|      1|        -1)
 2501|      0|        return -1;
 2502|      1|    state->While_type = make_type(state, "While", state->stmt_type,
 2503|      1|                                  While_fields, 3,
 2504|      1|        "While(expr test, stmt* body, stmt* orelse)");
 2505|      1|    if (!state->While_type) return -1;
  ------------------
  |  Branch (2505:9): [True: 0, False: 1]
  ------------------
 2506|      1|    state->If_type = make_type(state, "If", state->stmt_type, If_fields, 3,
 2507|      1|        "If(expr test, stmt* body, stmt* orelse)");
 2508|      1|    if (!state->If_type) return -1;
  ------------------
  |  Branch (2508:9): [True: 0, False: 1]
  ------------------
 2509|      1|    state->With_type = make_type(state, "With", state->stmt_type, With_fields,
 2510|      1|                                 3,
 2511|      1|        "With(withitem* items, stmt* body, string? type_comment)");
 2512|      1|    if (!state->With_type) return -1;
  ------------------
  |  Branch (2512:9): [True: 0, False: 1]
  ------------------
 2513|      1|    if (PyObject_SetAttr(state->With_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2513:9): [True: 0, False: 1]
  ------------------
 2514|      0|        return -1;
 2515|      1|    state->AsyncWith_type = make_type(state, "AsyncWith", state->stmt_type,
 2516|      1|                                      AsyncWith_fields, 3,
 2517|      1|        "AsyncWith(withitem* items, stmt* body, string? type_comment)");
 2518|      1|    if (!state->AsyncWith_type) return -1;
  ------------------
  |  Branch (2518:9): [True: 0, False: 1]
  ------------------
 2519|      1|    if (PyObject_SetAttr(state->AsyncWith_type, state->type_comment, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2519:9): [True: 0, False: 1]
  ------------------
 2520|      1|        == -1)
 2521|      0|        return -1;
 2522|      1|    state->Match_type = make_type(state, "Match", state->stmt_type,
 2523|      1|                                  Match_fields, 2,
 2524|      1|        "Match(expr subject, match_case* cases)");
 2525|      1|    if (!state->Match_type) return -1;
  ------------------
  |  Branch (2525:9): [True: 0, False: 1]
  ------------------
 2526|      1|    state->Raise_type = make_type(state, "Raise", state->stmt_type,
 2527|      1|                                  Raise_fields, 2,
 2528|      1|        "Raise(expr? exc, expr? cause)");
 2529|      1|    if (!state->Raise_type) return -1;
  ------------------
  |  Branch (2529:9): [True: 0, False: 1]
  ------------------
 2530|      1|    if (PyObject_SetAttr(state->Raise_type, state->exc, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2530:9): [True: 0, False: 1]
  ------------------
 2531|      0|        return -1;
 2532|      1|    if (PyObject_SetAttr(state->Raise_type, state->cause, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2532:9): [True: 0, False: 1]
  ------------------
 2533|      0|        return -1;
 2534|      1|    state->Try_type = make_type(state, "Try", state->stmt_type, Try_fields, 4,
 2535|      1|        "Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)");
 2536|      1|    if (!state->Try_type) return -1;
  ------------------
  |  Branch (2536:9): [True: 0, False: 1]
  ------------------
 2537|      1|    state->TryStar_type = make_type(state, "TryStar", state->stmt_type,
 2538|      1|                                    TryStar_fields, 4,
 2539|      1|        "TryStar(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)");
 2540|      1|    if (!state->TryStar_type) return -1;
  ------------------
  |  Branch (2540:9): [True: 0, False: 1]
  ------------------
 2541|      1|    state->Assert_type = make_type(state, "Assert", state->stmt_type,
 2542|      1|                                   Assert_fields, 2,
 2543|      1|        "Assert(expr test, expr? msg)");
 2544|      1|    if (!state->Assert_type) return -1;
  ------------------
  |  Branch (2544:9): [True: 0, False: 1]
  ------------------
 2545|      1|    if (PyObject_SetAttr(state->Assert_type, state->msg, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2545:9): [True: 0, False: 1]
  ------------------
 2546|      0|        return -1;
 2547|      1|    state->Import_type = make_type(state, "Import", state->stmt_type,
 2548|      1|                                   Import_fields, 2,
 2549|      1|        "Import(alias* names, int? is_lazy)");
 2550|      1|    if (!state->Import_type) return -1;
  ------------------
  |  Branch (2550:9): [True: 0, False: 1]
  ------------------
 2551|      1|    if (PyObject_SetAttr(state->Import_type, state->is_lazy, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2551:9): [True: 0, False: 1]
  ------------------
 2552|      0|        return -1;
 2553|      1|    state->ImportFrom_type = make_type(state, "ImportFrom", state->stmt_type,
 2554|      1|                                       ImportFrom_fields, 4,
 2555|      1|        "ImportFrom(identifier? module, alias* names, int? level, int? is_lazy)");
 2556|      1|    if (!state->ImportFrom_type) return -1;
  ------------------
  |  Branch (2556:9): [True: 0, False: 1]
  ------------------
 2557|      1|    if (PyObject_SetAttr(state->ImportFrom_type, state->module, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2557:9): [True: 0, False: 1]
  ------------------
 2558|      0|        return -1;
 2559|      1|    if (PyObject_SetAttr(state->ImportFrom_type, state->level, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2559:9): [True: 0, False: 1]
  ------------------
 2560|      0|        return -1;
 2561|      1|    if (PyObject_SetAttr(state->ImportFrom_type, state->is_lazy, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2561:9): [True: 0, False: 1]
  ------------------
 2562|      0|        return -1;
 2563|      1|    state->Global_type = make_type(state, "Global", state->stmt_type,
 2564|      1|                                   Global_fields, 1,
 2565|      1|        "Global(identifier* names)");
 2566|      1|    if (!state->Global_type) return -1;
  ------------------
  |  Branch (2566:9): [True: 0, False: 1]
  ------------------
 2567|      1|    state->Nonlocal_type = make_type(state, "Nonlocal", state->stmt_type,
 2568|      1|                                     Nonlocal_fields, 1,
 2569|      1|        "Nonlocal(identifier* names)");
 2570|      1|    if (!state->Nonlocal_type) return -1;
  ------------------
  |  Branch (2570:9): [True: 0, False: 1]
  ------------------
 2571|      1|    state->Expr_type = make_type(state, "Expr", state->stmt_type, Expr_fields,
 2572|      1|                                 1,
 2573|      1|        "Expr(expr value)");
 2574|      1|    if (!state->Expr_type) return -1;
  ------------------
  |  Branch (2574:9): [True: 0, False: 1]
  ------------------
 2575|      1|    state->Pass_type = make_type(state, "Pass", state->stmt_type, NULL, 0,
 2576|      1|        "Pass");
 2577|      1|    if (!state->Pass_type) return -1;
  ------------------
  |  Branch (2577:9): [True: 0, False: 1]
  ------------------
 2578|      1|    state->Break_type = make_type(state, "Break", state->stmt_type, NULL, 0,
 2579|      1|        "Break");
 2580|      1|    if (!state->Break_type) return -1;
  ------------------
  |  Branch (2580:9): [True: 0, False: 1]
  ------------------
 2581|      1|    state->Continue_type = make_type(state, "Continue", state->stmt_type, NULL,
 2582|      1|                                     0,
 2583|      1|        "Continue");
 2584|      1|    if (!state->Continue_type) return -1;
  ------------------
  |  Branch (2584:9): [True: 0, False: 1]
  ------------------
 2585|      1|    state->expr_type = make_type(state, "expr", state->AST_type, NULL, 0,
 2586|      1|        "expr = BoolOp(boolop op, expr* values)\n"
 2587|      1|        "     | NamedExpr(expr target, expr value)\n"
 2588|      1|        "     | BinOp(expr left, operator op, expr right)\n"
 2589|      1|        "     | UnaryOp(unaryop op, expr operand)\n"
 2590|      1|        "     | Lambda(arguments args, expr body)\n"
 2591|      1|        "     | IfExp(expr test, expr body, expr orelse)\n"
 2592|      1|        "     | Dict(expr?* keys, expr* values)\n"
 2593|      1|        "     | Set(expr* elts)\n"
 2594|      1|        "     | ListComp(expr elt, comprehension* generators)\n"
 2595|      1|        "     | SetComp(expr elt, comprehension* generators)\n"
 2596|      1|        "     | DictComp(expr key, expr? value, comprehension* generators)\n"
 2597|      1|        "     | GeneratorExp(expr elt, comprehension* generators)\n"
 2598|      1|        "     | Await(expr value)\n"
 2599|      1|        "     | Yield(expr? value)\n"
 2600|      1|        "     | YieldFrom(expr value)\n"
 2601|      1|        "     | Compare(expr left, cmpop* ops, expr* comparators)\n"
 2602|      1|        "     | Call(expr func, expr* args, keyword* keywords)\n"
 2603|      1|        "     | FormattedValue(expr value, int conversion, expr? format_spec)\n"
 2604|      1|        "     | Interpolation(expr value, constant str, int conversion, expr? format_spec)\n"
 2605|      1|        "     | JoinedStr(expr* values)\n"
 2606|      1|        "     | TemplateStr(expr* values)\n"
 2607|      1|        "     | Constant(constant value, string? kind)\n"
 2608|      1|        "     | Attribute(expr value, identifier attr, expr_context ctx)\n"
 2609|      1|        "     | Subscript(expr value, expr slice, expr_context ctx)\n"
 2610|      1|        "     | Starred(expr value, expr_context ctx)\n"
 2611|      1|        "     | Name(identifier id, expr_context ctx)\n"
 2612|      1|        "     | List(expr* elts, expr_context ctx)\n"
 2613|      1|        "     | Tuple(expr* elts, expr_context ctx)\n"
 2614|      1|        "     | Slice(expr? lower, expr? upper, expr? step)");
 2615|      1|    if (!state->expr_type) return -1;
  ------------------
  |  Branch (2615:9): [True: 0, False: 1]
  ------------------
 2616|      1|    if (add_attributes(state, state->expr_type, expr_attributes, 4) < 0) return
  ------------------
  |  Branch (2616:9): [True: 0, False: 1]
  ------------------
 2617|      0|        -1;
 2618|      1|    if (PySet_Add(state->abstract_types, state->expr_type) < 0) return -1;
  ------------------
  |  Branch (2618:9): [True: 0, False: 1]
  ------------------
 2619|      1|    if (PyObject_SetAttr(state->expr_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2619:9): [True: 0, False: 1]
  ------------------
 2620|      0|        return -1;
 2621|      1|    if (PyObject_SetAttr(state->expr_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2621:9): [True: 0, False: 1]
  ------------------
 2622|      1|        -1)
 2623|      0|        return -1;
 2624|      1|    state->BoolOp_type = make_type(state, "BoolOp", state->expr_type,
 2625|      1|                                   BoolOp_fields, 2,
 2626|      1|        "BoolOp(boolop op, expr* values)");
 2627|      1|    if (!state->BoolOp_type) return -1;
  ------------------
  |  Branch (2627:9): [True: 0, False: 1]
  ------------------
 2628|      1|    state->NamedExpr_type = make_type(state, "NamedExpr", state->expr_type,
 2629|      1|                                      NamedExpr_fields, 2,
 2630|      1|        "NamedExpr(expr target, expr value)");
 2631|      1|    if (!state->NamedExpr_type) return -1;
  ------------------
  |  Branch (2631:9): [True: 0, False: 1]
  ------------------
 2632|      1|    state->BinOp_type = make_type(state, "BinOp", state->expr_type,
 2633|      1|                                  BinOp_fields, 3,
 2634|      1|        "BinOp(expr left, operator op, expr right)");
 2635|      1|    if (!state->BinOp_type) return -1;
  ------------------
  |  Branch (2635:9): [True: 0, False: 1]
  ------------------
 2636|      1|    state->UnaryOp_type = make_type(state, "UnaryOp", state->expr_type,
 2637|      1|                                    UnaryOp_fields, 2,
 2638|      1|        "UnaryOp(unaryop op, expr operand)");
 2639|      1|    if (!state->UnaryOp_type) return -1;
  ------------------
  |  Branch (2639:9): [True: 0, False: 1]
  ------------------
 2640|      1|    state->Lambda_type = make_type(state, "Lambda", state->expr_type,
 2641|      1|                                   Lambda_fields, 2,
 2642|      1|        "Lambda(arguments args, expr body)");
 2643|      1|    if (!state->Lambda_type) return -1;
  ------------------
  |  Branch (2643:9): [True: 0, False: 1]
  ------------------
 2644|      1|    state->IfExp_type = make_type(state, "IfExp", state->expr_type,
 2645|      1|                                  IfExp_fields, 3,
 2646|      1|        "IfExp(expr test, expr body, expr orelse)");
 2647|      1|    if (!state->IfExp_type) return -1;
  ------------------
  |  Branch (2647:9): [True: 0, False: 1]
  ------------------
 2648|      1|    state->Dict_type = make_type(state, "Dict", state->expr_type, Dict_fields,
 2649|      1|                                 2,
 2650|      1|        "Dict(expr?* keys, expr* values)");
 2651|      1|    if (!state->Dict_type) return -1;
  ------------------
  |  Branch (2651:9): [True: 0, False: 1]
  ------------------
 2652|      1|    state->Set_type = make_type(state, "Set", state->expr_type, Set_fields, 1,
 2653|      1|        "Set(expr* elts)");
 2654|      1|    if (!state->Set_type) return -1;
  ------------------
  |  Branch (2654:9): [True: 0, False: 1]
  ------------------
 2655|      1|    state->ListComp_type = make_type(state, "ListComp", state->expr_type,
 2656|      1|                                     ListComp_fields, 2,
 2657|      1|        "ListComp(expr elt, comprehension* generators)");
 2658|      1|    if (!state->ListComp_type) return -1;
  ------------------
  |  Branch (2658:9): [True: 0, False: 1]
  ------------------
 2659|      1|    state->SetComp_type = make_type(state, "SetComp", state->expr_type,
 2660|      1|                                    SetComp_fields, 2,
 2661|      1|        "SetComp(expr elt, comprehension* generators)");
 2662|      1|    if (!state->SetComp_type) return -1;
  ------------------
  |  Branch (2662:9): [True: 0, False: 1]
  ------------------
 2663|      1|    state->DictComp_type = make_type(state, "DictComp", state->expr_type,
 2664|      1|                                     DictComp_fields, 3,
 2665|      1|        "DictComp(expr key, expr? value, comprehension* generators)");
 2666|      1|    if (!state->DictComp_type) return -1;
  ------------------
  |  Branch (2666:9): [True: 0, False: 1]
  ------------------
 2667|      1|    if (PyObject_SetAttr(state->DictComp_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2667:9): [True: 0, False: 1]
  ------------------
 2668|      0|        return -1;
 2669|      1|    state->GeneratorExp_type = make_type(state, "GeneratorExp",
 2670|      1|                                         state->expr_type, GeneratorExp_fields,
 2671|      1|                                         2,
 2672|      1|        "GeneratorExp(expr elt, comprehension* generators)");
 2673|      1|    if (!state->GeneratorExp_type) return -1;
  ------------------
  |  Branch (2673:9): [True: 0, False: 1]
  ------------------
 2674|      1|    state->Await_type = make_type(state, "Await", state->expr_type,
 2675|      1|                                  Await_fields, 1,
 2676|      1|        "Await(expr value)");
 2677|      1|    if (!state->Await_type) return -1;
  ------------------
  |  Branch (2677:9): [True: 0, False: 1]
  ------------------
 2678|      1|    state->Yield_type = make_type(state, "Yield", state->expr_type,
 2679|      1|                                  Yield_fields, 1,
 2680|      1|        "Yield(expr? value)");
 2681|      1|    if (!state->Yield_type) return -1;
  ------------------
  |  Branch (2681:9): [True: 0, False: 1]
  ------------------
 2682|      1|    if (PyObject_SetAttr(state->Yield_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2682:9): [True: 0, False: 1]
  ------------------
 2683|      0|        return -1;
 2684|      1|    state->YieldFrom_type = make_type(state, "YieldFrom", state->expr_type,
 2685|      1|                                      YieldFrom_fields, 1,
 2686|      1|        "YieldFrom(expr value)");
 2687|      1|    if (!state->YieldFrom_type) return -1;
  ------------------
  |  Branch (2687:9): [True: 0, False: 1]
  ------------------
 2688|      1|    state->Compare_type = make_type(state, "Compare", state->expr_type,
 2689|      1|                                    Compare_fields, 3,
 2690|      1|        "Compare(expr left, cmpop* ops, expr* comparators)");
 2691|      1|    if (!state->Compare_type) return -1;
  ------------------
  |  Branch (2691:9): [True: 0, False: 1]
  ------------------
 2692|      1|    state->Call_type = make_type(state, "Call", state->expr_type, Call_fields,
 2693|      1|                                 3,
 2694|      1|        "Call(expr func, expr* args, keyword* keywords)");
 2695|      1|    if (!state->Call_type) return -1;
  ------------------
  |  Branch (2695:9): [True: 0, False: 1]
  ------------------
 2696|      1|    state->FormattedValue_type = make_type(state, "FormattedValue",
 2697|      1|                                           state->expr_type,
 2698|      1|                                           FormattedValue_fields, 3,
 2699|      1|        "FormattedValue(expr value, int conversion, expr? format_spec)");
 2700|      1|    if (!state->FormattedValue_type) return -1;
  ------------------
  |  Branch (2700:9): [True: 0, False: 1]
  ------------------
 2701|      1|    if (PyObject_SetAttr(state->FormattedValue_type, state->format_spec,
  ------------------
  |  Branch (2701:9): [True: 0, False: 1]
  ------------------
 2702|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2703|      0|        return -1;
 2704|      1|    state->Interpolation_type = make_type(state, "Interpolation",
 2705|      1|                                          state->expr_type,
 2706|      1|                                          Interpolation_fields, 4,
 2707|      1|        "Interpolation(expr value, constant str, int conversion, expr? format_spec)");
 2708|      1|    if (!state->Interpolation_type) return -1;
  ------------------
  |  Branch (2708:9): [True: 0, False: 1]
  ------------------
 2709|      1|    if (PyObject_SetAttr(state->Interpolation_type, state->format_spec,
  ------------------
  |  Branch (2709:9): [True: 0, False: 1]
  ------------------
 2710|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2711|      0|        return -1;
 2712|      1|    state->JoinedStr_type = make_type(state, "JoinedStr", state->expr_type,
 2713|      1|                                      JoinedStr_fields, 1,
 2714|      1|        "JoinedStr(expr* values)");
 2715|      1|    if (!state->JoinedStr_type) return -1;
  ------------------
  |  Branch (2715:9): [True: 0, False: 1]
  ------------------
 2716|      1|    state->TemplateStr_type = make_type(state, "TemplateStr", state->expr_type,
 2717|      1|                                        TemplateStr_fields, 1,
 2718|      1|        "TemplateStr(expr* values)");
 2719|      1|    if (!state->TemplateStr_type) return -1;
  ------------------
  |  Branch (2719:9): [True: 0, False: 1]
  ------------------
 2720|      1|    state->Constant_type = make_type(state, "Constant", state->expr_type,
 2721|      1|                                     Constant_fields, 2,
 2722|      1|        "Constant(constant value, string? kind)");
 2723|      1|    if (!state->Constant_type) return -1;
  ------------------
  |  Branch (2723:9): [True: 0, False: 1]
  ------------------
 2724|      1|    if (PyObject_SetAttr(state->Constant_type, state->kind, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2724:9): [True: 0, False: 1]
  ------------------
 2725|      0|        return -1;
 2726|      1|    state->Attribute_type = make_type(state, "Attribute", state->expr_type,
 2727|      1|                                      Attribute_fields, 3,
 2728|      1|        "Attribute(expr value, identifier attr, expr_context ctx)");
 2729|      1|    if (!state->Attribute_type) return -1;
  ------------------
  |  Branch (2729:9): [True: 0, False: 1]
  ------------------
 2730|      1|    state->Subscript_type = make_type(state, "Subscript", state->expr_type,
 2731|      1|                                      Subscript_fields, 3,
 2732|      1|        "Subscript(expr value, expr slice, expr_context ctx)");
 2733|      1|    if (!state->Subscript_type) return -1;
  ------------------
  |  Branch (2733:9): [True: 0, False: 1]
  ------------------
 2734|      1|    state->Starred_type = make_type(state, "Starred", state->expr_type,
 2735|      1|                                    Starred_fields, 2,
 2736|      1|        "Starred(expr value, expr_context ctx)");
 2737|      1|    if (!state->Starred_type) return -1;
  ------------------
  |  Branch (2737:9): [True: 0, False: 1]
  ------------------
 2738|      1|    state->Name_type = make_type(state, "Name", state->expr_type, Name_fields,
 2739|      1|                                 2,
 2740|      1|        "Name(identifier id, expr_context ctx)");
 2741|      1|    if (!state->Name_type) return -1;
  ------------------
  |  Branch (2741:9): [True: 0, False: 1]
  ------------------
 2742|      1|    state->List_type = make_type(state, "List", state->expr_type, List_fields,
 2743|      1|                                 2,
 2744|      1|        "List(expr* elts, expr_context ctx)");
 2745|      1|    if (!state->List_type) return -1;
  ------------------
  |  Branch (2745:9): [True: 0, False: 1]
  ------------------
 2746|      1|    state->Tuple_type = make_type(state, "Tuple", state->expr_type,
 2747|      1|                                  Tuple_fields, 2,
 2748|      1|        "Tuple(expr* elts, expr_context ctx)");
 2749|      1|    if (!state->Tuple_type) return -1;
  ------------------
  |  Branch (2749:9): [True: 0, False: 1]
  ------------------
 2750|      1|    state->Slice_type = make_type(state, "Slice", state->expr_type,
 2751|      1|                                  Slice_fields, 3,
 2752|      1|        "Slice(expr? lower, expr? upper, expr? step)");
 2753|      1|    if (!state->Slice_type) return -1;
  ------------------
  |  Branch (2753:9): [True: 0, False: 1]
  ------------------
 2754|      1|    if (PyObject_SetAttr(state->Slice_type, state->lower, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2754:9): [True: 0, False: 1]
  ------------------
 2755|      0|        return -1;
 2756|      1|    if (PyObject_SetAttr(state->Slice_type, state->upper, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2756:9): [True: 0, False: 1]
  ------------------
 2757|      0|        return -1;
 2758|      1|    if (PyObject_SetAttr(state->Slice_type, state->step, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2758:9): [True: 0, False: 1]
  ------------------
 2759|      0|        return -1;
 2760|      1|    state->expr_context_type = make_type(state, "expr_context",
 2761|      1|                                         state->AST_type, NULL, 0,
 2762|      1|        "expr_context = Load | Store | Del");
 2763|      1|    if (!state->expr_context_type) return -1;
  ------------------
  |  Branch (2763:9): [True: 0, False: 1]
  ------------------
 2764|      1|    if (add_attributes(state, state->expr_context_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2764:9): [True: 0, False: 1]
  ------------------
 2765|      1|    if (PySet_Add(state->abstract_types, state->expr_context_type) < 0) return
  ------------------
  |  Branch (2765:9): [True: 0, False: 1]
  ------------------
 2766|      0|        -1;
 2767|      1|    state->Load_type = make_type(state, "Load", state->expr_context_type, NULL,
 2768|      1|                                 0,
 2769|      1|        "Load");
 2770|      1|    if (!state->Load_type) return -1;
  ------------------
  |  Branch (2770:9): [True: 0, False: 1]
  ------------------
 2771|      1|    state->Load_singleton = PyType_GenericNew((PyTypeObject *)state->Load_type,
 2772|      1|                                              NULL, NULL);
 2773|      1|    if (!state->Load_singleton) return -1;
  ------------------
  |  Branch (2773:9): [True: 0, False: 1]
  ------------------
 2774|      1|    state->Store_type = make_type(state, "Store", state->expr_context_type,
 2775|      1|                                  NULL, 0,
 2776|      1|        "Store");
 2777|      1|    if (!state->Store_type) return -1;
  ------------------
  |  Branch (2777:9): [True: 0, False: 1]
  ------------------
 2778|      1|    state->Store_singleton = PyType_GenericNew((PyTypeObject
 2779|      1|                                               *)state->Store_type, NULL, NULL);
 2780|      1|    if (!state->Store_singleton) return -1;
  ------------------
  |  Branch (2780:9): [True: 0, False: 1]
  ------------------
 2781|      1|    state->Del_type = make_type(state, "Del", state->expr_context_type, NULL, 0,
 2782|      1|        "Del");
 2783|      1|    if (!state->Del_type) return -1;
  ------------------
  |  Branch (2783:9): [True: 0, False: 1]
  ------------------
 2784|      1|    state->Del_singleton = PyType_GenericNew((PyTypeObject *)state->Del_type,
 2785|      1|                                             NULL, NULL);
 2786|      1|    if (!state->Del_singleton) return -1;
  ------------------
  |  Branch (2786:9): [True: 0, False: 1]
  ------------------
 2787|      1|    state->boolop_type = make_type(state, "boolop", state->AST_type, NULL, 0,
 2788|      1|        "boolop = And | Or");
 2789|      1|    if (!state->boolop_type) return -1;
  ------------------
  |  Branch (2789:9): [True: 0, False: 1]
  ------------------
 2790|      1|    if (add_attributes(state, state->boolop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2790:9): [True: 0, False: 1]
  ------------------
 2791|      1|    if (PySet_Add(state->abstract_types, state->boolop_type) < 0) return -1;
  ------------------
  |  Branch (2791:9): [True: 0, False: 1]
  ------------------
 2792|      1|    state->And_type = make_type(state, "And", state->boolop_type, NULL, 0,
 2793|      1|        "And");
 2794|      1|    if (!state->And_type) return -1;
  ------------------
  |  Branch (2794:9): [True: 0, False: 1]
  ------------------
 2795|      1|    state->And_singleton = PyType_GenericNew((PyTypeObject *)state->And_type,
 2796|      1|                                             NULL, NULL);
 2797|      1|    if (!state->And_singleton) return -1;
  ------------------
  |  Branch (2797:9): [True: 0, False: 1]
  ------------------
 2798|      1|    state->Or_type = make_type(state, "Or", state->boolop_type, NULL, 0,
 2799|      1|        "Or");
 2800|      1|    if (!state->Or_type) return -1;
  ------------------
  |  Branch (2800:9): [True: 0, False: 1]
  ------------------
 2801|      1|    state->Or_singleton = PyType_GenericNew((PyTypeObject *)state->Or_type,
 2802|      1|                                            NULL, NULL);
 2803|      1|    if (!state->Or_singleton) return -1;
  ------------------
  |  Branch (2803:9): [True: 0, False: 1]
  ------------------
 2804|      1|    state->operator_type = make_type(state, "operator", state->AST_type, NULL,
 2805|      1|                                     0,
 2806|      1|        "operator = Add | Sub | Mult | MatMult | Div | Mod | Pow | LShift | RShift | BitOr | BitXor | BitAnd | FloorDiv");
 2807|      1|    if (!state->operator_type) return -1;
  ------------------
  |  Branch (2807:9): [True: 0, False: 1]
  ------------------
 2808|      1|    if (add_attributes(state, state->operator_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2808:9): [True: 0, False: 1]
  ------------------
 2809|      1|    if (PySet_Add(state->abstract_types, state->operator_type) < 0) return -1;
  ------------------
  |  Branch (2809:9): [True: 0, False: 1]
  ------------------
 2810|      1|    state->Add_type = make_type(state, "Add", state->operator_type, NULL, 0,
 2811|      1|        "Add");
 2812|      1|    if (!state->Add_type) return -1;
  ------------------
  |  Branch (2812:9): [True: 0, False: 1]
  ------------------
 2813|      1|    state->Add_singleton = PyType_GenericNew((PyTypeObject *)state->Add_type,
 2814|      1|                                             NULL, NULL);
 2815|      1|    if (!state->Add_singleton) return -1;
  ------------------
  |  Branch (2815:9): [True: 0, False: 1]
  ------------------
 2816|      1|    state->Sub_type = make_type(state, "Sub", state->operator_type, NULL, 0,
 2817|      1|        "Sub");
 2818|      1|    if (!state->Sub_type) return -1;
  ------------------
  |  Branch (2818:9): [True: 0, False: 1]
  ------------------
 2819|      1|    state->Sub_singleton = PyType_GenericNew((PyTypeObject *)state->Sub_type,
 2820|      1|                                             NULL, NULL);
 2821|      1|    if (!state->Sub_singleton) return -1;
  ------------------
  |  Branch (2821:9): [True: 0, False: 1]
  ------------------
 2822|      1|    state->Mult_type = make_type(state, "Mult", state->operator_type, NULL, 0,
 2823|      1|        "Mult");
 2824|      1|    if (!state->Mult_type) return -1;
  ------------------
  |  Branch (2824:9): [True: 0, False: 1]
  ------------------
 2825|      1|    state->Mult_singleton = PyType_GenericNew((PyTypeObject *)state->Mult_type,
 2826|      1|                                              NULL, NULL);
 2827|      1|    if (!state->Mult_singleton) return -1;
  ------------------
  |  Branch (2827:9): [True: 0, False: 1]
  ------------------
 2828|      1|    state->MatMult_type = make_type(state, "MatMult", state->operator_type,
 2829|      1|                                    NULL, 0,
 2830|      1|        "MatMult");
 2831|      1|    if (!state->MatMult_type) return -1;
  ------------------
  |  Branch (2831:9): [True: 0, False: 1]
  ------------------
 2832|      1|    state->MatMult_singleton = PyType_GenericNew((PyTypeObject
 2833|      1|                                                 *)state->MatMult_type, NULL,
 2834|      1|                                                 NULL);
 2835|      1|    if (!state->MatMult_singleton) return -1;
  ------------------
  |  Branch (2835:9): [True: 0, False: 1]
  ------------------
 2836|      1|    state->Div_type = make_type(state, "Div", state->operator_type, NULL, 0,
 2837|      1|        "Div");
 2838|      1|    if (!state->Div_type) return -1;
  ------------------
  |  Branch (2838:9): [True: 0, False: 1]
  ------------------
 2839|      1|    state->Div_singleton = PyType_GenericNew((PyTypeObject *)state->Div_type,
 2840|      1|                                             NULL, NULL);
 2841|      1|    if (!state->Div_singleton) return -1;
  ------------------
  |  Branch (2841:9): [True: 0, False: 1]
  ------------------
 2842|      1|    state->Mod_type = make_type(state, "Mod", state->operator_type, NULL, 0,
 2843|      1|        "Mod");
 2844|      1|    if (!state->Mod_type) return -1;
  ------------------
  |  Branch (2844:9): [True: 0, False: 1]
  ------------------
 2845|      1|    state->Mod_singleton = PyType_GenericNew((PyTypeObject *)state->Mod_type,
 2846|      1|                                             NULL, NULL);
 2847|      1|    if (!state->Mod_singleton) return -1;
  ------------------
  |  Branch (2847:9): [True: 0, False: 1]
  ------------------
 2848|      1|    state->Pow_type = make_type(state, "Pow", state->operator_type, NULL, 0,
 2849|      1|        "Pow");
 2850|      1|    if (!state->Pow_type) return -1;
  ------------------
  |  Branch (2850:9): [True: 0, False: 1]
  ------------------
 2851|      1|    state->Pow_singleton = PyType_GenericNew((PyTypeObject *)state->Pow_type,
 2852|      1|                                             NULL, NULL);
 2853|      1|    if (!state->Pow_singleton) return -1;
  ------------------
  |  Branch (2853:9): [True: 0, False: 1]
  ------------------
 2854|      1|    state->LShift_type = make_type(state, "LShift", state->operator_type, NULL,
 2855|      1|                                   0,
 2856|      1|        "LShift");
 2857|      1|    if (!state->LShift_type) return -1;
  ------------------
  |  Branch (2857:9): [True: 0, False: 1]
  ------------------
 2858|      1|    state->LShift_singleton = PyType_GenericNew((PyTypeObject
 2859|      1|                                                *)state->LShift_type, NULL,
 2860|      1|                                                NULL);
 2861|      1|    if (!state->LShift_singleton) return -1;
  ------------------
  |  Branch (2861:9): [True: 0, False: 1]
  ------------------
 2862|      1|    state->RShift_type = make_type(state, "RShift", state->operator_type, NULL,
 2863|      1|                                   0,
 2864|      1|        "RShift");
 2865|      1|    if (!state->RShift_type) return -1;
  ------------------
  |  Branch (2865:9): [True: 0, False: 1]
  ------------------
 2866|      1|    state->RShift_singleton = PyType_GenericNew((PyTypeObject
 2867|      1|                                                *)state->RShift_type, NULL,
 2868|      1|                                                NULL);
 2869|      1|    if (!state->RShift_singleton) return -1;
  ------------------
  |  Branch (2869:9): [True: 0, False: 1]
  ------------------
 2870|      1|    state->BitOr_type = make_type(state, "BitOr", state->operator_type, NULL, 0,
 2871|      1|        "BitOr");
 2872|      1|    if (!state->BitOr_type) return -1;
  ------------------
  |  Branch (2872:9): [True: 0, False: 1]
  ------------------
 2873|      1|    state->BitOr_singleton = PyType_GenericNew((PyTypeObject
 2874|      1|                                               *)state->BitOr_type, NULL, NULL);
 2875|      1|    if (!state->BitOr_singleton) return -1;
  ------------------
  |  Branch (2875:9): [True: 0, False: 1]
  ------------------
 2876|      1|    state->BitXor_type = make_type(state, "BitXor", state->operator_type, NULL,
 2877|      1|                                   0,
 2878|      1|        "BitXor");
 2879|      1|    if (!state->BitXor_type) return -1;
  ------------------
  |  Branch (2879:9): [True: 0, False: 1]
  ------------------
 2880|      1|    state->BitXor_singleton = PyType_GenericNew((PyTypeObject
 2881|      1|                                                *)state->BitXor_type, NULL,
 2882|      1|                                                NULL);
 2883|      1|    if (!state->BitXor_singleton) return -1;
  ------------------
  |  Branch (2883:9): [True: 0, False: 1]
  ------------------
 2884|      1|    state->BitAnd_type = make_type(state, "BitAnd", state->operator_type, NULL,
 2885|      1|                                   0,
 2886|      1|        "BitAnd");
 2887|      1|    if (!state->BitAnd_type) return -1;
  ------------------
  |  Branch (2887:9): [True: 0, False: 1]
  ------------------
 2888|      1|    state->BitAnd_singleton = PyType_GenericNew((PyTypeObject
 2889|      1|                                                *)state->BitAnd_type, NULL,
 2890|      1|                                                NULL);
 2891|      1|    if (!state->BitAnd_singleton) return -1;
  ------------------
  |  Branch (2891:9): [True: 0, False: 1]
  ------------------
 2892|      1|    state->FloorDiv_type = make_type(state, "FloorDiv", state->operator_type,
 2893|      1|                                     NULL, 0,
 2894|      1|        "FloorDiv");
 2895|      1|    if (!state->FloorDiv_type) return -1;
  ------------------
  |  Branch (2895:9): [True: 0, False: 1]
  ------------------
 2896|      1|    state->FloorDiv_singleton = PyType_GenericNew((PyTypeObject
 2897|      1|                                                  *)state->FloorDiv_type, NULL,
 2898|      1|                                                  NULL);
 2899|      1|    if (!state->FloorDiv_singleton) return -1;
  ------------------
  |  Branch (2899:9): [True: 0, False: 1]
  ------------------
 2900|      1|    state->unaryop_type = make_type(state, "unaryop", state->AST_type, NULL, 0,
 2901|      1|        "unaryop = Invert | Not | UAdd | USub");
 2902|      1|    if (!state->unaryop_type) return -1;
  ------------------
  |  Branch (2902:9): [True: 0, False: 1]
  ------------------
 2903|      1|    if (add_attributes(state, state->unaryop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2903:9): [True: 0, False: 1]
  ------------------
 2904|      1|    if (PySet_Add(state->abstract_types, state->unaryop_type) < 0) return -1;
  ------------------
  |  Branch (2904:9): [True: 0, False: 1]
  ------------------
 2905|      1|    state->Invert_type = make_type(state, "Invert", state->unaryop_type, NULL,
 2906|      1|                                   0,
 2907|      1|        "Invert");
 2908|      1|    if (!state->Invert_type) return -1;
  ------------------
  |  Branch (2908:9): [True: 0, False: 1]
  ------------------
 2909|      1|    state->Invert_singleton = PyType_GenericNew((PyTypeObject
 2910|      1|                                                *)state->Invert_type, NULL,
 2911|      1|                                                NULL);
 2912|      1|    if (!state->Invert_singleton) return -1;
  ------------------
  |  Branch (2912:9): [True: 0, False: 1]
  ------------------
 2913|      1|    state->Not_type = make_type(state, "Not", state->unaryop_type, NULL, 0,
 2914|      1|        "Not");
 2915|      1|    if (!state->Not_type) return -1;
  ------------------
  |  Branch (2915:9): [True: 0, False: 1]
  ------------------
 2916|      1|    state->Not_singleton = PyType_GenericNew((PyTypeObject *)state->Not_type,
 2917|      1|                                             NULL, NULL);
 2918|      1|    if (!state->Not_singleton) return -1;
  ------------------
  |  Branch (2918:9): [True: 0, False: 1]
  ------------------
 2919|      1|    state->UAdd_type = make_type(state, "UAdd", state->unaryop_type, NULL, 0,
 2920|      1|        "UAdd");
 2921|      1|    if (!state->UAdd_type) return -1;
  ------------------
  |  Branch (2921:9): [True: 0, False: 1]
  ------------------
 2922|      1|    state->UAdd_singleton = PyType_GenericNew((PyTypeObject *)state->UAdd_type,
 2923|      1|                                              NULL, NULL);
 2924|      1|    if (!state->UAdd_singleton) return -1;
  ------------------
  |  Branch (2924:9): [True: 0, False: 1]
  ------------------
 2925|      1|    state->USub_type = make_type(state, "USub", state->unaryop_type, NULL, 0,
 2926|      1|        "USub");
 2927|      1|    if (!state->USub_type) return -1;
  ------------------
  |  Branch (2927:9): [True: 0, False: 1]
  ------------------
 2928|      1|    state->USub_singleton = PyType_GenericNew((PyTypeObject *)state->USub_type,
 2929|      1|                                              NULL, NULL);
 2930|      1|    if (!state->USub_singleton) return -1;
  ------------------
  |  Branch (2930:9): [True: 0, False: 1]
  ------------------
 2931|      1|    state->cmpop_type = make_type(state, "cmpop", state->AST_type, NULL, 0,
 2932|      1|        "cmpop = Eq | NotEq | Lt | LtE | Gt | GtE | Is | IsNot | In | NotIn");
 2933|      1|    if (!state->cmpop_type) return -1;
  ------------------
  |  Branch (2933:9): [True: 0, False: 1]
  ------------------
 2934|      1|    if (add_attributes(state, state->cmpop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (2934:9): [True: 0, False: 1]
  ------------------
 2935|      1|    if (PySet_Add(state->abstract_types, state->cmpop_type) < 0) return -1;
  ------------------
  |  Branch (2935:9): [True: 0, False: 1]
  ------------------
 2936|      1|    state->Eq_type = make_type(state, "Eq", state->cmpop_type, NULL, 0,
 2937|      1|        "Eq");
 2938|      1|    if (!state->Eq_type) return -1;
  ------------------
  |  Branch (2938:9): [True: 0, False: 1]
  ------------------
 2939|      1|    state->Eq_singleton = PyType_GenericNew((PyTypeObject *)state->Eq_type,
 2940|      1|                                            NULL, NULL);
 2941|      1|    if (!state->Eq_singleton) return -1;
  ------------------
  |  Branch (2941:9): [True: 0, False: 1]
  ------------------
 2942|      1|    state->NotEq_type = make_type(state, "NotEq", state->cmpop_type, NULL, 0,
 2943|      1|        "NotEq");
 2944|      1|    if (!state->NotEq_type) return -1;
  ------------------
  |  Branch (2944:9): [True: 0, False: 1]
  ------------------
 2945|      1|    state->NotEq_singleton = PyType_GenericNew((PyTypeObject
 2946|      1|                                               *)state->NotEq_type, NULL, NULL);
 2947|      1|    if (!state->NotEq_singleton) return -1;
  ------------------
  |  Branch (2947:9): [True: 0, False: 1]
  ------------------
 2948|      1|    state->Lt_type = make_type(state, "Lt", state->cmpop_type, NULL, 0,
 2949|      1|        "Lt");
 2950|      1|    if (!state->Lt_type) return -1;
  ------------------
  |  Branch (2950:9): [True: 0, False: 1]
  ------------------
 2951|      1|    state->Lt_singleton = PyType_GenericNew((PyTypeObject *)state->Lt_type,
 2952|      1|                                            NULL, NULL);
 2953|      1|    if (!state->Lt_singleton) return -1;
  ------------------
  |  Branch (2953:9): [True: 0, False: 1]
  ------------------
 2954|      1|    state->LtE_type = make_type(state, "LtE", state->cmpop_type, NULL, 0,
 2955|      1|        "LtE");
 2956|      1|    if (!state->LtE_type) return -1;
  ------------------
  |  Branch (2956:9): [True: 0, False: 1]
  ------------------
 2957|      1|    state->LtE_singleton = PyType_GenericNew((PyTypeObject *)state->LtE_type,
 2958|      1|                                             NULL, NULL);
 2959|      1|    if (!state->LtE_singleton) return -1;
  ------------------
  |  Branch (2959:9): [True: 0, False: 1]
  ------------------
 2960|      1|    state->Gt_type = make_type(state, "Gt", state->cmpop_type, NULL, 0,
 2961|      1|        "Gt");
 2962|      1|    if (!state->Gt_type) return -1;
  ------------------
  |  Branch (2962:9): [True: 0, False: 1]
  ------------------
 2963|      1|    state->Gt_singleton = PyType_GenericNew((PyTypeObject *)state->Gt_type,
 2964|      1|                                            NULL, NULL);
 2965|      1|    if (!state->Gt_singleton) return -1;
  ------------------
  |  Branch (2965:9): [True: 0, False: 1]
  ------------------
 2966|      1|    state->GtE_type = make_type(state, "GtE", state->cmpop_type, NULL, 0,
 2967|      1|        "GtE");
 2968|      1|    if (!state->GtE_type) return -1;
  ------------------
  |  Branch (2968:9): [True: 0, False: 1]
  ------------------
 2969|      1|    state->GtE_singleton = PyType_GenericNew((PyTypeObject *)state->GtE_type,
 2970|      1|                                             NULL, NULL);
 2971|      1|    if (!state->GtE_singleton) return -1;
  ------------------
  |  Branch (2971:9): [True: 0, False: 1]
  ------------------
 2972|      1|    state->Is_type = make_type(state, "Is", state->cmpop_type, NULL, 0,
 2973|      1|        "Is");
 2974|      1|    if (!state->Is_type) return -1;
  ------------------
  |  Branch (2974:9): [True: 0, False: 1]
  ------------------
 2975|      1|    state->Is_singleton = PyType_GenericNew((PyTypeObject *)state->Is_type,
 2976|      1|                                            NULL, NULL);
 2977|      1|    if (!state->Is_singleton) return -1;
  ------------------
  |  Branch (2977:9): [True: 0, False: 1]
  ------------------
 2978|      1|    state->IsNot_type = make_type(state, "IsNot", state->cmpop_type, NULL, 0,
 2979|      1|        "IsNot");
 2980|      1|    if (!state->IsNot_type) return -1;
  ------------------
  |  Branch (2980:9): [True: 0, False: 1]
  ------------------
 2981|      1|    state->IsNot_singleton = PyType_GenericNew((PyTypeObject
 2982|      1|                                               *)state->IsNot_type, NULL, NULL);
 2983|      1|    if (!state->IsNot_singleton) return -1;
  ------------------
  |  Branch (2983:9): [True: 0, False: 1]
  ------------------
 2984|      1|    state->In_type = make_type(state, "In", state->cmpop_type, NULL, 0,
 2985|      1|        "In");
 2986|      1|    if (!state->In_type) return -1;
  ------------------
  |  Branch (2986:9): [True: 0, False: 1]
  ------------------
 2987|      1|    state->In_singleton = PyType_GenericNew((PyTypeObject *)state->In_type,
 2988|      1|                                            NULL, NULL);
 2989|      1|    if (!state->In_singleton) return -1;
  ------------------
  |  Branch (2989:9): [True: 0, False: 1]
  ------------------
 2990|      1|    state->NotIn_type = make_type(state, "NotIn", state->cmpop_type, NULL, 0,
 2991|      1|        "NotIn");
 2992|      1|    if (!state->NotIn_type) return -1;
  ------------------
  |  Branch (2992:9): [True: 0, False: 1]
  ------------------
 2993|      1|    state->NotIn_singleton = PyType_GenericNew((PyTypeObject
 2994|      1|                                               *)state->NotIn_type, NULL, NULL);
 2995|      1|    if (!state->NotIn_singleton) return -1;
  ------------------
  |  Branch (2995:9): [True: 0, False: 1]
  ------------------
 2996|      1|    state->comprehension_type = make_type(state, "comprehension",
 2997|      1|                                          state->AST_type,
 2998|      1|                                          comprehension_fields, 4,
 2999|      1|        "comprehension(expr target, expr iter, expr* ifs, int is_async)");
 3000|      1|    if (!state->comprehension_type) return -1;
  ------------------
  |  Branch (3000:9): [True: 0, False: 1]
  ------------------
 3001|      1|    if (add_attributes(state, state->comprehension_type, NULL, 0) < 0) return
  ------------------
  |  Branch (3001:9): [True: 0, False: 1]
  ------------------
 3002|      0|        -1;
 3003|      1|    state->excepthandler_type = make_type(state, "excepthandler",
 3004|      1|                                          state->AST_type, NULL, 0,
 3005|      1|        "excepthandler = ExceptHandler(expr? type, identifier? name, stmt* body)");
 3006|      1|    if (!state->excepthandler_type) return -1;
  ------------------
  |  Branch (3006:9): [True: 0, False: 1]
  ------------------
 3007|      1|    if (add_attributes(state, state->excepthandler_type,
  ------------------
  |  Branch (3007:9): [True: 0, False: 1]
  ------------------
 3008|      1|        excepthandler_attributes, 4) < 0) return -1;
 3009|      1|    if (PySet_Add(state->abstract_types, state->excepthandler_type) < 0) return
  ------------------
  |  Branch (3009:9): [True: 0, False: 1]
  ------------------
 3010|      0|        -1;
 3011|      1|    if (PyObject_SetAttr(state->excepthandler_type, state->end_lineno, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3011:9): [True: 0, False: 1]
  ------------------
 3012|      1|        == -1)
 3013|      0|        return -1;
 3014|      1|    if (PyObject_SetAttr(state->excepthandler_type, state->end_col_offset,
  ------------------
  |  Branch (3014:9): [True: 0, False: 1]
  ------------------
 3015|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3016|      0|        return -1;
 3017|      1|    state->ExceptHandler_type = make_type(state, "ExceptHandler",
 3018|      1|                                          state->excepthandler_type,
 3019|      1|                                          ExceptHandler_fields, 3,
 3020|      1|        "ExceptHandler(expr? type, identifier? name, stmt* body)");
 3021|      1|    if (!state->ExceptHandler_type) return -1;
  ------------------
  |  Branch (3021:9): [True: 0, False: 1]
  ------------------
 3022|      1|    if (PyObject_SetAttr(state->ExceptHandler_type, state->type, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3022:9): [True: 0, False: 1]
  ------------------
 3023|      0|        return -1;
 3024|      1|    if (PyObject_SetAttr(state->ExceptHandler_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3024:9): [True: 0, False: 1]
  ------------------
 3025|      0|        return -1;
 3026|      1|    state->arguments_type = make_type(state, "arguments", state->AST_type,
 3027|      1|                                      arguments_fields, 7,
 3028|      1|        "arguments(arg* posonlyargs, arg* args, arg? vararg, arg* kwonlyargs, expr?* kw_defaults, arg? kwarg, expr* defaults)");
 3029|      1|    if (!state->arguments_type) return -1;
  ------------------
  |  Branch (3029:9): [True: 0, False: 1]
  ------------------
 3030|      1|    if (add_attributes(state, state->arguments_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (3030:9): [True: 0, False: 1]
  ------------------
 3031|      1|    if (PyObject_SetAttr(state->arguments_type, state->vararg, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3031:9): [True: 0, False: 1]
  ------------------
 3032|      0|        return -1;
 3033|      1|    if (PyObject_SetAttr(state->arguments_type, state->kwarg, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3033:9): [True: 0, False: 1]
  ------------------
 3034|      0|        return -1;
 3035|      1|    state->arg_type = make_type(state, "arg", state->AST_type, arg_fields, 3,
 3036|      1|        "arg(identifier arg, expr? annotation, string? type_comment)");
 3037|      1|    if (!state->arg_type) return -1;
  ------------------
  |  Branch (3037:9): [True: 0, False: 1]
  ------------------
 3038|      1|    if (add_attributes(state, state->arg_type, arg_attributes, 4) < 0) return
  ------------------
  |  Branch (3038:9): [True: 0, False: 1]
  ------------------
 3039|      0|        -1;
 3040|      1|    if (PyObject_SetAttr(state->arg_type, state->annotation, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3040:9): [True: 0, False: 1]
  ------------------
 3041|      0|        return -1;
 3042|      1|    if (PyObject_SetAttr(state->arg_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3042:9): [True: 0, False: 1]
  ------------------
 3043|      0|        return -1;
 3044|      1|    if (PyObject_SetAttr(state->arg_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3044:9): [True: 0, False: 1]
  ------------------
 3045|      0|        return -1;
 3046|      1|    if (PyObject_SetAttr(state->arg_type, state->end_col_offset, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3046:9): [True: 0, False: 1]
  ------------------
 3047|      0|        return -1;
 3048|      1|    state->keyword_type = make_type(state, "keyword", state->AST_type,
 3049|      1|                                    keyword_fields, 2,
 3050|      1|        "keyword(identifier? arg, expr value)");
 3051|      1|    if (!state->keyword_type) return -1;
  ------------------
  |  Branch (3051:9): [True: 0, False: 1]
  ------------------
 3052|      1|    if (add_attributes(state, state->keyword_type, keyword_attributes, 4) < 0)
  ------------------
  |  Branch (3052:9): [True: 0, False: 1]
  ------------------
 3053|      0|        return -1;
 3054|      1|    if (PyObject_SetAttr(state->keyword_type, state->arg, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3054:9): [True: 0, False: 1]
  ------------------
 3055|      0|        return -1;
 3056|      1|    if (PyObject_SetAttr(state->keyword_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3056:9): [True: 0, False: 1]
  ------------------
 3057|      0|        return -1;
 3058|      1|    if (PyObject_SetAttr(state->keyword_type, state->end_col_offset, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3058:9): [True: 0, False: 1]
  ------------------
 3059|      1|        == -1)
 3060|      0|        return -1;
 3061|      1|    state->alias_type = make_type(state, "alias", state->AST_type,
 3062|      1|                                  alias_fields, 2,
 3063|      1|        "alias(identifier name, identifier? asname)");
 3064|      1|    if (!state->alias_type) return -1;
  ------------------
  |  Branch (3064:9): [True: 0, False: 1]
  ------------------
 3065|      1|    if (add_attributes(state, state->alias_type, alias_attributes, 4) < 0)
  ------------------
  |  Branch (3065:9): [True: 0, False: 1]
  ------------------
 3066|      0|        return -1;
 3067|      1|    if (PyObject_SetAttr(state->alias_type, state->asname, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3067:9): [True: 0, False: 1]
  ------------------
 3068|      0|        return -1;
 3069|      1|    if (PyObject_SetAttr(state->alias_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3069:9): [True: 0, False: 1]
  ------------------
 3070|      0|        return -1;
 3071|      1|    if (PyObject_SetAttr(state->alias_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3071:9): [True: 0, False: 1]
  ------------------
 3072|      1|        -1)
 3073|      0|        return -1;
 3074|      1|    state->withitem_type = make_type(state, "withitem", state->AST_type,
 3075|      1|                                     withitem_fields, 2,
 3076|      1|        "withitem(expr context_expr, expr? optional_vars)");
 3077|      1|    if (!state->withitem_type) return -1;
  ------------------
  |  Branch (3077:9): [True: 0, False: 1]
  ------------------
 3078|      1|    if (add_attributes(state, state->withitem_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (3078:9): [True: 0, False: 1]
  ------------------
 3079|      1|    if (PyObject_SetAttr(state->withitem_type, state->optional_vars, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3079:9): [True: 0, False: 1]
  ------------------
 3080|      1|        == -1)
 3081|      0|        return -1;
 3082|      1|    state->match_case_type = make_type(state, "match_case", state->AST_type,
 3083|      1|                                       match_case_fields, 3,
 3084|      1|        "match_case(pattern pattern, expr? guard, stmt* body)");
 3085|      1|    if (!state->match_case_type) return -1;
  ------------------
  |  Branch (3085:9): [True: 0, False: 1]
  ------------------
 3086|      1|    if (add_attributes(state, state->match_case_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (3086:9): [True: 0, False: 1]
  ------------------
 3087|      1|    if (PyObject_SetAttr(state->match_case_type, state->guard, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3087:9): [True: 0, False: 1]
  ------------------
 3088|      0|        return -1;
 3089|      1|    state->pattern_type = make_type(state, "pattern", state->AST_type, NULL, 0,
 3090|      1|        "pattern = MatchValue(expr value)\n"
 3091|      1|        "        | MatchSingleton(constant value)\n"
 3092|      1|        "        | MatchSequence(pattern* patterns)\n"
 3093|      1|        "        | MatchMapping(expr* keys, pattern* patterns, identifier? rest)\n"
 3094|      1|        "        | MatchClass(expr cls, pattern* patterns, identifier* kwd_attrs, pattern* kwd_patterns)\n"
 3095|      1|        "        | MatchStar(identifier? name)\n"
 3096|      1|        "        | MatchAs(pattern? pattern, identifier? name)\n"
 3097|      1|        "        | MatchOr(pattern* patterns)");
 3098|      1|    if (!state->pattern_type) return -1;
  ------------------
  |  Branch (3098:9): [True: 0, False: 1]
  ------------------
 3099|      1|    if (add_attributes(state, state->pattern_type, pattern_attributes, 4) < 0)
  ------------------
  |  Branch (3099:9): [True: 0, False: 1]
  ------------------
 3100|      0|        return -1;
 3101|      1|    if (PySet_Add(state->abstract_types, state->pattern_type) < 0) return -1;
  ------------------
  |  Branch (3101:9): [True: 0, False: 1]
  ------------------
 3102|      1|    state->MatchValue_type = make_type(state, "MatchValue",
 3103|      1|                                       state->pattern_type, MatchValue_fields,
 3104|      1|                                       1,
 3105|      1|        "MatchValue(expr value)");
 3106|      1|    if (!state->MatchValue_type) return -1;
  ------------------
  |  Branch (3106:9): [True: 0, False: 1]
  ------------------
 3107|      1|    state->MatchSingleton_type = make_type(state, "MatchSingleton",
 3108|      1|                                           state->pattern_type,
 3109|      1|                                           MatchSingleton_fields, 1,
 3110|      1|        "MatchSingleton(constant value)");
 3111|      1|    if (!state->MatchSingleton_type) return -1;
  ------------------
  |  Branch (3111:9): [True: 0, False: 1]
  ------------------
 3112|      1|    state->MatchSequence_type = make_type(state, "MatchSequence",
 3113|      1|                                          state->pattern_type,
 3114|      1|                                          MatchSequence_fields, 1,
 3115|      1|        "MatchSequence(pattern* patterns)");
 3116|      1|    if (!state->MatchSequence_type) return -1;
  ------------------
  |  Branch (3116:9): [True: 0, False: 1]
  ------------------
 3117|      1|    state->MatchMapping_type = make_type(state, "MatchMapping",
 3118|      1|                                         state->pattern_type,
 3119|      1|                                         MatchMapping_fields, 3,
 3120|      1|        "MatchMapping(expr* keys, pattern* patterns, identifier? rest)");
 3121|      1|    if (!state->MatchMapping_type) return -1;
  ------------------
  |  Branch (3121:9): [True: 0, False: 1]
  ------------------
 3122|      1|    if (PyObject_SetAttr(state->MatchMapping_type, state->rest, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3122:9): [True: 0, False: 1]
  ------------------
 3123|      0|        return -1;
 3124|      1|    state->MatchClass_type = make_type(state, "MatchClass",
 3125|      1|                                       state->pattern_type, MatchClass_fields,
 3126|      1|                                       4,
 3127|      1|        "MatchClass(expr cls, pattern* patterns, identifier* kwd_attrs, pattern* kwd_patterns)");
 3128|      1|    if (!state->MatchClass_type) return -1;
  ------------------
  |  Branch (3128:9): [True: 0, False: 1]
  ------------------
 3129|      1|    state->MatchStar_type = make_type(state, "MatchStar", state->pattern_type,
 3130|      1|                                      MatchStar_fields, 1,
 3131|      1|        "MatchStar(identifier? name)");
 3132|      1|    if (!state->MatchStar_type) return -1;
  ------------------
  |  Branch (3132:9): [True: 0, False: 1]
  ------------------
 3133|      1|    if (PyObject_SetAttr(state->MatchStar_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3133:9): [True: 0, False: 1]
  ------------------
 3134|      0|        return -1;
 3135|      1|    state->MatchAs_type = make_type(state, "MatchAs", state->pattern_type,
 3136|      1|                                    MatchAs_fields, 2,
 3137|      1|        "MatchAs(pattern? pattern, identifier? name)");
 3138|      1|    if (!state->MatchAs_type) return -1;
  ------------------
  |  Branch (3138:9): [True: 0, False: 1]
  ------------------
 3139|      1|    if (PyObject_SetAttr(state->MatchAs_type, state->pattern, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3139:9): [True: 0, False: 1]
  ------------------
 3140|      0|        return -1;
 3141|      1|    if (PyObject_SetAttr(state->MatchAs_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3141:9): [True: 0, False: 1]
  ------------------
 3142|      0|        return -1;
 3143|      1|    state->MatchOr_type = make_type(state, "MatchOr", state->pattern_type,
 3144|      1|                                    MatchOr_fields, 1,
 3145|      1|        "MatchOr(pattern* patterns)");
 3146|      1|    if (!state->MatchOr_type) return -1;
  ------------------
  |  Branch (3146:9): [True: 0, False: 1]
  ------------------
 3147|      1|    state->type_ignore_type = make_type(state, "type_ignore", state->AST_type,
 3148|      1|                                        NULL, 0,
 3149|      1|        "type_ignore = TypeIgnore(int lineno, string tag)");
 3150|      1|    if (!state->type_ignore_type) return -1;
  ------------------
  |  Branch (3150:9): [True: 0, False: 1]
  ------------------
 3151|      1|    if (add_attributes(state, state->type_ignore_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (3151:9): [True: 0, False: 1]
  ------------------
 3152|      1|    if (PySet_Add(state->abstract_types, state->type_ignore_type) < 0) return
  ------------------
  |  Branch (3152:9): [True: 0, False: 1]
  ------------------
 3153|      0|        -1;
 3154|      1|    state->TypeIgnore_type = make_type(state, "TypeIgnore",
 3155|      1|                                       state->type_ignore_type,
 3156|      1|                                       TypeIgnore_fields, 2,
 3157|      1|        "TypeIgnore(int lineno, string tag)");
 3158|      1|    if (!state->TypeIgnore_type) return -1;
  ------------------
  |  Branch (3158:9): [True: 0, False: 1]
  ------------------
 3159|      1|    state->type_param_type = make_type(state, "type_param", state->AST_type,
 3160|      1|                                       NULL, 0,
 3161|      1|        "type_param = TypeVar(identifier name, expr? bound, expr? default_value)\n"
 3162|      1|        "           | ParamSpec(identifier name, expr? default_value)\n"
 3163|      1|        "           | TypeVarTuple(identifier name, expr? default_value)");
 3164|      1|    if (!state->type_param_type) return -1;
  ------------------
  |  Branch (3164:9): [True: 0, False: 1]
  ------------------
 3165|      1|    if (add_attributes(state, state->type_param_type, type_param_attributes, 4)
  ------------------
  |  Branch (3165:9): [True: 0, False: 1]
  ------------------
 3166|      1|        < 0) return -1;
 3167|      1|    if (PySet_Add(state->abstract_types, state->type_param_type) < 0) return -1;
  ------------------
  |  Branch (3167:9): [True: 0, False: 1]
  ------------------
 3168|      1|    state->TypeVar_type = make_type(state, "TypeVar", state->type_param_type,
 3169|      1|                                    TypeVar_fields, 3,
 3170|      1|        "TypeVar(identifier name, expr? bound, expr? default_value)");
 3171|      1|    if (!state->TypeVar_type) return -1;
  ------------------
  |  Branch (3171:9): [True: 0, False: 1]
  ------------------
 3172|      1|    if (PyObject_SetAttr(state->TypeVar_type, state->bound, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3172:9): [True: 0, False: 1]
  ------------------
 3173|      0|        return -1;
 3174|      1|    if (PyObject_SetAttr(state->TypeVar_type, state->default_value, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3174:9): [True: 0, False: 1]
  ------------------
 3175|      1|        -1)
 3176|      0|        return -1;
 3177|      1|    state->ParamSpec_type = make_type(state, "ParamSpec",
 3178|      1|                                      state->type_param_type, ParamSpec_fields,
 3179|      1|                                      2,
 3180|      1|        "ParamSpec(identifier name, expr? default_value)");
 3181|      1|    if (!state->ParamSpec_type) return -1;
  ------------------
  |  Branch (3181:9): [True: 0, False: 1]
  ------------------
 3182|      1|    if (PyObject_SetAttr(state->ParamSpec_type, state->default_value, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3182:9): [True: 0, False: 1]
  ------------------
 3183|      1|        == -1)
 3184|      0|        return -1;
 3185|      1|    state->TypeVarTuple_type = make_type(state, "TypeVarTuple",
 3186|      1|                                         state->type_param_type,
 3187|      1|                                         TypeVarTuple_fields, 2,
 3188|      1|        "TypeVarTuple(identifier name, expr? default_value)");
 3189|      1|    if (!state->TypeVarTuple_type) return -1;
  ------------------
  |  Branch (3189:9): [True: 0, False: 1]
  ------------------
 3190|      1|    if (PyObject_SetAttr(state->TypeVarTuple_type, state->default_value,
  ------------------
  |  Branch (3190:9): [True: 0, False: 1]
  ------------------
 3191|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3192|      0|        return -1;
 3193|       |
 3194|      1|    if (!add_ast_annotations(state)) {
  ------------------
  |  Branch (3194:9): [True: 0, False: 1]
  ------------------
 3195|      0|        return -1;
 3196|      0|    }
 3197|      1|    return 0;
 3198|      1|}
Python-ast.c:init_identifiers:
  296|      1|{
  297|      1|    if ((state->__dict__ = PyUnicode_InternFromString("__dict__")) == NULL) return -1;
  ------------------
  |  Branch (297:9): [True: 0, False: 1]
  ------------------
  298|      1|    if ((state->__doc__ = PyUnicode_InternFromString("__doc__")) == NULL) return -1;
  ------------------
  |  Branch (298:9): [True: 0, False: 1]
  ------------------
  299|      1|    if ((state->__match_args__ = PyUnicode_InternFromString("__match_args__")) == NULL) return -1;
  ------------------
  |  Branch (299:9): [True: 0, False: 1]
  ------------------
  300|      1|    if ((state->__module__ = PyUnicode_InternFromString("__module__")) == NULL) return -1;
  ------------------
  |  Branch (300:9): [True: 0, False: 1]
  ------------------
  301|      1|    if ((state->_attributes = PyUnicode_InternFromString("_attributes")) == NULL) return -1;
  ------------------
  |  Branch (301:9): [True: 0, False: 1]
  ------------------
  302|      1|    if ((state->_fields = PyUnicode_InternFromString("_fields")) == NULL) return -1;
  ------------------
  |  Branch (302:9): [True: 0, False: 1]
  ------------------
  303|      1|    if ((state->annotation = PyUnicode_InternFromString("annotation")) == NULL) return -1;
  ------------------
  |  Branch (303:9): [True: 0, False: 1]
  ------------------
  304|      1|    if ((state->arg = PyUnicode_InternFromString("arg")) == NULL) return -1;
  ------------------
  |  Branch (304:9): [True: 0, False: 1]
  ------------------
  305|      1|    if ((state->args = PyUnicode_InternFromString("args")) == NULL) return -1;
  ------------------
  |  Branch (305:9): [True: 0, False: 1]
  ------------------
  306|      1|    if ((state->argtypes = PyUnicode_InternFromString("argtypes")) == NULL) return -1;
  ------------------
  |  Branch (306:9): [True: 0, False: 1]
  ------------------
  307|      1|    if ((state->asname = PyUnicode_InternFromString("asname")) == NULL) return -1;
  ------------------
  |  Branch (307:9): [True: 0, False: 1]
  ------------------
  308|      1|    if ((state->ast = PyUnicode_InternFromString("ast")) == NULL) return -1;
  ------------------
  |  Branch (308:9): [True: 0, False: 1]
  ------------------
  309|      1|    if ((state->attr = PyUnicode_InternFromString("attr")) == NULL) return -1;
  ------------------
  |  Branch (309:9): [True: 0, False: 1]
  ------------------
  310|      1|    if ((state->bases = PyUnicode_InternFromString("bases")) == NULL) return -1;
  ------------------
  |  Branch (310:9): [True: 0, False: 1]
  ------------------
  311|      1|    if ((state->body = PyUnicode_InternFromString("body")) == NULL) return -1;
  ------------------
  |  Branch (311:9): [True: 0, False: 1]
  ------------------
  312|      1|    if ((state->bound = PyUnicode_InternFromString("bound")) == NULL) return -1;
  ------------------
  |  Branch (312:9): [True: 0, False: 1]
  ------------------
  313|      1|    if ((state->cases = PyUnicode_InternFromString("cases")) == NULL) return -1;
  ------------------
  |  Branch (313:9): [True: 0, False: 1]
  ------------------
  314|      1|    if ((state->cause = PyUnicode_InternFromString("cause")) == NULL) return -1;
  ------------------
  |  Branch (314:9): [True: 0, False: 1]
  ------------------
  315|      1|    if ((state->cls = PyUnicode_InternFromString("cls")) == NULL) return -1;
  ------------------
  |  Branch (315:9): [True: 0, False: 1]
  ------------------
  316|      1|    if ((state->col_offset = PyUnicode_InternFromString("col_offset")) == NULL) return -1;
  ------------------
  |  Branch (316:9): [True: 0, False: 1]
  ------------------
  317|      1|    if ((state->comparators = PyUnicode_InternFromString("comparators")) == NULL) return -1;
  ------------------
  |  Branch (317:9): [True: 0, False: 1]
  ------------------
  318|      1|    if ((state->context_expr = PyUnicode_InternFromString("context_expr")) == NULL) return -1;
  ------------------
  |  Branch (318:9): [True: 0, False: 1]
  ------------------
  319|      1|    if ((state->conversion = PyUnicode_InternFromString("conversion")) == NULL) return -1;
  ------------------
  |  Branch (319:9): [True: 0, False: 1]
  ------------------
  320|      1|    if ((state->ctx = PyUnicode_InternFromString("ctx")) == NULL) return -1;
  ------------------
  |  Branch (320:9): [True: 0, False: 1]
  ------------------
  321|      1|    if ((state->decorator_list = PyUnicode_InternFromString("decorator_list")) == NULL) return -1;
  ------------------
  |  Branch (321:9): [True: 0, False: 1]
  ------------------
  322|      1|    if ((state->default_value = PyUnicode_InternFromString("default_value")) == NULL) return -1;
  ------------------
  |  Branch (322:9): [True: 0, False: 1]
  ------------------
  323|      1|    if ((state->defaults = PyUnicode_InternFromString("defaults")) == NULL) return -1;
  ------------------
  |  Branch (323:9): [True: 0, False: 1]
  ------------------
  324|      1|    if ((state->elt = PyUnicode_InternFromString("elt")) == NULL) return -1;
  ------------------
  |  Branch (324:9): [True: 0, False: 1]
  ------------------
  325|      1|    if ((state->elts = PyUnicode_InternFromString("elts")) == NULL) return -1;
  ------------------
  |  Branch (325:9): [True: 0, False: 1]
  ------------------
  326|      1|    if ((state->end_col_offset = PyUnicode_InternFromString("end_col_offset")) == NULL) return -1;
  ------------------
  |  Branch (326:9): [True: 0, False: 1]
  ------------------
  327|      1|    if ((state->end_lineno = PyUnicode_InternFromString("end_lineno")) == NULL) return -1;
  ------------------
  |  Branch (327:9): [True: 0, False: 1]
  ------------------
  328|      1|    if ((state->exc = PyUnicode_InternFromString("exc")) == NULL) return -1;
  ------------------
  |  Branch (328:9): [True: 0, False: 1]
  ------------------
  329|      1|    if ((state->finalbody = PyUnicode_InternFromString("finalbody")) == NULL) return -1;
  ------------------
  |  Branch (329:9): [True: 0, False: 1]
  ------------------
  330|      1|    if ((state->format_spec = PyUnicode_InternFromString("format_spec")) == NULL) return -1;
  ------------------
  |  Branch (330:9): [True: 0, False: 1]
  ------------------
  331|      1|    if ((state->func = PyUnicode_InternFromString("func")) == NULL) return -1;
  ------------------
  |  Branch (331:9): [True: 0, False: 1]
  ------------------
  332|      1|    if ((state->generators = PyUnicode_InternFromString("generators")) == NULL) return -1;
  ------------------
  |  Branch (332:9): [True: 0, False: 1]
  ------------------
  333|      1|    if ((state->guard = PyUnicode_InternFromString("guard")) == NULL) return -1;
  ------------------
  |  Branch (333:9): [True: 0, False: 1]
  ------------------
  334|      1|    if ((state->handlers = PyUnicode_InternFromString("handlers")) == NULL) return -1;
  ------------------
  |  Branch (334:9): [True: 0, False: 1]
  ------------------
  335|      1|    if ((state->id = PyUnicode_InternFromString("id")) == NULL) return -1;
  ------------------
  |  Branch (335:9): [True: 0, False: 1]
  ------------------
  336|      1|    if ((state->ifs = PyUnicode_InternFromString("ifs")) == NULL) return -1;
  ------------------
  |  Branch (336:9): [True: 0, False: 1]
  ------------------
  337|      1|    if ((state->is_async = PyUnicode_InternFromString("is_async")) == NULL) return -1;
  ------------------
  |  Branch (337:9): [True: 0, False: 1]
  ------------------
  338|      1|    if ((state->is_lazy = PyUnicode_InternFromString("is_lazy")) == NULL) return -1;
  ------------------
  |  Branch (338:9): [True: 0, False: 1]
  ------------------
  339|      1|    if ((state->items = PyUnicode_InternFromString("items")) == NULL) return -1;
  ------------------
  |  Branch (339:9): [True: 0, False: 1]
  ------------------
  340|      1|    if ((state->iter = PyUnicode_InternFromString("iter")) == NULL) return -1;
  ------------------
  |  Branch (340:9): [True: 0, False: 1]
  ------------------
  341|      1|    if ((state->key = PyUnicode_InternFromString("key")) == NULL) return -1;
  ------------------
  |  Branch (341:9): [True: 0, False: 1]
  ------------------
  342|      1|    if ((state->keys = PyUnicode_InternFromString("keys")) == NULL) return -1;
  ------------------
  |  Branch (342:9): [True: 0, False: 1]
  ------------------
  343|      1|    if ((state->keywords = PyUnicode_InternFromString("keywords")) == NULL) return -1;
  ------------------
  |  Branch (343:9): [True: 0, False: 1]
  ------------------
  344|      1|    if ((state->kind = PyUnicode_InternFromString("kind")) == NULL) return -1;
  ------------------
  |  Branch (344:9): [True: 0, False: 1]
  ------------------
  345|      1|    if ((state->kw_defaults = PyUnicode_InternFromString("kw_defaults")) == NULL) return -1;
  ------------------
  |  Branch (345:9): [True: 0, False: 1]
  ------------------
  346|      1|    if ((state->kwarg = PyUnicode_InternFromString("kwarg")) == NULL) return -1;
  ------------------
  |  Branch (346:9): [True: 0, False: 1]
  ------------------
  347|      1|    if ((state->kwd_attrs = PyUnicode_InternFromString("kwd_attrs")) == NULL) return -1;
  ------------------
  |  Branch (347:9): [True: 0, False: 1]
  ------------------
  348|      1|    if ((state->kwd_patterns = PyUnicode_InternFromString("kwd_patterns")) == NULL) return -1;
  ------------------
  |  Branch (348:9): [True: 0, False: 1]
  ------------------
  349|      1|    if ((state->kwonlyargs = PyUnicode_InternFromString("kwonlyargs")) == NULL) return -1;
  ------------------
  |  Branch (349:9): [True: 0, False: 1]
  ------------------
  350|      1|    if ((state->left = PyUnicode_InternFromString("left")) == NULL) return -1;
  ------------------
  |  Branch (350:9): [True: 0, False: 1]
  ------------------
  351|      1|    if ((state->level = PyUnicode_InternFromString("level")) == NULL) return -1;
  ------------------
  |  Branch (351:9): [True: 0, False: 1]
  ------------------
  352|      1|    if ((state->lineno = PyUnicode_InternFromString("lineno")) == NULL) return -1;
  ------------------
  |  Branch (352:9): [True: 0, False: 1]
  ------------------
  353|      1|    if ((state->lower = PyUnicode_InternFromString("lower")) == NULL) return -1;
  ------------------
  |  Branch (353:9): [True: 0, False: 1]
  ------------------
  354|      1|    if ((state->module = PyUnicode_InternFromString("module")) == NULL) return -1;
  ------------------
  |  Branch (354:9): [True: 0, False: 1]
  ------------------
  355|      1|    if ((state->msg = PyUnicode_InternFromString("msg")) == NULL) return -1;
  ------------------
  |  Branch (355:9): [True: 0, False: 1]
  ------------------
  356|      1|    if ((state->name = PyUnicode_InternFromString("name")) == NULL) return -1;
  ------------------
  |  Branch (356:9): [True: 0, False: 1]
  ------------------
  357|      1|    if ((state->names = PyUnicode_InternFromString("names")) == NULL) return -1;
  ------------------
  |  Branch (357:9): [True: 0, False: 1]
  ------------------
  358|      1|    if ((state->op = PyUnicode_InternFromString("op")) == NULL) return -1;
  ------------------
  |  Branch (358:9): [True: 0, False: 1]
  ------------------
  359|      1|    if ((state->operand = PyUnicode_InternFromString("operand")) == NULL) return -1;
  ------------------
  |  Branch (359:9): [True: 0, False: 1]
  ------------------
  360|      1|    if ((state->ops = PyUnicode_InternFromString("ops")) == NULL) return -1;
  ------------------
  |  Branch (360:9): [True: 0, False: 1]
  ------------------
  361|      1|    if ((state->optional_vars = PyUnicode_InternFromString("optional_vars")) == NULL) return -1;
  ------------------
  |  Branch (361:9): [True: 0, False: 1]
  ------------------
  362|      1|    if ((state->orelse = PyUnicode_InternFromString("orelse")) == NULL) return -1;
  ------------------
  |  Branch (362:9): [True: 0, False: 1]
  ------------------
  363|      1|    if ((state->pattern = PyUnicode_InternFromString("pattern")) == NULL) return -1;
  ------------------
  |  Branch (363:9): [True: 0, False: 1]
  ------------------
  364|      1|    if ((state->patterns = PyUnicode_InternFromString("patterns")) == NULL) return -1;
  ------------------
  |  Branch (364:9): [True: 0, False: 1]
  ------------------
  365|      1|    if ((state->posonlyargs = PyUnicode_InternFromString("posonlyargs")) == NULL) return -1;
  ------------------
  |  Branch (365:9): [True: 0, False: 1]
  ------------------
  366|      1|    if ((state->rest = PyUnicode_InternFromString("rest")) == NULL) return -1;
  ------------------
  |  Branch (366:9): [True: 0, False: 1]
  ------------------
  367|      1|    if ((state->returns = PyUnicode_InternFromString("returns")) == NULL) return -1;
  ------------------
  |  Branch (367:9): [True: 0, False: 1]
  ------------------
  368|      1|    if ((state->right = PyUnicode_InternFromString("right")) == NULL) return -1;
  ------------------
  |  Branch (368:9): [True: 0, False: 1]
  ------------------
  369|      1|    if ((state->simple = PyUnicode_InternFromString("simple")) == NULL) return -1;
  ------------------
  |  Branch (369:9): [True: 0, False: 1]
  ------------------
  370|      1|    if ((state->slice = PyUnicode_InternFromString("slice")) == NULL) return -1;
  ------------------
  |  Branch (370:9): [True: 0, False: 1]
  ------------------
  371|      1|    if ((state->step = PyUnicode_InternFromString("step")) == NULL) return -1;
  ------------------
  |  Branch (371:9): [True: 0, False: 1]
  ------------------
  372|      1|    if ((state->str = PyUnicode_InternFromString("str")) == NULL) return -1;
  ------------------
  |  Branch (372:9): [True: 0, False: 1]
  ------------------
  373|      1|    if ((state->subject = PyUnicode_InternFromString("subject")) == NULL) return -1;
  ------------------
  |  Branch (373:9): [True: 0, False: 1]
  ------------------
  374|      1|    if ((state->tag = PyUnicode_InternFromString("tag")) == NULL) return -1;
  ------------------
  |  Branch (374:9): [True: 0, False: 1]
  ------------------
  375|      1|    if ((state->target = PyUnicode_InternFromString("target")) == NULL) return -1;
  ------------------
  |  Branch (375:9): [True: 0, False: 1]
  ------------------
  376|      1|    if ((state->targets = PyUnicode_InternFromString("targets")) == NULL) return -1;
  ------------------
  |  Branch (376:9): [True: 0, False: 1]
  ------------------
  377|      1|    if ((state->test = PyUnicode_InternFromString("test")) == NULL) return -1;
  ------------------
  |  Branch (377:9): [True: 0, False: 1]
  ------------------
  378|      1|    if ((state->type = PyUnicode_InternFromString("type")) == NULL) return -1;
  ------------------
  |  Branch (378:9): [True: 0, False: 1]
  ------------------
  379|      1|    if ((state->type_comment = PyUnicode_InternFromString("type_comment")) == NULL) return -1;
  ------------------
  |  Branch (379:9): [True: 0, False: 1]
  ------------------
  380|      1|    if ((state->type_ignores = PyUnicode_InternFromString("type_ignores")) == NULL) return -1;
  ------------------
  |  Branch (380:9): [True: 0, False: 1]
  ------------------
  381|      1|    if ((state->type_params = PyUnicode_InternFromString("type_params")) == NULL) return -1;
  ------------------
  |  Branch (381:9): [True: 0, False: 1]
  ------------------
  382|      1|    if ((state->upper = PyUnicode_InternFromString("upper")) == NULL) return -1;
  ------------------
  |  Branch (382:9): [True: 0, False: 1]
  ------------------
  383|      1|    if ((state->value = PyUnicode_InternFromString("value")) == NULL) return -1;
  ------------------
  |  Branch (383:9): [True: 0, False: 1]
  ------------------
  384|      1|    if ((state->values = PyUnicode_InternFromString("values")) == NULL) return -1;
  ------------------
  |  Branch (384:9): [True: 0, False: 1]
  ------------------
  385|      1|    if ((state->vararg = PyUnicode_InternFromString("vararg")) == NULL) return -1;
  ------------------
  |  Branch (385:9): [True: 0, False: 1]
  ------------------
  386|      1|    return 0;
  387|      1|};
Python-ast.c:ast_dealloc:
 1421|   330k|{
 1422|   330k|    AST_object *self = (AST_object*)op;
 1423|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 1424|   330k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|   330k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   330k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   330k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1425|   330k|    PyObject_GC_UnTrack(self);
 1426|   330k|    PyObject_ClearManagedDict(op);
 1427|   330k|    freefunc free_func = PyType_GetSlot(tp, Py_tp_free);
  ------------------
  |  |   82|   330k|#define Py_tp_free 74
  ------------------
 1428|   330k|    assert(free_func != NULL);
  ------------------
  |  Branch (1428:5): [True: 330k, False: 0]
  ------------------
 1429|   330k|    free_func(self);
 1430|   330k|    Py_DECREF(tp);
  ------------------
  |  |  430|   330k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   330k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   330k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1431|   330k|}
Python-ast.c:ast_traverse:
 1435|    640|{
 1436|    640|    AST_object *self = (AST_object*)op;
 1437|    640|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    640|    do {                                                                \
  |  |  195|    640|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 640, False: 0]
  |  |  ------------------
  |  |  196|    640|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    640|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    640|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    640|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 640]
  |  |  ------------------
  |  |  198|    640|                return vret;                                            \
  |  |  199|    640|        }                                                               \
  |  |  200|    640|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 640]
  |  |  ------------------
  ------------------
 1438|    640|    return PyObject_VisitManagedDict(op, visit, arg);
 1439|    640|}
Python-ast.c:add_ast_fields:
 2334|      1|{
 2335|      1|    PyObject *empty_tuple;
 2336|      1|    empty_tuple = PyTuple_New(0);
 2337|      1|    if (!empty_tuple ||
  ------------------
  |  Branch (2337:9): [True: 0, False: 1]
  ------------------
 2338|      1|        PyObject_SetAttrString(state->AST_type, "_fields", empty_tuple) < 0 ||
  ------------------
  |  Branch (2338:9): [True: 0, False: 1]
  ------------------
 2339|      1|        PyObject_SetAttrString(state->AST_type, "__match_args__", empty_tuple) < 0 ||
  ------------------
  |  Branch (2339:9): [True: 0, False: 1]
  ------------------
 2340|      1|        PyObject_SetAttrString(state->AST_type, "_attributes", empty_tuple) < 0) {
  ------------------
  |  Branch (2340:9): [True: 0, False: 1]
  ------------------
 2341|      0|        Py_XDECREF(empty_tuple);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2342|      0|        return -1;
 2343|      0|    }
 2344|      1|    Py_DECREF(empty_tuple);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2345|      1|    return 0;
 2346|      1|}
Python-ast.c:make_type:
 2185|    125|{
 2186|    125|    PyObject *fnames, *result;
 2187|    125|    int i;
 2188|    125|    fnames = PyTuple_New(num_fields);
 2189|    125|    if (!fnames) return NULL;
  ------------------
  |  Branch (2189:9): [True: 0, False: 125]
  ------------------
 2190|    323|    for (i = 0; i < num_fields; i++) {
  ------------------
  |  Branch (2190:17): [True: 198, False: 125]
  ------------------
 2191|    198|        PyObject *field = PyUnicode_InternFromString(fields[i]);
 2192|    198|        if (!field) {
  ------------------
  |  Branch (2192:13): [True: 0, False: 198]
  ------------------
 2193|      0|            Py_DECREF(fnames);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2194|      0|            return NULL;
 2195|      0|        }
 2196|    198|        PyTuple_SET_ITEM(fnames, i, field);
  ------------------
  |  |   40|    198|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2197|    198|    }
 2198|    125|    result = PyObject_CallFunction((PyObject*)&PyType_Type, "s(O){OOOOOOOs}",
 2199|    125|                    type, base,
 2200|    125|                    state->_fields, fnames,
 2201|    125|                    state->__match_args__, fnames,
 2202|    125|                    state->__module__,
 2203|    125|                    state->ast,
 2204|    125|                    state->__doc__, doc);
 2205|    125|    Py_DECREF(fnames);
  ------------------
  |  |  430|    125|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    125|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2206|    125|    return result;
 2207|    125|}
Python-ast.c:add_attributes:
 2211|     19|{
 2212|     19|    int i, result;
 2213|     19|    PyObject *s, *l = PyTuple_New(num_fields);
 2214|     19|    if (!l)
  ------------------
  |  Branch (2214:9): [True: 0, False: 19]
  ------------------
 2215|      0|        return -1;
 2216|     51|    for (i = 0; i < num_fields; i++) {
  ------------------
  |  Branch (2216:17): [True: 32, False: 19]
  ------------------
 2217|     32|        s = PyUnicode_InternFromString(attrs[i]);
 2218|     32|        if (!s) {
  ------------------
  |  Branch (2218:13): [True: 0, False: 32]
  ------------------
 2219|      0|            Py_DECREF(l);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2220|      0|            return -1;
 2221|      0|        }
 2222|     32|        PyTuple_SET_ITEM(l, i, s);
  ------------------
  |  |   40|     32|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2223|     32|    }
 2224|     19|    result = PyObject_SetAttr(type, state->_attributes, l);
 2225|     19|    Py_DECREF(l);
  ------------------
  |  |  430|     19|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2226|     19|    return result;
 2227|     19|}
Python-ast.c:add_ast_annotations:
  829|      1|{
  830|      1|    enum {
  831|      1|        FIELD_OPTIONAL = 1,
  832|      1|        FIELD_SEQUENCE = 2,
  833|      1|        FIELD_BUILTIN = 4,
  834|      1|    };
  835|      1|    PyTypeObject *const builtin_types[] = {
  836|      1|        &PyUnicode_Type,
  837|      1|        &PyLong_Type,
  838|      1|        &PyBaseObject_Type,
  839|      1|    };
  840|       |    // Offsets refer to this interpreter's AST state, not global types.
  841|      1|    static_assert(sizeof(struct ast_state) <= UINT16_MAX,
  842|      1|                  "ast_state offsets must fit in uint16_t");
  843|      1|    static const struct {
  844|      1|        uint16_t name_offset;
  845|      1|        uint16_t type_offset;  // An index into builtin_types for builtins.
  846|      1|        uint8_t flags;
  847|      1|    } fields[] = {
  848|      1|        {offsetof(struct ast_state, body),
  849|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  850|      1|        {offsetof(struct ast_state, type_ignores),
  851|      1|         offsetof(struct ast_state, type_ignore_type), FIELD_SEQUENCE},
  852|      1|        {offsetof(struct ast_state, body),
  853|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  854|      1|        {offsetof(struct ast_state, body),
  855|      1|         offsetof(struct ast_state, expr_type), 0},
  856|      1|        {offsetof(struct ast_state, argtypes),
  857|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
  858|      1|        {offsetof(struct ast_state, returns),
  859|      1|         offsetof(struct ast_state, expr_type), 0},
  860|      1|        {offsetof(struct ast_state, name),
  861|      1|         0, FIELD_BUILTIN},
  862|      1|        {offsetof(struct ast_state, args),
  863|      1|         offsetof(struct ast_state, arguments_type), 0},
  864|      1|        {offsetof(struct ast_state, body),
  865|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  866|      1|        {offsetof(struct ast_state, decorator_list),
  867|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
  868|      1|        {offsetof(struct ast_state, returns),
  869|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
  870|      1|        {offsetof(struct ast_state, type_comment),
  871|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
  872|      1|        {offsetof(struct ast_state, type_params),
  873|      1|         offsetof(struct ast_state, type_param_type), FIELD_SEQUENCE},
  874|      1|        {offsetof(struct ast_state, name),
  875|      1|         0, FIELD_BUILTIN},
  876|      1|        {offsetof(struct ast_state, args),
  877|      1|         offsetof(struct ast_state, arguments_type), 0},
  878|      1|        {offsetof(struct ast_state, body),
  879|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  880|      1|        {offsetof(struct ast_state, decorator_list),
  881|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
  882|      1|        {offsetof(struct ast_state, returns),
  883|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
  884|      1|        {offsetof(struct ast_state, type_comment),
  885|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
  886|      1|        {offsetof(struct ast_state, type_params),
  887|      1|         offsetof(struct ast_state, type_param_type), FIELD_SEQUENCE},
  888|      1|        {offsetof(struct ast_state, name),
  889|      1|         0, FIELD_BUILTIN},
  890|      1|        {offsetof(struct ast_state, bases),
  891|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
  892|      1|        {offsetof(struct ast_state, keywords),
  893|      1|         offsetof(struct ast_state, keyword_type), FIELD_SEQUENCE},
  894|      1|        {offsetof(struct ast_state, body),
  895|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  896|      1|        {offsetof(struct ast_state, decorator_list),
  897|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
  898|      1|        {offsetof(struct ast_state, type_params),
  899|      1|         offsetof(struct ast_state, type_param_type), FIELD_SEQUENCE},
  900|      1|        {offsetof(struct ast_state, value),
  901|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
  902|      1|        {offsetof(struct ast_state, targets),
  903|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
  904|      1|        {offsetof(struct ast_state, targets),
  905|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
  906|      1|        {offsetof(struct ast_state, value),
  907|      1|         offsetof(struct ast_state, expr_type), 0},
  908|      1|        {offsetof(struct ast_state, type_comment),
  909|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
  910|      1|        {offsetof(struct ast_state, name),
  911|      1|         offsetof(struct ast_state, expr_type), 0},
  912|      1|        {offsetof(struct ast_state, type_params),
  913|      1|         offsetof(struct ast_state, type_param_type), FIELD_SEQUENCE},
  914|      1|        {offsetof(struct ast_state, value),
  915|      1|         offsetof(struct ast_state, expr_type), 0},
  916|      1|        {offsetof(struct ast_state, target),
  917|      1|         offsetof(struct ast_state, expr_type), 0},
  918|      1|        {offsetof(struct ast_state, op),
  919|      1|         offsetof(struct ast_state, operator_type), 0},
  920|      1|        {offsetof(struct ast_state, value),
  921|      1|         offsetof(struct ast_state, expr_type), 0},
  922|      1|        {offsetof(struct ast_state, target),
  923|      1|         offsetof(struct ast_state, expr_type), 0},
  924|      1|        {offsetof(struct ast_state, annotation),
  925|      1|         offsetof(struct ast_state, expr_type), 0},
  926|      1|        {offsetof(struct ast_state, value),
  927|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
  928|      1|        {offsetof(struct ast_state, simple),
  929|      1|         1, FIELD_BUILTIN},
  930|      1|        {offsetof(struct ast_state, target),
  931|      1|         offsetof(struct ast_state, expr_type), 0},
  932|      1|        {offsetof(struct ast_state, iter),
  933|      1|         offsetof(struct ast_state, expr_type), 0},
  934|      1|        {offsetof(struct ast_state, body),
  935|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  936|      1|        {offsetof(struct ast_state, orelse),
  937|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  938|      1|        {offsetof(struct ast_state, type_comment),
  939|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
  940|      1|        {offsetof(struct ast_state, target),
  941|      1|         offsetof(struct ast_state, expr_type), 0},
  942|      1|        {offsetof(struct ast_state, iter),
  943|      1|         offsetof(struct ast_state, expr_type), 0},
  944|      1|        {offsetof(struct ast_state, body),
  945|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  946|      1|        {offsetof(struct ast_state, orelse),
  947|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  948|      1|        {offsetof(struct ast_state, type_comment),
  949|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
  950|      1|        {offsetof(struct ast_state, test),
  951|      1|         offsetof(struct ast_state, expr_type), 0},
  952|      1|        {offsetof(struct ast_state, body),
  953|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  954|      1|        {offsetof(struct ast_state, orelse),
  955|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  956|      1|        {offsetof(struct ast_state, test),
  957|      1|         offsetof(struct ast_state, expr_type), 0},
  958|      1|        {offsetof(struct ast_state, body),
  959|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  960|      1|        {offsetof(struct ast_state, orelse),
  961|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  962|      1|        {offsetof(struct ast_state, items),
  963|      1|         offsetof(struct ast_state, withitem_type), FIELD_SEQUENCE},
  964|      1|        {offsetof(struct ast_state, body),
  965|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  966|      1|        {offsetof(struct ast_state, type_comment),
  967|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
  968|      1|        {offsetof(struct ast_state, items),
  969|      1|         offsetof(struct ast_state, withitem_type), FIELD_SEQUENCE},
  970|      1|        {offsetof(struct ast_state, body),
  971|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  972|      1|        {offsetof(struct ast_state, type_comment),
  973|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
  974|      1|        {offsetof(struct ast_state, subject),
  975|      1|         offsetof(struct ast_state, expr_type), 0},
  976|      1|        {offsetof(struct ast_state, cases),
  977|      1|         offsetof(struct ast_state, match_case_type), FIELD_SEQUENCE},
  978|      1|        {offsetof(struct ast_state, exc),
  979|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
  980|      1|        {offsetof(struct ast_state, cause),
  981|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
  982|      1|        {offsetof(struct ast_state, body),
  983|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  984|      1|        {offsetof(struct ast_state, handlers),
  985|      1|         offsetof(struct ast_state, excepthandler_type), FIELD_SEQUENCE},
  986|      1|        {offsetof(struct ast_state, orelse),
  987|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  988|      1|        {offsetof(struct ast_state, finalbody),
  989|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  990|      1|        {offsetof(struct ast_state, body),
  991|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  992|      1|        {offsetof(struct ast_state, handlers),
  993|      1|         offsetof(struct ast_state, excepthandler_type), FIELD_SEQUENCE},
  994|      1|        {offsetof(struct ast_state, orelse),
  995|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  996|      1|        {offsetof(struct ast_state, finalbody),
  997|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
  998|      1|        {offsetof(struct ast_state, test),
  999|      1|         offsetof(struct ast_state, expr_type), 0},
 1000|      1|        {offsetof(struct ast_state, msg),
 1001|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1002|      1|        {offsetof(struct ast_state, names),
 1003|      1|         offsetof(struct ast_state, alias_type), FIELD_SEQUENCE},
 1004|      1|        {offsetof(struct ast_state, is_lazy),
 1005|      1|         1, FIELD_OPTIONAL | FIELD_BUILTIN},
 1006|      1|        {offsetof(struct ast_state, module),
 1007|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1008|      1|        {offsetof(struct ast_state, names),
 1009|      1|         offsetof(struct ast_state, alias_type), FIELD_SEQUENCE},
 1010|      1|        {offsetof(struct ast_state, level),
 1011|      1|         1, FIELD_OPTIONAL | FIELD_BUILTIN},
 1012|      1|        {offsetof(struct ast_state, is_lazy),
 1013|      1|         1, FIELD_OPTIONAL | FIELD_BUILTIN},
 1014|      1|        {offsetof(struct ast_state, names),
 1015|      1|         0, FIELD_SEQUENCE | FIELD_BUILTIN},
 1016|      1|        {offsetof(struct ast_state, names),
 1017|      1|         0, FIELD_SEQUENCE | FIELD_BUILTIN},
 1018|      1|        {offsetof(struct ast_state, value),
 1019|      1|         offsetof(struct ast_state, expr_type), 0},
 1020|      1|        {offsetof(struct ast_state, op),
 1021|      1|         offsetof(struct ast_state, boolop_type), 0},
 1022|      1|        {offsetof(struct ast_state, values),
 1023|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1024|      1|        {offsetof(struct ast_state, target),
 1025|      1|         offsetof(struct ast_state, expr_type), 0},
 1026|      1|        {offsetof(struct ast_state, value),
 1027|      1|         offsetof(struct ast_state, expr_type), 0},
 1028|      1|        {offsetof(struct ast_state, left),
 1029|      1|         offsetof(struct ast_state, expr_type), 0},
 1030|      1|        {offsetof(struct ast_state, op),
 1031|      1|         offsetof(struct ast_state, operator_type), 0},
 1032|      1|        {offsetof(struct ast_state, right),
 1033|      1|         offsetof(struct ast_state, expr_type), 0},
 1034|      1|        {offsetof(struct ast_state, op),
 1035|      1|         offsetof(struct ast_state, unaryop_type), 0},
 1036|      1|        {offsetof(struct ast_state, operand),
 1037|      1|         offsetof(struct ast_state, expr_type), 0},
 1038|      1|        {offsetof(struct ast_state, args),
 1039|      1|         offsetof(struct ast_state, arguments_type), 0},
 1040|      1|        {offsetof(struct ast_state, body),
 1041|      1|         offsetof(struct ast_state, expr_type), 0},
 1042|      1|        {offsetof(struct ast_state, test),
 1043|      1|         offsetof(struct ast_state, expr_type), 0},
 1044|      1|        {offsetof(struct ast_state, body),
 1045|      1|         offsetof(struct ast_state, expr_type), 0},
 1046|      1|        {offsetof(struct ast_state, orelse),
 1047|      1|         offsetof(struct ast_state, expr_type), 0},
 1048|      1|        {offsetof(struct ast_state, keys),
 1049|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1050|      1|        {offsetof(struct ast_state, values),
 1051|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1052|      1|        {offsetof(struct ast_state, elts),
 1053|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1054|      1|        {offsetof(struct ast_state, elt),
 1055|      1|         offsetof(struct ast_state, expr_type), 0},
 1056|      1|        {offsetof(struct ast_state, generators),
 1057|      1|         offsetof(struct ast_state, comprehension_type), FIELD_SEQUENCE},
 1058|      1|        {offsetof(struct ast_state, elt),
 1059|      1|         offsetof(struct ast_state, expr_type), 0},
 1060|      1|        {offsetof(struct ast_state, generators),
 1061|      1|         offsetof(struct ast_state, comprehension_type), FIELD_SEQUENCE},
 1062|      1|        {offsetof(struct ast_state, key),
 1063|      1|         offsetof(struct ast_state, expr_type), 0},
 1064|      1|        {offsetof(struct ast_state, value),
 1065|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1066|      1|        {offsetof(struct ast_state, generators),
 1067|      1|         offsetof(struct ast_state, comprehension_type), FIELD_SEQUENCE},
 1068|      1|        {offsetof(struct ast_state, elt),
 1069|      1|         offsetof(struct ast_state, expr_type), 0},
 1070|      1|        {offsetof(struct ast_state, generators),
 1071|      1|         offsetof(struct ast_state, comprehension_type), FIELD_SEQUENCE},
 1072|      1|        {offsetof(struct ast_state, value),
 1073|      1|         offsetof(struct ast_state, expr_type), 0},
 1074|      1|        {offsetof(struct ast_state, value),
 1075|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1076|      1|        {offsetof(struct ast_state, value),
 1077|      1|         offsetof(struct ast_state, expr_type), 0},
 1078|      1|        {offsetof(struct ast_state, left),
 1079|      1|         offsetof(struct ast_state, expr_type), 0},
 1080|      1|        {offsetof(struct ast_state, ops),
 1081|      1|         offsetof(struct ast_state, cmpop_type), FIELD_SEQUENCE},
 1082|      1|        {offsetof(struct ast_state, comparators),
 1083|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1084|      1|        {offsetof(struct ast_state, func),
 1085|      1|         offsetof(struct ast_state, expr_type), 0},
 1086|      1|        {offsetof(struct ast_state, args),
 1087|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1088|      1|        {offsetof(struct ast_state, keywords),
 1089|      1|         offsetof(struct ast_state, keyword_type), FIELD_SEQUENCE},
 1090|      1|        {offsetof(struct ast_state, value),
 1091|      1|         offsetof(struct ast_state, expr_type), 0},
 1092|      1|        {offsetof(struct ast_state, conversion),
 1093|      1|         1, FIELD_BUILTIN},
 1094|      1|        {offsetof(struct ast_state, format_spec),
 1095|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1096|      1|        {offsetof(struct ast_state, value),
 1097|      1|         offsetof(struct ast_state, expr_type), 0},
 1098|      1|        {offsetof(struct ast_state, str),
 1099|      1|         2, FIELD_BUILTIN},
 1100|      1|        {offsetof(struct ast_state, conversion),
 1101|      1|         1, FIELD_BUILTIN},
 1102|      1|        {offsetof(struct ast_state, format_spec),
 1103|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1104|      1|        {offsetof(struct ast_state, values),
 1105|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1106|      1|        {offsetof(struct ast_state, values),
 1107|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1108|      1|        {offsetof(struct ast_state, value),
 1109|      1|         2, FIELD_BUILTIN},
 1110|      1|        {offsetof(struct ast_state, kind),
 1111|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1112|      1|        {offsetof(struct ast_state, value),
 1113|      1|         offsetof(struct ast_state, expr_type), 0},
 1114|      1|        {offsetof(struct ast_state, attr),
 1115|      1|         0, FIELD_BUILTIN},
 1116|      1|        {offsetof(struct ast_state, ctx),
 1117|      1|         offsetof(struct ast_state, expr_context_type), 0},
 1118|      1|        {offsetof(struct ast_state, value),
 1119|      1|         offsetof(struct ast_state, expr_type), 0},
 1120|      1|        {offsetof(struct ast_state, slice),
 1121|      1|         offsetof(struct ast_state, expr_type), 0},
 1122|      1|        {offsetof(struct ast_state, ctx),
 1123|      1|         offsetof(struct ast_state, expr_context_type), 0},
 1124|      1|        {offsetof(struct ast_state, value),
 1125|      1|         offsetof(struct ast_state, expr_type), 0},
 1126|      1|        {offsetof(struct ast_state, ctx),
 1127|      1|         offsetof(struct ast_state, expr_context_type), 0},
 1128|      1|        {offsetof(struct ast_state, id),
 1129|      1|         0, FIELD_BUILTIN},
 1130|      1|        {offsetof(struct ast_state, ctx),
 1131|      1|         offsetof(struct ast_state, expr_context_type), 0},
 1132|      1|        {offsetof(struct ast_state, elts),
 1133|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1134|      1|        {offsetof(struct ast_state, ctx),
 1135|      1|         offsetof(struct ast_state, expr_context_type), 0},
 1136|      1|        {offsetof(struct ast_state, elts),
 1137|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1138|      1|        {offsetof(struct ast_state, ctx),
 1139|      1|         offsetof(struct ast_state, expr_context_type), 0},
 1140|      1|        {offsetof(struct ast_state, lower),
 1141|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1142|      1|        {offsetof(struct ast_state, upper),
 1143|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1144|      1|        {offsetof(struct ast_state, step),
 1145|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1146|      1|        {offsetof(struct ast_state, target),
 1147|      1|         offsetof(struct ast_state, expr_type), 0},
 1148|      1|        {offsetof(struct ast_state, iter),
 1149|      1|         offsetof(struct ast_state, expr_type), 0},
 1150|      1|        {offsetof(struct ast_state, ifs),
 1151|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1152|      1|        {offsetof(struct ast_state, is_async),
 1153|      1|         1, FIELD_BUILTIN},
 1154|      1|        {offsetof(struct ast_state, type),
 1155|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1156|      1|        {offsetof(struct ast_state, name),
 1157|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1158|      1|        {offsetof(struct ast_state, body),
 1159|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
 1160|      1|        {offsetof(struct ast_state, posonlyargs),
 1161|      1|         offsetof(struct ast_state, arg_type), FIELD_SEQUENCE},
 1162|      1|        {offsetof(struct ast_state, args),
 1163|      1|         offsetof(struct ast_state, arg_type), FIELD_SEQUENCE},
 1164|      1|        {offsetof(struct ast_state, vararg),
 1165|      1|         offsetof(struct ast_state, arg_type), FIELD_OPTIONAL},
 1166|      1|        {offsetof(struct ast_state, kwonlyargs),
 1167|      1|         offsetof(struct ast_state, arg_type), FIELD_SEQUENCE},
 1168|      1|        {offsetof(struct ast_state, kw_defaults),
 1169|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1170|      1|        {offsetof(struct ast_state, kwarg),
 1171|      1|         offsetof(struct ast_state, arg_type), FIELD_OPTIONAL},
 1172|      1|        {offsetof(struct ast_state, defaults),
 1173|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1174|      1|        {offsetof(struct ast_state, arg),
 1175|      1|         0, FIELD_BUILTIN},
 1176|      1|        {offsetof(struct ast_state, annotation),
 1177|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1178|      1|        {offsetof(struct ast_state, type_comment),
 1179|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1180|      1|        {offsetof(struct ast_state, arg),
 1181|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1182|      1|        {offsetof(struct ast_state, value),
 1183|      1|         offsetof(struct ast_state, expr_type), 0},
 1184|      1|        {offsetof(struct ast_state, name),
 1185|      1|         0, FIELD_BUILTIN},
 1186|      1|        {offsetof(struct ast_state, asname),
 1187|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1188|      1|        {offsetof(struct ast_state, context_expr),
 1189|      1|         offsetof(struct ast_state, expr_type), 0},
 1190|      1|        {offsetof(struct ast_state, optional_vars),
 1191|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1192|      1|        {offsetof(struct ast_state, pattern),
 1193|      1|         offsetof(struct ast_state, pattern_type), 0},
 1194|      1|        {offsetof(struct ast_state, guard),
 1195|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1196|      1|        {offsetof(struct ast_state, body),
 1197|      1|         offsetof(struct ast_state, stmt_type), FIELD_SEQUENCE},
 1198|      1|        {offsetof(struct ast_state, value),
 1199|      1|         offsetof(struct ast_state, expr_type), 0},
 1200|      1|        {offsetof(struct ast_state, value),
 1201|      1|         2, FIELD_BUILTIN},
 1202|      1|        {offsetof(struct ast_state, patterns),
 1203|      1|         offsetof(struct ast_state, pattern_type), FIELD_SEQUENCE},
 1204|      1|        {offsetof(struct ast_state, keys),
 1205|      1|         offsetof(struct ast_state, expr_type), FIELD_SEQUENCE},
 1206|      1|        {offsetof(struct ast_state, patterns),
 1207|      1|         offsetof(struct ast_state, pattern_type), FIELD_SEQUENCE},
 1208|      1|        {offsetof(struct ast_state, rest),
 1209|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1210|      1|        {offsetof(struct ast_state, cls),
 1211|      1|         offsetof(struct ast_state, expr_type), 0},
 1212|      1|        {offsetof(struct ast_state, patterns),
 1213|      1|         offsetof(struct ast_state, pattern_type), FIELD_SEQUENCE},
 1214|      1|        {offsetof(struct ast_state, kwd_attrs),
 1215|      1|         0, FIELD_SEQUENCE | FIELD_BUILTIN},
 1216|      1|        {offsetof(struct ast_state, kwd_patterns),
 1217|      1|         offsetof(struct ast_state, pattern_type), FIELD_SEQUENCE},
 1218|      1|        {offsetof(struct ast_state, name),
 1219|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1220|      1|        {offsetof(struct ast_state, pattern),
 1221|      1|         offsetof(struct ast_state, pattern_type), FIELD_OPTIONAL},
 1222|      1|        {offsetof(struct ast_state, name),
 1223|      1|         0, FIELD_OPTIONAL | FIELD_BUILTIN},
 1224|      1|        {offsetof(struct ast_state, patterns),
 1225|      1|         offsetof(struct ast_state, pattern_type), FIELD_SEQUENCE},
 1226|      1|        {offsetof(struct ast_state, lineno),
 1227|      1|         1, FIELD_BUILTIN},
 1228|      1|        {offsetof(struct ast_state, tag),
 1229|      1|         0, FIELD_BUILTIN},
 1230|      1|        {offsetof(struct ast_state, name),
 1231|      1|         0, FIELD_BUILTIN},
 1232|      1|        {offsetof(struct ast_state, bound),
 1233|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1234|      1|        {offsetof(struct ast_state, default_value),
 1235|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1236|      1|        {offsetof(struct ast_state, name),
 1237|      1|         0, FIELD_BUILTIN},
 1238|      1|        {offsetof(struct ast_state, default_value),
 1239|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1240|      1|        {offsetof(struct ast_state, name),
 1241|      1|         0, FIELD_BUILTIN},
 1242|      1|        {offsetof(struct ast_state, default_value),
 1243|      1|         offsetof(struct ast_state, expr_type), FIELD_OPTIONAL},
 1244|      1|    };
 1245|      1|    static const struct {
 1246|      1|        uint16_t type_offset;
 1247|      1|        uint16_t first_field;
 1248|      1|        uint16_t nfields;
 1249|      1|    } nodes[] = {
 1250|      1|        {offsetof(struct ast_state, Module_type), 0, 2},
 1251|      1|        {offsetof(struct ast_state, Interactive_type), 2, 1},
 1252|      1|        {offsetof(struct ast_state, Expression_type), 3, 1},
 1253|      1|        {offsetof(struct ast_state, FunctionType_type), 4, 2},
 1254|      1|        {offsetof(struct ast_state, FunctionDef_type), 6, 7},
 1255|      1|        {offsetof(struct ast_state, AsyncFunctionDef_type), 13, 7},
 1256|      1|        {offsetof(struct ast_state, ClassDef_type), 20, 6},
 1257|      1|        {offsetof(struct ast_state, Return_type), 26, 1},
 1258|      1|        {offsetof(struct ast_state, Delete_type), 27, 1},
 1259|      1|        {offsetof(struct ast_state, Assign_type), 28, 3},
 1260|      1|        {offsetof(struct ast_state, TypeAlias_type), 31, 3},
 1261|      1|        {offsetof(struct ast_state, AugAssign_type), 34, 3},
 1262|      1|        {offsetof(struct ast_state, AnnAssign_type), 37, 4},
 1263|      1|        {offsetof(struct ast_state, For_type), 41, 5},
 1264|      1|        {offsetof(struct ast_state, AsyncFor_type), 46, 5},
 1265|      1|        {offsetof(struct ast_state, While_type), 51, 3},
 1266|      1|        {offsetof(struct ast_state, If_type), 54, 3},
 1267|      1|        {offsetof(struct ast_state, With_type), 57, 3},
 1268|      1|        {offsetof(struct ast_state, AsyncWith_type), 60, 3},
 1269|      1|        {offsetof(struct ast_state, Match_type), 63, 2},
 1270|      1|        {offsetof(struct ast_state, Raise_type), 65, 2},
 1271|      1|        {offsetof(struct ast_state, Try_type), 67, 4},
 1272|      1|        {offsetof(struct ast_state, TryStar_type), 71, 4},
 1273|      1|        {offsetof(struct ast_state, Assert_type), 75, 2},
 1274|      1|        {offsetof(struct ast_state, Import_type), 77, 2},
 1275|      1|        {offsetof(struct ast_state, ImportFrom_type), 79, 4},
 1276|      1|        {offsetof(struct ast_state, Global_type), 83, 1},
 1277|      1|        {offsetof(struct ast_state, Nonlocal_type), 84, 1},
 1278|      1|        {offsetof(struct ast_state, Expr_type), 85, 1},
 1279|      1|        {offsetof(struct ast_state, Pass_type), 86, 0},
 1280|      1|        {offsetof(struct ast_state, Break_type), 86, 0},
 1281|      1|        {offsetof(struct ast_state, Continue_type), 86, 0},
 1282|      1|        {offsetof(struct ast_state, BoolOp_type), 86, 2},
 1283|      1|        {offsetof(struct ast_state, NamedExpr_type), 88, 2},
 1284|      1|        {offsetof(struct ast_state, BinOp_type), 90, 3},
 1285|      1|        {offsetof(struct ast_state, UnaryOp_type), 93, 2},
 1286|      1|        {offsetof(struct ast_state, Lambda_type), 95, 2},
 1287|      1|        {offsetof(struct ast_state, IfExp_type), 97, 3},
 1288|      1|        {offsetof(struct ast_state, Dict_type), 100, 2},
 1289|      1|        {offsetof(struct ast_state, Set_type), 102, 1},
 1290|      1|        {offsetof(struct ast_state, ListComp_type), 103, 2},
 1291|      1|        {offsetof(struct ast_state, SetComp_type), 105, 2},
 1292|      1|        {offsetof(struct ast_state, DictComp_type), 107, 3},
 1293|      1|        {offsetof(struct ast_state, GeneratorExp_type), 110, 2},
 1294|      1|        {offsetof(struct ast_state, Await_type), 112, 1},
 1295|      1|        {offsetof(struct ast_state, Yield_type), 113, 1},
 1296|      1|        {offsetof(struct ast_state, YieldFrom_type), 114, 1},
 1297|      1|        {offsetof(struct ast_state, Compare_type), 115, 3},
 1298|      1|        {offsetof(struct ast_state, Call_type), 118, 3},
 1299|      1|        {offsetof(struct ast_state, FormattedValue_type), 121, 3},
 1300|      1|        {offsetof(struct ast_state, Interpolation_type), 124, 4},
 1301|      1|        {offsetof(struct ast_state, JoinedStr_type), 128, 1},
 1302|      1|        {offsetof(struct ast_state, TemplateStr_type), 129, 1},
 1303|      1|        {offsetof(struct ast_state, Constant_type), 130, 2},
 1304|      1|        {offsetof(struct ast_state, Attribute_type), 132, 3},
 1305|      1|        {offsetof(struct ast_state, Subscript_type), 135, 3},
 1306|      1|        {offsetof(struct ast_state, Starred_type), 138, 2},
 1307|      1|        {offsetof(struct ast_state, Name_type), 140, 2},
 1308|      1|        {offsetof(struct ast_state, List_type), 142, 2},
 1309|      1|        {offsetof(struct ast_state, Tuple_type), 144, 2},
 1310|      1|        {offsetof(struct ast_state, Slice_type), 146, 3},
 1311|      1|        {offsetof(struct ast_state, Load_type), 149, 0},
 1312|      1|        {offsetof(struct ast_state, Store_type), 149, 0},
 1313|      1|        {offsetof(struct ast_state, Del_type), 149, 0},
 1314|      1|        {offsetof(struct ast_state, And_type), 149, 0},
 1315|      1|        {offsetof(struct ast_state, Or_type), 149, 0},
 1316|      1|        {offsetof(struct ast_state, Add_type), 149, 0},
 1317|      1|        {offsetof(struct ast_state, Sub_type), 149, 0},
 1318|      1|        {offsetof(struct ast_state, Mult_type), 149, 0},
 1319|      1|        {offsetof(struct ast_state, MatMult_type), 149, 0},
 1320|      1|        {offsetof(struct ast_state, Div_type), 149, 0},
 1321|      1|        {offsetof(struct ast_state, Mod_type), 149, 0},
 1322|      1|        {offsetof(struct ast_state, Pow_type), 149, 0},
 1323|      1|        {offsetof(struct ast_state, LShift_type), 149, 0},
 1324|      1|        {offsetof(struct ast_state, RShift_type), 149, 0},
 1325|      1|        {offsetof(struct ast_state, BitOr_type), 149, 0},
 1326|      1|        {offsetof(struct ast_state, BitXor_type), 149, 0},
 1327|      1|        {offsetof(struct ast_state, BitAnd_type), 149, 0},
 1328|      1|        {offsetof(struct ast_state, FloorDiv_type), 149, 0},
 1329|      1|        {offsetof(struct ast_state, Invert_type), 149, 0},
 1330|      1|        {offsetof(struct ast_state, Not_type), 149, 0},
 1331|      1|        {offsetof(struct ast_state, UAdd_type), 149, 0},
 1332|      1|        {offsetof(struct ast_state, USub_type), 149, 0},
 1333|      1|        {offsetof(struct ast_state, Eq_type), 149, 0},
 1334|      1|        {offsetof(struct ast_state, NotEq_type), 149, 0},
 1335|      1|        {offsetof(struct ast_state, Lt_type), 149, 0},
 1336|      1|        {offsetof(struct ast_state, LtE_type), 149, 0},
 1337|      1|        {offsetof(struct ast_state, Gt_type), 149, 0},
 1338|      1|        {offsetof(struct ast_state, GtE_type), 149, 0},
 1339|      1|        {offsetof(struct ast_state, Is_type), 149, 0},
 1340|      1|        {offsetof(struct ast_state, IsNot_type), 149, 0},
 1341|      1|        {offsetof(struct ast_state, In_type), 149, 0},
 1342|      1|        {offsetof(struct ast_state, NotIn_type), 149, 0},
 1343|      1|        {offsetof(struct ast_state, comprehension_type), 149, 4},
 1344|      1|        {offsetof(struct ast_state, ExceptHandler_type), 153, 3},
 1345|      1|        {offsetof(struct ast_state, arguments_type), 156, 7},
 1346|      1|        {offsetof(struct ast_state, arg_type), 163, 3},
 1347|      1|        {offsetof(struct ast_state, keyword_type), 166, 2},
 1348|      1|        {offsetof(struct ast_state, alias_type), 168, 2},
 1349|      1|        {offsetof(struct ast_state, withitem_type), 170, 2},
 1350|      1|        {offsetof(struct ast_state, match_case_type), 172, 3},
 1351|      1|        {offsetof(struct ast_state, MatchValue_type), 175, 1},
 1352|      1|        {offsetof(struct ast_state, MatchSingleton_type), 176, 1},
 1353|      1|        {offsetof(struct ast_state, MatchSequence_type), 177, 1},
 1354|      1|        {offsetof(struct ast_state, MatchMapping_type), 178, 3},
 1355|      1|        {offsetof(struct ast_state, MatchClass_type), 181, 4},
 1356|      1|        {offsetof(struct ast_state, MatchStar_type), 185, 1},
 1357|      1|        {offsetof(struct ast_state, MatchAs_type), 186, 2},
 1358|      1|        {offsetof(struct ast_state, MatchOr_type), 188, 1},
 1359|      1|        {offsetof(struct ast_state, TypeIgnore_type), 189, 2},
 1360|      1|        {offsetof(struct ast_state, TypeVar_type), 191, 3},
 1361|      1|        {offsetof(struct ast_state, ParamSpec_type), 194, 2},
 1362|      1|        {offsetof(struct ast_state, TypeVarTuple_type), 196, 2},
 1363|      1|    };
 1364|      1|    char *base = (char *)state;
 1365|      1|    PyObject *annotations = NULL;
 1366|    114|    for (size_t i = 0; i < Py_ARRAY_LENGTH(nodes); i++) {
  ------------------
  |  |  232|    114|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (1366:24): [True: 113, False: 1]
  ------------------
 1367|    113|        annotations = PyDict_New();
 1368|    113|        if (annotations == NULL) {
  ------------------
  |  Branch (1368:13): [True: 0, False: 113]
  ------------------
 1369|      0|            goto error;
 1370|      0|        }
 1371|    113|        size_t end = nodes[i].first_field + nodes[i].nfields;
 1372|    311|        for (size_t j = nodes[i].first_field; j < end; j++) {
  ------------------
  |  Branch (1372:47): [True: 198, False: 113]
  ------------------
 1373|    198|            PyObject *name = *(PyObject **)(base + fields[j].name_offset);
 1374|    198|            PyObject *type;
 1375|    198|            if (fields[j].flags & FIELD_BUILTIN) {
  ------------------
  |  Branch (1375:17): [True: 41, False: 157]
  ------------------
 1376|     41|                type = (PyObject *)builtin_types[fields[j].type_offset];
 1377|     41|            }
 1378|    157|            else {
 1379|    157|                type = *(PyObject **)(base + fields[j].type_offset);
 1380|    157|            }
 1381|    198|            if (fields[j].flags & FIELD_OPTIONAL) {
  ------------------
  |  Branch (1381:17): [True: 44, False: 154]
  ------------------
 1382|     44|                type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|     44|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1383|     44|            }
 1384|    154|            else if (fields[j].flags & FIELD_SEQUENCE) {
  ------------------
  |  Branch (1384:22): [True: 74, False: 80]
  ------------------
 1385|     74|                type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1386|     74|            }
 1387|     80|            else {
 1388|     80|                Py_INCREF(type);
  ------------------
  |  |  310|     80|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1389|     80|            }
 1390|    198|            if (type == NULL) {
  ------------------
  |  Branch (1390:17): [True: 0, False: 198]
  ------------------
 1391|      0|                goto error;
 1392|      0|            }
 1393|    198|            int res = PyDict_SetItem(annotations, name, type);
 1394|    198|            Py_DECREF(type);
  ------------------
  |  |  430|    198|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1395|    198|            if (res < 0) {
  ------------------
  |  Branch (1395:17): [True: 0, False: 198]
  ------------------
 1396|      0|                goto error;
 1397|      0|            }
 1398|    198|        }
 1399|    113|        PyObject *node = *(PyObject **)(base + nodes[i].type_offset);
 1400|    113|        if (PyObject_SetAttrString(node, "_field_types", annotations) < 0 ||
  ------------------
  |  Branch (1400:13): [True: 0, False: 113]
  ------------------
 1401|    113|            PyObject_SetAttrString(node, "__annotations__", annotations) < 0)
  ------------------
  |  Branch (1401:13): [True: 0, False: 113]
  ------------------
 1402|      0|        {
 1403|      0|            goto error;
 1404|      0|        }
 1405|    113|        Py_CLEAR(annotations);
  ------------------
  |  |  487|    113|    do { \
  |  |  488|    113|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    113|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    113|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    113|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 113, False: 0]
  |  |  ------------------
  |  |  491|    113|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    113|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    113|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    113|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    113|        } \
  |  |  494|    113|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 113]
  |  |  ------------------
  ------------------
 1406|    113|    }
 1407|      1|    return 1;
 1408|      0|error:
 1409|      0|    Py_XDECREF(annotations);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1410|      0|    return 0;
 1411|      1|}
Python-ast.c:ast2obj_mod:
 5111|  1.94k|{
 5112|  1.94k|    mod_ty o = (mod_ty)_o;
 5113|  1.94k|    PyObject *result = NULL, *value = NULL;
 5114|  1.94k|    PyTypeObject *tp;
 5115|  1.94k|    if (!o) {
  ------------------
  |  Branch (5115:9): [True: 0, False: 1.94k]
  ------------------
 5116|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5117|      0|    }
 5118|  1.94k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (5118:9): [True: 0, False: 1.94k]
  ------------------
 5119|      0|        return NULL;
 5120|      0|    }
 5121|  1.94k|    switch (o->kind) {
  ------------------
  |  Branch (5121:13): [True: 1.94k, False: 0]
  ------------------
 5122|  1.34k|    case Module_kind:
  ------------------
  |  Branch (5122:5): [True: 1.34k, False: 604]
  ------------------
 5123|  1.34k|        tp = (PyTypeObject *)state->Module_type;
 5124|  1.34k|        result = PyType_GenericNew(tp, NULL, NULL);
 5125|  1.34k|        if (!result) goto failed;
  ------------------
  |  Branch (5125:13): [True: 0, False: 1.34k]
  ------------------
 5126|  1.34k|        value = ast2obj_list(state, (asdl_seq*)o->v.Module.body, ast2obj_stmt);
 5127|  1.34k|        if (!value) goto failed;
  ------------------
  |  Branch (5127:13): [True: 0, False: 1.34k]
  ------------------
 5128|  1.34k|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5128:13): [True: 0, False: 1.34k]
  ------------------
 5129|      0|            goto failed;
 5130|  1.34k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.34k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5131|  1.34k|        value = ast2obj_list(state, (asdl_seq*)o->v.Module.type_ignores,
 5132|  1.34k|                             ast2obj_type_ignore);
 5133|  1.34k|        if (!value) goto failed;
  ------------------
  |  Branch (5133:13): [True: 0, False: 1.34k]
  ------------------
 5134|  1.34k|        if (PyObject_SetAttr(result, state->type_ignores, value) == -1)
  ------------------
  |  Branch (5134:13): [True: 0, False: 1.34k]
  ------------------
 5135|      0|            goto failed;
 5136|  1.34k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.34k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5137|  1.34k|        break;
 5138|    385|    case Interactive_kind:
  ------------------
  |  Branch (5138:5): [True: 385, False: 1.55k]
  ------------------
 5139|    385|        tp = (PyTypeObject *)state->Interactive_type;
 5140|    385|        result = PyType_GenericNew(tp, NULL, NULL);
 5141|    385|        if (!result) goto failed;
  ------------------
  |  Branch (5141:13): [True: 0, False: 385]
  ------------------
 5142|    385|        value = ast2obj_list(state, (asdl_seq*)o->v.Interactive.body,
 5143|    385|                             ast2obj_stmt);
 5144|    385|        if (!value) goto failed;
  ------------------
  |  Branch (5144:13): [True: 0, False: 385]
  ------------------
 5145|    385|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5145:13): [True: 0, False: 385]
  ------------------
 5146|      0|            goto failed;
 5147|    385|        Py_DECREF(value);
  ------------------
  |  |  430|    385|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    385|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    385|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5148|    385|        break;
 5149|    219|    case Expression_kind:
  ------------------
  |  Branch (5149:5): [True: 219, False: 1.72k]
  ------------------
 5150|    219|        tp = (PyTypeObject *)state->Expression_type;
 5151|    219|        result = PyType_GenericNew(tp, NULL, NULL);
 5152|    219|        if (!result) goto failed;
  ------------------
  |  Branch (5152:13): [True: 0, False: 219]
  ------------------
 5153|    219|        value = ast2obj_expr(state, o->v.Expression.body);
 5154|    219|        if (!value) goto failed;
  ------------------
  |  Branch (5154:13): [True: 0, False: 219]
  ------------------
 5155|    219|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5155:13): [True: 0, False: 219]
  ------------------
 5156|      0|            goto failed;
 5157|    219|        Py_DECREF(value);
  ------------------
  |  |  430|    219|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5158|    219|        break;
 5159|      0|    case FunctionType_kind:
  ------------------
  |  Branch (5159:5): [True: 0, False: 1.94k]
  ------------------
 5160|      0|        tp = (PyTypeObject *)state->FunctionType_type;
 5161|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 5162|      0|        if (!result) goto failed;
  ------------------
  |  Branch (5162:13): [True: 0, False: 0]
  ------------------
 5163|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionType.argtypes,
 5164|      0|                             ast2obj_expr);
 5165|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5165:13): [True: 0, False: 0]
  ------------------
 5166|      0|        if (PyObject_SetAttr(result, state->argtypes, value) == -1)
  ------------------
  |  Branch (5166:13): [True: 0, False: 0]
  ------------------
 5167|      0|            goto failed;
 5168|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5169|      0|        value = ast2obj_expr(state, o->v.FunctionType.returns);
 5170|      0|        if (!value) goto failed;
  ------------------
  |  Branch (5170:13): [True: 0, False: 0]
  ------------------
 5171|      0|        if (PyObject_SetAttr(result, state->returns, value) == -1)
  ------------------
  |  Branch (5171:13): [True: 0, False: 0]
  ------------------
 5172|      0|            goto failed;
 5173|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5174|      0|        break;
 5175|  1.94k|    }
 5176|  1.94k|    Py_LeaveRecursiveCall();
 5177|  1.94k|    return result;
 5178|      0|failed:
 5179|      0|    Py_LeaveRecursiveCall();
 5180|      0|    Py_XDECREF(value);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5181|      0|    Py_XDECREF(result);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5182|       |    return NULL;
 5183|  1.94k|}
Python-ast.c:ast2obj_list:
 2233|  40.6k|{
 2234|  40.6k|    Py_ssize_t i, n = asdl_seq_LEN(seq);
  ------------------
  |  |   83|  40.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  81.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 11.0k, False: 29.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2235|  40.6k|    PyObject *result = PyList_New(n);
 2236|  40.6k|    PyObject *value;
 2237|  40.6k|    if (!result)
  ------------------
  |  Branch (2237:9): [True: 0, False: 40.6k]
  ------------------
 2238|      0|        return NULL;
 2239|   117k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2239:17): [True: 76.7k, False: 40.6k]
  ------------------
 2240|  76.7k|        value = func(state, asdl_seq_GET_UNTYPED(seq, i));
  ------------------
  |  |   81|  76.7k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  76.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2241|  76.7k|        if (!value) {
  ------------------
  |  Branch (2241:13): [True: 0, False: 76.7k]
  ------------------
 2242|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2243|      0|            return NULL;
 2244|      0|        }
 2245|  76.7k|        PyList_SET_ITEM(result, i, value);
  ------------------
  |  |   50|  76.7k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  76.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  76.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  76.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  76.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2246|  76.7k|    }
 2247|  40.6k|    return result;
 2248|  40.6k|}
Python-ast.c:ast2obj_stmt:
 5187|  30.7k|{
 5188|  30.7k|    stmt_ty o = (stmt_ty)_o;
 5189|  30.7k|    PyObject *result = NULL, *value = NULL;
 5190|  30.7k|    PyTypeObject *tp;
 5191|  30.7k|    if (!o) {
  ------------------
  |  Branch (5191:9): [True: 0, False: 30.7k]
  ------------------
 5192|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5193|      0|    }
 5194|  30.7k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (5194:9): [True: 0, False: 30.7k]
  ------------------
 5195|      0|        return NULL;
 5196|      0|    }
 5197|  30.7k|    switch (o->kind) {
  ------------------
  |  Branch (5197:13): [True: 30.7k, False: 0]
  ------------------
 5198|    924|    case FunctionDef_kind:
  ------------------
  |  Branch (5198:5): [True: 924, False: 29.8k]
  ------------------
 5199|    924|        tp = (PyTypeObject *)state->FunctionDef_type;
 5200|    924|        result = PyType_GenericNew(tp, NULL, NULL);
 5201|    924|        if (!result) goto failed;
  ------------------
  |  Branch (5201:13): [True: 0, False: 924]
  ------------------
 5202|    924|        value = ast2obj_identifier(state, o->v.FunctionDef.name);
  ------------------
  |  | 2259|    924|#define ast2obj_identifier ast2obj_object
  ------------------
 5203|    924|        if (!value) goto failed;
  ------------------
  |  Branch (5203:13): [True: 0, False: 924]
  ------------------
 5204|    924|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (5204:13): [True: 0, False: 924]
  ------------------
 5205|      0|            goto failed;
 5206|    924|        Py_DECREF(value);
  ------------------
  |  |  430|    924|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    924|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    924|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5207|    924|        value = ast2obj_arguments(state, o->v.FunctionDef.args);
 5208|    924|        if (!value) goto failed;
  ------------------
  |  Branch (5208:13): [True: 0, False: 924]
  ------------------
 5209|    924|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (5209:13): [True: 0, False: 924]
  ------------------
 5210|      0|            goto failed;
 5211|    924|        Py_DECREF(value);
  ------------------
  |  |  430|    924|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    924|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    924|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5212|    924|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionDef.body,
 5213|    924|                             ast2obj_stmt);
 5214|    924|        if (!value) goto failed;
  ------------------
  |  Branch (5214:13): [True: 0, False: 924]
  ------------------
 5215|    924|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5215:13): [True: 0, False: 924]
  ------------------
 5216|      0|            goto failed;
 5217|    924|        Py_DECREF(value);
  ------------------
  |  |  430|    924|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    924|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    924|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5218|    924|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionDef.decorator_list,
 5219|    924|                             ast2obj_expr);
 5220|    924|        if (!value) goto failed;
  ------------------
  |  Branch (5220:13): [True: 0, False: 924]
  ------------------
 5221|    924|        if (PyObject_SetAttr(result, state->decorator_list, value) == -1)
  ------------------
  |  Branch (5221:13): [True: 0, False: 924]
  ------------------
 5222|      0|            goto failed;
 5223|    924|        Py_DECREF(value);
  ------------------
  |  |  430|    924|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    924|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    924|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5224|    924|        value = ast2obj_expr(state, o->v.FunctionDef.returns);
 5225|    924|        if (!value) goto failed;
  ------------------
  |  Branch (5225:13): [True: 0, False: 924]
  ------------------
 5226|    924|        if (PyObject_SetAttr(result, state->returns, value) == -1)
  ------------------
  |  Branch (5226:13): [True: 0, False: 924]
  ------------------
 5227|      0|            goto failed;
 5228|    924|        Py_DECREF(value);
  ------------------
  |  |  430|    924|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    924|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    924|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5229|    924|        value = ast2obj_string(state, o->v.FunctionDef.type_comment);
  ------------------
  |  | 2260|    924|#define ast2obj_string ast2obj_object
  ------------------
 5230|    924|        if (!value) goto failed;
  ------------------
  |  Branch (5230:13): [True: 0, False: 924]
  ------------------
 5231|    924|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (5231:13): [True: 0, False: 924]
  ------------------
 5232|      0|            goto failed;
 5233|    924|        Py_DECREF(value);
  ------------------
  |  |  430|    924|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    924|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    924|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5234|    924|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionDef.type_params,
 5235|    924|                             ast2obj_type_param);
 5236|    924|        if (!value) goto failed;
  ------------------
  |  Branch (5236:13): [True: 0, False: 924]
  ------------------
 5237|    924|        if (PyObject_SetAttr(result, state->type_params, value) == -1)
  ------------------
  |  Branch (5237:13): [True: 0, False: 924]
  ------------------
 5238|      0|            goto failed;
 5239|    924|        Py_DECREF(value);
  ------------------
  |  |  430|    924|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    924|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    924|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5240|    924|        break;
 5241|    422|    case AsyncFunctionDef_kind:
  ------------------
  |  Branch (5241:5): [True: 422, False: 30.3k]
  ------------------
 5242|    422|        tp = (PyTypeObject *)state->AsyncFunctionDef_type;
 5243|    422|        result = PyType_GenericNew(tp, NULL, NULL);
 5244|    422|        if (!result) goto failed;
  ------------------
  |  Branch (5244:13): [True: 0, False: 422]
  ------------------
 5245|    422|        value = ast2obj_identifier(state, o->v.AsyncFunctionDef.name);
  ------------------
  |  | 2259|    422|#define ast2obj_identifier ast2obj_object
  ------------------
 5246|    422|        if (!value) goto failed;
  ------------------
  |  Branch (5246:13): [True: 0, False: 422]
  ------------------
 5247|    422|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (5247:13): [True: 0, False: 422]
  ------------------
 5248|      0|            goto failed;
 5249|    422|        Py_DECREF(value);
  ------------------
  |  |  430|    422|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    422|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    422|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5250|    422|        value = ast2obj_arguments(state, o->v.AsyncFunctionDef.args);
 5251|    422|        if (!value) goto failed;
  ------------------
  |  Branch (5251:13): [True: 0, False: 422]
  ------------------
 5252|    422|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (5252:13): [True: 0, False: 422]
  ------------------
 5253|      0|            goto failed;
 5254|    422|        Py_DECREF(value);
  ------------------
  |  |  430|    422|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    422|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    422|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5255|    422|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncFunctionDef.body,
 5256|    422|                             ast2obj_stmt);
 5257|    422|        if (!value) goto failed;
  ------------------
  |  Branch (5257:13): [True: 0, False: 422]
  ------------------
 5258|    422|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5258:13): [True: 0, False: 422]
  ------------------
 5259|      0|            goto failed;
 5260|    422|        Py_DECREF(value);
  ------------------
  |  |  430|    422|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    422|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    422|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5261|    422|        value = ast2obj_list(state,
 5262|    422|                             (asdl_seq*)o->v.AsyncFunctionDef.decorator_list,
 5263|    422|                             ast2obj_expr);
 5264|    422|        if (!value) goto failed;
  ------------------
  |  Branch (5264:13): [True: 0, False: 422]
  ------------------
 5265|    422|        if (PyObject_SetAttr(result, state->decorator_list, value) == -1)
  ------------------
  |  Branch (5265:13): [True: 0, False: 422]
  ------------------
 5266|      0|            goto failed;
 5267|    422|        Py_DECREF(value);
  ------------------
  |  |  430|    422|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    422|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    422|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5268|    422|        value = ast2obj_expr(state, o->v.AsyncFunctionDef.returns);
 5269|    422|        if (!value) goto failed;
  ------------------
  |  Branch (5269:13): [True: 0, False: 422]
  ------------------
 5270|    422|        if (PyObject_SetAttr(result, state->returns, value) == -1)
  ------------------
  |  Branch (5270:13): [True: 0, False: 422]
  ------------------
 5271|      0|            goto failed;
 5272|    422|        Py_DECREF(value);
  ------------------
  |  |  430|    422|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    422|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    422|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5273|    422|        value = ast2obj_string(state, o->v.AsyncFunctionDef.type_comment);
  ------------------
  |  | 2260|    422|#define ast2obj_string ast2obj_object
  ------------------
 5274|    422|        if (!value) goto failed;
  ------------------
  |  Branch (5274:13): [True: 0, False: 422]
  ------------------
 5275|    422|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (5275:13): [True: 0, False: 422]
  ------------------
 5276|      0|            goto failed;
 5277|    422|        Py_DECREF(value);
  ------------------
  |  |  430|    422|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    422|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    422|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5278|    422|        value = ast2obj_list(state,
 5279|    422|                             (asdl_seq*)o->v.AsyncFunctionDef.type_params,
 5280|    422|                             ast2obj_type_param);
 5281|    422|        if (!value) goto failed;
  ------------------
  |  Branch (5281:13): [True: 0, False: 422]
  ------------------
 5282|    422|        if (PyObject_SetAttr(result, state->type_params, value) == -1)
  ------------------
  |  Branch (5282:13): [True: 0, False: 422]
  ------------------
 5283|      0|            goto failed;
 5284|    422|        Py_DECREF(value);
  ------------------
  |  |  430|    422|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    422|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    422|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5285|    422|        break;
 5286|    475|    case ClassDef_kind:
  ------------------
  |  Branch (5286:5): [True: 475, False: 30.2k]
  ------------------
 5287|    475|        tp = (PyTypeObject *)state->ClassDef_type;
 5288|    475|        result = PyType_GenericNew(tp, NULL, NULL);
 5289|    475|        if (!result) goto failed;
  ------------------
  |  Branch (5289:13): [True: 0, False: 475]
  ------------------
 5290|    475|        value = ast2obj_identifier(state, o->v.ClassDef.name);
  ------------------
  |  | 2259|    475|#define ast2obj_identifier ast2obj_object
  ------------------
 5291|    475|        if (!value) goto failed;
  ------------------
  |  Branch (5291:13): [True: 0, False: 475]
  ------------------
 5292|    475|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (5292:13): [True: 0, False: 475]
  ------------------
 5293|      0|            goto failed;
 5294|    475|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5295|    475|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.bases,
 5296|    475|                             ast2obj_expr);
 5297|    475|        if (!value) goto failed;
  ------------------
  |  Branch (5297:13): [True: 0, False: 475]
  ------------------
 5298|    475|        if (PyObject_SetAttr(result, state->bases, value) == -1)
  ------------------
  |  Branch (5298:13): [True: 0, False: 475]
  ------------------
 5299|      0|            goto failed;
 5300|    475|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5301|    475|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.keywords,
 5302|    475|                             ast2obj_keyword);
 5303|    475|        if (!value) goto failed;
  ------------------
  |  Branch (5303:13): [True: 0, False: 475]
  ------------------
 5304|    475|        if (PyObject_SetAttr(result, state->keywords, value) == -1)
  ------------------
  |  Branch (5304:13): [True: 0, False: 475]
  ------------------
 5305|      0|            goto failed;
 5306|    475|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5307|    475|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.body,
 5308|    475|                             ast2obj_stmt);
 5309|    475|        if (!value) goto failed;
  ------------------
  |  Branch (5309:13): [True: 0, False: 475]
  ------------------
 5310|    475|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5310:13): [True: 0, False: 475]
  ------------------
 5311|      0|            goto failed;
 5312|    475|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5313|    475|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.decorator_list,
 5314|    475|                             ast2obj_expr);
 5315|    475|        if (!value) goto failed;
  ------------------
  |  Branch (5315:13): [True: 0, False: 475]
  ------------------
 5316|    475|        if (PyObject_SetAttr(result, state->decorator_list, value) == -1)
  ------------------
  |  Branch (5316:13): [True: 0, False: 475]
  ------------------
 5317|      0|            goto failed;
 5318|    475|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5319|    475|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.type_params,
 5320|    475|                             ast2obj_type_param);
 5321|    475|        if (!value) goto failed;
  ------------------
  |  Branch (5321:13): [True: 0, False: 475]
  ------------------
 5322|    475|        if (PyObject_SetAttr(result, state->type_params, value) == -1)
  ------------------
  |  Branch (5322:13): [True: 0, False: 475]
  ------------------
 5323|      0|            goto failed;
 5324|    475|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5325|    475|        break;
 5326|    599|    case Return_kind:
  ------------------
  |  Branch (5326:5): [True: 599, False: 30.1k]
  ------------------
 5327|    599|        tp = (PyTypeObject *)state->Return_type;
 5328|    599|        result = PyType_GenericNew(tp, NULL, NULL);
 5329|    599|        if (!result) goto failed;
  ------------------
  |  Branch (5329:13): [True: 0, False: 599]
  ------------------
 5330|    599|        value = ast2obj_expr(state, o->v.Return.value);
 5331|    599|        if (!value) goto failed;
  ------------------
  |  Branch (5331:13): [True: 0, False: 599]
  ------------------
 5332|    599|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (5332:13): [True: 0, False: 599]
  ------------------
 5333|      0|            goto failed;
 5334|    599|        Py_DECREF(value);
  ------------------
  |  |  430|    599|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    599|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    599|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5335|    599|        break;
 5336|     56|    case Delete_kind:
  ------------------
  |  Branch (5336:5): [True: 56, False: 30.6k]
  ------------------
 5337|     56|        tp = (PyTypeObject *)state->Delete_type;
 5338|     56|        result = PyType_GenericNew(tp, NULL, NULL);
 5339|     56|        if (!result) goto failed;
  ------------------
  |  Branch (5339:13): [True: 0, False: 56]
  ------------------
 5340|     56|        value = ast2obj_list(state, (asdl_seq*)o->v.Delete.targets,
 5341|     56|                             ast2obj_expr);
 5342|     56|        if (!value) goto failed;
  ------------------
  |  Branch (5342:13): [True: 0, False: 56]
  ------------------
 5343|     56|        if (PyObject_SetAttr(result, state->targets, value) == -1)
  ------------------
  |  Branch (5343:13): [True: 0, False: 56]
  ------------------
 5344|      0|            goto failed;
 5345|     56|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5346|     56|        break;
 5347|    317|    case Assign_kind:
  ------------------
  |  Branch (5347:5): [True: 317, False: 30.4k]
  ------------------
 5348|    317|        tp = (PyTypeObject *)state->Assign_type;
 5349|    317|        result = PyType_GenericNew(tp, NULL, NULL);
 5350|    317|        if (!result) goto failed;
  ------------------
  |  Branch (5350:13): [True: 0, False: 317]
  ------------------
 5351|    317|        value = ast2obj_list(state, (asdl_seq*)o->v.Assign.targets,
 5352|    317|                             ast2obj_expr);
 5353|    317|        if (!value) goto failed;
  ------------------
  |  Branch (5353:13): [True: 0, False: 317]
  ------------------
 5354|    317|        if (PyObject_SetAttr(result, state->targets, value) == -1)
  ------------------
  |  Branch (5354:13): [True: 0, False: 317]
  ------------------
 5355|      0|            goto failed;
 5356|    317|        Py_DECREF(value);
  ------------------
  |  |  430|    317|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    317|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    317|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5357|    317|        value = ast2obj_expr(state, o->v.Assign.value);
 5358|    317|        if (!value) goto failed;
  ------------------
  |  Branch (5358:13): [True: 0, False: 317]
  ------------------
 5359|    317|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (5359:13): [True: 0, False: 317]
  ------------------
 5360|      0|            goto failed;
 5361|    317|        Py_DECREF(value);
  ------------------
  |  |  430|    317|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    317|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    317|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5362|    317|        value = ast2obj_string(state, o->v.Assign.type_comment);
  ------------------
  |  | 2260|    317|#define ast2obj_string ast2obj_object
  ------------------
 5363|    317|        if (!value) goto failed;
  ------------------
  |  Branch (5363:13): [True: 0, False: 317]
  ------------------
 5364|    317|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (5364:13): [True: 0, False: 317]
  ------------------
 5365|      0|            goto failed;
 5366|    317|        Py_DECREF(value);
  ------------------
  |  |  430|    317|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    317|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    317|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5367|    317|        break;
 5368|    226|    case TypeAlias_kind:
  ------------------
  |  Branch (5368:5): [True: 226, False: 30.5k]
  ------------------
 5369|    226|        tp = (PyTypeObject *)state->TypeAlias_type;
 5370|    226|        result = PyType_GenericNew(tp, NULL, NULL);
 5371|    226|        if (!result) goto failed;
  ------------------
  |  Branch (5371:13): [True: 0, False: 226]
  ------------------
 5372|    226|        value = ast2obj_expr(state, o->v.TypeAlias.name);
 5373|    226|        if (!value) goto failed;
  ------------------
  |  Branch (5373:13): [True: 0, False: 226]
  ------------------
 5374|    226|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (5374:13): [True: 0, False: 226]
  ------------------
 5375|      0|            goto failed;
 5376|    226|        Py_DECREF(value);
  ------------------
  |  |  430|    226|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    226|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    226|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5377|    226|        value = ast2obj_list(state, (asdl_seq*)o->v.TypeAlias.type_params,
 5378|    226|                             ast2obj_type_param);
 5379|    226|        if (!value) goto failed;
  ------------------
  |  Branch (5379:13): [True: 0, False: 226]
  ------------------
 5380|    226|        if (PyObject_SetAttr(result, state->type_params, value) == -1)
  ------------------
  |  Branch (5380:13): [True: 0, False: 226]
  ------------------
 5381|      0|            goto failed;
 5382|    226|        Py_DECREF(value);
  ------------------
  |  |  430|    226|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    226|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    226|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5383|    226|        value = ast2obj_expr(state, o->v.TypeAlias.value);
 5384|    226|        if (!value) goto failed;
  ------------------
  |  Branch (5384:13): [True: 0, False: 226]
  ------------------
 5385|    226|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (5385:13): [True: 0, False: 226]
  ------------------
 5386|      0|            goto failed;
 5387|    226|        Py_DECREF(value);
  ------------------
  |  |  430|    226|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    226|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    226|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5388|    226|        break;
 5389|    624|    case AugAssign_kind:
  ------------------
  |  Branch (5389:5): [True: 624, False: 30.1k]
  ------------------
 5390|    624|        tp = (PyTypeObject *)state->AugAssign_type;
 5391|    624|        result = PyType_GenericNew(tp, NULL, NULL);
 5392|    624|        if (!result) goto failed;
  ------------------
  |  Branch (5392:13): [True: 0, False: 624]
  ------------------
 5393|    624|        value = ast2obj_expr(state, o->v.AugAssign.target);
 5394|    624|        if (!value) goto failed;
  ------------------
  |  Branch (5394:13): [True: 0, False: 624]
  ------------------
 5395|    624|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (5395:13): [True: 0, False: 624]
  ------------------
 5396|      0|            goto failed;
 5397|    624|        Py_DECREF(value);
  ------------------
  |  |  430|    624|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    624|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    624|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5398|    624|        value = ast2obj_operator(state, o->v.AugAssign.op);
 5399|    624|        if (!value) goto failed;
  ------------------
  |  Branch (5399:13): [True: 0, False: 624]
  ------------------
 5400|    624|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (5400:13): [True: 0, False: 624]
  ------------------
 5401|      0|            goto failed;
 5402|    624|        Py_DECREF(value);
  ------------------
  |  |  430|    624|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    624|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    624|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5403|    624|        value = ast2obj_expr(state, o->v.AugAssign.value);
 5404|    624|        if (!value) goto failed;
  ------------------
  |  Branch (5404:13): [True: 0, False: 624]
  ------------------
 5405|    624|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (5405:13): [True: 0, False: 624]
  ------------------
 5406|      0|            goto failed;
 5407|    624|        Py_DECREF(value);
  ------------------
  |  |  430|    624|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    624|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    624|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5408|    624|        break;
 5409|  1.12k|    case AnnAssign_kind:
  ------------------
  |  Branch (5409:5): [True: 1.12k, False: 29.5k]
  ------------------
 5410|  1.12k|        tp = (PyTypeObject *)state->AnnAssign_type;
 5411|  1.12k|        result = PyType_GenericNew(tp, NULL, NULL);
 5412|  1.12k|        if (!result) goto failed;
  ------------------
  |  Branch (5412:13): [True: 0, False: 1.12k]
  ------------------
 5413|  1.12k|        value = ast2obj_expr(state, o->v.AnnAssign.target);
 5414|  1.12k|        if (!value) goto failed;
  ------------------
  |  Branch (5414:13): [True: 0, False: 1.12k]
  ------------------
 5415|  1.12k|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (5415:13): [True: 0, False: 1.12k]
  ------------------
 5416|      0|            goto failed;
 5417|  1.12k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.12k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5418|  1.12k|        value = ast2obj_expr(state, o->v.AnnAssign.annotation);
 5419|  1.12k|        if (!value) goto failed;
  ------------------
  |  Branch (5419:13): [True: 0, False: 1.12k]
  ------------------
 5420|  1.12k|        if (PyObject_SetAttr(result, state->annotation, value) == -1)
  ------------------
  |  Branch (5420:13): [True: 0, False: 1.12k]
  ------------------
 5421|      0|            goto failed;
 5422|  1.12k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.12k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5423|  1.12k|        value = ast2obj_expr(state, o->v.AnnAssign.value);
 5424|  1.12k|        if (!value) goto failed;
  ------------------
  |  Branch (5424:13): [True: 0, False: 1.12k]
  ------------------
 5425|  1.12k|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (5425:13): [True: 0, False: 1.12k]
  ------------------
 5426|      0|            goto failed;
 5427|  1.12k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.12k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5428|  1.12k|        value = ast2obj_int(state, o->v.AnnAssign.simple);
 5429|  1.12k|        if (!value) goto failed;
  ------------------
  |  Branch (5429:13): [True: 0, False: 1.12k]
  ------------------
 5430|  1.12k|        if (PyObject_SetAttr(result, state->simple, value) == -1)
  ------------------
  |  Branch (5430:13): [True: 0, False: 1.12k]
  ------------------
 5431|      0|            goto failed;
 5432|  1.12k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.12k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5433|  1.12k|        break;
 5434|    198|    case For_kind:
  ------------------
  |  Branch (5434:5): [True: 198, False: 30.5k]
  ------------------
 5435|    198|        tp = (PyTypeObject *)state->For_type;
 5436|    198|        result = PyType_GenericNew(tp, NULL, NULL);
 5437|    198|        if (!result) goto failed;
  ------------------
  |  Branch (5437:13): [True: 0, False: 198]
  ------------------
 5438|    198|        value = ast2obj_expr(state, o->v.For.target);
 5439|    198|        if (!value) goto failed;
  ------------------
  |  Branch (5439:13): [True: 0, False: 198]
  ------------------
 5440|    198|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (5440:13): [True: 0, False: 198]
  ------------------
 5441|      0|            goto failed;
 5442|    198|        Py_DECREF(value);
  ------------------
  |  |  430|    198|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5443|    198|        value = ast2obj_expr(state, o->v.For.iter);
 5444|    198|        if (!value) goto failed;
  ------------------
  |  Branch (5444:13): [True: 0, False: 198]
  ------------------
 5445|    198|        if (PyObject_SetAttr(result, state->iter, value) == -1)
  ------------------
  |  Branch (5445:13): [True: 0, False: 198]
  ------------------
 5446|      0|            goto failed;
 5447|    198|        Py_DECREF(value);
  ------------------
  |  |  430|    198|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5448|    198|        value = ast2obj_list(state, (asdl_seq*)o->v.For.body, ast2obj_stmt);
 5449|    198|        if (!value) goto failed;
  ------------------
  |  Branch (5449:13): [True: 0, False: 198]
  ------------------
 5450|    198|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5450:13): [True: 0, False: 198]
  ------------------
 5451|      0|            goto failed;
 5452|    198|        Py_DECREF(value);
  ------------------
  |  |  430|    198|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5453|    198|        value = ast2obj_list(state, (asdl_seq*)o->v.For.orelse, ast2obj_stmt);
 5454|    198|        if (!value) goto failed;
  ------------------
  |  Branch (5454:13): [True: 0, False: 198]
  ------------------
 5455|    198|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (5455:13): [True: 0, False: 198]
  ------------------
 5456|      0|            goto failed;
 5457|    198|        Py_DECREF(value);
  ------------------
  |  |  430|    198|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5458|    198|        value = ast2obj_string(state, o->v.For.type_comment);
  ------------------
  |  | 2260|    198|#define ast2obj_string ast2obj_object
  ------------------
 5459|    198|        if (!value) goto failed;
  ------------------
  |  Branch (5459:13): [True: 0, False: 198]
  ------------------
 5460|    198|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (5460:13): [True: 0, False: 198]
  ------------------
 5461|      0|            goto failed;
 5462|    198|        Py_DECREF(value);
  ------------------
  |  |  430|    198|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5463|    198|        break;
 5464|    119|    case AsyncFor_kind:
  ------------------
  |  Branch (5464:5): [True: 119, False: 30.6k]
  ------------------
 5465|    119|        tp = (PyTypeObject *)state->AsyncFor_type;
 5466|    119|        result = PyType_GenericNew(tp, NULL, NULL);
 5467|    119|        if (!result) goto failed;
  ------------------
  |  Branch (5467:13): [True: 0, False: 119]
  ------------------
 5468|    119|        value = ast2obj_expr(state, o->v.AsyncFor.target);
 5469|    119|        if (!value) goto failed;
  ------------------
  |  Branch (5469:13): [True: 0, False: 119]
  ------------------
 5470|    119|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (5470:13): [True: 0, False: 119]
  ------------------
 5471|      0|            goto failed;
 5472|    119|        Py_DECREF(value);
  ------------------
  |  |  430|    119|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5473|    119|        value = ast2obj_expr(state, o->v.AsyncFor.iter);
 5474|    119|        if (!value) goto failed;
  ------------------
  |  Branch (5474:13): [True: 0, False: 119]
  ------------------
 5475|    119|        if (PyObject_SetAttr(result, state->iter, value) == -1)
  ------------------
  |  Branch (5475:13): [True: 0, False: 119]
  ------------------
 5476|      0|            goto failed;
 5477|    119|        Py_DECREF(value);
  ------------------
  |  |  430|    119|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5478|    119|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncFor.body,
 5479|    119|                             ast2obj_stmt);
 5480|    119|        if (!value) goto failed;
  ------------------
  |  Branch (5480:13): [True: 0, False: 119]
  ------------------
 5481|    119|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5481:13): [True: 0, False: 119]
  ------------------
 5482|      0|            goto failed;
 5483|    119|        Py_DECREF(value);
  ------------------
  |  |  430|    119|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5484|    119|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncFor.orelse,
 5485|    119|                             ast2obj_stmt);
 5486|    119|        if (!value) goto failed;
  ------------------
  |  Branch (5486:13): [True: 0, False: 119]
  ------------------
 5487|    119|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (5487:13): [True: 0, False: 119]
  ------------------
 5488|      0|            goto failed;
 5489|    119|        Py_DECREF(value);
  ------------------
  |  |  430|    119|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5490|    119|        value = ast2obj_string(state, o->v.AsyncFor.type_comment);
  ------------------
  |  | 2260|    119|#define ast2obj_string ast2obj_object
  ------------------
 5491|    119|        if (!value) goto failed;
  ------------------
  |  Branch (5491:13): [True: 0, False: 119]
  ------------------
 5492|    119|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (5492:13): [True: 0, False: 119]
  ------------------
 5493|      0|            goto failed;
 5494|    119|        Py_DECREF(value);
  ------------------
  |  |  430|    119|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5495|    119|        break;
 5496|    190|    case While_kind:
  ------------------
  |  Branch (5496:5): [True: 190, False: 30.5k]
  ------------------
 5497|    190|        tp = (PyTypeObject *)state->While_type;
 5498|    190|        result = PyType_GenericNew(tp, NULL, NULL);
 5499|    190|        if (!result) goto failed;
  ------------------
  |  Branch (5499:13): [True: 0, False: 190]
  ------------------
 5500|    190|        value = ast2obj_expr(state, o->v.While.test);
 5501|    190|        if (!value) goto failed;
  ------------------
  |  Branch (5501:13): [True: 0, False: 190]
  ------------------
 5502|    190|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (5502:13): [True: 0, False: 190]
  ------------------
 5503|      0|            goto failed;
 5504|    190|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5505|    190|        value = ast2obj_list(state, (asdl_seq*)o->v.While.body, ast2obj_stmt);
 5506|    190|        if (!value) goto failed;
  ------------------
  |  Branch (5506:13): [True: 0, False: 190]
  ------------------
 5507|    190|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5507:13): [True: 0, False: 190]
  ------------------
 5508|      0|            goto failed;
 5509|    190|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5510|    190|        value = ast2obj_list(state, (asdl_seq*)o->v.While.orelse, ast2obj_stmt);
 5511|    190|        if (!value) goto failed;
  ------------------
  |  Branch (5511:13): [True: 0, False: 190]
  ------------------
 5512|    190|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (5512:13): [True: 0, False: 190]
  ------------------
 5513|      0|            goto failed;
 5514|    190|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5515|    190|        break;
 5516|    197|    case If_kind:
  ------------------
  |  Branch (5516:5): [True: 197, False: 30.5k]
  ------------------
 5517|    197|        tp = (PyTypeObject *)state->If_type;
 5518|    197|        result = PyType_GenericNew(tp, NULL, NULL);
 5519|    197|        if (!result) goto failed;
  ------------------
  |  Branch (5519:13): [True: 0, False: 197]
  ------------------
 5520|    197|        value = ast2obj_expr(state, o->v.If.test);
 5521|    197|        if (!value) goto failed;
  ------------------
  |  Branch (5521:13): [True: 0, False: 197]
  ------------------
 5522|    197|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (5522:13): [True: 0, False: 197]
  ------------------
 5523|      0|            goto failed;
 5524|    197|        Py_DECREF(value);
  ------------------
  |  |  430|    197|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5525|    197|        value = ast2obj_list(state, (asdl_seq*)o->v.If.body, ast2obj_stmt);
 5526|    197|        if (!value) goto failed;
  ------------------
  |  Branch (5526:13): [True: 0, False: 197]
  ------------------
 5527|    197|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5527:13): [True: 0, False: 197]
  ------------------
 5528|      0|            goto failed;
 5529|    197|        Py_DECREF(value);
  ------------------
  |  |  430|    197|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5530|    197|        value = ast2obj_list(state, (asdl_seq*)o->v.If.orelse, ast2obj_stmt);
 5531|    197|        if (!value) goto failed;
  ------------------
  |  Branch (5531:13): [True: 0, False: 197]
  ------------------
 5532|    197|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (5532:13): [True: 0, False: 197]
  ------------------
 5533|      0|            goto failed;
 5534|    197|        Py_DECREF(value);
  ------------------
  |  |  430|    197|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5535|    197|        break;
 5536|    200|    case With_kind:
  ------------------
  |  Branch (5536:5): [True: 200, False: 30.5k]
  ------------------
 5537|    200|        tp = (PyTypeObject *)state->With_type;
 5538|    200|        result = PyType_GenericNew(tp, NULL, NULL);
 5539|    200|        if (!result) goto failed;
  ------------------
  |  Branch (5539:13): [True: 0, False: 200]
  ------------------
 5540|    200|        value = ast2obj_list(state, (asdl_seq*)o->v.With.items,
 5541|    200|                             ast2obj_withitem);
 5542|    200|        if (!value) goto failed;
  ------------------
  |  Branch (5542:13): [True: 0, False: 200]
  ------------------
 5543|    200|        if (PyObject_SetAttr(result, state->items, value) == -1)
  ------------------
  |  Branch (5543:13): [True: 0, False: 200]
  ------------------
 5544|      0|            goto failed;
 5545|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5546|    200|        value = ast2obj_list(state, (asdl_seq*)o->v.With.body, ast2obj_stmt);
 5547|    200|        if (!value) goto failed;
  ------------------
  |  Branch (5547:13): [True: 0, False: 200]
  ------------------
 5548|    200|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5548:13): [True: 0, False: 200]
  ------------------
 5549|      0|            goto failed;
 5550|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5551|    200|        value = ast2obj_string(state, o->v.With.type_comment);
  ------------------
  |  | 2260|    200|#define ast2obj_string ast2obj_object
  ------------------
 5552|    200|        if (!value) goto failed;
  ------------------
  |  Branch (5552:13): [True: 0, False: 200]
  ------------------
 5553|    200|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (5553:13): [True: 0, False: 200]
  ------------------
 5554|      0|            goto failed;
 5555|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5556|    200|        break;
 5557|    184|    case AsyncWith_kind:
  ------------------
  |  Branch (5557:5): [True: 184, False: 30.5k]
  ------------------
 5558|    184|        tp = (PyTypeObject *)state->AsyncWith_type;
 5559|    184|        result = PyType_GenericNew(tp, NULL, NULL);
 5560|    184|        if (!result) goto failed;
  ------------------
  |  Branch (5560:13): [True: 0, False: 184]
  ------------------
 5561|    184|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncWith.items,
 5562|    184|                             ast2obj_withitem);
 5563|    184|        if (!value) goto failed;
  ------------------
  |  Branch (5563:13): [True: 0, False: 184]
  ------------------
 5564|    184|        if (PyObject_SetAttr(result, state->items, value) == -1)
  ------------------
  |  Branch (5564:13): [True: 0, False: 184]
  ------------------
 5565|      0|            goto failed;
 5566|    184|        Py_DECREF(value);
  ------------------
  |  |  430|    184|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5567|    184|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncWith.body,
 5568|    184|                             ast2obj_stmt);
 5569|    184|        if (!value) goto failed;
  ------------------
  |  Branch (5569:13): [True: 0, False: 184]
  ------------------
 5570|    184|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5570:13): [True: 0, False: 184]
  ------------------
 5571|      0|            goto failed;
 5572|    184|        Py_DECREF(value);
  ------------------
  |  |  430|    184|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5573|    184|        value = ast2obj_string(state, o->v.AsyncWith.type_comment);
  ------------------
  |  | 2260|    184|#define ast2obj_string ast2obj_object
  ------------------
 5574|    184|        if (!value) goto failed;
  ------------------
  |  Branch (5574:13): [True: 0, False: 184]
  ------------------
 5575|    184|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (5575:13): [True: 0, False: 184]
  ------------------
 5576|      0|            goto failed;
 5577|    184|        Py_DECREF(value);
  ------------------
  |  |  430|    184|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5578|    184|        break;
 5579|    208|    case Match_kind:
  ------------------
  |  Branch (5579:5): [True: 208, False: 30.5k]
  ------------------
 5580|    208|        tp = (PyTypeObject *)state->Match_type;
 5581|    208|        result = PyType_GenericNew(tp, NULL, NULL);
 5582|    208|        if (!result) goto failed;
  ------------------
  |  Branch (5582:13): [True: 0, False: 208]
  ------------------
 5583|    208|        value = ast2obj_expr(state, o->v.Match.subject);
 5584|    208|        if (!value) goto failed;
  ------------------
  |  Branch (5584:13): [True: 0, False: 208]
  ------------------
 5585|    208|        if (PyObject_SetAttr(result, state->subject, value) == -1)
  ------------------
  |  Branch (5585:13): [True: 0, False: 208]
  ------------------
 5586|      0|            goto failed;
 5587|    208|        Py_DECREF(value);
  ------------------
  |  |  430|    208|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    208|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    208|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5588|    208|        value = ast2obj_list(state, (asdl_seq*)o->v.Match.cases,
 5589|    208|                             ast2obj_match_case);
 5590|    208|        if (!value) goto failed;
  ------------------
  |  Branch (5590:13): [True: 0, False: 208]
  ------------------
 5591|    208|        if (PyObject_SetAttr(result, state->cases, value) == -1)
  ------------------
  |  Branch (5591:13): [True: 0, False: 208]
  ------------------
 5592|      0|            goto failed;
 5593|    208|        Py_DECREF(value);
  ------------------
  |  |  430|    208|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    208|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    208|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5594|    208|        break;
 5595|    247|    case Raise_kind:
  ------------------
  |  Branch (5595:5): [True: 247, False: 30.4k]
  ------------------
 5596|    247|        tp = (PyTypeObject *)state->Raise_type;
 5597|    247|        result = PyType_GenericNew(tp, NULL, NULL);
 5598|    247|        if (!result) goto failed;
  ------------------
  |  Branch (5598:13): [True: 0, False: 247]
  ------------------
 5599|    247|        value = ast2obj_expr(state, o->v.Raise.exc);
 5600|    247|        if (!value) goto failed;
  ------------------
  |  Branch (5600:13): [True: 0, False: 247]
  ------------------
 5601|    247|        if (PyObject_SetAttr(result, state->exc, value) == -1)
  ------------------
  |  Branch (5601:13): [True: 0, False: 247]
  ------------------
 5602|      0|            goto failed;
 5603|    247|        Py_DECREF(value);
  ------------------
  |  |  430|    247|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    247|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    247|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5604|    247|        value = ast2obj_expr(state, o->v.Raise.cause);
 5605|    247|        if (!value) goto failed;
  ------------------
  |  Branch (5605:13): [True: 0, False: 247]
  ------------------
 5606|    247|        if (PyObject_SetAttr(result, state->cause, value) == -1)
  ------------------
  |  Branch (5606:13): [True: 0, False: 247]
  ------------------
 5607|      0|            goto failed;
 5608|    247|        Py_DECREF(value);
  ------------------
  |  |  430|    247|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    247|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    247|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5609|    247|        break;
 5610|    517|    case Try_kind:
  ------------------
  |  Branch (5610:5): [True: 517, False: 30.2k]
  ------------------
 5611|    517|        tp = (PyTypeObject *)state->Try_type;
 5612|    517|        result = PyType_GenericNew(tp, NULL, NULL);
 5613|    517|        if (!result) goto failed;
  ------------------
  |  Branch (5613:13): [True: 0, False: 517]
  ------------------
 5614|    517|        value = ast2obj_list(state, (asdl_seq*)o->v.Try.body, ast2obj_stmt);
 5615|    517|        if (!value) goto failed;
  ------------------
  |  Branch (5615:13): [True: 0, False: 517]
  ------------------
 5616|    517|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5616:13): [True: 0, False: 517]
  ------------------
 5617|      0|            goto failed;
 5618|    517|        Py_DECREF(value);
  ------------------
  |  |  430|    517|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    517|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    517|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5619|    517|        value = ast2obj_list(state, (asdl_seq*)o->v.Try.handlers,
 5620|    517|                             ast2obj_excepthandler);
 5621|    517|        if (!value) goto failed;
  ------------------
  |  Branch (5621:13): [True: 0, False: 517]
  ------------------
 5622|    517|        if (PyObject_SetAttr(result, state->handlers, value) == -1)
  ------------------
  |  Branch (5622:13): [True: 0, False: 517]
  ------------------
 5623|      0|            goto failed;
 5624|    517|        Py_DECREF(value);
  ------------------
  |  |  430|    517|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    517|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    517|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5625|    517|        value = ast2obj_list(state, (asdl_seq*)o->v.Try.orelse, ast2obj_stmt);
 5626|    517|        if (!value) goto failed;
  ------------------
  |  Branch (5626:13): [True: 0, False: 517]
  ------------------
 5627|    517|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (5627:13): [True: 0, False: 517]
  ------------------
 5628|      0|            goto failed;
 5629|    517|        Py_DECREF(value);
  ------------------
  |  |  430|    517|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    517|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    517|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5630|    517|        value = ast2obj_list(state, (asdl_seq*)o->v.Try.finalbody,
 5631|    517|                             ast2obj_stmt);
 5632|    517|        if (!value) goto failed;
  ------------------
  |  Branch (5632:13): [True: 0, False: 517]
  ------------------
 5633|    517|        if (PyObject_SetAttr(result, state->finalbody, value) == -1)
  ------------------
  |  Branch (5633:13): [True: 0, False: 517]
  ------------------
 5634|      0|            goto failed;
 5635|    517|        Py_DECREF(value);
  ------------------
  |  |  430|    517|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    517|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    517|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5636|    517|        break;
 5637|    212|    case TryStar_kind:
  ------------------
  |  Branch (5637:5): [True: 212, False: 30.5k]
  ------------------
 5638|    212|        tp = (PyTypeObject *)state->TryStar_type;
 5639|    212|        result = PyType_GenericNew(tp, NULL, NULL);
 5640|    212|        if (!result) goto failed;
  ------------------
  |  Branch (5640:13): [True: 0, False: 212]
  ------------------
 5641|    212|        value = ast2obj_list(state, (asdl_seq*)o->v.TryStar.body, ast2obj_stmt);
 5642|    212|        if (!value) goto failed;
  ------------------
  |  Branch (5642:13): [True: 0, False: 212]
  ------------------
 5643|    212|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5643:13): [True: 0, False: 212]
  ------------------
 5644|      0|            goto failed;
 5645|    212|        Py_DECREF(value);
  ------------------
  |  |  430|    212|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    212|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    212|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5646|    212|        value = ast2obj_list(state, (asdl_seq*)o->v.TryStar.handlers,
 5647|    212|                             ast2obj_excepthandler);
 5648|    212|        if (!value) goto failed;
  ------------------
  |  Branch (5648:13): [True: 0, False: 212]
  ------------------
 5649|    212|        if (PyObject_SetAttr(result, state->handlers, value) == -1)
  ------------------
  |  Branch (5649:13): [True: 0, False: 212]
  ------------------
 5650|      0|            goto failed;
 5651|    212|        Py_DECREF(value);
  ------------------
  |  |  430|    212|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    212|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    212|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5652|    212|        value = ast2obj_list(state, (asdl_seq*)o->v.TryStar.orelse,
 5653|    212|                             ast2obj_stmt);
 5654|    212|        if (!value) goto failed;
  ------------------
  |  Branch (5654:13): [True: 0, False: 212]
  ------------------
 5655|    212|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (5655:13): [True: 0, False: 212]
  ------------------
 5656|      0|            goto failed;
 5657|    212|        Py_DECREF(value);
  ------------------
  |  |  430|    212|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    212|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    212|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5658|    212|        value = ast2obj_list(state, (asdl_seq*)o->v.TryStar.finalbody,
 5659|    212|                             ast2obj_stmt);
 5660|    212|        if (!value) goto failed;
  ------------------
  |  Branch (5660:13): [True: 0, False: 212]
  ------------------
 5661|    212|        if (PyObject_SetAttr(result, state->finalbody, value) == -1)
  ------------------
  |  Branch (5661:13): [True: 0, False: 212]
  ------------------
 5662|      0|            goto failed;
 5663|    212|        Py_DECREF(value);
  ------------------
  |  |  430|    212|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    212|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    212|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5664|    212|        break;
 5665|    692|    case Assert_kind:
  ------------------
  |  Branch (5665:5): [True: 692, False: 30.0k]
  ------------------
 5666|    692|        tp = (PyTypeObject *)state->Assert_type;
 5667|    692|        result = PyType_GenericNew(tp, NULL, NULL);
 5668|    692|        if (!result) goto failed;
  ------------------
  |  Branch (5668:13): [True: 0, False: 692]
  ------------------
 5669|    692|        value = ast2obj_expr(state, o->v.Assert.test);
 5670|    692|        if (!value) goto failed;
  ------------------
  |  Branch (5670:13): [True: 0, False: 692]
  ------------------
 5671|    692|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (5671:13): [True: 0, False: 692]
  ------------------
 5672|      0|            goto failed;
 5673|    692|        Py_DECREF(value);
  ------------------
  |  |  430|    692|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    692|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    692|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5674|    692|        value = ast2obj_expr(state, o->v.Assert.msg);
 5675|    692|        if (!value) goto failed;
  ------------------
  |  Branch (5675:13): [True: 0, False: 692]
  ------------------
 5676|    692|        if (PyObject_SetAttr(result, state->msg, value) == -1)
  ------------------
  |  Branch (5676:13): [True: 0, False: 692]
  ------------------
 5677|      0|            goto failed;
 5678|    692|        Py_DECREF(value);
  ------------------
  |  |  430|    692|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    692|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    692|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5679|    692|        break;
 5680|    304|    case Import_kind:
  ------------------
  |  Branch (5680:5): [True: 304, False: 30.4k]
  ------------------
 5681|    304|        tp = (PyTypeObject *)state->Import_type;
 5682|    304|        result = PyType_GenericNew(tp, NULL, NULL);
 5683|    304|        if (!result) goto failed;
  ------------------
  |  Branch (5683:13): [True: 0, False: 304]
  ------------------
 5684|    304|        value = ast2obj_list(state, (asdl_seq*)o->v.Import.names,
 5685|    304|                             ast2obj_alias);
 5686|    304|        if (!value) goto failed;
  ------------------
  |  Branch (5686:13): [True: 0, False: 304]
  ------------------
 5687|    304|        if (PyObject_SetAttr(result, state->names, value) == -1)
  ------------------
  |  Branch (5687:13): [True: 0, False: 304]
  ------------------
 5688|      0|            goto failed;
 5689|    304|        Py_DECREF(value);
  ------------------
  |  |  430|    304|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    304|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    304|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5690|    304|        value = ast2obj_int(state, o->v.Import.is_lazy);
 5691|    304|        if (!value) goto failed;
  ------------------
  |  Branch (5691:13): [True: 0, False: 304]
  ------------------
 5692|    304|        if (PyObject_SetAttr(result, state->is_lazy, value) == -1)
  ------------------
  |  Branch (5692:13): [True: 0, False: 304]
  ------------------
 5693|      0|            goto failed;
 5694|    304|        Py_DECREF(value);
  ------------------
  |  |  430|    304|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    304|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    304|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5695|    304|        break;
 5696|    320|    case ImportFrom_kind:
  ------------------
  |  Branch (5696:5): [True: 320, False: 30.4k]
  ------------------
 5697|    320|        tp = (PyTypeObject *)state->ImportFrom_type;
 5698|    320|        result = PyType_GenericNew(tp, NULL, NULL);
 5699|    320|        if (!result) goto failed;
  ------------------
  |  Branch (5699:13): [True: 0, False: 320]
  ------------------
 5700|    320|        value = ast2obj_identifier(state, o->v.ImportFrom.module);
  ------------------
  |  | 2259|    320|#define ast2obj_identifier ast2obj_object
  ------------------
 5701|    320|        if (!value) goto failed;
  ------------------
  |  Branch (5701:13): [True: 0, False: 320]
  ------------------
 5702|    320|        if (PyObject_SetAttr(result, state->module, value) == -1)
  ------------------
  |  Branch (5702:13): [True: 0, False: 320]
  ------------------
 5703|      0|            goto failed;
 5704|    320|        Py_DECREF(value);
  ------------------
  |  |  430|    320|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    320|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    320|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5705|    320|        value = ast2obj_list(state, (asdl_seq*)o->v.ImportFrom.names,
 5706|    320|                             ast2obj_alias);
 5707|    320|        if (!value) goto failed;
  ------------------
  |  Branch (5707:13): [True: 0, False: 320]
  ------------------
 5708|    320|        if (PyObject_SetAttr(result, state->names, value) == -1)
  ------------------
  |  Branch (5708:13): [True: 0, False: 320]
  ------------------
 5709|      0|            goto failed;
 5710|    320|        Py_DECREF(value);
  ------------------
  |  |  430|    320|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    320|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    320|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5711|    320|        value = ast2obj_int(state, o->v.ImportFrom.level);
 5712|    320|        if (!value) goto failed;
  ------------------
  |  Branch (5712:13): [True: 0, False: 320]
  ------------------
 5713|    320|        if (PyObject_SetAttr(result, state->level, value) == -1)
  ------------------
  |  Branch (5713:13): [True: 0, False: 320]
  ------------------
 5714|      0|            goto failed;
 5715|    320|        Py_DECREF(value);
  ------------------
  |  |  430|    320|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    320|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    320|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5716|    320|        value = ast2obj_int(state, o->v.ImportFrom.is_lazy);
 5717|    320|        if (!value) goto failed;
  ------------------
  |  Branch (5717:13): [True: 0, False: 320]
  ------------------
 5718|    320|        if (PyObject_SetAttr(result, state->is_lazy, value) == -1)
  ------------------
  |  Branch (5718:13): [True: 0, False: 320]
  ------------------
 5719|      0|            goto failed;
 5720|    320|        Py_DECREF(value);
  ------------------
  |  |  430|    320|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    320|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    320|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5721|    320|        break;
 5722|     30|    case Global_kind:
  ------------------
  |  Branch (5722:5): [True: 30, False: 30.6k]
  ------------------
 5723|     30|        tp = (PyTypeObject *)state->Global_type;
 5724|     30|        result = PyType_GenericNew(tp, NULL, NULL);
 5725|     30|        if (!result) goto failed;
  ------------------
  |  Branch (5725:13): [True: 0, False: 30]
  ------------------
 5726|     30|        value = ast2obj_list(state, (asdl_seq*)o->v.Global.names,
 5727|     30|                             ast2obj_identifier);
  ------------------
  |  | 2259|     30|#define ast2obj_identifier ast2obj_object
  ------------------
 5728|     30|        if (!value) goto failed;
  ------------------
  |  Branch (5728:13): [True: 0, False: 30]
  ------------------
 5729|     30|        if (PyObject_SetAttr(result, state->names, value) == -1)
  ------------------
  |  Branch (5729:13): [True: 0, False: 30]
  ------------------
 5730|      0|            goto failed;
 5731|     30|        Py_DECREF(value);
  ------------------
  |  |  430|     30|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5732|     30|        break;
 5733|     73|    case Nonlocal_kind:
  ------------------
  |  Branch (5733:5): [True: 73, False: 30.6k]
  ------------------
 5734|     73|        tp = (PyTypeObject *)state->Nonlocal_type;
 5735|     73|        result = PyType_GenericNew(tp, NULL, NULL);
 5736|     73|        if (!result) goto failed;
  ------------------
  |  Branch (5736:13): [True: 0, False: 73]
  ------------------
 5737|     73|        value = ast2obj_list(state, (asdl_seq*)o->v.Nonlocal.names,
 5738|     73|                             ast2obj_identifier);
  ------------------
  |  | 2259|     73|#define ast2obj_identifier ast2obj_object
  ------------------
 5739|     73|        if (!value) goto failed;
  ------------------
  |  Branch (5739:13): [True: 0, False: 73]
  ------------------
 5740|     73|        if (PyObject_SetAttr(result, state->names, value) == -1)
  ------------------
  |  Branch (5740:13): [True: 0, False: 73]
  ------------------
 5741|      0|            goto failed;
 5742|     73|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5743|     73|        break;
 5744|  21.8k|    case Expr_kind:
  ------------------
  |  Branch (5744:5): [True: 21.8k, False: 8.87k]
  ------------------
 5745|  21.8k|        tp = (PyTypeObject *)state->Expr_type;
 5746|  21.8k|        result = PyType_GenericNew(tp, NULL, NULL);
 5747|  21.8k|        if (!result) goto failed;
  ------------------
  |  Branch (5747:13): [True: 0, False: 21.8k]
  ------------------
 5748|  21.8k|        value = ast2obj_expr(state, o->v.Expr.value);
 5749|  21.8k|        if (!value) goto failed;
  ------------------
  |  Branch (5749:13): [True: 0, False: 21.8k]
  ------------------
 5750|  21.8k|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (5750:13): [True: 0, False: 21.8k]
  ------------------
 5751|      0|            goto failed;
 5752|  21.8k|        Py_DECREF(value);
  ------------------
  |  |  430|  21.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5753|  21.8k|        break;
 5754|    234|    case Pass_kind:
  ------------------
  |  Branch (5754:5): [True: 234, False: 30.4k]
  ------------------
 5755|    234|        tp = (PyTypeObject *)state->Pass_type;
 5756|    234|        result = PyType_GenericNew(tp, NULL, NULL);
 5757|    234|        if (!result) goto failed;
  ------------------
  |  Branch (5757:13): [True: 0, False: 234]
  ------------------
 5758|    234|        break;
 5759|    234|    case Break_kind:
  ------------------
  |  Branch (5759:5): [True: 69, False: 30.6k]
  ------------------
 5760|     69|        tp = (PyTypeObject *)state->Break_type;
 5761|     69|        result = PyType_GenericNew(tp, NULL, NULL);
 5762|     69|        if (!result) goto failed;
  ------------------
  |  Branch (5762:13): [True: 0, False: 69]
  ------------------
 5763|     69|        break;
 5764|    108|    case Continue_kind:
  ------------------
  |  Branch (5764:5): [True: 108, False: 30.6k]
  ------------------
 5765|    108|        tp = (PyTypeObject *)state->Continue_type;
 5766|    108|        result = PyType_GenericNew(tp, NULL, NULL);
 5767|    108|        if (!result) goto failed;
  ------------------
  |  Branch (5767:13): [True: 0, False: 108]
  ------------------
 5768|    108|        break;
 5769|  30.7k|    }
 5770|  30.7k|    value = ast2obj_int(state, o->lineno);
 5771|  30.7k|    if (!value) goto failed;
  ------------------
  |  Branch (5771:9): [True: 0, False: 30.7k]
  ------------------
 5772|  30.7k|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (5772:9): [True: 0, False: 30.7k]
  ------------------
 5773|      0|        goto failed;
 5774|  30.7k|    Py_DECREF(value);
  ------------------
  |  |  430|  30.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5775|  30.7k|    value = ast2obj_int(state, o->col_offset);
 5776|  30.7k|    if (!value) goto failed;
  ------------------
  |  Branch (5776:9): [True: 0, False: 30.7k]
  ------------------
 5777|  30.7k|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (5777:9): [True: 0, False: 30.7k]
  ------------------
 5778|      0|        goto failed;
 5779|  30.7k|    Py_DECREF(value);
  ------------------
  |  |  430|  30.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5780|  30.7k|    value = ast2obj_int(state, o->end_lineno);
 5781|  30.7k|    if (!value) goto failed;
  ------------------
  |  Branch (5781:9): [True: 0, False: 30.7k]
  ------------------
 5782|  30.7k|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (5782:9): [True: 0, False: 30.7k]
  ------------------
 5783|      0|        goto failed;
 5784|  30.7k|    Py_DECREF(value);
  ------------------
  |  |  430|  30.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5785|  30.7k|    value = ast2obj_int(state, o->end_col_offset);
 5786|  30.7k|    if (!value) goto failed;
  ------------------
  |  Branch (5786:9): [True: 0, False: 30.7k]
  ------------------
 5787|  30.7k|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (5787:9): [True: 0, False: 30.7k]
  ------------------
 5788|      0|        goto failed;
 5789|  30.7k|    Py_DECREF(value);
  ------------------
  |  |  430|  30.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5790|  30.7k|    Py_LeaveRecursiveCall();
 5791|  30.7k|    return result;
 5792|      0|failed:
 5793|      0|    Py_LeaveRecursiveCall();
 5794|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5795|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5796|       |    return NULL;
 5797|  30.7k|}
Python-ast.c:ast2obj_object:
 2251|   200k|{
 2252|   200k|    PyObject *op = (PyObject*)o;
 2253|   200k|    if (!op) {
  ------------------
  |  Branch (2253:9): [True: 73.3k, False: 127k]
  ------------------
 2254|  73.3k|        op = Py_None;
  ------------------
  |  |  616|  73.3k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2255|  73.3k|    }
 2256|   200k|    return Py_NewRef(op);
  ------------------
  |  |  647|   200k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   200k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   200k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2257|   200k|}
Python-ast.c:ast2obj_arguments:
 6521|  1.76k|{
 6522|  1.76k|    arguments_ty o = (arguments_ty)_o;
 6523|  1.76k|    PyObject *result = NULL, *value = NULL;
 6524|  1.76k|    PyTypeObject *tp;
 6525|  1.76k|    if (!o) {
  ------------------
  |  Branch (6525:9): [True: 0, False: 1.76k]
  ------------------
 6526|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6527|      0|    }
 6528|  1.76k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (6528:9): [True: 0, False: 1.76k]
  ------------------
 6529|      0|        return NULL;
 6530|      0|    }
 6531|  1.76k|    tp = (PyTypeObject *)state->arguments_type;
 6532|  1.76k|    result = PyType_GenericNew(tp, NULL, NULL);
 6533|  1.76k|    if (!result) return NULL;
  ------------------
  |  Branch (6533:9): [True: 0, False: 1.76k]
  ------------------
 6534|  1.76k|    value = ast2obj_list(state, (asdl_seq*)o->posonlyargs, ast2obj_arg);
 6535|  1.76k|    if (!value) goto failed;
  ------------------
  |  Branch (6535:9): [True: 0, False: 1.76k]
  ------------------
 6536|  1.76k|    if (PyObject_SetAttr(result, state->posonlyargs, value) == -1)
  ------------------
  |  Branch (6536:9): [True: 0, False: 1.76k]
  ------------------
 6537|      0|        goto failed;
 6538|  1.76k|    Py_DECREF(value);
  ------------------
  |  |  430|  1.76k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6539|  1.76k|    value = ast2obj_list(state, (asdl_seq*)o->args, ast2obj_arg);
 6540|  1.76k|    if (!value) goto failed;
  ------------------
  |  Branch (6540:9): [True: 0, False: 1.76k]
  ------------------
 6541|  1.76k|    if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (6541:9): [True: 0, False: 1.76k]
  ------------------
 6542|      0|        goto failed;
 6543|  1.76k|    Py_DECREF(value);
  ------------------
  |  |  430|  1.76k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6544|  1.76k|    value = ast2obj_arg(state, o->vararg);
 6545|  1.76k|    if (!value) goto failed;
  ------------------
  |  Branch (6545:9): [True: 0, False: 1.76k]
  ------------------
 6546|  1.76k|    if (PyObject_SetAttr(result, state->vararg, value) == -1)
  ------------------
  |  Branch (6546:9): [True: 0, False: 1.76k]
  ------------------
 6547|      0|        goto failed;
 6548|  1.76k|    Py_DECREF(value);
  ------------------
  |  |  430|  1.76k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6549|  1.76k|    value = ast2obj_list(state, (asdl_seq*)o->kwonlyargs, ast2obj_arg);
 6550|  1.76k|    if (!value) goto failed;
  ------------------
  |  Branch (6550:9): [True: 0, False: 1.76k]
  ------------------
 6551|  1.76k|    if (PyObject_SetAttr(result, state->kwonlyargs, value) == -1)
  ------------------
  |  Branch (6551:9): [True: 0, False: 1.76k]
  ------------------
 6552|      0|        goto failed;
 6553|  1.76k|    Py_DECREF(value);
  ------------------
  |  |  430|  1.76k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6554|  1.76k|    value = ast2obj_list(state, (asdl_seq*)o->kw_defaults, ast2obj_expr);
 6555|  1.76k|    if (!value) goto failed;
  ------------------
  |  Branch (6555:9): [True: 0, False: 1.76k]
  ------------------
 6556|  1.76k|    if (PyObject_SetAttr(result, state->kw_defaults, value) == -1)
  ------------------
  |  Branch (6556:9): [True: 0, False: 1.76k]
  ------------------
 6557|      0|        goto failed;
 6558|  1.76k|    Py_DECREF(value);
  ------------------
  |  |  430|  1.76k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6559|  1.76k|    value = ast2obj_arg(state, o->kwarg);
 6560|  1.76k|    if (!value) goto failed;
  ------------------
  |  Branch (6560:9): [True: 0, False: 1.76k]
  ------------------
 6561|  1.76k|    if (PyObject_SetAttr(result, state->kwarg, value) == -1)
  ------------------
  |  Branch (6561:9): [True: 0, False: 1.76k]
  ------------------
 6562|      0|        goto failed;
 6563|  1.76k|    Py_DECREF(value);
  ------------------
  |  |  430|  1.76k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6564|  1.76k|    value = ast2obj_list(state, (asdl_seq*)o->defaults, ast2obj_expr);
 6565|  1.76k|    if (!value) goto failed;
  ------------------
  |  Branch (6565:9): [True: 0, False: 1.76k]
  ------------------
 6566|  1.76k|    if (PyObject_SetAttr(result, state->defaults, value) == -1)
  ------------------
  |  Branch (6566:9): [True: 0, False: 1.76k]
  ------------------
 6567|      0|        goto failed;
 6568|  1.76k|    Py_DECREF(value);
  ------------------
  |  |  430|  1.76k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6569|  1.76k|    Py_LeaveRecursiveCall();
 6570|  1.76k|    return result;
 6571|      0|failed:
 6572|      0|    Py_LeaveRecursiveCall();
 6573|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6574|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6575|       |    return NULL;
 6576|  1.76k|}
Python-ast.c:ast2obj_arg:
 6580|  6.64k|{
 6581|  6.64k|    arg_ty o = (arg_ty)_o;
 6582|  6.64k|    PyObject *result = NULL, *value = NULL;
 6583|  6.64k|    PyTypeObject *tp;
 6584|  6.64k|    if (!o) {
  ------------------
  |  Branch (6584:9): [True: 2.93k, False: 3.71k]
  ------------------
 6585|  2.93k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  2.93k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  2.93k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6586|  2.93k|    }
 6587|  3.71k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (6587:9): [True: 0, False: 3.71k]
  ------------------
 6588|      0|        return NULL;
 6589|      0|    }
 6590|  3.71k|    tp = (PyTypeObject *)state->arg_type;
 6591|  3.71k|    result = PyType_GenericNew(tp, NULL, NULL);
 6592|  3.71k|    if (!result) return NULL;
  ------------------
  |  Branch (6592:9): [True: 0, False: 3.71k]
  ------------------
 6593|  3.71k|    value = ast2obj_identifier(state, o->arg);
  ------------------
  |  | 2259|  3.71k|#define ast2obj_identifier ast2obj_object
  ------------------
 6594|  3.71k|    if (!value) goto failed;
  ------------------
  |  Branch (6594:9): [True: 0, False: 3.71k]
  ------------------
 6595|  3.71k|    if (PyObject_SetAttr(result, state->arg, value) == -1)
  ------------------
  |  Branch (6595:9): [True: 0, False: 3.71k]
  ------------------
 6596|      0|        goto failed;
 6597|  3.71k|    Py_DECREF(value);
  ------------------
  |  |  430|  3.71k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6598|  3.71k|    value = ast2obj_expr(state, o->annotation);
 6599|  3.71k|    if (!value) goto failed;
  ------------------
  |  Branch (6599:9): [True: 0, False: 3.71k]
  ------------------
 6600|  3.71k|    if (PyObject_SetAttr(result, state->annotation, value) == -1)
  ------------------
  |  Branch (6600:9): [True: 0, False: 3.71k]
  ------------------
 6601|      0|        goto failed;
 6602|  3.71k|    Py_DECREF(value);
  ------------------
  |  |  430|  3.71k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6603|  3.71k|    value = ast2obj_string(state, o->type_comment);
  ------------------
  |  | 2260|  3.71k|#define ast2obj_string ast2obj_object
  ------------------
 6604|  3.71k|    if (!value) goto failed;
  ------------------
  |  Branch (6604:9): [True: 0, False: 3.71k]
  ------------------
 6605|  3.71k|    if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (6605:9): [True: 0, False: 3.71k]
  ------------------
 6606|      0|        goto failed;
 6607|  3.71k|    Py_DECREF(value);
  ------------------
  |  |  430|  3.71k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6608|  3.71k|    value = ast2obj_int(state, o->lineno);
 6609|  3.71k|    if (!value) goto failed;
  ------------------
  |  Branch (6609:9): [True: 0, False: 3.71k]
  ------------------
 6610|  3.71k|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (6610:9): [True: 0, False: 3.71k]
  ------------------
 6611|      0|        goto failed;
 6612|  3.71k|    Py_DECREF(value);
  ------------------
  |  |  430|  3.71k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6613|  3.71k|    value = ast2obj_int(state, o->col_offset);
 6614|  3.71k|    if (!value) goto failed;
  ------------------
  |  Branch (6614:9): [True: 0, False: 3.71k]
  ------------------
 6615|  3.71k|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (6615:9): [True: 0, False: 3.71k]
  ------------------
 6616|      0|        goto failed;
 6617|  3.71k|    Py_DECREF(value);
  ------------------
  |  |  430|  3.71k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6618|  3.71k|    value = ast2obj_int(state, o->end_lineno);
 6619|  3.71k|    if (!value) goto failed;
  ------------------
  |  Branch (6619:9): [True: 0, False: 3.71k]
  ------------------
 6620|  3.71k|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (6620:9): [True: 0, False: 3.71k]
  ------------------
 6621|      0|        goto failed;
 6622|  3.71k|    Py_DECREF(value);
  ------------------
  |  |  430|  3.71k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6623|  3.71k|    value = ast2obj_int(state, o->end_col_offset);
 6624|  3.71k|    if (!value) goto failed;
  ------------------
  |  Branch (6624:9): [True: 0, False: 3.71k]
  ------------------
 6625|  3.71k|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (6625:9): [True: 0, False: 3.71k]
  ------------------
 6626|      0|        goto failed;
 6627|  3.71k|    Py_DECREF(value);
  ------------------
  |  |  430|  3.71k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6628|  3.71k|    Py_LeaveRecursiveCall();
 6629|  3.71k|    return result;
 6630|      0|failed:
 6631|      0|    Py_LeaveRecursiveCall();
 6632|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6633|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6634|       |    return NULL;
 6635|  3.71k|}
Python-ast.c:ast2obj_type_param:
 7018|  3.39k|{
 7019|  3.39k|    type_param_ty o = (type_param_ty)_o;
 7020|  3.39k|    PyObject *result = NULL, *value = NULL;
 7021|  3.39k|    PyTypeObject *tp;
 7022|  3.39k|    if (!o) {
  ------------------
  |  Branch (7022:9): [True: 0, False: 3.39k]
  ------------------
 7023|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 7024|      0|    }
 7025|  3.39k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (7025:9): [True: 0, False: 3.39k]
  ------------------
 7026|      0|        return NULL;
 7027|      0|    }
 7028|  3.39k|    switch (o->kind) {
  ------------------
  |  Branch (7028:13): [True: 3.39k, False: 0]
  ------------------
 7029|  2.47k|    case TypeVar_kind:
  ------------------
  |  Branch (7029:5): [True: 2.47k, False: 918]
  ------------------
 7030|  2.47k|        tp = (PyTypeObject *)state->TypeVar_type;
 7031|  2.47k|        result = PyType_GenericNew(tp, NULL, NULL);
 7032|  2.47k|        if (!result) goto failed;
  ------------------
  |  Branch (7032:13): [True: 0, False: 2.47k]
  ------------------
 7033|  2.47k|        value = ast2obj_identifier(state, o->v.TypeVar.name);
  ------------------
  |  | 2259|  2.47k|#define ast2obj_identifier ast2obj_object
  ------------------
 7034|  2.47k|        if (!value) goto failed;
  ------------------
  |  Branch (7034:13): [True: 0, False: 2.47k]
  ------------------
 7035|  2.47k|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (7035:13): [True: 0, False: 2.47k]
  ------------------
 7036|      0|            goto failed;
 7037|  2.47k|        Py_DECREF(value);
  ------------------
  |  |  430|  2.47k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7038|  2.47k|        value = ast2obj_expr(state, o->v.TypeVar.bound);
 7039|  2.47k|        if (!value) goto failed;
  ------------------
  |  Branch (7039:13): [True: 0, False: 2.47k]
  ------------------
 7040|  2.47k|        if (PyObject_SetAttr(result, state->bound, value) == -1)
  ------------------
  |  Branch (7040:13): [True: 0, False: 2.47k]
  ------------------
 7041|      0|            goto failed;
 7042|  2.47k|        Py_DECREF(value);
  ------------------
  |  |  430|  2.47k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7043|  2.47k|        value = ast2obj_expr(state, o->v.TypeVar.default_value);
 7044|  2.47k|        if (!value) goto failed;
  ------------------
  |  Branch (7044:13): [True: 0, False: 2.47k]
  ------------------
 7045|  2.47k|        if (PyObject_SetAttr(result, state->default_value, value) == -1)
  ------------------
  |  Branch (7045:13): [True: 0, False: 2.47k]
  ------------------
 7046|      0|            goto failed;
 7047|  2.47k|        Py_DECREF(value);
  ------------------
  |  |  430|  2.47k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7048|  2.47k|        break;
 7049|    524|    case ParamSpec_kind:
  ------------------
  |  Branch (7049:5): [True: 524, False: 2.87k]
  ------------------
 7050|    524|        tp = (PyTypeObject *)state->ParamSpec_type;
 7051|    524|        result = PyType_GenericNew(tp, NULL, NULL);
 7052|    524|        if (!result) goto failed;
  ------------------
  |  Branch (7052:13): [True: 0, False: 524]
  ------------------
 7053|    524|        value = ast2obj_identifier(state, o->v.ParamSpec.name);
  ------------------
  |  | 2259|    524|#define ast2obj_identifier ast2obj_object
  ------------------
 7054|    524|        if (!value) goto failed;
  ------------------
  |  Branch (7054:13): [True: 0, False: 524]
  ------------------
 7055|    524|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (7055:13): [True: 0, False: 524]
  ------------------
 7056|      0|            goto failed;
 7057|    524|        Py_DECREF(value);
  ------------------
  |  |  430|    524|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    524|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    524|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7058|    524|        value = ast2obj_expr(state, o->v.ParamSpec.default_value);
 7059|    524|        if (!value) goto failed;
  ------------------
  |  Branch (7059:13): [True: 0, False: 524]
  ------------------
 7060|    524|        if (PyObject_SetAttr(result, state->default_value, value) == -1)
  ------------------
  |  Branch (7060:13): [True: 0, False: 524]
  ------------------
 7061|      0|            goto failed;
 7062|    524|        Py_DECREF(value);
  ------------------
  |  |  430|    524|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    524|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    524|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7063|    524|        break;
 7064|    394|    case TypeVarTuple_kind:
  ------------------
  |  Branch (7064:5): [True: 394, False: 3.00k]
  ------------------
 7065|    394|        tp = (PyTypeObject *)state->TypeVarTuple_type;
 7066|    394|        result = PyType_GenericNew(tp, NULL, NULL);
 7067|    394|        if (!result) goto failed;
  ------------------
  |  Branch (7067:13): [True: 0, False: 394]
  ------------------
 7068|    394|        value = ast2obj_identifier(state, o->v.TypeVarTuple.name);
  ------------------
  |  | 2259|    394|#define ast2obj_identifier ast2obj_object
  ------------------
 7069|    394|        if (!value) goto failed;
  ------------------
  |  Branch (7069:13): [True: 0, False: 394]
  ------------------
 7070|    394|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (7070:13): [True: 0, False: 394]
  ------------------
 7071|      0|            goto failed;
 7072|    394|        Py_DECREF(value);
  ------------------
  |  |  430|    394|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    394|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    394|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7073|    394|        value = ast2obj_expr(state, o->v.TypeVarTuple.default_value);
 7074|    394|        if (!value) goto failed;
  ------------------
  |  Branch (7074:13): [True: 0, False: 394]
  ------------------
 7075|    394|        if (PyObject_SetAttr(result, state->default_value, value) == -1)
  ------------------
  |  Branch (7075:13): [True: 0, False: 394]
  ------------------
 7076|      0|            goto failed;
 7077|    394|        Py_DECREF(value);
  ------------------
  |  |  430|    394|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    394|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    394|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7078|    394|        break;
 7079|  3.39k|    }
 7080|  3.39k|    value = ast2obj_int(state, o->lineno);
 7081|  3.39k|    if (!value) goto failed;
  ------------------
  |  Branch (7081:9): [True: 0, False: 3.39k]
  ------------------
 7082|  3.39k|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (7082:9): [True: 0, False: 3.39k]
  ------------------
 7083|      0|        goto failed;
 7084|  3.39k|    Py_DECREF(value);
  ------------------
  |  |  430|  3.39k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7085|  3.39k|    value = ast2obj_int(state, o->col_offset);
 7086|  3.39k|    if (!value) goto failed;
  ------------------
  |  Branch (7086:9): [True: 0, False: 3.39k]
  ------------------
 7087|  3.39k|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (7087:9): [True: 0, False: 3.39k]
  ------------------
 7088|      0|        goto failed;
 7089|  3.39k|    Py_DECREF(value);
  ------------------
  |  |  430|  3.39k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7090|  3.39k|    value = ast2obj_int(state, o->end_lineno);
 7091|  3.39k|    if (!value) goto failed;
  ------------------
  |  Branch (7091:9): [True: 0, False: 3.39k]
  ------------------
 7092|  3.39k|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (7092:9): [True: 0, False: 3.39k]
  ------------------
 7093|      0|        goto failed;
 7094|  3.39k|    Py_DECREF(value);
  ------------------
  |  |  430|  3.39k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7095|  3.39k|    value = ast2obj_int(state, o->end_col_offset);
 7096|  3.39k|    if (!value) goto failed;
  ------------------
  |  Branch (7096:9): [True: 0, False: 3.39k]
  ------------------
 7097|  3.39k|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (7097:9): [True: 0, False: 3.39k]
  ------------------
 7098|      0|        goto failed;
 7099|  3.39k|    Py_DECREF(value);
  ------------------
  |  |  430|  3.39k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7100|  3.39k|    Py_LeaveRecursiveCall();
 7101|  3.39k|    return result;
 7102|      0|failed:
 7103|      0|    Py_LeaveRecursiveCall();
 7104|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7105|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7106|       |    return NULL;
 7107|  3.39k|}
Python-ast.c:ast2obj_keyword:
 6639|    444|{
 6640|    444|    keyword_ty o = (keyword_ty)_o;
 6641|    444|    PyObject *result = NULL, *value = NULL;
 6642|    444|    PyTypeObject *tp;
 6643|    444|    if (!o) {
  ------------------
  |  Branch (6643:9): [True: 0, False: 444]
  ------------------
 6644|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6645|      0|    }
 6646|    444|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (6646:9): [True: 0, False: 444]
  ------------------
 6647|      0|        return NULL;
 6648|      0|    }
 6649|    444|    tp = (PyTypeObject *)state->keyword_type;
 6650|    444|    result = PyType_GenericNew(tp, NULL, NULL);
 6651|    444|    if (!result) return NULL;
  ------------------
  |  Branch (6651:9): [True: 0, False: 444]
  ------------------
 6652|    444|    value = ast2obj_identifier(state, o->arg);
  ------------------
  |  | 2259|    444|#define ast2obj_identifier ast2obj_object
  ------------------
 6653|    444|    if (!value) goto failed;
  ------------------
  |  Branch (6653:9): [True: 0, False: 444]
  ------------------
 6654|    444|    if (PyObject_SetAttr(result, state->arg, value) == -1)
  ------------------
  |  Branch (6654:9): [True: 0, False: 444]
  ------------------
 6655|      0|        goto failed;
 6656|    444|    Py_DECREF(value);
  ------------------
  |  |  430|    444|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    444|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    444|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6657|    444|    value = ast2obj_expr(state, o->value);
 6658|    444|    if (!value) goto failed;
  ------------------
  |  Branch (6658:9): [True: 0, False: 444]
  ------------------
 6659|    444|    if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6659:9): [True: 0, False: 444]
  ------------------
 6660|      0|        goto failed;
 6661|    444|    Py_DECREF(value);
  ------------------
  |  |  430|    444|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    444|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    444|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6662|    444|    value = ast2obj_int(state, o->lineno);
 6663|    444|    if (!value) goto failed;
  ------------------
  |  Branch (6663:9): [True: 0, False: 444]
  ------------------
 6664|    444|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (6664:9): [True: 0, False: 444]
  ------------------
 6665|      0|        goto failed;
 6666|    444|    Py_DECREF(value);
  ------------------
  |  |  430|    444|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    444|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    444|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6667|    444|    value = ast2obj_int(state, o->col_offset);
 6668|    444|    if (!value) goto failed;
  ------------------
  |  Branch (6668:9): [True: 0, False: 444]
  ------------------
 6669|    444|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (6669:9): [True: 0, False: 444]
  ------------------
 6670|      0|        goto failed;
 6671|    444|    Py_DECREF(value);
  ------------------
  |  |  430|    444|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    444|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    444|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6672|    444|    value = ast2obj_int(state, o->end_lineno);
 6673|    444|    if (!value) goto failed;
  ------------------
  |  Branch (6673:9): [True: 0, False: 444]
  ------------------
 6674|    444|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (6674:9): [True: 0, False: 444]
  ------------------
 6675|      0|        goto failed;
 6676|    444|    Py_DECREF(value);
  ------------------
  |  |  430|    444|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    444|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    444|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6677|    444|    value = ast2obj_int(state, o->end_col_offset);
 6678|    444|    if (!value) goto failed;
  ------------------
  |  Branch (6678:9): [True: 0, False: 444]
  ------------------
 6679|    444|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (6679:9): [True: 0, False: 444]
  ------------------
 6680|      0|        goto failed;
 6681|    444|    Py_DECREF(value);
  ------------------
  |  |  430|    444|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    444|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    444|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6682|    444|    Py_LeaveRecursiveCall();
 6683|    444|    return result;
 6684|      0|failed:
 6685|      0|    Py_LeaveRecursiveCall();
 6686|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6687|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6688|       |    return NULL;
 6689|    444|}
Python-ast.c:ast2obj_operator:
 6340|  53.2k|{
 6341|  53.2k|    switch(o) {
  ------------------
  |  Branch (6341:12): [True: 53.2k, False: 0]
  ------------------
 6342|  25.2k|        case Add:
  ------------------
  |  Branch (6342:9): [True: 25.2k, False: 28.0k]
  ------------------
 6343|  25.2k|            return Py_NewRef(state->Add_singleton);
  ------------------
  |  |  647|  25.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  25.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6344|  16.7k|        case Sub:
  ------------------
  |  Branch (6344:9): [True: 16.7k, False: 36.5k]
  ------------------
 6345|  16.7k|            return Py_NewRef(state->Sub_singleton);
  ------------------
  |  |  647|  16.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  16.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6346|  2.50k|        case Mult:
  ------------------
  |  Branch (6346:9): [True: 2.50k, False: 50.7k]
  ------------------
 6347|  2.50k|            return Py_NewRef(state->Mult_singleton);
  ------------------
  |  |  647|  2.50k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6348|    396|        case MatMult:
  ------------------
  |  Branch (6348:9): [True: 396, False: 52.9k]
  ------------------
 6349|    396|            return Py_NewRef(state->MatMult_singleton);
  ------------------
  |  |  647|    396|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6350|  1.31k|        case Div:
  ------------------
  |  Branch (6350:9): [True: 1.31k, False: 51.9k]
  ------------------
 6351|  1.31k|            return Py_NewRef(state->Div_singleton);
  ------------------
  |  |  647|  1.31k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6352|  1.25k|        case Mod:
  ------------------
  |  Branch (6352:9): [True: 1.25k, False: 52.0k]
  ------------------
 6353|  1.25k|            return Py_NewRef(state->Mod_singleton);
  ------------------
  |  |  647|  1.25k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6354|    575|        case Pow:
  ------------------
  |  Branch (6354:9): [True: 575, False: 52.7k]
  ------------------
 6355|    575|            return Py_NewRef(state->Pow_singleton);
  ------------------
  |  |  647|    575|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    575|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    575|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6356|  2.94k|        case LShift:
  ------------------
  |  Branch (6356:9): [True: 2.94k, False: 50.3k]
  ------------------
 6357|  2.94k|            return Py_NewRef(state->LShift_singleton);
  ------------------
  |  |  647|  2.94k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6358|    546|        case RShift:
  ------------------
  |  Branch (6358:9): [True: 546, False: 52.7k]
  ------------------
 6359|    546|            return Py_NewRef(state->RShift_singleton);
  ------------------
  |  |  647|    546|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    546|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    546|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6360|    300|        case BitOr:
  ------------------
  |  Branch (6360:9): [True: 300, False: 52.9k]
  ------------------
 6361|    300|            return Py_NewRef(state->BitOr_singleton);
  ------------------
  |  |  647|    300|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    300|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    300|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6362|    713|        case BitXor:
  ------------------
  |  Branch (6362:9): [True: 713, False: 52.5k]
  ------------------
 6363|    713|            return Py_NewRef(state->BitXor_singleton);
  ------------------
  |  |  647|    713|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    713|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    713|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6364|    477|        case BitAnd:
  ------------------
  |  Branch (6364:9): [True: 477, False: 52.8k]
  ------------------
 6365|    477|            return Py_NewRef(state->BitAnd_singleton);
  ------------------
  |  |  647|    477|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    477|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    477|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6366|    270|        case FloorDiv:
  ------------------
  |  Branch (6366:9): [True: 270, False: 53.0k]
  ------------------
 6367|    270|            return Py_NewRef(state->FloorDiv_singleton);
  ------------------
  |  |  647|    270|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    270|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    270|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6368|  53.2k|    }
 6369|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 6370|  53.2k|}
Python-ast.c:ast2obj_int:
 2263|  1.29M|{
 2264|  1.29M|    return PyLong_FromLong(b);
 2265|  1.29M|}
Python-ast.c:ast2obj_withitem:
 6747|    721|{
 6748|    721|    withitem_ty o = (withitem_ty)_o;
 6749|    721|    PyObject *result = NULL, *value = NULL;
 6750|    721|    PyTypeObject *tp;
 6751|    721|    if (!o) {
  ------------------
  |  Branch (6751:9): [True: 0, False: 721]
  ------------------
 6752|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6753|      0|    }
 6754|    721|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (6754:9): [True: 0, False: 721]
  ------------------
 6755|      0|        return NULL;
 6756|      0|    }
 6757|    721|    tp = (PyTypeObject *)state->withitem_type;
 6758|    721|    result = PyType_GenericNew(tp, NULL, NULL);
 6759|    721|    if (!result) return NULL;
  ------------------
  |  Branch (6759:9): [True: 0, False: 721]
  ------------------
 6760|    721|    value = ast2obj_expr(state, o->context_expr);
 6761|    721|    if (!value) goto failed;
  ------------------
  |  Branch (6761:9): [True: 0, False: 721]
  ------------------
 6762|    721|    if (PyObject_SetAttr(result, state->context_expr, value) == -1)
  ------------------
  |  Branch (6762:9): [True: 0, False: 721]
  ------------------
 6763|      0|        goto failed;
 6764|    721|    Py_DECREF(value);
  ------------------
  |  |  430|    721|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    721|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    721|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6765|    721|    value = ast2obj_expr(state, o->optional_vars);
 6766|    721|    if (!value) goto failed;
  ------------------
  |  Branch (6766:9): [True: 0, False: 721]
  ------------------
 6767|    721|    if (PyObject_SetAttr(result, state->optional_vars, value) == -1)
  ------------------
  |  Branch (6767:9): [True: 0, False: 721]
  ------------------
 6768|      0|        goto failed;
 6769|    721|    Py_DECREF(value);
  ------------------
  |  |  430|    721|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    721|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    721|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6770|    721|    Py_LeaveRecursiveCall();
 6771|    721|    return result;
 6772|      0|failed:
 6773|      0|    Py_LeaveRecursiveCall();
 6774|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6775|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6776|       |    return NULL;
 6777|    721|}
Python-ast.c:ast2obj_match_case:
 6781|    799|{
 6782|    799|    match_case_ty o = (match_case_ty)_o;
 6783|    799|    PyObject *result = NULL, *value = NULL;
 6784|    799|    PyTypeObject *tp;
 6785|    799|    if (!o) {
  ------------------
  |  Branch (6785:9): [True: 0, False: 799]
  ------------------
 6786|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6787|      0|    }
 6788|    799|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (6788:9): [True: 0, False: 799]
  ------------------
 6789|      0|        return NULL;
 6790|      0|    }
 6791|    799|    tp = (PyTypeObject *)state->match_case_type;
 6792|    799|    result = PyType_GenericNew(tp, NULL, NULL);
 6793|    799|    if (!result) return NULL;
  ------------------
  |  Branch (6793:9): [True: 0, False: 799]
  ------------------
 6794|    799|    value = ast2obj_pattern(state, o->pattern);
 6795|    799|    if (!value) goto failed;
  ------------------
  |  Branch (6795:9): [True: 0, False: 799]
  ------------------
 6796|    799|    if (PyObject_SetAttr(result, state->pattern, value) == -1)
  ------------------
  |  Branch (6796:9): [True: 0, False: 799]
  ------------------
 6797|      0|        goto failed;
 6798|    799|    Py_DECREF(value);
  ------------------
  |  |  430|    799|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    799|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    799|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6799|    799|    value = ast2obj_expr(state, o->guard);
 6800|    799|    if (!value) goto failed;
  ------------------
  |  Branch (6800:9): [True: 0, False: 799]
  ------------------
 6801|    799|    if (PyObject_SetAttr(result, state->guard, value) == -1)
  ------------------
  |  Branch (6801:9): [True: 0, False: 799]
  ------------------
 6802|      0|        goto failed;
 6803|    799|    Py_DECREF(value);
  ------------------
  |  |  430|    799|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    799|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    799|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6804|    799|    value = ast2obj_list(state, (asdl_seq*)o->body, ast2obj_stmt);
 6805|    799|    if (!value) goto failed;
  ------------------
  |  Branch (6805:9): [True: 0, False: 799]
  ------------------
 6806|    799|    if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (6806:9): [True: 0, False: 799]
  ------------------
 6807|      0|        goto failed;
 6808|    799|    Py_DECREF(value);
  ------------------
  |  |  430|    799|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    799|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    799|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6809|    799|    Py_LeaveRecursiveCall();
 6810|    799|    return result;
 6811|      0|failed:
 6812|      0|    Py_LeaveRecursiveCall();
 6813|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6814|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6815|       |    return NULL;
 6816|    799|}
Python-ast.c:ast2obj_pattern:
 6820|  12.6k|{
 6821|  12.6k|    pattern_ty o = (pattern_ty)_o;
 6822|  12.6k|    PyObject *result = NULL, *value = NULL;
 6823|  12.6k|    PyTypeObject *tp;
 6824|  12.6k|    if (!o) {
  ------------------
  |  Branch (6824:9): [True: 4.52k, False: 8.11k]
  ------------------
 6825|  4.52k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  4.52k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  4.52k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6826|  4.52k|    }
 6827|  8.11k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (6827:9): [True: 0, False: 8.11k]
  ------------------
 6828|      0|        return NULL;
 6829|      0|    }
 6830|  8.11k|    switch (o->kind) {
  ------------------
  |  Branch (6830:13): [True: 8.11k, False: 0]
  ------------------
 6831|  1.05k|    case MatchValue_kind:
  ------------------
  |  Branch (6831:5): [True: 1.05k, False: 7.06k]
  ------------------
 6832|  1.05k|        tp = (PyTypeObject *)state->MatchValue_type;
 6833|  1.05k|        result = PyType_GenericNew(tp, NULL, NULL);
 6834|  1.05k|        if (!result) goto failed;
  ------------------
  |  Branch (6834:13): [True: 0, False: 1.05k]
  ------------------
 6835|  1.05k|        value = ast2obj_expr(state, o->v.MatchValue.value);
 6836|  1.05k|        if (!value) goto failed;
  ------------------
  |  Branch (6836:13): [True: 0, False: 1.05k]
  ------------------
 6837|  1.05k|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6837:13): [True: 0, False: 1.05k]
  ------------------
 6838|      0|            goto failed;
 6839|  1.05k|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6840|  1.05k|        break;
 6841|    273|    case MatchSingleton_kind:
  ------------------
  |  Branch (6841:5): [True: 273, False: 7.84k]
  ------------------
 6842|    273|        tp = (PyTypeObject *)state->MatchSingleton_type;
 6843|    273|        result = PyType_GenericNew(tp, NULL, NULL);
 6844|    273|        if (!result) goto failed;
  ------------------
  |  Branch (6844:13): [True: 0, False: 273]
  ------------------
 6845|    273|        value = ast2obj_constant(state, o->v.MatchSingleton.value);
  ------------------
  |  | 2258|    273|#define ast2obj_constant ast2obj_object
  ------------------
 6846|    273|        if (!value) goto failed;
  ------------------
  |  Branch (6846:13): [True: 0, False: 273]
  ------------------
 6847|    273|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6847:13): [True: 0, False: 273]
  ------------------
 6848|      0|            goto failed;
 6849|    273|        Py_DECREF(value);
  ------------------
  |  |  430|    273|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    273|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    273|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6850|    273|        break;
 6851|    547|    case MatchSequence_kind:
  ------------------
  |  Branch (6851:5): [True: 547, False: 7.57k]
  ------------------
 6852|    547|        tp = (PyTypeObject *)state->MatchSequence_type;
 6853|    547|        result = PyType_GenericNew(tp, NULL, NULL);
 6854|    547|        if (!result) goto failed;
  ------------------
  |  Branch (6854:13): [True: 0, False: 547]
  ------------------
 6855|    547|        value = ast2obj_list(state, (asdl_seq*)o->v.MatchSequence.patterns,
 6856|    547|                             ast2obj_pattern);
 6857|    547|        if (!value) goto failed;
  ------------------
  |  Branch (6857:13): [True: 0, False: 547]
  ------------------
 6858|    547|        if (PyObject_SetAttr(result, state->patterns, value) == -1)
  ------------------
  |  Branch (6858:13): [True: 0, False: 547]
  ------------------
 6859|      0|            goto failed;
 6860|    547|        Py_DECREF(value);
  ------------------
  |  |  430|    547|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    547|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    547|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6861|    547|        break;
 6862|    214|    case MatchMapping_kind:
  ------------------
  |  Branch (6862:5): [True: 214, False: 7.90k]
  ------------------
 6863|    214|        tp = (PyTypeObject *)state->MatchMapping_type;
 6864|    214|        result = PyType_GenericNew(tp, NULL, NULL);
 6865|    214|        if (!result) goto failed;
  ------------------
  |  Branch (6865:13): [True: 0, False: 214]
  ------------------
 6866|    214|        value = ast2obj_list(state, (asdl_seq*)o->v.MatchMapping.keys,
 6867|    214|                             ast2obj_expr);
 6868|    214|        if (!value) goto failed;
  ------------------
  |  Branch (6868:13): [True: 0, False: 214]
  ------------------
 6869|    214|        if (PyObject_SetAttr(result, state->keys, value) == -1)
  ------------------
  |  Branch (6869:13): [True: 0, False: 214]
  ------------------
 6870|      0|            goto failed;
 6871|    214|        Py_DECREF(value);
  ------------------
  |  |  430|    214|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    214|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    214|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6872|    214|        value = ast2obj_list(state, (asdl_seq*)o->v.MatchMapping.patterns,
 6873|    214|                             ast2obj_pattern);
 6874|    214|        if (!value) goto failed;
  ------------------
  |  Branch (6874:13): [True: 0, False: 214]
  ------------------
 6875|    214|        if (PyObject_SetAttr(result, state->patterns, value) == -1)
  ------------------
  |  Branch (6875:13): [True: 0, False: 214]
  ------------------
 6876|      0|            goto failed;
 6877|    214|        Py_DECREF(value);
  ------------------
  |  |  430|    214|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    214|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    214|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6878|    214|        value = ast2obj_identifier(state, o->v.MatchMapping.rest);
  ------------------
  |  | 2259|    214|#define ast2obj_identifier ast2obj_object
  ------------------
 6879|    214|        if (!value) goto failed;
  ------------------
  |  Branch (6879:13): [True: 0, False: 214]
  ------------------
 6880|    214|        if (PyObject_SetAttr(result, state->rest, value) == -1)
  ------------------
  |  Branch (6880:13): [True: 0, False: 214]
  ------------------
 6881|      0|            goto failed;
 6882|    214|        Py_DECREF(value);
  ------------------
  |  |  430|    214|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    214|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    214|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6883|    214|        break;
 6884|    229|    case MatchClass_kind:
  ------------------
  |  Branch (6884:5): [True: 229, False: 7.89k]
  ------------------
 6885|    229|        tp = (PyTypeObject *)state->MatchClass_type;
 6886|    229|        result = PyType_GenericNew(tp, NULL, NULL);
 6887|    229|        if (!result) goto failed;
  ------------------
  |  Branch (6887:13): [True: 0, False: 229]
  ------------------
 6888|    229|        value = ast2obj_expr(state, o->v.MatchClass.cls);
 6889|    229|        if (!value) goto failed;
  ------------------
  |  Branch (6889:13): [True: 0, False: 229]
  ------------------
 6890|    229|        if (PyObject_SetAttr(result, state->cls, value) == -1)
  ------------------
  |  Branch (6890:13): [True: 0, False: 229]
  ------------------
 6891|      0|            goto failed;
 6892|    229|        Py_DECREF(value);
  ------------------
  |  |  430|    229|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    229|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    229|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6893|    229|        value = ast2obj_list(state, (asdl_seq*)o->v.MatchClass.patterns,
 6894|    229|                             ast2obj_pattern);
 6895|    229|        if (!value) goto failed;
  ------------------
  |  Branch (6895:13): [True: 0, False: 229]
  ------------------
 6896|    229|        if (PyObject_SetAttr(result, state->patterns, value) == -1)
  ------------------
  |  Branch (6896:13): [True: 0, False: 229]
  ------------------
 6897|      0|            goto failed;
 6898|    229|        Py_DECREF(value);
  ------------------
  |  |  430|    229|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    229|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    229|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6899|    229|        value = ast2obj_list(state, (asdl_seq*)o->v.MatchClass.kwd_attrs,
 6900|    229|                             ast2obj_identifier);
  ------------------
  |  | 2259|    229|#define ast2obj_identifier ast2obj_object
  ------------------
 6901|    229|        if (!value) goto failed;
  ------------------
  |  Branch (6901:13): [True: 0, False: 229]
  ------------------
 6902|    229|        if (PyObject_SetAttr(result, state->kwd_attrs, value) == -1)
  ------------------
  |  Branch (6902:13): [True: 0, False: 229]
  ------------------
 6903|      0|            goto failed;
 6904|    229|        Py_DECREF(value);
  ------------------
  |  |  430|    229|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    229|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    229|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6905|    229|        value = ast2obj_list(state, (asdl_seq*)o->v.MatchClass.kwd_patterns,
 6906|    229|                             ast2obj_pattern);
 6907|    229|        if (!value) goto failed;
  ------------------
  |  Branch (6907:13): [True: 0, False: 229]
  ------------------
 6908|    229|        if (PyObject_SetAttr(result, state->kwd_patterns, value) == -1)
  ------------------
  |  Branch (6908:13): [True: 0, False: 229]
  ------------------
 6909|      0|            goto failed;
 6910|    229|        Py_DECREF(value);
  ------------------
  |  |  430|    229|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    229|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    229|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6911|    229|        break;
 6912|    660|    case MatchStar_kind:
  ------------------
  |  Branch (6912:5): [True: 660, False: 7.45k]
  ------------------
 6913|    660|        tp = (PyTypeObject *)state->MatchStar_type;
 6914|    660|        result = PyType_GenericNew(tp, NULL, NULL);
 6915|    660|        if (!result) goto failed;
  ------------------
  |  Branch (6915:13): [True: 0, False: 660]
  ------------------
 6916|    660|        value = ast2obj_identifier(state, o->v.MatchStar.name);
  ------------------
  |  | 2259|    660|#define ast2obj_identifier ast2obj_object
  ------------------
 6917|    660|        if (!value) goto failed;
  ------------------
  |  Branch (6917:13): [True: 0, False: 660]
  ------------------
 6918|    660|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (6918:13): [True: 0, False: 660]
  ------------------
 6919|      0|            goto failed;
 6920|    660|        Py_DECREF(value);
  ------------------
  |  |  430|    660|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    660|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    660|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6921|    660|        break;
 6922|  4.55k|    case MatchAs_kind:
  ------------------
  |  Branch (6922:5): [True: 4.55k, False: 3.56k]
  ------------------
 6923|  4.55k|        tp = (PyTypeObject *)state->MatchAs_type;
 6924|  4.55k|        result = PyType_GenericNew(tp, NULL, NULL);
 6925|  4.55k|        if (!result) goto failed;
  ------------------
  |  Branch (6925:13): [True: 0, False: 4.55k]
  ------------------
 6926|  4.55k|        value = ast2obj_pattern(state, o->v.MatchAs.pattern);
 6927|  4.55k|        if (!value) goto failed;
  ------------------
  |  Branch (6927:13): [True: 0, False: 4.55k]
  ------------------
 6928|  4.55k|        if (PyObject_SetAttr(result, state->pattern, value) == -1)
  ------------------
  |  Branch (6928:13): [True: 0, False: 4.55k]
  ------------------
 6929|      0|            goto failed;
 6930|  4.55k|        Py_DECREF(value);
  ------------------
  |  |  430|  4.55k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6931|  4.55k|        value = ast2obj_identifier(state, o->v.MatchAs.name);
  ------------------
  |  | 2259|  4.55k|#define ast2obj_identifier ast2obj_object
  ------------------
 6932|  4.55k|        if (!value) goto failed;
  ------------------
  |  Branch (6932:13): [True: 0, False: 4.55k]
  ------------------
 6933|  4.55k|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (6933:13): [True: 0, False: 4.55k]
  ------------------
 6934|      0|            goto failed;
 6935|  4.55k|        Py_DECREF(value);
  ------------------
  |  |  430|  4.55k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6936|  4.55k|        break;
 6937|    584|    case MatchOr_kind:
  ------------------
  |  Branch (6937:5): [True: 584, False: 7.53k]
  ------------------
 6938|    584|        tp = (PyTypeObject *)state->MatchOr_type;
 6939|    584|        result = PyType_GenericNew(tp, NULL, NULL);
 6940|    584|        if (!result) goto failed;
  ------------------
  |  Branch (6940:13): [True: 0, False: 584]
  ------------------
 6941|    584|        value = ast2obj_list(state, (asdl_seq*)o->v.MatchOr.patterns,
 6942|    584|                             ast2obj_pattern);
 6943|    584|        if (!value) goto failed;
  ------------------
  |  Branch (6943:13): [True: 0, False: 584]
  ------------------
 6944|    584|        if (PyObject_SetAttr(result, state->patterns, value) == -1)
  ------------------
  |  Branch (6944:13): [True: 0, False: 584]
  ------------------
 6945|      0|            goto failed;
 6946|    584|        Py_DECREF(value);
  ------------------
  |  |  430|    584|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    584|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    584|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6947|    584|        break;
 6948|  8.11k|    }
 6949|  8.11k|    value = ast2obj_int(state, o->lineno);
 6950|  8.11k|    if (!value) goto failed;
  ------------------
  |  Branch (6950:9): [True: 0, False: 8.11k]
  ------------------
 6951|  8.11k|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (6951:9): [True: 0, False: 8.11k]
  ------------------
 6952|      0|        goto failed;
 6953|  8.11k|    Py_DECREF(value);
  ------------------
  |  |  430|  8.11k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6954|  8.11k|    value = ast2obj_int(state, o->col_offset);
 6955|  8.11k|    if (!value) goto failed;
  ------------------
  |  Branch (6955:9): [True: 0, False: 8.11k]
  ------------------
 6956|  8.11k|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (6956:9): [True: 0, False: 8.11k]
  ------------------
 6957|      0|        goto failed;
 6958|  8.11k|    Py_DECREF(value);
  ------------------
  |  |  430|  8.11k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6959|  8.11k|    value = ast2obj_int(state, o->end_lineno);
 6960|  8.11k|    if (!value) goto failed;
  ------------------
  |  Branch (6960:9): [True: 0, False: 8.11k]
  ------------------
 6961|  8.11k|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (6961:9): [True: 0, False: 8.11k]
  ------------------
 6962|      0|        goto failed;
 6963|  8.11k|    Py_DECREF(value);
  ------------------
  |  |  430|  8.11k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6964|  8.11k|    value = ast2obj_int(state, o->end_col_offset);
 6965|  8.11k|    if (!value) goto failed;
  ------------------
  |  Branch (6965:9): [True: 0, False: 8.11k]
  ------------------
 6966|  8.11k|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (6966:9): [True: 0, False: 8.11k]
  ------------------
 6967|      0|        goto failed;
 6968|  8.11k|    Py_DECREF(value);
  ------------------
  |  |  430|  8.11k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6969|  8.11k|    Py_LeaveRecursiveCall();
 6970|  8.11k|    return result;
 6971|      0|failed:
 6972|      0|    Py_LeaveRecursiveCall();
 6973|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6974|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6975|       |    return NULL;
 6976|  8.11k|}
Python-ast.c:ast2obj_excepthandler:
 6457|  1.01k|{
 6458|  1.01k|    excepthandler_ty o = (excepthandler_ty)_o;
 6459|  1.01k|    PyObject *result = NULL, *value = NULL;
 6460|  1.01k|    PyTypeObject *tp;
 6461|  1.01k|    if (!o) {
  ------------------
  |  Branch (6461:9): [True: 0, False: 1.01k]
  ------------------
 6462|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6463|      0|    }
 6464|  1.01k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (6464:9): [True: 0, False: 1.01k]
  ------------------
 6465|      0|        return NULL;
 6466|      0|    }
 6467|  1.01k|    switch (o->kind) {
  ------------------
  |  Branch (6467:13): [True: 1.01k, False: 0]
  ------------------
 6468|  1.01k|    case ExceptHandler_kind:
  ------------------
  |  Branch (6468:5): [True: 1.01k, False: 0]
  ------------------
 6469|  1.01k|        tp = (PyTypeObject *)state->ExceptHandler_type;
 6470|  1.01k|        result = PyType_GenericNew(tp, NULL, NULL);
 6471|  1.01k|        if (!result) goto failed;
  ------------------
  |  Branch (6471:13): [True: 0, False: 1.01k]
  ------------------
 6472|  1.01k|        value = ast2obj_expr(state, o->v.ExceptHandler.type);
 6473|  1.01k|        if (!value) goto failed;
  ------------------
  |  Branch (6473:13): [True: 0, False: 1.01k]
  ------------------
 6474|  1.01k|        if (PyObject_SetAttr(result, state->type, value) == -1)
  ------------------
  |  Branch (6474:13): [True: 0, False: 1.01k]
  ------------------
 6475|      0|            goto failed;
 6476|  1.01k|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6477|  1.01k|        value = ast2obj_identifier(state, o->v.ExceptHandler.name);
  ------------------
  |  | 2259|  1.01k|#define ast2obj_identifier ast2obj_object
  ------------------
 6478|  1.01k|        if (!value) goto failed;
  ------------------
  |  Branch (6478:13): [True: 0, False: 1.01k]
  ------------------
 6479|  1.01k|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (6479:13): [True: 0, False: 1.01k]
  ------------------
 6480|      0|            goto failed;
 6481|  1.01k|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6482|  1.01k|        value = ast2obj_list(state, (asdl_seq*)o->v.ExceptHandler.body,
 6483|  1.01k|                             ast2obj_stmt);
 6484|  1.01k|        if (!value) goto failed;
  ------------------
  |  Branch (6484:13): [True: 0, False: 1.01k]
  ------------------
 6485|  1.01k|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (6485:13): [True: 0, False: 1.01k]
  ------------------
 6486|      0|            goto failed;
 6487|  1.01k|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6488|  1.01k|        break;
 6489|  1.01k|    }
 6490|  1.01k|    value = ast2obj_int(state, o->lineno);
 6491|  1.01k|    if (!value) goto failed;
  ------------------
  |  Branch (6491:9): [True: 0, False: 1.01k]
  ------------------
 6492|  1.01k|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (6492:9): [True: 0, False: 1.01k]
  ------------------
 6493|      0|        goto failed;
 6494|  1.01k|    Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6495|  1.01k|    value = ast2obj_int(state, o->col_offset);
 6496|  1.01k|    if (!value) goto failed;
  ------------------
  |  Branch (6496:9): [True: 0, False: 1.01k]
  ------------------
 6497|  1.01k|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (6497:9): [True: 0, False: 1.01k]
  ------------------
 6498|      0|        goto failed;
 6499|  1.01k|    Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6500|  1.01k|    value = ast2obj_int(state, o->end_lineno);
 6501|  1.01k|    if (!value) goto failed;
  ------------------
  |  Branch (6501:9): [True: 0, False: 1.01k]
  ------------------
 6502|  1.01k|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (6502:9): [True: 0, False: 1.01k]
  ------------------
 6503|      0|        goto failed;
 6504|  1.01k|    Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6505|  1.01k|    value = ast2obj_int(state, o->end_col_offset);
 6506|  1.01k|    if (!value) goto failed;
  ------------------
  |  Branch (6506:9): [True: 0, False: 1.01k]
  ------------------
 6507|  1.01k|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (6507:9): [True: 0, False: 1.01k]
  ------------------
 6508|      0|        goto failed;
 6509|  1.01k|    Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6510|  1.01k|    Py_LeaveRecursiveCall();
 6511|  1.01k|    return result;
 6512|      0|failed:
 6513|      0|    Py_LeaveRecursiveCall();
 6514|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6515|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6516|       |    return NULL;
 6517|  1.01k|}
Python-ast.c:ast2obj_alias:
 6693|  1.51k|{
 6694|  1.51k|    alias_ty o = (alias_ty)_o;
 6695|  1.51k|    PyObject *result = NULL, *value = NULL;
 6696|  1.51k|    PyTypeObject *tp;
 6697|  1.51k|    if (!o) {
  ------------------
  |  Branch (6697:9): [True: 0, False: 1.51k]
  ------------------
 6698|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6699|      0|    }
 6700|  1.51k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (6700:9): [True: 0, False: 1.51k]
  ------------------
 6701|      0|        return NULL;
 6702|      0|    }
 6703|  1.51k|    tp = (PyTypeObject *)state->alias_type;
 6704|  1.51k|    result = PyType_GenericNew(tp, NULL, NULL);
 6705|  1.51k|    if (!result) return NULL;
  ------------------
  |  Branch (6705:9): [True: 0, False: 1.51k]
  ------------------
 6706|  1.51k|    value = ast2obj_identifier(state, o->name);
  ------------------
  |  | 2259|  1.51k|#define ast2obj_identifier ast2obj_object
  ------------------
 6707|  1.51k|    if (!value) goto failed;
  ------------------
  |  Branch (6707:9): [True: 0, False: 1.51k]
  ------------------
 6708|  1.51k|    if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (6708:9): [True: 0, False: 1.51k]
  ------------------
 6709|      0|        goto failed;
 6710|  1.51k|    Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6711|  1.51k|    value = ast2obj_identifier(state, o->asname);
  ------------------
  |  | 2259|  1.51k|#define ast2obj_identifier ast2obj_object
  ------------------
 6712|  1.51k|    if (!value) goto failed;
  ------------------
  |  Branch (6712:9): [True: 0, False: 1.51k]
  ------------------
 6713|  1.51k|    if (PyObject_SetAttr(result, state->asname, value) == -1)
  ------------------
  |  Branch (6713:9): [True: 0, False: 1.51k]
  ------------------
 6714|      0|        goto failed;
 6715|  1.51k|    Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6716|  1.51k|    value = ast2obj_int(state, o->lineno);
 6717|  1.51k|    if (!value) goto failed;
  ------------------
  |  Branch (6717:9): [True: 0, False: 1.51k]
  ------------------
 6718|  1.51k|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (6718:9): [True: 0, False: 1.51k]
  ------------------
 6719|      0|        goto failed;
 6720|  1.51k|    Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6721|  1.51k|    value = ast2obj_int(state, o->col_offset);
 6722|  1.51k|    if (!value) goto failed;
  ------------------
  |  Branch (6722:9): [True: 0, False: 1.51k]
  ------------------
 6723|  1.51k|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (6723:9): [True: 0, False: 1.51k]
  ------------------
 6724|      0|        goto failed;
 6725|  1.51k|    Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6726|  1.51k|    value = ast2obj_int(state, o->end_lineno);
 6727|  1.51k|    if (!value) goto failed;
  ------------------
  |  Branch (6727:9): [True: 0, False: 1.51k]
  ------------------
 6728|  1.51k|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (6728:9): [True: 0, False: 1.51k]
  ------------------
 6729|      0|        goto failed;
 6730|  1.51k|    Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6731|  1.51k|    value = ast2obj_int(state, o->end_col_offset);
 6732|  1.51k|    if (!value) goto failed;
  ------------------
  |  Branch (6732:9): [True: 0, False: 1.51k]
  ------------------
 6733|  1.51k|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (6733:9): [True: 0, False: 1.51k]
  ------------------
 6734|      0|        goto failed;
 6735|  1.51k|    Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6736|  1.51k|    Py_LeaveRecursiveCall();
 6737|  1.51k|    return result;
 6738|      0|failed:
 6739|      0|    Py_LeaveRecursiveCall();
 6740|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6741|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6742|       |    return NULL;
 6743|  1.51k|}
Python-ast.c:ast2obj_type_ignore:
 6980|    810|{
 6981|    810|    type_ignore_ty o = (type_ignore_ty)_o;
 6982|    810|    PyObject *result = NULL, *value = NULL;
 6983|    810|    PyTypeObject *tp;
 6984|    810|    if (!o) {
  ------------------
  |  Branch (6984:9): [True: 0, False: 810]
  ------------------
 6985|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6986|      0|    }
 6987|    810|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (6987:9): [True: 0, False: 810]
  ------------------
 6988|      0|        return NULL;
 6989|      0|    }
 6990|    810|    switch (o->kind) {
  ------------------
  |  Branch (6990:13): [True: 810, False: 0]
  ------------------
 6991|    810|    case TypeIgnore_kind:
  ------------------
  |  Branch (6991:5): [True: 810, False: 0]
  ------------------
 6992|    810|        tp = (PyTypeObject *)state->TypeIgnore_type;
 6993|    810|        result = PyType_GenericNew(tp, NULL, NULL);
 6994|    810|        if (!result) goto failed;
  ------------------
  |  Branch (6994:13): [True: 0, False: 810]
  ------------------
 6995|    810|        value = ast2obj_int(state, o->v.TypeIgnore.lineno);
 6996|    810|        if (!value) goto failed;
  ------------------
  |  Branch (6996:13): [True: 0, False: 810]
  ------------------
 6997|    810|        if (PyObject_SetAttr(result, state->lineno, value) == -1)
  ------------------
  |  Branch (6997:13): [True: 0, False: 810]
  ------------------
 6998|      0|            goto failed;
 6999|    810|        Py_DECREF(value);
  ------------------
  |  |  430|    810|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    810|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    810|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7000|    810|        value = ast2obj_string(state, o->v.TypeIgnore.tag);
  ------------------
  |  | 2260|    810|#define ast2obj_string ast2obj_object
  ------------------
 7001|    810|        if (!value) goto failed;
  ------------------
  |  Branch (7001:13): [True: 0, False: 810]
  ------------------
 7002|    810|        if (PyObject_SetAttr(result, state->tag, value) == -1)
  ------------------
  |  Branch (7002:13): [True: 0, False: 810]
  ------------------
 7003|      0|            goto failed;
 7004|    810|        Py_DECREF(value);
  ------------------
  |  |  430|    810|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    810|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    810|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7005|    810|        break;
 7006|    810|    }
 7007|    810|    Py_LeaveRecursiveCall();
 7008|    810|    return result;
 7009|      0|failed:
 7010|      0|    Py_LeaveRecursiveCall();
 7011|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7012|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7013|       |    return NULL;
 7014|    810|}
Python-ast.c:ast2obj_expr:
 5801|   292k|{
 5802|   292k|    expr_ty o = (expr_ty)_o;
 5803|   292k|    PyObject *result = NULL, *value = NULL;
 5804|   292k|    PyTypeObject *tp;
 5805|   292k|    if (!o) {
  ------------------
  |  Branch (5805:9): [True: 17.6k, False: 274k]
  ------------------
 5806|  17.6k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  17.6k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  17.6k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5807|  17.6k|    }
 5808|   274k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (5808:9): [True: 0, False: 274k]
  ------------------
 5809|      0|        return NULL;
 5810|      0|    }
 5811|   274k|    switch (o->kind) {
  ------------------
  |  Branch (5811:13): [True: 274k, False: 0]
  ------------------
 5812|    775|    case BoolOp_kind:
  ------------------
  |  Branch (5812:5): [True: 775, False: 273k]
  ------------------
 5813|    775|        tp = (PyTypeObject *)state->BoolOp_type;
 5814|    775|        result = PyType_GenericNew(tp, NULL, NULL);
 5815|    775|        if (!result) goto failed;
  ------------------
  |  Branch (5815:13): [True: 0, False: 775]
  ------------------
 5816|    775|        value = ast2obj_boolop(state, o->v.BoolOp.op);
 5817|    775|        if (!value) goto failed;
  ------------------
  |  Branch (5817:13): [True: 0, False: 775]
  ------------------
 5818|    775|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (5818:13): [True: 0, False: 775]
  ------------------
 5819|      0|            goto failed;
 5820|    775|        Py_DECREF(value);
  ------------------
  |  |  430|    775|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    775|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    775|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5821|    775|        value = ast2obj_list(state, (asdl_seq*)o->v.BoolOp.values,
 5822|    775|                             ast2obj_expr);
 5823|    775|        if (!value) goto failed;
  ------------------
  |  Branch (5823:13): [True: 0, False: 775]
  ------------------
 5824|    775|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (5824:13): [True: 0, False: 775]
  ------------------
 5825|      0|            goto failed;
 5826|    775|        Py_DECREF(value);
  ------------------
  |  |  430|    775|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    775|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    775|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5827|    775|        break;
 5828|     59|    case NamedExpr_kind:
  ------------------
  |  Branch (5828:5): [True: 59, False: 274k]
  ------------------
 5829|     59|        tp = (PyTypeObject *)state->NamedExpr_type;
 5830|     59|        result = PyType_GenericNew(tp, NULL, NULL);
 5831|     59|        if (!result) goto failed;
  ------------------
  |  Branch (5831:13): [True: 0, False: 59]
  ------------------
 5832|     59|        value = ast2obj_expr(state, o->v.NamedExpr.target);
 5833|     59|        if (!value) goto failed;
  ------------------
  |  Branch (5833:13): [True: 0, False: 59]
  ------------------
 5834|     59|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (5834:13): [True: 0, False: 59]
  ------------------
 5835|      0|            goto failed;
 5836|     59|        Py_DECREF(value);
  ------------------
  |  |  430|     59|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5837|     59|        value = ast2obj_expr(state, o->v.NamedExpr.value);
 5838|     59|        if (!value) goto failed;
  ------------------
  |  Branch (5838:13): [True: 0, False: 59]
  ------------------
 5839|     59|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (5839:13): [True: 0, False: 59]
  ------------------
 5840|      0|            goto failed;
 5841|     59|        Py_DECREF(value);
  ------------------
  |  |  430|     59|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5842|     59|        break;
 5843|  52.6k|    case BinOp_kind:
  ------------------
  |  Branch (5843:5): [True: 52.6k, False: 221k]
  ------------------
 5844|  52.6k|        tp = (PyTypeObject *)state->BinOp_type;
 5845|  52.6k|        result = PyType_GenericNew(tp, NULL, NULL);
 5846|  52.6k|        if (!result) goto failed;
  ------------------
  |  Branch (5846:13): [True: 0, False: 52.6k]
  ------------------
 5847|  52.6k|        value = ast2obj_expr(state, o->v.BinOp.left);
 5848|  52.6k|        if (!value) goto failed;
  ------------------
  |  Branch (5848:13): [True: 0, False: 52.6k]
  ------------------
 5849|  52.6k|        if (PyObject_SetAttr(result, state->left, value) == -1)
  ------------------
  |  Branch (5849:13): [True: 0, False: 52.6k]
  ------------------
 5850|      0|            goto failed;
 5851|  52.6k|        Py_DECREF(value);
  ------------------
  |  |  430|  52.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5852|  52.6k|        value = ast2obj_operator(state, o->v.BinOp.op);
 5853|  52.6k|        if (!value) goto failed;
  ------------------
  |  Branch (5853:13): [True: 0, False: 52.6k]
  ------------------
 5854|  52.6k|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (5854:13): [True: 0, False: 52.6k]
  ------------------
 5855|      0|            goto failed;
 5856|  52.6k|        Py_DECREF(value);
  ------------------
  |  |  430|  52.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5857|  52.6k|        value = ast2obj_expr(state, o->v.BinOp.right);
 5858|  52.6k|        if (!value) goto failed;
  ------------------
  |  Branch (5858:13): [True: 0, False: 52.6k]
  ------------------
 5859|  52.6k|        if (PyObject_SetAttr(result, state->right, value) == -1)
  ------------------
  |  Branch (5859:13): [True: 0, False: 52.6k]
  ------------------
 5860|      0|            goto failed;
 5861|  52.6k|        Py_DECREF(value);
  ------------------
  |  |  430|  52.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5862|  52.6k|        break;
 5863|  97.9k|    case UnaryOp_kind:
  ------------------
  |  Branch (5863:5): [True: 97.9k, False: 176k]
  ------------------
 5864|  97.9k|        tp = (PyTypeObject *)state->UnaryOp_type;
 5865|  97.9k|        result = PyType_GenericNew(tp, NULL, NULL);
 5866|  97.9k|        if (!result) goto failed;
  ------------------
  |  Branch (5866:13): [True: 0, False: 97.9k]
  ------------------
 5867|  97.9k|        value = ast2obj_unaryop(state, o->v.UnaryOp.op);
 5868|  97.9k|        if (!value) goto failed;
  ------------------
  |  Branch (5868:13): [True: 0, False: 97.9k]
  ------------------
 5869|  97.9k|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (5869:13): [True: 0, False: 97.9k]
  ------------------
 5870|      0|            goto failed;
 5871|  97.9k|        Py_DECREF(value);
  ------------------
  |  |  430|  97.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  97.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  97.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5872|  97.9k|        value = ast2obj_expr(state, o->v.UnaryOp.operand);
 5873|  97.9k|        if (!value) goto failed;
  ------------------
  |  Branch (5873:13): [True: 0, False: 97.9k]
  ------------------
 5874|  97.9k|        if (PyObject_SetAttr(result, state->operand, value) == -1)
  ------------------
  |  Branch (5874:13): [True: 0, False: 97.9k]
  ------------------
 5875|      0|            goto failed;
 5876|  97.9k|        Py_DECREF(value);
  ------------------
  |  |  430|  97.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  97.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  97.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5877|  97.9k|        break;
 5878|    421|    case Lambda_kind:
  ------------------
  |  Branch (5878:5): [True: 421, False: 274k]
  ------------------
 5879|    421|        tp = (PyTypeObject *)state->Lambda_type;
 5880|    421|        result = PyType_GenericNew(tp, NULL, NULL);
 5881|    421|        if (!result) goto failed;
  ------------------
  |  Branch (5881:13): [True: 0, False: 421]
  ------------------
 5882|    421|        value = ast2obj_arguments(state, o->v.Lambda.args);
 5883|    421|        if (!value) goto failed;
  ------------------
  |  Branch (5883:13): [True: 0, False: 421]
  ------------------
 5884|    421|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (5884:13): [True: 0, False: 421]
  ------------------
 5885|      0|            goto failed;
 5886|    421|        Py_DECREF(value);
  ------------------
  |  |  430|    421|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    421|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    421|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5887|    421|        value = ast2obj_expr(state, o->v.Lambda.body);
 5888|    421|        if (!value) goto failed;
  ------------------
  |  Branch (5888:13): [True: 0, False: 421]
  ------------------
 5889|    421|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5889:13): [True: 0, False: 421]
  ------------------
 5890|      0|            goto failed;
 5891|    421|        Py_DECREF(value);
  ------------------
  |  |  430|    421|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    421|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    421|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5892|    421|        break;
 5893|    487|    case IfExp_kind:
  ------------------
  |  Branch (5893:5): [True: 487, False: 274k]
  ------------------
 5894|    487|        tp = (PyTypeObject *)state->IfExp_type;
 5895|    487|        result = PyType_GenericNew(tp, NULL, NULL);
 5896|    487|        if (!result) goto failed;
  ------------------
  |  Branch (5896:13): [True: 0, False: 487]
  ------------------
 5897|    487|        value = ast2obj_expr(state, o->v.IfExp.test);
 5898|    487|        if (!value) goto failed;
  ------------------
  |  Branch (5898:13): [True: 0, False: 487]
  ------------------
 5899|    487|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (5899:13): [True: 0, False: 487]
  ------------------
 5900|      0|            goto failed;
 5901|    487|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5902|    487|        value = ast2obj_expr(state, o->v.IfExp.body);
 5903|    487|        if (!value) goto failed;
  ------------------
  |  Branch (5903:13): [True: 0, False: 487]
  ------------------
 5904|    487|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (5904:13): [True: 0, False: 487]
  ------------------
 5905|      0|            goto failed;
 5906|    487|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5907|    487|        value = ast2obj_expr(state, o->v.IfExp.orelse);
 5908|    487|        if (!value) goto failed;
  ------------------
  |  Branch (5908:13): [True: 0, False: 487]
  ------------------
 5909|    487|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (5909:13): [True: 0, False: 487]
  ------------------
 5910|      0|            goto failed;
 5911|    487|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5912|    487|        break;
 5913|    219|    case Dict_kind:
  ------------------
  |  Branch (5913:5): [True: 219, False: 274k]
  ------------------
 5914|    219|        tp = (PyTypeObject *)state->Dict_type;
 5915|    219|        result = PyType_GenericNew(tp, NULL, NULL);
 5916|    219|        if (!result) goto failed;
  ------------------
  |  Branch (5916:13): [True: 0, False: 219]
  ------------------
 5917|    219|        value = ast2obj_list(state, (asdl_seq*)o->v.Dict.keys, ast2obj_expr);
 5918|    219|        if (!value) goto failed;
  ------------------
  |  Branch (5918:13): [True: 0, False: 219]
  ------------------
 5919|    219|        if (PyObject_SetAttr(result, state->keys, value) == -1)
  ------------------
  |  Branch (5919:13): [True: 0, False: 219]
  ------------------
 5920|      0|            goto failed;
 5921|    219|        Py_DECREF(value);
  ------------------
  |  |  430|    219|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5922|    219|        value = ast2obj_list(state, (asdl_seq*)o->v.Dict.values, ast2obj_expr);
 5923|    219|        if (!value) goto failed;
  ------------------
  |  Branch (5923:13): [True: 0, False: 219]
  ------------------
 5924|    219|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (5924:13): [True: 0, False: 219]
  ------------------
 5925|      0|            goto failed;
 5926|    219|        Py_DECREF(value);
  ------------------
  |  |  430|    219|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5927|    219|        break;
 5928|    230|    case Set_kind:
  ------------------
  |  Branch (5928:5): [True: 230, False: 274k]
  ------------------
 5929|    230|        tp = (PyTypeObject *)state->Set_type;
 5930|    230|        result = PyType_GenericNew(tp, NULL, NULL);
 5931|    230|        if (!result) goto failed;
  ------------------
  |  Branch (5931:13): [True: 0, False: 230]
  ------------------
 5932|    230|        value = ast2obj_list(state, (asdl_seq*)o->v.Set.elts, ast2obj_expr);
 5933|    230|        if (!value) goto failed;
  ------------------
  |  Branch (5933:13): [True: 0, False: 230]
  ------------------
 5934|    230|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (5934:13): [True: 0, False: 230]
  ------------------
 5935|      0|            goto failed;
 5936|    230|        Py_DECREF(value);
  ------------------
  |  |  430|    230|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    230|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    230|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5937|    230|        break;
 5938|    203|    case ListComp_kind:
  ------------------
  |  Branch (5938:5): [True: 203, False: 274k]
  ------------------
 5939|    203|        tp = (PyTypeObject *)state->ListComp_type;
 5940|    203|        result = PyType_GenericNew(tp, NULL, NULL);
 5941|    203|        if (!result) goto failed;
  ------------------
  |  Branch (5941:13): [True: 0, False: 203]
  ------------------
 5942|    203|        value = ast2obj_expr(state, o->v.ListComp.elt);
 5943|    203|        if (!value) goto failed;
  ------------------
  |  Branch (5943:13): [True: 0, False: 203]
  ------------------
 5944|    203|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (5944:13): [True: 0, False: 203]
  ------------------
 5945|      0|            goto failed;
 5946|    203|        Py_DECREF(value);
  ------------------
  |  |  430|    203|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    203|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    203|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5947|    203|        value = ast2obj_list(state, (asdl_seq*)o->v.ListComp.generators,
 5948|    203|                             ast2obj_comprehension);
 5949|    203|        if (!value) goto failed;
  ------------------
  |  Branch (5949:13): [True: 0, False: 203]
  ------------------
 5950|    203|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (5950:13): [True: 0, False: 203]
  ------------------
 5951|      0|            goto failed;
 5952|    203|        Py_DECREF(value);
  ------------------
  |  |  430|    203|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    203|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    203|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5953|    203|        break;
 5954|     85|    case SetComp_kind:
  ------------------
  |  Branch (5954:5): [True: 85, False: 274k]
  ------------------
 5955|     85|        tp = (PyTypeObject *)state->SetComp_type;
 5956|     85|        result = PyType_GenericNew(tp, NULL, NULL);
 5957|     85|        if (!result) goto failed;
  ------------------
  |  Branch (5957:13): [True: 0, False: 85]
  ------------------
 5958|     85|        value = ast2obj_expr(state, o->v.SetComp.elt);
 5959|     85|        if (!value) goto failed;
  ------------------
  |  Branch (5959:13): [True: 0, False: 85]
  ------------------
 5960|     85|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (5960:13): [True: 0, False: 85]
  ------------------
 5961|      0|            goto failed;
 5962|     85|        Py_DECREF(value);
  ------------------
  |  |  430|     85|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5963|     85|        value = ast2obj_list(state, (asdl_seq*)o->v.SetComp.generators,
 5964|     85|                             ast2obj_comprehension);
 5965|     85|        if (!value) goto failed;
  ------------------
  |  Branch (5965:13): [True: 0, False: 85]
  ------------------
 5966|     85|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (5966:13): [True: 0, False: 85]
  ------------------
 5967|      0|            goto failed;
 5968|     85|        Py_DECREF(value);
  ------------------
  |  |  430|     85|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5969|     85|        break;
 5970|    173|    case DictComp_kind:
  ------------------
  |  Branch (5970:5): [True: 173, False: 274k]
  ------------------
 5971|    173|        tp = (PyTypeObject *)state->DictComp_type;
 5972|    173|        result = PyType_GenericNew(tp, NULL, NULL);
 5973|    173|        if (!result) goto failed;
  ------------------
  |  Branch (5973:13): [True: 0, False: 173]
  ------------------
 5974|    173|        value = ast2obj_expr(state, o->v.DictComp.key);
 5975|    173|        if (!value) goto failed;
  ------------------
  |  Branch (5975:13): [True: 0, False: 173]
  ------------------
 5976|    173|        if (PyObject_SetAttr(result, state->key, value) == -1)
  ------------------
  |  Branch (5976:13): [True: 0, False: 173]
  ------------------
 5977|      0|            goto failed;
 5978|    173|        Py_DECREF(value);
  ------------------
  |  |  430|    173|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    173|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    173|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5979|    173|        value = ast2obj_expr(state, o->v.DictComp.value);
 5980|    173|        if (!value) goto failed;
  ------------------
  |  Branch (5980:13): [True: 0, False: 173]
  ------------------
 5981|    173|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (5981:13): [True: 0, False: 173]
  ------------------
 5982|      0|            goto failed;
 5983|    173|        Py_DECREF(value);
  ------------------
  |  |  430|    173|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    173|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    173|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5984|    173|        value = ast2obj_list(state, (asdl_seq*)o->v.DictComp.generators,
 5985|    173|                             ast2obj_comprehension);
 5986|    173|        if (!value) goto failed;
  ------------------
  |  Branch (5986:13): [True: 0, False: 173]
  ------------------
 5987|    173|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (5987:13): [True: 0, False: 173]
  ------------------
 5988|      0|            goto failed;
 5989|    173|        Py_DECREF(value);
  ------------------
  |  |  430|    173|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    173|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    173|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5990|    173|        break;
 5991|    113|    case GeneratorExp_kind:
  ------------------
  |  Branch (5991:5): [True: 113, False: 274k]
  ------------------
 5992|    113|        tp = (PyTypeObject *)state->GeneratorExp_type;
 5993|    113|        result = PyType_GenericNew(tp, NULL, NULL);
 5994|    113|        if (!result) goto failed;
  ------------------
  |  Branch (5994:13): [True: 0, False: 113]
  ------------------
 5995|    113|        value = ast2obj_expr(state, o->v.GeneratorExp.elt);
 5996|    113|        if (!value) goto failed;
  ------------------
  |  Branch (5996:13): [True: 0, False: 113]
  ------------------
 5997|    113|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (5997:13): [True: 0, False: 113]
  ------------------
 5998|      0|            goto failed;
 5999|    113|        Py_DECREF(value);
  ------------------
  |  |  430|    113|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6000|    113|        value = ast2obj_list(state, (asdl_seq*)o->v.GeneratorExp.generators,
 6001|    113|                             ast2obj_comprehension);
 6002|    113|        if (!value) goto failed;
  ------------------
  |  Branch (6002:13): [True: 0, False: 113]
  ------------------
 6003|    113|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (6003:13): [True: 0, False: 113]
  ------------------
 6004|      0|            goto failed;
 6005|    113|        Py_DECREF(value);
  ------------------
  |  |  430|    113|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6006|    113|        break;
 6007|    170|    case Await_kind:
  ------------------
  |  Branch (6007:5): [True: 170, False: 274k]
  ------------------
 6008|    170|        tp = (PyTypeObject *)state->Await_type;
 6009|    170|        result = PyType_GenericNew(tp, NULL, NULL);
 6010|    170|        if (!result) goto failed;
  ------------------
  |  Branch (6010:13): [True: 0, False: 170]
  ------------------
 6011|    170|        value = ast2obj_expr(state, o->v.Await.value);
 6012|    170|        if (!value) goto failed;
  ------------------
  |  Branch (6012:13): [True: 0, False: 170]
  ------------------
 6013|    170|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6013:13): [True: 0, False: 170]
  ------------------
 6014|      0|            goto failed;
 6015|    170|        Py_DECREF(value);
  ------------------
  |  |  430|    170|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    170|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    170|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6016|    170|        break;
 6017|    388|    case Yield_kind:
  ------------------
  |  Branch (6017:5): [True: 388, False: 274k]
  ------------------
 6018|    388|        tp = (PyTypeObject *)state->Yield_type;
 6019|    388|        result = PyType_GenericNew(tp, NULL, NULL);
 6020|    388|        if (!result) goto failed;
  ------------------
  |  Branch (6020:13): [True: 0, False: 388]
  ------------------
 6021|    388|        value = ast2obj_expr(state, o->v.Yield.value);
 6022|    388|        if (!value) goto failed;
  ------------------
  |  Branch (6022:13): [True: 0, False: 388]
  ------------------
 6023|    388|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6023:13): [True: 0, False: 388]
  ------------------
 6024|      0|            goto failed;
 6025|    388|        Py_DECREF(value);
  ------------------
  |  |  430|    388|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    388|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    388|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6026|    388|        break;
 6027|     15|    case YieldFrom_kind:
  ------------------
  |  Branch (6027:5): [True: 15, False: 274k]
  ------------------
 6028|     15|        tp = (PyTypeObject *)state->YieldFrom_type;
 6029|     15|        result = PyType_GenericNew(tp, NULL, NULL);
 6030|     15|        if (!result) goto failed;
  ------------------
  |  Branch (6030:13): [True: 0, False: 15]
  ------------------
 6031|     15|        value = ast2obj_expr(state, o->v.YieldFrom.value);
 6032|     15|        if (!value) goto failed;
  ------------------
  |  Branch (6032:13): [True: 0, False: 15]
  ------------------
 6033|     15|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6033:13): [True: 0, False: 15]
  ------------------
 6034|      0|            goto failed;
 6035|     15|        Py_DECREF(value);
  ------------------
  |  |  430|     15|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6036|     15|        break;
 6037|  1.90k|    case Compare_kind:
  ------------------
  |  Branch (6037:5): [True: 1.90k, False: 272k]
  ------------------
 6038|  1.90k|        tp = (PyTypeObject *)state->Compare_type;
 6039|  1.90k|        result = PyType_GenericNew(tp, NULL, NULL);
 6040|  1.90k|        if (!result) goto failed;
  ------------------
  |  Branch (6040:13): [True: 0, False: 1.90k]
  ------------------
 6041|  1.90k|        value = ast2obj_expr(state, o->v.Compare.left);
 6042|  1.90k|        if (!value) goto failed;
  ------------------
  |  Branch (6042:13): [True: 0, False: 1.90k]
  ------------------
 6043|  1.90k|        if (PyObject_SetAttr(result, state->left, value) == -1)
  ------------------
  |  Branch (6043:13): [True: 0, False: 1.90k]
  ------------------
 6044|      0|            goto failed;
 6045|  1.90k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.90k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6046|  1.90k|        {
 6047|  1.90k|            Py_ssize_t i, n = asdl_seq_LEN(o->v.Compare.ops);
  ------------------
  |  |   83|  1.90k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  3.80k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.90k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6048|  1.90k|            value = PyList_New(n);
 6049|  1.90k|            if (!value) goto failed;
  ------------------
  |  Branch (6049:17): [True: 0, False: 1.90k]
  ------------------
 6050|  7.53k|            for(i = 0; i < n; i++)
  ------------------
  |  Branch (6050:24): [True: 5.63k, False: 1.90k]
  ------------------
 6051|  5.63k|                PyList_SET_ITEM(value, i, ast2obj_cmpop(state, (cmpop_ty)asdl_seq_GET(o->v.Compare.ops, i)));
  ------------------
  |  |   50|  7.53k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  5.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6052|  1.90k|        }
 6053|  1.90k|        if (!value) goto failed;
  ------------------
  |  Branch (6053:13): [True: 0, False: 1.90k]
  ------------------
 6054|  1.90k|        if (PyObject_SetAttr(result, state->ops, value) == -1)
  ------------------
  |  Branch (6054:13): [True: 0, False: 1.90k]
  ------------------
 6055|      0|            goto failed;
 6056|  1.90k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.90k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6057|  1.90k|        value = ast2obj_list(state, (asdl_seq*)o->v.Compare.comparators,
 6058|  1.90k|                             ast2obj_expr);
 6059|  1.90k|        if (!value) goto failed;
  ------------------
  |  Branch (6059:13): [True: 0, False: 1.90k]
  ------------------
 6060|  1.90k|        if (PyObject_SetAttr(result, state->comparators, value) == -1)
  ------------------
  |  Branch (6060:13): [True: 0, False: 1.90k]
  ------------------
 6061|      0|            goto failed;
 6062|  1.90k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.90k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6063|  1.90k|        break;
 6064|  1.09k|    case Call_kind:
  ------------------
  |  Branch (6064:5): [True: 1.09k, False: 273k]
  ------------------
 6065|  1.09k|        tp = (PyTypeObject *)state->Call_type;
 6066|  1.09k|        result = PyType_GenericNew(tp, NULL, NULL);
 6067|  1.09k|        if (!result) goto failed;
  ------------------
  |  Branch (6067:13): [True: 0, False: 1.09k]
  ------------------
 6068|  1.09k|        value = ast2obj_expr(state, o->v.Call.func);
 6069|  1.09k|        if (!value) goto failed;
  ------------------
  |  Branch (6069:13): [True: 0, False: 1.09k]
  ------------------
 6070|  1.09k|        if (PyObject_SetAttr(result, state->func, value) == -1)
  ------------------
  |  Branch (6070:13): [True: 0, False: 1.09k]
  ------------------
 6071|      0|            goto failed;
 6072|  1.09k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.09k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6073|  1.09k|        value = ast2obj_list(state, (asdl_seq*)o->v.Call.args, ast2obj_expr);
 6074|  1.09k|        if (!value) goto failed;
  ------------------
  |  Branch (6074:13): [True: 0, False: 1.09k]
  ------------------
 6075|  1.09k|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (6075:13): [True: 0, False: 1.09k]
  ------------------
 6076|      0|            goto failed;
 6077|  1.09k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.09k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6078|  1.09k|        value = ast2obj_list(state, (asdl_seq*)o->v.Call.keywords,
 6079|  1.09k|                             ast2obj_keyword);
 6080|  1.09k|        if (!value) goto failed;
  ------------------
  |  Branch (6080:13): [True: 0, False: 1.09k]
  ------------------
 6081|  1.09k|        if (PyObject_SetAttr(result, state->keywords, value) == -1)
  ------------------
  |  Branch (6081:13): [True: 0, False: 1.09k]
  ------------------
 6082|      0|            goto failed;
 6083|  1.09k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.09k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6084|  1.09k|        break;
 6085|    525|    case FormattedValue_kind:
  ------------------
  |  Branch (6085:5): [True: 525, False: 274k]
  ------------------
 6086|    525|        tp = (PyTypeObject *)state->FormattedValue_type;
 6087|    525|        result = PyType_GenericNew(tp, NULL, NULL);
 6088|    525|        if (!result) goto failed;
  ------------------
  |  Branch (6088:13): [True: 0, False: 525]
  ------------------
 6089|    525|        value = ast2obj_expr(state, o->v.FormattedValue.value);
 6090|    525|        if (!value) goto failed;
  ------------------
  |  Branch (6090:13): [True: 0, False: 525]
  ------------------
 6091|    525|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6091:13): [True: 0, False: 525]
  ------------------
 6092|      0|            goto failed;
 6093|    525|        Py_DECREF(value);
  ------------------
  |  |  430|    525|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    525|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    525|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6094|    525|        value = ast2obj_int(state, o->v.FormattedValue.conversion);
 6095|    525|        if (!value) goto failed;
  ------------------
  |  Branch (6095:13): [True: 0, False: 525]
  ------------------
 6096|    525|        if (PyObject_SetAttr(result, state->conversion, value) == -1)
  ------------------
  |  Branch (6096:13): [True: 0, False: 525]
  ------------------
 6097|      0|            goto failed;
 6098|    525|        Py_DECREF(value);
  ------------------
  |  |  430|    525|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    525|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    525|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6099|    525|        value = ast2obj_expr(state, o->v.FormattedValue.format_spec);
 6100|    525|        if (!value) goto failed;
  ------------------
  |  Branch (6100:13): [True: 0, False: 525]
  ------------------
 6101|    525|        if (PyObject_SetAttr(result, state->format_spec, value) == -1)
  ------------------
  |  Branch (6101:13): [True: 0, False: 525]
  ------------------
 6102|      0|            goto failed;
 6103|    525|        Py_DECREF(value);
  ------------------
  |  |  430|    525|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    525|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    525|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6104|    525|        break;
 6105|    677|    case Interpolation_kind:
  ------------------
  |  Branch (6105:5): [True: 677, False: 273k]
  ------------------
 6106|    677|        tp = (PyTypeObject *)state->Interpolation_type;
 6107|    677|        result = PyType_GenericNew(tp, NULL, NULL);
 6108|    677|        if (!result) goto failed;
  ------------------
  |  Branch (6108:13): [True: 0, False: 677]
  ------------------
 6109|    677|        value = ast2obj_expr(state, o->v.Interpolation.value);
 6110|    677|        if (!value) goto failed;
  ------------------
  |  Branch (6110:13): [True: 0, False: 677]
  ------------------
 6111|    677|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6111:13): [True: 0, False: 677]
  ------------------
 6112|      0|            goto failed;
 6113|    677|        Py_DECREF(value);
  ------------------
  |  |  430|    677|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    677|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    677|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6114|    677|        value = ast2obj_constant(state, o->v.Interpolation.str);
  ------------------
  |  | 2258|    677|#define ast2obj_constant ast2obj_object
  ------------------
 6115|    677|        if (!value) goto failed;
  ------------------
  |  Branch (6115:13): [True: 0, False: 677]
  ------------------
 6116|    677|        if (PyObject_SetAttr(result, state->str, value) == -1)
  ------------------
  |  Branch (6116:13): [True: 0, False: 677]
  ------------------
 6117|      0|            goto failed;
 6118|    677|        Py_DECREF(value);
  ------------------
  |  |  430|    677|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    677|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    677|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6119|    677|        value = ast2obj_int(state, o->v.Interpolation.conversion);
 6120|    677|        if (!value) goto failed;
  ------------------
  |  Branch (6120:13): [True: 0, False: 677]
  ------------------
 6121|    677|        if (PyObject_SetAttr(result, state->conversion, value) == -1)
  ------------------
  |  Branch (6121:13): [True: 0, False: 677]
  ------------------
 6122|      0|            goto failed;
 6123|    677|        Py_DECREF(value);
  ------------------
  |  |  430|    677|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    677|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    677|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6124|    677|        value = ast2obj_expr(state, o->v.Interpolation.format_spec);
 6125|    677|        if (!value) goto failed;
  ------------------
  |  Branch (6125:13): [True: 0, False: 677]
  ------------------
 6126|    677|        if (PyObject_SetAttr(result, state->format_spec, value) == -1)
  ------------------
  |  Branch (6126:13): [True: 0, False: 677]
  ------------------
 6127|      0|            goto failed;
 6128|    677|        Py_DECREF(value);
  ------------------
  |  |  430|    677|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    677|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    677|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6129|    677|        break;
 6130|  1.00k|    case JoinedStr_kind:
  ------------------
  |  Branch (6130:5): [True: 1.00k, False: 273k]
  ------------------
 6131|  1.00k|        tp = (PyTypeObject *)state->JoinedStr_type;
 6132|  1.00k|        result = PyType_GenericNew(tp, NULL, NULL);
 6133|  1.00k|        if (!result) goto failed;
  ------------------
  |  Branch (6133:13): [True: 0, False: 1.00k]
  ------------------
 6134|  1.00k|        value = ast2obj_list(state, (asdl_seq*)o->v.JoinedStr.values,
 6135|  1.00k|                             ast2obj_expr);
 6136|  1.00k|        if (!value) goto failed;
  ------------------
  |  Branch (6136:13): [True: 0, False: 1.00k]
  ------------------
 6137|  1.00k|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (6137:13): [True: 0, False: 1.00k]
  ------------------
 6138|      0|            goto failed;
 6139|  1.00k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.00k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6140|  1.00k|        break;
 6141|    165|    case TemplateStr_kind:
  ------------------
  |  Branch (6141:5): [True: 165, False: 274k]
  ------------------
 6142|    165|        tp = (PyTypeObject *)state->TemplateStr_type;
 6143|    165|        result = PyType_GenericNew(tp, NULL, NULL);
 6144|    165|        if (!result) goto failed;
  ------------------
  |  Branch (6144:13): [True: 0, False: 165]
  ------------------
 6145|    165|        value = ast2obj_list(state, (asdl_seq*)o->v.TemplateStr.values,
 6146|    165|                             ast2obj_expr);
 6147|    165|        if (!value) goto failed;
  ------------------
  |  Branch (6147:13): [True: 0, False: 165]
  ------------------
 6148|    165|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (6148:13): [True: 0, False: 165]
  ------------------
 6149|      0|            goto failed;
 6150|    165|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6151|    165|        break;
 6152|  63.7k|    case Constant_kind:
  ------------------
  |  Branch (6152:5): [True: 63.7k, False: 210k]
  ------------------
 6153|  63.7k|        tp = (PyTypeObject *)state->Constant_type;
 6154|  63.7k|        result = PyType_GenericNew(tp, NULL, NULL);
 6155|  63.7k|        if (!result) goto failed;
  ------------------
  |  Branch (6155:13): [True: 0, False: 63.7k]
  ------------------
 6156|  63.7k|        value = ast2obj_constant(state, o->v.Constant.value);
  ------------------
  |  | 2258|  63.7k|#define ast2obj_constant ast2obj_object
  ------------------
 6157|  63.7k|        if (!value) goto failed;
  ------------------
  |  Branch (6157:13): [True: 0, False: 63.7k]
  ------------------
 6158|  63.7k|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6158:13): [True: 0, False: 63.7k]
  ------------------
 6159|      0|            goto failed;
 6160|  63.7k|        Py_DECREF(value);
  ------------------
  |  |  430|  63.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6161|  63.7k|        value = ast2obj_string(state, o->v.Constant.kind);
  ------------------
  |  | 2260|  63.7k|#define ast2obj_string ast2obj_object
  ------------------
 6162|  63.7k|        if (!value) goto failed;
  ------------------
  |  Branch (6162:13): [True: 0, False: 63.7k]
  ------------------
 6163|  63.7k|        if (PyObject_SetAttr(result, state->kind, value) == -1)
  ------------------
  |  Branch (6163:13): [True: 0, False: 63.7k]
  ------------------
 6164|      0|            goto failed;
 6165|  63.7k|        Py_DECREF(value);
  ------------------
  |  |  430|  63.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6166|  63.7k|        break;
 6167|  1.67k|    case Attribute_kind:
  ------------------
  |  Branch (6167:5): [True: 1.67k, False: 272k]
  ------------------
 6168|  1.67k|        tp = (PyTypeObject *)state->Attribute_type;
 6169|  1.67k|        result = PyType_GenericNew(tp, NULL, NULL);
 6170|  1.67k|        if (!result) goto failed;
  ------------------
  |  Branch (6170:13): [True: 0, False: 1.67k]
  ------------------
 6171|  1.67k|        value = ast2obj_expr(state, o->v.Attribute.value);
 6172|  1.67k|        if (!value) goto failed;
  ------------------
  |  Branch (6172:13): [True: 0, False: 1.67k]
  ------------------
 6173|  1.67k|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6173:13): [True: 0, False: 1.67k]
  ------------------
 6174|      0|            goto failed;
 6175|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6176|  1.67k|        value = ast2obj_identifier(state, o->v.Attribute.attr);
  ------------------
  |  | 2259|  1.67k|#define ast2obj_identifier ast2obj_object
  ------------------
 6177|  1.67k|        if (!value) goto failed;
  ------------------
  |  Branch (6177:13): [True: 0, False: 1.67k]
  ------------------
 6178|  1.67k|        if (PyObject_SetAttr(result, state->attr, value) == -1)
  ------------------
  |  Branch (6178:13): [True: 0, False: 1.67k]
  ------------------
 6179|      0|            goto failed;
 6180|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6181|  1.67k|        value = ast2obj_expr_context(state, o->v.Attribute.ctx);
 6182|  1.67k|        if (!value) goto failed;
  ------------------
  |  Branch (6182:13): [True: 0, False: 1.67k]
  ------------------
 6183|  1.67k|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6183:13): [True: 0, False: 1.67k]
  ------------------
 6184|      0|            goto failed;
 6185|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6186|  1.67k|        break;
 6187|    466|    case Subscript_kind:
  ------------------
  |  Branch (6187:5): [True: 466, False: 274k]
  ------------------
 6188|    466|        tp = (PyTypeObject *)state->Subscript_type;
 6189|    466|        result = PyType_GenericNew(tp, NULL, NULL);
 6190|    466|        if (!result) goto failed;
  ------------------
  |  Branch (6190:13): [True: 0, False: 466]
  ------------------
 6191|    466|        value = ast2obj_expr(state, o->v.Subscript.value);
 6192|    466|        if (!value) goto failed;
  ------------------
  |  Branch (6192:13): [True: 0, False: 466]
  ------------------
 6193|    466|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6193:13): [True: 0, False: 466]
  ------------------
 6194|      0|            goto failed;
 6195|    466|        Py_DECREF(value);
  ------------------
  |  |  430|    466|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    466|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    466|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6196|    466|        value = ast2obj_expr(state, o->v.Subscript.slice);
 6197|    466|        if (!value) goto failed;
  ------------------
  |  Branch (6197:13): [True: 0, False: 466]
  ------------------
 6198|    466|        if (PyObject_SetAttr(result, state->slice, value) == -1)
  ------------------
  |  Branch (6198:13): [True: 0, False: 466]
  ------------------
 6199|      0|            goto failed;
 6200|    466|        Py_DECREF(value);
  ------------------
  |  |  430|    466|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    466|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    466|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6201|    466|        value = ast2obj_expr_context(state, o->v.Subscript.ctx);
 6202|    466|        if (!value) goto failed;
  ------------------
  |  Branch (6202:13): [True: 0, False: 466]
  ------------------
 6203|    466|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6203:13): [True: 0, False: 466]
  ------------------
 6204|      0|            goto failed;
 6205|    466|        Py_DECREF(value);
  ------------------
  |  |  430|    466|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    466|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    466|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6206|    466|        break;
 6207|    809|    case Starred_kind:
  ------------------
  |  Branch (6207:5): [True: 809, False: 273k]
  ------------------
 6208|    809|        tp = (PyTypeObject *)state->Starred_type;
 6209|    809|        result = PyType_GenericNew(tp, NULL, NULL);
 6210|    809|        if (!result) goto failed;
  ------------------
  |  Branch (6210:13): [True: 0, False: 809]
  ------------------
 6211|    809|        value = ast2obj_expr(state, o->v.Starred.value);
 6212|    809|        if (!value) goto failed;
  ------------------
  |  Branch (6212:13): [True: 0, False: 809]
  ------------------
 6213|    809|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (6213:13): [True: 0, False: 809]
  ------------------
 6214|      0|            goto failed;
 6215|    809|        Py_DECREF(value);
  ------------------
  |  |  430|    809|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    809|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    809|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6216|    809|        value = ast2obj_expr_context(state, o->v.Starred.ctx);
 6217|    809|        if (!value) goto failed;
  ------------------
  |  Branch (6217:13): [True: 0, False: 809]
  ------------------
 6218|    809|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6218:13): [True: 0, False: 809]
  ------------------
 6219|      0|            goto failed;
 6220|    809|        Py_DECREF(value);
  ------------------
  |  |  430|    809|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    809|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    809|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6221|    809|        break;
 6222|  44.2k|    case Name_kind:
  ------------------
  |  Branch (6222:5): [True: 44.2k, False: 230k]
  ------------------
 6223|  44.2k|        tp = (PyTypeObject *)state->Name_type;
 6224|  44.2k|        result = PyType_GenericNew(tp, NULL, NULL);
 6225|  44.2k|        if (!result) goto failed;
  ------------------
  |  Branch (6225:13): [True: 0, False: 44.2k]
  ------------------
 6226|  44.2k|        value = ast2obj_identifier(state, o->v.Name.id);
  ------------------
  |  | 2259|  44.2k|#define ast2obj_identifier ast2obj_object
  ------------------
 6227|  44.2k|        if (!value) goto failed;
  ------------------
  |  Branch (6227:13): [True: 0, False: 44.2k]
  ------------------
 6228|  44.2k|        if (PyObject_SetAttr(result, state->id, value) == -1)
  ------------------
  |  Branch (6228:13): [True: 0, False: 44.2k]
  ------------------
 6229|      0|            goto failed;
 6230|  44.2k|        Py_DECREF(value);
  ------------------
  |  |  430|  44.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6231|  44.2k|        value = ast2obj_expr_context(state, o->v.Name.ctx);
 6232|  44.2k|        if (!value) goto failed;
  ------------------
  |  Branch (6232:13): [True: 0, False: 44.2k]
  ------------------
 6233|  44.2k|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6233:13): [True: 0, False: 44.2k]
  ------------------
 6234|      0|            goto failed;
 6235|  44.2k|        Py_DECREF(value);
  ------------------
  |  |  430|  44.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6236|  44.2k|        break;
 6237|    489|    case List_kind:
  ------------------
  |  Branch (6237:5): [True: 489, False: 274k]
  ------------------
 6238|    489|        tp = (PyTypeObject *)state->List_type;
 6239|    489|        result = PyType_GenericNew(tp, NULL, NULL);
 6240|    489|        if (!result) goto failed;
  ------------------
  |  Branch (6240:13): [True: 0, False: 489]
  ------------------
 6241|    489|        value = ast2obj_list(state, (asdl_seq*)o->v.List.elts, ast2obj_expr);
 6242|    489|        if (!value) goto failed;
  ------------------
  |  Branch (6242:13): [True: 0, False: 489]
  ------------------
 6243|    489|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (6243:13): [True: 0, False: 489]
  ------------------
 6244|      0|            goto failed;
 6245|    489|        Py_DECREF(value);
  ------------------
  |  |  430|    489|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    489|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    489|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6246|    489|        value = ast2obj_expr_context(state, o->v.List.ctx);
 6247|    489|        if (!value) goto failed;
  ------------------
  |  Branch (6247:13): [True: 0, False: 489]
  ------------------
 6248|    489|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6248:13): [True: 0, False: 489]
  ------------------
 6249|      0|            goto failed;
 6250|    489|        Py_DECREF(value);
  ------------------
  |  |  430|    489|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    489|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    489|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6251|    489|        break;
 6252|  3.15k|    case Tuple_kind:
  ------------------
  |  Branch (6252:5): [True: 3.15k, False: 271k]
  ------------------
 6253|  3.15k|        tp = (PyTypeObject *)state->Tuple_type;
 6254|  3.15k|        result = PyType_GenericNew(tp, NULL, NULL);
 6255|  3.15k|        if (!result) goto failed;
  ------------------
  |  Branch (6255:13): [True: 0, False: 3.15k]
  ------------------
 6256|  3.15k|        value = ast2obj_list(state, (asdl_seq*)o->v.Tuple.elts, ast2obj_expr);
 6257|  3.15k|        if (!value) goto failed;
  ------------------
  |  Branch (6257:13): [True: 0, False: 3.15k]
  ------------------
 6258|  3.15k|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (6258:13): [True: 0, False: 3.15k]
  ------------------
 6259|      0|            goto failed;
 6260|  3.15k|        Py_DECREF(value);
  ------------------
  |  |  430|  3.15k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6261|  3.15k|        value = ast2obj_expr_context(state, o->v.Tuple.ctx);
 6262|  3.15k|        if (!value) goto failed;
  ------------------
  |  Branch (6262:13): [True: 0, False: 3.15k]
  ------------------
 6263|  3.15k|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (6263:13): [True: 0, False: 3.15k]
  ------------------
 6264|      0|            goto failed;
 6265|  3.15k|        Py_DECREF(value);
  ------------------
  |  |  430|  3.15k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6266|  3.15k|        break;
 6267|    760|    case Slice_kind:
  ------------------
  |  Branch (6267:5): [True: 760, False: 273k]
  ------------------
 6268|    760|        tp = (PyTypeObject *)state->Slice_type;
 6269|    760|        result = PyType_GenericNew(tp, NULL, NULL);
 6270|    760|        if (!result) goto failed;
  ------------------
  |  Branch (6270:13): [True: 0, False: 760]
  ------------------
 6271|    760|        value = ast2obj_expr(state, o->v.Slice.lower);
 6272|    760|        if (!value) goto failed;
  ------------------
  |  Branch (6272:13): [True: 0, False: 760]
  ------------------
 6273|    760|        if (PyObject_SetAttr(result, state->lower, value) == -1)
  ------------------
  |  Branch (6273:13): [True: 0, False: 760]
  ------------------
 6274|      0|            goto failed;
 6275|    760|        Py_DECREF(value);
  ------------------
  |  |  430|    760|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    760|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    760|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6276|    760|        value = ast2obj_expr(state, o->v.Slice.upper);
 6277|    760|        if (!value) goto failed;
  ------------------
  |  Branch (6277:13): [True: 0, False: 760]
  ------------------
 6278|    760|        if (PyObject_SetAttr(result, state->upper, value) == -1)
  ------------------
  |  Branch (6278:13): [True: 0, False: 760]
  ------------------
 6279|      0|            goto failed;
 6280|    760|        Py_DECREF(value);
  ------------------
  |  |  430|    760|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    760|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    760|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6281|    760|        value = ast2obj_expr(state, o->v.Slice.step);
 6282|    760|        if (!value) goto failed;
  ------------------
  |  Branch (6282:13): [True: 0, False: 760]
  ------------------
 6283|    760|        if (PyObject_SetAttr(result, state->step, value) == -1)
  ------------------
  |  Branch (6283:13): [True: 0, False: 760]
  ------------------
 6284|      0|            goto failed;
 6285|    760|        Py_DECREF(value);
  ------------------
  |  |  430|    760|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    760|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    760|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6286|    760|        break;
 6287|   274k|    }
 6288|   274k|    value = ast2obj_int(state, o->lineno);
 6289|   274k|    if (!value) goto failed;
  ------------------
  |  Branch (6289:9): [True: 0, False: 274k]
  ------------------
 6290|   274k|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (6290:9): [True: 0, False: 274k]
  ------------------
 6291|      0|        goto failed;
 6292|   274k|    Py_DECREF(value);
  ------------------
  |  |  430|   274k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   274k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   274k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6293|   274k|    value = ast2obj_int(state, o->col_offset);
 6294|   274k|    if (!value) goto failed;
  ------------------
  |  Branch (6294:9): [True: 0, False: 274k]
  ------------------
 6295|   274k|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (6295:9): [True: 0, False: 274k]
  ------------------
 6296|      0|        goto failed;
 6297|   274k|    Py_DECREF(value);
  ------------------
  |  |  430|   274k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   274k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   274k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6298|   274k|    value = ast2obj_int(state, o->end_lineno);
 6299|   274k|    if (!value) goto failed;
  ------------------
  |  Branch (6299:9): [True: 0, False: 274k]
  ------------------
 6300|   274k|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (6300:9): [True: 0, False: 274k]
  ------------------
 6301|      0|        goto failed;
 6302|   274k|    Py_DECREF(value);
  ------------------
  |  |  430|   274k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   274k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   274k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6303|   274k|    value = ast2obj_int(state, o->end_col_offset);
 6304|   274k|    if (!value) goto failed;
  ------------------
  |  Branch (6304:9): [True: 0, False: 274k]
  ------------------
 6305|   274k|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (6305:9): [True: 0, False: 274k]
  ------------------
 6306|      0|        goto failed;
 6307|   274k|    Py_DECREF(value);
  ------------------
  |  |  430|   274k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   274k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   274k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6308|   274k|    Py_LeaveRecursiveCall();
 6309|   274k|    return result;
 6310|      0|failed:
 6311|      0|    Py_LeaveRecursiveCall();
 6312|      0|    Py_XDECREF(value);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6313|      0|    Py_XDECREF(result);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6314|       |    return NULL;
 6315|   274k|}
Python-ast.c:ast2obj_boolop:
 6330|    775|{
 6331|    775|    switch(o) {
  ------------------
  |  Branch (6331:12): [True: 775, False: 0]
  ------------------
 6332|    482|        case And:
  ------------------
  |  Branch (6332:9): [True: 482, False: 293]
  ------------------
 6333|    482|            return Py_NewRef(state->And_singleton);
  ------------------
  |  |  647|    482|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    482|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    482|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6334|    293|        case Or:
  ------------------
  |  Branch (6334:9): [True: 293, False: 482]
  ------------------
 6335|    293|            return Py_NewRef(state->Or_singleton);
  ------------------
  |  |  647|    293|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    293|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    293|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6336|    775|    }
 6337|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 6338|    775|}
Python-ast.c:ast2obj_unaryop:
 6372|  97.9k|{
 6373|  97.9k|    switch(o) {
  ------------------
  |  Branch (6373:12): [True: 97.9k, False: 0]
  ------------------
 6374|  81.1k|        case Invert:
  ------------------
  |  Branch (6374:9): [True: 81.1k, False: 16.7k]
  ------------------
 6375|  81.1k|            return Py_NewRef(state->Invert_singleton);
  ------------------
  |  |  647|  81.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  81.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  81.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6376|     20|        case Not:
  ------------------
  |  Branch (6376:9): [True: 20, False: 97.8k]
  ------------------
 6377|     20|            return Py_NewRef(state->Not_singleton);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6378|  8.59k|        case UAdd:
  ------------------
  |  Branch (6378:9): [True: 8.59k, False: 89.3k]
  ------------------
 6379|  8.59k|            return Py_NewRef(state->UAdd_singleton);
  ------------------
  |  |  647|  8.59k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6380|  8.11k|        case USub:
  ------------------
  |  Branch (6380:9): [True: 8.11k, False: 89.7k]
  ------------------
 6381|  8.11k|            return Py_NewRef(state->USub_singleton);
  ------------------
  |  |  647|  8.11k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6382|  97.9k|    }
 6383|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 6384|  97.9k|}
Python-ast.c:ast2obj_comprehension:
 6413|    721|{
 6414|    721|    comprehension_ty o = (comprehension_ty)_o;
 6415|    721|    PyObject *result = NULL, *value = NULL;
 6416|    721|    PyTypeObject *tp;
 6417|    721|    if (!o) {
  ------------------
  |  Branch (6417:9): [True: 0, False: 721]
  ------------------
 6418|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6419|      0|    }
 6420|    721|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (6420:9): [True: 0, False: 721]
  ------------------
 6421|      0|        return NULL;
 6422|      0|    }
 6423|    721|    tp = (PyTypeObject *)state->comprehension_type;
 6424|    721|    result = PyType_GenericNew(tp, NULL, NULL);
 6425|    721|    if (!result) return NULL;
  ------------------
  |  Branch (6425:9): [True: 0, False: 721]
  ------------------
 6426|    721|    value = ast2obj_expr(state, o->target);
 6427|    721|    if (!value) goto failed;
  ------------------
  |  Branch (6427:9): [True: 0, False: 721]
  ------------------
 6428|    721|    if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (6428:9): [True: 0, False: 721]
  ------------------
 6429|      0|        goto failed;
 6430|    721|    Py_DECREF(value);
  ------------------
  |  |  430|    721|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    721|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    721|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6431|    721|    value = ast2obj_expr(state, o->iter);
 6432|    721|    if (!value) goto failed;
  ------------------
  |  Branch (6432:9): [True: 0, False: 721]
  ------------------
 6433|    721|    if (PyObject_SetAttr(result, state->iter, value) == -1)
  ------------------
  |  Branch (6433:9): [True: 0, False: 721]
  ------------------
 6434|      0|        goto failed;
 6435|    721|    Py_DECREF(value);
  ------------------
  |  |  430|    721|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    721|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    721|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6436|    721|    value = ast2obj_list(state, (asdl_seq*)o->ifs, ast2obj_expr);
 6437|    721|    if (!value) goto failed;
  ------------------
  |  Branch (6437:9): [True: 0, False: 721]
  ------------------
 6438|    721|    if (PyObject_SetAttr(result, state->ifs, value) == -1)
  ------------------
  |  Branch (6438:9): [True: 0, False: 721]
  ------------------
 6439|      0|        goto failed;
 6440|    721|    Py_DECREF(value);
  ------------------
  |  |  430|    721|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    721|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    721|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6441|    721|    value = ast2obj_int(state, o->is_async);
 6442|    721|    if (!value) goto failed;
  ------------------
  |  Branch (6442:9): [True: 0, False: 721]
  ------------------
 6443|    721|    if (PyObject_SetAttr(result, state->is_async, value) == -1)
  ------------------
  |  Branch (6443:9): [True: 0, False: 721]
  ------------------
 6444|      0|        goto failed;
 6445|    721|    Py_DECREF(value);
  ------------------
  |  |  430|    721|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    721|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    721|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6446|    721|    Py_LeaveRecursiveCall();
 6447|    721|    return result;
 6448|      0|failed:
 6449|      0|    Py_LeaveRecursiveCall();
 6450|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6451|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6452|       |    return NULL;
 6453|    721|}
Python-ast.c:ast2obj_cmpop:
 6386|  5.63k|{
 6387|  5.63k|    switch(o) {
  ------------------
  |  Branch (6387:12): [True: 5.63k, False: 0]
  ------------------
 6388|    369|        case Eq:
  ------------------
  |  Branch (6388:9): [True: 369, False: 5.26k]
  ------------------
 6389|    369|            return Py_NewRef(state->Eq_singleton);
  ------------------
  |  |  647|    369|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    369|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    369|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6390|    208|        case NotEq:
  ------------------
  |  Branch (6390:9): [True: 208, False: 5.42k]
  ------------------
 6391|    208|            return Py_NewRef(state->NotEq_singleton);
  ------------------
  |  |  647|    208|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    208|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    208|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6392|  1.40k|        case Lt:
  ------------------
  |  Branch (6392:9): [True: 1.40k, False: 4.22k]
  ------------------
 6393|  1.40k|            return Py_NewRef(state->Lt_singleton);
  ------------------
  |  |  647|  1.40k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6394|    521|        case LtE:
  ------------------
  |  Branch (6394:9): [True: 521, False: 5.11k]
  ------------------
 6395|    521|            return Py_NewRef(state->LtE_singleton);
  ------------------
  |  |  647|    521|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    521|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    521|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6396|  1.59k|        case Gt:
  ------------------
  |  Branch (6396:9): [True: 1.59k, False: 4.04k]
  ------------------
 6397|  1.59k|            return Py_NewRef(state->Gt_singleton);
  ------------------
  |  |  647|  1.59k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6398|    400|        case GtE:
  ------------------
  |  Branch (6398:9): [True: 400, False: 5.23k]
  ------------------
 6399|    400|            return Py_NewRef(state->GtE_singleton);
  ------------------
  |  |  647|    400|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    400|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    400|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6400|    249|        case Is:
  ------------------
  |  Branch (6400:9): [True: 249, False: 5.38k]
  ------------------
 6401|    249|            return Py_NewRef(state->Is_singleton);
  ------------------
  |  |  647|    249|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    249|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    249|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6402|     49|        case IsNot:
  ------------------
  |  Branch (6402:9): [True: 49, False: 5.58k]
  ------------------
 6403|     49|            return Py_NewRef(state->IsNot_singleton);
  ------------------
  |  |  647|     49|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6404|    563|        case In:
  ------------------
  |  Branch (6404:9): [True: 563, False: 5.07k]
  ------------------
 6405|    563|            return Py_NewRef(state->In_singleton);
  ------------------
  |  |  647|    563|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    563|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    563|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6406|    274|        case NotIn:
  ------------------
  |  Branch (6406:9): [True: 274, False: 5.36k]
  ------------------
 6407|    274|            return Py_NewRef(state->NotIn_singleton);
  ------------------
  |  |  647|    274|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6408|  5.63k|    }
 6409|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 6410|  5.63k|}
Python-ast.c:ast2obj_expr_context:
 6318|  50.7k|{
 6319|  50.7k|    switch(o) {
  ------------------
  |  Branch (6319:12): [True: 50.7k, False: 0]
  ------------------
 6320|  44.0k|        case Load:
  ------------------
  |  Branch (6320:9): [True: 44.0k, False: 6.71k]
  ------------------
 6321|  44.0k|            return Py_NewRef(state->Load_singleton);
  ------------------
  |  |  647|  44.0k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  44.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6322|  6.45k|        case Store:
  ------------------
  |  Branch (6322:9): [True: 6.45k, False: 44.3k]
  ------------------
 6323|  6.45k|            return Py_NewRef(state->Store_singleton);
  ------------------
  |  |  647|  6.45k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6324|    262|        case Del:
  ------------------
  |  Branch (6324:9): [True: 262, False: 50.5k]
  ------------------
 6325|    262|            return Py_NewRef(state->Del_singleton);
  ------------------
  |  |  647|    262|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    262|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    262|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6326|  50.7k|    }
 6327|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 6328|  50.7k|}

PyInit__tokenize:
  439|      1|{
  440|      1|    return PyModuleDef_Init(&_tokenizemodule);
  441|      1|}
Python-tokenize.c:tokenizemodule_exec:
  375|      1|{
  376|      1|    tokenize_state *state = get_tokenize_state(m);
  377|      1|    if (state == NULL) {
  ------------------
  |  Branch (377:9): [True: 0, False: 1]
  ------------------
  378|      0|        return -1;
  379|      0|    }
  380|       |
  381|      1|    state->TokenizerIter = (PyTypeObject *)PyType_FromModuleAndSpec(m, &tokenizeriter_spec, NULL);
  382|      1|    if (state->TokenizerIter == NULL) {
  ------------------
  |  Branch (382:9): [True: 0, False: 1]
  ------------------
  383|      0|        return -1;
  384|      0|    }
  385|      1|    if (PyModule_AddType(m, state->TokenizerIter) < 0) {
  ------------------
  |  Branch (385:9): [True: 0, False: 1]
  ------------------
  386|      0|        return -1;
  387|      0|    }
  388|       |
  389|      1|    return 0;
  390|      1|}
Python-tokenize.c:get_tokenize_state:
   14|     21|get_tokenize_state(PyObject *module) {
   15|     21|    return (tokenize_state *)PyModule_GetState(module);
   16|     21|}
Python-tokenize.c:tokenizemodule_traverse:
  406|     20|{
  407|     20|    tokenize_state *state = get_tokenize_state(m);
  408|     20|    Py_VISIT(state->TokenizerIter);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  409|     20|    return 0;
  410|     20|}

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

_PyWarnings_InitState:
  140|      2|{
  141|      2|    WarningsState *st = &interp->warnings;
  142|       |
  143|      2|    if (st->filters == NULL) {
  ------------------
  |  Branch (143:9): [True: 2, False: 0]
  ------------------
  144|      2|        st->filters = init_filters(interp);
  145|      2|        if (st->filters == NULL) {
  ------------------
  |  Branch (145:13): [True: 0, False: 2]
  ------------------
  146|      0|            return -1;
  147|      0|        }
  148|      2|        PyUnstable_EnableTryIncRef(st->filters);
  149|      2|    }
  150|       |
  151|      2|    if (st->once_registry == NULL) {
  ------------------
  |  Branch (151:9): [True: 2, False: 0]
  ------------------
  152|      2|        st->once_registry = PyDict_New();
  153|      2|        if (st->once_registry == NULL) {
  ------------------
  |  Branch (153:13): [True: 0, False: 2]
  ------------------
  154|      0|            return -1;
  155|      0|        }
  156|      2|        PyUnstable_EnableTryIncRef(st->once_registry);
  157|      2|    }
  158|       |
  159|      2|    if (st->default_action == NULL) {
  ------------------
  |  Branch (159:9): [True: 2, False: 0]
  ------------------
  160|      2|        st->default_action = PyUnicode_FromString("default");
  161|      2|        if (st->default_action == NULL) {
  ------------------
  |  Branch (161:13): [True: 0, False: 2]
  ------------------
  162|      0|            return -1;
  163|      0|        }
  164|      2|        PyUnstable_EnableTryIncRef(st->default_action);
  165|      2|    }
  166|       |
  167|      2|    if (st->context == NULL) {
  ------------------
  |  Branch (167:9): [True: 2, False: 0]
  ------------------
  168|      2|        st->context = PyContextVar_New("_warnings_context", NULL);
  169|      2|        if (st->context == NULL) {
  ------------------
  |  Branch (169:13): [True: 0, False: 2]
  ------------------
  170|      0|            return -1;
  171|      0|        }
  172|      2|    }
  173|       |
  174|      2|    st->filters_version = 0;
  175|      2|    return 0;
  176|      2|}
PyErr_WarnExplicitObject:
 1590|  41.4k|{
 1591|  41.4k|    PyObject *res;
 1592|  41.4k|    if (category == NULL)
  ------------------
  |  Branch (1592:9): [True: 0, False: 41.4k]
  ------------------
 1593|      0|        category = PyExc_RuntimeWarning;
 1594|  41.4k|    PyThreadState *tstate = get_current_tstate();
 1595|  41.4k|    if (tstate == NULL) {
  ------------------
  |  Branch (1595:9): [True: 0, False: 41.4k]
  ------------------
 1596|      0|        return -1;
 1597|      0|    }
 1598|       |
 1599|  41.4k|    res = warn_explicit(tstate, category, message, filename, lineno,
 1600|  41.4k|                        module, registry, NULL, NULL);
 1601|  41.4k|    if (res == NULL)
  ------------------
  |  Branch (1601:9): [True: 0, False: 41.4k]
  ------------------
 1602|      0|        return -1;
 1603|  41.4k|    Py_DECREF(res);
  ------------------
  |  |  430|  41.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1604|  41.4k|    return 0;
 1605|  41.4k|}
_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|   165k|{
   66|   165k|    return &interp->warnings;
   67|   165k|}
_warnings.c:get_current_tstate:
   53|  41.4k|{
   54|  41.4k|    PyThreadState *tstate = _PyThreadState_GET();
   55|  41.4k|    if (tstate == NULL) {
  ------------------
  |  Branch (55:9): [True: 0, False: 41.4k]
  ------------------
   56|      0|        (void)check_interp(NULL);
   57|      0|        return NULL;
   58|      0|    }
   59|  41.4k|    return check_interp(tstate->interp) ? tstate : NULL;
  ------------------
  |  Branch (59:12): [True: 41.4k, False: 0]
  ------------------
   60|  41.4k|}
_warnings.c:check_interp:
   34|  41.4k|{
   35|  41.4k|    if (interp == NULL) {
  ------------------
  |  Branch (35:9): [True: 0, False: 41.4k]
  ------------------
   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|  41.4k|    return 1;
   42|  41.4k|}
_warnings.c:warn_explicit:
  894|  41.4k|{
  895|  41.4k|    PyObject *key = NULL, *text = NULL, *result = NULL, *lineno_obj = NULL;
  896|  41.4k|    PyObject *item = NULL, *action = NULL;
  897|  41.4k|    PyObject *altkey = NULL, *once_registry = NULL;
  898|  41.4k|    int rc;
  899|  41.4k|    PyInterpreterState *interp = tstate->interp;
  900|       |
  901|       |    /* module can be None if a warning is emitted late during Python shutdown.
  902|       |       In this case, the Python warnings module was probably unloaded, filters
  903|       |       are no more available to choose as action. It is safer to ignore the
  904|       |       warning and do nothing. */
  905|  41.4k|    if (module == Py_None)
  ------------------
  |  |  616|  41.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (905:9): [True: 0, False: 41.4k]
  ------------------
  906|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  907|       |
  908|  41.4k|    if (registry && !PyDict_Check(registry) && (registry != Py_None)) {
  ------------------
  |  |   18|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  41.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (registry && !PyDict_Check(registry) && (registry != Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (908:9): [True: 0, False: 41.4k]
  |  Branch (908:21): [True: 0, False: 0]
  |  Branch (908:48): [True: 0, False: 0]
  ------------------
  909|      0|        PyErr_SetString(PyExc_TypeError, "'registry' must be a dict or None");
  910|      0|        return NULL;
  911|      0|    }
  912|       |
  913|       |    /* Normalize message. */
  914|  41.4k|    Py_INCREF(message);  /* DECREF'ed in cleanup. */
  ------------------
  |  |  310|  41.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  915|  41.4k|    if (PyObject_TypeCheck(message, (PyTypeObject *)PyExc_Warning)) {
  ------------------
  |  |  378|  41.4k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (378:40): [True: 0, False: 41.4k]
  |  |  ------------------
  ------------------
  916|      0|        text = PyObject_Str(message);
  917|      0|        if (text == NULL)
  ------------------
  |  Branch (917:13): [True: 0, False: 0]
  ------------------
  918|      0|            goto cleanup;
  919|      0|        category = (PyObject*)Py_TYPE(message);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  920|      0|    }
  921|  41.4k|    else {
  922|  41.4k|        text = message;
  923|  41.4k|        message = PyObject_CallOneArg(category, message);
  924|  41.4k|        if (message == NULL)
  ------------------
  |  Branch (924:13): [True: 0, False: 41.4k]
  ------------------
  925|      0|            goto cleanup;
  926|  41.4k|    }
  927|       |
  928|  41.4k|    lineno_obj = PyLong_FromLong(lineno);
  929|  41.4k|    if (lineno_obj == NULL)
  ------------------
  |  Branch (929:9): [True: 0, False: 41.4k]
  ------------------
  930|      0|        goto cleanup;
  931|       |
  932|  41.4k|    if (source == Py_None) {
  ------------------
  |  |  616|  41.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (932:9): [True: 0, False: 41.4k]
  ------------------
  933|      0|        source = NULL;
  934|      0|    }
  935|       |
  936|       |    /* Create key. */
  937|  41.4k|    key = PyTuple_Pack(3, text, category, lineno_obj);
  938|  41.4k|    if (key == NULL)
  ------------------
  |  Branch (938:9): [True: 0, False: 41.4k]
  ------------------
  939|      0|        goto cleanup;
  940|       |
  941|       |    /* The warnings lock is not held.  'version' ties the registry updates
  942|       |       to the filters searched; a result from filters that changed since is
  943|       |       never recorded. */
  944|  41.4k|    Py_ssize_t version;
  945|  41.4k|    if ((registry != NULL) && (registry != Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (945:9): [True: 0, False: 41.4k]
  |  Branch (945:31): [True: 0, False: 0]
  ------------------
  946|      0|        rc = already_warned(interp, registry, key, &version);
  947|      0|        if (rc == -1)
  ------------------
  |  Branch (947:13): [True: 0, False: 0]
  ------------------
  948|      0|            goto cleanup;
  949|      0|        else if (rc == 1)
  ------------------
  |  Branch (949:18): [True: 0, False: 0]
  ------------------
  950|      0|            goto return_none;
  951|       |        /* Else this warning hasn't been generated before. */
  952|      0|    }
  953|  41.4k|    else {
  954|  41.4k|        registry = NULL;
  955|  41.4k|        WarningsState *st = warnings_get_state(interp);
  956|  41.4k|        version = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(st->filters_version);
  ------------------
  |  |  150|  41.4k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  957|  41.4k|    }
  958|       |
  959|  41.4k|    action = get_filter(interp, category, text, lineno, module, filename, &item);
  960|  41.4k|    if (action == NULL)
  ------------------
  |  Branch (960:9): [True: 0, False: 41.4k]
  ------------------
  961|      0|        goto cleanup;
  962|       |
  963|  41.4k|    if (_PyUnicode_EqualToASCIIString(action, "error")) {
  ------------------
  |  Branch (963:9): [True: 0, False: 41.4k]
  ------------------
  964|      0|        PyErr_SetObject(category, message);
  965|      0|        goto cleanup;
  966|      0|    }
  967|       |
  968|  41.4k|    if (_PyUnicode_EqualToASCIIString(action, "ignore")) {
  ------------------
  |  Branch (968:9): [True: 0, False: 41.4k]
  ------------------
  969|      0|        goto return_none;
  970|      0|    }
  971|       |
  972|       |    /* Store in the registry that we've been here, *except* when the action
  973|       |       is "always" or "all". */
  974|  41.4k|    if (!_PyUnicode_EqualToASCIIString(action, "always") && !_PyUnicode_EqualToASCIIString(action, "all")) {
  ------------------
  |  Branch (974:9): [True: 41.4k, False: 0]
  |  Branch (974:61): [True: 41.4k, False: 0]
  ------------------
  975|  41.4k|        bool is_once = _PyUnicode_EqualToASCIIString(action, "once");
  976|  41.4k|        bool is_module = _PyUnicode_EqualToASCIIString(action, "module");
  977|  41.4k|        if (!is_once && !is_module &&
  ------------------
  |  Branch (977:13): [True: 41.4k, False: 0]
  |  Branch (977:25): [True: 41.4k, False: 0]
  ------------------
  978|  41.4k|            !_PyUnicode_EqualToASCIIString(action, "default"))
  ------------------
  |  Branch (978:13): [True: 0, False: 41.4k]
  ------------------
  979|      0|        {
  980|      0|            PyErr_Format(PyExc_RuntimeError,
  981|      0|                        "Unrecognized action (%R) in warnings.filters:\n %R",
  982|      0|                        action, item);
  983|      0|            goto cleanup;
  984|      0|        }
  985|       |
  986|  41.4k|        if (is_once && registry == NULL) {
  ------------------
  |  Branch (986:13): [True: 0, False: 41.4k]
  |  Branch (986:24): [True: 0, False: 0]
  ------------------
  987|       |            /* WarningsState.once_registry[(text, category)] = 1 */
  988|      0|            once_registry = get_once_registry(interp);
  989|      0|            if (once_registry == NULL)
  ------------------
  |  Branch (989:17): [True: 0, False: 0]
  ------------------
  990|      0|                goto cleanup;
  991|      0|            altkey = _PyTuple_FromPair(text, category);
  992|      0|            if (altkey == NULL)
  ------------------
  |  Branch (992:17): [True: 0, False: 0]
  ------------------
  993|      0|                goto cleanup;
  994|      0|            rc = record_warning(interp, once_registry, NULL, altkey, version);
  995|      0|        }
  996|  41.4k|        else if (registry != NULL) {
  ------------------
  |  Branch (996:18): [True: 0, False: 41.4k]
  ------------------
  997|       |            /* registry[key] = 1, and for "once" and "module" also
  998|       |               registry[(text, category)] = 1 */
  999|      0|            if (is_once || is_module) {
  ------------------
  |  Branch (999:17): [True: 0, False: 0]
  |  Branch (999:28): [True: 0, False: 0]
  ------------------
 1000|      0|                altkey = _PyTuple_FromPair(text, category);
 1001|      0|                if (altkey == NULL)
  ------------------
  |  Branch (1001:21): [True: 0, False: 0]
  ------------------
 1002|      0|                    goto cleanup;
 1003|      0|            }
 1004|      0|            rc = record_warning(interp, registry, key, altkey, version);
 1005|      0|        }
 1006|  41.4k|        else {
 1007|  41.4k|            rc = 0;
 1008|  41.4k|        }
 1009|  41.4k|        if (rc == -1)
  ------------------
  |  Branch (1009:13): [True: 0, False: 41.4k]
  ------------------
 1010|      0|            goto cleanup;
 1011|  41.4k|        if (rc == 1)  /* Already warned for this module. */
  ------------------
  |  Branch (1011:13): [True: 0, False: 41.4k]
  ------------------
 1012|      0|            goto return_none;
 1013|  41.4k|    }
 1014|       |
 1015|  41.4k|    if (call_show_warning(tstate, category, text, message, filename,
  ------------------
  |  Branch (1015:9): [True: 0, False: 41.4k]
  ------------------
 1016|  41.4k|                          lineno, lineno_obj, sourceline, source, module) < 0)
 1017|      0|        goto cleanup;
 1018|       |
 1019|  41.4k| return_none:
 1020|  41.4k|    result = Py_NewRef(Py_None);
  ------------------
  |  |  647|  41.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1021|       |
 1022|  41.4k| cleanup:
 1023|  41.4k|    Py_XDECREF(once_registry);
  ------------------
  |  |  621|  41.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1024|  41.4k|    Py_XDECREF(altkey);
  ------------------
  |  |  621|  41.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1025|  41.4k|    Py_XDECREF(action);
  ------------------
  |  |  621|  41.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1026|  41.4k|    Py_XDECREF(item);
  ------------------
  |  |  621|  41.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1027|  41.4k|    Py_XDECREF(key);
  ------------------
  |  |  621|  41.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1028|  41.4k|    Py_XDECREF(text);
  ------------------
  |  |  621|  41.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1029|  41.4k|    Py_XDECREF(lineno_obj);
  ------------------
  |  |  621|  41.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1030|  41.4k|    Py_XDECREF(message);
  ------------------
  |  |  621|  41.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1031|  41.4k|    return result;  /* Py_None or NULL. */
 1032|  41.4k|}
_warnings.c:get_filter:
  570|  41.4k|{
  571|       |    /* check _warning_context _filters list */
  572|  41.4k|    PyObject *context_filters = get_warnings_context_filters(interp);
  573|  41.4k|    if (context_filters == NULL) {
  ------------------
  |  Branch (573:9): [True: 0, False: 41.4k]
  ------------------
  574|      0|        return NULL;
  575|      0|    }
  576|  41.4k|    bool use_global_filters = false;
  577|  41.4k|    if (context_filters == Py_None) {
  ------------------
  |  |  616|  41.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (577:9): [True: 41.4k, False: 0]
  ------------------
  578|  41.4k|        use_global_filters = true;
  579|  41.4k|    } else {
  580|      0|        PyObject *context_action = NULL;
  581|      0|        if (!filter_search(interp, category, text, lineno, module, filename, "_warnings_context _filters",
  ------------------
  |  Branch (581:13): [True: 0, False: 0]
  ------------------
  582|      0|                           context_filters, item, &context_action)) {
  583|      0|            Py_DECREF(context_filters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  584|      0|            return NULL;
  585|      0|        }
  586|      0|        Py_DECREF(context_filters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  587|      0|        if (context_action != NULL) {
  ------------------
  |  Branch (587:13): [True: 0, False: 0]
  ------------------
  588|      0|            return Py_NewRef(context_action);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  589|      0|        }
  590|      0|    }
  591|       |
  592|  41.4k|    PyObject *action;
  593|       |
  594|  41.4k|    if (use_global_filters) {
  ------------------
  |  Branch (594:9): [True: 41.4k, False: 0]
  ------------------
  595|       |        /* check warnings.filters list */
  596|  41.4k|        PyObject *filters = get_warnings_filters(interp);
  597|  41.4k|        if (filters == NULL) {
  ------------------
  |  Branch (597:13): [True: 0, False: 41.4k]
  ------------------
  598|      0|            return NULL;
  599|      0|        }
  600|  41.4k|        bool ok = filter_search(interp, category, text, lineno, module,
  601|  41.4k|                                filename, "filters", filters, item, &action);
  602|  41.4k|        Py_DECREF(filters);
  ------------------
  |  |  430|  41.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  603|  41.4k|        if (!ok) {
  ------------------
  |  Branch (603:13): [True: 0, False: 41.4k]
  ------------------
  604|      0|            return NULL;
  605|      0|        }
  606|  41.4k|        if (action != NULL) {
  ------------------
  |  Branch (606:13): [True: 0, False: 41.4k]
  ------------------
  607|      0|            return Py_NewRef(action);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      0|        }
  609|  41.4k|    }
  610|       |
  611|  41.4k|    action = get_default_action(interp);
  612|  41.4k|    if (action != NULL) {
  ------------------
  |  Branch (612:9): [True: 41.4k, False: 0]
  ------------------
  613|  41.4k|        *item = Py_NewRef(Py_None);
  ------------------
  |  |  647|  41.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  614|  41.4k|        return action;
  615|  41.4k|    }
  616|       |
  617|      0|    return NULL;
  618|  41.4k|}
_warnings.c:get_warnings_context_filters:
  320|  41.4k|{
  321|  41.4k|    PyObject *ctx = get_warnings_context(interp);
  322|  41.4k|    if (ctx == NULL) {
  ------------------
  |  Branch (322:9): [True: 0, False: 41.4k]
  ------------------
  323|      0|        return NULL;
  324|      0|    }
  325|  41.4k|    if (ctx == Py_None) {
  ------------------
  |  |  616|  41.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (325:9): [True: 41.4k, False: 0]
  ------------------
  326|  41.4k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  41.4k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  41.4k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  327|  41.4k|    }
  328|      0|    PyObject *context_filters = PyObject_GetAttr(ctx, &_Py_ID(_filters));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  329|      0|    Py_DECREF(ctx);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  330|      0|    if (context_filters == NULL) {
  ------------------
  |  Branch (330:9): [True: 0, False: 0]
  ------------------
  331|      0|        return NULL;
  332|      0|    }
  333|      0|    if (!PyList_Check(context_filters)) {
  ------------------
  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (333:9): [True: 0, False: 0]
  ------------------
  334|      0|        PyErr_SetString(PyExc_ValueError,
  335|      0|                        "_filters of warnings._warnings_context must be a list");
  336|      0|        Py_DECREF(context_filters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  337|      0|        return NULL;
  338|      0|    }
  339|      0|    return context_filters;
  340|      0|}
_warnings.c:get_warnings_context:
  305|  41.4k|{
  306|  41.4k|    WarningsState *st = warnings_get_state(interp);
  307|  41.4k|    assert(PyContextVar_CheckExact(st->context));
  ------------------
  |  Branch (307:5): [True: 41.4k, False: 0]
  ------------------
  308|  41.4k|    PyObject *ctx;
  309|  41.4k|    if (PyContextVar_Get(st->context, NULL, &ctx) < 0) {
  ------------------
  |  Branch (309:9): [True: 0, False: 41.4k]
  ------------------
  310|      0|        return NULL;
  311|      0|    }
  312|  41.4k|    if (ctx == NULL) {
  ------------------
  |  Branch (312:9): [True: 41.4k, False: 0]
  ------------------
  313|  41.4k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  41.4k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  41.4k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  314|  41.4k|    }
  315|      0|    return ctx;
  316|  41.4k|}
_warnings.c:filter_search:
  489|  41.4k|              PyObject **item, PyObject **matched_action) {
  490|  41.4k|    bool result = true;
  491|  41.4k|    *matched_action = NULL;
  492|       |    /* Avoid the filters list changing while we iterate over it. */
  493|  41.4k|    Py_BEGIN_CRITICAL_SECTION(filters);
  ------------------
  |  |   51|  41.4k|    {
  ------------------
  494|   248k|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(filters); i++) {
  ------------------
  |  |   38|   248k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   248k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   248k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (494:28): [True: 207k, False: 41.4k]
  ------------------
  495|   207k|        PyObject *tmp_item, *action, *msg, *cat, *mod, *ln_obj;
  496|   207k|        Py_ssize_t ln;
  497|   207k|        int is_subclass, good_msg, good_mod;
  498|       |
  499|   207k|        tmp_item = PyList_GET_ITEM(filters, i);
  ------------------
  |  |   40|   207k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|   207k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (499:20): [True: 207k, False: 0]
  ------------------
  500|   207k|        if (!PyTuple_Check(tmp_item) || PyTuple_GET_SIZE(tmp_item) != 5) {
  ------------------
  |  |   27|   207k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   414k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      if (!PyTuple_Check(tmp_item) || PyTuple_GET_SIZE(tmp_item) != 5) {
  ------------------
  |  |   27|   207k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (500:13): [True: 0, False: 207k]
  |  Branch (500:41): [True: 0, False: 207k]
  ------------------
  501|      0|            PyErr_Format(PyExc_ValueError,
  502|      0|                         "warnings.%s item %zd isn't a 5-tuple", list_name, i);
  503|      0|            result = false;
  504|      0|            break;
  505|      0|        }
  506|       |
  507|       |        /* Python code: action, msg, cat, mod, ln = item */
  508|   207k|        Py_INCREF(tmp_item);
  ------------------
  |  |  310|   207k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  509|   207k|        action = PyTuple_GET_ITEM(tmp_item, 0);
  ------------------
  |  |   29|   207k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   207k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (509:18): [True: 207k, False: 0]
  ------------------
  510|   207k|        msg = PyTuple_GET_ITEM(tmp_item, 1);
  ------------------
  |  |   29|   207k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   207k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (510:15): [True: 207k, False: 0]
  ------------------
  511|   207k|        cat = PyTuple_GET_ITEM(tmp_item, 2);
  ------------------
  |  |   29|   207k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   207k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (511:15): [True: 207k, False: 0]
  ------------------
  512|   207k|        mod = PyTuple_GET_ITEM(tmp_item, 3);
  ------------------
  |  |   29|   207k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   207k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (512:15): [True: 207k, False: 0]
  ------------------
  513|   207k|        ln_obj = PyTuple_GET_ITEM(tmp_item, 4);
  ------------------
  |  |   29|   207k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   207k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (513:18): [True: 207k, False: 0]
  ------------------
  514|       |
  515|   207k|        if (!PyUnicode_Check(action)) {
  ------------------
  |  |  103|   207k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   207k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (515:13): [True: 0, False: 207k]
  ------------------
  516|      0|            PyErr_Format(PyExc_TypeError,
  517|      0|                         "action must be a string, not '%.200s'",
  518|      0|                         Py_TYPE(action)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|      0|            Py_DECREF(tmp_item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  520|      0|            result = false;
  521|      0|            break;
  522|      0|        }
  523|       |
  524|   207k|        good_msg = check_matched(interp, msg, text, NULL);
  525|   207k|        if (good_msg == -1) {
  ------------------
  |  Branch (525:13): [True: 0, False: 207k]
  ------------------
  526|      0|            Py_DECREF(tmp_item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  527|      0|            result = false;
  528|      0|            break;
  529|      0|        }
  530|       |
  531|   207k|        good_mod = check_matched(interp, mod, module, filename);
  532|   207k|        if (good_mod == -1) {
  ------------------
  |  Branch (532:13): [True: 0, False: 207k]
  ------------------
  533|      0|            Py_DECREF(tmp_item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|      0|            result = false;
  535|      0|            break;
  536|      0|        }
  537|       |
  538|   207k|        is_subclass = PyObject_IsSubclass(category, cat);
  539|   207k|        if (is_subclass == -1) {
  ------------------
  |  Branch (539:13): [True: 0, False: 207k]
  ------------------
  540|      0|            Py_DECREF(tmp_item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  541|      0|            result = false;
  542|      0|            break;
  543|      0|        }
  544|       |
  545|   207k|        ln = PyLong_AsSsize_t(ln_obj);
  546|   207k|        if (ln == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (546:13): [True: 0, False: 207k]
  |  Branch (546:25): [True: 0, False: 0]
  ------------------
  547|      0|            Py_DECREF(tmp_item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  548|      0|            result = false;
  549|      0|            break;
  550|      0|        }
  551|       |
  552|   207k|        if (good_msg && is_subclass && good_mod && (ln == 0 || lineno == ln)) {
  ------------------
  |  Branch (552:13): [True: 207k, False: 0]
  |  Branch (552:25): [True: 0, False: 207k]
  |  Branch (552:40): [True: 0, False: 0]
  |  Branch (552:53): [True: 0, False: 0]
  |  Branch (552:64): [True: 0, False: 0]
  ------------------
  553|      0|            *item = tmp_item;
  554|      0|            *matched_action = action;
  555|      0|            result = true;
  556|      0|            break;
  557|      0|        }
  558|       |
  559|   207k|        Py_DECREF(tmp_item);
  ------------------
  |  |  430|   207k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  560|   207k|    }
  561|  41.4k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  41.4k|    }
  ------------------
  562|  41.4k|    return result;
  563|  41.4k|}
_warnings.c:check_matched:
  183|   414k|{
  184|   414k|    PyObject *result;
  185|   414k|    int rc;
  186|       |
  187|       |    /* A 'None' filter always matches */
  188|   414k|    if (obj == Py_None)
  ------------------
  |  |  616|   414k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (188:9): [True: 372k, False: 41.4k]
  ------------------
  189|   372k|        return 1;
  190|       |
  191|       |    /* An internal plain text default filter must match exactly */
  192|  41.4k|    if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|  41.4k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  41.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 41.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  193|  41.4k|        if (arg == NULL) {
  ------------------
  |  Branch (193:13): [True: 41.4k, False: 0]
  ------------------
  194|  41.4k|            return 0;
  195|  41.4k|        }
  196|      0|        int cmp_result = PyUnicode_Compare(obj, arg);
  197|      0|        if (cmp_result == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (197:13): [True: 0, False: 0]
  |  Branch (197:33): [True: 0, False: 0]
  ------------------
  198|      0|            return -1;
  199|      0|        }
  200|      0|        return !cmp_result;
  201|      0|    }
  202|       |
  203|       |    /* Otherwise assume a regex filter and call its match() method */
  204|      0|    if (arg != NULL) {
  ------------------
  |  Branch (204:9): [True: 0, False: 0]
  ------------------
  205|      0|        result = PyObject_CallMethodOneArg(obj, &_Py_ID(match), arg);
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  206|      0|    }
  207|      0|    else {
  208|      0|        PyObject *match = PyImport_ImportModuleAttrString("_py_warnings", "_match_filename");
  209|      0|        if (match == NULL) {
  ------------------
  |  Branch (209:13): [True: 0, False: 0]
  ------------------
  210|      0|            return -1;
  211|      0|        }
  212|      0|        result = PyObject_CallFunctionObjArgs(match, obj, arg2, NULL);
  213|      0|        Py_DECREF(match);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|      0|    }
  215|      0|    if (result == NULL)
  ------------------
  |  Branch (215:9): [True: 0, False: 0]
  ------------------
  216|      0|        return -1;
  217|      0|    rc = PyObject_IsTrue(result);
  218|      0|    Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  219|      0|    return rc;
  220|      0|}
_warnings.c:get_warnings_filters:
  368|  41.4k|{
  369|  41.4k|    WarningsState *st = warnings_get_state(interp);
  370|  41.4k|    PyObject *warnings_filters = GET_WARNINGS_ATTR(interp, filters, 0);
  ------------------
  |  |  223|  41.4k|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  951|  41.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  41.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  41.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|  41.4k|    if (warnings_filters == NULL) {
  ------------------
  |  Branch (371:9): [True: 1, False: 41.4k]
  ------------------
  372|      1|        if (PyErr_Occurred())
  ------------------
  |  Branch (372:13): [True: 0, False: 1]
  ------------------
  373|      0|            return NULL;
  374|      1|        warnings_filters = get_state_ref(&st->filters);
  375|      1|    }
  376|  41.4k|    else {
  377|  41.4k|        update_state_ref(&st->filters, warnings_filters);
  378|  41.4k|    }
  379|       |
  380|  41.4k|    PyObject *filters = warnings_filters;
  381|  41.4k|    if (filters == NULL || !PyList_Check(filters)) {
  ------------------
  |  |   25|  41.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  41.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (381:9): [True: 0, False: 41.4k]
  |  Branch (381:28): [True: 0, False: 41.4k]
  ------------------
  382|      0|        PyErr_SetString(PyExc_ValueError,
  383|      0|                        MODULE_NAME ".filters must be a list");
  ------------------
  |  |   21|      0|#define MODULE_NAME "_warnings"
  ------------------
  384|      0|        Py_XDECREF(filters);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|      0|        return NULL;
  386|      0|    }
  387|  41.4k|    return filters;
  388|  41.4k|}
_warnings.c:get_state_ref:
  357|      2|{
  358|       |#ifdef Py_GIL_DISABLED
  359|       |    return _Py_XGetRef(ptr);
  360|       |#else
  361|      2|    return Py_XNewRef(*ptr);
  ------------------
  |  |  648|      2|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  362|      2|#endif
  363|      2|}
_warnings.c:update_state_ref:
  345|  82.8k|{
  346|  82.8k|    if (FT_ATOMIC_LOAD_PTR_ACQUIRE(*ptr) == value) {
  ------------------
  |  |  152|  82.8k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  |  Branch (346:9): [True: 82.8k, False: 0]
  ------------------
  347|  82.8k|        return;
  348|  82.8k|    }
  349|      0|    PyUnstable_EnableTryIncRef(value);
  350|      0|    PyObject *old = _Py_atomic_exchange_ptr(ptr, Py_NewRef(value));
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  351|      0|    Py_XDECREF(old);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|      0|}
_warnings.c:get_default_action:
  458|  41.4k|{
  459|  41.4k|    WarningsState *st = warnings_get_state(interp);
  460|  41.4k|    assert(st != NULL);
  ------------------
  |  Branch (460:5): [True: 41.4k, False: 0]
  ------------------
  461|       |
  462|  41.4k|    PyObject *default_action = GET_WARNINGS_ATTR(interp, defaultaction, 0);
  ------------------
  |  |  223|  41.4k|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  951|  41.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  41.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  41.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  463|  41.4k|    if (default_action == NULL) {
  ------------------
  |  Branch (463:9): [True: 1, False: 41.4k]
  ------------------
  464|      1|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (464:13): [True: 0, False: 1]
  ------------------
  465|      0|            return NULL;
  466|      0|        }
  467|      1|        default_action = get_state_ref(&st->default_action);
  468|      1|        assert(default_action != NULL);
  ------------------
  |  Branch (468:9): [True: 1, False: 0]
  ------------------
  469|      1|        return default_action;
  470|      1|    }
  471|  41.4k|    if (!PyUnicode_Check(default_action)) {
  ------------------
  |  |  103|  41.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  41.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (471:9): [True: 0, False: 41.4k]
  ------------------
  472|      0|        PyErr_Format(PyExc_TypeError,
  473|      0|                     MODULE_NAME ".defaultaction must be a string, "
  ------------------
  |  |   21|      0|#define MODULE_NAME "_warnings"
  ------------------
  474|      0|                     "not '%.200s'",
  475|      0|                     Py_TYPE(default_action)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|      0|        Py_DECREF(default_action);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  477|      0|        return NULL;
  478|      0|    }
  479|  41.4k|    update_state_ref(&st->default_action, default_action);
  480|  41.4k|    return default_action;
  481|  41.4k|}
_warnings.c:call_show_warning:
  836|  41.4k|{
  837|  41.4k|    PyObject *show_fn, *msg, *res, *warnmsg_cls = NULL;
  838|  41.4k|    PyInterpreterState *interp = tstate->interp;
  839|       |
  840|       |    /* The Python implementation is able to log the traceback where the source
  841|       |       was allocated, whereas the C implementation doesn't. */
  842|  41.4k|    show_fn = GET_WARNINGS_ATTR(interp, _showwarnmsg, 1);
  ------------------
  |  |  223|  41.4k|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  951|  41.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  41.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  41.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  843|  41.4k|    if (show_fn == NULL) {
  ------------------
  |  Branch (843:9): [True: 0, False: 41.4k]
  ------------------
  844|      0|        if (PyErr_Occurred())
  ------------------
  |  Branch (844:13): [True: 0, False: 0]
  ------------------
  845|      0|            return -1;
  846|      0|        show_warning(tstate, filename, lineno, text, category, sourceline);
  847|      0|        return 0;
  848|      0|    }
  849|       |
  850|  41.4k|    if (!PyCallable_Check(show_fn)) {
  ------------------
  |  Branch (850:9): [True: 0, False: 41.4k]
  ------------------
  851|      0|        PyErr_SetString(PyExc_TypeError,
  852|      0|                "warnings._showwarnmsg() must be set to a callable");
  853|      0|        goto error;
  854|      0|    }
  855|       |
  856|  41.4k|    warnmsg_cls = GET_WARNINGS_ATTR(interp, WarningMessage, 0);
  ------------------
  |  |  223|  41.4k|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  951|  41.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  41.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  41.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  857|  41.4k|    if (warnmsg_cls == NULL) {
  ------------------
  |  Branch (857:9): [True: 0, False: 41.4k]
  ------------------
  858|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (858:13): [True: 0, False: 0]
  ------------------
  859|      0|            PyErr_SetString(PyExc_RuntimeError,
  860|      0|                    "unable to get warnings.WarningMessage");
  861|      0|        }
  862|      0|        goto error;
  863|      0|    }
  864|       |
  865|  41.4k|    msg = PyObject_CallFunctionObjArgs(warnmsg_cls, message, category,
  866|  41.4k|            filename, lineno_obj, Py_None,
  ------------------
  |  |  616|  41.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  867|  41.4k|            sourceline ? sourceline : Py_None,
  ------------------
  |  |  616|  41.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (867:13): [True: 0, False: 41.4k]
  ------------------
  868|  41.4k|            source ? source : Py_None, module,
  ------------------
  |  |  616|  41.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (868:13): [True: 0, False: 41.4k]
  ------------------
  869|  41.4k|            NULL);
  870|  41.4k|    Py_DECREF(warnmsg_cls);
  ------------------
  |  |  430|  41.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  871|  41.4k|    if (msg == NULL)
  ------------------
  |  Branch (871:9): [True: 0, False: 41.4k]
  ------------------
  872|      0|        goto error;
  873|       |
  874|  41.4k|    res = PyObject_CallOneArg(show_fn, msg);
  875|  41.4k|    Py_DECREF(show_fn);
  ------------------
  |  |  430|  41.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  876|  41.4k|    Py_DECREF(msg);
  ------------------
  |  |  430|  41.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  877|       |
  878|  41.4k|    if (res == NULL)
  ------------------
  |  Branch (878:9): [True: 0, False: 41.4k]
  ------------------
  879|      0|        return -1;
  880|       |
  881|  41.4k|    Py_DECREF(res);
  ------------------
  |  |  430|  41.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  882|  41.4k|    return 0;
  883|       |
  884|      0|error:
  885|      0|    Py_XDECREF(show_fn);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  886|      0|    return -1;
  887|  41.4k|}
_warnings.c:get_warnings_attr:
  231|   165k|{
  232|   165k|    PyObject *warnings_module, *obj;
  233|       |
  234|       |    /* don't try to import after the start of the Python finallization */
  235|   165k|    if (try_import && !_Py_IsInterpreterFinalizing(interp)) {
  ------------------
  |  Branch (235:9): [True: 41.4k, False: 124k]
  |  Branch (235:23): [True: 41.4k, False: 0]
  ------------------
  236|  41.4k|        warnings_module = PyImport_Import(&_Py_ID(warnings));
  ------------------
  |  |  951|  41.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  41.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  41.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  237|  41.4k|        if (warnings_module == NULL) {
  ------------------
  |  Branch (237:13): [True: 0, False: 41.4k]
  ------------------
  238|       |            /* Fallback to the C implementation if we cannot get
  239|       |               the Python implementation */
  240|      0|            if (PyErr_ExceptionMatches(PyExc_ImportError)) {
  ------------------
  |  Branch (240:17): [True: 0, False: 0]
  ------------------
  241|      0|                PyErr_Clear();
  242|      0|            }
  243|      0|            return NULL;
  244|      0|        }
  245|  41.4k|    }
  246|   124k|    else {
  247|       |        /* if we're so late into Python finalization that the module dict is
  248|       |           gone, then we can't even use PyImport_GetModule without triggering
  249|       |           an interpreter abort.
  250|       |        */
  251|   124k|        if (!_PyImport_GetModules(interp)) {
  ------------------
  |  Branch (251:13): [True: 0, False: 124k]
  ------------------
  252|      0|            return NULL;
  253|      0|        }
  254|   124k|        warnings_module = PyImport_GetModule(&_Py_ID(warnings));
  ------------------
  |  |  951|   124k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   124k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   124k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  255|   124k|        if (warnings_module == NULL)
  ------------------
  |  Branch (255:13): [True: 2, False: 124k]
  ------------------
  256|      2|            return NULL;
  257|   124k|    }
  258|       |
  259|   165k|    (void)PyObject_GetOptionalAttr(warnings_module, attr, &obj);
  260|   165k|    Py_DECREF(warnings_module);
  ------------------
  |  |  430|   165k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   165k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   165k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  261|   165k|    return obj;
  262|   165k|}
_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|  74.3k|{
  834|  74.3k|    if (_PyInstructionSequence_ApplyLabelMap(instrs) < 0) {
  ------------------
  |  Branch (834:9): [True: 0, False: 74.3k]
  ------------------
  835|      0|        return NULL;
  836|      0|    }
  837|  74.3k|    if (resolve_unconditional_jumps(instrs) < 0) {
  ------------------
  |  Branch (837:9): [True: 0, False: 74.3k]
  ------------------
  838|      0|        return NULL;
  839|      0|    }
  840|  74.3k|    if (resolve_jump_offsets(instrs) < 0) {
  ------------------
  |  Branch (840:9): [True: 0, False: 74.3k]
  ------------------
  841|      0|        return NULL;
  842|      0|    }
  843|  74.3k|    PyCodeObject *co = NULL;
  844|       |
  845|  74.3k|    struct assembler a;
  846|  74.3k|    int res = assemble_emit(&a, instrs, umd->u_firstlineno, const_cache);
  847|  74.3k|    if (res == SUCCESS) {
  ------------------
  |  |   20|  74.3k|#define SUCCESS 0
  ------------------
  |  Branch (847:9): [True: 74.3k, False: 0]
  ------------------
  848|  74.3k|        co = makecode(umd, &a, const_cache, consts, maxdepth, nlocalsplus,
  849|  74.3k|                      code_flags, filename);
  850|  74.3k|    }
  851|  74.3k|    assemble_free(&a);
  852|  74.3k|    return co;
  853|  74.3k|}
assemble.c:resolve_unconditional_jumps:
  801|  74.3k|{
  802|       |    /* Resolve directions of unconditional jumps */
  803|       |
  804|  3.73M|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (804:21): [True: 3.65M, False: 74.3k]
  ------------------
  805|  3.65M|        instruction *instr = &instrs->s_instrs[i];
  806|  3.65M|        bool is_forward = (instr->i_oparg > i);
  807|  3.65M|        switch(instr->i_opcode) {
  808|  14.9k|            case JUMP:
  ------------------
  |  |  245|  14.9k|#define JUMP                                   257
  ------------------
  |  Branch (808:13): [True: 14.9k, False: 3.64M]
  ------------------
  809|  14.9k|                assert(is_pseudo_target(JUMP, JUMP_FORWARD));
  ------------------
  |  Branch (809:17): [True: 14.9k, False: 0]
  ------------------
  810|  14.9k|                assert(is_pseudo_target(JUMP, JUMP_BACKWARD));
  ------------------
  |  Branch (810:17): [True: 14.9k, False: 0]
  ------------------
  811|  14.9k|                instr->i_opcode = is_forward ? JUMP_FORWARD : JUMP_BACKWARD;
  ------------------
  |  |   86|  6.86k|#define JUMP_FORWARD                            73
  ------------------
                              instr->i_opcode = is_forward ? JUMP_FORWARD : JUMP_BACKWARD;
  ------------------
  |  |   84|  22.9k|#define JUMP_BACKWARD                           71
  ------------------
  |  Branch (811:35): [True: 6.86k, False: 8.06k]
  ------------------
  812|  14.9k|                break;
  813|  65.5k|            case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|  65.5k|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (813:13): [True: 65.5k, False: 3.59M]
  ------------------
  814|  65.5k|                assert(is_pseudo_target(JUMP_NO_INTERRUPT, JUMP_FORWARD));
  ------------------
  |  Branch (814:17): [True: 65.5k, False: 0]
  ------------------
  815|  65.5k|                assert(is_pseudo_target(JUMP_NO_INTERRUPT, JUMP_BACKWARD_NO_INTERRUPT));
  ------------------
  |  Branch (815:17): [True: 65.5k, False: 0]
  ------------------
  816|  65.5k|                instr->i_opcode = is_forward ?
  ------------------
  |  Branch (816:35): [True: 14.4k, False: 51.0k]
  ------------------
  817|  51.0k|                    JUMP_FORWARD : JUMP_BACKWARD_NO_INTERRUPT;
  ------------------
  |  |   86|  14.4k|#define JUMP_FORWARD                            73
  ------------------
                                  JUMP_FORWARD : JUMP_BACKWARD_NO_INTERRUPT;
  ------------------
  |  |   85|   116k|#define JUMP_BACKWARD_NO_INTERRUPT              72
  ------------------
  818|  65.5k|                break;
  819|  3.57M|            default:
  ------------------
  |  Branch (819:13): [True: 3.57M, False: 80.4k]
  ------------------
  820|  3.57M|                if (OPCODE_HAS_JUMP(instr->i_opcode) &&
  ------------------
  |  | 1065|  7.15M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1046|  3.57M|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  |  |  |  Branch (1065:29): [True: 126k, False: 3.45M]
  |  |  ------------------
  ------------------
  821|   126k|                    IS_PSEUDO_INSTR(instr->i_opcode)) {
  ------------------
  |  |   20|   126k|#define IS_PSEUDO_INSTR(OP)  ( \
  |  |   21|   126k|    ((OP) == LOAD_CLOSURE) || \
  |  |  ------------------
  |  |  |  |  249|   126k|#define LOAD_CLOSURE                           261
  |  |  ------------------
  |  |  |  Branch (21:5): [True: 0, False: 126k]
  |  |  ------------------
  |  |   22|   126k|    ((OP) == STORE_FAST_MAYBE_NULL) || \
  |  |  ------------------
  |  |  |  |  254|   126k|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (22:5): [True: 0, False: 126k]
  |  |  ------------------
  |  |   23|   126k|    ((OP) == ANNOTATIONS_PLACEHOLDER) || \
  |  |  ------------------
  |  |  |  |  244|   126k|#define ANNOTATIONS_PLACEHOLDER                256
  |  |  ------------------
  |  |  |  Branch (23:5): [True: 0, False: 126k]
  |  |  ------------------
  |  |   24|   126k|    ((OP) == JUMP) || \
  |  |  ------------------
  |  |  |  |  245|   126k|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (24:5): [True: 0, False: 126k]
  |  |  ------------------
  |  |   25|   126k|    ((OP) == JUMP_NO_INTERRUPT) || \
  |  |  ------------------
  |  |  |  |  248|   126k|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (25:5): [True: 0, False: 126k]
  |  |  ------------------
  |  |   26|   126k|    ((OP) == JUMP_IF_FALSE) || \
  |  |  ------------------
  |  |  |  |  246|   126k|#define JUMP_IF_FALSE                          258
  |  |  ------------------
  |  |  |  Branch (26:5): [True: 0, False: 126k]
  |  |  ------------------
  |  |   27|   126k|    ((OP) == JUMP_IF_TRUE) || \
  |  |  ------------------
  |  |  |  |  247|   126k|#define JUMP_IF_TRUE                           259
  |  |  ------------------
  |  |  |  Branch (27:5): [True: 0, False: 126k]
  |  |  ------------------
  |  |   28|   126k|    ((OP) == SETUP_FINALLY) || \
  |  |  ------------------
  |  |  |  |  252|   126k|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (28:5): [True: 0, False: 126k]
  |  |  ------------------
  |  |   29|   126k|    ((OP) == SETUP_CLEANUP) || \
  |  |  ------------------
  |  |  |  |  251|   126k|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (29:5): [True: 0, False: 126k]
  |  |  ------------------
  |  |   30|   126k|    ((OP) == SETUP_WITH) || \
  |  |  ------------------
  |  |  |  |  253|   126k|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 126k]
  |  |  ------------------
  |  |   31|   126k|    ((OP) == POP_BLOCK) || \
  |  |  ------------------
  |  |  |  |  250|   126k|#define POP_BLOCK                              262
  |  |  ------------------
  |  |  |  Branch (31:5): [True: 0, False: 126k]
  |  |  ------------------
  |  |   32|   126k|    0)
  |  |  ------------------
  |  |  |  Branch (32:5): [Folded, False: 0]
  |  |  ------------------
  ------------------
  822|      0|                    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  823|      0|                }
  824|  3.65M|        }
  825|  3.65M|    }
  826|  74.3k|    return SUCCESS;
  ------------------
  |  |   20|  74.3k|#define SUCCESS 0
  ------------------
  827|  74.3k|}
assemble.c:resolve_jump_offsets:
  727|  74.3k|{
  728|       |    /* Compute the size of each instruction and fixup jump args.
  729|       |     * Replace instruction index with position in bytecode.
  730|       |     */
  731|       |
  732|  3.73M|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (732:21): [True: 3.65M, False: 74.3k]
  ------------------
  733|  3.65M|        instruction *instr = &instrs->s_instrs[i];
  734|  3.65M|        if (OPCODE_HAS_JUMP(instr->i_opcode)) {
  ------------------
  |  | 1065|  3.65M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1046|  3.65M|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  |  |  |  Branch (1065:29): [True: 206k, False: 3.45M]
  |  |  ------------------
  ------------------
  735|   206k|            instr->i_target = instr->i_oparg;
  736|   206k|        }
  737|  3.65M|    }
  738|       |
  739|  74.3k|    int extended_arg_recompile;
  740|       |
  741|  75.8k|    do {
  742|  75.8k|        int totsize = 0;
  743|  5.52M|        for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (743:25): [True: 5.45M, False: 75.8k]
  ------------------
  744|  5.45M|            instruction *instr = &instrs->s_instrs[i];
  745|  5.45M|            instr->i_offset = totsize;
  746|  5.45M|            int isize = instr_size(instr);
  747|  5.45M|            totsize += isize;
  748|  5.45M|        }
  749|  75.8k|        extended_arg_recompile = 0;
  750|       |
  751|  75.8k|        int offset = 0;
  752|  5.52M|        for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (752:25): [True: 5.45M, False: 75.8k]
  ------------------
  753|  5.45M|            instruction *instr = &instrs->s_instrs[i];
  754|  5.45M|            int isize = instr_size(instr);
  755|       |            /* jump offsets are computed relative to
  756|       |             * the instruction pointer after fetching
  757|       |             * the jump instruction.
  758|       |             */
  759|  5.45M|            offset += isize;
  760|  5.45M|            if (OPCODE_HAS_JUMP(instr->i_opcode)) {
  ------------------
  |  | 1065|  5.45M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1046|  5.45M|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  |  |  |  Branch (1065:29): [True: 405k, False: 5.04M]
  |  |  ------------------
  ------------------
  761|   405k|                instruction *target = &instrs->s_instrs[instr->i_target];
  762|   405k|                instr->i_oparg = target->i_offset;
  763|   405k|                if (instr->i_opcode == END_ASYNC_FOR) {
  ------------------
  |  |   76|   405k|#define END_ASYNC_FOR                           63
  ------------------
  |  Branch (763:21): [True: 2.08k, False: 403k]
  ------------------
  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|  2.08k|                    instr->i_oparg = offset - instr->i_oparg - END_SEND_OFFSET;
  ------------------
  |  |  723|  2.08k|#define END_SEND_OFFSET 6
  ------------------
  767|  2.08k|                }
  768|   403k|                else if (instr->i_oparg < offset) {
  ------------------
  |  Branch (768:26): [True: 114k, False: 289k]
  ------------------
  769|   114k|                    assert(IS_BACKWARDS_JUMP_OPCODE(instr->i_opcode));
  ------------------
  |  Branch (769:21): [True: 11.8k, False: 102k]
  |  Branch (769:21): [True: 102k, False: 0]
  ------------------
  770|   114k|                    instr->i_oparg = offset - instr->i_oparg;
  771|   114k|                }
  772|   289k|                else {
  773|   289k|                    assert(!IS_BACKWARDS_JUMP_OPCODE(instr->i_opcode));
  ------------------
  |  Branch (773:21): [True: 0, False: 289k]
  |  Branch (773:21): [True: 0, False: 289k]
  ------------------
  774|   289k|                    instr->i_oparg = instr->i_oparg - offset;
  775|   289k|                }
  776|   405k|                if (instr_size(instr) != isize) {
  ------------------
  |  Branch (776:21): [True: 124k, False: 280k]
  ------------------
  777|   124k|                    extended_arg_recompile = 1;
  778|   124k|                }
  779|   405k|            }
  780|  5.45M|        }
  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|  75.8k|    } while (extended_arg_recompile);
  ------------------
  |  Branch (795:14): [True: 1.47k, False: 74.3k]
  ------------------
  796|  74.3k|    return SUCCESS;
  ------------------
  |  |   20|  74.3k|#define SUCCESS 0
  ------------------
  797|  74.3k|}
assemble.c:instr_size:
   43|  22.2M|{
   44|  22.2M|    int opcode = instr->i_opcode;
   45|  22.2M|    int oparg = instr->i_oparg;
   46|  22.2M|    assert(!IS_PSEUDO_INSTR(opcode));
  ------------------
  |  Branch (46:5): [True: 0, False: 22.2M]
  |  Branch (46:5): [True: 0, False: 22.2M]
  |  Branch (46:5): [True: 0, False: 22.2M]
  |  Branch (46:5): [True: 0, False: 22.2M]
  |  Branch (46:5): [True: 0, False: 22.2M]
  |  Branch (46:5): [True: 0, False: 22.2M]
  |  Branch (46:5): [True: 0, False: 22.2M]
  |  Branch (46:5): [True: 0, False: 22.2M]
  |  Branch (46:5): [True: 0, False: 22.2M]
  |  Branch (46:5): [True: 0, False: 22.2M]
  |  Branch (46:5): [True: 0, False: 22.2M]
  |  Branch (46:5): [Folded, False: 0]
  ------------------
   47|  22.2M|    assert(OPCODE_HAS_ARG(opcode) || oparg == 0);
  ------------------
  |  Branch (47:5): [True: 17.1M, False: 5.09M]
  |  Branch (47:5): [True: 5.09M, False: 0]
  ------------------
   48|  22.2M|    int extended_args = (0xFFFFFF < oparg) + (0xFFFF < oparg) + (0xFF < oparg);
   49|  22.2M|    int caches = _PyOpcode_Caches[opcode];
   50|  22.2M|    return extended_args + 1 + caches;
   51|  22.2M|}
assemble.c:assemble_emit:
  445|  74.3k|{
  446|  74.3k|    RETURN_IF_ERROR(assemble_init(a, first_lineno));
  ------------------
  |  |   24|  74.3k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  447|       |
  448|  3.73M|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (448:21): [True: 3.65M, False: 74.3k]
  ------------------
  449|  3.65M|        instruction *instr = &instrs->s_instrs[i];
  450|  3.65M|        RETURN_IF_ERROR(assemble_emit_instr(a, instr));
  ------------------
  |  |   24|  3.65M|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 3.65M]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  451|  3.65M|    }
  452|       |
  453|  74.3k|    RETURN_IF_ERROR(assemble_location_info(a, instrs, a->a_lineno));
  ------------------
  |  |   24|  74.3k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  454|       |
  455|  74.3k|    RETURN_IF_ERROR(assemble_exception_table(a, instrs));
  ------------------
  |  |   24|  74.3k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  456|       |
  457|  74.3k|    a->a_except_table = PyBytesWriter_FinishWithSize(a->a_except_table_writer,
  458|  74.3k|                                                     a->a_except_table_off);
  459|  74.3k|    a->a_except_table_writer = NULL;
  460|  74.3k|    if (a->a_except_table == NULL) {
  ------------------
  |  Branch (460:9): [True: 0, False: 74.3k]
  ------------------
  461|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  462|      0|    }
  463|  74.3k|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_except_table));
  ------------------
  |  |   24|  74.3k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  464|       |
  465|  74.3k|    a->a_linetable = PyBytesWriter_FinishWithSize(a->a_linetable_writer,
  466|  74.3k|                                                  a->a_location_off);
  467|  74.3k|    a->a_linetable_writer = NULL;
  468|  74.3k|    if (a->a_linetable == NULL) {
  ------------------
  |  Branch (468:9): [True: 0, False: 74.3k]
  ------------------
  469|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  470|      0|    }
  471|  74.3k|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_linetable));
  ------------------
  |  |   24|  74.3k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  472|       |
  473|  74.3k|    a->a_bytecode = PyBytesWriter_FinishWithSize(a->a_bytecode_writer,
  474|  74.3k|                                                 a->a_offset * sizeof(_Py_CODEUNIT));
  475|  74.3k|    a->a_bytecode_writer = NULL;
  476|  74.3k|    if (a->a_bytecode == NULL) {
  ------------------
  |  Branch (476:9): [True: 0, False: 74.3k]
  ------------------
  477|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  478|      0|    }
  479|  74.3k|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_bytecode));
  ------------------
  |  |   24|  74.3k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  480|  74.3k|    return SUCCESS;
  ------------------
  |  |   20|  74.3k|#define SUCCESS 0
  ------------------
  481|  74.3k|}
assemble.c:assemble_init:
   69|  74.3k|{
   70|  74.3k|    memset(a, 0, sizeof(struct assembler));
   71|  74.3k|    a->a_lineno = firstlineno;
   72|  74.3k|    a->a_bytecode_writer = PyBytesWriter_Create(DEFAULT_CODE_SIZE);
  ------------------
  |  |   14|  74.3k|#define DEFAULT_CODE_SIZE 128
  ------------------
   73|  74.3k|    if (a->a_bytecode_writer == NULL) {
  ------------------
  |  Branch (73:9): [True: 0, False: 74.3k]
  ------------------
   74|      0|        goto error;
   75|      0|    }
   76|  74.3k|    a->a_linetable_writer = PyBytesWriter_Create(DEFAULT_CNOTAB_SIZE);
  ------------------
  |  |   16|  74.3k|#define DEFAULT_CNOTAB_SIZE 32
  ------------------
   77|  74.3k|    if (a->a_linetable_writer == NULL) {
  ------------------
  |  Branch (77:9): [True: 0, False: 74.3k]
  ------------------
   78|      0|        goto error;
   79|      0|    }
   80|  74.3k|    a->a_except_table_writer = PyBytesWriter_Create(DEFAULT_LNOTAB_SIZE);
  ------------------
  |  |   15|  74.3k|#define DEFAULT_LNOTAB_SIZE 16
  ------------------
   81|  74.3k|    if (a->a_except_table_writer == NULL) {
  ------------------
  |  Branch (81:9): [True: 0, False: 74.3k]
  ------------------
   82|      0|        goto error;
   83|      0|    }
   84|  74.3k|    return SUCCESS;
  ------------------
  |  |   20|  74.3k|#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|  74.3k|}
assemble.c:assemble_emit_instr:
  424|  3.65M|{
  425|  3.65M|    Py_ssize_t len = PyBytesWriter_GetSize(a->a_bytecode_writer);
  426|  3.65M|    _Py_CODEUNIT *code;
  427|       |
  428|  3.65M|    int size = instr_size(instr);
  429|  3.65M|    if (a->a_offset + size >= len / (int)sizeof(_Py_CODEUNIT)) {
  ------------------
  |  Branch (429:9): [True: 17.2k, False: 3.63M]
  ------------------
  430|  17.2k|        if (len > PY_SSIZE_T_MAX / 2) {
  ------------------
  |  |  137|  17.2k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (430:13): [True: 0, False: 17.2k]
  ------------------
  431|      0|            PyErr_NoMemory();
  432|      0|            return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  433|      0|        }
  434|  17.2k|        RETURN_IF_ERROR(PyBytesWriter_Resize(a->a_bytecode_writer, len * 2));
  ------------------
  |  |   24|  17.2k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 17.2k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  435|  17.2k|    }
  436|  3.65M|    code = (_Py_CODEUNIT *)PyBytesWriter_GetData(a->a_bytecode_writer) + a->a_offset;
  437|  3.65M|    a->a_offset += size;
  438|  3.65M|    write_instr(code, instr, size);
  439|  3.65M|    return SUCCESS;
  ------------------
  |  |   20|  3.65M|#define SUCCESS 0
  ------------------
  440|  3.65M|}
assemble.c:write_instr:
  380|  3.65M|{
  381|  3.65M|    int opcode = instr->i_opcode;
  382|  3.65M|    assert(!IS_PSEUDO_INSTR(opcode));
  ------------------
  |  Branch (382:5): [True: 0, False: 3.65M]
  |  Branch (382:5): [True: 0, False: 3.65M]
  |  Branch (382:5): [True: 0, False: 3.65M]
  |  Branch (382:5): [True: 0, False: 3.65M]
  |  Branch (382:5): [True: 0, False: 3.65M]
  |  Branch (382:5): [True: 0, False: 3.65M]
  |  Branch (382:5): [True: 0, False: 3.65M]
  |  Branch (382:5): [True: 0, False: 3.65M]
  |  Branch (382:5): [True: 0, False: 3.65M]
  |  Branch (382:5): [True: 0, False: 3.65M]
  |  Branch (382:5): [True: 0, False: 3.65M]
  |  Branch (382:5): [Folded, False: 0]
  ------------------
  383|  3.65M|    int oparg = instr->i_oparg;
  384|  3.65M|    assert(OPCODE_HAS_ARG(opcode) || oparg == 0);
  ------------------
  |  Branch (384:5): [True: 2.84M, False: 810k]
  |  Branch (384:5): [True: 810k, False: 0]
  ------------------
  385|  3.65M|    int caches = _PyOpcode_Caches[opcode];
  386|  3.65M|    switch (ilen - caches) {
  387|      0|        case 4:
  ------------------
  |  Branch (387:9): [True: 0, False: 3.65M]
  ------------------
  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|     13|        case 3:
  ------------------
  |  Branch (392:9): [True: 13, False: 3.65M]
  ------------------
  393|     13|            codestr->op.code = EXTENDED_ARG;
  ------------------
  |  |   77|     13|#define EXTENDED_ARG                            64
  ------------------
  394|     13|            codestr->op.arg = (oparg >> 16) & 0xFF;
  395|     13|            codestr++;
  396|     13|            _Py_FALLTHROUGH;
  ------------------
  |  |  667|     13|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  397|  36.4k|        case 2:
  ------------------
  |  Branch (397:9): [True: 36.3k, False: 3.62M]
  ------------------
  398|  36.4k|            codestr->op.code = EXTENDED_ARG;
  ------------------
  |  |   77|  36.4k|#define EXTENDED_ARG                            64
  ------------------
  399|  36.4k|            codestr->op.arg = (oparg >> 8) & 0xFF;
  400|  36.4k|            codestr++;
  401|  36.4k|            _Py_FALLTHROUGH;
  ------------------
  |  |  667|  36.4k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  402|  3.65M|        case 1:
  ------------------
  |  Branch (402:9): [True: 3.62M, False: 36.4k]
  ------------------
  403|  3.65M|            codestr->op.code = opcode;
  404|  3.65M|            codestr->op.arg = oparg & 0xFF;
  405|  3.65M|            codestr++;
  406|  3.65M|            break;
  407|      0|        default:
  ------------------
  |  Branch (407:9): [True: 0, False: 3.65M]
  ------------------
  408|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  409|  3.65M|    }
  410|  6.16M|    while (caches--) {
  ------------------
  |  Branch (410:12): [True: 2.50M, False: 3.65M]
  ------------------
  411|  2.50M|        codestr->op.code = CACHE;
  ------------------
  |  |   13|  2.50M|#define CACHE                                    0
  ------------------
  412|  2.50M|        codestr->op.arg = 0;
  413|  2.50M|        codestr++;
  414|  2.50M|    }
  415|  3.65M|}
assemble.c:assemble_location_info:
  349|  74.3k|{
  350|  74.3k|    a->a_lineno = firstlineno;
  351|  74.3k|    location loc = NO_LOCATION;
  352|  3.73M|    for (int i = instrs->s_used-1; i >= 0; i--) {
  ------------------
  |  Branch (352:36): [True: 3.65M, False: 74.3k]
  ------------------
  353|  3.65M|        instruction *instr = &instrs->s_instrs[i];
  354|  3.65M|        if (same_location(instr->i_loc, NEXT_LOCATION)) {
  ------------------
  |  Branch (354:13): [True: 1.04k, False: 3.65M]
  ------------------
  355|  1.04k|            if (IS_TERMINATOR_OPCODE(instr->i_opcode)) {
  ------------------
  |  |   27|  1.04k|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  2.09k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  1.04k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 11, False: 1.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|  1.03k|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|  2.07k|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 63, False: 974]
  |  |  |  |  ------------------
  |  |  |  |   54|  1.03k|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|  2.01k|#define RAISE_VARARGS                          100
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 0, False: 974]
  |  |  |  |  ------------------
  |  |  |  |   55|  1.03k|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  114|    974|#define RERAISE                                101
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 0, False: 974]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  356|     74|                instr->i_loc = NO_LOCATION;
  357|     74|            }
  358|    974|            else {
  359|    974|                assert(i < instrs->s_used-1);
  ------------------
  |  Branch (359:17): [True: 974, False: 0]
  ------------------
  360|    974|                instr->i_loc = instr[1].i_loc;
  361|    974|            }
  362|  1.04k|        }
  363|  3.65M|    }
  364|  74.3k|    int size = 0;
  365|  3.73M|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (365:21): [True: 3.65M, False: 74.3k]
  ------------------
  366|  3.65M|        instruction *instr = &instrs->s_instrs[i];
  367|  3.65M|        if (!same_location(loc, instr->i_loc)) {
  ------------------
  |  Branch (367:13): [True: 1.61M, False: 2.04M]
  ------------------
  368|  1.61M|                RETURN_IF_ERROR(assemble_emit_location(a, loc, size));
  ------------------
  |  |   24|  1.61M|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 1.61M]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  369|  1.61M|                loc = instr->i_loc;
  370|  1.61M|                size = 0;
  371|  1.61M|        }
  372|  3.65M|        size += instr_size(instr);
  373|  3.65M|    }
  374|  74.3k|    RETURN_IF_ERROR(assemble_emit_location(a, loc, size));
  ------------------
  |  |   24|  74.3k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  375|  74.3k|    return SUCCESS;
  ------------------
  |  |   20|  74.3k|#define SUCCESS 0
  ------------------
  376|  74.3k|}
assemble.c:same_location:
   34|  7.31M|{
   35|  7.31M|    return a.lineno == b.lineno &&
  ------------------
  |  Branch (35:12): [True: 3.39M, False: 3.91M]
  ------------------
   36|  3.39M|           a.end_lineno == b.end_lineno &&
  ------------------
  |  Branch (36:12): [True: 3.38M, False: 12.0k]
  ------------------
   37|  3.38M|           a.col_offset == b.col_offset &&
  ------------------
  |  Branch (37:12): [True: 2.11M, False: 1.26M]
  ------------------
   38|  2.11M|           a.end_col_offset == b.end_col_offset;
  ------------------
  |  Branch (38:12): [True: 2.04M, False: 72.1k]
  ------------------
   39|  7.31M|}
assemble.c:assemble_emit_location:
  335|  1.68M|{
  336|  1.68M|    if (isize == 0) {
  ------------------
  |  Branch (336:9): [True: 39.4k, False: 1.64M]
  ------------------
  337|  39.4k|        return SUCCESS;
  ------------------
  |  |   20|  39.4k|#define SUCCESS 0
  ------------------
  338|  39.4k|    }
  339|  1.85M|    while (isize > 8) {
  ------------------
  |  Branch (339:12): [True: 210k, False: 1.64M]
  ------------------
  340|   210k|        RETURN_IF_ERROR(write_location_info_entry(a, loc, 8));
  ------------------
  |  |   24|   210k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 210k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  341|   210k|        isize -= 8;
  342|   210k|    }
  343|  1.64M|    return write_location_info_entry(a, loc, isize);
  344|  1.64M|}
assemble.c:write_location_info_entry:
  297|  1.85M|{
  298|  1.85M|    Py_ssize_t len = PyBytesWriter_GetSize(a->a_linetable_writer);
  299|  1.85M|    if (a->a_location_off + THEORETICAL_MAX_ENTRY_SIZE >= len) {
  ------------------
  |  |  292|  1.85M|#define THEORETICAL_MAX_ENTRY_SIZE 25 /* 1 + 6 + 6 + 6 + 6 */
  ------------------
  |  Branch (299:9): [True: 69.2k, False: 1.79M]
  ------------------
  300|  69.2k|        assert(len > THEORETICAL_MAX_ENTRY_SIZE);
  ------------------
  |  Branch (300:9): [True: 69.2k, False: 0]
  ------------------
  301|  69.2k|        RETURN_IF_ERROR(PyBytesWriter_Resize(a->a_linetable_writer, len * 2));
  ------------------
  |  |   24|  69.2k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 69.2k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  302|  69.2k|    }
  303|  1.85M|    if (loc.lineno == NO_LOCATION.lineno) {
  ------------------
  |  Branch (303:9): [True: 61.7k, False: 1.79M]
  ------------------
  304|  61.7k|        write_location_info_none(a, isize);
  305|  61.7k|        return SUCCESS;
  ------------------
  |  |   20|  61.7k|#define SUCCESS 0
  ------------------
  306|  61.7k|    }
  307|  1.79M|    int line_delta = loc.lineno - a->a_lineno;
  308|  1.79M|    int column = loc.col_offset;
  309|  1.79M|    int end_column = loc.end_col_offset;
  310|  1.79M|    if (column < 0 || end_column < 0) {
  ------------------
  |  Branch (310:9): [True: 4.14k, False: 1.79M]
  |  Branch (310:23): [True: 0, False: 1.79M]
  ------------------
  311|  4.14k|        if (loc.end_lineno == loc.lineno || loc.end_lineno < 0) {
  ------------------
  |  Branch (311:13): [True: 4.14k, False: 0]
  |  Branch (311:45): [True: 0, False: 0]
  ------------------
  312|  4.14k|            write_location_info_no_column(a, isize, line_delta);
  313|  4.14k|            a->a_lineno = loc.lineno;
  314|  4.14k|            return SUCCESS;
  ------------------
  |  |   20|  4.14k|#define SUCCESS 0
  ------------------
  315|  4.14k|        }
  316|  4.14k|    }
  317|  1.79M|    else if (loc.end_lineno == loc.lineno) {
  ------------------
  |  Branch (317:14): [True: 1.73M, False: 54.2k]
  ------------------
  318|  1.73M|        if (line_delta == 0 && column < 80 && end_column - column < 16 && end_column >= column) {
  ------------------
  |  Branch (318:13): [True: 1.61M, False: 121k]
  |  Branch (318:32): [True: 758k, False: 858k]
  |  Branch (318:47): [True: 505k, False: 253k]
  |  Branch (318:75): [True: 505k, False: 0]
  ------------------
  319|   505k|            write_location_info_short_form(a, isize, column, end_column);
  320|   505k|            return SUCCESS;
  ------------------
  |  |   20|   505k|#define SUCCESS 0
  ------------------
  321|   505k|        }
  322|  1.23M|        if (line_delta >= 0 && line_delta < 3 && column < 128 && end_column < 128) {
  ------------------
  |  Branch (322:13): [True: 1.21M, False: 14.1k]
  |  Branch (322:32): [True: 1.19M, False: 24.3k]
  |  Branch (322:50): [True: 407k, False: 787k]
  |  Branch (322:66): [True: 248k, False: 159k]
  ------------------
  323|   248k|            write_location_info_oneline_form(a, isize, line_delta, column, end_column);
  324|   248k|            a->a_lineno = loc.lineno;
  325|   248k|            return SUCCESS;
  ------------------
  |  |   20|   248k|#define SUCCESS 0
  ------------------
  326|   248k|        }
  327|  1.23M|    }
  328|  1.03M|    write_location_info_long_form(a, loc, isize);
  329|  1.03M|    a->a_lineno = loc.lineno;
  330|  1.03M|    return SUCCESS;
  ------------------
  |  |   20|  1.03M|#define SUCCESS 0
  ------------------
  331|  1.79M|}
assemble.c:write_location_info_none:
  281|  61.7k|{
  282|  61.7k|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_NONE, length);
  283|  61.7k|}
assemble.c:write_location_first_byte:
  222|  1.85M|{
  223|  1.85M|    a->a_location_off += write_location_entry_start(
  224|  1.85M|        location_pointer(a), code, length);
  225|  1.85M|}
assemble.c:location_pointer:
  215|  6.02M|{
  216|  6.02M|    uint8_t *linetable = PyBytesWriter_GetData(a->a_linetable_writer);
  217|  6.02M|    return linetable + a->a_location_off;
  218|  6.02M|}
assemble.c:write_location_info_no_column:
  287|  4.14k|{
  288|  4.14k|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_NO_COLUMNS, length);
  289|  4.14k|    write_location_signed_varint(a, line_delta);
  290|  4.14k|}
assemble.c:write_location_signed_varint:
  237|  1.04M|{
  238|  1.04M|    uint8_t *ptr = location_pointer(a);
  239|  1.04M|    a->a_location_off += write_signed_varint(ptr, val);
  240|  1.04M|}
assemble.c:write_location_info_short_form:
  244|   505k|{
  245|   505k|    assert(length > 0 &&  length <= 8);
  ------------------
  |  Branch (245:5): [True: 505k, False: 0]
  |  Branch (245:5): [True: 505k, False: 0]
  ------------------
  246|   505k|    int column_low_bits = column & 7;
  247|   505k|    int column_group = column >> 3;
  248|   505k|    assert(column < 80);
  ------------------
  |  Branch (248:5): [True: 505k, False: 0]
  ------------------
  249|   505k|    assert(end_column >= column);
  ------------------
  |  Branch (249:5): [True: 505k, False: 0]
  ------------------
  250|   505k|    assert(end_column - column < 16);
  ------------------
  |  Branch (250:5): [True: 505k, False: 0]
  ------------------
  251|   505k|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_SHORT0 + column_group, length);
  252|   505k|    write_location_byte(a, (column_low_bits << 4) | (end_column - column));
  253|   505k|}
assemble.c:write_location_byte:
  206|  1.00M|{
  207|  1.00M|    uint8_t *linetable = PyBytesWriter_GetData(a->a_linetable_writer);
  208|  1.00M|    linetable[a->a_location_off] = val & 255;
  209|  1.00M|    a->a_location_off++;
  210|  1.00M|}
assemble.c:write_location_info_oneline_form:
  257|   248k|{
  258|   248k|    assert(length > 0 &&  length <= 8);
  ------------------
  |  Branch (258:5): [True: 248k, False: 0]
  |  Branch (258:5): [True: 248k, False: 0]
  ------------------
  259|   248k|    assert(line_delta >= 0 && line_delta < 3);
  ------------------
  |  Branch (259:5): [True: 248k, False: 0]
  |  Branch (259:5): [True: 248k, False: 0]
  ------------------
  260|   248k|    assert(column < 128);
  ------------------
  |  Branch (260:5): [True: 248k, False: 0]
  ------------------
  261|   248k|    assert(end_column < 128);
  ------------------
  |  Branch (261:5): [True: 248k, False: 0]
  ------------------
  262|   248k|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_ONE_LINE0 + line_delta, length);
  263|   248k|    write_location_byte(a, column);
  264|   248k|    write_location_byte(a, end_column);
  265|   248k|}
assemble.c:write_location_info_long_form:
  269|  1.03M|{
  270|  1.03M|    assert(length > 0 &&  length <= 8);
  ------------------
  |  Branch (270:5): [True: 1.03M, False: 0]
  |  Branch (270:5): [True: 1.03M, False: 0]
  ------------------
  271|  1.03M|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_LONG, length);
  272|  1.03M|    write_location_signed_varint(a, loc.lineno - a->a_lineno);
  273|  1.03M|    assert(loc.end_lineno >= loc.lineno);
  ------------------
  |  Branch (273:5): [True: 1.03M, False: 0]
  ------------------
  274|  1.03M|    write_location_varint(a, loc.end_lineno - loc.lineno);
  275|  1.03M|    write_location_varint(a, loc.col_offset + 1);
  276|  1.03M|    write_location_varint(a, loc.end_col_offset + 1);
  277|  1.03M|}
assemble.c:write_location_varint:
  229|  3.11M|{
  230|  3.11M|    uint8_t *ptr = location_pointer(a);
  231|  3.11M|    a->a_location_off += write_varint(ptr, val);
  232|  3.11M|}
assemble.c:assemble_exception_table:
  168|  74.3k|{
  169|  74.3k|    int ioffset = 0;
  170|  74.3k|    _PyExceptHandlerInfo handler;
  171|  74.3k|    handler.h_label = -1;
  172|  74.3k|    handler.h_startdepth = -1;
  173|  74.3k|    handler.h_preserve_lasti = -1;
  174|  74.3k|    int start = -1;
  175|  3.73M|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (175:21): [True: 3.65M, False: 74.3k]
  ------------------
  176|  3.65M|        instruction *instr = &instrs->s_instrs[i];
  177|  3.65M|        if (instr->i_except_handler_info.h_label != handler.h_label) {
  ------------------
  |  Branch (177:13): [True: 175k, False: 3.48M]
  ------------------
  178|   175k|            if (handler.h_label >= 0) {
  ------------------
  |  Branch (178:17): [True: 150k, False: 25.7k]
  ------------------
  179|   150k|                int handler_offset = instrs->s_instrs[handler.h_label].i_offset;
  180|   150k|                RETURN_IF_ERROR(
  ------------------
  |  |   24|   150k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 150k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  181|   150k|                    assemble_emit_exception_table_entry(a, start, ioffset,
  182|   150k|                                                        handler_offset,
  183|   150k|                                                        &handler));
  184|   150k|            }
  185|   175k|            start = ioffset;
  186|   175k|            handler = instr->i_except_handler_info;
  187|   175k|        }
  188|  3.65M|        ioffset += instr_size(instr);
  189|  3.65M|    }
  190|  74.3k|    if (handler.h_label >= 0) {
  ------------------
  |  Branch (190:9): [True: 0, False: 74.3k]
  ------------------
  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|  74.3k|    return SUCCESS;
  ------------------
  |  |   20|  74.3k|#define SUCCESS 0
  ------------------
  197|  74.3k|}
assemble.c:assemble_emit_exception_table_entry:
  145|   150k|{
  146|   150k|    Py_ssize_t len = PyBytesWriter_GetSize(a->a_except_table_writer);
  147|   150k|    if (a->a_except_table_off + MAX_SIZE_OF_ENTRY >= len) {
  ------------------
  |  |  139|   150k|#define MAX_SIZE_OF_ENTRY 20
  ------------------
  |  Branch (147:9): [True: 9.78k, False: 140k]
  ------------------
  148|  9.78k|        RETURN_IF_ERROR(PyBytesWriter_Resize(a->a_except_table_writer, len * 2));
  ------------------
  |  |   24|  9.78k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 9.78k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  149|  9.78k|    }
  150|   150k|    int size = end-start;
  151|   150k|    assert(end > start);
  ------------------
  |  Branch (151:5): [True: 150k, False: 0]
  ------------------
  152|   150k|    int target = handler_offset;
  153|   150k|    int depth = handler->h_startdepth - 1;
  154|   150k|    if (handler->h_preserve_lasti > 0) {
  ------------------
  |  Branch (154:9): [True: 102k, False: 47.2k]
  ------------------
  155|   102k|        depth -= 1;
  156|   102k|    }
  157|   150k|    assert(depth >= 0);
  ------------------
  |  Branch (157:5): [True: 150k, False: 0]
  ------------------
  158|   150k|    int depth_lasti = (depth<<1) | handler->h_preserve_lasti;
  159|   150k|    assemble_emit_exception_table_item(a, start, (1<<7));
  160|   150k|    assemble_emit_exception_table_item(a, size, 0);
  161|   150k|    assemble_emit_exception_table_item(a, target, 0);
  162|   150k|    assemble_emit_exception_table_item(a, depth_lasti, 0);
  163|   150k|    return SUCCESS;
  ------------------
  |  |   20|   150k|#define SUCCESS 0
  ------------------
  164|   150k|}
assemble.c:assemble_emit_exception_table_item:
  116|   600k|{
  117|   600k|    assert ((msb | 128) == 128);
  ------------------
  |  Branch (117:5): [True: 600k, False: 0]
  ------------------
  118|   600k|    assert(value >= 0 && value < (1 << 30));
  ------------------
  |  Branch (118:5): [True: 600k, False: 0]
  |  Branch (118:5): [True: 600k, False: 0]
  ------------------
  119|   600k|    if (value >= 1 << 24) {
  ------------------
  |  Branch (119:9): [True: 0, False: 600k]
  ------------------
  120|      0|        write_except_byte(a, (value >> 24) | CONTINUATION_BIT | msb);
  ------------------
  |  |  112|      0|#define CONTINUATION_BIT 64
  ------------------
  121|      0|        msb = 0;
  122|      0|    }
  123|   600k|    if (value >= 1 << 18) {
  ------------------
  |  Branch (123:9): [True: 0, False: 600k]
  ------------------
  124|      0|        write_except_byte(a, ((value >> 18)&0x3f) | CONTINUATION_BIT | msb);
  ------------------
  |  |  112|      0|#define CONTINUATION_BIT 64
  ------------------
  125|      0|        msb = 0;
  126|      0|    }
  127|   600k|    if (value >= 1 << 12) {
  ------------------
  |  Branch (127:9): [True: 129k, False: 471k]
  ------------------
  128|   129k|        write_except_byte(a, ((value >> 12)&0x3f) | CONTINUATION_BIT | msb);
  ------------------
  |  |  112|   129k|#define CONTINUATION_BIT 64
  ------------------
  129|   129k|        msb = 0;
  130|   129k|    }
  131|   600k|    if (value >= 1 << 6) {
  ------------------
  |  Branch (131:9): [True: 284k, False: 316k]
  ------------------
  132|   284k|        write_except_byte(a, ((value >> 6)&0x3f) | CONTINUATION_BIT | msb);
  ------------------
  |  |  112|   284k|#define CONTINUATION_BIT 64
  ------------------
  133|   284k|        msb = 0;
  134|   284k|    }
  135|   600k|    write_except_byte(a, (value&0x3f) | msb);
  136|   600k|}
assemble.c:write_except_byte:
  107|  1.01M|write_except_byte(struct assembler *a, int byte) {
  108|  1.01M|    unsigned char *p = PyBytesWriter_GetData(a->a_except_table_writer);
  109|  1.01M|    p[a->a_except_table_off++] = byte;
  110|  1.01M|}
assemble.c:makecode:
  627|  74.3k|{
  628|  74.3k|    PyCodeObject *co = NULL;
  629|  74.3k|    PyObject *names = NULL;
  630|  74.3k|    PyObject *consts = NULL;
  631|  74.3k|    PyObject *localsplusnames = NULL;
  632|  74.3k|    PyObject *localspluskinds = NULL;
  633|  74.3k|    names = dict_keys_inorder(umd->u_names, 0);
  634|  74.3k|    if (!names) {
  ------------------
  |  Branch (634:9): [True: 0, False: 74.3k]
  ------------------
  635|      0|        goto error;
  636|      0|    }
  637|  74.3k|    intern_names(names);
  638|  74.3k|    if (_PyCompile_ConstCacheMergeOne(const_cache, &names) < 0) {
  ------------------
  |  Branch (638:9): [True: 0, False: 74.3k]
  ------------------
  639|      0|        goto error;
  640|      0|    }
  641|       |
  642|  74.3k|    consts = PyList_AsTuple(constslist); /* PyCode_New requires a tuple */
  643|  74.3k|    if (consts == NULL) {
  ------------------
  |  Branch (643:9): [True: 0, False: 74.3k]
  ------------------
  644|      0|        goto error;
  645|      0|    }
  646|  74.3k|    if (_PyCompile_ConstCacheMergeOne(const_cache, &consts) < 0) {
  ------------------
  |  Branch (646:9): [True: 0, False: 74.3k]
  ------------------
  647|      0|        goto error;
  648|      0|    }
  649|       |
  650|  74.3k|    assert(umd->u_posonlyargcount < INT_MAX);
  ------------------
  |  Branch (650:5): [True: 74.3k, False: 0]
  ------------------
  651|  74.3k|    assert(umd->u_argcount < INT_MAX);
  ------------------
  |  Branch (651:5): [True: 74.3k, False: 0]
  ------------------
  652|  74.3k|    assert(umd->u_kwonlyargcount < INT_MAX);
  ------------------
  |  Branch (652:5): [True: 74.3k, False: 0]
  ------------------
  653|  74.3k|    int posonlyargcount = (int)umd->u_posonlyargcount;
  654|  74.3k|    int posorkwargcount = (int)umd->u_argcount;
  655|  74.3k|    assert(INT_MAX - posonlyargcount - posorkwargcount > 0);
  ------------------
  |  Branch (655:5): [True: 74.3k, False: 0]
  ------------------
  656|  74.3k|    int kwonlyargcount = (int)umd->u_kwonlyargcount;
  657|       |
  658|  74.3k|    localsplusnames = PyTuple_New(nlocalsplus);
  659|  74.3k|    if (localsplusnames == NULL) {
  ------------------
  |  Branch (659:9): [True: 0, False: 74.3k]
  ------------------
  660|      0|        goto error;
  661|      0|    }
  662|  74.3k|    localspluskinds = PyBytes_FromStringAndSize(NULL, nlocalsplus);
  663|  74.3k|    if (localspluskinds == NULL) {
  ------------------
  |  Branch (663:9): [True: 0, False: 74.3k]
  ------------------
  664|      0|        goto error;
  665|      0|    }
  666|  74.3k|    if (compute_localsplus_info(
  ------------------
  |  Branch (666:9): [True: 0, False: 74.3k]
  ------------------
  667|  74.3k|            umd, nlocalsplus, code_flags,
  668|  74.3k|            localsplusnames, localspluskinds) == ERROR)
  ------------------
  |  |   21|  74.3k|#define ERROR -1
  ------------------
  669|      0|    {
  670|      0|        goto error;
  671|      0|    }
  672|       |
  673|  74.3k|    struct _PyCodeConstructor con = {
  674|  74.3k|        .filename = filename,
  675|  74.3k|        .name = umd->u_name,
  676|  74.3k|        .qualname = umd->u_qualname ? umd->u_qualname : umd->u_name,
  ------------------
  |  Branch (676:21): [True: 62.6k, False: 11.7k]
  ------------------
  677|  74.3k|        .flags = code_flags,
  678|       |
  679|  74.3k|        .code = a->a_bytecode,
  680|  74.3k|        .firstlineno = umd->u_firstlineno,
  681|  74.3k|        .linetable = a->a_linetable,
  682|       |
  683|  74.3k|        .consts = consts,
  684|  74.3k|        .names = names,
  685|       |
  686|  74.3k|        .localsplusnames = localsplusnames,
  687|  74.3k|        .localspluskinds = localspluskinds,
  688|       |
  689|  74.3k|        .argcount = posonlyargcount + posorkwargcount,
  690|  74.3k|        .posonlyargcount = posonlyargcount,
  691|  74.3k|        .kwonlyargcount = kwonlyargcount,
  692|       |
  693|  74.3k|        .stacksize = maxdepth,
  694|       |
  695|  74.3k|        .exceptiontable = a->a_except_table,
  696|  74.3k|    };
  697|       |
  698|  74.3k|   if (_PyCode_Validate(&con) < 0) {
  ------------------
  |  Branch (698:8): [True: 0, False: 74.3k]
  ------------------
  699|      0|        goto error;
  700|      0|    }
  701|       |
  702|  74.3k|    intern_names(localsplusnames);
  703|  74.3k|    if (_PyCompile_ConstCacheMergeOne(const_cache, &localsplusnames) < 0) {
  ------------------
  |  Branch (703:9): [True: 0, False: 74.3k]
  ------------------
  704|      0|        goto error;
  705|      0|    }
  706|  74.3k|    con.localsplusnames = localsplusnames;
  707|       |
  708|  74.3k|    co = _PyCode_New(&con);
  709|  74.3k|    if (co == NULL) {
  ------------------
  |  Branch (709:9): [True: 0, False: 74.3k]
  ------------------
  710|      0|        goto error;
  711|      0|    }
  712|       |
  713|  74.3k|error:
  714|  74.3k|    Py_XDECREF(names);
  ------------------
  |  |  621|  74.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  715|  74.3k|    Py_XDECREF(consts);
  ------------------
  |  |  621|  74.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  716|  74.3k|    Py_XDECREF(localsplusnames);
  ------------------
  |  |  621|  74.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  717|  74.3k|    Py_XDECREF(localspluskinds);
  ------------------
  |  |  621|  74.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  718|  74.3k|    return co;
  719|  74.3k|}
assemble.c:dict_keys_inorder:
  485|  74.3k|{
  486|  74.3k|    PyObject *tuple, *k, *v;
  487|  74.3k|    Py_ssize_t pos = 0, size = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|  74.3k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  488|       |
  489|  74.3k|    tuple = PyTuple_New(size);
  490|  74.3k|    if (tuple == NULL)
  ------------------
  |  Branch (490:9): [True: 0, False: 74.3k]
  ------------------
  491|      0|        return NULL;
  492|   296k|    while (PyDict_Next(dict, &pos, &k, &v)) {
  ------------------
  |  Branch (492:12): [True: 222k, False: 74.3k]
  ------------------
  493|   222k|        Py_ssize_t i = PyLong_AsSsize_t(v);
  494|   222k|        if (i == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (494:13): [True: 0, False: 222k]
  |  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|   222k|        assert((i - offset) < size);
  ------------------
  |  Branch (498:9): [True: 222k, False: 0]
  ------------------
  499|   222k|        assert((i - offset) >= 0);
  ------------------
  |  Branch (499:9): [True: 222k, False: 0]
  ------------------
  500|   222k|        PyTuple_SET_ITEM(tuple, i - offset, Py_NewRef(k));
  ------------------
  |  |   40|   222k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   222k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   222k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   222k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   222k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|   222k|    }
  502|  74.3k|    return tuple;
  503|  74.3k|}
assemble.c:intern_names:
  522|   148k|{
  523|   148k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  524|   539k|    for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(tuple); i++) {
  ------------------
  |  |   27|   539k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   539k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   539k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (524:28): [True: 390k, False: 148k]
  ------------------
  525|   390k|        assert(PyUnicode_CheckExact(PyTuple_GET_ITEM(tuple, i)));
  ------------------
  |  Branch (525:9): [True: 390k, False: 0]
  |  Branch (525:9): [True: 390k, False: 0]
  ------------------
  526|   390k|        _PyUnicode_InternImmortal(interp, &_PyTuple_ITEMS(tuple)[i]);
  ------------------
  |  |   26|   390k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|   781k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 390k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  527|   390k|    }
  528|   148k|}
assemble.c:compute_localsplus_info:
  533|  74.3k|{
  534|  74.3k|    PyObject *k, *v;
  535|  74.3k|    Py_ssize_t pos = 0;
  536|       |
  537|       |    // Set the locals kinds.  Arg vars fill the first portion of the list.
  538|  74.3k|    struct {
  539|  74.3k|        int count;
  540|  74.3k|        _PyLocals_Kind kind;
  541|  74.3k|    }  argvarkinds[6] = {
  542|  74.3k|        {(int)umd->u_posonlyargcount, CO_FAST_ARG_POS},
  ------------------
  |  |  192|  74.3k|#define CO_FAST_ARG_POS (0x02)  // pos-only, pos-or-kw, varargs
  ------------------
  543|  74.3k|        {(int)umd->u_argcount, CO_FAST_ARG_POS | CO_FAST_ARG_KW},
  ------------------
  |  |  192|  74.3k|#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|  74.3k|#define CO_FAST_ARG_KW  (0x04)  // kw-only, pos-or-kw, varkwargs
  ------------------
  544|  74.3k|        {(int)umd->u_kwonlyargcount, CO_FAST_ARG_KW},
  ------------------
  |  |  193|  74.3k|#define CO_FAST_ARG_KW  (0x04)  // kw-only, pos-or-kw, varkwargs
  ------------------
  545|  74.3k|        {!!(flags & CO_VARARGS), CO_FAST_ARG_VAR | CO_FAST_ARG_POS},
  ------------------
  |  |  124|  74.3k|#define CO_VARARGS      0x0004
  ------------------
                      {!!(flags & CO_VARARGS), CO_FAST_ARG_VAR | CO_FAST_ARG_POS},
  ------------------
  |  |  194|  74.3k|#define CO_FAST_ARG_VAR (0x08)  // varargs, varkwargs
  ------------------
                      {!!(flags & CO_VARARGS), CO_FAST_ARG_VAR | CO_FAST_ARG_POS},
  ------------------
  |  |  192|  74.3k|#define CO_FAST_ARG_POS (0x02)  // pos-only, pos-or-kw, varargs
  ------------------
  546|  74.3k|        {!!(flags & CO_VARKEYWORDS), CO_FAST_ARG_VAR | CO_FAST_ARG_KW},
  ------------------
  |  |  125|  74.3k|#define CO_VARKEYWORDS  0x0008
  ------------------
                      {!!(flags & CO_VARKEYWORDS), CO_FAST_ARG_VAR | CO_FAST_ARG_KW},
  ------------------
  |  |  194|  74.3k|#define CO_FAST_ARG_VAR (0x08)  // varargs, varkwargs
  ------------------
                      {!!(flags & CO_VARKEYWORDS), CO_FAST_ARG_VAR | CO_FAST_ARG_KW},
  ------------------
  |  |  193|  74.3k|#define CO_FAST_ARG_KW  (0x04)  // kw-only, pos-or-kw, varkwargs
  ------------------
  547|  74.3k|        {-1, 0},  // the remaining local vars
  548|  74.3k|    };
  549|  74.3k|    int max = 0;
  550|   520k|    for (int i = 0; i < 6; i++) {
  ------------------
  |  Branch (550:21): [True: 446k, False: 74.3k]
  ------------------
  551|   446k|        max = argvarkinds[i].count < 0
  ------------------
  |  Branch (551:15): [True: 74.3k, False: 371k]
  ------------------
  552|   446k|            ? INT_MAX
  553|   446k|            : max + argvarkinds[i].count;
  554|   567k|        while (pos < max && PyDict_Next(umd->u_varnames, &pos, &k, &v)) {
  ------------------
  |  Branch (554:16): [True: 195k, False: 371k]
  |  Branch (554:29): [True: 121k, False: 74.3k]
  ------------------
  555|   121k|            int offset = PyLong_AsInt(v);
  556|   121k|            if (offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (556:17): [True: 0, False: 121k]
  |  Branch (556:33): [True: 0, False: 0]
  ------------------
  557|      0|                return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  558|      0|            }
  559|   121k|            assert(offset >= 0);
  ------------------
  |  Branch (559:13): [True: 121k, False: 0]
  ------------------
  560|   121k|            assert(offset < nlocalsplus);
  ------------------
  |  Branch (560:13): [True: 121k, False: 0]
  ------------------
  561|       |
  562|   121k|            _PyLocals_Kind kind = CO_FAST_LOCAL | argvarkinds[i].kind;
  ------------------
  |  |  197|   121k|#define CO_FAST_LOCAL   (0x20)
  ------------------
  563|       |
  564|   121k|            if (umd->u_fasthidden != NULL) {
  ------------------
  |  Branch (564:17): [True: 3.42k, False: 117k]
  ------------------
  565|  3.42k|                int hidden = PySet_Contains(umd->u_fasthidden, k);
  566|  3.42k|                RETURN_IF_ERROR(hidden);
  ------------------
  |  |   24|  3.42k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 3.42k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  567|  3.42k|                if (hidden) {
  ------------------
  |  Branch (567:21): [True: 3.42k, False: 0]
  ------------------
  568|  3.42k|                    kind |= CO_FAST_HIDDEN;
  ------------------
  |  |  196|  3.42k|#define CO_FAST_HIDDEN  (0x10)
  ------------------
  569|  3.42k|                }
  570|  3.42k|            }
  571|       |
  572|   121k|            int has_key = PyDict_Contains(umd->u_cellvars, k);
  573|   121k|            RETURN_IF_ERROR(has_key);
  ------------------
  |  |   24|   121k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 121k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  574|   121k|            if (has_key) {
  ------------------
  |  Branch (574:17): [True: 373, False: 120k]
  ------------------
  575|    373|                kind |= CO_FAST_CELL;
  ------------------
  |  |  198|    373|#define CO_FAST_CELL    (0x40)
  ------------------
  576|    373|            }
  577|       |
  578|   121k|            _Py_set_localsplus_info(offset, k, kind, names, kinds);
  579|   121k|        }
  580|   446k|    }
  581|  74.3k|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|  74.3k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  582|       |
  583|       |    // This counter mirrors the fix done in fix_cell_offsets().
  584|  74.3k|    int numdropped = 0, cellvar_offset = -1;
  585|  74.3k|    pos = 0;
  586|  91.9k|    while (PyDict_Next(umd->u_cellvars, &pos, &k, &v)) {
  ------------------
  |  Branch (586:12): [True: 17.5k, False: 74.3k]
  ------------------
  587|  17.5k|        int has_name = PyDict_Contains(umd->u_varnames, k);
  588|  17.5k|        RETURN_IF_ERROR(has_name);
  ------------------
  |  |   24|  17.5k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 17.5k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  589|  17.5k|        if (has_name) {
  ------------------
  |  Branch (589:13): [True: 373, False: 17.1k]
  ------------------
  590|       |            // Skip cells that are already covered by locals.
  591|    373|            numdropped += 1;
  592|    373|            continue;
  593|    373|        }
  594|       |
  595|  17.1k|        cellvar_offset = PyLong_AsInt(v);
  596|  17.1k|        if (cellvar_offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (596:13): [True: 0, False: 17.1k]
  |  Branch (596:37): [True: 0, False: 0]
  ------------------
  597|      0|            return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  598|      0|        }
  599|  17.1k|        assert(cellvar_offset >= 0);
  ------------------
  |  Branch (599:9): [True: 17.1k, False: 0]
  ------------------
  600|  17.1k|        cellvar_offset += nlocals - numdropped;
  601|  17.1k|        assert(cellvar_offset < nlocalsplus);
  ------------------
  |  Branch (601:9): [True: 17.1k, False: 0]
  ------------------
  602|  17.1k|        _Py_set_localsplus_info(cellvar_offset, k, CO_FAST_CELL, names, kinds);
  ------------------
  |  |  198|  17.1k|#define CO_FAST_CELL    (0x40)
  ------------------
  603|  17.1k|    }
  604|       |
  605|  74.3k|    pos = 0;
  606|   104k|    while (PyDict_Next(umd->u_freevars, &pos, &k, &v)) {
  ------------------
  |  Branch (606:12): [True: 30.3k, False: 74.3k]
  ------------------
  607|  30.3k|        int offset = PyLong_AsInt(v);
  608|  30.3k|        if (offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (608:13): [True: 0, False: 30.3k]
  |  Branch (608:29): [True: 0, False: 0]
  ------------------
  609|      0|            return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  610|      0|        }
  611|  30.3k|        assert(offset >= 0);
  ------------------
  |  Branch (611:9): [True: 30.3k, False: 0]
  ------------------
  612|  30.3k|        offset += nlocals - numdropped;
  613|  30.3k|        assert(offset < nlocalsplus);
  ------------------
  |  Branch (613:9): [True: 30.3k, 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|  30.3k|        assert(offset > cellvar_offset);
  ------------------
  |  Branch (617:9): [True: 30.3k, False: 0]
  ------------------
  618|  30.3k|        _Py_set_localsplus_info(offset, k, CO_FAST_FREE, names, kinds);
  ------------------
  |  |  199|  30.3k|#define CO_FAST_FREE    (0x80)
  ------------------
  619|  30.3k|    }
  620|  74.3k|    return SUCCESS;
  ------------------
  |  |   20|  74.3k|#define SUCCESS 0
  ------------------
  621|  74.3k|}
assemble.c:assemble_free:
   97|  74.3k|{
   98|  74.3k|    PyBytesWriter_Discard(a->a_bytecode_writer);
   99|  74.3k|    PyBytesWriter_Discard(a->a_linetable_writer);
  100|  74.3k|    PyBytesWriter_Discard(a->a_except_table_writer);
  101|  74.3k|    Py_XDECREF(a->a_bytecode);
  ------------------
  |  |  621|  74.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  102|  74.3k|    Py_XDECREF(a->a_linetable);
  ------------------
  |  |  621|  74.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  103|  74.3k|    Py_XDECREF(a->a_except_table);
  ------------------
  |  |  621|  74.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  104|  74.3k|}

_PyAST_GetDocString:
 1102|   104k|{
 1103|   104k|    if (!asdl_seq_LEN(body)) {
  ------------------
  |  |   83|   104k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|   208k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 889, False: 103k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1103:9): [True: 889, False: 103k]
  ------------------
 1104|    889|        return NULL;
 1105|    889|    }
 1106|   103k|    stmt_ty st = asdl_seq_GET(body, 0);
  ------------------
  |  |   82|   103k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|   103k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1107|   103k|    if (st->kind != Expr_kind) {
  ------------------
  |  Branch (1107:9): [True: 45.1k, False: 58.2k]
  ------------------
 1108|  45.1k|        return NULL;
 1109|  45.1k|    }
 1110|  58.2k|    expr_ty e = st->v.Expr.value;
 1111|  58.2k|    if (e->kind == Constant_kind && PyUnicode_CheckExact(e->v.Constant.value)) {
  ------------------
  |  |  104|  13.3k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  13.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 9.42k, False: 3.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1111:9): [True: 13.3k, False: 44.8k]
  ------------------
 1112|  9.42k|        return e->v.Constant.value;
 1113|  9.42k|    }
 1114|  48.8k|    return NULL;
 1115|  58.2k|}

_PyAST_Preprocess:
  978|  14.5k|{
  979|  14.5k|    _PyASTPreprocessState state;
  980|  14.5k|    memset(&state, 0, sizeof(_PyASTPreprocessState));
  981|  14.5k|    state.filename = filename;
  982|  14.5k|    state.module = module;
  983|  14.5k|    state.optimize = optimize;
  984|  14.5k|    state.ff_features = ff_features;
  985|  14.5k|    state.syntax_check_only = syntax_check_only;
  986|  14.5k|    state.enable_warnings = enable_warnings;
  987|  14.5k|    if (_Py_CArray_Init(&state.cf_finally, sizeof(ControlFlowInFinallyContext), 20) < 0) {
  ------------------
  |  Branch (987:9): [True: 0, False: 14.5k]
  ------------------
  988|      0|        return -1;
  989|      0|    }
  990|       |
  991|  14.5k|    int ret = astfold_mod(mod, arena, &state);
  992|  14.5k|    assert(ret || PyErr_Occurred());
  ------------------
  |  Branch (992:5): [True: 14.5k, False: 0]
  |  Branch (992:5): [True: 0, False: 0]
  ------------------
  993|       |
  994|  14.5k|    _Py_CArray_Fini(&state.cf_finally);
  995|  14.5k|    return ret;
  996|  14.5k|}
ast_preprocess.c:astfold_mod:
  498|  14.5k|{
  499|  14.5k|    switch (node_->kind) {
  ------------------
  |  Branch (499:13): [True: 14.5k, False: 0]
  ------------------
  500|  9.81k|    case Module_kind:
  ------------------
  |  Branch (500:5): [True: 9.81k, False: 4.77k]
  ------------------
  501|  9.81k|        CALL(astfold_body, asdl_seq, node_->v.Module.body);
  ------------------
  |  |  409|  9.81k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 9.81k]
  |  |  ------------------
  |  |  410|  9.81k|        return 0;
  ------------------
  502|  9.81k|        break;
  503|  2.75k|    case Interactive_kind:
  ------------------
  |  Branch (503:5): [True: 2.75k, False: 11.8k]
  ------------------
  504|  2.75k|        CALL_SEQ(astfold_stmt, stmt, node_->v.Interactive.body);
  ------------------
  |  |  416|  2.75k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.75k|    Py_ssize_t i; \
  |  |  418|  2.75k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  6.89k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  6.89k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  13.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 6.89k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 4.14k, False: 2.75k]
  |  |  ------------------
  |  |  420|  4.14k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  4.14k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  4.14k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  4.14k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 4.14k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 4.14k]
  |  |  ------------------
  |  |  422|  4.14k|            return 0; \
  |  |  423|  4.14k|    } \
  |  |  424|  2.75k|}
  ------------------
  505|  2.75k|        break;
  506|  2.02k|    case Expression_kind:
  ------------------
  |  Branch (506:5): [True: 2.02k, False: 12.5k]
  ------------------
  507|  2.02k|        CALL(astfold_expr, expr_ty, node_->v.Expression.body);
  ------------------
  |  |  409|  2.02k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.02k]
  |  |  ------------------
  |  |  410|  2.02k|        return 0;
  ------------------
  508|  2.02k|        break;
  509|       |    // The following top level nodes don't participate in constant folding
  510|      0|    case FunctionType_kind:
  ------------------
  |  Branch (510:5): [True: 0, False: 14.5k]
  ------------------
  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|  14.5k|    }
  515|  14.5k|    return 1;
  516|  14.5k|}
ast_preprocess.c:astfold_body:
  468|  31.6k|{
  469|  31.6k|    int docstring = _PyAST_GetDocString(stmts) != NULL;
  470|  31.6k|    if (docstring && (state->optimize >= 2)) {
  ------------------
  |  Branch (470:9): [True: 3.11k, False: 28.5k]
  |  Branch (470:22): [True: 193, False: 2.92k]
  ------------------
  471|       |        /* remove the docstring */
  472|    193|        if (!remove_docstring(stmts, 0, ctx_)) {
  ------------------
  |  Branch (472:13): [True: 0, False: 193]
  ------------------
  473|      0|            return 0;
  474|      0|        }
  475|    193|        docstring = 0;
  476|    193|    }
  477|  31.6k|    CALL_SEQ(astfold_stmt, stmt, stmts);
  ------------------
  |  |  416|  31.6k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  31.6k|    Py_ssize_t i; \
  |  |  418|  31.6k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|   171k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|   171k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|   342k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 389, False: 170k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 139k, False: 31.6k]
  |  |  ------------------
  |  |  420|   139k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|   139k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|   139k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|   139k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 139k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 139k]
  |  |  ------------------
  |  |  422|   139k|            return 0; \
  |  |  423|   139k|    } \
  |  |  424|  31.6k|}
  ------------------
  478|  31.6k|    if (!docstring && _PyAST_GetDocString(stmts) != NULL) {
  ------------------
  |  Branch (478:9): [True: 28.7k, False: 2.92k]
  |  Branch (478:23): [True: 59, False: 28.6k]
  ------------------
  479|     59|        stmt_ty st = (stmt_ty)asdl_seq_GET(stmts, 0);
  ------------------
  |  |   82|     59|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|     59|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  480|     59|        asdl_expr_seq *values = _Py_asdl_expr_seq_new(1, ctx_);
  481|     59|        if (!values) {
  ------------------
  |  Branch (481:13): [True: 0, False: 59]
  ------------------
  482|      0|            return 0;
  483|      0|        }
  484|     59|        asdl_seq_SET(values, 0, st->v.Expr.value);
  ------------------
  |  |   94|     59|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|     59|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  485|     59|        expr_ty expr = _PyAST_JoinedStr(values, st->lineno, st->col_offset,
  486|     59|                                        st->end_lineno, st->end_col_offset,
  487|     59|                                        ctx_);
  488|     59|        if (!expr) {
  ------------------
  |  Branch (488:13): [True: 0, False: 59]
  ------------------
  489|      0|            return 0;
  490|      0|        }
  491|     59|        st->v.Expr.value = expr;
  492|     59|    }
  493|  31.6k|    return 1;
  494|  31.6k|}
ast_preprocess.c:remove_docstring:
  443|    193|{
  444|    193|    assert(_PyAST_GetDocString(stmts) != NULL);
  ------------------
  |  Branch (444:5): [True: 193, False: 0]
  ------------------
  445|       |    // In case there's just the docstring in the body, replace it with `pass`
  446|       |    // keyword, so body won't be empty.
  447|    193|    if (asdl_seq_LEN(stmts) == 1) {
  ------------------
  |  |   83|    193|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    386|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 193]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (447:9): [True: 91, False: 102]
  ------------------
  448|     91|        stmt_ty docstring = (stmt_ty)asdl_seq_GET(stmts, 0);
  ------------------
  |  |   82|     91|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|     91|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  449|     91|        stmt_ty pass = _PyAST_Pass(
  450|     91|            docstring->lineno, docstring->col_offset,
  451|       |            // we know that `pass` always takes 4 chars and a single line,
  452|       |            // while docstring can span on multiple lines
  453|     91|            docstring->lineno, docstring->col_offset + 4,
  454|     91|            ctx_
  455|     91|        );
  456|     91|        if (pass == NULL) {
  ------------------
  |  Branch (456:13): [True: 0, False: 91]
  ------------------
  457|      0|            return 0;
  458|      0|        }
  459|     91|        asdl_seq_SET(stmts, 0, pass);
  ------------------
  |  |   94|     91|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|     91|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  460|     91|        return 1;
  461|     91|    }
  462|       |    // In case there are more than 1 body items, just remove the docstring.
  463|    102|    return stmt_seq_remove_item(stmts, idx);
  464|    193|}
ast_preprocess.c:stmt_seq_remove_item:
  429|    102|{
  430|    102|    if (idx >= asdl_seq_LEN(stmts)) {
  ------------------
  |  |   83|    102|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    204|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 102]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (430:9): [True: 0, False: 102]
  ------------------
  431|      0|        return 0;
  432|      0|    }
  433|    433|    for (Py_ssize_t i = idx; i < asdl_seq_LEN(stmts) - 1; i++) {
  ------------------
  |  |   83|    433|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    866|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 433]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (433:30): [True: 331, False: 102]
  ------------------
  434|    331|        stmt_ty st = (stmt_ty)asdl_seq_GET(stmts, i+1);
  ------------------
  |  |   82|    331|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    331|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  435|    331|        asdl_seq_SET(stmts, i, st);
  ------------------
  |  |   94|    331|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|    331|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  436|    331|    }
  437|    102|    stmts->size--;
  438|    102|    return 1;
  439|    102|}
ast_preprocess.c:astfold_stmt:
  685|   192k|{
  686|   192k|    ENTER_RECURSIVE();
  ------------------
  |  |   29|   192k|#define ENTER_RECURSIVE() \
  |  |   30|   192k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 192k]
  |  |  ------------------
  |  |   31|      0|    return 0; \
  |  |   32|      0|}
  ------------------
  687|   192k|    switch (node_->kind) {
  ------------------
  |  Branch (687:13): [True: 192k, False: 0]
  ------------------
  688|  5.50k|    case FunctionDef_kind: {
  ------------------
  |  Branch (688:5): [True: 5.50k, False: 187k]
  ------------------
  689|  5.50k|        CALL_SEQ(astfold_type_param, type_param, node_->v.FunctionDef.type_params);
  ------------------
  |  |  416|  5.50k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  5.50k|    Py_ssize_t i; \
  |  |  418|  5.50k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  7.41k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  7.41k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  14.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 4.48k, False: 2.93k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.91k, False: 5.50k]
  |  |  ------------------
  |  |  420|  1.91k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.91k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.91k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.91k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.91k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.91k]
  |  |  ------------------
  |  |  422|  1.91k|            return 0; \
  |  |  423|  1.91k|    } \
  |  |  424|  5.50k|}
  ------------------
  690|  5.50k|        CALL(astfold_arguments, arguments_ty, node_->v.FunctionDef.args);
  ------------------
  |  |  409|  5.50k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 5.50k]
  |  |  ------------------
  |  |  410|  5.50k|        return 0;
  ------------------
  691|  5.50k|        BEFORE_FUNC_BODY(state, node_);
  ------------------
  |  |  118|  5.50k|#define BEFORE_FUNC_BODY(S, N)  PUSH_CONTEXT((S), (N), false, true, false)
  |  |  ------------------
  |  |  |  |  110|  5.50k|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 5.50k]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  692|  5.50k|        CALL(astfold_body, asdl_seq, node_->v.FunctionDef.body);
  ------------------
  |  |  409|  5.50k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 5.50k]
  |  |  ------------------
  |  |  410|  5.50k|        return 0;
  ------------------
  693|  5.50k|        AFTER_FUNC_BODY(state);
  ------------------
  |  |  119|  5.50k|#define AFTER_FUNC_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|  5.50k|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  694|  5.50k|        CALL_SEQ(astfold_expr, expr, node_->v.FunctionDef.decorator_list);
  ------------------
  |  |  416|  5.50k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  5.50k|    Py_ssize_t i; \
  |  |  418|  5.50k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  5.93k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.93k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  11.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 5.36k, False: 571]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 432, False: 5.50k]
  |  |  ------------------
  |  |  420|    432|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    432|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    432|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    432|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 432, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 432]
  |  |  ------------------
  |  |  422|    432|            return 0; \
  |  |  423|    432|    } \
  |  |  424|  5.50k|}
  ------------------
  695|  5.50k|        if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  147|  5.50k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (695:13): [True: 5.23k, False: 271]
  ------------------
  696|  5.23k|            CALL_OPT(astfold_expr, expr_ty, node_->v.FunctionDef.returns);
  ------------------
  |  |  413|  5.23k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 954, False: 4.27k]
  |  |  |  Branch (413:26): [True: 0, False: 954]
  |  |  ------------------
  |  |  414|  5.23k|        return 0;
  ------------------
  697|  5.23k|        }
  698|  5.50k|        break;
  699|  5.50k|    }
  700|  5.50k|    case AsyncFunctionDef_kind: {
  ------------------
  |  Branch (700:5): [True: 3.05k, False: 189k]
  ------------------
  701|  3.05k|        CALL_SEQ(astfold_type_param, type_param, node_->v.AsyncFunctionDef.type_params);
  ------------------
  |  |  416|  3.05k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  3.05k|    Py_ssize_t i; \
  |  |  418|  3.05k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  4.58k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  4.58k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  9.17k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 2.42k, False: 2.16k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.53k, False: 3.05k]
  |  |  ------------------
  |  |  420|  1.53k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.53k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.53k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.53k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.53k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.53k]
  |  |  ------------------
  |  |  422|  1.53k|            return 0; \
  |  |  423|  1.53k|    } \
  |  |  424|  3.05k|}
  ------------------
  702|  3.05k|        CALL(astfold_arguments, arguments_ty, node_->v.AsyncFunctionDef.args);
  ------------------
  |  |  409|  3.05k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 3.05k]
  |  |  ------------------
  |  |  410|  3.05k|        return 0;
  ------------------
  703|  3.05k|        BEFORE_FUNC_BODY(state, node_);
  ------------------
  |  |  118|  3.05k|#define BEFORE_FUNC_BODY(S, N)  PUSH_CONTEXT((S), (N), false, true, false)
  |  |  ------------------
  |  |  |  |  110|  3.05k|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 3.05k]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  704|  3.05k|        CALL(astfold_body, asdl_seq, node_->v.AsyncFunctionDef.body);
  ------------------
  |  |  409|  3.05k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 3.05k]
  |  |  ------------------
  |  |  410|  3.05k|        return 0;
  ------------------
  705|  3.05k|        AFTER_FUNC_BODY(state);
  ------------------
  |  |  119|  3.05k|#define AFTER_FUNC_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|  3.05k|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  706|  3.05k|        CALL_SEQ(astfold_expr, expr, node_->v.AsyncFunctionDef.decorator_list);
  ------------------
  |  |  416|  3.05k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  3.05k|    Py_ssize_t i; \
  |  |  418|  3.05k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  4.77k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  4.77k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  9.54k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 2.43k, False: 2.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.71k, False: 3.05k]
  |  |  ------------------
  |  |  420|  1.71k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.71k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.71k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.71k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.71k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.71k]
  |  |  ------------------
  |  |  422|  1.71k|            return 0; \
  |  |  423|  1.71k|    } \
  |  |  424|  3.05k|}
  ------------------
  707|  3.05k|        if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  147|  3.05k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (707:13): [True: 2.87k, False: 173]
  ------------------
  708|  2.87k|            CALL_OPT(astfold_expr, expr_ty, node_->v.AsyncFunctionDef.returns);
  ------------------
  |  |  413|  2.87k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 1.00k, False: 1.87k]
  |  |  |  Branch (413:26): [True: 0, False: 1.00k]
  |  |  ------------------
  |  |  414|  2.87k|        return 0;
  ------------------
  709|  2.87k|        }
  710|  3.05k|        break;
  711|  3.05k|    }
  712|  13.3k|    case ClassDef_kind:
  ------------------
  |  Branch (712:5): [True: 13.3k, False: 179k]
  ------------------
  713|  13.3k|        CALL_SEQ(astfold_type_param, type_param, node_->v.ClassDef.type_params);
  ------------------
  |  |  416|  13.3k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  13.3k|    Py_ssize_t i; \
  |  |  418|  13.3k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  25.7k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  25.7k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  51.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 8.29k, False: 17.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 12.4k, False: 13.3k]
  |  |  ------------------
  |  |  420|  12.4k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  12.4k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  12.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  12.4k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 12.4k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 12.4k]
  |  |  ------------------
  |  |  422|  12.4k|            return 0; \
  |  |  423|  12.4k|    } \
  |  |  424|  13.3k|}
  ------------------
  714|  13.3k|        CALL_SEQ(astfold_expr, expr, node_->v.ClassDef.bases);
  ------------------
  |  |  416|  13.3k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  13.3k|    Py_ssize_t i; \
  |  |  418|  13.3k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  13.9k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  13.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  27.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 12.6k, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 658, False: 13.3k]
  |  |  ------------------
  |  |  420|    658|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    658|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    658|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    658|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 658, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 658]
  |  |  ------------------
  |  |  422|    658|            return 0; \
  |  |  423|    658|    } \
  |  |  424|  13.3k|}
  ------------------
  715|  13.3k|        CALL_SEQ(astfold_keyword, keyword, node_->v.ClassDef.keywords);
  ------------------
  |  |  416|  13.3k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  13.3k|    Py_ssize_t i; \
  |  |  418|  13.3k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  13.5k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  13.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  27.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 13.0k, False: 562]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 284, False: 13.3k]
  |  |  ------------------
  |  |  420|    284|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    284|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    284|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    284|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 284, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 284]
  |  |  ------------------
  |  |  422|    284|            return 0; \
  |  |  423|    284|    } \
  |  |  424|  13.3k|}
  ------------------
  716|  13.3k|        CALL(astfold_body, asdl_seq, node_->v.ClassDef.body);
  ------------------
  |  |  409|  13.3k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 13.3k]
  |  |  ------------------
  |  |  410|  13.3k|        return 0;
  ------------------
  717|  13.3k|        CALL_SEQ(astfold_expr, expr, node_->v.ClassDef.decorator_list);
  ------------------
  |  |  416|  13.3k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  13.3k|    Py_ssize_t i; \
  |  |  418|  13.3k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  14.0k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  14.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  28.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 12.7k, False: 1.23k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 712, False: 13.3k]
  |  |  ------------------
  |  |  420|    712|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    712|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    712|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    712|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 712, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 712]
  |  |  ------------------
  |  |  422|    712|            return 0; \
  |  |  423|    712|    } \
  |  |  424|  13.3k|}
  ------------------
  718|  13.3k|        break;
  719|  1.51k|    case Return_kind:
  ------------------
  |  Branch (719:5): [True: 1.51k, False: 191k]
  ------------------
  720|  1.51k|        BEFORE_RETURN(state, node_);
  ------------------
  |  |  124|  1.51k|    if (!before_return((S), (N))) { \
  |  |  ------------------
  |  |  |  Branch (124:9): [True: 0, False: 1.51k]
  |  |  ------------------
  |  |  125|      0|        return 0; \
  |  |  126|      0|    }
  ------------------
  721|  1.51k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Return.value);
  ------------------
  |  |  413|  1.51k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 904, False: 610]
  |  |  |  Branch (413:26): [True: 0, False: 904]
  |  |  ------------------
  |  |  414|  1.51k|        return 0;
  ------------------
  722|  1.51k|        break;
  723|  1.03k|    case Delete_kind:
  ------------------
  |  Branch (723:5): [True: 1.03k, False: 191k]
  ------------------
  724|  1.03k|        CALL_SEQ(astfold_expr, expr, node_->v.Delete.targets);
  ------------------
  |  |  416|  1.03k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.03k|    Py_ssize_t i; \
  |  |  418|  1.03k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  7.80k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  7.80k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  15.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 7.80k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 6.76k, False: 1.03k]
  |  |  ------------------
  |  |  420|  6.76k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  6.76k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  6.76k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  6.76k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 6.76k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 6.76k]
  |  |  ------------------
  |  |  422|  6.76k|            return 0; \
  |  |  423|  6.76k|    } \
  |  |  424|  1.03k|}
  ------------------
  725|  1.03k|        break;
  726|  7.01k|    case Assign_kind:
  ------------------
  |  Branch (726:5): [True: 7.01k, False: 185k]
  ------------------
  727|  7.01k|        CALL_SEQ(astfold_expr, expr, node_->v.Assign.targets);
  ------------------
  |  |  416|  7.01k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  7.01k|    Py_ssize_t i; \
  |  |  418|  7.01k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  52.4k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  52.4k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|   104k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 52.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 45.4k, False: 7.01k]
  |  |  ------------------
  |  |  420|  45.4k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  45.4k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  45.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  45.4k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 45.4k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 45.4k]
  |  |  ------------------
  |  |  422|  45.4k|            return 0; \
  |  |  423|  45.4k|    } \
  |  |  424|  7.01k|}
  ------------------
  728|  7.01k|        CALL(astfold_expr, expr_ty, node_->v.Assign.value);
  ------------------
  |  |  409|  7.01k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 7.01k]
  |  |  ------------------
  |  |  410|  7.01k|        return 0;
  ------------------
  729|  7.01k|        break;
  730|  5.82k|    case AugAssign_kind:
  ------------------
  |  Branch (730:5): [True: 5.82k, False: 186k]
  ------------------
  731|  5.82k|        CALL(astfold_expr, expr_ty, node_->v.AugAssign.target);
  ------------------
  |  |  409|  5.82k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 5.82k]
  |  |  ------------------
  |  |  410|  5.82k|        return 0;
  ------------------
  732|  5.82k|        CALL(astfold_expr, expr_ty, node_->v.AugAssign.value);
  ------------------
  |  |  409|  5.82k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 5.82k]
  |  |  ------------------
  |  |  410|  5.82k|        return 0;
  ------------------
  733|  5.82k|        break;
  734|  25.5k|    case AnnAssign_kind:
  ------------------
  |  Branch (734:5): [True: 25.5k, False: 166k]
  ------------------
  735|  25.5k|        CALL(astfold_expr, expr_ty, node_->v.AnnAssign.target);
  ------------------
  |  |  409|  25.5k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 25.5k]
  |  |  ------------------
  |  |  410|  25.5k|        return 0;
  ------------------
  736|  25.5k|        if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  147|  25.5k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (736:13): [True: 20.3k, False: 5.25k]
  ------------------
  737|  20.3k|            CALL(astfold_expr, expr_ty, node_->v.AnnAssign.annotation);
  ------------------
  |  |  409|  20.3k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 20.3k]
  |  |  ------------------
  |  |  410|  20.3k|        return 0;
  ------------------
  738|  20.3k|        }
  739|  25.5k|        CALL_OPT(astfold_expr, expr_ty, node_->v.AnnAssign.value);
  ------------------
  |  |  413|  25.5k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 1.83k, False: 23.7k]
  |  |  |  Branch (413:26): [True: 0, False: 1.83k]
  |  |  ------------------
  |  |  414|  25.5k|        return 0;
  ------------------
  740|  25.5k|        break;
  741|  2.57k|    case TypeAlias_kind:
  ------------------
  |  Branch (741:5): [True: 2.57k, False: 189k]
  ------------------
  742|  2.57k|        CALL(astfold_expr, expr_ty, node_->v.TypeAlias.name);
  ------------------
  |  |  409|  2.57k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.57k]
  |  |  ------------------
  |  |  410|  2.57k|        return 0;
  ------------------
  743|  2.57k|        CALL_SEQ(astfold_type_param, type_param, node_->v.TypeAlias.type_params);
  ------------------
  |  |  416|  2.57k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.57k|    Py_ssize_t i; \
  |  |  418|  2.57k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.22k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.22k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  6.45k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 2.28k, False: 938]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 649, False: 2.57k]
  |  |  ------------------
  |  |  420|    649|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    649|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    649|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    649|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 649, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 649]
  |  |  ------------------
  |  |  422|    649|            return 0; \
  |  |  423|    649|    } \
  |  |  424|  2.57k|}
  ------------------
  744|  2.57k|        CALL(astfold_expr, expr_ty, node_->v.TypeAlias.value);
  ------------------
  |  |  409|  2.57k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.57k]
  |  |  ------------------
  |  |  410|  2.57k|        return 0;
  ------------------
  745|  2.57k|        break;
  746|    494|    case For_kind: {
  ------------------
  |  Branch (746:5): [True: 494, False: 192k]
  ------------------
  747|    494|        CALL(astfold_expr, expr_ty, node_->v.For.target);
  ------------------
  |  |  409|    494|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 494]
  |  |  ------------------
  |  |  410|    494|        return 0;
  ------------------
  748|    494|        CALL(astfold_expr, expr_ty, node_->v.For.iter);
  ------------------
  |  |  409|    494|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 494]
  |  |  ------------------
  |  |  410|    494|        return 0;
  ------------------
  749|    494|        BEFORE_LOOP_BODY(state, node_);
  ------------------
  |  |  120|    494|#define BEFORE_LOOP_BODY(S, N)  PUSH_CONTEXT((S), (N), false, false, true)
  |  |  ------------------
  |  |  |  |  110|    494|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 494]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  750|    494|        CALL_SEQ(astfold_stmt, stmt, node_->v.For.body);
  ------------------
  |  |  416|    494|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    494|    Py_ssize_t i; \
  |  |  418|    494|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  2.34k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.34k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  4.69k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 2.34k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.85k, False: 494]
  |  |  ------------------
  |  |  420|  1.85k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.85k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.85k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.85k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.85k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.85k]
  |  |  ------------------
  |  |  422|  1.85k|            return 0; \
  |  |  423|  1.85k|    } \
  |  |  424|    494|}
  ------------------
  751|    494|        AFTER_LOOP_BODY(state);
  ------------------
  |  |  121|    494|#define AFTER_LOOP_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|    494|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  752|    494|        CALL_SEQ(astfold_stmt, stmt, node_->v.For.orelse);
  ------------------
  |  |  416|    494|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    494|    Py_ssize_t i; \
  |  |  418|    494|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    770|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    770|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.54k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 364, False: 406]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 276, False: 494]
  |  |  ------------------
  |  |  420|    276|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    276|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    276|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    276|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 276, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 276]
  |  |  ------------------
  |  |  422|    276|            return 0; \
  |  |  423|    276|    } \
  |  |  424|    494|}
  ------------------
  753|    494|        break;
  754|    494|    }
  755|    364|    case AsyncFor_kind: {
  ------------------
  |  Branch (755:5): [True: 364, False: 192k]
  ------------------
  756|    364|        CALL(astfold_expr, expr_ty, node_->v.AsyncFor.target);
  ------------------
  |  |  409|    364|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 364]
  |  |  ------------------
  |  |  410|    364|        return 0;
  ------------------
  757|    364|        CALL(astfold_expr, expr_ty, node_->v.AsyncFor.iter);
  ------------------
  |  |  409|    364|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 364]
  |  |  ------------------
  |  |  410|    364|        return 0;
  ------------------
  758|    364|        BEFORE_LOOP_BODY(state, node_);
  ------------------
  |  |  120|    364|#define BEFORE_LOOP_BODY(S, N)  PUSH_CONTEXT((S), (N), false, false, true)
  |  |  ------------------
  |  |  |  |  110|    364|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 364]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  759|    364|        CALL_SEQ(astfold_stmt, stmt, node_->v.AsyncFor.body);
  ------------------
  |  |  416|    364|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    364|    Py_ssize_t i; \
  |  |  418|    364|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.03k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.03k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.06k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.03k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 670, False: 364]
  |  |  ------------------
  |  |  420|    670|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    670|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    670|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    670|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 670, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 670]
  |  |  ------------------
  |  |  422|    670|            return 0; \
  |  |  423|    670|    } \
  |  |  424|    364|}
  ------------------
  760|    364|        AFTER_LOOP_BODY(state);
  ------------------
  |  |  121|    364|#define AFTER_LOOP_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|    364|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  761|    364|        CALL_SEQ(astfold_stmt, stmt, node_->v.AsyncFor.orelse);
  ------------------
  |  |  416|    364|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    364|    Py_ssize_t i; \
  |  |  418|    364|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    813|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    813|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.62k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 237, False: 576]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 449, False: 364]
  |  |  ------------------
  |  |  420|    449|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    449|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    449|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    449|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 449, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 449]
  |  |  ------------------
  |  |  422|    449|            return 0; \
  |  |  423|    449|    } \
  |  |  424|    364|}
  ------------------
  762|    364|        break;
  763|    364|    }
  764|  2.15k|    case While_kind: {
  ------------------
  |  Branch (764:5): [True: 2.15k, False: 190k]
  ------------------
  765|  2.15k|        CALL(astfold_expr, expr_ty, node_->v.While.test);
  ------------------
  |  |  409|  2.15k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.15k]
  |  |  ------------------
  |  |  410|  2.15k|        return 0;
  ------------------
  766|  2.15k|        BEFORE_LOOP_BODY(state, node_);
  ------------------
  |  |  120|  2.15k|#define BEFORE_LOOP_BODY(S, N)  PUSH_CONTEXT((S), (N), false, false, true)
  |  |  ------------------
  |  |  |  |  110|  2.15k|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 2.15k]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  767|  2.15k|        CALL_SEQ(astfold_stmt, stmt, node_->v.While.body);
  ------------------
  |  |  416|  2.15k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.15k|    Py_ssize_t i; \
  |  |  418|  2.15k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  12.1k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  12.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  24.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 12.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 9.95k, False: 2.15k]
  |  |  ------------------
  |  |  420|  9.95k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  9.95k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  9.95k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  9.95k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 9.95k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 9.95k]
  |  |  ------------------
  |  |  422|  9.95k|            return 0; \
  |  |  423|  9.95k|    } \
  |  |  424|  2.15k|}
  ------------------
  768|  2.15k|        AFTER_LOOP_BODY(state);
  ------------------
  |  |  121|  2.15k|#define AFTER_LOOP_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|  2.15k|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  769|  2.15k|        CALL_SEQ(astfold_stmt, stmt, node_->v.While.orelse);
  ------------------
  |  |  416|  2.15k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.15k|    Py_ssize_t i; \
  |  |  418|  2.15k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  2.62k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.62k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  5.25k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 1.93k, False: 695]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 478, False: 2.15k]
  |  |  ------------------
  |  |  420|    478|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    478|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    478|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    478|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 478, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 478]
  |  |  ------------------
  |  |  422|    478|            return 0; \
  |  |  423|    478|    } \
  |  |  424|  2.15k|}
  ------------------
  770|  2.15k|        break;
  771|  2.15k|    }
  772|  1.42k|    case If_kind:
  ------------------
  |  Branch (772:5): [True: 1.42k, False: 191k]
  ------------------
  773|  1.42k|        CALL(astfold_expr, expr_ty, node_->v.If.test);
  ------------------
  |  |  409|  1.42k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.42k]
  |  |  ------------------
  |  |  410|  1.42k|        return 0;
  ------------------
  774|  1.42k|        CALL_SEQ(astfold_stmt, stmt, node_->v.If.body);
  ------------------
  |  |  416|  1.42k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.42k|    Py_ssize_t i; \
  |  |  418|  1.42k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.28k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.28k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  6.56k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.28k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.86k, False: 1.42k]
  |  |  ------------------
  |  |  420|  1.86k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.86k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.86k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.86k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.86k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.86k]
  |  |  ------------------
  |  |  422|  1.86k|            return 0; \
  |  |  423|  1.86k|    } \
  |  |  424|  1.42k|}
  ------------------
  775|  1.42k|        CALL_SEQ(astfold_stmt, stmt, node_->v.If.orelse);
  ------------------
  |  |  416|  1.42k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.42k|    Py_ssize_t i; \
  |  |  418|  1.42k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  2.24k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.24k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  4.49k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 990, False: 1.25k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 828, False: 1.42k]
  |  |  ------------------
  |  |  420|    828|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    828|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    828|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    828|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 828, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 828]
  |  |  ------------------
  |  |  422|    828|            return 0; \
  |  |  423|    828|    } \
  |  |  424|  1.42k|}
  ------------------
  776|  1.42k|        break;
  777|    773|    case With_kind:
  ------------------
  |  Branch (777:5): [True: 773, False: 191k]
  ------------------
  778|    773|        CALL_SEQ(astfold_withitem, withitem, node_->v.With.items);
  ------------------
  |  |  416|    773|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    773|    Py_ssize_t i; \
  |  |  418|    773|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  2.92k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.92k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  5.84k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 2.92k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2.15k, False: 773]
  |  |  ------------------
  |  |  420|  2.15k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.15k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.15k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  2.15k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2.15k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2.15k]
  |  |  ------------------
  |  |  422|  2.15k|            return 0; \
  |  |  423|  2.15k|    } \
  |  |  424|    773|}
  ------------------
  779|    773|        CALL_SEQ(astfold_stmt, stmt, node_->v.With.body);
  ------------------
  |  |  416|    773|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    773|    Py_ssize_t i; \
  |  |  418|    773|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.75k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.75k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.51k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.75k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 985, False: 773]
  |  |  ------------------
  |  |  420|    985|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    985|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    985|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    985|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 985, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 985]
  |  |  ------------------
  |  |  422|    985|            return 0; \
  |  |  423|    985|    } \
  |  |  424|    773|}
  ------------------
  780|    773|        break;
  781|  1.80k|    case AsyncWith_kind:
  ------------------
  |  Branch (781:5): [True: 1.80k, False: 190k]
  ------------------
  782|  1.80k|        CALL_SEQ(astfold_withitem, withitem, node_->v.AsyncWith.items);
  ------------------
  |  |  416|  1.80k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.80k|    Py_ssize_t i; \
  |  |  418|  1.80k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  11.3k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  11.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  22.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 11.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 9.58k, False: 1.80k]
  |  |  ------------------
  |  |  420|  9.58k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  9.58k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  9.58k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  9.58k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 9.58k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 9.58k]
  |  |  ------------------
  |  |  422|  9.58k|            return 0; \
  |  |  423|  9.58k|    } \
  |  |  424|  1.80k|}
  ------------------
  783|  1.80k|        CALL_SEQ(astfold_stmt, stmt, node_->v.AsyncWith.body);
  ------------------
  |  |  416|  1.80k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.80k|    Py_ssize_t i; \
  |  |  418|  1.80k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  4.27k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  4.27k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  8.55k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 4.27k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2.47k, False: 1.80k]
  |  |  ------------------
  |  |  420|  2.47k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.47k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.47k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  2.47k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2.47k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2.47k]
  |  |  ------------------
  |  |  422|  2.47k|            return 0; \
  |  |  423|  2.47k|    } \
  |  |  424|  1.80k|}
  ------------------
  784|  1.80k|        break;
  785|    410|    case Raise_kind:
  ------------------
  |  Branch (785:5): [True: 410, False: 192k]
  ------------------
  786|    410|        CALL_OPT(astfold_expr, expr_ty, node_->v.Raise.exc);
  ------------------
  |  |  413|    410|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 213, False: 197]
  |  |  |  Branch (413:26): [True: 0, False: 213]
  |  |  ------------------
  |  |  414|    410|        return 0;
  ------------------
  787|    410|        CALL_OPT(astfold_expr, expr_ty, node_->v.Raise.cause);
  ------------------
  |  |  413|    410|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 106, False: 304]
  |  |  |  Branch (413:26): [True: 0, False: 106]
  |  |  ------------------
  |  |  414|    410|        return 0;
  ------------------
  788|    410|        break;
  789|  4.30k|    case Try_kind: {
  ------------------
  |  Branch (789:5): [True: 4.30k, False: 188k]
  ------------------
  790|  4.30k|        CALL_SEQ(astfold_stmt, stmt, node_->v.Try.body);
  ------------------
  |  |  416|  4.30k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  4.30k|    Py_ssize_t i; \
  |  |  418|  4.30k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  9.05k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  9.05k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  18.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 9.05k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 4.74k, False: 4.30k]
  |  |  ------------------
  |  |  420|  4.74k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  4.74k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  4.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  4.74k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 4.74k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 4.74k]
  |  |  ------------------
  |  |  422|  4.74k|            return 0; \
  |  |  423|  4.74k|    } \
  |  |  424|  4.30k|}
  ------------------
  791|  4.30k|        CALL_SEQ(astfold_excepthandler, excepthandler, node_->v.Try.handlers);
  ------------------
  |  |  416|  4.30k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  4.30k|    Py_ssize_t i; \
  |  |  418|  4.30k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  6.68k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  6.68k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  13.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 2.66k, False: 4.02k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2.37k, False: 4.30k]
  |  |  ------------------
  |  |  420|  2.37k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.37k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.37k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  2.37k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2.37k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2.37k]
  |  |  ------------------
  |  |  422|  2.37k|            return 0; \
  |  |  423|  2.37k|    } \
  |  |  424|  4.30k|}
  ------------------
  792|  4.30k|        CALL_SEQ(astfold_stmt, stmt, node_->v.Try.orelse);
  ------------------
  |  |  416|  4.30k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  4.30k|    Py_ssize_t i; \
  |  |  418|  4.30k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  4.99k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  4.99k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  9.98k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 4.00k, False: 989]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 688, False: 4.30k]
  |  |  ------------------
  |  |  420|    688|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    688|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    688|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    688|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 688, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 688]
  |  |  ------------------
  |  |  422|    688|            return 0; \
  |  |  423|    688|    } \
  |  |  424|  4.30k|}
  ------------------
  793|  4.30k|        BEFORE_FINALLY(state, node_);
  ------------------
  |  |  116|  4.30k|#define BEFORE_FINALLY(S, N)    PUSH_CONTEXT((S), (N), true, false, false)
  |  |  ------------------
  |  |  |  |  110|  4.30k|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 4.30k]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  794|  4.30k|        CALL_SEQ(astfold_stmt, stmt, node_->v.Try.finalbody);
  ------------------
  |  |  416|  4.30k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  4.30k|    Py_ssize_t i; \
  |  |  418|  4.30k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  16.8k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  16.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  33.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 1.17k, False: 15.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 12.5k, False: 4.30k]
  |  |  ------------------
  |  |  420|  12.5k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  12.5k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  12.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  12.5k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 12.5k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 12.5k]
  |  |  ------------------
  |  |  422|  12.5k|            return 0; \
  |  |  423|  12.5k|    } \
  |  |  424|  4.30k|}
  ------------------
  795|  4.30k|        AFTER_FINALLY(state);
  ------------------
  |  |  117|  4.30k|#define AFTER_FINALLY(S)        POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|  4.30k|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  796|  4.30k|        break;
  797|  4.30k|    }
  798|    750|    case TryStar_kind: {
  ------------------
  |  Branch (798:5): [True: 750, False: 191k]
  ------------------
  799|    750|        CALL_SEQ(astfold_stmt, stmt, node_->v.TryStar.body);
  ------------------
  |  |  416|    750|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    750|    Py_ssize_t i; \
  |  |  418|    750|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.59k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.59k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.18k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.59k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 842, False: 750]
  |  |  ------------------
  |  |  420|    842|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    842|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    842|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    842|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 842, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 842]
  |  |  ------------------
  |  |  422|    842|            return 0; \
  |  |  423|    842|    } \
  |  |  424|    750|}
  ------------------
  800|    750|        CALL_SEQ(astfold_excepthandler, excepthandler, node_->v.TryStar.handlers);
  ------------------
  |  |  416|    750|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    750|    Py_ssize_t i; \
  |  |  418|    750|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.92k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.92k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.84k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.92k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.17k, False: 750]
  |  |  ------------------
  |  |  420|  1.17k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.17k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.17k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.17k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.17k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.17k]
  |  |  ------------------
  |  |  422|  1.17k|            return 0; \
  |  |  423|  1.17k|    } \
  |  |  424|    750|}
  ------------------
  801|    750|        CALL_SEQ(astfold_stmt, stmt, node_->v.TryStar.orelse);
  ------------------
  |  |  416|    750|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    750|    Py_ssize_t i; \
  |  |  418|    750|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.02k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.02k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.04k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 738, False: 284]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 272, False: 750]
  |  |  ------------------
  |  |  420|    272|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    272|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    272|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    272|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 272, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 272]
  |  |  ------------------
  |  |  422|    272|            return 0; \
  |  |  423|    272|    } \
  |  |  424|    750|}
  ------------------
  802|    750|        BEFORE_FINALLY(state, node_);
  ------------------
  |  |  116|    750|#define BEFORE_FINALLY(S, N)    PUSH_CONTEXT((S), (N), true, false, false)
  |  |  ------------------
  |  |  |  |  110|    750|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 750]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  803|    750|        CALL_SEQ(astfold_stmt, stmt, node_->v.TryStar.finalbody);
  ------------------
  |  |  416|    750|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    750|    Py_ssize_t i; \
  |  |  418|    750|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  2.41k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.41k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  4.83k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 654, False: 1.76k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.66k, False: 750]
  |  |  ------------------
  |  |  420|  1.66k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.66k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.66k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.66k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.66k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.66k]
  |  |  ------------------
  |  |  422|  1.66k|            return 0; \
  |  |  423|  1.66k|    } \
  |  |  424|    750|}
  ------------------
  804|    750|        AFTER_FINALLY(state);
  ------------------
  |  |  117|    750|#define AFTER_FINALLY(S)        POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|    750|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  805|    750|        break;
  806|    750|    }
  807|  3.03k|    case Assert_kind:
  ------------------
  |  Branch (807:5): [True: 3.03k, False: 189k]
  ------------------
  808|  3.03k|        CALL(astfold_expr, expr_ty, node_->v.Assert.test);
  ------------------
  |  |  409|  3.03k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 3.03k]
  |  |  ------------------
  |  |  410|  3.03k|        return 0;
  ------------------
  809|  3.03k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Assert.msg);
  ------------------
  |  |  413|  3.03k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 1.04k, False: 1.99k]
  |  |  |  Branch (413:26): [True: 0, False: 1.04k]
  |  |  ------------------
  |  |  414|  3.03k|        return 0;
  ------------------
  810|  3.03k|        break;
  811|   103k|    case Expr_kind:
  ------------------
  |  Branch (811:5): [True: 103k, False: 89.5k]
  ------------------
  812|   103k|        CALL(astfold_expr, expr_ty, node_->v.Expr.value);
  ------------------
  |  |  409|   103k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 103k]
  |  |  ------------------
  |  |  410|   103k|        return 0;
  ------------------
  813|   103k|        break;
  814|    756|    case Match_kind:
  ------------------
  |  Branch (814:5): [True: 756, False: 191k]
  ------------------
  815|    756|        CALL(astfold_expr, expr_ty, node_->v.Match.subject);
  ------------------
  |  |  409|    756|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 756]
  |  |  ------------------
  |  |  410|    756|        return 0;
  ------------------
  816|    756|        CALL_SEQ(astfold_match_case, match_case, node_->v.Match.cases);
  ------------------
  |  |  416|    756|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    756|    Py_ssize_t i; \
  |  |  418|    756|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.47k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.47k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  6.94k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.47k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2.71k, False: 756]
  |  |  ------------------
  |  |  420|  2.71k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.71k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.71k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  2.71k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2.71k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2.71k]
  |  |  ------------------
  |  |  422|  2.71k|            return 0; \
  |  |  423|  2.71k|    } \
  |  |  424|    756|}
  ------------------
  817|    756|        break;
  818|    224|    case Break_kind:
  ------------------
  |  Branch (818:5): [True: 224, False: 192k]
  ------------------
  819|    224|        BEFORE_LOOP_EXIT(state, node_, "break");
  ------------------
  |  |  129|    224|    if (!before_loop_exit((S), (N), (KW))) { \
  |  |  ------------------
  |  |  |  Branch (129:9): [True: 0, False: 224]
  |  |  ------------------
  |  |  130|      0|        return 0; \
  |  |  131|      0|    }
  ------------------
  820|    224|        break;
  821|    850|    case Continue_kind:
  ------------------
  |  Branch (821:5): [True: 850, False: 191k]
  ------------------
  822|    850|        BEFORE_LOOP_EXIT(state, node_, "continue");
  ------------------
  |  |  129|    850|    if (!before_loop_exit((S), (N), (KW))) { \
  |  |  ------------------
  |  |  |  Branch (129:9): [True: 0, False: 850]
  |  |  ------------------
  |  |  130|      0|        return 0; \
  |  |  131|      0|    }
  ------------------
  823|    850|        break;
  824|       |    // The following statements don't contain any subexpressions to be folded
  825|  1.77k|    case Import_kind:
  ------------------
  |  Branch (825:5): [True: 1.77k, False: 190k]
  ------------------
  826|  5.38k|    case ImportFrom_kind:
  ------------------
  |  Branch (826:5): [True: 3.60k, False: 188k]
  ------------------
  827|  6.18k|    case Global_kind:
  ------------------
  |  Branch (827:5): [True: 797, False: 191k]
  ------------------
  828|  6.33k|    case Nonlocal_kind:
  ------------------
  |  Branch (828:5): [True: 149, False: 192k]
  ------------------
  829|  6.80k|    case Pass_kind:
  ------------------
  |  Branch (829:5): [True: 470, False: 192k]
  ------------------
  830|  6.80k|        break;
  831|       |    // No default case, so the compiler will emit a warning if new statement
  832|       |    // kinds are added without being handled here
  833|   192k|    }
  834|   192k|    LEAVE_RECURSIVE();
  ------------------
  |  |   34|   192k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  835|   192k|    return 1;
  836|   192k|}
ast_preprocess.c:astfold_type_param:
  954|  16.5k|{
  955|  16.5k|    switch (node_->kind) {
  ------------------
  |  Branch (955:13): [True: 16.5k, False: 0]
  ------------------
  956|  13.5k|        case TypeVar_kind:
  ------------------
  |  Branch (956:9): [True: 13.5k, False: 3.02k]
  ------------------
  957|  13.5k|            CALL_OPT(astfold_expr, expr_ty, node_->v.TypeVar.bound);
  ------------------
  |  |  413|  13.5k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 4.31k, False: 9.22k]
  |  |  |  Branch (413:26): [True: 0, False: 4.31k]
  |  |  ------------------
  |  |  414|  13.5k|        return 0;
  ------------------
  958|  13.5k|            CALL_OPT(astfold_expr, expr_ty, node_->v.TypeVar.default_value);
  ------------------
  |  |  413|  13.5k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 605, False: 12.9k]
  |  |  |  Branch (413:26): [True: 0, False: 605]
  |  |  ------------------
  |  |  414|  13.5k|        return 0;
  ------------------
  959|  13.5k|            break;
  960|  1.03k|        case ParamSpec_kind:
  ------------------
  |  Branch (960:9): [True: 1.03k, False: 15.5k]
  ------------------
  961|  1.03k|            CALL_OPT(astfold_expr, expr_ty, node_->v.ParamSpec.default_value);
  ------------------
  |  |  413|  1.03k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 135, False: 896]
  |  |  |  Branch (413:26): [True: 0, False: 135]
  |  |  ------------------
  |  |  414|  1.03k|        return 0;
  ------------------
  962|  1.03k|            break;
  963|  1.99k|        case TypeVarTuple_kind:
  ------------------
  |  Branch (963:9): [True: 1.99k, False: 14.5k]
  ------------------
  964|  1.99k|            CALL_OPT(astfold_expr, expr_ty, node_->v.TypeVarTuple.default_value);
  ------------------
  |  |  413|  1.99k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 1.28k, False: 708]
  |  |  |  Branch (413:26): [True: 0, False: 1.28k]
  |  |  ------------------
  |  |  414|  1.99k|        return 0;
  ------------------
  965|  1.99k|            break;
  966|  16.5k|    }
  967|  16.5k|    return 1;
  968|  16.5k|}
ast_preprocess.c:astfold_arguments:
  663|  20.6k|{
  664|  20.6k|    CALL_SEQ(astfold_arg, arg, node_->posonlyargs);
  ------------------
  |  |  416|  20.6k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  20.6k|    Py_ssize_t i; \
  |  |  418|  20.6k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  21.3k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  21.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  42.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 21.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 693, False: 20.6k]
  |  |  ------------------
  |  |  420|    693|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    693|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    693|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    693|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 693, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 693]
  |  |  ------------------
  |  |  422|    693|            return 0; \
  |  |  423|    693|    } \
  |  |  424|  20.6k|}
  ------------------
  665|  20.6k|    CALL_SEQ(astfold_arg, arg, node_->args);
  ------------------
  |  |  416|  20.6k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  20.6k|    Py_ssize_t i; \
  |  |  418|  20.6k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  26.6k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  26.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  53.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 26.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 5.99k, False: 20.6k]
  |  |  ------------------
  |  |  420|  5.99k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  5.99k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  5.99k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  5.99k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 5.99k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 5.99k]
  |  |  ------------------
  |  |  422|  5.99k|            return 0; \
  |  |  423|  5.99k|    } \
  |  |  424|  20.6k|}
  ------------------
  666|  20.6k|    CALL_OPT(astfold_arg, arg_ty, node_->vararg);
  ------------------
  |  |  413|  20.6k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 8.35k, False: 12.2k]
  |  |  |  Branch (413:26): [True: 0, False: 8.35k]
  |  |  ------------------
  |  |  414|  20.6k|        return 0;
  ------------------
  667|  20.6k|    CALL_SEQ(astfold_arg, arg, node_->kwonlyargs);
  ------------------
  |  |  416|  20.6k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  20.6k|    Py_ssize_t i; \
  |  |  418|  20.6k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  33.1k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  33.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  66.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 33.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 12.5k, False: 20.6k]
  |  |  ------------------
  |  |  420|  12.5k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  12.5k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  12.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  12.5k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 12.5k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 12.5k]
  |  |  ------------------
  |  |  422|  12.5k|            return 0; \
  |  |  423|  12.5k|    } \
  |  |  424|  20.6k|}
  ------------------
  668|  20.6k|    CALL_SEQ(astfold_expr, expr, node_->kw_defaults);
  ------------------
  |  |  416|  20.6k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  20.6k|    Py_ssize_t i; \
  |  |  418|  20.6k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  33.1k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  33.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  66.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 33.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 12.5k, False: 20.6k]
  |  |  ------------------
  |  |  420|  12.5k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  12.5k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  12.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  12.5k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 6.29k, False: 6.26k]
  |  |  |  Branch (421:28): [True: 0, False: 6.29k]
  |  |  ------------------
  |  |  422|  12.5k|            return 0; \
  |  |  423|  12.5k|    } \
  |  |  424|  20.6k|}
  ------------------
  669|  20.6k|    CALL_OPT(astfold_arg, arg_ty, node_->kwarg);
  ------------------
  |  |  413|  20.6k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 1.10k, False: 19.5k]
  |  |  |  Branch (413:26): [True: 0, False: 1.10k]
  |  |  ------------------
  |  |  414|  20.6k|        return 0;
  ------------------
  670|  20.6k|    CALL_SEQ(astfold_expr, expr, node_->defaults);
  ------------------
  |  |  416|  20.6k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  20.6k|    Py_ssize_t i; \
  |  |  418|  20.6k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  22.0k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  22.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  44.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 22.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.41k, False: 20.6k]
  |  |  ------------------
  |  |  420|  1.41k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.41k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.41k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.41k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.41k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.41k]
  |  |  ------------------
  |  |  422|  1.41k|            return 0; \
  |  |  423|  1.41k|    } \
  |  |  424|  20.6k|}
  ------------------
  671|  20.6k|    return 1;
  672|  20.6k|}
ast_preprocess.c:astfold_arg:
  676|  28.6k|{
  677|  28.6k|    if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  147|  28.6k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (677:9): [True: 28.0k, False: 635]
  ------------------
  678|  28.0k|        CALL_OPT(astfold_expr, expr_ty, node_->annotation);
  ------------------
  |  |  413|  28.0k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 1.27k, False: 26.7k]
  |  |  |  Branch (413:26): [True: 0, False: 1.27k]
  |  |  ------------------
  |  |  414|  28.0k|        return 0;
  ------------------
  679|  28.0k|    }
  680|  28.6k|    return 1;
  681|  28.6k|}
ast_preprocess.c:push_cf_context:
   45|  16.6k|{
   46|  16.6k|    if (_Py_CArray_EnsureCapacity(&state->cf_finally, state->cf_finally_used+1) < 0) {
  ------------------
  |  Branch (46:9): [True: 0, False: 16.6k]
  ------------------
   47|      0|        return 0;
   48|      0|    }
   49|       |
   50|  16.6k|    state->cf_finally_used++;
   51|  16.6k|    ControlFlowInFinallyContext *ctx = get_cf_finally_top(state);
   52|       |
   53|  16.6k|    ctx->in_finally = finally;
   54|  16.6k|    ctx->in_funcdef = funcdef;
   55|  16.6k|    ctx->in_loop = loop;
   56|  16.6k|    return 1;
   57|  16.6k|}
ast_preprocess.c:get_cf_finally_top:
   38|  18.1k|{
   39|  18.1k|    int idx = state->cf_finally_used;
   40|  18.1k|    return ((ControlFlowInFinallyContext*)state->cf_finally.array) + idx;
   41|  18.1k|}
ast_preprocess.c:pop_cf_context:
   61|  16.6k|{
   62|  16.6k|    assert(state->cf_finally_used > 0);
  ------------------
  |  Branch (62:5): [True: 16.6k, False: 0]
  ------------------
   63|  16.6k|    state->cf_finally_used--;
   64|  16.6k|}
ast_preprocess.c:astfold_keyword:
  647|  6.88k|{
  648|  6.88k|    CALL(astfold_expr, expr_ty, node_->value);
  ------------------
  |  |  409|  6.88k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 6.88k]
  |  |  ------------------
  |  |  410|  6.88k|        return 0;
  ------------------
  649|  6.88k|    return 1;
  650|  6.88k|}
ast_preprocess.c:before_return:
   83|  1.51k|{
   84|  1.51k|    if (state->enable_warnings && state->cf_finally_used > 0) {
  ------------------
  |  Branch (84:9): [True: 915, False: 599]
  |  Branch (84:35): [True: 716, False: 199]
  ------------------
   85|    716|        ControlFlowInFinallyContext *ctx = get_cf_finally_top(state);
   86|    716|        if (ctx->in_finally && ! ctx->in_funcdef) {
  ------------------
  |  Branch (86:13): [True: 49, False: 667]
  |  Branch (86:32): [True: 49, False: 0]
  ------------------
   87|     49|            if (!control_flow_in_finally_warning("return", node_, state)) {
  ------------------
  |  Branch (87:17): [True: 0, False: 49]
  ------------------
   88|      0|                return 0;
   89|      0|            }
   90|     49|        }
   91|    716|    }
   92|  1.51k|    return 1;
   93|  1.51k|}
ast_preprocess.c:control_flow_in_finally_warning:
   68|    400|{
   69|    400|    PyObject *msg = PyUnicode_FromFormat("'%s' in a 'finally' block", kw);
   70|    400|    if (msg == NULL) {
  ------------------
  |  Branch (70:9): [True: 0, False: 400]
  ------------------
   71|      0|        return 0;
   72|      0|    }
   73|    400|    int ret = _PyErr_EmitSyntaxWarning(msg, state->filename, n->lineno,
   74|    400|                                       n->col_offset + 1, n->end_lineno,
   75|    400|                                       n->end_col_offset + 1,
   76|    400|                                       state->module);
   77|    400|    Py_DECREF(msg);
  ------------------
  |  |  430|    400|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    400|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    400|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   78|    400|    return ret < 0 ? 0 : 1;
  ------------------
  |  Branch (78:12): [True: 0, False: 400]
  ------------------
   79|    400|}
ast_preprocess.c:astfold_withitem:
  854|  11.7k|{
  855|  11.7k|    CALL(astfold_expr, expr_ty, node_->context_expr);
  ------------------
  |  |  409|  11.7k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 11.7k]
  |  |  ------------------
  |  |  410|  11.7k|        return 0;
  ------------------
  856|  11.7k|    CALL_OPT(astfold_expr, expr_ty, node_->optional_vars);
  ------------------
  |  |  413|  11.7k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 577, False: 11.1k]
  |  |  |  Branch (413:26): [True: 0, False: 577]
  |  |  ------------------
  |  |  414|  11.7k|        return 0;
  ------------------
  857|  11.7k|    return 1;
  858|  11.7k|}
ast_preprocess.c:astfold_excepthandler:
  840|  3.55k|{
  841|  3.55k|    switch (node_->kind) {
  ------------------
  |  Branch (841:13): [True: 3.55k, False: 0]
  ------------------
  842|  3.55k|    case ExceptHandler_kind:
  ------------------
  |  Branch (842:5): [True: 3.55k, False: 0]
  ------------------
  843|  3.55k|        CALL_OPT(astfold_expr, expr_ty, node_->v.ExceptHandler.type);
  ------------------
  |  |  413|  3.55k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 2.08k, False: 1.47k]
  |  |  |  Branch (413:26): [True: 0, False: 2.08k]
  |  |  ------------------
  |  |  414|  3.55k|        return 0;
  ------------------
  844|  3.55k|        CALL_SEQ(astfold_stmt, stmt, node_->v.ExceptHandler.body);
  ------------------
  |  |  416|  3.55k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  3.55k|    Py_ssize_t i; \
  |  |  418|  3.55k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  8.98k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  8.98k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  17.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 8.98k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 5.42k, False: 3.55k]
  |  |  ------------------
  |  |  420|  5.42k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  5.42k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  5.42k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  5.42k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 5.42k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 5.42k]
  |  |  ------------------
  |  |  422|  5.42k|            return 0; \
  |  |  423|  5.42k|    } \
  |  |  424|  3.55k|}
  ------------------
  845|  3.55k|        break;
  846|       |    // No default case, so the compiler will emit a warning if new handler
  847|       |    // kinds are added without being handled here
  848|  3.55k|    }
  849|  3.55k|    return 1;
  850|  3.55k|}
ast_preprocess.c:astfold_match_case:
  945|  2.71k|{
  946|  2.71k|    CALL(astfold_pattern, expr_ty, node_->pattern);
  ------------------
  |  |  409|  2.71k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.71k]
  |  |  ------------------
  |  |  410|  2.71k|        return 0;
  ------------------
  947|  2.71k|    CALL_OPT(astfold_expr, expr_ty, node_->guard);
  ------------------
  |  |  413|  2.71k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 385, False: 2.33k]
  |  |  |  Branch (413:26): [True: 0, False: 385]
  |  |  ------------------
  |  |  414|  2.71k|        return 0;
  ------------------
  948|  2.71k|    CALL_SEQ(astfold_stmt, stmt, node_->body);
  ------------------
  |  |  416|  2.71k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.71k|    Py_ssize_t i; \
  |  |  418|  2.71k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  5.54k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.54k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  11.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 5.54k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2.82k, False: 2.71k]
  |  |  ------------------
  |  |  420|  2.82k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.82k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.82k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  2.82k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2.82k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2.82k]
  |  |  ------------------
  |  |  422|  2.82k|            return 0; \
  |  |  423|  2.82k|    } \
  |  |  424|  2.71k|}
  ------------------
  949|  2.71k|    return 1;
  950|  2.71k|}
ast_preprocess.c:astfold_pattern:
  903|  26.2k|{
  904|       |    // Currently, this is really only used to form complex/negative numeric
  905|       |    // constants in MatchValue and MatchMapping nodes
  906|       |    // We still recurse into all subexpressions and subpatterns anyway
  907|  26.2k|    ENTER_RECURSIVE();
  ------------------
  |  |   29|  26.2k|#define ENTER_RECURSIVE() \
  |  |   30|  26.2k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 26.2k]
  |  |  ------------------
  |  |   31|      0|    return 0; \
  |  |   32|      0|}
  ------------------
  908|  26.2k|    switch (node_->kind) {
  ------------------
  |  Branch (908:13): [True: 26.2k, False: 0]
  ------------------
  909|  6.63k|        case MatchValue_kind:
  ------------------
  |  Branch (909:9): [True: 6.63k, False: 19.6k]
  ------------------
  910|  6.63k|            CALL(fold_const_match_patterns, expr_ty, node_->v.MatchValue.value);
  ------------------
  |  |  409|  6.63k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 6.63k]
  |  |  ------------------
  |  |  410|  6.63k|        return 0;
  ------------------
  911|  6.63k|            break;
  912|    453|        case MatchSingleton_kind:
  ------------------
  |  Branch (912:9): [True: 453, False: 25.8k]
  ------------------
  913|    453|            break;
  914|  2.09k|        case MatchSequence_kind:
  ------------------
  |  Branch (914:9): [True: 2.09k, False: 24.1k]
  ------------------
  915|  2.09k|            CALL_SEQ(astfold_pattern, pattern, node_->v.MatchSequence.patterns);
  ------------------
  |  |  416|  2.09k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.09k|    Py_ssize_t i; \
  |  |  418|  2.09k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  16.0k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  16.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  32.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 361, False: 15.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 13.9k, False: 2.09k]
  |  |  ------------------
  |  |  420|  13.9k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  13.9k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  13.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  13.9k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 13.9k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 13.9k]
  |  |  ------------------
  |  |  422|  13.9k|            return 0; \
  |  |  423|  13.9k|    } \
  |  |  424|  2.09k|}
  ------------------
  916|  2.09k|            break;
  917|    705|        case MatchMapping_kind:
  ------------------
  |  Branch (917:9): [True: 705, False: 25.5k]
  ------------------
  918|    705|            CALL_SEQ(fold_const_match_patterns, expr, node_->v.MatchMapping.keys);
  ------------------
  |  |  416|    705|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    705|    Py_ssize_t i; \
  |  |  418|    705|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.38k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.38k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.76k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 312, False: 1.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 676, False: 705]
  |  |  ------------------
  |  |  420|    676|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    676|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    676|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    676|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 676, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 676]
  |  |  ------------------
  |  |  422|    676|            return 0; \
  |  |  423|    676|    } \
  |  |  424|    705|}
  ------------------
  919|    705|            CALL_SEQ(astfold_pattern, pattern, node_->v.MatchMapping.patterns);
  ------------------
  |  |  416|    705|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    705|    Py_ssize_t i; \
  |  |  418|    705|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.38k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.38k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.76k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 312, False: 1.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 676, False: 705]
  |  |  ------------------
  |  |  420|    676|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    676|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    676|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    676|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 676, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 676]
  |  |  ------------------
  |  |  422|    676|            return 0; \
  |  |  423|    676|    } \
  |  |  424|    705|}
  ------------------
  920|    705|            break;
  921|  2.11k|        case MatchClass_kind:
  ------------------
  |  Branch (921:9): [True: 2.11k, False: 24.1k]
  ------------------
  922|  2.11k|            CALL(astfold_expr, expr_ty, node_->v.MatchClass.cls);
  ------------------
  |  |  409|  2.11k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.11k]
  |  |  ------------------
  |  |  410|  2.11k|        return 0;
  ------------------
  923|  2.11k|            CALL_SEQ(astfold_pattern, pattern, node_->v.MatchClass.patterns);
  ------------------
  |  |  416|  2.11k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.11k|    Py_ssize_t i; \
  |  |  418|  2.11k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  5.28k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.28k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  10.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 669, False: 4.61k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 3.16k, False: 2.11k]
  |  |  ------------------
  |  |  420|  3.16k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.16k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.16k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  3.16k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 3.16k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 3.16k]
  |  |  ------------------
  |  |  422|  3.16k|            return 0; \
  |  |  423|  3.16k|    } \
  |  |  424|  2.11k|}
  ------------------
  924|  2.11k|            CALL_SEQ(astfold_pattern, pattern, node_->v.MatchClass.kwd_patterns);
  ------------------
  |  |  416|  2.11k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.11k|    Py_ssize_t i; \
  |  |  418|  2.11k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.35k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.35k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  6.70k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 1.97k, False: 1.38k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.24k, False: 2.11k]
  |  |  ------------------
  |  |  420|  1.24k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.24k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.24k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.24k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.24k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.24k]
  |  |  ------------------
  |  |  422|  1.24k|            return 0; \
  |  |  423|  1.24k|    } \
  |  |  424|  2.11k|}
  ------------------
  925|  2.11k|            break;
  926|  1.26k|        case MatchStar_kind:
  ------------------
  |  Branch (926:9): [True: 1.26k, False: 25.0k]
  ------------------
  927|  1.26k|            break;
  928|  11.0k|        case MatchAs_kind:
  ------------------
  |  Branch (928:9): [True: 11.0k, False: 15.1k]
  ------------------
  929|  11.0k|            if (node_->v.MatchAs.pattern) {
  ------------------
  |  Branch (929:17): [True: 118, False: 10.9k]
  ------------------
  930|    118|                CALL(astfold_pattern, pattern_ty, node_->v.MatchAs.pattern);
  ------------------
  |  |  409|    118|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 118]
  |  |  ------------------
  |  |  410|    118|        return 0;
  ------------------
  931|    118|            }
  932|  11.0k|            break;
  933|  11.0k|        case MatchOr_kind:
  ------------------
  |  Branch (933:9): [True: 1.91k, False: 24.3k]
  ------------------
  934|  1.91k|            CALL_SEQ(astfold_pattern, pattern, node_->v.MatchOr.patterns);
  ------------------
  |  |  416|  1.91k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.91k|    Py_ssize_t i; \
  |  |  418|  1.91k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  6.35k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  6.35k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  12.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 6.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 4.43k, False: 1.91k]
  |  |  ------------------
  |  |  420|  4.43k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  4.43k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  4.43k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  4.43k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 4.43k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 4.43k]
  |  |  ------------------
  |  |  422|  4.43k|            return 0; \
  |  |  423|  4.43k|    } \
  |  |  424|  1.91k|}
  ------------------
  935|  1.91k|            break;
  936|       |    // No default case, so the compiler will emit a warning if new pattern
  937|       |    // kinds are added without being handled here
  938|  26.2k|    }
  939|  26.2k|    LEAVE_RECURSIVE();
  ------------------
  |  |   34|  26.2k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  940|  26.2k|    return 1;
  941|  26.2k|}
ast_preprocess.c:fold_const_match_patterns:
  862|  8.84k|{
  863|  8.84k|    if (state->syntax_check_only) {
  ------------------
  |  Branch (863:9): [True: 704, False: 8.13k]
  ------------------
  864|    704|        return 1;
  865|    704|    }
  866|  8.13k|    switch (node->kind)
  867|  8.13k|    {
  868|    545|        case UnaryOp_kind:
  ------------------
  |  Branch (868:9): [True: 545, False: 7.59k]
  ------------------
  869|    545|        {
  870|    545|            if ((node->v.UnaryOp.op == USub || node->v.UnaryOp.op == UAdd) &&
  ------------------
  |  Branch (870:18): [True: 505, False: 40]
  |  Branch (870:48): [True: 40, False: 0]
  ------------------
  871|    545|                node->v.UnaryOp.operand->kind == Constant_kind)
  ------------------
  |  Branch (871:17): [True: 545, False: 0]
  ------------------
  872|    545|            {
  873|    545|                PyObject *operand = node->v.UnaryOp.operand->v.Constant.value;
  874|    545|                PyObject *folded = node->v.UnaryOp.op == USub ? PyNumber_Negative(operand) : PyNumber_Positive(operand);
  ------------------
  |  Branch (874:36): [True: 505, False: 40]
  ------------------
  875|    545|                return make_const(node, folded, ctx_);
  876|    545|            }
  877|      0|            break;
  878|    545|        }
  879|  1.52k|        case BinOp_kind:
  ------------------
  |  Branch (879:9): [True: 1.52k, False: 6.60k]
  ------------------
  880|  1.52k|        {
  881|  1.52k|            operator_ty op = node->v.BinOp.op;
  882|  1.52k|            if ((op == Add || op == Sub) &&
  ------------------
  |  Branch (882:18): [True: 862, False: 666]
  |  Branch (882:31): [True: 666, False: 0]
  ------------------
  883|  1.52k|                node->v.BinOp.right->kind == Constant_kind)
  ------------------
  |  Branch (883:17): [True: 1.52k, False: 0]
  ------------------
  884|  1.52k|            {
  885|  1.52k|                CALL(fold_const_match_patterns, expr_ty, node->v.BinOp.left);
  ------------------
  |  |  409|  1.52k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.52k]
  |  |  ------------------
  |  |  410|  1.52k|        return 0;
  ------------------
  886|  1.52k|                if (node->v.BinOp.left->kind == Constant_kind) {
  ------------------
  |  Branch (886:21): [True: 1.52k, False: 0]
  ------------------
  887|  1.52k|                    PyObject *left = node->v.BinOp.left->v.Constant.value;
  888|  1.52k|                    PyObject *right = node->v.BinOp.right->v.Constant.value;
  889|  1.52k|                    PyObject *folded = op == Add ? PyNumber_Add(left, right) : PyNumber_Subtract(left, right);
  ------------------
  |  Branch (889:40): [True: 862, False: 666]
  ------------------
  890|  1.52k|                    return make_const(node, folded, ctx_);
  891|  1.52k|                }
  892|  1.52k|            }
  893|      0|            break;
  894|  1.52k|        }
  895|  6.06k|        default:
  ------------------
  |  Branch (895:9): [True: 6.06k, False: 2.07k]
  ------------------
  896|  6.06k|            break;
  897|  8.13k|    }
  898|  6.06k|    return 1;
  899|  8.13k|}
ast_preprocess.c:make_const:
  135|  2.45k|{
  136|       |    // Even if no new value was calculated, make_const may still
  137|       |    // need to clear an error (e.g. for division by zero)
  138|  2.45k|    if (val == NULL) {
  ------------------
  |  Branch (138:9): [True: 29, False: 2.42k]
  ------------------
  139|     29|        if (PyErr_ExceptionMatches(PyExc_KeyboardInterrupt)) {
  ------------------
  |  Branch (139:13): [True: 0, False: 29]
  ------------------
  140|      0|            return 0;
  141|      0|        }
  142|     29|        PyErr_Clear();
  143|     29|        return 1;
  144|     29|    }
  145|  2.42k|    if (_PyArena_AddPyObject(arena, val) < 0) {
  ------------------
  |  Branch (145:9): [True: 0, False: 2.42k]
  ------------------
  146|      0|        Py_DECREF(val);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  147|      0|        return 0;
  148|      0|    }
  149|  2.42k|    node->kind = Constant_kind;
  150|       |    node->v.Constant.kind = NULL;
  151|  2.42k|    node->v.Constant.value = val;
  152|  2.42k|    return 1;
  153|  2.42k|}
ast_preprocess.c:before_loop_exit:
   97|  1.07k|{
   98|  1.07k|    if (state->enable_warnings && state->cf_finally_used > 0) {
  ------------------
  |  Branch (98:9): [True: 897, False: 177]
  |  Branch (98:35): [True: 862, False: 35]
  ------------------
   99|    862|        ControlFlowInFinallyContext *ctx = get_cf_finally_top(state);
  100|    862|        if (ctx->in_finally && ! ctx->in_loop) {
  ------------------
  |  Branch (100:13): [True: 351, False: 511]
  |  Branch (100:32): [True: 351, False: 0]
  ------------------
  101|    351|            if (!control_flow_in_finally_warning(kw, node_, state)) {
  ------------------
  |  Branch (101:17): [True: 0, False: 351]
  ------------------
  102|      0|                return 0;
  103|      0|            }
  104|    351|        }
  105|    862|    }
  106|  1.07k|    return 1;
  107|  1.07k|}
ast_preprocess.c:astfold_expr:
  520|  2.18M|{
  521|  2.18M|    ENTER_RECURSIVE();
  ------------------
  |  |   29|  2.18M|#define ENTER_RECURSIVE() \
  |  |   30|  2.18M|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 2.18M]
  |  |  ------------------
  |  |   31|      0|    return 0; \
  |  |   32|      0|}
  ------------------
  522|  2.18M|    switch (node_->kind) {
  ------------------
  |  Branch (522:13): [True: 2.18M, False: 0]
  ------------------
  523|  2.32k|    case BoolOp_kind:
  ------------------
  |  Branch (523:5): [True: 2.32k, False: 2.17M]
  ------------------
  524|  2.32k|        CALL_SEQ(astfold_expr, expr, node_->v.BoolOp.values);
  ------------------
  |  |  416|  2.32k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.32k|    Py_ssize_t i; \
  |  |  418|  2.32k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  9.62k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  9.62k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  19.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 9.62k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 7.29k, False: 2.32k]
  |  |  ------------------
  |  |  420|  7.29k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  7.29k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  7.29k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  7.29k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 7.29k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 7.29k]
  |  |  ------------------
  |  |  422|  7.29k|            return 0; \
  |  |  423|  7.29k|    } \
  |  |  424|  2.32k|}
  ------------------
  525|  2.32k|        break;
  526|   527k|    case BinOp_kind:
  ------------------
  |  Branch (526:5): [True: 527k, False: 1.65M]
  ------------------
  527|   527k|        CALL(astfold_expr, expr_ty, node_->v.BinOp.left);
  ------------------
  |  |  409|   527k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 527k]
  |  |  ------------------
  |  |  410|   527k|        return 0;
  ------------------
  528|   527k|        CALL(astfold_expr, expr_ty, node_->v.BinOp.right);
  ------------------
  |  |  409|   527k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 527k]
  |  |  ------------------
  |  |  410|   527k|        return 0;
  ------------------
  529|   527k|        CALL(fold_binop, expr_ty, node_);
  ------------------
  |  |  409|   527k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 527k]
  |  |  ------------------
  |  |  410|   527k|        return 0;
  ------------------
  530|   527k|        break;
  531|   276k|    case UnaryOp_kind:
  ------------------
  |  Branch (531:5): [True: 276k, False: 1.90M]
  ------------------
  532|   276k|        CALL(astfold_expr, expr_ty, node_->v.UnaryOp.operand);
  ------------------
  |  |  409|   276k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 276k]
  |  |  ------------------
  |  |  410|   276k|        return 0;
  ------------------
  533|   276k|        break;
  534|  12.0k|    case Lambda_kind:
  ------------------
  |  Branch (534:5): [True: 12.0k, False: 2.16M]
  ------------------
  535|  12.0k|        CALL(astfold_arguments, arguments_ty, node_->v.Lambda.args);
  ------------------
  |  |  409|  12.0k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 12.0k]
  |  |  ------------------
  |  |  410|  12.0k|        return 0;
  ------------------
  536|  12.0k|        CALL(astfold_expr, expr_ty, node_->v.Lambda.body);
  ------------------
  |  |  409|  12.0k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 12.0k]
  |  |  ------------------
  |  |  410|  12.0k|        return 0;
  ------------------
  537|  12.0k|        break;
  538|  2.14k|    case IfExp_kind:
  ------------------
  |  Branch (538:5): [True: 2.14k, False: 2.17M]
  ------------------
  539|  2.14k|        CALL(astfold_expr, expr_ty, node_->v.IfExp.test);
  ------------------
  |  |  409|  2.14k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.14k]
  |  |  ------------------
  |  |  410|  2.14k|        return 0;
  ------------------
  540|  2.14k|        CALL(astfold_expr, expr_ty, node_->v.IfExp.body);
  ------------------
  |  |  409|  2.14k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.14k]
  |  |  ------------------
  |  |  410|  2.14k|        return 0;
  ------------------
  541|  2.14k|        CALL(astfold_expr, expr_ty, node_->v.IfExp.orelse);
  ------------------
  |  |  409|  2.14k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.14k]
  |  |  ------------------
  |  |  410|  2.14k|        return 0;
  ------------------
  542|  2.14k|        break;
  543|  2.09k|    case Dict_kind:
  ------------------
  |  Branch (543:5): [True: 2.09k, False: 2.17M]
  ------------------
  544|  2.09k|        CALL_SEQ(astfold_expr, expr, node_->v.Dict.keys);
  ------------------
  |  |  416|  2.09k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.09k|    Py_ssize_t i; \
  |  |  418|  2.09k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  5.15k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.15k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  10.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 5.15k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 3.06k, False: 2.09k]
  |  |  ------------------
  |  |  420|  3.06k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.06k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.06k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  3.06k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.33k, False: 1.72k]
  |  |  |  Branch (421:28): [True: 0, False: 1.33k]
  |  |  ------------------
  |  |  422|  3.06k|            return 0; \
  |  |  423|  3.06k|    } \
  |  |  424|  2.09k|}
  ------------------
  545|  2.09k|        CALL_SEQ(astfold_expr, expr, node_->v.Dict.values);
  ------------------
  |  |  416|  2.09k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.09k|    Py_ssize_t i; \
  |  |  418|  2.09k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  5.15k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.15k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  10.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 5.15k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 3.06k, False: 2.09k]
  |  |  ------------------
  |  |  420|  3.06k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.06k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.06k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  3.06k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 3.06k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 3.06k]
  |  |  ------------------
  |  |  422|  3.06k|            return 0; \
  |  |  423|  3.06k|    } \
  |  |  424|  2.09k|}
  ------------------
  546|  2.09k|        break;
  547|  8.09k|    case Set_kind:
  ------------------
  |  Branch (547:5): [True: 8.09k, False: 2.17M]
  ------------------
  548|  8.09k|        CALL_SEQ(astfold_expr, expr, node_->v.Set.elts);
  ------------------
  |  |  416|  8.09k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  8.09k|    Py_ssize_t i; \
  |  |  418|  8.09k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  55.1k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  55.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|   110k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 55.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 47.0k, False: 8.09k]
  |  |  ------------------
  |  |  420|  47.0k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  47.0k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  47.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  47.0k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 47.0k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 47.0k]
  |  |  ------------------
  |  |  422|  47.0k|            return 0; \
  |  |  423|  47.0k|    } \
  |  |  424|  8.09k|}
  ------------------
  549|  8.09k|        break;
  550|    641|    case ListComp_kind:
  ------------------
  |  Branch (550:5): [True: 641, False: 2.18M]
  ------------------
  551|    641|        CALL(astfold_expr, expr_ty, node_->v.ListComp.elt);
  ------------------
  |  |  409|    641|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 641]
  |  |  ------------------
  |  |  410|    641|        return 0;
  ------------------
  552|    641|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.ListComp.generators);
  ------------------
  |  |  416|    641|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    641|    Py_ssize_t i; \
  |  |  418|    641|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.40k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.40k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.81k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 767, False: 641]
  |  |  ------------------
  |  |  420|    767|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    767|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    767|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    767|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 767, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 767]
  |  |  ------------------
  |  |  422|    767|            return 0; \
  |  |  423|    767|    } \
  |  |  424|    641|}
  ------------------
  553|    641|        break;
  554|  2.73k|    case SetComp_kind:
  ------------------
  |  Branch (554:5): [True: 2.73k, False: 2.17M]
  ------------------
  555|  2.73k|        CALL(astfold_expr, expr_ty, node_->v.SetComp.elt);
  ------------------
  |  |  409|  2.73k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.73k]
  |  |  ------------------
  |  |  410|  2.73k|        return 0;
  ------------------
  556|  2.73k|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.SetComp.generators);
  ------------------
  |  |  416|  2.73k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.73k|    Py_ssize_t i; \
  |  |  418|  2.73k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  5.73k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.73k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  11.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 5.73k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2.99k, False: 2.73k]
  |  |  ------------------
  |  |  420|  2.99k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.99k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.99k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  2.99k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2.99k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2.99k]
  |  |  ------------------
  |  |  422|  2.99k|            return 0; \
  |  |  423|  2.99k|    } \
  |  |  424|  2.73k|}
  ------------------
  557|  2.73k|        break;
  558|    701|    case DictComp_kind:
  ------------------
  |  Branch (558:5): [True: 701, False: 2.18M]
  ------------------
  559|    701|        CALL(astfold_expr, expr_ty, node_->v.DictComp.key);
  ------------------
  |  |  409|    701|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 701]
  |  |  ------------------
  |  |  410|    701|        return 0;
  ------------------
  560|    701|        if (node_->v.DictComp.value != NULL){
  ------------------
  |  Branch (560:13): [True: 516, False: 185]
  ------------------
  561|    516|            CALL(astfold_expr, expr_ty, node_->v.DictComp.value);
  ------------------
  |  |  409|    516|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 516]
  |  |  ------------------
  |  |  410|    516|        return 0;
  ------------------
  562|    516|        }
  563|    701|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.DictComp.generators);
  ------------------
  |  |  416|    701|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    701|    Py_ssize_t i; \
  |  |  418|    701|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.52k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.52k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.05k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.52k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 827, False: 701]
  |  |  ------------------
  |  |  420|    827|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    827|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    827|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    827|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 827, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 827]
  |  |  ------------------
  |  |  422|    827|            return 0; \
  |  |  423|    827|    } \
  |  |  424|    701|}
  ------------------
  564|    701|        break;
  565|  1.19k|    case GeneratorExp_kind:
  ------------------
  |  Branch (565:5): [True: 1.19k, False: 2.17M]
  ------------------
  566|  1.19k|        CALL(astfold_expr, expr_ty, node_->v.GeneratorExp.elt);
  ------------------
  |  |  409|  1.19k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.19k]
  |  |  ------------------
  |  |  410|  1.19k|        return 0;
  ------------------
  567|  1.19k|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.GeneratorExp.generators);
  ------------------
  |  |  416|  1.19k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.19k|    Py_ssize_t i; \
  |  |  418|  1.19k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.17k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.17k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  6.34k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.17k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.97k, False: 1.19k]
  |  |  ------------------
  |  |  420|  1.97k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.97k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.97k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.97k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.97k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.97k]
  |  |  ------------------
  |  |  422|  1.97k|            return 0; \
  |  |  423|  1.97k|    } \
  |  |  424|  1.19k|}
  ------------------
  568|  1.19k|        break;
  569|    904|    case Await_kind:
  ------------------
  |  Branch (569:5): [True: 904, False: 2.17M]
  ------------------
  570|    904|        CALL(astfold_expr, expr_ty, node_->v.Await.value);
  ------------------
  |  |  409|    904|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 904]
  |  |  ------------------
  |  |  410|    904|        return 0;
  ------------------
  571|    904|        break;
  572|  2.16k|    case Yield_kind:
  ------------------
  |  Branch (572:5): [True: 2.16k, False: 2.17M]
  ------------------
  573|  2.16k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Yield.value);
  ------------------
  |  |  413|  2.16k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 1.07k, False: 1.09k]
  |  |  |  Branch (413:26): [True: 0, False: 1.07k]
  |  |  ------------------
  |  |  414|  2.16k|        return 0;
  ------------------
  574|  2.16k|        break;
  575|    139|    case YieldFrom_kind:
  ------------------
  |  Branch (575:5): [True: 139, False: 2.18M]
  ------------------
  576|    139|        CALL(astfold_expr, expr_ty, node_->v.YieldFrom.value);
  ------------------
  |  |  409|    139|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 139]
  |  |  ------------------
  |  |  410|    139|        return 0;
  ------------------
  577|    139|        break;
  578|  17.4k|    case Compare_kind:
  ------------------
  |  Branch (578:5): [True: 17.4k, False: 2.16M]
  ------------------
  579|  17.4k|        CALL(astfold_expr, expr_ty, node_->v.Compare.left);
  ------------------
  |  |  409|  17.4k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 17.4k]
  |  |  ------------------
  |  |  410|  17.4k|        return 0;
  ------------------
  580|  17.4k|        CALL_SEQ(astfold_expr, expr, node_->v.Compare.comparators);
  ------------------
  |  |  416|  17.4k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  17.4k|    Py_ssize_t i; \
  |  |  418|  17.4k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  62.4k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  62.4k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|   124k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 62.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 45.0k, False: 17.4k]
  |  |  ------------------
  |  |  420|  45.0k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  45.0k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  45.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  45.0k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 45.0k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 45.0k]
  |  |  ------------------
  |  |  422|  45.0k|            return 0; \
  |  |  423|  45.0k|    } \
  |  |  424|  17.4k|}
  ------------------
  581|  17.4k|        break;
  582|  15.6k|    case Call_kind:
  ------------------
  |  Branch (582:5): [True: 15.6k, False: 2.16M]
  ------------------
  583|  15.6k|        CALL(astfold_expr, expr_ty, node_->v.Call.func);
  ------------------
  |  |  409|  15.6k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 15.6k]
  |  |  ------------------
  |  |  410|  15.6k|        return 0;
  ------------------
  584|  15.6k|        CALL_SEQ(astfold_expr, expr, node_->v.Call.args);
  ------------------
  |  |  416|  15.6k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  15.6k|    Py_ssize_t i; \
  |  |  418|  15.6k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  30.5k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  30.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  61.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 5.97k, False: 24.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 14.9k, False: 15.6k]
  |  |  ------------------
  |  |  420|  14.9k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  14.9k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  14.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  14.9k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 14.9k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 14.9k]
  |  |  ------------------
  |  |  422|  14.9k|            return 0; \
  |  |  423|  14.9k|    } \
  |  |  424|  15.6k|}
  ------------------
  585|  15.6k|        CALL_SEQ(astfold_keyword, keyword, node_->v.Call.keywords);
  ------------------
  |  |  416|  15.6k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  15.6k|    Py_ssize_t i; \
  |  |  418|  15.6k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  22.2k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  22.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  44.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 12.7k, False: 9.50k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 6.59k, False: 15.6k]
  |  |  ------------------
  |  |  420|  6.59k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  6.59k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  6.59k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  6.59k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 6.59k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 6.59k]
  |  |  ------------------
  |  |  422|  6.59k|            return 0; \
  |  |  423|  6.59k|    } \
  |  |  424|  15.6k|}
  ------------------
  586|  15.6k|        break;
  587|  3.17k|    case FormattedValue_kind:
  ------------------
  |  Branch (587:5): [True: 3.17k, False: 2.17M]
  ------------------
  588|  3.17k|        CALL(astfold_expr, expr_ty, node_->v.FormattedValue.value);
  ------------------
  |  |  409|  3.17k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 3.17k]
  |  |  ------------------
  |  |  410|  3.17k|        return 0;
  ------------------
  589|  3.17k|        CALL_OPT(astfold_expr, expr_ty, node_->v.FormattedValue.format_spec);
  ------------------
  |  |  413|  3.17k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 1.61k, False: 1.56k]
  |  |  |  Branch (413:26): [True: 0, False: 1.61k]
  |  |  ------------------
  |  |  414|  3.17k|        return 0;
  ------------------
  590|  3.17k|        break;
  591|  1.77k|    case Interpolation_kind:
  ------------------
  |  Branch (591:5): [True: 1.77k, False: 2.17M]
  ------------------
  592|  1.77k|        CALL(astfold_expr, expr_ty, node_->v.Interpolation.value);
  ------------------
  |  |  409|  1.77k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.77k]
  |  |  ------------------
  |  |  410|  1.77k|        return 0;
  ------------------
  593|  1.77k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Interpolation.format_spec);
  ------------------
  |  |  413|  1.77k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 836, False: 935]
  |  |  |  Branch (413:26): [True: 0, False: 836]
  |  |  ------------------
  |  |  414|  1.77k|        return 0;
  ------------------
  594|  1.77k|        break;
  595|  3.13k|    case JoinedStr_kind:
  ------------------
  |  Branch (595:5): [True: 3.13k, False: 2.17M]
  ------------------
  596|  3.13k|        CALL_SEQ(astfold_expr, expr, node_->v.JoinedStr.values);
  ------------------
  |  |  416|  3.13k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  3.13k|    Py_ssize_t i; \
  |  |  418|  3.13k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  10.8k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  10.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  21.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 10.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 7.70k, False: 3.13k]
  |  |  ------------------
  |  |  420|  7.70k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  7.70k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  7.70k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  7.70k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 7.70k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 7.70k]
  |  |  ------------------
  |  |  422|  7.70k|            return 0; \
  |  |  423|  7.70k|    } \
  |  |  424|  3.13k|}
  ------------------
  597|  3.13k|        break;
  598|    784|    case TemplateStr_kind:
  ------------------
  |  Branch (598:5): [True: 784, False: 2.18M]
  ------------------
  599|    784|        CALL_SEQ(astfold_expr, expr, node_->v.TemplateStr.values);
  ------------------
  |  |  416|    784|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    784|    Py_ssize_t i; \
  |  |  418|    784|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.69k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.69k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  7.38k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.69k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2.90k, False: 784]
  |  |  ------------------
  |  |  420|  2.90k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.90k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.90k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  2.90k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2.90k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2.90k]
  |  |  ------------------
  |  |  422|  2.90k|            return 0; \
  |  |  423|  2.90k|    } \
  |  |  424|    784|}
  ------------------
  600|    784|        break;
  601|  19.8k|    case Attribute_kind:
  ------------------
  |  Branch (601:5): [True: 19.8k, False: 2.16M]
  ------------------
  602|  19.8k|        CALL(astfold_expr, expr_ty, node_->v.Attribute.value);
  ------------------
  |  |  409|  19.8k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 19.8k]
  |  |  ------------------
  |  |  410|  19.8k|        return 0;
  ------------------
  603|  19.8k|        break;
  604|  24.9k|    case Subscript_kind:
  ------------------
  |  Branch (604:5): [True: 24.9k, False: 2.15M]
  ------------------
  605|  24.9k|        CALL(astfold_expr, expr_ty, node_->v.Subscript.value);
  ------------------
  |  |  409|  24.9k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 24.9k]
  |  |  ------------------
  |  |  410|  24.9k|        return 0;
  ------------------
  606|  24.9k|        CALL(astfold_expr, expr_ty, node_->v.Subscript.slice);
  ------------------
  |  |  409|  24.9k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 24.9k]
  |  |  ------------------
  |  |  410|  24.9k|        return 0;
  ------------------
  607|  24.9k|        break;
  608|  15.5k|    case Starred_kind:
  ------------------
  |  Branch (608:5): [True: 15.5k, False: 2.16M]
  ------------------
  609|  15.5k|        CALL(astfold_expr, expr_ty, node_->v.Starred.value);
  ------------------
  |  |  409|  15.5k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 15.5k]
  |  |  ------------------
  |  |  410|  15.5k|        return 0;
  ------------------
  610|  15.5k|        break;
  611|  16.0k|    case Slice_kind:
  ------------------
  |  Branch (611:5): [True: 16.0k, False: 2.16M]
  ------------------
  612|  16.0k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Slice.lower);
  ------------------
  |  |  413|  16.0k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 7.09k, False: 8.91k]
  |  |  |  Branch (413:26): [True: 0, False: 7.09k]
  |  |  ------------------
  |  |  414|  16.0k|        return 0;
  ------------------
  613|  16.0k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Slice.upper);
  ------------------
  |  |  413|  16.0k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 9.16k, False: 6.84k]
  |  |  |  Branch (413:26): [True: 0, False: 9.16k]
  |  |  ------------------
  |  |  414|  16.0k|        return 0;
  ------------------
  614|  16.0k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Slice.step);
  ------------------
  |  |  413|  16.0k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 5.09k, False: 10.9k]
  |  |  |  Branch (413:26): [True: 0, False: 5.09k]
  |  |  ------------------
  |  |  414|  16.0k|        return 0;
  ------------------
  615|  16.0k|        break;
  616|  6.75k|    case List_kind:
  ------------------
  |  Branch (616:5): [True: 6.75k, False: 2.17M]
  ------------------
  617|  6.75k|        CALL_SEQ(astfold_expr, expr, node_->v.List.elts);
  ------------------
  |  |  416|  6.75k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  6.75k|    Py_ssize_t i; \
  |  |  418|  6.75k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  12.8k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  12.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  25.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 1.62k, False: 11.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 6.11k, False: 6.75k]
  |  |  ------------------
  |  |  420|  6.11k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  6.11k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  6.11k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  6.11k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 6.11k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 6.11k]
  |  |  ------------------
  |  |  422|  6.11k|            return 0; \
  |  |  423|  6.11k|    } \
  |  |  424|  6.75k|}
  ------------------
  618|  6.75k|        break;
  619|  79.6k|    case Tuple_kind:
  ------------------
  |  Branch (619:5): [True: 79.6k, False: 2.10M]
  ------------------
  620|  79.6k|        CALL_SEQ(astfold_expr, expr, node_->v.Tuple.elts);
  ------------------
  |  |  416|  79.6k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  79.6k|    Py_ssize_t i; \
  |  |  418|  79.6k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|   317k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|   317k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|   635k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 9.28k, False: 308k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 238k, False: 79.6k]
  |  |  ------------------
  |  |  420|   238k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|   238k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|   238k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|   238k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 238k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 238k]
  |  |  ------------------
  |  |  422|   238k|            return 0; \
  |  |  423|   238k|    } \
  |  |  424|  79.6k|}
  ------------------
  621|  79.6k|        break;
  622|   460k|    case Name_kind:
  ------------------
  |  Branch (622:5): [True: 460k, False: 1.72M]
  ------------------
  623|   460k|        if (state->syntax_check_only) {
  ------------------
  |  Branch (623:13): [True: 24.9k, False: 435k]
  ------------------
  624|  24.9k|            break;
  625|  24.9k|        }
  626|   435k|        if (node_->v.Name.ctx == Load &&
  ------------------
  |  Branch (626:13): [True: 298k, False: 136k]
  ------------------
  627|   298k|                _PyUnicode_EqualToASCIIString(node_->v.Name.id, "__debug__")) {
  ------------------
  |  Branch (627:17): [True: 380, False: 298k]
  ------------------
  628|    380|            LEAVE_RECURSIVE();
  ------------------
  |  |   34|    380|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  629|    380|            return make_const(node_, PyBool_FromLong(!state->optimize), ctx_);
  630|    380|        }
  631|   434k|        break;
  632|   434k|    case NamedExpr_kind:
  ------------------
  |  Branch (632:5): [True: 1.95k, False: 2.17M]
  ------------------
  633|  1.95k|        CALL(astfold_expr, expr_ty, node_->v.NamedExpr.value);
  ------------------
  |  |  409|  1.95k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.95k]
  |  |  ------------------
  |  |  410|  1.95k|        return 0;
  ------------------
  634|  1.95k|        break;
  635|   674k|    case Constant_kind:
  ------------------
  |  Branch (635:5): [True: 674k, False: 1.50M]
  ------------------
  636|       |        // Already a constant, nothing further to do
  637|   674k|        break;
  638|       |    // No default case, so the compiler will emit a warning if new expression
  639|       |    // kinds are added without being handled here
  640|  2.18M|    }
  641|  2.18M|    LEAVE_RECURSIVE();
  ------------------
  |  |   34|  2.18M|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  642|  2.18M|    return 1;
  643|  2.18M|}
ast_preprocess.c:fold_binop:
  372|   527k|{
  373|   527k|    if (state->syntax_check_only) {
  ------------------
  |  Branch (373:9): [True: 41.2k, False: 486k]
  ------------------
  374|  41.2k|        return 1;
  375|  41.2k|    }
  376|   486k|    expr_ty lhs, rhs;
  377|   486k|    lhs = node->v.BinOp.left;
  378|   486k|    rhs = node->v.BinOp.right;
  379|   486k|    if (lhs->kind != Constant_kind) {
  ------------------
  |  Branch (379:9): [True: 328k, False: 158k]
  ------------------
  380|   328k|        return 1;
  381|   328k|    }
  382|   158k|    PyObject *lv = lhs->v.Constant.value;
  383|       |
  384|   158k|    if (node->v.BinOp.op == Mod &&
  ------------------
  |  Branch (384:9): [True: 12.2k, False: 145k]
  ------------------
  385|  12.2k|        rhs->kind == Tuple_kind &&
  ------------------
  |  Branch (385:9): [True: 6.96k, False: 5.31k]
  ------------------
  386|   158k|        PyUnicode_Check(lv) &&
  ------------------
  |  |  103|  6.96k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   165k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 6.86k, False: 107]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  387|  6.86k|        !has_starred(rhs->v.Tuple.elts))
  ------------------
  |  Branch (387:9): [True: 6.82k, False: 35]
  ------------------
  388|  6.82k|    {
  389|  6.82k|        return optimize_format(node, lv, rhs->v.Tuple.elts, arena);
  390|  6.82k|    }
  391|       |
  392|   151k|    return 1;
  393|   158k|}
ast_preprocess.c:has_starred:
  159|  6.86k|{
  160|  6.86k|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|  6.86k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  13.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 433, False: 6.42k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  161|  14.0k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (161:28): [True: 7.19k, False: 6.82k]
  ------------------
  162|  7.19k|        expr_ty e = (expr_ty)asdl_seq_GET(elts, i);
  ------------------
  |  |   82|  7.19k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  7.19k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  163|  7.19k|        if (e->kind == Starred_kind) {
  ------------------
  |  Branch (163:13): [True: 35, False: 7.16k]
  ------------------
  164|     35|            return 1;
  165|     35|        }
  166|  7.19k|    }
  167|  6.82k|    return 0;
  168|  6.86k|}
ast_preprocess.c:optimize_format:
  320|  6.82k|{
  321|  6.82k|    Py_ssize_t pos = 0;
  322|  6.82k|    Py_ssize_t cnt = 0;
  323|  6.82k|    asdl_expr_seq *seq = _Py_asdl_expr_seq_new(asdl_seq_LEN(elts) * 2 + 1, arena);
  ------------------
  |  |   83|  6.82k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  13.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 433, False: 6.39k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  324|  6.82k|    if (!seq) {
  ------------------
  |  Branch (324:9): [True: 0, False: 6.82k]
  ------------------
  325|      0|        return 0;
  326|      0|    }
  327|  6.82k|    seq->size = 0;
  328|       |
  329|  8.59k|    while (1) {
  ------------------
  |  Branch (329:12): [True: 8.59k, Folded]
  ------------------
  330|  8.59k|        expr_ty lit = parse_literal(fmt, &pos, arena);
  331|  8.59k|        if (lit) {
  ------------------
  |  Branch (331:13): [True: 7.31k, False: 1.27k]
  ------------------
  332|  7.31k|            asdl_seq_SET(seq, seq->size++, lit);
  ------------------
  |  |   94|  7.31k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  7.31k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  333|  7.31k|        }
  334|  1.27k|        else if (PyErr_Occurred()) {
  ------------------
  |  Branch (334:18): [True: 0, False: 1.27k]
  ------------------
  335|      0|            return 0;
  336|      0|        }
  337|       |
  338|  8.59k|        if (pos >= PyUnicode_GET_LENGTH(fmt)) {
  ------------------
  |  |  300|  8.59k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (338:13): [True: 2.57k, False: 6.01k]
  ------------------
  339|  2.57k|            break;
  340|  2.57k|        }
  341|  6.01k|        if (cnt >= asdl_seq_LEN(elts)) {
  ------------------
  |  |   83|  6.01k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  12.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 73, False: 5.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (341:13): [True: 708, False: 5.31k]
  ------------------
  342|       |            // More format units than items.
  343|    708|            return 1;
  344|    708|        }
  345|  6.01k|        assert(PyUnicode_READ_CHAR(fmt, pos) == '%');
  ------------------
  |  Branch (345:9): [True: 5.31k, False: 0]
  ------------------
  346|  5.31k|        pos++;
  347|  5.31k|        expr_ty expr = parse_format(fmt, &pos, asdl_seq_GET(elts, cnt), arena);
  ------------------
  |  |   82|  5.31k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  5.31k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  348|  5.31k|        cnt++;
  349|  5.31k|        if (!expr) {
  ------------------
  |  Branch (349:13): [True: 3.54k, False: 1.76k]
  ------------------
  350|  3.54k|            return !PyErr_Occurred();
  351|  3.54k|        }
  352|  1.76k|        asdl_seq_SET(seq, seq->size++, expr);
  ------------------
  |  |   94|  1.76k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  313|  1.76k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  353|  1.76k|    }
  354|  2.57k|    if (cnt < asdl_seq_LEN(elts)) {
  ------------------
  |  |   83|  2.57k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  5.14k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 360, False: 2.21k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (354:9): [True: 1.10k, False: 1.46k]
  ------------------
  355|       |        // More items than format units.
  356|  1.10k|        return 1;
  357|  1.10k|    }
  358|  1.46k|    expr_ty res = _PyAST_JoinedStr(seq,
  359|  1.46k|                                   node->lineno, node->col_offset,
  360|  1.46k|                                   node->end_lineno, node->end_col_offset,
  361|  1.46k|                                   arena);
  362|  1.46k|    if (!res) {
  ------------------
  |  Branch (362:9): [True: 0, False: 1.46k]
  ------------------
  363|      0|        return 0;
  364|      0|    }
  365|  1.46k|    COPY_NODE(node, res);
  ------------------
  |  |  155|  1.46k|#define COPY_NODE(TO, FROM) (memcpy((TO), (FROM), sizeof(struct _expr)))
  ------------------
  366|       |//     PySys_FormatStderr("format = %R\n", fmt);
  367|  1.46k|    return 1;
  368|  1.46k|}
ast_preprocess.c:parse_literal:
  172|  8.59k|{
  173|  8.59k|    const void *data = PyUnicode_DATA(fmt);
  ------------------
  |  |  285|  8.59k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|  8.59k|    int kind = PyUnicode_KIND(fmt);
  ------------------
  |  |  259|  8.59k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|  17.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 8.59k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  175|  8.59k|    Py_ssize_t size = PyUnicode_GET_LENGTH(fmt);
  ------------------
  |  |  300|  8.59k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  176|  8.59k|    Py_ssize_t start, pos;
  177|  8.59k|    int has_percents = 0;
  178|  8.59k|    start = pos = *ppos;
  179|   201k|    while (pos < size) {
  ------------------
  |  Branch (179:12): [True: 198k, False: 2.57k]
  ------------------
  180|   198k|        if (PyUnicode_READ(kind, data, pos) != '%') {
  ------------------
  |  |  355|   198k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   198k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   198k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   198k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|   198k|                   (index))
  ------------------
  |  Branch (180:13): [True: 175k, False: 23.2k]
  ------------------
  181|   175k|            pos++;
  182|   175k|        }
  183|  23.2k|        else if (pos+1 < size && PyUnicode_READ(kind, data, pos+1) == '%') {
  ------------------
  |  |  355|  22.3k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  22.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  22.3k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  22.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|  22.3k|                   (index))
  ------------------
  |  Branch (183:18): [True: 22.3k, False: 889]
  |  Branch (183:34): [True: 17.1k, False: 5.13k]
  ------------------
  184|  17.1k|            has_percents = 1;
  185|  17.1k|            pos += 2;
  186|  17.1k|        }
  187|  6.01k|        else {
  188|  6.01k|            break;
  189|  6.01k|        }
  190|   198k|    }
  191|  8.59k|    *ppos = pos;
  192|  8.59k|    if (pos == start) {
  ------------------
  |  Branch (192:9): [True: 1.27k, False: 7.31k]
  ------------------
  193|  1.27k|        return NULL;
  194|  1.27k|    }
  195|  7.31k|    PyObject *str = PyUnicode_Substring(fmt, start, pos);
  196|       |    /* str = str.replace('%%', '%') */
  197|  7.31k|    if (str && has_percents) {
  ------------------
  |  Branch (197:9): [True: 7.31k, False: 0]
  |  Branch (197:16): [True: 3.07k, False: 4.24k]
  ------------------
  198|  3.07k|        _Py_DECLARE_STR(dbl_percent, "%%");
  199|  3.07k|        Py_SETREF(str, PyUnicode_Replace(str, &_Py_STR(dbl_percent),
  ------------------
  |  |  545|  3.07k|    do { \
  |  |  546|  3.07k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  3.07k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|  3.07k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  3.07k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|  6.15k|        *_tmp_dst_ptr = (src); \
  |  |  ------------------
  |  |  |  Branch (548:26): [True: 3.07k, Folded]
  |  |  ------------------
  |  |  549|  3.07k|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|  3.07k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|  3.07k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 3.07k]
  |  |  ------------------
  ------------------
  200|  3.07k|                                         _Py_LATIN1_CHR('%'), -1));
  201|  3.07k|    }
  202|  7.31k|    if (!str) {
  ------------------
  |  Branch (202:9): [True: 0, False: 7.31k]
  ------------------
  203|      0|        return NULL;
  204|      0|    }
  205|       |
  206|  7.31k|    if (_PyArena_AddPyObject(arena, str) < 0) {
  ------------------
  |  Branch (206:9): [True: 0, False: 7.31k]
  ------------------
  207|      0|        Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  208|      0|        return NULL;
  209|      0|    }
  210|  7.31k|    return _PyAST_Constant(str, NULL, -1, -1, -1, -1, arena);
  211|  7.31k|}
ast_preprocess.c:parse_format:
  277|  5.31k|{
  278|  5.31k|    int spec, flags, width = -1, prec = -1;
  279|  5.31k|    if (!simple_format_arg_parse(fmt, ppos, &spec, &flags, &width, &prec)) {
  ------------------
  |  Branch (279:9): [True: 1.81k, False: 3.49k]
  ------------------
  280|       |        // Unsupported format.
  281|  1.81k|        return NULL;
  282|  1.81k|    }
  283|  3.49k|    if (spec == 's' || spec == 'r' || spec == 'a') {
  ------------------
  |  Branch (283:9): [True: 489, False: 3.00k]
  |  Branch (283:24): [True: 1.00k, False: 1.99k]
  |  Branch (283:39): [True: 269, False: 1.72k]
  ------------------
  284|  1.76k|        char buf[1 + MAXDIGITS + 1 + MAXDIGITS + 1], *p = buf;
  285|  1.76k|        if (!(flags & F_LJUST) && width > 0) {
  ------------------
  |  |   18|  1.76k|#define F_LJUST (1<<0)
  ------------------
  |  Branch (285:13): [True: 1.53k, False: 225]
  |  Branch (285:35): [True: 461, False: 1.07k]
  ------------------
  286|    461|            *p++ = '>';
  287|    461|        }
  288|  1.76k|        if (width >= 0) {
  ------------------
  |  Branch (288:13): [True: 522, False: 1.24k]
  ------------------
  289|    522|            p += snprintf(p, MAXDIGITS + 1, "%d", width);
  ------------------
  |  |  213|    522|#define MAXDIGITS 3
  ------------------
  290|    522|        }
  291|  1.76k|        if (prec >= 0) {
  ------------------
  |  Branch (291:13): [True: 221, False: 1.54k]
  ------------------
  292|    221|            p += snprintf(p, MAXDIGITS + 2, ".%d", prec);
  ------------------
  |  |  213|    221|#define MAXDIGITS 3
  ------------------
  293|    221|        }
  294|  1.76k|        expr_ty format_spec = NULL;
  295|  1.76k|        if (p != buf) {
  ------------------
  |  Branch (295:13): [True: 719, False: 1.04k]
  ------------------
  296|    719|            PyObject *str = PyUnicode_FromString(buf);
  297|    719|            if (str == NULL) {
  ------------------
  |  Branch (297:17): [True: 0, False: 719]
  ------------------
  298|      0|                return NULL;
  299|      0|            }
  300|    719|            if (_PyArena_AddPyObject(arena, str) < 0) {
  ------------------
  |  Branch (300:17): [True: 0, False: 719]
  ------------------
  301|      0|                Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  302|      0|                return NULL;
  303|      0|            }
  304|    719|            format_spec = _PyAST_Constant(str, NULL, -1, -1, -1, -1, arena);
  305|    719|            if (format_spec == NULL) {
  ------------------
  |  Branch (305:17): [True: 0, False: 719]
  ------------------
  306|      0|                return NULL;
  307|      0|            }
  308|    719|        }
  309|  1.76k|        return _PyAST_FormattedValue(arg, spec, format_spec,
  310|  1.76k|                                     arg->lineno, arg->col_offset,
  311|  1.76k|                                     arg->end_lineno, arg->end_col_offset,
  312|  1.76k|                                     arena);
  313|  1.76k|    }
  314|       |    // Unsupported format.
  315|  1.72k|    return NULL;
  316|  3.49k|}
ast_preprocess.c:simple_format_arg_parse:
  218|  5.31k|{
  219|  5.31k|    Py_ssize_t pos = *ppos, len = PyUnicode_GET_LENGTH(fmt);
  ------------------
  |  |  300|  5.31k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|  5.31k|    Py_UCS4 ch;
  221|       |
  222|  5.31k|#define NEXTC do {                      \
  223|  5.31k|    if (pos >= len) {                   \
  224|  5.31k|        return 0;                       \
  225|  5.31k|    }                                   \
  226|  5.31k|    ch = PyUnicode_READ_CHAR(fmt, pos); \
  227|  5.31k|    pos++;                              \
  228|  5.31k|} while (0)
  229|       |
  230|  5.31k|    *flags = 0;
  231|  9.40k|    while (1) {
  ------------------
  |  Branch (231:12): [True: 9.40k, Folded]
  ------------------
  232|  9.40k|        NEXTC;
  ------------------
  |  |  222|  9.40k|#define NEXTC do {                      \
  |  |  223|  9.40k|    if (pos >= len) {                   \
  |  |  ------------------
  |  |  |  Branch (223:9): [True: 718, False: 8.68k]
  |  |  ------------------
  |  |  224|    718|        return 0;                       \
  |  |  225|    718|    }                                   \
  |  |  226|  9.40k|    ch = PyUnicode_READ_CHAR(fmt, pos); \
  |  |  ------------------
  |  |  |  |  382|  8.68k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  227|  8.68k|    pos++;                              \
  |  |  228|  8.68k|} while (0)
  |  |  ------------------
  |  |  |  Branch (228:10): [Folded, False: 8.68k]
  |  |  ------------------
  ------------------
  233|  8.68k|        switch (ch) {
  ------------------
  |  Branch (233:17): [True: 4.09k, False: 4.59k]
  ------------------
  234|  1.01k|            case '-': *flags |= F_LJUST; continue;
  ------------------
  |  |   18|  1.01k|#define F_LJUST (1<<0)
  ------------------
  |  Branch (234:13): [True: 1.01k, False: 7.67k]
  ------------------
  235|     48|            case '+': *flags |= F_SIGN; continue;
  ------------------
  |  |   19|     48|#define F_SIGN  (1<<1)
  ------------------
  |  Branch (235:13): [True: 48, False: 8.63k]
  ------------------
  236|  2.00k|            case ' ': *flags |= F_BLANK; continue;
  ------------------
  |  |   20|  2.00k|#define F_BLANK (1<<2)
  ------------------
  |  Branch (236:13): [True: 2.00k, False: 6.68k]
  ------------------
  237|    386|            case '#': *flags |= F_ALT; continue;
  ------------------
  |  |   21|    386|#define F_ALT   (1<<3)
  ------------------
  |  Branch (237:13): [True: 386, False: 8.30k]
  ------------------
  238|    639|            case '0': *flags |= F_ZERO; continue;
  ------------------
  |  |   22|    639|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (238:13): [True: 639, False: 8.04k]
  ------------------
  239|  8.68k|        }
  240|  4.59k|        break;
  241|  8.68k|    }
  242|  4.59k|    if ('0' <= ch && ch <= '9') {
  ------------------
  |  Branch (242:9): [True: 3.13k, False: 1.45k]
  |  Branch (242:22): [True: 1.37k, False: 1.76k]
  ------------------
  243|  1.37k|        *width = 0;
  244|  1.37k|        int digits = 0;
  245|  3.53k|        while ('0' <= ch && ch <= '9') {
  ------------------
  |  Branch (245:16): [True: 3.31k, False: 222]
  |  Branch (245:29): [True: 2.80k, False: 510]
  ------------------
  246|  2.80k|            *width = *width * 10 + (ch - '0');
  247|  2.80k|            NEXTC;
  ------------------
  |  |  222|  2.80k|#define NEXTC do {                      \
  |  |  223|  2.80k|    if (pos >= len) {                   \
  |  |  ------------------
  |  |  |  Branch (223:9): [True: 154, False: 2.65k]
  |  |  ------------------
  |  |  224|    154|        return 0;                       \
  |  |  225|    154|    }                                   \
  |  |  226|  2.80k|    ch = PyUnicode_READ_CHAR(fmt, pos); \
  |  |  ------------------
  |  |  |  |  382|  2.65k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  227|  2.65k|    pos++;                              \
  |  |  228|  2.65k|} while (0)
  |  |  ------------------
  |  |  |  Branch (228:10): [Folded, False: 2.65k]
  |  |  ------------------
  ------------------
  248|  2.65k|            if (++digits >= MAXDIGITS) {
  ------------------
  |  |  213|  2.65k|#define MAXDIGITS 3
  ------------------
  |  Branch (248:17): [True: 488, False: 2.16k]
  ------------------
  249|    488|                return 0;
  250|    488|            }
  251|  2.65k|        }
  252|  1.37k|    }
  253|       |
  254|  3.95k|    if (ch == '.') {
  ------------------
  |  Branch (254:9): [True: 1.26k, False: 2.69k]
  ------------------
  255|  1.26k|        NEXTC;
  ------------------
  |  |  222|  1.26k|#define NEXTC do {                      \
  |  |  223|  1.26k|    if (pos >= len) {                   \
  |  |  ------------------
  |  |  |  Branch (223:9): [True: 305, False: 956]
  |  |  ------------------
  |  |  224|    305|        return 0;                       \
  |  |  225|    305|    }                                   \
  |  |  226|  1.26k|    ch = PyUnicode_READ_CHAR(fmt, pos); \
  |  |  ------------------
  |  |  |  |  382|    956|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    956|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    956|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  227|    956|    pos++;                              \
  |  |  228|    956|} while (0)
  |  |  ------------------
  |  |  |  Branch (228:10): [Folded, False: 956]
  |  |  ------------------
  ------------------
  256|    956|        *prec = 0;
  257|    956|        if ('0' <= ch && ch <= '9') {
  ------------------
  |  Branch (257:13): [True: 847, False: 109]
  |  Branch (257:26): [True: 455, False: 392]
  ------------------
  258|    455|            int digits = 0;
  259|  1.14k|            while ('0' <= ch && ch <= '9') {
  ------------------
  |  Branch (259:20): [True: 1.11k, False: 25]
  |  Branch (259:33): [True: 841, False: 276]
  ------------------
  260|    841|                *prec = *prec * 10 + (ch - '0');
  261|    841|                NEXTC;
  ------------------
  |  |  222|    841|#define NEXTC do {                      \
  |  |  223|    841|    if (pos >= len) {                   \
  |  |  ------------------
  |  |  |  Branch (223:9): [True: 88, False: 753]
  |  |  ------------------
  |  |  224|     88|        return 0;                       \
  |  |  225|     88|    }                                   \
  |  |  226|    841|    ch = PyUnicode_READ_CHAR(fmt, pos); \
  |  |  ------------------
  |  |  |  |  382|    753|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    753|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    753|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  227|    753|    pos++;                              \
  |  |  228|    753|} while (0)
  |  |  ------------------
  |  |  |  Branch (228:10): [Folded, False: 753]
  |  |  ------------------
  ------------------
  262|    753|                if (++digits >= MAXDIGITS) {
  ------------------
  |  |  213|    753|#define MAXDIGITS 3
  ------------------
  |  Branch (262:21): [True: 66, False: 687]
  ------------------
  263|     66|                    return 0;
  264|     66|                }
  265|    753|            }
  266|    455|        }
  267|    956|    }
  268|  3.49k|    *spec = ch;
  269|  3.49k|    *ppos = pos;
  270|  3.49k|    return 1;
  271|       |
  272|  3.95k|#undef NEXTC
  273|  3.95k|}
ast_preprocess.c:astfold_comprehension:
  654|  6.56k|{
  655|  6.56k|    CALL(astfold_expr, expr_ty, node_->target);
  ------------------
  |  |  409|  6.56k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 6.56k]
  |  |  ------------------
  |  |  410|  6.56k|        return 0;
  ------------------
  656|  6.56k|    CALL(astfold_expr, expr_ty, node_->iter);
  ------------------
  |  |  409|  6.56k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 6.56k]
  |  |  ------------------
  |  |  410|  6.56k|        return 0;
  ------------------
  657|  6.56k|    CALL_SEQ(astfold_expr, expr, node_->ifs);
  ------------------
  |  |  416|  6.56k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  6.56k|    Py_ssize_t i; \
  |  |  418|  6.56k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  8.79k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  8.79k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  17.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 8.79k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2.22k, False: 6.56k]
  |  |  ------------------
  |  |  420|  2.22k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.22k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.22k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  2.22k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2.22k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2.22k]
  |  |  ------------------
  |  |  422|  2.22k|            return 0; \
  |  |  423|  2.22k|    } \
  |  |  424|  6.56k|}
  ------------------
  658|  6.56k|    return 1;
  659|  6.56k|}

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

_PyBuiltin_InitPythonFunctions:
 3428|      2|{
 3429|      2|    if (PyImport_ImportFrozenModule("_pybuiltins") <= 0) {
  ------------------
  |  Branch (3429:9): [True: 0, False: 2]
  ------------------
 3430|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (3430:13): [True: 0, False: 0]
  ------------------
 3431|      0|            PyErr_SetString(PyExc_ImportError,
 3432|      0|                            "frozen module _pybuiltins not found");
 3433|      0|        }
 3434|      0|        return -1;
 3435|      0|    }
 3436|      2|    PyObject *mod = PyImport_AddModuleRef("_pybuiltins");
 3437|      2|    if (mod == NULL) {
  ------------------
  |  Branch (3437:9): [True: 0, False: 2]
  ------------------
 3438|      0|        return -1;
 3439|      0|    }
 3440|       |
 3441|      2|    int rc = -1;
 3442|      2|    PyObject *all = PyObject_GetAttr(mod, &_Py_ID(__all__));
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3443|      2|    if (all == NULL) {
  ------------------
  |  Branch (3443:9): [True: 0, False: 2]
  ------------------
 3444|      0|        goto done;
 3445|      0|    }
 3446|      2|    Py_ssize_t n = PyList_Size(all);
 3447|      2|    if (n < 0) {
  ------------------
  |  Branch (3447:9): [True: 0, False: 2]
  ------------------
 3448|      0|        goto done;
 3449|      0|    }
 3450|      6|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3450:28): [True: 4, False: 2]
  ------------------
 3451|      4|        PyObject *name = PyList_GET_ITEM(all, i);
  ------------------
  |  |   40|      4|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      4|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3451:26): [True: 4, False: 0]
  ------------------
 3452|      0|        PyObject *func = PyObject_GetAttr(mod, name);
 3453|      4|        if (func == NULL) {
  ------------------
  |  Branch (3453:13): [True: 0, False: 4]
  ------------------
 3454|      0|            goto done;
 3455|      0|        }
 3456|      4|        int r = PyDict_SetItem(dict, name, func);
 3457|      4|        Py_DECREF(func);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3458|      4|        if (r < 0) {
  ------------------
  |  Branch (3458:13): [True: 0, False: 4]
  ------------------
 3459|      0|            goto done;
 3460|      0|        }
 3461|      4|    }
 3462|      2|    rc = 0;
 3463|       |
 3464|      2|done:
 3465|      2|    Py_XDECREF(all);
  ------------------
  |  |  621|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3466|      2|    Py_DECREF(mod);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3467|      2|    return rc;
 3468|      2|}
_PyBuiltin_Init:
 3472|      2|{
 3473|      2|    PyObject *mod, *dict, *debug;
 3474|       |
 3475|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3476|       |
 3477|      2|    mod = _PyModule_CreateInitialized(&builtinsmodule, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 3478|      2|    if (mod == NULL)
  ------------------
  |  Branch (3478:9): [True: 0, False: 2]
  ------------------
 3479|      0|        return NULL;
 3480|       |#ifdef Py_GIL_DISABLED
 3481|       |    PyUnstable_Module_SetGIL(mod, Py_MOD_GIL_NOT_USED);
 3482|       |#endif
 3483|      2|    dict = PyModule_GetDict(mod);
 3484|       |
 3485|       |#ifdef Py_TRACE_REFS
 3486|       |    /* "builtins" exposes a number of statically allocated objects
 3487|       |     * that, before this code was added in 2.3, never showed up in
 3488|       |     * the list of "all objects" maintained by Py_TRACE_REFS.  As a
 3489|       |     * result, programs leaking references to None and False (etc)
 3490|       |     * couldn't be diagnosed by examining sys.getobjects(0).
 3491|       |     */
 3492|       |#define ADD_TO_ALL(OBJECT) _Py_AddToAllObjects((PyObject *)(OBJECT))
 3493|       |#else
 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
 3495|      2|#endif
 3496|       |
 3497|      2|#define SETBUILTIN(NAME, OBJECT) \
 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
 3499|      2|        return NULL;                                                    \
 3500|      2|    ADD_TO_ALL(OBJECT)
 3501|       |
 3502|      2|    SETBUILTIN("None",                  Py_None);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3503|      2|    SETBUILTIN("Ellipsis",              Py_Ellipsis);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3504|      2|    SETBUILTIN("NotImplemented",        Py_NotImplemented);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3505|      2|    SETBUILTIN("False",                 Py_False);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3506|      2|    SETBUILTIN("True",                  Py_True);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3507|      2|    SETBUILTIN("bool",                  &PyBool_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3508|      2|    SETBUILTIN("memoryview",            &PyMemoryView_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3509|      2|    SETBUILTIN("bytearray",             &PyByteArray_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3510|      2|    SETBUILTIN("bytes",                 &PyBytes_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3511|      2|    SETBUILTIN("classmethod",           &PyClassMethod_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3512|      2|    SETBUILTIN("complex",               &PyComplex_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3513|      2|    SETBUILTIN("dict",                  &PyDict_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3514|      2|    SETBUILTIN("enumerate",             &PyEnum_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3515|      2|    SETBUILTIN("filter",                &PyFilter_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3516|      2|    SETBUILTIN("float",                 &PyFloat_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3517|      2|    SETBUILTIN("frozendict",            &PyFrozenDict_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3518|      2|    SETBUILTIN("frozenset",             &PyFrozenSet_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3519|      2|    SETBUILTIN("property",              &PyProperty_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3520|      2|    SETBUILTIN("int",                   &PyLong_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3521|      2|    SETBUILTIN("list",                  &PyList_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3522|      2|    SETBUILTIN("map",                   &PyMap_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3523|      2|    SETBUILTIN("object",                &PyBaseObject_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3524|      2|    SETBUILTIN("range",                 &PyRange_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3525|      2|    SETBUILTIN("reversed",              &PyReversed_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3526|      2|    SETBUILTIN("sentinel",              &PySentinel_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3527|      2|    SETBUILTIN("set",                   &PySet_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3528|      2|    SETBUILTIN("slice",                 &PySlice_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3529|      2|    SETBUILTIN("staticmethod",          &PyStaticMethod_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3530|      2|    SETBUILTIN("str",                   &PyUnicode_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3531|      2|    SETBUILTIN("super",                 &PySuper_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3532|      2|    SETBUILTIN("tuple",                 &PyTuple_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3533|      2|    SETBUILTIN("type",                  &PyType_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3534|      2|    SETBUILTIN("zip",                   &PyZip_Type);
  ------------------
  |  | 3498|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3498:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3499|      2|        return NULL;                                                    \
  |  | 3500|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3494|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3535|      2|    debug = PyBool_FromLong(config->optimization_level == 0);
 3536|      2|    if (PyDict_SetItemString(dict, "__debug__", debug) < 0) {
  ------------------
  |  Branch (3536:9): [True: 0, False: 2]
  ------------------
 3537|      0|        Py_DECREF(debug);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3538|      0|        return NULL;
 3539|      0|    }
 3540|      2|    Py_DECREF(debug);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3541|       |
 3542|      2|    return mod;
 3543|      2|#undef ADD_TO_ALL
 3544|      2|#undef SETBUILTIN
 3545|      2|}
bltinmodule.c:map_dealloc:
 1533|      7|{
 1534|      7|    mapobject *lz = _mapobject_CAST(self);
  ------------------
  |  | 1427|      7|#define _mapobject_CAST(op)     ((mapobject *)(op))
  ------------------
 1535|      7|    PyObject_GC_UnTrack(lz);
 1536|      7|    Py_XDECREF(lz->iters);
  ------------------
  |  |  621|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1537|      7|    Py_XDECREF(lz->func);
  ------------------
  |  |  621|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1538|      7|    Py_TYPE(lz)->tp_free(lz);
  ------------------
  |  |  213|      7|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1539|      7|}
bltinmodule.c:map_next:
 1552|     79|{
 1553|     79|    mapobject *lz = _mapobject_CAST(self);
  ------------------
  |  | 1427|     79|#define _mapobject_CAST(op)     ((mapobject *)(op))
  ------------------
 1554|     79|    Py_ssize_t i;
 1555|     79|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
 1556|     79|    PyObject **stack;
 1557|     79|    PyObject *result = NULL;
 1558|     79|    PyThreadState *tstate = _PyThreadState_GET();
 1559|       |
 1560|     79|    const Py_ssize_t niters = PyTuple_GET_SIZE(lz->iters);
  ------------------
  |  |   27|     79|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1561|     79|    if (niters <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  232|     79|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (1561:9): [True: 79, False: 0]
  ------------------
 1562|     79|        stack = small_stack;
 1563|     79|    }
 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|     79|    Py_ssize_t nargs = 0;
 1573|    151|    for (i = 0; i < niters; i++) {
  ------------------
  |  Branch (1573:17): [True: 79, False: 72]
  ------------------
 1574|     79|        PyObject *it = PyTuple_GET_ITEM(lz->iters, i);
  ------------------
  |  |   29|     79|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     79|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1574:24): [True: 79, False: 0]
  ------------------
 1575|     79|        PyObject *val = Py_TYPE(it)->tp_iternext(it);
  ------------------
  |  |  213|     79|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1576|     79|        if (val == NULL) {
  ------------------
  |  Branch (1576:13): [True: 7, False: 72]
  ------------------
 1577|      7|            if (lz->strict) {
  ------------------
  |  Branch (1577:17): [True: 0, False: 7]
  ------------------
 1578|      0|                goto check;
 1579|      0|            }
 1580|      7|            goto exit_no_result;
 1581|      7|        }
 1582|     72|        stack[i] = val;
 1583|     72|        nargs++;
 1584|     72|    }
 1585|       |
 1586|     72|    result = _PyObject_VectorcallTstate(tstate, lz->func, stack, nargs, NULL);
 1587|     72|    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|      7|exit_no_result:
 1629|      7|    assert(result == NULL);
  ------------------
  |  Branch (1629:5): [True: 7, False: 0]
  ------------------
 1630|       |
 1631|     79|exit:
 1632|    151|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1632:17): [True: 72, False: 79]
  ------------------
 1633|     72|        Py_DECREF(stack[i]);
  ------------------
  |  |  430|     72|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1634|     72|    }
 1635|     79|    if (stack != small_stack) {
  ------------------
  |  Branch (1635:9): [True: 0, False: 79]
  ------------------
 1636|      0|        PyMem_Free(stack);
 1637|      0|    }
 1638|     79|    return result;
 1639|      7|}
bltinmodule.c:map_vectorcall:
 1489|      7|{
 1490|      7|    PyTypeObject *tp = _PyType_CAST(type);
  ------------------
  |  |  770|      7|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1490:24): [True: 7, False: 0]
  ------------------
 1491|       |
 1492|      7|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      7|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1493|      7|    if (kwnames != NULL && PyTuple_GET_SIZE(kwnames) != 0) {
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1493:9): [True: 0, False: 7]
  |  Branch (1493:28): [True: 0, False: 0]
  ------------------
 1494|       |        // Fallback to map_new()
 1495|      0|        PyThreadState *tstate = _PyThreadState_GET();
 1496|      0|        return _PyObject_MakeTpCall(tstate, type, args, nargs, kwnames);
 1497|      0|    }
 1498|       |
 1499|      7|    if (nargs < 2) {
  ------------------
  |  Branch (1499:9): [True: 0, False: 7]
  ------------------
 1500|      0|        PyErr_SetString(PyExc_TypeError,
 1501|      0|           "map() must have at least two arguments.");
 1502|      0|        return NULL;
 1503|      0|    }
 1504|       |
 1505|      7|    PyObject *iters = PyTuple_New(nargs-1);
 1506|      7|    if (iters == NULL) {
  ------------------
  |  Branch (1506:9): [True: 0, False: 7]
  ------------------
 1507|      0|        return NULL;
 1508|      0|    }
 1509|       |
 1510|     14|    for (int i=1; i<nargs; i++) {
  ------------------
  |  Branch (1510:19): [True: 7, False: 7]
  ------------------
 1511|      7|        PyObject *it = PyObject_GetIter(args[i]);
 1512|      7|        if (it == NULL) {
  ------------------
  |  Branch (1512:13): [True: 0, False: 7]
  ------------------
 1513|      0|            Py_DECREF(iters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1514|      0|            return NULL;
 1515|      0|        }
 1516|      7|        PyTuple_SET_ITEM(iters, i-1, it);
  ------------------
  |  |   40|      7|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1517|      7|    }
 1518|       |
 1519|      7|    mapobject *lz = (mapobject *)tp->tp_alloc(tp, 0);
 1520|      7|    if (lz == NULL) {
  ------------------
  |  Branch (1520:9): [True: 0, False: 7]
  ------------------
 1521|      0|        Py_DECREF(iters);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1522|      0|        return NULL;
 1523|      0|    }
 1524|      7|    lz->iters = iters;
 1525|      7|    lz->func = Py_NewRef(args[0]);
  ------------------
  |  |  647|      7|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1526|      7|    lz->strict = 0;
 1527|       |
 1528|      7|    return (PyObject *)lz;
 1529|      7|}
bltinmodule.c:zip_dealloc:
 3163|      3|{
 3164|      3|    zipobject *lz = _zipobject_CAST(self);
  ------------------
  |  | 3088|      3|#define _zipobject_CAST(op)     ((zipobject *)(op))
  ------------------
 3165|      3|    PyObject_GC_UnTrack(lz);
 3166|      3|    Py_XDECREF(lz->ittuple);
  ------------------
  |  |  621|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3167|      3|    Py_XDECREF(lz->result);
  ------------------
  |  |  621|      3|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3168|      3|    Py_TYPE(lz)->tp_free(lz);
  ------------------
  |  |  213|      3|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3169|      3|}
bltinmodule.c:zip_next:
 3182|     69|{
 3183|     69|    zipobject *lz = _zipobject_CAST(self);
  ------------------
  |  | 3088|     69|#define _zipobject_CAST(op)     ((zipobject *)(op))
  ------------------
 3184|       |
 3185|     69|    Py_ssize_t i;
 3186|     69|    Py_ssize_t tuplesize = lz->tuplesize;
 3187|     69|    PyObject *result = lz->result;
 3188|     69|    PyObject *it;
 3189|     69|    PyObject *item;
 3190|     69|    PyObject *olditem;
 3191|       |
 3192|     69|    if (tuplesize == 0)
  ------------------
  |  Branch (3192:9): [True: 0, False: 69]
  ------------------
 3193|      0|        return NULL;
 3194|       |
 3195|     69|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (3195:9): [True: 69, False: 0]
  ------------------
 3196|     69|        Py_INCREF(result);
  ------------------
  |  |  310|     69|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3197|    205|        for (i=0 ; i < tuplesize ; i++) {
  ------------------
  |  Branch (3197:20): [True: 137, False: 68]
  ------------------
 3198|    137|            it = PyTuple_GET_ITEM(lz->ittuple, i);
  ------------------
  |  |   29|    137|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    137|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    137|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3198:18): [True: 137, False: 0]
  ------------------
 3199|    137|            item = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|    137|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    137|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    137|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3200|    137|            if (item == NULL) {
  ------------------
  |  Branch (3200:17): [True: 1, False: 136]
  ------------------
 3201|      1|                Py_DECREF(result);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3202|      1|                if (lz->strict) {
  ------------------
  |  Branch (3202:21): [True: 0, False: 1]
  ------------------
 3203|      0|                    goto check;
 3204|      0|                }
 3205|      1|                return NULL;
 3206|      1|            }
 3207|    136|            olditem = PyTuple_GET_ITEM(result, i);
  ------------------
  |  |   29|    136|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    136|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3207:23): [True: 136, False: 0]
  ------------------
 3208|    136|            PyTuple_SET_ITEM(result, i, item);
  ------------------
  |  |   40|    136|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3209|    136|            Py_DECREF(olditem);
  ------------------
  |  |  430|    136|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3210|    136|        }
 3211|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
 3212|       |        // recycling it, make sure it's tracked again:
 3213|     68|        _PyTuple_Recycle(result);
 3214|     68|    } else {
 3215|      0|        result = PyTuple_New(tuplesize);
 3216|      0|        if (result == NULL)
  ------------------
  |  Branch (3216:13): [True: 0, False: 0]
  ------------------
 3217|      0|            return NULL;
 3218|      0|        for (i=0 ; i < tuplesize ; i++) {
  ------------------
  |  Branch (3218:20): [True: 0, False: 0]
  ------------------
 3219|      0|            it = PyTuple_GET_ITEM(lz->ittuple, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3219:18): [True: 0, False: 0]
  ------------------
 3220|      0|            item = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3221|      0|            if (item == NULL) {
  ------------------
  |  Branch (3221:17): [True: 0, False: 0]
  ------------------
 3222|      0|                Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3223|      0|                if (lz->strict) {
  ------------------
  |  Branch (3223:21): [True: 0, False: 0]
  ------------------
 3224|      0|                    goto check;
 3225|      0|                }
 3226|      0|                return NULL;
 3227|      0|            }
 3228|      0|            PyTuple_SET_ITEM(result, i, item);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3229|      0|        }
 3230|      0|    }
 3231|     68|    return result;
 3232|      0|check:
 3233|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (3233:9): [True: 0, False: 0]
  ------------------
 3234|      0|        if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (3234:13): [True: 0, False: 0]
  ------------------
 3235|       |            // next() on argument i raised an exception (not StopIteration)
 3236|      0|            return NULL;
 3237|      0|        }
 3238|      0|        PyErr_Clear();
 3239|      0|    }
 3240|      0|    if (i) {
  ------------------
  |  Branch (3240:9): [True: 0, False: 0]
  ------------------
 3241|       |        // ValueError: zip() argument 2 is shorter than argument 1
 3242|       |        // ValueError: zip() argument 3 is shorter than arguments 1-2
 3243|      0|        const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (3243:30): [True: 0, False: 0]
  ------------------
 3244|      0|        return PyErr_Format(PyExc_ValueError,
 3245|      0|                            "zip() argument %zd is shorter than argument%s%zd",
 3246|      0|                            i + 1, plural, i);
 3247|      0|    }
 3248|      0|    for (i = 1; i < tuplesize; i++) {
  ------------------
  |  Branch (3248:17): [True: 0, False: 0]
  ------------------
 3249|      0|        it = PyTuple_GET_ITEM(lz->ittuple, i);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3249:14): [True: 0, False: 0]
  ------------------
 3250|      0|        item = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3251|      0|        if (item) {
  ------------------
  |  Branch (3251:13): [True: 0, False: 0]
  ------------------
 3252|      0|            Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3253|      0|            const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (3253:34): [True: 0, False: 0]
  ------------------
 3254|      0|            return PyErr_Format(PyExc_ValueError,
 3255|      0|                                "zip() argument %zd is longer than argument%s%zd",
 3256|      0|                                i + 1, plural, i);
 3257|      0|        }
 3258|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (3258:13): [True: 0, False: 0]
  ------------------
 3259|      0|            if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (3259:17): [True: 0, False: 0]
  ------------------
 3260|       |                // next() on argument i raised an exception (not StopIteration)
 3261|      0|                return NULL;
 3262|      0|            }
 3263|      0|            PyErr_Clear();
 3264|      0|        }
 3265|       |        // Argument i is exhausted. So far so good...
 3266|      0|    }
 3267|       |    // All arguments are exhausted. Success!
 3268|      0|    return NULL;
 3269|      0|}
bltinmodule.c:zip_new_impl:
 3117|      3|{
 3118|      3|    zipobject *lz;
 3119|      3|    Py_ssize_t i;
 3120|      3|    PyObject *ittuple;  /* tuple of iterators */
 3121|      3|    PyObject *result;
 3122|       |
 3123|       |    /* obtain iterators */
 3124|      3|    ittuple = PyTuple_New(iterables_length);
 3125|      3|    if (ittuple == NULL)
  ------------------
  |  Branch (3125:9): [True: 0, False: 3]
  ------------------
 3126|      0|        return NULL;
 3127|      5|    for (i=0; i < iterables_length; ++i) {
  ------------------
  |  Branch (3127:15): [True: 2, False: 3]
  ------------------
 3128|      2|        PyObject *it = PyObject_GetIter(iterables[i]);
 3129|      2|        if (it == NULL) {
  ------------------
  |  Branch (3129:13): [True: 0, False: 2]
  ------------------
 3130|      0|            Py_DECREF(ittuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3131|      0|            return NULL;
 3132|      0|        }
 3133|      2|        PyTuple_SET_ITEM(ittuple, i, it);
  ------------------
  |  |   40|      2|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3134|      2|    }
 3135|       |
 3136|       |    /* create a result holder */
 3137|      3|    result = PyTuple_New(iterables_length);
 3138|      3|    if (result == NULL) {
  ------------------
  |  Branch (3138:9): [True: 0, False: 3]
  ------------------
 3139|      0|        Py_DECREF(ittuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3140|      0|        return NULL;
 3141|      0|    }
 3142|      5|    for (i=0 ; i < iterables_length ; i++) {
  ------------------
  |  Branch (3142:16): [True: 2, False: 3]
  ------------------
 3143|      2|        PyTuple_SET_ITEM(result, i, Py_NewRef(Py_None));
  ------------------
  |  |   40|      2|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3144|      2|    }
 3145|       |
 3146|       |    /* create zipobject structure */
 3147|      3|    lz = (zipobject *)type->tp_alloc(type, 0);
 3148|      3|    if (lz == NULL) {
  ------------------
  |  Branch (3148:9): [True: 0, False: 3]
  ------------------
 3149|      0|        Py_DECREF(ittuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3150|      0|        Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3151|      0|        return NULL;
 3152|      0|    }
 3153|      3|    lz->ittuple = ittuple;
 3154|      3|    lz->tuplesize = iterables_length;
 3155|      3|    lz->result = result;
 3156|      3|    lz->strict = strict;
 3157|       |
 3158|      3|    return (PyObject *)lz;
 3159|      3|}
bltinmodule.c:builtin___build_class__:
  105|    689|{
  106|    689|    PyObject *func, *name, *winner, *prep;
  107|    689|    PyObject *cls = NULL, *cell = NULL, *ns = NULL, *meta = NULL, *orig_bases = NULL;
  108|    689|    PyObject *mkw = NULL, *bases = NULL;
  109|    689|    int isclass = 0;   /* initialize to prevent gcc warning */
  110|       |
  111|    689|    if (nargs < 2) {
  ------------------
  |  Branch (111:9): [True: 0, False: 689]
  ------------------
  112|      0|        PyErr_SetString(PyExc_TypeError,
  113|      0|                        "__build_class__: not enough arguments");
  114|      0|        return NULL;
  115|      0|    }
  116|    689|    func = args[0];   /* Better be callable */
  117|    689|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|    689|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|    689|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    689|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    689|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (117:9): [True: 0, False: 689]
  ------------------
  118|      0|        PyErr_SetString(PyExc_TypeError,
  119|      0|                        "__build_class__: func must be a function");
  120|      0|        return NULL;
  121|      0|    }
  122|    689|    name = args[1];
  123|    689|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|    689|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    689|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (123:9): [True: 0, False: 689]
  ------------------
  124|      0|        PyErr_SetString(PyExc_TypeError,
  125|      0|                        "__build_class__: name is not a string");
  126|      0|        return NULL;
  127|      0|    }
  128|    689|    orig_bases = PyTuple_FromArray(args + 2, nargs - 2);
  129|    689|    if (orig_bases == NULL)
  ------------------
  |  Branch (129:9): [True: 0, False: 689]
  ------------------
  130|      0|        return NULL;
  131|       |
  132|    689|    bases = update_bases(orig_bases, args + 2, nargs - 2);
  133|    689|    if (bases == NULL) {
  ------------------
  |  Branch (133:9): [True: 0, False: 689]
  ------------------
  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|    689|    if (kwnames == NULL) {
  ------------------
  |  Branch (138:9): [True: 662, False: 27]
  ------------------
  139|    662|        meta = NULL;
  140|    662|        mkw = NULL;
  141|    662|    }
  142|     27|    else {
  143|     27|        mkw = _PyStack_AsDict(args + nargs, kwnames);
  144|     27|        if (mkw == NULL) {
  ------------------
  |  Branch (144:13): [True: 0, False: 27]
  ------------------
  145|      0|            goto error;
  146|      0|        }
  147|       |
  148|     27|        if (PyDict_Pop(mkw, &_Py_ID(metaclass), &meta) < 0) {
  ------------------
  |  |  951|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (148:13): [True: 0, False: 27]
  ------------------
  149|      0|            goto error;
  150|      0|        }
  151|     27|        if (meta != NULL) {
  ------------------
  |  Branch (151:13): [True: 25, False: 2]
  ------------------
  152|       |            /* metaclass is explicitly given, check if it's indeed a class */
  153|     25|            isclass = PyType_Check(meta);
  ------------------
  |  |  766|     25|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  154|     25|        }
  155|     27|    }
  156|    689|    if (meta == NULL) {
  ------------------
  |  Branch (156:9): [True: 664, False: 25]
  ------------------
  157|       |        /* if there are no bases, use type: */
  158|    664|        if (PyTuple_GET_SIZE(bases) == 0) {
  ------------------
  |  |   27|    664|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    664|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    664|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (158:13): [True: 74, False: 590]
  ------------------
  159|     74|            meta = (PyObject *) (&PyType_Type);
  160|     74|        }
  161|       |        /* else get the type of the first base */
  162|    590|        else {
  163|    590|            PyObject *base0 = PyTuple_GET_ITEM(bases, 0);
  ------------------
  |  |   29|    590|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    590|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    590|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (163:31): [True: 590, False: 0]
  ------------------
  164|    590|            meta = (PyObject *)Py_TYPE(base0);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|    590|        }
  166|    664|        Py_INCREF(meta);
  ------------------
  |  |  310|    664|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    664|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    664|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  167|    664|        isclass = 1;  /* meta is really a class */
  168|    664|    }
  169|       |
  170|    689|    if (isclass) {
  ------------------
  |  Branch (170:9): [True: 689, False: 0]
  ------------------
  171|       |        /* meta is really a class, so check for a more derived
  172|       |           metaclass, or possible metaclass conflicts: */
  173|    689|        winner = (PyObject *)_PyType_CalculateMetaclass((PyTypeObject *)meta,
  174|    689|                                                        bases);
  175|    689|        if (winner == NULL) {
  ------------------
  |  Branch (175:13): [True: 0, False: 689]
  ------------------
  176|      0|            goto error;
  177|      0|        }
  178|    689|        if (winner != meta) {
  ------------------
  |  Branch (178:13): [True: 6, False: 683]
  ------------------
  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|    689|    }
  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|    689|    if (PyObject_GetOptionalAttr(meta, &_Py_ID(__prepare__), &prep) < 0) {
  ------------------
  |  |  951|    689|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    689|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    689|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (184:9): [True: 0, False: 689]
  ------------------
  185|      0|        ns = NULL;
  186|      0|    }
  187|    689|    else if (prep == NULL) {
  ------------------
  |  Branch (187:14): [True: 0, False: 689]
  ------------------
  188|      0|        ns = PyDict_New();
  189|      0|    }
  190|    689|    else {
  191|    689|        PyObject *pargs[2] = {name, bases};
  192|    689|        ns = PyObject_VectorcallDict(prep, pargs, 2, mkw);
  193|    689|        Py_DECREF(prep);
  ------------------
  |  |  430|    689|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    689|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    689|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  194|    689|    }
  195|    689|    if (ns == NULL) {
  ------------------
  |  Branch (195:9): [True: 0, False: 689]
  ------------------
  196|      0|        goto error;
  197|      0|    }
  198|    689|    if (!PyMapping_Check(ns)) {
  ------------------
  |  Branch (198:9): [True: 0, False: 689]
  ------------------
  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|    689|    PyThreadState *tstate = _PyThreadState_GET();
  206|    689|    EVAL_CALL_STAT_INC(EVAL_CALL_BUILD_CLASS);
  ------------------
  |  |   79|    689|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  207|    689|    cell = _PyEval_Vector(tstate, (PyFunctionObject *)func, ns, NULL, 0, NULL);
  208|    689|    if (cell != NULL) {
  ------------------
  |  Branch (208:9): [True: 689, False: 0]
  ------------------
  209|    689|        if (bases != orig_bases) {
  ------------------
  |  Branch (209:13): [True: 0, False: 689]
  ------------------
  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|    689|        PyObject *margs[3] = {name, bases, ns};
  215|    689|        cls = PyObject_VectorcallDict(meta, margs, 3, mkw);
  216|    689|        if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) {
  ------------------
  |  |  766|  1.37k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    689|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    689|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 689, False: 0]
  |  |  ------------------
  ------------------
                      if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) {
  ------------------
  |  |   18|    689|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|    689|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    689|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    689|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 20, False: 669]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (216:13): [True: 689, False: 0]
  ------------------
  217|     20|            PyObject *cell_cls = PyCell_GetRef((PyCellObject *)cell);
  218|     20|            if (cell_cls != cls) {
  ------------------
  |  Branch (218:17): [True: 0, False: 20]
  ------------------
  219|      0|                if (cell_cls == NULL) {
  ------------------
  |  Branch (219:21): [True: 0, False: 0]
  ------------------
  220|      0|                    const char *msg =
  221|      0|                        "__class__ not set defining %.200R as %.200R. "
  222|      0|                        "Was __classcell__ propagated to type.__new__?";
  223|      0|                    PyErr_Format(PyExc_RuntimeError, msg, name, cls);
  224|      0|                } else {
  225|      0|                    const char *msg =
  226|      0|                        "__class__ set to %.200R defining %.200R as %.200R";
  227|      0|                    PyErr_Format(PyExc_TypeError, msg, cell_cls, name, cls);
  228|      0|                }
  229|      0|                Py_XDECREF(cell_cls);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  230|      0|                Py_SETREF(cls, NULL);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  231|      0|                goto error;
  232|      0|            }
  233|     20|            else {
  234|     20|                Py_DECREF(cell_cls);
  ------------------
  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  235|     20|            }
  236|     20|        }
  237|    689|    }
  238|    689|error:
  239|    689|    Py_XDECREF(cell);
  ------------------
  |  |  621|    689|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    689|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    689|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|    689|    Py_XDECREF(ns);
  ------------------
  |  |  621|    689|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    689|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    689|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|    689|    Py_XDECREF(meta);
  ------------------
  |  |  621|    689|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    689|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    689|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|    689|    Py_XDECREF(mkw);
  ------------------
  |  |  621|    689|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    689|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    689|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  243|    689|    if (bases != orig_bases) {
  ------------------
  |  Branch (243:9): [True: 0, False: 689]
  ------------------
  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|    689|    Py_DECREF(bases);
  ------------------
  |  |  430|    689|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    689|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    689|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  247|    689|    return cls;
  248|    689|}
bltinmodule.c:update_bases:
   31|    689|{
   32|    689|    Py_ssize_t i, j;
   33|    689|    PyObject *base, *meth, *new_base, *result, *new_bases = NULL;
   34|    689|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (34:5): [True: 689, False: 0]
  ------------------
   35|       |
   36|  1.47k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (36:17): [True: 788, False: 689]
  ------------------
   37|    788|        base  = args[i];
   38|    788|        if (PyType_Check(base)) {
  ------------------
  |  |  766|    788|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    788|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    788|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 788, False: 0]
  |  |  ------------------
  ------------------
   39|    788|            if (new_bases) {
  ------------------
  |  Branch (39:17): [True: 0, False: 788]
  ------------------
   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|    788|            continue;
   47|    788|        }
   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|    689|    if (!new_bases) {
  ------------------
  |  Branch (89:9): [True: 689, False: 0]
  ------------------
   90|    689|        return bases;
   91|    689|    }
   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|    689|}
bltinmodule.c:builtin___import___impl:
  286|  45.0k|{
  287|  45.0k|    return PyImport_ImportModuleLevelObject(name, globals, locals,
  288|  45.0k|                                            fromlist, level);
  289|  45.0k|}
bltinmodule.c:builtin_abs:
  371|      3|{
  372|      3|    return PyNumber_Absolute(number);
  373|      3|}
bltinmodule.c:builtin_any:
  438|  14.7k|{
  439|  14.7k|    PyObject *it, *item;
  440|  14.7k|    PyObject *(*iternext)(PyObject *);
  441|  14.7k|    int cmp;
  442|       |
  443|  14.7k|    it = PyObject_GetIter(iterable);
  444|  14.7k|    if (it == NULL)
  ------------------
  |  Branch (444:9): [True: 0, False: 14.7k]
  ------------------
  445|      0|        return NULL;
  446|  14.7k|    iternext = *Py_TYPE(it)->tp_iternext;
  ------------------
  |  |  213|  14.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  447|       |
  448|   210k|    for (;;) {
  449|   210k|        item = iternext(it);
  450|   210k|        if (item == NULL)
  ------------------
  |  Branch (450:13): [True: 14.2k, False: 196k]
  ------------------
  451|  14.2k|            break;
  452|   196k|        cmp = PyObject_IsTrue(item);
  453|   196k|        Py_DECREF(item);
  ------------------
  |  |  430|   196k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   196k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   196k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  454|   196k|        if (cmp < 0) {
  ------------------
  |  Branch (454:13): [True: 0, False: 196k]
  ------------------
  455|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  456|      0|            return NULL;
  457|      0|        }
  458|   196k|        if (cmp > 0) {
  ------------------
  |  Branch (458:13): [True: 560, False: 195k]
  ------------------
  459|    560|            Py_DECREF(it);
  ------------------
  |  |  430|    560|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    560|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    560|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  460|    560|            Py_RETURN_TRUE;
  ------------------
  |  |   44|    560|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|    560|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    560|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    560|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  461|    560|        }
  462|   196k|    }
  463|  14.2k|    Py_DECREF(it);
  ------------------
  |  |  430|  14.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|  14.2k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (464:9): [True: 0, False: 14.2k]
  ------------------
  465|      0|        if (PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (465:13): [True: 0, False: 0]
  ------------------
  466|      0|            PyErr_Clear();
  467|      0|        else
  468|      0|            return NULL;
  469|      0|    }
  470|  14.2k|    Py_RETURN_FALSE;
  ------------------
  |  |   45|  14.2k|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|  14.2k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  471|  14.2k|}
bltinmodule.c:builtin_callable:
  530|      7|{
  531|      7|    return PyBool_FromLong((long)PyCallable_Check(obj));
  532|      7|}
bltinmodule.c:builtin_chr:
  757|   185k|{
  758|   185k|    int overflow;
  759|   185k|    long v = PyLong_AsLongAndOverflow(i, &overflow);
  760|   185k|    if (v == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (760:9): [True: 0, False: 185k]
  |  Branch (760:20): [True: 0, False: 0]
  ------------------
  761|      0|        return NULL;
  762|      0|    }
  763|   185k|    if (overflow) {
  ------------------
  |  Branch (763:9): [True: 0, False: 185k]
  ------------------
  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|   185k|#if SIZEOF_INT < SIZEOF_LONG
  768|   185k|    else if (v < INT_MIN) {
  ------------------
  |  Branch (768:14): [True: 0, False: 185k]
  ------------------
  769|      0|        v = INT_MIN;
  770|      0|    }
  771|   185k|    else if (v > INT_MAX) {
  ------------------
  |  Branch (771:14): [True: 0, False: 185k]
  ------------------
  772|       |        v = INT_MAX;
  773|      0|    }
  774|   185k|#endif
  775|   185k|    return PyUnicode_FromOrdinal(v);
  776|   185k|}
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_divmod_impl:
  998|    399|{
  999|    399|    return PyNumber_Divmod(x, y);
 1000|    399|}
bltinmodule.c:builtin_eval_impl:
 1024|      3|{
 1025|      3|    PyThreadState *tstate = _PyThreadState_GET();
 1026|      3|    PyObject *result = NULL, *source_copy;
 1027|      3|    const char *str;
 1028|       |
 1029|      3|    if (locals != Py_None && !PyMapping_Check(locals)) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1029:9): [True: 0, False: 3]
  |  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|      3|    if (globals != Py_None && !PyAnyDict_Check(globals)) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (globals != Py_None && !PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|      3|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|      3|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 3, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1033:9): [True: 3, 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|      3|    int fromframe = 0;
 1042|      3|    if (globals != Py_None) {
  ------------------
  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1042:9): [True: 3, False: 0]
  ------------------
 1043|      3|        Py_INCREF(globals);
  ------------------
  |  |  310|      3|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1044|      3|    }
 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|      3|    if (locals != Py_None) {
  ------------------
  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1064:9): [True: 0, False: 3]
  ------------------
 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|      3|    else if (fromframe) {
  ------------------
  |  Branch (1067:14): [True: 0, False: 3]
  ------------------
 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|      3|    else {
 1076|      3|        locals = Py_NewRef(globals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1077|      3|    }
 1078|       |
 1079|      3|    if (_PyEval_EnsureBuiltins(tstate, globals, NULL) < 0) {
  ------------------
  |  Branch (1079:9): [True: 0, False: 3]
  ------------------
 1080|      0|        goto error;
 1081|      0|    }
 1082|       |
 1083|      3|    if (PyCode_Check(source)) {
  ------------------
  |  |  168|      3|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|      3|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|      3|    else {
 1096|      3|        PyCompilerFlags cf = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|      3|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|      3|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
 1097|      3|        cf.cf_flags = PyCF_SOURCE_IS_UTF8;
  ------------------
  |  |   15|      3|#define PyCF_SOURCE_IS_UTF8  0x0100
  ------------------
 1098|      3|        str = _Py_SourceAsString(source, "eval", "string, bytes or code", &cf, &source_copy);
 1099|      3|        if (str == NULL)
  ------------------
  |  Branch (1099:13): [True: 0, False: 3]
  ------------------
 1100|      0|            goto error;
 1101|       |
 1102|      3|        while (*str == ' ' || *str == '\t')
  ------------------
  |  Branch (1102:16): [True: 0, False: 3]
  |  Branch (1102:31): [True: 0, False: 3]
  ------------------
 1103|      0|            str++;
 1104|       |
 1105|      3|        (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|      3|        result = PyRun_StringFlags(str, Py_eval_input, globals, locals, &cf);
  ------------------
  |  |   10|      3|#define Py_eval_input 258
  ------------------
 1113|       |#ifdef Py_GIL_DISABLED
 1114|       |        tstate->suppress_co_const_immortalization--;
 1115|       |#endif
 1116|      3|        Py_XDECREF(source_copy);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1117|      3|    }
 1118|       |
 1119|      3|  error:
 1120|      3|    Py_XDECREF(globals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1121|      3|    Py_XDECREF(locals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1122|      3|    return result;
 1123|      3|}
bltinmodule.c:builtin_exec_impl:
 1150|    125|{
 1151|    125|    PyThreadState *tstate = _PyThreadState_GET();
 1152|    125|    PyObject *v;
 1153|       |
 1154|    125|    int fromframe = 0;
 1155|    125|    if (globals != Py_None) {
  ------------------
  |  |  616|    125|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1155:9): [True: 125, False: 0]
  ------------------
 1156|    125|        Py_INCREF(globals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1157|    125|    }
 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|    125|    if (locals != Py_None) {
  ------------------
  |  |  616|    125|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1176:9): [True: 0, False: 125]
  ------------------
 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|    125|    else if (fromframe) {
  ------------------
  |  Branch (1179:14): [True: 0, False: 125]
  ------------------
 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|    125|    else {
 1188|    125|        locals = Py_NewRef(globals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1189|    125|    }
 1190|       |
 1191|    125|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|    125|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    125|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    250|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 125, 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|    125|    if (!PyMapping_Check(locals)) {
  ------------------
  |  Branch (1197:9): [True: 0, False: 125]
  ------------------
 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|    125|    if (_PyEval_EnsureBuiltins(tstate, globals, NULL) < 0) {
  ------------------
  |  Branch (1204:9): [True: 0, False: 125]
  ------------------
 1205|      0|        goto error;
 1206|      0|    }
 1207|       |
 1208|    125|    if (closure == Py_None) {
  ------------------
  |  |  616|    125|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1208:9): [True: 0, False: 125]
  ------------------
 1209|      0|        closure = NULL;
 1210|      0|    }
 1211|       |
 1212|    125|    if (PyCode_Check(source)) {
  ------------------
  |  |  168|    125|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|    125|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    125|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 125, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1213|    125|        Py_ssize_t num_free = PyCode_GetNumFree((PyCodeObject *)source);
 1214|    125|        if (num_free == 0) {
  ------------------
  |  Branch (1214:13): [True: 125, False: 0]
  ------------------
 1215|    125|            if (closure) {
  ------------------
  |  Branch (1215:17): [True: 0, False: 125]
  ------------------
 1216|      0|                PyErr_SetString(PyExc_TypeError,
 1217|      0|                    "cannot use a closure with this code object");
 1218|      0|                goto error;
 1219|      0|            }
 1220|    125|        } 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|    125|        if (PySys_Audit("exec", "O", source) < 0) {
  ------------------
  |  Branch (1242:13): [True: 0, False: 125]
  ------------------
 1243|      0|            goto error;
 1244|      0|        }
 1245|       |
 1246|    125|        if (!closure) {
  ------------------
  |  Branch (1246:13): [True: 125, False: 0]
  ------------------
 1247|    125|            v = PyEval_EvalCode(source, globals, locals);
 1248|    125|        } 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|    125|    }
 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|    125|    if (v == NULL)
  ------------------
  |  Branch (1279:9): [True: 5, False: 120]
  ------------------
 1280|      5|        goto error;
 1281|    120|    Py_DECREF(globals);
  ------------------
  |  |  430|    120|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1282|    120|    Py_DECREF(locals);
  ------------------
  |  |  430|    120|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1283|    120|    Py_DECREF(v);
  ------------------
  |  |  430|    120|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1284|    120|    Py_RETURN_NONE;
  ------------------
  |  |  628|    120|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    120|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1285|       |
 1286|      5|  error:
 1287|      5|    Py_XDECREF(globals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1288|      5|    Py_XDECREF(locals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1289|       |    return NULL;
 1290|    125|}
bltinmodule.c:builtin_getattr:
 1296|  3.13k|{
 1297|  3.13k|    PyObject *v, *name, *result;
 1298|       |
 1299|  3.13k|    if (!_PyArg_CheckPositional("getattr", nargs, 2, 3))
  ------------------
  |  |   38|  3.13k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 3.13k, False: 0]
  |  |  |  Branch (38:27): [True: 3.13k, False: 0]
  |  |  ------------------
  |  |   39|  3.13k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1300|      0|        return NULL;
 1301|       |
 1302|  3.13k|    v = args[0];
 1303|  3.13k|    name = args[1];
 1304|  3.13k|    if (nargs > 2) {
  ------------------
  |  Branch (1304:9): [True: 2.92k, False: 211]
  ------------------
 1305|  2.92k|        if (PyObject_GetOptionalAttr(v, name, &result) == 0) {
  ------------------
  |  Branch (1305:13): [True: 310, False: 2.61k]
  ------------------
 1306|    310|            PyObject *dflt = args[2];
 1307|    310|            return Py_NewRef(dflt);
  ------------------
  |  |  647|    310|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    310|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    310|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1308|    310|        }
 1309|  2.92k|    }
 1310|    211|    else {
 1311|    211|        result = PyObject_GetAttr(v, name);
 1312|    211|    }
 1313|  2.82k|    return result;
 1314|  3.13k|}
bltinmodule.c:builtin_globals_impl:
 1338|     47|{
 1339|     47|    PyObject *globals;
 1340|     47|    if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (1340:9): [True: 47, False: 0]
  ------------------
 1341|     47|        globals = PyEval_GetGlobals();
 1342|     47|        assert(globals != NULL);
  ------------------
  |  Branch (1342:9): [True: 47, False: 0]
  ------------------
 1343|     47|        return Py_NewRef(globals);
  ------------------
  |  |  647|     47|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     47|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1344|     47|    }
 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|    378|{
 1373|    378|    PyObject *v;
 1374|       |
 1375|    378|    if (PyObject_GetOptionalAttr(obj, name, &v) < 0) {
  ------------------
  |  Branch (1375:9): [True: 0, False: 378]
  ------------------
 1376|      0|        return NULL;
 1377|      0|    }
 1378|    378|    if (v == NULL) {
  ------------------
  |  Branch (1378:9): [True: 83, False: 295]
  ------------------
 1379|     83|        Py_RETURN_FALSE;
  ------------------
  |  |   45|     83|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     83|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     83|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     83|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1380|     83|    }
 1381|    295|    Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1382|    295|    Py_RETURN_TRUE;
  ------------------
  |  |   44|    295|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|    295|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    295|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1383|    378|}
bltinmodule.c:builtin_isinstance_impl:
 3043|     71|{
 3044|     71|    int retval;
 3045|       |
 3046|     71|    retval = PyObject_IsInstance(obj, class_or_tuple);
 3047|     71|    if (retval < 0)
  ------------------
  |  Branch (3047:9): [True: 0, False: 71]
  ------------------
 3048|      0|        return NULL;
 3049|     71|    return PyBool_FromLong(retval);
 3050|     71|}
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|    110|{
 1923|    110|    Py_ssize_t res;
 1924|       |
 1925|    110|    res = PyObject_Size(obj);
 1926|    110|    if (res < 0) {
  ------------------
  |  Branch (1926:9): [True: 0, False: 110]
  ------------------
 1927|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (1927:9): [True: 0, False: 0]
  ------------------
 1928|      0|        return NULL;
 1929|      0|    }
 1930|    110|    return PyLong_FromSsize_t(res);
 1931|    110|}
bltinmodule.c:builtin_max:
 2105|    488|{
 2106|    488|    return min_max(args, nargs, kwnames, Py_GT);
  ------------------
  |  |  656|    488|#define Py_GT 4
  ------------------
 2107|    488|}
bltinmodule.c:min_max:
 1969|    627|{
 1970|    627|    PyObject *it = NULL, *item, *val, *maxitem, *maxval, *keyfunc=NULL;
 1971|    627|    PyObject *defaultval = NULL;
 1972|    627|    static const char * const keywords[] = {"key", "default", NULL};
 1973|    627|    static _PyArg_Parser _parser_min = {"|$OO:min", keywords, 0};
 1974|    627|    static _PyArg_Parser _parser_max = {"|$OO:max", keywords, 0};
 1975|    627|    const char *name = (op == Py_LT) ? "min" : "max";
  ------------------
  |  |  652|    627|#define Py_LT 0
  ------------------
  |  Branch (1975:24): [True: 139, False: 488]
  ------------------
 1976|    627|    _PyArg_Parser *_parser = (op == Py_LT) ? &_parser_min : &_parser_max;
  ------------------
  |  |  652|    627|#define Py_LT 0
  ------------------
  |  Branch (1976:30): [True: 139, False: 488]
  ------------------
 1977|       |
 1978|    627|    if (nargs == 0) {
  ------------------
  |  Branch (1978:9): [True: 0, False: 627]
  ------------------
 1979|      0|        PyErr_Format(PyExc_TypeError, "%s expected at least 1 argument, got 0", name);
 1980|      0|        return NULL;
 1981|      0|    }
 1982|       |
 1983|    627|    if (kwnames != NULL && !_PyArg_ParseStackAndKeywords(args + nargs, 0, kwnames, _parser,
  ------------------
  |  Branch (1983:9): [True: 0, False: 627]
  |  Branch (1983:28): [True: 0, False: 0]
  ------------------
 1984|      0|                                                         &keyfunc, &defaultval)) {
 1985|      0|        return NULL;
 1986|      0|    }
 1987|       |
 1988|    627|    const int positional = nargs > 1; // False iff nargs == 1
 1989|    627|    if (positional && defaultval != NULL) {
  ------------------
  |  Branch (1989:9): [True: 144, False: 483]
  |  Branch (1989:23): [True: 0, False: 144]
  ------------------
 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|    627|    if (!positional) {
  ------------------
  |  Branch (1996:9): [True: 483, False: 144]
  ------------------
 1997|    483|        it = PyObject_GetIter(args[0]);
 1998|    483|        if (it == NULL) {
  ------------------
  |  Branch (1998:13): [True: 0, False: 483]
  ------------------
 1999|      0|            return NULL;
 2000|      0|        }
 2001|    483|    }
 2002|       |
 2003|    627|    if (keyfunc == Py_None) {
  ------------------
  |  |  616|    627|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2003:9): [True: 0, False: 627]
  ------------------
 2004|      0|        keyfunc = NULL;
 2005|      0|    }
 2006|       |
 2007|    627|    maxitem = NULL; /* the result */
 2008|    627|    maxval = NULL;  /* the value associated with the result */
 2009|  1.71k|    while (1) {
  ------------------
  |  Branch (2009:12): [True: 1.71k, Folded]
  ------------------
 2010|  1.71k|        if (it == NULL) {
  ------------------
  |  Branch (2010:13): [True: 432, False: 1.27k]
  ------------------
 2011|    432|            if (nargs-- <= 0) {
  ------------------
  |  Branch (2011:17): [True: 144, False: 288]
  ------------------
 2012|    144|                break;
 2013|    144|            }
 2014|    288|            item = *args++;
 2015|    288|            Py_INCREF(item);
  ------------------
  |  |  310|    288|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    288|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    288|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2016|    288|        }
 2017|  1.27k|        else {
 2018|  1.27k|            item = PyIter_Next(it);
 2019|  1.27k|            if (item == NULL) {
  ------------------
  |  Branch (2019:17): [True: 483, False: 796]
  ------------------
 2020|    483|                if (PyErr_Occurred()) {
  ------------------
  |  Branch (2020:21): [True: 0, False: 483]
  ------------------
 2021|      0|                    goto Fail_it;
 2022|      0|                }
 2023|    483|                break;
 2024|    483|            }
 2025|  1.27k|        }
 2026|       |
 2027|       |        /* get the value from the key function */
 2028|  1.08k|        if (keyfunc != NULL) {
  ------------------
  |  Branch (2028:13): [True: 0, False: 1.08k]
  ------------------
 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|  1.08k|        else {
 2035|  1.08k|            val = Py_NewRef(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2036|  1.08k|        }
 2037|       |
 2038|       |        /* maximum value and item are unset; set them */
 2039|  1.08k|        if (maxval == NULL) {
  ------------------
  |  Branch (2039:13): [True: 627, False: 457]
  ------------------
 2040|    627|            maxitem = item;
 2041|    627|            maxval = val;
 2042|    627|        }
 2043|       |        /* maximum value and item are set; update them as necessary */
 2044|    457|        else {
 2045|    457|            int cmp = PyObject_RichCompareBool(val, maxval, op);
 2046|    457|            if (cmp < 0)
  ------------------
  |  Branch (2046:17): [True: 0, False: 457]
  ------------------
 2047|      0|                goto Fail_it_item_and_val;
 2048|    457|            else if (cmp > 0) {
  ------------------
  |  Branch (2048:22): [True: 146, False: 311]
  ------------------
 2049|    146|                Py_DECREF(maxval);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2050|    146|                Py_DECREF(maxitem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2051|    146|                maxval = val;
 2052|    146|                maxitem = item;
 2053|    146|            }
 2054|    311|            else {
 2055|    311|                Py_DECREF(item);
  ------------------
  |  |  430|    311|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    311|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    311|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2056|    311|                Py_DECREF(val);
  ------------------
  |  |  430|    311|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    311|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    311|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2057|    311|            }
 2058|    457|        }
 2059|  1.08k|    }
 2060|    627|    if (maxval == NULL) {
  ------------------
  |  Branch (2060:9): [True: 0, False: 627]
  ------------------
 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|    627|    else
 2070|    627|        Py_DECREF(maxval);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2071|    627|    Py_XDECREF(it);
  ------------------
  |  |  621|    627|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    627|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    627|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2072|    627|    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|    139|{
 2089|    139|    return min_max(args, nargs, kwnames, Py_LT);
  ------------------
  |  |  652|    139|#define Py_LT 0
  ------------------
 2090|    139|}
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|  4.86M|{
 2158|  4.86M|    long ord;
 2159|  4.86M|    Py_ssize_t size;
 2160|       |
 2161|  4.86M|    if (PyBytes_Check(c)) {
  ------------------
  |  |   28|  4.86M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.86M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 4.86M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|  4.86M|    else if (PyUnicode_Check(c)) {
  ------------------
  |  |  103|  4.86M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.86M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4.86M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2169|  4.86M|        size = PyUnicode_GET_LENGTH(c);
  ------------------
  |  |  300|  4.86M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2170|  4.86M|        if (size == 1) {
  ------------------
  |  Branch (2170:13): [True: 4.86M, False: 0]
  ------------------
 2171|  4.86M|            ord = (long)PyUnicode_READ_CHAR(c, 0);
  ------------------
  |  |  382|  4.86M|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  4.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2172|  4.86M|            return PyLong_FromLong(ord);
 2173|  4.86M|        }
 2174|  4.86M|    }
 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|  4.86M|}
bltinmodule.c:builtin_pow_impl:
 2216|      3|{
 2217|      3|    return PyNumber_Power(base, exp, mod);
 2218|      3|}
bltinmodule.c:builtin_setattr_impl:
 1799|    215|{
 1800|    215|    if (PyObject_SetAttr(obj, name, value) != 0)
  ------------------
  |  Branch (1800:9): [True: 0, False: 215]
  ------------------
 1801|      0|        return NULL;
 1802|    215|    Py_RETURN_NONE;
  ------------------
  |  |  628|    215|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    215|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1803|    215|}
bltinmodule.c:builtin_sorted:
 2652|  14.9k|{
 2653|  14.9k|    PyObject *newlist, *v, *seq, *callable;
 2654|       |
 2655|       |    /* Keyword arguments are passed through list.sort() which will check
 2656|       |       them. */
 2657|  14.9k|    if (!_PyArg_UnpackStack(args, nargs, "sorted", 1, 1, &seq))
  ------------------
  |  Branch (2657:9): [True: 0, False: 14.9k]
  ------------------
 2658|      0|        return NULL;
 2659|       |
 2660|  14.9k|    newlist = PySequence_List(seq);
 2661|  14.9k|    if (newlist == NULL)
  ------------------
  |  Branch (2661:9): [True: 0, False: 14.9k]
  ------------------
 2662|      0|        return NULL;
 2663|       |
 2664|  14.9k|    callable = PyObject_GetAttr(newlist, &_Py_ID(sort));
  ------------------
  |  |  951|  14.9k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  14.9k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  14.9k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2665|  14.9k|    if (callable == NULL) {
  ------------------
  |  Branch (2665:9): [True: 0, False: 14.9k]
  ------------------
 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|  14.9k|    assert(nargs >= 1);
  ------------------
  |  Branch (2670:5): [True: 14.9k, False: 0]
  ------------------
 2671|  14.9k|    v = PyObject_Vectorcall(callable, args + 1, nargs - 1, kwnames);
 2672|  14.9k|    Py_DECREF(callable);
  ------------------
  |  |  430|  14.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2673|  14.9k|    if (v == NULL) {
  ------------------
  |  Branch (2673:9): [True: 0, False: 14.9k]
  ------------------
 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|  14.9k|    Py_DECREF(v);
  ------------------
  |  |  430|  14.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2678|  14.9k|    return newlist;
 2679|  14.9k|}
bltinmodule.c:builtin_sum_impl:
 2790|    636|{
 2791|    636|    PyObject *result = start;
 2792|    636|    PyObject *temp, *item, *iter;
 2793|       |
 2794|    636|    iter = PyObject_GetIter(iterable);
 2795|    636|    if (iter == NULL)
  ------------------
  |  Branch (2795:9): [True: 0, False: 636]
  ------------------
 2796|      0|        return NULL;
 2797|       |
 2798|    636|    if (result == NULL) {
  ------------------
  |  Branch (2798:9): [True: 636, False: 0]
  ------------------
 2799|    636|        result = PyLong_FromLong(0);
 2800|    636|        if (result == NULL) {
  ------------------
  |  Branch (2800:13): [True: 0, False: 636]
  ------------------
 2801|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2802|      0|            return NULL;
 2803|      0|        }
 2804|    636|    } else {
 2805|       |        /* reject string values for 'start' parameter */
 2806|      0|        if (PyUnicode_Check(result)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2807|      0|            PyErr_SetString(PyExc_TypeError,
 2808|      0|                "sum() can't sum strings [use ''.join(seq) instead]");
 2809|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2810|      0|            return NULL;
 2811|      0|        }
 2812|      0|        if (PyBytes_Check(result)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2813|      0|            PyErr_SetString(PyExc_TypeError,
 2814|      0|                "sum() can't sum bytes [use b''.join(seq) instead]");
 2815|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2816|      0|            return NULL;
 2817|      0|        }
 2818|      0|        if (PyByteArray_Check(result)) {
  ------------------
  |  |   24|      0|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2819|      0|            PyErr_SetString(PyExc_TypeError,
 2820|      0|                "sum() can't sum bytearray [use b''.join(seq) instead]");
 2821|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2822|      0|            return NULL;
 2823|      0|        }
 2824|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2825|      0|    }
 2826|       |
 2827|    636|#ifndef SLOW_SUM
 2828|       |    /* Fast addition by keeping temporary sums in C instead of new Python objects.
 2829|       |       Assumes all inputs are the same type.  If the assumption fails, default
 2830|       |       to the more general routine.
 2831|       |    */
 2832|    636|    if (PyLong_CheckExact(result)) {
  ------------------
  |  |   14|    636|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    636|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    636|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    636|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 636, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2833|    636|        int overflow;
 2834|    636|        Py_ssize_t i_result = PyLong_AsLongAndOverflow(result, &overflow);
 2835|       |        /* If this already overflowed, don't even enter the loop. */
 2836|    636|        if (overflow == 0) {
  ------------------
  |  Branch (2836:13): [True: 636, False: 0]
  ------------------
 2837|    636|            Py_SETREF(result, NULL);
  ------------------
  |  |  545|    636|    do { \
  |  |  546|    636|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    636|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|    636|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    636|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|    636|        *_tmp_dst_ptr = (src); \
  |  |  549|    636|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|    636|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    636|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    636|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|    636|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 636]
  |  |  ------------------
  ------------------
 2838|    636|        }
 2839|  62.1k|        while(result == NULL) {
  ------------------
  |  Branch (2839:15): [True: 62.1k, False: 0]
  ------------------
 2840|  62.1k|            item = PyIter_Next(iter);
 2841|  62.1k|            if (item == NULL) {
  ------------------
  |  Branch (2841:17): [True: 636, False: 61.4k]
  ------------------
 2842|    636|                Py_DECREF(iter);
  ------------------
  |  |  430|    636|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    636|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    636|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2843|    636|                if (PyErr_Occurred())
  ------------------
  |  Branch (2843:21): [True: 0, False: 636]
  ------------------
 2844|      0|                    return NULL;
 2845|    636|                return PyLong_FromSsize_t(i_result);
 2846|    636|            }
 2847|  61.4k|            if (PyLong_CheckExact(item) || PyBool_Check(item)) {
  ------------------
  |  |   14|  61.4k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   122k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  61.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  61.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 61.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyLong_CheckExact(item) || PyBool_Check(item)) {
  ------------------
  |  |   12|      0|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2848|  61.4k|                Py_ssize_t b;
 2849|  61.4k|                overflow = 0;
 2850|       |                /* Single digits are common, fast, and cannot overflow on unpacking. */
 2851|  61.4k|                if (_PyLong_IsCompact((PyLongObject *)item)) {
  ------------------
  |  Branch (2851:21): [True: 61.4k, False: 0]
  ------------------
 2852|  61.4k|                    b = _PyLong_CompactValue((PyLongObject *)item);
 2853|  61.4k|                }
 2854|      0|                else {
 2855|      0|                    b = PyLong_AsLongAndOverflow(item, &overflow);
 2856|      0|                }
 2857|  61.4k|                if (overflow == 0 &&
  ------------------
  |  Branch (2857:21): [True: 61.4k, False: 0]
  ------------------
 2858|  61.4k|                    (i_result >= 0 ? (b <= PY_SSIZE_T_MAX - i_result)
  ------------------
  |  |  137|  61.4k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2858:21): [True: 61.4k, False: 0]
  |  Branch (2858:22): [True: 61.4k, False: 0]
  ------------------
 2859|  61.4k|                                   : (b >= PY_SSIZE_T_MIN - i_result)))
  ------------------
  |  |  146|      0|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
 2860|  61.4k|                {
 2861|  61.4k|                    i_result += b;
 2862|  61.4k|                    Py_DECREF(item);
  ------------------
  |  |  430|  61.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  61.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2863|  61.4k|                    continue;
 2864|  61.4k|                }
 2865|  61.4k|            }
 2866|       |            /* Either overflowed or is not an int. Restore real objects and process normally */
 2867|      0|            result = PyLong_FromSsize_t(i_result);
 2868|      0|            if (result == NULL) {
  ------------------
  |  Branch (2868:17): [True: 0, False: 0]
  ------------------
 2869|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2870|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2871|      0|                return NULL;
 2872|      0|            }
 2873|      0|            temp = PyNumber_Add(result, item);
 2874|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2875|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2876|      0|            result = temp;
 2877|      0|            if (result == NULL) {
  ------------------
  |  Branch (2877:17): [True: 0, False: 0]
  ------------------
 2878|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2879|      0|                return NULL;
 2880|      0|            }
 2881|      0|        }
 2882|    636|    }
 2883|       |
 2884|      0|    if (PyFloat_CheckExact(result)) {
  ------------------
  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2885|      0|        CompensatedSum re_sum = cs_from_double(PyFloat_AS_DOUBLE(result));
  ------------------
  |  |   18|      0|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2886|      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]
  |  |  ------------------
  ------------------
 2887|      0|        while(result == NULL) {
  ------------------
  |  Branch (2887:15): [True: 0, False: 0]
  ------------------
 2888|      0|            item = PyIter_Next(iter);
 2889|      0|            if (item == NULL) {
  ------------------
  |  Branch (2889:17): [True: 0, False: 0]
  ------------------
 2890|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2891|      0|                if (PyErr_Occurred())
  ------------------
  |  Branch (2891:21): [True: 0, False: 0]
  ------------------
 2892|      0|                    return NULL;
 2893|      0|                return PyFloat_FromDouble(cs_to_double(re_sum));
 2894|      0|            }
 2895|      0|            if (PyFloat_CheckExact(item)) {
  ------------------
  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2896|      0|                re_sum = cs_add(re_sum, PyFloat_AS_DOUBLE(item));
  ------------------
  |  |   18|      0|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2897|      0|                _Py_DECREF_SPECIALIZED(item, _PyFloat_ExactDealloc);
 2898|      0|                continue;
 2899|      0|            }
 2900|      0|            if (PyLong_CheckExact(item)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2901|      0|                double value = PyLong_AsDouble(item);
 2902|      0|                if (value != -1.0 || !PyErr_Occurred()) {
  ------------------
  |  Branch (2902:21): [True: 0, False: 0]
  |  Branch (2902:38): [True: 0, False: 0]
  ------------------
 2903|      0|                    re_sum = cs_add(re_sum, value);
 2904|      0|                    _Py_DECREF_SPECIALIZED(item, _PyLong_ExactDealloc);
 2905|      0|                    continue;
 2906|      0|                }
 2907|      0|                else {
 2908|      0|                    _Py_DECREF_SPECIALIZED(item, _PyLong_ExactDealloc);
 2909|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2910|      0|                    return NULL;
 2911|      0|                }
 2912|      0|            }
 2913|      0|            result = PyFloat_FromDouble(cs_to_double(re_sum));
 2914|      0|            if (result == NULL) {
  ------------------
  |  Branch (2914:17): [True: 0, False: 0]
  ------------------
 2915|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2916|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2917|      0|                return NULL;
 2918|      0|            }
 2919|      0|            temp = PyNumber_Add(result, item);
 2920|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2921|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2922|      0|            result = temp;
 2923|      0|            if (result == NULL) {
  ------------------
  |  Branch (2923:17): [True: 0, False: 0]
  ------------------
 2924|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2925|      0|                return NULL;
 2926|      0|            }
 2927|      0|        }
 2928|      0|    }
 2929|       |
 2930|      0|    if (PyComplex_CheckExact(result)) {
  ------------------
  |  |   14|      0|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2931|      0|        Py_complex z = PyComplex_AsCComplex(result);
 2932|      0|        CompensatedSum re_sum = cs_from_double(z.real);
 2933|      0|        CompensatedSum im_sum = cs_from_double(z.imag);
 2934|      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]
  |  |  ------------------
  ------------------
 2935|      0|        while (result == NULL) {
  ------------------
  |  Branch (2935:16): [True: 0, False: 0]
  ------------------
 2936|      0|            item = PyIter_Next(iter);
 2937|      0|            if (item == NULL) {
  ------------------
  |  Branch (2937:17): [True: 0, False: 0]
  ------------------
 2938|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2939|      0|                if (PyErr_Occurred()) {
  ------------------
  |  Branch (2939:21): [True: 0, False: 0]
  ------------------
 2940|      0|                    return NULL;
 2941|      0|                }
 2942|      0|                return PyComplex_FromDoubles(cs_to_double(re_sum),
 2943|      0|                                             cs_to_double(im_sum));
 2944|      0|            }
 2945|      0|            if (PyComplex_CheckExact(item)) {
  ------------------
  |  |   14|      0|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2946|      0|                z = PyComplex_AsCComplex(item);
 2947|      0|                re_sum = cs_add(re_sum, z.real);
 2948|      0|                im_sum = cs_add(im_sum, z.imag);
 2949|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2950|      0|                continue;
 2951|      0|            }
 2952|      0|            if (PyLong_CheckExact(item)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2953|      0|                double value = PyLong_AsDouble(item);
 2954|      0|                if (value != -1.0 || !PyErr_Occurred()) {
  ------------------
  |  Branch (2954:21): [True: 0, False: 0]
  |  Branch (2954:38): [True: 0, False: 0]
  ------------------
 2955|      0|                    re_sum = cs_add(re_sum, value);
 2956|      0|                    _Py_DECREF_SPECIALIZED(item, _PyLong_ExactDealloc);
 2957|      0|                    continue;
 2958|      0|                }
 2959|      0|                else {
 2960|      0|                    _Py_DECREF_SPECIALIZED(item, _PyLong_ExactDealloc);
 2961|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2962|      0|                    return NULL;
 2963|      0|                }
 2964|      0|            }
 2965|      0|            if (PyFloat_CheckExact(item)) {
  ------------------
  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2966|      0|                double value = PyFloat_AS_DOUBLE(item);
  ------------------
  |  |   18|      0|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2967|      0|                re_sum = cs_add(re_sum, value);
 2968|      0|                _Py_DECREF_SPECIALIZED(item, _PyFloat_ExactDealloc);
 2969|      0|                continue;
 2970|      0|            }
 2971|      0|            result = PyComplex_FromDoubles(cs_to_double(re_sum),
 2972|      0|                                           cs_to_double(im_sum));
 2973|      0|            if (result == NULL) {
  ------------------
  |  Branch (2973:17): [True: 0, False: 0]
  ------------------
 2974|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2975|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2976|      0|                return NULL;
 2977|      0|            }
 2978|      0|            temp = PyNumber_Add(result, item);
 2979|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2980|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2981|      0|            result = temp;
 2982|      0|            if (result == NULL) {
  ------------------
  |  Branch (2982:17): [True: 0, False: 0]
  ------------------
 2983|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2984|      0|                return NULL;
 2985|      0|            }
 2986|      0|        }
 2987|      0|    }
 2988|      0|#endif
 2989|       |
 2990|      0|    for(;;) {
 2991|      0|        item = PyIter_Next(iter);
 2992|      0|        if (item == NULL) {
  ------------------
  |  Branch (2992:13): [True: 0, False: 0]
  ------------------
 2993|       |            /* error, or end-of-sequence */
 2994|      0|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (2994:17): [True: 0, False: 0]
  ------------------
 2995|      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]
  |  |  ------------------
  ------------------
 2996|      0|            }
 2997|      0|            break;
 2998|      0|        }
 2999|       |        /* It's tempting to use PyNumber_InPlaceAdd instead of
 3000|       |           PyNumber_Add here, to avoid quadratic running time
 3001|       |           when doing 'sum(list_of_lists, [])'.  However, this
 3002|       |           would produce a change in behaviour: a snippet like
 3003|       |
 3004|       |             empty = []
 3005|       |             sum([[x] for x in range(10)], empty)
 3006|       |
 3007|       |           would change the value of empty. In fact, using
 3008|       |           in-place addition rather that binary addition for
 3009|       |           any of the steps introduces subtle behavior changes:
 3010|       |
 3011|       |           https://bugs.python.org/issue18305 */
 3012|      0|        temp = PyNumber_Add(result, item);
 3013|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3014|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3015|      0|        result = temp;
 3016|      0|        if (result == NULL)
  ------------------
  |  Branch (3016:13): [True: 0, False: 0]
  ------------------
 3017|      0|            break;
 3018|      0|    }
 3019|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3020|      0|    return result;
 3021|      0|}
bltinmodule.c:builtin_vars_impl:
 2698|      5|{
 2699|      5|    PyObject *d;
 2700|       |
 2701|      5|    if (v == NULL) {
  ------------------
  |  Branch (2701:9): [True: 1, False: 4]
  ------------------
 2702|      1|        if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (2702:13): [True: 1, False: 0]
  ------------------
 2703|      1|            d = _PyEval_GetFrameLocals();
 2704|      1|        }
 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|      1|    }
 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|      5|    return d;
 2726|      5|}

_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|   105M|{
   36|   105M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
   37|   105M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
   38|   105M|#if _Py_STACK_GROWS_DOWN
   39|   105M|    if (here_addr > _tstate->c_stack_soft_limit + margin_count * _PyOS_STACK_MARGIN_BYTES) {
  ------------------
  |  |   57|   105M|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|   105M|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|   105M|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (39:9): [True: 105M, False: 0]
  ------------------
   40|       |#else
   41|       |    if (here_addr <= _tstate->c_stack_soft_limit - margin_count * _PyOS_STACK_MARGIN_BYTES) {
   42|       |#endif
   43|   105M|        return 0;
   44|   105M|    }
   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|   105M|}
_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|    134|{
  614|    134|    PyThreadState *tstate = _PyThreadState_GET();
  615|    134|    if (locals == NULL) {
  ------------------
  |  Branch (615:9): [True: 0, False: 134]
  ------------------
  616|      0|        locals = globals;
  617|      0|    }
  618|    134|    PyObject *builtins = _PyDict_LoadBuiltinsFromGlobals(globals);
  619|    134|    if (builtins == NULL) {
  ------------------
  |  Branch (619:9): [True: 0, False: 134]
  ------------------
  620|      0|        return NULL;
  621|      0|    }
  622|    134|    PyFrameConstructor desc = {
  623|    134|        .fc_globals = globals,
  624|    134|        .fc_builtins = builtins,
  625|    134|        .fc_name = ((PyCodeObject *)co)->co_name,
  626|    134|        .fc_qualname = ((PyCodeObject *)co)->co_name,
  627|    134|        .fc_code = co,
  628|    134|        .fc_defaults = NULL,
  629|    134|        .fc_kwdefaults = NULL,
  630|    134|        .fc_closure = NULL
  631|    134|    };
  632|    134|    PyFunctionObject *func = _PyFunction_FromConstructor(&desc);
  633|    134|    _Py_DECREF_BUILTINS(builtins);
  ------------------
  |  |  408|    134|#  define _Py_DECREF_BUILTINS Py_DECREF
  |  |  ------------------
  |  |  |  |   80|    134|    do { \
  |  |  |  |   81|    134|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|    134|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|    134|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 134]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|    134|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|    134|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|    134|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 134]
  |  |  |  |  ------------------
  |  |  |  |   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|    134|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 134]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    134|    if (func == NULL) {
  ------------------
  |  Branch (634:9): [True: 0, False: 134]
  ------------------
  635|      0|        return NULL;
  636|      0|    }
  637|    134|    EVAL_CALL_STAT_INC(EVAL_CALL_LEGACY);
  ------------------
  |  |   79|    134|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  638|    134|    PyObject *res = _PyEval_Vector(tstate, func, locals, NULL, 0, NULL);
  639|       |    Py_DECREF(func);
  ------------------
  |  |   80|    134|    do { \
  |  |   81|    134|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    134|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|    134|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 134]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|    134|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|    134|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|    134|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 129, False: 5]
  |  |  ------------------
  |  |   88|    129|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|    129|    do { \
  |  |  |  |  110|    129|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|    129|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 129]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|    129|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 129]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|    129|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|    129|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    129|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    129|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|    129|            (*dealloc)(op); \
  |  |   91|    129|        } \
  |  |   92|    134|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 134]
  |  |  ------------------
  ------------------
  640|    134|    return res;
  641|    134|}
_Py_VectorCall_StackRefSteal:
  672|  19.8k|{
  673|  19.8k|    PyObject *res;
  674|  19.8k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  19.8k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  19.8k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  675|  19.8k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  19.8k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 19.8k]
  |  |  ------------------
  ------------------
  676|      0|        res = NULL;
  677|      0|        goto cleanup;
  678|      0|    }
  679|  19.8k|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  680|  19.8k|    PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  681|  19.8k|    int positional_args = total_args;
  682|  19.8k|    if (kwnames_o != NULL) {
  ------------------
  |  Branch (682:9): [True: 9.04k, False: 10.8k]
  ------------------
  683|  9.04k|        positional_args -= (int)PyTuple_GET_SIZE(kwnames_o);
  ------------------
  |  |   27|  9.04k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  684|  9.04k|    }
  685|  19.8k|    res = PyObject_Vectorcall(
  686|  19.8k|        callable_o, args_o,
  687|  19.8k|        positional_args | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  19.8k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  19.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  688|  19.8k|        kwnames_o);
  689|  19.8k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  19.8k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  690|  19.8k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (690:5): [True: 19.8k, False: 0]
  ------------------
  691|  19.8k|cleanup:
  692|  19.8k|    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|  67.8k|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (695:32): [True: 48.0k, False: 19.8k]
  ------------------
  696|  48.0k|        _PyStackRef tmp = arguments[i];
  697|  48.0k|        arguments[i] = PyStackRef_NULL;
  698|  48.0k|        PyStackRef_CLOSE(tmp);
  699|  48.0k|    }
  700|  19.8k|    PyStackRef_CLOSE(callable);
  701|  19.8k|    return res;
  702|  19.8k|}
_Py_VectorCallInstrumentation_StackRefSteal:
  714|  3.57k|{
  715|  3.57k|    PyObject* res;
  716|  3.57k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  3.57k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  3.57k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  717|  3.57k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  3.57k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 3.57k]
  |  |  ------------------
  ------------------
  718|      0|        res = NULL;
  719|      0|        goto cleanup;
  720|      0|    }
  721|  3.57k|    PyObject* callable_o = PyStackRef_AsPyObjectBorrow(callable);
  722|  3.57k|    PyObject* kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  723|  3.57k|    int positional_args = total_args;
  724|  3.57k|    if (kwnames_o != NULL) {
  ------------------
  |  Branch (724:9): [True: 120, False: 3.45k]
  ------------------
  725|    120|        positional_args -= (int)PyTuple_GET_SIZE(kwnames_o);
  ------------------
  |  |   27|    120|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  726|    120|    }
  727|  3.57k|    res = PyObject_Vectorcall(
  728|  3.57k|        callable_o, args_o,
  729|  3.57k|        positional_args | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  3.57k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  3.57k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  730|  3.57k|        kwnames_o);
  731|  3.57k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  3.57k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  732|  3.57k|    if (call_instrumentation) {
  ------------------
  |  Branch (732:9): [True: 0, False: 3.57k]
  ------------------
  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.57k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (749:5): [True: 3.57k, False: 0]
  ------------------
  750|  3.57k|cleanup:
  751|  3.57k|    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.8k|    for (int i = total_args - 1; i >= 0; i--) {
  ------------------
  |  Branch (754:34): [True: 7.25k, False: 3.57k]
  ------------------
  755|  7.25k|        _PyStackRef tmp = arguments[i];
  756|  7.25k|        arguments[i] = PyStackRef_NULL;
  757|  7.25k|        PyStackRef_CLOSE(tmp);
  758|  7.25k|    }
  759|  3.57k|    PyStackRef_CLOSE(callable);
  760|  3.57k|    return res;
  761|  3.57k|}
_Py_BuiltinCallFast_StackRef:
  768|   420k|{
  769|   420k|    PyObject *res;
  770|   420k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|   420k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|   420k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  771|   420k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|   420k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 420k]
  |  |  ------------------
  ------------------
  772|      0|        return NULL;
  773|      0|    }
  774|   420k|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  775|   420k|    PyCFunction cfunc = PyCFunction_GET_FUNCTION(callable_o);
  ------------------
  |  |   43|   420k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|   420k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   420k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|   420k|    res = _PyCFunctionFast_CAST(cfunc)(
  ------------------
  |  |   58|   420k|    _Py_FUNC_CAST(PyCFunctionFast, func)
  |  |  ------------------
  |  |  |  |   47|   420k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   420k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  777|   420k|        PyCFunction_GET_SELF(callable_o),
  ------------------
  |  |   52|   420k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|   420k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   420k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  778|   420k|        args_o,
  779|   420k|        total_args
  780|   420k|    );
  781|   420k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|   420k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  782|   420k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (782:5): [True: 420k, False: 0]
  ------------------
  783|   420k|    return res;
  784|   420k|}
_Py_BuiltinCallFastWithKeywords_StackRef:
  791|  18.8k|{
  792|  18.8k|    PyObject *res;
  793|  18.8k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  18.8k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  18.8k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  794|  18.8k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  18.8k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 18.8k]
  |  |  ------------------
  ------------------
  795|      0|        return NULL;
  796|      0|    }
  797|  18.8k|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  798|  18.8k|    PyCFunctionFastWithKeywords cfunc =
  799|  18.8k|        _PyCFunctionFastWithKeywords_CAST(PyCFunction_GET_FUNCTION(callable_o));
  ------------------
  |  |   62|  18.8k|    _Py_FUNC_CAST(PyCFunctionFastWithKeywords, func)
  |  |  ------------------
  |  |  |  |   47|  18.8k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  800|  18.8k|    res = cfunc(PyCFunction_GET_SELF(callable_o), args_o, total_args, NULL);
  ------------------
  |  |   52|  18.8k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  18.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  801|  18.8k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  18.8k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  802|  18.8k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (802:5): [True: 18.8k, False: 0]
  ------------------
  803|  18.8k|    return res;
  804|  18.8k|}
_PyCallMethodDescriptorFast_StackRef:
  813|  1.00M|{
  814|  1.00M|    PyObject *res;
  815|  1.00M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  1.00M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  1.00M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  816|  1.00M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  1.00M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 1.00M]
  |  |  ------------------
  ------------------
  817|      0|        return NULL;
  818|      0|    }
  819|  1.00M|    assert(self == PyStackRef_AsPyObjectBorrow(arguments[0]));
  ------------------
  |  Branch (819:5): [True: 1.00M, False: 0]
  ------------------
  820|       |
  821|  1.00M|    res = cfunc(self, (args_o + 1), total_args - 1);
  822|  1.00M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  1.00M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  823|  1.00M|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (823:5): [True: 1.00M, False: 0]
  ------------------
  824|  1.00M|    return res;
  825|  1.00M|}
_PyCallMethodDescriptorFastWithKeywords_StackRef:
  834|  77.6k|{
  835|  77.6k|    PyObject *res;
  836|  77.6k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  77.6k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  77.6k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  837|  77.6k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  77.6k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 77.6k]
  |  |  ------------------
  ------------------
  838|      0|        return NULL;
  839|      0|    }
  840|  77.6k|    assert(self == PyStackRef_AsPyObjectBorrow(arguments[0]));
  ------------------
  |  Branch (840:5): [True: 77.6k, False: 0]
  ------------------
  841|       |
  842|  77.6k|    res = cfunc(self, (args_o + 1), total_args-1, NULL);
  843|  77.6k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  77.6k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  844|  77.6k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (844:5): [True: 77.6k, False: 0]
  ------------------
  845|  77.6k|    return res;
  846|  77.6k|}
_Py_CallBuiltinClass_StackRef:
  853|   433k|{
  854|   433k|    PyObject *res;
  855|   433k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|   433k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|   433k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  856|   433k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|   433k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 433k]
  |  |  ------------------
  ------------------
  857|      0|        return NULL;
  858|      0|    }
  859|   433k|    PyTypeObject *tp = (PyTypeObject *)PyStackRef_AsPyObjectBorrow(callable);
  860|   433k|    res = tp->tp_vectorcall((PyObject *)tp, args_o, total_args | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
  ------------------
  |  |  287|   433k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   433k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  861|   433k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|   433k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  862|   433k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (862:5): [True: 433k, False: 0]
  ------------------
  863|   433k|    return res;
  864|   433k|}
_Py_BuildString_StackRefSteal:
  870|  42.3k|{
  871|  42.3k|    PyObject *res;
  872|  42.3k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  42.3k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  42.3k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  873|  42.3k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  42.3k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 42.3k]
  |  |  ------------------
  ------------------
  874|      0|        res = NULL;
  875|      0|        goto cleanup;
  876|      0|    }
  877|  42.3k|    res = _PyUnicode_JoinArray(&_Py_STR(empty), args_o, total_args);
  ------------------
  |  |  953|  42.3k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  42.3k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  42.3k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  878|  42.3k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  42.3k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  879|  42.3k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (879:5): [True: 42.3k, False: 0]
  ------------------
  880|  42.3k|cleanup:
  881|       |    // arguments is a pointer into the GC visible stack,
  882|       |    // so we must NULL out values as we clear them.
  883|   376k|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (883:32): [True: 334k, False: 42.3k]
  ------------------
  884|   334k|        _PyStackRef tmp = arguments[i];
  885|   334k|        arguments[i] = PyStackRef_NULL;
  886|   334k|        PyStackRef_CLOSE(tmp);
  887|   334k|    }
  888|  42.3k|    return res;
  889|  42.3k|}
_Py_BuildMap_StackRefSteal:
  895|  1.94k|{
  896|  1.94k|    PyObject *res;
  897|  1.94k|    STACKREFS_TO_PYOBJECTS(arguments, half_args*2, args_o);
  ------------------
  |  |  522|  1.94k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  1.94k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  898|  1.94k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  1.94k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 1.94k]
  |  |  ------------------
  ------------------
  899|      0|        res = NULL;
  900|      0|        goto cleanup;
  901|      0|    }
  902|  1.94k|    res = _PyDict_FromItems(
  903|  1.94k|        args_o, 2,
  904|  1.94k|        args_o+1, 2,
  905|  1.94k|        half_args
  906|  1.94k|    );
  907|  1.94k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  1.94k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  908|  1.94k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (908:5): [True: 1.94k, False: 0]
  ------------------
  909|  1.94k|cleanup:
  910|       |    // arguments is a pointer into the GC visible stack,
  911|       |    // so we must NULL out values as we clear them.
  912|  3.73k|    for (int i = half_args*2-1; i >= 0; i--) {
  ------------------
  |  Branch (912:33): [True: 1.79k, False: 1.94k]
  ------------------
  913|  1.79k|        _PyStackRef tmp = arguments[i];
  914|  1.79k|        arguments[i] = PyStackRef_NULL;
  915|  1.79k|        PyStackRef_CLOSE(tmp);
  916|  1.79k|    }
  917|  1.94k|    return res;
  918|  1.94k|}
_Py_LoadAttr_StackRefSteal:
  924|  43.7k|{
  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|  43.7k|    _PyCStackRef method, self;
  929|  43.7k|    _PyThreadState_PushCStackRef(tstate, &method);
  930|  43.7k|    _PyThreadState_PushCStackRef(tstate, &self);
  931|  43.7k|    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|  43.7k|    _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  935|  43.7k|    *self_or_null = _PyThreadState_PopCStackRefSteal(tstate, &self);
  936|  43.7k|    return _PyThreadState_PopCStackRefSteal(tstate, &method);
  937|  43.7k|}
_PyObjectArray_FromStackRefArray:
 1012|  2.02M|{
 1013|  2.02M|    PyObject **result;
 1014|  2.02M|    if (nargs > MAX_STACKREF_SCRATCH) {
  ------------------
  |  |  518|  2.02M|#define MAX_STACKREF_SCRATCH 10
  ------------------
  |  Branch (1014:9): [True: 36, False: 2.02M]
  ------------------
 1015|       |        // +1 in case PY_VECTORCALL_ARGUMENTS_OFFSET is set.
 1016|     36|        result = PyMem_Malloc((nargs + 1) * sizeof(PyObject *));
 1017|     36|        if (result == NULL) {
  ------------------
  |  Branch (1017:13): [True: 0, False: 36]
  ------------------
 1018|      0|            PyErr_NoMemory();
 1019|      0|            return NULL;
 1020|      0|        }
 1021|     36|    }
 1022|  2.02M|    else {
 1023|  2.02M|        result = scratch;
 1024|  2.02M|    }
 1025|  2.02M|    result++;
 1026|  2.02M|    result[0] = NULL; /* Keep GCC happy */
 1027|  5.75M|    for (int i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1027:21): [True: 3.73M, False: 2.02M]
  ------------------
 1028|  3.73M|        result[i] = PyStackRef_AsPyObjectBorrow(input[i]);
 1029|  3.73M|    }
 1030|  2.02M|    return result;
 1031|  2.02M|}
_PyObjectArray_Free:
 1035|  2.02M|{
 1036|  2.02M|    if (array != scratch) {
  ------------------
  |  Branch (1036:9): [True: 36, False: 2.02M]
  ------------------
 1037|     36|        PyMem_Free(array);
 1038|     36|    }
 1039|  2.02M|}
_PyEval_GetIter:
 1077|    709|{
 1078|    709|    PyTypeObject *tp = PyStackRef_TYPE(iterable);
 1079|    709|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (1079:9): [True: 136, False: 573]
  ------------------
 1080|       |        /* Leave iterable on stack and pushed tagged 0 */
 1081|    136|        *index_or_null = PyStackRef_TagInt(0);
 1082|    136|        return iterable;
 1083|    136|    }
 1084|    573|    *index_or_null = PyStackRef_NULL;
 1085|    573|    if (tp->tp_iter == PyObject_SelfIter) {
  ------------------
  |  Branch (1085:9): [True: 14, False: 559]
  ------------------
 1086|     14|        return iterable;
 1087|     14|    }
 1088|    559|    if (yield_from && tp == &PyCoro_Type) {
  ------------------
  |  Branch (1088:9): [True: 0, False: 559]
  |  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|    559|    PyObject *iter_o = PyObject_GetIter(PyStackRef_AsPyObjectBorrow(iterable));
 1103|    559|    PyStackRef_CLOSE(iterable);
 1104|    559|    if (iter_o == NULL) {
  ------------------
  |  Branch (1104:9): [True: 0, False: 559]
  ------------------
 1105|      0|        return PyStackRef_ERROR;
 1106|      0|    }
 1107|    559|    return PyStackRef_FromPyObjectSteal(iter_o);
 1108|    559|}
_PyEval_StoreName:
 1111|  8.97k|{
 1112|  8.97k|    int deletion = PyStackRef_IsNull(v);
  ------------------
  |  |  482|  8.97k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  8.97k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  8.97k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1113|       |
 1114|  8.97k|    if (ns == NULL) {
  ------------------
  |  Branch (1114:9): [True: 0, False: 8.97k]
  ------------------
 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.97k|    if (deletion) {
  ------------------
  |  Branch (1122:9): [True: 42, False: 8.93k]
  ------------------
 1123|     42|        int error = PyObject_DelItem(ns, name);
 1124|     42|        if (error) {
  ------------------
  |  Branch (1124:13): [True: 0, False: 42]
  ------------------
 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|     42|        return error;
 1130|     42|    }
 1131|       |
 1132|  8.93k|    PyObject *v_o = PyStackRef_AsPyObjectBorrow(v);
 1133|  8.93k|    if (PyDict_CheckExact(ns)) {
  ------------------
  |  |   19|  8.93k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |   65|  8.93k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 8.85k, False: 79]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1134|  8.85k|        return PyDict_SetItem(ns, name, v_o);
 1135|  8.85k|    }
 1136|       |
 1137|     79|    return PyObject_SetItem(ns, name, v_o);
 1138|  8.93k|}
_PyEval_EvalFrameDefault:
 1211|   192k|{
 1212|   192k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|   192k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 1213|   192k|    check_invalid_reentrancy();
 1214|   192k|    CALL_STAT_INC(pyeval_calls);
  ------------------
  |  |   76|   192k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 1215|       |
 1216|   192k|#if USE_COMPUTED_GOTOS && !_Py_TAIL_CALL_INTERP
 1217|       |/* Import the static jump table */
 1218|   192k|#include "opcode_targets.h"
  ------------------
  |  |    1|   192k|#if !_Py_TAIL_CALL_INTERP
  |  |    2|   192k|static void *opcode_targets_table[256] = {
  |  |    3|   192k|    &&TARGET_CACHE,
  |  |    4|   192k|    &&TARGET_BINARY_SLICE,
  |  |    5|   192k|    &&TARGET_BUILD_TEMPLATE,
  |  |    6|   192k|    &&TARGET_BINARY_OP_INPLACE_ADD_UNICODE,
  |  |    7|   192k|    &&TARGET_CALL_FUNCTION_EX,
  |  |    8|   192k|    &&TARGET_CHECK_EG_MATCH,
  |  |    9|   192k|    &&TARGET_CHECK_EXC_MATCH,
  |  |   10|   192k|    &&TARGET_CLEANUP_THROW,
  |  |   11|   192k|    &&TARGET_DELETE_SUBSCR,
  |  |   12|   192k|    &&TARGET_END_FOR,
  |  |   13|   192k|    &&TARGET_END_SEND,
  |  |   14|   192k|    &&TARGET_EXIT_INIT_CHECK,
  |  |   15|   192k|    &&TARGET_FORMAT_SIMPLE,
  |  |   16|   192k|    &&TARGET_FORMAT_WITH_SPEC,
  |  |   17|   192k|    &&TARGET_GET_AITER,
  |  |   18|   192k|    &&TARGET_GET_ANEXT,
  |  |   19|   192k|    &&TARGET_GET_LEN,
  |  |   20|   192k|    &&TARGET_RESERVED,
  |  |   21|   192k|    &&TARGET_INTERPRETER_EXIT,
  |  |   22|   192k|    &&TARGET_LOAD_BUILD_CLASS,
  |  |   23|   192k|    &&TARGET_LOAD_LOCALS,
  |  |   24|   192k|    &&TARGET_MAKE_FUNCTION,
  |  |   25|   192k|    &&TARGET_MATCH_KEYS,
  |  |   26|   192k|    &&TARGET_MATCH_MAPPING,
  |  |   27|   192k|    &&TARGET_MATCH_SEQUENCE,
  |  |   28|   192k|    &&TARGET_NOP,
  |  |   29|   192k|    &&TARGET_NOT_TAKEN,
  |  |   30|   192k|    &&TARGET_POP_EXCEPT,
  |  |   31|   192k|    &&TARGET_POP_ITER,
  |  |   32|   192k|    &&TARGET_POP_TOP,
  |  |   33|   192k|    &&TARGET_PUSH_EXC_INFO,
  |  |   34|   192k|    &&TARGET_PUSH_NULL,
  |  |   35|   192k|    &&TARGET_RETURN_GENERATOR,
  |  |   36|   192k|    &&TARGET_RETURN_VALUE,
  |  |   37|   192k|    &&TARGET_SETUP_ANNOTATIONS,
  |  |   38|   192k|    &&TARGET_STORE_SLICE,
  |  |   39|   192k|    &&TARGET_STORE_SUBSCR,
  |  |   40|   192k|    &&TARGET_TO_BOOL,
  |  |   41|   192k|    &&TARGET_UNARY_INVERT,
  |  |   42|   192k|    &&TARGET_UNARY_NEGATIVE,
  |  |   43|   192k|    &&TARGET_UNARY_NOT,
  |  |   44|   192k|    &&TARGET_WITH_EXCEPT_START,
  |  |   45|   192k|    &&TARGET_BINARY_OP,
  |  |   46|   192k|    &&TARGET_BUILD_INTERPOLATION,
  |  |   47|   192k|    &&TARGET_BUILD_LIST,
  |  |   48|   192k|    &&TARGET_BUILD_MAP,
  |  |   49|   192k|    &&TARGET_BUILD_SET,
  |  |   50|   192k|    &&TARGET_BUILD_SLICE,
  |  |   51|   192k|    &&TARGET_BUILD_STRING,
  |  |   52|   192k|    &&TARGET_BUILD_TUPLE,
  |  |   53|   192k|    &&TARGET_CALL,
  |  |   54|   192k|    &&TARGET_CALL_INTRINSIC_1,
  |  |   55|   192k|    &&TARGET_CALL_INTRINSIC_2,
  |  |   56|   192k|    &&TARGET_CALL_KW,
  |  |   57|   192k|    &&TARGET_COMPARE_OP,
  |  |   58|   192k|    &&TARGET_CONTAINS_OP,
  |  |   59|   192k|    &&TARGET_CONVERT_VALUE,
  |  |   60|   192k|    &&TARGET_COPY,
  |  |   61|   192k|    &&TARGET_COPY_FREE_VARS,
  |  |   62|   192k|    &&TARGET_DELETE_DEREF,
  |  |   63|   192k|    &&TARGET_DELETE_FAST,
  |  |   64|   192k|    &&TARGET_DICT_MERGE,
  |  |   65|   192k|    &&TARGET_DICT_UPDATE,
  |  |   66|   192k|    &&TARGET_END_ASYNC_FOR,
  |  |   67|   192k|    &&TARGET_EXTENDED_ARG,
  |  |   68|   192k|    &&TARGET_FOR_ITER,
  |  |   69|   192k|    &&TARGET_GET_AWAITABLE,
  |  |   70|   192k|    &&TARGET_GET_ITER,
  |  |   71|   192k|    &&TARGET_IMPORT_FROM,
  |  |   72|   192k|    &&TARGET_IMPORT_NAME,
  |  |   73|   192k|    &&TARGET_IS_OP,
  |  |   74|   192k|    &&TARGET_JUMP_BACKWARD,
  |  |   75|   192k|    &&TARGET_JUMP_BACKWARD_NO_INTERRUPT,
  |  |   76|   192k|    &&TARGET_JUMP_FORWARD,
  |  |   77|   192k|    &&TARGET_LIST_APPEND,
  |  |   78|   192k|    &&TARGET_LIST_EXTEND,
  |  |   79|   192k|    &&TARGET_LOAD_ATTR,
  |  |   80|   192k|    &&TARGET_LOAD_COMMON_CONSTANT,
  |  |   81|   192k|    &&TARGET_LOAD_CONST,
  |  |   82|   192k|    &&TARGET_LOAD_DEREF,
  |  |   83|   192k|    &&TARGET_LOAD_FAST,
  |  |   84|   192k|    &&TARGET_LOAD_FAST_AND_CLEAR,
  |  |   85|   192k|    &&TARGET_LOAD_FAST_BORROW,
  |  |   86|   192k|    &&TARGET_LOAD_FAST_BORROW_LOAD_FAST_BORROW,
  |  |   87|   192k|    &&TARGET_LOAD_FAST_CHECK,
  |  |   88|   192k|    &&TARGET_LOAD_FAST_LOAD_FAST,
  |  |   89|   192k|    &&TARGET_LOAD_FROM_DICT_OR_DEREF,
  |  |   90|   192k|    &&TARGET_LOAD_FROM_DICT_OR_GLOBALS,
  |  |   91|   192k|    &&TARGET_LOAD_GLOBAL,
  |  |   92|   192k|    &&TARGET_LOAD_NAME,
  |  |   93|   192k|    &&TARGET_LOAD_SMALL_INT,
  |  |   94|   192k|    &&TARGET_LOAD_SPECIAL,
  |  |   95|   192k|    &&TARGET_LOAD_SUPER_ATTR,
  |  |   96|   192k|    &&TARGET_MAKE_CELL,
  |  |   97|   192k|    &&TARGET_MAP_ADD,
  |  |   98|   192k|    &&TARGET_MATCH_CLASS,
  |  |   99|   192k|    &&TARGET_POP_JUMP_IF_FALSE,
  |  |  100|   192k|    &&TARGET_POP_JUMP_IF_NONE,
  |  |  101|   192k|    &&TARGET_POP_JUMP_IF_NOT_NONE,
  |  |  102|   192k|    &&TARGET_POP_JUMP_IF_TRUE,
  |  |  103|   192k|    &&TARGET_RAISE_VARARGS,
  |  |  104|   192k|    &&TARGET_RERAISE,
  |  |  105|   192k|    &&TARGET_SEND,
  |  |  106|   192k|    &&TARGET_SET_ADD,
  |  |  107|   192k|    &&TARGET_SET_FUNCTION_ATTRIBUTE,
  |  |  108|   192k|    &&TARGET_SET_UPDATE,
  |  |  109|   192k|    &&TARGET_STORE_ATTR,
  |  |  110|   192k|    &&TARGET_STORE_DEREF,
  |  |  111|   192k|    &&TARGET_STORE_FAST,
  |  |  112|   192k|    &&TARGET_STORE_FAST_LOAD_FAST,
  |  |  113|   192k|    &&TARGET_STORE_FAST_STORE_FAST,
  |  |  114|   192k|    &&TARGET_STORE_GLOBAL,
  |  |  115|   192k|    &&TARGET_STORE_NAME,
  |  |  116|   192k|    &&TARGET_SWAP,
  |  |  117|   192k|    &&TARGET_UNPACK_EX,
  |  |  118|   192k|    &&TARGET_UNPACK_SEQUENCE,
  |  |  119|   192k|    &&TARGET_YIELD_VALUE,
  |  |  120|   192k|    &&_unknown_opcode,
  |  |  121|   192k|    &&_unknown_opcode,
  |  |  122|   192k|    &&_unknown_opcode,
  |  |  123|   192k|    &&_unknown_opcode,
  |  |  124|   192k|    &&_unknown_opcode,
  |  |  125|   192k|    &&_unknown_opcode,
  |  |  126|   192k|    &&_unknown_opcode,
  |  |  127|   192k|    &&_unknown_opcode,
  |  |  128|   192k|    &&_unknown_opcode,
  |  |  129|   192k|    &&_unknown_opcode,
  |  |  130|   192k|    &&_unknown_opcode,
  |  |  131|   192k|    &&TARGET_RESUME,
  |  |  132|   192k|    &&TARGET_BINARY_OP_ADD_FLOAT,
  |  |  133|   192k|    &&TARGET_BINARY_OP_ADD_INT,
  |  |  134|   192k|    &&TARGET_BINARY_OP_ADD_UNICODE,
  |  |  135|   192k|    &&TARGET_BINARY_OP_EXTEND,
  |  |  136|   192k|    &&TARGET_BINARY_OP_MULTIPLY_FLOAT,
  |  |  137|   192k|    &&TARGET_BINARY_OP_MULTIPLY_INT,
  |  |  138|   192k|    &&TARGET_BINARY_OP_SUBSCR_DICT,
  |  |  139|   192k|    &&TARGET_BINARY_OP_SUBSCR_GETITEM,
  |  |  140|   192k|    &&TARGET_BINARY_OP_SUBSCR_LIST_INT,
  |  |  141|   192k|    &&TARGET_BINARY_OP_SUBSCR_LIST_SLICE,
  |  |  142|   192k|    &&TARGET_BINARY_OP_SUBSCR_STR_INT,
  |  |  143|   192k|    &&TARGET_BINARY_OP_SUBSCR_TUPLE_INT,
  |  |  144|   192k|    &&TARGET_BINARY_OP_SUBSCR_USTR_INT,
  |  |  145|   192k|    &&TARGET_BINARY_OP_SUBTRACT_FLOAT,
  |  |  146|   192k|    &&TARGET_BINARY_OP_SUBTRACT_INT,
  |  |  147|   192k|    &&TARGET_CALL_ALLOC_AND_ENTER_INIT,
  |  |  148|   192k|    &&TARGET_CALL_BOUND_METHOD_EXACT_ARGS,
  |  |  149|   192k|    &&TARGET_CALL_BOUND_METHOD_GENERAL,
  |  |  150|   192k|    &&TARGET_CALL_BUILTIN_CLASS,
  |  |  151|   192k|    &&TARGET_CALL_BUILTIN_FAST,
  |  |  152|   192k|    &&TARGET_CALL_BUILTIN_FAST_WITH_KEYWORDS,
  |  |  153|   192k|    &&TARGET_CALL_BUILTIN_O,
  |  |  154|   192k|    &&TARGET_CALL_EX_NON_PY_GENERAL,
  |  |  155|   192k|    &&TARGET_CALL_EX_PY,
  |  |  156|   192k|    &&TARGET_CALL_ISINSTANCE,
  |  |  157|   192k|    &&TARGET_CALL_KW_BOUND_METHOD,
  |  |  158|   192k|    &&TARGET_CALL_KW_NON_PY,
  |  |  159|   192k|    &&TARGET_CALL_KW_PY,
  |  |  160|   192k|    &&TARGET_CALL_LEN,
  |  |  161|   192k|    &&TARGET_CALL_LIST_APPEND,
  |  |  162|   192k|    &&TARGET_CALL_METHOD_DESCRIPTOR_FAST,
  |  |  163|   192k|    &&TARGET_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS,
  |  |  164|   192k|    &&TARGET_CALL_METHOD_DESCRIPTOR_NOARGS,
  |  |  165|   192k|    &&TARGET_CALL_METHOD_DESCRIPTOR_O,
  |  |  166|   192k|    &&TARGET_CALL_NON_PY_GENERAL,
  |  |  167|   192k|    &&TARGET_CALL_PY_EXACT_ARGS,
  |  |  168|   192k|    &&TARGET_CALL_PY_GENERAL,
  |  |  169|   192k|    &&TARGET_CALL_STR_1,
  |  |  170|   192k|    &&TARGET_CALL_TUPLE_1,
  |  |  171|   192k|    &&TARGET_CALL_TYPE_1,
  |  |  172|   192k|    &&TARGET_COMPARE_OP_FLOAT,
  |  |  173|   192k|    &&TARGET_COMPARE_OP_INT,
  |  |  174|   192k|    &&TARGET_COMPARE_OP_STR,
  |  |  175|   192k|    &&TARGET_CONTAINS_OP_DICT,
  |  |  176|   192k|    &&TARGET_CONTAINS_OP_SET,
  |  |  177|   192k|    &&TARGET_FOR_ITER_GEN,
  |  |  178|   192k|    &&TARGET_FOR_ITER_LIST,
  |  |  179|   192k|    &&TARGET_FOR_ITER_RANGE,
  |  |  180|   192k|    &&TARGET_FOR_ITER_TUPLE,
  |  |  181|   192k|    &&TARGET_FOR_ITER_VIRTUAL,
  |  |  182|   192k|    &&TARGET_GET_ITER_SELF,
  |  |  183|   192k|    &&TARGET_GET_ITER_VIRTUAL,
  |  |  184|   192k|    &&TARGET_JUMP_BACKWARD_JIT,
  |  |  185|   192k|    &&TARGET_JUMP_BACKWARD_NO_JIT,
  |  |  186|   192k|    &&TARGET_LOAD_ATTR_CLASS,
  |  |  187|   192k|    &&TARGET_LOAD_ATTR_CLASS_WITH_METACLASS_CHECK,
  |  |  188|   192k|    &&TARGET_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN,
  |  |  189|   192k|    &&TARGET_LOAD_ATTR_INSTANCE_VALUE,
  |  |  190|   192k|    &&TARGET_LOAD_ATTR_METHOD_LAZY_DICT,
  |  |  191|   192k|    &&TARGET_LOAD_ATTR_METHOD_NO_DICT,
  |  |  192|   192k|    &&TARGET_LOAD_ATTR_METHOD_WITH_VALUES,
  |  |  193|   192k|    &&TARGET_LOAD_ATTR_MODULE,
  |  |  194|   192k|    &&TARGET_LOAD_ATTR_NONDESCRIPTOR_NO_DICT,
  |  |  195|   192k|    &&TARGET_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES,
  |  |  196|   192k|    &&TARGET_LOAD_ATTR_PROPERTY,
  |  |  197|   192k|    &&TARGET_LOAD_ATTR_SLOT,
  |  |  198|   192k|    &&TARGET_LOAD_ATTR_WITH_HINT,
  |  |  199|   192k|    &&TARGET_LOAD_GLOBAL_BUILTIN,
  |  |  200|   192k|    &&TARGET_LOAD_GLOBAL_MODULE,
  |  |  201|   192k|    &&TARGET_LOAD_SUPER_ATTR_ATTR,
  |  |  202|   192k|    &&TARGET_LOAD_SUPER_ATTR_METHOD,
  |  |  203|   192k|    &&TARGET_RESUME_CHECK,
  |  |  204|   192k|    &&TARGET_RESUME_CHECK_JIT,
  |  |  205|   192k|    &&TARGET_SEND_ASYNC_GEN,
  |  |  206|   192k|    &&TARGET_SEND_GEN,
  |  |  207|   192k|    &&TARGET_SEND_VIRTUAL,
  |  |  208|   192k|    &&TARGET_STORE_ATTR_INSTANCE_VALUE,
  |  |  209|   192k|    &&TARGET_STORE_ATTR_SLOT,
  |  |  210|   192k|    &&TARGET_STORE_ATTR_WITH_HINT,
  |  |  211|   192k|    &&TARGET_STORE_SUBSCR_DICT,
  |  |  212|   192k|    &&TARGET_STORE_SUBSCR_LIST_INT,
  |  |  213|   192k|    &&TARGET_TO_BOOL_ALWAYS_TRUE,
  |  |  214|   192k|    &&TARGET_TO_BOOL_BOOL,
  |  |  215|   192k|    &&TARGET_TO_BOOL_INT,
  |  |  216|   192k|    &&TARGET_TO_BOOL_LIST,
  |  |  217|   192k|    &&TARGET_TO_BOOL_NONE,
  |  |  218|   192k|    &&TARGET_TO_BOOL_STR,
  |  |  219|   192k|    &&TARGET_UNPACK_SEQUENCE_LIST,
  |  |  220|   192k|    &&TARGET_UNPACK_SEQUENCE_TUPLE,
  |  |  221|   192k|    &&TARGET_UNPACK_SEQUENCE_TWO_TUPLE,
  |  |  222|   192k|    &&_unknown_opcode,
  |  |  223|   192k|    &&_unknown_opcode,
  |  |  224|   192k|    &&_unknown_opcode,
  |  |  225|   192k|    &&_unknown_opcode,
  |  |  226|   192k|    &&_unknown_opcode,
  |  |  227|   192k|    &&_unknown_opcode,
  |  |  228|   192k|    &&_unknown_opcode,
  |  |  229|   192k|    &&_unknown_opcode,
  |  |  230|   192k|    &&_unknown_opcode,
  |  |  231|   192k|    &&_unknown_opcode,
  |  |  232|   192k|    &&_unknown_opcode,
  |  |  233|   192k|    &&_unknown_opcode,
  |  |  234|   192k|    &&_unknown_opcode,
  |  |  235|   192k|    &&_unknown_opcode,
  |  |  236|   192k|    &&TARGET_INSTRUMENTED_END_FOR,
  |  |  237|   192k|    &&TARGET_INSTRUMENTED_POP_ITER,
  |  |  238|   192k|    &&TARGET_INSTRUMENTED_END_SEND,
  |  |  239|   192k|    &&TARGET_INSTRUMENTED_FOR_ITER,
  |  |  240|   192k|    &&TARGET_INSTRUMENTED_INSTRUCTION,
  |  |  241|   192k|    &&TARGET_INSTRUMENTED_JUMP_FORWARD,
  |  |  242|   192k|    &&TARGET_INSTRUMENTED_NOT_TAKEN,
  |  |  243|   192k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_TRUE,
  |  |  244|   192k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_FALSE,
  |  |  245|   192k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_NONE,
  |  |  246|   192k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_NOT_NONE,
  |  |  247|   192k|    &&TARGET_INSTRUMENTED_RESUME,
  |  |  248|   192k|    &&TARGET_INSTRUMENTED_RETURN_VALUE,
  |  |  249|   192k|    &&TARGET_INSTRUMENTED_YIELD_VALUE,
  |  |  250|   192k|    &&TARGET_INSTRUMENTED_END_ASYNC_FOR,
  |  |  251|   192k|    &&TARGET_INSTRUMENTED_LOAD_SUPER_ATTR,
  |  |  252|   192k|    &&TARGET_INSTRUMENTED_CALL,
  |  |  253|   192k|    &&TARGET_INSTRUMENTED_CALL_KW,
  |  |  254|   192k|    &&TARGET_INSTRUMENTED_CALL_FUNCTION_EX,
  |  |  255|   192k|    &&TARGET_INSTRUMENTED_JUMP_BACKWARD,
  |  |  256|   192k|    &&TARGET_INSTRUMENTED_LINE,
  |  |  257|   192k|    &&TARGET_ENTER_EXECUTOR,
  |  |  258|   192k|    &&TARGET_TRACE_RECORD,
  |  |  259|   192k|};
  |  |  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|   192k|    void **opcode_targets = opcode_targets_table;
 1220|   192k|#endif
 1221|       |
 1222|       |#ifdef Py_STATS
 1223|       |    int lastopcode = 0;
 1224|       |#endif
 1225|   192k|#if !_Py_TAIL_CALL_INTERP
 1226|   192k|    uint8_t opcode;    /* Current opcode */
 1227|   192k|    int oparg;         /* Current opcode argument, if any */
 1228|   192k|    assert(tstate->current_frame == NULL || tstate->current_frame->stackpointer != NULL);
  ------------------
  |  Branch (1228:5): [True: 0, False: 192k]
  |  Branch (1228:5): [True: 192k, False: 0]
  ------------------
 1229|       |#if !USE_COMPUTED_GOTOS
 1230|       |    uint8_t tracing_mode = 0;
 1231|       |    uint8_t dispatch_code;
 1232|       |#endif
 1233|   192k|#endif
 1234|   192k|    _PyEntryFrame entry;
 1235|       |
 1236|   192k|    if (_Py_EnterRecursiveCallTstate(tstate, "")) {
  ------------------
  |  Branch (1236:9): [True: 0, False: 192k]
  ------------------
 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|   192k|    _Py_CODEUNIT *next_instr;
 1245|   192k|    _PyStackRef *stack_pointer;
 1246|   192k|    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|   192k|    entry.frame.f_executable = PyStackRef_None;
  ------------------
  |  |  485|   192k|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|   192k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1258|   192k|    entry.frame.instr_ptr = (_Py_CODEUNIT *)_Py_INTERPRETER_TRAMPOLINE_INSTRUCTIONS + 1;
 1259|   192k|    entry.frame.stackpointer = entry.stack;
 1260|   192k|    entry.frame.owner = FRAME_OWNED_BY_INTERPRETER;
 1261|   192k|    entry.frame.visited = 0;
 1262|   192k|    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|   192k|    entry.frame.previous = tstate->current_frame;
 1269|   192k|    frame->previous = &entry.frame;
 1270|   192k|    tstate->current_frame = frame;
 1271|   192k|    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|   192k|    if (throwflag) {
  ------------------
  |  Branch (1281:9): [True: 0, False: 192k]
  ------------------
 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|   192k|    goto start_frame;
 1323|   192k|#   include "generated_cases.c.h"
  ------------------
  |  |    1|       |// This file is generated by Tools/cases_generator/tier1_generator.py
  |  |    2|       |// from:
  |  |    3|       |//   Python/bytecodes.c
  |  |    4|       |// Do not edit!
  |  |    5|       |
  |  |    6|       |#ifdef TIER_TWO
  |  |    7|       |    #error "This file is for Tier 1 only"
  |  |    8|       |#endif
  |  |    9|      0|#define TIER_ONE 1
  |  |   10|       |
  |  |   11|      0|#if !_Py_TAIL_CALL_INTERP
  |  |   12|       |#if !USE_COMPUTED_GOTOS
  |  |   13|       |    dispatch_opcode:
  |  |   14|       |        switch (dispatch_code)
  |  |   15|       |#endif
  |  |   16|      0|        {
  |  |   17|      0|#endif /* _Py_TAIL_CALL_INTERP */
  |  |   18|       |            /* BEGIN INSTRUCTIONS */
  |  |   19|       |
  |  |   20|       |
  |  |   21|  2.33M|        TARGET(BINARY_OP) {
  |  |  ------------------
  |  |  |  |  132|  2.33M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |   22|       |            #if _Py_TAIL_CALL_INTERP
  |  |   23|       |            int opcode = BINARY_OP;
  |  |   24|       |            (void)(opcode);
  |  |   25|       |            #endif
  |  |   26|  2.33M|            frame->instr_ptr = next_instr;
  |  |   27|  2.33M|            next_instr += 6;
  |  |   28|  2.33M|            INSTRUCTION_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |   71|  2.33M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |   29|  5.00M|            PREDICTED_BINARY_OP:;
  |  |   30|  5.00M|            _Py_CODEUNIT* const this_instr = next_instr - 6;
  |  |   31|  5.00M|            (void)this_instr;
  |  |   32|  5.00M|            _PyStackRef lhs;
  |  |   33|  5.00M|            _PyStackRef rhs;
  |  |   34|  5.00M|            _PyStackRef res;
  |  |   35|  5.00M|            _PyStackRef l;
  |  |   36|  5.00M|            _PyStackRef r;
  |  |   37|  5.00M|            _PyStackRef value;
  |  |   38|       |            // _SPECIALIZE_BINARY_OP
  |  |   39|  5.00M|            {
  |  |   40|  5.00M|                rhs = stack_pointer[-1];
  |  |   41|  5.00M|                lhs = stack_pointer[-2];
  |  |   42|  5.00M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |   43|  5.00M|                (void)counter;
  |  |   44|  5.00M|                #if ENABLE_SPECIALIZATION
  |  |   45|  5.00M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  5.00M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 51.6k, False: 4.95M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|  51.6k|                    next_instr = this_instr;
  |  |   47|  51.6k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   48|  51.6k|                    _PyFrame_StackPointerValidate(frame);
  |  |   49|  51.6k|                    _Py_Specialize_BinaryOp(lhs, rhs, next_instr, oparg, LOCALS_ARRAY);
  |  |  ------------------
  |  |  |  |  284|  51.6k|#define LOCALS_ARRAY    (frame->localsplus)
  |  |  ------------------
  |  |   50|  51.6k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |   51|  51.6k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  51.6k|    { \
  |  |  |  |  217|  51.6k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  51.6k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  51.6k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  51.6k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  51.6k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  51.6k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  51.6k|    }
  |  |  ------------------
  |  |   52|  51.6k|                }
  |  |   53|  5.00M|                OPCODE_DEFERRED_INC(BINARY_OP);
  |  |  ------------------
  |  |  |  |   90|  5.00M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |   54|  5.00M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  5.00M|    do { \
  |  |  |  |  378|  5.00M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  5.00M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 5.00M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   55|  5.00M|                #endif  /* ENABLE_SPECIALIZATION */
  |  |   56|  5.00M|                assert(NB_ADD <= oparg);
  |  |  ------------------
  |  |  |  Branch (56:17): [True: 4.95M, False: 51.6k]
  |  |  ------------------
  |  |   57|  5.00M|                assert(oparg <= NB_OPARG_LAST);
  |  |  ------------------
  |  |  |  Branch (57:17): [True: 4.95M, False: 0]
  |  |  ------------------
  |  |   58|  4.95M|            }
  |  |   59|       |            /* Skip 4 cache entries */
  |  |   60|       |            // _BINARY_OP
  |  |   61|  4.95M|            {
  |  |   62|  4.95M|                PyObject *lhs_o = PyStackRef_AsPyObjectBorrow(lhs);
  |  |   63|  4.95M|                PyObject *rhs_o = PyStackRef_AsPyObjectBorrow(rhs);
  |  |   64|  4.95M|                assert(_PyEval_BinaryOps[oparg]);
  |  |  ------------------
  |  |  |  Branch (64:17): [True: 4.95M, False: 0]
  |  |  ------------------
  |  |   65|  4.95M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   66|  4.95M|                _PyFrame_StackPointerValidate(frame);
  |  |   67|  4.95M|                PyObject *res_o = _PyEval_BinaryOps[oparg](lhs_o, rhs_o);
  |  |   68|  4.95M|                _PyFrame_StackPointerInvalidate(frame);
  |  |   69|  4.95M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (69:21): [True: 137, False: 4.95M]
  |  |  ------------------
  |  |   70|    137|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    137|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |   71|      0|                }
  |  |   72|  4.95M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |   73|  4.95M|                l = lhs;
  |  |   74|  4.95M|                r = rhs;
  |  |   75|  4.95M|            }
  |  |   76|       |            // _POP_TOP
  |  |   77|      0|            {
  |  |   78|  4.95M|                value = r;
  |  |   79|  4.95M|                stack_pointer[-2] = res;
  |  |   80|  4.95M|                stack_pointer[-1] = l;
  |  |   81|  4.95M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (81:17): [True: 4.95M, False: 0]
  |  |  ------------------
  |  |   82|  4.95M|                _PyFrame_StackPointerValidate(frame);
  |  |   83|  4.95M|                PyStackRef_XCLOSE(value);
  |  |   84|  4.95M|                _PyFrame_StackPointerInvalidate(frame);
  |  |   85|  4.95M|            }
  |  |   86|       |            // _POP_TOP
  |  |   87|      0|            {
  |  |   88|  4.95M|                value = l;
  |  |   89|  4.95M|                stack_pointer += -1;
  |  |   90|  4.95M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  4.95M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |   91|  4.95M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   92|  4.95M|                _PyFrame_StackPointerValidate(frame);
  |  |   93|  4.95M|                PyStackRef_XCLOSE(value);
  |  |   94|  4.95M|                _PyFrame_StackPointerInvalidate(frame);
  |  |   95|  4.95M|            }
  |  |   96|  4.95M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.95M|    { \
  |  |  |  |  201|  4.95M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.95M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.95M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.95M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  4.95M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.95M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.95M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.95M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.95M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.95M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.95M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.95M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.95M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.95M|    }
  |  |  ------------------
  |  |   97|  4.95M|        }
  |  |   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|  9.16M|        TARGET(BINARY_OP_ADD_INT) {
  |  |  ------------------
  |  |  |  |  132|  9.16M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  175|       |            #if _Py_TAIL_CALL_INTERP
  |  |  176|       |            int opcode = BINARY_OP_ADD_INT;
  |  |  177|       |            (void)(opcode);
  |  |  178|       |            #endif
  |  |  179|  9.16M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  180|  9.16M|            (void)this_instr;
  |  |  181|  9.16M|            frame->instr_ptr = next_instr;
  |  |  182|  9.16M|            next_instr += 6;
  |  |  183|  9.16M|            INSTRUCTION_STATS(BINARY_OP_ADD_INT);
  |  |  ------------------
  |  |  |  |   71|  9.16M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  184|  9.16M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  185|  9.16M|            _PyStackRef value;
  |  |  186|  9.16M|            _PyStackRef left;
  |  |  187|  9.16M|            _PyStackRef right;
  |  |  188|  9.16M|            _PyStackRef res;
  |  |  189|  9.16M|            _PyStackRef l;
  |  |  190|  9.16M|            _PyStackRef r;
  |  |  191|       |            // _GUARD_TOS_INT
  |  |  192|  9.16M|            {
  |  |  193|  9.16M|                value = stack_pointer[-1];
  |  |  194|  9.16M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  195|  9.16M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (195:21): [True: 1.78k, False: 9.16M]
  |  |  ------------------
  |  |  196|  1.78k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  1.78k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  197|  1.78k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (197:21): [True: 1.78k, False: 0]
  |  |  ------------------
  |  |  198|  1.78k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  1.78k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  199|      0|                }
  |  |  200|  9.16M|            }
  |  |  201|       |            // _GUARD_NOS_INT
  |  |  202|  9.16M|            {
  |  |  203|  9.16M|                left = stack_pointer[-2];
  |  |  204|  9.16M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  205|  9.16M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (205:21): [True: 103, False: 9.16M]
  |  |  ------------------
  |  |  206|    103|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|    103|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  207|    103|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (207:21): [True: 103, False: 0]
  |  |  ------------------
  |  |  208|    103|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|    103|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  209|      0|                }
  |  |  210|  9.16M|            }
  |  |  211|       |            /* Skip 5 cache entries */
  |  |  212|       |            // _BINARY_OP_ADD_INT
  |  |  213|  9.16M|            {
  |  |  214|  9.16M|                right = value;
  |  |  215|  9.16M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  216|  9.16M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  217|  9.16M|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (217:17): [True: 9.16M, False: 0]
  |  |  ------------------
  |  |  218|  9.16M|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (218:17): [True: 9.16M, False: 0]
  |  |  ------------------
  |  |  219|  9.16M|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (219:17): [True: 9.16M, False: 0]
  |  |  ------------------
  |  |  220|  9.16M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  9.16M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  221|  9.16M|                res = _PyCompactLong_Add((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  |  222|  9.16M|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|  9.16M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  9.16M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  9.16M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 5, False: 9.16M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  223|      5|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      5|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  224|      5|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (224:21): [True: 5, False: 0]
  |  |  ------------------
  |  |  225|      5|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      5|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  226|      0|                }
  |  |  227|  9.16M|                l = left;
  |  |  228|  9.16M|                r = right;
  |  |  229|  9.16M|            }
  |  |  230|       |            // _POP_TOP_INT
  |  |  231|      0|            {
  |  |  232|  9.16M|                value = r;
  |  |  233|  9.16M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (233:17): [True: 9.16M, False: 0]
  |  |  ------------------
  |  |  234|  9.16M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  235|  9.16M|            }
  |  |  236|       |            // _POP_TOP_INT
  |  |  237|      0|            {
  |  |  238|  9.16M|                value = l;
  |  |  239|  9.16M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (239:17): [True: 9.16M, False: 0]
  |  |  ------------------
  |  |  240|  9.16M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  241|  9.16M|            }
  |  |  242|      0|            stack_pointer[-2] = res;
  |  |  243|  9.16M|            stack_pointer += -1;
  |  |  244|  9.16M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  9.16M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  245|  9.16M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  9.16M|    { \
  |  |  |  |  201|  9.16M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  9.16M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  9.16M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  9.16M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  9.16M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.16M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  9.16M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  9.16M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 9.16M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  9.16M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  9.16M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  9.16M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  9.16M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  9.16M|    }
  |  |  ------------------
  |  |  246|  9.16M|        }
  |  |  247|       |
  |  |  248|   376k|        TARGET(BINARY_OP_ADD_UNICODE) {
  |  |  ------------------
  |  |  |  |  132|   376k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  249|       |            #if _Py_TAIL_CALL_INTERP
  |  |  250|       |            int opcode = BINARY_OP_ADD_UNICODE;
  |  |  251|       |            (void)(opcode);
  |  |  252|       |            #endif
  |  |  253|   376k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  254|   376k|            (void)this_instr;
  |  |  255|   376k|            frame->instr_ptr = next_instr;
  |  |  256|   376k|            next_instr += 6;
  |  |  257|   376k|            INSTRUCTION_STATS(BINARY_OP_ADD_UNICODE);
  |  |  ------------------
  |  |  |  |   71|   376k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  258|   376k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  259|   376k|            _PyStackRef value;
  |  |  260|   376k|            _PyStackRef nos;
  |  |  261|   376k|            _PyStackRef left;
  |  |  262|   376k|            _PyStackRef right;
  |  |  263|   376k|            _PyStackRef res;
  |  |  264|   376k|            _PyStackRef l;
  |  |  265|   376k|            _PyStackRef r;
  |  |  266|       |            // _GUARD_TOS_UNICODE
  |  |  267|   376k|            {
  |  |  268|   376k|                value = stack_pointer[-1];
  |  |  269|   376k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  270|   376k|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|   376k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   376k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   376k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   376k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (270:21): [True: 0, False: 376k]
  |  |  ------------------
  |  |  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|   376k|            }
  |  |  276|       |            // _GUARD_NOS_UNICODE
  |  |  277|   376k|            {
  |  |  278|   376k|                nos = stack_pointer[-2];
  |  |  279|   376k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  280|   376k|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|   376k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   376k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   376k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   376k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (280:21): [True: 0, False: 376k]
  |  |  ------------------
  |  |  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|   376k|            }
  |  |  286|       |            /* Skip 5 cache entries */
  |  |  287|       |            // _BINARY_OP_ADD_UNICODE
  |  |  288|   376k|            {
  |  |  289|   376k|                right = value;
  |  |  290|   376k|                left = nos;
  |  |  291|   376k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  292|   376k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  293|   376k|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (293:17): [True: 376k, False: 0]
  |  |  ------------------
  |  |  294|   376k|                assert(PyUnicode_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (294:17): [True: 376k, False: 0]
  |  |  ------------------
  |  |  295|   376k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|   376k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  296|   376k|                PyObject *res_o = PyUnicode_Concat(left_o, right_o);
  |  |  297|   376k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (297:21): [True: 0, False: 376k]
  |  |  ------------------
  |  |  298|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  299|      0|                }
  |  |  300|   376k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  301|   376k|                l = left;
  |  |  302|   376k|                r = right;
  |  |  303|   376k|            }
  |  |  304|       |            // _POP_TOP_UNICODE
  |  |  305|      0|            {
  |  |  306|   376k|                value = r;
  |  |  307|   376k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (307:17): [True: 376k, False: 0]
  |  |  ------------------
  |  |  308|   376k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |  309|   376k|            }
  |  |  310|       |            // _POP_TOP_UNICODE
  |  |  311|      0|            {
  |  |  312|   376k|                value = l;
  |  |  313|   376k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (313:17): [True: 376k, False: 0]
  |  |  ------------------
  |  |  314|   376k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |  315|   376k|            }
  |  |  316|      0|            stack_pointer[-2] = res;
  |  |  317|   376k|            stack_pointer += -1;
  |  |  318|   376k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   376k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  319|   376k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   376k|    { \
  |  |  |  |  201|   376k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   376k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   376k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   376k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   376k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   376k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   376k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   376k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 376k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   376k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   376k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   376k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   376k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   376k|    }
  |  |  ------------------
  |  |  320|   376k|        }
  |  |  321|       |
  |  |  322|  33.8k|        TARGET(BINARY_OP_EXTEND) {
  |  |  ------------------
  |  |  |  |  132|  33.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  323|       |            #if _Py_TAIL_CALL_INTERP
  |  |  324|       |            int opcode = BINARY_OP_EXTEND;
  |  |  325|       |            (void)(opcode);
  |  |  326|       |            #endif
  |  |  327|  33.8k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  328|  33.8k|            (void)this_instr;
  |  |  329|  33.8k|            frame->instr_ptr = next_instr;
  |  |  330|  33.8k|            next_instr += 6;
  |  |  331|  33.8k|            INSTRUCTION_STATS(BINARY_OP_EXTEND);
  |  |  ------------------
  |  |  |  |   71|  33.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  332|  33.8k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  333|  33.8k|            _PyStackRef left;
  |  |  334|  33.8k|            _PyStackRef right;
  |  |  335|  33.8k|            _PyStackRef res;
  |  |  336|  33.8k|            _PyStackRef l;
  |  |  337|  33.8k|            _PyStackRef r;
  |  |  338|  33.8k|            _PyStackRef value;
  |  |  339|       |            /* Skip 1 cache entry */
  |  |  340|       |            // _GUARD_BINARY_OP_EXTEND
  |  |  341|  33.8k|            {
  |  |  342|  33.8k|                right = stack_pointer[-1];
  |  |  343|  33.8k|                left = stack_pointer[-2];
  |  |  344|  33.8k|                PyObject *descr = read_obj(&this_instr[2].cache);
  |  |  345|  33.8k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  346|  33.8k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  347|  33.8k|                _PyBinaryOpSpecializationDescr *d = (_PyBinaryOpSpecializationDescr*)descr;
  |  |  348|  33.8k|                assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5);
  |  |  ------------------
  |  |  |  Branch (348:17): [True: 33.8k, Folded]
  |  |  ------------------
  |  |  349|  33.8k|                assert(d != NULL);
  |  |  ------------------
  |  |  |  Branch (349:17): [True: 33.8k, False: 0]
  |  |  ------------------
  |  |  350|  33.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  351|  33.8k|                _PyFrame_StackPointerValidate(frame);
  |  |  352|  33.8k|                int match = (d->guard != NULL)
  |  |  ------------------
  |  |  |  Branch (352:29): [True: 14.1k, False: 19.7k]
  |  |  ------------------
  |  |  353|  33.8k|                ? d->guard(left_o, right_o)
  |  |  354|  33.8k|            : (Py_TYPE(left_o) == d->lhs_type && Py_TYPE(right_o) == d->rhs_type);
  |  |  ------------------
  |  |  |  |  213|  19.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           : (Py_TYPE(left_o) == d->lhs_type && Py_TYPE(right_o) == d->rhs_type);
  |  |  ------------------
  |  |  |  |  213|  19.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (354:16): [True: 19.7k, False: 0]
  |  |  |  Branch (354:50): [True: 19.7k, False: 0]
  |  |  ------------------
  |  |  355|  33.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  356|  33.8k|                if (!match) {
  |  |  ------------------
  |  |  |  Branch (356:21): [True: 0, False: 33.8k]
  |  |  ------------------
  |  |  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|  33.8k|            }
  |  |  362|       |            /* Skip -4 cache entry */
  |  |  363|       |            // _BINARY_OP_EXTEND
  |  |  364|  33.8k|            {
  |  |  365|  33.8k|                PyObject *descr = read_obj(&this_instr[2].cache);
  |  |  366|  33.8k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  367|  33.8k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  368|  33.8k|                assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5);
  |  |  ------------------
  |  |  |  Branch (368:17): [True: 33.8k, Folded]
  |  |  ------------------
  |  |  369|  33.8k|                _PyBinaryOpSpecializationDescr *d = (_PyBinaryOpSpecializationDescr*)descr;
  |  |  370|  33.8k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  33.8k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  371|  33.8k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (371:17): [True: 33.8k, False: 0]
  |  |  ------------------
  |  |  372|  33.8k|                _PyFrame_StackPointerValidate(frame);
  |  |  373|  33.8k|                PyObject *res_o = d->action(left_o, right_o);
  |  |  374|  33.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  375|  33.8k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (375:21): [True: 0, False: 33.8k]
  |  |  ------------------
  |  |  376|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  377|      0|                }
  |  |  378|  33.8k|                assert(d->result_type == NULL || Py_TYPE(res_o) == d->result_type);
  |  |  ------------------
  |  |  |  Branch (378:17): [True: 0, False: 33.8k]
  |  |  |  Branch (378:17): [True: 33.8k, False: 0]
  |  |  ------------------
  |  |  379|  33.8k|                assert(!d->result_unique || Py_REFCNT(res_o) == 1 || _Py_IsImmortal(res_o));
  |  |  ------------------
  |  |  |  Branch (379:17): [True: 19.7k, False: 14.1k]
  |  |  |  Branch (379:17): [True: 13.1k, False: 1.00k]
  |  |  |  Branch (379:17): [True: 1.00k, False: 0]
  |  |  ------------------
  |  |  380|  33.8k|                assert(!PyFloat_CheckExact(res_o) || Py_REFCNT(res_o) == 1);
  |  |  ------------------
  |  |  |  Branch (380:17): [True: 33.8k, False: 0]
  |  |  |  Branch (380:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  381|  33.8k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  382|  33.8k|                l = left;
  |  |  383|  33.8k|                r = right;
  |  |  384|  33.8k|            }
  |  |  385|       |            // _POP_TOP
  |  |  386|      0|            {
  |  |  387|  33.8k|                value = r;
  |  |  388|  33.8k|                stack_pointer[-2] = res;
  |  |  389|  33.8k|                stack_pointer[-1] = l;
  |  |  390|  33.8k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (390:17): [True: 33.8k, False: 0]
  |  |  ------------------
  |  |  391|  33.8k|                _PyFrame_StackPointerValidate(frame);
  |  |  392|  33.8k|                PyStackRef_XCLOSE(value);
  |  |  393|  33.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  394|  33.8k|            }
  |  |  395|       |            // _POP_TOP
  |  |  396|      0|            {
  |  |  397|  33.8k|                value = l;
  |  |  398|  33.8k|                stack_pointer += -1;
  |  |  399|  33.8k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  33.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  400|  33.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  401|  33.8k|                _PyFrame_StackPointerValidate(frame);
  |  |  402|  33.8k|                PyStackRef_XCLOSE(value);
  |  |  403|  33.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  404|  33.8k|            }
  |  |  405|  33.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  33.8k|    { \
  |  |  |  |  201|  33.8k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  33.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  33.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  33.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  33.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  33.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  33.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  33.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 33.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  33.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  33.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  33.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  33.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  33.8k|    }
  |  |  ------------------
  |  |  406|  33.8k|        }
  |  |  407|       |
  |  |  408|    156|        TARGET(BINARY_OP_INPLACE_ADD_UNICODE) {
  |  |  ------------------
  |  |  |  |  132|    156|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  409|       |            #if _Py_TAIL_CALL_INTERP
  |  |  410|       |            int opcode = BINARY_OP_INPLACE_ADD_UNICODE;
  |  |  411|       |            (void)(opcode);
  |  |  412|       |            #endif
  |  |  413|    156|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  414|    156|            (void)this_instr;
  |  |  415|    156|            frame->instr_ptr = next_instr;
  |  |  416|    156|            next_instr += 6;
  |  |  417|    156|            INSTRUCTION_STATS(BINARY_OP_INPLACE_ADD_UNICODE);
  |  |  ------------------
  |  |  |  |   71|    156|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  418|    156|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  419|    156|            _PyStackRef value;
  |  |  420|    156|            _PyStackRef nos;
  |  |  421|    156|            _PyStackRef left;
  |  |  422|    156|            _PyStackRef right;
  |  |  423|    156|            _PyStackRef res;
  |  |  424|       |            // _GUARD_TOS_UNICODE
  |  |  425|    156|            {
  |  |  426|    156|                value = stack_pointer[-1];
  |  |  427|    156|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  428|    156|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|    156|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    156|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (428:21): [True: 0, False: 156]
  |  |  ------------------
  |  |  429|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  430|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (430:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  431|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  432|      0|                }
  |  |  433|    156|            }
  |  |  434|       |            // _GUARD_NOS_UNICODE
  |  |  435|    156|            {
  |  |  436|    156|                nos = stack_pointer[-2];
  |  |  437|    156|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  438|    156|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|    156|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    156|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (438:21): [True: 0, False: 156]
  |  |  ------------------
  |  |  439|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  440|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (440:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  441|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  442|      0|                }
  |  |  443|    156|            }
  |  |  444|       |            /* Skip 5 cache entries */
  |  |  445|       |            // _BINARY_OP_INPLACE_ADD_UNICODE
  |  |  446|    156|            {
  |  |  447|    156|                right = value;
  |  |  448|    156|                left = nos;
  |  |  449|    156|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  450|    156|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (450:17): [True: 156, False: 0]
  |  |  ------------------
  |  |  451|    156|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(right)));
  |  |  ------------------
  |  |  |  Branch (451:17): [True: 156, False: 0]
  |  |  ------------------
  |  |  452|    156|                int next_oparg;
  |  |  453|    156|                #if TIER_ONE
  |  |  454|    156|                assert(next_instr->op.code == STORE_FAST);
  |  |  ------------------
  |  |  |  Branch (454:17): [True: 156, False: 0]
  |  |  ------------------
  |  |  455|    156|                next_oparg = next_instr->op.arg;
  |  |  456|       |                #else
  |  |  457|       |                next_oparg = (int)CURRENT_OPERAND0_16();
  |  |  458|       |                #endif
  |  |  459|    156|                _PyStackRef *target_local = &GETLOCAL(next_oparg);
  |  |  ------------------
  |  |  |  |  285|    156|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |  460|    156|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (460:17): [True: 156, False: 0]
  |  |  ------------------
  |  |  461|    156|                if (PyStackRef_AsPyObjectBorrow(*target_local) != left_o) {
  |  |  ------------------
  |  |  |  Branch (461:21): [True: 0, False: 156]
  |  |  ------------------
  |  |  462|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  463|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (463:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  464|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  465|      0|                }
  |  |  466|    156|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    156|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  467|    156|                assert(Py_REFCNT(left_o) >= 2 || !PyStackRef_IsHeapSafe(left));
  |  |  ------------------
  |  |  |  Branch (467:17): [True: 78, False: 78]
  |  |  |  Branch (467:17): [True: 78, False: 0]
  |  |  ------------------
  |  |  468|    156|                PyObject *temp = PyStackRef_AsPyObjectSteal(*target_local);
  |  |  469|    156|                PyObject *right_o = PyStackRef_AsPyObjectSteal(right);
  |  |  470|    156|                PyStackRef_CLOSE_SPECIALIZED(left, _PyUnicode_ExactDealloc);
  |  |  471|    156|                stack_pointer += -2;
  |  |  472|    156|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    156|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  473|    156|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  474|    156|                _PyFrame_StackPointerValidate(frame);
  |  |  475|    156|                PyUnicode_Append(&temp, right_o);
  |  |  476|    156|                _PyFrame_StackPointerInvalidate(frame);
  |  |  477|    156|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (477:17): [True: 156, False: 0]
  |  |  ------------------
  |  |  478|    156|                _PyFrame_StackPointerValidate(frame);
  |  |  479|    156|                _Py_DECREF_SPECIALIZED(right_o, _PyUnicode_ExactDealloc);
  |  |  ------------------
  |  |  |  |   96|    156|    do { \
  |  |  |  |   97|    156|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|    156|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|    156|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 132, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|    132|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|    132|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  100|    132|            break; \
  |  |  |  |  101|    132|        } \
  |  |  |  |  102|    156|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     24|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  103|     24|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (103:13): [True: 24, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  104|     24|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  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|    156|                _PyFrame_StackPointerInvalidate(frame);
  |  |  481|    156|                *target_local = PyStackRef_NULL;
  |  |  482|    156|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (482:21): [True: 0, False: 156]
  |  |  ------------------
  |  |  483|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  484|      0|                }
  |  |  485|    156|                res = PyStackRef_FromPyObjectSteal(temp);
  |  |  486|    156|            }
  |  |  487|      0|            stack_pointer[0] = res;
  |  |  488|    156|            stack_pointer += 1;
  |  |  489|    156|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    156|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  490|    156|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    156|    { \
  |  |  |  |  201|    156|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    156|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    156|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    156|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    156|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    156|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    156|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    156|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 156]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    156|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    156|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    156|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    156|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    156|    }
  |  |  ------------------
  |  |  491|    156|        }
  |  |  492|       |
  |  |  493|      0|        TARGET(BINARY_OP_MULTIPLY_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  494|       |            #if _Py_TAIL_CALL_INTERP
  |  |  495|       |            int opcode = BINARY_OP_MULTIPLY_FLOAT;
  |  |  496|       |            (void)(opcode);
  |  |  497|       |            #endif
  |  |  498|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  499|      0|            (void)this_instr;
  |  |  500|      0|            frame->instr_ptr = next_instr;
  |  |  501|      0|            next_instr += 6;
  |  |  502|      0|            INSTRUCTION_STATS(BINARY_OP_MULTIPLY_FLOAT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  503|      0|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  504|      0|            _PyStackRef value;
  |  |  505|      0|            _PyStackRef left;
  |  |  506|      0|            _PyStackRef right;
  |  |  507|      0|            _PyStackRef res;
  |  |  508|      0|            _PyStackRef l;
  |  |  509|      0|            _PyStackRef r;
  |  |  510|       |            // _GUARD_TOS_FLOAT
  |  |  511|      0|            {
  |  |  512|      0|                value = stack_pointer[-1];
  |  |  513|      0|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  514|      0|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (514:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  515|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  516|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (516:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  517|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  518|      0|                }
  |  |  519|      0|            }
  |  |  520|       |            // _GUARD_NOS_FLOAT
  |  |  521|      0|            {
  |  |  522|      0|                left = stack_pointer[-2];
  |  |  523|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  524|      0|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|      0|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (524:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  525|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  526|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (526:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  527|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  528|      0|                }
  |  |  529|      0|            }
  |  |  530|       |            /* Skip 5 cache entries */
  |  |  531|       |            // _BINARY_OP_MULTIPLY_FLOAT
  |  |  532|      0|            {
  |  |  533|      0|                right = value;
  |  |  534|      0|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  535|      0|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  536|      0|                assert(PyFloat_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (536:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  537|      0|                assert(PyFloat_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (537:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  538|      0|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  539|      0|                double dres =
  |  |  540|      0|                ((PyFloatObject *)left_o)->ob_fval *
  |  |  541|      0|                ((PyFloatObject *)right_o)->ob_fval;
  |  |  542|      0|                PyObject *d = PyFloat_FromDouble(dres);
  |  |  543|      0|                if (d == NULL) {
  |  |  ------------------
  |  |  |  Branch (543:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  544|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  545|      0|                }
  |  |  546|      0|                res = PyStackRef_FromPyObjectSteal(d);
  |  |  547|      0|                l = left;
  |  |  548|      0|                r = right;
  |  |  549|      0|            }
  |  |  550|       |            // _POP_TOP_FLOAT
  |  |  551|      0|            {
  |  |  552|      0|                value = r;
  |  |  553|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (553:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  554|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  555|      0|            }
  |  |  556|       |            // _POP_TOP_FLOAT
  |  |  557|      0|            {
  |  |  558|      0|                value = l;
  |  |  559|      0|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (559:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  560|      0|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  561|      0|            }
  |  |  562|      0|            stack_pointer[-2] = res;
  |  |  563|      0|            stack_pointer += -1;
  |  |  564|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  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|  1.21M|        TARGET(BINARY_OP_MULTIPLY_INT) {
  |  |  ------------------
  |  |  |  |  132|  1.21M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  569|       |            #if _Py_TAIL_CALL_INTERP
  |  |  570|       |            int opcode = BINARY_OP_MULTIPLY_INT;
  |  |  571|       |            (void)(opcode);
  |  |  572|       |            #endif
  |  |  573|  1.21M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  574|  1.21M|            (void)this_instr;
  |  |  575|  1.21M|            frame->instr_ptr = next_instr;
  |  |  576|  1.21M|            next_instr += 6;
  |  |  577|  1.21M|            INSTRUCTION_STATS(BINARY_OP_MULTIPLY_INT);
  |  |  ------------------
  |  |  |  |   71|  1.21M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  578|  1.21M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  579|  1.21M|            _PyStackRef value;
  |  |  580|  1.21M|            _PyStackRef left;
  |  |  581|  1.21M|            _PyStackRef right;
  |  |  582|  1.21M|            _PyStackRef res;
  |  |  583|  1.21M|            _PyStackRef l;
  |  |  584|  1.21M|            _PyStackRef r;
  |  |  585|       |            // _GUARD_TOS_INT
  |  |  586|  1.21M|            {
  |  |  587|  1.21M|                value = stack_pointer[-1];
  |  |  588|  1.21M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  589|  1.21M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (589:21): [True: 1.27k, False: 1.21M]
  |  |  ------------------
  |  |  590|  1.27k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  1.27k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  591|  1.27k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (591:21): [True: 1.27k, False: 0]
  |  |  ------------------
  |  |  592|  1.27k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  1.27k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  593|      0|                }
  |  |  594|  1.21M|            }
  |  |  595|       |            // _GUARD_NOS_INT
  |  |  596|  1.21M|            {
  |  |  597|  1.21M|                left = stack_pointer[-2];
  |  |  598|  1.21M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  599|  1.21M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (599:21): [True: 896, False: 1.21M]
  |  |  ------------------
  |  |  600|    896|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|    896|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  601|    896|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (601:21): [True: 896, False: 0]
  |  |  ------------------
  |  |  602|    896|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|    896|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  603|      0|                }
  |  |  604|  1.21M|            }
  |  |  605|       |            /* Skip 5 cache entries */
  |  |  606|       |            // _BINARY_OP_MULTIPLY_INT
  |  |  607|  1.21M|            {
  |  |  608|  1.21M|                right = value;
  |  |  609|  1.21M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  610|  1.21M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  611|  1.21M|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (611:17): [True: 1.21M, False: 0]
  |  |  ------------------
  |  |  612|  1.21M|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (612:17): [True: 1.21M, False: 0]
  |  |  ------------------
  |  |  613|  1.21M|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (613:17): [True: 1.21M, False: 0]
  |  |  ------------------
  |  |  614|  1.21M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.21M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  615|  1.21M|                res = _PyCompactLong_Multiply((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  |  616|  1.21M|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|  1.21M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.21M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.21M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 172, False: 1.21M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  617|    172|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|    172|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  618|    172|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (618:21): [True: 172, False: 0]
  |  |  ------------------
  |  |  619|    172|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|    172|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  620|      0|                }
  |  |  621|  1.21M|                l = left;
  |  |  622|  1.21M|                r = right;
  |  |  623|  1.21M|            }
  |  |  624|       |            // _POP_TOP_INT
  |  |  625|      0|            {
  |  |  626|  1.21M|                value = r;
  |  |  627|  1.21M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (627:17): [True: 1.21M, False: 0]
  |  |  ------------------
  |  |  628|  1.21M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  629|  1.21M|            }
  |  |  630|       |            // _POP_TOP_INT
  |  |  631|      0|            {
  |  |  632|  1.21M|                value = l;
  |  |  633|  1.21M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (633:17): [True: 1.21M, False: 0]
  |  |  ------------------
  |  |  634|  1.21M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  635|  1.21M|            }
  |  |  636|      0|            stack_pointer[-2] = res;
  |  |  637|  1.21M|            stack_pointer += -1;
  |  |  638|  1.21M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.21M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  639|  1.21M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.21M|    { \
  |  |  |  |  201|  1.21M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.21M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.21M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.21M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.21M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.21M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.21M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.21M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.21M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.21M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.21M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.21M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.21M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.21M|    }
  |  |  ------------------
  |  |  640|  1.21M|        }
  |  |  641|       |
  |  |  642|  3.27k|        TARGET(BINARY_OP_SUBSCR_DICT) {
  |  |  ------------------
  |  |  |  |  132|  3.27k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  643|       |            #if _Py_TAIL_CALL_INTERP
  |  |  644|       |            int opcode = BINARY_OP_SUBSCR_DICT;
  |  |  645|       |            (void)(opcode);
  |  |  646|       |            #endif
  |  |  647|  3.27k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  648|  3.27k|            (void)this_instr;
  |  |  649|  3.27k|            frame->instr_ptr = next_instr;
  |  |  650|  3.27k|            next_instr += 6;
  |  |  651|  3.27k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_DICT);
  |  |  ------------------
  |  |  |  |   71|  3.27k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  652|  3.27k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  653|  3.27k|            _PyStackRef nos;
  |  |  654|  3.27k|            _PyStackRef dict_st;
  |  |  655|  3.27k|            _PyStackRef sub_st;
  |  |  656|  3.27k|            _PyStackRef res;
  |  |  657|  3.27k|            _PyStackRef ds;
  |  |  658|  3.27k|            _PyStackRef ss;
  |  |  659|  3.27k|            _PyStackRef value;
  |  |  660|       |            // _GUARD_NOS_DICT_SUBSCRIPT
  |  |  661|  3.27k|            {
  |  |  662|  3.27k|                nos = stack_pointer[-2];
  |  |  663|  3.27k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  664|  3.27k|                if (!Py_TYPE(o)->tp_as_mapping) {
  |  |  ------------------
  |  |  |  |  213|  3.27k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (664:21): [True: 0, False: 3.27k]
  |  |  ------------------
  |  |  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|  3.27k|                if (Py_TYPE(o)->tp_as_mapping->mp_subscript != _PyDict_Subscript) {
  |  |  ------------------
  |  |  |  |  213|  3.27k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (669:21): [True: 0, False: 3.27k]
  |  |  ------------------
  |  |  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|  3.27k|            }
  |  |  675|       |            /* Skip 5 cache entries */
  |  |  676|       |            // _BINARY_OP_SUBSCR_DICT
  |  |  677|  3.27k|            {
  |  |  678|  3.27k|                sub_st = stack_pointer[-1];
  |  |  679|  3.27k|                dict_st = nos;
  |  |  680|  3.27k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  681|  3.27k|                PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |  682|  3.27k|                assert(Py_TYPE(dict)->tp_as_mapping->mp_subscript == _PyDict_Subscript);
  |  |  ------------------
  |  |  |  Branch (682:17): [True: 3.27k, False: 0]
  |  |  ------------------
  |  |  683|  3.27k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  3.27k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  684|  3.27k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  685|  3.27k|                _PyFrame_StackPointerValidate(frame);
  |  |  686|  3.27k|                PyObject *res_o = _PyDict_Subscript(dict, sub);
  |  |  687|  3.27k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  688|  3.27k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (688:21): [True: 807, False: 2.46k]
  |  |  ------------------
  |  |  689|    807|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    807|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  690|      0|                }
  |  |  691|  2.46k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  692|  2.46k|                ds = dict_st;
  |  |  693|  2.46k|                ss = sub_st;
  |  |  694|  2.46k|            }
  |  |  695|       |            // _POP_TOP
  |  |  696|      0|            {
  |  |  697|  2.46k|                value = ss;
  |  |  698|  2.46k|                stack_pointer[-2] = res;
  |  |  699|  2.46k|                stack_pointer[-1] = ds;
  |  |  700|  2.46k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (700:17): [True: 2.46k, False: 0]
  |  |  ------------------
  |  |  701|  2.46k|                _PyFrame_StackPointerValidate(frame);
  |  |  702|  2.46k|                PyStackRef_XCLOSE(value);
  |  |  703|  2.46k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  704|  2.46k|            }
  |  |  705|       |            // _POP_TOP
  |  |  706|      0|            {
  |  |  707|  2.46k|                value = ds;
  |  |  708|  2.46k|                stack_pointer += -1;
  |  |  709|  2.46k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.46k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  710|  2.46k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  711|  2.46k|                _PyFrame_StackPointerValidate(frame);
  |  |  712|  2.46k|                PyStackRef_XCLOSE(value);
  |  |  713|  2.46k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  714|  2.46k|            }
  |  |  715|  2.46k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.46k|    { \
  |  |  |  |  201|  2.46k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.46k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.46k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.46k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.46k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.46k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.46k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.46k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.46k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.46k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.46k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.46k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.46k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.46k|    }
  |  |  ------------------
  |  |  716|  2.46k|        }
  |  |  717|       |
  |  |  718|    228|        TARGET(BINARY_OP_SUBSCR_GETITEM) {
  |  |  ------------------
  |  |  |  |  132|    228|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  719|       |            #if _Py_TAIL_CALL_INTERP
  |  |  720|       |            int opcode = BINARY_OP_SUBSCR_GETITEM;
  |  |  721|       |            (void)(opcode);
  |  |  722|       |            #endif
  |  |  723|    228|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  724|    228|            (void)this_instr;
  |  |  725|    228|            frame->instr_ptr = next_instr;
  |  |  726|    228|            next_instr += 6;
  |  |  727|    228|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_GETITEM);
  |  |  ------------------
  |  |  |  |   71|    228|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  728|    228|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  729|    228|            _PyStackRef container;
  |  |  730|    228|            _PyStackRef getitem;
  |  |  731|    228|            _PyStackRef sub;
  |  |  732|    228|            _PyStackRef new_frame;
  |  |  733|       |            /* Skip 5 cache entries */
  |  |  734|       |            // _CHECK_PEP_523
  |  |  735|    228|            {
  |  |  736|    228|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|    228|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 228]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  737|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  738|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (738:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  739|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  740|      0|                }
  |  |  741|    228|            }
  |  |  742|       |            // _BINARY_OP_SUBSCR_CHECK_FUNC
  |  |  743|    228|            {
  |  |  744|    228|                container = stack_pointer[-2];
  |  |  745|    228|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(container));
  |  |  ------------------
  |  |  |  |  213|    228|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  746|    228|                if (!PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE)) {
  |  |  ------------------
  |  |  |  |  503|    228|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  |  |  ------------------
  |  |  |  Branch (746:21): [True: 0, False: 228]
  |  |  ------------------
  |  |  747|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  748|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (748:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  749|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  750|      0|                }
  |  |  751|    228|                PyHeapTypeObject *ht = (PyHeapTypeObject *)tp;
  |  |  752|    228|                PyObject *getitem_o = FT_ATOMIC_LOAD_PTR_ACQUIRE(ht->_spec_cache.getitem);
  |  |  ------------------
  |  |  |  |  152|    228|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |  753|    228|                if (getitem_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (753:21): [True: 0, False: 228]
  |  |  ------------------
  |  |  754|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  755|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (755:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  756|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  757|      0|                }
  |  |  758|    228|                assert(PyFunction_Check(getitem_o));
  |  |  ------------------
  |  |  |  Branch (758:17): [True: 228, False: 0]
  |  |  ------------------
  |  |  759|    228|                uint32_t cached_version = FT_ATOMIC_LOAD_UINT32_RELAXED(ht->_spec_cache.getitem_version);
  |  |  ------------------
  |  |  |  |  161|    228|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  760|    228|                if (((PyFunctionObject *)getitem_o)->func_version != cached_version) {
  |  |  ------------------
  |  |  |  Branch (760:21): [True: 0, False: 228]
  |  |  ------------------
  |  |  761|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  762|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (762:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  763|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  764|      0|                }
  |  |  765|    228|                PyCodeObject *code = (PyCodeObject *)PyFunction_GET_CODE(getitem_o);
  |  |  ------------------
  |  |  |  |   93|    228|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  766|    228|                assert(code->co_argcount == 2);
  |  |  ------------------
  |  |  |  Branch (766:17): [True: 228, False: 0]
  |  |  ------------------
  |  |  767|    228|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (767:21): [True: 0, False: 228]
  |  |  ------------------
  |  |  768|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  769|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (769:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  770|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  771|      0|                }
  |  |  772|    228|                getitem = PyStackRef_FromPyObjectNew(getitem_o);
  |  |  ------------------
  |  |  |  |  611|    228|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  773|    228|            }
  |  |  774|       |            // _BINARY_OP_SUBSCR_INIT_CALL
  |  |  775|      0|            {
  |  |  776|    228|                sub = stack_pointer[-1];
  |  |  777|    228|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    228|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  778|    228|                _PyInterpreterFrame* pushed_frame = _PyFrame_PushUnchecked(tstate, getitem, 2, frame);
  |  |  779|    228|                pushed_frame->localsplus[0] = container;
  |  |  780|    228|                pushed_frame->localsplus[1] = sub;
  |  |  781|    228|                frame->return_offset = 6u ;
  |  |  782|    228|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  |  783|    228|            }
  |  |  784|       |            // _PUSH_FRAME
  |  |  785|    228|            {
  |  |  786|    228|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (786:17): [True: 228, False: 0]
  |  |  ------------------
  |  |  787|    228|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  |  788|    228|                stack_pointer += -2;
  |  |  789|    228|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    228|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  790|    228|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  791|    228|                _PyFrame_StackPointerValidate(frame);
  |  |  792|    228|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (792:17): [True: 228, False: 0]
  |  |  |  Branch (792:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  793|    228|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|    228|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |  794|    228|                frame = tstate->current_frame = temp;
  |  |  795|    228|                tstate->py_recursion_remaining--;
  |  |  796|    228|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  797|    228|                _PyFrame_StackPointerInvalidate(frame);
  |  |  798|    228|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|    228|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    228|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    228|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 228]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|       |                #ifdef Py_DEBUG
  |  |  800|       |                assert(frame->previous->stackpointer_valid == 1);
  |  |  801|       |                #endif
  |  |  802|    228|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|    228|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |  803|    228|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    228|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |  804|    228|            }
  |  |  805|    228|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    228|    { \
  |  |  |  |  201|    228|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    228|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    228|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    228|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    228|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    228|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    228|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    228|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 228]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    228|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    228|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    228|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    228|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    228|    }
  |  |  ------------------
  |  |  806|    228|        }
  |  |  807|       |
  |  |  808|  1.26k|        TARGET(BINARY_OP_SUBSCR_LIST_INT) {
  |  |  ------------------
  |  |  |  |  132|  1.26k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  809|       |            #if _Py_TAIL_CALL_INTERP
  |  |  810|       |            int opcode = BINARY_OP_SUBSCR_LIST_INT;
  |  |  811|       |            (void)(opcode);
  |  |  812|       |            #endif
  |  |  813|  1.26k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  814|  1.26k|            (void)this_instr;
  |  |  815|  1.26k|            frame->instr_ptr = next_instr;
  |  |  816|  1.26k|            next_instr += 6;
  |  |  817|  1.26k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_LIST_INT);
  |  |  ------------------
  |  |  |  |   71|  1.26k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  818|  1.26k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  819|  1.26k|            _PyStackRef value;
  |  |  820|  1.26k|            _PyStackRef nos;
  |  |  821|  1.26k|            _PyStackRef list_st;
  |  |  822|  1.26k|            _PyStackRef sub_st;
  |  |  823|  1.26k|            _PyStackRef res;
  |  |  824|  1.26k|            _PyStackRef ls;
  |  |  825|  1.26k|            _PyStackRef ss;
  |  |  826|       |            // _GUARD_TOS_INT
  |  |  827|  1.26k|            {
  |  |  828|  1.26k|                value = stack_pointer[-1];
  |  |  829|  1.26k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  830|  1.26k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (830:21): [True: 0, False: 1.26k]
  |  |  ------------------
  |  |  831|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  832|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (832:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  833|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  834|      0|                }
  |  |  835|  1.26k|            }
  |  |  836|       |            // _GUARD_NOS_LIST
  |  |  837|  1.26k|            {
  |  |  838|  1.26k|                nos = stack_pointer[-2];
  |  |  839|  1.26k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  840|  1.26k|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  1.26k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.26k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (840:21): [True: 0, False: 1.26k]
  |  |  ------------------
  |  |  841|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  842|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (842:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  843|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  844|      0|                }
  |  |  845|  1.26k|            }
  |  |  846|       |            /* Skip 5 cache entries */
  |  |  847|       |            // _BINARY_OP_SUBSCR_LIST_INT
  |  |  848|  1.26k|            {
  |  |  849|  1.26k|                sub_st = value;
  |  |  850|  1.26k|                list_st = nos;
  |  |  851|  1.26k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  852|  1.26k|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |  853|  1.26k|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (853:17): [True: 1.26k, False: 0]
  |  |  ------------------
  |  |  854|  1.26k|                assert(PyList_CheckExact(list));
  |  |  ------------------
  |  |  |  Branch (854:17): [True: 1.26k, False: 0]
  |  |  ------------------
  |  |  855|  1.26k|                Py_ssize_t index = _PyLong_CompactValue((PyLongObject *)sub);
  |  |  856|  1.26k|                if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (856:21): [True: 0, False: 1.26k]
  |  |  ------------------
  |  |  857|      0|                    index += PyList_GET_SIZE(list);
  |  |  ------------------
  |  |  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  858|      0|                }
  |  |  859|       |                #ifdef Py_GIL_DISABLED
  |  |  860|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  861|       |                _PyFrame_StackPointerValidate(frame);
  |  |  862|       |                PyObject *res_o = _PyList_GetItemRef((PyListObject*)list, index);
  |  |  863|       |                _PyFrame_StackPointerInvalidate(frame);
  |  |  864|       |                if (res_o == NULL) {
  |  |  865|       |                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  866|       |                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  867|       |                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  868|       |                }
  |  |  869|       |                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  870|       |                #else
  |  |  871|  1.26k|                if (index < 0 || index >= PyList_GET_SIZE(list)) {
  |  |  ------------------
  |  |  |  |   38|  1.26k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (871:21): [True: 0, False: 1.26k]
  |  |  |  Branch (871:34): [True: 64, False: 1.20k]
  |  |  ------------------
  |  |  872|     64|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|     64|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  873|     64|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (873:21): [True: 64, False: 0]
  |  |  ------------------
  |  |  874|     64|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|     64|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  875|      0|                }
  |  |  876|  1.20k|                PyObject *res_o = PyList_GET_ITEM(list, index);
  |  |  ------------------
  |  |  |  |   40|  1.20k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  1.20k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (876:35): [True: 1.20k, False: 0]
  |  |  ------------------
  |  |  877|  1.20k|                assert(res_o != NULL);
  |  |  ------------------
  |  |  |  Branch (877:17): [True: 1.20k, False: 0]
  |  |  ------------------
  |  |  878|  1.20k|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  1.20k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  879|  1.20k|                #endif
  |  |  880|  1.20k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.20k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  881|  1.20k|                ls = list_st;
  |  |  882|  1.20k|                ss = sub_st;
  |  |  883|  1.20k|            }
  |  |  884|       |            // _POP_TOP_INT
  |  |  885|      0|            {
  |  |  886|  1.20k|                value = ss;
  |  |  887|  1.20k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (887:17): [True: 1.20k, False: 0]
  |  |  ------------------
  |  |  888|  1.20k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  889|  1.20k|            }
  |  |  890|       |            // _POP_TOP
  |  |  891|      0|            {
  |  |  892|  1.20k|                value = ls;
  |  |  893|  1.20k|                stack_pointer[-2] = res;
  |  |  894|  1.20k|                stack_pointer += -1;
  |  |  895|  1.20k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.20k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  896|  1.20k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  897|  1.20k|                _PyFrame_StackPointerValidate(frame);
  |  |  898|  1.20k|                PyStackRef_XCLOSE(value);
  |  |  899|  1.20k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  900|  1.20k|            }
  |  |  901|  1.20k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.20k|    { \
  |  |  |  |  201|  1.20k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.20k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.20k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.20k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.20k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.20k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.20k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.20k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.20k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.20k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.20k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.20k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.20k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.20k|    }
  |  |  ------------------
  |  |  902|  1.20k|        }
  |  |  903|       |
  |  |  904|     33|        TARGET(BINARY_OP_SUBSCR_LIST_SLICE) {
  |  |  ------------------
  |  |  |  |  132|     33|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  905|       |            #if _Py_TAIL_CALL_INTERP
  |  |  906|       |            int opcode = BINARY_OP_SUBSCR_LIST_SLICE;
  |  |  907|       |            (void)(opcode);
  |  |  908|       |            #endif
  |  |  909|     33|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  910|     33|            (void)this_instr;
  |  |  911|     33|            frame->instr_ptr = next_instr;
  |  |  912|     33|            next_instr += 6;
  |  |  913|     33|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_LIST_SLICE);
  |  |  ------------------
  |  |  |  |   71|     33|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  914|     33|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  915|     33|            _PyStackRef tos;
  |  |  916|     33|            _PyStackRef nos;
  |  |  917|     33|            _PyStackRef list_st;
  |  |  918|     33|            _PyStackRef sub_st;
  |  |  919|     33|            _PyStackRef res;
  |  |  920|     33|            _PyStackRef ls;
  |  |  921|     33|            _PyStackRef ss;
  |  |  922|     33|            _PyStackRef value;
  |  |  923|       |            // _GUARD_TOS_SLICE
  |  |  924|     33|            {
  |  |  925|     33|                tos = stack_pointer[-1];
  |  |  926|     33|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |  927|     33|                if (!PySlice_Check(o)) {
  |  |  ------------------
  |  |  |  |   22|     33|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     33|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (927:21): [True: 0, False: 33]
  |  |  ------------------
  |  |  928|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  929|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (929:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  930|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  931|      0|                }
  |  |  932|     33|            }
  |  |  933|       |            // _GUARD_NOS_LIST
  |  |  934|     33|            {
  |  |  935|     33|                nos = stack_pointer[-2];
  |  |  936|     33|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  937|     33|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|     33|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     33|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (937:21): [True: 0, False: 33]
  |  |  ------------------
  |  |  938|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  939|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (939:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  940|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  941|      0|                }
  |  |  942|     33|            }
  |  |  943|       |            /* Skip 5 cache entries */
  |  |  944|       |            // _BINARY_OP_SUBSCR_LIST_SLICE
  |  |  945|     33|            {
  |  |  946|     33|                sub_st = tos;
  |  |  947|     33|                list_st = nos;
  |  |  948|     33|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  949|     33|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |  950|     33|                assert(PySlice_Check(sub));
  |  |  ------------------
  |  |  |  Branch (950:17): [True: 33, False: 0]
  |  |  ------------------
  |  |  951|     33|                assert(PyList_CheckExact(list));
  |  |  ------------------
  |  |  |  Branch (951:17): [True: 33, False: 0]
  |  |  ------------------
  |  |  952|     33|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  953|     33|                _PyFrame_StackPointerValidate(frame);
  |  |  954|     33|                PyObject *res_o = _PyList_SliceSubscript(list, sub);
  |  |  955|     33|                _PyFrame_StackPointerInvalidate(frame);
  |  |  956|     33|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|     33|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  957|     33|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (957:21): [True: 0, False: 33]
  |  |  ------------------
  |  |  958|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  959|      0|                }
  |  |  960|     33|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  961|     33|                ls = list_st;
  |  |  962|     33|                ss = sub_st;
  |  |  963|     33|            }
  |  |  964|       |            // _POP_TOP
  |  |  965|      0|            {
  |  |  966|     33|                value = ss;
  |  |  967|     33|                stack_pointer[-2] = res;
  |  |  968|     33|                stack_pointer[-1] = ls;
  |  |  969|     33|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (969:17): [True: 33, False: 0]
  |  |  ------------------
  |  |  970|     33|                _PyFrame_StackPointerValidate(frame);
  |  |  971|     33|                PyStackRef_XCLOSE(value);
  |  |  972|     33|                _PyFrame_StackPointerInvalidate(frame);
  |  |  973|     33|            }
  |  |  974|       |            // _POP_TOP
  |  |  975|      0|            {
  |  |  976|     33|                value = ls;
  |  |  977|     33|                stack_pointer += -1;
  |  |  978|     33|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     33|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  979|     33|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  980|     33|                _PyFrame_StackPointerValidate(frame);
  |  |  981|     33|                PyStackRef_XCLOSE(value);
  |  |  982|     33|                _PyFrame_StackPointerInvalidate(frame);
  |  |  983|     33|            }
  |  |  984|     33|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     33|    { \
  |  |  |  |  201|     33|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     33|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     33|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     33|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     33|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     33|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     33|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     33|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 33]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     33|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     33|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     33|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     33|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     33|    }
  |  |  ------------------
  |  |  985|     33|        }
  |  |  986|       |
  |  |  987|  2.23k|        TARGET(BINARY_OP_SUBSCR_STR_INT) {
  |  |  ------------------
  |  |  |  |  132|  2.23k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  988|       |            #if _Py_TAIL_CALL_INTERP
  |  |  989|       |            int opcode = BINARY_OP_SUBSCR_STR_INT;
  |  |  990|       |            (void)(opcode);
  |  |  991|       |            #endif
  |  |  992|  2.23k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  993|  2.23k|            (void)this_instr;
  |  |  994|  2.23k|            frame->instr_ptr = next_instr;
  |  |  995|  2.23k|            next_instr += 6;
  |  |  996|  2.23k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_STR_INT);
  |  |  ------------------
  |  |  |  |   71|  2.23k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  997|  2.23k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  998|  2.23k|            _PyStackRef value;
  |  |  999|  2.23k|            _PyStackRef nos;
  |  | 1000|  2.23k|            _PyStackRef str_st;
  |  | 1001|  2.23k|            _PyStackRef sub_st;
  |  | 1002|  2.23k|            _PyStackRef res;
  |  | 1003|  2.23k|            _PyStackRef s;
  |  | 1004|  2.23k|            _PyStackRef i;
  |  | 1005|       |            // _GUARD_TOS_INT
  |  | 1006|  2.23k|            {
  |  | 1007|  2.23k|                value = stack_pointer[-1];
  |  | 1008|  2.23k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1009|  2.23k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1009:21): [True: 0, False: 2.23k]
  |  |  ------------------
  |  | 1010|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1011|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1011:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1012|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1013|      0|                }
  |  | 1014|  2.23k|            }
  |  | 1015|       |            // _GUARD_NOS_COMPACT_ASCII
  |  | 1016|  2.23k|            {
  |  | 1017|  2.23k|                nos = stack_pointer[-2];
  |  | 1018|  2.23k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1019|  2.23k|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  2.23k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.23k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1019:21): [True: 0, False: 2.23k]
  |  |  ------------------
  |  | 1020|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1021|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1021:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1022|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1023|      0|                }
  |  | 1024|  2.23k|                if (!PyUnicode_IS_COMPACT_ASCII(o)) {
  |  |  ------------------
  |  |  |  |  242|  2.23k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1024:21): [True: 10, False: 2.22k]
  |  |  ------------------
  |  | 1025|     10|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|     10|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1026|     10|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1026:21): [True: 10, False: 0]
  |  |  ------------------
  |  | 1027|     10|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|     10|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1028|      0|                }
  |  | 1029|  2.23k|            }
  |  | 1030|       |            /* Skip 5 cache entries */
  |  | 1031|       |            // _BINARY_OP_SUBSCR_STR_INT
  |  | 1032|  2.22k|            {
  |  | 1033|  2.22k|                sub_st = value;
  |  | 1034|  2.22k|                str_st = nos;
  |  | 1035|  2.22k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1036|  2.22k|                PyObject *str = PyStackRef_AsPyObjectBorrow(str_st);
  |  | 1037|  2.22k|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1037:17): [True: 2.22k, False: 0]
  |  |  ------------------
  |  | 1038|  2.22k|                assert(PyUnicode_CheckExact(str));
  |  |  ------------------
  |  |  |  Branch (1038:17): [True: 2.22k, False: 0]
  |  |  ------------------
  |  | 1039|  2.22k|                if (!_PyLong_IsNonNegativeCompact((PyLongObject*)sub)) {
  |  |  ------------------
  |  |  |  Branch (1039:21): [True: 0, False: 2.22k]
  |  |  ------------------
  |  | 1040|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1041|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1041:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1042|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1043|      0|                }
  |  | 1044|  2.22k|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1045|  2.22k|                if (PyUnicode_GET_LENGTH(str) <= index) {
  |  |  ------------------
  |  |  |  |  300|  2.22k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1045:21): [True: 7, False: 2.21k]
  |  |  ------------------
  |  | 1046|      7|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      7|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1047|      7|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1047:21): [True: 7, False: 0]
  |  |  ------------------
  |  | 1048|      7|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      7|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1049|      0|                }
  |  | 1050|  2.21k|                uint8_t c = PyUnicode_1BYTE_DATA(str)[index];
  |  |  ------------------
  |  |  |  |  292|  2.21k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  2.21k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1051|  2.21k|                assert(c < 128);
  |  |  ------------------
  |  |  |  Branch (1051:17): [True: 2.21k, False: 0]
  |  |  ------------------
  |  | 1052|  2.21k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  2.21k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1053|  2.21k|                PyObject *res_o = (PyObject*)&_Py_SINGLETON(strings).ascii[c];
  |  |  ------------------
  |  |  |  |   18|  2.21k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.21k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1054|  2.21k|                s = str_st;
  |  | 1055|  2.21k|                i = sub_st;
  |  | 1056|  2.21k|                res = PyStackRef_FromPyObjectBorrow(res_o);
  |  | 1057|  2.21k|            }
  |  | 1058|       |            // _POP_TOP_INT
  |  | 1059|      0|            {
  |  | 1060|  2.21k|                value = i;
  |  | 1061|  2.21k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1061:17): [True: 2.21k, False: 0]
  |  |  ------------------
  |  | 1062|  2.21k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1063|  2.21k|            }
  |  | 1064|       |            // _POP_TOP_UNICODE
  |  | 1065|      0|            {
  |  | 1066|  2.21k|                value = s;
  |  | 1067|  2.21k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1067:17): [True: 2.21k, False: 0]
  |  |  ------------------
  |  | 1068|  2.21k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 1069|  2.21k|            }
  |  | 1070|      0|            stack_pointer[-2] = res;
  |  | 1071|  2.21k|            stack_pointer += -1;
  |  | 1072|  2.21k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.21k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1073|  2.21k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.21k|    { \
  |  |  |  |  201|  2.21k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.21k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.21k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.21k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.21k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.21k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.21k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.21k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.21k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.21k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.21k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.21k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.21k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.21k|    }
  |  |  ------------------
  |  | 1074|  2.21k|        }
  |  | 1075|       |
  |  | 1076|  2.09k|        TARGET(BINARY_OP_SUBSCR_TUPLE_INT) {
  |  |  ------------------
  |  |  |  |  132|  2.09k|#  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.09k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1082|  2.09k|            (void)this_instr;
  |  | 1083|  2.09k|            frame->instr_ptr = next_instr;
  |  | 1084|  2.09k|            next_instr += 6;
  |  | 1085|  2.09k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_TUPLE_INT);
  |  |  ------------------
  |  |  |  |   71|  2.09k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1086|  2.09k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1087|  2.09k|            _PyStackRef value;
  |  | 1088|  2.09k|            _PyStackRef nos;
  |  | 1089|  2.09k|            _PyStackRef tuple_st;
  |  | 1090|  2.09k|            _PyStackRef sub_st;
  |  | 1091|  2.09k|            _PyStackRef res;
  |  | 1092|  2.09k|            _PyStackRef ts;
  |  | 1093|  2.09k|            _PyStackRef ss;
  |  | 1094|       |            // _GUARD_TOS_INT
  |  | 1095|  2.09k|            {
  |  | 1096|  2.09k|                value = stack_pointer[-1];
  |  | 1097|  2.09k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1098|  2.09k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1098:21): [True: 0, False: 2.09k]
  |  |  ------------------
  |  | 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.09k|            }
  |  | 1104|       |            // _GUARD_NOS_TUPLE
  |  | 1105|  2.09k|            {
  |  | 1106|  2.09k|                nos = stack_pointer[-2];
  |  | 1107|  2.09k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1108|  2.09k|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|  2.09k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.09k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1108:21): [True: 0, False: 2.09k]
  |  |  ------------------
  |  | 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.09k|            }
  |  | 1114|       |            // _GUARD_BINARY_OP_SUBSCR_TUPLE_INT_BOUNDS
  |  | 1115|  2.09k|            {
  |  | 1116|  2.09k|                sub_st = value;
  |  | 1117|  2.09k|                tuple_st = nos;
  |  | 1118|  2.09k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1119|  2.09k|                PyObject *tuple = PyStackRef_AsPyObjectBorrow(tuple_st);
  |  | 1120|  2.09k|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1120:17): [True: 2.09k, False: 0]
  |  |  ------------------
  |  | 1121|  2.09k|                assert(PyTuple_CheckExact(tuple));
  |  |  ------------------
  |  |  |  Branch (1121:17): [True: 2.09k, False: 0]
  |  |  ------------------
  |  | 1122|  2.09k|                if (!_PyLong_IsNonNegativeCompact((PyLongObject *)sub)) {
  |  |  ------------------
  |  |  |  Branch (1122:21): [True: 0, False: 2.09k]
  |  |  ------------------
  |  | 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.09k|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1128|  2.09k|                if (index >= PyTuple_GET_SIZE(tuple)) {
  |  |  ------------------
  |  |  |  |   27|  2.09k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1128:21): [True: 0, False: 2.09k]
  |  |  ------------------
  |  | 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.09k|            }
  |  | 1134|       |            /* Skip 5 cache entries */
  |  | 1135|       |            // _BINARY_OP_SUBSCR_TUPLE_INT
  |  | 1136|  2.09k|            {
  |  | 1137|  2.09k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1138|  2.09k|                PyObject *tuple = PyStackRef_AsPyObjectBorrow(tuple_st);
  |  | 1139|  2.09k|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1139:17): [True: 2.09k, False: 0]
  |  |  ------------------
  |  | 1140|  2.09k|                assert(PyTuple_CheckExact(tuple));
  |  |  ------------------
  |  |  |  Branch (1140:17): [True: 2.09k, False: 0]
  |  |  ------------------
  |  | 1141|  2.09k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  2.09k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1142|  2.09k|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1143|  2.09k|                PyObject *res_o = PyTuple_GET_ITEM(tuple, index);
  |  |  ------------------
  |  |  |  |   29|  2.09k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  2.09k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1143:35): [True: 2.09k, False: 0]
  |  |  ------------------
  |  | 1144|  2.09k|                assert(res_o != NULL);
  |  |  ------------------
  |  |  |  Branch (1144:17): [True: 2.09k, False: 0]
  |  |  ------------------
  |  | 1145|  2.09k|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  2.09k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1146|  2.09k|                ts = tuple_st;
  |  | 1147|  2.09k|                ss = sub_st;
  |  | 1148|  2.09k|            }
  |  | 1149|       |            // _POP_TOP_INT
  |  | 1150|      0|            {
  |  | 1151|  2.09k|                value = ss;
  |  | 1152|  2.09k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1152:17): [True: 2.09k, False: 0]
  |  |  ------------------
  |  | 1153|  2.09k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1154|  2.09k|            }
  |  | 1155|       |            // _POP_TOP
  |  | 1156|      0|            {
  |  | 1157|  2.09k|                value = ts;
  |  | 1158|  2.09k|                stack_pointer[-2] = res;
  |  | 1159|  2.09k|                stack_pointer += -1;
  |  | 1160|  2.09k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.09k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1161|  2.09k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1162|  2.09k|                _PyFrame_StackPointerValidate(frame);
  |  | 1163|  2.09k|                PyStackRef_XCLOSE(value);
  |  | 1164|  2.09k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1165|  2.09k|            }
  |  | 1166|  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|    }
  |  |  ------------------
  |  | 1167|  2.09k|        }
  |  | 1168|       |
  |  | 1169|  2.76M|        TARGET(BINARY_OP_SUBSCR_USTR_INT) {
  |  |  ------------------
  |  |  |  |  132|  2.76M|#  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|  2.76M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1175|  2.76M|            (void)this_instr;
  |  | 1176|  2.76M|            frame->instr_ptr = next_instr;
  |  | 1177|  2.76M|            next_instr += 6;
  |  | 1178|  2.76M|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_USTR_INT);
  |  |  ------------------
  |  |  |  |   71|  2.76M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1179|  2.76M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1180|  2.76M|            _PyStackRef value;
  |  | 1181|  2.76M|            _PyStackRef nos;
  |  | 1182|  2.76M|            _PyStackRef str_st;
  |  | 1183|  2.76M|            _PyStackRef sub_st;
  |  | 1184|  2.76M|            _PyStackRef res;
  |  | 1185|  2.76M|            _PyStackRef s;
  |  | 1186|  2.76M|            _PyStackRef i;
  |  | 1187|       |            // _GUARD_TOS_INT
  |  | 1188|  2.76M|            {
  |  | 1189|  2.76M|                value = stack_pointer[-1];
  |  | 1190|  2.76M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1191|  2.76M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1191:21): [True: 0, False: 2.76M]
  |  |  ------------------
  |  | 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|  2.76M|            }
  |  | 1197|       |            // _GUARD_NOS_UNICODE
  |  | 1198|  2.76M|            {
  |  | 1199|  2.76M|                nos = stack_pointer[-2];
  |  | 1200|  2.76M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1201|  2.76M|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  2.76M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.76M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1201:21): [True: 0, False: 2.76M]
  |  |  ------------------
  |  | 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|  2.76M|            }
  |  | 1207|       |            /* Skip 5 cache entries */
  |  | 1208|       |            // _BINARY_OP_SUBSCR_USTR_INT
  |  | 1209|  2.76M|            {
  |  | 1210|  2.76M|                sub_st = value;
  |  | 1211|  2.76M|                str_st = nos;
  |  | 1212|  2.76M|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1213|  2.76M|                PyObject *str = PyStackRef_AsPyObjectBorrow(str_st);
  |  | 1214|  2.76M|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1214:17): [True: 2.76M, False: 0]
  |  |  ------------------
  |  | 1215|  2.76M|                assert(PyUnicode_CheckExact(str));
  |  |  ------------------
  |  |  |  Branch (1215:17): [True: 2.76M, False: 0]
  |  |  ------------------
  |  | 1216|  2.76M|                if (!_PyLong_IsNonNegativeCompact((PyLongObject*)sub)) {
  |  |  ------------------
  |  |  |  Branch (1216:21): [True: 0, False: 2.76M]
  |  |  ------------------
  |  | 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|  2.76M|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1222|  2.76M|                if (PyUnicode_GET_LENGTH(str) <= index) {
  |  |  ------------------
  |  |  |  |  300|  2.76M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1222:21): [True: 0, False: 2.76M]
  |  |  ------------------
  |  | 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|  2.76M|                Py_UCS4 c = PyUnicode_READ_CHAR(str, index);
  |  |  ------------------
  |  |  |  |  382|  2.76M|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1228|  2.76M|                if (Py_ARRAY_LENGTH(_Py_SINGLETON(strings).ascii) <= c) {
  |  |  ------------------
  |  |  |  |  232|  2.76M|    (sizeof(array) / sizeof((array)[0]))
  |  |  ------------------
  |  |  |  Branch (1228:21): [True: 2.67M, False: 94.8k]
  |  |  ------------------
  |  | 1229|  2.67M|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  2.67M|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1230|  2.67M|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1230:21): [True: 2.67M, False: 0]
  |  |  ------------------
  |  | 1231|  2.67M|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  2.67M|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1232|      0|                }
  |  | 1233|  94.8k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  94.8k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1234|  94.8k|                PyObject *res_o = (PyObject*)&_Py_SINGLETON(strings).ascii[c];
  |  |  ------------------
  |  |  |  |   18|  94.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  94.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1235|  94.8k|                s = str_st;
  |  | 1236|  94.8k|                i = sub_st;
  |  | 1237|  94.8k|                res = PyStackRef_FromPyObjectBorrow(res_o);
  |  | 1238|  94.8k|            }
  |  | 1239|       |            // _POP_TOP_INT
  |  | 1240|      0|            {
  |  | 1241|  94.8k|                value = i;
  |  | 1242|  94.8k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1242:17): [True: 94.8k, False: 0]
  |  |  ------------------
  |  | 1243|  94.8k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1244|  94.8k|            }
  |  | 1245|       |            // _POP_TOP_UNICODE
  |  | 1246|      0|            {
  |  | 1247|  94.8k|                value = s;
  |  | 1248|  94.8k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1248:17): [True: 94.8k, False: 0]
  |  |  ------------------
  |  | 1249|  94.8k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 1250|  94.8k|            }
  |  | 1251|      0|            stack_pointer[-2] = res;
  |  | 1252|  94.8k|            stack_pointer += -1;
  |  | 1253|  94.8k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  94.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1254|  94.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  94.8k|    { \
  |  |  |  |  201|  94.8k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  94.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  94.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  94.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  94.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  94.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  94.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  94.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 94.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  94.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  94.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  94.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  94.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  94.8k|    }
  |  |  ------------------
  |  | 1255|  94.8k|        }
  |  | 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|  1.48M|        TARGET(BINARY_OP_SUBTRACT_INT) {
  |  |  ------------------
  |  |  |  |  132|  1.48M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1333|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1334|       |            int opcode = BINARY_OP_SUBTRACT_INT;
  |  | 1335|       |            (void)(opcode);
  |  | 1336|       |            #endif
  |  | 1337|  1.48M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1338|  1.48M|            (void)this_instr;
  |  | 1339|  1.48M|            frame->instr_ptr = next_instr;
  |  | 1340|  1.48M|            next_instr += 6;
  |  | 1341|  1.48M|            INSTRUCTION_STATS(BINARY_OP_SUBTRACT_INT);
  |  |  ------------------
  |  |  |  |   71|  1.48M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1342|  1.48M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1343|  1.48M|            _PyStackRef value;
  |  | 1344|  1.48M|            _PyStackRef left;
  |  | 1345|  1.48M|            _PyStackRef right;
  |  | 1346|  1.48M|            _PyStackRef res;
  |  | 1347|  1.48M|            _PyStackRef l;
  |  | 1348|  1.48M|            _PyStackRef r;
  |  | 1349|       |            // _GUARD_TOS_INT
  |  | 1350|  1.48M|            {
  |  | 1351|  1.48M|                value = stack_pointer[-1];
  |  | 1352|  1.48M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1353|  1.48M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1353:21): [True: 0, False: 1.48M]
  |  |  ------------------
  |  | 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|  1.48M|            }
  |  | 1359|       |            // _GUARD_NOS_INT
  |  | 1360|  1.48M|            {
  |  | 1361|  1.48M|                left = stack_pointer[-2];
  |  | 1362|  1.48M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1363|  1.48M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (1363:21): [True: 53, False: 1.48M]
  |  |  ------------------
  |  | 1364|     53|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|     53|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1365|     53|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1365:21): [True: 53, False: 0]
  |  |  ------------------
  |  | 1366|     53|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|     53|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1367|      0|                }
  |  | 1368|  1.48M|            }
  |  | 1369|       |            /* Skip 5 cache entries */
  |  | 1370|       |            // _BINARY_OP_SUBTRACT_INT
  |  | 1371|  1.48M|            {
  |  | 1372|  1.48M|                right = value;
  |  | 1373|  1.48M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1374|  1.48M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 1375|  1.48M|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (1375:17): [True: 1.48M, False: 0]
  |  |  ------------------
  |  | 1376|  1.48M|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (1376:17): [True: 1.48M, False: 0]
  |  |  ------------------
  |  | 1377|  1.48M|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (1377:17): [True: 1.48M, False: 0]
  |  |  ------------------
  |  | 1378|  1.48M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.48M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1379|  1.48M|                res = _PyCompactLong_Subtract((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  | 1380|  1.48M|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|  1.48M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.48M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.48M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.48M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  1.48M|                l = left;
  |  | 1386|  1.48M|                r = right;
  |  | 1387|  1.48M|            }
  |  | 1388|       |            // _POP_TOP_INT
  |  | 1389|      0|            {
  |  | 1390|  1.48M|                value = r;
  |  | 1391|  1.48M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1391:17): [True: 1.48M, False: 0]
  |  |  ------------------
  |  | 1392|  1.48M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1393|  1.48M|            }
  |  | 1394|       |            // _POP_TOP_INT
  |  | 1395|      0|            {
  |  | 1396|  1.48M|                value = l;
  |  | 1397|  1.48M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1397:17): [True: 1.48M, False: 0]
  |  |  ------------------
  |  | 1398|  1.48M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1399|  1.48M|            }
  |  | 1400|      0|            stack_pointer[-2] = res;
  |  | 1401|  1.48M|            stack_pointer += -1;
  |  | 1402|  1.48M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.48M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1403|  1.48M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.48M|    { \
  |  |  |  |  201|  1.48M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.48M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.48M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.48M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.48M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.48M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.48M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.48M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.48M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.48M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.48M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.48M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.48M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.48M|    }
  |  |  ------------------
  |  | 1404|  1.48M|        }
  |  | 1405|       |
  |  | 1406|   409k|        TARGET(BINARY_SLICE) {
  |  |  ------------------
  |  |  |  |  132|   409k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1407|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1408|       |            int opcode = BINARY_SLICE;
  |  | 1409|       |            (void)(opcode);
  |  | 1410|       |            #endif
  |  | 1411|   409k|            frame->instr_ptr = next_instr;
  |  | 1412|   409k|            next_instr += 1;
  |  | 1413|   409k|            INSTRUCTION_STATS(BINARY_SLICE);
  |  |  ------------------
  |  |  |  |   71|   409k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1414|   409k|            _PyStackRef container;
  |  | 1415|   409k|            _PyStackRef start;
  |  | 1416|   409k|            _PyStackRef stop;
  |  | 1417|   409k|            _PyStackRef res;
  |  | 1418|       |            // _SPECIALIZE_BINARY_SLICE
  |  | 1419|   409k|            {
  |  | 1420|   409k|                #if ENABLE_SPECIALIZATION
  |  | 1421|   409k|                OPCODE_DEFERRED_INC(BINARY_SLICE);
  |  |  ------------------
  |  |  |  |   90|   409k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 1422|   409k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 1423|   409k|            }
  |  | 1424|       |            // _BINARY_SLICE
  |  | 1425|   409k|            {
  |  | 1426|   409k|                stop = stack_pointer[-1];
  |  | 1427|   409k|                start = stack_pointer[-2];
  |  | 1428|   409k|                container = stack_pointer[-3];
  |  | 1429|   409k|                PyObject *container_o = PyStackRef_AsPyObjectBorrow(container);
  |  | 1430|   409k|                PyObject *start_o = PyStackRef_AsPyObjectBorrow(start);
  |  | 1431|   409k|                PyObject *stop_o = PyStackRef_AsPyObjectBorrow(stop);
  |  | 1432|   409k|                PyObject *res_o;
  |  | 1433|   409k|                if (PyList_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |   26|   409k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   409k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   409k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   409k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 1.27k, False: 408k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1434|  1.27k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1435|  1.27k|                    _PyFrame_StackPointerValidate(frame);
  |  | 1436|  1.27k|                    res_o = _PyList_BinarySlice(container_o, start_o, stop_o);
  |  | 1437|  1.27k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1438|  1.27k|                }
  |  | 1439|   408k|                else if (PyTuple_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |   28|   408k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   408k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   408k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   408k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 408k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|   408k|                else if (PyUnicode_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |  104|   408k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   408k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   408k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   408k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 371k, False: 37.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1446|   371k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1447|   371k|                    _PyFrame_StackPointerValidate(frame);
  |  | 1448|   371k|                    res_o = _PyUnicode_BinarySlice(container_o, start_o, stop_o);
  |  | 1449|   371k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1450|   371k|                }
  |  | 1451|  37.2k|                else {
  |  | 1452|  37.2k|                    PyObject *slice = PySlice_New(start_o, stop_o, NULL);
  |  | 1453|  37.2k|                    if (slice == NULL) {
  |  |  ------------------
  |  |  |  Branch (1453:25): [True: 0, False: 37.2k]
  |  |  ------------------
  |  | 1454|      0|                        res_o = NULL;
  |  | 1455|      0|                    }
  |  | 1456|  37.2k|                    else {
  |  | 1457|  37.2k|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1458|  37.2k|                        _PyFrame_StackPointerValidate(frame);
  |  | 1459|  37.2k|                        res_o = PyObject_GetItem(container_o, slice);
  |  | 1460|  37.2k|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 1461|  37.2k|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1461:25): [True: 37.2k, False: 0]
  |  |  ------------------
  |  | 1462|  37.2k|                        _PyFrame_StackPointerValidate(frame);
  |  | 1463|  37.2k|                        Py_DECREF(slice);
  |  |  ------------------
  |  |  |  |   80|  37.2k|    do { \
  |  |  |  |   81|  37.2k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  37.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  37.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  37.2k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  37.2k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  37.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  37.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 37.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|  37.2k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  37.2k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|  37.2k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 37.2k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|  37.2k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|  37.2k|    do { \
  |  |  |  |  |  |  110|  37.2k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|  37.2k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 37.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|  37.2k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 37.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|  37.2k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|  37.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  37.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  37.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|  37.2k|            (*dealloc)(op); \
  |  |  |  |   91|  37.2k|        } \
  |  |  |  |   92|  37.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 37.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1464|  37.2k|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 1465|  37.2k|                    }
  |  | 1466|  37.2k|                }
  |  | 1467|   409k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1468|   409k|                _PyFrame_StackPointerValidate(frame);
  |  | 1469|   409k|                _PyStackRef tmp = stop;
  |  | 1470|   409k|                stop = PyStackRef_NULL;
  |  | 1471|   409k|                stack_pointer[-1] = stop;
  |  | 1472|   409k|                PyStackRef_CLOSE(tmp);
  |  | 1473|   409k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1474|   409k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1474:17): [True: 409k, False: 0]
  |  |  ------------------
  |  | 1475|   409k|                _PyFrame_StackPointerValidate(frame);
  |  | 1476|   409k|                tmp = start;
  |  | 1477|   409k|                start = PyStackRef_NULL;
  |  | 1478|   409k|                stack_pointer[-2] = start;
  |  | 1479|   409k|                PyStackRef_CLOSE(tmp);
  |  | 1480|   409k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1481|   409k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1481:17): [True: 409k, False: 0]
  |  |  ------------------
  |  | 1482|   409k|                _PyFrame_StackPointerValidate(frame);
  |  | 1483|   409k|                tmp = container;
  |  | 1484|   409k|                container = PyStackRef_NULL;
  |  | 1485|   409k|                stack_pointer[-3] = container;
  |  | 1486|   409k|                PyStackRef_CLOSE(tmp);
  |  | 1487|   409k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1488|   409k|                stack_pointer += -3;
  |  | 1489|   409k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   409k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1490|   409k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1490:21): [True: 0, False: 409k]
  |  |  ------------------
  |  | 1491|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1492|      0|                }
  |  | 1493|   409k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 1494|   409k|            }
  |  | 1495|      0|            stack_pointer[0] = res;
  |  | 1496|   409k|            stack_pointer += 1;
  |  | 1497|   409k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   409k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1498|   409k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   409k|    { \
  |  |  |  |  201|   409k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   409k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   409k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   409k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   409k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   409k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   409k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   409k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 409k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   409k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   409k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   409k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   409k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   409k|    }
  |  |  ------------------
  |  | 1499|   409k|        }
  |  | 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|   288k|        TARGET(BUILD_LIST) {
  |  |  ------------------
  |  |  |  |  132|   288k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1564|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1565|       |            int opcode = BUILD_LIST;
  |  | 1566|       |            (void)(opcode);
  |  | 1567|       |            #endif
  |  | 1568|   288k|            frame->instr_ptr = next_instr;
  |  | 1569|   288k|            next_instr += 1;
  |  | 1570|   288k|            INSTRUCTION_STATS(BUILD_LIST);
  |  |  ------------------
  |  |  |  |   71|   288k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1571|   288k|            _PyStackRef *values;
  |  | 1572|   288k|            _PyStackRef list;
  |  | 1573|   288k|            values = &stack_pointer[-oparg];
  |  | 1574|   288k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1575|   288k|            _PyFrame_StackPointerValidate(frame);
  |  | 1576|   288k|            PyObject *list_o = _PyList_FromStackRefStealOnSuccess(values, oparg);
  |  | 1577|   288k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1578|   288k|            if (list_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1578:17): [True: 0, False: 288k]
  |  |  ------------------
  |  | 1579|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1580|      0|            }
  |  | 1581|   288k|            list = PyStackRef_FromPyObjectStealMortal(list_o);
  |  | 1582|   288k|            stack_pointer[-oparg] = list;
  |  | 1583|   288k|            stack_pointer += 1 - oparg;
  |  | 1584|   288k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   288k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1585|   288k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   288k|    { \
  |  |  |  |  201|   288k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   288k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   288k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   288k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   288k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   288k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   288k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   288k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 288k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   288k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   288k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   288k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   288k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   288k|    }
  |  |  ------------------
  |  | 1586|   288k|        }
  |  | 1587|       |
  |  | 1588|  1.94k|        TARGET(BUILD_MAP) {
  |  |  ------------------
  |  |  |  |  132|  1.94k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1589|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1590|       |            int opcode = BUILD_MAP;
  |  | 1591|       |            (void)(opcode);
  |  | 1592|       |            #endif
  |  | 1593|  1.94k|            frame->instr_ptr = next_instr;
  |  | 1594|  1.94k|            next_instr += 1;
  |  | 1595|  1.94k|            INSTRUCTION_STATS(BUILD_MAP);
  |  |  ------------------
  |  |  |  |   71|  1.94k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1596|  1.94k|            _PyStackRef *values;
  |  | 1597|  1.94k|            _PyStackRef map;
  |  | 1598|  1.94k|            values = &stack_pointer[-oparg*2];
  |  | 1599|  1.94k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1600|  1.94k|            _PyFrame_StackPointerValidate(frame);
  |  | 1601|  1.94k|            PyObject *map_o = _Py_BuildMap_StackRefSteal(values, oparg);
  |  | 1602|  1.94k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1603|  1.94k|            if (map_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1603:17): [True: 0, False: 1.94k]
  |  |  ------------------
  |  | 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.94k|            map = PyStackRef_FromPyObjectStealMortal(map_o);
  |  | 1609|  1.94k|            stack_pointer[-oparg*2] = map;
  |  | 1610|  1.94k|            stack_pointer += 1 - oparg*2;
  |  | 1611|  1.94k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.94k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1612|  1.94k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.94k|    { \
  |  |  |  |  201|  1.94k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.94k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.94k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.94k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.94k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.94k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.94k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.94k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.94k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.94k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.94k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.94k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.94k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.94k|    }
  |  |  ------------------
  |  | 1613|  1.94k|        }
  |  | 1614|       |
  |  | 1615|    189|        TARGET(BUILD_SET) {
  |  |  ------------------
  |  |  |  |  132|    189|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1616|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1617|       |            int opcode = BUILD_SET;
  |  | 1618|       |            (void)(opcode);
  |  | 1619|       |            #endif
  |  | 1620|    189|            frame->instr_ptr = next_instr;
  |  | 1621|    189|            next_instr += 1;
  |  | 1622|    189|            INSTRUCTION_STATS(BUILD_SET);
  |  |  ------------------
  |  |  |  |   71|    189|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1623|    189|            _PyStackRef *values;
  |  | 1624|    189|            _PyStackRef set;
  |  | 1625|    189|            values = &stack_pointer[-oparg];
  |  | 1626|    189|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1627|    189|            _PyFrame_StackPointerValidate(frame);
  |  | 1628|    189|            PyObject *set_o = PySet_New(NULL);
  |  | 1629|    189|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1630|    189|            if (set_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1630:17): [True: 0, False: 189]
  |  |  ------------------
  |  | 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|    189|            int err = 0;
  |  | 1645|    451|            for (Py_ssize_t i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (1645:36): [True: 262, False: 189]
  |  |  ------------------
  |  | 1646|    262|                _PyStackRef value = values[i];
  |  | 1647|    262|                values[i] = PyStackRef_NULL;
  |  | 1648|    262|                if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (1648:21): [True: 262, False: 0]
  |  |  ------------------
  |  | 1649|    262|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1649:21): [True: 262, False: 0]
  |  |  ------------------
  |  | 1650|    262|                    _PyFrame_StackPointerValidate(frame);
  |  | 1651|    262|                    err = _PySet_AddTakeRef((PySetObject *)set_o, PyStackRef_AsPyObjectSteal(value));
  |  | 1652|    262|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1653|    262|                }
  |  | 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|    262|            }
  |  | 1661|    189|            if (err) {
  |  |  ------------------
  |  |  |  Branch (1661:17): [True: 0, False: 189]
  |  |  ------------------
  |  | 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|    189|            set = PyStackRef_FromPyObjectStealMortal(set_o);
  |  | 1671|    189|            stack_pointer[-oparg] = set;
  |  | 1672|    189|            stack_pointer += 1 - oparg;
  |  | 1673|    189|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    189|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1674|    189|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    189|    { \
  |  |  |  |  201|    189|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    189|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    189|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    189|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    189|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    189|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    189|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    189|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 189]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    189|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    189|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    189|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    189|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    189|    }
  |  |  ------------------
  |  | 1675|    189|        }
  |  | 1676|       |
  |  | 1677|     48|        TARGET(BUILD_SLICE) {
  |  |  ------------------
  |  |  |  |  132|     48|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1678|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1679|       |            int opcode = BUILD_SLICE;
  |  | 1680|       |            (void)(opcode);
  |  | 1681|       |            #endif
  |  | 1682|     48|            frame->instr_ptr = next_instr;
  |  | 1683|     48|            next_instr += 1;
  |  | 1684|     48|            INSTRUCTION_STATS(BUILD_SLICE);
  |  |  ------------------
  |  |  |  |   71|     48|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1685|     48|            _PyStackRef *args;
  |  | 1686|     48|            _PyStackRef slice;
  |  | 1687|     48|            args = &stack_pointer[-oparg];
  |  | 1688|     48|            PyObject *start_o = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 1689|     48|            PyObject *stop_o = PyStackRef_AsPyObjectBorrow(args[1]);
  |  | 1690|     48|            PyObject *step_o = oparg == 3 ? PyStackRef_AsPyObjectBorrow(args[2]) : NULL;
  |  |  ------------------
  |  |  |  Branch (1690:32): [True: 47, False: 1]
  |  |  ------------------
  |  | 1691|     48|            PyObject *slice_o = PySlice_New(start_o, stop_o, step_o);
  |  | 1692|     48|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1693|     48|            _PyFrame_StackPointerValidate(frame);
  |  | 1694|     48|            _PyStackRef tmp;
  |  | 1695|    191|            for (int _i = oparg; --_i >= 0;) {
  |  |  ------------------
  |  |  |  Branch (1695:34): [True: 143, False: 48]
  |  |  ------------------
  |  | 1696|    143|                tmp = args[_i];
  |  | 1697|    143|                args[_i] = PyStackRef_NULL;
  |  | 1698|    143|                PyStackRef_CLOSE(tmp);
  |  | 1699|    143|            }
  |  | 1700|     48|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1701|     48|            stack_pointer += -oparg;
  |  | 1702|     48|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     48|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1703|     48|            if (slice_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1703:17): [True: 0, False: 48]
  |  |  ------------------
  |  | 1704|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1705|      0|            }
  |  | 1706|     48|            slice = PyStackRef_FromPyObjectStealMortal(slice_o);
  |  | 1707|     48|            stack_pointer[0] = slice;
  |  | 1708|     48|            stack_pointer += 1;
  |  | 1709|     48|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     48|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1710|     48|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     48|    { \
  |  |  |  |  201|     48|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     48|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     48|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     48|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     48|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     48|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     48|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     48|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 48]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     48|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     48|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     48|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     48|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     48|    }
  |  |  ------------------
  |  | 1711|     48|        }
  |  | 1712|       |
  |  | 1713|  42.3k|        TARGET(BUILD_STRING) {
  |  |  ------------------
  |  |  |  |  132|  42.3k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1714|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1715|       |            int opcode = BUILD_STRING;
  |  | 1716|       |            (void)(opcode);
  |  | 1717|       |            #endif
  |  | 1718|  42.3k|            frame->instr_ptr = next_instr;
  |  | 1719|  42.3k|            next_instr += 1;
  |  | 1720|  42.3k|            INSTRUCTION_STATS(BUILD_STRING);
  |  |  ------------------
  |  |  |  |   71|  42.3k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1721|  42.3k|            _PyStackRef *pieces;
  |  | 1722|  42.3k|            _PyStackRef str;
  |  | 1723|  42.3k|            pieces = &stack_pointer[-oparg];
  |  | 1724|  42.3k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1725|  42.3k|            _PyFrame_StackPointerValidate(frame);
  |  | 1726|  42.3k|            PyObject *str_o = _Py_BuildString_StackRefSteal(pieces, oparg);
  |  | 1727|  42.3k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1728|  42.3k|            if (str_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1728:17): [True: 0, False: 42.3k]
  |  |  ------------------
  |  | 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|  42.3k|            str = PyStackRef_FromPyObjectSteal(str_o);
  |  | 1734|  42.3k|            stack_pointer[-oparg] = str;
  |  | 1735|  42.3k|            stack_pointer += 1 - oparg;
  |  | 1736|  42.3k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  42.3k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1737|  42.3k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  42.3k|    { \
  |  |  |  |  201|  42.3k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  42.3k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  42.3k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  42.3k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  42.3k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  42.3k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  42.3k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  42.3k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 42.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  42.3k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  42.3k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  42.3k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  42.3k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  42.3k|    }
  |  |  ------------------
  |  | 1738|  42.3k|        }
  |  | 1739|       |
  |  | 1740|      0|        TARGET(BUILD_TEMPLATE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1741|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1742|       |            int opcode = BUILD_TEMPLATE;
  |  | 1743|       |            (void)(opcode);
  |  | 1744|       |            #endif
  |  | 1745|      0|            frame->instr_ptr = next_instr;
  |  | 1746|      0|            next_instr += 1;
  |  | 1747|      0|            INSTRUCTION_STATS(BUILD_TEMPLATE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1748|      0|            _PyStackRef strings;
  |  | 1749|      0|            _PyStackRef interpolations;
  |  | 1750|      0|            _PyStackRef template;
  |  | 1751|      0|            interpolations = stack_pointer[-1];
  |  | 1752|      0|            strings = stack_pointer[-2];
  |  | 1753|      0|            PyObject *strings_o = PyStackRef_AsPyObjectBorrow(strings);
  |  | 1754|      0|            PyObject *interpolations_o = PyStackRef_AsPyObjectBorrow(interpolations);
  |  | 1755|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1756|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 1757|      0|            PyObject *template_o = _PyTemplate_Build(strings_o, interpolations_o);
  |  | 1758|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1759|      0|            stack_pointer += -1;
  |  | 1760|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  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|   404k|        TARGET(BUILD_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|   404k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1782|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1783|       |            int opcode = BUILD_TUPLE;
  |  | 1784|       |            (void)(opcode);
  |  | 1785|       |            #endif
  |  | 1786|   404k|            frame->instr_ptr = next_instr;
  |  | 1787|   404k|            next_instr += 1;
  |  | 1788|   404k|            INSTRUCTION_STATS(BUILD_TUPLE);
  |  |  ------------------
  |  |  |  |   71|   404k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1789|   404k|            _PyStackRef *values;
  |  | 1790|   404k|            _PyStackRef tup;
  |  | 1791|   404k|            values = &stack_pointer[-oparg];
  |  | 1792|   404k|            PyObject *tup_o = _PyTuple_FromStackRefStealOnSuccess(values, oparg);
  |  | 1793|   404k|            if (tup_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1793:17): [True: 0, False: 404k]
  |  |  ------------------
  |  | 1794|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1795|      0|            }
  |  | 1796|   404k|            tup = PyStackRef_FromPyObjectStealMortal(tup_o);
  |  | 1797|   404k|            stack_pointer[-oparg] = tup;
  |  | 1798|   404k|            stack_pointer += 1 - oparg;
  |  | 1799|   404k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   404k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1800|   404k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   404k|    { \
  |  |  |  |  201|   404k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   404k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   404k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   404k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   404k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   404k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   404k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   404k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 404k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   404k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   404k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   404k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   404k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   404k|    }
  |  |  ------------------
  |  | 1801|   404k|        }
  |  | 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|  4.64k|        TARGET(CALL) {
  |  |  ------------------
  |  |  |  |  132|  4.64k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1817|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1818|       |            int opcode = CALL;
  |  | 1819|       |            (void)(opcode);
  |  | 1820|       |            #endif
  |  | 1821|  4.64k|            frame->instr_ptr = next_instr;
  |  | 1822|  4.64k|            next_instr += 4;
  |  | 1823|  4.64k|            INSTRUCTION_STATS(CALL);
  |  |  ------------------
  |  |  |  |   71|  4.64k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1824|  6.85k|            PREDICTED_CALL:;
  |  | 1825|  6.85k|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  | 1826|  6.85k|            (void)this_instr;
  |  | 1827|  6.85k|            opcode = CALL;
  |  |  ------------------
  |  |  |  |   63|  6.85k|#define CALL                                    50
  |  |  ------------------
  |  | 1828|  6.85k|            _PyStackRef callable;
  |  | 1829|  6.85k|            _PyStackRef self_or_null;
  |  | 1830|  6.85k|            _PyStackRef *args;
  |  | 1831|  6.85k|            _PyStackRef res;
  |  | 1832|       |            // _SPECIALIZE_CALL
  |  | 1833|  6.85k|            {
  |  | 1834|  6.85k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 1835|  6.85k|                callable = stack_pointer[-2 - oparg];
  |  | 1836|  6.85k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 1837|  6.85k|                (void)counter;
  |  | 1838|  6.85k|                #if ENABLE_SPECIALIZATION
  |  | 1839|  6.85k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  6.85k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 1.38k, False: 5.46k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1840|  1.38k|                    next_instr = this_instr;
  |  | 1841|  1.38k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1842|  1.38k|                    _PyFrame_StackPointerValidate(frame);
  |  | 1843|  1.38k|                    _Py_Specialize_Call(callable, self_or_null, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  |  482|  1.38k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.38k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.38k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1844|  1.38k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1845|  1.38k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.38k|    { \
  |  |  |  |  217|  1.38k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.38k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.38k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.38k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.38k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.38k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.38k|    }
  |  |  ------------------
  |  | 1846|  1.38k|                }
  |  | 1847|  6.85k|                OPCODE_DEFERRED_INC(CALL);
  |  |  ------------------
  |  |  |  |   90|  6.85k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 1848|  6.85k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  6.85k|    do { \
  |  |  |  |  378|  6.85k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  6.85k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 6.85k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1849|  6.85k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 1850|  6.85k|            }
  |  | 1851|       |            /* Skip 2 cache entries */
  |  | 1852|       |            // _MAYBE_EXPAND_METHOD
  |  | 1853|  6.85k|            {
  |  | 1854|  6.85k|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    501|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    501|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    501|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 501, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1854:21): [True: 501, False: 6.35k]
  |  |  ------------------
  |  | 1855|    501|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1856|    501|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 1857|    501|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|    501|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    501|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    501|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1858|    501|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 1859|    501|                    _PyStackRef temp = callable;
  |  | 1860|    501|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|    501|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    501|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    501|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1861|    501|                    stack_pointer[-2 - oparg] = callable;
  |  | 1862|    501|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 1863|    501|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1864|    501|                    _PyFrame_StackPointerValidate(frame);
  |  | 1865|    501|                    PyStackRef_CLOSE(temp);
  |  | 1866|    501|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1867|    501|                }
  |  | 1868|  6.85k|            }
  |  | 1869|       |            // _DO_CALL
  |  | 1870|  6.85k|            {
  |  | 1871|  6.85k|                args = &stack_pointer[-oparg];
  |  | 1872|  6.85k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1873|  6.85k|                int total_args = oparg;
  |  | 1874|  6.85k|                _PyStackRef *arguments = args;
  |  | 1875|  6.85k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  6.85k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  6.85k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  6.85k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1875:21): [True: 2.91k, False: 3.93k]
  |  |  ------------------
  |  | 1876|  2.91k|                    arguments--;
  |  | 1877|  2.91k|                    total_args++;
  |  | 1878|  2.91k|                }
  |  | 1879|  6.85k|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|  6.85k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1879:21): [True: 2.01k, False: 4.84k]
  |  |  ------------------
  |  | 1880|  2.01k|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|  8.86k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (1880:21): [True: 2.01k, False: 0]
  |  |  ------------------
  |  | 1881|  2.01k|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (1881:21): [True: 2.01k, False: 0]
  |  |  ------------------
  |  | 1882|  2.01k|                {
  |  | 1883|  2.01k|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  2.01k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1884|  2.01k|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|  2.01k|#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.01k, False: 0]
  |  |  ------------------
  |  | 1885|  2.01k|                    stack_pointer[-2 - oparg] = callable;
  |  | 1886|  2.01k|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 1887|  2.01k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1888|  2.01k|                    _PyFrame_StackPointerValidate(frame);
  |  | 1889|  2.01k|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 1890|  2.01k|                        tstate, callable, locals,
  |  | 1891|  2.01k|                        arguments, total_args, NULL, frame
  |  | 1892|  2.01k|                    );
  |  | 1893|  2.01k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1894|  2.01k|                    stack_pointer += -2 - oparg;
  |  | 1895|  2.01k|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.01k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1896|  2.01k|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (1896:25): [True: 0, False: 2.01k]
  |  |  ------------------
  |  | 1897|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1898|      0|                    }
  |  | 1899|  2.01k|                    frame->return_offset = 4u ;
  |  | 1900|  2.01k|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|  2.01k|    do {                                                         \
  |  |  |  |  224|  2.01k|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|  2.01k|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|  2.01k|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|  2.01k|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|  2.01k|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|  2.01k|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|  2.01k|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|  2.01k|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  2.01k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1900:21): [True: 2.01k, False: 0]
  |  |  |  Branch (1900:21): [True: 2.01k, False: 0]
  |  |  ------------------
  |  | 1901|  2.01k|                }
  |  | 1902|  4.84k|                stack_pointer[-2 - oparg] = callable;
  |  | 1903|  4.84k|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 1904|  4.84k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1905|  4.84k|                _PyFrame_StackPointerValidate(frame);
  |  | 1906|  4.84k|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 1907|  4.84k|                    callable,
  |  | 1908|  4.84k|                    arguments,
  |  | 1909|  4.84k|                    total_args,
  |  | 1910|  4.84k|                    PyStackRef_NULL,
  |  | 1911|  4.84k|                    opcode == INSTRUMENTED_CALL,
  |  |  ------------------
  |  |  |  |  237|  4.84k|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 1912|  4.84k|                    frame,
  |  | 1913|  4.84k|                    this_instr,
  |  | 1914|  4.84k|                    tstate);
  |  | 1915|  4.84k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1916|  4.84k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1916:21): [True: 32, False: 4.81k]
  |  |  ------------------
  |  | 1917|     32|                    stack_pointer += -2 - oparg;
  |  | 1918|     32|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     32|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1919|     32|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     32|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1920|      0|                }
  |  | 1921|  4.81k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 1922|  4.81k|            }
  |  | 1923|       |            // _CHECK_PERIODIC_AT_END
  |  | 1924|      0|            {
  |  | 1925|  4.81k|                stack_pointer[-2 - oparg] = res;
  |  | 1926|  4.81k|                stack_pointer += -1 - oparg;
  |  | 1927|  4.81k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  4.81k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1928|  4.81k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1929|  4.81k|                _PyFrame_StackPointerValidate(frame);
  |  | 1930|  4.81k|                int err = check_periodics_at_end(tstate, frame);
  |  | 1931|  4.81k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1932|  4.81k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (1932:21): [True: 0, False: 4.81k]
  |  |  ------------------
  |  | 1933|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1934|      0|                }
  |  | 1935|  4.81k|            }
  |  | 1936|  4.81k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.81k|    { \
  |  |  |  |  201|  4.81k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.81k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.81k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.81k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  4.81k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.81k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.81k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.81k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.81k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.81k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.81k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.81k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.81k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.81k|    }
  |  |  ------------------
  |  | 1937|  4.81k|        }
  |  | 1938|       |
  |  | 1939|    986|        TARGET(CALL_ALLOC_AND_ENTER_INIT) {
  |  |  ------------------
  |  |  |  |  132|    986|#  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|    986|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1945|    986|            (void)this_instr;
  |  | 1946|    986|            frame->instr_ptr = next_instr;
  |  | 1947|    986|            next_instr += 4;
  |  | 1948|    986|            INSTRUCTION_STATS(CALL_ALLOC_AND_ENTER_INIT);
  |  |  ------------------
  |  |  |  |   71|    986|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1949|    986|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 1950|    986|            _PyStackRef callable;
  |  | 1951|    986|            _PyStackRef self_or_null;
  |  | 1952|    986|            _PyStackRef init;
  |  | 1953|    986|            _PyStackRef self;
  |  | 1954|    986|            _PyStackRef *args;
  |  | 1955|    986|            _PyStackRef init_frame;
  |  | 1956|    986|            _PyStackRef new_frame;
  |  | 1957|       |            /* Skip 1 cache entry */
  |  | 1958|       |            // _CHECK_PEP_523
  |  | 1959|    986|            {
  |  | 1960|    986|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|    986|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 986]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|    986|            }
  |  | 1966|       |            // _CHECK_OBJECT
  |  | 1967|    986|            {
  |  | 1968|    986|                self_or_null = stack_pointer[-1 - oparg];
  |  | 1969|    986|                callable = stack_pointer[-2 - oparg];
  |  | 1970|    986|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 1971|    986|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1972|    986|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    986|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    986|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    986|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1972:21): [True: 0, False: 986]
  |  |  ------------------
  |  | 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|    986|                if (!PyType_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |  766|    986|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    986|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    986|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1977:21): [True: 0, False: 986]
  |  |  ------------------
  |  | 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|    986|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 1983|    986|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  161|    986|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (1983:21): [True: 10, False: 976]
  |  |  ------------------
  |  | 1984|     10|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     10|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1985|     10|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (1985:21): [True: 10, False: 0]
  |  |  ------------------
  |  | 1986|     10|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     10|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1987|      0|                }
  |  | 1988|    986|            }
  |  | 1989|       |            // _CHECK_RECURSION_REMAINING
  |  | 1990|    976|            {
  |  | 1991|    976|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (1991:21): [True: 0, False: 976]
  |  |  ------------------
  |  | 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|    976|            }
  |  | 1997|       |            // _ALLOCATE_OBJECT
  |  | 1998|    976|            {
  |  | 1999|    976|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2000|    976|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (2000:17): [True: 976, False: 0]
  |  |  ------------------
  |  | 2001|    976|                assert(PyType_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (2001:17): [True: 976, False: 0]
  |  |  ------------------
  |  | 2002|    976|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 2003|    976|                assert(tp->tp_new == PyBaseObject_Type.tp_new);
  |  |  ------------------
  |  |  |  Branch (2003:17): [True: 976, False: 0]
  |  |  ------------------
  |  | 2004|    976|                assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE);
  |  |  ------------------
  |  |  |  Branch (2004:17): [True: 976, False: 0]
  |  |  ------------------
  |  | 2005|    976|                assert(tp->tp_alloc == PyType_GenericAlloc);
  |  |  ------------------
  |  |  |  Branch (2005:17): [True: 976, False: 0]
  |  |  ------------------
  |  | 2006|    976|                PyHeapTypeObject *cls = (PyHeapTypeObject *)callable_o;
  |  | 2007|    976|                PyFunctionObject *init_func = (PyFunctionObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(cls->_spec_cache.init);
  |  |  ------------------
  |  |  |  |  152|    976|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 2008|    976|                PyCodeObject *code = (PyCodeObject *)init_func->func_code;
  |  | 2009|    976|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize + _Py_InitCleanup.co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (2009:21): [True: 0, False: 976]
  |  |  ------------------
  |  | 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|    976|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    976|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2015|    976|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2016|    976|                _PyFrame_StackPointerValidate(frame);
  |  | 2017|    976|                PyObject *self_o = PyType_GenericAlloc(tp, 0);
  |  | 2018|    976|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2019|    976|                if (self_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2019:21): [True: 0, False: 976]
  |  |  ------------------
  |  | 2020|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2021|      0|                }
  |  | 2022|    976|                self_or_null = PyStackRef_FromPyObjectSteal(self_o);
  |  | 2023|    976|                _PyStackRef temp = callable;
  |  | 2024|    976|                callable = PyStackRef_FromPyObjectNew(init_func);
  |  |  ------------------
  |  |  |  |  611|    976|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    976|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    976|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2025|    976|                stack_pointer[-2 - oparg] = callable;
  |  | 2026|    976|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2027|    976|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2027:17): [True: 976, False: 0]
  |  |  ------------------
  |  | 2028|    976|                _PyFrame_StackPointerValidate(frame);
  |  | 2029|    976|                PyStackRef_CLOSE(temp);
  |  | 2030|    976|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2031|    976|            }
  |  | 2032|       |            // _CREATE_INIT_FRAME
  |  | 2033|      0|            {
  |  | 2034|    976|                args = &stack_pointer[-oparg];
  |  | 2035|    976|                self = self_or_null;
  |  | 2036|    976|                init = callable;
  |  | 2037|    976|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2037:17): [True: 976, False: 0]
  |  |  ------------------
  |  | 2038|    976|                _PyFrame_StackPointerValidate(frame);
  |  | 2039|    976|                _PyInterpreterFrame *shim = _PyFrame_PushTrampolineUnchecked(
  |  | 2040|    976|                    tstate, (PyCodeObject *)&_Py_InitCleanup, 1, frame);
  |  | 2041|    976|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2042|    976|                assert(_PyFrame_GetBytecode(shim)[0].op.code == EXIT_INIT_CHECK);
  |  |  ------------------
  |  |  |  Branch (2042:17): [True: 976, False: 0]
  |  |  ------------------
  |  | 2043|    976|                assert(_PyFrame_GetBytecode(shim)[1].op.code == RETURN_VALUE);
  |  |  ------------------
  |  |  |  Branch (2043:17): [True: 976, False: 0]
  |  |  ------------------
  |  | 2044|    976|                shim->localsplus[0] = PyStackRef_DUP(self);
  |  | 2045|    976|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2045:17): [True: 976, False: 0]
  |  |  ------------------
  |  | 2046|    976|                _PyFrame_StackPointerValidate(frame);
  |  | 2047|    976|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 2048|    976|                    tstate, init, NULL, args-1, oparg+1, NULL, shim);
  |  | 2049|    976|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2050|    976|                stack_pointer += -2 - oparg;
  |  | 2051|    976|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    976|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2052|    976|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (2052:21): [True: 0, False: 976]
  |  |  ------------------
  |  | 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|    976|                frame->return_offset = 1 + INLINE_CACHE_ENTRIES_CALL;
  |  |  ------------------
  |  |  |  |  129|    976|#define INLINE_CACHE_ENTRIES_CALL CACHE_ENTRIES(_PyCallCache)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    976|#define CACHE_ENTRIES(cache) (sizeof(cache)/sizeof(_Py_CODEUNIT))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2060|    976|                tstate->py_recursion_remaining--;
  |  | 2061|    976|                init_frame = PyStackRef_Wrap(temp);
  |  | 2062|    976|            }
  |  | 2063|       |            // _PUSH_FRAME
  |  | 2064|      0|            {
  |  | 2065|    976|                new_frame = init_frame;
  |  | 2066|    976|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2066:17): [True: 976, False: 0]
  |  |  ------------------
  |  | 2067|    976|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2068|    976|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2069|    976|                _PyFrame_StackPointerValidate(frame);
  |  | 2070|    976|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2070:17): [True: 0, False: 976]
  |  |  |  Branch (2070:17): [True: 976, False: 0]
  |  |  ------------------
  |  | 2071|    976|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|    976|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2072|    976|                frame = tstate->current_frame = temp;
  |  | 2073|    976|                tstate->py_recursion_remaining--;
  |  | 2074|    976|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2075|    976|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2076|    976|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|    976|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    976|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    976|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 976]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2077|       |                #ifdef Py_DEBUG
  |  | 2078|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2079|       |                #endif
  |  | 2080|    976|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|    976|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2081|    976|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    976|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2082|    976|            }
  |  | 2083|    976|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    976|    { \
  |  |  |  |  201|    976|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    976|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    976|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    976|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    976|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    976|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    976|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    976|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 976]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    976|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    976|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    976|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    976|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    976|    }
  |  |  ------------------
  |  | 2084|    976|        }
  |  | 2085|       |
  |  | 2086|  2.62k|        TARGET(CALL_BOUND_METHOD_EXACT_ARGS) {
  |  |  ------------------
  |  |  |  |  132|  2.62k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2087|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2088|       |            int opcode = CALL_BOUND_METHOD_EXACT_ARGS;
  |  | 2089|       |            (void)(opcode);
  |  | 2090|       |            #endif
  |  | 2091|  2.62k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2092|  2.62k|            (void)this_instr;
  |  | 2093|  2.62k|            frame->instr_ptr = next_instr;
  |  | 2094|  2.62k|            next_instr += 4;
  |  | 2095|  2.62k|            INSTRUCTION_STATS(CALL_BOUND_METHOD_EXACT_ARGS);
  |  |  ------------------
  |  |  |  |   71|  2.62k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2096|  2.62k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2097|  2.62k|            _PyStackRef callable;
  |  | 2098|  2.62k|            _PyStackRef null;
  |  | 2099|  2.62k|            _PyStackRef self_or_null;
  |  | 2100|  2.62k|            _PyStackRef *args;
  |  | 2101|  2.62k|            _PyStackRef new_frame;
  |  | 2102|       |            /* Skip 1 cache entry */
  |  | 2103|       |            // _CHECK_PEP_523
  |  | 2104|  2.62k|            {
  |  | 2105|  2.62k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  2.62k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 2.62k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2106|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2107|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2107:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2108|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2109|      0|                }
  |  | 2110|  2.62k|            }
  |  | 2111|       |            // _CHECK_CALL_BOUND_METHOD_EXACT_ARGS
  |  | 2112|  2.62k|            {
  |  | 2113|  2.62k|                null = stack_pointer[-1 - oparg];
  |  | 2114|  2.62k|                callable = stack_pointer[-2 - oparg];
  |  | 2115|  2.62k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  2.62k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.62k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.62k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2115:21): [True: 0, False: 2.62k]
  |  |  ------------------
  |  | 2116|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2117|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2117:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2118|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2119|      0|                }
  |  | 2120|  2.62k|                if (Py_TYPE(PyStackRef_AsPyObjectBorrow(callable)) != &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|  2.62k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2120:21): [True: 0, False: 2.62k]
  |  |  ------------------
  |  | 2121|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2122|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2122:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2123|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2124|      0|                }
  |  | 2125|  2.62k|            }
  |  | 2126|       |            // _INIT_CALL_BOUND_METHOD_EXACT_ARGS
  |  | 2127|  2.62k|            {
  |  | 2128|  2.62k|                self_or_null = null;
  |  | 2129|  2.62k|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (2129:17): [True: 2.62k, False: 0]
  |  |  ------------------
  |  | 2130|  2.62k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2131|  2.62k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.62k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2132|  2.62k|                self_or_null = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_self);
  |  |  ------------------
  |  |  |  |  611|  2.62k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2133|  2.62k|                _PyStackRef temp = callable;
  |  | 2134|  2.62k|                callable = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_func);
  |  |  ------------------
  |  |  |  |  611|  2.62k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2135|  2.62k|                stack_pointer[-2 - oparg] = callable;
  |  | 2136|  2.62k|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2137|  2.62k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2138|  2.62k|                _PyFrame_StackPointerValidate(frame);
  |  | 2139|  2.62k|                PyStackRef_CLOSE(temp);
  |  | 2140|  2.62k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2141|  2.62k|            }
  |  | 2142|       |            // flush
  |  | 2143|       |            // _CHECK_FUNCTION_VERSION
  |  | 2144|      0|            {
  |  | 2145|  2.62k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 2146|  2.62k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2147|  2.62k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  2.62k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.62k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2147:21): [True: 0, False: 2.62k]
  |  |  ------------------
  |  | 2148|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2149|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2149:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2150|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2151|      0|                }
  |  | 2152|  2.62k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2153|  2.62k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (2153:21): [True: 454, False: 2.17k]
  |  |  ------------------
  |  | 2154|    454|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    454|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2155|    454|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2155:21): [True: 454, False: 0]
  |  |  ------------------
  |  | 2156|    454|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    454|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2157|      0|                }
  |  | 2158|  2.62k|            }
  |  | 2159|       |            // _CHECK_FUNCTION_EXACT_ARGS
  |  | 2160|  2.17k|            {
  |  | 2161|  2.17k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2162|  2.17k|                assert(PyFunction_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (2162:17): [True: 2.17k, False: 0]
  |  |  ------------------
  |  | 2163|  2.17k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2164|  2.17k|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 2165|  2.17k|                if (code->co_argcount != oparg + (!PyStackRef_IsNull(self_or_null))) {
  |  |  ------------------
  |  |  |  |  482|  2.17k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.17k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.17k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2165:21): [True: 0, False: 2.17k]
  |  |  ------------------
  |  | 2166|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2167|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2167:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2168|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2169|      0|                }
  |  | 2170|  2.17k|            }
  |  | 2171|       |            // _CHECK_STACK_SPACE
  |  | 2172|  2.17k|            {
  |  | 2173|  2.17k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2174|  2.17k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2175|  2.17k|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 2176|  2.17k|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (2176:21): [True: 0, False: 2.17k]
  |  |  ------------------
  |  | 2177|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2178|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2178:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2179|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2180|      0|                }
  |  | 2181|  2.17k|            }
  |  | 2182|       |            // _CHECK_RECURSION_REMAINING
  |  | 2183|  2.17k|            {
  |  | 2184|  2.17k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (2184:21): [True: 0, False: 2.17k]
  |  |  ------------------
  |  | 2185|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2186|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2186:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2187|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2188|      0|                }
  |  | 2189|  2.17k|            }
  |  | 2190|       |            // _INIT_CALL_PY_EXACT_ARGS
  |  | 2191|  2.17k|            {
  |  | 2192|  2.17k|                args = &stack_pointer[-oparg];
  |  | 2193|  2.17k|                int has_self = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|  2.17k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.17k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.17k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2194|  2.17k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.17k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2195|  2.17k|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, callable, oparg + has_self, frame);
  |  | 2196|  2.17k|                _PyStackRef *first_non_self_local = pushed_frame->localsplus + has_self;
  |  | 2197|  2.17k|                pushed_frame->localsplus[0] = self_or_null;
  |  | 2198|  4.72k|                for (int i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (2198:33): [True: 2.55k, False: 2.17k]
  |  |  ------------------
  |  | 2199|  2.55k|                    first_non_self_local[i] = args[i];
  |  | 2200|  2.55k|                }
  |  | 2201|  2.17k|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 2202|  2.17k|            }
  |  | 2203|       |            // _SAVE_RETURN_OFFSET
  |  | 2204|  2.17k|            {
  |  | 2205|  2.17k|                #if TIER_ONE
  |  | 2206|  2.17k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2207|  2.17k|                #endif
  |  | 2208|       |                #if TIER_TWO
  |  | 2209|       |                frame->return_offset = oparg;
  |  | 2210|       |                #endif
  |  | 2211|  2.17k|            }
  |  | 2212|       |            // _PUSH_FRAME
  |  | 2213|  2.17k|            {
  |  | 2214|  2.17k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2214:17): [True: 2.17k, False: 0]
  |  |  ------------------
  |  | 2215|  2.17k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2216|  2.17k|                stack_pointer += -2 - oparg;
  |  | 2217|  2.17k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.17k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2218|  2.17k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2219|  2.17k|                _PyFrame_StackPointerValidate(frame);
  |  | 2220|  2.17k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2220:17): [True: 2.17k, False: 0]
  |  |  |  Branch (2220:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2221|  2.17k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  2.17k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2222|  2.17k|                frame = tstate->current_frame = temp;
  |  | 2223|  2.17k|                tstate->py_recursion_remaining--;
  |  | 2224|  2.17k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2225|  2.17k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2226|  2.17k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  2.17k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  2.17k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  2.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 2.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2227|       |                #ifdef Py_DEBUG
  |  | 2228|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2229|       |                #endif
  |  | 2230|  2.17k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  2.17k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2231|  2.17k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  2.17k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2232|  2.17k|            }
  |  | 2233|  2.17k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.17k|    { \
  |  |  |  |  201|  2.17k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.17k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.17k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.17k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.17k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.17k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.17k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.17k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.17k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.17k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.17k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.17k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.17k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.17k|    }
  |  |  ------------------
  |  | 2234|  2.17k|        }
  |  | 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|   433k|        TARGET(CALL_BUILTIN_CLASS) {
  |  |  ------------------
  |  |  |  |  132|   433k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2373|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2374|       |            int opcode = CALL_BUILTIN_CLASS;
  |  | 2375|       |            (void)(opcode);
  |  | 2376|       |            #endif
  |  | 2377|   433k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2378|   433k|            (void)this_instr;
  |  | 2379|   433k|            frame->instr_ptr = next_instr;
  |  | 2380|   433k|            next_instr += 4;
  |  | 2381|   433k|            INSTRUCTION_STATS(CALL_BUILTIN_CLASS);
  |  |  ------------------
  |  |  |  |   71|   433k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2382|   433k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2383|   433k|            _PyStackRef callable;
  |  | 2384|   433k|            _PyStackRef self_or_null;
  |  | 2385|   433k|            _PyStackRef *args;
  |  | 2386|   433k|            _PyStackRef value;
  |  | 2387|       |            /* Skip 1 cache entry */
  |  | 2388|       |            /* Skip 2 cache entries */
  |  | 2389|       |            // _GUARD_CALLABLE_BUILTIN_CLASS
  |  | 2390|   433k|            {
  |  | 2391|   433k|                callable = stack_pointer[-2 - oparg];
  |  | 2392|   433k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2393|   433k|                if (!PyType_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |  766|   433k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   433k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   433k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2393:21): [True: 0, False: 433k]
  |  |  ------------------
  |  | 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|   433k|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 2399|   433k|                if (tp->tp_vectorcall == NULL) {
  |  |  ------------------
  |  |  |  Branch (2399:21): [True: 0, False: 433k]
  |  |  ------------------
  |  | 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|   433k|            }
  |  | 2405|       |            // _CALL_BUILTIN_CLASS
  |  | 2406|   433k|            {
  |  | 2407|   433k|                args = &stack_pointer[-oparg];
  |  | 2408|   433k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2409|   433k|                int total_args = oparg;
  |  | 2410|   433k|                _PyStackRef *arguments = args;
  |  | 2411|   433k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   433k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   433k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   433k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2411:21): [True: 0, False: 433k]
  |  |  ------------------
  |  | 2412|      0|                    arguments--;
  |  | 2413|      0|                    total_args++;
  |  | 2414|      0|                }
  |  | 2415|   433k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   433k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2416|   433k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2417|   433k|                _PyFrame_StackPointerValidate(frame);
  |  | 2418|   433k|                PyObject *res_o = _Py_CallBuiltinClass_StackRef(
  |  | 2419|   433k|                    callable,
  |  | 2420|   433k|                    arguments,
  |  | 2421|   433k|                    total_args);
  |  | 2422|   433k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2423|   433k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2423:21): [True: 133, False: 433k]
  |  |  ------------------
  |  | 2424|    133|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    133|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2425|      0|                }
  |  | 2426|   433k|                _PyStackRef temp = callable;
  |  | 2427|   433k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2428|   433k|                stack_pointer[-2 - oparg] = callable;
  |  | 2429|   433k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2429:17): [True: 433k, False: 0]
  |  |  ------------------
  |  | 2430|   433k|                _PyFrame_StackPointerValidate(frame);
  |  | 2431|   433k|                PyStackRef_CLOSE(temp);
  |  | 2432|   433k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2433|   433k|            }
  |  | 2434|       |            // _POP_TOP_OPARG
  |  | 2435|      0|            {
  |  | 2436|   433k|                args = &stack_pointer[-oparg];
  |  | 2437|   433k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2437:17): [True: 433k, False: 0]
  |  |  ------------------
  |  | 2438|   433k|                _PyFrame_StackPointerValidate(frame);
  |  | 2439|   433k|                _PyStackRef_CloseStack(args, oparg);
  |  | 2440|   433k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2441|   433k|            }
  |  | 2442|       |            // _POP_TOP
  |  | 2443|      0|            {
  |  | 2444|   433k|                value = self_or_null;
  |  | 2445|   433k|                stack_pointer += -1 - oparg;
  |  | 2446|   433k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   433k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2447|   433k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2448|   433k|                _PyFrame_StackPointerValidate(frame);
  |  | 2449|   433k|                PyStackRef_XCLOSE(value);
  |  | 2450|   433k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2451|   433k|            }
  |  | 2452|       |            // _CHECK_PERIODIC_AT_END
  |  | 2453|   433k|            {
  |  | 2454|   433k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2454:17): [True: 433k, False: 0]
  |  |  ------------------
  |  | 2455|   433k|                _PyFrame_StackPointerValidate(frame);
  |  | 2456|   433k|                int err = check_periodics_at_end(tstate, frame);
  |  | 2457|   433k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2458|   433k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2458:21): [True: 0, False: 433k]
  |  |  ------------------
  |  | 2459|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2460|      0|                }
  |  | 2461|   433k|            }
  |  | 2462|   433k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   433k|    { \
  |  |  |  |  201|   433k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   433k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   433k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   433k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   433k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   433k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   433k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   433k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 433k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   433k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   433k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   433k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   433k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   433k|    }
  |  |  ------------------
  |  | 2463|   433k|        }
  |  | 2464|       |
  |  | 2465|   420k|        TARGET(CALL_BUILTIN_FAST) {
  |  |  ------------------
  |  |  |  |  132|   420k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2466|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2467|       |            int opcode = CALL_BUILTIN_FAST;
  |  | 2468|       |            (void)(opcode);
  |  | 2469|       |            #endif
  |  | 2470|   420k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2471|   420k|            (void)this_instr;
  |  | 2472|   420k|            frame->instr_ptr = next_instr;
  |  | 2473|   420k|            next_instr += 4;
  |  | 2474|   420k|            INSTRUCTION_STATS(CALL_BUILTIN_FAST);
  |  |  ------------------
  |  |  |  |   71|   420k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2475|   420k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2476|   420k|            _PyStackRef callable;
  |  | 2477|   420k|            _PyStackRef self_or_null;
  |  | 2478|   420k|            _PyStackRef *args;
  |  | 2479|   420k|            _PyStackRef value;
  |  | 2480|       |            /* Skip 1 cache entry */
  |  | 2481|       |            /* Skip 2 cache entries */
  |  | 2482|       |            // _GUARD_CALLABLE_BUILTIN_FAST
  |  | 2483|   420k|            {
  |  | 2484|   420k|                callable = stack_pointer[-2 - oparg];
  |  | 2485|   420k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2486|   420k|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|   420k|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   420k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   420k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   420k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2486:21): [True: 0, False: 420k]
  |  |  ------------------
  |  | 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|   420k|                if ((PyCFunction_GET_FLAGS(callable_o) &
  |  |  ------------------
  |  |  |  |   57|   420k|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   420k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   420k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2491:21): [True: 0, False: 420k]
  |  |  ------------------
  |  | 2492|   420k|                     _Py_METH_CALL_FLAGS) != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |   17|   420k|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|   420k|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|   420k|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|   420k|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|   420k|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|   420k|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|   420k|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   420k|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                    _Py_METH_CALL_FLAGS) != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |  115|   420k|#  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|   420k|            }
  |  | 2498|       |            // _CALL_BUILTIN_FAST
  |  | 2499|   420k|            {
  |  | 2500|   420k|                args = &stack_pointer[-oparg];
  |  | 2501|   420k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2502|   420k|                int total_args = oparg;
  |  | 2503|   420k|                _PyStackRef *arguments = args;
  |  | 2504|   420k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   420k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   420k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   420k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2504:21): [True: 0, False: 420k]
  |  |  ------------------
  |  | 2505|      0|                    arguments--;
  |  | 2506|      0|                    total_args++;
  |  | 2507|      0|                }
  |  | 2508|   420k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   420k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2509|   420k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2510|   420k|                _PyFrame_StackPointerValidate(frame);
  |  | 2511|   420k|                PyObject *res_o = _Py_BuiltinCallFast_StackRef(
  |  | 2512|   420k|                    callable,
  |  | 2513|   420k|                    arguments,
  |  | 2514|   420k|                    total_args
  |  | 2515|   420k|                );
  |  | 2516|   420k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2517|   420k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2517:21): [True: 443, False: 420k]
  |  |  ------------------
  |  | 2518|    443|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    443|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2519|      0|                }
  |  | 2520|   420k|                _PyStackRef temp = callable;
  |  | 2521|   420k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2522|   420k|                stack_pointer[-2 - oparg] = callable;
  |  | 2523|   420k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2523:17): [True: 420k, False: 0]
  |  |  ------------------
  |  | 2524|   420k|                _PyFrame_StackPointerValidate(frame);
  |  | 2525|   420k|                PyStackRef_CLOSE(temp);
  |  | 2526|   420k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2527|   420k|            }
  |  | 2528|       |            // _POP_TOP_OPARG
  |  | 2529|      0|            {
  |  | 2530|   420k|                args = &stack_pointer[-oparg];
  |  | 2531|   420k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2531:17): [True: 420k, False: 0]
  |  |  ------------------
  |  | 2532|   420k|                _PyFrame_StackPointerValidate(frame);
  |  | 2533|   420k|                _PyStackRef_CloseStack(args, oparg);
  |  | 2534|   420k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2535|   420k|            }
  |  | 2536|       |            // _POP_TOP
  |  | 2537|      0|            {
  |  | 2538|   420k|                value = self_or_null;
  |  | 2539|   420k|                stack_pointer += -1 - oparg;
  |  | 2540|   420k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   420k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2541|   420k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2542|   420k|                _PyFrame_StackPointerValidate(frame);
  |  | 2543|   420k|                PyStackRef_XCLOSE(value);
  |  | 2544|   420k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2545|   420k|            }
  |  | 2546|       |            // _CHECK_PERIODIC_AT_END
  |  | 2547|   420k|            {
  |  | 2548|   420k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2548:17): [True: 420k, False: 0]
  |  |  ------------------
  |  | 2549|   420k|                _PyFrame_StackPointerValidate(frame);
  |  | 2550|   420k|                int err = check_periodics_at_end(tstate, frame);
  |  | 2551|   420k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2552|   420k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2552:21): [True: 0, False: 420k]
  |  |  ------------------
  |  | 2553|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2554|      0|                }
  |  | 2555|   420k|            }
  |  | 2556|   420k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   420k|    { \
  |  |  |  |  201|   420k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   420k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   420k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   420k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   420k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   420k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   420k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   420k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 420k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   420k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   420k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   420k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   420k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   420k|    }
  |  |  ------------------
  |  | 2557|   420k|        }
  |  | 2558|       |
  |  | 2559|  18.8k|        TARGET(CALL_BUILTIN_FAST_WITH_KEYWORDS) {
  |  |  ------------------
  |  |  |  |  132|  18.8k|#  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|  18.8k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2565|  18.8k|            (void)this_instr;
  |  | 2566|  18.8k|            frame->instr_ptr = next_instr;
  |  | 2567|  18.8k|            next_instr += 4;
  |  | 2568|  18.8k|            INSTRUCTION_STATS(CALL_BUILTIN_FAST_WITH_KEYWORDS);
  |  |  ------------------
  |  |  |  |   71|  18.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2569|  18.8k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2570|  18.8k|            _PyStackRef callable;
  |  | 2571|  18.8k|            _PyStackRef self_or_null;
  |  | 2572|  18.8k|            _PyStackRef *args;
  |  | 2573|  18.8k|            _PyStackRef value;
  |  | 2574|       |            /* Skip 1 cache entry */
  |  | 2575|       |            /* Skip 2 cache entries */
  |  | 2576|       |            // _GUARD_CALLABLE_BUILTIN_FAST_WITH_KEYWORDS
  |  | 2577|  18.8k|            {
  |  | 2578|  18.8k|                callable = stack_pointer[-2 - oparg];
  |  | 2579|  18.8k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2580|  18.8k|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|  18.8k|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  18.8k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  18.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2580:21): [True: 0, False: 18.8k]
  |  |  ------------------
  |  | 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|  18.8k|                if ((PyCFunction_GET_FLAGS(callable_o) &
  |  |  ------------------
  |  |  |  |   57|  18.8k|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2585:21): [True: 0, False: 18.8k]
  |  |  ------------------
  |  | 2586|  18.8k|                     _Py_METH_CALL_FLAGS) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   17|  18.8k|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|  18.8k|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|  18.8k|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  18.8k|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|  18.8k|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|  18.8k|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|  18.8k|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  18.8k|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                    _Py_METH_CALL_FLAGS) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |  115|  18.8k|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                                    _Py_METH_CALL_FLAGS) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   96|  18.8k|#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|  18.8k|            }
  |  | 2592|       |            // _CALL_BUILTIN_FAST_WITH_KEYWORDS
  |  | 2593|  18.8k|            {
  |  | 2594|  18.8k|                args = &stack_pointer[-oparg];
  |  | 2595|  18.8k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2596|  18.8k|                int total_args = oparg;
  |  | 2597|  18.8k|                _PyStackRef *arguments = args;
  |  | 2598|  18.8k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  18.8k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  18.8k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  18.8k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2598:21): [True: 0, False: 18.8k]
  |  |  ------------------
  |  | 2599|      0|                    arguments--;
  |  | 2600|      0|                    total_args++;
  |  | 2601|      0|                }
  |  | 2602|  18.8k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  18.8k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2603|  18.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2604|  18.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 2605|  18.8k|                PyObject *res_o = _Py_BuiltinCallFastWithKeywords_StackRef(callable, arguments, total_args);
  |  | 2606|  18.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2607|  18.8k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2607:21): [True: 28, False: 18.8k]
  |  |  ------------------
  |  | 2608|     28|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     28|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2609|      0|                }
  |  | 2610|  18.8k|                _PyStackRef temp = callable;
  |  | 2611|  18.8k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2612|  18.8k|                stack_pointer[-2 - oparg] = callable;
  |  | 2613|  18.8k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2613:17): [True: 18.8k, False: 0]
  |  |  ------------------
  |  | 2614|  18.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 2615|  18.8k|                PyStackRef_CLOSE(temp);
  |  | 2616|  18.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2617|  18.8k|            }
  |  | 2618|       |            // _POP_TOP_OPARG
  |  | 2619|      0|            {
  |  | 2620|  18.8k|                args = &stack_pointer[-oparg];
  |  | 2621|  18.8k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2621:17): [True: 18.8k, False: 0]
  |  |  ------------------
  |  | 2622|  18.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 2623|  18.8k|                _PyStackRef_CloseStack(args, oparg);
  |  | 2624|  18.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2625|  18.8k|            }
  |  | 2626|       |            // _POP_TOP
  |  | 2627|      0|            {
  |  | 2628|  18.8k|                value = self_or_null;
  |  | 2629|  18.8k|                stack_pointer += -1 - oparg;
  |  | 2630|  18.8k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  18.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2631|  18.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2632|  18.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 2633|  18.8k|                PyStackRef_XCLOSE(value);
  |  | 2634|  18.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2635|  18.8k|            }
  |  | 2636|       |            // _CHECK_PERIODIC_AT_END
  |  | 2637|  18.8k|            {
  |  | 2638|  18.8k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2638:17): [True: 18.8k, False: 0]
  |  |  ------------------
  |  | 2639|  18.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 2640|  18.8k|                int err = check_periodics_at_end(tstate, frame);
  |  | 2641|  18.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2642|  18.8k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2642:21): [True: 0, False: 18.8k]
  |  |  ------------------
  |  | 2643|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2644|      0|                }
  |  | 2645|  18.8k|            }
  |  | 2646|  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|    }
  |  |  ------------------
  |  | 2647|  18.8k|        }
  |  | 2648|       |
  |  | 2649|  6.03M|        TARGET(CALL_BUILTIN_O) {
  |  |  ------------------
  |  |  |  |  132|  6.03M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2650|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2651|       |            int opcode = CALL_BUILTIN_O;
  |  | 2652|       |            (void)(opcode);
  |  | 2653|       |            #endif
  |  | 2654|  6.03M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2655|  6.03M|            (void)this_instr;
  |  | 2656|  6.03M|            frame->instr_ptr = next_instr;
  |  | 2657|  6.03M|            next_instr += 4;
  |  | 2658|  6.03M|            INSTRUCTION_STATS(CALL_BUILTIN_O);
  |  |  ------------------
  |  |  |  |   71|  6.03M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2659|  6.03M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2660|  6.03M|            _PyStackRef callable;
  |  | 2661|  6.03M|            _PyStackRef self_or_null;
  |  | 2662|  6.03M|            _PyStackRef *args;
  |  | 2663|  6.03M|            _PyStackRef res;
  |  | 2664|  6.03M|            _PyStackRef c;
  |  | 2665|  6.03M|            _PyStackRef s;
  |  | 2666|  6.03M|            _PyStackRef value;
  |  | 2667|       |            /* Skip 1 cache entry */
  |  | 2668|       |            /* Skip 2 cache entries */
  |  | 2669|       |            // _GUARD_CALLABLE_BUILTIN_O
  |  | 2670|  6.03M|            {
  |  | 2671|  6.03M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2672|  6.03M|                callable = stack_pointer[-2 - oparg];
  |  | 2673|  6.03M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2674|  6.03M|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|  6.03M|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  6.03M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  6.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  6.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2674:21): [True: 0, False: 6.03M]
  |  |  ------------------
  |  | 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|  6.03M|                if ((PyCFunction_GET_FLAGS(callable_o) &
  |  |  ------------------
  |  |  |  |   57|  6.03M|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2679:21): [True: 0, False: 6.03M]
  |  |  ------------------
  |  | 2680|  6.03M|                     _Py_METH_CALL_FLAGS) != METH_O) {
  |  |  ------------------
  |  |  |  |   17|  6.03M|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|  6.03M|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|  6.03M|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  6.03M|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|  6.03M|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|  6.03M|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|  6.03M|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.03M|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                    _Py_METH_CALL_FLAGS) != METH_O) {
  |  |  ------------------
  |  |  |  |   99|  6.03M|#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|  6.03M|                int total_args = oparg;
  |  | 2686|  6.03M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  6.03M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  6.03M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  6.03M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2686:21): [True: 0, False: 6.03M]
  |  |  ------------------
  |  | 2687|      0|                    total_args++;
  |  | 2688|      0|                }
  |  | 2689|  6.03M|                if (total_args != 1) {
  |  |  ------------------
  |  |  |  Branch (2689:21): [True: 0, False: 6.03M]
  |  |  ------------------
  |  | 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|  6.03M|            }
  |  | 2695|       |            // _CHECK_RECURSION_LIMIT
  |  | 2696|  6.03M|            {
  |  | 2697|  6.03M|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (2697:21): [True: 0, False: 6.03M]
  |  |  ------------------
  |  | 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|  6.03M|            }
  |  | 2703|       |            // _CALL_BUILTIN_O
  |  | 2704|  6.03M|            {
  |  | 2705|  6.03M|                args = &stack_pointer[-oparg];
  |  | 2706|  6.03M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2707|  6.03M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  6.03M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  6.03M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  6.03M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2707:21): [True: 0, False: 6.03M]
  |  |  ------------------
  |  | 2708|      0|                    args--;
  |  | 2709|      0|                }
  |  | 2710|  6.03M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  6.03M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2711|  6.03M|                PyCFunction cfunc = PyCFunction_GET_FUNCTION(callable_o);
  |  |  ------------------
  |  |  |  |   43|  6.03M|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2712|  6.03M|                _PyStackRef arg = args[0];
  |  | 2713|  6.03M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2714|  6.03M|                _PyFrame_StackPointerValidate(frame);
  |  | 2715|  6.03M|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, PyCFunction_GET_SELF(callable_o), PyStackRef_AsPyObjectBorrow(arg));
  |  |  ------------------
  |  |  |  |   61|  6.03M|    (meth)((self), (args))
  |  |  ------------------
  |  | 2716|  6.03M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2717|  6.03M|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 2718|  6.03M|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (2718:17): [True: 6.03M, False: 0]
  |  |  ------------------
  |  | 2719|  6.03M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2719:21): [True: 2, False: 6.03M]
  |  |  ------------------
  |  | 2720|      2|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2721|      0|                }
  |  | 2722|  6.03M|                c = callable;
  |  | 2723|  6.03M|                s = args[0];
  |  | 2724|  6.03M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2725|  6.03M|            }
  |  | 2726|       |            // _POP_TOP
  |  | 2727|      0|            {
  |  | 2728|  6.03M|                value = s;
  |  | 2729|  6.03M|                stack_pointer[-2 - oparg] = res;
  |  | 2730|  6.03M|                stack_pointer[-1 - oparg] = c;
  |  | 2731|  6.03M|                stack_pointer += -oparg;
  |  | 2732|  6.03M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  6.03M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2733|  6.03M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2734|  6.03M|                _PyFrame_StackPointerValidate(frame);
  |  | 2735|  6.03M|                PyStackRef_XCLOSE(value);
  |  | 2736|  6.03M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2737|  6.03M|            }
  |  | 2738|       |            // _POP_TOP
  |  | 2739|  6.03M|            {
  |  | 2740|  6.03M|                value = c;
  |  | 2741|  6.03M|                stack_pointer += -1;
  |  | 2742|  6.03M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  6.03M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2743|  6.03M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2744|  6.03M|                _PyFrame_StackPointerValidate(frame);
  |  | 2745|  6.03M|                PyStackRef_XCLOSE(value);
  |  | 2746|  6.03M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2747|  6.03M|            }
  |  | 2748|       |            // _CHECK_PERIODIC_AT_END
  |  | 2749|  6.03M|            {
  |  | 2750|  6.03M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2750:17): [True: 6.03M, False: 0]
  |  |  ------------------
  |  | 2751|  6.03M|                _PyFrame_StackPointerValidate(frame);
  |  | 2752|  6.03M|                int err = check_periodics_at_end(tstate, frame);
  |  | 2753|  6.03M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2754|  6.03M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2754:21): [True: 0, False: 6.03M]
  |  |  ------------------
  |  | 2755|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2756|      0|                }
  |  | 2757|  6.03M|            }
  |  | 2758|  6.03M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.03M|    { \
  |  |  |  |  201|  6.03M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  6.03M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.03M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  6.03M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  6.03M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.03M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  6.03M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  6.03M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 6.03M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.03M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.03M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.03M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.03M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.03M|    }
  |  |  ------------------
  |  | 2759|  6.03M|        }
  |  | 2760|       |
  |  | 2761|    725|        TARGET(CALL_EX_NON_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|    725|#  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|    725|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2767|    725|            (void)this_instr;
  |  | 2768|    725|            frame->instr_ptr = next_instr;
  |  | 2769|    725|            next_instr += 2;
  |  | 2770|    725|            INSTRUCTION_STATS(CALL_EX_NON_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|    725|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2771|    725|            static_assert(INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX == 1, "incorrect cache size");
  |  | 2772|    725|            _PyStackRef func_st;
  |  | 2773|    725|            _PyStackRef func;
  |  | 2774|    725|            _PyStackRef callargs;
  |  | 2775|    725|            _PyStackRef null;
  |  | 2776|    725|            _PyStackRef callargs_st;
  |  | 2777|    725|            _PyStackRef kwargs_st;
  |  | 2778|    725|            _PyStackRef result;
  |  | 2779|       |            /* Skip 1 cache entry */
  |  | 2780|       |            // _CHECK_IS_NOT_PY_CALLABLE_EX
  |  | 2781|    725|            {
  |  | 2782|    725|                func_st = stack_pointer[-4];
  |  | 2783|    725|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2784|    725|                if (Py_TYPE(func) == &PyFunction_Type && ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  |  213|    725|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    725|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    725|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2784:21): [True: 0, False: 725]
  |  |  |  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|    725|            }
  |  | 2790|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2791|    725|            {
  |  | 2792|    725|                callargs = stack_pointer[-2];
  |  | 2793|    725|                func = func_st;
  |  | 2794|    725|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2795|    725|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|    725|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    725|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    725|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    725|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2795:21): [True: 32, False: 693]
  |  |  ------------------
  |  | 2796|     32|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2797|     32|                    _PyFrame_StackPointerValidate(frame);
  |  | 2798|     32|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 2799|     32|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2800|     32|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (2800:25): [True: 0, False: 32]
  |  |  ------------------
  |  | 2801|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2802|      0|                    }
  |  | 2803|     32|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2803:21): [True: 32, False: 0]
  |  |  ------------------
  |  | 2804|     32|                    _PyFrame_StackPointerValidate(frame);
  |  | 2805|     32|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 2806|     32|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2807|     32|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2807:25): [True: 0, False: 32]
  |  |  ------------------
  |  | 2808|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2809|      0|                    }
  |  | 2810|     32|                    _PyStackRef temp = callargs;
  |  | 2811|     32|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 2812|     32|                    stack_pointer[-2] = callargs;
  |  | 2813|     32|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2813:21): [True: 32, False: 0]
  |  |  ------------------
  |  | 2814|     32|                    _PyFrame_StackPointerValidate(frame);
  |  | 2815|     32|                    PyStackRef_CLOSE(temp);
  |  | 2816|     32|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 2817|     32|                }
  |  | 2818|    725|            }
  |  | 2819|       |            // _CALL_FUNCTION_EX_NON_PY_GENERAL
  |  | 2820|    725|            {
  |  | 2821|    725|                kwargs_st = stack_pointer[-1];
  |  | 2822|    725|                callargs_st = callargs;
  |  | 2823|    725|                null = stack_pointer[-3];
  |  | 2824|    725|                func_st = func;
  |  | 2825|    725|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2826|    725|                PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 2827|    725|                (void)null;
  |  | 2828|    725|                assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (2828:17): [True: 725, False: 0]
  |  |  ------------------
  |  | 2829|    725|                PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 2830|    725|                assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (2830:17): [True: 62, False: 663]
  |  |  |  Branch (2830:17): [True: 663, False: 0]
  |  |  ------------------
  |  | 2831|    725|                stack_pointer[-2] = callargs_st;
  |  | 2832|    725|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2833|    725|                _PyFrame_StackPointerValidate(frame);
  |  | 2834|    725|                PyObject *result_o = PyObject_Call(func, callargs, kwargs);
  |  | 2835|    725|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2836|    725|                stack_pointer += -1;
  |  | 2837|    725|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    725|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2838|    725|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2839|    725|                _PyFrame_StackPointerValidate(frame);
  |  | 2840|    725|                PyStackRef_XCLOSE(kwargs_st);
  |  | 2841|    725|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2842|    725|                stack_pointer += -1;
  |  | 2843|    725|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    725|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2844|    725|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2845|    725|                _PyFrame_StackPointerValidate(frame);
  |  | 2846|    725|                PyStackRef_CLOSE(callargs_st);
  |  | 2847|    725|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2848|    725|                stack_pointer += -2;
  |  | 2849|    725|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    725|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2850|    725|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2851|    725|                _PyFrame_StackPointerValidate(frame);
  |  | 2852|    725|                PyStackRef_CLOSE(func_st);
  |  | 2853|    725|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2854|    725|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2854:21): [True: 5, False: 720]
  |  |  ------------------
  |  | 2855|      5|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      5|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2856|      0|                }
  |  | 2857|    720|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 2858|    720|            }
  |  | 2859|       |            // _CHECK_PERIODIC_AT_END
  |  | 2860|      0|            {
  |  | 2861|    720|                stack_pointer[0] = result;
  |  | 2862|    720|                stack_pointer += 1;
  |  | 2863|    720|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    720|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2864|    720|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2865|    720|                _PyFrame_StackPointerValidate(frame);
  |  | 2866|    720|                int err = check_periodics_at_end(tstate, frame);
  |  | 2867|    720|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2868|    720|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2868:21): [True: 0, False: 720]
  |  |  ------------------
  |  | 2869|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2870|      0|                }
  |  | 2871|    720|            }
  |  | 2872|    720|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    720|    { \
  |  |  |  |  201|    720|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    720|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    720|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    720|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    720|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    720|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    720|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    720|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 720]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    720|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    720|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    720|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    720|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    720|    }
  |  |  ------------------
  |  | 2873|    720|        }
  |  | 2874|       |
  |  | 2875|    109|        TARGET(CALL_EX_PY) {
  |  |  ------------------
  |  |  |  |  132|    109|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2876|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2877|       |            int opcode = CALL_EX_PY;
  |  | 2878|       |            (void)(opcode);
  |  | 2879|       |            #endif
  |  | 2880|    109|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2881|    109|            (void)this_instr;
  |  | 2882|    109|            frame->instr_ptr = next_instr;
  |  | 2883|    109|            next_instr += 2;
  |  | 2884|    109|            INSTRUCTION_STATS(CALL_EX_PY);
  |  |  ------------------
  |  |  |  |   71|    109|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2885|    109|            static_assert(INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX == 1, "incorrect cache size");
  |  | 2886|    109|            _PyStackRef func;
  |  | 2887|    109|            _PyStackRef callargs;
  |  | 2888|    109|            _PyStackRef func_st;
  |  | 2889|    109|            _PyStackRef callargs_st;
  |  | 2890|    109|            _PyStackRef kwargs_st;
  |  | 2891|    109|            _PyStackRef ex_frame;
  |  | 2892|    109|            _PyStackRef new_frame;
  |  | 2893|       |            /* Skip 1 cache entry */
  |  | 2894|       |            // _CHECK_PEP_523
  |  | 2895|    109|            {
  |  | 2896|    109|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|    109|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 109]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|    109|            }
  |  | 2902|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2903|    109|            {
  |  | 2904|    109|                callargs = stack_pointer[-2];
  |  | 2905|    109|                func = stack_pointer[-4];
  |  | 2906|    109|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2907|    109|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|    109|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    109|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    109|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    109|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2907:21): [True: 0, False: 109]
  |  |  ------------------
  |  | 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|    109|            }
  |  | 2931|       |            // _CHECK_IS_PY_CALLABLE_EX
  |  | 2932|    109|            {
  |  | 2933|    109|                func_st = func;
  |  | 2934|    109|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2935|    109|                if (Py_TYPE(func) != &PyFunction_Type) {
  |  |  ------------------
  |  |  |  |  213|    109|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    109|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    109|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2935:21): [True: 0, False: 109]
  |  |  ------------------
  |  | 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|    109|                if (((PyFunctionObject *)func)->vectorcall != _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (2940:21): [True: 0, False: 109]
  |  |  ------------------
  |  | 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|    109|            }
  |  | 2946|       |            // _PY_FRAME_EX
  |  | 2947|    109|            {
  |  | 2948|    109|                kwargs_st = stack_pointer[-1];
  |  | 2949|    109|                callargs_st = callargs;
  |  | 2950|    109|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2951|    109|                PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 2952|    109|                assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (2952:17): [True: 109, False: 0]
  |  |  ------------------
  |  | 2953|    109|                assert(Py_TYPE(func) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (2953:17): [True: 109, False: 0]
  |  |  ------------------
  |  | 2954|    109|                assert(((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall);
  |  |  ------------------
  |  |  |  Branch (2954:17): [True: 109, False: 0]
  |  |  ------------------
  |  | 2955|    109|                PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  482|    109|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    109|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    109|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 10, False: 99]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2956|    109|                assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (2956:17): [True: 10, False: 99]
  |  |  |  Branch (2956:17): [True: 99, False: 0]
  |  |  ------------------
  |  | 2957|    109|                Py_ssize_t nargs = PyTuple_GET_SIZE(callargs);
  |  |  ------------------
  |  |  |  |   27|    109|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    109|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    109|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2958|    109|                int code_flags = ((PyCodeObject *)PyFunction_GET_CODE(func))->co_flags;
  |  |  ------------------
  |  |  |  |   93|    109|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    109|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    109|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2959|    109|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  122|    109|#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: 109, False: 0]
  |  |  ------------------
  |  | 2960|    109|                stack_pointer += -3;
  |  | 2961|    109|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    109|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2962|    109|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2963|    109|                _PyFrame_StackPointerValidate(frame);
  |  | 2964|    109|                _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 2965|    109|                    tstate, func_st, locals,
  |  | 2966|    109|                    nargs, callargs, kwargs, frame);
  |  | 2967|    109|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2968|    109|                stack_pointer += -1;
  |  | 2969|    109|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    109|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2970|    109|                if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (2970:21): [True: 0, False: 109]
  |  |  ------------------
  |  | 2971|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2972|      0|                }
  |  | 2973|    109|                ex_frame = PyStackRef_Wrap(new_frame);
  |  | 2974|    109|            }
  |  | 2975|       |            // _SAVE_RETURN_OFFSET
  |  | 2976|      0|            {
  |  | 2977|    109|                #if TIER_ONE
  |  | 2978|    109|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2979|    109|                #endif
  |  | 2980|       |                #if TIER_TWO
  |  | 2981|       |                frame->return_offset = oparg;
  |  | 2982|       |                #endif
  |  | 2983|    109|            }
  |  | 2984|       |            // _PUSH_FRAME
  |  | 2985|    109|            {
  |  | 2986|    109|                new_frame = ex_frame;
  |  | 2987|    109|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2987:17): [True: 109, False: 0]
  |  |  ------------------
  |  | 2988|    109|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2989|    109|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2990|    109|                _PyFrame_StackPointerValidate(frame);
  |  | 2991|    109|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2991:17): [True: 109, False: 0]
  |  |  |  Branch (2991:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2992|    109|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|    109|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2993|    109|                frame = tstate->current_frame = temp;
  |  | 2994|    109|                tstate->py_recursion_remaining--;
  |  | 2995|    109|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2996|    109|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2997|    109|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|    109|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    109|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    109|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 109]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2998|       |                #ifdef Py_DEBUG
  |  | 2999|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 3000|       |                #endif
  |  | 3001|    109|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|    109|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3002|    109|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    109|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3003|    109|            }
  |  | 3004|    109|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    109|    { \
  |  |  |  |  201|    109|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    109|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    109|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    109|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    109|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    109|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    109|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    109|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 109]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    109|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    109|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    109|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    109|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    109|    }
  |  |  ------------------
  |  | 3005|    109|        }
  |  | 3006|       |
  |  | 3007|     51|        TARGET(CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  132|     51|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3008|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3009|       |            int opcode = CALL_FUNCTION_EX;
  |  | 3010|       |            (void)(opcode);
  |  | 3011|       |            #endif
  |  | 3012|     51|            frame->instr_ptr = next_instr;
  |  | 3013|     51|            next_instr += 2;
  |  | 3014|     51|            INSTRUCTION_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   71|     51|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3015|     51|            PREDICTED_CALL_FUNCTION_EX:;
  |  | 3016|     51|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 3017|     51|            (void)this_instr;
  |  | 3018|     51|            opcode = CALL_FUNCTION_EX;
  |  |  ------------------
  |  |  |  |   17|     51|#define CALL_FUNCTION_EX                         4
  |  |  ------------------
  |  | 3019|     51|            _PyStackRef func;
  |  | 3020|     51|            _PyStackRef callargs;
  |  | 3021|     51|            _PyStackRef func_st;
  |  | 3022|     51|            _PyStackRef null;
  |  | 3023|     51|            _PyStackRef callargs_st;
  |  | 3024|     51|            _PyStackRef kwargs_st;
  |  | 3025|     51|            _PyStackRef result;
  |  | 3026|       |            // _SPECIALIZE_CALL_FUNCTION_EX
  |  | 3027|     51|            {
  |  | 3028|     51|                func = stack_pointer[-4];
  |  | 3029|     51|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 3030|     51|                (void)counter;
  |  | 3031|     51|                #if ENABLE_SPECIALIZATION
  |  | 3032|     51|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|     51|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 19, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3033|     19|                    next_instr = this_instr;
  |  | 3034|     19|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3035|     19|                    _PyFrame_StackPointerValidate(frame);
  |  | 3036|     19|                    _Py_Specialize_CallFunctionEx(func, next_instr);
  |  | 3037|     19|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3038|     19|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     19|    { \
  |  |  |  |  217|     19|        opcode = next_instr->op.code; \
  |  |  |  |  218|     19|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     19|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     19|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     19|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     19|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     19|    }
  |  |  ------------------
  |  | 3039|     19|                }
  |  | 3040|     51|                OPCODE_DEFERRED_INC(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   90|     51|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 3041|     51|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|     51|    do { \
  |  |  |  |  378|     51|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|     51|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 51]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3042|     51|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 3043|     51|            }
  |  | 3044|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 3045|     51|            {
  |  | 3046|     51|                callargs = stack_pointer[-2];
  |  | 3047|     51|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 3048|     51|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|     51|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     51|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3048:21): [True: 5, False: 46]
  |  |  ------------------
  |  | 3049|      5|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3050|      5|                    _PyFrame_StackPointerValidate(frame);
  |  | 3051|      5|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 3052|      5|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3053|      5|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (3053:25): [True: 0, False: 5]
  |  |  ------------------
  |  | 3054|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3055|      0|                    }
  |  | 3056|      5|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3056:21): [True: 5, False: 0]
  |  |  ------------------
  |  | 3057|      5|                    _PyFrame_StackPointerValidate(frame);
  |  | 3058|      5|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 3059|      5|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3060|      5|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3060:25): [True: 0, False: 5]
  |  |  ------------------
  |  | 3061|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3062|      0|                    }
  |  | 3063|      5|                    _PyStackRef temp = callargs;
  |  | 3064|      5|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 3065|      5|                    stack_pointer[-2] = callargs;
  |  | 3066|      5|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3066:21): [True: 5, False: 0]
  |  |  ------------------
  |  | 3067|      5|                    _PyFrame_StackPointerValidate(frame);
  |  | 3068|      5|                    PyStackRef_CLOSE(temp);
  |  | 3069|      5|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3070|      5|                }
  |  | 3071|     51|            }
  |  | 3072|       |            // _DO_CALL_FUNCTION_EX
  |  | 3073|     51|            {
  |  | 3074|     51|                kwargs_st = stack_pointer[-1];
  |  | 3075|     51|                callargs_st = callargs;
  |  | 3076|     51|                null = stack_pointer[-3];
  |  | 3077|     51|                func_st = func;
  |  | 3078|     51|                (void)null;
  |  | 3079|     51|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 3080|     51|                EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_FUNCTION_EX, func);
  |  |  ------------------
  |  |  |  |   80|     51|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  |  |  ------------------
  |  | 3081|     51|                PyObject *result_o;
  |  | 3082|     51|                assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (3082:17): [True: 32, False: 19]
  |  |  ------------------
  |  | 3083|     32|                if (opcode == INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  239|     32|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  |  |  Branch (3083:21): [True: 0, False: 32]
  |  |  ------------------
  |  | 3084|      0|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 3085|      0|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 3086|      0|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (3086:21): [True: 0, False: 0]
  |  |  |  Branch (3086:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3087|      0|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (3087:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3088|      0|                    PyObject *arg = PyTuple_GET_SIZE(callargs) > 0 ?
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3088:37): [True: 0, False: 0]
  |  |  ------------------
  |  | 3089|      0|                    PyTuple_GET_ITEM(callargs, 0) : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3089:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3090|      0|                    stack_pointer[-2] = callargs_st;
  |  | 3091|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3092|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3093|      0|                    int err = _Py_call_instrumentation_2args(
  |  | 3094|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  | 3095|      0|                        frame, this_instr, func, arg);
  |  | 3096|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3097|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (3097:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 3098|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3099|      0|                    }
  |  | 3100|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3100:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3101|      0|                    _PyFrame_StackPointerValidate(frame);
  |  | 3102|      0|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 3103|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3104|      0|                    if (!PyFunction_Check(func) && !PyMethod_Check(func)) {
  |  |  ------------------
  |  |  |  |   68|      0|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   if (!PyFunction_Check(func) && !PyMethod_Check(func)) {
  |  |  ------------------
  |  |  |  |   22|      0|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3104:25): [True: 0, False: 0]
  |  |  |  Branch (3104:52): [True: 0, False: 0]
  |  |  ------------------
  |  | 3105|      0|                        if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3105:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 3106|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3106:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 3107|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 3108|      0|                            _Py_call_instrumentation_exc2(
  |  | 3109|      0|                                tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  | 3110|      0|                                frame, this_instr, func, arg);
  |  | 3111|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 3112|      0|                        }
  |  | 3113|      0|                        else {
  |  | 3114|      0|                            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3114:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 3115|      0|                            _PyFrame_StackPointerValidate(frame);
  |  | 3116|      0|                            int err = _Py_call_instrumentation_2args(
  |  | 3117|      0|                                tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  | 3118|      0|                                frame, this_instr, func, arg);
  |  | 3119|      0|                            _PyFrame_StackPointerInvalidate(frame);
  |  | 3120|      0|                            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (3120:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 3121|      0|                                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3121:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 3122|      0|                                _PyFrame_StackPointerValidate(frame);
  |  | 3123|      0|                                Py_CLEAR(result_o);
  |  |  ------------------
  |  |  |  |  487|      0|    do { \
  |  |  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  |  |  ------------------
  |  |  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|      0|    do { \
  |  |  |  |  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|      0|    do { \
  |  |  |  |  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|            (*dealloc)(op); \
  |  |  |  |  |  |   91|      0|        } \
  |  |  |  |  |  |   92|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  493|      0|        } \
  |  |  |  |  494|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3124|      0|                                _PyFrame_StackPointerInvalidate(frame);
  |  | 3125|      0|                            }
  |  | 3126|      0|                        }
  |  | 3127|      0|                    }
  |  | 3128|      0|                }
  |  | 3129|     32|                else {
  |  | 3130|     32|                    if (Py_TYPE(func) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|     32|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3130:25): [True: 17, False: 15]
  |  |  ------------------
  |  | 3131|     17|                        !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|     49|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (3131:25): [True: 17, False: 0]
  |  |  ------------------
  |  | 3132|     17|                        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (3132:25): [True: 17, False: 0]
  |  |  ------------------
  |  | 3133|     17|                        PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 3134|     17|                        assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (3134:25): [True: 17, False: 0]
  |  |  ------------------
  |  | 3135|     17|                        PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  482|     17|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     17|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     17|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 13, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3136|     17|                        assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (3136:25): [True: 13, False: 4]
  |  |  |  Branch (3136:25): [True: 4, False: 0]
  |  |  ------------------
  |  | 3137|     17|                        Py_ssize_t nargs = PyTuple_GET_SIZE(callargs);
  |  |  ------------------
  |  |  |  |   27|     17|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3138|     17|                        int code_flags = ((PyCodeObject *)PyFunction_GET_CODE(func))->co_flags;
  |  |  ------------------
  |  |  |  |   93|     17|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3139|     17|                        PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  122|     17|#define CO_OPTIMIZED    0x0001
  |  |  ------------------
  |  |                                       PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3139:44): [True: 17, False: 0]
  |  |  ------------------
  |  | 3140|     17|                        stack_pointer += -2;
  |  | 3141|     17|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     17|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3142|     17|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3143|     17|                        _PyFrame_StackPointerValidate(frame);
  |  | 3144|     17|                        _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 3145|     17|                            tstate, func_st, locals,
  |  | 3146|     17|                            nargs, callargs, kwargs, frame);
  |  | 3147|     17|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 3148|     17|                        stack_pointer += -2;
  |  | 3149|     17|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     17|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3150|     17|                        if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (3150:29): [True: 0, False: 17]
  |  |  ------------------
  |  | 3151|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3152|      0|                        }
  |  | 3153|     17|                        assert( 2u == 1 + INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  Branch (3153:25): [True: 17, Folded]
  |  |  ------------------
  |  | 3154|     17|                        frame->return_offset = 2u ;
  |  | 3155|     17|                        DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|     17|    do {                                                         \
  |  |  |  |  224|     17|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|     17|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|     17|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|     17|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|     17|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|     17|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|     17|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|     17|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|     17|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3155:25): [True: 17, False: 0]
  |  |  |  Branch (3155:25): [True: 17, False: 0]
  |  |  ------------------
  |  | 3156|     17|                    }
  |  | 3157|     15|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 3158|     15|                    assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (3158:21): [True: 15, False: 0]
  |  |  ------------------
  |  | 3159|     15|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 3160|     15|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (3160:21): [True: 9, False: 6]
  |  |  |  Branch (3160:21): [True: 6, False: 0]
  |  |  ------------------
  |  | 3161|     15|                    stack_pointer[-2] = callargs_st;
  |  | 3162|     15|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3163|     15|                    _PyFrame_StackPointerValidate(frame);
  |  | 3164|     15|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 3165|     15|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3166|     15|                }
  |  | 3167|     15|                stack_pointer += -1;
  |  | 3168|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3169|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3170|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 3171|     15|                PyStackRef_XCLOSE(kwargs_st);
  |  | 3172|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3173|     15|                stack_pointer += -1;
  |  | 3174|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3175|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3176|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 3177|     15|                PyStackRef_CLOSE(callargs_st);
  |  | 3178|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3179|     15|                stack_pointer += -2;
  |  | 3180|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3181|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3182|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 3183|     15|                PyStackRef_CLOSE(func_st);
  |  | 3184|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3185|     15|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3185:21): [True: 0, False: 15]
  |  |  ------------------
  |  | 3186|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3187|      0|                }
  |  | 3188|     15|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 3189|     15|            }
  |  | 3190|       |            // _CHECK_PERIODIC_AT_END
  |  | 3191|      0|            {
  |  | 3192|     15|                stack_pointer[0] = result;
  |  | 3193|     15|                stack_pointer += 1;
  |  | 3194|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3195|     15|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3196|     15|                _PyFrame_StackPointerValidate(frame);
  |  | 3197|     15|                int err = check_periodics_at_end(tstate, frame);
  |  | 3198|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3199|     15|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3199:21): [True: 0, False: 15]
  |  |  ------------------
  |  | 3200|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3201|      0|                }
  |  | 3202|     15|            }
  |  | 3203|     15|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     15|    { \
  |  |  |  |  201|     15|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     15|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     15|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     15|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     15|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     15|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     15|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     15|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     15|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     15|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     15|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     15|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     15|    }
  |  |  ------------------
  |  | 3204|     15|        }
  |  | 3205|       |
  |  | 3206|    180|        TARGET(CALL_INTRINSIC_1) {
  |  |  ------------------
  |  |  |  |  132|    180|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3207|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3208|       |            int opcode = CALL_INTRINSIC_1;
  |  | 3209|       |            (void)(opcode);
  |  | 3210|       |            #endif
  |  | 3211|    180|            frame->instr_ptr = next_instr;
  |  | 3212|    180|            next_instr += 1;
  |  | 3213|    180|            INSTRUCTION_STATS(CALL_INTRINSIC_1);
  |  |  ------------------
  |  |  |  |   71|    180|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3214|    180|            _PyStackRef value;
  |  | 3215|    180|            _PyStackRef res;
  |  | 3216|    180|            _PyStackRef v;
  |  | 3217|       |            // _CALL_INTRINSIC_1
  |  | 3218|    180|            {
  |  | 3219|    180|                value = stack_pointer[-1];
  |  | 3220|    180|                assert(oparg <= MAX_INTRINSIC_1);
  |  |  ------------------
  |  |  |  Branch (3220:17): [True: 180, False: 0]
  |  |  ------------------
  |  | 3221|    180|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3222|    180|                _PyFrame_StackPointerValidate(frame);
  |  | 3223|    180|                PyObject *res_o = _PyIntrinsics_UnaryFunctions[oparg].func(tstate, PyStackRef_AsPyObjectBorrow(value));
  |  | 3224|    180|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3225|    180|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3225:21): [True: 0, False: 180]
  |  |  ------------------
  |  | 3226|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3227|      0|                }
  |  | 3228|    180|                v = value;
  |  | 3229|    180|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3230|    180|            }
  |  | 3231|       |            // _POP_TOP
  |  | 3232|      0|            {
  |  | 3233|    180|                value = v;
  |  | 3234|    180|                stack_pointer[-1] = res;
  |  | 3235|    180|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3235:17): [True: 180, False: 0]
  |  |  ------------------
  |  | 3236|    180|                _PyFrame_StackPointerValidate(frame);
  |  | 3237|    180|                PyStackRef_XCLOSE(value);
  |  | 3238|    180|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3239|    180|            }
  |  | 3240|    180|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    180|    { \
  |  |  |  |  201|    180|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    180|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    180|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    180|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    180|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    180|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    180|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    180|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 180]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    180|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    180|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    180|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    180|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    180|    }
  |  |  ------------------
  |  | 3241|    180|        }
  |  | 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|   337k|        TARGET(CALL_ISINSTANCE) {
  |  |  ------------------
  |  |  |  |  132|   337k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3299|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3300|       |            int opcode = CALL_ISINSTANCE;
  |  | 3301|       |            (void)(opcode);
  |  | 3302|       |            #endif
  |  | 3303|   337k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3304|   337k|            (void)this_instr;
  |  | 3305|   337k|            frame->instr_ptr = next_instr;
  |  | 3306|   337k|            next_instr += 4;
  |  | 3307|   337k|            INSTRUCTION_STATS(CALL_ISINSTANCE);
  |  |  ------------------
  |  |  |  |   71|   337k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3308|   337k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3309|   337k|            _PyStackRef null;
  |  | 3310|   337k|            _PyStackRef callable;
  |  | 3311|   337k|            _PyStackRef instance;
  |  | 3312|   337k|            _PyStackRef cls;
  |  | 3313|   337k|            _PyStackRef res;
  |  | 3314|       |            /* Skip 1 cache entry */
  |  | 3315|       |            /* Skip 2 cache entries */
  |  | 3316|       |            // _GUARD_THIRD_NULL
  |  | 3317|   337k|            {
  |  | 3318|   337k|                null = stack_pointer[-3];
  |  | 3319|   337k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|   337k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   337k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   337k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3319:21): [True: 0, False: 337k]
  |  |  ------------------
  |  | 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|   337k|            }
  |  | 3325|       |            // _GUARD_CALLABLE_ISINSTANCE
  |  | 3326|   337k|            {
  |  | 3327|   337k|                callable = stack_pointer[-4];
  |  | 3328|   337k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3329|   337k|                PyInterpreterState *interp = tstate->interp;
  |  | 3330|   337k|                if (callable_o != interp->callable_cache.isinstance) {
  |  |  ------------------
  |  |  |  Branch (3330:21): [True: 0, False: 337k]
  |  |  ------------------
  |  | 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|   337k|            }
  |  | 3336|       |            // _CALL_ISINSTANCE
  |  | 3337|   337k|            {
  |  | 3338|   337k|                cls = stack_pointer[-1];
  |  | 3339|   337k|                instance = stack_pointer[-2];
  |  | 3340|   337k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   337k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3341|   337k|                PyObject *inst_o = PyStackRef_AsPyObjectBorrow(instance);
  |  | 3342|   337k|                PyObject *cls_o = PyStackRef_AsPyObjectBorrow(cls);
  |  | 3343|   337k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3344|   337k|                _PyFrame_StackPointerValidate(frame);
  |  | 3345|   337k|                int retval = PyObject_IsInstance(inst_o, cls_o);
  |  | 3346|   337k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3347|   337k|                if (retval < 0) {
  |  |  ------------------
  |  |  |  Branch (3347:21): [True: 0, False: 337k]
  |  |  ------------------
  |  | 3348|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3349|      0|                }
  |  | 3350|   337k|                (void)null;
  |  | 3351|   337k|                stack_pointer += -1;
  |  | 3352|   337k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   337k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3353|   337k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3354|   337k|                _PyFrame_StackPointerValidate(frame);
  |  | 3355|   337k|                PyStackRef_CLOSE(cls);
  |  | 3356|   337k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3357|   337k|                stack_pointer += -1;
  |  | 3358|   337k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   337k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3359|   337k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3360|   337k|                _PyFrame_StackPointerValidate(frame);
  |  | 3361|   337k|                PyStackRef_CLOSE(instance);
  |  | 3362|   337k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3363|   337k|                stack_pointer += -2;
  |  | 3364|   337k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   337k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3365|   337k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3366|   337k|                _PyFrame_StackPointerValidate(frame);
  |  | 3367|   337k|                PyStackRef_CLOSE(callable);
  |  | 3368|   337k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3369|   337k|                res = retval ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|   319k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   319k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = retval ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   354k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  17.1k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3369:23): [True: 319k, False: 17.1k]
  |  |  ------------------
  |  | 3370|   337k|                assert((!PyStackRef_IsNull(res)) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (3370:17): [True: 337k, False: 0]
  |  |  ------------------
  |  | 3371|   337k|            }
  |  | 3372|   337k|            stack_pointer[0] = res;
  |  | 3373|   337k|            stack_pointer += 1;
  |  | 3374|   337k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   337k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3375|   337k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   337k|    { \
  |  |  |  |  201|   337k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   337k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   337k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   337k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   337k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   337k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   337k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   337k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 337k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   337k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   337k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   337k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   337k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   337k|    }
  |  |  ------------------
  |  | 3376|   337k|        }
  |  | 3377|       |
  |  | 3378|    204|        TARGET(CALL_KW) {
  |  |  ------------------
  |  |  |  |  132|    204|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3379|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3380|       |            int opcode = CALL_KW;
  |  | 3381|       |            (void)(opcode);
  |  | 3382|       |            #endif
  |  | 3383|    204|            frame->instr_ptr = next_instr;
  |  | 3384|    204|            next_instr += 4;
  |  | 3385|    204|            INSTRUCTION_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |   71|    204|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3386|    204|            PREDICTED_CALL_KW:;
  |  | 3387|    204|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  | 3388|    204|            (void)this_instr;
  |  | 3389|    204|            opcode = CALL_KW;
  |  |  ------------------
  |  |  |  |   66|    204|#define CALL_KW                                 53
  |  |  ------------------
  |  | 3390|    204|            _PyStackRef callable;
  |  | 3391|    204|            _PyStackRef self_or_null;
  |  | 3392|    204|            _PyStackRef *args;
  |  | 3393|    204|            _PyStackRef kwnames;
  |  | 3394|    204|            _PyStackRef res;
  |  | 3395|       |            // _SPECIALIZE_CALL_KW
  |  | 3396|    204|            {
  |  | 3397|    204|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3398|    204|                callable = stack_pointer[-3 - oparg];
  |  | 3399|    204|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 3400|    204|                (void)counter;
  |  | 3401|    204|                #if ENABLE_SPECIALIZATION
  |  | 3402|    204|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    204|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 65, False: 139]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3403|     65|                    next_instr = this_instr;
  |  | 3404|     65|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3405|     65|                    _PyFrame_StackPointerValidate(frame);
  |  | 3406|     65|                    _Py_Specialize_CallKw(callable, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  |  482|     65|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     65|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     65|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3407|     65|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3408|     65|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     65|    { \
  |  |  |  |  217|     65|        opcode = next_instr->op.code; \
  |  |  |  |  218|     65|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     65|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     65|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     65|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     65|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     65|    }
  |  |  ------------------
  |  | 3409|     65|                }
  |  | 3410|    204|                OPCODE_DEFERRED_INC(CALL_KW);
  |  |  ------------------
  |  |  |  |   90|    204|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 3411|    204|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    204|    do { \
  |  |  |  |  378|    204|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    204|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 204]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3412|    204|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 3413|    204|            }
  |  | 3414|       |            /* Skip 2 cache entries */
  |  | 3415|       |            // _MAYBE_EXPAND_METHOD_KW
  |  | 3416|    204|            {
  |  | 3417|    204|                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: 204]
  |  |  ------------------
  |  | 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|    204|            }
  |  | 3432|       |            // _DO_CALL_KW
  |  | 3433|    204|            {
  |  | 3434|    204|                kwnames = stack_pointer[-1];
  |  | 3435|    204|                args = &stack_pointer[-1 - oparg];
  |  | 3436|    204|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3437|    204|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3438|    204|                int total_args = oparg;
  |  | 3439|    204|                _PyStackRef *arguments = args;
  |  | 3440|    204|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    204|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    204|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    204|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3440:21): [True: 4, False: 200]
  |  |  ------------------
  |  | 3441|      4|                    arguments--;
  |  | 3442|      4|                    total_args++;
  |  | 3443|      4|                }
  |  | 3444|    204|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|    204|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    204|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    204|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3445|    204|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|    204|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    204|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    204|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3445:21): [True: 19, False: 185]
  |  |  ------------------
  |  | 3446|     19|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|    223|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (3446:21): [True: 19, False: 0]
  |  |  ------------------
  |  | 3447|     19|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (3447:21): [True: 19, False: 0]
  |  |  ------------------
  |  | 3448|     19|                {
  |  | 3449|     19|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|     19|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3450|     19|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|     19|#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: 19, False: 0]
  |  |  ------------------
  |  | 3451|     19|                    stack_pointer[-3 - oparg] = callable;
  |  | 3452|     19|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 3453|     19|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3454|     19|                    _PyFrame_StackPointerValidate(frame);
  |  | 3455|     19|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 3456|     19|                        tstate, callable, locals,
  |  | 3457|     19|                        arguments, positional_args, kwnames_o, frame
  |  | 3458|     19|                    );
  |  | 3459|     19|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3460|     19|                    stack_pointer += -3 - oparg;
  |  | 3461|     19|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     19|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3462|     19|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3463|     19|                    _PyFrame_StackPointerValidate(frame);
  |  | 3464|     19|                    PyStackRef_CLOSE(kwnames);
  |  | 3465|     19|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3466|     19|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (3466:25): [True: 0, False: 19]
  |  |  ------------------
  |  | 3467|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3468|      0|                    }
  |  | 3469|     19|                    assert( 4u == 1 + INLINE_CACHE_ENTRIES_CALL_KW);
  |  |  ------------------
  |  |  |  Branch (3469:21): [True: 19, Folded]
  |  |  ------------------
  |  | 3470|     19|                    frame->return_offset = 4u ;
  |  | 3471|     19|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|     19|    do {                                                         \
  |  |  |  |  224|     19|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|     19|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|     19|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|     19|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|     19|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|     19|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|     19|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|     19|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|     19|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3471:21): [True: 19, False: 0]
  |  |  |  Branch (3471:21): [True: 19, False: 0]
  |  |  ------------------
  |  | 3472|     19|                }
  |  | 3473|    185|                stack_pointer[-3 - oparg] = callable;
  |  | 3474|    185|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 3475|    185|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3476|    185|                _PyFrame_StackPointerValidate(frame);
  |  | 3477|    185|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 3478|    185|                    callable,
  |  | 3479|    185|                    arguments,
  |  | 3480|    185|                    total_args,
  |  | 3481|    185|                    kwnames,
  |  | 3482|    185|                    opcode == INSTRUMENTED_CALL_KW,
  |  |  ------------------
  |  |  |  |  238|    185|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 3483|    185|                    frame,
  |  | 3484|    185|                    this_instr,
  |  | 3485|    185|                    tstate);
  |  | 3486|    185|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3487|    185|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3487:21): [True: 1, False: 184]
  |  |  ------------------
  |  | 3488|      1|                    stack_pointer += -3 - oparg;
  |  | 3489|      1|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      1|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3490|      1|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      1|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3491|      0|                }
  |  | 3492|    184|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3493|    184|            }
  |  | 3494|      0|            stack_pointer[-3 - oparg] = res;
  |  | 3495|    184|            stack_pointer += -2 - oparg;
  |  | 3496|    184|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    184|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3497|    184|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    184|    { \
  |  |  |  |  201|    184|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    184|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    184|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    184|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    184|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    184|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    184|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    184|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 184]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    184|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    184|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    184|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    184|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    184|    }
  |  |  ------------------
  |  | 3498|    184|        }
  |  | 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|  9.04k|        TARGET(CALL_KW_NON_PY) {
  |  |  ------------------
  |  |  |  |  132|  9.04k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3640|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3641|       |            int opcode = CALL_KW_NON_PY;
  |  | 3642|       |            (void)(opcode);
  |  | 3643|       |            #endif
  |  | 3644|  9.04k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3645|  9.04k|            (void)this_instr;
  |  | 3646|  9.04k|            frame->instr_ptr = next_instr;
  |  | 3647|  9.04k|            next_instr += 4;
  |  | 3648|  9.04k|            INSTRUCTION_STATS(CALL_KW_NON_PY);
  |  |  ------------------
  |  |  |  |   71|  9.04k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3649|  9.04k|            opcode = CALL_KW_NON_PY;
  |  |  ------------------
  |  |  |  |  157|  9.04k|#define CALL_KW_NON_PY                         155
  |  |  ------------------
  |  | 3650|  9.04k|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3651|  9.04k|            _PyStackRef callable;
  |  | 3652|  9.04k|            _PyStackRef self_or_null;
  |  | 3653|  9.04k|            _PyStackRef *args;
  |  | 3654|  9.04k|            _PyStackRef kwnames;
  |  | 3655|  9.04k|            _PyStackRef res;
  |  | 3656|       |            /* Skip 1 cache entry */
  |  | 3657|       |            /* Skip 2 cache entries */
  |  | 3658|       |            // _CHECK_IS_NOT_PY_CALLABLE_KW
  |  | 3659|  9.04k|            {
  |  | 3660|  9.04k|                callable = stack_pointer[-3 - oparg];
  |  | 3661|  9.04k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3662|  9.04k|                if (PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  9.04k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  9.04k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  9.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  9.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 9.04k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  9.04k|                if (Py_TYPE(callable_o) == &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|  9.04k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3667:21): [True: 0, False: 9.04k]
  |  |  ------------------
  |  | 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|  9.04k|            }
  |  | 3673|       |            // _CALL_KW_NON_PY
  |  | 3674|  9.04k|            {
  |  | 3675|  9.04k|                kwnames = stack_pointer[-1];
  |  | 3676|  9.04k|                args = &stack_pointer[-1 - oparg];
  |  | 3677|  9.04k|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3678|  9.04k|                #if TIER_ONE
  |  | 3679|  9.04k|                assert(opcode != INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  Branch (3679:17): [True: 9.04k, False: 0]
  |  |  ------------------
  |  | 3680|  9.04k|                #endif
  |  | 3681|  9.04k|                int total_args = oparg;
  |  | 3682|  9.04k|                _PyStackRef *arguments = args;
  |  | 3683|  9.04k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  9.04k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  9.04k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  9.04k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3683:21): [True: 0, False: 9.04k]
  |  |  ------------------
  |  | 3684|      0|                    arguments--;
  |  | 3685|      0|                    total_args++;
  |  | 3686|      0|                }
  |  | 3687|  9.04k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3688|  9.04k|                _PyFrame_StackPointerValidate(frame);
  |  | 3689|  9.04k|                PyObject *res_o = _Py_VectorCall_StackRefSteal(
  |  | 3690|  9.04k|                    callable,
  |  | 3691|  9.04k|                    arguments,
  |  | 3692|  9.04k|                    total_args,
  |  | 3693|  9.04k|                    kwnames);
  |  | 3694|  9.04k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3695|  9.04k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3695:21): [True: 270, False: 8.77k]
  |  |  ------------------
  |  | 3696|    270|                    stack_pointer += -3 - oparg;
  |  | 3697|    270|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    270|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3698|    270|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    270|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3699|      0|                }
  |  | 3700|  8.77k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3701|  8.77k|            }
  |  | 3702|       |            // _CHECK_PERIODIC_AT_END
  |  | 3703|      0|            {
  |  | 3704|  8.77k|                stack_pointer[-3 - oparg] = res;
  |  | 3705|  8.77k|                stack_pointer += -2 - oparg;
  |  | 3706|  8.77k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  8.77k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3707|  8.77k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3708|  8.77k|                _PyFrame_StackPointerValidate(frame);
  |  | 3709|  8.77k|                int err = check_periodics_at_end(tstate, frame);
  |  | 3710|  8.77k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3711|  8.77k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3711:21): [True: 0, False: 8.77k]
  |  |  ------------------
  |  | 3712|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3713|      0|                }
  |  | 3714|  8.77k|            }
  |  | 3715|  8.77k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  8.77k|    { \
  |  |  |  |  201|  8.77k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  8.77k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  8.77k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  8.77k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  8.77k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  8.77k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  8.77k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  8.77k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 8.77k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  8.77k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  8.77k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  8.77k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  8.77k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  8.77k|    }
  |  |  ------------------
  |  | 3716|  8.77k|        }
  |  | 3717|       |
  |  | 3718|  18.1k|        TARGET(CALL_KW_PY) {
  |  |  ------------------
  |  |  |  |  132|  18.1k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3719|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3720|       |            int opcode = CALL_KW_PY;
  |  | 3721|       |            (void)(opcode);
  |  | 3722|       |            #endif
  |  | 3723|  18.1k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3724|  18.1k|            (void)this_instr;
  |  | 3725|  18.1k|            frame->instr_ptr = next_instr;
  |  | 3726|  18.1k|            next_instr += 4;
  |  | 3727|  18.1k|            INSTRUCTION_STATS(CALL_KW_PY);
  |  |  ------------------
  |  |  |  |   71|  18.1k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3728|  18.1k|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3729|  18.1k|            _PyStackRef callable;
  |  | 3730|  18.1k|            _PyStackRef self_or_null;
  |  | 3731|  18.1k|            _PyStackRef *args;
  |  | 3732|  18.1k|            _PyStackRef kwnames;
  |  | 3733|  18.1k|            _PyStackRef new_frame;
  |  | 3734|       |            /* Skip 1 cache entry */
  |  | 3735|       |            // _CHECK_PEP_523
  |  | 3736|  18.1k|            {
  |  | 3737|  18.1k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  18.1k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 18.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  18.1k|            }
  |  | 3743|       |            // _CHECK_FUNCTION_VERSION_KW
  |  | 3744|  18.1k|            {
  |  | 3745|  18.1k|                callable = stack_pointer[-3 - oparg];
  |  | 3746|  18.1k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 3747|  18.1k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3748|  18.1k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  18.1k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  18.1k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  18.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  18.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3748:21): [True: 0, False: 18.1k]
  |  |  ------------------
  |  | 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|  18.1k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 3754|  18.1k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (3754:21): [True: 0, False: 18.1k]
  |  |  ------------------
  |  | 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|  18.1k|            }
  |  | 3760|       |            // _CHECK_RECURSION_REMAINING
  |  | 3761|  18.1k|            {
  |  | 3762|  18.1k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (3762:21): [True: 0, False: 18.1k]
  |  |  ------------------
  |  | 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|  18.1k|            }
  |  | 3768|       |            // _PY_FRAME_KW
  |  | 3769|  18.1k|            {
  |  | 3770|  18.1k|                kwnames = stack_pointer[-1];
  |  | 3771|  18.1k|                args = &stack_pointer[-1 - oparg];
  |  | 3772|  18.1k|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3773|  18.1k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3774|  18.1k|                int total_args = oparg;
  |  | 3775|  18.1k|                _PyStackRef *arguments = args;
  |  | 3776|  18.1k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  18.1k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  18.1k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  18.1k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3776:21): [True: 0, False: 18.1k]
  |  |  ------------------
  |  | 3777|      0|                    arguments--;
  |  | 3778|      0|                    total_args++;
  |  | 3779|      0|                }
  |  | 3780|  18.1k|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3781|  18.1k|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|  18.1k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3782|  18.1k|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (3782:17): [True: 18.1k, False: 0]
  |  |  ------------------
  |  | 3783|  18.1k|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  18.1k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3784|  18.1k|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|  18.1k|#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: 18.1k, False: 0]
  |  |  ------------------
  |  | 3785|  18.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3786|  18.1k|                _PyFrame_StackPointerValidate(frame);
  |  | 3787|  18.1k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 3788|  18.1k|                    tstate, callable, locals,
  |  | 3789|  18.1k|                    arguments, positional_args, kwnames_o, frame
  |  | 3790|  18.1k|                );
  |  | 3791|  18.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3792|  18.1k|                stack_pointer += -1;
  |  | 3793|  18.1k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  18.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3794|  18.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3795|  18.1k|                _PyFrame_StackPointerValidate(frame);
  |  | 3796|  18.1k|                PyStackRef_CLOSE(kwnames);
  |  | 3797|  18.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3798|  18.1k|                stack_pointer += -2 - oparg;
  |  | 3799|  18.1k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  18.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3800|  18.1k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (3800:21): [True: 0, False: 18.1k]
  |  |  ------------------
  |  | 3801|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3802|      0|                }
  |  | 3803|  18.1k|                new_frame = PyStackRef_Wrap(temp);
  |  | 3804|  18.1k|            }
  |  | 3805|       |            // _SAVE_RETURN_OFFSET
  |  | 3806|      0|            {
  |  | 3807|  18.1k|                #if TIER_ONE
  |  | 3808|  18.1k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 3809|  18.1k|                #endif
  |  | 3810|       |                #if TIER_TWO
  |  | 3811|       |                frame->return_offset = oparg;
  |  | 3812|       |                #endif
  |  | 3813|  18.1k|            }
  |  | 3814|       |            // _PUSH_FRAME
  |  | 3815|  18.1k|            {
  |  | 3816|  18.1k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (3816:17): [True: 18.1k, False: 0]
  |  |  ------------------
  |  | 3817|  18.1k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 3818|  18.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3819|  18.1k|                _PyFrame_StackPointerValidate(frame);
  |  | 3820|  18.1k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (3820:17): [True: 18.1k, False: 0]
  |  |  |  Branch (3820:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3821|  18.1k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  18.1k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 3822|  18.1k|                frame = tstate->current_frame = temp;
  |  | 3823|  18.1k|                tstate->py_recursion_remaining--;
  |  | 3824|  18.1k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3825|  18.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3826|  18.1k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  18.1k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  18.1k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  18.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 18.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3827|       |                #ifdef Py_DEBUG
  |  | 3828|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 3829|       |                #endif
  |  | 3830|  18.1k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  18.1k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3831|  18.1k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  18.1k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3832|  18.1k|            }
  |  | 3833|  18.1k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  18.1k|    { \
  |  |  |  |  201|  18.1k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  18.1k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  18.1k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  18.1k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  18.1k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  18.1k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  18.1k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  18.1k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 18.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  18.1k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  18.1k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  18.1k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  18.1k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  18.1k|    }
  |  |  ------------------
  |  | 3834|  18.1k|        }
  |  | 3835|       |
  |  | 3836|  1.45M|        TARGET(CALL_LEN) {
  |  |  ------------------
  |  |  |  |  132|  1.45M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3837|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3838|       |            int opcode = CALL_LEN;
  |  | 3839|       |            (void)(opcode);
  |  | 3840|       |            #endif
  |  | 3841|  1.45M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3842|  1.45M|            (void)this_instr;
  |  | 3843|  1.45M|            frame->instr_ptr = next_instr;
  |  | 3844|  1.45M|            next_instr += 4;
  |  | 3845|  1.45M|            INSTRUCTION_STATS(CALL_LEN);
  |  |  ------------------
  |  |  |  |   71|  1.45M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3846|  1.45M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3847|  1.45M|            _PyStackRef null;
  |  | 3848|  1.45M|            _PyStackRef callable;
  |  | 3849|  1.45M|            _PyStackRef arg;
  |  | 3850|  1.45M|            _PyStackRef res;
  |  | 3851|  1.45M|            _PyStackRef a;
  |  | 3852|  1.45M|            _PyStackRef c;
  |  | 3853|  1.45M|            _PyStackRef value;
  |  | 3854|       |            /* Skip 1 cache entry */
  |  | 3855|       |            /* Skip 2 cache entries */
  |  | 3856|       |            // _GUARD_NOS_NULL
  |  | 3857|  1.45M|            {
  |  | 3858|  1.45M|                null = stack_pointer[-2];
  |  | 3859|  1.45M|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  1.45M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.45M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.45M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3859:21): [True: 0, False: 1.45M]
  |  |  ------------------
  |  | 3860|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3861|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3861:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3862|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3863|      0|                }
  |  | 3864|  1.45M|            }
  |  | 3865|       |            // _GUARD_CALLABLE_LEN
  |  | 3866|  1.45M|            {
  |  | 3867|  1.45M|                callable = stack_pointer[-3];
  |  | 3868|  1.45M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3869|  1.45M|                PyInterpreterState *interp = tstate->interp;
  |  | 3870|  1.45M|                if (callable_o != interp->callable_cache.len) {
  |  |  ------------------
  |  |  |  Branch (3870:21): [True: 0, False: 1.45M]
  |  |  ------------------
  |  | 3871|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3872|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (3872:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 3873|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3874|      0|                }
  |  | 3875|  1.45M|            }
  |  | 3876|       |            // _CALL_LEN
  |  | 3877|  1.45M|            {
  |  | 3878|  1.45M|                arg = stack_pointer[-1];
  |  | 3879|  1.45M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.45M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3880|  1.45M|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 3881|  1.45M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3882|  1.45M|                _PyFrame_StackPointerValidate(frame);
  |  | 3883|  1.45M|                Py_ssize_t len_i = PyObject_Length(arg_o);
  |  |  ------------------
  |  |  |  |  353|  1.45M|#define PyObject_Length PyObject_Size
  |  |  ------------------
  |  | 3884|  1.45M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3885|  1.45M|                if (len_i < 0) {
  |  |  ------------------
  |  |  |  Branch (3885:21): [True: 0, False: 1.45M]
  |  |  ------------------
  |  | 3886|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3887|      0|                }
  |  | 3888|  1.45M|                PyObject *res_o = PyLong_FromSsize_t(len_i);
  |  | 3889|  1.45M|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (3889:17): [True: 1.45M, False: 0]
  |  |  ------------------
  |  | 3890|  1.45M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3890:21): [True: 0, False: 1.45M]
  |  |  ------------------
  |  | 3891|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3892|      0|                }
  |  | 3893|  1.45M|                a = arg;
  |  | 3894|  1.45M|                c = callable;
  |  | 3895|  1.45M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3896|  1.45M|            }
  |  | 3897|       |            // _POP_TOP
  |  | 3898|      0|            {
  |  | 3899|  1.45M|                value = c;
  |  | 3900|  1.45M|                stack_pointer[-3] = res;
  |  | 3901|  1.45M|                stack_pointer[-2] = a;
  |  | 3902|  1.45M|                stack_pointer += -1;
  |  | 3903|  1.45M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.45M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3904|  1.45M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3905|  1.45M|                _PyFrame_StackPointerValidate(frame);
  |  | 3906|  1.45M|                PyStackRef_XCLOSE(value);
  |  | 3907|  1.45M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3908|  1.45M|            }
  |  | 3909|       |            // _POP_TOP
  |  | 3910|  1.45M|            {
  |  | 3911|  1.45M|                value = a;
  |  | 3912|  1.45M|                stack_pointer += -1;
  |  | 3913|  1.45M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.45M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3914|  1.45M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3915|  1.45M|                _PyFrame_StackPointerValidate(frame);
  |  | 3916|  1.45M|                PyStackRef_XCLOSE(value);
  |  | 3917|  1.45M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3918|  1.45M|            }
  |  | 3919|  1.45M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.45M|    { \
  |  |  |  |  201|  1.45M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.45M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.45M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.45M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.45M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.45M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.45M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.45M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.45M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.45M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.45M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.45M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.45M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.45M|    }
  |  |  ------------------
  |  | 3920|  1.45M|        }
  |  | 3921|       |
  |  | 3922|   533k|        TARGET(CALL_LIST_APPEND) {
  |  |  ------------------
  |  |  |  |  132|   533k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3923|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3924|       |            int opcode = CALL_LIST_APPEND;
  |  | 3925|       |            (void)(opcode);
  |  | 3926|       |            #endif
  |  | 3927|   533k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3928|   533k|            (void)this_instr;
  |  | 3929|   533k|            frame->instr_ptr = next_instr;
  |  | 3930|   533k|            next_instr += 4;
  |  | 3931|   533k|            INSTRUCTION_STATS(CALL_LIST_APPEND);
  |  |  ------------------
  |  |  |  |   71|   533k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3932|   533k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3933|   533k|            _PyStackRef callable;
  |  | 3934|   533k|            _PyStackRef nos;
  |  | 3935|   533k|            _PyStackRef self;
  |  | 3936|   533k|            _PyStackRef arg;
  |  | 3937|   533k|            _PyStackRef none;
  |  | 3938|   533k|            _PyStackRef c;
  |  | 3939|   533k|            _PyStackRef s;
  |  | 3940|   533k|            _PyStackRef value;
  |  | 3941|       |            /* Skip 1 cache entry */
  |  | 3942|       |            /* Skip 2 cache entries */
  |  | 3943|       |            // _GUARD_CALLABLE_LIST_APPEND
  |  | 3944|   533k|            {
  |  | 3945|   533k|                callable = stack_pointer[-3];
  |  | 3946|   533k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3947|   533k|                PyInterpreterState *interp = tstate->interp;
  |  | 3948|   533k|                if (callable_o != interp->callable_cache.list_append) {
  |  |  ------------------
  |  |  |  Branch (3948:21): [True: 0, False: 533k]
  |  |  ------------------
  |  | 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|   533k|            }
  |  | 3954|       |            // _GUARD_NOS_NOT_NULL
  |  | 3955|   533k|            {
  |  | 3956|   533k|                nos = stack_pointer[-2];
  |  | 3957|   533k|                if (PyStackRef_IsNull(nos)) {
  |  |  ------------------
  |  |  |  |  482|   533k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   533k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   533k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 533k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|   533k|            }
  |  | 3963|       |            // _GUARD_NOS_LIST
  |  | 3964|   533k|            {
  |  | 3965|   533k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 3966|   533k|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|   533k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   533k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   533k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   533k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3966:21): [True: 0, False: 533k]
  |  |  ------------------
  |  | 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|   533k|            }
  |  | 3972|       |            // _CALL_LIST_APPEND
  |  | 3973|   533k|            {
  |  | 3974|   533k|                arg = stack_pointer[-1];
  |  | 3975|   533k|                self = nos;
  |  | 3976|   533k|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (3976:17): [True: 533k, False: 0]
  |  |  ------------------
  |  | 3977|   533k|                PyObject *self_o = PyStackRef_AsPyObjectBorrow(self);
  |  | 3978|   533k|                if (!LOCK_OBJECT(self_o)) {
  |  |  ------------------
  |  |  |  |  322|   533k|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (3978:21): [Folded, False: 533k]
  |  |  ------------------
  |  | 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|   533k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   533k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3984|   533k|                int err = _PyList_AppendTakeRef((PyListObject *)self_o, PyStackRef_AsPyObjectSteal(arg));
  |  | 3985|   533k|                UNLOCK_OBJECT(self_o);
  |  |  ------------------
  |  |  |  |  323|   533k|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  | 3986|   533k|                if (err) {
  |  |  ------------------
  |  |  |  Branch (3986:21): [True: 0, False: 533k]
  |  |  ------------------
  |  | 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|   533k|                c = callable;
  |  | 4006|   533k|                s = self;
  |  | 4007|   533k|                none = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|   533k|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   533k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4008|   533k|            }
  |  | 4009|       |            // _POP_TOP
  |  | 4010|      0|            {
  |  | 4011|   533k|                value = s;
  |  | 4012|   533k|                stack_pointer[-3] = none;
  |  | 4013|   533k|                stack_pointer[-2] = c;
  |  | 4014|   533k|                stack_pointer += -1;
  |  | 4015|   533k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   533k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4016|   533k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4017|   533k|                _PyFrame_StackPointerValidate(frame);
  |  | 4018|   533k|                PyStackRef_XCLOSE(value);
  |  | 4019|   533k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4020|   533k|            }
  |  | 4021|       |            // _POP_TOP
  |  | 4022|   533k|            {
  |  | 4023|   533k|                value = c;
  |  | 4024|   533k|                stack_pointer += -1;
  |  | 4025|   533k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   533k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4026|   533k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4027|   533k|                _PyFrame_StackPointerValidate(frame);
  |  | 4028|   533k|                PyStackRef_XCLOSE(value);
  |  | 4029|   533k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4030|   533k|            }
  |  | 4031|   533k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   533k|    { \
  |  |  |  |  201|   533k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   533k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   533k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   533k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   533k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   533k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   533k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   533k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 533k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   533k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   533k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   533k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   533k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   533k|    }
  |  |  ------------------
  |  | 4032|   533k|        }
  |  | 4033|       |
  |  | 4034|  1.00M|        TARGET(CALL_METHOD_DESCRIPTOR_FAST) {
  |  |  ------------------
  |  |  |  |  132|  1.00M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4035|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4036|       |            int opcode = CALL_METHOD_DESCRIPTOR_FAST;
  |  | 4037|       |            (void)(opcode);
  |  | 4038|       |            #endif
  |  | 4039|  1.00M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4040|  1.00M|            (void)this_instr;
  |  | 4041|  1.00M|            frame->instr_ptr = next_instr;
  |  | 4042|  1.00M|            next_instr += 4;
  |  | 4043|  1.00M|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_FAST);
  |  |  ------------------
  |  |  |  |   71|  1.00M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4044|  1.00M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4045|  1.00M|            _PyStackRef callable;
  |  | 4046|  1.00M|            _PyStackRef self_or_null;
  |  | 4047|  1.00M|            _PyStackRef *args;
  |  | 4048|  1.00M|            _PyStackRef value;
  |  | 4049|       |            /* Skip 1 cache entry */
  |  | 4050|       |            /* Skip 2 cache entries */
  |  | 4051|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_FAST
  |  | 4052|  1.00M|            {
  |  | 4053|  1.00M|                args = &stack_pointer[-oparg];
  |  | 4054|  1.00M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4055|  1.00M|                callable = stack_pointer[-2 - oparg];
  |  | 4056|  1.00M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4057|  1.00M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4058|  1.00M|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  1.00M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4058:21): [True: 0, False: 1.00M]
  |  |  ------------------
  |  | 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|  1.00M|                if ((method->d_method->ml_flags & _Py_METH_CALL_FLAGS) !=
  |  |  ------------------
  |  |  |  |   17|  1.00M|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|  1.00M|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|  1.00M|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  1.00M|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|  1.00M|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|  1.00M|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|  1.00M|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.00M|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4063:21): [True: 0, False: 1.00M]
  |  |  ------------------
  |  | 4064|  1.00M|                    METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |  115|  1.00M|#  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|  1.00M|                int total_args = oparg;
  |  | 4070|  1.00M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.00M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.00M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.00M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4070:21): [True: 1.00M, False: 0]
  |  |  ------------------
  |  | 4071|  1.00M|                    total_args++;
  |  | 4072|  1.00M|                }
  |  | 4073|  1.00M|                if (total_args == 0) {
  |  |  ------------------
  |  |  |  Branch (4073:21): [True: 0, False: 1.00M]
  |  |  ------------------
  |  | 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|  1.00M|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4079|  1.00M|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|  1.00M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.00M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.00M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.00M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4080|  1.00M|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  1.00M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4080:21): [True: 124, False: 1.00M]
  |  |  ------------------
  |  | 4081|    124|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    124|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4082|    124|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4082:21): [True: 124, False: 0]
  |  |  ------------------
  |  | 4083|    124|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    124|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4084|      0|                }
  |  | 4085|  1.00M|            }
  |  | 4086|       |            // _CALL_METHOD_DESCRIPTOR_FAST
  |  | 4087|  1.00M|            {
  |  | 4088|  1.00M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4089|  1.00M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4090|  1.00M|                int total_args = oparg;
  |  | 4091|  1.00M|                _PyStackRef *arguments = args;
  |  | 4092|  1.00M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.00M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.00M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.00M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4092:21): [True: 1.00M, False: 0]
  |  |  ------------------
  |  | 4093|  1.00M|                    arguments--;
  |  | 4094|  1.00M|                    total_args++;
  |  | 4095|  1.00M|                }
  |  | 4096|  1.00M|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4097|  1.00M|                assert(self != NULL);
  |  |  ------------------
  |  |  |  Branch (4097:17): [True: 1.00M, False: 0]
  |  |  ------------------
  |  | 4098|  1.00M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.00M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4099|  1.00M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4100|  1.00M|                _PyFrame_StackPointerValidate(frame);
  |  | 4101|  1.00M|                PyCFunctionFast cfunc = _PyCFunctionFast_CAST(method->d_method->ml_meth);
  |  |  ------------------
  |  |  |  |   58|  1.00M|    _Py_FUNC_CAST(PyCFunctionFast, func)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.00M|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4102|  1.00M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4103|  1.00M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4103:17): [True: 1.00M, False: 0]
  |  |  ------------------
  |  | 4104|  1.00M|                _PyFrame_StackPointerValidate(frame);
  |  | 4105|  1.00M|                PyObject *res_o = _PyCallMethodDescriptorFast_StackRef(
  |  | 4106|  1.00M|                    callable,
  |  | 4107|  1.00M|                    cfunc,
  |  | 4108|  1.00M|                    self,
  |  | 4109|  1.00M|                    arguments,
  |  | 4110|  1.00M|                    total_args
  |  | 4111|  1.00M|                );
  |  | 4112|  1.00M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4113|  1.00M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4113:21): [True: 0, False: 1.00M]
  |  |  ------------------
  |  | 4114|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4115|      0|                }
  |  | 4116|  1.00M|                _PyStackRef temp = callable;
  |  | 4117|  1.00M|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4118|  1.00M|                stack_pointer[-2 - oparg] = callable;
  |  | 4119|  1.00M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4119:17): [True: 1.00M, False: 0]
  |  |  ------------------
  |  | 4120|  1.00M|                _PyFrame_StackPointerValidate(frame);
  |  | 4121|  1.00M|                PyStackRef_CLOSE(temp);
  |  | 4122|  1.00M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4123|  1.00M|            }
  |  | 4124|       |            // _POP_TOP_OPARG
  |  | 4125|      0|            {
  |  | 4126|  1.00M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4126:17): [True: 1.00M, False: 0]
  |  |  ------------------
  |  | 4127|  1.00M|                _PyFrame_StackPointerValidate(frame);
  |  | 4128|  1.00M|                _PyStackRef_CloseStack(args, oparg);
  |  | 4129|  1.00M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4130|  1.00M|            }
  |  | 4131|       |            // _POP_TOP
  |  | 4132|      0|            {
  |  | 4133|  1.00M|                value = self_or_null;
  |  | 4134|  1.00M|                stack_pointer += -1 - oparg;
  |  | 4135|  1.00M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.00M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4136|  1.00M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4137|  1.00M|                _PyFrame_StackPointerValidate(frame);
  |  | 4138|  1.00M|                PyStackRef_XCLOSE(value);
  |  | 4139|  1.00M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4140|  1.00M|            }
  |  | 4141|       |            // _CHECK_PERIODIC_AT_END
  |  | 4142|  1.00M|            {
  |  | 4143|  1.00M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4143:17): [True: 1.00M, False: 0]
  |  |  ------------------
  |  | 4144|  1.00M|                _PyFrame_StackPointerValidate(frame);
  |  | 4145|  1.00M|                int err = check_periodics_at_end(tstate, frame);
  |  | 4146|  1.00M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4147|  1.00M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4147:21): [True: 0, False: 1.00M]
  |  |  ------------------
  |  | 4148|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4149|      0|                }
  |  | 4150|  1.00M|            }
  |  | 4151|  1.00M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.00M|    { \
  |  |  |  |  201|  1.00M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.00M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.00M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.00M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.00M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.00M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.00M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.00M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.00M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.00M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.00M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.00M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.00M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.00M|    }
  |  |  ------------------
  |  | 4152|  1.00M|        }
  |  | 4153|       |
  |  | 4154|  77.6k|        TARGET(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS) {
  |  |  ------------------
  |  |  |  |  132|  77.6k|#  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|  77.6k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4160|  77.6k|            (void)this_instr;
  |  | 4161|  77.6k|            frame->instr_ptr = next_instr;
  |  | 4162|  77.6k|            next_instr += 4;
  |  | 4163|  77.6k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS);
  |  |  ------------------
  |  |  |  |   71|  77.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4164|  77.6k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4165|  77.6k|            _PyStackRef callable;
  |  | 4166|  77.6k|            _PyStackRef self_or_null;
  |  | 4167|  77.6k|            _PyStackRef *args;
  |  | 4168|  77.6k|            _PyStackRef value;
  |  | 4169|       |            /* Skip 1 cache entry */
  |  | 4170|       |            /* Skip 2 cache entries */
  |  | 4171|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
  |  | 4172|  77.6k|            {
  |  | 4173|  77.6k|                args = &stack_pointer[-oparg];
  |  | 4174|  77.6k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4175|  77.6k|                callable = stack_pointer[-2 - oparg];
  |  | 4176|  77.6k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4177|  77.6k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4178|  77.6k|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  77.6k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  77.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  77.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4178:21): [True: 0, False: 77.6k]
  |  |  ------------------
  |  | 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|  77.6k|                if ((method->d_method->ml_flags & _Py_METH_CALL_FLAGS) !=
  |  |  ------------------
  |  |  |  |   17|  77.6k|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|  77.6k|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|  77.6k|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  77.6k|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|  77.6k|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|  77.6k|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|  77.6k|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  77.6k|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4183:21): [True: 0, False: 77.6k]
  |  |  ------------------
  |  | 4184|  77.6k|                    (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |  115|  77.6k|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                                   (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   96|  77.6k|#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|  77.6k|                int total_args = oparg;
  |  | 4190|  77.6k|                _PyStackRef *arguments = args;
  |  | 4191|  77.6k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  77.6k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  77.6k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  77.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4191:21): [True: 77.6k, False: 0]
  |  |  ------------------
  |  | 4192|  77.6k|                    arguments--;
  |  | 4193|  77.6k|                    total_args++;
  |  | 4194|  77.6k|                }
  |  | 4195|  77.6k|                if (total_args == 0) {
  |  |  ------------------
  |  |  |  Branch (4195:21): [True: 0, False: 77.6k]
  |  |  ------------------
  |  | 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|  77.6k|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4201|  77.6k|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  77.6k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  77.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  77.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4201:21): [True: 0, False: 77.6k]
  |  |  ------------------
  |  | 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|  77.6k|            }
  |  | 4207|       |            // _CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
  |  | 4208|  77.6k|            {
  |  | 4209|  77.6k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4210|  77.6k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4211|  77.6k|                int total_args = oparg;
  |  | 4212|  77.6k|                _PyStackRef *arguments = args;
  |  | 4213|  77.6k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  77.6k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  77.6k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  77.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4213:21): [True: 77.6k, False: 0]
  |  |  ------------------
  |  | 4214|  77.6k|                    arguments--;
  |  | 4215|  77.6k|                    total_args++;
  |  | 4216|  77.6k|                }
  |  | 4217|  77.6k|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4218|  77.6k|                assert(self != NULL);
  |  |  ------------------
  |  |  |  Branch (4218:17): [True: 77.6k, False: 0]
  |  |  ------------------
  |  | 4219|  77.6k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  77.6k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4220|  77.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4221|  77.6k|                _PyFrame_StackPointerValidate(frame);
  |  | 4222|  77.6k|                PyCFunctionFastWithKeywords cfunc = _PyCFunctionFastWithKeywords_CAST(method->d_method->ml_meth);
  |  |  ------------------
  |  |  |  |   62|  77.6k|    _Py_FUNC_CAST(PyCFunctionFastWithKeywords, func)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  77.6k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  77.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4223|  77.6k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4224|  77.6k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4224:17): [True: 77.6k, False: 0]
  |  |  ------------------
  |  | 4225|  77.6k|                _PyFrame_StackPointerValidate(frame);
  |  | 4226|  77.6k|                PyObject *res_o = _PyCallMethodDescriptorFastWithKeywords_StackRef(
  |  | 4227|  77.6k|                    callable,
  |  | 4228|  77.6k|                    cfunc,
  |  | 4229|  77.6k|                    self,
  |  | 4230|  77.6k|                    arguments,
  |  | 4231|  77.6k|                    total_args
  |  | 4232|  77.6k|                );
  |  | 4233|  77.6k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4234|  77.6k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4234:21): [True: 29.8k, False: 47.8k]
  |  |  ------------------
  |  | 4235|  29.8k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  29.8k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4236|      0|                }
  |  | 4237|  47.8k|                _PyStackRef temp = callable;
  |  | 4238|  47.8k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4239|  47.8k|                stack_pointer[-2 - oparg] = callable;
  |  | 4240|  47.8k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4240:17): [True: 47.8k, False: 0]
  |  |  ------------------
  |  | 4241|  47.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4242|  47.8k|                PyStackRef_CLOSE(temp);
  |  | 4243|  47.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4244|  47.8k|            }
  |  | 4245|       |            // _POP_TOP_OPARG
  |  | 4246|      0|            {
  |  | 4247|  47.8k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4247:17): [True: 47.8k, False: 0]
  |  |  ------------------
  |  | 4248|  47.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4249|  47.8k|                _PyStackRef_CloseStack(args, oparg);
  |  | 4250|  47.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4251|  47.8k|            }
  |  | 4252|       |            // _POP_TOP
  |  | 4253|      0|            {
  |  | 4254|  47.8k|                value = self_or_null;
  |  | 4255|  47.8k|                stack_pointer += -1 - oparg;
  |  | 4256|  47.8k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  47.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4257|  47.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4258|  47.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4259|  47.8k|                PyStackRef_XCLOSE(value);
  |  | 4260|  47.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4261|  47.8k|            }
  |  | 4262|       |            // _CHECK_PERIODIC_AT_END
  |  | 4263|  47.8k|            {
  |  | 4264|  47.8k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4264:17): [True: 47.8k, False: 0]
  |  |  ------------------
  |  | 4265|  47.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4266|  47.8k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4267|  47.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4268|  47.8k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4268:21): [True: 0, False: 47.8k]
  |  |  ------------------
  |  | 4269|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4270|      0|                }
  |  | 4271|  47.8k|            }
  |  | 4272|  47.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  47.8k|    { \
  |  |  |  |  201|  47.8k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  47.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  47.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  47.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  47.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  47.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  47.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  47.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 47.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  47.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  47.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  47.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  47.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  47.8k|    }
  |  |  ------------------
  |  | 4273|  47.8k|        }
  |  | 4274|       |
  |  | 4275|   594k|        TARGET(CALL_METHOD_DESCRIPTOR_NOARGS) {
  |  |  ------------------
  |  |  |  |  132|   594k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4276|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4277|       |            int opcode = CALL_METHOD_DESCRIPTOR_NOARGS;
  |  | 4278|       |            (void)(opcode);
  |  | 4279|       |            #endif
  |  | 4280|   594k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4281|   594k|            (void)this_instr;
  |  | 4282|   594k|            frame->instr_ptr = next_instr;
  |  | 4283|   594k|            next_instr += 4;
  |  | 4284|   594k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_NOARGS);
  |  |  ------------------
  |  |  |  |   71|   594k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4285|   594k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4286|   594k|            _PyStackRef callable;
  |  | 4287|   594k|            _PyStackRef self_or_null;
  |  | 4288|   594k|            _PyStackRef *args;
  |  | 4289|   594k|            _PyStackRef res;
  |  | 4290|   594k|            _PyStackRef c;
  |  | 4291|   594k|            _PyStackRef s;
  |  | 4292|   594k|            _PyStackRef value;
  |  | 4293|       |            /* Skip 1 cache entry */
  |  | 4294|       |            /* Skip 2 cache entries */
  |  | 4295|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_NOARGS
  |  | 4296|   594k|            {
  |  | 4297|   594k|                args = &stack_pointer[-oparg];
  |  | 4298|   594k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4299|   594k|                callable = stack_pointer[-2 - oparg];
  |  | 4300|   594k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4301|   594k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4302|   594k|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|   594k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   594k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   594k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4302:21): [True: 0, False: 594k]
  |  |  ------------------
  |  | 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|   594k|                if ((method->d_method->ml_flags & _Py_METH_CALL_FLAGS) !=
  |  |  ------------------
  |  |  |  |   17|   594k|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|   594k|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|   594k|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|   594k|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|   594k|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|   594k|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|   594k|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   594k|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4307:21): [True: 0, False: 594k]
  |  |  ------------------
  |  | 4308|   594k|                    METH_NOARGS) {
  |  |  ------------------
  |  |  |  |   98|   594k|#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|   594k|                int total_args = oparg;
  |  | 4314|   594k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   594k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   594k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   594k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4314:21): [True: 594k, False: 0]
  |  |  ------------------
  |  | 4315|   594k|                    total_args++;
  |  | 4316|   594k|                }
  |  | 4317|   594k|                if (total_args != 1) {
  |  |  ------------------
  |  |  |  Branch (4317:21): [True: 0, False: 594k]
  |  |  ------------------
  |  | 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|   594k|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4323|   594k|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|   594k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   594k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   594k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 594k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4324|   594k|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|   594k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   594k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   594k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4324:21): [True: 106, False: 594k]
  |  |  ------------------
  |  | 4325|    106|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    106|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4326|    106|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4326:21): [True: 106, False: 0]
  |  |  ------------------
  |  | 4327|    106|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    106|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4328|      0|                }
  |  | 4329|   594k|            }
  |  | 4330|       |            // _CHECK_RECURSION_LIMIT
  |  | 4331|   594k|            {
  |  | 4332|   594k|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (4332:21): [True: 0, False: 594k]
  |  |  ------------------
  |  | 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|   594k|            }
  |  | 4338|       |            // _CALL_METHOD_DESCRIPTOR_NOARGS
  |  | 4339|   594k|            {
  |  | 4340|   594k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4341|   594k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4342|   594k|                assert(oparg == 1 || !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (4342:17): [True: 0, False: 594k]
  |  |  |  Branch (4342:17): [True: 594k, False: 0]
  |  |  ------------------
  |  | 4343|   594k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   594k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   594k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   594k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4343:21): [True: 594k, False: 0]
  |  |  ------------------
  |  | 4344|   594k|                    args--;
  |  | 4345|   594k|                }
  |  | 4346|   594k|                _PyStackRef self_stackref = args[0];
  |  | 4347|   594k|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_stackref);
  |  | 4348|   594k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   594k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4349|   594k|                PyCFunction cfunc = method->d_method->ml_meth;
  |  | 4350|   594k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4351|   594k|                _PyFrame_StackPointerValidate(frame);
  |  | 4352|   594k|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, self, NULL);
  |  |  ------------------
  |  |  |  |   61|   594k|    (meth)((self), (args))
  |  |  ------------------
  |  | 4353|   594k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4354|   594k|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 4355|   594k|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (4355:17): [True: 594k, False: 0]
  |  |  ------------------
  |  | 4356|   594k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4356:21): [True: 0, False: 594k]
  |  |  ------------------
  |  | 4357|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4358|      0|                }
  |  | 4359|   594k|                c = callable;
  |  | 4360|   594k|                s = args[0];
  |  | 4361|   594k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4362|   594k|            }
  |  | 4363|       |            // _POP_TOP
  |  | 4364|      0|            {
  |  | 4365|   594k|                value = s;
  |  | 4366|   594k|                stack_pointer[-2 - oparg] = res;
  |  | 4367|   594k|                stack_pointer[-1 - oparg] = c;
  |  | 4368|   594k|                stack_pointer += -oparg;
  |  | 4369|   594k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   594k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4370|   594k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4371|   594k|                _PyFrame_StackPointerValidate(frame);
  |  | 4372|   594k|                PyStackRef_XCLOSE(value);
  |  | 4373|   594k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4374|   594k|            }
  |  | 4375|       |            // _POP_TOP
  |  | 4376|   594k|            {
  |  | 4377|   594k|                value = c;
  |  | 4378|   594k|                stack_pointer += -1;
  |  | 4379|   594k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   594k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4380|   594k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4381|   594k|                _PyFrame_StackPointerValidate(frame);
  |  | 4382|   594k|                PyStackRef_XCLOSE(value);
  |  | 4383|   594k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4384|   594k|            }
  |  | 4385|       |            // _CHECK_PERIODIC_AT_END
  |  | 4386|   594k|            {
  |  | 4387|   594k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4387:17): [True: 594k, False: 0]
  |  |  ------------------
  |  | 4388|   594k|                _PyFrame_StackPointerValidate(frame);
  |  | 4389|   594k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4390|   594k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4391|   594k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4391:21): [True: 0, False: 594k]
  |  |  ------------------
  |  | 4392|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4393|      0|                }
  |  | 4394|   594k|            }
  |  | 4395|   594k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   594k|    { \
  |  |  |  |  201|   594k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   594k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   594k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   594k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   594k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   594k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   594k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   594k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 594k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   594k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   594k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   594k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   594k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   594k|    }
  |  |  ------------------
  |  | 4396|   594k|        }
  |  | 4397|       |
  |  | 4398|   847k|        TARGET(CALL_METHOD_DESCRIPTOR_O) {
  |  |  ------------------
  |  |  |  |  132|   847k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4399|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4400|       |            int opcode = CALL_METHOD_DESCRIPTOR_O;
  |  | 4401|       |            (void)(opcode);
  |  | 4402|       |            #endif
  |  | 4403|   847k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4404|   847k|            (void)this_instr;
  |  | 4405|   847k|            frame->instr_ptr = next_instr;
  |  | 4406|   847k|            next_instr += 4;
  |  | 4407|   847k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_O);
  |  |  ------------------
  |  |  |  |   71|   847k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4408|   847k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4409|   847k|            _PyStackRef callable;
  |  | 4410|   847k|            _PyStackRef self_or_null;
  |  | 4411|   847k|            _PyStackRef *args;
  |  | 4412|   847k|            _PyStackRef res;
  |  | 4413|   847k|            _PyStackRef c;
  |  | 4414|   847k|            _PyStackRef s;
  |  | 4415|   847k|            _PyStackRef a;
  |  | 4416|   847k|            _PyStackRef value;
  |  | 4417|       |            /* Skip 1 cache entry */
  |  | 4418|       |            /* Skip 2 cache entries */
  |  | 4419|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_O
  |  | 4420|   847k|            {
  |  | 4421|   847k|                args = &stack_pointer[-oparg];
  |  | 4422|   847k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4423|   847k|                callable = stack_pointer[-2 - oparg];
  |  | 4424|   847k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4425|   847k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4426|   847k|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|   847k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   847k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   847k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4426:21): [True: 0, False: 847k]
  |  |  ------------------
  |  | 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|   847k|                if ((method->d_method->ml_flags & _Py_METH_CALL_FLAGS) !=
  |  |  ------------------
  |  |  |  |   17|   847k|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   95|   847k|#define METH_VARARGS  0x0001
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|   847k|#  define METH_FASTCALL  0x0080
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|   847k|#define METH_NOARGS   0x0004
  |  |  |  |  ------------------
  |  |  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|   847k|#define METH_O        0x0008
  |  |  |  |  ------------------
  |  |  |  |   18|   847k|     METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |   96|   847k|#define METH_KEYWORDS 0x0002
  |  |  |  |  ------------------
  |  |  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   847k|#define METH_METHOD 0x0200
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4431:21): [True: 0, False: 847k]
  |  |  ------------------
  |  | 4432|   847k|                    METH_O) {
  |  |  ------------------
  |  |  |  |   99|   847k|#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|   847k|                int total_args = oparg;
  |  | 4438|   847k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   847k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   847k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   847k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4438:21): [True: 847k, False: 0]
  |  |  ------------------
  |  | 4439|   847k|                    total_args++;
  |  | 4440|   847k|                }
  |  | 4441|   847k|                if (total_args != 2) {
  |  |  ------------------
  |  |  |  Branch (4441:21): [True: 0, False: 847k]
  |  |  ------------------
  |  | 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|   847k|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4447|   847k|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|   847k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   847k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   847k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 847k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4448|   847k|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|   847k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   847k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   847k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4448:21): [True: 832, False: 846k]
  |  |  ------------------
  |  | 4449|    832|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    832|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4450|    832|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4450:21): [True: 832, False: 0]
  |  |  ------------------
  |  | 4451|    832|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    832|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4452|      0|                }
  |  | 4453|   847k|            }
  |  | 4454|       |            // _CHECK_RECURSION_LIMIT
  |  | 4455|   846k|            {
  |  | 4456|   846k|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (4456:21): [True: 0, False: 846k]
  |  |  ------------------
  |  | 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|   846k|            }
  |  | 4462|       |            // _CALL_METHOD_DESCRIPTOR_O
  |  | 4463|   846k|            {
  |  | 4464|   846k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4465|   846k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4466|   846k|                _PyStackRef *arguments = args;
  |  | 4467|   846k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   846k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   846k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   846k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4467:21): [True: 846k, False: 0]
  |  |  ------------------
  |  | 4468|   846k|                    arguments--;
  |  | 4469|   846k|                }
  |  | 4470|   846k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   846k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4471|   846k|                PyCFunction cfunc = method->d_method->ml_meth;
  |  | 4472|   846k|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4473|   846k|                PyObject *arg = PyStackRef_AsPyObjectBorrow(arguments[1]);
  |  | 4474|   846k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4475|   846k|                _PyFrame_StackPointerValidate(frame);
  |  | 4476|   846k|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, self, arg);
  |  |  ------------------
  |  |  |  |   61|   846k|    (meth)((self), (args))
  |  |  ------------------
  |  | 4477|   846k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4478|   846k|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 4479|   846k|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (4479:17): [True: 846k, False: 0]
  |  |  ------------------
  |  | 4480|   846k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4480:21): [True: 0, False: 846k]
  |  |  ------------------
  |  | 4481|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4482|      0|                }
  |  | 4483|   846k|                c = callable;
  |  | 4484|   846k|                s = arguments[0];
  |  | 4485|   846k|                a = arguments[1];
  |  | 4486|   846k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4487|   846k|            }
  |  | 4488|       |            // _POP_TOP
  |  | 4489|      0|            {
  |  | 4490|   846k|                value = a;
  |  | 4491|   846k|                stack_pointer[-2 - oparg] = res;
  |  | 4492|   846k|                stack_pointer[-1 - oparg] = c;
  |  | 4493|   846k|                stack_pointer[-oparg] = s;
  |  | 4494|   846k|                stack_pointer += 1 - oparg;
  |  | 4495|   846k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   846k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4496|   846k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4497|   846k|                _PyFrame_StackPointerValidate(frame);
  |  | 4498|   846k|                PyStackRef_XCLOSE(value);
  |  | 4499|   846k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4500|   846k|            }
  |  | 4501|       |            // _POP_TOP
  |  | 4502|   846k|            {
  |  | 4503|   846k|                value = s;
  |  | 4504|   846k|                stack_pointer += -1;
  |  | 4505|   846k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   846k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4506|   846k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4507|   846k|                _PyFrame_StackPointerValidate(frame);
  |  | 4508|   846k|                PyStackRef_XCLOSE(value);
  |  | 4509|   846k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4510|   846k|            }
  |  | 4511|       |            // _POP_TOP
  |  | 4512|   846k|            {
  |  | 4513|   846k|                value = c;
  |  | 4514|   846k|                stack_pointer += -1;
  |  | 4515|   846k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   846k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4516|   846k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4517|   846k|                _PyFrame_StackPointerValidate(frame);
  |  | 4518|   846k|                PyStackRef_XCLOSE(value);
  |  | 4519|   846k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4520|   846k|            }
  |  | 4521|       |            // _CHECK_PERIODIC_AT_END
  |  | 4522|   846k|            {
  |  | 4523|   846k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4523:17): [True: 846k, False: 0]
  |  |  ------------------
  |  | 4524|   846k|                _PyFrame_StackPointerValidate(frame);
  |  | 4525|   846k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4526|   846k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4527|   846k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4527:21): [True: 0, False: 846k]
  |  |  ------------------
  |  | 4528|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4529|      0|                }
  |  | 4530|   846k|            }
  |  | 4531|   846k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   846k|    { \
  |  |  |  |  201|   846k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   846k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   846k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   846k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   846k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   846k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   846k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   846k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 846k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   846k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   846k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   846k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   846k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   846k|    }
  |  |  ------------------
  |  | 4532|   846k|        }
  |  | 4533|       |
  |  | 4534|  10.8k|        TARGET(CALL_NON_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  10.8k|#  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.8k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4540|  10.8k|            (void)this_instr;
  |  | 4541|  10.8k|            frame->instr_ptr = next_instr;
  |  | 4542|  10.8k|            next_instr += 4;
  |  | 4543|  10.8k|            INSTRUCTION_STATS(CALL_NON_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  10.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4544|  10.8k|            opcode = CALL_NON_PY_GENERAL;
  |  |  ------------------
  |  |  |  |  165|  10.8k|#define CALL_NON_PY_GENERAL                    163
  |  |  ------------------
  |  | 4545|  10.8k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4546|  10.8k|            _PyStackRef callable;
  |  | 4547|  10.8k|            _PyStackRef self_or_null;
  |  | 4548|  10.8k|            _PyStackRef *args;
  |  | 4549|  10.8k|            _PyStackRef res;
  |  | 4550|       |            /* Skip 1 cache entry */
  |  | 4551|       |            /* Skip 2 cache entries */
  |  | 4552|       |            // _CHECK_IS_NOT_PY_CALLABLE
  |  | 4553|  10.8k|            {
  |  | 4554|  10.8k|                callable = stack_pointer[-2 - oparg];
  |  | 4555|  10.8k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4556|  10.8k|                if (PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  10.8k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  10.8k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 10.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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.8k|                if (Py_TYPE(callable_o) == &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|  10.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4561:21): [True: 0, False: 10.8k]
  |  |  ------------------
  |  | 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.8k|            }
  |  | 4567|       |            // _CALL_NON_PY_GENERAL
  |  | 4568|  10.8k|            {
  |  | 4569|  10.8k|                args = &stack_pointer[-oparg];
  |  | 4570|  10.8k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4571|  10.8k|                #if TIER_ONE
  |  | 4572|  10.8k|                assert(opcode != INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  Branch (4572:17): [True: 10.8k, False: 0]
  |  |  ------------------
  |  | 4573|  10.8k|                #endif
  |  | 4574|  10.8k|                int total_args = oparg;
  |  | 4575|  10.8k|                _PyStackRef *arguments = args;
  |  | 4576|  10.8k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  10.8k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  10.8k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  10.8k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4576:21): [True: 535, False: 10.2k]
  |  |  ------------------
  |  | 4577|    535|                    arguments--;
  |  | 4578|    535|                    total_args++;
  |  | 4579|    535|                }
  |  | 4580|  10.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4581|  10.8k|                _PyFrame_StackPointerValidate(frame);
  |  | 4582|  10.8k|                PyObject *res_o = _Py_VectorCall_StackRefSteal(
  |  | 4583|  10.8k|                    callable,
  |  | 4584|  10.8k|                    arguments,
  |  | 4585|  10.8k|                    total_args,
  |  | 4586|  10.8k|                    PyStackRef_NULL);
  |  | 4587|  10.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4588|  10.8k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4588:21): [True: 26, False: 10.7k]
  |  |  ------------------
  |  | 4589|     26|                    stack_pointer += -2 - oparg;
  |  | 4590|     26|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     26|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4591|     26|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     26|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4592|      0|                }
  |  | 4593|  10.7k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4594|  10.7k|            }
  |  | 4595|       |            // _CHECK_PERIODIC_AT_END
  |  | 4596|      0|            {
  |  | 4597|  10.7k|                stack_pointer[-2 - oparg] = res;
  |  | 4598|  10.7k|                stack_pointer += -1 - oparg;
  |  | 4599|  10.7k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  10.7k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4600|  10.7k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4601|  10.7k|                _PyFrame_StackPointerValidate(frame);
  |  | 4602|  10.7k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4603|  10.7k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4604|  10.7k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4604:21): [True: 0, False: 10.7k]
  |  |  ------------------
  |  | 4605|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4606|      0|                }
  |  | 4607|  10.7k|            }
  |  | 4608|  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|    }
  |  |  ------------------
  |  | 4609|  10.7k|        }
  |  | 4610|       |
  |  | 4611|  4.96M|        TARGET(CALL_PY_EXACT_ARGS) {
  |  |  ------------------
  |  |  |  |  132|  4.96M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4612|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4613|       |            int opcode = CALL_PY_EXACT_ARGS;
  |  | 4614|       |            (void)(opcode);
  |  | 4615|       |            #endif
  |  | 4616|  4.96M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4617|  4.96M|            (void)this_instr;
  |  | 4618|  4.96M|            frame->instr_ptr = next_instr;
  |  | 4619|  4.96M|            next_instr += 4;
  |  | 4620|  4.96M|            INSTRUCTION_STATS(CALL_PY_EXACT_ARGS);
  |  |  ------------------
  |  |  |  |   71|  4.96M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4621|  4.96M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4622|  4.96M|            _PyStackRef callable;
  |  | 4623|  4.96M|            _PyStackRef self_or_null;
  |  | 4624|  4.96M|            _PyStackRef *args;
  |  | 4625|  4.96M|            _PyStackRef new_frame;
  |  | 4626|       |            /* Skip 1 cache entry */
  |  | 4627|       |            // _CHECK_PEP_523
  |  | 4628|  4.96M|            {
  |  | 4629|  4.96M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  4.96M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 4.96M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  4.96M|            }
  |  | 4635|       |            // _CHECK_FUNCTION_VERSION
  |  | 4636|  4.96M|            {
  |  | 4637|  4.96M|                callable = stack_pointer[-2 - oparg];
  |  | 4638|  4.96M|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 4639|  4.96M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4640|  4.96M|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  4.96M|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  4.96M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4640:21): [True: 394, False: 4.96M]
  |  |  ------------------
  |  | 4641|    394|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    394|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4642|    394|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4642:21): [True: 394, False: 0]
  |  |  ------------------
  |  | 4643|    394|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    394|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4644|      0|                }
  |  | 4645|  4.96M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4646|  4.96M|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (4646:21): [True: 288, False: 4.96M]
  |  |  ------------------
  |  | 4647|    288|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    288|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4648|    288|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4648:21): [True: 288, False: 0]
  |  |  ------------------
  |  | 4649|    288|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    288|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4650|      0|                }
  |  | 4651|  4.96M|            }
  |  | 4652|       |            // _CHECK_FUNCTION_EXACT_ARGS
  |  | 4653|  4.96M|            {
  |  | 4654|  4.96M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4655|  4.96M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4656|  4.96M|                assert(PyFunction_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (4656:17): [True: 4.96M, False: 0]
  |  |  ------------------
  |  | 4657|  4.96M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4658|  4.96M|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 4659|  4.96M|                if (code->co_argcount != oparg + (!PyStackRef_IsNull(self_or_null))) {
  |  |  ------------------
  |  |  |  |  482|  4.96M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  4.96M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  4.96M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4659:21): [True: 0, False: 4.96M]
  |  |  ------------------
  |  | 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|  4.96M|            }
  |  | 4665|       |            // _CHECK_STACK_SPACE
  |  | 4666|  4.96M|            {
  |  | 4667|  4.96M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4668|  4.96M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4669|  4.96M|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 4670|  4.96M|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (4670:21): [True: 0, False: 4.96M]
  |  |  ------------------
  |  | 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|  4.96M|            }
  |  | 4676|       |            // _CHECK_RECURSION_REMAINING
  |  | 4677|  4.96M|            {
  |  | 4678|  4.96M|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (4678:21): [True: 0, False: 4.96M]
  |  |  ------------------
  |  | 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|  4.96M|            }
  |  | 4684|       |            // _INIT_CALL_PY_EXACT_ARGS
  |  | 4685|  4.96M|            {
  |  | 4686|  4.96M|                args = &stack_pointer[-oparg];
  |  | 4687|  4.96M|                int has_self = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|  4.96M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  4.96M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  4.96M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4688|  4.96M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  4.96M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4689|  4.96M|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, callable, oparg + has_self, frame);
  |  | 4690|  4.96M|                _PyStackRef *first_non_self_local = pushed_frame->localsplus + has_self;
  |  | 4691|  4.96M|                pushed_frame->localsplus[0] = self_or_null;
  |  | 4692|  12.9M|                for (int i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (4692:33): [True: 8.02M, False: 4.96M]
  |  |  ------------------
  |  | 4693|  8.02M|                    first_non_self_local[i] = args[i];
  |  | 4694|  8.02M|                }
  |  | 4695|  4.96M|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 4696|  4.96M|            }
  |  | 4697|       |            // _SAVE_RETURN_OFFSET
  |  | 4698|  4.96M|            {
  |  | 4699|  4.96M|                #if TIER_ONE
  |  | 4700|  4.96M|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 4701|  4.96M|                #endif
  |  | 4702|       |                #if TIER_TWO
  |  | 4703|       |                frame->return_offset = oparg;
  |  | 4704|       |                #endif
  |  | 4705|  4.96M|            }
  |  | 4706|       |            // _PUSH_FRAME
  |  | 4707|  4.96M|            {
  |  | 4708|  4.96M|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (4708:17): [True: 4.96M, False: 0]
  |  |  ------------------
  |  | 4709|  4.96M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 4710|  4.96M|                stack_pointer += -2 - oparg;
  |  | 4711|  4.96M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  4.96M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4712|  4.96M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4713|  4.96M|                _PyFrame_StackPointerValidate(frame);
  |  | 4714|  4.96M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (4714:17): [True: 4.96M, False: 0]
  |  |  |  Branch (4714:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4715|  4.96M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  4.96M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 4716|  4.96M|                frame = tstate->current_frame = temp;
  |  | 4717|  4.96M|                tstate->py_recursion_remaining--;
  |  | 4718|  4.96M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4719|  4.96M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4720|  4.96M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  4.96M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  4.96M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  4.96M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 4.96M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4721|       |                #ifdef Py_DEBUG
  |  | 4722|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 4723|       |                #endif
  |  | 4724|  4.96M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  4.96M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 4725|  4.96M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  4.96M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 4726|  4.96M|            }
  |  | 4727|  4.96M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.96M|    { \
  |  |  |  |  201|  4.96M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.96M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.96M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.96M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  4.96M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.96M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.96M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.96M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.96M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.96M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.96M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.96M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.96M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.96M|    }
  |  |  ------------------
  |  | 4728|  4.96M|        }
  |  | 4729|       |
  |  | 4730|  46.5k|        TARGET(CALL_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  46.5k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4731|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4732|       |            int opcode = CALL_PY_GENERAL;
  |  | 4733|       |            (void)(opcode);
  |  | 4734|       |            #endif
  |  | 4735|  46.5k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4736|  46.5k|            (void)this_instr;
  |  | 4737|  46.5k|            frame->instr_ptr = next_instr;
  |  | 4738|  46.5k|            next_instr += 4;
  |  | 4739|  46.5k|            INSTRUCTION_STATS(CALL_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  46.5k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4740|  46.5k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4741|  46.5k|            _PyStackRef callable;
  |  | 4742|  46.5k|            _PyStackRef self_or_null;
  |  | 4743|  46.5k|            _PyStackRef *args;
  |  | 4744|  46.5k|            _PyStackRef new_frame;
  |  | 4745|       |            /* Skip 1 cache entry */
  |  | 4746|       |            // _CHECK_PEP_523
  |  | 4747|  46.5k|            {
  |  | 4748|  46.5k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  46.5k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 46.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  46.5k|            }
  |  | 4754|       |            // _CHECK_FUNCTION_VERSION
  |  | 4755|  46.5k|            {
  |  | 4756|  46.5k|                callable = stack_pointer[-2 - oparg];
  |  | 4757|  46.5k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 4758|  46.5k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4759|  46.5k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  46.5k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  46.5k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  46.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  46.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4759:21): [True: 0, False: 46.5k]
  |  |  ------------------
  |  | 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|  46.5k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4765|  46.5k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (4765:21): [True: 0, False: 46.5k]
  |  |  ------------------
  |  | 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|  46.5k|            }
  |  | 4771|       |            // _CHECK_RECURSION_REMAINING
  |  | 4772|  46.5k|            {
  |  | 4773|  46.5k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (4773:21): [True: 0, False: 46.5k]
  |  |  ------------------
  |  | 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|  46.5k|            }
  |  | 4779|       |            // _PY_FRAME_GENERAL
  |  | 4780|  46.5k|            {
  |  | 4781|  46.5k|                args = &stack_pointer[-oparg];
  |  | 4782|  46.5k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4783|  46.5k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4784|  46.5k|                int total_args = oparg;
  |  | 4785|  46.5k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  46.5k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  46.5k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  46.5k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4785:21): [True: 508, False: 46.0k]
  |  |  ------------------
  |  | 4786|    508|                    args--;
  |  | 4787|    508|                    total_args++;
  |  | 4788|    508|                }
  |  | 4789|  46.5k|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (4789:17): [True: 46.5k, False: 0]
  |  |  ------------------
  |  | 4790|  46.5k|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  46.5k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  46.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  46.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4791|  46.5k|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|  46.5k|#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: 46.5k, False: 0]
  |  |  ------------------
  |  | 4792|  46.5k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4793|  46.5k|                _PyFrame_StackPointerValidate(frame);
  |  | 4794|  46.5k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 4795|  46.5k|                    tstate, callable, locals,
  |  | 4796|  46.5k|                    args, total_args, NULL, frame
  |  | 4797|  46.5k|                );
  |  | 4798|  46.5k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4799|  46.5k|                stack_pointer += -2 - oparg;
  |  | 4800|  46.5k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  46.5k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4801|  46.5k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (4801:21): [True: 0, False: 46.5k]
  |  |  ------------------
  |  | 4802|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4803|      0|                }
  |  | 4804|  46.5k|                new_frame = PyStackRef_Wrap(temp);
  |  | 4805|  46.5k|            }
  |  | 4806|       |            // _SAVE_RETURN_OFFSET
  |  | 4807|      0|            {
  |  | 4808|  46.5k|                #if TIER_ONE
  |  | 4809|  46.5k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 4810|  46.5k|                #endif
  |  | 4811|       |                #if TIER_TWO
  |  | 4812|       |                frame->return_offset = oparg;
  |  | 4813|       |                #endif
  |  | 4814|  46.5k|            }
  |  | 4815|       |            // _PUSH_FRAME
  |  | 4816|  46.5k|            {
  |  | 4817|  46.5k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (4817:17): [True: 46.5k, False: 0]
  |  |  ------------------
  |  | 4818|  46.5k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 4819|  46.5k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4820|  46.5k|                _PyFrame_StackPointerValidate(frame);
  |  | 4821|  46.5k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (4821:17): [True: 46.5k, False: 0]
  |  |  |  Branch (4821:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4822|  46.5k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  46.5k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 4823|  46.5k|                frame = tstate->current_frame = temp;
  |  | 4824|  46.5k|                tstate->py_recursion_remaining--;
  |  | 4825|  46.5k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4826|  46.5k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4827|  46.5k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  46.5k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  46.5k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  46.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 46.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4828|       |                #ifdef Py_DEBUG
  |  | 4829|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 4830|       |                #endif
  |  | 4831|  46.5k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  46.5k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 4832|  46.5k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  46.5k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 4833|  46.5k|            }
  |  | 4834|  46.5k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  46.5k|    { \
  |  |  |  |  201|  46.5k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  46.5k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  46.5k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  46.5k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  46.5k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  46.5k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  46.5k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  46.5k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 46.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  46.5k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  46.5k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  46.5k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  46.5k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  46.5k|    }
  |  |  ------------------
  |  | 4835|  46.5k|        }
  |  | 4836|       |
  |  | 4837|    202|        TARGET(CALL_STR_1) {
  |  |  ------------------
  |  |  |  |  132|    202|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4838|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4839|       |            int opcode = CALL_STR_1;
  |  | 4840|       |            (void)(opcode);
  |  | 4841|       |            #endif
  |  | 4842|    202|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4843|    202|            (void)this_instr;
  |  | 4844|    202|            frame->instr_ptr = next_instr;
  |  | 4845|    202|            next_instr += 4;
  |  | 4846|    202|            INSTRUCTION_STATS(CALL_STR_1);
  |  |  ------------------
  |  |  |  |   71|    202|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4847|    202|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4848|    202|            _PyStackRef null;
  |  | 4849|    202|            _PyStackRef callable;
  |  | 4850|    202|            _PyStackRef arg;
  |  | 4851|    202|            _PyStackRef res;
  |  | 4852|    202|            _PyStackRef a;
  |  | 4853|    202|            _PyStackRef value;
  |  | 4854|       |            /* Skip 1 cache entry */
  |  | 4855|       |            /* Skip 2 cache entries */
  |  | 4856|       |            // _GUARD_NOS_NULL
  |  | 4857|    202|            {
  |  | 4858|    202|                null = stack_pointer[-2];
  |  | 4859|    202|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|    202|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    202|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    202|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4859:21): [True: 0, False: 202]
  |  |  ------------------
  |  | 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|    202|            }
  |  | 4865|       |            // _GUARD_CALLABLE_STR_1
  |  | 4866|    202|            {
  |  | 4867|    202|                callable = stack_pointer[-3];
  |  | 4868|    202|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4869|    202|                if (callable_o != (PyObject *)&PyUnicode_Type) {
  |  |  ------------------
  |  |  |  Branch (4869:21): [True: 0, False: 202]
  |  |  ------------------
  |  | 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|    202|            }
  |  | 4875|       |            // _CALL_STR_1
  |  | 4876|    202|            {
  |  | 4877|    202|                arg = stack_pointer[-1];
  |  | 4878|    202|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4879|    202|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (4879:17): [True: 202, False: 0]
  |  |  ------------------
  |  | 4880|    202|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    202|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4881|    202|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4882|    202|                _PyFrame_StackPointerValidate(frame);
  |  | 4883|    202|                PyObject *res_o = PyObject_Str(arg_o);
  |  | 4884|    202|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4885|    202|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4885:21): [True: 0, False: 202]
  |  |  ------------------
  |  | 4886|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4887|      0|                }
  |  | 4888|    202|                a = arg;
  |  | 4889|    202|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4890|    202|            }
  |  | 4891|       |            // _POP_TOP
  |  | 4892|      0|            {
  |  | 4893|    202|                value = a;
  |  | 4894|    202|                stack_pointer[-3] = res;
  |  | 4895|    202|                stack_pointer += -2;
  |  | 4896|    202|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    202|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4897|    202|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4898|    202|                _PyFrame_StackPointerValidate(frame);
  |  | 4899|    202|                PyStackRef_XCLOSE(value);
  |  | 4900|    202|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4901|    202|            }
  |  | 4902|       |            // _CHECK_PERIODIC_AT_END
  |  | 4903|    202|            {
  |  | 4904|    202|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4904:17): [True: 202, False: 0]
  |  |  ------------------
  |  | 4905|    202|                _PyFrame_StackPointerValidate(frame);
  |  | 4906|    202|                int err = check_periodics_at_end(tstate, frame);
  |  | 4907|    202|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4908|    202|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4908:21): [True: 0, False: 202]
  |  |  ------------------
  |  | 4909|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4910|      0|                }
  |  | 4911|    202|            }
  |  | 4912|    202|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    202|    { \
  |  |  |  |  201|    202|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    202|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    202|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    202|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    202|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    202|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    202|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    202|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 202]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    202|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    202|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    202|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    202|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    202|    }
  |  |  ------------------
  |  | 4913|    202|        }
  |  | 4914|       |
  |  | 4915|     10|        TARGET(CALL_TUPLE_1) {
  |  |  ------------------
  |  |  |  |  132|     10|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4916|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4917|       |            int opcode = CALL_TUPLE_1;
  |  | 4918|       |            (void)(opcode);
  |  | 4919|       |            #endif
  |  | 4920|     10|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4921|     10|            (void)this_instr;
  |  | 4922|     10|            frame->instr_ptr = next_instr;
  |  | 4923|     10|            next_instr += 4;
  |  | 4924|     10|            INSTRUCTION_STATS(CALL_TUPLE_1);
  |  |  ------------------
  |  |  |  |   71|     10|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4925|     10|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4926|     10|            _PyStackRef null;
  |  | 4927|     10|            _PyStackRef callable;
  |  | 4928|     10|            _PyStackRef arg;
  |  | 4929|     10|            _PyStackRef res;
  |  | 4930|     10|            _PyStackRef a;
  |  | 4931|     10|            _PyStackRef value;
  |  | 4932|       |            /* Skip 1 cache entry */
  |  | 4933|       |            /* Skip 2 cache entries */
  |  | 4934|       |            // _GUARD_NOS_NULL
  |  | 4935|     10|            {
  |  | 4936|     10|                null = stack_pointer[-2];
  |  | 4937|     10|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|     10|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     10|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     10|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4937:21): [True: 0, False: 10]
  |  |  ------------------
  |  | 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|     10|            }
  |  | 4943|       |            // _GUARD_CALLABLE_TUPLE_1
  |  | 4944|     10|            {
  |  | 4945|     10|                callable = stack_pointer[-3];
  |  | 4946|     10|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4947|     10|                if (callable_o != (PyObject *)&PyTuple_Type) {
  |  |  ------------------
  |  |  |  Branch (4947:21): [True: 0, False: 10]
  |  |  ------------------
  |  | 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|     10|            }
  |  | 4953|       |            // _CALL_TUPLE_1
  |  | 4954|     10|            {
  |  | 4955|     10|                arg = stack_pointer[-1];
  |  | 4956|     10|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4957|     10|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (4957:17): [True: 10, False: 0]
  |  |  ------------------
  |  | 4958|     10|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|     10|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4959|     10|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4960|     10|                _PyFrame_StackPointerValidate(frame);
  |  | 4961|     10|                PyObject *res_o = PySequence_Tuple(arg_o);
  |  | 4962|     10|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4963|     10|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4963:21): [True: 0, False: 10]
  |  |  ------------------
  |  | 4964|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4965|      0|                }
  |  | 4966|     10|                a = arg;
  |  | 4967|     10|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4968|     10|            }
  |  | 4969|       |            // _POP_TOP
  |  | 4970|      0|            {
  |  | 4971|     10|                value = a;
  |  | 4972|     10|                stack_pointer[-3] = res;
  |  | 4973|     10|                stack_pointer += -2;
  |  | 4974|     10|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     10|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4975|     10|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4976|     10|                _PyFrame_StackPointerValidate(frame);
  |  | 4977|     10|                PyStackRef_XCLOSE(value);
  |  | 4978|     10|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4979|     10|            }
  |  | 4980|       |            // _CHECK_PERIODIC_AT_END
  |  | 4981|     10|            {
  |  | 4982|     10|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4982:17): [True: 10, False: 0]
  |  |  ------------------
  |  | 4983|     10|                _PyFrame_StackPointerValidate(frame);
  |  | 4984|     10|                int err = check_periodics_at_end(tstate, frame);
  |  | 4985|     10|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4986|     10|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4986:21): [True: 0, False: 10]
  |  |  ------------------
  |  | 4987|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4988|      0|                }
  |  | 4989|     10|            }
  |  | 4990|     10|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     10|    { \
  |  |  |  |  201|     10|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     10|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     10|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     10|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     10|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     10|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     10|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     10|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 10]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     10|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     10|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     10|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     10|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     10|    }
  |  |  ------------------
  |  | 4991|     10|        }
  |  | 4992|       |
  |  | 4993|    190|        TARGET(CALL_TYPE_1) {
  |  |  ------------------
  |  |  |  |  132|    190|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4994|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4995|       |            int opcode = CALL_TYPE_1;
  |  | 4996|       |            (void)(opcode);
  |  | 4997|       |            #endif
  |  | 4998|    190|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4999|    190|            (void)this_instr;
  |  | 5000|    190|            frame->instr_ptr = next_instr;
  |  | 5001|    190|            next_instr += 4;
  |  | 5002|    190|            INSTRUCTION_STATS(CALL_TYPE_1);
  |  |  ------------------
  |  |  |  |   71|    190|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5003|    190|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 5004|    190|            _PyStackRef null;
  |  | 5005|    190|            _PyStackRef callable;
  |  | 5006|    190|            _PyStackRef arg;
  |  | 5007|    190|            _PyStackRef res;
  |  | 5008|    190|            _PyStackRef a;
  |  | 5009|    190|            _PyStackRef value;
  |  | 5010|       |            /* Skip 1 cache entry */
  |  | 5011|       |            /* Skip 2 cache entries */
  |  | 5012|       |            // _GUARD_NOS_NULL
  |  | 5013|    190|            {
  |  | 5014|    190|                null = stack_pointer[-2];
  |  | 5015|    190|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|    190|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    190|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    190|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5015:21): [True: 0, False: 190]
  |  |  ------------------
  |  | 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|    190|            }
  |  | 5021|       |            // _GUARD_CALLABLE_TYPE_1
  |  | 5022|    190|            {
  |  | 5023|    190|                callable = stack_pointer[-3];
  |  | 5024|    190|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 5025|    190|                if (callable_o != (PyObject *)&PyType_Type) {
  |  |  ------------------
  |  |  |  Branch (5025:21): [True: 0, False: 190]
  |  |  ------------------
  |  | 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|    190|            }
  |  | 5031|       |            // _CALL_TYPE_1
  |  | 5032|    190|            {
  |  | 5033|    190|                arg = stack_pointer[-1];
  |  | 5034|    190|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 5035|    190|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (5035:17): [True: 190, False: 0]
  |  |  ------------------
  |  | 5036|    190|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    190|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5037|    190|                a = arg;
  |  | 5038|    190|                res = PyStackRef_FromPyObjectNew(Py_TYPE(arg_o));
  |  |  ------------------
  |  |  |  |  611|    190|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    190|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    190|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5039|    190|            }
  |  | 5040|       |            // _POP_TOP
  |  | 5041|      0|            {
  |  | 5042|    190|                value = a;
  |  | 5043|    190|                stack_pointer[-3] = res;
  |  | 5044|    190|                stack_pointer += -2;
  |  | 5045|    190|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    190|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5046|    190|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5047|    190|                _PyFrame_StackPointerValidate(frame);
  |  | 5048|    190|                PyStackRef_XCLOSE(value);
  |  | 5049|    190|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5050|    190|            }
  |  | 5051|    190|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    190|    { \
  |  |  |  |  201|    190|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    190|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    190|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    190|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    190|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    190|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    190|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    190|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 190]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    190|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    190|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    190|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    190|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    190|    }
  |  |  ------------------
  |  | 5052|    190|        }
  |  | 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|  32.6k|        TARGET(CHECK_EXC_MATCH) {
  |  |  ------------------
  |  |  |  |  132|  32.6k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5139|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5140|       |            int opcode = CHECK_EXC_MATCH;
  |  | 5141|       |            (void)(opcode);
  |  | 5142|       |            #endif
  |  | 5143|  32.6k|            frame->instr_ptr = next_instr;
  |  | 5144|  32.6k|            next_instr += 1;
  |  | 5145|  32.6k|            INSTRUCTION_STATS(CHECK_EXC_MATCH);
  |  |  ------------------
  |  |  |  |   71|  32.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5146|  32.6k|            _PyStackRef left;
  |  | 5147|  32.6k|            _PyStackRef right;
  |  | 5148|  32.6k|            _PyStackRef b;
  |  | 5149|  32.6k|            right = stack_pointer[-1];
  |  | 5150|  32.6k|            left = stack_pointer[-2];
  |  | 5151|  32.6k|            PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5152|  32.6k|            PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5153|  32.6k|            assert(PyExceptionInstance_Check(left_o));
  |  |  ------------------
  |  |  |  Branch (5153:13): [True: 32.6k, False: 0]
  |  |  ------------------
  |  | 5154|  32.6k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5155|  32.6k|            _PyFrame_StackPointerValidate(frame);
  |  | 5156|  32.6k|            int err = _PyEval_CheckExceptTypeValid(tstate, right_o);
  |  | 5157|  32.6k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5158|  32.6k|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5158:17): [True: 0, False: 32.6k]
  |  |  ------------------
  |  | 5159|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5160|      0|            }
  |  | 5161|  32.6k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5161:13): [True: 32.6k, False: 0]
  |  |  ------------------
  |  | 5162|  32.6k|            _PyFrame_StackPointerValidate(frame);
  |  | 5163|  32.6k|            int res = PyErr_GivenExceptionMatches(left_o, right_o);
  |  | 5164|  32.6k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5165|  32.6k|            stack_pointer += -1;
  |  | 5166|  32.6k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  32.6k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5167|  32.6k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5168|  32.6k|            _PyFrame_StackPointerValidate(frame);
  |  | 5169|  32.6k|            PyStackRef_CLOSE(right);
  |  | 5170|  32.6k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5171|  32.6k|            b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  32.6k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  32.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  32.7k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     56|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5171:17): [True: 32.6k, False: 56]
  |  |  ------------------
  |  | 5172|  32.6k|            stack_pointer[0] = b;
  |  | 5173|  32.6k|            stack_pointer += 1;
  |  | 5174|  32.6k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  32.6k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5175|  32.6k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  32.6k|    { \
  |  |  |  |  201|  32.6k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  32.6k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  32.6k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  32.6k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  32.6k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  32.6k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  32.6k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  32.6k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 32.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  32.6k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  32.6k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  32.6k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  32.6k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  32.6k|    }
  |  |  ------------------
  |  | 5176|  32.6k|        }
  |  | 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|  2.54M|        TARGET(COMPARE_OP) {
  |  |  ------------------
  |  |  |  |  132|  2.54M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5265|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5266|       |            int opcode = COMPARE_OP;
  |  | 5267|       |            (void)(opcode);
  |  | 5268|       |            #endif
  |  | 5269|  2.54M|            frame->instr_ptr = next_instr;
  |  | 5270|  2.54M|            next_instr += 2;
  |  | 5271|  2.54M|            INSTRUCTION_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |   71|  2.54M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5272|  2.54M|            PREDICTED_COMPARE_OP:;
  |  | 5273|  2.54M|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 5274|  2.54M|            (void)this_instr;
  |  | 5275|  2.54M|            _PyStackRef left;
  |  | 5276|  2.54M|            _PyStackRef right;
  |  | 5277|  2.54M|            _PyStackRef res;
  |  | 5278|       |            // _SPECIALIZE_COMPARE_OP
  |  | 5279|  2.54M|            {
  |  | 5280|  2.54M|                right = stack_pointer[-1];
  |  | 5281|  2.54M|                left = stack_pointer[-2];
  |  | 5282|  2.54M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 5283|  2.54M|                (void)counter;
  |  | 5284|  2.54M|                #if ENABLE_SPECIALIZATION
  |  | 5285|  2.54M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  2.54M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 583, False: 2.54M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5286|    583|                    next_instr = this_instr;
  |  | 5287|    583|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5288|    583|                    _PyFrame_StackPointerValidate(frame);
  |  | 5289|    583|                    _Py_Specialize_CompareOp(left, right, next_instr, oparg);
  |  | 5290|    583|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5291|    583|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    583|    { \
  |  |  |  |  217|    583|        opcode = next_instr->op.code; \
  |  |  |  |  218|    583|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    583|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    583|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    583|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    583|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    583|    }
  |  |  ------------------
  |  | 5292|    583|                }
  |  | 5293|  2.54M|                OPCODE_DEFERRED_INC(COMPARE_OP);
  |  |  ------------------
  |  |  |  |   90|  2.54M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 5294|  2.54M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  2.54M|    do { \
  |  |  |  |  378|  2.54M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  2.54M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 2.54M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5295|  2.54M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 5296|  2.54M|            }
  |  | 5297|       |            // _COMPARE_OP
  |  | 5298|  2.54M|            {
  |  | 5299|  2.54M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5300|  2.54M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5301|  2.54M|                assert((oparg >> 5) <= Py_GE);
  |  |  ------------------
  |  |  |  Branch (5301:17): [True: 2.54M, False: 583]
  |  |  ------------------
  |  | 5302|  2.54M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5303|  2.54M|                _PyFrame_StackPointerValidate(frame);
  |  | 5304|  2.54M|                PyObject *res_o = PyObject_RichCompare(left_o, right_o, oparg >> 5);
  |  | 5305|  2.54M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5306|  2.54M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5306:17): [True: 2.54M, False: 0]
  |  |  ------------------
  |  | 5307|  2.54M|                _PyFrame_StackPointerValidate(frame);
  |  | 5308|  2.54M|                _PyStackRef tmp = right;
  |  | 5309|  2.54M|                right = PyStackRef_NULL;
  |  | 5310|  2.54M|                stack_pointer[-1] = right;
  |  | 5311|  2.54M|                PyStackRef_CLOSE(tmp);
  |  | 5312|  2.54M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5313|  2.54M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5313:17): [True: 2.54M, False: 0]
  |  |  ------------------
  |  | 5314|  2.54M|                _PyFrame_StackPointerValidate(frame);
  |  | 5315|  2.54M|                tmp = left;
  |  | 5316|  2.54M|                left = PyStackRef_NULL;
  |  | 5317|  2.54M|                stack_pointer[-2] = left;
  |  | 5318|  2.54M|                PyStackRef_CLOSE(tmp);
  |  | 5319|  2.54M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5320|  2.54M|                stack_pointer += -2;
  |  | 5321|  2.54M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.54M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5322|  2.54M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5322:21): [True: 0, False: 2.54M]
  |  |  ------------------
  |  | 5323|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5324|      0|                }
  |  | 5325|  2.54M|                if (oparg & 16) {
  |  |  ------------------
  |  |  |  Branch (5325:21): [True: 2.54M, False: 31]
  |  |  ------------------
  |  | 5326|  2.54M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5327|  2.54M|                    _PyFrame_StackPointerValidate(frame);
  |  | 5328|  2.54M|                    int res_bool = PyObject_IsTrue(res_o);
  |  | 5329|  2.54M|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5330|  2.54M|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5330:21): [True: 2.54M, False: 0]
  |  |  ------------------
  |  | 5331|  2.54M|                    _PyFrame_StackPointerValidate(frame);
  |  | 5332|  2.54M|                    Py_DECREF(res_o);
  |  |  ------------------
  |  |  |  |   80|  2.54M|    do { \
  |  |  |  |   81|  2.54M|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  2.54M|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  2.54M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 2.54M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|  2.54M|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|  2.54M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|  2.54M|            break; \
  |  |  |  |   85|  2.54M|        } \
  |  |  |  |   86|  2.54M|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_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|  2.54M|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5334|  2.54M|                    if (res_bool < 0) {
  |  |  ------------------
  |  |  |  Branch (5334:25): [True: 0, False: 2.54M]
  |  |  ------------------
  |  | 5335|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5336|      0|                    }
  |  | 5337|  2.54M|                    res = res_bool ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  1.11M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.11M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   res = res_bool ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  3.98M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.43M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5337:27): [True: 1.11M, False: 1.43M]
  |  |  ------------------
  |  | 5338|  2.54M|                }
  |  | 5339|     31|                else {
  |  | 5340|     31|                    res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 5341|     31|                }
  |  | 5342|  2.54M|            }
  |  | 5343|  2.54M|            stack_pointer[0] = res;
  |  | 5344|  2.54M|            stack_pointer += 1;
  |  | 5345|  2.54M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.54M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5346|  2.54M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.54M|    { \
  |  |  |  |  201|  2.54M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.54M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.54M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.54M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.54M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.54M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.54M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.54M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.54M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.54M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.54M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.54M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.54M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.54M|    }
  |  |  ------------------
  |  | 5347|  2.54M|        }
  |  | 5348|       |
  |  | 5349|    339|        TARGET(COMPARE_OP_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|    339|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5350|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5351|       |            int opcode = COMPARE_OP_FLOAT;
  |  | 5352|       |            (void)(opcode);
  |  | 5353|       |            #endif
  |  | 5354|    339|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5355|    339|            (void)this_instr;
  |  | 5356|    339|            frame->instr_ptr = next_instr;
  |  | 5357|    339|            next_instr += 2;
  |  | 5358|    339|            INSTRUCTION_STATS(COMPARE_OP_FLOAT);
  |  |  ------------------
  |  |  |  |   71|    339|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5359|    339|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5360|    339|            _PyStackRef value;
  |  | 5361|    339|            _PyStackRef left;
  |  | 5362|    339|            _PyStackRef right;
  |  | 5363|    339|            _PyStackRef res;
  |  | 5364|    339|            _PyStackRef l;
  |  | 5365|    339|            _PyStackRef r;
  |  | 5366|       |            // _GUARD_TOS_FLOAT
  |  | 5367|    339|            {
  |  | 5368|    339|                value = stack_pointer[-1];
  |  | 5369|    339|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5370|    339|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|    339|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    339|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    339|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    339|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5370:21): [True: 1, False: 338]
  |  |  ------------------
  |  | 5371|      1|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      1|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5372|      1|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5372:21): [True: 1, False: 0]
  |  |  ------------------
  |  | 5373|      1|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      1|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5374|      0|                }
  |  | 5375|    339|            }
  |  | 5376|       |            // _GUARD_NOS_FLOAT
  |  | 5377|    338|            {
  |  | 5378|    338|                left = stack_pointer[-2];
  |  | 5379|    338|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5380|    338|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|    338|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    338|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    338|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5380:21): [True: 0, False: 338]
  |  |  ------------------
  |  | 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|    338|            }
  |  | 5386|       |            /* Skip 1 cache entry */
  |  | 5387|       |            // _COMPARE_OP_FLOAT
  |  | 5388|    338|            {
  |  | 5389|    338|                right = value;
  |  | 5390|    338|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5391|    338|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5392|    338|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    338|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5393|    338|                double dleft = PyFloat_AS_DOUBLE(left_o);
  |  |  ------------------
  |  |  |  |   18|    338|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    338|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5394|    338|                double dright = PyFloat_AS_DOUBLE(right_o);
  |  |  ------------------
  |  |  |  |   18|    338|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    338|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5395|    338|                int sign_ish = COMPARISON_BIT(dleft, dright);
  |  |  ------------------
  |  |  |  |  523|    338|#define COMPARISON_BIT(x, y) (1 << (2 * ((x) >= (y)) + ((x) <= (y))))
  |  |  ------------------
  |  | 5396|    338|                l = left;
  |  | 5397|    338|                r = right;
  |  | 5398|    338|                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|    676|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    338|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5398:23): [True: 0, False: 338]
  |  |  ------------------
  |  | 5399|    338|            }
  |  | 5400|       |            // _POP_TOP_FLOAT
  |  | 5401|    338|            {
  |  | 5402|    338|                value = r;
  |  | 5403|    338|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5403:17): [True: 338, False: 0]
  |  |  ------------------
  |  | 5404|    338|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 5405|    338|            }
  |  | 5406|       |            // _POP_TOP_FLOAT
  |  | 5407|      0|            {
  |  | 5408|    338|                value = l;
  |  | 5409|    338|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5409:17): [True: 338, False: 0]
  |  |  ------------------
  |  | 5410|    338|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 5411|    338|            }
  |  | 5412|      0|            stack_pointer[-2] = res;
  |  | 5413|    338|            stack_pointer += -1;
  |  | 5414|    338|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    338|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5415|    338|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    338|    { \
  |  |  |  |  201|    338|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    338|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    338|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    338|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    338|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    338|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    338|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    338|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 338]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    338|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    338|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    338|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    338|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    338|    }
  |  |  ------------------
  |  | 5416|    338|        }
  |  | 5417|       |
  |  | 5418|  10.3M|        TARGET(COMPARE_OP_INT) {
  |  |  ------------------
  |  |  |  |  132|  10.3M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5419|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5420|       |            int opcode = COMPARE_OP_INT;
  |  | 5421|       |            (void)(opcode);
  |  | 5422|       |            #endif
  |  | 5423|  10.3M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5424|  10.3M|            (void)this_instr;
  |  | 5425|  10.3M|            frame->instr_ptr = next_instr;
  |  | 5426|  10.3M|            next_instr += 2;
  |  | 5427|  10.3M|            INSTRUCTION_STATS(COMPARE_OP_INT);
  |  |  ------------------
  |  |  |  |   71|  10.3M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5428|  10.3M|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5429|  10.3M|            _PyStackRef value;
  |  | 5430|  10.3M|            _PyStackRef left;
  |  | 5431|  10.3M|            _PyStackRef right;
  |  | 5432|  10.3M|            _PyStackRef res;
  |  | 5433|  10.3M|            _PyStackRef l;
  |  | 5434|  10.3M|            _PyStackRef r;
  |  | 5435|       |            // _GUARD_TOS_INT
  |  | 5436|  10.3M|            {
  |  | 5437|  10.3M|                value = stack_pointer[-1];
  |  | 5438|  10.3M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5439|  10.3M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (5439:21): [True: 0, False: 10.3M]
  |  |  ------------------
  |  | 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|  10.3M|            }
  |  | 5445|       |            // _GUARD_NOS_INT
  |  | 5446|  10.3M|            {
  |  | 5447|  10.3M|                left = stack_pointer[-2];
  |  | 5448|  10.3M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5449|  10.3M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (5449:21): [True: 76, False: 10.3M]
  |  |  ------------------
  |  | 5450|     76|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|     76|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5451|     76|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5451:21): [True: 76, False: 0]
  |  |  ------------------
  |  | 5452|     76|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|     76|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5453|      0|                }
  |  | 5454|  10.3M|            }
  |  | 5455|       |            /* Skip 1 cache entry */
  |  | 5456|       |            // _COMPARE_OP_INT
  |  | 5457|  10.3M|            {
  |  | 5458|  10.3M|                right = value;
  |  | 5459|  10.3M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5460|  10.3M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5461|  10.3M|                assert(_PyLong_IsCompact((PyLongObject *)left_o));
  |  |  ------------------
  |  |  |  Branch (5461:17): [True: 10.3M, False: 0]
  |  |  ------------------
  |  | 5462|  10.3M|                assert(_PyLong_IsCompact((PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (5462:17): [True: 10.3M, False: 0]
  |  |  ------------------
  |  | 5463|  10.3M|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  10.3M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5464|  10.3M|                assert(_PyLong_DigitCount((PyLongObject *)left_o) <= 1 &&
  |  |  ------------------
  |  |  |  Branch (5464:17): [True: 10.3M, False: 0]
  |  |  |  Branch (5464:17): [True: 10.3M, False: 0]
  |  |  ------------------
  |  | 5465|  10.3M|                   _PyLong_DigitCount((PyLongObject *)right_o) <= 1);
  |  | 5466|  10.3M|                Py_ssize_t ileft = _PyLong_CompactValue((PyLongObject *)left_o);
  |  | 5467|  10.3M|                Py_ssize_t iright = _PyLong_CompactValue((PyLongObject *)right_o);
  |  | 5468|  10.3M|                int sign_ish = COMPARISON_BIT(ileft, iright);
  |  |  ------------------
  |  |  |  |  523|  10.3M|#define COMPARISON_BIT(x, y) (1 << (2 * ((x) >= (y)) + ((x) <= (y))))
  |  |  ------------------
  |  | 5469|  10.3M|                l = left;
  |  | 5470|  10.3M|                r = right;
  |  | 5471|  10.3M|                res =  (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  3.61M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.61M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res =  (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  17.0M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  6.74M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5471:24): [True: 3.61M, False: 6.74M]
  |  |  ------------------
  |  | 5472|  10.3M|            }
  |  | 5473|       |            // _POP_TOP_INT
  |  | 5474|      0|            {
  |  | 5475|  10.3M|                value = r;
  |  | 5476|  10.3M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5476:17): [True: 10.3M, False: 0]
  |  |  ------------------
  |  | 5477|  10.3M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 5478|  10.3M|            }
  |  | 5479|       |            // _POP_TOP_INT
  |  | 5480|      0|            {
  |  | 5481|  10.3M|                value = l;
  |  | 5482|  10.3M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5482:17): [True: 10.3M, False: 0]
  |  |  ------------------
  |  | 5483|  10.3M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 5484|  10.3M|            }
  |  | 5485|      0|            stack_pointer[-2] = res;
  |  | 5486|  10.3M|            stack_pointer += -1;
  |  | 5487|  10.3M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  10.3M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5488|  10.3M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  10.3M|    { \
  |  |  |  |  201|  10.3M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  10.3M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  10.3M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  10.3M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  10.3M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  10.3M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  10.3M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  10.3M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 10.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  10.3M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  10.3M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  10.3M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  10.3M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  10.3M|    }
  |  |  ------------------
  |  | 5489|  10.3M|        }
  |  | 5490|       |
  |  | 5491|  3.70M|        TARGET(COMPARE_OP_STR) {
  |  |  ------------------
  |  |  |  |  132|  3.70M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5492|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5493|       |            int opcode = COMPARE_OP_STR;
  |  | 5494|       |            (void)(opcode);
  |  | 5495|       |            #endif
  |  | 5496|  3.70M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5497|  3.70M|            (void)this_instr;
  |  | 5498|  3.70M|            frame->instr_ptr = next_instr;
  |  | 5499|  3.70M|            next_instr += 2;
  |  | 5500|  3.70M|            INSTRUCTION_STATS(COMPARE_OP_STR);
  |  |  ------------------
  |  |  |  |   71|  3.70M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5501|  3.70M|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5502|  3.70M|            _PyStackRef value;
  |  | 5503|  3.70M|            _PyStackRef nos;
  |  | 5504|  3.70M|            _PyStackRef left;
  |  | 5505|  3.70M|            _PyStackRef right;
  |  | 5506|  3.70M|            _PyStackRef res;
  |  | 5507|  3.70M|            _PyStackRef l;
  |  | 5508|  3.70M|            _PyStackRef r;
  |  | 5509|       |            // _GUARD_TOS_UNICODE
  |  | 5510|  3.70M|            {
  |  | 5511|  3.70M|                value = stack_pointer[-1];
  |  | 5512|  3.70M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5513|  3.70M|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  3.70M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  3.70M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.70M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.70M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5513:21): [True: 7, False: 3.70M]
  |  |  ------------------
  |  | 5514|      7|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      7|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5515|      7|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5515:21): [True: 7, False: 0]
  |  |  ------------------
  |  | 5516|      7|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      7|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5517|      0|                }
  |  | 5518|  3.70M|            }
  |  | 5519|       |            // _GUARD_NOS_UNICODE
  |  | 5520|  3.70M|            {
  |  | 5521|  3.70M|                nos = stack_pointer[-2];
  |  | 5522|  3.70M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 5523|  3.70M|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  3.70M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  3.70M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.70M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.70M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5523:21): [True: 32, False: 3.70M]
  |  |  ------------------
  |  | 5524|     32|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|     32|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5525|     32|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5525:21): [True: 32, False: 0]
  |  |  ------------------
  |  | 5526|     32|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|     32|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5527|      0|                }
  |  | 5528|  3.70M|            }
  |  | 5529|       |            /* Skip 1 cache entry */
  |  | 5530|       |            // _COMPARE_OP_STR
  |  | 5531|  3.70M|            {
  |  | 5532|  3.70M|                right = value;
  |  | 5533|  3.70M|                left = nos;
  |  | 5534|  3.70M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5535|  3.70M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5536|  3.70M|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  3.70M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5537|  3.70M|                int eq = _PyUnicode_Equal(left_o, right_o);
  |  | 5538|  3.70M|                assert((oparg >> 5) == Py_EQ || (oparg >> 5) == Py_NE);
  |  |  ------------------
  |  |  |  Branch (5538:17): [True: 3.48M, False: 212k]
  |  |  |  Branch (5538:17): [True: 212k, False: 0]
  |  |  ------------------
  |  | 5539|  3.70M|                l = left;
  |  | 5540|  3.70M|                r = right;
  |  | 5541|  3.70M|                assert(eq == 0 || eq == 1);
  |  |  ------------------
  |  |  |  Branch (5541:17): [True: 3.31M, False: 383k]
  |  |  |  Branch (5541:17): [True: 383k, False: 0]
  |  |  ------------------
  |  | 5542|  3.70M|                assert((oparg & 0xf) == COMPARISON_NOT_EQUALS || (oparg & 0xf) == COMPARISON_EQUALS);
  |  |  ------------------
  |  |  |  Branch (5542:17): [True: 212k, False: 3.48M]
  |  |  |  Branch (5542:17): [True: 3.48M, False: 0]
  |  |  ------------------
  |  | 5543|  3.70M|                assert(COMPARISON_NOT_EQUALS + 1 == COMPARISON_EQUALS);
  |  |  ------------------
  |  |  |  Branch (5543:17): [True: 3.70M, Folded]
  |  |  ------------------
  |  | 5544|  3.70M|                res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  538|  3.70M|#define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  532|  3.70M|#define COMPARISON_UNORDERED 1
  |  |  |  |  ------------------
  |  |  |  |               #define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  534|  3.70M|#define COMPARISON_LESS_THAN 2
  |  |  |  |  ------------------
  |  |  |  |               #define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  535|  3.70M|#define COMPARISON_GREATER_THAN 4
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|   172k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   172k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  7.22M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.52M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5544:23): [True: 172k, False: 3.52M]
  |  |  ------------------
  |  | 5545|  3.70M|            }
  |  | 5546|       |            // _POP_TOP_UNICODE
  |  | 5547|      0|            {
  |  | 5548|  3.70M|                value = r;
  |  | 5549|  3.70M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5549:17): [True: 3.70M, False: 0]
  |  |  ------------------
  |  | 5550|  3.70M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 5551|  3.70M|            }
  |  | 5552|       |            // _POP_TOP_UNICODE
  |  | 5553|      0|            {
  |  | 5554|  3.70M|                value = l;
  |  | 5555|  3.70M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5555:17): [True: 3.70M, False: 0]
  |  |  ------------------
  |  | 5556|  3.70M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 5557|  3.70M|            }
  |  | 5558|      0|            stack_pointer[-2] = res;
  |  | 5559|  3.70M|            stack_pointer += -1;
  |  | 5560|  3.70M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.70M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5561|  3.70M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.70M|    { \
  |  |  |  |  201|  3.70M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.70M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.70M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.70M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.70M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.70M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.70M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.70M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.70M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.70M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.70M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.70M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.70M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.70M|    }
  |  |  ------------------
  |  | 5562|  3.70M|        }
  |  | 5563|       |
  |  | 5564|   229k|        TARGET(CONTAINS_OP) {
  |  |  ------------------
  |  |  |  |  132|   229k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5565|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5566|       |            int opcode = CONTAINS_OP;
  |  | 5567|       |            (void)(opcode);
  |  | 5568|       |            #endif
  |  | 5569|   229k|            frame->instr_ptr = next_instr;
  |  | 5570|   229k|            next_instr += 2;
  |  | 5571|   229k|            INSTRUCTION_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |   71|   229k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5572|   229k|            PREDICTED_CONTAINS_OP:;
  |  | 5573|   229k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 5574|   229k|            (void)this_instr;
  |  | 5575|   229k|            _PyStackRef right;
  |  | 5576|   229k|            _PyStackRef left;
  |  | 5577|   229k|            _PyStackRef b;
  |  | 5578|   229k|            _PyStackRef l;
  |  | 5579|   229k|            _PyStackRef r;
  |  | 5580|   229k|            _PyStackRef value;
  |  | 5581|       |            // _SPECIALIZE_CONTAINS_OP
  |  | 5582|   229k|            {
  |  | 5583|   229k|                right = stack_pointer[-1];
  |  | 5584|   229k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 5585|   229k|                (void)counter;
  |  | 5586|   229k|                #if ENABLE_SPECIALIZATION
  |  | 5587|   229k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|   229k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 178, False: 229k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5588|    178|                    next_instr = this_instr;
  |  | 5589|    178|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5590|    178|                    _PyFrame_StackPointerValidate(frame);
  |  | 5591|    178|                    _Py_Specialize_ContainsOp(right, next_instr);
  |  | 5592|    178|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5593|    178|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    178|    { \
  |  |  |  |  217|    178|        opcode = next_instr->op.code; \
  |  |  |  |  218|    178|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    178|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    178|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    178|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    178|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    178|    }
  |  |  ------------------
  |  | 5594|    178|                }
  |  | 5595|   229k|                OPCODE_DEFERRED_INC(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |   90|   229k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 5596|   229k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|   229k|    do { \
  |  |  |  |  378|   229k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|   229k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 229k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5597|   229k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 5598|   229k|            }
  |  | 5599|       |            // _CONTAINS_OP
  |  | 5600|   229k|            {
  |  | 5601|   229k|                left = stack_pointer[-2];
  |  | 5602|   229k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5603|   229k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5604|   229k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5605|   229k|                _PyFrame_StackPointerValidate(frame);
  |  | 5606|   229k|                int res = PySequence_Contains(right_o, left_o);
  |  | 5607|   229k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5608|   229k|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5608:21): [True: 0, False: 229k]
  |  |  ------------------
  |  | 5609|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5610|      0|                }
  |  | 5611|   229k|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  2.82k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.82k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   457k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   227k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5611:21): [True: 2.82k, False: 227k]
  |  |  ------------------
  |  | 5612|   229k|                l = left;
  |  | 5613|   229k|                r = right;
  |  | 5614|   229k|            }
  |  | 5615|       |            // _POP_TOP
  |  | 5616|      0|            {
  |  | 5617|   229k|                value = r;
  |  | 5618|   229k|                stack_pointer[-2] = b;
  |  | 5619|   229k|                stack_pointer[-1] = l;
  |  | 5620|   229k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5620:17): [True: 229k, False: 178]
  |  |  ------------------
  |  | 5621|   229k|                _PyFrame_StackPointerValidate(frame);
  |  | 5622|   229k|                PyStackRef_XCLOSE(value);
  |  | 5623|   229k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5624|   229k|            }
  |  | 5625|       |            // _POP_TOP
  |  | 5626|      0|            {
  |  | 5627|   229k|                value = l;
  |  | 5628|   229k|                stack_pointer += -1;
  |  | 5629|   229k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   229k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5630|   229k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5631|   229k|                _PyFrame_StackPointerValidate(frame);
  |  | 5632|   229k|                PyStackRef_XCLOSE(value);
  |  | 5633|   229k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5634|   229k|            }
  |  | 5635|   229k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   229k|    { \
  |  |  |  |  201|   229k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   229k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   229k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   229k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   229k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   229k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   229k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   229k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 229k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   229k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   229k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   229k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   229k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   229k|    }
  |  |  ------------------
  |  | 5636|   229k|        }
  |  | 5637|       |
  |  | 5638|  2.46k|        TARGET(CONTAINS_OP_DICT) {
  |  |  ------------------
  |  |  |  |  132|  2.46k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5639|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5640|       |            int opcode = CONTAINS_OP_DICT;
  |  | 5641|       |            (void)(opcode);
  |  | 5642|       |            #endif
  |  | 5643|  2.46k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5644|  2.46k|            (void)this_instr;
  |  | 5645|  2.46k|            frame->instr_ptr = next_instr;
  |  | 5646|  2.46k|            next_instr += 2;
  |  | 5647|  2.46k|            INSTRUCTION_STATS(CONTAINS_OP_DICT);
  |  |  ------------------
  |  |  |  |   71|  2.46k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5648|  2.46k|            static_assert(INLINE_CACHE_ENTRIES_CONTAINS_OP == 1, "incorrect cache size");
  |  | 5649|  2.46k|            _PyStackRef tos;
  |  | 5650|  2.46k|            _PyStackRef left;
  |  | 5651|  2.46k|            _PyStackRef right;
  |  | 5652|  2.46k|            _PyStackRef b;
  |  | 5653|  2.46k|            _PyStackRef l;
  |  | 5654|  2.46k|            _PyStackRef r;
  |  | 5655|  2.46k|            _PyStackRef value;
  |  | 5656|       |            // _GUARD_TOS_ANY_DICT
  |  | 5657|  2.46k|            {
  |  | 5658|  2.46k|                tos = stack_pointer[-1];
  |  | 5659|  2.46k|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  | 5660|  2.46k|                if (!PyAnyDict_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   41|  2.46k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  2.46k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   65|  4.93k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (65:5): [True: 2.46k, 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|  2.46k|            }
  |  | 5666|       |            /* Skip 1 cache entry */
  |  | 5667|       |            // _CONTAINS_OP_DICT
  |  | 5668|  2.46k|            {
  |  | 5669|  2.46k|                right = tos;
  |  | 5670|  2.46k|                left = stack_pointer[-2];
  |  | 5671|  2.46k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5672|  2.46k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5673|  2.46k|                assert(PyAnyDict_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (5673:17): [True: 2.46k, False: 0]
  |  |  |  Branch (5673:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5674|  2.46k|                STAT_INC(CONTAINS_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  2.46k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5675|  2.46k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5676|  2.46k|                _PyFrame_StackPointerValidate(frame);
  |  | 5677|  2.46k|                int res = PyDict_Contains(right_o, left_o);
  |  | 5678|  2.46k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5679|  2.46k|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5679:21): [True: 0, False: 2.46k]
  |  |  ------------------
  |  | 5680|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5681|      0|                }
  |  | 5682|  2.46k|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  1.01k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.01k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  3.91k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.45k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5682:21): [True: 1.01k, False: 1.45k]
  |  |  ------------------
  |  | 5683|  2.46k|                l = left;
  |  | 5684|  2.46k|                r = right;
  |  | 5685|  2.46k|            }
  |  | 5686|       |            // _POP_TOP
  |  | 5687|      0|            {
  |  | 5688|  2.46k|                value = r;
  |  | 5689|  2.46k|                stack_pointer[-2] = b;
  |  | 5690|  2.46k|                stack_pointer[-1] = l;
  |  | 5691|  2.46k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5691:17): [True: 2.46k, False: 0]
  |  |  ------------------
  |  | 5692|  2.46k|                _PyFrame_StackPointerValidate(frame);
  |  | 5693|  2.46k|                PyStackRef_XCLOSE(value);
  |  | 5694|  2.46k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5695|  2.46k|            }
  |  | 5696|       |            // _POP_TOP
  |  | 5697|      0|            {
  |  | 5698|  2.46k|                value = l;
  |  | 5699|  2.46k|                stack_pointer += -1;
  |  | 5700|  2.46k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.46k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5701|  2.46k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5702|  2.46k|                _PyFrame_StackPointerValidate(frame);
  |  | 5703|  2.46k|                PyStackRef_XCLOSE(value);
  |  | 5704|  2.46k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5705|  2.46k|            }
  |  | 5706|  2.46k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.46k|    { \
  |  |  |  |  201|  2.46k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.46k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.46k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.46k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.46k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.46k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.46k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.46k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.46k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.46k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.46k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.46k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.46k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.46k|    }
  |  |  ------------------
  |  | 5707|  2.46k|        }
  |  | 5708|       |
  |  | 5709|  1.16M|        TARGET(CONTAINS_OP_SET) {
  |  |  ------------------
  |  |  |  |  132|  1.16M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5710|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5711|       |            int opcode = CONTAINS_OP_SET;
  |  | 5712|       |            (void)(opcode);
  |  | 5713|       |            #endif
  |  | 5714|  1.16M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5715|  1.16M|            (void)this_instr;
  |  | 5716|  1.16M|            frame->instr_ptr = next_instr;
  |  | 5717|  1.16M|            next_instr += 2;
  |  | 5718|  1.16M|            INSTRUCTION_STATS(CONTAINS_OP_SET);
  |  |  ------------------
  |  |  |  |   71|  1.16M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5719|  1.16M|            static_assert(INLINE_CACHE_ENTRIES_CONTAINS_OP == 1, "incorrect cache size");
  |  | 5720|  1.16M|            _PyStackRef tos;
  |  | 5721|  1.16M|            _PyStackRef left;
  |  | 5722|  1.16M|            _PyStackRef right;
  |  | 5723|  1.16M|            _PyStackRef b;
  |  | 5724|  1.16M|            _PyStackRef l;
  |  | 5725|  1.16M|            _PyStackRef r;
  |  | 5726|  1.16M|            _PyStackRef value;
  |  | 5727|       |            // _GUARD_TOS_ANY_SET
  |  | 5728|  1.16M|            {
  |  | 5729|  1.16M|                tos = stack_pointer[-1];
  |  | 5730|  1.16M|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  | 5731|  1.16M|                if (!PyAnySet_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   29|  1.16M|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.33M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 1.16M, False: 538]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    538|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    538|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    538|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 538, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  1.16M|            }
  |  | 5737|       |            /* Skip 1 cache entry */
  |  | 5738|       |            // _CONTAINS_OP_SET
  |  | 5739|  1.16M|            {
  |  | 5740|  1.16M|                right = tos;
  |  | 5741|  1.16M|                left = stack_pointer[-2];
  |  | 5742|  1.16M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5743|  1.16M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5744|  1.16M|                assert(PyAnySet_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (5744:17): [True: 1.16M, False: 538]
  |  |  |  Branch (5744:17): [True: 538, False: 0]
  |  |  ------------------
  |  | 5745|  1.16M|                STAT_INC(CONTAINS_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.16M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5746|  1.16M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5747|  1.16M|                _PyFrame_StackPointerValidate(frame);
  |  | 5748|  1.16M|                int res = _PySet_Contains((PySetObject *)right_o, left_o);
  |  | 5749|  1.16M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5750|  1.16M|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5750:21): [True: 0, False: 1.16M]
  |  |  ------------------
  |  | 5751|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5752|      0|                }
  |  | 5753|  1.16M|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    641|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    641|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  2.32M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.16M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5753:21): [True: 641, False: 1.16M]
  |  |  ------------------
  |  | 5754|  1.16M|                l = left;
  |  | 5755|  1.16M|                r = right;
  |  | 5756|  1.16M|            }
  |  | 5757|       |            // _POP_TOP
  |  | 5758|      0|            {
  |  | 5759|  1.16M|                value = r;
  |  | 5760|  1.16M|                stack_pointer[-2] = b;
  |  | 5761|  1.16M|                stack_pointer[-1] = l;
  |  | 5762|  1.16M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5762:17): [True: 1.16M, False: 0]
  |  |  ------------------
  |  | 5763|  1.16M|                _PyFrame_StackPointerValidate(frame);
  |  | 5764|  1.16M|                PyStackRef_XCLOSE(value);
  |  | 5765|  1.16M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5766|  1.16M|            }
  |  | 5767|       |            // _POP_TOP
  |  | 5768|      0|            {
  |  | 5769|  1.16M|                value = l;
  |  | 5770|  1.16M|                stack_pointer += -1;
  |  | 5771|  1.16M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.16M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5772|  1.16M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5773|  1.16M|                _PyFrame_StackPointerValidate(frame);
  |  | 5774|  1.16M|                PyStackRef_XCLOSE(value);
  |  | 5775|  1.16M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5776|  1.16M|            }
  |  | 5777|  1.16M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.16M|    { \
  |  |  |  |  201|  1.16M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.16M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.16M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.16M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.16M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.16M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.16M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.16M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.16M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.16M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.16M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.16M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.16M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.16M|    }
  |  |  ------------------
  |  | 5778|  1.16M|        }
  |  | 5779|       |
  |  | 5780|    801|        TARGET(CONVERT_VALUE) {
  |  |  ------------------
  |  |  |  |  132|    801|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5781|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5782|       |            int opcode = CONVERT_VALUE;
  |  | 5783|       |            (void)(opcode);
  |  | 5784|       |            #endif
  |  | 5785|    801|            frame->instr_ptr = next_instr;
  |  | 5786|    801|            next_instr += 1;
  |  | 5787|    801|            INSTRUCTION_STATS(CONVERT_VALUE);
  |  |  ------------------
  |  |  |  |   71|    801|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5788|    801|            _PyStackRef value;
  |  | 5789|    801|            _PyStackRef result;
  |  | 5790|    801|            value = stack_pointer[-1];
  |  | 5791|    801|            conversion_func conv_fn;
  |  | 5792|    801|            assert(oparg >= FVC_STR && oparg <= FVC_ASCII);
  |  |  ------------------
  |  |  |  Branch (5792:13): [True: 801, False: 0]
  |  |  |  Branch (5792:13): [True: 801, False: 0]
  |  |  ------------------
  |  | 5793|    801|            conv_fn = _PyEval_ConversionFuncs[oparg];
  |  | 5794|    801|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5795|    801|            _PyFrame_StackPointerValidate(frame);
  |  | 5796|    801|            PyObject *result_o = conv_fn(PyStackRef_AsPyObjectBorrow(value));
  |  | 5797|    801|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5798|    801|            stack_pointer += -1;
  |  | 5799|    801|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    801|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5800|    801|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5801|    801|            _PyFrame_StackPointerValidate(frame);
  |  | 5802|    801|            PyStackRef_CLOSE(value);
  |  | 5803|    801|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5804|    801|            if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5804:17): [True: 0, False: 801]
  |  |  ------------------
  |  | 5805|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5806|      0|            }
  |  | 5807|    801|            result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 5808|    801|            stack_pointer[0] = result;
  |  | 5809|    801|            stack_pointer += 1;
  |  | 5810|    801|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    801|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5811|    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|    }
  |  |  ------------------
  |  | 5812|    801|        }
  |  | 5813|       |
  |  | 5814|   919k|        TARGET(COPY) {
  |  |  ------------------
  |  |  |  |  132|   919k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5815|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5816|       |            int opcode = COPY;
  |  | 5817|       |            (void)(opcode);
  |  | 5818|       |            #endif
  |  | 5819|   919k|            frame->instr_ptr = next_instr;
  |  | 5820|   919k|            next_instr += 1;
  |  | 5821|   919k|            INSTRUCTION_STATS(COPY);
  |  |  ------------------
  |  |  |  |   71|   919k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5822|   919k|            _PyStackRef bottom;
  |  | 5823|   919k|            _PyStackRef top;
  |  | 5824|   919k|            bottom = stack_pointer[-1 - (oparg-1)];
  |  | 5825|   919k|            top = PyStackRef_DUP(bottom);
  |  | 5826|   919k|            stack_pointer[0] = top;
  |  | 5827|   919k|            stack_pointer += 1;
  |  | 5828|   919k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   919k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5829|   919k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   919k|    { \
  |  |  |  |  201|   919k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   919k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   919k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   919k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   919k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   919k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   919k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   919k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 919k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   919k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   919k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   919k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   919k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   919k|    }
  |  |  ------------------
  |  | 5830|   919k|        }
  |  | 5831|       |
  |  | 5832|   919k|        TARGET(COPY_FREE_VARS) {
  |  |  ------------------
  |  |  |  |  132|  12.2k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5833|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5834|       |            int opcode = COPY_FREE_VARS;
  |  | 5835|       |            (void)(opcode);
  |  | 5836|       |            #endif
  |  | 5837|  12.2k|            frame->instr_ptr = next_instr;
  |  | 5838|  12.2k|            next_instr += 1;
  |  | 5839|  12.2k|            INSTRUCTION_STATS(COPY_FREE_VARS);
  |  |  ------------------
  |  |  |  |   71|  12.2k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5840|  12.2k|            PyCodeObject *co = _PyFrame_GetCode(frame);
  |  | 5841|  12.2k|            assert(PyStackRef_FunctionCheck(frame->f_funcobj));
  |  |  ------------------
  |  |  |  Branch (5841:13): [True: 12.2k, False: 0]
  |  |  ------------------
  |  | 5842|  12.2k|            PyFunctionObject *func = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(frame->f_funcobj);
  |  | 5843|  12.2k|            PyObject *closure = func->func_closure;
  |  | 5844|  12.2k|            assert(oparg == co->co_nfreevars);
  |  |  ------------------
  |  |  |  Branch (5844:13): [True: 12.2k, False: 0]
  |  |  ------------------
  |  | 5845|  12.2k|            int offset = co->co_nlocalsplus - oparg;
  |  | 5846|  45.9k|            for (int i = 0; i < oparg; ++i) {
  |  |  ------------------
  |  |  |  Branch (5846:29): [True: 33.6k, False: 12.2k]
  |  |  ------------------
  |  | 5847|  33.6k|                PyObject *o = PyTuple_GET_ITEM(closure, i);
  |  |  ------------------
  |  |  |  |   29|  33.6k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  33.6k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  33.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5847:31): [True: 33.6k, False: 0]
  |  |  ------------------
  |  | 5848|  33.6k|                frame->localsplus[offset + i] = PyStackRef_FromPyObjectNew(o);
  |  |  ------------------
  |  |  |  |  611|  33.6k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  33.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  33.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5849|  33.6k|            }
  |  | 5850|  12.2k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  12.2k|    { \
  |  |  |  |  201|  12.2k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  12.2k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  12.2k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  12.2k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  12.2k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  12.2k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  12.2k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  12.2k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 12.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  12.2k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  12.2k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  12.2k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  12.2k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  12.2k|    }
  |  |  ------------------
  |  | 5851|  12.2k|        }
  |  | 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|  1.02k|        TARGET(DELETE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  1.02k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5878|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5879|       |            int opcode = DELETE_FAST;
  |  | 5880|       |            (void)(opcode);
  |  | 5881|       |            #endif
  |  | 5882|  1.02k|            frame->instr_ptr = next_instr;
  |  | 5883|  1.02k|            next_instr += 1;
  |  | 5884|  1.02k|            INSTRUCTION_STATS(DELETE_FAST);
  |  |  ------------------
  |  |  |  |   71|  1.02k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5885|  1.02k|            _PyStackRef v = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  1.02k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5886|  1.02k|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|  1.02k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.02k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.02k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.02k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  1.02k|            _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  1.02k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5897|  1.02k|            GETLOCAL(oparg) = PyStackRef_NULL;
  |  |  ------------------
  |  |  |  |  285|  1.02k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5898|  1.02k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5899|  1.02k|            _PyFrame_StackPointerValidate(frame);
  |  | 5900|  1.02k|            PyStackRef_XCLOSE(tmp);
  |  | 5901|  1.02k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5902|  1.02k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.02k|    { \
  |  |  |  |  201|  1.02k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.02k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.02k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.02k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.02k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.02k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.02k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.02k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.02k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.02k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.02k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.02k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.02k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.02k|    }
  |  |  ------------------
  |  | 5903|  1.02k|        }
  |  | 5904|       |
  |  | 5905|    503|        TARGET(DELETE_SUBSCR) {
  |  |  ------------------
  |  |  |  |  132|    503|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5906|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5907|       |            int opcode = DELETE_SUBSCR;
  |  | 5908|       |            (void)(opcode);
  |  | 5909|       |            #endif
  |  | 5910|    503|            frame->instr_ptr = next_instr;
  |  | 5911|    503|            next_instr += 1;
  |  | 5912|    503|            INSTRUCTION_STATS(DELETE_SUBSCR);
  |  |  ------------------
  |  |  |  |   71|    503|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5913|    503|            _PyStackRef container;
  |  | 5914|    503|            _PyStackRef sub;
  |  | 5915|    503|            sub = stack_pointer[-1];
  |  | 5916|    503|            container = stack_pointer[-2];
  |  | 5917|    503|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5918|    503|            _PyFrame_StackPointerValidate(frame);
  |  | 5919|    503|            int err = PyObject_DelItem(PyStackRef_AsPyObjectBorrow(container),
  |  | 5920|    503|                                       PyStackRef_AsPyObjectBorrow(sub));
  |  | 5921|    503|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5922|    503|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5922:13): [True: 503, False: 0]
  |  |  ------------------
  |  | 5923|    503|            _PyFrame_StackPointerValidate(frame);
  |  | 5924|    503|            _PyStackRef tmp = sub;
  |  | 5925|    503|            sub = PyStackRef_NULL;
  |  | 5926|    503|            stack_pointer[-1] = sub;
  |  | 5927|    503|            PyStackRef_CLOSE(tmp);
  |  | 5928|    503|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5929|    503|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5929:13): [True: 503, False: 0]
  |  |  ------------------
  |  | 5930|    503|            _PyFrame_StackPointerValidate(frame);
  |  | 5931|    503|            tmp = container;
  |  | 5932|    503|            container = PyStackRef_NULL;
  |  | 5933|    503|            stack_pointer[-2] = container;
  |  | 5934|    503|            PyStackRef_CLOSE(tmp);
  |  | 5935|    503|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5936|    503|            stack_pointer += -2;
  |  | 5937|    503|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    503|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5938|    503|            if (err) {
  |  |  ------------------
  |  |  |  Branch (5938:17): [True: 0, False: 503]
  |  |  ------------------
  |  | 5939|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5940|      0|            }
  |  | 5941|    503|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    503|    { \
  |  |  |  |  201|    503|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    503|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    503|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    503|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    503|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    503|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    503|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    503|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 503]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    503|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    503|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    503|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    503|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    503|    }
  |  |  ------------------
  |  | 5942|    503|        }
  |  | 5943|       |
  |  | 5944|    772|        TARGET(DICT_MERGE) {
  |  |  ------------------
  |  |  |  |  132|    772|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5945|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5946|       |            int opcode = DICT_MERGE;
  |  | 5947|       |            (void)(opcode);
  |  | 5948|       |            #endif
  |  | 5949|    772|            frame->instr_ptr = next_instr;
  |  | 5950|    772|            next_instr += 1;
  |  | 5951|    772|            INSTRUCTION_STATS(DICT_MERGE);
  |  |  ------------------
  |  |  |  |   71|    772|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5952|    772|            _PyStackRef callable;
  |  | 5953|    772|            _PyStackRef dict;
  |  | 5954|    772|            _PyStackRef update;
  |  | 5955|    772|            _PyStackRef u;
  |  | 5956|    772|            _PyStackRef value;
  |  | 5957|       |            // _DICT_MERGE
  |  | 5958|    772|            {
  |  | 5959|    772|                update = stack_pointer[-1];
  |  | 5960|    772|                dict = stack_pointer[-2 - (oparg - 1)];
  |  | 5961|    772|                callable = stack_pointer[-5 - (oparg - 1)];
  |  | 5962|    772|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 5963|    772|                PyObject *dict_o = PyStackRef_AsPyObjectBorrow(dict);
  |  | 5964|    772|                PyObject *update_o = PyStackRef_AsPyObjectBorrow(update);
  |  | 5965|    772|                PyObject *dupkey = NULL;
  |  | 5966|    772|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5967|    772|                _PyFrame_StackPointerValidate(frame);
  |  | 5968|    772|                int err = _PyDict_MergeUniq(dict_o, update_o, &dupkey);
  |  | 5969|    772|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5970|    772|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5970:21): [True: 0, False: 772]
  |  |  ------------------
  |  | 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|    772|                u = update;
  |  | 5982|    772|            }
  |  | 5983|       |            // _POP_TOP
  |  | 5984|      0|            {
  |  | 5985|    772|                value = u;
  |  | 5986|    772|                stack_pointer += -1;
  |  | 5987|    772|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    772|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5988|    772|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5989|    772|                _PyFrame_StackPointerValidate(frame);
  |  | 5990|    772|                PyStackRef_XCLOSE(value);
  |  | 5991|    772|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5992|    772|            }
  |  | 5993|    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|    }
  |  |  ------------------
  |  | 5994|    772|        }
  |  | 5995|       |
  |  | 5996|    520|        TARGET(DICT_UPDATE) {
  |  |  ------------------
  |  |  |  |  132|    520|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5997|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5998|       |            int opcode = DICT_UPDATE;
  |  | 5999|       |            (void)(opcode);
  |  | 6000|       |            #endif
  |  | 6001|    520|            frame->instr_ptr = next_instr;
  |  | 6002|    520|            next_instr += 1;
  |  | 6003|    520|            INSTRUCTION_STATS(DICT_UPDATE);
  |  |  ------------------
  |  |  |  |   71|    520|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6004|    520|            _PyStackRef dict;
  |  | 6005|    520|            _PyStackRef update;
  |  | 6006|    520|            _PyStackRef upd;
  |  | 6007|    520|            _PyStackRef value;
  |  | 6008|       |            // _DICT_UPDATE
  |  | 6009|    520|            {
  |  | 6010|    520|                update = stack_pointer[-1];
  |  | 6011|    520|                dict = stack_pointer[-2 - (oparg - 1)];
  |  | 6012|    520|                PyObject *dict_o = PyStackRef_AsPyObjectBorrow(dict);
  |  | 6013|    520|                PyObject *update_o = PyStackRef_AsPyObjectBorrow(update);
  |  | 6014|    520|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6015|    520|                _PyFrame_StackPointerValidate(frame);
  |  | 6016|    520|                int err = PyDict_Update(dict_o, update_o);
  |  | 6017|    520|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6018|    520|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (6018:21): [True: 0, False: 520]
  |  |  ------------------
  |  | 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|    520|                upd = update;
  |  | 6051|    520|            }
  |  | 6052|       |            // _POP_TOP
  |  | 6053|      0|            {
  |  | 6054|    520|                value = upd;
  |  | 6055|    520|                stack_pointer += -1;
  |  | 6056|    520|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    520|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6057|    520|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6058|    520|                _PyFrame_StackPointerValidate(frame);
  |  | 6059|    520|                PyStackRef_XCLOSE(value);
  |  | 6060|    520|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6061|    520|            }
  |  | 6062|    520|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    520|    { \
  |  |  |  |  201|    520|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    520|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    520|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    520|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    520|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    520|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    520|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    520|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 520]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    520|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    520|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    520|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    520|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    520|    }
  |  |  ------------------
  |  | 6063|    520|        }
  |  | 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|    134|        TARGET(END_FOR) {
  |  |  ------------------
  |  |  |  |  132|    134|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6123|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6124|       |            int opcode = END_FOR;
  |  | 6125|       |            (void)(opcode);
  |  | 6126|       |            #endif
  |  | 6127|    134|            next_instr += 1;
  |  | 6128|    134|            INSTRUCTION_STATS(END_FOR);
  |  |  ------------------
  |  |  |  |   71|    134|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6129|    134|            _PyStackRef value;
  |  | 6130|    134|            value = stack_pointer[-1];
  |  | 6131|    134|            stack_pointer += -1;
  |  | 6132|    134|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    134|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6133|    134|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6134|    134|            _PyFrame_StackPointerValidate(frame);
  |  | 6135|    134|            PyStackRef_CLOSE(value);
  |  | 6136|    134|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6137|    134|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    134|    { \
  |  |  |  |  201|    134|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    134|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    134|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    134|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    134|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    134|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    134|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    134|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 134]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    134|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    134|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    134|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    134|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    134|    }
  |  |  ------------------
  |  | 6138|    134|        }
  |  | 6139|       |
  |  | 6140|    134|        TARGET(END_SEND) {
  |  |  ------------------
  |  |  |  |  132|      5|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6141|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6142|       |            int opcode = END_SEND;
  |  | 6143|       |            (void)(opcode);
  |  | 6144|       |            #endif
  |  | 6145|      5|            frame->instr_ptr = next_instr;
  |  | 6146|      5|            next_instr += 1;
  |  | 6147|      5|            INSTRUCTION_STATS(END_SEND);
  |  |  ------------------
  |  |  |  |   71|      5|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6148|      5|            _PyStackRef receiver;
  |  | 6149|      5|            _PyStackRef index_or_null;
  |  | 6150|      5|            _PyStackRef value;
  |  | 6151|      5|            _PyStackRef val;
  |  | 6152|      5|            value = stack_pointer[-1];
  |  | 6153|      5|            index_or_null = stack_pointer[-2];
  |  | 6154|      5|            receiver = stack_pointer[-3];
  |  | 6155|      5|            val = value;
  |  | 6156|      5|            (void)index_or_null;
  |  | 6157|      5|            stack_pointer[-3] = val;
  |  | 6158|      5|            stack_pointer += -2;
  |  | 6159|      5|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      5|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6160|      5|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6161|      5|            _PyFrame_StackPointerValidate(frame);
  |  | 6162|      5|            PyStackRef_CLOSE(receiver);
  |  | 6163|      5|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6164|      5|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      5|    { \
  |  |  |  |  201|      5|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      5|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      5|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      5|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      5|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      5|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      5|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      5|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      5|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      5|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      5|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      5|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      5|    }
  |  |  ------------------
  |  | 6165|      5|        }
  |  | 6166|       |
  |  | 6167|      5|        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|    976|        TARGET(EXIT_INIT_CHECK) {
  |  |  ------------------
  |  |  |  |  132|    976|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6218|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6219|       |            int opcode = EXIT_INIT_CHECK;
  |  | 6220|       |            (void)(opcode);
  |  | 6221|       |            #endif
  |  | 6222|    976|            frame->instr_ptr = next_instr;
  |  | 6223|    976|            next_instr += 1;
  |  | 6224|    976|            INSTRUCTION_STATS(EXIT_INIT_CHECK);
  |  |  ------------------
  |  |  |  |   71|    976|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6225|    976|            _PyStackRef should_be_none;
  |  | 6226|    976|            should_be_none = stack_pointer[-1];
  |  | 6227|    976|            if (!PyStackRef_IsNone(should_be_none)) {
  |  |  ------------------
  |  |  |  |  495|    976|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    976|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6227:17): [True: 0, False: 976]
  |  |  ------------------
  |  | 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|    976|            stack_pointer += -1;
  |  | 6237|    976|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    976|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6238|    976|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    976|    { \
  |  |  |  |  201|    976|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    976|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    976|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    976|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    976|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    976|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    976|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    976|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 976]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    976|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    976|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    976|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    976|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    976|    }
  |  |  ------------------
  |  | 6239|    976|        }
  |  | 6240|       |
  |  | 6241|   669k|        TARGET(EXTENDED_ARG) {
  |  |  ------------------
  |  |  |  |  132|   669k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6242|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6243|       |            int opcode = EXTENDED_ARG;
  |  | 6244|       |            (void)(opcode);
  |  | 6245|       |            #endif
  |  | 6246|   669k|            frame->instr_ptr = next_instr;
  |  | 6247|   669k|            next_instr += 1;
  |  | 6248|   669k|            INSTRUCTION_STATS(EXTENDED_ARG);
  |  |  ------------------
  |  |  |  |   71|   669k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6249|   669k|            opcode = EXTENDED_ARG;
  |  |  ------------------
  |  |  |  |   77|   669k|#define EXTENDED_ARG                            64
  |  |  ------------------
  |  | 6250|   669k|            assert(oparg);
  |  |  ------------------
  |  |  |  Branch (6250:13): [True: 669k, False: 0]
  |  |  ------------------
  |  | 6251|   669k|            opcode = next_instr->op.code;
  |  | 6252|   669k|            oparg = oparg << 8 | next_instr->op.arg;
  |  | 6253|   669k|            PRE_DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  176|   669k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  ------------------
  |  | 6254|   669k|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|   669k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 6255|   669k|        }
  |  | 6256|       |
  |  | 6257|   167k|        TARGET(FORMAT_SIMPLE) {
  |  |  ------------------
  |  |  |  |  132|   167k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6258|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6259|       |            int opcode = FORMAT_SIMPLE;
  |  | 6260|       |            (void)(opcode);
  |  | 6261|       |            #endif
  |  | 6262|   167k|            frame->instr_ptr = next_instr;
  |  | 6263|   167k|            next_instr += 1;
  |  | 6264|   167k|            INSTRUCTION_STATS(FORMAT_SIMPLE);
  |  |  ------------------
  |  |  |  |   71|   167k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6265|   167k|            _PyStackRef value;
  |  | 6266|   167k|            _PyStackRef res;
  |  | 6267|   167k|            value = stack_pointer[-1];
  |  | 6268|   167k|            PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 6269|   167k|            if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|   167k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   167k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   167k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   167k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6269:17): [True: 83.0k, False: 84.0k]
  |  |  ------------------
  |  | 6270|  83.0k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6271|  83.0k|                _PyFrame_StackPointerValidate(frame);
  |  | 6272|  83.0k|                PyObject *res_o = PyObject_Format(value_o, NULL);
  |  | 6273|  83.0k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6274|  83.0k|                stack_pointer += -1;
  |  | 6275|  83.0k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  83.0k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6276|  83.0k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6277|  83.0k|                _PyFrame_StackPointerValidate(frame);
  |  | 6278|  83.0k|                PyStackRef_CLOSE(value);
  |  | 6279|  83.0k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6280|  83.0k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6280:21): [True: 0, False: 83.0k]
  |  |  ------------------
  |  | 6281|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6282|      0|                }
  |  | 6283|  83.0k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6284|  83.0k|            }
  |  | 6285|  84.0k|            else {
  |  | 6286|  84.0k|                res = value;
  |  | 6287|  84.0k|                stack_pointer += -1;
  |  | 6288|  84.0k|            }
  |  | 6289|   167k|            stack_pointer[0] = res;
  |  | 6290|   167k|            stack_pointer += 1;
  |  | 6291|   167k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   167k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6292|   167k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   167k|    { \
  |  |  |  |  201|   167k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   167k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   167k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   167k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   167k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   167k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   167k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   167k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 167k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   167k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   167k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   167k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   167k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   167k|    }
  |  |  ------------------
  |  | 6293|   167k|        }
  |  | 6294|       |
  |  | 6295|     92|        TARGET(FORMAT_WITH_SPEC) {
  |  |  ------------------
  |  |  |  |  132|     92|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6296|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6297|       |            int opcode = FORMAT_WITH_SPEC;
  |  | 6298|       |            (void)(opcode);
  |  | 6299|       |            #endif
  |  | 6300|     92|            frame->instr_ptr = next_instr;
  |  | 6301|     92|            next_instr += 1;
  |  | 6302|     92|            INSTRUCTION_STATS(FORMAT_WITH_SPEC);
  |  |  ------------------
  |  |  |  |   71|     92|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6303|     92|            _PyStackRef value;
  |  | 6304|     92|            _PyStackRef fmt_spec;
  |  | 6305|     92|            _PyStackRef res;
  |  | 6306|     92|            fmt_spec = stack_pointer[-1];
  |  | 6307|     92|            value = stack_pointer[-2];
  |  | 6308|     92|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6309|     92|            _PyFrame_StackPointerValidate(frame);
  |  | 6310|     92|            PyObject *res_o = PyObject_Format(PyStackRef_AsPyObjectBorrow(value), PyStackRef_AsPyObjectBorrow(fmt_spec));
  |  | 6311|     92|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6312|     92|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6312:13): [True: 92, False: 0]
  |  |  ------------------
  |  | 6313|     92|            _PyFrame_StackPointerValidate(frame);
  |  | 6314|     92|            _PyStackRef tmp = fmt_spec;
  |  | 6315|     92|            fmt_spec = PyStackRef_NULL;
  |  | 6316|     92|            stack_pointer[-1] = fmt_spec;
  |  | 6317|     92|            PyStackRef_CLOSE(tmp);
  |  | 6318|     92|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6319|     92|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6319:13): [True: 92, False: 0]
  |  |  ------------------
  |  | 6320|     92|            _PyFrame_StackPointerValidate(frame);
  |  | 6321|     92|            tmp = value;
  |  | 6322|     92|            value = PyStackRef_NULL;
  |  | 6323|     92|            stack_pointer[-2] = value;
  |  | 6324|     92|            PyStackRef_CLOSE(tmp);
  |  | 6325|     92|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6326|     92|            stack_pointer += -2;
  |  | 6327|     92|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     92|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6328|     92|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6328:17): [True: 0, False: 92]
  |  |  ------------------
  |  | 6329|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6330|      0|            }
  |  | 6331|     92|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6332|     92|            stack_pointer[0] = res;
  |  | 6333|     92|            stack_pointer += 1;
  |  | 6334|     92|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     92|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6335|     92|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     92|    { \
  |  |  |  |  201|     92|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     92|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     92|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     92|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     92|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     92|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     92|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     92|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 92]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     92|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     92|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     92|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     92|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     92|    }
  |  |  ------------------
  |  | 6336|     92|        }
  |  | 6337|       |
  |  | 6338|   555k|        TARGET(FOR_ITER) {
  |  |  ------------------
  |  |  |  |  132|   555k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6339|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6340|       |            int opcode = FOR_ITER;
  |  | 6341|       |            (void)(opcode);
  |  | 6342|       |            #endif
  |  | 6343|   555k|            frame->instr_ptr = next_instr;
  |  | 6344|   555k|            next_instr += 2;
  |  | 6345|   555k|            INSTRUCTION_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |   71|   555k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6346|   555k|            PREDICTED_FOR_ITER:;
  |  | 6347|   555k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 6348|   555k|            (void)this_instr;
  |  | 6349|   555k|            _PyStackRef iter;
  |  | 6350|   555k|            _PyStackRef null_or_index;
  |  | 6351|   555k|            _PyStackRef next;
  |  | 6352|       |            // _SPECIALIZE_FOR_ITER
  |  | 6353|   555k|            {
  |  | 6354|   555k|                null_or_index = stack_pointer[-1];
  |  | 6355|   555k|                iter = stack_pointer[-2];
  |  | 6356|   555k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 6357|   555k|                (void)counter;
  |  | 6358|   555k|                #if ENABLE_SPECIALIZATION
  |  | 6359|   555k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|   555k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 282, False: 555k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6360|    282|                    next_instr = this_instr;
  |  | 6361|    282|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6362|    282|                    _PyFrame_StackPointerValidate(frame);
  |  | 6363|    282|                    _Py_Specialize_ForIter(iter, null_or_index, next_instr, oparg);
  |  | 6364|    282|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 6365|    282|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    282|    { \
  |  |  |  |  217|    282|        opcode = next_instr->op.code; \
  |  |  |  |  218|    282|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    282|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    282|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    282|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    282|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    282|    }
  |  |  ------------------
  |  | 6366|    282|                }
  |  | 6367|   555k|                OPCODE_DEFERRED_INC(FOR_ITER);
  |  |  ------------------
  |  |  |  |   90|   555k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 6368|   555k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|   555k|    do { \
  |  |  |  |  378|   555k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|   555k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 555k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6369|   555k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 6370|   555k|            }
  |  | 6371|       |            // _FOR_ITER
  |  | 6372|   555k|            {
  |  | 6373|   555k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6374|   555k|                _PyFrame_StackPointerValidate(frame);
  |  | 6375|   555k|                _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, iter, &null_or_index);
  |  | 6376|   555k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6377|   555k|                if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (6377:21): [True: 30.7k, False: 524k]
  |  |  ------------------
  |  | 6378|  30.7k|                    if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (6378:25): [True: 0, False: 30.7k]
  |  |  ------------------
  |  | 6379|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6380|      0|                    }
  |  | 6381|  30.7k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|  30.7k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6382|  30.7k|                    stack_pointer[-1] = null_or_index;
  |  | 6383|  30.7k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  30.7k|    { \
  |  |  |  |  201|  30.7k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  30.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  30.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  30.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  30.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  30.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  30.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  30.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 30.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  30.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  30.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  30.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  30.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  30.7k|    }
  |  |  ------------------
  |  | 6384|  30.7k|                }
  |  | 6385|   555k|                next = item;
  |  | 6386|   555k|            }
  |  | 6387|      0|            stack_pointer[-1] = null_or_index;
  |  | 6388|   555k|            stack_pointer[0] = next;
  |  | 6389|   555k|            stack_pointer += 1;
  |  | 6390|   555k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   555k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6391|   555k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   555k|    { \
  |  |  |  |  201|   555k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   555k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   555k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   555k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   555k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   555k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   555k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   555k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 555k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   555k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   555k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   555k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   555k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   555k|    }
  |  |  ------------------
  |  | 6392|   555k|        }
  |  | 6393|       |
  |  | 6394|    221|        TARGET(FOR_ITER_GEN) {
  |  |  ------------------
  |  |  |  |  132|    221|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6395|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6396|       |            int opcode = FOR_ITER_GEN;
  |  | 6397|       |            (void)(opcode);
  |  | 6398|       |            #endif
  |  | 6399|    221|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6400|    221|            (void)this_instr;
  |  | 6401|    221|            frame->instr_ptr = next_instr;
  |  | 6402|    221|            next_instr += 2;
  |  | 6403|    221|            INSTRUCTION_STATS(FOR_ITER_GEN);
  |  |  ------------------
  |  |  |  |   71|    221|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6404|    221|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6405|    221|            _PyStackRef iter;
  |  | 6406|    221|            _PyStackRef gen_frame;
  |  | 6407|    221|            _PyStackRef new_frame;
  |  | 6408|       |            /* Skip 1 cache entry */
  |  | 6409|       |            // _CHECK_PEP_523
  |  | 6410|    221|            {
  |  | 6411|    221|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|    221|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 221]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|    221|            }
  |  | 6417|       |            // _FOR_ITER_GEN_FRAME
  |  | 6418|    221|            {
  |  | 6419|    221|                iter = stack_pointer[-2];
  |  | 6420|    221|                PyGenObject *gen = (PyGenObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6421|    221|                if (Py_TYPE(gen) != &PyGen_Type) {
  |  |  ------------------
  |  |  |  |  213|    221|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    221|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    221|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6421:21): [True: 0, False: 221]
  |  |  ------------------
  |  | 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|    221|                if (!gen_try_set_executing((PyGenObject *)gen)) {
  |  |  ------------------
  |  |  |  Branch (6426:21): [True: 0, False: 221]
  |  |  ------------------
  |  | 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|    221|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|    221|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6432|    221|                _PyInterpreterFrame *pushed_frame = &gen->gi_iframe;
  |  | 6433|    221|                _PyFrame_StackPush(pushed_frame, PyStackRef_None);
  |  |  ------------------
  |  |  |  |  485|    221|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    221|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6434|    221|                gen->gi_exc_state.previous_item = tstate->exc_info;
  |  | 6435|    221|                tstate->exc_info = &gen->gi_exc_state;
  |  | 6436|    221|                pushed_frame->previous = frame;
  |  | 6437|    221|                frame->return_offset = (uint16_t)( 2u + oparg);
  |  | 6438|    221|                gen_frame = PyStackRef_Wrap(pushed_frame);
  |  | 6439|    221|            }
  |  | 6440|       |            // _PUSH_FRAME
  |  | 6441|      0|            {
  |  | 6442|    221|                new_frame = gen_frame;
  |  | 6443|    221|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (6443:17): [True: 221, False: 0]
  |  |  ------------------
  |  | 6444|    221|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 6445|    221|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6446|    221|                _PyFrame_StackPointerValidate(frame);
  |  | 6447|    221|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (6447:17): [True: 221, False: 0]
  |  |  |  Branch (6447:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6448|    221|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|    221|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 6449|    221|                frame = tstate->current_frame = temp;
  |  | 6450|    221|                tstate->py_recursion_remaining--;
  |  | 6451|    221|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6452|    221|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6453|    221|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|    221|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    221|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    221|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 221]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6454|       |                #ifdef Py_DEBUG
  |  | 6455|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 6456|       |                #endif
  |  | 6457|    221|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|    221|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 6458|    221|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    221|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 6459|    221|            }
  |  | 6460|    221|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    221|    { \
  |  |  |  |  201|    221|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    221|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    221|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    221|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    221|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    221|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    221|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    221|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 221]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    221|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    221|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    221|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    221|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    221|    }
  |  |  ------------------
  |  | 6461|    221|        }
  |  | 6462|       |
  |  | 6463|   213k|        TARGET(FOR_ITER_LIST) {
  |  |  ------------------
  |  |  |  |  132|   213k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6464|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6465|       |            int opcode = FOR_ITER_LIST;
  |  | 6466|       |            (void)(opcode);
  |  | 6467|       |            #endif
  |  | 6468|   213k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6469|   213k|            (void)this_instr;
  |  | 6470|   213k|            frame->instr_ptr = next_instr;
  |  | 6471|   213k|            next_instr += 2;
  |  | 6472|   213k|            INSTRUCTION_STATS(FOR_ITER_LIST);
  |  |  ------------------
  |  |  |  |   71|   213k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6473|   213k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6474|   213k|            _PyStackRef iter;
  |  | 6475|   213k|            _PyStackRef null_or_index;
  |  | 6476|   213k|            _PyStackRef next;
  |  | 6477|       |            /* Skip 1 cache entry */
  |  | 6478|       |            // _ITER_CHECK_LIST
  |  | 6479|   213k|            {
  |  | 6480|   213k|                null_or_index = stack_pointer[-1];
  |  | 6481|   213k|                iter = stack_pointer[-2];
  |  | 6482|   213k|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6483|   213k|                if (Py_TYPE(iter_o) != &PyList_Type) {
  |  |  ------------------
  |  |  |  |  213|   213k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   213k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   213k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6483:21): [True: 53, False: 213k]
  |  |  ------------------
  |  | 6484|     53|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|     53|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6485|     53|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6485:21): [True: 53, False: 0]
  |  |  ------------------
  |  | 6486|     53|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|     53|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6487|      0|                }
  |  | 6488|   213k|                assert(PyStackRef_IsTaggedInt(null_or_index));
  |  |  ------------------
  |  |  |  Branch (6488:17): [True: 213k, 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|   213k|            }
  |  | 6497|       |            // _ITER_JUMP_LIST
  |  | 6498|   213k|            {
  |  | 6499|       |                #ifdef Py_GIL_DISABLED
  |  | 6500|       |
  |  | 6501|       |                #else
  |  | 6502|   213k|                PyObject *list_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6503|   213k|                assert(Py_TYPE(list_o) == &PyList_Type);
  |  |  ------------------
  |  |  |  Branch (6503:17): [True: 213k, False: 0]
  |  |  ------------------
  |  | 6504|   213k|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|   213k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6505|   213k|                if ((size_t)PyStackRef_UntagInt(null_or_index) >= (size_t)PyList_GET_SIZE(list_o)) {
  |  |  ------------------
  |  |  |  |   38|   213k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   213k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   213k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6505:21): [True: 16.7k, False: 196k]
  |  |  ------------------
  |  | 6506|  16.7k|                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6507|  16.7k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|  16.7k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6508|  16.7k|                    stack_pointer[-1] = null_or_index;
  |  | 6509|  16.7k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  16.7k|    { \
  |  |  |  |  201|  16.7k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  16.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  16.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  16.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  16.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  16.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  16.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  16.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 16.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  16.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  16.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  16.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  16.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  16.7k|    }
  |  |  ------------------
  |  | 6510|  16.7k|                }
  |  | 6511|   213k|                #endif
  |  | 6512|   213k|            }
  |  | 6513|       |            // _ITER_NEXT_LIST
  |  | 6514|      0|            {
  |  | 6515|   213k|                PyObject *list_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6516|   213k|                assert(PyList_CheckExact(list_o));
  |  |  ------------------
  |  |  |  Branch (6516:17): [True: 196k, False: 16.7k]
  |  |  ------------------
  |  | 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|   196k|                next = PyStackRef_FromPyObjectNew(PyList_GET_ITEM(list_o, PyStackRef_UntagInt(null_or_index)));
  |  |  ------------------
  |  |  |  |  611|   196k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   196k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   393k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 196k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6538|      0|                #endif
  |  | 6539|      0|                null_or_index = PyStackRef_IncrementTaggedIntNoOverflow(null_or_index);
  |  | 6540|   196k|            }
  |  | 6541|      0|            stack_pointer[-1] = null_or_index;
  |  | 6542|   196k|            stack_pointer[0] = next;
  |  | 6543|   196k|            stack_pointer += 1;
  |  | 6544|   196k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   196k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6545|   196k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   196k|    { \
  |  |  |  |  201|   196k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   196k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   196k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   196k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   196k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   196k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   196k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   196k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 196k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   196k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   196k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   196k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   196k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   196k|    }
  |  |  ------------------
  |  | 6546|   196k|        }
  |  | 6547|       |
  |  | 6548|  4.98k|        TARGET(FOR_ITER_RANGE) {
  |  |  ------------------
  |  |  |  |  132|  4.98k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6549|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6550|       |            int opcode = FOR_ITER_RANGE;
  |  | 6551|       |            (void)(opcode);
  |  | 6552|       |            #endif
  |  | 6553|  4.98k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6554|  4.98k|            (void)this_instr;
  |  | 6555|  4.98k|            frame->instr_ptr = next_instr;
  |  | 6556|  4.98k|            next_instr += 2;
  |  | 6557|  4.98k|            INSTRUCTION_STATS(FOR_ITER_RANGE);
  |  |  ------------------
  |  |  |  |   71|  4.98k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6558|  4.98k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6559|  4.98k|            _PyStackRef iter;
  |  | 6560|  4.98k|            _PyStackRef next;
  |  | 6561|       |            /* Skip 1 cache entry */
  |  | 6562|       |            // _ITER_CHECK_RANGE
  |  | 6563|  4.98k|            {
  |  | 6564|  4.98k|                iter = stack_pointer[-2];
  |  | 6565|  4.98k|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6566|  4.98k|                if (Py_TYPE(r) != &PyRangeIter_Type) {
  |  |  ------------------
  |  |  |  |  213|  4.98k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6566:21): [True: 0, False: 4.98k]
  |  |  ------------------
  |  | 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.98k|            }
  |  | 6579|       |            // _ITER_JUMP_RANGE
  |  | 6580|  4.98k|            {
  |  | 6581|  4.98k|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6582|  4.98k|                assert(Py_TYPE(r) == &PyRangeIter_Type);
  |  |  ------------------
  |  |  |  Branch (6582:17): [True: 4.98k, False: 0]
  |  |  ------------------
  |  | 6583|       |                #ifdef Py_GIL_DISABLED
  |  | 6584|       |                assert(_PyObject_IsUniquelyReferenced((PyObject *)r));
  |  | 6585|       |                #endif
  |  | 6586|  4.98k|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  4.98k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6587|  4.98k|                if (r->len <= 0) {
  |  |  ------------------
  |  |  |  Branch (6587:21): [True: 441, False: 4.54k]
  |  |  ------------------
  |  | 6588|    441|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|    441|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6589|    441|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    441|    { \
  |  |  |  |  201|    441|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    441|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    441|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    441|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    441|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    441|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    441|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    441|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 441]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    441|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    441|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    441|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    441|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    441|    }
  |  |  ------------------
  |  | 6590|    441|                }
  |  | 6591|  4.98k|            }
  |  | 6592|       |            // _ITER_NEXT_RANGE
  |  | 6593|      0|            {
  |  | 6594|  4.98k|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6595|  4.98k|                assert(Py_TYPE(r) == &PyRangeIter_Type);
  |  |  ------------------
  |  |  |  Branch (6595:17): [True: 4.54k, False: 441]
  |  |  ------------------
  |  | 6596|       |                #ifdef Py_GIL_DISABLED
  |  | 6597|       |                assert(_PyObject_IsUniquelyReferenced((PyObject *)r));
  |  | 6598|       |                #endif
  |  | 6599|  4.98k|                assert(r->len > 0);
  |  |  ------------------
  |  |  |  Branch (6599:17): [True: 4.54k, False: 0]
  |  |  ------------------
  |  | 6600|  4.54k|                long value = r->start;
  |  | 6601|  4.54k|                r->start = value + r->step;
  |  | 6602|  4.54k|                r->len--;
  |  | 6603|  4.54k|                PyObject *res = PyLong_FromLong(value);
  |  | 6604|  4.54k|                if (res == NULL) {
  |  |  ------------------
  |  |  |  Branch (6604:21): [True: 0, False: 4.54k]
  |  |  ------------------
  |  | 6605|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6606|      0|                }
  |  | 6607|  4.54k|                next = PyStackRef_FromPyObjectSteal(res);
  |  | 6608|  4.54k|            }
  |  | 6609|      0|            stack_pointer[0] = next;
  |  | 6610|  4.54k|            stack_pointer += 1;
  |  | 6611|  4.54k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  4.54k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6612|  4.54k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.54k|    { \
  |  |  |  |  201|  4.54k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.54k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.54k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.54k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  4.54k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.54k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.54k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.54k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.54k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.54k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.54k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.54k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.54k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.54k|    }
  |  |  ------------------
  |  | 6613|  4.54k|        }
  |  | 6614|       |
  |  | 6615|  9.51k|        TARGET(FOR_ITER_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  9.51k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6616|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6617|       |            int opcode = FOR_ITER_TUPLE;
  |  | 6618|       |            (void)(opcode);
  |  | 6619|       |            #endif
  |  | 6620|  9.51k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6621|  9.51k|            (void)this_instr;
  |  | 6622|  9.51k|            frame->instr_ptr = next_instr;
  |  | 6623|  9.51k|            next_instr += 2;
  |  | 6624|  9.51k|            INSTRUCTION_STATS(FOR_ITER_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  9.51k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6625|  9.51k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6626|  9.51k|            _PyStackRef iter;
  |  | 6627|  9.51k|            _PyStackRef null_or_index;
  |  | 6628|  9.51k|            _PyStackRef next;
  |  | 6629|       |            /* Skip 1 cache entry */
  |  | 6630|       |            // _ITER_CHECK_TUPLE
  |  | 6631|  9.51k|            {
  |  | 6632|  9.51k|                null_or_index = stack_pointer[-1];
  |  | 6633|  9.51k|                iter = stack_pointer[-2];
  |  | 6634|  9.51k|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6635|  9.51k|                if (Py_TYPE(iter_o) != &PyTuple_Type) {
  |  |  ------------------
  |  |  |  |  213|  9.51k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6635:21): [True: 8, False: 9.50k]
  |  |  ------------------
  |  | 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|  9.51k|                assert(PyStackRef_IsTaggedInt(null_or_index));
  |  |  ------------------
  |  |  |  Branch (6640:17): [True: 9.50k, False: 0]
  |  |  ------------------
  |  | 6641|  9.50k|            }
  |  | 6642|       |            // _ITER_JUMP_TUPLE
  |  | 6643|  9.50k|            {
  |  | 6644|  9.50k|                PyObject *tuple_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6645|  9.50k|                (void)tuple_o;
  |  | 6646|  9.50k|                assert(Py_TYPE(tuple_o) == &PyTuple_Type);
  |  |  ------------------
  |  |  |  Branch (6646:17): [True: 9.50k, False: 0]
  |  |  ------------------
  |  | 6647|  9.50k|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  9.50k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6648|  9.50k|                if ((size_t)PyStackRef_UntagInt(null_or_index) >= (size_t)PyTuple_GET_SIZE(tuple_o)) {
  |  |  ------------------
  |  |  |  |   27|  9.50k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6648:21): [True: 3.06k, False: 6.44k]
  |  |  ------------------
  |  | 6649|  3.06k|                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6650|  3.06k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|  3.06k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6651|  3.06k|                    stack_pointer[-1] = null_or_index;
  |  | 6652|  3.06k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.06k|    { \
  |  |  |  |  201|  3.06k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.06k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.06k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.06k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.06k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.06k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.06k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.06k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.06k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.06k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.06k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.06k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.06k|    }
  |  |  ------------------
  |  | 6653|  3.06k|                }
  |  | 6654|  9.50k|            }
  |  | 6655|       |            // _ITER_NEXT_TUPLE
  |  | 6656|      0|            {
  |  | 6657|  9.50k|                PyObject *tuple_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6658|  9.50k|                assert(Py_TYPE(tuple_o) == &PyTuple_Type);
  |  |  ------------------
  |  |  |  Branch (6658:17): [True: 6.44k, False: 3.06k]
  |  |  ------------------
  |  | 6659|  6.44k|                uintptr_t i = PyStackRef_UntagInt(null_or_index);
  |  | 6660|  6.44k|                assert((size_t)i < (size_t)PyTuple_GET_SIZE(tuple_o));
  |  |  ------------------
  |  |  |  Branch (6660:17): [True: 6.44k, False: 0]
  |  |  ------------------
  |  | 6661|  6.44k|                next = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(tuple_o, i));
  |  |  ------------------
  |  |  |  |  611|  6.44k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 6.44k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6662|      0|                null_or_index = PyStackRef_IncrementTaggedIntNoOverflow(null_or_index);
  |  | 6663|  6.44k|            }
  |  | 6664|      0|            stack_pointer[-1] = null_or_index;
  |  | 6665|  6.44k|            stack_pointer[0] = next;
  |  | 6666|  6.44k|            stack_pointer += 1;
  |  | 6667|  6.44k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  6.44k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6668|  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|    }
  |  |  ------------------
  |  | 6669|  6.44k|        }
  |  | 6670|       |
  |  | 6671|  3.87M|        TARGET(FOR_ITER_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|  3.87M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6672|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6673|       |            int opcode = FOR_ITER_VIRTUAL;
  |  | 6674|       |            (void)(opcode);
  |  | 6675|       |            #endif
  |  | 6676|  3.87M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6677|  3.87M|            (void)this_instr;
  |  | 6678|  3.87M|            frame->instr_ptr = next_instr;
  |  | 6679|  3.87M|            next_instr += 2;
  |  | 6680|  3.87M|            INSTRUCTION_STATS(FOR_ITER_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|  3.87M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6681|  3.87M|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6682|  3.87M|            _PyStackRef null_or_index;
  |  | 6683|  3.87M|            _PyStackRef iter;
  |  | 6684|  3.87M|            _PyStackRef next;
  |  | 6685|       |            /* Skip 1 cache entry */
  |  | 6686|       |            // _GUARD_TOS_NOT_NULL
  |  | 6687|  3.87M|            {
  |  | 6688|  3.87M|                null_or_index = stack_pointer[-1];
  |  | 6689|  3.87M|                if (PyStackRef_IsNull(null_or_index)) {
  |  |  ------------------
  |  |  |  |  482|  3.87M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  3.87M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  3.87M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 3.87M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  3.87M|            }
  |  | 6695|       |            // _FOR_ITER_VIRTUAL
  |  | 6696|  3.87M|            {
  |  | 6697|  3.87M|                iter = stack_pointer[-2];
  |  | 6698|  3.87M|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6699|  3.87M|                Py_ssize_t index = PyStackRef_UntagInt(null_or_index);
  |  | 6700|  3.87M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6701|  3.87M|                _PyFrame_StackPointerValidate(frame);
  |  | 6702|  3.87M|                _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, index);
  |  |  ------------------
  |  |  |  |  213|  3.87M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.87M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6703|  3.87M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6704|  3.87M|                PyObject *next_o = next_index.object;
  |  | 6705|  3.87M|                index = next_index.index;
  |  | 6706|  3.87M|                if (next_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6706:21): [True: 368k, False: 3.50M]
  |  |  ------------------
  |  | 6707|   368k|                    if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (6707:25): [True: 0, False: 368k]
  |  |  ------------------
  |  | 6708|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6709|      0|                    }
  |  | 6710|   368k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|   368k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6711|   368k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   368k|    { \
  |  |  |  |  201|   368k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   368k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   368k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   368k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   368k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   368k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   368k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   368k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 368k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   368k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   368k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   368k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   368k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   368k|    }
  |  |  ------------------
  |  | 6712|   368k|                }
  |  | 6713|  3.87M|                null_or_index = PyStackRef_TagInt(index);
  |  | 6714|  3.87M|                next = PyStackRef_FromPyObjectSteal(next_o);
  |  | 6715|  3.87M|            }
  |  | 6716|      0|            stack_pointer[-1] = null_or_index;
  |  | 6717|  3.87M|            stack_pointer[0] = next;
  |  | 6718|  3.87M|            stack_pointer += 1;
  |  | 6719|  3.87M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.87M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6720|  3.87M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.87M|    { \
  |  |  |  |  201|  3.87M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.87M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.87M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.87M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.87M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.87M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.87M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.87M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.87M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.87M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.87M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.87M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.87M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.87M|    }
  |  |  ------------------
  |  | 6721|  3.87M|        }
  |  | 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|    785|        TARGET(GET_ITER) {
  |  |  ------------------
  |  |  |  |  132|    785|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6861|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6862|       |            int opcode = GET_ITER;
  |  | 6863|       |            (void)(opcode);
  |  | 6864|       |            #endif
  |  | 6865|    785|            frame->instr_ptr = next_instr;
  |  | 6866|    785|            next_instr += 2;
  |  | 6867|    785|            INSTRUCTION_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |   71|    785|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6868|    838|            PREDICTED_GET_ITER:;
  |  | 6869|    838|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 6870|    838|            (void)this_instr;
  |  | 6871|    838|            _PyStackRef iterable;
  |  | 6872|    838|            _PyStackRef iter;
  |  | 6873|    838|            _PyStackRef index_or_null;
  |  | 6874|       |            // _SPECIALIZE_GET_ITER
  |  | 6875|    838|            {
  |  | 6876|    838|                iterable = stack_pointer[-1];
  |  | 6877|    838|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 6878|    838|                (void)counter;
  |  | 6879|    838|                #if ENABLE_SPECIALIZATION
  |  | 6880|    838|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    838|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 129, False: 709]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6881|    129|                    next_instr = this_instr;
  |  | 6882|    129|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6883|    129|                    _PyFrame_StackPointerValidate(frame);
  |  | 6884|    129|                    _Py_Specialize_GetIter(iterable, next_instr);
  |  | 6885|    129|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 6886|    129|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    129|    { \
  |  |  |  |  217|    129|        opcode = next_instr->op.code; \
  |  |  |  |  218|    129|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    129|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    129|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    129|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    129|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    129|    }
  |  |  ------------------
  |  | 6887|    129|                }
  |  | 6888|    838|                OPCODE_DEFERRED_INC(GET_ITER);
  |  |  ------------------
  |  |  |  |   90|    838|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 6889|    838|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    838|    do { \
  |  |  |  |  378|    838|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    838|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 838]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6890|    838|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 6891|    838|            }
  |  | 6892|       |            // _GET_ITER
  |  | 6893|    838|            {
  |  | 6894|    838|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6895|    838|                _PyFrame_StackPointerValidate(frame);
  |  | 6896|    838|                _PyStackRef result = _PyEval_GetIter(iterable, &index_or_null, oparg);
  |  | 6897|    838|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6898|    838|                if (PyStackRef_IsError(result)) {
  |  |  ------------------
  |  |  |  Branch (6898:21): [True: 0, False: 838]
  |  |  ------------------
  |  | 6899|      0|                    JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6900|      0|                }
  |  | 6901|    838|                iter = result;
  |  | 6902|    838|            }
  |  | 6903|      0|            stack_pointer[-1] = iter;
  |  | 6904|    838|            stack_pointer[0] = index_or_null;
  |  | 6905|    838|            stack_pointer += 1;
  |  | 6906|    838|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    838|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6907|    838|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    838|    { \
  |  |  |  |  201|    838|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    838|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    838|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    838|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    838|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    838|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    838|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    838|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 838]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    838|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    838|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    838|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    838|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    838|    }
  |  |  ------------------
  |  | 6908|    838|        }
  |  | 6909|       |
  |  | 6910|  31.4k|        TARGET(GET_ITER_SELF) {
  |  |  ------------------
  |  |  |  |  132|  31.4k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6911|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6912|       |            int opcode = GET_ITER_SELF;
  |  | 6913|       |            (void)(opcode);
  |  | 6914|       |            #endif
  |  | 6915|  31.4k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6916|  31.4k|            (void)this_instr;
  |  | 6917|  31.4k|            frame->instr_ptr = next_instr;
  |  | 6918|  31.4k|            next_instr += 2;
  |  | 6919|  31.4k|            INSTRUCTION_STATS(GET_ITER_SELF);
  |  |  ------------------
  |  |  |  |   71|  31.4k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6920|  31.4k|            static_assert(INLINE_CACHE_ENTRIES_GET_ITER == 1, "incorrect cache size");
  |  | 6921|  31.4k|            _PyStackRef iterable;
  |  | 6922|  31.4k|            _PyStackRef res;
  |  | 6923|       |            /* Skip 1 cache entry */
  |  | 6924|       |            // _GUARD_ITERATOR
  |  | 6925|  31.4k|            {
  |  | 6926|  31.4k|                iterable = stack_pointer[-1];
  |  | 6927|  31.4k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(iterable));
  |  |  ------------------
  |  |  |  |  213|  31.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  31.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  31.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6928|  31.4k|                if (tp->tp_iter != PyObject_SelfIter) {
  |  |  ------------------
  |  |  |  Branch (6928:21): [True: 0, False: 31.4k]
  |  |  ------------------
  |  | 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|  31.4k|                STAT_INC(GET_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  31.4k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6934|  31.4k|            }
  |  | 6935|       |            // _PUSH_NULL
  |  | 6936|      0|            {
  |  | 6937|  31.4k|                res = PyStackRef_NULL;
  |  | 6938|  31.4k|            }
  |  | 6939|  31.4k|            stack_pointer[0] = res;
  |  | 6940|  31.4k|            stack_pointer += 1;
  |  | 6941|  31.4k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  31.4k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6942|  31.4k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  31.4k|    { \
  |  |  |  |  201|  31.4k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  31.4k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  31.4k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  31.4k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  31.4k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  31.4k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  31.4k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  31.4k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 31.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  31.4k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  31.4k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  31.4k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  31.4k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  31.4k|    }
  |  |  ------------------
  |  | 6943|  31.4k|        }
  |  | 6944|       |
  |  | 6945|   388k|        TARGET(GET_ITER_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|   388k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6946|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6947|       |            int opcode = GET_ITER_VIRTUAL;
  |  | 6948|       |            (void)(opcode);
  |  | 6949|       |            #endif
  |  | 6950|   388k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6951|   388k|            (void)this_instr;
  |  | 6952|   388k|            frame->instr_ptr = next_instr;
  |  | 6953|   388k|            next_instr += 2;
  |  | 6954|   388k|            INSTRUCTION_STATS(GET_ITER_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|   388k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6955|   388k|            static_assert(INLINE_CACHE_ENTRIES_GET_ITER == 1, "incorrect cache size");
  |  | 6956|   388k|            _PyStackRef iterable;
  |  | 6957|   388k|            _PyStackRef zero;
  |  | 6958|       |            /* Skip 1 cache entry */
  |  | 6959|       |            // _GUARD_ITER_VIRTUAL
  |  | 6960|   388k|            {
  |  | 6961|   388k|                iterable = stack_pointer[-1];
  |  | 6962|   388k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(iterable));
  |  |  ------------------
  |  |  |  |  213|   388k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   388k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   388k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6963|   388k|                if (tp->_tp_iteritem == NULL) {
  |  |  ------------------
  |  |  |  Branch (6963:21): [True: 53, False: 388k]
  |  |  ------------------
  |  | 6964|     53|                    UPDATE_MISS_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |  299|     53|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6965|     53|                    assert(_PyOpcode_Deopt[opcode] == (GET_ITER));
  |  |  ------------------
  |  |  |  Branch (6965:21): [True: 53, False: 0]
  |  |  ------------------
  |  | 6966|     53|                    JUMP_TO_PREDICTED(GET_ITER);
  |  |  ------------------
  |  |  |  |  136|     53|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6967|      0|                }
  |  | 6968|   388k|                STAT_INC(GET_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|   388k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6969|   388k|            }
  |  | 6970|       |            // _PUSH_TAGGED_ZERO
  |  | 6971|      0|            {
  |  | 6972|   388k|                zero = PyStackRef_TagInt(0);
  |  | 6973|   388k|            }
  |  | 6974|   388k|            stack_pointer[0] = zero;
  |  | 6975|   388k|            stack_pointer += 1;
  |  | 6976|   388k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   388k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6977|   388k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   388k|    { \
  |  |  |  |  201|   388k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   388k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   388k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   388k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   388k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   388k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   388k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   388k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 388k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   388k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   388k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   388k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   388k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   388k|    }
  |  |  ------------------
  |  | 6978|   388k|        }
  |  | 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|    276|        TARGET(IMPORT_FROM) {
  |  |  ------------------
  |  |  |  |  132|    276|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7010|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7011|       |            int opcode = IMPORT_FROM;
  |  | 7012|       |            (void)(opcode);
  |  | 7013|       |            #endif
  |  | 7014|    276|            frame->instr_ptr = next_instr;
  |  | 7015|    276|            next_instr += 1;
  |  | 7016|    276|            INSTRUCTION_STATS(IMPORT_FROM);
  |  |  ------------------
  |  |  |  |   71|    276|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7017|    276|            _PyStackRef from;
  |  | 7018|    276|            _PyStackRef res;
  |  | 7019|    276|            from = stack_pointer[-1];
  |  | 7020|    276|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|    276|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    276|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    276|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    276|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7020:30): [True: 276, False: 0]
  |  |  ------------------
  |  | 7021|      0|            PyObject *res_o;
  |  | 7022|    276|            if (PyLazyImport_CheckExact(PyStackRef_AsPyObjectBorrow(from))) {
  |  |  ------------------
  |  |  |  |   15|    276|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    276|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    276|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    276|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 2, False: 274]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|    274|            else {
  |  | 7030|    274|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7031|    274|                _PyFrame_StackPointerValidate(frame);
  |  | 7032|    274|                res_o = _PyEval_ImportFrom(
  |  | 7033|    274|                    tstate, PyStackRef_AsPyObjectBorrow(from), name);
  |  | 7034|    274|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7035|    274|            }
  |  | 7036|    276|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7036:17): [True: 6, False: 270]
  |  |  ------------------
  |  | 7037|      6|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      6|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7038|      0|            }
  |  | 7039|    270|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7040|    270|            stack_pointer[0] = res;
  |  | 7041|    270|            stack_pointer += 1;
  |  | 7042|    270|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    270|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7043|    270|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    270|    { \
  |  |  |  |  201|    270|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    270|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    270|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    270|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    270|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    270|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    270|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    270|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 270]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    270|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    270|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    270|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    270|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    270|    }
  |  |  ------------------
  |  | 7044|    270|        }
  |  | 7045|       |
  |  | 7046|   166k|        TARGET(IMPORT_NAME) {
  |  |  ------------------
  |  |  |  |  132|   166k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7047|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7048|       |            int opcode = IMPORT_NAME;
  |  | 7049|       |            (void)(opcode);
  |  | 7050|       |            #endif
  |  | 7051|   166k|            frame->instr_ptr = next_instr;
  |  | 7052|   166k|            next_instr += 1;
  |  | 7053|   166k|            INSTRUCTION_STATS(IMPORT_NAME);
  |  |  ------------------
  |  |  |  |   71|   166k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7054|   166k|            _PyStackRef level;
  |  | 7055|   166k|            _PyStackRef fromlist;
  |  | 7056|   166k|            _PyStackRef res;
  |  | 7057|   166k|            fromlist = stack_pointer[-1];
  |  | 7058|   166k|            level = stack_pointer[-2];
  |  | 7059|   166k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|   166k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|   166k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|   166k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   166k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7059:30): [True: 166k, False: 0]
  |  |  ------------------
  |  | 7060|      0|            PyObject *res_o;
  |  | 7061|   166k|            if (!(oparg & 0x02)) {
  |  |  ------------------
  |  |  |  Branch (7061:17): [True: 284, False: 165k]
  |  |  ------------------
  |  | 7062|    284|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7063|    284|                _PyFrame_StackPointerValidate(frame);
  |  | 7064|    284|                res_o = _PyEval_LazyImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  327|    284|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                               res_o = _PyEval_LazyImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|    284|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 7065|    284|                    LOCALS(), name,
  |  |  ------------------
  |  |  |  |  328|    284|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 7066|    284|                    PyStackRef_AsPyObjectBorrow(fromlist),
  |  | 7067|    284|                    PyStackRef_AsPyObjectBorrow(level),
  |  | 7068|    284|                    oparg & 0x01);
  |  | 7069|    284|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7070|    284|            }
  |  | 7071|   165k|            else {
  |  | 7072|   165k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7073|   165k|                _PyFrame_StackPointerValidate(frame);
  |  | 7074|   165k|                res_o = _PyEval_ImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  327|   165k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                               res_o = _PyEval_ImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|   165k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 7075|   165k|                    LOCALS(), name,
  |  |  ------------------
  |  |  |  |  328|   165k|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 7076|   165k|                    PyStackRef_AsPyObjectBorrow(fromlist),
  |  | 7077|   165k|                    PyStackRef_AsPyObjectBorrow(level));
  |  | 7078|   165k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7079|   165k|            }
  |  | 7080|   166k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7080:13): [True: 166k, False: 0]
  |  |  ------------------
  |  | 7081|   166k|            _PyFrame_StackPointerValidate(frame);
  |  | 7082|   166k|            _PyStackRef tmp = fromlist;
  |  | 7083|   166k|            fromlist = PyStackRef_NULL;
  |  | 7084|   166k|            stack_pointer[-1] = fromlist;
  |  | 7085|   166k|            PyStackRef_CLOSE(tmp);
  |  | 7086|   166k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7087|   166k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7087:13): [True: 166k, False: 0]
  |  |  ------------------
  |  | 7088|   166k|            _PyFrame_StackPointerValidate(frame);
  |  | 7089|   166k|            tmp = level;
  |  | 7090|   166k|            level = PyStackRef_NULL;
  |  | 7091|   166k|            stack_pointer[-2] = level;
  |  | 7092|   166k|            PyStackRef_CLOSE(tmp);
  |  | 7093|   166k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7094|   166k|            stack_pointer += -2;
  |  | 7095|   166k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   166k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7096|   166k|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7096:17): [True: 6, False: 166k]
  |  |  ------------------
  |  | 7097|      6|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      6|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7098|      0|            }
  |  | 7099|   166k|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7100|   166k|            stack_pointer[0] = res;
  |  | 7101|   166k|            stack_pointer += 1;
  |  | 7102|   166k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   166k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7103|   166k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   166k|    { \
  |  |  |  |  201|   166k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   166k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   166k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   166k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   166k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   166k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   166k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   166k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 166k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   166k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   166k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   166k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   166k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   166k|    }
  |  |  ------------------
  |  | 7104|   166k|        }
  |  | 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|   190k|        TARGET(INTERPRETER_EXIT) {
  |  |  ------------------
  |  |  |  |  132|   190k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8370|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8371|       |            int opcode = INTERPRETER_EXIT;
  |  | 8372|       |            (void)(opcode);
  |  | 8373|       |            #endif
  |  | 8374|   190k|            frame->instr_ptr = next_instr;
  |  | 8375|   190k|            next_instr += 1;
  |  | 8376|   190k|            INSTRUCTION_STATS(INTERPRETER_EXIT);
  |  |  ------------------
  |  |  |  |   71|   190k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8377|   190k|            _PyStackRef retval;
  |  | 8378|   190k|            retval = stack_pointer[-1];
  |  | 8379|   190k|            assert(frame->owner == FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (8379:13): [True: 190k, False: 0]
  |  |  ------------------
  |  | 8380|   190k|            assert(_PyFrame_IsIncomplete(frame));
  |  |  ------------------
  |  |  |  Branch (8380:13): [True: 190k, False: 0]
  |  |  ------------------
  |  | 8381|   190k|            tstate->current_frame = frame->previous;
  |  | 8382|   190k|            assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (8382:13): [True: 190k, False: 0]
  |  |  ------------------
  |  | 8383|   190k|            PyObject *result = PyStackRef_AsPyObjectSteal(retval);
  |  | 8384|   190k|            #if !_Py_TAIL_CALL_INTERP
  |  | 8385|   190k|            assert(frame == &entry.frame);
  |  |  ------------------
  |  |  |  Branch (8385:13): [True: 190k, False: 0]
  |  |  ------------------
  |  | 8386|   190k|            #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|   190k|            LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|   190k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8403|   190k|            return result;
  |  | 8404|   190k|        }
  |  | 8405|       |
  |  | 8406|  87.5k|        TARGET(IS_OP) {
  |  |  ------------------
  |  |  |  |  132|  87.5k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8407|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8408|       |            int opcode = IS_OP;
  |  | 8409|       |            (void)(opcode);
  |  | 8410|       |            #endif
  |  | 8411|  87.5k|            frame->instr_ptr = next_instr;
  |  | 8412|  87.5k|            next_instr += 1;
  |  | 8413|  87.5k|            INSTRUCTION_STATS(IS_OP);
  |  |  ------------------
  |  |  |  |   71|  87.5k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8414|  87.5k|            _PyStackRef left;
  |  | 8415|  87.5k|            _PyStackRef right;
  |  | 8416|  87.5k|            _PyStackRef b;
  |  | 8417|  87.5k|            _PyStackRef l;
  |  | 8418|  87.5k|            _PyStackRef r;
  |  | 8419|  87.5k|            _PyStackRef value;
  |  | 8420|       |            // _IS_OP
  |  | 8421|  87.5k|            {
  |  | 8422|  87.5k|                right = stack_pointer[-1];
  |  | 8423|  87.5k|                left = stack_pointer[-2];
  |  | 8424|  87.5k|                int res = Py_Is(PyStackRef_AsPyObjectBorrow(left), PyStackRef_AsPyObjectBorrow(right)) ^ oparg;
  |  |  ------------------
  |  |  |  |  187|  87.5k|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  | 8425|  87.5k|                b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  1.87k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.87k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   173k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  85.7k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8425:21): [True: 1.87k, False: 85.7k]
  |  |  ------------------
  |  | 8426|  87.5k|                l = left;
  |  | 8427|  87.5k|                r = right;
  |  | 8428|  87.5k|            }
  |  | 8429|       |            // _POP_TOP
  |  | 8430|  87.5k|            {
  |  | 8431|  87.5k|                value = r;
  |  | 8432|  87.5k|                stack_pointer[-2] = b;
  |  | 8433|  87.5k|                stack_pointer[-1] = l;
  |  | 8434|  87.5k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8435|  87.5k|                _PyFrame_StackPointerValidate(frame);
  |  | 8436|  87.5k|                PyStackRef_XCLOSE(value);
  |  | 8437|  87.5k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8438|  87.5k|            }
  |  | 8439|       |            // _POP_TOP
  |  | 8440|  87.5k|            {
  |  | 8441|  87.5k|                value = l;
  |  | 8442|  87.5k|                stack_pointer += -1;
  |  | 8443|  87.5k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  87.5k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8444|  87.5k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8445|  87.5k|                _PyFrame_StackPointerValidate(frame);
  |  | 8446|  87.5k|                PyStackRef_XCLOSE(value);
  |  | 8447|  87.5k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8448|  87.5k|            }
  |  | 8449|  87.5k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  87.5k|    { \
  |  |  |  |  201|  87.5k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  87.5k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  87.5k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  87.5k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  87.5k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  87.5k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  87.5k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  87.5k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 87.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  87.5k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  87.5k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  87.5k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  87.5k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  87.5k|    }
  |  |  ------------------
  |  | 8450|  87.5k|        }
  |  | 8451|       |
  |  | 8452|  87.5k|        TARGET(JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |  132|    250|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8453|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8454|       |            int opcode = JUMP_BACKWARD;
  |  | 8455|       |            (void)(opcode);
  |  | 8456|       |            #endif
  |  | 8457|    250|            frame->instr_ptr = next_instr;
  |  | 8458|    250|            next_instr += 2;
  |  | 8459|    250|            INSTRUCTION_STATS(JUMP_BACKWARD);
  |  |  ------------------
  |  |  |  |   71|    250|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8460|    250|            PREDICTED_JUMP_BACKWARD:;
  |  | 8461|    250|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 8462|    250|            (void)this_instr;
  |  | 8463|       |            /* Skip 1 cache entry */
  |  | 8464|       |            // _SPECIALIZE_JUMP_BACKWARD
  |  | 8465|    250|            {
  |  | 8466|    250|                #if ENABLE_SPECIALIZATION
  |  | 8467|    250|                if (this_instr->op.code == JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |   84|    250|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (8467:21): [True: 250, False: 0]
  |  |  ------------------
  |  | 8468|    250|                    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|    500|#define JUMP_BACKWARD_NO_JIT                   182
  |  |  ------------------
  |  |  |  Branch (8468:39): [True: 0, False: 250]
  |  |  ------------------
  |  | 8469|    250|                    FT_ATOMIC_STORE_UINT8_RELAXED(this_instr->op.code, desired);
  |  |  ------------------
  |  |  |  |  173|    250|#define FT_ATOMIC_STORE_UINT8_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  |  | 8470|    250|                    next_instr = this_instr;
  |  | 8471|    250|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    250|    { \
  |  |  |  |  217|    250|        opcode = next_instr->op.code; \
  |  |  |  |  218|    250|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    250|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    250|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    250|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    250|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    250|    }
  |  |  ------------------
  |  | 8472|    250|                }
  |  | 8473|    250|                #endif
  |  | 8474|    250|            }
  |  | 8475|       |            // _CHECK_PERIODIC
  |  | 8476|    250|            {
  |  | 8477|    250|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8478|    250|                _PyFrame_StackPointerValidate(frame);
  |  | 8479|    250|                int err = check_periodics(tstate);
  |  | 8480|    250|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8481|    250|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8481:21): [True: 0, False: 250]
  |  |  ------------------
  |  | 8482|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8483|      0|                }
  |  | 8484|    250|            }
  |  | 8485|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8486|    250|            {
  |  | 8487|    250|                assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8487:17): [True: 0, False: 250]
  |  |  ------------------
  |  | 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.22k|        TARGET(JUMP_BACKWARD_NO_INTERRUPT) {
  |  |  ------------------
  |  |  |  |  132|  1.22k|#  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.22k|            frame->instr_ptr = next_instr;
  |  | 8556|  1.22k|            next_instr += 1;
  |  | 8557|  1.22k|            INSTRUCTION_STATS(JUMP_BACKWARD_NO_INTERRUPT);
  |  |  ------------------
  |  |  |  |   71|  1.22k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8558|  1.22k|            assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8558:13): [True: 1.22k, False: 0]
  |  |  ------------------
  |  | 8559|  1.22k|            JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|  1.22k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8560|  1.22k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.22k|    { \
  |  |  |  |  201|  1.22k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.22k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.22k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.22k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.22k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.22k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.22k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.22k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.22k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.22k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.22k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.22k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.22k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.22k|    }
  |  |  ------------------
  |  | 8561|  1.22k|        }
  |  | 8562|       |
  |  | 8563|  7.40M|        TARGET(JUMP_BACKWARD_NO_JIT) {
  |  |  ------------------
  |  |  |  |  132|  7.40M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8564|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8565|       |            int opcode = JUMP_BACKWARD_NO_JIT;
  |  | 8566|       |            (void)(opcode);
  |  | 8567|       |            #endif
  |  | 8568|  7.40M|            frame->instr_ptr = next_instr;
  |  | 8569|  7.40M|            next_instr += 2;
  |  | 8570|  7.40M|            INSTRUCTION_STATS(JUMP_BACKWARD_NO_JIT);
  |  |  ------------------
  |  |  |  |   71|  7.40M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8571|  7.40M|            static_assert(1 == 1, "incorrect cache size");
  |  | 8572|       |            /* Skip 1 cache entry */
  |  | 8573|       |            // _CHECK_PERIODIC
  |  | 8574|  7.40M|            {
  |  | 8575|  7.40M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8576|  7.40M|                _PyFrame_StackPointerValidate(frame);
  |  | 8577|  7.40M|                int err = check_periodics(tstate);
  |  | 8578|  7.40M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8579|  7.40M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8579:21): [True: 0, False: 7.40M]
  |  |  ------------------
  |  | 8580|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8581|      0|                }
  |  | 8582|  7.40M|            }
  |  | 8583|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8584|  7.40M|            {
  |  | 8585|  7.40M|                assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8585:17): [True: 7.40M, False: 0]
  |  |  ------------------
  |  | 8586|  7.40M|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|  7.40M|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8587|  7.40M|            }
  |  | 8588|  7.40M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.40M|    { \
  |  |  |  |  201|  7.40M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  7.40M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  7.40M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  7.40M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  7.40M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  7.40M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  7.40M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  7.40M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7.40M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.40M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.40M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.40M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.40M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.40M|    }
  |  |  ------------------
  |  | 8589|  7.40M|        }
  |  | 8590|       |
  |  | 8591|  1.07M|        TARGET(JUMP_FORWARD) {
  |  |  ------------------
  |  |  |  |  132|  1.07M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8592|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8593|       |            int opcode = JUMP_FORWARD;
  |  | 8594|       |            (void)(opcode);
  |  | 8595|       |            #endif
  |  | 8596|  1.07M|            frame->instr_ptr = next_instr;
  |  | 8597|  1.07M|            next_instr += 1;
  |  | 8598|  1.07M|            INSTRUCTION_STATS(JUMP_FORWARD);
  |  |  ------------------
  |  |  |  |   71|  1.07M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8599|  1.07M|            JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|  1.07M|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8600|  1.07M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.07M|    { \
  |  |  |  |  201|  1.07M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.07M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.07M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.07M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.07M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.07M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.07M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.07M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.07M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.07M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.07M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.07M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.07M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.07M|    }
  |  |  ------------------
  |  | 8601|  1.07M|        }
  |  | 8602|       |
  |  | 8603|  1.07M|        TARGET(LIST_APPEND) {
  |  |  ------------------
  |  |  |  |  132|   408k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8604|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8605|       |            int opcode = LIST_APPEND;
  |  | 8606|       |            (void)(opcode);
  |  | 8607|       |            #endif
  |  | 8608|   408k|            frame->instr_ptr = next_instr;
  |  | 8609|   408k|            next_instr += 1;
  |  | 8610|   408k|            INSTRUCTION_STATS(LIST_APPEND);
  |  |  ------------------
  |  |  |  |   71|   408k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8611|   408k|            _PyStackRef list;
  |  | 8612|   408k|            _PyStackRef v;
  |  | 8613|   408k|            v = stack_pointer[-1];
  |  | 8614|   408k|            list = stack_pointer[-2 - (oparg-1)];
  |  | 8615|   408k|            int err = _PyList_AppendTakeRef((PyListObject *)PyStackRef_AsPyObjectBorrow(list),
  |  | 8616|   408k|                PyStackRef_AsPyObjectSteal(v));
  |  | 8617|   408k|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (8617:17): [True: 0, False: 408k]
  |  |  ------------------
  |  | 8618|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8619|      0|            }
  |  | 8620|   408k|            stack_pointer += -1;
  |  | 8621|   408k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   408k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8622|   408k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   408k|    { \
  |  |  |  |  201|   408k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   408k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   408k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   408k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   408k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   408k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   408k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   408k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 408k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   408k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   408k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   408k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   408k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   408k|    }
  |  |  ------------------
  |  | 8623|   408k|        }
  |  | 8624|       |
  |  | 8625|    196|        TARGET(LIST_EXTEND) {
  |  |  ------------------
  |  |  |  |  132|    196|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8626|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8627|       |            int opcode = LIST_EXTEND;
  |  | 8628|       |            (void)(opcode);
  |  | 8629|       |            #endif
  |  | 8630|    196|            frame->instr_ptr = next_instr;
  |  | 8631|    196|            next_instr += 1;
  |  | 8632|    196|            INSTRUCTION_STATS(LIST_EXTEND);
  |  |  ------------------
  |  |  |  |   71|    196|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8633|    196|            _PyStackRef list_st;
  |  | 8634|    196|            _PyStackRef iterable_st;
  |  | 8635|    196|            _PyStackRef i;
  |  | 8636|    196|            _PyStackRef value;
  |  | 8637|       |            // _LIST_EXTEND
  |  | 8638|    196|            {
  |  | 8639|    196|                iterable_st = stack_pointer[-1];
  |  | 8640|    196|                list_st = stack_pointer[-2 - (oparg-1)];
  |  | 8641|    196|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  | 8642|    196|                PyObject *iterable = PyStackRef_AsPyObjectBorrow(iterable_st);
  |  | 8643|    196|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8644|    196|                _PyFrame_StackPointerValidate(frame);
  |  | 8645|    196|                PyObject *none_val = _PyList_Extend((PyListObject *)list, iterable);
  |  | 8646|    196|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8647|    196|                if (none_val == NULL) {
  |  |  ------------------
  |  |  |  Branch (8647:21): [True: 0, False: 196]
  |  |  ------------------
  |  | 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|    196|                assert(Py_IsNone(none_val));
  |  |  ------------------
  |  |  |  Branch (8665:17): [True: 196, False: 0]
  |  |  ------------------
  |  | 8666|    196|                i = iterable_st;
  |  | 8667|    196|            }
  |  | 8668|       |            // _POP_TOP
  |  | 8669|      0|            {
  |  | 8670|    196|                value = i;
  |  | 8671|    196|                stack_pointer += -1;
  |  | 8672|    196|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    196|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8673|    196|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8674|    196|                _PyFrame_StackPointerValidate(frame);
  |  | 8675|    196|                PyStackRef_XCLOSE(value);
  |  | 8676|    196|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8677|    196|            }
  |  | 8678|    196|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    196|    { \
  |  |  |  |  201|    196|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    196|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    196|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    196|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    196|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    196|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    196|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    196|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 196]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    196|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    196|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    196|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    196|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    196|    }
  |  |  ------------------
  |  | 8679|    196|        }
  |  | 8680|       |
  |  | 8681|  1.50M|        TARGET(LOAD_ATTR) {
  |  |  ------------------
  |  |  |  |  132|  1.50M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8682|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8683|       |            int opcode = LOAD_ATTR;
  |  | 8684|       |            (void)(opcode);
  |  | 8685|       |            #endif
  |  | 8686|  1.50M|            frame->instr_ptr = next_instr;
  |  | 8687|  1.50M|            next_instr += 10;
  |  | 8688|  1.50M|            INSTRUCTION_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |   71|  1.50M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8689|  1.51M|            PREDICTED_LOAD_ATTR:;
  |  | 8690|  1.51M|            _Py_CODEUNIT* const this_instr = next_instr - 10;
  |  | 8691|  1.51M|            (void)this_instr;
  |  | 8692|  1.51M|            _PyStackRef owner;
  |  | 8693|  1.51M|            _PyStackRef attr;
  |  | 8694|  1.51M|            _PyStackRef *self_or_null;
  |  | 8695|       |            // _SPECIALIZE_LOAD_ATTR
  |  | 8696|  1.51M|            {
  |  | 8697|  1.51M|                owner = stack_pointer[-1];
  |  | 8698|  1.51M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 8699|  1.51M|                (void)counter;
  |  | 8700|  1.51M|                #if ENABLE_SPECIALIZATION
  |  | 8701|  1.51M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  1.51M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 1.48k, False: 1.50M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8702|  1.48k|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|  1.48k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  1.48k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  1.48k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8702:38): [True: 1.48k, False: 0]
  |  |  ------------------
  |  | 8703|      0|                    next_instr = this_instr;
  |  | 8704|  1.48k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8705|  1.48k|                    _PyFrame_StackPointerValidate(frame);
  |  | 8706|  1.48k|                    _Py_Specialize_LoadAttr(owner, next_instr, name);
  |  | 8707|  1.48k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8708|  1.48k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.48k|    { \
  |  |  |  |  217|  1.48k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.48k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.48k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.48k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.48k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.48k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.48k|    }
  |  |  ------------------
  |  | 8709|  1.48k|                }
  |  | 8710|  1.51M|                OPCODE_DEFERRED_INC(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |   90|  1.51M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 8711|  1.51M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  1.51M|    do { \
  |  |  |  |  378|  1.51M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  1.51M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 1.51M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8712|  1.51M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 8713|  1.51M|            }
  |  | 8714|       |            /* Skip 8 cache entries */
  |  | 8715|       |            // _LOAD_ATTR
  |  | 8716|      0|            {
  |  | 8717|  1.51M|                self_or_null = &stack_pointer[0];
  |  | 8718|  1.51M|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 1);
  |  |  ------------------
  |  |  |  |  236|  1.51M|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  1.51M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  1.51M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8718:34): [True: 1.50M, False: 1.48k]
  |  |  ------------------
  |  | 8719|  1.50M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8719:21): [True: 43.7k, False: 1.46M]
  |  |  ------------------
  |  | 8720|  43.7k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8721|  43.7k|                    _PyFrame_StackPointerValidate(frame);
  |  | 8722|  43.7k|                    attr = _Py_LoadAttr_StackRefSteal(tstate, owner, name, self_or_null);
  |  | 8723|  43.7k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8724|  43.7k|                    if (PyStackRef_IsNull(attr)) {
  |  |  ------------------
  |  |  |  |  482|  43.7k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  43.7k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  43.7k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 144, False: 43.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8725|    144|                        JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|    144|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8726|      0|                    }
  |  | 8727|  43.7k|                }
  |  | 8728|  1.46M|                else {
  |  | 8729|  1.46M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8730|  1.46M|                    _PyFrame_StackPointerValidate(frame);
  |  | 8731|  1.46M|                    attr = _PyObject_GetAttrStackRef(PyStackRef_AsPyObjectBorrow(owner), name);
  |  | 8732|  1.46M|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8733|  1.46M|                    stack_pointer[-1] = attr;
  |  | 8734|  1.46M|                    stack_pointer += (oparg&1);
  |  | 8735|  1.46M|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.46M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8736|  1.46M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8737|  1.46M|                    _PyFrame_StackPointerValidate(frame);
  |  | 8738|  1.46M|                    PyStackRef_CLOSE(owner);
  |  | 8739|  1.46M|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8740|  1.46M|                    if (PyStackRef_IsNull(attr)) {
  |  |  ------------------
  |  |  |  |  482|  1.46M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.46M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.46M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 290, False: 1.46M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8741|    290|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    290|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8742|      0|                    }
  |  | 8743|  1.46M|                    stack_pointer += -(oparg&1);
  |  | 8744|  1.46M|                }
  |  | 8745|  1.50M|            }
  |  | 8746|  1.50M|            stack_pointer[-1] = attr;
  |  | 8747|  1.50M|            stack_pointer += (oparg&1);
  |  | 8748|  1.50M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.50M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8749|  1.50M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.50M|    { \
  |  |  |  |  201|  1.50M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.50M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.50M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.50M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.50M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.50M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.50M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.50M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.50M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.50M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.50M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.50M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.50M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.50M|    }
  |  |  ------------------
  |  | 8750|  1.50M|        }
  |  | 8751|       |
  |  | 8752|    350|        TARGET(LOAD_ATTR_CLASS) {
  |  |  ------------------
  |  |  |  |  132|    350|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8753|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8754|       |            int opcode = LOAD_ATTR_CLASS;
  |  | 8755|       |            (void)(opcode);
  |  | 8756|       |            #endif
  |  | 8757|    350|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8758|    350|            (void)this_instr;
  |  | 8759|    350|            frame->instr_ptr = next_instr;
  |  | 8760|    350|            next_instr += 10;
  |  | 8761|    350|            INSTRUCTION_STATS(LOAD_ATTR_CLASS);
  |  |  ------------------
  |  |  |  |   71|    350|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8762|    350|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8763|    350|            _PyStackRef owner;
  |  | 8764|    350|            _PyStackRef attr;
  |  | 8765|    350|            _PyStackRef *null;
  |  | 8766|       |            /* Skip 1 cache entry */
  |  | 8767|       |            // _CHECK_ATTR_CLASS
  |  | 8768|    350|            {
  |  | 8769|    350|                owner = stack_pointer[-1];
  |  | 8770|    350|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8771|    350|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8772|    350|                if (!PyType_Check(owner_o)) {
  |  |  ------------------
  |  |  |  |  766|    350|#  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 (8772:21): [True: 0, False: 350]
  |  |  ------------------
  |  | 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|    350|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8777:17): [True: 350, False: 0]
  |  |  ------------------
  |  | 8778|    350|                if (FT_ATOMIC_LOAD_UINT_RELAXED(((PyTypeObject *)owner_o)->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    350|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8778:21): [True: 2, False: 348]
  |  |  ------------------
  |  | 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|    350|            }
  |  | 8784|       |            /* Skip 2 cache entries */
  |  | 8785|       |            // _LOAD_ATTR_CLASS
  |  | 8786|    348|            {
  |  | 8787|    348|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8788|    348|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    348|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8789|    348|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (8789:17): [True: 348, False: 0]
  |  |  ------------------
  |  | 8790|    348|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|    348|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    348|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    348|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8791|    348|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8792|    348|                _PyFrame_StackPointerValidate(frame);
  |  | 8793|    348|                _PyStackRef tmp = owner;
  |  | 8794|    348|                owner = attr;
  |  | 8795|    348|                stack_pointer[-1] = owner;
  |  | 8796|    348|                PyStackRef_CLOSE(tmp);
  |  | 8797|    348|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8798|    348|            }
  |  | 8799|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8800|      0|            {
  |  | 8801|    348|                null = &stack_pointer[0];
  |  | 8802|    348|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8802:21): [True: 226, False: 122]
  |  |  ------------------
  |  | 8803|    226|                    null[0] = PyStackRef_NULL;
  |  | 8804|    226|                }
  |  | 8805|    348|            }
  |  | 8806|    348|            stack_pointer += (oparg & 1);
  |  | 8807|    348|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    348|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8808|    348|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    348|    { \
  |  |  |  |  201|    348|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    348|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    348|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    348|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    348|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    348|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    348|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    348|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 348]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    348|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    348|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    348|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    348|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    348|    }
  |  |  ------------------
  |  | 8809|    348|        }
  |  | 8810|       |
  |  | 8811|    177|        TARGET(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK) {
  |  |  ------------------
  |  |  |  |  132|    177|#  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|    177|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8817|    177|            (void)this_instr;
  |  | 8818|    177|            frame->instr_ptr = next_instr;
  |  | 8819|    177|            next_instr += 10;
  |  | 8820|    177|            INSTRUCTION_STATS(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK);
  |  |  ------------------
  |  |  |  |   71|    177|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8821|    177|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8822|    177|            _PyStackRef owner;
  |  | 8823|    177|            _PyStackRef attr;
  |  | 8824|    177|            _PyStackRef *null;
  |  | 8825|       |            /* Skip 1 cache entry */
  |  | 8826|       |            // _GUARD_TYPE_VERSION
  |  | 8827|    177|            {
  |  | 8828|    177|                owner = stack_pointer[-1];
  |  | 8829|    177|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8830|    177|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|    177|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    177|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    177|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8831|    177|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8831:17): [True: 177, False: 0]
  |  |  ------------------
  |  | 8832|    177|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    177|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8832:21): [True: 0, False: 177]
  |  |  ------------------
  |  | 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|    177|            }
  |  | 8838|       |            // _CHECK_ATTR_CLASS
  |  | 8839|    177|            {
  |  | 8840|    177|                uint32_t type_version = read_u32(&this_instr[4].cache);
  |  | 8841|    177|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8842|    177|                if (!PyType_Check(owner_o)) {
  |  |  ------------------
  |  |  |  |  766|    177|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    177|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    177|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8842:21): [True: 0, False: 177]
  |  |  ------------------
  |  | 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|    177|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8847:17): [True: 177, False: 0]
  |  |  ------------------
  |  | 8848|    177|                if (FT_ATOMIC_LOAD_UINT_RELAXED(((PyTypeObject *)owner_o)->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    177|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8848:21): [True: 103, False: 74]
  |  |  ------------------
  |  | 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|    177|            }
  |  | 8854|       |            // _LOAD_ATTR_CLASS
  |  | 8855|     74|            {
  |  | 8856|     74|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8857|     74|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     74|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8858|     74|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (8858:17): [True: 74, False: 0]
  |  |  ------------------
  |  | 8859|     74|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     74|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     74|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     74|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8860|     74|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8861|     74|                _PyFrame_StackPointerValidate(frame);
  |  | 8862|     74|                _PyStackRef tmp = owner;
  |  | 8863|     74|                owner = attr;
  |  | 8864|     74|                stack_pointer[-1] = owner;
  |  | 8865|     74|                PyStackRef_CLOSE(tmp);
  |  | 8866|     74|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8867|     74|            }
  |  | 8868|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8869|      0|            {
  |  | 8870|     74|                null = &stack_pointer[0];
  |  | 8871|     74|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8871:21): [True: 8, False: 66]
  |  |  ------------------
  |  | 8872|      8|                    null[0] = PyStackRef_NULL;
  |  | 8873|      8|                }
  |  | 8874|     74|            }
  |  | 8875|     74|            stack_pointer += (oparg & 1);
  |  | 8876|     74|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     74|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8877|     74|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     74|    { \
  |  |  |  |  201|     74|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     74|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     74|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     74|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     74|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     74|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     74|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     74|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 74]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     74|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     74|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     74|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     74|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     74|    }
  |  |  ------------------
  |  | 8878|     74|        }
  |  | 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|   435k|        TARGET(LOAD_ATTR_INSTANCE_VALUE) {
  |  |  ------------------
  |  |  |  |  132|   435k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8976|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8977|       |            int opcode = LOAD_ATTR_INSTANCE_VALUE;
  |  | 8978|       |            (void)(opcode);
  |  | 8979|       |            #endif
  |  | 8980|   435k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8981|   435k|            (void)this_instr;
  |  | 8982|   435k|            frame->instr_ptr = next_instr;
  |  | 8983|   435k|            next_instr += 10;
  |  | 8984|   435k|            INSTRUCTION_STATS(LOAD_ATTR_INSTANCE_VALUE);
  |  |  ------------------
  |  |  |  |   71|   435k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8985|   435k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8986|   435k|            _PyStackRef owner;
  |  | 8987|   435k|            _PyStackRef attr;
  |  | 8988|   435k|            _PyStackRef o;
  |  | 8989|   435k|            _PyStackRef value;
  |  | 8990|   435k|            _PyStackRef *null;
  |  | 8991|       |            /* Skip 1 cache entry */
  |  | 8992|       |            // _GUARD_TYPE_VERSION
  |  | 8993|   435k|            {
  |  | 8994|   435k|                owner = stack_pointer[-1];
  |  | 8995|   435k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8996|   435k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|   435k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   435k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   435k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8997|   435k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8997:17): [True: 435k, False: 0]
  |  |  ------------------
  |  | 8998|   435k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|   435k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8998:21): [True: 502, False: 435k]
  |  |  ------------------
  |  | 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|   435k|            }
  |  | 9004|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 9005|   435k|            {
  |  | 9006|   435k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9007|   435k|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (9007:17): [True: 435k, False: 0]
  |  |  ------------------
  |  | 9008|   435k|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (9008:17): [True: 435k, False: 0]
  |  |  ------------------
  |  | 9009|   435k|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  156|   435k|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (9009:21): [True: 0, False: 435k]
  |  |  ------------------
  |  | 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|   435k|            }
  |  | 9015|       |            // _LOAD_ATTR_INSTANCE_VALUE
  |  | 9016|   435k|            {
  |  | 9017|   435k|                uint16_t offset = read_u16(&this_instr[4].cache);
  |  | 9018|   435k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9019|   435k|                PyObject **value_ptr = (PyObject**)(((char *)owner_o) + offset);
  |  | 9020|   435k|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR_ACQUIRE(*value_ptr);
  |  |  ------------------
  |  |  |  |  152|   435k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9021|   435k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9021:21): [True: 0, False: 435k]
  |  |  ------------------
  |  | 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|   435k|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|   435k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   435k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   435k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9037|   435k|                #endif
  |  | 9038|   435k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|   435k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9039|   435k|                o = owner;
  |  | 9040|   435k|            }
  |  | 9041|       |            // _POP_TOP
  |  | 9042|      0|            {
  |  | 9043|   435k|                value = o;
  |  | 9044|   435k|                stack_pointer[-1] = attr;
  |  | 9045|   435k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9046|   435k|                _PyFrame_StackPointerValidate(frame);
  |  | 9047|   435k|                PyStackRef_XCLOSE(value);
  |  | 9048|   435k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9049|   435k|            }
  |  | 9050|       |            /* Skip 5 cache entries */
  |  | 9051|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9052|   435k|            {
  |  | 9053|   435k|                null = &stack_pointer[0];
  |  | 9054|   435k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9054:21): [True: 415, False: 435k]
  |  |  ------------------
  |  | 9055|    415|                    null[0] = PyStackRef_NULL;
  |  | 9056|    415|                }
  |  | 9057|   435k|            }
  |  | 9058|   435k|            stack_pointer += (oparg & 1);
  |  | 9059|   435k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   435k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9060|   435k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   435k|    { \
  |  |  |  |  201|   435k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   435k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   435k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   435k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   435k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   435k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   435k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   435k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 435k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   435k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   435k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   435k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   435k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   435k|    }
  |  |  ------------------
  |  | 9061|   435k|        }
  |  | 9062|       |
  |  | 9063|     99|        TARGET(LOAD_ATTR_METHOD_LAZY_DICT) {
  |  |  ------------------
  |  |  |  |  132|     99|#  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|     99|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9069|     99|            (void)this_instr;
  |  | 9070|     99|            frame->instr_ptr = next_instr;
  |  | 9071|     99|            next_instr += 10;
  |  | 9072|     99|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_LAZY_DICT);
  |  |  ------------------
  |  |  |  |   71|     99|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9073|     99|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9074|     99|            _PyStackRef owner;
  |  | 9075|     99|            _PyStackRef attr;
  |  | 9076|     99|            _PyStackRef self;
  |  | 9077|       |            /* Skip 1 cache entry */
  |  | 9078|       |            // _GUARD_TYPE_VERSION
  |  | 9079|     99|            {
  |  | 9080|     99|                owner = stack_pointer[-1];
  |  | 9081|     99|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9082|     99|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|     99|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     99|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     99|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9083|     99|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9083:17): [True: 99, False: 0]
  |  |  ------------------
  |  | 9084|     99|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|     99|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9084:21): [True: 0, False: 99]
  |  |  ------------------
  |  | 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|     99|            }
  |  | 9090|       |            // _CHECK_ATTR_METHOD_LAZY_DICT
  |  | 9091|     99|            {
  |  | 9092|     99|                uint16_t dictoffset = read_u16(&this_instr[4].cache);
  |  | 9093|     99|                char *ptr = ((char *)PyStackRef_AsPyObjectBorrow(owner)) + MANAGED_DICT_OFFSET + dictoffset;
  |  |  ------------------
  |  |  |  |  910|     99|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  |  |  ------------------
  |  | 9094|     99|                PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*(PyObject **)ptr);
  |  |  ------------------
  |  |  |  |  152|     99|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9095|     99|                if (dict != NULL) {
  |  |  ------------------
  |  |  |  Branch (9095:21): [True: 0, False: 99]
  |  |  ------------------
  |  | 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|     99|            }
  |  | 9101|       |            /* Skip 1 cache entry */
  |  | 9102|       |            // _LOAD_ATTR_METHOD_LAZY_DICT
  |  | 9103|     99|            {
  |  | 9104|     99|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9105|     99|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9105:17): [True: 99, False: 0]
  |  |  ------------------
  |  | 9106|     99|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     99|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9107|     99|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9107:17): [True: 99, False: 0]
  |  |  ------------------
  |  | 9108|     99|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9108:17): [True: 99, False: 0]
  |  |  ------------------
  |  | 9109|     99|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     99|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     99|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     99|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9110|     99|                self = owner;
  |  | 9111|     99|            }
  |  | 9112|      0|            stack_pointer[-1] = attr;
  |  | 9113|     99|            stack_pointer[0] = self;
  |  | 9114|     99|            stack_pointer += 1;
  |  | 9115|     99|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     99|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9116|     99|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     99|    { \
  |  |  |  |  201|     99|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     99|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     99|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     99|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     99|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     99|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     99|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     99|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 99]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     99|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     99|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     99|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     99|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     99|    }
  |  |  ------------------
  |  | 9117|     99|        }
  |  | 9118|       |
  |  | 9119|  3.01M|        TARGET(LOAD_ATTR_METHOD_NO_DICT) {
  |  |  ------------------
  |  |  |  |  132|  3.01M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9120|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9121|       |            int opcode = LOAD_ATTR_METHOD_NO_DICT;
  |  | 9122|       |            (void)(opcode);
  |  | 9123|       |            #endif
  |  | 9124|  3.01M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9125|  3.01M|            (void)this_instr;
  |  | 9126|  3.01M|            frame->instr_ptr = next_instr;
  |  | 9127|  3.01M|            next_instr += 10;
  |  | 9128|  3.01M|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_NO_DICT);
  |  |  ------------------
  |  |  |  |   71|  3.01M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9129|  3.01M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9130|  3.01M|            _PyStackRef owner;
  |  | 9131|  3.01M|            _PyStackRef attr;
  |  | 9132|  3.01M|            _PyStackRef self;
  |  | 9133|       |            /* Skip 1 cache entry */
  |  | 9134|       |            // _GUARD_TYPE_VERSION
  |  | 9135|  3.01M|            {
  |  | 9136|  3.01M|                owner = stack_pointer[-1];
  |  | 9137|  3.01M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9138|  3.01M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  3.01M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9139|  3.01M|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9139:17): [True: 3.01M, False: 0]
  |  |  ------------------
  |  | 9140|  3.01M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|  3.01M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9140:21): [True: 0, False: 3.01M]
  |  |  ------------------
  |  | 9141|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9142|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9142:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9143|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9144|      0|                }
  |  | 9145|  3.01M|            }
  |  | 9146|       |            /* Skip 2 cache entries */
  |  | 9147|       |            // _LOAD_ATTR_METHOD_NO_DICT
  |  | 9148|  3.01M|            {
  |  | 9149|  3.01M|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9150|  3.01M|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9150:17): [True: 3.01M, False: 0]
  |  |  ------------------
  |  | 9151|  3.01M|                assert(Py_TYPE(PyStackRef_AsPyObjectBorrow(owner))->tp_dictoffset == 0);
  |  |  ------------------
  |  |  |  Branch (9151:17): [True: 3.01M, False: 0]
  |  |  ------------------
  |  | 9152|  3.01M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  3.01M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9153|  3.01M|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9153:17): [True: 3.01M, False: 0]
  |  |  ------------------
  |  | 9154|  3.01M|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9154:17): [True: 3.01M, False: 0]
  |  |  ------------------
  |  | 9155|  3.01M|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|  3.01M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9156|  3.01M|                self = owner;
  |  | 9157|  3.01M|            }
  |  | 9158|      0|            stack_pointer[-1] = attr;
  |  | 9159|  3.01M|            stack_pointer[0] = self;
  |  | 9160|  3.01M|            stack_pointer += 1;
  |  | 9161|  3.01M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.01M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9162|  3.01M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.01M|    { \
  |  |  |  |  201|  3.01M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.01M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.01M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.01M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.01M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.01M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.01M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.01M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.01M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.01M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.01M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.01M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.01M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.01M|    }
  |  |  ------------------
  |  | 9163|  3.01M|        }
  |  | 9164|       |
  |  | 9165|  3.66k|        TARGET(LOAD_ATTR_METHOD_WITH_VALUES) {
  |  |  ------------------
  |  |  |  |  132|  3.66k|#  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|  3.66k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9171|  3.66k|            (void)this_instr;
  |  | 9172|  3.66k|            frame->instr_ptr = next_instr;
  |  | 9173|  3.66k|            next_instr += 10;
  |  | 9174|  3.66k|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_WITH_VALUES);
  |  |  ------------------
  |  |  |  |   71|  3.66k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9175|  3.66k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9176|  3.66k|            _PyStackRef owner;
  |  | 9177|  3.66k|            _PyStackRef attr;
  |  | 9178|  3.66k|            _PyStackRef self;
  |  | 9179|       |            /* Skip 1 cache entry */
  |  | 9180|       |            // _GUARD_TYPE_VERSION
  |  | 9181|  3.66k|            {
  |  | 9182|  3.66k|                owner = stack_pointer[-1];
  |  | 9183|  3.66k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9184|  3.66k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  3.66k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9185|  3.66k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9185:17): [True: 3.66k, False: 0]
  |  |  ------------------
  |  | 9186|  3.66k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|  3.66k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9186:21): [True: 33, False: 3.63k]
  |  |  ------------------
  |  | 9187|     33|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|     33|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9188|     33|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9188:21): [True: 33, False: 0]
  |  |  ------------------
  |  | 9189|     33|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|     33|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9190|      0|                }
  |  | 9191|  3.66k|            }
  |  | 9192|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 9193|  3.63k|            {
  |  | 9194|  3.63k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9195|  3.63k|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (9195:17): [True: 3.63k, False: 0]
  |  |  ------------------
  |  | 9196|  3.63k|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (9196:17): [True: 3.63k, False: 0]
  |  |  ------------------
  |  | 9197|  3.63k|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  156|  3.63k|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (9197:21): [True: 0, False: 3.63k]
  |  |  ------------------
  |  | 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|  3.63k|            }
  |  | 9203|       |            /* Skip 2 cache entries */
  |  | 9204|       |            // _LOAD_ATTR_METHOD_WITH_VALUES
  |  | 9205|  3.63k|            {
  |  | 9206|  3.63k|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9207|  3.63k|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9207:17): [True: 3.63k, False: 0]
  |  |  ------------------
  |  | 9208|  3.63k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  3.63k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9209|  3.63k|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9209:17): [True: 3.63k, False: 0]
  |  |  ------------------
  |  | 9210|  3.63k|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9210:17): [True: 3.63k, False: 0]
  |  |  ------------------
  |  | 9211|  3.63k|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|  3.63k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9212|  3.63k|                self = owner;
  |  | 9213|  3.63k|            }
  |  | 9214|      0|            stack_pointer[-1] = attr;
  |  | 9215|  3.63k|            stack_pointer[0] = self;
  |  | 9216|  3.63k|            stack_pointer += 1;
  |  | 9217|  3.63k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.63k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9218|  3.63k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.63k|    { \
  |  |  |  |  201|  3.63k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.63k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.63k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.63k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.63k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.63k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.63k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.63k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.63k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.63k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.63k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.63k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.63k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.63k|    }
  |  |  ------------------
  |  | 9219|  3.63k|        }
  |  | 9220|       |
  |  | 9221|  2.75M|        TARGET(LOAD_ATTR_MODULE) {
  |  |  ------------------
  |  |  |  |  132|  2.75M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9222|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9223|       |            int opcode = LOAD_ATTR_MODULE;
  |  | 9224|       |            (void)(opcode);
  |  | 9225|       |            #endif
  |  | 9226|  2.75M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9227|  2.75M|            (void)this_instr;
  |  | 9228|  2.75M|            frame->instr_ptr = next_instr;
  |  | 9229|  2.75M|            next_instr += 10;
  |  | 9230|  2.75M|            INSTRUCTION_STATS(LOAD_ATTR_MODULE);
  |  |  ------------------
  |  |  |  |   71|  2.75M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9231|  2.75M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9232|  2.75M|            _PyStackRef owner;
  |  | 9233|  2.75M|            _PyStackRef attr;
  |  | 9234|  2.75M|            _PyStackRef o;
  |  | 9235|  2.75M|            _PyStackRef value;
  |  | 9236|  2.75M|            _PyStackRef *null;
  |  | 9237|       |            /* Skip 1 cache entry */
  |  | 9238|       |            // _LOAD_ATTR_MODULE
  |  | 9239|  2.75M|            {
  |  | 9240|  2.75M|                owner = stack_pointer[-1];
  |  | 9241|  2.75M|                uint32_t dict_version = read_u32(&this_instr[2].cache);
  |  | 9242|  2.75M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9243|  2.75M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9244|  2.75M|                if (!PyModule_CheckExact(owner_o)) {
  |  |  ------------------
  |  |  |  |   13|  2.75M|#define PyModule_CheckExact(op) Py_IS_TYPE((op), &PyModule_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.75M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.75M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.75M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9244:21): [True: 229, False: 2.75M]
  |  |  ------------------
  |  | 9245|    229|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    229|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9246|    229|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9246:21): [True: 229, False: 0]
  |  |  ------------------
  |  | 9247|    229|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    229|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9248|      0|                }
  |  | 9249|  2.75M|                PyDictObject *dict = (PyDictObject *)((PyModuleObject *)owner_o)->md_dict;
  |  | 9250|  2.75M|                assert(dict != NULL);
  |  |  ------------------
  |  |  |  Branch (9250:17): [True: 2.75M, False: 0]
  |  |  ------------------
  |  | 9251|  2.75M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  152|  2.75M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9252|  2.75M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != dict_version) {
  |  |  ------------------
  |  |  |  |  161|  2.75M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9252:21): [True: 2.17k, False: 2.74M]
  |  |  ------------------
  |  | 9253|  2.17k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|  2.17k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9254|  2.17k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9254:21): [True: 2.17k, False: 0]
  |  |  ------------------
  |  | 9255|  2.17k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  2.17k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9256|      0|                }
  |  | 9257|  2.75M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (9257:17): [True: 2.74M, False: 0]
  |  |  ------------------
  |  | 9258|  2.74M|                assert(index < FT_ATOMIC_LOAD_SSIZE_RELAXED(keys->dk_nentries));
  |  |  ------------------
  |  |  |  Branch (9258:17): [True: 2.74M, False: 0]
  |  |  ------------------
  |  | 9259|  2.74M|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(keys) + index;
  |  | 9260|  2.74M|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR_CONSUME(ep->me_value);
  |  |  ------------------
  |  |  |  |  153|  2.74M|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  | 9261|  2.74M|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9261:21): [True: 0, False: 2.74M]
  |  |  ------------------
  |  | 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|  2.74M|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|  2.74M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9277|  2.74M|                #endif
  |  | 9278|  2.74M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  2.74M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9279|  2.74M|                o = owner;
  |  | 9280|  2.74M|            }
  |  | 9281|       |            // _POP_TOP
  |  | 9282|      0|            {
  |  | 9283|  2.74M|                value = o;
  |  | 9284|  2.74M|                stack_pointer[-1] = attr;
  |  | 9285|  2.74M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9286|  2.74M|                _PyFrame_StackPointerValidate(frame);
  |  | 9287|  2.74M|                PyStackRef_XCLOSE(value);
  |  | 9288|  2.74M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9289|  2.74M|            }
  |  | 9290|       |            /* Skip 5 cache entries */
  |  | 9291|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9292|  2.74M|            {
  |  | 9293|  2.74M|                null = &stack_pointer[0];
  |  | 9294|  2.74M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9294:21): [True: 217k, False: 2.53M]
  |  |  ------------------
  |  | 9295|   217k|                    null[0] = PyStackRef_NULL;
  |  | 9296|   217k|                }
  |  | 9297|  2.74M|            }
  |  | 9298|  2.74M|            stack_pointer += (oparg & 1);
  |  | 9299|  2.74M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.74M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9300|  2.74M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.74M|    { \
  |  |  |  |  201|  2.74M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.74M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.74M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.74M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.74M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.74M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.74M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.74M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.74M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.74M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.74M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.74M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.74M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.74M|    }
  |  |  ------------------
  |  | 9301|  2.74M|        }
  |  | 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|     28|        TARGET(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES) {
  |  |  ------------------
  |  |  |  |  132|     28|#  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|     28|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9357|     28|            (void)this_instr;
  |  | 9358|     28|            frame->instr_ptr = next_instr;
  |  | 9359|     28|            next_instr += 10;
  |  | 9360|     28|            INSTRUCTION_STATS(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  |  |  ------------------
  |  |  |  |   71|     28|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9361|     28|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9362|     28|            _PyStackRef owner;
  |  | 9363|     28|            _PyStackRef attr;
  |  | 9364|       |            /* Skip 1 cache entry */
  |  | 9365|       |            // _GUARD_TYPE_VERSION
  |  | 9366|     28|            {
  |  | 9367|     28|                owner = stack_pointer[-1];
  |  | 9368|     28|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9369|     28|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|     28|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9370|     28|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9370:17): [True: 28, False: 0]
  |  |  ------------------
  |  | 9371|     28|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|     28|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9371:21): [True: 0, False: 28]
  |  |  ------------------
  |  | 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|     28|            }
  |  | 9377|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 9378|     28|            {
  |  | 9379|     28|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9380|     28|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (9380:17): [True: 28, False: 0]
  |  |  ------------------
  |  | 9381|     28|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (9381:17): [True: 28, False: 0]
  |  |  ------------------
  |  | 9382|     28|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  156|     28|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (9382:21): [True: 0, False: 28]
  |  |  ------------------
  |  | 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|     28|            }
  |  | 9388|       |            /* Skip 2 cache entries */
  |  | 9389|       |            // _LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES
  |  | 9390|     28|            {
  |  | 9391|     28|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9392|     28|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (9392:17): [True: 28, False: 0]
  |  |  ------------------
  |  | 9393|     28|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     28|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9394|     28|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9394:17): [True: 28, False: 0]
  |  |  ------------------
  |  | 9395|     28|                stack_pointer += -1;
  |  | 9396|     28|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     28|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9397|     28|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9398|     28|                _PyFrame_StackPointerValidate(frame);
  |  | 9399|     28|                PyStackRef_CLOSE(owner);
  |  | 9400|     28|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9401|     28|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     28|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9402|     28|            }
  |  | 9403|      0|            stack_pointer[0] = attr;
  |  | 9404|     28|            stack_pointer += 1;
  |  | 9405|     28|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     28|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9406|     28|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     28|    { \
  |  |  |  |  201|     28|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     28|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     28|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     28|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     28|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     28|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     28|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     28|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 28]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     28|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     28|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     28|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     28|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     28|    }
  |  |  ------------------
  |  | 9407|     28|        }
  |  | 9408|       |
  |  | 9409|    410|        TARGET(LOAD_ATTR_PROPERTY) {
  |  |  ------------------
  |  |  |  |  132|    410|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9410|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9411|       |            int opcode = LOAD_ATTR_PROPERTY;
  |  | 9412|       |            (void)(opcode);
  |  | 9413|       |            #endif
  |  | 9414|    410|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9415|    410|            (void)this_instr;
  |  | 9416|    410|            frame->instr_ptr = next_instr;
  |  | 9417|    410|            next_instr += 10;
  |  | 9418|    410|            INSTRUCTION_STATS(LOAD_ATTR_PROPERTY);
  |  |  ------------------
  |  |  |  |   71|    410|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9419|    410|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9420|    410|            _PyStackRef owner;
  |  | 9421|    410|            _PyStackRef new_frame;
  |  | 9422|       |            /* Skip 1 cache entry */
  |  | 9423|       |            // _GUARD_TYPE_VERSION
  |  | 9424|    410|            {
  |  | 9425|    410|                owner = stack_pointer[-1];
  |  | 9426|    410|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9427|    410|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|    410|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    410|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    410|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9428|    410|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9428:17): [True: 410, False: 0]
  |  |  ------------------
  |  | 9429|    410|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    410|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9429:21): [True: 156, False: 254]
  |  |  ------------------
  |  | 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|    410|            }
  |  | 9435|       |            // _CHECK_PEP_523
  |  | 9436|    254|            {
  |  | 9437|    254|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|    254|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 254]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|    254|            }
  |  | 9443|       |            // _LOAD_ATTR_PROPERTY_FRAME
  |  | 9444|    254|            {
  |  | 9445|    254|                uint32_t func_version = read_u32(&this_instr[4].cache);
  |  | 9446|    254|                PyObject *fget = read_obj(&this_instr[6].cache);
  |  | 9447|    254|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (9447:17): [True: 254, False: 0]
  |  |  ------------------
  |  | 9448|    254|                assert(Py_IS_TYPE(fget, &PyFunction_Type));
  |  |  ------------------
  |  |  |  Branch (9448:17): [True: 254, False: 0]
  |  |  ------------------
  |  | 9449|    254|                PyFunctionObject *f = (PyFunctionObject *)fget;
  |  | 9450|    254|                if (f->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (9450:21): [True: 0, False: 254]
  |  |  ------------------
  |  | 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|    254|                PyCodeObject *code = (PyCodeObject *)f->func_code;
  |  | 9456|    254|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (9456:21): [True: 0, False: 254]
  |  |  ------------------
  |  | 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|    254|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    254|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9462|    254|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, PyStackRef_FromPyObjectNew(fget), 1, frame);
  |  |  ------------------
  |  |  |  |  611|    254|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9463|    254|                pushed_frame->localsplus[0] = owner;
  |  | 9464|    254|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 9465|    254|            }
  |  | 9466|       |            // _SAVE_RETURN_OFFSET
  |  | 9467|      0|            {
  |  | 9468|    254|                #if TIER_ONE
  |  | 9469|    254|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 9470|    254|                #endif
  |  | 9471|       |                #if TIER_TWO
  |  | 9472|       |                frame->return_offset = oparg;
  |  | 9473|       |                #endif
  |  | 9474|    254|            }
  |  | 9475|       |            // _PUSH_FRAME
  |  | 9476|    254|            {
  |  | 9477|    254|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (9477:17): [True: 254, False: 0]
  |  |  ------------------
  |  | 9478|    254|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 9479|    254|                stack_pointer += -1;
  |  | 9480|    254|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    254|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9481|    254|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9482|    254|                _PyFrame_StackPointerValidate(frame);
  |  | 9483|    254|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (9483:17): [True: 254, False: 0]
  |  |  |  Branch (9483:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9484|    254|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|    254|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 9485|    254|                frame = tstate->current_frame = temp;
  |  | 9486|    254|                tstate->py_recursion_remaining--;
  |  | 9487|    254|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9488|    254|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9489|    254|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|    254|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    254|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    254|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 254]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9490|       |                #ifdef Py_DEBUG
  |  | 9491|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 9492|       |                #endif
  |  | 9493|    254|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|    254|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 9494|    254|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    254|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 9495|    254|            }
  |  | 9496|    254|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    254|    { \
  |  |  |  |  201|    254|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    254|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    254|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    254|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    254|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    254|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    254|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    254|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 254]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    254|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    254|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    254|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    254|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    254|    }
  |  |  ------------------
  |  | 9497|    254|        }
  |  | 9498|       |
  |  | 9499|  5.23k|        TARGET(LOAD_ATTR_SLOT) {
  |  |  ------------------
  |  |  |  |  132|  5.23k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9500|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9501|       |            int opcode = LOAD_ATTR_SLOT;
  |  | 9502|       |            (void)(opcode);
  |  | 9503|       |            #endif
  |  | 9504|  5.23k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9505|  5.23k|            (void)this_instr;
  |  | 9506|  5.23k|            frame->instr_ptr = next_instr;
  |  | 9507|  5.23k|            next_instr += 10;
  |  | 9508|  5.23k|            INSTRUCTION_STATS(LOAD_ATTR_SLOT);
  |  |  ------------------
  |  |  |  |   71|  5.23k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9509|  5.23k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9510|  5.23k|            _PyStackRef owner;
  |  | 9511|  5.23k|            _PyStackRef attr;
  |  | 9512|  5.23k|            _PyStackRef o;
  |  | 9513|  5.23k|            _PyStackRef value;
  |  | 9514|  5.23k|            _PyStackRef *null;
  |  | 9515|       |            /* Skip 1 cache entry */
  |  | 9516|       |            // _GUARD_TYPE_VERSION
  |  | 9517|  5.23k|            {
  |  | 9518|  5.23k|                owner = stack_pointer[-1];
  |  | 9519|  5.23k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9520|  5.23k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  5.23k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9521|  5.23k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9521:17): [True: 5.23k, False: 0]
  |  |  ------------------
  |  | 9522|  5.23k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|  5.23k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9522:21): [True: 228, False: 5.01k]
  |  |  ------------------
  |  | 9523|    228|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    228|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9524|    228|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9524:21): [True: 228, False: 0]
  |  |  ------------------
  |  | 9525|    228|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    228|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9526|      0|                }
  |  | 9527|  5.23k|            }
  |  | 9528|       |            // _LOAD_ATTR_SLOT
  |  | 9529|  5.01k|            {
  |  | 9530|  5.01k|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9531|  5.01k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9532|  5.01k|                PyObject **addr = (PyObject **)((char *)owner_o + index);
  |  | 9533|  5.01k|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR(*addr);
  |  |  ------------------
  |  |  |  |  147|  5.01k|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9534|  5.01k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9534:21): [True: 0, False: 5.01k]
  |  |  ------------------
  |  | 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.01k|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|  5.01k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9548|  5.01k|                #endif
  |  | 9549|  5.01k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  5.01k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9550|  5.01k|                o = owner;
  |  | 9551|  5.01k|            }
  |  | 9552|       |            // _POP_TOP
  |  | 9553|      0|            {
  |  | 9554|  5.01k|                value = o;
  |  | 9555|  5.01k|                stack_pointer[-1] = attr;
  |  | 9556|  5.01k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9557|  5.01k|                _PyFrame_StackPointerValidate(frame);
  |  | 9558|  5.01k|                PyStackRef_XCLOSE(value);
  |  | 9559|  5.01k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9560|  5.01k|            }
  |  | 9561|       |            /* Skip 5 cache entries */
  |  | 9562|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9563|  5.01k|            {
  |  | 9564|  5.01k|                null = &stack_pointer[0];
  |  | 9565|  5.01k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9565:21): [True: 7, False: 5.00k]
  |  |  ------------------
  |  | 9566|      7|                    null[0] = PyStackRef_NULL;
  |  | 9567|      7|                }
  |  | 9568|  5.01k|            }
  |  | 9569|  5.01k|            stack_pointer += (oparg & 1);
  |  | 9570|  5.01k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  5.01k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9571|  5.01k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.01k|    { \
  |  |  |  |  201|  5.01k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.01k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.01k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.01k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  5.01k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.01k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.01k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.01k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.01k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.01k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.01k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.01k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.01k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.01k|    }
  |  |  ------------------
  |  | 9572|  5.01k|        }
  |  | 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|    689|        TARGET(LOAD_BUILD_CLASS) {
  |  |  ------------------
  |  |  |  |  132|    689|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9693|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9694|       |            int opcode = LOAD_BUILD_CLASS;
  |  | 9695|       |            (void)(opcode);
  |  | 9696|       |            #endif
  |  | 9697|    689|            frame->instr_ptr = next_instr;
  |  | 9698|    689|            next_instr += 1;
  |  | 9699|    689|            INSTRUCTION_STATS(LOAD_BUILD_CLASS);
  |  |  ------------------
  |  |  |  |   71|    689|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9700|    689|            _PyStackRef bc;
  |  | 9701|    689|            int err;
  |  | 9702|    689|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9703|    689|            _PyFrame_StackPointerValidate(frame);
  |  | 9704|    689|            PyObject *bc_o = _PyMapping_GetOptionalItem2(BUILTINS(), &_Py_ID(__build_class__), &err);
  |  |  ------------------
  |  |  |  |  327|    689|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                           PyObject *bc_o = _PyMapping_GetOptionalItem2(BUILTINS(), &_Py_ID(__build_class__), &err);
  |  |  ------------------
  |  |  |  |  951|    689|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    689|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    689|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9705|    689|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9706|    689|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9706:17): [True: 0, False: 689]
  |  |  ------------------
  |  | 9707|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9708|      0|            }
  |  | 9709|    689|            if (bc_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9709:17): [True: 0, False: 689]
  |  |  ------------------
  |  | 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|    689|            bc = PyStackRef_FromPyObjectSteal(bc_o);
  |  | 9718|    689|            stack_pointer[0] = bc;
  |  | 9719|    689|            stack_pointer += 1;
  |  | 9720|    689|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    689|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9721|    689|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    689|    { \
  |  |  |  |  201|    689|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    689|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    689|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    689|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    689|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    689|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    689|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    689|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 689]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    689|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    689|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    689|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    689|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    689|    }
  |  |  ------------------
  |  | 9722|    689|        }
  |  | 9723|       |
  |  | 9724|  1.94M|        TARGET(LOAD_COMMON_CONSTANT) {
  |  |  ------------------
  |  |  |  |  132|  1.94M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9725|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9726|       |            int opcode = LOAD_COMMON_CONSTANT;
  |  | 9727|       |            (void)(opcode);
  |  | 9728|       |            #endif
  |  | 9729|  1.94M|            frame->instr_ptr = next_instr;
  |  | 9730|  1.94M|            next_instr += 1;
  |  | 9731|  1.94M|            INSTRUCTION_STATS(LOAD_COMMON_CONSTANT);
  |  |  ------------------
  |  |  |  |   71|  1.94M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9732|  1.94M|            _PyStackRef value;
  |  | 9733|  1.94M|            assert(oparg < NUM_COMMON_CONSTANTS);
  |  |  ------------------
  |  |  |  Branch (9733:13): [True: 1.94M, False: 0]
  |  |  ------------------
  |  | 9734|  1.94M|            value = PyStackRef_DupImmortal(tstate->interp->common_consts[oparg]);
  |  | 9735|  1.94M|            stack_pointer[0] = value;
  |  | 9736|  1.94M|            stack_pointer += 1;
  |  | 9737|  1.94M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.94M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9738|  1.94M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.94M|    { \
  |  |  |  |  201|  1.94M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.94M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.94M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.94M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.94M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.94M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.94M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.94M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.94M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.94M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.94M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.94M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.94M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.94M|    }
  |  |  ------------------
  |  | 9739|  1.94M|        }
  |  | 9740|       |
  |  | 9741|  2.97M|        TARGET(LOAD_CONST) {
  |  |  ------------------
  |  |  |  |  132|  2.97M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9742|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9743|       |            int opcode = LOAD_CONST;
  |  | 9744|       |            (void)(opcode);
  |  | 9745|       |            #endif
  |  | 9746|  2.97M|            frame->instr_ptr = next_instr;
  |  | 9747|  2.97M|            next_instr += 1;
  |  | 9748|  2.97M|            INSTRUCTION_STATS(LOAD_CONST);
  |  |  ------------------
  |  |  |  |   71|  2.97M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9749|  2.97M|            _PyStackRef value;
  |  | 9750|  2.97M|            PyObject *obj = GETITEM(FRAME_CO_CONSTS, oparg);
  |  |  ------------------
  |  |  |  |  236|  2.97M|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  2.97M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  2.97M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9750:29): [True: 2.97M, False: 0]
  |  |  ------------------
  |  | 9751|      0|            value = PyStackRef_FromPyObjectBorrow(obj);
  |  | 9752|  2.97M|            stack_pointer[0] = value;
  |  | 9753|  2.97M|            stack_pointer += 1;
  |  | 9754|  2.97M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.97M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9755|  2.97M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.97M|    { \
  |  |  |  |  201|  2.97M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.97M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.97M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.97M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.97M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.97M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.97M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.97M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.97M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.97M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.97M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.97M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.97M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.97M|    }
  |  |  ------------------
  |  | 9756|  2.97M|        }
  |  | 9757|       |
  |  | 9758|   195k|        TARGET(LOAD_DEREF) {
  |  |  ------------------
  |  |  |  |  132|   195k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9759|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9760|       |            int opcode = LOAD_DEREF;
  |  | 9761|       |            (void)(opcode);
  |  | 9762|       |            #endif
  |  | 9763|   195k|            frame->instr_ptr = next_instr;
  |  | 9764|   195k|            next_instr += 1;
  |  | 9765|   195k|            INSTRUCTION_STATS(LOAD_DEREF);
  |  |  ------------------
  |  |  |  |   71|   195k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9766|   195k|            _PyStackRef value;
  |  | 9767|   195k|            PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|   195k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9768|   195k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9769|   195k|            _PyFrame_StackPointerValidate(frame);
  |  | 9770|   195k|            value = _PyCell_GetStackRef(cell);
  |  | 9771|   195k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9772|   195k|            if (PyStackRef_IsNull(value)) {
  |  |  ------------------
  |  |  |  |  482|   195k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   195k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   195k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 195k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|   195k|            stack_pointer[0] = value;
  |  | 9783|   195k|            stack_pointer += 1;
  |  | 9784|   195k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   195k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9785|   195k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   195k|    { \
  |  |  |  |  201|   195k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   195k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   195k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   195k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   195k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   195k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   195k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   195k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 195k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   195k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   195k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   195k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   195k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   195k|    }
  |  |  ------------------
  |  | 9786|   195k|        }
  |  | 9787|       |
  |  | 9788|  1.44M|        TARGET(LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|  1.44M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9789|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9790|       |            int opcode = LOAD_FAST;
  |  | 9791|       |            (void)(opcode);
  |  | 9792|       |            #endif
  |  | 9793|  1.44M|            frame->instr_ptr = next_instr;
  |  | 9794|  1.44M|            next_instr += 1;
  |  | 9795|  1.44M|            INSTRUCTION_STATS(LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|  1.44M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9796|  1.44M|            _PyStackRef value;
  |  | 9797|  1.44M|            assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
  |  |  ------------------
  |  |  |  Branch (9797:13): [True: 1.44M, False: 0]
  |  |  ------------------
  |  | 9798|  1.44M|            value = PyStackRef_DUP(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  1.44M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9799|  1.44M|            stack_pointer[0] = value;
  |  | 9800|  1.44M|            stack_pointer += 1;
  |  | 9801|  1.44M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.44M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9802|  1.44M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.44M|    { \
  |  |  |  |  201|  1.44M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.44M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.44M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.44M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.44M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.44M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.44M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.44M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.44M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.44M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.44M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.44M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.44M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.44M|    }
  |  |  ------------------
  |  | 9803|  1.44M|        }
  |  | 9804|       |
  |  | 9805|   212k|        TARGET(LOAD_FAST_AND_CLEAR) {
  |  |  ------------------
  |  |  |  |  132|   212k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9806|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9807|       |            int opcode = LOAD_FAST_AND_CLEAR;
  |  | 9808|       |            (void)(opcode);
  |  | 9809|       |            #endif
  |  | 9810|   212k|            frame->instr_ptr = next_instr;
  |  | 9811|   212k|            next_instr += 1;
  |  | 9812|   212k|            INSTRUCTION_STATS(LOAD_FAST_AND_CLEAR);
  |  |  ------------------
  |  |  |  |   71|   212k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9813|   212k|            _PyStackRef value;
  |  | 9814|   212k|            value = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|   212k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9815|   212k|            GETLOCAL(oparg) = PyStackRef_NULL;
  |  |  ------------------
  |  |  |  |  285|   212k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9816|   212k|            stack_pointer[0] = value;
  |  | 9817|   212k|            stack_pointer += 1;
  |  | 9818|   212k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   212k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9819|   212k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   212k|    { \
  |  |  |  |  201|   212k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   212k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   212k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   212k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   212k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   212k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   212k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   212k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 212k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   212k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   212k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   212k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   212k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   212k|    }
  |  |  ------------------
  |  | 9820|   212k|        }
  |  | 9821|       |
  |  | 9822|  33.9M|        TARGET(LOAD_FAST_BORROW) {
  |  |  ------------------
  |  |  |  |  132|  33.9M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9823|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9824|       |            int opcode = LOAD_FAST_BORROW;
  |  | 9825|       |            (void)(opcode);
  |  | 9826|       |            #endif
  |  | 9827|  33.9M|            frame->instr_ptr = next_instr;
  |  | 9828|  33.9M|            next_instr += 1;
  |  | 9829|  33.9M|            INSTRUCTION_STATS(LOAD_FAST_BORROW);
  |  |  ------------------
  |  |  |  |   71|  33.9M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9830|  33.9M|            _PyStackRef value;
  |  | 9831|  33.9M|            assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
  |  |  ------------------
  |  |  |  Branch (9831:13): [True: 33.9M, False: 0]
  |  |  ------------------
  |  | 9832|  33.9M|            value = PyStackRef_Borrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  33.9M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9833|  33.9M|            stack_pointer[0] = value;
  |  | 9834|  33.9M|            stack_pointer += 1;
  |  | 9835|  33.9M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  33.9M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9836|  33.9M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  33.9M|    { \
  |  |  |  |  201|  33.9M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  33.9M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  33.9M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  33.9M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  33.9M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  33.9M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  33.9M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  33.9M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 33.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  33.9M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  33.9M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  33.9M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  33.9M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  33.9M|    }
  |  |  ------------------
  |  | 9837|  33.9M|        }
  |  | 9838|       |
  |  | 9839|  16.4M|        TARGET(LOAD_FAST_BORROW_LOAD_FAST_BORROW) {
  |  |  ------------------
  |  |  |  |  132|  16.4M|#  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|  16.4M|            frame->instr_ptr = next_instr;
  |  | 9845|  16.4M|            next_instr += 1;
  |  | 9846|  16.4M|            INSTRUCTION_STATS(LOAD_FAST_BORROW_LOAD_FAST_BORROW);
  |  |  ------------------
  |  |  |  |   71|  16.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9847|  16.4M|            _PyStackRef value1;
  |  | 9848|  16.4M|            _PyStackRef value2;
  |  | 9849|  16.4M|            uint32_t oparg1 = oparg >> 4;
  |  | 9850|  16.4M|            uint32_t oparg2 = oparg & 15;
  |  | 9851|  16.4M|            value1 = PyStackRef_Borrow(GETLOCAL(oparg1));
  |  |  ------------------
  |  |  |  |  285|  16.4M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9852|  16.4M|            value2 = PyStackRef_Borrow(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|  16.4M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9853|  16.4M|            stack_pointer[0] = value1;
  |  | 9854|  16.4M|            stack_pointer[1] = value2;
  |  | 9855|  16.4M|            stack_pointer += 2;
  |  | 9856|  16.4M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  16.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9857|  16.4M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  16.4M|    { \
  |  |  |  |  201|  16.4M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  16.4M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  16.4M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  16.4M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  16.4M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  16.4M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  16.4M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  16.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 16.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  16.4M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  16.4M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  16.4M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  16.4M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  16.4M|    }
  |  |  ------------------
  |  | 9858|  16.4M|        }
  |  | 9859|       |
  |  | 9860|  16.4M|        TARGET(LOAD_FAST_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  1.37k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9861|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9862|       |            int opcode = LOAD_FAST_CHECK;
  |  | 9863|       |            (void)(opcode);
  |  | 9864|       |            #endif
  |  | 9865|  1.37k|            frame->instr_ptr = next_instr;
  |  | 9866|  1.37k|            next_instr += 1;
  |  | 9867|  1.37k|            INSTRUCTION_STATS(LOAD_FAST_CHECK);
  |  |  ------------------
  |  |  |  |   71|  1.37k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9868|  1.37k|            _PyStackRef value;
  |  | 9869|  1.37k|            _PyStackRef value_s = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  1.37k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9870|  1.37k|            if (PyStackRef_IsNull(value_s)) {
  |  |  ------------------
  |  |  |  |  482|  1.37k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.37k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.37k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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.37k|            value = PyStackRef_DUP(value_s);
  |  | 9881|  1.37k|            stack_pointer[0] = value;
  |  | 9882|  1.37k|            stack_pointer += 1;
  |  | 9883|  1.37k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.37k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9884|  1.37k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.37k|    { \
  |  |  |  |  201|  1.37k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.37k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.37k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.37k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.37k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.37k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.37k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.37k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.37k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.37k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.37k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.37k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.37k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.37k|    }
  |  |  ------------------
  |  | 9885|  1.37k|        }
  |  | 9886|       |
  |  | 9887|  2.14k|        TARGET(LOAD_FAST_LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|  2.14k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9888|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9889|       |            int opcode = LOAD_FAST_LOAD_FAST;
  |  | 9890|       |            (void)(opcode);
  |  | 9891|       |            #endif
  |  | 9892|  2.14k|            frame->instr_ptr = next_instr;
  |  | 9893|  2.14k|            next_instr += 1;
  |  | 9894|  2.14k|            INSTRUCTION_STATS(LOAD_FAST_LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|  2.14k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9895|  2.14k|            _PyStackRef value1;
  |  | 9896|  2.14k|            _PyStackRef value2;
  |  | 9897|  2.14k|            uint32_t oparg1 = oparg >> 4;
  |  | 9898|  2.14k|            uint32_t oparg2 = oparg & 15;
  |  | 9899|  2.14k|            value1 = PyStackRef_DUP(GETLOCAL(oparg1));
  |  |  ------------------
  |  |  |  |  285|  2.14k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9900|  2.14k|            value2 = PyStackRef_DUP(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|  2.14k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9901|  2.14k|            stack_pointer[0] = value1;
  |  | 9902|  2.14k|            stack_pointer[1] = value2;
  |  | 9903|  2.14k|            stack_pointer += 2;
  |  | 9904|  2.14k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.14k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9905|  2.14k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.14k|    { \
  |  |  |  |  201|  2.14k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.14k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.14k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.14k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.14k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.14k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.14k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.14k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.14k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.14k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.14k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.14k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.14k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.14k|    }
  |  |  ------------------
  |  | 9906|  2.14k|        }
  |  | 9907|       |
  |  | 9908|  2.14k|        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.94k|        TARGET(LOAD_GLOBAL) {
  |  |  ------------------
  |  |  |  |  132|  3.94k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10021|       |            #if _Py_TAIL_CALL_INTERP
  |  |10022|       |            int opcode = LOAD_GLOBAL;
  |  |10023|       |            (void)(opcode);
  |  |10024|       |            #endif
  |  |10025|  3.94k|            frame->instr_ptr = next_instr;
  |  |10026|  3.94k|            next_instr += 5;
  |  |10027|  3.94k|            INSTRUCTION_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |   71|  3.94k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10028|  14.7k|            PREDICTED_LOAD_GLOBAL:;
  |  |10029|  14.7k|            _Py_CODEUNIT* const this_instr = next_instr - 5;
  |  |10030|  14.7k|            (void)this_instr;
  |  |10031|  14.7k|            _PyStackRef *res;
  |  |10032|  14.7k|            _PyStackRef *null;
  |  |10033|       |            // _SPECIALIZE_LOAD_GLOBAL
  |  |10034|  14.7k|            {
  |  |10035|  14.7k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |10036|  14.7k|                (void)counter;
  |  |10037|  14.7k|                #if ENABLE_SPECIALIZATION
  |  |10038|  14.7k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  14.7k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 1.78k, False: 12.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10039|  1.78k|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|  1.78k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  1.78k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  1.78k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10039:38): [True: 1.78k, False: 0]
  |  |  ------------------
  |  |10040|      0|                    next_instr = this_instr;
  |  |10041|  1.78k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10042|  1.78k|                    _PyFrame_StackPointerValidate(frame);
  |  |10043|  1.78k|                    _Py_Specialize_LoadGlobal(GLOBALS(), BUILTINS(), next_instr, name);
  |  |  ------------------
  |  |  |  |  326|  1.78k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                                   _Py_Specialize_LoadGlobal(GLOBALS(), BUILTINS(), next_instr, name);
  |  |  ------------------
  |  |  |  |  327|  1.78k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10044|  1.78k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10045|  1.78k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.78k|    { \
  |  |  |  |  217|  1.78k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.78k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.78k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.78k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.78k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.78k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.78k|    }
  |  |  ------------------
  |  |10046|  1.78k|                }
  |  |10047|  14.7k|                OPCODE_DEFERRED_INC(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |   90|  14.7k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |10048|  14.7k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  14.7k|    do { \
  |  |  |  |  378|  14.7k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  14.7k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 14.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10049|  14.7k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |10050|  14.7k|            }
  |  |10051|       |            /* Skip 1 cache entry */
  |  |10052|       |            /* Skip 1 cache entry */
  |  |10053|       |            /* Skip 1 cache entry */
  |  |10054|       |            // _LOAD_GLOBAL
  |  |10055|      0|            {
  |  |10056|  14.7k|                res = &stack_pointer[0];
  |  |10057|  14.7k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|  14.7k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  14.7k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  14.7k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  12.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10057:34): [True: 12.9k, False: 1.78k]
  |  |  ------------------
  |  |10058|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10059|  12.9k|                _PyFrame_StackPointerValidate(frame);
  |  |10060|  12.9k|                _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, res);
  |  |  ------------------
  |  |  |  |  326|  12.9k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                               _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, res);
  |  |  ------------------
  |  |  |  |  327|  12.9k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10061|  12.9k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10062|  12.9k|                if (PyStackRef_IsNull(*res)) {
  |  |  ------------------
  |  |  |  |  482|  12.9k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  12.9k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  12.9k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 1, False: 12.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10063|      1|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      1|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10064|      0|                }
  |  |10065|  12.9k|            }
  |  |10066|       |            // _PUSH_NULL_CONDITIONAL
  |  |10067|  12.9k|            {
  |  |10068|  12.9k|                null = &stack_pointer[1];
  |  |10069|  12.9k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10069:21): [True: 5.83k, False: 7.15k]
  |  |  ------------------
  |  |10070|  5.83k|                    null[0] = PyStackRef_NULL;
  |  |10071|  5.83k|                }
  |  |10072|  12.9k|            }
  |  |10073|  12.9k|            stack_pointer += 1 + (oparg & 1);
  |  |10074|  12.9k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  12.9k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10075|  12.9k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  12.9k|    { \
  |  |  |  |  201|  12.9k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  12.9k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  12.9k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  12.9k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  12.9k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  12.9k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  12.9k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  12.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 12.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  12.9k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  12.9k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  12.9k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  12.9k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  12.9k|    }
  |  |  ------------------
  |  |10076|  12.9k|        }
  |  |10077|       |
  |  |10078|  7.68M|        TARGET(LOAD_GLOBAL_BUILTIN) {
  |  |  ------------------
  |  |  |  |  132|  7.68M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10079|       |            #if _Py_TAIL_CALL_INTERP
  |  |10080|       |            int opcode = LOAD_GLOBAL_BUILTIN;
  |  |10081|       |            (void)(opcode);
  |  |10082|       |            #endif
  |  |10083|  7.68M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10084|  7.68M|            (void)this_instr;
  |  |10085|  7.68M|            frame->instr_ptr = next_instr;
  |  |10086|  7.68M|            next_instr += 5;
  |  |10087|  7.68M|            INSTRUCTION_STATS(LOAD_GLOBAL_BUILTIN);
  |  |  ------------------
  |  |  |  |   71|  7.68M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10088|  7.68M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_GLOBAL == 4, "incorrect cache size");
  |  |10089|  7.68M|            _PyStackRef res;
  |  |10090|  7.68M|            _PyStackRef *null;
  |  |10091|       |            /* Skip 1 cache entry */
  |  |10092|       |            // _GUARD_GLOBALS_VERSION
  |  |10093|  7.68M|            {
  |  |10094|  7.68M|                uint16_t version = read_u16(&this_instr[2].cache);
  |  |10095|  7.68M|                PyDictObject *dict = (PyDictObject *)GLOBALS();
  |  |  ------------------
  |  |  |  |  326|  7.68M|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10096|  7.68M|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  7.68M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  7.68M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  7.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  7.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10096:21): [True: 0, False: 7.68M]
  |  |  ------------------
  |  |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|  7.68M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  152|  7.68M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10102|  7.68M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  161|  7.68M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10102:21): [True: 3.83k, False: 7.68M]
  |  |  ------------------
  |  |10103|  3.83k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|  3.83k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10104|  3.83k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10104:21): [True: 3.83k, False: 0]
  |  |  ------------------
  |  |10105|  3.83k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  3.83k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10106|      0|                }
  |  |10107|  7.68M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10107:17): [True: 7.68M, False: 0]
  |  |  ------------------
  |  |10108|  7.68M|            }
  |  |10109|       |            // _LOAD_GLOBAL_BUILTINS
  |  |10110|  7.68M|            {
  |  |10111|  7.68M|                uint16_t version = read_u16(&this_instr[3].cache);
  |  |10112|  7.68M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |10113|  7.68M|                PyDictObject *dict = (PyDictObject *)BUILTINS();
  |  |  ------------------
  |  |  |  |  327|  7.68M|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10114|  7.68M|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  7.68M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  7.68M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  7.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  7.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10114:21): [True: 0, False: 7.68M]
  |  |  ------------------
  |  |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|  7.68M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  152|  7.68M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10120|  7.68M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  161|  7.68M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10120:21): [True: 2.12k, False: 7.68M]
  |  |  ------------------
  |  |10121|  2.12k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|  2.12k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10122|  2.12k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10122:21): [True: 2.12k, False: 0]
  |  |  ------------------
  |  |10123|  2.12k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  2.12k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10124|      0|                }
  |  |10125|  7.68M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10125:17): [True: 7.68M, False: 0]
  |  |  ------------------
  |  |10126|  7.68M|                PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  |  |10127|  7.68M|                PyObject *res_o = FT_ATOMIC_LOAD_PTR_CONSUME(entries[index].me_value);
  |  |  ------------------
  |  |  |  |  153|  7.68M|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  |10128|  7.68M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10128:21): [True: 0, False: 7.68M]
  |  |  ------------------
  |  |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|  7.68M|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  7.68M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10142|  7.68M|                #endif
  |  |10143|  7.68M|                STAT_INC(LOAD_GLOBAL, hit);
  |  |  ------------------
  |  |  |  |   73|  7.68M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10144|  7.68M|            }
  |  |10145|       |            // _PUSH_NULL_CONDITIONAL
  |  |10146|      0|            {
  |  |10147|  7.68M|                null = &stack_pointer[1];
  |  |10148|  7.68M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10148:21): [True: 7.31M, False: 370k]
  |  |  ------------------
  |  |10149|  7.31M|                    null[0] = PyStackRef_NULL;
  |  |10150|  7.31M|                }
  |  |10151|  7.68M|            }
  |  |10152|  7.68M|            stack_pointer[0] = res;
  |  |10153|  7.68M|            stack_pointer += 1 + (oparg & 1);
  |  |10154|  7.68M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  7.68M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10155|  7.68M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.68M|    { \
  |  |  |  |  201|  7.68M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  7.68M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  7.68M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  7.68M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  7.68M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  7.68M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  7.68M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  7.68M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7.68M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.68M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.68M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.68M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.68M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.68M|    }
  |  |  ------------------
  |  |10156|  7.68M|        }
  |  |10157|       |
  |  |10158|  8.76M|        TARGET(LOAD_GLOBAL_MODULE) {
  |  |  ------------------
  |  |  |  |  132|  8.76M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10159|       |            #if _Py_TAIL_CALL_INTERP
  |  |10160|       |            int opcode = LOAD_GLOBAL_MODULE;
  |  |10161|       |            (void)(opcode);
  |  |10162|       |            #endif
  |  |10163|  8.76M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10164|  8.76M|            (void)this_instr;
  |  |10165|  8.76M|            frame->instr_ptr = next_instr;
  |  |10166|  8.76M|            next_instr += 5;
  |  |10167|  8.76M|            INSTRUCTION_STATS(LOAD_GLOBAL_MODULE);
  |  |  ------------------
  |  |  |  |   71|  8.76M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10168|  8.76M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_GLOBAL == 4, "incorrect cache size");
  |  |10169|  8.76M|            _PyStackRef res;
  |  |10170|  8.76M|            _PyStackRef *null;
  |  |10171|       |            /* Skip 1 cache entry */
  |  |10172|       |            // _NOP
  |  |10173|  8.76M|            {
  |  |10174|  8.76M|            }
  |  |10175|       |            // _LOAD_GLOBAL_MODULE
  |  |10176|  8.76M|            {
  |  |10177|  8.76M|                uint16_t version = read_u16(&this_instr[2].cache);
  |  |10178|  8.76M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |10179|  8.76M|                PyDictObject *dict = (PyDictObject *)GLOBALS();
  |  |  ------------------
  |  |  |  |  326|  8.76M|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10180|  8.76M|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  8.76M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  8.76M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10180:21): [True: 0, False: 8.76M]
  |  |  ------------------
  |  |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|  8.76M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  152|  8.76M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10186|  8.76M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  161|  8.76M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10186:21): [True: 4.86k, False: 8.75M]
  |  |  ------------------
  |  |10187|  4.86k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|  4.86k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10188|  4.86k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10188:21): [True: 4.86k, False: 0]
  |  |  ------------------
  |  |10189|  4.86k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  4.86k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10190|      0|                }
  |  |10191|  8.76M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10191:17): [True: 8.75M, False: 0]
  |  |  ------------------
  |  |10192|  8.75M|                PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  |  |10193|  8.75M|                assert(index < DK_SIZE(keys));
  |  |  ------------------
  |  |  |  Branch (10193:17): [True: 8.75M, False: 0]
  |  |  ------------------
  |  |10194|  8.75M|                PyObject *res_o = FT_ATOMIC_LOAD_PTR_CONSUME(entries[index].me_value);
  |  |  ------------------
  |  |  |  |  153|  8.75M|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  |10195|  8.75M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10195:21): [True: 0, False: 8.75M]
  |  |  ------------------
  |  |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|  8.75M|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  8.75M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.75M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.75M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10209|  8.75M|                #endif
  |  |10210|  8.75M|                STAT_INC(LOAD_GLOBAL, hit);
  |  |  ------------------
  |  |  |  |   73|  8.75M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10211|  8.75M|            }
  |  |10212|       |            // _PUSH_NULL_CONDITIONAL
  |  |10213|      0|            {
  |  |10214|  8.75M|                null = &stack_pointer[1];
  |  |10215|  8.75M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10215:21): [True: 2.42M, False: 6.33M]
  |  |  ------------------
  |  |10216|  2.42M|                    null[0] = PyStackRef_NULL;
  |  |10217|  2.42M|                }
  |  |10218|  8.75M|            }
  |  |10219|  8.75M|            stack_pointer[0] = res;
  |  |10220|  8.75M|            stack_pointer += 1 + (oparg & 1);
  |  |10221|  8.75M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  8.75M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10222|  8.75M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  8.75M|    { \
  |  |  |  |  201|  8.75M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  8.75M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  8.75M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  8.75M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  8.75M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  8.75M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  8.75M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  8.75M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 8.75M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  8.75M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  8.75M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  8.75M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  8.75M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  8.75M|    }
  |  |  ------------------
  |  |10223|  8.75M|        }
  |  |10224|       |
  |  |10225|    483|        TARGET(LOAD_LOCALS) {
  |  |  ------------------
  |  |  |  |  132|    483|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10226|       |            #if _Py_TAIL_CALL_INTERP
  |  |10227|       |            int opcode = LOAD_LOCALS;
  |  |10228|       |            (void)(opcode);
  |  |10229|       |            #endif
  |  |10230|    483|            frame->instr_ptr = next_instr;
  |  |10231|    483|            next_instr += 1;
  |  |10232|    483|            INSTRUCTION_STATS(LOAD_LOCALS);
  |  |  ------------------
  |  |  |  |   71|    483|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10233|    483|            _PyStackRef locals;
  |  |10234|    483|            PyObject *l = LOCALS();
  |  |  ------------------
  |  |  |  |  328|    483|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |10235|    483|            if (l == NULL) {
  |  |  ------------------
  |  |  |  Branch (10235:17): [True: 0, False: 483]
  |  |  ------------------
  |  |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|    483|            locals = PyStackRef_FromPyObjectNew(l);
  |  |  ------------------
  |  |  |  |  611|    483|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    483|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    483|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10244|    483|            stack_pointer[0] = locals;
  |  |10245|    483|            stack_pointer += 1;
  |  |10246|    483|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    483|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10247|    483|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    483|    { \
  |  |  |  |  201|    483|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    483|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    483|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    483|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    483|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    483|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    483|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    483|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 483]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    483|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    483|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    483|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    483|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    483|    }
  |  |  ------------------
  |  |10248|    483|        }
  |  |10249|       |
  |  |10250|  5.33k|        TARGET(LOAD_NAME) {
  |  |  ------------------
  |  |  |  |  132|  5.33k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10251|       |            #if _Py_TAIL_CALL_INTERP
  |  |10252|       |            int opcode = LOAD_NAME;
  |  |10253|       |            (void)(opcode);
  |  |10254|       |            #endif
  |  |10255|  5.33k|            frame->instr_ptr = next_instr;
  |  |10256|  5.33k|            next_instr += 1;
  |  |10257|  5.33k|            INSTRUCTION_STATS(LOAD_NAME);
  |  |  ------------------
  |  |  |  |   71|  5.33k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10258|  5.33k|            _PyStackRef v;
  |  |10259|  5.33k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  5.33k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  5.33k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  5.33k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10259:30): [True: 5.33k, False: 0]
  |  |  ------------------
  |  |10260|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10261|  5.33k|            _PyFrame_StackPointerValidate(frame);
  |  |10262|  5.33k|            PyObject *v_o = _PyEval_LoadName(tstate, frame, name);
  |  |10263|  5.33k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10264|  5.33k|            if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10264:17): [True: 0, False: 5.33k]
  |  |  ------------------
  |  |10265|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10266|      0|            }
  |  |10267|  5.33k|            v = PyStackRef_FromPyObjectSteal(v_o);
  |  |10268|  5.33k|            stack_pointer[0] = v;
  |  |10269|  5.33k|            stack_pointer += 1;
  |  |10270|  5.33k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  5.33k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10271|  5.33k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.33k|    { \
  |  |  |  |  201|  5.33k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.33k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.33k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.33k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  5.33k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.33k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.33k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.33k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.33k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.33k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.33k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.33k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.33k|    }
  |  |  ------------------
  |  |10272|  5.33k|        }
  |  |10273|       |
  |  |10274|  14.0M|        TARGET(LOAD_SMALL_INT) {
  |  |  ------------------
  |  |  |  |  132|  14.0M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10275|       |            #if _Py_TAIL_CALL_INTERP
  |  |10276|       |            int opcode = LOAD_SMALL_INT;
  |  |10277|       |            (void)(opcode);
  |  |10278|       |            #endif
  |  |10279|  14.0M|            frame->instr_ptr = next_instr;
  |  |10280|  14.0M|            next_instr += 1;
  |  |10281|  14.0M|            INSTRUCTION_STATS(LOAD_SMALL_INT);
  |  |  ------------------
  |  |  |  |   71|  14.0M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10282|  14.0M|            _PyStackRef value;
  |  |10283|  14.0M|            assert(oparg < _PY_NSMALLPOSINTS);
  |  |  ------------------
  |  |  |  Branch (10283:13): [True: 14.0M, False: 0]
  |  |  ------------------
  |  |10284|  14.0M|            PyObject *obj = (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + oparg];
  |  |  ------------------
  |  |  |  |   59|  14.0M|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  14.0M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  14.0M|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           PyObject *obj = (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + oparg];
  |  |  ------------------
  |  |  |  |   98|  14.0M|#define _PY_NSMALLNEGINTS           5
  |  |  ------------------
  |  |10285|  14.0M|            value = PyStackRef_FromPyObjectBorrow(obj);
  |  |10286|  14.0M|            stack_pointer[0] = value;
  |  |10287|  14.0M|            stack_pointer += 1;
  |  |10288|  14.0M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  14.0M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10289|  14.0M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  14.0M|    { \
  |  |  |  |  201|  14.0M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  14.0M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  14.0M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  14.0M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  14.0M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  14.0M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  14.0M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  14.0M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 14.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  14.0M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  14.0M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  14.0M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  14.0M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  14.0M|    }
  |  |  ------------------
  |  |10290|  14.0M|        }
  |  |10291|       |
  |  |10292|  4.80k|        TARGET(LOAD_SPECIAL) {
  |  |  ------------------
  |  |  |  |  132|  4.80k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10293|       |            #if _Py_TAIL_CALL_INTERP
  |  |10294|       |            int opcode = LOAD_SPECIAL;
  |  |10295|       |            (void)(opcode);
  |  |10296|       |            #endif
  |  |10297|  4.80k|            frame->instr_ptr = next_instr;
  |  |10298|  4.80k|            next_instr += 1;
  |  |10299|  4.80k|            INSTRUCTION_STATS(LOAD_SPECIAL);
  |  |  ------------------
  |  |  |  |   71|  4.80k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10300|  4.80k|            _PyStackRef self;
  |  |10301|  4.80k|            _PyStackRef *method_and_self;
  |  |10302|       |            // _INSERT_NULL
  |  |10303|  4.80k|            {
  |  |10304|  4.80k|                self = stack_pointer[-1];
  |  |10305|  4.80k|                method_and_self = &stack_pointer[-1];
  |  |10306|  4.80k|                method_and_self[1] = self;
  |  |10307|  4.80k|                method_and_self[0] = PyStackRef_NULL;
  |  |10308|  4.80k|            }
  |  |10309|       |            // _LOAD_SPECIAL
  |  |10310|  4.80k|            {
  |  |10311|  4.80k|                method_and_self = &stack_pointer[-1];
  |  |10312|  4.80k|                PyObject *name = _Py_SpecialMethods[oparg].name;
  |  |10313|  4.80k|                stack_pointer += 1;
  |  |10314|  4.80k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  4.80k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10315|  4.80k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10316|  4.80k|                _PyFrame_StackPointerValidate(frame);
  |  |10317|  4.80k|                int err = _PyObject_LookupSpecialMethod(name, &method_and_self[0],
  |  |10318|  4.80k|                    &method_and_self[1]);
  |  |10319|  4.80k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10320|  4.80k|                if (err <= 0) {
  |  |  ------------------
  |  |  |  Branch (10320:21): [True: 0, False: 4.80k]
  |  |  ------------------
  |  |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|  4.80k|            }
  |  |10339|  4.80k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.80k|    { \
  |  |  |  |  201|  4.80k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.80k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.80k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.80k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  4.80k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.80k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.80k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.80k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.80k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.80k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.80k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.80k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.80k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.80k|    }
  |  |  ------------------
  |  |10340|  4.80k|        }
  |  |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|     81|        TARGET(LOAD_SUPER_ATTR_ATTR) {
  |  |  ------------------
  |  |  |  |  132|     81|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10507|       |            #if _Py_TAIL_CALL_INTERP
  |  |10508|       |            int opcode = LOAD_SUPER_ATTR_ATTR;
  |  |10509|       |            (void)(opcode);
  |  |10510|       |            #endif
  |  |10511|     81|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10512|     81|            (void)this_instr;
  |  |10513|     81|            frame->instr_ptr = next_instr;
  |  |10514|     81|            next_instr += 2;
  |  |10515|     81|            INSTRUCTION_STATS(LOAD_SUPER_ATTR_ATTR);
  |  |  ------------------
  |  |  |  |   71|     81|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10516|     81|            static_assert(INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR == 1, "incorrect cache size");
  |  |10517|     81|            _PyStackRef global_super_st;
  |  |10518|     81|            _PyStackRef class_st;
  |  |10519|     81|            _PyStackRef self_st;
  |  |10520|     81|            _PyStackRef attr_st;
  |  |10521|       |            /* Skip 1 cache entry */
  |  |10522|     81|            self_st = stack_pointer[-1];
  |  |10523|     81|            class_st = stack_pointer[-2];
  |  |10524|     81|            global_super_st = stack_pointer[-3];
  |  |10525|     81|            PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10526|     81|            PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10527|     81|            PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10528|     81|            assert(!(oparg & 1));
  |  |  ------------------
  |  |  |  Branch (10528:13): [True: 81, False: 0]
  |  |  ------------------
  |  |10529|     81|            if (global_super != (PyObject *)&PySuper_Type) {
  |  |  ------------------
  |  |  |  Branch (10529:17): [True: 0, False: 81]
  |  |  ------------------
  |  |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|     81|            if (!PyType_Check(class)) {
  |  |  ------------------
  |  |  |  |  766|     81|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10534:17): [True: 0, False: 81]
  |  |  ------------------
  |  |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|     81|            STAT_INC(LOAD_SUPER_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     81|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10540|     81|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|     81|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|     81|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|     81|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10540:30): [True: 81, False: 0]
  |  |  ------------------
  |  |10541|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10542|     81|            _PyFrame_StackPointerValidate(frame);
  |  |10543|     81|            PyObject *attr = _PySuper_Lookup((PyTypeObject *)class, self, name, NULL);
  |  |10544|     81|            _PyFrame_StackPointerInvalidate(frame);
  |  |10545|     81|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10545:13): [True: 81, False: 0]
  |  |  ------------------
  |  |10546|     81|            _PyFrame_StackPointerValidate(frame);
  |  |10547|     81|            _PyStackRef tmp = self_st;
  |  |10548|     81|            self_st = PyStackRef_NULL;
  |  |10549|     81|            stack_pointer[-1] = self_st;
  |  |10550|     81|            PyStackRef_CLOSE(tmp);
  |  |10551|     81|            _PyFrame_StackPointerInvalidate(frame);
  |  |10552|     81|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10552:13): [True: 81, False: 0]
  |  |  ------------------
  |  |10553|     81|            _PyFrame_StackPointerValidate(frame);
  |  |10554|     81|            tmp = class_st;
  |  |10555|     81|            class_st = PyStackRef_NULL;
  |  |10556|     81|            stack_pointer[-2] = class_st;
  |  |10557|     81|            PyStackRef_CLOSE(tmp);
  |  |10558|     81|            _PyFrame_StackPointerInvalidate(frame);
  |  |10559|     81|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10559:13): [True: 81, False: 0]
  |  |  ------------------
  |  |10560|     81|            _PyFrame_StackPointerValidate(frame);
  |  |10561|     81|            tmp = global_super_st;
  |  |10562|     81|            global_super_st = PyStackRef_NULL;
  |  |10563|     81|            stack_pointer[-3] = global_super_st;
  |  |10564|     81|            PyStackRef_CLOSE(tmp);
  |  |10565|     81|            _PyFrame_StackPointerInvalidate(frame);
  |  |10566|     81|            stack_pointer += -3;
  |  |10567|     81|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     81|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10568|     81|            if (attr == NULL) {
  |  |  ------------------
  |  |  |  Branch (10568:17): [True: 0, False: 81]
  |  |  ------------------
  |  |10569|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10570|      0|            }
  |  |10571|     81|            attr_st = PyStackRef_FromPyObjectSteal(attr);
  |  |10572|     81|            stack_pointer[0] = attr_st;
  |  |10573|     81|            stack_pointer += 1;
  |  |10574|     81|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     81|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10575|     81|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     81|    { \
  |  |  |  |  201|     81|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     81|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     81|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     81|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     81|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     81|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     81|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     81|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 81]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     81|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     81|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     81|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     81|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     81|    }
  |  |  ------------------
  |  |10576|     81|        }
  |  |10577|       |
  |  |10578|  1.12k|        TARGET(LOAD_SUPER_ATTR_METHOD) {
  |  |  ------------------
  |  |  |  |  132|  1.12k|#  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.12k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10584|  1.12k|            (void)this_instr;
  |  |10585|  1.12k|            frame->instr_ptr = next_instr;
  |  |10586|  1.12k|            next_instr += 2;
  |  |10587|  1.12k|            INSTRUCTION_STATS(LOAD_SUPER_ATTR_METHOD);
  |  |  ------------------
  |  |  |  |   71|  1.12k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10588|  1.12k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR == 1, "incorrect cache size");
  |  |10589|  1.12k|            _PyStackRef global_super_st;
  |  |10590|  1.12k|            _PyStackRef class_st;
  |  |10591|  1.12k|            _PyStackRef self_st;
  |  |10592|  1.12k|            _PyStackRef attr;
  |  |10593|  1.12k|            _PyStackRef self_or_null;
  |  |10594|       |            /* Skip 1 cache entry */
  |  |10595|       |            // _GUARD_LOAD_SUPER_ATTR_METHOD
  |  |10596|  1.12k|            {
  |  |10597|  1.12k|                class_st = stack_pointer[-2];
  |  |10598|  1.12k|                global_super_st = stack_pointer[-3];
  |  |10599|  1.12k|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10600|  1.12k|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10601|  1.12k|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (10601:17): [True: 1.12k, False: 0]
  |  |  ------------------
  |  |10602|  1.12k|                if (global_super != (PyObject *)&PySuper_Type) {
  |  |  ------------------
  |  |  |  Branch (10602:21): [True: 0, False: 1.12k]
  |  |  ------------------
  |  |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.12k|                if (!PyType_Check(class)) {
  |  |  ------------------
  |  |  |  |  766|  1.12k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10607:21): [True: 0, False: 1.12k]
  |  |  ------------------
  |  |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.12k|            }
  |  |10613|       |            // _LOAD_SUPER_ATTR_METHOD
  |  |10614|  1.12k|            {
  |  |10615|  1.12k|                self_st = stack_pointer[-1];
  |  |10616|  1.12k|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10617|  1.12k|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10618|  1.12k|                STAT_INC(LOAD_SUPER_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  1.12k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10619|  1.12k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|  1.12k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  1.12k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  1.12k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10619:34): [True: 1.12k, False: 0]
  |  |  ------------------
  |  |10620|      0|                PyTypeObject *cls = (PyTypeObject *)class;
  |  |10621|  1.12k|                int method_found = 0;
  |  |10622|  1.12k|                PyObject *attr_o;
  |  |10623|  1.12k|                {
  |  |10624|  1.12k|                    int *method_found_ptr = &method_found;
  |  |10625|  1.12k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10626|  1.12k|                    _PyFrame_StackPointerValidate(frame);
  |  |10627|  1.12k|                    attr_o = _PySuper_Lookup(cls, self, name,
  |  |10628|  1.12k|                        Py_TYPE(self)->tp_getattro == PyObject_GenericGetAttr ? method_found_ptr : NULL);
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10628:25): [True: 499, False: 626]
  |  |  ------------------
  |  |10629|  1.12k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10630|  1.12k|                }
  |  |10631|  1.12k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10631:21): [True: 0, False: 1.12k]
  |  |  ------------------
  |  |10632|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10633|      0|                }
  |  |10634|  1.12k|                if (method_found) {
  |  |  ------------------
  |  |  |  Branch (10634:21): [True: 499, False: 626]
  |  |  ------------------
  |  |10635|    499|                    self_or_null = self_st;
  |  |10636|    626|                } else {
  |  |10637|    626|                    stack_pointer += -1;
  |  |10638|    626|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    626|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10639|    626|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10640|    626|                    _PyFrame_StackPointerValidate(frame);
  |  |10641|    626|                    PyStackRef_CLOSE(self_st);
  |  |10642|    626|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10643|    626|                    self_or_null = PyStackRef_NULL;
  |  |10644|    626|                    stack_pointer += 1;
  |  |10645|    626|                }
  |  |10646|  1.12k|                stack_pointer += -1;
  |  |10647|  1.12k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.12k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10648|  1.12k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10649|  1.12k|                _PyFrame_StackPointerValidate(frame);
  |  |10650|  1.12k|                _PyStackRef tmp = global_super_st;
  |  |10651|  1.12k|                global_super_st = self_or_null;
  |  |10652|  1.12k|                stack_pointer[-2] = global_super_st;
  |  |10653|  1.12k|                PyStackRef_CLOSE(tmp);
  |  |10654|  1.12k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10655|  1.12k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10655:17): [True: 1.12k, False: 0]
  |  |  ------------------
  |  |10656|  1.12k|                _PyFrame_StackPointerValidate(frame);
  |  |10657|  1.12k|                tmp = class_st;
  |  |10658|  1.12k|                class_st = PyStackRef_NULL;
  |  |10659|  1.12k|                stack_pointer[-1] = class_st;
  |  |10660|  1.12k|                PyStackRef_CLOSE(tmp);
  |  |10661|  1.12k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10662|  1.12k|                stack_pointer += -2;
  |  |10663|  1.12k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.12k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10664|  1.12k|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  |10665|  1.12k|            }
  |  |10666|      0|            stack_pointer[0] = attr;
  |  |10667|  1.12k|            stack_pointer[1] = self_or_null;
  |  |10668|  1.12k|            stack_pointer += 2;
  |  |10669|  1.12k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.12k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10670|  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|    }
  |  |  ------------------
  |  |10671|  1.12k|        }
  |  |10672|       |
  |  |10673|  2.57k|        TARGET(MAKE_CELL) {
  |  |  ------------------
  |  |  |  |  132|  2.57k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10674|       |            #if _Py_TAIL_CALL_INTERP
  |  |10675|       |            int opcode = MAKE_CELL;
  |  |10676|       |            (void)(opcode);
  |  |10677|       |            #endif
  |  |10678|  2.57k|            frame->instr_ptr = next_instr;
  |  |10679|  2.57k|            next_instr += 1;
  |  |10680|  2.57k|            INSTRUCTION_STATS(MAKE_CELL);
  |  |  ------------------
  |  |  |  |   71|  2.57k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10681|  2.57k|            PyObject *initial = PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  2.57k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10682|  2.57k|            PyObject *cell = PyCell_New(initial);
  |  |10683|  2.57k|            if (cell == NULL) {
  |  |  ------------------
  |  |  |  Branch (10683:17): [True: 0, False: 2.57k]
  |  |  ------------------
  |  |10684|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10685|      0|            }
  |  |10686|  2.57k|            _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  2.57k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10687|  2.57k|            GETLOCAL(oparg) = PyStackRef_FromPyObjectSteal(cell);
  |  |  ------------------
  |  |  |  |  285|  2.57k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10688|  2.57k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10689|  2.57k|            _PyFrame_StackPointerValidate(frame);
  |  |10690|  2.57k|            PyStackRef_XCLOSE(tmp);
  |  |10691|  2.57k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10692|  2.57k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.57k|    { \
  |  |  |  |  201|  2.57k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.57k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.57k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.57k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.57k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.57k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.57k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.57k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.57k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.57k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.57k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.57k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.57k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.57k|    }
  |  |  ------------------
  |  |10693|  2.57k|        }
  |  |10694|       |
  |  |10695|  5.19k|        TARGET(MAKE_FUNCTION) {
  |  |  ------------------
  |  |  |  |  132|  5.19k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10696|       |            #if _Py_TAIL_CALL_INTERP
  |  |10697|       |            int opcode = MAKE_FUNCTION;
  |  |10698|       |            (void)(opcode);
  |  |10699|       |            #endif
  |  |10700|  5.19k|            frame->instr_ptr = next_instr;
  |  |10701|  5.19k|            next_instr += 1;
  |  |10702|  5.19k|            INSTRUCTION_STATS(MAKE_FUNCTION);
  |  |  ------------------
  |  |  |  |   71|  5.19k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10703|  5.19k|            _PyStackRef codeobj_st;
  |  |10704|  5.19k|            _PyStackRef func;
  |  |10705|  5.19k|            _PyStackRef co;
  |  |10706|  5.19k|            _PyStackRef value;
  |  |10707|       |            // _MAKE_FUNCTION
  |  |10708|  5.19k|            {
  |  |10709|  5.19k|                codeobj_st = stack_pointer[-1];
  |  |10710|  5.19k|                PyObject *codeobj = PyStackRef_AsPyObjectBorrow(codeobj_st);
  |  |10711|  5.19k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10712|  5.19k|                _PyFrame_StackPointerValidate(frame);
  |  |10713|  5.19k|                PyFunctionObject *func_obj = (PyFunctionObject *)
  |  |10714|  5.19k|                PyFunction_New(codeobj, GLOBALS());
  |  |  ------------------
  |  |  |  |  326|  5.19k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10715|  5.19k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10716|  5.19k|                if (func_obj == NULL) {
  |  |  ------------------
  |  |  |  Branch (10716:21): [True: 0, False: 5.19k]
  |  |  ------------------
  |  |10717|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10718|      0|                }
  |  |10719|  5.19k|                co = codeobj_st;
  |  |10720|  5.19k|                _PyFunction_SetVersion(
  |  |10721|  5.19k|                                   func_obj, ((PyCodeObject *)codeobj)->co_version);
  |  |10722|  5.19k|                func = PyStackRef_FromPyObjectSteal((PyObject *)func_obj);
  |  |10723|  5.19k|            }
  |  |10724|       |            // _POP_TOP
  |  |10725|      0|            {
  |  |10726|  5.19k|                value = co;
  |  |10727|  5.19k|                stack_pointer[-1] = func;
  |  |10728|  5.19k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10728:17): [True: 5.19k, False: 0]
  |  |  ------------------
  |  |10729|  5.19k|                _PyFrame_StackPointerValidate(frame);
  |  |10730|  5.19k|                PyStackRef_XCLOSE(value);
  |  |10731|  5.19k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10732|  5.19k|            }
  |  |10733|  5.19k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.19k|    { \
  |  |  |  |  201|  5.19k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.19k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.19k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.19k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  5.19k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.19k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.19k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.19k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.19k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.19k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.19k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.19k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.19k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.19k|    }
  |  |  ------------------
  |  |10734|  5.19k|        }
  |  |10735|       |
  |  |10736|  12.9k|        TARGET(MAP_ADD) {
  |  |  ------------------
  |  |  |  |  132|  12.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10737|       |            #if _Py_TAIL_CALL_INTERP
  |  |10738|       |            int opcode = MAP_ADD;
  |  |10739|       |            (void)(opcode);
  |  |10740|       |            #endif
  |  |10741|  12.9k|            frame->instr_ptr = next_instr;
  |  |10742|  12.9k|            next_instr += 1;
  |  |10743|  12.9k|            INSTRUCTION_STATS(MAP_ADD);
  |  |  ------------------
  |  |  |  |   71|  12.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10744|  12.9k|            _PyStackRef dict_st;
  |  |10745|  12.9k|            _PyStackRef key;
  |  |10746|  12.9k|            _PyStackRef value;
  |  |10747|  12.9k|            value = stack_pointer[-1];
  |  |10748|  12.9k|            key = stack_pointer[-2];
  |  |10749|  12.9k|            dict_st = stack_pointer[-3 - (oparg - 1)];
  |  |10750|  12.9k|            PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |10751|  12.9k|            assert(PyDict_CheckExact(dict));
  |  |  ------------------
  |  |  |  Branch (10751:13): [True: 12.9k, False: 0]
  |  |  ------------------
  |  |10752|  12.9k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10753|  12.9k|            _PyFrame_StackPointerValidate(frame);
  |  |10754|  12.9k|            int err = _PyDict_SetItem_Take2(
  |  |10755|  12.9k|                (PyDictObject *)dict,
  |  |10756|  12.9k|                PyStackRef_AsPyObjectSteal(key),
  |  |10757|  12.9k|                PyStackRef_AsPyObjectSteal(value)
  |  |10758|  12.9k|            );
  |  |10759|  12.9k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10760|  12.9k|            if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (10760:17): [True: 0, False: 12.9k]
  |  |  ------------------
  |  |10761|      0|                JUMP_TO_LABEL(pop_2_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10762|      0|            }
  |  |10763|  12.9k|            stack_pointer += -2;
  |  |10764|  12.9k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  12.9k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10765|  12.9k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  12.9k|    { \
  |  |  |  |  201|  12.9k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  12.9k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  12.9k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  12.9k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  12.9k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  12.9k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  12.9k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  12.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 12.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  12.9k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  12.9k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  12.9k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  12.9k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  12.9k|    }
  |  |  ------------------
  |  |10766|  12.9k|        }
  |  |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|  4.45M|        TARGET(NOP) {
  |  |  ------------------
  |  |  |  |  132|  4.45M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10912|       |            #if _Py_TAIL_CALL_INTERP
  |  |10913|       |            int opcode = NOP;
  |  |10914|       |            (void)(opcode);
  |  |10915|       |            #endif
  |  |10916|  4.45M|            frame->instr_ptr = next_instr;
  |  |10917|  4.45M|            next_instr += 1;
  |  |10918|  4.45M|            INSTRUCTION_STATS(NOP);
  |  |  ------------------
  |  |  |  |   71|  4.45M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10919|  4.45M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.45M|    { \
  |  |  |  |  201|  4.45M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.45M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.45M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.45M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  4.45M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.45M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.45M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.45M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.45M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.45M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.45M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.45M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.45M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.45M|    }
  |  |  ------------------
  |  |10920|  4.45M|        }
  |  |10921|       |
  |  |10922|  4.45M|        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|  32.9k|        TARGET(POP_EXCEPT) {
  |  |  ------------------
  |  |  |  |  132|  32.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10934|       |            #if _Py_TAIL_CALL_INTERP
  |  |10935|       |            int opcode = POP_EXCEPT;
  |  |10936|       |            (void)(opcode);
  |  |10937|       |            #endif
  |  |10938|  32.9k|            frame->instr_ptr = next_instr;
  |  |10939|  32.9k|            next_instr += 1;
  |  |10940|  32.9k|            INSTRUCTION_STATS(POP_EXCEPT);
  |  |  ------------------
  |  |  |  |   71|  32.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10941|  32.9k|            _PyStackRef exc_value;
  |  |10942|  32.9k|            exc_value = stack_pointer[-1];
  |  |10943|  32.9k|            _PyErr_StackItem *exc_info = tstate->exc_info;
  |  |10944|  32.9k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10945|  32.9k|            _PyFrame_StackPointerValidate(frame);
  |  |10946|  32.9k|            Py_XSETREF(exc_info->exc_value,
  |  |  ------------------
  |  |  |  |  576|  32.9k|    do { \
  |  |  |  |  577|  32.9k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|  32.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  578|  32.9k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  549|  32.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  579|  65.8k|        *_tmp_dst_ptr = (src); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (579:26): [True: 32.8k, False: 44]
  |  |  |  |  ------------------
  |  |  |  |  580|  32.9k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|  32.9k|    do { \
  |  |  |  |  |  |   70|  32.9k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  32.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  32.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   71|  32.9k|        if (xop != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (71:13): [True: 32.9k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   72|  32.9k|            Py_DECREF(xop); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|  32.9k|    do { \
  |  |  |  |  |  |  |  |   81|  32.9k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  32.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  32.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|  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: 0, False: 32.9k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |  |  |   86|  32.9k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   20|  32.9k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   87|  32.9k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (87:13): [True: 31.5k, False: 1.37k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|  31.5k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  109|  31.5k|    do { \
  |  |  |  |  |  |  |  |  |  |  110|  31.5k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  |  |  111|  31.5k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 31.5k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  |  |  115|  31.5k|    } while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 31.5k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   89|  31.5k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  213|  31.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  171|  31.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   37|  31.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   90|  31.5k|            (*dealloc)(op); \
  |  |  |  |  |  |  |  |   91|  31.5k|        } \
  |  |  |  |  |  |  |  |   92|  32.9k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 32.9k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   73|  32.9k|        } \
  |  |  |  |  |  |   74|  32.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (74:14): [Folded, False: 32.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  581|  32.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (581:14): [Folded, False: 32.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10947|  32.9k|                       PyStackRef_IsNone(exc_value)
  |  |10948|  32.9k|                       ? NULL : PyStackRef_AsPyObjectSteal(exc_value));
  |  |10949|  32.9k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10950|  32.9k|            stack_pointer += -1;
  |  |10951|  32.9k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  32.9k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10952|  32.9k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  32.9k|    { \
  |  |  |  |  201|  32.9k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  32.9k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  32.9k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  32.9k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  32.9k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  32.9k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  32.9k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  32.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 32.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  32.9k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  32.9k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  32.9k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  32.9k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  32.9k|    }
  |  |  ------------------
  |  |10953|  32.9k|        }
  |  |10954|       |
  |  |10955|   419k|        TARGET(POP_ITER) {
  |  |  ------------------
  |  |  |  |  132|   419k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10956|       |            #if _Py_TAIL_CALL_INTERP
  |  |10957|       |            int opcode = POP_ITER;
  |  |10958|       |            (void)(opcode);
  |  |10959|       |            #endif
  |  |10960|   419k|            frame->instr_ptr = next_instr;
  |  |10961|   419k|            next_instr += 1;
  |  |10962|   419k|            INSTRUCTION_STATS(POP_ITER);
  |  |  ------------------
  |  |  |  |   71|   419k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10963|   419k|            _PyStackRef iter;
  |  |10964|   419k|            _PyStackRef index_or_null;
  |  |10965|   419k|            index_or_null = stack_pointer[-1];
  |  |10966|   419k|            iter = stack_pointer[-2];
  |  |10967|   419k|            (void)index_or_null;
  |  |10968|   419k|            stack_pointer += -2;
  |  |10969|   419k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   419k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10970|   419k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10971|   419k|            _PyFrame_StackPointerValidate(frame);
  |  |10972|   419k|            PyStackRef_CLOSE(iter);
  |  |10973|   419k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10974|   419k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   419k|    { \
  |  |  |  |  201|   419k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   419k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   419k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   419k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   419k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   419k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   419k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   419k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 419k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   419k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   419k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   419k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   419k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   419k|    }
  |  |  ------------------
  |  |10975|   419k|        }
  |  |10976|       |
  |  |10977|  11.5M|        TARGET(POP_JUMP_IF_FALSE) {
  |  |  ------------------
  |  |  |  |  132|  11.5M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10978|       |            #if _Py_TAIL_CALL_INTERP
  |  |10979|       |            int opcode = POP_JUMP_IF_FALSE;
  |  |10980|       |            (void)(opcode);
  |  |10981|       |            #endif
  |  |10982|  11.5M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10983|  11.5M|            (void)this_instr;
  |  |10984|  11.5M|            frame->instr_ptr = next_instr;
  |  |10985|  11.5M|            next_instr += 2;
  |  |10986|  11.5M|            INSTRUCTION_STATS(POP_JUMP_IF_FALSE);
  |  |  ------------------
  |  |  |  |   71|  11.5M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10987|  11.5M|            _PyStackRef cond;
  |  |10988|       |            /* Skip 1 cache entry */
  |  |10989|  11.5M|            cond = stack_pointer[-1];
  |  |10990|  11.5M|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (10990:13): [True: 11.5M, False: 0]
  |  |  ------------------
  |  |10991|  11.5M|            int flag = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|  11.5M|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  11.5M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10992|  11.5M|            RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|  11.5M|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  11.5M|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|  11.5M|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |10993|  11.5M|            JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  23.0M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 8.48M, False: 3.06M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10994|  11.5M|            stack_pointer += -1;
  |  |10995|  11.5M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  11.5M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10996|  11.5M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  11.5M|    { \
  |  |  |  |  201|  11.5M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  11.5M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  11.5M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  11.5M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  11.5M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  11.5M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  11.5M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  11.5M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 11.5M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  11.5M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  11.5M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  11.5M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  11.5M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  11.5M|    }
  |  |  ------------------
  |  |10997|  11.5M|        }
  |  |10998|       |
  |  |10999|   522k|        TARGET(POP_JUMP_IF_NONE) {
  |  |  ------------------
  |  |  |  |  132|   522k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11000|       |            #if _Py_TAIL_CALL_INTERP
  |  |11001|       |            int opcode = POP_JUMP_IF_NONE;
  |  |11002|       |            (void)(opcode);
  |  |11003|       |            #endif
  |  |11004|   522k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11005|   522k|            (void)this_instr;
  |  |11006|   522k|            frame->instr_ptr = next_instr;
  |  |11007|   522k|            next_instr += 2;
  |  |11008|   522k|            INSTRUCTION_STATS(POP_JUMP_IF_NONE);
  |  |  ------------------
  |  |  |  |   71|   522k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11009|   522k|            _PyStackRef value;
  |  |11010|   522k|            _PyStackRef b;
  |  |11011|   522k|            _PyStackRef cond;
  |  |11012|       |            /* Skip 1 cache entry */
  |  |11013|       |            // _IS_NONE
  |  |11014|   522k|            {
  |  |11015|   522k|                value = stack_pointer[-1];
  |  |11016|   522k|                if (PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|   522k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   522k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 520k, False: 2.49k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11017|   520k|                    b = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|   520k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   520k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11018|   520k|                }
  |  |11019|  2.49k|                else {
  |  |11020|  2.49k|                    b = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  2.49k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.49k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11021|  2.49k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11022|  2.49k|                    _PyFrame_StackPointerValidate(frame);
  |  |11023|  2.49k|                    _PyStackRef tmp = value;
  |  |11024|  2.49k|                    value = b;
  |  |11025|  2.49k|                    stack_pointer[-1] = value;
  |  |11026|  2.49k|                    PyStackRef_CLOSE(tmp);
  |  |11027|  2.49k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11028|  2.49k|                }
  |  |11029|   522k|            }
  |  |11030|       |            // _POP_JUMP_IF_TRUE
  |  |11031|   522k|            {
  |  |11032|   522k|                cond = b;
  |  |11033|   522k|                assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11033:17): [True: 522k, False: 0]
  |  |  ------------------
  |  |11034|   522k|                int flag = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|   522k|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   522k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11035|   522k|                RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|   522k|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|   522k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|   522k|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11036|   522k|                JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  1.04M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 520k, False: 2.49k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11037|   522k|            }
  |  |11038|      0|            stack_pointer += -1;
  |  |11039|   522k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   522k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11040|   522k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   522k|    { \
  |  |  |  |  201|   522k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   522k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   522k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   522k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   522k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   522k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   522k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   522k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 522k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   522k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   522k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   522k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   522k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   522k|    }
  |  |  ------------------
  |  |11041|   522k|        }
  |  |11042|       |
  |  |11043|   333k|        TARGET(POP_JUMP_IF_NOT_NONE) {
  |  |  ------------------
  |  |  |  |  132|   333k|#  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|   333k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11049|   333k|            (void)this_instr;
  |  |11050|   333k|            frame->instr_ptr = next_instr;
  |  |11051|   333k|            next_instr += 2;
  |  |11052|   333k|            INSTRUCTION_STATS(POP_JUMP_IF_NOT_NONE);
  |  |  ------------------
  |  |  |  |   71|   333k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11053|   333k|            _PyStackRef value;
  |  |11054|   333k|            _PyStackRef b;
  |  |11055|   333k|            _PyStackRef cond;
  |  |11056|       |            /* Skip 1 cache entry */
  |  |11057|       |            // _IS_NONE
  |  |11058|   333k|            {
  |  |11059|   333k|                value = stack_pointer[-1];
  |  |11060|   333k|                if (PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|   333k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   333k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 87.2k, False: 245k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11061|  87.2k|                    b = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  87.2k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  87.2k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11062|  87.2k|                }
  |  |11063|   245k|                else {
  |  |11064|   245k|                    b = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   245k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   245k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11065|   245k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11066|   245k|                    _PyFrame_StackPointerValidate(frame);
  |  |11067|   245k|                    _PyStackRef tmp = value;
  |  |11068|   245k|                    value = b;
  |  |11069|   245k|                    stack_pointer[-1] = value;
  |  |11070|   245k|                    PyStackRef_CLOSE(tmp);
  |  |11071|   245k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11072|   245k|                }
  |  |11073|   333k|            }
  |  |11074|       |            // _POP_JUMP_IF_FALSE
  |  |11075|   333k|            {
  |  |11076|   333k|                cond = b;
  |  |11077|   333k|                assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11077:17): [True: 333k, False: 0]
  |  |  ------------------
  |  |11078|   333k|                int flag = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|   333k|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   333k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11079|   333k|                RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|   333k|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|   333k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|   333k|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11080|   333k|                JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|   666k|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 245k, False: 87.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11081|   333k|            }
  |  |11082|      0|            stack_pointer += -1;
  |  |11083|   333k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   333k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11084|   333k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   333k|    { \
  |  |  |  |  201|   333k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   333k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   333k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   333k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   333k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   333k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   333k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   333k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 333k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   333k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   333k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   333k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   333k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   333k|    }
  |  |  ------------------
  |  |11085|   333k|        }
  |  |11086|       |
  |  |11087|  7.80M|        TARGET(POP_JUMP_IF_TRUE) {
  |  |  ------------------
  |  |  |  |  132|  7.80M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11088|       |            #if _Py_TAIL_CALL_INTERP
  |  |11089|       |            int opcode = POP_JUMP_IF_TRUE;
  |  |11090|       |            (void)(opcode);
  |  |11091|       |            #endif
  |  |11092|  7.80M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11093|  7.80M|            (void)this_instr;
  |  |11094|  7.80M|            frame->instr_ptr = next_instr;
  |  |11095|  7.80M|            next_instr += 2;
  |  |11096|  7.80M|            INSTRUCTION_STATS(POP_JUMP_IF_TRUE);
  |  |  ------------------
  |  |  |  |   71|  7.80M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11097|  7.80M|            _PyStackRef cond;
  |  |11098|       |            /* Skip 1 cache entry */
  |  |11099|  7.80M|            cond = stack_pointer[-1];
  |  |11100|  7.80M|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11100:13): [True: 7.80M, False: 0]
  |  |  ------------------
  |  |11101|  7.80M|            int flag = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|  7.80M|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  7.80M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11102|  7.80M|            RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|  7.80M|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  7.80M|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|  7.80M|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11103|  7.80M|            JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  15.6M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 2.55M, False: 5.25M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11104|  7.80M|            stack_pointer += -1;
  |  |11105|  7.80M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  7.80M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11106|  7.80M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.80M|    { \
  |  |  |  |  201|  7.80M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  7.80M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  7.80M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  7.80M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  7.80M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  7.80M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  7.80M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  7.80M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7.80M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.80M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.80M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.80M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.80M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.80M|    }
  |  |  ------------------
  |  |11107|  7.80M|        }
  |  |11108|       |
  |  |11109|  1.49M|        TARGET(POP_TOP) {
  |  |  ------------------
  |  |  |  |  132|  1.49M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11110|       |            #if _Py_TAIL_CALL_INTERP
  |  |11111|       |            int opcode = POP_TOP;
  |  |11112|       |            (void)(opcode);
  |  |11113|       |            #endif
  |  |11114|  1.49M|            frame->instr_ptr = next_instr;
  |  |11115|  1.49M|            next_instr += 1;
  |  |11116|  1.49M|            INSTRUCTION_STATS(POP_TOP);
  |  |  ------------------
  |  |  |  |   71|  1.49M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11117|  1.49M|            _PyStackRef value;
  |  |11118|  1.49M|            value = stack_pointer[-1];
  |  |11119|  1.49M|            stack_pointer += -1;
  |  |11120|  1.49M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.49M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11121|  1.49M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11122|  1.49M|            _PyFrame_StackPointerValidate(frame);
  |  |11123|  1.49M|            PyStackRef_XCLOSE(value);
  |  |11124|  1.49M|            _PyFrame_StackPointerInvalidate(frame);
  |  |11125|  1.49M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.49M|    { \
  |  |  |  |  201|  1.49M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.49M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.49M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.49M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.49M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.49M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.49M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.49M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.49M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.49M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.49M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.49M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.49M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.49M|    }
  |  |  ------------------
  |  |11126|  1.49M|        }
  |  |11127|       |
  |  |11128|  1.49M|        TARGET(PUSH_EXC_INFO) {
  |  |  ------------------
  |  |  |  |  132|  32.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11129|       |            #if _Py_TAIL_CALL_INTERP
  |  |11130|       |            int opcode = PUSH_EXC_INFO;
  |  |11131|       |            (void)(opcode);
  |  |11132|       |            #endif
  |  |11133|  32.9k|            frame->instr_ptr = next_instr;
  |  |11134|  32.9k|            next_instr += 1;
  |  |11135|  32.9k|            INSTRUCTION_STATS(PUSH_EXC_INFO);
  |  |  ------------------
  |  |  |  |   71|  32.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11136|  32.9k|            _PyStackRef exc;
  |  |11137|  32.9k|            _PyStackRef prev_exc;
  |  |11138|  32.9k|            _PyStackRef new_exc;
  |  |11139|  32.9k|            exc = stack_pointer[-1];
  |  |11140|  32.9k|            _PyErr_StackItem *exc_info = tstate->exc_info;
  |  |11141|  32.9k|            if (exc_info->exc_value != NULL) {
  |  |  ------------------
  |  |  |  Branch (11141:17): [True: 44, False: 32.8k]
  |  |  ------------------
  |  |11142|     44|                prev_exc = PyStackRef_FromPyObjectSteal(exc_info->exc_value);
  |  |11143|     44|            }
  |  |11144|  32.8k|            else {
  |  |11145|  32.8k|                prev_exc = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|  32.8k|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  32.8k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11146|  32.8k|            }
  |  |11147|  32.9k|            assert(PyStackRef_ExceptionInstanceCheck(exc));
  |  |  ------------------
  |  |  |  Branch (11147:13): [True: 32.9k, False: 0]
  |  |  ------------------
  |  |11148|  32.9k|            exc_info->exc_value = PyStackRef_AsPyObjectNew(exc);
  |  |  ------------------
  |  |  |  |  757|  32.9k|#define PyStackRef_AsPyObjectNew(stackref) Py_NewRef(PyStackRef_AsPyObjectBorrow(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  647|  32.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  32.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  32.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11149|  32.9k|            new_exc = exc;
  |  |11150|  32.9k|            stack_pointer[-1] = prev_exc;
  |  |11151|  32.9k|            stack_pointer[0] = new_exc;
  |  |11152|  32.9k|            stack_pointer += 1;
  |  |11153|  32.9k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  32.9k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11154|  32.9k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  32.9k|    { \
  |  |  |  |  201|  32.9k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  32.9k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  32.9k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  32.9k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  32.9k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  32.9k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  32.9k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  32.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 32.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  32.9k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  32.9k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  32.9k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  32.9k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  32.9k|    }
  |  |  ------------------
  |  |11155|  32.9k|        }
  |  |11156|       |
  |  |11157|  3.79M|        TARGET(PUSH_NULL) {
  |  |  ------------------
  |  |  |  |  132|  3.79M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11158|       |            #if _Py_TAIL_CALL_INTERP
  |  |11159|       |            int opcode = PUSH_NULL;
  |  |11160|       |            (void)(opcode);
  |  |11161|       |            #endif
  |  |11162|  3.79M|            frame->instr_ptr = next_instr;
  |  |11163|  3.79M|            next_instr += 1;
  |  |11164|  3.79M|            INSTRUCTION_STATS(PUSH_NULL);
  |  |  ------------------
  |  |  |  |   71|  3.79M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11165|  3.79M|            _PyStackRef res;
  |  |11166|  3.79M|            res = PyStackRef_NULL;
  |  |11167|  3.79M|            stack_pointer[0] = res;
  |  |11168|  3.79M|            stack_pointer += 1;
  |  |11169|  3.79M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.79M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11170|  3.79M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.79M|    { \
  |  |  |  |  201|  3.79M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.79M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.79M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.79M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.79M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.79M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.79M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.79M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.79M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.79M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.79M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.79M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.79M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.79M|    }
  |  |  ------------------
  |  |11171|  3.79M|        }
  |  |11172|       |
  |  |11173|  3.79M|        TARGET(RAISE_VARARGS) {
  |  |  ------------------
  |  |  |  |  132|  2.01k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11174|       |            #if _Py_TAIL_CALL_INTERP
  |  |11175|       |            int opcode = RAISE_VARARGS;
  |  |11176|       |            (void)(opcode);
  |  |11177|       |            #endif
  |  |11178|  2.01k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11179|  2.01k|            (void)this_instr;
  |  |11180|  2.01k|            frame->instr_ptr = next_instr;
  |  |11181|  2.01k|            next_instr += 1;
  |  |11182|  2.01k|            INSTRUCTION_STATS(RAISE_VARARGS);
  |  |  ------------------
  |  |  |  |   71|  2.01k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11183|  2.01k|            _PyStackRef *args;
  |  |11184|  2.01k|            args = &stack_pointer[-oparg];
  |  |11185|  2.01k|            assert(oparg < 3);
  |  |  ------------------
  |  |  |  Branch (11185:13): [True: 2.01k, False: 0]
  |  |  ------------------
  |  |11186|  2.01k|            PyObject *cause = oparg == 2 ? PyStackRef_AsPyObjectSteal(args[1]) : NULL;
  |  |  ------------------
  |  |  |  Branch (11186:31): [True: 245, False: 1.76k]
  |  |  ------------------
  |  |11187|  2.01k|            PyObject *exc = oparg > 0 ? PyStackRef_AsPyObjectSteal(args[0]) : NULL;
  |  |  ------------------
  |  |  |  Branch (11187:29): [True: 2.00k, False: 5]
  |  |  ------------------
  |  |11188|  2.01k|            stack_pointer += -oparg;
  |  |11189|  2.01k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.01k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11190|  2.01k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11191|  2.01k|            _PyFrame_StackPointerValidate(frame);
  |  |11192|  2.01k|            int err = do_raise(tstate, exc, cause);
  |  |11193|  2.01k|            _PyFrame_StackPointerInvalidate(frame);
  |  |11194|  2.01k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (11194:17): [True: 5, False: 2.00k]
  |  |  ------------------
  |  |11195|      5|                assert(oparg == 0);
  |  |  ------------------
  |  |  |  Branch (11195:17): [True: 5, False: 0]
  |  |  ------------------
  |  |11196|      5|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11196:17): [True: 5, False: 0]
  |  |  ------------------
  |  |11197|      5|                _PyFrame_StackPointerValidate(frame);
  |  |11198|      5|                monitor_reraise(tstate, frame, this_instr);
  |  |11199|      5|                _PyFrame_StackPointerInvalidate(frame);
  |  |11200|      5|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11200:17): [True: 5, False: 0]
  |  |  ------------------
  |  |11201|      5|                _PyFrame_StackPointerValidate(frame);
  |  |11202|      5|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      5|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11203|      0|            }
  |  |11204|  2.00k|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  2.00k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11205|      0|        }
  |  |11206|       |
  |  |11207|  2.68k|        TARGET(RERAISE) {
  |  |  ------------------
  |  |  |  |  132|  2.68k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11208|       |            #if _Py_TAIL_CALL_INTERP
  |  |11209|       |            int opcode = RERAISE;
  |  |11210|       |            (void)(opcode);
  |  |11211|       |            #endif
  |  |11212|  2.68k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11213|  2.68k|            (void)this_instr;
  |  |11214|  2.68k|            frame->instr_ptr = next_instr;
  |  |11215|  2.68k|            next_instr += 1;
  |  |11216|  2.68k|            INSTRUCTION_STATS(RERAISE);
  |  |  ------------------
  |  |  |  |   71|  2.68k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11217|  2.68k|            _PyStackRef *values;
  |  |11218|  2.68k|            _PyStackRef exc_st;
  |  |11219|  2.68k|            exc_st = stack_pointer[-1];
  |  |11220|  2.68k|            values = &stack_pointer[-1 - oparg];
  |  |11221|  2.68k|            PyObject *exc = PyStackRef_AsPyObjectSteal(exc_st);
  |  |11222|  2.68k|            assert(oparg >= 0 && oparg <= 2);
  |  |  ------------------
  |  |  |  Branch (11222:13): [True: 2.68k, False: 0]
  |  |  |  Branch (11222:13): [True: 2.68k, False: 0]
  |  |  ------------------
  |  |11223|  2.68k|            if (oparg) {
  |  |  ------------------
  |  |  |  Branch (11223:17): [True: 2.39k, False: 289]
  |  |  ------------------
  |  |11224|  2.39k|                frame->instr_ptr = _PyFrame_GetBytecode(frame) + PyStackRef_UntagInt(values[0]);
  |  |11225|  2.39k|            }
  |  |11226|  2.68k|            assert(exc && PyExceptionInstance_Check(exc));
  |  |  ------------------
  |  |  |  Branch (11226:13): [True: 2.68k, False: 0]
  |  |  |  Branch (11226:13): [True: 2.68k, False: 0]
  |  |  ------------------
  |  |11227|  2.68k|            stack_pointer += -1;
  |  |11228|  2.68k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.68k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11229|  2.68k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11230|  2.68k|            _PyFrame_StackPointerValidate(frame);
  |  |11231|  2.68k|            _PyErr_SetRaisedException(tstate, exc);
  |  |11232|  2.68k|            _PyFrame_StackPointerInvalidate(frame);
  |  |11233|  2.68k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11233:13): [True: 2.68k, False: 0]
  |  |  ------------------
  |  |11234|  2.68k|            _PyFrame_StackPointerValidate(frame);
  |  |11235|  2.68k|            monitor_reraise(tstate, frame, this_instr);
  |  |11236|  2.68k|            _PyFrame_StackPointerInvalidate(frame);
  |  |11237|  2.68k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11237:13): [True: 2.68k, False: 0]
  |  |  ------------------
  |  |11238|  2.68k|            _PyFrame_StackPointerValidate(frame);
  |  |11239|  2.68k|            JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|  2.68k|#  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|  1.54k|        TARGET(RESUME) {
  |  |  ------------------
  |  |  |  |  132|  1.54k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11256|       |            #if _Py_TAIL_CALL_INTERP
  |  |11257|       |            int opcode = RESUME;
  |  |11258|       |            (void)(opcode);
  |  |11259|       |            #endif
  |  |11260|  1.54k|            frame->instr_ptr = next_instr;
  |  |11261|  1.54k|            next_instr += 2;
  |  |11262|  1.54k|            INSTRUCTION_STATS(RESUME);
  |  |  ------------------
  |  |  |  |   71|  1.54k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11263|  1.68k|            PREDICTED_RESUME:;
  |  |11264|  1.68k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |11265|  1.68k|            (void)this_instr;
  |  |11266|       |            // _LOAD_BYTECODE
  |  |11267|  1.68k|            {
  |  |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|  1.68k|            }
  |  |11287|       |            // _MAYBE_INSTRUMENT
  |  |11288|  1.68k|            {
  |  |11289|       |                #ifdef Py_GIL_DISABLED
  |  |11290|       |
  |  |11291|       |                int check_instrumentation = 1;
  |  |11292|       |                #else
  |  |11293|  1.68k|                int check_instrumentation = (tstate->tracing == 0);
  |  |11294|  1.68k|                #endif
  |  |11295|  1.68k|                if (check_instrumentation) {
  |  |  ------------------
  |  |  |  Branch (11295:21): [True: 1.68k, False: 0]
  |  |  ------------------
  |  |11296|  1.68k|                    uintptr_t global_version = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & ~_PY_EVAL_EVENTS_MASK;
  |  |  ------------------
  |  |  |  |  356|  1.68k|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  355|  1.68k|#define _PY_EVAL_EVENTS_BITS 8
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11297|  1.68k|                    uintptr_t code_version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  154|  1.68k|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |11298|  1.68k|                    if (code_version != global_version) {
  |  |  ------------------
  |  |  |  Branch (11298:25): [True: 0, False: 1.68k]
  |  |  ------------------
  |  |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|  1.68k|                }
  |  |11310|  1.68k|            }
  |  |11311|       |            // _QUICKEN_RESUME
  |  |11312|  1.68k|            {
  |  |11313|  1.68k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11314|  1.68k|                (void)counter;
  |  |11315|  1.68k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11316|  1.68k|                _PyFrame_StackPointerValidate(frame);
  |  |11317|  1.68k|                _Py_Specialize_Resume(this_instr, tstate, frame);
  |  |11318|  1.68k|                _PyFrame_StackPointerInvalidate(frame);
  |  |11319|  1.68k|            }
  |  |11320|       |            // _CHECK_PERIODIC_IF_NOT_YIELD_FROM
  |  |11321|  1.68k|            {
  |  |11322|  1.68k|                if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   94|  1.68k|#define RESUME_OPARG_LOCATION_MASK 0x7
  |  |  ------------------
  |  |                               if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   90|  1.68k|#define RESUME_AFTER_YIELD_FROM 2
  |  |  ------------------
  |  |  |  Branch (11322:21): [True: 1.66k, False: 25]
  |  |  ------------------
  |  |11323|  1.66k|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11323:21): [True: 1.66k, False: 0]
  |  |  ------------------
  |  |11324|  1.66k|                    _PyFrame_StackPointerValidate(frame);
  |  |11325|  1.66k|                    int err = check_periodics(tstate);
  |  |11326|  1.66k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11327|  1.66k|                    if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (11327:25): [True: 0, False: 1.66k]
  |  |  ------------------
  |  |11328|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11329|      0|                    }
  |  |11330|  1.66k|                }
  |  |11331|  1.68k|            }
  |  |11332|  1.68k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.68k|    { \
  |  |  |  |  201|  1.68k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.68k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.68k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.68k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.68k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.68k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.68k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.68k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.68k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.68k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.68k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.68k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.68k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.68k|    }
  |  |  ------------------
  |  |11333|  1.68k|        }
  |  |11334|       |
  |  |11335|  5.22M|        TARGET(RESUME_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  5.22M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11336|       |            #if _Py_TAIL_CALL_INTERP
  |  |11337|       |            int opcode = RESUME_CHECK;
  |  |11338|       |            (void)(opcode);
  |  |11339|       |            #endif
  |  |11340|  5.22M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11341|  5.22M|            (void)this_instr;
  |  |11342|  5.22M|            frame->instr_ptr = next_instr;
  |  |11343|  5.22M|            next_instr += 2;
  |  |11344|  5.22M|            INSTRUCTION_STATS(RESUME_CHECK);
  |  |  ------------------
  |  |  |  |   71|  5.22M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11345|  5.22M|            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|  5.22M|            uintptr_t eval_breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  |  |11356|  5.22M|            uintptr_t version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  154|  5.22M|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |11357|  5.22M|            assert((version & _PY_EVAL_EVENTS_MASK) == 0);
  |  |  ------------------
  |  |  |  Branch (11357:13): [True: 5.22M, False: 0]
  |  |  ------------------
  |  |11358|  5.22M|            if (eval_breaker != version) {
  |  |  ------------------
  |  |  |  Branch (11358:17): [True: 148, False: 5.22M]
  |  |  ------------------
  |  |11359|    148|                UPDATE_MISS_STATS(RESUME);
  |  |  ------------------
  |  |  |  |  299|    148|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11360|    148|                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |  ------------------
  |  |  |  Branch (11360:17): [True: 148, False: 0]
  |  |  ------------------
  |  |11361|    148|                JUMP_TO_PREDICTED(RESUME);
  |  |  ------------------
  |  |  |  |  136|    148|#  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|  5.22M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.22M|    { \
  |  |  |  |  201|  5.22M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.22M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.22M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.22M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  5.22M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.22M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.22M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.22M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.22M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.22M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.22M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.22M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.22M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.22M|    }
  |  |  ------------------
  |  |11372|  5.22M|        }
  |  |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|    933|        TARGET(RETURN_GENERATOR) {
  |  |  ------------------
  |  |  |  |  132|    933|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11444|       |            #if _Py_TAIL_CALL_INTERP
  |  |11445|       |            int opcode = RETURN_GENERATOR;
  |  |11446|       |            (void)(opcode);
  |  |11447|       |            #endif
  |  |11448|    933|            frame->instr_ptr = next_instr;
  |  |11449|    933|            next_instr += 1;
  |  |11450|    933|            INSTRUCTION_STATS(RETURN_GENERATOR);
  |  |  ------------------
  |  |  |  |   71|    933|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11451|    933|            _PyStackRef res;
  |  |11452|    933|            assert(PyStackRef_FunctionCheck(frame->f_funcobj));
  |  |  ------------------
  |  |  |  Branch (11452:13): [True: 933, False: 0]
  |  |  ------------------
  |  |11453|    933|            PyFunctionObject *func = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(frame->f_funcobj);
  |  |11454|    933|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11455|    933|            _PyFrame_StackPointerValidate(frame);
  |  |11456|    933|            PyGenObject *gen = (PyGenObject *)_Py_MakeCoro(func);
  |  |11457|    933|            _PyFrame_StackPointerInvalidate(frame);
  |  |11458|    933|            if (gen == NULL) {
  |  |  ------------------
  |  |  |  Branch (11458:17): [True: 0, False: 933]
  |  |  ------------------
  |  |11459|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11460|      0|            }
  |  |11461|    933|            assert(STACK_LEVEL() <= 2);
  |  |  ------------------
  |  |  |  Branch (11461:13): [True: 933, False: 0]
  |  |  ------------------
  |  |11462|    933|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11462:13): [True: 933, False: 0]
  |  |  ------------------
  |  |11463|    933|            _PyFrame_StackPointerValidate(frame);
  |  |11464|    933|            _PyInterpreterFrame *gen_frame = &gen->gi_iframe;
  |  |11465|    933|            frame->instr_ptr++;
  |  |11466|    933|            _PyFrame_Copy(frame, gen_frame);
  |  |11467|    933|            assert(frame->frame_obj == NULL);
  |  |  ------------------
  |  |  |  Branch (11467:13): [True: 933, False: 0]
  |  |  ------------------
  |  |11468|    933|            gen->gi_frame_state = FRAME_CREATED;
  |  |11469|    933|            gen_frame->owner = FRAME_OWNED_BY_GENERATOR;
  |  |11470|    933|            _Py_LeaveRecursiveCallPy(tstate);
  |  |11471|    933|            _PyInterpreterFrame *prev = frame->previous;
  |  |11472|    933|            _PyThreadState_UpdateLastProfiledFrame(tstate, frame, prev);
  |  |  ------------------
  |  |  |  |  326|    933|    do { \
  |  |  |  |  327|    933|        PyThreadState *tstate_ = (tstate); \
  |  |  |  |  328|    933|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  |  |  329|    933|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (329:13): [True: 0, False: 933]
  |  |  |  |  ------------------
  |  |  |  |  330|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  |  |  331|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  |  |  332|      0|        } \
  |  |  |  |  333|    933|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (333:14): [Folded, False: 933]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11473|    933|            _PyThreadState_PopFrame(tstate, frame);
  |  |11474|    933|            frame = tstate->current_frame = prev;
  |  |11475|    933|            LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  441|    933|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    933|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    933|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 933]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11476|    933|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11477|    933|            _PyFrame_StackPointerInvalidate(frame);
  |  |11478|    933|            res = PyStackRef_FromPyObjectStealMortal((PyObject *)gen);
  |  |11479|    933|            LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    933|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11480|    933|            stack_pointer[0] = res;
  |  |11481|    933|            stack_pointer += 1;
  |  |11482|    933|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    933|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11483|    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|    }
  |  |  ------------------
  |  |11484|    933|        }
  |  |11485|       |
  |  |11486|  5.16M|        TARGET(RETURN_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  5.16M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11487|       |            #if _Py_TAIL_CALL_INTERP
  |  |11488|       |            int opcode = RETURN_VALUE;
  |  |11489|       |            (void)(opcode);
  |  |11490|       |            #endif
  |  |11491|  5.16M|            frame->instr_ptr = next_instr;
  |  |11492|  5.16M|            next_instr += 1;
  |  |11493|  5.16M|            INSTRUCTION_STATS(RETURN_VALUE);
  |  |  ------------------
  |  |  |  |   71|  5.16M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11494|  5.16M|            _PyStackRef value;
  |  |11495|  5.16M|            _PyStackRef retval;
  |  |11496|  5.16M|            _PyStackRef res;
  |  |11497|       |            // _MAKE_HEAP_SAFE
  |  |11498|  5.16M|            {
  |  |11499|  5.16M|                value = stack_pointer[-1];
  |  |11500|  5.16M|                value = PyStackRef_MakeHeapSafe(value);
  |  |11501|  5.16M|            }
  |  |11502|       |            // _RETURN_VALUE
  |  |11503|  5.16M|            {
  |  |11504|  5.16M|                retval = value;
  |  |11505|  5.16M|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (11505:17): [True: 5.16M, False: 0]
  |  |  ------------------
  |  |11506|  5.16M|                _PyStackRef temp = retval;
  |  |11507|  5.16M|                stack_pointer += -1;
  |  |11508|  5.16M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  5.16M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11509|  5.16M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11510|  5.16M|                _PyFrame_StackPointerValidate(frame);
  |  |11511|  5.16M|                assert(STACK_LEVEL() == 0);
  |  |  ------------------
  |  |  |  Branch (11511:17): [True: 5.16M, False: 0]
  |  |  ------------------
  |  |11512|  5.16M|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|  5.16M|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |11513|  5.16M|                _Py_LeaveRecursiveCallPy(tstate);
  |  |11514|  5.16M|                _PyInterpreterFrame *dying = frame;
  |  |11515|  5.16M|                frame = tstate->current_frame = dying->previous;
  |  |11516|  5.16M|                _PyEval_FrameClearAndPop(tstate, dying);
  |  |11517|  5.16M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11518|  5.16M|                _PyFrame_StackPointerInvalidate(frame);
  |  |11519|  5.16M|                LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  441|  5.16M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  5.16M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  5.16M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 5.16M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11520|  5.16M|                res = temp;
  |  |11521|  5.16M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  5.16M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11522|  5.16M|            }
  |  |11523|      0|            stack_pointer[0] = res;
  |  |11524|  5.16M|            stack_pointer += 1;
  |  |11525|  5.16M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  5.16M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11526|  5.16M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.16M|    { \
  |  |  |  |  201|  5.16M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.16M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.16M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.16M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  5.16M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.16M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.16M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.16M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.16M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.16M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.16M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.16M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.16M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.16M|    }
  |  |  ------------------
  |  |11527|  5.16M|        }
  |  |11528|       |
  |  |11529|      4|        TARGET(SEND) {
  |  |  ------------------
  |  |  |  |  132|      4|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11530|       |            #if _Py_TAIL_CALL_INTERP
  |  |11531|       |            int opcode = SEND;
  |  |11532|       |            (void)(opcode);
  |  |11533|       |            #endif
  |  |11534|      4|            frame->instr_ptr = next_instr;
  |  |11535|      4|            next_instr += 2;
  |  |11536|      4|            INSTRUCTION_STATS(SEND);
  |  |  ------------------
  |  |  |  |   71|      4|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11537|      4|            PREDICTED_SEND:;
  |  |11538|      4|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |11539|      4|            (void)this_instr;
  |  |11540|      4|            _PyStackRef receiver;
  |  |11541|      4|            _PyStackRef null_or_index;
  |  |11542|      4|            _PyStackRef v;
  |  |11543|      4|            _PyStackRef retval;
  |  |11544|       |            // _SPECIALIZE_SEND
  |  |11545|      4|            {
  |  |11546|      4|                receiver = stack_pointer[-3];
  |  |11547|      4|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11548|      4|                (void)counter;
  |  |11549|      4|                #if ENABLE_SPECIALIZATION
  |  |11550|      4|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|      4|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 2, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11551|      2|                    next_instr = this_instr;
  |  |11552|      2|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11553|      2|                    _PyFrame_StackPointerValidate(frame);
  |  |11554|      2|                    _Py_Specialize_Send(receiver, next_instr);
  |  |11555|      2|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11556|      2|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|      2|    { \
  |  |  |  |  217|      2|        opcode = next_instr->op.code; \
  |  |  |  |  218|      2|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      2|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|      2|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|      2|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|      2|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|      2|    }
  |  |  ------------------
  |  |11557|      2|                }
  |  |11558|      4|                OPCODE_DEFERRED_INC(SEND);
  |  |  ------------------
  |  |  |  |   90|      4|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |11559|      4|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|      4|    do { \
  |  |  |  |  378|      4|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|      4|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11560|      4|                #endif  /* ENABLE_SPECIALIZATION */
  |  |11561|      4|            }
  |  |11562|       |            // _SEND
  |  |11563|      4|            {
  |  |11564|      4|                v = stack_pointer[-1];
  |  |11565|      4|                null_or_index = stack_pointer[-2];
  |  |11566|      4|                PyObject *receiver_o = PyStackRef_AsPyObjectBorrow(receiver);
  |  |11567|      4|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (11567:17): [True: 2, False: 2]
  |  |  ------------------
  |  |11568|      2|                if (!IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|      4|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (11568:21): [True: 2, False: 0]
  |  |  ------------------
  |  |11569|      2|                    (Py_TYPE(receiver_o) == &PyGen_Type || Py_TYPE(receiver_o) == &PyCoro_Type) &&
  |  |  ------------------
  |  |  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   (Py_TYPE(receiver_o) == &PyGen_Type || Py_TYPE(receiver_o) == &PyCoro_Type) &&
  |  |  ------------------
  |  |  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11569:22): [True: 0, False: 2]
  |  |  |  Branch (11569:60): [True: 0, False: 2]
  |  |  ------------------
  |  |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|      2|                if (!PyStackRef_IsNull(null_or_index) && PyStackRef_IsNone(v)) {
  |  |  ------------------
  |  |  |  |  482|      4|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|      2|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      2|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (!PyStackRef_IsNull(null_or_index) && PyStackRef_IsNone(v)) {
  |  |  ------------------
  |  |  |  |  495|      2|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      2|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11585:21): [True: 2, False: 0]
  |  |  ------------------
  |  |11586|      2|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11587|      2|                    _PyFrame_StackPointerValidate(frame);
  |  |11588|      2|                    _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, receiver, &null_or_index);
  |  |11589|      2|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11590|      2|                    if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (11590:25): [True: 0, False: 2]
  |  |  ------------------
  |  |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|      2|                    retval = item;
  |  |11599|      2|                }
  |  |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|      2|            }
  |  |11622|      2|            stack_pointer[-2] = null_or_index;
  |  |11623|      2|            stack_pointer[-1] = retval;
  |  |11624|      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|    }
  |  |  ------------------
  |  |11625|      2|        }
  |  |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|     14|        TARGET(SEND_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|     14|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11766|       |            #if _Py_TAIL_CALL_INTERP
  |  |11767|       |            int opcode = SEND_VIRTUAL;
  |  |11768|       |            (void)(opcode);
  |  |11769|       |            #endif
  |  |11770|     14|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11771|     14|            (void)this_instr;
  |  |11772|     14|            frame->instr_ptr = next_instr;
  |  |11773|     14|            next_instr += 2;
  |  |11774|     14|            INSTRUCTION_STATS(SEND_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|     14|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11775|     14|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11776|     14|            _PyStackRef val;
  |  |11777|     14|            _PyStackRef nos;
  |  |11778|     14|            _PyStackRef iter;
  |  |11779|     14|            _PyStackRef null_or_index;
  |  |11780|     14|            _PyStackRef none;
  |  |11781|     14|            _PyStackRef next;
  |  |11782|       |            /* Skip 1 cache entry */
  |  |11783|       |            // _GUARD_TOS_IS_NONE
  |  |11784|     14|            {
  |  |11785|     14|                val = stack_pointer[-1];
  |  |11786|     14|                if (!PyStackRef_IsNone(val)) {
  |  |  ------------------
  |  |  |  |  495|     14|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     14|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11786:21): [True: 0, False: 14]
  |  |  ------------------
  |  |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|     14|            }
  |  |11792|       |            // _GUARD_NOS_NOT_NULL
  |  |11793|     14|            {
  |  |11794|     14|                nos = stack_pointer[-2];
  |  |11795|     14|                if (PyStackRef_IsNull(nos)) {
  |  |  ------------------
  |  |  |  |  482|     14|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     14|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     14|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |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|     14|            }
  |  |11801|       |            // _SEND_VIRTUAL
  |  |11802|     14|            {
  |  |11803|     14|                none = val;
  |  |11804|     14|                null_or_index = nos;
  |  |11805|     14|                iter = stack_pointer[-3];
  |  |11806|     14|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11807|     14|                Py_ssize_t index = PyStackRef_UntagInt(null_or_index);
  |  |11808|     14|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11809|     14|                _PyFrame_StackPointerValidate(frame);
  |  |11810|     14|                _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, index);
  |  |  ------------------
  |  |  |  |  213|     14|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11811|     14|                _PyFrame_StackPointerInvalidate(frame);
  |  |11812|     14|                PyObject *next_o = next_index.object;
  |  |11813|     14|                index = next_index.index;
  |  |11814|     14|                if (next_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (11814:21): [True: 5, False: 9]
  |  |  ------------------
  |  |11815|      5|                    if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (11815:25): [True: 0, False: 5]
  |  |  ------------------
  |  |11816|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11817|      0|                    }
  |  |11818|      5|                    next = none;
  |  |11819|      5|                    JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      5|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11820|      5|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      5|    { \
  |  |  |  |  201|      5|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      5|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      5|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      5|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      5|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      5|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      5|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      5|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      5|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      5|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      5|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      5|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      5|    }
  |  |  ------------------
  |  |11821|      5|                }
  |  |11822|     14|                next = PyStackRef_FromPyObjectSteal(next_o);
  |  |11823|     14|                null_or_index = PyStackRef_TagInt(index);
  |  |11824|     14|            }
  |  |11825|      0|            stack_pointer[-2] = null_or_index;
  |  |11826|     14|            stack_pointer[-1] = next;
  |  |11827|     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|    }
  |  |  ------------------
  |  |11828|     14|        }
  |  |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.28k|        TARGET(SET_FUNCTION_ATTRIBUTE) {
  |  |  ------------------
  |  |  |  |  132|  2.28k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11910|       |            #if _Py_TAIL_CALL_INTERP
  |  |11911|       |            int opcode = SET_FUNCTION_ATTRIBUTE;
  |  |11912|       |            (void)(opcode);
  |  |11913|       |            #endif
  |  |11914|  2.28k|            frame->instr_ptr = next_instr;
  |  |11915|  2.28k|            next_instr += 1;
  |  |11916|  2.28k|            INSTRUCTION_STATS(SET_FUNCTION_ATTRIBUTE);
  |  |  ------------------
  |  |  |  |   71|  2.28k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11917|  2.28k|            _PyStackRef attr_st;
  |  |11918|  2.28k|            _PyStackRef func_in;
  |  |11919|  2.28k|            _PyStackRef func_out;
  |  |11920|  2.28k|            func_in = stack_pointer[-1];
  |  |11921|  2.28k|            attr_st = stack_pointer[-2];
  |  |11922|  2.28k|            PyObject *func = PyStackRef_AsPyObjectBorrow(func_in);
  |  |11923|  2.28k|            PyObject *attr = PyStackRef_AsPyObjectSteal(attr_st);
  |  |11924|  2.28k|            func_out = func_in;
  |  |11925|  2.28k|            assert(PyFunction_Check(func));
  |  |  ------------------
  |  |  |  Branch (11925:13): [True: 2.28k, False: 0]
  |  |  ------------------
  |  |11926|  2.28k|            size_t offset = _Py_FunctionAttributeOffsets[oparg];
  |  |11927|  2.28k|            assert(offset != 0);
  |  |  ------------------
  |  |  |  Branch (11927:13): [True: 2.28k, False: 0]
  |  |  ------------------
  |  |11928|  2.28k|            PyObject **ptr = (PyObject **)(((char *)func) + offset);
  |  |11929|  2.28k|            assert(*ptr == NULL);
  |  |  ------------------
  |  |  |  Branch (11929:13): [True: 2.28k, False: 0]
  |  |  ------------------
  |  |11930|  2.28k|            *ptr = attr;
  |  |11931|  2.28k|            stack_pointer[-2] = func_out;
  |  |11932|  2.28k|            stack_pointer += -1;
  |  |11933|  2.28k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.28k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11934|  2.28k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.28k|    { \
  |  |  |  |  201|  2.28k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.28k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.28k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.28k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.28k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.28k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.28k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.28k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.28k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.28k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.28k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.28k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.28k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.28k|    }
  |  |  ------------------
  |  |11935|  2.28k|        }
  |  |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: 283, False: 3.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11997|    283|                    if (!PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|    283|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    283|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    283|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11997:25): [True: 283, False: 0]
  |  |  ------------------
  |  |11998|    283|                        PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|    283|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    283|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    283|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    283|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11998:42): [True: 283, False: 0]
  |  |  ------------------
  |  |11999|      0|                        next_instr = this_instr;
  |  |12000|    283|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12001|    283|                        _PyFrame_StackPointerValidate(frame);
  |  |12002|    283|                        _Py_Specialize_StoreAttr(owner, next_instr, name);
  |  |12003|    283|                        _PyFrame_StackPointerInvalidate(frame);
  |  |12004|    283|                        DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    283|    { \
  |  |  |  |  217|    283|        opcode = next_instr->op.code; \
  |  |  |  |  218|    283|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    283|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    283|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    283|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    283|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    283|    }
  |  |  ------------------
  |  |12005|    283|                    }
  |  |12006|    283|                }
  |  |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.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12014:34): [True: 3.24k, False: 283]
  |  |  ------------------
  |  |12015|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12016|  3.24k|                _PyFrame_StackPointerValidate(frame);
  |  |12017|  3.24k|                int err = PyObject_SetAttr(PyStackRef_AsPyObjectBorrow(owner),
  |  |12018|  3.24k|                                       name, PyStackRef_AsPyObjectBorrow(v));
  |  |12019|  3.24k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12020|  3.24k|                stack_pointer += -1;
  |  |12021|  3.24k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.24k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12022|  3.24k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12023|  3.24k|                _PyFrame_StackPointerValidate(frame);
  |  |12024|  3.24k|                PyStackRef_CLOSE(owner);
  |  |12025|  3.24k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12026|  3.24k|                stack_pointer += -1;
  |  |12027|  3.24k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  3.24k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12028|  3.24k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12029|  3.24k|                _PyFrame_StackPointerValidate(frame);
  |  |12030|  3.24k|                PyStackRef_XCLOSE(v);
  |  |12031|  3.24k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12032|  3.24k|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12032:21): [True: 0, False: 3.24k]
  |  |  ------------------
  |  |12033|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12034|      0|                }
  |  |12035|  3.24k|            }
  |  |12036|  3.24k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.24k|    { \
  |  |  |  |  201|  3.24k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.24k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.24k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.24k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.24k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.24k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.24k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.24k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.24k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.24k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.24k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.24k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.24k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.24k|    }
  |  |  ------------------
  |  |12037|  3.24k|        }
  |  |12038|       |
  |  |12039|   383k|        TARGET(STORE_ATTR_INSTANCE_VALUE) {
  |  |  ------------------
  |  |  |  |  132|   383k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12040|       |            #if _Py_TAIL_CALL_INTERP
  |  |12041|       |            int opcode = STORE_ATTR_INSTANCE_VALUE;
  |  |12042|       |            (void)(opcode);
  |  |12043|       |            #endif
  |  |12044|   383k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12045|   383k|            (void)this_instr;
  |  |12046|   383k|            frame->instr_ptr = next_instr;
  |  |12047|   383k|            next_instr += 5;
  |  |12048|   383k|            INSTRUCTION_STATS(STORE_ATTR_INSTANCE_VALUE);
  |  |  ------------------
  |  |  |  |   71|   383k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12049|   383k|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |12050|   383k|            _PyStackRef value;
  |  |12051|   383k|            _PyStackRef owner;
  |  |12052|   383k|            _PyStackRef o;
  |  |12053|       |            /* Skip 1 cache entry */
  |  |12054|       |            // _LOCK_OBJECT
  |  |12055|   383k|            {
  |  |12056|   383k|                value = stack_pointer[-1];
  |  |12057|   383k|                if (!LOCK_OBJECT(PyStackRef_AsPyObjectBorrow(value))) {
  |  |  ------------------
  |  |  |  |  322|   383k|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12057:21): [Folded, False: 383k]
  |  |  ------------------
  |  |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|   383k|            }
  |  |12063|       |            // _GUARD_TYPE_VERSION_LOCKED
  |  |12064|   383k|            {
  |  |12065|   383k|                owner = value;
  |  |12066|   383k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12067|   383k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12068|   383k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12068:17): [True: 383k, False: 0]
  |  |  ------------------
  |  |12069|   383k|                PyTypeObject *tp = Py_TYPE(owner_o);
  |  |  ------------------
  |  |  |  |  213|   383k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   383k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   383k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12070|   383k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|   383k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12070:21): [True: 652, False: 383k]
  |  |  ------------------
  |  |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|   383k|            }
  |  |12079|       |            // _GUARD_DORV_NO_DICT
  |  |12080|   383k|            {
  |  |12081|   383k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12082|   383k|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (12082:17): [True: 383k, False: 0]
  |  |  ------------------
  |  |12083|   383k|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (12083:17): [True: 383k, False: 0]
  |  |  ------------------
  |  |12084|   383k|                if (_PyObject_GetManagedDict(owner_o) ||
  |  |  ------------------
  |  |  |  Branch (12084:21): [True: 0, False: 383k]
  |  |  ------------------
  |  |12085|   383k|                    !FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  156|   383k|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (12085:21): [True: 0, False: 383k]
  |  |  ------------------
  |  |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|   383k|            }
  |  |12094|       |            // _STORE_ATTR_INSTANCE_VALUE
  |  |12095|   383k|            {
  |  |12096|   383k|                value = stack_pointer[-2];
  |  |12097|   383k|                uint16_t offset = read_u16(&this_instr[4].cache);
  |  |12098|   383k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12099|   383k|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|   383k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12100|   383k|                assert(_PyObject_GetManagedDict(owner_o) == NULL);
  |  |  ------------------
  |  |  |  Branch (12100:17): [True: 383k, False: 0]
  |  |  ------------------
  |  |12101|   383k|                PyObject **value_ptr = (PyObject**)(((char *)owner_o) + offset);
  |  |12102|   383k|                PyObject *old_value = *value_ptr;
  |  |12103|   383k|                FT_ATOMIC_STORE_PTR_RELEASE(*value_ptr, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  166|   383k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12104|   383k|                if (old_value == NULL) {
  |  |  ------------------
  |  |  |  Branch (12104:21): [True: 379k, False: 3.62k]
  |  |  ------------------
  |  |12105|   379k|                    PyDictValues *values = _PyObject_InlineValues(owner_o);
  |  |12106|   379k|                    Py_ssize_t index = value_ptr - values->values;
  |  |12107|   379k|                    _PyDictValues_AddToInsertionOrder(values, index);
  |  |12108|   379k|                }
  |  |12109|   383k|                UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|   383k|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12110|   383k|                o = owner;
  |  |12111|   383k|                stack_pointer[-2] = o;
  |  |12112|   383k|                stack_pointer += -1;
  |  |12113|   383k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   383k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12114|   383k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12115|   383k|                _PyFrame_StackPointerValidate(frame);
  |  |12116|   383k|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|   383k|    do { \
  |  |  |  |   70|   383k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   383k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   383k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|   383k|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 3.62k, False: 379k]
  |  |  |  |  ------------------
  |  |  |  |   72|  3.62k|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|  3.62k|    do { \
  |  |  |  |  |  |   81|  3.62k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|  3.62k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|  3.62k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  3.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  3.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 3.17k, False: 448]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|  3.17k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|  3.17k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|  3.17k|            break; \
  |  |  |  |  |  |   85|  3.17k|        } \
  |  |  |  |  |  |   86|  3.62k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|    448|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|    448|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 416, False: 32]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|    416|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  109|    416|    do { \
  |  |  |  |  |  |  |  |  110|    416|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  111|    416|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 416]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  |  |  115|    416|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 416]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|    416|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|    416|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|    416|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|    416|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|    416|            (*dealloc)(op); \
  |  |  |  |  |  |   91|    416|        } \
  |  |  |  |  |  |   92|    448|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 448]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|  3.62k|        } \
  |  |  |  |   74|   383k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 383k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12117|   383k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12118|   383k|            }
  |  |12119|       |            // _POP_TOP
  |  |12120|      0|            {
  |  |12121|   383k|                value = o;
  |  |12122|   383k|                stack_pointer += -1;
  |  |12123|   383k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|   383k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12124|   383k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12125|   383k|                _PyFrame_StackPointerValidate(frame);
  |  |12126|   383k|                PyStackRef_XCLOSE(value);
  |  |12127|   383k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12128|   383k|            }
  |  |12129|   383k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   383k|    { \
  |  |  |  |  201|   383k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   383k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   383k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   383k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   383k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   383k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   383k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   383k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 383k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   383k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   383k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   383k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   383k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   383k|    }
  |  |  ------------------
  |  |12130|   383k|        }
  |  |12131|       |
  |  |12132|    421|        TARGET(STORE_ATTR_SLOT) {
  |  |  ------------------
  |  |  |  |  132|    421|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12133|       |            #if _Py_TAIL_CALL_INTERP
  |  |12134|       |            int opcode = STORE_ATTR_SLOT;
  |  |12135|       |            (void)(opcode);
  |  |12136|       |            #endif
  |  |12137|    421|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12138|    421|            (void)this_instr;
  |  |12139|    421|            frame->instr_ptr = next_instr;
  |  |12140|    421|            next_instr += 5;
  |  |12141|    421|            INSTRUCTION_STATS(STORE_ATTR_SLOT);
  |  |  ------------------
  |  |  |  |   71|    421|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12142|    421|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |12143|    421|            _PyStackRef owner;
  |  |12144|    421|            _PyStackRef value;
  |  |12145|    421|            _PyStackRef o;
  |  |12146|       |            /* Skip 1 cache entry */
  |  |12147|       |            // _GUARD_TYPE_VERSION
  |  |12148|    421|            {
  |  |12149|    421|                owner = stack_pointer[-1];
  |  |12150|    421|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12151|    421|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|    421|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    421|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    421|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12152|    421|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12152:17): [True: 421, False: 0]
  |  |  ------------------
  |  |12153|    421|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|    421|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12153:21): [True: 0, False: 421]
  |  |  ------------------
  |  |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|    421|            }
  |  |12159|       |            // _STORE_ATTR_SLOT
  |  |12160|    421|            {
  |  |12161|    421|                value = stack_pointer[-2];
  |  |12162|    421|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |12163|    421|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12164|    421|                if (!LOCK_OBJECT(owner_o)) {
  |  |  ------------------
  |  |  |  |  322|    421|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12164:21): [Folded, False: 421]
  |  |  ------------------
  |  |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|    421|                char *addr = (char *)owner_o + index;
  |  |12170|    421|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    421|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12171|    421|                PyObject *old_value = *(PyObject **)addr;
  |  |12172|    421|                FT_ATOMIC_STORE_PTR_RELEASE(*(PyObject **)addr, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  166|    421|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12173|    421|                UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|    421|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12174|    421|                o = owner;
  |  |12175|    421|                stack_pointer[-2] = o;
  |  |12176|    421|                stack_pointer += -1;
  |  |12177|    421|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    421|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12178|    421|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12179|    421|                _PyFrame_StackPointerValidate(frame);
  |  |12180|    421|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|    421|    do { \
  |  |  |  |   70|    421|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    421|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    421|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|    421|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 0, False: 421]
  |  |  |  |  ------------------
  |  |  |  |   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|    421|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 421]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12181|    421|                _PyFrame_StackPointerInvalidate(frame);
  |  |12182|    421|            }
  |  |12183|       |            // _POP_TOP
  |  |12184|      0|            {
  |  |12185|    421|                value = o;
  |  |12186|    421|                stack_pointer += -1;
  |  |12187|    421|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    421|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12188|    421|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12189|    421|                _PyFrame_StackPointerValidate(frame);
  |  |12190|    421|                PyStackRef_XCLOSE(value);
  |  |12191|    421|                _PyFrame_StackPointerInvalidate(frame);
  |  |12192|    421|            }
  |  |12193|    421|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    421|    { \
  |  |  |  |  201|    421|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    421|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    421|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    421|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    421|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    421|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    421|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    421|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 421]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    421|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    421|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    421|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    421|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    421|    }
  |  |  ------------------
  |  |12194|    421|        }
  |  |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|  10.1k|        TARGET(STORE_DEREF) {
  |  |  ------------------
  |  |  |  |  132|  10.1k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12299|       |            #if _Py_TAIL_CALL_INTERP
  |  |12300|       |            int opcode = STORE_DEREF;
  |  |12301|       |            (void)(opcode);
  |  |12302|       |            #endif
  |  |12303|  10.1k|            frame->instr_ptr = next_instr;
  |  |12304|  10.1k|            next_instr += 1;
  |  |12305|  10.1k|            INSTRUCTION_STATS(STORE_DEREF);
  |  |  ------------------
  |  |  |  |   71|  10.1k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12306|  10.1k|            _PyStackRef v;
  |  |12307|  10.1k|            v = stack_pointer[-1];
  |  |12308|  10.1k|            PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  10.1k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12309|  10.1k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12310|  10.1k|            _PyFrame_StackPointerValidate(frame);
  |  |12311|  10.1k|            PyCell_SetTakeRef(cell, PyStackRef_AsPyObjectSteal(v));
  |  |12312|  10.1k|            _PyFrame_StackPointerInvalidate(frame);
  |  |12313|  10.1k|            stack_pointer += -1;
  |  |12314|  10.1k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  10.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12315|  10.1k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  10.1k|    { \
  |  |  |  |  201|  10.1k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  10.1k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  10.1k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  10.1k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  10.1k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  10.1k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  10.1k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  10.1k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 10.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  10.1k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  10.1k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  10.1k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  10.1k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  10.1k|    }
  |  |  ------------------
  |  |12316|  10.1k|        }
  |  |12317|       |
  |  |12318|  22.5M|        TARGET(STORE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  22.5M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12319|       |            #if _Py_TAIL_CALL_INTERP
  |  |12320|       |            int opcode = STORE_FAST;
  |  |12321|       |            (void)(opcode);
  |  |12322|       |            #endif
  |  |12323|  22.5M|            frame->instr_ptr = next_instr;
  |  |12324|  22.5M|            next_instr += 1;
  |  |12325|  22.5M|            INSTRUCTION_STATS(STORE_FAST);
  |  |  ------------------
  |  |  |  |   71|  22.5M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12326|  22.5M|            _PyStackRef value;
  |  |12327|  22.5M|            _PyStackRef trash;
  |  |12328|       |            // _SWAP_FAST
  |  |12329|  22.5M|            {
  |  |12330|  22.5M|                value = stack_pointer[-1];
  |  |12331|  22.5M|                _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  22.5M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12332|  22.5M|                GETLOCAL(oparg) = value;
  |  |  ------------------
  |  |  |  |  285|  22.5M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12333|  22.5M|                trash = tmp;
  |  |12334|  22.5M|            }
  |  |12335|       |            // _POP_TOP
  |  |12336|  22.5M|            {
  |  |12337|  22.5M|                value = trash;
  |  |12338|  22.5M|                stack_pointer += -1;
  |  |12339|  22.5M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  22.5M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12340|  22.5M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12341|  22.5M|                _PyFrame_StackPointerValidate(frame);
  |  |12342|  22.5M|                PyStackRef_XCLOSE(value);
  |  |12343|  22.5M|                _PyFrame_StackPointerInvalidate(frame);
  |  |12344|  22.5M|            }
  |  |12345|  22.5M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  22.5M|    { \
  |  |  |  |  201|  22.5M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  22.5M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  22.5M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  22.5M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  22.5M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  22.5M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  22.5M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  22.5M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 22.5M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  22.5M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  22.5M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  22.5M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  22.5M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  22.5M|    }
  |  |  ------------------
  |  |12346|  22.5M|        }
  |  |12347|       |
  |  |12348|  22.5M|        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|  1.17M|        TARGET(STORE_FAST_STORE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  1.17M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12373|       |            #if _Py_TAIL_CALL_INTERP
  |  |12374|       |            int opcode = STORE_FAST_STORE_FAST;
  |  |12375|       |            (void)(opcode);
  |  |12376|       |            #endif
  |  |12377|  1.17M|            frame->instr_ptr = next_instr;
  |  |12378|  1.17M|            next_instr += 1;
  |  |12379|  1.17M|            INSTRUCTION_STATS(STORE_FAST_STORE_FAST);
  |  |  ------------------
  |  |  |  |   71|  1.17M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12380|  1.17M|            _PyStackRef value2;
  |  |12381|  1.17M|            _PyStackRef value1;
  |  |12382|  1.17M|            value1 = stack_pointer[-1];
  |  |12383|  1.17M|            value2 = stack_pointer[-2];
  |  |12384|  1.17M|            uint32_t oparg1 = oparg >> 4;
  |  |12385|  1.17M|            uint32_t oparg2 = oparg & 15;
  |  |12386|  1.17M|            _PyStackRef tmp = GETLOCAL(oparg1);
  |  |  ------------------
  |  |  |  |  285|  1.17M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12387|  1.17M|            GETLOCAL(oparg1) = value1;
  |  |  ------------------
  |  |  |  |  285|  1.17M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12388|  1.17M|            stack_pointer += -1;
  |  |12389|  1.17M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.17M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12390|  1.17M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12391|  1.17M|            _PyFrame_StackPointerValidate(frame);
  |  |12392|  1.17M|            PyStackRef_XCLOSE(tmp);
  |  |12393|  1.17M|            _PyFrame_StackPointerInvalidate(frame);
  |  |12394|  1.17M|            tmp = GETLOCAL(oparg2);
  |  |  ------------------
  |  |  |  |  285|  1.17M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12395|  1.17M|            GETLOCAL(oparg2) = value2;
  |  |  ------------------
  |  |  |  |  285|  1.17M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12396|  1.17M|            stack_pointer += -1;
  |  |12397|  1.17M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.17M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12398|  1.17M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12399|  1.17M|            _PyFrame_StackPointerValidate(frame);
  |  |12400|  1.17M|            PyStackRef_XCLOSE(tmp);
  |  |12401|  1.17M|            _PyFrame_StackPointerInvalidate(frame);
  |  |12402|  1.17M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.17M|    { \
  |  |  |  |  201|  1.17M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.17M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.17M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.17M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.17M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.17M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.17M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.17M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.17M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.17M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.17M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.17M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.17M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.17M|    }
  |  |  ------------------
  |  |12403|  1.17M|        }
  |  |12404|       |
  |  |12405|  1.17M|        TARGET(STORE_GLOBAL) {
  |  |  ------------------
  |  |  |  |  132|     47|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12406|       |            #if _Py_TAIL_CALL_INTERP
  |  |12407|       |            int opcode = STORE_GLOBAL;
  |  |12408|       |            (void)(opcode);
  |  |12409|       |            #endif
  |  |12410|     47|            frame->instr_ptr = next_instr;
  |  |12411|     47|            next_instr += 1;
  |  |12412|     47|            INSTRUCTION_STATS(STORE_GLOBAL);
  |  |  ------------------
  |  |  |  |   71|     47|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12413|     47|            _PyStackRef v;
  |  |12414|     47|            v = stack_pointer[-1];
  |  |12415|     47|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|     47|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|     47|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|     47|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12415:30): [True: 47, False: 0]
  |  |  ------------------
  |  |12416|      0|            int err;
  |  |12417|     47|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|     47|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     47|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     47|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12418|      0|                stack_pointer += -1;
  |  |12419|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12420|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12421|      0|                _PyFrame_StackPointerValidate(frame);
  |  |12422|      0|                err = PyDict_Pop(GLOBALS(), name, NULL);
  |  |  ------------------
  |  |  |  |  326|      0|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |12423|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |12424|      0|                if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (12424:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12425|      0|                    err = -1;
  |  |12426|      0|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12426:21): [True: 0, False: 0]
  |  |  ------------------
  |  |12427|      0|                    _PyFrame_StackPointerValidate(frame);
  |  |12428|      0|                    _PyEval_FormatExcCheckArg(tstate, PyExc_NameError,
  |  |12429|      0|                        NAME_ERROR_MSG, name);
  |  |  ------------------
  |  |  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  |  |  ------------------
  |  |12430|      0|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12431|      0|                }
  |  |12432|      0|            }
  |  |12433|     47|            else {
  |  |12434|     47|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12435|     47|                _PyFrame_StackPointerValidate(frame);
  |  |12436|     47|                err = PyDict_SetItem(GLOBALS(), name, PyStackRef_AsPyObjectBorrow(v));
  |  |  ------------------
  |  |  |  |  326|     47|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |12437|     47|                _PyFrame_StackPointerInvalidate(frame);
  |  |12438|     47|                stack_pointer += -1;
  |  |12439|     47|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     47|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12440|     47|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12441|     47|                _PyFrame_StackPointerValidate(frame);
  |  |12442|     47|                PyStackRef_CLOSE(v);
  |  |12443|     47|                _PyFrame_StackPointerInvalidate(frame);
  |  |12444|     47|            }
  |  |12445|     47|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (12445:17): [True: 0, False: 47]
  |  |  ------------------
  |  |12446|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12447|      0|            }
  |  |12448|     47|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     47|    { \
  |  |  |  |  201|     47|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     47|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     47|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     47|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     47|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     47|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     47|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     47|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 47]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     47|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     47|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     47|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     47|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     47|    }
  |  |  ------------------
  |  |12449|     47|        }
  |  |12450|       |
  |  |12451|  8.97k|        TARGET(STORE_NAME) {
  |  |  ------------------
  |  |  |  |  132|  8.97k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12452|       |            #if _Py_TAIL_CALL_INTERP
  |  |12453|       |            int opcode = STORE_NAME;
  |  |12454|       |            (void)(opcode);
  |  |12455|       |            #endif
  |  |12456|  8.97k|            frame->instr_ptr = next_instr;
  |  |12457|  8.97k|            next_instr += 1;
  |  |12458|  8.97k|            INSTRUCTION_STATS(STORE_NAME);
  |  |  ------------------
  |  |  |  |   71|  8.97k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12459|  8.97k|            _PyStackRef v;
  |  |12460|  8.97k|            v = stack_pointer[-1];
  |  |12461|  8.97k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  8.97k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  8.97k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  8.97k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12461:30): [True: 8.97k, False: 0]
  |  |  ------------------
  |  |12462|  8.97k|            PyObject *ns = LOCALS();
  |  |  ------------------
  |  |  |  |  328|  8.97k|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |12463|  8.97k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12464|  8.97k|            _PyFrame_StackPointerValidate(frame);
  |  |12465|  8.97k|            int error = _PyEval_StoreName(tstate, v, name, ns);
  |  |12466|  8.97k|            _PyFrame_StackPointerInvalidate(frame);
  |  |12467|  8.97k|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|  8.97k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  8.97k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  8.97k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 42, False: 8.93k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12468|     42|            }
  |  |12469|  8.93k|            else {
  |  |12470|  8.93k|                stack_pointer += -1;
  |  |12471|  8.93k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  8.93k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12472|  8.93k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12473|  8.93k|                _PyFrame_StackPointerValidate(frame);
  |  |12474|  8.93k|                PyStackRef_CLOSE(v);
  |  |12475|  8.93k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12476|  8.93k|                stack_pointer += 1;
  |  |12477|  8.93k|            }
  |  |12478|  8.97k|            if (error) {
  |  |  ------------------
  |  |  |  Branch (12478:17): [True: 0, False: 8.97k]
  |  |  ------------------
  |  |12479|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12480|      0|            }
  |  |12481|  8.97k|            stack_pointer += -1;
  |  |12482|  8.97k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  8.97k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12483|  8.97k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  8.97k|    { \
  |  |  |  |  201|  8.97k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  8.97k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  8.97k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  8.97k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  8.97k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  8.97k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  8.97k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  8.97k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 8.97k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  8.97k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  8.97k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  8.97k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  8.97k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  8.97k|    }
  |  |  ------------------
  |  |12484|  8.97k|        }
  |  |12485|       |
  |  |12486|      1|        TARGET(STORE_SLICE) {
  |  |  ------------------
  |  |  |  |  132|      1|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12487|       |            #if _Py_TAIL_CALL_INTERP
  |  |12488|       |            int opcode = STORE_SLICE;
  |  |12489|       |            (void)(opcode);
  |  |12490|       |            #endif
  |  |12491|      1|            frame->instr_ptr = next_instr;
  |  |12492|      1|            next_instr += 1;
  |  |12493|      1|            INSTRUCTION_STATS(STORE_SLICE);
  |  |  ------------------
  |  |  |  |   71|      1|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12494|      1|            _PyStackRef v;
  |  |12495|      1|            _PyStackRef container;
  |  |12496|      1|            _PyStackRef start;
  |  |12497|      1|            _PyStackRef stop;
  |  |12498|       |            // _SPECIALIZE_STORE_SLICE
  |  |12499|      1|            {
  |  |12500|      1|                #if ENABLE_SPECIALIZATION
  |  |12501|      1|                OPCODE_DEFERRED_INC(STORE_SLICE);
  |  |  ------------------
  |  |  |  |   90|      1|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12502|      1|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12503|      1|            }
  |  |12504|       |            // _STORE_SLICE
  |  |12505|      1|            {
  |  |12506|      1|                stop = stack_pointer[-1];
  |  |12507|      1|                start = stack_pointer[-2];
  |  |12508|      1|                container = stack_pointer[-3];
  |  |12509|      1|                v = stack_pointer[-4];
  |  |12510|      1|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12511|      1|                _PyFrame_StackPointerValidate(frame);
  |  |12512|      1|                PyObject *slice = _PyBuildSlice_ConsumeRefs(PyStackRef_AsPyObjectSteal(start),
  |  |12513|      1|                    PyStackRef_AsPyObjectSteal(stop),
  |  |12514|      1|                    Py_None);
  |  |  ------------------
  |  |  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  |  |12515|      1|                _PyFrame_StackPointerInvalidate(frame);
  |  |12516|      1|                int err;
  |  |12517|      1|                if (slice == NULL) {
  |  |  ------------------
  |  |  |  Branch (12517:21): [True: 0, False: 1]
  |  |  ------------------
  |  |12518|      0|                    err = 1;
  |  |12519|      0|                }
  |  |12520|      1|                else {
  |  |12521|      1|                    stack_pointer += -2;
  |  |12522|      1|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      1|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12523|      1|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12524|      1|                    _PyFrame_StackPointerValidate(frame);
  |  |12525|      1|                    err = PyObject_SetItem(PyStackRef_AsPyObjectBorrow(container), slice, PyStackRef_AsPyObjectBorrow(v));
  |  |12526|      1|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12527|      1|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12527:21): [True: 1, False: 0]
  |  |  ------------------
  |  |12528|      1|                    _PyFrame_StackPointerValidate(frame);
  |  |12529|      1|                    Py_DECREF(slice);
  |  |  ------------------
  |  |  |  |   80|      1|    do { \
  |  |  |  |   81|      1|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      1|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      1|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      1|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      1|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      1|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|      1|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|      1|    do { \
  |  |  |  |  |  |  110|      1|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|      1|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|      1|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|      1|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|      1|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|      1|            (*dealloc)(op); \
  |  |  |  |   91|      1|        } \
  |  |  |  |   92|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12530|      1|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12531|      1|                    stack_pointer += 2;
  |  |12532|      1|                }
  |  |12533|      1|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12534|      1|                _PyFrame_StackPointerValidate(frame);
  |  |12535|      1|                _PyStackRef tmp = container;
  |  |12536|      1|                container = PyStackRef_NULL;
  |  |12537|      1|                stack_pointer[-3] = container;
  |  |12538|      1|                PyStackRef_CLOSE(tmp);
  |  |12539|      1|                _PyFrame_StackPointerInvalidate(frame);
  |  |12540|      1|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12540:17): [True: 1, False: 0]
  |  |  ------------------
  |  |12541|      1|                _PyFrame_StackPointerValidate(frame);
  |  |12542|      1|                tmp = v;
  |  |12543|      1|                v = PyStackRef_NULL;
  |  |12544|      1|                stack_pointer[-4] = v;
  |  |12545|      1|                PyStackRef_CLOSE(tmp);
  |  |12546|      1|                _PyFrame_StackPointerInvalidate(frame);
  |  |12547|      1|                stack_pointer += -4;
  |  |12548|      1|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|      1|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12549|      1|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12549:21): [True: 0, False: 1]
  |  |  ------------------
  |  |12550|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12551|      0|                }
  |  |12552|      1|            }
  |  |12553|      1|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      1|    { \
  |  |  |  |  201|      1|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      1|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      1|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      1|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      1|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      1|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      1|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      1|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      1|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      1|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      1|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      1|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      1|    }
  |  |  ------------------
  |  |12554|      1|        }
  |  |12555|       |
  |  |12556|    922|        TARGET(STORE_SUBSCR) {
  |  |  ------------------
  |  |  |  |  132|    922|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12557|       |            #if _Py_TAIL_CALL_INTERP
  |  |12558|       |            int opcode = STORE_SUBSCR;
  |  |12559|       |            (void)(opcode);
  |  |12560|       |            #endif
  |  |12561|    922|            frame->instr_ptr = next_instr;
  |  |12562|    922|            next_instr += 2;
  |  |12563|    922|            INSTRUCTION_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |   71|    922|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12564|    922|            PREDICTED_STORE_SUBSCR:;
  |  |12565|    922|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |12566|    922|            (void)this_instr;
  |  |12567|    922|            _PyStackRef container;
  |  |12568|    922|            _PyStackRef sub;
  |  |12569|    922|            _PyStackRef v;
  |  |12570|       |            // _SPECIALIZE_STORE_SUBSCR
  |  |12571|    922|            {
  |  |12572|    922|                sub = stack_pointer[-1];
  |  |12573|    922|                container = stack_pointer[-2];
  |  |12574|    922|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12575|    922|                (void)counter;
  |  |12576|    922|                #if ENABLE_SPECIALIZATION
  |  |12577|    922|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    922|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 95, False: 827]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12578|     95|                    next_instr = this_instr;
  |  |12579|     95|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12580|     95|                    _PyFrame_StackPointerValidate(frame);
  |  |12581|     95|                    _Py_Specialize_StoreSubscr(container, sub, next_instr);
  |  |12582|     95|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12583|     95|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     95|    { \
  |  |  |  |  217|     95|        opcode = next_instr->op.code; \
  |  |  |  |  218|     95|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     95|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     95|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     95|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     95|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     95|    }
  |  |  ------------------
  |  |12584|     95|                }
  |  |12585|    922|                OPCODE_DEFERRED_INC(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |   90|    922|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12586|    922|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    922|    do { \
  |  |  |  |  378|    922|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    922|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 922]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12587|    922|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12588|    922|            }
  |  |12589|       |            // _STORE_SUBSCR
  |  |12590|    922|            {
  |  |12591|    922|                v = stack_pointer[-3];
  |  |12592|    922|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12593|    922|                _PyFrame_StackPointerValidate(frame);
  |  |12594|    922|                int err = PyObject_SetItem(PyStackRef_AsPyObjectBorrow(container), PyStackRef_AsPyObjectBorrow(sub), PyStackRef_AsPyObjectBorrow(v));
  |  |12595|    922|                _PyFrame_StackPointerInvalidate(frame);
  |  |12596|    922|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12596:17): [True: 827, False: 95]
  |  |  ------------------
  |  |12597|    827|                _PyFrame_StackPointerValidate(frame);
  |  |12598|    827|                _PyStackRef tmp = sub;
  |  |12599|    827|                sub = PyStackRef_NULL;
  |  |12600|    827|                stack_pointer[-1] = sub;
  |  |12601|    827|                PyStackRef_CLOSE(tmp);
  |  |12602|    827|                _PyFrame_StackPointerInvalidate(frame);
  |  |12603|    827|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12603:17): [True: 827, False: 0]
  |  |  ------------------
  |  |12604|    827|                _PyFrame_StackPointerValidate(frame);
  |  |12605|    827|                tmp = container;
  |  |12606|    827|                container = PyStackRef_NULL;
  |  |12607|    827|                stack_pointer[-2] = container;
  |  |12608|    827|                PyStackRef_CLOSE(tmp);
  |  |12609|    827|                _PyFrame_StackPointerInvalidate(frame);
  |  |12610|    827|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12610:17): [True: 827, False: 0]
  |  |  ------------------
  |  |12611|    827|                _PyFrame_StackPointerValidate(frame);
  |  |12612|    827|                tmp = v;
  |  |12613|    827|                v = PyStackRef_NULL;
  |  |12614|    827|                stack_pointer[-3] = v;
  |  |12615|    827|                PyStackRef_CLOSE(tmp);
  |  |12616|    827|                _PyFrame_StackPointerInvalidate(frame);
  |  |12617|    827|                stack_pointer += -3;
  |  |12618|    827|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    827|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12619|    827|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12619:21): [True: 2, False: 825]
  |  |  ------------------
  |  |12620|      2|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12621|      0|                }
  |  |12622|    827|            }
  |  |12623|    825|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    825|    { \
  |  |  |  |  201|    825|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    825|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    825|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    825|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    825|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    825|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    825|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    825|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 825]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    825|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    825|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    825|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    825|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    825|    }
  |  |  ------------------
  |  |12624|    825|        }
  |  |12625|       |
  |  |12626|  2.37k|        TARGET(STORE_SUBSCR_DICT) {
  |  |  ------------------
  |  |  |  |  132|  2.37k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12627|       |            #if _Py_TAIL_CALL_INTERP
  |  |12628|       |            int opcode = STORE_SUBSCR_DICT;
  |  |12629|       |            (void)(opcode);
  |  |12630|       |            #endif
  |  |12631|  2.37k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12632|  2.37k|            (void)this_instr;
  |  |12633|  2.37k|            frame->instr_ptr = next_instr;
  |  |12634|  2.37k|            next_instr += 2;
  |  |12635|  2.37k|            INSTRUCTION_STATS(STORE_SUBSCR_DICT);
  |  |  ------------------
  |  |  |  |   71|  2.37k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12636|  2.37k|            static_assert(INLINE_CACHE_ENTRIES_STORE_SUBSCR == 1, "incorrect cache size");
  |  |12637|  2.37k|            _PyStackRef nos;
  |  |12638|  2.37k|            _PyStackRef value;
  |  |12639|  2.37k|            _PyStackRef dict_st;
  |  |12640|  2.37k|            _PyStackRef sub;
  |  |12641|  2.37k|            _PyStackRef st;
  |  |12642|       |            // _GUARD_NOS_DICT_STORE_SUBSCRIPT
  |  |12643|  2.37k|            {
  |  |12644|  2.37k|                nos = stack_pointer[-2];
  |  |12645|  2.37k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |12646|  2.37k|                if (!Py_TYPE(o)->tp_as_mapping) {
  |  |  ------------------
  |  |  |  |  213|  2.37k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12646:21): [True: 0, False: 2.37k]
  |  |  ------------------
  |  |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.37k|                if (Py_TYPE(o)->tp_as_mapping->mp_ass_subscript != _PyDict_StoreSubscript) {
  |  |  ------------------
  |  |  |  |  213|  2.37k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12651:21): [True: 0, False: 2.37k]
  |  |  ------------------
  |  |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.37k|            }
  |  |12657|       |            /* Skip 1 cache entry */
  |  |12658|       |            // _STORE_SUBSCR_DICT
  |  |12659|  2.37k|            {
  |  |12660|  2.37k|                sub = stack_pointer[-1];
  |  |12661|  2.37k|                dict_st = nos;
  |  |12662|  2.37k|                value = stack_pointer[-3];
  |  |12663|  2.37k|                PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |12664|  2.37k|                assert(Py_TYPE(dict)->tp_as_mapping->mp_ass_subscript == _PyDict_StoreSubscript);
  |  |  ------------------
  |  |  |  Branch (12664:17): [True: 2.37k, False: 0]
  |  |  ------------------
  |  |12665|  2.37k|                STAT_INC(STORE_SUBSCR, hit);
  |  |  ------------------
  |  |  |  |   73|  2.37k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12666|  2.37k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12667|  2.37k|                _PyFrame_StackPointerValidate(frame);
  |  |12668|  2.37k|                int err = _PyDict_SetItem_Take2((PyDictObject *)dict,
  |  |12669|  2.37k|                    PyStackRef_AsPyObjectSteal(sub),
  |  |12670|  2.37k|                    PyStackRef_AsPyObjectSteal(value));
  |  |12671|  2.37k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12672|  2.37k|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12672:21): [True: 0, False: 2.37k]
  |  |  ------------------
  |  |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.37k|                st = dict_st;
  |  |12682|  2.37k|            }
  |  |12683|       |            // _POP_TOP
  |  |12684|      0|            {
  |  |12685|  2.37k|                value = st;
  |  |12686|  2.37k|                stack_pointer += -3;
  |  |12687|  2.37k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  2.37k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12688|  2.37k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12689|  2.37k|                _PyFrame_StackPointerValidate(frame);
  |  |12690|  2.37k|                PyStackRef_XCLOSE(value);
  |  |12691|  2.37k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12692|  2.37k|            }
  |  |12693|  2.37k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.37k|    { \
  |  |  |  |  201|  2.37k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.37k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.37k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.37k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.37k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.37k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.37k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.37k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.37k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.37k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.37k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.37k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.37k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.37k|    }
  |  |  ------------------
  |  |12694|  2.37k|        }
  |  |12695|       |
  |  |12696|    273|        TARGET(STORE_SUBSCR_LIST_INT) {
  |  |  ------------------
  |  |  |  |  132|    273|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12697|       |            #if _Py_TAIL_CALL_INTERP
  |  |12698|       |            int opcode = STORE_SUBSCR_LIST_INT;
  |  |12699|       |            (void)(opcode);
  |  |12700|       |            #endif
  |  |12701|    273|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12702|    273|            (void)this_instr;
  |  |12703|    273|            frame->instr_ptr = next_instr;
  |  |12704|    273|            next_instr += 2;
  |  |12705|    273|            INSTRUCTION_STATS(STORE_SUBSCR_LIST_INT);
  |  |  ------------------
  |  |  |  |   71|    273|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12706|    273|            static_assert(INLINE_CACHE_ENTRIES_STORE_SUBSCR == 1, "incorrect cache size");
  |  |12707|    273|            _PyStackRef value;
  |  |12708|    273|            _PyStackRef nos;
  |  |12709|    273|            _PyStackRef list_st;
  |  |12710|    273|            _PyStackRef sub_st;
  |  |12711|    273|            _PyStackRef ls;
  |  |12712|    273|            _PyStackRef ss;
  |  |12713|       |            // _GUARD_TOS_INT
  |  |12714|    273|            {
  |  |12715|    273|                value = stack_pointer[-1];
  |  |12716|    273|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12717|    273|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (12717:21): [True: 0, False: 273]
  |  |  ------------------
  |  |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|    273|            }
  |  |12723|       |            // _GUARD_NOS_LIST
  |  |12724|    273|            {
  |  |12725|    273|                nos = stack_pointer[-2];
  |  |12726|    273|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |12727|    273|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|    273|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    273|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    273|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    273|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12727:21): [True: 0, False: 273]
  |  |  ------------------
  |  |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|    273|            }
  |  |12733|       |            /* Skip 1 cache entry */
  |  |12734|       |            // _STORE_SUBSCR_LIST_INT
  |  |12735|    273|            {
  |  |12736|    273|                sub_st = value;
  |  |12737|    273|                list_st = nos;
  |  |12738|    273|                value = stack_pointer[-3];
  |  |12739|    273|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |12740|    273|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |12741|    273|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (12741:17): [True: 273, False: 0]
  |  |  ------------------
  |  |12742|    273|                assert(PyList_CheckExact(list));
  |  |  ------------------
  |  |  |  Branch (12742:17): [True: 273, False: 0]
  |  |  ------------------
  |  |12743|    273|                Py_ssize_t index = _PyLong_CompactValue((PyLongObject *)sub);
  |  |12744|    273|                if (!LOCK_OBJECT(list)) {
  |  |  ------------------
  |  |  |  |  322|    273|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12744:21): [Folded, False: 273]
  |  |  ------------------
  |  |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|    273|                Py_ssize_t len = PyList_GET_SIZE(list);
  |  |  ------------------
  |  |  |  |   38|    273|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    273|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    273|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12750|    273|                if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (12750:21): [True: 0, False: 273]
  |  |  ------------------
  |  |12751|      0|                    index += len;
  |  |12752|      0|                }
  |  |12753|    273|                if (index < 0 || index >= len) {
  |  |  ------------------
  |  |  |  Branch (12753:21): [True: 0, False: 273]
  |  |  |  Branch (12753:34): [True: 0, False: 273]
  |  |  ------------------
  |  |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|    273|                STAT_INC(STORE_SUBSCR, hit);
  |  |  ------------------
  |  |  |  |   73|    273|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12762|    273|                PyObject *old_value = PyList_GET_ITEM(list, index);
  |  |  ------------------
  |  |  |  |   40|    273|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|    273|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    273|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12762:39): [True: 273, False: 0]
  |  |  ------------------
  |  |12763|    273|                FT_ATOMIC_STORE_PTR_RELEASE(_PyList_ITEMS(list)[index],
  |  |  ------------------
  |  |  |  |  166|    546|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (166:55): [True: 273, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12764|    273|                                        PyStackRef_AsPyObjectSteal(value));
  |  |12765|    273|                assert(old_value != NULL);
  |  |  ------------------
  |  |  |  Branch (12765:17): [True: 273, False: 0]
  |  |  ------------------
  |  |12766|    273|                UNLOCK_OBJECT(list);
  |  |  ------------------
  |  |  |  |  323|    273|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12767|    273|                ls = list_st;
  |  |12768|    273|                ss = sub_st;
  |  |12769|    273|                stack_pointer[-3] = ls;
  |  |12770|    273|                stack_pointer[-2] = ss;
  |  |12771|    273|                stack_pointer += -1;
  |  |12772|    273|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    273|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12773|    273|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12774|    273|                _PyFrame_StackPointerValidate(frame);
  |  |12775|    273|                Py_DECREF(old_value);
  |  |  ------------------
  |  |  |  |   80|    273|    do { \
  |  |  |  |   81|    273|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    273|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    273|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|    273|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|    273|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    273|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    273|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 273, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|    273|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|    273|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|    273|            break; \
  |  |  |  |   85|    273|        } \
  |  |  |  |   86|    273|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      0|#  define _Py_DECREF_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|    273|                _PyFrame_StackPointerInvalidate(frame);
  |  |12777|    273|            }
  |  |12778|       |            // _POP_TOP_INT
  |  |12779|      0|            {
  |  |12780|    273|                value = ss;
  |  |12781|    273|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (12781:17): [True: 273, False: 0]
  |  |  ------------------
  |  |12782|    273|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |12783|    273|            }
  |  |12784|       |            // _POP_TOP
  |  |12785|      0|            {
  |  |12786|    273|                value = ls;
  |  |12787|    273|                stack_pointer += -2;
  |  |12788|    273|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    273|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12789|    273|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12790|    273|                _PyFrame_StackPointerValidate(frame);
  |  |12791|    273|                PyStackRef_XCLOSE(value);
  |  |12792|    273|                _PyFrame_StackPointerInvalidate(frame);
  |  |12793|    273|            }
  |  |12794|    273|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    273|    { \
  |  |  |  |  201|    273|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    273|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    273|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    273|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    273|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    273|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    273|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    273|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 273]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    273|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    273|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    273|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    273|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    273|    }
  |  |  ------------------
  |  |12795|    273|        }
  |  |12796|       |
  |  |12797|  1.09M|        TARGET(SWAP) {
  |  |  ------------------
  |  |  |  |  132|  1.09M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12798|       |            #if _Py_TAIL_CALL_INTERP
  |  |12799|       |            int opcode = SWAP;
  |  |12800|       |            (void)(opcode);
  |  |12801|       |            #endif
  |  |12802|  1.09M|            frame->instr_ptr = next_instr;
  |  |12803|  1.09M|            next_instr += 1;
  |  |12804|  1.09M|            INSTRUCTION_STATS(SWAP);
  |  |  ------------------
  |  |  |  |   71|  1.09M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12805|  1.09M|            _PyStackRef bottom;
  |  |12806|  1.09M|            _PyStackRef top;
  |  |12807|  1.09M|            top = stack_pointer[-1];
  |  |12808|  1.09M|            bottom = stack_pointer[-2 - (oparg-2)];
  |  |12809|  1.09M|            _PyStackRef temp = bottom;
  |  |12810|  1.09M|            bottom = top;
  |  |12811|  1.09M|            top = temp;
  |  |12812|  1.09M|            stack_pointer[-2 - (oparg-2)] = bottom;
  |  |12813|  1.09M|            stack_pointer[-1] = top;
  |  |12814|  1.09M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.09M|    { \
  |  |  |  |  201|  1.09M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.09M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.09M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.09M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.09M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.09M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.09M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.09M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.09M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.09M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.09M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.09M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.09M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.09M|    }
  |  |  ------------------
  |  |12815|  1.09M|        }
  |  |12816|       |
  |  |12817|  1.09M|        TARGET(TO_BOOL) {
  |  |  ------------------
  |  |  |  |  132|  68.7k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12818|       |            #if _Py_TAIL_CALL_INTERP
  |  |12819|       |            int opcode = TO_BOOL;
  |  |12820|       |            (void)(opcode);
  |  |12821|       |            #endif
  |  |12822|  68.7k|            frame->instr_ptr = next_instr;
  |  |12823|  68.7k|            next_instr += 4;
  |  |12824|  68.7k|            INSTRUCTION_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |   71|  68.7k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12825|  69.2k|            PREDICTED_TO_BOOL:;
  |  |12826|  69.2k|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  |12827|  69.2k|            (void)this_instr;
  |  |12828|  69.2k|            _PyStackRef value;
  |  |12829|  69.2k|            _PyStackRef res;
  |  |12830|       |            // _SPECIALIZE_TO_BOOL
  |  |12831|  69.2k|            {
  |  |12832|  69.2k|                value = stack_pointer[-1];
  |  |12833|  69.2k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12834|  69.2k|                (void)counter;
  |  |12835|  69.2k|                #if ENABLE_SPECIALIZATION
  |  |12836|  69.2k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  69.2k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 467, False: 68.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12837|    467|                    next_instr = this_instr;
  |  |12838|    467|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12839|    467|                    _PyFrame_StackPointerValidate(frame);
  |  |12840|    467|                    _Py_Specialize_ToBool(value, next_instr);
  |  |12841|    467|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12842|    467|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    467|    { \
  |  |  |  |  217|    467|        opcode = next_instr->op.code; \
  |  |  |  |  218|    467|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    467|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    467|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    467|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    467|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    467|    }
  |  |  ------------------
  |  |12843|    467|                }
  |  |12844|  69.2k|                OPCODE_DEFERRED_INC(TO_BOOL);
  |  |  ------------------
  |  |  |  |   90|  69.2k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12845|  69.2k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  69.2k|    do { \
  |  |  |  |  378|  69.2k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  69.2k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 69.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12846|  69.2k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12847|  69.2k|            }
  |  |12848|       |            /* Skip 2 cache entries */
  |  |12849|       |            // _TO_BOOL
  |  |12850|  69.2k|            {
  |  |12851|  69.2k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12852|  69.2k|                _PyFrame_StackPointerValidate(frame);
  |  |12853|  69.2k|                int err = PyObject_IsTrue(PyStackRef_AsPyObjectBorrow(value));
  |  |12854|  69.2k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12855|  69.2k|                stack_pointer += -1;
  |  |12856|  69.2k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  69.2k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12857|  69.2k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12858|  69.2k|                _PyFrame_StackPointerValidate(frame);
  |  |12859|  69.2k|                PyStackRef_CLOSE(value);
  |  |12860|  69.2k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12861|  69.2k|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (12861:21): [True: 0, False: 69.2k]
  |  |  ------------------
  |  |12862|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12863|      0|                }
  |  |12864|  69.2k|                res = err ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  54.9k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  54.9k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = err ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  83.5k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  14.3k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12864:23): [True: 54.9k, False: 14.3k]
  |  |  ------------------
  |  |12865|  69.2k|            }
  |  |12866|      0|            stack_pointer[0] = res;
  |  |12867|  69.2k|            stack_pointer += 1;
  |  |12868|  69.2k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  69.2k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12869|  69.2k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  69.2k|    { \
  |  |  |  |  201|  69.2k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  69.2k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  69.2k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  69.2k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  69.2k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  69.2k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  69.2k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  69.2k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 69.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  69.2k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  69.2k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  69.2k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  69.2k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  69.2k|    }
  |  |  ------------------
  |  |12870|  69.2k|        }
  |  |12871|       |
  |  |12872|     65|        TARGET(TO_BOOL_ALWAYS_TRUE) {
  |  |  ------------------
  |  |  |  |  132|     65|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12873|       |            #if _Py_TAIL_CALL_INTERP
  |  |12874|       |            int opcode = TO_BOOL_ALWAYS_TRUE;
  |  |12875|       |            (void)(opcode);
  |  |12876|       |            #endif
  |  |12877|     65|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12878|     65|            (void)this_instr;
  |  |12879|     65|            frame->instr_ptr = next_instr;
  |  |12880|     65|            next_instr += 4;
  |  |12881|     65|            INSTRUCTION_STATS(TO_BOOL_ALWAYS_TRUE);
  |  |  ------------------
  |  |  |  |   71|     65|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12882|     65|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12883|     65|            _PyStackRef owner;
  |  |12884|     65|            _PyStackRef value;
  |  |12885|     65|            _PyStackRef res;
  |  |12886|     65|            _PyStackRef v;
  |  |12887|       |            /* Skip 1 cache entry */
  |  |12888|       |            // _GUARD_TYPE_VERSION
  |  |12889|     65|            {
  |  |12890|     65|                owner = stack_pointer[-1];
  |  |12891|     65|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12892|     65|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|     65|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     65|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     65|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12893|     65|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12893:17): [True: 65, False: 0]
  |  |  ------------------
  |  |12894|     65|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  192|     65|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12894:21): [True: 18, False: 47]
  |  |  ------------------
  |  |12895|     18|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|     18|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12896|     18|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (12896:21): [True: 18, False: 0]
  |  |  ------------------
  |  |12897|     18|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|     18|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12898|      0|                }
  |  |12899|     65|            }
  |  |12900|       |            // _REPLACE_WITH_TRUE
  |  |12901|     47|            {
  |  |12902|     47|                value = owner;
  |  |12903|     47|                res = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|     47|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     47|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12904|     47|                v = value;
  |  |12905|     47|            }
  |  |12906|       |            // _POP_TOP
  |  |12907|     47|            {
  |  |12908|     47|                value = v;
  |  |12909|     47|                stack_pointer[-1] = res;
  |  |12910|     47|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12911|     47|                _PyFrame_StackPointerValidate(frame);
  |  |12912|     47|                PyStackRef_XCLOSE(value);
  |  |12913|     47|                _PyFrame_StackPointerInvalidate(frame);
  |  |12914|     47|            }
  |  |12915|     47|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     47|    { \
  |  |  |  |  201|     47|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     47|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     47|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     47|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     47|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     47|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     47|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     47|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 47]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     47|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     47|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     47|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     47|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     47|    }
  |  |  ------------------
  |  |12916|     47|        }
  |  |12917|       |
  |  |12918|  3.42M|        TARGET(TO_BOOL_BOOL) {
  |  |  ------------------
  |  |  |  |  132|  3.42M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12919|       |            #if _Py_TAIL_CALL_INTERP
  |  |12920|       |            int opcode = TO_BOOL_BOOL;
  |  |12921|       |            (void)(opcode);
  |  |12922|       |            #endif
  |  |12923|  3.42M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12924|  3.42M|            (void)this_instr;
  |  |12925|  3.42M|            frame->instr_ptr = next_instr;
  |  |12926|  3.42M|            next_instr += 4;
  |  |12927|  3.42M|            INSTRUCTION_STATS(TO_BOOL_BOOL);
  |  |  ------------------
  |  |  |  |   71|  3.42M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12928|  3.42M|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12929|  3.42M|            _PyStackRef value;
  |  |12930|       |            /* Skip 1 cache entry */
  |  |12931|       |            /* Skip 2 cache entries */
  |  |12932|  3.42M|            value = stack_pointer[-1];
  |  |12933|  3.42M|            if (!PyStackRef_BoolCheck(value)) {
  |  |  ------------------
  |  |  |  Branch (12933:17): [True: 46, False: 3.42M]
  |  |  ------------------
  |  |12934|     46|                UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|     46|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12935|     46|                assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (12935:17): [True: 46, False: 0]
  |  |  ------------------
  |  |12936|     46|                JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|     46|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12937|      0|            }
  |  |12938|  3.42M|            STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  3.42M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12939|  3.42M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.42M|    { \
  |  |  |  |  201|  3.42M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.42M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.42M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.42M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  3.42M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.42M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.42M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.42M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.42M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.42M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.42M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.42M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.42M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.42M|    }
  |  |  ------------------
  |  |12940|  3.42M|        }
  |  |12941|       |
  |  |12942|  51.4k|        TARGET(TO_BOOL_INT) {
  |  |  ------------------
  |  |  |  |  132|  51.4k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12943|       |            #if _Py_TAIL_CALL_INTERP
  |  |12944|       |            int opcode = TO_BOOL_INT;
  |  |12945|       |            (void)(opcode);
  |  |12946|       |            #endif
  |  |12947|  51.4k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12948|  51.4k|            (void)this_instr;
  |  |12949|  51.4k|            frame->instr_ptr = next_instr;
  |  |12950|  51.4k|            next_instr += 4;
  |  |12951|  51.4k|            INSTRUCTION_STATS(TO_BOOL_INT);
  |  |  ------------------
  |  |  |  |   71|  51.4k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12952|  51.4k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12953|  51.4k|            _PyStackRef value;
  |  |12954|  51.4k|            _PyStackRef res;
  |  |12955|  51.4k|            _PyStackRef v;
  |  |12956|       |            // _GUARD_TOS_EXACT_INT
  |  |12957|  51.4k|            {
  |  |12958|  51.4k|                value = stack_pointer[-1];
  |  |12959|  51.4k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12960|  51.4k|                if (!PyLong_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   14|  51.4k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  51.4k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  51.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  51.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12960:21): [True: 65, False: 51.4k]
  |  |  ------------------
  |  |12961|     65|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|     65|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12962|     65|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (12962:21): [True: 65, False: 0]
  |  |  ------------------
  |  |12963|     65|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|     65|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12964|      0|                }
  |  |12965|  51.4k|            }
  |  |12966|       |            /* Skip 1 cache entry */
  |  |12967|       |            /* Skip 2 cache entries */
  |  |12968|       |            // _TO_BOOL_INT
  |  |12969|  51.4k|            {
  |  |12970|  51.4k|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  51.4k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12971|  51.4k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12972|  51.4k|                res = (_PyLong_IsZero((PyLongObject *)value_o)) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  484|  50.7k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  50.7k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = (_PyLong_IsZero((PyLongObject *)value_o)) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  52.0k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    679|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12972:23): [True: 50.7k, False: 679]
  |  |  ------------------
  |  |12973|  51.4k|                v = value;
  |  |12974|  51.4k|            }
  |  |12975|       |            // _POP_TOP_INT
  |  |12976|  51.4k|            {
  |  |12977|  51.4k|                value = v;
  |  |12978|  51.4k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (12978:17): [True: 51.4k, False: 0]
  |  |  ------------------
  |  |12979|  51.4k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |12980|  51.4k|            }
  |  |12981|      0|            stack_pointer[-1] = res;
  |  |12982|  51.4k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  51.4k|    { \
  |  |  |  |  201|  51.4k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  51.4k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  51.4k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  51.4k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  51.4k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  51.4k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  51.4k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  51.4k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 51.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  51.4k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  51.4k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  51.4k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  51.4k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  51.4k|    }
  |  |  ------------------
  |  |12983|  51.4k|        }
  |  |12984|       |
  |  |12985|  2.20k|        TARGET(TO_BOOL_LIST) {
  |  |  ------------------
  |  |  |  |  132|  2.20k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12986|       |            #if _Py_TAIL_CALL_INTERP
  |  |12987|       |            int opcode = TO_BOOL_LIST;
  |  |12988|       |            (void)(opcode);
  |  |12989|       |            #endif
  |  |12990|  2.20k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12991|  2.20k|            (void)this_instr;
  |  |12992|  2.20k|            frame->instr_ptr = next_instr;
  |  |12993|  2.20k|            next_instr += 4;
  |  |12994|  2.20k|            INSTRUCTION_STATS(TO_BOOL_LIST);
  |  |  ------------------
  |  |  |  |   71|  2.20k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12995|  2.20k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12996|  2.20k|            _PyStackRef tos;
  |  |12997|  2.20k|            _PyStackRef value;
  |  |12998|  2.20k|            _PyStackRef res;
  |  |12999|  2.20k|            _PyStackRef v;
  |  |13000|       |            // _GUARD_TOS_LIST
  |  |13001|  2.20k|            {
  |  |13002|  2.20k|                tos = stack_pointer[-1];
  |  |13003|  2.20k|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13004|  2.20k|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  2.20k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.20k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13004:21): [True: 0, False: 2.20k]
  |  |  ------------------
  |  |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|  2.20k|            }
  |  |13010|       |            /* Skip 1 cache entry */
  |  |13011|       |            /* Skip 2 cache entries */
  |  |13012|       |            // _TO_BOOL_LIST
  |  |13013|  2.20k|            {
  |  |13014|  2.20k|                value = tos;
  |  |13015|  2.20k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13016|  2.20k|                assert(PyList_CheckExact(value_o));
  |  |  ------------------
  |  |  |  Branch (13016:17): [True: 2.20k, False: 0]
  |  |  ------------------
  |  |13017|  2.20k|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.20k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13018|  2.20k|                res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |   38|  2.20k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (38:29): [True: 1.50k, False: 694]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  1.50k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.50k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  2.89k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    694|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13019|  2.20k|                v = value;
  |  |13020|  2.20k|            }
  |  |13021|       |            // _POP_TOP
  |  |13022|      0|            {
  |  |13023|  2.20k|                value = v;
  |  |13024|  2.20k|                stack_pointer[-1] = res;
  |  |13025|  2.20k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13026|  2.20k|                _PyFrame_StackPointerValidate(frame);
  |  |13027|  2.20k|                PyStackRef_XCLOSE(value);
  |  |13028|  2.20k|                _PyFrame_StackPointerInvalidate(frame);
  |  |13029|  2.20k|            }
  |  |13030|  2.20k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.20k|    { \
  |  |  |  |  201|  2.20k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.20k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.20k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.20k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  2.20k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.20k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.20k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.20k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.20k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.20k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.20k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.20k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.20k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.20k|    }
  |  |  ------------------
  |  |13031|  2.20k|        }
  |  |13032|       |
  |  |13033|  1.14k|        TARGET(TO_BOOL_NONE) {
  |  |  ------------------
  |  |  |  |  132|  1.14k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13034|       |            #if _Py_TAIL_CALL_INTERP
  |  |13035|       |            int opcode = TO_BOOL_NONE;
  |  |13036|       |            (void)(opcode);
  |  |13037|       |            #endif
  |  |13038|  1.14k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13039|  1.14k|            (void)this_instr;
  |  |13040|  1.14k|            frame->instr_ptr = next_instr;
  |  |13041|  1.14k|            next_instr += 4;
  |  |13042|  1.14k|            INSTRUCTION_STATS(TO_BOOL_NONE);
  |  |  ------------------
  |  |  |  |   71|  1.14k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13043|  1.14k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |13044|  1.14k|            _PyStackRef value;
  |  |13045|  1.14k|            _PyStackRef res;
  |  |13046|       |            /* Skip 1 cache entry */
  |  |13047|       |            /* Skip 2 cache entries */
  |  |13048|  1.14k|            value = stack_pointer[-1];
  |  |13049|  1.14k|            if (!PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|  1.14k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.14k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13049:17): [True: 294, False: 847]
  |  |  ------------------
  |  |13050|    294|                UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|    294|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13051|    294|                assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13051:17): [True: 294, False: 0]
  |  |  ------------------
  |  |13052|    294|                JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|    294|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13053|      0|            }
  |  |13054|    847|            STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|    847|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13055|    847|            res = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|    847|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    847|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13056|    847|            stack_pointer[-1] = res;
  |  |13057|    847|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    847|    { \
  |  |  |  |  201|    847|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    847|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    847|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    847|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    847|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    847|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    847|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    847|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 847]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    847|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    847|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    847|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    847|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    847|    }
  |  |  ------------------
  |  |13058|    847|        }
  |  |13059|       |
  |  |13060|  90.8k|        TARGET(TO_BOOL_STR) {
  |  |  ------------------
  |  |  |  |  132|  90.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13061|       |            #if _Py_TAIL_CALL_INTERP
  |  |13062|       |            int opcode = TO_BOOL_STR;
  |  |13063|       |            (void)(opcode);
  |  |13064|       |            #endif
  |  |13065|  90.8k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13066|  90.8k|            (void)this_instr;
  |  |13067|  90.8k|            frame->instr_ptr = next_instr;
  |  |13068|  90.8k|            next_instr += 4;
  |  |13069|  90.8k|            INSTRUCTION_STATS(TO_BOOL_STR);
  |  |  ------------------
  |  |  |  |   71|  90.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13070|  90.8k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |13071|  90.8k|            _PyStackRef value;
  |  |13072|  90.8k|            _PyStackRef res;
  |  |13073|  90.8k|            _PyStackRef v;
  |  |13074|       |            // _GUARD_TOS_UNICODE
  |  |13075|  90.8k|            {
  |  |13076|  90.8k|                value = stack_pointer[-1];
  |  |13077|  90.8k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13078|  90.8k|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  90.8k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  90.8k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  90.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  90.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13078:21): [True: 53, False: 90.8k]
  |  |  ------------------
  |  |13079|     53|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|     53|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13080|     53|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13080:21): [True: 53, False: 0]
  |  |  ------------------
  |  |13081|     53|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|     53|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13082|      0|                }
  |  |13083|  90.8k|            }
  |  |13084|       |            /* Skip 1 cache entry */
  |  |13085|       |            /* Skip 2 cache entries */
  |  |13086|       |            // _TO_BOOL_STR
  |  |13087|  90.8k|            {
  |  |13088|  90.8k|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  90.8k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13089|  90.8k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13090|  90.8k|                res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  953|  90.8k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  90.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  90.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  484|  41.6k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  41.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|   139k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  49.1k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13090:23): [True: 41.6k, False: 49.1k]
  |  |  ------------------
  |  |13091|  90.8k|                v = value;
  |  |13092|  90.8k|            }
  |  |13093|       |            // _POP_TOP_UNICODE
  |  |13094|  90.8k|            {
  |  |13095|  90.8k|                value = v;
  |  |13096|  90.8k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (13096:17): [True: 90.8k, False: 0]
  |  |  ------------------
  |  |13097|  90.8k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |13098|  90.8k|            }
  |  |13099|      0|            stack_pointer[-1] = res;
  |  |13100|  90.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  90.8k|    { \
  |  |  |  |  201|  90.8k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  90.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  90.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  90.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  90.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  90.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  90.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  90.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 90.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  90.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  90.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  90.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  90.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  90.8k|    }
  |  |  ------------------
  |  |13101|  90.8k|        }
  |  |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|     65|        TARGET(UNARY_INVERT) {
  |  |  ------------------
  |  |  |  |  132|     65|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13184|       |            #if _Py_TAIL_CALL_INTERP
  |  |13185|       |            int opcode = UNARY_INVERT;
  |  |13186|       |            (void)(opcode);
  |  |13187|       |            #endif
  |  |13188|     65|            frame->instr_ptr = next_instr;
  |  |13189|     65|            next_instr += 1;
  |  |13190|     65|            INSTRUCTION_STATS(UNARY_INVERT);
  |  |  ------------------
  |  |  |  |   71|     65|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13191|     65|            _PyStackRef value;
  |  |13192|     65|            _PyStackRef res;
  |  |13193|     65|            _PyStackRef v;
  |  |13194|       |            // _UNARY_INVERT
  |  |13195|     65|            {
  |  |13196|     65|                value = stack_pointer[-1];
  |  |13197|     65|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13198|     65|                _PyFrame_StackPointerValidate(frame);
  |  |13199|     65|                PyObject *res_o = PyNumber_Invert(PyStackRef_AsPyObjectBorrow(value));
  |  |13200|     65|                _PyFrame_StackPointerInvalidate(frame);
  |  |13201|     65|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13201:21): [True: 0, False: 65]
  |  |  ------------------
  |  |13202|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13203|      0|                }
  |  |13204|     65|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13205|     65|                v = value;
  |  |13206|     65|            }
  |  |13207|       |            // _POP_TOP
  |  |13208|      0|            {
  |  |13209|     65|                value = v;
  |  |13210|     65|                stack_pointer[-1] = res;
  |  |13211|     65|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13211:17): [True: 65, False: 0]
  |  |  ------------------
  |  |13212|     65|                _PyFrame_StackPointerValidate(frame);
  |  |13213|     65|                PyStackRef_XCLOSE(value);
  |  |13214|     65|                _PyFrame_StackPointerInvalidate(frame);
  |  |13215|     65|            }
  |  |13216|     65|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     65|    { \
  |  |  |  |  201|     65|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     65|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     65|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     65|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     65|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     65|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     65|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     65|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 65]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     65|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     65|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     65|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     65|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     65|    }
  |  |  ------------------
  |  |13217|     65|        }
  |  |13218|       |
  |  |13219|      7|        TARGET(UNARY_NEGATIVE) {
  |  |  ------------------
  |  |  |  |  132|      7|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13220|       |            #if _Py_TAIL_CALL_INTERP
  |  |13221|       |            int opcode = UNARY_NEGATIVE;
  |  |13222|       |            (void)(opcode);
  |  |13223|       |            #endif
  |  |13224|      7|            frame->instr_ptr = next_instr;
  |  |13225|      7|            next_instr += 1;
  |  |13226|      7|            INSTRUCTION_STATS(UNARY_NEGATIVE);
  |  |  ------------------
  |  |  |  |   71|      7|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13227|      7|            _PyStackRef value;
  |  |13228|      7|            _PyStackRef res;
  |  |13229|      7|            _PyStackRef v;
  |  |13230|       |            // _UNARY_NEGATIVE
  |  |13231|      7|            {
  |  |13232|      7|                value = stack_pointer[-1];
  |  |13233|      7|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13234|      7|                _PyFrame_StackPointerValidate(frame);
  |  |13235|      7|                PyObject *res_o = PyNumber_Negative(PyStackRef_AsPyObjectBorrow(value));
  |  |13236|      7|                _PyFrame_StackPointerInvalidate(frame);
  |  |13237|      7|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13237:21): [True: 0, False: 7]
  |  |  ------------------
  |  |13238|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13239|      0|                }
  |  |13240|      7|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13241|      7|                v = value;
  |  |13242|      7|            }
  |  |13243|       |            // _POP_TOP
  |  |13244|      0|            {
  |  |13245|      7|                value = v;
  |  |13246|      7|                stack_pointer[-1] = res;
  |  |13247|      7|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13247:17): [True: 7, False: 0]
  |  |  ------------------
  |  |13248|      7|                _PyFrame_StackPointerValidate(frame);
  |  |13249|      7|                PyStackRef_XCLOSE(value);
  |  |13250|      7|                _PyFrame_StackPointerInvalidate(frame);
  |  |13251|      7|            }
  |  |13252|      7|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      7|    { \
  |  |  |  |  201|      7|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      7|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      7|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      7|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|      7|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      7|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      7|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      7|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      7|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      7|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      7|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      7|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      7|    }
  |  |  ------------------
  |  |13253|      7|        }
  |  |13254|       |
  |  |13255|  82.9k|        TARGET(UNARY_NOT) {
  |  |  ------------------
  |  |  |  |  132|  82.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13256|       |            #if _Py_TAIL_CALL_INTERP
  |  |13257|       |            int opcode = UNARY_NOT;
  |  |13258|       |            (void)(opcode);
  |  |13259|       |            #endif
  |  |13260|  82.9k|            frame->instr_ptr = next_instr;
  |  |13261|  82.9k|            next_instr += 1;
  |  |13262|  82.9k|            INSTRUCTION_STATS(UNARY_NOT);
  |  |  ------------------
  |  |  |  |   71|  82.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13263|  82.9k|            _PyStackRef value;
  |  |13264|  82.9k|            _PyStackRef res;
  |  |13265|  82.9k|            value = stack_pointer[-1];
  |  |13266|  82.9k|            assert(PyStackRef_BoolCheck(value));
  |  |  ------------------
  |  |  |  Branch (13266:13): [True: 82.9k, False: 0]
  |  |  ------------------
  |  |13267|  82.9k|            res = PyStackRef_IsFalse(value)
  |  |  ------------------
  |  |  |  |  494|  82.9k|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  82.9k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:33): [True: 41.4k, False: 41.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13268|  82.9k|            ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  41.4k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  41.4k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   124k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  41.4k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13269|  82.9k|            stack_pointer[-1] = res;
  |  |13270|  82.9k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  82.9k|    { \
  |  |  |  |  201|  82.9k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  82.9k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  82.9k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  82.9k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  82.9k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  82.9k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  82.9k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  82.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 82.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  82.9k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  82.9k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  82.9k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  82.9k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  82.9k|    }
  |  |  ------------------
  |  |13271|  82.9k|        }
  |  |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|    153|        TARGET(UNPACK_SEQUENCE) {
  |  |  ------------------
  |  |  |  |  132|    153|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13305|       |            #if _Py_TAIL_CALL_INTERP
  |  |13306|       |            int opcode = UNPACK_SEQUENCE;
  |  |13307|       |            (void)(opcode);
  |  |13308|       |            #endif
  |  |13309|    153|            frame->instr_ptr = next_instr;
  |  |13310|    153|            next_instr += 2;
  |  |13311|    153|            INSTRUCTION_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |   71|    153|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13312|    153|            PREDICTED_UNPACK_SEQUENCE:;
  |  |13313|    153|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |13314|    153|            (void)this_instr;
  |  |13315|    153|            _PyStackRef seq;
  |  |13316|    153|            _PyStackRef *top;
  |  |13317|       |            // _SPECIALIZE_UNPACK_SEQUENCE
  |  |13318|    153|            {
  |  |13319|    153|                seq = stack_pointer[-1];
  |  |13320|    153|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |13321|    153|                (void)counter;
  |  |13322|    153|                #if ENABLE_SPECIALIZATION
  |  |13323|    153|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    153|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 71, False: 82]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13324|     71|                    next_instr = this_instr;
  |  |13325|     71|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13326|     71|                    _PyFrame_StackPointerValidate(frame);
  |  |13327|     71|                    _Py_Specialize_UnpackSequence(seq, next_instr, oparg);
  |  |13328|     71|                    _PyFrame_StackPointerInvalidate(frame);
  |  |13329|     71|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     71|    { \
  |  |  |  |  217|     71|        opcode = next_instr->op.code; \
  |  |  |  |  218|     71|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     71|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     71|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     71|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     71|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     71|    }
  |  |  ------------------
  |  |13330|     71|                }
  |  |13331|    153|                OPCODE_DEFERRED_INC(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |   90|    153|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |13332|    153|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    153|    do { \
  |  |  |  |  378|    153|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    153|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 153]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13333|    153|                #endif  /* ENABLE_SPECIALIZATION */
  |  |13334|    153|                (void)seq;
  |  |13335|    153|                (void)counter;
  |  |13336|    153|            }
  |  |13337|       |            // _UNPACK_SEQUENCE
  |  |13338|    153|            {
  |  |13339|    153|                top = &stack_pointer[-1 + oparg];
  |  |13340|    153|                PyObject *seq_o = PyStackRef_AsPyObjectSteal(seq);
  |  |13341|    153|                stack_pointer += -1;
  |  |13342|    153|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    153|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13343|    153|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13344|    153|                _PyFrame_StackPointerValidate(frame);
  |  |13345|    153|                int res = _PyEval_UnpackIterableStackRef(tstate, seq_o, oparg, -1, top);
  |  |13346|    153|                _PyFrame_StackPointerInvalidate(frame);
  |  |13347|    153|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13347:17): [True: 82, False: 71]
  |  |  ------------------
  |  |13348|     82|                _PyFrame_StackPointerValidate(frame);
  |  |13349|     82|                Py_DECREF(seq_o);
  |  |  ------------------
  |  |  |  |   80|     82|    do { \
  |  |  |  |   81|     82|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     82|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     82|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 82]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     82|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     82|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     82|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 30, False: 52]
  |  |  |  |  ------------------
  |  |  |  |   88|     30|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  109|     30|    do { \
  |  |  |  |  |  |  110|     30|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  111|     30|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (111:13): [True: 0, False: 30]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  114|      0|        } \
  |  |  |  |  |  |  115|     30|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (115:13): [Folded, False: 30]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|     30|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|     30|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|     30|            (*dealloc)(op); \
  |  |  |  |   91|     30|        } \
  |  |  |  |   92|     82|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 82]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13350|     82|                _PyFrame_StackPointerInvalidate(frame);
  |  |13351|     82|                if (res == 0) {
  |  |  ------------------
  |  |  |  Branch (13351:21): [True: 0, False: 82]
  |  |  ------------------
  |  |13352|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13353|      0|                }
  |  |13354|     82|            }
  |  |13355|     82|            stack_pointer += oparg;
  |  |13356|     82|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|     82|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13357|     82|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     82|    { \
  |  |  |  |  201|     82|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     82|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     82|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     82|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|     82|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     82|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     82|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     82|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 82]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     82|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     82|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     82|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     82|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     82|    }
  |  |  ------------------
  |  |13358|     82|        }
  |  |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|    175|        TARGET(UNPACK_SEQUENCE_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|    175|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13421|       |            #if _Py_TAIL_CALL_INTERP
  |  |13422|       |            int opcode = UNPACK_SEQUENCE_TUPLE;
  |  |13423|       |            (void)(opcode);
  |  |13424|       |            #endif
  |  |13425|    175|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13426|    175|            (void)this_instr;
  |  |13427|    175|            frame->instr_ptr = next_instr;
  |  |13428|    175|            next_instr += 2;
  |  |13429|    175|            INSTRUCTION_STATS(UNPACK_SEQUENCE_TUPLE);
  |  |  ------------------
  |  |  |  |   71|    175|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13430|    175|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |13431|    175|            _PyStackRef tos;
  |  |13432|    175|            _PyStackRef seq;
  |  |13433|    175|            _PyStackRef *values;
  |  |13434|       |            // _GUARD_TOS_TUPLE
  |  |13435|    175|            {
  |  |13436|    175|                tos = stack_pointer[-1];
  |  |13437|    175|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13438|    175|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|    175|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    175|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    175|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13438:21): [True: 0, False: 175]
  |  |  ------------------
  |  |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|    175|            }
  |  |13444|       |            /* Skip 1 cache entry */
  |  |13445|       |            // _UNPACK_SEQUENCE_TUPLE
  |  |13446|    175|            {
  |  |13447|    175|                seq = tos;
  |  |13448|    175|                values = &stack_pointer[-1];
  |  |13449|    175|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |13450|    175|                assert(PyTuple_CheckExact(seq_o));
  |  |  ------------------
  |  |  |  Branch (13450:17): [True: 175, False: 0]
  |  |  ------------------
  |  |13451|    175|                if (PyTuple_GET_SIZE(seq_o) != oparg) {
  |  |  ------------------
  |  |  |  |   27|    175|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    175|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13451:21): [True: 0, False: 175]
  |  |  ------------------
  |  |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|    175|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|    175|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13457|    175|                PyObject **items = _PyTuple_ITEMS(seq_o);
  |  |  ------------------
  |  |  |  |   26|    175|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    350|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 175, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13458|    748|                for (int i = oparg; --i >= 0; ) {
  |  |  ------------------
  |  |  |  Branch (13458:37): [True: 573, False: 175]
  |  |  ------------------
  |  |13459|    573|                    *values++ = PyStackRef_FromPyObjectNew(items[i]);
  |  |  ------------------
  |  |  |  |  611|    573|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    573|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    573|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13460|    573|                }
  |  |13461|    175|                stack_pointer += -1 + oparg;
  |  |13462|    175|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|    175|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13463|    175|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13464|    175|                _PyFrame_StackPointerValidate(frame);
  |  |13465|    175|                PyStackRef_CLOSE(seq);
  |  |13466|    175|                _PyFrame_StackPointerInvalidate(frame);
  |  |13467|    175|            }
  |  |13468|    175|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    175|    { \
  |  |  |  |  201|    175|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    175|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    175|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    175|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|    175|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    175|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    175|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    175|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 175]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    175|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    175|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    175|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    175|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    175|    }
  |  |  ------------------
  |  |13469|    175|        }
  |  |13470|       |
  |  |13471|  1.02M|        TARGET(UNPACK_SEQUENCE_TWO_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  1.02M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13472|       |            #if _Py_TAIL_CALL_INTERP
  |  |13473|       |            int opcode = UNPACK_SEQUENCE_TWO_TUPLE;
  |  |13474|       |            (void)(opcode);
  |  |13475|       |            #endif
  |  |13476|  1.02M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13477|  1.02M|            (void)this_instr;
  |  |13478|  1.02M|            frame->instr_ptr = next_instr;
  |  |13479|  1.02M|            next_instr += 2;
  |  |13480|  1.02M|            INSTRUCTION_STATS(UNPACK_SEQUENCE_TWO_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  1.02M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13481|  1.02M|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |13482|  1.02M|            _PyStackRef tos;
  |  |13483|  1.02M|            _PyStackRef seq;
  |  |13484|  1.02M|            _PyStackRef val1;
  |  |13485|  1.02M|            _PyStackRef val0;
  |  |13486|       |            // _GUARD_TOS_TUPLE
  |  |13487|  1.02M|            {
  |  |13488|  1.02M|                tos = stack_pointer[-1];
  |  |13489|  1.02M|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13490|  1.02M|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|  1.02M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.02M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13490:21): [True: 0, False: 1.02M]
  |  |  ------------------
  |  |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|  1.02M|            }
  |  |13496|       |            /* Skip 1 cache entry */
  |  |13497|       |            // _UNPACK_SEQUENCE_TWO_TUPLE
  |  |13498|  1.02M|            {
  |  |13499|  1.02M|                seq = tos;
  |  |13500|  1.02M|                assert(oparg == 2);
  |  |  ------------------
  |  |  |  Branch (13500:17): [True: 1.02M, False: 0]
  |  |  ------------------
  |  |13501|  1.02M|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |13502|  1.02M|                assert(PyTuple_CheckExact(seq_o));
  |  |  ------------------
  |  |  |  Branch (13502:17): [True: 1.02M, False: 0]
  |  |  ------------------
  |  |13503|  1.02M|                if (PyTuple_GET_SIZE(seq_o) != 2) {
  |  |  ------------------
  |  |  |  |   27|  1.02M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13503:21): [True: 0, False: 1.02M]
  |  |  ------------------
  |  |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|  1.02M|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|  1.02M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13509|  1.02M|                val0 = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(seq_o, 0));
  |  |  ------------------
  |  |  |  |  611|  1.02M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 1.02M, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13510|  1.02M|                val1 = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(seq_o, 1));
  |  |  ------------------
  |  |  |  |  611|  1.02M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 1.02M, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13511|      0|                stack_pointer[-1] = val1;
  |  |13512|  1.02M|                stack_pointer[0] = val0;
  |  |13513|  1.02M|                stack_pointer += 1;
  |  |13514|  1.02M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  1.02M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13515|  1.02M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13516|  1.02M|                _PyFrame_StackPointerValidate(frame);
  |  |13517|  1.02M|                PyStackRef_CLOSE(seq);
  |  |13518|  1.02M|                _PyFrame_StackPointerInvalidate(frame);
  |  |13519|  1.02M|            }
  |  |13520|  1.02M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.02M|    { \
  |  |  |  |  201|  1.02M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.02M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.02M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.02M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  1.02M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.02M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.02M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.02M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.02M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.02M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.02M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.02M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.02M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.02M|    }
  |  |  ------------------
  |  |13521|  1.02M|        }
  |  |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|  61.8k|        TARGET(YIELD_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  61.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13576|       |            #if _Py_TAIL_CALL_INTERP
  |  |13577|       |            int opcode = YIELD_VALUE;
  |  |13578|       |            (void)(opcode);
  |  |13579|       |            #endif
  |  |13580|  61.8k|            frame->instr_ptr = next_instr;
  |  |13581|  61.8k|            next_instr += 1;
  |  |13582|  61.8k|            INSTRUCTION_STATS(YIELD_VALUE);
  |  |  ------------------
  |  |  |  |   71|  61.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13583|  61.8k|            opcode = YIELD_VALUE;
  |  |  ------------------
  |  |  |  |  129|  61.8k|#define YIELD_VALUE                            116
  |  |  ------------------
  |  |13584|  61.8k|            _PyStackRef value;
  |  |13585|  61.8k|            _PyStackRef retval;
  |  |13586|       |            // _MAKE_HEAP_SAFE
  |  |13587|  61.8k|            {
  |  |13588|  61.8k|                value = stack_pointer[-1];
  |  |13589|  61.8k|                value = PyStackRef_MakeHeapSafe(value);
  |  |13590|  61.8k|            }
  |  |13591|       |            // _YIELD_VALUE
  |  |13592|  61.8k|            {
  |  |13593|  61.8k|                retval = value;
  |  |13594|  61.8k|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13594:17): [True: 61.8k, False: 0]
  |  |  ------------------
  |  |13595|  61.8k|                frame->instr_ptr++;
  |  |13596|  61.8k|                PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
  |  |13597|  61.8k|                assert(FRAME_SUSPENDED_YIELD_FROM == FRAME_SUSPENDED + 1);
  |  |  ------------------
  |  |  |  Branch (13597:17): [True: 61.8k, Folded]
  |  |  ------------------
  |  |13598|  61.8k|                assert(oparg == 0 || oparg == 1);
  |  |  ------------------
  |  |  |  Branch (13598:17): [True: 61.8k, False: 11]
  |  |  |  Branch (13598:17): [True: 11, False: 0]
  |  |  ------------------
  |  |13599|  61.8k|                _PyStackRef temp = retval;
  |  |13600|  61.8k|                stack_pointer += -1;
  |  |13601|  61.8k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  61.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13602|  61.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13603|  61.8k|                _PyFrame_StackPointerValidate(frame);
  |  |13604|  61.8k|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|  61.8k|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |13605|  61.8k|                tstate->exc_info = gen->gi_exc_state.previous_item;
  |  |13606|  61.8k|                gen->gi_exc_state.previous_item = NULL;
  |  |13607|  61.8k|                _Py_LeaveRecursiveCallPy(tstate);
  |  |13608|  61.8k|                _PyInterpreterFrame *gen_frame = frame;
  |  |13609|  61.8k|                _PyThreadState_UpdateLastProfiledFrame(tstate, gen_frame, gen_frame->previous);
  |  |  ------------------
  |  |  |  |  326|  61.8k|    do { \
  |  |  |  |  327|  61.8k|        PyThreadState *tstate_ = (tstate); \
  |  |  |  |  328|  61.8k|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  |  |  329|  61.8k|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (329:13): [True: 0, False: 61.8k]
  |  |  |  |  ------------------
  |  |  |  |  330|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  |  |  331|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  |  |  332|      0|        } \
  |  |  |  |  333|  61.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (333:14): [Folded, False: 61.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13610|  61.8k|                frame = tstate->current_frame = frame->previous;
  |  |13611|  61.8k|                gen_frame->previous = NULL;
  |  |13612|  61.8k|                ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_YIELD;
  |  |13613|  61.8k|                FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_SUSPENDED + oparg);
  |  |  ------------------
  |  |  |  |  169|  61.8k|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |13614|  61.8k|                assert(INLINE_CACHE_ENTRIES_SEND == INLINE_CACHE_ENTRIES_FOR_ITER);
  |  |  ------------------
  |  |  |  Branch (13614:17): [True: 61.8k, 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|  61.8k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13624|  61.8k|                _PyFrame_StackPointerInvalidate(frame);
  |  |13625|  61.8k|                LOAD_IP(1 + INLINE_CACHE_ENTRIES_SEND);
  |  |  ------------------
  |  |  |  |  441|  61.8k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  61.8k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  61.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 61.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13626|  61.8k|                value = temp;
  |  |13627|  61.8k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  61.8k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |13628|  61.8k|            }
  |  |13629|      0|            stack_pointer[0] = value;
  |  |13630|  61.8k|            stack_pointer += 1;
  |  |13631|  61.8k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  514|  61.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13632|  61.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  61.8k|    { \
  |  |  |  |  201|  61.8k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  61.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  61.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  61.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  61.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  61.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  61.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  61.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 61.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  61.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  61.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  61.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  61.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  61.8k|    }
  |  |  ------------------
  |  |13633|  61.8k|        }
  |  |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|    144|        LABEL(pop_1_error)
  |  |  ------------------
  |  |  |  |  137|    144|#  define LABEL(name) name:
  |  |  ------------------
  |  |13669|    144|        {
  |  |13670|    144|            stack_pointer -= 1;
  |  |13671|    144|            assert(WITHIN_STACK_BOUNDS());
  |  |  ------------------
  |  |  |  Branch (13671:13): [True: 144, False: 0]
  |  |  |  Branch (13671:13): [True: 144, False: 0]
  |  |  |  Branch (13671:13): [True: 0, False: 144]
  |  |  ------------------
  |  |13672|    144|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    144|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13673|      0|        }
  |  |13674|       |
  |  |13675|  36.2k|        LABEL(error)
  |  |  ------------------
  |  |  |  |  137|  36.2k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13676|  36.2k|        {
  |  |13677|  36.2k|            _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|  36.2k|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13687:13): [True: 36.2k, False: 0]
  |  |  ------------------
  |  |13688|  36.2k|            #endif
  |  |13689|  36.2k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13690|  36.2k|            _PyFrame_StackPointerValidate(frame);
  |  |13691|  36.2k|            STOP_TRACING();
  |  |  ------------------
  |  |  |  |  168|  36.2k|#define STOP_TRACING() ((void)(0));
  |  |  ------------------
  |  |13692|  36.2k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13693|  36.2k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13694|  36.2k|            assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13694:13): [True: 36.2k, False: 0]
  |  |  ------------------
  |  |13695|  36.2k|            if (!_PyFrame_IsIncomplete(frame)) {
  |  |  ------------------
  |  |  |  Branch (13695:17): [True: 36.2k, False: 0]
  |  |  ------------------
  |  |13696|  36.2k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13696:17): [True: 36.2k, False: 0]
  |  |  ------------------
  |  |13697|  36.2k|                _PyFrame_StackPointerValidate(frame);
  |  |13698|  36.2k|                PyFrameObject *f = _PyFrame_GetFrameObject(frame);
  |  |13699|  36.2k|                _PyFrame_StackPointerInvalidate(frame);
  |  |13700|  36.2k|                if (f != NULL) {
  |  |  ------------------
  |  |  |  Branch (13700:21): [True: 36.2k, False: 0]
  |  |  ------------------
  |  |13701|  36.2k|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13701:21): [True: 36.2k, False: 0]
  |  |  ------------------
  |  |13702|  36.2k|                    _PyFrame_StackPointerValidate(frame);
  |  |13703|  36.2k|                    PyTraceBack_Here(f);
  |  |13704|  36.2k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |13705|  36.2k|                }
  |  |13706|  36.2k|            }
  |  |13707|  36.2k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13707:13): [True: 36.2k, False: 0]
  |  |  ------------------
  |  |13708|  36.2k|            _PyFrame_StackPointerValidate(frame);
  |  |13709|  36.2k|            _PyEval_MonitorRaise(tstate, frame, next_instr-1);
  |  |13710|  36.2k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13711|  36.2k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13711:13): [True: 36.2k, False: 0]
  |  |  ------------------
  |  |13712|  36.2k|            _PyFrame_StackPointerValidate(frame);
  |  |13713|  36.2k|            JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|  36.2k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13714|      0|        }
  |  |13715|       |
  |  |13716|  38.8k|        LABEL(exception_unwind)
  |  |  ------------------
  |  |  |  |  137|  38.8k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13717|  38.8k|        {
  |  |13718|  38.8k|            STOP_TRACING();
  |  |  ------------------
  |  |  |  |  168|  38.8k|#define STOP_TRACING() ((void)(0));
  |  |  ------------------
  |  |13719|  38.8k|            int offset = INSTR_OFFSET()-1;
  |  |  ------------------
  |  |  |  |  250|  38.8k|#define INSTR_OFFSET() ((int)(next_instr - _PyFrame_GetBytecode(frame)))
  |  |  ------------------
  |  |13720|  38.8k|            int level, handler, lasti;
  |  |13721|  38.8k|            int handled = get_exception_handler(_PyFrame_GetCode(frame), offset, &level, &handler, &lasti);
  |  |13722|  38.8k|            if (handled == 0) {
  |  |  ------------------
  |  |  |  Branch (13722:17): [True: 3.58k, False: 35.3k]
  |  |  ------------------
  |  |13723|  3.58k|                assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13723:17): [True: 3.58k, False: 0]
  |  |  ------------------
  |  |13724|  3.58k|                _PyStackRef *stackbase = _PyFrame_Stackbase(frame);
  |  |13725|  9.49k|                while (frame->stackpointer > stackbase) {
  |  |  ------------------
  |  |  |  Branch (13725:24): [True: 5.90k, False: 3.58k]
  |  |  ------------------
  |  |13726|  5.90k|                    _PyStackRef ref = _PyFrame_StackPop(frame);
  |  |13727|  5.90k|                    PyStackRef_XCLOSE(ref);
  |  |13728|  5.90k|                }
  |  |13729|  3.58k|                monitor_unwind(tstate, frame, next_instr-1);
  |  |13730|  3.58k|                JUMP_TO_LABEL(exit_unwind);
  |  |  ------------------
  |  |  |  |  135|  3.58k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13731|      0|            }
  |  |13732|  38.8k|            assert(STACK_LEVEL() >= level);
  |  |  ------------------
  |  |  |  Branch (13732:13): [True: 35.3k, False: 0]
  |  |  ------------------
  |  |13733|  35.3k|            _PyStackRef *new_top = _PyFrame_Stackbase(frame) + level;
  |  |13734|  35.3k|            assert(frame->stackpointer >= new_top);
  |  |  ------------------
  |  |  |  Branch (13734:13): [True: 35.3k, False: 0]
  |  |  ------------------
  |  |13735|   128k|            while (frame->stackpointer > new_top) {
  |  |  ------------------
  |  |  |  Branch (13735:20): [True: 93.6k, False: 35.3k]
  |  |  ------------------
  |  |13736|  93.6k|                _PyStackRef ref = _PyFrame_StackPop(frame);
  |  |13737|  93.6k|                PyStackRef_XCLOSE(ref);
  |  |13738|  93.6k|            }
  |  |13739|  35.3k|            if (lasti) {
  |  |  ------------------
  |  |  |  Branch (13739:17): [True: 2.39k, False: 32.9k]
  |  |  ------------------
  |  |13740|  2.39k|                int frame_lasti = _PyInterpreterFrame_LASTI(frame);
  |  |  ------------------
  |  |  |  |   19|  2.39k|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  |  |  ------------------
  |  |13741|  2.39k|                _PyStackRef lasti = PyStackRef_TagInt(frame_lasti);
  |  |13742|  2.39k|                _PyFrame_StackPush(frame, lasti);
  |  |13743|  2.39k|            }
  |  |13744|  35.3k|            PyObject *exc = _PyErr_GetRaisedException(tstate);
  |  |13745|  35.3k|            _PyFrame_StackPush(frame, PyStackRef_FromPyObjectSteal(exc));
  |  |13746|  35.3k|            next_instr = _PyFrame_GetBytecode(frame) + handler;
  |  |13747|  35.3k|            int err = monitor_handled(tstate, frame, next_instr, exc);
  |  |13748|  35.3k|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (13748:17): [True: 0, False: 35.3k]
  |  |  ------------------
  |  |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|  35.3k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13757|  35.3k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13758|       |            #if _Py_TAIL_CALL_INTERP
  |  |13759|       |            int opcode;
  |  |13760|       |            #endif
  |  |13761|  35.3k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  35.3k|    { \
  |  |  |  |  201|  35.3k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  35.3k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  35.3k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  35.3k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|  35.3k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  35.3k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  35.3k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  35.3k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 35.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  35.3k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  35.3k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  35.3k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  35.3k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  35.3k|    }
  |  |  ------------------
  |  |13762|  35.3k|        }
  |  |13763|       |
  |  |13764|  3.58k|        LABEL(exit_unwind)
  |  |  ------------------
  |  |  |  |  137|  3.58k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13765|  3.58k|        {
  |  |13766|  3.58k|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13766:13): [True: 3.58k, False: 0]
  |  |  ------------------
  |  |13767|  3.58k|            DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|  3.58k|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |13768|  3.58k|            JUMP_TO_LABEL(exit_unwind_notrace);
  |  |  ------------------
  |  |  |  |  135|  3.58k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13769|      0|        }
  |  |13770|       |
  |  |13771|  3.58k|        LABEL(exit_unwind_notrace)
  |  |  ------------------
  |  |  |  |  137|  3.58k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13772|  3.58k|        {
  |  |13773|  3.58k|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13773:13): [True: 3.58k, False: 0]
  |  |  ------------------
  |  |13774|  3.58k|            _Py_LeaveRecursiveCallPy(tstate);
  |  |13775|  3.58k|            assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13775:13): [True: 3.58k, False: 0]
  |  |  ------------------
  |  |13776|  3.58k|            _PyInterpreterFrame *dying = frame;
  |  |13777|  3.58k|            frame = tstate->current_frame = dying->previous;
  |  |13778|  3.58k|            _PyEval_FrameClearAndPop(tstate, dying);
  |  |13779|  3.58k|            frame->return_offset = 0;
  |  |13780|  3.58k|            if (frame->owner == FRAME_OWNED_BY_INTERPRETER) {
  |  |  ------------------
  |  |  |  Branch (13780:17): [True: 1.56k, False: 2.01k]
  |  |  ------------------
  |  |13781|  1.56k|                tstate->current_frame = frame->previous;
  |  |13782|  1.56k|                #if !_Py_TAIL_CALL_INTERP
  |  |13783|  1.56k|                assert(frame == &entry.frame);
  |  |  ------------------
  |  |  |  Branch (13783:17): [True: 1.56k, False: 0]
  |  |  ------------------
  |  |13784|  1.56k|                #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|  1.56k|                return NULL;
  |  |13794|  1.56k|            }
  |  |13795|  2.01k|            next_instr = frame->instr_ptr;
  |  |13796|  2.01k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13797|  2.01k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13798|  2.01k|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  2.01k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13799|      0|        }
  |  |13800|       |
  |  |13801|   194k|        LABEL(start_frame)
  |  |  ------------------
  |  |  |  |  137|   194k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13802|   194k|        {
  |  |13803|       |            #ifdef Py_DEBUG
  |  |13804|       |            assert(frame->stackpointer_valid == 1);
  |  |13805|       |            #endif
  |  |13806|   194k|            int too_deep = _Py_EnterRecursivePy(tstate);
  |  |13807|   194k|            if (too_deep) {
  |  |  ------------------
  |  |  |  Branch (13807:17): [True: 0, False: 194k]
  |  |  ------------------
  |  |13808|      0|                JUMP_TO_LABEL(exit_unwind_notrace);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13809|      0|            }
  |  |13810|   194k|            DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|   194k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |13811|   194k|            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|   194k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13821|   194k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13822|       |            #if _Py_TAIL_CALL_INTERP
  |  |13823|       |            int opcode;
  |  |13824|       |            #endif
  |  |13825|   194k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   194k|    { \
  |  |  |  |  201|   194k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   194k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   194k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   194k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  160|   194k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   194k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   194k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   194k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 194k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   194k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   194k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   194k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   194k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   194k|    }
  |  |  ------------------
  |  |13826|   194k|        }
  |  |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|  5.16M|{
 2045|       |    // By this point, tstate->current_frame is already set to the parent frame.
 2046|  5.16M|    _PyThreadState_UpdateLastProfiledFrame(tstate, frame, tstate->current_frame);
  ------------------
  |  |  326|  5.16M|    do { \
  |  |  327|  5.16M|        PyThreadState *tstate_ = (tstate); \
  |  |  328|  5.16M|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  329|  5.16M|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  ------------------
  |  |  |  Branch (329:13): [True: 0, False: 5.16M]
  |  |  ------------------
  |  |  330|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  331|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  332|      0|        } \
  |  |  333|  5.16M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (333:14): [Folded, False: 5.16M]
  |  |  ------------------
  ------------------
 2047|       |
 2048|  5.16M|    if (frame->owner == FRAME_OWNED_BY_THREAD) {
  ------------------
  |  Branch (2048:9): [True: 5.16M, False: 921]
  ------------------
 2049|  5.16M|        clear_thread_frame(tstate, frame);
 2050|  5.16M|    }
 2051|    921|    else {
 2052|    921|        clear_gen_frame(tstate, frame);
 2053|    921|    }
 2054|  5.16M|}
_PyEvalFramePushAndInit:
 2061|   197k|{
 2062|   197k|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
 2063|   197k|    PyCodeObject * code = (PyCodeObject *)func_obj->func_code;
 2064|   197k|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|   197k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 2065|   197k|    _PyInterpreterFrame *frame = _PyThreadState_PushFrame(tstate, code->co_framesize);
 2066|   197k|    if (frame == NULL) {
  ------------------
  |  Branch (2066:9): [True: 0, False: 197k]
  ------------------
 2067|      0|        goto fail;
 2068|      0|    }
 2069|   197k|    _PyFrame_Initialize(tstate, frame, func, locals, code, 0, previous);
 2070|   197k|    if (initialize_locals(tstate, func_obj, frame->localsplus, args, argcount, kwnames)) {
  ------------------
  |  Branch (2070:9): [True: 0, False: 197k]
  ------------------
 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|   197k|    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|   197k|}
_PyEvalFramePushAndInit_Ex:
 2100|    126|{
 2101|    126|    bool has_dict = (kwargs != NULL && PyDict_GET_SIZE(kwargs) > 0);
  ------------------
  |  |   63|    103|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2101:22): [True: 103, False: 23]
  |  Branch (2101:40): [True: 0, False: 103]
  ------------------
 2102|    126|    PyObject *kwnames = NULL;
 2103|    126|    _PyStackRef *newargs;
 2104|    126|    PyObject *const *object_array = NULL;
 2105|    126|    _PyStackRef stack_array[8] = {0};
 2106|    126|    if (has_dict) {
  ------------------
  |  Branch (2106:9): [True: 0, False: 126]
  ------------------
 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|    126|    else {
 2125|    126|        if (nargs <= 8) {
  ------------------
  |  Branch (2125:13): [True: 122, False: 4]
  ------------------
 2126|    122|            newargs = stack_array;
 2127|    122|        }
 2128|      4|        else {
 2129|      4|            newargs = PyMem_Malloc(sizeof(_PyStackRef) *nargs);
 2130|      4|            if (newargs == NULL) {
  ------------------
  |  Branch (2130:17): [True: 0, False: 4]
  ------------------
 2131|      0|                PyErr_NoMemory();
 2132|      0|                PyStackRef_CLOSE(func);
 2133|      0|                goto error;
 2134|      0|            }
 2135|      4|        }
 2136|       |        /* We need to create a new reference for all our args since the new frame steals them. */
 2137|    561|        for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2137:32): [True: 435, False: 126]
  ------------------
 2138|    435|            newargs[i] = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(callargs, i));
  ------------------
  |  |  611|    435|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    435|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    870|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 435, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2139|    435|        }
 2140|    126|    }
 2141|    126|    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
 2142|    126|        tstate, func, locals,
 2143|    126|        newargs, nargs, kwnames, previous
 2144|    126|    );
 2145|    126|    if (has_dict) {
  ------------------
  |  Branch (2145:9): [True: 0, False: 126]
  ------------------
 2146|      0|        _PyStack_UnpackDict_FreeNoDecRef(object_array, kwnames);
 2147|      0|    }
 2148|    126|    else if (nargs > 8) {
  ------------------
  |  Branch (2148:14): [True: 4, False: 122]
  ------------------
 2149|      4|       PyMem_Free((void *)newargs);
 2150|      4|    }
 2151|       |    /* No need to decref func here because the reference has been stolen by
 2152|       |       _PyEvalFramePushAndInit.
 2153|       |    */
 2154|    126|    Py_DECREF(callargs);
  ------------------
  |  |   80|    126|    do { \
  |  |   81|    126|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    126|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|    126|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 126]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|    126|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|    126|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|    126|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 111, False: 15]
  |  |  ------------------
  |  |   88|    111|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|    111|    do { \
  |  |  |  |  110|    111|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|    111|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 111]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|    111|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 111]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|    111|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|    111|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    111|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    111|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|    111|            (*dealloc)(op); \
  |  |   91|    111|        } \
  |  |   92|    126|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 126]
  |  |  ------------------
  ------------------
 2155|    126|    Py_XDECREF(kwargs);
  ------------------
  |  |   69|    126|    do { \
  |  |   70|    126|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|    126|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 103, False: 23]
  |  |  ------------------
  |  |   72|    103|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|    103|    do { \
  |  |  |  |   81|    103|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|    103|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|    103|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 103]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|    103|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|    103|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|    103|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 103, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   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|    103|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 103]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|    103|        } \
  |  |   74|    126|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 126]
  |  |  ------------------
  ------------------
 2156|    126|    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|    126|}
_PyEval_Vector:
 2168|   129k|{
 2169|   129k|    size_t total_args = argcount;
 2170|   129k|    if (kwnames) {
  ------------------
  |  Branch (2170:9): [True: 361, False: 129k]
  ------------------
 2171|    361|        total_args += PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|    361|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    361|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    361|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2172|    361|    }
 2173|   129k|    _PyStackRef stack_array[8] = {0};
 2174|   129k|    _PyStackRef *arguments;
 2175|   129k|    if (total_args <= 8) {
  ------------------
  |  Branch (2175:9): [True: 129k, False: 60]
  ------------------
 2176|   129k|        arguments = stack_array;
 2177|   129k|    }
 2178|     60|    else {
 2179|     60|        arguments = PyMem_Malloc(sizeof(_PyStackRef) * total_args);
 2180|     60|        if (arguments == NULL) {
  ------------------
  |  Branch (2180:13): [True: 0, False: 60]
  ------------------
 2181|      0|            return PyErr_NoMemory();
 2182|      0|        }
 2183|     60|    }
 2184|       |    /* _PyEvalFramePushAndInit consumes the references
 2185|       |     * to func, locals and all its arguments */
 2186|   129k|    Py_XINCREF(locals);
  ------------------
  |  |  611|   129k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   129k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2187|   587k|    for (size_t i = 0; i < total_args; i++) {
  ------------------
  |  Branch (2187:24): [True: 457k, False: 129k]
  ------------------
 2188|   457k|        arguments[i] = PyStackRef_FromPyObjectNew(args[i]);
  ------------------
  |  |  611|   457k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   457k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   457k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2189|   457k|    }
 2190|   129k|    _PyInterpreterFrame *frame = _PyEvalFramePushAndInit(
 2191|   129k|        tstate, PyStackRef_FromPyObjectNew(func), locals,
  ------------------
  |  |  611|   129k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   129k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2192|   129k|        arguments, argcount, kwnames, NULL);
 2193|   129k|    if (total_args > 8) {
  ------------------
  |  Branch (2193:9): [True: 60, False: 129k]
  ------------------
 2194|     60|        PyMem_Free(arguments);
 2195|     60|    }
 2196|   129k|    if (frame == NULL) {
  ------------------
  |  Branch (2196:9): [True: 0, False: 129k]
  ------------------
 2197|      0|        return NULL;
 2198|      0|    }
 2199|   129k|    EVAL_CALL_STAT_INC(EVAL_CALL_VECTOR);
  ------------------
  |  |   79|   129k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
 2200|   129k|    return _PyEval_EvalFrame(tstate, frame, 0);
 2201|   129k|}
_PyEval_UnpackIterableStackRef:
 2378|     82|{
 2379|     82|    int i = 0, j = 0;
 2380|     82|    Py_ssize_t ll = 0;
 2381|     82|    PyObject *it;  /* iter(v) */
 2382|     82|    PyObject *w;
 2383|     82|    PyObject *l = NULL; /* variable list */
 2384|     82|    assert(v != NULL);
  ------------------
  |  Branch (2384:5): [True: 82, False: 0]
  ------------------
 2385|       |
 2386|     82|    it = PyObject_GetIter(v);
 2387|     82|    if (it == NULL) {
  ------------------
  |  Branch (2387:9): [True: 0, False: 82]
  ------------------
 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|    264|    for (; i < argcnt; i++) {
  ------------------
  |  Branch (2398:12): [True: 182, False: 82]
  ------------------
 2399|    182|        w = PyIter_Next(it);
 2400|    182|        if (w == NULL) {
  ------------------
  |  Branch (2400:13): [True: 0, False: 182]
  ------------------
 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|    182|        *--sp = PyStackRef_FromPyObjectSteal(w);
 2419|    182|    }
 2420|       |
 2421|     82|    if (argcntafter == -1) {
  ------------------
  |  Branch (2421:9): [True: 82, False: 0]
  ------------------
 2422|       |        /* We better have exhausted the iterator now. */
 2423|     82|        w = PyIter_Next(it);
 2424|     82|        if (w == NULL) {
  ------------------
  |  Branch (2424:13): [True: 82, False: 0]
  ------------------
 2425|     82|            if (_PyErr_Occurred(tstate))
  ------------------
  |  Branch (2425:17): [True: 0, False: 82]
  ------------------
 2426|      0|                goto Error;
 2427|     82|            Py_DECREF(it);
  ------------------
  |  |   80|     82|    do { \
  |  |   81|     82|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|     82|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|     82|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 82]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|     82|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|     82|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|     82|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 82, False: 0]
  |  |  ------------------
  |  |   88|     82|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|     82|    do { \
  |  |  |  |  110|     82|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|     82|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 82]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|     82|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 82]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|     82|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|     82|            (*dealloc)(op); \
  |  |   91|     82|        } \
  |  |   92|     82|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 82]
  |  |  ------------------
  ------------------
 2428|     82|            return 1;
 2429|     82|        }
 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|  36.2k|{
 2485|  36.2k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_RAISE)) {
  ------------------
  |  |   32|  36.2k|#define PY_MONITORING_EVENT_RAISE 11
  ------------------
  |  Branch (2485:9): [True: 36.2k, False: 0]
  ------------------
 2486|  36.2k|        return;
 2487|  36.2k|    }
 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|    332|{
 2632|    332|    PyThreadState *tstate = _PyThreadState_GET();
 2633|    332|    return _PyThreadState_GetFrame(tstate);
 2634|    332|}
_PyEval_GetBuiltins:
 2652|    131|{
 2653|    131|    _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
 2654|    131|    if (frame != NULL) {
  ------------------
  |  Branch (2654:9): [True: 125, False: 6]
  ------------------
 2655|    125|        return frame->f_builtins;
 2656|    125|    }
 2657|      6|    return tstate->interp->builtins;
 2658|    131|}
PyEval_GetBuiltins:
 2662|    131|{
 2663|    131|    PyThreadState *tstate = _PyThreadState_GET();
 2664|    131|    return _PyEval_GetBuiltins(tstate);
 2665|    131|}
_PyEval_GetFrameLocals:
 2730|      1|{
 2731|      1|    PyThreadState *tstate = _PyThreadState_GET();
 2732|      1|     _PyInterpreterFrame *current_frame = _PyThreadState_GetFrame(tstate);
 2733|      1|    if (current_frame == NULL) {
  ------------------
  |  Branch (2733:9): [True: 0, False: 1]
  ------------------
 2734|      0|        _PyErr_SetString(tstate, PyExc_SystemError, "frame does not exist");
 2735|      0|        return NULL;
 2736|      0|    }
 2737|       |
 2738|      1|    PyObject *locals = _PyFrame_GetLocals(current_frame);
 2739|      1|    if (locals == NULL) {
  ------------------
  |  Branch (2739:9): [True: 0, False: 1]
  ------------------
 2740|      0|        return NULL;
 2741|      0|    }
 2742|       |
 2743|      1|    if (PyFrameLocalsProxy_Check(locals)) {
  ------------------
  |  |    9|      1|#define PyFrameLocalsProxy_Check(op) Py_IS_TYPE((op), &PyFrameLocalsProxy_Type)
  |  |  ------------------
  |  |  |  |   65|      1|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2744|      0|        PyObject* ret = PyDict_New();
 2745|      0|        if (ret == NULL) {
  ------------------
  |  Branch (2745:13): [True: 0, False: 0]
  ------------------
 2746|      0|            Py_DECREF(locals);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  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]
  |  |  ------------------
  ------------------
 2747|      0|            return NULL;
 2748|      0|        }
 2749|      0|        if (PyDict_Update(ret, locals) < 0) {
  ------------------
  |  Branch (2749:13): [True: 0, False: 0]
  ------------------
 2750|      0|            Py_DECREF(ret);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  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]
  |  |  ------------------
  ------------------
 2751|      0|            Py_DECREF(locals);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  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]
  |  |  ------------------
  ------------------
 2752|      0|            return NULL;
 2753|      0|        }
 2754|      0|        Py_DECREF(locals);
  ------------------
  |  |   80|      0|    do { \
  |  |   81|      0|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      0|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      0|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      0|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  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]
  |  |  ------------------
  ------------------
 2755|      0|        return ret;
 2756|      0|    }
 2757|       |
 2758|      1|    assert(PyMapping_Check(locals));
  ------------------
  |  Branch (2758:5): [True: 1, False: 0]
  ------------------
 2759|      1|    return locals;
 2760|      1|}
PyEval_GetGlobals:
 2774|  44.6k|{
 2775|  44.6k|    PyThreadState *tstate = _PyThreadState_GET();
 2776|  44.6k|    return _PyEval_GetGlobals(tstate);
 2777|  44.6k|}
_PyEval_EnsureBuiltins:
 2837|    128|{
 2838|    128|    PyObject *builtins = get_globals_builtins(globals);
 2839|    128|    if (builtins == NULL) {
  ------------------
  |  Branch (2839:9): [True: 125, False: 3]
  ------------------
 2840|    125|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2840:13): [True: 0, False: 125]
  ------------------
 2841|      0|            return -1;
 2842|      0|        }
 2843|    125|        builtins = PyEval_GetBuiltins();  // borrowed
 2844|    125|        if (builtins == NULL) {
  ------------------
  |  Branch (2844:13): [True: 0, False: 125]
  ------------------
 2845|      0|            assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2845:13): [True: 0, False: 0]
  ------------------
 2846|      0|            return -1;
 2847|      0|        }
 2848|    125|        Py_INCREF(builtins);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2849|    125|        if (set_globals_builtins(globals, builtins) < 0) {
  ------------------
  |  Branch (2849:13): [True: 0, False: 125]
  ------------------
 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|    125|    }
 2854|    128|    if (p_builtins != NULL) {
  ------------------
  |  Branch (2854:9): [True: 0, False: 128]
  ------------------
 2855|      0|        *p_builtins = builtins;
 2856|      0|    }
 2857|    128|    else {
 2858|       |        Py_DECREF(builtins);
  ------------------
  |  |   80|    128|    do { \
  |  |   81|    128|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    128|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    128|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|    128|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    128|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 128]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|    128|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|    128|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|    128|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 128]
  |  |  ------------------
  |  |   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|    128|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 128]
  |  |  ------------------
  ------------------
 2859|    128|    }
 2860|    128|    return 0;
 2861|    128|}
_PyEval_EnsureBuiltinsWithModule:
 2866|  44.5k|{
 2867|  44.5k|    PyObject *builtins = get_globals_builtins(globals);
 2868|  44.5k|    if (builtins == NULL) {
  ------------------
  |  Branch (2868:9): [True: 44.5k, False: 0]
  ------------------
 2869|  44.5k|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2869:13): [True: 0, False: 44.5k]
  ------------------
 2870|      0|            return -1;
 2871|      0|        }
 2872|  44.5k|        builtins = PyImport_ImportModuleLevel("builtins", NULL, NULL, NULL, 0);
 2873|  44.5k|        if (builtins == NULL) {
  ------------------
  |  Branch (2873:13): [True: 0, False: 44.5k]
  ------------------
 2874|      0|            return -1;
 2875|      0|        }
 2876|  44.5k|        if (set_globals_builtins(globals, builtins) < 0) {
  ------------------
  |  Branch (2876:13): [True: 0, False: 44.5k]
  ------------------
 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|  44.5k|    }
 2881|  44.5k|    if (p_builtins != NULL) {
  ------------------
  |  Branch (2881:9): [True: 44.5k, False: 0]
  ------------------
 2882|  44.5k|        *p_builtins = builtins;
 2883|  44.5k|    }
 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|  44.5k|    return 0;
 2888|  44.5k|}
PyEval_MergeCompilerFlags:
 2914|      3|{
 2915|      3|    PyThreadState *tstate = _PyThreadState_GET();
 2916|      3|    _PyInterpreterFrame *current_frame = tstate->current_frame;
 2917|      3|    if (current_frame == tstate->base_frame) {
  ------------------
  |  Branch (2917:9): [True: 0, False: 3]
  ------------------
 2918|      0|        current_frame = NULL;
 2919|      0|    }
 2920|      3|    int result = cf->cf_flags != 0;
 2921|       |
 2922|      3|    if (current_frame != NULL) {
  ------------------
  |  Branch (2922:9): [True: 3, False: 0]
  ------------------
 2923|      3|        const int codeflags = _PyFrame_GetCode(current_frame)->co_flags;
 2924|      3|        const int compilerflags = codeflags & PyCF_MASK;
  ------------------
  |  |    6|      3|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  139|      3|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  140|      3|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|      3|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  141|      3|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  142|      3|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|      3|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  143|      3|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  145|      3|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|      3|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  146|      3|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  147|      3|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
 2925|      3|        if (compilerflags) {
  ------------------
  |  Branch (2925:13): [True: 0, False: 3]
  ------------------
 2926|      0|            result = 1;
 2927|      0|            cf->cf_flags |= compilerflags;
 2928|      0|        }
 2929|      3|    }
 2930|      3|    return result;
 2931|      3|}
_PyEval_SliceIndex:
 2994|   832k|{
 2995|   832k|    if (Py_IsNone(v)) {
  ------------------
  |  |  621|   832k|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|   832k|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 371k, False: 461k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2996|   371k|        return 1;
 2997|   371k|    }
 2998|   461k|    return _PyEval_SliceIndexNotNone(v, pi);
 2999|   832k|}
_PyEval_SliceIndexNotNone:
 3003|   461k|{
 3004|   461k|    PyThreadState *tstate = _PyThreadState_GET();
 3005|   461k|    Py_ssize_t x;
 3006|   461k|    if (PyLong_CheckExact(v) && _PyLong_IsCompact((PyLongObject *)v)) {
  ------------------
  |  |   14|   461k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |   65|   922k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   461k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   461k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 459k, False: 1.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3006:33): [True: 457k, False: 2.15k]
  ------------------
 3007|   457k|        *pi = _PyLong_CompactValue((PyLongObject *)v);
 3008|   457k|        return 1;
 3009|   457k|    }
 3010|  3.40k|    if (_PyIndex_Check(v)) {
  ------------------
  |  Branch (3010:9): [True: 2.16k, False: 1.23k]
  ------------------
 3011|  2.16k|        x = PyNumber_AsSsize_t(v, NULL);
 3012|  2.16k|        if (x == -1 && _PyErr_Occurred(tstate))
  ------------------
  |  Branch (3012:13): [True: 0, False: 2.16k]
  |  Branch (3012:24): [True: 0, False: 0]
  ------------------
 3013|      0|            return 0;
 3014|  2.16k|    }
 3015|  1.23k|    else {
 3016|  1.23k|        _PyErr_SetString(tstate, PyExc_TypeError,
 3017|  1.23k|                         "slice indices must be integers or "
 3018|  1.23k|                         "have an __index__ method");
 3019|  1.23k|        return 0;
 3020|  1.23k|    }
 3021|  2.16k|    *pi = x;
 3022|  2.16k|    return 1;
 3023|  3.40k|}
_PyEval_UnpackIndices:
 3029|   371k|{
 3030|   371k|    if (len < 0) {
  ------------------
  |  Branch (3030:9): [True: 0, False: 371k]
  ------------------
 3031|      0|        return 0;
 3032|      0|    }
 3033|   371k|    *istart = 0;
 3034|   371k|    *istop = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|   371k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 3035|   371k|    if (!_PyEval_SliceIndex(start, istart)) {
  ------------------
  |  Branch (3035:9): [True: 0, False: 371k]
  ------------------
 3036|      0|        return 0;
 3037|      0|    }
 3038|   371k|    if (!_PyEval_SliceIndex(stop, istop)) {
  ------------------
  |  Branch (3038:9): [True: 0, False: 371k]
  ------------------
 3039|      0|        return 0;
 3040|      0|    }
 3041|   371k|    PySlice_AdjustIndices(len, istart, istop, 1);
 3042|   371k|    return 1;
 3043|   371k|}
_PyEval_ImportName:
 3049|   166k|{
 3050|   166k|    PyObject *import_func;
 3051|   166k|    if (PyMapping_GetOptionalItem(builtins, &_Py_ID(__import__),
  ------------------
  |  |  951|   166k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   166k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   166k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3051:9): [True: 0, False: 166k]
  ------------------
 3052|   166k|                                  &import_func) < 0) {
 3053|      0|        return NULL;
 3054|      0|    }
 3055|   166k|    if (import_func == NULL) {
  ------------------
  |  Branch (3055:9): [True: 0, False: 166k]
  ------------------
 3056|      0|        _PyErr_SetString(tstate, PyExc_ImportError, "__import__ not found");
 3057|      0|        return NULL;
 3058|      0|    }
 3059|       |
 3060|   166k|    PyObject *res = _PyEval_ImportNameWithImport(
 3061|   166k|        tstate, import_func, globals, locals, name, fromlist, level);
 3062|       |    Py_DECREF(import_func);
  ------------------
  |  |   80|   166k|    do { \
  |  |   81|   166k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|   166k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   166k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|   166k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|   166k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   166k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   166k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 166k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|   166k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|   166k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|   166k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 166k]
  |  |  ------------------
  |  |   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|   166k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 166k]
  |  |  ------------------
  ------------------
 3063|   166k|    return res;
 3064|   166k|}
_PyEval_ImportNameWithImport:
 3070|   166k|{
 3071|   166k|    if (locals == NULL) {
  ------------------
  |  Branch (3071:9): [True: 165k, False: 321]
  ------------------
 3072|   165k|        locals = Py_None;
  ------------------
  |  |  616|   165k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3073|   165k|    }
 3074|       |
 3075|       |    /* Fast path for not overloaded __import__. */
 3076|   166k|    if (_PyImport_IsDefaultImportFunc(tstate->interp, import_func)) {
  ------------------
  |  Branch (3076:9): [True: 166k, False: 0]
  ------------------
 3077|   166k|        int ilevel = PyLong_AsInt(level);
 3078|   166k|        if (ilevel == -1 && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3078:13): [True: 0, False: 166k]
  |  Branch (3078:29): [True: 0, False: 0]
  ------------------
 3079|      0|            return NULL;
 3080|      0|        }
 3081|   166k|        return PyImport_ImportModuleLevelObject(
 3082|   166k|                        name,
 3083|   166k|                        globals,
 3084|   166k|                        locals,
 3085|   166k|                        fromlist,
 3086|   166k|                        ilevel);
 3087|   166k|    }
 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|   166k|}
_PyEval_LazyImportName:
 3143|    284|{
 3144|    284|    PyObject *res = NULL;
 3145|       |    // Check if global policy overrides the local syntax
 3146|    284|    switch (PyImport_GetLazyImportsMode()) {
  ------------------
  |  Branch (3146:13): [True: 284, False: 0]
  ------------------
 3147|      0|        case PyImport_LAZY_ALL:
  ------------------
  |  Branch (3147:9): [True: 0, False: 284]
  ------------------
 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|    284|        case PyImport_LAZY_NORMAL:
  ------------------
  |  Branch (3152:9): [True: 284, False: 0]
  ------------------
 3153|    284|            break;
 3154|    284|    }
 3155|       |
 3156|    284|    if (!lazy) {
  ------------------
  |  Branch (3156:9): [True: 271, False: 13]
  ------------------
 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|    271|        if (is_lazy_import_module_level()) {
  ------------------
  |  Branch (3160:13): [True: 271, False: 0]
  ------------------
 3161|    271|            lazy = check_lazy_import_compatibility(tstate, globals, name, level);
 3162|    271|            if (lazy < 0) {
  ------------------
  |  Branch (3162:17): [True: 0, False: 271]
  ------------------
 3163|      0|                return NULL;
 3164|      0|            }
 3165|    271|        }
 3166|    271|    }
 3167|       |
 3168|    284|    if (!lazy) {
  ------------------
  |  Branch (3168:9): [True: 271, False: 13]
  ------------------
 3169|       |        // Not a lazy import or lazy imports are disabled, fallback to the
 3170|       |        // regular import.
 3171|    271|        return _PyEval_ImportName(tstate, builtins, globals, locals,
 3172|    271|                                  name, fromlist, level);
 3173|    271|    }
 3174|       |
 3175|     13|    PyObject *lazy_import_func;
 3176|     13|    if (PyMapping_GetOptionalItem(builtins, &_Py_ID(__lazy_import__),
  ------------------
  |  |  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 (3176:9): [True: 0, False: 13]
  ------------------
 3177|     13|                                  &lazy_import_func) < 0) {
 3178|      0|        goto error;
 3179|      0|    }
 3180|     13|    if (lazy_import_func == NULL) {
  ------------------
  |  Branch (3180:9): [True: 0, False: 13]
  ------------------
 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|     13|    if (locals == NULL) {
  ------------------
  |  Branch (3187:9): [True: 0, False: 13]
  ------------------
 3188|      0|        locals = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3189|      0|    }
 3190|       |
 3191|     13|    if (_PyImport_IsDefaultLazyImportFunc(tstate->interp, lazy_import_func)) {
  ------------------
  |  Branch (3191:9): [True: 13, False: 0]
  ------------------
 3192|     13|        int ilevel = PyLong_AsInt(level);
 3193|     13|        if (ilevel == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3193:13): [True: 0, False: 13]
  |  Branch (3193:29): [True: 0, False: 0]
  ------------------
 3194|      0|            goto error;
 3195|      0|        }
 3196|       |
 3197|     13|        res = _PyImport_LazyImportModuleLevelObject(
 3198|     13|            tstate, name, builtins, globals, locals, fromlist, ilevel
 3199|     13|        );
 3200|     13|        goto error;
 3201|     13|    }
 3202|       |
 3203|      0|    PyObject *args[5] = {name, globals, locals, fromlist, level};
 3204|      0|    res = PyObject_Vectorcall(lazy_import_func, args, 5, NULL);
 3205|     13|error:
 3206|       |    Py_XDECREF(lazy_import_func);
  ------------------
  |  |   69|     13|    do { \
  |  |   70|     13|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|     13|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 13, False: 0]
  |  |  ------------------
  |  |   72|     13|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|     13|    do { \
  |  |  |  |   81|     13|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     13|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     13|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 13]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     13|        _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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|     13|        } \
  |  |   74|     13|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 13]
  |  |  ------------------
  ------------------
 3207|     13|    return res;
 3208|      0|}
_PyEval_ImportFrom:
 3212|    274|{
 3213|    274|    PyObject *x;
 3214|    274|    PyObject *fullmodname, *mod_name, *origin, *mod_name_or_unknown, *errmsg, *spec;
 3215|       |
 3216|    274|    if (PyObject_GetOptionalAttr(v, name, &x) != 0) {
  ------------------
  |  Branch (3216:9): [True: 268, False: 6]
  ------------------
 3217|    268|        return x;
 3218|    268|    }
 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|      6|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__name__), &mod_name) < 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 (3222:9): [True: 0, False: 6]
  ------------------
 3223|      0|        return NULL;
 3224|      0|    }
 3225|      6|    if (mod_name == NULL || !PyUnicode_Check(mod_name)) {
  ------------------
  |  |  103|      6|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3225:9): [True: 0, False: 6]
  |  Branch (3225:29): [True: 0, False: 6]
  ------------------
 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|      6|    fullmodname = PyUnicode_FromFormat("%U.%U", mod_name, name);
 3230|      6|    if (fullmodname == NULL) {
  ------------------
  |  Branch (3230:9): [True: 0, False: 6]
  ------------------
 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|      6|    x = PyImport_GetModule(fullmodname);
 3235|      6|    Py_DECREF(fullmodname);
  ------------------
  |  |   80|      6|    do { \
  |  |   81|      6|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      6|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      6|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      6|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      6|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      6|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 6, False: 0]
  |  |  ------------------
  |  |   88|      6|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      6|    do { \
  |  |  |  |  110|      6|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      6|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      6|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      6|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      6|            (*dealloc)(op); \
  |  |   91|      6|        } \
  |  |   92|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3236|      6|    if (x == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3236:9): [True: 6, False: 0]
  |  Branch (3236:22): [True: 6, False: 0]
  ------------------
 3237|      6|        goto error;
 3238|      6|    }
 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|      6| error:
 3243|      6|    if (mod_name == NULL) {
  ------------------
  |  Branch (3243:9): [True: 0, False: 6]
  ------------------
 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|      6|    } else {
 3249|      6|        mod_name_or_unknown = mod_name;
 3250|      6|    }
 3251|       |    // mod_name is no longer an owned reference
 3252|      6|    assert(mod_name_or_unknown);
  ------------------
  |  Branch (3252:5): [True: 6, False: 0]
  ------------------
 3253|      6|    assert(mod_name == NULL || mod_name == mod_name_or_unknown);
  ------------------
  |  Branch (3253:5): [True: 0, False: 6]
  |  Branch (3253:5): [True: 6, False: 0]
  ------------------
 3254|       |
 3255|      6|    origin = NULL;
 3256|      6|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__spec__), &spec) < 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 (3256:9): [True: 0, False: 6]
  ------------------
 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|      6|    if (spec == NULL) {
  ------------------
  |  Branch (3260:9): [True: 0, False: 6]
  ------------------
 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|      6|    if (_PyModuleSpec_GetFileOrigin(spec, &origin) < 0) {
  ------------------
  |  Branch (3267:9): [True: 0, False: 6]
  ------------------
 3268|      0|        goto done;
 3269|      0|    }
 3270|       |
 3271|      6|    int is_possibly_shadowing = _PyModule_IsPossiblyShadowing(origin);
 3272|      6|    if (is_possibly_shadowing < 0) {
  ------------------
  |  Branch (3272:9): [True: 0, False: 6]
  ------------------
 3273|      0|        goto done;
 3274|      0|    }
 3275|      6|    int is_possibly_shadowing_stdlib = 0;
 3276|      6|    if (is_possibly_shadowing) {
  ------------------
  |  Branch (3276:9): [True: 0, False: 6]
  ------------------
 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|      6|    if (origin == NULL && PyModule_Check(v)) {
  ------------------
  |  |   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: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3291:9): [True: 6, False: 0]
  ------------------
 3292|       |        // Fall back to __file__ for diagnostics if we don't have
 3293|       |        // an origin that is a location
 3294|      6|        origin = PyModule_GetFilenameObject(v);
 3295|      6|        if (origin == NULL) {
  ------------------
  |  Branch (3295:13): [True: 1, False: 5]
  ------------------
 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|      6|        assert(origin == NULL || PyUnicode_Check(origin));
  ------------------
  |  Branch (3302:9): [True: 1, False: 5]
  |  Branch (3302:9): [True: 5, False: 0]
  ------------------
 3303|      6|    }
 3304|       |
 3305|      6|    if (is_possibly_shadowing_stdlib) {
  ------------------
  |  Branch (3305:9): [True: 0, False: 6]
  ------------------
 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|      6|    else {
 3316|      6|        int rc = _PyModuleSpec_IsInitializing(spec);
 3317|      6|        if (rc < 0) {
  ------------------
  |  Branch (3317:13): [True: 0, False: 6]
  ------------------
 3318|      0|            goto done;
 3319|      0|        }
 3320|      6|        else if (rc > 0) {
  ------------------
  |  Branch (3320:18): [True: 0, False: 6]
  ------------------
 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|      6|        else {
 3348|      6|            assert(rc == 0);
  ------------------
  |  Branch (3348:13): [True: 6, False: 0]
  ------------------
 3349|      6|            if (origin) {
  ------------------
  |  Branch (3349:17): [True: 5, False: 1]
  ------------------
 3350|      5|                errmsg = PyUnicode_FromFormat(
 3351|      5|                    "cannot import name %R from %R (%S)",
 3352|      5|                    name, mod_name_or_unknown, origin
 3353|      5|                );
 3354|      5|            }
 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|      6|        }
 3362|      6|    }
 3363|       |
 3364|      6|done_with_errmsg:
 3365|      6|    if (errmsg != NULL) {
  ------------------
  |  Branch (3365:9): [True: 6, False: 0]
  ------------------
 3366|       |        /* NULL checks for mod_name and origin done by _PyErr_SetImportErrorWithNameFrom */
 3367|      6|        _PyErr_SetImportErrorWithNameFrom(errmsg, mod_name, origin, name);
 3368|      6|        Py_DECREF(errmsg);
  ------------------
  |  |   80|      6|    do { \
  |  |   81|      6|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      6|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      6|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|      6|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      6|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|      6|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 6]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  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|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3369|      6|    }
 3370|       |
 3371|      6|done:
 3372|      6|    Py_XDECREF(origin);
  ------------------
  |  |   69|      6|    do { \
  |  |   70|      6|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      6|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 5, False: 1]
  |  |  ------------------
  |  |   72|      5|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      5|    do { \
  |  |  |  |   81|      5|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      5|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      5|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      5|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      5|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      5|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   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|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      5|        } \
  |  |   74|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3373|      6|    Py_XDECREF(spec);
  ------------------
  |  |   69|      6|    do { \
  |  |   70|      6|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      6|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 6, False: 0]
  |  |  ------------------
  |  |   72|      6|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|      6|    do { \
  |  |  |  |   81|      6|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|      6|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      6|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|      6|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      6|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|      6|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  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|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|      6|        } \
  |  |   74|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 3374|      6|    Py_DECREF(mod_name_or_unknown);
  ------------------
  |  |   80|      6|    do { \
  |  |   81|      6|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      6|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|      6|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      6|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      6|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      6|            break; \
  |  |   85|      6|        } \
  |  |   86|      6|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_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|      6|}
_PyEval_CheckExceptTypeValid:
 3386|  32.6k|{
 3387|  32.6k|    if (PyTuple_Check(right)) {
  ------------------
  |  |   27|  32.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  32.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 916, False: 31.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3388|    916|        Py_ssize_t i, length;
 3389|    916|        length = PyTuple_GET_SIZE(right);
  ------------------
  |  |   27|    916|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    916|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    916|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3390|  2.74k|        for (i = 0; i < length; i++) {
  ------------------
  |  Branch (3390:21): [True: 1.83k, False: 916]
  ------------------
 3391|  1.83k|            PyObject *exc = PyTuple_GET_ITEM(right, i);
  ------------------
  |  |   29|  1.83k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.83k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3391:29): [True: 1.83k, False: 0]
  ------------------
 3392|  1.83k|            if (!PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|  1.83k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  3.66k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 1.83k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  1.83k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  1.83k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.83k, 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|  1.83k|        }
 3398|    916|    }
 3399|  31.7k|    else {
 3400|  31.7k|        if (!PyExceptionClass_Check(right)) {
  ------------------
  |  |   61|  31.7k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  63.5k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  31.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  31.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 31.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  31.7k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  31.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 31.7k, 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|  31.7k|    }
 3406|  32.6k|    return 0;
 3407|  32.6k|}
_Py_Check_ArgsIterable:
 3448|     37|{
 3449|     37|    if (Py_TYPE(args)->tp_iter == NULL && !PySequence_Check(args)) {
  ------------------
  |  |  213|     37|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     37|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3449:9): [True: 0, False: 37]
  |  Branch (3449:43): [True: 0, False: 0]
  ------------------
 3450|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 3451|      0|                      "Value after * must be an iterable, not %.200s",
 3452|      0|                      Py_TYPE(args)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3453|      0|        return -1;
 3454|      0|    }
 3455|     37|    return 0;
 3456|     37|}
_PyEval_FormatExcCheckArg:
 3495|      1|{
 3496|      1|    const char *obj_str;
 3497|       |
 3498|      1|    if (!obj)
  ------------------
  |  Branch (3498:9): [True: 0, False: 1]
  ------------------
 3499|      0|        return;
 3500|       |
 3501|      1|    obj_str = PyUnicode_AsUTF8(obj);
 3502|      1|    if (!obj_str)
  ------------------
  |  Branch (3502:9): [True: 0, False: 1]
  ------------------
 3503|      0|        return;
 3504|       |
 3505|      1|    _PyErr_Format(tstate, exc, format_str, obj_str);
 3506|       |
 3507|      1|    if (exc == PyExc_NameError) {
  ------------------
  |  Branch (3507:9): [True: 1, False: 0]
  ------------------
 3508|       |        // Include the name in the NameError exceptions to offer suggestions later.
 3509|      1|        PyObject *exc = PyErr_GetRaisedException();
 3510|      1|        if (PyErr_GivenExceptionMatches(exc, PyExc_NameError)) {
  ------------------
  |  Branch (3510:13): [True: 1, False: 0]
  ------------------
 3511|      1|            if (((PyNameErrorObject*)exc)->name == NULL) {
  ------------------
  |  Branch (3511:17): [True: 1, False: 0]
  ------------------
 3512|       |                // We do not care if this fails because we are going to restore the
 3513|       |                // NameError anyway.
 3514|      1|                (void)PyObject_SetAttr(exc, &_Py_ID(name), obj);
  ------------------
  |  |  951|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3515|      1|            }
 3516|      1|        }
 3517|      1|        PyErr_SetRaisedException(exc);
 3518|      1|    }
 3519|      1|}
Py_EnterRecursiveCall:
 3592|  7.41M|{
 3593|  7.41M|    return _Py_EnterRecursiveCall(where);
 3594|  7.41M|}
Py_LeaveRecursiveCall:
 3597|  5.08M|{
 3598|  5.08M|    _Py_LeaveRecursiveCall();
 3599|  5.08M|}
_PyEval_LoadGlobalStackRef:
 3642|  12.9k|{
 3643|  12.9k|    PyObject *namespace = globals;
 3644|  12.9k|    if (PyAnyDict_CheckExact(globals) && PyAnyDict_CheckExact(builtins)) {
  ------------------
  |  |   41|  25.9k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  12.9k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  25.9k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  12.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  12.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 12.9k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyAnyDict_CheckExact(globals) && PyAnyDict_CheckExact(builtins)) {
  ------------------
  |  |   41|  12.9k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  12.9k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  25.9k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  12.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  12.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 12.9k, 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|  12.9k|        namespace = _PyDict_LoadGlobalStackRef((PyDictObject *)globals,
 3646|  12.9k|                                             (PyDictObject *)builtins,
 3647|  12.9k|                                             name, writeto);
 3648|  12.9k|        if (PyStackRef_IsNull(*writeto) && !PyErr_Occurred()) {
  ------------------
  |  |  482|  25.9k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  12.9k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  12.9k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 1, False: 12.9k]
  |  |  ------------------
  ------------------
  |  Branch (3648:44): [True: 1, False: 0]
  ------------------
 3649|       |            // A missing key does not set an exception in the dictionary helper.
 3650|      1|            _PyEval_FormatExcCheckArg(PyThreadState_GET(), PyExc_NameError,
  ------------------
  |  |   63|      1|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3651|      1|                                        NAME_ERROR_MSG, name);
  ------------------
  |  |  405|      1|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3652|      1|        }
 3653|  12.9k|    }
 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|  12.9k|    PyObject *res_o = PyStackRef_AsPyObjectBorrow(*writeto);
 3681|  12.9k|    if (res_o != NULL && PyLazyImport_CheckExact(res_o)) {
  ------------------
  |  |   15|  12.9k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |   65|  12.9k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 12.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3681:9): [True: 12.9k, False: 1]
  ------------------
 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|  12.9k|}
_PyEval_LoadName:
 3715|  5.33k|{
 3716|  5.33k|    PyObject *value;
 3717|  5.33k|    PyObject *namespace = frame->f_locals;
 3718|  5.33k|    if (namespace == NULL) {
  ------------------
  |  Branch (3718:9): [True: 0, False: 5.33k]
  ------------------
 3719|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 3720|      0|                            "no locals found");
 3721|      0|        return NULL;
 3722|      0|    }
 3723|  5.33k|    if (PyMapping_GetOptionalItem(namespace, name, &value) < 0) {
  ------------------
  |  Branch (3723:9): [True: 0, False: 5.33k]
  ------------------
 3724|      0|        return NULL;
 3725|      0|    }
 3726|  5.33k|    if (value != NULL) {
  ------------------
  |  Branch (3726:9): [True: 3.64k, False: 1.69k]
  ------------------
 3727|  3.64k|        goto found;
 3728|  3.64k|    }
 3729|  1.69k|    namespace = frame->f_globals;
 3730|  1.69k|    if (PyDict_GetItemRef(namespace, name, &value) < 0) {
  ------------------
  |  Branch (3730:9): [True: 0, False: 1.69k]
  ------------------
 3731|      0|        return NULL;
 3732|      0|    }
 3733|  1.69k|    if (value != NULL) {
  ------------------
  |  Branch (3733:9): [True: 970, False: 721]
  ------------------
 3734|    970|        goto found;
 3735|    970|    }
 3736|    721|    namespace = frame->f_builtins;
 3737|    721|    if (PyMapping_GetOptionalItem(namespace, name, &value) < 0) {
  ------------------
  |  Branch (3737:9): [True: 0, False: 721]
  ------------------
 3738|      0|        return NULL;
 3739|      0|    }
 3740|    721|    if (value == NULL) {
  ------------------
  |  Branch (3740:9): [True: 0, False: 721]
  ------------------
 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|  5.33k|found:
 3747|  5.33k|    if (PyLazyImport_CheckExact(value)) {
  ------------------
  |  |   15|  5.33k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |   65|  5.33k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 5.33k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|  5.33k|    return value;
 3751|    721|}
_PyForIter_VirtualIteratorNext:
 3754|   555k|{
 3755|   555k|    PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
 3756|   555k|    _PyStackRef index = *index_ptr;
 3757|   555k|    if (PyStackRef_IsTaggedInt(index)) {
  ------------------
  |  Branch (3757:9): [True: 165, False: 555k]
  ------------------
 3758|    165|        intptr_t i = PyStackRef_UntagInt(index);
 3759|    165|        assert(i >= 0);
  ------------------
  |  Branch (3759:9): [True: 165, False: 0]
  ------------------
 3760|    165|        _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, i);
  ------------------
  |  |  213|    165|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    165|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    165|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3761|    165|        i = next_index.index;
 3762|    165|        PyObject *next = next_index.object;
 3763|    165|        if (next == NULL) {
  ------------------
  |  Branch (3763:13): [True: 25, False: 140]
  ------------------
 3764|     25|            return i < 0 ? PyStackRef_ERROR : PyStackRef_NULL;
  ------------------
  |  Branch (3764:20): [True: 0, False: 25]
  ------------------
 3765|     25|        }
 3766|    140|        *index_ptr = PyStackRef_TagInt(i);
 3767|    140|        return PyStackRef_FromPyObjectSteal(next);
 3768|    165|    }
 3769|   555k|    PyObject *next = (*Py_TYPE(iter_o)->tp_iternext)(iter_o);
  ------------------
  |  |  213|   555k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   555k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   555k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3770|   555k|    if (next == NULL) {
  ------------------
  |  Branch (3770:9): [True: 30.7k, False: 524k]
  ------------------
 3771|  30.7k|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3771:13): [True: 0, False: 30.7k]
  ------------------
 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|  30.7k|        return PyStackRef_NULL;
 3781|  30.7k|    }
 3782|   524k|    return PyStackRef_FromPyObjectSteal(next);
 3783|   555k|}
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|  5.16M|{
 2011|  5.16M|    assert(frame->owner == FRAME_OWNED_BY_THREAD);
  ------------------
  |  Branch (2011:5): [True: 5.16M, 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|  5.16M|    assert((PyObject **)frame + _PyFrame_GetCode(frame)->co_framesize ==
  ------------------
  |  Branch (2014:5): [True: 5.16M, False: 0]
  ------------------
 2015|  5.16M|        tstate->datastack_top);
 2016|  5.16M|    assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
  ------------------
  |  Branch (2016:5): [True: 5.14M, False: 19.9k]
  |  Branch (2016:5): [True: 19.9k, False: 0]
  ------------------
 2017|  5.16M|    _PyFrame_ClearExceptCode(frame);
 2018|  5.16M|    PyStackRef_CLEAR(frame->f_executable);
  ------------------
  |  |  732|  5.16M|    do { \
  |  |  733|  5.16M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  5.16M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  5.16M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  5.16M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  5.16M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 5.16M]
  |  |  ------------------
  ------------------
 2019|  5.16M|    _PyThreadState_PopFrame(tstate, frame);
 2020|  5.16M|}
ceval.c:clear_gen_frame:
 2024|    921|{
 2025|    921|    assert(frame->owner == FRAME_OWNED_BY_GENERATOR);
  ------------------
  |  Branch (2025:5): [True: 921, False: 0]
  ------------------
 2026|    921|    PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
 2027|    921|    FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_CLEARED);
  ------------------
  |  |  169|    921|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
 2028|    921|    assert(tstate->exc_info == &gen->gi_exc_state);
  ------------------
  |  Branch (2028:5): [True: 921, False: 0]
  ------------------
 2029|    921|    tstate->exc_info = gen->gi_exc_state.previous_item;
 2030|    921|    gen->gi_exc_state.previous_item = NULL;
 2031|    921|    frame->previous = NULL;
 2032|    921|    Py_BEGIN_CRITICAL_SECTION(gen);
  ------------------
  |  |   51|    921|    {
  ------------------
 2033|    921|    assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
  ------------------
  |  Branch (2033:5): [True: 921, False: 0]
  |  Branch (2033:5): [True: 0, False: 0]
  ------------------
 2034|    921|    _PyFrame_ClearExceptCode(frame);
 2035|    921|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    921|    }
  ------------------
 2036|    921|    _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|    921|    ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_RETURN;
 2040|    921|}
ceval.c:initialize_locals:
 1752|   197k|{
 1753|   197k|    PyCodeObject *co = (PyCodeObject*)func->func_code;
 1754|   197k|    const Py_ssize_t total_args = co->co_argcount + co->co_kwonlyargcount;
 1755|       |    /* Create a dictionary for keyword parameters (**kwags) */
 1756|   197k|    PyObject *kwdict;
 1757|   197k|    Py_ssize_t i;
 1758|   197k|    PyObject *first_argument = NULL;
 1759|   197k|    if (co->co_flags & CO_VARKEYWORDS) {
  ------------------
  |  |  125|   197k|#define CO_VARKEYWORDS  0x0008
  ------------------
  |  Branch (1759:9): [True: 1.19k, False: 196k]
  ------------------
 1760|  1.19k|        kwdict = PyDict_New();
 1761|  1.19k|        if (kwdict == NULL) {
  ------------------
  |  Branch (1761:13): [True: 0, False: 1.19k]
  ------------------
 1762|      0|            goto fail_pre_positional;
 1763|      0|        }
 1764|  1.19k|        i = total_args;
 1765|  1.19k|        if (co->co_flags & CO_VARARGS) {
  ------------------
  |  |  124|  1.19k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1765:13): [True: 1.09k, False: 94]
  ------------------
 1766|  1.09k|            i++;
 1767|  1.09k|        }
 1768|  1.19k|        assert(PyStackRef_IsNull(localsplus[i]));
  ------------------
  |  Branch (1768:9): [True: 1.19k, False: 0]
  ------------------
 1769|  1.19k|        localsplus[i] = PyStackRef_FromPyObjectSteal(kwdict);
 1770|  1.19k|    }
 1771|   196k|    else {
 1772|   196k|        kwdict = NULL;
 1773|   196k|    }
 1774|       |
 1775|   197k|    if (argcount > co->co_argcount && !(co->co_flags & CO_VARARGS)) {
  ------------------
  |  |  124|  6.86k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1775:9): [True: 6.86k, False: 190k]
  |  Branch (1775:39): [True: 0, False: 6.86k]
  ------------------
 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|   197k|    Py_ssize_t j, n;
 1781|   197k|    if (argcount > co->co_argcount) {
  ------------------
  |  Branch (1781:9): [True: 6.86k, False: 190k]
  ------------------
 1782|  6.86k|        n = co->co_argcount;
 1783|  6.86k|    }
 1784|   190k|    else {
 1785|   190k|        n = argcount;
 1786|   190k|    }
 1787|   765k|    for (j = 0; j < n; j++) {
  ------------------
  |  Branch (1787:17): [True: 568k, False: 197k]
  ------------------
 1788|   568k|        assert(PyStackRef_IsNull(localsplus[j]));
  ------------------
  |  Branch (1788:9): [True: 568k, False: 0]
  ------------------
 1789|   568k|        localsplus[j] = args[j];
 1790|   568k|    }
 1791|       |
 1792|       |    /* Pack other positional arguments into the *args argument */
 1793|   197k|    if (co->co_flags & CO_VARARGS) {
  ------------------
  |  |  124|   197k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1793:9): [True: 6.98k, False: 190k]
  ------------------
 1794|  6.98k|        PyObject *u = NULL;
 1795|  6.98k|        if (argcount == n) {
  ------------------
  |  Branch (1795:13): [True: 118, False: 6.86k]
  ------------------
 1796|    118|            u = (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|    118|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|    118|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1797|    118|        }
 1798|  6.86k|        else {
 1799|  6.86k|            u = _PyTuple_FromStackRefStealOnSuccess(args + n, argcount - n);
 1800|  6.86k|            if (u == NULL) {
  ------------------
  |  Branch (1800:17): [True: 0, False: 6.86k]
  ------------------
 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|  6.86k|        }
 1806|  6.98k|        if (u == NULL) {
  ------------------
  |  Branch (1806:13): [True: 0, False: 6.98k]
  ------------------
 1807|      0|            goto fail_post_positional;
 1808|      0|        }
 1809|  6.98k|        assert(PyStackRef_AsPyObjectBorrow(localsplus[total_args]) == NULL);
  ------------------
  |  Branch (1809:9): [True: 6.98k, False: 0]
  ------------------
 1810|  6.98k|        localsplus[total_args] = PyStackRef_FromPyObjectSteal(u);
 1811|  6.98k|    }
 1812|   190k|    else if (argcount > n) {
  ------------------
  |  Branch (1812:14): [True: 0, False: 190k]
  ------------------
 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|   197k|    if (kwnames != NULL) {
  ------------------
  |  Branch (1820:9): [True: 18.4k, False: 179k]
  ------------------
 1821|  18.4k|        Py_ssize_t kwcount = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  18.4k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1822|  38.5k|        for (i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (1822:21): [True: 20.0k, False: 18.4k]
  ------------------
 1823|  20.0k|            PyObject **co_varnames;
 1824|  20.0k|            PyObject *keyword = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|  20.0k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  20.0k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1824:33): [True: 20.0k, False: 0]
  ------------------
 1825|      0|            _PyStackRef value_stackref = args[i+argcount];
 1826|  20.0k|            Py_ssize_t j;
 1827|       |
 1828|  20.0k|            if (keyword == NULL || !PyUnicode_Check(keyword)) {
  ------------------
  |  |  103|  20.0k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  20.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1828:17): [True: 0, False: 20.0k]
  |  Branch (1828:36): [True: 0, False: 20.0k]
  ------------------
 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|  20.0k|            co_varnames = ((PyTupleObject *)(co->co_localsplusnames))->ob_item;
 1838|  45.9k|            for (j = co->co_posonlyargcount; j < total_args; j++) {
  ------------------
  |  Branch (1838:46): [True: 45.9k, False: 2]
  ------------------
 1839|  45.9k|                PyObject *varname = co_varnames[j];
 1840|  45.9k|                if (varname == keyword) {
  ------------------
  |  Branch (1840:21): [True: 20.0k, False: 25.9k]
  ------------------
 1841|  20.0k|                    goto kw_found;
 1842|  20.0k|                }
 1843|  45.9k|            }
 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|  20.0k|        kw_found:
 1912|  20.0k|            if (PyStackRef_AsPyObjectBorrow(localsplus[j]) != NULL) {
  ------------------
  |  Branch (1912:17): [True: 0, False: 20.0k]
  ------------------
 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|  20.0k|            localsplus[j] = value_stackref;
 1920|  20.0k|        }
 1921|  18.4k|    }
 1922|       |
 1923|       |    /* Check the number of positional arguments */
 1924|   197k|    if ((argcount > co->co_argcount) && !(co->co_flags & CO_VARARGS)) {
  ------------------
  |  |  124|  6.86k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1924:9): [True: 6.86k, False: 190k]
  |  Branch (1924:41): [True: 0, False: 6.86k]
  ------------------
 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|   197k|    if (argcount < co->co_argcount) {
  ------------------
  |  Branch (1933:9): [True: 125k, False: 72.4k]
  ------------------
 1934|   125k|        Py_ssize_t defcount = func->func_defaults == NULL ? 0 : PyTuple_GET_SIZE(func->func_defaults);
  ------------------
  |  |   27|   125k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   125k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   125k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1934:31): [True: 0, False: 125k]
  ------------------
 1935|   125k|        Py_ssize_t m = co->co_argcount - defcount;
 1936|   125k|        Py_ssize_t missing = 0;
 1937|   125k|        for (i = argcount; i < m; i++) {
  ------------------
  |  Branch (1937:28): [True: 351, False: 125k]
  ------------------
 1938|    351|            if (PyStackRef_IsNull(localsplus[i])) {
  ------------------
  |  |  482|    351|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|    351|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    351|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 351]
  |  |  ------------------
  ------------------
 1939|      0|                missing++;
 1940|      0|            }
 1941|    351|        }
 1942|   125k|        if (missing) {
  ------------------
  |  Branch (1942:13): [True: 0, False: 125k]
  ------------------
 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|   125k|        if (n > m)
  ------------------
  |  Branch (1947:13): [True: 41.4k, False: 83.6k]
  ------------------
 1948|  41.4k|            i = n - m;
 1949|  83.6k|        else
 1950|  83.6k|            i = 0;
 1951|   125k|        if (defcount) {
  ------------------
  |  Branch (1951:13): [True: 125k, False: 0]
  ------------------
 1952|   125k|            PyObject **defs = &PyTuple_GET_ITEM(func->func_defaults, 0);
  ------------------
  |  |   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 (1952:32): [True: 125k, False: 0]
  ------------------
 1953|   251k|            for (; i < defcount; i++) {
  ------------------
  |  Branch (1953:20): [True: 126k, False: 125k]
  ------------------
 1954|   126k|                if (PyStackRef_AsPyObjectBorrow(localsplus[m+i]) == NULL) {
  ------------------
  |  Branch (1954:21): [True: 124k, False: 1.19k]
  ------------------
 1955|   124k|                    PyObject *def = defs[i];
 1956|   124k|                    localsplus[m+i] = PyStackRef_FromPyObjectNew(def);
  ------------------
  |  |  611|   124k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   124k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   124k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1957|   124k|                }
 1958|   126k|            }
 1959|   125k|        }
 1960|   125k|    }
 1961|       |
 1962|       |    /* Add missing keyword arguments (copy default values from kwdefs) */
 1963|   197k|    if (co->co_kwonlyargcount > 0) {
  ------------------
  |  Branch (1963:9): [True: 19.8k, False: 177k]
  ------------------
 1964|  19.8k|        Py_ssize_t missing = 0;
 1965|  41.0k|        for (i = co->co_argcount; i < total_args; i++) {
  ------------------
  |  Branch (1965:35): [True: 21.1k, False: 19.8k]
  ------------------
 1966|  21.1k|            if (PyStackRef_AsPyObjectBorrow(localsplus[i]) != NULL)
  ------------------
  |  Branch (1966:17): [True: 18.4k, False: 2.71k]
  ------------------
 1967|  18.4k|                continue;
 1968|  2.71k|            PyObject *varname = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|  2.71k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.71k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1968:33): [True: 2.71k, False: 0]
  ------------------
 1969|  2.71k|            if (func->func_kwdefaults != NULL) {
  ------------------
  |  Branch (1969:17): [True: 2.71k, False: 0]
  ------------------
 1970|  2.71k|                PyObject *def;
 1971|  2.71k|                if (PyDict_GetItemRef(func->func_kwdefaults, varname, &def) < 0) {
  ------------------
  |  Branch (1971:21): [True: 0, False: 2.71k]
  ------------------
 1972|      0|                    goto fail_post_args;
 1973|      0|                }
 1974|  2.71k|                if (def) {
  ------------------
  |  Branch (1974:21): [True: 2.71k, False: 0]
  ------------------
 1975|  2.71k|                    localsplus[i] = PyStackRef_FromPyObjectSteal(def);
 1976|  2.71k|                    continue;
 1977|  2.71k|                }
 1978|  2.71k|            }
 1979|      0|            missing++;
 1980|      0|        }
 1981|  19.8k|        if (missing) {
  ------------------
  |  Branch (1981:13): [True: 0, False: 19.8k]
  ------------------
 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|  19.8k|    }
 1987|   197k|    Py_XDECREF(first_argument);
  ------------------
  |  |   69|   197k|    do { \
  |  |   70|   197k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|   197k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   197k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|   197k|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 0, False: 197k]
  |  |  ------------------
  |  |   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|   197k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 197k]
  |  |  ------------------
  ------------------
 1988|   197k|    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|  44.6k|{
 2765|  44.6k|    _PyInterpreterFrame *current_frame = _PyThreadState_GetFrame(tstate);
 2766|  44.6k|    if (current_frame == NULL) {
  ------------------
  |  Branch (2766:9): [True: 44.5k, False: 166]
  ------------------
 2767|  44.5k|        return NULL;
 2768|  44.5k|    }
 2769|    166|    return current_frame->f_globals;
 2770|  44.6k|}
ceval.c:get_globals_builtins:
 2797|  44.6k|{
 2798|  44.6k|    PyObject *builtins = NULL;
 2799|  44.6k|    if (PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|  44.6k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  44.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  89.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 44.6k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2800|  44.6k|        if (PyDict_GetItemRef(globals, &_Py_ID(__builtins__), &builtins) < 0) {
  ------------------
  |  |  951|  44.6k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  44.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  44.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2800:13): [True: 0, False: 44.6k]
  ------------------
 2801|      0|            return NULL;
 2802|      0|        }
 2803|  44.6k|    }
 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|  44.6k|    return builtins;
 2812|  44.6k|}
ceval.c:set_globals_builtins:
 2816|  44.6k|{
 2817|  44.6k|    if (PyDict_Check(globals)) {
  ------------------
  |  |   18|  44.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  44.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 44.6k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2818|  44.6k|        if (PyDict_SetItem(globals, &_Py_ID(__builtins__), builtins) < 0) {
  ------------------
  |  |  951|  44.6k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  44.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  44.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2818:13): [True: 0, False: 44.6k]
  ------------------
 2819|      0|            return -1;
 2820|      0|        }
 2821|  44.6k|    }
 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|  44.6k|    return 0;
 2832|  44.6k|}
ceval.c:is_lazy_import_module_level:
 3134|    271|{
 3135|    271|    _PyInterpreterFrame *frame = _PyEval_GetFrame();
 3136|    271|    return frame != NULL && frame->f_globals == frame->f_locals;
  ------------------
  |  Branch (3136:12): [True: 271, False: 0]
  |  Branch (3136:29): [True: 271, False: 0]
  ------------------
 3137|    271|}
ceval.c:check_lazy_import_compatibility:
 3097|    271|{
 3098|       |     // Check if this module should be imported lazily due to
 3099|       |     // the compatibility mode support via __lazy_modules__.
 3100|    271|    PyObject *lazy_modules = NULL;
 3101|    271|    PyObject *abs_name = NULL;
 3102|    271|    int res = -1;
 3103|       |
 3104|    271|    if (globals != NULL &&
  ------------------
  |  Branch (3104:9): [True: 271, False: 0]
  ------------------
 3105|    271|        PyMapping_GetOptionalItem(globals, &_Py_ID(__lazy_modules__),
  ------------------
  |  |  951|    271|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    271|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    271|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3105:9): [True: 0, False: 271]
  ------------------
 3106|    271|                                  &lazy_modules) < 0)
 3107|      0|    {
 3108|      0|        return -1;
 3109|      0|    }
 3110|    271|    if (lazy_modules == NULL) {
  ------------------
  |  Branch (3110:9): [True: 271, False: 0]
  ------------------
 3111|    271|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (3111:9): [True: 271, False: 0]
  ------------------
 3112|    271|        return 0;
 3113|    271|    }
 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|   192k|{
  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|   192k|}
ceval.c:monitor_reraise:
  408|  2.68k|{
  409|  2.68k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_RERAISE)) {
  ------------------
  |  |   36|  2.68k|#define PY_MONITORING_EVENT_RERAISE 15
  ------------------
  |  Branch (409:9): [True: 2.68k, False: 0]
  ------------------
  410|  2.68k|        return;
  411|  2.68k|    }
  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|  2.01k|{
  522|  2.01k|    PyObject *type = NULL, *value = NULL;
  523|       |
  524|  2.01k|    if (exc == NULL) {
  ------------------
  |  Branch (524:9): [True: 5, False: 2.00k]
  ------------------
  525|       |        /* Reraise */
  526|      5|        _PyErr_StackItem *exc_info = _PyErr_GetTopmostException(tstate);
  527|      5|        exc = exc_info->exc_value;
  528|      5|        if (Py_IsNone(exc) || exc == NULL) {
  ------------------
  |  |  621|      5|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|     10|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (528:31): [True: 0, False: 5]
  ------------------
  529|      0|            _PyErr_SetString(tstate, PyExc_RuntimeError,
  530|      0|                             "No active exception to reraise");
  531|      0|            return 0;
  532|      0|        }
  533|      5|        Py_INCREF(exc);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|      5|        assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (534:9): [True: 5, False: 0]
  ------------------
  535|      5|        _PyErr_SetRaisedException(tstate, exc);
  536|      5|        return 1;
  537|      5|    }
  538|       |
  539|       |    /* We support the following forms of raise:
  540|       |       raise
  541|       |       raise <instance>
  542|       |       raise <type> */
  543|       |
  544|  2.00k|    if (PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|  2.00k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  4.01k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 0, False: 2.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  2.00k|     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|  2.00k|    else if (PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|  2.00k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.00k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2.00k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|  2.00k|        value = exc;
  559|  2.00k|        type = PyExceptionInstance_Class(exc);
  ------------------
  |  |   69|  2.00k|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  560|  2.00k|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  561|  2.00k|    }
  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|  2.00k|    assert(type != NULL);
  ------------------
  |  Branch (571:5): [True: 2.00k, False: 0]
  ------------------
  572|  2.00k|    assert(value != NULL);
  ------------------
  |  Branch (572:5): [True: 2.00k, False: 0]
  ------------------
  573|       |
  574|  2.00k|    if (cause) {
  ------------------
  |  Branch (574:9): [True: 245, False: 1.76k]
  ------------------
  575|    245|        PyObject *fixed_cause;
  576|    245|        if (PyExceptionClass_Check(cause)) {
  ------------------
  |  |   61|    245|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|    490|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    245|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    245|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 0, False: 245]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|    245|     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|    245|        else if (PyExceptionInstance_Check(cause)) {
  ------------------
  |  |   65|    245|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    245|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 245]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  591|      0|            fixed_cause = cause;
  592|      0|        }
  593|    245|        else if (Py_IsNone(cause)) {
  ------------------
  |  |  621|    245|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|    245|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 245, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  594|    245|            Py_DECREF(cause);
  ------------------
  |  |   80|    245|    do { \
  |  |   81|    245|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    245|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    245|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    245|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|    245|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    245|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    245|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 245, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|    245|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|    245|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|    245|            break; \
  |  |   85|    245|        } \
  |  |   86|    245|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _Py_DECREF_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|    245|            fixed_cause = NULL;
  596|    245|        }
  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|    245|        PyException_SetCause(value, fixed_cause);
  604|    245|    }
  605|       |
  606|  2.00k|    _PyErr_SetObject(tstate, type, value);
  607|       |    /* _PyErr_SetObject incref's its arguments */
  608|  2.00k|    Py_DECREF(value);
  ------------------
  |  |   80|  2.00k|    do { \
  |  |   81|  2.00k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  2.00k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|  2.00k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 2.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|  2.00k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|  2.00k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|  2.00k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 2.00k]
  |  |  ------------------
  |  |   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|  2.00k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 2.00k]
  |  |  ------------------
  ------------------
  609|  2.00k|    Py_DECREF(type);
  ------------------
  |  |   80|  2.00k|    do { \
  |  |   81|  2.00k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  2.00k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|  2.00k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 1.99k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|  1.99k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|  1.99k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|  1.99k|            break; \
  |  |   85|  1.99k|        } \
  |  |   86|  2.00k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|     11|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|     11|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 11]
  |  |  ------------------
  |  |   88|      0|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  109|      0|    do { \
  |  |  |  |  110|      0|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  111|      0|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (111:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  112|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  113|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  114|      0|        } \
  |  |  |  |  115|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (115:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|      0|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|            (*dealloc)(op); \
  |  |   91|      0|        } \
  |  |   92|     11|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 11]
  |  |  ------------------
  ------------------
  610|  2.00k|    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|  2.00k|}
ceval.c:get_exception_handler:
  462|  38.8k|{
  463|  38.8k|    unsigned char *start = (unsigned char *)PyBytes_AS_STRING(code->co_exceptiontable);
  ------------------
  |  |   27|  38.8k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  38.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|  38.8k|    unsigned char *end = start + PyBytes_GET_SIZE(code->co_exceptiontable);
  ------------------
  |  |   33|  38.8k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  38.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.8k|#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|  38.8k|    if (end - start > MAX_LINEAR_SEARCH) {
  ------------------
  |  |  458|  38.8k|#define MAX_LINEAR_SEARCH 40
  ------------------
  |  Branch (470:9): [True: 6.80k, False: 32.0k]
  ------------------
  471|  6.80k|        int offset;
  472|  6.80k|        parse_varint(start, &offset);
  473|  6.80k|        if (offset > index) {
  ------------------
  |  Branch (473:13): [True: 0, False: 6.80k]
  ------------------
  474|      0|            return 0;
  475|      0|        }
  476|  6.86k|        do {
  477|  6.86k|            unsigned char * mid = start + ((end-start)>>1);
  478|  6.86k|            mid = scan_back_to_entry_start(mid);
  479|  6.86k|            parse_varint(mid, &offset);
  480|  6.86k|            if (offset > index) {
  ------------------
  |  Branch (480:17): [True: 3.19k, False: 3.67k]
  ------------------
  481|  3.19k|                end = mid;
  482|  3.19k|            }
  483|  3.67k|            else {
  484|  3.67k|                start = mid;
  485|  3.67k|            }
  486|       |
  487|  6.86k|        } while (end - start > MAX_LINEAR_SEARCH);
  ------------------
  |  |  458|  6.86k|#define MAX_LINEAR_SEARCH 40
  ------------------
  |  Branch (487:18): [True: 61, False: 6.80k]
  ------------------
  488|  6.80k|    }
  489|  38.8k|    unsigned char *scan = start;
  490|  99.9k|    while (scan < end) {
  ------------------
  |  Branch (490:12): [True: 97.7k, False: 2.19k]
  ------------------
  491|  97.7k|        int start_offset, size;
  492|  97.7k|        scan = parse_varint(scan, &start_offset);
  493|  97.7k|        if (start_offset > index) {
  ------------------
  |  Branch (493:13): [True: 1.39k, False: 96.4k]
  ------------------
  494|  1.39k|            break;
  495|  1.39k|        }
  496|  96.4k|        scan = parse_varint(scan, &size);
  497|  96.4k|        if (start_offset + size > index) {
  ------------------
  |  Branch (497:13): [True: 35.3k, False: 61.0k]
  ------------------
  498|  35.3k|            scan = parse_varint(scan, handler);
  499|  35.3k|            int depth_and_lasti;
  500|  35.3k|            parse_varint(scan, &depth_and_lasti);
  501|  35.3k|            *level = depth_and_lasti >> 1;
  502|  35.3k|            *lasti = depth_and_lasti & 1;
  503|  35.3k|            return 1;
  504|  35.3k|        }
  505|  61.0k|        scan = skip_to_next_entry(scan, end);
  506|  61.0k|    }
  507|  3.58k|    return 0;
  508|  38.8k|}
ceval.c:scan_back_to_entry_start:
  444|  6.86k|scan_back_to_entry_start(unsigned char *p) {
  445|  22.4k|    for (; (p[0]&128) == 0; p--);
  ------------------
  |  Branch (445:12): [True: 15.6k, False: 6.86k]
  ------------------
  446|  6.86k|    return p;
  447|  6.86k|}
ceval.c:skip_to_next_entry:
  450|  61.0k|skip_to_next_entry(unsigned char *p, unsigned char *end) {
  451|   244k|    while (p < end && ((p[0] & 128) == 0)) {
  ------------------
  |  Branch (451:12): [True: 243k, False: 1.20k]
  |  Branch (451:23): [True: 183k, False: 59.8k]
  ------------------
  452|   183k|        p++;
  453|   183k|    }
  454|  61.0k|    return p;
  455|  61.0k|}
ceval.c:monitor_unwind:
  436|  3.58k|{
  437|  3.58k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_PY_UNWIND)) {
  ------------------
  |  |   34|  3.58k|#define PY_MONITORING_EVENT_PY_UNWIND 13
  ------------------
  |  Branch (437:9): [True: 3.58k, False: 0]
  ------------------
  438|  3.58k|        return;
  439|  3.58k|    }
  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|  35.3k|{
  388|  35.3k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_EXCEPTION_HANDLED)) {
  ------------------
  |  |   33|  35.3k|#define PY_MONITORING_EVENT_EXCEPTION_HANDLED 12
  ------------------
  |  Branch (388:9): [True: 35.3k, False: 0]
  ------------------
  389|  35.3k|        return 0;
  390|  35.3k|    }
  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|  35.3k|}
ceval.c:no_tools_for_local_event:
  372|  77.7k|{
  373|  77.7k|    assert(event < _PY_MONITORING_UNGROUPED_EVENTS);
  ------------------
  |  Branch (373:5): [True: 77.7k, False: 0]
  ------------------
  374|  77.7k|    _PyCoMonitoringData *data = _PyFrame_GetCode(frame)->_co_monitoring;
  375|  77.7k|    if (data) {
  ------------------
  |  Branch (375:9): [True: 0, False: 77.7k]
  ------------------
  376|      0|        return data->active_monitors.tools[event] == 0;
  377|      0|    }
  378|  77.7k|    else {
  379|  77.7k|        return no_tools_for_global_event(tstate, event);
  380|  77.7k|    }
  381|  77.7k|}
ceval.c:no_tools_for_global_event:
  366|  77.7k|{
  367|  77.7k|    return tstate->interp->monitors.tools[event] == 0;
  368|  77.7k|}

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

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|  45.0k|{
   44|  45.0k|    PyObject *return_value = NULL;
   45|  45.0k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   46|       |
   47|  45.0k|    #define NUM_KEYWORDS 5
   48|  45.0k|    static struct {
   49|  45.0k|        PyGC_Head _this_is_not_used;
   50|  45.0k|        PyObject_VAR_HEAD
   51|  45.0k|        Py_hash_t ob_hash;
   52|  45.0k|        PyObject *ob_item[NUM_KEYWORDS];
   53|  45.0k|    } _kwtuple = {
   54|  45.0k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  45.0k|    {                                     \
  |  |   98|  45.0k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  45.0k|    {                               \
  |  |  |  |   91|  45.0k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  45.0k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  45.0k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  45.0k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  45.0k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  45.0k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  45.0k|        (type)                      \
  |  |  |  |   93|  45.0k|    },
  |  |  ------------------
  |  |   99|  45.0k|        (size)                            \
  |  |  100|  45.0k|    },
  ------------------
   55|  45.0k|        .ob_hash = -1,
   56|  45.0k|        .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  951|  45.0k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  45.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  45.0k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  951|  45.0k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  45.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  45.0k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  951|  45.0k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  45.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  45.0k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  951|  45.0k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  45.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  45.0k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  951|  45.0k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  45.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  45.0k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|  45.0k|    };
   58|  45.0k|    #undef NUM_KEYWORDS
   59|  45.0k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   60|       |
   61|       |    #else  // !Py_BUILD_CORE
   62|       |    #  define KWTUPLE NULL
   63|       |    #endif  // !Py_BUILD_CORE
   64|       |
   65|  45.0k|    static const char * const _keywords[] = {"name", "globals", "locals", "fromlist", "level", NULL};
   66|  45.0k|    static _PyArg_Parser _parser = {
   67|  45.0k|        .keywords = _keywords,
   68|  45.0k|        .fname = "__import__",
   69|  45.0k|        .kwtuple = KWTUPLE,
  ------------------
  |  |   59|  45.0k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   70|  45.0k|    };
   71|  45.0k|    #undef KWTUPLE
   72|  45.0k|    PyObject *argsbuf[5];
   73|  45.0k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|    363|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    363|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    363|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (73:36): [True: 363, False: 44.6k]
  ------------------
   74|  45.0k|    PyObject *name;
   75|  45.0k|    PyObject *globals = NULL;
   76|  45.0k|    PyObject *locals = NULL;
   77|  45.0k|    PyObject *fromlist = NULL;
   78|  45.0k|    int level = 0;
   79|       |
   80|  45.0k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|  45.0k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 44.6k, False: 363]
  |  |  ------------------
  |  |   91|  45.0k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 44.6k, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 44.6k]
  |  |  |  Branch (91:43): [True: 44.6k, False: 0]
  |  |  |  Branch (91:67): [True: 44.6k, False: 0]
  |  |  ------------------
  |  |   92|  45.0k|      (args) : \
  |  |   93|  45.0k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|    363|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   81|  45.0k|            /*minpos*/ 1, /*maxpos*/ 5, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   82|  45.0k|    if (!args) {
  ------------------
  |  Branch (82:9): [True: 0, False: 45.0k]
  ------------------
   83|      0|        goto exit;
   84|      0|    }
   85|  45.0k|    name = args[0];
   86|  45.0k|    if (!noptargs) {
  ------------------
  |  Branch (86:9): [True: 22, False: 44.9k]
  ------------------
   87|     22|        goto skip_optional_pos;
   88|     22|    }
   89|  44.9k|    if (args[1]) {
  ------------------
  |  Branch (89:9): [True: 44.6k, False: 363]
  ------------------
   90|  44.6k|        globals = args[1];
   91|  44.6k|        if (!--noptargs) {
  ------------------
  |  Branch (91:13): [True: 0, False: 44.6k]
  ------------------
   92|      0|            goto skip_optional_pos;
   93|      0|        }
   94|  44.6k|    }
   95|  44.9k|    if (args[2]) {
  ------------------
  |  Branch (95:9): [True: 44.6k, False: 363]
  ------------------
   96|  44.6k|        locals = args[2];
   97|  44.6k|        if (!--noptargs) {
  ------------------
  |  Branch (97:13): [True: 0, False: 44.6k]
  ------------------
   98|      0|            goto skip_optional_pos;
   99|      0|        }
  100|  44.6k|    }
  101|  44.9k|    if (args[3]) {
  ------------------
  |  Branch (101:9): [True: 44.9k, False: 0]
  ------------------
  102|  44.9k|        fromlist = args[3];
  103|  44.9k|        if (!--noptargs) {
  ------------------
  |  Branch (103:13): [True: 0, False: 44.9k]
  ------------------
  104|      0|            goto skip_optional_pos;
  105|      0|        }
  106|  44.9k|    }
  107|  44.9k|    level = PyLong_AsInt(args[4]);
  108|  44.9k|    if (level == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (108:9): [True: 0, False: 44.9k]
  |  Branch (108:24): [True: 0, False: 0]
  ------------------
  109|      0|        goto exit;
  110|      0|    }
  111|  45.0k|skip_optional_pos:
  112|  45.0k|    return_value = builtin___import___impl(module, name, globals, locals, fromlist, level);
  113|       |
  114|  45.0k|exit:
  115|  45.0k|    return return_value;
  116|  45.0k|}
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_divmod:
  595|    399|{
  596|    399|    PyObject *return_value = NULL;
  597|    399|    PyObject *x;
  598|    399|    PyObject *y;
  599|       |
  600|    399|    if (!_PyArg_CheckPositional("divmod", nargs, 2, 2)) {
  ------------------
  |  |   38|    399|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 399, False: 0]
  |  |  |  Branch (38:27): [True: 399, False: 0]
  |  |  ------------------
  |  |   39|    399|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  601|      0|        goto exit;
  602|      0|    }
  603|    399|    x = args[0];
  604|    399|    y = args[1];
  605|    399|    return_value = builtin_divmod_impl(module, x, y);
  606|       |
  607|    399|exit:
  608|    399|    return return_value;
  609|    399|}
bltinmodule.c:builtin_eval:
  632|      3|{
  633|      3|    PyObject *return_value = NULL;
  634|      3|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  635|       |
  636|      3|    #define NUM_KEYWORDS 2
  637|      3|    static struct {
  638|      3|        PyGC_Head _this_is_not_used;
  639|      3|        PyObject_VAR_HEAD
  640|      3|        Py_hash_t ob_hash;
  641|      3|        PyObject *ob_item[NUM_KEYWORDS];
  642|      3|    } _kwtuple = {
  643|      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|    },
  ------------------
  644|      3|        .ob_hash = -1,
  645|      3|        .ob_item = { &_Py_ID(globals), &_Py_ID(locals), },
  ------------------
  |  |  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(globals), &_Py_ID(locals), },
  ------------------
  |  |  951|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  646|      3|    };
  647|      3|    #undef NUM_KEYWORDS
  648|      3|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  649|       |
  650|       |    #else  // !Py_BUILD_CORE
  651|       |    #  define KWTUPLE NULL
  652|       |    #endif  // !Py_BUILD_CORE
  653|       |
  654|      3|    static const char * const _keywords[] = {"", "globals", "locals", NULL};
  655|      3|    static _PyArg_Parser _parser = {
  656|      3|        .keywords = _keywords,
  657|      3|        .fname = "eval",
  658|      3|        .kwtuple = KWTUPLE,
  ------------------
  |  |  648|      3|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  659|      3|    };
  660|      3|    #undef KWTUPLE
  661|      3|    PyObject *argsbuf[3];
  662|      3|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (662:36): [True: 0, False: 3]
  ------------------
  663|      3|    PyObject *source;
  664|      3|    PyObject *globals = Py_None;
  ------------------
  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  ------------------
  665|      3|    PyObject *locals = Py_None;
  ------------------
  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  ------------------
  666|       |
  667|      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)))
  ------------------
  668|      3|            /*minpos*/ 1, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  669|      3|    if (!args) {
  ------------------
  |  Branch (669:9): [True: 0, False: 3]
  ------------------
  670|      0|        goto exit;
  671|      0|    }
  672|      3|    source = args[0];
  673|      3|    if (!noptargs) {
  ------------------
  |  Branch (673:9): [True: 0, False: 3]
  ------------------
  674|      0|        goto skip_optional_pos;
  675|      0|    }
  676|      3|    if (args[1]) {
  ------------------
  |  Branch (676:9): [True: 3, False: 0]
  ------------------
  677|      3|        globals = args[1];
  678|      3|        if (!--noptargs) {
  ------------------
  |  Branch (678:13): [True: 3, False: 0]
  ------------------
  679|      3|            goto skip_optional_pos;
  680|      3|        }
  681|      3|    }
  682|      0|    locals = args[2];
  683|      3|skip_optional_pos:
  684|      3|    return_value = builtin_eval_impl(module, source, globals, locals);
  685|       |
  686|      3|exit:
  687|      3|    return return_value;
  688|      3|}
bltinmodule.c:builtin_exec:
  713|    125|{
  714|    125|    PyObject *return_value = NULL;
  715|    125|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  716|       |
  717|    125|    #define NUM_KEYWORDS 3
  718|    125|    static struct {
  719|    125|        PyGC_Head _this_is_not_used;
  720|    125|        PyObject_VAR_HEAD
  721|    125|        Py_hash_t ob_hash;
  722|    125|        PyObject *ob_item[NUM_KEYWORDS];
  723|    125|    } _kwtuple = {
  724|    125|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    125|    {                                     \
  |  |   98|    125|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    125|    {                               \
  |  |  |  |   91|    125|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    125|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    125|#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|    125|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    125|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    125|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    125|        (type)                      \
  |  |  |  |   93|    125|    },
  |  |  ------------------
  |  |   99|    125|        (size)                            \
  |  |  100|    125|    },
  ------------------
  725|    125|        .ob_hash = -1,
  726|    125|        .ob_item = { &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(closure), },
  ------------------
  |  |  951|    125|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    125|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    125|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(closure), },
  ------------------
  |  |  951|    125|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    125|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    125|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(closure), },
  ------------------
  |  |  951|    125|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    125|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    125|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|    125|    };
  728|    125|    #undef NUM_KEYWORDS
  729|    125|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  730|       |
  731|       |    #else  // !Py_BUILD_CORE
  732|       |    #  define KWTUPLE NULL
  733|       |    #endif  // !Py_BUILD_CORE
  734|       |
  735|    125|    static const char * const _keywords[] = {"", "globals", "locals", "closure", NULL};
  736|    125|    static _PyArg_Parser _parser = {
  737|    125|        .keywords = _keywords,
  738|    125|        .fname = "exec",
  739|    125|        .kwtuple = KWTUPLE,
  ------------------
  |  |  729|    125|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  740|    125|    };
  741|    125|    #undef KWTUPLE
  742|    125|    PyObject *argsbuf[4];
  743|    125|    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: 125]
  ------------------
  744|    125|    PyObject *source;
  745|    125|    PyObject *globals = Py_None;
  ------------------
  |  |  616|    125|#  define Py_None (&_Py_NoneStruct)
  ------------------
  746|    125|    PyObject *locals = Py_None;
  ------------------
  |  |  616|    125|#  define Py_None (&_Py_NoneStruct)
  ------------------
  747|    125|    PyObject *closure = NULL;
  748|       |
  749|    125|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|    125|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 125, False: 0]
  |  |  ------------------
  |  |   91|    125|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 125, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 125]
  |  |  |  Branch (91:43): [True: 125, False: 0]
  |  |  |  Branch (91:67): [True: 125, False: 0]
  |  |  ------------------
  |  |   92|    125|      (args) : \
  |  |   93|    125|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  750|    125|            /*minpos*/ 1, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  751|    125|    if (!args) {
  ------------------
  |  Branch (751:9): [True: 0, False: 125]
  ------------------
  752|      0|        goto exit;
  753|      0|    }
  754|    125|    source = args[0];
  755|    125|    if (!noptargs) {
  ------------------
  |  Branch (755:9): [True: 0, False: 125]
  ------------------
  756|      0|        goto skip_optional_pos;
  757|      0|    }
  758|    125|    if (args[1]) {
  ------------------
  |  Branch (758:9): [True: 125, False: 0]
  ------------------
  759|    125|        globals = args[1];
  760|    125|        if (!--noptargs) {
  ------------------
  |  Branch (760:13): [True: 125, False: 0]
  ------------------
  761|    125|            goto skip_optional_pos;
  762|    125|        }
  763|    125|    }
  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|    125|skip_optional_pos:
  771|    125|    if (!noptargs) {
  ------------------
  |  Branch (771:9): [True: 125, False: 0]
  ------------------
  772|    125|        goto skip_optional_kwonly;
  773|    125|    }
  774|      0|    closure = args[3];
  775|    125|skip_optional_kwonly:
  776|    125|    return_value = builtin_exec_impl(module, source, globals, locals, closure);
  777|       |
  778|    125|exit:
  779|    125|    return return_value;
  780|    125|}
bltinmodule.c:builtin_globals:
  799|     47|{
  800|     47|    return builtin_globals_impl(module);
  801|     47|}
bltinmodule.c:builtin_hasattr:
  819|    378|{
  820|    378|    PyObject *return_value = NULL;
  821|    378|    PyObject *obj;
  822|    378|    PyObject *name;
  823|       |
  824|    378|    if (!_PyArg_CheckPositional("hasattr", nargs, 2, 2)) {
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  825|      0|        goto exit;
  826|      0|    }
  827|    378|    obj = args[0];
  828|    378|    name = args[1];
  829|    378|    return_value = builtin_hasattr_impl(module, obj, name);
  830|       |
  831|    378|exit:
  832|    378|    return return_value;
  833|    378|}
bltinmodule.c:builtin_isinstance:
 1509|     71|{
 1510|     71|    PyObject *return_value = NULL;
 1511|     71|    PyObject *obj;
 1512|     71|    PyObject *class_or_tuple;
 1513|       |
 1514|     71|    if (!_PyArg_CheckPositional("isinstance", nargs, 2, 2)) {
  ------------------
  |  |   38|     71|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 71, False: 0]
  |  |  |  Branch (38:27): [True: 71, False: 0]
  |  |  ------------------
  |  |   39|     71|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1515|      0|        goto exit;
 1516|      0|    }
 1517|     71|    obj = args[0];
 1518|     71|    class_or_tuple = args[1];
 1519|     71|    return_value = builtin_isinstance_impl(module, obj, class_or_tuple);
 1520|       |
 1521|     71|exit:
 1522|     71|    return return_value;
 1523|     71|}
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_pow:
 1111|      3|{
 1112|      3|    PyObject *return_value = NULL;
 1113|      3|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1114|       |
 1115|      3|    #define NUM_KEYWORDS 3
 1116|      3|    static struct {
 1117|      3|        PyGC_Head _this_is_not_used;
 1118|      3|        PyObject_VAR_HEAD
 1119|      3|        Py_hash_t ob_hash;
 1120|      3|        PyObject *ob_item[NUM_KEYWORDS];
 1121|      3|    } _kwtuple = {
 1122|      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|    },
  ------------------
 1123|      3|        .ob_hash = -1,
 1124|      3|        .ob_item = { &_Py_ID(base), &_Py_ID(exp), &_Py_ID(mod), },
  ------------------
  |  |  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(base), &_Py_ID(exp), &_Py_ID(mod), },
  ------------------
  |  |  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(base), &_Py_ID(exp), &_Py_ID(mod), },
  ------------------
  |  |  951|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1125|      3|    };
 1126|      3|    #undef NUM_KEYWORDS
 1127|      3|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1128|       |
 1129|       |    #else  // !Py_BUILD_CORE
 1130|       |    #  define KWTUPLE NULL
 1131|       |    #endif  // !Py_BUILD_CORE
 1132|       |
 1133|      3|    static const char * const _keywords[] = {"base", "exp", "mod", NULL};
 1134|      3|    static _PyArg_Parser _parser = {
 1135|      3|        .keywords = _keywords,
 1136|      3|        .fname = "pow",
 1137|      3|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1127|      3|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1138|      3|    };
 1139|      3|    #undef KWTUPLE
 1140|      3|    PyObject *argsbuf[3];
 1141|      3|    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 (1141:36): [True: 0, False: 3]
  ------------------
 1142|      3|    PyObject *base;
 1143|      3|    PyObject *exp;
 1144|      3|    PyObject *mod = Py_None;
  ------------------
  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1145|       |
 1146|      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)))
  ------------------
 1147|      3|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1148|      3|    if (!args) {
  ------------------
  |  Branch (1148:9): [True: 0, False: 3]
  ------------------
 1149|      0|        goto exit;
 1150|      0|    }
 1151|      3|    base = args[0];
 1152|      3|    exp = args[1];
 1153|      3|    if (!noptargs) {
  ------------------
  |  Branch (1153:9): [True: 2, False: 1]
  ------------------
 1154|      2|        goto skip_optional_pos;
 1155|      2|    }
 1156|      1|    mod = args[2];
 1157|      3|skip_optional_pos:
 1158|      3|    return_value = builtin_pow_impl(module, base, exp, mod);
 1159|       |
 1160|      3|exit:
 1161|      3|    return return_value;
 1162|      3|}
bltinmodule.c:builtin_setattr:
  877|    215|{
  878|    215|    PyObject *return_value = NULL;
  879|    215|    PyObject *obj;
  880|    215|    PyObject *name;
  881|    215|    PyObject *value;
  882|       |
  883|    215|    if (!_PyArg_CheckPositional("setattr", nargs, 3, 3)) {
  ------------------
  |  |   38|    215|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 215, False: 0]
  |  |  |  Branch (38:27): [True: 215, False: 0]
  |  |  ------------------
  |  |   39|    215|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  884|      0|        goto exit;
  885|      0|    }
  886|    215|    obj = args[0];
  887|    215|    name = args[1];
  888|    215|    value = args[2];
  889|    215|    return_value = builtin_setattr_impl(module, obj, name, value);
  890|       |
  891|    215|exit:
  892|    215|    return return_value;
  893|    215|}
bltinmodule.c:builtin_sum:
 1439|    636|{
 1440|    636|    PyObject *return_value = NULL;
 1441|    636|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1442|       |
 1443|    636|    #define NUM_KEYWORDS 1
 1444|    636|    static struct {
 1445|    636|        PyGC_Head _this_is_not_used;
 1446|    636|        PyObject_VAR_HEAD
 1447|    636|        Py_hash_t ob_hash;
 1448|    636|        PyObject *ob_item[NUM_KEYWORDS];
 1449|    636|    } _kwtuple = {
 1450|    636|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    636|    {                                     \
  |  |   98|    636|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    636|    {                               \
  |  |  |  |   91|    636|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    636|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    636|#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|    636|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    636|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    636|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    636|        (type)                      \
  |  |  |  |   93|    636|    },
  |  |  ------------------
  |  |   99|    636|        (size)                            \
  |  |  100|    636|    },
  ------------------
 1451|    636|        .ob_hash = -1,
 1452|    636|        .ob_item = { &_Py_ID(start), },
  ------------------
  |  |  951|    636|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    636|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    636|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1453|    636|    };
 1454|    636|    #undef NUM_KEYWORDS
 1455|    636|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1456|       |
 1457|       |    #else  // !Py_BUILD_CORE
 1458|       |    #  define KWTUPLE NULL
 1459|       |    #endif  // !Py_BUILD_CORE
 1460|       |
 1461|    636|    static const char * const _keywords[] = {"", "start", NULL};
 1462|    636|    static _PyArg_Parser _parser = {
 1463|    636|        .keywords = _keywords,
 1464|    636|        .fname = "sum",
 1465|    636|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1455|    636|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1466|    636|    };
 1467|    636|    #undef KWTUPLE
 1468|    636|    PyObject *argsbuf[2];
 1469|    636|    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 (1469:36): [True: 0, False: 636]
  ------------------
 1470|    636|    PyObject *iterable;
 1471|    636|    PyObject *start = NULL;
 1472|       |
 1473|    636|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|    636|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 636, False: 0]
  |  |  ------------------
  |  |   91|    636|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 636, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 636]
  |  |  |  Branch (91:43): [True: 636, False: 0]
  |  |  |  Branch (91:67): [True: 636, False: 0]
  |  |  ------------------
  |  |   92|    636|      (args) : \
  |  |   93|    636|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1474|    636|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1475|    636|    if (!args) {
  ------------------
  |  Branch (1475:9): [True: 0, False: 636]
  ------------------
 1476|      0|        goto exit;
 1477|      0|    }
 1478|    636|    iterable = args[0];
 1479|    636|    if (!noptargs) {
  ------------------
  |  Branch (1479:9): [True: 636, False: 0]
  ------------------
 1480|    636|        goto skip_optional_pos;
 1481|    636|    }
 1482|      0|    start = args[1];
 1483|    636|skip_optional_pos:
 1484|    636|    return_value = builtin_sum_impl(module, iterable, start);
 1485|       |
 1486|    636|exit:
 1487|    636|    return return_value;
 1488|    636|}
bltinmodule.c:builtin_vars:
 1403|      5|{
 1404|      5|    PyObject *return_value = NULL;
 1405|      5|    PyObject *v = NULL;
 1406|       |
 1407|      5|    if (!_PyArg_CheckPositional("vars", nargs, 0, 1)) {
  ------------------
  |  |   38|      5|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 5, False: 0]
  |  |  |  Branch (38:27): [True: 5, False: 0]
  |  |  ------------------
  |  |   39|      5|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1408|      0|        goto exit;
 1409|      0|    }
 1410|      5|    if (nargs < 1) {
  ------------------
  |  Branch (1410:9): [True: 1, False: 4]
  ------------------
 1411|      1|        goto skip_optional;
 1412|      1|    }
 1413|      4|    v = args[0];
 1414|      5|skip_optional:
 1415|      5|    return_value = builtin_vars_impl(module, v);
 1416|       |
 1417|      5|exit:
 1418|      5|    return return_value;
 1419|      5|}

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

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

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

sysmodule.c:sys_audit:
   84|    380|{
   85|    380|    PyObject *return_value = NULL;
   86|    380|    const char *event;
   87|    380|    PyObject *__clinic_args = NULL;
   88|       |
   89|    380|    if (!_PyArg_CheckPositional("audit", nargs, 1, PY_SSIZE_T_MAX)) {
  ------------------
  |  |   38|    380|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 380, False: 0]
  |  |  |  Branch (38:27): [True: 380, False: 0]
  |  |  ------------------
  |  |   39|    380|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   90|      0|        goto exit;
   91|      0|    }
   92|    380|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    380|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    380|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (92:9): [True: 0, False: 380]
  ------------------
   93|      0|        _PyArg_BadArgument("audit", "argument 1", "str", args[0]);
   94|      0|        goto exit;
   95|      0|    }
   96|    380|    event = _PyUnicode_AsUTF8NoNUL(args[0]);
   97|    380|    if (event == NULL) {
  ------------------
  |  Branch (97:9): [True: 0, False: 380]
  ------------------
   98|      0|        goto exit;
   99|      0|    }
  100|    380|    __clinic_args = PyTuple_FromArray(args + 1, nargs - 1);
  101|    380|    if (__clinic_args == NULL) {
  ------------------
  |  Branch (101:9): [True: 0, False: 380]
  ------------------
  102|      0|        goto exit;
  103|      0|    }
  104|    380|    return_value = sys_audit_impl(module, event, __clinic_args);
  105|       |
  106|    380|exit:
  107|       |    /* Cleanup for args */
  108|    380|    Py_XDECREF(__clinic_args);
  ------------------
  |  |  621|    380|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  109|       |
  110|    380|    return return_value;
  111|    380|}
sysmodule.c:sys_getfilesystemencoding:
  284|      4|{
  285|      4|    return sys_getfilesystemencoding_impl(module);
  286|      4|}
sysmodule.c:sys_getfilesystemencodeerrors:
  302|      2|{
  303|      2|    return sys_getfilesystemencodeerrors_impl(module);
  304|      2|}
sysmodule.c:sys__getframe:
 1255|      2|{
 1256|      2|    PyObject *return_value = NULL;
 1257|      2|    int depth = 0;
 1258|       |
 1259|      2|    if (!_PyArg_CheckPositional("_getframe", nargs, 0, 1)) {
  ------------------
  |  |   38|      2|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (38:7): [True: 2, False: 0]
  |  |  |  Branch (38:27): [True: 2, False: 0]
  |  |  ------------------
  |  |   39|      2|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (39:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1260|      0|        goto exit;
 1261|      0|    }
 1262|      2|    if (nargs < 1) {
  ------------------
  |  Branch (1262:9): [True: 2, False: 0]
  ------------------
 1263|      2|        goto skip_optional;
 1264|      2|    }
 1265|      0|    depth = PyLong_AsInt(args[0]);
 1266|      0|    if (depth == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1266:9): [True: 0, False: 0]
  |  Branch (1266:24): [True: 0, False: 0]
  ------------------
 1267|      0|        goto exit;
 1268|      0|    }
 1269|      2|skip_optional:
 1270|      2|    return_value = sys__getframe_impl(module, depth);
 1271|       |
 1272|      2|exit:
 1273|      2|    return return_value;
 1274|      2|}
sysmodule.c:sys__getframemodulename:
 1798|      2|{
 1799|      2|    PyObject *return_value = NULL;
 1800|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1801|       |
 1802|      2|    #define NUM_KEYWORDS 1
 1803|      2|    static struct {
 1804|      2|        PyGC_Head _this_is_not_used;
 1805|      2|        PyObject_VAR_HEAD
 1806|      2|        Py_hash_t ob_hash;
 1807|      2|        PyObject *ob_item[NUM_KEYWORDS];
 1808|      2|    } _kwtuple = {
 1809|      2|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      2|    {                                     \
  |  |   98|      2|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      2|    {                               \
  |  |  |  |   91|      2|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      2|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      2|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      2|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      2|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      2|        (type)                      \
  |  |  |  |   93|      2|    },
  |  |  ------------------
  |  |   99|      2|        (size)                            \
  |  |  100|      2|    },
  ------------------
 1810|      2|        .ob_hash = -1,
 1811|      2|        .ob_item = { &_Py_ID(depth), },
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1812|      2|    };
 1813|      2|    #undef NUM_KEYWORDS
 1814|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1815|       |
 1816|       |    #else  // !Py_BUILD_CORE
 1817|       |    #  define KWTUPLE NULL
 1818|       |    #endif  // !Py_BUILD_CORE
 1819|       |
 1820|      2|    static const char * const _keywords[] = {"depth", NULL};
 1821|      2|    static _PyArg_Parser _parser = {
 1822|      2|        .keywords = _keywords,
 1823|      2|        .fname = "_getframemodulename",
 1824|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1814|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1825|      2|    };
 1826|      2|    #undef KWTUPLE
 1827|      2|    PyObject *argsbuf[1];
 1828|      2|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1828:36): [True: 0, False: 2]
  ------------------
 1829|      2|    int depth = 0;
 1830|       |
 1831|      2|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   90|      2|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (90:7): [True: 0, Folded]
  |  |  |  Branch (90:23): [True: 0, Folded]
  |  |  |  Branch (90:43): [True: 2, False: 0]
  |  |  ------------------
  |  |   91|      2|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (91:7): [True: 2, False: 0]
  |  |  |  Branch (91:31): [Folded, False: 2]
  |  |  |  Branch (91:43): [True: 2, False: 0]
  |  |  |  Branch (91:67): [True: 2, False: 0]
  |  |  ------------------
  |  |   92|      2|      (args) : \
  |  |   93|      2|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   94|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1832|      2|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1833|      2|    if (!args) {
  ------------------
  |  Branch (1833:9): [True: 0, False: 2]
  ------------------
 1834|      0|        goto exit;
 1835|      0|    }
 1836|      2|    if (!noptargs) {
  ------------------
  |  Branch (1836:9): [True: 0, False: 2]
  ------------------
 1837|      0|        goto skip_optional_pos;
 1838|      0|    }
 1839|      2|    depth = PyLong_AsInt(args[0]);
 1840|      2|    if (depth == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1840:9): [True: 0, False: 2]
  |  Branch (1840:24): [True: 0, False: 0]
  ------------------
 1841|      0|        goto exit;
 1842|      0|    }
 1843|      2|skip_optional_pos:
 1844|      2|    return_value = sys__getframemodulename_impl(module, depth);
 1845|       |
 1846|      2|exit:
 1847|      2|    return return_value;
 1848|      2|}
sysmodule.c:sys_intern:
  324|     27|{
  325|     27|    PyObject *return_value = NULL;
  326|     27|    PyObject *s;
  327|       |
  328|     27|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     27|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     27|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (328:9): [True: 0, False: 27]
  ------------------
  329|      0|        _PyArg_BadArgument("intern", "argument", "str", arg);
  330|      0|        goto exit;
  331|      0|    }
  332|     27|    s = arg;
  333|     27|    return_value = sys_intern_impl(module, s);
  334|       |
  335|     27|exit:
  336|     27|    return return_value;
  337|     27|}
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|  43.3k|{
  136|  43.3k|    if (encoding == NULL) {
  ------------------
  |  Branch (136:9): [True: 0, False: 43.3k]
  ------------------
  137|      0|        PyErr_BadArgument();
  138|      0|        return NULL;
  139|      0|    }
  140|       |
  141|  43.3k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  142|  43.3k|    if (!interp->codecs.initialized) {
  ------------------
  |  Branch (142:9): [True: 0, False: 43.3k]
  ------------------
  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|  43.3k|    PyObject *v = normalizestring(encoding);
  151|  43.3k|    if (v == NULL) {
  ------------------
  |  Branch (151:9): [True: 0, False: 43.3k]
  ------------------
  152|      0|        return NULL;
  153|      0|    }
  154|       |
  155|       |    /* Intern the string. We'll make it immortal later if lookup succeeds. */
  156|  43.3k|    _PyUnicode_InternMortal(interp, &v);
  157|       |
  158|       |    /* First, try to lookup the name in the registry dictionary */
  159|  43.3k|    PyObject *result;
  160|  43.3k|    if (PyDict_GetItemRef(interp->codecs.search_cache, v, &result) < 0) {
  ------------------
  |  Branch (160:9): [True: 0, False: 43.3k]
  ------------------
  161|      0|        goto onError;
  162|      0|    }
  163|  43.3k|    if (result != NULL) {
  ------------------
  |  Branch (163:9): [True: 42.9k, False: 429]
  ------------------
  164|  42.9k|        Py_DECREF(v);
  ------------------
  |  |  430|  42.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|  42.9k|        return result;
  166|  42.9k|    }
  167|       |
  168|       |    /* Next, scan the search functions in order of registration */
  169|    429|    const Py_ssize_t len = PyList_Size(interp->codecs.search_path);
  170|    429|    if (len < 0)
  ------------------
  |  Branch (170:9): [True: 0, False: 429]
  ------------------
  171|      0|        goto onError;
  172|    429|    if (len == 0) {
  ------------------
  |  Branch (172:9): [True: 0, False: 429]
  ------------------
  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|    429|    Py_ssize_t i;
  180|    968|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (180:17): [True: 714, False: 254]
  ------------------
  181|    714|        PyObject *func;
  182|       |
  183|    714|        func = PyList_GetItemRef(interp->codecs.search_path, i);
  184|    714|        if (func == NULL)
  ------------------
  |  Branch (184:13): [True: 0, False: 714]
  ------------------
  185|      0|            goto onError;
  186|    714|        result = PyObject_CallOneArg(func, v);
  187|    714|        Py_DECREF(func);
  ------------------
  |  |  430|    714|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    714|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    714|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|    714|        if (result == NULL)
  ------------------
  |  Branch (188:13): [True: 0, False: 714]
  ------------------
  189|      0|            goto onError;
  190|    714|        if (result == Py_None) {
  ------------------
  |  |  616|    714|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (190:13): [True: 539, False: 175]
  ------------------
  191|    539|            Py_CLEAR(result);
  ------------------
  |  |  487|    539|    do { \
  |  |  488|    539|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    539|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    539|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    539|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    539|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    539|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 539, False: 0]
  |  |  ------------------
  |  |  491|    539|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    539|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    539|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    539|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    539|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    539|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    539|        } \
  |  |  494|    539|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 539]
  |  |  ------------------
  ------------------
  192|    539|            continue;
  193|    539|        }
  194|    175|        if (!PyTuple_Check(result) || PyTuple_GET_SIZE(result) != 4) {
  ------------------
  |  |   27|    175|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    350|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      if (!PyTuple_Check(result) || PyTuple_GET_SIZE(result) != 4) {
  ------------------
  |  |   27|    175|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    175|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    175|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (194:13): [True: 0, False: 175]
  |  Branch (194:39): [True: 0, False: 175]
  ------------------
  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|    175|        break;
  201|    175|    }
  202|    429|    if (result == NULL) {
  ------------------
  |  Branch (202:9): [True: 254, False: 175]
  ------------------
  203|       |        /* XXX Perhaps we should cache misses too ? */
  204|    254|        PyErr_Format(PyExc_LookupError,
  205|    254|                     "unknown encoding: %s", encoding);
  206|    254|        goto onError;
  207|    254|    }
  208|       |
  209|    175|    _PyUnicode_InternImmortal(interp, &v);
  210|       |
  211|       |    /* Cache and return the result */
  212|    175|    if (PyDict_SetItem(interp->codecs.search_cache, v, result) < 0) {
  ------------------
  |  Branch (212:9): [True: 0, False: 175]
  ------------------
  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|    175|    Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  217|    175|    return result;
  218|       |
  219|    254| onError:
  220|    254|    Py_DECREF(v);
  ------------------
  |  |  430|    254|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  221|       |    return NULL;
  222|    175|}
_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|  43.3k|{
  517|  43.3k|    PyObject *codec;
  518|  43.3k|    PyObject *attr;
  519|  43.3k|    int is_text_codec;
  520|       |
  521|  43.3k|    codec = _PyCodec_Lookup(encoding);
  522|  43.3k|    if (codec == NULL)
  ------------------
  |  Branch (522:9): [True: 254, False: 43.0k]
  ------------------
  523|    254|        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|  43.0k|    if (!PyTuple_CheckExact(codec)) {
  ------------------
  |  |   28|  43.0k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  43.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  43.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  43.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (529:9): [True: 43.0k, False: 0]
  ------------------
  530|  43.0k|        if (PyObject_GetOptionalAttr(codec, &_Py_ID(_is_text_encoding), &attr) < 0) {
  ------------------
  |  |  951|  43.0k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  43.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  43.0k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (530:13): [True: 0, False: 43.0k]
  ------------------
  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|  43.0k|        if (attr != NULL) {
  ------------------
  |  Branch (534:13): [True: 43.0k, False: 0]
  ------------------
  535|  43.0k|            is_text_codec = PyObject_IsTrue(attr);
  536|  43.0k|            Py_DECREF(attr);
  ------------------
  |  |  430|  43.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  43.0k|            if (is_text_codec <= 0) {
  ------------------
  |  Branch (537:17): [True: 6, False: 43.0k]
  ------------------
  538|      6|                Py_DECREF(codec);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  539|      6|                if (!is_text_codec) {
  ------------------
  |  Branch (539:21): [True: 6, False: 0]
  ------------------
  540|      6|                    if (alternate_command != NULL) {
  ------------------
  |  Branch (540:25): [True: 6, False: 0]
  ------------------
  541|      6|                        PyErr_Format(PyExc_LookupError,
  542|      6|                                     "'%.400s' is not a text encoding; "
  543|      6|                                     "use %s to handle arbitrary codecs",
  544|      6|                                     encoding, alternate_command);
  545|      6|                    }
  546|      0|                    else {
  547|      0|                        PyErr_Format(PyExc_LookupError,
  548|      0|                                     "'%.400s' is not a text encoding",
  549|      0|                                     encoding);
  550|      0|                    }
  551|      6|                }
  552|      6|                return NULL;
  553|      6|            }
  554|  43.0k|        }
  555|  43.0k|    }
  556|       |
  557|       |    /* This appears to be a valid text encoding */
  558|  43.0k|    return codec;
  559|  43.0k|}
_PyCodec_EncodeText:
  592|  14.7k|{
  593|  14.7k|    PyObject *encoder;
  594|       |
  595|  14.7k|    encoder = _PyCodec_TextEncoder(encoding);
  596|  14.7k|    if (encoder == NULL)
  ------------------
  |  Branch (596:9): [True: 0, False: 14.7k]
  ------------------
  597|      0|        return NULL;
  598|       |
  599|  14.7k|    return _PyCodec_EncodeInternal(object, encoder, encoding, errors);
  600|  14.7k|}
_PyCodec_DecodeText:
  605|  28.5k|{
  606|  28.5k|    PyObject *decoder;
  607|       |
  608|  28.5k|    decoder = _PyCodec_TextDecoder(encoding);
  609|  28.5k|    if (decoder == NULL)
  ------------------
  |  Branch (609:9): [True: 260, False: 28.3k]
  ------------------
  610|    260|        return NULL;
  611|       |
  612|  28.3k|    return _PyCodec_DecodeInternal(object, decoder, encoding, errors);
  613|  28.5k|}
PyCodec_LookupError:
  651|  2.46k|{
  652|  2.46k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  653|  2.46k|    assert(interp->codecs.initialized);
  ------------------
  |  Branch (653:5): [True: 2.46k, False: 0]
  ------------------
  654|       |
  655|  2.46k|    if (name==NULL)
  ------------------
  |  Branch (655:9): [True: 2.25k, False: 210]
  ------------------
  656|  2.25k|        name = "strict";
  657|  2.46k|    PyObject *handler;
  658|  2.46k|    if (PyDict_GetItemStringRef(interp->codecs.error_registry, name, &handler) < 0) {
  ------------------
  |  Branch (658:9): [True: 0, False: 2.46k]
  ------------------
  659|      0|        return NULL;
  660|      0|    }
  661|  2.46k|    if (handler == NULL) {
  ------------------
  |  Branch (661:9): [True: 0, False: 2.46k]
  ------------------
  662|      0|        PyErr_Format(PyExc_LookupError, "unknown error handler name '%.400s'", name);
  663|      0|        return NULL;
  664|      0|    }
  665|  2.46k|    return handler;
  666|  2.46k|}
PyCodec_StrictErrors:
  782|  32.5k|{
  783|  32.5k|    if (PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|  32.5k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  32.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 32.5k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  784|  32.5k|        PyErr_SetObject(PyExceptionInstance_Class(exc), exc);
  ------------------
  |  |   69|  32.5k|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|  32.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  785|  32.5k|    }
  786|      0|    else {
  787|      0|        PyErr_SetString(PyExc_TypeError, "codec must pass exception instance");
  788|      0|    }
  789|       |    return NULL;
  790|  32.5k|}
_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|  43.3k|{
   91|  43.3k|    size_t i;
   92|  43.3k|    size_t len = strlen(string);
   93|  43.3k|    char *p;
   94|  43.3k|    PyObject *v;
   95|       |
   96|  43.3k|    if (len > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  43.3k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (96:9): [True: 0, False: 43.3k]
  ------------------
   97|      0|        PyErr_SetString(PyExc_OverflowError, "string is too large");
   98|      0|        return NULL;
   99|      0|    }
  100|       |
  101|  43.3k|    p = PyMem_Malloc(len + 1);
  102|  43.3k|    if (p == NULL)
  ------------------
  |  Branch (102:9): [True: 0, False: 43.3k]
  ------------------
  103|      0|        return PyErr_NoMemory();
  104|   420k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (104:17): [True: 377k, False: 43.3k]
  ------------------
  105|   377k|        char ch = string[i];
  106|   377k|        if (ch == ' ')
  ------------------
  |  Branch (106:13): [True: 0, False: 377k]
  ------------------
  107|      0|            ch = '-';
  108|   377k|        else
  109|   377k|            ch = Py_TOLOWER(Py_CHARMASK(ch));
  ------------------
  |  |   32|   377k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  170|   377k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  110|   377k|        p[i] = ch;
  111|   377k|    }
  112|  43.3k|    p[i] = '\0';
  113|  43.3k|    v = PyUnicode_FromString(p);
  114|  43.3k|    PyMem_Free(p);
  115|  43.3k|    return v;
  116|  43.3k|}
codecs.c:codec_makeincrementalcodec:
  285|      6|{
  286|      6|    PyObject *ret, *inccodec;
  287|       |
  288|      6|    inccodec = PyObject_GetAttrString(codec_info, attrname);
  289|      6|    if (inccodec == NULL)
  ------------------
  |  Branch (289:9): [True: 0, False: 6]
  ------------------
  290|      0|        return NULL;
  291|      6|    if (errors)
  ------------------
  |  Branch (291:9): [True: 6, False: 0]
  ------------------
  292|      6|        ret = PyObject_CallFunction(inccodec, "s", errors);
  293|      0|    else
  294|      0|        ret = _PyObject_CallNoArgs(inccodec);
  295|      6|    Py_DECREF(inccodec);
  ------------------
  |  |  430|      6|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  296|      6|    return ret;
  297|      6|}
codecs.c:_PyCodec_EncodeInternal:
  407|  14.7k|{
  408|  14.7k|    PyObject *args = NULL, *result = NULL;
  409|  14.7k|    PyObject *v = NULL;
  410|       |
  411|  14.7k|    args = args_tuple(object, errors);
  412|  14.7k|    if (args == NULL)
  ------------------
  |  Branch (412:9): [True: 0, False: 14.7k]
  ------------------
  413|      0|        goto onError;
  414|       |
  415|  14.7k|    result = PyObject_Call(encoder, args, NULL);
  416|  14.7k|    if (result == NULL) {
  ------------------
  |  Branch (416:9): [True: 0, False: 14.7k]
  ------------------
  417|      0|        _PyErr_FormatNote("%s with '%s' codec failed", "encoding", encoding);
  418|      0|        goto onError;
  419|      0|    }
  420|       |
  421|  14.7k|    if (!PyTuple_Check(result) ||
  ------------------
  |  |   27|  14.7k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  29.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (421:9): [True: 0, False: 14.7k]
  ------------------
  422|  14.7k|        PyTuple_GET_SIZE(result) != 2) {
  ------------------
  |  |   27|  14.7k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (422:9): [True: 0, False: 14.7k]
  ------------------
  423|      0|        PyErr_SetString(PyExc_TypeError,
  424|      0|                        "encoder must return a tuple (object, integer)");
  425|      0|        goto onError;
  426|      0|    }
  427|  14.7k|    v = Py_NewRef(PyTuple_GET_ITEM(result,0));
  ------------------
  |  |  647|  14.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 14.7k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|       |    /* We don't check or use the second (integer) entry. */
  429|       |
  430|  14.7k|    Py_DECREF(args);
  ------------------
  |  |  430|  14.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  431|  14.7k|    Py_DECREF(encoder);
  ------------------
  |  |  430|  14.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  432|  14.7k|    Py_DECREF(result);
  ------------------
  |  |  430|  14.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  433|  14.7k|    return v;
  434|       |
  435|      0| onError:
  436|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  437|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  438|      0|    Py_XDECREF(encoder);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  439|       |    return NULL;
  440|  14.7k|}
codecs.c:args_tuple:
  244|  43.0k|{
  245|  43.0k|    PyObject *args;
  246|       |
  247|  43.0k|    args = PyTuple_New(1 + (errors != NULL));
  248|  43.0k|    if (args == NULL)
  ------------------
  |  Branch (248:9): [True: 0, False: 43.0k]
  ------------------
  249|      0|        return NULL;
  250|  43.0k|    PyTuple_SET_ITEM(args, 0, Py_NewRef(object));
  ------------------
  |  |   40|  43.0k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  43.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  43.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  251|  43.0k|    if (errors) {
  ------------------
  |  Branch (251:9): [True: 0, False: 43.0k]
  ------------------
  252|      0|        PyObject *v;
  253|       |
  254|      0|        v = PyUnicode_FromString(errors);
  255|      0|        if (v == NULL) {
  ------------------
  |  Branch (255:13): [True: 0, False: 0]
  ------------------
  256|      0|            Py_DECREF(args);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  257|      0|            return NULL;
  258|      0|        }
  259|      0|        PyTuple_SET_ITEM(args, 1, v);
  ------------------
  |  |   40|      0|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  260|      0|    }
  261|  43.0k|    return args;
  262|  43.0k|}
codecs.c:_PyCodec_DecodeInternal:
  452|  28.3k|{
  453|  28.3k|    PyObject *args = NULL, *result = NULL;
  454|  28.3k|    PyObject *v;
  455|       |
  456|  28.3k|    args = args_tuple(object, errors);
  457|  28.3k|    if (args == NULL)
  ------------------
  |  Branch (457:9): [True: 0, False: 28.3k]
  ------------------
  458|      0|        goto onError;
  459|       |
  460|  28.3k|    result = PyObject_Call(decoder, args, NULL);
  461|  28.3k|    if (result == NULL) {
  ------------------
  |  Branch (461:9): [True: 1.73k, False: 26.6k]
  ------------------
  462|  1.73k|        _PyErr_FormatNote("%s with '%s' codec failed", "decoding", encoding);
  463|  1.73k|        goto onError;
  464|  1.73k|    }
  465|  26.6k|    if (!PyTuple_Check(result) ||
  ------------------
  |  |   27|  26.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  53.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (465:9): [True: 0, False: 26.6k]
  ------------------
  466|  26.6k|        PyTuple_GET_SIZE(result) != 2) {
  ------------------
  |  |   27|  26.6k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (466:9): [True: 0, False: 26.6k]
  ------------------
  467|      0|        PyErr_SetString(PyExc_TypeError,
  468|      0|                        "decoder must return a tuple (object,integer)");
  469|      0|        goto onError;
  470|      0|    }
  471|  26.6k|    v = Py_NewRef(PyTuple_GET_ITEM(result,0));
  ------------------
  |  |  647|  26.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  26.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 26.6k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  472|       |    /* We don't check or use the second (integer) entry. */
  473|       |
  474|  26.6k|    Py_DECREF(args);
  ------------------
  |  |  430|  26.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  475|  26.6k|    Py_DECREF(decoder);
  ------------------
  |  |  430|  26.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|  26.6k|    Py_DECREF(result);
  ------------------
  |  |  430|  26.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  477|  26.6k|    return v;
  478|       |
  479|  1.73k| onError:
  480|  1.73k|    Py_XDECREF(args);
  ------------------
  |  |  621|  1.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|  1.73k|    Py_XDECREF(decoder);
  ------------------
  |  |  621|  1.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  482|  1.73k|    Py_XDECREF(result);
  ------------------
  |  |  621|  1.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|       |    return NULL;
  484|  26.6k|}
codecs.c:_PyCodec_TextEncoder:
  580|  14.7k|{
  581|  14.7k|    return codec_getitem_checked(encoding, "codecs.encode()", 0);
  582|  14.7k|}
codecs.c:codec_getitem_checked:
  566|  43.3k|{
  567|  43.3k|    PyObject *codec;
  568|  43.3k|    PyObject *v;
  569|       |
  570|  43.3k|    codec = _PyCodec_LookupTextEncoding(encoding, alternate_command);
  571|  43.3k|    if (codec == NULL)
  ------------------
  |  Branch (571:9): [True: 260, False: 43.0k]
  ------------------
  572|    260|        return NULL;
  573|       |
  574|  43.0k|    v = Py_NewRef(PyTuple_GET_ITEM(codec, index));
  ------------------
  |  |  647|  43.0k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  43.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  86.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 43.0k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  575|  43.0k|    Py_DECREF(codec);
  ------------------
  |  |  430|  43.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  576|  43.0k|    return v;
  577|  43.0k|}
codecs.c:_PyCodec_TextDecoder:
  585|  28.5k|{
  586|  28.5k|    return codec_getitem_checked(encoding, "codecs.decode()", 1);
  587|  28.5k|}
codecs.c:strict_errors:
 1516|  2.44k|{
 1517|  2.44k|    return PyCodec_StrictErrors(exc);
 1518|  2.44k|}

_Py_CArray_Init:
  113|  14.5k|_Py_CArray_Init(_Py_c_array_t* array, int item_size, int initial_num_entries) {
  114|  14.5k|    memset(array, 0, sizeof(_Py_c_array_t));
  115|  14.5k|    array->item_size = item_size;
  116|  14.5k|    array->initial_num_entries = initial_num_entries;
  117|  14.5k|    return 0;
  118|  14.5k|}
_Py_CArray_Fini:
  122|  14.5k|{
  123|  14.5k|    if (array->array) {
  ------------------
  |  Branch (123:9): [True: 2.84k, False: 11.7k]
  ------------------
  124|  2.84k|        PyMem_Free(array->array);
  125|  2.84k|        array->allocated_entries = 0;
  126|  2.84k|    }
  127|  14.5k|}
_Py_CArray_EnsureCapacity:
  131|  14.9M|{
  132|  14.9M|    void *arr = c_array->array;
  133|  14.9M|    int alloc = c_array->allocated_entries;
  134|  14.9M|    if (arr == NULL) {
  ------------------
  |  Branch (134:9): [True: 784k, False: 14.1M]
  ------------------
  135|   784k|        int new_alloc = c_array->initial_num_entries;
  136|   784k|        if (idx >= new_alloc) {
  ------------------
  |  Branch (136:13): [True: 111, False: 784k]
  ------------------
  137|    111|            new_alloc = idx + c_array->initial_num_entries;
  138|    111|        }
  139|   784k|        arr = PyMem_Calloc(new_alloc, c_array->item_size);
  140|   784k|        if (arr == NULL) {
  ------------------
  |  Branch (140:13): [True: 0, False: 784k]
  ------------------
  141|      0|            PyErr_NoMemory();
  142|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  143|      0|        }
  144|   784k|        alloc = new_alloc;
  145|   784k|    }
  146|  14.1M|    else if (idx >= alloc) {
  ------------------
  |  Branch (146:14): [True: 103k, False: 14.0M]
  ------------------
  147|   103k|        size_t oldsize = alloc * c_array->item_size;
  148|   103k|        int new_alloc = alloc << 1;
  149|   103k|        if (idx >= new_alloc) {
  ------------------
  |  Branch (149:13): [True: 17, False: 103k]
  ------------------
  150|     17|            new_alloc = idx + c_array->initial_num_entries;
  151|     17|        }
  152|   103k|        size_t newsize = new_alloc * c_array->item_size;
  153|       |
  154|   103k|        if (oldsize > (SIZE_MAX >> 1)) {
  ------------------
  |  Branch (154:13): [True: 0, False: 103k]
  ------------------
  155|      0|            PyErr_NoMemory();
  156|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  157|      0|        }
  158|       |
  159|   103k|        assert(newsize > 0);
  ------------------
  |  Branch (159:9): [True: 103k, False: 0]
  ------------------
  160|   103k|        void *tmp = PyMem_Realloc(arr, newsize);
  161|   103k|        if (tmp == NULL) {
  ------------------
  |  Branch (161:13): [True: 0, False: 103k]
  ------------------
  162|      0|            PyErr_NoMemory();
  163|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  164|      0|        }
  165|   103k|        alloc = new_alloc;
  166|   103k|        arr = tmp;
  167|   103k|        memset((char *)arr + oldsize, 0, newsize - oldsize);
  168|   103k|    }
  169|       |
  170|  14.9M|    c_array->array = arr;
  171|  14.9M|    c_array->allocated_entries = alloc;
  172|  14.9M|    return SUCCESS;
  ------------------
  |  |   47|  14.9M|#define SUCCESS 0
  ------------------
  173|  14.9M|}
_PyCodegen_Expression:
  922|  1.78k|{
  923|  1.78k|    VISIT(c, expr, e);
  ------------------
  |  |  460|  1.78k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.78k|    do {                    \
  |  |  |  |   52|  1.78k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 41, False: 1.73k]
  |  |  |  |  ------------------
  |  |  |  |   53|     41|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     41|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     41|        }                   \
  |  |  |  |   55|  1.78k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  924|  1.73k|    return SUCCESS;
  ------------------
  |  |   47|  1.73k|#define SUCCESS 0
  ------------------
  925|  1.78k|}
_PyCodegen_Module:
  932|  10.5k|{
  933|  10.5k|    if (SYMTABLE_ENTRY(c)->ste_has_conditional_annotations) {
  ------------------
  |  |   71|  10.5k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (933:9): [True: 2.12k, False: 8.45k]
  ------------------
  934|  2.12k|        ADDOP_I(c, loc, BUILD_SET, 0);
  ------------------
  |  |  280|  2.12k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.12k|    do {                    \
  |  |  |  |   52|  2.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  935|  2.12k|        ADDOP_N(c, loc, STORE_NAME, &_Py_ID(__conditional_annotations__), names);
  ------------------
  |  |  345|  2.12k|    do {                                                                \
  |  |  346|  2.12k|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  347|  2.12k|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  348|  2.12k|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|  2.12k|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  349|  2.12k|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  430|  2.12k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  350|  2.12k|        RETURN_IF_ERROR(ret);                                           \
  |  |  ------------------
  |  |  |  |   51|  2.12k|    do {                    \
  |  |  |  |   52|  2.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  351|  2.12k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (351:14): [Folded, False: 2.12k]
  |  |  ------------------
  ------------------
  |  Branch (935:9): [True: 2.12k, Folded]
  ------------------
  936|  2.12k|    }
  937|  10.5k|    return codegen_body(c, loc, stmts, is_interactive);
  938|  10.5k|}
_PyCodegen_EnterAnonymousScope:
  987|  12.3k|{
  988|  12.3k|    _Py_DECLARE_STR(anon_module, "<module>");
  989|  12.3k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  12.3k|    do {                    \
  |  |   52|  12.3k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 12.3k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  12.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 12.3k]
  |  |  ------------------
  ------------------
  990|  12.3k|        codegen_enter_scope(c, &_Py_STR(anon_module), COMPILE_SCOPE_MODULE,
  991|  12.3k|                            mod, 1, NULL, NULL));
  992|  12.3k|    return SUCCESS;
  ------------------
  |  |   47|  12.3k|#define SUCCESS 0
  ------------------
  993|  12.3k|}
_PyCodegen_AddReturnAtEnd:
 6789|  74.3k|{
 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|  74.3k|    if (addNone) {
  ------------------
  |  Branch (6793:9): [True: 61.9k, False: 12.4k]
  ------------------
 6794|  61.9k|        ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  311|  61.9k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  61.9k|    do {                    \
  |  |  |  |   52|  61.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 61.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  61.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 61.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6795|  61.9k|    }
 6796|  74.3k|    ADDOP(c, NO_LOCATION, RETURN_VALUE);
  ------------------
  |  |  294|  74.3k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  74.3k|    do {                    \
  |  |  |  |   52|  74.3k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 74.3k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  74.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 74.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6797|  74.3k|    return SUCCESS;
  ------------------
  |  |   47|  74.3k|#define SUCCESS 0
  ------------------
 6798|  74.3k|}
codegen.c:codegen_addop_i:
  265|  3.77M|{
  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|  3.77M|    int oparg_ = Py_SAFE_DOWNCAST(oparg, Py_ssize_t, int);
  ------------------
  |  |  247|  3.77M|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  3.77M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  275|  3.77M|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (275:5): [True: 0, False: 3.77M]
  |  Branch (275:5): [True: 0, False: 3.77M]
  |  Branch (275:5): [True: 0, False: 3.77M]
  ------------------
  276|  3.77M|    return _PyInstructionSequence_Addop(seq, opcode, oparg_, loc);
  277|  3.77M|}
codegen.c:codegen_addop_o:
  337|   171k|{
  338|   171k|    Py_ssize_t arg = _PyCompile_DictAddObj(dict, o);
  339|   171k|    RETURN_IF_ERROR(arg);
  ------------------
  |  |   51|   171k|    do {                    \
  |  |   52|   171k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 171k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|   171k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 171k]
  |  |  ------------------
  ------------------
  340|   171k|    ADDOP_I(c, loc, opcode, arg);
  ------------------
  |  |  280|   171k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|   171k|    do {                    \
  |  |  |  |   52|   171k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 171k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|   171k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 171k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  341|   171k|    return SUCCESS;
  ------------------
  |  |   47|   171k|#define SUCCESS 0
  ------------------
  342|   171k|}
codegen.c:codegen_body:
  942|  25.3k|{
  943|       |    /* If from __future__ import annotations is active,
  944|       |     * every annotated class and module should have __annotations__.
  945|       |     * Else __annotate__ is created when necessary. */
  946|  25.3k|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|  25.3k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  947|  25.3k|    if ((FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS) && ste->ste_annotations_used) {
  ------------------
  |  |   69|  25.3k|#define FUTURE_FEATURES(C) _PyCompile_FutureFeatures(C)
  ------------------
                  if ((FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS) && ste->ste_annotations_used) {
  ------------------
  |  |  147|  25.3k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (947:9): [True: 1.95k, False: 23.3k]
  |  Branch (947:57): [True: 1.76k, False: 194]
  ------------------
  948|  1.76k|        ADDOP(c, loc, SETUP_ANNOTATIONS);
  ------------------
  |  |  294|  1.76k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.76k|    do {                    \
  |  |  |  |   52|  1.76k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.76k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.76k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.76k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  949|  1.76k|    }
  950|  25.3k|    if (!asdl_seq_LEN(stmts)) {
  ------------------
  |  |   83|  25.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  50.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 111, False: 25.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (950:9): [True: 111, False: 25.1k]
  ------------------
  951|    111|        return SUCCESS;
  ------------------
  |  |   47|    111|#define SUCCESS 0
  ------------------
  952|    111|    }
  953|  25.1k|    Py_ssize_t first_instr = 0;
  954|  25.1k|    if (!is_interactive) { /* A string literal on REPL prompt is not a docstring */
  ------------------
  |  Branch (954:9): [True: 22.8k, False: 2.30k]
  ------------------
  955|  22.8k|        if (ste->ste_has_docstring) {
  ------------------
  |  Branch (955:13): [True: 2.55k, False: 20.3k]
  ------------------
  956|  2.55k|            PyObject *docstring = _PyAST_GetDocString(stmts);
  957|  2.55k|            assert(docstring);
  ------------------
  |  Branch (957:13): [True: 2.55k, False: 0]
  ------------------
  958|  2.55k|            first_instr = 1;
  959|       |            /* set docstring */
  960|  2.55k|            assert(OPTIMIZATION_LEVEL(c) < 2);
  ------------------
  |  Branch (960:13): [True: 2.55k, False: 0]
  ------------------
  961|  2.55k|            PyObject *cleandoc = _PyCompile_CleanDoc(docstring);
  962|  2.55k|            if (cleandoc == NULL) {
  ------------------
  |  Branch (962:17): [True: 4, False: 2.54k]
  ------------------
  963|      4|                return ERROR;
  ------------------
  |  |   48|      4|#define ERROR -1
  ------------------
  964|      4|            }
  965|  2.54k|            stmt_ty st = (stmt_ty)asdl_seq_GET(stmts, 0);
  ------------------
  |  |   82|  2.54k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  2.54k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  966|  2.54k|            assert(st->kind == Expr_kind);
  ------------------
  |  Branch (966:13): [True: 2.54k, False: 0]
  ------------------
  967|  2.54k|            location loc = LOC(st->v.Expr.value);
  ------------------
  |  |   88|  2.54k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  2.54k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  2.54k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  2.54k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  2.54k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  2.54k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  968|  2.54k|            ADDOP_LOAD_CONST(c, loc, cleandoc);
  ------------------
  |  |  311|  2.54k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.54k|    do {                    \
  |  |  |  |   52|  2.54k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.54k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.54k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.54k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  969|  2.54k|            Py_DECREF(cleandoc);
  ------------------
  |  |  430|  2.54k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  970|  2.54k|            RETURN_IF_ERROR(codegen_nameop(c, NO_LOCATION, &_Py_ID(__doc__), Store));
  ------------------
  |  |   51|  2.54k|    do {                    \
  |  |   52|  2.54k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.54k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.54k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.54k]
  |  |  ------------------
  ------------------
  971|  2.54k|        }
  972|  22.8k|    }
  973|   122k|    for (Py_ssize_t i = first_instr; i < asdl_seq_LEN(stmts); i++) {
  ------------------
  |  |   83|   122k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|   244k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 122k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (973:38): [True: 97.8k, False: 24.6k]
  ------------------
  974|  97.8k|        VISIT(c, stmt, (stmt_ty)asdl_seq_GET(stmts, i));
  ------------------
  |  |  460|  97.8k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  97.8k|    do {                    \
  |  |  |  |   52|  97.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 578, False: 97.2k]
  |  |  |  |  ------------------
  |  |  |  |   53|    578|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    578|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    578|        }                   \
  |  |  |  |   55|  97.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 97.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  975|  97.8k|    }
  976|       |    // If there are annotations and the future import is not on, we
  977|       |    // collect the annotations in a separate pass and generate an
  978|       |    // __annotate__ function. See PEP 649.
  979|  24.6k|    if (!(FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |   69|  24.6k|#define FUTURE_FEATURES(C) _PyCompile_FutureFeatures(C)
  ------------------
                  if (!(FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  147|  24.6k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (979:9): [True: 22.6k, False: 1.94k]
  ------------------
  980|  22.6k|        RETURN_IF_ERROR(codegen_process_deferred_annotations(c, loc));
  ------------------
  |  |   51|  22.6k|    do {                    \
  |  |   52|  22.6k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 7, False: 22.6k]
  |  |  ------------------
  |  |   53|      7|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      7|#define ERROR -1
  |  |  ------------------
  |  |   54|      7|        }                   \
  |  |   55|  22.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 22.6k]
  |  |  ------------------
  ------------------
  981|  22.6k|    }
  982|  24.6k|    return SUCCESS;
  ------------------
  |  |   47|  24.6k|#define SUCCESS 0
  ------------------
  983|  24.6k|}
codegen.c:codegen_nameop:
 3316|   592k|{
 3317|   592k|    assert(!_PyUnicode_EqualToASCIIString(name, "None") &&
  ------------------
  |  Branch (3317:5): [True: 592k, False: 0]
  |  Branch (3317:5): [True: 592k, False: 0]
  |  Branch (3317:5): [True: 592k, False: 0]
  ------------------
 3318|   592k|           !_PyUnicode_EqualToASCIIString(name, "True") &&
 3319|   592k|           !_PyUnicode_EqualToASCIIString(name, "False"));
 3320|       |
 3321|   592k|    PyObject *mangled = _PyCompile_MaybeMangle(c, name);
 3322|   592k|    if (!mangled) {
  ------------------
  |  Branch (3322:9): [True: 0, False: 592k]
  ------------------
 3323|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3324|      0|    }
 3325|       |
 3326|   592k|    _PyCompile_optype optype;
 3327|   592k|    Py_ssize_t arg = 0;
 3328|   592k|    int scope = _PyCompile_ResolveNameop(c, mangled, &optype, &arg);
 3329|   592k|    if (scope < 0) {
  ------------------
  |  Branch (3329:9): [True: 0, False: 592k]
  ------------------
 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|   592k|    int op = 0;
 3335|   592k|    switch (optype) {
  ------------------
  |  Branch (3335:13): [True: 592k, False: 0]
  ------------------
 3336|  28.0k|    case COMPILE_OP_DEREF:
  ------------------
  |  Branch (3336:5): [True: 28.0k, False: 564k]
  ------------------
 3337|  28.0k|        switch (ctx) {
  ------------------
  |  Branch (3337:17): [True: 28.0k, False: 0]
  ------------------
 3338|  19.5k|        case Load:
  ------------------
  |  Branch (3338:9): [True: 19.5k, False: 8.51k]
  ------------------
 3339|  19.5k|            if (SYMTABLE_ENTRY(c)->ste_type == ClassBlock) {
  ------------------
  |  |   71|  19.5k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3339:17): [True: 7.80k, False: 11.7k]
  ------------------
 3340|  7.80k|                op = LOAD_FROM_DICT_OR_DEREF;
  ------------------
  |  |   99|  7.80k|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
 3341|       |                // First load the locals
 3342|  7.80k|                if (codegen_addop_noarg(INSTR_SEQUENCE(c), LOAD_LOCALS, loc) < 0) {
  ------------------
  |  |   68|  7.80k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
                              if (codegen_addop_noarg(INSTR_SEQUENCE(c), LOAD_LOCALS, loc) < 0) {
  ------------------
  |  |   33|  7.80k|#define LOAD_LOCALS                             20
  ------------------
  |  Branch (3342:21): [True: 0, False: 7.80k]
  ------------------
 3343|      0|                    goto error;
 3344|      0|                }
 3345|  7.80k|            }
 3346|  11.7k|            else if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope) {
  ------------------
  |  |   71|  11.7k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3346:22): [True: 1.29k, False: 10.4k]
  ------------------
 3347|  1.29k|                op = LOAD_FROM_DICT_OR_DEREF;
  ------------------
  |  |   99|  1.29k|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
 3348|       |                // First load the classdict
 3349|  1.29k|                if (codegen_load_classdict_freevar(c, loc) < 0) {
  ------------------
  |  Branch (3349:21): [True: 0, False: 1.29k]
  ------------------
 3350|      0|                    goto error;
 3351|      0|                }
 3352|  1.29k|            }
 3353|  10.4k|            else {
 3354|  10.4k|                op = LOAD_DEREF;
  ------------------
  |  |   92|  10.4k|#define LOAD_DEREF                              79
  ------------------
 3355|  10.4k|            }
 3356|  19.5k|            break;
 3357|  19.5k|        case Store: op = STORE_DEREF; break;
  ------------------
  |  |  120|  8.51k|#define STORE_DEREF                            107
  ------------------
  |  Branch (3357:9): [True: 8.51k, False: 19.5k]
  ------------------
 3358|      0|        case Del: op = DELETE_DEREF; break;
  ------------------
  |  |   72|      0|#define DELETE_DEREF                            59
  ------------------
  |  Branch (3358:9): [True: 0, False: 28.0k]
  ------------------
 3359|  28.0k|        }
 3360|  28.0k|        break;
 3361|   146k|    case COMPILE_OP_FAST:
  ------------------
  |  Branch (3361:5): [True: 146k, False: 446k]
  ------------------
 3362|   146k|        switch (ctx) {
  ------------------
  |  Branch (3362:17): [True: 146k, False: 0]
  ------------------
 3363|  22.6k|        case Load: op = LOAD_FAST; break;
  ------------------
  |  |   93|  22.6k|#define LOAD_FAST                               80
  ------------------
  |  Branch (3363:9): [True: 22.6k, False: 124k]
  ------------------
 3364|   121k|        case Store: op = STORE_FAST; break;
  ------------------
  |  |  121|   121k|#define STORE_FAST                             108
  ------------------
  |  Branch (3364:9): [True: 121k, False: 25.1k]
  ------------------
 3365|  2.46k|        case Del: op = DELETE_FAST; break;
  ------------------
  |  |   73|  2.46k|#define DELETE_FAST                             60
  ------------------
  |  Branch (3365:9): [True: 2.46k, False: 144k]
  ------------------
 3366|   146k|        }
 3367|   146k|        ADDOP_N(c, loc, op, mangled, varnames);
  ------------------
  |  |  345|   146k|    do {                                                                \
  |  |  346|   146k|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  347|   146k|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  348|   146k|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|   146k|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  349|   146k|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  430|   146k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   146k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   146k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  350|   146k|        RETURN_IF_ERROR(ret);                                           \
  |  |  ------------------
  |  |  |  |   51|   146k|    do {                    \
  |  |  |  |   52|   146k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 146k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|   146k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 146k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  351|   146k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (351:14): [Folded, False: 146k]
  |  |  ------------------
  ------------------
  |  Branch (3367:9): [True: 146k, False: 0]
  ------------------
 3368|   146k|        return SUCCESS;
  ------------------
  |  |   47|   146k|#define SUCCESS 0
  ------------------
 3369|   113k|    case COMPILE_OP_GLOBAL:
  ------------------
  |  Branch (3369:5): [True: 113k, False: 479k]
  ------------------
 3370|   113k|        switch (ctx) {
  ------------------
  |  Branch (3370:17): [True: 113k, False: 0]
  ------------------
 3371|   112k|        case Load:
  ------------------
  |  Branch (3371:9): [True: 112k, False: 938]
  ------------------
 3372|   112k|            if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope && scope == GLOBAL_IMPLICIT) {
  ------------------
  |  |   71|   112k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
                          if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope && scope == GLOBAL_IMPLICIT) {
  ------------------
  |  |  193|  14.1k|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (3372:17): [True: 14.1k, False: 98.3k]
  |  Branch (3372:63): [True: 13.4k, False: 688]
  ------------------
 3373|  13.4k|                op = LOAD_FROM_DICT_OR_GLOBALS;
  ------------------
  |  |  100|  13.4k|#define LOAD_FROM_DICT_OR_GLOBALS               87
  ------------------
 3374|       |                // First load the classdict
 3375|  13.4k|                if (codegen_load_classdict_freevar(c, loc) < 0) {
  ------------------
  |  Branch (3375:21): [True: 0, False: 13.4k]
  ------------------
 3376|      0|                    goto error;
 3377|      0|                }
 3378|  99.0k|            } else {
 3379|  99.0k|                op = LOAD_GLOBAL;
  ------------------
  |  |  101|  99.0k|#define LOAD_GLOBAL                             88
  ------------------
 3380|  99.0k|            }
 3381|   112k|            break;
 3382|   112k|        case Store: op = STORE_GLOBAL; break;
  ------------------
  |  |  124|    675|#define STORE_GLOBAL                           111
  ------------------
  |  Branch (3382:9): [True: 675, False: 112k]
  ------------------
 3383|    263|        case Del:
  ------------------
  |  Branch (3383:9): [True: 263, False: 113k]
  ------------------
 3384|    263|            ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  294|    263|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    263|    do {                    \
  |  |  |  |   52|    263|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 263]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    263|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 263]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3385|    263|            op = STORE_GLOBAL;
  ------------------
  |  |  124|    263|#define STORE_GLOBAL                           111
  ------------------
 3386|    263|            break;
 3387|   113k|        }
 3388|   113k|        break;
 3389|   304k|    case COMPILE_OP_NAME:
  ------------------
  |  Branch (3389:5): [True: 304k, False: 288k]
  ------------------
 3390|   304k|        switch (ctx) {
  ------------------
  |  Branch (3390:17): [True: 304k, False: 0]
  ------------------
 3391|   170k|        case Load:
  ------------------
  |  Branch (3391:9): [True: 170k, False: 134k]
  ------------------
 3392|       |            /* LOAD_NAME in a class reads the class dict; inlined comps must not. */
 3393|   170k|            op = (SCOPE_TYPE(c) == COMPILE_SCOPE_CLASS
  ------------------
  |  |   74|   170k|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (3393:19): [True: 42.8k, False: 127k]
  ------------------
 3394|  42.8k|                  && SYMTABLE_ENTRY(c)->ste_type == InlinedComprehensionBlock)
  ------------------
  |  |   71|  42.8k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3394:22): [True: 332, False: 42.5k]
  ------------------
 3395|   170k|                ? LOAD_GLOBAL
  ------------------
  |  |  101|    332|#define LOAD_GLOBAL                             88
  ------------------
 3396|   170k|                : LOAD_NAME;
  ------------------
  |  |  102|   339k|#define LOAD_NAME                               89
  ------------------
 3397|   170k|            break;
 3398|   132k|        case Store: op = STORE_NAME; break;
  ------------------
  |  |  125|   132k|#define STORE_NAME                             112
  ------------------
  |  Branch (3398:9): [True: 132k, False: 172k]
  ------------------
 3399|  2.12k|        case Del:
  ------------------
  |  Branch (3399:9): [True: 2.12k, False: 302k]
  ------------------
 3400|  2.12k|            ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  294|  2.12k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.12k|    do {                    \
  |  |  |  |   52|  2.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3401|  2.12k|            op = STORE_NAME;
  ------------------
  |  |  125|  2.12k|#define STORE_NAME                             112
  ------------------
 3402|  2.12k|            break;
 3403|   304k|        }
 3404|   304k|        break;
 3405|   592k|    }
 3406|       |
 3407|   592k|    assert(op);
  ------------------
  |  Branch (3407:5): [True: 446k, False: 0]
  ------------------
 3408|   446k|    Py_DECREF(mangled);
  ------------------
  |  |  430|   446k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   446k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   446k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3409|   446k|    if (op == LOAD_GLOBAL) {
  ------------------
  |  |  101|   446k|#define LOAD_GLOBAL                             88
  ------------------
  |  Branch (3409:9): [True: 99.3k, False: 346k]
  ------------------
 3410|  99.3k|        arg <<= 1;
 3411|  99.3k|    }
 3412|   446k|    ADDOP_I(c, loc, op, arg);
  ------------------
  |  |  280|   446k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|   446k|    do {                    \
  |  |  |  |   52|   446k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 446k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|   446k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 446k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3413|   446k|    return SUCCESS;
  ------------------
  |  |   47|   446k|#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|   446k|}
codegen.c:codegen_load_classdict_freevar:
 3308|  14.7k|{
 3309|  14.7k|    ADDOP_N(c, loc, LOAD_DEREF, &_Py_ID(__classdict__), freevars);
  ------------------
  |  |  345|  14.7k|    do {                                                                \
  |  |  346|  14.7k|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  347|  14.7k|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  348|  14.7k|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|  14.7k|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  349|  14.7k|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  430|  14.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  350|  14.7k|        RETURN_IF_ERROR(ret);                                           \
  |  |  ------------------
  |  |  |  |   51|  14.7k|    do {                    \
  |  |  |  |   52|  14.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 14.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  14.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 14.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  351|  14.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (351:14): [Folded, False: 14.7k]
  |  |  ------------------
  ------------------
  |  Branch (3309:5): [True: 14.7k, Folded]
  ------------------
 3310|  14.7k|    return SUCCESS;
  ------------------
  |  |   47|  14.7k|#define SUCCESS 0
  ------------------
 3311|  14.7k|}
codegen.c:codegen_visit_stmt:
 3120|   164k|{
 3121|       |
 3122|   164k|    switch (s->kind) {
  ------------------
  |  Branch (3122:13): [True: 164k, False: 0]
  ------------------
 3123|  4.41k|    case FunctionDef_kind:
  ------------------
  |  Branch (3123:5): [True: 4.41k, False: 160k]
  ------------------
 3124|  4.41k|        return codegen_function(c, s, 0);
 3125|  14.7k|    case ClassDef_kind:
  ------------------
  |  Branch (3125:5): [True: 14.7k, False: 150k]
  ------------------
 3126|  14.7k|        return codegen_class(c, s);
 3127|  2.37k|    case TypeAlias_kind:
  ------------------
  |  Branch (3127:5): [True: 2.37k, False: 162k]
  ------------------
 3128|  2.37k|        return codegen_typealias(c, s);
 3129|    685|    case Return_kind:
  ------------------
  |  Branch (3129:5): [True: 685, False: 164k]
  ------------------
 3130|    685|        return codegen_return(c, s);
 3131|    976|    case Delete_kind:
  ------------------
  |  Branch (3131:5): [True: 976, False: 163k]
  ------------------
 3132|    976|        VISIT_SEQ(c, expr, s->v.Delete.targets);
  ------------------
  |  |  466|    976|    do {                                                                    \
  |  |  467|    976|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  7.54k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  7.54k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  15.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 7.54k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 6.56k, False: 974]
  |  |  ------------------
  |  |  469|  6.56k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  6.56k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  6.56k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  6.56k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  6.56k|    do {                    \
  |  |  |  |   52|  6.56k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 6.56k]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|  6.56k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.56k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  6.56k|        }                                                                   \
  |  |  472|    976|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 974]
  |  |  ------------------
  ------------------
 3133|    974|        break;
 3134|  6.88k|    case Assign_kind:
  ------------------
  |  Branch (3134:5): [True: 6.88k, False: 157k]
  ------------------
 3135|  6.88k|    {
 3136|  6.88k|        Py_ssize_t n = asdl_seq_LEN(s->v.Assign.targets);
  ------------------
  |  |   83|  6.88k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  13.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 6.88k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3137|  6.88k|        VISIT(c, expr, s->v.Assign.value);
  ------------------
  |  |  460|  6.88k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  6.88k|    do {                    \
  |  |  |  |   52|  6.88k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 13, False: 6.87k]
  |  |  |  |  ------------------
  |  |  |  |   53|     13|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     13|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     13|        }                   \
  |  |  |  |   55|  6.88k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3138|  51.3k|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3138:32): [True: 44.4k, False: 6.86k]
  ------------------
 3139|  44.4k|            if (i < n - 1) {
  ------------------
  |  Branch (3139:17): [True: 37.6k, False: 6.86k]
  ------------------
 3140|  37.6k|                ADDOP_I(c, LOC(s), COPY, 1);
  ------------------
  |  |  280|  37.6k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  37.6k|    do {                    \
  |  |  |  |   52|  37.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 37.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  37.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 37.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3141|  37.6k|            }
 3142|  44.4k|            VISIT(c, expr,
  ------------------
  |  |  460|  44.4k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  44.4k|    do {                    \
  |  |  |  |   52|  44.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 7, False: 44.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      7|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      7|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      7|        }                   \
  |  |  |  |   55|  44.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3143|  44.4k|                  (expr_ty)asdl_seq_GET(s->v.Assign.targets, i));
 3144|  44.4k|        }
 3145|  6.86k|        break;
 3146|  6.87k|    }
 3147|  6.86k|    case AugAssign_kind:
  ------------------
  |  Branch (3147:5): [True: 5.18k, False: 159k]
  ------------------
 3148|  5.18k|        return codegen_augassign(c, s);
 3149|  25.3k|    case AnnAssign_kind:
  ------------------
  |  Branch (3149:5): [True: 25.3k, False: 139k]
  ------------------
 3150|  25.3k|        return codegen_annassign(c, s);
 3151|    251|    case For_kind:
  ------------------
  |  Branch (3151:5): [True: 251, False: 164k]
  ------------------
 3152|    251|        CODEGEN_COND_BLOCK(codegen_for, c, s);
  ------------------
  |  | 3111|    251|    do { \
  |  | 3112|    251|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3113|    251|        int result = FUNC((C), (S)); \
  |  | 3114|    251|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3115|    251|        return result; \
  |  | 3116|    251|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3116:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3153|      0|        break;
 3154|  1.76k|    case While_kind:
  ------------------
  |  Branch (3154:5): [True: 1.76k, False: 162k]
  ------------------
 3155|  1.76k|        CODEGEN_COND_BLOCK(codegen_while, c, s);
  ------------------
  |  | 3111|  1.76k|    do { \
  |  | 3112|  1.76k|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3113|  1.76k|        int result = FUNC((C), (S)); \
  |  | 3114|  1.76k|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3115|  1.76k|        return result; \
  |  | 3116|  1.76k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3116:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3156|      0|        break;
 3157|  1.28k|    case If_kind:
  ------------------
  |  Branch (3157:5): [True: 1.28k, False: 163k]
  ------------------
 3158|  1.28k|        CODEGEN_COND_BLOCK(codegen_if, c, s);
  ------------------
  |  | 3111|  1.28k|    do { \
  |  | 3112|  1.28k|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3113|  1.28k|        int result = FUNC((C), (S)); \
  |  | 3114|  1.28k|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3115|  1.28k|        return result; \
  |  | 3116|  1.28k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3116:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3159|      0|        break;
 3160|    462|    case Match_kind:
  ------------------
  |  Branch (3160:5): [True: 462, False: 164k]
  ------------------
 3161|    462|        CODEGEN_COND_BLOCK(codegen_match, c, s);
  ------------------
  |  | 3111|    462|    do { \
  |  | 3112|    462|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3113|    462|        int result = FUNC((C), (S)); \
  |  | 3114|    462|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3115|    462|        return result; \
  |  | 3116|    462|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3116:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3162|      0|        break;
 3163|    162|    case Raise_kind:
  ------------------
  |  Branch (3163:5): [True: 162, False: 164k]
  ------------------
 3164|    162|    {
 3165|    162|        Py_ssize_t n = 0;
 3166|    162|        if (s->v.Raise.exc) {
  ------------------
  |  Branch (3166:13): [True: 114, False: 48]
  ------------------
 3167|    114|            VISIT(c, expr, s->v.Raise.exc);
  ------------------
  |  |  460|    114|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    114|    do {                    \
  |  |  |  |   52|    114|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 4, False: 110]
  |  |  |  |  ------------------
  |  |  |  |   53|      4|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      4|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      4|        }                   \
  |  |  |  |   55|    114|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 110]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3168|    110|            n++;
 3169|    110|            if (s->v.Raise.cause) {
  ------------------
  |  Branch (3169:17): [True: 53, False: 57]
  ------------------
 3170|     53|                VISIT(c, expr, s->v.Raise.cause);
  ------------------
  |  |  460|     53|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     53|    do {                    \
  |  |  |  |   52|     53|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 52]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|     53|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 52]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3171|     52|                n++;
 3172|     52|            }
 3173|    110|        }
 3174|    157|        ADDOP_I(c, LOC(s), RAISE_VARARGS, (int)n);
  ------------------
  |  |  280|    157|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    157|    do {                    \
  |  |  |  |   52|    157|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 157]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    157|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 157]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3175|    157|        break;
 3176|    157|    }
 3177|  3.71k|    case Try_kind:
  ------------------
  |  Branch (3177:5): [True: 3.71k, False: 161k]
  ------------------
 3178|  3.71k|        CODEGEN_COND_BLOCK(codegen_try, c, s);
  ------------------
  |  | 3111|  3.71k|    do { \
  |  | 3112|  3.71k|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3113|  3.71k|        int result = FUNC((C), (S)); \
  |  | 3114|  3.71k|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3115|  3.71k|        return result; \
  |  | 3116|  3.71k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3116:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3179|      0|        break;
 3180|    536|    case TryStar_kind:
  ------------------
  |  Branch (3180:5): [True: 536, False: 164k]
  ------------------
 3181|    536|        CODEGEN_COND_BLOCK(codegen_try_star, c, s);
  ------------------
  |  | 3111|    536|    do { \
  |  | 3112|    536|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3113|    536|        int result = FUNC((C), (S)); \
  |  | 3114|    536|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3115|    536|        return result; \
  |  | 3116|    536|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3116:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3182|      0|        break;
 3183|  3.07k|    case Assert_kind:
  ------------------
  |  Branch (3183:5): [True: 3.07k, False: 161k]
  ------------------
 3184|  3.07k|        return codegen_assert(c, s);
 3185|  1.47k|    case Import_kind:
  ------------------
  |  Branch (3185:5): [True: 1.47k, False: 163k]
  ------------------
 3186|  1.47k|        return codegen_import(c, s);
 3187|  3.27k|    case ImportFrom_kind:
  ------------------
  |  Branch (3187:5): [True: 3.27k, False: 161k]
  ------------------
 3188|  3.27k|        return codegen_from_import(c, s);
 3189|    519|    case Global_kind:
  ------------------
  |  Branch (3189:5): [True: 519, False: 164k]
  ------------------
 3190|    519|    case Nonlocal_kind:
  ------------------
  |  Branch (3190:5): [True: 0, False: 164k]
  ------------------
 3191|    519|        break;
 3192|  81.8k|    case Expr_kind:
  ------------------
  |  Branch (3192:5): [True: 81.8k, False: 82.8k]
  ------------------
 3193|  81.8k|    {
 3194|  81.8k|        return codegen_stmt_expr(c, LOC(s), s->v.Expr.value);
  ------------------
  |  |   88|  81.8k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  81.8k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  81.8k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  81.8k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  81.8k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  81.8k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3195|    519|    }
 3196|    236|    case Pass_kind:
  ------------------
  |  Branch (3196:5): [True: 236, False: 164k]
  ------------------
 3197|    236|    {
 3198|    236|        ADDOP(c, LOC(s), NOP);
  ------------------
  |  |  294|    236|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    236|    do {                    \
  |  |  |  |   52|    236|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 236]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    236|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 236]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3199|    236|        break;
 3200|    236|    }
 3201|    236|    case Break_kind:
  ------------------
  |  Branch (3201:5): [True: 142, False: 164k]
  ------------------
 3202|    142|    {
 3203|    142|        return codegen_break(c, LOC(s));
  ------------------
  |  |   88|    142|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    142|    (_Py_SourceLocation){ \
  |  |  |  |   59|    142|               .lineno = (n)->lineno, \
  |  |  |  |   60|    142|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    142|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    142|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3204|    236|    }
 3205|    393|    case Continue_kind:
  ------------------
  |  Branch (3205:5): [True: 393, False: 164k]
  ------------------
 3206|    393|    {
 3207|    393|        return codegen_continue(c, LOC(s));
  ------------------
  |  |   88|    393|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    393|    (_Py_SourceLocation){ \
  |  |  |  |   59|    393|               .lineno = (n)->lineno, \
  |  |  |  |   60|    393|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    393|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    393|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3208|    236|    }
 3209|    572|    case With_kind:
  ------------------
  |  Branch (3209:5): [True: 572, False: 164k]
  ------------------
 3210|    572|        CODEGEN_COND_BLOCK(codegen_with, c, s);
  ------------------
  |  | 3111|    572|    do { \
  |  | 3112|    572|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3113|    572|        int result = FUNC((C), (S)); \
  |  | 3114|    572|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3115|    572|        return result; \
  |  | 3116|    572|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3116:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3211|      0|        break;
 3212|  2.50k|    case AsyncFunctionDef_kind:
  ------------------
  |  Branch (3212:5): [True: 2.50k, False: 162k]
  ------------------
 3213|  2.50k|        return codegen_function(c, s, 1);
 3214|  1.63k|    case AsyncWith_kind:
  ------------------
  |  Branch (3214:5): [True: 1.63k, False: 163k]
  ------------------
 3215|  1.63k|        CODEGEN_COND_BLOCK(codegen_async_with, c, s);
  ------------------
  |  | 3111|  1.63k|    do { \
  |  | 3112|  1.63k|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3113|  1.63k|        int result = FUNC((C), (S)); \
  |  | 3114|  1.63k|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3115|  1.63k|        return result; \
  |  | 3116|  1.63k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3116:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3216|      0|        break;
 3217|    240|    case AsyncFor_kind:
  ------------------
  |  Branch (3217:5): [True: 240, False: 164k]
  ------------------
 3218|    240|        CODEGEN_COND_BLOCK(codegen_async_for, c, s);
  ------------------
  |  | 3111|    240|    do { \
  |  | 3112|    240|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3113|    240|        int result = FUNC((C), (S)); \
  |  | 3114|    240|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3115|    240|        return result; \
  |  | 3116|    240|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3116:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3219|      0|        break;
 3220|   164k|    }
 3221|       |
 3222|  8.75k|    return SUCCESS;
  ------------------
  |  |   47|  8.75k|#define SUCCESS 0
  ------------------
 3223|   164k|}
codegen.c:codegen_function:
 1484|  6.91k|{
 1485|  6.91k|    arguments_ty args;
 1486|  6.91k|    expr_ty returns;
 1487|  6.91k|    identifier name;
 1488|  6.91k|    asdl_expr_seq *decos;
 1489|  6.91k|    asdl_type_param_seq *type_params;
 1490|  6.91k|    Py_ssize_t funcflags;
 1491|  6.91k|    int firstlineno;
 1492|       |
 1493|  6.91k|    if (is_async) {
  ------------------
  |  Branch (1493:9): [True: 2.50k, False: 4.41k]
  ------------------
 1494|  2.50k|        assert(s->kind == AsyncFunctionDef_kind);
  ------------------
  |  Branch (1494:9): [True: 2.50k, False: 0]
  ------------------
 1495|       |
 1496|  2.50k|        args = s->v.AsyncFunctionDef.args;
 1497|  2.50k|        returns = s->v.AsyncFunctionDef.returns;
 1498|  2.50k|        decos = s->v.AsyncFunctionDef.decorator_list;
 1499|  2.50k|        name = s->v.AsyncFunctionDef.name;
 1500|  2.50k|        type_params = s->v.AsyncFunctionDef.type_params;
 1501|  4.41k|    } else {
 1502|  4.41k|        assert(s->kind == FunctionDef_kind);
  ------------------
  |  Branch (1502:9): [True: 4.41k, False: 0]
  ------------------
 1503|       |
 1504|  4.41k|        args = s->v.FunctionDef.args;
 1505|  4.41k|        returns = s->v.FunctionDef.returns;
 1506|  4.41k|        decos = s->v.FunctionDef.decorator_list;
 1507|  4.41k|        name = s->v.FunctionDef.name;
 1508|  4.41k|        type_params = s->v.FunctionDef.type_params;
 1509|  4.41k|    }
 1510|       |
 1511|  6.91k|    RETURN_IF_ERROR(codegen_decorators(c, decos));
  ------------------
  |  |   51|  6.91k|    do {                    \
  |  |   52|  6.91k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.91k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.91k]
  |  |  ------------------
  ------------------
 1512|       |
 1513|  6.91k|    firstlineno = s->lineno;
 1514|  6.91k|    if (asdl_seq_LEN(decos)) {
  ------------------
  |  |   83|  6.91k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  13.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:26): [True: 757, False: 6.16k]
  |  |  |  |  |  Branch (313:37): [True: 6.16k, False: 757]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1515|    757|        firstlineno = ((expr_ty)asdl_seq_GET(decos, 0))->lineno;
  ------------------
  |  |   82|    757|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    757|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1516|    757|    }
 1517|       |
 1518|  6.91k|    location loc = LOC(s);
  ------------------
  |  |   88|  6.91k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  6.91k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  6.91k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  6.91k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  6.91k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  6.91k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1519|       |
 1520|  6.91k|    int is_generic = asdl_seq_LEN(type_params) > 0;
  ------------------
  |  |   83|  6.91k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  13.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 5.80k, False: 1.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1521|       |
 1522|  6.91k|    funcflags = codegen_default_arguments(c, loc, args);
 1523|  6.91k|    RETURN_IF_ERROR(funcflags);
  ------------------
  |  |   51|  6.91k|    do {                    \
  |  |   52|  6.91k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 6.91k]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|  6.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.91k]
  |  |  ------------------
  ------------------
 1524|       |
 1525|  6.91k|    int num_typeparam_args = 0;
 1526|       |
 1527|  6.91k|    if (is_generic) {
  ------------------
  |  Branch (1527:9): [True: 1.11k, False: 5.80k]
  ------------------
 1528|  1.11k|        if (funcflags & MAKE_FUNCTION_DEFAULTS) {
  ------------------
  |  |   64|  1.11k|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
  |  Branch (1528:13): [True: 12, False: 1.10k]
  ------------------
 1529|     12|            num_typeparam_args += 1;
 1530|     12|        }
 1531|  1.11k|        if (funcflags & MAKE_FUNCTION_KWDEFAULTS) {
  ------------------
  |  |   65|  1.11k|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
  |  Branch (1531:13): [True: 260, False: 852]
  ------------------
 1532|    260|            num_typeparam_args += 1;
 1533|    260|        }
 1534|  1.11k|        if (num_typeparam_args == 2) {
  ------------------
  |  Branch (1534:13): [True: 0, False: 1.11k]
  ------------------
 1535|      0|            ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1536|      0|        }
 1537|  1.11k|        PyObject *type_params_name = PyUnicode_FromFormat("<generic parameters of %U>", name);
 1538|  1.11k|        if (!type_params_name) {
  ------------------
  |  Branch (1538:13): [True: 0, False: 1.11k]
  ------------------
 1539|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1540|      0|        }
 1541|  1.11k|        _PyCompile_CodeUnitMetadata umd = {
 1542|  1.11k|            .u_argcount = num_typeparam_args,
 1543|  1.11k|        };
 1544|  1.11k|        int ret = codegen_enter_scope(c, type_params_name, COMPILE_SCOPE_ANNOTATIONS,
 1545|  1.11k|                                      (void *)type_params, firstlineno, NULL, &umd);
 1546|  1.11k|        Py_DECREF(type_params_name);
  ------------------
  |  |  430|  1.11k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1547|  1.11k|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  1.11k|    do {                    \
  |  |   52|  1.11k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.11k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.11k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.11k]
  |  |  ------------------
  ------------------
 1548|  1.11k|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_type_params(c, type_params));
  ------------------
  |  |   58|  1.11k|    do {                                    \
  |  |   59|  1.11k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 3, False: 1.10k]
  |  |  ------------------
  |  |   60|      3|            _PyCompile_ExitScope((C));      \
  |  |   61|      3|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      3|#define ERROR -1
  |  |  ------------------
  |  |   62|      3|        }                                   \
  |  |   63|  1.11k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 1.10k]
  |  |  ------------------
  ------------------
 1549|  1.38k|        for (int i = 0; i < num_typeparam_args; i++) {
  ------------------
  |  Branch (1549:25): [True: 272, False: 1.10k]
  ------------------
 1550|    272|            ADDOP_I_IN_SCOPE(c, loc, LOAD_FAST, i);
  ------------------
  |  |  283|    272|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|    272|    do {                                    \
  |  |  |  |   59|    272|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 272]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|    272|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 272]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1551|    272|        }
 1552|  1.10k|    }
 1553|       |
 1554|  6.91k|    int annotations_flag = codegen_function_annotations(c, loc, args, returns);
 1555|  6.91k|    if (annotations_flag < 0) {
  ------------------
  |  Branch (1555:9): [True: 2, False: 6.91k]
  ------------------
 1556|      2|        if (is_generic) {
  ------------------
  |  Branch (1556:13): [True: 0, False: 2]
  ------------------
 1557|      0|            _PyCompile_ExitScope(c);
 1558|      0|        }
 1559|      2|        return ERROR;
  ------------------
  |  |   48|      2|#define ERROR -1
  ------------------
 1560|      2|    }
 1561|  6.91k|    funcflags |= annotations_flag;
 1562|       |
 1563|  6.91k|    int ret = codegen_function_body(c, s, is_async, funcflags, firstlineno);
 1564|  6.91k|    if (is_generic) {
  ------------------
  |  Branch (1564:9): [True: 1.10k, False: 5.80k]
  ------------------
 1565|  1.10k|        RETURN_IF_ERROR_IN_SCOPE(c, ret);
  ------------------
  |  |   58|  1.10k|    do {                                    \
  |  |   59|  1.10k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 10, False: 1.09k]
  |  |  ------------------
  |  |   60|     10|            _PyCompile_ExitScope((C));      \
  |  |   61|     10|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|     10|#define ERROR -1
  |  |  ------------------
  |  |   62|     10|        }                                   \
  |  |   63|  1.10k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 1.09k]
  |  |  ------------------
  ------------------
 1566|  1.10k|    }
 1567|  5.80k|    else {
 1568|  5.80k|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  5.80k|    do {                    \
  |  |   52|  5.80k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 13, False: 5.79k]
  |  |  ------------------
  |  |   53|     13|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     13|#define ERROR -1
  |  |  ------------------
  |  |   54|     13|        }                   \
  |  |   55|  5.80k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 5.79k]
  |  |  ------------------
  ------------------
 1569|  5.80k|    }
 1570|       |
 1571|  6.89k|    if (is_generic) {
  ------------------
  |  Branch (1571:9): [True: 1.09k, False: 5.79k]
  ------------------
 1572|  1.09k|        ADDOP_I_IN_SCOPE(c, loc, SWAP, 2);
  ------------------
  |  |  283|  1.09k|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  1.09k|    do {                                    \
  |  |  |  |   59|  1.09k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 1.09k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  1.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 1.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1573|  1.09k|        ADDOP_I_IN_SCOPE(c, loc, CALL_INTRINSIC_2, INTRINSIC_SET_FUNCTION_TYPE_PARAMS);
  ------------------
  |  |  283|  1.09k|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  1.09k|    do {                                    \
  |  |  |  |   59|  1.09k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 1.09k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  1.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 1.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1574|       |
 1575|  1.09k|        PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 0);
 1576|  1.09k|        _PyCompile_ExitScope(c);
 1577|  1.09k|        if (co == NULL) {
  ------------------
  |  Branch (1577:13): [True: 0, False: 1.09k]
  ------------------
 1578|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1579|      0|        }
 1580|  1.09k|        int ret = codegen_make_closure(c, loc, co, 0);
 1581|  1.09k|        Py_DECREF(co);
  ------------------
  |  |  430|  1.09k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1582|  1.09k|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  1.09k|    do {                    \
  |  |   52|  1.09k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.09k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.09k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.09k]
  |  |  ------------------
  ------------------
 1583|  1.09k|        if (num_typeparam_args > 0) {
  ------------------
  |  Branch (1583:13): [True: 272, False: 827]
  ------------------
 1584|    272|            ADDOP_I(c, loc, SWAP, num_typeparam_args + 1);
  ------------------
  |  |  280|    272|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    272|    do {                    \
  |  |  |  |   52|    272|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 272]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    272|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 272]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1585|    272|            ADDOP_I(c, loc, CALL, num_typeparam_args - 1);
  ------------------
  |  |  280|    272|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    272|    do {                    \
  |  |  |  |   52|    272|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 272]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    272|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 272]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1586|    272|        }
 1587|    827|        else {
 1588|    827|            ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  294|    827|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    827|    do {                    \
  |  |  |  |   52|    827|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 827]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    827|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 827]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1589|    827|            ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  280|    827|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    827|    do {                    \
  |  |  |  |   52|    827|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 827]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    827|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 827]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1590|    827|        }
 1591|  1.09k|    }
 1592|       |
 1593|  6.89k|    RETURN_IF_ERROR(codegen_apply_decorators(c, decos));
  ------------------
  |  |   51|  6.89k|    do {                    \
  |  |   52|  6.89k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.89k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.89k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.89k]
  |  |  ------------------
  ------------------
 1594|  6.89k|    return codegen_nameop(c, loc, name, Store);
 1595|  6.89k|}
codegen.c:codegen_decorators:
 1037|  21.6k|{
 1038|  21.6k|    if (!decos) {
  ------------------
  |  Branch (1038:9): [True: 20.6k, False: 1.01k]
  ------------------
 1039|  20.6k|        return SUCCESS;
  ------------------
  |  |   47|  20.6k|#define SUCCESS 0
  ------------------
 1040|  20.6k|    }
 1041|       |
 1042|  3.58k|    for (Py_ssize_t i = 0; i < asdl_seq_LEN(decos); i++) {
  ------------------
  |  |   83|  3.58k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  7.16k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1042:28): [True: 2.57k, False: 1.01k]
  ------------------
 1043|  2.57k|        VISIT(c, expr, (expr_ty)asdl_seq_GET(decos, i));
  ------------------
  |  |  460|  2.57k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.57k|    do {                    \
  |  |  |  |   52|  2.57k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 2.56k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  2.57k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.56k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1044|  2.57k|    }
 1045|  1.01k|    return SUCCESS;
  ------------------
  |  |   47|  1.01k|#define SUCCESS 0
  ------------------
 1046|  1.01k|}
codegen.c:codegen_default_arguments:
 1230|  19.8k|{
 1231|  19.8k|    Py_ssize_t funcflags = 0;
 1232|  19.8k|    if (args->defaults && asdl_seq_LEN(args->defaults) > 0) {
  ------------------
  |  |   83|  19.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  39.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 19.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1232:9): [True: 19.8k, False: 0]
  |  Branch (1232:27): [True: 1.25k, False: 18.6k]
  ------------------
 1233|  1.25k|        RETURN_IF_ERROR(codegen_defaults(c, args, loc));
  ------------------
  |  |   51|  1.25k|    do {                    \
  |  |   52|  1.25k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 2, False: 1.25k]
  |  |  ------------------
  |  |   53|      2|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      2|#define ERROR -1
  |  |  ------------------
  |  |   54|      2|        }                   \
  |  |   55|  1.25k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.25k]
  |  |  ------------------
  ------------------
 1234|  1.25k|        funcflags |= MAKE_FUNCTION_DEFAULTS;
  ------------------
  |  |   64|  1.25k|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
 1235|  1.25k|    }
 1236|  19.8k|    if (args->kwonlyargs) {
  ------------------
  |  Branch (1236:9): [True: 19.8k, False: 0]
  ------------------
 1237|  19.8k|        int res = codegen_kwonlydefaults(c, loc,
 1238|  19.8k|                                         args->kwonlyargs,
 1239|  19.8k|                                         args->kw_defaults);
 1240|  19.8k|        RETURN_IF_ERROR(res);
  ------------------
  |  |   51|  19.8k|    do {                    \
  |  |   52|  19.8k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 19.8k]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|  19.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 19.8k]
  |  |  ------------------
  ------------------
 1241|  19.8k|        if (res > 0) {
  ------------------
  |  Branch (1241:13): [True: 4.89k, False: 14.9k]
  ------------------
 1242|  4.89k|            funcflags |= MAKE_FUNCTION_KWDEFAULTS;
  ------------------
  |  |   65|  4.89k|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
 1243|  4.89k|        }
 1244|  19.8k|    }
 1245|  19.8k|    return funcflags;
 1246|  19.8k|}
codegen.c:codegen_defaults:
 1221|  1.25k|{
 1222|  1.25k|    VISIT_SEQ(c, expr, args->defaults);
  ------------------
  |  |  466|  1.25k|    do {                                                                    \
  |  |  467|  1.25k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  2.58k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  2.58k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  5.17k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 2.58k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 1.33k, False: 1.25k]
  |  |  ------------------
  |  |  469|  1.33k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.33k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.33k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  1.33k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.33k|    do {                    \
  |  |  |  |   52|  1.33k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 1.32k]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|  1.33k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.32k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  1.33k|        }                                                                   \
  |  |  472|  1.25k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 1.25k]
  |  |  ------------------
  ------------------
 1223|  1.25k|    ADDOP_I(c, loc, BUILD_TUPLE, asdl_seq_LEN(args->defaults));
  ------------------
  |  |  280|  1.25k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.25k|    do {                    \
  |  |  |  |   52|  2.51k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.25k]
  |  |  |  |  |  Branch (52:14): [True: 0, False: 1.25k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.25k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.25k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1224|  1.25k|    return SUCCESS;
  ------------------
  |  |   47|  1.25k|#define SUCCESS 0
  ------------------
 1225|  1.25k|}
codegen.c:codegen_kwonlydefaults:
 1065|  19.8k|{
 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|  19.8k|    int default_count = 0;
 1071|  28.3k|    for (int i = 0; i < asdl_seq_LEN(kwonlyargs); i++) {
  ------------------
  |  |   83|  28.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  56.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 28.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1071:21): [True: 8.49k, False: 19.8k]
  ------------------
 1072|  8.49k|        arg_ty arg = asdl_seq_GET(kwonlyargs, i);
  ------------------
  |  |   82|  8.49k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  8.49k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1073|  8.49k|        expr_ty default_ = asdl_seq_GET(kw_defaults, i);
  ------------------
  |  |   82|  8.49k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  8.49k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1074|  8.49k|        if (default_) {
  ------------------
  |  Branch (1074:13): [True: 5.22k, False: 3.27k]
  ------------------
 1075|  5.22k|            default_count++;
 1076|  5.22k|            PyObject *mangled = _PyCompile_MaybeMangle(c, arg->arg);
 1077|  5.22k|            if (!mangled) {
  ------------------
  |  Branch (1077:17): [True: 0, False: 5.22k]
  ------------------
 1078|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1079|      0|            }
 1080|  5.22k|            ADDOP_LOAD_CONST_NEW(c, loc, mangled);
  ------------------
  |  |  329|  5.22k|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  5.22k|    do {                    \
  |  |  |  |   52|  5.22k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5.22k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  5.22k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5.22k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1081|  5.22k|            VISIT(c, expr, default_);
  ------------------
  |  |  460|  5.22k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  5.22k|    do {                    \
  |  |  |  |   52|  5.22k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 5.22k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  5.22k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5.22k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1082|  5.22k|        }
 1083|  8.49k|    }
 1084|  19.8k|    if (default_count) {
  ------------------
  |  Branch (1084:9): [True: 4.89k, False: 14.9k]
  ------------------
 1085|  4.89k|        ADDOP_I(c, loc, BUILD_MAP, default_count);
  ------------------
  |  |  280|  4.89k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.89k|    do {                    \
  |  |  |  |   52|  4.89k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.89k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.89k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.89k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1086|  4.89k|        return 1;
 1087|  4.89k|    }
 1088|  14.9k|    else {
 1089|  14.9k|        return 0;
 1090|  14.9k|    }
 1091|  19.8k|}
codegen.c:codegen_addop_load_const_new:
  318|   121k|{
  319|   121k|    if (o == NULL) {
  ------------------
  |  Branch (319:9): [True: 0, False: 121k]
  ------------------
  320|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  321|      0|    }
  322|   121k|    int ret = codegen_addop_load_const(c, loc, o);
  323|   121k|    Py_DECREF(o);
  ------------------
  |  |  430|   121k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   121k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   121k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  324|   121k|    return ret;
  325|   121k|}
codegen.c:codegen_type_params:
 1310|  8.38k|{
 1311|  8.38k|    if (!type_params) {
  ------------------
  |  Branch (1311:9): [True: 0, False: 8.38k]
  ------------------
 1312|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 1313|      0|    }
 1314|  8.38k|    Py_ssize_t n = asdl_seq_LEN(type_params);
  ------------------
  |  |   83|  8.38k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  16.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 8.38k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1315|  8.38k|    bool seen_default = false;
 1316|       |
 1317|  25.0k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1317:28): [True: 16.7k, False: 8.35k]
  ------------------
 1318|  16.7k|        type_param_ty typeparam = asdl_seq_GET(type_params, i);
  ------------------
  |  |   82|  16.7k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  16.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1319|  16.7k|        location loc = LOC(typeparam);
  ------------------
  |  |   88|  16.7k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  16.7k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  16.7k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  16.7k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  16.7k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  16.7k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1320|  16.7k|        switch(typeparam->kind) {
  ------------------
  |  Branch (1320:16): [True: 16.7k, False: 0]
  ------------------
 1321|  15.0k|        case TypeVar_kind:
  ------------------
  |  Branch (1321:9): [True: 15.0k, False: 1.73k]
  ------------------
 1322|  15.0k|            ADDOP_LOAD_CONST(c, loc, typeparam->v.TypeVar.name);
  ------------------
  |  |  311|  15.0k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  15.0k|    do {                    \
  |  |  |  |   52|  15.0k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 15.0k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  15.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 15.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1323|  15.0k|            if (typeparam->v.TypeVar.bound) {
  ------------------
  |  Branch (1323:17): [True: 6.28k, False: 8.72k]
  ------------------
 1324|  6.28k|                expr_ty bound = typeparam->v.TypeVar.bound;
 1325|  6.28k|                RETURN_IF_ERROR(
  ------------------
  |  |   51|  6.28k|    do {                    \
  |  |   52|  6.28k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.28k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.28k]
  |  |  ------------------
  ------------------
 1326|  6.28k|                    codegen_type_param_bound_or_default(c, bound, typeparam->v.TypeVar.name,
 1327|  6.28k|                                                        (void *)typeparam, false));
 1328|       |
 1329|  6.28k|                int intrinsic = bound->kind == Tuple_kind
  ------------------
  |  Branch (1329:33): [True: 0, False: 6.28k]
  ------------------
 1330|  6.28k|                    ? INTRINSIC_TYPEVAR_WITH_CONSTRAINTS
  ------------------
  |  |   30|      0|#define INTRINSIC_TYPEVAR_WITH_CONSTRAINTS       3
  ------------------
 1331|  6.28k|                    : INTRINSIC_TYPEVAR_WITH_BOUND;
  ------------------
  |  |   29|  6.28k|#define INTRINSIC_TYPEVAR_WITH_BOUND             2
  ------------------
 1332|  6.28k|                ADDOP_I(c, loc, CALL_INTRINSIC_2, intrinsic);
  ------------------
  |  |  280|  6.28k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  6.28k|    do {                    \
  |  |  |  |   52|  6.28k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.28k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.28k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1333|  6.28k|            }
 1334|  8.72k|            else {
 1335|  8.72k|                ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_TYPEVAR);
  ------------------
  |  |  280|  8.72k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  8.72k|    do {                    \
  |  |  |  |   52|  8.72k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8.72k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  8.72k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.72k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1336|  8.72k|            }
 1337|  15.0k|            if (typeparam->v.TypeVar.default_value) {
  ------------------
  |  Branch (1337:17): [True: 188, False: 14.8k]
  ------------------
 1338|    188|                seen_default = true;
 1339|    188|                expr_ty default_ = typeparam->v.TypeVar.default_value;
 1340|    188|                RETURN_IF_ERROR(
  ------------------
  |  |   51|    188|    do {                    \
  |  |   52|    188|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 188]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    188|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 188]
  |  |  ------------------
  ------------------
 1341|    188|                    codegen_type_param_bound_or_default(c, default_, typeparam->v.TypeVar.name,
 1342|    188|                                                        (void *)((uintptr_t)typeparam + 1), false));
 1343|    188|                ADDOP_I(c, loc, CALL_INTRINSIC_2, INTRINSIC_SET_TYPEPARAM_DEFAULT);
  ------------------
  |  |  280|    188|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    188|    do {                    \
  |  |  |  |   52|    188|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 188]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    188|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 188]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1344|    188|            }
 1345|  14.8k|            else if (seen_default) {
  ------------------
  |  Branch (1345:22): [True: 18, False: 14.7k]
  ------------------
 1346|     18|                return _PyCompile_Error(c, loc, "non-default type parameter '%U' "
 1347|     18|                                        "follows default type parameter",
 1348|     18|                                        typeparam->v.TypeVar.name);
 1349|     18|            }
 1350|  14.9k|            ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  280|  14.9k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  14.9k|    do {                    \
  |  |  |  |   52|  14.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 14.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  14.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 14.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1351|  14.9k|            RETURN_IF_ERROR(codegen_nameop(c, loc, typeparam->v.TypeVar.name, Store));
  ------------------
  |  |   51|  14.9k|    do {                    \
  |  |   52|  14.9k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 14.9k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  14.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 14.9k]
  |  |  ------------------
  ------------------
 1352|  14.9k|            break;
 1353|  14.9k|        case TypeVarTuple_kind:
  ------------------
  |  Branch (1353:9): [True: 1.27k, False: 15.4k]
  ------------------
 1354|  1.27k|            ADDOP_LOAD_CONST(c, loc, typeparam->v.TypeVarTuple.name);
  ------------------
  |  |  311|  1.27k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.27k|    do {                    \
  |  |  |  |   52|  1.27k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.27k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.27k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1355|  1.27k|            ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_TYPEVARTUPLE);
  ------------------
  |  |  280|  1.27k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.27k|    do {                    \
  |  |  |  |   52|  1.27k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.27k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.27k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1356|  1.27k|            if (typeparam->v.TypeVarTuple.default_value) {
  ------------------
  |  Branch (1356:17): [True: 1.09k, False: 185]
  ------------------
 1357|  1.09k|                expr_ty default_ = typeparam->v.TypeVarTuple.default_value;
 1358|  1.09k|                RETURN_IF_ERROR(
  ------------------
  |  |   51|  1.09k|    do {                    \
  |  |   52|  1.09k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.09k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.09k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.09k]
  |  |  ------------------
  ------------------
 1359|  1.09k|                    codegen_type_param_bound_or_default(c, default_, typeparam->v.TypeVarTuple.name,
 1360|  1.09k|                                                        (void *)typeparam, true));
 1361|  1.09k|                ADDOP_I(c, loc, CALL_INTRINSIC_2, INTRINSIC_SET_TYPEPARAM_DEFAULT);
  ------------------
  |  |  280|  1.09k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.09k|    do {                    \
  |  |  |  |   52|  1.09k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1362|  1.09k|                seen_default = true;
 1363|  1.09k|            }
 1364|    185|            else if (seen_default) {
  ------------------
  |  Branch (1364:22): [True: 5, False: 180]
  ------------------
 1365|      5|                return _PyCompile_Error(c, loc, "non-default type parameter '%U' "
 1366|      5|                                        "follows default type parameter",
 1367|      5|                                        typeparam->v.TypeVarTuple.name);
 1368|      5|            }
 1369|  1.27k|            ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  280|  1.27k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.27k|    do {                    \
  |  |  |  |   52|  1.27k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.27k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.27k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1370|  1.27k|            RETURN_IF_ERROR(codegen_nameop(c, loc, typeparam->v.TypeVarTuple.name, Store));
  ------------------
  |  |   51|  1.27k|    do {                    \
  |  |   52|  1.27k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.27k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.27k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.27k]
  |  |  ------------------
  ------------------
 1371|  1.27k|            break;
 1372|  1.27k|        case ParamSpec_kind:
  ------------------
  |  Branch (1372:9): [True: 458, False: 16.2k]
  ------------------
 1373|    458|            ADDOP_LOAD_CONST(c, loc, typeparam->v.ParamSpec.name);
  ------------------
  |  |  311|    458|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    458|    do {                    \
  |  |  |  |   52|    458|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 458]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    458|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 458]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1374|    458|            ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_PARAMSPEC);
  ------------------
  |  |  280|    458|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    458|    do {                    \
  |  |  |  |   52|    458|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 458]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    458|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 458]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1375|    458|            if (typeparam->v.ParamSpec.default_value) {
  ------------------
  |  Branch (1375:17): [True: 28, False: 430]
  ------------------
 1376|     28|                expr_ty default_ = typeparam->v.ParamSpec.default_value;
 1377|     28|                RETURN_IF_ERROR(
  ------------------
  |  |   51|     28|    do {                    \
  |  |   52|     28|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 28]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 1378|     28|                    codegen_type_param_bound_or_default(c, default_, typeparam->v.ParamSpec.name,
 1379|     28|                                                        (void *)typeparam, false));
 1380|     28|                ADDOP_I(c, loc, CALL_INTRINSIC_2, INTRINSIC_SET_TYPEPARAM_DEFAULT);
  ------------------
  |  |  280|     28|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     28|    do {                    \
  |  |  |  |   52|     28|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 28]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     28|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1381|     28|                seen_default = true;
 1382|     28|            }
 1383|    430|            else if (seen_default) {
  ------------------
  |  Branch (1383:22): [True: 1, False: 429]
  ------------------
 1384|      1|                return _PyCompile_Error(c, loc, "non-default type parameter '%U' "
 1385|      1|                                        "follows default type parameter",
 1386|      1|                                        typeparam->v.ParamSpec.name);
 1387|      1|            }
 1388|    457|            ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  280|    457|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    457|    do {                    \
  |  |  |  |   52|    457|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 457]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    457|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 457]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1389|    457|            RETURN_IF_ERROR(codegen_nameop(c, loc, typeparam->v.ParamSpec.name, Store));
  ------------------
  |  |   51|    457|    do {                    \
  |  |   52|    457|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 457]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    457|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 457]
  |  |  ------------------
  ------------------
 1390|    457|            break;
 1391|  16.7k|        }
 1392|  16.7k|    }
 1393|  8.35k|    ADDOP_I(c, LOC(asdl_seq_GET(type_params, 0)), BUILD_TUPLE, n);
  ------------------
  |  |  280|  8.35k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  8.35k|    do {                    \
  |  |  |  |   52|  8.35k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8.35k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  8.35k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.35k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1394|  8.35k|    return SUCCESS;
  ------------------
  |  |   47|  8.35k|#define SUCCESS 0
  ------------------
 1395|  8.35k|}
codegen.c:codegen_type_param_bound_or_default:
 1281|  7.58k|{
 1282|  7.58k|    PyObject *defaults = PyTuple_Pack(1, _PyLong_GetOne());
 1283|  7.58k|    ADDOP_LOAD_CONST_NEW(c, LOC(e), defaults);
  ------------------
  |  |  329|  7.58k|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  7.58k|    do {                    \
  |  |  |  |   52|  7.58k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7.58k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  7.58k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1284|  7.58k|    RETURN_IF_ERROR(codegen_setup_annotations_scope(c, LOC(e), key, name));
  ------------------
  |  |   51|  7.58k|    do {                    \
  |  |   52|  7.58k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 7.58k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  7.58k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 7.58k]
  |  |  ------------------
  ------------------
 1285|  7.58k|    if (allow_starred && e->kind == Starred_kind) {
  ------------------
  |  Branch (1285:9): [True: 1.09k, False: 6.49k]
  |  Branch (1285:26): [True: 61, False: 1.03k]
  ------------------
 1286|     61|        VISIT_IN_SCOPE(c, expr, e->v.Starred.value);
  ------------------
  |  |  463|     61|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   58|     61|    do {                                    \
  |  |  |  |   59|     61|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 61]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|     61|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 61]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1287|     61|        ADDOP_I_IN_SCOPE(c, LOC(e), UNPACK_SEQUENCE, (Py_ssize_t)1);
  ------------------
  |  |  283|     61|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|     61|    do {                                    \
  |  |  |  |   59|     61|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 61]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|     61|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 61]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1288|     61|    }
 1289|  7.52k|    else {
 1290|  7.52k|        VISIT_IN_SCOPE(c, expr, e);
  ------------------
  |  |  463|  7.52k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   58|  7.52k|    do {                                    \
  |  |  |  |   59|  7.52k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 7.52k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  7.52k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 7.52k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1291|  7.52k|    }
 1292|  7.58k|    ADDOP_IN_SCOPE(c, LOC(e), RETURN_VALUE);
  ------------------
  |  |  297|  7.58k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  7.58k|    do {                                    \
  |  |  |  |   59|  7.58k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 7.58k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  7.58k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 7.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1293|  7.58k|    PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 1);
 1294|  7.58k|    _PyCompile_ExitScope(c);
 1295|  7.58k|    if (co == NULL) {
  ------------------
  |  Branch (1295:9): [True: 0, False: 7.58k]
  ------------------
 1296|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1297|      0|    }
 1298|  7.58k|    if (codegen_rename_annotations_format_param(co) < 0) {
  ------------------
  |  Branch (1298:9): [True: 0, False: 7.58k]
  ------------------
 1299|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1300|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1301|      0|    }
 1302|  7.58k|    int ret = codegen_make_closure(c, LOC(e), co, MAKE_FUNCTION_DEFAULTS);
  ------------------
  |  |   88|  7.58k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  7.58k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  7.58k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  7.58k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  7.58k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  7.58k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
                  int ret = codegen_make_closure(c, LOC(e), co, MAKE_FUNCTION_DEFAULTS);
  ------------------
  |  |   64|  7.58k|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
 1303|  7.58k|    Py_DECREF(co);
  ------------------
  |  |  430|  7.58k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|  7.58k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  7.58k|    do {                    \
  |  |   52|  7.58k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 7.58k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  7.58k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 7.58k]
  |  |  ------------------
  ------------------
 1305|  7.58k|    return SUCCESS;
  ------------------
  |  |   47|  7.58k|#define SUCCESS 0
  ------------------
 1306|  7.58k|}
codegen.c:codegen_setup_annotations_scope:
  742|  18.7k|{
  743|  18.7k|    _PyCompile_CodeUnitMetadata umd = {
  744|  18.7k|        .u_posonlyargcount = 1,
  745|  18.7k|    };
  746|  18.7k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  18.7k|    do {                    \
  |  |   52|  18.7k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 18.7k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  18.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 18.7k]
  |  |  ------------------
  ------------------
  747|  18.7k|        codegen_enter_scope(c, name, COMPILE_SCOPE_ANNOTATIONS,
  748|  18.7k|                            key, loc.lineno, NULL, &umd));
  749|       |
  750|  18.7k|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_emit_annotations_prologue(c, loc));
  ------------------
  |  |   58|  18.7k|    do {                                    \
  |  |   59|  18.7k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 18.7k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  18.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 18.7k]
  |  |  ------------------
  ------------------
  751|  18.7k|    return SUCCESS;
  ------------------
  |  |   47|  18.7k|#define SUCCESS 0
  ------------------
  752|  18.7k|}
codegen.c:codegen_emit_annotations_prologue:
  718|  18.7k|{
  719|       |    // if .format > VALUE_WITH_FAKE_GLOBALS: raise NotImplementedError
  720|  18.7k|    PyObject *value_with_fake_globals = PyLong_FromLong(_Py_ANNOTATE_FORMAT_VALUE_WITH_FAKE_GLOBALS);
  721|  18.7k|    if (value_with_fake_globals == NULL) {
  ------------------
  |  Branch (721:9): [True: 0, False: 18.7k]
  ------------------
  722|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  723|      0|    }
  724|       |
  725|  18.7k|    assert(!SYMTABLE_ENTRY(c)->ste_has_docstring);
  ------------------
  |  Branch (725:5): [True: 18.7k, False: 0]
  ------------------
  726|  18.7k|    _Py_DECLARE_STR(format, ".format");
  727|  18.7k|    ADDOP_I(c, loc, LOAD_FAST, 0);
  ------------------
  |  |  280|  18.7k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  18.7k|    do {                    \
  |  |  |  |   52|  18.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 18.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  18.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 18.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  728|  18.7k|    ADDOP_LOAD_CONST_NEW(c, loc, value_with_fake_globals);
  ------------------
  |  |  329|  18.7k|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  18.7k|    do {                    \
  |  |  |  |   52|  18.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 18.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  18.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 18.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  729|  18.7k|    ADDOP_I(c, loc, COMPARE_OP, (Py_GT << 5) | compare_masks[Py_GT]);
  ------------------
  |  |  280|  18.7k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  18.7k|    do {                    \
  |  |  |  |   52|  18.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 18.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  18.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 18.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  730|  18.7k|    ADDOP(c, loc, TO_BOOL);
  ------------------
  |  |  294|  18.7k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  18.7k|    do {                    \
  |  |  |  |   52|  18.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 18.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  18.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 18.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  731|  18.7k|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   94|  18.7k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  18.7k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  18.7k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  18.7k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  18.7k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 18.7k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
  732|  18.7k|    ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, body);
  ------------------
  |  |  435|  18.7k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  18.7k|    do {                    \
  |  |  |  |   52|  18.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 18.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  18.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 18.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  733|  18.7k|    ADDOP_I(c, loc, LOAD_COMMON_CONSTANT, CONSTANT_NOTIMPLEMENTEDERROR);
  ------------------
  |  |  280|  18.7k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  18.7k|    do {                    \
  |  |  |  |   52|  18.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 18.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  18.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 18.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|  18.7k|    ADDOP_I(c, loc, RAISE_VARARGS, 1);
  ------------------
  |  |  280|  18.7k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  18.7k|    do {                    \
  |  |  |  |   52|  18.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 18.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  18.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 18.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  735|  18.7k|    USE_LABEL(c, body);
  ------------------
  |  |  100|  18.7k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  18.7k|    do {                    \
  |  |  |  |   52|  18.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 18.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  18.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 18.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  736|  18.7k|    return SUCCESS;
  ------------------
  |  |   47|  18.7k|#define SUCCESS 0
  ------------------
  737|  18.7k|}
codegen.c:codegen_addop_j:
  427|   304k|{
  428|   304k|    assert(IS_JUMP_TARGET_LABEL(target));
  ------------------
  |  Branch (428:5): [True: 304k, False: 0]
  ------------------
  429|   304k|    assert(HAS_TARGET(opcode));
  ------------------
  |  Branch (429:5): [True: 43.8k, False: 27.7k]
  |  Branch (429:5): [True: 11.0k, False: 16.7k]
  |  Branch (429:5): [True: 16.7k, False: 0]
  |  Branch (429:5): [True: 233k, False: 71.5k]
  ------------------
  430|   304k|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (430:5): [True: 0, False: 304k]
  |  Branch (430:5): [True: 0, False: 304k]
  |  Branch (430:5): [True: 0, False: 304k]
  ------------------
  431|   304k|    return _PyInstructionSequence_Addop(seq, opcode, target.id, loc);
  432|   304k|}
codegen.c:codegen_rename_annotations_format_param:
  756|  18.6k|{
  757|       |    // We want the parameter to __annotate__ to be named "format" in the
  758|       |    // signature  shown by inspect.signature(), but we need to use a
  759|       |    // different name (.format) in the symtable; if the name
  760|       |    // "format" appears in the annotations, it doesn't get clobbered
  761|       |    // by this name.  This code is essentially:
  762|       |    // co->co_localsplusnames = ("format", *co->co_localsplusnames[1:])
  763|  18.6k|    const Py_ssize_t size = PyObject_Size(co->co_localsplusnames);
  764|  18.6k|    if (size == -1) {
  ------------------
  |  Branch (764:9): [True: 0, False: 18.6k]
  ------------------
  765|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  766|      0|    }
  767|  18.6k|    PyObject *new_names = PyTuple_New(size);
  768|  18.6k|    if (new_names == NULL) {
  ------------------
  |  Branch (768:9): [True: 0, False: 18.6k]
  ------------------
  769|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  770|      0|    }
  771|  18.6k|    PyTuple_SET_ITEM(new_names, 0, Py_NewRef(&_Py_ID(format)));
  ------------------
  |  |   40|  18.6k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  18.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  18.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  772|  26.3k|    for (int i = 1; i < size; i++) {
  ------------------
  |  Branch (772:21): [True: 7.64k, False: 18.6k]
  ------------------
  773|  7.64k|        PyObject *item = PyTuple_GetItem(co->co_localsplusnames, i);
  774|  7.64k|        if (item == NULL) {
  ------------------
  |  Branch (774:13): [True: 0, False: 7.64k]
  ------------------
  775|      0|            Py_DECREF(new_names);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  777|      0|        }
  778|  7.64k|        Py_INCREF(item);
  ------------------
  |  |  310|  7.64k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  779|  7.64k|        PyTuple_SET_ITEM(new_names, i, item);
  ------------------
  |  |   40|  7.64k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  7.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  7.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  780|  7.64k|    }
  781|  18.6k|    Py_SETREF(co->co_localsplusnames, new_names);
  ------------------
  |  |  545|  18.6k|    do { \
  |  |  546|  18.6k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  18.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|  18.6k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  18.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|  18.6k|        *_tmp_dst_ptr = (src); \
  |  |  549|  18.6k|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|  18.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|  18.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 18.6k]
  |  |  ------------------
  ------------------
  782|  18.6k|    return SUCCESS;
  ------------------
  |  |   47|  18.6k|#define SUCCESS 0
  ------------------
  783|  18.6k|}
codegen.c:codegen_function_annotations:
 1188|  6.91k|{
 1189|       |    /* Push arg annotation names and values.
 1190|       |       The expressions are evaluated separately from the rest of the source code.
 1191|       |
 1192|       |       Return -1 on error, or a combination of flags to add to the function.
 1193|       |       */
 1194|  6.91k|    Py_ssize_t annotations_len = 0;
 1195|       |
 1196|  6.91k|    PySTEntryObject *ste;
 1197|  6.91k|    RETURN_IF_ERROR(_PySymtable_LookupOptional(SYMTABLE(c), args, &ste));
  ------------------
  |  |   51|  6.91k|    do {                    \
  |  |   52|  6.91k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.91k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.91k]
  |  |  ------------------
  ------------------
 1198|  6.91k|    assert(ste != NULL);
  ------------------
  |  Branch (1198:5): [True: 6.91k, False: 0]
  ------------------
 1199|       |
 1200|  6.91k|    if (ste->ste_annotations_used) {
  ------------------
  |  Branch (1200:9): [True: 2.51k, False: 4.39k]
  ------------------
 1201|  2.51k|        int err = codegen_setup_annotations_scope(c, loc, (void *)args, ste->ste_name);
 1202|  2.51k|        Py_DECREF(ste);
  ------------------
  |  |  430|  2.51k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1203|  2.51k|        RETURN_IF_ERROR(err);
  ------------------
  |  |   51|  2.51k|    do {                    \
  |  |   52|  2.51k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.51k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.51k]
  |  |  ------------------
  ------------------
 1204|  2.51k|        RETURN_IF_ERROR_IN_SCOPE(
  ------------------
  |  |   58|  2.51k|    do {                                    \
  |  |   59|  2.51k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 2, False: 2.51k]
  |  |  ------------------
  |  |   60|      2|            _PyCompile_ExitScope((C));      \
  |  |   61|      2|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      2|#define ERROR -1
  |  |  ------------------
  |  |   62|      2|        }                                   \
  |  |   63|  2.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 2.51k]
  |  |  ------------------
  ------------------
 1205|  2.51k|            c, codegen_annotations_in_scope(c, loc, args, returns, &annotations_len)
 1206|  2.51k|        );
 1207|  2.51k|        ADDOP_I_IN_SCOPE(c, loc, BUILD_MAP, annotations_len);
  ------------------
  |  |  283|  2.51k|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  2.51k|    do {                                    \
  |  |  |  |   59|  2.51k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 2.51k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  2.51k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 2.51k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1208|  2.51k|        RETURN_IF_ERROR(codegen_finish_annotations_scope(c, loc));
  ------------------
  |  |   51|  2.51k|    do {                    \
  |  |   52|  2.51k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.51k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.51k]
  |  |  ------------------
  ------------------
 1209|  2.51k|        return MAKE_FUNCTION_ANNOTATE;
  ------------------
  |  |   68|  2.51k|#define MAKE_FUNCTION_ANNOTATE    0x10
  ------------------
 1210|  2.51k|    }
 1211|  4.39k|    else {
 1212|  4.39k|        Py_DECREF(ste);
  ------------------
  |  |  430|  4.39k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1213|  4.39k|    }
 1214|       |
 1215|  4.39k|    return 0;
 1216|  6.91k|}
codegen.c:codegen_annotations_in_scope:
 1157|  2.51k|{
 1158|  2.51k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.51k|    do {                    \
  |  |   52|  2.51k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.51k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.51k]
  |  |  ------------------
  ------------------
 1159|  2.51k|        codegen_argannotations(c, args->posonlyargs, annotations_len, loc));
 1160|       |
 1161|  2.51k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.51k|    do {                    \
  |  |   52|  2.51k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 2.51k]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|  2.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.51k]
  |  |  ------------------
  ------------------
 1162|  2.51k|        codegen_argannotations(c, args->args, annotations_len, loc));
 1163|       |
 1164|  2.51k|    if (args->vararg && args->vararg->annotation) {
  ------------------
  |  Branch (1164:9): [True: 198, False: 2.31k]
  |  Branch (1164:25): [True: 92, False: 106]
  ------------------
 1165|     92|        RETURN_IF_ERROR(
  ------------------
  |  |   51|     92|    do {                    \
  |  |   52|     92|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 91]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|     92|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 91]
  |  |  ------------------
  ------------------
 1166|     92|            codegen_argannotation(c, args->vararg->arg,
 1167|     92|                                     args->vararg->annotation, annotations_len, loc));
 1168|     92|    }
 1169|       |
 1170|  2.51k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.51k|    do {                    \
  |  |   52|  2.51k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.51k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.51k]
  |  |  ------------------
  ------------------
 1171|  2.51k|        codegen_argannotations(c, args->kwonlyargs, annotations_len, loc));
 1172|       |
 1173|  2.51k|    if (args->kwarg && args->kwarg->annotation) {
  ------------------
  |  Branch (1173:9): [True: 318, False: 2.19k]
  |  Branch (1173:24): [True: 288, False: 30]
  ------------------
 1174|    288|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    288|    do {                    \
  |  |   52|    288|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 288]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    288|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 288]
  |  |  ------------------
  ------------------
 1175|    288|            codegen_argannotation(c, args->kwarg->arg,
 1176|    288|                                     args->kwarg->annotation, annotations_len, loc));
 1177|    288|    }
 1178|       |
 1179|  2.51k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.51k|    do {                    \
  |  |   52|  2.51k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.51k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.51k]
  |  |  ------------------
  ------------------
 1180|  2.51k|        codegen_argannotation(c, &_Py_ID(return), returns, annotations_len, loc));
 1181|       |
 1182|  2.51k|    return 0;
 1183|  2.51k|}
codegen.c:codegen_argannotations:
 1138|  7.55k|{
 1139|  7.55k|    int i;
 1140|  9.86k|    for (i = 0; i < asdl_seq_LEN(args); i++) {
  ------------------
  |  |   83|  9.86k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  19.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 9.86k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1140:17): [True: 2.31k, False: 7.55k]
  ------------------
 1141|  2.31k|        arg_ty arg = (arg_ty)asdl_seq_GET(args, i);
  ------------------
  |  |   82|  2.31k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  2.31k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1142|  2.31k|        RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.31k|    do {                    \
  |  |   52|  2.31k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 2.31k]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|  2.31k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.31k]
  |  |  ------------------
  ------------------
 1143|  2.31k|            codegen_argannotation(
 1144|  2.31k|                        c,
 1145|  2.31k|                        arg->arg,
 1146|  2.31k|                        arg->annotation,
 1147|  2.31k|                        annotations_len,
 1148|  2.31k|                        loc));
 1149|  2.31k|    }
 1150|  7.55k|    return SUCCESS;
  ------------------
  |  |   47|  7.55k|#define SUCCESS 0
  ------------------
 1151|  7.55k|}
codegen.c:codegen_argannotation:
 1104|  5.21k|{
 1105|  5.21k|    if (!annotation) {
  ------------------
  |  Branch (1105:9): [True: 2.48k, False: 2.73k]
  ------------------
 1106|  2.48k|        return SUCCESS;
  ------------------
  |  |   47|  2.48k|#define SUCCESS 0
  ------------------
 1107|  2.48k|    }
 1108|  2.73k|    PyObject *mangled = _PyCompile_MaybeMangle(c, id);
 1109|  2.73k|    if (!mangled) {
  ------------------
  |  Branch (1109:9): [True: 0, False: 2.73k]
  ------------------
 1110|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1111|      0|    }
 1112|  2.73k|    ADDOP_LOAD_CONST(c, loc, mangled);
  ------------------
  |  |  311|  2.73k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.73k|    do {                    \
  |  |  |  |   52|  2.73k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.73k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.73k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1113|  2.73k|    Py_DECREF(mangled);
  ------------------
  |  |  430|  2.73k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1114|       |
 1115|  2.73k|    if (FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS) {
  ------------------
  |  |   69|  2.73k|#define FUTURE_FEATURES(C) _PyCompile_FutureFeatures(C)
  ------------------
                  if (FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS) {
  ------------------
  |  |  147|  2.73k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (1115:9): [True: 289, False: 2.44k]
  ------------------
 1116|    289|        VISIT(c, annexpr, annotation);
  ------------------
  |  |  460|    289|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    289|    do {                    \
  |  |  |  |   52|    289|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 289]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    289|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 289]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1117|    289|    }
 1118|  2.44k|    else {
 1119|  2.44k|        if (annotation->kind == Starred_kind) {
  ------------------
  |  Branch (1119:13): [True: 49, False: 2.39k]
  ------------------
 1120|       |            // *args: *Ts (where Ts is a TypeVarTuple).
 1121|       |            // Do [annotation_value] = [*Ts].
 1122|       |            // (Note that in theory we could end up here even for an argument
 1123|       |            // other than *args, but in practice the grammar doesn't allow it.)
 1124|     49|            VISIT(c, expr, annotation->v.Starred.value);
  ------------------
  |  |  460|     49|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     49|    do {                    \
  |  |  |  |   52|     49|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 49]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     49|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1125|     49|            ADDOP_I(c, loc, UNPACK_SEQUENCE, (Py_ssize_t) 1);
  ------------------
  |  |  280|     49|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     49|    do {                    \
  |  |  |  |   52|     49|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 49]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     49|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1126|     49|        }
 1127|  2.39k|        else {
 1128|  2.39k|            VISIT(c, expr, annotation);
  ------------------
  |  |  460|  2.39k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.39k|    do {                    \
  |  |  |  |   52|  2.39k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 2.39k]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|  2.39k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.39k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1129|  2.39k|        }
 1130|  2.44k|    }
 1131|  2.72k|    *annotations_len += 1;
 1132|  2.72k|    return SUCCESS;
  ------------------
  |  |   47|  2.72k|#define SUCCESS 0
  ------------------
 1133|  2.73k|}
codegen.c:codegen_visit_annexpr:
 1095|  4.84k|{
 1096|  4.84k|    location loc = LOC(annotation);
  ------------------
  |  |   88|  4.84k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  4.84k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  4.84k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  4.84k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  4.84k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  4.84k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1097|  4.84k|    ADDOP_LOAD_CONST_NEW(c, loc, _PyAST_ExprAsUnicode(annotation));
  ------------------
  |  |  329|  4.84k|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  4.84k|    do {                    \
  |  |  |  |   52|  4.84k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.84k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.84k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1098|  4.84k|    return SUCCESS;
  ------------------
  |  |   47|  4.84k|#define SUCCESS 0
  ------------------
 1099|  4.84k|}
codegen.c:codegen_finish_annotations_scope:
  787|  8.74k|{
  788|  8.74k|    ADDOP_IN_SCOPE(c, loc, RETURN_VALUE);
  ------------------
  |  |  297|  8.74k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  8.74k|    do {                                    \
  |  |  |  |   59|  8.74k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 8.74k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  8.74k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 8.74k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  789|  8.74k|    PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 1);
  790|  8.74k|    _PyCompile_ExitScope(c);
  791|  8.74k|    if (co == NULL) {
  ------------------
  |  Branch (791:9): [True: 0, False: 8.74k]
  ------------------
  792|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  793|      0|    }
  794|       |
  795|  8.74k|    if (codegen_rename_annotations_format_param(co) < 0) {
  ------------------
  |  Branch (795:9): [True: 0, False: 8.74k]
  ------------------
  796|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  797|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  798|      0|    }
  799|       |
  800|  8.74k|    int ret = codegen_make_closure(c, loc, co, 0);
  801|  8.74k|    Py_DECREF(co);
  ------------------
  |  |  430|  8.74k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  802|  8.74k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  8.74k|    do {                    \
  |  |   52|  8.74k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 8.74k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  8.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 8.74k]
  |  |  ------------------
  ------------------
  803|  8.74k|    return SUCCESS;
  ------------------
  |  |   47|  8.74k|#define SUCCESS 0
  ------------------
  804|  8.74k|}
codegen.c:codegen_function_body:
 1438|  6.91k|{
 1439|  6.91k|    arguments_ty args;
 1440|  6.91k|    identifier name;
 1441|  6.91k|    asdl_stmt_seq *body;
 1442|  6.91k|    int scope_type;
 1443|       |
 1444|  6.91k|    if (is_async) {
  ------------------
  |  Branch (1444:9): [True: 2.50k, False: 4.41k]
  ------------------
 1445|  2.50k|        assert(s->kind == AsyncFunctionDef_kind);
  ------------------
  |  Branch (1445:9): [True: 2.50k, False: 0]
  ------------------
 1446|       |
 1447|  2.50k|        args = s->v.AsyncFunctionDef.args;
 1448|  2.50k|        name = s->v.AsyncFunctionDef.name;
 1449|  2.50k|        body = s->v.AsyncFunctionDef.body;
 1450|       |
 1451|  2.50k|        scope_type = COMPILE_SCOPE_ASYNC_FUNCTION;
 1452|  4.41k|    } else {
 1453|  4.41k|        assert(s->kind == FunctionDef_kind);
  ------------------
  |  Branch (1453:9): [True: 4.41k, False: 0]
  ------------------
 1454|       |
 1455|  4.41k|        args = s->v.FunctionDef.args;
 1456|  4.41k|        name = s->v.FunctionDef.name;
 1457|  4.41k|        body = s->v.FunctionDef.body;
 1458|       |
 1459|  4.41k|        scope_type = COMPILE_SCOPE_FUNCTION;
 1460|  4.41k|    }
 1461|       |
 1462|  6.91k|    _PyCompile_CodeUnitMetadata umd = {
 1463|  6.91k|        .u_argcount = asdl_seq_LEN(args->args),
  ------------------
  |  |   83|  6.91k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  13.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 6.91k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1464|  6.91k|        .u_posonlyargcount = asdl_seq_LEN(args->posonlyargs),
  ------------------
  |  |   83|  6.91k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  13.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 6.91k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1465|  6.91k|        .u_kwonlyargcount = asdl_seq_LEN(args->kwonlyargs),
  ------------------
  |  |   83|  6.91k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  13.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 6.91k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1466|  6.91k|    };
 1467|  6.91k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  6.91k|    do {                    \
  |  |   52|  6.91k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.91k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.91k]
  |  |  ------------------
  ------------------
 1468|  6.91k|        codegen_enter_scope(c, name, scope_type, (void *)s, firstlineno, NULL, &umd));
 1469|       |
 1470|  6.91k|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_emit_function_body(c, body));
  ------------------
  |  |   58|  6.91k|    do {                                    \
  |  |   59|  6.91k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 23, False: 6.89k]
  |  |  ------------------
  |  |   60|     23|            _PyCompile_ExitScope((C));      \
  |  |   61|     23|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|     23|#define ERROR -1
  |  |  ------------------
  |  |   62|     23|        }                                   \
  |  |   63|  6.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 6.89k]
  |  |  ------------------
  ------------------
 1471|       |
 1472|  6.89k|    PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 1);
 1473|  6.89k|    _PyCompile_ExitScope(c);
 1474|  6.89k|    if (co == NULL) {
  ------------------
  |  Branch (1474:9): [True: 0, False: 6.89k]
  ------------------
 1475|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1476|      0|    }
 1477|  6.89k|    int ret = codegen_make_closure(c, LOC(s), co, funcflags);
  ------------------
  |  |   88|  6.89k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  6.89k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  6.89k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  6.89k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  6.89k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  6.89k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1478|  6.89k|    Py_DECREF(co);
  ------------------
  |  |  430|  6.89k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1479|  6.89k|    return ret;
 1480|  6.89k|}
codegen.c:codegen_emit_function_body:
 1399|  6.91k|{
 1400|  6.91k|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|  6.91k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 1401|  6.91k|    Py_ssize_t first_instr = 0;
 1402|  6.91k|    if (ste->ste_has_docstring) {
  ------------------
  |  Branch (1402:9): [True: 365, False: 6.54k]
  ------------------
 1403|    365|        PyObject *docstring = _PyAST_GetDocString(body);
 1404|    365|        assert(docstring);
  ------------------
  |  Branch (1404:9): [True: 365, False: 0]
  ------------------
 1405|    365|        first_instr = 1;
 1406|    365|        docstring = _PyCompile_CleanDoc(docstring);
 1407|    365|        if (docstring == NULL) {
  ------------------
  |  Branch (1407:13): [True: 0, False: 365]
  ------------------
 1408|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1409|      0|        }
 1410|    365|        Py_ssize_t idx = _PyCompile_AddConst(c, docstring);
 1411|    365|        Py_DECREF(docstring);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1412|    365|        RETURN_IF_ERROR(idx < 0 ? ERROR : SUCCESS);
  ------------------
  |  |   51|    365|    do {                    \
  |  |   52|    730|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 365]
  |  |  |  Branch (52:14): [True: 0, False: 365]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    365|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 365]
  |  |  ------------------
  ------------------
 1413|    365|    }
 1414|       |
 1415|  6.91k|    NEW_JUMP_TARGET_LABEL(c, start);
  ------------------
  |  |   94|  6.91k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  6.91k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  6.91k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  6.91k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  6.91k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 6.91k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 1416|  6.91k|    USE_LABEL(c, start);
  ------------------
  |  |  100|  6.91k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  6.91k|    do {                    \
  |  |  |  |   52|  6.91k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.91k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.91k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.91k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1417|  6.91k|    bool add_stopiteration_handler = ste->ste_coroutine || ste->ste_generator;
  ------------------
  |  Branch (1417:38): [True: 2.50k, False: 4.41k]
  |  Branch (1417:60): [True: 468, False: 3.94k]
  ------------------
 1418|  6.91k|    if (add_stopiteration_handler) {
  ------------------
  |  Branch (1418:9): [True: 2.97k, False: 3.94k]
  ------------------
 1419|       |        /* codegen_wrap_in_stopiteration_handler will push a block, so we need to account for that */
 1420|  2.97k|        RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.97k|    do {                    \
  |  |   52|  2.97k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.97k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.97k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.97k]
  |  |  ------------------
  ------------------
 1421|  2.97k|            _PyCompile_PushFBlock(c, NO_LOCATION, COMPILE_FBLOCK_STOP_ITERATION,
 1422|  2.97k|                                  start, NO_LABEL, NULL));
 1423|  2.97k|    }
 1424|       |
 1425|  22.3k|    for (Py_ssize_t i = first_instr; i < asdl_seq_LEN(body); i++) {
  ------------------
  |  |   83|  22.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  44.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 22.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1425:38): [True: 15.4k, False: 6.89k]
  ------------------
 1426|  15.4k|        VISIT(c, stmt, (stmt_ty)asdl_seq_GET(body, i));
  ------------------
  |  |  460|  15.4k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  15.4k|    do {                    \
  |  |  |  |   52|  15.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 23, False: 15.3k]
  |  |  |  |  ------------------
  |  |  |  |   53|     23|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     23|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     23|        }                   \
  |  |  |  |   55|  15.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 15.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1427|  15.4k|    }
 1428|  6.89k|    if (add_stopiteration_handler) {
  ------------------
  |  Branch (1428:9): [True: 2.95k, False: 3.93k]
  ------------------
 1429|  2.95k|        RETURN_IF_ERROR(codegen_wrap_in_stopiteration_handler(c));
  ------------------
  |  |   51|  2.95k|    do {                    \
  |  |   52|  2.95k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.95k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.95k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.95k]
  |  |  ------------------
  ------------------
 1430|  2.95k|        _PyCompile_PopFBlock(c, COMPILE_FBLOCK_STOP_ITERATION, start);
 1431|  2.95k|    }
 1432|  6.89k|    return SUCCESS;
  ------------------
  |  |   47|  6.89k|#define SUCCESS 0
  ------------------
 1433|  6.89k|}
codegen.c:codegen_wrap_in_stopiteration_handler:
 1250|  4.04k|{
 1251|  4.04k|    NEW_JUMP_TARGET_LABEL(c, handler);
  ------------------
  |  |   94|  4.04k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  4.04k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  4.04k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  4.04k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  4.04k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 4.04k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 1252|       |
 1253|       |    /* Insert SETUP_CLEANUP just after the initial RETURN_GENERATOR; POP_TOP */
 1254|  4.04k|    instr_sequence *seq = INSTR_SEQUENCE(c);
  ------------------
  |  |   68|  4.04k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
 1255|  4.04k|    int resume = 0;
 1256|  7.31k|    while (_PyInstructionSequence_GetInstruction(seq, resume).i_opcode != RETURN_GENERATOR) {
  ------------------
  |  |   45|  7.31k|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (1256:12): [True: 3.26k, False: 4.04k]
  ------------------
 1257|  3.26k|        resume++;
 1258|  3.26k|        assert(resume < seq->s_used);
  ------------------
  |  Branch (1258:9): [True: 3.26k, False: 0]
  ------------------
 1259|  3.26k|    }
 1260|  4.04k|    resume++;
 1261|  4.04k|    assert(_PyInstructionSequence_GetInstruction(seq, resume).i_opcode == POP_TOP);
  ------------------
  |  Branch (1261:5): [True: 4.04k, False: 0]
  ------------------
 1262|  4.04k|    resume++;
 1263|  4.04k|    assert(resume < seq->s_used);
  ------------------
  |  Branch (1263:5): [True: 4.04k, False: 0]
  ------------------
 1264|  4.04k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  4.04k|    do {                    \
  |  |   52|  4.04k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 4.04k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  4.04k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 4.04k]
  |  |  ------------------
  ------------------
 1265|  4.04k|        _PyInstructionSequence_InsertInstruction(
 1266|  4.04k|            seq, resume,
 1267|  4.04k|            SETUP_CLEANUP, handler.id, NO_LOCATION));
 1268|       |
 1269|  4.04k|    ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  311|  4.04k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  4.04k|    do {                    \
  |  |  |  |   52|  4.04k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.04k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.04k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.04k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1270|  4.04k|    ADDOP(c, NO_LOCATION, RETURN_VALUE);
  ------------------
  |  |  294|  4.04k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.04k|    do {                    \
  |  |  |  |   52|  4.04k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.04k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.04k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.04k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1271|  4.04k|    USE_LABEL(c, handler);
  ------------------
  |  |  100|  4.04k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  4.04k|    do {                    \
  |  |  |  |   52|  4.04k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.04k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.04k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.04k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1272|  4.04k|    ADDOP_I(c, NO_LOCATION, CALL_INTRINSIC_1, INTRINSIC_STOPITERATION_ERROR);
  ------------------
  |  |  280|  4.04k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.04k|    do {                    \
  |  |  |  |   52|  4.04k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.04k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.04k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.04k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1273|  4.04k|    ADDOP_I(c, NO_LOCATION, RERAISE, 1);
  ------------------
  |  |  280|  4.04k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.04k|    do {                    \
  |  |  |  |   52|  4.04k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.04k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.04k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.04k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1274|  4.04k|    return SUCCESS;
  ------------------
  |  |   47|  4.04k|#define SUCCESS 0
  ------------------
 1275|  4.04k|}
codegen.c:codegen_make_closure:
  998|  62.6k|{
  999|  62.6k|    if (co->co_nfreevars) {
  ------------------
  |  Branch (999:9): [True: 23.2k, False: 39.3k]
  ------------------
 1000|  23.2k|        int i = PyUnstable_Code_GetFirstFree(co);
 1001|  53.5k|        for (; i < co->co_nlocalsplus; ++i) {
  ------------------
  |  Branch (1001:16): [True: 30.3k, False: 23.2k]
  ------------------
 1002|       |            /* Bypass com_addop_varname because it will generate
 1003|       |               LOAD_DEREF but LOAD_CLOSURE is needed.
 1004|       |            */
 1005|  30.3k|            PyObject *name = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|  30.3k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  30.3k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1005:30): [True: 30.3k, False: 0]
  ------------------
 1006|      0|            int arg = _PyCompile_LookupArg(c, co, name);
 1007|  30.3k|            RETURN_IF_ERROR(arg);
  ------------------
  |  |   51|  30.3k|    do {                    \
  |  |   52|  30.3k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 30.3k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  30.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 30.3k]
  |  |  ------------------
  ------------------
 1008|  30.3k|            ADDOP_I(c, loc, LOAD_CLOSURE, arg);
  ------------------
  |  |  280|  30.3k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  30.3k|    do {                    \
  |  |  |  |   52|  30.3k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 30.3k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  30.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 30.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1009|  30.3k|        }
 1010|  23.2k|        flags |= MAKE_FUNCTION_CLOSURE;
  ------------------
  |  |   67|  23.2k|#define MAKE_FUNCTION_CLOSURE     0x08
  ------------------
 1011|  23.2k|        ADDOP_I(c, loc, BUILD_TUPLE, co->co_nfreevars);
  ------------------
  |  |  280|  23.2k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  23.2k|    do {                    \
  |  |  |  |   52|  23.2k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 23.2k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  23.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 23.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1012|  23.2k|    }
 1013|  62.6k|    ADDOP_LOAD_CONST(c, loc, (PyObject*)co);
  ------------------
  |  |  311|  62.6k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  62.6k|    do {                    \
  |  |  |  |   52|  62.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 62.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  62.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 62.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1014|       |
 1015|  62.6k|    ADDOP(c, loc, MAKE_FUNCTION);
  ------------------
  |  |  294|  62.6k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  62.6k|    do {                    \
  |  |  |  |   52|  62.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 62.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  62.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 62.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|       |
 1017|  62.6k|    if (flags & MAKE_FUNCTION_CLOSURE) {
  ------------------
  |  |   67|  62.6k|#define MAKE_FUNCTION_CLOSURE     0x08
  ------------------
  |  Branch (1017:9): [True: 23.2k, False: 39.3k]
  ------------------
 1018|  23.2k|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_CLOSURE);
  ------------------
  |  |  280|  23.2k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  23.2k|    do {                    \
  |  |  |  |   52|  23.2k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 23.2k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  23.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 23.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1019|  23.2k|    }
 1020|  62.6k|    if (flags & MAKE_FUNCTION_ANNOTATIONS) {
  ------------------
  |  |   66|  62.6k|#define MAKE_FUNCTION_ANNOTATIONS 0x04
  ------------------
  |  Branch (1020:9): [True: 0, False: 62.6k]
  ------------------
 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|  62.6k|    if (flags & MAKE_FUNCTION_ANNOTATE) {
  ------------------
  |  |   68|  62.6k|#define MAKE_FUNCTION_ANNOTATE    0x10
  ------------------
  |  Branch (1023:9): [True: 2.51k, False: 60.1k]
  ------------------
 1024|  2.51k|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_ANNOTATE);
  ------------------
  |  |  280|  2.51k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.51k|    do {                    \
  |  |  |  |   52|  2.51k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.51k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.51k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.51k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1025|  2.51k|    }
 1026|  62.6k|    if (flags & MAKE_FUNCTION_KWDEFAULTS) {
  ------------------
  |  |   65|  62.6k|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
  |  Branch (1026:9): [True: 4.86k, False: 57.7k]
  ------------------
 1027|  4.86k|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_KWDEFAULTS);
  ------------------
  |  |  280|  4.86k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.86k|    do {                    \
  |  |  |  |   52|  4.86k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.86k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.86k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.86k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1028|  4.86k|    }
 1029|  62.6k|    if (flags & MAKE_FUNCTION_DEFAULTS) {
  ------------------
  |  |   64|  62.6k|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
  |  Branch (1029:9): [True: 11.2k, False: 51.4k]
  ------------------
 1030|  11.2k|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_DEFAULTS);
  ------------------
  |  |  280|  11.2k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  11.2k|    do {                    \
  |  |  |  |   52|  11.2k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.2k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1031|  11.2k|    }
 1032|  62.6k|    return SUCCESS;
  ------------------
  |  |   47|  62.6k|#define SUCCESS 0
  ------------------
 1033|  62.6k|}
codegen.c:codegen_apply_decorators:
 1050|  21.6k|{
 1051|  21.6k|    if (!decos) {
  ------------------
  |  Branch (1051:9): [True: 20.5k, False: 1.01k]
  ------------------
 1052|  20.5k|        return SUCCESS;
  ------------------
  |  |   47|  20.5k|#define SUCCESS 0
  ------------------
 1053|  20.5k|    }
 1054|       |
 1055|  3.58k|    for (Py_ssize_t i = asdl_seq_LEN(decos) - 1; i > -1; i--) {
  ------------------
  |  |   83|  1.01k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  2.02k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1055:50): [True: 2.56k, False: 1.01k]
  ------------------
 1056|  2.56k|        location loc = LOC((expr_ty)asdl_seq_GET(decos, i));
  ------------------
  |  |   88|  2.56k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  2.56k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  2.56k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  2.56k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  2.56k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  2.56k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1057|  2.56k|        ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  280|  2.56k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.56k|    do {                    \
  |  |  |  |   52|  2.56k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.56k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.56k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.56k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1058|  2.56k|    }
 1059|  1.01k|    return SUCCESS;
  ------------------
  |  |   47|  1.01k|#define SUCCESS 0
  ------------------
 1060|  1.01k|}
codegen.c:codegen_class:
 1711|  14.7k|{
 1712|  14.7k|    asdl_expr_seq *decos = s->v.ClassDef.decorator_list;
 1713|       |
 1714|  14.7k|    RETURN_IF_ERROR(codegen_decorators(c, decos));
  ------------------
  |  |   51|  14.7k|    do {                    \
  |  |   52|  14.7k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 14.7k]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|  14.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 14.7k]
  |  |  ------------------
  ------------------
 1715|       |
 1716|  14.7k|    int firstlineno = s->lineno;
 1717|  14.7k|    if (asdl_seq_LEN(decos)) {
  ------------------
  |  |   83|  14.7k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  29.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:26): [True: 257, False: 14.4k]
  |  |  |  |  |  Branch (313:37): [True: 14.4k, False: 257]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1718|    257|        firstlineno = ((expr_ty)asdl_seq_GET(decos, 0))->lineno;
  ------------------
  |  |   82|    257|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    257|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1719|    257|    }
 1720|  14.7k|    location loc = LOC(s);
  ------------------
  |  |   88|  14.7k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  14.7k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  14.7k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  14.7k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  14.7k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  14.7k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1721|       |
 1722|  14.7k|    asdl_type_param_seq *type_params = s->v.ClassDef.type_params;
 1723|  14.7k|    int is_generic = asdl_seq_LEN(type_params) > 0;
  ------------------
  |  |   83|  14.7k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  29.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 7.75k, False: 6.98k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1724|  14.7k|    if (is_generic) {
  ------------------
  |  Branch (1724:9): [True: 6.98k, False: 7.75k]
  ------------------
 1725|  6.98k|        PyObject *type_params_name = PyUnicode_FromFormat("<generic parameters of %U>",
 1726|  6.98k|                                                         s->v.ClassDef.name);
 1727|  6.98k|        if (!type_params_name) {
  ------------------
  |  Branch (1727:13): [True: 0, False: 6.98k]
  ------------------
 1728|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1729|      0|        }
 1730|  6.98k|        int ret = codegen_enter_scope(c, type_params_name, COMPILE_SCOPE_ANNOTATIONS,
 1731|  6.98k|                                      (void *)type_params, firstlineno, s->v.ClassDef.name, NULL);
 1732|  6.98k|        Py_DECREF(type_params_name);
  ------------------
  |  |  430|  6.98k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1733|  6.98k|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  6.98k|    do {                    \
  |  |   52|  6.98k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.98k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.98k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.98k]
  |  |  ------------------
  ------------------
 1734|  6.98k|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_type_params(c, type_params));
  ------------------
  |  |   58|  6.98k|    do {                                    \
  |  |   59|  6.98k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 16, False: 6.97k]
  |  |  ------------------
  |  |   60|     16|            _PyCompile_ExitScope((C));      \
  |  |   61|     16|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|     16|#define ERROR -1
  |  |  ------------------
  |  |   62|     16|        }                                   \
  |  |   63|  6.98k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 6.97k]
  |  |  ------------------
  ------------------
 1735|  6.97k|        _Py_DECLARE_STR(type_params, ".type_params");
 1736|  6.97k|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_STR(type_params), Store));
  ------------------
  |  |   58|  6.97k|    do {                                    \
  |  |   59|  6.97k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 6.97k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  6.97k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 6.97k]
  |  |  ------------------
  ------------------
 1737|  6.97k|    }
 1738|       |
 1739|  14.7k|    int ret = codegen_class_body(c, s, firstlineno);
 1740|  14.7k|    if (is_generic) {
  ------------------
  |  Branch (1740:9): [True: 6.97k, False: 7.75k]
  ------------------
 1741|  6.97k|        RETURN_IF_ERROR_IN_SCOPE(c, ret);
  ------------------
  |  |   58|  6.97k|    do {                                    \
  |  |   59|  6.97k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 3, False: 6.96k]
  |  |  ------------------
  |  |   60|      3|            _PyCompile_ExitScope((C));      \
  |  |   61|      3|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      3|#define ERROR -1
  |  |  ------------------
  |  |   62|      3|        }                                   \
  |  |   63|  6.97k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 6.96k]
  |  |  ------------------
  ------------------
 1742|  6.97k|    }
 1743|  7.75k|    else {
 1744|  7.75k|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  7.75k|    do {                    \
  |  |   52|  7.75k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 12, False: 7.74k]
  |  |  ------------------
  |  |   53|     12|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     12|#define ERROR -1
  |  |  ------------------
  |  |   54|     12|        }                   \
  |  |   55|  7.75k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 7.74k]
  |  |  ------------------
  ------------------
 1745|  7.75k|    }
 1746|       |
 1747|       |    /* generate the rest of the code for the call */
 1748|       |
 1749|  14.7k|    if (is_generic) {
  ------------------
  |  Branch (1749:9): [True: 6.96k, False: 7.74k]
  ------------------
 1750|  6.96k|        _Py_DECLARE_STR(type_params, ".type_params");
 1751|  6.96k|        _Py_DECLARE_STR(generic_base, ".generic_base");
 1752|  6.96k|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_STR(type_params), Load));
  ------------------
  |  |   58|  6.96k|    do {                                    \
  |  |   59|  6.96k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 6.96k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  6.96k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 6.96k]
  |  |  ------------------
  ------------------
 1753|  6.96k|        ADDOP_I_IN_SCOPE(c, loc, CALL_INTRINSIC_1, INTRINSIC_SUBSCRIPT_GENERIC);
  ------------------
  |  |  283|  6.96k|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  6.96k|    do {                                    \
  |  |  |  |   59|  6.96k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 6.96k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  6.96k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 6.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1754|  6.96k|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_STR(generic_base), Store));
  ------------------
  |  |   58|  6.96k|    do {                                    \
  |  |   59|  6.96k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 6.96k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  6.96k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 6.96k]
  |  |  ------------------
  ------------------
 1755|       |
 1756|  6.96k|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_call_helper_impl(c, loc, 2,
  ------------------
  |  |   58|  6.96k|    do {                                    \
  |  |   59|  6.96k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 6.96k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  6.96k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 6.96k]
  |  |  ------------------
  ------------------
 1757|  6.96k|                                                             s->v.ClassDef.bases,
 1758|  6.96k|                                                             &_Py_STR(generic_base),
 1759|  6.96k|                                                             s->v.ClassDef.keywords));
 1760|       |
 1761|  6.96k|        PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 0);
 1762|       |
 1763|  6.96k|        _PyCompile_ExitScope(c);
 1764|  6.96k|        if (co == NULL) {
  ------------------
  |  Branch (1764:13): [True: 0, False: 6.96k]
  ------------------
 1765|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1766|      0|        }
 1767|  6.96k|        int ret = codegen_make_closure(c, loc, co, 0);
 1768|  6.96k|        Py_DECREF(co);
  ------------------
  |  |  430|  6.96k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1769|  6.96k|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  6.96k|    do {                    \
  |  |   52|  6.96k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.96k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.96k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.96k]
  |  |  ------------------
  ------------------
 1770|  6.96k|        ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  294|  6.96k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  6.96k|    do {                    \
  |  |  |  |   52|  6.96k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.96k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.96k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1771|  6.96k|        ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  280|  6.96k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  6.96k|    do {                    \
  |  |  |  |   52|  6.96k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.96k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.96k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1772|  7.74k|    } else {
 1773|  7.74k|        RETURN_IF_ERROR(codegen_call_helper(c, loc, 2,
  ------------------
  |  |   51|  7.74k|    do {                    \
  |  |   52|  7.74k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 2, False: 7.74k]
  |  |  ------------------
  |  |   53|      2|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      2|#define ERROR -1
  |  |  ------------------
  |  |   54|      2|        }                   \
  |  |   55|  7.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 7.74k]
  |  |  ------------------
  ------------------
 1774|  7.74k|                                            s->v.ClassDef.bases,
 1775|  7.74k|                                            s->v.ClassDef.keywords));
 1776|  7.74k|    }
 1777|       |
 1778|       |    /* 6. apply decorators */
 1779|  14.7k|    RETURN_IF_ERROR(codegen_apply_decorators(c, decos));
  ------------------
  |  |   51|  14.7k|    do {                    \
  |  |   52|  14.7k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 14.7k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  14.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 14.7k]
  |  |  ------------------
  ------------------
 1780|       |
 1781|       |    /* 7. store into <name> */
 1782|  14.7k|    RETURN_IF_ERROR(codegen_nameop(c, loc, s->v.ClassDef.name, Store));
  ------------------
  |  |   51|  14.7k|    do {                    \
  |  |   52|  14.7k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 14.7k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  14.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 14.7k]
  |  |  ------------------
  ------------------
 1783|  14.7k|    return SUCCESS;
  ------------------
  |  |   47|  14.7k|#define SUCCESS 0
  ------------------
 1784|  14.7k|}
codegen.c:codegen_class_body:
 1609|  14.7k|{
 1610|       |    /* ultimately generate code for:
 1611|       |         <name> = __build_class__(<func>, <name>, *<bases>, **<keywords>)
 1612|       |       where:
 1613|       |         <func> is a zero arg function/closure created from the class body.
 1614|       |            It mutates its locals to build the class namespace.
 1615|       |         <name> is the class name
 1616|       |         <bases> is the positional arguments and *varargs argument
 1617|       |         <keywords> is the keyword arguments and **kwds argument
 1618|       |       This borrows from codegen_call.
 1619|       |    */
 1620|       |
 1621|       |    /* 1. compile the class body into a code object */
 1622|  14.7k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  14.7k|    do {                    \
  |  |   52|  14.7k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 14.7k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  14.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 14.7k]
  |  |  ------------------
  ------------------
 1623|  14.7k|        codegen_enter_scope(c, s->v.ClassDef.name, COMPILE_SCOPE_CLASS,
 1624|  14.7k|                            (void *)s, firstlineno, s->v.ClassDef.name, NULL));
 1625|       |
 1626|  14.7k|    location loc = LOCATION(firstlineno, firstlineno, 0, 0);
  ------------------
  |  |   86|  14.7k|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
 1627|       |    /* load (global) __name__ ... */
 1628|  14.7k|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_ID(__name__), Load));
  ------------------
  |  |   58|  14.7k|    do {                                    \
  |  |   59|  14.7k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 14.7k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  14.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 14.7k]
  |  |  ------------------
  ------------------
 1629|       |    /* ... and store it as __module__ */
 1630|  14.7k|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_ID(__module__), Store));
  ------------------
  |  |   58|  14.7k|    do {                                    \
  |  |   59|  14.7k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 14.7k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  14.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 14.7k]
  |  |  ------------------
  ------------------
 1631|  14.7k|    ADDOP_LOAD_CONST_IN_SCOPE(c, loc, QUALNAME(c));
  ------------------
  |  |  314|  14.7k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   58|  14.7k|    do {                                    \
  |  |  |  |   59|  14.7k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 14.7k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  14.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 14.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1632|  14.7k|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_ID(__qualname__), Store));
  ------------------
  |  |   58|  14.7k|    do {                                    \
  |  |   59|  14.7k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 14.7k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  14.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 14.7k]
  |  |  ------------------
  ------------------
 1633|  14.7k|    ADDOP_LOAD_CONST_NEW_IN_SCOPE(c, loc, PyLong_FromLong(METADATA(c)->u_firstlineno));
  ------------------
  |  |  332|  14.7k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   58|  14.7k|    do {                                    \
  |  |  |  |   59|  14.7k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 14.7k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  14.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 14.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1634|  14.7k|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_ID(__firstlineno__), Store));
  ------------------
  |  |   58|  14.7k|    do {                                    \
  |  |   59|  14.7k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 14.7k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  14.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 14.7k]
  |  |  ------------------
  ------------------
 1635|  14.7k|    asdl_type_param_seq *type_params = s->v.ClassDef.type_params;
 1636|  14.7k|    if (asdl_seq_LEN(type_params) > 0) {
  ------------------
  |  |   83|  14.7k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  29.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 7.75k, False: 6.97k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1636:9): [True: 6.97k, False: 7.75k]
  ------------------
 1637|  6.97k|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_set_type_params_in_class(c, loc));
  ------------------
  |  |   58|  6.97k|    do {                                    \
  |  |   59|  6.97k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 6.97k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  6.97k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 6.97k]
  |  |  ------------------
  ------------------
 1638|  6.97k|    }
 1639|  14.7k|    if (SYMTABLE_ENTRY(c)->ste_needs_classdict) {
  ------------------
  |  |   71|  14.7k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (1639:9): [True: 6.06k, False: 8.66k]
  ------------------
 1640|  6.06k|        ADDOP_IN_SCOPE(c, loc, LOAD_LOCALS);
  ------------------
  |  |  297|  6.06k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  6.06k|    do {                                    \
  |  |  |  |   59|  6.06k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 6.06k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  6.06k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 6.06k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1641|       |
 1642|       |        // We can't use codegen_nameop here because we need to generate a
 1643|       |        // STORE_DEREF in a class namespace, and codegen_nameop() won't do
 1644|       |        // that by default.
 1645|  6.06k|        ADDOP_N_IN_SCOPE(c, loc, STORE_DEREF, &_Py_ID(__classdict__), cellvars);
  ------------------
  |  |  354|  6.06k|    do {                                                                \
  |  |  355|  6.06k|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  356|  6.06k|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  357|  6.06k|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|  6.06k|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  358|  6.06k|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  430|  6.06k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|  6.06k|        RETURN_IF_ERROR_IN_SCOPE((C), ret);                             \
  |  |  ------------------
  |  |  |  |   58|  6.06k|    do {                                    \
  |  |  |  |   59|  6.06k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 6.06k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  6.06k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 6.06k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  360|  6.06k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (360:14): [Folded, False: 6.06k]
  |  |  ------------------
  ------------------
  |  Branch (1645:9): [True: 6.06k, Folded]
  ------------------
 1646|  6.06k|    }
 1647|  14.7k|    if (SYMTABLE_ENTRY(c)->ste_has_conditional_annotations) {
  ------------------
  |  |   71|  14.7k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (1647:9): [True: 372, False: 14.3k]
  ------------------
 1648|    372|        ADDOP_I_IN_SCOPE(c, loc, BUILD_SET, 0);
  ------------------
  |  |  283|    372|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|    372|    do {                                    \
  |  |  |  |   59|    372|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 372]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|    372|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 372]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1649|    372|        ADDOP_N_IN_SCOPE(c, loc, STORE_DEREF, &_Py_ID(__conditional_annotations__), cellvars);
  ------------------
  |  |  354|    372|    do {                                                                \
  |  |  355|    372|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  356|    372|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  357|    372|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|    372|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  358|    372|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  430|    372|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    372|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    372|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|    372|        RETURN_IF_ERROR_IN_SCOPE((C), ret);                             \
  |  |  ------------------
  |  |  |  |   58|    372|    do {                                    \
  |  |  |  |   59|    372|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 372]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|    372|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 372]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  360|    372|    } while (0)
  |  |  ------------------
  |  |  |  Branch (360:14): [Folded, False: 372]
  |  |  ------------------
  ------------------
  |  Branch (1649:9): [True: 372, Folded]
  ------------------
 1650|    372|    }
 1651|       |    /* compile the body proper */
 1652|  14.7k|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_body(c, loc, s->v.ClassDef.body, false));
  ------------------
  |  |   58|  14.7k|    do {                                    \
  |  |   59|  14.7k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 15, False: 14.7k]
  |  |  ------------------
  |  |   60|     15|            _PyCompile_ExitScope((C));      \
  |  |   61|     15|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|     15|#define ERROR -1
  |  |  ------------------
  |  |   62|     15|        }                                   \
  |  |   63|  14.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 14.7k]
  |  |  ------------------
  ------------------
 1653|  14.7k|    ADDOP_LOAD_CONST_NEW_IN_SCOPE(c, NO_LOCATION, _PyCompile_StaticAttributesAsTuple(c));
  ------------------
  |  |  332|  14.7k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   58|  14.7k|    do {                                    \
  |  |  |  |   59|  14.7k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 14.7k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  14.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 14.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1654|  14.7k|    RETURN_IF_ERROR_IN_SCOPE(
  ------------------
  |  |   58|  14.7k|    do {                                    \
  |  |   59|  14.7k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 14.7k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  14.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 14.7k]
  |  |  ------------------
  ------------------
 1655|  14.7k|        c, codegen_nameop(c, NO_LOCATION, &_Py_ID(__static_attributes__), Store));
 1656|       |    /* The following code is artificial */
 1657|       |    /* Set __classdictcell__ if necessary */
 1658|  14.7k|    if (SYMTABLE_ENTRY(c)->ste_needs_classdict) {
  ------------------
  |  |   71|  14.7k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (1658:9): [True: 6.06k, False: 8.65k]
  ------------------
 1659|       |        /* Store __classdictcell__ into class namespace */
 1660|  6.06k|        int i = _PyCompile_LookupCellvar(c, &_Py_ID(__classdict__));
  ------------------
  |  |  951|  6.06k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  6.06k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  6.06k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1661|  6.06k|        RETURN_IF_ERROR_IN_SCOPE(c, i);
  ------------------
  |  |   58|  6.06k|    do {                                    \
  |  |   59|  6.06k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 6.06k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  6.06k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 6.06k]
  |  |  ------------------
  ------------------
 1662|  6.06k|        ADDOP_I_IN_SCOPE(c, NO_LOCATION, LOAD_CLOSURE, i);
  ------------------
  |  |  283|  6.06k|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  6.06k|    do {                                    \
  |  |  |  |   59|  6.06k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 6.06k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  6.06k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 6.06k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1663|  6.06k|        RETURN_IF_ERROR_IN_SCOPE(
  ------------------
  |  |   58|  6.06k|    do {                                    \
  |  |   59|  6.06k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 6.06k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  6.06k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 6.06k]
  |  |  ------------------
  ------------------
 1664|  6.06k|            c, codegen_nameop(c, NO_LOCATION, &_Py_ID(__classdictcell__), Store));
 1665|  6.06k|    }
 1666|       |    /* Return __classcell__ if it is referenced, otherwise return None */
 1667|  14.7k|    if (SYMTABLE_ENTRY(c)->ste_needs_class_closure) {
  ------------------
  |  |   71|  14.7k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (1667:9): [True: 149, False: 14.5k]
  ------------------
 1668|       |        /* Store __classcell__ into class namespace & return it */
 1669|    149|        int i = _PyCompile_LookupCellvar(c, &_Py_ID(__class__));
  ------------------
  |  |  951|    149|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    149|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    149|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1670|    149|        RETURN_IF_ERROR_IN_SCOPE(c, i);
  ------------------
  |  |   58|    149|    do {                                    \
  |  |   59|    149|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 149]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1671|    149|        ADDOP_I_IN_SCOPE(c, NO_LOCATION, LOAD_CLOSURE, i);
  ------------------
  |  |  283|    149|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|    149|    do {                                    \
  |  |  |  |   59|    149|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 149]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|    149|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 149]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1672|    149|        ADDOP_I_IN_SCOPE(c, NO_LOCATION, COPY, 1);
  ------------------
  |  |  283|    149|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|    149|    do {                                    \
  |  |  |  |   59|    149|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 149]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|    149|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 149]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1673|    149|        RETURN_IF_ERROR_IN_SCOPE(
  ------------------
  |  |   58|    149|    do {                                    \
  |  |   59|    149|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 149]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1674|    149|            c, codegen_nameop(c, NO_LOCATION, &_Py_ID(__classcell__), Store));
 1675|    149|    }
 1676|  14.5k|    else {
 1677|       |        /* No methods referenced __class__, so just return None */
 1678|  14.5k|        ADDOP_LOAD_CONST_IN_SCOPE(c, NO_LOCATION, Py_None);
  ------------------
  |  |  314|  14.5k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   58|  14.5k|    do {                                    \
  |  |  |  |   59|  14.5k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 14.5k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  14.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 14.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1679|  14.5k|    }
 1680|  14.7k|    ADDOP_IN_SCOPE(c, NO_LOCATION, RETURN_VALUE);
  ------------------
  |  |  297|  14.7k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  14.7k|    do {                                    \
  |  |  |  |   59|  14.7k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 14.7k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  14.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 14.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1681|       |    /* create the code object */
 1682|  14.7k|    PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 1);
 1683|       |
 1684|       |    /* leave the new scope */
 1685|  14.7k|    _PyCompile_ExitScope(c);
 1686|  14.7k|    if (co == NULL) {
  ------------------
  |  Branch (1686:9): [True: 0, False: 14.7k]
  ------------------
 1687|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1688|      0|    }
 1689|       |
 1690|       |    /* 2. load the 'build_class' function */
 1691|       |
 1692|       |    // these instructions should be attributed to the class line,
 1693|       |    // not a decorator line
 1694|  14.7k|    loc = LOC(s);
  ------------------
  |  |   88|  14.7k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  14.7k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  14.7k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  14.7k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  14.7k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  14.7k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1695|  14.7k|    ADDOP(c, loc, LOAD_BUILD_CLASS);
  ------------------
  |  |  294|  14.7k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  14.7k|    do {                    \
  |  |  |  |   52|  14.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 14.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  14.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 14.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1696|  14.7k|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  294|  14.7k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  14.7k|    do {                    \
  |  |  |  |   52|  14.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 14.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  14.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 14.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1697|       |
 1698|       |    /* 3. load a function (or closure) made from the code object */
 1699|  14.7k|    int ret = codegen_make_closure(c, loc, co, 0);
 1700|  14.7k|    Py_DECREF(co);
  ------------------
  |  |  430|  14.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1701|  14.7k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  14.7k|    do {                    \
  |  |   52|  14.7k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 14.7k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  14.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 14.7k]
  |  |  ------------------
  ------------------
 1702|       |
 1703|       |    /* 4. load class name */
 1704|  14.7k|    ADDOP_LOAD_CONST(c, loc, s->v.ClassDef.name);
  ------------------
  |  |  311|  14.7k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  14.7k|    do {                    \
  |  |  |  |   52|  14.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 14.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  14.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 14.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1705|       |
 1706|  14.7k|    return SUCCESS;
  ------------------
  |  |   47|  14.7k|#define SUCCESS 0
  ------------------
 1707|  14.7k|}
codegen.c:codegen_set_type_params_in_class:
 1599|  6.97k|{
 1600|  6.97k|    _Py_DECLARE_STR(type_params, ".type_params");
 1601|  6.97k|    RETURN_IF_ERROR(codegen_nameop(c, loc, &_Py_STR(type_params), Load));
  ------------------
  |  |   51|  6.97k|    do {                    \
  |  |   52|  6.97k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.97k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.97k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.97k]
  |  |  ------------------
  ------------------
 1602|  6.97k|    RETURN_IF_ERROR(codegen_nameop(c, loc, &_Py_ID(__type_params__), Store));
  ------------------
  |  |   51|  6.97k|    do {                    \
  |  |   52|  6.97k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.97k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.97k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.97k]
  |  |  ------------------
  ------------------
 1603|  6.97k|    return SUCCESS;
  ------------------
  |  |   47|  6.97k|#define SUCCESS 0
  ------------------
 1604|  6.97k|}
codegen.c:codegen_call_helper_impl:
 4458|  28.1k|{
 4459|  28.1k|    Py_ssize_t i, nseen, nelts, nkwelts;
 4460|       |
 4461|  28.1k|    RETURN_IF_ERROR(codegen_validate_keywords(c, keywords));
  ------------------
  |  |   51|  28.1k|    do {                    \
  |  |   52|  28.1k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 28.1k]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|  28.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 28.1k]
  |  |  ------------------
  ------------------
 4462|       |
 4463|  28.1k|    nelts = asdl_seq_LEN(args);
  ------------------
  |  |   83|  28.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  56.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 19.3k, False: 8.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4464|  28.1k|    nkwelts = asdl_seq_LEN(keywords);
  ------------------
  |  |   83|  28.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  56.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 25.8k, False: 2.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4465|       |
 4466|  28.1k|    if (CALL_STACK_USE(nelts, nkwelts) > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   91|  28.1k|    ((nargs) + (nkwds) + ((nkwds) != 0))
  ------------------
                  if (CALL_STACK_USE(nelts, nkwelts) > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|  28.1k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (4466:9): [True: 10, False: 28.1k]
  ------------------
 4467|     10|         goto ex_call;
 4468|     10|    }
 4469|  35.9k|    for (i = 0; i < nelts; i++) {
  ------------------
  |  Branch (4469:17): [True: 11.1k, False: 24.8k]
  ------------------
 4470|  11.1k|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|  11.1k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  11.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4471|  11.1k|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4471:13): [True: 3.30k, False: 7.87k]
  ------------------
 4472|  3.30k|            goto ex_call;
 4473|  3.30k|        }
 4474|  11.1k|    }
 4475|  26.2k|    for (i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4475:17): [True: 2.83k, False: 23.3k]
  ------------------
 4476|  2.83k|        keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|  2.83k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  2.83k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4477|  2.83k|        if (kw->arg == NULL) {
  ------------------
  |  Branch (4477:13): [True: 1.43k, False: 1.39k]
  ------------------
 4478|  1.43k|            goto ex_call;
 4479|  1.43k|        }
 4480|  2.83k|    }
 4481|       |
 4482|       |    /* No * or ** args, so can use faster calling sequence */
 4483|  30.1k|    for (i = 0; i < nelts; i++) {
  ------------------
  |  Branch (4483:17): [True: 6.93k, False: 23.2k]
  ------------------
 4484|  6.93k|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|  6.93k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  6.93k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4485|  6.93k|        assert(elt->kind != Starred_kind);
  ------------------
  |  Branch (4485:9): [True: 6.93k, False: 0]
  ------------------
 4486|  6.93k|        VISIT(c, expr, elt);
  ------------------
  |  |  460|  6.93k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  6.93k|    do {                    \
  |  |  |  |   52|  6.93k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 117, False: 6.81k]
  |  |  |  |  ------------------
  |  |  |  |   53|    117|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    117|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    117|        }                   \
  |  |  |  |   55|  6.93k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4487|  6.93k|    }
 4488|  23.2k|    if (injected_arg) {
  ------------------
  |  Branch (4488:9): [True: 6.56k, False: 16.6k]
  ------------------
 4489|  6.56k|        RETURN_IF_ERROR(codegen_nameop(c, loc, injected_arg, Load));
  ------------------
  |  |   51|  6.56k|    do {                    \
  |  |   52|  6.56k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.56k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.56k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.56k]
  |  |  ------------------
  ------------------
 4490|  6.56k|        nelts++;
 4491|  6.56k|    }
 4492|  23.2k|    if (nkwelts) {
  ------------------
  |  Branch (4492:9): [True: 563, False: 22.6k]
  ------------------
 4493|    563|        VISIT_SEQ(c, keyword, keywords);
  ------------------
  |  |  466|    563|    do {                                                                    \
  |  |  467|    563|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  1.29k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.29k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.58k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 739, False: 553]
  |  |  ------------------
  |  |  469|    739|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    739|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    739|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|    739|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    739|    do {                    \
  |  |  |  |   52|    739|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 10, False: 729]
  |  |  |  |  ------------------
  |  |  |  |   53|     10|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     10|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     10|        }                   \
  |  |  |  |   55|    739|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 729]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|    739|        }                                                                   \
  |  |  472|    563|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 553]
  |  |  ------------------
  ------------------
 4494|    553|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    553|    do {                    \
  |  |   52|    553|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 553]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    553|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 553]
  |  |  ------------------
  ------------------
 4495|    553|            codegen_call_simple_kw_helper(c, loc, keywords, nkwelts));
 4496|    553|        ADDOP_I(c, loc, CALL_KW, n + nelts + nkwelts);
  ------------------
  |  |  280|    553|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    553|    do {                    \
  |  |  |  |   52|    553|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 553]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    553|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 553]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4497|    553|    }
 4498|  22.6k|    else {
 4499|  22.6k|        ADDOP_I(c, loc, CALL, n + nelts);
  ------------------
  |  |  280|  22.6k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  22.6k|    do {                    \
  |  |  |  |   52|  22.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 22.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  22.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 22.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4500|  22.6k|    }
 4501|  23.2k|    return SUCCESS;
  ------------------
  |  |   47|  23.2k|#define SUCCESS 0
  ------------------
 4502|       |
 4503|  4.75k|ex_call:
 4504|       |
 4505|       |    /* Do positional arguments. */
 4506|  4.75k|    if (n == 0 && nelts == 1 && ((expr_ty)asdl_seq_GET(args, 0))->kind == Starred_kind) {
  ------------------
  |  |   82|  1.39k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.39k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (4506:9): [True: 4.34k, False: 403]
  |  Branch (4506:19): [True: 1.39k, False: 2.95k]
  |  Branch (4506:33): [True: 970, False: 426]
  ------------------
 4507|    970|        VISIT(c, expr, ((expr_ty)asdl_seq_GET(args, 0))->v.Starred.value);
  ------------------
  |  |  460|    970|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    970|    do {                    \
  |  |  |  |   52|    970|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 64, False: 906]
  |  |  |  |  ------------------
  |  |  |  |   53|     64|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     64|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     64|        }                   \
  |  |  |  |   55|    970|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 906]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4508|    970|    }
 4509|  3.78k|    else {
 4510|  3.78k|        RETURN_IF_ERROR(starunpack_helper_impl(c, loc, args, injected_arg, n,
  ------------------
  |  |   51|  3.78k|    do {                    \
  |  |   52|  3.78k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 72, False: 3.70k]
  |  |  ------------------
  |  |   53|     72|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     72|#define ERROR -1
  |  |  ------------------
  |  |   54|     72|        }                   \
  |  |   55|  3.78k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.70k]
  |  |  ------------------
  ------------------
 4511|  3.78k|                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1));
 4512|  3.78k|    }
 4513|       |    /* Then keyword arguments */
 4514|  4.61k|    if (nkwelts) {
  ------------------
  |  Branch (4514:9): [True: 1.71k, False: 2.90k]
  ------------------
 4515|       |        /* Has a new dict been pushed */
 4516|  1.71k|        int have_dict = 0;
 4517|       |
 4518|  1.71k|        nseen = 0;  /* the number of keyword arguments on the stack following */
 4519|  6.03k|        for (i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4519:21): [True: 4.32k, False: 1.70k]
  ------------------
 4520|  4.32k|            keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|  4.32k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  4.32k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4521|  4.32k|            if (kw->arg == NULL) {
  ------------------
  |  Branch (4521:17): [True: 2.67k, False: 1.65k]
  ------------------
 4522|       |                /* A keyword argument unpacking. */
 4523|  2.67k|                if (nseen) {
  ------------------
  |  Branch (4523:21): [True: 831, False: 1.84k]
  ------------------
 4524|    831|                    RETURN_IF_ERROR(codegen_subkwargs(c, loc, keywords, i - nseen, i));
  ------------------
  |  |   51|    831|    do {                    \
  |  |   52|    831|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 830]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|    831|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 830]
  |  |  ------------------
  ------------------
 4525|    830|                    if (have_dict) {
  ------------------
  |  Branch (4525:25): [True: 43, False: 787]
  ------------------
 4526|     43|                        ADDOP_I(c, loc, DICT_MERGE, 1);
  ------------------
  |  |  280|     43|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     43|    do {                    \
  |  |  |  |   52|     43|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 43]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     43|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 43]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4527|     43|                    }
 4528|    830|                    have_dict = 1;
 4529|    830|                    nseen = 0;
 4530|    830|                }
 4531|  2.67k|                if (!have_dict) {
  ------------------
  |  Branch (4531:21): [True: 790, False: 1.88k]
  ------------------
 4532|    790|                    ADDOP_I(c, loc, BUILD_MAP, 0);
  ------------------
  |  |  280|    790|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    790|    do {                    \
  |  |  |  |   52|    790|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 790]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    790|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 790]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4533|    790|                    have_dict = 1;
 4534|    790|                }
 4535|  2.67k|                VISIT(c, expr, kw->value);
  ------------------
  |  |  460|  2.67k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.67k|    do {                    \
  |  |  |  |   52|  2.67k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 4, False: 2.67k]
  |  |  |  |  ------------------
  |  |  |  |   53|      4|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      4|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      4|        }                   \
  |  |  |  |   55|  2.67k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.67k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4536|  2.67k|                ADDOP_I(c, loc, DICT_MERGE, 1);
  ------------------
  |  |  280|  2.67k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.67k|    do {                    \
  |  |  |  |   52|  2.67k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.67k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.67k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.67k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4537|  2.67k|            }
 4538|  1.65k|            else {
 4539|  1.65k|                nseen++;
 4540|  1.65k|            }
 4541|  4.32k|        }
 4542|  1.70k|        if (nseen) {
  ------------------
  |  Branch (4542:13): [True: 610, False: 1.09k]
  ------------------
 4543|       |            /* Pack up any trailing keyword arguments. */
 4544|    610|            RETURN_IF_ERROR(codegen_subkwargs(c, loc, keywords, nkwelts - nseen, nkwelts));
  ------------------
  |  |   51|    610|    do {                    \
  |  |   52|    610|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 609]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|    610|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 609]
  |  |  ------------------
  ------------------
 4545|    609|            if (have_dict) {
  ------------------
  |  Branch (4545:17): [True: 474, False: 135]
  ------------------
 4546|    474|                ADDOP_I(c, loc, DICT_MERGE, 1);
  ------------------
  |  |  280|    474|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    474|    do {                    \
  |  |  |  |   52|    474|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 474]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    474|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 474]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4547|    474|            }
 4548|    609|            have_dict = 1;
 4549|    609|        }
 4550|  1.70k|        assert(have_dict);
  ------------------
  |  Branch (4550:9): [True: 1.70k, False: 0]
  ------------------
 4551|  1.70k|    }
 4552|  4.60k|    if (nkwelts == 0) {
  ------------------
  |  Branch (4552:9): [True: 2.90k, False: 1.70k]
  ------------------
 4553|  2.90k|        ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  294|  2.90k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.90k|    do {                    \
  |  |  |  |   52|  2.90k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.90k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.90k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.90k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4554|  2.90k|    }
 4555|  4.60k|    ADDOP(c, loc, CALL_FUNCTION_EX);
  ------------------
  |  |  294|  4.60k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.60k|    do {                    \
  |  |  |  |   52|  4.60k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.60k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.60k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.60k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4556|  4.60k|    return SUCCESS;
  ------------------
  |  |   47|  4.60k|#define SUCCESS 0
  ------------------
 4557|  4.60k|}
codegen.c:codegen_validate_keywords:
 4227|  44.0k|{
 4228|  44.0k|    Py_ssize_t nkeywords = asdl_seq_LEN(keywords);
  ------------------
  |  |   83|  44.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  88.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 39.0k, False: 4.99k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4229|  55.1k|    for (Py_ssize_t i = 0; i < nkeywords; i++) {
  ------------------
  |  Branch (4229:28): [True: 11.1k, False: 43.9k]
  ------------------
 4230|  11.1k|        keyword_ty key = ((keyword_ty)asdl_seq_GET(keywords, i));
  ------------------
  |  |   82|  11.1k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  11.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4231|  11.1k|        if (key->arg == NULL) {
  ------------------
  |  Branch (4231:13): [True: 5.31k, False: 5.82k]
  ------------------
 4232|  5.31k|            continue;
 4233|  5.31k|        }
 4234|  12.3k|        for (Py_ssize_t j = i + 1; j < nkeywords; j++) {
  ------------------
  |  Branch (4234:36): [True: 6.51k, False: 5.81k]
  ------------------
 4235|  6.51k|            keyword_ty other = ((keyword_ty)asdl_seq_GET(keywords, j));
  ------------------
  |  |   82|  6.51k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  6.51k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4236|  6.51k|            if (other->arg && !PyUnicode_Compare(key->arg, other->arg)) {
  ------------------
  |  Branch (4236:17): [True: 2.47k, False: 4.03k]
  |  Branch (4236:31): [True: 15, False: 2.46k]
  ------------------
 4237|     15|                return _PyCompile_Error(c, LOC(other), "keyword argument repeated: %U", key->arg);
  ------------------
  |  |   88|     15|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|     15|    (_Py_SourceLocation){ \
  |  |  |  |   59|     15|               .lineno = (n)->lineno, \
  |  |  |  |   60|     15|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|     15|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|     15|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4238|     15|            }
 4239|  6.51k|        }
 4240|  5.82k|    }
 4241|  43.9k|    return SUCCESS;
  ------------------
  |  |   47|  43.9k|#define SUCCESS 0
  ------------------
 4242|  44.0k|}
codegen.c:codegen_visit_keyword:
 5230|  1.85k|{
 5231|  1.85k|    VISIT(c, expr, k->value);
  ------------------
  |  |  460|  1.85k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.85k|    do {                    \
  |  |  |  |   52|  1.85k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 17, False: 1.83k]
  |  |  |  |  ------------------
  |  |  |  |   53|     17|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     17|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     17|        }                   \
  |  |  |  |   55|  1.85k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.83k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5232|  1.83k|    return SUCCESS;
  ------------------
  |  |   47|  1.83k|#define SUCCESS 0
  ------------------
 5233|  1.85k|}
codegen.c:codegen_call_simple_kw_helper:
 4437|  1.12k|{
 4438|  1.12k|    PyObject *names;
 4439|  1.12k|    names = PyTuple_New(nkwelts);
 4440|  1.12k|    if (names == NULL) {
  ------------------
  |  Branch (4440:9): [True: 0, False: 1.12k]
  ------------------
 4441|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4442|      0|    }
 4443|  2.96k|    for (Py_ssize_t i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4443:28): [True: 1.83k, False: 1.12k]
  ------------------
 4444|  1.83k|        keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|  1.83k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.83k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4445|  1.83k|        PyTuple_SET_ITEM(names, i, Py_NewRef(kw->arg));
  ------------------
  |  |   40|  1.83k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4446|  1.83k|    }
 4447|  1.12k|    ADDOP_LOAD_CONST_NEW(c, loc, names);
  ------------------
  |  |  329|  1.12k|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4448|  1.12k|    return SUCCESS;
  ------------------
  |  |   47|  1.12k|#define SUCCESS 0
  ------------------
 4449|  1.12k|}
codegen.c:starunpack_helper_impl:
 3467|  81.2k|{
 3468|  81.2k|    Py_ssize_t end = asdl_seq_LEN(elts);
  ------------------
  |  |   83|  81.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|   162k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 10.4k, False: 70.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3469|  81.2k|    Py_ssize_t n = 0;
 3470|  81.2k|    int seen_star = 0;
 3471|   317k|    for (Py_ssize_t i = 0; i < end; i++) {
  ------------------
  |  Branch (3471:28): [True: 236k, False: 81.2k]
  ------------------
 3472|   236k|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|   236k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|   236k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3473|   236k|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3473:13): [True: 11.4k, False: 224k]
  ------------------
 3474|  11.4k|            if (is_empty_starred_literal(elt)) {
  ------------------
  |  Branch (3474:17): [True: 557, False: 10.8k]
  ------------------
 3475|    557|                continue;
 3476|    557|            }
 3477|  10.8k|            seen_star = 1;
 3478|  10.8k|        }
 3479|   235k|        n++;
 3480|   235k|    }
 3481|  81.2k|    int big = n + pushed + (injected_arg ? 1 : 0) > _PY_STACK_USE_GUIDELINE;
  ------------------
  |  |   24|  81.2k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (3481:29): [True: 402, False: 80.8k]
  ------------------
 3482|  81.2k|    if (!seen_star && !big) {
  ------------------
  |  Branch (3482:9): [True: 71.7k, False: 9.51k]
  |  Branch (3482:23): [True: 71.2k, False: 536]
  ------------------
 3483|   218k|        for (Py_ssize_t i = 0; i < end; i++) {
  ------------------
  |  Branch (3483:32): [True: 147k, False: 71.1k]
  ------------------
 3484|   147k|            expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|   147k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|   147k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3485|   147k|            if (is_empty_starred_literal(elt)) {
  ------------------
  |  Branch (3485:17): [True: 363, False: 147k]
  ------------------
 3486|    363|                continue;
 3487|    363|            }
 3488|   147k|            VISIT(c, expr, elt);
  ------------------
  |  |  460|   147k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|   147k|    do {                    \
  |  |  |  |   52|   147k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 117, False: 147k]
  |  |  |  |  ------------------
  |  |  |  |   53|    117|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    117|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    117|        }                   \
  |  |  |  |   55|   147k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 147k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3489|   147k|        }
 3490|  71.1k|        if (injected_arg) {
  ------------------
  |  Branch (3490:13): [True: 65, False: 71.0k]
  ------------------
 3491|     65|            RETURN_IF_ERROR(codegen_nameop(c, loc, injected_arg, Load));
  ------------------
  |  |   51|     65|    do {                    \
  |  |   52|     65|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 65]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     65|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 65]
  |  |  ------------------
  ------------------
 3492|     65|            n++;
 3493|     65|        }
 3494|  71.1k|        if (tuple) {
  ------------------
  |  Branch (3494:13): [True: 62.1k, False: 8.96k]
  ------------------
 3495|  62.1k|            ADDOP_I(c, loc, BUILD_TUPLE, n+pushed);
  ------------------
  |  |  280|  62.1k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  62.1k|    do {                    \
  |  |  |  |   52|  62.1k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 62.1k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  62.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 62.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3496|  62.1k|        } else {
 3497|  8.96k|            ADDOP_I(c, loc, build, n+pushed);
  ------------------
  |  |  280|  8.96k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  8.96k|    do {                    \
  |  |  |  |   52|  8.96k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8.96k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  8.96k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3498|  8.96k|        }
 3499|  71.1k|        return SUCCESS;
  ------------------
  |  |   47|  71.1k|#define SUCCESS 0
  ------------------
 3500|  71.1k|    }
 3501|  10.0k|    int sequence_built = 0;
 3502|  10.0k|    Py_ssize_t nitems = 0;
 3503|  10.0k|    if (big) {
  ------------------
  |  Branch (3503:9): [True: 605, False: 9.44k]
  ------------------
 3504|    605|        ADDOP_I(c, loc, build, pushed);
  ------------------
  |  |  280|    605|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    605|    do {                    \
  |  |  |  |   52|    605|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 605]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    605|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 605]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3505|    605|        sequence_built = 1;
 3506|    605|    }
 3507|  98.1k|    for (Py_ssize_t i = 0; i < end; i++) {
  ------------------
  |  Branch (3507:28): [True: 88.2k, False: 9.95k]
  ------------------
 3508|  88.2k|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|  88.2k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  88.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3509|       |
 3510|  88.2k|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3510:13): [True: 11.0k, False: 77.1k]
  ------------------
 3511|  11.0k|            if (is_empty_starred_literal(elt)) {
  ------------------
  |  Branch (3511:17): [True: 194, False: 10.8k]
  ------------------
 3512|    194|                continue;
 3513|    194|            }
 3514|  10.8k|            if (sequence_built == 0) {
  ------------------
  |  Branch (3514:17): [True: 9.43k, False: 1.41k]
  ------------------
 3515|  9.43k|                ADDOP_I(c, loc, build, nitems+pushed);
  ------------------
  |  |  280|  9.43k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.43k|    do {                    \
  |  |  |  |   52|  9.43k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.43k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.43k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.43k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3516|  9.43k|                sequence_built = 1;
 3517|  9.43k|            }
 3518|  10.8k|            VISIT(c, expr, elt->v.Starred.value);
  ------------------
  |  |  460|  10.8k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  10.8k|    do {                    \
  |  |  |  |   52|  10.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 70, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|     70|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     70|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     70|        }                   \
  |  |  |  |   55|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3519|  10.7k|            ADDOP_I(c, loc, extend, 1);
  ------------------
  |  |  280|  10.7k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3520|  10.7k|        }
 3521|  77.1k|        else {
 3522|  77.1k|            VISIT(c, expr, elt);
  ------------------
  |  |  460|  77.1k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  77.1k|    do {                    \
  |  |  |  |   52|  77.1k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 22, False: 77.1k]
  |  |  |  |  ------------------
  |  |  |  |   53|     22|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     22|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     22|        }                   \
  |  |  |  |   55|  77.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 77.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3523|  77.1k|            if (sequence_built) {
  ------------------
  |  Branch (3523:17): [True: 50.0k, False: 27.1k]
  ------------------
 3524|  50.0k|                ADDOP_I(c, loc, add, 1);
  ------------------
  |  |  280|  50.0k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  50.0k|    do {                    \
  |  |  |  |   52|  50.0k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 50.0k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  50.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 50.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3525|  50.0k|            }
 3526|  77.1k|        }
 3527|  87.9k|        nitems++;
 3528|  87.9k|    }
 3529|  10.0k|    assert(sequence_built);
  ------------------
  |  Branch (3529:5): [True: 9.95k, False: 0]
  ------------------
 3530|  9.95k|    if (injected_arg) {
  ------------------
  |  Branch (3530:9): [True: 337, False: 9.62k]
  ------------------
 3531|    337|        RETURN_IF_ERROR(codegen_nameop(c, loc, injected_arg, Load));
  ------------------
  |  |   51|    337|    do {                    \
  |  |   52|    337|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 337]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    337|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 337]
  |  |  ------------------
  ------------------
 3532|    337|        ADDOP_I(c, loc, add, 1);
  ------------------
  |  |  280|    337|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    337|    do {                    \
  |  |  |  |   52|    337|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 337]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    337|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 337]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3533|    337|    }
 3534|  9.95k|    if (tuple) {
  ------------------
  |  Branch (3534:9): [True: 5.43k, False: 4.52k]
  ------------------
 3535|  5.43k|        ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_LIST_TO_TUPLE);
  ------------------
  |  |  280|  5.43k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  5.43k|    do {                    \
  |  |  |  |   52|  5.43k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5.43k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  5.43k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5.43k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3536|  5.43k|    }
 3537|  9.95k|    return SUCCESS;
  ------------------
  |  |   47|  9.95k|#define SUCCESS 0
  ------------------
 3538|  9.95k|}
codegen.c:is_empty_starred_literal:
 3450|   170k|{
 3451|   170k|    if (elt->kind != Starred_kind) {
  ------------------
  |  Branch (3451:9): [True: 147k, False: 22.8k]
  ------------------
 3452|   147k|        return false;
 3453|   147k|    }
 3454|  22.8k|    expr_ty value = elt->v.Starred.value;
 3455|  22.8k|    return (value->kind == Tuple_kind &&
  ------------------
  |  Branch (3455:13): [True: 268, False: 22.5k]
  ------------------
 3456|    268|            asdl_seq_LEN(value->v.Tuple.elts) == 0) ||
  ------------------
  |  |   83|    268|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    536|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 156, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3456:13): [True: 156, False: 112]
  ------------------
 3457|  22.7k|           (value->kind == List_kind &&
  ------------------
  |  Branch (3457:13): [True: 658, False: 22.0k]
  ------------------
 3458|    658|            asdl_seq_LEN(value->v.List.elts) == 0) ||
  ------------------
  |  |   83|    658|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  1.31k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 484, False: 174]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3458:13): [True: 484, False: 174]
  ------------------
 3459|  22.2k|           (value->kind == Dict_kind &&
  ------------------
  |  Branch (3459:13): [True: 474, False: 21.7k]
  ------------------
 3460|    474|            asdl_seq_LEN(value->v.Dict.keys) == 0);
  ------------------
  |  |   83|    474|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    948|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 474]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3460:13): [True: 474, False: 0]
  ------------------
 3461|   170k|}
codegen.c:codegen_subkwargs:
 4409|  1.44k|{
 4410|  1.44k|    Py_ssize_t i, n = end - begin;
 4411|  1.44k|    keyword_ty kw;
 4412|  1.44k|    assert(n > 0);
  ------------------
  |  Branch (4412:5): [True: 1.44k, False: 0]
  ------------------
 4413|  1.44k|    int big = n*2 > _PY_STACK_USE_GUIDELINE;
  ------------------
  |  |   24|  1.44k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
 4414|  1.44k|    if (big) {
  ------------------
  |  Branch (4414:9): [True: 0, False: 1.44k]
  ------------------
 4415|      0|        ADDOP_I(c, NO_LOCATION, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4416|      0|    }
 4417|  3.09k|    for (i = begin; i < end; i++) {
  ------------------
  |  Branch (4417:21): [True: 1.65k, False: 1.43k]
  ------------------
 4418|  1.65k|        kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|  1.65k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.65k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4419|  1.65k|        ADDOP_LOAD_CONST(c, loc, kw->arg);
  ------------------
  |  |  311|  1.65k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.65k|    do {                    \
  |  |  |  |   52|  1.65k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.65k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.65k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.65k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4420|  1.65k|        VISIT(c, expr, kw->value);
  ------------------
  |  |  460|  1.65k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.65k|    do {                    \
  |  |  |  |   52|  1.65k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 1.64k]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|  1.65k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.64k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4421|  1.64k|        if (big) {
  ------------------
  |  Branch (4421:13): [True: 0, False: 1.64k]
  ------------------
 4422|      0|            ADDOP_I(c, NO_LOCATION, MAP_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4423|      0|        }
 4424|  1.64k|    }
 4425|  1.43k|    if (!big) {
  ------------------
  |  Branch (4425:9): [True: 1.43k, False: 0]
  ------------------
 4426|  1.43k|        ADDOP_I(c, loc, BUILD_MAP, n);
  ------------------
  |  |  280|  1.43k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.43k|    do {                    \
  |  |  |  |   52|  1.43k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.43k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.43k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.43k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4427|  1.43k|    }
 4428|  1.43k|    return SUCCESS;
  ------------------
  |  |   47|  1.43k|#define SUCCESS 0
  ------------------
 4429|  1.43k|}
codegen.c:codegen_call_helper:
 4564|  21.1k|{
 4565|       |    return codegen_call_helper_impl(c, loc, n, args, NULL, keywords);
 4566|  21.1k|}
codegen.c:codegen_typealias:
 1819|  2.37k|{
 1820|  2.37k|    location loc = LOC(s);
  ------------------
  |  |   88|  2.37k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  2.37k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  2.37k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  2.37k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  2.37k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  2.37k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1821|  2.37k|    asdl_type_param_seq *type_params = s->v.TypeAlias.type_params;
 1822|  2.37k|    int is_generic = asdl_seq_LEN(type_params) > 0;
  ------------------
  |  |   83|  2.37k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  4.75k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2.09k, False: 283]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1823|  2.37k|    PyObject *name = s->v.TypeAlias.name->v.Name.id;
 1824|  2.37k|    if (is_generic) {
  ------------------
  |  Branch (1824:9): [True: 283, False: 2.09k]
  ------------------
 1825|    283|        PyObject *type_params_name = PyUnicode_FromFormat("<generic parameters of %U>",
 1826|    283|                                                         name);
 1827|    283|        if (!type_params_name) {
  ------------------
  |  Branch (1827:13): [True: 0, False: 283]
  ------------------
 1828|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1829|      0|        }
 1830|    283|        int ret = codegen_enter_scope(c, type_params_name, COMPILE_SCOPE_ANNOTATIONS,
 1831|    283|                                      (void *)type_params, loc.lineno, NULL, NULL);
 1832|    283|        Py_DECREF(type_params_name);
  ------------------
  |  |  430|    283|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    283|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    283|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1833|    283|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|    283|    do {                    \
  |  |   52|    283|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 283]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    283|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 283]
  |  |  ------------------
  ------------------
 1834|    283|        ADDOP_LOAD_CONST_IN_SCOPE(c, loc, name);
  ------------------
  |  |  314|    283|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   58|    283|    do {                                    \
  |  |  |  |   59|    283|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 283]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|    283|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 283]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1835|    283|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_type_params(c, type_params));
  ------------------
  |  |   58|    283|    do {                                    \
  |  |   59|    283|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 5, False: 278]
  |  |  ------------------
  |  |   60|      5|            _PyCompile_ExitScope((C));      \
  |  |   61|      5|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      5|#define ERROR -1
  |  |  ------------------
  |  |   62|      5|        }                                   \
  |  |   63|    283|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 278]
  |  |  ------------------
  ------------------
 1836|    283|    }
 1837|  2.09k|    else {
 1838|  2.09k|        ADDOP_LOAD_CONST(c, loc, name);
  ------------------
  |  |  311|  2.09k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.09k|    do {                    \
  |  |  |  |   52|  2.09k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1839|  2.09k|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  311|  2.09k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.09k|    do {                    \
  |  |  |  |   52|  2.09k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1840|  2.09k|    }
 1841|       |
 1842|  2.37k|    int ret = codegen_typealias_body(c, s);
 1843|  2.37k|    if (is_generic) {
  ------------------
  |  Branch (1843:9): [True: 278, False: 2.09k]
  ------------------
 1844|    278|        RETURN_IF_ERROR_IN_SCOPE(c, ret);
  ------------------
  |  |   58|    278|    do {                                    \
  |  |   59|    278|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 278]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|    278|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 278]
  |  |  ------------------
  ------------------
 1845|    278|    }
 1846|  2.09k|    else {
 1847|  2.09k|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  2.09k|    do {                    \
  |  |   52|  2.09k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 2, False: 2.09k]
  |  |  ------------------
  |  |   53|      2|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      2|#define ERROR -1
  |  |  ------------------
  |  |   54|      2|        }                   \
  |  |   55|  2.09k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.09k]
  |  |  ------------------
  ------------------
 1848|  2.09k|    }
 1849|       |
 1850|  2.37k|    if (is_generic) {
  ------------------
  |  Branch (1850:9): [True: 278, False: 2.09k]
  ------------------
 1851|    278|        PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 0);
 1852|    278|        _PyCompile_ExitScope(c);
 1853|    278|        if (co == NULL) {
  ------------------
  |  Branch (1853:13): [True: 0, False: 278]
  ------------------
 1854|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1855|      0|        }
 1856|    278|        int ret = codegen_make_closure(c, loc, co, 0);
 1857|    278|        Py_DECREF(co);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1858|    278|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|    278|    do {                    \
  |  |   52|    278|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 278]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    278|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 278]
  |  |  ------------------
  ------------------
 1859|    278|        ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  294|    278|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    278|    do {                    \
  |  |  |  |   52|    278|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 278]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    278|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 278]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1860|    278|        ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  280|    278|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    278|    do {                    \
  |  |  |  |   52|    278|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 278]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    278|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 278]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1861|    278|    }
 1862|  2.37k|    RETURN_IF_ERROR(codegen_nameop(c, loc, name, Store));
  ------------------
  |  |   51|  2.37k|    do {                    \
  |  |   52|  2.37k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.37k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.37k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.37k]
  |  |  ------------------
  ------------------
 1863|  2.37k|    return SUCCESS;
  ------------------
  |  |   47|  2.37k|#define SUCCESS 0
  ------------------
 1864|  2.37k|}
codegen.c:codegen_typealias_body:
 1788|  2.37k|{
 1789|  2.37k|    location loc = LOC(s);
  ------------------
  |  |   88|  2.37k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  2.37k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  2.37k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  2.37k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  2.37k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  2.37k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1790|  2.37k|    PyObject *name = s->v.TypeAlias.name->v.Name.id;
 1791|  2.37k|    PyObject *defaults = PyTuple_Pack(1, _PyLong_GetOne());
 1792|  2.37k|    ADDOP_LOAD_CONST_NEW(c, loc, defaults);
  ------------------
  |  |  329|  2.37k|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.37k|    do {                    \
  |  |  |  |   52|  2.37k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.37k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.37k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1793|  2.37k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.37k|    do {                    \
  |  |   52|  2.37k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.37k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.37k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.37k]
  |  |  ------------------
  ------------------
 1794|  2.37k|        codegen_setup_annotations_scope(c, LOC(s), s, name));
 1795|       |
 1796|  2.37k|    assert(!SYMTABLE_ENTRY(c)->ste_has_docstring);
  ------------------
  |  Branch (1796:5): [True: 2.37k, False: 0]
  ------------------
 1797|  2.37k|    VISIT_IN_SCOPE(c, expr, s->v.TypeAlias.value);
  ------------------
  |  |  463|  2.37k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   58|  2.37k|    do {                                    \
  |  |  |  |   59|  2.37k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 2, False: 2.37k]
  |  |  |  |  ------------------
  |  |  |  |   60|      2|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      2|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      2|        }                                   \
  |  |  |  |   63|  2.37k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 2.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1798|  2.37k|    ADDOP_IN_SCOPE(c, loc, RETURN_VALUE);
  ------------------
  |  |  297|  2.37k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  2.37k|    do {                                    \
  |  |  |  |   59|  2.37k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 2.37k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  2.37k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 2.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1799|  2.37k|    PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 0);
 1800|  2.37k|    _PyCompile_ExitScope(c);
 1801|  2.37k|    if (co == NULL) {
  ------------------
  |  Branch (1801:9): [True: 0, False: 2.37k]
  ------------------
 1802|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1803|      0|    }
 1804|  2.37k|    if (codegen_rename_annotations_format_param(co) < 0) {
  ------------------
  |  Branch (1804:9): [True: 0, False: 2.37k]
  ------------------
 1805|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1806|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1807|      0|    }
 1808|  2.37k|    int ret = codegen_make_closure(c, loc, co, MAKE_FUNCTION_DEFAULTS);
  ------------------
  |  |   64|  2.37k|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
 1809|  2.37k|    Py_DECREF(co);
  ------------------
  |  |  430|  2.37k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1810|  2.37k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  2.37k|    do {                    \
  |  |   52|  2.37k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.37k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.37k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.37k]
  |  |  ------------------
  ------------------
 1811|       |
 1812|  2.37k|    ADDOP_I(c, loc, BUILD_TUPLE, 3);
  ------------------
  |  |  280|  2.37k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.37k|    do {                    \
  |  |  |  |   52|  2.37k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.37k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.37k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1813|  2.37k|    ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_TYPEALIAS);
  ------------------
  |  |  280|  2.37k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.37k|    do {                    \
  |  |  |  |   52|  2.37k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.37k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.37k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1814|  2.37k|    return SUCCESS;
  ------------------
  |  |   47|  2.37k|#define SUCCESS 0
  ------------------
 1815|  2.37k|}
codegen.c:codegen_return:
 2282|    685|{
 2283|    685|    location loc = LOC(s);
  ------------------
  |  |   88|    685|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    685|    (_Py_SourceLocation){ \
  |  |  |  |   59|    685|               .lineno = (n)->lineno, \
  |  |  |  |   60|    685|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    685|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    685|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2284|    685|    int preserve_tos = ((s->v.Return.value != NULL) &&
  ------------------
  |  Branch (2284:25): [True: 289, False: 396]
  ------------------
 2285|    289|                        (s->v.Return.value->kind != Constant_kind));
  ------------------
  |  Branch (2285:25): [True: 282, False: 7]
  ------------------
 2286|       |
 2287|    685|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|    685|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 2288|    685|    if (!_PyST_IsFunctionLike(ste)) {
  ------------------
  |  Branch (2288:9): [True: 18, False: 667]
  ------------------
 2289|     18|        return _PyCompile_Error(c, loc, "'return' outside function");
 2290|     18|    }
 2291|    667|    if (s->v.Return.value != NULL && ste->ste_coroutine && ste->ste_generator) {
  ------------------
  |  Branch (2291:9): [True: 280, False: 387]
  |  Branch (2291:38): [True: 268, False: 12]
  |  Branch (2291:60): [True: 0, False: 268]
  ------------------
 2292|      0|        return _PyCompile_Error(c, loc, "'return' with value in async generator");
 2293|      0|    }
 2294|       |
 2295|    667|    if (preserve_tos) {
  ------------------
  |  Branch (2295:9): [True: 275, False: 392]
  ------------------
 2296|    275|        VISIT(c, expr, s->v.Return.value);
  ------------------
  |  |  460|    275|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    275|    do {                    \
  |  |  |  |   52|    275|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 274]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    275|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 274]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2297|    392|    } else {
 2298|       |        /* Emit instruction with line number for return value */
 2299|    392|        if (s->v.Return.value != NULL) {
  ------------------
  |  Branch (2299:13): [True: 5, False: 387]
  ------------------
 2300|      5|            loc = LOC(s->v.Return.value);
  ------------------
  |  |   88|      5|#define LOC(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 }
  |  |  ------------------
  ------------------
 2301|      5|            ADDOP(c, loc, NOP);
  ------------------
  |  |  294|      5|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2302|      5|        }
 2303|    392|    }
 2304|    666|    if (s->v.Return.value == NULL || s->v.Return.value->lineno != s->lineno) {
  ------------------
  |  Branch (2304:9): [True: 387, False: 279]
  |  Branch (2304:38): [True: 0, False: 279]
  ------------------
 2305|    387|        loc = LOC(s);
  ------------------
  |  |   88|    387|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    387|    (_Py_SourceLocation){ \
  |  |  |  |   59|    387|               .lineno = (n)->lineno, \
  |  |  |  |   60|    387|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    387|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    387|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2306|    387|        ADDOP(c, loc, NOP);
  ------------------
  |  |  294|    387|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    387|    do {                    \
  |  |  |  |   52|    387|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 387]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    387|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 387]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2307|    387|    }
 2308|       |
 2309|    666|    RETURN_IF_ERROR(codegen_unwind_fblock_stack(c, &loc, preserve_tos, NULL));
  ------------------
  |  |   51|    666|    do {                    \
  |  |   52|    666|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 666]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    666|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 666]
  |  |  ------------------
  ------------------
 2310|    666|    if (s->v.Return.value == NULL) {
  ------------------
  |  Branch (2310:9): [True: 387, False: 279]
  ------------------
 2311|    387|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  311|    387|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    387|    do {                    \
  |  |  |  |   52|    387|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 387]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    387|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 387]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2312|    387|    }
 2313|    279|    else if (!preserve_tos) {
  ------------------
  |  Branch (2313:14): [True: 5, False: 274]
  ------------------
 2314|      5|        ADDOP_LOAD_CONST(c, loc, s->v.Return.value->v.Constant.value);
  ------------------
  |  |  311|      5|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2315|      5|    }
 2316|    666|    ADDOP(c, loc, RETURN_VALUE);
  ------------------
  |  |  294|    666|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    666|    do {                    \
  |  |  |  |   52|    666|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 666]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    666|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 666]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2317|       |
 2318|    666|    return SUCCESS;
  ------------------
  |  |   47|    666|#define SUCCESS 0
  ------------------
 2319|    666|}
codegen.c:codegen_unwind_fblock_stack:
  661|  7.39k|{
  662|  7.39k|    fblockinfo *top = _PyCompile_TopFBlock(c);
  663|  7.39k|    if (top == NULL) {
  ------------------
  |  Branch (663:9): [True: 688, False: 6.70k]
  ------------------
  664|    688|        return SUCCESS;
  ------------------
  |  |   47|    688|#define SUCCESS 0
  ------------------
  665|    688|    }
  666|  6.70k|    if (top->fb_type == COMPILE_FBLOCK_EXCEPTION_GROUP_HANDLER) {
  ------------------
  |  Branch (666:9): [True: 1, False: 6.70k]
  ------------------
  667|      1|        return _PyCompile_Error(
  668|      1|            c, *ploc, "'break', 'continue' and 'return' cannot appear in an except* block");
  669|      1|    }
  670|  6.70k|    if (loop != NULL && (top->fb_type == COMPILE_FBLOCK_WHILE_LOOP ||
  ------------------
  |  Branch (670:9): [True: 526, False: 6.18k]
  |  Branch (670:26): [True: 245, False: 281]
  ------------------
  671|    281|                         top->fb_type == COMPILE_FBLOCK_FOR_LOOP ||
  ------------------
  |  Branch (671:26): [True: 74, False: 207]
  ------------------
  672|    511|                         top->fb_type == COMPILE_FBLOCK_ASYNC_FOR_LOOP)) {
  ------------------
  |  Branch (672:26): [True: 192, False: 15]
  ------------------
  673|    511|        *loop = top;
  674|    511|        return SUCCESS;
  ------------------
  |  |   47|    511|#define SUCCESS 0
  ------------------
  675|    511|    }
  676|  6.19k|    fblockinfo copy = *top;
  677|  6.19k|    _PyCompile_PopFBlock(c, top->fb_type, top->fb_block);
  678|  6.19k|    RETURN_IF_ERROR(codegen_unwind_fblock(c, ploc, &copy, preserve_tos));
  ------------------
  |  |   51|  6.19k|    do {                    \
  |  |   52|  6.19k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 6.19k]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|  6.19k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.19k]
  |  |  ------------------
  ------------------
  679|  6.19k|    RETURN_IF_ERROR(codegen_unwind_fblock_stack(c, ploc, preserve_tos, loop));
  ------------------
  |  |   51|  6.19k|    do {                    \
  |  |   52|  6.19k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 6.19k]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|  6.19k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.19k]
  |  |  ------------------
  ------------------
  680|  6.19k|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, copy.fb_loc, copy.fb_type, copy.fb_block,
  ------------------
  |  |   51|  6.19k|    do {                    \
  |  |   52|  6.19k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.19k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.19k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.19k]
  |  |  ------------------
  ------------------
  681|  6.19k|                          copy.fb_exit, copy.fb_datum));
  682|  6.19k|    return SUCCESS;
  ------------------
  |  |   47|  6.19k|#define SUCCESS 0
  ------------------
  683|  6.19k|}
codegen.c:codegen_unwind_fblock:
  548|  6.32k|{
  549|  6.32k|    switch (info->fb_type) {
  ------------------
  |  Branch (549:13): [True: 6.32k, False: 0]
  ------------------
  550|    122|        case COMPILE_FBLOCK_WHILE_LOOP:
  ------------------
  |  Branch (550:9): [True: 122, False: 6.20k]
  ------------------
  551|    124|        case COMPILE_FBLOCK_EXCEPTION_HANDLER:
  ------------------
  |  Branch (551:9): [True: 2, False: 6.32k]
  ------------------
  552|    124|        case COMPILE_FBLOCK_EXCEPTION_GROUP_HANDLER:
  ------------------
  |  Branch (552:9): [True: 0, False: 6.32k]
  ------------------
  553|    124|        case COMPILE_FBLOCK_ASYNC_COMPREHENSION_GENERATOR:
  ------------------
  |  Branch (553:9): [True: 0, False: 6.32k]
  ------------------
  554|    124|        case COMPILE_FBLOCK_INLINED_COMPREHENSION:
  ------------------
  |  Branch (554:9): [True: 0, False: 6.32k]
  ------------------
  555|    777|        case COMPILE_FBLOCK_STOP_ITERATION:
  ------------------
  |  Branch (555:9): [True: 653, False: 5.67k]
  ------------------
  556|    777|            return SUCCESS;
  ------------------
  |  |   47|    777|#define SUCCESS 0
  ------------------
  557|       |
  558|     19|        case COMPILE_FBLOCK_FOR_LOOP:
  ------------------
  |  Branch (558:9): [True: 19, False: 6.30k]
  ------------------
  559|       |            /* Pop the iterator */
  560|     19|            if (preserve_tos) {
  ------------------
  |  Branch (560:17): [True: 0, False: 19]
  ------------------
  561|      0|                ADDOP_I(c, *ploc, SWAP, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|      0|            }
  563|     19|            ADDOP(c, *ploc, POP_TOP);
  ------------------
  |  |  294|     19|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     19|    do {                    \
  |  |  |  |   52|     19|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 19]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     19|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 19]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  564|     19|            ADDOP(c, *ploc, POP_TOP);
  ------------------
  |  |  294|     19|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     19|    do {                    \
  |  |  |  |   52|     19|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 19]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     19|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 19]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  565|     19|            return SUCCESS;
  ------------------
  |  |   47|     19|#define SUCCESS 0
  ------------------
  566|       |
  567|      0|        case COMPILE_FBLOCK_ASYNC_FOR_LOOP:
  ------------------
  |  Branch (567:9): [True: 0, False: 6.32k]
  ------------------
  568|       |            /* Pop the iterator */
  569|      0|            if (preserve_tos) {
  ------------------
  |  Branch (569:17): [True: 0, False: 0]
  ------------------
  570|      0|                ADDOP_I(c, *ploc, SWAP, 2);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  571|      0|            }
  572|      0|            ADDOP(c, *ploc, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|      0|            return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
  574|       |
  575|      1|        case COMPILE_FBLOCK_TRY_EXCEPT:
  ------------------
  |  Branch (575:9): [True: 1, False: 6.32k]
  ------------------
  576|      1|            ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  577|      1|            return SUCCESS;
  ------------------
  |  |   47|      1|#define SUCCESS 0
  ------------------
  578|       |
  579|      9|        case COMPILE_FBLOCK_FINALLY_TRY:
  ------------------
  |  Branch (579:9): [True: 9, False: 6.31k]
  ------------------
  580|       |            /* This POP_BLOCK gets the line number of the unwinding statement */
  581|      9|            ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  294|      9|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      9|    do {                    \
  |  |  |  |   52|      9|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      9|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  582|      9|            if (preserve_tos) {
  ------------------
  |  Branch (582:17): [True: 0, False: 9]
  ------------------
  583|      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]
  |  |  ------------------
  ------------------
  584|      0|                    _PyCompile_PushFBlock(c, *ploc, COMPILE_FBLOCK_POP_VALUE,
  585|      0|                                          NO_LABEL, NO_LABEL, NULL));
  586|      0|            }
  587|       |            /* Emit the finally block */
  588|      9|            VISIT_SEQ(c, stmt, info->fb_datum);
  ------------------
  |  |  466|      9|    do {                                                                    \
  |  |  467|      9|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|    175|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    175|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    350|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 175]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 167, False: 8]
  |  |  ------------------
  |  |  469|    167|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    167|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    167|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|    167|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    167|    do {                    \
  |  |  |  |   52|    167|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 166]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    167|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 166]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|    167|        }                                                                   \
  |  |  472|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
  589|      8|            if (preserve_tos) {
  ------------------
  |  Branch (589:17): [True: 0, False: 8]
  ------------------
  590|      0|                _PyCompile_PopFBlock(c, COMPILE_FBLOCK_POP_VALUE, NO_LABEL);
  ------------------
  |  |   57|      0|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  591|      0|            }
  592|       |            /* The finally block should appear to execute after the
  593|       |             * statement causing the unwinding, so make the unwinding
  594|       |             * instruction artificial */
  595|      8|            *ploc = NO_LOCATION;
  596|      8|            return SUCCESS;
  ------------------
  |  |   47|      8|#define SUCCESS 0
  ------------------
  597|       |
  598|      0|        case COMPILE_FBLOCK_FINALLY_END:
  ------------------
  |  Branch (598:9): [True: 0, False: 6.32k]
  ------------------
  599|      0|            if (preserve_tos) {
  ------------------
  |  Branch (599:17): [True: 0, False: 0]
  ------------------
  600|      0|                ADDOP_I(c, *ploc, SWAP, 2);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  601|      0|            }
  602|      0|            ADDOP(c, *ploc, POP_TOP); /* exc_value */
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  603|      0|            if (preserve_tos) {
  ------------------
  |  Branch (603:17): [True: 0, False: 0]
  ------------------
  604|      0|                ADDOP_I(c, *ploc, SWAP, 2);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  605|      0|            }
  606|      0|            ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  607|      0|            ADDOP(c, *ploc, POP_EXCEPT);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      0|            return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
  609|       |
  610|    549|        case COMPILE_FBLOCK_WITH:
  ------------------
  |  Branch (610:9): [True: 549, False: 5.77k]
  ------------------
  611|  5.51k|        case COMPILE_FBLOCK_ASYNC_WITH:
  ------------------
  |  Branch (611:9): [True: 4.96k, False: 1.35k]
  ------------------
  612|  5.51k|            *ploc = info->fb_loc;
  613|  5.51k|            ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  294|  5.51k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  5.51k|    do {                    \
  |  |  |  |   52|  5.51k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5.51k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  5.51k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5.51k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  614|  5.51k|            if (preserve_tos) {
  ------------------
  |  Branch (614:17): [True: 946, False: 4.57k]
  ------------------
  615|    946|                ADDOP_I(c, *ploc, SWAP, 3);
  ------------------
  |  |  280|    946|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    946|    do {                    \
  |  |  |  |   52|    946|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 946]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    946|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 946]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  616|    946|                ADDOP_I(c, *ploc, SWAP, 2);
  ------------------
  |  |  280|    946|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    946|    do {                    \
  |  |  |  |   52|    946|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 946]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    946|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 946]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  617|    946|            }
  618|  5.51k|            RETURN_IF_ERROR(codegen_call_exit_with_nones(c, *ploc));
  ------------------
  |  |   51|  5.51k|    do {                    \
  |  |   52|  5.51k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 5.51k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  5.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 5.51k]
  |  |  ------------------
  ------------------
  619|  5.51k|            if (info->fb_type == COMPILE_FBLOCK_ASYNC_WITH) {
  ------------------
  |  Branch (619:17): [True: 4.96k, False: 549]
  ------------------
  620|  4.96k|                ADDOP_I(c, *ploc, GET_AWAITABLE, 2);
  ------------------
  |  |  280|  4.96k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.96k|    do {                    \
  |  |  |  |   52|  4.96k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.96k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.96k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  621|  4.96k|                ADD_YIELD_FROM(c, *ploc, 1);
  ------------------
  |  |  447|  4.96k|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|  4.96k|    do {                    \
  |  |  |  |   52|  4.96k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.96k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.96k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  622|  4.96k|            }
  623|  5.51k|            ADDOP(c, *ploc, POP_TOP);
  ------------------
  |  |  294|  5.51k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  5.51k|    do {                    \
  |  |  |  |   52|  5.51k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5.51k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  5.51k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5.51k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  624|       |            /* The exit block should appear to execute after the
  625|       |             * statement causing the unwinding, so make the unwinding
  626|       |             * instruction artificial */
  627|  5.51k|            *ploc = NO_LOCATION;
  628|  5.51k|            return SUCCESS;
  ------------------
  |  |   47|  5.51k|#define SUCCESS 0
  ------------------
  629|       |
  630|      3|        case COMPILE_FBLOCK_HANDLER_CLEANUP: {
  ------------------
  |  Branch (630:9): [True: 3, False: 6.32k]
  ------------------
  631|      3|            if (info->fb_datum) {
  ------------------
  |  Branch (631:17): [True: 0, False: 3]
  ------------------
  632|      0|                ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  633|      0|            }
  634|      3|            if (preserve_tos) {
  ------------------
  |  Branch (634:17): [True: 0, False: 3]
  ------------------
  635|      0|                ADDOP_I(c, *ploc, SWAP, 2);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  636|      0|            }
  637|      3|            ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  294|      3|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  638|      3|            ADDOP(c, *ploc, POP_EXCEPT);
  ------------------
  |  |  294|      3|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  639|      3|            if (info->fb_datum) {
  ------------------
  |  Branch (639:17): [True: 0, False: 3]
  ------------------
  640|      0|                ADDOP_LOAD_CONST(c, *ploc, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  641|      0|                RETURN_IF_ERROR(codegen_nameop(c, *ploc, info->fb_datum, Store));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  642|      0|                RETURN_IF_ERROR(codegen_nameop(c, *ploc, info->fb_datum, Del));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  643|      0|            }
  644|      3|            return SUCCESS;
  ------------------
  |  |   47|      3|#define SUCCESS 0
  ------------------
  645|      3|        }
  646|      0|        case COMPILE_FBLOCK_POP_VALUE: {
  ------------------
  |  Branch (646:9): [True: 0, False: 6.32k]
  ------------------
  647|      0|            if (preserve_tos) {
  ------------------
  |  Branch (647:17): [True: 0, False: 0]
  ------------------
  648|      0|                ADDOP_I(c, *ploc, SWAP, 2);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  649|      0|            }
  650|      0|            ADDOP(c, *ploc, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  651|      0|            return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
  652|      0|        }
  653|  6.32k|    }
  654|      0|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  655|  6.32k|}
codegen.c:codegen_call_exit_with_nones:
  491|  16.4k|{
  492|  16.4k|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  311|  16.4k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  16.4k|    do {                    \
  |  |  |  |   52|  16.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 16.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  16.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  493|  16.4k|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  311|  16.4k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  16.4k|    do {                    \
  |  |  |  |   52|  16.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 16.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  16.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  494|  16.4k|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  311|  16.4k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  16.4k|    do {                    \
  |  |  |  |   52|  16.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 16.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  16.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  495|  16.4k|    ADDOP_I(c, loc, CALL, 3);
  ------------------
  |  |  280|  16.4k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  16.4k|    do {                    \
  |  |  |  |   52|  16.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 16.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  16.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  496|  16.4k|    return SUCCESS;
  ------------------
  |  |   47|  16.4k|#define SUCCESS 0
  ------------------
  497|  16.4k|}
codegen.c:codegen_add_yield_from:
  501|  34.6k|{
  502|  34.6k|    NEW_JUMP_TARGET_LABEL(c, send);
  ------------------
  |  |   94|  34.6k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  34.6k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  34.6k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  34.6k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  34.6k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 34.6k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
  503|  34.6k|    NEW_JUMP_TARGET_LABEL(c, fail);
  ------------------
  |  |   94|  34.6k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  34.6k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  34.6k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  34.6k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  34.6k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 34.6k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
  504|  34.6k|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   94|  34.6k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  34.6k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  34.6k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  34.6k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  34.6k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 34.6k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
  505|       |
  506|  34.6k|    USE_LABEL(c, send);
  ------------------
  |  |  100|  34.6k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  34.6k|    do {                    \
  |  |  |  |   52|  34.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 34.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  34.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 34.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  507|  34.6k|    ADDOP_JUMP(c, loc, SEND, exit);
  ------------------
  |  |  435|  34.6k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  34.6k|    do {                    \
  |  |  |  |   52|  34.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 34.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  34.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 34.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  508|       |    // Set up a virtual try/except to handle when StopIteration is raised during
  509|       |    // a close or throw call. The only way YIELD_VALUE raises if they do!
  510|  34.6k|    ADDOP_JUMP(c, loc, SETUP_FINALLY, fail);
  ------------------
  |  |  435|  34.6k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  34.6k|    do {                    \
  |  |  |  |   52|  34.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 34.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  34.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 34.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  34.6k|    ADDOP_I(c, loc, YIELD_VALUE, 1);
  ------------------
  |  |  280|  34.6k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  34.6k|    do {                    \
  |  |  |  |   52|  34.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 34.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  34.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 34.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  512|  34.6k|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  294|  34.6k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  34.6k|    do {                    \
  |  |  |  |   52|  34.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 34.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  34.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 34.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  513|  34.6k|    ADDOP_I(c, loc, RESUME, await ? RESUME_AFTER_AWAIT : RESUME_AFTER_YIELD_FROM);
  ------------------
  |  |  280|  34.6k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  34.6k|    do {                    \
  |  |  |  |   52|  69.2k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 34.6k]
  |  |  |  |  |  Branch (52:14): [True: 34.5k, False: 95]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  34.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 34.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  514|  34.6k|    ADDOP_JUMP(c, loc, JUMP_NO_INTERRUPT, send);
  ------------------
  |  |  435|  34.6k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  34.6k|    do {                    \
  |  |  |  |   52|  34.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 34.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  34.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 34.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  515|       |
  516|  34.6k|    USE_LABEL(c, fail);
  ------------------
  |  |  100|  34.6k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  34.6k|    do {                    \
  |  |  |  |   52|  34.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 34.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  34.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 34.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  517|  34.6k|    ADDOP(c, loc, CLEANUP_THROW);
  ------------------
  |  |  294|  34.6k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  34.6k|    do {                    \
  |  |  |  |   52|  34.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 34.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  34.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 34.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|       |
  519|  34.6k|    USE_LABEL(c, exit);
  ------------------
  |  |  100|  34.6k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  34.6k|    do {                    \
  |  |  |  |   52|  34.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 34.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  34.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 34.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  520|  34.6k|    ADDOP(c, loc, END_SEND);
  ------------------
  |  |  294|  34.6k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  34.6k|    do {                    \
  |  |  |  |   52|  34.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 34.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  34.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 34.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  34.6k|    return SUCCESS;
  ------------------
  |  |   47|  34.6k|#define SUCCESS 0
  ------------------
  522|  34.6k|}
codegen.c:codegen_augassign:
 5654|  5.18k|{
 5655|  5.18k|    assert(s->kind == AugAssign_kind);
  ------------------
  |  Branch (5655:5): [True: 5.18k, False: 0]
  ------------------
 5656|  5.18k|    expr_ty e = s->v.AugAssign.target;
 5657|       |
 5658|  5.18k|    location loc = LOC(e);
  ------------------
  |  |   88|  5.18k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  5.18k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  5.18k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  5.18k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  5.18k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  5.18k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5659|       |
 5660|  5.18k|    switch (e->kind) {
 5661|  1.22k|    case Attribute_kind:
  ------------------
  |  Branch (5661:5): [True: 1.22k, False: 3.96k]
  ------------------
 5662|  1.22k|        VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  460|  1.22k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.22k|    do {                    \
  |  |  |  |   52|  1.22k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 1.22k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  1.22k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.22k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5663|  1.22k|        ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  280|  1.22k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.22k|    do {                    \
  |  |  |  |   52|  1.22k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.22k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.22k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.22k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5664|  1.22k|        loc = update_start_location_to_match_attr(c, loc, e);
 5665|  1.22k|        ADDOP_NAME(c, loc, LOAD_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  419|  1.22k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  1.22k|    do {                    \
  |  |  |  |   52|  1.22k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.22k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.22k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.22k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5666|  1.22k|        break;
 5667|  1.22k|    case Subscript_kind:
  ------------------
  |  Branch (5667:5): [True: 958, False: 4.22k]
  ------------------
 5668|    958|        VISIT(c, expr, e->v.Subscript.value);
  ------------------
  |  |  460|    958|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    958|    do {                    \
  |  |  |  |   52|    958|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 956]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|    958|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 956]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5669|    956|        if (should_apply_two_element_slice_optimization(e->v.Subscript.slice)) {
  ------------------
  |  Branch (5669:13): [True: 302, False: 654]
  ------------------
 5670|    302|            RETURN_IF_ERROR(codegen_slice_two_parts(c, e->v.Subscript.slice));
  ------------------
  |  |   51|    302|    do {                    \
  |  |   52|    302|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 302]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    302|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 302]
  |  |  ------------------
  ------------------
 5671|    302|            ADDOP_I(c, loc, COPY, 3);
  ------------------
  |  |  280|    302|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    302|    do {                    \
  |  |  |  |   52|    302|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 302]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    302|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 302]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5672|    302|            ADDOP_I(c, loc, COPY, 3);
  ------------------
  |  |  280|    302|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    302|    do {                    \
  |  |  |  |   52|    302|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 302]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    302|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 302]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5673|    302|            ADDOP_I(c, loc, COPY, 3);
  ------------------
  |  |  280|    302|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    302|    do {                    \
  |  |  |  |   52|    302|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 302]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    302|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 302]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5674|    302|            ADDOP(c, loc, BINARY_SLICE);
  ------------------
  |  |  294|    302|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    302|    do {                    \
  |  |  |  |   52|    302|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 302]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    302|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 302]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5675|    302|        }
 5676|    654|        else {
 5677|    654|            VISIT(c, expr, e->v.Subscript.slice);
  ------------------
  |  |  460|    654|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    654|    do {                    \
  |  |  |  |   52|    654|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 652]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|    654|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 652]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5678|    652|            ADDOP_I(c, loc, COPY, 2);
  ------------------
  |  |  280|    652|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    652|    do {                    \
  |  |  |  |   52|    652|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 652]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    652|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 652]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5679|    652|            ADDOP_I(c, loc, COPY, 2);
  ------------------
  |  |  280|    652|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    652|    do {                    \
  |  |  |  |   52|    652|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 652]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    652|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 652]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5680|    652|            ADDOP_I(c, loc, BINARY_OP, NB_SUBSCR);
  ------------------
  |  |  280|    652|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    652|    do {                    \
  |  |  |  |   52|    652|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 652]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    652|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 652]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5681|    652|        }
 5682|    954|        break;
 5683|  3.00k|    case Name_kind:
  ------------------
  |  Branch (5683:5): [True: 3.00k, False: 2.18k]
  ------------------
 5684|  3.00k|        RETURN_IF_ERROR(codegen_nameop(c, loc, e->v.Name.id, Load));
  ------------------
  |  |   51|  3.00k|    do {                    \
  |  |   52|  3.00k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3.00k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  3.00k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.00k]
  |  |  ------------------
  ------------------
 5685|  3.00k|        break;
 5686|  3.00k|    default:
  ------------------
  |  Branch (5686:5): [True: 0, False: 5.18k]
  ------------------
 5687|      0|        PyErr_Format(PyExc_SystemError,
 5688|      0|            "invalid node type (%d) for augmented assignment",
 5689|      0|            e->kind);
 5690|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5691|  5.18k|    }
 5692|       |
 5693|  5.18k|    loc = LOC(s);
  ------------------
  |  |   88|  5.18k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  5.18k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  5.18k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  5.18k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  5.18k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  5.18k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5694|       |
 5695|  5.18k|    VISIT(c, expr, s->v.AugAssign.value);
  ------------------
  |  |  460|  5.18k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  5.18k|    do {                    \
  |  |  |  |   52|  5.18k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 5, False: 5.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      5|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      5|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      5|        }                   \
  |  |  |  |   55|  5.18k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5696|  5.17k|    ADDOP_INPLACE(c, loc, s->v.AugAssign.op);
  ------------------
  |  |  444|  5.17k|    RETURN_IF_ERROR(addop_binary((C), (LOC), (BINOP), true))
  |  |  ------------------
  |  |  |  |   51|  5.17k|    do {                    \
  |  |  |  |   52|  5.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  5.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5697|       |
 5698|  5.17k|    loc = LOC(e);
  ------------------
  |  |   88|  5.17k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  5.17k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  5.17k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  5.17k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  5.17k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  5.17k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5699|       |
 5700|  5.17k|    switch (e->kind) {
 5701|  1.22k|    case Attribute_kind:
  ------------------
  |  Branch (5701:5): [True: 1.22k, False: 3.95k]
  ------------------
 5702|  1.22k|        loc = update_start_location_to_match_attr(c, loc, e);
 5703|  1.22k|        ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  280|  1.22k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.22k|    do {                    \
  |  |  |  |   52|  1.22k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.22k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.22k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.22k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5704|  1.22k|        ADDOP_NAME(c, loc, STORE_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  419|  1.22k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  1.22k|    do {                    \
  |  |  |  |   52|  1.22k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.22k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.22k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.22k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5705|  1.22k|        break;
 5706|  1.22k|    case Subscript_kind:
  ------------------
  |  Branch (5706:5): [True: 953, False: 4.22k]
  ------------------
 5707|    953|        if (should_apply_two_element_slice_optimization(e->v.Subscript.slice)) {
  ------------------
  |  Branch (5707:13): [True: 302, False: 651]
  ------------------
 5708|    302|            ADDOP_I(c, loc, SWAP, 4);
  ------------------
  |  |  280|    302|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    302|    do {                    \
  |  |  |  |   52|    302|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 302]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    302|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 302]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5709|    302|            ADDOP_I(c, loc, SWAP, 3);
  ------------------
  |  |  280|    302|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    302|    do {                    \
  |  |  |  |   52|    302|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 302]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    302|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 302]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5710|    302|            ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  280|    302|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    302|    do {                    \
  |  |  |  |   52|    302|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 302]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    302|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 302]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5711|    302|            ADDOP(c, loc, STORE_SLICE);
  ------------------
  |  |  294|    302|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    302|    do {                    \
  |  |  |  |   52|    302|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 302]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    302|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 302]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5712|    302|        }
 5713|    651|        else {
 5714|    651|            ADDOP_I(c, loc, SWAP, 3);
  ------------------
  |  |  280|    651|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    651|    do {                    \
  |  |  |  |   52|    651|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 651]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    651|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 651]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5715|    651|            ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  280|    651|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    651|    do {                    \
  |  |  |  |   52|    651|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 651]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    651|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 651]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5716|    651|            ADDOP(c, loc, STORE_SUBSCR);
  ------------------
  |  |  294|    651|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    651|    do {                    \
  |  |  |  |   52|    651|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 651]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    651|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 651]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5717|    651|        }
 5718|    953|        break;
 5719|  2.99k|    case Name_kind:
  ------------------
  |  Branch (5719:5): [True: 2.99k, False: 2.17k]
  ------------------
 5720|  2.99k|        return codegen_nameop(c, loc, e->v.Name.id, Store);
 5721|      0|    default:
  ------------------
  |  Branch (5721:5): [True: 0, False: 5.17k]
  ------------------
 5722|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5723|  5.17k|    }
 5724|  2.17k|    return SUCCESS;
  ------------------
  |  |   47|  2.17k|#define SUCCESS 0
  ------------------
 5725|  5.17k|}
codegen.c:update_start_location_to_match_attr:
 3985|  22.1k|{
 3986|  22.1k|    assert(attr->kind == Attribute_kind);
  ------------------
  |  Branch (3986:5): [True: 22.1k, False: 0]
  ------------------
 3987|  22.1k|    if (loc.lineno != attr->end_lineno) {
  ------------------
  |  Branch (3987:9): [True: 1.74k, False: 20.4k]
  ------------------
 3988|  1.74k|        loc.lineno = attr->end_lineno;
 3989|  1.74k|        int len = (int)PyUnicode_GET_LENGTH(attr->v.Attribute.attr);
  ------------------
  |  |  300|  1.74k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3990|  1.74k|        if (len <= attr->end_col_offset) {
  ------------------
  |  Branch (3990:13): [True: 1.74k, False: 0]
  ------------------
 3991|  1.74k|            loc.col_offset = attr->end_col_offset - len;
 3992|  1.74k|        }
 3993|      0|        else {
 3994|       |            // GH-94694: Somebody's compiling weird ASTs. Just drop the columns:
 3995|      0|            loc.col_offset = -1;
 3996|      0|            loc.end_col_offset = -1;
 3997|      0|        }
 3998|       |        // Make sure the end position still follows the start position, even for
 3999|       |        // weird ASTs:
 4000|  1.74k|        loc.end_lineno = Py_MAX(loc.lineno, loc.end_lineno);
  ------------------
  |  |  133|  1.74k|       __extension__ \
  |  |  134|  1.74k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  1.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  1.74k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  1.74k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  1.74k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 1.74k]
  |  |  ------------------
  ------------------
 4001|  1.74k|        if (loc.lineno == loc.end_lineno) {
  ------------------
  |  Branch (4001:13): [True: 1.30k, False: 446]
  ------------------
 4002|  1.30k|            loc.end_col_offset = Py_MAX(loc.col_offset, loc.end_col_offset);
  ------------------
  |  |  133|  1.30k|       __extension__ \
  |  |  134|  1.30k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  1.30k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  1.30k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  1.30k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  1.30k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 0, False: 1.30k]
  |  |  ------------------
  ------------------
 4003|  1.30k|        }
 4004|  1.74k|    }
 4005|  22.1k|    return loc;
 4006|  22.1k|}
codegen.c:codegen_addop_name:
  387|  84.0k|{
  388|  84.0k|    int shift = 0, low = 0;
  389|  84.0k|    if (opcode == LOAD_ATTR) {
  ------------------
  |  |   89|  84.0k|#define LOAD_ATTR                               76
  ------------------
  |  Branch (389:9): [True: 13.4k, False: 70.6k]
  ------------------
  390|  13.4k|        shift = 1;
  391|  13.4k|    }
  392|  84.0k|    if (opcode == LOAD_METHOD) {
  ------------------
  |  |  362|  84.0k|#define LOAD_METHOD -1
  ------------------
  |  Branch (392:9): [True: 1.87k, False: 82.1k]
  ------------------
  393|  1.87k|        opcode = LOAD_ATTR;
  ------------------
  |  |   89|  1.87k|#define LOAD_ATTR                               76
  ------------------
  394|  1.87k|        shift = 1;
  395|  1.87k|        low = 1;
  396|  1.87k|    }
  397|  84.0k|    if (opcode == LOAD_SUPER_ATTR) {
  ------------------
  |  |  105|  84.0k|#define LOAD_SUPER_ATTR                         92
  ------------------
  |  Branch (397:9): [True: 250, False: 83.7k]
  ------------------
  398|    250|        shift = 2;
  399|    250|        low = 2;
  400|    250|    }
  401|  84.0k|    if (opcode == LOAD_SUPER_METHOD) {
  ------------------
  |  |  363|  84.0k|#define LOAD_SUPER_METHOD -2
  ------------------
  |  Branch (401:9): [True: 25, False: 84.0k]
  ------------------
  402|     25|        opcode = LOAD_SUPER_ATTR;
  ------------------
  |  |  105|     25|#define LOAD_SUPER_ATTR                         92
  ------------------
  403|     25|        shift = 2;
  404|     25|        low = 3;
  405|     25|    }
  406|  84.0k|    if (opcode == LOAD_ZERO_SUPER_ATTR) {
  ------------------
  |  |  364|  84.0k|#define LOAD_ZERO_SUPER_ATTR -3
  ------------------
  |  Branch (406:9): [True: 55, False: 83.9k]
  ------------------
  407|     55|        opcode = LOAD_SUPER_ATTR;
  ------------------
  |  |  105|     55|#define LOAD_SUPER_ATTR                         92
  ------------------
  408|     55|        shift = 2;
  409|     55|    }
  410|  84.0k|    if (opcode == LOAD_ZERO_SUPER_METHOD) {
  ------------------
  |  |  365|  84.0k|#define LOAD_ZERO_SUPER_METHOD -4
  ------------------
  |  Branch (410:9): [True: 71, False: 83.9k]
  ------------------
  411|     71|        opcode = LOAD_SUPER_ATTR;
  ------------------
  |  |  105|     71|#define LOAD_SUPER_ATTR                         92
  ------------------
  412|     71|        shift = 2;
  413|     71|        low = 1;
  414|     71|    }
  415|  84.0k|    return codegen_addop_name_custom(c, loc, opcode, dict, o, shift, low);
  416|  84.0k|}
codegen.c:codegen_addop_name_custom:
  370|  93.8k|{
  371|  93.8k|    PyObject *mangled = _PyCompile_MaybeMangle(c, o);
  372|  93.8k|    if (!mangled) {
  ------------------
  |  Branch (372:9): [True: 0, False: 93.8k]
  ------------------
  373|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  374|      0|    }
  375|  93.8k|    Py_ssize_t arg = _PyCompile_DictAddObj(dict, mangled);
  376|  93.8k|    Py_DECREF(mangled);
  ------------------
  |  |  430|  93.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  93.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  93.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  377|  93.8k|    if (arg < 0) {
  ------------------
  |  Branch (377:9): [True: 0, False: 93.8k]
  ------------------
  378|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  379|      0|    }
  380|  93.8k|    ADDOP_I(c, loc, opcode, (arg << shift) | low);
  ------------------
  |  |  280|  93.8k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  93.8k|    do {                    \
  |  |  |  |   52|  93.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 93.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  93.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 93.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  381|  93.8k|    return SUCCESS;
  ------------------
  |  |   47|  93.8k|#define SUCCESS 0
  ------------------
  382|  93.8k|}
codegen.c:should_apply_two_element_slice_optimization:
 5646|  26.1k|{
 5647|  26.1k|    return !is_constant_slice(s) &&
  ------------------
  |  Branch (5647:12): [True: 16.7k, False: 9.37k]
  ------------------
 5648|  16.7k|           s->kind == Slice_kind &&
  ------------------
  |  Branch (5648:12): [True: 2.46k, False: 14.2k]
  ------------------
 5649|  2.46k|           s->v.Slice.step == NULL;
  ------------------
  |  Branch (5649:12): [True: 2.00k, False: 457]
  ------------------
 5650|  26.1k|}
codegen.c:is_constant_slice:
 5634|  38.9k|{
 5635|  38.9k|    return s->kind == Slice_kind &&
  ------------------
  |  Branch (5635:12): [True: 24.6k, False: 14.2k]
  ------------------
 5636|  24.6k|        (s->v.Slice.lower == NULL ||
  ------------------
  |  Branch (5636:10): [True: 14.5k, False: 10.1k]
  ------------------
 5637|  10.1k|         s->v.Slice.lower->kind == Constant_kind) &&
  ------------------
  |  Branch (5637:10): [True: 7.61k, False: 2.51k]
  ------------------
 5638|  22.1k|        (s->v.Slice.upper == NULL ||
  ------------------
  |  Branch (5638:10): [True: 9.70k, False: 12.4k]
  ------------------
 5639|  12.4k|         s->v.Slice.upper->kind == Constant_kind) &&
  ------------------
  |  Branch (5639:10): [True: 11.0k, False: 1.34k]
  ------------------
 5640|  20.7k|        (s->v.Slice.step == NULL ||
  ------------------
  |  Branch (5640:10): [True: 11.7k, False: 9.03k]
  ------------------
 5641|  9.03k|         s->v.Slice.step->kind == Constant_kind);
  ------------------
  |  Branch (5641:10): [True: 8.28k, False: 747]
  ------------------
 5642|  38.9k|}
codegen.c:codegen_slice_two_parts:
 5878|  3.84k|{
 5879|  3.84k|    if (s->v.Slice.lower) {
  ------------------
  |  Branch (5879:9): [True: 2.63k, False: 1.21k]
  ------------------
 5880|  2.63k|        VISIT(c, expr, s->v.Slice.lower);
  ------------------
  |  |  460|  2.63k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.63k|    do {                    \
  |  |  |  |   52|  2.63k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 11, False: 2.62k]
  |  |  |  |  ------------------
  |  |  |  |   53|     11|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     11|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     11|        }                   \
  |  |  |  |   55|  2.63k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.62k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5881|  2.63k|    }
 5882|  1.21k|    else {
 5883|  1.21k|        ADDOP_LOAD_CONST(c, LOC(s), Py_None);
  ------------------
  |  |  311|  1.21k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.21k|    do {                    \
  |  |  |  |   52|  1.21k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.21k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.21k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.21k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5884|  1.21k|    }
 5885|       |
 5886|  3.83k|    if (s->v.Slice.upper) {
  ------------------
  |  Branch (5886:9): [True: 2.25k, False: 1.58k]
  ------------------
 5887|  2.25k|        VISIT(c, expr, s->v.Slice.upper);
  ------------------
  |  |  460|  2.25k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.25k|    do {                    \
  |  |  |  |   52|  2.25k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 11, False: 2.24k]
  |  |  |  |  ------------------
  |  |  |  |   53|     11|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     11|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     11|        }                   \
  |  |  |  |   55|  2.25k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5888|  2.25k|    }
 5889|  1.58k|    else {
 5890|  1.58k|        ADDOP_LOAD_CONST(c, LOC(s), Py_None);
  ------------------
  |  |  311|  1.58k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.58k|    do {                    \
  |  |  |  |   52|  1.58k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.58k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.58k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5891|  1.58k|    }
 5892|       |
 5893|  3.82k|    return 0;
 5894|  3.83k|}
codegen.c:addop_binary:
 3243|   659k|{
 3244|   659k|    int oparg;
 3245|   659k|    switch (binop) {
 3246|   119k|        case Add:
  ------------------
  |  Branch (3246:9): [True: 119k, False: 539k]
  ------------------
 3247|   119k|            oparg = inplace ? NB_INPLACE_ADD : NB_ADD;
  ------------------
  |  |   23|  1.38k|#define NB_INPLACE_ADD                          13
  ------------------
                          oparg = inplace ? NB_INPLACE_ADD : NB_ADD;
  ------------------
  |  |   10|   236k|#define NB_ADD                                   0
  ------------------
  |  Branch (3247:21): [True: 1.38k, False: 117k]
  ------------------
 3248|   119k|            break;
 3249|   126k|        case Sub:
  ------------------
  |  Branch (3249:9): [True: 126k, False: 532k]
  ------------------
 3250|   126k|            oparg = inplace ? NB_INPLACE_SUBTRACT : NB_SUBTRACT;
  ------------------
  |  |   33|      5|#define NB_INPLACE_SUBTRACT                     23
  ------------------
                          oparg = inplace ? NB_INPLACE_SUBTRACT : NB_SUBTRACT;
  ------------------
  |  |   20|   252k|#define NB_SUBTRACT                             10
  ------------------
  |  Branch (3250:21): [True: 5, False: 126k]
  ------------------
 3251|   126k|            break;
 3252|   148k|        case Mult:
  ------------------
  |  Branch (3252:9): [True: 148k, False: 510k]
  ------------------
 3253|   148k|            oparg = inplace ? NB_INPLACE_MULTIPLY : NB_MULTIPLY;
  ------------------
  |  |   28|  1.78k|#define NB_INPLACE_MULTIPLY                     18
  ------------------
                          oparg = inplace ? NB_INPLACE_MULTIPLY : NB_MULTIPLY;
  ------------------
  |  |   15|   295k|#define NB_MULTIPLY                              5
  ------------------
  |  Branch (3253:21): [True: 1.78k, False: 147k]
  ------------------
 3254|   148k|            break;
 3255|  1.84k|        case MatMult:
  ------------------
  |  Branch (3255:9): [True: 1.84k, False: 657k]
  ------------------
 3256|  1.84k|            oparg = inplace ? NB_INPLACE_MATRIX_MULTIPLY : NB_MATRIX_MULTIPLY;
  ------------------
  |  |   27|     59|#define NB_INPLACE_MATRIX_MULTIPLY              17
  ------------------
                          oparg = inplace ? NB_INPLACE_MATRIX_MULTIPLY : NB_MATRIX_MULTIPLY;
  ------------------
  |  |   14|  3.63k|#define NB_MATRIX_MULTIPLY                       4
  ------------------
  |  Branch (3256:21): [True: 59, False: 1.78k]
  ------------------
 3257|  1.84k|            break;
 3258|  68.8k|        case Div:
  ------------------
  |  Branch (3258:9): [True: 68.8k, False: 590k]
  ------------------
 3259|  68.8k|            oparg = inplace ? NB_INPLACE_TRUE_DIVIDE : NB_TRUE_DIVIDE;
  ------------------
  |  |   34|    310|#define NB_INPLACE_TRUE_DIVIDE                  24
  ------------------
                          oparg = inplace ? NB_INPLACE_TRUE_DIVIDE : NB_TRUE_DIVIDE;
  ------------------
  |  |   21|   137k|#define NB_TRUE_DIVIDE                          11
  ------------------
  |  Branch (3259:21): [True: 310, False: 68.5k]
  ------------------
 3260|  68.8k|            break;
 3261|  26.1k|        case Mod:
  ------------------
  |  Branch (3261:9): [True: 26.1k, False: 632k]
  ------------------
 3262|  26.1k|            oparg = inplace ? NB_INPLACE_REMAINDER : NB_REMAINDER;
  ------------------
  |  |   29|    112|#define NB_INPLACE_REMAINDER                    19
  ------------------
                          oparg = inplace ? NB_INPLACE_REMAINDER : NB_REMAINDER;
  ------------------
  |  |   16|  52.1k|#define NB_REMAINDER                             6
  ------------------
  |  Branch (3262:21): [True: 112, False: 26.0k]
  ------------------
 3263|  26.1k|            break;
 3264|  79.0k|        case Pow:
  ------------------
  |  Branch (3264:9): [True: 79.0k, False: 579k]
  ------------------
 3265|  79.0k|            oparg = inplace ? NB_INPLACE_POWER : NB_POWER;
  ------------------
  |  |   31|      2|#define NB_INPLACE_POWER                        21
  ------------------
                          oparg = inplace ? NB_INPLACE_POWER : NB_POWER;
  ------------------
  |  |   18|   158k|#define NB_POWER                                 8
  ------------------
  |  Branch (3265:21): [True: 2, False: 79.0k]
  ------------------
 3266|  79.0k|            break;
 3267|  4.80k|        case LShift:
  ------------------
  |  Branch (3267:9): [True: 4.80k, False: 654k]
  ------------------
 3268|  4.80k|            oparg = inplace ? NB_INPLACE_LSHIFT : NB_LSHIFT;
  ------------------
  |  |   26|    100|#define NB_INPLACE_LSHIFT                       16
  ------------------
                          oparg = inplace ? NB_INPLACE_LSHIFT : NB_LSHIFT;
  ------------------
  |  |   13|  9.50k|#define NB_LSHIFT                                3
  ------------------
  |  Branch (3268:21): [True: 100, False: 4.70k]
  ------------------
 3269|  4.80k|            break;
 3270|  15.3k|        case RShift:
  ------------------
  |  Branch (3270:9): [True: 15.3k, False: 643k]
  ------------------
 3271|  15.3k|            oparg = inplace ? NB_INPLACE_RSHIFT : NB_RSHIFT;
  ------------------
  |  |   32|      9|#define NB_INPLACE_RSHIFT                       22
  ------------------
                          oparg = inplace ? NB_INPLACE_RSHIFT : NB_RSHIFT;
  ------------------
  |  |   19|  30.6k|#define NB_RSHIFT                                9
  ------------------
  |  Branch (3271:21): [True: 9, False: 15.3k]
  ------------------
 3272|  15.3k|            break;
 3273|  6.59k|        case BitOr:
  ------------------
  |  Branch (3273:9): [True: 6.59k, False: 652k]
  ------------------
 3274|  6.59k|            oparg = inplace ? NB_INPLACE_OR : NB_OR;
  ------------------
  |  |   30|      9|#define NB_INPLACE_OR                           20
  ------------------
                          oparg = inplace ? NB_INPLACE_OR : NB_OR;
  ------------------
  |  |   17|  13.1k|#define NB_OR                                    7
  ------------------
  |  Branch (3274:21): [True: 9, False: 6.58k]
  ------------------
 3275|  6.59k|            break;
 3276|  21.9k|        case BitXor:
  ------------------
  |  Branch (3276:9): [True: 21.9k, False: 637k]
  ------------------
 3277|  21.9k|            oparg = inplace ? NB_INPLACE_XOR : NB_XOR;
  ------------------
  |  |   35|    878|#define NB_INPLACE_XOR                          25
  ------------------
                          oparg = inplace ? NB_INPLACE_XOR : NB_XOR;
  ------------------
  |  |   22|  43.0k|#define NB_XOR                                  12
  ------------------
  |  Branch (3277:21): [True: 878, False: 21.0k]
  ------------------
 3278|  21.9k|            break;
 3279|  16.1k|        case BitAnd:
  ------------------
  |  Branch (3279:9): [True: 16.1k, False: 642k]
  ------------------
 3280|  16.1k|            oparg = inplace ? NB_INPLACE_AND : NB_AND;
  ------------------
  |  |   24|    424|#define NB_INPLACE_AND                          14
  ------------------
                          oparg = inplace ? NB_INPLACE_AND : NB_AND;
  ------------------
  |  |   11|  31.7k|#define NB_AND                                   1
  ------------------
  |  Branch (3280:21): [True: 424, False: 15.6k]
  ------------------
 3281|  16.1k|            break;
 3282|  24.0k|        case FloorDiv:
  ------------------
  |  Branch (3282:9): [True: 24.0k, False: 635k]
  ------------------
 3283|  24.0k|            oparg = inplace ? NB_INPLACE_FLOOR_DIVIDE : NB_FLOOR_DIVIDE;
  ------------------
  |  |   25|    105|#define NB_INPLACE_FLOOR_DIVIDE                 15
  ------------------
                          oparg = inplace ? NB_INPLACE_FLOOR_DIVIDE : NB_FLOOR_DIVIDE;
  ------------------
  |  |   12|  47.9k|#define NB_FLOOR_DIVIDE                          2
  ------------------
  |  Branch (3283:21): [True: 105, False: 23.9k]
  ------------------
 3284|  24.0k|            break;
 3285|      0|        default:
  ------------------
  |  Branch (3285:9): [True: 0, False: 659k]
  ------------------
 3286|      0|            PyErr_Format(PyExc_SystemError, "%s op %d should not be possible",
 3287|      0|                         inplace ? "inplace" : "binary", binop);
  ------------------
  |  Branch (3287:26): [True: 0, False: 0]
  ------------------
 3288|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3289|   659k|    }
 3290|   659k|    ADDOP_I(c, loc, BINARY_OP, oparg);
  ------------------
  |  |  280|   659k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|   659k|    do {                    \
  |  |  |  |   52|   659k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 659k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|   659k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 659k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3291|   659k|    return SUCCESS;
  ------------------
  |  |   47|   659k|#define SUCCESS 0
  ------------------
 3292|   659k|}
codegen.c:codegen_annassign:
 5767|  25.3k|{
 5768|  25.3k|    location loc = LOC(s);
  ------------------
  |  |   88|  25.3k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  25.3k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  25.3k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  25.3k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  25.3k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  25.3k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5769|  25.3k|    expr_ty targ = s->v.AnnAssign.target;
 5770|  25.3k|    bool future_annotations = FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS;
  ------------------
  |  |   69|  25.3k|#define FUTURE_FEATURES(C) _PyCompile_FutureFeatures(C)
  ------------------
                  bool future_annotations = FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS;
  ------------------
  |  |  147|  25.3k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
 5771|  25.3k|    PyObject *mangled;
 5772|       |
 5773|  25.3k|    assert(s->kind == AnnAssign_kind);
  ------------------
  |  Branch (5773:5): [True: 25.3k, False: 0]
  ------------------
 5774|       |
 5775|       |    /* We perform the actual assignment first. */
 5776|  25.3k|    if (s->v.AnnAssign.value) {
  ------------------
  |  Branch (5776:9): [True: 1.73k, False: 23.6k]
  ------------------
 5777|  1.73k|        VISIT(c, expr, s->v.AnnAssign.value);
  ------------------
  |  |  460|  1.73k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.73k|    do {                    \
  |  |  |  |   52|  1.73k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 1.73k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  1.73k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5778|  1.73k|        VISIT(c, expr, targ);
  ------------------
  |  |  460|  1.73k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.73k|    do {                    \
  |  |  |  |   52|  1.73k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 1.73k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  1.73k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5779|  1.73k|    }
 5780|  25.3k|    switch (targ->kind) {
 5781|  24.2k|    case Name_kind:
  ------------------
  |  Branch (5781:5): [True: 24.2k, False: 1.13k]
  ------------------
 5782|       |        /* If we have a simple name in a module or class, store annotation. */
 5783|  24.2k|        if (s->v.AnnAssign.simple &&
  ------------------
  |  Branch (5783:13): [True: 23.8k, False: 429]
  ------------------
 5784|  23.8k|            (SCOPE_TYPE(c) == COMPILE_SCOPE_MODULE ||
  ------------------
  |  |   74|  23.8k|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (5784:14): [True: 11.6k, False: 12.2k]
  ------------------
 5785|  22.0k|             SCOPE_TYPE(c) == COMPILE_SCOPE_CLASS)) {
  ------------------
  |  |   74|  12.2k|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (5785:14): [True: 10.4k, False: 1.72k]
  ------------------
 5786|  22.0k|            if (future_annotations) {
  ------------------
  |  Branch (5786:17): [True: 4.55k, False: 17.5k]
  ------------------
 5787|  4.55k|                VISIT(c, annexpr, s->v.AnnAssign.annotation);
  ------------------
  |  |  460|  4.55k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  4.55k|    do {                    \
  |  |  |  |   52|  4.55k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.55k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.55k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.55k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5788|  4.55k|                ADDOP_NAME(c, loc, LOAD_NAME, &_Py_ID(__annotations__), names);
  ------------------
  |  |  419|  4.55k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  4.55k|    do {                    \
  |  |  |  |   52|  4.55k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.55k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.55k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.55k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5789|  4.55k|                mangled = _PyCompile_MaybeMangle(c, targ->v.Name.id);
 5790|  4.55k|                ADDOP_LOAD_CONST_NEW(c, loc, mangled);
  ------------------
  |  |  329|  4.55k|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  4.55k|    do {                    \
  |  |  |  |   52|  4.55k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.55k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.55k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.55k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5791|  4.55k|                ADDOP(c, loc, STORE_SUBSCR);
  ------------------
  |  |  294|  4.55k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.55k|    do {                    \
  |  |  |  |   52|  4.55k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.55k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.55k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.55k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5792|  4.55k|            }
 5793|  17.5k|            else {
 5794|  17.5k|                PyObject *conditional_annotation_index = NULL;
 5795|  17.5k|                RETURN_IF_ERROR(_PyCompile_AddDeferredAnnotation(
  ------------------
  |  |   51|  17.5k|    do {                    \
  |  |   52|  17.5k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 17.5k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  17.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 17.5k]
  |  |  ------------------
  ------------------
 5796|  17.5k|                    c, s, &conditional_annotation_index));
 5797|  17.5k|                if (conditional_annotation_index != NULL) {
  ------------------
  |  Branch (5797:21): [True: 9.00k, False: 8.52k]
  ------------------
 5798|  9.00k|                    if (SCOPE_TYPE(c) == COMPILE_SCOPE_CLASS) {
  ------------------
  |  |   74|  9.00k|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (5798:25): [True: 581, False: 8.42k]
  ------------------
 5799|    581|                        ADDOP_NAME(c, loc, LOAD_DEREF, &_Py_ID(__conditional_annotations__), cellvars);
  ------------------
  |  |  419|    581|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|    581|    do {                    \
  |  |  |  |   52|    581|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 581]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    581|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 581]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5800|    581|                    }
 5801|  8.42k|                    else {
 5802|  8.42k|                        ADDOP_NAME(c, loc, LOAD_NAME, &_Py_ID(__conditional_annotations__), names);
  ------------------
  |  |  419|  8.42k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  8.42k|    do {                    \
  |  |  |  |   52|  8.42k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8.42k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  8.42k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.42k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5803|  8.42k|                    }
 5804|  9.00k|                    ADDOP_LOAD_CONST_NEW(c, loc, conditional_annotation_index);
  ------------------
  |  |  329|  9.00k|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  9.00k|    do {                    \
  |  |  |  |   52|  9.00k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.00k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.00k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5805|       |                    // gh-154902: change SET_ADD to new INTRINSIC_ADD_CONDITIONAL_ANNOTATION intrinsic
 5806|  9.00k|                    ADDOP_I(c, loc, CALL_INTRINSIC_2,
  ------------------
  |  |  280|  9.00k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.00k|    do {                    \
  |  |  |  |   52|  9.00k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.00k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.00k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5807|  9.00k|                            INTRINSIC_ADD_CONDITIONAL_ANNOTATION);
 5808|  9.00k|                    ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  294|  9.00k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.00k|    do {                    \
  |  |  |  |   52|  9.00k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.00k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.00k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5809|  9.00k|                }
 5810|  17.5k|            }
 5811|  22.0k|        }
 5812|  24.2k|        break;
 5813|  24.2k|    case Attribute_kind:
  ------------------
  |  Branch (5813:5): [True: 539, False: 24.8k]
  ------------------
 5814|    539|        if (!s->v.AnnAssign.value &&
  ------------------
  |  Branch (5814:13): [True: 447, False: 92]
  ------------------
 5815|    447|            codegen_check_ann_expr(c, targ->v.Attribute.value) < 0) {
  ------------------
  |  Branch (5815:13): [True: 3, False: 444]
  ------------------
 5816|      3|            return ERROR;
  ------------------
  |  |   48|      3|#define ERROR -1
  ------------------
 5817|      3|        }
 5818|    536|        break;
 5819|    596|    case Subscript_kind:
  ------------------
  |  Branch (5819:5): [True: 596, False: 24.7k]
  ------------------
 5820|    596|        if (!s->v.AnnAssign.value &&
  ------------------
  |  Branch (5820:13): [True: 555, False: 41]
  ------------------
 5821|    555|            (codegen_check_ann_expr(c, targ->v.Subscript.value) < 0 ||
  ------------------
  |  Branch (5821:14): [True: 1, False: 554]
  ------------------
 5822|    554|             codegen_check_ann_subscr(c, targ->v.Subscript.slice) < 0)) {
  ------------------
  |  Branch (5822:14): [True: 8, False: 546]
  ------------------
 5823|      9|                return ERROR;
  ------------------
  |  |   48|      9|#define ERROR -1
  ------------------
 5824|      9|        }
 5825|    587|        break;
 5826|    587|    default:
  ------------------
  |  Branch (5826:5): [True: 0, False: 25.3k]
  ------------------
 5827|      0|        PyErr_Format(PyExc_SystemError,
 5828|      0|                     "invalid node type (%d) for annotated assignment",
 5829|      0|                     targ->kind);
 5830|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5831|  25.3k|    }
 5832|  25.3k|    return SUCCESS;
  ------------------
  |  |   47|  25.3k|#define SUCCESS 0
  ------------------
 5833|  25.3k|}
codegen.c:codegen_check_ann_expr:
 5729|  3.38k|{
 5730|  3.38k|    VISIT(c, expr, e);
  ------------------
  |  |  460|  3.38k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  3.38k|    do {                    \
  |  |  |  |   52|  3.38k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 12, False: 3.37k]
  |  |  |  |  ------------------
  |  |  |  |   53|     12|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     12|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     12|        }                   \
  |  |  |  |   55|  3.38k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5731|  3.37k|    ADDOP(c, LOC(e), POP_TOP);
  ------------------
  |  |  294|  3.37k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.37k|    do {                    \
  |  |  |  |   52|  3.37k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.37k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.37k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5732|  3.37k|    return SUCCESS;
  ------------------
  |  |   47|  3.37k|#define SUCCESS 0
  ------------------
 5733|  3.37k|}
codegen.c:codegen_check_ann_subscr:
 5737|  2.97k|{
 5738|       |    /* We check that everything in a subscript is defined at runtime. */
 5739|  2.97k|    switch (e->kind) {
 5740|    782|    case Slice_kind:
  ------------------
  |  Branch (5740:5): [True: 782, False: 2.18k]
  ------------------
 5741|    782|        if (e->v.Slice.lower && codegen_check_ann_expr(c, e->v.Slice.lower) < 0) {
  ------------------
  |  Branch (5741:13): [True: 237, False: 545]
  |  Branch (5741:33): [True: 1, False: 236]
  ------------------
 5742|      1|            return ERROR;
  ------------------
  |  |   48|      1|#define ERROR -1
  ------------------
 5743|      1|        }
 5744|    781|        if (e->v.Slice.upper && codegen_check_ann_expr(c, e->v.Slice.upper) < 0) {
  ------------------
  |  Branch (5744:13): [True: 456, False: 325]
  |  Branch (5744:33): [True: 1, False: 455]
  ------------------
 5745|      1|            return ERROR;
  ------------------
  |  |   48|      1|#define ERROR -1
  ------------------
 5746|      1|        }
 5747|    780|        if (e->v.Slice.step && codegen_check_ann_expr(c, e->v.Slice.step) < 0) {
  ------------------
  |  Branch (5747:13): [True: 139, False: 641]
  |  Branch (5747:32): [True: 1, False: 138]
  ------------------
 5748|      1|            return ERROR;
  ------------------
  |  |   48|      1|#define ERROR -1
  ------------------
 5749|      1|        }
 5750|    779|        return SUCCESS;
  ------------------
  |  |   47|    779|#define SUCCESS 0
  ------------------
 5751|    637|    case Tuple_kind: {
  ------------------
  |  Branch (5751:5): [True: 637, False: 2.33k]
  ------------------
 5752|       |        /* extended slice */
 5753|    637|        asdl_expr_seq *elts = e->v.Tuple.elts;
 5754|    637|        Py_ssize_t i, n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|    637|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  1.27k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 157, False: 480]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5755|  3.04k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5755:21): [True: 2.41k, False: 631]
  ------------------
 5756|  2.41k|            RETURN_IF_ERROR(codegen_check_ann_subscr(c, asdl_seq_GET(elts, i)));
  ------------------
  |  |   51|  2.41k|    do {                    \
  |  |   52|  2.41k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 6, False: 2.41k]
  |  |  ------------------
  |  |   53|      6|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      6|#define ERROR -1
  |  |  ------------------
  |  |   54|      6|        }                   \
  |  |   55|  2.41k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.41k]
  |  |  ------------------
  ------------------
 5757|  2.41k|        }
 5758|    631|        return SUCCESS;
  ------------------
  |  |   47|    631|#define SUCCESS 0
  ------------------
 5759|    637|    }
 5760|  1.55k|    default:
  ------------------
  |  Branch (5760:5): [True: 1.55k, False: 1.41k]
  ------------------
 5761|  1.55k|        return codegen_check_ann_expr(c, e);
 5762|  2.97k|    }
 5763|  2.97k|}
codegen.c:codegen_for:
 2163|    251|{
 2164|    251|    location loc = LOC(s);
  ------------------
  |  |   88|    251|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    251|    (_Py_SourceLocation){ \
  |  |  |  |   59|    251|               .lineno = (n)->lineno, \
  |  |  |  |   60|    251|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    251|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    251|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2165|    251|    NEW_JUMP_TARGET_LABEL(c, start);
  ------------------
  |  |   94|    251|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    251|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    251|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    251|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    251|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 251]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2166|    251|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   94|    251|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    251|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    251|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    251|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    251|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 251]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2167|    251|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   94|    251|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    251|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    251|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    251|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    251|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 251]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2168|    251|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|    251|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    251|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    251|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    251|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    251|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 251]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2169|       |
 2170|    251|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_FOR_LOOP, start, end, NULL));
  ------------------
  |  |   51|    251|    do {                    \
  |  |   52|    251|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 251]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    251|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 251]
  |  |  ------------------
  ------------------
 2171|       |
 2172|    251|    VISIT(c, expr, s->v.For.iter);
  ------------------
  |  |  460|    251|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    251|    do {                    \
  |  |  |  |   52|    251|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 251]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    251|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 251]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2173|       |
 2174|    251|    loc = LOC(s->v.For.iter);
  ------------------
  |  |   88|    251|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    251|    (_Py_SourceLocation){ \
  |  |  |  |   59|    251|               .lineno = (n)->lineno, \
  |  |  |  |   60|    251|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    251|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    251|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2175|    251|    ADDOP_I(c, loc, GET_ITER, 0);
  ------------------
  |  |  280|    251|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    251|    do {                    \
  |  |  |  |   52|    251|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 251]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    251|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 251]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2176|       |
 2177|    251|    USE_LABEL(c, start);
  ------------------
  |  |  100|    251|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    251|    do {                    \
  |  |  |  |   52|    251|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 251]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    251|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 251]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2178|    251|    ADDOP_JUMP(c, loc, FOR_ITER, cleanup);
  ------------------
  |  |  435|    251|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    251|    do {                    \
  |  |  |  |   52|    251|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 251]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    251|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 251]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2179|       |
 2180|       |    /* Add NOP to ensure correct line tracing of multiline for statements.
 2181|       |     * It will be removed later if redundant.
 2182|       |     */
 2183|    251|    ADDOP(c, LOC(s->v.For.target), NOP);
  ------------------
  |  |  294|    251|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    251|    do {                    \
  |  |  |  |   52|    251|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 251]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    251|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 251]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2184|       |
 2185|    251|    USE_LABEL(c, body);
  ------------------
  |  |  100|    251|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    251|    do {                    \
  |  |  |  |   52|    251|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 251]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    251|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 251]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2186|    251|    VISIT(c, expr, s->v.For.target);
  ------------------
  |  |  460|    251|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    251|    do {                    \
  |  |  |  |   52|    251|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 250]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    251|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 250]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2187|    250|    VISIT_SEQ(c, stmt, s->v.For.body);
  ------------------
  |  |  466|    250|    do {                                                                    \
  |  |  467|    250|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  1.68k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.68k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.37k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.68k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 1.43k, False: 249]
  |  |  ------------------
  |  |  469|  1.43k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.43k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.43k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  1.43k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.43k|    do {                    \
  |  |  |  |   52|  1.43k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 1.43k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  1.43k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.43k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  1.43k|        }                                                                   \
  |  |  472|    250|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 249]
  |  |  ------------------
  ------------------
 2188|       |    /* Mark jump as artificial */
 2189|    249|    ADDOP_JUMP(c, NO_LOCATION, JUMP, start);
  ------------------
  |  |  435|    249|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    249|    do {                    \
  |  |  |  |   52|    249|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 249]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    249|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 249]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2190|       |
 2191|    249|    USE_LABEL(c, cleanup);
  ------------------
  |  |  100|    249|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    249|    do {                    \
  |  |  |  |   52|    249|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 249]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    249|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 249]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2192|       |    /* It is important for instrumentation that the `END_FOR` comes first.
 2193|       |    * Iteration over a generator will jump to the first of these instructions,
 2194|       |    * but a non-generator will jump to the second instruction.
 2195|       |    */
 2196|    249|    ADDOP(c, NO_LOCATION, END_FOR);
  ------------------
  |  |  294|    249|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    249|    do {                    \
  |  |  |  |   52|    249|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 249]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    249|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 249]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2197|    249|    ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  294|    249|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    249|    do {                    \
  |  |  |  |   52|    249|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 249]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    249|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 249]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2198|       |
 2199|    249|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_FOR_LOOP, start);
 2200|       |
 2201|    249|    VISIT_SEQ(c, stmt, s->v.For.orelse);
  ------------------
  |  |  466|    249|    do {                                                                    \
  |  |  467|    249|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|    500|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    500|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.00k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 141, False: 359]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 254, False: 246]
  |  |  ------------------
  |  |  469|    254|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    254|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    254|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|    254|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    254|    do {                    \
  |  |  |  |   52|    254|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 3, False: 251]
  |  |  |  |  ------------------
  |  |  |  |   53|      3|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      3|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      3|        }                   \
  |  |  |  |   55|    254|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 251]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|    254|        }                                                                   \
  |  |  472|    249|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 246]
  |  |  ------------------
  ------------------
 2202|       |
 2203|    246|    USE_LABEL(c, end);
  ------------------
  |  |  100|    246|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    246|    do {                    \
  |  |  |  |   52|    246|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 246]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    246|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 246]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2204|    246|    return SUCCESS;
  ------------------
  |  |   47|    246|#define SUCCESS 0
  ------------------
 2205|    246|}
codegen.c:codegen_while:
 2256|  1.76k|{
 2257|  1.76k|    NEW_JUMP_TARGET_LABEL(c, loop);
  ------------------
  |  |   94|  1.76k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.76k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.76k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.76k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.76k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.76k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2258|  1.76k|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|  1.76k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.76k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.76k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.76k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.76k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.76k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2259|  1.76k|    NEW_JUMP_TARGET_LABEL(c, anchor);
  ------------------
  |  |   94|  1.76k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.76k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.76k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.76k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.76k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.76k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2260|       |
 2261|  1.76k|    USE_LABEL(c, loop);
  ------------------
  |  |  100|  1.76k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.76k|    do {                    \
  |  |  |  |   52|  1.76k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.76k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.76k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.76k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2262|       |
 2263|  1.76k|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, LOC(s), COMPILE_FBLOCK_WHILE_LOOP, loop, end, NULL));
  ------------------
  |  |   51|  1.76k|    do {                    \
  |  |   52|  1.76k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.76k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.76k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.76k]
  |  |  ------------------
  ------------------
 2264|  1.76k|    RETURN_IF_ERROR(codegen_jump_if(c, LOC(s), s->v.While.test, anchor, 0));
  ------------------
  |  |   51|  1.76k|    do {                    \
  |  |   52|  1.76k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 2, False: 1.75k]
  |  |  ------------------
  |  |   53|      2|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      2|#define ERROR -1
  |  |  ------------------
  |  |   54|      2|        }                   \
  |  |   55|  1.76k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.75k]
  |  |  ------------------
  ------------------
 2265|       |
 2266|  1.75k|    VISIT_SEQ(c, stmt, s->v.While.body);
  ------------------
  |  |  466|  1.75k|    do {                                                                    \
  |  |  467|  1.75k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  11.2k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  11.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  22.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 11.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 9.45k, False: 1.75k]
  |  |  ------------------
  |  |  469|  9.45k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  9.45k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  9.45k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  9.45k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  9.45k|    do {                    \
  |  |  |  |   52|  9.45k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 5, False: 9.45k]
  |  |  |  |  ------------------
  |  |  |  |   53|      5|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      5|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      5|        }                   \
  |  |  |  |   55|  9.45k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.45k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  9.45k|        }                                                                   \
  |  |  472|  1.75k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 1.75k]
  |  |  ------------------
  ------------------
 2267|  1.75k|    ADDOP_JUMP(c, NO_LOCATION, JUMP, loop);
  ------------------
  |  |  435|  1.75k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.75k|    do {                    \
  |  |  |  |   52|  1.75k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.75k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.75k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2268|       |
 2269|  1.75k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_WHILE_LOOP, loop);
 2270|       |
 2271|  1.75k|    USE_LABEL(c, anchor);
  ------------------
  |  |  100|  1.75k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.75k|    do {                    \
  |  |  |  |   52|  1.75k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.75k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.75k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2272|  1.75k|    if (s->v.While.orelse) {
  ------------------
  |  Branch (2272:9): [True: 23, False: 1.73k]
  ------------------
 2273|     23|        VISIT_SEQ(c, stmt, s->v.While.orelse);
  ------------------
  |  |  466|     23|    do {                                                                    \
  |  |  467|     23|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|    243|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    243|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    486|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 243]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 227, False: 16]
  |  |  ------------------
  |  |  469|    227|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    227|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    227|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|    227|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    227|    do {                    \
  |  |  |  |   52|    227|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 7, False: 220]
  |  |  |  |  ------------------
  |  |  |  |   53|      7|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      7|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      7|        }                   \
  |  |  |  |   55|    227|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 220]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|    227|        }                                                                   \
  |  |  472|     23|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2274|     23|    }
 2275|       |
 2276|  1.74k|    USE_LABEL(c, end);
  ------------------
  |  |  100|  1.74k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.74k|    do {                    \
  |  |  |  |   52|  1.74k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.74k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.74k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.74k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2277|  1.74k|    return SUCCESS;
  ------------------
  |  |   47|  1.74k|#define SUCCESS 0
  ------------------
 2278|  1.74k|}
codegen.c:codegen_jump_if:
 1978|  12.5k|{
 1979|  12.5k|    switch (e->kind) {
 1980|    337|    case UnaryOp_kind:
  ------------------
  |  Branch (1980:5): [True: 337, False: 12.1k]
  ------------------
 1981|    337|        if (e->v.UnaryOp.op == Not) {
  ------------------
  |  Branch (1981:13): [True: 11, False: 326]
  ------------------
 1982|     11|            return codegen_jump_if(c, loc, e->v.UnaryOp.operand, next, !cond);
 1983|     11|        }
 1984|       |        /* fallback to general implementation */
 1985|    326|        break;
 1986|    356|    case BoolOp_kind: {
  ------------------
  |  Branch (1986:5): [True: 356, False: 12.1k]
  ------------------
 1987|    356|        asdl_expr_seq *s = e->v.BoolOp.values;
 1988|    356|        Py_ssize_t i, n = asdl_seq_LEN(s) - 1;
  ------------------
  |  |   83|    356|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    712|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 356]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1989|    356|        assert(n >= 0);
  ------------------
  |  Branch (1989:9): [True: 356, False: 0]
  ------------------
 1990|    356|        int cond2 = e->v.BoolOp.op == Or;
 1991|    356|        jump_target_label next2 = next;
 1992|    356|        if (!cond2 != !cond) {
  ------------------
  |  Branch (1992:13): [True: 259, False: 97]
  ------------------
 1993|    259|            NEW_JUMP_TARGET_LABEL(c, new_next2);
  ------------------
  |  |   94|    259|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    259|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    259|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    259|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    259|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 259]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 1994|    259|            next2 = new_next2;
 1995|    259|        }
 1996|  1.29k|        for (i = 0; i < n; ++i) {
  ------------------
  |  Branch (1996:21): [True: 942, False: 355]
  ------------------
 1997|    942|            RETURN_IF_ERROR(
  ------------------
  |  |   51|    942|    do {                    \
  |  |   52|    942|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 941]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|    942|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 941]
  |  |  ------------------
  ------------------
 1998|    942|                codegen_jump_if(c, loc, (expr_ty)asdl_seq_GET(s, i), next2, cond2));
 1999|    942|        }
 2000|    355|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    355|    do {                    \
  |  |   52|    355|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 3, False: 352]
  |  |  ------------------
  |  |   53|      3|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      3|#define ERROR -1
  |  |  ------------------
  |  |   54|      3|        }                   \
  |  |   55|    355|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 352]
  |  |  ------------------
  ------------------
 2001|    355|            codegen_jump_if(c, loc, (expr_ty)asdl_seq_GET(s, n), next, cond));
 2002|    352|        if (!SAME_JUMP_TARGET_LABEL(next2, next)) {
  ------------------
  |  |   59|    352|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  ------------------
  |  Branch (2002:13): [True: 258, False: 94]
  ------------------
 2003|    258|            USE_LABEL(c, next2);
  ------------------
  |  |  100|    258|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    258|    do {                    \
  |  |  |  |   52|    258|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 258]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    258|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 258]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2004|    258|        }
 2005|    352|        return SUCCESS;
  ------------------
  |  |   47|    352|#define SUCCESS 0
  ------------------
 2006|    352|    }
 2007|    501|    case IfExp_kind: {
  ------------------
  |  Branch (2007:5): [True: 501, False: 12.0k]
  ------------------
 2008|    501|        NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|    501|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    501|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    501|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    501|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    501|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 501]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2009|    501|        NEW_JUMP_TARGET_LABEL(c, next2);
  ------------------
  |  |   94|    501|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    501|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    501|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    501|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    501|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 501]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2010|    501|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    501|    do {                    \
  |  |   52|    501|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 501]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    501|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 501]
  |  |  ------------------
  ------------------
 2011|    501|            codegen_jump_if(c, loc, e->v.IfExp.test, next2, 0));
 2012|    501|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    501|    do {                    \
  |  |   52|    501|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 500]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|    501|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 500]
  |  |  ------------------
  ------------------
 2013|    501|            codegen_jump_if(c, loc, e->v.IfExp.body, next, cond));
 2014|    500|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  435|    500|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    500|    do {                    \
  |  |  |  |   52|    500|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 500]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    500|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 500]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2015|       |
 2016|    500|        USE_LABEL(c, next2);
  ------------------
  |  |  100|    500|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    500|    do {                    \
  |  |  |  |   52|    500|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 500]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    500|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 500]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2017|    500|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    500|    do {                    \
  |  |   52|    500|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 56, False: 444]
  |  |  ------------------
  |  |   53|     56|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     56|#define ERROR -1
  |  |  ------------------
  |  |   54|     56|        }                   \
  |  |   55|    500|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 444]
  |  |  ------------------
  ------------------
 2018|    500|            codegen_jump_if(c, loc, e->v.IfExp.orelse, next, cond));
 2019|       |
 2020|    444|        USE_LABEL(c, end);
  ------------------
  |  |  100|    444|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    444|    do {                    \
  |  |  |  |   52|    444|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 444]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    444|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 444]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|    444|        return SUCCESS;
  ------------------
  |  |   47|    444|#define SUCCESS 0
  ------------------
 2022|    444|    }
 2023|  2.36k|    case Compare_kind: {
  ------------------
  |  Branch (2023:5): [True: 2.36k, False: 10.1k]
  ------------------
 2024|  2.36k|        Py_ssize_t n = asdl_seq_LEN(e->v.Compare.ops) - 1;
  ------------------
  |  |   83|  2.36k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  4.72k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 2.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2025|  2.36k|        if (n > 0) {
  ------------------
  |  Branch (2025:13): [True: 1.38k, False: 974]
  ------------------
 2026|  1.38k|            RETURN_IF_ERROR(codegen_check_compare(c, e));
  ------------------
  |  |   51|  1.38k|    do {                    \
  |  |   52|  1.38k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.38k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.38k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.38k]
  |  |  ------------------
  ------------------
 2027|  1.38k|            NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   94|  1.38k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.38k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.38k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.38k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.38k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.38k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2028|  1.38k|            VISIT(c, expr, e->v.Compare.left);
  ------------------
  |  |  460|  1.38k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.38k|    do {                    \
  |  |  |  |   52|  1.38k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 10, False: 1.37k]
  |  |  |  |  ------------------
  |  |  |  |   53|     10|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     10|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     10|        }                   \
  |  |  |  |   55|  1.38k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2029|  4.50k|            for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (2029:36): [True: 3.13k, False: 1.36k]
  ------------------
 2030|  3.13k|                VISIT(c, expr,
  ------------------
  |  |  460|  3.13k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  3.13k|    do {                    \
  |  |  |  |   52|  3.13k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 9, False: 3.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      9|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      9|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      9|        }                   \
  |  |  |  |   55|  3.13k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2031|  3.12k|                    (expr_ty)asdl_seq_GET(e->v.Compare.comparators, i));
 2032|  3.12k|                ADDOP_I(c, LOC(e), SWAP, 2);
  ------------------
  |  |  280|  3.12k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.12k|    do {                    \
  |  |  |  |   52|  3.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2033|  3.12k|                ADDOP_I(c, LOC(e), COPY, 2);
  ------------------
  |  |  280|  3.12k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.12k|    do {                    \
  |  |  |  |   52|  3.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2034|  3.12k|                ADDOP_COMPARE(c, LOC(e), asdl_seq_GET(e->v.Compare.ops, i));
  ------------------
  |  |  438|  3.12k|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|  3.12k|    do {                    \
  |  |  |  |   52|  3.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2035|  3.12k|                ADDOP(c, LOC(e), TO_BOOL);
  ------------------
  |  |  294|  3.12k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.12k|    do {                    \
  |  |  |  |   52|  3.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2036|  3.12k|                ADDOP_JUMP(c, LOC(e), POP_JUMP_IF_FALSE, cleanup);
  ------------------
  |  |  435|  3.12k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  3.12k|    do {                    \
  |  |  |  |   52|  3.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2037|  3.12k|            }
 2038|  1.36k|            VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Compare.comparators, n));
  ------------------
  |  |  460|  1.36k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.36k|    do {                    \
  |  |  |  |   52|  1.36k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 1.36k]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|  1.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2039|  1.36k|            ADDOP_COMPARE(c, LOC(e), asdl_seq_GET(e->v.Compare.ops, n));
  ------------------
  |  |  438|  1.36k|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|  1.36k|    do {                    \
  |  |  |  |   52|  1.36k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.36k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2040|  1.36k|            ADDOP(c, LOC(e), TO_BOOL);
  ------------------
  |  |  294|  1.36k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.36k|    do {                    \
  |  |  |  |   52|  1.36k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.36k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2041|  1.36k|            ADDOP_JUMP(c, LOC(e), cond ? POP_JUMP_IF_TRUE : POP_JUMP_IF_FALSE, next);
  ------------------
  |  |  435|  1.36k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.36k|    do {                    \
  |  |  |  |   52|  2.73k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.36k]
  |  |  |  |  |  Branch (52:14): [True: 936, False: 430]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2042|  1.36k|            NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|  1.36k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.36k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.36k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.36k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.36k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.36k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2043|  1.36k|            ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  435|  1.36k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.36k|    do {                    \
  |  |  |  |   52|  1.36k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.36k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2044|       |
 2045|  1.36k|            USE_LABEL(c, cleanup);
  ------------------
  |  |  100|  1.36k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.36k|    do {                    \
  |  |  |  |   52|  1.36k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.36k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2046|  1.36k|            ADDOP(c, LOC(e), POP_TOP);
  ------------------
  |  |  294|  1.36k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.36k|    do {                    \
  |  |  |  |   52|  1.36k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.36k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2047|  1.36k|            if (!cond) {
  ------------------
  |  Branch (2047:17): [True: 430, False: 936]
  ------------------
 2048|    430|                ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, next);
  ------------------
  |  |  435|    430|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    430|    do {                    \
  |  |  |  |   52|    430|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 430]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    430|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 430]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2049|    430|            }
 2050|       |
 2051|  1.36k|            USE_LABEL(c, end);
  ------------------
  |  |  100|  1.36k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.36k|    do {                    \
  |  |  |  |   52|  1.36k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.36k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2052|  1.36k|            return SUCCESS;
  ------------------
  |  |   47|  1.36k|#define SUCCESS 0
  ------------------
 2053|  1.36k|        }
 2054|       |        /* fallback to general implementation */
 2055|    974|        break;
 2056|  2.36k|    }
 2057|  8.95k|    default:
  ------------------
  |  Branch (2057:5): [True: 8.95k, False: 3.55k]
  ------------------
 2058|       |        /* fallback to general implementation */
 2059|  8.95k|        break;
 2060|  12.5k|    }
 2061|       |
 2062|       |    /* general implementation */
 2063|  10.2k|    VISIT(c, expr, e);
  ------------------
  |  |  460|  10.2k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  10.2k|    do {                    \
  |  |  |  |   52|  10.2k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 36, False: 10.2k]
  |  |  |  |  ------------------
  |  |  |  |   53|     36|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     36|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     36|        }                   \
  |  |  |  |   55|  10.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2064|  10.2k|    ADDOP(c, LOC(e), TO_BOOL);
  ------------------
  |  |  294|  10.2k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.2k|    do {                    \
  |  |  |  |   52|  10.2k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.2k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2065|  10.2k|    ADDOP_JUMP(c, LOC(e), cond ? POP_JUMP_IF_TRUE : POP_JUMP_IF_FALSE, next);
  ------------------
  |  |  435|  10.2k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  10.2k|    do {                    \
  |  |  |  |   52|  20.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.2k]
  |  |  |  |  |  Branch (52:14): [True: 2.35k, False: 7.86k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2066|  10.2k|    return SUCCESS;
  ------------------
  |  |   47|  10.2k|#define SUCCESS 0
  ------------------
 2067|  10.2k|}
codegen.c:codegen_check_compare:
 1903|  19.0k|{
 1904|  19.0k|    Py_ssize_t i, n;
 1905|  19.0k|    bool left = check_is_arg(e->v.Compare.left);
 1906|  19.0k|    expr_ty left_expr = e->v.Compare.left;
 1907|  19.0k|    n = asdl_seq_LEN(e->v.Compare.ops);
  ------------------
  |  |   83|  19.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  38.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 19.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1908|  71.7k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1908:17): [True: 54.1k, False: 17.6k]
  ------------------
 1909|  54.1k|        cmpop_ty op = (cmpop_ty)asdl_seq_GET(e->v.Compare.ops, i);
  ------------------
  |  |   82|  54.1k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  54.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1910|  54.1k|        expr_ty right_expr = (expr_ty)asdl_seq_GET(e->v.Compare.comparators, i);
  ------------------
  |  |   82|  54.1k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  54.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1911|  54.1k|        bool right = check_is_arg(right_expr);
 1912|  54.1k|        if (op == Is || op == IsNot) {
  ------------------
  |  Branch (1912:13): [True: 3.71k, False: 50.4k]
  |  Branch (1912:25): [True: 14, False: 50.4k]
  ------------------
 1913|  3.73k|            if (!right || !left) {
  ------------------
  |  Branch (1913:17): [True: 1.00k, False: 2.72k]
  |  Branch (1913:27): [True: 455, False: 2.27k]
  ------------------
 1914|  1.45k|                const char *msg = (op == Is)
  ------------------
  |  Branch (1914:35): [True: 1.45k, False: 2]
  ------------------
 1915|  1.45k|                        ? "\"is\" with '%.200s' literal. Did you mean \"==\"?"
 1916|  1.45k|                        : "\"is not\" with '%.200s' literal. Did you mean \"!=\"?";
 1917|  1.45k|                expr_ty literal = !left ? left_expr : right_expr;
  ------------------
  |  Branch (1917:35): [True: 570, False: 887]
  ------------------
 1918|  1.45k|                return _PyCompile_Warn(
 1919|  1.45k|                    c, LOC(e), msg, infer_type(literal)->tp_name
  ------------------
  |  |   88|  1.45k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.45k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.45k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.45k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.45k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.45k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1920|  1.45k|                );
 1921|  1.45k|            }
 1922|  3.73k|        }
 1923|  52.6k|        left = right;
 1924|  52.6k|        left_expr = right_expr;
 1925|  52.6k|    }
 1926|  17.6k|    return SUCCESS;
  ------------------
  |  |   47|  17.6k|#define SUCCESS 0
  ------------------
 1927|  19.0k|}
codegen.c:check_is_arg:
 1882|  73.2k|{
 1883|  73.2k|    if (e->kind == Tuple_kind) {
  ------------------
  |  Branch (1883:9): [True: 631, False: 72.5k]
  ------------------
 1884|    631|        return !is_const_tuple(e->v.Tuple.elts);
 1885|    631|    }
 1886|  72.5k|    if (e->kind != Constant_kind) {
  ------------------
  |  Branch (1886:9): [True: 57.9k, False: 14.6k]
  ------------------
 1887|  57.9k|        return true;
 1888|  57.9k|    }
 1889|  14.6k|    PyObject *value = e->v.Constant.value;
 1890|  14.6k|    return (value == Py_None
  ------------------
  |  |  616|  29.3k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1890:13): [True: 488, False: 14.1k]
  ------------------
 1891|  14.6k|         || value == Py_False
  ------------------
  |  |   25|  14.6k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1891:13): [True: 205, False: 13.9k]
  ------------------
 1892|  14.6k|         || value == Py_True
  ------------------
  |  |   26|  14.6k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1892:13): [True: 1.38k, False: 12.6k]
  ------------------
 1893|  12.6k|         || value == Py_Ellipsis);
  ------------------
  |  |   14|  12.6k|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (1893:13): [True: 5, False: 12.6k]
  ------------------
 1894|  72.5k|}
codegen.c:is_const_tuple:
 1868|    631|{
 1869|    690|    for (Py_ssize_t i = 0; i < asdl_seq_LEN(elts); i++) {
  ------------------
  |  |   83|    690|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  1.38k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 448, False: 242]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1869:28): [True: 217, False: 473]
  ------------------
 1870|    217|        expr_ty e = (expr_ty)asdl_seq_GET(elts, i);
  ------------------
  |  |   82|    217|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    217|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1871|    217|        if (e->kind != Constant_kind) {
  ------------------
  |  Branch (1871:13): [True: 158, False: 59]
  ------------------
 1872|    158|            return false;
 1873|    158|        }
 1874|    217|    }
 1875|    473|    return true;
 1876|    631|}
codegen.c:infer_type:
 3753|  32.1k|{
 3754|  32.1k|    switch (e->kind) {
 3755|  3.57k|    case Tuple_kind:
  ------------------
  |  Branch (3755:5): [True: 3.57k, False: 28.5k]
  ------------------
 3756|  3.57k|        return &PyTuple_Type;
 3757|  1.32k|    case List_kind:
  ------------------
  |  Branch (3757:5): [True: 1.32k, False: 30.7k]
  ------------------
 3758|  1.34k|    case ListComp_kind:
  ------------------
  |  Branch (3758:5): [True: 20, False: 32.1k]
  ------------------
 3759|  1.34k|        return &PyList_Type;
 3760|    265|    case Dict_kind:
  ------------------
  |  Branch (3760:5): [True: 265, False: 31.8k]
  ------------------
 3761|    674|    case DictComp_kind:
  ------------------
  |  Branch (3761:5): [True: 409, False: 31.7k]
  ------------------
 3762|    674|        return &PyDict_Type;
 3763|    544|    case Set_kind:
  ------------------
  |  Branch (3763:5): [True: 544, False: 31.5k]
  ------------------
 3764|  1.32k|    case SetComp_kind:
  ------------------
  |  Branch (3764:5): [True: 777, False: 31.3k]
  ------------------
 3765|  1.32k|        return &PySet_Type;
 3766|     99|    case GeneratorExp_kind:
  ------------------
  |  Branch (3766:5): [True: 99, False: 32.0k]
  ------------------
 3767|     99|        return &PyGen_Type;
 3768|    471|    case Lambda_kind:
  ------------------
  |  Branch (3768:5): [True: 471, False: 31.6k]
  ------------------
 3769|    471|        return &PyFunction_Type;
 3770|    148|    case TemplateStr_kind:
  ------------------
  |  Branch (3770:5): [True: 148, False: 31.9k]
  ------------------
 3771|    148|    case Interpolation_kind:
  ------------------
  |  Branch (3771:5): [True: 0, False: 32.1k]
  ------------------
 3772|    148|        return &_PyTemplate_Type;
 3773|    126|    case JoinedStr_kind:
  ------------------
  |  Branch (3773:5): [True: 126, False: 31.9k]
  ------------------
 3774|    126|    case FormattedValue_kind:
  ------------------
  |  Branch (3774:5): [True: 0, False: 32.1k]
  ------------------
 3775|    126|        return &PyUnicode_Type;
 3776|  9.30k|    case Constant_kind:
  ------------------
  |  Branch (3776:5): [True: 9.30k, False: 22.8k]
  ------------------
 3777|  9.30k|        return Py_TYPE(e->v.Constant.value);
  ------------------
  |  |  213|  9.30k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3778|  15.0k|    default:
  ------------------
  |  Branch (3778:5): [True: 15.0k, False: 17.0k]
  ------------------
 3779|       |        return NULL;
 3780|  32.1k|    }
 3781|  32.1k|}
codegen.c:codegen_addcompare:
 1931|  59.3k|{
 1932|  59.3k|    int cmp;
 1933|  59.3k|    switch (op) {
 1934|  7.46k|    case Eq:
  ------------------
  |  Branch (1934:5): [True: 7.46k, False: 51.8k]
  ------------------
 1935|  7.46k|        cmp = Py_EQ;
  ------------------
  |  |  654|  7.46k|#define Py_EQ 2
  ------------------
 1936|  7.46k|        break;
 1937|    260|    case NotEq:
  ------------------
  |  Branch (1937:5): [True: 260, False: 59.0k]
  ------------------
 1938|    260|        cmp = Py_NE;
  ------------------
  |  |  655|    260|#define Py_NE 3
  ------------------
 1939|    260|        break;
 1940|  19.1k|    case Lt:
  ------------------
  |  Branch (1940:5): [True: 19.1k, False: 40.2k]
  ------------------
 1941|  19.1k|        cmp = Py_LT;
  ------------------
  |  |  652|  19.1k|#define Py_LT 0
  ------------------
 1942|  19.1k|        break;
 1943|  1.50k|    case LtE:
  ------------------
  |  Branch (1943:5): [True: 1.50k, False: 57.8k]
  ------------------
 1944|  1.50k|        cmp = Py_LE;
  ------------------
  |  |  653|  1.50k|#define Py_LE 1
  ------------------
 1945|  1.50k|        break;
 1946|  19.9k|    case Gt:
  ------------------
  |  Branch (1946:5): [True: 19.9k, False: 39.4k]
  ------------------
 1947|  19.9k|        cmp = Py_GT;
  ------------------
  |  |  656|  19.9k|#define Py_GT 4
  ------------------
 1948|  19.9k|        break;
 1949|  4.03k|    case GtE:
  ------------------
  |  Branch (1949:5): [True: 4.03k, False: 55.3k]
  ------------------
 1950|  4.03k|        cmp = Py_GE;
  ------------------
  |  |  657|  4.03k|#define Py_GE 5
  ------------------
 1951|  4.03k|        break;
 1952|  4.03k|    case Is:
  ------------------
  |  Branch (1952:5): [True: 4.03k, False: 55.3k]
  ------------------
 1953|  4.03k|        ADDOP_I(c, loc, IS_OP, 0);
  ------------------
  |  |  280|  4.03k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.03k|    do {                    \
  |  |  |  |   52|  4.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.03k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1954|  4.03k|        return SUCCESS;
  ------------------
  |  |   47|  4.03k|#define SUCCESS 0
  ------------------
 1955|     21|    case IsNot:
  ------------------
  |  Branch (1955:5): [True: 21, False: 59.3k]
  ------------------
 1956|     21|        ADDOP_I(c, loc, IS_OP, 1);
  ------------------
  |  |  280|     21|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     21|    do {                    \
  |  |  |  |   52|     21|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 21]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     21|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 21]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1957|     21|        return SUCCESS;
  ------------------
  |  |   47|     21|#define SUCCESS 0
  ------------------
 1958|  2.97k|    case In:
  ------------------
  |  Branch (1958:5): [True: 2.97k, False: 56.3k]
  ------------------
 1959|  2.97k|        ADDOP_I(c, loc, CONTAINS_OP, 0);
  ------------------
  |  |  280|  2.97k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.97k|    do {                    \
  |  |  |  |   52|  2.97k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.97k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.97k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.97k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1960|  2.97k|        return SUCCESS;
  ------------------
  |  |   47|  2.97k|#define SUCCESS 0
  ------------------
 1961|      6|    case NotIn:
  ------------------
  |  Branch (1961:5): [True: 6, False: 59.3k]
  ------------------
 1962|      6|        ADDOP_I(c, loc, CONTAINS_OP, 1);
  ------------------
  |  |  280|      6|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      6|    do {                    \
  |  |  |  |   52|      6|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1963|      6|        return SUCCESS;
  ------------------
  |  |   47|      6|#define SUCCESS 0
  ------------------
 1964|      0|    default:
  ------------------
  |  Branch (1964:5): [True: 0, False: 59.3k]
  ------------------
 1965|      0|        Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1966|  59.3k|    }
 1967|       |    // cmp goes in top three bits of the oparg, while the low four bits are used
 1968|       |    // by quickened versions of this opcode to store the comparison mask. The
 1969|       |    // fifth-lowest bit indicates whether the result should be converted to bool
 1970|       |    // and is set later):
 1971|  52.3k|    ADDOP_I(c, loc, COMPARE_OP, (cmp << 5) | compare_masks[cmp]);
  ------------------
  |  |  280|  52.3k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  52.3k|    do {                    \
  |  |  |  |   52|  52.3k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 52.3k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  52.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 52.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1972|  52.3k|    return SUCCESS;
  ------------------
  |  |   47|  52.3k|#define SUCCESS 0
  ------------------
 1973|  52.3k|}
codegen.c:codegen_if:
 2135|  1.28k|{
 2136|  1.28k|    jump_target_label next;
 2137|  1.28k|    assert(s->kind == If_kind);
  ------------------
  |  Branch (2137:5): [True: 1.28k, False: 0]
  ------------------
 2138|  1.28k|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|  1.28k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.28k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.28k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.28k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.28k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.28k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2139|  1.28k|    if (asdl_seq_LEN(s->v.If.orelse)) {
  ------------------
  |  |   83|  1.28k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  2.56k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:26): [True: 261, False: 1.02k]
  |  |  |  |  |  Branch (313:37): [True: 1.02k, False: 261]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2140|    261|        NEW_JUMP_TARGET_LABEL(c, orelse);
  ------------------
  |  |   94|    261|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    261|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    261|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    261|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    261|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 261]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2141|    261|        next = orelse;
 2142|    261|    }
 2143|  1.02k|    else {
 2144|  1.02k|        next = end;
 2145|  1.02k|    }
 2146|  1.28k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  1.28k|    do {                    \
  |  |   52|  1.28k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 5, False: 1.27k]
  |  |  ------------------
  |  |   53|      5|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      5|#define ERROR -1
  |  |  ------------------
  |  |   54|      5|        }                   \
  |  |   55|  1.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.27k]
  |  |  ------------------
  ------------------
 2147|  1.28k|        codegen_jump_if(c, LOC(s), s->v.If.test, next, 0));
 2148|       |
 2149|  1.27k|    VISIT_SEQ(c, stmt, s->v.If.body);
  ------------------
  |  |  466|  1.27k|    do {                                                                    \
  |  |  467|  1.27k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  3.38k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  3.38k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  6.77k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.38k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 2.12k, False: 1.26k]
  |  |  ------------------
  |  |  469|  2.12k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  2.12k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.12k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  2.12k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  2.12k|    do {                    \
  |  |  |  |   52|  2.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 11, False: 2.11k]
  |  |  |  |  ------------------
  |  |  |  |   53|     11|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     11|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     11|        }                   \
  |  |  |  |   55|  2.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  2.12k|        }                                                                   \
  |  |  472|  1.27k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 1.26k]
  |  |  ------------------
  ------------------
 2150|  1.26k|    if (asdl_seq_LEN(s->v.If.orelse)) {
  ------------------
  |  |   83|  1.26k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  2.53k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:26): [True: 258, False: 1.00k]
  |  |  |  |  |  Branch (313:37): [True: 1.00k, False: 258]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2151|    258|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  435|    258|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    258|    do {                    \
  |  |  |  |   52|    258|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 258]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    258|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 258]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2152|       |
 2153|    258|        USE_LABEL(c, next);
  ------------------
  |  |  100|    258|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    258|    do {                    \
  |  |  |  |   52|    258|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 258]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    258|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 258]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2154|    258|        VISIT_SEQ(c, stmt, s->v.If.orelse);
  ------------------
  |  |  466|    258|    do {                                                                    \
  |  |  467|    258|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|    840|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    840|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.68k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 840]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 656, False: 184]
  |  |  ------------------
  |  |  469|    656|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    656|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    656|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|    656|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    656|    do {                    \
  |  |  |  |   52|    656|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 74, False: 582]
  |  |  |  |  ------------------
  |  |  |  |   53|     74|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     74|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     74|        }                   \
  |  |  |  |   55|    656|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 582]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|    656|        }                                                                   \
  |  |  472|    258|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 184]
  |  |  ------------------
  ------------------
 2155|    258|    }
 2156|       |
 2157|  1.19k|    USE_LABEL(c, end);
  ------------------
  |  |  100|  1.19k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.19k|    do {                    \
  |  |  |  |   52|  1.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2158|  1.19k|    return SUCCESS;
  ------------------
  |  |   47|  1.19k|#define SUCCESS 0
  ------------------
 2159|  1.19k|}
codegen.c:codegen_match:
 6775|    462|{
 6776|    462|    pattern_context pc;
 6777|       |    pc.fail_pop = NULL;
 6778|    462|    int result = codegen_match_inner(c, s, &pc);
 6779|    462|    PyMem_Free(pc.fail_pop);
 6780|    462|    return result;
 6781|    462|}
codegen.c:codegen_match_inner:
 6697|    462|{
 6698|    462|    VISIT(c, expr, s->v.Match.subject);
  ------------------
  |  |  460|    462|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    462|    do {                    \
  |  |  |  |   52|    462|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 461]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    462|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 461]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6699|    461|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|    461|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    461|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    461|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    461|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    461|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 461]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 6700|    461|    Py_ssize_t cases = asdl_seq_LEN(s->v.Match.cases);
  ------------------
  |  |   83|    461|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    922|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 461]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6701|    461|    assert(cases > 0);
  ------------------
  |  Branch (6701:5): [True: 461, False: 0]
  ------------------
 6702|    461|    match_case_ty m = asdl_seq_GET(s->v.Match.cases, cases - 1);
  ------------------
  |  |   82|    461|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    461|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6703|    461|    int has_default = WILDCARD_CHECK(m->pattern) && 1 < cases;
  ------------------
  |  | 5948|    922|    ((N)->kind == MatchAs_kind && !(N)->v.MatchAs.name)
  |  |  ------------------
  |  |  |  Branch (5948:6): [True: 94, False: 367]
  |  |  |  Branch (5948:35): [True: 80, False: 14]
  |  |  ------------------
  ------------------
  |  Branch (6703:53): [True: 6, False: 74]
  ------------------
 6704|  1.69k|    for (Py_ssize_t i = 0; i < cases - has_default; i++) {
  ------------------
  |  Branch (6704:28): [True: 1.39k, False: 306]
  ------------------
 6705|  1.39k|        m = asdl_seq_GET(s->v.Match.cases, i);
  ------------------
  |  |   82|  1.39k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.39k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6706|       |        // Only copy the subject if we're *not* on the last case:
 6707|  1.39k|        if (i != cases - has_default - 1) {
  ------------------
  |  Branch (6707:13): [True: 935, False: 455]
  ------------------
 6708|    935|            ADDOP_I(c, LOC(m->pattern), COPY, 1);
  ------------------
  |  |  280|    935|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    935|    do {                    \
  |  |  |  |   52|    935|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 935]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    935|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 935]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6709|    935|        }
 6710|  1.39k|        pc->stores = PyList_New(0);
 6711|  1.39k|        if (pc->stores == NULL) {
  ------------------
  |  Branch (6711:13): [True: 0, False: 1.39k]
  ------------------
 6712|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 6713|      0|        }
 6714|       |        // Irrefutable cases must be either guarded, last, or both:
 6715|  1.39k|        pc->allow_irrefutable = m->guard != NULL || i == cases - 1;
  ------------------
  |  Branch (6715:33): [True: 237, False: 1.15k]
  |  Branch (6715:53): [True: 442, False: 711]
  ------------------
 6716|  1.39k|        pc->fail_pop = NULL;
 6717|  1.39k|        pc->fail_pop_size = 0;
 6718|  1.39k|        pc->on_top = 0;
 6719|       |        // NOTE: Can't use returning macros here (they'll leak pc->stores)!
 6720|  1.39k|        if (codegen_pattern(c, m->pattern, pc) < 0) {
  ------------------
  |  Branch (6720:13): [True: 139, False: 1.25k]
  ------------------
 6721|    139|            Py_DECREF(pc->stores);
  ------------------
  |  |  430|    139|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    139|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    139|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6722|    139|            return ERROR;
  ------------------
  |  |   48|    139|#define ERROR -1
  ------------------
 6723|    139|        }
 6724|  1.39k|        assert(!pc->on_top);
  ------------------
  |  Branch (6724:9): [True: 1.25k, False: 0]
  ------------------
 6725|       |        // It's a match! Store all of the captured names (they're on the stack).
 6726|  1.25k|        Py_ssize_t nstores = PyList_GET_SIZE(pc->stores);
  ------------------
  |  |   38|  1.25k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6727|  3.50k|        for (Py_ssize_t n = 0; n < nstores; n++) {
  ------------------
  |  Branch (6727:32): [True: 2.25k, False: 1.25k]
  ------------------
 6728|  2.25k|            PyObject *name = PyList_GET_ITEM(pc->stores, n);
  ------------------
  |  |   40|  2.25k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  2.25k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6728:30): [True: 2.25k, False: 0]
  ------------------
 6729|  2.25k|            if (codegen_nameop(c, LOC(m->pattern), name, Store) < 0) {
  ------------------
  |  |   88|  2.25k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  2.25k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  2.25k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  2.25k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  2.25k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  2.25k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (6729:17): [True: 0, False: 2.25k]
  ------------------
 6730|      0|                Py_DECREF(pc->stores);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6731|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 6732|      0|            }
 6733|  2.25k|        }
 6734|  1.25k|        Py_DECREF(pc->stores);
  ------------------
  |  |  430|  1.25k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6735|       |        // NOTE: Returning macros are safe again.
 6736|  1.25k|        if (m->guard) {
  ------------------
  |  Branch (6736:13): [True: 236, False: 1.01k]
  ------------------
 6737|    236|            RETURN_IF_ERROR(ensure_fail_pop(c, pc, 0));
  ------------------
  |  |   51|    236|    do {                    \
  |  |   52|    236|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 236]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    236|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 236]
  |  |  ------------------
  ------------------
 6738|    236|            RETURN_IF_ERROR(codegen_jump_if(c, LOC(m->pattern), m->guard, pc->fail_pop[0], 0));
  ------------------
  |  |   51|    236|    do {                    \
  |  |   52|    236|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 236]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    236|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 236]
  |  |  ------------------
  ------------------
 6739|    236|        }
 6740|       |        // Success! Pop the subject off, we're done with it:
 6741|  1.25k|        if (i != cases - has_default - 1) {
  ------------------
  |  Branch (6741:13): [True: 929, False: 322]
  ------------------
 6742|       |            /* Use the next location to give better locations for branch events */
 6743|    929|            ADDOP(c, NEXT_LOCATION, POP_TOP);
  ------------------
  |  |  294|    929|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    929|    do {                    \
  |  |  |  |   52|    929|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 929]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    929|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 929]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6744|    929|        }
 6745|  1.25k|        VISIT_SEQ(c, stmt, m->body);
  ------------------
  |  |  466|  1.25k|    do {                                                                    \
  |  |  467|  1.25k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  2.59k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  2.59k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  5.18k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 2.59k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 1.35k, False: 1.23k]
  |  |  ------------------
  |  |  469|  1.35k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.35k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.35k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  1.35k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.35k|    do {                    \
  |  |  |  |   52|  1.35k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 16, False: 1.34k]
  |  |  |  |  ------------------
  |  |  |  |   53|     16|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     16|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     16|        }                   \
  |  |  |  |   55|  1.35k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  1.35k|        }                                                                   \
  |  |  472|  1.25k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 1.23k]
  |  |  ------------------
  ------------------
 6746|  1.23k|        ADDOP_JUMP(c, NO_LOCATION, JUMP, end);
  ------------------
  |  |  435|  1.23k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.23k|    do {                    \
  |  |  |  |   52|  1.23k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.23k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.23k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.23k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6747|       |        // If the pattern fails to match, we want the line number of the
 6748|       |        // cleanup to be associated with the failed pattern, not the last line
 6749|       |        // of the body
 6750|  1.23k|        RETURN_IF_ERROR(emit_and_reset_fail_pop(c, LOC(m->pattern), pc));
  ------------------
  |  |   51|  1.23k|    do {                    \
  |  |   52|  1.23k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.23k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.23k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.23k]
  |  |  ------------------
  ------------------
 6751|  1.23k|    }
 6752|    306|    if (has_default) {
  ------------------
  |  Branch (6752:9): [True: 0, False: 306]
  ------------------
 6753|       |        // A trailing "case _" is common, and lets us save a bit of redundant
 6754|       |        // pushing and popping in the loop above:
 6755|      0|        m = asdl_seq_GET(s->v.Match.cases, cases - 1);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6756|      0|        if (cases == 1) {
  ------------------
  |  Branch (6756:13): [True: 0, False: 0]
  ------------------
 6757|       |            // No matches. Done with the subject:
 6758|      0|            ADDOP(c, LOC(m->pattern), 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6759|      0|        }
 6760|      0|        else {
 6761|       |            // Show line coverage for default case (it doesn't create bytecode)
 6762|      0|            ADDOP(c, LOC(m->pattern), 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6763|      0|        }
 6764|      0|        if (m->guard) {
  ------------------
  |  Branch (6764:13): [True: 0, False: 0]
  ------------------
 6765|      0|            RETURN_IF_ERROR(codegen_jump_if(c, LOC(m->pattern), m->guard, end, 0));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6766|      0|        }
 6767|      0|        VISIT_SEQ(c, stmt, m->body);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 6768|      0|    }
 6769|    306|    USE_LABEL(c, end);
  ------------------
  |  |  100|    306|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    306|    do {                    \
  |  |  |  |   52|    306|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 306]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    306|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 306]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6770|    306|    return SUCCESS;
  ------------------
  |  |   47|    306|#define SUCCESS 0
  ------------------
 6771|    306|}
codegen.c:codegen_pattern:
 6670|  10.9k|{
 6671|  10.9k|    switch (p->kind) {
  ------------------
  |  Branch (6671:13): [True: 10.9k, False: 0]
  ------------------
 6672|  3.85k|        case MatchValue_kind:
  ------------------
  |  Branch (6672:9): [True: 3.85k, False: 7.05k]
  ------------------
 6673|  3.85k|            return codegen_pattern_value(c, p, pc);
 6674|     43|        case MatchSingleton_kind:
  ------------------
  |  Branch (6674:9): [True: 43, False: 10.8k]
  ------------------
 6675|     43|            return codegen_pattern_singleton(c, p, pc);
 6676|  1.06k|        case MatchSequence_kind:
  ------------------
  |  Branch (6676:9): [True: 1.06k, False: 9.84k]
  ------------------
 6677|  1.06k|            return codegen_pattern_sequence(c, p, pc);
 6678|    489|        case MatchMapping_kind:
  ------------------
  |  Branch (6678:9): [True: 489, False: 10.4k]
  ------------------
 6679|    489|            return codegen_pattern_mapping(c, p, pc);
 6680|  1.46k|        case MatchClass_kind:
  ------------------
  |  Branch (6680:9): [True: 1.46k, False: 9.44k]
  ------------------
 6681|  1.46k|            return codegen_pattern_class(c, p, pc);
 6682|    177|        case MatchStar_kind:
  ------------------
  |  Branch (6682:9): [True: 177, False: 10.7k]
  ------------------
 6683|    177|            return codegen_pattern_star(c, p, pc);
 6684|  3.23k|        case MatchAs_kind:
  ------------------
  |  Branch (6684:9): [True: 3.23k, False: 7.67k]
  ------------------
 6685|  3.23k|            return codegen_pattern_as(c, p, pc);
 6686|    578|        case MatchOr_kind:
  ------------------
  |  Branch (6686:9): [True: 578, False: 10.3k]
  ------------------
 6687|    578|            return codegen_pattern_or(c, p, pc);
 6688|  10.9k|    }
 6689|       |    // AST validator shouldn't let this happen, but if it does,
 6690|       |    // just fail, don't crash out of the interpreter
 6691|      0|    const char *e = "invalid match pattern node in AST (kind=%d)";
 6692|      0|    return _PyCompile_Error(c, LOC(p), e, p->kind);
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 6693|  10.9k|}
codegen.c:codegen_pattern_value:
 6644|  3.85k|{
 6645|  3.85k|    assert(p->kind == MatchValue_kind);
  ------------------
  |  Branch (6645:5): [True: 3.85k, False: 0]
  ------------------
 6646|  3.85k|    expr_ty value = p->v.MatchValue.value;
 6647|  3.85k|    if (!MATCH_VALUE_EXPR(value)) {
  ------------------
  |  | 5955|  3.85k|    ((N)->kind == Constant_kind || (N)->kind == Attribute_kind)
  |  |  ------------------
  |  |  |  Branch (5955:6): [True: 3.53k, False: 314]
  |  |  |  Branch (5955:36): [True: 309, False: 5]
  |  |  ------------------
  ------------------
 6648|      5|        const char *e = "patterns may only match literals and attribute lookups";
 6649|      5|        return _PyCompile_Error(c, LOC(p), e);
  ------------------
  |  |   88|      5|#define LOC(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 }
  |  |  ------------------
  ------------------
 6650|      5|    }
 6651|  3.84k|    VISIT(c, expr, value);
  ------------------
  |  |  460|  3.84k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  3.84k|    do {                    \
  |  |  |  |   52|  3.84k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.84k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.84k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6652|  3.84k|    ADDOP_COMPARE(c, LOC(p), Eq);
  ------------------
  |  |  438|  3.84k|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|  3.84k|    do {                    \
  |  |  |  |   52|  3.84k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.84k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.84k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6653|  3.84k|    ADDOP(c, LOC(p), TO_BOOL);
  ------------------
  |  |  294|  3.84k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.84k|    do {                    \
  |  |  |  |   52|  3.84k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.84k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.84k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6654|  3.84k|    RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|  3.84k|    do {                    \
  |  |   52|  3.84k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3.84k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  3.84k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.84k]
  |  |  ------------------
  ------------------
 6655|  3.84k|    return SUCCESS;
  ------------------
  |  |   47|  3.84k|#define SUCCESS 0
  ------------------
 6656|  3.84k|}
codegen.c:jump_to_fail_pop:
 5983|  9.09k|{
 5984|       |    // Pop any items on the top of the stack, plus any objects we were going to
 5985|       |    // capture on success:
 5986|  9.09k|    Py_ssize_t pops = pc->on_top + PyList_GET_SIZE(pc->stores);
  ------------------
  |  |   38|  9.09k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5987|  9.09k|    RETURN_IF_ERROR(ensure_fail_pop(c, pc, pops));
  ------------------
  |  |   51|  9.09k|    do {                    \
  |  |   52|  9.09k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 9.09k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  9.09k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 9.09k]
  |  |  ------------------
  ------------------
 5988|  9.09k|    ADDOP_JUMP(c, loc, op, pc->fail_pop[pops]);
  ------------------
  |  |  435|  9.09k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  9.09k|    do {                    \
  |  |  |  |   52|  9.09k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5989|  9.09k|    return SUCCESS;
  ------------------
  |  |   47|  9.09k|#define SUCCESS 0
  ------------------
 5990|  9.09k|}
codegen.c:codegen_pattern_singleton:
 6660|     43|{
 6661|     43|    assert(p->kind == MatchSingleton_kind);
  ------------------
  |  Branch (6661:5): [True: 43, False: 0]
  ------------------
 6662|     43|    ADDOP_LOAD_CONST(c, LOC(p), p->v.MatchSingleton.value);
  ------------------
  |  |  311|     43|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     43|    do {                    \
  |  |  |  |   52|     43|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 43]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     43|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 43]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6663|     43|    ADDOP_COMPARE(c, LOC(p), Is);
  ------------------
  |  |  438|     43|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|     43|    do {                    \
  |  |  |  |   52|     43|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 43]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     43|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 43]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6664|     43|    RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|     43|    do {                    \
  |  |   52|     43|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 43]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     43|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 43]
  |  |  ------------------
  ------------------
 6665|     43|    return SUCCESS;
  ------------------
  |  |   47|     43|#define SUCCESS 0
  ------------------
 6666|     43|}
codegen.c:codegen_pattern_sequence:
 6587|  1.06k|{
 6588|  1.06k|    assert(p->kind == MatchSequence_kind);
  ------------------
  |  Branch (6588:5): [True: 1.06k, False: 0]
  ------------------
 6589|  1.06k|    asdl_pattern_seq *patterns = p->v.MatchSequence.patterns;
 6590|  1.06k|    Py_ssize_t size = asdl_seq_LEN(patterns);
  ------------------
  |  |   83|  1.06k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  2.13k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 34, False: 1.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6591|  1.06k|    Py_ssize_t star = -1;
 6592|  1.06k|    int only_wildcard = 1;
 6593|  1.06k|    int star_wildcard = 0;
 6594|       |    // Find a starred name, if it exists. There may be at most one:
 6595|  8.77k|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (6595:28): [True: 7.71k, False: 1.06k]
  ------------------
 6596|  7.71k|        pattern_ty pattern = asdl_seq_GET(patterns, i);
  ------------------
  |  |   82|  7.71k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  7.71k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6597|  7.71k|        if (pattern->kind == MatchStar_kind) {
  ------------------
  |  Branch (6597:13): [True: 577, False: 7.13k]
  ------------------
 6598|    577|            if (star >= 0) {
  ------------------
  |  Branch (6598:17): [True: 3, False: 574]
  ------------------
 6599|      3|                const char *e = "multiple starred names in sequence pattern";
 6600|      3|                return _PyCompile_Error(c, LOC(p), e);
  ------------------
  |  |   88|      3|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      3|    (_Py_SourceLocation){ \
  |  |  |  |   59|      3|               .lineno = (n)->lineno, \
  |  |  |  |   60|      3|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      3|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      3|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6601|      3|            }
 6602|    574|            star_wildcard = WILDCARD_STAR_CHECK(pattern);
  ------------------
  |  | 5951|    574|    ((N)->kind == MatchStar_kind && !(N)->v.MatchStar.name)
  |  |  ------------------
  |  |  |  Branch (5951:6): [True: 574, False: 0]
  |  |  |  Branch (5951:37): [True: 387, False: 187]
  |  |  ------------------
  ------------------
 6603|    574|            only_wildcard &= star_wildcard;
 6604|    574|            star = i;
 6605|    574|            continue;
 6606|    577|        }
 6607|  7.13k|        only_wildcard &= WILDCARD_CHECK(pattern);
  ------------------
  |  | 5948|  7.13k|    ((N)->kind == MatchAs_kind && !(N)->v.MatchAs.name)
  |  |  ------------------
  |  |  |  Branch (5948:6): [True: 2.93k, False: 4.20k]
  |  |  |  Branch (5948:35): [True: 877, False: 2.06k]
  |  |  ------------------
  ------------------
 6608|  7.13k|    }
 6609|       |    // We need to keep the subject on top during the sequence and length checks:
 6610|  1.06k|    pc->on_top++;
 6611|  1.06k|    ADDOP(c, LOC(p), MATCH_SEQUENCE);
  ------------------
  |  |  294|  1.06k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.06k|    do {                    \
  |  |  |  |   52|  1.06k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.06k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.06k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.06k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6612|  1.06k|    RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|  1.06k|    do {                    \
  |  |   52|  1.06k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.06k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.06k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.06k]
  |  |  ------------------
  ------------------
 6613|  1.06k|    if (star < 0) {
  ------------------
  |  Branch (6613:9): [True: 491, False: 571]
  ------------------
 6614|       |        // No star: len(subject) == size
 6615|    491|        ADDOP(c, LOC(p), GET_LEN);
  ------------------
  |  |  294|    491|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    491|    do {                    \
  |  |  |  |   52|    491|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 491]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    491|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 491]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6616|    491|        ADDOP_LOAD_CONST_NEW(c, LOC(p), PyLong_FromSsize_t(size));
  ------------------
  |  |  329|    491|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    491|    do {                    \
  |  |  |  |   52|    491|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 491]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    491|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 491]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6617|    491|        ADDOP_COMPARE(c, LOC(p), Eq);
  ------------------
  |  |  438|    491|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|    491|    do {                    \
  |  |  |  |   52|    491|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 491]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    491|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 491]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6618|    491|        RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|    491|    do {                    \
  |  |   52|    491|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 491]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    491|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 491]
  |  |  ------------------
  ------------------
 6619|    491|    }
 6620|    571|    else if (size > 1) {
  ------------------
  |  Branch (6620:14): [True: 452, False: 119]
  ------------------
 6621|       |        // Star: len(subject) >= size - 1
 6622|    452|        ADDOP(c, LOC(p), GET_LEN);
  ------------------
  |  |  294|    452|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    452|    do {                    \
  |  |  |  |   52|    452|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 452]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    452|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 452]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6623|    452|        ADDOP_LOAD_CONST_NEW(c, LOC(p), PyLong_FromSsize_t(size - 1));
  ------------------
  |  |  329|    452|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    452|    do {                    \
  |  |  |  |   52|    452|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 452]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    452|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 452]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6624|    452|        ADDOP_COMPARE(c, LOC(p), GtE);
  ------------------
  |  |  438|    452|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|    452|    do {                    \
  |  |  |  |   52|    452|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 452]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    452|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 452]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6625|    452|        RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|    452|    do {                    \
  |  |   52|    452|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 452]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    452|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 452]
  |  |  ------------------
  ------------------
 6626|    452|    }
 6627|       |    // Whatever comes next should consume the subject:
 6628|  1.06k|    pc->on_top--;
 6629|  1.06k|    if (only_wildcard) {
  ------------------
  |  Branch (6629:9): [True: 91, False: 971]
  ------------------
 6630|       |        // Patterns like: [] / [_] / [_, _] / [*_] / [_, *_] / [_, _, *_] / etc.
 6631|     91|        ADDOP(c, LOC(p), POP_TOP);
  ------------------
  |  |  294|     91|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     91|    do {                    \
  |  |  |  |   52|     91|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 91]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     91|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6632|     91|    }
 6633|    971|    else if (star_wildcard) {
  ------------------
  |  Branch (6633:14): [True: 329, False: 642]
  ------------------
 6634|    329|        RETURN_IF_ERROR(pattern_helper_sequence_subscr(c, LOC(p), patterns, star, pc));
  ------------------
  |  |   51|    329|    do {                    \
  |  |   52|    329|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 11, False: 318]
  |  |  ------------------
  |  |   53|     11|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     11|#define ERROR -1
  |  |  ------------------
  |  |   54|     11|        }                   \
  |  |   55|    329|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 318]
  |  |  ------------------
  ------------------
 6635|    329|    }
 6636|    642|    else {
 6637|    642|        RETURN_IF_ERROR(pattern_helper_sequence_unpack(c, LOC(p), patterns, star, pc));
  ------------------
  |  |   51|    642|    do {                    \
  |  |   52|    642|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 89, False: 553]
  |  |  ------------------
  |  |   53|     89|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     89|#define ERROR -1
  |  |  ------------------
  |  |   54|     89|        }                   \
  |  |   55|    642|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 553]
  |  |  ------------------
  ------------------
 6638|    642|    }
 6639|    962|    return SUCCESS;
  ------------------
  |  |   47|    962|#define SUCCESS 0
  ------------------
 6640|  1.06k|}
codegen.c:pattern_helper_sequence_subscr:
 6110|    329|{
 6111|       |    // We need to keep the subject around for extracting elements:
 6112|    329|    pc->on_top++;
 6113|    329|    Py_ssize_t size = asdl_seq_LEN(patterns);
  ------------------
  |  |   83|    329|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    658|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 329]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6114|  1.74k|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (6114:28): [True: 1.42k, False: 318]
  ------------------
 6115|  1.42k|        pattern_ty pattern = asdl_seq_GET(patterns, i);
  ------------------
  |  |   82|  1.42k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.42k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6116|  1.42k|        if (WILDCARD_CHECK(pattern)) {
  ------------------
  |  | 5948|  1.42k|    ((N)->kind == MatchAs_kind && !(N)->v.MatchAs.name)
  |  |  ------------------
  |  |  |  Branch (5948:6): [True: 908, False: 517]
  |  |  |  Branch (5948:35): [True: 203, False: 705]
  |  |  ------------------
  ------------------
 6117|    203|            continue;
 6118|    203|        }
 6119|  1.22k|        if (i == star) {
  ------------------
  |  Branch (6119:13): [True: 328, False: 894]
  ------------------
 6120|    328|            assert(WILDCARD_STAR_CHECK(pattern));
  ------------------
  |  Branch (6120:13): [True: 328, False: 0]
  |  Branch (6120:13): [True: 328, False: 0]
  ------------------
 6121|    328|            continue;
 6122|    328|        }
 6123|    894|        ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  280|    894|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    894|    do {                    \
  |  |  |  |   52|    894|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 894]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    894|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 894]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6124|    894|        if (i < star) {
  ------------------
  |  Branch (6124:13): [True: 192, False: 702]
  ------------------
 6125|    192|            ADDOP_LOAD_CONST_NEW(c, loc, PyLong_FromSsize_t(i));
  ------------------
  |  |  329|    192|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    192|    do {                    \
  |  |  |  |   52|    192|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 192]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    192|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 192]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6126|    192|        }
 6127|    702|        else {
 6128|       |            // The subject may not support negative indexing! Compute a
 6129|       |            // nonnegative index:
 6130|    702|            ADDOP(c, loc, GET_LEN);
  ------------------
  |  |  294|    702|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    702|    do {                    \
  |  |  |  |   52|    702|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 702]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    702|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 702]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6131|    702|            ADDOP_LOAD_CONST_NEW(c, loc, PyLong_FromSsize_t(size - i));
  ------------------
  |  |  329|    702|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    702|    do {                    \
  |  |  |  |   52|    702|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 702]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    702|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 702]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6132|    702|            ADDOP_BINARY(c, loc, Sub);
  ------------------
  |  |  441|    702|    RETURN_IF_ERROR(addop_binary((C), (LOC), (BINOP), false))
  |  |  ------------------
  |  |  |  |   51|    702|    do {                    \
  |  |  |  |   52|    702|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 702]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    702|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 702]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6133|    702|        }
 6134|    894|        ADDOP_I(c, loc, BINARY_OP, NB_SUBSCR);
  ------------------
  |  |  280|    894|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    894|    do {                    \
  |  |  |  |   52|    894|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 894]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    894|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 894]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6135|    894|        RETURN_IF_ERROR(codegen_pattern_subpattern(c, pattern, pc));
  ------------------
  |  |   51|    894|    do {                    \
  |  |   52|    894|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 11, False: 883]
  |  |  ------------------
  |  |   53|     11|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     11|#define ERROR -1
  |  |  ------------------
  |  |   54|     11|        }                   \
  |  |   55|    894|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 883]
  |  |  ------------------
  ------------------
 6136|    894|    }
 6137|       |    // Pop the subject, we're done with it:
 6138|    318|    pc->on_top--;
 6139|    318|    ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  294|    318|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    318|    do {                    \
  |  |  |  |   52|    318|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 318]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    318|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 318]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6140|    318|    return SUCCESS;
  ------------------
  |  |   47|    318|#define SUCCESS 0
  ------------------
 6141|    318|}
codegen.c:codegen_pattern_subpattern:
 6147|  7.97k|{
 6148|  7.97k|    int allow_irrefutable = pc->allow_irrefutable;
 6149|  7.97k|    pc->allow_irrefutable = 1;
 6150|  7.97k|    RETURN_IF_ERROR(codegen_pattern(c, p, pc));
  ------------------
  |  |   51|  7.97k|    do {                    \
  |  |   52|  7.97k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 147, False: 7.83k]
  |  |  ------------------
  |  |   53|    147|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|    147|#define ERROR -1
  |  |  ------------------
  |  |   54|    147|        }                   \
  |  |   55|  7.97k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 7.83k]
  |  |  ------------------
  ------------------
 6151|  7.83k|    pc->allow_irrefutable = allow_irrefutable;
 6152|  7.83k|    return SUCCESS;
  ------------------
  |  |   47|  7.83k|#define SUCCESS 0
  ------------------
 6153|  7.97k|}
codegen.c:pattern_helper_sequence_unpack:
 6088|    642|{
 6089|    642|    RETURN_IF_ERROR(codegen_pattern_unpack_helper(c, loc, patterns));
  ------------------
  |  |   51|    642|    do {                    \
  |  |   52|    642|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 642]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    642|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 642]
  |  |  ------------------
  ------------------
 6090|    642|    Py_ssize_t size = asdl_seq_LEN(patterns);
  ------------------
  |  |   83|    642|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  1.28k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 642]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6091|       |    // We've now got a bunch of new subjects on the stack. They need to remain
 6092|       |    // there after each subpattern match:
 6093|    642|    pc->on_top += size;
 6094|  4.99k|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (6094:28): [True: 4.43k, False: 553]
  ------------------
 6095|       |        // One less item to keep track of each time we loop through:
 6096|  4.43k|        pc->on_top--;
 6097|  4.43k|        pattern_ty pattern = asdl_seq_GET(patterns, i);
  ------------------
  |  |   82|  4.43k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  4.43k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6098|  4.43k|        RETURN_IF_ERROR(codegen_pattern_subpattern(c, pattern, pc));
  ------------------
  |  |   51|  4.43k|    do {                    \
  |  |   52|  4.43k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 89, False: 4.34k]
  |  |  ------------------
  |  |   53|     89|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     89|#define ERROR -1
  |  |  ------------------
  |  |   54|     89|        }                   \
  |  |   55|  4.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 4.34k]
  |  |  ------------------
  ------------------
 6099|  4.43k|    }
 6100|    553|    return SUCCESS;
  ------------------
  |  |   47|    553|#define SUCCESS 0
  ------------------
 6101|    642|}
codegen.c:codegen_pattern_unpack_helper:
 6058|    642|{
 6059|    642|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|    642|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  1.28k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 642]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6060|    642|    int seen_star = 0;
 6061|  6.83k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (6061:28): [True: 6.19k, False: 642]
  ------------------
 6062|  6.19k|        pattern_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|  6.19k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  6.19k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6063|  6.19k|        if (elt->kind == MatchStar_kind && !seen_star) {
  ------------------
  |  Branch (6063:13): [True: 185, False: 6.00k]
  |  Branch (6063:44): [True: 185, False: 0]
  ------------------
 6064|    185|            if ((i >= (1 << 8)) ||
  ------------------
  |  Branch (6064:17): [True: 0, False: 185]
  ------------------
 6065|    185|                (n-i-1 >= (INT_MAX >> 8))) {
  ------------------
  |  Branch (6065:17): [True: 0, False: 185]
  ------------------
 6066|      0|                return _PyCompile_Error(c, loc,
 6067|      0|                    "too many expressions in "
 6068|      0|                    "star-unpacking sequence pattern");
 6069|      0|            }
 6070|    185|            ADDOP_I(c, loc, UNPACK_EX, (i + ((n-i-1) << 8)));
  ------------------
  |  |  280|    185|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    185|    do {                    \
  |  |  |  |   52|    185|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 185]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    185|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 185]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6071|    185|            seen_star = 1;
 6072|    185|        }
 6073|  6.00k|        else if (elt->kind == MatchStar_kind) {
  ------------------
  |  Branch (6073:18): [True: 0, False: 6.00k]
  ------------------
 6074|      0|            return _PyCompile_Error(c, loc,
 6075|      0|                "multiple starred expressions in sequence pattern");
 6076|      0|        }
 6077|  6.19k|    }
 6078|    642|    if (!seen_star) {
  ------------------
  |  Branch (6078:9): [True: 457, False: 185]
  ------------------
 6079|    457|        ADDOP_I(c, loc, UNPACK_SEQUENCE, n);
  ------------------
  |  |  280|    457|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    457|    do {                    \
  |  |  |  |   52|    457|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 457]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    457|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 457]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6080|    457|    }
 6081|    642|    return SUCCESS;
  ------------------
  |  |   47|    642|#define SUCCESS 0
  ------------------
 6082|    642|}
codegen.c:codegen_pattern_mapping:
 6314|    489|{
 6315|    489|    assert(p->kind == MatchMapping_kind);
  ------------------
  |  Branch (6315:5): [True: 489, False: 0]
  ------------------
 6316|    489|    asdl_expr_seq *keys = p->v.MatchMapping.keys;
 6317|    489|    asdl_pattern_seq *patterns = p->v.MatchMapping.patterns;
 6318|    489|    Py_ssize_t size = asdl_seq_LEN(keys);
  ------------------
  |  |   83|    489|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    978|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 98, False: 391]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6319|    489|    Py_ssize_t npatterns = asdl_seq_LEN(patterns);
  ------------------
  |  |   83|    489|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    978|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 98, False: 391]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6320|    489|    if (size != npatterns) {
  ------------------
  |  Branch (6320:9): [True: 0, False: 489]
  ------------------
 6321|       |        // AST validator shouldn't let this happen, but if it does,
 6322|       |        // just fail, don't crash out of the interpreter
 6323|      0|        const char * e = "keys (%d) / patterns (%d) length mismatch in mapping pattern";
 6324|      0|        return _PyCompile_Error(c, LOC(p), e, size, npatterns);
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 6325|      0|    }
 6326|       |    // We have a double-star target if "rest" is set
 6327|    489|    PyObject *star_target = p->v.MatchMapping.rest;
 6328|       |    // We need to keep the subject on top during the mapping and length checks:
 6329|    489|    pc->on_top++;
 6330|    489|    ADDOP(c, LOC(p), MATCH_MAPPING);
  ------------------
  |  |  294|    489|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    489|    do {                    \
  |  |  |  |   52|    489|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 489]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    489|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 489]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6331|    489|    RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|    489|    do {                    \
  |  |   52|    489|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 489]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    489|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 489]
  |  |  ------------------
  ------------------
 6332|    489|    if (!size && !star_target) {
  ------------------
  |  Branch (6332:9): [True: 98, False: 391]
  |  Branch (6332:18): [True: 98, False: 0]
  ------------------
 6333|       |        // If the pattern is just "{}", we're done! Pop the subject:
 6334|     98|        pc->on_top--;
 6335|     98|        ADDOP(c, LOC(p), POP_TOP);
  ------------------
  |  |  294|     98|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     98|    do {                    \
  |  |  |  |   52|     98|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 98]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     98|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 98]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6336|     98|        return SUCCESS;
  ------------------
  |  |   47|     98|#define SUCCESS 0
  ------------------
 6337|     98|    }
 6338|    391|    if (size) {
  ------------------
  |  Branch (6338:9): [True: 391, False: 0]
  ------------------
 6339|       |        // If the pattern has any keys in it, perform a length check:
 6340|    391|        ADDOP(c, LOC(p), GET_LEN);
  ------------------
  |  |  294|    391|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    391|    do {                    \
  |  |  |  |   52|    391|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 391]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    391|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 391]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6341|    391|        ADDOP_LOAD_CONST_NEW(c, LOC(p), PyLong_FromSsize_t(size));
  ------------------
  |  |  329|    391|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    391|    do {                    \
  |  |  |  |   52|    391|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 391]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    391|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 391]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6342|    391|        ADDOP_COMPARE(c, LOC(p), GtE);
  ------------------
  |  |  438|    391|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|    391|    do {                    \
  |  |  |  |   52|    391|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 391]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    391|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 391]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6343|    391|        RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|    391|    do {                    \
  |  |   52|    391|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 391]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    391|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 391]
  |  |  ------------------
  ------------------
 6344|    391|    }
 6345|    391|    if (INT_MAX < size - 1) {
  ------------------
  |  Branch (6345:9): [True: 0, False: 391]
  ------------------
 6346|      0|        return _PyCompile_Error(c, LOC(p), "too many sub-patterns in mapping pattern");
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 6347|      0|    }
 6348|       |    // Collect all of the keys into a tuple for MATCH_KEYS and
 6349|       |    // **rest. They can either be dotted names or literals:
 6350|       |
 6351|       |    // Maintaining a set of Constant_kind kind keys allows us to raise a
 6352|       |    // SyntaxError in the case of duplicates.
 6353|    391|    PyObject *seen = PySet_New(NULL);
 6354|    391|    if (seen == NULL) {
  ------------------
  |  Branch (6354:9): [True: 0, False: 391]
  ------------------
 6355|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 6356|      0|    }
 6357|    905|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (6357:28): [True: 523, False: 382]
  ------------------
 6358|    523|        if (codegen_pattern_mapping_key(c, seen, p, i) < 0) {
  ------------------
  |  Branch (6358:13): [True: 9, False: 514]
  ------------------
 6359|      9|            Py_DECREF(seen);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6360|      9|            return ERROR;
  ------------------
  |  |   48|      9|#define ERROR -1
  ------------------
 6361|      9|        }
 6362|    523|    }
 6363|    382|    Py_DECREF(seen);
  ------------------
  |  |  430|    382|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    382|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    382|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6364|       |
 6365|       |    // all keys have been checked; there are no duplicates
 6366|       |
 6367|    382|    ADDOP_I(c, LOC(p), BUILD_TUPLE, size);
  ------------------
  |  |  280|    382|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    382|    do {                    \
  |  |  |  |   52|    382|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 382]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    382|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 382]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6368|    382|    ADDOP(c, LOC(p), MATCH_KEYS);
  ------------------
  |  |  294|    382|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    382|    do {                    \
  |  |  |  |   52|    382|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 382]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    382|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 382]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6369|       |    // There's now a tuple of keys and a tuple of values on top of the subject:
 6370|    382|    pc->on_top += 2;
 6371|    382|    ADDOP_I(c, LOC(p), COPY, 1);
  ------------------
  |  |  280|    382|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    382|    do {                    \
  |  |  |  |   52|    382|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 382]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    382|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 382]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6372|    382|    ADDOP_LOAD_CONST(c, LOC(p), Py_None);
  ------------------
  |  |  311|    382|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    382|    do {                    \
  |  |  |  |   52|    382|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 382]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    382|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 382]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6373|    382|    ADDOP_I(c, LOC(p), IS_OP, 1);
  ------------------
  |  |  280|    382|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    382|    do {                    \
  |  |  |  |   52|    382|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 382]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    382|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 382]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6374|    382|    RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|    382|    do {                    \
  |  |   52|    382|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 382]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    382|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 382]
  |  |  ------------------
  ------------------
 6375|       |    // So far so good. Use that tuple of values on the stack to match
 6376|       |    // sub-patterns against:
 6377|    382|    ADDOP_I(c, LOC(p), UNPACK_SEQUENCE, size);
  ------------------
  |  |  280|    382|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    382|    do {                    \
  |  |  |  |   52|    382|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 382]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    382|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 382]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6378|    382|    pc->on_top += size - 1;
 6379|    836|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (6379:28): [True: 456, False: 380]
  ------------------
 6380|    456|        pc->on_top--;
 6381|    456|        pattern_ty pattern = asdl_seq_GET(patterns, i);
  ------------------
  |  |   82|    456|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    456|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6382|    456|        RETURN_IF_ERROR(codegen_pattern_subpattern(c, pattern, pc));
  ------------------
  |  |   51|    456|    do {                    \
  |  |   52|    456|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 2, False: 454]
  |  |  ------------------
  |  |   53|      2|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      2|#define ERROR -1
  |  |  ------------------
  |  |   54|      2|        }                   \
  |  |   55|    456|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 454]
  |  |  ------------------
  ------------------
 6383|    456|    }
 6384|       |    // If we get this far, it's a match! Whatever happens next should consume
 6385|       |    // the tuple of keys and the subject:
 6386|    380|    pc->on_top -= 2;
 6387|    380|    if (star_target) {
  ------------------
  |  Branch (6387:9): [True: 3, False: 377]
  ------------------
 6388|       |        // If we have a starred name, bind a dict of remaining items to it (this may
 6389|       |        // seem a bit inefficient, but keys is rarely big enough to actually impact
 6390|       |        // runtime):
 6391|       |        // rest = dict(TOS1)
 6392|       |        // for key in TOS:
 6393|       |        //     del rest[key]
 6394|      3|        ADDOP_I(c, LOC(p), BUILD_MAP, 0);           // [subject, keys, empty]
  ------------------
  |  |  280|      3|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6395|      3|        ADDOP_I(c, LOC(p), SWAP, 3);                // [empty, keys, subject]
  ------------------
  |  |  280|      3|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6396|      3|        ADDOP_I(c, LOC(p), DICT_UPDATE, 2);         // [copy, keys]
  ------------------
  |  |  280|      3|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6397|      3|        ADDOP_I(c, LOC(p), UNPACK_SEQUENCE, size);  // [copy, keys...]
  ------------------
  |  |  280|      3|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6398|      7|        while (size) {
  ------------------
  |  Branch (6398:16): [True: 4, False: 3]
  ------------------
 6399|      4|            ADDOP_I(c, LOC(p), COPY, 1 + size--);   // [copy, keys..., copy]
  ------------------
  |  |  280|      4|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      4|    do {                    \
  |  |  |  |   52|      4|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6400|      4|            ADDOP_I(c, LOC(p), SWAP, 2);            // [copy, keys..., copy, key]
  ------------------
  |  |  280|      4|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      4|    do {                    \
  |  |  |  |   52|      4|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6401|      4|            ADDOP(c, LOC(p), DELETE_SUBSCR);        // [copy, keys...]
  ------------------
  |  |  294|      4|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      4|    do {                    \
  |  |  |  |   52|      4|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6402|      4|        }
 6403|      3|        RETURN_IF_ERROR(codegen_pattern_helper_store_name(c, LOC(p), star_target, pc));
  ------------------
  |  |   51|      3|    do {                    \
  |  |   52|      3|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 6404|      3|    }
 6405|    377|    else {
 6406|    377|        ADDOP(c, LOC(p), POP_TOP);  // Tuple of keys.
  ------------------
  |  |  294|    377|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    377|    do {                    \
  |  |  |  |   52|    377|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 377]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    377|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 377]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6407|    377|        ADDOP(c, LOC(p), POP_TOP);  // Subject.
  ------------------
  |  |  294|    377|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    377|    do {                    \
  |  |  |  |   52|    377|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 377]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    377|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 377]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6408|    377|    }
 6409|    380|    return SUCCESS;
  ------------------
  |  |   47|    380|#define SUCCESS 0
  ------------------
 6410|    380|}
codegen.c:codegen_pattern_mapping_key:
 6283|    523|{
 6284|    523|    asdl_expr_seq *keys = p->v.MatchMapping.keys;
 6285|    523|    asdl_pattern_seq *patterns = p->v.MatchMapping.patterns;
 6286|    523|    expr_ty key = asdl_seq_GET(keys, i);
  ------------------
  |  |   82|    523|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    523|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6287|    523|    if (key == NULL) {
  ------------------
  |  Branch (6287:9): [True: 0, False: 523]
  ------------------
 6288|      0|        const char *e = "can't use NULL keys in MatchMapping "
 6289|      0|                        "(set 'rest' parameter instead)";
 6290|      0|        location loc = LOC((pattern_ty) asdl_seq_GET(patterns, i));
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 6291|      0|        return _PyCompile_Error(c, loc, e);
 6292|      0|    }
 6293|       |
 6294|    523|    if (key->kind == Constant_kind) {
  ------------------
  |  Branch (6294:9): [True: 485, False: 38]
  ------------------
 6295|    485|        int in_seen = PySet_Contains(seen, key->v.Constant.value);
 6296|    485|        RETURN_IF_ERROR(in_seen);
  ------------------
  |  |   51|    485|    do {                    \
  |  |   52|    485|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 485]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    485|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 485]
  |  |  ------------------
  ------------------
 6297|    485|        if (in_seen) {
  ------------------
  |  Branch (6297:13): [True: 8, False: 477]
  ------------------
 6298|      8|            const char *e = "mapping pattern checks duplicate key (%R)";
 6299|      8|            return _PyCompile_Error(c, LOC(p), e, key->v.Constant.value);
  ------------------
  |  |   88|      8|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      8|    (_Py_SourceLocation){ \
  |  |  |  |   59|      8|               .lineno = (n)->lineno, \
  |  |  |  |   60|      8|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      8|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      8|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6300|      8|        }
 6301|    477|        RETURN_IF_ERROR(PySet_Add(seen, key->v.Constant.value));
  ------------------
  |  |   51|    477|    do {                    \
  |  |   52|    477|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 477]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    477|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 477]
  |  |  ------------------
  ------------------
 6302|    477|    }
 6303|     38|    else if (key->kind != Attribute_kind) {
  ------------------
  |  Branch (6303:14): [True: 1, False: 37]
  ------------------
 6304|      1|        const char *e = "mapping pattern keys may only match literals and attribute lookups";
 6305|      1|        return _PyCompile_Error(c, LOC(p), 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 }
  |  |  ------------------
  ------------------
 6306|      1|    }
 6307|    514|    VISIT(c, expr, key);
  ------------------
  |  |  460|    514|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    514|    do {                    \
  |  |  |  |   52|    514|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 514]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    514|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 514]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6308|    514|    return SUCCESS;
  ------------------
  |  |   47|    514|#define SUCCESS 0
  ------------------
 6309|    514|}
codegen.c:codegen_pattern_helper_store_name:
 6036|  3.38k|{
 6037|  3.38k|    if (n == NULL) {
  ------------------
  |  Branch (6037:9): [True: 672, False: 2.71k]
  ------------------
 6038|    672|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  294|    672|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    672|    do {                    \
  |  |  |  |   52|    672|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 672]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    672|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 672]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6039|    672|        return SUCCESS;
  ------------------
  |  |   47|    672|#define SUCCESS 0
  ------------------
 6040|    672|    }
 6041|       |    // Can't assign to the same name twice:
 6042|  2.71k|    int duplicate = PySequence_Contains(pc->stores, n);
 6043|  2.71k|    RETURN_IF_ERROR(duplicate);
  ------------------
  |  |   51|  2.71k|    do {                    \
  |  |   52|  2.71k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.71k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.71k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.71k]
  |  |  ------------------
  ------------------
 6044|  2.71k|    if (duplicate) {
  ------------------
  |  Branch (6044:9): [True: 33, False: 2.68k]
  ------------------
 6045|     33|        return codegen_error_duplicate_store(c, loc, n);
 6046|     33|    }
 6047|       |    // Rotate this object underneath any items we need to preserve:
 6048|  2.68k|    Py_ssize_t rotations = pc->on_top + PyList_GET_SIZE(pc->stores) + 1;
  ------------------
  |  |   38|  2.68k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6049|  2.68k|    RETURN_IF_ERROR(codegen_pattern_helper_rotate(c, loc, rotations));
  ------------------
  |  |   51|  2.68k|    do {                    \
  |  |   52|  2.68k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.68k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.68k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.68k]
  |  |  ------------------
  ------------------
 6050|  2.68k|    RETURN_IF_ERROR(PyList_Append(pc->stores, n));
  ------------------
  |  |   51|  2.68k|    do {                    \
  |  |   52|  2.68k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.68k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.68k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.68k]
  |  |  ------------------
  ------------------
 6051|  2.68k|    return SUCCESS;
  ------------------
  |  |   47|  2.68k|#define SUCCESS 0
  ------------------
 6052|  2.68k|}
codegen.c:codegen_error_duplicate_store:
 6018|     36|{
 6019|     36|    return _PyCompile_Error(c, loc,
 6020|     36|        "multiple assignments to name %R in pattern", n);
 6021|     36|}
codegen.c:codegen_pattern_helper_rotate:
 6026|  2.73k|{
 6027|  19.3k|    while (1 < count) {
  ------------------
  |  Branch (6027:12): [True: 16.6k, False: 2.73k]
  ------------------
 6028|  16.6k|        ADDOP_I(c, loc, SWAP, count--);
  ------------------
  |  |  280|  16.6k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  16.6k|    do {                    \
  |  |  |  |   52|  16.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 16.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  16.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6029|  16.6k|    }
 6030|  2.73k|    return SUCCESS;
  ------------------
  |  |   47|  2.73k|#define SUCCESS 0
  ------------------
 6031|  2.73k|}
codegen.c:codegen_pattern_class:
 6212|  1.46k|{
 6213|  1.46k|    assert(p->kind == MatchClass_kind);
  ------------------
  |  Branch (6213:5): [True: 1.46k, False: 0]
  ------------------
 6214|  1.46k|    asdl_pattern_seq *patterns = p->v.MatchClass.patterns;
 6215|  1.46k|    asdl_identifier_seq *kwd_attrs = p->v.MatchClass.kwd_attrs;
 6216|  1.46k|    asdl_pattern_seq *kwd_patterns = p->v.MatchClass.kwd_patterns;
 6217|  1.46k|    Py_ssize_t nargs = asdl_seq_LEN(patterns);
  ------------------
  |  |   83|  1.46k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  2.93k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 448, False: 1.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6218|  1.46k|    Py_ssize_t nattrs = asdl_seq_LEN(kwd_attrs);
  ------------------
  |  |   83|  1.46k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  2.93k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.32k, False: 141]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6219|  1.46k|    Py_ssize_t nkwd_patterns = asdl_seq_LEN(kwd_patterns);
  ------------------
  |  |   83|  1.46k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  2.93k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.32k, False: 141]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6220|  1.46k|    if (nattrs != nkwd_patterns) {
  ------------------
  |  Branch (6220:9): [True: 0, False: 1.46k]
  ------------------
 6221|       |        // AST validator shouldn't let this happen, but if it does,
 6222|       |        // just fail, don't crash out of the interpreter
 6223|      0|        const char * e = "kwd_attrs (%d) / kwd_patterns (%d) length mismatch in class pattern";
 6224|      0|        return _PyCompile_Error(c, LOC(p), e, nattrs, nkwd_patterns);
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 6225|      0|    }
 6226|  1.46k|    if (INT_MAX < nargs || INT_MAX < nargs + nattrs - 1) {
  ------------------
  |  Branch (6226:9): [True: 0, False: 1.46k]
  |  Branch (6226:28): [True: 0, False: 1.46k]
  ------------------
 6227|      0|        const char *e = "too many sub-patterns in class pattern %R";
 6228|      0|        return _PyCompile_Error(c, LOC(p), e, p->v.MatchClass.cls);
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 6229|      0|    }
 6230|  1.46k|    if (nattrs) {
  ------------------
  |  Branch (6230:9): [True: 141, False: 1.32k]
  ------------------
 6231|    141|        RETURN_IF_ERROR(validate_kwd_attrs(c, kwd_attrs, kwd_patterns));
  ------------------
  |  |   51|    141|    do {                    \
  |  |   52|    141|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 9, False: 132]
  |  |  ------------------
  |  |   53|      9|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      9|#define ERROR -1
  |  |  ------------------
  |  |   54|      9|        }                   \
  |  |   55|    141|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 132]
  |  |  ------------------
  ------------------
 6232|    141|    }
 6233|  1.45k|    if (nargs + nattrs == 0) {
  ------------------
  |  Branch (6233:9): [True: 443, False: 1.01k]
  ------------------
 6234|       |        // Fast path if there are no sub-patterns
 6235|    443|        VISIT(c, expr, p->v.MatchClass.cls);
  ------------------
  |  |  460|    443|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    443|    do {                    \
  |  |  |  |   52|    443|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 443]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    443|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 443]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6236|    443|        ADDOP_I(c, LOC(p), CALL_INTRINSIC_2, INTRINSIC_MATCH_CLASS_ISINSTANCE);
  ------------------
  |  |  280|    443|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    443|    do {                    \
  |  |  |  |   52|    443|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 443]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    443|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 443]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6237|    443|        RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|    443|    do {                    \
  |  |   52|    443|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 443]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    443|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 443]
  |  |  ------------------
  ------------------
 6238|    443|        return SUCCESS;
  ------------------
  |  |   47|    443|#define SUCCESS 0
  ------------------
 6239|    443|    }
 6240|  1.01k|    VISIT(c, expr, p->v.MatchClass.cls);
  ------------------
  |  |  460|  1.01k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.01k|    do {                    \
  |  |  |  |   52|  1.01k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.01k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.01k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6241|  1.01k|    PyObject *attr_names = PyTuple_New(nattrs);
 6242|  1.01k|    if (attr_names == NULL) {
  ------------------
  |  Branch (6242:9): [True: 0, False: 1.01k]
  ------------------
 6243|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 6244|      0|    }
 6245|  1.01k|    Py_ssize_t i;
 6246|  1.15k|    for (i = 0; i < nattrs; i++) {
  ------------------
  |  Branch (6246:17): [True: 138, False: 1.01k]
  ------------------
 6247|    138|        PyObject *name = asdl_seq_GET(kwd_attrs, i);
  ------------------
  |  |   82|    138|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    138|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6248|    138|        PyTuple_SET_ITEM(attr_names, i, Py_NewRef(name));
  ------------------
  |  |   40|    138|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    138|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    138|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    138|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6249|    138|    }
 6250|  1.01k|    ADDOP_LOAD_CONST_NEW(c, LOC(p), attr_names);
  ------------------
  |  |  329|  1.01k|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.01k|    do {                    \
  |  |  |  |   52|  1.01k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.01k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.01k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6251|  1.01k|    ADDOP_I(c, LOC(p), MATCH_CLASS, nargs);
  ------------------
  |  |  280|  1.01k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.01k|    do {                    \
  |  |  |  |   52|  1.01k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.01k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.01k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6252|  1.01k|    ADDOP_I(c, LOC(p), COPY, 1);
  ------------------
  |  |  280|  1.01k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.01k|    do {                    \
  |  |  |  |   52|  1.01k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.01k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.01k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6253|  1.01k|    ADDOP_LOAD_CONST(c, LOC(p), Py_None);
  ------------------
  |  |  311|  1.01k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.01k|    do {                    \
  |  |  |  |   52|  1.01k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.01k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.01k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6254|  1.01k|    ADDOP_I(c, LOC(p), IS_OP, 1);
  ------------------
  |  |  280|  1.01k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.01k|    do {                    \
  |  |  |  |   52|  1.01k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.01k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.01k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6255|       |    // TOS is now a tuple of (nargs + nattrs) attributes (or None):
 6256|  1.01k|    pc->on_top++;
 6257|  1.01k|    RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|  1.01k|    do {                    \
  |  |   52|  1.01k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.01k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.01k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.01k]
  |  |  ------------------
  ------------------
 6258|  1.01k|    ADDOP_I(c, LOC(p), UNPACK_SEQUENCE, nargs + nattrs);
  ------------------
  |  |  280|  1.01k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.01k|    do {                    \
  |  |  |  |   52|  1.01k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.01k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.01k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6259|  1.01k|    pc->on_top += nargs + nattrs - 1;
 6260|  3.20k|    for (i = 0; i < nargs + nattrs; i++) {
  ------------------
  |  Branch (6260:17): [True: 2.23k, False: 968]
  ------------------
 6261|  2.23k|        pc->on_top--;
 6262|  2.23k|        pattern_ty pattern;
 6263|  2.23k|        if (i < nargs) {
  ------------------
  |  Branch (6263:13): [True: 2.11k, False: 128]
  ------------------
 6264|       |            // Positional:
 6265|  2.11k|            pattern = asdl_seq_GET(patterns, i);
  ------------------
  |  |   82|  2.11k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  2.11k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6266|  2.11k|        }
 6267|    128|        else {
 6268|       |            // Keyword:
 6269|    128|            pattern = asdl_seq_GET(kwd_patterns, i - nargs);
  ------------------
  |  |   82|    128|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    128|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6270|    128|        }
 6271|  2.23k|        if (WILDCARD_CHECK(pattern)) {
  ------------------
  |  | 5948|  2.23k|    ((N)->kind == MatchAs_kind && !(N)->v.MatchAs.name)
  |  |  ------------------
  |  |  |  Branch (5948:6): [True: 440, False: 1.79k]
  |  |  |  Branch (5948:35): [True: 49, False: 391]
  |  |  ------------------
  ------------------
 6272|     49|            ADDOP(c, LOC(p), POP_TOP);
  ------------------
  |  |  294|     49|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     49|    do {                    \
  |  |  |  |   52|     49|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 49]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     49|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6273|     49|            continue;
 6274|     49|        }
 6275|  2.19k|        RETURN_IF_ERROR(codegen_pattern_subpattern(c, pattern, pc));
  ------------------
  |  |   51|  2.19k|    do {                    \
  |  |   52|  2.19k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 45, False: 2.14k]
  |  |  ------------------
  |  |   53|     45|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     45|#define ERROR -1
  |  |  ------------------
  |  |   54|     45|        }                   \
  |  |   55|  2.19k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.14k]
  |  |  ------------------
  ------------------
 6276|  2.19k|    }
 6277|       |    // Success! Pop the tuple of attributes:
 6278|    968|    return SUCCESS;
  ------------------
  |  |   47|    968|#define SUCCESS 0
  ------------------
 6279|  1.01k|}
codegen.c:validate_kwd_attrs:
 6192|    141|{
 6193|       |    // Any errors will point to the pattern rather than the arg name as the
 6194|       |    // parser is only supplying identifiers rather than Name or keyword nodes
 6195|    141|    Py_ssize_t nattrs = asdl_seq_LEN(attrs);
  ------------------
  |  |   83|    141|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    282|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 141]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6196|    292|    for (Py_ssize_t i = 0; i < nattrs; i++) {
  ------------------
  |  Branch (6196:28): [True: 160, False: 132]
  ------------------
 6197|    160|        identifier attr = ((identifier)asdl_seq_GET(attrs, i));
  ------------------
  |  |   82|    160|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    160|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6198|  1.29k|        for (Py_ssize_t j = i + 1; j < nattrs; j++) {
  ------------------
  |  Branch (6198:36): [True: 1.14k, False: 151]
  ------------------
 6199|  1.14k|            identifier other = ((identifier)asdl_seq_GET(attrs, j));
  ------------------
  |  |   82|  1.14k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.14k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6200|  1.14k|            if (!PyUnicode_Compare(attr, other)) {
  ------------------
  |  Branch (6200:17): [True: 9, False: 1.13k]
  ------------------
 6201|      9|                location loc = LOC((pattern_ty) asdl_seq_GET(patterns, j));
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 6202|      9|                return _PyCompile_Error(c, loc, "attribute name repeated "
 6203|      9|                                                "in class pattern: %U", attr);
 6204|      9|            }
 6205|  1.14k|        }
 6206|    160|    }
 6207|    132|    return SUCCESS;
  ------------------
  |  |   47|    132|#define SUCCESS 0
  ------------------
 6208|    141|}
codegen.c:codegen_pattern_star:
 6183|    177|{
 6184|    177|    assert(p->kind == MatchStar_kind);
  ------------------
  |  Branch (6184:5): [True: 177, False: 0]
  ------------------
 6185|    177|    RETURN_IF_ERROR(
  ------------------
  |  |   51|    177|    do {                    \
  |  |   52|    177|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 177]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    177|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 177]
  |  |  ------------------
  ------------------
 6186|    177|        codegen_pattern_helper_store_name(c, LOC(p), p->v.MatchStar.name, pc));
 6187|    177|    return SUCCESS;
  ------------------
  |  |   47|    177|#define SUCCESS 0
  ------------------
 6188|    177|}
codegen.c:codegen_pattern_as:
 6157|  3.23k|{
 6158|  3.23k|    assert(p->kind == MatchAs_kind);
  ------------------
  |  Branch (6158:5): [True: 3.23k, False: 0]
  ------------------
 6159|  3.23k|    if (p->v.MatchAs.pattern == NULL) {
  ------------------
  |  Branch (6159:9): [True: 3.20k, False: 31]
  ------------------
 6160|       |        // An irrefutable match:
 6161|  3.20k|        if (!pc->allow_irrefutable) {
  ------------------
  |  Branch (6161:13): [True: 25, False: 3.17k]
  ------------------
 6162|     25|            if (p->v.MatchAs.name) {
  ------------------
  |  Branch (6162:17): [True: 18, False: 7]
  ------------------
 6163|     18|                const char *e = "name capture %R makes remaining patterns unreachable";
 6164|     18|                return _PyCompile_Error(c, LOC(p), e, p->v.MatchAs.name);
  ------------------
  |  |   88|     18|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|     18|    (_Py_SourceLocation){ \
  |  |  |  |   59|     18|               .lineno = (n)->lineno, \
  |  |  |  |   60|     18|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|     18|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|     18|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6165|     18|            }
 6166|      7|            const char *e = "wildcard makes remaining patterns unreachable";
 6167|      7|            return _PyCompile_Error(c, LOC(p), e);
  ------------------
  |  |   88|      7|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      7|    (_Py_SourceLocation){ \
  |  |  |  |   59|      7|               .lineno = (n)->lineno, \
  |  |  |  |   60|      7|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      7|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      7|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6168|     25|        }
 6169|  3.17k|        return codegen_pattern_helper_store_name(c, LOC(p), p->v.MatchAs.name, pc);
  ------------------
  |  |   88|  3.17k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  3.17k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  3.17k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  3.17k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  3.17k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  3.17k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6170|  3.20k|    }
 6171|       |    // Need to make a copy for (possibly) storing later:
 6172|     31|    pc->on_top++;
 6173|     31|    ADDOP_I(c, LOC(p), COPY, 1);
  ------------------
  |  |  280|     31|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     31|    do {                    \
  |  |  |  |   52|     31|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 31]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     31|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 31]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6174|     31|    RETURN_IF_ERROR(codegen_pattern(c, p->v.MatchAs.pattern, pc));
  ------------------
  |  |   51|     31|    do {                    \
  |  |   52|     31|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 3, False: 28]
  |  |  ------------------
  |  |   53|      3|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      3|#define ERROR -1
  |  |  ------------------
  |  |   54|      3|        }                   \
  |  |   55|     31|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 28]
  |  |  ------------------
  ------------------
 6175|       |    // Success! Store it:
 6176|     28|    pc->on_top--;
 6177|     28|    RETURN_IF_ERROR(codegen_pattern_helper_store_name(c, LOC(p), p->v.MatchAs.name, pc));
  ------------------
  |  |   51|     28|    do {                    \
  |  |   52|     28|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 8, False: 20]
  |  |  ------------------
  |  |   53|      8|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      8|#define ERROR -1
  |  |  ------------------
  |  |   54|      8|        }                   \
  |  |   55|     28|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 6178|     20|    return SUCCESS;
  ------------------
  |  |   47|     20|#define SUCCESS 0
  ------------------
 6179|     28|}
codegen.c:codegen_pattern_or:
 6414|    578|{
 6415|    578|    assert(p->kind == MatchOr_kind);
  ------------------
  |  Branch (6415:5): [True: 578, False: 0]
  ------------------
 6416|    578|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|    578|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    578|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    578|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    578|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    578|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 578]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 6417|    578|    Py_ssize_t size = asdl_seq_LEN(p->v.MatchOr.patterns);
  ------------------
  |  |   83|    578|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  1.15k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 578]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6418|    578|    assert(size > 1);
  ------------------
  |  Branch (6418:5): [True: 578, False: 0]
  ------------------
 6419|    578|    PyObject *mismatched_names = NULL;
 6420|    578|    Py_ssize_t mismatch_index = 0;
 6421|       |    // We're going to be messing with pc. Keep the original info handy:
 6422|    578|    pattern_context old_pc = *pc;
 6423|    578|    Py_INCREF(pc->stores);
  ------------------
  |  |  310|    578|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    578|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    578|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6424|       |    // control is the list of names bound by the first alternative. It is used
 6425|       |    // for checking different name bindings in alternatives, and for correcting
 6426|       |    // the order in which extracted elements are placed on the stack.
 6427|    578|    PyObject *control = NULL;
 6428|       |    // NOTE: We can't use returning macros anymore! goto error on error.
 6429|  1.99k|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (6429:28): [True: 1.50k, False: 483]
  ------------------
 6430|  1.50k|        pattern_ty alt = asdl_seq_GET(p->v.MatchOr.patterns, i);
  ------------------
  |  |   82|  1.50k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.50k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6431|  1.50k|        PyObject *pc_stores = PyList_New(0);
 6432|  1.50k|        if (pc_stores == NULL) {
  ------------------
  |  Branch (6432:13): [True: 0, False: 1.50k]
  ------------------
 6433|      0|            goto error;
 6434|      0|        }
 6435|  1.50k|        Py_SETREF(pc->stores, pc_stores);
  ------------------
  |  |  545|  1.50k|    do { \
  |  |  546|  1.50k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  1.50k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|  1.50k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  1.50k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|  1.50k|        *_tmp_dst_ptr = (src); \
  |  |  549|  1.50k|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|  1.50k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|  1.50k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 1.50k]
  |  |  ------------------
  ------------------
 6436|       |        // An irrefutable sub-pattern must be last, if it is allowed at all:
 6437|  1.50k|        pc->allow_irrefutable = (i == size - 1) && old_pc.allow_irrefutable;
  ------------------
  |  Branch (6437:33): [True: 551, False: 956]
  |  Branch (6437:52): [True: 549, False: 2]
  ------------------
 6438|  1.50k|        pc->fail_pop = NULL;
 6439|  1.50k|        pc->fail_pop_size = 0;
 6440|  1.50k|        pc->on_top = 0;
 6441|  1.50k|        if (codegen_addop_i(INSTR_SEQUENCE(c), COPY, 1, LOC(alt)) < 0 ||
  ------------------
  |  |   68|  1.50k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
                      if (codegen_addop_i(INSTR_SEQUENCE(c), COPY, 1, LOC(alt)) < 0 ||
  ------------------
  |  |   70|  1.50k|#define COPY                                    57
  ------------------
                      if (codegen_addop_i(INSTR_SEQUENCE(c), COPY, 1, LOC(alt)) < 0 ||
  ------------------
  |  |   88|  1.50k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.50k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.50k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.50k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.50k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.50k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (6441:13): [True: 0, False: 1.50k]
  ------------------
 6442|  1.50k|            codegen_pattern(c, alt, pc) < 0) {
  ------------------
  |  Branch (6442:13): [True: 43, False: 1.46k]
  ------------------
 6443|     43|            goto error;
 6444|     43|        }
 6445|       |        // Success!
 6446|  1.46k|        Py_ssize_t nstores = PyList_GET_SIZE(pc->stores);
  ------------------
  |  |   38|  1.46k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6447|  1.46k|        if (!i) {
  ------------------
  |  Branch (6447:13): [True: 557, False: 907]
  ------------------
 6448|       |            // This is the first alternative, so save its stores as a "control"
 6449|       |            // for the others (they can't bind a different set of names, and
 6450|       |            // might need to be reordered):
 6451|    557|            assert(control == NULL);
  ------------------
  |  Branch (6451:13): [True: 557, False: 0]
  ------------------
 6452|    557|            control = Py_NewRef(pc->stores);
  ------------------
  |  |  647|    557|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    557|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    557|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6453|    557|        }
 6454|    907|        else if (nstores != PyList_GET_SIZE(control)) {
  ------------------
  |  |   38|    907|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    907|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    907|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6454:18): [True: 44, False: 863]
  ------------------
 6455|     44|            mismatch_index = i;
 6456|     44|            mismatched_names = Py_NewRef(pc->stores);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6457|     44|            goto diff;
 6458|     44|        }
 6459|    863|        else if (nstores) {
  ------------------
  |  Branch (6459:18): [True: 71, False: 792]
  ------------------
 6460|       |            // There were captures. Check to see if we differ from control:
 6461|     71|            Py_ssize_t icontrol = nstores;
 6462|    195|            while (icontrol--) {
  ------------------
  |  Branch (6462:20): [True: 132, False: 63]
  ------------------
 6463|    132|                PyObject *name = PyList_GET_ITEM(control, icontrol);
  ------------------
  |  |   40|    132|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    132|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6463:34): [True: 132, False: 0]
  ------------------
 6464|      0|                Py_ssize_t istores = PySequence_Index(pc->stores, name);
 6465|    132|                if (istores < 0) {
  ------------------
  |  Branch (6465:21): [True: 8, False: 124]
  ------------------
 6466|      8|                    PyErr_Clear();
 6467|      8|                    mismatch_index = i;
 6468|      8|                    mismatched_names = Py_NewRef(pc->stores);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6469|      8|                    goto diff;
 6470|      8|                }
 6471|    124|                if (icontrol != istores) {
  ------------------
  |  Branch (6471:21): [True: 0, False: 124]
  ------------------
 6472|       |                    // Reorder the names on the stack to match the order of the
 6473|       |                    // names in control. There's probably a better way of doing
 6474|       |                    // this; the current solution is potentially very
 6475|       |                    // inefficient when each alternative subpattern binds lots
 6476|       |                    // of names in different orders. It's fine for reasonable
 6477|       |                    // cases, though, and the peephole optimizer will ensure
 6478|       |                    // that the final code is as efficient as possible.
 6479|      0|                    assert(istores < icontrol);
  ------------------
  |  Branch (6479:21): [True: 0, False: 0]
  ------------------
 6480|      0|                    Py_ssize_t rotations = istores + 1;
 6481|       |                    // Perform the same rotation on pc->stores:
 6482|      0|                    PyObject *rotated = PyList_GetSlice(pc->stores, 0,
 6483|      0|                                                        rotations);
 6484|      0|                    if (rotated == NULL ||
  ------------------
  |  Branch (6484:25): [True: 0, False: 0]
  ------------------
 6485|      0|                        PyList_SetSlice(pc->stores, 0, rotations, NULL) ||
  ------------------
  |  Branch (6485:25): [True: 0, False: 0]
  ------------------
 6486|      0|                        PyList_SetSlice(pc->stores, icontrol - istores,
  ------------------
  |  Branch (6486:25): [True: 0, False: 0]
  ------------------
 6487|      0|                                        icontrol - istores, rotated))
 6488|      0|                    {
 6489|      0|                        Py_XDECREF(rotated);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6490|      0|                        goto error;
 6491|      0|                    }
 6492|      0|                    Py_DECREF(rotated);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6493|       |                    // That just did:
 6494|       |                    // rotated = pc_stores[:rotations]
 6495|       |                    // del pc_stores[:rotations]
 6496|       |                    // pc_stores[icontrol-istores:icontrol-istores] = rotated
 6497|       |                    // Do the same thing to the stack, using several
 6498|       |                    // rotations:
 6499|      0|                    while (rotations--) {
  ------------------
  |  Branch (6499:28): [True: 0, False: 0]
  ------------------
 6500|      0|                        if (codegen_pattern_helper_rotate(c, LOC(alt), icontrol + 1) < 0) {
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
  |  Branch (6500:29): [True: 0, False: 0]
  ------------------
 6501|      0|                            goto error;
 6502|      0|                        }
 6503|      0|                    }
 6504|      0|                }
 6505|    124|            }
 6506|     71|        }
 6507|  1.46k|        assert(control);
  ------------------
  |  Branch (6507:9): [True: 1.41k, False: 0]
  ------------------
 6508|  1.41k|        if (codegen_addop_j(INSTR_SEQUENCE(c), LOC(alt), JUMP, end) < 0 ||
  ------------------
  |  |   68|  1.41k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
                      if (codegen_addop_j(INSTR_SEQUENCE(c), LOC(alt), JUMP, end) < 0 ||
  ------------------
  |  |   88|  1.41k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.41k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.41k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.41k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.41k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.41k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
                      if (codegen_addop_j(INSTR_SEQUENCE(c), LOC(alt), JUMP, end) < 0 ||
  ------------------
  |  |  245|  1.41k|#define JUMP                                   257
  ------------------
  |  Branch (6508:13): [True: 0, False: 1.41k]
  ------------------
 6509|  1.41k|            emit_and_reset_fail_pop(c, LOC(alt), pc) < 0)
  ------------------
  |  |   88|  1.41k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.41k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.41k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.41k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.41k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.41k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (6509:13): [True: 0, False: 1.41k]
  ------------------
 6510|      0|        {
 6511|      0|            goto error;
 6512|      0|        }
 6513|  1.41k|    }
 6514|    483|    Py_DECREF(pc->stores);
  ------------------
  |  |  430|    483|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    483|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    483|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6515|    483|    *pc = old_pc;
 6516|    483|    Py_INCREF(pc->stores);
  ------------------
  |  |  310|    483|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    483|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    483|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6517|       |    // Need to NULL this for the PyMem_Free call in the error block.
 6518|    483|    old_pc.fail_pop = NULL;
 6519|       |    // No match. Pop the remaining copy of the subject and fail:
 6520|    483|    if (codegen_addop_noarg(INSTR_SEQUENCE(c), POP_TOP, LOC(p)) < 0 ||
  ------------------
  |  |   68|    483|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
                  if (codegen_addop_noarg(INSTR_SEQUENCE(c), POP_TOP, LOC(p)) < 0 ||
  ------------------
  |  |   42|    483|#define POP_TOP                                 29
  ------------------
                  if (codegen_addop_noarg(INSTR_SEQUENCE(c), POP_TOP, LOC(p)) < 0 ||
  ------------------
  |  |   88|    483|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    483|    (_Py_SourceLocation){ \
  |  |  |  |   59|    483|               .lineno = (n)->lineno, \
  |  |  |  |   60|    483|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    483|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    483|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (6520:9): [True: 0, False: 483]
  ------------------
 6521|    483|        jump_to_fail_pop(c, LOC(p), pc, JUMP) < 0) {
  ------------------
  |  |   88|    483|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    483|    (_Py_SourceLocation){ \
  |  |  |  |   59|    483|               .lineno = (n)->lineno, \
  |  |  |  |   60|    483|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    483|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    483|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
                      jump_to_fail_pop(c, LOC(p), pc, JUMP) < 0) {
  ------------------
  |  |  245|    483|#define JUMP                                   257
  ------------------
  |  Branch (6521:9): [True: 0, False: 483]
  ------------------
 6522|      0|        goto error;
 6523|      0|    }
 6524|       |
 6525|    483|    USE_LABEL(c, end);
  ------------------
  |  |  100|    483|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    483|    do {                    \
  |  |  |  |   52|    483|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 483]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    483|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 483]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6526|    483|    Py_ssize_t nstores = PyList_GET_SIZE(control);
  ------------------
  |  |   38|    483|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    483|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    483|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6527|       |    // There's a bunch of stuff on the stack between where the new stores
 6528|       |    // are and where they need to be:
 6529|       |    // - The other stores.
 6530|       |    // - A copy of the subject.
 6531|       |    // - Anything else that may be on top of the stack.
 6532|       |    // - Any previous stores we've already stashed away on the stack.
 6533|    483|    Py_ssize_t nrots = nstores + 1 + pc->on_top + PyList_GET_SIZE(pc->stores);
  ------------------
  |  |   38|    483|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    483|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    483|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6534|    536|    for (Py_ssize_t i = 0; i < nstores; i++) {
  ------------------
  |  Branch (6534:28): [True: 56, False: 480]
  ------------------
 6535|       |        // Rotate this capture to its proper place on the stack:
 6536|     56|        if (codegen_pattern_helper_rotate(c, LOC(p), nrots) < 0) {
  ------------------
  |  |   88|     56|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|     56|    (_Py_SourceLocation){ \
  |  |  |  |   59|     56|               .lineno = (n)->lineno, \
  |  |  |  |   60|     56|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|     56|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|     56|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (6536:13): [True: 0, False: 56]
  ------------------
 6537|      0|            goto error;
 6538|      0|        }
 6539|       |        // Update the list of previous stores with this new name, checking for
 6540|       |        // duplicates:
 6541|     56|        PyObject *name = PyList_GET_ITEM(control, i);
  ------------------
  |  |   40|     56|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|     56|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6541:26): [True: 56, False: 0]
  ------------------
 6542|      0|        int dupe = PySequence_Contains(pc->stores, name);
 6543|     56|        if (dupe < 0) {
  ------------------
  |  Branch (6543:13): [True: 0, False: 56]
  ------------------
 6544|      0|            goto error;
 6545|      0|        }
 6546|     56|        if (dupe) {
  ------------------
  |  Branch (6546:13): [True: 3, False: 53]
  ------------------
 6547|      3|            codegen_error_duplicate_store(c, LOC(p), name);
  ------------------
  |  |   88|      3|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      3|    (_Py_SourceLocation){ \
  |  |  |  |   59|      3|               .lineno = (n)->lineno, \
  |  |  |  |   60|      3|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      3|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      3|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6548|      3|            goto error;
 6549|      3|        }
 6550|     53|        if (PyList_Append(pc->stores, name)) {
  ------------------
  |  Branch (6550:13): [True: 0, False: 53]
  ------------------
 6551|      0|            goto error;
 6552|      0|        }
 6553|     53|    }
 6554|    480|    Py_DECREF(old_pc.stores);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6555|    480|    Py_DECREF(control);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6556|       |    // NOTE: Returning macros are safe again.
 6557|       |    // Pop the copy of the subject:
 6558|    480|    ADDOP(c, LOC(p), POP_TOP);
  ------------------
  |  |  294|    480|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    480|    do {                    \
  |  |  |  |   52|    480|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 480]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    480|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 480]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6559|    480|    return SUCCESS;
  ------------------
  |  |   47|    480|#define SUCCESS 0
  ------------------
 6560|     52|diff:;
 6561|     52|    int control_is_empty = PyList_GET_SIZE(control) == 0;
  ------------------
  |  |   38|     52|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6562|     52|    int pattern_is_empty = (
 6563|     52|        mismatched_names == NULL
  ------------------
  |  Branch (6563:9): [True: 0, False: 52]
  ------------------
 6564|     52|        || PyList_GET_SIZE(mismatched_names) == 0
  ------------------
  |  |   38|     52|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6564:12): [True: 2, False: 50]
  ------------------
 6565|     52|    );
 6566|       |
 6567|     52|    _PyCompile_Error(
 6568|     52|        c, LOC(p),
  ------------------
  |  |   88|     52|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|     52|    (_Py_SourceLocation){ \
  |  |  |  |   59|     52|               .lineno = (n)->lineno, \
  |  |  |  |   60|     52|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|     52|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|     52|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6569|     52|        "alternative patterns bind different names "
 6570|     52|        "(pattern 1 binds %S, pattern %zd binds %S)",
 6571|     52|        control_is_empty ? &_Py_ID(nothing) : control,
  ------------------
  |  |  951|     40|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     40|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     40|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6571:9): [True: 40, False: 12]
  ------------------
 6572|     52|        mismatch_index + 1,
 6573|     52|        pattern_is_empty ? &_Py_ID(nothing) : mismatched_names
  ------------------
  |  |  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 (6573:9): [True: 2, False: 50]
  ------------------
 6574|     52|    );
 6575|     98|error:
 6576|     98|    PyMem_Free(old_pc.fail_pop);
 6577|     98|    Py_XDECREF(mismatched_names);
  ------------------
  |  |  621|     98|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6578|     98|    Py_DECREF(old_pc.stores);
  ------------------
  |  |  430|     98|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6579|     98|    Py_XDECREF(control);
  ------------------
  |  |  621|     98|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6580|     98|    return ERROR;
  ------------------
  |  |   48|     98|#define ERROR -1
  ------------------
 6581|     52|}
codegen.c:ensure_fail_pop:
 5960|  9.33k|{
 5961|  9.33k|    Py_ssize_t size = n + 1;
 5962|  9.33k|    if (size <= pc->fail_pop_size) {
  ------------------
  |  Branch (5962:9): [True: 6.09k, False: 3.24k]
  ------------------
 5963|  6.09k|        return SUCCESS;
  ------------------
  |  |   47|  6.09k|#define SUCCESS 0
  ------------------
 5964|  6.09k|    }
 5965|  3.24k|    Py_ssize_t needed = sizeof(jump_target_label) * size;
 5966|  3.24k|    jump_target_label *resized = PyMem_Realloc(pc->fail_pop, needed);
 5967|  3.24k|    if (resized == NULL) {
  ------------------
  |  Branch (5967:9): [True: 0, False: 3.24k]
  ------------------
 5968|      0|        PyErr_NoMemory();
 5969|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5970|      0|    }
 5971|  3.24k|    pc->fail_pop = resized;
 5972|  12.9k|    while (pc->fail_pop_size < size) {
  ------------------
  |  Branch (5972:12): [True: 9.71k, False: 3.24k]
  ------------------
 5973|  9.71k|        NEW_JUMP_TARGET_LABEL(c, new_block);
  ------------------
  |  |   94|  9.71k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  9.71k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  9.71k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  9.71k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  9.71k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 9.71k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 5974|  9.71k|        pc->fail_pop[pc->fail_pop_size++] = new_block;
 5975|  9.71k|    }
 5976|  3.24k|    return SUCCESS;
  ------------------
  |  |   47|  3.24k|#define SUCCESS 0
  ------------------
 5977|  3.24k|}
codegen.c:emit_and_reset_fail_pop:
 5996|  2.64k|{
 5997|  2.64k|    if (!pc->fail_pop_size) {
  ------------------
  |  Branch (5997:9): [True: 82, False: 2.56k]
  ------------------
 5998|     82|        assert(pc->fail_pop == NULL);
  ------------------
  |  Branch (5998:9): [True: 82, False: 0]
  ------------------
 5999|     82|        return SUCCESS;
  ------------------
  |  |   47|     82|#define SUCCESS 0
  ------------------
 6000|     82|    }
 6001|  6.58k|    while (--pc->fail_pop_size) {
  ------------------
  |  Branch (6001:12): [True: 4.02k, False: 2.56k]
  ------------------
 6002|  4.02k|        USE_LABEL(c, pc->fail_pop[pc->fail_pop_size]);
  ------------------
  |  |  100|  4.02k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  4.02k|    do {                    \
  |  |  |  |   52|  4.02k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.02k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.02k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.02k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6003|  4.02k|        if (codegen_addop_noarg(INSTR_SEQUENCE(c), POP_TOP, loc) < 0) {
  ------------------
  |  |   68|  4.02k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
                      if (codegen_addop_noarg(INSTR_SEQUENCE(c), POP_TOP, loc) < 0) {
  ------------------
  |  |   42|  4.02k|#define POP_TOP                                 29
  ------------------
  |  Branch (6003:13): [True: 0, False: 4.02k]
  ------------------
 6004|      0|            pc->fail_pop_size = 0;
 6005|      0|            PyMem_Free(pc->fail_pop);
 6006|      0|            pc->fail_pop = NULL;
 6007|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 6008|      0|        }
 6009|  4.02k|    }
 6010|  2.56k|    USE_LABEL(c, pc->fail_pop[0]);
  ------------------
  |  |  100|  2.56k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  2.56k|    do {                    \
  |  |  |  |   52|  2.56k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.56k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.56k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.56k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6011|  2.56k|    PyMem_Free(pc->fail_pop);
 6012|  2.56k|    pc->fail_pop = NULL;
 6013|  2.56k|    return SUCCESS;
  ------------------
  |  |   47|  2.56k|#define SUCCESS 0
  ------------------
 6014|  2.56k|}
codegen.c:codegen_try:
 2864|  3.71k|codegen_try(compiler *c, stmt_ty s) {
 2865|  3.71k|    if (s->v.Try.finalbody && asdl_seq_LEN(s->v.Try.finalbody))
  ------------------
  |  |   83|  3.07k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  6.15k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:26): [True: 3.07k, False: 0]
  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.07k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2865:9): [True: 3.07k, False: 636]
  ------------------
 2866|  3.07k|        return codegen_try_finally(c, s);
 2867|    636|    else
 2868|    636|        return codegen_try_except(c, s);
 2869|  3.71k|}
codegen.c:codegen_try_finally:
 2384|  3.07k|{
 2385|  3.07k|    location loc = LOC(s);
  ------------------
  |  |   88|  3.07k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  3.07k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  3.07k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  3.07k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  3.07k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  3.07k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2386|       |
 2387|  3.07k|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   94|  3.07k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  3.07k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  3.07k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  3.07k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  3.07k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 3.07k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2388|  3.07k|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|  3.07k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  3.07k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  3.07k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  3.07k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  3.07k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 3.07k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2389|  3.07k|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   94|  3.07k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  3.07k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  3.07k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  3.07k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  3.07k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 3.07k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2390|  3.07k|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   94|  3.07k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  3.07k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  3.07k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  3.07k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  3.07k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 3.07k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2391|       |
 2392|       |    /* `try` block */
 2393|  3.07k|    ADDOP_JUMP(c, loc, SETUP_FINALLY, end);
  ------------------
  |  |  435|  3.07k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  3.07k|    do {                    \
  |  |  |  |   52|  3.07k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.07k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.07k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.07k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2394|       |
 2395|  3.07k|    USE_LABEL(c, body);
  ------------------
  |  |  100|  3.07k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  3.07k|    do {                    \
  |  |  |  |   52|  3.07k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.07k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.07k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.07k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2396|  3.07k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  3.07k|    do {                    \
  |  |   52|  3.07k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3.07k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  3.07k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.07k]
  |  |  ------------------
  ------------------
 2397|  3.07k|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_FINALLY_TRY, body, end,
 2398|  3.07k|                              s->v.Try.finalbody));
 2399|       |
 2400|  3.07k|    if (s->v.Try.handlers && asdl_seq_LEN(s->v.Try.handlers)) {
  ------------------
  |  |   83|    465|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    930|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:26): [True: 465, False: 0]
  |  |  |  |  |  Branch (313:37): [True: 0, False: 465]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2400:9): [True: 465, False: 2.61k]
  ------------------
 2401|    465|        RETURN_IF_ERROR(codegen_try_except(c, s));
  ------------------
  |  |   51|    465|    do {                    \
  |  |   52|    465|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 2, False: 463]
  |  |  ------------------
  |  |   53|      2|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      2|#define ERROR -1
  |  |  ------------------
  |  |   54|      2|        }                   \
  |  |   55|    465|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 463]
  |  |  ------------------
  ------------------
 2402|    465|    }
 2403|  2.61k|    else {
 2404|  2.61k|        VISIT_SEQ(c, stmt, s->v.Try.body);
  ------------------
  |  |  466|  2.61k|    do {                                                                    \
  |  |  467|  2.61k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  5.48k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  5.48k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  10.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 5.48k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 2.88k, False: 2.60k]
  |  |  ------------------
  |  |  469|  2.88k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  2.88k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.88k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  2.88k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  2.88k|    do {                    \
  |  |  |  |   52|  2.88k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 9, False: 2.87k]
  |  |  |  |  ------------------
  |  |  |  |   53|      9|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      9|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      9|        }                   \
  |  |  |  |   55|  2.88k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  2.88k|        }                                                                   \
  |  |  472|  2.61k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 2.60k]
  |  |  ------------------
  ------------------
 2405|  2.61k|    }
 2406|  3.06k|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  294|  3.06k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.06k|    do {                    \
  |  |  |  |   52|  3.06k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.06k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.06k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.06k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2407|  3.06k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_FINALLY_TRY, body);
 2408|  3.06k|    VISIT_SEQ(c, stmt, s->v.Try.finalbody);
  ------------------
  |  |  466|  3.06k|    do {                                                                    \
  |  |  467|  3.06k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  13.5k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  13.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  27.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 13.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 10.4k, False: 3.05k]
  |  |  ------------------
  |  |  469|  10.4k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  10.4k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  10.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  10.4k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  10.4k|    do {                    \
  |  |  |  |   52|  10.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 14, False: 10.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|     14|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     14|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     14|        }                   \
  |  |  |  |   55|  10.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  10.4k|        }                                                                   \
  |  |  472|  3.06k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 3.05k]
  |  |  ------------------
  ------------------
 2409|       |
 2410|  3.05k|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, exit);
  ------------------
  |  |  435|  3.05k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  3.05k|    do {                    \
  |  |  |  |   52|  3.05k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.05k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.05k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2411|       |    /* `finally` block */
 2412|       |
 2413|  3.05k|    USE_LABEL(c, end);
  ------------------
  |  |  100|  3.05k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  3.05k|    do {                    \
  |  |  |  |   52|  3.05k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.05k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.05k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2414|       |
 2415|  3.05k|    loc = NO_LOCATION;
 2416|  3.05k|    ADDOP_JUMP(c, loc, SETUP_CLEANUP, cleanup);
  ------------------
  |  |  435|  3.05k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  3.05k|    do {                    \
  |  |  |  |   52|  3.05k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.05k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.05k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2417|  3.05k|    ADDOP(c, loc, PUSH_EXC_INFO);
  ------------------
  |  |  294|  3.05k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.05k|    do {                    \
  |  |  |  |   52|  3.05k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.05k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.05k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2418|  3.05k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  3.05k|    do {                    \
  |  |   52|  3.05k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3.05k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  3.05k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.05k]
  |  |  ------------------
  ------------------
 2419|  3.05k|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_FINALLY_END, end, NO_LABEL, NULL));
 2420|  3.05k|    VISIT_SEQ(c, stmt, s->v.Try.finalbody);
  ------------------
  |  |  466|  3.05k|    do {                                                                    \
  |  |  467|  3.05k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  13.4k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  13.4k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  26.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 13.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 10.4k, False: 3.05k]
  |  |  ------------------
  |  |  469|  10.4k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  10.4k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  10.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  10.4k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  10.4k|    do {                    \
  |  |  |  |   52|  10.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  10.4k|        }                                                                   \
  |  |  472|  3.05k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 3.05k]
  |  |  ------------------
  ------------------
 2421|  3.05k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_FINALLY_END, end);
 2422|       |
 2423|  3.05k|    loc = NO_LOCATION;
 2424|  3.05k|    ADDOP_I(c, loc, RERAISE, 0);
  ------------------
  |  |  280|  3.05k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.05k|    do {                    \
  |  |  |  |   52|  3.05k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.05k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.05k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2425|       |
 2426|  3.05k|    USE_LABEL(c, cleanup);
  ------------------
  |  |  100|  3.05k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  3.05k|    do {                    \
  |  |  |  |   52|  3.05k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.05k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.05k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2427|  3.05k|    POP_EXCEPT_AND_RERAISE(c, loc);
  ------------------
  |  |  450|  3.05k|    RETURN_IF_ERROR(codegen_pop_except_and_reraise((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.05k|    do {                    \
  |  |  |  |   52|  3.05k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.05k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.05k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2428|       |
 2429|  3.05k|    USE_LABEL(c, exit);
  ------------------
  |  |  100|  3.05k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  3.05k|    do {                    \
  |  |  |  |   52|  3.05k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.05k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.05k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2430|  3.05k|    return SUCCESS;
  ------------------
  |  |   47|  3.05k|#define SUCCESS 0
  ------------------
 2431|  3.05k|}
codegen.c:codegen_pop_except_and_reraise:
  526|  15.6k|{
  527|       |    /* Stack contents
  528|       |     * [exc_info, lasti, exc]            COPY        3
  529|       |     * [exc_info, lasti, exc, exc_info]  POP_EXCEPT
  530|       |     * [exc_info, lasti, exc]            RERAISE      1
  531|       |     * (exception_unwind clears the stack)
  532|       |     */
  533|       |
  534|  15.6k|    ADDOP_I(c, loc, COPY, 3);
  ------------------
  |  |  280|  15.6k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  15.6k|    do {                    \
  |  |  |  |   52|  15.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 15.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  15.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 15.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  535|  15.6k|    ADDOP(c, loc, POP_EXCEPT);
  ------------------
  |  |  294|  15.6k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  15.6k|    do {                    \
  |  |  |  |   52|  15.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 15.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  15.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 15.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  536|  15.6k|    ADDOP_I(c, loc, RERAISE, 1);
  ------------------
  |  |  280|  15.6k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  15.6k|    do {                    \
  |  |  |  |   52|  15.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 15.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  15.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 15.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  15.6k|    return SUCCESS;
  ------------------
  |  |   47|  15.6k|#define SUCCESS 0
  ------------------
  538|  15.6k|}
codegen.c:codegen_try_except:
 2515|  1.10k|{
 2516|  1.10k|    location loc = LOC(s);
  ------------------
  |  |   88|  1.10k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.10k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.10k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.10k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.10k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.10k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2517|  1.10k|    Py_ssize_t i, n;
 2518|       |
 2519|  1.10k|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   94|  1.10k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.10k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.10k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.10k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.10k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.10k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2520|  1.10k|    NEW_JUMP_TARGET_LABEL(c, except);
  ------------------
  |  |   94|  1.10k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.10k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.10k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.10k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.10k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.10k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2521|  1.10k|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|  1.10k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.10k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.10k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.10k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.10k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.10k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2522|  1.10k|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   94|  1.10k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.10k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.10k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.10k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.10k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.10k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2523|       |
 2524|  1.10k|    ADDOP_JUMP(c, loc, SETUP_FINALLY, except);
  ------------------
  |  |  435|  1.10k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.10k|    do {                    \
  |  |  |  |   52|  1.10k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.10k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.10k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.10k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2525|       |
 2526|  1.10k|    USE_LABEL(c, body);
  ------------------
  |  |  100|  1.10k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.10k|    do {                    \
  |  |  |  |   52|  1.10k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.10k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.10k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.10k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2527|  1.10k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  1.10k|    do {                    \
  |  |   52|  1.10k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.10k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.10k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.10k]
  |  |  ------------------
  ------------------
 2528|  1.10k|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_TRY_EXCEPT, body, NO_LABEL, NULL));
 2529|  1.10k|    VISIT_SEQ(c, stmt, s->v.Try.body);
  ------------------
  |  |  466|  1.10k|    do {                                                                    \
  |  |  467|  1.10k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  2.32k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  2.32k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  4.64k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 2.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 1.22k, False: 1.09k]
  |  |  ------------------
  |  |  469|  1.22k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.22k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.22k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  1.22k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.22k|    do {                    \
  |  |  |  |   52|  1.22k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 1.21k]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|  1.22k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.21k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  1.22k|        }                                                                   \
  |  |  472|  1.10k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 1.09k]
  |  |  ------------------
  ------------------
 2530|  1.09k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_TRY_EXCEPT, body);
 2531|  1.09k|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  294|  1.09k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.09k|    do {                    \
  |  |  |  |   52|  1.09k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2532|  1.09k|    if (s->v.Try.orelse && asdl_seq_LEN(s->v.Try.orelse)) {
  ------------------
  |  |   83|    300|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    600|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:26): [True: 300, False: 0]
  |  |  |  |  |  Branch (313:37): [True: 0, False: 300]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2532:9): [True: 300, False: 799]
  ------------------
 2533|    300|        VISIT_SEQ(c, stmt, s->v.Try.orelse);
  ------------------
  |  |  466|    300|    do {                                                                    \
  |  |  467|    300|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|    986|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    986|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.97k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 986]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 687, False: 299]
  |  |  ------------------
  |  |  469|    687|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    687|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    687|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|    687|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    687|    do {                    \
  |  |  |  |   52|    687|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 686]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    687|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 686]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|    687|        }                                                                   \
  |  |  472|    300|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 299]
  |  |  ------------------
  ------------------
 2534|    300|    }
 2535|  1.09k|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  435|  1.09k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.09k|    do {                    \
  |  |  |  |   52|  1.09k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2536|  1.09k|    n = asdl_seq_LEN(s->v.Try.handlers);
  ------------------
  |  |   83|  1.09k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  2.19k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2537|       |
 2538|  1.09k|    USE_LABEL(c, except);
  ------------------
  |  |  100|  1.09k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.09k|    do {                    \
  |  |  |  |   52|  1.09k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2539|       |
 2540|  1.09k|    ADDOP_JUMP(c, NO_LOCATION, SETUP_CLEANUP, cleanup);
  ------------------
  |  |  435|  1.09k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.09k|    do {                    \
  |  |  |  |   52|  1.09k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2541|  1.09k|    ADDOP(c, NO_LOCATION, PUSH_EXC_INFO);
  ------------------
  |  |  294|  1.09k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.09k|    do {                    \
  |  |  |  |   52|  1.09k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2542|       |
 2543|       |    /* Runtime will push a block here, so we need to account for that */
 2544|  1.09k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  1.09k|    do {                    \
  |  |   52|  1.09k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.09k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.09k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.09k]
  |  |  ------------------
  ------------------
 2545|  1.09k|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_EXCEPTION_HANDLER,
 2546|  1.09k|                              NO_LABEL, NO_LABEL, NULL));
 2547|       |
 2548|  2.52k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2548:17): [True: 1.43k, False: 1.08k]
  ------------------
 2549|  1.43k|        excepthandler_ty handler = (excepthandler_ty)asdl_seq_GET(
  ------------------
  |  |   82|  1.43k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.43k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2550|  1.43k|            s->v.Try.handlers, i);
 2551|  1.43k|        location loc = LOC(handler);
  ------------------
  |  |   88|  1.43k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.43k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.43k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.43k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.43k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.43k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2552|  1.43k|        if (!handler->v.ExceptHandler.type && i < n-1) {
  ------------------
  |  Branch (2552:13): [True: 962, False: 477]
  |  Branch (2552:47): [True: 6, False: 956]
  ------------------
 2553|      6|            return _PyCompile_Error(c, loc, "default 'except:' must be last");
 2554|      6|        }
 2555|  1.43k|        NEW_JUMP_TARGET_LABEL(c, next_except);
  ------------------
  |  |   94|  1.43k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.43k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.43k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.43k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.43k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.43k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2556|  1.43k|        except = next_except;
 2557|  1.43k|        if (handler->v.ExceptHandler.type) {
  ------------------
  |  Branch (2557:13): [True: 477, False: 956]
  ------------------
 2558|    477|            VISIT(c, expr, handler->v.ExceptHandler.type);
  ------------------
  |  |  460|    477|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    477|    do {                    \
  |  |  |  |   52|    477|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 477]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    477|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 477]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2559|    477|            ADDOP(c, loc, CHECK_EXC_MATCH);
  ------------------
  |  |  294|    477|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    477|    do {                    \
  |  |  |  |   52|    477|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 477]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    477|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 477]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2560|    477|            ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, except);
  ------------------
  |  |  435|    477|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    477|    do {                    \
  |  |  |  |   52|    477|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 477]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    477|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 477]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2561|    477|        }
 2562|  1.43k|        if (handler->v.ExceptHandler.name) {
  ------------------
  |  Branch (2562:13): [True: 147, False: 1.28k]
  ------------------
 2563|    147|            NEW_JUMP_TARGET_LABEL(c, cleanup_end);
  ------------------
  |  |   94|    147|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    147|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    147|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    147|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    147|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 147]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2564|    147|            NEW_JUMP_TARGET_LABEL(c, cleanup_body);
  ------------------
  |  |   94|    147|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    147|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    147|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    147|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    147|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 147]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2565|       |
 2566|    147|            RETURN_IF_ERROR(
  ------------------
  |  |   51|    147|    do {                    \
  |  |   52|    147|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 147]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    147|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 147]
  |  |  ------------------
  ------------------
 2567|    147|                codegen_nameop(c, loc, handler->v.ExceptHandler.name, Store));
 2568|       |
 2569|       |            /*
 2570|       |              try:
 2571|       |                  # body
 2572|       |              except type as name:
 2573|       |                  try:
 2574|       |                      # body
 2575|       |                  finally:
 2576|       |                      name = None # in case body contains "del name"
 2577|       |                      del name
 2578|       |            */
 2579|       |
 2580|       |            /* second try: */
 2581|    147|            ADDOP_JUMP(c, loc, SETUP_CLEANUP, cleanup_end);
  ------------------
  |  |  435|    147|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    147|    do {                    \
  |  |  |  |   52|    147|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 147]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    147|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 147]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2582|       |
 2583|    147|            USE_LABEL(c, cleanup_body);
  ------------------
  |  |  100|    147|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    147|    do {                    \
  |  |  |  |   52|    147|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 147]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    147|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 147]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2584|    147|            RETURN_IF_ERROR(
  ------------------
  |  |   51|    147|    do {                    \
  |  |   52|    147|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 147]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    147|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 147]
  |  |  ------------------
  ------------------
 2585|    147|                _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_HANDLER_CLEANUP, cleanup_body,
 2586|    147|                                      NO_LABEL, handler->v.ExceptHandler.name));
 2587|       |
 2588|       |            /* second # body */
 2589|    147|            VISIT_SEQ(c, stmt, handler->v.ExceptHandler.body);
  ------------------
  |  |  466|    147|    do {                                                                    \
  |  |  467|    147|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|    512|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    512|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.02k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 512]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 366, False: 146]
  |  |  ------------------
  |  |  469|    366|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    366|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    366|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|    366|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    366|    do {                    \
  |  |  |  |   52|    366|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 365]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    366|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 365]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|    366|        }                                                                   \
  |  |  472|    147|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 146]
  |  |  ------------------
  ------------------
 2590|    146|            _PyCompile_PopFBlock(c, COMPILE_FBLOCK_HANDLER_CLEANUP, cleanup_body);
 2591|       |            /* name = None; del name; # Mark as artificial */
 2592|    146|            ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  294|    146|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    146|    do {                    \
  |  |  |  |   52|    146|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 146]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    146|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 146]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2593|    146|            ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  294|    146|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    146|    do {                    \
  |  |  |  |   52|    146|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 146]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    146|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 146]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2594|    146|            ADDOP(c, NO_LOCATION, POP_EXCEPT);
  ------------------
  |  |  294|    146|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    146|    do {                    \
  |  |  |  |   52|    146|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 146]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    146|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 146]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2595|    146|            ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  311|    146|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    146|    do {                    \
  |  |  |  |   52|    146|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 146]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    146|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 146]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2596|    146|            RETURN_IF_ERROR(
  ------------------
  |  |   51|    146|    do {                    \
  |  |   52|    146|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 146]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    146|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 146]
  |  |  ------------------
  ------------------
 2597|    146|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Store));
 2598|    146|            RETURN_IF_ERROR(
  ------------------
  |  |   51|    146|    do {                    \
  |  |   52|    146|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 146]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    146|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 146]
  |  |  ------------------
  ------------------
 2599|    146|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Del));
 2600|    146|            ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  435|    146|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    146|    do {                    \
  |  |  |  |   52|    146|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 146]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    146|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 146]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2601|       |
 2602|       |            /* except: */
 2603|    146|            USE_LABEL(c, cleanup_end);
  ------------------
  |  |  100|    146|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    146|    do {                    \
  |  |  |  |   52|    146|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 146]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    146|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 146]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2604|       |
 2605|       |            /* name = None; del name; # artificial */
 2606|    146|            ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  311|    146|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    146|    do {                    \
  |  |  |  |   52|    146|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 146]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    146|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 146]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2607|    146|            RETURN_IF_ERROR(
  ------------------
  |  |   51|    146|    do {                    \
  |  |   52|    146|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 146]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    146|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 146]
  |  |  ------------------
  ------------------
 2608|    146|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Store));
 2609|    146|            RETURN_IF_ERROR(
  ------------------
  |  |   51|    146|    do {                    \
  |  |   52|    146|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 146]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    146|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 146]
  |  |  ------------------
  ------------------
 2610|    146|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Del));
 2611|       |
 2612|    146|            ADDOP_I(c, NO_LOCATION, RERAISE, 1);
  ------------------
  |  |  280|    146|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    146|    do {                    \
  |  |  |  |   52|    146|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 146]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    146|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 146]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2613|    146|        }
 2614|  1.28k|        else {
 2615|  1.28k|            NEW_JUMP_TARGET_LABEL(c, cleanup_body);
  ------------------
  |  |   94|  1.28k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.28k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.28k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.28k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.28k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.28k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2616|       |
 2617|  1.28k|            ADDOP(c, loc, POP_TOP); /* exc_value */
  ------------------
  |  |  294|  1.28k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.28k|    do {                    \
  |  |  |  |   52|  1.28k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.28k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.28k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2618|       |
 2619|  1.28k|            USE_LABEL(c, cleanup_body);
  ------------------
  |  |  100|  1.28k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.28k|    do {                    \
  |  |  |  |   52|  1.28k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.28k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.28k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2620|  1.28k|            RETURN_IF_ERROR(
  ------------------
  |  |   51|  1.28k|    do {                    \
  |  |   52|  1.28k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.28k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.28k]
  |  |  ------------------
  ------------------
 2621|  1.28k|                _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_HANDLER_CLEANUP, cleanup_body,
 2622|  1.28k|                                      NO_LABEL, NULL));
 2623|       |
 2624|  1.28k|            VISIT_SEQ(c, stmt, handler->v.ExceptHandler.body);
  ------------------
  |  |  466|  1.28k|    do {                                                                    \
  |  |  467|  1.28k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  2.62k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  2.62k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  5.25k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 2.62k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 1.34k, False: 1.28k]
  |  |  ------------------
  |  |  469|  1.34k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.34k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.34k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  1.34k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.34k|    do {                    \
  |  |  |  |   52|  1.34k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 5, False: 1.34k]
  |  |  |  |  ------------------
  |  |  |  |   53|      5|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      5|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      5|        }                   \
  |  |  |  |   55|  1.34k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  1.34k|        }                                                                   \
  |  |  472|  1.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 1.28k]
  |  |  ------------------
  ------------------
 2625|  1.28k|            _PyCompile_PopFBlock(c, COMPILE_FBLOCK_HANDLER_CLEANUP, cleanup_body);
 2626|  1.28k|            ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  294|  1.28k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.28k|    do {                    \
  |  |  |  |   52|  1.28k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.28k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.28k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2627|  1.28k|            ADDOP(c, NO_LOCATION, POP_EXCEPT);
  ------------------
  |  |  294|  1.28k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.28k|    do {                    \
  |  |  |  |   52|  1.28k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.28k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.28k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2628|  1.28k|            ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  435|  1.28k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.28k|    do {                    \
  |  |  |  |   52|  1.28k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.28k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.28k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2629|  1.28k|        }
 2630|       |
 2631|  1.42k|        USE_LABEL(c, except);
  ------------------
  |  |  100|  1.42k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.42k|    do {                    \
  |  |  |  |   52|  1.42k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.42k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.42k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.42k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2632|  1.42k|    }
 2633|       |    /* artificial */
 2634|  1.08k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_EXCEPTION_HANDLER, NO_LABEL);
  ------------------
  |  |   57|  1.08k|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
 2635|  1.08k|    ADDOP_I(c, NO_LOCATION, RERAISE, 0);
  ------------------
  |  |  280|  1.08k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.08k|    do {                    \
  |  |  |  |   52|  1.08k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.08k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.08k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2636|       |
 2637|  1.08k|    USE_LABEL(c, cleanup);
  ------------------
  |  |  100|  1.08k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.08k|    do {                    \
  |  |  |  |   52|  1.08k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.08k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.08k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2638|  1.08k|    POP_EXCEPT_AND_RERAISE(c, NO_LOCATION);
  ------------------
  |  |  450|  1.08k|    RETURN_IF_ERROR(codegen_pop_except_and_reraise((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.08k|    do {                    \
  |  |  |  |   52|  1.08k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.08k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.08k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2639|       |
 2640|  1.08k|    USE_LABEL(c, end);
  ------------------
  |  |  100|  1.08k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.08k|    do {                    \
  |  |  |  |   52|  1.08k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.08k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.08k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2641|  1.08k|    return SUCCESS;
  ------------------
  |  |   47|  1.08k|#define SUCCESS 0
  ------------------
 2642|  1.08k|}
codegen.c:codegen_try_star:
 2873|    536|{
 2874|    536|    if (s->v.TryStar.finalbody && asdl_seq_LEN(s->v.TryStar.finalbody)) {
  ------------------
  |  |   83|     89|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    178|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:26): [True: 89, False: 0]
  |  |  |  |  |  Branch (313:37): [True: 0, False: 89]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2874:9): [True: 89, False: 447]
  ------------------
 2875|     89|        return codegen_try_star_finally(c, s);
 2876|     89|    }
 2877|    447|    else {
 2878|    447|        return codegen_try_star_except(c, s);
 2879|    447|    }
 2880|    536|}
codegen.c:codegen_try_star_finally:
 2435|     89|{
 2436|     89|    location loc = LOC(s);
  ------------------
  |  |   88|     89|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|     89|    (_Py_SourceLocation){ \
  |  |  |  |   59|     89|               .lineno = (n)->lineno, \
  |  |  |  |   60|     89|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|     89|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|     89|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2437|       |
 2438|     89|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   94|     89|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     89|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|     89|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     89|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     89|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 89]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2439|     89|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|     89|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     89|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|     89|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     89|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     89|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 89]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2440|     89|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   94|     89|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     89|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|     89|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     89|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     89|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 89]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2441|     89|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   94|     89|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     89|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|     89|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     89|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     89|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 89]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2442|       |    /* `try` block */
 2443|     89|    ADDOP_JUMP(c, loc, SETUP_FINALLY, end);
  ------------------
  |  |  435|     89|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     89|    do {                    \
  |  |  |  |   52|     89|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 89]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     89|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 89]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2444|       |
 2445|     89|    USE_LABEL(c, body);
  ------------------
  |  |  100|     89|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     89|    do {                    \
  |  |  |  |   52|     89|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 89]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     89|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 89]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2446|     89|    RETURN_IF_ERROR(
  ------------------
  |  |   51|     89|    do {                    \
  |  |   52|     89|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 89]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     89|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 89]
  |  |  ------------------
  ------------------
 2447|     89|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_FINALLY_TRY, body, end,
 2448|     89|                              s->v.TryStar.finalbody));
 2449|       |
 2450|     89|    if (s->v.TryStar.handlers && asdl_seq_LEN(s->v.TryStar.handlers)) {
  ------------------
  |  |   83|     89|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    178|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:26): [True: 89, False: 0]
  |  |  |  |  |  Branch (313:37): [True: 0, False: 89]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2450:9): [True: 89, False: 0]
  ------------------
 2451|     89|        RETURN_IF_ERROR(codegen_try_star_except(c, s));
  ------------------
  |  |   51|     89|    do {                    \
  |  |   52|     89|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 88]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|     89|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 88]
  |  |  ------------------
  ------------------
 2452|     89|    }
 2453|      0|    else {
 2454|      0|        VISIT_SEQ(c, stmt, s->v.TryStar.body);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2455|      0|    }
 2456|     88|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  294|     88|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     88|    do {                    \
  |  |  |  |   52|     88|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 88]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     88|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 88]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2457|     88|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_FINALLY_TRY, body);
 2458|     88|    VISIT_SEQ(c, stmt, s->v.TryStar.finalbody);
  ------------------
  |  |  466|     88|    do {                                                                    \
  |  |  467|     88|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  1.18k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.18k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.37k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.18k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 1.10k, False: 86]
  |  |  ------------------
  |  |  469|  1.10k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.10k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.10k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  1.10k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.10k|    do {                    \
  |  |  |  |   52|  1.10k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 1.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|  1.10k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  1.10k|        }                                                                   \
  |  |  472|     88|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 86]
  |  |  ------------------
  ------------------
 2459|       |
 2460|     86|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, exit);
  ------------------
  |  |  435|     86|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     86|    do {                    \
  |  |  |  |   52|     86|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 86]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     86|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 86]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2461|       |
 2462|       |    /* `finally` block */
 2463|     86|    USE_LABEL(c, end);
  ------------------
  |  |  100|     86|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     86|    do {                    \
  |  |  |  |   52|     86|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 86]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     86|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 86]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2464|       |
 2465|     86|    loc = NO_LOCATION;
 2466|     86|    ADDOP_JUMP(c, loc, SETUP_CLEANUP, cleanup);
  ------------------
  |  |  435|     86|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     86|    do {                    \
  |  |  |  |   52|     86|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 86]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     86|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 86]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2467|     86|    ADDOP(c, loc, PUSH_EXC_INFO);
  ------------------
  |  |  294|     86|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     86|    do {                    \
  |  |  |  |   52|     86|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 86]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     86|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 86]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2468|     86|    RETURN_IF_ERROR(
  ------------------
  |  |   51|     86|    do {                    \
  |  |   52|     86|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 86]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     86|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 86]
  |  |  ------------------
  ------------------
 2469|     86|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_FINALLY_END, end, NO_LABEL, NULL));
 2470|       |
 2471|     86|    VISIT_SEQ(c, stmt, s->v.TryStar.finalbody);
  ------------------
  |  |  466|     86|    do {                                                                    \
  |  |  467|     86|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  1.18k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.18k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.36k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.18k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 1.09k, False: 86]
  |  |  ------------------
  |  |  469|  1.09k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.09k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.09k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  1.09k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.09k|    do {                    \
  |  |  |  |   52|  1.09k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  1.09k|        }                                                                   \
  |  |  472|     86|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 86]
  |  |  ------------------
  ------------------
 2472|       |
 2473|     86|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_FINALLY_END, end);
 2474|     86|    loc = NO_LOCATION;
 2475|     86|    ADDOP_I(c, loc, RERAISE, 0);
  ------------------
  |  |  280|     86|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     86|    do {                    \
  |  |  |  |   52|     86|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 86]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     86|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 86]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2476|       |
 2477|     86|    USE_LABEL(c, cleanup);
  ------------------
  |  |  100|     86|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     86|    do {                    \
  |  |  |  |   52|     86|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 86]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     86|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 86]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2478|     86|    POP_EXCEPT_AND_RERAISE(c, loc);
  ------------------
  |  |  450|     86|    RETURN_IF_ERROR(codegen_pop_except_and_reraise((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     86|    do {                    \
  |  |  |  |   52|     86|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 86]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     86|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 86]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2479|       |
 2480|     86|    USE_LABEL(c, exit);
  ------------------
  |  |  100|     86|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     86|    do {                    \
  |  |  |  |   52|     86|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 86]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     86|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 86]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2481|     86|    return SUCCESS;
  ------------------
  |  |   47|     86|#define SUCCESS 0
  ------------------
 2482|     86|}
codegen.c:codegen_try_star_except:
 2698|    536|{
 2699|    536|    location loc = LOC(s);
  ------------------
  |  |   88|    536|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    536|    (_Py_SourceLocation){ \
  |  |  |  |   59|    536|               .lineno = (n)->lineno, \
  |  |  |  |   60|    536|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    536|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    536|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2700|       |
 2701|    536|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   94|    536|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    536|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    536|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    536|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    536|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 536]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2702|    536|    NEW_JUMP_TARGET_LABEL(c, except);
  ------------------
  |  |   94|    536|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    536|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    536|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    536|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    536|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 536]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2703|    536|    NEW_JUMP_TARGET_LABEL(c, orelse);
  ------------------
  |  |   94|    536|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    536|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    536|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    536|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    536|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 536]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2704|    536|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|    536|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    536|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    536|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    536|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    536|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 536]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2705|    536|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   94|    536|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    536|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    536|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    536|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    536|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 536]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2706|    536|    NEW_JUMP_TARGET_LABEL(c, reraise_star);
  ------------------
  |  |   94|    536|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    536|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    536|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    536|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    536|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 536]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2707|       |
 2708|    536|    ADDOP_JUMP(c, loc, SETUP_FINALLY, except);
  ------------------
  |  |  435|    536|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    536|    do {                    \
  |  |  |  |   52|    536|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 536]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    536|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 536]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2709|       |
 2710|    536|    USE_LABEL(c, body);
  ------------------
  |  |  100|    536|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    536|    do {                    \
  |  |  |  |   52|    536|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 536]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    536|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 536]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2711|    536|    RETURN_IF_ERROR(
  ------------------
  |  |   51|    536|    do {                    \
  |  |   52|    536|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 536]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    536|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 536]
  |  |  ------------------
  ------------------
 2712|    536|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_TRY_EXCEPT, body, NO_LABEL, NULL));
 2713|    536|    VISIT_SEQ(c, stmt, s->v.TryStar.body);
  ------------------
  |  |  466|    536|    do {                                                                    \
  |  |  467|    536|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  1.16k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.16k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.32k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.16k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 628, False: 534]
  |  |  ------------------
  |  |  469|    628|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    628|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    628|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|    628|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    628|    do {                    \
  |  |  |  |   52|    628|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 626]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|    628|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 626]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|    628|        }                                                                   \
  |  |  472|    536|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 534]
  |  |  ------------------
  ------------------
 2714|    534|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_TRY_EXCEPT, body);
 2715|    534|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  294|    534|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    534|    do {                    \
  |  |  |  |   52|    534|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 534]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    534|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 534]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2716|    534|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, orelse);
  ------------------
  |  |  435|    534|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    534|    do {                    \
  |  |  |  |   52|    534|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 534]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    534|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 534]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2717|    534|    Py_ssize_t n = asdl_seq_LEN(s->v.TryStar.handlers);
  ------------------
  |  |   83|    534|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  1.06k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 534]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2718|       |
 2719|    534|    USE_LABEL(c, except);
  ------------------
  |  |  100|    534|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    534|    do {                    \
  |  |  |  |   52|    534|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 534]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    534|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 534]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2720|       |
 2721|    534|    ADDOP_JUMP(c, NO_LOCATION, SETUP_CLEANUP, cleanup);
  ------------------
  |  |  435|    534|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    534|    do {                    \
  |  |  |  |   52|    534|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 534]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    534|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 534]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2722|    534|    ADDOP(c, NO_LOCATION, PUSH_EXC_INFO);
  ------------------
  |  |  294|    534|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    534|    do {                    \
  |  |  |  |   52|    534|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 534]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    534|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 534]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2723|       |
 2724|       |    /* Runtime will push a block here, so we need to account for that */
 2725|    534|    RETURN_IF_ERROR(
  ------------------
  |  |   51|    534|    do {                    \
  |  |   52|    534|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 534]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    534|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 534]
  |  |  ------------------
  ------------------
 2726|    534|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_EXCEPTION_GROUP_HANDLER,
 2727|    534|                              NO_LABEL, NO_LABEL, "except handler"));
 2728|       |
 2729|  1.43k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (2729:28): [True: 902, False: 531]
  ------------------
 2730|    902|        excepthandler_ty handler = (excepthandler_ty)asdl_seq_GET(
  ------------------
  |  |   82|    902|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    902|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2731|    902|            s->v.TryStar.handlers, i);
 2732|    902|        location loc = LOC(handler);
  ------------------
  |  |   88|    902|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    902|    (_Py_SourceLocation){ \
  |  |  |  |   59|    902|               .lineno = (n)->lineno, \
  |  |  |  |   60|    902|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    902|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    902|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2733|    902|        NEW_JUMP_TARGET_LABEL(c, next_except);
  ------------------
  |  |   94|    902|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    902|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    902|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    902|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    902|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 902]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2734|    902|        except = next_except;
 2735|    902|        NEW_JUMP_TARGET_LABEL(c, except_with_error);
  ------------------
  |  |   94|    902|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    902|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    902|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    902|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    902|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 902]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2736|    902|        NEW_JUMP_TARGET_LABEL(c, no_match);
  ------------------
  |  |   94|    902|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    902|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    902|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    902|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    902|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 902]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2737|    902|        if (i == 0) {
  ------------------
  |  Branch (2737:13): [True: 534, False: 368]
  ------------------
 2738|       |            /* create empty list for exceptions raised/reraise in the except* blocks */
 2739|       |            /*
 2740|       |               [orig]       BUILD_LIST
 2741|       |            */
 2742|       |            /* Create a copy of the original EG */
 2743|       |            /*
 2744|       |               [orig, []]   COPY 2
 2745|       |               [orig, [], exc]
 2746|       |            */
 2747|    534|            ADDOP_I(c, loc, BUILD_LIST, 0);
  ------------------
  |  |  280|    534|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    534|    do {                    \
  |  |  |  |   52|    534|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 534]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    534|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 534]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2748|    534|            ADDOP_I(c, loc, COPY, 2);
  ------------------
  |  |  280|    534|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    534|    do {                    \
  |  |  |  |   52|    534|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 534]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    534|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 534]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2749|    534|        }
 2750|    902|        if (handler->v.ExceptHandler.type) {
  ------------------
  |  Branch (2750:13): [True: 902, False: 0]
  ------------------
 2751|    902|            VISIT(c, expr, handler->v.ExceptHandler.type);
  ------------------
  |  |  460|    902|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    902|    do {                    \
  |  |  |  |   52|    902|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 902]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    902|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 902]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2752|    902|            ADDOP(c, loc, CHECK_EG_MATCH);
  ------------------
  |  |  294|    902|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    902|    do {                    \
  |  |  |  |   52|    902|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 902]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    902|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 902]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2753|    902|            ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  280|    902|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    902|    do {                    \
  |  |  |  |   52|    902|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 902]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    902|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 902]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2754|    902|            ADDOP_JUMP(c, loc, POP_JUMP_IF_NONE, no_match);
  ------------------
  |  |  435|    902|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    902|    do {                    \
  |  |  |  |   52|    902|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 902]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    902|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 902]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2755|    902|        }
 2756|       |
 2757|    902|        NEW_JUMP_TARGET_LABEL(c, cleanup_end);
  ------------------
  |  |   94|    902|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    902|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    902|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    902|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    902|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 902]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2758|    902|        NEW_JUMP_TARGET_LABEL(c, cleanup_body);
  ------------------
  |  |   94|    902|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    902|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    902|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    902|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    902|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 902]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2759|       |
 2760|    902|        if (handler->v.ExceptHandler.name) {
  ------------------
  |  Branch (2760:13): [True: 88, False: 814]
  ------------------
 2761|     88|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     88|    do {                    \
  |  |   52|     88|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 88]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     88|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 88]
  |  |  ------------------
  ------------------
 2762|     88|                codegen_nameop(c, loc, handler->v.ExceptHandler.name, Store));
 2763|     88|        }
 2764|    814|        else {
 2765|    814|            ADDOP(c, loc, POP_TOP);  // match
  ------------------
  |  |  294|    814|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    814|    do {                    \
  |  |  |  |   52|    814|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 814]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    814|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 814]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2766|    814|        }
 2767|       |
 2768|       |        /*
 2769|       |          try:
 2770|       |              # body
 2771|       |          except type as name:
 2772|       |              try:
 2773|       |                  # body
 2774|       |              finally:
 2775|       |                  name = None # in case body contains "del name"
 2776|       |                  del name
 2777|       |        */
 2778|       |        /* second try: */
 2779|    902|        ADDOP_JUMP(c, loc, SETUP_CLEANUP, cleanup_end);
  ------------------
  |  |  435|    902|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    902|    do {                    \
  |  |  |  |   52|    902|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 902]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    902|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 902]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2780|       |
 2781|    902|        USE_LABEL(c, cleanup_body);
  ------------------
  |  |  100|    902|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    902|    do {                    \
  |  |  |  |   52|    902|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 902]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    902|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 902]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2782|    902|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    902|    do {                    \
  |  |   52|    902|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 902]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    902|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 902]
  |  |  ------------------
  ------------------
 2783|    902|            _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_HANDLER_CLEANUP, cleanup_body,
 2784|    902|                                  NO_LABEL, handler->v.ExceptHandler.name));
 2785|       |
 2786|       |        /* second # body */
 2787|    902|        VISIT_SEQ(c, stmt, handler->v.ExceptHandler.body);
  ------------------
  |  |  466|    902|    do {                                                                    \
  |  |  467|    902|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  2.26k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  2.26k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  4.53k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 2.26k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 1.36k, False: 899]
  |  |  ------------------
  |  |  469|  1.36k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.36k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.36k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  1.36k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.36k|    do {                    \
  |  |  |  |   52|  1.36k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 3, False: 1.36k]
  |  |  |  |  ------------------
  |  |  |  |   53|      3|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      3|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      3|        }                   \
  |  |  |  |   55|  1.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  1.36k|        }                                                                   \
  |  |  472|    902|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 899]
  |  |  ------------------
  ------------------
 2788|    899|        _PyCompile_PopFBlock(c, COMPILE_FBLOCK_HANDLER_CLEANUP, cleanup_body);
 2789|       |        /* name = None; del name; # artificial */
 2790|    899|        ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  294|    899|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    899|    do {                    \
  |  |  |  |   52|    899|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 899]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    899|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 899]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2791|    899|        if (handler->v.ExceptHandler.name) {
  ------------------
  |  Branch (2791:13): [True: 88, False: 811]
  ------------------
 2792|     88|            ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  311|     88|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     88|    do {                    \
  |  |  |  |   52|     88|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 88]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     88|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 88]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2793|     88|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     88|    do {                    \
  |  |   52|     88|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 88]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     88|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 88]
  |  |  ------------------
  ------------------
 2794|     88|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Store));
 2795|     88|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     88|    do {                    \
  |  |   52|     88|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 88]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     88|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 88]
  |  |  ------------------
  ------------------
 2796|     88|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Del));
 2797|     88|        }
 2798|    899|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, except);
  ------------------
  |  |  435|    899|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    899|    do {                    \
  |  |  |  |   52|    899|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 899]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    899|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 899]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2799|       |
 2800|       |        /* except: */
 2801|    899|        USE_LABEL(c, cleanup_end);
  ------------------
  |  |  100|    899|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    899|    do {                    \
  |  |  |  |   52|    899|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 899]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    899|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 899]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2802|       |
 2803|       |        /* name = None; del name; # artificial */
 2804|    899|        if (handler->v.ExceptHandler.name) {
  ------------------
  |  Branch (2804:13): [True: 88, False: 811]
  ------------------
 2805|     88|            ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  311|     88|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     88|    do {                    \
  |  |  |  |   52|     88|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 88]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     88|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 88]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2806|     88|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     88|    do {                    \
  |  |   52|     88|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 88]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     88|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 88]
  |  |  ------------------
  ------------------
 2807|     88|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Store));
 2808|     88|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     88|    do {                    \
  |  |   52|     88|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 88]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     88|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 88]
  |  |  ------------------
  ------------------
 2809|     88|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Del));
 2810|     88|        }
 2811|       |
 2812|       |        /* add exception raised to the res list */
 2813|    899|        ADDOP_I(c, NO_LOCATION, LIST_APPEND, 3); // exc
  ------------------
  |  |  280|    899|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    899|    do {                    \
  |  |  |  |   52|    899|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 899]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    899|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 899]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2814|    899|        ADDOP(c, NO_LOCATION, POP_TOP); // lasti
  ------------------
  |  |  294|    899|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    899|    do {                    \
  |  |  |  |   52|    899|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 899]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    899|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 899]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2815|    899|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, except_with_error);
  ------------------
  |  |  435|    899|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    899|    do {                    \
  |  |  |  |   52|    899|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 899]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    899|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 899]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2816|       |
 2817|    899|        USE_LABEL(c, except);
  ------------------
  |  |  100|    899|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    899|    do {                    \
  |  |  |  |   52|    899|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 899]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    899|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 899]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2818|    899|        ADDOP(c, NO_LOCATION, NOP);  // to hold a propagated location info
  ------------------
  |  |  294|    899|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    899|    do {                    \
  |  |  |  |   52|    899|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 899]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    899|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 899]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2819|    899|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, except_with_error);
  ------------------
  |  |  435|    899|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    899|    do {                    \
  |  |  |  |   52|    899|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 899]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    899|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 899]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2820|       |
 2821|    899|        USE_LABEL(c, no_match);
  ------------------
  |  |  100|    899|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    899|    do {                    \
  |  |  |  |   52|    899|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 899]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    899|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 899]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2822|    899|        ADDOP(c, loc, POP_TOP);  // match (None)
  ------------------
  |  |  294|    899|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    899|    do {                    \
  |  |  |  |   52|    899|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 899]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    899|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 899]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2823|       |
 2824|    899|        USE_LABEL(c, except_with_error);
  ------------------
  |  |  100|    899|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    899|    do {                    \
  |  |  |  |   52|    899|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 899]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    899|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 899]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2825|       |
 2826|    899|        if (i == n - 1) {
  ------------------
  |  Branch (2826:13): [True: 531, False: 368]
  ------------------
 2827|       |            /* Add exc to the list (if not None it's the unhandled part of the EG) */
 2828|    531|            ADDOP_I(c, NO_LOCATION, LIST_APPEND, 1);
  ------------------
  |  |  280|    531|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2829|    531|            ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, reraise_star);
  ------------------
  |  |  435|    531|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2830|    531|        }
 2831|    899|    }
 2832|       |    /* artificial */
 2833|    531|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_EXCEPTION_GROUP_HANDLER, NO_LABEL);
  ------------------
  |  |   57|    531|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
 2834|    531|    NEW_JUMP_TARGET_LABEL(c, reraise);
  ------------------
  |  |   94|    531|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    531|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    531|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    531|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    531|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 531]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2835|       |
 2836|    531|    USE_LABEL(c, reraise_star);
  ------------------
  |  |  100|    531|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2837|    531|    ADDOP_I(c, NO_LOCATION, CALL_INTRINSIC_2, INTRINSIC_PREP_RERAISE_STAR);
  ------------------
  |  |  280|    531|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2838|    531|    ADDOP_I(c, NO_LOCATION, COPY, 1);
  ------------------
  |  |  280|    531|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2839|    531|    ADDOP_JUMP(c, NO_LOCATION, POP_JUMP_IF_NOT_NONE, reraise);
  ------------------
  |  |  435|    531|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2840|       |
 2841|       |    /* Nothing to reraise */
 2842|    531|    ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  294|    531|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2843|    531|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  294|    531|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2844|    531|    ADDOP(c, NO_LOCATION, POP_EXCEPT);
  ------------------
  |  |  294|    531|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2845|    531|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  435|    531|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2846|       |
 2847|    531|    USE_LABEL(c, reraise);
  ------------------
  |  |  100|    531|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2848|    531|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  294|    531|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2849|    531|    ADDOP_I(c, NO_LOCATION, SWAP, 2);
  ------------------
  |  |  280|    531|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2850|    531|    ADDOP(c, NO_LOCATION, POP_EXCEPT);
  ------------------
  |  |  294|    531|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2851|    531|    ADDOP_I(c, NO_LOCATION, RERAISE, 0);
  ------------------
  |  |  280|    531|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2852|       |
 2853|    531|    USE_LABEL(c, cleanup);
  ------------------
  |  |  100|    531|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2854|    531|    POP_EXCEPT_AND_RERAISE(c, NO_LOCATION);
  ------------------
  |  |  450|    531|    RETURN_IF_ERROR(codegen_pop_except_and_reraise((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2855|       |
 2856|    531|    USE_LABEL(c, orelse);
  ------------------
  |  |  100|    531|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    531|    do {                    \
  |  |  |  |   52|    531|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 531]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    531|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 531]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2857|    531|    VISIT_SEQ(c, stmt, s->v.TryStar.orelse);
  ------------------
  |  |  466|    531|    do {                                                                    \
  |  |  467|    531|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|    801|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    801|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 520, False: 281]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 271, False: 530]
  |  |  ------------------
  |  |  469|    271|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    271|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    271|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|    271|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    271|    do {                    \
  |  |  |  |   52|    271|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 270]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    271|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 270]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|    271|        }                                                                   \
  |  |  472|    531|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 530]
  |  |  ------------------
  ------------------
 2858|       |
 2859|    530|    USE_LABEL(c, end);
  ------------------
  |  |  100|    530|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    530|    do {                    \
  |  |  |  |   52|    530|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 530]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    530|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 530]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2860|    530|    return SUCCESS;
  ------------------
  |  |   47|    530|#define SUCCESS 0
  ------------------
 2861|    530|}
codegen.c:codegen_assert:
 3061|  3.07k|{
 3062|       |    /* Always emit a warning if the test is a non-zero length tuple */
 3063|  3.07k|    if ((s->v.Assert.test->kind == Tuple_kind &&
  ------------------
  |  Branch (3063:10): [True: 176, False: 2.89k]
  ------------------
 3064|    176|        asdl_seq_LEN(s->v.Assert.test->v.Tuple.elts) > 0) ||
  ------------------
  |  |   83|    176|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    352|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 75, False: 101]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3064:9): [True: 101, False: 75]
  ------------------
 3065|  2.96k|        (s->v.Assert.test->kind == Constant_kind &&
  ------------------
  |  Branch (3065:10): [True: 1.34k, False: 1.62k]
  ------------------
 3066|  2.96k|         PyTuple_Check(s->v.Assert.test->v.Constant.value) &&
  ------------------
  |  |   27|  1.34k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.31k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 1.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3067|      0|         PyTuple_Size(s->v.Assert.test->v.Constant.value) > 0))
  ------------------
  |  Branch (3067:10): [True: 0, False: 0]
  ------------------
 3068|    101|    {
 3069|    101|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    101|    do {                    \
  |  |   52|    101|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 101]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    101|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 101]
  |  |  ------------------
  ------------------
 3070|    101|            _PyCompile_Warn(c, LOC(s), "assertion is always true, "
 3071|    101|                                       "perhaps remove parentheses?"));
 3072|    101|    }
 3073|  3.07k|    if (OPTIMIZATION_LEVEL(c)) {
  ------------------
  |  |   72|  3.07k|#define OPTIMIZATION_LEVEL(C) _PyCompile_OptimizationLevel(C)
  |  |  ------------------
  |  |  |  Branch (72:31): [True: 396, False: 2.67k]
  |  |  ------------------
  ------------------
 3074|    396|        return SUCCESS;
  ------------------
  |  |   47|    396|#define SUCCESS 0
  ------------------
 3075|    396|    }
 3076|  2.67k|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|  2.67k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  2.67k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  2.67k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  2.67k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  2.67k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 2.67k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 3077|  2.67k|    RETURN_IF_ERROR(codegen_jump_if(c, LOC(s), s->v.Assert.test, end, 1));
  ------------------
  |  |   51|  2.67k|    do {                    \
  |  |   52|  2.67k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 4, False: 2.67k]
  |  |  ------------------
  |  |   53|      4|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      4|#define ERROR -1
  |  |  ------------------
  |  |   54|      4|        }                   \
  |  |   55|  2.67k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.67k]
  |  |  ------------------
  ------------------
 3078|  2.67k|    ADDOP_I(c, LOC(s), LOAD_COMMON_CONSTANT, CONSTANT_ASSERTIONERROR);
  ------------------
  |  |  280|  2.67k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.67k|    do {                    \
  |  |  |  |   52|  2.67k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.67k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.67k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.67k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3079|  2.67k|    if (s->v.Assert.msg) {
  ------------------
  |  Branch (3079:9): [True: 962, False: 1.70k]
  ------------------
 3080|    962|        VISIT(c, expr, s->v.Assert.msg);
  ------------------
  |  |  460|    962|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    962|    do {                    \
  |  |  |  |   52|    962|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 961]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    962|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 961]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3081|    961|        ADDOP_I(c, LOC(s), CALL, 0);
  ------------------
  |  |  280|    961|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    961|    do {                    \
  |  |  |  |   52|    961|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 961]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    961|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 961]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3082|    961|    }
 3083|  2.66k|    ADDOP_I(c, LOC(s->v.Assert.test), RAISE_VARARGS, 1);
  ------------------
  |  |  280|  2.66k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.66k|    do {                    \
  |  |  |  |   52|  2.66k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.66k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.66k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.66k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3084|       |
 3085|  2.66k|    USE_LABEL(c, end);
  ------------------
  |  |  100|  2.66k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  2.66k|    do {                    \
  |  |  |  |   52|  2.66k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.66k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.66k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.66k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3086|  2.66k|    return SUCCESS;
  ------------------
  |  |   47|  2.66k|#define SUCCESS 0
  ------------------
 3087|  2.66k|}
codegen.c:codegen_import:
 2937|  1.47k|{
 2938|  1.47k|    location loc = LOC(s);
  ------------------
  |  |   88|  1.47k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.47k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.47k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.47k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.47k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.47k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2939|       |    /* The Import node stores a module name like a.b.c as a single
 2940|       |       string.  This is convenient for all cases except
 2941|       |         import a.b.c as d
 2942|       |       where we need to parse that string to extract the individual
 2943|       |       module names.
 2944|       |       XXX Perhaps change the representation to make this case simpler?
 2945|       |     */
 2946|  1.47k|    Py_ssize_t i, n = asdl_seq_LEN(s->v.Import.names);
  ------------------
  |  |   83|  1.47k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  2.94k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.47k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2947|       |
 2948|  1.47k|    PyObject *zero = _PyLong_GetZero();  // borrowed reference
 2949|  8.03k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2949:17): [True: 6.55k, False: 1.47k]
  ------------------
 2950|  6.55k|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.Import.names, i);
  ------------------
  |  |   82|  6.55k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  6.55k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2951|  6.55k|        int r;
 2952|       |
 2953|  6.55k|        ADDOP_LOAD_CONST(c, loc, zero);
  ------------------
  |  |  311|  6.55k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  6.55k|    do {                    \
  |  |  |  |   52|  6.55k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.55k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.55k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.55k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2954|  6.55k|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  311|  6.55k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  6.55k|    do {                    \
  |  |  |  |   52|  6.55k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.55k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.55k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.55k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2955|  6.55k|        if (s->v.Import.is_lazy) {
  ------------------
  |  Branch (2955:13): [True: 45, False: 6.51k]
  ------------------
 2956|     45|            RETURN_IF_ERROR(codegen_validate_lazy_import(c, loc));
  ------------------
  |  |   51|     45|    do {                    \
  |  |   52|     45|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 45]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     45|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 45]
  |  |  ------------------
  ------------------
 2957|     45|            ADDOP_NAME_CUSTOM(c, loc, IMPORT_NAME, alias->name, names, 2, 1);
  ------------------
  |  |  422|     45|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|     45|    do {                    \
  |  |  |  |   52|     45|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 45]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     45|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 45]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2958|  6.51k|        } else {
 2959|  6.51k|            if (_PyCompile_InExceptionHandler(c) ||
  ------------------
  |  Branch (2959:17): [True: 172, False: 6.34k]
  ------------------
 2960|  6.34k|                _PyCompile_ScopeType(c) != COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (2960:17): [True: 3.82k, False: 2.51k]
  ------------------
 2961|       |                // force eager import in try/except block
 2962|  4.00k|                ADDOP_NAME_CUSTOM(c, loc, IMPORT_NAME, alias->name, names, 2, 2);
  ------------------
  |  |  422|  4.00k|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|  4.00k|    do {                    \
  |  |  |  |   52|  4.00k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.00k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.00k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2963|  4.00k|            } else {
 2964|  2.51k|                ADDOP_NAME_CUSTOM(c, loc, IMPORT_NAME, alias->name, names, 2, 0);
  ------------------
  |  |  422|  2.51k|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|  2.51k|    do {                    \
  |  |  |  |   52|  2.51k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.51k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.51k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.51k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2965|  2.51k|            }
 2966|  6.51k|        }
 2967|       |
 2968|  6.55k|        if (alias->asname) {
  ------------------
  |  Branch (2968:13): [True: 250, False: 6.30k]
  ------------------
 2969|    250|            r = codegen_import_as(c, loc, alias->name, alias->asname);
 2970|    250|            RETURN_IF_ERROR(r);
  ------------------
  |  |   51|    250|    do {                    \
  |  |   52|    250|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 250]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    250|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 250]
  |  |  ------------------
  ------------------
 2971|    250|        }
 2972|  6.30k|        else {
 2973|  6.30k|            identifier tmp = alias->name;
 2974|  6.30k|            Py_ssize_t dot = PyUnicode_FindChar(
 2975|  6.30k|                alias->name, '.', 0, PyUnicode_GET_LENGTH(alias->name), 1);
  ------------------
  |  |  300|  6.30k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2976|  6.30k|            if (dot != -1) {
  ------------------
  |  Branch (2976:17): [True: 1.19k, False: 5.11k]
  ------------------
 2977|  1.19k|                tmp = PyUnicode_Substring(alias->name, 0, dot);
 2978|  1.19k|                if (tmp == NULL) {
  ------------------
  |  Branch (2978:21): [True: 0, False: 1.19k]
  ------------------
 2979|      0|                    return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2980|      0|                }
 2981|  1.19k|            }
 2982|  6.30k|            r = codegen_nameop(c, loc, tmp, Store);
 2983|  6.30k|            if (dot != -1) {
  ------------------
  |  Branch (2983:17): [True: 1.19k, False: 5.11k]
  ------------------
 2984|  1.19k|                Py_DECREF(tmp);
  ------------------
  |  |  430|  1.19k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2985|  1.19k|            }
 2986|  6.30k|            RETURN_IF_ERROR(r);
  ------------------
  |  |   51|  6.30k|    do {                    \
  |  |   52|  6.30k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.30k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.30k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.30k]
  |  |  ------------------
  ------------------
 2987|  6.30k|        }
 2988|  6.55k|    }
 2989|  1.47k|    return SUCCESS;
  ------------------
  |  |   47|  1.47k|#define SUCCESS 0
  ------------------
 2990|  1.47k|}
codegen.c:codegen_validate_lazy_import:
 2926|    149|{
 2927|    149|    if (_PyCompile_ScopeType(c) != COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (2927:9): [True: 0, False: 149]
  ------------------
 2928|      0|        return _PyCompile_Error(
 2929|      0|            c, loc, "lazy imports only allowed in module scope");
 2930|      0|    }
 2931|       |
 2932|    149|    return SUCCESS;
  ------------------
  |  |   47|    149|#define SUCCESS 0
  ------------------
 2933|    149|}
codegen.c:codegen_import_as:
 2885|    250|{
 2886|       |    /* The IMPORT_NAME opcode was already generated.  This function
 2887|       |       merely needs to bind the result to a name.
 2888|       |
 2889|       |       If there is a dot in name, we need to split it and emit a
 2890|       |       IMPORT_FROM for each name.
 2891|       |    */
 2892|    250|    Py_ssize_t len = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  300|    250|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    250|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    250|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2893|    250|    Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0, len, 1);
 2894|    250|    if (dot == -2) {
  ------------------
  |  Branch (2894:9): [True: 0, False: 250]
  ------------------
 2895|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2896|      0|    }
 2897|    250|    if (dot != -1) {
  ------------------
  |  Branch (2897:9): [True: 77, False: 173]
  ------------------
 2898|       |        /* Consume the base module name to get the first attribute */
 2899|  1.71k|        while (1) {
  ------------------
  |  Branch (2899:16): [True: 1.71k, Folded]
  ------------------
 2900|  1.71k|            Py_ssize_t pos = dot + 1;
 2901|  1.71k|            PyObject *attr;
 2902|  1.71k|            dot = PyUnicode_FindChar(name, '.', pos, len, 1);
 2903|  1.71k|            if (dot == -2) {
  ------------------
  |  Branch (2903:17): [True: 0, False: 1.71k]
  ------------------
 2904|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2905|      0|            }
 2906|  1.71k|            attr = PyUnicode_Substring(name, pos, (dot != -1) ? dot : len);
  ------------------
  |  Branch (2906:51): [True: 1.63k, False: 77]
  ------------------
 2907|  1.71k|            if (!attr) {
  ------------------
  |  Branch (2907:17): [True: 0, False: 1.71k]
  ------------------
 2908|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2909|      0|            }
 2910|  1.71k|            ADDOP_N(c, loc, IMPORT_FROM, attr, names);
  ------------------
  |  |  345|  1.71k|    do {                                                                \
  |  |  346|  1.71k|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  347|  1.71k|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  348|  1.71k|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|  1.71k|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  349|  1.71k|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  430|  1.71k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  350|  1.71k|        RETURN_IF_ERROR(ret);                                           \
  |  |  ------------------
  |  |  |  |   51|  1.71k|    do {                    \
  |  |  |  |   52|  1.71k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.71k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.71k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.71k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  351|  1.71k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (351:14): [Folded, False: 1.71k]
  |  |  ------------------
  ------------------
  |  Branch (2910:13): [True: 1.71k, Folded]
  ------------------
 2911|  1.71k|            if (dot == -1) {
  ------------------
  |  Branch (2911:17): [True: 77, False: 1.63k]
  ------------------
 2912|     77|                break;
 2913|     77|            }
 2914|  1.63k|            ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  280|  1.63k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.63k|    do {                    \
  |  |  |  |   52|  1.63k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.63k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.63k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.63k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2915|  1.63k|            ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  294|  1.63k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.63k|    do {                    \
  |  |  |  |   52|  1.63k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.63k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.63k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.63k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2916|  1.63k|        }
 2917|     77|        RETURN_IF_ERROR(codegen_nameop(c, loc, asname, Store));
  ------------------
  |  |   51|     77|    do {                    \
  |  |   52|     77|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 77]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     77|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 77]
  |  |  ------------------
  ------------------
 2918|     77|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  294|     77|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     77|    do {                    \
  |  |  |  |   52|     77|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 77]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     77|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 77]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2919|     77|        return SUCCESS;
  ------------------
  |  |   47|     77|#define SUCCESS 0
  ------------------
 2920|     77|    }
 2921|    173|    return codegen_nameop(c, loc, asname, Store);
 2922|    250|}
codegen.c:codegen_from_import:
 2994|  3.27k|{
 2995|  3.27k|    Py_ssize_t n = asdl_seq_LEN(s->v.ImportFrom.names);
  ------------------
  |  |   83|  3.27k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  6.54k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2996|       |
 2997|  3.27k|    ADDOP_LOAD_CONST_NEW(c, LOC(s), PyLong_FromLong(s->v.ImportFrom.level));
  ------------------
  |  |  329|  3.27k|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  3.27k|    do {                    \
  |  |  |  |   52|  3.27k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.27k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.27k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2998|       |
 2999|  3.27k|    PyObject *names = PyTuple_New(n);
 3000|  3.27k|    if (!names) {
  ------------------
  |  Branch (3000:9): [True: 0, False: 3.27k]
  ------------------
 3001|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3002|      0|    }
 3003|       |
 3004|       |    /* build up the names */
 3005|  8.89k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3005:28): [True: 5.62k, False: 3.27k]
  ------------------
 3006|  5.62k|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, i);
  ------------------
  |  |   82|  5.62k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  5.62k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3007|  5.62k|        PyTuple_SET_ITEM(names, i, Py_NewRef(alias->name));
  ------------------
  |  |   40|  5.62k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  5.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  5.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3008|  5.62k|    }
 3009|       |
 3010|  3.27k|    ADDOP_LOAD_CONST_NEW(c, LOC(s), names);
  ------------------
  |  |  329|  3.27k|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  3.27k|    do {                    \
  |  |  |  |   52|  3.27k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.27k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.27k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3011|       |
 3012|  3.27k|    identifier from = &_Py_STR(empty);
  ------------------
  |  |  953|  3.27k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.27k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.27k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3013|  3.27k|    if (s->v.ImportFrom.module) {
  ------------------
  |  Branch (3013:9): [True: 2.98k, False: 287]
  ------------------
 3014|  2.98k|        from = s->v.ImportFrom.module;
 3015|  2.98k|    }
 3016|  3.27k|    if (s->v.ImportFrom.is_lazy) {
  ------------------
  |  Branch (3016:9): [True: 104, False: 3.16k]
  ------------------
 3017|    104|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, 0);
  ------------------
  |  |   82|    104|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    104|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3018|    104|        if (PyUnicode_READ_CHAR(alias->name, 0) == '*') {
  ------------------
  |  |  382|    104|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3018:13): [True: 0, False: 104]
  ------------------
 3019|      0|            return _PyCompile_Error(c, LOC(s), "cannot lazy import *");
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 3020|      0|        }
 3021|    104|        RETURN_IF_ERROR(codegen_validate_lazy_import(c, LOC(s)));
  ------------------
  |  |   51|    104|    do {                    \
  |  |   52|    104|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 104]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    104|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 104]
  |  |  ------------------
  ------------------
 3022|    104|        ADDOP_NAME_CUSTOM(c, LOC(s), IMPORT_NAME, from, names, 2, 1);
  ------------------
  |  |  422|    104|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|    104|    do {                    \
  |  |  |  |   52|    104|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 104]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    104|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 104]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3023|  3.16k|    } else {
 3024|  3.16k|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, 0);
  ------------------
  |  |   82|  3.16k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  3.16k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3025|  3.16k|        if (_PyCompile_InExceptionHandler(c) ||
  ------------------
  |  Branch (3025:13): [True: 98, False: 3.07k]
  ------------------
 3026|  3.07k|            _PyCompile_ScopeType(c) != COMPILE_SCOPE_MODULE ||
  ------------------
  |  Branch (3026:13): [True: 967, False: 2.10k]
  ------------------
 3027|  2.10k|            PyUnicode_READ_CHAR(alias->name, 0) == '*') {
  ------------------
  |  |  382|  2.10k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  2.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3027:13): [True: 8, False: 2.09k]
  ------------------
 3028|       |            // forced non-lazy import due to try/except or import *
 3029|  1.07k|            ADDOP_NAME_CUSTOM(c, LOC(s), IMPORT_NAME, from, names, 2, 2);
  ------------------
  |  |  422|  1.07k|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|  1.07k|    do {                    \
  |  |  |  |   52|  1.07k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.07k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.07k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.07k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3030|  2.09k|        } else {
 3031|  2.09k|            ADDOP_NAME_CUSTOM(c, LOC(s), IMPORT_NAME, from, names, 2, 0);
  ------------------
  |  |  422|  2.09k|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|  2.09k|    do {                    \
  |  |  |  |   52|  2.09k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3032|  2.09k|        }
 3033|  3.16k|    }
 3034|       |
 3035|  8.88k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3035:28): [True: 5.62k, False: 3.26k]
  ------------------
 3036|  5.62k|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, i);
  ------------------
  |  |   82|  5.62k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  5.62k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3037|  5.62k|        identifier store_name;
 3038|       |
 3039|  5.62k|        if (i == 0 && PyUnicode_READ_CHAR(alias->name, 0) == '*') {
  ------------------
  |  |  382|  3.27k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  3.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3039:13): [True: 3.27k, False: 2.34k]
  |  Branch (3039:23): [True: 8, False: 3.26k]
  ------------------
 3040|      8|            assert(n == 1);
  ------------------
  |  Branch (3040:13): [True: 8, False: 0]
  ------------------
 3041|      8|            ADDOP_I(c, LOC(s), CALL_INTRINSIC_1, INTRINSIC_IMPORT_STAR);
  ------------------
  |  |  280|      8|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      8|    do {                    \
  |  |  |  |   52|      8|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3042|      8|            ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  294|      8|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      8|    do {                    \
  |  |  |  |   52|      8|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3043|      8|            return SUCCESS;
  ------------------
  |  |   47|      8|#define SUCCESS 0
  ------------------
 3044|      8|        }
 3045|       |
 3046|  5.61k|        ADDOP_NAME(c, LOC(s), IMPORT_FROM, alias->name, names);
  ------------------
  |  |  419|  5.61k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  5.61k|    do {                    \
  |  |  |  |   52|  5.61k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5.61k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  5.61k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5.61k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3047|  5.61k|        store_name = alias->name;
 3048|  5.61k|        if (alias->asname) {
  ------------------
  |  Branch (3048:13): [True: 214, False: 5.40k]
  ------------------
 3049|    214|            store_name = alias->asname;
 3050|    214|        }
 3051|       |
 3052|  5.61k|        RETURN_IF_ERROR(codegen_nameop(c, LOC(s), store_name, Store));
  ------------------
  |  |   51|  5.61k|    do {                    \
  |  |   52|  5.61k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 5.61k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  5.61k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 5.61k]
  |  |  ------------------
  ------------------
 3053|  5.61k|    }
 3054|       |    /* remove imported module */
 3055|  3.26k|    ADDOP(c, LOC(s), POP_TOP);
  ------------------
  |  |  294|  3.26k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.26k|    do {                    \
  |  |  |  |   52|  3.26k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.26k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.26k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3056|  3.26k|    return SUCCESS;
  ------------------
  |  |   47|  3.26k|#define SUCCESS 0
  ------------------
 3057|  3.26k|}
codegen.c:codegen_stmt_expr:
 3091|  81.8k|{
 3092|  81.8k|    if (IS_INTERACTIVE_TOP_LEVEL(c)) {
  ------------------
  |  |   73|  81.8k|#define IS_INTERACTIVE_TOP_LEVEL(C) _PyCompile_IsInteractiveTopLevel(C)
  |  |  ------------------
  |  |  |  Branch (73:37): [True: 3.03k, False: 78.8k]
  |  |  ------------------
  ------------------
 3093|  3.03k|        VISIT(c, expr, value);
  ------------------
  |  |  460|  3.03k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  3.03k|    do {                    \
  |  |  |  |   52|  3.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 88, False: 2.94k]
  |  |  |  |  ------------------
  |  |  |  |   53|     88|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     88|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     88|        }                   \
  |  |  |  |   55|  3.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3094|  2.94k|        ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_PRINT);
  ------------------
  |  |  280|  2.94k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.94k|    do {                    \
  |  |  |  |   52|  2.94k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.94k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.94k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3095|  2.94k|        ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  294|  2.94k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.94k|    do {                    \
  |  |  |  |   52|  2.94k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.94k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.94k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3096|  2.94k|        return SUCCESS;
  ------------------
  |  |   47|  2.94k|#define SUCCESS 0
  ------------------
 3097|  2.94k|    }
 3098|       |
 3099|  78.8k|    if (value->kind == Constant_kind) {
  ------------------
  |  Branch (3099:9): [True: 3.00k, False: 75.8k]
  ------------------
 3100|       |        /* ignore constant statement */
 3101|  3.00k|        ADDOP(c, loc, NOP);
  ------------------
  |  |  294|  3.00k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.00k|    do {                    \
  |  |  |  |   52|  3.00k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.00k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.00k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3102|  3.00k|        return SUCCESS;
  ------------------
  |  |   47|  3.00k|#define SUCCESS 0
  ------------------
 3103|  3.00k|    }
 3104|       |
 3105|  75.8k|    VISIT_UNUSED(c, expr, value);
  ------------------
  |  |  487|  75.8k|    RETURN_IF_ERROR(codegen_visit_unused_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  75.8k|    do {                    \
  |  |  |  |   52|  75.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 185, False: 75.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|    185|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    185|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    185|        }                   \
  |  |  |  |   55|  75.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 75.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3106|  75.6k|    ADDOP(c, NO_LOCATION, POP_TOP); /* artificial */
  ------------------
  |  |  294|  75.6k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  75.6k|    do {                    \
  |  |  |  |   52|  75.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 75.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  75.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 75.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3107|  75.6k|    return SUCCESS;
  ------------------
  |  |   47|  75.6k|#define SUCCESS 0
  ------------------
 3108|  75.6k|}
codegen.c:codegen_visit_unused_expr:
 5628|  75.8k|{
 5629|       |    return codegen_visit_expr_impl(c, e, true);
 5630|  75.8k|}
codegen.c:codegen_visit_expr_impl:
 5467|  2.33M|{
 5468|  2.33M|    if (Py_EnterRecursiveCall(" during compilation")) {
  ------------------
  |  Branch (5468:9): [True: 0, False: 2.33M]
  ------------------
 5469|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5470|      0|    }
 5471|  2.33M|    location loc = LOC(e);
  ------------------
  |  |   88|  2.33M|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  2.33M|    (_Py_SourceLocation){ \
  |  |  |  |   59|  2.33M|               .lineno = (n)->lineno, \
  |  |  |  |   60|  2.33M|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  2.33M|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  2.33M|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5472|  2.33M|    switch (e->kind) {
  ------------------
  |  Branch (5472:13): [True: 2.33M, False: 0]
  ------------------
 5473|  1.42k|    case NamedExpr_kind:
  ------------------
  |  Branch (5473:5): [True: 1.42k, False: 2.33M]
  ------------------
 5474|  1.42k|        VISIT(c, expr, e->v.NamedExpr.value);
  ------------------
  |  |  460|  1.42k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.42k|    do {                    \
  |  |  |  |   52|  1.42k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 17, False: 1.41k]
  |  |  |  |  ------------------
  |  |  |  |   53|     17|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     17|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     17|        }                   \
  |  |  |  |   55|  1.42k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.41k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5475|  1.41k|        ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  280|  1.41k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.41k|    do {                    \
  |  |  |  |   52|  1.41k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.41k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.41k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.41k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5476|  1.41k|        VISIT(c, expr, e->v.NamedExpr.target);
  ------------------
  |  |  460|  1.41k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.41k|    do {                    \
  |  |  |  |   52|  1.41k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.41k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.41k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.41k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5477|  1.41k|        break;
 5478|  1.70k|    case BoolOp_kind:
  ------------------
  |  Branch (5478:5): [True: 1.70k, False: 2.33M]
  ------------------
 5479|  1.70k|        return codegen_boolop(c, e);
 5480|   653k|    case BinOp_kind:
  ------------------
  |  Branch (5480:5): [True: 653k, False: 1.68M]
  ------------------
 5481|   653k|        VISIT(c, expr, e->v.BinOp.left);
  ------------------
  |  |  460|   653k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|   653k|    do {                    \
  |  |  |  |   52|   653k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 306, False: 653k]
  |  |  |  |  ------------------
  |  |  |  |   53|    306|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    306|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    306|        }                   \
  |  |  |  |   55|   653k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 653k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5482|   653k|        VISIT(c, expr, e->v.BinOp.right);
  ------------------
  |  |  460|   653k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|   653k|    do {                    \
  |  |  |  |   52|   653k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 431, False: 653k]
  |  |  |  |  ------------------
  |  |  |  |   53|    431|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    431|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    431|        }                   \
  |  |  |  |   55|   653k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 653k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5483|   653k|        ADDOP_BINARY(c, loc, e->v.BinOp.op);
  ------------------
  |  |  441|   653k|    RETURN_IF_ERROR(addop_binary((C), (LOC), (BINOP), false))
  |  |  ------------------
  |  |  |  |   51|   653k|    do {                    \
  |  |  |  |   52|   653k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 653k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|   653k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 653k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5484|   653k|        break;
 5485|   653k|    case UnaryOp_kind:
  ------------------
  |  Branch (5485:5): [True: 244k, False: 2.08M]
  ------------------
 5486|   244k|        VISIT(c, expr, e->v.UnaryOp.operand);
  ------------------
  |  |  460|   244k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|   244k|    do {                    \
  |  |  |  |   52|   244k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 596, False: 244k]
  |  |  |  |  ------------------
  |  |  |  |   53|    596|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    596|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    596|        }                   \
  |  |  |  |   55|   244k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 244k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5487|   244k|        if (e->v.UnaryOp.op == UAdd) {
  ------------------
  |  Branch (5487:13): [True: 45.9k, False: 198k]
  ------------------
 5488|  45.9k|            ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_UNARY_POSITIVE);
  ------------------
  |  |  280|  45.9k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  45.9k|    do {                    \
  |  |  |  |   52|  45.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 45.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  45.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 45.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5489|  45.9k|        }
 5490|   198k|        else if (e->v.UnaryOp.op == Not) {
  ------------------
  |  Branch (5490:18): [True: 1.64k, False: 196k]
  ------------------
 5491|  1.64k|            ADDOP(c, loc, TO_BOOL);
  ------------------
  |  |  294|  1.64k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.64k|    do {                    \
  |  |  |  |   52|  1.64k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.64k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.64k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.64k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5492|  1.64k|            ADDOP(c, loc, UNARY_NOT);
  ------------------
  |  |  294|  1.64k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.64k|    do {                    \
  |  |  |  |   52|  1.64k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.64k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.64k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.64k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5493|  1.64k|        }
 5494|   196k|        else {
 5495|   196k|            ADDOP(c, loc, unaryop(e->v.UnaryOp.op));
  ------------------
  |  |  294|   196k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|   196k|    do {                    \
  |  |  |  |   52|   196k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 196k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|   196k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 196k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5496|   196k|        }
 5497|   244k|        break;
 5498|   244k|    case Lambda_kind:
  ------------------
  |  Branch (5498:5): [True: 12.9k, False: 2.32M]
  ------------------
 5499|  12.9k|        return codegen_lambda(c, e);
 5500|  1.76k|    case IfExp_kind:
  ------------------
  |  Branch (5500:5): [True: 1.76k, False: 2.33M]
  ------------------
 5501|  1.76k|        return codegen_ifexp(c, e);
 5502|  1.77k|    case Dict_kind:
  ------------------
  |  Branch (5502:5): [True: 1.77k, False: 2.33M]
  ------------------
 5503|  1.77k|        return codegen_dict(c, e);
 5504|  8.29k|    case Set_kind:
  ------------------
  |  Branch (5504:5): [True: 8.29k, False: 2.32M]
  ------------------
 5505|  8.29k|        return codegen_set(c, e);
 5506|  1.15k|    case GeneratorExp_kind:
  ------------------
  |  Branch (5506:5): [True: 1.15k, False: 2.33M]
  ------------------
 5507|  1.15k|        return codegen_genexp(c, e);
 5508|    413|    case ListComp_kind:
  ------------------
  |  Branch (5508:5): [True: 413, False: 2.33M]
  ------------------
 5509|    413|        return codegen_listcomp(c, e, result_is_unused);
 5510|  2.23k|    case SetComp_kind:
  ------------------
  |  Branch (5510:5): [True: 2.23k, False: 2.33M]
  ------------------
 5511|  2.23k|        return codegen_setcomp(c, e);
 5512|    504|    case DictComp_kind:
  ------------------
  |  Branch (5512:5): [True: 504, False: 2.33M]
  ------------------
 5513|    504|        return codegen_dictcomp(c, e);
 5514|    762|    case Yield_kind:
  ------------------
  |  Branch (5514:5): [True: 762, False: 2.33M]
  ------------------
 5515|    762|        if (!_PyST_IsFunctionLike(SYMTABLE_ENTRY(c))) {
  ------------------
  |  |   71|    762|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (5515:13): [True: 110, False: 652]
  ------------------
 5516|    110|            return _PyCompile_Error(c, loc, "'yield' outside function");
 5517|    110|        }
 5518|    652|        if (e->v.Yield.value) {
  ------------------
  |  Branch (5518:13): [True: 236, False: 416]
  ------------------
 5519|    236|            VISIT(c, expr, e->v.Yield.value);
  ------------------
  |  |  460|    236|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    236|    do {                    \
  |  |  |  |   52|    236|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 235]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    236|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 235]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5520|    236|        }
 5521|    416|        else {
 5522|    416|            ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  311|    416|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    416|    do {                    \
  |  |  |  |   52|    416|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 416]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    416|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 416]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5523|    416|        }
 5524|    651|        ADDOP_YIELD(c, loc);
  ------------------
  |  |  453|    651|    RETURN_IF_ERROR(codegen_addop_yield((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    651|    do {                    \
  |  |  |  |   52|    651|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 651]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    651|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 651]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5525|    651|        break;
 5526|    651|    case YieldFrom_kind:
  ------------------
  |  Branch (5526:5): [True: 102, False: 2.33M]
  ------------------
 5527|    102|        if (!_PyST_IsFunctionLike(SYMTABLE_ENTRY(c))) {
  ------------------
  |  |   71|    102|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (5527:13): [True: 5, False: 97]
  ------------------
 5528|      5|            return _PyCompile_Error(c, loc, "'yield from' outside function");
 5529|      5|        }
 5530|     97|        if (SCOPE_TYPE(c) == COMPILE_SCOPE_ASYNC_FUNCTION) {
  ------------------
  |  |   74|     97|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (5530:13): [True: 2, False: 95]
  ------------------
 5531|      2|            return _PyCompile_Error(c, loc, "'yield from' inside async function");
 5532|      2|        }
 5533|     95|        VISIT(c, expr, e->v.YieldFrom.value);
  ------------------
  |  |  460|     95|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     95|    do {                    \
  |  |  |  |   52|     95|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 95]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     95|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 95]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5534|     95|        ADDOP_I(c, loc, GET_ITER, GET_ITER_YIELD_FROM);
  ------------------
  |  |  280|     95|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     95|    do {                    \
  |  |  |  |   52|     95|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 95]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     95|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 95]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5535|     95|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  311|     95|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     95|    do {                    \
  |  |  |  |   52|     95|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 95]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     95|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 95]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5536|     95|        ADD_YIELD_FROM(c, loc, 0);
  ------------------
  |  |  447|     95|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|     95|    do {                    \
  |  |  |  |   52|     95|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 95]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     95|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 95]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5537|     95|        break;
 5538|    433|    case Await_kind:
  ------------------
  |  Branch (5538:5): [True: 433, False: 2.33M]
  ------------------
 5539|    433|        VISIT(c, expr, e->v.Await.value);
  ------------------
  |  |  460|    433|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    433|    do {                    \
  |  |  |  |   52|    433|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 5, False: 428]
  |  |  |  |  ------------------
  |  |  |  |   53|      5|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      5|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      5|        }                   \
  |  |  |  |   55|    433|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 428]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5540|    428|        ADDOP_I(c, loc, GET_AWAITABLE, 0);
  ------------------
  |  |  280|    428|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    428|    do {                    \
  |  |  |  |   52|    428|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 428]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    428|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 428]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5541|    428|        ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  447|    428|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|    428|    do {                    \
  |  |  |  |   52|    428|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 428]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    428|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 428]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5542|    428|        break;
 5543|  17.6k|    case Compare_kind:
  ------------------
  |  Branch (5543:5): [True: 17.6k, False: 2.31M]
  ------------------
 5544|  17.6k|        return codegen_compare(c, e);
 5545|  15.8k|    case Call_kind:
  ------------------
  |  Branch (5545:5): [True: 15.8k, False: 2.31M]
  ------------------
 5546|  15.8k|        return codegen_call(c, e);
 5547|   810k|    case Constant_kind:
  ------------------
  |  Branch (5547:5): [True: 810k, False: 1.52M]
  ------------------
 5548|   810k|        ADDOP_LOAD_CONST(c, loc, e->v.Constant.value);
  ------------------
  |  |  311|   810k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|   810k|    do {                    \
  |  |  |  |   52|   810k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 810k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|   810k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 810k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5549|   810k|        break;
 5550|   810k|    case JoinedStr_kind:
  ------------------
  |  Branch (5550:5): [True: 3.99k, False: 2.32M]
  ------------------
 5551|  3.99k|        return codegen_joined_str(c, e);
 5552|    737|    case TemplateStr_kind:
  ------------------
  |  Branch (5552:5): [True: 737, False: 2.33M]
  ------------------
 5553|    737|        return codegen_template_str(c, e);
 5554|  3.53k|    case FormattedValue_kind:
  ------------------
  |  Branch (5554:5): [True: 3.53k, False: 2.33M]
  ------------------
 5555|  3.53k|        return codegen_formatted_value(c, e);
 5556|  1.16k|    case Interpolation_kind:
  ------------------
  |  Branch (5556:5): [True: 1.16k, False: 2.33M]
  ------------------
 5557|  1.16k|        return codegen_interpolation(c, e);
 5558|       |    /* The following exprs can be assignment targets. */
 5559|  15.8k|    case Attribute_kind:
  ------------------
  |  Branch (5559:5): [True: 15.8k, False: 2.31M]
  ------------------
 5560|  15.8k|        if (e->v.Attribute.ctx == Load) {
  ------------------
  |  Branch (5560:13): [True: 13.0k, False: 2.85k]
  ------------------
 5561|  13.0k|            int ret = can_optimize_super_call(c, e);
 5562|  13.0k|            RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  13.0k|    do {                    \
  |  |   52|  13.0k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 13.0k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  13.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
 5563|  13.0k|            if (ret) {
  ------------------
  |  Branch (5563:17): [True: 305, False: 12.7k]
  ------------------
 5564|    305|                RETURN_IF_ERROR(load_args_for_super(c, e->v.Attribute.value));
  ------------------
  |  |   51|    305|    do {                    \
  |  |   52|    305|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 305]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    305|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 305]
  |  |  ------------------
  ------------------
 5565|    305|                int opcode = asdl_seq_LEN(e->v.Attribute.value->v.Call.args) ?
  ------------------
  |  |   83|    305|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    610|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:26): [True: 250, False: 55]
  |  |  |  |  |  Branch (313:37): [True: 55, False: 250]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5566|    250|                    LOAD_SUPER_ATTR : LOAD_ZERO_SUPER_ATTR;
  ------------------
  |  |  105|    250|#define LOAD_SUPER_ATTR                         92
  ------------------
                                  LOAD_SUPER_ATTR : LOAD_ZERO_SUPER_ATTR;
  ------------------
  |  |  364|     55|#define LOAD_ZERO_SUPER_ATTR -3
  ------------------
 5567|    305|                ADDOP_NAME(c, loc, opcode, e->v.Attribute.attr, names);
  ------------------
  |  |  419|    305|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|    305|    do {                    \
  |  |  |  |   52|    305|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 305]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    305|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 305]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5568|    305|                loc = update_start_location_to_match_attr(c, loc, e);
 5569|    305|                ADDOP(c, loc, NOP);
  ------------------
  |  |  294|    305|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    305|    do {                    \
  |  |  |  |   52|    305|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 305]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    305|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 305]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5570|    305|                return SUCCESS;
  ------------------
  |  |   47|    305|#define SUCCESS 0
  ------------------
 5571|    305|            }
 5572|  13.0k|        }
 5573|  15.5k|        RETURN_IF_ERROR(_PyCompile_MaybeAddStaticAttributeToClass(c, e));
  ------------------
  |  |   51|  15.5k|    do {                    \
  |  |   52|  15.5k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 15.5k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  15.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 15.5k]
  |  |  ------------------
  ------------------
 5574|  15.5k|        loc = LOC(e);
  ------------------
  |  |   88|  15.5k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  15.5k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  15.5k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  15.5k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  15.5k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  15.5k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5575|  15.5k|        loc = update_start_location_to_match_attr(c, loc, e);
 5576|  15.5k|        switch (e->v.Attribute.ctx) {
  ------------------
  |  Branch (5576:17): [True: 15.5k, False: 0]
  ------------------
 5577|  12.7k|        case Load:
  ------------------
  |  Branch (5577:9): [True: 12.7k, False: 2.85k]
  ------------------
 5578|  12.7k|            VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  460|  12.7k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  12.7k|    do {                    \
  |  |  |  |   52|  12.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 528, False: 12.2k]
  |  |  |  |  ------------------
  |  |  |  |   53|    528|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    528|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    528|        }                   \
  |  |  |  |   55|  12.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 12.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5579|  12.2k|            ADDOP_NAME(c, loc, LOAD_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  419|  12.2k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  12.2k|    do {                    \
  |  |  |  |   52|  12.2k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 12.2k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  12.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 12.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5580|  12.2k|            break;
 5581|  12.2k|        case Store:
  ------------------
  |  Branch (5581:9): [True: 2.00k, False: 13.5k]
  ------------------
 5582|  2.00k|            VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  460|  2.00k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.00k|    do {                    \
  |  |  |  |   52|  2.00k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 1.99k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  2.00k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.99k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5583|  1.99k|            ADDOP_NAME(c, loc, STORE_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  419|  1.99k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  1.99k|    do {                    \
  |  |  |  |   52|  1.99k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.99k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.99k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.99k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5584|  1.99k|            break;
 5585|  1.99k|        case Del:
  ------------------
  |  Branch (5585:9): [True: 852, False: 14.7k]
  ------------------
 5586|    852|            ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  294|    852|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    852|    do {                    \
  |  |  |  |   52|    852|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 852]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    852|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 852]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5587|    852|            VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  460|    852|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    852|    do {                    \
  |  |  |  |   52|    852|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 850]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|    852|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 850]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5588|    850|            ADDOP_NAME(c, loc, STORE_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  419|    850|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|    850|    do {                    \
  |  |  |  |   52|    850|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 850]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    850|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 850]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5589|    850|            break;
 5590|  15.5k|        }
 5591|  15.0k|        break;
 5592|  24.3k|    case Subscript_kind:
  ------------------
  |  Branch (5592:5): [True: 24.3k, False: 2.30M]
  ------------------
 5593|  24.3k|        return codegen_subscript(c, e);
 5594|    257|    case Starred_kind:
  ------------------
  |  Branch (5594:5): [True: 257, False: 2.33M]
  ------------------
 5595|    257|        switch (e->v.Starred.ctx) {
 5596|     57|        case Store:
  ------------------
  |  Branch (5596:9): [True: 57, False: 200]
  ------------------
 5597|       |            /* In all legitimate cases, the Starred node was already replaced
 5598|       |             * by codegen_list/codegen_tuple. XXX: is that okay? */
 5599|     57|            return _PyCompile_Error(c, loc,
 5600|     57|                "starred assignment target must be in a list or tuple");
 5601|    200|        default:
  ------------------
  |  Branch (5601:9): [True: 200, False: 57]
  ------------------
 5602|    200|            return _PyCompile_Error(c, loc,
 5603|    200|                "can't use starred expression here");
 5604|    257|        }
 5605|      0|        break;
 5606|  12.8k|    case Slice_kind:
  ------------------
  |  Branch (5606:5): [True: 12.8k, False: 2.32M]
  ------------------
 5607|  12.8k|        RETURN_IF_ERROR(codegen_slice(c, e));
  ------------------
  |  |   51|  12.8k|    do {                    \
  |  |   52|  12.8k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 14, False: 12.7k]
  |  |  ------------------
  |  |   53|     14|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     14|#define ERROR -1
  |  |  ------------------
  |  |   54|     14|        }                   \
  |  |   55|  12.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 12.7k]
  |  |  ------------------
  ------------------
 5608|  12.7k|        break;
 5609|   399k|    case Name_kind:
  ------------------
  |  Branch (5609:5): [True: 399k, False: 1.93M]
  ------------------
 5610|   399k|        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|  6.77k|    case List_kind:
  ------------------
  |  Branch (5612:5): [True: 6.77k, False: 2.32M]
  ------------------
 5613|  6.77k|        return codegen_list(c, e);
 5614|  88.8k|    case Tuple_kind:
  ------------------
  |  Branch (5614:5): [True: 88.8k, False: 2.24M]
  ------------------
 5615|  88.8k|        return codegen_tuple(c, e);
 5616|  2.33M|    }
 5617|  1.73M|    return SUCCESS;
  ------------------
  |  |   47|  1.73M|#define SUCCESS 0
  ------------------
 5618|  2.33M|}
codegen.c:codegen_boolop:
 3422|  1.70k|{
 3423|  1.70k|    int jumpi;
 3424|  1.70k|    Py_ssize_t i, n;
 3425|  1.70k|    asdl_expr_seq *s;
 3426|       |
 3427|  1.70k|    location loc = LOC(e);
  ------------------
  |  |   88|  1.70k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.70k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.70k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.70k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.70k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.70k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3428|  1.70k|    assert(e->kind == BoolOp_kind);
  ------------------
  |  Branch (3428:5): [True: 1.70k, False: 0]
  ------------------
 3429|  1.70k|    if (e->v.BoolOp.op == And)
  ------------------
  |  Branch (3429:9): [True: 862, False: 843]
  ------------------
 3430|    862|        jumpi = JUMP_IF_FALSE;
  ------------------
  |  |  246|    862|#define JUMP_IF_FALSE                          258
  ------------------
 3431|    843|    else
 3432|    843|        jumpi = JUMP_IF_TRUE;
  ------------------
  |  |  247|    843|#define JUMP_IF_TRUE                           259
  ------------------
 3433|  1.70k|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|  1.70k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.70k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.70k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.70k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.70k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.70k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 3434|  1.70k|    s = e->v.BoolOp.values;
 3435|  1.70k|    n = asdl_seq_LEN(s) - 1;
  ------------------
  |  |   83|  1.70k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  3.41k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.70k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3436|  1.70k|    assert(n >= 0);
  ------------------
  |  Branch (3436:5): [True: 1.70k, False: 0]
  ------------------
 3437|  6.57k|    for (i = 0; i < n; ++i) {
  ------------------
  |  Branch (3437:17): [True: 4.90k, False: 1.67k]
  ------------------
 3438|  4.90k|        VISIT(c, expr, (expr_ty)asdl_seq_GET(s, i));
  ------------------
  |  |  460|  4.90k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  4.90k|    do {                    \
  |  |  |  |   52|  4.90k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 30, False: 4.87k]
  |  |  |  |  ------------------
  |  |  |  |   53|     30|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     30|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     30|        }                   \
  |  |  |  |   55|  4.90k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3439|  4.87k|        ADDOP_JUMP(c, loc, jumpi, end);
  ------------------
  |  |  435|  4.87k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  4.87k|    do {                    \
  |  |  |  |   52|  4.87k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.87k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.87k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3440|  4.87k|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  294|  4.87k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.87k|    do {                    \
  |  |  |  |   52|  4.87k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.87k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.87k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3441|  4.87k|    }
 3442|  1.67k|    VISIT(c, expr, (expr_ty)asdl_seq_GET(s, n));
  ------------------
  |  |  460|  1.67k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.67k|    do {                    \
  |  |  |  |   52|  1.67k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 22, False: 1.65k]
  |  |  |  |  ------------------
  |  |  |  |   53|     22|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     22|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     22|        }                   \
  |  |  |  |   55|  1.67k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.65k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3443|       |
 3444|  1.65k|    USE_LABEL(c, end);
  ------------------
  |  |  100|  1.65k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.65k|    do {                    \
  |  |  |  |   52|  1.65k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.65k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.65k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.65k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3445|  1.65k|    return SUCCESS;
  ------------------
  |  |   47|  1.65k|#define SUCCESS 0
  ------------------
 3446|  1.65k|}
codegen.c:unaryop:
 3227|   196k|{
 3228|   196k|    switch (op) {
 3229|  9.73k|    case Invert:
  ------------------
  |  Branch (3229:5): [True: 9.73k, False: 186k]
  ------------------
 3230|  9.73k|        return UNARY_INVERT;
  ------------------
  |  |   51|  9.73k|#define UNARY_INVERT                            38
  ------------------
 3231|   186k|    case USub:
  ------------------
  |  Branch (3231:5): [True: 186k, False: 9.73k]
  ------------------
 3232|   186k|        return UNARY_NEGATIVE;
  ------------------
  |  |   52|   186k|#define UNARY_NEGATIVE                          39
  ------------------
 3233|      0|    default:
  ------------------
  |  Branch (3233:5): [True: 0, False: 196k]
  ------------------
 3234|      0|        PyErr_Format(PyExc_SystemError,
 3235|      0|            "unary op %d should not be possible", op);
 3236|      0|        return 0;
 3237|   196k|    }
 3238|   196k|}
codegen.c:codegen_lambda:
 2091|  12.9k|{
 2092|  12.9k|    PyCodeObject *co;
 2093|  12.9k|    Py_ssize_t funcflags;
 2094|  12.9k|    arguments_ty args = e->v.Lambda.args;
 2095|  12.9k|    assert(e->kind == Lambda_kind);
  ------------------
  |  Branch (2095:5): [True: 12.9k, False: 0]
  ------------------
 2096|       |
 2097|  12.9k|    location loc = LOC(e);
  ------------------
  |  |   88|  12.9k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  12.9k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  12.9k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  12.9k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  12.9k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  12.9k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2098|  12.9k|    funcflags = codegen_default_arguments(c, loc, args);
 2099|  12.9k|    RETURN_IF_ERROR(funcflags);
  ------------------
  |  |   51|  12.9k|    do {                    \
  |  |   52|  12.9k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 2, False: 12.9k]
  |  |  ------------------
  |  |   53|      2|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      2|#define ERROR -1
  |  |  ------------------
  |  |   54|      2|        }                   \
  |  |   55|  12.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 12.9k]
  |  |  ------------------
  ------------------
 2100|       |
 2101|  12.9k|    _PyCompile_CodeUnitMetadata umd = {
 2102|  12.9k|        .u_argcount = asdl_seq_LEN(args->args),
  ------------------
  |  |   83|  12.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  25.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 12.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2103|  12.9k|        .u_posonlyargcount = asdl_seq_LEN(args->posonlyargs),
  ------------------
  |  |   83|  12.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  25.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 12.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2104|  12.9k|        .u_kwonlyargcount = asdl_seq_LEN(args->kwonlyargs),
  ------------------
  |  |   83|  12.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  25.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 12.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2105|  12.9k|    };
 2106|  12.9k|    _Py_DECLARE_STR(anon_lambda, "<lambda>");
 2107|  12.9k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  12.9k|    do {                    \
  |  |   52|  12.9k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 12.9k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  12.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 12.9k]
  |  |  ------------------
  ------------------
 2108|  12.9k|        codegen_enter_scope(c, &_Py_STR(anon_lambda), COMPILE_SCOPE_LAMBDA,
 2109|  12.9k|                            (void *)e, e->lineno, NULL, &umd));
 2110|       |
 2111|  12.9k|    assert(!SYMTABLE_ENTRY(c)->ste_has_docstring);
  ------------------
  |  Branch (2111:5): [True: 12.9k, False: 0]
  ------------------
 2112|       |
 2113|  12.9k|    VISIT_IN_SCOPE(c, expr, e->v.Lambda.body);
  ------------------
  |  |  463|  12.9k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   58|  12.9k|    do {                                    \
  |  |  |  |   59|  12.9k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 91, False: 12.8k]
  |  |  |  |  ------------------
  |  |  |  |   60|     91|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|     91|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     91|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|     91|        }                                   \
  |  |  |  |   63|  12.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 12.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|  12.8k|    if (SYMTABLE_ENTRY(c)->ste_generator) {
  ------------------
  |  |   71|  12.8k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (2114:9): [True: 0, False: 12.8k]
  ------------------
 2115|      0|        co = _PyCompile_OptimizeAndAssemble(c, 0);
 2116|      0|    }
 2117|  12.8k|    else {
 2118|  12.8k|        location loc = LOC(e->v.Lambda.body);
  ------------------
  |  |   88|  12.8k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  12.8k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  12.8k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  12.8k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  12.8k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  12.8k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2119|  12.8k|        ADDOP_IN_SCOPE(c, loc, RETURN_VALUE);
  ------------------
  |  |  297|  12.8k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  12.8k|    do {                                    \
  |  |  |  |   59|  12.8k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 12.8k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  12.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 12.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2120|  12.8k|        co = _PyCompile_OptimizeAndAssemble(c, 1);
 2121|  12.8k|    }
 2122|  12.8k|    _PyCompile_ExitScope(c);
 2123|  12.8k|    if (co == NULL) {
  ------------------
  |  Branch (2123:9): [True: 0, False: 12.8k]
  ------------------
 2124|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2125|      0|    }
 2126|       |
 2127|  12.8k|    int ret = codegen_make_closure(c, loc, co, funcflags);
 2128|  12.8k|    Py_DECREF(co);
  ------------------
  |  |  430|  12.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2129|  12.8k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  12.8k|    do {                    \
  |  |   52|  12.8k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 12.8k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  12.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 12.8k]
  |  |  ------------------
  ------------------
 2130|  12.8k|    return SUCCESS;
  ------------------
  |  |   47|  12.8k|#define SUCCESS 0
  ------------------
 2131|  12.8k|}
codegen.c:codegen_ifexp:
 2071|  1.76k|{
 2072|  1.76k|    assert(e->kind == IfExp_kind);
  ------------------
  |  Branch (2072:5): [True: 1.76k, False: 0]
  ------------------
 2073|  1.76k|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|  1.76k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.76k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.76k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.76k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.76k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.76k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2074|  1.76k|    NEW_JUMP_TARGET_LABEL(c, next);
  ------------------
  |  |   94|  1.76k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.76k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.76k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.76k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.76k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.76k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2075|       |
 2076|  1.76k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  1.76k|    do {                    \
  |  |   52|  1.76k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 7, False: 1.76k]
  |  |  ------------------
  |  |   53|      7|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      7|#define ERROR -1
  |  |  ------------------
  |  |   54|      7|        }                   \
  |  |   55|  1.76k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.76k]
  |  |  ------------------
  ------------------
 2077|  1.76k|        codegen_jump_if(c, LOC(e), e->v.IfExp.test, next, 0));
 2078|       |
 2079|  1.76k|    VISIT(c, expr, e->v.IfExp.body);
  ------------------
  |  |  460|  1.76k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.76k|    do {                    \
  |  |  |  |   52|  1.76k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 1.75k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  1.76k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2080|  1.75k|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  435|  1.75k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.75k|    do {                    \
  |  |  |  |   52|  1.75k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.75k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.75k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2081|       |
 2082|  1.75k|    USE_LABEL(c, next);
  ------------------
  |  |  100|  1.75k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.75k|    do {                    \
  |  |  |  |   52|  1.75k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.75k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.75k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2083|  1.75k|    VISIT(c, expr, e->v.IfExp.orelse);
  ------------------
  |  |  460|  1.75k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.75k|    do {                    \
  |  |  |  |   52|  1.75k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 175, False: 1.58k]
  |  |  |  |  ------------------
  |  |  |  |   53|    175|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    175|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    175|        }                   \
  |  |  |  |   55|  1.75k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2084|       |
 2085|  1.58k|    USE_LABEL(c, end);
  ------------------
  |  |  100|  1.58k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.58k|    do {                    \
  |  |  |  |   52|  1.58k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.58k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.58k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2086|  1.58k|    return SUCCESS;
  ------------------
  |  |   47|  1.58k|#define SUCCESS 0
  ------------------
 2087|  1.58k|}
codegen.c:codegen_dict:
 3657|  1.77k|{
 3658|  1.77k|    location loc = LOC(e);
  ------------------
  |  |   88|  1.77k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.77k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.77k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.77k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.77k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.77k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3659|  1.77k|    Py_ssize_t i, n, elements;
 3660|  1.77k|    int have_dict;
 3661|  1.77k|    int is_unpacking = 0;
 3662|  1.77k|    n = asdl_seq_LEN(e->v.Dict.values);
  ------------------
  |  |   83|  1.77k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  3.55k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.77k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3663|  1.77k|    have_dict = 0;
 3664|  1.77k|    elements = 0;
 3665|  4.56k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3665:17): [True: 2.80k, False: 1.76k]
  ------------------
 3666|  2.80k|        is_unpacking = (expr_ty)asdl_seq_GET(e->v.Dict.keys, i) == NULL;
  ------------------
  |  |   82|  2.80k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  2.80k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3667|  2.80k|        if (is_unpacking) {
  ------------------
  |  Branch (3667:13): [True: 1.62k, False: 1.17k]
  ------------------
 3668|  1.62k|            if (elements) {
  ------------------
  |  Branch (3668:17): [True: 485, False: 1.14k]
  ------------------
 3669|    485|                RETURN_IF_ERROR(codegen_subdict(c, e, i - elements, i));
  ------------------
  |  |   51|    485|    do {                    \
  |  |   52|    485|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 4, False: 481]
  |  |  ------------------
  |  |   53|      4|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      4|#define ERROR -1
  |  |  ------------------
  |  |   54|      4|        }                   \
  |  |   55|    485|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 481]
  |  |  ------------------
  ------------------
 3670|    481|                if (have_dict) {
  ------------------
  |  Branch (3670:21): [True: 160, False: 321]
  ------------------
 3671|    160|                    ADDOP_I(c, loc, DICT_UPDATE, 1);
  ------------------
  |  |  280|    160|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    160|    do {                    \
  |  |  |  |   52|    160|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 160]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    160|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 160]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3672|    160|                }
 3673|    481|                have_dict = 1;
 3674|    481|                elements = 0;
 3675|    481|            }
 3676|  1.62k|            if (have_dict == 0) {
  ------------------
  |  Branch (3676:17): [True: 113, False: 1.51k]
  ------------------
 3677|    113|                ADDOP_I(c, loc, BUILD_MAP, 0);
  ------------------
  |  |  280|    113|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    113|    do {                    \
  |  |  |  |   52|    113|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 113]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    113|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 113]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3678|    113|                have_dict = 1;
 3679|    113|            }
 3680|  1.62k|            VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Dict.values, i));
  ------------------
  |  |  460|  1.62k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.62k|    do {                    \
  |  |  |  |   52|  1.62k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 7, False: 1.61k]
  |  |  |  |  ------------------
  |  |  |  |   53|      7|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      7|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      7|        }                   \
  |  |  |  |   55|  1.62k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.61k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3681|  1.61k|            ADDOP_I(c, loc, DICT_UPDATE, 1);
  ------------------
  |  |  280|  1.61k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.61k|    do {                    \
  |  |  |  |   52|  1.61k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.61k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.61k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.61k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3682|  1.61k|        }
 3683|  1.17k|        else {
 3684|  1.17k|            if (elements*2 > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|  1.17k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (3684:17): [True: 22, False: 1.15k]
  ------------------
 3685|     22|                RETURN_IF_ERROR(codegen_subdict(c, e, i - elements, i + 1));
  ------------------
  |  |   51|     22|    do {                    \
  |  |   52|     22|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 21]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 21]
  |  |  ------------------
  ------------------
 3686|     21|                if (have_dict) {
  ------------------
  |  Branch (3686:21): [True: 16, False: 5]
  ------------------
 3687|     16|                    ADDOP_I(c, loc, DICT_UPDATE, 1);
  ------------------
  |  |  280|     16|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     16|    do {                    \
  |  |  |  |   52|     16|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     16|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3688|     16|                }
 3689|     21|                have_dict = 1;
 3690|     21|                elements = 0;
 3691|     21|            }
 3692|  1.15k|            else {
 3693|  1.15k|                elements++;
 3694|  1.15k|            }
 3695|  1.17k|        }
 3696|  2.80k|    }
 3697|  1.76k|    if (elements) {
  ------------------
  |  Branch (3697:9): [True: 222, False: 1.54k]
  ------------------
 3698|    222|        RETURN_IF_ERROR(codegen_subdict(c, e, n - elements, n));
  ------------------
  |  |   51|    222|    do {                    \
  |  |   52|    222|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 6, False: 216]
  |  |  ------------------
  |  |   53|      6|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      6|#define ERROR -1
  |  |  ------------------
  |  |   54|      6|        }                   \
  |  |   55|    222|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 216]
  |  |  ------------------
  ------------------
 3699|    216|        if (have_dict) {
  ------------------
  |  Branch (3699:13): [True: 138, False: 78]
  ------------------
 3700|    138|            ADDOP_I(c, loc, DICT_UPDATE, 1);
  ------------------
  |  |  280|    138|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    138|    do {                    \
  |  |  |  |   52|    138|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 138]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    138|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 138]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3701|    138|        }
 3702|    216|        have_dict = 1;
 3703|    216|    }
 3704|  1.75k|    if (!have_dict) {
  ------------------
  |  Branch (3704:9): [True: 1.24k, False: 510]
  ------------------
 3705|  1.24k|        ADDOP_I(c, loc, BUILD_MAP, 0);
  ------------------
  |  |  280|  1.24k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.24k|    do {                    \
  |  |  |  |   52|  1.24k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.24k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.24k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3706|  1.24k|    }
 3707|  1.75k|    return SUCCESS;
  ------------------
  |  |   47|  1.75k|#define SUCCESS 0
  ------------------
 3708|  1.75k|}
codegen.c:codegen_subdict:
 3635|    729|{
 3636|    729|    Py_ssize_t i, n = end - begin;
 3637|    729|    int big = n*2 > _PY_STACK_USE_GUIDELINE;
  ------------------
  |  |   24|    729|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
 3638|    729|    location loc = LOC(e);
  ------------------
  |  |   88|    729|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    729|    (_Py_SourceLocation){ \
  |  |  |  |   59|    729|               .lineno = (n)->lineno, \
  |  |  |  |   60|    729|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    729|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    729|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3639|    729|    if (big) {
  ------------------
  |  Branch (3639:9): [True: 27, False: 702]
  ------------------
 3640|     27|        ADDOP_I(c, loc, BUILD_MAP, 0);
  ------------------
  |  |  280|     27|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     27|    do {                    \
  |  |  |  |   52|     27|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     27|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3641|     27|    }
 3642|  1.84k|    for (i = begin; i < end; i++) {
  ------------------
  |  Branch (3642:21): [True: 1.12k, False: 718]
  ------------------
 3643|  1.12k|        VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Dict.keys, i));
  ------------------
  |  |  460|  1.12k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 1.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3644|  1.12k|        VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Dict.values, i));
  ------------------
  |  |  460|  1.12k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 10, False: 1.11k]
  |  |  |  |  ------------------
  |  |  |  |   53|     10|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     10|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     10|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3645|  1.11k|        if (big) {
  ------------------
  |  Branch (3645:13): [True: 406, False: 711]
  ------------------
 3646|    406|            ADDOP_I(c, loc, MAP_ADD, 1);
  ------------------
  |  |  280|    406|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    406|    do {                    \
  |  |  |  |   52|    406|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 406]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    406|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 406]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3647|    406|        }
 3648|  1.11k|    }
 3649|    718|    if (!big) {
  ------------------
  |  Branch (3649:9): [True: 695, False: 23]
  ------------------
 3650|    695|        ADDOP_I(c, loc, BUILD_MAP, n);
  ------------------
  |  |  280|    695|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    695|    do {                    \
  |  |  |  |   52|    695|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 695]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    695|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 695]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3651|    695|    }
 3652|    718|    return SUCCESS;
  ------------------
  |  |   47|    718|#define SUCCESS 0
  ------------------
 3653|    718|}
codegen.c:codegen_set:
 3627|  8.29k|{
 3628|  8.29k|    location loc = LOC(e);
  ------------------
  |  |   88|  8.29k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  8.29k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  8.29k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  8.29k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  8.29k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  8.29k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3629|  8.29k|    return starunpack_helper(c, loc, e->v.Set.elts, 0,
 3630|  8.29k|                             BUILD_SET, SET_ADD, SET_UPDATE, 0);
  ------------------
  |  |   59|  8.29k|#define BUILD_SET                               46
  ------------------
                                           BUILD_SET, SET_ADD, SET_UPDATE, 0);
  ------------------
  |  |  116|  8.29k|#define SET_ADD                                103
  ------------------
                                           BUILD_SET, SET_ADD, SET_UPDATE, 0);
  ------------------
  |  |  118|  8.29k|#define SET_UPDATE                             105
  ------------------
 3631|  8.29k|}
codegen.c:starunpack_helper:
 3544|  77.5k|{
 3545|       |    return starunpack_helper_impl(c, loc, elts, NULL, pushed,
 3546|  77.5k|                                  build, add, extend, tuple);
 3547|  77.5k|}
codegen.c:codegen_genexp:
 5188|  1.15k|{
 5189|  1.15k|    assert(e->kind == GeneratorExp_kind);
  ------------------
  |  Branch (5189:5): [True: 1.15k, False: 0]
  ------------------
 5190|  1.15k|    _Py_DECLARE_STR(anon_genexpr, "<genexpr>");
 5191|  1.15k|    return codegen_comprehension(c, e, COMP_GENEXP, &_Py_STR(anon_genexpr),
  ------------------
  |  |   40|  1.15k|#define COMP_GENEXP   0
  ------------------
                  return codegen_comprehension(c, e, COMP_GENEXP, &_Py_STR(anon_genexpr),
  ------------------
  |  |  953|  1.15k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.15k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.15k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5192|  1.15k|                                 e->v.GeneratorExp.generators,
 5193|  1.15k|                                 e->v.GeneratorExp.elt, NULL, false);
 5194|  1.15k|}
codegen.c:codegen_comprehension:
 5062|  4.30k|{
 5063|  4.30k|    PyCodeObject *co = NULL;
 5064|  4.30k|    _PyCompile_InlinedComprehensionState inline_state = {NULL, NO_LABEL, NULL};
  ------------------
  |  |   57|  4.30k|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
 5065|  4.30k|    comprehension_ty outermost;
 5066|  4.30k|    PySTEntryObject *entry = _PySymtable_Lookup(SYMTABLE(c), (void *)e);
  ------------------
  |  |   70|  4.30k|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 5067|  4.30k|    if (entry == NULL) {
  ------------------
  |  Branch (5067:9): [True: 0, False: 4.30k]
  ------------------
 5068|      0|        goto error;
 5069|      0|    }
 5070|  4.30k|    int is_inlined = (entry->ste_type == InlinedComprehensionBlock);
 5071|  4.30k|    int is_async_comprehension = entry->ste_coroutine;
 5072|       |
 5073|  4.30k|    location loc = LOC(e);
  ------------------
  |  |   88|  4.30k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  4.30k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  4.30k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  4.30k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  4.30k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  4.30k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5074|       |
 5075|  4.30k|    outermost = (comprehension_ty) asdl_seq_GET(generators, 0);
  ------------------
  |  |   82|  4.30k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  4.30k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 5076|  4.30k|    IterStackPosition iter_state;
 5077|  4.30k|    if (is_inlined) {
  ------------------
  |  Branch (5077:9): [True: 3.12k, False: 1.18k]
  ------------------
 5078|  3.12k|        VISIT(c, expr, outermost->iter);
  ------------------
  |  |  460|  3.12k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  3.12k|    do {                    \
  |  |  |  |   52|  3.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 3, False: 3.11k]
  |  |  |  |  ------------------
  |  |  |  |   53|      3|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      3|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      3|        }                   \
  |  |  |  |   55|  3.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5079|  3.11k|        if (push_inlined_comprehension_state(c, loc, entry, &inline_state) < 0) {
  ------------------
  |  Branch (5079:13): [True: 0, False: 3.11k]
  ------------------
 5080|      0|            goto error;
 5081|      0|        }
 5082|  3.11k|        iter_state = ITERABLE_ON_STACK;
 5083|  3.11k|    }
 5084|  1.18k|    else {
 5085|       |        /* Receive outermost iter as an implicit argument */
 5086|  1.18k|        _PyCompile_CodeUnitMetadata umd = {
 5087|  1.18k|            .u_argcount = 1,
 5088|  1.18k|        };
 5089|  1.18k|        if (codegen_enter_scope(c, name, COMPILE_SCOPE_COMPREHENSION,
  ------------------
  |  Branch (5089:13): [True: 0, False: 1.18k]
  ------------------
 5090|  1.18k|                                (void *)e, e->lineno, NULL, &umd) < 0) {
 5091|      0|            goto error;
 5092|      0|        }
 5093|  1.18k|        if (type == COMP_GENEXP) {
  ------------------
  |  |   40|  1.18k|#define COMP_GENEXP   0
  ------------------
  |  Branch (5093:13): [True: 1.15k, False: 31]
  ------------------
 5094|       |            /* Insert GET_ITER before RETURN_GENERATOR.
 5095|       |               https://docs.python.org/3/reference/expressions.html#generator-expressions */
 5096|  1.15k|            if(_PyInstructionSequence_InsertInstruction(
  ------------------
  |  Branch (5096:16): [True: 0, False: 1.15k]
  ------------------
 5097|  1.15k|                    INSTR_SEQUENCE(c), 0,
  ------------------
  |  |   68|  1.15k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
 5098|  1.15k|                    RESUME, RESUME_AT_GEN_EXPR_START, NO_LOCATION) < 0) {
  ------------------
  |  |  130|  1.15k|#define RESUME                                 128
  ------------------
                                  RESUME, RESUME_AT_GEN_EXPR_START, NO_LOCATION) < 0) {
  ------------------
  |  |   92|  1.15k|#define RESUME_AT_GEN_EXPR_START 4
  ------------------
 5099|      0|                goto error_in_scope;
 5100|      0|            }
 5101|  1.15k|            if(_PyInstructionSequence_InsertInstruction(
  ------------------
  |  Branch (5101:16): [True: 0, False: 1.15k]
  ------------------
 5102|  1.15k|                    INSTR_SEQUENCE(c), 1,
  ------------------
  |  |   68|  1.15k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
 5103|  1.15k|                    LOAD_FAST, 0, LOC(outermost->iter)) < 0) {
  ------------------
  |  |   93|  1.15k|#define LOAD_FAST                               80
  ------------------
                                  LOAD_FAST, 0, LOC(outermost->iter)) < 0) {
  ------------------
  |  |   88|  1.15k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.15k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.15k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.15k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.15k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.15k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5104|      0|                goto error_in_scope;
 5105|      0|            }
 5106|  1.15k|            if(_PyInstructionSequence_InsertInstruction(
  ------------------
  |  Branch (5106:16): [True: 0, False: 1.15k]
  ------------------
 5107|  1.15k|                    INSTR_SEQUENCE(c), 2,
  ------------------
  |  |   68|  1.15k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
 5108|  1.15k|                    outermost->is_async ? GET_AITER : GET_ITER,
  ------------------
  |  |   27|    464|#define GET_AITER                               14
  ------------------
                                  outermost->is_async ? GET_AITER : GET_ITER,
  ------------------
  |  |   80|    689|#define GET_ITER                                67
  ------------------
  |  Branch (5108:21): [True: 464, False: 689]
  ------------------
 5109|  1.15k|                    0, LOC(outermost->iter)) < 0) {
  ------------------
  |  |   88|  1.15k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.15k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.15k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.15k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.15k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.15k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5110|      0|                goto error_in_scope;
 5111|      0|            }
 5112|  1.15k|            iter_state = ITERATOR_ON_STACK;
 5113|  1.15k|        }
 5114|     31|        else {
 5115|     31|            iter_state = ITERABLE_IN_LOCAL;
 5116|     31|        }
 5117|  1.18k|    }
 5118|  4.30k|    Py_CLEAR(entry);
  ------------------
  |  |  487|  4.30k|    do { \
  |  |  488|  4.30k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  4.30k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  4.30k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  4.30k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  4.30k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  4.30k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 4.30k, False: 0]
  |  |  ------------------
  |  |  491|  4.30k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  4.30k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  4.30k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  4.30k|        } \
  |  |  494|  4.30k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 4.30k]
  |  |  ------------------
  ------------------
 5119|       |
 5120|  4.30k|    if (type != COMP_GENEXP) {
  ------------------
  |  |   40|  4.30k|#define COMP_GENEXP   0
  ------------------
  |  Branch (5120:9): [True: 3.15k, False: 1.15k]
  ------------------
 5121|  3.15k|        if (codegen_comprehension_init_container(
  ------------------
  |  Branch (5121:13): [True: 0, False: 3.15k]
  ------------------
 5122|  3.15k|            c, loc, type, is_inlined, avoid_creation) < 0) {
 5123|      0|            goto error_in_scope;
 5124|      0|        }
 5125|  3.15k|    }
 5126|  4.30k|    if (codegen_comprehension_generator(c, loc, generators, 0, 0,
  ------------------
  |  Branch (5126:9): [True: 140, False: 4.16k]
  ------------------
 5127|  4.30k|                                        elt, val, type, iter_state, avoid_creation) < 0) {
 5128|    140|        goto error_in_scope;
 5129|    140|    }
 5130|       |
 5131|  4.16k|    if (is_inlined) {
  ------------------
  |  Branch (5131:9): [True: 3.04k, False: 1.12k]
  ------------------
 5132|  3.04k|        if (pop_inlined_comprehension_state(c, loc, &inline_state) < 0) {
  ------------------
  |  Branch (5132:13): [True: 0, False: 3.04k]
  ------------------
 5133|      0|            goto error_in_scope;
 5134|      0|        }
 5135|  3.04k|        return SUCCESS;
  ------------------
  |  |   47|  3.04k|#define SUCCESS 0
  ------------------
 5136|  3.04k|    }
 5137|       |
 5138|  1.12k|    if (type != COMP_GENEXP) {
  ------------------
  |  |   40|  1.12k|#define COMP_GENEXP   0
  ------------------
  |  Branch (5138:9): [True: 31, False: 1.08k]
  ------------------
 5139|     31|        ADDOP_IN_SCOPE(c, LOC(e), RETURN_VALUE);
  ------------------
  |  |  297|     31|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|     31|    do {                                    \
  |  |  |  |   59|     31|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 31]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|     31|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 31]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5140|     31|    }
 5141|  1.12k|    if (type == COMP_GENEXP) {
  ------------------
  |  |   40|  1.12k|#define COMP_GENEXP   0
  ------------------
  |  Branch (5141:9): [True: 1.08k, False: 31]
  ------------------
 5142|  1.08k|        if (codegen_wrap_in_stopiteration_handler(c) < 0) {
  ------------------
  |  Branch (5142:13): [True: 0, False: 1.08k]
  ------------------
 5143|      0|            goto error_in_scope;
 5144|      0|        }
 5145|  1.08k|    }
 5146|       |
 5147|  1.12k|    co = _PyCompile_OptimizeAndAssemble(c, 1);
 5148|  1.12k|    _PyCompile_ExitScope(c);
 5149|  1.12k|    if (co == NULL) {
  ------------------
  |  Branch (5149:9): [True: 0, False: 1.12k]
  ------------------
 5150|      0|        goto error;
 5151|      0|    }
 5152|       |
 5153|  1.12k|    loc = LOC(e);
  ------------------
  |  |   88|  1.12k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.12k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.12k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.12k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.12k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.12k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5154|  1.12k|    if (codegen_make_closure(c, loc, co, 0) < 0) {
  ------------------
  |  Branch (5154:9): [True: 0, False: 1.12k]
  ------------------
 5155|      0|        goto error;
 5156|      0|    }
 5157|  1.12k|    Py_CLEAR(co);
  ------------------
  |  |  487|  1.12k|    do { \
  |  |  488|  1.12k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  1.12k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  1.12k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  1.12k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  1.12k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  1.12k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 1.12k, False: 0]
  |  |  ------------------
  |  |  491|  1.12k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.12k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  1.12k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  1.12k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  1.12k|        } \
  |  |  494|  1.12k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 1.12k]
  |  |  ------------------
  ------------------
 5158|       |
 5159|  1.12k|    VISIT(c, expr, outermost->iter);
  ------------------
  |  |  460|  1.12k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 5, False: 1.11k]
  |  |  |  |  ------------------
  |  |  |  |   53|      5|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      5|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      5|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5160|  1.11k|    ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  280|  1.11k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.11k|    do {                    \
  |  |  |  |   52|  1.11k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.11k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.11k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5161|       |
 5162|  1.11k|    if (is_async_comprehension && type != COMP_GENEXP) {
  ------------------
  |  |   40|    441|#define COMP_GENEXP   0
  ------------------
  |  Branch (5162:9): [True: 441, False: 674]
  |  Branch (5162:35): [True: 0, False: 441]
  ------------------
 5163|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5164|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5165|      0|    }
 5166|       |
 5167|  1.11k|    assert(!avoid_creation);
  ------------------
  |  Branch (5167:5): [True: 1.11k, False: 0]
  ------------------
 5168|       |
 5169|  1.11k|    return SUCCESS;
  ------------------
  |  |   47|  1.11k|#define SUCCESS 0
  ------------------
 5170|    140|error_in_scope:
 5171|    140|    if (is_inlined) {
  ------------------
  |  Branch (5171:9): [True: 76, False: 64]
  ------------------
 5172|     76|        if (inline_state.saved_ste != NULL) {
  ------------------
  |  Branch (5172:13): [True: 76, False: 0]
  ------------------
 5173|     76|            _PyCompile_ExitInlinedComprehensionScope(c, &inline_state);
 5174|     76|        }
 5175|     76|    }
 5176|     64|    else {
 5177|     64|        _PyCompile_ExitScope(c);
 5178|     64|    }
 5179|    140|error:
 5180|    140|    Py_XDECREF(co);
  ------------------
  |  |  621|    140|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5181|    140|    Py_XDECREF(entry);
  ------------------
  |  |  621|    140|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5182|    140|    Py_XDECREF(inline_state.pushed_locals);
  ------------------
  |  |  621|    140|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5183|    140|    return ERROR;
  ------------------
  |  |   48|    140|#define ERROR -1
  ------------------
 5184|    140|}
codegen.c:push_inlined_comprehension_state:
 4958|  3.11k|{
 4959|  3.11k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  3.11k|    do {                    \
  |  |   52|  3.11k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3.11k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  3.11k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.11k]
  |  |  ------------------
  ------------------
 4960|  3.11k|        _PyCompile_EnterInlinedComprehensionScope(c, comp, state));
 4961|  3.11k|    if (codegen_push_inlined_comprehension_locals(c, loc, comp, state) < 0){
  ------------------
  |  Branch (4961:9): [True: 0, False: 3.11k]
  ------------------
 4962|      0|        _PyCompile_ExitInlinedComprehensionScope(c, state);
 4963|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4964|      0|    }
 4965|  3.11k|    return SUCCESS;
  ------------------
  |  |   47|  3.11k|#define SUCCESS 0
  ------------------
 4966|  3.11k|}
codegen.c:codegen_push_inlined_comprehension_locals:
 4892|  3.11k|{
 4893|       |    // iterate over names bound in the comprehension and ensure we isolate
 4894|       |    // them from the outer scope as needed
 4895|  3.11k|    PyObject *k, *v;
 4896|  3.11k|    Py_ssize_t pos = 0;
 4897|  20.8k|    while (PyDict_Next(comp->ste_symbols, &pos, &k, &v)) {
  ------------------
  |  Branch (4897:12): [True: 17.7k, False: 3.11k]
  ------------------
 4898|  17.7k|        long symbol = PyLong_AsLong(v);
 4899|  17.7k|        assert(symbol >= 0 || PyErr_Occurred());
  ------------------
  |  Branch (4899:9): [True: 17.7k, False: 0]
  |  Branch (4899:9): [True: 0, False: 0]
  ------------------
 4900|  17.7k|        RETURN_IF_ERROR(symbol);
  ------------------
  |  |   51|  17.7k|    do {                    \
  |  |   52|  17.7k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 17.7k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  17.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 17.7k]
  |  |  ------------------
  ------------------
 4901|  17.7k|        long scope = SYMBOL_TO_SCOPE(symbol);
  ------------------
  |  |  189|  17.7k|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  187|  17.7k|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  188|  17.7k|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|  17.7k|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  17.7k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  172|  17.7k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  173|  17.7k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4902|       |
 4903|  17.7k|        if ((symbol & DEF_LOCAL) && !(symbol & DEF_NONLOCAL)) {
  ------------------
  |  |  171|  17.7k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if ((symbol & DEF_LOCAL) && !(symbol & DEF_NONLOCAL)) {
  ------------------
  |  |  173|  12.9k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (4903:13): [True: 12.9k, False: 4.78k]
  |  Branch (4903:37): [True: 12.2k, False: 745]
  ------------------
 4904|       |            // local names bound in comprehension must be isolated from
 4905|       |            // outer scope; push existing value (which may be NULL if
 4906|       |            // not defined) on stack
 4907|  12.2k|            if (state->pushed_locals == NULL) {
  ------------------
  |  Branch (4907:17): [True: 2.75k, False: 9.46k]
  ------------------
 4908|  2.75k|                state->pushed_locals = PyList_New(0);
 4909|  2.75k|                if (state->pushed_locals == NULL) {
  ------------------
  |  Branch (4909:21): [True: 0, False: 2.75k]
  ------------------
 4910|      0|                    return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4911|      0|                }
 4912|  2.75k|            }
 4913|       |            // in the case of a cell, this will actually push the cell
 4914|       |            // itself to the stack, then we'll create a new one for the
 4915|       |            // comprehension and restore the original one after
 4916|  12.2k|            ADDOP_NAME(c, loc, LOAD_FAST_AND_CLEAR, k, varnames);
  ------------------
  |  |  419|  12.2k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  12.2k|    do {                    \
  |  |  |  |   52|  12.2k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 12.2k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  12.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 12.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4917|  12.2k|            if (scope == CELL) {
  ------------------
  |  |  195|  12.2k|#define CELL 5
  ------------------
  |  Branch (4917:17): [True: 15, False: 12.2k]
  ------------------
 4918|     15|                ADDOP_NAME(c, loc, MAKE_CELL, k, cellvars);
  ------------------
  |  |  419|     15|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|     15|    do {                    \
  |  |  |  |   52|     15|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 15]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     15|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4919|     15|            }
 4920|  12.2k|            if (PyList_Append(state->pushed_locals, k) < 0) {
  ------------------
  |  Branch (4920:17): [True: 0, False: 12.2k]
  ------------------
 4921|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4922|      0|            }
 4923|  12.2k|            if (METADATA(c)->u_fasthidden != NULL) {
  ------------------
  |  |   76|  12.2k|#define METADATA(C) _PyCompile_Metadata(C)
  ------------------
  |  Branch (4923:17): [True: 7.74k, False: 4.47k]
  ------------------
 4924|       |                /* For Module/Class scopes, assemble needs to set CO_FAST_HIDDEN on these names */
 4925|  7.74k|                if (PySet_Add(METADATA(c)->u_fasthidden, k) < 0) {
  ------------------
  |  |   76|  7.74k|#define METADATA(C) _PyCompile_Metadata(C)
  ------------------
  |  Branch (4925:21): [True: 0, False: 7.74k]
  ------------------
 4926|      0|                    return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4927|      0|                }
 4928|  7.74k|            }
 4929|  12.2k|        }
 4930|  17.7k|    }
 4931|  3.11k|    if (state->pushed_locals) {
  ------------------
  |  Branch (4931:9): [True: 2.75k, False: 362]
  ------------------
 4932|       |        // Outermost iterable expression was already evaluated and is on the
 4933|       |        // stack, we need to swap it back to TOS. This also rotates the order of
 4934|       |        // `pushed_locals` on the stack, but this will be reversed when we swap
 4935|       |        // out the comprehension result in pop_inlined_comprehension_state
 4936|  2.75k|        ADDOP_I(c, loc, SWAP, PyList_GET_SIZE(state->pushed_locals) + 1);
  ------------------
  |  |  280|  2.75k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.75k|    do {                    \
  |  |  |  |   52|  2.75k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.75k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.75k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4937|       |
 4938|       |        // Add our own cleanup handler to restore comprehension locals in case
 4939|       |        // of exception, so they have the correct values inside an exception
 4940|       |        // handler or finally block.
 4941|  2.75k|        NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   94|  2.75k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  2.75k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  2.75k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  2.75k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  2.75k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 2.75k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4942|  2.75k|        state->cleanup = cleanup;
 4943|       |
 4944|       |        // Count against CO_MAXBLOCKS: SETUP_FINALLY consumes an except-stack
 4945|       |        // slot even though return/continue/break cannot appear here.
 4946|  2.75k|        RETURN_IF_ERROR(_PyCompile_PushFBlock(
  ------------------
  |  |   51|  2.75k|    do {                    \
  |  |   52|  2.75k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.75k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.75k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.75k]
  |  |  ------------------
  ------------------
 4947|  2.75k|            c, loc, COMPILE_FBLOCK_INLINED_COMPREHENSION,
 4948|  2.75k|            cleanup, NO_LABEL, NULL));
 4949|  2.75k|        ADDOP_JUMP(c, loc, SETUP_FINALLY, cleanup);
  ------------------
  |  |  435|  2.75k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.75k|    do {                    \
  |  |  |  |   52|  2.75k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.75k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.75k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4950|  2.75k|    }
 4951|  3.11k|    return SUCCESS;
  ------------------
  |  |   47|  3.11k|#define SUCCESS 0
  ------------------
 4952|  3.11k|}
codegen.c:codegen_comprehension_init_container:
 5029|  3.15k|{
 5030|  3.15k|    int op;
 5031|  3.15k|    switch (type) {
 5032|    412|    case COMP_LISTCOMP:
  ------------------
  |  |   41|    412|#define COMP_LISTCOMP 1
  ------------------
  |  Branch (5032:5): [True: 412, False: 2.73k]
  ------------------
 5033|    412|        op = BUILD_LIST;
  ------------------
  |  |   57|    412|#define BUILD_LIST                              44
  ------------------
 5034|    412|        break;
 5035|  2.23k|    case COMP_SETCOMP:
  ------------------
  |  |   42|  2.23k|#define COMP_SETCOMP  2
  ------------------
  |  Branch (5035:5): [True: 2.23k, False: 916]
  ------------------
 5036|  2.23k|        op = BUILD_SET;
  ------------------
  |  |   59|  2.23k|#define BUILD_SET                               46
  ------------------
 5037|  2.23k|        break;
 5038|    504|    case COMP_DICTCOMP:
  ------------------
  |  |   43|    504|#define COMP_DICTCOMP 3
  ------------------
  |  Branch (5038:5): [True: 504, False: 2.64k]
  ------------------
 5039|    504|        op = BUILD_MAP;
  ------------------
  |  |   58|    504|#define BUILD_MAP                               45
  ------------------
 5040|    504|        break;
 5041|      0|    default:
  ------------------
  |  Branch (5041:5): [True: 0, False: 3.15k]
  ------------------
 5042|      0|        PyErr_Format(PyExc_SystemError,
 5043|      0|                     "unknown comprehension type %d", type);
 5044|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5045|  3.15k|    }
 5046|       |
 5047|  3.15k|    if (!avoid_creation) {
  ------------------
  |  Branch (5047:9): [True: 3.12k, False: 26]
  ------------------
 5048|  3.12k|        ADDOP_I(c, loc, op, 0);
  ------------------
  |  |  280|  3.12k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.12k|    do {                    \
  |  |  |  |   52|  3.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5049|  3.12k|        if (is_inlined) {
  ------------------
  |  Branch (5049:13): [True: 3.09k, False: 31]
  ------------------
 5050|  3.09k|            ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  280|  3.09k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.09k|    do {                    \
  |  |  |  |   52|  3.09k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5051|  3.09k|        }
 5052|  3.12k|    } else {
 5053|     26|        ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  280|     26|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     26|    do {                    \
  |  |  |  |   52|     26|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 26]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     26|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5054|     26|    }
 5055|  3.15k|    return SUCCESS;
  ------------------
  |  |   47|  3.15k|#define SUCCESS 0
  ------------------
 5056|  3.15k|}
codegen.c:codegen_comprehension_generator:
 4591|  5.40k|{
 4592|  5.40k|    comprehension_ty gen;
 4593|  5.40k|    gen = (comprehension_ty)asdl_seq_GET(generators, gen_index);
  ------------------
  |  |   82|  5.40k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  5.40k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4594|  5.40k|    if (gen->is_async) {
  ------------------
  |  Branch (4594:9): [True: 1.37k, False: 4.02k]
  ------------------
 4595|  1.37k|        return codegen_async_comprehension_generator(
 4596|  1.37k|            c, loc, generators, gen_index, depth, elt, val, type,
 4597|  1.37k|            iter_pos, avoid_creation);
 4598|  4.02k|    } else {
 4599|  4.02k|        return codegen_sync_comprehension_generator(
 4600|  4.02k|            c, loc, generators, gen_index, depth, elt, val, type,
 4601|  4.02k|            iter_pos, avoid_creation);
 4602|  4.02k|    }
 4603|  5.40k|}
codegen.c:codegen_async_comprehension_generator:
 4811|  1.37k|{
 4812|  1.37k|    NEW_JUMP_TARGET_LABEL(c, start);
  ------------------
  |  |   94|  1.37k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.37k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.37k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.37k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.37k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.37k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4813|  1.37k|    NEW_JUMP_TARGET_LABEL(c, send);
  ------------------
  |  |   94|  1.37k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.37k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.37k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.37k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.37k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.37k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4814|  1.37k|    NEW_JUMP_TARGET_LABEL(c, except);
  ------------------
  |  |   94|  1.37k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.37k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.37k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.37k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.37k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.37k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4815|  1.37k|    NEW_JUMP_TARGET_LABEL(c, if_cleanup);
  ------------------
  |  |   94|  1.37k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.37k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.37k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.37k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.37k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.37k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4816|       |
 4817|  1.37k|    comprehension_ty gen = (comprehension_ty)asdl_seq_GET(generators,
  ------------------
  |  |   82|  1.37k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.37k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4818|  1.37k|                                                          gen_index);
 4819|       |
 4820|  1.37k|    if (iter_pos == ITERABLE_IN_LOCAL) {
  ------------------
  |  Branch (4820:9): [True: 374, False: 1.00k]
  ------------------
 4821|    374|        if (gen_index == 0) {
  ------------------
  |  Branch (4821:13): [True: 0, False: 374]
  ------------------
 4822|      0|            assert(METADATA(c)->u_argcount == 1);
  ------------------
  |  Branch (4822:13): [True: 0, False: 0]
  ------------------
 4823|      0|            ADDOP_I(c, loc, LOAD_FAST, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4824|      0|        }
 4825|    374|        else {
 4826|       |            /* Sub-iter - calculate on the fly */
 4827|    374|            VISIT(c, expr, gen->iter);
  ------------------
  |  |  460|    374|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    374|    do {                    \
  |  |  |  |   52|    374|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 5, False: 369]
  |  |  |  |  ------------------
  |  |  |  |   53|      5|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      5|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      5|        }                   \
  |  |  |  |   55|    374|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 369]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4828|    374|        }
 4829|    374|    }
 4830|  1.37k|    if (iter_pos != ITERATOR_ON_STACK) {
  ------------------
  |  Branch (4830:9): [True: 910, False: 464]
  ------------------
 4831|    910|        ADDOP(c, LOC(gen->iter), GET_AITER);
  ------------------
  |  |  294|    910|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    910|    do {                    \
  |  |  |  |   52|    910|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 910]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    910|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 910]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4832|    910|    }
 4833|       |
 4834|  1.37k|    USE_LABEL(c, start);
  ------------------
  |  |  100|  1.37k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.37k|    do {                    \
  |  |  |  |   52|  1.37k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.37k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.37k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4835|       |    /* Runtime will push a block here, so we need to account for that */
 4836|  1.37k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  1.37k|    do {                    \
  |  |   52|  1.37k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.37k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.37k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.37k]
  |  |  ------------------
  ------------------
 4837|  1.37k|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_ASYNC_COMPREHENSION_GENERATOR,
 4838|  1.37k|                              start, NO_LABEL, NULL));
 4839|       |
 4840|  1.37k|    ADDOP_JUMP(c, loc, SETUP_FINALLY, except);
  ------------------
  |  |  435|  1.37k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.37k|    do {                    \
  |  |  |  |   52|  1.37k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.37k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.37k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4841|  1.37k|    ADDOP(c, loc, GET_ANEXT);
  ------------------
  |  |  294|  1.37k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.37k|    do {                    \
  |  |  |  |   52|  1.37k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.37k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.37k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4842|  1.37k|    USE_LABEL(c, send);
  ------------------
  |  |  100|  1.37k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.37k|    do {                    \
  |  |  |  |   52|  1.37k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.37k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.37k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4843|  1.37k|    ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  447|  1.37k|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|  1.37k|    do {                    \
  |  |  |  |   52|  1.37k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.37k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.37k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4844|  1.37k|    ADDOP(c, loc, POP_BLOCK);
  ------------------
  |  |  294|  1.37k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.37k|    do {                    \
  |  |  |  |   52|  1.37k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.37k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.37k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4845|  1.37k|    VISIT(c, expr, gen->target);
  ------------------
  |  |  460|  1.37k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.37k|    do {                    \
  |  |  |  |   52|  1.37k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 6, False: 1.36k]
  |  |  |  |  ------------------
  |  |  |  |   53|      6|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      6|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      6|        }                   \
  |  |  |  |   55|  1.37k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4846|       |
 4847|  1.36k|    Py_ssize_t n = asdl_seq_LEN(gen->ifs);
  ------------------
  |  |   83|  1.36k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  2.73k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4848|  1.95k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (4848:28): [True: 591, False: 1.35k]
  ------------------
 4849|    591|        expr_ty e = (expr_ty)asdl_seq_GET(gen->ifs, i);
  ------------------
  |  |   82|    591|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    591|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4850|    591|        RETURN_IF_ERROR(codegen_jump_if(c, loc, e, if_cleanup, 0));
  ------------------
  |  |   51|    591|    do {                    \
  |  |   52|    591|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 9, False: 582]
  |  |  ------------------
  |  |   53|      9|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      9|#define ERROR -1
  |  |  ------------------
  |  |   54|      9|        }                   \
  |  |   55|    591|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 582]
  |  |  ------------------
  ------------------
 4851|    591|    }
 4852|       |
 4853|  1.35k|    depth++;
 4854|  1.35k|    if (++gen_index < asdl_seq_LEN(generators)) {
  ------------------
  |  |   83|  1.35k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  2.71k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.35k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4854:9): [True: 634, False: 725]
  ------------------
 4855|    634|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    634|    do {                    \
  |  |   52|    634|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 49, False: 585]
  |  |  ------------------
  |  |   53|     49|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     49|#define ERROR -1
  |  |  ------------------
  |  |   54|     49|        }                   \
  |  |   55|    634|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 585]
  |  |  ------------------
  ------------------
 4856|    634|            codegen_comprehension_generator(c, loc,
 4857|    634|                                            generators, gen_index, depth,
 4858|    634|                                            elt, val, type, 0, avoid_creation));
 4859|    634|    }
 4860|       |
 4861|  1.31k|    location elt_loc = LOC(elt);
  ------------------
  |  |   88|  1.31k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.31k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.31k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.31k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.31k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.31k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4862|       |    /* only append after the last for generator */
 4863|  1.31k|    if (gen_index >= asdl_seq_LEN(generators)) {
  ------------------
  |  |   83|  1.31k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  2.62k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4863:9): [True: 725, False: 585]
  ------------------
 4864|       |        /* comprehension specific code */
 4865|    725|        RETURN_IF_ERROR(codegen_comprehension_generator_helper(c, elt_loc, depth,
  ------------------
  |  |   51|    725|    do {                    \
  |  |   52|    725|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 6, False: 719]
  |  |  ------------------
  |  |   53|      6|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      6|#define ERROR -1
  |  |  ------------------
  |  |   54|      6|        }                   \
  |  |   55|    725|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 719]
  |  |  ------------------
  ------------------
 4866|    725|                                                               elt, val, type,
 4867|    725|                                                               avoid_creation));
 4868|    719|        if (type == COMP_DICTCOMP && val != NULL) {
  ------------------
  |  |   43|  1.43k|#define COMP_DICTCOMP 3
  ------------------
  |  Branch (4868:13): [True: 242, False: 477]
  |  Branch (4868:38): [True: 143, False: 99]
  ------------------
 4869|    143|            elt_loc = LOCATION(elt->lineno,
  ------------------
  |  |   86|    143|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
 4870|    143|                               val->end_lineno,
 4871|    143|                               elt->col_offset,
 4872|    143|                               val->end_col_offset);
 4873|    143|        }
 4874|    719|    }
 4875|       |
 4876|  1.30k|    USE_LABEL(c, if_cleanup);
  ------------------
  |  |  100|  1.30k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.30k|    do {                    \
  |  |  |  |   52|  1.30k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.30k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.30k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.30k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4877|  1.30k|    ADDOP_JUMP(c, elt_loc, JUMP, start);
  ------------------
  |  |  435|  1.30k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.30k|    do {                    \
  |  |  |  |   52|  1.30k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.30k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.30k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.30k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4878|       |
 4879|  1.30k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_ASYNC_COMPREHENSION_GENERATOR, start);
 4880|       |
 4881|  1.30k|    USE_LABEL(c, except);
  ------------------
  |  |  100|  1.30k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.30k|    do {                    \
  |  |  |  |   52|  1.30k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.30k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.30k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.30k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4882|       |
 4883|  1.30k|    ADDOP_JUMP(c, loc, END_ASYNC_FOR, send);
  ------------------
  |  |  435|  1.30k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.30k|    do {                    \
  |  |  |  |   52|  1.30k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.30k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.30k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.30k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4884|       |
 4885|  1.30k|    return SUCCESS;
  ------------------
  |  |   47|  1.30k|#define SUCCESS 0
  ------------------
 4886|  1.30k|}
codegen.c:codegen_comprehension_generator_helper:
 4629|  4.17k|{
 4630|  4.17k|    switch (type) {
 4631|  1.09k|    case COMP_GENEXP:
  ------------------
  |  |   40|  1.09k|#define COMP_GENEXP   0
  ------------------
  |  Branch (4631:5): [True: 1.09k, False: 3.08k]
  ------------------
 4632|  1.09k|        assert(!avoid_creation);
  ------------------
  |  Branch (4632:9): [True: 1.09k, False: 0]
  ------------------
 4633|  1.09k|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4633:13): [True: 9, False: 1.08k]
  ------------------
 4634|      9|            RETURN_IF_ERROR(codegen_unpack_starred(c, elt_loc, elt->v.Starred.value, /*yield=*/true));
  ------------------
  |  |   51|      9|    do {                    \
  |  |   52|      9|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 8]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 4635|      9|        }
 4636|  1.08k|        else {
 4637|  1.08k|            VISIT(c, expr, elt);
  ------------------
  |  |  460|  1.08k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.08k|    do {                    \
  |  |  |  |   52|  1.08k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 6, False: 1.08k]
  |  |  |  |  ------------------
  |  |  |  |   53|      6|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      6|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      6|        }                   \
  |  |  |  |   55|  1.08k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4638|  1.08k|            ADDOP_YIELD(c, elt_loc);
  ------------------
  |  |  453|  1.08k|    RETURN_IF_ERROR(codegen_addop_yield((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.08k|    do {                    \
  |  |  |  |   52|  1.08k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.08k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.08k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4639|  1.08k|            ADDOP(c, elt_loc, POP_TOP);
  ------------------
  |  |  294|  1.08k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.08k|    do {                    \
  |  |  |  |   52|  1.08k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.08k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.08k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4640|  1.08k|        }
 4641|  1.08k|        break;
 4642|  1.08k|    case COMP_LISTCOMP:
  ------------------
  |  |   41|    410|#define COMP_LISTCOMP 1
  ------------------
  |  Branch (4642:5): [True: 410, False: 3.76k]
  ------------------
 4643|    410|        if (avoid_creation) {
  ------------------
  |  Branch (4643:13): [True: 26, False: 384]
  ------------------
 4644|     26|            if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4644:17): [True: 0, False: 26]
  ------------------
 4645|      0|                RETURN_IF_ERROR(codegen_unpack_starred(c, elt_loc, elt->v.Starred.value, /*yield=*/false));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4646|     26|            } else {
 4647|     26|                VISIT(c, expr, elt);
  ------------------
  |  |  460|     26|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     26|    do {                    \
  |  |  |  |   52|     26|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 26]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     26|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4648|     26|                ADDOP(c, elt_loc, POP_TOP);
  ------------------
  |  |  294|     26|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     26|    do {                    \
  |  |  |  |   52|     26|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 26]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     26|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4649|     26|            }
 4650|     26|            break;
 4651|     26|        }
 4652|    384|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4652:13): [True: 2, False: 382]
  ------------------
 4653|      2|            VISIT(c, expr, elt->v.Starred.value);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4654|      2|            ADDOP_I(c, elt_loc, LIST_EXTEND, depth + 1);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4655|      2|        }
 4656|    382|        else {
 4657|    382|            VISIT(c, expr, elt);
  ------------------
  |  |  460|    382|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    382|    do {                    \
  |  |  |  |   52|    382|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 382]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    382|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 382]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4658|    382|            ADDOP_I(c, elt_loc, LIST_APPEND, depth + 1);
  ------------------
  |  |  280|    382|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    382|    do {                    \
  |  |  |  |   52|    382|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 382]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    382|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 382]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4659|    382|        }
 4660|    384|        break;
 4661|  2.18k|    case COMP_SETCOMP:
  ------------------
  |  |   42|  2.18k|#define COMP_SETCOMP  2
  ------------------
  |  Branch (4661:5): [True: 2.18k, False: 1.99k]
  ------------------
 4662|  2.18k|        assert(!avoid_creation);
  ------------------
  |  Branch (4662:9): [True: 2.18k, False: 0]
  ------------------
 4663|  2.18k|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4663:13): [True: 74, False: 2.11k]
  ------------------
 4664|     74|            VISIT(c, expr, elt->v.Starred.value);
  ------------------
  |  |  460|     74|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     74|    do {                    \
  |  |  |  |   52|     74|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 73]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|     74|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 73]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4665|     73|            ADDOP_I(c, elt_loc, SET_UPDATE, depth + 1);
  ------------------
  |  |  280|     73|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     73|    do {                    \
  |  |  |  |   52|     73|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 73]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     73|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 73]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4666|     73|        }
 4667|  2.11k|        else {
 4668|  2.11k|            VISIT(c, expr, elt);
  ------------------
  |  |  460|  2.11k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.11k|    do {                    \
  |  |  |  |   52|  2.11k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 4, False: 2.11k]
  |  |  |  |  ------------------
  |  |  |  |   53|      4|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      4|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      4|        }                   \
  |  |  |  |   55|  2.11k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4669|  2.11k|            ADDOP_I(c, elt_loc, SET_ADD, depth + 1);
  ------------------
  |  |  280|  2.11k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.11k|    do {                    \
  |  |  |  |   52|  2.11k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.11k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.11k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4670|  2.11k|        }
 4671|  2.18k|        break;
 4672|  2.18k|    case COMP_DICTCOMP:
  ------------------
  |  |   43|    485|#define COMP_DICTCOMP 3
  ------------------
  |  Branch (4672:5): [True: 485, False: 3.69k]
  ------------------
 4673|    485|        assert(!avoid_creation);
  ------------------
  |  Branch (4673:9): [True: 485, False: 0]
  ------------------
 4674|    485|        if (val == NULL) {
  ------------------
  |  Branch (4674:13): [True: 166, False: 319]
  ------------------
 4675|       |            /* unpacking (**) case */
 4676|    166|            VISIT(c, expr, elt);
  ------------------
  |  |  460|    166|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    166|    do {                    \
  |  |  |  |   52|    166|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 165]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    166|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 165]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4677|    165|            ADDOP_I(c, elt_loc, DICT_UPDATE, depth + 1);
  ------------------
  |  |  280|    165|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    165|    do {                    \
  |  |  |  |   52|    165|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 165]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    165|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 165]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4678|    165|        }
 4679|    319|        else {
 4680|       |            /* With '{k: v}', k is evaluated before v, so we do
 4681|       |            the same. */
 4682|    319|            VISIT(c, expr, elt);
  ------------------
  |  |  460|    319|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    319|    do {                    \
  |  |  |  |   52|    319|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 318]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    319|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 318]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4683|    318|            VISIT(c, expr, val);
  ------------------
  |  |  460|    318|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    318|    do {                    \
  |  |  |  |   52|    318|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 316]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|    318|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 316]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4684|    316|            elt_loc = LOCATION(elt->lineno,
  ------------------
  |  |   86|    316|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
 4685|    316|                               val->end_lineno,
 4686|    316|                               elt->col_offset,
 4687|    316|                               val->end_col_offset);
 4688|    316|            ADDOP_I(c, elt_loc, MAP_ADD, depth + 1);
  ------------------
  |  |  280|    316|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    316|    do {                    \
  |  |  |  |   52|    316|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 316]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    316|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 316]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4689|    316|        }
 4690|    481|        break;
 4691|    481|    default:
  ------------------
  |  Branch (4691:5): [True: 0, False: 4.17k]
  ------------------
 4692|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4693|  4.17k|    }
 4694|  4.16k|    return SUCCESS;
  ------------------
  |  |   47|  4.16k|#define SUCCESS 0
  ------------------
 4695|  4.17k|}
codegen.c:codegen_unpack_starred:
 4607|      9|{
 4608|      9|    NEW_JUMP_TARGET_LABEL(c, unpack_start);
  ------------------
  |  |   94|      9|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      9|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|      9|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      9|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      9|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 9]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4609|      9|    NEW_JUMP_TARGET_LABEL(c, unpack_end);
  ------------------
  |  |   94|      9|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      9|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|      9|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      9|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      9|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 9]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4610|      9|    VISIT(c, expr, value);
  ------------------
  |  |  460|      9|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      9|    do {                    \
  |  |  |  |   52|      9|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 8]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|      9|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4611|      8|    ADDOP_I(c, loc, GET_ITER, 0);
  ------------------
  |  |  280|      8|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      8|    do {                    \
  |  |  |  |   52|      8|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4612|      8|    USE_LABEL(c, unpack_start);
  ------------------
  |  |  100|      8|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      8|    do {                    \
  |  |  |  |   52|      8|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4613|      8|    ADDOP_JUMP(c, loc, FOR_ITER, unpack_end);
  ------------------
  |  |  435|      8|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      8|    do {                    \
  |  |  |  |   52|      8|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4614|      8|    if (yield) {
  ------------------
  |  Branch (4614:9): [True: 8, False: 0]
  ------------------
 4615|      8|        ADDOP_YIELD(c, loc);
  ------------------
  |  |  453|      8|    RETURN_IF_ERROR(codegen_addop_yield((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      8|    do {                    \
  |  |  |  |   52|      8|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4616|      8|    }
 4617|      8|    ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  294|      8|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      8|    do {                    \
  |  |  |  |   52|      8|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4618|      8|    ADDOP_JUMP(c, NO_LOCATION, JUMP, unpack_start);
  ------------------
  |  |  435|      8|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      8|    do {                    \
  |  |  |  |   52|      8|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4619|      8|    USE_LABEL(c, unpack_end);
  ------------------
  |  |  100|      8|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      8|    do {                    \
  |  |  |  |   52|      8|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4620|      8|    ADDOP(c, NO_LOCATION, END_FOR);
  ------------------
  |  |  294|      8|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      8|    do {                    \
  |  |  |  |   52|      8|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4621|      8|    ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  294|      8|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      8|    do {                    \
  |  |  |  |   52|      8|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4622|      8|    return SUCCESS;
  ------------------
  |  |   47|      8|#define SUCCESS 0
  ------------------
 4623|      8|}
codegen.c:codegen_sync_comprehension_generator:
 4703|  4.02k|{
 4704|       |    /* generate code for the iterator, then each of the ifs,
 4705|       |       and then write to the element */
 4706|       |
 4707|  4.02k|    NEW_JUMP_TARGET_LABEL(c, start);
  ------------------
  |  |   94|  4.02k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  4.02k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  4.02k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  4.02k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  4.02k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 4.02k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4708|  4.02k|    NEW_JUMP_TARGET_LABEL(c, if_cleanup);
  ------------------
  |  |   94|  4.02k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  4.02k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  4.02k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  4.02k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  4.02k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 4.02k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4709|  4.02k|    NEW_JUMP_TARGET_LABEL(c, anchor);
  ------------------
  |  |   94|  4.02k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  4.02k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  4.02k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  4.02k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  4.02k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 4.02k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4710|       |
 4711|  4.02k|    comprehension_ty gen = (comprehension_ty)asdl_seq_GET(generators,
  ------------------
  |  |   82|  4.02k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  4.02k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4712|  4.02k|                                                          gen_index);
 4713|       |
 4714|  4.02k|    if (iter_pos == ITERABLE_IN_LOCAL) {
  ------------------
  |  Branch (4714:9): [True: 760, False: 3.26k]
  ------------------
 4715|    760|        if (gen_index == 0) {
  ------------------
  |  Branch (4715:13): [True: 31, False: 729]
  ------------------
 4716|     31|            assert(METADATA(c)->u_argcount == 1);
  ------------------
  |  Branch (4716:13): [True: 31, False: 0]
  ------------------
 4717|     31|            ADDOP_I(c, loc, LOAD_FAST, 0);
  ------------------
  |  |  280|     31|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     31|    do {                    \
  |  |  |  |   52|     31|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 31]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     31|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 31]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4718|     31|        }
 4719|    729|        else {
 4720|       |            /* Sub-iter - calculate on the fly */
 4721|       |            /* Fast path for the temporary variable assignment idiom:
 4722|       |                for y in [f(x)]
 4723|       |            */
 4724|    729|            asdl_expr_seq *elts;
 4725|    729|            switch (gen->iter->kind) {
 4726|     12|                case List_kind:
  ------------------
  |  Branch (4726:17): [True: 12, False: 717]
  ------------------
 4727|     12|                    elts = gen->iter->v.List.elts;
 4728|     12|                    break;
 4729|      0|                case Tuple_kind:
  ------------------
  |  Branch (4729:17): [True: 0, False: 729]
  ------------------
 4730|      0|                    elts = gen->iter->v.Tuple.elts;
 4731|      0|                    break;
 4732|    717|                default:
  ------------------
  |  Branch (4732:17): [True: 717, False: 12]
  ------------------
 4733|    717|                    elts = NULL;
 4734|    729|            }
 4735|    729|            if (asdl_seq_LEN(elts) == 1) {
  ------------------
  |  |   83|    729|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  1.45k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 717, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4735:17): [True: 12, False: 717]
  ------------------
 4736|     12|                expr_ty elt = asdl_seq_GET(elts, 0);
  ------------------
  |  |   82|     12|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|     12|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4737|     12|                if (elt->kind != Starred_kind) {
  ------------------
  |  Branch (4737:21): [True: 12, False: 0]
  ------------------
 4738|     12|                    VISIT(c, expr, elt);
  ------------------
  |  |  460|     12|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     12|    do {                    \
  |  |  |  |   52|     12|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 10]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|     12|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4739|     10|                    start = NO_LABEL;
  ------------------
  |  |   57|     10|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
 4740|     10|                }
 4741|     12|            }
 4742|    727|            if (IS_JUMP_TARGET_LABEL(start)) {
  ------------------
  |  |   60|    727|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   59|    727|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (60:33): [True: 717, False: 10]
  |  |  ------------------
  ------------------
 4743|    717|                VISIT(c, expr, gen->iter);
  ------------------
  |  |  460|    717|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    717|    do {                    \
  |  |  |  |   52|    717|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 6, False: 711]
  |  |  |  |  ------------------
  |  |  |  |   53|      6|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      6|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      6|        }                   \
  |  |  |  |   55|    717|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 711]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4744|    717|            }
 4745|    727|        }
 4746|    760|    }
 4747|       |
 4748|  4.01k|    if (IS_JUMP_TARGET_LABEL(start)) {
  ------------------
  |  |   60|  4.01k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   59|  4.01k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (60:33): [True: 4.00k, False: 10]
  |  |  ------------------
  ------------------
 4749|  4.00k|        if (iter_pos != ITERATOR_ON_STACK) {
  ------------------
  |  Branch (4749:13): [True: 3.32k, False: 689]
  ------------------
 4750|  3.32k|            ADDOP_I(c, LOC(gen->iter), GET_ITER, 0);
  ------------------
  |  |  280|  3.32k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.32k|    do {                    \
  |  |  |  |   52|  3.32k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.32k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.32k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.32k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4751|  3.32k|            depth += 1;
 4752|  3.32k|        }
 4753|  4.00k|        USE_LABEL(c, start);
  ------------------
  |  |  100|  4.00k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  4.00k|    do {                    \
  |  |  |  |   52|  4.00k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.00k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.00k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4754|  4.00k|        depth += 1;
 4755|  4.00k|        ADDOP_JUMP(c, LOC(gen->iter), FOR_ITER, anchor);
  ------------------
  |  |  435|  4.00k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  4.00k|    do {                    \
  |  |  |  |   52|  4.00k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.00k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.00k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4756|  4.00k|    }
 4757|  4.01k|    VISIT(c, expr, gen->target);
  ------------------
  |  |  460|  4.01k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  4.01k|    do {                    \
  |  |  |  |   52|  4.01k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 66, False: 3.95k]
  |  |  |  |  ------------------
  |  |  |  |   53|     66|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     66|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     66|        }                   \
  |  |  |  |   55|  4.01k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.95k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4758|       |
 4759|       |    /* XXX this needs to be cleaned up...a lot! */
 4760|  3.95k|    Py_ssize_t n = asdl_seq_LEN(gen->ifs);
  ------------------
  |  |   83|  3.95k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  7.90k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.95k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4761|  5.30k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (4761:28): [True: 1.38k, False: 3.92k]
  ------------------
 4762|  1.38k|        expr_ty e = (expr_ty)asdl_seq_GET(gen->ifs, i);
  ------------------
  |  |   82|  1.38k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.38k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4763|  1.38k|        RETURN_IF_ERROR(codegen_jump_if(c, loc, e, if_cleanup, 0));
  ------------------
  |  |   51|  1.38k|    do {                    \
  |  |   52|  1.38k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 30, False: 1.35k]
  |  |  ------------------
  |  |   53|     30|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     30|#define ERROR -1
  |  |  ------------------
  |  |   54|     30|        }                   \
  |  |   55|  1.38k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.35k]
  |  |  ------------------
  ------------------
 4764|  1.38k|    }
 4765|       |
 4766|  3.92k|    if (++gen_index < asdl_seq_LEN(generators)) {
  ------------------
  |  |   83|  3.92k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  7.84k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.92k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4766:9): [True: 469, False: 3.45k]
  ------------------
 4767|    469|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    469|    do {                    \
  |  |   52|    469|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 59, False: 410]
  |  |  ------------------
  |  |   53|     59|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     59|#define ERROR -1
  |  |  ------------------
  |  |   54|     59|        }                   \
  |  |   55|    469|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 410]
  |  |  ------------------
  ------------------
 4768|    469|            codegen_comprehension_generator(c, loc,
 4769|    469|                                            generators, gen_index, depth,
 4770|    469|                                            elt, val, type, ITERABLE_IN_LOCAL, avoid_creation));
 4771|    469|    }
 4772|       |
 4773|  3.86k|    location elt_loc = LOC(elt);
  ------------------
  |  |   88|  3.86k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  3.86k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  3.86k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  3.86k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  3.86k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  3.86k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4774|       |
 4775|       |    /* only append after the last for generator */
 4776|  3.86k|    if (gen_index >= asdl_seq_LEN(generators)) {
  ------------------
  |  |   83|  3.86k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  7.72k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.86k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4776:9): [True: 3.45k, False: 410]
  ------------------
 4777|       |        /* comprehension specific code */
 4778|  3.45k|        RETURN_IF_ERROR(codegen_comprehension_generator_helper(c, elt_loc, depth,
  ------------------
  |  |   51|  3.45k|    do {                    \
  |  |   52|  3.45k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 10, False: 3.44k]
  |  |  ------------------
  |  |   53|     10|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     10|#define ERROR -1
  |  |  ------------------
  |  |   54|     10|        }                   \
  |  |   55|  3.45k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.44k]
  |  |  ------------------
  ------------------
 4779|  3.45k|                                                               elt, val, type,
 4780|  3.45k|                                                               avoid_creation));
 4781|  3.44k|        if (type == COMP_DICTCOMP && val != NULL) {
  ------------------
  |  |   43|  6.88k|#define COMP_DICTCOMP 3
  ------------------
  |  Branch (4781:13): [True: 239, False: 3.20k]
  |  Branch (4781:38): [True: 173, False: 66]
  ------------------
 4782|    173|            elt_loc = LOCATION(elt->lineno,
  ------------------
  |  |   86|    173|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
 4783|    173|                               val->end_lineno,
 4784|    173|                               elt->col_offset,
 4785|    173|                               val->end_col_offset);
 4786|    173|        }
 4787|  3.44k|    }
 4788|       |
 4789|  3.85k|    USE_LABEL(c, if_cleanup);
  ------------------
  |  |  100|  3.85k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  3.85k|    do {                    \
  |  |  |  |   52|  3.85k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.85k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.85k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.85k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4790|  3.85k|    if (IS_JUMP_TARGET_LABEL(start)) {
  ------------------
  |  |   60|  3.85k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   59|  3.85k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (60:33): [True: 3.84k, False: 10]
  |  |  ------------------
  ------------------
 4791|  3.84k|        ADDOP_JUMP(c, elt_loc, JUMP, start);
  ------------------
  |  |  435|  3.84k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  3.84k|    do {                    \
  |  |  |  |   52|  3.84k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.84k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.84k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4792|       |
 4793|  3.84k|        USE_LABEL(c, anchor);
  ------------------
  |  |  100|  3.84k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  3.84k|    do {                    \
  |  |  |  |   52|  3.84k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.84k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.84k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4794|       |        /* It is important for instrumentation that the `END_FOR` comes first.
 4795|       |        * Iteration over a generator will jump to the first of these instructions,
 4796|       |        * but a non-generator will jump to a later instruction.
 4797|       |        */
 4798|  3.84k|        ADDOP(c, NO_LOCATION, END_FOR);
  ------------------
  |  |  294|  3.84k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.84k|    do {                    \
  |  |  |  |   52|  3.84k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.84k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.84k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4799|  3.84k|        ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  294|  3.84k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.84k|    do {                    \
  |  |  |  |   52|  3.84k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.84k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.84k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4800|  3.84k|    }
 4801|       |
 4802|  3.85k|    return SUCCESS;
  ------------------
  |  |   47|  3.85k|#define SUCCESS 0
  ------------------
 4803|  3.85k|}
codegen.c:pop_inlined_comprehension_state:
 5020|  3.04k|{
 5021|  3.04k|    int result = codegen_pop_inlined_comprehension_locals(c, loc, state);
 5022|  3.04k|    RETURN_IF_ERROR(_PyCompile_ExitInlinedComprehensionScope(c, state));
  ------------------
  |  |   51|  3.04k|    do {                    \
  |  |   52|  3.04k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3.04k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  3.04k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.04k]
  |  |  ------------------
  ------------------
 5023|  3.04k|    return result;
 5024|  3.04k|}
codegen.c:codegen_pop_inlined_comprehension_locals:
 4993|  3.04k|{
 4994|  3.04k|    if (state->pushed_locals) {
  ------------------
  |  Branch (4994:9): [True: 2.69k, False: 353]
  ------------------
 4995|  2.69k|        ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  294|  2.69k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.69k|    do {                    \
  |  |  |  |   52|  2.69k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.69k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.69k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.69k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4996|  2.69k|        _PyCompile_PopFBlock(c, COMPILE_FBLOCK_INLINED_COMPREHENSION,
 4997|  2.69k|                             state->cleanup);
 4998|       |
 4999|  2.69k|        NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|  2.69k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  2.69k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  2.69k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  2.69k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  2.69k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 2.69k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 5000|  2.69k|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  435|  2.69k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.69k|    do {                    \
  |  |  |  |   52|  2.69k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.69k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.69k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.69k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5001|       |
 5002|       |        // cleanup from an exception inside the comprehension
 5003|  2.69k|        USE_LABEL(c, state->cleanup);
  ------------------
  |  |  100|  2.69k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  2.69k|    do {                    \
  |  |  |  |   52|  2.69k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.69k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.69k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.69k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5004|       |        // discard incomplete comprehension result (beneath exc on stack)
 5005|  2.69k|        ADDOP_I(c, NO_LOCATION, SWAP, 2);
  ------------------
  |  |  280|  2.69k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.69k|    do {                    \
  |  |  |  |   52|  2.69k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.69k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.69k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.69k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5006|  2.69k|        ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  294|  2.69k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.69k|    do {                    \
  |  |  |  |   52|  2.69k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.69k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.69k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.69k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5007|  2.69k|        RETURN_IF_ERROR(restore_inlined_comprehension_locals(c, loc, state));
  ------------------
  |  |   51|  2.69k|    do {                    \
  |  |   52|  2.69k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.69k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.69k]
  |  |  ------------------
  ------------------
 5008|  2.69k|        ADDOP_I(c, NO_LOCATION, RERAISE, 0);
  ------------------
  |  |  280|  2.69k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.69k|    do {                    \
  |  |  |  |   52|  2.69k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.69k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.69k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.69k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5009|       |
 5010|  2.69k|        USE_LABEL(c, end);
  ------------------
  |  |  100|  2.69k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  2.69k|    do {                    \
  |  |  |  |   52|  2.69k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.69k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.69k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.69k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5011|  2.69k|        RETURN_IF_ERROR(restore_inlined_comprehension_locals(c, loc, state));
  ------------------
  |  |   51|  2.69k|    do {                    \
  |  |   52|  2.69k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.69k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.69k]
  |  |  ------------------
  ------------------
 5012|  2.69k|        Py_CLEAR(state->pushed_locals);
  ------------------
  |  |  487|  2.69k|    do { \
  |  |  488|  2.69k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  2.69k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  2.69k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  2.69k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  2.69k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  2.69k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2.69k, False: 0]
  |  |  ------------------
  |  |  491|  2.69k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.69k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  2.69k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  2.69k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  2.69k|        } \
  |  |  494|  2.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2.69k]
  |  |  ------------------
  ------------------
 5013|  2.69k|    }
 5014|  3.04k|    return SUCCESS;
  ------------------
  |  |   47|  3.04k|#define SUCCESS 0
  ------------------
 5015|  3.04k|}
codegen.c:restore_inlined_comprehension_locals:
 4971|  5.38k|{
 4972|  5.38k|    PyObject *k;
 4973|       |    // pop names we pushed to stack earlier
 4974|  5.38k|    Py_ssize_t npops = PyList_GET_SIZE(state->pushed_locals);
  ------------------
  |  |   38|  5.38k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4975|       |    // Preserve the comprehension result (or exception) as TOS. This
 4976|       |    // reverses the SWAP we did in push_inlined_comprehension_state
 4977|       |    // to get the outermost iterable to TOS, so we can still just iterate
 4978|       |    // pushed_locals in simple reverse order
 4979|  5.38k|    ADDOP_I(c, loc, SWAP, npops + 1);
  ------------------
  |  |  280|  5.38k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  5.38k|    do {                    \
  |  |  |  |   52|  5.38k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5.38k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  5.38k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5.38k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4980|  29.2k|    for (Py_ssize_t i = npops - 1; i >= 0; --i) {
  ------------------
  |  Branch (4980:36): [True: 23.8k, False: 5.38k]
  ------------------
 4981|  23.8k|        k = PyList_GetItem(state->pushed_locals, i);
 4982|  23.8k|        if (k == NULL) {
  ------------------
  |  Branch (4982:13): [True: 0, False: 23.8k]
  ------------------
 4983|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4984|      0|        }
 4985|  23.8k|        ADDOP_NAME(c, loc, STORE_FAST_MAYBE_NULL, k, varnames);
  ------------------
  |  |  419|  23.8k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  23.8k|    do {                    \
  |  |  |  |   52|  23.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 23.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  23.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 23.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4986|  23.8k|    }
 4987|  5.38k|    return SUCCESS;
  ------------------
  |  |   47|  5.38k|#define SUCCESS 0
  ------------------
 4988|  5.38k|}
codegen.c:codegen_listcomp:
 5198|    413|{
 5199|    413|    assert(e->kind == ListComp_kind);
  ------------------
  |  Branch (5199:5): [True: 413, False: 0]
  ------------------
 5200|    413|    _Py_DECLARE_STR(anon_listcomp, "<listcomp>");
 5201|    413|    return codegen_comprehension(c, e, COMP_LISTCOMP, &_Py_STR(anon_listcomp),
  ------------------
  |  |   41|    413|#define COMP_LISTCOMP 1
  ------------------
                  return codegen_comprehension(c, e, COMP_LISTCOMP, &_Py_STR(anon_listcomp),
  ------------------
  |  |  953|    413|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    413|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    413|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5202|    413|                                 e->v.ListComp.generators,
 5203|       |                                 e->v.ListComp.elt, NULL, avoid_creation);
 5204|    413|}
codegen.c:codegen_setcomp:
 5208|  2.23k|{
 5209|  2.23k|    assert(e->kind == SetComp_kind);
  ------------------
  |  Branch (5209:5): [True: 2.23k, False: 0]
  ------------------
 5210|  2.23k|    _Py_DECLARE_STR(anon_setcomp, "<setcomp>");
 5211|  2.23k|    return codegen_comprehension(c, e, COMP_SETCOMP, &_Py_STR(anon_setcomp),
  ------------------
  |  |   42|  2.23k|#define COMP_SETCOMP  2
  ------------------
                  return codegen_comprehension(c, e, COMP_SETCOMP, &_Py_STR(anon_setcomp),
  ------------------
  |  |  953|  2.23k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.23k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.23k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5212|  2.23k|                                 e->v.SetComp.generators,
 5213|  2.23k|                                 e->v.SetComp.elt, NULL, /*avoid_creation=*/false);
 5214|  2.23k|}
codegen.c:codegen_dictcomp:
 5219|    504|{
 5220|    504|    assert(e->kind == DictComp_kind);
  ------------------
  |  Branch (5220:5): [True: 504, False: 0]
  ------------------
 5221|    504|    _Py_DECLARE_STR(anon_dictcomp, "<dictcomp>");
 5222|    504|    return codegen_comprehension(c, e, COMP_DICTCOMP, &_Py_STR(anon_dictcomp),
  ------------------
  |  |   43|    504|#define COMP_DICTCOMP 3
  ------------------
                  return codegen_comprehension(c, e, COMP_DICTCOMP, &_Py_STR(anon_dictcomp),
  ------------------
  |  |  953|    504|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    504|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    504|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5223|    504|                                 e->v.DictComp.generators,
 5224|       |                                 e->v.DictComp.key, e->v.DictComp.value, /*avoid_creation=*/false);
 5225|    504|}
codegen.c:codegen_addop_yield:
 3296|  1.74k|codegen_addop_yield(compiler *c, location loc) {
 3297|  1.74k|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|  1.74k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 3298|  1.74k|    if (ste->ste_generator && ste->ste_coroutine) {
  ------------------
  |  Branch (3298:9): [True: 1.74k, False: 0]
  |  Branch (3298:31): [True: 581, False: 1.15k]
  ------------------
 3299|    581|        ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_ASYNC_GEN_WRAP);
  ------------------
  |  |  280|    581|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    581|    do {                    \
  |  |  |  |   52|    581|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 581]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    581|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 581]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3300|    581|    }
 3301|  1.74k|    ADDOP_I(c, loc, YIELD_VALUE, 0);
  ------------------
  |  |  280|  1.74k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.74k|    do {                    \
  |  |  |  |   52|  1.74k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.74k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.74k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.74k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3302|  1.74k|    ADDOP_I(c, loc, RESUME, RESUME_AFTER_YIELD);
  ------------------
  |  |  280|  1.74k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.74k|    do {                    \
  |  |  |  |   52|  1.74k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.74k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.74k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.74k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3303|  1.74k|    return SUCCESS;
  ------------------
  |  |   47|  1.74k|#define SUCCESS 0
  ------------------
 3304|  1.74k|}
codegen.c:codegen_compare:
 3712|  17.6k|{
 3713|  17.6k|    location loc = LOC(e);
  ------------------
  |  |   88|  17.6k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  17.6k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  17.6k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  17.6k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  17.6k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  17.6k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3714|  17.6k|    Py_ssize_t i, n;
 3715|       |
 3716|  17.6k|    RETURN_IF_ERROR(codegen_check_compare(c, e));
  ------------------
  |  |   51|  17.6k|    do {                    \
  |  |   52|  17.6k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 17.6k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  17.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 17.6k]
  |  |  ------------------
  ------------------
 3717|  17.6k|    VISIT(c, expr, e->v.Compare.left);
  ------------------
  |  |  460|  17.6k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  17.6k|    do {                    \
  |  |  |  |   52|  17.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 69, False: 17.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|     69|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     69|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     69|        }                   \
  |  |  |  |   55|  17.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 17.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3718|  17.6k|    assert(asdl_seq_LEN(e->v.Compare.ops) > 0);
  ------------------
  |  Branch (3718:5): [True: 0, False: 17.6k]
  |  Branch (3718:5): [True: 17.6k, False: 0]
  ------------------
 3719|  17.6k|    n = asdl_seq_LEN(e->v.Compare.ops) - 1;
  ------------------
  |  |   83|  17.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  35.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 17.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3720|  17.6k|    if (n == 0) {
  ------------------
  |  Branch (3720:9): [True: 10.6k, False: 6.93k]
  ------------------
 3721|  10.6k|        VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Compare.comparators, 0));
  ------------------
  |  |  460|  10.6k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  10.6k|    do {                    \
  |  |  |  |   52|  10.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 166, False: 10.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|    166|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    166|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    166|        }                   \
  |  |  |  |   55|  10.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3722|  10.5k|        ADDOP_COMPARE(c, loc, asdl_seq_GET(e->v.Compare.ops, 0));
  ------------------
  |  |  438|  10.5k|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|  10.5k|    do {                    \
  |  |  |  |   52|  10.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3723|  10.5k|    }
 3724|  6.93k|    else {
 3725|  6.93k|        NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   94|  6.93k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  6.93k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  6.93k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  6.93k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  6.93k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 6.93k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 3726|  39.1k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3726:21): [True: 32.1k, False: 6.92k]
  ------------------
 3727|  32.1k|            VISIT(c, expr,
  ------------------
  |  |  460|  32.1k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  32.1k|    do {                    \
  |  |  |  |   52|  32.1k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 14, False: 32.1k]
  |  |  |  |  ------------------
  |  |  |  |   53|     14|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     14|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     14|        }                   \
  |  |  |  |   55|  32.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3728|  32.1k|                (expr_ty)asdl_seq_GET(e->v.Compare.comparators, i));
 3729|  32.1k|            ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  280|  32.1k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  32.1k|    do {                    \
  |  |  |  |   52|  32.1k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32.1k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  32.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3730|  32.1k|            ADDOP_I(c, loc, COPY, 2);
  ------------------
  |  |  280|  32.1k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  32.1k|    do {                    \
  |  |  |  |   52|  32.1k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32.1k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  32.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3731|  32.1k|            ADDOP_COMPARE(c, loc, asdl_seq_GET(e->v.Compare.ops, i));
  ------------------
  |  |  438|  32.1k|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|  32.1k|    do {                    \
  |  |  |  |   52|  32.1k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32.1k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  32.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3732|  32.1k|            ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  280|  32.1k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  32.1k|    do {                    \
  |  |  |  |   52|  32.1k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32.1k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  32.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3733|  32.1k|            ADDOP(c, loc, TO_BOOL);
  ------------------
  |  |  294|  32.1k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  32.1k|    do {                    \
  |  |  |  |   52|  32.1k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32.1k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  32.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3734|  32.1k|            ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, cleanup);
  ------------------
  |  |  435|  32.1k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  32.1k|    do {                    \
  |  |  |  |   52|  32.1k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32.1k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  32.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3735|  32.1k|            ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  294|  32.1k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  32.1k|    do {                    \
  |  |  |  |   52|  32.1k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32.1k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  32.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3736|  32.1k|        }
 3737|  6.92k|        VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Compare.comparators, n));
  ------------------
  |  |  460|  6.92k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  6.92k|    do {                    \
  |  |  |  |   52|  6.92k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 41, False: 6.87k]
  |  |  |  |  ------------------
  |  |  |  |   53|     41|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     41|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     41|        }                   \
  |  |  |  |   55|  6.92k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3738|  6.87k|        ADDOP_COMPARE(c, loc, asdl_seq_GET(e->v.Compare.ops, n));
  ------------------
  |  |  438|  6.87k|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|  6.87k|    do {                    \
  |  |  |  |   52|  6.87k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.87k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.87k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3739|  6.87k|        NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|  6.87k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  6.87k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  6.87k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  6.87k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  6.87k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 6.87k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 3740|  6.87k|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  435|  6.87k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  6.87k|    do {                    \
  |  |  |  |   52|  6.87k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.87k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.87k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3741|       |
 3742|  6.87k|        USE_LABEL(c, cleanup);
  ------------------
  |  |  100|  6.87k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  6.87k|    do {                    \
  |  |  |  |   52|  6.87k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.87k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.87k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3743|  6.87k|        ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  280|  6.87k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  6.87k|    do {                    \
  |  |  |  |   52|  6.87k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.87k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.87k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3744|  6.87k|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  294|  6.87k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  6.87k|    do {                    \
  |  |  |  |   52|  6.87k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.87k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.87k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3745|       |
 3746|  6.87k|        USE_LABEL(c, end);
  ------------------
  |  |  100|  6.87k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  6.87k|    do {                    \
  |  |  |  |   52|  6.87k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.87k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.87k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3747|  6.87k|    }
 3748|  17.3k|    return SUCCESS;
  ------------------
  |  |   47|  17.3k|#define SUCCESS 0
  ------------------
 3749|  17.6k|}
codegen.c:codegen_call:
 4246|  15.8k|{
 4247|  15.8k|    RETURN_IF_ERROR(codegen_validate_keywords(c, e->v.Call.keywords));
  ------------------
  |  |   51|  15.8k|    do {                    \
  |  |   52|  15.8k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 14, False: 15.8k]
  |  |  ------------------
  |  |   53|     14|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     14|#define ERROR -1
  |  |  ------------------
  |  |   54|     14|        }                   \
  |  |   55|  15.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 15.8k]
  |  |  ------------------
  ------------------
 4248|  15.8k|    int ret = maybe_optimize_method_call(c, e);
 4249|  15.8k|    if (ret < 0) {
  ------------------
  |  Branch (4249:9): [True: 369, False: 15.5k]
  ------------------
 4250|    369|        return ERROR;
  ------------------
  |  |   48|    369|#define ERROR -1
  ------------------
 4251|    369|    }
 4252|  15.5k|    if (ret == 1) {
  ------------------
  |  Branch (4252:9): [True: 1.89k, False: 13.6k]
  ------------------
 4253|  1.89k|        return SUCCESS;
  ------------------
  |  |   47|  1.89k|#define SUCCESS 0
  ------------------
 4254|  1.89k|    }
 4255|  13.6k|    NEW_JUMP_TARGET_LABEL(c, skip_normal_call);
  ------------------
  |  |   94|  13.6k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  13.6k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  13.6k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  13.6k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  13.6k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 13.6k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4256|  13.6k|    RETURN_IF_ERROR(check_caller(c, e->v.Call.func));
  ------------------
  |  |   51|  13.6k|    do {                    \
  |  |   52|  13.6k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 13.6k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  13.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 13.6k]
  |  |  ------------------
  ------------------
 4257|  13.6k|    VISIT(c, expr, e->v.Call.func);
  ------------------
  |  |  460|  13.6k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  13.6k|    do {                    \
  |  |  |  |   52|  13.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 200, False: 13.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|    200|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    200|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    200|        }                   \
  |  |  |  |   55|  13.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 13.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4258|  13.4k|    RETURN_IF_ERROR(maybe_optimize_function_call(c, e, skip_normal_call));
  ------------------
  |  |   51|  13.4k|    do {                    \
  |  |   52|  13.4k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 2, False: 13.4k]
  |  |  ------------------
  |  |   53|      2|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      2|#define ERROR -1
  |  |  ------------------
  |  |   54|      2|        }                   \
  |  |   55|  13.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 13.4k]
  |  |  ------------------
  ------------------
 4259|  13.4k|    location loc = LOC(e->v.Call.func);
  ------------------
  |  |   88|  13.4k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  13.4k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  13.4k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  13.4k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  13.4k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  13.4k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4260|  13.4k|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  294|  13.4k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  13.4k|    do {                    \
  |  |  |  |   52|  13.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 13.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  13.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 13.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4261|  13.4k|    loc = LOC(e);
  ------------------
  |  |   88|  13.4k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  13.4k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  13.4k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  13.4k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  13.4k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  13.4k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4262|  13.4k|    ret = codegen_call_helper(c, loc, 0,
 4263|  13.4k|                              e->v.Call.args,
 4264|  13.4k|                              e->v.Call.keywords);
 4265|  13.4k|    USE_LABEL(c, skip_normal_call);
  ------------------
  |  |  100|  13.4k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  13.4k|    do {                    \
  |  |  |  |   52|  13.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 13.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  13.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 13.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4266|  13.4k|    return ret;
 4267|  13.4k|}
codegen.c:maybe_optimize_method_call:
 4152|  15.8k|{
 4153|  15.8k|    Py_ssize_t argsl, i, kwdsl;
 4154|  15.8k|    expr_ty meth = e->v.Call.func;
 4155|  15.8k|    asdl_expr_seq *args = e->v.Call.args;
 4156|  15.8k|    asdl_keyword_seq *kwds = e->v.Call.keywords;
 4157|       |
 4158|       |    /* Check that the call node is an attribute access */
 4159|  15.8k|    if (meth->kind != Attribute_kind || meth->v.Attribute.ctx != Load) {
  ------------------
  |  Branch (4159:9): [True: 13.3k, False: 2.50k]
  |  Branch (4159:41): [True: 0, False: 2.50k]
  ------------------
 4160|  13.3k|        return 0;
 4161|  13.3k|    }
 4162|       |
 4163|       |    /* Check that the base object is not something that is imported */
 4164|  2.50k|    int ret = is_import_originated(c, meth->v.Attribute.value);
 4165|  2.50k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  2.50k|    do {                    \
  |  |   52|  2.50k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.50k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.50k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.50k]
  |  |  ------------------
  ------------------
 4166|  2.50k|    if (ret) {
  ------------------
  |  Branch (4166:9): [True: 0, False: 2.50k]
  ------------------
 4167|      0|        return 0;
 4168|      0|    }
 4169|       |
 4170|       |    /* Check that there aren't too many arguments */
 4171|  2.50k|    argsl = asdl_seq_LEN(args);
  ------------------
  |  |   83|  2.50k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  5.01k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.66k, False: 843]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4172|  2.50k|    kwdsl = asdl_seq_LEN(kwds);
  ------------------
  |  |   83|  2.50k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  5.01k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.79k, False: 715]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4173|  2.50k|    if (CALL_STACK_USE(argsl, kwdsl) >= _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   91|  2.50k|    ((nargs) + (nkwds) + ((nkwds) != 0))
  ------------------
                  if (CALL_STACK_USE(argsl, kwdsl) >= _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|  2.50k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (4173:9): [True: 11, False: 2.49k]
  ------------------
 4174|     11|        return 0;
 4175|     11|    }
 4176|       |    /* Check that there are no *varargs types of arguments. */
 4177|  3.59k|    for (i = 0; i < argsl; i++) {
  ------------------
  |  Branch (4177:17): [True: 1.20k, False: 2.39k]
  ------------------
 4178|  1.20k|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|  1.20k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.20k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4179|  1.20k|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4179:13): [True: 101, False: 1.10k]
  ------------------
 4180|    101|            return 0;
 4181|    101|        }
 4182|  1.20k|    }
 4183|       |
 4184|  3.51k|    for (i = 0; i < kwdsl; i++) {
  ------------------
  |  Branch (4184:17): [True: 1.24k, False: 2.26k]
  ------------------
 4185|  1.24k|        keyword_ty kw = asdl_seq_GET(kwds, i);
  ------------------
  |  |   82|  1.24k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.24k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4186|  1.24k|        if (kw->arg == NULL) {
  ------------------
  |  Branch (4186:13): [True: 126, False: 1.11k]
  ------------------
 4187|    126|            return 0;
 4188|    126|        }
 4189|  1.24k|    }
 4190|       |
 4191|       |    /* Alright, we can optimize the code. */
 4192|  2.26k|    location loc = LOC(meth);
  ------------------
  |  |   88|  2.26k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  2.26k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  2.26k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  2.26k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  2.26k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  2.26k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4193|       |
 4194|  2.26k|    ret = can_optimize_super_call(c, meth);
 4195|  2.26k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  2.26k|    do {                    \
  |  |   52|  2.26k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.26k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.26k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.26k]
  |  |  ------------------
  ------------------
 4196|  2.26k|    if (ret) {
  ------------------
  |  Branch (4196:9): [True: 96, False: 2.17k]
  ------------------
 4197|     96|        RETURN_IF_ERROR(load_args_for_super(c, meth->v.Attribute.value));
  ------------------
  |  |   51|     96|    do {                    \
  |  |   52|     96|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 96]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     96|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 96]
  |  |  ------------------
  ------------------
 4198|     96|        int opcode = asdl_seq_LEN(meth->v.Attribute.value->v.Call.args) ?
  ------------------
  |  |   83|     96|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    192|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:26): [True: 25, False: 71]
  |  |  |  |  |  Branch (313:37): [True: 71, False: 25]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4199|     71|            LOAD_SUPER_METHOD : LOAD_ZERO_SUPER_METHOD;
  ------------------
  |  |  363|     25|#define LOAD_SUPER_METHOD -2
  ------------------
                          LOAD_SUPER_METHOD : LOAD_ZERO_SUPER_METHOD;
  ------------------
  |  |  365|     71|#define LOAD_ZERO_SUPER_METHOD -4
  ------------------
 4200|     96|        ADDOP_NAME(c, loc, opcode, meth->v.Attribute.attr, names);
  ------------------
  |  |  419|     96|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|     96|    do {                    \
  |  |  |  |   52|     96|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 96]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     96|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 96]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4201|     96|        loc = update_start_location_to_match_attr(c, loc, meth);
 4202|     96|        ADDOP(c, loc, NOP);
  ------------------
  |  |  294|     96|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     96|    do {                    \
  |  |  |  |   52|     96|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 96]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     96|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 96]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4203|  2.17k|    } else {
 4204|  2.17k|        VISIT(c, expr, meth->v.Attribute.value);
  ------------------
  |  |  460|  2.17k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.17k|    do {                    \
  |  |  |  |   52|  2.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 339, False: 1.83k]
  |  |  |  |  ------------------
  |  |  |  |   53|    339|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    339|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    339|        }                   \
  |  |  |  |   55|  2.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.83k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4205|  1.83k|        loc = update_start_location_to_match_attr(c, loc, meth);
 4206|  1.83k|        ADDOP_NAME(c, loc, LOAD_METHOD, meth->v.Attribute.attr, names);
  ------------------
  |  |  419|  1.83k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  1.83k|    do {                    \
  |  |  |  |   52|  1.83k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.83k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.83k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.83k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4207|  1.83k|    }
 4208|       |
 4209|  1.92k|    VISIT_SEQ(c, expr, e->v.Call.args);
  ------------------
  |  |  466|  1.92k|    do {                                                                    \
  |  |  467|  1.92k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  2.44k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  2.44k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  4.89k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 1.63k, False: 815]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 544, False: 1.90k]
  |  |  ------------------
  |  |  469|    544|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    544|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    544|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|    544|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    544|    do {                    \
  |  |  |  |   52|    544|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 23, False: 521]
  |  |  |  |  ------------------
  |  |  |  |   53|     23|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     23|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     23|        }                   \
  |  |  |  |   55|    544|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 521]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|    544|        }                                                                   \
  |  |  472|  1.92k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 1.90k]
  |  |  ------------------
  ------------------
 4210|       |
 4211|  1.90k|    if (kwdsl) {
  ------------------
  |  Branch (4211:9): [True: 577, False: 1.32k]
  ------------------
 4212|    577|        VISIT_SEQ(c, keyword, kwds);
  ------------------
  |  |  466|    577|    do {                                                                    \
  |  |  467|    577|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  1.68k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.68k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.37k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.68k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 1.11k, False: 570]
  |  |  ------------------
  |  |  469|  1.11k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.11k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.11k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  1.11k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.11k|    do {                    \
  |  |  |  |   52|  1.11k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 7, False: 1.10k]
  |  |  |  |  ------------------
  |  |  |  |   53|      7|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      7|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      7|        }                   \
  |  |  |  |   55|  1.11k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.10k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  1.11k|        }                                                                   \
  |  |  472|    577|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 570]
  |  |  ------------------
  ------------------
 4213|    570|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    570|    do {                    \
  |  |   52|    570|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 570]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    570|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 570]
  |  |  ------------------
  ------------------
 4214|    570|            codegen_call_simple_kw_helper(c, loc, kwds, kwdsl));
 4215|    570|        loc = update_start_location_to_match_attr(c, LOC(e), meth);
  ------------------
  |  |   88|    570|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    570|    (_Py_SourceLocation){ \
  |  |  |  |   59|    570|               .lineno = (n)->lineno, \
  |  |  |  |   60|    570|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    570|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    570|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4216|    570|        ADDOP_I(c, loc, CALL_KW, argsl + kwdsl);
  ------------------
  |  |  280|    570|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    570|    do {                    \
  |  |  |  |   52|    570|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 570]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    570|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 570]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4217|    570|    }
 4218|  1.32k|    else {
 4219|  1.32k|        loc = update_start_location_to_match_attr(c, LOC(e), meth);
  ------------------
  |  |   88|  1.32k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.32k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.32k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.32k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.32k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.32k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4220|  1.32k|        ADDOP_I(c, loc, CALL, argsl);
  ------------------
  |  |  280|  1.32k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.32k|    do {                    \
  |  |  |  |   52|  1.32k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.32k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.32k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.32k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4221|  1.32k|    }
 4222|  1.89k|    return 1;
 4223|  1.90k|}
codegen.c:is_import_originated:
 3879|  2.50k|{
 3880|       |    /* Check whether the global scope has an import named
 3881|       |     e, if it is a Name object. For not traversing all the
 3882|       |     scope stack every time this function is called, it will
 3883|       |     only check the global scope to determine whether something
 3884|       |     is imported or not. */
 3885|       |
 3886|  2.50k|    if (e->kind != Name_kind) {
  ------------------
  |  Branch (3886:9): [True: 1.53k, False: 970]
  ------------------
 3887|  1.53k|        return 0;
 3888|  1.53k|    }
 3889|       |
 3890|    970|    long flags = _PyST_GetSymbol(SYMTABLE(c)->st_top, e->v.Name.id);
  ------------------
  |  |   70|    970|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 3891|    970|    RETURN_IF_ERROR(flags);
  ------------------
  |  |   51|    970|    do {                    \
  |  |   52|    970|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 970]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    970|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 970]
  |  |  ------------------
  ------------------
 3892|    970|    return flags & DEF_IMPORT;
  ------------------
  |  |  176|    970|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  ------------------
 3893|    970|}
codegen.c:check_caller:
 3785|  13.6k|{
 3786|  13.6k|    switch (e->kind) {
 3787|  4.73k|    case Constant_kind:
  ------------------
  |  Branch (3787:5): [True: 4.73k, False: 8.88k]
  ------------------
 3788|  4.82k|    case Tuple_kind:
  ------------------
  |  Branch (3788:5): [True: 91, False: 13.5k]
  ------------------
 3789|  4.85k|    case List_kind:
  ------------------
  |  Branch (3789:5): [True: 34, False: 13.5k]
  ------------------
 3790|  4.86k|    case ListComp_kind:
  ------------------
  |  Branch (3790:5): [True: 11, False: 13.6k]
  ------------------
 3791|  4.87k|    case Dict_kind:
  ------------------
  |  Branch (3791:5): [True: 10, False: 13.6k]
  ------------------
 3792|  5.23k|    case DictComp_kind:
  ------------------
  |  Branch (3792:5): [True: 357, False: 13.2k]
  ------------------
 3793|  5.31k|    case Set_kind:
  ------------------
  |  Branch (3793:5): [True: 84, False: 13.5k]
  ------------------
 3794|  5.60k|    case SetComp_kind:
  ------------------
  |  Branch (3794:5): [True: 292, False: 13.3k]
  ------------------
 3795|  5.70k|    case GeneratorExp_kind:
  ------------------
  |  Branch (3795:5): [True: 99, False: 13.5k]
  ------------------
 3796|  5.75k|    case JoinedStr_kind:
  ------------------
  |  Branch (3796:5): [True: 47, False: 13.5k]
  ------------------
 3797|  5.76k|    case TemplateStr_kind:
  ------------------
  |  Branch (3797:5): [True: 9, False: 13.6k]
  ------------------
 3798|  5.76k|    case FormattedValue_kind:
  ------------------
  |  Branch (3798:5): [True: 0, False: 13.6k]
  ------------------
 3799|  5.76k|    case Interpolation_kind: {
  ------------------
  |  Branch (3799:5): [True: 0, False: 13.6k]
  ------------------
 3800|  5.76k|        location loc = LOC(e);
  ------------------
  |  |   88|  5.76k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  5.76k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  5.76k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  5.76k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  5.76k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  5.76k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3801|  5.76k|        return _PyCompile_Warn(c, loc, "'%.200s' object is not callable; "
 3802|  5.76k|                                       "perhaps you missed a comma?",
 3803|  5.76k|                                       infer_type(e)->tp_name);
 3804|  5.76k|    }
 3805|  7.84k|    default:
  ------------------
  |  Branch (3805:5): [True: 7.84k, False: 5.76k]
  ------------------
 3806|  7.84k|        return SUCCESS;
  ------------------
  |  |   47|  7.84k|#define SUCCESS 0
  ------------------
 3807|  13.6k|    }
 3808|  13.6k|}
codegen.c:maybe_optimize_function_call:
 4010|  13.4k|{
 4011|  13.4k|    asdl_expr_seq *args = e->v.Call.args;
 4012|  13.4k|    asdl_keyword_seq *kwds = e->v.Call.keywords;
 4013|  13.4k|    expr_ty func = e->v.Call.func;
 4014|       |
 4015|  13.4k|    if (! (func->kind == Name_kind &&
  ------------------
  |  Branch (4015:12): [True: 4.89k, False: 8.51k]
  ------------------
 4016|  4.89k|           asdl_seq_LEN(args) == 1 &&
  ------------------
  |  |   83|  4.89k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  9.79k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.49k, False: 3.39k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4016:12): [True: 2.14k, False: 2.75k]
  ------------------
 4017|  2.14k|           asdl_seq_LEN(kwds) == 0))
  ------------------
  |  |   83|  2.14k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  4.28k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.98k, False: 155]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4017:12): [True: 1.98k, False: 155]
  ------------------
 4018|  11.4k|    {
 4019|  11.4k|        return 0;
 4020|  11.4k|    }
 4021|       |
 4022|  1.98k|    location loc = LOC(func);
  ------------------
  |  |   88|  1.98k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.98k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.98k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.98k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.98k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.98k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4023|       |
 4024|  1.98k|    expr_ty arg_expr = asdl_seq_GET(args, 0);
  ------------------
  |  |   82|  1.98k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.98k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4025|       |
 4026|  1.98k|    if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "frozenset")
  ------------------
  |  Branch (4026:9): [True: 1, False: 1.98k]
  ------------------
 4027|      1|        && (arg_expr->kind == Set_kind || arg_expr->kind == SetComp_kind)) {
  ------------------
  |  Branch (4027:13): [True: 0, False: 1]
  |  Branch (4027:43): [True: 0, False: 1]
  ------------------
 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|  1.98k|    if (arg_expr->kind != GeneratorExp_kind) {
  ------------------
  |  Branch (4045:9): [True: 1.50k, False: 487]
  ------------------
 4046|  1.50k|        return 0;
 4047|  1.50k|    }
 4048|       |
 4049|    487|    PySTEntryObject *generator_entry = _PySymtable_Lookup(SYMTABLE(c), (void *)arg_expr);
  ------------------
  |  |   70|    487|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 4050|    487|    if (generator_entry->ste_coroutine) {
  ------------------
  |  Branch (4050:9): [True: 230, False: 257]
  ------------------
 4051|    230|        Py_DECREF(generator_entry);
  ------------------
  |  |  430|    230|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    230|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    230|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4052|    230|        return 0;
 4053|    230|    }
 4054|    257|    Py_DECREF(generator_entry);
  ------------------
  |  |  430|    257|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    257|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    257|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4055|       |
 4056|    257|    int optimized = 0;
 4057|    257|    NEW_JUMP_TARGET_LABEL(c, skip_optimization);
  ------------------
  |  |   94|    257|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    257|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    257|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    257|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    257|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 257]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4058|       |
 4059|    257|    int const_oparg = -1;
 4060|    257|    PyObject *initial_res = NULL;
 4061|    257|    int continue_jump_opcode = -1;
 4062|    257|    if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "all")) {
  ------------------
  |  Branch (4062:9): [True: 30, False: 227]
  ------------------
 4063|     30|        const_oparg = CONSTANT_BUILTIN_ALL;
  ------------------
  |  |   74|     30|#define CONSTANT_BUILTIN_ALL 3
  ------------------
 4064|     30|        initial_res = Py_True;
  ------------------
  |  |   26|     30|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4065|     30|        continue_jump_opcode = POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|     30|#define POP_JUMP_IF_TRUE                        99
  ------------------
 4066|     30|    }
 4067|    227|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "any")) {
  ------------------
  |  Branch (4067:14): [True: 2, False: 225]
  ------------------
 4068|      2|        const_oparg = CONSTANT_BUILTIN_ANY;
  ------------------
  |  |   75|      2|#define CONSTANT_BUILTIN_ANY 4
  ------------------
 4069|      2|        initial_res = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4070|      2|        continue_jump_opcode = POP_JUMP_IF_FALSE;
  ------------------
  |  |  109|      2|#define POP_JUMP_IF_FALSE                       96
  ------------------
 4071|      2|    }
 4072|    225|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "tuple")) {
  ------------------
  |  Branch (4072:14): [True: 0, False: 225]
  ------------------
 4073|      0|        const_oparg = CONSTANT_BUILTIN_TUPLE;
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
 4074|      0|    }
 4075|    225|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "list")) {
  ------------------
  |  Branch (4075:14): [True: 0, False: 225]
  ------------------
 4076|      0|        const_oparg = CONSTANT_BUILTIN_LIST;
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
 4077|      0|    }
 4078|    225|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "set")) {
  ------------------
  |  Branch (4078:14): [True: 34, False: 191]
  ------------------
 4079|     34|        const_oparg = CONSTANT_BUILTIN_SET;
  ------------------
  |  |   77|     34|#define CONSTANT_BUILTIN_SET 6
  ------------------
 4080|     34|    }
 4081|    191|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "frozenset")) {
  ------------------
  |  Branch (4081:14): [True: 0, False: 191]
  ------------------
 4082|      0|        const_oparg = CONSTANT_BUILTIN_FROZENSET;
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
 4083|      0|    }
 4084|    257|    if (const_oparg != -1) {
  ------------------
  |  Branch (4084:9): [True: 66, False: 191]
  ------------------
 4085|     66|        ADDOP_I(c, loc, COPY, 1); // the function
  ------------------
  |  |  280|     66|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     66|    do {                    \
  |  |  |  |   52|     66|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 66]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     66|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4086|     66|        ADDOP_I(c, loc, LOAD_COMMON_CONSTANT, const_oparg);
  ------------------
  |  |  280|     66|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     66|    do {                    \
  |  |  |  |   52|     66|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 66]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     66|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4087|     66|        ADDOP_COMPARE(c, loc, Is);
  ------------------
  |  |  438|     66|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|     66|    do {                    \
  |  |  |  |   52|     66|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 66]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     66|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4088|     66|        ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, skip_optimization);
  ------------------
  |  |  435|     66|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     66|    do {                    \
  |  |  |  |   52|     66|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 66]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     66|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4089|     66|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  294|     66|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     66|    do {                    \
  |  |  |  |   52|     66|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 66]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     66|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4090|       |
 4091|     66|        if (const_oparg == CONSTANT_BUILTIN_TUPLE || const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   73|    132|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
                      if (const_oparg == CONSTANT_BUILTIN_TUPLE || const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   76|     66|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4091:13): [True: 0, False: 66]
  |  Branch (4091:54): [True: 0, False: 66]
  ------------------
 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|     66|        } else if (const_oparg == CONSTANT_BUILTIN_SET || const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   77|    132|#define CONSTANT_BUILTIN_SET 6
  ------------------
                      } else if (const_oparg == CONSTANT_BUILTIN_SET || const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   83|     32|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  |  Branch (4093:20): [True: 34, False: 32]
  |  Branch (4093:59): [True: 0, False: 32]
  ------------------
 4094|     34|            ADDOP_I(c, loc, BUILD_SET, 0);
  ------------------
  |  |  280|     34|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     34|    do {                    \
  |  |  |  |   52|     34|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 34]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     34|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 34]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4095|     34|        }
 4096|     66|        VISIT(c, expr, arg_expr);
  ------------------
  |  |  460|     66|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     66|    do {                    \
  |  |  |  |   52|     66|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 64]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|     66|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4097|       |
 4098|     64|        NEW_JUMP_TARGET_LABEL(c, loop);
  ------------------
  |  |   94|     64|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     64|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|     64|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     64|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     64|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 64]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4099|     64|        NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   94|     64|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     64|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|     64|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     64|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     64|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 64]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 4100|       |
 4101|     64|        ADDOP(c, loc, PUSH_NULL); // Push NULL index for loop
  ------------------
  |  |  294|     64|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     64|    do {                    \
  |  |  |  |   52|     64|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     64|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4102|     64|        USE_LABEL(c, loop);
  ------------------
  |  |  100|     64|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     64|    do {                    \
  |  |  |  |   52|     64|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     64|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4103|     64|        ADDOP_JUMP(c, loc, FOR_ITER, cleanup);
  ------------------
  |  |  435|     64|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     64|    do {                    \
  |  |  |  |   52|     64|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     64|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4104|     64|        if (const_oparg == CONSTANT_BUILTIN_TUPLE || const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   73|    128|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
                      if (const_oparg == CONSTANT_BUILTIN_TUPLE || const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   76|     64|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4104:13): [True: 0, False: 64]
  |  Branch (4104:54): [True: 0, False: 64]
  ------------------
 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|     64|        } else if (const_oparg == CONSTANT_BUILTIN_SET || const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   77|    128|#define CONSTANT_BUILTIN_SET 6
  ------------------
                      } else if (const_oparg == CONSTANT_BUILTIN_SET || const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   83|     32|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  |  Branch (4107:20): [True: 32, False: 32]
  |  Branch (4107:59): [True: 0, False: 32]
  ------------------
 4108|     32|            ADDOP_I(c, loc, SET_ADD, 3);
  ------------------
  |  |  280|     32|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     32|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4109|     32|            ADDOP_JUMP(c, loc, JUMP, loop);
  ------------------
  |  |  435|     32|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     32|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4110|     32|        }
 4111|     32|        else {
 4112|     32|            ADDOP(c, loc, TO_BOOL);
  ------------------
  |  |  294|     32|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     32|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4113|     32|            ADDOP_JUMP(c, loc, continue_jump_opcode, loop);
  ------------------
  |  |  435|     32|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     32|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4114|     32|        }
 4115|       |
 4116|     64|        ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  294|     64|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     64|    do {                    \
  |  |  |  |   52|     64|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     64|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4117|     64|        if (const_oparg != CONSTANT_BUILTIN_TUPLE &&
  ------------------
  |  |   73|    128|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
  |  Branch (4117:13): [True: 64, False: 0]
  ------------------
 4118|     64|            const_oparg != CONSTANT_BUILTIN_LIST &&
  ------------------
  |  |   76|    128|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4118:13): [True: 64, False: 0]
  ------------------
 4119|     64|            const_oparg != CONSTANT_BUILTIN_SET &&
  ------------------
  |  |   77|    128|#define CONSTANT_BUILTIN_SET 6
  ------------------
  |  Branch (4119:13): [True: 32, False: 32]
  ------------------
 4120|     32|            const_oparg != CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   83|     32|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  |  Branch (4120:13): [True: 32, False: 0]
  ------------------
 4121|     32|            ADDOP_LOAD_CONST(c, loc, initial_res == Py_True ? Py_False : Py_True);
  ------------------
  |  |  311|     32|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     64|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  |  Branch (52:14): [True: 30, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4122|     32|        }
 4123|     64|        ADDOP_JUMP(c, loc, JUMP, end);
  ------------------
  |  |  435|     64|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     64|    do {                    \
  |  |  |  |   52|     64|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     64|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4124|       |
 4125|     64|        USE_LABEL(c, cleanup);
  ------------------
  |  |  100|     64|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     64|    do {                    \
  |  |  |  |   52|     64|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     64|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4126|     64|        ADDOP(c, NO_LOCATION, END_FOR);
  ------------------
  |  |  294|     64|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     64|    do {                    \
  |  |  |  |   52|     64|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     64|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4127|     64|        ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  294|     64|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     64|    do {                    \
  |  |  |  |   52|     64|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     64|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4128|     64|        if (const_oparg == CONSTANT_BUILTIN_TUPLE) {
  ------------------
  |  |   73|     64|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
  |  Branch (4128:13): [True: 0, False: 64]
  ------------------
 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|     64|        } else if (const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   76|     64|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4130:20): [True: 0, False: 64]
  ------------------
 4131|       |            // result is already a list
 4132|     64|        } else if (const_oparg == CONSTANT_BUILTIN_SET) {
  ------------------
  |  |   77|     64|#define CONSTANT_BUILTIN_SET 6
  ------------------
  |  Branch (4132:20): [True: 32, False: 32]
  ------------------
 4133|       |            // result is already a set
 4134|     32|        }
 4135|     32|        else if (const_oparg == CONSTANT_BUILTIN_FROZENSET) {
  ------------------
  |  |   83|     32|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
  |  Branch (4135:18): [True: 0, False: 32]
  ------------------
 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|     32|        else {
 4139|     32|            ADDOP_LOAD_CONST(c, loc, initial_res);
  ------------------
  |  |  311|     32|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     32|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4140|     32|        }
 4141|       |
 4142|     64|        optimized = 1;
 4143|     64|        ADDOP_JUMP(c, loc, JUMP, end);
  ------------------
  |  |  435|     64|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     64|    do {                    \
  |  |  |  |   52|     64|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     64|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4144|     64|    }
 4145|    255|    USE_LABEL(c, skip_optimization);
  ------------------
  |  |  100|    255|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    255|    do {                    \
  |  |  |  |   52|    255|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 255]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    255|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 255]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4146|    255|    return optimized;
 4147|    255|}
codegen.c:codegen_joined_str:
 4314|  3.99k|{
 4315|  3.99k|    location loc = LOC(e);
  ------------------
  |  |   88|  3.99k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  3.99k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  3.99k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  3.99k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  3.99k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  3.99k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4316|  3.99k|    Py_ssize_t value_count = asdl_seq_LEN(e->v.JoinedStr.values);
  ------------------
  |  |   83|  3.99k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  7.98k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.99k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4317|  3.99k|    if (value_count > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|  3.99k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (4317:9): [True: 38, False: 3.95k]
  ------------------
 4318|     38|        _Py_DECLARE_STR(empty, "");
 4319|     38|        ADDOP_LOAD_CONST_NEW(c, loc, Py_NewRef(&_Py_STR(empty)));
  ------------------
  |  |  329|     38|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     38|    do {                    \
  |  |  |  |   52|     38|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 38]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     38|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 38]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4320|     38|        ADDOP_NAME(c, loc, LOAD_METHOD, &_Py_ID(join), names);
  ------------------
  |  |  419|     38|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|     38|    do {                    \
  |  |  |  |   52|     38|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 38]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     38|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 38]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4321|     38|        ADDOP_I(c, loc, BUILD_LIST, 0);
  ------------------
  |  |  280|     38|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     38|    do {                    \
  |  |  |  |   52|     38|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 38]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     38|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 38]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4322|  3.38k|        for (Py_ssize_t i = 0; i < asdl_seq_LEN(e->v.JoinedStr.values); i++) {
  ------------------
  |  |   83|  3.38k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  6.76k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.38k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4322:32): [True: 3.34k, False: 33]
  ------------------
 4323|  3.34k|            VISIT(c, expr, asdl_seq_GET(e->v.JoinedStr.values, i));
  ------------------
  |  |  460|  3.34k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  3.34k|    do {                    \
  |  |  |  |   52|  3.34k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 5, False: 3.34k]
  |  |  |  |  ------------------
  |  |  |  |   53|      5|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      5|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      5|        }                   \
  |  |  |  |   55|  3.34k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4324|  3.34k|            ADDOP_I(c, loc, LIST_APPEND, 1);
  ------------------
  |  |  280|  3.34k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.34k|    do {                    \
  |  |  |  |   52|  3.34k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.34k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.34k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4325|  3.34k|        }
 4326|     33|        ADDOP_I(c, loc, CALL, 1);
  ------------------
  |  |  280|     33|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     33|    do {                    \
  |  |  |  |   52|     33|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 33]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     33|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 33]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4327|     33|    }
 4328|  3.95k|    else {
 4329|  3.95k|        VISIT_SEQ(c, expr, e->v.JoinedStr.values);
  ------------------
  |  |  466|  3.95k|    do {                                                                    \
  |  |  467|  3.95k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  9.29k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  9.29k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  18.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 9.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 5.42k, False: 3.86k]
  |  |  ------------------
  |  |  469|  5.42k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  5.42k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  5.42k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  5.42k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  5.42k|    do {                    \
  |  |  |  |   52|  5.42k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 90, False: 5.33k]
  |  |  |  |  ------------------
  |  |  |  |   53|     90|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     90|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     90|        }                   \
  |  |  |  |   55|  5.42k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5.33k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  5.42k|        }                                                                   \
  |  |  472|  3.95k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 3.86k]
  |  |  ------------------
  ------------------
 4330|  3.86k|        if (value_count > 1) {
  ------------------
  |  Branch (4330:13): [True: 1.34k, False: 2.51k]
  ------------------
 4331|  1.34k|            ADDOP_I(c, loc, BUILD_STRING, value_count);
  ------------------
  |  |  280|  1.34k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.34k|    do {                    \
  |  |  |  |   52|  1.34k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.34k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.34k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4332|  1.34k|        }
 4333|  2.51k|        else if (value_count == 0) {
  ------------------
  |  Branch (4333:18): [True: 925, False: 1.59k]
  ------------------
 4334|    925|            _Py_DECLARE_STR(empty, "");
 4335|    925|            ADDOP_LOAD_CONST_NEW(c, loc, Py_NewRef(&_Py_STR(empty)));
  ------------------
  |  |  329|    925|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    925|    do {                    \
  |  |  |  |   52|    925|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 925]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    925|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 925]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4336|    925|        }
 4337|  3.86k|    }
 4338|  3.89k|    return SUCCESS;
  ------------------
  |  |   47|  3.89k|#define SUCCESS 0
  ------------------
 4339|  3.99k|}
codegen.c:codegen_template_str:
 4271|    737|{
 4272|    737|    location loc = LOC(e);
  ------------------
  |  |   88|    737|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    737|    (_Py_SourceLocation){ \
  |  |  |  |   59|    737|               .lineno = (n)->lineno, \
  |  |  |  |   60|    737|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    737|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    737|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4273|    737|    expr_ty value;
 4274|       |
 4275|    737|    Py_ssize_t value_count = asdl_seq_LEN(e->v.TemplateStr.values);
  ------------------
  |  |   83|    737|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  1.47k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 737]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4276|    737|    int last_was_interpolation = 1;
 4277|    737|    Py_ssize_t stringslen = 0;
 4278|  2.89k|    for (Py_ssize_t i = 0; i < value_count; i++) {
  ------------------
  |  Branch (4278:28): [True: 2.15k, False: 737]
  ------------------
 4279|  2.15k|        value = asdl_seq_GET(e->v.TemplateStr.values, i);
  ------------------
  |  |   82|  2.15k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  2.15k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4280|  2.15k|        if (value->kind == Interpolation_kind) {
  ------------------
  |  Branch (4280:13): [True: 1.16k, False: 991]
  ------------------
 4281|  1.16k|            if (last_was_interpolation) {
  ------------------
  |  Branch (4281:17): [True: 609, False: 555]
  ------------------
 4282|    609|                ADDOP_LOAD_CONST(c, loc, Py_NewRef(&_Py_STR(empty)));
  ------------------
  |  |  311|    609|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    609|    do {                    \
  |  |  |  |   52|    609|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 609]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    609|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 609]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4283|    609|                stringslen++;
 4284|    609|            }
 4285|  1.16k|            last_was_interpolation = 1;
 4286|  1.16k|        }
 4287|    991|        else {
 4288|    991|            VISIT(c, expr, value);
  ------------------
  |  |  460|    991|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    991|    do {                    \
  |  |  |  |   52|    991|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 991]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    991|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 991]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4289|    991|            stringslen++;
 4290|    991|            last_was_interpolation = 0;
 4291|    991|        }
 4292|  2.15k|    }
 4293|    737|    if (last_was_interpolation) {
  ------------------
  |  Branch (4293:9): [True: 301, False: 436]
  ------------------
 4294|    301|        ADDOP_LOAD_CONST(c, loc, Py_NewRef(&_Py_STR(empty)));
  ------------------
  |  |  311|    301|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    301|    do {                    \
  |  |  |  |   52|    301|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 301]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    301|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 301]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4295|    301|        stringslen++;
 4296|    301|    }
 4297|    737|    ADDOP_I(c, loc, BUILD_TUPLE, stringslen);
  ------------------
  |  |  280|    737|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    737|    do {                    \
  |  |  |  |   52|    737|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 737]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    737|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 737]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4298|       |
 4299|    737|    Py_ssize_t interpolationslen = 0;
 4300|  2.85k|    for (Py_ssize_t i = 0; i < value_count; i++) {
  ------------------
  |  Branch (4300:28): [True: 2.14k, False: 709]
  ------------------
 4301|  2.14k|        value = asdl_seq_GET(e->v.TemplateStr.values, i);
  ------------------
  |  |   82|  2.14k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  2.14k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4302|  2.14k|        if (value->kind == Interpolation_kind) {
  ------------------
  |  Branch (4302:13): [True: 1.16k, False: 982]
  ------------------
 4303|  1.16k|            VISIT(c, expr, value);
  ------------------
  |  |  460|  1.16k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.16k|    do {                    \
  |  |  |  |   52|  1.16k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 28, False: 1.13k]
  |  |  |  |  ------------------
  |  |  |  |   53|     28|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     28|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     28|        }                   \
  |  |  |  |   55|  1.16k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4304|  1.13k|            interpolationslen++;
 4305|  1.13k|        }
 4306|  2.14k|    }
 4307|    709|    ADDOP_I(c, loc, BUILD_TUPLE, interpolationslen);
  ------------------
  |  |  280|    709|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    709|    do {                    \
  |  |  |  |   52|    709|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 709]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    709|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 709]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4308|    709|    ADDOP(c, loc, BUILD_TEMPLATE);
  ------------------
  |  |  294|    709|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    709|    do {                    \
  |  |  |  |   52|    709|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 709]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    709|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 709]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4309|    709|    return SUCCESS;
  ------------------
  |  |   47|    709|#define SUCCESS 0
  ------------------
 4310|    709|}
codegen.c:codegen_formatted_value:
 4375|  3.53k|{
 4376|  3.53k|    int conversion = e->v.FormattedValue.conversion;
 4377|  3.53k|    int oparg;
 4378|       |
 4379|       |    /* The expression to be formatted. */
 4380|  3.53k|    VISIT(c, expr, e->v.FormattedValue.value);
  ------------------
  |  |  460|  3.53k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  3.53k|    do {                    \
  |  |  |  |   52|  3.53k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 88, False: 3.44k]
  |  |  |  |  ------------------
  |  |  |  |   53|     88|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     88|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     88|        }                   \
  |  |  |  |   55|  3.53k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.44k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4381|       |
 4382|  3.44k|    location loc = LOC(e);
  ------------------
  |  |   88|  3.44k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  3.44k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  3.44k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  3.44k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  3.44k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  3.44k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4383|  3.44k|    if (conversion != -1) {
  ------------------
  |  Branch (4383:9): [True: 1.81k, False: 1.62k]
  ------------------
 4384|  1.81k|        switch (conversion) {
 4385|    682|        case 's': oparg = FVC_STR;   break;
  ------------------
  |  |  128|    682|#define FVC_STR       0x1
  ------------------
  |  Branch (4385:9): [True: 682, False: 1.13k]
  ------------------
 4386|    831|        case 'r': oparg = FVC_REPR;  break;
  ------------------
  |  |  129|    831|#define FVC_REPR      0x2
  ------------------
  |  Branch (4386:9): [True: 831, False: 984]
  ------------------
 4387|    302|        case 'a': oparg = FVC_ASCII; break;
  ------------------
  |  |  130|    302|#define FVC_ASCII     0x3
  ------------------
  |  Branch (4387:9): [True: 302, False: 1.51k]
  ------------------
 4388|      0|        default:
  ------------------
  |  Branch (4388:9): [True: 0, False: 1.81k]
  ------------------
 4389|      0|            PyErr_Format(PyExc_SystemError,
 4390|      0|                     "Unrecognized conversion character %d", conversion);
 4391|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4392|  1.81k|        }
 4393|  1.81k|        ADDOP_I(c, loc, CONVERT_VALUE, oparg);
  ------------------
  |  |  280|  1.81k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.81k|    do {                    \
  |  |  |  |   52|  1.81k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.81k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.81k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4394|  1.81k|    }
 4395|  3.44k|    if (e->v.FormattedValue.format_spec) {
  ------------------
  |  Branch (4395:9): [True: 1.47k, False: 1.97k]
  ------------------
 4396|       |        /* Evaluate the format spec, and update our opcode arg. */
 4397|  1.47k|        VISIT(c, expr, e->v.FormattedValue.format_spec);
  ------------------
  |  |  460|  1.47k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.47k|    do {                    \
  |  |  |  |   52|  1.47k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 7, False: 1.46k]
  |  |  |  |  ------------------
  |  |  |  |   53|      7|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      7|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      7|        }                   \
  |  |  |  |   55|  1.47k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.46k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4398|  1.46k|        ADDOP(c, loc, FORMAT_WITH_SPEC);
  ------------------
  |  |  294|  1.46k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.46k|    do {                    \
  |  |  |  |   52|  1.46k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.46k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.46k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.46k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4399|  1.97k|    } else {
 4400|  1.97k|        ADDOP(c, loc, FORMAT_SIMPLE);
  ------------------
  |  |  294|  1.97k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.97k|    do {                    \
  |  |  |  |   52|  1.97k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.97k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.97k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.97k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4401|  1.97k|    }
 4402|  3.43k|    return SUCCESS;
  ------------------
  |  |   47|  3.43k|#define SUCCESS 0
  ------------------
 4403|  3.44k|}
codegen.c:codegen_interpolation:
 4343|  1.16k|{
 4344|  1.16k|    location loc = LOC(e);
  ------------------
  |  |   88|  1.16k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.16k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.16k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.16k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.16k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.16k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4345|       |
 4346|  1.16k|    VISIT(c, expr, e->v.Interpolation.value);
  ------------------
  |  |  460|  1.16k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.16k|    do {                    \
  |  |  |  |   52|  1.16k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 27, False: 1.13k]
  |  |  |  |  ------------------
  |  |  |  |   53|     27|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     27|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     27|        }                   \
  |  |  |  |   55|  1.16k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4347|  1.13k|    ADDOP_LOAD_CONST(c, loc, e->v.Interpolation.str);
  ------------------
  |  |  311|  1.13k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.13k|    do {                    \
  |  |  |  |   52|  1.13k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.13k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.13k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4348|       |
 4349|  1.13k|    int oparg = 2;
 4350|  1.13k|    if (e->v.Interpolation.format_spec) {
  ------------------
  |  Branch (4350:9): [True: 667, False: 470]
  ------------------
 4351|    667|        oparg++;
 4352|    667|        VISIT(c, expr, e->v.Interpolation.format_spec);
  ------------------
  |  |  460|    667|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    667|    do {                    \
  |  |  |  |   52|    667|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 666]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    667|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 666]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4353|    667|    }
 4354|       |
 4355|  1.13k|    int conversion = e->v.Interpolation.conversion;
 4356|  1.13k|    if (conversion != -1) {
  ------------------
  |  Branch (4356:9): [True: 366, False: 770]
  ------------------
 4357|    366|        switch (conversion) {
 4358|     48|        case 's': oparg |= FVC_STR << 2;   break;
  ------------------
  |  |  128|     48|#define FVC_STR       0x1
  ------------------
  |  Branch (4358:9): [True: 48, False: 318]
  ------------------
 4359|     42|        case 'r': oparg |= FVC_REPR << 2;  break;
  ------------------
  |  |  129|     42|#define FVC_REPR      0x2
  ------------------
  |  Branch (4359:9): [True: 42, False: 324]
  ------------------
 4360|    276|        case 'a': oparg |= FVC_ASCII << 2; break;
  ------------------
  |  |  130|    276|#define FVC_ASCII     0x3
  ------------------
  |  Branch (4360:9): [True: 276, False: 90]
  ------------------
 4361|      0|        default:
  ------------------
  |  Branch (4361:9): [True: 0, False: 366]
  ------------------
 4362|      0|            PyErr_Format(PyExc_SystemError,
 4363|      0|                     "Unrecognized conversion character %d", conversion);
 4364|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4365|    366|        }
 4366|    366|    }
 4367|       |
 4368|  1.13k|    ADDOP_I(c, loc, BUILD_INTERPOLATION, oparg);
  ------------------
  |  |  280|  1.13k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.13k|    do {                    \
  |  |  |  |   52|  1.13k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.13k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.13k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4369|  1.13k|    return SUCCESS;
  ------------------
  |  |   47|  1.13k|#define SUCCESS 0
  ------------------
 4370|  1.13k|}
codegen.c:can_optimize_super_call:
 3897|  15.3k|{
 3898|  15.3k|    expr_ty e = attr->v.Attribute.value;
 3899|  15.3k|    if (e->kind != Call_kind ||
  ------------------
  |  Branch (3899:9): [True: 10.1k, False: 5.13k]
  ------------------
 3900|  5.13k|        e->v.Call.func->kind != Name_kind ||
  ------------------
  |  Branch (3900:9): [True: 2.49k, False: 2.64k]
  ------------------
 3901|  2.64k|        !_PyUnicode_EqualToASCIIString(e->v.Call.func->v.Name.id, "super") ||
  ------------------
  |  Branch (3901:9): [True: 794, False: 1.84k]
  ------------------
 3902|  1.84k|        _PyUnicode_EqualToASCIIString(attr->v.Attribute.attr, "__class__") ||
  ------------------
  |  Branch (3902:9): [True: 41, False: 1.80k]
  ------------------
 3903|  13.8k|        asdl_seq_LEN(e->v.Call.keywords) != 0) {
  ------------------
  |  |   83|  1.80k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  3.61k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.48k, False: 321]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3903:9): [True: 321, False: 1.48k]
  ------------------
 3904|  13.8k|        return 0;
 3905|  13.8k|    }
 3906|  1.48k|    Py_ssize_t num_args = asdl_seq_LEN(e->v.Call.args);
  ------------------
  |  |   83|  1.48k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  2.97k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 395, False: 1.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3907|       |
 3908|  1.48k|    PyObject *super_name = e->v.Call.func->v.Name.id;
 3909|       |    // detect statically-visible shadowing of 'super' name
 3910|  1.48k|    int scope = _PyST_GetScope(SYMTABLE_ENTRY(c), super_name);
  ------------------
  |  |   71|  1.48k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 3911|  1.48k|    RETURN_IF_ERROR(scope);
  ------------------
  |  |   51|  1.48k|    do {                    \
  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.48k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  ------------------
  ------------------
 3912|  1.48k|    if (scope != GLOBAL_IMPLICIT) {
  ------------------
  |  |  193|  1.48k|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (3912:9): [True: 43, False: 1.44k]
  ------------------
 3913|     43|        return 0;
 3914|     43|    }
 3915|  1.44k|    scope = _PyST_GetScope(SYMTABLE(c)->st_top, super_name);
  ------------------
  |  |   70|  1.44k|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 3916|  1.44k|    RETURN_IF_ERROR(scope);
  ------------------
  |  |   51|  1.44k|    do {                    \
  |  |   52|  1.44k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.44k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.44k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.44k]
  |  |  ------------------
  ------------------
 3917|  1.44k|    if (scope != 0) {
  ------------------
  |  Branch (3917:9): [True: 449, False: 993]
  ------------------
 3918|    449|        return 0;
 3919|    449|    }
 3920|       |
 3921|    993|    if (num_args == 2) {
  ------------------
  |  Branch (3921:9): [True: 472, False: 521]
  ------------------
 3922|  1.05k|        for (Py_ssize_t i = 0; i < num_args; i++) {
  ------------------
  |  Branch (3922:32): [True: 777, False: 275]
  ------------------
 3923|    777|            expr_ty elt = asdl_seq_GET(e->v.Call.args, i);
  ------------------
  |  |   82|    777|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    777|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3924|    777|            if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3924:17): [True: 197, False: 580]
  ------------------
 3925|    197|                return 0;
 3926|    197|            }
 3927|    777|        }
 3928|       |        // exactly two non-starred args; we can just load
 3929|       |        // the provided args
 3930|    275|        return 1;
 3931|    472|    }
 3932|       |
 3933|    521|    if (num_args != 0) {
  ------------------
  |  Branch (3933:9): [True: 219, False: 302]
  ------------------
 3934|    219|        return 0;
 3935|    219|    }
 3936|       |    // we need the following for zero-arg super():
 3937|       |
 3938|       |    // enclosing function should have at least one argument
 3939|    302|    if (METADATA(c)->u_argcount == 0 &&
  ------------------
  |  |   76|    302|#define METADATA(C) _PyCompile_Metadata(C)
  ------------------
  |  Branch (3939:9): [True: 288, False: 14]
  ------------------
 3940|    288|        METADATA(c)->u_posonlyargcount == 0) {
  ------------------
  |  |   76|    288|#define METADATA(C) _PyCompile_Metadata(C)
  ------------------
  |  Branch (3940:9): [True: 54, False: 234]
  ------------------
 3941|     54|        return 0;
 3942|     54|    }
 3943|       |    // __class__ cell should be available
 3944|    248|    if (_PyCompile_GetRefType(c, &_Py_ID(__class__)) == FREE) {
  ------------------
  |  |  951|    248|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    248|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    248|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyCompile_GetRefType(c, &_Py_ID(__class__)) == FREE) {
  ------------------
  |  |  194|    248|#define FREE 4
  ------------------
  |  Branch (3944:9): [True: 126, False: 122]
  ------------------
 3945|    126|        return 1;
 3946|    126|    }
 3947|    122|    return 0;
 3948|    248|}
codegen.c:load_args_for_super:
 3951|    401|load_args_for_super(compiler *c, expr_ty e) {
 3952|    401|    location loc = LOC(e);
  ------------------
  |  |   88|    401|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    401|    (_Py_SourceLocation){ \
  |  |  |  |   59|    401|               .lineno = (n)->lineno, \
  |  |  |  |   60|    401|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    401|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    401|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3953|       |
 3954|       |    // load super() global
 3955|    401|    PyObject *super_name = e->v.Call.func->v.Name.id;
 3956|    401|    RETURN_IF_ERROR(codegen_nameop(c, LOC(e->v.Call.func), super_name, Load));
  ------------------
  |  |   51|    401|    do {                    \
  |  |   52|    401|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 401]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    401|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 401]
  |  |  ------------------
  ------------------
 3957|       |
 3958|    401|    if (asdl_seq_LEN(e->v.Call.args) == 2) {
  ------------------
  |  |   83|    401|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    802|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 126, False: 275]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3958:9): [True: 275, False: 126]
  ------------------
 3959|    275|        VISIT(c, expr, asdl_seq_GET(e->v.Call.args, 0));
  ------------------
  |  |  460|    275|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    275|    do {                    \
  |  |  |  |   52|    275|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 275]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    275|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 275]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3960|    275|        VISIT(c, expr, asdl_seq_GET(e->v.Call.args, 1));
  ------------------
  |  |  460|    275|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    275|    do {                    \
  |  |  |  |   52|    275|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 275]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    275|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 275]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3961|    275|        return SUCCESS;
  ------------------
  |  |   47|    275|#define SUCCESS 0
  ------------------
 3962|    275|    }
 3963|       |
 3964|       |    // load __class__ cell
 3965|    126|    PyObject *name = &_Py_ID(__class__);
  ------------------
  |  |  951|    126|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    126|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    126|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3966|    126|    assert(_PyCompile_GetRefType(c, name) == FREE);
  ------------------
  |  Branch (3966:5): [True: 126, False: 0]
  ------------------
 3967|    126|    RETURN_IF_ERROR(codegen_nameop(c, loc, name, Load));
  ------------------
  |  |   51|    126|    do {                    \
  |  |   52|    126|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 126]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    126|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 126]
  |  |  ------------------
  ------------------
 3968|       |
 3969|       |    // load self (first argument)
 3970|    126|    Py_ssize_t i = 0;
 3971|    126|    PyObject *key, *value;
 3972|    126|    if (!PyDict_Next(METADATA(c)->u_varnames, &i, &key, &value)) {
  ------------------
  |  |   76|    126|#define METADATA(C) _PyCompile_Metadata(C)
  ------------------
  |  Branch (3972:9): [True: 0, False: 126]
  ------------------
 3973|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3974|      0|    }
 3975|    126|    RETURN_IF_ERROR(codegen_nameop(c, loc, key, Load));
  ------------------
  |  |   51|    126|    do {                    \
  |  |   52|    126|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 126]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    126|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 126]
  |  |  ------------------
  ------------------
 3976|       |
 3977|    126|    return SUCCESS;
  ------------------
  |  |   47|    126|#define SUCCESS 0
  ------------------
 3978|    126|}
codegen.c:codegen_subscript:
 5837|  24.3k|{
 5838|  24.3k|    location loc = LOC(e);
  ------------------
  |  |   88|  24.3k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  24.3k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  24.3k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  24.3k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  24.3k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  24.3k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5839|  24.3k|    expr_context_ty ctx = e->v.Subscript.ctx;
 5840|       |
 5841|  24.3k|    if (ctx == Load) {
  ------------------
  |  Branch (5841:9): [True: 21.9k, False: 2.45k]
  ------------------
 5842|  21.9k|        RETURN_IF_ERROR(check_subscripter(c, e->v.Subscript.value));
  ------------------
  |  |   51|  21.9k|    do {                    \
  |  |   52|  21.9k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 21.9k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  21.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 21.9k]
  |  |  ------------------
  ------------------
 5843|  21.9k|        RETURN_IF_ERROR(check_index(c, e->v.Subscript.value, e->v.Subscript.slice));
  ------------------
  |  |   51|  21.9k|    do {                    \
  |  |   52|  21.9k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 21.9k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  21.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 21.9k]
  |  |  ------------------
  ------------------
 5844|  21.9k|    }
 5845|       |
 5846|  24.3k|    VISIT(c, expr, e->v.Subscript.value);
  ------------------
  |  |  460|  24.3k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  24.3k|    do {                    \
  |  |  |  |   52|  24.3k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 157, False: 24.2k]
  |  |  |  |  ------------------
  |  |  |  |   53|    157|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    157|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    157|        }                   \
  |  |  |  |   55|  24.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 24.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5847|  24.2k|    if (should_apply_two_element_slice_optimization(e->v.Subscript.slice) &&
  ------------------
  |  Branch (5847:9): [True: 1.40k, False: 22.8k]
  ------------------
 5848|  1.40k|        ctx != Del
  ------------------
  |  Branch (5848:9): [True: 1.39k, False: 5]
  ------------------
 5849|  24.2k|    ) {
 5850|  1.39k|        RETURN_IF_ERROR(codegen_slice_two_parts(c, e->v.Subscript.slice));
  ------------------
  |  |   51|  1.39k|    do {                    \
  |  |   52|  1.39k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 16, False: 1.38k]
  |  |  ------------------
  |  |   53|     16|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     16|#define ERROR -1
  |  |  ------------------
  |  |   54|     16|        }                   \
  |  |   55|  1.39k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.38k]
  |  |  ------------------
  ------------------
 5851|  1.38k|        if (ctx == Load) {
  ------------------
  |  Branch (5851:13): [True: 1.27k, False: 105]
  ------------------
 5852|  1.27k|            ADDOP(c, loc, BINARY_SLICE);
  ------------------
  |  |  294|  1.27k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.27k|    do {                    \
  |  |  |  |   52|  1.27k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.27k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.27k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5853|  1.27k|        }
 5854|    105|        else {
 5855|    105|            assert(ctx == Store);
  ------------------
  |  Branch (5855:13): [True: 105, False: 0]
  ------------------
 5856|    105|            ADDOP(c, loc, STORE_SLICE);
  ------------------
  |  |  294|    105|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    105|    do {                    \
  |  |  |  |   52|    105|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 105]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    105|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 105]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5857|    105|        }
 5858|  1.38k|    }
 5859|  22.8k|    else {
 5860|  22.8k|        VISIT(c, expr, e->v.Subscript.slice);
  ------------------
  |  |  460|  22.8k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  22.8k|    do {                    \
  |  |  |  |   52|  22.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 52, False: 22.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|     52|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     52|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     52|        }                   \
  |  |  |  |   55|  22.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 22.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5861|  22.7k|        switch (ctx) {
  ------------------
  |  Branch (5861:17): [True: 22.7k, False: 0]
  ------------------
 5862|  20.4k|            case Load:
  ------------------
  |  Branch (5862:13): [True: 20.4k, False: 2.33k]
  ------------------
 5863|  20.4k|                ADDOP_I(c, loc, BINARY_OP, NB_SUBSCR);
  ------------------
  |  |  280|  20.4k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  20.4k|    do {                    \
  |  |  |  |   52|  20.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 20.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  20.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 20.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5864|  20.4k|                break;
 5865|  20.4k|            case Store:
  ------------------
  |  Branch (5865:13): [True: 1.32k, False: 21.4k]
  ------------------
 5866|  1.32k|                ADDOP(c, loc, STORE_SUBSCR);
  ------------------
  |  |  294|  1.32k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.32k|    do {                    \
  |  |  |  |   52|  1.32k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.32k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.32k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.32k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5867|  1.32k|                break;
 5868|  1.32k|            case Del:
  ------------------
  |  Branch (5868:13): [True: 1.01k, False: 21.7k]
  ------------------
 5869|  1.01k|                ADDOP(c, loc, DELETE_SUBSCR);
  ------------------
  |  |  294|  1.01k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.01k|    do {                    \
  |  |  |  |   52|  1.01k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.01k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.01k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5870|  1.01k|                break;
 5871|  22.7k|        }
 5872|  22.7k|    }
 5873|  24.1k|    return SUCCESS;
  ------------------
  |  |   47|  24.1k|#define SUCCESS 0
  ------------------
 5874|  24.2k|}
codegen.c:check_subscripter:
 3812|  21.9k|{
 3813|  21.9k|    PyObject *v;
 3814|       |
 3815|  21.9k|    switch (e->kind) {
 3816|  11.3k|    case Constant_kind:
  ------------------
  |  Branch (3816:5): [True: 11.3k, False: 10.5k]
  ------------------
 3817|  11.3k|        v = e->v.Constant.value;
 3818|  11.3k|        if (!(v == Py_None || v == Py_Ellipsis ||
  ------------------
  |  |  616|  22.7k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (!(v == Py_None || v == Py_Ellipsis ||
  ------------------
  |  |   14|  22.7k|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (3818:15): [True: 33, False: 11.3k]
  |  Branch (3818:31): [True: 201, False: 11.1k]
  ------------------
 3819|  11.3k|              PyLong_Check(v) || PyFloat_Check(v) || PyComplex_Check(v) ||
  ------------------
  |  |   13|  11.1k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  22.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 197, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                            PyLong_Check(v) || PyFloat_Check(v) || PyComplex_Check(v) ||
  ------------------
  |  |   16|  10.9k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|  22.3k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 61, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                            PyLong_Check(v) || PyFloat_Check(v) || PyComplex_Check(v) ||
  ------------------
  |  |   13|  10.8k|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  378|  22.2k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 485, False: 10.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3820|  10.4k|              PyAnySet_Check(v)))
  ------------------
  |  |   31|  10.4k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  20.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 10.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  20.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 10.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  10.4k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|  10.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 10.4k]
  |  |  ------------------
  |  |   33|  10.4k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|  10.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 10.4k]
  |  |  ------------------
  ------------------
 3821|  10.4k|        {
 3822|  10.4k|            return SUCCESS;
  ------------------
  |  |   47|  10.4k|#define SUCCESS 0
  ------------------
 3823|  10.4k|        }
 3824|    977|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|    977|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 3825|    982|    case Set_kind:
  ------------------
  |  Branch (3825:5): [True: 5, False: 21.9k]
  ------------------
 3826|    985|    case SetComp_kind:
  ------------------
  |  Branch (3826:5): [True: 3, False: 21.9k]
  ------------------
 3827|    985|    case GeneratorExp_kind:
  ------------------
  |  Branch (3827:5): [True: 0, False: 21.9k]
  ------------------
 3828|  1.11k|    case TemplateStr_kind:
  ------------------
  |  Branch (3828:5): [True: 128, False: 21.7k]
  ------------------
 3829|  1.11k|    case Interpolation_kind:
  ------------------
  |  Branch (3829:5): [True: 0, False: 21.9k]
  ------------------
 3830|  1.11k|    case Lambda_kind: {
  ------------------
  |  Branch (3830:5): [True: 0, False: 21.9k]
  ------------------
 3831|  1.11k|        location loc = LOC(e);
  ------------------
  |  |   88|  1.11k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.11k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.11k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.11k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.11k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.11k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3832|  1.11k|        return _PyCompile_Warn(c, loc, "'%.200s' object is not subscriptable; "
 3833|  1.11k|                                       "perhaps you missed a comma?",
 3834|  1.11k|                                       infer_type(e)->tp_name);
 3835|  1.11k|    }
 3836|  10.3k|    default:
  ------------------
  |  Branch (3836:5): [True: 10.3k, False: 11.5k]
  ------------------
 3837|  10.3k|        return SUCCESS;
  ------------------
  |  |   47|  10.3k|#define SUCCESS 0
  ------------------
 3838|  21.9k|    }
 3839|  21.9k|}
codegen.c:check_index:
 3843|  21.9k|{
 3844|  21.9k|    PyObject *v;
 3845|       |
 3846|  21.9k|    PyTypeObject *index_type = infer_type(s);
 3847|  21.9k|    if (index_type == NULL
  ------------------
  |  Branch (3847:9): [True: 15.0k, False: 6.85k]
  ------------------
 3848|  6.85k|        || PyType_FastSubclass(index_type, Py_TPFLAGS_LONG_SUBCLASS)
  ------------------
  |  |  760|  28.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  |  |  |  Branch (760:41): [True: 1.75k, False: 5.10k]
  |  |  ------------------
  ------------------
 3849|  16.8k|        || index_type == &PySlice_Type) {
  ------------------
  |  Branch (3849:12): [True: 0, False: 5.10k]
  ------------------
 3850|  16.8k|        return SUCCESS;
  ------------------
  |  |   47|  16.8k|#define SUCCESS 0
  ------------------
 3851|  16.8k|    }
 3852|       |
 3853|  5.10k|    switch (e->kind) {
 3854|    852|    case Constant_kind:
  ------------------
  |  Branch (3854:5): [True: 852, False: 4.25k]
  ------------------
 3855|    852|        v = e->v.Constant.value;
 3856|    852|        if (!(PyUnicode_Check(v) || PyBytes_Check(v) || PyTuple_Check(v))) {
  ------------------
  |  |  103|    852|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.70k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 361, False: 491]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!(PyUnicode_Check(v) || PyBytes_Check(v) || PyTuple_Check(v))) {
  ------------------
  |  |   28|    491|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.34k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 110, False: 381]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!(PyUnicode_Check(v) || PyBytes_Check(v) || PyTuple_Check(v))) {
  ------------------
  |  |   27|    381|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    381|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 381]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3857|    381|            return SUCCESS;
  ------------------
  |  |   47|    381|#define SUCCESS 0
  ------------------
 3858|    381|        }
 3859|    471|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|    471|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 3860|    674|    case Tuple_kind:
  ------------------
  |  Branch (3860:5): [True: 203, False: 4.90k]
  ------------------
 3861|  1.80k|    case List_kind:
  ------------------
  |  Branch (3861:5): [True: 1.12k, False: 3.97k]
  ------------------
 3862|  1.81k|    case ListComp_kind:
  ------------------
  |  Branch (3862:5): [True: 9, False: 5.09k]
  ------------------
 3863|  1.87k|    case JoinedStr_kind:
  ------------------
  |  Branch (3863:5): [True: 61, False: 5.04k]
  ------------------
 3864|  1.87k|    case FormattedValue_kind: {
  ------------------
  |  Branch (3864:5): [True: 0, False: 5.10k]
  ------------------
 3865|  1.87k|        location loc = LOC(e);
  ------------------
  |  |   88|  1.87k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.87k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.87k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.87k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.87k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.87k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3866|  1.87k|        return _PyCompile_Warn(c, loc, "%.200s indices must be integers "
 3867|  1.87k|                                       "or slices, not %.200s; "
 3868|  1.87k|                                       "perhaps you missed a comma?",
 3869|  1.87k|                                       infer_type(e)->tp_name,
 3870|  1.87k|                                       index_type->tp_name);
 3871|  1.87k|    }
 3872|  2.85k|    default:
  ------------------
  |  Branch (3872:5): [True: 2.85k, False: 2.25k]
  ------------------
 3873|  2.85k|        return SUCCESS;
  ------------------
  |  |   47|  2.85k|#define SUCCESS 0
  ------------------
 3874|  5.10k|    }
 3875|  5.10k|}
codegen.c:codegen_slice:
 5898|  12.8k|{
 5899|  12.8k|    int n = 2;
 5900|  12.8k|    assert(s->kind == Slice_kind);
  ------------------
  |  Branch (5900:5): [True: 12.8k, False: 0]
  ------------------
 5901|       |
 5902|  12.8k|    if (is_constant_slice(s)) {
  ------------------
  |  Branch (5902:9): [True: 10.6k, False: 2.14k]
  ------------------
 5903|  10.6k|        PyObject *start = NULL;
 5904|  10.6k|        if (s->v.Slice.lower) {
  ------------------
  |  Branch (5904:13): [True: 3.84k, False: 6.81k]
  ------------------
 5905|  3.84k|            start = s->v.Slice.lower->v.Constant.value;
 5906|  3.84k|        }
 5907|  10.6k|        PyObject *stop = NULL;
 5908|  10.6k|        if (s->v.Slice.upper) {
  ------------------
  |  Branch (5908:13): [True: 5.91k, False: 4.74k]
  ------------------
 5909|  5.91k|            stop = s->v.Slice.upper->v.Constant.value;
 5910|  5.91k|        }
 5911|  10.6k|        PyObject *step = NULL;
 5912|  10.6k|        if (s->v.Slice.step) {
  ------------------
  |  Branch (5912:13): [True: 4.12k, False: 6.54k]
  ------------------
 5913|  4.12k|            step = s->v.Slice.step->v.Constant.value;
 5914|  4.12k|        }
 5915|  10.6k|        PyObject *slice = PySlice_New(start, stop, step);
 5916|  10.6k|        if (slice == NULL) {
  ------------------
  |  Branch (5916:13): [True: 0, False: 10.6k]
  ------------------
 5917|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5918|      0|        }
 5919|  10.6k|        ADDOP_LOAD_CONST_NEW(c, LOC(s), slice);
  ------------------
  |  |  329|  10.6k|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  10.6k|    do {                    \
  |  |  |  |   52|  10.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5920|  10.6k|        return SUCCESS;
  ------------------
  |  |   47|  10.6k|#define SUCCESS 0
  ------------------
 5921|  10.6k|    }
 5922|       |
 5923|  2.14k|    RETURN_IF_ERROR(codegen_slice_two_parts(c, s));
  ------------------
  |  |   51|  2.14k|    do {                    \
  |  |   52|  2.14k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 6, False: 2.14k]
  |  |  ------------------
  |  |   53|      6|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      6|#define ERROR -1
  |  |  ------------------
  |  |   54|      6|        }                   \
  |  |   55|  2.14k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.14k]
  |  |  ------------------
  ------------------
 5924|       |
 5925|  2.14k|    if (s->v.Slice.step) {
  ------------------
  |  Branch (5925:9): [True: 892, False: 1.25k]
  ------------------
 5926|    892|        n++;
 5927|    892|        VISIT(c, expr, s->v.Slice.step);
  ------------------
  |  |  460|    892|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    892|    do {                    \
  |  |  |  |   52|    892|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 8, False: 884]
  |  |  |  |  ------------------
  |  |  |  |   53|      8|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      8|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      8|        }                   \
  |  |  |  |   55|    892|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 884]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5928|    892|    }
 5929|       |
 5930|  2.13k|    ADDOP_I(c, LOC(s), BUILD_SLICE, n);
  ------------------
  |  |  280|  2.13k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.13k|    do {                    \
  |  |  |  |   52|  2.13k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.13k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.13k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5931|  2.13k|    return SUCCESS;
  ------------------
  |  |   47|  2.13k|#define SUCCESS 0
  ------------------
 5932|  2.13k|}
codegen.c:codegen_list:
 3591|  6.77k|{
 3592|  6.77k|    location loc = LOC(e);
  ------------------
  |  |   88|  6.77k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  6.77k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  6.77k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  6.77k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  6.77k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  6.77k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3593|  6.77k|    asdl_expr_seq *elts = e->v.List.elts;
 3594|  6.77k|    if (e->v.List.ctx == Store) {
  ------------------
  |  Branch (3594:9): [True: 891, False: 5.88k]
  ------------------
 3595|    891|        return assignment_helper(c, loc, elts);
 3596|    891|    }
 3597|  5.88k|    else if (e->v.List.ctx == Load) {
  ------------------
  |  Branch (3597:14): [True: 5.21k, False: 667]
  ------------------
 3598|  5.21k|        return starunpack_helper(c, loc, elts, 0,
 3599|  5.21k|                                 BUILD_LIST, LIST_APPEND, LIST_EXTEND, 0);
  ------------------
  |  |   57|  5.21k|#define BUILD_LIST                              44
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 0);
  ------------------
  |  |   87|  5.21k|#define LIST_APPEND                             74
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 0);
  ------------------
  |  |   88|  5.21k|#define LIST_EXTEND                             75
  ------------------
 3600|  5.21k|    }
 3601|    667|    else {
 3602|    667|        VISIT_SEQ(c, expr, elts);
  ------------------
  |  |  466|    667|    do {                                                                    \
  |  |  467|    667|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  1.01k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.01k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.03k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 512, False: 506]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 351, False: 667]
  |  |  ------------------
  |  |  469|    351|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    351|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    351|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|    351|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    351|    do {                    \
  |  |  |  |   52|    351|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 351]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    351|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 351]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|    351|        }                                                                   \
  |  |  472|    667|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 667]
  |  |  ------------------
  ------------------
 3603|    667|    }
 3604|    667|    return SUCCESS;
  ------------------
  |  |   47|    667|#define SUCCESS 0
  ------------------
 3605|  6.77k|}
codegen.c:assignment_helper:
 3579|  25.3k|{
 3580|  25.3k|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|  25.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  50.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 992, False: 24.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3581|  25.3k|    RETURN_IF_ERROR(unpack_helper(c, loc, elts));
  ------------------
  |  |   51|  25.3k|    do {                    \
  |  |   52|  25.3k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 9, False: 25.3k]
  |  |  ------------------
  |  |   53|      9|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      9|#define ERROR -1
  |  |  ------------------
  |  |   54|      9|        }                   \
  |  |   55|  25.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 25.3k]
  |  |  ------------------
  ------------------
 3582|   109k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3582:28): [True: 84.3k, False: 25.3k]
  ------------------
 3583|  84.3k|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|  84.3k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  84.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3584|  84.3k|        VISIT(c, expr, elt->kind != Starred_kind ? elt : elt->v.Starred.value);
  ------------------
  |  |  460|  84.3k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  84.3k|    do {                    \
  |  |  |  |   52|   168k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 14, False: 84.3k]
  |  |  |  |  |  Branch (52:14): [True: 81.8k, False: 2.55k]
  |  |  |  |  ------------------
  |  |  |  |   53|     14|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     14|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     14|        }                   \
  |  |  |  |   55|  84.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 84.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3585|  84.3k|    }
 3586|  25.3k|    return SUCCESS;
  ------------------
  |  |   47|  25.3k|#define SUCCESS 0
  ------------------
 3587|  25.3k|}
codegen.c:unpack_helper:
 3551|  25.3k|{
 3552|  25.3k|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|  25.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  50.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 992, False: 24.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3553|  25.3k|    int seen_star = 0;
 3554|   110k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3554:28): [True: 85.1k, False: 25.3k]
  ------------------
 3555|  85.1k|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|  85.1k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  85.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3556|  85.1k|        if (elt->kind == Starred_kind && !seen_star) {
  ------------------
  |  Branch (3556:13): [True: 2.57k, False: 82.5k]
  |  Branch (3556:42): [True: 2.56k, False: 8]
  ------------------
 3557|  2.56k|            if ((i >= (1 << 8)) ||
  ------------------
  |  Branch (3557:17): [True: 1, False: 2.56k]
  ------------------
 3558|  2.56k|                (n-i-1 >= (INT_MAX >> 8))) {
  ------------------
  |  Branch (3558:17): [True: 0, False: 2.56k]
  ------------------
 3559|      1|                return _PyCompile_Error(c, loc,
 3560|      1|                    "too many expressions in "
 3561|      1|                    "star-unpacking assignment");
 3562|      1|            }
 3563|  2.56k|            ADDOP_I(c, loc, UNPACK_EX, (i + ((n-i-1) << 8)));
  ------------------
  |  |  280|  2.56k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.56k|    do {                    \
  |  |  |  |   52|  2.56k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.56k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.56k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.56k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3564|  2.56k|            seen_star = 1;
 3565|  2.56k|        }
 3566|  82.5k|        else if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3566:18): [True: 8, False: 82.5k]
  ------------------
 3567|      8|            return _PyCompile_Error(c, loc,
 3568|      8|                "multiple starred expressions in assignment");
 3569|      8|        }
 3570|  85.1k|    }
 3571|  25.3k|    if (!seen_star) {
  ------------------
  |  Branch (3571:9): [True: 22.8k, False: 2.55k]
  ------------------
 3572|  22.8k|        ADDOP_I(c, loc, UNPACK_SEQUENCE, n);
  ------------------
  |  |  280|  22.8k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  22.8k|    do {                    \
  |  |  |  |   52|  22.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 22.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  22.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 22.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3573|  22.8k|    }
 3574|  25.3k|    return SUCCESS;
  ------------------
  |  |   47|  25.3k|#define SUCCESS 0
  ------------------
 3575|  25.3k|}
codegen.c:codegen_tuple:
 3609|  88.8k|{
 3610|  88.8k|    location loc = LOC(e);
  ------------------
  |  |   88|  88.8k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  88.8k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  88.8k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  88.8k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  88.8k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  88.8k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3611|  88.8k|    asdl_expr_seq *elts = e->v.Tuple.elts;
 3612|  88.8k|    if (e->v.Tuple.ctx == Store) {
  ------------------
  |  Branch (3612:9): [True: 24.4k, False: 64.3k]
  ------------------
 3613|  24.4k|        return assignment_helper(c, loc, elts);
 3614|  24.4k|    }
 3615|  64.3k|    else if (e->v.Tuple.ctx == Load) {
  ------------------
  |  Branch (3615:14): [True: 64.0k, False: 370]
  ------------------
 3616|  64.0k|        return starunpack_helper(c, loc, elts, 0,
 3617|  64.0k|                                 BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   57|  64.0k|#define BUILD_LIST                              44
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   87|  64.0k|#define LIST_APPEND                             74
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   88|  64.0k|#define LIST_EXTEND                             75
  ------------------
 3618|  64.0k|    }
 3619|    370|    else {
 3620|    370|        VISIT_SEQ(c, expr, elts);
  ------------------
  |  |  466|    370|    do {                                                                    \
  |  |  467|    370|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|    744|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    744|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.48k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 120, False: 624]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 374, False: 370]
  |  |  ------------------
  |  |  469|    374|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    374|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    374|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|    374|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    374|    do {                    \
  |  |  |  |   52|    374|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 374]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    374|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 374]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|    374|        }                                                                   \
  |  |  472|    370|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 370]
  |  |  ------------------
  ------------------
 3621|    370|    }
 3622|    370|    return SUCCESS;
  ------------------
  |  |   47|    370|#define SUCCESS 0
  ------------------
 3623|  88.8k|}
codegen.c:codegen_break:
 2323|    142|{
 2324|    142|    fblockinfo *loop = NULL;
 2325|    142|    location origin_loc = loc;
 2326|       |    /* Emit instruction with line number */
 2327|    142|    ADDOP(c, loc, NOP);
  ------------------
  |  |  294|    142|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    142|    do {                    \
  |  |  |  |   52|    142|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 142]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    142|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 142]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2328|    142|    RETURN_IF_ERROR(codegen_unwind_fblock_stack(c, &loc, 0, &loop));
  ------------------
  |  |   51|    142|    do {                    \
  |  |   52|    142|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 141]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|    142|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 141]
  |  |  ------------------
  ------------------
 2329|    141|    if (loop == NULL) {
  ------------------
  |  Branch (2329:9): [True: 9, False: 132]
  ------------------
 2330|      9|        return _PyCompile_Error(c, origin_loc, "'break' outside loop");
 2331|      9|    }
 2332|    132|    RETURN_IF_ERROR(codegen_unwind_fblock(c, &loc, loop, 0));
  ------------------
  |  |   51|    132|    do {                    \
  |  |   52|    132|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 132]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    132|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 132]
  |  |  ------------------
  ------------------
 2333|    132|    ADDOP_JUMP(c, loc, JUMP, loop->fb_exit);
  ------------------
  |  |  435|    132|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    132|    do {                    \
  |  |  |  |   52|    132|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 132]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    132|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 132]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2334|    132|    return SUCCESS;
  ------------------
  |  |   47|    132|#define SUCCESS 0
  ------------------
 2335|    132|}
codegen.c:codegen_continue:
 2339|    393|{
 2340|    393|    fblockinfo *loop = NULL;
 2341|    393|    location origin_loc = loc;
 2342|       |    /* Emit instruction with line number */
 2343|    393|    ADDOP(c, loc, NOP);
  ------------------
  |  |  294|    393|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    393|    do {                    \
  |  |  |  |   52|    393|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 393]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    393|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 393]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2344|    393|    RETURN_IF_ERROR(codegen_unwind_fblock_stack(c, &loc, 0, &loop));
  ------------------
  |  |   51|    393|    do {                    \
  |  |   52|    393|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 392]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|    393|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 392]
  |  |  ------------------
  ------------------
 2345|    392|    if (loop == NULL) {
  ------------------
  |  Branch (2345:9): [True: 13, False: 379]
  ------------------
 2346|     13|        return _PyCompile_Error(c, origin_loc, "'continue' not properly in loop");
 2347|     13|    }
 2348|    379|    ADDOP_JUMP(c, loc, JUMP, loop->fb_block);
  ------------------
  |  |  435|    379|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    379|    do {                    \
  |  |  |  |   52|    379|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 379]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    379|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 379]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2349|    379|    return SUCCESS;
  ------------------
  |  |   47|    379|#define SUCCESS 0
  ------------------
 2350|    379|}
codegen.c:codegen_with:
 5461|    572|{
 5462|    572|    return codegen_with_inner(c, s, 0);
 5463|    572|}
codegen.c:codegen_with_inner:
 5392|  1.81k|{
 5393|  1.81k|    withitem_ty item = asdl_seq_GET(s->v.With.items, pos);
  ------------------
  |  |   82|  1.81k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.81k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 5394|       |
 5395|  1.81k|    assert(s->kind == With_kind);
  ------------------
  |  Branch (5395:5): [True: 1.81k, False: 0]
  ------------------
 5396|       |
 5397|  1.81k|    NEW_JUMP_TARGET_LABEL(c, block);
  ------------------
  |  |   94|  1.81k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.81k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.81k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.81k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.81k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.81k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 5398|  1.81k|    NEW_JUMP_TARGET_LABEL(c, final);
  ------------------
  |  |   94|  1.81k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.81k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.81k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.81k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.81k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.81k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 5399|  1.81k|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   94|  1.81k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.81k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.81k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.81k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.81k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.81k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 5400|  1.81k|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   94|  1.81k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.81k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  1.81k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.81k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.81k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 1.81k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 5401|       |
 5402|       |    /* Evaluate EXPR */
 5403|  1.81k|    VISIT(c, expr, item->context_expr);
  ------------------
  |  |  460|  1.81k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.81k|    do {                    \
  |  |  |  |   52|  1.81k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 1.81k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  1.81k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5404|       |    /* Will push bound __exit__ */
 5405|  1.81k|    location loc = LOC(item->context_expr);
  ------------------
  |  |   88|  1.81k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.81k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.81k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.81k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.81k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.81k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5406|  1.81k|    ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  280|  1.81k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.81k|    do {                    \
  |  |  |  |   52|  1.81k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.81k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.81k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5407|  1.81k|    ADDOP_I(c, loc, LOAD_SPECIAL, SPECIAL___EXIT__);
  ------------------
  |  |  280|  1.81k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.81k|    do {                    \
  |  |  |  |   52|  1.81k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.81k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.81k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5408|  1.81k|    ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  280|  1.81k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.81k|    do {                    \
  |  |  |  |   52|  1.81k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.81k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.81k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5409|  1.81k|    ADDOP_I(c, loc, SWAP, 3);
  ------------------
  |  |  280|  1.81k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.81k|    do {                    \
  |  |  |  |   52|  1.81k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.81k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.81k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5410|  1.81k|    ADDOP_I(c, loc, LOAD_SPECIAL, SPECIAL___ENTER__);
  ------------------
  |  |  280|  1.81k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.81k|    do {                    \
  |  |  |  |   52|  1.81k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.81k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.81k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5411|  1.81k|    ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  280|  1.81k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.81k|    do {                    \
  |  |  |  |   52|  1.81k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.81k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.81k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5412|  1.81k|    ADDOP_JUMP(c, loc, SETUP_WITH, final);
  ------------------
  |  |  435|  1.81k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.81k|    do {                    \
  |  |  |  |   52|  1.81k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.81k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.81k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5413|       |
 5414|       |    /* SETUP_WITH pushes a finally block. */
 5415|  1.81k|    USE_LABEL(c, block);
  ------------------
  |  |  100|  1.81k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.81k|    do {                    \
  |  |  |  |   52|  1.81k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.81k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.81k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5416|  1.81k|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_WITH, block, final, s));
  ------------------
  |  |   51|  1.81k|    do {                    \
  |  |   52|  1.81k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 2, False: 1.80k]
  |  |  ------------------
  |  |   53|      2|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      2|#define ERROR -1
  |  |  ------------------
  |  |   54|      2|        }                   \
  |  |   55|  1.81k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.80k]
  |  |  ------------------
  ------------------
 5417|       |
 5418|  1.80k|    if (item->optional_vars) {
  ------------------
  |  Branch (5418:9): [True: 230, False: 1.57k]
  ------------------
 5419|    230|        VISIT(c, expr, item->optional_vars);
  ------------------
  |  |  460|    230|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    230|    do {                    \
  |  |  |  |   52|    230|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 230]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    230|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 230]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5420|    230|    }
 5421|  1.57k|    else {
 5422|       |    /* Discard result from context.__enter__() */
 5423|  1.57k|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  294|  1.57k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.57k|    do {                    \
  |  |  |  |   52|  1.57k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.57k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.57k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5424|  1.57k|    }
 5425|       |
 5426|  1.80k|    pos++;
 5427|  1.80k|    if (pos == asdl_seq_LEN(s->v.With.items)) {
  ------------------
  |  |   83|  1.80k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  3.61k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.80k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5427:9): [True: 569, False: 1.23k]
  ------------------
 5428|       |        /* BLOCK code */
 5429|    569|        VISIT_SEQ(c, stmt, s->v.With.body);
  ------------------
  |  |  466|    569|    do {                                                                    \
  |  |  467|    569|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  1.34k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.34k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.68k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.34k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 776, False: 564]
  |  |  ------------------
  |  |  469|    776|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    776|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    776|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|    776|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    776|    do {                    \
  |  |  |  |   52|    776|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 5, False: 771]
  |  |  |  |  ------------------
  |  |  |  |   53|      5|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      5|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      5|        }                   \
  |  |  |  |   55|    776|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 771]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|    776|        }                                                                   \
  |  |  472|    569|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 564]
  |  |  ------------------
  ------------------
 5430|    569|    }
 5431|  1.23k|    else {
 5432|  1.23k|        RETURN_IF_ERROR(codegen_with_inner(c, s, pos));
  ------------------
  |  |   51|  1.23k|    do {                    \
  |  |   52|  1.23k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 44, False: 1.19k]
  |  |  ------------------
  |  |   53|     44|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     44|#define ERROR -1
  |  |  ------------------
  |  |   54|     44|        }                   \
  |  |   55|  1.23k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.19k]
  |  |  ------------------
  ------------------
 5433|  1.23k|    }
 5434|       |
 5435|  1.75k|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  294|  1.75k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.75k|    do {                    \
  |  |  |  |   52|  1.75k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.75k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.75k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5436|  1.75k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_WITH, block);
 5437|       |
 5438|       |    /* End of body; start the cleanup. */
 5439|       |
 5440|       |    /* For successful outcome:
 5441|       |     * call __exit__(None, None, None)
 5442|       |     */
 5443|  1.75k|    RETURN_IF_ERROR(codegen_call_exit_with_nones(c, loc));
  ------------------
  |  |   51|  1.75k|    do {                    \
  |  |   52|  1.75k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.75k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.75k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.75k]
  |  |  ------------------
  ------------------
 5444|  1.75k|    ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  294|  1.75k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.75k|    do {                    \
  |  |  |  |   52|  1.75k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.75k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.75k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5445|  1.75k|    ADDOP_JUMP(c, loc, JUMP, exit);
  ------------------
  |  |  435|  1.75k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.75k|    do {                    \
  |  |  |  |   52|  1.75k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.75k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.75k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5446|       |
 5447|       |    /* For exceptional outcome: */
 5448|  1.75k|    USE_LABEL(c, final);
  ------------------
  |  |  100|  1.75k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.75k|    do {                    \
  |  |  |  |   52|  1.75k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.75k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.75k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5449|       |
 5450|  1.75k|    ADDOP_JUMP(c, loc, SETUP_CLEANUP, cleanup);
  ------------------
  |  |  435|  1.75k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.75k|    do {                    \
  |  |  |  |   52|  1.75k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.75k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.75k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5451|  1.75k|    ADDOP(c, loc, PUSH_EXC_INFO);
  ------------------
  |  |  294|  1.75k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.75k|    do {                    \
  |  |  |  |   52|  1.75k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.75k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.75k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5452|  1.75k|    ADDOP(c, loc, WITH_EXCEPT_START);
  ------------------
  |  |  294|  1.75k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.75k|    do {                    \
  |  |  |  |   52|  1.75k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.75k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.75k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5453|  1.75k|    RETURN_IF_ERROR(codegen_with_except_finish(c, cleanup));
  ------------------
  |  |   51|  1.75k|    do {                    \
  |  |   52|  1.75k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.75k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.75k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.75k]
  |  |  ------------------
  ------------------
 5454|       |
 5455|  1.75k|    USE_LABEL(c, exit);
  ------------------
  |  |  100|  1.75k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.75k|    do {                    \
  |  |  |  |   52|  1.75k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.75k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.75k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5456|  1.75k|    return SUCCESS;
  ------------------
  |  |   47|  1.75k|#define SUCCESS 0
  ------------------
 5457|  1.75k|}
codegen.c:codegen_with_except_finish:
 5237|  10.9k|codegen_with_except_finish(compiler *c, jump_target_label cleanup) {
 5238|  10.9k|    NEW_JUMP_TARGET_LABEL(c, suppress);
  ------------------
  |  |   94|  10.9k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  10.9k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  10.9k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  10.9k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  10.9k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 10.9k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 5239|  10.9k|    ADDOP(c, NO_LOCATION, TO_BOOL);
  ------------------
  |  |  294|  10.9k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.9k|    do {                    \
  |  |  |  |   52|  10.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5240|  10.9k|    ADDOP_JUMP(c, NO_LOCATION, POP_JUMP_IF_TRUE, suppress);
  ------------------
  |  |  435|  10.9k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  10.9k|    do {                    \
  |  |  |  |   52|  10.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5241|  10.9k|    ADDOP_I(c, NO_LOCATION, RERAISE, 2);
  ------------------
  |  |  280|  10.9k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.9k|    do {                    \
  |  |  |  |   52|  10.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5242|       |
 5243|  10.9k|    USE_LABEL(c, suppress);
  ------------------
  |  |  100|  10.9k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  10.9k|    do {                    \
  |  |  |  |   52|  10.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5244|  10.9k|    ADDOP(c, NO_LOCATION, POP_TOP); /* exc_value */
  ------------------
  |  |  294|  10.9k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.9k|    do {                    \
  |  |  |  |   52|  10.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5245|  10.9k|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  294|  10.9k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.9k|    do {                    \
  |  |  |  |   52|  10.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5246|  10.9k|    ADDOP(c, NO_LOCATION, POP_EXCEPT);
  ------------------
  |  |  294|  10.9k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.9k|    do {                    \
  |  |  |  |   52|  10.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5247|  10.9k|    ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  294|  10.9k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.9k|    do {                    \
  |  |  |  |   52|  10.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5248|  10.9k|    ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  294|  10.9k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.9k|    do {                    \
  |  |  |  |   52|  10.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5249|  10.9k|    ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  294|  10.9k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.9k|    do {                    \
  |  |  |  |   52|  10.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5250|  10.9k|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   94|  10.9k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  10.9k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  10.9k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  10.9k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  10.9k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 10.9k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 5251|  10.9k|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, exit);
  ------------------
  |  |  435|  10.9k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  10.9k|    do {                    \
  |  |  |  |   52|  10.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5252|       |
 5253|  10.9k|    USE_LABEL(c, cleanup);
  ------------------
  |  |  100|  10.9k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  10.9k|    do {                    \
  |  |  |  |   52|  10.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5254|  10.9k|    POP_EXCEPT_AND_RERAISE(c, NO_LOCATION);
  ------------------
  |  |  450|  10.9k|    RETURN_IF_ERROR(codegen_pop_except_and_reraise((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.9k|    do {                    \
  |  |  |  |   52|  10.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5255|       |
 5256|  10.9k|    USE_LABEL(c, exit);
  ------------------
  |  |  100|  10.9k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  10.9k|    do {                    \
  |  |  |  |   52|  10.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5257|  10.9k|    return SUCCESS;
  ------------------
  |  |   47|  10.9k|#define SUCCESS 0
  ------------------
 5258|  10.9k|}
codegen.c:codegen_async_with:
 5364|  1.63k|{
 5365|  1.63k|    return codegen_async_with_inner(c, s, 0);
 5366|  1.63k|}
codegen.c:codegen_async_with_inner:
 5286|  9.19k|{
 5287|  9.19k|    location loc = LOC(s);
  ------------------
  |  |   88|  9.19k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  9.19k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  9.19k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  9.19k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  9.19k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  9.19k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5288|  9.19k|    withitem_ty item = asdl_seq_GET(s->v.AsyncWith.items, pos);
  ------------------
  |  |   82|  9.19k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  9.19k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 5289|       |
 5290|  9.19k|    assert(s->kind == AsyncWith_kind);
  ------------------
  |  Branch (5290:5): [True: 9.19k, False: 0]
  ------------------
 5291|       |
 5292|  9.19k|    NEW_JUMP_TARGET_LABEL(c, block);
  ------------------
  |  |   94|  9.19k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  9.19k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  9.19k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  9.19k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  9.19k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 9.19k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 5293|  9.19k|    NEW_JUMP_TARGET_LABEL(c, final);
  ------------------
  |  |   94|  9.19k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  9.19k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  9.19k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  9.19k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  9.19k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 9.19k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 5294|  9.19k|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   94|  9.19k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  9.19k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  9.19k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  9.19k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  9.19k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 9.19k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 5295|  9.19k|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   94|  9.19k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  9.19k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  9.19k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  9.19k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  9.19k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 9.19k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 5296|       |
 5297|       |    /* Evaluate EXPR */
 5298|  9.19k|    VISIT(c, expr, item->context_expr);
  ------------------
  |  |  460|  9.19k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  9.19k|    do {                    \
  |  |  |  |   52|  9.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 9.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  9.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5299|  9.19k|    loc = LOC(item->context_expr);
  ------------------
  |  |   88|  9.19k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  9.19k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  9.19k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  9.19k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  9.19k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  9.19k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5300|  9.19k|    ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  280|  9.19k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.19k|    do {                    \
  |  |  |  |   52|  9.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5301|  9.19k|    ADDOP_I(c, loc, LOAD_SPECIAL, SPECIAL___AEXIT__);
  ------------------
  |  |  280|  9.19k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.19k|    do {                    \
  |  |  |  |   52|  9.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5302|  9.19k|    ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  280|  9.19k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.19k|    do {                    \
  |  |  |  |   52|  9.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5303|  9.19k|    ADDOP_I(c, loc, SWAP, 3);
  ------------------
  |  |  280|  9.19k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.19k|    do {                    \
  |  |  |  |   52|  9.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5304|  9.19k|    ADDOP_I(c, loc, LOAD_SPECIAL, SPECIAL___AENTER__);
  ------------------
  |  |  280|  9.19k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.19k|    do {                    \
  |  |  |  |   52|  9.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5305|  9.19k|    ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  280|  9.19k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.19k|    do {                    \
  |  |  |  |   52|  9.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5306|  9.19k|    ADDOP_I(c, loc, GET_AWAITABLE, 1);
  ------------------
  |  |  280|  9.19k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.19k|    do {                    \
  |  |  |  |   52|  9.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5307|  9.19k|    ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  447|  9.19k|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|  9.19k|    do {                    \
  |  |  |  |   52|  9.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5308|       |
 5309|  9.19k|    ADDOP_JUMP(c, loc, SETUP_WITH, final);
  ------------------
  |  |  435|  9.19k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  9.19k|    do {                    \
  |  |  |  |   52|  9.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5310|       |
 5311|       |    /* SETUP_WITH pushes a finally block. */
 5312|  9.19k|    USE_LABEL(c, block);
  ------------------
  |  |  100|  9.19k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  9.19k|    do {                    \
  |  |  |  |   52|  9.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5313|  9.19k|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_ASYNC_WITH, block, final, s));
  ------------------
  |  |   51|  9.19k|    do {                    \
  |  |   52|  9.19k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 9.19k]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|  9.19k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 9.19k]
  |  |  ------------------
  ------------------
 5314|       |
 5315|  9.19k|    if (item->optional_vars) {
  ------------------
  |  Branch (5315:9): [True: 407, False: 8.78k]
  ------------------
 5316|    407|        VISIT(c, expr, item->optional_vars);
  ------------------
  |  |  460|    407|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    407|    do {                    \
  |  |  |  |   52|    407|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 407]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    407|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 407]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5317|    407|    }
 5318|  8.78k|    else {
 5319|       |        /* Discard result from context.__aenter__() */
 5320|  8.78k|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  294|  8.78k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  8.78k|    do {                    \
  |  |  |  |   52|  8.78k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8.78k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  8.78k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.78k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5321|  8.78k|    }
 5322|       |
 5323|  9.19k|    pos++;
 5324|  9.19k|    if (pos == asdl_seq_LEN(s->v.AsyncWith.items)) {
  ------------------
  |  |   83|  9.19k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  18.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 9.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5324:9): [True: 1.63k, False: 7.55k]
  ------------------
 5325|       |        /* BLOCK code */
 5326|  1.63k|        VISIT_SEQ(c, stmt, s->v.AsyncWith.body);
  ------------------
  |  |  466|  1.63k|    do {                                                                    \
  |  |  467|  1.63k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|  3.95k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  3.95k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  7.90k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.95k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 2.32k, False: 1.63k]
  |  |  ------------------
  |  |  469|  2.32k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  2.32k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.32k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|  2.32k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  2.32k|    do {                    \
  |  |  |  |   52|  2.32k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 2.32k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  2.32k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.32k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|  2.32k|        }                                                                   \
  |  |  472|  1.63k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 1.63k]
  |  |  ------------------
  ------------------
 5327|  1.63k|    }
 5328|  7.55k|    else {
 5329|  7.55k|        RETURN_IF_ERROR(codegen_async_with_inner(c, s, pos));
  ------------------
  |  |   51|  7.55k|    do {                    \
  |  |   52|  7.55k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 24, False: 7.53k]
  |  |  ------------------
  |  |   53|     24|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     24|#define ERROR -1
  |  |  ------------------
  |  |   54|     24|        }                   \
  |  |   55|  7.55k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 7.53k]
  |  |  ------------------
  ------------------
 5330|  7.55k|    }
 5331|       |
 5332|  9.16k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_ASYNC_WITH, block);
 5333|       |
 5334|  9.16k|    ADDOP(c, loc, POP_BLOCK);
  ------------------
  |  |  294|  9.16k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.16k|    do {                    \
  |  |  |  |   52|  9.16k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.16k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.16k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5335|       |    /* End of body; start the cleanup */
 5336|       |
 5337|       |    /* For successful outcome:
 5338|       |     * call __exit__(None, None, None)
 5339|       |     */
 5340|  9.16k|    RETURN_IF_ERROR(codegen_call_exit_with_nones(c, loc));
  ------------------
  |  |   51|  9.16k|    do {                    \
  |  |   52|  9.16k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 9.16k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  9.16k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 9.16k]
  |  |  ------------------
  ------------------
 5341|  9.16k|    ADDOP_I(c, loc, GET_AWAITABLE, 2);
  ------------------
  |  |  280|  9.16k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.16k|    do {                    \
  |  |  |  |   52|  9.16k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.16k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.16k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5342|  9.16k|    ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  447|  9.16k|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|  9.16k|    do {                    \
  |  |  |  |   52|  9.16k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.16k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.16k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5343|       |
 5344|  9.16k|    ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  294|  9.16k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.16k|    do {                    \
  |  |  |  |   52|  9.16k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.16k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.16k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5345|       |
 5346|  9.16k|    ADDOP_JUMP(c, loc, JUMP, exit);
  ------------------
  |  |  435|  9.16k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  9.16k|    do {                    \
  |  |  |  |   52|  9.16k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.16k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.16k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5347|       |
 5348|       |    /* For exceptional outcome: */
 5349|  9.16k|    USE_LABEL(c, final);
  ------------------
  |  |  100|  9.16k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  9.16k|    do {                    \
  |  |  |  |   52|  9.16k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.16k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.16k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5350|       |
 5351|  9.16k|    ADDOP_JUMP(c, loc, SETUP_CLEANUP, cleanup);
  ------------------
  |  |  435|  9.16k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  9.16k|    do {                    \
  |  |  |  |   52|  9.16k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.16k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.16k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5352|  9.16k|    ADDOP(c, loc, PUSH_EXC_INFO);
  ------------------
  |  |  294|  9.16k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.16k|    do {                    \
  |  |  |  |   52|  9.16k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.16k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.16k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5353|  9.16k|    ADDOP(c, loc, WITH_EXCEPT_START);
  ------------------
  |  |  294|  9.16k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.16k|    do {                    \
  |  |  |  |   52|  9.16k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.16k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.16k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5354|  9.16k|    ADDOP_I(c, loc, GET_AWAITABLE, 2);
  ------------------
  |  |  280|  9.16k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.16k|    do {                    \
  |  |  |  |   52|  9.16k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.16k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.16k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5355|  9.16k|    ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  447|  9.16k|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|  9.16k|    do {                    \
  |  |  |  |   52|  9.16k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.16k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.16k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5356|  9.16k|    RETURN_IF_ERROR(codegen_with_except_finish(c, cleanup));
  ------------------
  |  |   51|  9.16k|    do {                    \
  |  |   52|  9.16k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 9.16k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  9.16k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 9.16k]
  |  |  ------------------
  ------------------
 5357|       |
 5358|  9.16k|    USE_LABEL(c, exit);
  ------------------
  |  |  100|  9.16k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  9.16k|    do {                    \
  |  |  |  |   52|  9.16k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.16k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.16k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5359|  9.16k|    return SUCCESS;
  ------------------
  |  |   47|  9.16k|#define SUCCESS 0
  ------------------
 5360|  9.16k|}
codegen.c:codegen_async_for:
 2209|    240|{
 2210|    240|    location loc = LOC(s);
  ------------------
  |  |   88|    240|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    240|    (_Py_SourceLocation){ \
  |  |  |  |   59|    240|               .lineno = (n)->lineno, \
  |  |  |  |   60|    240|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    240|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    240|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2211|       |
 2212|    240|    NEW_JUMP_TARGET_LABEL(c, start);
  ------------------
  |  |   94|    240|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    240|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    240|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    240|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    240|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 240]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2213|    240|    NEW_JUMP_TARGET_LABEL(c, send);
  ------------------
  |  |   94|    240|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    240|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    240|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    240|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    240|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 240]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2214|    240|    NEW_JUMP_TARGET_LABEL(c, except);
  ------------------
  |  |   94|    240|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    240|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    240|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    240|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    240|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 240]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2215|    240|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   94|    240|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    240|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|    240|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    240|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    240|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 240]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
 2216|       |
 2217|    240|    VISIT(c, expr, s->v.AsyncFor.iter);
  ------------------
  |  |  460|    240|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    240|    do {                    \
  |  |  |  |   52|    240|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 240]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    240|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 240]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2218|    240|    ADDOP(c, LOC(s->v.AsyncFor.iter), GET_AITER);
  ------------------
  |  |  294|    240|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    240|    do {                    \
  |  |  |  |   52|    240|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 240]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    240|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 240]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2219|       |
 2220|    240|    USE_LABEL(c, start);
  ------------------
  |  |  100|    240|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    240|    do {                    \
  |  |  |  |   52|    240|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 240]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    240|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 240]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2221|    240|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_ASYNC_FOR_LOOP, start, end, NULL));
  ------------------
  |  |   51|    240|    do {                    \
  |  |   52|    240|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 240]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    240|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 240]
  |  |  ------------------
  ------------------
 2222|       |
 2223|       |    /* SETUP_FINALLY to guard the __anext__ call */
 2224|    240|    ADDOP_JUMP(c, loc, SETUP_FINALLY, except);
  ------------------
  |  |  435|    240|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    240|    do {                    \
  |  |  |  |   52|    240|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 240]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    240|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 240]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2225|    240|    ADDOP(c, loc, GET_ANEXT);
  ------------------
  |  |  294|    240|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    240|    do {                    \
  |  |  |  |   52|    240|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 240]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    240|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 240]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2226|    240|    USE_LABEL(c, send);
  ------------------
  |  |  100|    240|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    240|    do {                    \
  |  |  |  |   52|    240|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 240]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    240|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 240]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2227|    240|    ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  447|    240|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|    240|    do {                    \
  |  |  |  |   52|    240|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 240]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    240|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 240]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2228|    240|    ADDOP(c, loc, POP_BLOCK);  /* for SETUP_FINALLY */
  ------------------
  |  |  294|    240|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    240|    do {                    \
  |  |  |  |   52|    240|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 240]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    240|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 240]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2229|    240|    ADDOP(c, loc, NOT_TAKEN);
  ------------------
  |  |  294|    240|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    240|    do {                    \
  |  |  |  |   52|    240|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 240]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    240|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 240]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2230|       |
 2231|       |    /* Success block for __anext__ */
 2232|    240|    VISIT(c, expr, s->v.AsyncFor.target);
  ------------------
  |  |  460|    240|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    240|    do {                    \
  |  |  |  |   52|    240|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 239]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    240|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 239]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2233|    239|    VISIT_SEQ(c, stmt, s->v.AsyncFor.body);
  ------------------
  |  |  466|    239|    do {                                                                    \
  |  |  467|    239|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|    772|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    772|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.54k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 772]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 537, False: 235]
  |  |  ------------------
  |  |  469|    537|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    537|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    537|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|    537|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    537|    do {                    \
  |  |  |  |   52|    537|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 4, False: 533]
  |  |  |  |  ------------------
  |  |  |  |   53|      4|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      4|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      4|        }                   \
  |  |  |  |   55|    537|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 533]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|    537|        }                                                                   \
  |  |  472|    239|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 235]
  |  |  ------------------
  ------------------
 2234|       |    /* Mark jump as artificial */
 2235|    235|    ADDOP_JUMP(c, NO_LOCATION, JUMP, start);
  ------------------
  |  |  435|    235|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    235|    do {                    \
  |  |  |  |   52|    235|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 235]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    235|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 235]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2236|       |
 2237|    235|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_ASYNC_FOR_LOOP, start);
 2238|       |
 2239|       |    /* Except block for __anext__ */
 2240|    235|    USE_LABEL(c, except);
  ------------------
  |  |  100|    235|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    235|    do {                    \
  |  |  |  |   52|    235|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 235]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    235|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 235]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2241|       |
 2242|       |    /* Use same line number as the iterator,
 2243|       |     * as the END_ASYNC_FOR succeeds the `for`, not the body. */
 2244|    235|    loc = LOC(s->v.AsyncFor.iter);
  ------------------
  |  |   88|    235|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    235|    (_Py_SourceLocation){ \
  |  |  |  |   59|    235|               .lineno = (n)->lineno, \
  |  |  |  |   60|    235|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    235|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    235|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2245|    235|    ADDOP_JUMP(c, loc, END_ASYNC_FOR, send);
  ------------------
  |  |  435|    235|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    235|    do {                    \
  |  |  |  |   52|    235|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 235]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    235|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 235]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2246|       |
 2247|       |    /* `else` block */
 2248|    235|    VISIT_SEQ(c, stmt, s->v.AsyncFor.orelse);
  ------------------
  |  |  466|    235|    do {                                                                    \
  |  |  467|    235|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  468|    554|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    554|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.10k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 110, False: 444]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (468:26): [True: 320, False: 234]
  |  |  ------------------
  |  |  469|    320|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    320|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    320|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  470|    320|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    320|    do {                    \
  |  |  |  |   52|    320|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 319]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    320|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 319]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  471|    320|        }                                                                   \
  |  |  472|    235|    } while (0)
  |  |  ------------------
  |  |  |  Branch (472:14): [Folded, False: 234]
  |  |  ------------------
  ------------------
 2249|       |
 2250|    234|    USE_LABEL(c, end);
  ------------------
  |  |  100|    234|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    234|    do {                    \
  |  |  |  |   52|    234|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 234]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    234|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 234]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2251|    234|    return SUCCESS;
  ------------------
  |  |   47|    234|#define SUCCESS 0
  ------------------
 2252|    234|}
codegen.c:codegen_process_deferred_annotations:
  864|  22.6k|{
  865|  22.6k|    PyObject *deferred_anno = NULL;
  866|  22.6k|    PyObject *conditional_annotation_indices = NULL;
  867|  22.6k|    _PyCompile_DeferredAnnotations(c, &deferred_anno, &conditional_annotation_indices);
  868|  22.6k|    if (deferred_anno == NULL) {
  ------------------
  |  Branch (868:9): [True: 16.4k, False: 6.23k]
  ------------------
  869|  16.4k|        assert(conditional_annotation_indices == NULL);
  ------------------
  |  Branch (869:9): [True: 16.4k, False: 0]
  ------------------
  870|  16.4k|        return SUCCESS;
  ------------------
  |  |   47|  16.4k|#define SUCCESS 0
  ------------------
  871|  16.4k|    }
  872|       |
  873|  6.23k|    int scope_type = SCOPE_TYPE(c);
  ------------------
  |  |   74|  6.23k|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  874|  6.23k|    bool need_separate_block = scope_type == COMPILE_SCOPE_MODULE;
  875|  6.23k|    if (need_separate_block) {
  ------------------
  |  Branch (875:9): [True: 725, False: 5.50k]
  ------------------
  876|    725|        if (_PyCompile_StartAnnotationSetup(c) == ERROR) {
  ------------------
  |  |   48|    725|#define ERROR -1
  ------------------
  |  Branch (876:13): [True: 0, False: 725]
  ------------------
  877|      0|            goto error;
  878|      0|        }
  879|    725|    }
  880|       |
  881|       |    // It's possible that ste_annotations_block is set but
  882|       |    // u_deferred_annotations is not, because the former is still
  883|       |    // set if there are only non-simple annotations (i.e., annotations
  884|       |    // for attributes, subscripts, or parenthesized names). However, the
  885|       |    // reverse should not be possible.
  886|  6.23k|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|  6.23k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  887|  6.23k|    assert(ste->ste_annotation_block != NULL);
  ------------------
  |  Branch (887:5): [True: 6.23k, False: 0]
  ------------------
  888|  6.23k|    void *key = (void *)((uintptr_t)ste->ste_id + 1);
  889|  6.23k|    if (codegen_setup_annotations_scope(c, loc, key,
  ------------------
  |  Branch (889:9): [True: 0, False: 6.23k]
  ------------------
  890|  6.23k|                                        ste->ste_annotation_block->ste_name) < 0) {
  891|      0|        goto error;
  892|      0|    }
  893|  6.23k|    if (codegen_deferred_annotations_body(c, loc, deferred_anno,
  ------------------
  |  Branch (893:9): [True: 7, False: 6.22k]
  ------------------
  894|  6.23k|                                          conditional_annotation_indices, scope_type) < 0) {
  895|      7|        _PyCompile_ExitScope(c);
  896|      7|        goto error;
  897|      7|    }
  898|       |
  899|  6.22k|    Py_DECREF(deferred_anno);
  ------------------
  |  |  430|  6.22k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  900|  6.22k|    Py_DECREF(conditional_annotation_indices);
  ------------------
  |  |  430|  6.22k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  901|       |
  902|  6.22k|    RETURN_IF_ERROR(codegen_finish_annotations_scope(c, loc));
  ------------------
  |  |   51|  6.22k|    do {                    \
  |  |   52|  6.22k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.22k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.22k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.22k]
  |  |  ------------------
  ------------------
  903|  6.22k|    RETURN_IF_ERROR(codegen_nameop(
  ------------------
  |  |   51|  6.22k|    do {                    \
  |  |   52|  12.4k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.22k]
  |  |  |  Branch (52:14): [True: 5.50k, False: 718]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.22k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.22k]
  |  |  ------------------
  ------------------
  904|  6.22k|        c, loc,
  905|  6.22k|        ste->ste_type == ClassBlock ? &_Py_ID(__annotate_func__) : &_Py_ID(__annotate__),
  906|  6.22k|        Store));
  907|       |
  908|  6.22k|    if (need_separate_block) {
  ------------------
  |  Branch (908:9): [True: 718, False: 5.50k]
  ------------------
  909|    718|        RETURN_IF_ERROR(_PyCompile_EndAnnotationSetup(c));
  ------------------
  |  |   51|    718|    do {                    \
  |  |   52|    718|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 718]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    718|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 718]
  |  |  ------------------
  ------------------
  910|    718|    }
  911|       |
  912|  6.22k|    return SUCCESS;
  ------------------
  |  |   47|  6.22k|#define SUCCESS 0
  ------------------
  913|      7|error:
  914|      7|    Py_XDECREF(deferred_anno);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  915|      7|    Py_XDECREF(conditional_annotation_indices);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  916|      7|    return ERROR;
  ------------------
  |  |   48|      7|#define ERROR -1
  ------------------
  917|  6.22k|}
codegen.c:codegen_deferred_annotations_body:
  809|  6.23k|{
  810|  6.23k|    Py_ssize_t annotations_len = PyList_GET_SIZE(deferred_anno);
  ------------------
  |  |   38|  6.23k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  811|       |
  812|  6.23k|    assert(PyList_CheckExact(conditional_annotation_indices));
  ------------------
  |  Branch (812:5): [True: 6.23k, False: 0]
  ------------------
  813|  6.23k|    assert(annotations_len == PyList_Size(conditional_annotation_indices));
  ------------------
  |  Branch (813:5): [True: 6.23k, False: 0]
  ------------------
  814|       |
  815|  6.23k|    ADDOP_I(c, loc, BUILD_MAP, 0); // stack now contains <annos>
  ------------------
  |  |  280|  6.23k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  6.23k|    do {                    \
  |  |  |  |   52|  6.23k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.23k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.23k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.23k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  816|       |
  817|  23.7k|    for (Py_ssize_t i = 0; i < annotations_len; i++) {
  ------------------
  |  Branch (817:28): [True: 17.5k, False: 6.22k]
  ------------------
  818|  17.5k|        PyObject *ptr = PyList_GET_ITEM(deferred_anno, i);
  ------------------
  |  |   40|  17.5k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  17.5k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (818:25): [True: 17.5k, False: 0]
  ------------------
  819|      0|        stmt_ty st = (stmt_ty)PyLong_AsVoidPtr(ptr);
  820|  17.5k|        if (st == NULL) {
  ------------------
  |  Branch (820:13): [True: 0, False: 17.5k]
  ------------------
  821|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  822|      0|        }
  823|  17.5k|        PyObject *mangled = _PyCompile_Mangle(c, st->v.AnnAssign.target->v.Name.id);
  824|  17.5k|        if (!mangled) {
  ------------------
  |  Branch (824:13): [True: 0, False: 17.5k]
  ------------------
  825|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  826|      0|        }
  827|       |        // NOTE: ref of mangled can be leaked on ADDOP* and VISIT macros due to early returns
  828|       |        // fixing would require an overhaul of these macros
  829|       |
  830|  17.5k|        PyObject *cond_index = PyList_GET_ITEM(conditional_annotation_indices, i);
  ------------------
  |  |   40|  17.5k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  17.5k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (830:32): [True: 17.5k, False: 0]
  ------------------
  831|  17.5k|        assert(PyLong_CheckExact(cond_index));
  ------------------
  |  Branch (831:9): [True: 17.5k, False: 0]
  ------------------
  832|  17.5k|        long idx = PyLong_AS_LONG(cond_index);
  ------------------
  |  |  101|  17.5k|#define PyLong_AS_LONG(op) PyLong_AsLong(op)
  ------------------
  833|  17.5k|        NEW_JUMP_TARGET_LABEL(c, not_set);
  ------------------
  |  |   94|  17.5k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  17.5k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   95|  17.5k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  17.5k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  17.5k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (95:9): [True: 0, False: 17.5k]
  |  |  ------------------
  |  |   96|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   97|      0|    }
  ------------------
  834|       |
  835|  17.5k|        if (idx != -1) {
  ------------------
  |  Branch (835:13): [True: 8.97k, False: 8.52k]
  ------------------
  836|  8.97k|            ADDOP_LOAD_CONST(c, LOC(st), cond_index);
  ------------------
  |  |  311|  8.97k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  8.97k|    do {                    \
  |  |  |  |   52|  8.97k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8.97k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  8.97k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.97k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  837|  8.97k|            if (scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (837:17): [True: 581, False: 8.39k]
  ------------------
  838|    581|                ADDOP_NAME(
  ------------------
  |  |  419|    581|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|    581|    do {                    \
  |  |  |  |   52|    581|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 581]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    581|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 581]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  839|    581|                    c, LOC(st), LOAD_DEREF, &_Py_ID(__conditional_annotations__), freevars);
  840|    581|            }
  841|  8.39k|            else {
  842|  8.39k|                ADDOP_NAME(
  ------------------
  |  |  419|  8.39k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  8.39k|    do {                    \
  |  |  |  |   52|  8.39k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8.39k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  8.39k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.39k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  843|  8.39k|                    c, LOC(st), LOAD_GLOBAL, &_Py_ID(__conditional_annotations__), names);
  844|  8.39k|            }
  845|       |
  846|  8.97k|            ADDOP_I(c, LOC(st), CONTAINS_OP, 0);
  ------------------
  |  |  280|  8.97k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  8.97k|    do {                    \
  |  |  |  |   52|  8.97k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8.97k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  8.97k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.97k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  847|  8.97k|            ADDOP_JUMP(c, LOC(st), POP_JUMP_IF_FALSE, not_set);
  ------------------
  |  |  435|  8.97k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  8.97k|    do {                    \
  |  |  |  |   52|  8.97k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8.97k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  8.97k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.97k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  848|  8.97k|        }
  849|       |
  850|  17.5k|        VISIT(c, expr, st->v.AnnAssign.annotation);
  ------------------
  |  |  460|  17.5k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  17.5k|    do {                    \
  |  |  |  |   52|  17.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 7, False: 17.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      7|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      7|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      7|        }                   \
  |  |  |  |   55|  17.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 17.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  851|  17.4k|        ADDOP_I(c, LOC(st), COPY, 2);
  ------------------
  |  |  280|  17.4k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  17.4k|    do {                    \
  |  |  |  |   52|  17.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 17.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  17.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 17.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  852|  17.4k|        ADDOP_LOAD_CONST_NEW(c, LOC(st), mangled);
  ------------------
  |  |  329|  17.4k|    RETURN_IF_ERROR(codegen_addop_load_const_new((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  17.4k|    do {                    \
  |  |  |  |   52|  17.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 17.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  17.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 17.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  853|       |        // stack now contains <annos> <name> <annos> <value>
  854|  17.4k|        ADDOP(c, loc, STORE_SUBSCR);
  ------------------
  |  |  294|  17.4k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  17.4k|    do {                    \
  |  |  |  |   52|  17.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 17.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  17.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 17.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  855|       |        // stack now contains <annos>
  856|       |
  857|  17.4k|        USE_LABEL(c, not_set);
  ------------------
  |  |  100|  17.4k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  17.4k|    do {                    \
  |  |  |  |   52|  17.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 17.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  17.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 17.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  858|  17.4k|    }
  859|  6.22k|    return SUCCESS;
  ------------------
  |  |   47|  6.22k|#define SUCCESS 0
  ------------------
  860|  6.23k|}
codegen.c:codegen_enter_scope:
  689|  75.2k|{
  690|  75.2k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  75.2k|    do {                    \
  |  |   52|  75.2k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 75.2k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  691|  75.2k|        _PyCompile_EnterScope(c, name, scope_type, key, lineno, private, umd));
  692|  75.2k|    RETURN_IF_ERROR_IN_SCOPE(c, _PyCompile_SetQualname(c));
  ------------------
  |  |   58|  75.2k|    do {                                    \
  |  |   59|  75.2k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 75.2k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  693|  75.2k|    location loc = LOCATION(lineno, lineno, 0, 0);
  ------------------
  |  |   86|  75.2k|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
  694|  75.2k|    if (scope_type == COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (694:9): [True: 12.3k, False: 62.8k]
  ------------------
  695|  12.3k|        loc.lineno = 0;
  696|  12.3k|    }
  697|       |    /* Add the generator prefix instructions. */
  698|       |
  699|  75.2k|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|  75.2k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  700|  75.2k|    if (ste->ste_coroutine || ste->ste_generator) {
  ------------------
  |  Branch (700:9): [True: 3.09k, False: 72.1k]
  |  Branch (700:31): [True: 1.26k, False: 70.8k]
  ------------------
  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|  4.35k|        location loc = LOCATION(lineno, lineno, -1, -1);
  ------------------
  |  |   86|  4.35k|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
  705|  4.35k|        ADDOP_IN_SCOPE(c, loc, RETURN_GENERATOR);
  ------------------
  |  |  297|  4.35k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  4.35k|    do {                                    \
  |  |  |  |   59|  4.35k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 4.35k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  4.35k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 4.35k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  706|  4.35k|        ADDOP_IN_SCOPE(c, loc, POP_TOP);
  ------------------
  |  |  297|  4.35k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  4.35k|    do {                                    \
  |  |  |  |   59|  4.35k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 4.35k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  4.35k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 4.35k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  707|  4.35k|    }
  708|       |
  709|  75.2k|    ADDOP_I_IN_SCOPE(c, loc, RESUME, RESUME_AT_FUNC_START);
  ------------------
  |  |  283|  75.2k|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  75.2k|    do {                                    \
  |  |  |  |   59|  75.2k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 75.2k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  75.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 75.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  710|  75.2k|    if (scope_type == COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (710:9): [True: 12.3k, False: 62.8k]
  ------------------
  711|  12.3k|        ADDOP_IN_SCOPE(c, loc, ANNOTATIONS_PLACEHOLDER);
  ------------------
  |  |  297|  12.3k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  12.3k|    do {                                    \
  |  |  |  |   59|  12.3k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 12.3k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  12.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 12.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  712|  12.3k|    }
  713|  75.2k|    return SUCCESS;
  ------------------
  |  |   47|  75.2k|#define SUCCESS 0
  ------------------
  714|  75.2k|}
codegen.c:codegen_visit_expr:
 5622|  2.25M|{
 5623|       |    return codegen_visit_expr_impl(c, e, false);
 5624|  2.25M|}
codegen.c:codegen_addop_load_const:
  301|  1.21M|{
  302|  1.21M|    Py_ssize_t arg = _PyCompile_AddConst(c, o);
  303|  1.21M|    if (arg < 0) {
  ------------------
  |  Branch (303:9): [True: 0, False: 1.21M]
  ------------------
  304|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  305|      0|    }
  306|  1.21M|    ADDOP_I(c, loc, LOAD_CONST, arg);
  ------------------
  |  |  280|  1.21M|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.21M|    do {                    \
  |  |  |  |   52|  1.21M|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.21M]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.21M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.21M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  307|  1.21M|    return SUCCESS;
  ------------------
  |  |   47|  1.21M|#define SUCCESS 0
  ------------------
  308|  1.21M|}
codegen.c:codegen_addop_noarg:
  287|  1.04M|{
  288|  1.04M|    assert(!OPCODE_HAS_ARG(opcode));
  ------------------
  |  Branch (288:5): [True: 1.04M, False: 0]
  ------------------
  289|  1.04M|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (289:5): [True: 0, False: 1.04M]
  |  Branch (289:5): [True: 0, False: 1.04M]
  |  Branch (289:5): [True: 0, False: 1.04M]
  ------------------
  290|  1.04M|    return _PyInstructionSequence_Addop(seq, opcode, 0, loc);
  291|  1.04M|}

_PyCompile_MaybeAddStaticAttributeToClass:
  211|  15.5k|{
  212|  15.5k|    assert(e->kind == Attribute_kind);
  ------------------
  |  Branch (212:5): [True: 15.5k, False: 0]
  ------------------
  213|  15.5k|    expr_ty attr_value = e->v.Attribute.value;
  214|  15.5k|    if (attr_value->kind != Name_kind ||
  ------------------
  |  Branch (214:9): [True: 6.22k, False: 9.36k]
  ------------------
  215|  9.36k|        e->v.Attribute.ctx != Store ||
  ------------------
  |  Branch (215:9): [True: 7.43k, False: 1.93k]
  ------------------
  216|  1.93k|        !_PyUnicode_EqualToASCIIString(attr_value->v.Name.id, "self"))
  ------------------
  |  Branch (216:9): [True: 1.49k, False: 443]
  ------------------
  217|  15.1k|    {
  218|  15.1k|        return SUCCESS;
  ------------------
  |  |   36|  15.1k|#define SUCCESS 0
  ------------------
  219|  15.1k|    }
  220|    443|    Py_ssize_t stack_size = PyList_GET_SIZE(c->c_stack);
  ------------------
  |  |   38|    443|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    443|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    443|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  221|    855|    for (Py_ssize_t i = stack_size - 1; i >= 0; i--) {
  ------------------
  |  Branch (221:41): [True: 412, False: 443]
  ------------------
  222|    412|        PyObject *capsule = PyList_GET_ITEM(c->c_stack, i);
  ------------------
  |  |   40|    412|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    412|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    412|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (222:29): [True: 412, False: 0]
  ------------------
  223|      0|        struct compiler_unit *u = (struct compiler_unit *)PyCapsule_GetPointer(
  224|    412|                                                              capsule, CAPSULE_NAME);
  ------------------
  |  |  207|    412|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  225|    412|        assert(u);
  ------------------
  |  Branch (225:9): [True: 412, False: 0]
  ------------------
  226|    412|        if (u->u_scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (226:13): [True: 0, False: 412]
  ------------------
  227|      0|            assert(u->u_static_attributes);
  ------------------
  |  Branch (227:13): [True: 0, False: 0]
  ------------------
  228|      0|            RETURN_IF_ERROR(PySet_Add(u->u_static_attributes, e->v.Attribute.attr));
  ------------------
  |  |   40|      0|    do {                    \
  |  |   41|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  229|      0|            break;
  230|      0|        }
  231|    412|    }
  232|    443|    return SUCCESS;
  ------------------
  |  |   36|    443|#define SUCCESS 0
  ------------------
  233|    443|}
_PyCompile_SetQualname:
  237|  75.2k|{
  238|  75.2k|    Py_ssize_t stack_size;
  239|  75.2k|    struct compiler_unit *u = c->u;
  240|  75.2k|    PyObject *name, *base;
  241|       |
  242|  75.2k|    if (u->u_scope_type == COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (242:9): [True: 12.3k, False: 62.8k]
  ------------------
  243|  12.3k|        return SUCCESS;
  ------------------
  |  |   36|  12.3k|#define SUCCESS 0
  ------------------
  244|  12.3k|    }
  245|       |
  246|  62.8k|    base = NULL;
  247|  62.8k|    stack_size = PyList_GET_SIZE(c->c_stack);
  ------------------
  |  |   38|  62.8k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|  62.8k|    assert(stack_size >= 1);
  ------------------
  |  Branch (248:5): [True: 62.8k, False: 0]
  ------------------
  249|  62.8k|    if (stack_size > 1) {
  ------------------
  |  Branch (249:9): [True: 36.5k, False: 26.3k]
  ------------------
  250|  36.5k|        int scope, force_global = 0;
  251|  36.5k|        struct compiler_unit *parent;
  252|  36.5k|        PyObject *mangled, *capsule;
  253|       |
  254|  36.5k|        capsule = PyList_GET_ITEM(c->c_stack, stack_size - 1);
  ------------------
  |  |   40|  36.5k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  36.5k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (254:19): [True: 36.5k, False: 0]
  ------------------
  255|  36.5k|        parent = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  207|  36.5k|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  256|  36.5k|        assert(parent);
  ------------------
  |  Branch (256:9): [True: 36.5k, False: 0]
  ------------------
  257|  36.5k|        if (parent->u_scope_type == COMPILE_SCOPE_ANNOTATIONS) {
  ------------------
  |  Branch (257:13): [True: 16.4k, False: 20.1k]
  ------------------
  258|       |            /* The parent is an annotation scope, so we need to
  259|       |               look at the grandparent. */
  260|  16.4k|            if (stack_size == 2) {
  ------------------
  |  Branch (260:17): [True: 12.9k, False: 3.42k]
  ------------------
  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|  12.9k|                u->u_metadata.u_qualname = Py_NewRef(u->u_metadata.u_name);
  ------------------
  |  |  647|  12.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  264|  12.9k|                return SUCCESS;
  ------------------
  |  |   36|  12.9k|#define SUCCESS 0
  ------------------
  265|  12.9k|            }
  266|  3.42k|            capsule = PyList_GET_ITEM(c->c_stack, stack_size - 2);
  ------------------
  |  |   40|  3.42k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  3.42k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (266:23): [True: 3.42k, False: 0]
  ------------------
  267|  3.42k|            parent = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  207|  3.42k|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  268|  3.42k|            assert(parent);
  ------------------
  |  Branch (268:13): [True: 3.42k, False: 0]
  ------------------
  269|  3.42k|        }
  270|       |
  271|  23.5k|        if (u->u_scope_type == COMPILE_SCOPE_FUNCTION
  ------------------
  |  Branch (271:13): [True: 284, False: 23.3k]
  ------------------
  272|  23.3k|            || u->u_scope_type == COMPILE_SCOPE_ASYNC_FUNCTION
  ------------------
  |  Branch (272:16): [True: 18, False: 23.2k]
  ------------------
  273|  23.2k|            || u->u_scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (273:16): [True: 1.82k, False: 21.4k]
  ------------------
  274|  2.12k|            assert(u->u_metadata.u_name);
  ------------------
  |  Branch (274:13): [True: 2.12k, False: 0]
  ------------------
  275|  2.12k|            mangled = _Py_Mangle(parent->u_private, u->u_metadata.u_name);
  276|  2.12k|            if (!mangled) {
  ------------------
  |  Branch (276:17): [True: 0, False: 2.12k]
  ------------------
  277|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  278|      0|            }
  279|       |
  280|  2.12k|            scope = _PyST_GetScope(parent->u_ste, mangled);
  281|  2.12k|            Py_DECREF(mangled);
  ------------------
  |  |  430|  2.12k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  282|  2.12k|            RETURN_IF_ERROR(scope);
  ------------------
  |  |   40|  2.12k|    do {                    \
  |  |   41|  2.12k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 2.12k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  2.12k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 2.12k]
  |  |  ------------------
  ------------------
  283|  2.12k|            assert(scope != GLOBAL_IMPLICIT);
  ------------------
  |  Branch (283:13): [True: 2.12k, False: 0]
  ------------------
  284|  2.12k|            if (scope == GLOBAL_EXPLICIT)
  ------------------
  |  |  192|  2.12k|#define GLOBAL_EXPLICIT 2
  ------------------
  |  Branch (284:17): [True: 0, False: 2.12k]
  ------------------
  285|      0|                force_global = 1;
  286|  2.12k|        }
  287|       |
  288|  23.5k|        if (!force_global) {
  ------------------
  |  Branch (288:13): [True: 23.5k, False: 0]
  ------------------
  289|  23.5k|            if (parent->u_scope_type == COMPILE_SCOPE_FUNCTION
  ------------------
  |  Branch (289:17): [True: 815, False: 22.7k]
  ------------------
  290|  22.7k|                || parent->u_scope_type == COMPILE_SCOPE_ASYNC_FUNCTION
  ------------------
  |  Branch (290:20): [True: 2.05k, False: 20.7k]
  ------------------
  291|  20.7k|                || parent->u_scope_type == COMPILE_SCOPE_LAMBDA)
  ------------------
  |  Branch (291:20): [True: 11.9k, False: 8.78k]
  ------------------
  292|  14.8k|            {
  293|  14.8k|                _Py_DECLARE_STR(dot_locals, ".<locals>");
  294|  14.8k|                base = PyUnicode_Concat(parent->u_metadata.u_qualname,
  295|  14.8k|                                        &_Py_STR(dot_locals));
  ------------------
  |  |  953|  14.8k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  14.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  14.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  296|  14.8k|                if (base == NULL) {
  ------------------
  |  Branch (296:21): [True: 0, False: 14.8k]
  ------------------
  297|      0|                    return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  298|      0|                }
  299|  14.8k|            }
  300|  8.78k|            else {
  301|  8.78k|                base = Py_NewRef(parent->u_metadata.u_qualname);
  ------------------
  |  |  647|  8.78k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  302|  8.78k|            }
  303|  23.5k|        }
  304|  23.5k|        if (u->u_ste->ste_function_name != NULL) {
  ------------------
  |  Branch (304:13): [True: 281, False: 23.3k]
  ------------------
  305|    281|            PyObject *tmp = base;
  306|    281|            base = PyUnicode_FromFormat("%U.%U",
  307|    281|                base,
  308|    281|                u->u_ste->ste_function_name);
  309|    281|            Py_DECREF(tmp);
  ------------------
  |  |  430|    281|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    281|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    281|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  310|    281|            if (base == NULL) {
  ------------------
  |  Branch (310:17): [True: 0, False: 281]
  ------------------
  311|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  312|      0|            }
  313|    281|        }
  314|  23.5k|    }
  315|  26.3k|    else if (u->u_ste->ste_function_name != NULL) {
  ------------------
  |  Branch (315:14): [True: 2.22k, False: 24.1k]
  ------------------
  316|  2.22k|        base = Py_NewRef(u->u_ste->ste_function_name);
  ------------------
  |  |  647|  2.22k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  317|  2.22k|    }
  318|       |
  319|  49.9k|    if (base != NULL) {
  ------------------
  |  Branch (319:9): [True: 25.8k, False: 24.1k]
  ------------------
  320|  25.8k|        name = PyUnicode_Concat(base, _Py_LATIN1_CHR('.'));
  ------------------
  |  |  955|  25.8k|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (955:6): [True: 25.8k, Folded]
  |  |  ------------------
  |  |  956|  25.8k|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|  25.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  25.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  957|  25.8k|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  321|  25.8k|        Py_DECREF(base);
  ------------------
  |  |  430|  25.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  322|  25.8k|        if (name == NULL) {
  ------------------
  |  Branch (322:13): [True: 0, False: 25.8k]
  ------------------
  323|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  324|      0|        }
  325|  25.8k|        PyUnicode_Append(&name, u->u_metadata.u_name);
  326|  25.8k|        if (name == NULL) {
  ------------------
  |  Branch (326:13): [True: 0, False: 25.8k]
  ------------------
  327|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  328|      0|        }
  329|  25.8k|    }
  330|  24.1k|    else {
  331|  24.1k|        name = Py_NewRef(u->u_metadata.u_name);
  ------------------
  |  |  647|  24.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  24.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  332|  24.1k|    }
  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|  49.9k|    if (!_PyCode_ShouldInternString(name)) {
  ------------------
  |  Branch (338:9): [True: 37.7k, False: 12.2k]
  ------------------
  339|  37.7k|        _PyUnicode_InternMortal(_PyInterpreterState_GET(), &name);
  340|  37.7k|    }
  341|  49.9k|    u->u_metadata.u_qualname = name;
  342|       |
  343|  49.9k|    return SUCCESS;
  ------------------
  |  |   36|  49.9k|#define SUCCESS 0
  ------------------
  344|  49.9k|}
_PyCompile_DictAddObj:
  469|  1.93M|{
  470|  1.93M|    PyObject *v;
  471|  1.93M|    Py_ssize_t arg;
  472|       |
  473|  1.93M|    if (PyDict_GetItemRef(dict, o, &v) < 0) {
  ------------------
  |  Branch (473:9): [True: 0, False: 1.93M]
  ------------------
  474|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  475|      0|    }
  476|  1.93M|    if (!v) {
  ------------------
  |  Branch (476:9): [True: 654k, False: 1.27M]
  ------------------
  477|   654k|        arg = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|   654k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   654k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   654k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|   654k|        v = PyLong_FromSsize_t(arg);
  479|   654k|        if (!v) {
  ------------------
  |  Branch (479:13): [True: 0, False: 654k]
  ------------------
  480|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  481|      0|        }
  482|   654k|        if (PyDict_SetItem(dict, o, v) < 0) {
  ------------------
  |  Branch (482:13): [True: 0, False: 654k]
  ------------------
  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|   654k|    }
  487|  1.27M|    else
  488|  1.27M|        arg = PyLong_AsLong(v);
  489|  1.93M|    Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  490|  1.93M|    return arg;
  491|  1.93M|}
_PyCompile_AddConst:
  495|  1.21M|{
  496|  1.21M|    PyObject *key = merge_consts_recursive(c->c_const_cache, o);
  497|  1.21M|    if (key == NULL) {
  ------------------
  |  Branch (497:9): [True: 0, False: 1.21M]
  ------------------
  498|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  499|      0|    }
  500|       |
  501|  1.21M|    Py_ssize_t arg = _PyCompile_DictAddObj(c->u->u_metadata.u_consts, key);
  502|  1.21M|    Py_DECREF(key);
  ------------------
  |  |  430|  1.21M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  503|  1.21M|    return arg;
  504|  1.21M|}
_PyCompile_EnterScope:
  679|  75.2k|{
  680|  75.2k|    struct compiler_unit *u;
  681|  75.2k|    u = (struct compiler_unit *)PyMem_Calloc(1, sizeof(struct compiler_unit));
  682|  75.2k|    if (!u) {
  ------------------
  |  Branch (682:9): [True: 0, False: 75.2k]
  ------------------
  683|      0|        PyErr_NoMemory();
  684|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  685|      0|    }
  686|  75.2k|    u->u_scope_type = scope_type;
  687|  75.2k|    if (umd != NULL) {
  ------------------
  |  Branch (687:9): [True: 40.8k, False: 34.3k]
  ------------------
  688|  40.8k|        u->u_metadata = *umd;
  689|  40.8k|    }
  690|  34.3k|    else {
  691|  34.3k|        u->u_metadata.u_argcount = 0;
  692|  34.3k|        u->u_metadata.u_posonlyargcount = 0;
  693|  34.3k|        u->u_metadata.u_kwonlyargcount = 0;
  694|  34.3k|    }
  695|  75.2k|    u->u_ste = _PySymtable_Lookup(c->c_st, key);
  696|  75.2k|    if (!u->u_ste) {
  ------------------
  |  Branch (696:9): [True: 0, False: 75.2k]
  ------------------
  697|      0|        compiler_unit_free(u);
  698|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  699|      0|    }
  700|  75.2k|    u->u_metadata.u_name = Py_NewRef(name);
  ------------------
  |  |  647|  75.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  701|  75.2k|    u->u_metadata.u_varnames = list2dict(u->u_ste->ste_varnames);
  702|  75.2k|    if (!u->u_metadata.u_varnames) {
  ------------------
  |  Branch (702:9): [True: 0, False: 75.2k]
  ------------------
  703|      0|        compiler_unit_free(u);
  704|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  705|      0|    }
  706|  75.2k|    u->u_metadata.u_cellvars = compiler_cellvars(u->u_ste);
  707|  75.2k|    if (!u->u_metadata.u_cellvars) {
  ------------------
  |  Branch (707:9): [True: 0, False: 75.2k]
  ------------------
  708|      0|        compiler_unit_free(u);
  709|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  710|      0|    }
  711|  75.2k|    if (u->u_ste->ste_needs_class_closure) {
  ------------------
  |  Branch (711:9): [True: 149, False: 75.0k]
  ------------------
  712|       |        /* Cook up an implicit __class__ cell. */
  713|    149|        Py_ssize_t res;
  714|    149|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS);
  ------------------
  |  Branch (714:9): [True: 149, False: 0]
  ------------------
  715|    149|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__class__));
  ------------------
  |  |  951|    149|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    149|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    149|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  716|    149|        if (res < 0) {
  ------------------
  |  Branch (716:13): [True: 0, False: 149]
  ------------------
  717|      0|            compiler_unit_free(u);
  718|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  719|      0|        }
  720|    149|    }
  721|  75.2k|    if (u->u_ste->ste_needs_classdict) {
  ------------------
  |  Branch (721:9): [True: 6.06k, False: 69.1k]
  ------------------
  722|       |        /* Cook up an implicit __classdict__ cell. */
  723|  6.06k|        Py_ssize_t res;
  724|  6.06k|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS);
  ------------------
  |  Branch (724:9): [True: 6.06k, False: 0]
  ------------------
  725|  6.06k|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__classdict__));
  ------------------
  |  |  951|  6.06k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  6.06k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  6.06k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  726|  6.06k|        if (res < 0) {
  ------------------
  |  Branch (726:13): [True: 0, False: 6.06k]
  ------------------
  727|      0|            compiler_unit_free(u);
  728|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  729|      0|        }
  730|  6.06k|    }
  731|  75.2k|    if (u->u_ste->ste_has_conditional_annotations) {
  ------------------
  |  Branch (731:9): [True: 2.49k, False: 72.7k]
  ------------------
  732|       |        /* Cook up an implicit __conditional_annotations__ cell */
  733|  2.49k|        Py_ssize_t res;
  734|  2.49k|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS || u->u_scope_type == COMPILE_SCOPE_MODULE);
  ------------------
  |  Branch (734:9): [True: 372, False: 2.12k]
  |  Branch (734:9): [True: 2.12k, False: 0]
  ------------------
  735|  2.49k|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__conditional_annotations__));
  ------------------
  |  |  951|  2.49k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.49k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.49k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  736|  2.49k|        if (res < 0) {
  ------------------
  |  Branch (736:13): [True: 0, False: 2.49k]
  ------------------
  737|      0|            compiler_unit_free(u);
  738|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  739|      0|        }
  740|  2.49k|    }
  741|       |
  742|  75.2k|    u->u_metadata.u_freevars = dictbytype(u->u_ste->ste_symbols, FREE, DEF_FREE_CLASS,
  ------------------
  |  |  194|  75.2k|#define FREE 4
  ------------------
                  u->u_metadata.u_freevars = dictbytype(u->u_ste->ste_symbols, FREE, DEF_FREE_CLASS,
  ------------------
  |  |  175|  75.2k|#define DEF_FREE_CLASS (2<<5)    /* free variable from class's method */
  ------------------
  743|  75.2k|                               PyDict_GET_SIZE(u->u_metadata.u_cellvars));
  ------------------
  |  |   63|  75.2k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  744|  75.2k|    if (!u->u_metadata.u_freevars) {
  ------------------
  |  Branch (744:9): [True: 0, False: 75.2k]
  ------------------
  745|      0|        compiler_unit_free(u);
  746|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  747|      0|    }
  748|       |
  749|  75.2k|    if (scope_type == COMPILE_SCOPE_MODULE || scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (749:9): [True: 12.3k, False: 62.8k]
  |  Branch (749:47): [True: 14.7k, False: 48.1k]
  ------------------
  750|  27.0k|        u->u_metadata.u_fasthidden = PySet_New(NULL);
  751|  27.0k|        if (!u->u_metadata.u_fasthidden) {
  ------------------
  |  Branch (751:13): [True: 0, False: 27.0k]
  ------------------
  752|      0|            compiler_unit_free(u);
  753|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  754|      0|        }
  755|  27.0k|    }
  756|  48.1k|    else {
  757|  48.1k|        u->u_metadata.u_fasthidden = NULL;
  758|  48.1k|    }
  759|       |
  760|  75.2k|    u->u_nfblocks = 0;
  761|  75.2k|    u->u_metadata.u_firstlineno = lineno;
  762|  75.2k|    u->u_metadata.u_consts = PyDict_New();
  763|  75.2k|    if (!u->u_metadata.u_consts) {
  ------------------
  |  Branch (763:9): [True: 0, False: 75.2k]
  ------------------
  764|      0|        compiler_unit_free(u);
  765|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  766|      0|    }
  767|  75.2k|    u->u_metadata.u_names = PyDict_New();
  768|  75.2k|    if (!u->u_metadata.u_names) {
  ------------------
  |  Branch (768:9): [True: 0, False: 75.2k]
  ------------------
  769|      0|        compiler_unit_free(u);
  770|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  771|      0|    }
  772|       |
  773|  75.2k|    u->u_deferred_annotations = NULL;
  774|  75.2k|    u->u_conditional_annotation_indices = NULL;
  775|  75.2k|    u->u_next_conditional_annotation_index = 0;
  776|  75.2k|    if (scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (776:9): [True: 14.7k, False: 60.5k]
  ------------------
  777|  14.7k|        u->u_static_attributes = PySet_New(0);
  778|  14.7k|        if (!u->u_static_attributes) {
  ------------------
  |  Branch (778:13): [True: 0, False: 14.7k]
  ------------------
  779|      0|            compiler_unit_free(u);
  780|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  781|      0|        }
  782|  14.7k|    }
  783|  60.5k|    else {
  784|  60.5k|        u->u_static_attributes = NULL;
  785|  60.5k|    }
  786|       |
  787|  75.2k|    u->u_instr_sequence = (instr_sequence*)_PyInstructionSequence_New();
  788|  75.2k|    if (!u->u_instr_sequence) {
  ------------------
  |  Branch (788:9): [True: 0, False: 75.2k]
  ------------------
  789|      0|        compiler_unit_free(u);
  790|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  791|      0|    }
  792|  75.2k|    u->u_stashed_instr_sequence = NULL;
  793|       |
  794|       |    /* Push the old compiler_unit on the stack. */
  795|  75.2k|    if (c->u) {
  ------------------
  |  Branch (795:9): [True: 62.8k, False: 12.3k]
  ------------------
  796|  62.8k|        PyObject *capsule = PyCapsule_New(c->u, CAPSULE_NAME, NULL);
  ------------------
  |  |  207|  62.8k|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  797|  62.8k|        if (!capsule || PyList_Append(c->c_stack, capsule) < 0) {
  ------------------
  |  Branch (797:13): [True: 0, False: 62.8k]
  |  Branch (797:25): [True: 0, False: 62.8k]
  ------------------
  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|  62.8k|        Py_DECREF(capsule);
  ------------------
  |  |  430|  62.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  803|  62.8k|        if (private == NULL) {
  ------------------
  |  Branch (803:13): [True: 41.1k, False: 21.7k]
  ------------------
  804|  41.1k|            private = c->u->u_private;
  805|  41.1k|        }
  806|  62.8k|    }
  807|       |
  808|  75.2k|    u->u_private = Py_XNewRef(private);
  ------------------
  |  |  648|  75.2k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  809|       |
  810|  75.2k|    c->u = u;
  811|  75.2k|    return SUCCESS;
  ------------------
  |  |   36|  75.2k|#define SUCCESS 0
  ------------------
  812|  75.2k|}
_PyCompile_ExitScope:
  816|  75.2k|{
  817|       |    // Don't call PySequence_DelItem() with an exception raised
  818|  75.2k|    PyObject *exc = PyErr_GetRaisedException();
  819|       |
  820|  75.2k|    instr_sequence *nested_seq = NULL;
  821|  75.2k|    if (c->c_save_nested_seqs) {
  ------------------
  |  Branch (821:9): [True: 0, False: 75.2k]
  ------------------
  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|  75.2k|    compiler_unit_free(c->u);
  826|       |    /* Restore c->u to the parent unit. */
  827|  75.2k|    Py_ssize_t n = PyList_GET_SIZE(c->c_stack) - 1;
  ------------------
  |  |   38|  75.2k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|  75.2k|    if (n >= 0) {
  ------------------
  |  Branch (828:9): [True: 62.8k, False: 12.3k]
  ------------------
  829|  62.8k|        PyObject *capsule = PyList_GET_ITEM(c->c_stack, n);
  ------------------
  |  |   40|  62.8k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  62.8k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (829:29): [True: 62.8k, False: 0]
  ------------------
  830|  62.8k|        c->u = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  207|  62.8k|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  831|  62.8k|        assert(c->u);
  ------------------
  |  Branch (831:9): [True: 62.8k, False: 0]
  ------------------
  832|       |        /* we are deleting from a list so this really shouldn't fail */
  833|  62.8k|        if (PySequence_DelItem(c->c_stack, n) < 0) {
  ------------------
  |  Branch (833:13): [True: 0, False: 62.8k]
  ------------------
  834|      0|            PyErr_FormatUnraisable("Exception ignored while removing "
  835|      0|                                   "the last compiler stack item");
  836|      0|        }
  837|  62.8k|        if (nested_seq != NULL) {
  ------------------
  |  Branch (837:13): [True: 0, False: 62.8k]
  ------------------
  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|  62.8k|    }
  844|  12.3k|    else {
  845|  12.3k|        c->u = NULL;
  846|  12.3k|    }
  847|  75.2k|    Py_XDECREF(nested_seq);
  ------------------
  |  |  621|  75.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  848|       |
  849|  75.2k|    PyErr_SetRaisedException(exc);
  850|  75.2k|}
_PyCompile_PushFBlock:
  860|  38.4k|{
  861|  38.4k|    fblockinfo *f;
  862|  38.4k|    if (c->u->u_nfblocks >= CO_MAXBLOCKS) {
  ------------------
  |  |  164|  38.4k|#define CO_MAXBLOCKS 21 /* Max static block nesting within a function */
  ------------------
  |  Branch (862:9): [True: 3, False: 38.4k]
  ------------------
  863|      3|        return _PyCompile_Error(c, loc, "too many statically nested blocks");
  864|      3|    }
  865|  38.4k|    f = &c->u->u_fblock[c->u->u_nfblocks++];
  866|  38.4k|    f->fb_type = t;
  867|  38.4k|    f->fb_block = block_label;
  868|  38.4k|    f->fb_loc = loc;
  869|  38.4k|    f->fb_exit = exit;
  870|  38.4k|    f->fb_datum = datum;
  871|  38.4k|    if (t == COMPILE_FBLOCK_FINALLY_END) {
  ------------------
  |  Branch (871:9): [True: 3.13k, False: 35.3k]
  ------------------
  872|  3.13k|        c->c_disable_warning++;
  873|  3.13k|    }
  874|  38.4k|    return SUCCESS;
  ------------------
  |  |   36|  38.4k|#define SUCCESS 0
  ------------------
  875|  38.4k|}
_PyCompile_PopFBlock:
  879|  38.1k|{
  880|  38.1k|    struct compiler_unit *u = c->u;
  881|  38.1k|    assert(u->u_nfblocks > 0);
  ------------------
  |  Branch (881:5): [True: 38.1k, False: 0]
  ------------------
  882|  38.1k|    u->u_nfblocks--;
  883|  38.1k|    assert(u->u_fblock[u->u_nfblocks].fb_type == t);
  ------------------
  |  Branch (883:5): [True: 38.1k, False: 0]
  ------------------
  884|  38.1k|    assert(SAME_JUMP_TARGET_LABEL(u->u_fblock[u->u_nfblocks].fb_block, block_label));
  ------------------
  |  Branch (884:5): [True: 38.1k, False: 0]
  ------------------
  885|  38.1k|    if (t == COMPILE_FBLOCK_FINALLY_END) {
  ------------------
  |  Branch (885:9): [True: 3.13k, False: 35.0k]
  ------------------
  886|  3.13k|        c->c_disable_warning--;
  887|  3.13k|    }
  888|  38.1k|}
_PyCompile_TopFBlock:
  892|  7.39k|{
  893|  7.39k|    if (c->u->u_nfblocks == 0) {
  ------------------
  |  Branch (893:9): [True: 688, False: 6.70k]
  ------------------
  894|    688|        return NULL;
  895|    688|    }
  896|  6.70k|    return &c->u->u_fblock[c->u->u_nfblocks - 1];
  897|  7.39k|}
_PyCompile_InExceptionHandler:
  901|  9.68k|{
  902|  13.0k|    for (Py_ssize_t i = 0; i < c->u->u_nfblocks; i++) {
  ------------------
  |  Branch (902:28): [True: 3.64k, False: 9.41k]
  ------------------
  903|  3.64k|        fblockinfo *block = &c->u->u_fblock[i];
  904|  3.64k|        switch (block->fb_type) {
  905|    132|            case COMPILE_FBLOCK_TRY_EXCEPT:
  ------------------
  |  Branch (905:13): [True: 132, False: 3.51k]
  ------------------
  906|    150|            case COMPILE_FBLOCK_FINALLY_TRY:
  ------------------
  |  Branch (906:13): [True: 18, False: 3.62k]
  ------------------
  907|    162|            case COMPILE_FBLOCK_FINALLY_END:
  ------------------
  |  Branch (907:13): [True: 12, False: 3.63k]
  ------------------
  908|    262|            case COMPILE_FBLOCK_EXCEPTION_HANDLER:
  ------------------
  |  Branch (908:13): [True: 100, False: 3.54k]
  ------------------
  909|    270|            case COMPILE_FBLOCK_EXCEPTION_GROUP_HANDLER:
  ------------------
  |  Branch (909:13): [True: 8, False: 3.63k]
  ------------------
  910|    270|            case COMPILE_FBLOCK_HANDLER_CLEANUP:
  ------------------
  |  Branch (910:13): [True: 0, False: 3.64k]
  ------------------
  911|    270|                return true;
  912|  3.37k|            default:
  ------------------
  |  Branch (912:13): [True: 3.37k, False: 270]
  ------------------
  913|  3.37k|                break;
  914|  3.64k|        }
  915|  3.64k|    }
  916|  9.41k|    return false;
  917|  9.68k|}
_PyCompile_DeferredAnnotations:
  923|  22.6k|{
  924|  22.6k|    *deferred_annotations = Py_XNewRef(c->u->u_deferred_annotations);
  ------------------
  |  |  648|  22.6k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  22.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  925|  22.6k|    *conditional_annotation_indices = Py_XNewRef(c->u->u_conditional_annotation_indices);
  ------------------
  |  |  648|  22.6k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  22.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  926|  22.6k|}
_PyCompile_GetRefType:
 1023|  30.6k|{
 1024|  30.6k|    if (c->u->u_scope_type == COMPILE_SCOPE_CLASS && _PyST_IsClassClosureName(name)) {
  ------------------
  |  Branch (1024:9): [True: 7.39k, False: 23.2k]
  |  Branch (1024:54): [True: 7.11k, False: 278]
  ------------------
 1025|  7.11k|        return CELL;
  ------------------
  |  |  195|  7.11k|#define CELL 5
  ------------------
 1026|  7.11k|    }
 1027|  23.5k|    PySTEntryObject *ste = c->u->u_ste;
 1028|  23.5k|    int scope = compiler_resolve_inlined_free(&ste, name);
 1029|  23.5k|    RETURN_IF_ERROR(scope);
  ------------------
  |  |   40|  23.5k|    do {                    \
  |  |   41|  23.5k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 23.5k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  23.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 23.5k]
  |  |  ------------------
  ------------------
 1030|  23.5k|    if (scope == 0) {
  ------------------
  |  Branch (1030:9): [True: 0, False: 23.5k]
  ------------------
 1031|      0|        PyErr_Format(PyExc_SystemError,
 1032|      0|                     "_PyST_GetScope(name=%R) failed: "
 1033|      0|                     "unknown scope in unit %S (%R); "
 1034|      0|                     "symbols: %R; locals: %R; "
 1035|      0|                     "globals: %R",
 1036|      0|                     name,
 1037|      0|                     c->u->u_metadata.u_name, ste->ste_id,
 1038|      0|                     ste->ste_symbols, c->u->u_metadata.u_varnames,
 1039|      0|                     c->u->u_metadata.u_names);
 1040|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1041|      0|    }
 1042|  23.5k|    return scope;
 1043|  23.5k|}
_PyCompile_LookupCellvar:
 1057|  6.21k|{
 1058|  6.21k|    assert(c->u->u_metadata.u_cellvars);
  ------------------
  |  Branch (1058:5): [True: 6.21k, False: 0]
  ------------------
 1059|  6.21k|    return dict_lookup_arg(c->u->u_metadata.u_cellvars, name);
 1060|  6.21k|}
_PyCompile_LookupArg:
 1064|  30.3k|{
 1065|       |    /* Special case: If a class contains a method with a
 1066|       |     * free variable that has the same name as a method,
 1067|       |     * the name will be considered free *and* local in the
 1068|       |     * class.  It should be handled by the closure, as
 1069|       |     * well as by the normal name lookup logic.
 1070|       |     */
 1071|  30.3k|    int reftype = _PyCompile_GetRefType(c, name);
 1072|  30.3k|    if (reftype == -1) {
  ------------------
  |  Branch (1072:9): [True: 0, False: 30.3k]
  ------------------
 1073|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1074|      0|    }
 1075|  30.3k|    int arg;
 1076|  30.3k|    if (reftype == CELL) {
  ------------------
  |  |  195|  30.3k|#define CELL 5
  ------------------
  |  Branch (1076:9): [True: 15.9k, False: 14.3k]
  ------------------
 1077|  15.9k|        arg = dict_lookup_arg(c->u->u_metadata.u_cellvars, name);
 1078|  15.9k|    }
 1079|  14.3k|    else {
 1080|  14.3k|        arg = dict_lookup_arg(c->u->u_metadata.u_freevars, name);
 1081|  14.3k|    }
 1082|  30.3k|    if (arg == -1 && !PyErr_Occurred()) {
  ------------------
  |  Branch (1082:9): [True: 0, False: 30.3k]
  |  Branch (1082:22): [True: 0, False: 0]
  ------------------
 1083|      0|        PyObject *freevars = _PyCode_GetFreevars(co);
 1084|      0|        if (freevars == NULL) {
  ------------------
  |  Branch (1084:13): [True: 0, False: 0]
  ------------------
 1085|      0|            PyErr_Clear();
 1086|      0|        }
 1087|      0|        PyErr_Format(PyExc_SystemError,
 1088|      0|            "compiler_lookup_arg(name=%R) with reftype=%d failed in %S; "
 1089|      0|            "freevars of code %S: %R",
 1090|      0|            name,
 1091|      0|            reftype,
 1092|      0|            c->u->u_metadata.u_name,
 1093|      0|            co->co_name,
 1094|      0|            freevars);
 1095|      0|        Py_XDECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1096|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1097|      0|    }
 1098|  30.3k|    return arg;
 1099|  30.3k|}
_PyCompile_StaticAttributesAsTuple:
 1103|  14.7k|{
 1104|  14.7k|    assert(c->u->u_static_attributes);
  ------------------
  |  Branch (1104:5): [True: 14.7k, False: 0]
  ------------------
 1105|  14.7k|    PyObject *static_attributes_unsorted = PySequence_List(c->u->u_static_attributes);
 1106|  14.7k|    if (static_attributes_unsorted == NULL) {
  ------------------
  |  Branch (1106:9): [True: 0, False: 14.7k]
  ------------------
 1107|      0|        return NULL;
 1108|      0|    }
 1109|  14.7k|    if (PyList_Sort(static_attributes_unsorted) != 0) {
  ------------------
  |  Branch (1109:9): [True: 0, False: 14.7k]
  ------------------
 1110|      0|        Py_DECREF(static_attributes_unsorted);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1111|      0|        return NULL;
 1112|      0|    }
 1113|  14.7k|    PyObject *static_attributes = PySequence_Tuple(static_attributes_unsorted);
 1114|  14.7k|    Py_DECREF(static_attributes_unsorted);
  ------------------
  |  |  430|  14.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1115|  14.7k|    return static_attributes;
 1116|  14.7k|}
_PyCompile_ResolveNameop:
 1121|   592k|{
 1122|   592k|    PyObject *dict = c->u->u_metadata.u_names;
 1123|   592k|    *optype = COMPILE_OP_NAME;
 1124|       |
 1125|   592k|    PySTEntryObject *ste = c->u->u_ste;
 1126|   592k|    assert(ste != NULL);
  ------------------
  |  Branch (1126:5): [True: 592k, False: 0]
  ------------------
 1127|       |
 1128|   592k|    int scope = compiler_resolve_inlined_free(&ste, mangled);
 1129|   592k|    RETURN_IF_ERROR(scope);
  ------------------
  |  |   40|   592k|    do {                    \
  |  |   41|   592k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 592k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|   592k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 592k]
  |  |  ------------------
  ------------------
 1130|       |
 1131|   592k|    switch (scope) {
 1132|  12.5k|    case FREE:
  ------------------
  |  |  194|  12.5k|#define FREE 4
  ------------------
  |  Branch (1132:5): [True: 12.5k, False: 580k]
  ------------------
 1133|  12.5k|        dict = c->u->u_metadata.u_freevars;
 1134|  12.5k|        *optype = COMPILE_OP_DEREF;
 1135|  12.5k|        break;
 1136|  15.5k|    case CELL:
  ------------------
  |  |  195|  15.5k|#define CELL 5
  ------------------
  |  Branch (1136:5): [True: 15.5k, False: 577k]
  ------------------
 1137|  15.5k|        dict = c->u->u_metadata.u_cellvars;
 1138|  15.5k|        *optype = COMPILE_OP_DEREF;
 1139|  15.5k|        break;
 1140|   219k|    case LOCAL:
  ------------------
  |  |  191|   219k|#define LOCAL 1
  ------------------
  |  Branch (1140:5): [True: 219k, False: 373k]
  ------------------
 1141|       |        /* Inlined comprehensions isolate their locals as FAST, even when
 1142|       |         * nested in class or module scope. */
 1143|   219k|        if (_PyST_IsFunctionLike(ste) || ste->ste_type == InlinedComprehensionBlock) {
  ------------------
  |  Branch (1143:13): [True: 120k, False: 99.6k]
  |  Branch (1143:42): [True: 26.7k, False: 72.9k]
  ------------------
 1144|   146k|            *optype = COMPILE_OP_FAST;
 1145|   146k|        }
 1146|   219k|        break;
 1147|   254k|    case GLOBAL_IMPLICIT: {
  ------------------
  |  |  193|   254k|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (1147:5): [True: 254k, False: 338k]
  ------------------
 1148|       |        /* Opcode depends on the enclosing non-inlined scope. */
 1149|   254k|        PySTEntryObject *enclosing = ste;
 1150|   263k|        while (enclosing->ste_parent != NULL) {
  ------------------
  |  Branch (1150:16): [True: 8.79k, False: 254k]
  ------------------
 1151|  8.79k|            assert(enclosing->ste_type == InlinedComprehensionBlock);
  ------------------
  |  Branch (1151:13): [True: 8.79k, False: 0]
  ------------------
 1152|  8.79k|            enclosing = enclosing->ste_parent;
 1153|  8.79k|        }
 1154|   254k|        if (_PyST_IsFunctionLike(enclosing)) {
  ------------------
  |  Branch (1154:13): [True: 111k, False: 143k]
  ------------------
 1155|   111k|            *optype = COMPILE_OP_GLOBAL;
 1156|   111k|        }
 1157|   254k|        break;
 1158|   254k|    }
 1159|  1.83k|    case GLOBAL_EXPLICIT:
  ------------------
  |  |  192|  1.83k|#define GLOBAL_EXPLICIT 2
  ------------------
  |  Branch (1159:5): [True: 1.83k, False: 591k]
  ------------------
 1160|  1.83k|        *optype = COMPILE_OP_GLOBAL;
 1161|  1.83k|        break;
 1162|  88.6k|    default:
  ------------------
  |  Branch (1162:5): [True: 88.6k, False: 504k]
  ------------------
 1163|       |        /* scope can be 0 */
 1164|  88.6k|        break;
 1165|   592k|    }
 1166|       |    /* XXX Handle __doc__ and the like better */
 1167|   592k|    assert(scope || PyUnicode_READ_CHAR(mangled, 0) == '_');
  ------------------
  |  Branch (1167:5): [True: 504k, False: 88.6k]
  |  Branch (1167:5): [True: 88.6k, False: 0]
  ------------------
 1168|   592k|    if (*optype != COMPILE_OP_FAST) {
  ------------------
  |  Branch (1168:9): [True: 446k, False: 146k]
  ------------------
 1169|   446k|        *arg = _PyCompile_DictAddObj(dict, mangled);
 1170|   446k|        RETURN_IF_ERROR(*arg);
  ------------------
  |  |   40|   446k|    do {                    \
  |  |   41|   446k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 446k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|   446k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 446k]
  |  |  ------------------
  ------------------
 1171|   446k|    }
 1172|   592k|    return scope;
 1173|   592k|}
_PyCompile_EnterInlinedComprehensionScope:
 1178|  3.11k|{
 1179|  3.11k|    assert(state->saved_ste == NULL);
  ------------------
  |  Branch (1179:5): [True: 3.11k, False: 0]
  ------------------
 1180|  3.11k|    state->saved_ste = c->u->u_ste;
 1181|  3.11k|    c->u->u_ste = (PySTEntryObject *)Py_NewRef(entry);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1182|  3.11k|    return SUCCESS;
  ------------------
  |  |   36|  3.11k|#define SUCCESS 0
  ------------------
 1183|  3.11k|}
_PyCompile_ExitInlinedComprehensionScope:
 1188|  3.11k|{
 1189|  3.11k|    assert(state->saved_ste != NULL);
  ------------------
  |  Branch (1189:5): [True: 3.11k, False: 0]
  ------------------
 1190|  3.11k|    Py_DECREF(c->u->u_ste);
  ------------------
  |  |  430|  3.11k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1191|  3.11k|    c->u->u_ste = state->saved_ste;
 1192|  3.11k|    state->saved_ste = NULL;
 1193|  3.11k|    return SUCCESS;
  ------------------
  |  |   36|  3.11k|#define SUCCESS 0
  ------------------
 1194|  3.11k|}
_PyCompile_EnterConditionalBlock:
 1198|  10.4k|{
 1199|  10.4k|    c->u->u_in_conditional_block++;
 1200|  10.4k|}
_PyCompile_LeaveConditionalBlock:
 1204|  10.4k|{
 1205|  10.4k|    assert(c->u->u_in_conditional_block > 0);
  ------------------
  |  Branch (1205:5): [True: 10.4k, False: 0]
  ------------------
 1206|  10.4k|    c->u->u_in_conditional_block--;
 1207|  10.4k|}
_PyCompile_AddDeferredAnnotation:
 1212|  17.5k|{
 1213|  17.5k|    if (c->u->u_deferred_annotations == NULL) {
  ------------------
  |  Branch (1213:9): [True: 6.23k, False: 11.2k]
  ------------------
 1214|  6.23k|        c->u->u_deferred_annotations = PyList_New(0);
 1215|  6.23k|        if (c->u->u_deferred_annotations == NULL) {
  ------------------
  |  Branch (1215:13): [True: 0, False: 6.23k]
  ------------------
 1216|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1217|      0|        }
 1218|  6.23k|    }
 1219|  17.5k|    if (c->u->u_conditional_annotation_indices == NULL) {
  ------------------
  |  Branch (1219:9): [True: 6.23k, False: 11.2k]
  ------------------
 1220|  6.23k|        c->u->u_conditional_annotation_indices = PyList_New(0);
 1221|  6.23k|        if (c->u->u_conditional_annotation_indices == NULL) {
  ------------------
  |  Branch (1221:13): [True: 0, False: 6.23k]
  ------------------
 1222|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1223|      0|        }
 1224|  6.23k|    }
 1225|  17.5k|    PyObject *ptr = PyLong_FromVoidPtr((void *)s);
 1226|  17.5k|    if (ptr == NULL) {
  ------------------
  |  Branch (1226:9): [True: 0, False: 17.5k]
  ------------------
 1227|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1228|      0|    }
 1229|  17.5k|    if (PyList_Append(c->u->u_deferred_annotations, ptr) < 0) {
  ------------------
  |  Branch (1229:9): [True: 0, False: 17.5k]
  ------------------
 1230|      0|        Py_DECREF(ptr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1231|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1232|      0|    }
 1233|  17.5k|    Py_DECREF(ptr);
  ------------------
  |  |  430|  17.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1234|  17.5k|    PyObject *index;
 1235|  17.5k|    if (c->u->u_scope_type == COMPILE_SCOPE_MODULE || c->u->u_in_conditional_block) {
  ------------------
  |  Branch (1235:9): [True: 8.42k, False: 9.10k]
  |  Branch (1235:55): [True: 581, False: 8.52k]
  ------------------
 1236|  9.00k|        index = PyLong_FromLong(c->u->u_next_conditional_annotation_index);
 1237|  9.00k|        if (index == NULL) {
  ------------------
  |  Branch (1237:13): [True: 0, False: 9.00k]
  ------------------
 1238|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1239|      0|        }
 1240|  9.00k|        *conditional_annotation_index = Py_NewRef(index);
  ------------------
  |  |  647|  9.00k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1241|  9.00k|        c->u->u_next_conditional_annotation_index++;
 1242|  9.00k|    }
 1243|  8.52k|    else {
 1244|  8.52k|        index = PyLong_FromLong(-1);
 1245|  8.52k|        if (index == NULL) {
  ------------------
  |  Branch (1245:13): [True: 0, False: 8.52k]
  ------------------
 1246|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1247|      0|        }
 1248|  8.52k|    }
 1249|  17.5k|    int rc = PyList_Append(c->u->u_conditional_annotation_indices, index);
 1250|  17.5k|    Py_DECREF(index);
  ------------------
  |  |  430|  17.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1251|  17.5k|    RETURN_IF_ERROR(rc);
  ------------------
  |  |   40|  17.5k|    do {                    \
  |  |   41|  17.5k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 17.5k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  17.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 17.5k]
  |  |  ------------------
  ------------------
 1252|  17.5k|    return SUCCESS;
  ------------------
  |  |   36|  17.5k|#define SUCCESS 0
  ------------------
 1253|  17.5k|}
_PyCompile_Error:
 1260|    611|{
 1261|    611|    va_list vargs;
 1262|    611|    va_start(vargs, format);
 1263|    611|    PyObject *msg = PyUnicode_FromFormatV(format, vargs);
 1264|    611|    va_end(vargs);
 1265|    611|    if (msg == NULL) {
  ------------------
  |  Branch (1265:9): [True: 0, False: 611]
  ------------------
 1266|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1267|      0|    }
 1268|    611|    _PyErr_RaiseSyntaxError(msg, c->c_filename, loc.lineno, loc.col_offset + 1,
 1269|    611|                            loc.end_lineno, loc.end_col_offset + 1);
 1270|    611|    Py_DECREF(msg);
  ------------------
  |  |  430|    611|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    611|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    611|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1271|    611|    return ERROR;
  ------------------
  |  |   37|    611|#define ERROR -1
  ------------------
 1272|    611|}
_PyCompile_Warn:
 1280|  10.3k|{
 1281|  10.3k|    if (c->c_disable_warning) {
  ------------------
  |  Branch (1281:9): [True: 2.60k, False: 7.70k]
  ------------------
 1282|  2.60k|        return 0;
 1283|  2.60k|    }
 1284|  7.70k|    va_list vargs;
 1285|  7.70k|    va_start(vargs, format);
 1286|  7.70k|    PyObject *msg = PyUnicode_FromFormatV(format, vargs);
 1287|  7.70k|    va_end(vargs);
 1288|  7.70k|    if (msg == NULL) {
  ------------------
  |  Branch (1288:9): [True: 0, False: 7.70k]
  ------------------
 1289|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1290|      0|    }
 1291|  7.70k|    int ret = _PyErr_EmitSyntaxWarning(msg, c->c_filename, loc.lineno, loc.col_offset + 1,
 1292|  7.70k|                                       loc.end_lineno, loc.end_col_offset + 1,
 1293|  7.70k|                                       c->c_module);
 1294|  7.70k|    Py_DECREF(msg);
  ------------------
  |  |  430|  7.70k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1295|  7.70k|    return ret;
 1296|  7.70k|}
_PyCompile_Mangle:
 1300|  17.5k|{
 1301|  17.5k|    return _Py_Mangle(c->u->u_private, name);
 1302|  17.5k|}
_PyCompile_MaybeMangle:
 1306|   699k|{
 1307|   699k|    return _Py_MaybeMangle(c->u->u_private, c->u->u_ste, name);
 1308|   699k|}
_PyCompile_InstrSequence:
 1312|  5.78M|{
 1313|  5.78M|    return c->u->u_instr_sequence;
 1314|  5.78M|}
_PyCompile_StartAnnotationSetup:
 1318|    725|{
 1319|    725|    instr_sequence *new_seq = (instr_sequence *)_PyInstructionSequence_New();
 1320|    725|    if (new_seq == NULL) {
  ------------------
  |  Branch (1320:9): [True: 0, False: 725]
  ------------------
 1321|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1322|      0|    }
 1323|    725|    assert(c->u->u_stashed_instr_sequence == NULL);
  ------------------
  |  Branch (1323:5): [True: 725, False: 0]
  ------------------
 1324|    725|    c->u->u_stashed_instr_sequence = c->u->u_instr_sequence;
 1325|    725|    c->u->u_instr_sequence = new_seq;
 1326|    725|    return SUCCESS;
  ------------------
  |  |   36|    725|#define SUCCESS 0
  ------------------
 1327|    725|}
_PyCompile_EndAnnotationSetup:
 1331|    718|{
 1332|    718|    assert(c->u->u_stashed_instr_sequence != NULL);
  ------------------
  |  Branch (1332:5): [True: 718, False: 0]
  ------------------
 1333|    718|    instr_sequence *parent_seq = c->u->u_stashed_instr_sequence;
 1334|    718|    instr_sequence *anno_seq = c->u->u_instr_sequence;
 1335|    718|    c->u->u_stashed_instr_sequence = NULL;
 1336|    718|    c->u->u_instr_sequence = parent_seq;
 1337|    718|    if (_PyInstructionSequence_SetAnnotationsCode(parent_seq, anno_seq) == ERROR) {
  ------------------
  |  |   37|    718|#define ERROR -1
  ------------------
  |  Branch (1337:9): [True: 0, False: 718]
  ------------------
 1338|      0|        Py_DECREF(anno_seq);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1339|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1340|      0|    }
 1341|    718|    return SUCCESS;
  ------------------
  |  |   36|    718|#define SUCCESS 0
  ------------------
 1342|    718|}
_PyCompile_FutureFeatures:
 1347|  78.0k|{
 1348|  78.0k|    return c->c_future.ff_features;
 1349|  78.0k|}
_PyCompile_Symtable:
 1353|  14.1k|{
 1354|  14.1k|    return c->c_st;
 1355|  14.1k|}
_PyCompile_SymtableEntry:
 1359|   421k|{
 1360|   421k|    return c->u->u_ste;
 1361|   421k|}
_PyCompile_OptimizationLevel:
 1365|  5.62k|{
 1366|  5.62k|    return c->c_optimize;
 1367|  5.62k|}
_PyCompile_IsInteractiveTopLevel:
 1371|  81.8k|{
 1372|  81.8k|    assert(c->c_stack != NULL);
  ------------------
  |  Branch (1372:5): [True: 81.8k, False: 0]
  ------------------
 1373|  81.8k|    assert(PyList_CheckExact(c->c_stack));
  ------------------
  |  Branch (1373:5): [True: 81.8k, False: 0]
  ------------------
 1374|  81.8k|    bool is_nested_scope = PyList_GET_SIZE(c->c_stack) > 0;
  ------------------
  |  |   38|  81.8k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  81.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  81.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1375|  81.8k|    return c->c_interactive && !is_nested_scope;
  ------------------
  |  Branch (1375:12): [True: 3.12k, False: 78.7k]
  |  Branch (1375:32): [True: 3.03k, False: 98]
  ------------------
 1376|  81.8k|}
_PyCompile_ScopeType:
 1380|   231k|{
 1381|   231k|    return c->u->u_scope_type;
 1382|   231k|}
_PyCompile_Qualname:
 1386|  14.7k|{
 1387|  14.7k|    assert(c->u->u_metadata.u_qualname);
  ------------------
  |  Branch (1387:5): [True: 14.7k, False: 0]
  ------------------
 1388|  14.7k|    return c->u->u_metadata.u_qualname;
 1389|  14.7k|}
_PyCompile_Metadata:
 1393|   301k|{
 1394|   301k|    return &c->u->u_metadata;
 1395|   301k|}
_PyCompile_ConstCacheMergeOne:
 1400|  1.00M|{
 1401|  1.00M|    PyObject *key = const_cache_insert(const_cache, *obj, false);
 1402|  1.00M|    if (key == NULL) {
  ------------------
  |  Branch (1402:9): [True: 0, False: 1.00M]
  ------------------
 1403|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1404|      0|    }
 1405|  1.00M|    if (PyTuple_CheckExact(key)) {
  ------------------
  |  |   28|  1.00M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.00M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 788k, False: 213k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1406|   788k|        PyObject *item = PyTuple_GET_ITEM(key, 1);
  ------------------
  |  |   29|   788k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   788k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   788k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1406:26): [True: 788k, False: 0]
  ------------------
 1407|   788k|        Py_SETREF(*obj, Py_NewRef(item));
  ------------------
  |  |  545|   788k|    do { \
  |  |  546|   788k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|   788k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|   788k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|   788k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|   788k|        *_tmp_dst_ptr = (src); \
  |  |  549|   788k|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|   788k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   788k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   788k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|   788k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 788k]
  |  |  ------------------
  ------------------
 1408|   788k|        Py_DECREF(key);
  ------------------
  |  |  430|   788k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   788k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   788k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1409|   788k|    }
 1410|   213k|    else {
 1411|   213k|        Py_SETREF(*obj, key);
  ------------------
  |  |  545|   213k|    do { \
  |  |  546|   213k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|   213k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|   213k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|   213k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|   213k|        *_tmp_dst_ptr = (src); \
  |  |  549|   213k|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|   213k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   213k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   213k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|   213k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 213k]
  |  |  ------------------
  ------------------
 1412|   213k|    }
 1413|  1.00M|    return SUCCESS;
  ------------------
  |  |   36|  1.00M|#define SUCCESS 0
  ------------------
 1414|  1.00M|}
_PyCompile_OptimizeAndAssemble:
 1668|  74.3k|{
 1669|  74.3k|    struct compiler_unit *u = c->u;
 1670|  74.3k|    PyObject *const_cache = c->c_const_cache;
 1671|  74.3k|    PyObject *filename = c->c_filename;
 1672|       |
 1673|  74.3k|    int code_flags = compute_code_flags(c);
 1674|  74.3k|    assert(code_flags >= 0);
  ------------------
  |  Branch (1674:5): [True: 74.3k, False: 0]
  ------------------
 1675|  74.3k|    if (_PyCodegen_AddReturnAtEnd(c, addNone) < 0) {
  ------------------
  |  Branch (1675:9): [True: 0, False: 74.3k]
  ------------------
 1676|      0|        return NULL;
 1677|      0|    }
 1678|       |
 1679|  74.3k|    return optimize_and_assemble_code_unit(u, const_cache, code_flags, filename);
 1680|  74.3k|}
_PyAST_Compile:
 1685|  12.7k|{
 1686|  12.7k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1686:5): [True: 12.7k, False: 0]
  ------------------
 1687|  12.7k|    compiler *c = new_compiler(mod, filename, pflags, optimize, arena, module);
 1688|  12.7k|    if (c == NULL) {
  ------------------
  |  Branch (1688:9): [True: 367, False: 12.3k]
  ------------------
 1689|    367|        return NULL;
 1690|    367|    }
 1691|       |
 1692|  12.3k|    PyCodeObject *co = compiler_mod(c, mod);
 1693|  12.3k|    compiler_free(c);
 1694|  12.3k|    assert(co || PyErr_Occurred());
  ------------------
  |  Branch (1694:5): [True: 11.7k, False: 615]
  |  Branch (1694:5): [True: 615, False: 0]
  ------------------
 1695|  12.3k|    return co;
 1696|  12.3k|}
_PyCompile_AstPreprocess:
 1702|  1.96k|{
 1703|  1.96k|    _PyFutureFeatures future;
 1704|  1.96k|    if (!_PyFuture_FromAST(mod, filename, &future)) {
  ------------------
  |  Branch (1704:9): [True: 11, False: 1.94k]
  ------------------
 1705|     11|        return -1;
 1706|     11|    }
 1707|  1.94k|    int flags = future.ff_features | cf->cf_flags;
 1708|  1.94k|    if (optimize == -1) {
  ------------------
  |  Branch (1708:9): [True: 569, False: 1.38k]
  ------------------
 1709|    569|        optimize = _Py_GetConfig()->optimization_level;
 1710|    569|    }
 1711|  1.94k|    if (!_PyAST_Preprocess(mod, arena, filename, optimize, flags,
  ------------------
  |  Branch (1711:9): [True: 0, False: 1.94k]
  ------------------
 1712|  1.94k|                           no_const_folding, 0, module))
 1713|      0|    {
 1714|      0|        return -1;
 1715|      0|    }
 1716|  1.94k|    return 0;
 1717|  1.94k|}
_PyCompile_CleanDoc:
 1725|  2.91k|{
 1726|  2.91k|    doc = PyObject_CallMethod(doc, "expandtabs", NULL);
 1727|  2.91k|    if (doc == NULL) {
  ------------------
  |  Branch (1727:9): [True: 0, False: 2.91k]
  ------------------
 1728|      0|        return NULL;
 1729|      0|    }
 1730|       |
 1731|  2.91k|    Py_ssize_t doc_size;
 1732|  2.91k|    const char *doc_utf8 = PyUnicode_AsUTF8AndSize(doc, &doc_size);
 1733|  2.91k|    if (doc_utf8 == NULL) {
  ------------------
  |  Branch (1733:9): [True: 4, False: 2.91k]
  ------------------
 1734|      4|        Py_DECREF(doc);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1735|      4|        return NULL;
 1736|      4|    }
 1737|  2.91k|    const char *p = doc_utf8;
 1738|  2.91k|    const char *pend = p + doc_size;
 1739|       |
 1740|       |    // First pass: find minimum indentation of any non-blank lines
 1741|       |    // after first line.
 1742|  21.8k|    while (p < pend && *p++ != '\n') {
  ------------------
  |  Branch (1742:12): [True: 20.2k, False: 1.62k]
  |  Branch (1742:24): [True: 18.9k, False: 1.28k]
  ------------------
 1743|  18.9k|    }
 1744|       |
 1745|  2.91k|    Py_ssize_t margin = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  2.91k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1746|  34.5k|    while (p < pend) {
  ------------------
  |  Branch (1746:12): [True: 31.6k, False: 2.91k]
  ------------------
 1747|  31.6k|        const char *s = p;
 1748|  56.6k|        while (*p == ' ') p++;
  ------------------
  |  Branch (1748:16): [True: 24.9k, False: 31.6k]
  ------------------
 1749|  31.6k|        if (p < pend && *p != '\n') {
  ------------------
  |  Branch (1749:13): [True: 31.5k, False: 102]
  |  Branch (1749:25): [True: 4.77k, False: 26.7k]
  ------------------
 1750|  4.77k|            margin = Py_MIN(margin, p - s);
  ------------------
  |  |  127|  4.77k|       __extension__ \
  |  |  128|  4.77k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  4.77k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  4.77k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  4.77k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|  4.77k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 2.73k, False: 2.03k]
  |  |  ------------------
  ------------------
 1751|  4.77k|        }
 1752|   155k|        while (p < pend && *p++ != '\n') {
  ------------------
  |  Branch (1752:16): [True: 154k, False: 696]
  |  Branch (1752:28): [True: 123k, False: 30.9k]
  ------------------
 1753|   123k|        }
 1754|  31.6k|    }
 1755|  2.91k|    if (margin == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  2.91k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1755:9): [True: 1.67k, False: 1.23k]
  ------------------
 1756|  1.67k|        margin = 0;
 1757|  1.67k|    }
 1758|       |
 1759|       |    // Second pass: write cleandoc into buff.
 1760|       |
 1761|       |    // copy first line without leading spaces.
 1762|  2.91k|    p = doc_utf8;
 1763|  6.91k|    while (*p == ' ') {
  ------------------
  |  Branch (1763:12): [True: 4.00k, False: 2.91k]
  ------------------
 1764|  4.00k|        p++;
 1765|  4.00k|    }
 1766|  2.91k|    if (p == doc_utf8 && margin == 0 ) {
  ------------------
  |  Branch (1766:9): [True: 1.40k, False: 1.50k]
  |  Branch (1766:26): [True: 1.32k, False: 79]
  ------------------
 1767|       |        // doc is already clean.
 1768|  1.32k|        return doc;
 1769|  1.32k|    }
 1770|       |
 1771|  1.58k|    char *buff = PyMem_Malloc(doc_size);
 1772|  1.58k|    if (buff == NULL){
  ------------------
  |  Branch (1772:9): [True: 0, False: 1.58k]
  ------------------
 1773|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1774|      0|        PyErr_NoMemory();
 1775|      0|        return NULL;
 1776|      0|    }
 1777|       |
 1778|  1.58k|    char *w = buff;
 1779|       |
 1780|  9.89k|    while (p < pend) {
  ------------------
  |  Branch (1780:12): [True: 9.25k, False: 634]
  ------------------
 1781|  9.25k|        int ch = *w++ = *p++;
 1782|  9.25k|        if (ch == '\n') {
  ------------------
  |  Branch (1782:13): [True: 954, False: 8.30k]
  ------------------
 1783|    954|            break;
 1784|    954|        }
 1785|  9.25k|    }
 1786|       |
 1787|       |    // copy subsequent lines without margin.
 1788|  31.8k|    while (p < pend) {
  ------------------
  |  Branch (1788:12): [True: 30.2k, False: 1.58k]
  ------------------
 1789|  30.7k|        for (Py_ssize_t i = 0; i < margin; i++, p++) {
  ------------------
  |  Branch (1789:32): [True: 1.28k, False: 29.4k]
  ------------------
 1790|  1.28k|            if (*p != ' ') {
  ------------------
  |  Branch (1790:17): [True: 790, False: 499]
  ------------------
 1791|    790|                assert(*p == '\n' || *p == '\0');
  ------------------
  |  Branch (1791:17): [True: 788, False: 2]
  |  Branch (1791:17): [True: 2, False: 0]
  ------------------
 1792|    790|                break;
 1793|    790|            }
 1794|  1.28k|        }
 1795|   164k|        while (p < pend) {
  ------------------
  |  Branch (1795:16): [True: 163k, False: 371]
  ------------------
 1796|   163k|            int ch = *w++ = *p++;
 1797|   163k|            if (ch == '\n') {
  ------------------
  |  Branch (1797:17): [True: 29.8k, False: 133k]
  ------------------
 1798|  29.8k|                break;
 1799|  29.8k|            }
 1800|   163k|        }
 1801|  30.2k|    }
 1802|       |
 1803|  1.58k|    Py_DECREF(doc);
  ------------------
  |  |  430|  1.58k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1804|  1.58k|    PyObject *res = PyUnicode_FromStringAndSize(buff, w - buff);
 1805|  1.58k|    PyMem_Free(buff);
 1806|  1.58k|    return res;
 1807|  1.58k|}
compile.c:merge_consts_recursive:
  463|  1.21M|{
  464|       |    return const_cache_insert(const_cache, o, true);
  465|  1.21M|}
compile.c:compiler_unit_free:
  188|  75.2k|{
  189|  75.2k|    Py_CLEAR(u->u_instr_sequence);
  ------------------
  |  |  487|  75.2k|    do { \
  |  |  488|  75.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  75.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  75.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 75.2k, False: 0]
  |  |  ------------------
  |  |  491|  75.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  75.2k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  75.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  75.2k|        } \
  |  |  494|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  190|  75.2k|    Py_CLEAR(u->u_stashed_instr_sequence);
  ------------------
  |  |  487|  75.2k|    do { \
  |  |  488|  75.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  75.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  75.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 7, False: 75.2k]
  |  |  ------------------
  |  |  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|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  191|  75.2k|    Py_CLEAR(u->u_ste);
  ------------------
  |  |  487|  75.2k|    do { \
  |  |  488|  75.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  75.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  75.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 75.2k, False: 0]
  |  |  ------------------
  |  |  491|  75.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  75.2k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  75.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  75.2k|        } \
  |  |  494|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  192|  75.2k|    Py_CLEAR(u->u_metadata.u_name);
  ------------------
  |  |  487|  75.2k|    do { \
  |  |  488|  75.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  75.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  75.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 75.2k, False: 0]
  |  |  ------------------
  |  |  491|  75.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  75.2k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  75.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  75.2k|        } \
  |  |  494|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  193|  75.2k|    Py_CLEAR(u->u_metadata.u_qualname);
  ------------------
  |  |  487|  75.2k|    do { \
  |  |  488|  75.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  75.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  75.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 62.8k, False: 12.3k]
  |  |  ------------------
  |  |  491|  62.8k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  62.8k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  62.8k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  62.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  62.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  62.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  62.8k|        } \
  |  |  494|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  194|  75.2k|    Py_CLEAR(u->u_metadata.u_consts);
  ------------------
  |  |  487|  75.2k|    do { \
  |  |  488|  75.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  75.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  75.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 75.2k, False: 0]
  |  |  ------------------
  |  |  491|  75.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  75.2k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  75.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  75.2k|        } \
  |  |  494|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  195|  75.2k|    Py_CLEAR(u->u_metadata.u_names);
  ------------------
  |  |  487|  75.2k|    do { \
  |  |  488|  75.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  75.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  75.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 75.2k, False: 0]
  |  |  ------------------
  |  |  491|  75.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  75.2k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  75.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  75.2k|        } \
  |  |  494|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  196|  75.2k|    Py_CLEAR(u->u_metadata.u_varnames);
  ------------------
  |  |  487|  75.2k|    do { \
  |  |  488|  75.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  75.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  75.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 75.2k, False: 0]
  |  |  ------------------
  |  |  491|  75.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  75.2k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  75.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  75.2k|        } \
  |  |  494|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  197|  75.2k|    Py_CLEAR(u->u_metadata.u_freevars);
  ------------------
  |  |  487|  75.2k|    do { \
  |  |  488|  75.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  75.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  75.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 75.2k, False: 0]
  |  |  ------------------
  |  |  491|  75.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  75.2k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  75.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  75.2k|        } \
  |  |  494|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  198|  75.2k|    Py_CLEAR(u->u_metadata.u_cellvars);
  ------------------
  |  |  487|  75.2k|    do { \
  |  |  488|  75.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  75.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  75.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 75.2k, False: 0]
  |  |  ------------------
  |  |  491|  75.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  75.2k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  75.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  75.2k|        } \
  |  |  494|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  199|  75.2k|    Py_CLEAR(u->u_metadata.u_fasthidden);
  ------------------
  |  |  487|  75.2k|    do { \
  |  |  488|  75.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  75.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  75.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 27.0k, False: 48.1k]
  |  |  ------------------
  |  |  491|  27.0k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  27.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  27.0k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  27.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  27.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  27.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  27.0k|        } \
  |  |  494|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  200|  75.2k|    Py_CLEAR(u->u_private);
  ------------------
  |  |  487|  75.2k|    do { \
  |  |  488|  75.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  75.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  75.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 38.1k, False: 37.1k]
  |  |  ------------------
  |  |  491|  38.1k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  38.1k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  38.1k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  38.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  38.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  38.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  38.1k|        } \
  |  |  494|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  201|  75.2k|    Py_CLEAR(u->u_static_attributes);
  ------------------
  |  |  487|  75.2k|    do { \
  |  |  488|  75.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  75.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  75.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 14.7k, False: 60.5k]
  |  |  ------------------
  |  |  491|  14.7k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  14.7k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  14.7k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  14.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  14.7k|        } \
  |  |  494|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  202|  75.2k|    Py_CLEAR(u->u_deferred_annotations);
  ------------------
  |  |  487|  75.2k|    do { \
  |  |  488|  75.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  75.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  75.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 6.23k, False: 69.0k]
  |  |  ------------------
  |  |  491|  6.23k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  6.23k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  6.23k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  6.23k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  6.23k|        } \
  |  |  494|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  203|       |    Py_CLEAR(u->u_conditional_annotation_indices);
  ------------------
  |  |  487|  75.2k|    do { \
  |  |  488|  75.2k|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  75.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  75.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  75.2k|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  75.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 6.23k, False: 69.0k]
  |  |  ------------------
  |  |  491|  6.23k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  6.23k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|  6.23k|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|  6.23k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|  6.23k|        } \
  |  |  494|  75.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 75.2k]
  |  |  ------------------
  ------------------
  204|  75.2k|    PyMem_Free(u);
  205|  75.2k|}
compile.c:list2dict:
  508|   150k|{
  509|   150k|    Py_ssize_t i, n;
  510|   150k|    PyObject *v, *k;
  511|   150k|    PyObject *dict = PyDict_New();
  512|   150k|    if (!dict) return NULL;
  ------------------
  |  Branch (512:9): [True: 0, False: 150k]
  ------------------
  513|       |
  514|   150k|    n = PyList_Size(list);
  515|   205k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (515:17): [True: 54.8k, False: 150k]
  ------------------
  516|  54.8k|        v = PyLong_FromSsize_t(i);
  517|  54.8k|        if (!v) {
  ------------------
  |  Branch (517:13): [True: 0, False: 54.8k]
  ------------------
  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|  54.8k|        k = PyList_GET_ITEM(list, i);
  ------------------
  |  |   40|  54.8k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  54.8k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (521:13): [True: 54.8k, False: 0]
  ------------------
  522|  54.8k|        if (PyDict_SetItem(dict, k, v) < 0) {
  ------------------
  |  Branch (522:13): [True: 0, False: 54.8k]
  ------------------
  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|  54.8k|        Py_DECREF(v);
  ------------------
  |  |  430|  54.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  528|  54.8k|    }
  529|   150k|    return dict;
  530|   150k|}
compile.c:compiler_cellvars:
  648|  75.2k|{
  649|  75.2k|    PyObject *names = PySet_New(NULL);
  650|  75.2k|    if (names == NULL) {
  ------------------
  |  Branch (650:9): [True: 0, False: 75.2k]
  ------------------
  651|      0|        return NULL;
  652|      0|    }
  653|  75.2k|    if (add_cell_names_from_symbols(ste->ste_symbols, names) < 0) {
  ------------------
  |  Branch (653:9): [True: 0, False: 75.2k]
  ------------------
  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|  75.2k|    if (add_inlined_comprehension_cell_names(ste, names) < 0) {
  ------------------
  |  Branch (657:9): [True: 0, False: 75.2k]
  ------------------
  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|  75.2k|    PyObject *sorted = PySequence_List(names);
  662|  75.2k|    Py_DECREF(names);
  ------------------
  |  |  430|  75.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  663|  75.2k|    if (sorted == NULL) {
  ------------------
  |  Branch (663:9): [True: 0, False: 75.2k]
  ------------------
  664|      0|        return NULL;
  665|      0|    }
  666|  75.2k|    if (PyList_Sort(sorted) < 0) {
  ------------------
  |  Branch (666:9): [True: 0, False: 75.2k]
  ------------------
  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|  75.2k|    PyObject *cellvars = list2dict(sorted);
  671|  75.2k|    Py_DECREF(sorted);
  ------------------
  |  |  430|  75.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  672|  75.2k|    return cellvars;
  673|  75.2k|}
compile.c:add_cell_names_from_symbols:
  608|  78.2k|{
  609|  78.2k|    Py_ssize_t pos = 0;
  610|  78.2k|    PyObject *k, *v;
  611|   388k|    while (PyDict_Next(symbols, &pos, &k, &v)) {
  ------------------
  |  Branch (611:12): [True: 310k, False: 78.2k]
  ------------------
  612|   310k|        long flags = PyLong_AsLong(v);
  613|   310k|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (613:13): [True: 0, False: 310k]
  |  Branch (613:28): [True: 0, False: 0]
  ------------------
  614|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  615|      0|        }
  616|   310k|        if (SYMBOL_TO_SCOPE(flags) == CELL) {
  ------------------
  |  |  189|   310k|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  187|   310k|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  188|   310k|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|   310k|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   310k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  172|   310k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  173|   310k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (SYMBOL_TO_SCOPE(flags) == CELL) {
  ------------------
  |  |  195|   310k|#define CELL 5
  ------------------
  |  Branch (616:13): [True: 8.92k, False: 301k]
  ------------------
  617|  8.92k|            if (PySet_Add(names, k) < 0) {
  ------------------
  |  Branch (617:17): [True: 0, False: 8.92k]
  ------------------
  618|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  619|      0|            }
  620|  8.92k|        }
  621|   310k|    }
  622|  78.2k|    return SUCCESS;
  ------------------
  |  |   36|  78.2k|#define SUCCESS 0
  ------------------
  623|  78.2k|}
compile.c:add_inlined_comprehension_cell_names:
  627|  78.2k|{
  628|   148k|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(ste->ste_children); i++) {
  ------------------
  |  |   38|   148k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   148k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   148k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (628:28): [True: 69.7k, False: 78.2k]
  ------------------
  629|  69.7k|        PySTEntryObject *child =
  630|  69.7k|            (PySTEntryObject *)PyList_GET_ITEM(ste->ste_children, i);
  ------------------
  |  |   40|  69.7k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  69.7k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  69.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (630:32): [True: 69.7k, False: 0]
  ------------------
  631|  69.7k|        if (child->ste_type != InlinedComprehensionBlock) {
  ------------------
  |  Branch (631:13): [True: 66.7k, False: 3.02k]
  ------------------
  632|  66.7k|            continue;
  633|  66.7k|        }
  634|  3.02k|        if (add_cell_names_from_symbols(child->ste_symbols, names) < 0) {
  ------------------
  |  Branch (634:13): [True: 0, False: 3.02k]
  ------------------
  635|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  636|      0|        }
  637|  3.02k|        if (add_inlined_comprehension_cell_names(child, names) < 0) {
  ------------------
  |  Branch (637:13): [True: 0, False: 3.02k]
  ------------------
  638|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  639|      0|        }
  640|  3.02k|    }
  641|  78.2k|    return SUCCESS;
  ------------------
  |  |   36|  78.2k|#define SUCCESS 0
  ------------------
  642|  78.2k|}
compile.c:dictbytype:
  542|  75.2k|{
  543|  75.2k|    Py_ssize_t i = offset, num_keys, key_i;
  544|  75.2k|    PyObject *k, *v, *dest = PyDict_New();
  545|  75.2k|    PyObject *sorted_keys;
  546|       |
  547|  75.2k|    assert(offset >= 0);
  ------------------
  |  Branch (547:5): [True: 75.2k, False: 0]
  ------------------
  548|  75.2k|    if (dest == NULL)
  ------------------
  |  Branch (548:9): [True: 0, False: 75.2k]
  ------------------
  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|  75.2k|    sorted_keys = PyDict_Keys(src);
  557|  75.2k|    if (sorted_keys == NULL) {
  ------------------
  |  Branch (557:9): [True: 0, False: 75.2k]
  ------------------
  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|  75.2k|    if (PyList_Sort(sorted_keys) != 0) {
  ------------------
  |  Branch (561:9): [True: 0, False: 75.2k]
  ------------------
  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|  75.2k|    num_keys = PyList_GET_SIZE(sorted_keys);
  ------------------
  |  |   38|  75.2k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  567|       |
  568|   369k|    for (key_i = 0; key_i < num_keys; key_i++) {
  ------------------
  |  Branch (568:21): [True: 293k, False: 75.2k]
  ------------------
  569|   293k|        k = PyList_GET_ITEM(sorted_keys, key_i);
  ------------------
  |  |   40|   293k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|   293k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   293k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (569:13): [True: 293k, False: 0]
  ------------------
  570|      0|        v = PyDict_GetItemWithError(src, k);
  571|   293k|        if (!v) {
  ------------------
  |  Branch (571:13): [True: 0, False: 293k]
  ------------------
  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|   293k|        long vi = PyLong_AsLong(v);
  580|   293k|        if (vi == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (580:13): [True: 0, False: 293k]
  |  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|   293k|        if (SYMBOL_TO_SCOPE(vi) == scope_type || vi & flag) {
  ------------------
  |  |  189|   293k|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  187|   293k|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  188|   293k|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|   293k|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   293k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  172|   293k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  173|   293k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (585:13): [True: 30.0k, False: 263k]
  |  Branch (585:50): [True: 0, False: 263k]
  ------------------
  586|  30.0k|            PyObject *item = PyLong_FromSsize_t(i);
  587|  30.0k|            if (item == NULL) {
  ------------------
  |  Branch (587:17): [True: 0, False: 30.0k]
  ------------------
  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|  30.0k|            i++;
  593|  30.0k|            if (PyDict_SetItem(dest, k, item) < 0) {
  ------------------
  |  Branch (593:17): [True: 0, False: 30.0k]
  ------------------
  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|  30.0k|            Py_DECREF(item);
  ------------------
  |  |  430|  30.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  600|  30.0k|        }
  601|   293k|    }
  602|  75.2k|    Py_DECREF(sorted_keys);
  ------------------
  |  |  430|  75.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  603|  75.2k|    return dest;
  604|  75.2k|}
compile.c:compiler_resolve_inlined_free:
 1001|   616k|{
 1002|   616k|    int scope = _PyST_GetScope(*ste, name);
 1003|   616k|    RETURN_IF_ERROR(scope);
  ------------------
  |  |   40|   616k|    do {                    \
  |  |   41|   616k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 616k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|   616k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 616k]
  |  |  ------------------
  ------------------
 1004|   617k|    while ((*ste)->ste_type == InlinedComprehensionBlock &&
  ------------------
  |  Branch (1004:12): [True: 35.2k, False: 582k]
  ------------------
 1005|  35.2k|           (scope == FREE || scope == 0)) {
  ------------------
  |  |  194|  70.5k|#define FREE 4
  ------------------
  |  Branch (1005:13): [True: 1.29k, False: 33.9k]
  |  Branch (1005:30): [True: 0, False: 33.9k]
  ------------------
 1006|  1.29k|        PySTEntryObject *parent = (*ste)->ste_parent;
 1007|  1.29k|        assert(parent != NULL);
  ------------------
  |  Branch (1007:9): [True: 1.29k, False: 0]
  ------------------
 1008|  1.29k|        if (parent->ste_type == ClassBlock) {
  ------------------
  |  Branch (1008:13): [True: 0, False: 1.29k]
  ------------------
 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|  1.29k|        *ste = parent;
 1015|  1.29k|        scope = _PyST_GetScope(*ste, name);
 1016|  1.29k|        RETURN_IF_ERROR(scope);
  ------------------
  |  |   40|  1.29k|    do {                    \
  |  |   41|  1.29k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 1.29k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  1.29k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 1.29k]
  |  |  ------------------
  ------------------
 1017|  1.29k|    }
 1018|   616k|    return scope;
 1019|   616k|}
compile.c:dict_lookup_arg:
 1047|  36.5k|{
 1048|  36.5k|    PyObject *v = PyDict_GetItemWithError(dict, name);
 1049|  36.5k|    if (v == NULL) {
  ------------------
  |  Branch (1049:9): [True: 0, False: 36.5k]
  ------------------
 1050|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1051|      0|    }
 1052|  36.5k|    return PyLong_AsLong(v);
 1053|  36.5k|}
compile.c:const_cache_insert:
  351|  2.22M|{
  352|  2.22M|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (352:5): [True: 2.22M, False: 0]
  ------------------
  353|       |    // None and Ellipsis are immortal objects, and key is the singleton.
  354|       |    // No need to merge object and key.
  355|  2.22M|    if (o == Py_None || o == Py_Ellipsis) {
  ------------------
  |  |  616|  4.44M|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (o == Py_None || o == Py_Ellipsis) {
  ------------------
  |  |   14|  2.07M|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (355:9): [True: 145k, False: 2.07M]
  |  Branch (355:25): [True: 1.80k, False: 2.07M]
  ------------------
  356|   147k|        return o;
  357|   147k|    }
  358|       |
  359|  2.07M|    PyObject *key = _PyCode_ConstantKey(o);
  360|  2.07M|    if (key == NULL) {
  ------------------
  |  Branch (360:9): [True: 0, False: 2.07M]
  ------------------
  361|      0|        return NULL;
  362|      0|    }
  363|       |
  364|  2.07M|    PyObject *t;
  365|  2.07M|    int res = PyDict_SetDefaultRef(const_cache, key, key, &t);
  366|  2.07M|    if (res != 0) {
  ------------------
  |  Branch (366:9): [True: 1.62M, False: 444k]
  ------------------
  367|       |        // o was not inserted into const_cache. t is either the existing value
  368|       |        // or NULL (on error).
  369|  1.62M|        Py_DECREF(key);
  ------------------
  |  |  430|  1.62M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.62M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.62M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  370|  1.62M|        return t;
  371|  1.62M|    }
  372|   444k|    Py_DECREF(t);
  ------------------
  |  |  430|   444k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   444k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   444k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  373|       |
  374|   444k|    if (!recursive) {
  ------------------
  |  Branch (374:9): [True: 285k, False: 159k]
  ------------------
  375|   285k|        return key;
  376|   285k|    }
  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|   159k|    if (PyTuple_CheckExact(o)) {
  ------------------
  |  |   28|   159k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   159k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   159k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   159k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.95k, False: 156k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  382|  2.95k|        Py_ssize_t len = PyTuple_GET_SIZE(o);
  ------------------
  |  |   27|  2.95k|#define PyTuple_GET_SIZE(op) PyTuple_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  383|  6.93k|        for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (383:32): [True: 3.97k, False: 2.95k]
  ------------------
  384|  3.97k|            PyObject *item = PyTuple_GET_ITEM(o, i);
  ------------------
  |  |   29|  3.97k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.97k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (384:30): [True: 3.97k, False: 0]
  ------------------
  385|      0|            PyObject *u = const_cache_insert(const_cache, item, recursive);
  386|  3.97k|            if (u == NULL) {
  ------------------
  |  Branch (386:17): [True: 0, False: 3.97k]
  ------------------
  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|  3.97k|            PyObject *v;  // borrowed
  393|  3.97k|            if (PyTuple_CheckExact(u)) {
  ------------------
  |  |   28|  3.97k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  3.97k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.97k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 3.97k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  3.97k|            else {
  397|  3.97k|                v = u;
  398|  3.97k|            }
  399|  3.97k|            if (v != item) {
  ------------------
  |  Branch (399:17): [True: 0, False: 3.97k]
  ------------------
  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|  3.97k|            Py_DECREF(u);
  ------------------
  |  |  430|  3.97k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.97k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  405|  3.97k|        }
  406|  2.95k|    }
  407|   156k|    else if (PyFrozenSet_CheckExact(o)) {
  ------------------
  |  |   23|   156k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|   156k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   156k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   156k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 156k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|   159k|    return key;
  459|   159k|}
compile.c:compute_code_flags:
 1584|  74.3k|{
 1585|  74.3k|    PySTEntryObject *ste = c->u->u_ste;
 1586|  74.3k|    int flags = 0;
 1587|  74.3k|    if (_PyST_IsFunctionLike(ste)) {
  ------------------
  |  Branch (1587:9): [True: 47.9k, False: 26.4k]
  ------------------
 1588|  47.9k|        flags |= CO_NEWLOCALS | CO_OPTIMIZED;
  ------------------
  |  |  123|  47.9k|#define CO_NEWLOCALS    0x0002
  ------------------
                      flags |= CO_NEWLOCALS | CO_OPTIMIZED;
  ------------------
  |  |  122|  47.9k|#define CO_OPTIMIZED    0x0001
  ------------------
 1589|  47.9k|        if (ste->ste_nested)
  ------------------
  |  Branch (1589:13): [True: 26.6k, False: 21.2k]
  ------------------
 1590|  26.6k|            flags |= CO_NESTED;
  ------------------
  |  |  126|  26.6k|#define CO_NESTED       0x0010
  ------------------
 1591|  47.9k|        if (ste->ste_generator && !ste->ste_coroutine)
  ------------------
  |  Branch (1591:13): [True: 1.58k, False: 46.3k]
  |  Branch (1591:35): [True: 1.11k, False: 466]
  ------------------
 1592|  1.11k|            flags |= CO_GENERATOR;
  ------------------
  |  |  127|  1.11k|#define CO_GENERATOR    0x0020
  ------------------
 1593|  47.9k|        if (ste->ste_generator && ste->ste_coroutine)
  ------------------
  |  Branch (1593:13): [True: 1.58k, False: 46.3k]
  |  Branch (1593:35): [True: 466, False: 1.11k]
  ------------------
 1594|    466|            flags |= CO_ASYNC_GENERATOR;
  ------------------
  |  |  133|    466|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
 1595|  47.9k|        if (ste->ste_varargs)
  ------------------
  |  Branch (1595:13): [True: 8.24k, False: 39.6k]
  ------------------
 1596|  8.24k|            flags |= CO_VARARGS;
  ------------------
  |  |  124|  8.24k|#define CO_VARARGS      0x0004
  ------------------
 1597|  47.9k|        if (ste->ste_varkeywords)
  ------------------
  |  Branch (1597:13): [True: 1.08k, False: 46.8k]
  ------------------
 1598|  1.08k|            flags |= CO_VARKEYWORDS;
  ------------------
  |  |  125|  1.08k|#define CO_VARKEYWORDS  0x0008
  ------------------
 1599|  47.9k|        if (ste->ste_has_docstring)
  ------------------
  |  Branch (1599:13): [True: 365, False: 47.5k]
  ------------------
 1600|    365|            flags |= CO_HAS_DOCSTRING;
  ------------------
  |  |  154|    365|#define CO_HAS_DOCSTRING 0x4000000
  ------------------
 1601|  47.9k|        if (ste->ste_method)
  ------------------
  |  Branch (1601:13): [True: 193, False: 47.7k]
  ------------------
 1602|    193|            flags |= CO_METHOD;
  ------------------
  |  |  157|    193|#define CO_METHOD  0x8000000
  ------------------
 1603|  47.9k|    }
 1604|       |
 1605|  74.3k|    if (ste->ste_coroutine && !ste->ste_generator) {
  ------------------
  |  Branch (1605:9): [True: 3.03k, False: 71.3k]
  |  Branch (1605:31): [True: 2.56k, False: 466]
  ------------------
 1606|  2.56k|        flags |= CO_COROUTINE;
  ------------------
  |  |  131|  2.56k|#define CO_COROUTINE            0x0080
  ------------------
 1607|  2.56k|    }
 1608|       |
 1609|       |    /* (Only) inherit compilerflags in PyCF_MASK */
 1610|  74.3k|    flags |= (c->c_flags.cf_flags & PyCF_MASK);
  ------------------
  |  |    6|  74.3k|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  139|  74.3k|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  140|  74.3k|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|  74.3k|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  141|  74.3k|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  142|  74.3k|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|  74.3k|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  143|  74.3k|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  145|  74.3k|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|  74.3k|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  146|  74.3k|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  147|  74.3k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
 1611|       |
 1612|  74.3k|    return flags;
 1613|  74.3k|}
compile.c:optimize_and_assemble_code_unit:
 1618|  74.3k|{
 1619|  74.3k|    cfg_builder *g = NULL;
 1620|  74.3k|    instr_sequence optimized_instrs;
 1621|  74.3k|    memset(&optimized_instrs, 0, sizeof(instr_sequence));
 1622|       |
 1623|  74.3k|    PyCodeObject *co = NULL;
 1624|  74.3k|    PyObject *consts = consts_dict_keys_inorder(u->u_metadata.u_consts);
 1625|  74.3k|    if (consts == NULL) {
  ------------------
  |  Branch (1625:9): [True: 0, False: 74.3k]
  ------------------
 1626|      0|        goto error;
 1627|      0|    }
 1628|  74.3k|    g = _PyCfg_FromInstructionSequence(u->u_instr_sequence);
 1629|  74.3k|    if (g == NULL) {
  ------------------
  |  Branch (1629:9): [True: 0, False: 74.3k]
  ------------------
 1630|      0|        goto error;
 1631|      0|    }
 1632|  74.3k|    int nlocals = (int)PyDict_GET_SIZE(u->u_metadata.u_varnames);
  ------------------
  |  |   63|  74.3k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1633|  74.3k|    int nparams = (int)PyList_GET_SIZE(u->u_ste->ste_varnames);
  ------------------
  |  |   38|  74.3k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1634|  74.3k|    assert(u->u_metadata.u_firstlineno);
  ------------------
  |  Branch (1634:5): [True: 74.3k, False: 0]
  ------------------
 1635|       |
 1636|  74.3k|    if (_PyCfg_OptimizeCodeUnit(g, consts, const_cache, nlocals,
  ------------------
  |  Branch (1636:9): [True: 0, False: 74.3k]
  ------------------
 1637|  74.3k|                                nparams, u->u_metadata.u_firstlineno) < 0) {
 1638|      0|        goto error;
 1639|      0|    }
 1640|       |
 1641|  74.3k|    int stackdepth;
 1642|  74.3k|    int nlocalsplus;
 1643|  74.3k|    if (_PyCfg_OptimizedCfgToInstructionSequence(g, &u->u_metadata,
  ------------------
  |  Branch (1643:9): [True: 0, False: 74.3k]
  ------------------
 1644|  74.3k|                                                 &stackdepth, &nlocalsplus,
 1645|  74.3k|                                                 &optimized_instrs) < 0) {
 1646|      0|        goto error;
 1647|      0|    }
 1648|       |
 1649|  74.3k|    if (intern_final_constants(const_cache, consts) < 0) {
  ------------------
  |  Branch (1649:9): [True: 0, False: 74.3k]
  ------------------
 1650|      0|        goto error;
 1651|      0|    }
 1652|       |
 1653|       |    /** Assembly **/
 1654|  74.3k|    co = _PyAssemble_MakeCodeObject(&u->u_metadata, const_cache, consts,
 1655|  74.3k|                                    stackdepth, &optimized_instrs, nlocalsplus,
 1656|  74.3k|                                    code_flags, filename);
 1657|       |
 1658|  74.3k|error:
 1659|  74.3k|    Py_XDECREF(consts);
  ------------------
  |  |  621|  74.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1660|  74.3k|    PyInstructionSequence_Fini(&optimized_instrs);
 1661|  74.3k|    _PyCfgBuilder_Free(g);
 1662|  74.3k|    return co;
 1663|  74.3k|}
compile.c:intern_final_constants:
 1567|  74.3k|{
 1568|  74.3k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (1568:5): [True: 74.3k, False: 0]
  ------------------
 1569|  74.3k|    Py_ssize_t len = PyList_GET_SIZE(consts);
  ------------------
  |  |   38|  74.3k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1570|   287k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1570:28): [True: 212k, False: 74.3k]
  ------------------
 1571|   212k|        PyObject *item = PyList_GET_ITEM(consts, i);
  ------------------
  |  |   40|   212k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|   212k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   212k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1571:26): [True: 212k, False: 0]
  ------------------
 1572|      0|        PyObject *v = intern_constant(const_cache, item);
 1573|   212k|        if (v == NULL) {
  ------------------
  |  Branch (1573:13): [True: 0, False: 212k]
  ------------------
 1574|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1575|      0|        }
 1576|   212k|        PyList_SET_ITEM(consts, i, v);
  ------------------
  |  |   50|   212k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   212k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   212k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   212k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   212k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1577|   212k|        Py_DECREF(item);
  ------------------
  |  |  430|   212k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   212k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   212k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1578|   212k|    }
 1579|  74.3k|    return SUCCESS;
  ------------------
  |  |   36|  74.3k|#define SUCCESS 0
  ------------------
 1580|  74.3k|}
compile.c:intern_constant:
 1456|  3.47M|{
 1457|  3.47M|    if (PyUnicode_CheckExact(o)) {
  ------------------
  |  |  104|  3.47M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  3.47M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 77.8k, False: 3.39M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1458|  77.8k|        Py_INCREF(o);
  ------------------
  |  |  310|  77.8k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  77.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  77.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1459|  77.8k|        if (_PyCode_ShouldInternString(o)) {
  ------------------
  |  Branch (1459:13): [True: 47.7k, False: 30.0k]
  ------------------
 1460|  47.7k|            _PyUnicode_InternMortal(_PyInterpreterState_GET(), &o);
 1461|  47.7k|        }
 1462|  77.8k|        return o;
 1463|  77.8k|    }
 1464|  3.39M|    if (PyTuple_CheckExact(o)) {
  ------------------
  |  |   28|  3.39M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  3.39M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 100k, False: 3.29M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1465|   100k|        Py_ssize_t len = PyTuple_GET_SIZE(o);
  ------------------
  |  |   27|   100k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1466|  3.34M|        for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1466:32): [True: 3.24M, False: 100k]
  ------------------
 1467|  3.24M|            PyObject *item = PyTuple_GET_ITEM(o, i);
  ------------------
  |  |   29|  3.24M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.24M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1467:30): [True: 3.24M, False: 0]
  ------------------
 1468|      0|            PyObject *v = intern_constant(const_cache, item);
 1469|  3.24M|            if (v == NULL) {
  ------------------
  |  Branch (1469:17): [True: 0, False: 3.24M]
  ------------------
 1470|      0|                return NULL;
 1471|      0|            }
 1472|  3.24M|            if (v != item) {
  ------------------
  |  Branch (1472:17): [True: 396, False: 3.24M]
  ------------------
 1473|       |                // intern_constants() makes the same replacement in the
 1474|       |                // tuple if it is not made here.
 1475|    396|                PyTuple_SET_ITEM(o, i, v);
  ------------------
  |  |   40|    396|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1476|    396|                Py_DECREF(item);
  ------------------
  |  |  430|    396|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1477|    396|            }
 1478|  3.24M|            else {
 1479|  3.24M|                Py_DECREF(v);
  ------------------
  |  |  430|  3.24M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1480|  3.24M|            }
 1481|  3.24M|        }
 1482|   100k|        return Py_NewRef(o);
  ------------------
  |  |  647|   100k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1483|   100k|    }
 1484|  3.29M|    if (!PyFrozenSet_CheckExact(o) && !PySlice_Check(o)) {
  ------------------
  |  |   23|  3.29M|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  6.59M|#  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyFrozenSet_CheckExact(o) && !PySlice_Check(o)) {
  ------------------
  |  |   22|  3.29M|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  3.29M|#  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 (1484:9): [True: 3.29M, False: 1.84k]
  |  Branch (1484:39): [True: 3.29M, False: 1.87k]
  ------------------
 1485|  3.29M|        return Py_NewRef(o);
  ------------------
  |  |  647|  3.29M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1486|  3.29M|    }
 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|  3.71k|    PyObject *key = const_cache_insert(const_cache, o, false);
 1492|  3.71k|    if (key == NULL) {
  ------------------
  |  Branch (1492:9): [True: 0, False: 3.71k]
  ------------------
 1493|      0|        return NULL;
 1494|      0|    }
 1495|  3.71k|    assert(PyTuple_CheckExact(key));
  ------------------
  |  Branch (1495:5): [True: 3.71k, False: 0]
  ------------------
 1496|  3.71k|    assert(PyTuple_GET_SIZE(key) == 2);
  ------------------
  |  Branch (1496:5): [True: 3.71k, False: 0]
  ------------------
 1497|  3.71k|    o = PyTuple_GET_ITEM(key, 1);
  ------------------
  |  |   29|  3.71k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.71k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1497:9): [True: 3.71k, False: 0]
  ------------------
 1498|       |
 1499|      0|    PyObject *items;
 1500|  3.71k|    if (PyFrozenSet_CheckExact(o)) {
  ------------------
  |  |   23|  3.71k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  3.71k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.84k, False: 1.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1501|  1.84k|        items = PySequence_Tuple(o);
 1502|  1.84k|    }
 1503|  1.87k|    else {
 1504|  1.87k|        PySliceObject *slice = (PySliceObject *)o;
 1505|  1.87k|        items = PyTuple_Pack(3, slice->start, slice->stop, slice->step);
 1506|  1.87k|    }
 1507|  3.71k|    if (items == NULL) {
  ------------------
  |  Branch (1507:9): [True: 0, False: 3.71k]
  ------------------
 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|  3.71k|    bool modified = false;
 1512|  3.71k|    Py_ssize_t len = PyTuple_GET_SIZE(items);
  ------------------
  |  |   27|  3.71k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1513|  21.8k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1513:28): [True: 18.1k, False: 3.71k]
  ------------------
 1514|  18.1k|        PyObject *item = PyTuple_GET_ITEM(items, i);
  ------------------
  |  |   29|  18.1k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  18.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1514:26): [True: 18.1k, False: 0]
  ------------------
 1515|      0|        PyObject *v = intern_constant(const_cache, item);
 1516|  18.1k|        if (v == NULL) {
  ------------------
  |  Branch (1516:13): [True: 0, False: 18.1k]
  ------------------
 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|  18.1k|        if (v != item) {
  ------------------
  |  Branch (1521:13): [True: 9, False: 18.1k]
  ------------------
 1522|      9|            modified = true;
 1523|      9|        }
 1524|  18.1k|        PyTuple_SET_ITEM(items, i, v);
  ------------------
  |  |   40|  18.1k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  18.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  18.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1525|  18.1k|        Py_DECREF(item);
  ------------------
  |  |  430|  18.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1526|  18.1k|    }
 1527|  3.71k|    if (modified) {
  ------------------
  |  Branch (1527:9): [True: 9, False: 3.70k]
  ------------------
 1528|      9|        PyObject *new;
 1529|      9|        if (PyFrozenSet_CheckExact(o)) {
  ------------------
  |  |   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: 1, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1530|      1|            new = PyFrozenSet_New(items);
 1531|      1|        }
 1532|      8|        else {
 1533|      8|            new = PySlice_New(PyTuple_GET_ITEM(items, 0),
  ------------------
  |  |   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 (1533:31): [True: 8, False: 0]
  ------------------
 1534|      8|                              PyTuple_GET_ITEM(items, 1),
  ------------------
  |  |   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 (1534:31): [True: 8, False: 0]
  ------------------
 1535|      8|                              PyTuple_GET_ITEM(items, 2));
  ------------------
  |  |   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 (1535:31): [True: 8, False: 0]
  ------------------
 1536|      8|        }
 1537|      9|        if (new == NULL) {
  ------------------
  |  Branch (1537:13): [True: 0, False: 9]
  ------------------
 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|      9|        PyTuple_SET_ITEM(key, 1, new);
  ------------------
  |  |   40|      9|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1543|      9|        Py_DECREF(o);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1544|      9|        o = new;
 1545|      9|    }
 1546|  3.71k|    Py_DECREF(items);
  ------------------
  |  |  430|  3.71k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1547|  3.71k|    Py_INCREF(o);
  ------------------
  |  |  310|  3.71k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1548|  3.71k|    Py_DECREF(key);
  ------------------
  |  |  430|  3.71k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1549|  3.71k|    return o;
 1550|  3.71k|}
compile.c:new_compiler:
  173|  12.7k|{
  174|  12.7k|    compiler *c = PyMem_Calloc(1, sizeof(compiler));
  175|  12.7k|    if (c == NULL) {
  ------------------
  |  Branch (175:9): [True: 0, False: 12.7k]
  ------------------
  176|      0|        PyErr_NoMemory();
  177|      0|        return NULL;
  178|      0|    }
  179|  12.7k|    if (compiler_setup(c, mod, filename, pflags, optimize, arena, module) < 0) {
  ------------------
  |  Branch (179:9): [True: 367, False: 12.3k]
  ------------------
  180|    367|        compiler_free(c);
  181|    367|        return NULL;
  182|    367|    }
  183|  12.3k|    return c;
  184|  12.7k|}
compile.c:compiler_setup:
  114|  12.7k|{
  115|  12.7k|    PyCompilerFlags local_flags = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|  12.7k|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|  12.7k|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
  116|       |
  117|  12.7k|    c->c_const_cache = PyDict_New();
  118|  12.7k|    if (!c->c_const_cache) {
  ------------------
  |  Branch (118:9): [True: 0, False: 12.7k]
  ------------------
  119|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  120|      0|    }
  121|       |
  122|  12.7k|    c->c_stack = PyList_New(0);
  123|  12.7k|    if (!c->c_stack) {
  ------------------
  |  Branch (123:9): [True: 0, False: 12.7k]
  ------------------
  124|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  125|      0|    }
  126|       |
  127|  12.7k|    c->c_filename = Py_NewRef(filename);
  ------------------
  |  |  647|  12.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  128|  12.7k|    if (!_PyFuture_FromAST(mod, filename, &c->c_future)) {
  ------------------
  |  Branch (128:9): [True: 89, False: 12.6k]
  ------------------
  129|     89|        return ERROR;
  ------------------
  |  |   37|     89|#define ERROR -1
  ------------------
  130|     89|    }
  131|  12.6k|    c->c_module = Py_XNewRef(module);
  ------------------
  |  |  648|  12.6k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  132|  12.6k|    if (!flags) {
  ------------------
  |  Branch (132:9): [True: 0, False: 12.6k]
  ------------------
  133|      0|        flags = &local_flags;
  134|      0|    }
  135|  12.6k|    int merged = c->c_future.ff_features | flags->cf_flags;
  136|  12.6k|    c->c_future.ff_features = merged;
  137|  12.6k|    flags->cf_flags = merged;
  138|  12.6k|    c->c_flags = *flags;
  139|  12.6k|    c->c_optimize = (optimize == -1) ? _Py_GetConfig()->optimization_level : optimize;
  ------------------
  |  Branch (139:21): [True: 3.64k, False: 8.99k]
  ------------------
  140|  12.6k|    c->c_save_nested_seqs = false;
  141|       |
  142|  12.6k|    if (!_PyAST_Preprocess(mod, arena, filename, c->c_optimize, merged,
  ------------------
  |  Branch (142:9): [True: 0, False: 12.6k]
  ------------------
  143|  12.6k|                           0, 1, module))
  144|      0|    {
  145|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  146|      0|    }
  147|  12.6k|    c->c_st = _PySymtable_Build(mod, filename, &c->c_future);
  148|  12.6k|    if (c->c_st == NULL) {
  ------------------
  |  Branch (148:9): [True: 278, False: 12.3k]
  ------------------
  149|    278|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (149:13): [True: 0, False: 278]
  ------------------
  150|      0|            PyErr_SetString(PyExc_SystemError, "no symtable");
  151|      0|        }
  152|    278|        return ERROR;
  ------------------
  |  |   37|    278|#define ERROR -1
  ------------------
  153|    278|    }
  154|  12.3k|    return SUCCESS;
  ------------------
  |  |   36|  12.3k|#define SUCCESS 0
  ------------------
  155|  12.6k|}
compile.c:compiler_mod:
  975|  12.3k|{
  976|  12.3k|    PyCodeObject *co = NULL;
  977|  12.3k|    int addNone = mod->kind != Expression_kind;
  978|  12.3k|    assert(c->u == NULL);
  ------------------
  |  Branch (978:5): [True: 12.3k, False: 0]
  ------------------
  979|  12.3k|    if (compiler_codegen(c, mod) < 0) {
  ------------------
  |  Branch (979:9): [True: 615, False: 11.7k]
  ------------------
  980|    615|        goto finally;
  981|    615|    }
  982|  11.7k|    co = _PyCompile_OptimizeAndAssemble(c, addNone);
  983|  12.3k|finally:
  984|  12.3k|    if (c->u != NULL) {
  ------------------
  |  Branch (984:9): [True: 12.3k, False: 0]
  ------------------
  985|  12.3k|        _PyCompile_ExitScope(c);
  986|  12.3k|    }
  987|  12.3k|    return co;
  988|  11.7k|}
compile.c:compiler_free:
  159|  12.7k|{
  160|  12.7k|    if (c->c_st) {
  ------------------
  |  Branch (160:9): [True: 12.3k, False: 367]
  ------------------
  161|  12.3k|        _PySymtable_Free(c->c_st);
  162|  12.3k|    }
  163|  12.7k|    Py_XDECREF(c->c_filename);
  ------------------
  |  |  621|  12.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|  12.7k|    Py_XDECREF(c->c_module);
  ------------------
  |  |  621|  12.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|  12.7k|    Py_XDECREF(c->c_const_cache);
  ------------------
  |  |  621|  12.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|  12.7k|    Py_XDECREF(c->c_stack);
  ------------------
  |  |  621|  12.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  167|  12.7k|    PyMem_Free(c);
  168|  12.7k|}
compile.c:compiler_codegen:
  945|  12.3k|{
  946|  12.3k|    RETURN_IF_ERROR(_PyCodegen_EnterAnonymousScope(c, mod));
  ------------------
  |  |   40|  12.3k|    do {                    \
  |  |   41|  12.3k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 12.3k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  12.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 12.3k]
  |  |  ------------------
  ------------------
  947|  12.3k|    assert(c->u->u_scope_type == COMPILE_SCOPE_MODULE);
  ------------------
  |  Branch (947:5): [True: 12.3k, False: 0]
  ------------------
  948|  12.3k|    switch (mod->kind) {
  949|  8.27k|    case Module_kind: {
  ------------------
  |  Branch (949:5): [True: 8.27k, False: 4.08k]
  ------------------
  950|  8.27k|        asdl_stmt_seq *stmts = mod->v.Module.body;
  951|  8.27k|        RETURN_IF_ERROR(_PyCodegen_Module(c, start_location(stmts), stmts, false));
  ------------------
  |  |   40|  8.27k|    do {                    \
  |  |   41|  8.27k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 365, False: 7.90k]
  |  |  ------------------
  |  |   42|    365|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|    365|#define ERROR -1
  |  |  ------------------
  |  |   43|    365|        }                   \
  |  |   44|  8.27k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 7.90k]
  |  |  ------------------
  ------------------
  952|  7.90k|        break;
  953|  8.27k|    }
  954|  7.90k|    case Interactive_kind: {
  ------------------
  |  Branch (954:5): [True: 2.30k, False: 10.0k]
  ------------------
  955|  2.30k|        c->c_interactive = 1;
  956|  2.30k|        asdl_stmt_seq *stmts = mod->v.Interactive.body;
  957|  2.30k|        RETURN_IF_ERROR(_PyCodegen_Module(c, start_location(stmts), stmts, true));
  ------------------
  |  |   40|  2.30k|    do {                    \
  |  |   41|  2.30k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 209, False: 2.09k]
  |  |  ------------------
  |  |   42|    209|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|    209|#define ERROR -1
  |  |  ------------------
  |  |   43|    209|        }                   \
  |  |   44|  2.30k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 2.09k]
  |  |  ------------------
  ------------------
  958|  2.09k|        break;
  959|  2.30k|    }
  960|  2.09k|    case Expression_kind: {
  ------------------
  |  Branch (960:5): [True: 1.78k, False: 10.5k]
  ------------------
  961|  1.78k|        RETURN_IF_ERROR(_PyCodegen_Expression(c, mod->v.Expression.body));
  ------------------
  |  |   40|  1.78k|    do {                    \
  |  |   41|  1.78k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 41, False: 1.73k]
  |  |  ------------------
  |  |   42|     41|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|     41|#define ERROR -1
  |  |  ------------------
  |  |   43|     41|        }                   \
  |  |   44|  1.78k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 1.73k]
  |  |  ------------------
  ------------------
  962|  1.73k|        break;
  963|  1.78k|    }
  964|  1.73k|    default: {
  ------------------
  |  Branch (964:5): [True: 0, False: 12.3k]
  ------------------
  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.78k|    }}
  970|  11.7k|    return SUCCESS;
  ------------------
  |  |   36|  11.7k|#define SUCCESS 0
  ------------------
  971|  12.3k|}
compile.c:start_location:
  930|  10.5k|{
  931|  10.5k|    if (asdl_seq_LEN(stmts) > 0) {
  ------------------
  |  |   83|  10.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  21.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 111, False: 10.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (931:9): [True: 10.4k, False: 111]
  ------------------
  932|       |        /* Set current line number to the line number of first statement.
  933|       |         * This way line number for SETUP_ANNOTATIONS will always
  934|       |         * coincide with the line number of first "real" statement in module.
  935|       |         * If body is empty, then lineno will be set later in the assembly stage.
  936|       |         */
  937|  10.4k|        stmt_ty st = (stmt_ty)asdl_seq_GET(stmts, 0);
  ------------------
  |  |   82|  10.4k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  10.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  938|  10.4k|        return SRC_LOCATION_FROM_AST(st);
  ------------------
  |  |   58|  10.4k|    (_Py_SourceLocation){ \
  |  |   59|  10.4k|               .lineno = (n)->lineno, \
  |  |   60|  10.4k|               .end_lineno = (n)->end_lineno, \
  |  |   61|  10.4k|               .col_offset = (n)->col_offset, \
  |  |   62|  10.4k|               .end_col_offset = (n)->end_col_offset }
  ------------------
  939|  10.4k|    }
  940|    111|    return (const _Py_SourceLocation){1, 1, 0, 0};
  941|  10.5k|}
compile.c:consts_dict_keys_inorder:
 1418|  74.3k|{
 1419|  74.3k|    PyObject *consts, *k, *v;
 1420|  74.3k|    Py_ssize_t i, pos = 0, size = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|  74.3k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1421|       |
 1422|  74.3k|    consts = PyList_New(size);   /* PyCode_Optimize() requires a list */
 1423|  74.3k|    if (consts == NULL)
  ------------------
  |  Branch (1423:9): [True: 0, False: 74.3k]
  ------------------
 1424|      0|        return NULL;
 1425|   417k|    while (PyDict_Next(dict, &pos, &k, &v)) {
  ------------------
  |  Branch (1425:12): [True: 342k, False: 74.3k]
  ------------------
 1426|   342k|        assert(PyLong_CheckExact(v));
  ------------------
  |  Branch (1426:9): [True: 342k, False: 0]
  ------------------
 1427|   342k|        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|   342k|        if (PyTuple_CheckExact(k)) {
  ------------------
  |  |   28|   342k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   342k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   342k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   342k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 37.1k, False: 305k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1432|  37.1k|            k = PyTuple_GET_ITEM(k, 1);
  ------------------
  |  |   29|  37.1k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  37.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1432:17): [True: 37.1k, False: 0]
  ------------------
 1433|  37.1k|        }
 1434|   342k|        assert(i < size);
  ------------------
  |  Branch (1434:9): [True: 342k, False: 0]
  ------------------
 1435|   342k|        assert(i >= 0);
  ------------------
  |  Branch (1435:9): [True: 342k, False: 0]
  ------------------
 1436|   342k|        PyList_SET_ITEM(consts, i, Py_NewRef(k));
  ------------------
  |  |   50|   342k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   342k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   342k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   342k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   342k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1437|   342k|    }
 1438|  74.3k|    return consts;
 1439|  74.3k|}

initconfig.c:config_dict_get:
   20|    144|{
   21|    144|    PyObject *item;
   22|    144|    if (_config_dict_get(dict, name, &item) < 0) {
  ------------------
  |  Branch (22:9): [True: 0, False: 144]
  ------------------
   23|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (23:13): [True: 0, False: 0]
  ------------------
   24|      0|            PyErr_Format(PyExc_ValueError, "missing config key: %s", name);
   25|      0|        }
   26|      0|        return NULL;
   27|      0|    }
   28|    144|    return item;
   29|    144|}
initconfig.c:_config_dict_get:
    4|    144|{
    5|    144|    PyObject *item;
    6|    144|    if (PyDict_GetItemStringRef(dict, name, &item) < 0) {
  ------------------
  |  Branch (6:9): [True: 0, False: 144]
  ------------------
    7|      0|        return -1;
    8|      0|    }
    9|    144|    if (item == NULL) {
  ------------------
  |  Branch (9:9): [True: 0, False: 144]
  ------------------
   10|       |        // We do not set an exception.
   11|      0|        return -1;
   12|      0|    }
   13|    144|    *p_item = item;
   14|    144|    return 0;
   15|    144|}

PyContextVar_New:
  307|      2|{
  308|      2|    PyObject *pyname = PyUnicode_FromString(name);
  309|      2|    if (pyname == NULL) {
  ------------------
  |  Branch (309:9): [True: 0, False: 2]
  ------------------
  310|      0|        return NULL;
  311|      0|    }
  312|      2|    PyContextVar *var = contextvar_new(pyname, def);
  313|      2|    Py_DECREF(pyname);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  314|      2|    return (PyObject *)var;
  315|      2|}
PyContextVar_Get:
  320|  41.4k|{
  321|  41.4k|    ENSURE_ContextVar(ovar, -1)
  ------------------
  |  |   31|  41.4k|    if (!PyContextVar_CheckExact(o)) {                              \
  |  |  ------------------
  |  |  |  |   19|  41.4k|#define PyContextVar_CheckExact(o) Py_IS_TYPE((o), &PyContextVar_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  41.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (31:9): [True: 0, False: 41.4k]
  |  |  ------------------
  |  |   32|      0|        PyErr_SetString(PyExc_TypeError,                            \
  |  |   33|      0|                       "an instance of ContextVar was expected");   \
  |  |   34|      0|        return err_ret;                                             \
  |  |   35|      0|    }
  ------------------
  322|  41.4k|    PyContextVar *var = (PyContextVar *)ovar;
  323|       |
  324|  41.4k|    PyThreadState *ts = _PyThreadState_GET();
  325|  41.4k|    assert(ts != NULL);
  ------------------
  |  Branch (325:5): [True: 41.4k, False: 0]
  ------------------
  326|  41.4k|    if (ts->context == NULL) {
  ------------------
  |  Branch (326:9): [True: 28.2k, False: 13.1k]
  ------------------
  327|  28.2k|        goto not_found;
  328|  28.2k|    }
  329|       |
  330|  13.1k|#ifndef Py_GIL_DISABLED
  331|  13.1k|    if (var->var_cached != NULL &&
  ------------------
  |  Branch (331:9): [True: 0, False: 13.1k]
  ------------------
  332|      0|            var->var_cached_tsid == ts->id &&
  ------------------
  |  Branch (332:13): [True: 0, False: 0]
  ------------------
  333|      0|            var->var_cached_tsver == ts->context_ver)
  ------------------
  |  Branch (333:13): [True: 0, False: 0]
  ------------------
  334|      0|    {
  335|      0|        *val = var->var_cached;
  336|      0|        goto found;
  337|      0|    }
  338|  13.1k|#endif
  339|       |
  340|  13.1k|    assert(PyContext_CheckExact(ts->context));
  ------------------
  |  Branch (340:5): [True: 13.1k, False: 0]
  ------------------
  341|  13.1k|    PyHamtObject *vars = context_get_current_vars((PyContext *)ts->context);
  342|       |
  343|  13.1k|    PyObject *found = NULL;
  344|  13.1k|    int res = _PyHamt_Find(vars, (PyObject*)var, &found);
  345|  13.1k|    if (res < 0) {
  ------------------
  |  Branch (345:9): [True: 0, False: 13.1k]
  ------------------
  346|      0|        goto error;
  347|      0|    }
  348|  13.1k|    if (res == 1) {
  ------------------
  |  Branch (348:9): [True: 0, False: 13.1k]
  ------------------
  349|      0|        assert(found != NULL);
  ------------------
  |  Branch (349:9): [True: 0, False: 0]
  ------------------
  350|      0|#ifndef Py_GIL_DISABLED
  351|      0|        var->var_cached = found;  /* borrow */
  352|      0|        var->var_cached_tsid = ts->id;
  353|      0|        var->var_cached_tsver = ts->context_ver;
  354|      0|#endif
  355|       |
  356|      0|        *val = found;
  357|      0|        goto found;
  358|      0|    }
  359|       |
  360|  41.4k|not_found:
  361|  41.4k|    if (def == NULL) {
  ------------------
  |  Branch (361:9): [True: 41.4k, False: 0]
  ------------------
  362|  41.4k|        if (var->var_default != NULL) {
  ------------------
  |  Branch (362:13): [True: 0, False: 41.4k]
  ------------------
  363|      0|            *val = var->var_default;
  364|      0|            goto found;
  365|      0|        }
  366|       |
  367|  41.4k|        *val = NULL;
  368|  41.4k|        goto found;
  369|  41.4k|    }
  370|      0|    else {
  371|      0|        *val = def;
  372|      0|        goto found;
  373|      0|   }
  374|       |
  375|  41.4k|found:
  376|  41.4k|    Py_XINCREF(*val);
  ------------------
  |  |  611|  41.4k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  377|  41.4k|    return 0;
  378|       |
  379|      0|error:
  380|       |    *val = NULL;
  381|      0|    return -1;
  382|  41.4k|}
PyContextVar_Set:
  387|      1|{
  388|      1|    ENSURE_ContextVar(ovar, NULL)
  ------------------
  |  |   31|      1|    if (!PyContextVar_CheckExact(o)) {                              \
  |  |  ------------------
  |  |  |  |   19|      1|#define PyContextVar_CheckExact(o) Py_IS_TYPE((o), &PyContextVar_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      1|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (31:9): [True: 0, False: 1]
  |  |  ------------------
  |  |   32|      0|        PyErr_SetString(PyExc_TypeError,                            \
  |  |   33|      0|                       "an instance of ContextVar was expected");   \
  |  |   34|      0|        return err_ret;                                             \
  |  |   35|      0|    }
  ------------------
  389|      1|    PyContextVar *var = (PyContextVar *)ovar;
  390|       |
  391|      1|    PyContext *ctx = context_get();
  392|      1|    if (ctx == NULL) {
  ------------------
  |  Branch (392:9): [True: 0, False: 1]
  ------------------
  393|      0|        return NULL;
  394|      0|    }
  395|       |
  396|      1|    PyObject *old_val = NULL;
  397|      1|    int found = _PyHamt_Find(context_get_current_vars(ctx), (PyObject *)var,
  398|      1|                             &old_val);
  399|      1|    if (found < 0) {
  ------------------
  |  Branch (399:9): [True: 0, False: 1]
  ------------------
  400|      0|        return NULL;
  401|      0|    }
  402|       |
  403|      1|    Py_XINCREF(old_val);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  404|      1|    PyContextToken *tok = token_new(ctx, var, old_val);
  405|      1|    Py_XDECREF(old_val);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  406|      1|    if (tok == NULL) {
  ------------------
  |  Branch (406:9): [True: 0, False: 1]
  ------------------
  407|      0|        return NULL;
  408|      0|    }
  409|       |
  410|      1|    if (contextvar_set(var, val)) {
  ------------------
  |  Branch (410:9): [True: 0, False: 1]
  ------------------
  411|      0|        Py_DECREF(tok);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|      0|        return NULL;
  413|      0|    }
  414|       |
  415|      1|    return (PyObject *)tok;
  416|      1|}
_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:context_get_current_vars:
   83|  13.1k|{
   84|       |    // ctx_vars written only by the owning thread, and read by other threads
   85|       |    // only under the context's lock, a plain (non-atomic) load is okay
   86|  13.1k|    PyHamtObject *vars = ctx->ctx_vars;
   87|  13.1k|    assert(vars != NULL);
  ------------------
  |  Branch (87:5): [True: 13.1k, False: 0]
  ------------------
   88|  13.1k|    return vars;
   89|  13.1k|}
context.c:context_new_empty:
  490|      1|{
  491|      1|    PyContext *ctx = _context_alloc();
  492|      1|    if (ctx == NULL) {
  ------------------
  |  Branch (492:9): [True: 0, False: 1]
  ------------------
  493|      0|        return NULL;
  494|      0|    }
  495|       |
  496|      1|    ctx->ctx_vars = _PyHamt_New();
  497|      1|    if (ctx->ctx_vars == NULL) {
  ------------------
  |  Branch (497:9): [True: 0, False: 1]
  ------------------
  498|      0|        Py_DECREF(ctx);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  499|      0|        return NULL;
  500|      0|    }
  501|       |
  502|      1|    _PyObject_GC_TRACK(ctx);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  503|      1|    return ctx;
  504|      1|}
context.c:_context_alloc:
  470|      1|{
  471|      1|    PyContext *ctx = _Py_FREELIST_POP(PyContext, contexts);
  ------------------
  |  |   43|      1|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  472|      1|    if (ctx == NULL) {
  ------------------
  |  Branch (472:9): [True: 1, False: 0]
  ------------------
  473|      1|        ctx = PyObject_GC_New(PyContext, &PyContext_Type);
  ------------------
  |  |  181|      1|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  474|      1|        if (ctx == NULL) {
  ------------------
  |  Branch (474:13): [True: 0, False: 1]
  ------------------
  475|      0|            return NULL;
  476|      0|        }
  477|      1|    }
  478|       |
  479|      1|    ctx->ctx_vars = NULL;
  480|      1|    ctx->ctx_prev = NULL;
  481|      1|    ctx->ctx_entered = 0;
  482|      1|    ctx->ctx_weakreflist = NULL;
  483|       |
  484|      1|    return ctx;
  485|      1|}
context.c:context_get:
  524|      2|{
  525|      2|    PyThreadState *ts = _PyThreadState_GET();
  526|      2|    assert(ts != NULL);
  ------------------
  |  Branch (526:5): [True: 2, False: 0]
  ------------------
  527|      2|    PyContext *current_ctx = (PyContext *)ts->context;
  528|      2|    if (current_ctx == NULL) {
  ------------------
  |  Branch (528:9): [True: 1, False: 1]
  ------------------
  529|      1|        current_ctx = context_new_empty();
  530|      1|        if (current_ctx == NULL) {
  ------------------
  |  Branch (530:13): [True: 0, False: 1]
  ------------------
  531|      0|            return NULL;
  532|      0|        }
  533|      1|        ts->context = (PyObject *)current_ctx;
  534|      1|    }
  535|      2|    return current_ctx;
  536|      2|}
context.c:context_tp_traverse:
  572|     14|{
  573|     14|    PyContext *self = _PyContext_CAST(op);
  ------------------
  |  |  465|     14|#define _PyContext_CAST(op)     ((PyContext *)(op))
  ------------------
  574|     14|    Py_VISIT(self->ctx_prev);
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 14]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
  575|     14|    Py_VISIT(self->ctx_vars);
  ------------------
  |  |  194|     14|    do {                                                                \
  |  |  195|     14|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 14, False: 0]
  |  |  ------------------
  |  |  196|     14|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     14|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 14]
  |  |  ------------------
  |  |  198|     14|                return vret;                                            \
  |  |  199|     14|        }                                                               \
  |  |  200|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
  576|     14|    return 0;
  577|     14|}
context.c:contextvar_set:
  858|      1|{
  859|      1|#ifndef Py_GIL_DISABLED
  860|      1|    var->var_cached = NULL;
  861|      1|    PyThreadState *ts = _PyThreadState_GET();
  862|      1|#endif
  863|       |
  864|      1|    PyContext *ctx = context_get();
  865|      1|    if (ctx == NULL) {
  ------------------
  |  Branch (865:9): [True: 0, False: 1]
  ------------------
  866|      0|        return -1;
  867|      0|    }
  868|       |
  869|       |    // gh-148891: Make a strong reference so a GC during _PyHamt_Assoc will
  870|       |    // not free the HAMT during traversal.
  871|      1|    PyHamtObject *old_vars = context_get_current_vars(ctx);
  872|      1|    Py_INCREF(old_vars);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  873|      1|    PyHamtObject *new_vars = _PyHamt_Assoc(
  874|      1|        old_vars, (PyObject *)var, val);
  875|      1|    Py_DECREF(old_vars);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  876|      1|    if (new_vars == NULL) {
  ------------------
  |  Branch (876:9): [True: 0, False: 1]
  ------------------
  877|      0|        return -1;
  878|      0|    }
  879|       |
  880|      1|#ifndef Py_GIL_DISABLED
  881|      1|    var->var_cached = val;  /* borrow */
  882|      1|    var->var_cached_tsid = ts->id;
  883|      1|    var->var_cached_tsver = ts->context_ver;
  884|      1|#endif
  885|       |    /* Releasing the old variables may run a finalizer that updates the cache. */
  886|      1|    context_set_vars(ctx, new_vars);
  887|      1|    return 0;
  888|      1|}
context.c:context_set_vars:
   95|      1|{
   96|      1|    PyHamtObject *old_vars;
   97|      1|    Py_BEGIN_CRITICAL_SECTION(ctx);
  ------------------
  |  |   51|      1|    {
  ------------------
   98|      1|    old_vars = ctx->ctx_vars;
   99|      1|    ctx->ctx_vars = new_vars;
  100|      1|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      1|    }
  ------------------
  101|      1|    Py_XDECREF(old_vars);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  102|      1|}
context.c:contextvar_new:
  952|      4|{
  953|      4|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|      4|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (953:9): [True: 0, False: 4]
  ------------------
  954|      0|        PyErr_SetString(PyExc_TypeError,
  955|      0|                        "context variable name must be a str");
  956|      0|        return NULL;
  957|      0|    }
  958|       |
  959|      4|    PyContextVar *var = PyObject_GC_New(PyContextVar, &PyContextVar_Type);
  ------------------
  |  |  181|      4|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  960|      4|    if (var == NULL) {
  ------------------
  |  Branch (960:9): [True: 0, False: 4]
  ------------------
  961|      0|        return NULL;
  962|      0|    }
  963|       |
  964|      4|    var->var_name = Py_NewRef(name);
  ------------------
  |  |  647|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|      4|    var->var_default = Py_XNewRef(def);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  966|       |
  967|      4|#ifndef Py_GIL_DISABLED
  968|      4|    var->var_cached = NULL;
  969|      4|    var->var_cached_tsid = 0;
  970|      4|    var->var_cached_tsver = 0;
  971|      4|#endif
  972|       |
  973|      4|    var->var_hash = contextvar_generate_hash(var, name);
  974|      4|    if (var->var_hash == -1) {
  ------------------
  |  Branch (974:9): [True: 0, False: 4]
  ------------------
  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|      4|    if (_PyObject_GC_MAY_BE_TRACKED(name) ||
  ------------------
  |  Branch (979:9): [True: 0, False: 4]
  ------------------
  980|      4|            (def != NULL && _PyObject_GC_MAY_BE_TRACKED(def)))
  ------------------
  |  Branch (980:14): [True: 0, False: 4]
  |  Branch (980:29): [True: 0, False: 0]
  ------------------
  981|      0|    {
  982|      0|        PyObject_GC_Track(var);
  983|      0|    }
  984|      4|    return var;
  985|      4|}
context.c:contextvar_generate_hash:
  924|      4|{
  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|      4|    Py_hash_t name_hash = PyObject_Hash(name);
  942|      4|    if (name_hash == -1) {
  ------------------
  |  Branch (942:9): [True: 0, False: 4]
  ------------------
  943|      0|        return -1;
  944|      0|    }
  945|       |
  946|      4|    Py_hash_t res = Py_HashPointer(addr) ^ name_hash;
  947|      4|    return res == -1 ? -2 : res;
  ------------------
  |  Branch (947:12): [True: 0, False: 4]
  ------------------
  948|      4|}
context.c:contextvar_tp_hash:
 1046|  13.1k|{
 1047|  13.1k|    PyContextVar *self = _PyContextVar_CAST(op);
  ------------------
  |  |  994|  13.1k|#define _PyContextVar_CAST(op)  ((PyContextVar *)(op))
  ------------------
 1048|  13.1k|    return self->var_hash;
 1049|  13.1k|}
context.c:_contextvars_ContextVar_get_impl:
 1111|      1|{
 1112|      1|    PyObject *val;
 1113|      1|    if (PyContextVar_Get((PyObject *)self, default_value, &val) < 0) {
  ------------------
  |  Branch (1113:9): [True: 0, False: 1]
  ------------------
 1114|      0|        return NULL;
 1115|      0|    }
 1116|       |
 1117|      1|    if (val == NULL) {
  ------------------
  |  Branch (1117:9): [True: 1, False: 0]
  ------------------
 1118|      1|        PyErr_SetObject(PyExc_LookupError, (PyObject *)self);
 1119|      1|        return NULL;
 1120|      1|    }
 1121|       |
 1122|      0|    return val;
 1123|      1|}
context.c:_contextvars_ContextVar_set_impl:
 1143|      1|{
 1144|      1|    return PyContextVar_Set((PyObject *)self, value);
 1145|      1|}
context.c:contextvar_tp_new:
  999|      2|{
 1000|      2|    static char *kwlist[] = {"", "default", NULL};
 1001|      2|    PyObject *name;
 1002|      2|    PyObject *def = NULL;
 1003|       |
 1004|      2|    if (!PyArg_ParseTupleAndKeywords(
  ------------------
  |  Branch (1004:9): [True: 0, False: 2]
  ------------------
 1005|      2|            args, kwds, "O|$O:ContextVar", kwlist, &name, &def))
 1006|      0|    {
 1007|      0|        return NULL;
 1008|      0|    }
 1009|       |
 1010|      2|    return (PyObject *)contextvar_new(name, def);
 1011|      2|}
context.c:token_tp_dealloc:
 1253|      1|{
 1254|      1|    PyObject_GC_UnTrack(self);
 1255|      1|    (void)token_tp_clear(self);
 1256|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1257|      1|}
context.c:token_tp_clear:
 1233|      1|{
 1234|      1|    PyContextToken *self = _PyContextToken_CAST(op);
  ------------------
  |  | 1220|      1|#define _PyContextToken_CAST(op)    ((PyContextToken *)(op))
  ------------------
 1235|      1|    Py_CLEAR(self->tok_ctx);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1236|      1|    Py_CLEAR(self->tok_var);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1237|       |    Py_CLEAR(self->tok_oldval);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1238|      1|    return 0;
 1239|      1|}
context.c:token_new:
 1379|      1|{
 1380|      1|    PyContextToken *tok = PyObject_GC_New(PyContextToken, &PyContextToken_Type);
  ------------------
  |  |  181|      1|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1381|      1|    if (tok == NULL) {
  ------------------
  |  Branch (1381:9): [True: 0, False: 1]
  ------------------
 1382|      0|        return NULL;
 1383|      0|    }
 1384|       |
 1385|      1|    tok->tok_ctx = (PyContext*)Py_NewRef(ctx);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1386|       |
 1387|      1|    tok->tok_var = (PyContextVar*)Py_NewRef(var);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1388|       |
 1389|      1|    tok->tok_oldval = Py_XNewRef(val);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1390|       |
 1391|      1|    tok->tok_used = 0;
 1392|       |
 1393|      1|    PyObject_GC_Track(tok);
 1394|      1|    return tok;
 1395|      1|}
context.c:get_token_missing:
 1432|      2|{
 1433|      2|    return (PyObject *)&_Py_SINGLETON(context_token_missing);
  ------------------
  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1434|      2|}

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

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

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

_Py_dg_strtod:
 1389|   164k|{
 1390|   164k|    int bb2, bb5, bbe, bd2, bd5, bs2, c, dsign, e, e1, error;
 1391|   164k|    int esign, i, j, k, lz, nd, nd0, odd, sign;
 1392|   164k|    const char *s, *s0, *s1;
 1393|   164k|    double aadj, aadj1;
 1394|   164k|    U aadj2, adj, rv, rv0;
 1395|   164k|    ULong y, z, abs_exp;
 1396|   164k|    Long L;
 1397|   164k|    BCinfo bc;
 1398|   164k|    Bigint *bb = NULL, *bd = NULL, *bd0 = NULL, *bs = NULL, *delta = NULL;
 1399|   164k|    size_t ndigits, fraclen;
 1400|   164k|    double result;
 1401|       |
 1402|   164k|    dval(&rv) = 0.;
  ------------------
  |  |  188|   164k|#define dval(x) (x)->d
  ------------------
 1403|       |
 1404|       |    /* Start parsing. */
 1405|   164k|    c = *(s = s00);
 1406|       |
 1407|       |    /* Parse optional sign, if present. */
 1408|   164k|    sign = 0;
 1409|   164k|    switch (c) {
  ------------------
  |  Branch (1409:13): [True: 0, False: 164k]
  ------------------
 1410|      0|    case '-':
  ------------------
  |  Branch (1410:5): [True: 0, False: 164k]
  ------------------
 1411|      0|        sign = 1;
 1412|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1413|      0|    case '+':
  ------------------
  |  Branch (1413:5): [True: 0, False: 164k]
  ------------------
 1414|      0|        c = *++s;
 1415|   164k|    }
 1416|       |
 1417|       |    /* Skip leading zeros: lz is true iff there were leading zeros. */
 1418|   164k|    s1 = s;
 1419|   191k|    while (c == '0')
  ------------------
  |  Branch (1419:12): [True: 27.6k, False: 164k]
  ------------------
 1420|  27.6k|        c = *++s;
 1421|   164k|    lz = s != s1;
 1422|       |
 1423|       |    /* Point s0 at the first nonzero digit (if any).  fraclen will be the
 1424|       |       number of digits between the decimal point and the end of the
 1425|       |       digit string.  ndigits will be the total number of digits ignoring
 1426|       |       leading zeros. */
 1427|   164k|    s0 = s1 = s;
 1428|   941k|    while ('0' <= c && c <= '9')
  ------------------
  |  Branch (1428:12): [True: 879k, False: 61.8k]
  |  Branch (1428:24): [True: 777k, False: 102k]
  ------------------
 1429|   777k|        c = *++s;
 1430|   164k|    ndigits = s - s1;
 1431|   164k|    fraclen = 0;
 1432|       |
 1433|       |    /* Parse decimal point and following digits. */
 1434|   164k|    if (c == '.') {
  ------------------
  |  Branch (1434:9): [True: 61.8k, False: 102k]
  ------------------
 1435|  61.8k|        c = *++s;
 1436|  61.8k|        if (!ndigits) {
  ------------------
  |  Branch (1436:13): [True: 18.7k, False: 43.1k]
  ------------------
 1437|  18.7k|            s1 = s;
 1438|  23.2k|            while (c == '0')
  ------------------
  |  Branch (1438:20): [True: 4.54k, False: 18.7k]
  ------------------
 1439|  4.54k|                c = *++s;
 1440|  18.7k|            lz = lz || s != s1;
  ------------------
  |  Branch (1440:18): [True: 3.30k, False: 15.4k]
  |  Branch (1440:24): [True: 1.71k, False: 13.6k]
  ------------------
 1441|  18.7k|            fraclen += (s - s1);
 1442|  18.7k|            s0 = s;
 1443|  18.7k|        }
 1444|  61.8k|        s1 = s;
 1445|   284k|        while ('0' <= c && c <= '9')
  ------------------
  |  Branch (1445:16): [True: 232k, False: 51.8k]
  |  Branch (1445:28): [True: 222k, False: 10.0k]
  ------------------
 1446|   222k|            c = *++s;
 1447|  61.8k|        ndigits += s - s1;
 1448|  61.8k|        fraclen += s - s1;
 1449|  61.8k|    }
 1450|       |
 1451|       |    /* Now lz is true if and only if there were leading zero digits, and
 1452|       |       ndigits gives the total number of digits ignoring leading zeros.  A
 1453|       |       valid input must have at least one digit. */
 1454|   164k|    if (!ndigits && !lz) {
  ------------------
  |  Branch (1454:9): [True: 13.4k, False: 150k]
  |  Branch (1454:21): [True: 0, False: 13.4k]
  ------------------
 1455|      0|        if (se)
  ------------------
  |  Branch (1455:13): [True: 0, False: 0]
  ------------------
 1456|      0|            *se = (char *)s00;
 1457|      0|        goto parse_error;
 1458|      0|    }
 1459|       |
 1460|       |    /* Range check ndigits and fraclen to make sure that they, and values
 1461|       |       computed with them, can safely fit in an int. */
 1462|   164k|    if (ndigits > MAX_DIGITS || fraclen > MAX_DIGITS) {
  ------------------
  |  |  206|   328k|#define MAX_DIGITS 1000000000U
  ------------------
                  if (ndigits > MAX_DIGITS || fraclen > MAX_DIGITS) {
  ------------------
  |  |  206|   164k|#define MAX_DIGITS 1000000000U
  ------------------
  |  Branch (1462:9): [True: 0, False: 164k]
  |  Branch (1462:33): [True: 0, False: 164k]
  ------------------
 1463|      0|        if (se)
  ------------------
  |  Branch (1463:13): [True: 0, False: 0]
  ------------------
 1464|      0|            *se = (char *)s00;
 1465|      0|        goto parse_error;
 1466|      0|    }
 1467|   164k|    nd = (int)ndigits;
 1468|   164k|    nd0 = (int)ndigits - (int)fraclen;
 1469|       |
 1470|       |    /* Parse exponent. */
 1471|   164k|    e = 0;
 1472|   164k|    if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (1472:9): [True: 52.5k, False: 111k]
  |  Branch (1472:21): [True: 8.38k, False: 103k]
  ------------------
 1473|  60.9k|        s00 = s;
 1474|  60.9k|        c = *++s;
 1475|       |
 1476|       |        /* Exponent sign. */
 1477|  60.9k|        esign = 0;
 1478|  60.9k|        switch (c) {
  ------------------
  |  Branch (1478:17): [True: 23.6k, False: 37.3k]
  ------------------
 1479|  22.8k|        case '-':
  ------------------
  |  Branch (1479:9): [True: 22.8k, False: 38.1k]
  ------------------
 1480|  22.8k|            esign = 1;
 1481|  22.8k|            _Py_FALLTHROUGH;
  ------------------
  |  |  667|  22.8k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1482|  23.6k|        case '+':
  ------------------
  |  Branch (1482:9): [True: 791, False: 60.1k]
  ------------------
 1483|  23.6k|            c = *++s;
 1484|  60.9k|        }
 1485|       |
 1486|       |        /* Skip zeros.  lz is true iff there are leading zeros. */
 1487|  60.9k|        s1 = s;
 1488|  66.8k|        while (c == '0')
  ------------------
  |  Branch (1488:16): [True: 5.89k, False: 60.9k]
  ------------------
 1489|  5.89k|            c = *++s;
 1490|  60.9k|        lz = s != s1;
 1491|       |
 1492|       |        /* Get absolute value of the exponent. */
 1493|  60.9k|        s1 = s;
 1494|  60.9k|        abs_exp = 0;
 1495|   248k|        while ('0' <= c && c <= '9') {
  ------------------
  |  Branch (1495:16): [True: 195k, False: 53.6k]
  |  Branch (1495:28): [True: 187k, False: 7.28k]
  ------------------
 1496|   187k|            abs_exp = 10*abs_exp + (c - '0');
 1497|   187k|            c = *++s;
 1498|   187k|        }
 1499|       |
 1500|       |        /* abs_exp will be correct modulo 2**32.  But 10**9 < 2**32, so if
 1501|       |           there are at most 9 significant exponent digits then overflow is
 1502|       |           impossible. */
 1503|  60.9k|        if (s - s1 > 9 || abs_exp > MAX_ABS_EXP)
  ------------------
  |  |  198|  59.7k|#define MAX_ABS_EXP 1100000000U
  ------------------
  |  Branch (1503:13): [True: 1.16k, False: 59.7k]
  |  Branch (1503:27): [True: 0, False: 59.7k]
  ------------------
 1504|  1.16k|            e = (int)MAX_ABS_EXP;
  ------------------
  |  |  198|  1.16k|#define MAX_ABS_EXP 1100000000U
  ------------------
 1505|  59.7k|        else
 1506|  59.7k|            e = (int)abs_exp;
 1507|  60.9k|        if (esign)
  ------------------
  |  Branch (1507:13): [True: 22.8k, False: 38.1k]
  ------------------
 1508|  22.8k|            e = -e;
 1509|       |
 1510|       |        /* A valid exponent must have at least one digit. */
 1511|  60.9k|        if (s == s1 && !lz)
  ------------------
  |  Branch (1511:13): [True: 1.20k, False: 59.7k]
  |  Branch (1511:24): [True: 0, False: 1.20k]
  ------------------
 1512|      0|            s = s00;
 1513|  60.9k|    }
 1514|       |
 1515|       |    /* Adjust exponent to take into account position of the point. */
 1516|   164k|    e -= nd - nd0;
 1517|   164k|    if (nd0 <= 0)
  ------------------
  |  Branch (1517:9): [True: 28.2k, False: 136k]
  ------------------
 1518|  28.2k|        nd0 = nd;
 1519|       |
 1520|       |    /* Finished parsing.  Set se to indicate how far we parsed */
 1521|   164k|    if (se)
  ------------------
  |  Branch (1521:9): [True: 164k, False: 0]
  ------------------
 1522|   164k|        *se = (char *)s;
 1523|       |
 1524|       |    /* If all digits were zero, exit with return value +-0.0.  Otherwise,
 1525|       |       strip trailing zeros: scan back until we hit a nonzero digit. */
 1526|   164k|    if (!nd)
  ------------------
  |  Branch (1526:9): [True: 13.4k, False: 150k]
  ------------------
 1527|  13.4k|        goto ret;
 1528|   194k|    for (i = nd; i > 0; ) {
  ------------------
  |  Branch (1528:18): [True: 194k, False: 0]
  ------------------
 1529|   194k|        --i;
 1530|   194k|        if (s0[i < nd0 ? i : i+1] != '0') {
  ------------------
  |  Branch (1530:13): [True: 150k, False: 43.9k]
  |  Branch (1530:16): [True: 163k, False: 31.0k]
  ------------------
 1531|   150k|            ++i;
 1532|   150k|            break;
 1533|   150k|        }
 1534|   194k|    }
 1535|   150k|    e += nd - i;
 1536|   150k|    nd = i;
 1537|   150k|    if (nd0 > nd)
  ------------------
  |  Branch (1537:9): [True: 7.29k, False: 143k]
  ------------------
 1538|  7.29k|        nd0 = nd;
 1539|       |
 1540|       |    /* Summary of parsing results.  After parsing, and dealing with zero
 1541|       |     * inputs, we have values s0, nd0, nd, e, sign, where:
 1542|       |     *
 1543|       |     *  - s0 points to the first significant digit of the input string
 1544|       |     *
 1545|       |     *  - nd is the total number of significant digits (here, and
 1546|       |     *    below, 'significant digits' means the set of digits of the
 1547|       |     *    significand of the input that remain after ignoring leading
 1548|       |     *    and trailing zeros).
 1549|       |     *
 1550|       |     *  - nd0 indicates the position of the decimal point, if present; it
 1551|       |     *    satisfies 1 <= nd0 <= nd.  The nd significant digits are in
 1552|       |     *    s0[0:nd0] and s0[nd0+1:nd+1] using the usual Python half-open slice
 1553|       |     *    notation.  (If nd0 < nd, then s0[nd0] contains a '.'  character; if
 1554|       |     *    nd0 == nd, then s0[nd0] could be any non-digit character.)
 1555|       |     *
 1556|       |     *  - e is the adjusted exponent: the absolute value of the number
 1557|       |     *    represented by the original input string is n * 10**e, where
 1558|       |     *    n is the integer represented by the concatenation of
 1559|       |     *    s0[0:nd0] and s0[nd0+1:nd+1]
 1560|       |     *
 1561|       |     *  - sign gives the sign of the input:  1 for negative, 0 for positive
 1562|       |     *
 1563|       |     *  - the first and last significant digits are nonzero
 1564|       |     */
 1565|       |
 1566|       |    /* put first DBL_DIG+1 digits into integer y and z.
 1567|       |     *
 1568|       |     *  - y contains the value represented by the first min(9, nd)
 1569|       |     *    significant digits
 1570|       |     *
 1571|       |     *  - if nd > 9, z contains the value represented by significant digits
 1572|       |     *    with indices in [9, min(16, nd)).  So y * 10**(min(16, nd) - 9) + z
 1573|       |     *    gives the value represented by the first min(16, nd) sig. digits.
 1574|       |     */
 1575|       |
 1576|   150k|    bc.e0 = e1 = e;
 1577|   150k|    y = z = 0;
 1578|   812k|    for (i = 0; i < nd; i++) {
  ------------------
  |  Branch (1578:17): [True: 679k, False: 132k]
  ------------------
 1579|   679k|        if (i < 9)
  ------------------
  |  Branch (1579:13): [True: 492k, False: 186k]
  ------------------
 1580|   492k|            y = 10*y + s0[i < nd0 ? i : i+1] - '0';
  ------------------
  |  Branch (1580:27): [True: 461k, False: 31.1k]
  ------------------
 1581|   186k|        else if (i < DBL_DIG+1)
  ------------------
  |  Branch (1581:18): [True: 168k, False: 18.1k]
  ------------------
 1582|   168k|            z = 10*z + s0[i < nd0 ? i : i+1] - '0';
  ------------------
  |  Branch (1582:27): [True: 149k, False: 19.6k]
  ------------------
 1583|  18.1k|        else
 1584|  18.1k|            break;
 1585|   679k|    }
 1586|       |
 1587|   150k|    k = nd < DBL_DIG + 1 ? nd : DBL_DIG + 1;
  ------------------
  |  Branch (1587:9): [True: 129k, False: 21.6k]
  ------------------
 1588|   150k|    dval(&rv) = y;
  ------------------
  |  |  188|   150k|#define dval(x) (x)->d
  ------------------
 1589|   150k|    if (k > 9) {
  ------------------
  |  Branch (1589:9): [True: 28.3k, False: 122k]
  ------------------
 1590|  28.3k|        dval(&rv) = tens[k - 9] * dval(&rv) + z;
  ------------------
  |  |  188|  28.3k|#define dval(x) (x)->d
  ------------------
                      dval(&rv) = tens[k - 9] * dval(&rv) + z;
  ------------------
  |  |  188|  28.3k|#define dval(x) (x)->d
  ------------------
 1591|  28.3k|    }
 1592|   150k|    if (nd <= DBL_DIG
  ------------------
  |  Branch (1592:9): [True: 129k, False: 21.6k]
  ------------------
 1593|   129k|        && Flt_Rounds == 1
  ------------------
  |  |  265|   129k|#define Flt_Rounds FLT_ROUNDS
  ------------------
  |  Branch (1593:12): [True: 129k, False: 0]
  ------------------
 1594|   150k|        ) {
 1595|   129k|        if (!e)
  ------------------
  |  Branch (1595:13): [True: 54.1k, False: 75.0k]
  ------------------
 1596|  54.1k|            goto ret;
 1597|  75.0k|        if (e > 0) {
  ------------------
  |  Branch (1597:13): [True: 33.9k, False: 41.0k]
  ------------------
 1598|  33.9k|            if (e <= Ten_pmax) {
  ------------------
  |  |  252|  33.9k|#define Ten_pmax 22
  ------------------
  |  Branch (1598:17): [True: 9.24k, False: 24.7k]
  ------------------
 1599|  9.24k|                dval(&rv) *= tens[e];
  ------------------
  |  |  188|  9.24k|#define dval(x) (x)->d
  ------------------
 1600|  9.24k|                goto ret;
 1601|  9.24k|            }
 1602|  24.7k|            i = DBL_DIG - nd;
 1603|  24.7k|            if (e <= Ten_pmax + i) {
  ------------------
  |  |  252|  24.7k|#define Ten_pmax 22
  ------------------
  |  Branch (1603:17): [True: 3.95k, False: 20.7k]
  ------------------
 1604|       |                /* A fancier test would sometimes let us do
 1605|       |                 * this for larger i values.
 1606|       |                 */
 1607|  3.95k|                e -= i;
 1608|  3.95k|                dval(&rv) *= tens[i];
  ------------------
  |  |  188|  3.95k|#define dval(x) (x)->d
  ------------------
 1609|  3.95k|                dval(&rv) *= tens[e];
  ------------------
  |  |  188|  3.95k|#define dval(x) (x)->d
  ------------------
 1610|  3.95k|                goto ret;
 1611|  3.95k|            }
 1612|  24.7k|        }
 1613|  41.0k|        else if (e >= -Ten_pmax) {
  ------------------
  |  |  252|  41.0k|#define Ten_pmax 22
  ------------------
  |  Branch (1613:18): [True: 25.9k, False: 15.1k]
  ------------------
 1614|  25.9k|            dval(&rv) /= tens[-e];
  ------------------
  |  |  188|  25.9k|#define dval(x) (x)->d
  ------------------
 1615|  25.9k|            goto ret;
 1616|  25.9k|        }
 1617|  75.0k|    }
 1618|  57.5k|    e1 += nd - k;
 1619|       |
 1620|  57.5k|    bc.scale = 0;
 1621|       |
 1622|       |    /* Get starting approximation = rv * 10**e1 */
 1623|       |
 1624|  57.5k|    if (e1 > 0) {
  ------------------
  |  Branch (1624:9): [True: 31.7k, False: 25.8k]
  ------------------
 1625|  31.7k|        if ((i = e1 & 15))
  ------------------
  |  Branch (1625:13): [True: 29.2k, False: 2.51k]
  ------------------
 1626|  29.2k|            dval(&rv) *= tens[i];
  ------------------
  |  |  188|  29.2k|#define dval(x) (x)->d
  ------------------
 1627|  31.7k|        if (e1 &= ~15) {
  ------------------
  |  Branch (1627:13): [True: 25.6k, False: 6.06k]
  ------------------
 1628|  25.6k|            if (e1 > DBL_MAX_10_EXP)
  ------------------
  |  Branch (1628:17): [True: 15.1k, False: 10.5k]
  ------------------
 1629|  15.1k|                goto ovfl;
 1630|  10.5k|            e1 >>= 4;
 1631|  28.1k|            for(j = 0; e1 > 1; j++, e1 >>= 1)
  ------------------
  |  Branch (1631:24): [True: 17.5k, False: 10.5k]
  ------------------
 1632|  17.5k|                if (e1 & 1)
  ------------------
  |  Branch (1632:21): [True: 7.60k, False: 9.98k]
  ------------------
 1633|  7.60k|                    dval(&rv) *= bigtens[j];
  ------------------
  |  |  188|  7.60k|#define dval(x) (x)->d
  ------------------
 1634|       |            /* The last multiplication could overflow. */
 1635|  10.5k|            word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  182|  10.5k|#define word0(x) (x)->L[1]
  ------------------
                          word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  241|  10.5k|#define P 53
  ------------------
                          word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  238|  10.5k|#define Exp_msk1    0x100000
  ------------------
 1636|  10.5k|            dval(&rv) *= bigtens[j];
  ------------------
  |  |  188|  10.5k|#define dval(x) (x)->d
  ------------------
 1637|  10.5k|            if ((z = word0(&rv) & Exp_mask)
  ------------------
  |  |  182|  10.5k|#define word0(x) (x)->L[1]
  ------------------
                          if ((z = word0(&rv) & Exp_mask)
  ------------------
  |  |  240|  10.5k|#define Exp_mask  0x7ff00000
  ------------------
  |  Branch (1637:17): [True: 157, False: 10.3k]
  ------------------
 1638|  10.5k|                > Exp_msk1*(DBL_MAX_EXP+Bias-P))
  ------------------
  |  |  238|  10.5k|#define Exp_msk1    0x100000
  ------------------
                              > Exp_msk1*(DBL_MAX_EXP+Bias-P))
  ------------------
  |  |  243|  10.5k|#define Bias 1023
  ------------------
                              > Exp_msk1*(DBL_MAX_EXP+Bias-P))
  ------------------
  |  |  241|  10.5k|#define P 53
  ------------------
 1639|    157|                goto ovfl;
 1640|  10.3k|            if (z > Exp_msk1*(DBL_MAX_EXP+Bias-1-P)) {
  ------------------
  |  |  238|  10.3k|#define Exp_msk1    0x100000
  ------------------
                          if (z > Exp_msk1*(DBL_MAX_EXP+Bias-1-P)) {
  ------------------
  |  |  243|  10.3k|#define Bias 1023
  ------------------
                          if (z > Exp_msk1*(DBL_MAX_EXP+Bias-1-P)) {
  ------------------
  |  |  241|  10.3k|#define P 53
  ------------------
  |  Branch (1640:17): [True: 131, False: 10.2k]
  ------------------
 1641|       |                /* set to largest number */
 1642|       |                /* (Can't trust DBL_MAX) */
 1643|    131|                word0(&rv) = Big0;
  ------------------
  |  |  182|    131|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) = Big0;
  ------------------
  |  |  273|    131|#define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  251|    131|#define Frac_mask1 0xfffff
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  238|    131|#define Exp_msk1    0x100000
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  243|    131|#define Bias 1023
  |  |  ------------------
  ------------------
 1644|    131|                word1(&rv) = Big1;
  ------------------
  |  |  183|    131|#define word1(x) (x)->L[0]
  ------------------
                              word1(&rv) = Big1;
  ------------------
  |  |  274|    131|#define Big1 0xffffffff
  ------------------
 1645|    131|            }
 1646|  10.2k|            else
 1647|  10.2k|                word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  182|  10.2k|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  241|  10.2k|#define P 53
  ------------------
                              word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  238|  10.2k|#define Exp_msk1    0x100000
  ------------------
 1648|  10.3k|        }
 1649|  31.7k|    }
 1650|  25.8k|    else if (e1 < 0) {
  ------------------
  |  Branch (1650:14): [True: 22.7k, False: 3.09k]
  ------------------
 1651|       |        /* The input decimal value lies in [10**e1, 10**(e1+16)).
 1652|       |
 1653|       |           If e1 <= -512, underflow immediately.
 1654|       |           If e1 <= -256, set bc.scale to 2*P.
 1655|       |
 1656|       |           So for input value < 1e-256, bc.scale is always set;
 1657|       |           for input value >= 1e-240, bc.scale is never set.
 1658|       |           For input values in [1e-256, 1e-240), bc.scale may or may
 1659|       |           not be set. */
 1660|       |
 1661|  22.7k|        e1 = -e1;
 1662|  22.7k|        if ((i = e1 & 15))
  ------------------
  |  Branch (1662:13): [True: 18.0k, False: 4.68k]
  ------------------
 1663|  18.0k|            dval(&rv) /= tens[i];
  ------------------
  |  |  188|  18.0k|#define dval(x) (x)->d
  ------------------
 1664|  22.7k|        if (e1 >>= 4) {
  ------------------
  |  Branch (1664:13): [True: 19.9k, False: 2.73k]
  ------------------
 1665|  19.9k|            if (e1 >= 1 << n_bigtens)
  ------------------
  |  | 1121|  19.9k|#define n_bigtens 5
  ------------------
  |  Branch (1665:17): [True: 3.81k, False: 16.1k]
  ------------------
 1666|  3.81k|                goto undfl;
 1667|  16.1k|            if (e1 & Scale_Bit)
  ------------------
  |  | 1120|  16.1k|#define Scale_Bit 0x10
  ------------------
  |  Branch (1667:17): [True: 11.2k, False: 4.93k]
  ------------------
 1668|  11.2k|                bc.scale = 2*P;
  ------------------
  |  |  241|  11.2k|#define P 53
  ------------------
 1669|  79.9k|            for(j = 0; e1 > 0; j++, e1 >>= 1)
  ------------------
  |  Branch (1669:24): [True: 63.7k, False: 16.1k]
  ------------------
 1670|  63.7k|                if (e1 & 1)
  ------------------
  |  Branch (1670:21): [True: 31.2k, False: 32.5k]
  ------------------
 1671|  31.2k|                    dval(&rv) *= tinytens[j];
  ------------------
  |  |  188|  31.2k|#define dval(x) (x)->d
  ------------------
 1672|  16.1k|            if (bc.scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask)
  ------------------
  |  |  241|  11.2k|#define P 53
  ------------------
                          if (bc.scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask)
  ------------------
  |  |  182|  11.2k|#define word0(x) (x)->L[1]
  ------------------
                          if (bc.scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask)
  ------------------
  |  |  240|  11.2k|#define Exp_mask  0x7ff00000
  ------------------
  |  Branch (1672:17): [True: 11.2k, False: 4.93k]
  |  Branch (1672:29): [True: 9.74k, False: 1.49k]
  ------------------
 1673|  11.2k|                                            >> Exp_shift)) > 0) {
  ------------------
  |  |  236|  11.2k|#define Exp_shift  20
  ------------------
 1674|       |                /* scaled rv is denormal; clear j low bits */
 1675|  9.74k|                if (j >= 32) {
  ------------------
  |  Branch (1675:21): [True: 7.77k, False: 1.96k]
  ------------------
 1676|  7.77k|                    word1(&rv) = 0;
  ------------------
  |  |  183|  7.77k|#define word1(x) (x)->L[0]
  ------------------
 1677|  7.77k|                    if (j >= 53)
  ------------------
  |  Branch (1677:25): [True: 2.31k, False: 5.46k]
  ------------------
 1678|  2.31k|                        word0(&rv) = (P+2)*Exp_msk1;
  ------------------
  |  |  182|  2.31k|#define word0(x) (x)->L[1]
  ------------------
                                      word0(&rv) = (P+2)*Exp_msk1;
  ------------------
  |  |  241|  2.31k|#define P 53
  ------------------
                                      word0(&rv) = (P+2)*Exp_msk1;
  ------------------
  |  |  238|  2.31k|#define Exp_msk1    0x100000
  ------------------
 1679|  5.46k|                    else
 1680|  5.46k|                        word0(&rv) &= 0xffffffff << (j-32);
  ------------------
  |  |  182|  5.46k|#define word0(x) (x)->L[1]
  ------------------
 1681|  7.77k|                }
 1682|  1.96k|                else
 1683|  1.96k|                    word1(&rv) &= 0xffffffff << j;
  ------------------
  |  |  183|  1.96k|#define word1(x) (x)->L[0]
  ------------------
 1684|  9.74k|            }
 1685|  16.1k|            if (!dval(&rv))
  ------------------
  |  |  188|  16.1k|#define dval(x) (x)->d
  ------------------
  |  Branch (1685:17): [True: 0, False: 16.1k]
  ------------------
 1686|      0|                goto undfl;
 1687|  16.1k|        }
 1688|  22.7k|    }
 1689|       |
 1690|       |    /* Now the hard part -- adjusting rv to the correct value.*/
 1691|       |
 1692|       |    /* Put digits into bd: true value = bd * 10^e */
 1693|       |
 1694|  38.4k|    bc.nd = nd;
 1695|  38.4k|    bc.nd0 = nd0;       /* Only needed if nd > STRTOD_DIGLIM, but done here */
 1696|       |                        /* to silence an erroneous warning about bc.nd0 */
 1697|       |                        /* possibly not being initialized. */
 1698|  38.4k|    if (nd > STRTOD_DIGLIM) {
  ------------------
  |  |  191|  38.4k|#define STRTOD_DIGLIM 40
  ------------------
  |  Branch (1698:9): [True: 5.37k, False: 33.0k]
  ------------------
 1699|       |        /* ASSERT(STRTOD_DIGLIM >= 18); 18 == one more than the */
 1700|       |        /* minimum number of decimal digits to distinguish double values */
 1701|       |        /* in IEEE arithmetic. */
 1702|       |
 1703|       |        /* Truncate input to 18 significant digits, then discard any trailing
 1704|       |           zeros on the result by updating nd, nd0, e and y suitably. (There's
 1705|       |           no need to update z; it's not reused beyond this point.) */
 1706|  27.2k|        for (i = 18; i > 0; ) {
  ------------------
  |  Branch (1706:22): [True: 27.2k, False: 0]
  ------------------
 1707|       |            /* scan back until we hit a nonzero digit.  significant digit 'i'
 1708|       |            is s0[i] if i < nd0, s0[i+1] if i >= nd0. */
 1709|  27.2k|            --i;
 1710|  27.2k|            if (s0[i < nd0 ? i : i+1] != '0') {
  ------------------
  |  Branch (1710:17): [True: 5.37k, False: 21.9k]
  |  Branch (1710:20): [True: 19.5k, False: 7.77k]
  ------------------
 1711|  5.37k|                ++i;
 1712|  5.37k|                break;
 1713|  5.37k|            }
 1714|  27.2k|        }
 1715|  5.37k|        e += nd - i;
 1716|  5.37k|        nd = i;
 1717|  5.37k|        if (nd0 > nd)
  ------------------
  |  Branch (1717:13): [True: 4.74k, False: 639]
  ------------------
 1718|  4.74k|            nd0 = nd;
 1719|  5.37k|        if (nd < 9) { /* must recompute y */
  ------------------
  |  Branch (1719:13): [True: 1.14k, False: 4.23k]
  ------------------
 1720|  1.14k|            y = 0;
 1721|  3.85k|            for(i = 0; i < nd0; ++i)
  ------------------
  |  Branch (1721:24): [True: 2.70k, False: 1.14k]
  ------------------
 1722|  2.70k|                y = 10*y + s0[i] - '0';
 1723|  2.03k|            for(; i < nd; ++i)
  ------------------
  |  Branch (1723:19): [True: 885, False: 1.14k]
  ------------------
 1724|    885|                y = 10*y + s0[i+1] - '0';
 1725|  1.14k|        }
 1726|  5.37k|    }
 1727|  38.4k|    bd0 = s2b(s0, nd0, nd, y);
 1728|  38.4k|    if (bd0 == NULL)
  ------------------
  |  Branch (1728:9): [True: 0, False: 38.4k]
  ------------------
 1729|      0|        goto failed_malloc;
 1730|       |
 1731|       |    /* Notation for the comments below.  Write:
 1732|       |
 1733|       |         - dv for the absolute value of the number represented by the original
 1734|       |           decimal input string.
 1735|       |
 1736|       |         - if we've truncated dv, write tdv for the truncated value.
 1737|       |           Otherwise, set tdv == dv.
 1738|       |
 1739|       |         - srv for the quantity rv/2^bc.scale; so srv is the current binary
 1740|       |           approximation to tdv (and dv).  It should be exactly representable
 1741|       |           in an IEEE 754 double.
 1742|       |    */
 1743|       |
 1744|  48.2k|    for(;;) {
 1745|       |
 1746|       |        /* This is the main correction loop for _Py_dg_strtod.
 1747|       |
 1748|       |           We've got a decimal value tdv, and a floating-point approximation
 1749|       |           srv=rv/2^bc.scale to tdv.  The aim is to determine whether srv is
 1750|       |           close enough (i.e., within 0.5 ulps) to tdv, and to compute a new
 1751|       |           approximation if not.
 1752|       |
 1753|       |           To determine whether srv is close enough to tdv, compute integers
 1754|       |           bd, bb and bs proportional to tdv, srv and 0.5 ulp(srv)
 1755|       |           respectively, and then use integer arithmetic to determine whether
 1756|       |           |tdv - srv| is less than, equal to, or greater than 0.5 ulp(srv).
 1757|       |        */
 1758|       |
 1759|  48.2k|        bd = Balloc(bd0->k);
 1760|  48.2k|        if (bd == NULL) {
  ------------------
  |  Branch (1760:13): [True: 0, False: 48.2k]
  ------------------
 1761|      0|            goto failed_malloc;
 1762|      0|        }
 1763|  48.2k|        Bcopy(bd, bd0);
  ------------------
  |  |  437|  48.2k|#define Bcopy(x,y) memcpy((char *)&x->sign, (char *)&y->sign,   \
  |  |  438|  48.2k|                          y->wds*sizeof(Long) + 2*sizeof(int))
  ------------------
 1764|  48.2k|        bb = sd2b(&rv, bc.scale, &bbe);   /* srv = bb * 2^bbe */
 1765|  48.2k|        if (bb == NULL) {
  ------------------
  |  Branch (1765:13): [True: 0, False: 48.2k]
  ------------------
 1766|      0|            goto failed_malloc;
 1767|      0|        }
 1768|       |        /* Record whether lsb of bb is odd, in case we need this
 1769|       |           for the round-to-even step later. */
 1770|  48.2k|        odd = bb->x[0] & 1;
 1771|       |
 1772|       |        /* tdv = bd * 10**e;  srv = bb * 2**bbe */
 1773|  48.2k|        bs = i2b(1);
 1774|  48.2k|        if (bs == NULL) {
  ------------------
  |  Branch (1774:13): [True: 0, False: 48.2k]
  ------------------
 1775|      0|            goto failed_malloc;
 1776|      0|        }
 1777|       |
 1778|  48.2k|        if (e >= 0) {
  ------------------
  |  Branch (1778:13): [True: 18.4k, False: 29.7k]
  ------------------
 1779|  18.4k|            bb2 = bb5 = 0;
 1780|  18.4k|            bd2 = bd5 = e;
 1781|  18.4k|        }
 1782|  29.7k|        else {
 1783|  29.7k|            bb2 = bb5 = -e;
 1784|  29.7k|            bd2 = bd5 = 0;
 1785|  29.7k|        }
 1786|  48.2k|        if (bbe >= 0)
  ------------------
  |  Branch (1786:13): [True: 22.3k, False: 25.8k]
  ------------------
 1787|  22.3k|            bb2 += bbe;
 1788|  25.8k|        else
 1789|  25.8k|            bd2 -= bbe;
 1790|  48.2k|        bs2 = bb2;
 1791|  48.2k|        bb2++;
 1792|  48.2k|        bd2++;
 1793|       |
 1794|       |        /* At this stage bd5 - bb5 == e == bd2 - bb2 + bbe, bb2 - bs2 == 1,
 1795|       |           and bs == 1, so:
 1796|       |
 1797|       |              tdv == bd * 10**e = bd * 2**(bbe - bb2 + bd2) * 5**(bd5 - bb5)
 1798|       |              srv == bb * 2**bbe = bb * 2**(bbe - bb2 + bb2)
 1799|       |              0.5 ulp(srv) == 2**(bbe-1) = bs * 2**(bbe - bb2 + bs2)
 1800|       |
 1801|       |           It follows that:
 1802|       |
 1803|       |              M * tdv = bd * 2**bd2 * 5**bd5
 1804|       |              M * srv = bb * 2**bb2 * 5**bb5
 1805|       |              M * 0.5 ulp(srv) = bs * 2**bs2 * 5**bb5
 1806|       |
 1807|       |           for some constant M.  (Actually, M == 2**(bb2 - bbe) * 5**bb5, but
 1808|       |           this fact is not needed below.)
 1809|       |        */
 1810|       |
 1811|       |        /* Remove factor of 2**i, where i = min(bb2, bd2, bs2). */
 1812|  48.2k|        i = bb2 < bd2 ? bb2 : bd2;
  ------------------
  |  Branch (1812:13): [True: 25.4k, False: 22.8k]
  ------------------
 1813|  48.2k|        if (i > bs2)
  ------------------
  |  Branch (1813:13): [True: 25.7k, False: 22.5k]
  ------------------
 1814|  25.7k|            i = bs2;
 1815|  48.2k|        if (i > 0) {
  ------------------
  |  Branch (1815:13): [True: 47.7k, False: 551]
  ------------------
 1816|  47.7k|            bb2 -= i;
 1817|  47.7k|            bd2 -= i;
 1818|  47.7k|            bs2 -= i;
 1819|  47.7k|        }
 1820|       |
 1821|       |        /* Scale bb, bd, bs by the appropriate powers of 2 and 5. */
 1822|  48.2k|        if (bb5 > 0) {
  ------------------
  |  Branch (1822:13): [True: 29.7k, False: 18.4k]
  ------------------
 1823|  29.7k|            bs = pow5mult(bs, bb5);
 1824|  29.7k|            if (bs == NULL) {
  ------------------
  |  Branch (1824:17): [True: 0, False: 29.7k]
  ------------------
 1825|      0|                goto failed_malloc;
 1826|      0|            }
 1827|  29.7k|            Bigint *bb1 = mult(bs, bb);
 1828|  29.7k|            Bfree(bb);
 1829|  29.7k|            bb = bb1;
 1830|  29.7k|            if (bb == NULL) {
  ------------------
  |  Branch (1830:17): [True: 0, False: 29.7k]
  ------------------
 1831|      0|                goto failed_malloc;
 1832|      0|            }
 1833|  29.7k|        }
 1834|  48.2k|        if (bb2 > 0) {
  ------------------
  |  Branch (1834:13): [True: 48.2k, False: 0]
  ------------------
 1835|  48.2k|            bb = lshift(bb, bb2);
 1836|  48.2k|            if (bb == NULL) {
  ------------------
  |  Branch (1836:17): [True: 0, False: 48.2k]
  ------------------
 1837|      0|                goto failed_malloc;
 1838|      0|            }
 1839|  48.2k|        }
 1840|  48.2k|        if (bd5 > 0) {
  ------------------
  |  Branch (1840:13): [True: 12.7k, False: 35.4k]
  ------------------
 1841|  12.7k|            bd = pow5mult(bd, bd5);
 1842|  12.7k|            if (bd == NULL) {
  ------------------
  |  Branch (1842:17): [True: 0, False: 12.7k]
  ------------------
 1843|      0|                goto failed_malloc;
 1844|      0|            }
 1845|  12.7k|        }
 1846|  48.2k|        if (bd2 > 0) {
  ------------------
  |  Branch (1846:13): [True: 25.7k, False: 22.5k]
  ------------------
 1847|  25.7k|            bd = lshift(bd, bd2);
 1848|  25.7k|            if (bd == NULL) {
  ------------------
  |  Branch (1848:17): [True: 0, False: 25.7k]
  ------------------
 1849|      0|                goto failed_malloc;
 1850|      0|            }
 1851|  25.7k|        }
 1852|  48.2k|        if (bs2 > 0) {
  ------------------
  |  Branch (1852:13): [True: 20.2k, False: 28.0k]
  ------------------
 1853|  20.2k|            bs = lshift(bs, bs2);
 1854|  20.2k|            if (bs == NULL) {
  ------------------
  |  Branch (1854:17): [True: 0, False: 20.2k]
  ------------------
 1855|      0|                goto failed_malloc;
 1856|      0|            }
 1857|  20.2k|        }
 1858|       |
 1859|       |        /* Now bd, bb and bs are scaled versions of tdv, srv and 0.5 ulp(srv),
 1860|       |           respectively.  Compute the difference |tdv - srv|, and compare
 1861|       |           with 0.5 ulp(srv). */
 1862|       |
 1863|  48.2k|        delta = diff(bb, bd);
 1864|  48.2k|        if (delta == NULL) {
  ------------------
  |  Branch (1864:13): [True: 0, False: 48.2k]
  ------------------
 1865|      0|            goto failed_malloc;
 1866|      0|        }
 1867|  48.2k|        dsign = delta->sign;
 1868|  48.2k|        delta->sign = 0;
 1869|  48.2k|        i = cmp(delta, bs);
 1870|  48.2k|        if (bc.nd > nd && i <= 0) {
  ------------------
  |  Branch (1870:13): [True: 7.87k, False: 40.3k]
  |  Branch (1870:27): [True: 5.37k, False: 2.50k]
  ------------------
 1871|  5.37k|            if (dsign)
  ------------------
  |  Branch (1871:17): [True: 3.95k, False: 1.42k]
  ------------------
 1872|  3.95k|                break;  /* Must use bigcomp(). */
 1873|       |
 1874|       |            /* Here rv overestimates the truncated decimal value by at most
 1875|       |               0.5 ulp(rv).  Hence rv either overestimates the true decimal
 1876|       |               value by <= 0.5 ulp(rv), or underestimates it by some small
 1877|       |               amount (< 0.1 ulp(rv)); either way, rv is within 0.5 ulps of
 1878|       |               the true decimal value, so it's possible to exit.
 1879|       |
 1880|       |               Exception: if scaled rv is a normal exact power of 2, but not
 1881|       |               DBL_MIN, then rv - 0.5 ulp(rv) takes us all the way down to the
 1882|       |               next double, so the correctly rounded result is either rv - 0.5
 1883|       |               ulp(rv) or rv; in this case, use bigcomp to distinguish. */
 1884|       |
 1885|  1.42k|            if (!word1(&rv) && !(word0(&rv) & Bndry_mask)) {
  ------------------
  |  |  183|  2.85k|#define word1(x) (x)->L[0]
  ------------------
                          if (!word1(&rv) && !(word0(&rv) & Bndry_mask)) {
  ------------------
  |  |  182|    452|#define word0(x) (x)->L[1]
  ------------------
                          if (!word1(&rv) && !(word0(&rv) & Bndry_mask)) {
  ------------------
  |  |  254|    452|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (1885:17): [True: 452, False: 974]
  |  Branch (1885:32): [True: 334, False: 118]
  ------------------
 1886|       |                /* rv can't be 0, since it's an overestimate for some
 1887|       |                   nonzero value.  So rv is a normal power of 2. */
 1888|    334|                j = (int)(word0(&rv) & Exp_mask) >> Exp_shift;
  ------------------
  |  |  182|    334|#define word0(x) (x)->L[1]
  ------------------
                              j = (int)(word0(&rv) & Exp_mask) >> Exp_shift;
  ------------------
  |  |  240|    334|#define Exp_mask  0x7ff00000
  ------------------
                              j = (int)(word0(&rv) & Exp_mask) >> Exp_shift;
  ------------------
  |  |  236|    334|#define Exp_shift  20
  ------------------
 1889|       |                /* rv / 2^bc.scale = 2^(j - 1023 - bc.scale); use bigcomp if
 1890|       |                   rv / 2^bc.scale >= 2^-1021. */
 1891|    334|                if (j - bc.scale >= 2) {
  ------------------
  |  Branch (1891:21): [True: 282, False: 52]
  ------------------
 1892|    282|                    dval(&rv) -= 0.5 * sulp(&rv, &bc);
  ------------------
  |  |  188|    282|#define dval(x) (x)->d
  ------------------
 1893|    282|                    break; /* Use bigcomp. */
 1894|    282|                }
 1895|    334|            }
 1896|       |
 1897|  1.14k|            {
 1898|  1.14k|                bc.nd = nd;
 1899|  1.14k|                i = -1; /* Discarded digits make delta smaller. */
 1900|  1.14k|            }
 1901|  1.14k|        }
 1902|       |
 1903|  44.0k|        if (i < 0) {
  ------------------
  |  Branch (1903:13): [True: 22.3k, False: 21.7k]
  ------------------
 1904|       |            /* Error is less than half an ulp -- check for
 1905|       |             * special case of mantissa a power of two.
 1906|       |             */
 1907|  22.3k|            if (dsign || word1(&rv) || word0(&rv) & Bndry_mask
  ------------------
  |  |  183|  34.6k|#define word1(x) (x)->L[0]
  |  |  ------------------
  |  |  |  Branch (183:18): [True: 7.01k, False: 5.35k]
  |  |  ------------------
  ------------------
                          if (dsign || word1(&rv) || word0(&rv) & Bndry_mask
  ------------------
  |  |  182|  5.35k|#define word0(x) (x)->L[1]
  ------------------
                          if (dsign || word1(&rv) || word0(&rv) & Bndry_mask
  ------------------
  |  |  254|  27.6k|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (1907:17): [True: 9.94k, False: 12.3k]
  |  Branch (1907:40): [True: 2.47k, False: 2.87k]
  ------------------
 1908|  2.87k|                || (word0(&rv) & Exp_mask) <= (2*P+1)*Exp_msk1
  ------------------
  |  |  182|  2.87k|#define word0(x) (x)->L[1]
  ------------------
                              || (word0(&rv) & Exp_mask) <= (2*P+1)*Exp_msk1
  ------------------
  |  |  240|  2.87k|#define Exp_mask  0x7ff00000
  ------------------
                              || (word0(&rv) & Exp_mask) <= (2*P+1)*Exp_msk1
  ------------------
  |  |  241|  2.87k|#define P 53
  ------------------
                              || (word0(&rv) & Exp_mask) <= (2*P+1)*Exp_msk1
  ------------------
  |  |  238|  2.87k|#define Exp_msk1    0x100000
  ------------------
  |  Branch (1908:20): [True: 189, False: 2.68k]
  ------------------
 1909|  22.3k|                ) {
 1910|  19.6k|                break;
 1911|  19.6k|            }
 1912|  2.68k|            if (!delta->x[0] && delta->wds <= 1) {
  ------------------
  |  Branch (1912:17): [True: 1.54k, False: 1.14k]
  |  Branch (1912:33): [True: 57, False: 1.48k]
  ------------------
 1913|       |                /* exact result */
 1914|     57|                break;
 1915|     57|            }
 1916|  2.62k|            delta = lshift(delta,Log2P);
  ------------------
  |  |  257|  2.62k|#define Log2P 1
  ------------------
 1917|  2.62k|            if (delta == NULL) {
  ------------------
  |  Branch (1917:17): [True: 0, False: 2.62k]
  ------------------
 1918|      0|                goto failed_malloc;
 1919|      0|            }
 1920|  2.62k|            if (cmp(delta, bs) > 0)
  ------------------
  |  Branch (1920:17): [True: 1.38k, False: 1.24k]
  ------------------
 1921|  1.38k|                goto drop_down;
 1922|  1.24k|            break;
 1923|  2.62k|        }
 1924|  21.7k|        if (i == 0) {
  ------------------
  |  Branch (1924:13): [True: 2.44k, False: 19.2k]
  ------------------
 1925|       |            /* exactly half-way between */
 1926|  2.44k|            if (dsign) {
  ------------------
  |  Branch (1926:17): [True: 1.90k, False: 546]
  ------------------
 1927|  1.90k|                if ((word0(&rv) & Bndry_mask1) == Bndry_mask1
  ------------------
  |  |  182|  1.90k|#define word0(x) (x)->L[1]
  ------------------
                              if ((word0(&rv) & Bndry_mask1) == Bndry_mask1
  ------------------
  |  |  255|  1.90k|#define Bndry_mask1 0xfffff
  ------------------
                              if ((word0(&rv) & Bndry_mask1) == Bndry_mask1
  ------------------
  |  |  255|  3.80k|#define Bndry_mask1 0xfffff
  ------------------
  |  Branch (1927:21): [True: 784, False: 1.11k]
  ------------------
 1928|    784|                    &&  word1(&rv) == (
  ------------------
  |  |  183|    784|#define word1(x) (x)->L[0]
  ------------------
  |  Branch (1928:25): [True: 366, False: 418]
  ------------------
 1929|    784|                        (bc.scale &&
  ------------------
  |  Branch (1929:26): [True: 0, False: 784]
  ------------------
 1930|      0|                         (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) ?
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                                       (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) ?
  ------------------
  |  |  240|      0|#define Exp_mask  0x7ff00000
  ------------------
                                       (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) ?
  ------------------
  |  |  241|      0|#define P 53
  ------------------
                                       (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) ?
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
  |  Branch (1930:26): [True: 0, False: 0]
  ------------------
 1931|      0|                        (0xffffffff & (0xffffffff << (2*P+1-(y>>Exp_shift)))) :
  ------------------
  |  |  241|      0|#define P 53
  ------------------
                                      (0xffffffff & (0xffffffff << (2*P+1-(y>>Exp_shift)))) :
  ------------------
  |  |  236|      0|#define Exp_shift  20
  ------------------
 1932|    784|                        0xffffffff)) {
 1933|       |                    /*boundary case -- increment exponent*/
 1934|    366|                    word0(&rv) = (word0(&rv) & Exp_mask)
  ------------------
  |  |  182|    366|#define word0(x) (x)->L[1]
  ------------------
                                  word0(&rv) = (word0(&rv) & Exp_mask)
  ------------------
  |  |  182|    366|#define word0(x) (x)->L[1]
  ------------------
                                  word0(&rv) = (word0(&rv) & Exp_mask)
  ------------------
  |  |  240|    366|#define Exp_mask  0x7ff00000
  ------------------
 1935|    366|                        + Exp_msk1
  ------------------
  |  |  238|    366|#define Exp_msk1    0x100000
  ------------------
 1936|    366|                        ;
 1937|    366|                    word1(&rv) = 0;
  ------------------
  |  |  183|    366|#define word1(x) (x)->L[0]
  ------------------
 1938|       |                    /* dsign = 0; */
 1939|    366|                    break;
 1940|    366|                }
 1941|  1.90k|            }
 1942|    546|            else if (!(word0(&rv) & Bndry_mask) && !word1(&rv)) {
  ------------------
  |  |  182|    546|#define word0(x) (x)->L[1]
  ------------------
                          else if (!(word0(&rv) & Bndry_mask) && !word1(&rv)) {
  ------------------
  |  |  254|    546|#define Bndry_mask  0xfffff
  ------------------
                          else if (!(word0(&rv) & Bndry_mask) && !word1(&rv)) {
  ------------------
  |  |  183|    203|#define word1(x) (x)->L[0]
  ------------------
  |  Branch (1942:22): [True: 203, False: 343]
  |  Branch (1942:52): [True: 0, False: 203]
  ------------------
 1943|  1.38k|              drop_down:
 1944|       |                /* boundary case -- decrement exponent */
 1945|  1.38k|                if (bc.scale) {
  ------------------
  |  Branch (1945:21): [True: 0, False: 1.38k]
  ------------------
 1946|      0|                    L = word0(&rv) & Exp_mask;
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                                  L = word0(&rv) & Exp_mask;
  ------------------
  |  |  240|      0|#define Exp_mask  0x7ff00000
  ------------------
 1947|      0|                    if (L <= (2*P+1)*Exp_msk1) {
  ------------------
  |  |  241|      0|#define P 53
  ------------------
                                  if (L <= (2*P+1)*Exp_msk1) {
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
  |  Branch (1947:25): [True: 0, False: 0]
  ------------------
 1948|      0|                        if (L > (P+2)*Exp_msk1)
  ------------------
  |  |  241|      0|#define P 53
  ------------------
                                      if (L > (P+2)*Exp_msk1)
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
  |  Branch (1948:29): [True: 0, False: 0]
  ------------------
 1949|       |                            /* round even ==> */
 1950|       |                            /* accept rv */
 1951|      0|                            break;
 1952|       |                        /* rv = smallest denormal */
 1953|      0|                        if (bc.nd > nd)
  ------------------
  |  Branch (1953:29): [True: 0, False: 0]
  ------------------
 1954|      0|                            break;
 1955|      0|                        goto undfl;
 1956|      0|                    }
 1957|      0|                }
 1958|  1.38k|                L = (word0(&rv) & Exp_mask) - Exp_msk1;
  ------------------
  |  |  182|  1.38k|#define word0(x) (x)->L[1]
  ------------------
                              L = (word0(&rv) & Exp_mask) - Exp_msk1;
  ------------------
  |  |  240|  1.38k|#define Exp_mask  0x7ff00000
  ------------------
                              L = (word0(&rv) & Exp_mask) - Exp_msk1;
  ------------------
  |  |  238|  1.38k|#define Exp_msk1    0x100000
  ------------------
 1959|  1.38k|                word0(&rv) = L | Bndry_mask1;
  ------------------
  |  |  182|  1.38k|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) = L | Bndry_mask1;
  ------------------
  |  |  255|  1.38k|#define Bndry_mask1 0xfffff
  ------------------
 1960|  1.38k|                word1(&rv) = 0xffffffff;
  ------------------
  |  |  183|  1.38k|#define word1(x) (x)->L[0]
  ------------------
 1961|  1.38k|                break;
 1962|  1.38k|            }
 1963|  2.08k|            if (!odd)
  ------------------
  |  Branch (1963:17): [True: 488, False: 1.59k]
  ------------------
 1964|    488|                break;
 1965|  1.59k|            if (dsign)
  ------------------
  |  Branch (1965:17): [True: 1.43k, False: 157]
  ------------------
 1966|  1.43k|                dval(&rv) += sulp(&rv, &bc);
  ------------------
  |  |  188|  1.43k|#define dval(x) (x)->d
  ------------------
 1967|    157|            else {
 1968|    157|                dval(&rv) -= sulp(&rv, &bc);
  ------------------
  |  |  188|    157|#define dval(x) (x)->d
  ------------------
 1969|    157|                if (!dval(&rv)) {
  ------------------
  |  |  188|    157|#define dval(x) (x)->d
  ------------------
  |  Branch (1969:21): [True: 0, False: 157]
  ------------------
 1970|      0|                    if (bc.nd >nd)
  ------------------
  |  Branch (1970:25): [True: 0, False: 0]
  ------------------
 1971|      0|                        break;
 1972|      0|                    goto undfl;
 1973|      0|                }
 1974|    157|            }
 1975|       |            /* dsign = 1 - dsign; */
 1976|  1.59k|            break;
 1977|  1.59k|        }
 1978|  19.2k|        if ((aadj = ratio(delta, bs)) <= 2.) {
  ------------------
  |  Branch (1978:13): [True: 12.9k, False: 6.34k]
  ------------------
 1979|  12.9k|            if (dsign)
  ------------------
  |  Branch (1979:17): [True: 6.84k, False: 6.07k]
  ------------------
 1980|  6.84k|                aadj = aadj1 = 1.;
 1981|  6.07k|            else if (word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  183|  12.1k|#define word1(x) (x)->L[0]
  |  |  ------------------
  |  |  |  Branch (183:18): [True: 3.71k, False: 2.36k]
  |  |  ------------------
  ------------------
                          else if (word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  182|  2.36k|#define word0(x) (x)->L[1]
  ------------------
                          else if (word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  254|  2.36k|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (1981:36): [True: 241, False: 2.12k]
  ------------------
 1982|  3.95k|                if (word1(&rv) == Tiny1 && !word0(&rv)) {
  ------------------
  |  |  183|  3.95k|#define word1(x) (x)->L[0]
  ------------------
                              if (word1(&rv) == Tiny1 && !word0(&rv)) {
  ------------------
  |  |  259|  7.90k|#define Tiny1 1
  ------------------
                              if (word1(&rv) == Tiny1 && !word0(&rv)) {
  ------------------
  |  |  182|      3|#define word0(x) (x)->L[1]
  ------------------
  |  Branch (1982:21): [True: 3, False: 3.94k]
  |  Branch (1982:44): [True: 0, False: 3]
  ------------------
 1983|      0|                    if (bc.nd >nd)
  ------------------
  |  Branch (1983:25): [True: 0, False: 0]
  ------------------
 1984|      0|                        break;
 1985|      0|                    goto undfl;
 1986|      0|                }
 1987|  3.95k|                aadj = 1.;
 1988|  3.95k|                aadj1 = -1.;
 1989|  3.95k|            }
 1990|  2.12k|            else {
 1991|       |                /* special case -- power of FLT_RADIX to be */
 1992|       |                /* rounded down... */
 1993|       |
 1994|  2.12k|                if (aadj < 2./FLT_RADIX)
  ------------------
  |  Branch (1994:21): [True: 0, False: 2.12k]
  ------------------
 1995|      0|                    aadj = 1./FLT_RADIX;
 1996|  2.12k|                else
 1997|  2.12k|                    aadj *= 0.5;
 1998|  2.12k|                aadj1 = -aadj;
 1999|  2.12k|            }
 2000|  12.9k|        }
 2001|  6.34k|        else {
 2002|  6.34k|            aadj *= 0.5;
 2003|  6.34k|            aadj1 = dsign ? aadj : -aadj;
  ------------------
  |  Branch (2003:21): [True: 5.45k, False: 890]
  ------------------
 2004|  6.34k|            if (Flt_Rounds == 0)
  ------------------
  |  |  265|  6.34k|#define Flt_Rounds FLT_ROUNDS
  ------------------
  |  Branch (2004:17): [True: 0, False: 6.34k]
  ------------------
 2005|      0|                aadj1 += 0.5;
 2006|  6.34k|        }
 2007|  19.2k|        y = word0(&rv) & Exp_mask;
  ------------------
  |  |  182|  19.2k|#define word0(x) (x)->L[1]
  ------------------
                      y = word0(&rv) & Exp_mask;
  ------------------
  |  |  240|  19.2k|#define Exp_mask  0x7ff00000
  ------------------
 2008|       |
 2009|       |        /* Check for overflow */
 2010|       |
 2011|  19.2k|        if (y == Exp_msk1*(DBL_MAX_EXP+Bias-1)) {
  ------------------
  |  |  238|  19.2k|#define Exp_msk1    0x100000
  ------------------
                      if (y == Exp_msk1*(DBL_MAX_EXP+Bias-1)) {
  ------------------
  |  |  243|  19.2k|#define Bias 1023
  ------------------
  |  Branch (2011:13): [True: 805, False: 18.4k]
  ------------------
 2012|    805|            dval(&rv0) = dval(&rv);
  ------------------
  |  |  188|    805|#define dval(x) (x)->d
  ------------------
                          dval(&rv0) = dval(&rv);
  ------------------
  |  |  188|    805|#define dval(x) (x)->d
  ------------------
 2013|    805|            word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  182|    805|#define word0(x) (x)->L[1]
  ------------------
                          word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  241|    805|#define P 53
  ------------------
                          word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  238|    805|#define Exp_msk1    0x100000
  ------------------
 2014|    805|            adj.d = aadj1 * ulp(&rv);
 2015|    805|            dval(&rv) += adj.d;
  ------------------
  |  |  188|    805|#define dval(x) (x)->d
  ------------------
 2016|    805|            if ((word0(&rv) & Exp_mask) >=
  ------------------
  |  |  182|    805|#define word0(x) (x)->L[1]
  ------------------
                          if ((word0(&rv) & Exp_mask) >=
  ------------------
  |  |  240|    805|#define Exp_mask  0x7ff00000
  ------------------
  |  Branch (2016:17): [True: 731, False: 74]
  ------------------
 2017|    805|                Exp_msk1*(DBL_MAX_EXP+Bias-P)) {
  ------------------
  |  |  238|    805|#define Exp_msk1    0x100000
  ------------------
                              Exp_msk1*(DBL_MAX_EXP+Bias-P)) {
  ------------------
  |  |  243|    805|#define Bias 1023
  ------------------
                              Exp_msk1*(DBL_MAX_EXP+Bias-P)) {
  ------------------
  |  |  241|    805|#define P 53
  ------------------
 2018|    731|                if (word0(&rv0) == Big0 && word1(&rv0) == Big1) {
  ------------------
  |  |  182|    731|#define word0(x) (x)->L[1]
  ------------------
                              if (word0(&rv0) == Big0 && word1(&rv0) == Big1) {
  ------------------
  |  |  273|  1.46k|#define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  251|    731|#define Frac_mask1 0xfffff
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  238|    731|#define Exp_msk1    0x100000
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  243|    731|#define Bias 1023
  |  |  ------------------
  ------------------
                              if (word0(&rv0) == Big0 && word1(&rv0) == Big1) {
  ------------------
  |  |  183|    731|#define word1(x) (x)->L[0]
  ------------------
                              if (word0(&rv0) == Big0 && word1(&rv0) == Big1) {
  ------------------
  |  |  274|    731|#define Big1 0xffffffff
  ------------------
  |  Branch (2018:21): [True: 731, False: 0]
  |  Branch (2018:44): [True: 431, False: 300]
  ------------------
 2019|    431|                    goto ovfl;
 2020|    431|                }
 2021|    300|                word0(&rv) = Big0;
  ------------------
  |  |  182|    300|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) = Big0;
  ------------------
  |  |  273|    300|#define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  251|    300|#define Frac_mask1 0xfffff
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  238|    300|#define Exp_msk1    0x100000
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  243|    300|#define Bias 1023
  |  |  ------------------
  ------------------
 2022|    300|                word1(&rv) = Big1;
  ------------------
  |  |  183|    300|#define word1(x) (x)->L[0]
  ------------------
                              word1(&rv) = Big1;
  ------------------
  |  |  274|    300|#define Big1 0xffffffff
  ------------------
 2023|    300|                goto cont;
 2024|    731|            }
 2025|     74|            else
 2026|     74|                word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  182|     74|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  241|     74|#define P 53
  ------------------
                              word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  238|     74|#define Exp_msk1    0x100000
  ------------------
 2027|    805|        }
 2028|  18.4k|        else {
 2029|  18.4k|            if (bc.scale && y <= 2*P*Exp_msk1) {
  ------------------
  |  |  241|  6.29k|#define P 53
  ------------------
                          if (bc.scale && y <= 2*P*Exp_msk1) {
  ------------------
  |  |  238|  6.29k|#define Exp_msk1    0x100000
  ------------------
  |  Branch (2029:17): [True: 6.29k, False: 12.1k]
  |  Branch (2029:29): [True: 5.75k, False: 536]
  ------------------
 2030|  5.75k|                if (aadj <= 0x7fffffff) {
  ------------------
  |  Branch (2030:21): [True: 5.75k, False: 0]
  ------------------
 2031|  5.75k|                    if ((z = (ULong)aadj) <= 0)
  ------------------
  |  Branch (2031:25): [True: 538, False: 5.21k]
  ------------------
 2032|    538|                        z = 1;
 2033|  5.75k|                    aadj = z;
 2034|  5.75k|                    aadj1 = dsign ? aadj : -aadj;
  ------------------
  |  Branch (2034:29): [True: 3.62k, False: 2.12k]
  ------------------
 2035|  5.75k|                }
 2036|  5.75k|                dval(&aadj2) = aadj1;
  ------------------
  |  |  188|  5.75k|#define dval(x) (x)->d
  ------------------
 2037|  5.75k|                word0(&aadj2) += (2*P+1)*Exp_msk1 - y;
  ------------------
  |  |  182|  5.75k|#define word0(x) (x)->L[1]
  ------------------
                              word0(&aadj2) += (2*P+1)*Exp_msk1 - y;
  ------------------
  |  |  241|  5.75k|#define P 53
  ------------------
                              word0(&aadj2) += (2*P+1)*Exp_msk1 - y;
  ------------------
  |  |  238|  5.75k|#define Exp_msk1    0x100000
  ------------------
 2038|  5.75k|                aadj1 = dval(&aadj2);
  ------------------
  |  |  188|  5.75k|#define dval(x) (x)->d
  ------------------
 2039|  5.75k|            }
 2040|  18.4k|            adj.d = aadj1 * ulp(&rv);
 2041|  18.4k|            dval(&rv) += adj.d;
  ------------------
  |  |  188|  18.4k|#define dval(x) (x)->d
  ------------------
 2042|  18.4k|        }
 2043|  18.5k|        z = word0(&rv) & Exp_mask;
  ------------------
  |  |  182|  18.5k|#define word0(x) (x)->L[1]
  ------------------
                      z = word0(&rv) & Exp_mask;
  ------------------
  |  |  240|  18.5k|#define Exp_mask  0x7ff00000
  ------------------
 2044|  18.5k|        if (bc.nd == nd) {
  ------------------
  |  Branch (2044:13): [True: 16.0k, False: 2.50k]
  ------------------
 2045|  16.0k|            if (!bc.scale)
  ------------------
  |  Branch (2045:17): [True: 10.0k, False: 6.02k]
  ------------------
 2046|  10.0k|                if (y == z) {
  ------------------
  |  Branch (2046:21): [True: 9.24k, False: 765]
  ------------------
 2047|       |                    /* Can we stop now? */
 2048|  9.24k|                    L = (Long)aadj;
 2049|  9.24k|                    aadj -= L;
 2050|       |                    /* The tolerances below are conservative. */
 2051|  9.24k|                    if (dsign || word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  183|  13.4k|#define word1(x) (x)->L[0]
  |  |  ------------------
  |  |  |  Branch (183:18): [True: 4.21k, False: 3]
  |  |  ------------------
  ------------------
                                  if (dsign || word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  182|      3|#define word0(x) (x)->L[1]
  ------------------
                                  if (dsign || word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  254|      3|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (2051:25): [True: 5.02k, False: 4.21k]
  |  Branch (2051:48): [True: 3, False: 0]
  ------------------
 2052|  9.24k|                        if (aadj < .4999999 || aadj > .5000001)
  ------------------
  |  Branch (2052:29): [True: 7.17k, False: 2.06k]
  |  Branch (2052:48): [True: 1.82k, False: 241]
  ------------------
 2053|  9.00k|                            break;
 2054|  9.24k|                    }
 2055|      0|                    else if (aadj < .4999999/FLT_RADIX)
  ------------------
  |  Branch (2055:30): [True: 0, False: 0]
  ------------------
 2056|      0|                        break;
 2057|  9.24k|                }
 2058|  16.0k|        }
 2059|  9.83k|      cont:
 2060|  9.83k|        Bfree(bb); bb = NULL;
 2061|  9.83k|        Bfree(bd); bd = NULL;
 2062|  9.83k|        Bfree(bs); bs = NULL;
 2063|  9.83k|        Bfree(delta); delta = NULL;
 2064|  9.83k|    }
 2065|  37.9k|    if (bc.nd > nd) {
  ------------------
  |  Branch (2065:9): [True: 4.23k, False: 33.7k]
  ------------------
 2066|  4.23k|        error = bigcomp(&rv, s0, &bc);
 2067|  4.23k|        if (error)
  ------------------
  |  Branch (2067:13): [True: 0, False: 4.23k]
  ------------------
 2068|      0|            goto failed_malloc;
 2069|  4.23k|    }
 2070|       |
 2071|  37.9k|    if (bc.scale) {
  ------------------
  |  Branch (2071:9): [True: 11.2k, False: 26.7k]
  ------------------
 2072|  11.2k|        word0(&rv0) = Exp_1 - 2*P*Exp_msk1;
  ------------------
  |  |  182|  11.2k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&rv0) = Exp_1 - 2*P*Exp_msk1;
  ------------------
  |  |  247|  11.2k|#define Exp_1  0x3ff00000
  ------------------
                      word0(&rv0) = Exp_1 - 2*P*Exp_msk1;
  ------------------
  |  |  241|  11.2k|#define P 53
  ------------------
                      word0(&rv0) = Exp_1 - 2*P*Exp_msk1;
  ------------------
  |  |  238|  11.2k|#define Exp_msk1    0x100000
  ------------------
 2073|  11.2k|        word1(&rv0) = 0;
  ------------------
  |  |  183|  11.2k|#define word1(x) (x)->L[0]
  ------------------
 2074|  11.2k|        dval(&rv) *= dval(&rv0);
  ------------------
  |  |  188|  11.2k|#define dval(x) (x)->d
  ------------------
                      dval(&rv) *= dval(&rv0);
  ------------------
  |  |  188|  11.2k|#define dval(x) (x)->d
  ------------------
 2075|  11.2k|    }
 2076|       |
 2077|   144k|  ret:
 2078|   144k|    result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                  result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  188|   289k|#define dval(x) (x)->d
  ------------------
  |  Branch (2078:14): [True: 0, False: 144k]
  ------------------
 2079|   144k|    goto done;
 2080|       |
 2081|      0|  parse_error:
 2082|      0|    result = 0.0;
 2083|      0|    goto done;
 2084|       |
 2085|      0|  failed_malloc:
 2086|      0|    errno = ENOMEM;
 2087|      0|    result = -1.0;
 2088|      0|    goto done;
 2089|       |
 2090|  3.81k|  undfl:
 2091|  3.81k|    result = sign ? -0.0 : 0.0;
  ------------------
  |  Branch (2091:14): [True: 0, False: 3.81k]
  ------------------
 2092|  3.81k|    goto done;
 2093|       |
 2094|  15.7k|  ovfl:
 2095|  15.7k|    errno = ERANGE;
 2096|       |    /* Can't trust HUGE_VAL */
 2097|  15.7k|    word0(&rv) = Exp_mask;
  ------------------
  |  |  182|  15.7k|#define word0(x) (x)->L[1]
  ------------------
                  word0(&rv) = Exp_mask;
  ------------------
  |  |  240|  15.7k|#define Exp_mask  0x7ff00000
  ------------------
 2098|  15.7k|    word1(&rv) = 0;
  ------------------
  |  |  183|  15.7k|#define word1(x) (x)->L[0]
  ------------------
 2099|  15.7k|    result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                  result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  188|  31.5k|#define dval(x) (x)->d
  ------------------
  |  Branch (2099:14): [True: 0, False: 15.7k]
  ------------------
 2100|  15.7k|    goto done;
 2101|       |
 2102|   164k|  done:
 2103|   164k|    Bfree(bb);
 2104|   164k|    Bfree(bd);
 2105|   164k|    Bfree(bs);
 2106|   164k|    Bfree(bd0);
 2107|   164k|    Bfree(delta);
 2108|   164k|    return result;
 2109|       |
 2110|  37.9k|}
_Py_dg_freedtoa:
 2153|  39.0k|{
 2154|  39.0k|    Bigint *b = (Bigint *)((int *)s - 1);
 2155|  39.0k|    b->maxwds = 1 << (b->k = *(int*)b);
 2156|  39.0k|    Bfree(b);
 2157|  39.0k|}
_Py_dg_dtoa:
 2200|  39.0k|{
 2201|       |    /*  Arguments ndigits, decpt, sign are similar to those
 2202|       |        of ecvt and fcvt; trailing zeros are suppressed from
 2203|       |        the returned string.  If not null, *rve is set to point
 2204|       |        to the end of the return value.  If d is +-Infinity or NaN,
 2205|       |        then *decpt is set to 9999.
 2206|       |
 2207|       |        mode:
 2208|       |        0 ==> shortest string that yields d when read in
 2209|       |        and rounded to nearest.
 2210|       |        1 ==> like 0, but with Steele & White stopping rule;
 2211|       |        e.g. with IEEE P754 arithmetic , mode 0 gives
 2212|       |        1e23 whereas mode 1 gives 9.999999999999999e22.
 2213|       |        2 ==> max(1,ndigits) significant digits.  This gives a
 2214|       |        return value similar to that of ecvt, except
 2215|       |        that trailing zeros are suppressed.
 2216|       |        3 ==> through ndigits past the decimal point.  This
 2217|       |        gives a return value similar to that from fcvt,
 2218|       |        except that trailing zeros are suppressed, and
 2219|       |        ndigits can be negative.
 2220|       |        4,5 ==> similar to 2 and 3, respectively, but (in
 2221|       |        round-nearest mode) with the tests of mode 0 to
 2222|       |        possibly return a shorter string that rounds to d.
 2223|       |        With IEEE arithmetic and compilation with
 2224|       |        -DHonor_FLT_ROUNDS, modes 4 and 5 behave the same
 2225|       |        as modes 2 and 3 when FLT_ROUNDS != 1.
 2226|       |        6-9 ==> Debugging modes similar to mode - 4:  don't try
 2227|       |        fast floating-point estimate (if applicable).
 2228|       |
 2229|       |        Values of mode other than 0-9 are treated as mode 0.
 2230|       |
 2231|       |        Sufficient space is allocated to the return value
 2232|       |        to hold the suppressed trailing zeros.
 2233|       |    */
 2234|       |
 2235|  39.0k|    int bbits, b2, b5, be, dig, i, ieps, ilim, ilim0, ilim1,
 2236|  39.0k|        j, j1, k, k0, k_check, leftright, m2, m5, s2, s5,
 2237|  39.0k|        spec_case, try_quick;
 2238|  39.0k|    Long L;
 2239|  39.0k|    int denorm;
 2240|  39.0k|    ULong x;
 2241|  39.0k|    Bigint *b, *b1, *delta, *mlo, *mhi, *S;
 2242|  39.0k|    U d2, eps, u;
 2243|  39.0k|    double ds;
 2244|  39.0k|    char *s, *s0;
 2245|       |
 2246|       |    /* set pointers to NULL, to silence gcc compiler warnings and make
 2247|       |       cleanup easier on error */
 2248|  39.0k|    mlo = mhi = S = 0;
 2249|  39.0k|    s0 = 0;
 2250|       |
 2251|  39.0k|    u.d = dd;
 2252|  39.0k|    if (word0(&u) & Sign_bit) {
  ------------------
  |  |  182|  39.0k|#define word0(x) (x)->L[1]
  ------------------
                  if (word0(&u) & Sign_bit) {
  ------------------
  |  |  256|  39.0k|#define Sign_bit 0x80000000
  ------------------
  |  Branch (2252:9): [True: 4, False: 39.0k]
  ------------------
 2253|       |        /* set sign for everything, including 0's and NaNs */
 2254|      4|        *sign = 1;
 2255|      4|        word0(&u) &= ~Sign_bit; /* clear sign bit */
  ------------------
  |  |  182|      4|#define word0(x) (x)->L[1]
  ------------------
                      word0(&u) &= ~Sign_bit; /* clear sign bit */
  ------------------
  |  |  256|      4|#define Sign_bit 0x80000000
  ------------------
 2256|      4|    }
 2257|  39.0k|    else
 2258|  39.0k|        *sign = 0;
 2259|       |
 2260|       |    /* quick return for Infinities, NaNs and zeros */
 2261|  39.0k|    if ((word0(&u) & Exp_mask) == Exp_mask)
  ------------------
  |  |  182|  39.0k|#define word0(x) (x)->L[1]
  ------------------
                  if ((word0(&u) & Exp_mask) == Exp_mask)
  ------------------
  |  |  240|  39.0k|#define Exp_mask  0x7ff00000
  ------------------
                  if ((word0(&u) & Exp_mask) == Exp_mask)
  ------------------
  |  |  240|  39.0k|#define Exp_mask  0x7ff00000
  ------------------
  |  Branch (2261:9): [True: 3.80k, False: 35.2k]
  ------------------
 2262|  3.80k|    {
 2263|       |        /* Infinity or NaN */
 2264|  3.80k|        *decpt = 9999;
 2265|  3.80k|        if (!word1(&u) && !(word0(&u) & 0xfffff))
  ------------------
  |  |  183|  7.61k|#define word1(x) (x)->L[0]
  ------------------
                      if (!word1(&u) && !(word0(&u) & 0xfffff))
  ------------------
  |  |  182|  3.80k|#define word0(x) (x)->L[1]
  ------------------
  |  Branch (2265:13): [True: 3.80k, False: 0]
  |  Branch (2265:27): [True: 3.80k, False: 0]
  ------------------
 2266|  3.80k|            return nrv_alloc("Infinity", rve, 8);
 2267|      0|        return nrv_alloc("NaN", rve, 3);
 2268|  3.80k|    }
 2269|  35.2k|    if (!dval(&u)) {
  ------------------
  |  |  188|  35.2k|#define dval(x) (x)->d
  ------------------
  |  Branch (2269:9): [True: 3.04k, False: 32.1k]
  ------------------
 2270|  3.04k|        *decpt = 1;
 2271|  3.04k|        return nrv_alloc("0", rve, 1);
 2272|  3.04k|    }
 2273|       |
 2274|       |    /* compute k = floor(log10(d)).  The computation may leave k
 2275|       |       one too large, but should never leave k too small. */
 2276|  32.1k|    b = d2b(&u, &be, &bbits);
 2277|  32.1k|    if (b == NULL)
  ------------------
  |  Branch (2277:9): [True: 0, False: 32.1k]
  ------------------
 2278|      0|        goto failed_malloc;
 2279|  32.1k|    if ((i = (int)(word0(&u) >> Exp_shift1 & (Exp_mask>>Exp_shift1)))) {
  ------------------
  |  |  182|  32.1k|#define word0(x) (x)->L[1]
  ------------------
                  if ((i = (int)(word0(&u) >> Exp_shift1 & (Exp_mask>>Exp_shift1)))) {
  ------------------
  |  |  237|  32.1k|#define Exp_shift1 20
  ------------------
                  if ((i = (int)(word0(&u) >> Exp_shift1 & (Exp_mask>>Exp_shift1)))) {
  ------------------
  |  |  240|  32.1k|#define Exp_mask  0x7ff00000
  ------------------
                  if ((i = (int)(word0(&u) >> Exp_shift1 & (Exp_mask>>Exp_shift1)))) {
  ------------------
  |  |  237|  32.1k|#define Exp_shift1 20
  ------------------
  |  Branch (2279:9): [True: 27.3k, False: 4.80k]
  ------------------
 2280|  27.3k|        dval(&d2) = dval(&u);
  ------------------
  |  |  188|  27.3k|#define dval(x) (x)->d
  ------------------
                      dval(&d2) = dval(&u);
  ------------------
  |  |  188|  27.3k|#define dval(x) (x)->d
  ------------------
 2281|  27.3k|        word0(&d2) &= Frac_mask1;
  ------------------
  |  |  182|  27.3k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&d2) &= Frac_mask1;
  ------------------
  |  |  251|  27.3k|#define Frac_mask1 0xfffff
  ------------------
 2282|  27.3k|        word0(&d2) |= Exp_11;
  ------------------
  |  |  182|  27.3k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&d2) |= Exp_11;
  ------------------
  |  |  248|  27.3k|#define Exp_11 0x3ff00000
  ------------------
 2283|       |
 2284|       |        /* log(x)       ~=~ log(1.5) + (x-1.5)/1.5
 2285|       |         * log10(x)      =  log(x) / log(10)
 2286|       |         *              ~=~ log(1.5)/log(10) + (x-1.5)/(1.5*log(10))
 2287|       |         * log10(d) = (i-Bias)*log(2)/log(10) + log10(d2)
 2288|       |         *
 2289|       |         * This suggests computing an approximation k to log10(d) by
 2290|       |         *
 2291|       |         * k = (i - Bias)*0.301029995663981
 2292|       |         *      + ( (d2-1.5)*0.289529654602168 + 0.176091259055681 );
 2293|       |         *
 2294|       |         * We want k to be too large rather than too small.
 2295|       |         * The error in the first-order Taylor series approximation
 2296|       |         * is in our favor, so we just round up the constant enough
 2297|       |         * to compensate for any error in the multiplication of
 2298|       |         * (i - Bias) by 0.301029995663981; since |i - Bias| <= 1077,
 2299|       |         * and 1077 * 0.30103 * 2^-52 ~=~ 7.2e-14,
 2300|       |         * adding 1e-13 to the constant term more than suffices.
 2301|       |         * Hence we adjust the constant term to 0.1760912590558.
 2302|       |         * (We could get a more accurate k by invoking log10,
 2303|       |         *  but this is probably not worthwhile.)
 2304|       |         */
 2305|       |
 2306|  27.3k|        i -= Bias;
  ------------------
  |  |  243|  27.3k|#define Bias 1023
  ------------------
 2307|  27.3k|        denorm = 0;
 2308|  27.3k|    }
 2309|  4.80k|    else {
 2310|       |        /* d is denormalized */
 2311|       |
 2312|  4.80k|        i = bbits + be + (Bias + (P-1) - 1);
  ------------------
  |  |  243|  4.80k|#define Bias 1023
  ------------------
                      i = bbits + be + (Bias + (P-1) - 1);
  ------------------
  |  |  241|  4.80k|#define P 53
  ------------------
 2313|  4.80k|        x = i > 32  ? word0(&u) << (64 - i) | word1(&u) >> (i - 32)
  ------------------
  |  |  182|    319|#define word0(x) (x)->L[1]
  ------------------
                      x = i > 32  ? word0(&u) << (64 - i) | word1(&u) >> (i - 32)
  ------------------
  |  |  183|    319|#define word1(x) (x)->L[0]
  ------------------
  |  Branch (2313:13): [True: 319, False: 4.48k]
  ------------------
 2314|  4.80k|            : word1(&u) << (32 - i);
  ------------------
  |  |  183|  4.48k|#define word1(x) (x)->L[0]
  ------------------
 2315|  4.80k|        dval(&d2) = x;
  ------------------
  |  |  188|  4.80k|#define dval(x) (x)->d
  ------------------
 2316|  4.80k|        word0(&d2) -= 31*Exp_msk1; /* adjust exponent */
  ------------------
  |  |  182|  4.80k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&d2) -= 31*Exp_msk1; /* adjust exponent */
  ------------------
  |  |  238|  4.80k|#define Exp_msk1    0x100000
  ------------------
 2317|  4.80k|        i -= (Bias + (P-1) - 1) + 1;
  ------------------
  |  |  243|  4.80k|#define Bias 1023
  ------------------
                      i -= (Bias + (P-1) - 1) + 1;
  ------------------
  |  |  241|  4.80k|#define P 53
  ------------------
 2318|  4.80k|        denorm = 1;
 2319|  4.80k|    }
 2320|  32.1k|    ds = (dval(&d2)-1.5)*0.289529654602168 + 0.1760912590558 +
  ------------------
  |  |  188|  32.1k|#define dval(x) (x)->d
  ------------------
 2321|  32.1k|        i*0.301029995663981;
 2322|  32.1k|    k = (int)ds;
 2323|  32.1k|    if (ds < 0. && ds != k)
  ------------------
  |  Branch (2323:9): [True: 9.43k, False: 22.7k]
  |  Branch (2323:20): [True: 9.43k, False: 0]
  ------------------
 2324|  9.43k|        k--;    /* want k = floor(ds) */
 2325|  32.1k|    k_check = 1;
 2326|  32.1k|    if (k >= 0 && k <= Ten_pmax) {
  ------------------
  |  |  252|  22.7k|#define Ten_pmax 22
  ------------------
  |  Branch (2326:9): [True: 22.7k, False: 9.43k]
  |  Branch (2326:19): [True: 17.8k, False: 4.86k]
  ------------------
 2327|  17.8k|        if (dval(&u) < tens[k])
  ------------------
  |  |  188|  17.8k|#define dval(x) (x)->d
  ------------------
  |  Branch (2327:13): [True: 524, False: 17.3k]
  ------------------
 2328|    524|            k--;
 2329|  17.8k|        k_check = 0;
 2330|  17.8k|    }
 2331|  32.1k|    j = bbits - i - 1;
 2332|  32.1k|    if (j >= 0) {
  ------------------
  |  Branch (2332:9): [True: 16.6k, False: 15.5k]
  ------------------
 2333|  16.6k|        b2 = 0;
 2334|  16.6k|        s2 = j;
 2335|  16.6k|    }
 2336|  15.5k|    else {
 2337|  15.5k|        b2 = -j;
 2338|  15.5k|        s2 = 0;
 2339|  15.5k|    }
 2340|  32.1k|    if (k >= 0) {
  ------------------
  |  Branch (2340:9): [True: 22.7k, False: 9.44k]
  ------------------
 2341|  22.7k|        b5 = 0;
 2342|  22.7k|        s5 = k;
 2343|  22.7k|        s2 += k;
 2344|  22.7k|    }
 2345|  9.44k|    else {
 2346|  9.44k|        b2 -= k;
 2347|  9.44k|        b5 = -k;
 2348|  9.44k|        s5 = 0;
 2349|  9.44k|    }
 2350|  32.1k|    if (mode < 0 || mode > 9)
  ------------------
  |  Branch (2350:9): [True: 0, False: 32.1k]
  |  Branch (2350:21): [True: 0, False: 32.1k]
  ------------------
 2351|      0|        mode = 0;
 2352|       |
 2353|  32.1k|    try_quick = 1;
 2354|       |
 2355|  32.1k|    if (mode > 5) {
  ------------------
  |  Branch (2355:9): [True: 0, False: 32.1k]
  ------------------
 2356|      0|        mode -= 4;
 2357|      0|        try_quick = 0;
 2358|      0|    }
 2359|  32.1k|    leftright = 1;
 2360|  32.1k|    ilim = ilim1 = -1;  /* Values for cases 0 and 1; done here to */
 2361|       |    /* silence erroneous "gcc -Wall" warning. */
 2362|  32.1k|    switch(mode) {
  ------------------
  |  Branch (2362:12): [True: 32.1k, False: 0]
  ------------------
 2363|  32.1k|    case 0:
  ------------------
  |  Branch (2363:5): [True: 32.1k, False: 0]
  ------------------
 2364|  32.1k|    case 1:
  ------------------
  |  Branch (2364:5): [True: 0, False: 32.1k]
  ------------------
 2365|  32.1k|        i = 18;
 2366|  32.1k|        ndigits = 0;
 2367|  32.1k|        break;
 2368|      0|    case 2:
  ------------------
  |  Branch (2368:5): [True: 0, False: 32.1k]
  ------------------
 2369|      0|        leftright = 0;
 2370|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 2371|      0|    case 4:
  ------------------
  |  Branch (2371:5): [True: 0, False: 32.1k]
  ------------------
 2372|      0|        if (ndigits <= 0)
  ------------------
  |  Branch (2372:13): [True: 0, False: 0]
  ------------------
 2373|      0|            ndigits = 1;
 2374|      0|        ilim = ilim1 = i = ndigits;
 2375|      0|        break;
 2376|      0|    case 3:
  ------------------
  |  Branch (2376:5): [True: 0, False: 32.1k]
  ------------------
 2377|      0|        leftright = 0;
 2378|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 2379|      0|    case 5:
  ------------------
  |  Branch (2379:5): [True: 0, False: 32.1k]
  ------------------
 2380|       |        /* -330 < k < 330 for any finite nonzero double.  Clamp ndigits so
 2381|       |           that ndigits + k + 1 stays within int range; no double has
 2382|       |           anywhere near this many decimal digits so the digits returned
 2383|       |           are unaffected (*decpt saturates in the no_digits case).  Same
 2384|       |           bound as DOUBLE_TO_STRING_PRECISION_MAX in pystrtod.c. */
 2385|      0|        if (ndigits > INT_MAX - 1024)
  ------------------
  |  Branch (2385:13): [True: 0, False: 0]
  ------------------
 2386|      0|            ndigits = INT_MAX - 1024;
 2387|      0|        else if (ndigits < -(INT_MAX - 1024))
  ------------------
  |  Branch (2387:18): [True: 0, False: 0]
  ------------------
 2388|      0|            ndigits = -(INT_MAX - 1024);
 2389|      0|        i = ndigits + k + 1;
 2390|      0|        ilim = i;
 2391|      0|        ilim1 = i - 1;
 2392|      0|        if (i <= 0)
  ------------------
  |  Branch (2392:13): [True: 0, False: 0]
  ------------------
 2393|      0|            i = 1;
 2394|  32.1k|    }
 2395|  32.1k|    s0 = rv_alloc(i);
 2396|  32.1k|    if (s0 == NULL)
  ------------------
  |  Branch (2396:9): [True: 0, False: 32.1k]
  ------------------
 2397|      0|        goto failed_malloc;
 2398|  32.1k|    s = s0;
 2399|       |
 2400|       |
 2401|  32.1k|    if (ilim >= 0 && ilim <= Quick_max && try_quick) {
  ------------------
  |  |  260|  32.1k|#define Quick_max 14
  ------------------
  |  Branch (2401:9): [True: 0, False: 32.1k]
  |  Branch (2401:22): [True: 0, False: 0]
  |  Branch (2401:43): [True: 0, False: 0]
  ------------------
 2402|       |
 2403|       |        /* Try to get by with floating-point arithmetic. */
 2404|       |
 2405|      0|        i = 0;
 2406|      0|        dval(&d2) = dval(&u);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                      dval(&d2) = dval(&u);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2407|      0|        k0 = k;
 2408|      0|        ilim0 = ilim;
 2409|      0|        ieps = 2; /* conservative */
 2410|      0|        if (k > 0) {
  ------------------
  |  Branch (2410:13): [True: 0, False: 0]
  ------------------
 2411|      0|            ds = tens[k&0xf];
 2412|      0|            j = k >> 4;
 2413|      0|            if (j & Bletch) {
  ------------------
  |  |  253|      0|#define Bletch 0x10
  ------------------
  |  Branch (2413:17): [True: 0, False: 0]
  ------------------
 2414|       |                /* prevent overflows */
 2415|      0|                j &= Bletch - 1;
  ------------------
  |  |  253|      0|#define Bletch 0x10
  ------------------
 2416|      0|                dval(&u) /= bigtens[n_bigtens-1];
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                              dval(&u) /= bigtens[n_bigtens-1];
  ------------------
  |  | 1121|      0|#define n_bigtens 5
  ------------------
 2417|      0|                ieps++;
 2418|      0|            }
 2419|      0|            for(; j; j >>= 1, i++)
  ------------------
  |  Branch (2419:19): [True: 0, False: 0]
  ------------------
 2420|      0|                if (j & 1) {
  ------------------
  |  Branch (2420:21): [True: 0, False: 0]
  ------------------
 2421|      0|                    ieps++;
 2422|      0|                    ds *= bigtens[i];
 2423|      0|                }
 2424|      0|            dval(&u) /= ds;
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2425|      0|        }
 2426|      0|        else if ((j1 = -k)) {
  ------------------
  |  Branch (2426:18): [True: 0, False: 0]
  ------------------
 2427|      0|            dval(&u) *= tens[j1 & 0xf];
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2428|      0|            for(j = j1 >> 4; j; j >>= 1, i++)
  ------------------
  |  Branch (2428:30): [True: 0, False: 0]
  ------------------
 2429|      0|                if (j & 1) {
  ------------------
  |  Branch (2429:21): [True: 0, False: 0]
  ------------------
 2430|      0|                    ieps++;
 2431|      0|                    dval(&u) *= bigtens[i];
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2432|      0|                }
 2433|      0|        }
 2434|      0|        if (k_check && dval(&u) < 1. && ilim > 0) {
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2434:13): [True: 0, False: 0]
  |  Branch (2434:24): [True: 0, False: 0]
  |  Branch (2434:41): [True: 0, False: 0]
  ------------------
 2435|      0|            if (ilim1 <= 0)
  ------------------
  |  Branch (2435:17): [True: 0, False: 0]
  ------------------
 2436|      0|                goto fast_failed;
 2437|      0|            ilim = ilim1;
 2438|      0|            k--;
 2439|      0|            dval(&u) *= 10.;
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2440|      0|            ieps++;
 2441|      0|        }
 2442|      0|        dval(&eps) = ieps*dval(&u) + 7.;
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                      dval(&eps) = ieps*dval(&u) + 7.;
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2443|      0|        word0(&eps) -= (P-1)*Exp_msk1;
  ------------------
  |  |  182|      0|#define word0(x) (x)->L[1]
  ------------------
                      word0(&eps) -= (P-1)*Exp_msk1;
  ------------------
  |  |  241|      0|#define P 53
  ------------------
                      word0(&eps) -= (P-1)*Exp_msk1;
  ------------------
  |  |  238|      0|#define Exp_msk1    0x100000
  ------------------
 2444|      0|        if (ilim == 0) {
  ------------------
  |  Branch (2444:13): [True: 0, False: 0]
  ------------------
 2445|      0|            S = mhi = 0;
 2446|      0|            dval(&u) -= 5.;
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2447|      0|            if (dval(&u) > dval(&eps))
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                          if (dval(&u) > dval(&eps))
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2447:17): [True: 0, False: 0]
  ------------------
 2448|      0|                goto one_digit;
 2449|      0|            if (dval(&u) < -dval(&eps))
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                          if (dval(&u) < -dval(&eps))
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2449:17): [True: 0, False: 0]
  ------------------
 2450|      0|                goto no_digits;
 2451|      0|            goto fast_failed;
 2452|      0|        }
 2453|      0|        if (leftright) {
  ------------------
  |  Branch (2453:13): [True: 0, False: 0]
  ------------------
 2454|       |            /* Use Steele & White method of only
 2455|       |             * generating digits needed.
 2456|       |             */
 2457|      0|            dval(&eps) = 0.5/tens[ilim-1] - dval(&eps);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                          dval(&eps) = 0.5/tens[ilim-1] - dval(&eps);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2458|      0|            for(i = 0;;) {
 2459|      0|                L = (Long)dval(&u);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2460|      0|                dval(&u) -= L;
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2461|      0|                *s++ = '0' + (int)L;
 2462|      0|                if (dval(&u) < dval(&eps))
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                              if (dval(&u) < dval(&eps))
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2462:21): [True: 0, False: 0]
  ------------------
 2463|      0|                    goto ret1;
 2464|      0|                if (1. - dval(&u) < dval(&eps))
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                              if (1. - dval(&u) < dval(&eps))
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2464:21): [True: 0, False: 0]
  ------------------
 2465|      0|                    goto bump_up;
 2466|      0|                if (++i >= ilim)
  ------------------
  |  Branch (2466:21): [True: 0, False: 0]
  ------------------
 2467|      0|                    break;
 2468|      0|                dval(&eps) *= 10.;
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2469|      0|                dval(&u) *= 10.;
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2470|      0|            }
 2471|      0|        }
 2472|      0|        else {
 2473|       |            /* Generate ilim digits, then fix them up. */
 2474|      0|            dval(&eps) *= tens[ilim-1];
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2475|      0|            for(i = 1;; i++, dval(&u) *= 10.) {
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2476|      0|                L = (Long)(dval(&u));
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2477|      0|                if (!(dval(&u) -= L))
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2477:21): [True: 0, False: 0]
  ------------------
 2478|      0|                    ilim = i;
 2479|      0|                *s++ = '0' + (int)L;
 2480|      0|                if (i == ilim) {
  ------------------
  |  Branch (2480:21): [True: 0, False: 0]
  ------------------
 2481|      0|                    if (dval(&u) > 0.5 + dval(&eps))
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                                  if (dval(&u) > 0.5 + dval(&eps))
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2481:25): [True: 0, False: 0]
  ------------------
 2482|      0|                        goto bump_up;
 2483|      0|                    else if (dval(&u) < 0.5 - dval(&eps)) {
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                                  else if (dval(&u) < 0.5 - dval(&eps)) {
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2483:30): [True: 0, False: 0]
  ------------------
 2484|      0|                        while(*--s == '0');
  ------------------
  |  Branch (2484:31): [True: 0, False: 0]
  ------------------
 2485|      0|                        s++;
 2486|      0|                        goto ret1;
 2487|      0|                    }
 2488|      0|                    break;
 2489|      0|                }
 2490|      0|            }
 2491|      0|        }
 2492|      0|      fast_failed:
 2493|      0|        s = s0;
 2494|      0|        dval(&u) = dval(&d2);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                      dval(&u) = dval(&d2);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2495|      0|        k = k0;
 2496|      0|        ilim = ilim0;
 2497|      0|    }
 2498|       |
 2499|       |    /* Do we have a "small" integer? */
 2500|       |
 2501|  32.1k|    if (be >= 0 && k <= Int_max) {
  ------------------
  |  |  261|  19.7k|#define Int_max 14
  ------------------
  |  Branch (2501:9): [True: 19.7k, False: 12.4k]
  |  Branch (2501:20): [True: 11.6k, False: 8.03k]
  ------------------
 2502|       |        /* Yes. */
 2503|  11.6k|        ds = tens[k];
 2504|  11.6k|        if (ndigits < 0 && ilim <= 0) {
  ------------------
  |  Branch (2504:13): [True: 0, False: 11.6k]
  |  Branch (2504:28): [True: 0, False: 0]
  ------------------
 2505|      0|            S = mhi = 0;
 2506|      0|            if (ilim < 0 || dval(&u) <= 5*ds)
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2506:17): [True: 0, False: 0]
  |  Branch (2506:29): [True: 0, False: 0]
  ------------------
 2507|      0|                goto no_digits;
 2508|      0|            goto one_digit;
 2509|      0|        }
 2510|  40.2k|        for(i = 1;; i++, dval(&u) *= 10.) {
  ------------------
  |  |  188|  28.5k|#define dval(x) (x)->d
  ------------------
 2511|  40.2k|            L = (Long)(dval(&u) / ds);
  ------------------
  |  |  188|  40.2k|#define dval(x) (x)->d
  ------------------
 2512|  40.2k|            dval(&u) -= L*ds;
  ------------------
  |  |  188|  40.2k|#define dval(x) (x)->d
  ------------------
 2513|  40.2k|            *s++ = '0' + (int)L;
 2514|  40.2k|            if (!dval(&u)) {
  ------------------
  |  |  188|  40.2k|#define dval(x) (x)->d
  ------------------
  |  Branch (2514:17): [True: 11.6k, False: 28.5k]
  ------------------
 2515|  11.6k|                break;
 2516|  11.6k|            }
 2517|  28.5k|            if (i == ilim) {
  ------------------
  |  Branch (2517:17): [True: 0, False: 28.5k]
  ------------------
 2518|      0|                dval(&u) += dval(&u);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                              dval(&u) += dval(&u);
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
 2519|      0|                if (dval(&u) > ds || (dval(&u) == ds && L & 1)) {
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
                              if (dval(&u) > ds || (dval(&u) == ds && L & 1)) {
  ------------------
  |  |  188|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2519:21): [True: 0, False: 0]
  |  Branch (2519:39): [True: 0, False: 0]
  |  Branch (2519:57): [True: 0, False: 0]
  ------------------
 2520|      0|                  bump_up:
 2521|      0|                    while(*--s == '9')
  ------------------
  |  Branch (2521:27): [True: 0, False: 0]
  ------------------
 2522|      0|                        if (s == s0) {
  ------------------
  |  Branch (2522:29): [True: 0, False: 0]
  ------------------
 2523|      0|                            k++;
 2524|      0|                            *s = '0';
 2525|      0|                            break;
 2526|      0|                        }
 2527|      0|                    ++*s++;
 2528|      0|                }
 2529|      0|                else {
 2530|       |                    /* Strip trailing zeros. This branch was missing from the
 2531|       |                       original dtoa.c, leading to surplus trailing zeros in
 2532|       |                       some cases. See bugs.python.org/issue40780. */
 2533|      0|                    while (s > s0 && s[-1] == '0') {
  ------------------
  |  Branch (2533:28): [True: 0, False: 0]
  |  Branch (2533:38): [True: 0, False: 0]
  ------------------
 2534|      0|                        --s;
 2535|      0|                    }
 2536|      0|                }
 2537|      0|                break;
 2538|      0|            }
 2539|  28.5k|        }
 2540|  11.6k|        goto ret1;
 2541|  11.6k|    }
 2542|       |
 2543|  20.5k|    m2 = b2;
 2544|  20.5k|    m5 = b5;
 2545|  20.5k|    if (leftright) {
  ------------------
  |  Branch (2545:9): [True: 20.5k, False: 0]
  ------------------
 2546|  20.5k|        i =
 2547|  20.5k|            denorm ? be + (Bias + (P-1) - 1 + 1) :
  ------------------
  |  |  243|  4.80k|#define Bias 1023
  ------------------
                          denorm ? be + (Bias + (P-1) - 1 + 1) :
  ------------------
  |  |  241|  4.80k|#define P 53
  ------------------
  |  Branch (2547:13): [True: 4.80k, False: 15.7k]
  ------------------
 2548|  20.5k|            1 + P - bbits;
  ------------------
  |  |  241|  15.7k|#define P 53
  ------------------
 2549|  20.5k|        b2 += i;
 2550|  20.5k|        s2 += i;
 2551|  20.5k|        mhi = i2b(1);
 2552|  20.5k|        if (mhi == NULL)
  ------------------
  |  Branch (2552:13): [True: 0, False: 20.5k]
  ------------------
 2553|      0|            goto failed_malloc;
 2554|  20.5k|    }
 2555|  20.5k|    if (m2 > 0 && s2 > 0) {
  ------------------
  |  Branch (2555:9): [True: 17.4k, False: 3.03k]
  |  Branch (2555:19): [True: 17.4k, False: 0]
  ------------------
 2556|  17.4k|        i = m2 < s2 ? m2 : s2;
  ------------------
  |  Branch (2556:13): [True: 12.5k, False: 4.93k]
  ------------------
 2557|  17.4k|        b2 -= i;
 2558|  17.4k|        m2 -= i;
 2559|  17.4k|        s2 -= i;
 2560|  17.4k|    }
 2561|  20.5k|    if (b5 > 0) {
  ------------------
  |  Branch (2561:9): [True: 9.44k, False: 11.0k]
  ------------------
 2562|  9.44k|        if (leftright) {
  ------------------
  |  Branch (2562:13): [True: 9.44k, False: 0]
  ------------------
 2563|  9.44k|            if (m5 > 0) {
  ------------------
  |  Branch (2563:17): [True: 9.44k, False: 0]
  ------------------
 2564|  9.44k|                mhi = pow5mult(mhi, m5);
 2565|  9.44k|                if (mhi == NULL)
  ------------------
  |  Branch (2565:21): [True: 0, False: 9.44k]
  ------------------
 2566|      0|                    goto failed_malloc;
 2567|  9.44k|                b1 = mult(mhi, b);
 2568|  9.44k|                Bfree(b);
 2569|  9.44k|                b = b1;
 2570|  9.44k|                if (b == NULL)
  ------------------
  |  Branch (2570:21): [True: 0, False: 9.44k]
  ------------------
 2571|      0|                    goto failed_malloc;
 2572|  9.44k|            }
 2573|  9.44k|            if ((j = b5 - m5)) {
  ------------------
  |  Branch (2573:17): [True: 0, False: 9.44k]
  ------------------
 2574|      0|                b = pow5mult(b, j);
 2575|      0|                if (b == NULL)
  ------------------
  |  Branch (2575:21): [True: 0, False: 0]
  ------------------
 2576|      0|                    goto failed_malloc;
 2577|      0|            }
 2578|  9.44k|        }
 2579|      0|        else {
 2580|      0|            b = pow5mult(b, b5);
 2581|      0|            if (b == NULL)
  ------------------
  |  Branch (2581:17): [True: 0, False: 0]
  ------------------
 2582|      0|                goto failed_malloc;
 2583|      0|        }
 2584|  9.44k|    }
 2585|  20.5k|    S = i2b(1);
 2586|  20.5k|    if (S == NULL)
  ------------------
  |  Branch (2586:9): [True: 0, False: 20.5k]
  ------------------
 2587|      0|        goto failed_malloc;
 2588|  20.5k|    if (s5 > 0) {
  ------------------
  |  Branch (2588:9): [True: 10.2k, False: 10.2k]
  ------------------
 2589|  10.2k|        S = pow5mult(S, s5);
 2590|  10.2k|        if (S == NULL)
  ------------------
  |  Branch (2590:13): [True: 0, False: 10.2k]
  ------------------
 2591|      0|            goto failed_malloc;
 2592|  10.2k|    }
 2593|       |
 2594|       |    /* Check for special case that d is a normalized power of 2. */
 2595|       |
 2596|  20.5k|    spec_case = 0;
 2597|  20.5k|    if ((mode < 2 || leftright)
  ------------------
  |  Branch (2597:10): [True: 20.5k, False: 0]
  |  Branch (2597:22): [True: 0, False: 0]
  ------------------
 2598|  20.5k|        ) {
 2599|  20.5k|        if (!word1(&u) && !(word0(&u) & Bndry_mask)
  ------------------
  |  |  183|  41.0k|#define word1(x) (x)->L[0]
  ------------------
                      if (!word1(&u) && !(word0(&u) & Bndry_mask)
  ------------------
  |  |  182|    426|#define word0(x) (x)->L[1]
  ------------------
                      if (!word1(&u) && !(word0(&u) & Bndry_mask)
  ------------------
  |  |  254|    426|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (2599:13): [True: 426, False: 20.0k]
  |  Branch (2599:27): [True: 188, False: 238]
  ------------------
 2600|    188|            && word0(&u) & (Exp_mask & ~Exp_msk1)
  ------------------
  |  |  182|    188|#define word0(x) (x)->L[1]
  ------------------
                          && word0(&u) & (Exp_mask & ~Exp_msk1)
  ------------------
  |  |  240|    188|#define Exp_mask  0x7ff00000
  ------------------
                          && word0(&u) & (Exp_mask & ~Exp_msk1)
  ------------------
  |  |  238|    188|#define Exp_msk1    0x100000
  ------------------
  |  Branch (2600:16): [True: 188, False: 0]
  ------------------
 2601|  20.5k|            ) {
 2602|       |            /* The special case */
 2603|    188|            b2 += Log2P;
  ------------------
  |  |  257|    188|#define Log2P 1
  ------------------
 2604|    188|            s2 += Log2P;
  ------------------
  |  |  257|    188|#define Log2P 1
  ------------------
 2605|    188|            spec_case = 1;
 2606|    188|        }
 2607|  20.5k|    }
 2608|       |
 2609|       |    /* Arrange for convenient computation of quotients:
 2610|       |     * shift left if necessary so divisor has 4 leading 0 bits.
 2611|       |     *
 2612|       |     * Perhaps we should just compute leading 28 bits of S once
 2613|       |     * and for all and pass them and a shift to quorem, so it
 2614|       |     * can do shifts and ors to compute the numerator for q.
 2615|       |     */
 2616|  20.5k|#define iInc 28
 2617|  20.5k|    i = dshift(S, s2);
 2618|  20.5k|    b2 += i;
 2619|  20.5k|    m2 += i;
 2620|  20.5k|    s2 += i;
 2621|  20.5k|    if (b2 > 0) {
  ------------------
  |  Branch (2621:9): [True: 20.5k, False: 0]
  ------------------
 2622|  20.5k|        b = lshift(b, b2);
 2623|  20.5k|        if (b == NULL)
  ------------------
  |  Branch (2623:13): [True: 0, False: 20.5k]
  ------------------
 2624|      0|            goto failed_malloc;
 2625|  20.5k|    }
 2626|  20.5k|    if (s2 > 0) {
  ------------------
  |  Branch (2626:9): [True: 20.3k, False: 153]
  ------------------
 2627|  20.3k|        S = lshift(S, s2);
 2628|  20.3k|        if (S == NULL)
  ------------------
  |  Branch (2628:13): [True: 0, False: 20.3k]
  ------------------
 2629|      0|            goto failed_malloc;
 2630|  20.3k|    }
 2631|  20.5k|    if (k_check) {
  ------------------
  |  Branch (2631:9): [True: 14.3k, False: 6.21k]
  ------------------
 2632|  14.3k|        if (cmp(b,S) < 0) {
  ------------------
  |  Branch (2632:13): [True: 3.13k, False: 11.1k]
  ------------------
 2633|  3.13k|            k--;
 2634|  3.13k|            b = multadd(b, 10, 0);      /* we botched the k estimate */
 2635|  3.13k|            if (b == NULL)
  ------------------
  |  Branch (2635:17): [True: 0, False: 3.13k]
  ------------------
 2636|      0|                goto failed_malloc;
 2637|  3.13k|            if (leftright) {
  ------------------
  |  Branch (2637:17): [True: 3.13k, False: 0]
  ------------------
 2638|  3.13k|                mhi = multadd(mhi, 10, 0);
 2639|  3.13k|                if (mhi == NULL)
  ------------------
  |  Branch (2639:21): [True: 0, False: 3.13k]
  ------------------
 2640|      0|                    goto failed_malloc;
 2641|  3.13k|            }
 2642|  3.13k|            ilim = ilim1;
 2643|  3.13k|        }
 2644|  14.3k|    }
 2645|  20.5k|    if (ilim <= 0 && (mode == 3 || mode == 5)) {
  ------------------
  |  Branch (2645:9): [True: 20.5k, False: 0]
  |  Branch (2645:23): [True: 0, False: 20.5k]
  |  Branch (2645:36): [True: 0, False: 20.5k]
  ------------------
 2646|      0|        if (ilim < 0) {
  ------------------
  |  Branch (2646:13): [True: 0, False: 0]
  ------------------
 2647|       |            /* no digits, fcvt style */
 2648|      0|          no_digits:
 2649|      0|            k = -1 - ndigits;
 2650|      0|            goto ret;
 2651|      0|        }
 2652|      0|        else {
 2653|      0|            S = multadd(S, 5, 0);
 2654|      0|            if (S == NULL)
  ------------------
  |  Branch (2654:17): [True: 0, False: 0]
  ------------------
 2655|      0|                goto failed_malloc;
 2656|      0|            if (cmp(b, S) <= 0)
  ------------------
  |  Branch (2656:17): [True: 0, False: 0]
  ------------------
 2657|      0|                goto no_digits;
 2658|      0|        }
 2659|      0|      one_digit:
 2660|      0|        *s++ = '1';
 2661|      0|        k++;
 2662|      0|        goto ret;
 2663|      0|    }
 2664|  20.5k|    if (leftright) {
  ------------------
  |  Branch (2664:9): [True: 20.5k, False: 0]
  ------------------
 2665|  20.5k|        if (m2 > 0) {
  ------------------
  |  Branch (2665:13): [True: 20.3k, False: 136]
  ------------------
 2666|  20.3k|            mhi = lshift(mhi, m2);
 2667|  20.3k|            if (mhi == NULL)
  ------------------
  |  Branch (2667:17): [True: 0, False: 20.3k]
  ------------------
 2668|      0|                goto failed_malloc;
 2669|  20.3k|        }
 2670|       |
 2671|       |        /* Compute mlo -- check for special case
 2672|       |         * that d is a normalized power of 2.
 2673|       |         */
 2674|       |
 2675|  20.5k|        mlo = mhi;
 2676|  20.5k|        if (spec_case) {
  ------------------
  |  Branch (2676:13): [True: 188, False: 20.3k]
  ------------------
 2677|    188|            mhi = Balloc(mhi->k);
 2678|    188|            if (mhi == NULL)
  ------------------
  |  Branch (2678:17): [True: 0, False: 188]
  ------------------
 2679|      0|                goto failed_malloc;
 2680|    188|            Bcopy(mhi, mlo);
  ------------------
  |  |  437|    188|#define Bcopy(x,y) memcpy((char *)&x->sign, (char *)&y->sign,   \
  |  |  438|    188|                          y->wds*sizeof(Long) + 2*sizeof(int))
  ------------------
 2681|    188|            mhi = lshift(mhi, Log2P);
  ------------------
  |  |  257|    188|#define Log2P 1
  ------------------
 2682|    188|            if (mhi == NULL)
  ------------------
  |  Branch (2682:17): [True: 0, False: 188]
  ------------------
 2683|      0|                goto failed_malloc;
 2684|    188|        }
 2685|       |
 2686|   109k|        for(i = 1;;i++) {
 2687|   109k|            dig = quorem(b,S) + '0';
 2688|       |            /* Do we yet have the shortest decimal string
 2689|       |             * that will round to d?
 2690|       |             */
 2691|   109k|            j = cmp(b, mlo);
 2692|   109k|            delta = diff(S, mhi);
 2693|   109k|            if (delta == NULL)
  ------------------
  |  Branch (2693:17): [True: 0, False: 109k]
  ------------------
 2694|      0|                goto failed_malloc;
 2695|   109k|            j1 = delta->sign ? 1 : cmp(b, delta);
  ------------------
  |  Branch (2695:18): [True: 2.89k, False: 106k]
  ------------------
 2696|   109k|            Bfree(delta);
 2697|   109k|            if (j1 == 0 && mode != 1 && !(word1(&u) & 1)
  ------------------
  |  |  183|  1.45k|#define word1(x) (x)->L[0]
  ------------------
  |  Branch (2697:17): [True: 1.45k, False: 107k]
  |  Branch (2697:28): [True: 1.45k, False: 0]
  |  Branch (2697:41): [True: 1.39k, False: 66]
  ------------------
 2698|   109k|                ) {
 2699|  1.39k|                if (dig == '9')
  ------------------
  |  Branch (2699:21): [True: 1.00k, False: 385]
  ------------------
 2700|  1.00k|                    goto round_9_up;
 2701|    385|                if (j > 0)
  ------------------
  |  Branch (2701:21): [True: 77, False: 308]
  ------------------
 2702|     77|                    dig++;
 2703|    385|                *s++ = dig;
 2704|    385|                goto ret;
 2705|  1.39k|            }
 2706|   107k|            if (j < 0 || (j == 0 && mode != 1
  ------------------
  |  Branch (2706:17): [True: 11.8k, False: 95.8k]
  |  Branch (2706:27): [True: 1.05k, False: 94.7k]
  |  Branch (2706:37): [True: 1.05k, False: 0]
  ------------------
 2707|  1.05k|                          && !(word1(&u) & 1)
  ------------------
  |  |  183|  1.05k|#define word1(x) (x)->L[0]
  ------------------
  |  Branch (2707:30): [True: 165, False: 892]
  ------------------
 2708|  95.8k|                    )) {
 2709|  12.0k|                if (!b->x[0] && b->wds <= 1) {
  ------------------
  |  Branch (2709:21): [True: 2.60k, False: 9.45k]
  |  Branch (2709:33): [True: 2.06k, False: 539]
  ------------------
 2710|  2.06k|                    goto accept_dig;
 2711|  2.06k|                }
 2712|  9.99k|                if (j1 > 0) {
  ------------------
  |  Branch (2712:21): [True: 3.42k, False: 6.57k]
  ------------------
 2713|  3.42k|                    b = lshift(b, 1);
 2714|  3.42k|                    if (b == NULL)
  ------------------
  |  Branch (2714:25): [True: 0, False: 3.42k]
  ------------------
 2715|      0|                        goto failed_malloc;
 2716|  3.42k|                    j1 = cmp(b, S);
 2717|  3.42k|                    if ((j1 > 0 || (j1 == 0 && dig & 1))
  ------------------
  |  Branch (2717:26): [True: 1.36k, False: 2.05k]
  |  Branch (2717:37): [True: 909, False: 1.14k]
  |  Branch (2717:48): [True: 114, False: 795]
  ------------------
 2718|  1.48k|                        && dig++ == '9')
  ------------------
  |  Branch (2718:28): [True: 232, False: 1.25k]
  ------------------
 2719|    232|                        goto round_9_up;
 2720|  3.42k|                }
 2721|  11.8k|              accept_dig:
 2722|  11.8k|                *s++ = dig;
 2723|  11.8k|                goto ret;
 2724|  9.99k|            }
 2725|  95.6k|            if (j1 > 0) {
  ------------------
  |  Branch (2725:17): [True: 7.05k, False: 88.5k]
  ------------------
 2726|  7.05k|                if (dig == '9') { /* possible if i == 1 */
  ------------------
  |  Branch (2726:21): [True: 2.42k, False: 4.62k]
  ------------------
 2727|  3.66k|                  round_9_up:
 2728|  3.66k|                    *s++ = '9';
 2729|  3.66k|                    goto roundoff;
 2730|  2.42k|                }
 2731|  4.62k|                *s++ = dig + 1;
 2732|  4.62k|                goto ret;
 2733|  7.05k|            }
 2734|  88.5k|            *s++ = dig;
 2735|  88.5k|            if (i == ilim)
  ------------------
  |  Branch (2735:17): [True: 0, False: 88.5k]
  ------------------
 2736|      0|                break;
 2737|  88.5k|            b = multadd(b, 10, 0);
 2738|  88.5k|            if (b == NULL)
  ------------------
  |  Branch (2738:17): [True: 0, False: 88.5k]
  ------------------
 2739|      0|                goto failed_malloc;
 2740|  88.5k|            if (mlo == mhi) {
  ------------------
  |  Branch (2740:17): [True: 88.2k, False: 382]
  ------------------
 2741|  88.2k|                mlo = mhi = multadd(mhi, 10, 0);
 2742|  88.2k|                if (mlo == NULL)
  ------------------
  |  Branch (2742:21): [True: 0, False: 88.2k]
  ------------------
 2743|      0|                    goto failed_malloc;
 2744|  88.2k|            }
 2745|    382|            else {
 2746|    382|                mlo = multadd(mlo, 10, 0);
 2747|    382|                if (mlo == NULL)
  ------------------
  |  Branch (2747:21): [True: 0, False: 382]
  ------------------
 2748|      0|                    goto failed_malloc;
 2749|    382|                mhi = multadd(mhi, 10, 0);
 2750|    382|                if (mhi == NULL)
  ------------------
  |  Branch (2750:21): [True: 0, False: 382]
  ------------------
 2751|      0|                    goto failed_malloc;
 2752|    382|            }
 2753|  88.5k|        }
 2754|  20.5k|    }
 2755|      0|    else
 2756|      0|        for(i = 1;; i++) {
 2757|      0|            *s++ = dig = quorem(b,S) + '0';
 2758|      0|            if (!b->x[0] && b->wds <= 1) {
  ------------------
  |  Branch (2758:17): [True: 0, False: 0]
  |  Branch (2758:29): [True: 0, False: 0]
  ------------------
 2759|      0|                goto ret;
 2760|      0|            }
 2761|      0|            if (i >= ilim)
  ------------------
  |  Branch (2761:17): [True: 0, False: 0]
  ------------------
 2762|      0|                break;
 2763|      0|            b = multadd(b, 10, 0);
 2764|      0|            if (b == NULL)
  ------------------
  |  Branch (2764:17): [True: 0, False: 0]
  ------------------
 2765|      0|                goto failed_malloc;
 2766|      0|        }
 2767|       |
 2768|       |    /* Round off last digit */
 2769|       |
 2770|      0|    b = lshift(b, 1);
 2771|      0|    if (b == NULL)
  ------------------
  |  Branch (2771:9): [True: 0, False: 0]
  ------------------
 2772|      0|        goto failed_malloc;
 2773|      0|    j = cmp(b, S);
 2774|      0|    if (j > 0 || (j == 0 && dig & 1)) {
  ------------------
  |  Branch (2774:9): [True: 0, False: 0]
  |  Branch (2774:19): [True: 0, False: 0]
  |  Branch (2774:29): [True: 0, False: 0]
  ------------------
 2775|  3.66k|      roundoff:
 2776|  3.66k|        while(*--s == '9')
  ------------------
  |  Branch (2776:15): [True: 3.66k, False: 0]
  ------------------
 2777|  3.66k|            if (s == s0) {
  ------------------
  |  Branch (2777:17): [True: 3.66k, False: 0]
  ------------------
 2778|  3.66k|                k++;
 2779|  3.66k|                *s++ = '1';
 2780|  3.66k|                goto ret;
 2781|  3.66k|            }
 2782|      0|        ++*s++;
 2783|      0|    }
 2784|      0|    else {
 2785|      0|        while(*--s == '0');
  ------------------
  |  Branch (2785:15): [True: 0, False: 0]
  ------------------
 2786|      0|        s++;
 2787|      0|    }
 2788|  20.5k|  ret:
 2789|  20.5k|    Bfree(S);
 2790|  20.5k|    if (mhi) {
  ------------------
  |  Branch (2790:9): [True: 20.5k, False: 0]
  ------------------
 2791|  20.5k|        if (mlo && mlo != mhi)
  ------------------
  |  Branch (2791:13): [True: 20.5k, False: 0]
  |  Branch (2791:20): [True: 188, False: 20.3k]
  ------------------
 2792|    188|            Bfree(mlo);
 2793|  20.5k|        Bfree(mhi);
 2794|  20.5k|    }
 2795|  32.1k|  ret1:
 2796|  32.1k|    Bfree(b);
 2797|  32.1k|    *s = 0;
 2798|  32.1k|    *decpt = k + 1;
 2799|  32.1k|    if (rve)
  ------------------
  |  Branch (2799:9): [True: 32.1k, False: 0]
  ------------------
 2800|  32.1k|        *rve = s;
 2801|  32.1k|    return s0;
 2802|      0|  failed_malloc:
 2803|      0|    if (S)
  ------------------
  |  Branch (2803:9): [True: 0, False: 0]
  ------------------
 2804|      0|        Bfree(S);
 2805|      0|    if (mlo && mlo != mhi)
  ------------------
  |  Branch (2805:9): [True: 0, False: 0]
  |  Branch (2805:16): [True: 0, False: 0]
  ------------------
 2806|      0|        Bfree(mlo);
 2807|      0|    if (mhi)
  ------------------
  |  Branch (2807:9): [True: 0, False: 0]
  ------------------
 2808|      0|        Bfree(mhi);
 2809|      0|    if (b)
  ------------------
  |  Branch (2809:9): [True: 0, False: 0]
  ------------------
 2810|      0|        Bfree(b);
 2811|      0|    if (s0)
  ------------------
  |  Branch (2811:9): [True: 0, False: 0]
  ------------------
 2812|      0|        _Py_dg_freedtoa(s0);
 2813|       |    return NULL;
 2814|  20.5k|}
_PyDtoa_Init:
 2820|      2|{
 2821|      2|#if _PY_SHORT_FLOAT_REPR == 1 && !defined(Py_USING_MEMORY_DEBUGGER)
 2822|      2|    Bigint **p5s = interp->dtoa.p5s;
 2823|       |
 2824|       |    // 5**4 = 625
 2825|      2|    Bigint *p5 = i2b(625);
 2826|      2|    if (p5 == NULL) {
  ------------------
  |  Branch (2826:9): [True: 0, False: 2]
  ------------------
 2827|      0|        return PyStatus_NoMemory();
 2828|      0|    }
 2829|      2|    p5s[0] = p5;
 2830|       |
 2831|       |    // compute 5**8, 5**16, 5**32, ..., 5**512
 2832|     16|    for (Py_ssize_t i = 1; i < Bigint_Pow5size; i++) {
  ------------------
  |  |  483|     16|#define Bigint_Pow5size 8
  ------------------
  |  Branch (2832:28): [True: 14, False: 2]
  ------------------
 2833|     14|        p5 = mult(p5, p5);
 2834|     14|        if (p5 == NULL) {
  ------------------
  |  Branch (2834:13): [True: 0, False: 14]
  ------------------
 2835|      0|            return PyStatus_NoMemory();
 2836|      0|        }
 2837|     14|        p5s[i] = p5;
 2838|     14|    }
 2839|       |
 2840|      2|#endif
 2841|      2|    return PyStatus_Ok();
 2842|      2|}
dtoa.c:s2b:
  487|  38.4k|{
  488|  38.4k|    Bigint *b;
  489|  38.4k|    int i, k;
  490|  38.4k|    Long x, y;
  491|       |
  492|  38.4k|    x = (nd + 8) / 9;
  493|  67.9k|    for(k = 0, y = 1; x > y; y <<= 1, k++) ;
  ------------------
  |  Branch (493:23): [True: 29.5k, False: 38.4k]
  ------------------
  494|  38.4k|    b = Balloc(k);
  495|  38.4k|    if (b == NULL)
  ------------------
  |  Branch (495:9): [True: 0, False: 38.4k]
  ------------------
  496|      0|        return NULL;
  497|  38.4k|    b->x[0] = y9;
  498|  38.4k|    b->wds = 1;
  499|       |
  500|  38.4k|    if (nd <= 9)
  ------------------
  |  Branch (500:9): [True: 17.6k, False: 20.7k]
  ------------------
  501|  17.6k|      return b;
  502|       |
  503|  20.7k|    s += 9;
  504|   215k|    for (i = 9; i < nd0; i++) {
  ------------------
  |  Branch (504:17): [True: 194k, False: 20.7k]
  ------------------
  505|   194k|        b = multadd(b, 10, *s++ - '0');
  506|   194k|        if (b == NULL)
  ------------------
  |  Branch (506:13): [True: 0, False: 194k]
  ------------------
  507|      0|            return NULL;
  508|   194k|    }
  509|  20.7k|    s++;
  510|  53.3k|    for(; i < nd; i++) {
  ------------------
  |  Branch (510:11): [True: 32.6k, False: 20.7k]
  ------------------
  511|  32.6k|        b = multadd(b, 10, *s++ - '0');
  512|  32.6k|        if (b == NULL)
  ------------------
  |  Branch (512:13): [True: 0, False: 32.6k]
  ------------------
  513|      0|            return NULL;
  514|  32.6k|    }
  515|  20.7k|    return b;
  516|  20.7k|}
dtoa.c:Balloc:
  345|   809k|{
  346|   809k|    int x;
  347|   809k|    Bigint *rv;
  348|   809k|    unsigned int len;
  349|   809k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  350|       |
  351|   809k|    if (k <= Bigint_Kmax && (rv = freelist[k]))
  ------------------
  |  |  480|  1.61M|#define Bigint_Kmax 7
  ------------------
                  if (k <= Bigint_Kmax && (rv = freelist[k]))
  ------------------
  |  |  337|   809k|#define freelist interp->dtoa.freelist
  ------------------
  |  Branch (351:9): [True: 809k, False: 0]
  |  Branch (351:29): [True: 809k, False: 55]
  ------------------
  352|   809k|        freelist[k] = rv->next;
  ------------------
  |  |  337|   809k|#define freelist interp->dtoa.freelist
  ------------------
  353|     55|    else {
  354|     55|        x = 1 << k;
  355|     55|        len = (sizeof(Bigint) + (x-1)*sizeof(ULong) + sizeof(double) - 1)
  356|     55|            /sizeof(double);
  357|     55|        if (k <= Bigint_Kmax &&
  ------------------
  |  |  480|    110|#define Bigint_Kmax 7
  ------------------
  |  Branch (357:13): [True: 55, False: 0]
  ------------------
  358|     55|            pmem_next - private_mem + len <= (Py_ssize_t)Bigint_PREALLOC_SIZE
  ------------------
  |  |  339|     55|#define pmem_next interp->dtoa.preallocated_next
  ------------------
                          pmem_next - private_mem + len <= (Py_ssize_t)Bigint_PREALLOC_SIZE
  ------------------
  |  |  338|     55|#define private_mem interp->dtoa.preallocated
  ------------------
                          pmem_next - private_mem + len <= (Py_ssize_t)Bigint_PREALLOC_SIZE
  ------------------
  |  |  489|     55|    ((PRIVATE_MEM+sizeof(double)-1)/sizeof(double))
  |  |  ------------------
  |  |  |  |  486|     55|#define PRIVATE_MEM 2304
  |  |  ------------------
  ------------------
  |  Branch (358:13): [True: 37, False: 18]
  ------------------
  359|     55|        ) {
  360|     37|            rv = (Bigint*)pmem_next;
  ------------------
  |  |  339|     37|#define pmem_next interp->dtoa.preallocated_next
  ------------------
  361|     37|            pmem_next += len;
  ------------------
  |  |  339|     37|#define pmem_next interp->dtoa.preallocated_next
  ------------------
  362|     37|        }
  363|     18|        else {
  364|     18|            rv = (Bigint*)MALLOC(len*sizeof(double));
  ------------------
  |  |  137|     18|#define MALLOC PyMem_Malloc
  ------------------
  365|     18|            if (rv == NULL)
  ------------------
  |  Branch (365:17): [True: 0, False: 18]
  ------------------
  366|      0|                return NULL;
  367|     18|        }
  368|     55|        rv->k = k;
  369|     55|        rv->maxwds = x;
  370|     55|    }
  371|   809k|    rv->sign = rv->wds = 0;
  372|   809k|    return rv;
  373|   809k|}
dtoa.c:sd2b:
  983|  52.4k|{
  984|  52.4k|    Bigint *b;
  985|       |
  986|  52.4k|    b = Balloc(1);
  987|  52.4k|    if (b == NULL)
  ------------------
  |  Branch (987:9): [True: 0, False: 52.4k]
  ------------------
  988|      0|        return NULL;
  989|       |
  990|       |    /* First construct b and e assuming that scale == 0. */
  991|  52.4k|    b->wds = 2;
  992|  52.4k|    b->x[0] = word1(d);
  ------------------
  |  |  183|  52.4k|#define word1(x) (x)->L[0]
  ------------------
  993|  52.4k|    b->x[1] = word0(d) & Frac_mask;
  ------------------
  |  |  182|  52.4k|#define word0(x) (x)->L[1]
  ------------------
                  b->x[1] = word0(d) & Frac_mask;
  ------------------
  |  |  250|  52.4k|#define Frac_mask  0xfffff
  ------------------
  994|  52.4k|    *e = Etiny - 1 + (int)((word0(d) & Exp_mask) >> Exp_shift);
  ------------------
  |  |  246|  52.4k|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
                  *e = Etiny - 1 + (int)((word0(d) & Exp_mask) >> Exp_shift);
  ------------------
  |  |  182|  52.4k|#define word0(x) (x)->L[1]
  ------------------
                  *e = Etiny - 1 + (int)((word0(d) & Exp_mask) >> Exp_shift);
  ------------------
  |  |  240|  52.4k|#define Exp_mask  0x7ff00000
  ------------------
                  *e = Etiny - 1 + (int)((word0(d) & Exp_mask) >> Exp_shift);
  ------------------
  |  |  236|  52.4k|#define Exp_shift  20
  ------------------
  995|  52.4k|    if (*e < Etiny)
  ------------------
  |  |  246|  52.4k|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
  |  Branch (995:9): [True: 2.19k, False: 50.2k]
  ------------------
  996|  2.19k|        *e = Etiny;
  ------------------
  |  |  246|  2.19k|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
  997|  50.2k|    else
  998|  50.2k|        b->x[1] |= Exp_msk1;
  ------------------
  |  |  238|  50.2k|#define Exp_msk1    0x100000
  ------------------
  999|       |
 1000|       |    /* Now adjust for scale, provided that b != 0. */
 1001|  52.4k|    if (scale && (b->x[0] || b->x[1])) {
  ------------------
  |  Branch (1001:9): [True: 18.0k, False: 34.3k]
  |  Branch (1001:19): [True: 5.58k, False: 12.5k]
  |  Branch (1001:30): [True: 10.3k, False: 2.19k]
  ------------------
 1002|  15.8k|        *e -= scale;
 1003|  15.8k|        if (*e < Etiny) {
  ------------------
  |  |  246|  15.8k|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
  |  Branch (1003:13): [True: 13.6k, False: 2.20k]
  ------------------
 1004|  13.6k|            scale = Etiny - *e;
  ------------------
  |  |  246|  13.6k|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
 1005|  13.6k|            *e = Etiny;
  ------------------
  |  |  246|  13.6k|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
 1006|       |            /* We can't shift more than P-1 bits without shifting out a 1. */
 1007|  13.6k|            assert(0 < scale && scale <= P - 1);
  ------------------
  |  Branch (1007:13): [True: 13.6k, False: 0]
  |  Branch (1007:13): [True: 13.6k, False: 0]
  ------------------
 1008|  13.6k|            if (scale >= 32) {
  ------------------
  |  Branch (1008:17): [True: 10.1k, False: 3.55k]
  ------------------
 1009|       |                /* The bits shifted out should all be zero. */
 1010|  10.1k|                assert(b->x[0] == 0);
  ------------------
  |  Branch (1010:17): [True: 10.1k, False: 0]
  ------------------
 1011|  10.1k|                b->x[0] = b->x[1];
 1012|  10.1k|                b->x[1] = 0;
 1013|  10.1k|                scale -= 32;
 1014|  10.1k|            }
 1015|  13.6k|            if (scale) {
  ------------------
  |  Branch (1015:17): [True: 13.6k, False: 55]
  ------------------
 1016|       |                /* The bits shifted out should all be zero. */
 1017|  13.6k|                assert(b->x[0] << (32 - scale) == 0);
  ------------------
  |  Branch (1017:17): [True: 13.6k, False: 0]
  ------------------
 1018|  13.6k|                b->x[0] = (b->x[0] >> scale) | (b->x[1] << (32 - scale));
 1019|  13.6k|                b->x[1] >>= scale;
 1020|  13.6k|            }
 1021|  13.6k|        }
 1022|  15.8k|    }
 1023|       |    /* Ensure b is normalized. */
 1024|  52.4k|    if (!b->x[1])
  ------------------
  |  Branch (1024:9): [True: 13.5k, False: 38.9k]
  ------------------
 1025|  13.5k|        b->wds = 1;
 1026|       |
 1027|  52.4k|    return b;
 1028|  52.4k|}
dtoa.c:i2b:
  599|  93.5k|{
  600|  93.5k|    Bigint *b;
  601|       |
  602|  93.5k|    b = Balloc(1);
  603|  93.5k|    if (b == NULL)
  ------------------
  |  Branch (603:9): [True: 0, False: 93.5k]
  ------------------
  604|      0|        return NULL;
  605|  93.5k|    b->x[0] = i;
  606|  93.5k|    b->wds = 1;
  607|  93.5k|    return b;
  608|  93.5k|}
dtoa.c:pow5mult:
  679|  66.1k|{
  680|  66.1k|    Bigint *b1, *p5, **p5s;
  681|  66.1k|    int i;
  682|  66.1k|    static const int p05[3] = { 5, 25, 125 };
  683|       |
  684|       |    // For double-to-string conversion, the maximum value of k is limited by
  685|       |    // DBL_MAX_10_EXP (308), the maximum decimal base-10 exponent for binary64.
  686|       |    // For string-to-double conversion, the extreme case is constrained by our
  687|       |    // hardcoded exponent limit before we underflow of -512, adjusted by
  688|       |    // STRTOD_DIGLIM-DBL_DIG-1, giving a maximum of k=535.
  689|  66.1k|    assert(0 <= k && k < 1024);
  ------------------
  |  Branch (689:5): [True: 66.1k, False: 0]
  |  Branch (689:5): [True: 66.1k, False: 0]
  ------------------
  690|       |
  691|  66.1k|    if ((i = k & 3)) {
  ------------------
  |  Branch (691:9): [True: 51.5k, False: 14.5k]
  ------------------
  692|  51.5k|        b = multadd(b, p05[i-1], 0);
  693|  51.5k|        if (b == NULL)
  ------------------
  |  Branch (693:13): [True: 0, False: 51.5k]
  ------------------
  694|      0|            return NULL;
  695|  51.5k|    }
  696|       |
  697|  66.1k|    if (!(k >>= 2))
  ------------------
  |  Branch (697:9): [True: 7.08k, False: 59.0k]
  ------------------
  698|  7.08k|        return b;
  699|  59.0k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  700|  59.0k|    p5s = interp->dtoa.p5s;
  701|   288k|    for(;;) {
  702|   288k|        assert(p5s != interp->dtoa.p5s + Bigint_Pow5size);
  ------------------
  |  Branch (702:9): [True: 288k, False: 0]
  ------------------
  703|   288k|        p5 = *p5s;
  704|   288k|        p5s++;
  705|   288k|        if (k & 1) {
  ------------------
  |  Branch (705:13): [True: 135k, False: 152k]
  ------------------
  706|   135k|            b1 = mult(b, p5);
  707|   135k|            Bfree(b);
  708|   135k|            b = b1;
  709|   135k|            if (b == NULL)
  ------------------
  |  Branch (709:17): [True: 0, False: 135k]
  ------------------
  710|      0|                return NULL;
  711|   135k|        }
  712|   288k|        if (!(k >>= 1))
  ------------------
  |  Branch (712:13): [True: 59.0k, False: 229k]
  ------------------
  713|  59.0k|            break;
  714|   288k|    }
  715|  59.0k|    return b;
  716|  59.0k|}
dtoa.c:mult:
  615|   175k|{
  616|   175k|    Bigint *c;
  617|   175k|    int k, wa, wb, wc;
  618|   175k|    ULong *x, *xa, *xae, *xb, *xbe, *xc, *xc0;
  619|   175k|    ULong y;
  620|   175k|    ULLong carry, z;
  621|       |
  622|   175k|    if ((!a->x[0] && a->wds == 1) || (!b->x[0] && b->wds == 1)) {
  ------------------
  |  Branch (622:10): [True: 183, False: 175k]
  |  Branch (622:22): [True: 0, False: 183]
  |  Branch (622:39): [True: 5.04k, False: 170k]
  |  Branch (622:51): [True: 2.12k, False: 2.91k]
  ------------------
  623|  2.12k|        c = Balloc(0);
  624|  2.12k|        if (c == NULL)
  ------------------
  |  Branch (624:13): [True: 0, False: 2.12k]
  ------------------
  625|      0|            return NULL;
  626|  2.12k|        c->wds = 1;
  627|  2.12k|        c->x[0] = 0;
  628|  2.12k|        return c;
  629|  2.12k|    }
  630|       |
  631|   173k|    if (a->wds < b->wds) {
  ------------------
  |  Branch (631:9): [True: 92.0k, False: 81.1k]
  ------------------
  632|  92.0k|        c = a;
  633|  92.0k|        a = b;
  634|  92.0k|        b = c;
  635|  92.0k|    }
  636|   173k|    k = a->k;
  637|   173k|    wa = a->wds;
  638|   173k|    wb = b->wds;
  639|   173k|    wc = wa + wb;
  640|   173k|    if (wc > a->maxwds)
  ------------------
  |  Branch (640:9): [True: 53.9k, False: 119k]
  ------------------
  641|  53.9k|        k++;
  642|   173k|    c = Balloc(k);
  643|   173k|    if (c == NULL)
  ------------------
  |  Branch (643:9): [True: 0, False: 173k]
  ------------------
  644|      0|        return NULL;
  645|  1.83M|    for(x = c->x, xa = x + wc; x < xa; x++)
  ------------------
  |  Branch (645:32): [True: 1.66M, False: 173k]
  ------------------
  646|  1.66M|        *x = 0;
  647|   173k|    xa = a->x;
  648|   173k|    xae = xa + wa;
  649|   173k|    xb = b->x;
  650|   173k|    xbe = xb + wb;
  651|   173k|    xc0 = c->x;
  652|   527k|    for(; xb < xbe; xc0++) {
  ------------------
  |  Branch (652:11): [True: 354k, False: 173k]
  ------------------
  653|   354k|        if ((y = *xb++)) {
  ------------------
  |  Branch (653:13): [True: 351k, False: 2.64k]
  ------------------
  654|   351k|            x = xa;
  655|   351k|            xc = xc0;
  656|   351k|            carry = 0;
  657|  3.94M|            do {
  658|  3.94M|                z = *x++ * (ULLong)y + *xc + carry;
  659|  3.94M|                carry = z >> 32;
  660|  3.94M|                *xc++ = (ULong)(z & FFFFFFFF);
  ------------------
  |  |  289|  3.94M|#define FFFFFFFF 0xffffffffUL
  ------------------
  661|  3.94M|            }
  662|  3.94M|            while(x < xae);
  ------------------
  |  Branch (662:19): [True: 3.58M, False: 351k]
  ------------------
  663|   351k|            *xc = (ULong)carry;
  664|   351k|        }
  665|   354k|    }
  666|   293k|    for(xc0 = c->x, xc = xc0 + wc; wc > 0 && !*--xc; --wc) ;
  ------------------
  |  Branch (666:36): [True: 293k, False: 0]
  |  Branch (666:46): [True: 120k, False: 173k]
  ------------------
  667|   173k|    c->wds = wc;
  668|   173k|    return c;
  669|   173k|}
dtoa.c:Bfree:
  379|  1.43M|{
  380|  1.43M|    if (v) {
  ------------------
  |  Branch (380:9): [True: 809k, False: 629k]
  ------------------
  381|   809k|        if (v->k > Bigint_Kmax)
  ------------------
  |  |  480|   809k|#define Bigint_Kmax 7
  ------------------
  |  Branch (381:13): [True: 0, False: 809k]
  ------------------
  382|      0|            FREE((void*)v);
  ------------------
  |  |  138|      0|#define FREE PyMem_Free
  ------------------
  383|   809k|        else {
  384|   809k|            PyInterpreterState *interp = _PyInterpreterState_GET();
  385|   809k|            v->next = freelist[v->k];
  ------------------
  |  |  337|   809k|#define freelist interp->dtoa.freelist
  ------------------
  386|   809k|            freelist[v->k] = v;
  ------------------
  |  |  337|   809k|#define freelist interp->dtoa.freelist
  ------------------
  387|   809k|        }
  388|   809k|    }
  389|  1.43M|}
dtoa.c:lshift:
  776|   173k|{
  777|   173k|    int i, k1, n, n1;
  778|   173k|    Bigint *b1;
  779|   173k|    ULong *x, *x1, *xe, z;
  780|       |
  781|   173k|    if (!k || (!b->x[0] && b->wds == 1))
  ------------------
  |  Branch (781:9): [True: 0, False: 173k]
  |  Branch (781:16): [True: 7.91k, False: 166k]
  |  Branch (781:28): [True: 2.19k, False: 5.71k]
  ------------------
  782|  2.19k|        return b;
  783|       |
  784|   171k|    n = k >> 5;
  785|   171k|    k1 = b->k;
  786|   171k|    n1 = n + b->wds + 1;
  787|   386k|    for(i = b->maxwds; n1 > i; i <<= 1)
  ------------------
  |  Branch (787:24): [True: 214k, False: 171k]
  ------------------
  788|   214k|        k1++;
  789|   171k|    b1 = Balloc(k1);
  790|   171k|    if (b1 == NULL) {
  ------------------
  |  Branch (790:9): [True: 0, False: 171k]
  ------------------
  791|      0|        Bfree(b);
  792|      0|        return NULL;
  793|      0|    }
  794|   171k|    x1 = b1->x;
  795|   919k|    for(i = 0; i < n; i++)
  ------------------
  |  Branch (795:16): [True: 747k, False: 171k]
  ------------------
  796|   747k|        *x1++ = 0;
  797|   171k|    x = b->x;
  798|   171k|    xe = x + b->wds;
  799|   171k|    if (k &= 0x1f) {
  ------------------
  |  Branch (799:9): [True: 169k, False: 2.31k]
  ------------------
  800|   169k|        k1 = 32 - k;
  801|   169k|        z = 0;
  802|   912k|        do {
  803|   912k|            *x1++ = *x << k | z;
  804|   912k|            z = *x++ >> k1;
  805|   912k|        }
  806|   912k|        while(x < xe);
  ------------------
  |  Branch (806:15): [True: 742k, False: 169k]
  ------------------
  807|   169k|        if ((*x1 = z))
  ------------------
  |  Branch (807:13): [True: 25.0k, False: 144k]
  ------------------
  808|  25.0k|            ++n1;
  809|   169k|    }
  810|  2.31k|    else do
  811|  6.96k|             *x1++ = *x++;
  812|  6.96k|        while(x < xe);
  ------------------
  |  Branch (812:15): [True: 4.65k, False: 2.31k]
  ------------------
  813|   171k|    b1->wds = n1 - 1;
  814|   171k|    Bfree(b);
  815|   171k|    return b1;
  816|   171k|}
dtoa.c:diff:
  856|   157k|{
  857|   157k|    Bigint *c;
  858|   157k|    int i, wa, wb;
  859|   157k|    ULong *xa, *xae, *xb, *xbe, *xc;
  860|   157k|    ULLong borrow, y;
  861|       |
  862|   157k|    i = cmp(a,b);
  863|   157k|    if (!i) {
  ------------------
  |  Branch (863:9): [True: 1.39k, False: 155k]
  ------------------
  864|  1.39k|        c = Balloc(0);
  865|  1.39k|        if (c == NULL)
  ------------------
  |  Branch (865:13): [True: 0, False: 1.39k]
  ------------------
  866|      0|            return NULL;
  867|  1.39k|        c->wds = 1;
  868|  1.39k|        c->x[0] = 0;
  869|  1.39k|        return c;
  870|  1.39k|    }
  871|   155k|    if (i < 0) {
  ------------------
  |  Branch (871:9): [True: 30.9k, False: 124k]
  ------------------
  872|  30.9k|        c = a;
  873|  30.9k|        a = b;
  874|  30.9k|        b = c;
  875|  30.9k|        i = 1;
  876|  30.9k|    }
  877|   124k|    else
  878|   124k|        i = 0;
  879|   155k|    c = Balloc(a->k);
  880|   155k|    if (c == NULL)
  ------------------
  |  Branch (880:9): [True: 0, False: 155k]
  ------------------
  881|      0|        return NULL;
  882|   155k|    c->sign = i;
  883|   155k|    wa = a->wds;
  884|   155k|    xa = a->x;
  885|   155k|    xae = xa + wa;
  886|   155k|    wb = b->wds;
  887|   155k|    xb = b->x;
  888|   155k|    xbe = xb + wb;
  889|   155k|    xc = c->x;
  890|   155k|    borrow = 0;
  891|  1.12M|    do {
  892|  1.12M|        y = (ULLong)*xa++ - *xb++ - borrow;
  893|  1.12M|        borrow = y >> 32 & (ULong)1;
  894|  1.12M|        *xc++ = (ULong)(y & FFFFFFFF);
  ------------------
  |  |  289|  1.12M|#define FFFFFFFF 0xffffffffUL
  ------------------
  895|  1.12M|    }
  896|  1.12M|    while(xb < xbe);
  ------------------
  |  Branch (896:11): [True: 968k, False: 155k]
  ------------------
  897|   269k|    while(xa < xae) {
  ------------------
  |  Branch (897:11): [True: 113k, False: 155k]
  ------------------
  898|   113k|        y = *xa++ - borrow;
  899|   113k|        borrow = y >> 32 & (ULong)1;
  900|   113k|        *xc++ = (ULong)(y & FFFFFFFF);
  ------------------
  |  |  289|   113k|#define FFFFFFFF 0xffffffffUL
  ------------------
  901|   113k|    }
  902|   210k|    while(!*--xc)
  ------------------
  |  Branch (902:11): [True: 54.9k, False: 155k]
  ------------------
  903|  54.9k|        wa--;
  904|   155k|    c->wds = wa;
  905|   155k|    return c;
  906|   155k|}
dtoa.c:cmp:
  823|   651k|{
  824|   651k|    ULong *xa, *xa0, *xb, *xb0;
  825|   651k|    int i, j;
  826|       |
  827|   651k|    i = a->wds;
  828|   651k|    j = b->wds;
  829|       |#ifdef DEBUG
  830|       |    if (i > 1 && !a->x[i-1])
  831|       |        Bug("cmp called with a->x[a->wds-1] == 0");
  832|       |    if (j > 1 && !b->x[j-1])
  833|       |        Bug("cmp called with b->x[b->wds-1] == 0");
  834|       |#endif
  835|   651k|    if (i -= j)
  ------------------
  |  Branch (835:9): [True: 124k, False: 526k]
  ------------------
  836|   124k|        return i;
  837|   526k|    xa0 = a->x;
  838|   526k|    xa = xa0 + j;
  839|   526k|    xb0 = b->x;
  840|   526k|    xb = xb0 + j;
  841|   599k|    for(;;) {
  842|   599k|        if (*--xa != *--xb)
  ------------------
  |  Branch (842:13): [True: 516k, False: 83.7k]
  ------------------
  843|   516k|            return *xa < *xb ? -1 : 1;
  ------------------
  |  Branch (843:20): [True: 360k, False: 155k]
  ------------------
  844|  83.7k|        if (xa <= xa0)
  ------------------
  |  Branch (844:13): [True: 10.8k, False: 72.8k]
  ------------------
  845|  10.8k|            break;
  846|  83.7k|    }
  847|  10.8k|    return 0;
  848|   526k|}
dtoa.c:sulp:
 1215|  2.63k|{
 1216|  2.63k|    U u;
 1217|       |
 1218|  2.63k|    if (bc->scale && 2*P + 1 > (int)((word0(x) & Exp_mask) >> Exp_shift)) {
  ------------------
  |  |  241|    287|#define P 53
  ------------------
                  if (bc->scale && 2*P + 1 > (int)((word0(x) & Exp_mask) >> Exp_shift)) {
  ------------------
  |  |  182|    287|#define word0(x) (x)->L[1]
  ------------------
                  if (bc->scale && 2*P + 1 > (int)((word0(x) & Exp_mask) >> Exp_shift)) {
  ------------------
  |  |  240|    287|#define Exp_mask  0x7ff00000
  ------------------
                  if (bc->scale && 2*P + 1 > (int)((word0(x) & Exp_mask) >> Exp_shift)) {
  ------------------
  |  |  236|    287|#define Exp_shift  20
  ------------------
  |  Branch (1218:9): [True: 287, False: 2.35k]
  |  Branch (1218:22): [True: 198, False: 89]
  ------------------
 1219|       |        /* rv/2^bc->scale is subnormal */
 1220|    198|        word0(&u) = (P+2)*Exp_msk1;
  ------------------
  |  |  182|    198|#define word0(x) (x)->L[1]
  ------------------
                      word0(&u) = (P+2)*Exp_msk1;
  ------------------
  |  |  241|    198|#define P 53
  ------------------
                      word0(&u) = (P+2)*Exp_msk1;
  ------------------
  |  |  238|    198|#define Exp_msk1    0x100000
  ------------------
 1221|    198|        word1(&u) = 0;
  ------------------
  |  |  183|    198|#define word1(x) (x)->L[0]
  ------------------
 1222|    198|        return u.d;
 1223|    198|    }
 1224|  2.44k|    else {
 1225|  2.44k|        assert(word0(x) || word1(x)); /* x != 0.0 */
  ------------------
  |  Branch (1225:9): [True: 2.44k, False: 0]
  |  Branch (1225:9): [True: 0, False: 0]
  ------------------
 1226|  2.44k|        return ulp(x);
 1227|  2.44k|    }
 1228|  2.63k|}
dtoa.c:ratio:
 1089|  19.2k|{
 1090|  19.2k|    U da, db;
 1091|  19.2k|    int k, ka, kb;
 1092|       |
 1093|  19.2k|    dval(&da) = b2d(a, &ka);
  ------------------
  |  |  188|  19.2k|#define dval(x) (x)->d
  ------------------
 1094|  19.2k|    dval(&db) = b2d(b, &kb);
  ------------------
  |  |  188|  19.2k|#define dval(x) (x)->d
  ------------------
 1095|  19.2k|    k = ka - kb + 32*(a->wds - b->wds);
 1096|  19.2k|    if (k > 0)
  ------------------
  |  Branch (1096:9): [True: 10.6k, False: 8.61k]
  ------------------
 1097|  10.6k|        word0(&da) += k*Exp_msk1;
  ------------------
  |  |  182|  10.6k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&da) += k*Exp_msk1;
  ------------------
  |  |  238|  10.6k|#define Exp_msk1    0x100000
  ------------------
 1098|  8.61k|    else {
 1099|  8.61k|        k = -k;
 1100|  8.61k|        word0(&db) += k*Exp_msk1;
  ------------------
  |  |  182|  8.61k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&db) += k*Exp_msk1;
  ------------------
  |  |  238|  8.61k|#define Exp_msk1    0x100000
  ------------------
 1101|  8.61k|    }
 1102|  19.2k|    return dval(&da) / dval(&db);
  ------------------
  |  |  188|  19.2k|#define dval(x) (x)->d
  ------------------
                  return dval(&da) / dval(&db);
  ------------------
  |  |  188|  19.2k|#define dval(x) (x)->d
  ------------------
 1103|  19.2k|}
dtoa.c:b2d:
  927|  38.5k|{
  928|  38.5k|    ULong *xa, *xa0, w, y, z;
  929|  38.5k|    int k;
  930|  38.5k|    U d;
  931|       |
  932|  38.5k|    xa0 = a->x;
  933|  38.5k|    xa = xa0 + a->wds;
  934|  38.5k|    y = *--xa;
  935|       |#ifdef DEBUG
  936|       |    if (!y) Bug("zero y in b2d");
  937|       |#endif
  938|  38.5k|    k = hi0bits(y);
  939|  38.5k|    *e = 32 - k;
  940|  38.5k|    if (k < Ebits) {
  ------------------
  |  |  249|  38.5k|#define Ebits 11
  ------------------
  |  Branch (940:9): [True: 11.7k, False: 26.7k]
  ------------------
  941|  11.7k|        word0(&d) = Exp_1 | y >> (Ebits - k);
  ------------------
  |  |  182|  11.7k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&d) = Exp_1 | y >> (Ebits - k);
  ------------------
  |  |  247|  11.7k|#define Exp_1  0x3ff00000
  ------------------
                      word0(&d) = Exp_1 | y >> (Ebits - k);
  ------------------
  |  |  249|  11.7k|#define Ebits 11
  ------------------
  942|  11.7k|        w = xa > xa0 ? *--xa : 0;
  ------------------
  |  Branch (942:13): [True: 8.96k, False: 2.80k]
  ------------------
  943|  11.7k|        word1(&d) = y << ((32-Ebits) + k) | w >> (Ebits - k);
  ------------------
  |  |  183|  11.7k|#define word1(x) (x)->L[0]
  ------------------
                      word1(&d) = y << ((32-Ebits) + k) | w >> (Ebits - k);
  ------------------
  |  |  249|  11.7k|#define Ebits 11
  ------------------
                      word1(&d) = y << ((32-Ebits) + k) | w >> (Ebits - k);
  ------------------
  |  |  249|  11.7k|#define Ebits 11
  ------------------
  944|  11.7k|        goto ret_d;
  945|  11.7k|    }
  946|  26.7k|    z = xa > xa0 ? *--xa : 0;
  ------------------
  |  Branch (946:9): [True: 22.0k, False: 4.68k]
  ------------------
  947|  26.7k|    if (k -= Ebits) {
  ------------------
  |  |  249|  26.7k|#define Ebits 11
  ------------------
  |  Branch (947:9): [True: 24.4k, False: 2.35k]
  ------------------
  948|  24.4k|        word0(&d) = Exp_1 | y << k | z >> (32 - k);
  ------------------
  |  |  182|  24.4k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&d) = Exp_1 | y << k | z >> (32 - k);
  ------------------
  |  |  247|  24.4k|#define Exp_1  0x3ff00000
  ------------------
  949|  24.4k|        y = xa > xa0 ? *--xa : 0;
  ------------------
  |  Branch (949:13): [True: 16.8k, False: 7.50k]
  ------------------
  950|  24.4k|        word1(&d) = z << k | y >> (32 - k);
  ------------------
  |  |  183|  24.4k|#define word1(x) (x)->L[0]
  ------------------
  951|  24.4k|    }
  952|  2.35k|    else {
  953|  2.35k|        word0(&d) = Exp_1 | y;
  ------------------
  |  |  182|  2.35k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&d) = Exp_1 | y;
  ------------------
  |  |  247|  2.35k|#define Exp_1  0x3ff00000
  ------------------
  954|  2.35k|        word1(&d) = z;
  ------------------
  |  |  183|  2.35k|#define word1(x) (x)->L[0]
  ------------------
  955|  2.35k|    }
  956|  38.5k|  ret_d:
  957|  38.5k|    return dval(&d);
  ------------------
  |  |  188|  38.5k|#define dval(x) (x)->d
  ------------------
  958|  26.7k|}
dtoa.c:hi0bits:
  522|  68.0k|{
  523|  68.0k|    int k = 0;
  524|       |
  525|  68.0k|    if (!(x & 0xffff0000)) {
  ------------------
  |  Branch (525:9): [True: 42.6k, False: 25.4k]
  ------------------
  526|  42.6k|        k = 16;
  527|  42.6k|        x <<= 16;
  528|  42.6k|    }
  529|  68.0k|    if (!(x & 0xff000000)) {
  ------------------
  |  Branch (529:9): [True: 41.0k, False: 26.9k]
  ------------------
  530|  41.0k|        k += 8;
  531|  41.0k|        x <<= 8;
  532|  41.0k|    }
  533|  68.0k|    if (!(x & 0xf0000000)) {
  ------------------
  |  Branch (533:9): [True: 40.2k, False: 27.8k]
  ------------------
  534|  40.2k|        k += 4;
  535|  40.2k|        x <<= 4;
  536|  40.2k|    }
  537|  68.0k|    if (!(x & 0xc0000000)) {
  ------------------
  |  Branch (537:9): [True: 34.0k, False: 34.0k]
  ------------------
  538|  34.0k|        k += 2;
  539|  34.0k|        x <<= 2;
  540|  34.0k|    }
  541|  68.0k|    if (!(x & 0x80000000)) {
  ------------------
  |  Branch (541:9): [True: 39.2k, False: 28.8k]
  ------------------
  542|  39.2k|        k++;
  543|  39.2k|        if (!(x & 0x40000000))
  ------------------
  |  Branch (543:13): [True: 0, False: 39.2k]
  ------------------
  544|      0|            return 32;
  545|  39.2k|    }
  546|  68.0k|    return k;
  547|  68.0k|}
dtoa.c:ulp:
  913|  21.7k|{
  914|  21.7k|    Long L;
  915|  21.7k|    U u;
  916|       |
  917|  21.7k|    L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1;
  ------------------
  |  |  182|  21.7k|#define word0(x) (x)->L[1]
  ------------------
                  L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1;
  ------------------
  |  |  240|  21.7k|#define Exp_mask  0x7ff00000
  ------------------
                  L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1;
  ------------------
  |  |  241|  21.7k|#define P 53
  ------------------
                  L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1;
  ------------------
  |  |  238|  21.7k|#define Exp_msk1    0x100000
  ------------------
  918|  21.7k|    word0(&u) = L;
  ------------------
  |  |  182|  21.7k|#define word0(x) (x)->L[1]
  ------------------
  919|  21.7k|    word1(&u) = 0;
  ------------------
  |  |  183|  21.7k|#define word1(x) (x)->L[0]
  ------------------
  920|  21.7k|    return dval(&u);
  ------------------
  |  |  188|  21.7k|#define dval(x) (x)->d
  ------------------
  921|  21.7k|}
dtoa.c:bigcomp:
 1278|  4.23k|{
 1279|  4.23k|    Bigint *b, *d;
 1280|  4.23k|    int b2, d2, dd, i, nd, nd0, odd, p2, p5;
 1281|       |
 1282|  4.23k|    nd = bc->nd;
 1283|  4.23k|    nd0 = bc->nd0;
 1284|  4.23k|    p5 = nd + bc->e0;
 1285|  4.23k|    b = sd2b(rv, bc->scale, &p2);
 1286|  4.23k|    if (b == NULL)
  ------------------
  |  Branch (1286:9): [True: 0, False: 4.23k]
  ------------------
 1287|      0|        return -1;
 1288|       |
 1289|       |    /* record whether the lsb of rv/2^(bc->scale) is odd:  in the exact halfway
 1290|       |       case, this is used for round to even. */
 1291|  4.23k|    odd = b->x[0] & 1;
 1292|       |
 1293|       |    /* left shift b by 1 bit and or a 1 into the least significant bit;
 1294|       |       this gives us b * 2**p2 = rv/2^(bc->scale) + 0.5 ulp. */
 1295|  4.23k|    b = lshift(b, 1);
 1296|  4.23k|    if (b == NULL)
  ------------------
  |  Branch (1296:9): [True: 0, False: 4.23k]
  ------------------
 1297|      0|        return -1;
 1298|  4.23k|    b->x[0] |= 1;
 1299|  4.23k|    p2--;
 1300|       |
 1301|  4.23k|    p2 -= p5;
 1302|  4.23k|    d = i2b(1);
 1303|  4.23k|    if (d == NULL) {
  ------------------
  |  Branch (1303:9): [True: 0, False: 4.23k]
  ------------------
 1304|      0|        Bfree(b);
 1305|      0|        return -1;
 1306|      0|    }
 1307|       |    /* Arrange for convenient computation of quotients:
 1308|       |     * shift left if necessary so divisor has 4 leading 0 bits.
 1309|       |     */
 1310|  4.23k|    if (p5 > 0) {
  ------------------
  |  Branch (1310:9): [True: 3.29k, False: 938]
  ------------------
 1311|  3.29k|        d = pow5mult(d, p5);
 1312|  3.29k|        if (d == NULL) {
  ------------------
  |  Branch (1312:13): [True: 0, False: 3.29k]
  ------------------
 1313|      0|            Bfree(b);
 1314|      0|            return -1;
 1315|      0|        }
 1316|  3.29k|    }
 1317|    938|    else if (p5 < 0) {
  ------------------
  |  Branch (1317:14): [True: 574, False: 364]
  ------------------
 1318|    574|        b = pow5mult(b, -p5);
 1319|    574|        if (b == NULL) {
  ------------------
  |  Branch (1319:13): [True: 0, False: 574]
  ------------------
 1320|      0|            Bfree(d);
 1321|      0|            return -1;
 1322|      0|        }
 1323|    574|    }
 1324|  4.23k|    if (p2 > 0) {
  ------------------
  |  Branch (1324:9): [True: 2.80k, False: 1.43k]
  ------------------
 1325|  2.80k|        b2 = p2;
 1326|  2.80k|        d2 = 0;
 1327|  2.80k|    }
 1328|  1.43k|    else {
 1329|  1.43k|        b2 = 0;
 1330|  1.43k|        d2 = -p2;
 1331|  1.43k|    }
 1332|  4.23k|    i = dshift(d, d2);
 1333|  4.23k|    if ((b2 += i) > 0) {
  ------------------
  |  Branch (1333:9): [True: 4.13k, False: 96]
  ------------------
 1334|  4.13k|        b = lshift(b, b2);
 1335|  4.13k|        if (b == NULL) {
  ------------------
  |  Branch (1335:13): [True: 0, False: 4.13k]
  ------------------
 1336|      0|            Bfree(d);
 1337|      0|            return -1;
 1338|      0|        }
 1339|  4.13k|    }
 1340|  4.23k|    if ((d2 += i) > 0) {
  ------------------
  |  Branch (1340:9): [True: 3.88k, False: 351]
  ------------------
 1341|  3.88k|        d = lshift(d, d2);
 1342|  3.88k|        if (d == NULL) {
  ------------------
  |  Branch (1342:13): [True: 0, False: 3.88k]
  ------------------
 1343|      0|            Bfree(b);
 1344|      0|            return -1;
 1345|      0|        }
 1346|  3.88k|    }
 1347|       |
 1348|       |    /* Compare s0 with b/d: set dd to -1, 0, or 1 according as s0 < b/d, s0 ==
 1349|       |     * b/d, or s0 > b/d.  Here the digits of s0 are thought of as representing
 1350|       |     * a number in the range [0.1, 1). */
 1351|  4.23k|    if (cmp(b, d) >= 0)
  ------------------
  |  Branch (1351:9): [True: 115, False: 4.12k]
  ------------------
 1352|       |        /* b/d >= 1 */
 1353|    115|        dd = -1;
 1354|  4.12k|    else {
 1355|  4.12k|        i = 0;
 1356|   100k|        for(;;) {
 1357|   100k|            b = multadd(b, 10, 0);
 1358|   100k|            if (b == NULL) {
  ------------------
  |  Branch (1358:17): [True: 0, False: 100k]
  ------------------
 1359|      0|                Bfree(d);
 1360|      0|                return -1;
 1361|      0|            }
 1362|   100k|            dd = s0[i < nd0 ? i : i+1] - '0' - quorem(b, d);
  ------------------
  |  Branch (1362:21): [True: 93.8k, False: 6.83k]
  ------------------
 1363|   100k|            i++;
 1364|       |
 1365|   100k|            if (dd)
  ------------------
  |  Branch (1365:17): [True: 2.91k, False: 97.7k]
  ------------------
 1366|  2.91k|                break;
 1367|  97.7k|            if (!b->x[0] && b->wds == 1) {
  ------------------
  |  Branch (1367:17): [True: 6.87k, False: 90.8k]
  |  Branch (1367:29): [True: 1.05k, False: 5.82k]
  ------------------
 1368|       |                /* b/d == 0 */
 1369|  1.05k|                dd = i < nd;
 1370|  1.05k|                break;
 1371|  1.05k|            }
 1372|  96.6k|            if (!(i < nd)) {
  ------------------
  |  Branch (1372:17): [True: 150, False: 96.5k]
  ------------------
 1373|       |                /* b/d != 0, but digits of s0 exhausted */
 1374|    150|                dd = -1;
 1375|    150|                break;
 1376|    150|            }
 1377|  96.6k|        }
 1378|  4.12k|    }
 1379|  4.23k|    Bfree(b);
 1380|  4.23k|    Bfree(d);
 1381|  4.23k|    if (dd > 0 || (dd == 0 && odd))
  ------------------
  |  Branch (1381:9): [True: 764, False: 3.47k]
  |  Branch (1381:20): [True: 1.04k, False: 2.42k]
  |  Branch (1381:31): [True: 0, False: 1.04k]
  ------------------
 1382|    764|        dval(rv) += sulp(rv, bc);
  ------------------
  |  |  188|    764|#define dval(x) (x)->d
  ------------------
 1383|  4.23k|    return 0;
 1384|  4.23k|}
dtoa.c:nrv_alloc:
 2132|  6.84k|{
 2133|  6.84k|    char *rv, *t;
 2134|       |
 2135|  6.84k|    rv = rv_alloc(n);
 2136|  6.84k|    if (rv == NULL)
  ------------------
  |  Branch (2136:9): [True: 0, False: 6.84k]
  ------------------
 2137|      0|        return NULL;
 2138|  6.84k|    t = rv;
 2139|  40.3k|    while((*t = *s++)) t++;
  ------------------
  |  Branch (2139:11): [True: 33.4k, False: 6.84k]
  ------------------
 2140|  6.84k|    if (rve)
  ------------------
  |  Branch (2140:9): [True: 6.84k, False: 0]
  ------------------
 2141|  6.84k|        *rve = t;
 2142|  6.84k|    return rv;
 2143|  6.84k|}
dtoa.c:d2b:
 1041|  32.1k|{
 1042|  32.1k|    Bigint *b;
 1043|  32.1k|    int de, k;
 1044|  32.1k|    ULong *x, y, z;
 1045|  32.1k|    int i;
 1046|       |
 1047|  32.1k|    b = Balloc(1);
 1048|  32.1k|    if (b == NULL)
  ------------------
  |  Branch (1048:9): [True: 0, False: 32.1k]
  ------------------
 1049|      0|        return NULL;
 1050|  32.1k|    x = b->x;
 1051|       |
 1052|  32.1k|    z = word0(d) & Frac_mask;
  ------------------
  |  |  182|  32.1k|#define word0(x) (x)->L[1]
  ------------------
                  z = word0(d) & Frac_mask;
  ------------------
  |  |  250|  32.1k|#define Frac_mask  0xfffff
  ------------------
 1053|  32.1k|    word0(d) &= 0x7fffffff;   /* clear sign bit, which we ignore */
  ------------------
  |  |  182|  32.1k|#define word0(x) (x)->L[1]
  ------------------
 1054|  32.1k|    if ((de = (int)(word0(d) >> Exp_shift)))
  ------------------
  |  |  182|  32.1k|#define word0(x) (x)->L[1]
  ------------------
                  if ((de = (int)(word0(d) >> Exp_shift)))
  ------------------
  |  |  236|  32.1k|#define Exp_shift  20
  ------------------
  |  Branch (1054:9): [True: 27.3k, False: 4.80k]
  ------------------
 1055|  27.3k|        z |= Exp_msk1;
  ------------------
  |  |  238|  27.3k|#define Exp_msk1    0x100000
  ------------------
 1056|  32.1k|    if ((y = word1(d))) {
  ------------------
  |  |  183|  32.1k|#define word1(x) (x)->L[0]
  ------------------
  |  Branch (1056:9): [True: 21.7k, False: 10.4k]
  ------------------
 1057|  21.7k|        if ((k = lo0bits(&y))) {
  ------------------
  |  Branch (1057:13): [True: 14.4k, False: 7.29k]
  ------------------
 1058|  14.4k|            x[0] = y | z << (32 - k);
 1059|  14.4k|            z >>= k;
 1060|  14.4k|        }
 1061|  7.29k|        else
 1062|  7.29k|            x[0] = y;
 1063|  21.7k|        i =
 1064|  21.7k|            b->wds = (x[1] = z) ? 2 : 1;
  ------------------
  |  Branch (1064:22): [True: 16.6k, False: 5.01k]
  ------------------
 1065|  21.7k|    }
 1066|  10.4k|    else {
 1067|  10.4k|        k = lo0bits(&z);
 1068|  10.4k|        x[0] = z;
 1069|  10.4k|        i =
 1070|  10.4k|            b->wds = 1;
 1071|  10.4k|        k += 32;
 1072|  10.4k|    }
 1073|  32.1k|    if (de) {
  ------------------
  |  Branch (1073:9): [True: 27.3k, False: 4.80k]
  ------------------
 1074|  27.3k|        *e = de - Bias - (P-1) + k;
  ------------------
  |  |  243|  27.3k|#define Bias 1023
  ------------------
                      *e = de - Bias - (P-1) + k;
  ------------------
  |  |  241|  27.3k|#define P 53
  ------------------
 1075|  27.3k|        *bits = P - k;
  ------------------
  |  |  241|  27.3k|#define P 53
  ------------------
 1076|  27.3k|    }
 1077|  4.80k|    else {
 1078|  4.80k|        *e = de - Bias - (P-1) + 1 + k;
  ------------------
  |  |  243|  4.80k|#define Bias 1023
  ------------------
                      *e = de - Bias - (P-1) + 1 + k;
  ------------------
  |  |  241|  4.80k|#define P 53
  ------------------
 1079|  4.80k|        *bits = 32*i - hi0bits(x[i-1]);
 1080|  4.80k|    }
 1081|  32.1k|    return b;
 1082|  32.1k|}
dtoa.c:lo0bits:
  554|  32.1k|{
  555|  32.1k|    int k;
  556|  32.1k|    ULong x = *y;
  557|       |
  558|  32.1k|    if (x & 7) {
  ------------------
  |  Branch (558:9): [True: 18.0k, False: 14.1k]
  ------------------
  559|  18.0k|        if (x & 1)
  ------------------
  |  Branch (559:13): [True: 7.61k, False: 10.4k]
  ------------------
  560|  7.61k|            return 0;
  561|  10.4k|        if (x & 2) {
  ------------------
  |  Branch (561:13): [True: 9.19k, False: 1.21k]
  ------------------
  562|  9.19k|            *y = x >> 1;
  563|  9.19k|            return 1;
  564|  9.19k|        }
  565|  1.21k|        *y = x >> 2;
  566|  1.21k|        return 2;
  567|  10.4k|    }
  568|  14.1k|    k = 0;
  569|  14.1k|    if (!(x & 0xffff)) {
  ------------------
  |  Branch (569:9): [True: 7.40k, False: 6.77k]
  ------------------
  570|  7.40k|        k = 16;
  571|  7.40k|        x >>= 16;
  572|  7.40k|    }
  573|  14.1k|    if (!(x & 0xff)) {
  ------------------
  |  Branch (573:9): [True: 3.25k, False: 10.9k]
  ------------------
  574|  3.25k|        k += 8;
  575|  3.25k|        x >>= 8;
  576|  3.25k|    }
  577|  14.1k|    if (!(x & 0xf)) {
  ------------------
  |  Branch (577:9): [True: 6.50k, False: 7.67k]
  ------------------
  578|  6.50k|        k += 4;
  579|  6.50k|        x >>= 4;
  580|  6.50k|    }
  581|  14.1k|    if (!(x & 0x3)) {
  ------------------
  |  Branch (581:9): [True: 6.10k, False: 8.07k]
  ------------------
  582|  6.10k|        k += 2;
  583|  6.10k|        x >>= 2;
  584|  6.10k|    }
  585|  14.1k|    if (!(x & 1)) {
  ------------------
  |  Branch (585:9): [True: 6.47k, False: 7.70k]
  ------------------
  586|  6.47k|        k++;
  587|  6.47k|        x >>= 1;
  588|  6.47k|        if (!x)
  ------------------
  |  Branch (588:13): [True: 0, False: 6.47k]
  ------------------
  589|      0|            return 32;
  590|  6.47k|    }
  591|  14.1k|    *y = x;
  592|  14.1k|    return k;
  593|  14.1k|}
dtoa.c:rv_alloc:
 2114|  39.0k|{
 2115|  39.0k|    int k, *r;
 2116|  39.0k|    size_t j;   /* size_t so that j <<= 1 cannot overflow for i near INT_MAX */
 2117|       |
 2118|  39.0k|    j = sizeof(ULong);
 2119|  39.0k|    for(k = 0;
 2120|  39.0k|        sizeof(Bigint) - sizeof(ULong) - sizeof(int) + j <= (unsigned)i;
  ------------------
  |  Branch (2120:9): [True: 0, False: 39.0k]
  ------------------
 2121|  39.0k|        j <<= 1)
 2122|      0|        k++;
 2123|  39.0k|    r = (int*)Balloc(k);
 2124|  39.0k|    if (r == NULL)
  ------------------
  |  Branch (2124:9): [True: 0, False: 39.0k]
  ------------------
 2125|      0|        return NULL;
 2126|  39.0k|    *r = k;
 2127|  39.0k|    return (char *)(r+1);
 2128|  39.0k|}
dtoa.c:dshift:
 1130|  24.7k|{
 1131|  24.7k|    int rv = hi0bits(b->x[b->wds-1]) - 4;
 1132|  24.7k|    if (p2 > 0)
  ------------------
  |  Branch (1132:9): [True: 16.9k, False: 7.77k]
  ------------------
 1133|  16.9k|        rv -= p2;
 1134|  24.7k|    return rv & kmask;
  ------------------
  |  | 1125|  24.7k|#define kmask 31
  ------------------
 1135|  24.7k|}
dtoa.c:multadd:
  446|   563k|{
  447|   563k|    int i, wds;
  448|   563k|    ULong *x;
  449|   563k|    ULLong carry, y;
  450|   563k|    Bigint *b1;
  451|       |
  452|   563k|    wds = b->wds;
  453|   563k|    x = b->x;
  454|   563k|    i = 0;
  455|   563k|    carry = a;
  456|  2.01M|    do {
  457|  2.01M|        y = *x * (ULLong)m + carry;
  458|  2.01M|        carry = y >> 32;
  459|  2.01M|        *x++ = (ULong)(y & FFFFFFFF);
  ------------------
  |  |  289|  2.01M|#define FFFFFFFF 0xffffffffUL
  ------------------
  460|  2.01M|    }
  461|  2.01M|    while(++i < wds);
  ------------------
  |  Branch (461:11): [True: 1.45M, False: 563k]
  ------------------
  462|   563k|    if (carry) {
  ------------------
  |  Branch (462:9): [True: 37.6k, False: 525k]
  ------------------
  463|  37.6k|        if (wds >= b->maxwds) {
  ------------------
  |  Branch (463:13): [True: 848, False: 36.8k]
  ------------------
  464|    848|            b1 = Balloc(b->k+1);
  465|    848|            if (b1 == NULL){
  ------------------
  |  Branch (465:17): [True: 0, False: 848]
  ------------------
  466|      0|                Bfree(b);
  467|      0|                return NULL;
  468|      0|            }
  469|    848|            Bcopy(b1, b);
  ------------------
  |  |  437|    848|#define Bcopy(x,y) memcpy((char *)&x->sign, (char *)&y->sign,   \
  |  |  438|    848|                          y->wds*sizeof(Long) + 2*sizeof(int))
  ------------------
  470|    848|            Bfree(b);
  471|    848|            b = b1;
  472|    848|        }
  473|  37.6k|        b->x[wds++] = (ULong)carry;
  474|  37.6k|        b->wds = wds;
  475|  37.6k|    }
  476|   563k|    return b;
  477|   563k|}
dtoa.c:quorem:
 1143|   209k|{
 1144|   209k|    int n;
 1145|   209k|    ULong *bx, *bxe, q, *sx, *sxe;
 1146|   209k|    ULLong borrow, carry, y, ys;
 1147|       |
 1148|   209k|    n = S->wds;
 1149|       |#ifdef DEBUG
 1150|       |    /*debug*/ if (b->wds > n)
 1151|       |        /*debug*/       Bug("oversize b in quorem");
 1152|       |#endif
 1153|   209k|    if (b->wds < n)
  ------------------
  |  Branch (1153:9): [True: 3.91k, False: 205k]
  ------------------
 1154|  3.91k|        return 0;
 1155|   205k|    sx = S->x;
 1156|   205k|    sxe = sx + --n;
 1157|   205k|    bx = b->x;
 1158|   205k|    bxe = bx + n;
 1159|   205k|    q = *bxe / (*sxe + 1);      /* ensure q <= true quotient */
 1160|       |#ifdef DEBUG
 1161|       |    /*debug*/ if (q > 9)
 1162|       |        /*debug*/       Bug("oversized quotient in quorem");
 1163|       |#endif
 1164|   205k|    if (q) {
  ------------------
  |  Branch (1164:9): [True: 173k, False: 32.6k]
  ------------------
 1165|   173k|        borrow = 0;
 1166|   173k|        carry = 0;
 1167|  1.03M|        do {
 1168|  1.03M|            ys = *sx++ * (ULLong)q + carry;
 1169|  1.03M|            carry = ys >> 32;
 1170|  1.03M|            y = *bx - (ys & FFFFFFFF) - borrow;
  ------------------
  |  |  289|  1.03M|#define FFFFFFFF 0xffffffffUL
  ------------------
 1171|  1.03M|            borrow = y >> 32 & (ULong)1;
 1172|  1.03M|            *bx++ = (ULong)(y & FFFFFFFF);
  ------------------
  |  |  289|  1.03M|#define FFFFFFFF 0xffffffffUL
  ------------------
 1173|  1.03M|        }
 1174|  1.03M|        while(sx <= sxe);
  ------------------
  |  Branch (1174:15): [True: 865k, False: 173k]
  ------------------
 1175|   173k|        if (!*bxe) {
  ------------------
  |  Branch (1175:13): [True: 418, False: 172k]
  ------------------
 1176|    418|            bx = b->x;
 1177|    418|            while(--bxe > bx && !*bxe)
  ------------------
  |  Branch (1177:19): [True: 173, False: 245]
  |  Branch (1177:33): [True: 0, False: 173]
  ------------------
 1178|      0|                --n;
 1179|    418|            b->wds = n;
 1180|    418|        }
 1181|   173k|    }
 1182|   205k|    if (cmp(b, S) >= 0) {
  ------------------
  |  Branch (1182:9): [True: 8.25k, False: 197k]
  ------------------
 1183|  8.25k|        q++;
 1184|  8.25k|        borrow = 0;
 1185|  8.25k|        carry = 0;
 1186|  8.25k|        bx = b->x;
 1187|  8.25k|        sx = S->x;
 1188|  28.1k|        do {
 1189|  28.1k|            ys = *sx++ + carry;
 1190|  28.1k|            carry = ys >> 32;
 1191|  28.1k|            y = *bx - (ys & FFFFFFFF) - borrow;
  ------------------
  |  |  289|  28.1k|#define FFFFFFFF 0xffffffffUL
  ------------------
 1192|  28.1k|            borrow = y >> 32 & (ULong)1;
 1193|  28.1k|            *bx++ = (ULong)(y & FFFFFFFF);
  ------------------
  |  |  289|  28.1k|#define FFFFFFFF 0xffffffffUL
  ------------------
 1194|  28.1k|        }
 1195|  28.1k|        while(sx <= sxe);
  ------------------
  |  Branch (1195:15): [True: 19.8k, False: 8.25k]
  ------------------
 1196|  8.25k|        bx = b->x;
 1197|  8.25k|        bxe = bx + n;
 1198|  8.25k|        if (!*bxe) {
  ------------------
  |  Branch (1198:13): [True: 8.00k, False: 241]
  ------------------
 1199|  10.1k|            while(--bxe > bx && !*bxe)
  ------------------
  |  Branch (1199:19): [True: 4.37k, False: 5.79k]
  |  Branch (1199:33): [True: 2.15k, False: 2.21k]
  ------------------
 1200|  2.15k|                --n;
 1201|  8.00k|            b->wds = n;
 1202|  8.00k|        }
 1203|  8.25k|    }
 1204|   205k|    return q;
 1205|   209k|}

_PyImport_FindSharedFuncptr:
   59|     20|{
   60|     20|    dl_funcptr p;
   61|     20|    void *handle;
   62|     20|    char funcname[258];
   63|     20|    char pathbuf[260];
   64|     20|    int dlopenflags=0;
   65|       |
   66|     20|    if (strchr(pathname, '/') == NULL) {
  ------------------
  |  Branch (66:9): [True: 0, False: 20]
  ------------------
   67|       |        /* Prefix bare filename with "./" */
   68|      0|        PyOS_snprintf(pathbuf, sizeof(pathbuf), "./%-.255s", pathname);
   69|      0|        pathname = pathbuf;
   70|      0|    }
   71|       |
   72|     20|    PyOS_snprintf(funcname, sizeof(funcname),
   73|     20|                  LEAD_UNDERSCORE "%.20s_%.200s", prefix, shortname);
  ------------------
  |  |   21|     20|#define LEAD_UNDERSCORE ""
  ------------------
   74|       |
   75|     20|    if (fp != NULL) {
  ------------------
  |  Branch (75:9): [True: 0, False: 20]
  ------------------
   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|     20|    dlopenflags = _PyImport_GetDLOpenFlags(_PyInterpreterState_GET());
   82|       |
   83|     20|    handle = dlopen(pathname, dlopenflags);
   84|       |
   85|     20|    if (handle == NULL) {
  ------------------
  |  Branch (85:9): [True: 0, False: 20]
  ------------------
   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|     20|    p = (dl_funcptr) dlsym(handle, funcname);
  113|     20|    return p;
  114|     20|}

_PyErr_SetRaisedException:
   28|   433k|{
   29|   433k|    PyObject *old_exc = tstate->current_exception;
   30|   433k|    tstate->current_exception = exc;
   31|   433k|    Py_XDECREF(old_exc);
  ------------------
  |  |  621|   433k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   433k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   433k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|   433k|}
_PyErr_Restore:
   63|   177k|{
   64|   177k|    if (type == NULL) {
  ------------------
  |  Branch (64:9): [True: 171k, False: 5.49k]
  ------------------
   65|   171k|        assert(value == NULL);
  ------------------
  |  Branch (65:9): [True: 171k, False: 0]
  ------------------
   66|   171k|        assert(traceback == NULL);
  ------------------
  |  Branch (66:9): [True: 171k, False: 0]
  ------------------
   67|   171k|        _PyErr_SetRaisedException(tstate, NULL);
   68|   171k|        return;
   69|   171k|    }
   70|   177k|    assert(PyExceptionClass_Check(type));
  ------------------
  |  Branch (70:5): [True: 5.49k, False: 0]
  |  Branch (70:5): [True: 5.49k, False: 0]
  ------------------
   71|  5.49k|    if (value != NULL && type == (PyObject *)Py_TYPE(value)) {
  ------------------
  |  |  213|  5.49k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (71:9): [True: 5.49k, False: 0]
  |  Branch (71:26): [True: 5.49k, 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|  5.49k|    }
   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|  5.49k|    assert(PyExceptionInstance_Check(value));
  ------------------
  |  Branch (89:5): [True: 5.49k, False: 0]
  ------------------
   90|  5.49k|    if (traceback != NULL) {
  ------------------
  |  Branch (90:9): [True: 0, False: 5.49k]
  ------------------
   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|  5.49k|    _PyErr_SetRaisedException(tstate, value);
  100|  5.49k|    Py_DECREF(type);
  ------------------
  |  |  430|  5.49k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  101|  5.49k|}
PyErr_Restore:
  105|  5.49k|{
  106|  5.49k|    PyThreadState *tstate = _PyThreadState_GET();
  107|  5.49k|    _PyErr_Restore(tstate, type, value, traceback);
  108|  5.49k|}
PyErr_SetRaisedException:
  112|   146k|{
  113|   146k|    PyThreadState *tstate = _PyThreadState_GET();
  114|   146k|    _PyErr_SetRaisedException(tstate, exc);
  115|   146k|}
_PyErr_GetTopmostException:
  119|   105k|{
  120|   105k|    _PyErr_StackItem *exc_info = tstate->exc_info;
  121|   105k|    assert(exc_info);
  ------------------
  |  Branch (121:5): [True: 105k, False: 0]
  ------------------
  122|       |
  123|   105k|    while (exc_info->exc_value == NULL && exc_info->previous_item != NULL)
  ------------------
  |  Branch (123:12): [True: 104k, False: 1.18k]
  |  Branch (123:43): [True: 4, False: 104k]
  ------------------
  124|      4|    {
  125|      4|        exc_info = exc_info->previous_item;
  126|      4|    }
  127|   105k|    assert(!Py_IsNone(exc_info->exc_value));
  ------------------
  |  Branch (127:5): [True: 105k, False: 0]
  ------------------
  128|   105k|    return exc_info;
  129|   105k|}
_PyErr_SetObject:
  155|   105k|{
  156|   105k|    PyObject *exc_value;
  157|       |
  158|   105k|    if (exception != NULL &&
  ------------------
  |  Branch (158:9): [True: 105k, False: 0]
  ------------------
  159|   105k|        !PyExceptionClass_Check(exception)) {
  ------------------
  |  |   61|   105k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|   211k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   105k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   105k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 105k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|   105k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|   105k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 105k, 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|   105k|    int is_subclass = 0;
  168|   105k|    if (value != NULL && PyExceptionInstance_Check(value)) {
  ------------------
  |  |   65|   105k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   105k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 41.7k, False: 63.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (168:9): [True: 105k, False: 0]
  ------------------
  169|  41.7k|        is_subclass = PyObject_IsSubclass((PyObject *)Py_TYPE(value), exception);
  ------------------
  |  |  213|  41.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  41.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  170|  41.7k|        if (is_subclass < 0) {
  ------------------
  |  Branch (170:13): [True: 0, False: 41.7k]
  ------------------
  171|      0|            return;
  172|      0|        }
  173|  41.7k|    }
  174|   105k|    Py_XINCREF(value);
  ------------------
  |  |  611|   105k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   105k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   105k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  175|   105k|    if (!is_subclass) {
  ------------------
  |  Branch (175:9): [True: 63.8k, False: 41.7k]
  ------------------
  176|       |        /* We must normalize the value right now */
  177|       |
  178|       |        /* Issue #23571: functions must not be called with an
  179|       |            exception set */
  180|  63.8k|        _PyErr_Clear(tstate);
  181|       |
  182|  63.8k|        PyObject *fixed_value = _PyErr_CreateException(exception, value);
  183|  63.8k|        if (fixed_value == NULL) {
  ------------------
  |  Branch (183:13): [True: 0, False: 63.8k]
  ------------------
  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|  63.8k|        Py_XSETREF(value, fixed_value);
  ------------------
  |  |  576|  63.8k|    do { \
  |  |  577|  63.8k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  63.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  63.8k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  63.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  63.8k|        *_tmp_dst_ptr = (src); \
  |  |  580|  63.8k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  63.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  63.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  63.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  63.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 63.8k]
  |  |  ------------------
  ------------------
  198|  63.8k|    }
  199|       |
  200|   105k|    exc_value = _PyErr_GetTopmostException(tstate)->exc_value;
  201|   105k|    if (exc_value != NULL && exc_value != Py_None) {
  ------------------
  |  |  616|  1.17k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (201:9): [True: 1.17k, False: 104k]
  |  Branch (201:30): [True: 1.17k, False: 0]
  ------------------
  202|       |        /* Implicit exception chaining */
  203|  1.17k|        Py_INCREF(exc_value);
  ------------------
  |  |  310|  1.17k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#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|  1.17k|        if (exc_value != value) {
  ------------------
  |  Branch (210:13): [True: 1.17k, False: 0]
  ------------------
  211|  1.17k|            PyObject *o = exc_value, *context;
  212|  1.17k|            PyObject *slow_o = o;  /* Floyd's cycle detection algo */
  213|  1.17k|            int slow_update_toggle = 0;
  214|  1.72k|            while ((context = PyException_GetContext(o))) {
  ------------------
  |  Branch (214:20): [True: 542, False: 1.17k]
  ------------------
  215|    542|                Py_DECREF(context);
  ------------------
  |  |  430|    542|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    542|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    542|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  216|    542|                if (context == value) {
  ------------------
  |  Branch (216:21): [True: 0, False: 542]
  ------------------
  217|      0|                    PyException_SetContext(o, NULL);
  218|      0|                    break;
  219|      0|                }
  220|    542|                o = context;
  221|    542|                if (o == slow_o) {
  ------------------
  |  Branch (221:21): [True: 0, False: 542]
  ------------------
  222|       |                    /* pre-existing cycle - all exceptions on the
  223|       |                       path were visited and checked.  */
  224|      0|                    break;
  225|      0|                }
  226|    542|                if (slow_update_toggle) {
  ------------------
  |  Branch (226:21): [True: 173, False: 369]
  ------------------
  227|    173|                    slow_o = PyException_GetContext(slow_o);
  228|    173|                    Py_DECREF(slow_o);
  ------------------
  |  |  430|    173|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    173|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    173|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  229|    173|                }
  230|    542|                slow_update_toggle = !slow_update_toggle;
  231|    542|            }
  232|  1.17k|            PyException_SetContext(value, exc_value);
  233|  1.17k|        }
  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|  1.17k|    }
  238|   105k|    assert(value != NULL);
  ------------------
  |  Branch (238:5): [True: 105k, False: 0]
  ------------------
  239|   105k|    assert(PyExceptionInstance_Check(value));
  ------------------
  |  Branch (239:5): [True: 105k, False: 0]
  ------------------
  240|   105k|    _PyErr_SetRaisedException(tstate, value);
  241|   105k|}
PyErr_SetObject:
  245|  46.2k|{
  246|  46.2k|    PyThreadState *tstate = _PyThreadState_GET();
  247|  46.2k|    _PyErr_SetObject(tstate, exception, value);
  248|  46.2k|}
_PyErr_SetKeyError:
  259|    836|{
  260|    836|    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|    836|    _PyErr_Clear(tstate);
  266|       |
  267|    836|    PyObject *exc = PyObject_CallOneArg(PyExc_KeyError, arg);
  268|    836|    if (!exc) {
  ------------------
  |  Branch (268:9): [True: 0, False: 836]
  ------------------
  269|       |        /* caller will expect error to be set anyway */
  270|      0|        return;
  271|      0|    }
  272|       |
  273|    836|    _PyErr_SetObject(tstate, (PyObject*)Py_TYPE(exc), exc);
  ------------------
  |  |  213|    836|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    836|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    836|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|    836|    Py_DECREF(exc);
  ------------------
  |  |  430|    836|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    836|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    836|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  275|    836|}
_PyErr_SetString:
  295|  20.7k|{
  296|  20.7k|    PyObject *value = PyUnicode_FromString(string);
  297|  20.7k|    if (value != NULL) {
  ------------------
  |  Branch (297:9): [True: 20.7k, False: 0]
  ------------------
  298|  20.7k|        _PyErr_SetObject(tstate, exception, value);
  299|  20.7k|        Py_DECREF(value);
  ------------------
  |  |  430|  20.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  300|  20.7k|    }
  301|  20.7k|}
PyErr_SetString:
  305|  19.4k|{
  306|  19.4k|    PyThreadState *tstate = _PyThreadState_GET();
  307|  19.4k|    _PyErr_SetString(tstate, exception, string);
  308|  19.4k|}
PyErr_Occurred:
  322|  3.77M|{
  323|       |    /* The caller must hold a thread state. */
  324|  3.77M|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|  3.77M|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
  325|       |
  326|  3.77M|    PyThreadState *tstate = _PyThreadState_GET();
  327|  3.77M|    return _PyErr_Occurred(tstate);
  328|  3.77M|}
PyErr_GivenExceptionMatches:
  333|   129k|{
  334|   129k|    if (err == NULL || exc == NULL) {
  ------------------
  |  Branch (334:9): [True: 9.23k, False: 120k]
  |  Branch (334:24): [True: 0, False: 120k]
  ------------------
  335|       |        /* maybe caused by "import exceptions" that failed early on */
  336|  9.23k|        return 0;
  337|  9.23k|    }
  338|   120k|    if (PyTuple_Check(exc)) {
  ------------------
  |  |   27|   120k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   120k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 916, False: 119k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  339|    916|        PyThreadState *tstate = _PyThreadState_GET();
  340|    916|        if (_Py_ReachedRecursionLimitWithMargin(tstate, 2)) {
  ------------------
  |  Branch (340:13): [True: 0, False: 916]
  ------------------
  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|    916|        int res = 0;
  351|    916|        Py_ssize_t n = PyTuple_GET_SIZE(exc);
  ------------------
  |  |   27|    916|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    916|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    916|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|  1.41k|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (352:32): [True: 1.40k, False: 12]
  ------------------
  353|       |            /* Test recursively */
  354|  1.40k|            if (PyErr_GivenExceptionMatches(err, PyTuple_GET_ITEM(exc, i))) {
  ------------------
  |  |   29|  1.40k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.40k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (354:17): [True: 904, False: 497]
  |  Branch (354:50): [True: 1.40k, False: 0]
  ------------------
  355|    904|                res = 1;
  356|    904|                break;
  357|    904|            }
  358|  1.40k|        }
  359|    916|        return res;
  360|    916|    }
  361|       |    /* err might be an instance, so check its class. */
  362|   119k|    if (PyExceptionInstance_Check(err))
  ------------------
  |  |   65|   119k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   119k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 35.6k, False: 83.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  363|  35.6k|        err = PyExceptionInstance_Class(err);
  ------------------
  |  |   69|  35.6k|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|  35.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  364|       |
  365|   119k|    if (PyExceptionClass_Check(err) && PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|   238k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|   238k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   119k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   119k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 119k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|   238k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|   119k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 119k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyExceptionClass_Check(err) && PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|   119k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|   238k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   119k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   119k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 119k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|   119k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|   119k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 119k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  366|   119k|        return PyType_IsSubtype((PyTypeObject *)err, (PyTypeObject *)exc);
  367|   119k|    }
  368|       |
  369|      0|    return err == exc;
  370|   119k|}
_PyErr_ExceptionMatches:
  375|  88.6k|{
  376|  88.6k|    return PyErr_GivenExceptionMatches(_PyErr_Occurred(tstate), exc);
  377|  88.6k|}
PyErr_ExceptionMatches:
  382|  88.6k|{
  383|  88.6k|    PyThreadState *tstate = _PyThreadState_GET();
  384|  88.6k|    return _PyErr_ExceptionMatches(tstate, exc);
  385|  88.6k|}
_PyErr_GetRaisedException:
  510|   192k|_PyErr_GetRaisedException(PyThreadState *tstate) {
  511|   192k|    PyObject *exc = tstate->current_exception;
  512|       |    tstate->current_exception = NULL;
  513|   192k|    return exc;
  514|   192k|}
PyErr_GetRaisedException:
  518|   147k|{
  519|   147k|    PyThreadState *tstate = _PyThreadState_GET();
  520|   147k|    return _PyErr_GetRaisedException(tstate);
  521|   147k|}
_PyErr_Fetch:
  526|  8.86k|{
  527|  8.86k|    PyObject *exc = _PyErr_GetRaisedException(tstate);
  528|  8.86k|    *p_value = exc;
  529|  8.86k|    if (exc == NULL) {
  ------------------
  |  Branch (529:9): [True: 0, False: 8.86k]
  ------------------
  530|      0|        *p_type = NULL;
  531|      0|        *p_traceback = NULL;
  532|      0|    }
  533|  8.86k|    else {
  534|  8.86k|        *p_type = Py_NewRef(Py_TYPE(exc));
  ------------------
  |  |  647|  8.86k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  535|  8.86k|        *p_traceback = PyException_GetTraceback(exc);
  536|  8.86k|    }
  537|  8.86k|}
PyErr_Fetch:
  542|  8.86k|{
  543|  8.86k|    PyThreadState *tstate = _PyThreadState_GET();
  544|  8.86k|    _PyErr_Fetch(tstate, p_type, p_value, p_traceback);
  545|  8.86k|}
_PyErr_Clear:
  550|   171k|{
  551|   171k|    _PyErr_Restore(tstate, NULL, NULL, NULL);
  552|   171k|}
PyErr_Clear:
  557|  73.2k|{
  558|  73.2k|    PyThreadState *tstate = _PyThreadState_GET();
  559|  73.2k|    _PyErr_Clear(tstate);
  560|  73.2k|}
_PyErr_ChainExceptions1Tstate:
  718|    101|{
  719|    101|    if (exc == NULL) {
  ------------------
  |  Branch (719:9): [True: 101, False: 0]
  ------------------
  720|    101|        return;
  721|    101|    }
  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|    101|{
  735|    101|    PyThreadState *tstate = _PyThreadState_GET();
  736|    101|    _PyErr_ChainExceptions1Tstate(tstate, exc);
  737|    101|}
PyErr_SetFromErrnoWithFilenameObject:
  821|  5.63k|{
  822|       |    return PyErr_SetFromErrnoWithFilenameObjects(exc, filenameObject, NULL);
  823|  5.63k|}
PyErr_SetFromErrnoWithFilenameObjects:
  827|  6.38k|{
  828|  6.38k|    PyThreadState *tstate = _PyThreadState_GET();
  829|  6.38k|    PyObject *message;
  830|  6.38k|    PyObject *v, *args;
  831|  6.38k|    int i = errno;
  832|       |#ifdef MS_WINDOWS
  833|       |    WCHAR *s_buf = NULL;
  834|       |#endif /* Unix/Windows */
  835|       |
  836|  6.38k|#ifdef EINTR
  837|  6.38k|    if (i == EINTR && PyErr_CheckSignals())
  ------------------
  |  Branch (837:9): [True: 0, False: 6.38k]
  |  Branch (837:23): [True: 0, False: 0]
  ------------------
  838|      0|        return NULL;
  839|  6.38k|#endif
  840|       |
  841|  6.38k|#ifndef MS_WINDOWS
  842|  6.38k|    if (i != 0) {
  ------------------
  |  Branch (842:9): [True: 6.38k, False: 0]
  ------------------
  843|  6.38k|        message = _Py_strerror(i);
  844|  6.38k|    }
  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|  6.38k|    if (message == NULL)
  ------------------
  |  Branch (890:9): [True: 0, False: 6.38k]
  ------------------
  891|      0|    {
  892|       |#ifdef MS_WINDOWS
  893|       |        LocalFree(s_buf);
  894|       |#endif
  895|      0|        return NULL;
  896|      0|    }
  897|       |
  898|  6.38k|    if (filenameObject != NULL) {
  ------------------
  |  Branch (898:9): [True: 5.63k, False: 750]
  ------------------
  899|  5.63k|        if (filenameObject2 != NULL)
  ------------------
  |  Branch (899:13): [True: 0, False: 5.63k]
  ------------------
  900|      0|            args = Py_BuildValue("(iOOiO)", i, message, filenameObject, 0, filenameObject2);
  901|  5.63k|        else
  902|  5.63k|            args = Py_BuildValue("(iOO)", i, message, filenameObject);
  903|  5.63k|    } else {
  904|    750|        assert(filenameObject2 == NULL);
  ------------------
  |  Branch (904:9): [True: 750, False: 0]
  ------------------
  905|    750|        args = Py_BuildValue("(iO)", i, message);
  906|    750|    }
  907|  6.38k|    Py_DECREF(message);
  ------------------
  |  |  430|  6.38k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  908|       |
  909|  6.38k|    if (args != NULL) {
  ------------------
  |  Branch (909:9): [True: 6.38k, False: 0]
  ------------------
  910|  6.38k|        v = PyObject_Call(exc, args, NULL);
  911|  6.38k|        Py_DECREF(args);
  ------------------
  |  |  430|  6.38k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  912|  6.38k|        if (v != NULL) {
  ------------------
  |  Branch (912:13): [True: 6.38k, False: 0]
  ------------------
  913|  6.38k|            _PyErr_SetObject(tstate, (PyObject *) Py_TYPE(v), v);
  ------------------
  |  |  213|  6.38k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  914|  6.38k|            Py_DECREF(v);
  ------------------
  |  |  430|  6.38k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  915|  6.38k|        }
  916|  6.38k|    }
  917|       |#ifdef MS_WINDOWS
  918|       |    LocalFree(s_buf);
  919|       |#endif
  920|       |    return NULL;
  921|  6.38k|}
PyErr_SetFromErrno:
  942|    750|{
  943|    750|    return PyErr_SetFromErrnoWithFilenameObjects(exc, NULL, NULL);
  944|    750|}
_PyErr_SetImportErrorWithNameFrom:
 1162|      6|{
 1163|      6|    return _PyErr_SetImportErrorSubclassWithNameFrom(PyExc_ImportError, msg, name, path, from_name);
 1164|      6|}
_PyErr_FormatV:
 1221|  29.4k|{
 1222|  29.4k|    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|  29.4k|    _PyErr_Clear(tstate);
 1227|       |
 1228|  29.4k|    string = PyUnicode_FromFormatV(format, vargs);
 1229|  29.4k|    if (string != NULL) {
  ------------------
  |  Branch (1229:9): [True: 29.4k, False: 0]
  ------------------
 1230|  29.4k|        _PyErr_SetObject(tstate, exception, string);
 1231|  29.4k|        Py_DECREF(string);
  ------------------
  |  |  430|  29.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1232|  29.4k|    }
 1233|       |    return NULL;
 1234|  29.4k|}
_PyErr_Format:
 1248|  3.35k|{
 1249|  3.35k|    va_list vargs;
 1250|  3.35k|    va_start(vargs, format);
 1251|  3.35k|    _PyErr_FormatV(tstate, exception, format, vargs);
 1252|  3.35k|    va_end(vargs);
 1253|       |    return NULL;
 1254|  3.35k|}
PyErr_Format:
 1259|  26.0k|{
 1260|  26.0k|    PyThreadState *tstate = _PyThreadState_GET();
 1261|  26.0k|    va_list vargs;
 1262|  26.0k|    va_start(vargs, format);
 1263|  26.0k|    _PyErr_FormatV(tstate, exception, format, vargs);
 1264|  26.0k|    va_end(vargs);
 1265|       |    return NULL;
 1266|  26.0k|}
_PyErr_FormatNote:
 1272|  1.73k|{
 1273|  1.73k|    PyObject *exc = PyErr_GetRaisedException();
 1274|  1.73k|    if (exc == NULL) {
  ------------------
  |  Branch (1274:9): [True: 0, False: 1.73k]
  ------------------
 1275|      0|        return;
 1276|      0|    }
 1277|  1.73k|    va_list vargs;
 1278|  1.73k|    va_start(vargs, format);
 1279|  1.73k|    PyObject *note = PyUnicode_FromFormatV(format, vargs);
 1280|  1.73k|    va_end(vargs);
 1281|  1.73k|    if (note == NULL) {
  ------------------
  |  Branch (1281:9): [True: 0, False: 1.73k]
  ------------------
 1282|      0|        goto error;
 1283|      0|    }
 1284|  1.73k|    int res = _PyException_AddNote(exc, note);
 1285|  1.73k|    Py_DECREF(note);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1286|  1.73k|    if (res < 0) {
  ------------------
  |  Branch (1286:9): [True: 0, False: 1.73k]
  ------------------
 1287|      0|        goto error;
 1288|      0|    }
 1289|  1.73k|    PyErr_SetRaisedException(exc);
 1290|  1.73k|    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: 3, False: 5]
  ------------------
 1312|      3|        base = PyExc_Exception;
 1313|      3|    }
 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|}
PyErr_RangedSyntaxLocationObject:
 1930|    378|                                 int end_lineno, int end_col_offset) {
 1931|    378|    PyErr_SyntaxLocationObjectEx(filename, lineno, col_offset, end_lineno, end_col_offset);
 1932|    378|}
_PyErr_RaiseSyntaxError:
 1958|    611|{
 1959|    611|    PyObject *text = PyErr_ProgramTextObject(filename, lineno);
 1960|    611|    if (text == NULL) {
  ------------------
  |  Branch (1960:9): [True: 611, False: 0]
  ------------------
 1961|    611|        text = Py_NewRef(Py_None);
  ------------------
  |  |  647|    611|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    611|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    611|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1962|    611|    }
 1963|    611|    PyObject *args = Py_BuildValue("O(OiiOii)", msg, filename,
 1964|    611|                                   lineno, col_offset, text,
 1965|    611|                                   end_lineno, end_col_offset);
 1966|    611|    if (args == NULL) {
  ------------------
  |  Branch (1966:9): [True: 0, False: 611]
  ------------------
 1967|      0|        goto exit;
 1968|      0|    }
 1969|    611|    PyErr_SetObject(PyExc_SyntaxError, args);
 1970|    611| exit:
 1971|    611|    Py_DECREF(text);
  ------------------
  |  |  430|    611|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    611|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    611|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1972|    611|    Py_XDECREF(args);
  ------------------
  |  |  621|    611|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    611|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    611|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1973|    611|}
_PyErr_EmitSyntaxWarning:
 1983|  8.61k|{
 1984|  8.61k|    if (PyErr_WarnExplicitObject(PyExc_SyntaxWarning, msg, filename, lineno,
  ------------------
  |  Branch (1984:9): [True: 0, False: 8.61k]
  ------------------
 1985|  8.61k|                                 module, NULL) < 0)
 1986|      0|    {
 1987|      0|        if (PyErr_ExceptionMatches(PyExc_SyntaxWarning)) {
  ------------------
  |  Branch (1987:13): [True: 0, False: 0]
  ------------------
 1988|       |            /* Replace the SyntaxWarning exception with a SyntaxError
 1989|       |               to get a more accurate error report */
 1990|      0|            PyErr_Clear();
 1991|      0|            _PyErr_RaiseSyntaxError(msg, filename, lineno, col_offset,
 1992|      0|                                    end_lineno, end_col_offset);
 1993|      0|        }
 1994|      0|        return -1;
 1995|      0|    }
 1996|  8.61k|    return 0;
 1997|  8.61k|}
_PyErr_ProgramDecodedTextObject:
 2065|  5.59k|{
 2066|  5.59k|    char *found_encoding = NULL;
 2067|  5.59k|    if (filename == NULL || lineno <= 0) {
  ------------------
  |  Branch (2067:9): [True: 0, False: 5.59k]
  |  Branch (2067:29): [True: 0, False: 5.59k]
  ------------------
 2068|      0|        return NULL;
 2069|      0|    }
 2070|       |
 2071|  5.59k|    FILE *fp = Py_fopen(filename, "r" PY_STDIOTEXTMODE);
  ------------------
  |  |    9|  5.59k|#define PY_STDIOTEXTMODE "b"
  ------------------
 2072|  5.59k|    if (fp == NULL) {
  ------------------
  |  Branch (2072:9): [True: 5.59k, False: 0]
  ------------------
 2073|  5.59k|        PyErr_Clear();
 2074|  5.59k|        return NULL;
 2075|  5.59k|    }
 2076|      0|    if (encoding == NULL) {
  ------------------
  |  Branch (2076:9): [True: 0, False: 0]
  ------------------
 2077|      0|        int fd = fileno(fp);
 2078|      0|        found_encoding = _PyTokenizer_FindEncodingFilename(fd, filename);
 2079|      0|        encoding = found_encoding;
 2080|      0|        if (encoding == NULL) {
  ------------------
  |  Branch (2080:13): [True: 0, False: 0]
  ------------------
 2081|      0|            PyErr_Clear();
 2082|      0|            encoding = "utf-8";
 2083|      0|        }
 2084|       |        /* Reset position */
 2085|      0|        if (lseek(fd, 0, SEEK_SET) == (off_t)-1) {
  ------------------
  |  Branch (2085:13): [True: 0, False: 0]
  ------------------
 2086|      0|            fclose(fp);
 2087|      0|            PyMem_Free(found_encoding);
 2088|      0|            return NULL;
 2089|      0|        }
 2090|      0|    }
 2091|      0|    PyObject *res = err_programtext(fp, lineno, encoding);
 2092|      0|    fclose(fp);
 2093|      0|    PyMem_Free(found_encoding);
 2094|      0|    return res;
 2095|      0|}
PyErr_ProgramTextObject:
 2099|    989|{
 2100|       |    return _PyErr_ProgramDecodedTextObject(filename, lineno, NULL);
 2101|    989|}
errors.c:_PyErr_CreateException:
   36|  63.8k|{
   37|  63.8k|    PyObject *exc;
   38|       |
   39|  63.8k|    if (value == NULL || value == Py_None) {
  ------------------
  |  |  616|  63.8k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (39:9): [True: 0, False: 63.8k]
  |  Branch (39:26): [True: 0, False: 63.8k]
  ------------------
   40|      0|        exc = _PyObject_CallNoArgs(exception_type);
   41|      0|    }
   42|  63.8k|    else if (PyTuple_Check(value)) {
  ------------------
  |  |   27|  63.8k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  63.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 13.6k, False: 50.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   43|  13.6k|        exc = PyObject_Call(exception_type, value, NULL);
   44|  13.6k|    }
   45|  50.2k|    else {
   46|  50.2k|        exc = PyObject_CallOneArg(exception_type, value);
   47|  50.2k|    }
   48|       |
   49|  63.8k|    if (exc != NULL && !PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|  63.8k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  63.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (49:9): [True: 63.8k, False: 0]
  |  Branch (49:24): [True: 0, False: 63.8k]
  ------------------
   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|  63.8k|    return exc;
   58|  63.8k|}
errors.c:_PyErr_SetImportErrorSubclassWithNameFrom:
 1141|      6|{
 1142|      6|    PyThreadState *tstate = _PyThreadState_GET();
 1143|      6|    PyObject *error = new_importerror(
 1144|      6|                        tstate, exception, msg, name, path, from_name);
 1145|      6|    if (error != NULL) {
  ------------------
  |  Branch (1145:9): [True: 6, False: 0]
  ------------------
 1146|      6|        _PyErr_SetObject(tstate, (PyObject *)Py_TYPE(error), error);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1147|      6|        Py_DECREF(error);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1148|      6|    }
 1149|       |    return NULL;
 1150|      6|}
errors.c:new_importerror:
 1087|      6|{
 1088|      6|    PyObject *exc = NULL;
 1089|      6|    PyObject *kwargs = NULL;
 1090|       |
 1091|      6|    int issubclass = PyObject_IsSubclass(exctype, PyExc_ImportError);
 1092|      6|    if (issubclass < 0) {
  ------------------
  |  Branch (1092:9): [True: 0, False: 6]
  ------------------
 1093|      0|        return NULL;
 1094|      0|    }
 1095|      6|    else if (!issubclass) {
  ------------------
  |  Branch (1095:14): [True: 0, False: 6]
  ------------------
 1096|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 1097|      0|                         "expected a subclass of ImportError");
 1098|      0|        return NULL;
 1099|      0|    }
 1100|       |
 1101|      6|    if (msg == NULL) {
  ------------------
  |  Branch (1101:9): [True: 0, False: 6]
  ------------------
 1102|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 1103|      0|                         "expected a message argument");
 1104|      0|        return NULL;
 1105|      0|    }
 1106|       |
 1107|      6|    if (name == NULL) {
  ------------------
  |  Branch (1107:9): [True: 0, False: 6]
  ------------------
 1108|      0|        name = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1109|      0|    }
 1110|      6|    if (path == NULL) {
  ------------------
  |  Branch (1110:9): [True: 1, False: 5]
  ------------------
 1111|      1|        path = Py_None;
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1112|      1|    }
 1113|      6|    if (from_name == NULL) {
  ------------------
  |  Branch (1113:9): [True: 0, False: 6]
  ------------------
 1114|      0|        from_name = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1115|      0|    }
 1116|       |
 1117|      6|    kwargs = PyDict_New();
 1118|      6|    if (kwargs == NULL) {
  ------------------
  |  Branch (1118:9): [True: 0, False: 6]
  ------------------
 1119|      0|        return NULL;
 1120|      0|    }
 1121|      6|    if (PyDict_SetItemString(kwargs, "name", name) < 0) {
  ------------------
  |  Branch (1121:9): [True: 0, False: 6]
  ------------------
 1122|      0|        goto finally;
 1123|      0|    }
 1124|      6|    if (PyDict_SetItemString(kwargs, "path", path) < 0) {
  ------------------
  |  Branch (1124:9): [True: 0, False: 6]
  ------------------
 1125|      0|        goto finally;
 1126|      0|    }
 1127|      6|    if (PyDict_SetItemString(kwargs, "name_from", from_name) < 0) {
  ------------------
  |  Branch (1127:9): [True: 0, False: 6]
  ------------------
 1128|      0|        goto finally;
 1129|      0|    }
 1130|      6|    exc = PyObject_VectorcallDict(exctype, &msg, 1, kwargs);
 1131|       |
 1132|      6|finally:
 1133|      6|    Py_DECREF(kwargs);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1134|      6|    return exc;
 1135|      6|}
errors.c:PyErr_SyntaxLocationObjectEx:
 1822|    378|{
 1823|    378|    PyThreadState *tstate = _PyThreadState_GET();
 1824|       |
 1825|       |    /* add attributes for the line number and filename for the error */
 1826|    378|    PyObject *exc = _PyErr_GetRaisedException(tstate);
 1827|       |    /* XXX check that it is, indeed, a syntax error. It might not
 1828|       |     * be, though. */
 1829|    378|    PyObject *tmp = PyLong_FromLong(lineno);
 1830|    378|    if (tmp == NULL) {
  ------------------
  |  Branch (1830:9): [True: 0, False: 378]
  ------------------
 1831|      0|        _PyErr_Clear(tstate);
 1832|      0|    }
 1833|    378|    else {
 1834|    378|        if (PyObject_SetAttr(exc, &_Py_ID(lineno), tmp)) {
  ------------------
  |  |  951|    378|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    378|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    378|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1834:13): [True: 0, False: 378]
  ------------------
 1835|      0|            _PyErr_Clear(tstate);
 1836|      0|        }
 1837|    378|        Py_DECREF(tmp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1838|    378|    }
 1839|    378|    tmp = NULL;
 1840|    378|    if (col_offset >= 0) {
  ------------------
  |  Branch (1840:9): [True: 378, False: 0]
  ------------------
 1841|    378|        tmp = PyLong_FromLong(col_offset);
 1842|    378|        if (tmp == NULL) {
  ------------------
  |  Branch (1842:13): [True: 0, False: 378]
  ------------------
 1843|      0|            _PyErr_Clear(tstate);
 1844|      0|        }
 1845|    378|    }
 1846|    378|    if (PyObject_SetAttr(exc, &_Py_ID(offset), tmp ? tmp : Py_None)) {
  ------------------
  |  |  951|    378|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    378|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    378|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyObject_SetAttr(exc, &_Py_ID(offset), tmp ? tmp : Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1846:9): [True: 0, False: 378]
  |  Branch (1846:48): [True: 378, False: 0]
  ------------------
 1847|      0|        _PyErr_Clear(tstate);
 1848|      0|    }
 1849|    378|    Py_XDECREF(tmp);
  ------------------
  |  |  621|    378|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    378|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1850|       |
 1851|    378|    tmp = NULL;
 1852|    378|    if (end_lineno >= 0) {
  ------------------
  |  Branch (1852:9): [True: 378, False: 0]
  ------------------
 1853|    378|        tmp = PyLong_FromLong(end_lineno);
 1854|    378|        if (tmp == NULL) {
  ------------------
  |  Branch (1854:13): [True: 0, False: 378]
  ------------------
 1855|      0|            _PyErr_Clear(tstate);
 1856|      0|        }
 1857|    378|    }
 1858|    378|    if (PyObject_SetAttr(exc, &_Py_ID(end_lineno), tmp ? tmp : Py_None)) {
  ------------------
  |  |  951|    378|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    378|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    378|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyObject_SetAttr(exc, &_Py_ID(end_lineno), tmp ? tmp : Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1858:9): [True: 0, False: 378]
  |  Branch (1858:52): [True: 378, False: 0]
  ------------------
 1859|      0|        _PyErr_Clear(tstate);
 1860|      0|    }
 1861|    378|    Py_XDECREF(tmp);
  ------------------
  |  |  621|    378|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    378|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1862|       |
 1863|    378|    tmp = NULL;
 1864|    378|    if (end_col_offset >= 0) {
  ------------------
  |  Branch (1864:9): [True: 378, False: 0]
  ------------------
 1865|    378|        tmp = PyLong_FromLong(end_col_offset);
 1866|    378|        if (tmp == NULL) {
  ------------------
  |  Branch (1866:13): [True: 0, False: 378]
  ------------------
 1867|      0|            _PyErr_Clear(tstate);
 1868|      0|        }
 1869|    378|    }
 1870|    378|    if (PyObject_SetAttr(exc, &_Py_ID(end_offset), tmp ? tmp : Py_None)) {
  ------------------
  |  |  951|    378|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    378|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    378|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyObject_SetAttr(exc, &_Py_ID(end_offset), tmp ? tmp : Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1870:9): [True: 0, False: 378]
  |  Branch (1870:52): [True: 378, False: 0]
  ------------------
 1871|      0|        _PyErr_Clear(tstate);
 1872|      0|    }
 1873|    378|    Py_XDECREF(tmp);
  ------------------
  |  |  621|    378|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    378|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1874|       |
 1875|    378|    tmp = NULL;
 1876|    378|    if (filename != NULL) {
  ------------------
  |  Branch (1876:9): [True: 378, False: 0]
  ------------------
 1877|    378|        if (PyObject_SetAttr(exc, &_Py_ID(filename), filename)) {
  ------------------
  |  |  951|    378|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    378|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    378|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1877:13): [True: 0, False: 378]
  ------------------
 1878|      0|            _PyErr_Clear(tstate);
 1879|      0|        }
 1880|       |
 1881|    378|        tmp = PyErr_ProgramTextObject(filename, lineno);
 1882|    378|        if (tmp) {
  ------------------
  |  Branch (1882:13): [True: 0, False: 378]
  ------------------
 1883|      0|            if (PyObject_SetAttr(exc, &_Py_ID(text), tmp)) {
  ------------------
  |  |  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 (1883:17): [True: 0, False: 0]
  ------------------
 1884|      0|                _PyErr_Clear(tstate);
 1885|      0|            }
 1886|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1887|      0|        }
 1888|    378|        else {
 1889|    378|            _PyErr_Clear(tstate);
 1890|    378|        }
 1891|    378|    }
 1892|    378|    if ((PyObject *)Py_TYPE(exc) != PyExc_SyntaxError) {
  ------------------
  |  |  213|    378|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    378|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1892:9): [True: 0, False: 378]
  ------------------
 1893|      0|        int rc = PyObject_HasAttrWithError(exc, &_Py_ID(msg));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1894|      0|        if (rc < 0) {
  ------------------
  |  Branch (1894:13): [True: 0, False: 0]
  ------------------
 1895|      0|            _PyErr_Clear(tstate);
 1896|      0|        }
 1897|      0|        else if (!rc) {
  ------------------
  |  Branch (1897:18): [True: 0, False: 0]
  ------------------
 1898|      0|            tmp = PyObject_Str(exc);
 1899|      0|            if (tmp) {
  ------------------
  |  Branch (1899:17): [True: 0, False: 0]
  ------------------
 1900|      0|                if (PyObject_SetAttr(exc, &_Py_ID(msg), tmp)) {
  ------------------
  |  |  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 (1900:21): [True: 0, False: 0]
  ------------------
 1901|      0|                    _PyErr_Clear(tstate);
 1902|      0|                }
 1903|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1904|      0|            }
 1905|      0|            else {
 1906|      0|                _PyErr_Clear(tstate);
 1907|      0|            }
 1908|      0|        }
 1909|       |
 1910|      0|        rc = PyObject_HasAttrWithError(exc, &_Py_ID(print_file_and_line));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1911|      0|        if (rc < 0) {
  ------------------
  |  Branch (1911:13): [True: 0, False: 0]
  ------------------
 1912|      0|            _PyErr_Clear(tstate);
 1913|      0|        }
 1914|      0|        else if (!rc) {
  ------------------
  |  Branch (1914:18): [True: 0, False: 0]
  ------------------
 1915|      0|            if (PyObject_SetAttr(exc, &_Py_ID(print_file_and_line), 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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyObject_SetAttr(exc, &_Py_ID(print_file_and_line), Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1915:17): [True: 0, False: 0]
  ------------------
 1916|      0|                _PyErr_Clear(tstate);
 1917|      0|            }
 1918|      0|        }
 1919|      0|    }
 1920|    378|    _PyErr_SetRaisedException(tstate, exc);
 1921|    378|}

_Py_ResetForceASCII:
  356|      8|{
  357|      8|    force_ascii = -1;
  ------------------
  |  |  241|      8|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  358|      8|}
_Py_DecodeLocale:
  698|  7.04k|{
  699|  7.04k|    assert(arg != NULL);
  ------------------
  |  Branch (699:5): [True: 7.04k, False: 0]
  ------------------
  700|  7.04k|    assert(wstr != NULL);
  ------------------
  |  Branch (700:5): [True: 7.04k, 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|  7.04k|    int res = decode_locale_impl(arg, wstr, wlen, current_locale, errors);
  711|  7.04k|    if (res < 0) {
  ------------------
  |  Branch (711:9): [True: 0, False: 7.04k]
  ------------------
  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|  7.04k|    else {
  726|       |        // Success
  727|  7.04k|        assert(*wstr != NULL);
  ------------------
  |  Branch (727:9): [True: 7.04k, 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|  7.04k|    }
  739|  7.04k|    return res;
  740|  7.04k|}
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|    109|{
 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|    109|    return fstat(fd, status);
 1443|    109|#endif
 1444|    109|}
_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|    101|{
 1758|    101|    return set_inheritable(fd, inheritable, 1, atomic_flag_works);
 1759|    101|}
Py_fopen:
 1919|  5.60k|{
 1920|  5.60k|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|  5.60k|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 1921|       |
 1922|  5.60k|    if (PySys_Audit("open", "Osi", path, mode, 0) < 0) {
  ------------------
  |  Branch (1922:9): [True: 0, False: 5.60k]
  ------------------
 1923|      0|        return NULL;
 1924|      0|    }
 1925|       |
 1926|  5.60k|    FILE *f;
 1927|  5.60k|    int async_err = 0;
 1928|  5.60k|    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|  5.60k|    PyObject *bytes;
 1962|  5.60k|    if (!PyUnicode_FSConverter(path, &bytes)) {
  ------------------
  |  Branch (1962:9): [True: 0, False: 5.60k]
  ------------------
 1963|      0|        return NULL;
 1964|      0|    }
 1965|  5.60k|    const char *path_bytes = PyBytes_AS_STRING(bytes);
  ------------------
  |  |   27|  5.60k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1966|       |
 1967|  5.60k|    do {
 1968|  5.60k|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|  5.60k|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|  5.60k|                        PyThreadState *_save; \
  |  |  119|  5.60k|                        _save = PyEval_SaveThread();
  ------------------
 1969|  5.60k|        f = fopen(path_bytes, mode);
 1970|  5.60k|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|  5.60k|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|  5.60k|                 }
  ------------------
 1971|  5.60k|    } while (f == NULL
  ------------------
  |  Branch (1971:14): [True: 5.60k, False: 0]
  ------------------
 1972|  5.60k|             && errno == EINTR && !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1972:17): [True: 0, False: 5.60k]
  |  Branch (1972:35): [True: 0, False: 0]
  ------------------
 1973|  5.60k|    saved_errno = errno;
 1974|  5.60k|    Py_DECREF(bytes);
  ------------------
  |  |  430|  5.60k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1975|  5.60k|#endif
 1976|       |
 1977|  5.60k|    if (async_err) {
  ------------------
  |  Branch (1977:9): [True: 0, False: 5.60k]
  ------------------
 1978|      0|        return NULL;
 1979|      0|    }
 1980|       |
 1981|  5.60k|    if (f == NULL) {
  ------------------
  |  Branch (1981:9): [True: 5.60k, False: 0]
  ------------------
 1982|  5.60k|        errno = saved_errno;
 1983|  5.60k|        PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path);
 1984|  5.60k|        return NULL;
 1985|  5.60k|    }
 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|    202|{
 2023|    202|    Py_ssize_t n;
 2024|    202|    int err;
 2025|    202|    int async_err = 0;
 2026|       |
 2027|    202|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|    202|#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|    202|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2032:5): [True: 202, False: 0]
  ------------------
 2033|       |
 2034|    202|    if (count > _PY_READ_MAX) {
  ------------------
  |  |   54|    202|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|    202|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (2034:9): [True: 0, False: 202]
  ------------------
 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|    202|    _Py_BEGIN_SUPPRESS_IPH
 2039|    202|    do {
 2040|    202|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|    202|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|    202|                        PyThreadState *_save; \
  |  |  119|    202|                        _save = PyEval_SaveThread();
  ------------------
 2041|    202|        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|    202|        n = read(fd, buf, count);
 2054|    202|#endif
 2055|       |        /* save/restore errno because PyErr_CheckSignals()
 2056|       |         * and PyErr_SetFromErrno() can modify it */
 2057|    202|        err = errno;
 2058|    202|        Py_END_ALLOW_THREADS
  ------------------
  |  |  122|    202|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|    202|                 }
  ------------------
 2059|    202|    } while (n < 0 && err == EINTR &&
  ------------------
  |  Branch (2059:14): [True: 0, False: 202]
  |  Branch (2059:23): [True: 0, False: 0]
  ------------------
 2060|      0|            !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (2060:13): [True: 0, False: 0]
  ------------------
 2061|    202|    _Py_END_SUPPRESS_IPH
 2062|       |
 2063|    202|    if (async_err) {
  ------------------
  |  Branch (2063:9): [True: 0, False: 202]
  ------------------
 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|    202|    if (n < 0) {
  ------------------
  |  Branch (2070:9): [True: 0, False: 202]
  ------------------
 2071|      0|        PyErr_SetFromErrno(PyExc_OSError);
 2072|      0|        errno = err;
 2073|      0|        return -1;
 2074|      0|    }
 2075|       |
 2076|    202|    return n;
 2077|    202|}
_Py_write:
 2192|  41.4k|{
 2193|  41.4k|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|  41.4k|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 2194|       |
 2195|       |    /* _Py_write() must not be called with an exception set, otherwise the
 2196|       |     * caller may think that write() was interrupted by a signal and the signal
 2197|       |     * handler raised an exception. */
 2198|  41.4k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2198:5): [True: 41.4k, False: 0]
  ------------------
 2199|       |
 2200|  41.4k|    return _Py_write_impl(fd, buf, count, 1);
 2201|  41.4k|}
_Py_wreadlink:
 2225|      2|{
 2226|      2|    char *cpath;
 2227|      2|    char cbuf[MAXPATHLEN];
 2228|      2|    size_t cbuf_len = Py_ARRAY_LENGTH(cbuf);
  ------------------
  |  |  232|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2229|      2|    wchar_t *wbuf;
 2230|      2|    Py_ssize_t res;
 2231|      2|    size_t r1;
 2232|       |
 2233|      2|    cpath = _Py_EncodeLocaleRaw(path, NULL);
 2234|      2|    if (cpath == NULL) {
  ------------------
  |  Branch (2234:9): [True: 0, False: 2]
  ------------------
 2235|      0|        errno = EINVAL;
 2236|      0|        return -1;
 2237|      0|    }
 2238|      2|    res = readlink(cpath, cbuf, cbuf_len);
 2239|      2|    PyMem_RawFree(cpath);
 2240|      2|    if (res == -1) {
  ------------------
  |  Branch (2240:9): [True: 2, False: 0]
  ------------------
 2241|      2|        return -1;
 2242|      2|    }
 2243|      0|    if ((size_t)res == cbuf_len) {
  ------------------
  |  Branch (2243:9): [True: 0, False: 0]
  ------------------
 2244|      0|        errno = EINVAL;
 2245|      0|        return -1;
 2246|      0|    }
 2247|      0|    cbuf[res] = '\0'; /* buf will be null terminated */
 2248|      0|    wbuf = Py_DecodeLocale(cbuf, &r1);
 2249|      0|    if (wbuf == NULL) {
  ------------------
  |  Branch (2249:9): [True: 0, False: 0]
  ------------------
 2250|      0|        errno = EINVAL;
 2251|      0|        return -1;
 2252|      0|    }
 2253|       |    /* wbuf must have space to store the trailing NUL character */
 2254|      0|    if (buflen <= r1) {
  ------------------
  |  Branch (2254:9): [True: 0, False: 0]
  ------------------
 2255|      0|        PyMem_RawFree(wbuf);
 2256|      0|        errno = EINVAL;
 2257|      0|        return -1;
 2258|      0|    }
 2259|      0|    wcsncpy(buf, wbuf, buflen);
 2260|      0|    PyMem_RawFree(wbuf);
 2261|      0|    return (int)r1;
 2262|      0|}
_Py_isabs:
 2312|     74|{
 2313|       |#ifdef MS_WINDOWS
 2314|       |    const wchar_t *tail;
 2315|       |    HRESULT hr = PathCchSkipRoot(path, &tail);
 2316|       |    if (FAILED(hr) || path == tail) {
 2317|       |        return 0;
 2318|       |    }
 2319|       |    if (tail == &path[1] && (path[0] == SEP || path[0] == ALTSEP)) {
 2320|       |        // Exclude paths with leading SEP
 2321|       |        return 0;
 2322|       |    }
 2323|       |    if (tail == &path[2] && path[1] == L':') {
 2324|       |        // Exclude drive-relative paths (e.g. C:filename.ext)
 2325|       |        return 0;
 2326|       |    }
 2327|       |    return 1;
 2328|       |#else
 2329|     74|    return (path[0] == SEP);
  ------------------
  |  |   29|     74|#  define SEP L'/'
  ------------------
 2330|     74|#endif
 2331|     74|}
_Py_abspath:
 2341|      2|{
 2342|      2|    if (path[0] == '\0' || !wcscmp(path, L".")) {
  ------------------
  |  Branch (2342:9): [True: 0, False: 2]
  |  Branch (2342:28): [True: 0, False: 2]
  ------------------
 2343|      0|        wchar_t cwd[MAXPATHLEN + 1];
 2344|      0|        cwd[Py_ARRAY_LENGTH(cwd) - 1] = 0;
  ------------------
  |  |  232|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2345|      0|        if (!_Py_wgetcwd(cwd, Py_ARRAY_LENGTH(cwd) - 1)) {
  ------------------
  |  |  232|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (2345:13): [True: 0, False: 0]
  ------------------
 2346|       |            /* unable to get the current directory */
 2347|      0|            return -1;
 2348|      0|        }
 2349|      0|        *abspath_p = _PyMem_RawWcsdup(cwd);
 2350|      0|        return 0;
 2351|      0|    }
 2352|       |
 2353|      2|    if (_Py_isabs(path)) {
  ------------------
  |  Branch (2353:9): [True: 2, False: 0]
  ------------------
 2354|      2|        *abspath_p = _PyMem_RawWcsdup(path);
 2355|      2|        return 0;
 2356|      2|    }
 2357|       |
 2358|       |#ifdef MS_WINDOWS
 2359|       |    return _PyOS_getfullpathname(path, abspath_p);
 2360|       |#else
 2361|      0|    wchar_t cwd[MAXPATHLEN + 1];
 2362|      0|    cwd[Py_ARRAY_LENGTH(cwd) - 1] = 0;
  ------------------
  |  |  232|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2363|      0|    if (!_Py_wgetcwd(cwd, Py_ARRAY_LENGTH(cwd) - 1)) {
  ------------------
  |  |  232|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (2363:9): [True: 0, False: 0]
  ------------------
 2364|       |        /* unable to get the current directory */
 2365|      0|        return -1;
 2366|      0|    }
 2367|       |
 2368|      0|    size_t cwd_len = wcslen(cwd);
 2369|      0|    size_t path_len = wcslen(path);
 2370|      0|    size_t len = cwd_len + 1 + path_len + 1;
 2371|      0|    if (len <= (size_t)PY_SSIZE_T_MAX / sizeof(wchar_t)) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2371:9): [True: 0, False: 0]
  ------------------
 2372|      0|        *abspath_p = PyMem_RawMalloc(len * sizeof(wchar_t));
 2373|      0|    }
 2374|      0|    else {
 2375|      0|        *abspath_p = NULL;
 2376|      0|    }
 2377|      0|    if (*abspath_p == NULL) {
  ------------------
  |  Branch (2377:9): [True: 0, False: 0]
  ------------------
 2378|      0|        return 0;
 2379|      0|    }
 2380|       |
 2381|      0|    wchar_t *abspath = *abspath_p;
 2382|      0|    memcpy(abspath, cwd, cwd_len * sizeof(wchar_t));
 2383|      0|    abspath += cwd_len;
 2384|       |
 2385|      0|    *abspath = (wchar_t)SEP;
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
 2386|      0|    abspath++;
 2387|       |
 2388|      0|    memcpy(abspath, path, path_len * sizeof(wchar_t));
 2389|      0|    abspath += path_len;
 2390|       |
 2391|      0|    *abspath = 0;
 2392|      0|    return 0;
 2393|      0|#endif
 2394|      0|}
_Py_skiproot:
 2466|     36|{
 2467|     36|    assert(drvsize);
  ------------------
  |  Branch (2467:5): [True: 36, False: 0]
  ------------------
 2468|     36|    assert(rootsize);
  ------------------
  |  Branch (2468:5): [True: 36, False: 0]
  ------------------
 2469|     36|#ifndef MS_WINDOWS
 2470|     36|#define IS_SEP(x) (*(x) == SEP)
 2471|     36|    *drvsize = 0;
 2472|     36|    if (!IS_SEP(&path[0])) {
  ------------------
  |  | 2470|     36|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|     36|#  define SEP L'/'
  |  |  ------------------
  ------------------
  |  Branch (2472:9): [True: 0, False: 36]
  ------------------
 2473|       |        // Relative path, e.g.: 'foo'
 2474|      0|        *rootsize = 0;
 2475|      0|    }
 2476|     36|    else if (!IS_SEP(&path[1]) || IS_SEP(&path[2])) {
  ------------------
  |  | 2470|     72|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|     36|#  define SEP L'/'
  |  |  ------------------
  ------------------
                  else if (!IS_SEP(&path[1]) || IS_SEP(&path[2])) {
  ------------------
  |  | 2470|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2470:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2476:14): [True: 36, False: 0]
  ------------------
 2477|       |        // Absolute path, e.g.: '/foo', '///foo', '////foo', etc.
 2478|     36|        *rootsize = 1;
 2479|     36|    }
 2480|      0|    else {
 2481|       |        // Precisely two leading slashes, e.g.: '//foo'. Implementation defined per POSIX, see
 2482|       |        // https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13
 2483|      0|        *rootsize = 2;
 2484|      0|    }
 2485|     36|#undef IS_SEP
 2486|       |#else
 2487|       |    const wchar_t *pEnd = size >= 0 ? &path[size] : NULL;
 2488|       |#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
 2489|       |#define IS_SEP(x) (*(x) == SEP || *(x) == ALTSEP)
 2490|       |#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
 2491|       |    if (IS_SEP(&path[0])) {
 2492|       |        if (IS_SEP(&path[1])) {
 2493|       |            // Device drives, e.g. \\.\device or \\?\device
 2494|       |            // UNC drives, e.g. \\server\share or \\?\UNC\server\share
 2495|       |            Py_ssize_t idx;
 2496|       |            if (path[2] == L'?' && IS_SEP(&path[3]) &&
 2497|       |                (path[4] == L'U' || path[4] == L'u') &&
 2498|       |                (path[5] == L'N' || path[5] == L'n') &&
 2499|       |                (path[6] == L'C' || path[6] == L'c') &&
 2500|       |                IS_SEP(&path[7]))
 2501|       |            {
 2502|       |                idx = 8;
 2503|       |            }
 2504|       |            else {
 2505|       |                idx = 2;
 2506|       |            }
 2507|       |            while (!SEP_OR_END(&path[idx])) {
 2508|       |                idx++;
 2509|       |            }
 2510|       |            if (IS_END(&path[idx])) {
 2511|       |                *drvsize = idx;
 2512|       |                *rootsize = 0;
 2513|       |            }
 2514|       |            else {
 2515|       |                idx++;
 2516|       |                while (!SEP_OR_END(&path[idx])) {
 2517|       |                    idx++;
 2518|       |                }
 2519|       |                *drvsize = idx;
 2520|       |                if (IS_END(&path[idx])) {
 2521|       |                    *rootsize = 0;
 2522|       |                }
 2523|       |                else {
 2524|       |                    *rootsize = 1;
 2525|       |                }
 2526|       |            }
 2527|       |        }
 2528|       |        else {
 2529|       |            // Relative path with root, e.g. \Windows
 2530|       |            *drvsize = 0;
 2531|       |            *rootsize = 1;
 2532|       |        }
 2533|       |    }
 2534|       |    else if (!IS_END(&path[0]) && path[1] == L':') {
 2535|       |        *drvsize = 2;
 2536|       |        if (IS_SEP(&path[2])) {
 2537|       |            // Absolute drive-letter path, e.g. X:\Windows
 2538|       |            *rootsize = 1;
 2539|       |        }
 2540|       |        else {
 2541|       |            // Relative path with drive, e.g. X:Windows
 2542|       |            *rootsize = 0;
 2543|       |        }
 2544|       |    }
 2545|       |    else {
 2546|       |        // Relative path, e.g. Windows
 2547|       |        *drvsize = 0;
 2548|       |        *rootsize = 0;
 2549|       |    }
 2550|       |#undef SEP_OR_END
 2551|       |#undef IS_SEP
 2552|       |#undef IS_END
 2553|       |#endif
 2554|     36|}
_Py_add_relfile:
 2626|     24|{
 2627|     24|    assert(dirname != NULL && relfile != NULL);
  ------------------
  |  Branch (2627:5): [True: 24, False: 0]
  |  Branch (2627:5): [True: 24, False: 0]
  ------------------
 2628|     24|    assert(bufsize > 0);
  ------------------
  |  Branch (2628:5): [True: 24, False: 0]
  ------------------
 2629|     24|    return join_relfile(dirname, bufsize, dirname, relfile);
 2630|     24|}
_Py_normpath_and_size:
 2652|     36|{
 2653|     36|    assert(path != NULL);
  ------------------
  |  Branch (2653:5): [True: 36, False: 0]
  ------------------
 2654|     36|    if ((size < 0 && !path[0]) || size == 0) {
  ------------------
  |  Branch (2654:10): [True: 26, False: 10]
  |  Branch (2654:22): [True: 0, False: 26]
  |  Branch (2654:35): [True: 0, False: 36]
  ------------------
 2655|      0|        *normsize = 0;
 2656|      0|        return path;
 2657|      0|    }
 2658|     36|    wchar_t *pEnd = size >= 0 ? &path[size] : NULL;
  ------------------
  |  Branch (2658:21): [True: 10, False: 26]
  ------------------
 2659|     36|    wchar_t *p1 = path;     // sequentially scanned address in the path
 2660|     36|    wchar_t *p2 = path;     // destination of a scanned character to be ljusted
 2661|     36|    wchar_t *minP2 = path;  // the beginning of the destination range
 2662|     36|    wchar_t lastC = L'\0';  // the last ljusted character, p2[-1] in most cases
 2663|       |
 2664|     36|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
 2665|       |#ifdef ALTSEP
 2666|       |#define IS_SEP(x) (*(x) == SEP || *(x) == ALTSEP)
 2667|       |#else
 2668|     36|#define IS_SEP(x) (*(x) == SEP)
 2669|     36|#endif
 2670|     36|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
 2671|       |
 2672|     36|    Py_ssize_t drvsize, rootsize;
 2673|     36|    _Py_skiproot(path, size, &drvsize, &rootsize);
 2674|     36|    if (drvsize || rootsize) {
  ------------------
  |  Branch (2674:9): [True: 0, False: 36]
  |  Branch (2674:20): [True: 36, False: 0]
  ------------------
 2675|       |        // Skip past root and update minP2
 2676|     36|        p1 = &path[drvsize + rootsize];
 2677|     36|#ifndef ALTSEP
 2678|     36|        p2 = p1;
 2679|       |#else
 2680|       |        for (; p2 < p1; ++p2) {
 2681|       |            if (*p2 == ALTSEP) {
 2682|       |                *p2 = SEP;
 2683|       |            }
 2684|       |        }
 2685|       |#endif
 2686|     36|        minP2 = p2 - 1;
 2687|     36|        lastC = *minP2;
 2688|       |#ifdef MS_WINDOWS
 2689|       |        if (lastC != SEP) {
 2690|       |            minP2++;
 2691|       |        }
 2692|       |#endif
 2693|     36|    }
 2694|     36|    if (p1[0] == L'.' && SEP_OR_END(&p1[1])) {
  ------------------
  |  | 2670|      0|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2668|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2668:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2664|      0|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2664:19): [True: 0, False: 0]
  |  |  |  |  |  Branch (2664:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2694:9): [True: 0, False: 36]
  ------------------
 2695|       |        // Skip leading '.\'
 2696|      0|        lastC = *++p1;
 2697|       |#ifdef ALTSEP
 2698|       |        if (lastC == ALTSEP) {
 2699|       |            lastC = SEP;
 2700|       |        }
 2701|       |#endif
 2702|      0|        while (IS_SEP(p1)) {
  ------------------
  |  | 2668|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2668:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2703|      0|            p1++;
 2704|      0|        }
 2705|      0|    }
 2706|       |
 2707|       |    /* if pEnd is specified, check that. Else, check for null terminator */
 2708|  1.96k|    for (; !IS_END(p1); ++p1) {
  ------------------
  |  | 2664|  1.96k|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  ------------------
  |  |  |  Branch (2664:20): [True: 608, False: 1.35k]
  |  |  ------------------
  ------------------
  |  Branch (2708:12): [True: 1.93k, False: 36]
  ------------------
 2709|  1.93k|        wchar_t c = *p1;
 2710|       |#ifdef ALTSEP
 2711|       |        if (c == ALTSEP) {
 2712|       |            c = SEP;
 2713|       |        }
 2714|       |#endif
 2715|  1.93k|        if (lastC == SEP) {
  ------------------
  |  |   29|  1.93k|#  define SEP L'/'
  ------------------
  |  Branch (2715:13): [True: 174, False: 1.75k]
  ------------------
 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.75k|        } else {
 2747|  1.75k|            *p2++ = lastC = c;
 2748|  1.75k|        }
 2749|  1.93k|    }
 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|  6.38k|{
 3316|  6.38k|    const char *errors = "surrogateescape";
 3317|       |
 3318|  6.38k|#ifdef _Py_HAVE_STRERROR_R
 3319|       |   // Check which strerror_r() API is used
 3320|  6.38k|#  if defined(__GLIBC__) && !((_POSIX_C_SOURCE >= 200112L) && !defined(_GNU_SOURCE))
 3321|  6.38k|#    define Py_STRERROR_R_GNU
 3322|       |#  elif defined(__ANDROID__) && defined(_GNU_SOURCE)
 3323|       |#    define Py_STRERROR_R_GNU
 3324|       |#  endif
 3325|  6.38k|#endif
 3326|       |
 3327|  6.38k|#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|  6.38k|    char buffer[100];
 3333|  6.38k|    char *message = strerror_r(code, buffer, Py_ARRAY_LENGTH(buffer));
  ------------------
  |  |  232|  6.38k|    (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|  6.38k|    assert(message != buffer || memchr(buffer, 0, Py_ARRAY_LENGTH(buffer)) != NULL);
  ------------------
  |  Branch (3338:5): [True: 6.38k, False: 0]
  |  Branch (3338:5): [True: 0, False: 0]
  ------------------
 3339|  6.38k|    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|  6.38k|}
fileutils.c:_Py_mbstowcs:
  179|  12.7k|{
  180|  12.7k|    size_t count = mbstowcs(dest, src, n);
  181|  12.7k|    if (dest != NULL && count != DECODE_ERROR) {
  ------------------
  |  Branch (181:9): [True: 6.38k, False: 6.38k]
  |  Branch (181:25): [True: 6.38k, False: 0]
  ------------------
  182|   169k|        for (size_t i=0; i < count; i++) {
  ------------------
  |  Branch (182:26): [True: 162k, False: 6.38k]
  ------------------
  183|   162k|            wchar_t ch = dest[i];
  184|   162k|            if (!is_valid_wide_char(ch)) {
  ------------------
  |  Branch (184:17): [True: 0, False: 162k]
  ------------------
  185|      0|                return DECODE_ERROR;
  186|      0|            }
  187|   162k|        }
  188|  6.38k|    }
  189|  12.7k|    return count;
  190|  12.7k|}
fileutils.c:is_valid_wide_char:
  153|   162k|{
  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|   162k|    if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (160:9): [True: 0, False: 162k]
  ------------------
  161|       |        // Reject lone surrogate characters
  162|      0|        return 0;
  163|      0|    }
  164|   162k|#if SIZEOF_WCHAR_T > 2
  165|   162k|    if (ch > _Py_MAX_UNICODE) {
  ------------------
  |  |   18|   162k|#define _Py_MAX_UNICODE 0x10ffff
  ------------------
  |  Branch (165:9): [True: 0, False: 162k]
  ------------------
  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|   162k|#endif
  173|   162k|    return 1;
  174|   162k|}
fileutils.c:decode_locale_impl:
  630|  7.04k|{
  631|  7.04k|    if (current_locale) {
  ------------------
  |  Branch (631:9): [True: 6.38k, False: 660]
  ------------------
  632|       |#ifdef _Py_FORCE_UTF8_LOCALE
  633|       |        return _Py_DecodeUTF8(arg, strlen(arg), wstr, wlen, errors);
  634|       |#else
  635|  6.38k|        return decode_current_locale(arg, wstr, wlen, errors);
  636|  6.38k|#endif
  637|  6.38k|    }
  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|  6.38k|{
   70|  6.38k|    switch (errors)
   71|  6.38k|    {
   72|      0|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (72:5): [True: 0, False: 6.38k]
  ------------------
   73|      0|        *surrogateescape = 0;
   74|      0|        return 0;
   75|  6.38k|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (75:5): [True: 6.38k, False: 0]
  ------------------
   76|  6.38k|        *surrogateescape = 1;
   77|  6.38k|        return 0;
   78|      0|    default:
  ------------------
  |  Branch (78:5): [True: 0, False: 6.38k]
  ------------------
   79|      0|        return -1;
   80|  6.38k|    }
   81|  6.38k|}
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|  6.38k|{
  510|  6.38k|    assert(arg != NULL);
  ------------------
  |  Branch (510:5): [True: 6.38k, False: 0]
  ------------------
  511|  6.38k|    assert(wstr != NULL);
  ------------------
  |  Branch (511:5): [True: 6.38k, False: 0]
  ------------------
  512|       |
  513|  6.38k|    int surrogateescape;
  514|  6.38k|    if (get_surrogateescape(errors, &surrogateescape) < 0) {
  ------------------
  |  Branch (514:9): [True: 0, False: 6.38k]
  ------------------
  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|  6.38k|    size_t argsize = _Py_mbstowcs(NULL, arg, 0);
  527|  6.38k|#endif
  528|  6.38k|    wchar_t *res;
  529|  6.38k|    if (argsize != DECODE_ERROR) {
  ------------------
  |  Branch (529:9): [True: 6.38k, False: 0]
  ------------------
  530|  6.38k|        if (argsize > PY_SSIZE_T_MAX / sizeof(wchar_t) - 1) {
  ------------------
  |  |  137|  6.38k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (530:13): [True: 0, False: 6.38k]
  ------------------
  531|      0|            return _Py_CODEC_MEMORY_ERROR;
  ------------------
  |  |  188|      0|#define _Py_CODEC_MEMORY_ERROR -1
  ------------------
  532|      0|        }
  533|  6.38k|        res = (wchar_t *)PyMem_RawMalloc((argsize + 1) * sizeof(wchar_t));
  534|  6.38k|        if (!res) {
  ------------------
  |  Branch (534:13): [True: 0, False: 6.38k]
  ------------------
  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|  6.38k|        size_t count = _Py_mbstowcs(res, arg, argsize + 1);
  540|  6.38k|        if (count != DECODE_ERROR) {
  ------------------
  |  Branch (540:13): [True: 6.38k, 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|  6.38k|            assert(count == argsize);
  ------------------
  |  Branch (547:13): [True: 6.38k, False: 0]
  ------------------
  548|       |
  549|  6.38k|            *wstr = res;
  550|  6.38k|            if (wlen != NULL) {
  ------------------
  |  Branch (550:17): [True: 6.38k, False: 0]
  ------------------
  551|  6.38k|                *wlen = count;
  552|  6.38k|            }
  553|  6.38k|            return 0;
  554|  6.38k|        }
  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|    101|{
 1604|       |#ifdef MS_WINDOWS
 1605|       |    HANDLE handle;
 1606|       |    DWORD flags;
 1607|       |#else
 1608|    101|#if defined(HAVE_SYS_IOCTL_H) && defined(FIOCLEX) && defined(FIONCLEX)
 1609|    101|    static int ioctl_works = -1;
 1610|    101|    int request;
 1611|    101|    int err;
 1612|    101|#endif
 1613|    101|    int flags, new_flags;
 1614|    101|    int res;
 1615|    101|#endif
 1616|       |
 1617|       |    /* atomic_flag_works can only be used to make the file descriptor
 1618|       |       non-inheritable */
 1619|    101|    assert(!(atomic_flag_works != NULL && inheritable));
  ------------------
  |  Branch (1619:5): [True: 101, False: 0]
  |  Branch (1619:5): [True: 0, False: 101]
  ------------------
 1620|       |
 1621|    101|    if (atomic_flag_works != NULL && !inheritable) {
  ------------------
  |  Branch (1621:9): [True: 101, False: 0]
  |  Branch (1621:38): [True: 101, False: 0]
  ------------------
 1622|    101|        if (_Py_atomic_load_int_relaxed(atomic_flag_works) == -1) {
  ------------------
  |  Branch (1622:13): [True: 2, False: 99]
  ------------------
 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|    101|        if (_Py_atomic_load_int_relaxed(atomic_flag_works))
  ------------------
  |  Branch (1629:13): [True: 101, False: 0]
  ------------------
 1630|    101|            return 0;
 1631|    101|    }
 1632|       |
 1633|       |#ifdef MS_WINDOWS
 1634|       |    handle = _Py_get_osfhandle_noraise(fd);
 1635|       |    if (handle == INVALID_HANDLE_VALUE) {
 1636|       |        if (raise)
 1637|       |            PyErr_SetFromErrno(PyExc_OSError);
 1638|       |        return -1;
 1639|       |    }
 1640|       |
 1641|       |    if (inheritable)
 1642|       |        flags = HANDLE_FLAG_INHERIT;
 1643|       |    else
 1644|       |        flags = 0;
 1645|       |
 1646|       |    if (!SetHandleInformation(handle, HANDLE_FLAG_INHERIT, flags)) {
 1647|       |        if (raise)
 1648|       |            PyErr_SetFromWindowsErr(0);
 1649|       |        return -1;
 1650|       |    }
 1651|       |    return 0;
 1652|       |
 1653|       |#else
 1654|       |
 1655|      0|#if defined(HAVE_SYS_IOCTL_H) && defined(FIOCLEX) && defined(FIONCLEX)
 1656|      0|    if (raise != 0 && _Py_atomic_load_int_relaxed(&ioctl_works) != 0) {
  ------------------
  |  Branch (1656:9): [True: 0, False: 0]
  |  Branch (1656:23): [True: 0, False: 0]
  ------------------
 1657|       |        /* fast-path: ioctl() only requires one syscall */
 1658|       |        /* caveat: raise=0 is an indicator that we must be async-signal-safe
 1659|       |         * thus avoid using ioctl() so we skip the fast-path. */
 1660|      0|        if (inheritable)
  ------------------
  |  Branch (1660:13): [True: 0, False: 0]
  ------------------
 1661|      0|            request = FIONCLEX;
 1662|      0|        else
 1663|      0|            request = FIOCLEX;
 1664|      0|        err = ioctl(fd, request, NULL);
 1665|      0|        if (!err) {
  ------------------
  |  Branch (1665:13): [True: 0, False: 0]
  ------------------
 1666|      0|            if (_Py_atomic_load_int_relaxed(&ioctl_works) == -1) {
  ------------------
  |  Branch (1666:17): [True: 0, False: 0]
  ------------------
 1667|      0|                _Py_atomic_store_int_relaxed(&ioctl_works, 1);
 1668|      0|            }
 1669|      0|            return 0;
 1670|      0|        }
 1671|       |
 1672|      0|#ifdef O_PATH
 1673|      0|        if (errno == EBADF) {
  ------------------
  |  Branch (1673:13): [True: 0, False: 0]
  ------------------
 1674|       |            // bpo-44849: On Linux and FreeBSD, ioctl(FIOCLEX) fails with EBADF
 1675|       |            // on O_PATH file descriptors. Fall through to the fcntl()
 1676|       |            // implementation.
 1677|      0|        }
 1678|      0|        else
 1679|      0|#endif
 1680|      0|        if (errno != ENOTTY && errno != EACCES) {
  ------------------
  |  Branch (1680:13): [True: 0, False: 0]
  |  Branch (1680:32): [True: 0, False: 0]
  ------------------
 1681|      0|            if (raise)
  ------------------
  |  Branch (1681:17): [True: 0, False: 0]
  ------------------
 1682|      0|                PyErr_SetFromErrno(PyExc_OSError);
 1683|      0|            return -1;
 1684|      0|        }
 1685|      0|        else {
 1686|       |            /* Issue #22258: Here, ENOTTY means "Inappropriate ioctl for
 1687|       |               device". The ioctl is declared but not supported by the kernel.
 1688|       |               Remember that ioctl() doesn't work. It is the case on
 1689|       |               Illumos-based OS for example.
 1690|       |
 1691|       |               Issue #27057: When SELinux policy disallows ioctl it will fail
 1692|       |               with EACCES. While FIOCLEX is safe operation it may be
 1693|       |               unavailable because ioctl was denied altogether.
 1694|       |               This can be the case on Android. */
 1695|      0|            _Py_atomic_store_int_relaxed(&ioctl_works, 0);
 1696|      0|        }
 1697|       |        /* fallback to fcntl() if ioctl() does not work */
 1698|      0|    }
 1699|      0|#endif
 1700|       |
 1701|       |    /* slow-path: fcntl() requires two syscalls */
 1702|      0|    flags = fcntl(fd, F_GETFD);
 1703|      0|    if (flags < 0) {
  ------------------
  |  Branch (1703:9): [True: 0, False: 0]
  ------------------
 1704|      0|        if (raise)
  ------------------
  |  Branch (1704:13): [True: 0, False: 0]
  ------------------
 1705|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1706|      0|        return -1;
 1707|      0|    }
 1708|       |
 1709|      0|    if (inheritable) {
  ------------------
  |  Branch (1709:9): [True: 0, False: 0]
  ------------------
 1710|      0|        new_flags = flags & ~FD_CLOEXEC;
 1711|      0|    }
 1712|      0|    else {
 1713|      0|        new_flags = flags | FD_CLOEXEC;
 1714|      0|    }
 1715|       |
 1716|      0|    if (new_flags == flags) {
  ------------------
  |  Branch (1716:9): [True: 0, False: 0]
  ------------------
 1717|       |        /* FD_CLOEXEC flag already set/cleared: nothing to do */
 1718|      0|        return 0;
 1719|      0|    }
 1720|       |
 1721|      0|    res = fcntl(fd, F_SETFD, new_flags);
 1722|      0|    if (res < 0) {
  ------------------
  |  Branch (1722:9): [True: 0, False: 0]
  ------------------
 1723|      0|        if (raise)
  ------------------
  |  Branch (1723:13): [True: 0, False: 0]
  ------------------
 1724|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1725|      0|        return -1;
 1726|      0|    }
 1727|      0|    return 0;
 1728|      0|#endif
 1729|      0|}
fileutils.c:_Py_write_impl:
 2081|  41.4k|{
 2082|  41.4k|    Py_ssize_t n;
 2083|  41.4k|    int err;
 2084|  41.4k|    int async_err = 0;
 2085|       |
 2086|  41.4k|    _Py_BEGIN_SUPPRESS_IPH
 2087|       |#ifdef MS_WINDOWS
 2088|       |    if (count > 32767) {
 2089|       |        /* Issue #11395: the Windows console returns an error (12: not
 2090|       |           enough space error) on writing into stdout if stdout mode is
 2091|       |           binary and the length is greater than 66,000 bytes (or less,
 2092|       |           depending on heap usage). */
 2093|       |        if (gil_held) {
 2094|       |            Py_BEGIN_ALLOW_THREADS
 2095|       |            if (isatty(fd)) {
 2096|       |                count = 32767;
 2097|       |            }
 2098|       |            Py_END_ALLOW_THREADS
 2099|       |        } else {
 2100|       |            if (isatty(fd)) {
 2101|       |                count = 32767;
 2102|       |            }
 2103|       |        }
 2104|       |    }
 2105|       |
 2106|       |#endif
 2107|  41.4k|    if (count > _PY_WRITE_MAX) {
  ------------------
  |  |   55|  41.4k|#   define _PY_WRITE_MAX PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|  41.4k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (2107:9): [True: 0, False: 41.4k]
  ------------------
 2108|      0|        count = _PY_WRITE_MAX;
  ------------------
  |  |   55|      0|#   define _PY_WRITE_MAX PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
 2109|      0|    }
 2110|       |
 2111|  41.4k|    if (gil_held) {
  ------------------
  |  Branch (2111:9): [True: 41.4k, False: 0]
  ------------------
 2112|  41.4k|        do {
 2113|  41.4k|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  117|  41.4k|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  118|  41.4k|                        PyThreadState *_save; \
  |  |  119|  41.4k|                        _save = PyEval_SaveThread();
  ------------------
 2114|  41.4k|            errno = 0;
 2115|       |#ifdef MS_WINDOWS
 2116|       |            // write() on a non-blocking pipe fails with ENOSPC on Windows if
 2117|       |            // the pipe lacks available space for the entire buffer.
 2118|       |            int c = (int)count;
 2119|       |            do {
 2120|       |                _doserrno = 0;
 2121|       |                n = write(fd, buf, c);
 2122|       |                if (n >= 0 || errno != ENOSPC || _doserrno != 0) {
 2123|       |                    break;
 2124|       |                }
 2125|       |                errno = EAGAIN;
 2126|       |                c /= 2;
 2127|       |            } while (c > 0);
 2128|       |#else
 2129|  41.4k|            n = write(fd, buf, count);
 2130|  41.4k|#endif
 2131|       |            /* save/restore errno because PyErr_CheckSignals()
 2132|       |             * and PyErr_SetFromErrno() can modify it */
 2133|  41.4k|            err = errno;
 2134|  41.4k|            Py_END_ALLOW_THREADS
  ------------------
  |  |  122|  41.4k|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  123|  41.4k|                 }
  ------------------
 2135|  41.4k|        } while (n < 0 && err == EINTR &&
  ------------------
  |  Branch (2135:18): [True: 0, False: 41.4k]
  |  Branch (2135:27): [True: 0, False: 0]
  ------------------
 2136|      0|                !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (2136:17): [True: 0, False: 0]
  ------------------
 2137|  41.4k|    }
 2138|      0|    else {
 2139|      0|        do {
 2140|      0|            errno = 0;
 2141|       |#ifdef MS_WINDOWS
 2142|       |            // write() on a non-blocking pipe fails with ENOSPC on Windows if
 2143|       |            // the pipe lacks available space for the entire buffer.
 2144|       |            int c = (int)count;
 2145|       |            do {
 2146|       |                _doserrno = 0;
 2147|       |                n = write(fd, buf, c);
 2148|       |                if (n >= 0 || errno != ENOSPC || _doserrno != 0) {
 2149|       |                    break;
 2150|       |                }
 2151|       |                errno = EAGAIN;
 2152|       |                c /= 2;
 2153|       |            } while (c > 0);
 2154|       |#else
 2155|      0|            n = write(fd, buf, count);
 2156|      0|#endif
 2157|      0|            err = errno;
 2158|      0|        } while (n < 0 && err == EINTR);
  ------------------
  |  Branch (2158:18): [True: 0, False: 0]
  |  Branch (2158:27): [True: 0, False: 0]
  ------------------
 2159|      0|    }
 2160|  41.4k|    _Py_END_SUPPRESS_IPH
 2161|       |
 2162|  41.4k|    if (async_err) {
  ------------------
  |  Branch (2162:9): [True: 0, False: 41.4k]
  ------------------
 2163|       |        /* write() was interrupted by a signal (failed with EINTR)
 2164|       |           and the Python signal handler raised an exception (if gil_held is
 2165|       |           nonzero). */
 2166|      0|        errno = err;
 2167|      0|        assert(errno == EINTR && (!gil_held || PyErr_Occurred()));
  ------------------
  |  Branch (2167:9): [True: 0, False: 0]
  |  Branch (2167:9): [True: 0, False: 0]
  |  Branch (2167:9): [True: 0, False: 0]
  ------------------
 2168|      0|        return -1;
 2169|      0|    }
 2170|  41.4k|    if (n < 0) {
  ------------------
  |  Branch (2170:9): [True: 0, False: 41.4k]
  ------------------
 2171|      0|        if (gil_held)
  ------------------
  |  Branch (2171:13): [True: 0, False: 0]
  ------------------
 2172|      0|            PyErr_SetFromErrno(PyExc_OSError);
 2173|      0|        errno = err;
 2174|      0|        return -1;
 2175|      0|    }
 2176|       |
 2177|  41.4k|    return n;
 2178|  41.4k|}
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|  74.3k|{
  441|  74.3k|    cfg_builder *g = PyMem_Malloc(sizeof(cfg_builder));
  442|  74.3k|    if (g == NULL) {
  ------------------
  |  Branch (442:9): [True: 0, False: 74.3k]
  ------------------
  443|      0|        PyErr_NoMemory();
  444|      0|        return NULL;
  445|      0|    }
  446|  74.3k|    memset(g, 0, sizeof(cfg_builder));
  447|  74.3k|    if (init_cfg_builder(g) < 0) {
  ------------------
  |  Branch (447:9): [True: 0, False: 74.3k]
  ------------------
  448|      0|        PyMem_Free(g);
  449|      0|        return NULL;
  450|      0|    }
  451|  74.3k|    return g;
  452|  74.3k|}
_PyCfgBuilder_Free:
  456|  74.3k|{
  457|  74.3k|    if (g == NULL) {
  ------------------
  |  Branch (457:9): [True: 0, False: 74.3k]
  ------------------
  458|      0|        return;
  459|      0|    }
  460|  74.3k|    assert(cfg_builder_check(g));
  ------------------
  |  Branch (460:5): [True: 74.3k, False: 0]
  ------------------
  461|  74.3k|    basicblock *b = g->g_block_list;
  462|   600k|    while (b != NULL) {
  ------------------
  |  Branch (462:12): [True: 525k, False: 74.3k]
  ------------------
  463|   525k|        if (b->b_instr) {
  ------------------
  |  Branch (463:13): [True: 525k, False: 0]
  ------------------
  464|   525k|            PyMem_Free((void *)b->b_instr);
  465|   525k|        }
  466|   525k|        basicblock *next = b->b_list;
  467|   525k|        PyMem_Free((void *)b);
  468|   525k|        b = next;
  469|   525k|    }
  470|  74.3k|    PyMem_Free(g);
  471|  74.3k|}
_PyCfgBuilder_CheckSize:
  475|  74.3k|{
  476|  74.3k|    int nblocks = 0;
  477|   584k|    for (basicblock *b = g->g_block_list; b != NULL; b = b->b_list) {
  ------------------
  |  Branch (477:43): [True: 510k, False: 74.3k]
  ------------------
  478|   510k|        nblocks++;
  479|   510k|    }
  480|  74.3k|    if ((size_t)nblocks > SIZE_MAX / sizeof(basicblock *)) {
  ------------------
  |  Branch (480:9): [True: 0, False: 74.3k]
  ------------------
  481|      0|        PyErr_NoMemory();
  482|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  483|      0|    }
  484|  74.3k|    return SUCCESS;
  ------------------
  |  |   21|  74.3k|#define SUCCESS 0
  ------------------
  485|  74.3k|}
_PyCfgBuilder_UseLabel:
  489|   246k|{
  490|   246k|    g->g_current_label = lbl;
  491|   246k|    return cfg_builder_maybe_start_new_block(g);
  492|   246k|}
_PyCfgBuilder_Addop:
  496|  5.06M|{
  497|  5.06M|    RETURN_IF_ERROR(cfg_builder_maybe_start_new_block(g));
  ------------------
  |  |   25|  5.06M|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 5.06M]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  498|       |    return basicblock_addop(g->g_curblock, opcode, oparg, loc, NULL);
  499|  5.06M|}
_PyCfg_OptimizeCodeUnit:
 3803|  74.3k|{
 3804|  74.3k|    assert(cfg_builder_check(g));
  ------------------
  |  Branch (3804:5): [True: 74.3k, False: 0]
  ------------------
 3805|  74.3k|    assert(g->g_entryblock->b_iused > 0);
  ------------------
  |  Branch (3805:5): [True: 74.3k, False: 0]
  ------------------
 3806|       |    /** Preprocessing **/
 3807|       |    /* Map labels to targets and mark exception handlers */
 3808|  74.3k|    RETURN_IF_ERROR(translate_jump_labels_to_targets(g->g_entryblock));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3809|  74.3k|    RETURN_IF_ERROR(mark_except_handlers(g->g_entryblock));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3810|  74.3k|    RETURN_IF_ERROR(label_exception_targets(g->g_entryblock));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3811|       |
 3812|       |    /** Optimization **/
 3813|       |
 3814|  74.3k|    _Py_hashtable_t *consts_index = _Py_hashtable_new(
 3815|  74.3k|        _Py_hashtable_hash_ptr, _Py_hashtable_compare_direct);
 3816|  74.3k|    if (consts_index == NULL) {
  ------------------
  |  Branch (3816:9): [True: 0, False: 74.3k]
  ------------------
 3817|      0|        PyErr_NoMemory();
 3818|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3819|      0|    }
 3820|       |
 3821|   417k|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(consts); i++) {
  ------------------
  |  |   38|   417k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   417k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   417k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3821:28): [True: 342k, False: 74.3k]
  ------------------
 3822|   342k|        PyObject *item = PyList_GET_ITEM(consts, i);
  ------------------
  |  |   40|   342k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|   342k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   342k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3822:26): [True: 342k, False: 0]
  ------------------
 3823|   342k|        if (_Py_hashtable_get_entry(consts_index, (void *)item) != NULL) {
  ------------------
  |  Branch (3823:13): [True: 0, False: 342k]
  ------------------
 3824|      0|            continue;
 3825|      0|        }
 3826|   342k|        if (_Py_hashtable_set(consts_index, (void *)item,
  ------------------
  |  Branch (3826:13): [True: 0, False: 342k]
  ------------------
 3827|   342k|                              (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|   342k|    }
 3833|       |
 3834|  74.3k|    int ret = optimize_cfg(g, consts, const_cache, consts_index, firstlineno);
 3835|       |
 3836|  74.3k|    _Py_hashtable_destroy(consts_index);
 3837|       |
 3838|  74.3k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3839|       |
 3840|  74.3k|    RETURN_IF_ERROR(remove_unused_consts(g->g_entryblock, consts));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3841|  74.3k|    RETURN_IF_ERROR(
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3842|  74.3k|        add_checks_for_loads_of_uninitialized_variables(
 3843|  74.3k|            g->g_entryblock, nlocals, nparams));
 3844|  74.3k|    RETURN_IF_ERROR(push_cold_blocks_to_end(g));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3845|  74.3k|    RETURN_IF_ERROR(resolve_line_numbers(g, firstlineno));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   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|  74.3k|    return SUCCESS;
  ------------------
  |  |   21|  74.3k|#define SUCCESS 0
  ------------------
 3849|  74.3k|}
_PyCfg_FromInstructionSequence:
 4039|  74.3k|{
 4040|  74.3k|    if (_PyInstructionSequence_ApplyLabelMap(seq) < 0) {
  ------------------
  |  Branch (4040:9): [True: 0, False: 74.3k]
  ------------------
 4041|      0|        return NULL;
 4042|      0|    }
 4043|  74.3k|    cfg_builder *g = _PyCfgBuilder_New();
 4044|  74.3k|    if (g == NULL) {
  ------------------
  |  Branch (4044:9): [True: 0, False: 74.3k]
  ------------------
 4045|      0|        return NULL;
 4046|      0|    }
 4047|  5.14M|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4047:21): [True: 5.07M, False: 74.3k]
  ------------------
 4048|  5.07M|        seq->s_instrs[i].i_target = 0;
 4049|  5.07M|    }
 4050|  5.14M|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4050:21): [True: 5.07M, False: 74.3k]
  ------------------
 4051|  5.07M|        _PyInstruction *instr = &seq->s_instrs[i];
 4052|  5.07M|        if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  5.07M|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  10.1M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  5.07M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 226k, False: 4.84M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  4.84M|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  9.69M|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 43.4k, False: 4.80M]
  |  |  |  |  ------------------
  |  |  |  |   19|  4.84M|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.64M|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 10.9k, False: 4.79M]
  |  |  |  |  ------------------
  |  |  |  |   20|  4.84M|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.79M|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 20.7k, False: 4.77M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4053|   301k|            assert(instr->i_oparg >= 0 && instr->i_oparg < seq->s_used);
  ------------------
  |  Branch (4053:13): [True: 301k, False: 0]
  |  Branch (4053:13): [True: 301k, False: 0]
  ------------------
 4054|   301k|            seq->s_instrs[instr->i_oparg].i_target = 1;
 4055|   301k|        }
 4056|  5.07M|    }
 4057|  74.3k|    int offset = 0;
 4058|  5.14M|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4058:21): [True: 5.07M, False: 74.3k]
  ------------------
 4059|  5.07M|        _PyInstruction *instr = &seq->s_instrs[i];
 4060|  5.07M|        if (instr->i_opcode == ANNOTATIONS_PLACEHOLDER) {
  ------------------
  |  |  244|  5.07M|#define ANNOTATIONS_PLACEHOLDER                256
  ------------------
  |  Branch (4060:13): [True: 11.7k, False: 5.06M]
  ------------------
 4061|  11.7k|            if (seq->s_annotations_code != NULL) {
  ------------------
  |  Branch (4061:17): [True: 718, False: 11.0k]
  ------------------
 4062|    718|                assert(seq->s_annotations_code->s_labelmap_size == 0
  ------------------
  |  Branch (4062:17): [True: 718, False: 0]
  |  Branch (4062:17): [True: 718, False: 0]
  ------------------
 4063|    718|                    && seq->s_annotations_code->s_nested == NULL);
 4064|  2.87k|                for (int j = 0; j < seq->s_annotations_code->s_used; j++) {
  ------------------
  |  Branch (4064:33): [True: 2.15k, False: 718]
  ------------------
 4065|  2.15k|                    _PyInstruction *ann_instr = &seq->s_annotations_code->s_instrs[j];
 4066|  2.15k|                    assert(!HAS_TARGET(ann_instr->i_opcode));
  ------------------
  |  Branch (4066:21): [True: 0, False: 2.15k]
  |  Branch (4066:21): [True: 0, False: 2.15k]
  |  Branch (4066:21): [True: 0, False: 2.15k]
  |  Branch (4066:21): [True: 0, False: 2.15k]
  ------------------
 4067|  2.15k|                    if (_PyCfgBuilder_Addop(g, ann_instr->i_opcode, ann_instr->i_oparg, ann_instr->i_loc) < 0) {
  ------------------
  |  Branch (4067:25): [True: 0, False: 2.15k]
  ------------------
 4068|      0|                        goto error;
 4069|      0|                    }
 4070|  2.15k|                }
 4071|    718|                offset += seq->s_annotations_code->s_used - 1;
 4072|    718|            }
 4073|  11.0k|            else {
 4074|  11.0k|                offset -= 1;
 4075|  11.0k|            }
 4076|  11.7k|            continue;
 4077|  11.7k|        }
 4078|  5.06M|        if (instr->i_target) {
  ------------------
  |  Branch (4078:13): [True: 246k, False: 4.81M]
  ------------------
 4079|   246k|            jump_target_label lbl_ = {i + offset};
 4080|   246k|            if (_PyCfgBuilder_UseLabel(g, lbl_) < 0) {
  ------------------
  |  Branch (4080:17): [True: 0, False: 246k]
  ------------------
 4081|      0|                goto error;
 4082|      0|            }
 4083|   246k|        }
 4084|  5.06M|        int opcode = instr->i_opcode;
 4085|  5.06M|        int oparg = instr->i_oparg;
 4086|  5.06M|        if (HAS_TARGET(opcode)) {
  ------------------
  |  |   23|  5.06M|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  10.1M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  5.06M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 226k, False: 4.83M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  4.83M|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  9.66M|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 43.4k, False: 4.79M]
  |  |  |  |  ------------------
  |  |  |  |   19|  4.83M|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.62M|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 10.9k, False: 4.77M]
  |  |  |  |  ------------------
  |  |  |  |   20|  4.83M|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.77M|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 20.7k, False: 4.75M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4087|   301k|            oparg += offset;
 4088|   301k|        }
 4089|  5.06M|        if (_PyCfgBuilder_Addop(g, opcode, oparg, instr->i_loc) < 0) {
  ------------------
  |  Branch (4089:13): [True: 0, False: 5.06M]
  ------------------
 4090|      0|            goto error;
 4091|      0|        }
 4092|  5.06M|    }
 4093|  74.3k|    if (_PyCfgBuilder_CheckSize(g) < 0) {
  ------------------
  |  Branch (4093:9): [True: 0, False: 74.3k]
  ------------------
 4094|      0|        goto error;
 4095|      0|    }
 4096|  74.3k|    return g;
 4097|      0|error:
 4098|      0|    _PyCfgBuilder_Free(g);
 4099|       |    return NULL;
 4100|  74.3k|}
_PyCfg_ToInstructionSequence:
 4104|  74.3k|{
 4105|  74.3k|    int lbl = 0;
 4106|   600k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (4106:43): [True: 525k, False: 74.3k]
  ------------------
 4107|   525k|        b->b_label = (jump_target_label){lbl};
 4108|   525k|        lbl += 1;
 4109|   525k|    }
 4110|   600k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (4110:43): [True: 525k, False: 74.3k]
  ------------------
 4111|   525k|        RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(seq, b->b_label.id));
  ------------------
  |  |   25|   525k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 525k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4112|  4.18M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (4112:25): [True: 3.65M, False: 525k]
  ------------------
 4113|  3.65M|            cfg_instr *instr = &b->b_instr[i];
 4114|  3.65M|            if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  3.65M|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  7.31M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  3.65M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 206k, False: 3.45M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  3.45M|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  6.90M|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 3.45M]
  |  |  |  |  ------------------
  |  |  |  |   19|  3.45M|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.90M|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 3.45M]
  |  |  |  |  ------------------
  |  |  |  |   20|  3.45M|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.45M|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 3.45M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4115|       |                /* Set oparg to the label id (it will later be mapped to an offset) */
 4116|   206k|                instr->i_oparg = instr->i_target->b_label.id;
 4117|   206k|            }
 4118|  3.65M|            RETURN_IF_ERROR(
  ------------------
  |  |   25|  3.65M|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3.65M]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4119|  3.65M|                _PyInstructionSequence_Addop(
 4120|  3.65M|                    seq, instr->i_opcode, instr->i_oparg, instr->i_loc));
 4121|       |
 4122|  3.65M|            _PyExceptHandlerInfo *hi = &seq->s_instrs[seq->s_used-1].i_except_handler_info;
 4123|  3.65M|            if (instr->i_except != NULL) {
  ------------------
  |  Branch (4123:17): [True: 1.10M, False: 2.54M]
  ------------------
 4124|  1.10M|                hi->h_label = instr->i_except->b_label.id;
 4125|  1.10M|                hi->h_startdepth = instr->i_except->b_startdepth;
 4126|  1.10M|                hi->h_preserve_lasti = instr->i_except->b_preserve_lasti;
 4127|  1.10M|            }
 4128|  2.54M|            else {
 4129|  2.54M|                hi->h_label = -1;
 4130|  2.54M|            }
 4131|  3.65M|        }
 4132|   525k|    }
 4133|  74.3k|    if (_PyInstructionSequence_ApplyLabelMap(seq) < 0) {
  ------------------
  |  Branch (4133:9): [True: 0, False: 74.3k]
  ------------------
 4134|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4135|      0|    }
 4136|  74.3k|    return SUCCESS;
  ------------------
  |  |   21|  74.3k|#define SUCCESS 0
  ------------------
 4137|  74.3k|}
_PyCfg_OptimizedCfgToInstructionSequence:
 4145|  74.3k|{
 4146|  74.3k|    RETURN_IF_ERROR(convert_pseudo_conditional_jumps(g));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4147|       |
 4148|  74.3k|    *stackdepth = calculate_stackdepth(g);
 4149|  74.3k|    if (*stackdepth < 0) {
  ------------------
  |  Branch (4149:9): [True: 0, False: 74.3k]
  ------------------
 4150|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4151|      0|    }
 4152|       |
 4153|  74.3k|    *nlocalsplus = prepare_localsplus(umd, g);
 4154|  74.3k|    if (*nlocalsplus < 0) {
  ------------------
  |  Branch (4154:9): [True: 0, False: 74.3k]
  ------------------
 4155|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4156|      0|    }
 4157|       |
 4158|  74.3k|    RETURN_IF_ERROR(convert_pseudo_ops(g));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   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|  74.3k|    RETURN_IF_ERROR(normalize_jumps(g));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4163|  74.3k|    assert(no_redundant_jumps(g));
  ------------------
  |  Branch (4163:5): [True: 74.3k, 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|  74.3k|    RETURN_IF_ERROR(optimize_load_fast(g));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   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|  74.3k|    RETURN_IF_ERROR(insert_superinstructions(g));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4177|       |
 4178|       |    /* Can't modify the bytecode after computing jump offsets. */
 4179|  74.3k|    if (_PyCfg_ToInstructionSequence(g, seq) < 0) {
  ------------------
  |  Branch (4179:9): [True: 0, False: 74.3k]
  ------------------
 4180|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4181|      0|    }
 4182|       |
 4183|  74.3k|    return SUCCESS;
  ------------------
  |  |   21|  74.3k|#define SUCCESS 0
  ------------------
 4184|  74.3k|}
PyCompile_OpcodeStackEffect:
 4211|  4.94k|{
 4212|  4.94k|    stack_effects effs;
 4213|  4.94k|    if (get_stack_effects(opcode, oparg, -1, &effs) < 0) {
  ------------------
  |  Branch (4213:9): [True: 0, False: 4.94k]
  ------------------
 4214|      0|        return PY_INVALID_STACK_EFFECT;
  ------------------
  |  |   48|      0|#define PY_INVALID_STACK_EFFECT INT_MAX
  ------------------
 4215|      0|    }
 4216|  4.94k|    return effs.net;
 4217|  4.94k|}
flowgraph.c:init_cfg_builder:
  427|  74.3k|{
  428|  74.3k|    g->g_block_list = NULL;
  429|  74.3k|    basicblock *block = cfg_builder_new_block(g);
  430|  74.3k|    if (block == NULL) {
  ------------------
  |  Branch (430:9): [True: 0, False: 74.3k]
  ------------------
  431|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  432|      0|    }
  433|  74.3k|    g->g_curblock = g->g_entryblock = block;
  434|  74.3k|    g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|  74.3k|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  435|  74.3k|    return SUCCESS;
  ------------------
  |  |   21|  74.3k|#define SUCCESS 0
  ------------------
  436|  74.3k|}
flowgraph.c:cfg_builder_new_block:
  177|   525k|{
  178|   525k|    basicblock *b = (basicblock *)PyMem_Calloc(1, sizeof(basicblock));
  179|   525k|    if (b == NULL) {
  ------------------
  |  Branch (179:9): [True: 0, False: 525k]
  ------------------
  180|      0|        PyErr_NoMemory();
  181|      0|        return NULL;
  182|      0|    }
  183|       |    /* Extend the singly linked list of blocks with new block. */
  184|   525k|    b->b_list = g->g_block_list;
  185|   525k|    g->g_block_list = b;
  186|   525k|    b->b_label = NO_LABEL;
  ------------------
  |  |   57|   525k|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  187|   525k|    return b;
  188|   525k|}
flowgraph.c:cfg_builder_check:
  408|   148k|{
  409|  1.18M|    for (basicblock *block = g->g_block_list; block != NULL; block = block->b_list) {
  ------------------
  |  Branch (409:47): [True: 1.03M, False: 148k]
  ------------------
  410|  1.03M|        assert(!_PyMem_IsPtrFreed(block));
  ------------------
  |  Branch (410:9): [True: 1.03M, False: 0]
  ------------------
  411|  1.03M|        if (block->b_instr != NULL) {
  ------------------
  |  Branch (411:13): [True: 1.03M, False: 0]
  ------------------
  412|  1.03M|            assert(block->b_ialloc > 0);
  ------------------
  |  Branch (412:13): [True: 1.03M, False: 0]
  ------------------
  413|  1.03M|            assert(block->b_iused >= 0);
  ------------------
  |  Branch (413:13): [True: 1.03M, False: 0]
  ------------------
  414|  1.03M|            assert(block->b_ialloc >= block->b_iused);
  ------------------
  |  Branch (414:13): [True: 1.03M, False: 0]
  ------------------
  415|  1.03M|        }
  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|  1.03M|    }
  421|   148k|    return true;
  422|   148k|}
flowgraph.c:cfg_builder_maybe_start_new_block:
  392|  5.30M|{
  393|  5.30M|    if (cfg_builder_current_block_is_terminated(g)) {
  ------------------
  |  Branch (393:9): [True: 436k, False: 4.87M]
  ------------------
  394|   436k|        basicblock *b = cfg_builder_new_block(g);
  395|   436k|        if (b == NULL) {
  ------------------
  |  Branch (395:13): [True: 0, False: 436k]
  ------------------
  396|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  397|      0|        }
  398|   436k|        b->b_label = g->g_current_label;
  399|   436k|        g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|   436k|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  400|   436k|        cfg_builder_use_next_block(g, b);
  401|   436k|    }
  402|  5.30M|    return SUCCESS;
  ------------------
  |  |   21|  5.30M|#define SUCCESS 0
  ------------------
  403|  5.30M|}
flowgraph.c:cfg_builder_current_block_is_terminated:
  372|  5.30M|{
  373|  5.30M|    cfg_instr *last = basicblock_last_instr(g->g_curblock);
  374|  5.30M|    if (last && IS_TERMINATOR_OPCODE(last->i_opcode)) {
  ------------------
  |  |   27|  4.98M|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  9.97M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  4.98M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 226k, False: 4.76M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|  4.76M|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|  9.52M|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 51.0k, False: 4.71M]
  |  |  |  |  ------------------
  |  |  |  |   54|  4.76M|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|  9.47M|#define RAISE_VARARGS                          100
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 21.5k, False: 4.68M]
  |  |  |  |  ------------------
  |  |  |  |   55|  4.76M|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  114|  4.68M|#define RERAISE                                101
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 38.1k, False: 4.65M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (374:9): [True: 4.98M, False: 321k]
  ------------------
  375|   337k|        return true;
  376|   337k|    }
  377|  4.97M|    if (IS_LABEL(g->g_current_label)) {
  ------------------
  |  |   96|  4.97M|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|  4.97M|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 99.0k, False: 4.87M]
  |  |  ------------------
  ------------------
  378|  99.0k|        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: 99.0k, False: 0]
  ------------------
  379|  99.0k|            return true;
  380|  99.0k|        }
  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|  99.0k|    }
  387|  4.87M|    return false;
  388|  4.97M|}
flowgraph.c:basicblock_last_instr:
  162|  18.4M|basicblock_last_instr(const basicblock *b) {
  163|  18.4M|    assert(b->b_iused >= 0);
  ------------------
  |  Branch (163:5): [True: 18.4M, False: 0]
  ------------------
  164|  18.4M|    if (b->b_iused > 0) {
  ------------------
  |  Branch (164:9): [True: 17.1M, False: 1.32M]
  ------------------
  165|  17.1M|        assert(b->b_instr != NULL);
  ------------------
  |  Branch (165:9): [True: 17.1M, False: 0]
  ------------------
  166|  17.1M|        return &b->b_instr[b->b_iused - 1];
  167|  17.1M|    }
  168|  1.32M|    return NULL;
  169|  18.4M|}
flowgraph.c:cfg_builder_use_next_block:
  347|   436k|{
  348|   436k|    assert(block != NULL);
  ------------------
  |  Branch (348:5): [True: 436k, False: 0]
  ------------------
  349|   436k|    g->g_curblock->b_next = block;
  350|   436k|    g->g_curblock = block;
  351|   436k|    return block;
  352|   436k|}
flowgraph.c:basicblock_addop:
  193|  5.16M|{
  194|  5.16M|    assert(IS_WITHIN_OPCODE_RANGE(opcode));
  ------------------
  |  Branch (194:5): [True: 5.16M, False: 0]
  |  Branch (194:5): [True: 4.84M, False: 318k]
  |  Branch (194:5): [True: 36.5k, False: 281k]
  |  Branch (194:5): [True: 23.6k, False: 257k]
  |  Branch (194:5): [True: 0, False: 257k]
  |  Branch (194:5): [True: 22.2k, False: 235k]
  |  Branch (194:5): [True: 80.3k, False: 155k]
  |  Branch (194:5): [True: 2.56k, False: 152k]
  |  Branch (194:5): [True: 3.24k, False: 149k]
  |  Branch (194:5): [True: 43.4k, False: 106k]
  |  Branch (194:5): [True: 20.7k, False: 85.2k]
  |  Branch (194:5): [True: 10.9k, False: 74.3k]
  |  Branch (194:5): [True: 74.3k, False: 0]
  |  Branch (194:5): [Folded, False: 0]
  ------------------
  195|  5.16M|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (195:5): [True: 0, False: 5.16M]
  |  Branch (195:5): [True: 0, False: 5.16M]
  |  Branch (195:5): [True: 0, False: 5.16M]
  ------------------
  196|  5.16M|    assert(OPCODE_HAS_ARG(opcode) || HAS_TARGET(opcode) || oparg == 0);
  ------------------
  |  Branch (196:5): [True: 0, False: 1.11M]
  |  Branch (196:5): [True: 0, False: 1.11M]
  |  Branch (196:5): [True: 0, False: 1.11M]
  |  Branch (196:5): [True: 0, False: 1.11M]
  |  Branch (196:5): [True: 4.05M, False: 1.11M]
  |  Branch (196:5): [True: 1.11M, False: 0]
  ------------------
  197|  5.16M|    assert(0 <= oparg && oparg < (1 << 30));
  ------------------
  |  Branch (197:5): [True: 5.16M, False: 0]
  |  Branch (197:5): [True: 5.16M, False: 0]
  ------------------
  198|       |
  199|  5.16M|    int off = basicblock_next_instr(b);
  200|  5.16M|    if (off < 0) {
  ------------------
  |  Branch (200:9): [True: 0, False: 5.16M]
  ------------------
  201|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  202|      0|    }
  203|  5.16M|    cfg_instr *i = &b->b_instr[off];
  204|  5.16M|    i->i_opcode = opcode;
  205|  5.16M|    i->i_oparg = oparg;
  206|  5.16M|    i->i_loc = loc;
  207|  5.16M|    i->i_except = except;
  208|       |    // memory is already zero initialized
  209|  5.16M|    assert(i->i_target == NULL);
  ------------------
  |  Branch (209:5): [True: 5.16M, False: 0]
  ------------------
  210|       |
  211|  5.16M|    return SUCCESS;
  ------------------
  |  |   21|  5.16M|#define SUCCESS 0
  ------------------
  212|  5.16M|}
flowgraph.c:basicblock_next_instr:
  146|  5.24M|{
  147|  5.24M|    assert(b != NULL);
  ------------------
  |  Branch (147:5): [True: 5.24M, False: 0]
  ------------------
  148|  5.24M|    _Py_c_array_t array = {
  149|  5.24M|        .array = (void*)b->b_instr,
  150|  5.24M|        .allocated_entries = b->b_ialloc,
  151|  5.24M|        .item_size = sizeof(cfg_instr),
  152|  5.24M|        .initial_num_entries = DEFAULT_BLOCK_SIZE,
  ------------------
  |  |   29|  5.24M|#define DEFAULT_BLOCK_SIZE 16
  ------------------
  153|  5.24M|    };
  154|       |
  155|  5.24M|    RETURN_IF_ERROR(_Py_CArray_EnsureCapacity(&array, b->b_iused + 1));
  ------------------
  |  |   25|  5.24M|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 5.24M]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  156|  5.24M|    b->b_instr = array.array;
  157|  5.24M|    b->b_ialloc = array.allocated_entries;
  158|  5.24M|    return b->b_iused++;
  159|  5.24M|}
flowgraph.c:translate_jump_labels_to_targets:
  651|  74.3k|{
  652|  74.3k|    int max_label = get_max_label(entryblock);
  653|  74.3k|    size_t mapsize = sizeof(basicblock *) * (max_label + 1);
  654|  74.3k|    basicblock **label2block = (basicblock **)PyMem_Malloc(mapsize);
  655|  74.3k|    if (!label2block) {
  ------------------
  |  Branch (655:9): [True: 0, False: 74.3k]
  ------------------
  656|      0|        PyErr_NoMemory();
  657|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  658|      0|    }
  659|  74.3k|    memset(label2block, 0, mapsize);
  660|   584k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (660:38): [True: 510k, False: 74.3k]
  ------------------
  661|   510k|        if (b->b_label.id >= 0) {
  ------------------
  |  Branch (661:13): [True: 246k, False: 263k]
  ------------------
  662|   246k|            label2block[b->b_label.id] = b;
  663|   246k|        }
  664|   510k|    }
  665|   584k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (665:38): [True: 510k, False: 74.3k]
  ------------------
  666|  5.57M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (666:25): [True: 5.06M, False: 510k]
  ------------------
  667|  5.06M|            cfg_instr *instr = &b->b_instr[i];
  668|  5.06M|            assert(instr->i_target == NULL);
  ------------------
  |  Branch (668:13): [True: 5.06M, False: 0]
  ------------------
  669|  5.06M|            if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  5.06M|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  10.1M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  5.06M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 226k, False: 4.83M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  4.83M|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  9.67M|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 43.4k, False: 4.79M]
  |  |  |  |  ------------------
  |  |  |  |   19|  4.83M|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.62M|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 10.9k, False: 4.78M]
  |  |  |  |  ------------------
  |  |  |  |   20|  4.83M|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.78M|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 20.7k, False: 4.76M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  670|   301k|                int lbl = instr->i_oparg;
  671|   301k|                assert(lbl >= 0 && lbl <= max_label);
  ------------------
  |  Branch (671:17): [True: 301k, False: 0]
  |  Branch (671:17): [True: 301k, False: 0]
  ------------------
  672|   301k|                instr->i_target = label2block[lbl];
  673|   301k|                assert(instr->i_target != NULL);
  ------------------
  |  Branch (673:17): [True: 301k, False: 0]
  ------------------
  674|   301k|                assert(instr->i_target->b_label.id == lbl);
  ------------------
  |  Branch (674:17): [True: 301k, False: 0]
  ------------------
  675|   301k|            }
  676|  5.06M|        }
  677|   510k|    }
  678|  74.3k|    PyMem_Free(label2block);
  679|  74.3k|    return SUCCESS;
  ------------------
  |  |   21|  74.3k|#define SUCCESS 0
  ------------------
  680|  74.3k|}
flowgraph.c:get_max_label:
  638|   277k|{
  639|   277k|    int lbl = -1;
  640|  2.31M|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (640:38): [True: 2.03M, False: 277k]
  ------------------
  641|  2.03M|        if (b->b_label.id > lbl) {
  ------------------
  |  Branch (641:13): [True: 842k, False: 1.19M]
  ------------------
  642|   842k|            lbl = b->b_label.id;
  643|   842k|        }
  644|  2.03M|    }
  645|   277k|    return lbl;
  646|   277k|}
flowgraph.c:mark_except_handlers:
  683|  74.3k|mark_except_handlers(basicblock *entryblock) {
  684|  74.3k|#ifndef NDEBUG
  685|   584k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (685:38): [True: 510k, False: 74.3k]
  ------------------
  686|   510k|        assert(!b->b_except_handler);
  ------------------
  |  Branch (686:9): [True: 510k, False: 0]
  ------------------
  687|   510k|    }
  688|  74.3k|#endif
  689|   584k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (689:38): [True: 510k, False: 74.3k]
  ------------------
  690|  5.57M|        for (int i=0; i < b->b_iused; i++) {
  ------------------
  |  Branch (690:23): [True: 5.06M, False: 510k]
  ------------------
  691|  5.06M|            cfg_instr *instr = &b->b_instr[i];
  692|  5.06M|            if (is_block_push(instr)) {
  ------------------
  |  Branch (692:17): [True: 75.1k, False: 4.98M]
  ------------------
  693|  75.1k|                instr->i_target->b_except_handler = 1;
  694|  75.1k|            }
  695|  5.06M|        }
  696|   510k|    }
  697|  74.3k|    return SUCCESS;
  ------------------
  |  |   21|  74.3k|#define SUCCESS 0
  ------------------
  698|  74.3k|}
flowgraph.c:is_block_push:
  103|  21.9M|{
  104|  21.9M|    assert(OPCODE_HAS_ARG(i->i_opcode) || !IS_BLOCK_PUSH_OPCODE(i->i_opcode));
  ------------------
  |  Branch (104:5): [True: 0, False: 4.42M]
  |  Branch (104:5): [True: 0, False: 4.42M]
  |  Branch (104:5): [True: 0, False: 4.42M]
  |  Branch (104:5): [True: 17.4M, False: 4.42M]
  ------------------
  105|  21.9M|    return IS_BLOCK_PUSH_OPCODE(i->i_opcode);
  ------------------
  |  |   18|  21.9M|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  252|  43.8M|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 257k, False: 21.6M]
  |  |  ------------------
  |  |   19|  21.9M|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  253|  43.5M|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 65.4k, False: 21.5M]
  |  |  ------------------
  |  |   20|  21.9M|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|  21.5M|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 124k, False: 21.4M]
  |  |  ------------------
  ------------------
  106|  21.9M|}
flowgraph.c:label_exception_targets:
  901|  74.3k|label_exception_targets(basicblock *entryblock) {
  902|  74.3k|    basicblock **todo_stack = make_cfg_traversal_stack(entryblock);
  903|  74.3k|    if (todo_stack == NULL) {
  ------------------
  |  Branch (903:9): [True: 0, False: 74.3k]
  ------------------
  904|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  905|      0|    }
  906|  74.3k|    struct _PyCfgExceptStack *except_stack = make_except_stack();
  907|  74.3k|    if (except_stack == NULL) {
  ------------------
  |  Branch (907:9): [True: 0, False: 74.3k]
  ------------------
  908|      0|        PyMem_Free(todo_stack);
  909|      0|        PyErr_NoMemory();
  910|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  911|      0|    }
  912|  74.3k|    except_stack->depth = 0;
  913|  74.3k|    todo_stack[0] = entryblock;
  914|  74.3k|    entryblock->b_visited = 1;
  915|  74.3k|    entryblock->b_exceptstack = except_stack;
  916|  74.3k|    basicblock **todo = &todo_stack[1];
  917|  74.3k|    basicblock *handler = NULL;
  918|   529k|    while (todo > todo_stack) {
  ------------------
  |  Branch (918:12): [True: 455k, False: 74.3k]
  ------------------
  919|   455k|        todo--;
  920|   455k|        basicblock *b = todo[0];
  921|   455k|        assert(b->b_visited == 1);
  ------------------
  |  Branch (921:9): [True: 455k, False: 0]
  ------------------
  922|   455k|        except_stack = b->b_exceptstack;
  923|   455k|        assert(except_stack != NULL);
  ------------------
  |  Branch (923:9): [True: 455k, False: 0]
  ------------------
  924|   455k|        b->b_exceptstack = NULL;
  925|   455k|        handler = except_stack_top(except_stack);
  926|   455k|        int last_yield_except_depth = -1;
  927|  5.40M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (927:25): [True: 4.94M, False: 455k]
  ------------------
  928|  4.94M|            cfg_instr *instr = &b->b_instr[i];
  929|  4.94M|            if (is_block_push(instr)) {
  ------------------
  |  Branch (929:17): [True: 74.4k, False: 4.87M]
  ------------------
  930|  74.4k|                if (!instr->i_target->b_visited) {
  ------------------
  |  Branch (930:21): [True: 74.4k, False: 0]
  ------------------
  931|  74.4k|                    struct _PyCfgExceptStack *copy = copy_except_stack(except_stack);
  932|  74.4k|                    if (copy == NULL) {
  ------------------
  |  Branch (932:25): [True: 0, False: 74.4k]
  ------------------
  933|      0|                        goto error;
  934|      0|                    }
  935|  74.4k|                    instr->i_target->b_exceptstack = copy;
  936|  74.4k|                    todo[0] = instr->i_target;
  937|  74.4k|                    instr->i_target->b_visited = 1;
  938|  74.4k|                    todo++;
  939|  74.4k|                }
  940|  74.4k|                handler = push_except_block(except_stack, instr);
  941|  74.4k|            }
  942|  4.87M|            else if (instr->i_opcode == POP_BLOCK) {
  ------------------
  |  |  250|  4.87M|#define POP_BLOCK                              262
  ------------------
  |  Branch (942:22): [True: 73.0k, False: 4.79M]
  ------------------
  943|  73.0k|                handler = pop_except_block(except_stack);
  944|  73.0k|                INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|  73.0k|    do { \
  |  |  126|  73.0k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  73.0k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  73.0k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  73.0k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  73.0k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 73.0k]
  |  |  ------------------
  ------------------
  |  Branch (944:17): [True: 73.0k, False: 0]
  ------------------
  945|  73.0k|            }
  946|  4.79M|            else if (is_jump(instr)) {
  ------------------
  |  Branch (946:22): [True: 223k, False: 4.57M]
  ------------------
  947|   223k|                instr->i_except = handler;
  948|   223k|                assert(i == b->b_iused -1);
  ------------------
  |  Branch (948:17): [True: 223k, False: 0]
  ------------------
  949|   223k|                if (!instr->i_target->b_visited) {
  ------------------
  |  Branch (949:21): [True: 129k, False: 94.5k]
  ------------------
  950|   129k|                    if (BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  253|   129k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 99.9k, False: 29.2k]
  |  |  ------------------
  ------------------
  951|  99.9k|                        struct _PyCfgExceptStack *copy = copy_except_stack(except_stack);
  952|  99.9k|                        if (copy == NULL) {
  ------------------
  |  Branch (952:29): [True: 0, False: 99.9k]
  ------------------
  953|      0|                            goto error;
  954|      0|                        }
  955|  99.9k|                        instr->i_target->b_exceptstack = copy;
  956|  99.9k|                    }
  957|  29.2k|                    else {
  958|  29.2k|                        instr->i_target->b_exceptstack = except_stack;
  959|  29.2k|                        except_stack = NULL;
  960|  29.2k|                    }
  961|   129k|                    todo[0] = instr->i_target;
  962|   129k|                    instr->i_target->b_visited = 1;
  963|   129k|                    todo++;
  964|   129k|                }
  965|   223k|            }
  966|  4.57M|            else if (instr->i_opcode == YIELD_VALUE) {
  ------------------
  |  |  129|  4.57M|#define YIELD_VALUE                            116
  ------------------
  |  Branch (966:22): [True: 35.6k, False: 4.53M]
  ------------------
  967|  35.6k|                instr->i_except = handler;
  968|  35.6k|                last_yield_except_depth = except_stack->depth;
  969|  35.6k|            }
  970|  4.53M|            else if (instr->i_opcode == RESUME) {
  ------------------
  |  |  130|  4.53M|#define RESUME                                 128
  ------------------
  |  Branch (970:22): [True: 111k, False: 4.42M]
  ------------------
  971|   111k|                instr->i_except = handler;
  972|   111k|                if (instr->i_oparg != RESUME_AT_FUNC_START && instr->i_oparg != RESUME_AT_GEN_EXPR_START) {
  ------------------
  |  |   88|   222k|#define RESUME_AT_FUNC_START 0
  ------------------
                              if (instr->i_oparg != RESUME_AT_FUNC_START && instr->i_oparg != RESUME_AT_GEN_EXPR_START) {
  ------------------
  |  |   92|  36.7k|#define RESUME_AT_GEN_EXPR_START 4
  ------------------
  |  Branch (972:21): [True: 36.7k, False: 74.3k]
  |  Branch (972:63): [True: 35.6k, False: 1.08k]
  ------------------
  973|  35.6k|                    assert(last_yield_except_depth >= 0);
  ------------------
  |  Branch (973:21): [True: 35.6k, False: 0]
  ------------------
  974|  35.6k|                    if (last_yield_except_depth == 1) {
  ------------------
  |  Branch (974:25): [True: 1.89k, False: 33.7k]
  ------------------
  975|  1.89k|                        instr->i_oparg |= RESUME_OPARG_DEPTH1_MASK;
  ------------------
  |  |   95|  1.89k|#define RESUME_OPARG_DEPTH1_MASK 0x8
  ------------------
  976|  1.89k|                    }
  977|  35.6k|                    last_yield_except_depth = -1;
  978|  35.6k|                }
  979|   111k|            }
  980|  4.42M|            else if (instr->i_opcode == RETURN_GENERATOR) {
  ------------------
  |  |   45|  4.42M|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (980:22): [True: 4.14k, False: 4.42M]
  ------------------
  981|  4.14k|                instr->i_except = NULL;
  982|  4.14k|            }
  983|  4.42M|            else {
  984|  4.42M|                instr->i_except = handler;
  985|  4.42M|            }
  986|  4.94M|        }
  987|   455k|        if (BB_HAS_FALLTHROUGH(b) && !b->b_next->b_visited) {
  ------------------
  |  |  253|   910k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 233k, False: 221k]
  |  |  ------------------
  ------------------
  |  Branch (987:38): [True: 177k, False: 56.7k]
  ------------------
  988|   177k|            assert(except_stack != NULL);
  ------------------
  |  Branch (988:13): [True: 177k, False: 0]
  ------------------
  989|   177k|            b->b_next->b_exceptstack = except_stack;
  990|   177k|            todo[0] = b->b_next;
  991|   177k|            b->b_next->b_visited = 1;
  992|   177k|            todo++;
  993|   177k|        }
  994|   278k|        else if (except_stack != NULL) {
  ------------------
  |  Branch (994:18): [True: 248k, False: 29.2k]
  ------------------
  995|   248k|           PyMem_Free(except_stack);
  996|   248k|        }
  997|   455k|    }
  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|  74.3k|    PyMem_Free(todo_stack);
 1004|  74.3k|    return SUCCESS;
  ------------------
  |  |   21|  74.3k|#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|  74.3k|}
flowgraph.c:make_cfg_traversal_stack:
  755|   524k|make_cfg_traversal_stack(basicblock *entryblock) {
  756|   524k|    int nblocks = 0;
  757|  4.43M|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (757:38): [True: 3.91M, False: 524k]
  ------------------
  758|  3.91M|        b->b_visited = 0;
  759|  3.91M|        nblocks++;
  760|  3.91M|    }
  761|   524k|    basicblock **stack = (basicblock **)PyMem_Malloc(sizeof(basicblock *) * nblocks);
  762|   524k|    if (!stack) {
  ------------------
  |  Branch (762:9): [True: 0, False: 524k]
  ------------------
  763|      0|        PyErr_NoMemory();
  764|      0|    }
  765|   524k|    return stack;
  766|   524k|}
flowgraph.c:make_except_stack:
  732|  74.3k|make_except_stack(void) {
  733|  74.3k|    struct _PyCfgExceptStack *new = PyMem_Malloc(sizeof(struct _PyCfgExceptStack));
  734|  74.3k|    if (new == NULL) {
  ------------------
  |  Branch (734:9): [True: 0, False: 74.3k]
  ------------------
  735|      0|        PyErr_NoMemory();
  736|      0|        return NULL;
  737|      0|    }
  738|  74.3k|    new->depth = 0;
  739|       |    new->handlers[0] = NULL;
  740|  74.3k|    return new;
  741|  74.3k|}
flowgraph.c:except_stack_top:
  727|   455k|except_stack_top(struct _PyCfgExceptStack *stack) {
  728|   455k|    return stack->handlers[stack->depth];
  729|   455k|}
flowgraph.c:copy_except_stack:
  744|   174k|copy_except_stack(struct _PyCfgExceptStack *stack) {
  745|   174k|    struct _PyCfgExceptStack *copy = PyMem_Malloc(sizeof(struct _PyCfgExceptStack));
  746|   174k|    if (copy == NULL) {
  ------------------
  |  Branch (746:9): [True: 0, False: 174k]
  ------------------
  747|      0|        PyErr_NoMemory();
  748|      0|        return NULL;
  749|      0|    }
  750|   174k|    memcpy(copy, stack, sizeof(struct _PyCfgExceptStack));
  751|   174k|    return copy;
  752|   174k|}
flowgraph.c:push_except_block:
  708|  74.4k|push_except_block(struct _PyCfgExceptStack *stack, cfg_instr *setup) {
  709|  74.4k|    assert(is_block_push(setup));
  ------------------
  |  Branch (709:5): [True: 74.4k, False: 0]
  ------------------
  710|  74.4k|    int opcode = setup->i_opcode;
  711|  74.4k|    basicblock * target = setup->i_target;
  712|  74.4k|    if (opcode == SETUP_WITH || opcode == SETUP_CLEANUP) {
  ------------------
  |  |  253|   148k|#define SETUP_WITH                             265
  ------------------
                  if (opcode == SETUP_WITH || opcode == SETUP_CLEANUP) {
  ------------------
  |  |  251|  63.5k|#define SETUP_CLEANUP                          263
  ------------------
  |  Branch (712:9): [True: 10.9k, False: 63.5k]
  |  Branch (712:33): [True: 20.7k, False: 42.8k]
  ------------------
  713|  31.6k|        target->b_preserve_lasti = 1;
  714|  31.6k|    }
  715|  74.4k|    assert(stack->depth <= CO_MAXBLOCKS);
  ------------------
  |  Branch (715:5): [True: 74.4k, False: 0]
  ------------------
  716|  74.4k|    stack->handlers[++stack->depth] = target;
  717|  74.4k|    return target;
  718|  74.4k|}
flowgraph.c:pop_except_block:
  721|  73.0k|pop_except_block(struct _PyCfgExceptStack *stack) {
  722|  73.0k|    assert(stack->depth > 0);
  ------------------
  |  Branch (722:5): [True: 73.0k, False: 0]
  ------------------
  723|  73.0k|    return stack->handlers[--stack->depth];
  724|  73.0k|}
flowgraph.c:is_jump:
  110|  18.8M|{
  111|  18.8M|    return OPCODE_HAS_JUMP(i->i_opcode);
  ------------------
  |  | 1065|  18.8M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1046|  18.8M|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  ------------------
  112|  18.8M|}
flowgraph.c:basicblock_nofallthrough:
  245|  5.20M|basicblock_nofallthrough(const basicblock *b) {
  246|  5.20M|    cfg_instr *last = basicblock_last_instr(b);
  247|  5.20M|    return (last &&
  ------------------
  |  Branch (247:13): [True: 4.97M, False: 230k]
  ------------------
  248|  4.97M|            (IS_SCOPE_EXIT_OPCODE(last->i_opcode) ||
  ------------------
  |  |   53|  9.95M|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|  9.95M|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 769k, False: 4.20M]
  |  |  ------------------
  |  |   54|  4.97M|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  113|  9.18M|#define RAISE_VARARGS                          100
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 238k, False: 3.96M]
  |  |  ------------------
  |  |   55|  9.95M|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  114|  3.96M|#define RERAISE                                101
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 429k, False: 3.53M]
  |  |  ------------------
  ------------------
  249|  3.53M|             IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)));
  ------------------
  |  |   40|  3.53M|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|  7.07M|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 186k, False: 3.35M]
  |  |  ------------------
  |  |   41|  3.53M|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|  6.88M|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 641k, False: 2.70M]
  |  |  ------------------
  |  |   42|  3.53M|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|  6.24M|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 2.70M]
  |  |  ------------------
  |  |   43|  3.53M|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|  6.24M|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 2.70M]
  |  |  ------------------
  |  |   44|  3.53M|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|  2.70M|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 2.70M]
  |  |  ------------------
  ------------------
  250|  5.20M|}
flowgraph.c:optimize_cfg:
 2675|  74.3k|{
 2676|  74.3k|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2676:5): [True: 74.3k, False: 0]
  ------------------
 2677|  74.3k|    RETURN_IF_ERROR(check_cfg(g));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2678|  74.3k|    RETURN_IF_ERROR(inline_small_or_no_lineno_blocks(g->g_entryblock));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2679|  74.3k|    RETURN_IF_ERROR(remove_unreachable(g->g_entryblock));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2680|  74.3k|    RETURN_IF_ERROR(resolve_line_numbers(g, firstlineno));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2681|  74.3k|    RETURN_IF_ERROR(optimize_load_const(const_cache, g, consts, consts_index));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2682|   588k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2682:43): [True: 513k, False: 74.3k]
  ------------------
 2683|   513k|        RETURN_IF_ERROR(optimize_basic_block(const_cache, b, consts, consts_index));
  ------------------
  |  |   25|   513k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 513k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2684|   513k|    }
 2685|  74.3k|    RETURN_IF_ERROR(remove_redundant_nops_and_pairs(g->g_entryblock));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2686|  74.3k|    RETURN_IF_ERROR(remove_unreachable(g->g_entryblock));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2687|  74.3k|    RETURN_IF_ERROR(remove_redundant_nops_and_jumps(g));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2688|  74.3k|    assert(no_redundant_jumps(g));
  ------------------
  |  Branch (2688:5): [True: 74.3k, False: 0]
  ------------------
 2689|  74.3k|    return SUCCESS;
  ------------------
  |  |   21|  74.3k|#define SUCCESS 0
  ------------------
 2690|  74.3k|}
flowgraph.c:check_cfg:
  619|  74.3k|check_cfg(cfg_builder *g) {
  620|   584k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (620:43): [True: 510k, False: 74.3k]
  ------------------
  621|       |        /* Raise SystemError if jump or exit is not last instruction in the block. */
  622|  5.57M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (622:25): [True: 5.06M, False: 510k]
  ------------------
  623|  5.06M|            int opcode = b->b_instr[i].i_opcode;
  624|  5.06M|            assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (624:13): [True: 0, False: 5.06M]
  |  Branch (624:13): [True: 0, False: 5.06M]
  |  Branch (624:13): [True: 0, False: 5.06M]
  ------------------
  625|  5.06M|            if (IS_TERMINATOR_OPCODE(opcode)) {
  ------------------
  |  |   27|  5.06M|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  10.1M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  5.06M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 226k, False: 4.83M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|  4.83M|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|  9.67M|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 125k, False: 4.71M]
  |  |  |  |  ------------------
  |  |  |  |   54|  4.83M|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|  9.54M|#define RAISE_VARARGS                          100
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 21.5k, False: 4.68M]
  |  |  |  |  ------------------
  |  |  |  |   55|  4.83M|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  114|  4.68M|#define RERAISE                                101
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 38.1k, False: 4.65M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  626|   411k|                if (i != b->b_iused - 1) {
  ------------------
  |  Branch (626:21): [True: 0, False: 411k]
  ------------------
  627|      0|                    PyErr_SetString(PyExc_SystemError, "malformed control flow graph.");
  628|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  629|      0|                }
  630|   411k|            }
  631|  5.06M|        }
  632|   510k|    }
  633|  74.3k|    return SUCCESS;
  ------------------
  |  |   21|  74.3k|#define SUCCESS 0
  ------------------
  634|  74.3k|}
flowgraph.c:inline_small_or_no_lineno_blocks:
 1266|  74.3k|inline_small_or_no_lineno_blocks(basicblock *entryblock) {
 1267|  74.3k|    bool changes;
 1268|  77.3k|    do {
 1269|  77.3k|        changes = false;
 1270|   905k|        for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1270:42): [True: 827k, False: 77.3k]
  ------------------
 1271|   827k|            int res = basicblock_inline_small_or_no_lineno_blocks(b);
 1272|   827k|            RETURN_IF_ERROR(res);
  ------------------
  |  |   25|   827k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 827k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1273|   827k|            if (res) {
  ------------------
  |  Branch (1273:17): [True: 12.7k, False: 814k]
  ------------------
 1274|  12.7k|                changes = true;
 1275|  12.7k|            }
 1276|   827k|        }
 1277|  77.3k|    } while(changes); /* every change removes a jump, ensuring convergence */
  ------------------
  |  Branch (1277:13): [True: 2.95k, False: 74.3k]
  ------------------
 1278|  74.3k|    return changes;
 1279|  74.3k|}
flowgraph.c:basicblock_inline_small_or_no_lineno_blocks:
 1232|   827k|basicblock_inline_small_or_no_lineno_blocks(basicblock *bb) {
 1233|   827k|    cfg_instr *last = basicblock_last_instr(bb);
 1234|   827k|    if (last == NULL) {
  ------------------
  |  Branch (1234:9): [True: 0, False: 827k]
  ------------------
 1235|      0|        return 0;
 1236|      0|    }
 1237|   827k|    if (!IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|   827k|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|  1.65M|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 32.9k, False: 794k]
  |  |  ------------------
  |  |   41|   827k|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|  1.62M|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 132k, False: 661k]
  |  |  ------------------
  |  |   42|   827k|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|  1.48M|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 661k]
  |  |  ------------------
  |  |   43|   827k|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|  1.48M|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 661k]
  |  |  ------------------
  |  |   44|   827k|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|   661k|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 661k]
  |  |  ------------------
  ------------------
 1238|   661k|        return 0;
 1239|   661k|    }
 1240|   165k|    basicblock *target = last->i_target;
 1241|   165k|    bool small_exit_block = (basicblock_exits_scope(target) &&
  ------------------
  |  Branch (1241:30): [True: 10.6k, False: 155k]
  ------------------
 1242|  10.6k|                             target->b_iused <= MAX_COPY_SIZE);
  ------------------
  |  | 1224|  10.6k|#define MAX_COPY_SIZE 4
  ------------------
  |  Branch (1242:30): [True: 7.64k, False: 3.01k]
  ------------------
 1243|   165k|    bool no_lineno_no_fallthrough = (basicblock_has_no_lineno(target) &&
  ------------------
  |  Branch (1243:38): [True: 15.6k, False: 150k]
  ------------------
 1244|  15.6k|                                     !BB_HAS_FALLTHROUGH(target));
  ------------------
  |  |  253|  15.6k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  ------------------
  |  Branch (1244:38): [True: 10.6k, False: 4.98k]
  ------------------
 1245|   165k|    if (small_exit_block || no_lineno_no_fallthrough) {
  ------------------
  |  Branch (1245:9): [True: 7.64k, False: 158k]
  |  Branch (1245:29): [True: 5.12k, False: 153k]
  ------------------
 1246|  12.7k|        assert(is_jump(last));
  ------------------
  |  Branch (1246:9): [True: 12.7k, False: 0]
  ------------------
 1247|  12.7k|        int removed_jump_opcode = last->i_opcode;
 1248|  12.7k|        INSTR_SET_OP0(last, NOP);
  ------------------
  |  |  125|  12.7k|    do { \
  |  |  126|  12.7k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  12.7k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  12.7k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  12.7k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  12.7k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 12.7k]
  |  |  ------------------
  ------------------
  |  Branch (1248:9): [True: 12.7k, False: 0]
  ------------------
 1249|  12.7k|        RETURN_IF_ERROR(basicblock_append_instructions(bb, target));
  ------------------
  |  |   25|  12.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 12.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1250|  12.7k|        if (no_lineno_no_fallthrough) {
  ------------------
  |  Branch (1250:13): [True: 10.6k, False: 2.12k]
  ------------------
 1251|  10.6k|            last = basicblock_last_instr(bb);
 1252|  10.6k|            if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode) &&
  ------------------
  |  |   40|  21.2k|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|  21.2k|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 60, False: 10.5k]
  |  |  ------------------
  |  |   41|  10.6k|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|  21.2k|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 5.01k, False: 5.56k]
  |  |  ------------------
  |  |   42|  10.6k|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|  16.2k|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 5.56k]
  |  |  ------------------
  |  |   43|  10.6k|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|  16.2k|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 5.56k]
  |  |  ------------------
  |  |   44|  21.2k|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|  5.56k|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 5.56k]
  |  |  ------------------
  ------------------
 1253|  5.07k|                removed_jump_opcode == JUMP)
  ------------------
  |  |  245|  5.07k|#define JUMP                                   257
  ------------------
  |  Branch (1253:17): [True: 238, False: 4.84k]
  ------------------
 1254|    238|            {
 1255|       |                /* Make sure we don't lose eval breaker checks */
 1256|    238|                last->i_opcode = JUMP;
  ------------------
  |  |  245|    238|#define JUMP                                   257
  ------------------
 1257|    238|            }
 1258|  10.6k|        }
 1259|  12.7k|        target->b_predecessors--;
 1260|  12.7k|        return 1;
 1261|  12.7k|    }
 1262|   153k|    return 0;
 1263|   165k|}
flowgraph.c:basicblock_exits_scope:
  355|  1.05M|basicblock_exits_scope(const basicblock *b) {
  356|  1.05M|    cfg_instr *last = basicblock_last_instr(b);
  357|  1.05M|    return last && IS_SCOPE_EXIT_OPCODE(last->i_opcode);
  ------------------
  |  |   53|  1.05M|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|  2.10M|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 72.4k, False: 977k]
  |  |  ------------------
  |  |   54|  1.05M|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  113|  2.02M|#define RAISE_VARARGS                          100
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 48.7k, False: 929k]
  |  |  ------------------
  |  |   55|  1.05M|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  114|   929k|#define RERAISE                                101
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 30.9k, False: 898k]
  |  |  ------------------
  ------------------
  |  Branch (357:12): [True: 1.05M, False: 3.31k]
  ------------------
  358|  1.05M|}
flowgraph.c:basicblock_has_no_lineno:
 1214|   523k|basicblock_has_no_lineno(basicblock *b) {
 1215|   615k|    for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1215:21): [True: 579k, False: 36.0k]
  ------------------
 1216|   579k|        if (b->b_instr[i].i_loc.lineno >= 0) {
  ------------------
  |  Branch (1216:13): [True: 487k, False: 92.4k]
  ------------------
 1217|   487k|            return false;
 1218|   487k|        }
 1219|   579k|    }
 1220|  36.0k|    return true;
 1221|   523k|}
flowgraph.c:basicblock_append_instructions:
  233|  15.8k|{
  234|  49.9k|    for (int i = 0; i < from->b_iused; i++) {
  ------------------
  |  Branch (234:21): [True: 34.0k, False: 15.8k]
  ------------------
  235|  34.0k|        int n = basicblock_next_instr(to);
  236|  34.0k|        if (n < 0) {
  ------------------
  |  Branch (236:13): [True: 0, False: 34.0k]
  ------------------
  237|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  238|      0|        }
  239|  34.0k|        to->b_instr[n] = from->b_instr[i];
  240|  34.0k|    }
  241|  15.8k|    return SUCCESS;
  ------------------
  |  |   21|  15.8k|#define SUCCESS 0
  ------------------
  242|  15.8k|}
flowgraph.c:remove_unreachable:
 1014|   148k|remove_unreachable(basicblock *entryblock) {
 1015|  1.17M|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1015:38): [True: 1.02M, False: 148k]
  ------------------
 1016|  1.02M|        b->b_predecessors = 0;
 1017|  1.02M|    }
 1018|   148k|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 1019|   148k|    if (stack == NULL) {
  ------------------
  |  Branch (1019:9): [True: 0, False: 148k]
  ------------------
 1020|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1021|      0|    }
 1022|   148k|    basicblock **sp = stack;
 1023|   148k|    entryblock->b_predecessors = 1;
 1024|   148k|    *sp++ = entryblock;
 1025|   148k|    entryblock->b_visited = 1;
 1026|  1.04M|    while (sp > stack) {
  ------------------
  |  Branch (1026:12): [True: 894k, False: 148k]
  ------------------
 1027|   894k|        basicblock *b = *(--sp);
 1028|   894k|        if (b->b_next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  253|   849k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 457k, False: 392k]
  |  |  ------------------
  ------------------
  |  Branch (1028:13): [True: 849k, False: 44.8k]
  ------------------
 1029|   457k|            if (!b->b_next->b_visited) {
  ------------------
  |  Branch (1029:17): [True: 366k, False: 90.4k]
  ------------------
 1030|   366k|                assert(b->b_next->b_predecessors == 0);
  ------------------
  |  Branch (1030:17): [True: 366k, False: 0]
  ------------------
 1031|   366k|                *sp++ = b->b_next;
 1032|   366k|                b->b_next->b_visited = 1;
 1033|   366k|            }
 1034|   457k|            b->b_next->b_predecessors++;
 1035|   457k|        }
 1036|  9.47M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1036:25): [True: 8.58M, False: 894k]
  ------------------
 1037|  8.58M|            basicblock *target;
 1038|  8.58M|            cfg_instr *instr = &b->b_instr[i];
 1039|  8.58M|            if (is_jump(instr) || is_block_push(instr)) {
  ------------------
  |  Branch (1039:17): [True: 420k, False: 8.16M]
  |  Branch (1039:35): [True: 148k, False: 8.01M]
  ------------------
 1040|   569k|                target = instr->i_target;
 1041|   569k|                if (!target->b_visited) {
  ------------------
  |  Branch (1041:21): [True: 378k, False: 190k]
  ------------------
 1042|   378k|                    *sp++ = target;
 1043|   378k|                    target->b_visited = 1;
 1044|   378k|                }
 1045|   569k|                target->b_predecessors++;
 1046|   569k|            }
 1047|  8.58M|        }
 1048|   894k|    }
 1049|   148k|    PyMem_Free(stack);
 1050|       |
 1051|       |    /* Delete unreachable instructions */
 1052|  1.17M|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1052:38): [True: 1.02M, False: 148k]
  ------------------
 1053|  1.02M|       if (b->b_predecessors == 0) {
  ------------------
  |  Branch (1053:12): [True: 129k, False: 894k]
  ------------------
 1054|   129k|            b->b_iused = 0;
 1055|   129k|            b->b_except_handler = 0;
 1056|   129k|       }
 1057|  1.02M|    }
 1058|   148k|    return SUCCESS;
  ------------------
  |  |   21|   148k|#define SUCCESS 0
  ------------------
 1059|   148k|}
flowgraph.c:optimize_load_const:
 2419|  74.3k|                    _Py_hashtable_t *consts_index) {
 2420|   588k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2420:43): [True: 513k, False: 74.3k]
  ------------------
 2421|   513k|        RETURN_IF_ERROR(basicblock_optimize_load_const(const_cache, b, consts, consts_index));
  ------------------
  |  |   25|   513k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 513k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2422|   513k|    }
 2423|  74.3k|    return SUCCESS;
  ------------------
  |  |   21|  74.3k|#define SUCCESS 0
  ------------------
 2424|  74.3k|}
flowgraph.c:basicblock_optimize_load_const:
 2276|   513k|{
 2277|   513k|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2277:5): [True: 513k, False: 0]
  ------------------
 2278|   513k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (2278:5): [True: 513k, False: 0]
  ------------------
 2279|   513k|    int opcode = 0;
 2280|   513k|    int oparg = 0;
 2281|  5.48M|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2281:21): [True: 4.97M, False: 513k]
  ------------------
 2282|  4.97M|        cfg_instr *inst = &bb->b_instr[i];
 2283|  4.97M|        if (inst->i_opcode == LOAD_CONST) {
  ------------------
  |  |   91|  4.97M|#define LOAD_CONST                              78
  ------------------
  |  Branch (2283:13): [True: 1.15M, False: 3.81M]
  ------------------
 2284|  1.15M|            PyObject *constant = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 2285|  1.15M|            if (constant == NULL) {
  ------------------
  |  Branch (2285:17): [True: 0, False: 1.15M]
  ------------------
 2286|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2287|      0|            }
 2288|  1.15M|            int res = maybe_instr_make_load_smallint(inst, constant, consts, const_cache);
 2289|  1.15M|            Py_DECREF(constant);
  ------------------
  |  |  430|  1.15M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.15M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2290|  1.15M|            if (res < 0) {
  ------------------
  |  Branch (2290:17): [True: 0, False: 1.15M]
  ------------------
 2291|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2292|      0|            }
 2293|  1.15M|        }
 2294|  4.97M|        bool is_copy_of_load_const = (opcode == LOAD_CONST &&
  ------------------
  |  |   91|  9.94M|#define LOAD_CONST                              78
  ------------------
  |  Branch (2294:39): [True: 673k, False: 4.29M]
  ------------------
 2295|   673k|                                      inst->i_opcode == COPY &&
  ------------------
  |  |   70|  5.64M|#define COPY                                    57
  ------------------
  |  Branch (2295:39): [True: 921, False: 672k]
  ------------------
 2296|    921|                                      inst->i_oparg == 1);
  ------------------
  |  Branch (2296:39): [True: 178, False: 743]
  ------------------
 2297|  4.97M|        if (! is_copy_of_load_const) {
  ------------------
  |  Branch (2297:13): [True: 4.97M, False: 178]
  ------------------
 2298|  4.97M|            opcode = inst->i_opcode;
 2299|  4.97M|            oparg = inst->i_oparg;
 2300|  4.97M|        }
 2301|  4.97M|        assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (2301:9): [True: 0, False: 4.97M]
  |  Branch (2301:9): [True: 0, False: 4.97M]
  |  Branch (2301:9): [True: 0, False: 4.97M]
  ------------------
 2302|  4.97M|        if (!loads_const(opcode)) {
  ------------------
  |  Branch (2302:13): [True: 3.78M, False: 1.18M]
  ------------------
 2303|  3.78M|            continue;
 2304|  3.78M|        }
 2305|  1.18M|        int nextop = i+1 < bb->b_iused ? bb->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2305:22): [True: 1.18M, False: 505]
  ------------------
 2306|  1.18M|        switch(nextop) {
  ------------------
  |  Branch (2306:16): [True: 10.2k, False: 1.17M]
  ------------------
 2307|  2.02k|            case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|  2.02k|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2307:13): [True: 2.02k, False: 1.18M]
  ------------------
 2308|  3.45k|            case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|  3.45k|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2308:13): [True: 1.43k, False: 1.18M]
  ------------------
 2309|  4.03k|            case JUMP_IF_FALSE:
  ------------------
  |  |  246|  4.03k|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2309:13): [True: 572, False: 1.18M]
  ------------------
 2310|  4.94k|            case JUMP_IF_TRUE:
  ------------------
  |  |  247|  4.94k|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2310:13): [True: 917, False: 1.18M]
  ------------------
 2311|  4.94k|            {
 2312|       |                /* Remove LOAD_CONST const; conditional jump */
 2313|  4.94k|                PyObject* cnt = get_const_value(opcode, oparg, consts);
 2314|  4.94k|                if (cnt == NULL) {
  ------------------
  |  Branch (2314:21): [True: 0, False: 4.94k]
  ------------------
 2315|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2316|      0|                }
 2317|  4.94k|                int is_true = PyObject_IsTrue(cnt);
 2318|  4.94k|                Py_DECREF(cnt);
  ------------------
  |  |  430|  4.94k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2319|  4.94k|                if (is_true == -1) {
  ------------------
  |  Branch (2319:21): [True: 0, False: 4.94k]
  ------------------
 2320|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2321|      0|                }
 2322|  4.94k|                if (PyCompile_OpcodeStackEffect(nextop, 0) == -1) {
  ------------------
  |  Branch (2322:21): [True: 3.45k, False: 1.48k]
  ------------------
 2323|       |                    /* POP_JUMP_IF_FALSE or POP_JUMP_IF_TRUE */
 2324|  3.45k|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|  3.45k|    do { \
  |  |  126|  3.45k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  3.45k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  3.45k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  3.45k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  3.45k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 3.45k]
  |  |  ------------------
  ------------------
  |  Branch (2324:21): [True: 3.45k, False: 0]
  ------------------
 2325|  3.45k|                }
 2326|  4.94k|                int jump_if_true = (nextop == POP_JUMP_IF_TRUE || nextop == JUMP_IF_TRUE);
  ------------------
  |  |  112|  9.89k|#define POP_JUMP_IF_TRUE                        99
  ------------------
                              int jump_if_true = (nextop == POP_JUMP_IF_TRUE || nextop == JUMP_IF_TRUE);
  ------------------
  |  |  247|  3.50k|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2326:37): [True: 1.43k, False: 3.50k]
  |  Branch (2326:67): [True: 917, False: 2.59k]
  ------------------
 2327|  4.94k|                if (is_true == jump_if_true) {
  ------------------
  |  Branch (2327:21): [True: 3.12k, False: 1.82k]
  ------------------
 2328|  3.12k|                    bb->b_instr[i+1].i_opcode = JUMP;
  ------------------
  |  |  245|  3.12k|#define JUMP                                   257
  ------------------
 2329|  3.12k|                }
 2330|  1.82k|                else {
 2331|  1.82k|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|  1.82k|    do { \
  |  |  126|  1.82k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  1.82k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  1.82k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  1.82k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  1.82k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 1.82k]
  |  |  ------------------
  ------------------
  |  Branch (2331:21): [True: 1.82k, False: 0]
  ------------------
 2332|  1.82k|                }
 2333|  4.94k|                break;
 2334|  4.94k|            }
 2335|  4.94k|            case IS_OP:
  ------------------
  |  |   83|  1.58k|#define IS_OP                                   70
  ------------------
  |  Branch (2335:13): [True: 1.58k, False: 1.18M]
  ------------------
 2336|  1.58k|            {
 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|  1.58k|                PyObject *cnt = get_const_value(opcode, oparg, consts);
 2348|  1.58k|                if (cnt == NULL) {
  ------------------
  |  Branch (2348:21): [True: 0, False: 1.58k]
  ------------------
 2349|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2350|      0|                }
 2351|  1.58k|                if (!Py_IsNone(cnt)) {
  ------------------
  |  |  621|  1.58k|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|  1.58k|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  ------------------
  |  Branch (2351:21): [True: 1.06k, False: 520]
  ------------------
 2352|  1.06k|                    Py_DECREF(cnt);
  ------------------
  |  |  430|  1.06k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2353|  1.06k|                    break;
 2354|  1.06k|                }
 2355|    520|                if (bb->b_iused <= i + 2) {
  ------------------
  |  Branch (2355:21): [True: 0, False: 520]
  ------------------
 2356|      0|                    break;
 2357|      0|                }
 2358|    520|                cfg_instr *is_instr = &bb->b_instr[i + 1];
 2359|    520|                cfg_instr *jump_instr = &bb->b_instr[i + 2];
 2360|       |                // Get rid of TO_BOOL regardless:
 2361|    520|                if (jump_instr->i_opcode == TO_BOOL) {
  ------------------
  |  |   50|    520|#define TO_BOOL                                 37
  ------------------
  |  Branch (2361:21): [True: 10, False: 510]
  ------------------
 2362|     10|                    INSTR_SET_OP0(jump_instr, NOP);
  ------------------
  |  |  125|     10|    do { \
  |  |  126|     10|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|     10|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|     10|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|     10|        _instr__ptr_->i_oparg = 0; \
  |  |  130|     10|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
  |  Branch (2362:21): [True: 10, False: 0]
  ------------------
 2363|     10|                    if (bb->b_iused <= i + 3) {
  ------------------
  |  Branch (2363:25): [True: 0, False: 10]
  ------------------
 2364|      0|                        break;
 2365|      0|                    }
 2366|     10|                    jump_instr = &bb->b_instr[i + 3];
 2367|     10|                }
 2368|    520|                bool invert = is_instr->i_oparg;
 2369|    520|                if (jump_instr->i_opcode == POP_JUMP_IF_FALSE) {
  ------------------
  |  |  109|    520|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2369:21): [True: 503, False: 17]
  ------------------
 2370|    503|                    invert = !invert;
 2371|    503|                }
 2372|     17|                else if (jump_instr->i_opcode != POP_JUMP_IF_TRUE) {
  ------------------
  |  |  112|     17|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2372:26): [True: 17, False: 0]
  ------------------
 2373|     17|                    break;
 2374|     17|                }
 2375|    503|                INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|    503|    do { \
  |  |  126|    503|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|    503|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|    503|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|    503|        _instr__ptr_->i_oparg = 0; \
  |  |  130|    503|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 503]
  |  |  ------------------
  ------------------
  |  Branch (2375:17): [True: 503, False: 0]
  ------------------
 2376|    503|                INSTR_SET_OP0(is_instr, NOP);
  ------------------
  |  |  125|    503|    do { \
  |  |  126|    503|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|    503|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|    503|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|    503|        _instr__ptr_->i_oparg = 0; \
  |  |  130|    503|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 503]
  |  |  ------------------
  ------------------
  |  Branch (2376:17): [True: 503, False: 0]
  ------------------
 2377|    503|                jump_instr->i_opcode = invert ? POP_JUMP_IF_NOT_NONE
  ------------------
  |  |  111|      1|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (2377:40): [True: 1, False: 502]
  ------------------
 2378|    503|                                              : POP_JUMP_IF_NONE;
  ------------------
  |  |  110|  1.00k|#define POP_JUMP_IF_NONE                        97
  ------------------
 2379|    503|                break;
 2380|    503|            }
 2381|  3.67k|            case TO_BOOL:
  ------------------
  |  |   50|  3.67k|#define TO_BOOL                                 37
  ------------------
  |  Branch (2381:13): [True: 3.67k, False: 1.17M]
  ------------------
 2382|  3.67k|            {
 2383|  3.67k|                PyObject *cnt = get_const_value(opcode, oparg, consts);
 2384|  3.67k|                if (cnt == NULL) {
  ------------------
  |  Branch (2384:21): [True: 0, False: 3.67k]
  ------------------
 2385|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2386|      0|                }
 2387|  3.67k|                int is_true = PyObject_IsTrue(cnt);
 2388|  3.67k|                Py_DECREF(cnt);
  ------------------
  |  |  430|  3.67k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2389|  3.67k|                if (is_true == -1) {
  ------------------
  |  Branch (2389:21): [True: 0, False: 3.67k]
  ------------------
 2390|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2391|      0|                }
 2392|  3.67k|                cnt = PyBool_FromLong(is_true);
 2393|  3.67k|                int index = add_const(cnt, consts, const_cache, consts_index);
 2394|  3.67k|                if (index < 0) {
  ------------------
  |  Branch (2394:21): [True: 0, False: 3.67k]
  ------------------
 2395|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2396|      0|                }
 2397|  3.67k|                INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|  3.67k|    do { \
  |  |  126|  3.67k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  3.67k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  3.67k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  3.67k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  3.67k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 3.67k]
  |  |  ------------------
  ------------------
  |  Branch (2397:17): [True: 3.67k, False: 0]
  ------------------
 2398|  3.67k|                INSTR_SET_OP1(&bb->b_instr[i + 1], LOAD_CONST, index);
  ------------------
  |  |  116|  3.67k|    do { \
  |  |  117|  3.67k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  3.67k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  3.67k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|  3.67k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  3.67k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 3.67k]
  |  |  ------------------
  ------------------
  |  Branch (2398:17): [True: 3.67k, False: 0]
  ------------------
 2399|  3.67k|                break;
 2400|  3.67k|            }
 2401|  1.18M|        }
 2402|  1.18M|        if (inst->i_opcode == LOAD_CONST) {
  ------------------
  |  |   91|  1.18M|#define LOAD_CONST                              78
  ------------------
  |  Branch (2402:13): [True: 668k, False: 513k]
  ------------------
 2403|   668k|            PyObject *constant = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 2404|   668k|            if (constant == NULL) {
  ------------------
  |  Branch (2404:17): [True: 0, False: 668k]
  ------------------
 2405|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2406|      0|            }
 2407|   668k|            int res = maybe_instr_make_load_common_const(inst, constant);
 2408|   668k|            Py_DECREF(constant);
  ------------------
  |  |  430|   668k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   668k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   668k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2409|   668k|            if (res < 0) {
  ------------------
  |  Branch (2409:17): [True: 0, False: 668k]
  ------------------
 2410|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2411|      0|            }
 2412|   668k|        }
 2413|  1.18M|    }
 2414|   513k|    return SUCCESS;
  ------------------
  |  |   21|   513k|#define SUCCESS 0
  ------------------
 2415|   513k|}
flowgraph.c:get_const_value:
 1319|  3.07M|{
 1320|  3.07M|    PyObject *constant = NULL;
 1321|  3.07M|    assert(loads_const(opcode));
  ------------------
  |  Branch (1321:5): [True: 3.07M, False: 0]
  ------------------
 1322|  3.07M|    if (opcode == LOAD_CONST) {
  ------------------
  |  |   91|  3.07M|#define LOAD_CONST                              78
  ------------------
  |  Branch (1322:9): [True: 2.62M, False: 447k]
  ------------------
 1323|  2.62M|        assert(PyList_Check(co_consts));
  ------------------
  |  Branch (1323:9): [True: 2.62M, False: 0]
  ------------------
 1324|  2.62M|        Py_ssize_t n = PyList_GET_SIZE(co_consts);
  ------------------
  |  |   38|  2.62M|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.62M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.62M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1325|  2.62M|        if (oparg < 0 || oparg >= n) {
  ------------------
  |  Branch (1325:13): [True: 0, False: 2.62M]
  |  Branch (1325:26): [True: 0, False: 2.62M]
  ------------------
 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.62M|        constant = PyList_GET_ITEM(co_consts, oparg);
  ------------------
  |  |   40|  2.62M|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  2.62M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.62M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1331:20): [True: 2.62M, False: 0]
  ------------------
 1332|  2.62M|    }
 1333|  3.07M|    if (opcode == LOAD_SMALL_INT) {
  ------------------
  |  |  103|  3.07M|#define LOAD_SMALL_INT                          90
  ------------------
  |  Branch (1333:9): [True: 409k, False: 2.66M]
  ------------------
 1334|   409k|        return PyLong_FromLong(oparg);
 1335|   409k|    }
 1336|  2.66M|    if (opcode == LOAD_COMMON_CONSTANT) {
  ------------------
  |  |   90|  2.66M|#define LOAD_COMMON_CONSTANT                    77
  ------------------
  |  Branch (1336:9): [True: 38.1k, False: 2.62M]
  ------------------
 1337|  38.1k|        assert(oparg < NUM_COMMON_CONSTANTS);
  ------------------
  |  Branch (1337:9): [True: 38.1k, False: 0]
  ------------------
 1338|  38.1k|        return PyStackRef_AsPyObjectBorrow(
 1339|  38.1k|            _PyInterpreterState_GET()->common_consts[oparg]);
 1340|  38.1k|    }
 1341|       |
 1342|  2.62M|    if (constant == NULL) {
  ------------------
  |  Branch (1342:9): [True: 0, False: 2.62M]
  ------------------
 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.62M|    return Py_NewRef(constant);
  ------------------
  |  |  647|  2.62M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.62M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.62M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1348|  2.62M|}
flowgraph.c:maybe_instr_make_load_smallint:
 1439|  1.80M|{
 1440|  1.80M|    if (PyLong_CheckExact(newconst)) {
  ------------------
  |  |   14|  1.80M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  1.80M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.80M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.80M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 991k, False: 812k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1441|   991k|        int overflow;
 1442|   991k|        long val = PyLong_AsLongAndOverflow(newconst, &overflow);
 1443|   991k|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1443:13): [True: 88.0k, False: 903k]
  |  Branch (1443:26): [True: 0, False: 88.0k]
  ------------------
 1444|      0|            return -1;
 1445|      0|        }
 1446|   991k|        if (!overflow && _PY_IS_SMALL_INT(val) && 0 <= val && val <= 255) {
  ------------------
  |  |   68|  1.91M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  ------------------
  |  |  |  |   98|   925k|#define _PY_NSMALLNEGINTS           5
  |  |  ------------------
  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  ------------------
  |  |  |  |   97|   835k|#define _PY_NSMALLPOSINTS           1025
  |  |  ------------------
  |  |  |  Branch (68:6): [True: 835k, False: 90.6k]
  |  |  |  Branch (68:37): [True: 621k, False: 213k]
  |  |  ------------------
  ------------------
  |  Branch (1446:13): [True: 925k, False: 65.7k]
  |  Branch (1446:51): [True: 578k, False: 42.9k]
  |  Branch (1446:63): [True: 544k, False: 33.7k]
  ------------------
 1447|   544k|            assert(_Py_IsImmortal(newconst));
  ------------------
  |  Branch (1447:13): [True: 544k, False: 0]
  ------------------
 1448|   544k|            INSTR_SET_OP1(instr, LOAD_SMALL_INT, (int)val);
  ------------------
  |  |  116|   544k|    do { \
  |  |  117|   544k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|   544k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|   544k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|   544k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|   544k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 544k]
  |  |  ------------------
  ------------------
  |  Branch (1448:13): [True: 544k, False: 0]
  ------------------
 1449|   544k|            return 1;
 1450|   544k|        }
 1451|   991k|    }
 1452|  1.25M|    return 0;
 1453|  1.80M|}
flowgraph.c:loads_const:
 1310|  11.2M|{
 1311|  11.2M|    return OPCODE_HAS_CONST(opcode)
  ------------------
  |  | 1063|  22.4M|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1044|  11.2M|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1063:30): [True: 4.94M, False: 6.27M]
  |  |  ------------------
  ------------------
 1312|  6.27M|        || opcode == LOAD_SMALL_INT
  ------------------
  |  |  103|  17.4M|#define LOAD_SMALL_INT                          90
  ------------------
  |  Branch (1312:12): [True: 1.75M, False: 4.52M]
  ------------------
 1313|  4.52M|        || opcode == LOAD_COMMON_CONSTANT;
  ------------------
  |  |   90|  4.52M|#define LOAD_COMMON_CONSTANT                    77
  ------------------
  |  Branch (1313:12): [True: 142k, False: 4.38M]
  ------------------
 1314|  11.2M|}
flowgraph.c:add_const:
 1354|   555k|{
 1355|   555k|    if (_PyCompile_ConstCacheMergeOne(const_cache, &newconst) < 0) {
  ------------------
  |  Branch (1355:9): [True: 0, False: 555k]
  ------------------
 1356|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1357|      0|        return -1;
 1358|      0|    }
 1359|       |
 1360|   555k|    _Py_hashtable_entry_t *entry = _Py_hashtable_get_entry(consts_index, (void *)newconst);
 1361|   555k|    if (entry != NULL) {
  ------------------
  |  Branch (1361:9): [True: 399k, False: 155k]
  ------------------
 1362|   399k|        Py_DECREF(newconst);
  ------------------
  |  |  430|   399k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   399k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   399k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1363|   399k|        return (int)(uintptr_t)entry->value;
 1364|   399k|    }
 1365|       |
 1366|   155k|    Py_ssize_t index = PyList_GET_SIZE(consts);
  ------------------
  |  |   38|   155k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   155k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   155k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1367|   155k|    if ((size_t)index >= (size_t)INT_MAX - 1) {
  ------------------
  |  Branch (1367:9): [True: 0, False: 155k]
  ------------------
 1368|      0|        PyErr_SetString(PyExc_OverflowError, "too many constants");
 1369|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1370|      0|        return -1;
 1371|      0|    }
 1372|   155k|    if (PyList_Append(consts, newconst)) {
  ------------------
  |  Branch (1372:9): [True: 0, False: 155k]
  ------------------
 1373|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1374|      0|        return -1;
 1375|      0|    }
 1376|       |
 1377|   155k|    if (_Py_hashtable_set(consts_index, (void *)newconst, (void *)(uintptr_t)index) < 0) {
  ------------------
  |  Branch (1377:9): [True: 0, False: 155k]
  ------------------
 1378|      0|        PyList_SetSlice(consts, index, index + 1, NULL);
 1379|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1380|      0|        PyErr_NoMemory();
 1381|      0|        return -1;
 1382|      0|    }
 1383|       |
 1384|   155k|    Py_DECREF(newconst);
  ------------------
  |  |  430|   155k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   155k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   155k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1385|   155k|    return (int)index;
 1386|   155k|}
flowgraph.c:maybe_instr_make_load_common_const:
 1462|  1.25M|{
 1463|  1.25M|    int oparg;
 1464|  1.25M|    if (newconst == Py_None) {
  ------------------
  |  |  616|  1.25M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1464:9): [True: 98.3k, False: 1.15M]
  ------------------
 1465|  98.3k|        oparg = CONSTANT_NONE;
  ------------------
  |  |   78|  98.3k|#define CONSTANT_NONE 7
  ------------------
 1466|  98.3k|    }
 1467|  1.15M|    else if (newconst == Py_True) {
  ------------------
  |  |   26|  1.15M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  1.15M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1467:14): [True: 5.72k, False: 1.15M]
  ------------------
 1468|  5.72k|        oparg = CONSTANT_TRUE;
  ------------------
  |  |   80|  5.72k|#define CONSTANT_TRUE 9
  ------------------
 1469|  5.72k|    }
 1470|  1.15M|    else if (newconst == Py_False) {
  ------------------
  |  |   25|  1.15M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  1.15M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1470:14): [True: 2.36k, False: 1.14M]
  ------------------
 1471|  2.36k|        oparg = CONSTANT_FALSE;
  ------------------
  |  |   81|  2.36k|#define CONSTANT_FALSE 10
  ------------------
 1472|  2.36k|    }
 1473|  1.14M|    else if (PyUnicode_CheckExact(newconst)
  ------------------
  |  |  104|  1.14M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.29M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 131k, False: 1.01M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1474|   131k|             && PyUnicode_GET_LENGTH(newconst) == 0) {
  ------------------
  |  |  300|   131k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   131k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   131k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1474:17): [True: 12.8k, False: 119k]
  ------------------
 1475|  12.8k|        oparg = CONSTANT_EMPTY_STR;
  ------------------
  |  |   79|  12.8k|#define CONSTANT_EMPTY_STR 8
  ------------------
 1476|  12.8k|    }
 1477|  1.13M|    else if (PyTuple_CheckExact(newconst)
  ------------------
  |  |   28|  1.13M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  2.27M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 129k, False: 1.00M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|   129k|             && PyTuple_GET_SIZE(newconst) == 0) {
  ------------------
  |  |   27|   129k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   129k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1478:17): [True: 27.5k, False: 101k]
  ------------------
 1479|  27.5k|        oparg = CONSTANT_EMPTY_TUPLE;
  ------------------
  |  |   84|  27.5k|#define CONSTANT_EMPTY_TUPLE 13
  ------------------
 1480|  27.5k|    }
 1481|  1.10M|    else if (PyLong_CheckExact(newconst)) {
  ------------------
  |  |   14|  1.10M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  1.10M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 446k, False: 661k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1482|   446k|        int overflow;
 1483|   446k|        long val = PyLong_AsLongAndOverflow(newconst, &overflow);
 1484|   446k|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1484:13): [True: 88.0k, False: 358k]
  |  Branch (1484:26): [True: 0, False: 88.0k]
  ------------------
 1485|      0|            return -1;
 1486|      0|        }
 1487|   446k|        if (overflow || val != -1) {
  ------------------
  |  Branch (1487:13): [True: 65.7k, False: 380k]
  |  Branch (1487:25): [True: 358k, False: 22.2k]
  ------------------
 1488|   424k|            return 0;
 1489|   424k|        }
 1490|  22.2k|        oparg = CONSTANT_MINUS_ONE;
  ------------------
  |  |   82|  22.2k|#define CONSTANT_MINUS_ONE 11
  ------------------
 1491|  22.2k|    }
 1492|   661k|    else {
 1493|   661k|        return 0;
 1494|   661k|    }
 1495|  1.25M|    assert(_Py_IsImmortal(newconst));
  ------------------
  |  Branch (1495:5): [True: 169k, False: 0]
  ------------------
 1496|   169k|    INSTR_SET_OP1(instr, LOAD_COMMON_CONSTANT, oparg);
  ------------------
  |  |  116|   169k|    do { \
  |  |  117|   169k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|   169k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|   169k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|   169k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|   169k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 169k]
  |  |  ------------------
  ------------------
  |  Branch (1496:5): [True: 169k, False: 0]
  ------------------
 1497|   169k|    return 1;
 1498|   169k|}
flowgraph.c:optimize_basic_block:
 2429|   513k|{
 2430|   513k|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2430:5): [True: 513k, False: 0]
  ------------------
 2431|   513k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (2431:5): [True: 513k, False: 0]
  ------------------
 2432|   513k|    cfg_instr nop;
 2433|   513k|    INSTR_SET_OP0(&nop, NOP);
  ------------------
  |  |  125|   513k|    do { \
  |  |  126|   513k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|   513k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|   513k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|   513k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|   513k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 513k]
  |  |  ------------------
  ------------------
  |  Branch (2433:5): [True: 513k, False: 0]
  ------------------
 2434|  5.49M|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2434:21): [True: 4.97M, False: 513k]
  ------------------
 2435|  4.97M|        cfg_instr *inst = &bb->b_instr[i];
 2436|  4.97M|        cfg_instr *target;
 2437|  4.97M|        int opcode = inst->i_opcode;
 2438|  4.97M|        int oparg = inst->i_oparg;
 2439|  4.97M|        if (HAS_TARGET(opcode)) {
  ------------------
  |  |   23|  4.97M|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  9.95M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  4.97M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 216k, False: 4.76M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  4.76M|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  9.52M|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 42.8k, False: 4.71M]
  |  |  |  |  ------------------
  |  |  |  |   19|  4.76M|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.48M|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 10.9k, False: 4.70M]
  |  |  |  |  ------------------
  |  |  |  |   20|  4.76M|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.70M|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 20.7k, False: 4.68M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2440|   290k|            assert(inst->i_target->b_iused > 0);
  ------------------
  |  Branch (2440:13): [True: 290k, False: 0]
  ------------------
 2441|   290k|            target = &inst->i_target->b_instr[0];
 2442|   290k|            assert(!IS_ASSEMBLER_OPCODE(target->i_opcode));
  ------------------
  |  Branch (2442:13): [True: 0, False: 290k]
  |  Branch (2442:13): [True: 0, False: 290k]
  |  Branch (2442:13): [True: 0, False: 290k]
  ------------------
 2443|   290k|        }
 2444|  4.68M|        else {
 2445|  4.68M|            target = &nop;
 2446|  4.68M|        }
 2447|  4.97M|        int nextop = i+1 < bb->b_iused ? bb->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2447:22): [True: 4.51M, False: 458k]
  ------------------
 2448|  4.97M|        assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (2448:9): [True: 0, False: 4.97M]
  |  Branch (2448:9): [True: 0, False: 4.97M]
  |  Branch (2448:9): [True: 0, False: 4.97M]
  ------------------
 2449|  4.97M|        switch (opcode) {
  ------------------
  |  Branch (2449:17): [True: 1.80M, False: 3.17M]
  ------------------
 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|  98.5k|            case BUILD_TUPLE:
  ------------------
  |  |   62|  98.5k|#define BUILD_TUPLE                             49
  ------------------
  |  Branch (2454:13): [True: 98.5k, False: 4.87M]
  ------------------
 2455|  98.5k|                if (nextop == UNPACK_SEQUENCE && oparg == bb->b_instr[i+1].i_oparg) {
  ------------------
  |  |  128|   197k|#define UNPACK_SEQUENCE                        115
  ------------------
  |  Branch (2455:21): [True: 775, False: 97.7k]
  |  Branch (2455:50): [True: 401, False: 374]
  ------------------
 2456|    401|                    switch(oparg) {
  ------------------
  |  Branch (2456:28): [True: 352, False: 49]
  ------------------
 2457|     56|                        case 1:
  ------------------
  |  Branch (2457:25): [True: 56, False: 345]
  ------------------
 2458|     56|                            INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|     56|    do { \
  |  |  126|     56|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|     56|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|     56|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|     56|        _instr__ptr_->i_oparg = 0; \
  |  |  130|     56|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
  |  Branch (2458:29): [True: 56, False: 0]
  ------------------
 2459|     56|                            INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|     56|    do { \
  |  |  126|     56|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|     56|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|     56|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|     56|        _instr__ptr_->i_oparg = 0; \
  |  |  130|     56|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
  |  Branch (2459:29): [True: 56, False: 0]
  ------------------
 2460|     56|                            continue;
 2461|     67|                        case 2:
  ------------------
  |  Branch (2461:25): [True: 67, False: 334]
  ------------------
 2462|    296|                        case 3:
  ------------------
  |  Branch (2462:25): [True: 229, False: 172]
  ------------------
 2463|    296|                            INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|    296|    do { \
  |  |  126|    296|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|    296|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|    296|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|    296|        _instr__ptr_->i_oparg = 0; \
  |  |  130|    296|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 296]
  |  |  ------------------
  ------------------
  |  Branch (2463:29): [True: 296, False: 0]
  ------------------
 2464|    296|                            bb->b_instr[i+1].i_opcode = SWAP;
  ------------------
  |  |  126|    296|#define SWAP                                   113
  ------------------
 2465|    296|                            continue;
 2466|    401|                    }
 2467|    401|                }
 2468|  98.1k|                RETURN_IF_ERROR(fold_tuple_of_constants(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|  98.1k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 98.1k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2469|  98.1k|                break;
 2470|  11.5k|            case BUILD_LIST:
  ------------------
  |  |   57|  11.5k|#define BUILD_LIST                              44
  ------------------
  |  Branch (2470:13): [True: 11.5k, False: 4.96M]
  ------------------
 2471|  24.5k|            case BUILD_SET:
  ------------------
  |  |   59|  24.5k|#define BUILD_SET                               46
  ------------------
  |  Branch (2471:13): [True: 12.9k, False: 4.96M]
  ------------------
 2472|  24.5k|                RETURN_IF_ERROR(optimize_lists_and_sets(bb, i, nextop, consts, const_cache, consts_index));
  ------------------
  |  |   25|  24.5k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 24.5k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2473|  24.5k|                break;
 2474|    529|            case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  111|    529|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (2474:13): [True: 529, False: 4.97M]
  ------------------
 2475|  1.92k|            case POP_JUMP_IF_NONE:
  ------------------
  |  |  110|  1.92k|#define POP_JUMP_IF_NONE                        97
  ------------------
  |  Branch (2475:13): [True: 1.39k, False: 4.97M]
  ------------------
 2476|  1.92k|                switch (target->i_opcode) {
  ------------------
  |  Branch (2476:25): [True: 0, False: 1.92k]
  ------------------
 2477|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2477:21): [True: 0, False: 1.92k]
  ------------------
 2478|      0|                        i -= jump_thread(bb, inst, target, inst->i_opcode);
 2479|  1.92k|                }
 2480|  1.92k|                break;
 2481|  74.5k|            case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|  74.5k|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2481:13): [True: 74.5k, False: 4.90M]
  ------------------
 2482|  74.5k|                switch (target->i_opcode) {
  ------------------
  |  Branch (2482:25): [True: 961, False: 73.5k]
  ------------------
 2483|    961|                    case JUMP:
  ------------------
  |  |  245|    961|#define JUMP                                   257
  ------------------
  |  Branch (2483:21): [True: 961, False: 73.5k]
  ------------------
 2484|    961|                        i -= jump_thread(bb, inst, target, POP_JUMP_IF_FALSE);
  ------------------
  |  |  109|    961|#define POP_JUMP_IF_FALSE                       96
  ------------------
 2485|  74.5k|                }
 2486|  74.5k|                break;
 2487|  74.5k|            case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|  12.7k|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2487:13): [True: 12.7k, False: 4.96M]
  ------------------
 2488|  12.7k|                switch (target->i_opcode) {
  ------------------
  |  Branch (2488:25): [True: 35, False: 12.7k]
  ------------------
 2489|     35|                    case JUMP:
  ------------------
  |  |  245|     35|#define JUMP                                   257
  ------------------
  |  Branch (2489:21): [True: 35, False: 12.7k]
  ------------------
 2490|     35|                        i -= jump_thread(bb, inst, target, POP_JUMP_IF_TRUE);
  ------------------
  |  |  112|     35|#define POP_JUMP_IF_TRUE                        99
  ------------------
 2491|  12.7k|                }
 2492|  12.7k|                break;
 2493|  12.7k|            case JUMP_IF_FALSE:
  ------------------
  |  |  246|  2.39k|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2493:13): [True: 2.39k, False: 4.97M]
  ------------------
 2494|  2.39k|                switch (target->i_opcode) {
  ------------------
  |  Branch (2494:25): [True: 405, False: 1.99k]
  ------------------
 2495|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2495:21): [True: 0, False: 2.39k]
  ------------------
 2496|      1|                    case JUMP_IF_FALSE:
  ------------------
  |  |  246|      1|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2496:21): [True: 1, False: 2.39k]
  ------------------
 2497|      1|                        i -= jump_thread(bb, inst, target, JUMP_IF_FALSE);
  ------------------
  |  |  246|      1|#define JUMP_IF_FALSE                          258
  ------------------
 2498|      1|                        continue;
 2499|    404|                    case JUMP_IF_TRUE:
  ------------------
  |  |  247|    404|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2499:21): [True: 404, False: 1.99k]
  ------------------
 2500|       |                        // No need to check for loops here, a block's b_next
 2501|       |                        // cannot point to itself.
 2502|    404|                        assert(inst->i_target != inst->i_target->b_next);
  ------------------
  |  Branch (2502:25): [True: 404, False: 0]
  ------------------
 2503|    404|                        inst->i_target = inst->i_target->b_next;
 2504|    404|                        i--;
 2505|    404|                        continue;
 2506|  2.39k|                }
 2507|  1.99k|                break;
 2508|  2.33k|            case JUMP_IF_TRUE:
  ------------------
  |  |  247|  2.33k|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2508:13): [True: 2.33k, False: 4.97M]
  ------------------
 2509|  2.33k|                switch (target->i_opcode) {
  ------------------
  |  Branch (2509:25): [True: 992, False: 1.34k]
  ------------------
 2510|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2510:21): [True: 0, False: 2.33k]
  ------------------
 2511|    983|                    case JUMP_IF_TRUE:
  ------------------
  |  |  247|    983|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2511:21): [True: 983, False: 1.35k]
  ------------------
 2512|    983|                        i -= jump_thread(bb, inst, target, JUMP_IF_TRUE);
  ------------------
  |  |  247|    983|#define JUMP_IF_TRUE                           259
  ------------------
 2513|    983|                        continue;
 2514|      9|                    case JUMP_IF_FALSE:
  ------------------
  |  |  246|      9|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2514:21): [True: 9, False: 2.32k]
  ------------------
 2515|       |                        // No need to check for loops here, a block's b_next
 2516|       |                        // cannot point to itself.
 2517|      9|                        assert(inst->i_target != inst->i_target->b_next);
  ------------------
  |  Branch (2517:25): [True: 9, False: 0]
  ------------------
 2518|      9|                        inst->i_target = inst->i_target->b_next;
 2519|      9|                        i--;
 2520|      9|                        continue;
 2521|  2.33k|                }
 2522|  1.34k|                break;
 2523|  21.9k|            case JUMP:
  ------------------
  |  |  245|  21.9k|#define JUMP                                   257
  ------------------
  |  Branch (2523:13): [True: 21.9k, False: 4.95M]
  ------------------
 2524|  82.8k|            case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|  82.8k|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (2524:13): [True: 60.8k, False: 4.91M]
  ------------------
 2525|  82.8k|                switch (target->i_opcode) {
  ------------------
  |  Branch (2525:25): [True: 660, False: 82.1k]
  ------------------
 2526|    471|                    case JUMP:
  ------------------
  |  |  245|    471|#define JUMP                                   257
  ------------------
  |  Branch (2526:21): [True: 471, False: 82.3k]
  ------------------
 2527|    471|                        i -= jump_thread(bb, inst, target, JUMP);
  ------------------
  |  |  245|    471|#define JUMP                                   257
  ------------------
 2528|    471|                        continue;
 2529|    189|                    case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|    189|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (2529:21): [True: 189, False: 82.6k]
  ------------------
 2530|    189|                        i -= jump_thread(bb, inst, target, opcode);
 2531|    189|                        continue;
 2532|  82.8k|                }
 2533|  82.1k|                break;
 2534|  82.1k|            case FOR_ITER:
  ------------------
  |  |   78|  4.11k|#define FOR_ITER                                65
  ------------------
  |  Branch (2534:13): [True: 4.11k, False: 4.97M]
  ------------------
 2535|  4.11k|                if (target->i_opcode == JUMP) {
  ------------------
  |  |  245|  4.11k|#define JUMP                                   257
  ------------------
  |  Branch (2535:21): [True: 0, False: 4.11k]
  ------------------
 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|  4.11k|                break;
 2546|   121k|            case STORE_FAST:
  ------------------
  |  |  121|   121k|#define STORE_FAST                             108
  ------------------
  |  Branch (2546:13): [True: 121k, False: 4.85M]
  ------------------
 2547|   121k|                if (opcode == nextop &&
  ------------------
  |  Branch (2547:21): [True: 53.0k, False: 68.0k]
  ------------------
 2548|  53.0k|                    oparg == bb->b_instr[i+1].i_oparg &&
  ------------------
  |  Branch (2548:21): [True: 577, False: 52.4k]
  ------------------
 2549|    577|                    bb->b_instr[i].i_loc.lineno == bb->b_instr[i+1].i_loc.lineno) {
  ------------------
  |  Branch (2549:21): [True: 475, False: 102]
  ------------------
 2550|    475|                    bb->b_instr[i].i_opcode = POP_TOP;
  ------------------
  |  |   42|    475|#define POP_TOP                                 29
  ------------------
 2551|    475|                    bb->b_instr[i].i_oparg = 0;
 2552|    475|                }
 2553|   121k|                break;
 2554|  95.6k|            case SWAP:
  ------------------
  |  |  126|  95.6k|#define SWAP                                   113
  ------------------
  |  Branch (2554:13): [True: 95.6k, False: 4.88M]
  ------------------
 2555|  95.6k|                if (oparg == 1) {
  ------------------
  |  Branch (2555:21): [True: 0, False: 95.6k]
  ------------------
 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|  95.6k|                break;
 2559|   106k|            case LOAD_GLOBAL:
  ------------------
  |  |  101|   106k|#define LOAD_GLOBAL                             88
  ------------------
  |  Branch (2559:13): [True: 106k, False: 4.87M]
  ------------------
 2560|   106k|                if (nextop == PUSH_NULL && (oparg & 1) == 0) {
  ------------------
  |  |   44|   212k|#define PUSH_NULL                               31
  ------------------
  |  Branch (2560:21): [True: 1.61k, False: 104k]
  |  Branch (2560:44): [True: 1.61k, False: 0]
  ------------------
 2561|  1.61k|                    INSTR_SET_OP1(inst, LOAD_GLOBAL, oparg | 1);
  ------------------
  |  |  116|  1.61k|    do { \
  |  |  117|  1.61k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  1.61k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  1.61k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|  1.61k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  1.61k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 1.61k]
  |  |  ------------------
  ------------------
  |  Branch (2561:21): [True: 1.61k, False: 0]
  ------------------
 2562|  1.61k|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|  1.61k|    do { \
  |  |  126|  1.61k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  1.61k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  1.61k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  1.61k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  1.61k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 1.61k]
  |  |  ------------------
  ------------------
  |  Branch (2562:21): [True: 1.61k, False: 0]
  ------------------
 2563|  1.61k|                }
 2564|   106k|                break;
 2565|   106k|            case COMPARE_OP:
  ------------------
  |  |   67|  93.9k|#define COMPARE_OP                              54
  ------------------
  |  Branch (2565:13): [True: 93.9k, False: 4.88M]
  ------------------
 2566|  93.9k|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|  93.9k|#define TO_BOOL                                 37
  ------------------
  |  Branch (2566:21): [True: 25.3k, False: 68.5k]
  ------------------
 2567|  25.3k|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|  25.3k|    do { \
  |  |  126|  25.3k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  25.3k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  25.3k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  25.3k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  25.3k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 25.3k]
  |  |  ------------------
  ------------------
  |  Branch (2567:21): [True: 25.3k, False: 0]
  ------------------
 2568|  25.3k|                    INSTR_SET_OP1(&bb->b_instr[i + 1], COMPARE_OP, oparg | 16);
  ------------------
  |  |  116|  25.3k|    do { \
  |  |  117|  25.3k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  25.3k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  25.3k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|  25.3k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  25.3k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 25.3k]
  |  |  ------------------
  ------------------
  |  Branch (2568:21): [True: 25.3k, False: 0]
  ------------------
 2569|  25.3k|                    continue;
 2570|  25.3k|                }
 2571|  68.5k|                break;
 2572|  68.5k|            case CONTAINS_OP:
  ------------------
  |  |   68|  12.1k|#define CONTAINS_OP                             55
  ------------------
  |  Branch (2572:13): [True: 12.1k, False: 4.96M]
  ------------------
 2573|  18.2k|            case IS_OP:
  ------------------
  |  |   83|  18.2k|#define IS_OP                                   70
  ------------------
  |  Branch (2573:13): [True: 6.10k, False: 4.97M]
  ------------------
 2574|  18.2k|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|  18.2k|#define TO_BOOL                                 37
  ------------------
  |  Branch (2574:21): [True: 1.64k, False: 16.6k]
  ------------------
 2575|  1.64k|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|  1.64k|    do { \
  |  |  126|  1.64k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  1.64k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  1.64k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  1.64k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  1.64k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 1.64k]
  |  |  ------------------
  ------------------
  |  Branch (2575:21): [True: 1.64k, False: 0]
  ------------------
 2576|  1.64k|                    INSTR_SET_OP1(&bb->b_instr[i + 1], opcode, oparg);
  ------------------
  |  |  116|  1.64k|    do { \
  |  |  117|  1.64k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  1.64k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  1.64k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|  1.64k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  1.64k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 1.64k]
  |  |  ------------------
  ------------------
  |  Branch (2576:21): [True: 1.64k, False: 0]
  ------------------
 2577|  1.64k|                    continue;
 2578|  1.64k|                }
 2579|  16.6k|                if (nextop == UNARY_NOT) {
  ------------------
  |  |   53|  16.6k|#define UNARY_NOT                               40
  ------------------
  |  Branch (2579:21): [True: 734, False: 15.8k]
  ------------------
 2580|    734|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|    734|    do { \
  |  |  126|    734|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|    734|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|    734|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|    734|        _instr__ptr_->i_oparg = 0; \
  |  |  130|    734|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 734]
  |  |  ------------------
  ------------------
  |  Branch (2580:21): [True: 734, False: 0]
  ------------------
 2581|    734|                    int inverted = oparg ^ 1;
 2582|    734|                    assert(inverted == 0 || inverted == 1);
  ------------------
  |  Branch (2582:21): [True: 334, False: 400]
  |  Branch (2582:21): [True: 400, False: 0]
  ------------------
 2583|    734|                    INSTR_SET_OP1(&bb->b_instr[i + 1], opcode, inverted);
  ------------------
  |  |  116|    734|    do { \
  |  |  117|    734|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|    734|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|    734|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|    734|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|    734|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 734]
  |  |  ------------------
  ------------------
  |  Branch (2583:21): [True: 734, False: 0]
  ------------------
 2584|    734|                    continue;
 2585|    734|                }
 2586|  15.8k|                break;
 2587|  48.5k|            case TO_BOOL:
  ------------------
  |  |   50|  48.5k|#define TO_BOOL                                 37
  ------------------
  |  Branch (2587:13): [True: 48.5k, False: 4.92M]
  ------------------
 2588|  48.5k|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|  48.5k|#define TO_BOOL                                 37
  ------------------
  |  Branch (2588:21): [True: 0, False: 48.5k]
  ------------------
 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|  48.5k|                break;
 2593|  48.5k|            case UNARY_NOT:
  ------------------
  |  |   53|    930|#define UNARY_NOT                               40
  ------------------
  |  Branch (2593:13): [True: 930, False: 4.97M]
  ------------------
 2594|    930|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|    930|#define TO_BOOL                                 37
  ------------------
  |  Branch (2594:21): [True: 135, False: 795]
  ------------------
 2595|    135|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|    135|    do { \
  |  |  126|    135|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|    135|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|    135|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|    135|        _instr__ptr_->i_oparg = 0; \
  |  |  130|    135|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 135]
  |  |  ------------------
  ------------------
  |  Branch (2595:21): [True: 135, False: 0]
  ------------------
 2596|    135|                    INSTR_SET_OP0(&bb->b_instr[i + 1], UNARY_NOT);
  ------------------
  |  |  125|    135|    do { \
  |  |  126|    135|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|    135|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|    135|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|    135|        _instr__ptr_->i_oparg = 0; \
  |  |  130|    135|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 135]
  |  |  ------------------
  ------------------
  |  Branch (2596:21): [True: 135, False: 0]
  ------------------
 2597|    135|                    continue;
 2598|    135|                }
 2599|    795|                if (nextop == UNARY_NOT) {
  ------------------
  |  |   53|    795|#define UNARY_NOT                               40
  ------------------
  |  Branch (2599:21): [True: 135, False: 660]
  ------------------
 2600|    135|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|    135|    do { \
  |  |  126|    135|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|    135|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|    135|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|    135|        _instr__ptr_->i_oparg = 0; \
  |  |  130|    135|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 135]
  |  |  ------------------
  ------------------
  |  Branch (2600:21): [True: 135, False: 0]
  ------------------
 2601|    135|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|    135|    do { \
  |  |  126|    135|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|    135|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|    135|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|    135|        _instr__ptr_->i_oparg = 0; \
  |  |  130|    135|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 135]
  |  |  ------------------
  ------------------
  |  Branch (2601:21): [True: 135, False: 0]
  ------------------
 2602|    135|                    continue;
 2603|    135|                }
 2604|    660|                _Py_FALLTHROUGH;
  ------------------
  |  |  667|    660|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 2605|  10.3k|            case UNARY_INVERT:
  ------------------
  |  |   51|  10.3k|#define UNARY_INVERT                            38
  ------------------
  |  Branch (2605:13): [True: 9.72k, False: 4.96M]
  ------------------
 2606|   196k|            case UNARY_NEGATIVE:
  ------------------
  |  |   52|   196k|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (2606:13): [True: 186k, False: 4.79M]
  ------------------
 2607|   196k|                RETURN_IF_ERROR(fold_const_unaryop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|   196k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 196k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2608|   196k|                break;
 2609|  77.9k|            case CALL_INTRINSIC_1:
  ------------------
  |  |   64|  77.9k|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (2609:13): [True: 77.9k, False: 4.90M]
  ------------------
 2610|  77.9k|                if (oparg == INTRINSIC_LIST_TO_TUPLE) {
  ------------------
  |  |   15|  77.9k|#define INTRINSIC_LIST_TO_TUPLE                  6
  ------------------
  |  Branch (2610:21): [True: 5.38k, False: 72.5k]
  ------------------
 2611|  5.38k|                    RETURN_IF_ERROR(fold_constant_seq_into_load_const(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|  5.38k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 5.38k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2612|  5.38k|                    if (inst->i_opcode == CALL_INTRINSIC_1 && nextop == GET_ITER) {
  ------------------
  |  |   64|  10.7k|#define CALL_INTRINSIC_1                        51
  ------------------
                                  if (inst->i_opcode == CALL_INTRINSIC_1 && nextop == GET_ITER) {
  ------------------
  |  |   80|  5.27k|#define GET_ITER                                67
  ------------------
  |  Branch (2612:25): [True: 5.27k, False: 116]
  |  Branch (2612:63): [True: 63, False: 5.20k]
  ------------------
 2613|     63|                        INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|     63|    do { \
  |  |  126|     63|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|     63|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|     63|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|     63|        _instr__ptr_->i_oparg = 0; \
  |  |  130|     63|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 63]
  |  |  ------------------
  ------------------
  |  Branch (2613:25): [True: 63, False: 0]
  ------------------
 2614|     63|                    }
 2615|  5.38k|                }
 2616|  72.5k|                else if (oparg == INTRINSIC_UNARY_POSITIVE) {
  ------------------
  |  |   14|  72.5k|#define INTRINSIC_UNARY_POSITIVE                 5
  ------------------
  |  Branch (2616:26): [True: 45.7k, False: 26.8k]
  ------------------
 2617|  45.7k|                    RETURN_IF_ERROR(fold_const_unaryop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|  45.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 45.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2618|  45.7k|                }
 2619|  77.9k|                break;
 2620|  77.9k|            case LIST_APPEND:
  ------------------
  |  |   87|  50.8k|#define LIST_APPEND                             74
  ------------------
  |  Branch (2620:13): [True: 50.8k, False: 4.92M]
  ------------------
 2621|  58.3k|            case SET_ADD:
  ------------------
  |  |  116|  58.3k|#define SET_ADD                                103
  ------------------
  |  Branch (2621:13): [True: 7.52k, False: 4.97M]
  ------------------
 2622|  58.3k|                if (oparg == 1 && (nextop == GET_ITER || nextop == CONTAINS_OP)) {
  ------------------
  |  |   80|   109k|#define GET_ITER                                67
  ------------------
                              if (oparg == 1 && (nextop == GET_ITER || nextop == CONTAINS_OP)) {
  ------------------
  |  |   68|  54.9k|#define CONTAINS_OP                             55
  ------------------
  |  Branch (2622:21): [True: 54.9k, False: 3.37k]
  |  Branch (2622:36): [True: 1, False: 54.9k]
  |  Branch (2622:58): [True: 178, False: 54.8k]
  ------------------
 2623|    179|                    RETURN_IF_ERROR(fold_constant_seq_into_load_const(
  ------------------
  |  |   25|    179|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 179]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2624|    179|                        bb, i, consts, const_cache, consts_index));
 2625|    179|                }
 2626|  58.3k|                break;
 2627|   678k|            case BINARY_OP:
  ------------------
  |  |   55|   678k|#define BINARY_OP                               42
  ------------------
  |  Branch (2627:13): [True: 678k, False: 4.29M]
  ------------------
 2628|   678k|                RETURN_IF_ERROR(fold_const_binop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|   678k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 678k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2629|   678k|                break;
 2630|  4.97M|        }
 2631|  4.97M|    }
 2632|       |
 2633|  5.46M|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2633:21): [True: 4.95M, False: 513k]
  ------------------
 2634|  4.95M|        cfg_instr *inst = &bb->b_instr[i];
 2635|  4.95M|        if (inst->i_opcode == SWAP) {
  ------------------
  |  |  126|  4.95M|#define SWAP                                   113
  ------------------
  |  Branch (2635:13): [True: 74.2k, False: 4.87M]
  ------------------
 2636|  74.2k|            if (swaptimize(bb, &i) < 0) {
  ------------------
  |  Branch (2636:17): [True: 0, False: 74.2k]
  ------------------
 2637|      0|                goto error;
 2638|      0|            }
 2639|  74.2k|            apply_static_swaps(bb, i);
 2640|  74.2k|        }
 2641|  4.95M|    }
 2642|   513k|    return SUCCESS;
  ------------------
  |  |   21|   513k|#define SUCCESS 0
  ------------------
 2643|      0|error:
 2644|      0|    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2645|   513k|}
flowgraph.c:fold_tuple_of_constants:
 1537|  98.1k|{
 1538|       |    /* Pre-conditions */
 1539|  98.1k|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (1539:5): [True: 98.1k, False: 0]
  ------------------
 1540|  98.1k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (1540:5): [True: 98.1k, False: 0]
  ------------------
 1541|       |
 1542|  98.1k|    cfg_instr *instr = &bb->b_instr[i];
 1543|  98.1k|    assert(instr->i_opcode == BUILD_TUPLE);
  ------------------
  |  Branch (1543:5): [True: 98.1k, False: 0]
  ------------------
 1544|       |
 1545|  98.1k|    int seq_size = instr->i_oparg;
 1546|  98.1k|    if (seq_size > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|  98.1k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (1546:9): [True: 14, False: 98.1k]
  ------------------
 1547|     14|        return SUCCESS;
  ------------------
  |  |   21|     14|#define SUCCESS 0
  ------------------
 1548|     14|    }
 1549|       |
 1550|  98.1k|    cfg_instr *const_instrs[_PY_STACK_USE_GUIDELINE];
 1551|  98.1k|    if (!get_const_loading_instrs(bb, i-1, const_instrs, seq_size)) {
  ------------------
  |  Branch (1551:9): [True: 51.9k, False: 46.2k]
  ------------------
 1552|       |        /* not a const sequence */
 1553|  51.9k|        return SUCCESS;
  ------------------
  |  |   21|  51.9k|#define SUCCESS 0
  ------------------
 1554|  51.9k|    }
 1555|       |
 1556|  46.2k|    PyObject *const_tuple = PyTuple_New((Py_ssize_t)seq_size);
 1557|  46.2k|    if (const_tuple == NULL) {
  ------------------
  |  Branch (1557:9): [True: 0, False: 46.2k]
  ------------------
 1558|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1559|      0|    }
 1560|       |
 1561|   114k|    for (int i = 0; i < seq_size; i++) {
  ------------------
  |  Branch (1561:21): [True: 68.1k, False: 46.2k]
  ------------------
 1562|  68.1k|        cfg_instr *inst = const_instrs[i];
 1563|  68.1k|        assert(loads_const(inst->i_opcode));
  ------------------
  |  Branch (1563:9): [True: 68.1k, False: 0]
  ------------------
 1564|  68.1k|        PyObject *element = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 1565|  68.1k|        if (element == NULL) {
  ------------------
  |  Branch (1565:13): [True: 0, False: 68.1k]
  ------------------
 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|  68.1k|        PyTuple_SET_ITEM(const_tuple, i, element);
  ------------------
  |  |   40|  68.1k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  68.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  68.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  68.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  68.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1570|  68.1k|    }
 1571|       |
 1572|  46.2k|    nop_out(const_instrs, seq_size);
 1573|  46.2k|    return instr_make_load_const(instr, const_tuple, consts, const_cache, consts_index);
 1574|  46.2k|}
flowgraph.c:get_const_loading_instrs:
 1397|  1.02M|{
 1398|  1.02M|    assert(start < bb->b_iused);
  ------------------
  |  Branch (1398:5): [True: 1.02M, False: 0]
  ------------------
 1399|  1.02M|    assert(size >= 0);
  ------------------
  |  Branch (1399:5): [True: 1.02M, False: 0]
  ------------------
 1400|  1.02M|    assert(size <= _PY_STACK_USE_GUIDELINE);
  ------------------
  |  Branch (1400:5): [True: 1.02M, False: 0]
  ------------------
 1401|       |
 1402|  3.26M|    for (; start >= 0 && size > 0; start--) {
  ------------------
  |  Branch (1402:12): [True: 3.26M, False: 6.67k]
  |  Branch (1402:26): [True: 2.56M, False: 692k]
  ------------------
 1403|  2.56M|        cfg_instr *instr = &bb->b_instr[start];
 1404|  2.56M|        if (instr->i_opcode == NOP) {
  ------------------
  |  |   38|  2.56M|#define NOP                                     25
  ------------------
  |  Branch (1404:13): [True: 918k, False: 1.65M]
  ------------------
 1405|   918k|            continue;
 1406|   918k|        }
 1407|  1.65M|        if (!loads_const(instr->i_opcode)) {
  ------------------
  |  Branch (1407:13): [True: 326k, False: 1.32M]
  ------------------
 1408|   326k|            return false;
 1409|   326k|        }
 1410|  1.32M|        instrs[--size] = instr;
 1411|  1.32M|    }
 1412|       |
 1413|   699k|    return size == 0;
 1414|  1.02M|}
flowgraph.c:nop_out:
 1422|   668k|{
 1423|  1.81M|    for (int i = 0; i < size; i++) {
  ------------------
  |  Branch (1423:21): [True: 1.14M, False: 668k]
  ------------------
 1424|  1.14M|        cfg_instr *instr = instrs[i];
 1425|  1.14M|        assert(instr->i_opcode != NOP);
  ------------------
  |  Branch (1425:9): [True: 1.14M, False: 0]
  ------------------
 1426|  1.14M|        INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|  1.14M|    do { \
  |  |  126|  1.14M|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  1.14M|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  1.14M|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  1.14M|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  1.14M|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 1.14M]
  |  |  ------------------
  ------------------
  |  Branch (1426:9): [True: 1.14M, False: 0]
  ------------------
 1427|  1.14M|        INSTR_SET_LOC(instr, NO_LOCATION);
  ------------------
  |  |  133|  1.14M|    do { \
  |  |  134|  1.14M|        cfg_instr *_instr__ptr_ = (I); \
  |  |  135|  1.14M|        _instr__ptr_->i_loc = (LOC); \
  |  |  136|  1.14M|    } while (0);
  |  |  ------------------
  |  |  |  Branch (136:14): [Folded, False: 1.14M]
  |  |  ------------------
  ------------------
 1428|  1.14M|    }
 1429|   668k|}
flowgraph.c:instr_make_load_const:
 1505|   644k|{
 1506|   644k|    int res = maybe_instr_make_load_smallint(instr, newconst, consts, const_cache);
 1507|   644k|    if (res < 0) {
  ------------------
  |  Branch (1507:9): [True: 0, False: 644k]
  ------------------
 1508|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1509|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1510|      0|    }
 1511|   644k|    if (res > 0) {
  ------------------
  |  Branch (1511:9): [True: 58.3k, False: 586k]
  ------------------
 1512|  58.3k|        return SUCCESS;
  ------------------
  |  |   21|  58.3k|#define SUCCESS 0
  ------------------
 1513|  58.3k|    }
 1514|   586k|    res = maybe_instr_make_load_common_const(instr, newconst);
 1515|   586k|    if (res < 0) {
  ------------------
  |  Branch (1515:9): [True: 0, False: 586k]
  ------------------
 1516|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1517|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1518|      0|    }
 1519|   586k|    if (res > 0) {
  ------------------
  |  Branch (1519:9): [True: 39.1k, False: 546k]
  ------------------
 1520|  39.1k|        return SUCCESS;
  ------------------
  |  |   21|  39.1k|#define SUCCESS 0
  ------------------
 1521|  39.1k|    }
 1522|   546k|    int oparg = add_const(newconst, consts, const_cache, consts_index);
 1523|   546k|    RETURN_IF_ERROR(oparg);
  ------------------
  |  |   25|   546k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 546k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1524|   546k|    INSTR_SET_OP1(instr, LOAD_CONST, oparg);
  ------------------
  |  |  116|   546k|    do { \
  |  |  117|   546k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|   546k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|   546k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|   546k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|   546k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 546k]
  |  |  ------------------
  ------------------
  |  Branch (1524:5): [True: 546k, False: 0]
  ------------------
 1525|   546k|    return SUCCESS;
  ------------------
  |  |   21|   546k|#define SUCCESS 0
  ------------------
 1526|   546k|}
flowgraph.c:optimize_lists_and_sets:
 1706|  24.5k|{
 1707|  24.5k|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (1707:5): [True: 24.5k, False: 0]
  ------------------
 1708|  24.5k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (1708:5): [True: 24.5k, False: 0]
  ------------------
 1709|       |
 1710|  24.5k|    cfg_instr *instr = &bb->b_instr[i];
 1711|  24.5k|    assert(instr->i_opcode == BUILD_LIST || instr->i_opcode == BUILD_SET);
  ------------------
  |  Branch (1711:5): [True: 11.5k, False: 12.9k]
  |  Branch (1711:5): [True: 12.9k, False: 0]
  ------------------
 1712|       |
 1713|  24.5k|    bool contains_or_iter = nextop == GET_ITER || nextop == CONTAINS_OP;
  ------------------
  |  |   80|  49.0k|#define GET_ITER                                67
  ------------------
                  bool contains_or_iter = nextop == GET_ITER || nextop == CONTAINS_OP;
  ------------------
  |  |   68|  49.0k|#define CONTAINS_OP                             55
  ------------------
  |  Branch (1713:29): [True: 12, False: 24.5k]
  |  Branch (1713:51): [True: 425, False: 24.0k]
  ------------------
 1714|  24.5k|    int seq_size = instr->i_oparg;
 1715|  24.5k|    if (seq_size > _PY_STACK_USE_GUIDELINE ||
  ------------------
  |  |   24|  49.0k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (1715:9): [True: 0, False: 24.5k]
  ------------------
 1716|  24.5k|        (seq_size < MIN_CONST_SEQUENCE_SIZE && !contains_or_iter))
  ------------------
  |  | 1690|  49.0k|#define MIN_CONST_SEQUENCE_SIZE 3
  ------------------
  |  Branch (1716:10): [True: 18.9k, False: 5.59k]
  |  Branch (1716:48): [True: 18.5k, False: 400]
  ------------------
 1717|  18.5k|    {
 1718|  18.5k|        return SUCCESS;
  ------------------
  |  |   21|  18.5k|#define SUCCESS 0
  ------------------
 1719|  18.5k|    }
 1720|       |
 1721|  5.99k|    cfg_instr *const_instrs[_PY_STACK_USE_GUIDELINE];
 1722|  5.99k|    if (!get_const_loading_instrs(bb, i-1, const_instrs, seq_size)) {  /* not a const sequence */
  ------------------
  |  Branch (1722:9): [True: 1.07k, False: 4.91k]
  ------------------
 1723|  1.07k|        if (contains_or_iter && instr->i_opcode == BUILD_LIST) {
  ------------------
  |  |   57|    201|#define BUILD_LIST                              44
  ------------------
  |  Branch (1723:13): [True: 201, False: 870]
  |  Branch (1723:33): [True: 27, False: 174]
  ------------------
 1724|       |            /* iterate over a tuple instead of list */
 1725|     27|            INSTR_SET_OP1(instr, BUILD_TUPLE, instr->i_oparg);
  ------------------
  |  |  116|     27|    do { \
  |  |  117|     27|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|     27|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|     27|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|     27|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|     27|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
  |  Branch (1725:13): [True: 27, False: 0]
  ------------------
 1726|     27|        }
 1727|  1.07k|        return SUCCESS;
  ------------------
  |  |   21|  1.07k|#define SUCCESS 0
  ------------------
 1728|  1.07k|    }
 1729|       |
 1730|  4.91k|    PyObject *const_result = PyTuple_New((Py_ssize_t)seq_size);
 1731|  4.91k|    if (const_result == NULL) {
  ------------------
  |  Branch (1731:9): [True: 0, False: 4.91k]
  ------------------
 1732|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1733|      0|    }
 1734|       |
 1735|  36.7k|    for (int i = 0; i < seq_size; i++) {
  ------------------
  |  Branch (1735:21): [True: 31.8k, False: 4.91k]
  ------------------
 1736|  31.8k|        cfg_instr *inst = const_instrs[i];
 1737|  31.8k|        assert(loads_const(inst->i_opcode));
  ------------------
  |  Branch (1737:9): [True: 31.8k, False: 0]
  ------------------
 1738|  31.8k|        PyObject *element = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 1739|  31.8k|        if (element == NULL) {
  ------------------
  |  Branch (1739:13): [True: 0, False: 31.8k]
  ------------------
 1740|      0|            Py_DECREF(const_result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1741|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1742|      0|        }
 1743|  31.8k|        PyTuple_SET_ITEM(const_result, i, element);
  ------------------
  |  |   40|  31.8k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  31.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  31.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1744|  31.8k|    }
 1745|       |
 1746|  4.91k|    if (instr->i_opcode == BUILD_SET) {
  ------------------
  |  |   59|  4.91k|#define BUILD_SET                               46
  ------------------
  |  Branch (1746:9): [True: 4.65k, False: 268]
  ------------------
 1747|  4.65k|        PyObject *frozenset = PyFrozenSet_New(const_result);
 1748|  4.65k|        if (frozenset == NULL) {
  ------------------
  |  Branch (1748:13): [True: 0, False: 4.65k]
  ------------------
 1749|      0|            Py_DECREF(const_result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1750|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1751|      0|        }
 1752|  4.65k|        Py_SETREF(const_result, frozenset);
  ------------------
  |  |  545|  4.65k|    do { \
  |  |  546|  4.65k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  4.65k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|  4.65k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  4.65k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|  4.65k|        *_tmp_dst_ptr = (src); \
  |  |  549|  4.65k|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|  4.65k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|  4.65k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 4.65k]
  |  |  ------------------
  ------------------
 1753|  4.65k|    }
 1754|       |
 1755|  4.91k|    int index = add_const(const_result, consts, const_cache, consts_index);
 1756|  4.91k|    RETURN_IF_ERROR(index);
  ------------------
  |  |   25|  4.91k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4.91k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1757|  4.91k|    nop_out(const_instrs, seq_size);
 1758|       |
 1759|  4.91k|    if (contains_or_iter) {
  ------------------
  |  Branch (1759:9): [True: 236, False: 4.68k]
  ------------------
 1760|    236|        INSTR_SET_OP1(instr, LOAD_CONST, index);
  ------------------
  |  |  116|    236|    do { \
  |  |  117|    236|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|    236|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|    236|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|    236|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|    236|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 236]
  |  |  ------------------
  ------------------
  |  Branch (1760:9): [True: 236, False: 0]
  ------------------
 1761|    236|    }
 1762|  4.68k|    else {
 1763|  4.68k|        assert(i >= 2);
  ------------------
  |  Branch (1763:9): [True: 4.68k, False: 0]
  ------------------
 1764|  4.68k|        assert(instr->i_opcode == BUILD_LIST || instr->i_opcode == BUILD_SET);
  ------------------
  |  Branch (1764:9): [True: 263, False: 4.42k]
  |  Branch (1764:9): [True: 4.42k, False: 0]
  ------------------
 1765|       |
 1766|  4.68k|        INSTR_SET_LOC(&bb->b_instr[i-2], instr->i_loc);
  ------------------
  |  |  133|  4.68k|    do { \
  |  |  134|  4.68k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  135|  4.68k|        _instr__ptr_->i_loc = (LOC); \
  |  |  136|  4.68k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (136:14): [Folded, False: 4.68k]
  |  |  ------------------
  ------------------
 1767|       |
 1768|  4.68k|        INSTR_SET_OP1(&bb->b_instr[i-2], instr->i_opcode, 0);
  ------------------
  |  |  116|  4.68k|    do { \
  |  |  117|  4.68k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  4.68k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  4.68k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|  4.68k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  4.68k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 4.68k]
  |  |  ------------------
  ------------------
  |  Branch (1768:9): [True: 4.68k, False: 0]
  ------------------
 1769|  4.68k|        INSTR_SET_OP1(&bb->b_instr[i-1], LOAD_CONST, index);
  ------------------
  |  |  116|  4.68k|    do { \
  |  |  117|  4.68k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  4.68k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  4.68k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|  4.68k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  4.68k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 4.68k]
  |  |  ------------------
  ------------------
  |  Branch (1769:9): [True: 4.68k, False: 0]
  ------------------
 1770|  4.68k|        INSTR_SET_OP1(&bb->b_instr[i], instr->i_opcode == BUILD_LIST ? LIST_EXTEND : SET_UPDATE, 1);
  ------------------
  |  |  116|  4.68k|    do { \
  |  |  117|  4.68k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  4.68k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  9.36k|        _instr__ptr_->i_opcode = (OP); \
  |  |  ------------------
  |  |  |  Branch (119:35): [True: 263, False: 4.42k]
  |  |  ------------------
  |  |  120|  4.68k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  4.68k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 4.68k]
  |  |  ------------------
  ------------------
  |  Branch (1770:9): [True: 263, False: 4.42k]
  |  Branch (1770:9): [True: 4.68k, False: 0]
  ------------------
 1771|  4.68k|    }
 1772|  4.91k|    return SUCCESS;
  ------------------
  |  |   21|  4.91k|#define SUCCESS 0
  ------------------
 1773|  4.91k|}
flowgraph.c:jump_thread:
 1286|  2.64k|{
 1287|  2.64k|    assert(is_jump(inst));
  ------------------
  |  Branch (1287:5): [True: 2.64k, False: 0]
  ------------------
 1288|  2.64k|    assert(is_jump(target));
  ------------------
  |  Branch (1288:5): [True: 2.64k, False: 0]
  ------------------
 1289|  2.64k|    assert(inst == basicblock_last_instr(bb));
  ------------------
  |  Branch (1289:5): [True: 2.64k, False: 0]
  ------------------
 1290|       |    // bpo-45773: If inst->i_target == target->i_target, then nothing actually
 1291|       |    // changes (and we fall into an infinite loop):
 1292|  2.64k|    if (inst->i_target != target->i_target) {
  ------------------
  |  Branch (1292:9): [True: 2.64k, False: 0]
  ------------------
 1293|       |        /* Change inst to NOP and append a jump to target->i_target. The
 1294|       |         * NOP will be removed later if it's not needed for the lineno.
 1295|       |         */
 1296|  2.64k|        INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|  2.64k|    do { \
  |  |  126|  2.64k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  2.64k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  2.64k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  2.64k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  2.64k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 2.64k]
  |  |  ------------------
  ------------------
  |  Branch (1296:9): [True: 2.64k, False: 0]
  ------------------
 1297|       |
 1298|  2.64k|        RETURN_IF_ERROR(
  ------------------
  |  |   25|  2.64k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2.64k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1299|  2.64k|            basicblock_add_jump(
 1300|  2.64k|                bb, opcode, target->i_target, target->i_loc,
 1301|  2.64k|                target->i_except));
 1302|       |
 1303|  2.64k|        return true;
 1304|  2.64k|    }
 1305|      0|    return false;
 1306|  2.64k|}
flowgraph.c:basicblock_add_jump:
  217|  3.43k|{
  218|  3.43k|    cfg_instr *last = basicblock_last_instr(b);
  219|  3.43k|    if (last && is_jump(last)) {
  ------------------
  |  Branch (219:9): [True: 3.43k, False: 0]
  |  Branch (219:17): [True: 0, False: 3.43k]
  ------------------
  220|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  221|      0|    }
  222|       |
  223|  3.43k|    RETURN_IF_ERROR(
  ------------------
  |  |   25|  3.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3.43k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  224|  3.43k|        basicblock_addop(b, opcode, target->b_label.id, loc, except));
  225|  3.43k|    last = basicblock_last_instr(b);
  226|  3.43k|    assert(last && last->i_opcode == opcode);
  ------------------
  |  Branch (226:5): [True: 3.43k, False: 0]
  |  Branch (226:5): [True: 3.43k, False: 0]
  ------------------
  227|  3.43k|    last->i_target = target;
  228|  3.43k|    return SUCCESS;
  ------------------
  |  |   21|  3.43k|#define SUCCESS 0
  ------------------
  229|  3.43k|}
flowgraph.c:fold_const_unaryop:
 2043|   242k|{
 2044|   242k|    #define UNARYOP_OPERAND_COUNT 1
 2045|   242k|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2045:5): [True: 242k, False: 0]
  ------------------
 2046|   242k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (2046:5): [True: 242k, False: 0]
  ------------------
 2047|   242k|    cfg_instr *unaryop = &bb->b_instr[i];
 2048|       |
 2049|   242k|    cfg_instr *operand_instr;
 2050|   242k|    if (!get_const_loading_instrs(bb, i-1, &operand_instr, UNARYOP_OPERAND_COUNT)) {
  ------------------
  |  | 2044|   242k|    #define UNARYOP_OPERAND_COUNT 1
  ------------------
  |  Branch (2050:9): [True: 74.4k, False: 168k]
  ------------------
 2051|       |        /* not a const */
 2052|  74.4k|        return SUCCESS;
  ------------------
  |  |   21|  74.4k|#define SUCCESS 0
  ------------------
 2053|  74.4k|    }
 2054|       |
 2055|   242k|    assert(loads_const(operand_instr->i_opcode));
  ------------------
  |  Branch (2055:5): [True: 168k, False: 0]
  ------------------
 2056|   168k|    PyObject *operand = get_const_value(
 2057|   168k|        operand_instr->i_opcode,
 2058|   168k|        operand_instr->i_oparg,
 2059|   168k|        consts
 2060|   168k|    );
 2061|   168k|    if (operand == NULL) {
  ------------------
  |  Branch (2061:9): [True: 0, False: 168k]
  ------------------
 2062|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2063|      0|    }
 2064|       |
 2065|   168k|    PyObject *newconst = eval_const_unaryop(operand, unaryop->i_opcode, unaryop->i_oparg);
 2066|   168k|    Py_DECREF(operand);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2067|   168k|    if (newconst == NULL) {
  ------------------
  |  Branch (2067:9): [True: 1.73k, False: 166k]
  ------------------
 2068|  1.73k|        if (PyErr_ExceptionMatches(PyExc_KeyboardInterrupt)) {
  ------------------
  |  Branch (2068:13): [True: 0, False: 1.73k]
  ------------------
 2069|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2070|      0|        }
 2071|  1.73k|        PyErr_Clear();
 2072|  1.73k|        return SUCCESS;
  ------------------
  |  |   21|  1.73k|#define SUCCESS 0
  ------------------
 2073|  1.73k|    }
 2074|       |
 2075|   166k|    if (unaryop->i_opcode == UNARY_NOT) {
  ------------------
  |  |   53|   166k|#define UNARY_NOT                               40
  ------------------
  |  Branch (2075:9): [True: 220, False: 166k]
  ------------------
 2076|    220|        assert(PyBool_Check(newconst));
  ------------------
  |  Branch (2076:9): [True: 220, False: 0]
  ------------------
 2077|    220|    }
 2078|   166k|    nop_out(&operand_instr, UNARYOP_OPERAND_COUNT);
  ------------------
  |  | 2044|   166k|    #define UNARYOP_OPERAND_COUNT 1
  ------------------
 2079|   166k|    return instr_make_load_const(unaryop, newconst, consts, const_cache, consts_index);
 2080|   166k|}
flowgraph.c:eval_const_unaryop:
 2000|   168k|{
 2001|   168k|    assert(operand != NULL);
  ------------------
  |  Branch (2001:5): [True: 168k, False: 0]
  ------------------
 2002|   168k|    assert(
  ------------------
  |  Branch (2002:5): [True: 122k, False: 45.7k]
  |  Branch (2002:5): [True: 9.14k, False: 36.5k]
  |  Branch (2002:5): [True: 220, False: 36.3k]
  |  Branch (2002:5): [True: 36.3k, False: 0]
  |  Branch (2002:5): [True: 36.3k, False: 0]
  ------------------
 2003|   168k|        opcode == UNARY_NEGATIVE ||
 2004|   168k|        opcode == UNARY_INVERT ||
 2005|   168k|        opcode == UNARY_NOT ||
 2006|   168k|        (opcode == CALL_INTRINSIC_1 && oparg == INTRINSIC_UNARY_POSITIVE)
 2007|   168k|    );
 2008|   168k|    PyObject *result;
 2009|   168k|    switch (opcode) {
 2010|   122k|        case UNARY_NEGATIVE:
  ------------------
  |  |   52|   122k|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (2010:9): [True: 122k, False: 45.7k]
  ------------------
 2011|   122k|            result = PyNumber_Negative(operand);
 2012|   122k|            break;
 2013|  9.14k|        case UNARY_INVERT:
  ------------------
  |  |   51|  9.14k|#define UNARY_INVERT                            38
  ------------------
  |  Branch (2013:9): [True: 9.14k, False: 159k]
  ------------------
 2014|       |            // XXX: This should be removed once the ~bool depreciation expires.
 2015|  9.14k|            if (PyBool_Check(operand)) {
  ------------------
  |  |   12|  9.14k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  9.14k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 51, False: 9.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2016|     51|                return NULL;
 2017|     51|            }
 2018|  9.09k|            result = PyNumber_Invert(operand);
 2019|  9.09k|            break;
 2020|    220|        case UNARY_NOT: {
  ------------------
  |  |   53|    220|#define UNARY_NOT                               40
  ------------------
  |  Branch (2020:9): [True: 220, False: 167k]
  ------------------
 2021|    220|            int r = PyObject_IsTrue(operand);
 2022|    220|            if (r < 0) {
  ------------------
  |  Branch (2022:17): [True: 0, False: 220]
  ------------------
 2023|      0|                return NULL;
 2024|      0|            }
 2025|    220|            result = PyBool_FromLong(!r);
 2026|    220|            break;
 2027|    220|        }
 2028|  36.3k|        case CALL_INTRINSIC_1:
  ------------------
  |  |   64|  36.3k|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (2028:9): [True: 36.3k, False: 131k]
  ------------------
 2029|  36.3k|            if (oparg != INTRINSIC_UNARY_POSITIVE) {
  ------------------
  |  |   14|  36.3k|#define INTRINSIC_UNARY_POSITIVE                 5
  ------------------
  |  Branch (2029:17): [True: 0, False: 36.3k]
  ------------------
 2030|      0|                Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2031|      0|            }
 2032|  36.3k|            result = PyNumber_Positive(operand);
 2033|  36.3k|            break;
 2034|      0|        default:
  ------------------
  |  Branch (2034:9): [True: 0, False: 168k]
  ------------------
 2035|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2036|   168k|    }
 2037|   168k|    return result;
 2038|   168k|}
flowgraph.c:fold_constant_seq_into_load_const:
 1599|  5.56k|{
 1600|  5.56k|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (1600:5): [True: 5.56k, False: 0]
  ------------------
 1601|  5.56k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (1601:5): [True: 5.56k, False: 0]
  ------------------
 1602|  5.56k|    assert(i >= 0);
  ------------------
  |  Branch (1602:5): [True: 5.56k, False: 0]
  ------------------
 1603|  5.56k|    assert(i < bb->b_iused);
  ------------------
  |  Branch (1603:5): [True: 5.56k, False: 0]
  ------------------
 1604|       |
 1605|  5.56k|    cfg_instr *target = &bb->b_instr[i];
 1606|  5.56k|    assert(target->i_opcode == LIST_APPEND || target->i_opcode == SET_ADD ||
  ------------------
  |  Branch (1606:5): [True: 83, False: 5.48k]
  |  Branch (1606:5): [True: 96, False: 5.38k]
  |  Branch (1606:5): [True: 5.38k, False: 0]
  |  Branch (1606:5): [True: 5.38k, False: 0]
  ------------------
 1607|  5.56k|           (target->i_opcode == CALL_INTRINSIC_1 &&
 1608|  5.56k|            target->i_oparg == INTRINSIC_LIST_TO_TUPLE));
 1609|  5.56k|    bool expected_append = target->i_opcode == CALL_INTRINSIC_1;
  ------------------
  |  |   64|  5.56k|#define CALL_INTRINSIC_1                        51
  ------------------
 1610|  5.56k|    int append_op = expected_append ? LIST_APPEND : target->i_opcode;
  ------------------
  |  |   87|  5.38k|#define LIST_APPEND                             74
  ------------------
  |  Branch (1610:21): [True: 5.38k, False: 179]
  ------------------
 1611|  5.56k|    assert(append_op == LIST_APPEND || append_op == SET_ADD);
  ------------------
  |  Branch (1611:5): [True: 5.47k, False: 96]
  |  Branch (1611:5): [True: 96, False: 0]
  ------------------
 1612|  5.56k|    int build_op = append_op == LIST_APPEND ? BUILD_LIST : BUILD_SET;
  ------------------
  |  |   87|  5.56k|#define LIST_APPEND                             74
  ------------------
                  int build_op = append_op == LIST_APPEND ? BUILD_LIST : BUILD_SET;
  ------------------
  |  |   57|  5.47k|#define BUILD_LIST                              44
  ------------------
                  int build_op = append_op == LIST_APPEND ? BUILD_LIST : BUILD_SET;
  ------------------
  |  |   59|     96|#define BUILD_SET                               46
  ------------------
  |  Branch (1612:20): [True: 5.47k, False: 96]
  ------------------
 1613|  5.56k|    int consts_found = 0;
 1614|       |    /* Walking backward from `i`, we expect LIST_APPEND/SET_ADD and
 1615|       |       LOAD_CONST to alternate. If `i` is the trailing LIST_TO_TUPLE
 1616|       |       intrinsic, the next instruction back is an APPEND. If `i` is the
 1617|       |       trailing APPEND itself, the next instruction back is a LOAD_CONST. */
 1618|  5.56k|    bool expect_append = expected_append;
 1619|       |
 1620|  39.1k|    for (int pos = i - 1; pos >= 0; pos--) {
  ------------------
  |  Branch (1620:27): [True: 39.0k, False: 137]
  ------------------
 1621|  39.0k|        cfg_instr *instr = &bb->b_instr[pos];
 1622|  39.0k|        int opcode = instr->i_opcode;
 1623|  39.0k|        int oparg = instr->i_oparg;
 1624|       |
 1625|  39.0k|        if (opcode == NOP) {
  ------------------
  |  |   38|  39.0k|#define NOP                                     25
  ------------------
  |  Branch (1625:13): [True: 8.86k, False: 30.1k]
  ------------------
 1626|  8.86k|            continue;
 1627|  8.86k|        }
 1628|       |
 1629|  30.1k|        if (opcode == build_op && oparg == 0) {
  ------------------
  |  Branch (1629:13): [True: 512, False: 29.6k]
  |  Branch (1629:35): [True: 241, False: 271]
  ------------------
 1630|    241|            if (!expect_append) {
  ------------------
  |  Branch (1630:17): [True: 39, False: 202]
  ------------------
 1631|       |                /* Not a sequence start. */
 1632|     39|                return SUCCESS;
  ------------------
  |  |   21|     39|#define SUCCESS 0
  ------------------
 1633|     39|            }
 1634|       |
 1635|       |            /* Sequence start, we are done. */
 1636|    202|            PyObject *newconst = PyTuple_New((Py_ssize_t)consts_found);
 1637|    202|            if (newconst == NULL) {
  ------------------
  |  Branch (1637:17): [True: 0, False: 202]
  ------------------
 1638|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1639|      0|            }
 1640|       |
 1641|    202|            int newpos_start = expected_append ? i - 1 : i;
  ------------------
  |  Branch (1641:32): [True: 116, False: 86]
  ------------------
 1642|  25.3k|            for (int newpos = newpos_start; newpos >= pos; newpos--) {
  ------------------
  |  Branch (1642:45): [True: 25.1k, False: 202]
  ------------------
 1643|  25.1k|                instr = &bb->b_instr[newpos];
 1644|  25.1k|                if (instr->i_opcode == NOP) {
  ------------------
  |  |   38|  25.1k|#define NOP                                     25
  ------------------
  |  Branch (1644:21): [True: 6.03k, False: 19.1k]
  ------------------
 1645|  6.03k|                    continue;
 1646|  6.03k|                }
 1647|  19.1k|                if (loads_const(instr->i_opcode)) {
  ------------------
  |  Branch (1647:21): [True: 9.47k, False: 9.67k]
  ------------------
 1648|  9.47k|                    PyObject *constant = get_const_value(instr->i_opcode, instr->i_oparg, consts);
 1649|  9.47k|                    if (constant == NULL) {
  ------------------
  |  Branch (1649:25): [True: 0, False: 9.47k]
  ------------------
 1650|      0|                        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1651|      0|                        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1652|      0|                    }
 1653|  9.47k|                    assert(consts_found > 0);
  ------------------
  |  Branch (1653:21): [True: 9.47k, False: 0]
  ------------------
 1654|  9.47k|                    PyTuple_SET_ITEM(newconst, --consts_found, constant);
  ------------------
  |  |   40|  9.47k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  9.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  9.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1655|  9.47k|                }
 1656|  19.1k|                nop_out(&instr, 1);
 1657|  19.1k|            }
 1658|    202|            assert(consts_found == 0);
  ------------------
  |  Branch (1658:13): [True: 202, False: 0]
  ------------------
 1659|       |
 1660|    202|            if (build_op == BUILD_SET) {
  ------------------
  |  |   59|    202|#define BUILD_SET                               46
  ------------------
  |  Branch (1660:17): [True: 86, False: 116]
  ------------------
 1661|     86|                PyObject *frozen = PyFrozenSet_New(newconst);
 1662|     86|                Py_DECREF(newconst);
  ------------------
  |  |  430|     86|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1663|     86|                if (frozen == NULL) {
  ------------------
  |  Branch (1663:21): [True: 0, False: 86]
  ------------------
 1664|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1665|      0|                }
 1666|     86|                newconst = frozen;
 1667|     86|            }
 1668|    202|            return instr_make_load_const(target, newconst, consts, const_cache, consts_index);
 1669|    202|        }
 1670|       |
 1671|  29.9k|        if (expect_append) {
  ------------------
  |  Branch (1671:13): [True: 16.5k, False: 13.4k]
  ------------------
 1672|  16.5k|            if (opcode != append_op || oparg != 1) {
  ------------------
  |  Branch (1672:17): [True: 3.12k, False: 13.4k]
  |  Branch (1672:40): [True: 0, False: 13.4k]
  ------------------
 1673|  3.12k|                return SUCCESS;
  ------------------
  |  |   21|  3.12k|#define SUCCESS 0
  ------------------
 1674|  3.12k|            }
 1675|  16.5k|        }
 1676|  13.4k|        else {
 1677|  13.4k|            if (!loads_const(opcode)) {
  ------------------
  |  Branch (1677:17): [True: 2.06k, False: 11.3k]
  ------------------
 1678|  2.06k|                return SUCCESS;
  ------------------
  |  |   21|  2.06k|#define SUCCESS 0
  ------------------
 1679|  2.06k|            }
 1680|  11.3k|            consts_found++;
 1681|  11.3k|        }
 1682|       |
 1683|  24.7k|        expect_append = !expect_append;
 1684|  24.7k|    }
 1685|       |
 1686|       |    /* Did not find sequence start. */
 1687|    137|    return SUCCESS;
  ------------------
  |  |   21|    137|#define SUCCESS 0
  ------------------
 1688|  5.56k|}
flowgraph.c:fold_const_binop:
 1954|   678k|{
 1955|   678k|    #define BINOP_OPERAND_COUNT 2
 1956|   678k|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (1956:5): [True: 678k, False: 0]
  ------------------
 1957|   678k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (1957:5): [True: 678k, False: 0]
  ------------------
 1958|       |
 1959|   678k|    cfg_instr *binop = &bb->b_instr[i];
 1960|   678k|    assert(binop->i_opcode == BINARY_OP);
  ------------------
  |  Branch (1960:5): [True: 678k, False: 0]
  ------------------
 1961|       |
 1962|   678k|    cfg_instr *operands_instrs[BINOP_OPERAND_COUNT];
 1963|   678k|    if (!get_const_loading_instrs(bb, i-1, operands_instrs, BINOP_OPERAND_COUNT)) {
  ------------------
  |  | 1955|   678k|    #define BINOP_OPERAND_COUNT 2
  ------------------
  |  Branch (1963:9): [True: 199k, False: 479k]
  ------------------
 1964|       |        /* not a const sequence */
 1965|   199k|        return SUCCESS;
  ------------------
  |  |   21|   199k|#define SUCCESS 0
  ------------------
 1966|   199k|    }
 1967|       |
 1968|   479k|    cfg_instr *lhs_instr = operands_instrs[0];
 1969|   479k|    assert(loads_const(lhs_instr->i_opcode));
  ------------------
  |  Branch (1969:5): [True: 479k, False: 0]
  ------------------
 1970|   479k|    PyObject *lhs = get_const_value(lhs_instr->i_opcode, lhs_instr->i_oparg, consts);
 1971|   479k|    if (lhs == NULL) {
  ------------------
  |  Branch (1971:9): [True: 0, False: 479k]
  ------------------
 1972|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1973|      0|    }
 1974|       |
 1975|   479k|    cfg_instr *rhs_instr = operands_instrs[1];
 1976|   479k|    assert(loads_const(rhs_instr->i_opcode));
  ------------------
  |  Branch (1976:5): [True: 479k, False: 0]
  ------------------
 1977|   479k|    PyObject *rhs = get_const_value(rhs_instr->i_opcode, rhs_instr->i_oparg, consts);
 1978|   479k|    if (rhs == NULL) {
  ------------------
  |  Branch (1978:9): [True: 0, False: 479k]
  ------------------
 1979|      0|        Py_DECREF(lhs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1980|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1981|      0|    }
 1982|       |
 1983|   479k|    PyObject *newconst = eval_const_binop(lhs, binop->i_oparg, rhs);
 1984|   479k|    Py_DECREF(lhs);
  ------------------
  |  |  430|   479k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   479k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   479k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1985|   479k|    Py_DECREF(rhs);
  ------------------
  |  |  430|   479k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   479k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   479k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1986|   479k|    if (newconst == NULL) {
  ------------------
  |  Branch (1986:9): [True: 48.0k, False: 431k]
  ------------------
 1987|  48.0k|        if (PyErr_ExceptionMatches(PyExc_KeyboardInterrupt)) {
  ------------------
  |  Branch (1987:13): [True: 0, False: 48.0k]
  ------------------
 1988|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1989|      0|        }
 1990|  48.0k|        PyErr_Clear();
 1991|  48.0k|        return SUCCESS;
  ------------------
  |  |   21|  48.0k|#define SUCCESS 0
  ------------------
 1992|  48.0k|    }
 1993|       |
 1994|   431k|    nop_out(operands_instrs, BINOP_OPERAND_COUNT);
  ------------------
  |  | 1955|   431k|    #define BINOP_OPERAND_COUNT 2
  ------------------
 1995|   431k|    return instr_make_load_const(binop, newconst, consts, const_cache, consts_index);
 1996|   479k|}
flowgraph.c:eval_const_binop:
 1897|   479k|{
 1898|   479k|    assert(left != NULL && right != NULL);
  ------------------
  |  Branch (1898:5): [True: 479k, False: 0]
  |  Branch (1898:5): [True: 479k, False: 0]
  ------------------
 1899|   479k|    assert(op >= 0 && op <= NB_OPARG_LAST);
  ------------------
  |  Branch (1899:5): [True: 479k, False: 0]
  |  Branch (1899:5): [True: 479k, False: 0]
  ------------------
 1900|       |
 1901|   479k|    PyObject *result = NULL;
 1902|   479k|    switch (op) {
 1903|  66.8k|        case NB_ADD:
  ------------------
  |  |   10|  66.8k|#define NB_ADD                                   0
  ------------------
  |  Branch (1903:9): [True: 66.8k, False: 412k]
  ------------------
 1904|  66.8k|            result = PyNumber_Add(left, right);
 1905|  66.8k|            break;
 1906|  73.0k|        case NB_SUBTRACT:
  ------------------
  |  |   20|  73.0k|#define NB_SUBTRACT                             10
  ------------------
  |  Branch (1906:9): [True: 73.0k, False: 406k]
  ------------------
 1907|  73.0k|            result = PyNumber_Subtract(left, right);
 1908|  73.0k|            break;
 1909|   116k|        case NB_MULTIPLY:
  ------------------
  |  |   15|   116k|#define NB_MULTIPLY                              5
  ------------------
  |  Branch (1909:9): [True: 116k, False: 362k]
  ------------------
 1910|   116k|            result = const_folding_safe_multiply(left, right);
 1911|   116k|            break;
 1912|  58.3k|        case NB_TRUE_DIVIDE:
  ------------------
  |  |   21|  58.3k|#define NB_TRUE_DIVIDE                          11
  ------------------
  |  Branch (1912:9): [True: 58.3k, False: 421k]
  ------------------
 1913|  58.3k|            result = PyNumber_TrueDivide(left, right);
 1914|  58.3k|            break;
 1915|  21.8k|        case NB_FLOOR_DIVIDE:
  ------------------
  |  |   12|  21.8k|#define NB_FLOOR_DIVIDE                          2
  ------------------
  |  Branch (1915:9): [True: 21.8k, False: 457k]
  ------------------
 1916|  21.8k|            result = PyNumber_FloorDivide(left, right);
 1917|  21.8k|            break;
 1918|  15.2k|        case NB_REMAINDER:
  ------------------
  |  |   16|  15.2k|#define NB_REMAINDER                             6
  ------------------
  |  Branch (1918:9): [True: 15.2k, False: 464k]
  ------------------
 1919|  15.2k|            result = const_folding_safe_mod(left, right);
 1920|  15.2k|            break;
 1921|  74.9k|        case NB_POWER:
  ------------------
  |  |   18|  74.9k|#define NB_POWER                                 8
  ------------------
  |  Branch (1921:9): [True: 74.9k, False: 404k]
  ------------------
 1922|  74.9k|            result = const_folding_safe_power(left, right);
 1923|  74.9k|            break;
 1924|  4.01k|        case NB_LSHIFT:
  ------------------
  |  |   13|  4.01k|#define NB_LSHIFT                                3
  ------------------
  |  Branch (1924:9): [True: 4.01k, False: 475k]
  ------------------
 1925|  4.01k|            result = const_folding_safe_lshift(left, right);
 1926|  4.01k|            break;
 1927|  11.6k|        case NB_RSHIFT:
  ------------------
  |  |   19|  11.6k|#define NB_RSHIFT                                9
  ------------------
  |  Branch (1927:9): [True: 11.6k, False: 467k]
  ------------------
 1928|  11.6k|            result = PyNumber_Rshift(left, right);
 1929|  11.6k|            break;
 1930|  4.26k|        case NB_OR:
  ------------------
  |  |   17|  4.26k|#define NB_OR                                    7
  ------------------
  |  Branch (1930:9): [True: 4.26k, False: 475k]
  ------------------
 1931|  4.26k|            result = PyNumber_Or(left, right);
 1932|  4.26k|            break;
 1933|  11.6k|        case NB_XOR:
  ------------------
  |  |   22|  11.6k|#define NB_XOR                                  12
  ------------------
  |  Branch (1933:9): [True: 11.6k, False: 468k]
  ------------------
 1934|  11.6k|            result = PyNumber_Xor(left, right);
 1935|  11.6k|            break;
 1936|  6.66k|        case NB_AND:
  ------------------
  |  |   11|  6.66k|#define NB_AND                                   1
  ------------------
  |  Branch (1936:9): [True: 6.66k, False: 472k]
  ------------------
 1937|  6.66k|            result = PyNumber_And(left, right);
 1938|  6.66k|            break;
 1939|  13.5k|        case NB_SUBSCR:
  ------------------
  |  |   36|  13.5k|#define NB_SUBSCR                               26
  ------------------
  |  Branch (1939:9): [True: 13.5k, False: 466k]
  ------------------
 1940|  13.5k|            result = PyObject_GetItem(left, right);
 1941|  13.5k|            break;
 1942|    641|        case NB_MATRIX_MULTIPLY:
  ------------------
  |  |   14|    641|#define NB_MATRIX_MULTIPLY                       4
  ------------------
  |  Branch (1942:9): [True: 641, False: 478k]
  ------------------
 1943|       |            // No builtin constants implement matrix multiplication
 1944|    641|            break;
 1945|      0|        default:
  ------------------
  |  Branch (1945:9): [True: 0, False: 479k]
  ------------------
 1946|      0|            Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1947|   479k|    }
 1948|   479k|    return result;
 1949|   479k|}
flowgraph.c:const_folding_safe_multiply:
 1802|   177k|{
 1803|   177k|    if (PyLong_Check(v) && PyLong_Check(w) &&
  ------------------
  |  |   13|   177k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   354k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 89.4k, False: 87.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyLong_Check(v) && PyLong_Check(w) &&
  ------------------
  |  |   13|  89.4k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   266k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 18.8k, False: 70.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1804|  18.8k|        !_PyLong_IsZero((PyLongObject *)v) && !_PyLong_IsZero((PyLongObject *)w)
  ------------------
  |  Branch (1804:9): [True: 17.0k, False: 1.79k]
  |  Branch (1804:47): [True: 16.0k, False: 1.05k]
  ------------------
 1805|   177k|    ) {
 1806|  16.0k|        int64_t vbits = _PyLong_NumBits(v);
 1807|  16.0k|        int64_t wbits = _PyLong_NumBits(w);
 1808|  16.0k|        assert(vbits >= 0);
  ------------------
  |  Branch (1808:9): [True: 16.0k, False: 0]
  ------------------
 1809|  16.0k|        assert(wbits >= 0);
  ------------------
  |  Branch (1809:9): [True: 16.0k, False: 0]
  ------------------
 1810|  16.0k|        if (vbits + wbits > MAX_INT_SIZE) {
  ------------------
  |  | 1795|  16.0k|#define MAX_INT_SIZE           128  /* bits */
  ------------------
  |  Branch (1810:13): [True: 245, False: 15.7k]
  ------------------
 1811|    245|            return NULL;
 1812|    245|        }
 1813|  16.0k|    }
 1814|   161k|    else if (PyLong_Check(v) && PyTuple_Check(w)) {
  ------------------
  |  |   13|   161k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   322k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 73.4k, False: 87.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyLong_Check(v) && PyTuple_Check(w)) {
  ------------------
  |  |   27|  73.4k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  73.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 35.5k, False: 37.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1815|  35.5k|        Py_ssize_t size = PyTuple_GET_SIZE(w);
  ------------------
  |  |   27|  35.5k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1816|  35.5k|        if (size) {
  ------------------
  |  Branch (1816:13): [True: 35.1k, False: 490]
  ------------------
 1817|  35.1k|            long n = PyLong_AsLong(v);
 1818|  35.1k|            if (n < 0 || n > MAX_COLLECTION_SIZE / size) {
  ------------------
  |  | 1796|  34.4k|#define MAX_COLLECTION_SIZE    256  /* items */
  ------------------
  |  Branch (1818:17): [True: 680, False: 34.4k]
  |  Branch (1818:26): [True: 1.71k, False: 32.7k]
  ------------------
 1819|  2.39k|                return NULL;
 1820|  2.39k|            }
 1821|  32.7k|            if (n && const_folding_check_complexity(w, MAX_TOTAL_ITEMS / n) < 0) {
  ------------------
  |  | 1798|  31.8k|#define MAX_TOTAL_ITEMS       1024  /* including nested collections */
  ------------------
  |  Branch (1821:17): [True: 31.8k, False: 873]
  |  Branch (1821:22): [True: 169, False: 31.6k]
  ------------------
 1822|    169|                return NULL;
 1823|    169|            }
 1824|  32.7k|        }
 1825|  35.5k|    }
 1826|   125k|    else if (PyLong_Check(v) && (PyUnicode_Check(w) || PyBytes_Check(w))) {
  ------------------
  |  |   13|   125k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   251k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 37.8k, False: 87.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyLong_Check(v) && (PyUnicode_Check(w) || PyBytes_Check(w))) {
  ------------------
  |  |  103|  37.8k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  75.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 9.15k, False: 28.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyLong_Check(v) && (PyUnicode_Check(w) || PyBytes_Check(w))) {
  ------------------
  |  |   28|  28.7k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  28.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 19.2k, False: 9.51k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1827|  28.3k|        Py_ssize_t size = PyUnicode_Check(w) ? PyUnicode_GET_LENGTH(w) :
  ------------------
  |  |  103|  28.3k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  28.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 9.15k, False: 19.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      Py_ssize_t size = PyUnicode_Check(w) ? PyUnicode_GET_LENGTH(w) :
  ------------------
  |  |  300|  9.15k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1828|  28.3k|                                               PyBytes_GET_SIZE(w);
  ------------------
  |  |   33|  19.2k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  19.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1829|  28.3k|        if (size) {
  ------------------
  |  Branch (1829:13): [True: 18.0k, False: 10.3k]
  ------------------
 1830|  18.0k|            long n = PyLong_AsLong(v);
 1831|  18.0k|            if (n < 0 || n > MAX_STR_SIZE / size) {
  ------------------
  |  | 1797|  17.3k|#define MAX_STR_SIZE          4096  /* characters */
  ------------------
  |  Branch (1831:17): [True: 645, False: 17.3k]
  |  Branch (1831:26): [True: 1.19k, False: 16.2k]
  ------------------
 1832|  1.83k|                return NULL;
 1833|  1.83k|            }
 1834|  18.0k|        }
 1835|  28.3k|    }
 1836|  97.4k|    else if (PyLong_Check(w) &&
  ------------------
  |  |   13|  97.4k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   194k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 74.4k, False: 23.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1837|  74.4k|             (PyTuple_Check(v) || PyUnicode_Check(v) || PyBytes_Check(v)))
  ------------------
  |  |   27|  74.4k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   148k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 34.7k, False: 39.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                           (PyTuple_Check(v) || PyUnicode_Check(v) || PyBytes_Check(v)))
  ------------------
  |  |  103|  39.6k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   114k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 8.59k, False: 31.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                           (PyTuple_Check(v) || PyUnicode_Check(v) || PyBytes_Check(v)))
  ------------------
  |  |   28|  31.0k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  31.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 17.1k, False: 13.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1838|  60.4k|    {
 1839|  60.4k|        return const_folding_safe_multiply(w, v);
 1840|  60.4k|    }
 1841|       |
 1842|   112k|    return PyNumber_Multiply(v, w);
 1843|   177k|}
flowgraph.c:const_folding_check_complexity:
 1781|   234k|{
 1782|   234k|    if (PyTuple_Check(obj)) {
  ------------------
  |  |   27|   234k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   234k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 157k, False: 77.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1783|   157k|        Py_ssize_t i;
 1784|   157k|        limit -= PyTuple_GET_SIZE(obj);
  ------------------
  |  |   27|   157k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   157k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   157k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1785|   358k|        for (i = 0; limit >= 0 && i < PyTuple_GET_SIZE(obj); i++) {
  ------------------
  |  |   27|   358k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   358k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   358k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1785:21): [True: 358k, False: 169]
  |  Branch (1785:35): [True: 202k, False: 156k]
  ------------------
 1786|   202k|            limit = const_folding_check_complexity(PyTuple_GET_ITEM(obj, i), limit);
  ------------------
  |  |   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 (1786:52): [True: 202k, False: 0]
  ------------------
 1787|   202k|            if (limit < 0) {
  ------------------
  |  Branch (1787:17): [True: 755, False: 201k]
  ------------------
 1788|    755|                return limit;
 1789|    755|            }
 1790|   202k|        }
 1791|   157k|    }
 1792|   233k|    return limit;
 1793|   234k|}
flowgraph.c:const_folding_safe_mod:
 1887|  15.2k|{
 1888|  15.2k|    if (PyUnicode_Check(v) || PyBytes_Check(v)) {
  ------------------
  |  |  103|  15.2k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  30.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 84, False: 15.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_Check(v) || PyBytes_Check(v)) {
  ------------------
  |  |   28|  15.1k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  15.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 92, False: 15.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1889|    176|        return NULL;
 1890|    176|    }
 1891|       |
 1892|  15.0k|    return PyNumber_Remainder(v, w);
 1893|  15.2k|}
flowgraph.c:const_folding_safe_power:
 1847|  74.9k|{
 1848|  74.9k|    if (PyLong_Check(v) && PyLong_Check(w) &&
  ------------------
  |  |   13|  74.9k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   149k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 54.8k, False: 20.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyLong_Check(v) && PyLong_Check(w) &&
  ------------------
  |  |   13|  54.8k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   129k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 49.2k, False: 5.55k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1849|  49.2k|        !_PyLong_IsZero((PyLongObject *)v) && _PyLong_IsPositive((PyLongObject *)w)
  ------------------
  |  Branch (1849:9): [True: 44.2k, False: 5.00k]
  |  Branch (1849:47): [True: 39.5k, False: 4.66k]
  ------------------
 1850|  74.9k|    ) {
 1851|  39.5k|        int64_t vbits = _PyLong_NumBits(v);
 1852|  39.5k|        size_t wbits = PyLong_AsSize_t(w);
 1853|  39.5k|        assert(vbits >= 0);
  ------------------
  |  Branch (1853:9): [True: 39.5k, False: 0]
  ------------------
 1854|  39.5k|        if (wbits == (size_t)-1) {
  ------------------
  |  Branch (1854:13): [True: 613, False: 38.9k]
  ------------------
 1855|    613|            return NULL;
 1856|    613|        }
 1857|  38.9k|        if ((uint64_t)vbits > MAX_INT_SIZE / wbits) {
  ------------------
  |  | 1795|  38.9k|#define MAX_INT_SIZE           128  /* bits */
  ------------------
  |  Branch (1857:13): [True: 3.05k, False: 35.9k]
  ------------------
 1858|  3.05k|            return NULL;
 1859|  3.05k|        }
 1860|  38.9k|    }
 1861|       |
 1862|  71.3k|    return PyNumber_Power(v, w, Py_None);
  ------------------
  |  |  616|  71.3k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1863|  74.9k|}
flowgraph.c:const_folding_safe_lshift:
 1867|  4.01k|{
 1868|  4.01k|    if (PyLong_Check(v) && PyLong_Check(w) &&
  ------------------
  |  |   13|  4.01k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.02k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 3.81k, False: 201]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyLong_Check(v) && PyLong_Check(w) &&
  ------------------
  |  |   13|  3.81k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.82k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 3.71k, False: 101]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1869|  3.71k|        !_PyLong_IsZero((PyLongObject *)v) && !_PyLong_IsZero((PyLongObject *)w)
  ------------------
  |  Branch (1869:9): [True: 2.93k, False: 776]
  |  Branch (1869:47): [True: 2.62k, False: 307]
  ------------------
 1870|  4.01k|    ) {
 1871|  2.62k|        int64_t vbits = _PyLong_NumBits(v);
 1872|  2.62k|        size_t wbits = PyLong_AsSize_t(w);
 1873|  2.62k|        assert(vbits >= 0);
  ------------------
  |  Branch (1873:9): [True: 2.62k, False: 0]
  ------------------
 1874|  2.62k|        if (wbits == (size_t)-1) {
  ------------------
  |  Branch (1874:13): [True: 512, False: 2.11k]
  ------------------
 1875|    512|            return NULL;
 1876|    512|        }
 1877|  2.11k|        if (wbits > MAX_INT_SIZE || (uint64_t)vbits > MAX_INT_SIZE - wbits) {
  ------------------
  |  | 1795|  4.23k|#define MAX_INT_SIZE           128  /* bits */
  ------------------
                      if (wbits > MAX_INT_SIZE || (uint64_t)vbits > MAX_INT_SIZE - wbits) {
  ------------------
  |  | 1795|  1.28k|#define MAX_INT_SIZE           128  /* bits */
  ------------------
  |  Branch (1877:13): [True: 833, False: 1.28k]
  |  Branch (1877:37): [True: 90, False: 1.19k]
  ------------------
 1878|    923|            return NULL;
 1879|    923|        }
 1880|  2.11k|    }
 1881|       |
 1882|  2.57k|    return PyNumber_Lshift(v, w);
 1883|  4.01k|}
flowgraph.c:swaptimize:
 2088|  74.2k|{
 2089|       |    // NOTE: "./python -m test test_patma" serves as a good, quick stress test
 2090|       |    // for this function. Make sure to blow away cached *.pyc files first!
 2091|  74.2k|    assert(*ix < block->b_iused);
  ------------------
  |  Branch (2091:5): [True: 74.2k, False: 0]
  ------------------
 2092|  74.2k|    cfg_instr *instructions = &block->b_instr[*ix];
 2093|       |    // Find the length of the current sequence of SWAPs and NOPs, and record the
 2094|       |    // maximum depth of the stack manipulations:
 2095|  74.2k|    assert(instructions[0].i_opcode == SWAP);
  ------------------
  |  Branch (2095:5): [True: 74.2k, False: 0]
  ------------------
 2096|  74.2k|    int depth = instructions[0].i_oparg;
 2097|  74.2k|    int len = 0;
 2098|  74.2k|    int more = false;
 2099|  74.2k|    int limit = block->b_iused - *ix;
 2100|  95.6k|    while (++len < limit) {
  ------------------
  |  Branch (2100:12): [True: 95.6k, False: 0]
  ------------------
 2101|  95.6k|        int opcode = instructions[len].i_opcode;
 2102|  95.6k|        if (opcode == SWAP) {
  ------------------
  |  |  126|  95.6k|#define SWAP                                   113
  ------------------
  |  Branch (2102:13): [True: 21.3k, False: 74.2k]
  ------------------
 2103|  21.3k|            depth = Py_MAX(depth, instructions[len].i_oparg);
  ------------------
  |  |  133|  21.3k|       __extension__ \
  |  |  134|  21.3k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  21.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  21.3k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  21.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  21.3k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 9.80k, False: 11.5k]
  |  |  ------------------
  ------------------
 2104|  21.3k|            more = true;
 2105|  21.3k|        }
 2106|  74.2k|        else if (opcode != NOP) {
  ------------------
  |  |   38|  74.2k|#define NOP                                     25
  ------------------
  |  Branch (2106:18): [True: 74.2k, False: 2]
  ------------------
 2107|  74.2k|            break;
 2108|  74.2k|        }
 2109|  95.6k|    }
 2110|       |    // It's already optimal if there's only one SWAP:
 2111|  74.2k|    if (!more) {
  ------------------
  |  Branch (2111:9): [True: 60.5k, False: 13.6k]
  ------------------
 2112|  60.5k|        return SUCCESS;
  ------------------
  |  |   21|  60.5k|#define SUCCESS 0
  ------------------
 2113|  60.5k|    }
 2114|       |    // Create an array with elements {0, 1, 2, ..., depth - 1}:
 2115|  13.6k|    int *stack = PyMem_Malloc(depth * sizeof(int));
 2116|  13.6k|    if (stack == NULL) {
  ------------------
  |  Branch (2116:9): [True: 0, False: 13.6k]
  ------------------
 2117|      0|        PyErr_NoMemory();
 2118|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2119|      0|    }
 2120|  58.3k|    for (int i = 0; i < depth; i++) {
  ------------------
  |  Branch (2120:21): [True: 44.6k, False: 13.6k]
  ------------------
 2121|  44.6k|        stack[i] = i;
 2122|  44.6k|    }
 2123|       |    // Simulate the combined effect of these instructions by "running" them on
 2124|       |    // our "stack":
 2125|  48.6k|    for (int i = 0; i < len; i++) {
  ------------------
  |  Branch (2125:21): [True: 35.0k, False: 13.6k]
  ------------------
 2126|  35.0k|        if (instructions[i].i_opcode == SWAP) {
  ------------------
  |  |  126|  35.0k|#define SWAP                                   113
  ------------------
  |  Branch (2126:13): [True: 35.0k, False: 2]
  ------------------
 2127|  35.0k|            int oparg = instructions[i].i_oparg;
 2128|  35.0k|            int top = stack[0];
 2129|       |            // SWAPs are 1-indexed:
 2130|  35.0k|            stack[0] = stack[oparg - 1];
 2131|  35.0k|            stack[oparg - 1] = top;
 2132|  35.0k|        }
 2133|  35.0k|    }
 2134|       |    // Now we can begin! Our approach here is based on a solution to a closely
 2135|       |    // related problem (https://cs.stackexchange.com/a/13938). It's easiest to
 2136|       |    // think of this algorithm as determining the steps needed to efficiently
 2137|       |    // "un-shuffle" our stack. By performing the moves in *reverse* order,
 2138|       |    // though, we can efficiently *shuffle* it! For this reason, we will be
 2139|       |    // replacing instructions starting from the *end* of the run. Since the
 2140|       |    // solution is optimal, we don't need to worry about running out of space:
 2141|  13.6k|    int current = len - 1;
 2142|  58.3k|    for (int i = 0; i < depth; i++) {
  ------------------
  |  Branch (2142:21): [True: 44.6k, False: 13.6k]
  ------------------
 2143|       |        // Skip items that have already been visited, or just happen to be in
 2144|       |        // the correct location:
 2145|  44.6k|        if (stack[i] == VISITED || stack[i] == i) {
  ------------------
  |  | 2082|  89.3k|#define VISITED (-1)
  ------------------
  |  Branch (2145:13): [True: 30.4k, False: 14.2k]
  |  Branch (2145:36): [True: 799, False: 13.4k]
  ------------------
 2146|  31.2k|            continue;
 2147|  31.2k|        }
 2148|       |        // Okay, we've found an item that hasn't been visited. It forms a cycle
 2149|       |        // with other items; traversing the cycle and swapping each item with
 2150|       |        // the next will put them all in the correct place. The weird
 2151|       |        // loop-and-a-half is necessary to insert 0 into every cycle, since we
 2152|       |        // can only swap from that position:
 2153|  13.4k|        int j = i;
 2154|  57.2k|        while (true) {
  ------------------
  |  Branch (2154:16): [True: 57.2k, Folded]
  ------------------
 2155|       |            // Skip the actual swap if our item is zero, since swapping the top
 2156|       |            // item with itself is pointless:
 2157|  57.2k|            if (j) {
  ------------------
  |  Branch (2157:17): [True: 30.5k, False: 26.7k]
  ------------------
 2158|  30.5k|                assert(0 <= current);
  ------------------
  |  Branch (2158:17): [True: 30.5k, False: 0]
  ------------------
 2159|       |                // SWAPs are 1-indexed:
 2160|  30.5k|                instructions[current].i_opcode = SWAP;
  ------------------
  |  |  126|  30.5k|#define SWAP                                   113
  ------------------
 2161|  30.5k|                instructions[current--].i_oparg = j + 1;
 2162|  30.5k|            }
 2163|  57.2k|            if (stack[j] == VISITED) {
  ------------------
  |  | 2082|  57.2k|#define VISITED (-1)
  ------------------
  |  Branch (2163:17): [True: 13.4k, False: 43.8k]
  ------------------
 2164|       |                // Completed the cycle:
 2165|  13.4k|                assert(j == i);
  ------------------
  |  Branch (2165:17): [True: 13.4k, False: 0]
  ------------------
 2166|  13.4k|                break;
 2167|  13.4k|            }
 2168|  43.8k|            int next_j = stack[j];
 2169|  43.8k|            stack[j] = VISITED;
  ------------------
  |  | 2082|  43.8k|#define VISITED (-1)
  ------------------
 2170|  43.8k|            j = next_j;
 2171|  43.8k|        }
 2172|  13.4k|    }
 2173|       |    // NOP out any unused instructions:
 2174|  18.1k|    while (0 <= current) {
  ------------------
  |  Branch (2174:12): [True: 4.51k, False: 13.6k]
  ------------------
 2175|  4.51k|        INSTR_SET_OP0(&instructions[current--], NOP);
  ------------------
  |  |  125|  4.51k|    do { \
  |  |  126|  4.51k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  4.51k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  4.51k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  4.51k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  4.51k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 4.51k]
  |  |  ------------------
  ------------------
  |  Branch (2175:9): [True: 4.51k, False: 0]
  ------------------
 2176|  4.51k|    }
 2177|  13.6k|    PyMem_Free(stack);
 2178|  13.6k|    *ix += len - 1;
 2179|  13.6k|    return SUCCESS;
  ------------------
  |  |   21|  13.6k|#define SUCCESS 0
  ------------------
 2180|  13.6k|}
flowgraph.c:apply_static_swaps:
 2223|  74.2k|{
 2224|       |    // SWAPs are to our left, and potential swaperands are to our right:
 2225|  77.5k|    for (; 0 <= i; i--) {
  ------------------
  |  Branch (2225:12): [True: 77.4k, False: 106]
  ------------------
 2226|  77.4k|        assert(i < block->b_iused);
  ------------------
  |  Branch (2226:9): [True: 77.4k, False: 0]
  ------------------
 2227|  77.4k|        cfg_instr *swap = &block->b_instr[i];
 2228|  77.4k|        if (swap->i_opcode != SWAP) {
  ------------------
  |  |  126|  77.4k|#define SWAP                                   113
  ------------------
  |  Branch (2228:13): [True: 3.20k, False: 74.2k]
  ------------------
 2229|  3.20k|            if (swap->i_opcode == NOP || SWAPPABLE(swap->i_opcode)) {
  ------------------
  |  |   38|  6.41k|#define NOP                                     25
  ------------------
                          if (swap->i_opcode == NOP || SWAPPABLE(swap->i_opcode)) {
  ------------------
  |  | 2188|    583|    ((opcode) == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  121|  1.16k|#define STORE_FAST                             108
  |  |  ------------------
  |  |  |  Branch (2188:6): [True: 0, False: 583]
  |  |  ------------------
  |  | 2189|    583|     (opcode) == STORE_FAST_MAYBE_NULL || \
  |  |  ------------------
  |  |  |  |  254|  1.16k|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2189:6): [True: 0, False: 583]
  |  |  ------------------
  |  | 2190|    583|     (opcode) == POP_TOP)
  |  |  ------------------
  |  |  |  |   42|    583|#define POP_TOP                                 29
  |  |  ------------------
  |  |  |  Branch (2190:6): [True: 45, False: 538]
  |  |  ------------------
  ------------------
  |  Branch (2229:17): [True: 2.62k, False: 583]
  ------------------
 2230|       |                // Nope, but we know how to handle these. Keep looking:
 2231|  2.66k|                continue;
 2232|  2.66k|            }
 2233|       |            // We can't reason about what this instruction does. Bail:
 2234|    538|            return;
 2235|  3.20k|        }
 2236|  74.2k|        int j = next_swappable_instruction(block, i, -1);
 2237|  74.2k|        if (j < 0) {
  ------------------
  |  Branch (2237:13): [True: 56.9k, False: 17.2k]
  ------------------
 2238|  56.9k|            return;
 2239|  56.9k|        }
 2240|  17.2k|        int k = j;
 2241|  17.2k|        int lineno = block->b_instr[j].i_loc.lineno;
 2242|  38.4k|        for (int count = swap->i_oparg - 1; 0 < count; count--) {
  ------------------
  |  Branch (2242:45): [True: 37.8k, False: 614]
  ------------------
 2243|  37.8k|            k = next_swappable_instruction(block, k, lineno);
 2244|  37.8k|            if (k < 0) {
  ------------------
  |  Branch (2244:17): [True: 16.6k, False: 21.1k]
  ------------------
 2245|  16.6k|                return;
 2246|  16.6k|            }
 2247|  37.8k|        }
 2248|       |        // The reordering is not safe if the two instructions to be swapped
 2249|       |        // store to the same location, or if any intervening instruction stores
 2250|       |        // to the same location as either of them.
 2251|    614|        int store_j = STORES_TO(block->b_instr[j]);
  ------------------
  |  | 2193|    614|    (((instr).i_opcode == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  121|  1.22k|#define STORE_FAST                             108
  |  |  ------------------
  |  |  |  Branch (2193:7): [True: 260, False: 354]
  |  |  ------------------
  |  | 2194|    614|      (instr).i_opcode == STORE_FAST_MAYBE_NULL) \
  |  |  ------------------
  |  |  |  |  254|    354|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2194:7): [True: 100, False: 254]
  |  |  ------------------
  |  | 2195|    614|     ? (instr).i_oparg : -1)
  ------------------
 2252|    614|        int store_k = STORES_TO(block->b_instr[k]);
  ------------------
  |  | 2193|    614|    (((instr).i_opcode == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  121|  1.22k|#define STORE_FAST                             108
  |  |  ------------------
  |  |  |  Branch (2193:7): [True: 286, False: 328]
  |  |  ------------------
  |  | 2194|    614|      (instr).i_opcode == STORE_FAST_MAYBE_NULL) \
  |  |  ------------------
  |  |  |  |  254|    328|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2194:7): [True: 0, False: 328]
  |  |  ------------------
  |  | 2195|    614|     ? (instr).i_oparg : -1)
  ------------------
 2253|    614|        if (store_j >= 0 || store_k >= 0) {
  ------------------
  |  Branch (2253:13): [True: 360, False: 254]
  |  Branch (2253:29): [True: 26, False: 228]
  ------------------
 2254|    386|            if (store_j == store_k) {
  ------------------
  |  Branch (2254:17): [True: 0, False: 386]
  ------------------
 2255|      0|                return;
 2256|      0|            }
 2257|    722|            for (int idx = j + 1; idx < k; idx++) {
  ------------------
  |  Branch (2257:35): [True: 336, False: 386]
  ------------------
 2258|    336|                int store_idx = STORES_TO(block->b_instr[idx]);
  ------------------
  |  | 2193|    336|    (((instr).i_opcode == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  121|    672|#define STORE_FAST                             108
  |  |  ------------------
  |  |  |  Branch (2193:7): [True: 218, False: 118]
  |  |  ------------------
  |  | 2194|    336|      (instr).i_opcode == STORE_FAST_MAYBE_NULL) \
  |  |  ------------------
  |  |  |  |  254|    118|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2194:7): [True: 114, False: 4]
  |  |  ------------------
  |  | 2195|    336|     ? (instr).i_oparg : -1)
  ------------------
 2259|    336|                if (store_idx >= 0 && (store_idx == store_j || store_idx == store_k)) {
  ------------------
  |  Branch (2259:21): [True: 332, False: 4]
  |  Branch (2259:40): [True: 0, False: 332]
  |  Branch (2259:64): [True: 0, False: 332]
  ------------------
 2260|      0|                    return;
 2261|      0|                }
 2262|    336|            }
 2263|    386|        }
 2264|       |
 2265|       |        // Success!
 2266|    614|        INSTR_SET_OP0(swap, NOP);
  ------------------
  |  |  125|    614|    do { \
  |  |  126|    614|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|    614|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|    614|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|    614|        _instr__ptr_->i_oparg = 0; \
  |  |  130|    614|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 614]
  |  |  ------------------
  ------------------
  |  Branch (2266:9): [True: 614, False: 0]
  ------------------
 2267|    614|        cfg_instr temp = block->b_instr[j];
 2268|    614|        block->b_instr[j] = block->b_instr[k];
 2269|    614|        block->b_instr[k] = temp;
 2270|    614|    }
 2271|  74.2k|}
flowgraph.c:next_swappable_instruction:
 2199|   112k|{
 2200|   114k|    while (++i < block->b_iused) {
  ------------------
  |  Branch (2200:12): [True: 107k, False: 6.79k]
  ------------------
 2201|   107k|        cfg_instr *instruction = &block->b_instr[i];
 2202|   107k|        if (0 <= lineno && instruction->i_loc.lineno != lineno) {
  ------------------
  |  Branch (2202:13): [True: 28.4k, False: 78.8k]
  |  Branch (2202:28): [True: 23, False: 28.3k]
  ------------------
 2203|       |            // Optimizing across this instruction could cause user-visible
 2204|       |            // changes in the names bound between line tracing events!
 2205|     23|            return -1;
 2206|     23|        }
 2207|   107k|        if (instruction->i_opcode == NOP) {
  ------------------
  |  |   38|   107k|#define NOP                                     25
  ------------------
  |  Branch (2207:13): [True: 1.98k, False: 105k]
  ------------------
 2208|  1.98k|            continue;
 2209|  1.98k|        }
 2210|   105k|        if (SWAPPABLE(instruction->i_opcode)) {
  ------------------
  |  | 2188|   105k|    ((opcode) == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  121|   210k|#define STORE_FAST                             108
  |  |  ------------------
  |  |  |  Branch (2188:6): [True: 764, False: 104k]
  |  |  ------------------
  |  | 2189|   105k|     (opcode) == STORE_FAST_MAYBE_NULL || \
  |  |  ------------------
  |  |  |  |  254|   209k|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2189:6): [True: 23.6k, False: 80.8k]
  |  |  ------------------
  |  | 2190|   105k|     (opcode) == POP_TOP)
  |  |  ------------------
  |  |  |  |   42|  80.8k|#define POP_TOP                                 29
  |  |  ------------------
  |  |  |  Branch (2190:6): [True: 14.0k, False: 66.7k]
  |  |  ------------------
  ------------------
 2211|  38.4k|            return i;
 2212|  38.4k|        }
 2213|  66.7k|        return -1;
 2214|   105k|    }
 2215|  6.79k|    return -1;
 2216|   112k|}
flowgraph.c:remove_redundant_nops_and_pairs:
 1137|  74.3k|{
 1138|  74.3k|    bool done = false;
 1139|       |
 1140|   150k|    while (! done) {
  ------------------
  |  Branch (1140:12): [True: 75.8k, False: 74.3k]
  ------------------
 1141|  75.8k|        done = true;
 1142|  75.8k|        cfg_instr *prev_instr = NULL;
 1143|  75.8k|        cfg_instr *instr = NULL;
 1144|   629k|        for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1144:42): [True: 553k, False: 75.8k]
  ------------------
 1145|   553k|            RETURN_IF_ERROR(basicblock_remove_redundant_nops(b));
  ------------------
  |  |   25|   553k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 553k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1146|   553k|            if (IS_LABEL(b->b_label)) {
  ------------------
  |  |   96|   553k|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|   553k|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 274k, False: 279k]
  |  |  ------------------
  ------------------
 1147|       |                /* this block is a jump target, forget instr */
 1148|   274k|                instr = NULL;
 1149|   274k|            }
 1150|  4.50M|            for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1150:29): [True: 3.95M, False: 553k]
  ------------------
 1151|  3.95M|                prev_instr = instr;
 1152|  3.95M|                instr = &b->b_instr[i];
 1153|  3.95M|                int prev_opcode = prev_instr ? prev_instr->i_opcode : 0;
  ------------------
  |  Branch (1153:35): [True: 3.46M, False: 492k]
  ------------------
 1154|  3.95M|                int prev_oparg = prev_instr ? prev_instr->i_oparg : 0;
  ------------------
  |  Branch (1154:34): [True: 3.46M, False: 492k]
  ------------------
 1155|  3.95M|                int opcode = instr->i_opcode;
 1156|  3.95M|                bool is_redundant_pair = false;
 1157|  3.95M|                if (opcode == POP_TOP) {
  ------------------
  |  |   42|  3.95M|#define POP_TOP                                 29
  ------------------
  |  Branch (1157:21): [True: 259k, False: 3.69M]
  ------------------
 1158|   259k|                   if (loads_const(prev_opcode)) {
  ------------------
  |  Branch (1158:24): [True: 6.05k, False: 253k]
  ------------------
 1159|  6.05k|                       is_redundant_pair = true;
 1160|  6.05k|                   }
 1161|   253k|                   else if (prev_opcode == COPY && prev_oparg == 1) {
  ------------------
  |  |   70|   507k|#define COPY                                    57
  ------------------
  |  Branch (1161:29): [True: 134, False: 253k]
  |  Branch (1161:52): [True: 134, False: 0]
  ------------------
 1162|    134|                       is_redundant_pair = true;
 1163|    134|                   }
 1164|   259k|                }
 1165|  3.95M|                if (is_redundant_pair) {
  ------------------
  |  Branch (1165:21): [True: 6.18k, False: 3.94M]
  ------------------
 1166|  6.18k|                    INSTR_SET_OP0(prev_instr, NOP);
  ------------------
  |  |  125|  6.18k|    do { \
  |  |  126|  6.18k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  6.18k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  6.18k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  6.18k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  6.18k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 6.18k]
  |  |  ------------------
  ------------------
  |  Branch (1166:21): [True: 6.18k, False: 0]
  ------------------
 1167|  6.18k|                    INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|  6.18k|    do { \
  |  |  126|  6.18k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  6.18k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  6.18k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  6.18k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  6.18k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 6.18k]
  |  |  ------------------
  ------------------
  |  Branch (1167:21): [True: 6.18k, False: 0]
  ------------------
 1168|  6.18k|                    done = false;
 1169|  6.18k|                }
 1170|  3.95M|            }
 1171|   553k|            if ((instr && is_jump(instr)) || !BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  253|   319k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  ------------------
  |  Branch (1171:18): [True: 493k, False: 60.0k]
  |  Branch (1171:27): [True: 234k, False: 259k]
  |  Branch (1171:46): [True: 151k, False: 167k]
  ------------------
 1172|   386k|                instr = NULL;
 1173|   386k|            }
 1174|   553k|        }
 1175|  75.8k|    }
 1176|  74.3k|    return SUCCESS;
  ------------------
  |  |   21|  74.3k|#define SUCCESS 0
  ------------------
 1177|  74.3k|}
flowgraph.c:basicblock_remove_redundant_nops:
 1062|  3.60M|basicblock_remove_redundant_nops(basicblock *bb) {
 1063|       |    /* Remove NOPs when legal to do so. */
 1064|  3.60M|    int dest = 0;
 1065|  3.60M|    int prev_lineno = -1;
 1066|  28.2M|    for (int src = 0; src < bb->b_iused; src++) {
  ------------------
  |  Branch (1066:23): [True: 24.6M, False: 3.60M]
  ------------------
 1067|  24.6M|        int lineno = bb->b_instr[src].i_loc.lineno;
 1068|  24.6M|        if (bb->b_instr[src].i_opcode == NOP) {
  ------------------
  |  |   38|  24.6M|#define NOP                                     25
  ------------------
  |  Branch (1068:13): [True: 1.42M, False: 23.2M]
  ------------------
 1069|       |            /* Eliminate no-op if it doesn't have a line number */
 1070|  1.42M|            if (lineno < 0) {
  ------------------
  |  Branch (1070:17): [True: 1.13M, False: 280k]
  ------------------
 1071|  1.13M|                continue;
 1072|  1.13M|            }
 1073|       |            /* or, if the previous instruction had the same line number. */
 1074|   280k|            if (prev_lineno == lineno) {
  ------------------
  |  Branch (1074:17): [True: 175k, False: 104k]
  ------------------
 1075|   175k|                continue;
 1076|   175k|            }
 1077|       |            /* or, if the next instruction has same line number or no line number */
 1078|   104k|            if (src < bb->b_iused - 1) {
  ------------------
  |  Branch (1078:17): [True: 95.6k, False: 8.74k]
  ------------------
 1079|  95.6k|                int next_lineno = bb->b_instr[src+1].i_loc.lineno;
 1080|  95.6k|                if (next_lineno == lineno) {
  ------------------
  |  Branch (1080:21): [True: 72.8k, False: 22.8k]
  ------------------
 1081|  72.8k|                    continue;
 1082|  72.8k|                }
 1083|  22.8k|                if (next_lineno < 0) {
  ------------------
  |  Branch (1083:21): [True: 8.06k, False: 14.7k]
  ------------------
 1084|  8.06k|                    bb->b_instr[src+1].i_loc = bb->b_instr[src].i_loc;
 1085|  8.06k|                    continue;
 1086|  8.06k|                }
 1087|  22.8k|            }
 1088|  8.74k|            else {
 1089|  8.74k|                basicblock *next = next_nonempty_block(bb->b_next);
 1090|       |                /* or if last instruction in BB and next BB has same line number */
 1091|  8.74k|                if (next) {
  ------------------
  |  Branch (1091:21): [True: 8.74k, False: 0]
  ------------------
 1092|  8.74k|                    location next_loc = NO_LOCATION;
 1093|  9.68k|                    for (int next_i=0; next_i < next->b_iused; next_i++) {
  ------------------
  |  Branch (1093:40): [True: 9.68k, False: 3]
  ------------------
 1094|  9.68k|                        cfg_instr *instr = &next->b_instr[next_i];
 1095|  9.68k|                        if (instr->i_opcode == NOP && instr->i_loc.lineno < 0) {
  ------------------
  |  |   38|  19.3k|#define NOP                                     25
  ------------------
  |  Branch (1095:29): [True: 5.75k, False: 3.92k]
  |  Branch (1095:55): [True: 938, False: 4.81k]
  ------------------
 1096|       |                            /* Skip over NOPs without a location, they will be removed */
 1097|    938|                            continue;
 1098|    938|                        }
 1099|  8.74k|                        next_loc = instr->i_loc;
 1100|  8.74k|                        break;
 1101|  9.68k|                    }
 1102|  8.74k|                    if (lineno == next_loc.lineno) {
  ------------------
  |  Branch (1102:25): [True: 1.72k, False: 7.02k]
  ------------------
 1103|  1.72k|                        continue;
 1104|  1.72k|                    }
 1105|  8.74k|                }
 1106|  8.74k|            }
 1107|       |
 1108|   104k|        }
 1109|  23.2M|        if (dest != src) {
  ------------------
  |  Branch (1109:13): [True: 2.10M, False: 21.1M]
  ------------------
 1110|  2.10M|            bb->b_instr[dest] = bb->b_instr[src];
 1111|  2.10M|        }
 1112|  23.2M|        dest++;
 1113|  23.2M|        prev_lineno = lineno;
 1114|  23.2M|    }
 1115|  3.60M|    assert(dest <= bb->b_iused);
  ------------------
  |  Branch (1115:5): [True: 3.60M, False: 0]
  ------------------
 1116|  3.60M|    int num_removed = bb->b_iused - dest;
 1117|  3.60M|    bb->b_iused = dest;
 1118|  3.60M|    memset(&bb->b_instr[dest], 0, sizeof(cfg_instr) * num_removed);
 1119|  3.60M|    return num_removed;
 1120|  3.60M|}
flowgraph.c:next_nonempty_block:
  504|  1.52M|{
  505|  1.61M|    while (b && b->b_iused == 0) {
  ------------------
  |  Branch (505:12): [True: 1.61M, False: 382]
  |  Branch (505:17): [True: 87.7k, False: 1.52M]
  ------------------
  506|  87.7k|        b = b->b_next;
  507|  87.7k|    }
  508|  1.52M|    return b;
  509|  1.52M|}
flowgraph.c:remove_redundant_nops_and_jumps:
 2651|   154k|{
 2652|   154k|    int removed_nops, removed_jumps;
 2653|   163k|    do {
 2654|       |        /* Convergence is guaranteed because the number of
 2655|       |         * redundant jumps and nops only decreases.
 2656|       |         */
 2657|   163k|        removed_nops = remove_redundant_nops(g);
 2658|   163k|        RETURN_IF_ERROR(removed_nops);
  ------------------
  |  |   25|   163k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 163k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2659|   163k|        removed_jumps = remove_redundant_jumps(g);
 2660|   163k|        RETURN_IF_ERROR(removed_jumps);
  ------------------
  |  |   25|   163k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 163k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2661|   163k|    } while(removed_nops + removed_jumps > 0);
  ------------------
  |  Branch (2661:13): [True: 8.35k, False: 154k]
  ------------------
 2662|   154k|    return SUCCESS;
  ------------------
  |  |   21|   154k|#define SUCCESS 0
  ------------------
 2663|   154k|}
flowgraph.c:remove_redundant_nops:
 1123|   311k|remove_redundant_nops(cfg_builder *g) {
 1124|   311k|    int changes = 0;
 1125|  3.36M|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1125:43): [True: 3.05M, False: 311k]
  ------------------
 1126|  3.05M|        int change = basicblock_remove_redundant_nops(b);
 1127|  3.05M|        RETURN_IF_ERROR(change);
  ------------------
  |  |   25|  3.05M|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3.05M]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1128|  3.05M|        changes += change;
 1129|  3.05M|    }
 1130|   311k|    return changes;
 1131|   311k|}
flowgraph.c:remove_redundant_jumps:
 1180|   163k|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|   163k|    int changes = 0;
 1190|  2.16M|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1190:43): [True: 1.99M, False: 163k]
  ------------------
 1191|  1.99M|        cfg_instr *last = basicblock_last_instr(b);
 1192|  1.99M|        if (last == NULL) {
  ------------------
  |  Branch (1192:13): [True: 246k, False: 1.75M]
  ------------------
 1193|   246k|            continue;
 1194|   246k|        }
 1195|  1.99M|        assert(!IS_ASSEMBLER_OPCODE(last->i_opcode));
  ------------------
  |  Branch (1195:9): [True: 0, False: 1.75M]
  |  Branch (1195:9): [True: 0, False: 1.75M]
  |  Branch (1195:9): [True: 0, False: 1.75M]
  ------------------
 1196|  1.75M|        if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|  1.75M|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|  3.50M|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 66.9k, False: 1.68M]
  |  |  ------------------
  |  |   41|  1.75M|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|  3.43M|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 322k, False: 1.36M]
  |  |  ------------------
  |  |   42|  1.75M|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|  3.11M|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 1.36M]
  |  |  ------------------
  |  |   43|  1.75M|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|  3.11M|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 1.36M]
  |  |  ------------------
  |  |   44|  1.75M|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|  1.36M|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 1.36M]
  |  |  ------------------
  ------------------
 1197|   389k|            basicblock* jump_target = next_nonempty_block(last->i_target);
 1198|   389k|            if (jump_target == NULL) {
  ------------------
  |  Branch (1198:17): [True: 0, False: 389k]
  ------------------
 1199|      0|                PyErr_SetString(PyExc_SystemError, "jump with NULL target");
 1200|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1201|      0|            }
 1202|   389k|            basicblock *next = next_nonempty_block(b->b_next);
 1203|   389k|            if (jump_target == next) {
  ------------------
  |  Branch (1203:17): [True: 10.8k, False: 378k]
  ------------------
 1204|  10.8k|                changes++;
 1205|  10.8k|                INSTR_SET_OP0(last, NOP);
  ------------------
  |  |  125|  10.8k|    do { \
  |  |  126|  10.8k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  10.8k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  10.8k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  10.8k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  10.8k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
  |  Branch (1205:17): [True: 10.8k, False: 0]
  ------------------
 1206|  10.8k|            }
 1207|   389k|        }
 1208|  1.75M|    }
 1209|       |
 1210|   163k|    return changes;
 1211|   163k|}
flowgraph.c:remove_unused_consts:
 3308|  74.3k|{
 3309|  74.3k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (3309:5): [True: 74.3k, False: 0]
  ------------------
 3310|  74.3k|    Py_ssize_t nconsts = PyList_GET_SIZE(consts);
  ------------------
  |  |   38|  74.3k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3311|  74.3k|    if (nconsts == 0) {
  ------------------
  |  Branch (3311:9): [True: 105, False: 74.2k]
  ------------------
 3312|    105|        return SUCCESS;  /* nothing to do */
  ------------------
  |  |   21|    105|#define SUCCESS 0
  ------------------
 3313|    105|    }
 3314|       |
 3315|  74.2k|    Py_ssize_t *index_map = NULL;
 3316|  74.2k|    Py_ssize_t *reverse_index_map = NULL;
 3317|  74.2k|    int err = ERROR;
  ------------------
  |  |   22|  74.2k|#define ERROR -1
  ------------------
 3318|       |
 3319|  74.2k|    index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
 3320|  74.2k|    if (index_map == NULL) {
  ------------------
  |  Branch (3320:9): [True: 0, False: 74.2k]
  ------------------
 3321|      0|        PyErr_NoMemory();
 3322|      0|        goto end;
 3323|      0|    }
 3324|   498k|    for (Py_ssize_t i = 1; i < nconsts; i++) {
  ------------------
  |  Branch (3324:28): [True: 424k, False: 74.2k]
  ------------------
 3325|   424k|        index_map[i] = -1;
 3326|   424k|    }
 3327|       |    // The first constant may be docstring; keep it always.
 3328|  74.2k|    index_map[0] = 0;
 3329|       |
 3330|       |    /* mark used consts */
 3331|   587k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3331:38): [True: 512k, False: 74.2k]
  ------------------
 3332|  4.12M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3332:25): [True: 3.61M, False: 512k]
  ------------------
 3333|  3.61M|            int opcode = b->b_instr[i].i_opcode;
 3334|  3.61M|            if (OPCODE_HAS_CONST(opcode)) {
  ------------------
  |  | 1063|  3.61M|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1044|  3.61M|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1063:30): [True: 359k, False: 3.25M]
  |  |  ------------------
  ------------------
 3335|   359k|                int index = b->b_instr[i].i_oparg;
 3336|   359k|                index_map[index] = index;
 3337|   359k|            }
 3338|  3.61M|        }
 3339|   512k|    }
 3340|       |    /* now index_map[i] == i if consts[i] is used, -1 otherwise */
 3341|       |    /* condense consts */
 3342|  74.2k|    Py_ssize_t n_used_consts = 0;
 3343|   572k|    for (Py_ssize_t i = 0; i < nconsts; i++) {
  ------------------
  |  Branch (3343:28): [True: 498k, False: 74.2k]
  ------------------
 3344|   498k|        if (index_map[i] != -1) {
  ------------------
  |  Branch (3344:13): [True: 212k, False: 285k]
  ------------------
 3345|   212k|            assert(index_map[i] == i);
  ------------------
  |  Branch (3345:13): [True: 212k, False: 0]
  ------------------
 3346|   212k|            index_map[n_used_consts++] = index_map[i];
 3347|   212k|        }
 3348|   498k|    }
 3349|  74.2k|    if (n_used_consts == nconsts) {
  ------------------
  |  Branch (3349:9): [True: 18.4k, False: 55.8k]
  ------------------
 3350|       |        /* nothing to do */
 3351|  18.4k|        err = SUCCESS;
  ------------------
  |  |   21|  18.4k|#define SUCCESS 0
  ------------------
 3352|  18.4k|        goto end;
 3353|  18.4k|    }
 3354|       |
 3355|       |    /* move all used consts to the beginning of the consts list */
 3356|  74.2k|    assert(n_used_consts < nconsts);
  ------------------
  |  Branch (3356:5): [True: 55.8k, False: 0]
  ------------------
 3357|   211k|    for (Py_ssize_t i = 0; i < n_used_consts; i++) {
  ------------------
  |  Branch (3357:28): [True: 155k, False: 55.8k]
  ------------------
 3358|   155k|        Py_ssize_t old_index = index_map[i];
 3359|   155k|        assert(i <= old_index && old_index < nconsts);
  ------------------
  |  Branch (3359:9): [True: 155k, False: 0]
  |  Branch (3359:9): [True: 155k, False: 0]
  ------------------
 3360|   155k|        if (i != old_index) {
  ------------------
  |  Branch (3360:13): [True: 59.7k, False: 96.0k]
  ------------------
 3361|  59.7k|            PyObject *value = PyList_GET_ITEM(consts, index_map[i]);
  ------------------
  |  |   40|  59.7k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  59.7k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  59.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3361:31): [True: 59.7k, False: 0]
  ------------------
 3362|  59.7k|            assert(value != NULL);
  ------------------
  |  Branch (3362:13): [True: 59.7k, False: 0]
  ------------------
 3363|  59.7k|            PyList_SetItem(consts, i, Py_NewRef(value));
  ------------------
  |  |  647|  59.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  59.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  59.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3364|  59.7k|        }
 3365|   155k|    }
 3366|       |
 3367|       |    /* truncate the consts list at its new size */
 3368|  55.8k|    if (PyList_SetSlice(consts, n_used_consts, nconsts, NULL) < 0) {
  ------------------
  |  Branch (3368:9): [True: 0, False: 55.8k]
  ------------------
 3369|      0|        goto end;
 3370|      0|    }
 3371|       |    /* adjust const indices in the bytecode */
 3372|  55.8k|    reverse_index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
 3373|  55.8k|    if (reverse_index_map == NULL) {
  ------------------
  |  Branch (3373:9): [True: 0, False: 55.8k]
  ------------------
 3374|      0|        PyErr_NoMemory();
 3375|      0|        goto end;
 3376|      0|    }
 3377|   497k|    for (Py_ssize_t i = 0; i < nconsts; i++) {
  ------------------
  |  Branch (3377:28): [True: 441k, False: 55.8k]
  ------------------
 3378|   441k|        reverse_index_map[i] = -1;
 3379|   441k|    }
 3380|   211k|    for (Py_ssize_t i = 0; i < n_used_consts; i++) {
  ------------------
  |  Branch (3380:28): [True: 155k, False: 55.8k]
  ------------------
 3381|   155k|        assert(index_map[i] != -1);
  ------------------
  |  Branch (3381:9): [True: 155k, False: 0]
  ------------------
 3382|   155k|        assert(reverse_index_map[index_map[i]] == -1);
  ------------------
  |  Branch (3382:9): [True: 155k, False: 0]
  ------------------
 3383|   155k|        reverse_index_map[index_map[i]] = i;
 3384|   155k|    }
 3385|       |
 3386|   369k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3386:38): [True: 313k, False: 55.8k]
  ------------------
 3387|  2.86M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3387:25): [True: 2.55M, False: 313k]
  ------------------
 3388|  2.55M|            int opcode = b->b_instr[i].i_opcode;
 3389|  2.55M|            if (OPCODE_HAS_CONST(opcode)) {
  ------------------
  |  | 1063|  2.55M|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1044|  2.55M|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1063:30): [True: 310k, False: 2.24M]
  |  |  ------------------
  ------------------
 3390|   310k|                int index = b->b_instr[i].i_oparg;
 3391|   310k|                assert(reverse_index_map[index] >= 0);
  ------------------
  |  Branch (3391:17): [True: 310k, False: 0]
  ------------------
 3392|   310k|                assert(reverse_index_map[index] < n_used_consts);
  ------------------
  |  Branch (3392:17): [True: 310k, False: 0]
  ------------------
 3393|   310k|                b->b_instr[i].i_oparg = (int)reverse_index_map[index];
 3394|   310k|            }
 3395|  2.55M|        }
 3396|   313k|    }
 3397|       |
 3398|  55.8k|    err = SUCCESS;
  ------------------
  |  |   21|  55.8k|#define SUCCESS 0
  ------------------
 3399|  74.2k|end:
 3400|  74.2k|    PyMem_Free(index_map);
 3401|  74.2k|    PyMem_Free(reverse_index_map);
 3402|  74.2k|    return err;
 3403|  55.8k|}
flowgraph.c:add_checks_for_loads_of_uninitialized_variables:
 3411|  74.3k|{
 3412|  74.3k|    if (nlocals == 0) {
  ------------------
  |  Branch (3412:9): [True: 30.1k, False: 44.2k]
  ------------------
 3413|  30.1k|        return SUCCESS;
  ------------------
  |  |   21|  30.1k|#define SUCCESS 0
  ------------------
 3414|  30.1k|    }
 3415|  44.2k|    if (nlocals > 64) {
  ------------------
  |  Branch (3415:9): [True: 170, False: 44.0k]
  ------------------
 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|    170|        if (fast_scan_many_locals(entryblock, nlocals) < 0) {
  ------------------
  |  Branch (3419:13): [True: 0, False: 170]
  ------------------
 3420|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3421|      0|        }
 3422|    170|        nlocals = 64;
 3423|    170|    }
 3424|  44.2k|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3425|  44.2k|    if (stack == NULL) {
  ------------------
  |  Branch (3425:9): [True: 0, False: 44.2k]
  ------------------
 3426|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3427|      0|    }
 3428|  44.2k|    basicblock **sp = stack;
 3429|       |
 3430|       |    // First origin of being uninitialized:
 3431|       |    // The non-parameter locals in the entry block.
 3432|  44.2k|    uint64_t start_mask = 0;
 3433|   118k|    for (int i = nparams; i < nlocals; i++) {
  ------------------
  |  Branch (3433:27): [True: 74.1k, False: 44.2k]
  ------------------
 3434|  74.1k|        start_mask |= (uint64_t)1 << i;
 3435|  74.1k|    }
 3436|  44.2k|    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|   382k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3441:38): [True: 338k, False: 44.2k]
  ------------------
 3442|   338k|        scan_block_for_locals(b, &sp);
 3443|   338k|    }
 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|   109k|    while (sp > stack) {
  ------------------
  |  Branch (3446:12): [True: 65.2k, False: 44.2k]
  ------------------
 3447|  65.2k|        basicblock *b = *--sp;
 3448|       |        // mark as no longer on stack
 3449|  65.2k|        b->b_visited = 0;
 3450|  65.2k|        scan_block_for_locals(b, &sp);
 3451|  65.2k|    }
 3452|  44.2k|    PyMem_Free(stack);
 3453|  44.2k|    return SUCCESS;
  ------------------
  |  |   21|  44.2k|#define SUCCESS 0
  ------------------
 3454|  44.2k|}
flowgraph.c:fast_scan_many_locals:
 3261|    170|{
 3262|    170|    assert(nlocals > 64);
  ------------------
  |  Branch (3262:5): [True: 170, False: 0]
  ------------------
 3263|    170|    Py_ssize_t *states = PyMem_Calloc(nlocals - 64, sizeof(Py_ssize_t));
 3264|    170|    if (states == NULL) {
  ------------------
  |  Branch (3264:9): [True: 0, False: 170]
  ------------------
 3265|      0|        PyErr_NoMemory();
 3266|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3267|      0|    }
 3268|    170|    Py_ssize_t blocknum = 0;
 3269|       |    // state[i - 64] == blocknum if local i is guaranteed to
 3270|       |    // be initialized, i.e., if it has had a previous LOAD_FAST or
 3271|       |    // STORE_FAST within that basicblock (not followed by
 3272|       |    // DELETE_FAST/LOAD_FAST_AND_CLEAR/STORE_FAST_MAYBE_NULL).
 3273|  3.69k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3273:38): [True: 3.52k, False: 170]
  ------------------
 3274|  3.52k|        blocknum++;
 3275|  76.8k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3275:25): [True: 73.2k, False: 3.52k]
  ------------------
 3276|  73.2k|            cfg_instr *instr = &b->b_instr[i];
 3277|  73.2k|            assert(instr->i_opcode != EXTENDED_ARG);
  ------------------
  |  Branch (3277:13): [True: 73.2k, False: 0]
  ------------------
 3278|  73.2k|            int arg = instr->i_oparg;
 3279|  73.2k|            if (arg < 64) {
  ------------------
  |  Branch (3279:17): [True: 67.6k, False: 5.62k]
  ------------------
 3280|  67.6k|                continue;
 3281|  67.6k|            }
 3282|  73.2k|            assert(arg >= 0);
  ------------------
  |  Branch (3282:13): [True: 5.62k, False: 0]
  ------------------
 3283|  5.62k|            switch (instr->i_opcode) {
  ------------------
  |  Branch (3283:21): [True: 2.72k, False: 2.89k]
  ------------------
 3284|    323|                case DELETE_FAST:
  ------------------
  |  |   73|    323|#define DELETE_FAST                             60
  ------------------
  |  Branch (3284:17): [True: 323, False: 5.29k]
  ------------------
 3285|    583|                case LOAD_FAST_AND_CLEAR:
  ------------------
  |  |   94|    583|#define LOAD_FAST_AND_CLEAR                     81
  ------------------
  |  Branch (3285:17): [True: 260, False: 5.36k]
  ------------------
 3286|  1.10k|                case STORE_FAST_MAYBE_NULL:
  ------------------
  |  |  254|  1.10k|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3286:17): [True: 520, False: 5.10k]
  ------------------
 3287|  1.10k|                    states[arg - 64] = blocknum - 1;
 3288|  1.10k|                    break;
 3289|  1.40k|                case STORE_FAST:
  ------------------
  |  |  121|  1.40k|#define STORE_FAST                             108
  ------------------
  |  Branch (3289:17): [True: 1.40k, False: 4.21k]
  ------------------
 3290|  1.40k|                    states[arg - 64] = blocknum;
 3291|  1.40k|                    break;
 3292|    216|                case LOAD_FAST:
  ------------------
  |  |   93|    216|#define LOAD_FAST                               80
  ------------------
  |  Branch (3292:17): [True: 216, False: 5.40k]
  ------------------
 3293|    216|                    if (states[arg - 64] != blocknum) {
  ------------------
  |  Branch (3293:25): [True: 102, False: 114]
  ------------------
 3294|    102|                        instr->i_opcode = LOAD_FAST_CHECK;
  ------------------
  |  |   97|    102|#define LOAD_FAST_CHECK                         84
  ------------------
 3295|    102|                    }
 3296|    216|                    states[arg - 64] = blocknum;
 3297|    216|                    break;
 3298|  5.62k|                    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 3299|  5.62k|            }
 3300|  5.62k|        }
 3301|  3.52k|    }
 3302|    170|    PyMem_Free(states);
 3303|    170|    return SUCCESS;
  ------------------
  |  |   21|    170|#define SUCCESS 0
  ------------------
 3304|    170|}
flowgraph.c:maybe_push:
 3196|  1.31M|{
 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.31M|    uint64_t both = b->b_unsafe_locals_mask | unsafe_mask;
 3201|  1.31M|    if (b->b_unsafe_locals_mask != both) {
  ------------------
  |  Branch (3201:9): [True: 65.4k, False: 1.25M]
  ------------------
 3202|  65.4k|        b->b_unsafe_locals_mask = both;
 3203|       |        // More work left to do.
 3204|  65.4k|        if (!b->b_visited) {
  ------------------
  |  Branch (3204:13): [True: 65.2k, False: 194]
  ------------------
 3205|       |            // not on the stack, so push it.
 3206|  65.2k|            *(*sp)++ = b;
 3207|  65.2k|            b->b_visited = 1;
 3208|  65.2k|        }
 3209|  65.4k|    }
 3210|  1.31M|}
flowgraph.c:scan_block_for_locals:
 3214|   403k|{
 3215|       |    // bit i is set if local i is potentially uninitialized
 3216|   403k|    uint64_t unsafe_mask = b->b_unsafe_locals_mask;
 3217|  2.82M|    for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3217:21): [True: 2.42M, False: 403k]
  ------------------
 3218|  2.42M|        cfg_instr *instr = &b->b_instr[i];
 3219|  2.42M|        assert(instr->i_opcode != EXTENDED_ARG);
  ------------------
  |  Branch (3219:9): [True: 2.42M, False: 0]
  ------------------
 3220|  2.42M|        if (instr->i_except != NULL) {
  ------------------
  |  Branch (3220:13): [True: 919k, False: 1.50M]
  ------------------
 3221|   919k|            maybe_push(instr->i_except, unsafe_mask, sp);
 3222|   919k|        }
 3223|  2.42M|        if (instr->i_oparg >= 64) {
  ------------------
  |  Branch (3223:13): [True: 240k, False: 2.18M]
  ------------------
 3224|   240k|            continue;
 3225|   240k|        }
 3226|  2.42M|        assert(instr->i_oparg >= 0);
  ------------------
  |  Branch (3226:9): [True: 2.18M, False: 0]
  ------------------
 3227|  2.18M|        uint64_t bit = (uint64_t)1 << instr->i_oparg;
 3228|  2.18M|        switch (instr->i_opcode) {
  ------------------
  |  Branch (3228:17): [True: 376k, False: 1.80M]
  ------------------
 3229|  4.11k|            case DELETE_FAST:
  ------------------
  |  |   73|  4.11k|#define DELETE_FAST                             60
  ------------------
  |  Branch (3229:13): [True: 4.11k, False: 2.17M]
  ------------------
 3230|  27.0k|            case LOAD_FAST_AND_CLEAR:
  ------------------
  |  |   94|  27.0k|#define LOAD_FAST_AND_CLEAR                     81
  ------------------
  |  Branch (3230:13): [True: 22.9k, False: 2.16M]
  ------------------
 3231|  73.2k|            case STORE_FAST_MAYBE_NULL:
  ------------------
  |  |  254|  73.2k|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3231:13): [True: 46.1k, False: 2.13M]
  ------------------
 3232|  73.2k|                unsafe_mask |= bit;
 3233|  73.2k|                break;
 3234|   237k|            case STORE_FAST:
  ------------------
  |  |  121|   237k|#define STORE_FAST                             108
  ------------------
  |  Branch (3234:13): [True: 237k, False: 1.94M]
  ------------------
 3235|   237k|                unsafe_mask &= ~bit;
 3236|   237k|                break;
 3237|  3.77k|            case LOAD_FAST_CHECK:
  ------------------
  |  |   97|  3.77k|#define LOAD_FAST_CHECK                         84
  ------------------
  |  Branch (3237:13): [True: 3.77k, False: 2.18M]
  ------------------
 3238|       |                // If this doesn't raise, then the local is defined.
 3239|  3.77k|                unsafe_mask &= ~bit;
 3240|  3.77k|                break;
 3241|  61.6k|            case LOAD_FAST:
  ------------------
  |  |   93|  61.6k|#define LOAD_FAST                               80
  ------------------
  |  Branch (3241:13): [True: 61.6k, False: 2.12M]
  ------------------
 3242|  61.6k|                if (unsafe_mask & bit) {
  ------------------
  |  Branch (3242:21): [True: 3.77k, False: 57.8k]
  ------------------
 3243|  3.77k|                    instr->i_opcode = LOAD_FAST_CHECK;
  ------------------
  |  |   97|  3.77k|#define LOAD_FAST_CHECK                         84
  ------------------
 3244|  3.77k|                }
 3245|  61.6k|                unsafe_mask &= ~bit;
 3246|  61.6k|                break;
 3247|  2.18M|        }
 3248|  2.18M|    }
 3249|   403k|    if (b->b_next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  253|   349k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 188k, False: 160k]
  |  |  ------------------
  ------------------
  |  Branch (3249:9): [True: 349k, False: 54.3k]
  ------------------
 3250|   188k|        maybe_push(b->b_next, unsafe_mask, sp);
 3251|   188k|    }
 3252|   403k|    cfg_instr *last = basicblock_last_instr(b);
 3253|   403k|    if (last && is_jump(last)) {
  ------------------
  |  Branch (3253:9): [True: 365k, False: 37.8k]
  |  Branch (3253:17): [True: 163k, False: 202k]
  ------------------
 3254|   163k|        assert(last->i_target != NULL);
  ------------------
  |  Branch (3254:9): [True: 163k, False: 0]
  ------------------
 3255|   163k|        maybe_push(last->i_target, unsafe_mask, sp);
 3256|   163k|    }
 3257|   403k|}
flowgraph.c:push_cold_blocks_to_end:
 3539|  74.3k|push_cold_blocks_to_end(cfg_builder *g) {
 3540|  74.3k|    basicblock *entryblock = g->g_entryblock;
 3541|  74.3k|    if (entryblock->b_next == NULL) {
  ------------------
  |  Branch (3541:9): [True: 20.0k, False: 54.3k]
  ------------------
 3542|       |        /* single basicblock, no need to reorder */
 3543|  20.0k|        return SUCCESS;
  ------------------
  |  |   21|  20.0k|#define SUCCESS 0
  ------------------
 3544|  20.0k|    }
 3545|  54.3k|    RETURN_IF_ERROR(mark_cold(entryblock));
  ------------------
  |  |   25|  54.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 54.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3546|       |
 3547|  54.3k|    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|   559k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3551:38): [True: 505k, False: 54.3k]
  ------------------
 3552|   505k|        if (b->b_cold && BB_HAS_FALLTHROUGH(b) && b->b_next && b->b_next->b_warm) {
  ------------------
  |  |  253|   717k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 114k, False: 98.5k]
  |  |  ------------------
  ------------------
  |  Branch (3552:13): [True: 212k, False: 292k]
  |  Branch (3552:51): [True: 114k, False: 0]
  |  Branch (3552:64): [True: 11.5k, False: 102k]
  ------------------
 3553|  11.5k|            basicblock *explicit_jump = cfg_builder_new_block(g);
 3554|  11.5k|            if (explicit_jump == NULL) {
  ------------------
  |  Branch (3554:17): [True: 0, False: 11.5k]
  ------------------
 3555|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3556|      0|            }
 3557|  11.5k|            if (!IS_LABEL(b->b_next->b_label)) {
  ------------------
  |  |   96|  11.5k|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|  11.5k|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  ------------------
  |  Branch (3557:17): [True: 0, False: 11.5k]
  ------------------
 3558|      0|                b->b_next->b_label.id = next_lbl++;
 3559|      0|            }
 3560|  11.5k|            RETURN_IF_ERROR(
  ------------------
  |  |   25|  11.5k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 11.5k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3561|  11.5k|                basicblock_addop(explicit_jump, JUMP_NO_INTERRUPT,
 3562|  11.5k|                                 b->b_next->b_label.id, NO_LOCATION, NULL));
 3563|  11.5k|            explicit_jump->b_cold = 1;
 3564|  11.5k|            explicit_jump->b_next = b->b_next;
 3565|  11.5k|            explicit_jump->b_predecessors = 1;
 3566|  11.5k|            b->b_next = explicit_jump;
 3567|       |
 3568|       |            /* set target */
 3569|  11.5k|            cfg_instr *last = basicblock_last_instr(explicit_jump);
 3570|  11.5k|            last->i_target = explicit_jump->b_next;
 3571|  11.5k|        }
 3572|   505k|    }
 3573|       |
 3574|  54.3k|    assert(!entryblock->b_cold);  /* First block can't be cold */
  ------------------
  |  Branch (3574:5): [True: 54.3k, False: 0]
  ------------------
 3575|  54.3k|    basicblock *cold_blocks = NULL;
 3576|  54.3k|    basicblock *cold_blocks_tail = NULL;
 3577|       |
 3578|  54.3k|    basicblock *b = entryblock;
 3579|  83.3k|    while(b->b_next) {
  ------------------
  |  Branch (3579:11): [True: 83.3k, False: 33]
  ------------------
 3580|  83.3k|        assert(!b->b_cold);
  ------------------
  |  Branch (3580:9): [True: 83.3k, False: 0]
  ------------------
 3581|   321k|        while (b->b_next && !b->b_next->b_cold) {
  ------------------
  |  Branch (3581:16): [True: 267k, False: 54.2k]
  |  Branch (3581:29): [True: 237k, False: 29.0k]
  ------------------
 3582|   237k|            b = b->b_next;
 3583|   237k|        }
 3584|  83.3k|        if (b->b_next == NULL) {
  ------------------
  |  Branch (3584:13): [True: 54.2k, False: 29.0k]
  ------------------
 3585|       |            /* no more cold blocks */
 3586|  54.2k|            break;
 3587|  54.2k|        }
 3588|       |
 3589|       |        /* b->b_next is the beginning of a cold streak */
 3590|  83.3k|        assert(!b->b_cold && b->b_next->b_cold);
  ------------------
  |  Branch (3590:9): [True: 29.0k, False: 0]
  |  Branch (3590:9): [True: 29.0k, False: 0]
  ------------------
 3591|       |
 3592|  29.0k|        basicblock *b_end = b->b_next;
 3593|   212k|        while (b_end->b_next && b_end->b_next->b_cold) {
  ------------------
  |  Branch (3593:16): [True: 212k, False: 33]
  |  Branch (3593:33): [True: 183k, False: 29.0k]
  ------------------
 3594|   183k|            b_end = b_end->b_next;
 3595|   183k|        }
 3596|       |
 3597|       |        /* b_end is the end of the cold streak */
 3598|  29.0k|        assert(b_end && b_end->b_cold);
  ------------------
  |  Branch (3598:9): [True: 29.0k, False: 0]
  |  Branch (3598:9): [True: 29.0k, False: 0]
  ------------------
 3599|  29.0k|        assert(b_end->b_next == NULL || !b_end->b_next->b_cold);
  ------------------
  |  Branch (3599:9): [True: 33, False: 29.0k]
  |  Branch (3599:9): [True: 29.0k, False: 0]
  ------------------
 3600|       |
 3601|  29.0k|        if (cold_blocks == NULL) {
  ------------------
  |  Branch (3601:13): [True: 6.04k, False: 23.0k]
  ------------------
 3602|  6.04k|            cold_blocks = b->b_next;
 3603|  6.04k|        }
 3604|  23.0k|        else {
 3605|  23.0k|            cold_blocks_tail->b_next = b->b_next;
 3606|  23.0k|        }
 3607|  29.0k|        cold_blocks_tail = b_end;
 3608|  29.0k|        b->b_next = b_end->b_next;
 3609|  29.0k|        b_end->b_next = NULL;
 3610|  29.0k|    }
 3611|  54.3k|    assert(b != NULL && b->b_next == NULL);
  ------------------
  |  Branch (3611:5): [True: 54.3k, False: 0]
  |  Branch (3611:5): [True: 54.3k, False: 0]
  ------------------
 3612|  54.3k|    b->b_next = cold_blocks;
 3613|       |
 3614|  54.3k|    if (cold_blocks != NULL) {
  ------------------
  |  Branch (3614:9): [True: 6.04k, False: 48.2k]
  ------------------
 3615|  6.04k|        RETURN_IF_ERROR(remove_redundant_nops_and_jumps(g));
  ------------------
  |  |   25|  6.04k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 6.04k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3616|  6.04k|    }
 3617|  54.3k|    return SUCCESS;
  ------------------
  |  |   21|  54.3k|#define SUCCESS 0
  ------------------
 3618|  54.3k|}
flowgraph.c:mark_cold:
 3489|  54.3k|mark_cold(basicblock *entryblock) {
 3490|   547k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3490:38): [True: 493k, False: 54.3k]
  ------------------
 3491|   493k|        assert(!b->b_cold && !b->b_warm);
  ------------------
  |  Branch (3491:9): [True: 493k, False: 0]
  |  Branch (3491:9): [True: 493k, False: 0]
  ------------------
 3492|   493k|    }
 3493|  54.3k|    if (mark_warm(entryblock) < 0) {
  ------------------
  |  Branch (3493:9): [True: 0, False: 54.3k]
  ------------------
 3494|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3495|      0|    }
 3496|       |
 3497|  54.3k|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3498|  54.3k|    if (stack == NULL) {
  ------------------
  |  Branch (3498:9): [True: 0, False: 54.3k]
  ------------------
 3499|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3500|      0|    }
 3501|       |
 3502|  54.3k|    basicblock **sp = stack;
 3503|   547k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3503:38): [True: 493k, False: 54.3k]
  ------------------
 3504|   493k|        if (b->b_except_handler) {
  ------------------
  |  Branch (3504:13): [True: 74.4k, False: 419k]
  ------------------
 3505|  74.4k|            assert(!b->b_warm);
  ------------------
  |  Branch (3505:13): [True: 74.4k, False: 0]
  ------------------
 3506|  74.4k|            *sp++ = b;
 3507|  74.4k|            b->b_visited = 1;
 3508|  74.4k|        }
 3509|   493k|    }
 3510|       |
 3511|   255k|    while (sp > stack) {
  ------------------
  |  Branch (3511:12): [True: 201k, False: 54.3k]
  ------------------
 3512|   201k|        basicblock *b = *(--sp);
 3513|   201k|        b->b_cold = 1;
 3514|   201k|        basicblock *next = b->b_next;
 3515|   201k|        if (next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  253|   201k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 114k, False: 87.0k]
  |  |  ------------------
  ------------------
  |  Branch (3515:13): [True: 201k, False: 33]
  ------------------
 3516|   114k|            if (!next->b_warm && !next->b_visited) {
  ------------------
  |  Branch (3516:17): [True: 102k, False: 11.5k]
  |  Branch (3516:34): [True: 100k, False: 2.59k]
  ------------------
 3517|   100k|                *sp++ = next;
 3518|   100k|                next->b_visited = 1;
 3519|   100k|            }
 3520|   114k|        }
 3521|  1.07M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3521:25): [True: 874k, False: 201k]
  ------------------
 3522|   874k|            cfg_instr *instr = &b->b_instr[i];
 3523|   874k|            if (is_jump(instr)) {
  ------------------
  |  Branch (3523:17): [True: 93.5k, False: 780k]
  ------------------
 3524|  93.5k|                assert(i == b->b_iused - 1);
  ------------------
  |  Branch (3524:17): [True: 93.5k, False: 0]
  ------------------
 3525|  93.5k|                basicblock *target = b->b_instr[i].i_target;
 3526|  93.5k|                if (!target->b_warm && !target->b_visited) {
  ------------------
  |  Branch (3526:21): [True: 86.6k, False: 6.91k]
  |  Branch (3526:40): [True: 26.7k, False: 59.9k]
  ------------------
 3527|  26.7k|                    *sp++ = target;
 3528|  26.7k|                    target->b_visited = 1;
 3529|  26.7k|                }
 3530|  93.5k|            }
 3531|   874k|        }
 3532|   201k|    }
 3533|  54.3k|    PyMem_Free(stack);
 3534|  54.3k|    return SUCCESS;
  ------------------
  |  |   21|  54.3k|#define SUCCESS 0
  ------------------
 3535|  54.3k|}
flowgraph.c:mark_warm:
 3458|  54.3k|mark_warm(basicblock *entryblock) {
 3459|  54.3k|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3460|  54.3k|    if (stack == NULL) {
  ------------------
  |  Branch (3460:9): [True: 0, False: 54.3k]
  ------------------
 3461|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3462|      0|    }
 3463|  54.3k|    basicblock **sp = stack;
 3464|       |
 3465|  54.3k|    *sp++ = entryblock;
 3466|  54.3k|    entryblock->b_visited = 1;
 3467|   282k|    while (sp > stack) {
  ------------------
  |  Branch (3467:12): [True: 227k, False: 54.3k]
  ------------------
 3468|   227k|        basicblock *b = *(--sp);
 3469|   227k|        assert(!b->b_except_handler);
  ------------------
  |  Branch (3469:9): [True: 227k, False: 0]
  ------------------
 3470|   227k|        b->b_warm = 1;
 3471|   227k|        basicblock *next = b->b_next;
 3472|   227k|        if (next && BB_HAS_FALLTHROUGH(b) && !next->b_visited) {
  ------------------
  |  |  253|   453k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 118k, False: 107k]
  |  |  ------------------
  ------------------
  |  Branch (3472:13): [True: 225k, False: 2.24k]
  |  Branch (3472:46): [True: 108k, False: 10.0k]
  ------------------
 3473|   108k|            *sp++ = next;
 3474|   108k|            next->b_visited = 1;
 3475|   108k|        }
 3476|  2.08M|        for (int i=0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3476:23): [True: 1.85M, False: 227k]
  ------------------
 3477|  1.85M|            cfg_instr *instr = &b->b_instr[i];
 3478|  1.85M|            if (is_jump(instr) && !instr->i_target->b_visited) {
  ------------------
  |  Branch (3478:17): [True: 109k, False: 1.74M]
  |  Branch (3478:35): [True: 65.5k, False: 44.1k]
  ------------------
 3479|  65.5k|                *sp++ = instr->i_target;
 3480|  65.5k|                instr->i_target->b_visited = 1;
 3481|  65.5k|            }
 3482|  1.85M|        }
 3483|   227k|    }
 3484|  54.3k|    PyMem_Free(stack);
 3485|  54.3k|    return SUCCESS;
  ------------------
  |  |   21|  54.3k|#define SUCCESS 0
  ------------------
 3486|  54.3k|}
flowgraph.c:resolve_line_numbers:
 3794|   148k|{
 3795|   148k|    RETURN_IF_ERROR(duplicate_exits_without_lineno(g));
  ------------------
  |  |   25|   148k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 148k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3796|   148k|    propagate_line_numbers(g->g_entryblock);
 3797|   148k|    return SUCCESS;
  ------------------
  |  |   21|   148k|#define SUCCESS 0
  ------------------
 3798|   148k|}
flowgraph.c:duplicate_exits_without_lineno:
 3700|   148k|{
 3701|   148k|    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|   148k|    basicblock *entryblock = g->g_entryblock;
 3706|  1.18M|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3706:38): [True: 1.03M, False: 148k]
  ------------------
 3707|  1.03M|        cfg_instr *last = basicblock_last_instr(b);
 3708|  1.03M|        if (last == NULL) {
  ------------------
  |  Branch (3708:13): [True: 131k, False: 907k]
  ------------------
 3709|   131k|            continue;
 3710|   131k|        }
 3711|   907k|        if (is_jump(last)) {
  ------------------
  |  Branch (3711:13): [True: 420k, False: 486k]
  ------------------
 3712|   420k|            basicblock *target = next_nonempty_block(last->i_target);
 3713|   420k|            if (is_exit_or_eval_check_without_lineno(target) && target->b_predecessors > 1) {
  ------------------
  |  Branch (3713:17): [True: 6.67k, False: 414k]
  |  Branch (3713:65): [True: 3.09k, False: 3.57k]
  ------------------
 3714|  3.09k|                basicblock *new_target = copy_basicblock(g, target);
 3715|  3.09k|                if (new_target == NULL) {
  ------------------
  |  Branch (3715:21): [True: 0, False: 3.09k]
  ------------------
 3716|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3717|      0|                }
 3718|  3.09k|                new_target->b_instr[0].i_loc = last->i_loc;
 3719|  3.09k|                last->i_target = new_target;
 3720|  3.09k|                target->b_predecessors--;
 3721|  3.09k|                new_target->b_predecessors = 1;
 3722|  3.09k|                new_target->b_next = target->b_next;
 3723|  3.09k|                new_target->b_label.id = next_lbl++;
 3724|  3.09k|                target->b_next = new_target;
 3725|  3.09k|            }
 3726|   420k|        }
 3727|   907k|    }
 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|  1.18M|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3731:38): [True: 1.03M, False: 148k]
  ------------------
 3732|  1.03M|        if (BB_HAS_FALLTHROUGH(b) && b->b_next && b->b_iused > 0) {
  ------------------
  |  |  253|  2.07M|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 597k, False: 440k]
  |  |  ------------------
  ------------------
  |  Branch (3732:38): [True: 499k, False: 98.3k]
  |  Branch (3732:51): [True: 466k, False: 32.7k]
  ------------------
 3733|   466k|            if (is_exit_or_eval_check_without_lineno(b->b_next)) {
  ------------------
  |  Branch (3733:17): [True: 13.7k, False: 453k]
  ------------------
 3734|  13.7k|                cfg_instr *last = basicblock_last_instr(b);
 3735|  13.7k|                assert(last != NULL);
  ------------------
  |  Branch (3735:17): [True: 13.7k, False: 0]
  ------------------
 3736|  13.7k|                b->b_next->b_instr[0].i_loc = last->i_loc;
 3737|  13.7k|            }
 3738|   466k|        }
 3739|  1.03M|    }
 3740|   148k|    return SUCCESS;
  ------------------
  |  |   21|   148k|#define SUCCESS 0
  ------------------
 3741|   148k|}
flowgraph.c:is_exit_or_eval_check_without_lineno:
 3679|   887k|is_exit_or_eval_check_without_lineno(basicblock *b) {
 3680|   887k|    if (basicblock_exits_scope(b) || basicblock_has_eval_break(b)) {
  ------------------
  |  Branch (3680:9): [True: 141k, False: 746k]
  |  Branch (3680:38): [True: 215k, False: 530k]
  ------------------
 3681|   357k|        return basicblock_has_no_lineno(b);
 3682|   357k|    }
 3683|   530k|    else {
 3684|       |        return false;
 3685|   530k|    }
 3686|   887k|}
flowgraph.c:basicblock_has_eval_break:
  361|   746k|basicblock_has_eval_break(const basicblock *b) {
  362|  4.47M|    for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (362:21): [True: 3.94M, False: 530k]
  ------------------
  363|  3.94M|        if (OPCODE_HAS_EVAL_BREAK(b->b_instr[i].i_opcode)) {
  ------------------
  |  | 1068|  3.94M|#define OPCODE_HAS_EVAL_BREAK(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_EVAL_BREAK_FLAG))
  |  |  ------------------
  |  |  |  | 1049|  3.94M|#define HAS_EVAL_BREAK_FLAG (64)
  |  |  ------------------
  |  |  |  Branch (1068:35): [True: 215k, False: 3.72M]
  |  |  ------------------
  ------------------
  364|   215k|            return true;
  365|   215k|        }
  366|  3.94M|    }
  367|   530k|    return false;
  368|   746k|}
flowgraph.c:copy_basicblock:
  257|  3.09k|{
  258|       |    /* Cannot copy a block if it has a fallthrough, since
  259|       |     * a block can only have one fallthrough predecessor.
  260|       |     */
  261|  3.09k|    assert(BB_NO_FALLTHROUGH(block));
  ------------------
  |  Branch (261:5): [True: 3.09k, False: 0]
  ------------------
  262|  3.09k|    basicblock *result = cfg_builder_new_block(g);
  263|  3.09k|    if (result == NULL) {
  ------------------
  |  Branch (263:9): [True: 0, False: 3.09k]
  ------------------
  264|      0|        return NULL;
  265|      0|    }
  266|  3.09k|    if (basicblock_append_instructions(result, block) < 0) {
  ------------------
  |  Branch (266:9): [True: 0, False: 3.09k]
  ------------------
  267|      0|        return NULL;
  268|      0|    }
  269|  3.09k|    return result;
  270|  3.09k|}
flowgraph.c:propagate_line_numbers:
 3763|   148k|{
 3764|  1.18M|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3764:38): [True: 1.03M, False: 148k]
  ------------------
 3765|  1.03M|        cfg_instr *last = basicblock_last_instr(b);
 3766|  1.03M|        if (last == NULL) {
  ------------------
  |  Branch (3766:13): [True: 131k, False: 907k]
  ------------------
 3767|   131k|            continue;
 3768|   131k|        }
 3769|       |
 3770|   907k|        location prev_location = NO_LOCATION;
 3771|  9.50M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3771:25): [True: 8.59M, False: 907k]
  ------------------
 3772|  8.59M|            maybe_propagate_location(b, i, prev_location);
 3773|  8.59M|            prev_location = b->b_instr[i].i_loc;
 3774|  8.59M|        }
 3775|   907k|        if (BB_HAS_FALLTHROUGH(b) && b->b_next->b_predecessors == 1) {
  ------------------
  |  |  253|  1.81M|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 466k, False: 440k]
  |  |  ------------------
  ------------------
  |  Branch (3775:38): [True: 286k, False: 180k]
  ------------------
 3776|   286k|            if (b->b_next->b_iused > 0) {
  ------------------
  |  Branch (3776:17): [True: 285k, False: 619]
  ------------------
 3777|   285k|                maybe_propagate_location(b->b_next, 0, prev_location);
 3778|   285k|            }
 3779|   286k|        }
 3780|   907k|        if (is_jump(last)) {
  ------------------
  |  Branch (3780:13): [True: 420k, False: 486k]
  ------------------
 3781|   420k|            basicblock *target = last->i_target;
 3782|   420k|            while (target->b_iused == 0 && target->b_predecessors == 1) {
  ------------------
  |  Branch (3782:20): [True: 457, False: 420k]
  |  Branch (3782:44): [True: 67, False: 390]
  ------------------
 3783|     67|                target = target->b_next;
 3784|     67|            }
 3785|   420k|            if (target->b_predecessors == 1) {
  ------------------
  |  Branch (3785:17): [True: 104k, False: 316k]
  ------------------
 3786|   104k|                maybe_propagate_location(target, 0, prev_location);
 3787|   104k|            }
 3788|   420k|        }
 3789|   907k|    }
 3790|   148k|}
flowgraph.c:maybe_propagate_location:
 3754|  8.98M|{
 3755|  8.98M|    assert(b->b_iused > i);
  ------------------
  |  Branch (3755:5): [True: 8.98M, False: 0]
  ------------------
 3756|  8.98M|    if (b->b_instr[i].i_loc.lineno == NO_LOCATION.lineno) {
  ------------------
  |  Branch (3756:9): [True: 599k, False: 8.38M]
  ------------------
 3757|   599k|         b->b_instr[i].i_loc = loc;
 3758|   599k|    }
 3759|  8.98M|}
flowgraph.c:convert_pseudo_conditional_jumps:
 3622|  74.3k|{
 3623|  74.3k|    basicblock *entryblock = g->g_entryblock;
 3624|   599k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3624:38): [True: 525k, False: 74.3k]
  ------------------
 3625|  4.14M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3625:25): [True: 3.62M, False: 525k]
  ------------------
 3626|  3.62M|            cfg_instr *instr = &b->b_instr[i];
 3627|  3.62M|            if (instr->i_opcode == JUMP_IF_FALSE || instr->i_opcode == JUMP_IF_TRUE) {
  ------------------
  |  |  246|  7.24M|#define JUMP_IF_FALSE                          258
  ------------------
                          if (instr->i_opcode == JUMP_IF_FALSE || instr->i_opcode == JUMP_IF_TRUE) {
  ------------------
  |  |  247|  3.61M|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (3627:17): [True: 1.98k, False: 3.61M]
  |  Branch (3627:53): [True: 1.07k, False: 3.61M]
  ------------------
 3628|  3.06k|                assert(i == b->b_iused - 1);
  ------------------
  |  Branch (3628:17): [True: 3.06k, False: 0]
  ------------------
 3629|  3.06k|                instr->i_opcode = instr->i_opcode == JUMP_IF_FALSE ?
  ------------------
  |  |  246|  3.06k|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (3629:35): [True: 1.98k, False: 1.07k]
  ------------------
 3630|  1.98k|                                          POP_JUMP_IF_FALSE : POP_JUMP_IF_TRUE;
  ------------------
  |  |  109|  1.98k|#define POP_JUMP_IF_FALSE                       96
  ------------------
                                                        POP_JUMP_IF_FALSE : POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|  4.13k|#define POP_JUMP_IF_TRUE                        99
  ------------------
 3631|  3.06k|                location loc = instr->i_loc;
 3632|  3.06k|                basicblock *except = instr->i_except;
 3633|  3.06k|                cfg_instr copy = {
 3634|  3.06k|                            .i_opcode = COPY,
  ------------------
  |  |   70|  3.06k|#define COPY                                    57
  ------------------
 3635|  3.06k|                            .i_oparg = 1,
 3636|  3.06k|                            .i_loc = loc,
 3637|  3.06k|                            .i_target = NULL,
 3638|  3.06k|                            .i_except = except,
 3639|  3.06k|                };
 3640|  3.06k|                RETURN_IF_ERROR(basicblock_insert_instruction(b, i++, &copy));
  ------------------
  |  |   25|  3.06k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3.06k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3641|  3.06k|                cfg_instr to_bool = {
 3642|  3.06k|                            .i_opcode = TO_BOOL,
  ------------------
  |  |   50|  3.06k|#define TO_BOOL                                 37
  ------------------
 3643|  3.06k|                            .i_oparg = 0,
 3644|  3.06k|                            .i_loc = loc,
 3645|  3.06k|                            .i_target = NULL,
 3646|  3.06k|                            .i_except = except,
 3647|  3.06k|                };
 3648|  3.06k|                RETURN_IF_ERROR(basicblock_insert_instruction(b, i++, &to_bool));
  ------------------
  |  |   25|  3.06k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3.06k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3649|  3.06k|            }
 3650|  3.62M|        }
 3651|   525k|    }
 3652|  74.3k|    return SUCCESS;
  ------------------
  |  |   21|  74.3k|#define SUCCESS 0
  ------------------
 3653|  74.3k|}
flowgraph.c:basicblock_insert_instruction:
  273|  46.9k|basicblock_insert_instruction(basicblock *block, int pos, cfg_instr *instr) {
  274|  46.9k|    RETURN_IF_ERROR(basicblock_next_instr(block));
  ------------------
  |  |   25|  46.9k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 46.9k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  275|   923k|    for (int i = block->b_iused - 1; i > pos; i--) {
  ------------------
  |  Branch (275:38): [True: 876k, False: 46.9k]
  ------------------
  276|   876k|        block->b_instr[i] = block->b_instr[i-1];
  277|   876k|    }
  278|  46.9k|    block->b_instr[pos] = *instr;
  279|  46.9k|    return SUCCESS;
  ------------------
  |  |   21|  46.9k|#define SUCCESS 0
  ------------------
  280|  46.9k|}
flowgraph.c:calculate_stackdepth:
  825|  74.3k|{
  826|  74.3k|    basicblock *entryblock = g->g_entryblock;
  827|   599k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (827:38): [True: 525k, False: 74.3k]
  ------------------
  828|   525k|        b->b_startdepth = INT_MIN;
  829|   525k|    }
  830|  74.3k|    basicblock **stack = make_cfg_traversal_stack(entryblock);
  831|  74.3k|    if (!stack) {
  ------------------
  |  Branch (831:9): [True: 0, False: 74.3k]
  ------------------
  832|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  833|      0|    }
  834|       |
  835|       |
  836|  74.3k|    int stackdepth = -1;
  837|  74.3k|    int maxdepth = 0;
  838|  74.3k|    basicblock **sp = stack;
  839|  74.3k|    if (stackdepth_push(&sp, entryblock, 0) < 0) {
  ------------------
  |  Branch (839:9): [True: 0, False: 74.3k]
  ------------------
  840|      0|        goto error;
  841|      0|    }
  842|   539k|    while (sp != stack) {
  ------------------
  |  Branch (842:12): [True: 465k, False: 74.3k]
  ------------------
  843|   465k|        basicblock *b = *--sp;
  844|   465k|        int depth = b->b_startdepth;
  845|   465k|        assert(depth >= 0);
  ------------------
  |  Branch (845:9): [True: 465k, False: 0]
  ------------------
  846|   465k|        basicblock *next = b->b_next;
  847|  3.87M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (847:25): [True: 3.62M, False: 245k]
  ------------------
  848|  3.62M|            cfg_instr *instr = &b->b_instr[i];
  849|  3.62M|            stack_effects effects;
  850|  3.62M|            if (get_stack_effects(instr->i_opcode, instr->i_oparg, 0, &effects) < 0) {
  ------------------
  |  Branch (850:17): [True: 0, False: 3.62M]
  ------------------
  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|  3.62M|            int new_depth = depth + effects.net;
  857|  3.62M|            if (new_depth < 0) {
  ------------------
  |  Branch (857:17): [True: 0, False: 3.62M]
  ------------------
  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|  3.62M|            maxdepth = Py_MAX(maxdepth, depth);
  ------------------
  |  |  133|  3.62M|       __extension__ \
  |  |  134|  3.62M|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  3.62M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  3.62M|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  3.62M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  3.62M|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 2.77M, False: 849k]
  |  |  ------------------
  ------------------
  863|  3.62M|            if (HAS_TARGET(instr->i_opcode) && instr->i_opcode != END_ASYNC_FOR) {
  ------------------
  |  |   23|  7.25M|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  7.25M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  3.62M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 205k, False: 3.42M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  3.42M|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  6.84M|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 42.7k, False: 3.37M]
  |  |  |  |  ------------------
  |  |  |  |   19|  3.42M|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.80M|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 10.9k, False: 3.36M]
  |  |  |  |  ------------------
  |  |  |  |   20|  3.42M|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.36M|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 20.7k, False: 3.34M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (HAS_TARGET(instr->i_opcode) && instr->i_opcode != END_ASYNC_FOR) {
  ------------------
  |  |   76|   280k|#define END_ASYNC_FOR                           63
  ------------------
  |  Branch (863:48): [True: 278k, False: 1.53k]
  ------------------
  864|   278k|                if (get_stack_effects(instr->i_opcode, instr->i_oparg, 1, &effects) < 0) {
  ------------------
  |  Branch (864:21): [True: 0, False: 278k]
  ------------------
  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|   278k|                int target_depth = depth + effects.net;
  871|   278k|                assert(target_depth >= 0); /* invalid code or bug in stackdepth() */
  ------------------
  |  Branch (871:17): [True: 278k, False: 0]
  ------------------
  872|   278k|                maxdepth = Py_MAX(maxdepth, depth);
  ------------------
  |  |  133|   278k|       __extension__ \
  |  |  134|   278k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|   278k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|   278k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|   278k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|   278k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 246k, False: 32.1k]
  |  |  ------------------
  ------------------
  873|   278k|                if (stackdepth_push(&sp, instr->i_target, target_depth) < 0) {
  ------------------
  |  Branch (873:21): [True: 0, False: 278k]
  ------------------
  874|      0|                    goto error;
  875|      0|                }
  876|   278k|            }
  877|  3.62M|            depth = new_depth;
  878|  3.62M|            assert(!IS_ASSEMBLER_OPCODE(instr->i_opcode));
  ------------------
  |  Branch (878:13): [True: 0, False: 3.62M]
  |  Branch (878:13): [True: 0, False: 3.62M]
  |  Branch (878:13): [True: 0, False: 3.62M]
  ------------------
  879|  3.62M|            if (IS_UNCONDITIONAL_JUMP_OPCODE(instr->i_opcode) ||
  ------------------
  |  |   40|  7.25M|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|  7.25M|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 14.1k, False: 3.61M]
  |  |  ------------------
  |  |   41|  3.62M|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|  7.24M|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 65.5k, False: 3.54M]
  |  |  ------------------
  |  |   42|  3.62M|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|  7.17M|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 3.54M]
  |  |  ------------------
  |  |   43|  3.62M|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|  7.17M|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 3.54M]
  |  |  ------------------
  |  |   44|  7.25M|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|  3.54M|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 3.54M]
  |  |  ------------------
  ------------------
  880|  3.54M|                IS_SCOPE_EXIT_OPCODE(instr->i_opcode))
  ------------------
  |  |   53|  3.54M|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|  7.09M|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 79.4k, False: 3.46M]
  |  |  ------------------
  |  |   54|  3.54M|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  113|  7.01M|#define RAISE_VARARGS                          100
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 21.3k, False: 3.44M]
  |  |  ------------------
  |  |   55|  3.54M|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  114|  3.44M|#define RERAISE                                101
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 38.9k, False: 3.40M]
  |  |  ------------------
  ------------------
  881|   219k|            {
  882|       |                /* remaining code is dead */
  883|   219k|                next = NULL;
  884|   219k|                break;
  885|   219k|            }
  886|  3.62M|        }
  887|   465k|        if (next != NULL) {
  ------------------
  |  Branch (887:13): [True: 245k, False: 219k]
  ------------------
  888|   245k|            assert(BB_HAS_FALLTHROUGH(b));
  ------------------
  |  Branch (888:13): [True: 245k, False: 0]
  ------------------
  889|   245k|            if (stackdepth_push(&sp, next, depth) < 0) {
  ------------------
  |  Branch (889:17): [True: 0, False: 245k]
  ------------------
  890|      0|                goto error;
  891|      0|            }
  892|   245k|        }
  893|   465k|    }
  894|  74.3k|    stackdepth = maxdepth;
  895|  74.3k|error:
  896|  74.3k|    PyMem_Free(stack);
  897|  74.3k|    return stackdepth;
  898|  74.3k|}
flowgraph.c:stackdepth_push:
  807|   598k|{
  808|   598k|    if (!(b->b_startdepth < 0 || b->b_startdepth == depth)) {
  ------------------
  |  Branch (808:11): [True: 465k, False: 133k]
  |  Branch (808:34): [True: 133k, False: 0]
  ------------------
  809|      0|        PyErr_Format(PyExc_ValueError, "Invalid CFG, inconsistent stackdepth");
  810|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  811|      0|    }
  812|   598k|    if (b->b_startdepth < depth && b->b_startdepth < 100) {
  ------------------
  |  Branch (812:9): [True: 465k, False: 133k]
  |  Branch (812:36): [True: 465k, False: 0]
  ------------------
  813|   465k|        assert(b->b_startdepth < 0);
  ------------------
  |  Branch (813:9): [True: 465k, False: 0]
  ------------------
  814|   465k|        b->b_startdepth = depth;
  815|   465k|        *(*sp)++ = b;
  816|   465k|    }
  817|   598k|    return SUCCESS;
  ------------------
  |  |   21|   598k|#define SUCCESS 0
  ------------------
  818|   598k|}
flowgraph.c:prepare_localsplus:
 4005|  74.3k|{
 4006|  74.3k|    assert(PyDict_GET_SIZE(umd->u_varnames) < INT_MAX);
  ------------------
  |  Branch (4006:5): [True: 74.3k, False: 0]
  ------------------
 4007|  74.3k|    assert(PyDict_GET_SIZE(umd->u_cellvars) < INT_MAX);
  ------------------
  |  Branch (4007:5): [True: 74.3k, False: 0]
  ------------------
 4008|  74.3k|    assert(PyDict_GET_SIZE(umd->u_freevars) < INT_MAX);
  ------------------
  |  Branch (4008:5): [True: 74.3k, False: 0]
  ------------------
 4009|  74.3k|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|  74.3k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4010|  74.3k|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|  74.3k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4011|  74.3k|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|  74.3k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4012|  74.3k|    assert(INT_MAX - nlocals - ncellvars > 0);
  ------------------
  |  Branch (4012:5): [True: 74.3k, False: 0]
  ------------------
 4013|  74.3k|    assert(INT_MAX - nlocals - ncellvars - nfreevars > 0);
  ------------------
  |  Branch (4013:5): [True: 74.3k, False: 0]
  ------------------
 4014|  74.3k|    int nlocalsplus = nlocals + ncellvars + nfreevars;
 4015|  74.3k|    int* cellfixedoffsets = build_cellfixedoffsets(umd);
 4016|  74.3k|    if (cellfixedoffsets == NULL) {
  ------------------
  |  Branch (4016:9): [True: 0, False: 74.3k]
  ------------------
 4017|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4018|      0|    }
 4019|       |
 4020|       |    // This must be called before fix_cell_offsets().
 4021|  74.3k|    if (insert_prefix_instructions(umd, g->g_entryblock, cellfixedoffsets, nfreevars)) {
  ------------------
  |  Branch (4021:9): [True: 0, False: 74.3k]
  ------------------
 4022|      0|        PyMem_Free(cellfixedoffsets);
 4023|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4024|      0|    }
 4025|       |
 4026|  74.3k|    int numdropped = fix_cell_offsets(umd, g->g_entryblock, cellfixedoffsets);
 4027|  74.3k|    PyMem_Free(cellfixedoffsets);  // At this point we're done with it.
 4028|  74.3k|    cellfixedoffsets = NULL;
 4029|  74.3k|    if (numdropped < 0) {
  ------------------
  |  Branch (4029:9): [True: 0, False: 74.3k]
  ------------------
 4030|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4031|      0|    }
 4032|       |
 4033|  74.3k|    nlocalsplus -= numdropped;
 4034|  74.3k|    return nlocalsplus;
 4035|  74.3k|}
flowgraph.c:build_cellfixedoffsets:
 3853|  74.3k|{
 3854|  74.3k|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|  74.3k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3855|  74.3k|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|  74.3k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3856|  74.3k|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|  74.3k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3857|       |
 3858|  74.3k|    int noffsets = ncellvars + nfreevars;
 3859|  74.3k|    int *fixed = PyMem_New(int, noffsets);
  ------------------
  |  |   64|  74.3k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|  74.3k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   65|  74.3k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3860|  74.3k|    if (fixed == NULL) {
  ------------------
  |  Branch (3860:9): [True: 0, False: 74.3k]
  ------------------
 3861|      0|        PyErr_NoMemory();
 3862|      0|        return NULL;
 3863|      0|    }
 3864|   122k|    for (int i = 0; i < noffsets; i++) {
  ------------------
  |  Branch (3864:21): [True: 47.8k, False: 74.3k]
  ------------------
 3865|  47.8k|        fixed[i] = nlocals + i;
 3866|  47.8k|    }
 3867|       |
 3868|  74.3k|    PyObject *varname, *cellindex;
 3869|  74.3k|    Py_ssize_t pos = 0;
 3870|  91.9k|    while (PyDict_Next(umd->u_cellvars, &pos, &varname, &cellindex)) {
  ------------------
  |  Branch (3870:12): [True: 17.5k, False: 74.3k]
  ------------------
 3871|  17.5k|        PyObject *varindex;
 3872|  17.5k|        if (PyDict_GetItemRef(umd->u_varnames, varname, &varindex) < 0) {
  ------------------
  |  Branch (3872:13): [True: 0, False: 17.5k]
  ------------------
 3873|      0|            goto error;
 3874|      0|        }
 3875|  17.5k|        if (varindex == NULL) {
  ------------------
  |  Branch (3875:13): [True: 17.1k, False: 373]
  ------------------
 3876|  17.1k|            continue;
 3877|  17.1k|        }
 3878|       |
 3879|    373|        int argoffset = PyLong_AsInt(varindex);
 3880|    373|        Py_DECREF(varindex);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3881|    373|        if (argoffset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3881:13): [True: 0, False: 373]
  |  Branch (3881:32): [True: 0, False: 0]
  ------------------
 3882|      0|            goto error;
 3883|      0|        }
 3884|       |
 3885|    373|        int oldindex = PyLong_AsInt(cellindex);
 3886|    373|        if (oldindex == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3886:13): [True: 0, False: 373]
  |  Branch (3886:31): [True: 0, False: 0]
  ------------------
 3887|      0|            goto error;
 3888|      0|        }
 3889|    373|        fixed[oldindex] = argoffset;
 3890|    373|    }
 3891|  74.3k|    return fixed;
 3892|       |
 3893|      0|error:
 3894|      0|    PyMem_Free(fixed);
 3895|       |    return NULL;
 3896|  74.3k|}
flowgraph.c:insert_prefix_instructions:
 3904|  74.3k|{
 3905|  74.3k|    assert(umd->u_firstlineno > 0);
  ------------------
  |  Branch (3905:5): [True: 74.3k, False: 0]
  ------------------
 3906|       |
 3907|       |    /* Set up cells for any variable that escapes, to be put in a closure. */
 3908|  74.3k|    const int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|  74.3k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3909|  74.3k|    if (ncellvars) {
  ------------------
  |  Branch (3909:9): [True: 15.5k, False: 58.8k]
  ------------------
 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|  15.5k|        const int nvars = ncellvars + (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|  15.5k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3914|  15.5k|        int *sorted = PyMem_RawCalloc(nvars, sizeof(int));
 3915|  15.5k|        if (sorted == NULL) {
  ------------------
  |  Branch (3915:13): [True: 0, False: 15.5k]
  ------------------
 3916|      0|            PyErr_NoMemory();
 3917|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3918|      0|        }
 3919|  33.1k|        for (int i = 0; i < ncellvars; i++) {
  ------------------
  |  Branch (3919:25): [True: 17.5k, False: 15.5k]
  ------------------
 3920|  17.5k|            sorted[fixed[i]] = i + 1;
 3921|  17.5k|        }
 3922|  53.4k|        for (int i = 0, ncellsused = 0; ncellsused < ncellvars; i++) {
  ------------------
  |  Branch (3922:41): [True: 37.8k, False: 15.5k]
  ------------------
 3923|  37.8k|            int oldindex = sorted[i] - 1;
 3924|  37.8k|            if (oldindex == -1) {
  ------------------
  |  Branch (3924:17): [True: 20.3k, False: 17.5k]
  ------------------
 3925|  20.3k|                continue;
 3926|  20.3k|            }
 3927|  17.5k|            cfg_instr make_cell = {
 3928|  17.5k|                .i_opcode = MAKE_CELL,
  ------------------
  |  |  106|  17.5k|#define MAKE_CELL                               93
  ------------------
 3929|       |                // This will get fixed in offset_derefs().
 3930|  17.5k|                .i_oparg = oldindex,
 3931|  17.5k|                .i_loc = NO_LOCATION,
 3932|  17.5k|                .i_target = NULL,
 3933|  17.5k|                .i_except = NULL,
 3934|  17.5k|            };
 3935|  17.5k|            if (basicblock_insert_instruction(entryblock, ncellsused, &make_cell) < 0) {
  ------------------
  |  Branch (3935:17): [True: 0, False: 17.5k]
  ------------------
 3936|      0|                PyMem_RawFree(sorted);
 3937|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3938|      0|            }
 3939|  17.5k|            ncellsused += 1;
 3940|  17.5k|        }
 3941|  15.5k|        PyMem_RawFree(sorted);
 3942|  15.5k|    }
 3943|       |
 3944|  74.3k|    if (nfreevars) {
  ------------------
  |  Branch (3944:9): [True: 23.2k, False: 51.1k]
  ------------------
 3945|  23.2k|        cfg_instr copy_frees = {
 3946|  23.2k|            .i_opcode = COPY_FREE_VARS,
  ------------------
  |  |   71|  23.2k|#define COPY_FREE_VARS                          58
  ------------------
 3947|  23.2k|            .i_oparg = nfreevars,
 3948|  23.2k|            .i_loc = NO_LOCATION,
 3949|  23.2k|            .i_target = NULL,
 3950|  23.2k|            .i_except = NULL,
 3951|  23.2k|        };
 3952|  23.2k|        RETURN_IF_ERROR(basicblock_insert_instruction(entryblock, 0, &copy_frees));
  ------------------
  |  |   25|  23.2k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 23.2k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3953|  23.2k|    }
 3954|       |
 3955|  74.3k|    return SUCCESS;
  ------------------
  |  |   21|  74.3k|#define SUCCESS 0
  ------------------
 3956|  74.3k|}
flowgraph.c:fix_cell_offsets:
 3960|  74.3k|{
 3961|  74.3k|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|  74.3k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3962|  74.3k|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|  74.3k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3963|  74.3k|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|  74.3k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3964|  74.3k|    int noffsets = ncellvars + nfreevars;
 3965|       |
 3966|       |    // First deal with duplicates (arg cells).
 3967|  74.3k|    int numdropped = 0;
 3968|   122k|    for (int i = 0; i < noffsets ; i++) {
  ------------------
  |  Branch (3968:21): [True: 47.8k, False: 74.3k]
  ------------------
 3969|  47.8k|        if (fixedmap[i] == i + nlocals) {
  ------------------
  |  Branch (3969:13): [True: 47.4k, False: 373]
  ------------------
 3970|  47.4k|            fixedmap[i] -= numdropped;
 3971|  47.4k|        }
 3972|    373|        else {
 3973|       |            // It was a duplicate (cell/arg).
 3974|    373|            numdropped += 1;
 3975|    373|        }
 3976|  47.8k|    }
 3977|       |
 3978|       |    // Then update offsets, either relative to locals or by cell2arg.
 3979|   599k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3979:38): [True: 525k, False: 74.3k]
  ------------------
 3980|  4.19M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3980:25): [True: 3.66M, False: 525k]
  ------------------
 3981|  3.66M|            cfg_instr *inst = &b->b_instr[i];
 3982|       |            // This is called before extended args are generated.
 3983|  3.66M|            assert(inst->i_opcode != EXTENDED_ARG);
  ------------------
  |  Branch (3983:13): [True: 3.66M, False: 0]
  ------------------
 3984|  3.66M|            int oldoffset = inst->i_oparg;
 3985|  3.66M|            switch(inst->i_opcode) {
  ------------------
  |  Branch (3985:20): [True: 104k, False: 3.56M]
  ------------------
 3986|  17.5k|                case MAKE_CELL:
  ------------------
  |  |  106|  17.5k|#define MAKE_CELL                               93
  ------------------
  |  Branch (3986:17): [True: 17.5k, False: 3.65M]
  ------------------
 3987|  54.0k|                case LOAD_CLOSURE:
  ------------------
  |  |  249|  54.0k|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (3987:17): [True: 36.5k, False: 3.63M]
  ------------------
 3988|  80.3k|                case LOAD_DEREF:
  ------------------
  |  |   92|  80.3k|#define LOAD_DEREF                              79
  ------------------
  |  Branch (3988:17): [True: 26.2k, False: 3.64M]
  ------------------
 3989|  95.2k|                case STORE_DEREF:
  ------------------
  |  |  120|  95.2k|#define STORE_DEREF                            107
  ------------------
  |  Branch (3989:17): [True: 14.9k, False: 3.65M]
  ------------------
 3990|  95.2k|                case DELETE_DEREF:
  ------------------
  |  |   72|  95.2k|#define DELETE_DEREF                            59
  ------------------
  |  Branch (3990:17): [True: 0, False: 3.66M]
  ------------------
 3991|   104k|                case LOAD_FROM_DICT_OR_DEREF:
  ------------------
  |  |   99|   104k|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
  |  Branch (3991:17): [True: 9.09k, False: 3.65M]
  ------------------
 3992|   104k|                    assert(oldoffset >= 0);
  ------------------
  |  Branch (3992:21): [True: 104k, False: 0]
  ------------------
 3993|   104k|                    assert(oldoffset < noffsets);
  ------------------
  |  Branch (3993:21): [True: 104k, False: 0]
  ------------------
 3994|   104k|                    assert(fixedmap[oldoffset] >= 0);
  ------------------
  |  Branch (3994:21): [True: 104k, False: 0]
  ------------------
 3995|   104k|                    inst->i_oparg = fixedmap[oldoffset];
 3996|  3.66M|            }
 3997|  3.66M|        }
 3998|   525k|    }
 3999|       |
 4000|  74.3k|    return numdropped;
 4001|  74.3k|}
flowgraph.c:convert_pseudo_ops:
 3657|  74.3k|{
 3658|  74.3k|    basicblock *entryblock = g->g_entryblock;
 3659|   599k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3659:38): [True: 525k, False: 74.3k]
  ------------------
 3660|  4.19M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3660:25): [True: 3.66M, False: 525k]
  ------------------
 3661|  3.66M|            cfg_instr *instr = &b->b_instr[i];
 3662|  3.66M|            if (is_block_push(instr)) {
  ------------------
  |  Branch (3662:17): [True: 74.4k, False: 3.59M]
  ------------------
 3663|  74.4k|                INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|  74.4k|    do { \
  |  |  126|  74.4k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  74.4k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  74.4k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  74.4k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  74.4k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 74.4k]
  |  |  ------------------
  ------------------
  |  Branch (3663:17): [True: 74.4k, False: 0]
  ------------------
 3664|  74.4k|            }
 3665|  3.59M|            else if (instr->i_opcode == LOAD_CLOSURE) {
  ------------------
  |  |  249|  3.59M|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (3665:22): [True: 36.5k, False: 3.55M]
  ------------------
 3666|  36.5k|                assert(is_pseudo_target(LOAD_CLOSURE, LOAD_FAST));
  ------------------
  |  Branch (3666:17): [True: 36.5k, False: 0]
  ------------------
 3667|  36.5k|                instr->i_opcode = LOAD_FAST;
  ------------------
  |  |   93|  36.5k|#define LOAD_FAST                               80
  ------------------
 3668|  36.5k|            }
 3669|  3.55M|            else if (instr->i_opcode == STORE_FAST_MAYBE_NULL) {
  ------------------
  |  |  254|  3.55M|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3669:22): [True: 23.5k, False: 3.53M]
  ------------------
 3670|  23.5k|                assert(is_pseudo_target(STORE_FAST_MAYBE_NULL, STORE_FAST));
  ------------------
  |  Branch (3670:17): [True: 23.5k, False: 0]
  ------------------
 3671|  23.5k|                instr->i_opcode = STORE_FAST;
  ------------------
  |  |  121|  23.5k|#define STORE_FAST                             108
  ------------------
 3672|  23.5k|            }
 3673|  3.66M|        }
 3674|   525k|    }
 3675|  74.3k|    return remove_redundant_nops_and_jumps(g);
 3676|  74.3k|}
flowgraph.c:normalize_jumps:
  606|  74.3k|{
  607|  74.3k|    basicblock *entryblock = g->g_entryblock;
  608|   599k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (608:38): [True: 525k, False: 74.3k]
  ------------------
  609|   525k|        b->b_visited = 0;
  610|   525k|    }
  611|   600k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (611:38): [True: 525k, False: 74.3k]
  ------------------
  612|   525k|        b->b_visited = 1;
  613|   525k|        RETURN_IF_ERROR(normalize_jumps_in_block(g, b));
  ------------------
  |  |   25|   525k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 525k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  614|   525k|    }
  615|  74.3k|    return SUCCESS;
  ------------------
  |  |   21|  74.3k|#define SUCCESS 0
  ------------------
  616|  74.3k|}
flowgraph.c:normalize_jumps_in_block:
  549|   525k|normalize_jumps_in_block(cfg_builder *g, basicblock *b) {
  550|   525k|    cfg_instr *last = basicblock_last_instr(b);
  551|   525k|    if (last == NULL || !IS_CONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   47|   453k|        ((opcode) == POP_JUMP_IF_FALSE || \
  |  |  ------------------
  |  |  |  |  109|   906k|#define POP_JUMP_IF_FALSE                       96
  |  |  ------------------
  |  |  |  Branch (47:10): [True: 70.9k, False: 382k]
  |  |  ------------------
  |  |   48|   453k|         (opcode) == POP_JUMP_IF_TRUE || \
  |  |  ------------------
  |  |  |  |  112|   835k|#define POP_JUMP_IF_TRUE                        99
  |  |  ------------------
  |  |  |  Branch (48:10): [True: 13.7k, False: 368k]
  |  |  ------------------
  |  |   49|   453k|         (opcode) == POP_JUMP_IF_NONE || \
  |  |  ------------------
  |  |  |  |  110|   821k|#define POP_JUMP_IF_NONE                        97
  |  |  ------------------
  |  |  |  Branch (49:10): [True: 1.38k, False: 367k]
  |  |  ------------------
  |  |   50|   453k|         (opcode) == POP_JUMP_IF_NOT_NONE)
  |  |  ------------------
  |  |  |  |  111|   367k|#define POP_JUMP_IF_NOT_NONE                    98
  |  |  ------------------
  |  |  |  Branch (50:10): [True: 519, False: 366k]
  |  |  ------------------
  ------------------
  |  Branch (551:9): [True: 72.8k, False: 453k]
  ------------------
  552|   439k|        return SUCCESS;
  ------------------
  |  |   21|   439k|#define SUCCESS 0
  ------------------
  553|   439k|    }
  554|   525k|    assert(!IS_ASSEMBLER_OPCODE(last->i_opcode));
  ------------------
  |  Branch (554:5): [True: 0, False: 86.5k]
  |  Branch (554:5): [True: 0, False: 86.5k]
  |  Branch (554:5): [True: 0, False: 86.5k]
  ------------------
  555|       |
  556|  86.5k|    bool is_forward = last->i_target->b_visited == 0;
  557|  86.5k|    if (is_forward) {
  ------------------
  |  Branch (557:9): [True: 85.7k, False: 795]
  ------------------
  558|  85.7k|        RETURN_IF_ERROR(
  ------------------
  |  |   25|  85.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 85.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  559|  85.7k|            basicblock_addop(b, NOT_TAKEN, 0, last->i_loc, last->i_except));
  560|  85.7k|        return SUCCESS;
  ------------------
  |  |   21|  85.7k|#define SUCCESS 0
  ------------------
  561|  85.7k|    }
  562|       |
  563|    795|    int reversed_opcode = 0;
  564|    795|    switch(last->i_opcode) {
  ------------------
  |  Branch (564:12): [True: 795, 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: 795]
  ------------------
  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: 795]
  ------------------
  569|      0|            reversed_opcode = POP_JUMP_IF_NOT_NONE;
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  570|      0|            break;
  571|    730|        case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|    730|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (571:9): [True: 730, False: 65]
  ------------------
  572|    730|            reversed_opcode = POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|    730|#define POP_JUMP_IF_TRUE                        99
  ------------------
  573|    730|            break;
  574|     65|        case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|     65|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (574:9): [True: 65, False: 730]
  ------------------
  575|     65|            reversed_opcode = POP_JUMP_IF_FALSE;
  ------------------
  |  |  109|     65|#define POP_JUMP_IF_FALSE                       96
  ------------------
  576|     65|            break;
  577|    795|    }
  578|       |    /* transform 'conditional jump T' to
  579|       |     * 'reversed_jump b_next' followed by 'jump_backwards T'
  580|       |     */
  581|       |
  582|    795|    basicblock *target = last->i_target;
  583|    795|    basicblock *backwards_jump = cfg_builder_new_block(g);
  584|    795|    if (backwards_jump == NULL) {
  ------------------
  |  Branch (584:9): [True: 0, False: 795]
  ------------------
  585|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  586|      0|    }
  587|    795|    RETURN_IF_ERROR(
  ------------------
  |  |   25|    795|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 795]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  588|    795|        basicblock_addop(backwards_jump, NOT_TAKEN, 0, last->i_loc,
  589|    795|                         last->i_except));
  590|    795|    RETURN_IF_ERROR(
  ------------------
  |  |   25|    795|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 795]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  591|    795|        basicblock_add_jump(backwards_jump, JUMP, target, last->i_loc,
  592|    795|                            last->i_except));
  593|    795|    backwards_jump->b_startdepth = target->b_startdepth;
  594|    795|    last->i_opcode = reversed_opcode;
  595|    795|    last->i_target = b->b_next;
  596|       |
  597|    795|    backwards_jump->b_cold = b->b_cold;
  598|    795|    backwards_jump->b_next = b->b_next;
  599|    795|    b->b_next = backwards_jump;
  600|    795|    return SUCCESS;
  ------------------
  |  |   21|    795|#define SUCCESS 0
  ------------------
  601|    795|}
flowgraph.c:no_redundant_jumps:
  525|   148k|no_redundant_jumps(cfg_builder *g) {
  526|  1.18M|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (526:43): [True: 1.03M, False: 148k]
  ------------------
  527|  1.03M|        cfg_instr *last = basicblock_last_instr(b);
  528|  1.03M|        if (last != NULL) {
  ------------------
  |  Branch (528:13): [True: 893k, False: 145k]
  ------------------
  529|   893k|            if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|   893k|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|  1.78M|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 33.2k, False: 860k]
  |  |  ------------------
  |  |   41|   893k|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|  1.75M|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 124k, False: 736k]
  |  |  ------------------
  |  |   42|   893k|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|  1.63M|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 736k]
  |  |  ------------------
  |  |   43|   893k|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|  1.63M|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 736k]
  |  |  ------------------
  |  |   44|   893k|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|   736k|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 736k]
  |  |  ------------------
  ------------------
  530|   157k|                basicblock *next = next_nonempty_block(b->b_next);
  531|   157k|                basicblock *jump_target = next_nonempty_block(last->i_target);
  532|   157k|                if (jump_target == next) {
  ------------------
  |  Branch (532:21): [True: 0, False: 157k]
  ------------------
  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|   157k|            }
  540|   893k|        }
  541|  1.03M|    }
  542|   148k|    return true;
  543|   148k|}
flowgraph.c:optimize_load_fast:
 2904|  74.3k|{
 2905|  74.3k|    int status;
 2906|  74.3k|    ref_stack refs = {0};
 2907|  74.3k|    int max_instrs = 0;
 2908|  74.3k|    basicblock *entryblock = g->g_entryblock;
 2909|   600k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2909:38): [True: 525k, False: 74.3k]
  ------------------
 2910|   525k|        max_instrs = Py_MAX(max_instrs, b->b_iused);
  ------------------
  |  |  133|   525k|       __extension__ \
  |  |  134|   525k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|   525k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|   525k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|   525k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|   525k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 435k, False: 90.2k]
  |  |  ------------------
  ------------------
 2911|   525k|    }
 2912|  74.3k|    size_t instr_flags_size = max_instrs * sizeof(uint8_t);
 2913|  74.3k|    uint8_t *instr_flags = PyMem_Malloc(instr_flags_size);
 2914|  74.3k|    if (instr_flags == NULL) {
  ------------------
  |  Branch (2914:9): [True: 0, False: 74.3k]
  ------------------
 2915|      0|        PyErr_NoMemory();
 2916|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2917|      0|    }
 2918|  74.3k|    basicblock **blocks = make_cfg_traversal_stack(entryblock);
 2919|  74.3k|    if (blocks == NULL) {
  ------------------
  |  Branch (2919:9): [True: 0, False: 74.3k]
  ------------------
 2920|      0|        status = ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2921|      0|        goto done;
 2922|      0|    }
 2923|  74.3k|    basicblock **sp = blocks;
 2924|  74.3k|    *sp = entryblock;
 2925|  74.3k|    sp++;
 2926|  74.3k|    entryblock->b_startdepth = 0;
 2927|  74.3k|    entryblock->b_visited = 1;
 2928|       |
 2929|  74.3k|    #define PUSH_REF(instr, local)                \
 2930|  74.3k|        do {                                      \
 2931|  74.3k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
 2932|  74.3k|                status = ERROR;                   \
 2933|  74.3k|                goto done;                        \
 2934|  74.3k|            }                                     \
 2935|  74.3k|        } while(0)
 2936|       |
 2937|   327k|    while (sp != blocks) {
  ------------------
  |  Branch (2937:12): [True: 253k, False: 74.3k]
  ------------------
 2938|   253k|        basicblock *block = *--sp;
 2939|   253k|        assert(block->b_startdepth > -1);
  ------------------
  |  Branch (2939:9): [True: 253k, False: 0]
  ------------------
 2940|       |
 2941|       |        // Reset per-block state.
 2942|   253k|        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|   253k|        ref_stack_clear(&refs);
 2948|  1.62M|        for (int i = 0; i < block->b_startdepth; i++) {
  ------------------
  |  Branch (2948:25): [True: 1.36M, False: 253k]
  ------------------
 2949|  1.36M|            PUSH_REF(DUMMY_INSTR, NOT_LOCAL);
  ------------------
  |  | 2930|  1.36M|        do {                                      \
  |  | 2931|  1.36M|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 1.36M]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|  1.36M|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 1.36M]
  |  |  ------------------
  ------------------
 2950|  1.36M|        }
 2951|       |
 2952|  3.06M|        for (int i = 0; i < block->b_iused; i++) {
  ------------------
  |  Branch (2952:25): [True: 2.81M, False: 253k]
  ------------------
 2953|  2.81M|            cfg_instr *instr = &block->b_instr[i];
 2954|  2.81M|            int opcode = instr->i_opcode;
 2955|  2.81M|            int oparg = instr->i_oparg;
 2956|  2.81M|            assert(opcode != EXTENDED_ARG);
  ------------------
  |  Branch (2956:13): [True: 2.81M, False: 0]
  ------------------
 2957|  2.81M|            switch (opcode) {
 2958|       |                // Opcodes that load and store locals
 2959|  2.38k|                case DELETE_FAST: {
  ------------------
  |  |   73|  2.38k|#define DELETE_FAST                             60
  ------------------
  |  Branch (2959:17): [True: 2.38k, False: 2.81M]
  ------------------
 2960|  2.38k|                    kill_local(instr_flags, &refs, oparg);
 2961|  2.38k|                    break;
 2962|      0|                }
 2963|       |
 2964|  74.3k|                case LOAD_FAST: {
  ------------------
  |  |   93|  74.3k|#define LOAD_FAST                               80
  ------------------
  |  Branch (2964:17): [True: 74.3k, False: 2.74M]
  ------------------
 2965|  74.3k|                    PUSH_REF(i, oparg);
  ------------------
  |  | 2930|  74.3k|        do {                                      \
  |  | 2931|  74.3k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 74.3k]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|  74.3k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 74.3k]
  |  |  ------------------
  ------------------
 2966|  74.3k|                    break;
 2967|  74.3k|                }
 2968|       |
 2969|  74.3k|                case LOAD_FAST_AND_CLEAR: {
  ------------------
  |  |   94|  9.77k|#define LOAD_FAST_AND_CLEAR                     81
  ------------------
  |  Branch (2969:17): [True: 9.77k, False: 2.80M]
  ------------------
 2970|  9.77k|                    kill_local(instr_flags, &refs, oparg);
 2971|  9.77k|                    PUSH_REF(i, oparg);
  ------------------
  |  | 2930|  9.77k|        do {                                      \
  |  | 2931|  9.77k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 9.77k]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|  9.77k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 9.77k]
  |  |  ------------------
  ------------------
 2972|  9.77k|                    break;
 2973|  9.77k|                }
 2974|       |
 2975|  9.77k|                case LOAD_FAST_LOAD_FAST: {
  ------------------
  |  |   98|      0|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
  |  Branch (2975:17): [True: 0, False: 2.81M]
  ------------------
 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|   123k|                case STORE_FAST: {
  ------------------
  |  |  121|   123k|#define STORE_FAST                             108
  ------------------
  |  Branch (2981:17): [True: 123k, False: 2.69M]
  ------------------
 2982|   123k|                    ref r = ref_stack_pop(&refs);
 2983|   123k|                    store_local(instr_flags, &refs, oparg, r);
 2984|   123k|                    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: 2.81M]
  ------------------
 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: 2.81M]
  ------------------
 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|   127k|                case COPY: {
  ------------------
  |  |   70|   127k|#define COPY                                    57
  ------------------
  |  Branch (3007:17): [True: 127k, False: 2.68M]
  ------------------
 3008|   127k|                    assert(oparg > 0);
  ------------------
  |  Branch (3008:21): [True: 127k, False: 0]
  ------------------
 3009|   127k|                    Py_ssize_t idx = refs.size - oparg;
 3010|   127k|                    ref r = ref_stack_at(&refs, idx);
 3011|   127k|                    PUSH_REF(r.instr, r.local);
  ------------------
  |  | 2930|   127k|        do {                                      \
  |  | 2931|   127k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 127k]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|   127k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 127k]
  |  |  ------------------
  ------------------
 3012|   127k|                    break;
 3013|   127k|                }
 3014|       |
 3015|   127k|                case SWAP: {
  ------------------
  |  |  126|  55.3k|#define SWAP                                   113
  ------------------
  |  Branch (3015:17): [True: 55.3k, False: 2.75M]
  ------------------
 3016|  55.3k|                    assert(oparg >= 2);
  ------------------
  |  Branch (3016:21): [True: 55.3k, False: 0]
  ------------------
 3017|  55.3k|                    ref_stack_swap_top(&refs, oparg);
 3018|  55.3k|                    break;
 3019|  55.3k|                }
 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|  1.88k|                case FORMAT_SIMPLE:
  ------------------
  |  |   25|  1.88k|#define FORMAT_SIMPLE                           12
  ------------------
  |  Branch (3026:17): [True: 1.88k, False: 2.81M]
  ------------------
 3027|  2.89k|                case GET_ANEXT:
  ------------------
  |  |   28|  2.89k|#define GET_ANEXT                               15
  ------------------
  |  Branch (3027:17): [True: 1.01k, False: 2.81M]
  ------------------
 3028|  6.72k|                case GET_ITER:
  ------------------
  |  |   80|  6.72k|#define GET_ITER                                67
  ------------------
  |  Branch (3028:17): [True: 3.83k, False: 2.81M]
  ------------------
 3029|  8.56k|                case GET_LEN:
  ------------------
  |  |   29|  8.56k|#define GET_LEN                                 16
  ------------------
  |  Branch (3029:17): [True: 1.83k, False: 2.81M]
  ------------------
 3030|  15.6k|                case IMPORT_FROM:
  ------------------
  |  |   81|  15.6k|#define IMPORT_FROM                             68
  ------------------
  |  Branch (3030:17): [True: 7.12k, False: 2.80M]
  ------------------
 3031|  16.0k|                case MATCH_KEYS:
  ------------------
  |  |   35|  16.0k|#define MATCH_KEYS                              22
  ------------------
  |  Branch (3031:17): [True: 363, False: 2.81M]
  ------------------
 3032|  16.5k|                case MATCH_MAPPING:
  ------------------
  |  |   36|  16.5k|#define MATCH_MAPPING                           23
  ------------------
  |  Branch (3032:17): [True: 453, False: 2.81M]
  ------------------
 3033|  17.4k|                case MATCH_SEQUENCE:
  ------------------
  |  |   37|  17.4k|#define MATCH_SEQUENCE                          24
  ------------------
  |  Branch (3033:17): [True: 904, False: 2.81M]
  ------------------
 3034|  17.4k|                case WITH_EXCEPT_START: {
  ------------------
  |  |   54|  17.4k|#define WITH_EXCEPT_START                       41
  ------------------
  |  Branch (3034:17): [True: 0, False: 2.81M]
  ------------------
 3035|  17.4k|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3036|  17.4k|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3037|  17.4k|                    int net_pushed = num_pushed - num_popped;
 3038|  17.4k|                    assert(net_pushed >= 0);
  ------------------
  |  Branch (3038:21): [True: 17.4k, False: 0]
  ------------------
 3039|  34.9k|                    for (int j = 0; j < net_pushed; j++) {
  ------------------
  |  Branch (3039:37): [True: 17.5k, False: 17.4k]
  ------------------
 3040|  17.5k|                        PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|  17.5k|        do {                                      \
  |  | 2931|  17.5k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 17.5k]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|  17.5k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 17.5k]
  |  |  ------------------
  ------------------
 3041|  17.5k|                    }
 3042|  17.4k|                    break;
 3043|  17.4k|                }
 3044|       |
 3045|       |                // Opcodes that consume some inputs and push no new values
 3046|  17.4k|                case DICT_MERGE:
  ------------------
  |  |   74|  3.06k|#define DICT_MERGE                              61
  ------------------
  |  Branch (3046:17): [True: 3.06k, False: 2.81M]
  ------------------
 3047|  5.03k|                case DICT_UPDATE:
  ------------------
  |  |   75|  5.03k|#define DICT_UPDATE                             62
  ------------------
  |  Branch (3047:17): [True: 1.97k, False: 2.81M]
  ------------------
 3048|  40.2k|                case LIST_APPEND:
  ------------------
  |  |   87|  40.2k|#define LIST_APPEND                             74
  ------------------
  |  Branch (3048:17): [True: 35.2k, False: 2.78M]
  ------------------
 3049|  44.7k|                case LIST_EXTEND:
  ------------------
  |  |   88|  44.7k|#define LIST_EXTEND                             75
  ------------------
  |  Branch (3049:17): [True: 4.53k, False: 2.81M]
  ------------------
 3050|  45.2k|                case MAP_ADD:
  ------------------
  |  |  107|  45.2k|#define MAP_ADD                                 94
  ------------------
  |  Branch (3050:17): [True: 493, False: 2.81M]
  ------------------
 3051|  45.2k|                case RERAISE:
  ------------------
  |  |  114|  45.2k|#define RERAISE                                101
  ------------------
  |  Branch (3051:17): [True: 0, False: 2.81M]
  ------------------
 3052|  49.0k|                case SET_ADD:
  ------------------
  |  |  116|  49.0k|#define SET_ADD                                103
  ------------------
  |  Branch (3052:17): [True: 3.80k, False: 2.81M]
  ------------------
 3053|  58.0k|                case SET_UPDATE: {
  ------------------
  |  |  118|  58.0k|#define SET_UPDATE                             105
  ------------------
  |  Branch (3053:17): [True: 8.96k, False: 2.80M]
  ------------------
 3054|  58.0k|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3055|  58.0k|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3056|  58.0k|                    int net_popped = num_popped - num_pushed;
 3057|  58.0k|                    assert(net_popped > 0);
  ------------------
  |  Branch (3057:21): [True: 58.0k, False: 0]
  ------------------
 3058|   116k|                    for (int i = 0; i < net_popped; i++) {
  ------------------
  |  Branch (3058:37): [True: 58.5k, False: 58.0k]
  ------------------
 3059|  58.5k|                        ref_stack_pop(&refs);
 3060|  58.5k|                    }
 3061|  58.0k|                    break;
 3062|  58.0k|                }
 3063|       |
 3064|  11.5k|                case END_SEND: {
  ------------------
  |  |   23|  11.5k|#define END_SEND                                10
  ------------------
  |  Branch (3064:17): [True: 11.5k, False: 2.80M]
  ------------------
 3065|  11.5k|                    assert(_PyOpcode_num_popped(opcode, oparg) == 3);
  ------------------
  |  Branch (3065:21): [True: 11.5k, False: 0]
  ------------------
 3066|  11.5k|                    assert(_PyOpcode_num_pushed(opcode, oparg) == 1);
  ------------------
  |  Branch (3066:21): [True: 11.5k, False: 0]
  ------------------
 3067|  11.5k|                    ref tos = ref_stack_pop(&refs);
 3068|  11.5k|                    ref_stack_pop(&refs);
 3069|  11.5k|                    ref_stack_pop(&refs);
 3070|  11.5k|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2930|  11.5k|        do {                                      \
  |  | 2931|  11.5k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 11.5k]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|  11.5k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 11.5k]
  |  |  ------------------
  ------------------
 3071|  11.5k|                    break;
 3072|  11.5k|                }
 3073|       |
 3074|  41.2k|                case SET_FUNCTION_ATTRIBUTE: {
  ------------------
  |  |  117|  41.2k|#define SET_FUNCTION_ATTRIBUTE                 104
  ------------------
  |  Branch (3074:17): [True: 41.2k, False: 2.77M]
  ------------------
 3075|  41.2k|                    assert(_PyOpcode_num_popped(opcode, oparg) == 2);
  ------------------
  |  Branch (3075:21): [True: 41.2k, False: 0]
  ------------------
 3076|  41.2k|                    assert(_PyOpcode_num_pushed(opcode, oparg) == 1);
  ------------------
  |  Branch (3076:21): [True: 41.2k, False: 0]
  ------------------
 3077|  41.2k|                    ref tos = ref_stack_pop(&refs);
 3078|  41.2k|                    ref_stack_pop(&refs);
 3079|  41.2k|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2930|  41.2k|        do {                                      \
  |  | 2931|  41.2k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 41.2k]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|  41.2k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 41.2k]
  |  |  ------------------
  ------------------
 3080|  41.2k|                    break;
 3081|  41.2k|                }
 3082|       |
 3083|       |                // Opcodes that consume some inputs and push new values
 3084|  41.2k|                case CHECK_EXC_MATCH: {
  ------------------
  |  |   19|      0|#define CHECK_EXC_MATCH                          6
  ------------------
  |  Branch (3084:17): [True: 0, False: 2.81M]
  ------------------
 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|  3.79k|                case FOR_ITER: {
  ------------------
  |  |   78|  3.79k|#define FOR_ITER                                65
  ------------------
  |  Branch (3090:17): [True: 3.79k, False: 2.81M]
  ------------------
 3091|  3.79k|                    load_fast_push_block(&sp, instr->i_target, refs.size + 1);
 3092|  3.79k|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|  3.79k|        do {                                      \
  |  | 2931|  3.79k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 3.79k]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|  3.79k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 3.79k]
  |  |  ------------------
  ------------------
 3093|  3.79k|                    break;
 3094|  3.79k|                }
 3095|       |
 3096|  11.9k|                case LOAD_ATTR:
  ------------------
  |  |   89|  11.9k|#define LOAD_ATTR                               76
  ------------------
  |  Branch (3096:17): [True: 11.9k, False: 2.80M]
  ------------------
 3097|  12.3k|                case LOAD_SUPER_ATTR: {
  ------------------
  |  |  105|  12.3k|#define LOAD_SUPER_ATTR                         92
  ------------------
  |  Branch (3097:17): [True: 401, False: 2.81M]
  ------------------
 3098|  12.3k|                    ref self = ref_stack_pop(&refs);
 3099|  12.3k|                    if (opcode == LOAD_SUPER_ATTR) {
  ------------------
  |  |  105|  12.3k|#define LOAD_SUPER_ATTR                         92
  ------------------
  |  Branch (3099:25): [True: 401, False: 11.9k]
  ------------------
 3100|    401|                        ref_stack_pop(&refs);
 3101|    401|                        ref_stack_pop(&refs);
 3102|    401|                    }
 3103|  12.3k|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|  12.3k|        do {                                      \
  |  | 2931|  12.3k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 12.3k]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|  12.3k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 12.3k]
  |  |  ------------------
  ------------------
 3104|  12.3k|                    if (oparg & 1) {
  ------------------
  |  Branch (3104:25): [True: 1.68k, False: 10.6k]
  ------------------
 3105|       |                        // A method call; conservatively assume that self is pushed
 3106|       |                        // back onto the stack
 3107|  1.68k|                        PUSH_REF(self.instr, self.local);
  ------------------
  |  | 2930|  1.68k|        do {                                      \
  |  | 2931|  1.68k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 1.68k]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|  1.68k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 1.68k]
  |  |  ------------------
  ------------------
 3108|  1.68k|                    }
 3109|  12.3k|                    break;
 3110|  12.3k|                }
 3111|       |
 3112|  12.3k|                case LOAD_SPECIAL:
  ------------------
  |  |  104|  12.1k|#define LOAD_SPECIAL                            91
  ------------------
  |  Branch (3112:17): [True: 12.1k, False: 2.80M]
  ------------------
 3113|  12.1k|                case PUSH_EXC_INFO: {
  ------------------
  |  |   43|  12.1k|#define PUSH_EXC_INFO                           30
  ------------------
  |  Branch (3113:17): [True: 0, False: 2.81M]
  ------------------
 3114|  12.1k|                    ref tos = ref_stack_pop(&refs);
 3115|  12.1k|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|  12.1k|        do {                                      \
  |  | 2931|  12.1k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 12.1k]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|  12.1k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 12.1k]
  |  |  ------------------
  ------------------
 3116|  12.1k|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2930|  12.1k|        do {                                      \
  |  | 2931|  12.1k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 12.1k]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|  12.1k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 12.1k]
  |  |  ------------------
  ------------------
 3117|  12.1k|                    break;
 3118|  12.1k|                }
 3119|       |
 3120|  12.1k|                case SEND: {
  ------------------
  |  |  115|  11.5k|#define SEND                                   102
  ------------------
  |  Branch (3120:17): [True: 11.5k, False: 2.80M]
  ------------------
 3121|  11.5k|                    load_fast_push_block(&sp, instr->i_target, refs.size);
 3122|  11.5k|                    ref_stack_pop(&refs);
 3123|  11.5k|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|  11.5k|        do {                                      \
  |  | 2931|  11.5k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 11.5k]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|  11.5k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 11.5k]
  |  |  ------------------
  ------------------
 3124|  11.5k|                    break;
 3125|  11.5k|                }
 3126|       |
 3127|       |                // Opcodes that consume all of their inputs
 3128|  2.25M|                default: {
  ------------------
  |  Branch (3128:17): [True: 2.25M, False: 560k]
  ------------------
 3129|  2.25M|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3130|  2.25M|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3131|  2.25M|                    if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  2.25M|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  4.50M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  2.25M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 86.0k, False: 2.16M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  2.16M|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  4.33M|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 2.16M]
  |  |  |  |  ------------------
  |  |  |  |   19|  2.16M|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.33M|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 2.16M]
  |  |  |  |  ------------------
  |  |  |  |   20|  2.16M|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.16M|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 2.16M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3132|  86.0k|                        load_fast_push_block(&sp, instr->i_target, refs.size - num_popped + num_pushed);
 3133|  86.0k|                    }
 3134|  2.25M|                    if (!IS_BLOCK_PUSH_OPCODE(instr->i_opcode)) {
  ------------------
  |  |   18|  2.25M|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  252|  4.50M|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 0, False: 2.25M]
  |  |  ------------------
  |  |   19|  2.25M|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  253|  4.50M|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 0, False: 2.25M]
  |  |  ------------------
  |  |   20|  2.25M|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|  2.25M|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 2.25M]
  |  |  ------------------
  ------------------
 3135|       |                        // Block push opcodes only affect the stack when jumping
 3136|       |                        // to the target.
 3137|  3.90M|                        for (int j = 0; j < num_popped; j++) {
  ------------------
  |  Branch (3137:41): [True: 1.65M, False: 2.25M]
  ------------------
 3138|  1.65M|                            ref_stack_pop(&refs);
 3139|  1.65M|                        }
 3140|  3.97M|                        for (int j = 0; j < num_pushed; j++) {
  ------------------
  |  Branch (3140:41): [True: 1.71M, False: 2.25M]
  ------------------
 3141|  1.71M|                            PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2930|  1.71M|        do {                                      \
  |  | 2931|  1.71M|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2931:17): [True: 0, False: 1.71M]
  |  |  ------------------
  |  | 2932|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2933|      0|                goto done;                        \
  |  | 2934|      0|            }                                     \
  |  | 2935|  1.71M|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2935:17): [Folded, False: 1.71M]
  |  |  ------------------
  ------------------
 3142|  1.71M|                        }
 3143|  2.25M|                    }
 3144|  2.25M|                    break;
 3145|  2.25M|                }
 3146|  2.81M|            }
 3147|  2.81M|        }
 3148|       |
 3149|       |        // Push fallthrough block
 3150|   253k|        if (BB_HAS_FALLTHROUGH(block)) {
  ------------------
  |  |  253|   253k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (253:31): [True: 131k, False: 121k]
  |  |  ------------------
  ------------------
 3151|   131k|            assert(block->b_next != NULL);
  ------------------
  |  Branch (3151:13): [True: 131k, False: 0]
  ------------------
 3152|   131k|            load_fast_push_block(&sp, block->b_next, refs.size);
 3153|   131k|        }
 3154|       |
 3155|       |        // Mark instructions that produce values that are on the stack at the
 3156|       |        // end of the basic block
 3157|  1.68M|        for (Py_ssize_t i = 0; i < refs.size; i++) {
  ------------------
  |  Branch (3157:32): [True: 1.43M, False: 253k]
  ------------------
 3158|  1.43M|            ref r = ref_stack_at(&refs, i);
 3159|  1.43M|            if (r.instr != -1) {
  ------------------
  |  Branch (3159:17): [True: 231k, False: 1.20M]
  ------------------
 3160|   231k|                instr_flags[r.instr] |= REF_UNCONSUMED;
 3161|   231k|            }
 3162|  1.43M|        }
 3163|       |
 3164|       |        // Optimize instructions
 3165|  3.06M|        for (int i = 0; i < block->b_iused; i++) {
  ------------------
  |  Branch (3165:25): [True: 2.81M, False: 253k]
  ------------------
 3166|  2.81M|            if (!instr_flags[i]) {
  ------------------
  |  Branch (3166:17): [True: 2.56M, False: 252k]
  ------------------
 3167|  2.56M|                cfg_instr *instr = &block->b_instr[i];
 3168|  2.56M|                switch (instr->i_opcode) {
 3169|  72.2k|                    case LOAD_FAST:
  ------------------
  |  |   93|  72.2k|#define LOAD_FAST                               80
  ------------------
  |  Branch (3169:21): [True: 72.2k, False: 2.49M]
  ------------------
 3170|  72.2k|                        instr->i_opcode = LOAD_FAST_BORROW;
  ------------------
  |  |   95|  72.2k|#define LOAD_FAST_BORROW                        82
  ------------------
 3171|  72.2k|                        break;
 3172|      0|                    case LOAD_FAST_LOAD_FAST:
  ------------------
  |  |   98|      0|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
  |  Branch (3172:21): [True: 0, False: 2.56M]
  ------------------
 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|  2.49M|                    default:
  ------------------
  |  Branch (3175:21): [True: 2.49M, False: 72.2k]
  ------------------
 3176|  2.49M|                        break;
 3177|  2.56M|                }
 3178|  2.56M|            }
 3179|  2.81M|        }
 3180|   253k|    }
 3181|       |
 3182|  74.3k|    #undef PUSH_REF
 3183|       |
 3184|  74.3k|    status = SUCCESS;
  ------------------
  |  |   21|  74.3k|#define SUCCESS 0
  ------------------
 3185|       |
 3186|  74.3k|done:
 3187|  74.3k|    ref_stack_fini(&refs);
 3188|  74.3k|    PyMem_Free(instr_flags);
 3189|  74.3k|    PyMem_Free(blocks);
 3190|  74.3k|    return status;
 3191|  74.3k|}
flowgraph.c:ref_stack_clear:
 2809|   253k|{
 2810|   253k|    stack->size = 0;
 2811|   253k|}
flowgraph.c:ref_stack_push:
 2765|  3.42M|{
 2766|  3.42M|    if (stack->size == stack->capacity) {
  ------------------
  |  Branch (2766:9): [True: 75.0k, False: 3.34M]
  ------------------
 2767|  75.0k|        Py_ssize_t new_cap = Py_MAX(32, stack->capacity * 2);
  ------------------
  |  |  133|  75.0k|       __extension__ \
  |  |  134|  75.0k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  75.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  75.0k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  75.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  75.0k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 74.3k, False: 718]
  |  |  ------------------
  ------------------
 2768|  75.0k|        ref *refs = PyMem_Realloc(stack->refs, sizeof(*stack->refs) * new_cap);
 2769|  75.0k|        if (refs == NULL) {
  ------------------
  |  Branch (2769:13): [True: 0, False: 75.0k]
  ------------------
 2770|      0|            PyErr_NoMemory();
 2771|      0|            return -1;
 2772|      0|        }
 2773|  75.0k|        stack->refs = refs;
 2774|  75.0k|        stack->capacity = new_cap;
 2775|  75.0k|    }
 2776|  3.42M|    stack->refs[stack->size] = r;
 2777|  3.42M|    stack->size++;
 2778|  3.42M|    return 0;
 2779|  3.42M|}
flowgraph.c:kill_local:
 2835|   135k|{
 2836|  5.38M|    for (Py_ssize_t i = 0; i < refs->size; i++) {
  ------------------
  |  Branch (2836:28): [True: 5.25M, False: 135k]
  ------------------
 2837|  5.25M|        ref r = ref_stack_at(refs, i);
 2838|  5.25M|        if (r.local == local) {
  ------------------
  |  Branch (2838:13): [True: 195, False: 5.25M]
  ------------------
 2839|    195|            assert(r.instr >= 0);
  ------------------
  |  Branch (2839:13): [True: 195, False: 0]
  ------------------
 2840|    195|            instr_flags[r.instr] |= SUPPORT_KILLED;
 2841|    195|        }
 2842|  5.25M|    }
 2843|   135k|}
flowgraph.c:ref_stack_pop:
 2783|  1.98M|{
 2784|  1.98M|    assert(stack->size > 0);
  ------------------
  |  Branch (2784:5): [True: 1.98M, False: 0]
  ------------------
 2785|  1.98M|    stack->size--;
 2786|  1.98M|    ref r = stack->refs[stack->size];
 2787|  1.98M|    return r;
 2788|  1.98M|}
flowgraph.c:store_local:
 2847|   123k|{
 2848|   123k|    kill_local(instr_flags, refs, local);
 2849|   123k|    if (r.instr != DUMMY_INSTR) {
  ------------------
  |  | 2747|   123k|#define DUMMY_INSTR -1
  ------------------
  |  Branch (2849:9): [True: 107k, False: 15.7k]
  ------------------
 2850|   107k|        instr_flags[r.instr] |= STORED_AS_LOCAL;
 2851|   107k|    }
 2852|   123k|}
flowgraph.c:ref_stack_at:
 2802|  6.81M|{
 2803|  6.81M|    assert(idx >= 0 && idx < stack->size);
  ------------------
  |  Branch (2803:5): [True: 6.81M, False: 0]
  |  Branch (2803:5): [True: 6.81M, False: 0]
  ------------------
 2804|  6.81M|    return stack->refs[idx];
 2805|  6.81M|}
flowgraph.c:ref_stack_swap_top:
 2792|  55.3k|{
 2793|  55.3k|    Py_ssize_t idx = stack->size - off;
 2794|  55.3k|    assert(idx >= 0 && idx < stack->size);
  ------------------
  |  Branch (2794:5): [True: 55.3k, False: 0]
  |  Branch (2794:5): [True: 55.3k, False: 0]
  ------------------
 2795|  55.3k|    ref tmp = stack->refs[idx];
 2796|  55.3k|    stack->refs[idx] = stack->refs[stack->size - 1];
 2797|  55.3k|    stack->refs[stack->size - 1] = tmp;
 2798|  55.3k|}
flowgraph.c:load_fast_push_block:
 2857|   232k|{
 2858|   232k|    assert(target->b_startdepth >= 0 && target->b_startdepth == start_depth);
  ------------------
  |  Branch (2858:5): [True: 232k, False: 0]
  |  Branch (2858:5): [True: 232k, False: 0]
  ------------------
 2859|   232k|    if (!target->b_visited) {
  ------------------
  |  Branch (2859:9): [True: 178k, False: 54.2k]
  ------------------
 2860|   178k|        target->b_visited = 1;
 2861|   178k|        *(*sp)++ = target;
 2862|   178k|    }
 2863|   232k|}
flowgraph.c:ref_stack_fini:
 2815|  74.3k|{
 2816|  74.3k|    if (stack->refs != NULL) {
  ------------------
  |  Branch (2816:9): [True: 74.3k, False: 43]
  ------------------
 2817|  74.3k|        PyMem_Free(stack->refs);
 2818|  74.3k|    }
 2819|       |    stack->refs = NULL;
 2820|  74.3k|    stack->capacity = 0;
 2821|  74.3k|    stack->size = 0;
 2822|  74.3k|}
flowgraph.c:insert_superinstructions:
 2710|  74.3k|{
 2711|   600k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2711:43): [True: 525k, False: 74.3k]
  ------------------
 2712|       |
 2713|  4.20M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (2713:25): [True: 3.68M, False: 525k]
  ------------------
 2714|  3.68M|            cfg_instr *inst = &b->b_instr[i];
 2715|  3.68M|            int nextop = i+1 < b->b_iused ? b->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2715:26): [True: 3.22M, False: 453k]
  ------------------
 2716|  3.68M|            switch(inst->i_opcode) {
  ------------------
  |  Branch (2716:20): [True: 193k, False: 3.48M]
  ------------------
 2717|  2.81k|                case LOAD_FAST:
  ------------------
  |  |   93|  2.81k|#define LOAD_FAST                               80
  ------------------
  |  Branch (2717:17): [True: 2.81k, False: 3.67M]
  ------------------
 2718|  2.81k|                    if (nextop == LOAD_FAST) {
  ------------------
  |  |   93|  2.81k|#define LOAD_FAST                               80
  ------------------
  |  Branch (2718:25): [True: 440, False: 2.37k]
  ------------------
 2719|    440|                        make_super_instruction(inst, &b->b_instr[i + 1], LOAD_FAST_LOAD_FAST);
  ------------------
  |  |   98|    440|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
 2720|    440|                    }
 2721|  2.81k|                    break;
 2722|  63.3k|                case LOAD_FAST_BORROW:
  ------------------
  |  |   95|  63.3k|#define LOAD_FAST_BORROW                        82
  ------------------
  |  Branch (2722:17): [True: 63.3k, False: 3.61M]
  ------------------
 2723|  63.3k|                    if (nextop == LOAD_FAST_BORROW) {
  ------------------
  |  |   95|  63.3k|#define LOAD_FAST_BORROW                        82
  ------------------
  |  Branch (2723:25): [True: 9.59k, False: 53.7k]
  ------------------
 2724|  9.59k|                        make_super_instruction(inst, &b->b_instr[i + 1],
 2725|  9.59k|                                               LOAD_FAST_BORROW_LOAD_FAST_BORROW);
  ------------------
  |  |   96|  9.59k|#define LOAD_FAST_BORROW_LOAD_FAST_BORROW       83
  ------------------
 2726|  9.59k|                    }
 2727|  63.3k|                    break;
 2728|   127k|                case STORE_FAST:
  ------------------
  |  |  121|   127k|#define STORE_FAST                             108
  ------------------
  |  Branch (2728:17): [True: 127k, False: 3.55M]
  ------------------
 2729|   127k|                    switch (nextop) {
  ------------------
  |  Branch (2729:29): [True: 58.4k, False: 68.6k]
  ------------------
 2730|    778|                        case LOAD_FAST:
  ------------------
  |  |   93|    778|#define LOAD_FAST                               80
  ------------------
  |  Branch (2730:25): [True: 778, False: 126k]
  ------------------
 2731|    778|                            make_super_instruction(inst, &b->b_instr[i + 1], STORE_FAST_LOAD_FAST);
  ------------------
  |  |  122|    778|#define STORE_FAST_LOAD_FAST                   109
  ------------------
 2732|    778|                            break;
 2733|  57.6k|                        case STORE_FAST:
  ------------------
  |  |  121|  57.6k|#define STORE_FAST                             108
  ------------------
  |  Branch (2733:25): [True: 57.6k, False: 69.3k]
  ------------------
 2734|  57.6k|                            make_super_instruction(inst, &b->b_instr[i + 1], STORE_FAST_STORE_FAST);
  ------------------
  |  |  123|  57.6k|#define STORE_FAST_STORE_FAST                  110
  ------------------
 2735|  57.6k|                            break;
 2736|   127k|                    }
 2737|   127k|                    break;
 2738|  3.68M|            }
 2739|  3.68M|        }
 2740|   525k|    }
 2741|  74.3k|    RETURN_IF_ERROR(remove_redundant_nops(g));
  ------------------
  |  |   25|  74.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 74.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2742|  74.3k|    assert(no_redundant_nops(g));
  ------------------
  |  Branch (2742:5): [True: 74.3k, False: 0]
  ------------------
 2743|  74.3k|    return SUCCESS;
  ------------------
  |  |   21|  74.3k|#define SUCCESS 0
  ------------------
 2744|  74.3k|}
flowgraph.c:make_super_instruction:
 2694|  68.5k|{
 2695|  68.5k|    int32_t line1 = inst1->i_loc.lineno;
 2696|  68.5k|    int32_t line2 = inst2->i_loc.lineno;
 2697|       |    /* Skip if instructions are on different lines */
 2698|  68.5k|    if (line1 >= 0 && line2 >= 0 && line1 != line2) {
  ------------------
  |  Branch (2698:9): [True: 68.5k, False: 0]
  |  Branch (2698:23): [True: 68.5k, False: 0]
  |  Branch (2698:37): [True: 280, False: 68.2k]
  ------------------
 2699|    280|        return;
 2700|    280|    }
 2701|  68.2k|    if (inst1->i_oparg >= 16 || inst2->i_oparg >= 16) {
  ------------------
  |  Branch (2701:9): [True: 37.9k, False: 30.2k]
  |  Branch (2701:33): [True: 4.09k, False: 26.1k]
  ------------------
 2702|  42.0k|        return;
 2703|  42.0k|    }
 2704|  26.1k|    INSTR_SET_OP1(inst1, super_op, (inst1->i_oparg << 4) | inst2->i_oparg);
  ------------------
  |  |  116|  26.1k|    do { \
  |  |  117|  26.1k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  26.1k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  26.1k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|  26.1k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  26.1k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 26.1k]
  |  |  ------------------
  ------------------
  |  Branch (2704:5): [True: 26.1k, False: 0]
  ------------------
 2705|  26.1k|    INSTR_SET_OP0(inst2, NOP);
  ------------------
  |  |  125|  26.1k|    do { \
  |  |  126|  26.1k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  26.1k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  26.1k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  26.1k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  26.1k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 26.1k]
  |  |  ------------------
  ------------------
  |  Branch (2705:5): [True: 26.1k, False: 0]
  ------------------
 2706|  26.1k|}
flowgraph.c:no_redundant_nops:
  517|  74.3k|no_redundant_nops(cfg_builder *g) {
  518|  74.3k|    if (remove_redundant_nops(g) != 0) {
  ------------------
  |  Branch (518:9): [True: 0, False: 74.3k]
  ------------------
  519|      0|        return false;
  520|      0|    }
  521|  74.3k|    return true;
  522|  74.3k|}
flowgraph.c:get_stack_effects:
  784|  3.91M|{
  785|  3.91M|    if (opcode < 0) {
  ------------------
  |  Branch (785:9): [True: 0, False: 3.91M]
  ------------------
  786|      0|        return -1;
  787|      0|    }
  788|  3.91M|    if ((opcode <= MAX_REAL_OPCODE) && (_PyOpcode_Deopt[opcode] != opcode)) {
  ------------------
  |  |   11|  3.91M|#define MAX_REAL_OPCODE 254
  ------------------
  |  Branch (788:9): [True: 3.54M, False: 369k]
  |  Branch (788:40): [True: 0, False: 3.54M]
  ------------------
  789|       |        // Specialized instructions are not supported.
  790|      0|        return -1;
  791|      0|    }
  792|  3.91M|    int popped = _PyOpcode_num_popped(opcode, oparg);
  793|  3.91M|    int pushed = _PyOpcode_num_pushed(opcode, oparg);
  794|  3.91M|    if (popped < 0 || pushed < 0) {
  ------------------
  |  Branch (794:9): [True: 0, False: 3.91M]
  |  Branch (794:23): [True: 0, False: 3.91M]
  ------------------
  795|      0|        return -1;
  796|      0|    }
  797|  3.91M|    if (IS_BLOCK_PUSH_OPCODE(opcode) && !jump) {
  ------------------
  |  |   18|  7.82M|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  252|  7.82M|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 85.5k, False: 3.82M]
  |  |  ------------------
  |  |   19|  3.91M|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  253|  7.73M|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 21.8k, False: 3.80M]
  |  |  ------------------
  |  |   20|  7.82M|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|  3.80M|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 41.4k, False: 3.76M]
  |  |  ------------------
  ------------------
  |  Branch (797:41): [True: 74.4k, False: 74.4k]
  ------------------
  798|  74.4k|        effects->net = 0;
  799|  74.4k|        return 0;
  800|  74.4k|    }
  801|  3.83M|    effects->net = pushed - popped;
  802|  3.83M|    return 0;
  803|  3.91M|}

_PyFrame_Traverse:
   12|     18|{
   13|     18|    Py_VISIT(frame->frame_obj);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 18]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
   14|     18|    Py_VISIT(frame->f_locals);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 18]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
   15|     18|    _Py_VISIT_STACKREF(frame->f_funcobj);
  ------------------
  |  |  863|     18|    do {                                                                \
  |  |  864|     18|        if (!PyStackRef_IsNullOrInt(ref)) {                             \
  |  |  ------------------
  |  |  |  |  498|     18|#define PyStackRef_IsNullOrInt(stackref) (PyStackRef_IsNull(stackref) || PyStackRef_IsTaggedInt(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  482|     36|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  479|     18|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|     18|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (482:32): [True: 0, False: 18]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (498:74): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  865|     18|            int vret = _PyGC_VisitStackRef(&(ref), visit, arg);         \
  |  |  866|     18|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (866:17): [True: 0, False: 18]
  |  |  ------------------
  |  |  867|     18|                return vret;                                            \
  |  |  868|     18|        }                                                               \
  |  |  869|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (869:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
   16|     18|    _Py_VISIT_STACKREF(frame->f_executable);
  ------------------
  |  |  863|     18|    do {                                                                \
  |  |  864|     18|        if (!PyStackRef_IsNullOrInt(ref)) {                             \
  |  |  ------------------
  |  |  |  |  498|     18|#define PyStackRef_IsNullOrInt(stackref) (PyStackRef_IsNull(stackref) || PyStackRef_IsTaggedInt(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  482|     36|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  479|     18|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|     18|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (482:32): [True: 0, False: 18]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (498:74): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  865|     18|            int vret = _PyGC_VisitStackRef(&(ref), visit, arg);         \
  |  |  866|     18|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (866:17): [True: 0, False: 18]
  |  |  ------------------
  |  |  867|     18|                return vret;                                            \
  |  |  868|     18|        }                                                               \
  |  |  869|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (869:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
   17|     18|    return _PyGC_VisitFrameStack(frame, visit, arg);
   18|     18|}
_PyFrame_MakeAndSetFrameObject:
   22|  19.9k|{
   23|  19.9k|    PyObject *exc = PyErr_GetRaisedException();
   24|       |
   25|  19.9k|    PyFrameObject *f = _PyFrame_New_NoTrack(_PyFrame_GetCode(frame));
   26|  19.9k|    if (f == NULL) {
  ------------------
  |  Branch (26:9): [True: 0, False: 19.9k]
  ------------------
   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|  19.9k|    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|  19.9k|    assert(frame->owner != FRAME_OWNED_BY_FRAME_OBJECT);
  ------------------
  |  Branch (39:5): [True: 19.9k, False: 0]
  ------------------
   40|  19.9k|    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|  19.9k|    assert(frame->frame_obj == NULL);
  ------------------
  |  Branch (48:5): [True: 19.9k, False: 0]
  ------------------
   49|  19.9k|    frame->frame_obj = f;
   50|  19.9k|#endif
   51|  19.9k|    return f;
   52|  19.9k|}
_PyFrame_ClearLocals:
  101|  5.16M|{
  102|  5.16M|    assert(frame->stackpointer != NULL);
  ------------------
  |  Branch (102:5): [True: 5.16M, False: 0]
  ------------------
  103|  5.16M|    _PyStackRef *sp = frame->stackpointer;
  104|  5.16M|    _PyStackRef *locals = frame->localsplus;
  105|  5.16M|    frame->stackpointer = locals;
  106|  22.1M|    while (sp > locals) {
  ------------------
  |  Branch (106:12): [True: 17.0M, False: 5.16M]
  ------------------
  107|  17.0M|        sp--;
  108|  17.0M|        PyStackRef_XCLOSE(*sp);
  109|  17.0M|    }
  110|       |    Py_CLEAR(frame->f_locals);
  ------------------
  |  |  487|  5.16M|    do { \
  |  |  488|  5.16M|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|  5.16M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|  5.16M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|  5.16M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|  5.16M|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|  5.16M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 818, False: 5.16M]
  |  |  ------------------
  |  |  491|    818|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    818|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    818|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    818|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    818|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    818|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    818|        } \
  |  |  494|  5.16M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 5.16M]
  |  |  ------------------
  ------------------
  111|  5.16M|}
_PyFrame_ClearExceptCode:
  115|  5.16M|{
  116|       |    /* It is the responsibility of the owning generator/coroutine
  117|       |     * to have cleared the enclosing generator, if any. */
  118|  5.16M|    assert(frame->owner != FRAME_OWNED_BY_GENERATOR ||
  ------------------
  |  Branch (118:5): [True: 5.16M, False: 933]
  |  Branch (118:5): [True: 933, False: 0]
  ------------------
  119|  5.16M|           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|  5.16M|    assert(_PyThreadState_GET()->current_frame != frame);
  ------------------
  |  Branch (122:5): [True: 5.16M, False: 0]
  ------------------
  123|  5.16M|    PyFrameObject *f = FT_ATOMIC_LOAD_PTR_RELAXED(frame->frame_obj);
  ------------------
  |  |  155|  5.16M|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
  124|  5.16M|    if (f != NULL) {
  ------------------
  |  Branch (124:9): [True: 19.9k, False: 5.14M]
  ------------------
  125|  19.9k|        FT_ATOMIC_STORE_PTR_RELAXED(frame->frame_obj, NULL);
  ------------------
  |  |  165|  19.9k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
  126|  19.9k|        if (!_PyObject_IsUniquelyReferenced((PyObject *)f)) {
  ------------------
  |  Branch (126:13): [True: 3.58k, False: 16.3k]
  ------------------
  127|  3.58k|            take_ownership(f, frame);
  128|  3.58k|            Py_DECREF(f);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|  3.58k|            return;
  130|  3.58k|        }
  131|  16.3k|        Py_DECREF(f);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  132|  16.3k|    }
  133|  5.16M|    _PyFrame_ClearLocals(frame);
  134|  5.16M|    PyStackRef_CLEAR(frame->f_funcobj);
  ------------------
  |  |  732|  5.16M|    do { \
  |  |  733|  5.16M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  5.16M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  5.16M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  5.16M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  5.16M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 5.16M]
  |  |  ------------------
  ------------------
  135|  5.16M|}
frame.c:take_ownership:
   56|  3.58k|{
   57|  3.58k|    Py_BEGIN_CRITICAL_SECTION(f);
  ------------------
  |  |   51|  3.58k|    {
  ------------------
   58|  3.58k|    assert(frame->owner < FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (58:5): [True: 3.58k, False: 0]
  ------------------
   59|  3.58k|    assert(frame->owner != FRAME_OWNED_BY_FRAME_OBJECT);
  ------------------
  |  Branch (59:5): [True: 3.58k, False: 0]
  ------------------
   60|  3.58k|    _PyInterpreterFrame *new_frame = (_PyInterpreterFrame *)f->_f_frame_data;
   61|  3.58k|    _PyFrame_Copy(frame, new_frame);
   62|       |    // _PyFrame_Copy takes the reference to the executable,
   63|       |    // so we need to restore it.
   64|  3.58k|    new_frame->f_executable = PyStackRef_DUP(new_frame->f_executable);
   65|  3.58k|    f->f_frame = new_frame;
   66|  3.58k|    new_frame->owner = FRAME_OWNED_BY_FRAME_OBJECT;
   67|  3.58k|    if (_PyFrame_IsIncomplete(new_frame)) {
  ------------------
  |  Branch (67:9): [True: 0, False: 3.58k]
  ------------------
   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|  3.58k|    assert(!_PyFrame_IsIncomplete(new_frame));
  ------------------
  |  Branch (74:5): [True: 3.58k, False: 0]
  ------------------
   75|  3.58k|    assert(f->f_back == NULL);
  ------------------
  |  Branch (75:5): [True: 3.58k, False: 0]
  ------------------
   76|  3.58k|    _PyInterpreterFrame *prev = _PyFrame_GetFirstComplete(frame->previous);
   77|  3.58k|    if (prev) {
  ------------------
  |  Branch (77:9): [True: 2.49k, False: 1.09k]
  ------------------
   78|  2.49k|        assert(prev->owner < FRAME_OWNED_BY_INTERPRETER);
  ------------------
  |  Branch (78:9): [True: 2.49k, False: 0]
  ------------------
   79|  2.49k|        PyObject *exc = PyErr_GetRaisedException();
   80|       |        /* Link PyFrameObjects.f_back and remove link through _PyInterpreterFrame.previous */
   81|  2.49k|        PyFrameObject *back = _PyFrame_GetFrameObject(prev);
   82|  2.49k|        if (back == NULL) {
  ------------------
  |  Branch (82:13): [True: 0, False: 2.49k]
  ------------------
   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|  2.49k|        else {
   89|  2.49k|            f->f_back = (PyFrameObject *)Py_NewRef(back);
  ------------------
  |  |  647|  2.49k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|  2.49k|        }
   91|  2.49k|        PyErr_SetRaisedException(exc);
   92|  2.49k|    }
   93|  3.58k|    if (!_PyObject_GC_IS_TRACKED((PyObject *)f)) {
  ------------------
  |  |   81|  3.58k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (93:9): [True: 3.58k, False: 0]
  ------------------
   94|  3.58k|        _PyObject_GC_TRACK((PyObject *)f);
  ------------------
  |  |  502|  3.58k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|  3.58k|    }
   96|  3.58k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.58k|    }
  ------------------
   97|  3.58k|}

_PyFuture_FromAST:
  141|  14.6k|{
  142|  14.6k|    ff->ff_features = 0;
  143|  14.6k|    ff->ff_location = (_Py_SourceLocation){-1, -1, -1, -1};
  144|       |
  145|  14.6k|    if (!future_parse(ff, mod, filename)) {
  ------------------
  |  Branch (145:9): [True: 100, False: 14.5k]
  ------------------
  146|    100|        return 0;
  147|    100|    }
  148|  14.5k|    return 1;
  149|  14.6k|}
future.c:future_parse:
   96|  14.6k|{
   97|  14.6k|    if (!(mod->kind == Module_kind || mod->kind == Interactive_kind)) {
  ------------------
  |  Branch (97:11): [True: 9.90k, False: 4.77k]
  |  Branch (97:39): [True: 2.75k, False: 2.02k]
  ------------------
   98|  2.02k|        return 1;
   99|  2.02k|    }
  100|       |
  101|  12.6k|    Py_ssize_t n = asdl_seq_LEN(mod->v.Module.body);
  ------------------
  |  |   83|  12.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  25.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 389, False: 12.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  102|  12.6k|    if (n == 0) {
  ------------------
  |  Branch (102:9): [True: 389, False: 12.2k]
  ------------------
  103|    389|        return 1;
  104|    389|    }
  105|       |
  106|  12.2k|    Py_ssize_t i = 0;
  107|  12.2k|    if (_PyAST_GetDocString(mod->v.Module.body) != NULL) {
  ------------------
  |  Branch (107:9): [True: 226, False: 12.0k]
  ------------------
  108|    226|        i++;
  109|    226|    }
  110|       |
  111|  13.8k|    for (; i < n; i++) {
  ------------------
  |  Branch (111:12): [True: 13.6k, False: 222]
  ------------------
  112|  13.6k|        stmt_ty s = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i);
  ------------------
  |  |   82|  13.6k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  13.6k|#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|  13.6k|        if (s->kind == ImportFrom_kind && s->v.ImportFrom.level == 0) {
  ------------------
  |  Branch (118:13): [True: 1.76k, False: 11.8k]
  |  Branch (118:43): [True: 1.72k, False: 34]
  ------------------
  119|  1.72k|            identifier modname = s->v.ImportFrom.module;
  120|  1.72k|            if (modname &&
  ------------------
  |  Branch (120:17): [True: 1.72k, False: 0]
  ------------------
  121|  1.72k|                _PyUnicode_EqualToASCIIString(modname, "__future__")) {
  ------------------
  |  Branch (121:17): [True: 1.67k, False: 51]
  ------------------
  122|  1.67k|                if (!future_check_features(ff, s, filename)) {
  ------------------
  |  Branch (122:21): [True: 100, False: 1.57k]
  ------------------
  123|    100|                    return 0;
  124|    100|                }
  125|  1.57k|                ff->ff_location = SRC_LOCATION_FROM_AST(s);
  ------------------
  |  |   58|  1.57k|    (_Py_SourceLocation){ \
  |  |   59|  1.57k|               .lineno = (n)->lineno, \
  |  |   60|  1.57k|               .end_lineno = (n)->end_lineno, \
  |  |   61|  1.57k|               .col_offset = (n)->col_offset, \
  |  |   62|  1.57k|               .end_col_offset = (n)->end_col_offset }
  ------------------
  126|  1.57k|            }
  127|     51|            else {
  128|     51|                return 1;
  129|     51|            }
  130|  1.72k|        }
  131|  11.8k|        else {
  132|  11.8k|            return 1;
  133|  11.8k|        }
  134|  13.6k|    }
  135|    222|    return 1;
  136|  12.2k|}
future.c:future_check_features:
   11|  1.67k|{
   12|  1.67k|    Py_ssize_t i;
   13|       |
   14|  1.67k|    assert(s->kind == ImportFrom_kind);
  ------------------
  |  Branch (14:5): [True: 1.67k, False: 0]
  ------------------
   15|       |
   16|  1.67k|    asdl_alias_seq *names = s->v.ImportFrom.names;
   17|  3.25k|    for (i = 0; i < asdl_seq_LEN(names); i++) {
  ------------------
  |  |   83|  3.25k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  6.50k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.25k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (17:17): [True: 1.67k, False: 1.57k]
  ------------------
   18|  1.67k|        alias_ty name = (alias_ty)asdl_seq_GET(names, i);
  ------------------
  |  |   82|  1.67k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.67k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   19|  1.67k|        const char *feature = PyUnicode_AsUTF8(name->name);
   20|  1.67k|        if (!feature)
  ------------------
  |  Branch (20:13): [True: 0, False: 1.67k]
  ------------------
   21|      0|            return 0;
   22|  1.67k|        if (strcmp(feature, FUTURE_NESTED_SCOPES) == 0) {
  ------------------
  |  |   37|  1.67k|#define FUTURE_NESTED_SCOPES "nested_scopes"
  ------------------
  |  Branch (22:13): [True: 35, False: 1.64k]
  ------------------
   23|     35|            continue;
   24|  1.64k|        } else if (strcmp(feature, FUTURE_GENERATORS) == 0) {
  ------------------
  |  |   38|  1.64k|#define FUTURE_GENERATORS "generators"
  ------------------
  |  Branch (24:20): [True: 28, False: 1.61k]
  ------------------
   25|     28|            continue;
   26|  1.61k|        } else if (strcmp(feature, FUTURE_DIVISION) == 0) {
  ------------------
  |  |   39|  1.61k|#define FUTURE_DIVISION "division"
  ------------------
  |  Branch (26:20): [True: 40, False: 1.57k]
  ------------------
   27|     40|            continue;
   28|  1.57k|        } else if (strcmp(feature, FUTURE_ABSOLUTE_IMPORT) == 0) {
  ------------------
  |  |   40|  1.57k|#define FUTURE_ABSOLUTE_IMPORT "absolute_import"
  ------------------
  |  Branch (28:20): [True: 0, False: 1.57k]
  ------------------
   29|      0|            continue;
   30|  1.57k|        } else if (strcmp(feature, FUTURE_WITH_STATEMENT) == 0) {
  ------------------
  |  |   41|  1.57k|#define FUTURE_WITH_STATEMENT "with_statement"
  ------------------
  |  Branch (30:20): [True: 1, False: 1.57k]
  ------------------
   31|      1|            continue;
   32|  1.57k|        } else if (strcmp(feature, FUTURE_PRINT_FUNCTION) == 0) {
  ------------------
  |  |   42|  1.57k|#define FUTURE_PRINT_FUNCTION "print_function"
  ------------------
  |  Branch (32:20): [True: 1, False: 1.57k]
  ------------------
   33|      1|            continue;
   34|  1.57k|        } else if (strcmp(feature, FUTURE_UNICODE_LITERALS) == 0) {
  ------------------
  |  |   43|  1.57k|#define FUTURE_UNICODE_LITERALS "unicode_literals"
  ------------------
  |  Branch (34:20): [True: 1, False: 1.57k]
  ------------------
   35|      1|            continue;
   36|  1.57k|        } else if (strcmp(feature, FUTURE_BARRY_AS_BDFL) == 0) {
  ------------------
  |  |   44|  1.57k|#define FUTURE_BARRY_AS_BDFL "barry_as_FLUFL"
  ------------------
  |  Branch (36:20): [True: 11, False: 1.55k]
  ------------------
   37|     11|            ff->ff_features |= CO_FUTURE_BARRY_AS_BDFL;
  ------------------
  |  |  145|     11|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  ------------------
   38|  1.55k|        } else if (strcmp(feature, FUTURE_GENERATOR_STOP) == 0) {
  ------------------
  |  |   45|  1.55k|#define FUTURE_GENERATOR_STOP "generator_stop"
  ------------------
  |  Branch (38:20): [True: 1, False: 1.55k]
  ------------------
   39|      1|            continue;
   40|  1.55k|        } else if (strcmp(feature, FUTURE_ANNOTATIONS) == 0) {
  ------------------
  |  |   46|  1.55k|#define FUTURE_ANNOTATIONS "annotations"
  ------------------
  |  Branch (40:20): [True: 1.45k, False: 100]
  ------------------
   41|  1.45k|            ff->ff_features |= CO_FUTURE_ANNOTATIONS;
  ------------------
  |  |  147|  1.45k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
   42|  1.45k|        } else if (strcmp(feature, "braces") == 0) {
  ------------------
  |  Branch (42:20): [True: 0, False: 100]
  ------------------
   43|      0|            PyErr_SetString(PyExc_SyntaxError,
   44|      0|                            "not a chance");
   45|      0|            PyErr_RangedSyntaxLocationObject(filename,
   46|      0|                                             name->lineno,
   47|      0|                                             name->col_offset + 1,
   48|      0|                                             name->end_lineno,
   49|      0|                                             name->end_col_offset + 1);
   50|      0|            return 0;
   51|    100|        } else {
   52|       |            // Keep this list in sync with the feature checks above.
   53|    100|            PyObject *future_features = Py_BuildValue("[ssssssssss]",
   54|    100|                                                      FUTURE_NESTED_SCOPES,
  ------------------
  |  |   37|    100|#define FUTURE_NESTED_SCOPES "nested_scopes"
  ------------------
   55|    100|                                                      FUTURE_GENERATORS,
  ------------------
  |  |   38|    100|#define FUTURE_GENERATORS "generators"
  ------------------
   56|    100|                                                      FUTURE_DIVISION,
  ------------------
  |  |   39|    100|#define FUTURE_DIVISION "division"
  ------------------
   57|    100|                                                      FUTURE_ABSOLUTE_IMPORT,
  ------------------
  |  |   40|    100|#define FUTURE_ABSOLUTE_IMPORT "absolute_import"
  ------------------
   58|    100|                                                      FUTURE_WITH_STATEMENT,
  ------------------
  |  |   41|    100|#define FUTURE_WITH_STATEMENT "with_statement"
  ------------------
   59|    100|                                                      FUTURE_PRINT_FUNCTION,
  ------------------
  |  |   42|    100|#define FUTURE_PRINT_FUNCTION "print_function"
  ------------------
   60|    100|                                                      FUTURE_UNICODE_LITERALS,
  ------------------
  |  |   43|    100|#define FUTURE_UNICODE_LITERALS "unicode_literals"
  ------------------
   61|    100|                                                      FUTURE_BARRY_AS_BDFL,
  ------------------
  |  |   44|    100|#define FUTURE_BARRY_AS_BDFL "barry_as_FLUFL"
  ------------------
   62|    100|                                                      FUTURE_GENERATOR_STOP,
  ------------------
  |  |   45|    100|#define FUTURE_GENERATOR_STOP "generator_stop"
  ------------------
   63|    100|                                                      FUTURE_ANNOTATIONS);
  ------------------
  |  |   46|    100|#define FUTURE_ANNOTATIONS "annotations"
  ------------------
   64|    100|            PyObject *suggestion = NULL;
   65|    100|            if (future_features != NULL) {
  ------------------
  |  Branch (65:17): [True: 100, False: 0]
  ------------------
   66|    100|                suggestion = _Py_CalculateSuggestions(future_features,
   67|    100|                                                      name->name);
   68|    100|            }
   69|    100|            if (suggestion != NULL) {
  ------------------
  |  Branch (69:17): [True: 31, False: 69]
  ------------------
   70|     31|                PyErr_Format(PyExc_SyntaxError,
   71|     31|                             UNDEFINED_FUTURE_FEATURE ". Did you mean: %R?",
  ------------------
  |  |    7|     31|#define UNDEFINED_FUTURE_FEATURE "future feature '%.100s' is not defined"
  ------------------
   72|     31|                             feature, suggestion);
   73|     31|                Py_DECREF(suggestion);
  ------------------
  |  |  430|     31|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   74|     31|            }
   75|     69|            else {
   76|       |                // Do not fail on missing suggestion,
   77|       |                // just show the default message.
   78|     69|                PyErr_Format(PyExc_SyntaxError,
   79|     69|                             UNDEFINED_FUTURE_FEATURE,
  ------------------
  |  |    7|     69|#define UNDEFINED_FUTURE_FEATURE "future feature '%.100s' is not defined"
  ------------------
   80|     69|                             feature);
   81|     69|            }
   82|    100|            Py_XDECREF(future_features);
  ------------------
  |  |  621|    100|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   83|    100|            PyErr_RangedSyntaxLocationObject(filename,
   84|    100|                                             name->lineno,
   85|    100|                                             name->col_offset + 1,
   86|    100|                                             name->end_lineno,
   87|    100|                                             name->end_col_offset + 1);
   88|    100|            return 0;
   89|    100|        }
   90|  1.67k|    }
   91|  1.57k|    return 1;
   92|  1.67k|}

_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|}
_PyGC_VisitStackRef:
  461|    108|{
  462|       |    // This is a bit tricky! We want to ignore stackrefs with embedded
  463|       |    // refcounts when computing the incoming references, but otherwise treat
  464|       |    // them like normal.
  465|    108|    assert(!PyStackRef_IsTaggedInt(*ref));
  ------------------
  |  Branch (465:5): [True: 108, False: 0]
  ------------------
  466|    108|    if (!PyStackRef_RefcountOnObject(*ref) && (visit == visit_decref)) {
  ------------------
  |  Branch (466:9): [True: 30, False: 78]
  |  Branch (466:47): [True: 15, False: 15]
  ------------------
  467|     15|        return 0;
  468|     15|    }
  469|     93|    Py_VISIT(PyStackRef_AsPyObjectBorrow(*ref));
  ------------------
  |  |  194|     93|    do {                                                                \
  |  |  195|     93|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 93, False: 0]
  |  |  ------------------
  |  |  196|     93|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     93|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 93]
  |  |  ------------------
  |  |  198|     93|                return vret;                                            \
  |  |  199|     93|        }                                                               \
  |  |  200|     93|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 93]
  |  |  ------------------
  ------------------
  470|     93|    return 0;
  471|     93|}
_PyGC_VisitFrameStack:
  475|     18|{
  476|     18|    _PyStackRef *ref = _PyFrame_GetLocalsArray(frame);
  477|       |    /* locals and stack */
  478|    120|    for (; ref < frame->stackpointer; ref++) {
  ------------------
  |  Branch (478:12): [True: 102, False: 18]
  ------------------
  479|    102|        if (!PyStackRef_IsTaggedInt(*ref)) {
  ------------------
  |  Branch (479:13): [True: 98, False: 4]
  ------------------
  480|     98|            _Py_VISIT_STACKREF(*ref);
  ------------------
  |  |  863|     98|    do {                                                                \
  |  |  864|     98|        if (!PyStackRef_IsNullOrInt(ref)) {                             \
  |  |  ------------------
  |  |  |  |  498|     98|#define PyStackRef_IsNullOrInt(stackref) (PyStackRef_IsNull(stackref) || PyStackRef_IsTaggedInt(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  482|    196|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  479|     98|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|     98|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (482:32): [True: 26, False: 72]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (498:74): [True: 0, False: 72]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  865|     72|            int vret = _PyGC_VisitStackRef(&(ref), visit, arg);         \
  |  |  866|     72|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (866:17): [True: 0, False: 72]
  |  |  ------------------
  |  |  867|     72|                return vret;                                            \
  |  |  868|     72|        }                                                               \
  |  |  869|     98|    } while (0)
  |  |  ------------------
  |  |  |  Branch (869:14): [Folded, False: 98]
  |  |  ------------------
  ------------------
  481|     98|        }
  482|    102|    }
  483|     18|    return 0;
  484|     18|}
PyObject_GC_Track:
 1991|   112k|{
 1992|   112k|    PyObject *op = _PyObject_CAST(op_raw);
  ------------------
  |  |  171|   112k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   112k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1993|   112k|    if (_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|   112k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|   112k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 0, False: 112k]
  |  |  ------------------
  ------------------
 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|   112k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  502|   112k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   112k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   112k|#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|   112k|}
PyObject_GC_UnTrack:
 2010|   103M|{
 2011|   103M|    PyObject *op = _PyObject_CAST(op_raw);
  ------------------
  |  |  171|   103M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   103M|#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|   103M|    if (_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|   103M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|   103M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 30.3M, False: 72.7M]
  |  |  ------------------
  ------------------
 2015|  30.3M|        _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  504|  30.3M|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2016|  30.3M|    }
 2017|   103M|}
PyObject_IS_GC:
 2021|  37.5k|{
 2022|  37.5k|    return _PyObject_IS_GC(obj);
 2023|  37.5k|}
_Py_ScheduleGC:
 2027|  68.1M|{
 2028|  68.1M|    if (!_Py_eval_breaker_bit_is_set(tstate, _PY_GC_SCHEDULED_BIT))
  ------------------
  |  |  349|  68.1M|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (2028:9): [True: 10.0k, False: 68.1M]
  ------------------
 2029|  10.0k|    {
 2030|  10.0k|        _Py_set_eval_breaker_bit(tstate, _PY_GC_SCHEDULED_BIT);
  ------------------
  |  |  349|  10.0k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
 2031|  10.0k|    }
 2032|  68.1M|}
_PyObject_GC_Link:
 2036|  87.5M|{
 2037|  87.5M|    PyGC_Head *gc = AS_GC(op);
  ------------------
  |  |   53|  87.5M|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
 2038|       |    // gc must be correctly aligned
 2039|  87.5M|    _PyObject_ASSERT(op, ((uintptr_t)gc & (sizeof(uintptr_t)-1)) == 0);
  ------------------
  |  |  360|  87.5M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  87.5M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  87.5M|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 87.5M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  87.5M|      ? (void)(0) \
  |  |  |  |  |  |  353|  87.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)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2040|       |
 2041|  87.5M|    PyThreadState *tstate = _PyThreadState_GET();
 2042|  87.5M|    GCState *gcstate = &tstate->interp->gc;
 2043|  87.5M|    gc->_gc_next = 0;
 2044|  87.5M|    gc->_gc_prev = 0;
 2045|  87.5M|    gcstate->generations[0].count++; /* number of allocated GC objects */
 2046|  87.5M|    if (gcstate->generations[0].count > gcstate->generations[0].threshold &&
  ------------------
  |  Branch (2046:9): [True: 68.1M, False: 19.4M]
  ------------------
 2047|  68.1M|        gcstate->enabled &&
  ------------------
  |  Branch (2047:9): [True: 68.1M, False: 0]
  ------------------
 2048|  68.1M|        gcstate->generations[0].threshold &&
  ------------------
  |  Branch (2048:9): [True: 68.1M, False: 0]
  ------------------
 2049|  68.1M|        !_Py_atomic_load_int_relaxed(&gcstate->collecting) &&
  ------------------
  |  Branch (2049:9): [True: 68.1M, False: 0]
  ------------------
 2050|  68.1M|        !_PyErr_Occurred(tstate))
  ------------------
  |  Branch (2050:9): [True: 68.1M, False: 0]
  ------------------
 2051|  68.1M|    {
 2052|  68.1M|        _Py_ScheduleGC(tstate);
 2053|  68.1M|    }
 2054|  87.5M|}
_Py_RunGC:
 2058|  10.0k|{
 2059|  10.0k|    GCState *gcstate = get_gc_state();
 2060|  10.0k|    if (!gcstate->enabled) {
  ------------------
  |  Branch (2060:9): [True: 0, False: 10.0k]
  ------------------
 2061|      0|        return;
 2062|      0|    }
 2063|  10.0k|    gc_collect_main(tstate, GENERATION_AUTO, _Py_GC_REASON_HEAP);
  ------------------
  |  |   57|  10.0k|#define GENERATION_AUTO (-1)
  ------------------
 2064|  10.0k|}
_PyObject_GC_New:
 2088|   527k|{
 2089|   527k|    size_t presize = _PyType_PreHeaderSize(tp);
 2090|   527k|    size_t size = _PyObject_SIZE(tp);
 2091|   527k|    if (_PyType_HasFeature(tp, Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|   527k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2091:9): [True: 0, False: 527k]
  ------------------
 2092|      0|        size += _PyInlineValuesSize(tp);
 2093|      0|    }
 2094|   527k|    PyObject *op = gc_alloc(tp, size, presize);
 2095|   527k|    if (op == NULL) {
  ------------------
  |  Branch (2095:9): [True: 0, False: 527k]
  ------------------
 2096|      0|        return NULL;
 2097|      0|    }
 2098|   527k|    _PyObject_Init(op, tp);
 2099|   527k|    if (tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|   527k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2099:9): [True: 0, False: 527k]
  ------------------
 2100|      0|        _PyObject_InitInlineValues(op, tp);
 2101|      0|    }
 2102|   527k|    return op;
 2103|   527k|}
_PyObject_GC_NewVar:
 2107|  85.6M|{
 2108|  85.6M|    PyVarObject *op;
 2109|       |
 2110|  85.6M|    if (nitems < 0) {
  ------------------
  |  Branch (2110:9): [True: 0, False: 85.6M]
  ------------------
 2111|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2112|      0|        return NULL;
 2113|      0|    }
 2114|  85.6M|    size_t presize = _PyType_PreHeaderSize(tp);
 2115|  85.6M|    size_t size = _PyObject_VAR_SIZE(tp, nitems);
 2116|  85.6M|    op = (PyVarObject *)gc_alloc(tp, size, presize);
 2117|  85.6M|    if (op == NULL) {
  ------------------
  |  Branch (2117:9): [True: 0, False: 85.6M]
  ------------------
 2118|      0|        return NULL;
 2119|      0|    }
 2120|  85.6M|    _PyObject_InitVar(op, tp, nitems);
 2121|  85.6M|    return op;
 2122|  85.6M|}
_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|  87.5M|{
 2160|  87.5M|    size_t presize = _PyType_PreHeaderSize(Py_TYPE(op));
  ------------------
  |  |  213|  87.5M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  87.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  87.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2161|  87.5M|    PyGC_Head *g = AS_GC(op);
  ------------------
  |  |   53|  87.5M|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
 2162|  87.5M|    if (_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  87.5M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  87.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 0, False: 87.5M]
  |  |  ------------------
  ------------------
 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|  87.5M|    GCState *gcstate = get_gc_state();
 2180|  87.5M|    if (gcstate->generations[0].count > 0) {
  ------------------
  |  Branch (2180:9): [True: 15.6M, False: 71.8M]
  ------------------
 2181|  15.6M|        gcstate->generations[0].count--;
 2182|  15.6M|    }
 2183|  87.5M|    PyObject_Free(((char *)op)-presize);
 2184|  87.5M|}
PyObject_GC_IsTracked:
 2188|    484|{
 2189|    484|    if (_PyObject_IS_GC(obj) && _PyObject_GC_IS_TRACKED(obj)) {
  ------------------
  |  |   81|    242|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 0, False: 242]
  |  |  ------------------
  ------------------
  |  Branch (2189:9): [True: 242, False: 242]
  ------------------
 2190|      0|        return 1;
 2191|      0|    }
 2192|    484|    return 0;
 2193|    484|}
gc.c:visit_decref:
  442|   582M|{
  443|   582M|    OBJECT_STAT_INC(object_visits);
  ------------------
  |  |   77|   582M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  444|   582M|    _PyObject_ASSERT(_PyObject_CAST(parent), !_PyObject_IsFreed(op));
  ------------------
  |  |  360|   582M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|   582M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|   582M|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 582M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|   582M|      ? (void)(0) \
  |  |  |  |  |  |  353|   582M|      : _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|   582M|    if (_PyObject_IS_GC(op)) {
  ------------------
  |  Branch (446:9): [True: 133M, False: 449M]
  ------------------
  447|   133M|        PyGC_Head *gc = AS_GC(op);
  ------------------
  |  |   53|   133M|#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|   133M|        if (gc_is_collecting(gc)) {
  ------------------
  |  Branch (452:13): [True: 72.6M, False: 61.1M]
  ------------------
  453|  72.6M|            gc_decref(gc);
  454|  72.6M|        }
  455|   133M|    }
  456|   582M|    return 0;
  457|   582M|}
gc.c:gc_is_collecting:
   61|   267M|{
   62|   267M|    return (g->_gc_prev & PREV_MASK_COLLECTING) != 0;
  ------------------
  |  |   40|   267M|#define PREV_MASK_COLLECTING   _PyGC_PREV_MASK_COLLECTING
  |  |  ------------------
  |  |  |  |  135|   267M|#define _PyGC_PREV_MASK_COLLECTING ((uintptr_t)2)
  |  |  ------------------
  ------------------
   63|   267M|}
gc.c:gc_decref:
   94|  72.6M|{
   95|  72.6M|    _PyObject_ASSERT_WITH_MSG(FROM_GC(g),
  ------------------
  |  |  358|  72.6M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  351|  72.6M|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (351:6): [True: 72.6M, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  352|  72.6M|      ? (void)(0) \
  |  |  |  |  353|  72.6M|      : _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|  72.6M|                              gc_get_refs(g) > 0,
   97|  72.6M|                              "refcount is too small");
   98|  72.6M|    g->_gc_prev -= 1 << _PyGC_PREV_SHIFT;
  ------------------
  |  |  137|  72.6M|#define _PyGC_PREV_SHIFT           2
  ------------------
   99|  72.6M|}
gc.c:gc_get_refs:
   73|   496M|{
   74|   496M|    return (Py_ssize_t)(g->_gc_prev >> _PyGC_PREV_SHIFT);
  ------------------
  |  |  137|   496M|#define _PyGC_PREV_SHIFT           2
  ------------------
   75|   496M|}
gc.c:gc_list_merge:
  278|  33.8k|{
  279|  33.8k|    assert(from != to);
  ------------------
  |  Branch (279:5): [True: 33.8k, False: 0]
  ------------------
  280|  33.8k|    if (!gc_list_is_empty(from)) {
  ------------------
  |  Branch (280:9): [True: 9.01k, False: 24.8k]
  ------------------
  281|  9.01k|        PyGC_Head *to_tail = GC_PREV(to);
  ------------------
  |  |   30|  9.01k|#define GC_PREV _PyGCHead_PREV
  ------------------
  282|  9.01k|        PyGC_Head *from_head = GC_NEXT(from);
  ------------------
  |  |   29|  9.01k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  283|  9.01k|        PyGC_Head *from_tail = GC_PREV(from);
  ------------------
  |  |   30|  9.01k|#define GC_PREV _PyGCHead_PREV
  ------------------
  284|  9.01k|        assert(from_head != from);
  ------------------
  |  Branch (284:9): [True: 9.01k, False: 0]
  ------------------
  285|  9.01k|        assert(from_tail != from);
  ------------------
  |  Branch (285:9): [True: 9.01k, False: 0]
  ------------------
  286|       |
  287|  9.01k|        _PyGCHead_SET_NEXT(to_tail, from_head);
  288|  9.01k|        _PyGCHead_SET_PREV(from_head, to_tail);
  289|       |
  290|  9.01k|        _PyGCHead_SET_NEXT(from_tail, to);
  291|  9.01k|        _PyGCHead_SET_PREV(to, from_tail);
  292|  9.01k|    }
  293|  33.8k|    gc_list_init(from);
  294|  33.8k|}
gc.c:gc_list_is_empty:
  221|  70.1k|{
  222|  70.1k|    return (list->_gc_next == (uintptr_t)list);
  223|  70.1k|}
gc.c:gc_list_init:
  212|  75.3k|{
  213|       |    // List header must not have flags.
  214|       |    // We can assign pointer by simple cast.
  215|  75.3k|    list->_gc_prev = (uintptr_t)list;
  216|  75.3k|    list->_gc_next = (uintptr_t)list;
  217|  75.3k|}
gc.c:gc_list_size:
  298|  16.5k|{
  299|  16.5k|    PyGC_Head *gc;
  300|  16.5k|    Py_ssize_t n = 0;
  301|  18.6k|    for (gc = GC_NEXT(list); gc != list; gc = GC_NEXT(gc)) {
  ------------------
  |  |   29|  16.5k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
                  for (gc = GC_NEXT(list); gc != list; gc = GC_NEXT(gc)) {
  ------------------
  |  |   29|  2.06k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (301:30): [True: 2.06k, False: 16.5k]
  ------------------
  302|  2.06k|        n++;
  303|  2.06k|    }
  304|  16.5k|    return n;
  305|  16.5k|}
gc.c:get_gc_state:
  107|  87.5M|{
  108|  87.5M|    PyInterpreterState *interp = _PyInterpreterState_GET();
  109|  87.5M|    return &interp->gc;
  110|  87.5M|}
gc.c:gc_collect_main:
 1476|  10.0k|{
 1477|  10.0k|    int i;
 1478|  10.0k|    PyGC_Head *young; /* the generation we are examining */
 1479|  10.0k|    PyGC_Head *old; /* next older generation */
 1480|  10.0k|    PyGC_Head unreachable; /* non-problematic unreachable trash */
 1481|  10.0k|    PyGC_Head finalizers;  /* objects with, & reachable from, __del__ */
 1482|  10.0k|    GCState *gcstate = &tstate->interp->gc;
 1483|       |
 1484|       |    // gc_collect_main() must not be called before _PyGC_Init
 1485|       |    // or after _PyGC_Fini()
 1486|  10.0k|    assert(gcstate->garbage != NULL);
  ------------------
  |  Branch (1486:5): [True: 10.0k, False: 0]
  ------------------
 1487|  10.0k|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1487:5): [True: 10.0k, False: 0]
  ------------------
 1488|       |
 1489|  10.0k|    int expected = 0;
 1490|  10.0k|    if (!_Py_atomic_compare_exchange_int(&gcstate->collecting, &expected, 1)) {
  ------------------
  |  Branch (1490:9): [True: 0, False: 10.0k]
  ------------------
 1491|       |        // Don't start a garbage collection if one is already in progress.
 1492|      0|        return 0;
 1493|      0|    }
 1494|  10.0k|    gcstate->frame = tstate->current_frame;
 1495|       |
 1496|  10.0k|    if (generation == GENERATION_AUTO) {
  ------------------
  |  |   57|  10.0k|#define GENERATION_AUTO (-1)
  ------------------
  |  Branch (1496:9): [True: 10.0k, 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|  10.0k|        generation = gc_select_generation(gcstate);
 1500|  10.0k|        if (generation < 0) {
  ------------------
  |  Branch (1500:13): [True: 1.73k, False: 8.29k]
  ------------------
 1501|       |            // No generation needs to be collected.
 1502|  1.73k|            _Py_atomic_store_int(&gcstate->collecting, 0);
 1503|  1.73k|            return 0;
 1504|  1.73k|        }
 1505|  10.0k|    }
 1506|       |
 1507|  10.0k|    assert(generation >= 0 && generation < NUM_GENERATIONS);
  ------------------
  |  Branch (1507:5): [True: 8.29k, False: 0]
  |  Branch (1507:5): [True: 8.29k, False: 0]
  ------------------
 1508|       |
 1509|       |#ifdef Py_STATS
 1510|       |    {
 1511|       |        PyStats *s = _PyStats_GET();
 1512|       |        if (s) {
 1513|       |            s->object_stats.object_visits = 0;
 1514|       |        }
 1515|       |    }
 1516|       |#endif
 1517|       |
 1518|  8.29k|    GC_STAT_ADD(generation, collections, 1);
  ------------------
  |  |   81|  8.29k|#define GC_STAT_ADD(gen, name, n) ((void)0)
  ------------------
 1519|       |
 1520|  8.29k|    struct gc_generation_stats stats = { 0 };
 1521|  8.29k|    if (reason != _Py_GC_REASON_SHUTDOWN) {
  ------------------
  |  Branch (1521:9): [True: 8.29k, False: 0]
  ------------------
 1522|  8.29k|        invoke_gc_callback(tstate, "start", generation, &stats);
 1523|  8.29k|    }
 1524|       |
 1525|  8.29k|    stats.heap_size = gcstate->heap_size;
 1526|       |    // ignore error: don't interrupt the GC if reading the clock fails
 1527|  8.29k|    (void)PyTime_PerfCounterRaw(&stats.ts_start);
 1528|  8.29k|    if (gcstate->debug & _PyGC_DEBUG_STATS) {
  ------------------
  |  |  141|  8.29k|#define _PyGC_DEBUG_STATS             (1<<0) /* print collection statistics */
  ------------------
  |  Branch (1528:9): [True: 0, False: 8.29k]
  ------------------
 1529|      0|        PySys_WriteStderr("gc: collecting generation %d...\n", generation);
 1530|      0|        show_stats_each_generations(gcstate);
 1531|      0|    }
 1532|       |
 1533|  8.29k|    if (PyDTrace_GC_START_ENABLED()) {
  ------------------
  |  Branch (1533:9): [True: 0, False: 8.29k]
  ------------------
 1534|      0|        PyDTrace_GC_START(generation);
 1535|      0|    }
 1536|       |
 1537|       |    /* update collection and allocation counters */
 1538|  8.29k|    if (generation+1 < NUM_GENERATIONS) {
  ------------------
  |  |  217|  8.29k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1538:9): [True: 8.28k, False: 8]
  ------------------
 1539|  8.28k|        gcstate->generations[generation+1].count += 1;
 1540|  8.28k|    }
 1541|  17.2k|    for (i = 0; i <= generation; i++) {
  ------------------
  |  Branch (1541:17): [True: 9.00k, False: 8.29k]
  ------------------
 1542|  9.00k|        gcstate->generations[i].count = 0;
 1543|  9.00k|    }
 1544|       |
 1545|       |    /* merge younger generations with one we are currently collecting */
 1546|  9.00k|    for (i = 0; i < generation; i++) {
  ------------------
  |  Branch (1546:17): [True: 706, False: 8.29k]
  ------------------
 1547|    706|        gc_list_merge(GEN_HEAD(gcstate, i), GEN_HEAD(gcstate, generation));
  ------------------
  |  |  102|    706|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
                      gc_list_merge(GEN_HEAD(gcstate, i), GEN_HEAD(gcstate, generation));
  ------------------
  |  |  102|    706|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
 1548|    706|    }
 1549|       |
 1550|       |    /* handy references */
 1551|  8.29k|    young = GEN_HEAD(gcstate, generation);
  ------------------
  |  |  102|  8.29k|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
 1552|  8.29k|    if (generation < NUM_GENERATIONS-1) {
  ------------------
  |  |  217|  8.29k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1552:9): [True: 8.28k, False: 8]
  ------------------
 1553|  8.28k|        old = GEN_HEAD(gcstate, generation+1);
  ------------------
  |  |  102|  8.28k|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
 1554|  8.28k|    }
 1555|      8|    else {
 1556|      8|        old = young;
 1557|      8|    }
 1558|  8.29k|    validate_list(old, collecting_clear_unreachable_clear);
  ------------------
  |  |  388|  8.29k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8.29k]
  |  |  ------------------
  ------------------
 1559|       |
 1560|  8.29k|    Py_ssize_t reachable;
 1561|  8.29k|    stats.candidates = deduce_unreachable(young, &unreachable, &reachable);
 1562|       |
 1563|       |    /* Move reachable objects to next generation. */
 1564|  8.29k|    if (young != old) {
  ------------------
  |  Branch (1564:9): [True: 8.28k, False: 8]
  ------------------
 1565|  8.28k|        if (generation == NUM_GENERATIONS - 2) {
  ------------------
  |  |  217|  8.28k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1565:13): [True: 690, False: 7.59k]
  ------------------
 1566|    690|            gcstate->long_lived_pending += reachable;
 1567|    690|        }
 1568|  8.28k|        gc_list_merge(young, old);
 1569|  8.28k|    }
 1570|      8|    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|      8|        gcstate->long_lived_pending = 0;
 1579|      8|        gcstate->long_lived_total = reachable;
 1580|      8|    }
 1581|       |
 1582|       |    /* All objects in unreachable are trash, but objects reachable from
 1583|       |     * legacy finalizers (e.g. tp_del) can't safely be deleted.
 1584|       |     */
 1585|  8.29k|    gc_list_init(&finalizers);
 1586|       |    // NEXT_MASK_UNREACHABLE is cleared here.
 1587|       |    // After move_legacy_finalizers(), unreachable is normal list.
 1588|  8.29k|    move_legacy_finalizers(&unreachable, &finalizers);
 1589|       |    /* finalizers contains the unreachable objects with a legacy finalizer;
 1590|       |     * unreachable objects reachable *from* those are also uncollectable,
 1591|       |     * and we move those into the finalizers list too.
 1592|       |     */
 1593|  8.29k|    move_legacy_finalizer_reachable(&finalizers);
 1594|       |
 1595|  8.29k|    validate_list(&finalizers, collecting_clear_unreachable_clear);
  ------------------
  |  |  388|  8.29k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8.29k]
  |  |  ------------------
  ------------------
 1596|  8.29k|    validate_list(&unreachable, collecting_set_unreachable_clear);
  ------------------
  |  |  388|  8.29k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8.29k]
  |  |  ------------------
  ------------------
 1597|       |
 1598|  8.29k|    bool needs_resurrection_check = false;
 1599|       |
 1600|       |    /* Print debugging information. */
 1601|  8.29k|    if (gcstate->debug & _PyGC_DEBUG_COLLECTABLE) {
  ------------------
  |  |  142|  8.29k|#define _PyGC_DEBUG_COLLECTABLE       (1<<1) /* print collectable objects */
  ------------------
  |  Branch (1601:9): [True: 0, False: 8.29k]
  ------------------
 1602|       |        /* sys.stderr.write() can resurrect objects. */
 1603|      0|        needs_resurrection_check = true;
 1604|      0|        debug_cycles("collectable", &unreachable);
 1605|      0|    }
 1606|       |
 1607|       |    /* Clear weakrefs and invoke callbacks as necessary. */
 1608|  8.29k|    stats.collected += handle_weakref_callbacks(&unreachable, old,
 1609|  8.29k|                                               &needs_resurrection_check);
 1610|  8.29k|    validate_list(old, collecting_clear_unreachable_clear);
  ------------------
  |  |  388|  8.29k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8.29k]
  |  |  ------------------
  ------------------
 1611|  8.29k|    validate_list(&unreachable, collecting_set_unreachable_clear);
  ------------------
  |  |  388|  8.29k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8.29k]
  |  |  ------------------
  ------------------
 1612|       |
 1613|       |    /* Call tp_finalize on objects which have one. */
 1614|  8.29k|    finalize_garbage(tstate, &unreachable, &needs_resurrection_check);
 1615|       |
 1616|       |    /* Handle any objects that may have resurrected after the call
 1617|       |     * to 'finalize_garbage' and continue the collection with the
 1618|       |     * objects that are still unreachable */
 1619|  8.29k|    PyGC_Head final_unreachable;
 1620|  8.29k|    if (needs_resurrection_check) {
  ------------------
  |  Branch (1620:9): [True: 0, False: 8.29k]
  ------------------
 1621|      0|        handle_resurrected_objects(&unreachable, &final_unreachable, old);
 1622|      0|    }
 1623|  8.29k|    else {
 1624|       |        /* No Python code ran during finalization, so the original
 1625|       |         * unreachable set is still valid. */
 1626|  8.29k|        gc_list_init(&final_unreachable);
 1627|  8.29k|        gc_list_merge(&unreachable, &final_unreachable);
 1628|  8.29k|    }
 1629|       |
 1630|       |    /* Clear weakrefs to objects in the unreachable set.  No Python-level
 1631|       |     * code must be allowed to access those unreachable objects.  During
 1632|       |     * delete_garbage(), finalizers outside the unreachable set might run
 1633|       |     * and create new weakrefs.  If those weakrefs were not cleared, they
 1634|       |     * could reveal unreachable objects.  Callbacks are not executed.
 1635|       |     */
 1636|  8.29k|    clear_weakrefs(&final_unreachable);
 1637|       |
 1638|       |    /* Call tp_clear on objects in the final_unreachable set.  This will cause
 1639|       |    * the reference cycles to be broken.  It may also cause some objects
 1640|       |    * in finalizers to be freed.
 1641|       |    */
 1642|  8.29k|    stats.collected += gc_list_size(&final_unreachable);
 1643|  8.29k|    delete_garbage(tstate, gcstate, &final_unreachable, old);
 1644|       |
 1645|       |    /* Collect statistics on uncollectable objects found and print
 1646|       |     * debugging information. */
 1647|  8.29k|    if (gcstate->debug & _PyGC_DEBUG_UNCOLLECTABLE) {
  ------------------
  |  |  143|  8.29k|#define _PyGC_DEBUG_UNCOLLECTABLE     (1<<2) /* print uncollectable objects */
  ------------------
  |  Branch (1647:9): [True: 0, False: 8.29k]
  ------------------
 1648|      0|        stats.uncollectable = debug_cycles("uncollectable", &finalizers);
 1649|      0|    }
 1650|  8.29k|    else {
 1651|  8.29k|        stats.uncollectable = gc_list_size(&finalizers);
 1652|  8.29k|    }
 1653|  8.29k|    (void)PyTime_PerfCounterRaw(&stats.ts_stop);
 1654|  8.29k|    stats.duration = PyTime_AsSecondsDouble(stats.ts_stop - stats.ts_start);
 1655|  8.29k|    if (gcstate->debug & _PyGC_DEBUG_STATS) {
  ------------------
  |  |  141|  8.29k|#define _PyGC_DEBUG_STATS             (1<<0) /* print collection statistics */
  ------------------
  |  Branch (1655:9): [True: 0, False: 8.29k]
  ------------------
 1656|      0|        PySys_WriteStderr(
 1657|      0|            "gc: done, %zd unreachable, %zd uncollectable, %.4fs elapsed\n",
 1658|      0|            stats.uncollectable+stats.collected, stats.uncollectable,
 1659|      0|            stats.duration);
 1660|      0|    }
 1661|       |
 1662|       |    /* Append instances in the uncollectable set to a Python
 1663|       |     * reachable list of garbage.  The programmer has to deal with
 1664|       |     * this if they insist on creating this type of structure.
 1665|       |     */
 1666|  8.29k|    handle_legacy_finalizers(tstate, gcstate, &finalizers, old);
 1667|  8.29k|    validate_list(old, collecting_clear_unreachable_clear);
  ------------------
  |  |  388|  8.29k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8.29k]
  |  |  ------------------
  ------------------
 1668|       |
 1669|       |    /* Clear free list only during the collection of the highest
 1670|       |     * generation */
 1671|  8.29k|    if (generation == NUM_GENERATIONS-1) {
  ------------------
  |  |  217|  8.29k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1671:9): [True: 8, False: 8.28k]
  ------------------
 1672|      8|        _PyGC_ClearAllFreeLists(tstate->interp);
 1673|      8|    }
 1674|       |
 1675|  8.29k|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1675:9): [True: 0, False: 8.29k]
  ------------------
 1676|      0|        if (reason == _Py_GC_REASON_SHUTDOWN) {
  ------------------
  |  Branch (1676:13): [True: 0, False: 0]
  ------------------
 1677|      0|            _PyErr_Clear(tstate);
 1678|      0|        }
 1679|      0|        else {
 1680|      0|            PyErr_FormatUnraisable("Exception ignored in garbage collection");
 1681|      0|        }
 1682|      0|    }
 1683|       |
 1684|       |    /* Update stats */
 1685|  8.29k|    add_stats(gcstate, generation, &stats);
 1686|  8.29k|    GC_STAT_ADD(generation, objects_collected, stats.collected);
  ------------------
  |  |   81|  8.29k|#define GC_STAT_ADD(gen, name, n) ((void)0)
  ------------------
 1687|       |
 1688|       |#ifdef Py_STATS
 1689|       |    {
 1690|       |        PyStats *s = _PyStats_GET();
 1691|       |        if (s) {
 1692|       |            GC_STAT_ADD(generation, object_visits,
 1693|       |                s->object_stats.object_visits);
 1694|       |            s->object_stats.object_visits = 0;
 1695|       |        }
 1696|       |    }
 1697|       |#endif
 1698|       |
 1699|  8.29k|    if (PyDTrace_GC_DONE_ENABLED()) {
  ------------------
  |  Branch (1699:9): [True: 0, False: 8.29k]
  ------------------
 1700|      0|        PyDTrace_GC_DONE(stats.uncollectable + stats.collected);
 1701|      0|    }
 1702|       |
 1703|  8.29k|    if (reason != _Py_GC_REASON_SHUTDOWN) {
  ------------------
  |  Branch (1703:9): [True: 8.29k, False: 0]
  ------------------
 1704|  8.29k|        invoke_gc_callback(tstate, "stop", generation, &stats);
 1705|  8.29k|    }
 1706|       |
 1707|  8.29k|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1707:5): [True: 8.29k, False: 0]
  ------------------
 1708|  8.29k|    gcstate->frame = NULL;
 1709|  8.29k|    _Py_atomic_store_int(&gcstate->collecting, 0);
 1710|  8.29k|    return stats.uncollectable + stats.collected;
 1711|  8.29k|}
gc.c:gc_select_generation:
 1363|  10.0k|{
 1364|  31.1k|    for (int i = NUM_GENERATIONS-1; i >= 0; i--) {
  ------------------
  |  |  217|  10.0k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1364:37): [True: 29.3k, False: 1.73k]
  ------------------
 1365|  29.3k|        if (gcstate->generations[i].count > gcstate->generations[i].threshold) {
  ------------------
  |  Branch (1365:13): [True: 16.8k, False: 12.5k]
  ------------------
 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|  16.8k|            if (i == NUM_GENERATIONS - 1
  ------------------
  |  |  217|  16.8k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1402:17): [True: 8.52k, False: 8.28k]
  ------------------
 1403|  8.52k|                && gcstate->long_lived_pending < gcstate->long_lived_total / 4)
  ------------------
  |  Branch (1403:20): [True: 8.51k, False: 8]
  ------------------
 1404|  8.51k|            {
 1405|  8.51k|                continue;
 1406|  8.51k|            }
 1407|  8.29k|            return i;
 1408|  16.8k|        }
 1409|  29.3k|    }
 1410|  1.73k|    return -1;
 1411|  10.0k|}
gc.c:invoke_gc_callback:
 1306|  16.5k|{
 1307|  16.5k|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1307:5): [True: 16.5k, False: 0]
  ------------------
 1308|       |
 1309|       |    /* we may get called very early */
 1310|  16.5k|    GCState *gcstate = &tstate->interp->gc;
 1311|  16.5k|    if (gcstate->callbacks == NULL) {
  ------------------
  |  Branch (1311:9): [True: 0, False: 16.5k]
  ------------------
 1312|      0|        return;
 1313|      0|    }
 1314|       |
 1315|       |    /* The local variable cannot be rebound, check it for sanity */
 1316|  16.5k|    assert(PyList_CheckExact(gcstate->callbacks));
  ------------------
  |  Branch (1316:5): [True: 16.5k, False: 0]
  ------------------
 1317|  16.5k|    PyObject *info = NULL;
 1318|  16.5k|    if (PyList_GET_SIZE(gcstate->callbacks) != 0) {
  ------------------
  |  |   38|  16.5k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1318:9): [True: 0, False: 16.5k]
  ------------------
 1319|      0|        info = Py_BuildValue("{sisnsnsnsd}",
 1320|      0|            "generation", generation,
 1321|      0|            "collected", stats->collected,
 1322|      0|            "uncollectable", stats->uncollectable,
 1323|      0|            "candidates", stats->candidates,
 1324|      0|            "duration", stats->duration);
 1325|      0|        if (info == NULL) {
  ------------------
  |  Branch (1325:13): [True: 0, False: 0]
  ------------------
 1326|      0|            PyErr_FormatUnraisable("Exception ignored on invoking gc callbacks");
 1327|      0|            return;
 1328|      0|        }
 1329|      0|    }
 1330|       |
 1331|  16.5k|    PyObject *phase_obj = PyUnicode_FromString(phase);
 1332|  16.5k|    if (phase_obj == NULL) {
  ------------------
  |  Branch (1332:9): [True: 0, False: 16.5k]
  ------------------
 1333|      0|        Py_XDECREF(info);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1334|      0|        PyErr_FormatUnraisable("Exception ignored on invoking gc callbacks");
 1335|      0|        return;
 1336|      0|    }
 1337|       |
 1338|  16.5k|    PyObject *stack[] = {phase_obj, info};
 1339|  16.5k|    for (Py_ssize_t i=0; i<PyList_GET_SIZE(gcstate->callbacks); i++) {
  ------------------
  |  |   38|  16.5k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1339:26): [True: 0, False: 16.5k]
  ------------------
 1340|      0|        PyObject *r, *cb = PyList_GET_ITEM(gcstate->callbacks, i);
  ------------------
  |  |   40|      0|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      0|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1340:28): [True: 0, False: 0]
  ------------------
 1341|      0|        Py_INCREF(cb); /* make sure cb doesn't go away */
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1342|      0|        r = PyObject_Vectorcall(cb, stack, 2, NULL);
 1343|      0|        if (r == NULL) {
  ------------------
  |  Branch (1343:13): [True: 0, False: 0]
  ------------------
 1344|      0|            PyErr_FormatUnraisable("Exception ignored while "
 1345|      0|                                   "calling GC callback %R", cb);
 1346|      0|        }
 1347|      0|        else {
 1348|      0|            Py_DECREF(r);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1349|      0|        }
 1350|      0|        Py_DECREF(cb);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1351|      0|    }
 1352|  16.5k|    Py_DECREF(phase_obj);
  ------------------
  |  |  430|  16.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1353|  16.5k|    Py_XDECREF(info);
  ------------------
  |  |  621|  16.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1354|       |    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1354:5): [True: 16.5k, False: 0]
  ------------------
 1355|  16.5k|}
gc.c:deduce_unreachable:
 1213|  8.29k|                   Py_ssize_t *reachable) {
 1214|  8.29k|    validate_list(base, collecting_clear_unreachable_clear);
  ------------------
  |  |  388|  8.29k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8.29k]
  |  |  ------------------
  ------------------
 1215|       |    /* Using ob_refcnt and gc_refs, calculate which objects in the
 1216|       |     * container set are reachable from outside the set (i.e., have a
 1217|       |     * refcount greater than 0 when all the references within the
 1218|       |     * set are taken into account).
 1219|       |     */
 1220|  8.29k|    Py_ssize_t candidates = update_refs(base);  // gc_prev is used for gc_refs
 1221|  8.29k|    subtract_refs(base);
 1222|       |
 1223|       |    /* Leave everything reachable from outside base in base, and move
 1224|       |     * everything else (in base) to unreachable.
 1225|       |     *
 1226|       |     * NOTE:  This used to move the reachable objects into a reachable
 1227|       |     * set instead.  But most things usually turn out to be reachable,
 1228|       |     * so it's more efficient to move the unreachable things.  It "sounds slick"
 1229|       |     * to move the unreachable objects, until you think about it - the reason it
 1230|       |     * pays isn't actually obvious.
 1231|       |     *
 1232|       |     * Suppose we create objects A, B, C in that order.  They appear in the young
 1233|       |     * generation in the same order.  If B points to A, and C to B, and C is
 1234|       |     * reachable from outside, then the adjusted refcounts will be 0, 0, and 1
 1235|       |     * respectively.
 1236|       |     *
 1237|       |     * When move_unreachable finds A, A is moved to the unreachable list.  The
 1238|       |     * same for B when it's first encountered.  Then C is traversed, B is moved
 1239|       |     * _back_ to the reachable list.  B is eventually traversed, and then A is
 1240|       |     * moved back to the reachable list.
 1241|       |     *
 1242|       |     * So instead of not moving at all, the reachable objects B and A are moved
 1243|       |     * twice each.  Why is this a win?  A straightforward algorithm to move the
 1244|       |     * reachable objects instead would move A, B, and C once each.
 1245|       |     *
 1246|       |     * The key is that this dance leaves the objects in order C, B, A - it's
 1247|       |     * reversed from the original order.  On all _subsequent_ scans, none of
 1248|       |     * them will move.  Since most objects aren't in cycles, this can save an
 1249|       |     * unbounded number of moves across an unbounded number of later collections.
 1250|       |     * It can cost more only the first time the chain is scanned.
 1251|       |     *
 1252|       |     * Drawback:  move_unreachable is also used to find out what's still trash
 1253|       |     * after finalizers may resurrect objects.  In _that_ case most unreachable
 1254|       |     * objects will remain unreachable, so it would be more efficient to move
 1255|       |     * the reachable objects instead.  But this is a one-time cost, probably not
 1256|       |     * worth complicating the code to speed just a little.
 1257|       |     */
 1258|  8.29k|    gc_list_init(unreachable);
 1259|       |    // gc_prev is pointer again
 1260|  8.29k|    *reachable = move_unreachable(base, unreachable);
 1261|  8.29k|    validate_list(base, collecting_clear_unreachable_clear);
  ------------------
  |  |  388|  8.29k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8.29k]
  |  |  ------------------
  ------------------
 1262|  8.29k|    validate_list(unreachable, collecting_set_unreachable_set);
  ------------------
  |  |  388|  8.29k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (388:39): [Folded, False: 8.29k]
  |  |  ------------------
  ------------------
 1263|  8.29k|    return candidates;
 1264|  8.29k|}
gc.c:update_refs:
  399|  8.29k|{
  400|  8.29k|    PyGC_Head *next;
  401|  8.29k|    PyGC_Head *gc = GC_NEXT(containers);
  ------------------
  |  |   29|  8.29k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  402|  8.29k|    Py_ssize_t candidates = 0;
  403|       |
  404|  72.4M|    while (gc != containers) {
  ------------------
  |  Branch (404:12): [True: 72.4M, False: 8.29k]
  ------------------
  405|  72.4M|        next = GC_NEXT(gc);
  ------------------
  |  |   29|  72.4M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  406|  72.4M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|  72.4M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  407|  72.4M|        if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  72.4M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  72.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 72.4M]
  |  |  ------------------
  ------------------
  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|  72.4M|        gc_reset_refs(gc, Py_REFCNT(op));
  ------------------
  |  |  119|  72.4M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  72.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.4M|#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|  72.4M|        _PyObject_ASSERT(op, gc_get_refs(gc) != 0);
  ------------------
  |  |  360|  72.4M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  72.4M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  72.4M|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 72.4M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  72.4M|      ? (void)(0) \
  |  |  |  |  |  |  353|  72.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)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  433|  72.4M|        gc = next;
  434|  72.4M|        candidates++;
  435|  72.4M|    }
  436|  8.29k|    return candidates;
  437|  8.29k|}
gc.c:gc_reset_refs:
   86|  72.4M|{
   87|  72.4M|    g->_gc_prev = (g->_gc_prev & _PyGC_PREV_MASK_FINALIZED)
  ------------------
  |  |  133|  72.4M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
   88|  72.4M|        | PREV_MASK_COLLECTING
  ------------------
  |  |   40|  72.4M|#define PREV_MASK_COLLECTING   _PyGC_PREV_MASK_COLLECTING
  |  |  ------------------
  |  |  |  |  135|  72.4M|#define _PyGC_PREV_MASK_COLLECTING ((uintptr_t)2)
  |  |  ------------------
  ------------------
   89|  72.4M|        | ((uintptr_t)(refs) << _PyGC_PREV_SHIFT);
  ------------------
  |  |  137|  72.4M|#define _PyGC_PREV_SHIFT           2
  ------------------
   90|  72.4M|}
gc.c:subtract_refs:
  492|  8.29k|{
  493|  8.29k|    traverseproc traverse;
  494|  8.29k|    PyGC_Head *gc = GC_NEXT(containers);
  ------------------
  |  |   29|  8.29k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  495|  72.4M|    for (; gc != containers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   29|  72.4M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (495:12): [True: 72.4M, False: 8.29k]
  ------------------
  496|  72.4M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|  72.4M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  497|  72.4M|        traverse = Py_TYPE(op)->tp_traverse;
  ------------------
  |  |  213|  72.4M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  72.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  498|  72.4M|        (void) traverse(op,
  499|  72.4M|                        visit_decref,
  500|  72.4M|                        op);
  501|  72.4M|    }
  502|  8.29k|}
gc.c:move_unreachable:
  581|  8.29k|{
  582|  8.29k|    Py_ssize_t reachable = 0;
  583|       |    // previous elem in the young list, used for restore gc_prev.
  584|  8.29k|    PyGC_Head *prev = young;
  585|  8.29k|    PyGC_Head *gc = GC_NEXT(young);
  ------------------
  |  |   29|  8.29k|#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|   144M|    while (gc != young) {
  ------------------
  |  Branch (596:12): [True: 144M, False: 8.29k]
  ------------------
  597|   144M|        if (gc_get_refs(gc)) {
  ------------------
  |  Branch (597:13): [True: 72.4M, False: 72.1M]
  ------------------
  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|  72.4M|            PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|  72.4M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  607|  72.4M|            traverseproc traverse = Py_TYPE(op)->tp_traverse;
  ------------------
  |  |  213|  72.4M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  72.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  72.4M|            _PyObject_ASSERT_WITH_MSG(op, gc_get_refs(gc) > 0,
  ------------------
  |  |  358|  72.4M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  351|  72.4M|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (351:6): [True: 72.4M, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  352|  72.4M|      ? (void)(0) \
  |  |  |  |  353|  72.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)))
  |  |  ------------------
  ------------------
  609|  72.4M|                                      "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|  72.4M|            (void) traverse(op,
  613|  72.4M|                    visit_reachable,
  614|  72.4M|                    (void *)young);
  615|       |            // relink gc_prev to prev element.
  616|  72.4M|            _PyGCHead_SET_PREV(gc, prev);
  617|       |            // gc is not COLLECTING state after here.
  618|  72.4M|            gc_clear_collecting(gc);
  619|  72.4M|            if (PyTuple_CheckExact(op)) {
  ------------------
  |  |   28|  72.4M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  72.4M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  72.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  72.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 72.2M, False: 183k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  620|       |                // Untracking gc overwrites the gc_refs of the next object.
  621|  72.2M|                PyGC_Head *next = GC_NEXT(gc);
  ------------------
  |  |   29|  72.2M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  622|  72.2M|                uintptr_t next_refs = next->_gc_prev;
  623|  72.2M|                _PyTuple_MaybeUntrack(op);
  624|  72.2M|                next->_gc_prev = next_refs;
  625|  72.2M|                if (gc->_gc_next != 0) {
  ------------------
  |  Branch (625:21): [True: 269k, False: 72.0M]
  ------------------
  626|   269k|                    prev = gc;
  627|   269k|                    reachable++;
  628|   269k|                }
  629|  72.2M|            }
  630|   183k|            else {
  631|   183k|                prev = gc;
  632|   183k|                reachable++;
  633|   183k|            }
  634|  72.4M|        }
  635|  72.1M|        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|  72.1M|            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|  72.1M|            PyGC_Head *last = GC_PREV(unreachable);
  ------------------
  |  |   30|  72.1M|#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|  72.1M|            last->_gc_next = (NEXT_MASK_UNREACHABLE | (uintptr_t)gc);
  ------------------
  |  |   51|  72.1M|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  656|  72.1M|            _PyGCHead_SET_PREV(gc, last);
  657|  72.1M|            gc->_gc_next = (NEXT_MASK_UNREACHABLE | (uintptr_t)unreachable);
  ------------------
  |  |   51|  72.1M|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  658|  72.1M|            unreachable->_gc_prev = (uintptr_t)gc;
  659|  72.1M|        }
  660|   144M|        gc = (PyGC_Head*)prev->_gc_next;
  661|   144M|    }
  662|       |    // young->_gc_prev must be last element remained in the list.
  663|  8.29k|    young->_gc_prev = (uintptr_t)prev;
  664|       |    // don't let the pollution of the list head's next pointer leak
  665|  8.29k|    unreachable->_gc_next &= ~NEXT_MASK_UNREACHABLE;
  ------------------
  |  |   51|  8.29k|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  666|  8.29k|    return reachable;
  667|  8.29k|}
gc.c:visit_reachable:
  507|   582M|{
  508|   582M|    PyGC_Head *reachable = arg;
  509|   582M|    OBJECT_STAT_INC(object_visits);
  ------------------
  |  |   77|   582M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  510|   582M|    if (!_PyObject_IS_GC(op)) {
  ------------------
  |  Branch (510:9): [True: 449M, False: 133M]
  ------------------
  511|   449M|        return 0;
  512|   449M|    }
  513|       |
  514|   133M|    PyGC_Head *gc = AS_GC(op);
  ------------------
  |  |   53|   133M|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
  515|   133M|    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|   133M|    if (! gc_is_collecting(gc)) {
  ------------------
  |  Branch (521:9): [True: 61.3M, False: 72.3M]
  ------------------
  522|  61.3M|        return 0;
  523|  61.3M|    }
  524|       |    // It would be a logic error elsewhere if the collecting flag were set on
  525|       |    // an untracked object.
  526|  72.3M|    _PyObject_ASSERT(op, gc->_gc_next != 0);
  ------------------
  |  |  360|  72.3M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  72.3M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  72.3M|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 72.3M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  72.3M|      ? (void)(0) \
  |  |  |  |  |  |  353|  72.3M|      : _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|  72.3M|    if (gc->_gc_next & NEXT_MASK_UNREACHABLE) {
  ------------------
  |  |   51|  72.3M|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  |  Branch (528:9): [True: 72.1M, False: 209k]
  ------------------
  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|  72.1M|        PyGC_Head *prev = GC_PREV(gc);
  ------------------
  |  |   30|  72.1M|#define GC_PREV _PyGCHead_PREV
  ------------------
  538|  72.1M|        PyGC_Head *next = (PyGC_Head*)(gc->_gc_next & ~NEXT_MASK_UNREACHABLE);
  ------------------
  |  |   51|  72.1M|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  539|  72.1M|        _PyObject_ASSERT(FROM_GC(prev),
  ------------------
  |  |  360|  72.1M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  72.1M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  72.1M|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 72.1M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  72.1M|      ? (void)(0) \
  |  |  |  |  |  |  353|  72.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)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  540|  72.1M|                         prev->_gc_next & NEXT_MASK_UNREACHABLE);
  541|  72.1M|        _PyObject_ASSERT(FROM_GC(next),
  ------------------
  |  |  360|  72.1M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  72.1M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  72.1M|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 72.1M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  72.1M|      ? (void)(0) \
  |  |  |  |  |  |  353|  72.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)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  542|  72.1M|                         next->_gc_next & NEXT_MASK_UNREACHABLE);
  543|  72.1M|        prev->_gc_next = gc->_gc_next;  // copy NEXT_MASK_UNREACHABLE
  544|  72.1M|        _PyGCHead_SET_PREV(next, prev);
  545|       |
  546|  72.1M|        gc_list_append(gc, reachable);
  547|  72.1M|        gc_set_refs(gc, 1);
  548|  72.1M|    }
  549|   209k|    else if (gc_refs == 0) {
  ------------------
  |  Branch (549:14): [True: 164k, False: 44.7k]
  ------------------
  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|   164k|        gc_set_refs(gc, 1);
  556|   164k|    }
  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|  44.7k|    else {
  562|  44.7k|        _PyObject_ASSERT_WITH_MSG(op, gc_refs > 0, "refcount is too small");
  ------------------
  |  |  358|  44.7k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  351|  44.7k|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (351:6): [True: 44.7k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  352|  44.7k|      ? (void)(0) \
  |  |  |  |  353|  44.7k|      : _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|  44.7k|    }
  564|  72.3M|    return 0;
  565|  72.3M|}
gc.c:gc_list_append:
  228|  72.1M|{
  229|  72.1M|    PyGC_Head *last = (PyGC_Head *)list->_gc_prev;
  230|       |
  231|       |    // last <-> node
  232|  72.1M|    _PyGCHead_SET_PREV(node, last);
  233|  72.1M|    _PyGCHead_SET_NEXT(last, node);
  234|       |
  235|       |    // node <-> list
  236|  72.1M|    _PyGCHead_SET_NEXT(node, list);
  237|  72.1M|    list->_gc_prev = (uintptr_t)node;
  238|  72.1M|}
gc.c:gc_set_refs:
   79|  72.3M|{
   80|  72.3M|    g->_gc_prev = (g->_gc_prev & ~_PyGC_PREV_MASK)
  ------------------
  |  |  138|  72.3M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  137|  72.3M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
   81|  72.3M|        | ((uintptr_t)(refs) << _PyGC_PREV_SHIFT);
  ------------------
  |  |  137|  72.3M|#define _PyGC_PREV_SHIFT           2
  ------------------
   82|  72.3M|}
gc.c:gc_clear_collecting:
   67|  72.4M|{
   68|  72.4M|    g->_gc_prev &= ~PREV_MASK_COLLECTING;
  ------------------
  |  |   40|  72.4M|#define PREV_MASK_COLLECTING   _PyGC_PREV_MASK_COLLECTING
  |  |  ------------------
  |  |  |  |  135|  72.4M|#define _PyGC_PREV_MASK_COLLECTING ((uintptr_t)2)
  |  |  ------------------
  ------------------
   69|  72.4M|}
gc.c:move_legacy_finalizers:
  683|  8.29k|{
  684|  8.29k|    PyGC_Head *gc, *next;
  685|  8.29k|    _PyObject_ASSERT(
  ------------------
  |  |  360|  8.29k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  8.29k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  8.29k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 8.29k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  8.29k|      ? (void)(0) \
  |  |  |  |  |  |  353|  8.29k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  686|  8.29k|        FROM_GC(unreachable),
  687|  8.29k|        (unreachable->_gc_next & NEXT_MASK_UNREACHABLE) == 0);
  688|       |
  689|       |    /* March over unreachable.  Move objects with finalizers into
  690|       |     * `finalizers`.
  691|       |     */
  692|  10.3k|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   29|  8.29k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (692:37): [True: 2.06k, False: 8.29k]
  ------------------
  693|  2.06k|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|  2.06k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  694|       |
  695|  2.06k|        _PyObject_ASSERT(op, gc->_gc_next & NEXT_MASK_UNREACHABLE);
  ------------------
  |  |  360|  2.06k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|  2.06k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|  2.06k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 2.06k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  2.06k|      ? (void)(0) \
  |  |  |  |  |  |  353|  2.06k|      : _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|  2.06k|        gc->_gc_next &= ~NEXT_MASK_UNREACHABLE;
  ------------------
  |  |   51|  2.06k|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  697|  2.06k|        next = (PyGC_Head*)gc->_gc_next;
  698|       |
  699|  2.06k|        if (has_legacy_finalizer(op)) {
  ------------------
  |  Branch (699:13): [True: 0, False: 2.06k]
  ------------------
  700|      0|            gc_clear_collecting(gc);
  701|      0|            gc_list_move(gc, finalizers);
  702|      0|        }
  703|  2.06k|    }
  704|  8.29k|}
gc.c:has_legacy_finalizer:
  672|  2.06k|{
  673|  2.06k|    return Py_TYPE(op)->tp_del != NULL;
  ------------------
  |  |  213|  2.06k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  674|  2.06k|}
gc.c:gc_list_move:
  259|  2.79k|{
  260|       |    /* Unlink from current list. */
  261|  2.79k|    PyGC_Head *from_prev = GC_PREV(node);
  ------------------
  |  |   30|  2.79k|#define GC_PREV _PyGCHead_PREV
  ------------------
  262|  2.79k|    PyGC_Head *from_next = GC_NEXT(node);
  ------------------
  |  |   29|  2.79k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  263|  2.79k|    _PyGCHead_SET_NEXT(from_prev, from_next);
  264|  2.79k|    _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|  2.79k|    PyGC_Head *to_prev = (PyGC_Head*)list->_gc_prev;
  269|  2.79k|    _PyGCHead_SET_PREV(node, to_prev);
  270|  2.79k|    _PyGCHead_SET_NEXT(to_prev, node);
  271|  2.79k|    list->_gc_prev = (uintptr_t)node;
  272|  2.79k|    _PyGCHead_SET_NEXT(node, list);
  273|  2.79k|}
gc.c:move_legacy_finalizer_reachable:
  747|  8.29k|{
  748|  8.29k|    traverseproc traverse;
  749|  8.29k|    PyGC_Head *gc = GC_NEXT(finalizers);
  ------------------
  |  |   29|  8.29k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  750|  8.29k|    for (; gc != finalizers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   29|      0|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (750:12): [True: 0, False: 8.29k]
  ------------------
  751|       |        /* Note that the finalizers list may grow during this. */
  752|      0|        traverse = Py_TYPE(FROM_GC(gc))->tp_traverse;
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|      0|        (void) traverse(FROM_GC(gc),
  ------------------
  |  |   54|      0|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  754|      0|                        visit_move,
  755|      0|                        (void *)finalizers);
  756|      0|    }
  757|  8.29k|}
gc.c:handle_weakref_callbacks:
  801|  8.29k|{
  802|  8.29k|    PyGC_Head *gc;
  803|  8.29k|    PyGC_Head wrcb_to_call;     /* weakrefs with callbacks to call */
  804|  8.29k|    PyGC_Head *next;
  805|  8.29k|    int num_freed = 0;
  806|       |
  807|  8.29k|    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|  10.3k|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   29|  8.29k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (813:37): [True: 2.06k, False: 8.29k]
  ------------------
  814|  2.06k|        PyWeakReference **wrlist;
  815|       |
  816|  2.06k|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|  2.06k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  817|  2.06k|        next = GC_NEXT(gc);
  ------------------
  |  |   29|  2.06k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  818|       |
  819|  2.06k|        if (! _PyType_SUPPORTS_WEAKREFS(Py_TYPE(op))) {
  ------------------
  |  |  213|  2.06k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (819:13): [True: 1.69k, False: 371]
  ------------------
  820|  1.69k|            continue;
  821|  1.69k|        }
  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|    371|        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|    371|        PyWeakReference *next_wr;
  834|    378|        for (PyWeakReference *wr = *wrlist; wr != NULL; wr = next_wr) {
  ------------------
  |  Branch (834:45): [True: 7, False: 371]
  ------------------
  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|    371|    }
  897|       |
  898|       |    /* Invoke the callbacks we decided to honor.  It's safe to invoke them
  899|       |     * because they can't reference unreachable objects.
  900|       |     */
  901|  8.29k|    if (!*needs_resurrection_check) {
  ------------------
  |  Branch (901:9): [True: 8.29k, False: 0]
  ------------------
  902|  8.29k|        *needs_resurrection_check = !gc_list_is_empty(&wrcb_to_call);
  903|  8.29k|    }
  904|  8.29k|    while (! gc_list_is_empty(&wrcb_to_call)) {
  ------------------
  |  Branch (904:12): [True: 0, False: 8.29k]
  ------------------
  905|      0|        PyObject *temp;
  906|      0|        PyObject *callback;
  907|       |
  908|      0|        gc = (PyGC_Head*)wrcb_to_call._gc_next;
  909|      0|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|      0|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  910|      0|        _PyObject_ASSERT(op, PyWeakref_Check(op));
  ------------------
  |  |  360|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (351:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (351:7): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      0|      ? (void)(0) \
  |  |  |  |  |  |  353|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  911|      0|        PyWeakReference *wr = (PyWeakReference *)op;
  912|      0|        callback = wr->wr_callback;
  913|      0|        _PyObject_ASSERT(op, callback != NULL);
  ------------------
  |  |  360|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  358|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (351:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  352|      0|      ? (void)(0) \
  |  |  |  |  |  |  353|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  164|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  158|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  354|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  914|       |
  915|       |        /* copy-paste of weakrefobject.c's handle_callback() */
  916|      0|        temp = PyObject_CallOneArg(callback, (PyObject *)wr);
  917|      0|        if (temp == NULL) {
  ------------------
  |  Branch (917:13): [True: 0, False: 0]
  ------------------
  918|      0|            PyErr_FormatUnraisable("Exception ignored on "
  919|      0|                                   "calling weakref callback %R", callback);
  920|      0|        }
  921|      0|        else {
  922|      0|            Py_DECREF(temp);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  923|      0|        }
  924|       |
  925|       |        /* Give up the reference we created in the first pass.  When
  926|       |         * op's refcount hits 0 (which it may or may not do right now),
  927|       |         * op's tp_dealloc will decref op->wr_callback too.  Note
  928|       |         * that the refcount probably will hit 0 now, and because this
  929|       |         * weakref was reachable to begin with, gc didn't already
  930|       |         * add it to its count of freed objects.  Example:  a reachable
  931|       |         * weak value dict maps some key to this reachable weakref.
  932|       |         * The callback removes this key->weakref mapping from the
  933|       |         * dict, leaving no other references to the weakref (excepting
  934|       |         * ours).
  935|       |         */
  936|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  937|      0|        if (wrcb_to_call._gc_next == (uintptr_t)gc) {
  ------------------
  |  Branch (937:13): [True: 0, False: 0]
  ------------------
  938|       |            /* object is still alive -- move it */
  939|      0|            gc_list_move(gc, old);
  940|      0|        }
  941|      0|        else {
  942|      0|            ++num_freed;
  943|      0|        }
  944|      0|    }
  945|       |
  946|  8.29k|    return num_freed;
  947|  8.29k|}
gc.c:finalize_garbage:
 1087|  8.29k|{
 1088|  8.29k|    destructor finalize;
 1089|  8.29k|    PyGC_Head seen;
 1090|       |
 1091|       |    /* While we're going through the loop, `finalize(op)` may cause op, or
 1092|       |     * other objects, to be reclaimed via refcounts falling to zero.  So
 1093|       |     * there's little we can rely on about the structure of the input
 1094|       |     * `collectable` list across iterations.  For safety, we always take the
 1095|       |     * first object in that list and move it to a temporary `seen` list.
 1096|       |     * If objects vanish from the `collectable` and `seen` lists we don't
 1097|       |     * care.
 1098|       |     */
 1099|  8.29k|    gc_list_init(&seen);
 1100|       |
 1101|  10.3k|    while (!gc_list_is_empty(collectable)) {
  ------------------
  |  Branch (1101:12): [True: 2.06k, False: 8.29k]
  ------------------
 1102|  2.06k|        PyGC_Head *gc = GC_NEXT(collectable);
  ------------------
  |  |   29|  2.06k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
 1103|  2.06k|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|  2.06k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
 1104|  2.06k|        gc_list_move(gc, &seen);
 1105|  2.06k|        if (!_PyGC_FINALIZED(op) &&
  ------------------
  |  Branch (1105:13): [True: 2.06k, False: 0]
  ------------------
 1106|  2.06k|            (finalize = Py_TYPE(op)->tp_finalize) != NULL)
  ------------------
  |  |  213|  2.06k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1106:13): [True: 0, False: 2.06k]
  ------------------
 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|  2.06k|    }
 1118|  8.29k|    gc_list_merge(&seen, collectable);
 1119|  8.29k|}
gc.c:clear_weakrefs:
  955|  8.29k|{
  956|  8.29k|    PyGC_Head *gc;
  957|  8.29k|    PyGC_Head *next;
  958|       |
  959|  10.3k|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   29|  8.29k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (959:37): [True: 2.06k, False: 8.29k]
  ------------------
  960|  2.06k|        PyWeakReference **wrlist;
  961|       |
  962|  2.06k|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|  2.06k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  963|  2.06k|        next = GC_NEXT(gc);
  ------------------
  |  |   29|  2.06k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  964|       |
  965|  2.06k|        if (PyWeakref_Check(op)) {
  ------------------
  |  |   23|  2.06k|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|  2.06k|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  4.12k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 2.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   19|  2.06k|        (Py_IS_TYPE((op), &_PyWeakref_ProxyType) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  4.12k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 2.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   20|  2.06k|         || Py_IS_TYPE((op), &_PyWeakref_CallableProxyType))
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  2.06k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 2.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  2.06k|        if (! _PyType_SUPPORTS_WEAKREFS(Py_TYPE(op))) {
  ------------------
  |  |  213|  2.06k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (973:13): [True: 1.69k, False: 371]
  ------------------
  974|  1.69k|            continue;
  975|  1.69k|        }
  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|    371|        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|    378|        for (PyWeakReference *wr = *wrlist; wr != NULL; wr = *wrlist) {
  ------------------
  |  Branch (987:45): [True: 7, False: 371]
  ------------------
  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|    371|    }
  997|  8.29k|}
gc.c:delete_garbage:
 1128|  8.29k|{
 1129|  8.29k|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1129:5): [True: 8.29k, False: 0]
  ------------------
 1130|       |
 1131|  9.32k|    while (!gc_list_is_empty(collectable)) {
  ------------------
  |  Branch (1131:12): [True: 1.03k, False: 8.29k]
  ------------------
 1132|  1.03k|        PyGC_Head *gc = GC_NEXT(collectable);
  ------------------
  |  |   29|  1.03k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
 1133|  1.03k|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|  1.03k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
 1134|       |
 1135|  1.03k|        _PyObject_ASSERT_WITH_MSG(op, Py_REFCNT(op) > 0,
  ------------------
  |  |  358|  1.03k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  351|  1.03k|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (351:6): [True: 1.03k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  352|  1.03k|      ? (void)(0) \
  |  |  |  |  353|  1.03k|      : _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|  1.03k|                                  "refcount is too small");
 1137|       |
 1138|  1.03k|        if (gcstate->debug & _PyGC_DEBUG_SAVEALL) {
  ------------------
  |  |  144|  1.03k|#define _PyGC_DEBUG_SAVEALL           (1<<5) /* save all garbage in gc.garbage */
  ------------------
  |  Branch (1138:13): [True: 0, False: 1.03k]
  ------------------
 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|  1.03k|        else {
 1145|  1.03k|            inquiry clear;
 1146|  1.03k|            if ((clear = Py_TYPE(op)->tp_clear) != NULL) {
  ------------------
  |  |  213|  1.03k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1146:17): [True: 1.01k, False: 17]
  ------------------
 1147|  1.01k|                Py_INCREF(op);
  ------------------
  |  |  310|  1.01k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1148|  1.01k|                (void) clear(op);
 1149|  1.01k|                if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1149:21): [True: 0, False: 1.01k]
  ------------------
 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|  1.01k|                Py_DECREF(op);
  ------------------
  |  |  430|  1.01k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1154|  1.01k|            }
 1155|  1.03k|        }
 1156|  1.03k|        if (GC_NEXT(collectable) == gc) {
  ------------------
  |  |   29|  1.03k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (1156:13): [True: 733, False: 302]
  ------------------
 1157|       |            /* object is still alive, move it, it may die later */
 1158|    733|            gc_clear_collecting(gc);
 1159|    733|            gc_list_move(gc, old);
 1160|    733|        }
 1161|  1.03k|    }
 1162|  8.29k|}
gc.c:handle_legacy_finalizers:
 1061|  8.29k|{
 1062|  8.29k|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1062:5): [True: 8.29k, False: 0]
  ------------------
 1063|  8.29k|    assert(gcstate->garbage != NULL);
  ------------------
  |  Branch (1063:5): [True: 8.29k, False: 0]
  ------------------
 1064|       |
 1065|  8.29k|    PyGC_Head *gc = GC_NEXT(finalizers);
  ------------------
  |  |   29|  8.29k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
 1066|  8.29k|    for (; gc != finalizers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   29|      0|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (1066:12): [True: 0, False: 8.29k]
  ------------------
 1067|      0|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   54|      0|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
 1068|       |
 1069|      0|        if ((gcstate->debug & _PyGC_DEBUG_SAVEALL) || has_legacy_finalizer(op)) {
  ------------------
  |  |  144|      0|#define _PyGC_DEBUG_SAVEALL           (1<<5) /* save all garbage in gc.garbage */
  ------------------
  |  Branch (1069:13): [True: 0, False: 0]
  |  Branch (1069:55): [True: 0, False: 0]
  ------------------
 1070|      0|            if (PyList_Append(gcstate->garbage, op) < 0) {
  ------------------
  |  Branch (1070:17): [True: 0, False: 0]
  ------------------
 1071|      0|                _PyErr_Clear(tstate);
 1072|      0|                break;
 1073|      0|            }
 1074|      0|        }
 1075|      0|    }
 1076|       |
 1077|  8.29k|    gc_list_merge(finalizers, old);
 1078|  8.29k|}
gc.c:add_stats:
 1447|  8.29k|{
 1448|  8.29k|    struct gc_stats *generation_stats = gcstate->generation_stats;
 1449|  8.29k|    uint32_t seq = _Py_atomic_load_uint32_relaxed(&generation_stats->update_seq);
 1450|  8.29k|    assert((seq & 1) == 0);
  ------------------
  |  Branch (1450:5): [True: 8.29k, False: 0]
  ------------------
 1451|       |    /* Odd seq tells the reader that an update is in progress. */
 1452|  8.29k|    _Py_atomic_store_uint32_relaxed(&generation_stats->update_seq, seq + 1);
 1453|  8.29k|    _Py_atomic_fence_seq_cst();
 1454|       |
 1455|  8.29k|    struct gc_generation_stats *prev_stats = gc_get_prev_stats(gcstate, gen);
 1456|  8.29k|    struct gc_generation_stats *cur_stats = gc_get_stats(gcstate, gen);
 1457|       |
 1458|  8.29k|    memcpy(cur_stats, prev_stats, sizeof(struct gc_generation_stats));
 1459|       |
 1460|  8.29k|    cur_stats->ts_start = stats->ts_start;
 1461|  8.29k|    cur_stats->collections += 1;
 1462|  8.29k|    cur_stats->collected += stats->collected;
 1463|  8.29k|    cur_stats->uncollectable += stats->uncollectable;
 1464|  8.29k|    cur_stats->candidates += stats->candidates;
 1465|       |
 1466|  8.29k|    cur_stats->duration += stats->duration;
 1467|  8.29k|    cur_stats->heap_size = stats->heap_size;
 1468|  8.29k|    cur_stats->ts_stop = stats->ts_stop;
 1469|  8.29k|    _Py_atomic_store_uint32_release(&generation_stats->update_seq, seq + 2);
 1470|  8.29k|}
gc.c:gc_get_prev_stats:
 1432|  8.29k|{
 1433|  8.29k|    if (gen == 0) {
  ------------------
  |  Branch (1433:9): [True: 7.59k, False: 698]
  ------------------
 1434|  7.59k|        struct gc_young_stats_buffer *buffer = &gcstate->generation_stats->young;
 1435|  7.59k|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1436|  7.59k|        return stats;
 1437|  7.59k|    }
 1438|    698|    else {
 1439|    698|        struct gc_old_stats_buffer *buffer = &gcstate->generation_stats->old[gen - 1];
 1440|    698|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1441|    698|        return stats;
 1442|    698|    }
 1443|  8.29k|}
gc.c:gc_get_stats:
 1415|  8.29k|{
 1416|  8.29k|    if (gen == 0) {
  ------------------
  |  Branch (1416:9): [True: 7.59k, False: 698]
  ------------------
 1417|  7.59k|        struct gc_young_stats_buffer *buffer = &gcstate->generation_stats->young;
 1418|  7.59k|        buffer->index = (buffer->index + 1) % GC_YOUNG_STATS_SIZE;
  ------------------
  |  |  202|  7.59k|#define GC_YOUNG_STATS_SIZE 11
  ------------------
 1419|  7.59k|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1420|  7.59k|        return stats;
 1421|  7.59k|    }
 1422|    698|    else {
 1423|    698|        struct gc_old_stats_buffer *buffer = &gcstate->generation_stats->old[gen - 1];
 1424|    698|        buffer->index = (buffer->index + 1) % GC_OLD_STATS_SIZE;
  ------------------
  |  |  203|    698|#define GC_OLD_STATS_SIZE 3
  ------------------
 1425|    698|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1426|    698|        return stats;
 1427|    698|    }
 1428|  8.29k|}
gc.c:gc_alloc:
 2068|  86.1M|{
 2069|  86.1M|    PyThreadState *tstate = _PyThreadState_GET();
 2070|  86.1M|    if (basicsize > PY_SSIZE_T_MAX - presize) {
  ------------------
  |  |  137|  86.1M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2070:9): [True: 0, False: 86.1M]
  ------------------
 2071|      0|        return _PyErr_NoMemory(tstate);
 2072|      0|    }
 2073|  86.1M|    size_t size = presize + basicsize;
 2074|  86.1M|    char *mem = _PyObject_MallocWithType(tp, size);
 2075|  86.1M|    if (mem == NULL) {
  ------------------
  |  Branch (2075:9): [True: 0, False: 86.1M]
  ------------------
 2076|      0|        return _PyErr_NoMemory(tstate);
 2077|      0|    }
 2078|  86.1M|    ((PyObject **)mem)[0] = NULL;
 2079|       |    ((PyObject **)mem)[1] = NULL;
 2080|  86.1M|    PyObject *op = (PyObject *)(mem + presize);
 2081|  86.1M|    _PyObject_GC_Link(op);
 2082|  86.1M|    return op;
 2083|  86.1M|}

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

PyArg_ParseTuple:
  104|  48.7k|{
  105|  48.7k|    int retval;
  106|  48.7k|    va_list va;
  107|       |
  108|  48.7k|    va_start(va, format);
  109|  48.7k|    retval = vgetargs1(args, format, &va, 0);
  110|       |    va_end(va);
  111|  48.7k|    return retval;
  112|  48.7k|}
PyArg_ParseTupleAndKeywords:
 1414|      4|{
 1415|      4|    int retval;
 1416|      4|    va_list va;
 1417|       |
 1418|      4|    if ((args == NULL || !PyTuple_Check(args)) ||
  ------------------
  |  |   27|      4|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1418:10): [True: 0, False: 4]
  |  Branch (1418:26): [True: 0, False: 4]
  ------------------
 1419|      4|        (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: 4]
  |  Branch (1419:30): [True: 0, False: 0]
  ------------------
 1420|      4|        format == NULL ||
  ------------------
  |  Branch (1420:9): [True: 0, False: 4]
  ------------------
 1421|      4|        kwlist == NULL)
  ------------------
  |  Branch (1421:9): [True: 0, False: 4]
  ------------------
 1422|      0|    {
 1423|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1424|      0|        return 0;
 1425|      0|    }
 1426|       |
 1427|      4|    va_start(va, kwlist);
 1428|      4|    retval = vgetargskeywords(args, keywords, format, kwlist, &va, 0);
 1429|       |    va_end(va);
 1430|      4|    return retval;
 1431|      4|}
PyArg_ValidateKeywordArguments:
 1628|     28|{
 1629|     28|    if (!PyDict_Check(kwargs)) {
  ------------------
  |  |   18|     28|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     28|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1629:9): [True: 0, False: 28]
  ------------------
 1630|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1631|      0|        return 0;
 1632|      0|    }
 1633|     28|    if (!_PyDict_HasOnlyStringKeys(kwargs)) {
  ------------------
  |  Branch (1633:9): [True: 0, False: 28]
  ------------------
 1634|      0|        PyErr_SetString(PyExc_TypeError,
 1635|      0|                        "keywords must be strings");
 1636|      0|        return 0;
 1637|      0|    }
 1638|     28|    return 1;
 1639|     28|}
_PyArg_UnpackKeywords:
 2512|  8.75k|{
 2513|  8.75k|    PyObject *kwtuple;
 2514|  8.75k|    PyObject *keyword;
 2515|  8.75k|    int i, posonly, minposonly, maxargs;
 2516|  8.75k|    int reqlimit = minkw ? maxpos + minkw : minpos;
  ------------------
  |  Branch (2516:20): [True: 0, False: 8.75k]
  ------------------
 2517|  8.75k|    Py_ssize_t nkwargs;
 2518|  8.75k|    PyObject * const *kwstack = NULL;
 2519|       |
 2520|  8.75k|    assert(kwargs == NULL || PyDict_Check(kwargs));
  ------------------
  |  Branch (2520:5): [True: 8.74k, False: 11]
  |  Branch (2520:5): [True: 11, False: 0]
  ------------------
 2521|  8.75k|    assert(kwargs == NULL || kwnames == NULL);
  ------------------
  |  Branch (2521:5): [True: 8.74k, False: 11]
  |  Branch (2521:5): [True: 11, False: 0]
  ------------------
 2522|       |
 2523|  8.75k|    if (parser == NULL) {
  ------------------
  |  Branch (2523:9): [True: 0, False: 8.75k]
  ------------------
 2524|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2525|      0|        return NULL;
 2526|      0|    }
 2527|       |
 2528|  8.75k|    if (kwnames != NULL && !PyTuple_Check(kwnames)) {
  ------------------
  |  |   27|  8.74k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.74k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2528:9): [True: 8.74k, False: 11]
  |  Branch (2528:28): [True: 0, False: 8.74k]
  ------------------
 2529|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2530|      0|        return NULL;
 2531|      0|    }
 2532|       |
 2533|  8.75k|    if (args == NULL && nargs == 0) {
  ------------------
  |  Branch (2533:9): [True: 0, False: 8.75k]
  |  Branch (2533:25): [True: 0, False: 0]
  ------------------
 2534|      0|        args = buf;
 2535|      0|    }
 2536|       |
 2537|  8.75k|    if (parser_init(parser) < 0) {
  ------------------
  |  Branch (2537:9): [True: 0, False: 8.75k]
  ------------------
 2538|      0|        return NULL;
 2539|      0|    }
 2540|       |
 2541|  8.75k|    kwtuple = parser->kwtuple;
 2542|  8.75k|    posonly = parser->pos;
 2543|  8.75k|    minposonly = Py_MIN(posonly, minpos);
  ------------------
  |  |  127|  8.75k|       __extension__ \
  |  |  128|  8.75k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  8.75k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  8.75k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  8.75k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|  8.75k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 363, False: 8.39k]
  |  |  ------------------
  ------------------
 2544|  8.75k|    maxargs = posonly + (int)PyTuple_GET_SIZE(kwtuple);
  ------------------
  |  |   27|  8.75k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2545|       |
 2546|  8.75k|    if (kwargs != NULL) {
  ------------------
  |  Branch (2546:9): [True: 11, False: 8.74k]
  ------------------
 2547|     11|        nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   63|     11|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2548|     11|    }
 2549|  8.74k|    else if (kwnames != NULL) {
  ------------------
  |  Branch (2549:14): [True: 8.74k, False: 0]
  ------------------
 2550|  8.74k|        nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  8.74k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2551|  8.74k|        kwstack = args + nargs;
 2552|  8.74k|    }
 2553|      0|    else {
 2554|      0|        nkwargs = 0;
 2555|      0|    }
 2556|  8.75k|    if (nkwargs == 0 && minkw == 0 && minpos <= nargs && (varpos || nargs <= maxpos)) {
  ------------------
  |  Branch (2556:9): [True: 0, False: 8.75k]
  |  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|  8.75k|    if (!varpos && nargs + nkwargs > maxargs) {
  ------------------
  |  Branch (2560:9): [True: 8.51k, False: 239]
  |  Branch (2560:20): [True: 0, False: 8.51k]
  ------------------
 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|  8.75k|    if (!varpos && nargs > maxpos) {
  ------------------
  |  Branch (2573:9): [True: 8.51k, False: 239]
  |  Branch (2573:20): [True: 0, False: 8.51k]
  ------------------
 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|  8.75k|    if (nargs < minposonly) {
  ------------------
  |  Branch (2592:9): [True: 0, False: 8.75k]
  ------------------
 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|  8.75k|    if (varpos) {
  ------------------
  |  Branch (2605:9): [True: 239, False: 8.51k]
  ------------------
 2606|    239|        nargs = Py_MIN(maxpos, nargs);
  ------------------
  |  |  127|    239|       __extension__ \
  |  |  128|    239|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|    239|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|    239|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|    239|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 239, False: 0]
  |  |  ------------------
  ------------------
 2607|    239|    }
 2608|       |    /* copy tuple args */
 2609|  17.2k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2609:17): [True: 8.51k, False: 8.75k]
  ------------------
 2610|  8.51k|        buf[i] = args[i];
 2611|  8.51k|    }
 2612|       |
 2613|       |    /* copy keyword args using kwtuple to drive process */
 2614|  34.9k|    for (i = Py_MAX((int)nargs, posonly); i < maxargs; i++) {
  ------------------
  |  |  133|  8.75k|       __extension__ \
  |  |  134|  8.75k|       ({ _Py_TYPEOF (x) _PyMAX_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  8.75k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  135|  8.75k|          _Py_TYPEOF (y) _PyMAX_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  8.75k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  136|  8.75k|          _PyMAX_x > _PyMAX_y ? _PyMAX_x : _PyMAX_y; })
  |  |  ------------------
  |  |  |  Branch (136:11): [True: 363, False: 8.39k]
  |  |  ------------------
  ------------------
  |  Branch (2614:43): [True: 34.5k, False: 370]
  ------------------
 2615|  34.5k|        PyObject *current_arg;
 2616|  34.5k|        if (nkwargs) {
  ------------------
  |  Branch (2616:13): [True: 26.1k, False: 8.38k]
  ------------------
 2617|  26.1k|            keyword = PyTuple_GET_ITEM(kwtuple, i - posonly);
  ------------------
  |  |   29|  26.1k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  26.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2617:23): [True: 26.1k, False: 0]
  ------------------
 2618|  26.1k|            if (kwargs != NULL) {
  ------------------
  |  Branch (2618:17): [True: 22, False: 26.1k]
  ------------------
 2619|     22|                if (PyDict_GetItemRef(kwargs, keyword, &current_arg) < 0) {
  ------------------
  |  Branch (2619:21): [True: 0, False: 22]
  ------------------
 2620|      0|                    return NULL;
 2621|      0|                }
 2622|     22|            }
 2623|  26.1k|            else {
 2624|  26.1k|                current_arg = find_keyword(kwnames, kwstack, keyword);
 2625|  26.1k|            }
 2626|  26.1k|        }
 2627|  8.38k|        else if (i >= reqlimit) {
  ------------------
  |  Branch (2627:18): [True: 8.38k, False: 0]
  ------------------
 2628|  8.38k|            break;
 2629|  8.38k|        }
 2630|      0|        else {
 2631|      0|            current_arg = NULL;
 2632|      0|        }
 2633|       |
 2634|  26.1k|        buf[i] = current_arg;
 2635|       |
 2636|  26.1k|        if (current_arg) {
  ------------------
  |  Branch (2636:13): [True: 25.4k, False: 740]
  ------------------
 2637|  25.4k|            Py_DECREF(current_arg);
  ------------------
  |  |  430|  25.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2638|  25.4k|            --nkwargs;
 2639|  25.4k|        }
 2640|    740|        else if (i < minpos || (maxpos <= i && i < reqlimit)) {
  ------------------
  |  Branch (2640:18): [True: 0, False: 740]
  |  Branch (2640:33): [True: 14, False: 726]
  |  Branch (2640:48): [True: 0, False: 14]
  ------------------
 2641|       |            /* Less arguments than required */
 2642|      0|            keyword = PyTuple_GET_ITEM(kwtuple, i - posonly);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2642:23): [True: 0, False: 0]
  ------------------
 2643|      0|            PyErr_Format(PyExc_TypeError,  "%.200s%s missing required "
 2644|      0|                         "argument '%U' (pos %d)",
 2645|      0|                         (parser->fname == NULL) ? "function" : parser->fname,
  ------------------
  |  Branch (2645:26): [True: 0, False: 0]
  ------------------
 2646|      0|                         (parser->fname == NULL) ? "" : "()",
  ------------------
  |  Branch (2646:26): [True: 0, False: 0]
  ------------------
 2647|      0|                         keyword, i+1);
 2648|      0|            return NULL;
 2649|      0|        }
 2650|  26.1k|    }
 2651|       |
 2652|  8.75k|    if (nkwargs > 0) {
  ------------------
  |  Branch (2652:9): [True: 0, False: 8.75k]
  ------------------
 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|  8.75k|    return buf;
 2683|  8.75k|}
_PyArg_CheckPositional:
 2826|  21.2k|{
 2827|  21.2k|    assert(min >= 0);
  ------------------
  |  Branch (2827:5): [True: 21.2k, False: 0]
  ------------------
 2828|  21.2k|    assert(min <= max);
  ------------------
  |  Branch (2828:5): [True: 21.2k, False: 0]
  ------------------
 2829|       |
 2830|  21.2k|    if (nargs < min) {
  ------------------
  |  Branch (2830:9): [True: 0, False: 21.2k]
  ------------------
 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|  21.2k|    if (nargs == 0) {
  ------------------
  |  Branch (2845:9): [True: 36, False: 21.1k]
  ------------------
 2846|     36|        return 1;
 2847|     36|    }
 2848|       |
 2849|  21.1k|    if (nargs > max) {
  ------------------
  |  Branch (2849:9): [True: 0, False: 21.1k]
  ------------------
 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|  21.1k|    return 1;
 2865|  21.1k|}
PyArg_UnpackTuple:
 2887|  6.18k|{
 2888|  6.18k|    PyObject **stack;
 2889|  6.18k|    Py_ssize_t nargs;
 2890|  6.18k|    int retval;
 2891|  6.18k|    va_list vargs;
 2892|       |
 2893|  6.18k|    if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|  6.18k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.18k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2893:9): [True: 0, False: 6.18k]
  ------------------
 2894|      0|        PyErr_SetString(PyExc_SystemError,
 2895|      0|            "PyArg_UnpackTuple() argument list is not a tuple");
 2896|      0|        return 0;
 2897|      0|    }
 2898|  6.18k|    stack = _PyTuple_ITEMS(args);
  ------------------
  |  |   26|  6.18k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|  12.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 6.18k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2899|  6.18k|    nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  6.18k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2900|       |
 2901|  6.18k|    va_start(vargs, max);
 2902|  6.18k|    retval = unpack_stack(stack, nargs, name, min, max, vargs);
 2903|       |    va_end(vargs);
 2904|  6.18k|    return retval;
 2905|  6.18k|}
_PyArg_UnpackStack:
 2910|  15.0k|{
 2911|  15.0k|    int retval;
 2912|  15.0k|    va_list vargs;
 2913|       |
 2914|  15.0k|    va_start(vargs, max);
 2915|  15.0k|    retval = unpack_stack(args, nargs, name, min, max, vargs);
 2916|       |    va_end(vargs);
 2917|  15.0k|    return retval;
 2918|  15.0k|}
_PyArg_NoPositional:
 2952|    381|{
 2953|    381|    if (args == NULL)
  ------------------
  |  Branch (2953:9): [True: 0, False: 381]
  ------------------
 2954|      0|        return 1;
 2955|    381|    if (!PyTuple_CheckExact(args)) {
  ------------------
  |  |   28|    381|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_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 (2955:9): [True: 0, False: 381]
  ------------------
 2956|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2957|      0|        return 0;
 2958|      0|    }
 2959|    381|    return _PyArg_NoPositionalStack(funcname, PyTuple_GET_SIZE(args));
  ------------------
  |  |   27|    381|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    381|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    381|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2960|    381|}
_PyArg_NoPositionalStack:
 2964|    381|{
 2965|    381|    if (nargs == 0) {
  ------------------
  |  Branch (2965:9): [True: 381, False: 0]
  ------------------
 2966|    381|        return 1;
 2967|    381|    }
 2968|       |
 2969|      0|    PyErr_Format(PyExc_TypeError, "%.200s() takes no positional arguments",
 2970|      0|                    funcname);
 2971|      0|    return 0;
 2972|    381|}
getargs.c:vgetargs1_impl:
  246|  48.7k|{
  247|  48.7k|    char msgbuf[256];
  248|  48.7k|    int levels[32];
  249|  48.7k|    const char *fname = NULL;
  250|  48.7k|    const char *message = NULL;
  251|  48.7k|    int min = -1;
  252|  48.7k|    int max = 0;
  253|  48.7k|    int level = 0;
  254|  48.7k|    int endfmt = 0;
  255|  48.7k|    const char *formatsave = format;
  256|  48.7k|    Py_ssize_t i;
  257|  48.7k|    const char *msg;
  258|  48.7k|    int compat = flags & FLAG_COMPAT;
  ------------------
  |  |   24|  48.7k|#define FLAG_COMPAT 1
  ------------------
  259|  48.7k|    freelistentry_t static_entries[STATIC_FREELIST_ENTRIES];
  260|  48.7k|    freelist_t freelist;
  261|       |
  262|  48.7k|    assert(nargs == 0 || stack != NULL);
  ------------------
  |  Branch (262:5): [True: 0, False: 48.7k]
  |  Branch (262:5): [True: 48.7k, False: 0]
  ------------------
  263|       |
  264|  48.7k|    freelist.entries = static_entries;
  265|  48.7k|    freelist.first_available = 0;
  266|  48.7k|    freelist.entries_malloced = 0;
  267|       |
  268|  48.7k|    flags = flags & ~FLAG_COMPAT;
  ------------------
  |  |   24|  48.7k|#define FLAG_COMPAT 1
  ------------------
  269|       |
  270|   381k|    while (endfmt == 0) {
  ------------------
  |  Branch (270:12): [True: 332k, False: 48.7k]
  ------------------
  271|   332k|        int c = *format++;
  272|   332k|        switch (c) {
  273|      0|        case '(':
  ------------------
  |  Branch (273:9): [True: 0, False: 332k]
  ------------------
  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: 332k]
  ------------------
  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|  47.9k|        case '\0':
  ------------------
  |  Branch (287:9): [True: 47.9k, False: 284k]
  ------------------
  288|  47.9k|            endfmt = 1;
  289|  47.9k|            break;
  290|    831|        case ':':
  ------------------
  |  Branch (290:9): [True: 831, False: 331k]
  ------------------
  291|    831|            fname = format;
  292|    831|            endfmt = 1;
  293|    831|            break;
  294|      0|        case ';':
  ------------------
  |  Branch (294:9): [True: 0, False: 332k]
  ------------------
  295|      0|            message = format;
  296|      0|            endfmt = 1;
  297|      0|            break;
  298|  13.6k|        case '|':
  ------------------
  |  Branch (298:9): [True: 13.6k, False: 319k]
  ------------------
  299|  13.6k|            if (level == 0)
  ------------------
  |  Branch (299:17): [True: 13.6k, False: 0]
  ------------------
  300|  13.6k|                min = max;
  301|  13.6k|            break;
  302|   270k|        default:
  ------------------
  |  Branch (302:9): [True: 270k, False: 62.3k]
  ------------------
  303|   270k|            if (level == 0) {
  ------------------
  |  Branch (303:17): [True: 270k, False: 0]
  ------------------
  304|   270k|                if (Py_ISALPHA(c))
  ------------------
  |  |   23|   270k|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  170|   270k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|   270k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|   270k|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|   270k|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (23:24): [True: 269k, False: 831]
  |  |  ------------------
  ------------------
  305|   269k|                    if (c != 'e') /* skip encoded */
  ------------------
  |  Branch (305:25): [True: 269k, False: 0]
  ------------------
  306|   269k|                        max++;
  307|   270k|            }
  308|   270k|            break;
  309|   332k|        }
  310|   332k|    }
  311|       |
  312|  48.7k|    if (level != 0)
  ------------------
  |  Branch (312:9): [True: 0, False: 48.7k]
  ------------------
  313|      0|        Py_FatalError(/* '(' */ "missing ')' in getargs format");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  314|       |
  315|  48.7k|    if (min < 0)
  ------------------
  |  Branch (315:9): [True: 35.1k, False: 13.6k]
  ------------------
  316|  35.1k|        min = max;
  317|       |
  318|  48.7k|    format = formatsave;
  319|       |
  320|  48.7k|    if (max > STATIC_FREELIST_ENTRIES) {
  ------------------
  |  |   44|  48.7k|#define STATIC_FREELIST_ENTRIES 8
  ------------------
  |  Branch (320:9): [True: 0, False: 48.7k]
  ------------------
  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|  48.7k|    if (compat) {
  ------------------
  |  Branch (329:9): [True: 0, False: 48.7k]
  ------------------
  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|  48.7k|    if (nargs < min || max < nargs) {
  ------------------
  |  Branch (361:9): [True: 0, False: 48.7k]
  |  Branch (361:24): [True: 0, False: 48.7k]
  ------------------
  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|   301k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (377:17): [True: 252k, False: 48.7k]
  ------------------
  378|   252k|        if (*format == '|')
  ------------------
  |  Branch (378:13): [True: 12.1k, False: 240k]
  ------------------
  379|  12.1k|            format++;
  380|   252k|        msg = convertitem(stack[i], &format, p_va,
  381|   252k|                          flags, levels, msgbuf,
  382|   252k|                          sizeof(msgbuf), &freelist);
  383|   252k|        if (msg) {
  ------------------
  |  Branch (383:13): [True: 26, False: 252k]
  ------------------
  384|     26|            seterror(i+1, msg, levels, fname, message);
  385|     26|            return cleanreturn(0, &freelist);
  386|     26|        }
  387|   252k|    }
  388|       |
  389|  48.7k|    if (*format != '\0' && !Py_ISALPHA(*format) &&
  ------------------
  |  |   23|  63.1k|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  170|  14.4k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|  14.4k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  14.4k|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|  14.4k|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (389:9): [True: 14.4k, False: 34.2k]
  |  Branch (389:28): [True: 2.30k, False: 12.1k]
  ------------------
  390|  2.30k|        *format != '(' &&
  ------------------
  |  Branch (390:9): [True: 2.30k, False: 0]
  ------------------
  391|  2.30k|        *format != '|' && *format != ':' && *format != ';') {
  ------------------
  |  Branch (391:9): [True: 831, False: 1.46k]
  |  Branch (391:27): [True: 0, False: 831]
  |  Branch (391:45): [True: 0, False: 0]
  ------------------
  392|      0|        PyErr_Format(PyExc_SystemError,
  393|      0|                     "bad format string: %.200s", formatsave);
  394|      0|        return cleanreturn(0, &freelist);
  395|      0|    }
  396|       |
  397|  48.7k|    return cleanreturn(1, &freelist);
  398|  48.7k|}
getargs.c:cleanreturn:
  225|  48.7k|{
  226|  48.7k|    int index;
  227|       |
  228|  48.7k|    if (retval == 0) {
  ------------------
  |  Branch (228:9): [True: 26, False: 48.7k]
  ------------------
  229|       |      /* A failure occurred, therefore execute all of the cleanup
  230|       |         functions.
  231|       |      */
  232|     26|      for (index = 0; index < freelist->first_available; ++index) {
  ------------------
  |  Branch (232:23): [True: 0, False: 26]
  ------------------
  233|      0|          freelist->entries[index].destructor(NULL,
  234|      0|                                              freelist->entries[index].item);
  235|      0|      }
  236|     26|    }
  237|  48.7k|    if (freelist->entries_malloced)
  ------------------
  |  Branch (237:9): [True: 0, False: 48.7k]
  ------------------
  238|      0|        PyMem_Free(freelist->entries);
  239|  48.7k|    return retval;
  240|  48.7k|}
getargs.c:convertitem:
  622|   252k|{
  623|   252k|    const char *msg;
  624|   252k|    const char *format = *p_format;
  625|       |
  626|   252k|    if (*format == '(' /* ')' */) {
  ------------------
  |  Branch (626:9): [True: 0, False: 252k]
  ------------------
  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|   252k|    else {
  634|   252k|        msg = convertsimple(arg, &format, p_va, flags,
  635|   252k|                            msgbuf, bufsize, freelist);
  636|   252k|        if (msg != NULL)
  ------------------
  |  Branch (636:13): [True: 26, False: 252k]
  ------------------
  637|     26|            levels[0] = 0;
  638|   252k|    }
  639|   252k|    if (msg == NULL)
  ------------------
  |  Branch (639:9): [True: 252k, False: 26]
  ------------------
  640|   252k|        *p_format = format;
  641|   252k|    return msg;
  642|   252k|}
getargs.c:convertsimple:
  702|   252k|{
  703|   252k|#define RETURN_ERR_OCCURRED return msgbuf
  704|       |
  705|   252k|    const char *format = *p_format;
  706|   252k|    char c = *format++;
  707|   252k|    const char *sarg;
  708|       |
  709|   252k|    switch (c) {
  710|       |
  711|      0|    case 'b': { /* unsigned byte -- very short int */
  ------------------
  |  Branch (711:5): [True: 0, False: 252k]
  ------------------
  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: 252k]
  ------------------
  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: 252k]
  ------------------
  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: 252k]
  ------------------
  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: 252k]
  ------------------
  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: 252k]
  ------------------
  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|  68.6k|    case 'n': /* Py_ssize_t */
  ------------------
  |  Branch (831:5): [True: 68.6k, False: 184k]
  ------------------
  832|  68.6k|    {
  833|  68.6k|        PyObject *iobj;
  834|  68.6k|        Py_ssize_t *p = va_arg(*p_va, Py_ssize_t *);
  835|  68.6k|        Py_ssize_t ival = -1;
  836|  68.6k|        iobj = _PyNumber_Index(arg);
  837|  68.6k|        if (iobj != NULL) {
  ------------------
  |  Branch (837:13): [True: 68.6k, False: 0]
  ------------------
  838|  68.6k|            ival = PyLong_AsSsize_t(iobj);
  839|  68.6k|            Py_DECREF(iobj);
  ------------------
  |  |  430|  68.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  68.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  68.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  840|  68.6k|        }
  841|  68.6k|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (841:13): [True: 26, False: 68.5k]
  |  Branch (841:27): [True: 26, False: 0]
  ------------------
  842|     26|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|     26|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  843|  68.5k|        *p = ival;
  844|  68.5k|        break;
  845|  68.6k|    }
  846|      0|    case 'l': {/* long int */
  ------------------
  |  Branch (846:5): [True: 0, False: 252k]
  ------------------
  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: 252k]
  ------------------
  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: 252k]
  ------------------
  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: 252k]
  ------------------
  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: 252k]
  ------------------
  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: 252k]
  ------------------
  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: 252k]
  ------------------
  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: 252k]
  ------------------
  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: 252k]
  ------------------
  965|      0|        int *p = va_arg(*p_va, int *);
  966|      0|        int kind;
  967|      0|        const void *data;
  968|       |
  969|      0|        if (!PyUnicode_Check(arg))
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (969:13): [True: 0, False: 0]
  ------------------
  970|      0|            return converterr("a unicode character", arg, msgbuf, bufsize);
  971|       |
  972|      0|        if (PyUnicode_GET_LENGTH(arg) != 1) {
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (972:13): [True: 0, False: 0]
  ------------------
  973|      0|            return convertcharerr("a unicode character",
  974|      0|                                  "a string", PyUnicode_GET_LENGTH(arg),
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  975|      0|                                  msgbuf, bufsize);
  976|      0|        }
  977|       |
  978|      0|        kind = PyUnicode_KIND(arg);
  ------------------
  |  |  259|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  313|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  979|      0|        data = PyUnicode_DATA(arg);
  ------------------
  |  |  285|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  980|      0|        *p = PyUnicode_READ(kind, data, 0);
  ------------------
  |  |  355|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  357|      0|                   (index))
  ------------------
  981|      0|        break;
  982|      0|    }
  983|       |
  984|      2|    case 'p': {/* boolean *p*redicate */
  ------------------
  |  Branch (984:5): [True: 2, False: 252k]
  ------------------
  985|      2|        int *p = va_arg(*p_va, int *);
  986|      2|        int val = PyObject_IsTrue(arg);
  987|      2|        if (val > 0)
  ------------------
  |  Branch (987:13): [True: 0, False: 2]
  ------------------
  988|      0|            *p = 1;
  989|      2|        else if (val == 0)
  ------------------
  |  Branch (989:18): [True: 2, False: 0]
  ------------------
  990|      2|            *p = 0;
  991|      0|        else
  992|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  703|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  993|      2|        break;
  994|      2|    }
  995|       |
  996|       |    /* XXX WAAAAH!  's', 'y', 'z', 'u', 'Z', 'e', 'w' codes all
  997|       |       need to be cleaned up! */
  998|       |
  999|      2|    case 'y': {/* any bytes-like object */
  ------------------
  |  Branch (999:5): [True: 0, False: 252k]
  ------------------
 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: 252k]
  ------------------
 1031|      0|    case 'z': /* text string, bytes-like object or None */
  ------------------
  |  Branch (1031:5): [True: 0, False: 252k]
  ------------------
 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: 252k]
  ------------------
 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: 252k]
  ------------------
 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: 252k]
  ------------------
 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|  99.2k|    case 'U': { /* PyUnicode object */
  ------------------
  |  Branch (1289:5): [True: 99.2k, False: 153k]
  ------------------
 1290|  99.2k|        PyObject **p = va_arg(*p_va, PyObject **);
 1291|  99.2k|        if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|  99.2k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  99.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 99.2k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1292|  99.2k|            *p = arg;
 1293|  99.2k|        }
 1294|      0|        else
 1295|      0|            return converterr("str", arg, msgbuf, bufsize);
 1296|  99.2k|        break;
 1297|  99.2k|    }
 1298|       |
 1299|  99.2k|    case 'O': { /* object */
  ------------------
  |  Branch (1299:5): [True: 84.9k, False: 167k]
  ------------------
 1300|  84.9k|        PyTypeObject *type;
 1301|  84.9k|        PyObject **p;
 1302|  84.9k|        if (*format == '!') {
  ------------------
  |  Branch (1302:13): [True: 831, False: 84.1k]
  ------------------
 1303|    831|            type = va_arg(*p_va, PyTypeObject*);
 1304|    831|            p = va_arg(*p_va, PyObject **);
 1305|    831|            format++;
 1306|    831|            if (PyType_IsSubtype(Py_TYPE(arg), type))
  ------------------
  |  |  213|    831|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    831|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    831|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1306:17): [True: 831, False: 0]
  ------------------
 1307|    831|                *p = arg;
 1308|      0|            else
 1309|      0|                return converterr(type->tp_name, arg, msgbuf, bufsize);
 1310|       |
 1311|    831|        }
 1312|  84.1k|        else if (*format == '&') {
  ------------------
  |  Branch (1312:18): [True: 0, False: 84.1k]
  ------------------
 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|  84.1k|        else {
 1327|  84.1k|            p = va_arg(*p_va, PyObject **);
 1328|  84.1k|            *p = arg;
 1329|  84.1k|        }
 1330|  84.9k|        break;
 1331|  84.9k|    }
 1332|       |
 1333|       |
 1334|  84.9k|    case 'w': { /* "w*": memory buffer, read-write access */
  ------------------
  |  Branch (1334:5): [True: 0, False: 252k]
  ------------------
 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: 252k]
  ------------------
 1361|      0|        return converterr("(impossible<bad format char>)", arg, msgbuf, bufsize);
 1362|       |
 1363|   252k|    }
 1364|       |
 1365|   252k|    *p_format = format;
 1366|   252k|    return NULL;
 1367|       |
 1368|   252k|#undef RETURN_ERR_OCCURRED
 1369|   252k|}
getargs.c:seterror:
  430|     26|{
  431|     26|    char buf[512];
  432|     26|    int i;
  433|     26|    char *p = buf;
  434|       |
  435|     26|    if (PyErr_Occurred())
  ------------------
  |  Branch (435:9): [True: 26, False: 0]
  ------------------
  436|     26|        return;
  437|      0|    else if (message == NULL) {
  ------------------
  |  Branch (437:14): [True: 0, False: 0]
  ------------------
  438|      0|        if (fname != NULL) {
  ------------------
  |  Branch (438:13): [True: 0, False: 0]
  ------------------
  439|      0|            PyOS_snprintf(p, sizeof(buf), "%.200s() ", fname);
  440|      0|            p += strlen(p);
  441|      0|        }
  442|      0|        if (iarg != 0) {
  ------------------
  |  Branch (442:13): [True: 0, False: 0]
  ------------------
  443|      0|            PyOS_snprintf(p, sizeof(buf) - (p - buf),
  444|      0|                          "argument %zd", iarg);
  445|      0|            i = 0;
  446|      0|            p += strlen(p);
  447|      0|            while (i < 32 && levels[i] > 0 && (int)(p-buf) < 220) {
  ------------------
  |  Branch (447:20): [True: 0, False: 0]
  |  Branch (447:30): [True: 0, False: 0]
  |  Branch (447:47): [True: 0, False: 0]
  ------------------
  448|      0|                PyOS_snprintf(p, sizeof(buf) - (p - buf),
  449|      0|                              ", item %d", levels[i]-1);
  450|      0|                p += strlen(p);
  451|      0|                i++;
  452|      0|            }
  453|      0|        }
  454|      0|        else {
  455|      0|            PyOS_snprintf(p, sizeof(buf) - (p - buf), "argument");
  456|      0|            p += strlen(p);
  457|      0|        }
  458|      0|        PyOS_snprintf(p, sizeof(buf) - (p - buf), " %.256s", msg);
  459|      0|        message = buf;
  460|      0|    }
  461|      0|    if (msg[0] == '(') {
  ------------------
  |  Branch (461:9): [True: 0, False: 0]
  ------------------
  462|      0|        PyErr_SetString(PyExc_SystemError, message);
  463|      0|    }
  464|      0|    else {
  465|      0|        PyErr_SetString(PyExc_TypeError, message);
  466|      0|    }
  467|      0|}
getargs.c:vgetargs1:
  402|  48.7k|{
  403|  48.7k|    PyObject **stack;
  404|  48.7k|    Py_ssize_t nargs;
  405|       |
  406|  48.7k|    if (!(flags & FLAG_COMPAT)) {
  ------------------
  |  |   24|  48.7k|#define FLAG_COMPAT 1
  ------------------
  |  Branch (406:9): [True: 48.7k, False: 0]
  ------------------
  407|  48.7k|        assert(args != NULL);
  ------------------
  |  Branch (407:9): [True: 48.7k, False: 0]
  ------------------
  408|       |
  409|  48.7k|        if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|  48.7k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  48.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (409:13): [True: 0, False: 48.7k]
  ------------------
  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|  48.7k|        stack = _PyTuple_ITEMS(args);
  ------------------
  |  |   26|  48.7k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|  97.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 48.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  416|  48.7k|        nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  48.7k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  417|  48.7k|    }
  418|      0|    else {
  419|      0|        stack = NULL;
  420|      0|        nargs = 0;
  421|      0|    }
  422|       |
  423|  48.7k|    return vgetargs1_impl(args, stack, nargs, format, p_va, flags);
  424|  48.7k|}
getargs.c:vgetargskeywords_impl:
 1665|      4|{
 1666|      4|    char msgbuf[512];
 1667|      4|    int levels[32];
 1668|      4|    const char *fname, *msg, *custom_msg;
 1669|      4|    int min = INT_MAX;
 1670|      4|    int max = INT_MAX;
 1671|      4|    int i, pos, len;
 1672|      4|    int skip = 0;
 1673|      4|    Py_ssize_t nkwargs;
 1674|      4|    freelistentry_t static_entries[STATIC_FREELIST_ENTRIES];
 1675|      4|    freelist_t freelist;
 1676|      4|    PyObject * const *kwstack = NULL;
 1677|       |
 1678|      4|    freelist.entries = static_entries;
 1679|      4|    freelist.first_available = 0;
 1680|      4|    freelist.entries_malloced = 0;
 1681|       |
 1682|      4|    assert(args != NULL || nargs == 0);
  ------------------
  |  Branch (1682:5): [True: 4, False: 0]
  |  Branch (1682:5): [True: 0, False: 0]
  ------------------
 1683|      4|    assert(kwargs == NULL || PyDict_Check(kwargs));
  ------------------
  |  Branch (1683:5): [True: 4, False: 0]
  |  Branch (1683:5): [True: 0, False: 0]
  ------------------
 1684|      4|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (1684:5): [True: 4, False: 0]
  |  Branch (1684:5): [True: 0, False: 0]
  ------------------
 1685|      4|    assert(format != NULL);
  ------------------
  |  Branch (1685:5): [True: 4, False: 0]
  ------------------
 1686|      4|    assert(kwlist != NULL);
  ------------------
  |  Branch (1686:5): [True: 4, False: 0]
  ------------------
 1687|      4|    assert(p_va != NULL);
  ------------------
  |  Branch (1687:5): [True: 4, False: 0]
  ------------------
 1688|       |
 1689|       |    /* grab the function name or custom error msg first (mutually exclusive) */
 1690|      4|    fname = strchr(format, ':');
 1691|      4|    if (fname) {
  ------------------
  |  Branch (1691:9): [True: 4, False: 0]
  ------------------
 1692|      4|        fname++;
 1693|      4|        custom_msg = NULL;
 1694|      4|    }
 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|      6|    for (pos = 0; kwlist[pos] && !*kwlist[pos]; pos++) {
  ------------------
  |  Branch (1702:19): [True: 6, False: 0]
  |  Branch (1702:34): [True: 2, False: 4]
  ------------------
 1703|      2|    }
 1704|       |    /* scan kwlist and get greatest possible nbr of args */
 1705|     14|    for (len = pos; kwlist[len]; len++) {
  ------------------
  |  Branch (1705:21): [True: 10, False: 4]
  ------------------
 1706|     10|        if (!*kwlist[len]) {
  ------------------
  |  Branch (1706:13): [True: 0, False: 10]
  ------------------
 1707|      0|            PyErr_SetString(PyExc_SystemError,
 1708|      0|                            "Empty keyword parameter name");
 1709|      0|            return cleanreturn(0, &freelist);
 1710|      0|        }
 1711|     10|    }
 1712|       |
 1713|      4|    if (len > STATIC_FREELIST_ENTRIES) {
  ------------------
  |  |   44|      4|#define STATIC_FREELIST_ENTRIES 8
  ------------------
  |  Branch (1713:9): [True: 0, False: 4]
  ------------------
 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|      4|    if (kwargs != NULL) {
  ------------------
  |  Branch (1722:9): [True: 0, False: 4]
  ------------------
 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|      4|    else if (kwnames != NULL) {
  ------------------
  |  Branch (1725:14): [True: 0, False: 4]
  ------------------
 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|      4|    else {
 1730|      4|        nkwargs = 0;
 1731|      4|    }
 1732|      4|    if (nargs + nkwargs > len) {
  ------------------
  |  Branch (1732:9): [True: 0, False: 4]
  ------------------
 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|     14|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (1747:17): [True: 12, False: 2]
  ------------------
 1748|     12|        if (*format == '|') {
  ------------------
  |  Branch (1748:13): [True: 2, False: 10]
  ------------------
 1749|      2|            if (min != INT_MAX) {
  ------------------
  |  Branch (1749:17): [True: 0, False: 2]
  ------------------
 1750|      0|                PyErr_SetString(PyExc_SystemError,
 1751|      0|                                "Invalid format string (| specified twice)");
 1752|      0|                return cleanreturn(0, &freelist);
 1753|      0|            }
 1754|       |
 1755|      2|            min = i;
 1756|      2|            format++;
 1757|       |
 1758|      2|            if (max != INT_MAX) {
  ------------------
  |  Branch (1758:17): [True: 0, False: 2]
  ------------------
 1759|      0|                PyErr_SetString(PyExc_SystemError,
 1760|      0|                                "Invalid format string ($ before |)");
 1761|      0|                return cleanreturn(0, &freelist);
 1762|      0|            }
 1763|      2|        }
 1764|     12|        if (*format == '$') {
  ------------------
  |  Branch (1764:13): [True: 2, False: 10]
  ------------------
 1765|      2|            if (max != INT_MAX) {
  ------------------
  |  Branch (1765:17): [True: 0, False: 2]
  ------------------
 1766|      0|                PyErr_SetString(PyExc_SystemError,
 1767|      0|                                "Invalid format string ($ specified twice)");
 1768|      0|                return cleanreturn(0, &freelist);
 1769|      0|            }
 1770|       |
 1771|      2|            max = i;
 1772|      2|            format++;
 1773|       |
 1774|      2|            if (max < pos) {
  ------------------
  |  Branch (1774:17): [True: 0, False: 2]
  ------------------
 1775|      0|                PyErr_SetString(PyExc_SystemError,
 1776|      0|                                "Empty parameter name after $");
 1777|      0|                return cleanreturn(0, &freelist);
 1778|      0|            }
 1779|      2|            if (skip) {
  ------------------
  |  Branch (1779:17): [True: 0, False: 2]
  ------------------
 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|      2|            if (max < nargs) {
  ------------------
  |  Branch (1785:17): [True: 0, False: 2]
  ------------------
 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|      2|        }
 1806|     12|        if (IS_END_OF_FORMAT(*format)) {
  ------------------
  |  | 1658|     12|#define IS_END_OF_FORMAT(c) (c == '\0' || c == ';' || c == ':')
  |  |  ------------------
  |  |  |  Branch (1658:30): [True: 0, False: 12]
  |  |  |  Branch (1658:43): [True: 0, False: 12]
  |  |  |  Branch (1658:55): [True: 0, False: 12]
  |  |  ------------------
  ------------------
 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|     12|        if (!skip) {
  ------------------
  |  Branch (1812:13): [True: 12, False: 0]
  ------------------
 1813|     12|            PyObject *current_arg;
 1814|     12|            if (i < nargs) {
  ------------------
  |  Branch (1814:17): [True: 10, False: 2]
  ------------------
 1815|     10|                current_arg = Py_NewRef(args[i]);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1816|     10|            }
 1817|      2|            else if (nkwargs && i >= pos) {
  ------------------
  |  Branch (1817:22): [True: 0, False: 2]
  |  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|      2|            else {
 1831|      2|                current_arg = NULL;
 1832|      2|            }
 1833|       |
 1834|     12|            if (current_arg) {
  ------------------
  |  Branch (1834:17): [True: 10, False: 2]
  ------------------
 1835|     10|                msg = convertitem(current_arg, &format, p_va, flags,
 1836|     10|                    levels, msgbuf, sizeof(msgbuf), &freelist);
 1837|     10|                Py_DECREF(current_arg);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1838|     10|                if (msg) {
  ------------------
  |  Branch (1838:21): [True: 0, False: 10]
  ------------------
 1839|      0|                    seterror(i+1, msg, levels, fname, custom_msg);
 1840|      0|                    return cleanreturn(0, &freelist);
 1841|      0|                }
 1842|     10|                continue;
 1843|     10|            }
 1844|       |
 1845|      2|            if (i < min) {
  ------------------
  |  Branch (1845:17): [True: 0, False: 2]
  ------------------
 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|      2|            if (!nkwargs && !skip) {
  ------------------
  |  Branch (1868:17): [True: 2, False: 0]
  |  Branch (1868:29): [True: 2, False: 0]
  ------------------
 1869|      2|                return cleanreturn(1, &freelist);
 1870|      2|            }
 1871|      2|        }
 1872|       |
 1873|       |        /* We are into optional args, skip through to any remaining
 1874|       |         * keyword args */
 1875|      0|        msg = skipitem(&format, p_va, flags);
 1876|      0|        if (msg) {
  ------------------
  |  Branch (1876:13): [True: 0, False: 0]
  ------------------
 1877|      0|            PyErr_Format(PyExc_SystemError, "%s: '%s'", msg,
 1878|      0|                         format);
 1879|      0|            return cleanreturn(0, &freelist);
 1880|      0|        }
 1881|      0|    }
 1882|       |
 1883|      2|    if (skip) {
  ------------------
  |  Branch (1883:9): [True: 0, False: 2]
  ------------------
 1884|      0|        PyErr_Format(PyExc_TypeError,
 1885|      0|                     "%.200s%s takes %s %d positional argument%s"
 1886|      0|                     " (%zd given)",
 1887|      0|                     (fname == NULL) ? "function" : fname,
  ------------------
  |  Branch (1887:22): [True: 0, False: 0]
  ------------------
 1888|      0|                     (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1888:22): [True: 0, False: 0]
  ------------------
 1889|      0|                     (Py_MIN(pos, min) < i) ? "at least" : "exactly",
  ------------------
  |  |  127|      0|       __extension__ \
  |  |  128|      0|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      0|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1889:22): [True: 0, False: 0]
  ------------------
 1890|      0|                     Py_MIN(pos, min),
  ------------------
  |  |  127|      0|       __extension__ \
  |  |  128|      0|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      0|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1891|      0|                     Py_MIN(pos, min) == 1 ? "" : "s",
  ------------------
  |  |  127|      0|       __extension__ \
  |  |  128|      0|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|      0|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|      0|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1891:22): [True: 0, False: 0]
  ------------------
 1892|      0|                     nargs);
 1893|      0|        return cleanreturn(0, &freelist);
 1894|      0|    }
 1895|       |
 1896|      2|    if (!IS_END_OF_FORMAT(*format) && (*format != '|') && (*format != '$')) {
  ------------------
  |  | 1658|      4|#define IS_END_OF_FORMAT(c) (c == '\0' || c == ';' || c == ':')
  |  |  ------------------
  |  |  |  Branch (1658:30): [True: 0, False: 2]
  |  |  |  Branch (1658:43): [True: 0, False: 2]
  |  |  |  Branch (1658:55): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1896:39): [True: 0, False: 0]
  |  Branch (1896:59): [True: 0, False: 0]
  ------------------
 1897|      0|        PyErr_Format(PyExc_SystemError,
 1898|      0|            "more argument specifiers than keyword list entries "
 1899|      0|            "(remaining format:'%s')", format);
 1900|      0|        return cleanreturn(0, &freelist);
 1901|      0|    }
 1902|       |
 1903|      2|    if (nkwargs > 0) {
  ------------------
  |  Branch (1903:9): [True: 0, False: 2]
  ------------------
 1904|      0|        PyObject *key;
 1905|      0|        Py_ssize_t j;
 1906|       |        /* make sure there are no arguments given by name and position */
 1907|      0|        for (i = pos; i < nargs; i++) {
  ------------------
  |  Branch (1907:23): [True: 0, False: 0]
  ------------------
 1908|      0|            PyObject *current_arg;
 1909|      0|            if (kwargs != NULL) {
  ------------------
  |  Branch (1909:17): [True: 0, False: 0]
  ------------------
 1910|      0|                if (PyDict_GetItemStringRef(kwargs, kwlist[i], &current_arg) < 0) {
  ------------------
  |  Branch (1910:21): [True: 0, False: 0]
  ------------------
 1911|      0|                    return cleanreturn(0, &freelist);
 1912|      0|                }
 1913|      0|            }
 1914|      0|            else {
 1915|      0|                current_arg = find_keyword_str(kwnames, kwstack, kwlist[i]);
 1916|      0|            }
 1917|      0|            if (current_arg) {
  ------------------
  |  Branch (1917:17): [True: 0, False: 0]
  ------------------
 1918|      0|                Py_DECREF(current_arg);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1919|       |                /* arg present in tuple and in dict */
 1920|      0|                PyErr_Format(PyExc_TypeError,
 1921|      0|                             "argument for %.200s%s given by name ('%s') "
 1922|      0|                             "and position (%d)",
 1923|      0|                             (fname == NULL) ? "function" : fname,
  ------------------
  |  Branch (1923:30): [True: 0, False: 0]
  ------------------
 1924|      0|                             (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1924:30): [True: 0, False: 0]
  ------------------
 1925|      0|                             kwlist[i], i+1);
 1926|      0|                return cleanreturn(0, &freelist);
 1927|      0|            }
 1928|      0|        }
 1929|       |        /* make sure there are no extraneous keyword arguments */
 1930|      0|        j = 0;
 1931|      0|        while (1) {
  ------------------
  |  Branch (1931:16): [True: 0, Folded]
  ------------------
 1932|      0|            if (kwargs != NULL) {
  ------------------
  |  Branch (1932:17): [True: 0, False: 0]
  ------------------
 1933|      0|                if (!PyDict_Next(kwargs, &j, &key, NULL)) {
  ------------------
  |  Branch (1933:21): [True: 0, False: 0]
  ------------------
 1934|      0|                    break;
 1935|      0|                }
 1936|      0|            }
 1937|      0|            else {
 1938|      0|                if (j >= nkwargs) {
  ------------------
  |  Branch (1938:21): [True: 0, False: 0]
  ------------------
 1939|      0|                    break;
 1940|      0|                }
 1941|      0|                key = PyTuple_GET_ITEM(kwnames, j);
  ------------------
  |  |   29|      0|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|      0|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1941:23): [True: 0, False: 0]
  ------------------
 1942|      0|                j++;
 1943|      0|            }
 1944|       |
 1945|      0|            int match = 0;
 1946|      0|            if (!PyUnicode_Check(key)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1946:17): [True: 0, False: 0]
  ------------------
 1947|      0|                PyErr_SetString(PyExc_TypeError,
 1948|      0|                                "keywords must be strings");
 1949|      0|                return cleanreturn(0, &freelist);
 1950|      0|            }
 1951|      0|            for (i = pos; i < len; i++) {
  ------------------
  |  Branch (1951:27): [True: 0, False: 0]
  ------------------
 1952|      0|                if (PyUnicode_EqualToUTF8(key, kwlist[i])) {
  ------------------
  |  Branch (1952:21): [True: 0, False: 0]
  ------------------
 1953|      0|                    match = 1;
 1954|      0|                    break;
 1955|      0|                }
 1956|      0|            }
 1957|      0|            if (!match) {
  ------------------
  |  Branch (1957:17): [True: 0, False: 0]
  ------------------
 1958|      0|                PyObject *_pykwtuple = new_kwtuple(kwlist, len, pos);
 1959|      0|                if (!_pykwtuple) {
  ------------------
  |  Branch (1959:21): [True: 0, False: 0]
  ------------------
 1960|      0|                    return cleanreturn(0, &freelist);
 1961|      0|                }
 1962|      0|                PyObject *pykwlist = PySequence_List(_pykwtuple);
 1963|      0|                Py_DECREF(_pykwtuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1964|      0|                if (!pykwlist) {
  ------------------
  |  Branch (1964:21): [True: 0, False: 0]
  ------------------
 1965|      0|                    return cleanreturn(0, &freelist);
 1966|      0|                }
 1967|      0|                PyObject *suggestion_keyword = _Py_CalculateSuggestions(pykwlist, key);
 1968|      0|                Py_DECREF(pykwlist);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1969|       |
 1970|      0|                if (suggestion_keyword) {
  ------------------
  |  Branch (1970:21): [True: 0, False: 0]
  ------------------
 1971|      0|                    PyErr_Format(PyExc_TypeError,
 1972|      0|                                "%.200s%s got an unexpected keyword argument '%S'."
 1973|      0|                                " Did you mean '%S'?",
 1974|      0|                                (fname == NULL) ? "this function" : fname,
  ------------------
  |  Branch (1974:33): [True: 0, False: 0]
  ------------------
 1975|      0|                                (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1975:33): [True: 0, False: 0]
  ------------------
 1976|      0|                                key,
 1977|      0|                                suggestion_keyword);
 1978|      0|                    Py_DECREF(suggestion_keyword);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1979|      0|                }
 1980|      0|                else {
 1981|      0|                    PyErr_Format(PyExc_TypeError,
 1982|      0|                                "%.200s%s got an unexpected keyword argument '%S'",
 1983|      0|                                (fname == NULL) ? "this function" : fname,
  ------------------
  |  Branch (1983:33): [True: 0, False: 0]
  ------------------
 1984|      0|                                (fname == NULL) ? "" : "()",
  ------------------
  |  Branch (1984:33): [True: 0, False: 0]
  ------------------
 1985|      0|                                key);
 1986|      0|                }
 1987|      0|                return cleanreturn(0, &freelist);
 1988|      0|            }
 1989|      0|        }
 1990|       |        /* Something wrong happened. There are extraneous keyword arguments,
 1991|       |         * but we don't know what. And we don't bother. */
 1992|      0|        PyErr_Format(PyExc_TypeError,
 1993|      0|                     "invalid keyword argument for %.200s%s",
 1994|      0|                     (fname == NULL) ? "this function" : fname,
  ------------------
  |  Branch (1994:22): [True: 0, False: 0]
  ------------------
 1995|      0|                     (fname == NULL) ? "" : "()");
  ------------------
  |  Branch (1995:22): [True: 0, False: 0]
  ------------------
 1996|      0|        return cleanreturn(0, &freelist);
 1997|      0|    }
 1998|       |
 1999|      2|    return cleanreturn(1, &freelist);
 2000|      2|}
getargs.c:new_kwtuple:
 2117|      1|{
 2118|      1|    int nkw = total - pos;
 2119|      1|    PyObject *kwtuple = PyTuple_New(nkw);
 2120|      1|    if (kwtuple == NULL) {
  ------------------
  |  Branch (2120:9): [True: 0, False: 1]
  ------------------
 2121|      0|        return NULL;
 2122|      0|    }
 2123|      1|    keywords += pos;
 2124|      6|    for (int i = 0; i < nkw; i++) {
  ------------------
  |  Branch (2124:21): [True: 5, False: 1]
  ------------------
 2125|      5|        PyObject *str = PyUnicode_FromString(keywords[i]);
 2126|      5|        if (str == NULL) {
  ------------------
  |  Branch (2126:13): [True: 0, False: 5]
  ------------------
 2127|      0|            Py_DECREF(kwtuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|      0|            return NULL;
 2129|      0|        }
 2130|      5|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2131|      5|        _PyUnicode_InternImmortal(interp, &str);
 2132|      5|        PyTuple_SET_ITEM(kwtuple, i, str);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2133|      5|    }
 2134|      1|    return kwtuple;
 2135|      1|}
getargs.c:vgetargskeywords:
 2006|      4|{
 2007|      4|    PyObject *const *args = _PyTuple_ITEMS(argstuple);
  ------------------
  |  |   26|      4|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  313|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2008|      4|    Py_ssize_t nargs = PyTuple_GET_SIZE(argstuple);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|       |    return vgetargskeywords_impl(args, nargs, kwargs, NULL,
 2010|      4|                                 format, kwlist, p_va, flags);
 2011|      4|}
getargs.c:parser_init:
 2216|  8.75k|{
 2217|  8.75k|    return _PyOnceFlag_CallOnce(&parser->once, &_parser_init, parser);
 2218|  8.75k|}
getargs.c:_parser_init:
 2139|      6|{
 2140|      6|    struct _PyArg_Parser *parser = (struct _PyArg_Parser *)arg;
 2141|      6|    const char * const *keywords = parser->keywords;
 2142|      6|    assert(keywords != NULL);
  ------------------
  |  Branch (2142:5): [True: 6, False: 0]
  ------------------
 2143|      6|    assert(parser->pos == 0 &&
  ------------------
  |  Branch (2143:5): [True: 6, False: 0]
  |  Branch (2143:5): [True: 0, False: 0]
  |  Branch (2143:5): [True: 6, False: 0]
  |  Branch (2143:5): [True: 6, False: 0]
  |  Branch (2143:5): [True: 6, False: 0]
  |  Branch (2143:5): [True: 6, False: 0]
  ------------------
 2144|      6|           (parser->format == NULL || parser->fname == NULL) &&
 2145|      6|           parser->custom_msg == NULL &&
 2146|      6|           parser->min == 0 &&
 2147|      6|           parser->max == 0);
 2148|       |
 2149|      6|    int len, pos;
 2150|      6|    if (scan_keywords(keywords, &len, &pos) < 0) {
  ------------------
  |  Branch (2150:9): [True: 0, False: 6]
  ------------------
 2151|      0|        return -1;
 2152|      0|    }
 2153|       |
 2154|      6|    const char *fname, *custommsg = NULL;
 2155|      6|    int min = 0, max = 0;
 2156|      6|    if (parser->format) {
  ------------------
  |  Branch (2156:9): [True: 0, False: 6]
  ------------------
 2157|      0|        assert(parser->fname == NULL);
  ------------------
  |  Branch (2157:9): [True: 0, False: 0]
  ------------------
 2158|      0|        if (parse_format(parser->format, len, pos,
  ------------------
  |  Branch (2158:13): [True: 0, False: 0]
  ------------------
 2159|      0|                         &fname, &custommsg, &min, &max) < 0) {
 2160|      0|            return -1;
 2161|      0|        }
 2162|      0|    }
 2163|      6|    else {
 2164|      6|        assert(parser->fname != NULL);
  ------------------
  |  Branch (2164:9): [True: 6, False: 0]
  ------------------
 2165|      6|        fname = parser->fname;
 2166|      6|    }
 2167|       |
 2168|      6|    int owned;
 2169|      6|    PyObject *kwtuple = parser->kwtuple;
 2170|      6|    if (kwtuple == NULL) {
  ------------------
  |  Branch (2170:9): [True: 1, False: 5]
  ------------------
 2171|       |        /* We may temporarily switch to the main interpreter to avoid
 2172|       |         * creating a tuple that could outlive its owning interpreter. */
 2173|      1|        PyThreadState *save_tstate = NULL;
 2174|      1|        PyThreadState *temp_tstate = NULL;
 2175|      1|        if (!_Py_IsMainInterpreter(PyInterpreterState_Get())) {
  ------------------
  |  Branch (2175:13): [True: 0, False: 1]
  ------------------
 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|      1|        kwtuple = new_kwtuple(keywords, len, pos);
 2183|      1|        if (temp_tstate != NULL) {
  ------------------
  |  Branch (2183:13): [True: 0, False: 1]
  ------------------
 2184|      0|            PyThreadState_Clear(temp_tstate);
 2185|      0|            (void)PyThreadState_Swap(save_tstate);
 2186|      0|            PyThreadState_Delete(temp_tstate);
 2187|      0|        }
 2188|      1|        if (kwtuple == NULL) {
  ------------------
  |  Branch (2188:13): [True: 0, False: 1]
  ------------------
 2189|      0|            return -1;
 2190|      0|        }
 2191|      1|        owned = 1;
 2192|      1|    }
 2193|      5|    else {
 2194|      5|        owned = 0;
 2195|      5|    }
 2196|       |
 2197|      6|    parser->pos = pos;
 2198|      6|    parser->fname = fname;
 2199|      6|    parser->custom_msg = custommsg;
 2200|      6|    parser->min = min;
 2201|      6|    parser->max = max;
 2202|      6|    parser->kwtuple = kwtuple;
 2203|      6|    parser->is_kwtuple_owned = owned;
 2204|       |
 2205|      6|    assert(parser->next == NULL);
  ------------------
  |  Branch (2205:5): [True: 6, False: 0]
  ------------------
 2206|      6|    parser->next = _Py_atomic_load_ptr(&_PyRuntime.getargs.static_parsers);
 2207|      6|    do {
 2208|       |        // compare-exchange updates parser->next on failure
 2209|      6|    } while (!_Py_atomic_compare_exchange_ptr(&_PyRuntime.getargs.static_parsers,
  ------------------
  |  Branch (2209:14): [True: 0, False: 6]
  ------------------
 2210|      6|                                              &parser->next, parser));
 2211|      6|    return 0;
 2212|      6|}
getargs.c:scan_keywords:
 2015|      6|{
 2016|       |    /* scan keywords and count the number of positional-only parameters */
 2017|      6|    int i;
 2018|      7|    for (i = 0; keywords[i] && !*keywords[i]; i++) {
  ------------------
  |  Branch (2018:17): [True: 7, False: 0]
  |  Branch (2018:32): [True: 1, False: 6]
  ------------------
 2019|      1|    }
 2020|      6|    *pposonly = i;
 2021|       |
 2022|       |    /* scan keywords and get greatest possible nbr of args */
 2023|     29|    for (; keywords[i]; i++) {
  ------------------
  |  Branch (2023:12): [True: 23, False: 6]
  ------------------
 2024|     23|        if (!*keywords[i]) {
  ------------------
  |  Branch (2024:13): [True: 0, False: 23]
  ------------------
 2025|      0|            PyErr_SetString(PyExc_SystemError,
 2026|      0|                            "Empty keyword parameter name");
 2027|      0|            return -1;
 2028|      0|        }
 2029|     23|    }
 2030|      6|    *ptotal = i;
 2031|      6|    return 0;
 2032|      6|}
getargs.c:find_keyword:
 2243|  26.1k|{
 2244|  26.1k|    Py_ssize_t i, nkwargs;
 2245|       |
 2246|  26.1k|    nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  26.1k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2247|  52.4k|    for (i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2247:17): [True: 51.7k, False: 729]
  ------------------
 2248|  51.7k|        PyObject *kwname = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|  51.7k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  51.7k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2248:28): [True: 51.7k, 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|  51.7k|        if (kwname == key) {
  ------------------
  |  Branch (2252:13): [True: 25.4k, False: 26.2k]
  ------------------
 2253|  25.4k|            return Py_NewRef(kwstack[i]);
  ------------------
  |  |  647|  25.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  25.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2254|  25.4k|        }
 2255|  51.7k|    }
 2256|       |
 2257|  2.18k|    for (i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2257:17): [True: 1.45k, False: 729]
  ------------------
 2258|  1.45k|        PyObject *kwname = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|  1.45k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.45k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2258:28): [True: 1.45k, False: 0]
  ------------------
 2259|  1.45k|        assert(PyUnicode_Check(kwname));
  ------------------
  |  Branch (2259:9): [True: 1.45k, False: 0]
  ------------------
 2260|  1.45k|        if (_PyUnicode_Equal(kwname, key)) {
  ------------------
  |  Branch (2260:13): [True: 0, False: 1.45k]
  ------------------
 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.45k|    }
 2264|    729|    return NULL;
 2265|    729|}
getargs.c:unpack_stack:
 2870|  21.2k|{
 2871|  21.2k|    Py_ssize_t i;
 2872|  21.2k|    PyObject **o;
 2873|       |
 2874|  21.2k|    if (!_PyArg_CheckPositional(name, nargs, min, max)) {
  ------------------
  |  Branch (2874:9): [True: 0, False: 21.2k]
  ------------------
 2875|      0|        return 0;
 2876|      0|    }
 2877|       |
 2878|  53.9k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2878:17): [True: 32.7k, False: 21.2k]
  ------------------
 2879|       |        o = va_arg(vargs, PyObject **);
 2880|  32.7k|        *o = args[i];
 2881|  32.7k|    }
 2882|  21.2k|    return 1;
 2883|  21.2k|}

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

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

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

_PyImport_AcquireLock:
  152|  1.85k|{
  153|  1.85k|    _PyRecursiveMutex_Lock(&IMPORT_LOCK(interp));
  ------------------
  |  |  112|  1.85k|    (interp)->imports.lock
  ------------------
  154|  1.85k|}
_PyImport_ReleaseLock:
  158|  1.85k|{
  159|  1.85k|    _PyRecursiveMutex_Unlock(&IMPORT_LOCK(interp));
  ------------------
  |  |  112|  1.85k|    (interp)->imports.lock
  ------------------
  160|  1.85k|}
_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|   124k|{
  188|   124k|    return MODULES(interp);
  ------------------
  |  |   88|   124k|    (interp)->imports.modules
  ------------------
  189|   124k|}
_PyImport_SetModuleString:
  248|      3|{
  249|      3|    PyThreadState *tstate = _PyThreadState_GET();
  250|       |    PyObject *modules = get_modules_dict(tstate, true);
  251|      3|    return PyMapping_SetItemString(modules, name, m);
  252|      3|}
_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|    155|{
  290|    155|    if (LAZY_MODULES(interp) == NULL) {
  ------------------
  |  |   92|    155|    (interp)->imports.lazy_modules
  ------------------
  |  Branch (290:9): [True: 0, False: 155]
  ------------------
  291|      0|        return 0;
  292|      0|    }
  293|    155|    return PySet_Discard(LAZY_MODULES(interp), name);
  ------------------
  |  |   92|    155|    (interp)->imports.lazy_modules
  ------------------
  294|    155|}
PyImport_GetModule:
  362|   124k|{
  363|   124k|    PyThreadState *tstate = _PyThreadState_GET();
  364|   124k|    PyObject *mod;
  365|       |
  366|   124k|    mod = import_get_module(tstate, name);
  367|   124k|    if (mod != NULL && mod != Py_None) {
  ------------------
  |  |  616|   124k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (367:9): [True: 124k, False: 8]
  |  Branch (367:24): [True: 124k, False: 0]
  ------------------
  368|   124k|        if (import_ensure_initialized(tstate->interp, mod, name) < 0) {
  ------------------
  |  Branch (368:13): [True: 0, False: 124k]
  ------------------
  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|   124k|        PyObject *mod_check = import_get_module(tstate, name);
  375|   124k|        if (mod_check != mod) {
  ------------------
  |  Branch (375:13): [True: 0, False: 124k]
  ------------------
  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|   124k|        Py_DECREF(mod_check);
  ------------------
  |  |  430|   124k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   124k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   124k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|   124k|    }
  389|   124k|    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|   124k|}
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|     51|{
  534|     51|    return _Py_atomic_add_ssize(&LAST_MODULE_INDEX, 1) + 1;
  ------------------
  |  |   79|     51|#define LAST_MODULE_INDEX _PyRuntime.imports.last_module_index
  ------------------
  535|     51|}
_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|     86|{
  926|     86|    const char *oldcontext = PKGCONTEXT;
  ------------------
  |  |  908|     86|# define PKGCONTEXT pkgcontext
  ------------------
  927|     86|    PKGCONTEXT = newcontext;
  ------------------
  |  |  908|     86|# define PKGCONTEXT pkgcontext
  ------------------
  928|     86|    return oldcontext;
  929|     86|}
_PyImport_GetDLOpenFlags:
  934|     20|{
  935|     20|    return FT_ATOMIC_LOAD_INT_RELAXED(DLOPENFLAGS(interp));
  ------------------
  |  |  189|     20|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
  936|     20|}
_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|   166k|{
 3619|   166k|    return func == IMPORT_FUNC(interp);
  ------------------
  |  |  106|   166k|    (interp)->imports.import_func
  ------------------
 3620|   166k|}
_PyImport_IsDefaultLazyImportFunc:
 3624|     13|{
 3625|     13|    return func == LAZY_IMPORT_FUNC(interp);
  ------------------
  |  |  109|     13|    (interp)->imports.lazy_import_func
  ------------------
 3626|     13|}
PyImport_ImportModule:
 3633|    233|{
 3634|    233|    PyObject *pname;
 3635|    233|    PyObject *result;
 3636|       |
 3637|    233|    pname = PyUnicode_FromString(name);
 3638|    233|    if (pname == NULL)
  ------------------
  |  Branch (3638:9): [True: 0, False: 233]
  ------------------
 3639|      0|        return NULL;
 3640|    233|    result = PyImport_Import(pname);
 3641|    233|    Py_DECREF(pname);
  ------------------
  |  |  430|    233|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    233|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    233|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3642|    233|    return result;
 3643|    233|}
_PyImport_GetAbsName:
 3962|   255k|{
 3963|   255k|    if (level > 0) {
  ------------------
  |  Branch (3963:9): [True: 12, False: 255k]
  ------------------
 3964|     12|        return resolve_name(tstate, name, globals, level);
 3965|     12|    }
 3966|   255k|    if (PyUnicode_GET_LENGTH(name) == 0) {
  ------------------
  |  |  300|   255k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   255k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   255k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3966:9): [True: 0, False: 255k]
  ------------------
 3967|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "Empty module name");
 3968|      0|        return NULL;
 3969|      0|    }
 3970|   255k|    return Py_NewRef(name);
  ------------------
  |  |  647|   255k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   255k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   255k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3971|   255k|}
PyImport_ImportModuleLevelObject:
 3978|   255k|{
 3979|   255k|    PyThreadState *tstate = _PyThreadState_GET();
 3980|   255k|    PyObject *abs_name = NULL;
 3981|   255k|    PyObject *final_mod = NULL;
 3982|   255k|    PyObject *mod = NULL;
 3983|   255k|    PyInterpreterState *interp = tstate->interp;
 3984|   255k|    int has_from;
 3985|       |
 3986|   255k|    if (name == NULL) {
  ------------------
  |  Branch (3986:9): [True: 0, False: 255k]
  ------------------
 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|   255k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|   255k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   255k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3994:9): [True: 0, False: 255k]
  ------------------
 3995|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 3996|      0|                         "module name must be a string");
 3997|      0|        goto error;
 3998|      0|    }
 3999|   255k|    if (level < 0) {
  ------------------
  |  Branch (3999:9): [True: 0, False: 255k]
  ------------------
 4000|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "level must be >= 0");
 4001|      0|        goto error;
 4002|      0|    }
 4003|       |
 4004|   255k|    abs_name = _PyImport_GetAbsName(tstate, name, globals, level);
 4005|   255k|    if (abs_name == NULL) {
  ------------------
  |  Branch (4005:9): [True: 0, False: 255k]
  ------------------
 4006|      0|        goto error;
 4007|      0|    }
 4008|       |
 4009|   255k|    mod = import_get_module(tstate, abs_name);
 4010|   255k|    if (mod == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4010:9): [True: 380, False: 255k]
  |  Branch (4010:24): [True: 0, False: 380]
  ------------------
 4011|      0|        goto error;
 4012|      0|    }
 4013|       |
 4014|   255k|    if (mod != NULL && mod != Py_None) {
  ------------------
  |  |  616|   255k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4014:9): [True: 255k, False: 380]
  |  Branch (4014:24): [True: 255k, False: 0]
  ------------------
 4015|   255k|        int initializing = import_ensure_initialized(tstate->interp, mod, abs_name);
 4016|   255k|        if (initializing < 0) {
  ------------------
  |  Branch (4016:13): [True: 0, False: 255k]
  ------------------
 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|   255k|        PyObject *mod_check = import_get_module(tstate, abs_name);
 4026|   255k|        if (mod_check != mod) {
  ------------------
  |  Branch (4026:13): [True: 0, False: 255k]
  ------------------
 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|   255k|        else {
 4038|   255k|            Py_DECREF(mod_check);
  ------------------
  |  |  430|   255k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   255k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   255k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4039|   255k|            if (!initializing &&
  ------------------
  |  Branch (4039:17): [True: 255k, False: 31]
  ------------------
 4040|   255k|                FT_ATOMIC_LOAD_INT_RELAXED(interp->imports.has_lazy_submodules) &&
  ------------------
  |  |  189|   510k|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (189:43): [True: 0, False: 255k]
  |  |  ------------------
  ------------------
 4041|      0|                _PyImport_ClearLazySubmodule(tstate, abs_name, 1) < 0) {
  ------------------
  |  Branch (4041:17): [True: 0, False: 0]
  ------------------
 4042|      0|                goto error;
 4043|      0|            }
 4044|   255k|        }
 4045|   255k|    }
 4046|    380|    else {
 4047|    380|        Py_XDECREF(mod);
  ------------------
  |  |  621|    380|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4048|    380|        mod = import_find_and_load(tstate, abs_name);
 4049|    380|        if (mod == NULL) {
  ------------------
  |  Branch (4049:13): [True: 225, False: 155]
  ------------------
 4050|    225|            goto error;
 4051|    225|        }
 4052|    380|    }
 4053|       |
 4054|   255k|    has_from = 0;
 4055|   255k|    if (fromlist != NULL && fromlist != Py_None) {
  ------------------
  |  |  616|   210k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4055:9): [True: 210k, False: 44.5k]
  |  Branch (4055:29): [True: 44.9k, False: 165k]
  ------------------
 4056|  44.9k|        has_from = PyObject_IsTrue(fromlist);
 4057|  44.9k|        if (has_from < 0)
  ------------------
  |  Branch (4057:13): [True: 0, False: 44.9k]
  ------------------
 4058|      0|            goto error;
 4059|  44.9k|    }
 4060|   255k|    if (!has_from) {
  ------------------
  |  Branch (4060:9): [True: 255k, False: 280]
  ------------------
 4061|   255k|        Py_ssize_t len = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  300|   255k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   255k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   255k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4062|   255k|        if (level == 0 || len > 0) {
  ------------------
  |  Branch (4062:13): [True: 255k, False: 0]
  |  Branch (4062:27): [True: 0, False: 0]
  ------------------
 4063|   255k|            Py_ssize_t dot;
 4064|       |
 4065|   255k|            dot = PyUnicode_FindChar(name, '.', 0, len, 1);
 4066|   255k|            if (dot == -2) {
  ------------------
  |  Branch (4066:17): [True: 0, False: 255k]
  ------------------
 4067|      0|                goto error;
 4068|      0|            }
 4069|       |
 4070|   255k|            if (dot == -1) {
  ------------------
  |  Branch (4070:17): [True: 255k, False: 5]
  ------------------
 4071|       |                /* No dot in module name, simple exit */
 4072|   255k|                final_mod = Py_NewRef(mod);
  ------------------
  |  |  647|   255k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   255k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   255k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4073|   255k|                goto error;
 4074|   255k|            }
 4075|       |
 4076|      5|            if (level == 0) {
  ------------------
  |  Branch (4076:17): [True: 5, False: 0]
  ------------------
 4077|      5|                PyObject *front = PyUnicode_Substring(name, 0, dot);
 4078|      5|                if (front == NULL) {
  ------------------
  |  Branch (4078:21): [True: 0, False: 5]
  ------------------
 4079|      0|                    goto error;
 4080|      0|                }
 4081|       |
 4082|      5|                final_mod = PyImport_ImportModuleLevelObject(front, NULL, NULL, NULL, 0);
 4083|      5|                Py_DECREF(front);
  ------------------
  |  |  430|      5|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4084|      5|            }
 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|      5|        }
 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|   255k|    }
 4112|    280|    else {
 4113|    280|        int has_path = PyObject_HasAttrWithError(mod, &_Py_ID(__path__));
  ------------------
  |  |  951|    280|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    280|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    280|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4114|    280|        if (has_path < 0) {
  ------------------
  |  Branch (4114:13): [True: 0, False: 280]
  ------------------
 4115|      0|            goto error;
 4116|      0|        }
 4117|    280|        if (has_path) {
  ------------------
  |  Branch (4117:13): [True: 8, False: 272]
  ------------------
 4118|      8|            final_mod = PyObject_CallMethodObjArgs(
 4119|      8|                        IMPORTLIB(interp), &_Py_ID(_handle_fromlist),
  ------------------
  |  |   96|      8|    (interp)->imports.importlib
  ------------------
                                      IMPORTLIB(interp), &_Py_ID(_handle_fromlist),
  ------------------
  |  |  951|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4120|      8|                        mod, fromlist, IMPORT_FUNC(interp), NULL);
  ------------------
  |  |  106|      8|    (interp)->imports.import_func
  ------------------
 4121|      8|        }
 4122|    272|        else {
 4123|    272|            final_mod = Py_NewRef(mod);
  ------------------
  |  |  647|    272|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    272|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    272|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4124|    272|        }
 4125|    280|    }
 4126|       |
 4127|   255k|  error:
 4128|   255k|    Py_XDECREF(abs_name);
  ------------------
  |  |  621|   255k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   255k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   255k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4129|   255k|    Py_XDECREF(mod);
  ------------------
  |  |  621|   255k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   255k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   255k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4130|   255k|    if (final_mod == NULL) {
  ------------------
  |  Branch (4130:9): [True: 225, False: 255k]
  ------------------
 4131|    225|        remove_importlib_frames(tstate);
 4132|    225|    }
 4133|   255k|    return final_mod;
 4134|   255k|}
_PyImport_ClearLazySubmodule:
 4285|    155|{
 4286|    155|    if (LAZY_PENDING_SUBMODULES(tstate->interp) == NULL ||
  ------------------
  |  |   94|    155|    (interp)->imports.lazy_pending_submodules
  ------------------
  |  Branch (4286:9): [True: 0, False: 155]
  ------------------
 4287|    155|        PyDict_GET_SIZE(LAZY_PENDING_SUBMODULES(tstate->interp)) == 0) {
  ------------------
  |  |   63|    155|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    155|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    155|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4287:9): [True: 51, False: 104]
  ------------------
 4288|     51|        return 0;
 4289|     51|    }
 4290|    104|    Py_ssize_t end = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  300|    104|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4291|    104|    Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0, end, -1);
 4292|    104|    if (dot < 0) {
  ------------------
  |  Branch (4292:9): [True: 36, False: 68]
  ------------------
 4293|     36|        return dot == -2 ? -1 : 0;
  ------------------
  |  Branch (4293:16): [True: 0, False: 36]
  ------------------
 4294|     36|    }
 4295|     68|    PyObject *parent = PyUnicode_Substring(name, 0, dot);
 4296|     68|    PyObject *child = PyUnicode_Substring(name, dot + 1, end);
 4297|     68|    PyObject *pending = NULL;
 4298|     68|    int rc = -1;
 4299|     68|    if (parent != NULL && child != NULL) {
  ------------------
  |  Branch (4299:9): [True: 68, False: 0]
  |  Branch (4299:27): [True: 68, False: 0]
  ------------------
 4300|     68|        rc = PyDict_GetItemRef(LAZY_PENDING_SUBMODULES(tstate->interp),
  ------------------
  |  |   94|     68|    (interp)->imports.lazy_pending_submodules
  ------------------
 4301|     68|                              parent, &pending);
 4302|     68|        if (rc > 0) {
  ------------------
  |  Branch (4302:13): [True: 0, False: 68]
  ------------------
 4303|      0|            rc = PyDict_Contains(pending, child);
 4304|      0|        }
 4305|     68|        if (rc > 0) {
  ------------------
  |  Branch (4305:13): [True: 0, False: 68]
  ------------------
 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|     68|    }
 4345|     68|done:
 4346|     68|    Py_XDECREF(pending);
  ------------------
  |  |  621|     68|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4347|     68|    Py_XDECREF(parent);
  ------------------
  |  |  621|     68|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4348|     68|    Py_XDECREF(child);
  ------------------
  |  |  621|     68|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4349|     68|    return rc < 0 ? -1 : 0;
  ------------------
  |  Branch (4349:12): [True: 0, False: 68]
  ------------------
 4350|     68|}
_PyImport_TryLoadLazySubmodule:
 4361|    759|{
 4362|    759|    *recheck_dict = 0;
 4363|    759|    PyObject *mod_dict = _PyModule_GetDict(module);
 4364|    759|    PyObject *mod_name;
 4365|    759|    if (PyDict_GetItemRef(mod_dict, &_Py_ID(__name__), &mod_name) <= 0) {
  ------------------
  |  |  951|    759|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    759|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    759|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4365:9): [True: 0, False: 759]
  ------------------
 4366|      0|        return NULL;
 4367|      0|    }
 4368|    759|    PyObject *mod = NULL, *pending_set = NULL, *source = NULL;
 4369|    759|    if (!PyUnicode_Check(mod_name)) {
  ------------------
  |  |  103|    759|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    759|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4369:9): [True: 0, False: 759]
  ------------------
 4370|      0|        goto done;
 4371|      0|    }
 4372|    759|    PyThreadState *tstate = _PyThreadState_GET();
 4373|    759|    PyObject *lazy_pending = LAZY_PENDING_SUBMODULES(tstate->interp);
  ------------------
  |  |   94|    759|    (interp)->imports.lazy_pending_submodules
  ------------------
 4374|    759|    if (lazy_pending == NULL ||
  ------------------
  |  Branch (4374:9): [True: 0, False: 759]
  ------------------
 4375|    759|        PyDict_GetItemRef(lazy_pending, mod_name, &pending_set) <= 0) {
  ------------------
  |  Branch (4375:9): [True: 759, False: 0]
  ------------------
 4376|    759|        goto done;
 4377|    759|    }
 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|    759|done:
 4434|    759|    Py_XDECREF(source);
  ------------------
  |  |  621|    759|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    759|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    759|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4435|    759|    Py_XDECREF(pending_set);
  ------------------
  |  |  621|    759|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    759|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    759|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4436|    759|    Py_DECREF(mod_name);
  ------------------
  |  |  430|    759|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    759|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    759|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4437|    759|    return mod;
 4438|      0|}
_PyImport_LazyImportModuleLevelObject:
 4445|     13|{
 4446|     13|    assert(name != NULL);
  ------------------
  |  Branch (4446:5): [True: 13, False: 0]
  ------------------
 4447|     13|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|     13|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     13|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4447:9): [True: 0, False: 13]
  ------------------
 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|     13|    if (level < 0) {
  ------------------
  |  Branch (4452:9): [True: 0, False: 13]
  ------------------
 4453|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "level must be >= 0");
 4454|      0|        return NULL;
 4455|      0|    }
 4456|       |
 4457|     13|    PyObject *abs_name = _PyImport_GetAbsName(tstate, name, globals, level);
 4458|     13|    if (abs_name == NULL) {
  ------------------
  |  Branch (4458:9): [True: 0, False: 13]
  ------------------
 4459|      0|        return NULL;
 4460|      0|    }
 4461|       |
 4462|     13|    _PyInterpreterFrame *frame = _PyEval_GetFrame();
 4463|     13|    if (frame == NULL || frame->f_globals != frame->f_locals) {
  ------------------
  |  Branch (4463:9): [True: 0, False: 13]
  |  Branch (4463:26): [True: 0, False: 13]
  ------------------
 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|     13|    PyObject *res = NULL;
 4471|     13|    PyObject *existing_module = NULL;
 4472|       |
 4473|     13|    if (fromlist != NULL && PyUnicode_Check(fromlist)) {
  ------------------
  |  |  103|     13|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     13|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 13]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4473:9): [True: 13, 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|     13|    else {
 4480|     13|        fromlist = Py_NewRef(fromlist != NULL ? fromlist : Py_None);
  ------------------
  |  |  647|     13|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 13, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4481|     13|    }
 4482|       |
 4483|       |    // Check if the filter disables the lazy import.
 4484|     13|    PyObject *filter = PyImport_GetLazyImportsFilter();
 4485|       |
 4486|     13|    if (filter != NULL) {
  ------------------
  |  Branch (4486:9): [True: 0, False: 13]
  ------------------
 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|     13|    if (PyTuple_Check(fromlist)) {
  ------------------
  |  |   27|     13|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     13|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|     13|    res = _PyLazyImport_New(frame, builtins, abs_name, fromlist);
 4533|     13|    if (res == NULL) {
  ------------------
  |  Branch (4533:9): [True: 0, False: 13]
  ------------------
 4534|      0|        goto done;
 4535|      0|    }
 4536|       |
 4537|     13|    if (lazy_modules_add(tstate, abs_name, &existing_module) < 0) {
  ------------------
  |  Branch (4537:9): [True: 0, False: 13]
  ------------------
 4538|      0|        goto error;
 4539|      0|    }
 4540|       |
 4541|     13|    if (PyTuple_Check(fromlist) && PyTuple_GET_SIZE(fromlist)) {
  ------------------
  |  |   27|     13|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     26|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  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|     11|    else if (register_lazy_on_parent(tstate, abs_name, res) < 0) {
  ------------------
  |  Branch (4550:14): [True: 0, False: 11]
  ------------------
 4551|      0|        goto error;
 4552|      0|    }
 4553|       |
 4554|     13|    goto done;
 4555|     13|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|     13|done:
 4558|     13|    Py_XDECREF(fromlist);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4559|     13|    Py_DECREF(abs_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4560|     13|    Py_XDECREF(existing_module);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4561|     13|    return res;
 4562|      0|}
PyImport_ImportModuleLevel:
 4567|  44.5k|{
 4568|  44.5k|    PyObject *nameobj, *mod;
 4569|  44.5k|    nameobj = PyUnicode_FromString(name);
 4570|  44.5k|    if (nameobj == NULL)
  ------------------
  |  Branch (4570:9): [True: 0, False: 44.5k]
  ------------------
 4571|      0|        return NULL;
 4572|  44.5k|    mod = PyImport_ImportModuleLevelObject(nameobj, globals, locals,
 4573|  44.5k|                                           fromlist, level);
 4574|  44.5k|    Py_DECREF(nameobj);
  ------------------
  |  |  430|  44.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4575|  44.5k|    return mod;
 4576|  44.5k|}
PyImport_Import:
 4615|  44.6k|{
 4616|  44.6k|    PyThreadState *tstate = _PyThreadState_GET();
 4617|  44.6k|    PyObject *globals = NULL;
 4618|  44.6k|    PyObject *import = NULL;
 4619|  44.6k|    PyObject *builtins = NULL;
 4620|  44.6k|    PyObject *r = NULL;
 4621|       |
 4622|  44.6k|    PyObject *from_list = PyList_New(0);
 4623|  44.6k|    if (from_list == NULL) {
  ------------------
  |  Branch (4623:9): [True: 0, False: 44.6k]
  ------------------
 4624|      0|        goto err;
 4625|      0|    }
 4626|       |
 4627|       |    /* Get the builtins from current globals */
 4628|  44.6k|    globals = PyEval_GetGlobals();  // borrowed
 4629|  44.6k|    if (globals != NULL) {
  ------------------
  |  Branch (4629:9): [True: 114, False: 44.5k]
  ------------------
 4630|    114|        Py_INCREF(globals);
  ------------------
  |  |  310|    114|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4631|       |        // XXX Use _PyEval_EnsureBuiltins()?
 4632|    114|        builtins = PyObject_GetItem(globals, &_Py_ID(__builtins__));
  ------------------
  |  |  951|    114|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    114|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    114|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4633|    114|        if (builtins == NULL) {
  ------------------
  |  Branch (4633:13): [True: 0, False: 114]
  ------------------
 4634|       |            // XXX Fall back to interp->builtins or sys.modules['builtins']?
 4635|      0|            goto err;
 4636|      0|        }
 4637|    114|    }
 4638|  44.5k|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4638:14): [True: 0, False: 44.5k]
  ------------------
 4639|      0|        goto err;
 4640|      0|    }
 4641|  44.5k|    else {
 4642|       |        /* No globals -- use standard builtins, and fake globals */
 4643|  44.5k|        globals = PyDict_New();
 4644|  44.5k|        if (globals == NULL) {
  ------------------
  |  Branch (4644:13): [True: 0, False: 44.5k]
  ------------------
 4645|      0|            goto err;
 4646|      0|        }
 4647|  44.5k|        if (_PyEval_EnsureBuiltinsWithModule(tstate, globals, &builtins) < 0) {
  ------------------
  |  Branch (4647:13): [True: 0, False: 44.5k]
  ------------------
 4648|      0|            goto err;
 4649|      0|        }
 4650|  44.5k|    }
 4651|       |
 4652|       |    /* Get the __import__ function from the builtins */
 4653|  44.6k|    if (PyDict_Check(builtins)) {
  ------------------
  |  |   18|  44.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  44.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 114, False: 44.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4654|    114|        import = PyObject_GetItem(builtins, &_Py_ID(__import__));
  ------------------
  |  |  951|    114|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    114|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    114|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4655|    114|        if (import == NULL) {
  ------------------
  |  Branch (4655:13): [True: 0, False: 114]
  ------------------
 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|    114|    }
 4659|  44.5k|    else
 4660|  44.5k|        import = PyObject_GetAttr(builtins, &_Py_ID(__import__));
  ------------------
  |  |  951|  44.5k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  44.5k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  44.5k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4661|  44.6k|    if (import == NULL)
  ------------------
  |  Branch (4661:9): [True: 0, False: 44.6k]
  ------------------
 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|  44.6k|    r = PyObject_CallFunction(import, "OOOOi", module_name, globals,
 4668|  44.6k|                              globals, from_list, 0, NULL);
 4669|  44.6k|    if (r == NULL)
  ------------------
  |  Branch (4669:9): [True: 0, False: 44.6k]
  ------------------
 4670|      0|        goto err;
 4671|  44.6k|    Py_DECREF(r);
  ------------------
  |  |  430|  44.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4672|       |
 4673|  44.6k|    r = import_get_module(tstate, module_name);
 4674|  44.6k|    if (r == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4674:9): [True: 0, False: 44.6k]
  |  Branch (4674:22): [True: 0, False: 0]
  ------------------
 4675|      0|        _PyErr_SetObject(tstate, PyExc_KeyError, module_name);
 4676|      0|    }
 4677|       |
 4678|  44.6k|  err:
 4679|  44.6k|    Py_XDECREF(globals);
  ------------------
  |  |  621|  44.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4680|  44.6k|    Py_XDECREF(builtins);
  ------------------
  |  |  621|  44.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4681|  44.6k|    Py_XDECREF(import);
  ------------------
  |  |  621|  44.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4682|  44.6k|    Py_XDECREF(from_list);
  ------------------
  |  |  621|  44.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4683|       |
 4684|  44.6k|    return r;
 4685|  44.6k|}
_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|  2.96k|{
 4882|  2.96k|    PyObject *mod = PyImport_Import(modname);
 4883|  2.96k|    if (mod == NULL) {
  ------------------
  |  Branch (4883:9): [True: 0, False: 2.96k]
  ------------------
 4884|      0|        return NULL;
 4885|      0|    }
 4886|  2.96k|    PyObject *result = PyObject_GetAttr(mod, attrname);
 4887|  2.96k|    Py_DECREF(mod);
  ------------------
  |  |  430|  2.96k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4888|  2.96k|    return result;
 4889|  2.96k|}
PyImport_ImportModuleAttrString:
 4893|  2.96k|{
 4894|  2.96k|    PyObject *pmodname = PyUnicode_FromString(modname);
 4895|  2.96k|    if (pmodname == NULL) {
  ------------------
  |  Branch (4895:9): [True: 0, False: 2.96k]
  ------------------
 4896|      0|        return NULL;
 4897|      0|    }
 4898|  2.96k|    PyObject *pattrname = PyUnicode_FromString(attrname);
 4899|  2.96k|    if (pattrname == NULL) {
  ------------------
  |  Branch (4899:9): [True: 0, False: 2.96k]
  ------------------
 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|  2.96k|    PyObject *result = PyImport_ImportModuleAttr(pmodname, pattrname);
 4904|  2.96k|    Py_DECREF(pattrname);
  ------------------
  |  |  430|  2.96k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4905|  2.96k|    Py_DECREF(pmodname);
  ------------------
  |  |  430|  2.96k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4906|  2.96k|    return result;
 4907|  2.96k|}
PyImport_GetLazyImportsFilter:
 4937|     13|{
 4938|     13|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4939|     13|    LAZY_IMPORTS_LOCK(interp);
 4940|     13|    PyObject *res = Py_XNewRef(LAZY_IMPORTS_FILTER(interp));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4941|     13|    LAZY_IMPORTS_UNLOCK(interp);
 4942|     13|    return res;
 4943|     13|}
PyImport_GetLazyImportsMode:
 4957|    284|{
 4958|    284|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4959|    284|    return FT_ATOMIC_LOAD_INT_RELAXED(LAZY_IMPORTS_MODE(interp));
  ------------------
  |  |  189|    284|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
 4960|    284|}
PyInit__imp:
 5639|      2|{
 5640|      2|    return PyModuleDef_Init(&imp_module);
 5641|      2|}
import.c:get_modules_dict:
  213|   804k|{
  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|   804k|    PyObject *modules = MODULES(tstate->interp);
  ------------------
  |  |   88|   804k|    (interp)->imports.modules
  ------------------
  220|   804k|    if (modules == NULL) {
  ------------------
  |  Branch (220:9): [True: 0, False: 804k]
  ------------------
  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|   804k|    return modules;
  229|   804k|}
import.c:import_get_module:
  256|   804k|{
  257|   804k|    PyObject *modules = get_modules_dict(tstate, false);
  258|   804k|    if (modules == NULL) {
  ------------------
  |  Branch (258:9): [True: 0, False: 804k]
  ------------------
  259|      0|        return NULL;
  260|      0|    }
  261|       |
  262|   804k|    PyObject *m;
  263|   804k|    Py_INCREF(modules);
  ------------------
  |  |  310|   804k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   804k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   804k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  264|   804k|    (void)PyMapping_GetOptionalItem(modules, name, &m);
  265|   804k|    Py_DECREF(modules);
  ------------------
  |  |  430|   804k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   804k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   804k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  266|   804k|    return m;
  267|   804k|}
import.c:import_ensure_initialized:
  312|   379k|{
  313|   379k|    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|   379k|    int rc = PyObject_GetOptionalAttr(mod, &_Py_ID(__spec__), &spec);
  ------------------
  |  |  951|   379k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   379k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   379k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  321|   379k|    if (rc > 0) {
  ------------------
  |  Branch (321:9): [True: 379k, False: 0]
  ------------------
  322|   379k|        rc = _PyModuleSpec_IsInitializing(spec);
  323|   379k|        Py_DECREF(spec);
  ------------------
  |  |  430|   379k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   379k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   379k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  324|   379k|    }
  325|   379k|    if (rc == 0) {
  ------------------
  |  Branch (325:9): [True: 379k, False: 31]
  ------------------
  326|   379k|        goto done;
  327|   379k|    }
  328|     31|    else if (rc < 0) {
  ------------------
  |  Branch (328:14): [True: 0, False: 31]
  ------------------
  329|      0|        return rc;
  330|      0|    }
  331|       |
  332|       |    /* Wait until module is done importing. */
  333|     31|    PyObject *value = PyObject_CallMethodOneArg(
  334|     31|        IMPORTLIB(interp), &_Py_ID(_lock_unlock_module), name);
  ------------------
  |  |   96|     31|    (interp)->imports.importlib
  ------------------
                      IMPORTLIB(interp), &_Py_ID(_lock_unlock_module), name);
  ------------------
  |  |  951|     31|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     31|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     31|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  335|     31|    if (value == NULL) {
  ------------------
  |  Branch (335:9): [True: 0, False: 31]
  ------------------
  336|      0|        return -1;
  337|      0|    }
  338|     31|    Py_DECREF(value);
  ------------------
  |  |  430|     31|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  339|       |
  340|   379k|done:
  341|       |    /* When -X importtime=2, print an import time entry even if an
  342|       |       imported module has already been loaded.
  343|       |     */
  344|   379k|    if (_PyInterpreterState_GetConfig(interp)->import_time == 2) {
  ------------------
  |  Branch (344:9): [True: 0, False: 379k]
  ------------------
  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|   379k|    return rc;
  356|     31|}
import.c:import_add_module:
  425|     10|{
  426|     10|    PyObject *modules = get_modules_dict(tstate, false);
  427|     10|    if (modules == NULL) {
  ------------------
  |  Branch (427:9): [True: 0, False: 10]
  ------------------
  428|      0|        return NULL;
  429|      0|    }
  430|       |
  431|     10|    PyObject *m;
  432|     10|    Py_BEGIN_CRITICAL_SECTION(modules);
  ------------------
  |  |   51|     10|    {
  ------------------
  433|     10|    m = import_add_module_lock_held(modules, name);
  434|     10|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     10|    }
  ------------------
  435|     10|    return m;
  436|     10|}
import.c:import_add_module_lock_held:
  403|     10|{
  404|     10|    PyObject *m;
  405|     10|    if (PyMapping_GetOptionalItem(modules, name, &m) < 0) {
  ------------------
  |  Branch (405:9): [True: 0, False: 10]
  ------------------
  406|      0|        return NULL;
  407|      0|    }
  408|     10|    if (m != NULL && PyModule_Check(m)) {
  ------------------
  |  |   12|      4|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      4|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (408:9): [True: 4, False: 6]
  ------------------
  409|      4|        return m;
  410|      4|    }
  411|      6|    Py_XDECREF(m);
  ------------------
  |  |  621|      6|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|      6|    m = PyModule_NewObject(name);
  413|      6|    if (m == NULL)
  ------------------
  |  Branch (413:9): [True: 0, False: 6]
  ------------------
  414|      0|        return NULL;
  415|      6|    if (PyObject_SetItem(modules, name, m) != 0) {
  ------------------
  |  Branch (415:9): [True: 0, False: 6]
  ------------------
  416|      0|        Py_DECREF(m);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  417|      0|        return NULL;
  418|      0|    }
  419|       |
  420|      6|    return m;
  421|      6|}
import.c:_get_cached_module_index:
 1147|      4|{
 1148|      4|    assert(cached->m_index > 0);
  ------------------
  |  Branch (1148:5): [True: 4, False: 0]
  ------------------
 1149|      4|    return cached->m_index;
 1150|      4|}
import.c:_modules_by_index_set:
  603|      4|{
  604|      4|    assert(index > 0);
  ------------------
  |  Branch (604:5): [True: 4, False: 0]
  ------------------
  605|       |
  606|      4|    if (MODULES_BY_INDEX(interp) == NULL) {
  ------------------
  |  |   90|      4|    (interp)->imports.modules_by_index
  ------------------
  |  Branch (606:9): [True: 2, False: 2]
  ------------------
  607|      2|        MODULES_BY_INDEX(interp) = PyList_New(0);
  ------------------
  |  |   90|      2|    (interp)->imports.modules_by_index
  ------------------
  608|      2|        if (MODULES_BY_INDEX(interp) == NULL) {
  ------------------
  |  |   90|      2|    (interp)->imports.modules_by_index
  ------------------
  |  Branch (608:13): [True: 0, False: 2]
  ------------------
  609|      0|            return -1;
  610|      0|        }
  611|      2|    }
  612|       |
  613|     14|    while (PyList_GET_SIZE(MODULES_BY_INDEX(interp)) <= index) {
  ------------------
  |  |   38|     14|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (613:12): [True: 10, False: 4]
  ------------------
  614|     10|        if (PyList_Append(MODULES_BY_INDEX(interp), Py_None) < 0) {
  ------------------
  |  |   90|     10|    (interp)->imports.modules_by_index
  ------------------
                      if (PyList_Append(MODULES_BY_INDEX(interp), Py_None) < 0) {
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (614:13): [True: 0, False: 10]
  ------------------
  615|      0|            return -1;
  616|      0|        }
  617|     10|    }
  618|       |
  619|      4|    return PyList_SetItem(MODULES_BY_INDEX(interp), index, Py_NewRef(module));
  ------------------
  |  |   90|      4|    (interp)->imports.modules_by_index
  ------------------
                  return PyList_SetItem(MODULES_BY_INDEX(interp), index, Py_NewRef(module));
  ------------------
  |  |  647|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  620|      4|}
import.c:switch_to_main_interpreter:
 1691|     43|{
 1692|     43|    if (_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (1692:9): [True: 43, False: 0]
  ------------------
 1693|     43|        return tstate;
 1694|     43|    }
 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|     55|{
 1061|     55|    PyMutex_Lock(&_PyRuntime.imports.extensions.mutex);
  ------------------
  |  |   59|     55|#define PyMutex_Lock _PyMutex_Lock
  ------------------
 1062|     55|}
import.c:_extensions_cache_find_unlocked:
 1409|     55|{
 1410|     55|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   80|     55|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1410:9): [True: 4, False: 51]
  ------------------
 1411|      4|        return NULL;
 1412|      4|    }
 1413|     51|    void *key = hashtable_key_from_2_strings(path, name, HTSEP);
  ------------------
  |  | 1386|     51|#define HTSEP ':'
  ------------------
 1414|     51|    if (key == NULL) {
  ------------------
  |  Branch (1414:9): [True: 0, False: 51]
  ------------------
 1415|      0|        return NULL;
 1416|      0|    }
 1417|     51|    _Py_hashtable_entry_t *entry =
 1418|     51|            _Py_hashtable_get_entry(EXTENSIONS.hashtable, key);
  ------------------
  |  |   80|     51|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
 1419|     51|    if (p_key != NULL) {
  ------------------
  |  Branch (1419:9): [True: 4, False: 47]
  ------------------
 1420|      4|        *p_key = key;
 1421|      4|    }
 1422|     47|    else {
 1423|     47|        hashtable_destroy_str(key);
 1424|     47|    }
 1425|     51|    return entry;
 1426|     51|}
import.c:hashtable_key_from_2_strings:
 1305|     51|{
 1306|     51|    const char *str1_data = _PyUnicode_AsUTF8NoNUL(str1);
 1307|     51|    const char *str2_data = _PyUnicode_AsUTF8NoNUL(str2);
 1308|     51|    if (str1_data == NULL || str2_data == NULL) {
  ------------------
  |  Branch (1308:9): [True: 0, False: 51]
  |  Branch (1308:30): [True: 0, False: 51]
  ------------------
 1309|      0|        return NULL;
 1310|      0|    }
 1311|     51|    Py_ssize_t str1_len = strlen(str1_data);
 1312|     51|    Py_ssize_t str2_len = strlen(str2_data);
 1313|       |
 1314|       |    /* Make sure sep and the NULL byte won't cause an overflow. */
 1315|     51|    assert(SIZE_MAX - str1_len - str2_len > 2);
  ------------------
  |  Branch (1315:5): [True: 51, False: 0]
  ------------------
 1316|     51|    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|     51|    char *key = PyMem_RawMalloc(size);
 1320|     51|    if (key == NULL) {
  ------------------
  |  Branch (1320:9): [True: 0, False: 51]
  ------------------
 1321|      0|        PyErr_NoMemory();
 1322|      0|        return NULL;
 1323|      0|    }
 1324|       |
 1325|     51|    memcpy(key, str1_data, str1_len);
 1326|     51|    key[str1_len] = sep;
 1327|     51|    memcpy(key + str1_len + 1, str2_data, str2_len);
 1328|     51|    key[size - 1] = '\0';
 1329|     51|    assert(strlen(key) == size - 1);
  ------------------
  |  Branch (1329:5): [True: 51, False: 0]
  ------------------
 1330|     51|    return key;
 1331|     51|}
import.c:hashtable_destroy_str:
 1347|     47|{
 1348|     47|    PyMem_RawFree(ptr);
 1349|     47|}
import.c:extensions_lock_release:
 1066|     55|{
 1067|     55|    PyMutex_Unlock(&_PyRuntime.imports.extensions.mutex);
  ------------------
  |  |   70|     55|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
 1068|     55|}
import.c:is_core_module:
 1760|     51|{
 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|     51|    if (path == name) {
  ------------------
  |  Branch (1763:9): [True: 41, False: 10]
  ------------------
 1764|     41|        if (PyUnicode_CompareWithASCIIString(name, "sys") == 0) {
  ------------------
  |  Branch (1764:13): [True: 4, False: 37]
  ------------------
 1765|      4|            return 1;
 1766|      4|        }
 1767|     37|        if (PyUnicode_CompareWithASCIIString(name, "builtins") == 0) {
  ------------------
  |  Branch (1767:13): [True: 4, False: 33]
  ------------------
 1768|      4|            return 1;
 1769|      4|        }
 1770|     37|    }
 1771|     43|    return 0;
 1772|     51|}
import.c:_get_extension_kind:
 1777|     47|{
 1778|     47|    _Py_ext_module_kind kind;
 1779|     47|    if (def == NULL) {
  ------------------
  |  Branch (1779:9): [True: 0, False: 47]
  ------------------
 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|     47|    else if (def->m_slots != NULL) {
  ------------------
  |  Branch (1784:14): [True: 43, False: 4]
  ------------------
 1785|     43|        kind = _Py_ext_module_kind_MULTIPHASE;
 1786|     43|    }
 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|     47|    return kind;
 1799|     47|}
import.c:_extensions_cache_get:
 1431|     51|{
 1432|     51|    struct extensions_cache_value *value = NULL;
 1433|     51|    extensions_lock_acquire();
 1434|       |
 1435|     51|    _Py_hashtable_entry_t *entry =
 1436|     51|            _extensions_cache_find_unlocked(path, name, NULL);
 1437|     51|    if (entry == NULL) {
  ------------------
  |  Branch (1437:9): [True: 51, False: 0]
  ------------------
 1438|       |        /* It was never added. */
 1439|     51|        goto finally;
 1440|     51|    }
 1441|      0|    value = (struct extensions_cache_value *)entry->value;
 1442|       |
 1443|     51|finally:
 1444|     51|    extensions_lock_release();
 1445|     51|    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|     59|{
 1336|     59|    return Py_HashBuffer(key, strlen((const char *)key));
 1337|     59|}
import.c:alloc_extensions_cache_value:
 1128|      4|{
 1129|      4|    struct extensions_cache_value *value
 1130|      4|            = PyMem_RawMalloc(sizeof(struct extensions_cache_value));
 1131|      4|    if (value == NULL) {
  ------------------
  |  Branch (1131:9): [True: 0, False: 4]
  ------------------
 1132|      0|        PyErr_NoMemory();
 1133|      0|        return NULL;
 1134|      0|    }
 1135|      4|    *value = (struct extensions_cache_value){0};
 1136|      4|    return value;
 1137|      4|}
import.c:init_cached_m_dict:
 1215|      4|{
 1216|      4|    assert(value != NULL);
  ------------------
  |  Branch (1216:5): [True: 4, False: 0]
  ------------------
 1217|       |    /* This should only have been called without an m_dict already set. */
 1218|      4|    assert(value->m_dict == NULL);
  ------------------
  |  Branch (1218:5): [True: 4, False: 0]
  ------------------
 1219|      4|    if (m_dict == NULL) {
  ------------------
  |  Branch (1219:9): [True: 4, False: 0]
  ------------------
 1220|      4|        return 0;
 1221|      4|    }
 1222|      4|    assert(PyDict_Check(m_dict));
  ------------------
  |  Branch (1222:5): [True: 0, False: 0]
  ------------------
 1223|      0|    assert(value->origin != _Py_ext_module_origin_CORE);
  ------------------
  |  Branch (1223:5): [True: 0, False: 0]
  ------------------
 1224|       |
 1225|      0|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1226|      0|    assert(!is_interpreter_isolated(interp));
  ------------------
  |  Branch (1226:5): [True: 0, False: 0]
  ------------------
 1227|       |
 1228|       |    /* XXX gh-88216: The copied dict is owned by the current
 1229|       |     * interpreter.  That's a problem if the interpreter has
 1230|       |     * its own obmalloc state or if the module is successfully
 1231|       |     * imported into such an interpreter.  If the interpreter
 1232|       |     * has its own GIL then there may be data races and
 1233|       |     * PyImport_ClearModulesByIndex() can crash.  Normally,
 1234|       |     * a single-phase init module cannot be imported in an
 1235|       |     * isolated interpreter, but there are ways around that.
 1236|       |     * Hence, heere be dragons!  Ideally we would instead do
 1237|       |     * something like make a read-only, immortal copy of the
 1238|       |     * dict using PyMem_RawMalloc() and store *that* in m_copy.
 1239|       |     * Then we'd need to make sure to clear that when the
 1240|       |     * runtime is finalized, rather than in
 1241|       |     * PyImport_ClearModulesByIndex(). */
 1242|      0|    PyObject *copied = PyDict_Copy(m_dict);
 1243|      0|    if (copied == NULL) {
  ------------------
  |  Branch (1243:9): [True: 0, False: 0]
  ------------------
 1244|       |        /* We expect this can only be "out of memory". */
 1245|      0|        return -1;
 1246|      0|    }
 1247|       |    // XXX We may want to make the copy immortal.
 1248|       |
 1249|      0|    value->_m_dict = (struct cached_m_dict){
 1250|      0|        .copied=copied,
 1251|      0|        .interpid=PyInterpreterState_GetID(interp),
 1252|      0|    };
 1253|       |
 1254|      0|    value->m_dict = &value->_m_dict;
 1255|      0|    return 0;
 1256|      0|}
import.c:fixup_cached_def:
 1154|      4|{
 1155|       |    /* For the moment, the values in the def's m_base may belong
 1156|       |     * to another module, and we're replacing them here.  This can
 1157|       |     * cause problems later if the old module is reloaded.
 1158|       |     *
 1159|       |     * Also, we don't decref any old cached values first when we
 1160|       |     * replace them here, in case we need to restore them in the
 1161|       |     * near future.  Instead, the caller is responsible for wrapping
 1162|       |     * this up by calling cleanup_old_cached_def() or
 1163|       |     * restore_old_cached_def() if there was an error. */
 1164|      4|    PyModuleDef *def = value->def;
 1165|      4|    assert(def != NULL);
  ------------------
  |  Branch (1165:5): [True: 4, False: 0]
  ------------------
 1166|       |
 1167|       |    /* We assume that all module defs are statically allocated
 1168|       |       and will never be freed.  Otherwise, we would incref here. */
 1169|      4|    _Py_SetImmortalUntracked((PyObject *)def);
 1170|       |
 1171|      4|    def->m_base.m_init = value->m_init;
 1172|       |
 1173|      4|    assert(value->m_index > 0);
  ------------------
  |  Branch (1173:5): [True: 4, False: 0]
  ------------------
 1174|      4|    _set_module_index(def, value->m_index);
 1175|       |
 1176|       |    /* Different modules can share the same def, so we can't just
 1177|       |     * expect m_copy to be NULL. */
 1178|      4|    assert(def->m_base.m_copy == NULL
  ------------------
  |  Branch (1178:5): [True: 4, False: 0]
  |  Branch (1178:5): [True: 0, False: 0]
  |  Branch (1178:5): [True: 0, False: 0]
  ------------------
 1179|      4|           || def->m_base.m_init == NULL
 1180|      4|           || value->m_dict != NULL);
 1181|      4|    if (value->m_dict != NULL) {
  ------------------
  |  Branch (1181:9): [True: 0, False: 4]
  ------------------
 1182|      0|        assert(value->m_dict->copied != NULL);
  ------------------
  |  Branch (1182:9): [True: 0, False: 0]
  ------------------
 1183|       |        /* As noted above, we don't first decref the old value, if any. */
 1184|      0|        def->m_base.m_copy = Py_NewRef(value->m_dict->copied);
  ------------------
  |  |  647|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1185|      0|    }
 1186|      4|}
import.c:_set_module_index:
  556|      4|{
  557|      4|    assert(index > 0);
  ------------------
  |  Branch (557:5): [True: 4, False: 0]
  ------------------
  558|      4|    if (index == def->m_base.m_index) {
  ------------------
  |  Branch (558:9): [True: 4, False: 0]
  ------------------
  559|       |        /* There's nothing to do. */
  560|      4|    }
  561|      0|    else if (def->m_base.m_index == 0) {
  ------------------
  |  Branch (561:14): [True: 0, False: 0]
  ------------------
  562|       |        /* It should have been initialized by PyModuleDef_Init().
  563|       |         * We assert here to catch this in dev, but keep going otherwise. */
  564|      0|        assert(def->m_base.m_index != 0);
  ------------------
  |  Branch (564:9): [True: 0, False: 0]
  ------------------
  565|      0|        def->m_base.m_index = index;
  566|      0|    }
  567|      0|    else {
  568|       |        /* It was already set for a different module.
  569|       |         * We replace the old value. */
  570|      0|        assert(def->m_base.m_index > 0);
  ------------------
  |  Branch (570:9): [True: 0, False: 0]
  ------------------
  571|      0|        def->m_base.m_index = index;
  572|      0|    }
  573|      4|}
import.c:cleanup_old_cached_def:
 1196|      4|{
 1197|      4|    Py_XDECREF(oldbase->m_copy);
  ------------------
  |  |  621|      4|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1198|      4|}
import.c:finish_singlephase_extension:
 1913|      4|{
 1914|      4|    assert(mod != NULL && PyModule_Check(mod));
  ------------------
  |  Branch (1914:5): [True: 4, False: 0]
  |  Branch (1914:5): [True: 4, False: 0]
  ------------------
 1915|      4|    assert(cached->def == _PyModule_GetDefOrNull(mod));
  ------------------
  |  Branch (1915:5): [True: 4, False: 0]
  ------------------
 1916|       |
 1917|      4|    Py_ssize_t index = _get_cached_module_index(cached);
 1918|      4|    if (_modules_by_index_set(tstate->interp, index, mod) < 0) {
  ------------------
  |  Branch (1918:9): [True: 0, False: 4]
  ------------------
 1919|      0|        return -1;
 1920|      0|    }
 1921|       |
 1922|      4|    if (modules != NULL) {
  ------------------
  |  Branch (1922:9): [True: 4, False: 0]
  ------------------
 1923|      4|        if (PyObject_SetItem(modules, name, mod) < 0) {
  ------------------
  |  Branch (1923:13): [True: 0, False: 4]
  ------------------
 1924|      0|            return -1;
 1925|      0|        }
 1926|      4|    }
 1927|       |
 1928|      4|    return 0;
 1929|      4|}
import.c:create_builtin:
 2514|     33|{
 2515|     33|    struct _Py_ext_module_loader_info info;
 2516|     33|    _Py_ext_module_origin origin = _Py_ext_module_origin_BUILTIN;
 2517|     33|    if (_Py_ext_module_loader_info_init(&info, name, spec, origin) < 0) {
  ------------------
  |  Branch (2517:9): [True: 0, False: 33]
  ------------------
 2518|      0|        return NULL;
 2519|      0|    }
 2520|       |
 2521|     33|    struct extensions_cache_value *cached = NULL;
 2522|     33|    PyObject *mod = import_find_extension(tstate, &info, &cached);
 2523|     33|    if (mod != NULL) {
  ------------------
  |  Branch (2523:9): [True: 0, False: 33]
  ------------------
 2524|      0|        assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2524:9): [True: 0, False: 0]
  ------------------
 2525|      0|        assert(cached != NULL);
  ------------------
  |  Branch (2525:9): [True: 0, False: 0]
  ------------------
 2526|       |        /* The module might not have md_def set in certain reload cases. */
 2527|      0|        assert(_PyModule_GetDefOrNull(mod) == NULL
  ------------------
  |  Branch (2527:9): [True: 0, False: 0]
  |  Branch (2527:9): [True: 0, False: 0]
  ------------------
 2528|      0|                || cached->def == _PyModule_GetDefOrNull(mod));
 2529|      0|        assert_singlephase(cached);
  ------------------
  |  | 1820|      0|    do {                                                                    \
  |  | 1821|      0|        _Py_ext_module_kind kind = _get_extension_kind(cached->def, true);  \
  |  | 1822|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE);                    \
  |  | 1823|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1823:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2529:9): [True: 0, False: 0]
  ------------------
 2530|      0|        goto finally;
 2531|      0|    }
 2532|     33|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2532:14): [True: 0, False: 33]
  ------------------
 2533|      0|        goto finally;
 2534|      0|    }
 2535|       |
 2536|       |    /* If the module was added to the global cache
 2537|       |     * but def->m_base.m_copy was cleared (e.g. subinterp fini)
 2538|       |     * then we have to do a little dance here. */
 2539|     33|    if (cached != NULL) {
  ------------------
  |  Branch (2539:9): [True: 0, False: 33]
  ------------------
 2540|      0|        assert(cached->def->m_base.m_copy == NULL);
  ------------------
  |  Branch (2540:9): [True: 0, False: 0]
  ------------------
 2541|       |        /* For now we clear the cache and move on. */
 2542|      0|        _extensions_cache_delete(info.path, info.name);
 2543|      0|    }
 2544|       |
 2545|     33|    PyModInitFunction p0 = NULL;
 2546|     33|    if (initfunc == NULL) {
  ------------------
  |  Branch (2546:9): [True: 33, False: 0]
  ------------------
 2547|     33|        struct _inittab *entry = lookup_inittab_entry(&info);
 2548|     33|        if (entry == NULL) {
  ------------------
  |  Branch (2548:13): [True: 0, False: 33]
  ------------------
 2549|      0|            mod = NULL;
 2550|      0|            _PyErr_SetModuleNotFoundError(info.name);
 2551|      0|            goto finally;
 2552|      0|        }
 2553|       |
 2554|     33|        p0 = (PyModInitFunction)entry->initfunc;
 2555|     33|    }
 2556|      0|    else {
 2557|      0|        p0 = initfunc;
 2558|      0|    }
 2559|       |
 2560|     33|    if (p0 == NULL) {
  ------------------
  |  Branch (2560:9): [True: 0, False: 33]
  ------------------
 2561|       |        /* Cannot re-init internal module ("sys" or "builtins") */
 2562|      0|        assert(is_core_module(tstate->interp, info.name, info.path));
  ------------------
  |  Branch (2562:9): [True: 0, False: 0]
  ------------------
 2563|      0|        mod = import_add_module(tstate, info.name);
 2564|      0|        goto finally;
 2565|      0|    }
 2566|       |
 2567|       |
 2568|       |#ifdef Py_GIL_DISABLED
 2569|       |    // This call (and the corresponding call to _PyImport_CheckGILForModule())
 2570|       |    // would ideally be inside import_run_extension(). They are kept in the
 2571|       |    // callers for now because that would complicate the control flow inside
 2572|       |    // import_run_extension(). It should be possible to restructure
 2573|       |    // import_run_extension() to address this.
 2574|       |    _PyEval_EnableGILTransient(tstate);
 2575|       |#endif
 2576|       |    /* Now load it. */
 2577|     33|    mod = import_run_extension(
 2578|     33|                    tstate, p0, &info, spec, get_modules_dict(tstate, true));
 2579|       |#ifdef Py_GIL_DISABLED
 2580|       |    if (_PyImport_CheckGILForModule(mod, info.name) < 0) {
 2581|       |        Py_CLEAR(mod);
 2582|       |        goto finally;
 2583|       |    }
 2584|       |#endif
 2585|       |
 2586|     33|finally:
 2587|     33|    _Py_ext_module_loader_info_clear(&info);
 2588|     33|    return mod;
 2589|     33|}
import.c:import_find_extension:
 2047|     43|{
 2048|       |    /* Only single-phase init modules will be in the cache. */
 2049|     43|    struct extensions_cache_value *cached
 2050|     43|            = _extensions_cache_get(info->path, info->name);
 2051|     43|    if (cached == NULL) {
  ------------------
  |  Branch (2051:9): [True: 43, False: 0]
  ------------------
 2052|     43|        return NULL;
 2053|     43|    }
 2054|     43|    assert(cached->def != NULL);
  ------------------
  |  Branch (2054:5): [True: 0, False: 0]
  ------------------
 2055|      0|    assert_singlephase(cached);
  ------------------
  |  | 1820|      0|    do {                                                                    \
  |  | 1821|      0|        _Py_ext_module_kind kind = _get_extension_kind(cached->def, true);  \
  |  | 1822|      0|        assert(kind == _Py_ext_module_kind_SINGLEPHASE);                    \
  |  | 1823|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1823:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2055:5): [True: 0, False: 0]
  ------------------
 2056|      0|    *p_cached = cached;
 2057|       |
 2058|       |    /* It may have been successfully imported previously
 2059|       |       in an interpreter that allows legacy modules
 2060|       |       but is not allowed in the current interpreter. */
 2061|      0|    const char *name_buf = PyUnicode_AsUTF8(info->name);
 2062|      0|    assert(name_buf != NULL);
  ------------------
  |  Branch (2062:5): [True: 0, False: 0]
  ------------------
 2063|      0|    if (_PyImport_CheckSubinterpIncompatibleExtensionAllowed(name_buf) < 0) {
  ------------------
  |  Branch (2063:9): [True: 0, False: 0]
  ------------------
 2064|      0|        return NULL;
 2065|      0|    }
 2066|       |
 2067|      0|    PyObject *mod = reload_singlephase_extension(tstate, cached, info);
 2068|      0|    if (mod == NULL) {
  ------------------
  |  Branch (2068:9): [True: 0, False: 0]
  ------------------
 2069|      0|        return NULL;
 2070|      0|    }
 2071|       |
 2072|      0|    int verbose = _PyInterpreterState_GetConfig(tstate->interp)->verbose;
 2073|      0|    if (verbose) {
  ------------------
  |  Branch (2073:9): [True: 0, False: 0]
  ------------------
 2074|      0|        PySys_FormatStderr("import %U # previously loaded (%R)\n",
 2075|      0|                           info->name, info->path);
 2076|      0|    }
 2077|       |
 2078|      0|    return mod;
 2079|      0|}
import.c:lookup_inittab_entry:
 2498|     33|{
 2499|    657|    for (struct _inittab *p = INITTAB; p->name != NULL; p++) {
  ------------------
  |  |   78|     33|#define INITTAB _PyRuntime.imports.inittab
  ------------------
  |  Branch (2499:40): [True: 657, False: 0]
  ------------------
 2500|    657|        if (_PyUnicode_EqualToASCIIString(info->name, p->name)) {
  ------------------
  |  Branch (2500:13): [True: 33, False: 624]
  ------------------
 2501|     33|            return p;
 2502|     33|        }
 2503|    657|    }
 2504|       |    // not found
 2505|      0|    return NULL;
 2506|     33|}
import.c:import_run_extension:
 2122|     43|{
 2123|       |    /* Core modules go through _PyImport_FixupBuiltin(). */
 2124|     43|    assert(!is_core_module(tstate->interp, info->name, info->path));
  ------------------
  |  Branch (2124:5): [True: 43, False: 0]
  ------------------
 2125|       |
 2126|     43|    PyObject *mod = NULL;
 2127|     43|    PyModuleDef *def = NULL;
 2128|     43|    struct extensions_cache_value *cached = NULL;
 2129|     43|    const char *name_buf = PyBytes_AS_STRING(info->name_encoded);
  ------------------
  |  |   27|     43|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|     43|    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|     43|    PyThreadState *main_tstate = switch_to_main_interpreter(tstate);
 2180|     43|    if (main_tstate == NULL) {
  ------------------
  |  Branch (2180:9): [True: 0, False: 43]
  ------------------
 2181|      0|        return NULL;
 2182|      0|    }
 2183|     43|    else if (main_tstate != tstate) {
  ------------------
  |  Branch (2183:14): [True: 0, False: 43]
  ------------------
 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|     43|    struct _Py_ext_module_loader_result res;
 2191|     43|    int rc = _PyImport_RunModInitFunc(p0, info, &res);
 2192|     43|    bool main_error = false;
 2193|     43|    if (rc < 0) {
  ------------------
  |  Branch (2193:9): [True: 0, False: 43]
  ------------------
 2194|       |        /* We discard res.def. */
 2195|      0|        assert(res.module == NULL);
  ------------------
  |  Branch (2195:9): [True: 0, False: 0]
  ------------------
 2196|      0|    }
 2197|     43|    else {
 2198|     43|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (2198:9): [True: 43, False: 0]
  ------------------
 2199|     43|        assert(res.err == NULL);
  ------------------
  |  Branch (2199:9): [True: 43, False: 0]
  ------------------
 2200|       |
 2201|     43|        mod = res.module;
 2202|     43|        res.module = NULL;
 2203|     43|        def = res.def;
 2204|     43|        assert(def != NULL);
  ------------------
  |  Branch (2204:9): [True: 43, False: 0]
  ------------------
 2205|       |
 2206|       |        /* Do anything else that should be done
 2207|       |         * while still using the main interpreter. */
 2208|     43|        if (res.kind == _Py_ext_module_kind_SINGLEPHASE) {
  ------------------
  |  Branch (2208:13): [True: 0, False: 43]
  ------------------
 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|     43|    }
 2269|       |
 2270|     43|main_finally:
 2271|     43|    if (rc < 0) {
  ------------------
  |  Branch (2271:9): [True: 0, False: 43]
  ------------------
 2272|      0|        _Py_ext_module_loader_result_apply_error(&res, name_buf);
 2273|      0|    }
 2274|       |
 2275|       |    /* Switch back to the subinterpreter. */
 2276|     43|    if (switched) {
  ------------------
  |  Branch (2276:9): [True: 0, False: 43]
  ------------------
 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|     43|    if (rc < 0) {
  ------------------
  |  Branch (2301:9): [True: 0, False: 43]
  ------------------
 2302|      0|        goto error;
 2303|      0|    }
 2304|     43|    if (main_error) {
  ------------------
  |  Branch (2304:9): [True: 0, False: 43]
  ------------------
 2305|      0|        goto error;
 2306|      0|    }
 2307|       |
 2308|     43|    if (res.kind == _Py_ext_module_kind_MULTIPHASE) {
  ------------------
  |  Branch (2308:9): [True: 43, False: 0]
  ------------------
 2309|     43|        assert_multiphase_def(def);
  ------------------
  |  | 1805|     43|    do {                                                            \
  |  | 1806|     43|        _Py_ext_module_kind kind = _get_extension_kind(def, false); \
  |  | 1807|     43|        assert(kind == _Py_ext_module_kind_MULTIPHASE               \
  |  | 1808|     43|                /* m_slots can be NULL. */                          \
  |  | 1809|     43|                || kind == _Py_ext_module_kind_UNKNOWN);            \
  |  | 1810|     43|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1810:14): [Folded, False: 43]
  |  |  ------------------
  ------------------
  |  Branch (2309:9): [True: 43, False: 0]
  |  Branch (2309:9): [True: 0, False: 0]
  ------------------
 2310|     43|        assert(mod == NULL);
  ------------------
  |  Branch (2310:9): [True: 43, False: 0]
  ------------------
 2311|       |        /* Note that we cheat a little by not repeating the calls
 2312|       |         * to _PyImport_GetModuleExportHooks() and _PyImport_RunModInitFunc(). */
 2313|     43|        mod = PyModule_FromDefAndSpec(def, spec);
  ------------------
  |  |   80|     43|    PyModule_FromDefAndSpec2((module), (spec), PYTHON_API_VERSION)
  |  |  ------------------
  |  |  |  |   59|     43|#define PYTHON_API_VERSION 1013
  |  |  ------------------
  ------------------
 2314|     43|        if (mod == NULL) {
  ------------------
  |  Branch (2314:13): [True: 0, False: 43]
  ------------------
 2315|      0|            goto error;
 2316|      0|        }
 2317|     43|    }
 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|     43|    _Py_ext_module_loader_result_clear(&res);
 2354|     43|    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|     43|}
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|    391|{
 3180|    391|    if (info != NULL) {
  ------------------
  |  Branch (3180:9): [True: 391, False: 0]
  ------------------
 3181|    391|        memset(info, 0, sizeof(*info));
 3182|    391|    }
 3183|       |
 3184|    391|    if (nameobj == NULL || nameobj == Py_None) {
  ------------------
  |  |  616|    391|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3184:9): [True: 0, False: 391]
  |  Branch (3184:28): [True: 0, False: 391]
  ------------------
 3185|      0|        return FROZEN_BAD_NAME;
 3186|      0|    }
 3187|    391|    const char *name = _PyUnicode_AsUTF8NoNUL(nameobj);
 3188|    391|    if (name == NULL) {
  ------------------
  |  Branch (3188:9): [True: 0, False: 391]
  ------------------
 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|    391|    const struct _frozen *p = look_up_frozen(name);
 3198|    391|    if (p == NULL) {
  ------------------
  |  Branch (3198:9): [True: 331, False: 60]
  ------------------
 3199|    331|        return FROZEN_NOT_FOUND;
 3200|    331|    }
 3201|     60|    if (info != NULL) {
  ------------------
  |  Branch (3201:9): [True: 60, False: 0]
  ------------------
 3202|     60|        info->nameobj = nameobj;  // borrowed
 3203|     60|        info->data = (const char *)p->code;
 3204|     60|        info->size = p->size;
 3205|     60|        info->is_package = p->is_package;
 3206|     60|        if (p->size < 0) {
  ------------------
  |  Branch (3206:13): [True: 0, False: 60]
  ------------------
 3207|       |            // backward compatibility with negative size values
 3208|      0|            info->size = -(p->size);
 3209|      0|            info->is_package = true;
 3210|      0|        }
 3211|     60|        info->origname = name;
 3212|     60|        info->is_alias = resolve_module_alias(name, _PyImport_FrozenAliases,
 3213|     60|                                              &info->origname);
 3214|     60|    }
 3215|     60|    if (p->code == NULL) {
  ------------------
  |  Branch (3215:9): [True: 0, False: 60]
  ------------------
 3216|       |        /* It is frozen but marked as un-importable. */
 3217|      0|        return FROZEN_EXCLUDED;
 3218|      0|    }
 3219|     60|    if (p->code[0] == '\0' || p->size == 0) {
  ------------------
  |  Branch (3219:9): [True: 0, False: 60]
  |  Branch (3219:31): [True: 0, False: 60]
  ------------------
 3220|       |        /* Does not contain executable code. */
 3221|      0|        return FROZEN_INVALID;
 3222|      0|    }
 3223|     60|    return FROZEN_OKAY;
 3224|     60|}
import.c:look_up_frozen:
 3122|    391|{
 3123|    391|    const struct _frozen *p;
 3124|       |    // We always use the bootstrap modules.
 3125|  1.90k|    for (p = _PyImport_FrozenBootstrap; ; p++) {
 3126|  1.90k|        if (p->name == NULL) {
  ------------------
  |  Branch (3126:13): [True: 371, False: 1.53k]
  ------------------
 3127|       |            // We hit the end-of-list sentinel value.
 3128|    371|            break;
 3129|    371|        }
 3130|  1.53k|        if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3130:13): [True: 20, False: 1.51k]
  ------------------
 3131|     20|            return p;
 3132|     20|        }
 3133|  1.53k|    }
 3134|       |    // Prefer custom modules, if any.  Frozen stdlib modules can be
 3135|       |    // disabled here by setting "code" to NULL in the array entry.
 3136|    371|    if (PyImport_FrozenModules != NULL) {
  ------------------
  |  Branch (3136:9): [True: 0, False: 371]
  ------------------
 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|    371|    if (use_frozen()) {
  ------------------
  |  Branch (3147:9): [True: 371, False: 0]
  ------------------
 3148|  5.55k|        for (p = _PyImport_FrozenStdlib; ; p++) {
 3149|  5.55k|            if (p->name == NULL) {
  ------------------
  |  Branch (3149:17): [True: 331, False: 5.21k]
  ------------------
 3150|    331|                break;
 3151|    331|            }
 3152|  5.21k|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3152:17): [True: 40, False: 5.17k]
  ------------------
 3153|     40|                return p;
 3154|     40|            }
 3155|  5.21k|        }
 3156|  3.97k|        for (p = _PyImport_FrozenTest; ; p++) {
 3157|  3.97k|            if (p->name == NULL) {
  ------------------
  |  Branch (3157:17): [True: 331, False: 3.64k]
  ------------------
 3158|    331|                break;
 3159|    331|            }
 3160|  3.64k|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3160:17): [True: 0, False: 3.64k]
  ------------------
 3161|      0|                return p;
 3162|      0|            }
 3163|  3.64k|        }
 3164|    331|    }
 3165|    331|    return NULL;
 3166|    371|}
import.c:use_frozen:
 2981|    371|{
 2982|    371|    PyInterpreterState *interp = _PyInterpreterState_GET();
 2983|    371|    int override = OVERRIDE_FROZEN_MODULES(interp);
  ------------------
  |  |  100|    371|    (interp)->imports.override_frozen_modules
  ------------------
 2984|    371|    if (override > 0) {
  ------------------
  |  Branch (2984:9): [True: 0, False: 371]
  ------------------
 2985|      0|        return true;
 2986|      0|    }
 2987|    371|    else if (override < 0) {
  ------------------
  |  Branch (2987:14): [True: 0, False: 371]
  ------------------
 2988|      0|        return false;
 2989|      0|    }
 2990|    371|    else {
 2991|    371|        return interp->config.use_frozen_modules;
 2992|    371|    }
 2993|    371|}
import.c:resolve_module_alias:
 2963|     60|{
 2964|     60|    const struct _module_alias *entry;
 2965|    472|    for (entry = aliases; ; entry++) {
 2966|    472|        if (entry->name == NULL) {
  ------------------
  |  Branch (2966:13): [True: 44, False: 428]
  ------------------
 2967|       |            /* It isn't an alias. */
 2968|     44|            return false;
 2969|     44|        }
 2970|    428|        if (strcmp(name, entry->name) == 0) {
  ------------------
  |  Branch (2970:13): [True: 16, False: 412]
  ------------------
 2971|     16|            if (alias != NULL) {
  ------------------
  |  Branch (2971:17): [True: 16, False: 0]
  ------------------
 2972|     16|                *alias = entry->orig;
 2973|     16|            }
 2974|       |            return true;
 2975|     16|        }
 2976|    428|    }
 2977|     60|}
import.c:unmarshal_frozen_code:
 3228|     28|{
 3229|     28|    PyObject *co = PyMarshal_ReadObjectFromString(info->data, info->size);
 3230|     28|    if (co == NULL) {
  ------------------
  |  Branch (3230:9): [True: 0, False: 28]
  ------------------
 3231|       |        /* Does not contain executable code. */
 3232|      0|        PyErr_Clear();
 3233|      0|        set_frozen_error(FROZEN_INVALID, info->nameobj);
 3234|      0|        return NULL;
 3235|      0|    }
 3236|     28|    if (!PyCode_Check(co)) {
  ------------------
  |  |  168|     28|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|     28|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3236:9): [True: 0, False: 28]
  ------------------
 3237|       |        // We stick with TypeError for backward compatibility.
 3238|      0|        PyErr_Format(PyExc_TypeError,
 3239|      0|                     "frozen object %R is not a code object",
 3240|      0|                     info->nameobj);
 3241|      0|        Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3242|      0|        return NULL;
 3243|      0|    }
 3244|     28|    return co;
 3245|     28|}
import.c:remove_importlib_frames:
 3674|    225|{
 3675|    225|    const char *importlib_filename = "<frozen importlib._bootstrap>";
 3676|    225|    const char *external_filename = "<frozen importlib._bootstrap_external>";
 3677|    225|    const char *remove_frames = "_call_with_frames_removed";
 3678|    225|    int always_trim = 0;
 3679|    225|    int in_importlib = 0;
 3680|    225|    PyObject **prev_link, **outer_link = NULL;
 3681|    225|    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|    225|    PyObject *exc = _PyErr_GetRaisedException(tstate);
 3688|    225|    if (exc == NULL || _PyInterpreterState_GetConfig(tstate->interp)->verbose) {
  ------------------
  |  Branch (3688:9): [True: 0, False: 225]
  |  Branch (3688:24): [True: 0, False: 225]
  ------------------
 3689|      0|        goto done;
 3690|      0|    }
 3691|       |
 3692|    225|    if (PyType_IsSubtype(Py_TYPE(exc), (PyTypeObject *) PyExc_ImportError)) {
  ------------------
  |  |  213|    225|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    225|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    225|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3692:9): [True: 225, False: 0]
  ------------------
 3693|    225|        always_trim = 1;
 3694|    225|    }
 3695|       |
 3696|    225|    assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (3696:5): [True: 225, False: 0]
  ------------------
 3697|    225|    base_tb = PyException_GetTraceback(exc);
 3698|    225|    prev_link = &base_tb;
 3699|    225|    PyObject *tb = base_tb;
 3700|    695|    while (tb != NULL) {
  ------------------
  |  Branch (3700:12): [True: 470, False: 225]
  ------------------
 3701|    470|        assert(PyTraceBack_Check(tb));
  ------------------
  |  Branch (3701:9): [True: 470, False: 0]
  ------------------
 3702|    470|        PyTracebackObject *traceback = (PyTracebackObject *)tb;
 3703|    470|        PyObject *next = (PyObject *) traceback->tb_next;
 3704|    470|        PyFrameObject *frame = traceback->tb_frame;
 3705|    470|        PyCodeObject *code = PyFrame_GetCode(frame);
 3706|    470|        int now_in_importlib;
 3707|       |
 3708|    470|        now_in_importlib = _PyUnicode_EqualToASCIIString(code->co_filename, importlib_filename) ||
  ------------------
  |  Branch (3708:28): [True: 460, False: 10]
  ------------------
 3709|     10|                           _PyUnicode_EqualToASCIIString(code->co_filename, external_filename);
  ------------------
  |  Branch (3709:28): [True: 5, False: 5]
  ------------------
 3710|    470|        if (now_in_importlib && !in_importlib) {
  ------------------
  |  Branch (3710:13): [True: 465, False: 5]
  |  Branch (3710:33): [True: 225, False: 240]
  ------------------
 3711|       |            /* This is the link to this chunk of importlib tracebacks */
 3712|    225|            outer_link = prev_link;
 3713|    225|        }
 3714|    470|        in_importlib = now_in_importlib;
 3715|       |
 3716|    470|        if (in_importlib &&
  ------------------
  |  Branch (3716:13): [True: 465, False: 5]
  ------------------
 3717|    465|            (always_trim ||
  ------------------
  |  Branch (3717:14): [True: 465, False: 0]
  ------------------
 3718|    465|             _PyUnicode_EqualToASCIIString(code->co_name, remove_frames))) {
  ------------------
  |  Branch (3718:14): [True: 0, False: 0]
  ------------------
 3719|    465|            Py_XSETREF(*outer_link, Py_XNewRef(next));
  ------------------
  |  |  576|    465|    do { \
  |  |  577|    465|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|    465|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|    465|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|    465|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|    465|        *_tmp_dst_ptr = (src); \
  |  |  580|    465|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|    465|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    465|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    465|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|    465|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 465]
  |  |  ------------------
  ------------------
 3720|    465|            prev_link = outer_link;
 3721|    465|        }
 3722|      5|        else {
 3723|      5|            prev_link = (PyObject **) &traceback->tb_next;
 3724|      5|        }
 3725|    470|        Py_DECREF(code);
  ------------------
  |  |  430|    470|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    470|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    470|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3726|    470|        tb = next;
 3727|    470|    }
 3728|    225|    if (base_tb == NULL) {
  ------------------
  |  Branch (3728:9): [True: 220, False: 5]
  ------------------
 3729|    220|        base_tb = Py_None;
  ------------------
  |  |  616|    220|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3730|    220|        Py_INCREF(Py_None);
  ------------------
  |  |  310|    220|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    220|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    220|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3731|    220|    }
 3732|    225|    PyException_SetTraceback(exc, base_tb);
 3733|    225|done:
 3734|    225|    Py_XDECREF(base_tb);
  ------------------
  |  |  621|    225|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    225|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    225|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3735|    225|    _PyErr_SetRaisedException(tstate, exc);
 3736|    225|}
import.c:resolve_name:
 3741|     12|{
 3742|     12|    PyObject *abs_name;
 3743|     12|    PyObject *package = NULL;
 3744|     12|    PyObject *spec = NULL;
 3745|     12|    Py_ssize_t last_dot;
 3746|     12|    PyObject *base;
 3747|     12|    int level_up;
 3748|       |
 3749|     12|    if (globals == NULL) {
  ------------------
  |  Branch (3749:9): [True: 0, False: 12]
  ------------------
 3750|      0|        _PyErr_SetString(tstate, PyExc_KeyError, "'__name__' not in globals");
 3751|      0|        goto error;
 3752|      0|    }
 3753|     12|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|     12|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|     12|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     24|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 12, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3754|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 3755|      0|                         "globals must be a dict or a frozendict");
 3756|      0|        goto error;
 3757|      0|    }
 3758|     12|    if (PyDict_GetItemRef(globals, &_Py_ID(__package__), &package) < 0) {
  ------------------
  |  |  951|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3758:9): [True: 0, False: 12]
  ------------------
 3759|      0|        goto error;
 3760|      0|    }
 3761|     12|    if (package == Py_None) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3761:9): [True: 0, False: 12]
  ------------------
 3762|      0|        Py_DECREF(package);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3763|      0|        package = NULL;
 3764|      0|    }
 3765|     12|    if (PyDict_GetItemRef(globals, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  951|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3765:9): [True: 0, False: 12]
  ------------------
 3766|      0|        goto error;
 3767|      0|    }
 3768|       |
 3769|     12|    if (package != NULL) {
  ------------------
  |  Branch (3769:9): [True: 12, False: 0]
  ------------------
 3770|     12|        if (!PyUnicode_Check(package)) {
  ------------------
  |  |  103|     12|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3770:13): [True: 0, False: 12]
  ------------------
 3771|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3772|      0|                             "package must be a string");
 3773|      0|            goto error;
 3774|      0|        }
 3775|     12|        else if (spec != NULL && spec != Py_None) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3775:18): [True: 12, False: 0]
  |  Branch (3775:34): [True: 12, False: 0]
  ------------------
 3776|     12|            int equal;
 3777|     12|            PyObject *parent = PyObject_GetAttr(spec, &_Py_ID(parent));
  ------------------
  |  |  951|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3778|     12|            if (parent == NULL) {
  ------------------
  |  Branch (3778:17): [True: 0, False: 12]
  ------------------
 3779|      0|                goto error;
 3780|      0|            }
 3781|       |
 3782|     12|            equal = PyObject_RichCompareBool(package, parent, Py_EQ);
  ------------------
  |  |  654|     12|#define Py_EQ 2
  ------------------
 3783|     12|            Py_DECREF(parent);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3784|     12|            if (equal < 0) {
  ------------------
  |  Branch (3784:17): [True: 0, False: 12]
  ------------------
 3785|      0|                goto error;
 3786|      0|            }
 3787|     12|            else if (equal == 0) {
  ------------------
  |  Branch (3787:22): [True: 0, False: 12]
  ------------------
 3788|      0|                if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (3788:21): [True: 0, False: 0]
  ------------------
 3789|      0|                        "__package__ != __spec__.parent", 1) < 0) {
 3790|      0|                    goto error;
 3791|      0|                }
 3792|      0|            }
 3793|     12|        }
 3794|     12|    }
 3795|      0|    else if (spec != NULL && spec != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3795:14): [True: 0, False: 0]
  |  Branch (3795:30): [True: 0, False: 0]
  ------------------
 3796|      0|        package = PyObject_GetAttr(spec, &_Py_ID(parent));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3797|      0|        if (package == NULL) {
  ------------------
  |  Branch (3797:13): [True: 0, False: 0]
  ------------------
 3798|      0|            goto error;
 3799|      0|        }
 3800|      0|        else if (!PyUnicode_Check(package)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3800:18): [True: 0, False: 0]
  ------------------
 3801|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3802|      0|                             "__spec__.parent must be a string");
 3803|      0|            goto error;
 3804|      0|        }
 3805|      0|    }
 3806|      0|    else {
 3807|      0|        if (PyErr_WarnEx(PyExc_ImportWarning,
  ------------------
  |  Branch (3807:13): [True: 0, False: 0]
  ------------------
 3808|      0|                    "can't resolve package from __spec__ or __package__, "
 3809|      0|                    "falling back on __name__ and __path__", 1) < 0) {
 3810|      0|            goto error;
 3811|      0|        }
 3812|       |
 3813|      0|        if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &package) < 0) {
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3813:13): [True: 0, False: 0]
  ------------------
 3814|      0|            goto error;
 3815|      0|        }
 3816|      0|        if (package == NULL) {
  ------------------
  |  Branch (3816:13): [True: 0, False: 0]
  ------------------
 3817|      0|            _PyErr_SetString(tstate, PyExc_KeyError,
 3818|      0|                             "'__name__' not in globals");
 3819|      0|            goto error;
 3820|      0|        }
 3821|       |
 3822|      0|        if (!PyUnicode_Check(package)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3822:13): [True: 0, False: 0]
  ------------------
 3823|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3824|      0|                             "__name__ must be a string");
 3825|      0|            goto error;
 3826|      0|        }
 3827|       |
 3828|      0|        int haspath = PyDict_Contains(globals, &_Py_ID(__path__));
  ------------------
  |  |  951|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3829|      0|        if (haspath < 0) {
  ------------------
  |  Branch (3829:13): [True: 0, False: 0]
  ------------------
 3830|      0|            goto error;
 3831|      0|        }
 3832|      0|        if (!haspath) {
  ------------------
  |  Branch (3832:13): [True: 0, False: 0]
  ------------------
 3833|      0|            Py_ssize_t dot;
 3834|       |
 3835|      0|            dot = PyUnicode_FindChar(package, '.',
 3836|      0|                                        0, PyUnicode_GET_LENGTH(package), -1);
  ------------------
  |  |  300|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3837|      0|            if (dot == -2) {
  ------------------
  |  Branch (3837:17): [True: 0, False: 0]
  ------------------
 3838|      0|                goto error;
 3839|      0|            }
 3840|      0|            else if (dot == -1) {
  ------------------
  |  Branch (3840:22): [True: 0, False: 0]
  ------------------
 3841|      0|                goto no_parent_error;
 3842|      0|            }
 3843|      0|            PyObject *substr = PyUnicode_Substring(package, 0, dot);
 3844|      0|            if (substr == NULL) {
  ------------------
  |  Branch (3844:17): [True: 0, False: 0]
  ------------------
 3845|      0|                goto error;
 3846|      0|            }
 3847|      0|            Py_SETREF(package, substr);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3848|      0|        }
 3849|      0|    }
 3850|       |
 3851|     12|    last_dot = PyUnicode_GET_LENGTH(package);
  ------------------
  |  |  300|     12|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3852|     12|    if (last_dot == 0) {
  ------------------
  |  Branch (3852:9): [True: 0, False: 12]
  ------------------
 3853|      0|        goto no_parent_error;
 3854|      0|    }
 3855|       |
 3856|     12|    for (level_up = 1; level_up < level; level_up += 1) {
  ------------------
  |  Branch (3856:24): [True: 0, False: 12]
  ------------------
 3857|      0|        last_dot = PyUnicode_FindChar(package, '.', 0, last_dot, -1);
 3858|      0|        if (last_dot == -2) {
  ------------------
  |  Branch (3858:13): [True: 0, False: 0]
  ------------------
 3859|      0|            goto error;
 3860|      0|        }
 3861|      0|        else if (last_dot == -1) {
  ------------------
  |  Branch (3861:18): [True: 0, False: 0]
  ------------------
 3862|      0|            _PyErr_SetString(tstate, PyExc_ImportError,
 3863|      0|                             "attempted relative import beyond top-level "
 3864|      0|                             "package");
 3865|      0|            goto error;
 3866|      0|        }
 3867|      0|    }
 3868|       |
 3869|     12|    Py_XDECREF(spec);
  ------------------
  |  |  621|     12|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3870|     12|    base = PyUnicode_Substring(package, 0, last_dot);
 3871|     12|    Py_DECREF(package);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3872|     12|    if (base == NULL || PyUnicode_GET_LENGTH(name) == 0) {
  ------------------
  |  |  300|     12|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3872:9): [True: 0, False: 12]
  |  Branch (3872:25): [True: 5, False: 7]
  ------------------
 3873|      5|        return base;
 3874|      5|    }
 3875|       |
 3876|      7|    abs_name = PyUnicode_FromFormat("%U.%U", base, name);
 3877|      7|    Py_DECREF(base);
  ------------------
  |  |  430|      7|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3878|      7|    return abs_name;
 3879|       |
 3880|      0|  no_parent_error:
 3881|      0|    _PyErr_SetString(tstate, PyExc_ImportError,
 3882|      0|                     "attempted relative import "
 3883|      0|                     "with no known parent package");
 3884|       |
 3885|      0|  error:
 3886|      0|    Py_XDECREF(spec);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3887|      0|    Py_XDECREF(package);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3888|       |    return NULL;
 3889|      0|}
import.c:import_find_and_load:
 3954|    380|{
 3955|    380|    return import_find_and_load_with_name(
 3956|    380|        tstate, abs_name, &_Py_ID(_find_and_load), NULL);
  ------------------
  |  |  951|    380|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    380|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    380|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3957|    380|}
import.c:import_find_and_load_with_name:
 3895|    380|{
 3896|    380|    PyObject *mod = NULL;
 3897|    380|    PyInterpreterState *interp = tstate->interp;
 3898|    380|    int import_time = _PyInterpreterState_GetConfig(interp)->import_time;
 3899|    380|#define import_level FIND_AND_LOAD(interp).import_level
 3900|    380|#define accumulated FIND_AND_LOAD(interp).accumulated
 3901|       |
 3902|    380|    PyTime_t t1 = 0, accumulated_copy = accumulated;
  ------------------
  |  | 3900|    380|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  115|    380|    (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|    380|    if (import_time) {
  ------------------
  |  Branch (3909:9): [True: 0, False: 380]
  ------------------
 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|    380|    if (PyDTrace_IMPORT_FIND_LOAD_START_ENABLED())
  ------------------
  |  Branch (3918:9): [True: 0, False: 380]
  ------------------
 3919|      0|        PyDTrace_IMPORT_FIND_LOAD_START(PyUnicode_AsUTF8(abs_name));
 3920|       |
 3921|    380|    mod = PyObject_CallMethodObjArgs(IMPORTLIB(interp), find_and_load,
  ------------------
  |  |   96|    380|    (interp)->imports.importlib
  ------------------
 3922|    380|                                     abs_name, IMPORT_FUNC(interp), NULL);
  ------------------
  |  |  106|    380|    (interp)->imports.import_func
  ------------------
 3923|       |
 3924|    380|    if (PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED()) {
  ------------------
  |  Branch (3924:9): [True: 0, False: 380]
  ------------------
 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|    380|    if (import_time) {
  ------------------
  |  Branch (3930:9): [True: 0, False: 380]
  ------------------
 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|    380|    return mod;
 3948|    380|#undef import_level
 3949|    380|#undef accumulated
 3950|    380|}
import.c:lazy_modules_add:
 4143|     15|{
 4144|     15|    PyObject *mod = import_get_module(tstate, name);
 4145|     15|    if (mod == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (4145:9): [True: 13, False: 2]
  |  Branch (4145:24): [True: 0, False: 13]
  ------------------
 4146|      0|        return -1;
 4147|      0|    }
 4148|     15|    int loaded = mod != NULL && mod != Py_None;
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4148:18): [True: 2, False: 13]
  |  Branch (4148:33): [True: 2, False: 0]
  ------------------
 4149|     15|    if (loaded && PyModule_Check(mod)) {
  ------------------
  |  |   12|      2|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      2|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4149:9): [True: 2, False: 13]
  ------------------
 4150|      2|        PyObject *spec;
 4151|      2|        if (PyDict_GetItemRef(_PyModule_GetDict(mod), &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4151:13): [True: 0, False: 2]
  ------------------
 4152|      0|            Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4153|      0|            return -1;
 4154|      0|        }
 4155|      2|        loaded = spec == NULL || spec == Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4155:18): [True: 0, False: 2]
  |  Branch (4155:34): [True: 0, False: 2]
  ------------------
 4156|      2|        if (!loaded) {
  ------------------
  |  Branch (4156:13): [True: 2, False: 0]
  ------------------
 4157|       |            // Read the usual flag without callbacks or dictionary allocation.
 4158|       |            // Unsupported spec representations stay conservatively tracked.
 4159|      2|            PyObject *initializing = NULL;
 4160|      2|            if ((Py_TYPE(spec)->tp_flags & Py_TPFLAGS_INLINE_VALUES) &&
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if ((Py_TYPE(spec)->tp_flags & Py_TPFLAGS_INLINE_VALUES) &&
  ------------------
  |  |  472|      2|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (4160:17): [True: 2, False: 0]
  ------------------
 4161|      2|                _PyObject_TryGetInstanceAttribute(spec, &_Py_ID(_initializing), &initializing)) {
  ------------------
  |  |  951|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4161:17): [True: 2, False: 0]
  ------------------
 4162|      2|                loaded = initializing == NULL || initializing == Py_False;
  ------------------
  |  |   25|      2|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4162:26): [True: 0, False: 2]
  |  Branch (4162:50): [True: 2, False: 0]
  ------------------
 4163|      2|            }
 4164|      2|            Py_XDECREF(initializing);
  ------------------
  |  |  621|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4165|      2|        }
 4166|      2|        Py_XDECREF(spec);
  ------------------
  |  |  621|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4167|      2|    }
 4168|     15|    if (existing_mod_p != NULL) {
  ------------------
  |  Branch (4168:9): [True: 13, False: 2]
  ------------------
 4169|     13|        *existing_mod_p = mod;
 4170|     13|    }
 4171|      2|    else {
 4172|      2|        Py_XDECREF(mod);
  ------------------
  |  |  621|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4173|      2|    }
 4174|     15|    if (loaded || LAZY_MODULES(tstate->interp) == NULL) {
  ------------------
  |  |   92|     13|    (interp)->imports.lazy_modules
  ------------------
  |  Branch (4174:9): [True: 2, False: 13]
  |  Branch (4174:19): [True: 0, False: 13]
  ------------------
 4175|      2|        return 0;
 4176|      2|    }
 4177|     13|    return PySet_Add(LAZY_MODULES(tstate->interp), name);
  ------------------
  |  |   92|     13|    (interp)->imports.lazy_modules
  ------------------
 4178|     15|}
import.c:register_from_lazy_on_parent:
 4257|      2|{
 4258|       |    // IMPORT_FROM returns stored attributes directly.  Their imports are
 4259|       |    // already resolved or tracked by their own placeholders, so skip the alias.
 4260|      2|    int rc = 0;
 4261|      2|    if (existing_module != NULL && PyModule_Check(existing_module)) {
  ------------------
  |  |   12|      0|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4261:9): [True: 0, False: 2]
  ------------------
 4262|      0|        rc = PyDict_Contains(_PyModule_GetDict(existing_module), from);
 4263|      0|        if (rc != 0) {
  ------------------
  |  Branch (4263:13): [True: 0, False: 0]
  ------------------
 4264|      0|            return rc < 0 ? -1 : 0;
  ------------------
  |  Branch (4264:20): [True: 0, False: 0]
  ------------------
 4265|      0|        }
 4266|      0|    }
 4267|       |
 4268|      2|    PyObject *fromname = PyUnicode_FromFormat("%U.%U", abs_name, from);
 4269|      2|    if (fromname == NULL) {
  ------------------
  |  Branch (4269:9): [True: 0, False: 2]
  ------------------
 4270|      0|        return -1;
 4271|      0|    }
 4272|       |
 4273|      2|    rc = lazy_modules_add(tstate, fromname, NULL);
 4274|      2|    if (rc == 0) {
  ------------------
  |  Branch (4274:9): [True: 2, False: 0]
  ------------------
 4275|      2|        rc = register_lazy_on_parent(tstate, fromname, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4276|      2|    }
 4277|      2|    Py_DECREF(fromname);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4278|      2|    return rc;
 4279|      2|}
import.c:register_lazy_on_parent:
 4208|     13|{
 4209|     13|    PyDictObject *pending =
 4210|     13|        (PyDictObject *)LAZY_PENDING_SUBMODULES(tstate->interp);
  ------------------
  |  |   94|     13|    (interp)->imports.lazy_pending_submodules
  ------------------
 4211|       |    // Finalizers can still run after finalize_modules() cleared the dict.
 4212|     13|    if (pending == NULL) {
  ------------------
  |  Branch (4212:9): [True: 0, False: 13]
  ------------------
 4213|      0|        return 0;
 4214|      0|    }
 4215|     13|    Py_ssize_t end = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4216|     15|    while (true) {
  ------------------
  |  Branch (4216:12): [True: 15, Folded]
  ------------------
 4217|     15|        Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0, end, -1);
 4218|     15|        if (dot < 0) {
  ------------------
  |  Branch (4218:13): [True: 13, False: 2]
  ------------------
 4219|     13|            return dot == -1 ? 0 : -1;
  ------------------
  |  Branch (4219:20): [True: 13, False: 0]
  ------------------
 4220|     13|        }
 4221|      2|        PyObject *parent = PyUnicode_Substring(name, 0, dot);
 4222|      2|        if (parent == NULL) {
  ------------------
  |  Branch (4222:13): [True: 0, False: 2]
  ------------------
 4223|      0|            return -1;
 4224|      0|        }
 4225|      2|        PyObject *child = PyUnicode_Substring(name, dot + 1, end);
 4226|      2|        if (child == NULL) {
  ------------------
  |  Branch (4226:13): [True: 0, False: 2]
  ------------------
 4227|      0|            Py_DECREF(parent);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4228|      0|            return -1;
 4229|      0|        }
 4230|       |
 4231|      2|        PyObject *submodules = ensure_lazy_pending_submodules(pending, parent);
 4232|      2|        Py_DECREF(parent);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4233|      2|        PyObject *fullname = PyUnicode_Substring(name, 0, end);
 4234|      2|        PyObject *cached = fullname == NULL ? NULL :
  ------------------
  |  Branch (4234:28): [True: 0, False: 2]
  ------------------
 4235|      2|            import_get_module(tstate, fullname);
 4236|      2|        Py_XDECREF(fullname);
  ------------------
  |  |  621|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4237|      2|        PyObject *value = cached != NULL && cached != Py_None ? Py_None : source;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      PyObject *value = cached != NULL && cached != Py_None ? Py_None : source;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4237:27): [True: 0, False: 2]
  |  Branch (4237:45): [True: 0, False: 0]
  ------------------
 4238|      2|        int err = -1;
 4239|      2|        if (submodules != NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (4239:13): [True: 2, False: 0]
  |  Branch (4239:35): [True: 2, False: 0]
  ------------------
 4240|      2|            err = source == Py_None ?
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4240:19): [True: 2, False: 0]
  ------------------
 4241|      2|                PyDict_SetDefaultRef(submodules, child, value, NULL) :
 4242|      2|                PyDict_SetItem(submodules, child, value);
 4243|      2|        }
 4244|      2|        Py_XDECREF(cached);
  ------------------
  |  |  621|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4245|      2|        Py_DECREF(child);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4246|      2|        Py_XDECREF(submodules);
  ------------------
  |  |  621|      2|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4247|      2|        if (err < 0) {
  ------------------
  |  Branch (4247:13): [True: 0, False: 2]
  ------------------
 4248|      0|            return -1;
 4249|      0|        }
 4250|      2|        end = dot;
 4251|      2|    }
 4252|     13|}
import.c:ensure_lazy_pending_submodules:
 4184|      2|{
 4185|      2|    PyObject *lazy_submodules;
 4186|      2|    Py_BEGIN_CRITICAL_SECTION(lazy_modules);
  ------------------
  |  |   51|      2|    {
  ------------------
 4187|      2|    int err = _PyDict_GetItemRef_Unicode_LockHeld(lazy_modules, parent,
 4188|      2|                                                  &lazy_submodules);
 4189|      2|    if (err == 0) {
  ------------------
  |  Branch (4189:9): [True: 2, False: 0]
  ------------------
 4190|       |        // value isn't present
 4191|      2|        lazy_submodules = PyDict_New();
 4192|      2|        if (lazy_submodules != NULL &&
  ------------------
  |  Branch (4192:13): [True: 2, False: 0]
  ------------------
 4193|      2|            _PyDict_SetItem_LockHeld(lazy_modules, parent,
  ------------------
  |  Branch (4193:13): [True: 0, False: 2]
  ------------------
 4194|      2|                                     lazy_submodules) < 0) {
 4195|      0|            Py_CLEAR(lazy_submodules);
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4196|      0|        }
 4197|      2|    }
 4198|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
 4199|      2|    return lazy_submodules;
 4200|      2|}
import.c:init_builtin_modules_table:
 2684|      2|{
 2685|      2|    size_t size;
 2686|     78|    for (size = 0; PyImport_Inittab[size].name != NULL; size++)
  ------------------
  |  Branch (2686:20): [True: 76, False: 2]
  ------------------
 2687|     76|        ;
 2688|      2|    size++;
 2689|       |
 2690|       |    /* Make the copy. */
 2691|      2|    struct _inittab *copied = _PyMem_DefaultRawMalloc(size * sizeof(struct _inittab));
 2692|      2|    if (copied == NULL) {
  ------------------
  |  Branch (2692:9): [True: 0, False: 2]
  ------------------
 2693|      0|        return -1;
 2694|      0|    }
 2695|      2|    memcpy(copied, PyImport_Inittab, size * sizeof(struct _inittab));
 2696|      2|    INITTAB = copied;
  ------------------
  |  |   78|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2697|      2|    return 0;
 2698|      2|}
import.c:init_importlib:
 3407|      2|{
 3408|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (3408:5): [True: 2, False: 0]
  ------------------
 3409|       |
 3410|      2|    PyInterpreterState *interp = tstate->interp;
 3411|      2|    int verbose = _PyInterpreterState_GetConfig(interp)->verbose;
 3412|       |
 3413|       |    // Import _importlib through its frozen version, _frozen_importlib.
 3414|      2|    if (verbose) {
  ------------------
  |  Branch (3414:9): [True: 0, False: 2]
  ------------------
 3415|      0|        PySys_FormatStderr("import _frozen_importlib # frozen\n");
 3416|      0|    }
 3417|      2|    if (PyImport_ImportFrozenModule("_frozen_importlib") <= 0) {
  ------------------
  |  Branch (3417:9): [True: 0, False: 2]
  ------------------
 3418|      0|        return -1;
 3419|      0|    }
 3420|       |
 3421|      2|    PyObject *importlib = PyImport_AddModuleRef("_frozen_importlib");
 3422|      2|    if (importlib == NULL) {
  ------------------
  |  Branch (3422:9): [True: 0, False: 2]
  ------------------
 3423|      0|        return -1;
 3424|      0|    }
 3425|      2|    IMPORTLIB(interp) = importlib;
  ------------------
  |  |   96|      2|    (interp)->imports.importlib
  ------------------
 3426|       |
 3427|       |    // Import the _imp module
 3428|      2|    if (verbose) {
  ------------------
  |  Branch (3428:9): [True: 0, False: 2]
  ------------------
 3429|      0|        PySys_FormatStderr("import _imp # builtin\n");
 3430|      0|    }
 3431|      2|    PyObject *imp_mod = bootstrap_imp(tstate);
 3432|      2|    if (imp_mod == NULL) {
  ------------------
  |  Branch (3432:9): [True: 0, False: 2]
  ------------------
 3433|      0|        return -1;
 3434|      0|    }
 3435|      2|    if (_PyImport_SetModuleString("_imp", imp_mod) < 0) {
  ------------------
  |  Branch (3435:9): [True: 0, False: 2]
  ------------------
 3436|      0|        Py_DECREF(imp_mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3437|      0|        return -1;
 3438|      0|    }
 3439|       |
 3440|       |    // Install importlib as the implementation of import
 3441|      2|    PyObject *value = PyObject_CallMethod(importlib, "_install",
 3442|      2|                                          "OO", sysmod, imp_mod);
 3443|      2|    Py_DECREF(imp_mod);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3444|      2|    if (value == NULL) {
  ------------------
  |  Branch (3444:9): [True: 0, False: 2]
  ------------------
 3445|      0|        return -1;
 3446|      0|    }
 3447|      2|    Py_DECREF(value);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3448|       |
 3449|      2|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (3449:5): [True: 2, False: 0]
  ------------------
 3450|      2|    return 0;
 3451|      2|}
import.c:bootstrap_imp:
 3353|      2|{
 3354|      2|    PyObject *name = PyUnicode_FromString("_imp");
 3355|      2|    if (name == NULL) {
  ------------------
  |  Branch (3355:9): [True: 0, False: 2]
  ------------------
 3356|      0|        return NULL;
 3357|      0|    }
 3358|       |
 3359|       |    // Mock a ModuleSpec object just good enough for PyModule_FromDefAndSpec():
 3360|       |    // an object with just a name attribute.
 3361|       |    //
 3362|       |    // _imp.__spec__ is overridden by importlib._bootstrap._instal() anyway.
 3363|      2|    PyObject *attrs = Py_BuildValue("{sO}", "name", name);
 3364|      2|    if (attrs == NULL) {
  ------------------
  |  Branch (3364:9): [True: 0, False: 2]
  ------------------
 3365|      0|        goto error;
 3366|      0|    }
 3367|      2|    PyObject *spec = _PyNamespace_New(attrs);
 3368|      2|    Py_DECREF(attrs);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3369|      2|    if (spec == NULL) {
  ------------------
  |  Branch (3369:9): [True: 0, False: 2]
  ------------------
 3370|      0|        goto error;
 3371|      0|    }
 3372|       |
 3373|       |    // Create the _imp module from its definition.
 3374|      2|    PyObject *mod = create_builtin(tstate, name, spec, NULL);
 3375|      2|    Py_CLEAR(name);
  ------------------
  |  |  487|      2|    do { \
  |  |  488|      2|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      2|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  491|      2|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      2|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      2|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      2|        } \
  |  |  494|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3376|      2|    Py_DECREF(spec);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3377|      2|    if (mod == NULL) {
  ------------------
  |  Branch (3377:9): [True: 0, False: 2]
  ------------------
 3378|      0|        goto error;
 3379|      0|    }
 3380|      2|    assert(mod != Py_None);  // not found
  ------------------
  |  Branch (3380:5): [True: 2, False: 0]
  ------------------
 3381|       |
 3382|       |    // Execute the _imp module: call imp_module_exec().
 3383|      2|    if (exec_builtin_or_dynamic(mod) < 0) {
  ------------------
  |  Branch (3383:9): [True: 0, False: 2]
  ------------------
 3384|      0|        Py_DECREF(mod);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3385|      0|        goto error;
 3386|      0|    }
 3387|      2|    return mod;
 3388|       |
 3389|      0|error:
 3390|      0|    Py_XDECREF(name);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3391|       |    return NULL;
 3392|      2|}
import.c:exec_builtin_or_dynamic:
  948|     43|exec_builtin_or_dynamic(PyObject *mod) {
  949|     43|    void *state;
  950|       |
  951|     43|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   12|     43|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|     43|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (951:9): [True: 0, False: 43]
  ------------------
  952|      0|        return 0;
  953|      0|    }
  954|       |
  955|     43|    state = PyModule_GetState(mod);
  956|     43|    if (state) {
  ------------------
  |  Branch (956:9): [True: 0, False: 43]
  ------------------
  957|       |        /* Already initialized; skip reload */
  958|      0|        return 0;
  959|      0|    }
  960|       |
  961|     43|    return PyModule_Exec(mod);
  962|     43|}
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|  1.85k|{
 4996|  1.85k|    PyThreadState *tstate = _PyThreadState_GET();
 4997|       |    // Leave enough stack for importlib to release the lock.
 4998|  1.85k|    if (_Py_ReachedRecursionLimitWithMargin(tstate, 2)) {
  ------------------
  |  Branch (4998:9): [True: 0, False: 1.85k]
  ------------------
 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|  1.85k|    _PyImport_AcquireLock(tstate->interp);
 5005|  1.85k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  1.85k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  1.85k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5006|  1.85k|}
import.c:_imp_release_lock_impl:
 5019|  1.85k|{
 5020|  1.85k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5021|  1.85k|    if (!_PyRecursiveMutex_IsLockedByCurrentThread(&IMPORT_LOCK(interp))) {
  ------------------
  |  |  112|  1.85k|    (interp)->imports.lock
  ------------------
  |  Branch (5021:9): [True: 0, False: 1.85k]
  ------------------
 5022|      0|        PyErr_SetString(PyExc_RuntimeError,
 5023|      0|                        "not holding the import lock");
 5024|      0|        return NULL;
 5025|      0|    }
 5026|  1.85k|    _PyImport_ReleaseLock(interp);
 5027|  1.85k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  1.85k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  1.85k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5028|  1.85k|}
import.c:_imp_find_frozen_impl:
 5161|    355|{
 5162|    355|    struct frozen_info info;
 5163|    355|    frozen_status status = find_frozen(name, &info);
 5164|    355|    if (status == FROZEN_NOT_FOUND || status == FROZEN_DISABLED) {
  ------------------
  |  Branch (5164:9): [True: 331, False: 24]
  |  Branch (5164:39): [True: 0, False: 24]
  ------------------
 5165|    331|        Py_RETURN_NONE;
  ------------------
  |  |  628|    331|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    331|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5166|    331|    }
 5167|     24|    else if (status == FROZEN_BAD_NAME) {
  ------------------
  |  Branch (5167:14): [True: 0, False: 24]
  ------------------
 5168|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5169|      0|    }
 5170|     24|    else if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5170:14): [True: 0, False: 24]
  ------------------
 5171|      0|        set_frozen_error(status, name);
 5172|      0|        return NULL;
 5173|      0|    }
 5174|       |
 5175|     24|    PyObject *data = NULL;
 5176|     24|    if (withdata) {
  ------------------
  |  Branch (5176:9): [True: 0, False: 24]
  ------------------
 5177|      0|        data = PyMemoryView_FromMemory((char *)info.data, info.size, PyBUF_READ);
  ------------------
  |  |  137|      0|#define PyBUF_READ  0x100
  ------------------
 5178|      0|        if (data == NULL) {
  ------------------
  |  Branch (5178:13): [True: 0, False: 0]
  ------------------
 5179|      0|            return NULL;
 5180|      0|        }
 5181|      0|    }
 5182|       |
 5183|     24|    PyObject *origname = NULL;
 5184|     24|    if (info.origname != NULL && info.origname[0] != '\0') {
  ------------------
  |  Branch (5184:9): [True: 24, False: 0]
  |  Branch (5184:34): [True: 24, False: 0]
  ------------------
 5185|     24|        origname = PyUnicode_FromString(info.origname);
 5186|     24|        if (origname == NULL) {
  ------------------
  |  Branch (5186:13): [True: 0, False: 24]
  ------------------
 5187|      0|            Py_XDECREF(data);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5188|      0|            return NULL;
 5189|      0|        }
 5190|     24|    }
 5191|       |
 5192|     24|    PyObject *result = PyTuple_Pack(3, data ? data : Py_None,
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5192:40): [True: 0, False: 24]
  ------------------
 5193|     24|                                    info.is_package ? Py_True : Py_False,
  ------------------
  |  |   26|     24|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                  info.is_package ? Py_True : Py_False,
  ------------------
  |  |   25|     24|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5193:37): [True: 0, False: 24]
  ------------------
 5194|     24|                                    origname ? origname : Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5194:37): [True: 24, False: 0]
  ------------------
 5195|     24|    Py_XDECREF(origname);
  ------------------
  |  |  621|     24|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5196|     24|    Py_XDECREF(data);
  ------------------
  |  |  621|     24|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5197|     24|    return result;
 5198|     24|}
import.c:_imp_get_frozen_object_impl:
 5214|     24|{
 5215|     24|    struct frozen_info info = {0};
 5216|     24|    Py_buffer buf = {0};
 5217|     24|    if (PyObject_CheckBuffer(dataobj)) {
  ------------------
  |  Branch (5217:9): [True: 0, False: 24]
  ------------------
 5218|      0|        if (PyObject_GetBuffer(dataobj, &buf, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (5218:13): [True: 0, False: 0]
  ------------------
 5219|      0|            return NULL;
 5220|      0|        }
 5221|      0|        info.data = (const char *)buf.buf;
 5222|      0|        info.size = buf.len;
 5223|      0|    }
 5224|     24|    else if (dataobj != Py_None) {
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5224:14): [True: 0, False: 24]
  ------------------
 5225|      0|        _PyArg_BadArgument("get_frozen_object", "argument 2", "bytes", dataobj);
 5226|      0|        return NULL;
 5227|      0|    }
 5228|     24|    else {
 5229|     24|        frozen_status status = find_frozen(name, &info);
 5230|     24|        if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5230:13): [True: 0, False: 24]
  ------------------
 5231|      0|            set_frozen_error(status, name);
 5232|      0|            return NULL;
 5233|      0|        }
 5234|     24|    }
 5235|       |
 5236|     24|    if (info.nameobj == NULL) {
  ------------------
  |  Branch (5236:9): [True: 0, False: 24]
  ------------------
 5237|      0|        info.nameobj = name;
 5238|      0|    }
 5239|     24|    if (info.size == 0) {
  ------------------
  |  Branch (5239:9): [True: 0, False: 24]
  ------------------
 5240|       |        /* Does not contain executable code. */
 5241|      0|        set_frozen_error(FROZEN_INVALID, name);
 5242|      0|        return NULL;
 5243|      0|    }
 5244|       |
 5245|     24|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5246|     24|    PyObject *codeobj = unmarshal_frozen_code(interp, &info);
 5247|     24|    if (dataobj != Py_None) {
  ------------------
  |  |  616|     24|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5247:9): [True: 0, False: 24]
  ------------------
 5248|      0|        PyBuffer_Release(&buf);
 5249|      0|    }
 5250|     24|    return codeobj;
 5251|     24|}
import.c:_imp_is_frozen_package_impl:
 5265|      4|{
 5266|      4|    struct frozen_info info;
 5267|      4|    frozen_status status = find_frozen(name, &info);
 5268|      4|    if (status != FROZEN_OKAY && status != FROZEN_EXCLUDED) {
  ------------------
  |  Branch (5268:9): [True: 0, False: 4]
  |  Branch (5268:34): [True: 0, False: 0]
  ------------------
 5269|      0|        set_frozen_error(status, name);
 5270|      0|        return NULL;
 5271|      0|    }
 5272|      4|    return PyBool_FromLong(info.is_package);
 5273|      4|}
import.c:_imp_create_builtin:
 5068|     31|{
 5069|     31|    PyThreadState *tstate = _PyThreadState_GET();
 5070|       |
 5071|     31|    PyObject *mod = create_builtin(tstate, NULL, spec, NULL);
 5072|     31|    return mod;
 5073|     31|}
import.c:_imp_is_builtin_impl:
 5287|    386|{
 5288|    386|    return PyLong_FromLong(is_builtin(name));
 5289|    386|}
import.c:is_builtin:
 2482|    386|{
 2483|    386|    int i;
 2484|    386|    struct _inittab *inittab = INITTAB;
  ------------------
  |  |   78|    386|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2485|  14.4k|    for (i = 0; inittab[i].name != NULL; i++) {
  ------------------
  |  Branch (2485:17): [True: 14.0k, False: 355]
  ------------------
 2486|  14.0k|        if (_PyUnicode_EqualToASCIIString(name, inittab[i].name)) {
  ------------------
  |  Branch (2486:13): [True: 31, False: 14.0k]
  ------------------
 2487|     31|            if (inittab[i].initfunc == NULL)
  ------------------
  |  Branch (2487:17): [True: 0, False: 31]
  ------------------
 2488|      0|                return -1;
 2489|     31|            else
 2490|     31|                return 1;
 2491|     31|        }
 2492|  14.0k|    }
 2493|    355|    return 0;
 2494|    386|}
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|     10|{
 5398|     10|    FILE *fp = NULL;
 5399|     10|    PyObject *mod = NULL;
 5400|     10|    PyThreadState *tstate = _PyThreadState_GET();
 5401|       |
 5402|     10|    struct _Py_ext_module_loader_info info;
 5403|     10|    _Py_ext_module_origin origin = _Py_ext_module_origin_DYNAMIC;
 5404|     10|    if (_Py_ext_module_loader_info_init(&info, NULL, spec, origin) < 0) {
  ------------------
  |  Branch (5404:9): [True: 0, False: 10]
  ------------------
 5405|      0|        return NULL;
 5406|      0|    }
 5407|       |
 5408|     10|    struct extensions_cache_value *cached = NULL;
 5409|     10|    mod = import_find_extension(tstate, &info, &cached);
 5410|     10|    if (mod != NULL) {
  ------------------
  |  Branch (5410:9): [True: 0, False: 10]
  ------------------
 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|     10|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (5419:14): [True: 0, False: 10]
  ------------------
 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|     10|    if (cached != NULL) {
  ------------------
  |  Branch (5427:9): [True: 0, False: 10]
  ------------------
 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|     10|    if (PySys_Audit("import", "OOOOO", info.name, info.filename,
  ------------------
  |  Branch (5433:9): [True: 0, False: 10]
  ------------------
 5434|     10|                    Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
                                  Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
                                  Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
 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|     10|    if (file != NULL) {
  ------------------
  |  Branch (5442:9): [True: 0, False: 10]
  ------------------
 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|     10|    PyModInitFunction p0 = NULL;
 5450|     10|    PyModExportFunction ex0 = NULL;
 5451|     10|    _PyImport_GetModuleExportHooks(&info, fp, &p0, &ex0);
 5452|     10|    if (ex0) {
  ------------------
  |  Branch (5452:9): [True: 0, False: 10]
  ------------------
 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|     10|    if (p0 == NULL) {
  ------------------
  |  Branch (5458:9): [True: 0, False: 10]
  ------------------
 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|     10|    mod = import_run_extension(
 5471|     10|                    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|     10|finally:
 5480|     10|    if (fp != NULL) {
  ------------------
  |  Branch (5480:9): [True: 0, False: 10]
  ------------------
 5481|      0|        fclose(fp);
 5482|      0|    }
 5483|     10|    _Py_ext_module_loader_info_clear(&info);
 5484|     10|    return mod;
 5485|     10|}
import.c:_imp_exec_dynamic_impl:
 5499|     10|{
 5500|     10|    return exec_builtin_or_dynamic(mod);
 5501|     10|}
import.c:_imp_exec_builtin_impl:
 5518|     31|{
 5519|     31|    return exec_builtin_or_dynamic(mod);
 5520|     31|}
import.c:_imp__fix_co_filename_impl:
 5049|    101|{
 5050|    101|    update_compiled_module(code, path);
 5051|       |
 5052|    101|    Py_RETURN_NONE;
  ------------------
  |  |  628|    101|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    101|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5053|    101|}
import.c:update_compiled_module:
 2940|    101|{
 2941|    101|    PyObject *oldname;
 2942|       |
 2943|    101|    if (PyUnicode_Compare(co->co_filename, newname) == 0)
  ------------------
  |  Branch (2943:9): [True: 101, False: 0]
  ------------------
 2944|    101|        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|    155|{
 5563|    155|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5564|    155|    if (_PyImport_DiscardLazyModule(interp, name) < 0) {
  ------------------
  |  Branch (5564:9): [True: 0, False: 155]
  ------------------
 5565|      0|        return NULL;
 5566|      0|    }
 5567|    155|    if (_PyImport_ClearLazySubmodule(_PyThreadState_GET(), name, 0) < 0) {
  ------------------
  |  Branch (5567:9): [True: 0, False: 155]
  ------------------
 5568|      0|        return NULL;
 5569|      0|    }
 5570|    155|    Py_RETURN_NONE;
  ------------------
  |  |  628|    155|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    155|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5571|    155|}
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|     43|{
   91|     43|    Py_CLEAR(info->filename);
  ------------------
  |  |  487|     43|    do { \
  |  |  488|     43|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     43|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     43|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     43|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     43|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     43|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 10, False: 33]
  |  |  ------------------
  |  |  491|     10|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     10|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     10|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     10|        } \
  |  |  494|     43|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 43]
  |  |  ------------------
  ------------------
   92|     43|#ifndef MS_WINDOWS
   93|     43|    Py_CLEAR(info->filename_encoded);
  ------------------
  |  |  487|     43|    do { \
  |  |  488|     43|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     43|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     43|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     43|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     43|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     43|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 10, False: 33]
  |  |  ------------------
  |  |  491|     10|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     10|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     10|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     10|        } \
  |  |  494|     43|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 43]
  |  |  ------------------
  ------------------
   94|     43|#endif
   95|     43|    Py_CLEAR(info->name);
  ------------------
  |  |  487|     43|    do { \
  |  |  488|     43|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     43|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     43|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     43|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     43|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     43|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 43, False: 0]
  |  |  ------------------
  |  |  491|     43|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     43|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     43|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     43|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     43|        } \
  |  |  494|     43|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 43]
  |  |  ------------------
  ------------------
   96|       |    Py_CLEAR(info->name_encoded);
  ------------------
  |  |  487|     43|    do { \
  |  |  488|     43|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     43|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     43|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     43|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     43|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     43|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 43, False: 0]
  |  |  ------------------
  |  |  491|     43|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     43|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     43|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     43|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     43|        } \
  |  |  494|     43|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 43]
  |  |  ------------------
  ------------------
   97|     43|}
_Py_ext_module_loader_info_init:
  104|     43|{
  105|     43|    struct _Py_ext_module_loader_info info = {
  106|     43|        .origin=origin,
  107|     43|    };
  108|       |
  109|     43|    if (name == NULL) {
  ------------------
  |  Branch (109:9): [True: 41, False: 2]
  ------------------
  110|     41|        assert(spec != NULL);
  ------------------
  |  Branch (110:9): [True: 41, False: 0]
  ------------------
  111|     41|        info.name = PyObject_GetAttr(spec, &_Py_ID(name));
  ------------------
  |  |  951|     41|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     41|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     41|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|     41|        if (info.name == NULL) {
  ------------------
  |  Branch (112:13): [True: 0, False: 41]
  ------------------
  113|      0|            goto error;
  114|      0|        }
  115|     41|    }
  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|     43|    if (!PyUnicode_Check(info.name)) {
  ------------------
  |  |  103|     43|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     43|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (120:9): [True: 0, False: 43]
  ------------------
  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|     43|    if (PyUnicode_GetLength(info.name) == 0) {
  ------------------
  |  Branch (127:9): [True: 0, False: 43]
  ------------------
  128|      0|        PyErr_Format(PyExc_ValueError, "module name must not be empty");
  129|      0|        goto error;
  130|      0|    }
  131|       |
  132|     43|    info.name_encoded = get_encoded_name(info.name, &info.hook_prefixes);
  133|     43|    if (info.name_encoded == NULL) {
  ------------------
  |  Branch (133:9): [True: 0, False: 43]
  ------------------
  134|      0|        goto error;
  135|      0|    }
  136|       |
  137|     43|    info.newcontext = PyUnicode_AsUTF8(info.name);
  138|     43|    if (info.newcontext == NULL) {
  ------------------
  |  Branch (138:9): [True: 0, False: 43]
  ------------------
  139|      0|        goto error;
  140|      0|    }
  141|       |
  142|     43|    if (origin == _Py_ext_module_origin_DYNAMIC) {
  ------------------
  |  Branch (142:9): [True: 10, False: 33]
  ------------------
  143|     10|        assert(spec != NULL);
  ------------------
  |  Branch (143:9): [True: 10, False: 0]
  ------------------
  144|     10|        info.filename = PyObject_GetAttr(spec, &_Py_ID(origin));
  ------------------
  |  |  951|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|     10|        if (info.filename == NULL) {
  ------------------
  |  Branch (145:13): [True: 0, False: 10]
  ------------------
  146|      0|            goto error;
  147|      0|        }
  148|       |
  149|     10|        if (!PyUnicode_Check(info.filename)) {
  ------------------
  |  |  103|     10|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     10|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (149:13): [True: 0, False: 10]
  ------------------
  150|      0|            PyErr_SetString(PyExc_TypeError,
  151|      0|                            "module filename must be a string");
  152|      0|            goto error;
  153|      0|        }
  154|       |
  155|     10|#ifndef MS_WINDOWS
  156|     10|        info.filename_encoded = PyUnicode_EncodeFSDefault(info.filename);
  157|     10|        if (info.filename_encoded == NULL) {
  ------------------
  |  Branch (157:13): [True: 0, False: 10]
  ------------------
  158|      0|            goto error;
  159|      0|        }
  160|     10|#endif
  161|       |
  162|     10|        info.path = info.filename;
  163|     10|    }
  164|     33|    else {
  165|     33|        info.filename = NULL;
  166|     33|        info.path = info.name;
  167|     33|    }
  168|       |
  169|     43|    *p_info = info;
  170|     43|    return 0;
  171|       |
  172|      0|error:
  173|      0|    _Py_ext_module_loader_info_clear(&info);
  174|      0|    return -1;
  175|     43|}
_Py_ext_module_loader_result_clear:
  184|     43|{
  185|       |    /* Instead, the caller should have called
  186|       |     * _Py_ext_module_loader_result_apply_error(). */
  187|     43|    assert(res->err == NULL);
  ------------------
  |  Branch (187:5): [True: 43, False: 0]
  ------------------
  188|     43|    *res = (struct _Py_ext_module_loader_result){0};
  189|     43|}
_PyImport_GetModuleExportHooks:
  344|     10|{
  345|     10|    *modinit = NULL;
  346|     10|    *modexport = NULL;
  347|       |
  348|     10|    const char *name_buf = PyBytes_AS_STRING(info->name_encoded);
  ------------------
  |  |   27|     10|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  349|     10|    dl_funcptr exportfunc;
  350|       |
  351|     10|    exportfunc = findfuncptr(
  352|     10|        info->hook_prefixes->export_prefix,
  353|     10|        name_buf, info, fp);
  354|     10|    if (exportfunc) {
  ------------------
  |  Branch (354:9): [True: 0, False: 10]
  ------------------
  355|      0|        *modexport = (PyModExportFunction)exportfunc;
  356|      0|        return 2;
  357|      0|    }
  358|     10|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (358:9): [True: 0, False: 10]
  ------------------
  359|      0|        return -1;
  360|      0|    }
  361|       |
  362|     10|    exportfunc = findfuncptr(
  363|     10|        info->hook_prefixes->init_prefix,
  364|     10|        name_buf, info, fp);
  365|     10|    if (exportfunc) {
  ------------------
  |  Branch (365:9): [True: 10, False: 0]
  ------------------
  366|     10|        *modinit = (PyModInitFunction)exportfunc;
  367|     10|        return 1;
  368|     10|    }
  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|     10|}
_PyImport_RunModInitFunc:
  390|     43|{
  391|     43|    struct _Py_ext_module_loader_result res = {
  392|     43|        .kind=_Py_ext_module_kind_UNKNOWN,
  393|     43|    };
  394|       |
  395|       |    /* Call the module init function. */
  396|       |
  397|       |    /* Package context is needed for single-phase init */
  398|     43|    const char *oldcontext = _PyImport_SwapPackageContext(info->newcontext);
  399|     43|    PyObject *m = p0();
  400|     43|    _PyImport_SwapPackageContext(oldcontext);
  401|       |
  402|       |    /* Validate the result (and populate "res". */
  403|       |
  404|     43|    if (m == NULL) {
  ------------------
  |  Branch (404:9): [True: 0, False: 43]
  ------------------
  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|     43|    } else if (PyErr_Occurred()) {
  ------------------
  |  Branch (419:16): [True: 0, False: 43]
  ------------------
  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|     43|    if (Py_IS_TYPE(m, NULL)) {
  ------------------
  |  |  215|     43|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 43]
  |  |  ------------------
  ------------------
  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|     43|    if (PyObject_TypeCheck(m, &PyModuleDef_Type)) {
  ------------------
  |  |  378|     43|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (378:40): [True: 43, False: 0]
  |  |  ------------------
  ------------------
  445|       |        /* multi-phase init */
  446|     43|        res.kind = _Py_ext_module_kind_MULTIPHASE;
  447|     43|        res.def = (PyModuleDef *)m;
  448|       |        /* Run PyModule_FromDefAndSpec() to finish loading the module. */
  449|     43|    }
  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|     43|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (478:5): [True: 43, False: 0]
  ------------------
  479|     43|    assert(res.err == NULL);
  ------------------
  |  Branch (479:5): [True: 43, False: 0]
  ------------------
  480|     43|    *p_res = res;
  481|     43|    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|     43|get_encoded_name(PyObject *name, const struct hook_prefixes **hook_prefixes) {
   31|     43|    PyObject *tmp;
   32|     43|    Py_ssize_t name_len, lastdot;
   33|       |
   34|       |    /* Get the short name (substring after last dot) */
   35|     43|    name_len = PyUnicode_GetLength(name);
   36|     43|    if (name_len < 0) {
  ------------------
  |  Branch (36:9): [True: 0, False: 43]
  ------------------
   37|      0|        return NULL;
   38|      0|    }
   39|     43|    lastdot = PyUnicode_FindChar(name, '.', 0, name_len, -1);
   40|     43|    if (lastdot < -1) {
  ------------------
  |  Branch (40:9): [True: 0, False: 43]
  ------------------
   41|      0|        return NULL;
   42|     43|    } else if (lastdot >= 0) {
  ------------------
  |  Branch (42:16): [True: 0, False: 43]
  ------------------
   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|     43|    } else {
   49|     43|        Py_INCREF(name);
  ------------------
  |  |  310|     43|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   50|     43|    }
   51|       |
   52|       |    /* Encode to ASCII or Punycode, as needed */
   53|     43|    PyObject *encoded;
   54|     43|    if (PyUnicode_IS_ASCII(name)) {
  ------------------
  |  |  228|     43|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (228:32): [True: 43, False: 0]
  |  |  ------------------
  ------------------
   55|     43|        *hook_prefixes = &ascii_only_prefixes;
   56|     43|        encoded = PyUnicode_AsASCIIString(name);
   57|     43|    } else {
   58|      0|        *hook_prefixes = &nonascii_prefixes;
   59|      0|        encoded = PyUnicode_AsEncodedString(name, "punycode", NULL);
   60|      0|    }
   61|     43|    if (encoded == NULL) {
  ------------------
  |  Branch (61:9): [True: 0, False: 43]
  ------------------
   62|      0|        goto error;
   63|      0|    }
   64|       |
   65|       |    /* Call encoded.replace('-', '_') */
   66|     43|    PyObject *modname = PyObject_VectorcallMethod(
   67|     43|        &_Py_ID(replace),
  ------------------
  |  |  951|     43|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     43|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     43|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   68|     43|        (PyObject*[3]) {
   69|     43|            encoded,
   70|     43|            (PyObject *)&_Py_SINGLETON(bytes_characters)['-'],
  ------------------
  |  |   18|     43|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|     43|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
   71|     43|            (PyObject *)&_Py_SINGLETON(bytes_characters)['_'],
  ------------------
  |  |   18|     43|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|     43|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
   72|     43|        },
   73|     43|        3 | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|     43|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     43|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   74|     43|        NULL);
   75|     43|    Py_CLEAR(encoded);
  ------------------
  |  |  487|     43|    do { \
  |  |  488|     43|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|     43|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|     43|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|     43|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|     43|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|     43|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 43, False: 0]
  |  |  ------------------
  |  |  491|     43|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     43|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|     43|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|     43|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|     43|        } \
  |  |  494|     43|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 43]
  |  |  ------------------
  ------------------
   76|       |
   77|     43|    if (modname == NULL) {
  ------------------
  |  Branch (77:9): [True: 0, False: 43]
  ------------------
   78|      0|        goto error;
   79|      0|    }
   80|       |
   81|     43|    Py_DECREF(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|     43|    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|     43|}
importdl.c:findfuncptr:
  327|     20|{
  328|       |#ifdef MS_WINDOWS
  329|       |    return _PyImport_FindSharedFuncptrWindows(
  330|       |            prefix, name_buf, info->filename, fp);
  331|       |#else
  332|     20|    const char *path_buf = PyBytes_AS_STRING(info->filename_encoded);
  ------------------
  |  |   27|     20|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  333|     20|    return _PyImport_FindSharedFuncptr(
  334|     20|            prefix, name_buf, path_buf, fp);
  335|     20|#endif
  336|     20|}

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|   327k|{
   60|   327k|    _PyJumpTargetLabel lbl = {++seq->s_next_free_label};
   61|   327k|    return lbl;
   62|   327k|}
_PyInstructionSequence_UseLabel:
   66|   848k|{
   67|   848k|    int old_size = seq->s_labelmap_size;
   68|   848k|    _Py_c_array_t array = {
   69|   848k|        .array = (void*)seq->s_labelmap,
   70|   848k|        .allocated_entries = seq->s_labelmap_size,
   71|   848k|        .item_size = sizeof(int),
   72|   848k|        .initial_num_entries = INITIAL_INSTR_SEQUENCE_LABELS_MAP_SIZE,
  ------------------
  |  |   20|   848k|#define INITIAL_INSTR_SEQUENCE_LABELS_MAP_SIZE 10
  ------------------
   73|   848k|    };
   74|       |
   75|   848k|    RETURN_IF_ERROR(_Py_CArray_EnsureCapacity(&array, lbl));
  ------------------
  |  |   32|   848k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 848k]
  |  |  ------------------
  |  |   33|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   29|      0|#define ERROR -1
  |  |  ------------------
  |  |   34|      0|    }
  ------------------
   76|   848k|    seq->s_labelmap = array.array;
   77|   848k|    seq->s_labelmap_size = array.allocated_entries;
   78|       |
   79|  2.74M|    for(int i = old_size; i < seq->s_labelmap_size; i++) {
  ------------------
  |  Branch (79:27): [True: 1.89M, False: 848k]
  ------------------
   80|  1.89M|        seq->s_labelmap[i] = -111;  /* something weird, for debugging */
   81|  1.89M|    }
   82|   848k|    seq->s_labelmap[lbl] = seq->s_used; /* label refers to the next instruction */
   83|   848k|    return SUCCESS;
  ------------------
  |  |   28|   848k|#define SUCCESS 0
  ------------------
   84|   848k|}
_PyInstructionSequence_ApplyLabelMap:
   88|   223k|{
   89|   223k|    if (instrs->s_labelmap == NULL) {
  ------------------
  |  Branch (89:9): [True: 118k, False: 104k]
  ------------------
   90|       |        /* Already applied - nothing to do */
   91|   118k|        return SUCCESS;
  ------------------
  |  |   28|   118k|#define SUCCESS 0
  ------------------
   92|   118k|    }
   93|       |    /* Replace labels by offsets in the code */
   94|  7.22M|    for (int i=0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (94:19): [True: 7.11M, False: 104k]
  ------------------
   95|  7.11M|        instruction *instr = &instrs->s_instrs[i];
   96|  7.11M|        if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  7.11M|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  14.2M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  7.11M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 432k, False: 6.68M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  6.68M|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  13.3M|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 43.4k, False: 6.64M]
  |  |  |  |  ------------------
  |  |  |  |   19|  6.68M|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  13.3M|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 10.9k, False: 6.63M]
  |  |  |  |  ------------------
  |  |  |  |   20|  6.68M|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.63M|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 20.7k, False: 6.61M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   97|   508k|            assert(instr->i_oparg < instrs->s_labelmap_size);
  ------------------
  |  Branch (97:13): [True: 508k, False: 0]
  ------------------
   98|   508k|            instr->i_oparg = instrs->s_labelmap[instr->i_oparg];
   99|   508k|        }
  100|  7.11M|        _PyExceptHandlerInfo *hi = &instr->i_except_handler_info;
  101|  7.11M|        if (hi->h_label >= 0) {
  ------------------
  |  Branch (101:13): [True: 4.57M, False: 2.54M]
  ------------------
  102|  4.57M|            assert(hi->h_label < instrs->s_labelmap_size);
  ------------------
  |  Branch (102:13): [True: 4.57M, False: 0]
  ------------------
  103|  4.57M|            hi->h_label = instrs->s_labelmap[hi->h_label];
  104|  4.57M|        }
  105|  7.11M|    }
  106|       |    /* Clear label map so it's never used again */
  107|   104k|    PyMem_Free(instrs->s_labelmap);
  108|   104k|    instrs->s_labelmap = NULL;
  109|   104k|    instrs->s_labelmap_size = 0;
  110|   104k|    return SUCCESS;
  ------------------
  |  |   28|   104k|#define SUCCESS 0
  ------------------
  111|   104k|}
_PyInstructionSequence_Addop:
  118|  8.78M|{
  119|  8.78M|    assert(0 <= opcode && opcode <= MAX_OPCODE);
  ------------------
  |  Branch (119:5): [True: 8.78M, False: 0]
  |  Branch (119:5): [True: 8.78M, False: 0]
  ------------------
  120|  8.78M|    assert(IS_WITHIN_OPCODE_RANGE(opcode));
  ------------------
  |  Branch (120:5): [True: 8.78M, False: 0]
  |  Branch (120:5): [True: 8.38M, False: 395k]
  |  Branch (120:5): [True: 36.5k, False: 359k]
  |  Branch (120:5): [True: 23.8k, False: 335k]
  |  Branch (120:5): [True: 12.3k, False: 323k]
  |  Branch (120:5): [True: 37.0k, False: 285k]
  |  Branch (120:5): [True: 134k, False: 151k]
  |  Branch (120:5): [True: 2.59k, False: 148k]
  |  Branch (120:5): [True: 2.27k, False: 146k]
  |  Branch (120:5): [True: 43.8k, False: 102k]
  |  Branch (120:5): [True: 16.7k, False: 85.6k]
  |  Branch (120:5): [True: 11.0k, False: 74.6k]
  |  Branch (120:5): [True: 74.6k, False: 0]
  |  Branch (120:5): [Folded, False: 0]
  ------------------
  121|  8.78M|    assert(OPCODE_HAS_ARG(opcode) || HAS_TARGET(opcode) || oparg == 0);
  ------------------
  |  Branch (121:5): [True: 0, False: 1.85M]
  |  Branch (121:5): [True: 0, False: 1.85M]
  |  Branch (121:5): [True: 0, False: 1.85M]
  |  Branch (121:5): [True: 0, False: 1.85M]
  |  Branch (121:5): [True: 6.92M, False: 1.85M]
  |  Branch (121:5): [True: 1.85M, False: 0]
  ------------------
  122|  8.78M|    assert(0 <= oparg && oparg < (1 << 30));
  ------------------
  |  Branch (122:5): [True: 8.78M, False: 0]
  |  Branch (122:5): [True: 8.78M, False: 0]
  ------------------
  123|       |
  124|  8.78M|    int idx = instr_sequence_next_inst(seq);
  125|  8.78M|    RETURN_IF_ERROR(idx);
  ------------------
  |  |   32|  8.78M|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 8.78M]
  |  |  ------------------
  |  |   33|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   29|      0|#define ERROR -1
  |  |  ------------------
  |  |   34|      0|    }
  ------------------
  126|  8.78M|    instruction *ci = &seq->s_instrs[idx];
  127|  8.78M|    ci->i_opcode = opcode;
  128|  8.78M|    ci->i_oparg = oparg;
  129|  8.78M|    ci->i_loc = loc;
  130|  8.78M|    return SUCCESS;
  ------------------
  |  |   28|  8.78M|#define SUCCESS 0
  ------------------
  131|  8.78M|}
_PyInstructionSequence_InsertInstruction:
  136|  7.50k|{
  137|  7.50k|    assert(pos >= 0 && pos <= seq->s_used);
  ------------------
  |  Branch (137:5): [True: 7.50k, False: 0]
  |  Branch (137:5): [True: 7.50k, False: 0]
  ------------------
  138|  7.50k|    int last_idx = instr_sequence_next_inst(seq);
  139|  7.50k|    RETURN_IF_ERROR(last_idx);
  ------------------
  |  |   32|  7.50k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 7.50k]
  |  |  ------------------
  |  |   33|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   29|      0|#define ERROR -1
  |  |  ------------------
  |  |   34|      0|    }
  ------------------
  140|   769k|    for (int i=last_idx-1; i >= pos; i--) {
  ------------------
  |  Branch (140:28): [True: 762k, False: 7.50k]
  ------------------
  141|   762k|        seq->s_instrs[i+1] = seq->s_instrs[i];
  142|   762k|    }
  143|  7.50k|    instruction *ci = &seq->s_instrs[pos];
  144|  7.50k|    ci->i_opcode = opcode;
  145|  7.50k|    ci->i_oparg = oparg;
  146|  7.50k|    ci->i_loc = loc;
  147|       |
  148|       |    /* fix the labels map */
  149|   277k|    for(int lbl=0; lbl < seq->s_labelmap_size; lbl++) {
  ------------------
  |  Branch (149:20): [True: 269k, False: 7.50k]
  ------------------
  150|   269k|        if (seq->s_labelmap[lbl] >= pos) {
  ------------------
  |  Branch (150:13): [True: 172k, False: 97.4k]
  ------------------
  151|   172k|            seq->s_labelmap[lbl]++;
  152|   172k|        }
  153|   269k|    }
  154|  7.50k|    return SUCCESS;
  ------------------
  |  |   28|  7.50k|#define SUCCESS 0
  ------------------
  155|  7.50k|}
_PyInstructionSequence_GetInstruction:
  159|  11.3k|{
  160|  11.3k|    assert(pos >= 0 && pos < seq->s_used);
  ------------------
  |  Branch (160:5): [True: 11.3k, False: 0]
  |  Branch (160:5): [True: 11.3k, False: 0]
  ------------------
  161|  11.3k|    return seq->s_instrs[pos];
  162|  11.3k|}
_PyInstructionSequence_SetAnnotationsCode:
  167|    718|{
  168|    718|    assert(seq->s_annotations_code == NULL);
  ------------------
  |  Branch (168:5): [True: 718, False: 0]
  ------------------
  169|    718|    seq->s_annotations_code = annotations;
  170|    718|    return SUCCESS;
  ------------------
  |  |   28|    718|#define SUCCESS 0
  ------------------
  171|    718|}
PyInstructionSequence_Fini:
  189|   151k|PyInstructionSequence_Fini(instr_sequence *seq) {
  190|   151k|    Py_XDECREF(seq->s_nested);
  ------------------
  |  |  621|   151k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   151k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   151k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|       |
  192|   151k|    PyMem_Free(seq->s_labelmap);
  193|   151k|    seq->s_labelmap = NULL;
  194|       |
  195|   151k|    PyMem_Free(seq->s_instrs);
  196|   151k|    seq->s_instrs = NULL;
  197|       |
  198|   151k|    if (seq->s_annotations_code != NULL) {
  ------------------
  |  Branch (198:9): [True: 718, False: 150k]
  ------------------
  199|    718|        PyInstructionSequence_Fini(seq->s_annotations_code);
  200|    718|        Py_CLEAR(seq->s_annotations_code);
  ------------------
  |  |  487|    718|    do { \
  |  |  488|    718|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    718|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    718|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    718|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    718|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    718|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 718, False: 0]
  |  |  ------------------
  |  |  491|    718|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    718|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    718|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    718|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    718|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    718|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    718|        } \
  |  |  494|    718|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 718]
  |  |  ------------------
  ------------------
  201|    718|    }
  202|       |
  203|   151k|}
_PyInstructionSequence_New:
  233|  75.9k|{
  234|  75.9k|    _PyInstructionSequence *seq = inst_seq_create();
  235|  75.9k|    if (seq == NULL) {
  ------------------
  |  Branch (235:9): [True: 0, False: 75.9k]
  ------------------
  236|      0|        return NULL;
  237|      0|    }
  238|  75.9k|    return (PyObject*)seq;
  239|  75.9k|}
instruction_sequence.c:instr_sequence_next_inst:
   37|  8.79M|instr_sequence_next_inst(instr_sequence *seq) {
   38|  8.79M|    assert(seq->s_instrs != NULL || seq->s_used == 0);
  ------------------
  |  Branch (38:5): [True: 8.64M, False: 150k]
  |  Branch (38:5): [True: 150k, False: 0]
  ------------------
   39|       |
   40|       |
   41|  8.79M|    _Py_c_array_t array = {
   42|  8.79M|        .array = (void*)seq->s_instrs,
   43|  8.79M|        .allocated_entries = seq->s_allocated,
   44|  8.79M|        .item_size = sizeof(instruction),
   45|  8.79M|        .initial_num_entries = INITIAL_INSTR_SEQUENCE_SIZE,
  ------------------
  |  |   19|  8.79M|#define INITIAL_INSTR_SEQUENCE_SIZE 100
  ------------------
   46|  8.79M|    };
   47|       |
   48|  8.79M|    RETURN_IF_ERROR(_Py_CArray_EnsureCapacity(&array, seq->s_used + 1));
  ------------------
  |  |   32|  8.79M|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 8.79M]
  |  |  ------------------
  |  |   33|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   29|      0|#define ERROR -1
  |  |  ------------------
  |  |   34|      0|    }
  ------------------
   49|  8.79M|    seq->s_instrs = array.array;
   50|  8.79M|    seq->s_allocated = array.allocated_entries;
   51|       |
   52|  8.79M|    assert(seq->s_allocated >= 0);
  ------------------
  |  Branch (52:5): [True: 8.79M, False: 0]
  ------------------
   53|  8.79M|    assert(seq->s_used < seq->s_allocated);
  ------------------
  |  Branch (53:5): [True: 8.79M, False: 0]
  ------------------
   54|  8.79M|    return seq->s_used++;
   55|  8.79M|}
instruction_sequence.c:inst_seq_create:
  212|  75.9k|{
  213|  75.9k|    _PyInstructionSequence *seq;
  214|  75.9k|    seq = PyObject_GC_New(_PyInstructionSequence, &_PyInstructionSequence_Type);
  ------------------
  |  |  181|  75.9k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  75.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  215|  75.9k|    if (seq == NULL) {
  ------------------
  |  Branch (215:9): [True: 0, False: 75.9k]
  ------------------
  216|      0|        return NULL;
  217|      0|    }
  218|  75.9k|    seq->s_instrs = NULL;
  219|  75.9k|    seq->s_allocated = 0;
  220|  75.9k|    seq->s_used = 0;
  221|  75.9k|    seq->s_next_free_label = 0;
  222|  75.9k|    seq->s_labelmap = NULL;
  223|  75.9k|    seq->s_labelmap_size = 0;
  224|  75.9k|    seq->s_nested = NULL;
  225|  75.9k|    seq->s_annotations_code = NULL;
  226|       |
  227|  75.9k|    PyObject_GC_Track(seq);
  228|  75.9k|    return seq;
  229|  75.9k|}
instruction_sequence.c:inst_seq_dealloc:
  426|  75.9k|{
  427|  75.9k|    _PyInstructionSequence *seq = (_PyInstructionSequence *)op;
  428|  75.9k|    PyObject_GC_UnTrack(seq);
  429|  75.9k|    PyInstructionSequence_Fini(seq);
  430|  75.9k|    PyObject_GC_Del(seq);
  431|  75.9k|}
instruction_sequence.c:inst_seq_traverse:
  435|  11.7k|{
  436|  11.7k|    _PyInstructionSequence *seq = (_PyInstructionSequence *)op;
  437|  11.7k|    Py_VISIT(seq->s_nested);
  ------------------
  |  |  194|  11.7k|    do {                                                                \
  |  |  195|  11.7k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 11.7k]
  |  |  ------------------
  |  |  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|  11.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 11.7k]
  |  |  ------------------
  ------------------
  438|  11.7k|    Py_VISIT((PyObject *)seq->s_annotations_code);
  ------------------
  |  |  194|  11.7k|    do {                                                                \
  |  |  195|  11.7k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 11.7k]
  |  |  ------------------
  |  |  196|     18|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     18|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 18]
  |  |  ------------------
  |  |  198|     18|                return vret;                                            \
  |  |  199|     18|        }                                                               \
  |  |  200|  11.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 11.7k]
  |  |  ------------------
  ------------------
  439|  11.7k|    return 0;
  440|  11.7k|}

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

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

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

PyMarshal_ReadObjectFromString:
 2343|     30|{
 2344|     30|    RFILE rf;
 2345|     30|    PyObject *result;
 2346|     30|    rf.allow_code = 1;
 2347|     30|    rf.fp = NULL;
 2348|     30|    rf.readable = NULL;
 2349|     30|    rf.ptr = str;
 2350|     30|    rf.end = str + len;
 2351|     30|    rf.buf = NULL;
 2352|     30|    rf.depth = 0;
 2353|     30|    rf.refs = PyList_New(0);
 2354|     30|    if (rf.refs == NULL)
  ------------------
  |  Branch (2354:9): [True: 0, False: 30]
  ------------------
 2355|      0|        return NULL;
 2356|     30|    result = read_object(&rf);
 2357|     30|    Py_DECREF(rf.refs);
  ------------------
  |  |  430|     30|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2358|     30|    if (rf.buf != NULL)
  ------------------
  |  Branch (2358:9): [True: 0, False: 30]
  ------------------
 2359|      0|        PyMem_Free(rf.buf);
 2360|     30|    return result;
 2361|     30|}
PyMarshal_Init:
 2636|      2|{
 2637|      2|    return PyModuleDef_Init(&marshalmodule);
 2638|      2|}
marshal.c:r_short:
 1386|     42|{
 1387|     42|    short x = -1;
 1388|     42|    const unsigned char *buffer;
 1389|       |
 1390|     42|    buffer = (const unsigned char *) r_string(2, p);
 1391|     42|    if (buffer != NULL) {
  ------------------
  |  Branch (1391:9): [True: 42, False: 0]
  ------------------
 1392|     42|        x = buffer[0];
 1393|     42|        x |= buffer[1] << 8;
 1394|       |        /* Sign-extension, in case short greater than 16 bits */
 1395|     42|        x |= -(x & 0x8000);
 1396|     42|    }
 1397|     42|    return x;
 1398|     42|}
marshal.c:r_string:
 1266|   105k|{
 1267|   105k|    Py_ssize_t read = -1;
 1268|       |
 1269|   105k|    if (p->ptr != NULL) {
  ------------------
  |  Branch (1269:9): [True: 105k, False: 0]
  ------------------
 1270|       |        /* Fast path for loads() */
 1271|   105k|        const char *res = p->ptr;
 1272|   105k|        Py_ssize_t left = p->end - p->ptr;
 1273|   105k|        if (left < n) {
  ------------------
  |  Branch (1273:13): [True: 0, False: 105k]
  ------------------
 1274|      0|            PyErr_SetString(PyExc_EOFError,
 1275|      0|                            "marshal data too short");
 1276|      0|            return NULL;
 1277|      0|        }
 1278|   105k|        p->ptr += n;
 1279|   105k|        return res;
 1280|   105k|    }
 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|  73.4k|{
 1403|  73.4k|    long x = -1;
 1404|  73.4k|    const unsigned char *buffer;
 1405|       |
 1406|  73.4k|    buffer = (const unsigned char *) r_string(4, p);
 1407|  73.4k|    if (buffer != NULL) {
  ------------------
  |  Branch (1407:9): [True: 73.4k, False: 0]
  ------------------
 1408|  73.4k|        x = buffer[0];
 1409|  73.4k|        x |= (long)buffer[1] << 8;
 1410|  73.4k|        x |= (long)buffer[2] << 16;
 1411|  73.4k|        x |= (long)buffer[3] << 24;
 1412|  73.4k|#if SIZEOF_LONG > 4
 1413|       |        /* Sign extension for 64-bit machines */
 1414|  73.4k|        x |= -(x & 0x80000000L);
 1415|  73.4k|#endif
 1416|  73.4k|    }
 1417|  73.4k|    return x;
 1418|  73.4k|}
marshal.c:read_object:
 2212|    131|{
 2213|    131|    PyObject *v;
 2214|    131|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (2214:9): [True: 0, False: 131]
  ------------------
 2215|      0|        fprintf(stderr, "XXX readobject called with exception set\n");
 2216|      0|        return NULL;
 2217|      0|    }
 2218|    131|    if (p->ptr && p->end) {
  ------------------
  |  Branch (2218:9): [True: 131, False: 0]
  |  Branch (2218:19): [True: 131, False: 0]
  ------------------
 2219|    131|        if (PySys_Audit("marshal.loads", "y#", p->ptr, (Py_ssize_t)(p->end - p->ptr)) < 0) {
  ------------------
  |  Branch (2219:13): [True: 0, False: 131]
  ------------------
 2220|      0|            return NULL;
 2221|      0|        }
 2222|    131|    } 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|    131|    v = r_object(p);
 2228|    131|    if (v == NULL && !PyErr_Occurred())
  ------------------
  |  Branch (2228:9): [True: 0, False: 131]
  |  Branch (2228:22): [True: 0, False: 0]
  ------------------
 2229|      0|        PyErr_SetString(PyExc_TypeError, "NULL object in marshal data for object");
 2230|    131|    return v;
 2231|    131|}
marshal.c:r_object:
 1623|  85.5k|{
 1624|       |    /* NULL is a valid return value, it does not necessarily means that
 1625|       |       an exception is set. */
 1626|  85.5k|    PyObject *v, *v2;
 1627|  85.5k|    Py_ssize_t idx = 0;
 1628|  85.5k|    long i, n;
 1629|  85.5k|    int type, code = r_byte(p);
 1630|  85.5k|    int flag, is_interned = 0;
 1631|  85.5k|    PyObject *retval = NULL;
 1632|       |
 1633|  85.5k|    if (code == EOF) {
  ------------------
  |  Branch (1633:9): [True: 0, False: 85.5k]
  ------------------
 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|  85.5k|    p->depth++;
 1642|       |
 1643|  85.5k|    if (p->depth > MAX_MARSHAL_STACK_DEPTH) {
  ------------------
  |  |   53|  85.5k|#  define MAX_MARSHAL_STACK_DEPTH 2000
  ------------------
  |  Branch (1643:9): [True: 0, False: 85.5k]
  ------------------
 1644|      0|        p->depth--;
 1645|      0|        PyErr_SetString(PyExc_ValueError, "recursion limit exceeded");
 1646|      0|        return NULL;
 1647|      0|    }
 1648|       |
 1649|  85.5k|    flag = code & FLAG_REF;
  ------------------
  |  |   99|  85.5k|#define FLAG_REF                '\x80' /* with a type, add obj to index */
  ------------------
 1650|  85.5k|    type = code & ~FLAG_REF;
  ------------------
  |  |   99|  85.5k|#define FLAG_REF                '\x80' /* with a type, add obj to index */
  ------------------
 1651|       |
 1652|  85.5k|#define R_REF(O) do{\
 1653|  85.5k|    if (flag) \
 1654|  85.5k|        O = r_ref(O, flag, p);\
 1655|  85.5k|} while (0)
 1656|       |
 1657|  85.5k|    switch (type) {
 1658|       |
 1659|      0|    case TYPE_NULL:
  ------------------
  |  |   57|      0|#define TYPE_NULL               '0'
  ------------------
  |  Branch (1659:5): [True: 0, False: 85.5k]
  ------------------
 1660|      0|        break;
 1661|       |
 1662|    494|    case TYPE_NONE:
  ------------------
  |  |   58|    494|#define TYPE_NONE               'N'
  ------------------
  |  Branch (1662:5): [True: 494, False: 85.0k]
  ------------------
 1663|    494|        retval = Py_None;
  ------------------
  |  |  616|    494|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1664|    494|        break;
 1665|       |
 1666|      0|    case TYPE_STOPITER:
  ------------------
  |  |   61|      0|#define TYPE_STOPITER           'S'
  ------------------
  |  Branch (1666:5): [True: 0, False: 85.5k]
  ------------------
 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: 85.5k]
  ------------------
 1671|      3|        retval = Py_Ellipsis;
  ------------------
  |  |   14|      3|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
 1672|      3|        break;
 1673|       |
 1674|     98|    case TYPE_FALSE:
  ------------------
  |  |   59|     98|#define TYPE_FALSE              'F'
  ------------------
  |  Branch (1674:5): [True: 98, False: 85.4k]
  ------------------
 1675|     98|        retval = Py_False;
  ------------------
  |  |   25|     98|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1676|     98|        break;
 1677|       |
 1678|     51|    case TYPE_TRUE:
  ------------------
  |  |   60|     51|#define TYPE_TRUE               'T'
  ------------------
  |  Branch (1678:5): [True: 51, False: 85.5k]
  ------------------
 1679|     51|        retval = Py_True;
  ------------------
  |  |   26|     51|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1680|     51|        break;
 1681|       |
 1682|  3.69k|    case TYPE_INT:
  ------------------
  |  |   89|  3.69k|#define TYPE_INT                'i'  // All versions. 32-bit encoding.
  ------------------
  |  Branch (1682:5): [True: 3.69k, False: 81.8k]
  ------------------
 1683|  3.69k|        n = r_long(p);
 1684|  3.69k|        if (n == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1684:13): [True: 8, False: 3.68k]
  |  Branch (1684:24): [True: 0, False: 8]
  ------------------
 1685|      0|            break;
 1686|      0|        }
 1687|  3.69k|        retval = PyLong_FromLong(n);
 1688|  3.69k|        R_REF(retval);
  ------------------
  |  | 1652|  3.69k|#define R_REF(O) do{\
  |  | 1653|  3.69k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 170, False: 3.52k]
  |  |  ------------------
  |  | 1654|  3.69k|        O = r_ref(O, flag, p);\
  |  | 1655|  3.69k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 3.69k]
  |  |  ------------------
  ------------------
 1689|  3.69k|        break;
 1690|       |
 1691|      0|    case TYPE_INT64:
  ------------------
  |  |   95|      0|#define TYPE_INT64              'I'  // Not generated any more.
  ------------------
  |  Branch (1691:5): [True: 0, False: 85.5k]
  ------------------
 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|     12|    case TYPE_LONG:
  ------------------
  |  |   65|     12|#define TYPE_LONG               'l'  // See also TYPE_INT.
  ------------------
  |  Branch (1696:5): [True: 12, False: 85.5k]
  ------------------
 1697|     12|        retval = r_PyLong(p);
 1698|     12|        R_REF(retval);
  ------------------
  |  | 1652|     12|#define R_REF(O) do{\
  |  | 1653|     12|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 2, False: 10]
  |  |  ------------------
  |  | 1654|     12|        O = r_ref(O, flag, p);\
  |  | 1655|     12|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 12]
  |  |  ------------------
  ------------------
 1699|     12|        break;
 1700|       |
 1701|      0|    case TYPE_FLOAT:
  ------------------
  |  |   94|      0|#define TYPE_FLOAT              'f'  // Generated for version 0 only.
  ------------------
  |  Branch (1701:5): [True: 0, False: 85.5k]
  ------------------
 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|      4|    case TYPE_BINARY_FLOAT:
  ------------------
  |  |   63|      4|#define TYPE_BINARY_FLOAT       'g'  // Version 0 uses TYPE_FLOAT instead.
  ------------------
  |  Branch (1711:5): [True: 4, False: 85.5k]
  ------------------
 1712|      4|        {
 1713|      4|            double x = r_float_bin(p);
 1714|      4|            if (x == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1714:17): [True: 0, False: 4]
  |  Branch (1714:30): [True: 0, False: 0]
  ------------------
 1715|      0|                break;
 1716|      4|            retval = PyFloat_FromDouble(x);
 1717|      4|            R_REF(retval);
  ------------------
  |  | 1652|      4|#define R_REF(O) do{\
  |  | 1653|      4|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 1, False: 3]
  |  |  ------------------
  |  | 1654|      4|        O = r_ref(O, flag, p);\
  |  | 1655|      4|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1718|      4|            break;
 1719|      4|        }
 1720|       |
 1721|      0|    case TYPE_COMPLEX:
  ------------------
  |  |   93|      0|#define TYPE_COMPLEX            'x'  // Generated for version 0 only.
  ------------------
  |  Branch (1721:5): [True: 0, False: 85.5k]
  ------------------
 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: 85.5k]
  ------------------
 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|  10.2k|    case TYPE_STRING:
  ------------------
  |  |   66|  10.2k|#define TYPE_STRING             's'  // Bytes. (Name comes from Python 2.)
  ------------------
  |  Branch (1749:5): [True: 10.2k, False: 75.3k]
  ------------------
 1750|  10.2k|        {
 1751|  10.2k|            const char *ptr;
 1752|  10.2k|            n = r_long(p);
 1753|  10.2k|            if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  236|  10.2k|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1753:17): [True: 0, False: 10.2k]
  |  Branch (1753:26): [True: 0, False: 10.2k]
  ------------------
 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|  10.2k|            ptr = r_string(n, p);
 1761|  10.2k|            if (ptr == NULL) {
  ------------------
  |  Branch (1761:17): [True: 0, False: 10.2k]
  ------------------
 1762|      0|                break;
 1763|      0|            }
 1764|       |            // Get a singleton for 1-byte string
 1765|  10.2k|            retval = PyBytes_FromStringAndSize(ptr, n);  // can be NULL
 1766|  10.2k|            R_REF(retval);
  ------------------
  |  | 1652|  10.2k|#define R_REF(O) do{\
  |  | 1653|  10.2k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 492, False: 9.75k]
  |  |  ------------------
  |  | 1654|  10.2k|        O = r_ref(O, flag, p);\
  |  | 1655|  10.2k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 10.2k]
  |  |  ------------------
  ------------------
 1767|  10.2k|            break;
 1768|  10.2k|        }
 1769|       |
 1770|      0|    case TYPE_ASCII_INTERNED:
  ------------------
  |  |   84|      0|#define TYPE_ASCII_INTERNED     'A'
  ------------------
  |  Branch (1770:5): [True: 0, False: 85.5k]
  ------------------
 1771|      0|        is_interned = 1;
 1772|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1773|    308|    case TYPE_ASCII:
  ------------------
  |  |   83|    308|#define TYPE_ASCII              'a'
  ------------------
  |  Branch (1773:5): [True: 308, False: 85.2k]
  ------------------
 1774|    308|        n = r_long(p);
 1775|    308|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  236|    308|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1775:13): [True: 0, False: 308]
  |  Branch (1775:22): [True: 0, False: 308]
  ------------------
 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|    308|        goto _read_ascii;
 1783|       |
 1784|  17.5k|    case TYPE_SHORT_ASCII_INTERNED:
  ------------------
  |  |   86|  17.5k|#define TYPE_SHORT_ASCII_INTERNED 'Z'
  ------------------
  |  Branch (1784:5): [True: 17.5k, False: 68.0k]
  ------------------
 1785|  17.5k|        is_interned = 1;
 1786|  17.5k|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|  17.5k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1787|  20.5k|    case TYPE_SHORT_ASCII:
  ------------------
  |  |   85|  20.5k|#define TYPE_SHORT_ASCII        'z'
  ------------------
  |  Branch (1787:5): [True: 2.98k, False: 82.5k]
  ------------------
 1788|  20.5k|        n = r_byte(p);
 1789|  20.5k|        if (n == EOF) {
  ------------------
  |  Branch (1789:13): [True: 0, False: 20.5k]
  ------------------
 1790|      0|            break;
 1791|      0|        }
 1792|  20.8k|    _read_ascii:
 1793|  20.8k|        {
 1794|  20.8k|            const char *ptr;
 1795|  20.8k|            ptr = r_string(n, p);
 1796|  20.8k|            if (ptr == NULL)
  ------------------
  |  Branch (1796:17): [True: 0, False: 20.8k]
  ------------------
 1797|      0|                break;
 1798|  20.8k|            v = PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, ptr, n);
 1799|  20.8k|            if (v == NULL)
  ------------------
  |  Branch (1799:17): [True: 0, False: 20.8k]
  ------------------
 1800|      0|                break;
 1801|  20.8k|            if (is_interned) {
  ------------------
  |  Branch (1801:17): [True: 17.5k, False: 3.28k]
  ------------------
 1802|       |                // marshal is meant to serialize .pyc files with code
 1803|       |                // objects, and code-related strings are currently immortal.
 1804|  17.5k|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1805|  17.5k|                _PyUnicode_InternImmortal(interp, &v);
 1806|  17.5k|            }
 1807|  20.8k|            retval = v;
 1808|  20.8k|            R_REF(retval);
  ------------------
  |  | 1652|  20.8k|#define R_REF(O) do{\
  |  | 1653|  20.8k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 8.06k, False: 12.7k]
  |  |  ------------------
  |  | 1654|  20.8k|        O = r_ref(O, flag, p);\
  |  | 1655|  20.8k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 20.8k]
  |  |  ------------------
  ------------------
 1809|  20.8k|            break;
 1810|  20.8k|        }
 1811|       |
 1812|      0|    case TYPE_INTERNED:
  ------------------
  |  |   82|      0|#define TYPE_INTERNED           't' // Version 1+
  ------------------
  |  Branch (1812:5): [True: 0, False: 85.5k]
  ------------------
 1813|      0|        is_interned = 1;
 1814|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  667|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1815|    905|    case TYPE_UNICODE:
  ------------------
  |  |   72|    905|#define TYPE_UNICODE            'u'
  ------------------
  |  Branch (1815:5): [True: 905, False: 84.6k]
  ------------------
 1816|    905|        {
 1817|    905|        const char *buffer;
 1818|       |
 1819|    905|        n = r_long(p);
 1820|    905|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  236|    905|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1820:13): [True: 0, False: 905]
  |  Branch (1820:22): [True: 0, False: 905]
  ------------------
 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|    905|        if (n != 0) {
  ------------------
  |  Branch (1827:13): [True: 905, False: 0]
  ------------------
 1828|    905|            buffer = r_string(n, p);
 1829|    905|            if (buffer == NULL)
  ------------------
  |  Branch (1829:17): [True: 0, False: 905]
  ------------------
 1830|      0|                break;
 1831|    905|            v = PyUnicode_DecodeUTF8(buffer, n, "surrogatepass");
 1832|    905|        }
 1833|      0|        else {
 1834|      0|            v = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 1835|      0|        }
 1836|    905|        if (v == NULL)
  ------------------
  |  Branch (1836:13): [True: 0, False: 905]
  ------------------
 1837|      0|            break;
 1838|    905|        if (is_interned) {
  ------------------
  |  Branch (1838:13): [True: 0, False: 905]
  ------------------
 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|    905|        retval = v;
 1845|    905|        R_REF(retval);
  ------------------
  |  | 1652|    905|#define R_REF(O) do{\
  |  | 1653|    905|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 0, False: 905]
  |  |  ------------------
  |  | 1654|    905|        O = r_ref(O, flag, p);\
  |  | 1655|    905|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 905]
  |  |  ------------------
  ------------------
 1846|    905|        break;
 1847|    905|        }
 1848|       |
 1849|  8.26k|    case TYPE_SMALL_TUPLE:
  ------------------
  |  |   90|  8.26k|#define TYPE_SMALL_TUPLE        ')'  // Version 4+
  ------------------
  |  Branch (1849:5): [True: 8.26k, False: 77.2k]
  ------------------
 1850|  8.26k|        n = r_byte(p);
 1851|  8.26k|        if (n == EOF) {
  ------------------
  |  Branch (1851:13): [True: 0, False: 8.26k]
  ------------------
 1852|      0|            break;
 1853|      0|        }
 1854|  8.26k|        goto _read_tuple;
 1855|  8.26k|    case TYPE_TUPLE:
  ------------------
  |  |   67|      4|#define TYPE_TUPLE              '('  // See also TYPE_SMALL_TUPLE.
  ------------------
  |  Branch (1855:5): [True: 4, False: 85.5k]
  ------------------
 1856|      4|        n = r_long(p);
 1857|      4|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  236|      4|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1857:13): [True: 0, False: 4]
  |  Branch (1857:22): [True: 0, False: 4]
  ------------------
 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|  8.26k|    _read_tuple:
 1865|  8.26k|        idx = r_ref_reserve(flag, p);
 1866|  8.26k|        if (idx < 0)
  ------------------
  |  Branch (1866:13): [True: 0, False: 8.26k]
  ------------------
 1867|      0|            break;
 1868|  8.26k|        v = PyTuple_New(n);
 1869|  8.26k|        if (v == NULL)
  ------------------
  |  Branch (1869:13): [True: 0, False: 8.26k]
  ------------------
 1870|      0|            break;
 1871|       |
 1872|  58.2k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1872:21): [True: 50.0k, False: 8.26k]
  ------------------
 1873|  50.0k|            v2 = r_object(p);
 1874|  50.0k|            if ( v2 == NULL ) {
  ------------------
  |  Branch (1874:18): [True: 0, False: 50.0k]
  ------------------
 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|  50.0k|            PyTuple_SET_ITEM(v, i, v2);
  ------------------
  |  |   40|  50.0k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  50.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  50.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1882|  50.0k|        }
 1883|  8.26k|        retval = r_ref_insert(v, idx, flag, p);
 1884|  8.26k|        break;
 1885|       |
 1886|      0|    case TYPE_LIST:
  ------------------
  |  |   68|      0|#define TYPE_LIST               '['
  ------------------
  |  Branch (1886:5): [True: 0, False: 85.5k]
  ------------------
 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: 85.5k]
  ------------------
 1914|      0|    case TYPE_FROZENDICT:
  ------------------
  |  |   70|      0|#define TYPE_FROZENDICT         '}'
  ------------------
  |  Branch (1914:5): [True: 0, False: 85.5k]
  ------------------
 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: 85.5k]
  ------------------
 1961|     12|    case TYPE_FROZENSET:
  ------------------
  |  |   76|     12|#define TYPE_FROZENSET          '>'
  ------------------
  |  Branch (1961:5): [True: 12, False: 85.5k]
  ------------------
 1962|     12|        n = r_long(p);
 1963|     12|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  236|     12|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1963:13): [True: 0, False: 12]
  |  Branch (1963:22): [True: 0, False: 12]
  ------------------
 1964|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1964:17): [True: 0, False: 0]
  ------------------
 1965|      0|                PyErr_SetString(PyExc_ValueError,
 1966|      0|                    "bad marshal data (set size out of range)");
 1967|      0|            }
 1968|      0|            break;
 1969|      0|        }
 1970|       |
 1971|     12|        if (n == 0 && type == TYPE_FROZENSET) {
  ------------------
  |  |   76|      0|#define TYPE_FROZENSET          '>'
  ------------------
  |  Branch (1971:13): [True: 0, False: 12]
  |  Branch (1971:23): [True: 0, False: 0]
  ------------------
 1972|       |            /* call frozenset() to get the empty frozenset singleton */
 1973|      0|            v = _PyObject_CallNoArgs((PyObject*)&PyFrozenSet_Type);
 1974|      0|            if (v == NULL)
  ------------------
  |  Branch (1974:17): [True: 0, False: 0]
  ------------------
 1975|      0|                break;
 1976|      0|            R_REF(v);
  ------------------
  |  | 1652|      0|#define R_REF(O) do{\
  |  | 1653|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1654|      0|        O = r_ref(O, flag, p);\
  |  | 1655|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1977|      0|            retval = v;
 1978|      0|        }
 1979|     12|        else {
 1980|     12|            v = (type == TYPE_SET) ? PySet_New(NULL) : PyFrozenSet_New(NULL);
  ------------------
  |  |   75|     12|#define TYPE_SET                '<'
  ------------------
  |  Branch (1980:17): [True: 0, False: 12]
  ------------------
 1981|     12|            if (type == TYPE_SET) {
  ------------------
  |  |   75|     12|#define TYPE_SET                '<'
  ------------------
  |  Branch (1981:17): [True: 0, False: 12]
  ------------------
 1982|      0|                R_REF(v);
  ------------------
  |  | 1652|      0|#define R_REF(O) do{\
  |  | 1653|      0|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1653:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1654|      0|        O = r_ref(O, flag, p);\
  |  | 1655|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1655:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1983|     12|            } else {
 1984|       |                /* must use delayed registration of frozensets because they must
 1985|       |                 * be init with a refcount of 1
 1986|       |                 */
 1987|     12|                idx = r_ref_reserve(flag, p);
 1988|     12|                if (idx < 0)
  ------------------
  |  Branch (1988:21): [True: 0, False: 12]
  ------------------
 1989|      0|                    Py_CLEAR(v); /* signal error */
  ------------------
  |  |  487|      0|    do { \
  |  |  488|      0|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|      0|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  491|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|      0|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|      0|        } \
  |  |  494|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1990|     12|            }
 1991|     12|            if (v == NULL)
  ------------------
  |  Branch (1991:17): [True: 0, False: 12]
  ------------------
 1992|      0|                break;
 1993|       |
 1994|     58|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1994:25): [True: 46, False: 12]
  ------------------
 1995|     46|                v2 = r_object(p);
 1996|     46|                if ( v2 == NULL ) {
  ------------------
  |  Branch (1996:22): [True: 0, False: 46]
  ------------------
 1997|      0|                    if (!PyErr_Occurred())
  ------------------
  |  Branch (1997:25): [True: 0, False: 0]
  ------------------
 1998|      0|                        PyErr_SetString(PyExc_TypeError,
 1999|      0|                            "NULL object in marshal data for set");
 2000|      0|                    Py_SETREF(v, NULL);
  ------------------
  |  |  545|      0|    do { \
  |  |  546|      0|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  547|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  548|      0|        *_tmp_dst_ptr = (src); \
  |  |  549|      0|        Py_DECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (550:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2001|      0|                    break;
 2002|      0|                }
 2003|     46|                if (PySet_Add(v, v2) == -1) {
  ------------------
  |  Branch (2003:21): [True: 0, False: 46]
  ------------------
 2004|      0|                    Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2005|      0|                    Py_DECREF(v2);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2006|      0|                    v = NULL;
 2007|      0|                    break;
 2008|      0|                }
 2009|     46|                Py_DECREF(v2);
  ------------------
  |  |  430|     46|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2010|     46|            }
 2011|     12|            if (type != TYPE_SET)
  ------------------
  |  |   75|     12|#define TYPE_SET                '<'
  ------------------
  |  Branch (2011:17): [True: 12, False: 0]
  ------------------
 2012|     12|                v = r_ref_insert(v, idx, flag, p);
 2013|     12|            retval = v;
 2014|     12|        }
 2015|     12|        break;
 2016|       |
 2017|  3.49k|    case TYPE_CODE:
  ------------------
  |  |   71|  3.49k|#define TYPE_CODE               'c'
  ------------------
  |  Branch (2017:5): [True: 3.49k, False: 82.0k]
  ------------------
 2018|  3.49k|        {
 2019|  3.49k|            int argcount;
 2020|  3.49k|            int posonlyargcount;
 2021|  3.49k|            int kwonlyargcount;
 2022|  3.49k|            int stacksize;
 2023|  3.49k|            int flags;
 2024|  3.49k|            PyObject *code = NULL;
 2025|  3.49k|            PyObject *consts = NULL;
 2026|  3.49k|            PyObject *names = NULL;
 2027|  3.49k|            PyObject *localsplusnames = NULL;
 2028|  3.49k|            PyObject *localspluskinds = NULL;
 2029|  3.49k|            PyObject *filename = NULL;
 2030|  3.49k|            PyObject *name = NULL;
 2031|  3.49k|            PyObject *qualname = NULL;
 2032|  3.49k|            int firstlineno;
 2033|  3.49k|            PyObject* linetable = NULL;
 2034|  3.49k|            PyObject *exceptiontable = NULL;
 2035|       |
 2036|  3.49k|            if (!p->allow_code) {
  ------------------
  |  Branch (2036:17): [True: 0, False: 3.49k]
  ------------------
 2037|      0|                PyErr_SetString(PyExc_ValueError,
 2038|      0|                                "unmarshalling code objects is disallowed");
 2039|      0|                break;
 2040|      0|            }
 2041|  3.49k|            idx = r_ref_reserve(flag, p);
 2042|  3.49k|            if (idx < 0)
  ------------------
  |  Branch (2042:17): [True: 0, False: 3.49k]
  ------------------
 2043|      0|                break;
 2044|       |
 2045|  3.49k|            v = NULL;
 2046|       |
 2047|       |            /* XXX ignore long->int overflows for now */
 2048|  3.49k|            argcount = (int)r_long(p);
 2049|  3.49k|            if (argcount == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2049:17): [True: 0, False: 3.49k]
  |  Branch (2049:35): [True: 0, False: 0]
  ------------------
 2050|      0|                goto code_error;
 2051|  3.49k|            posonlyargcount = (int)r_long(p);
 2052|  3.49k|            if (posonlyargcount == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (2052:17): [True: 0, False: 3.49k]
  |  Branch (2052:42): [True: 0, False: 0]
  ------------------
 2053|      0|                goto code_error;
 2054|      0|            }
 2055|  3.49k|            kwonlyargcount = (int)r_long(p);
 2056|  3.49k|            if (kwonlyargcount == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2056:17): [True: 0, False: 3.49k]
  |  Branch (2056:41): [True: 0, False: 0]
  ------------------
 2057|      0|                goto code_error;
 2058|  3.49k|            stacksize = (int)r_long(p);
 2059|  3.49k|            if (stacksize == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2059:17): [True: 0, False: 3.49k]
  |  Branch (2059:36): [True: 0, False: 0]
  ------------------
 2060|      0|                goto code_error;
 2061|  3.49k|            flags = (int)r_long(p);
 2062|  3.49k|            if (flags == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2062:17): [True: 0, False: 3.49k]
  |  Branch (2062:32): [True: 0, False: 0]
  ------------------
 2063|      0|                goto code_error;
 2064|  3.49k|            code = r_object(p);
 2065|  3.49k|            if (code == NULL)
  ------------------
  |  Branch (2065:17): [True: 0, False: 3.49k]
  ------------------
 2066|      0|                goto code_error;
 2067|  3.49k|            consts = r_object(p);
 2068|  3.49k|            if (consts == NULL)
  ------------------
  |  Branch (2068:17): [True: 0, False: 3.49k]
  ------------------
 2069|      0|                goto code_error;
 2070|  3.49k|            names = r_object(p);
 2071|  3.49k|            if (names == NULL)
  ------------------
  |  Branch (2071:17): [True: 0, False: 3.49k]
  ------------------
 2072|      0|                goto code_error;
 2073|  3.49k|            localsplusnames = r_object(p);
 2074|  3.49k|            if (localsplusnames == NULL)
  ------------------
  |  Branch (2074:17): [True: 0, False: 3.49k]
  ------------------
 2075|      0|                goto code_error;
 2076|  3.49k|            localspluskinds = r_object(p);
 2077|  3.49k|            if (localspluskinds == NULL)
  ------------------
  |  Branch (2077:17): [True: 0, False: 3.49k]
  ------------------
 2078|      0|                goto code_error;
 2079|  3.49k|            filename = r_object(p);
 2080|  3.49k|            if (filename == NULL)
  ------------------
  |  Branch (2080:17): [True: 0, False: 3.49k]
  ------------------
 2081|      0|                goto code_error;
 2082|  3.49k|            name = r_object(p);
 2083|  3.49k|            if (name == NULL)
  ------------------
  |  Branch (2083:17): [True: 0, False: 3.49k]
  ------------------
 2084|      0|                goto code_error;
 2085|  3.49k|            qualname = r_object(p);
 2086|  3.49k|            if (qualname == NULL)
  ------------------
  |  Branch (2086:17): [True: 0, False: 3.49k]
  ------------------
 2087|      0|                goto code_error;
 2088|  3.49k|            firstlineno = (int)r_long(p);
 2089|  3.49k|            if (firstlineno == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2089:17): [True: 0, False: 3.49k]
  |  Branch (2089:38): [True: 0, False: 0]
  ------------------
 2090|      0|                goto code_error;
 2091|  3.49k|            linetable = r_object(p);
 2092|  3.49k|            if (linetable == NULL)
  ------------------
  |  Branch (2092:17): [True: 0, False: 3.49k]
  ------------------
 2093|      0|                goto code_error;
 2094|  3.49k|            exceptiontable = r_object(p);
 2095|  3.49k|            if (exceptiontable == NULL)
  ------------------
  |  Branch (2095:17): [True: 0, False: 3.49k]
  ------------------
 2096|      0|                goto code_error;
 2097|       |
 2098|  3.49k|            struct _PyCodeConstructor con = {
 2099|  3.49k|                .filename = filename,
 2100|  3.49k|                .name = name,
 2101|  3.49k|                .qualname = qualname,
 2102|  3.49k|                .flags = flags,
 2103|       |
 2104|  3.49k|                .code = code,
 2105|  3.49k|                .firstlineno = firstlineno,
 2106|  3.49k|                .linetable = linetable,
 2107|       |
 2108|  3.49k|                .consts = consts,
 2109|  3.49k|                .names = names,
 2110|       |
 2111|  3.49k|                .localsplusnames = localsplusnames,
 2112|  3.49k|                .localspluskinds = localspluskinds,
 2113|       |
 2114|  3.49k|                .argcount = argcount,
 2115|  3.49k|                .posonlyargcount = posonlyargcount,
 2116|  3.49k|                .kwonlyargcount = kwonlyargcount,
 2117|       |
 2118|  3.49k|                .stacksize = stacksize,
 2119|       |
 2120|  3.49k|                .exceptiontable = exceptiontable,
 2121|  3.49k|            };
 2122|       |
 2123|  3.49k|            if (_PyCode_Validate(&con) < 0) {
  ------------------
  |  Branch (2123:17): [True: 0, False: 3.49k]
  ------------------
 2124|      0|                goto code_error;
 2125|      0|            }
 2126|       |
 2127|  3.49k|            v = (PyObject *)_PyCode_New(&con);
 2128|  3.49k|            if (v == NULL) {
  ------------------
  |  Branch (2128:17): [True: 0, False: 3.49k]
  ------------------
 2129|      0|                goto code_error;
 2130|      0|            }
 2131|       |
 2132|  3.49k|            v = r_ref_insert(v, idx, flag, p);
 2133|       |
 2134|  3.49k|          code_error:
 2135|  3.49k|            if (v == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (2135:17): [True: 0, False: 3.49k]
  |  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.49k|            Py_XDECREF(code);
  ------------------
  |  |  621|  3.49k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2140|  3.49k|            Py_XDECREF(consts);
  ------------------
  |  |  621|  3.49k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2141|  3.49k|            Py_XDECREF(names);
  ------------------
  |  |  621|  3.49k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2142|  3.49k|            Py_XDECREF(localsplusnames);
  ------------------
  |  |  621|  3.49k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2143|  3.49k|            Py_XDECREF(localspluskinds);
  ------------------
  |  |  621|  3.49k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2144|  3.49k|            Py_XDECREF(filename);
  ------------------
  |  |  621|  3.49k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2145|  3.49k|            Py_XDECREF(name);
  ------------------
  |  |  621|  3.49k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2146|  3.49k|            Py_XDECREF(qualname);
  ------------------
  |  |  621|  3.49k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2147|  3.49k|            Py_XDECREF(linetable);
  ------------------
  |  |  621|  3.49k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2148|  3.49k|            Py_XDECREF(exceptiontable);
  ------------------
  |  |  621|  3.49k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2149|  3.49k|        }
 2150|      0|        retval = v;
 2151|  3.49k|        break;
 2152|       |
 2153|  37.3k|    case TYPE_REF:
  ------------------
  |  |   98|  37.3k|#define TYPE_REF                'r'
  ------------------
  |  Branch (2153:5): [True: 37.3k, False: 48.2k]
  ------------------
 2154|  37.3k|        n = r_long(p);
 2155|  37.3k|        if (n < 0 || n >= PyList_GET_SIZE(p->refs)) {
  ------------------
  |  |   38|  37.3k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2155:13): [True: 0, False: 37.3k]
  |  Branch (2155:22): [True: 0, False: 37.3k]
  ------------------
 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|  37.3k|        v = PyList_GET_ITEM(p->refs, n);
  ------------------
  |  |   40|  37.3k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  37.3k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2162:13): [True: 37.3k, False: 0]
  ------------------
 2163|  37.3k|        if (v == Py_None) {
  ------------------
  |  |  616|  37.3k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2163:13): [True: 0, False: 37.3k]
  ------------------
 2164|      0|            PyErr_SetString(PyExc_ValueError, "bad marshal data (invalid reference)");
 2165|      0|            break;
 2166|      0|        }
 2167|  37.3k|        retval = Py_NewRef(v);
  ------------------
  |  |  647|  37.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  37.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2168|  37.3k|        break;
 2169|       |
 2170|    131|    case TYPE_SLICE:
  ------------------
  |  |   78|    131|#define TYPE_SLICE              ':'
  ------------------
  |  Branch (2170:5): [True: 131, False: 85.4k]
  ------------------
 2171|    131|    {
 2172|    131|        Py_ssize_t idx = r_ref_reserve(flag, p);
 2173|    131|        if (idx < 0) {
  ------------------
  |  Branch (2173:13): [True: 0, False: 131]
  ------------------
 2174|      0|            break;
 2175|      0|        }
 2176|    131|        PyObject *stop = NULL;
 2177|    131|        PyObject *step = NULL;
 2178|    131|        PyObject *start = r_object(p);
 2179|    131|        if (start == NULL) {
  ------------------
  |  Branch (2179:13): [True: 0, False: 131]
  ------------------
 2180|      0|            goto cleanup;
 2181|      0|        }
 2182|    131|        stop = r_object(p);
 2183|    131|        if (stop == NULL) {
  ------------------
  |  Branch (2183:13): [True: 0, False: 131]
  ------------------
 2184|      0|            goto cleanup;
 2185|      0|        }
 2186|    131|        step = r_object(p);
 2187|    131|        if (step == NULL) {
  ------------------
  |  Branch (2187:13): [True: 0, False: 131]
  ------------------
 2188|      0|            goto cleanup;
 2189|      0|        }
 2190|    131|        retval = PySlice_New(start, stop, step);
 2191|    131|        r_ref_insert(retval, idx, flag, p);
 2192|    131|    cleanup:
 2193|    131|        Py_XDECREF(start);
  ------------------
  |  |  621|    131|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    131|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2194|    131|        Py_XDECREF(stop);
  ------------------
  |  |  621|    131|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    131|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2195|    131|        Py_XDECREF(step);
  ------------------
  |  |  621|    131|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    131|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2196|    131|        break;
 2197|    131|    }
 2198|       |
 2199|      0|    default:
  ------------------
  |  Branch (2199:5): [True: 0, False: 85.5k]
  ------------------
 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|  85.5k|    }
 2206|  85.5k|    p->depth--;
 2207|  85.5k|    return retval;
 2208|  85.5k|}
marshal.c:r_byte:
 1350|   114k|{
 1351|   114k|    if (p->ptr != NULL) {
  ------------------
  |  Branch (1351:9): [True: 114k, False: 0]
  ------------------
 1352|   114k|        if (p->ptr < p->end) {
  ------------------
  |  Branch (1352:13): [True: 114k, False: 0]
  ------------------
 1353|   114k|            return (unsigned char) *p->ptr++;
 1354|   114k|        }
 1355|   114k|    }
 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|   114k|}
marshal.c:r_ref:
 1610|  8.72k|{
 1611|  8.72k|    assert(flag & FLAG_REF);
  ------------------
  |  Branch (1611:5): [True: 8.72k, False: 0]
  ------------------
 1612|  8.72k|    if (o == NULL)
  ------------------
  |  Branch (1612:9): [True: 0, False: 8.72k]
  ------------------
 1613|      0|        return NULL;
 1614|  8.72k|    if (PyList_Append(p->refs, o) < 0) {
  ------------------
  |  Branch (1614:9): [True: 0, False: 8.72k]
  ------------------
 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|  8.72k|    return o;
 1619|  8.72k|}
marshal.c:r_PyLong:
 1487|     12|{
 1488|     12|    long n = r_long(p);
 1489|     12|    if (n == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1489:9): [True: 0, False: 12]
  |  Branch (1489:20): [True: 0, False: 0]
  ------------------
 1490|      0|        return NULL;
 1491|      0|    }
 1492|     12|    if (n < -SIZE32_MAX || n > SIZE32_MAX) {
  ------------------
  |  |  236|     24|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
                  if (n < -SIZE32_MAX || n > SIZE32_MAX) {
  ------------------
  |  |  236|     12|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1492:9): [True: 0, False: 12]
  |  Branch (1492:28): [True: 0, False: 12]
  ------------------
 1493|      0|        PyErr_SetString(PyExc_ValueError,
 1494|      0|                       "bad marshal data (long size out of range)");
 1495|      0|        return NULL;
 1496|      0|    }
 1497|       |
 1498|     12|    const PyLongLayout *layout = PyLong_GetNativeLayout();
 1499|     12|    Py_ssize_t marshal_ratio = layout->bits_per_digit/PyLong_MARSHAL_SHIFT;
  ------------------
  |  |  271|     12|#define PyLong_MARSHAL_SHIFT 15
  ------------------
 1500|       |
 1501|       |    /* must be a multiple of PyLong_MARSHAL_SHIFT */
 1502|     12|    assert(layout->bits_per_digit % PyLong_MARSHAL_SHIFT == 0);
  ------------------
  |  Branch (1502:5): [True: 12, False: 0]
  ------------------
 1503|     12|    assert(layout->bits_per_digit >= PyLong_MARSHAL_SHIFT);
  ------------------
  |  Branch (1503:5): [True: 12, False: 0]
  ------------------
 1504|       |
 1505|       |    /* other assumptions on PyLongObject internals */
 1506|     12|    assert(layout->bits_per_digit <= 32);
  ------------------
  |  Branch (1506:5): [True: 12, False: 0]
  ------------------
 1507|     12|    assert(layout->digits_order == -1);
  ------------------
  |  Branch (1507:5): [True: 12, False: 0]
  ------------------
 1508|     12|    assert(layout->digit_endianness == (PY_LITTLE_ENDIAN ? -1 : 1));
  ------------------
  |  Branch (1508:5): [True: 12, Folded]
  |  Branch (1508:5): [True: 12, False: 0]
  ------------------
 1509|     12|    assert(layout->digit_size == 2 || layout->digit_size == 4);
  ------------------
  |  Branch (1509:5): [True: 0, False: 12]
  |  Branch (1509:5): [True: 12, False: 0]
  ------------------
 1510|       |
 1511|     12|    Py_ssize_t size = 1 + (Py_ABS(n) - 1) / marshal_ratio;
  ------------------
  |  |  139|     12|       __extension__ \
  |  |  140|     12|       ({ _Py_TYPEOF (x) _PyABS_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     12|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  141|     12|          _PyABS_x < 0 ? -_PyABS_x : _PyABS_x; })
  |  |  ------------------
  |  |  |  Branch (141:11): [True: 1, False: 11]
  |  |  ------------------
  ------------------
 1512|       |
 1513|     12|    assert(size >= 1);
  ------------------
  |  Branch (1513:5): [True: 12, False: 0]
  ------------------
 1514|       |
 1515|     12|    int shorts_in_top_digit = 1 + (Py_ABS(n) - 1) % marshal_ratio;
  ------------------
  |  |  139|     12|       __extension__ \
  |  |  140|     12|       ({ _Py_TYPEOF (x) _PyABS_x = (x); \
  |  |  ------------------
  |  |  |  |  549|     12|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  141|     12|          _PyABS_x < 0 ? -_PyABS_x : _PyABS_x; })
  |  |  ------------------
  |  |  |  Branch (141:11): [True: 1, False: 11]
  |  |  ------------------
  ------------------
 1516|     12|    void *digits;
 1517|     12|    PyLongWriter *writer = PyLongWriter_Create(n < 0, size, &digits);
 1518|       |
 1519|     12|    if (writer == NULL) {
  ------------------
  |  Branch (1519:9): [True: 0, False: 12]
  ------------------
 1520|      0|        return NULL;
 1521|      0|    }
 1522|       |
 1523|     12|    int ret;
 1524|       |
 1525|     12|    if (layout->digit_size == 4) {
  ------------------
  |  Branch (1525:9): [True: 12, False: 0]
  ------------------
 1526|     12|        ret = _w_digits32(digits, size, marshal_ratio, shorts_in_top_digit, p);
 1527|     12|    }
 1528|      0|    else {
 1529|      0|        ret = _w_digits16(digits, size, marshal_ratio, shorts_in_top_digit, p);
 1530|      0|    }
 1531|     12|    if (ret < 0) {
  ------------------
  |  Branch (1531:9): [True: 0, False: 12]
  ------------------
 1532|      0|        PyLongWriter_Discard(writer);
 1533|      0|        return NULL;
 1534|      0|    }
 1535|     12|    return PyLongWriter_Finish(writer);
 1536|     12|}
marshal.c:r_float_bin:
 1540|      4|{
 1541|      4|    const char *buf = r_string(8, p);
 1542|      4|    if (buf == NULL)
  ------------------
  |  Branch (1542:9): [True: 0, False: 4]
  ------------------
 1543|      0|        return -1;
 1544|      4|    return PyFloat_Unpack8(buf, 1);
 1545|      4|}
marshal.c:r_ref_reserve:
 1571|  11.9k|{
 1572|  11.9k|    if (flag) { /* currently only FLAG_REF is defined */
  ------------------
  |  Branch (1572:9): [True: 1.11k, False: 10.7k]
  ------------------
 1573|  1.11k|        Py_ssize_t idx = PyList_GET_SIZE(p->refs);
  ------------------
  |  |   38|  1.11k|#define PyList_GET_SIZE(op) PyList_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1574|  1.11k|        if (idx >= 0x7ffffffe) {
  ------------------
  |  Branch (1574:13): [True: 0, False: 1.11k]
  ------------------
 1575|      0|            PyErr_SetString(PyExc_ValueError, "bad marshal data (index list too large)");
 1576|      0|            return -1;
 1577|      0|        }
 1578|  1.11k|        if (PyList_Append(p->refs, Py_None) < 0)
  ------------------
  |  |  616|  1.11k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1578:13): [True: 0, False: 1.11k]
  ------------------
 1579|      0|            return -1;
 1580|  1.11k|        return idx;
 1581|  1.11k|    } else
 1582|  10.7k|        return 0;
 1583|  11.9k|}
marshal.c:r_ref_insert:
 1595|  11.9k|{
 1596|  11.9k|    if (o != NULL && flag) { /* currently only FLAG_REF is defined */
  ------------------
  |  Branch (1596:9): [True: 11.9k, False: 0]
  |  Branch (1596:22): [True: 1.11k, False: 10.7k]
  ------------------
 1597|  1.11k|        PyObject *tmp = PyList_GET_ITEM(p->refs, idx);
  ------------------
  |  |   40|  1.11k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  1.11k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1597:25): [True: 1.11k, False: 0]
  ------------------
 1598|  1.11k|        PyList_SET_ITEM(p->refs, idx, Py_NewRef(o));
  ------------------
  |  |   50|  1.11k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1599|  1.11k|        Py_DECREF(tmp);
  ------------------
  |  |  430|  1.11k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1600|  1.11k|    }
 1601|  11.9k|    return o;
 1602|  11.9k|}
marshal.c:marshal_loads_impl:
 2552|    101|{
 2553|    101|    RFILE rf;
 2554|    101|    char *s = bytes->buf;
 2555|    101|    Py_ssize_t n = bytes->len;
 2556|    101|    PyObject* result;
 2557|    101|    rf.allow_code = allow_code;
 2558|    101|    rf.fp = NULL;
 2559|    101|    rf.readable = NULL;
 2560|    101|    rf.ptr = s;
 2561|    101|    rf.end = s + n;
 2562|    101|    rf.depth = 0;
 2563|    101|    if ((rf.refs = PyList_New(0)) == NULL)
  ------------------
  |  Branch (2563:9): [True: 0, False: 101]
  ------------------
 2564|      0|        return NULL;
 2565|    101|    result = read_object(&rf);
 2566|    101|    Py_DECREF(rf.refs);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2567|    101|    return result;
 2568|    101|}
marshal.c:marshal_module_exec:
 2611|      2|{
 2612|      2|    if (PyModule_AddIntConstant(mod, "version", Py_MARSHAL_VERSION) < 0) {
  ------------------
  |  |    9|      2|#define Py_MARSHAL_VERSION 6
  ------------------
  |  Branch (2612:9): [True: 0, False: 2]
  ------------------
 2613|      0|        return -1;
 2614|      0|    }
 2615|      2|    return 0;
 2616|      2|}

Py_BuildValue:
  497|  43.6k|{
  498|  43.6k|    va_list va;
  499|  43.6k|    PyObject* retval;
  500|  43.6k|    va_start(va, format);
  501|  43.6k|    retval = va_build_value(format, va);
  502|       |    va_end(va);
  503|  43.6k|    return retval;
  504|  43.6k|}
_Py_VaBuildStack:
  555|  77.8k|{
  556|  77.8k|    const char *f;
  557|  77.8k|    Py_ssize_t n;
  558|  77.8k|    va_list lva;
  559|  77.8k|    PyObject **stack;
  560|  77.8k|    int res;
  561|       |
  562|  77.8k|    n = countformat(format, '\0');
  563|  77.8k|    if (n < 0) {
  ------------------
  |  Branch (563:9): [True: 0, False: 77.8k]
  ------------------
  564|      0|        *p_nargs = 0;
  565|      0|        return NULL;
  566|      0|    }
  567|       |
  568|  77.8k|    if (n == 0) {
  ------------------
  |  Branch (568:9): [True: 0, False: 77.8k]
  ------------------
  569|      0|        *p_nargs = 0;
  570|      0|        return small_stack;
  571|      0|    }
  572|       |
  573|  77.8k|    if (n <= small_stack_len) {
  ------------------
  |  Branch (573:9): [True: 77.8k, False: 12]
  ------------------
  574|  77.8k|        stack = small_stack;
  575|  77.8k|    }
  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|  77.8k|    va_copy(lva, va);
  585|  77.8k|    f = format;
  586|  77.8k|    res = do_mkstack(stack, &f, &lva, '\0', n);
  587|  77.8k|    va_end(lva);
  588|       |
  589|  77.8k|    if (res < 0) {
  ------------------
  |  Branch (589:9): [True: 0, False: 77.8k]
  ------------------
  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|  77.8k|    *p_nargs = n;
  597|  77.8k|    return stack;
  598|  77.8k|}
PyModule_AddObjectRef:
  603|    806|{
  604|    806|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   12|    806|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|    806|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    806|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    806|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (604:9): [True: 0, False: 806]
  ------------------
  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|    806|    if (!value) {
  ------------------
  |  Branch (610:9): [True: 0, False: 806]
  ------------------
  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|    806|    PyObject *dict = PyModule_GetDict(mod);
  620|    806|    if (dict == NULL) {
  ------------------
  |  Branch (620:9): [True: 0, False: 806]
  ------------------
  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|    806|    return PyDict_SetItemString(dict, name, value);
  627|    806|}
PyModule_Add:
  631|    651|{
  632|    651|    int res = PyModule_AddObjectRef(mod, name, value);
  633|    651|    Py_XDECREF(value);
  ------------------
  |  |  621|    651|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    651|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    651|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    651|    return res;
  635|    651|}
PyModule_AddIntConstant:
  649|    580|{
  650|    580|    return PyModule_Add(m, name, PyLong_FromLong(value));
  651|    580|}
PyModule_AddStringConstant:
  655|      2|{
  656|      2|    return PyModule_Add(m, name, PyUnicode_FromString(value));
  657|      2|}
PyModule_AddType:
  661|     80|{
  662|     80|    if (!_PyType_IsReady(type) && PyType_Ready(type) < 0) {
  ------------------
  |  Branch (662:9): [True: 0, False: 80]
  |  Branch (662:35): [True: 0, False: 0]
  ------------------
  663|      0|        return -1;
  664|      0|    }
  665|       |
  666|     80|    const char *name = _PyType_Name(type);
  667|     80|    assert(name != NULL);
  ------------------
  |  Branch (667:5): [True: 80, False: 0]
  ------------------
  668|       |
  669|     80|    return PyModule_AddObjectRef(module, name, (PyObject *)type);
  670|     80|}
PyABIInfo_Check:
  707|     39|{
  708|     39|    if (!info) {
  ------------------
  |  Branch (708:9): [True: 0, False: 39]
  ------------------
  709|      0|        return _abiinfo_raise(module_name, "NULL PyABIInfo");
  710|      0|    }
  711|       |
  712|       |    /* abiinfo_major_version */
  713|     39|    if (info->abiinfo_major_version == 0) {
  ------------------
  |  Branch (713:9): [True: 0, False: 39]
  ------------------
  714|      0|        return 0;
  715|      0|    }
  716|     39|    if (info->abiinfo_major_version > 1) {
  ------------------
  |  Branch (716:9): [True: 0, False: 39]
  ------------------
  717|      0|        return _abiinfo_raise(module_name, "PyABIInfo version too high");
  718|      0|    }
  719|       |
  720|       |    /* Internal ABI */
  721|     39|    if (info->flags & PyABIInfo_INTERNAL) {
  ------------------
  |  |   97|     39|#define PyABIInfo_INTERNAL      0x0008
  ------------------
  |  Branch (721:9): [True: 39, False: 0]
  ------------------
  722|     39|        if (info->abi_version && (info->abi_version != PY_VERSION_HEX)) {
  ------------------
  |  |   43|     39|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|     39|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|     39|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|     39|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|     39|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|     39|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|     39|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|     39|    PY_MAJOR_VERSION,                         \
  |  |   45|     39|    PY_MINOR_VERSION,                         \
  |  |   46|     39|    PY_MICRO_VERSION,                         \
  |  |   47|     39|    PY_RELEASE_LEVEL,                         \
  |  |   48|     39|    PY_RELEASE_SERIAL)
  ------------------
  |  Branch (722:13): [True: 39, False: 0]
  |  Branch (722:34): [True: 0, False: 39]
  ------------------
  723|      0|            return _abiinfo_raise(
  724|      0|                module_name,
  725|      0|                "incompatible internal ABI (0x%x != 0x%x)",
  726|      0|                info->abi_version, PY_VERSION_HEX);
  ------------------
  |  |   43|      0|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|      0|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|      0|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|      0|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|      0|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|      0|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|      0|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|      0|    PY_MAJOR_VERSION,                         \
  |  |   45|      0|    PY_MINOR_VERSION,                         \
  |  |   46|      0|    PY_MICRO_VERSION,                         \
  |  |   47|      0|    PY_RELEASE_LEVEL,                         \
  |  |   48|      0|    PY_RELEASE_SERIAL)
  ------------------
  727|      0|        }
  728|     39|    }
  729|       |
  730|     39|#define XY_MASK 0xffff0000
  731|     39|    if (info->flags & PyABIInfo_STABLE) {
  ------------------
  |  |   94|     39|#define PyABIInfo_STABLE        0x0001
  ------------------
  |  Branch (731:9): [True: 0, False: 39]
  ------------------
  732|       |        /* Greater-than major.minor version check */
  733|      0|        if (info->abi_version) {
  ------------------
  |  Branch (733:13): [True: 0, False: 0]
  ------------------
  734|      0|            if ((info->abi_version & XY_MASK) > (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|      0|#define XY_MASK 0xffff0000
  ------------------
                          if ((info->abi_version & XY_MASK) > (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |   43|      0|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|      0|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|      0|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|      0|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|      0|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|      0|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|      0|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|      0|    PY_MAJOR_VERSION,                         \
  |  |   45|      0|    PY_MINOR_VERSION,                         \
  |  |   46|      0|    PY_MICRO_VERSION,                         \
  |  |   47|      0|    PY_RELEASE_LEVEL,                         \
  |  |   48|      0|    PY_RELEASE_SERIAL)
  ------------------
                          if ((info->abi_version & XY_MASK) > (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|      0|#define XY_MASK 0xffff0000
  ------------------
  |  Branch (734:17): [True: 0, False: 0]
  ------------------
  735|      0|                return _abiinfo_raise(
  736|      0|                    module_name,
  737|      0|                    "incompatible future stable ABI version (%d.%d)",
  738|      0|                    ((info->abi_version) >> 24) & 0xff,
  739|      0|                    ((info->abi_version) >> 16) & 0xff);
  740|      0|            }
  741|      0|            if (info->abi_version < Py_PACK_VERSION(3, 2)) {
  ------------------
  |  |  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|     39|    else {
  755|       |        /* Exact major.minor version check */
  756|     39|        if (info->abi_version) {
  ------------------
  |  Branch (756:13): [True: 39, False: 0]
  ------------------
  757|     39|            if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|     39|#define XY_MASK 0xffff0000
  ------------------
                          if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |   43|     39|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|     39|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|     39|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|     39|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|     39|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|     39|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|     39|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|     39|    PY_MAJOR_VERSION,                         \
  |  |   45|     39|    PY_MINOR_VERSION,                         \
  |  |   46|     39|    PY_MICRO_VERSION,                         \
  |  |   47|     39|    PY_RELEASE_LEVEL,                         \
  |  |   48|     39|    PY_RELEASE_SERIAL)
  ------------------
                          if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|     39|#define XY_MASK 0xffff0000
  ------------------
  |  Branch (757:17): [True: 0, False: 39]
  ------------------
  758|      0|                return _abiinfo_raise(
  759|      0|                    module_name,
  760|      0|                    "incompatible ABI version (%d.%d)",
  761|      0|                    ((info->abi_version) >> 24) & 0xff,
  762|      0|                    ((info->abi_version) >> 16) & 0xff);
  763|      0|            }
  764|     39|        }
  765|     39|    }
  766|     39|#undef XY_MASK
  767|       |
  768|       |    /* Free-threading/GIL */
  769|     39|    uint16_t gilflags = info->flags & (PyABIInfo_GIL | PyABIInfo_FREETHREADED);
  ------------------
  |  |   95|     39|#define PyABIInfo_GIL           0x0002
  ------------------
                  uint16_t gilflags = info->flags & (PyABIInfo_GIL | PyABIInfo_FREETHREADED);
  ------------------
  |  |   96|     39|#define PyABIInfo_FREETHREADED  0x0004
  ------------------
  770|       |#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|     39|    if (gilflags == PyABIInfo_FREETHREADED) {
  ------------------
  |  |   96|     39|#define PyABIInfo_FREETHREADED  0x0004
  ------------------
  |  Branch (776:9): [True: 0, False: 39]
  ------------------
  777|      0|        return _abiinfo_raise(module_name,
  778|      0|                              "only compatible with free-threaded CPython");
  779|      0|    }
  780|     39|#endif
  781|       |
  782|     39|    return 0;
  783|     39|}
modsupport.c:va_build_value:
  531|  43.6k|{
  532|  43.6k|    const char *f = format;
  533|  43.6k|    Py_ssize_t n = countformat(f, '\0');
  534|  43.6k|    va_list lva;
  535|  43.6k|    PyObject *retval;
  536|       |
  537|  43.6k|    if (n < 0)
  ------------------
  |  Branch (537:9): [True: 0, False: 43.6k]
  ------------------
  538|      0|        return NULL;
  539|  43.6k|    if (n == 0) {
  ------------------
  |  Branch (539:9): [True: 0, False: 43.6k]
  ------------------
  540|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  541|      0|    }
  542|  43.6k|    va_copy(lva, va);
  543|  43.6k|    if (n == 1) {
  ------------------
  |  Branch (543:9): [True: 32.4k, False: 11.1k]
  ------------------
  544|  32.4k|        retval = do_mkvalue(&f, &lva);
  545|  32.4k|    } else {
  546|  11.1k|        retval = do_mktuple(&f, &lva, '\0', n);
  547|  11.1k|    }
  548|       |    va_end(lva);
  549|  43.6k|    return retval;
  550|  43.6k|}
modsupport.c:do_mkvalue:
  287|   592k|{
  288|   592k|    for (;;) {
  289|   592k|        switch (*(*p_format)++) {
  290|  35.5k|        case '(':
  ------------------
  |  Branch (290:9): [True: 35.5k, False: 557k]
  ------------------
  291|  35.5k|            return do_mktuple(p_format, p_va, ')',
  292|  35.5k|                              countformat(*p_format, ')'));
  293|       |
  294|    100|        case '[':
  ------------------
  |  Branch (294:9): [True: 100, False: 592k]
  ------------------
  295|    100|            return do_mklist(p_format, p_va, ']',
  296|    100|                             countformat(*p_format, ']'));
  297|       |
  298|    129|        case '{':
  ------------------
  |  Branch (298:9): [True: 129, False: 592k]
  ------------------
  299|    129|            return do_mkdict(p_format, p_va, '}',
  300|    129|                             countformat(*p_format, '}'));
  301|       |
  302|      0|        case 'b':
  ------------------
  |  Branch (302:9): [True: 0, False: 592k]
  ------------------
  303|      0|        case 'B':
  ------------------
  |  Branch (303:9): [True: 0, False: 592k]
  ------------------
  304|      0|        case 'h':
  ------------------
  |  Branch (304:9): [True: 0, False: 592k]
  ------------------
  305|  99.8k|        case 'i':
  ------------------
  |  Branch (305:9): [True: 99.8k, False: 492k]
  ------------------
  306|  99.8k|            return PyLong_FromLong((long)va_arg(*p_va, int));
  307|       |
  308|      0|        case 'H':
  ------------------
  |  Branch (308:9): [True: 0, False: 592k]
  ------------------
  309|      0|            return PyLong_FromLong((long)va_arg(*p_va, unsigned int));
  310|       |
  311|      0|        case 'I':
  ------------------
  |  Branch (311:9): [True: 0, False: 592k]
  ------------------
  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|   111k|        case 'n':
  ------------------
  |  Branch (318:9): [True: 111k, False: 481k]
  ------------------
  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|   111k|            _Py_FALLTHROUGH;
  ------------------
  |  |  667|   111k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  324|   111k|        case 'l':
  ------------------
  |  Branch (324:9): [True: 0, False: 592k]
  ------------------
  325|   111k|            return PyLong_FromLong(va_arg(*p_va, long));
  326|       |
  327|      0|        case 'k':
  ------------------
  |  Branch (327:9): [True: 0, False: 592k]
  ------------------
  328|      0|        {
  329|      0|            unsigned long n;
  330|      0|            n = va_arg(*p_va, unsigned long);
  331|      0|            return PyLong_FromUnsignedLong(n);
  332|   111k|        }
  333|       |
  334|      0|        case 'L':
  ------------------
  |  Branch (334:9): [True: 0, False: 592k]
  ------------------
  335|      0|            return PyLong_FromLongLong((long long)va_arg(*p_va, long long));
  336|       |
  337|      0|        case 'K':
  ------------------
  |  Branch (337:9): [True: 0, False: 592k]
  ------------------
  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: 592k]
  ------------------
  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|   111k|        }
  362|      0|        case 'f':
  ------------------
  |  Branch (362:9): [True: 0, False: 592k]
  ------------------
  363|      0|        case 'd':
  ------------------
  |  Branch (363:9): [True: 0, False: 592k]
  ------------------
  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: 592k]
  ------------------
  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: 592k]
  ------------------
  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: 592k]
  ------------------
  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: 592k]
  ------------------
  383|      0|        {
  384|      0|            int i = va_arg(*p_va, int);
  385|      0|            return PyBool_FromLong(i);
  386|      0|        }
  387|       |
  388|  66.5k|        case 's':
  ------------------
  |  Branch (388:9): [True: 66.5k, False: 526k]
  ------------------
  389|  66.5k|        case 'z':
  ------------------
  |  Branch (389:9): [True: 8, False: 592k]
  ------------------
  390|  66.5k|        case 'U':   /* XXX deprecated alias */
  ------------------
  |  Branch (390:9): [True: 0, False: 592k]
  ------------------
  391|  66.5k|        {
  392|  66.5k|            PyObject *v;
  393|  66.5k|            const char *str = va_arg(*p_va, const char *);
  394|  66.5k|            Py_ssize_t n;
  395|  66.5k|            if (**p_format == '#') {
  ------------------
  |  Branch (395:17): [True: 0, False: 66.5k]
  ------------------
  396|      0|                ++*p_format;
  397|      0|                n = va_arg(*p_va, Py_ssize_t);
  398|      0|            }
  399|  66.5k|            else
  400|  66.5k|                n = -1;
  401|  66.5k|            if (str == NULL) {
  ------------------
  |  Branch (401:17): [True: 0, False: 66.5k]
  ------------------
  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|  66.5k|            else {
  405|  66.5k|                if (n < 0) {
  ------------------
  |  Branch (405:21): [True: 66.5k, False: 0]
  ------------------
  406|  66.5k|                    size_t m = strlen(str);
  407|  66.5k|                    if (m > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  66.5k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (407:25): [True: 0, False: 66.5k]
  ------------------
  408|      0|                        PyErr_SetString(PyExc_OverflowError,
  409|      0|                            "string too long for Python string");
  410|      0|                        return NULL;
  411|      0|                    }
  412|  66.5k|                    n = (Py_ssize_t)m;
  413|  66.5k|                }
  414|  66.5k|                v = PyUnicode_FromStringAndSize(str, n);
  415|  66.5k|            }
  416|  66.5k|            return v;
  417|  66.5k|        }
  418|       |
  419|  2.88k|        case 'y':
  ------------------
  |  Branch (419:9): [True: 2.88k, False: 589k]
  ------------------
  420|  2.88k|        {
  421|  2.88k|            PyObject *v;
  422|  2.88k|            const char *str = va_arg(*p_va, const char *);
  423|  2.88k|            Py_ssize_t n;
  424|  2.88k|            if (**p_format == '#') {
  ------------------
  |  Branch (424:17): [True: 2.88k, False: 0]
  ------------------
  425|  2.88k|                ++*p_format;
  426|  2.88k|                n = va_arg(*p_va, Py_ssize_t);
  427|  2.88k|            }
  428|      0|            else
  429|      0|                n = -1;
  430|  2.88k|            if (str == NULL) {
  ------------------
  |  Branch (430:17): [True: 0, False: 2.88k]
  ------------------
  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|  2.88k|            else {
  434|  2.88k|                if (n < 0) {
  ------------------
  |  Branch (434:21): [True: 0, False: 2.88k]
  ------------------
  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|  2.88k|                v = PyBytes_FromStringAndSize(str, n);
  444|  2.88k|            }
  445|  2.88k|            return v;
  446|  2.88k|        }
  447|       |
  448|  35.0k|        case 'N':
  ------------------
  |  Branch (448:9): [True: 35.0k, False: 557k]
  ------------------
  449|  35.0k|        case 'S':
  ------------------
  |  Branch (449:9): [True: 0, False: 592k]
  ------------------
  450|   275k|        case 'O':
  ------------------
  |  Branch (450:9): [True: 240k, False: 351k]
  ------------------
  451|   275k|        if (**p_format == '&') {
  ------------------
  |  Branch (451:13): [True: 0, False: 275k]
  ------------------
  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|   275k|        else {
  459|   275k|            PyObject *v;
  460|   275k|            v = va_arg(*p_va, PyObject *);
  461|   275k|            if (v != NULL) {
  ------------------
  |  Branch (461:17): [True: 275k, False: 0]
  ------------------
  462|   275k|                if (*(*p_format - 1) != 'N')
  ------------------
  |  Branch (462:21): [True: 240k, False: 35.0k]
  ------------------
  463|   240k|                    Py_INCREF(v);
  ------------------
  |  |  310|   240k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   240k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   240k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|   275k|            }
  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|   275k|            return v;
  477|   275k|        }
  478|       |
  479|      0|        case ':':
  ------------------
  |  Branch (479:9): [True: 0, False: 592k]
  ------------------
  480|      0|        case ',':
  ------------------
  |  Branch (480:9): [True: 0, False: 592k]
  ------------------
  481|      0|        case ' ':
  ------------------
  |  Branch (481:9): [True: 0, False: 592k]
  ------------------
  482|      0|        case '\t':
  ------------------
  |  Branch (482:9): [True: 0, False: 592k]
  ------------------
  483|      0|            break;
  484|       |
  485|      0|        default:
  ------------------
  |  Branch (485:9): [True: 0, False: 592k]
  ------------------
  486|      0|            PyErr_SetString(PyExc_SystemError,
  487|      0|                "bad format char passed to Py_BuildValue");
  488|      0|            return NULL;
  489|       |
  490|   592k|        }
  491|   592k|    }
  492|   592k|}
modsupport.c:do_mklist:
  196|    100|{
  197|    100|    PyObject *v;
  198|    100|    Py_ssize_t i;
  199|    100|    if (n < 0)
  ------------------
  |  Branch (199:9): [True: 0, False: 100]
  ------------------
  200|      0|        return NULL;
  201|       |    /* Note that we can't bail immediately on error as this will leak
  202|       |       refcounts on any 'N' arguments. */
  203|    100|    v = PyList_New(n);
  204|    100|    if (v == NULL) {
  ------------------
  |  Branch (204:9): [True: 0, False: 100]
  ------------------
  205|      0|        do_ignore(p_format, p_va, endchar, n);
  206|      0|        return NULL;
  207|      0|    }
  208|  1.10k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (208:17): [True: 1.00k, False: 100]
  ------------------
  209|  1.00k|        PyObject *w = do_mkvalue(p_format, p_va);
  210|  1.00k|        if (w == NULL) {
  ------------------
  |  Branch (210:13): [True: 0, False: 1.00k]
  ------------------
  211|      0|            do_ignore(p_format, p_va, endchar, n - i - 1);
  212|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|      0|            return NULL;
  214|      0|        }
  215|  1.00k|        PyList_SET_ITEM(v, i, w);
  ------------------
  |  |   50|  1.00k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  216|  1.00k|    }
  217|    100|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (217:9): [True: 0, False: 100]
  ------------------
  218|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  219|      0|        return NULL;
  220|      0|    }
  221|    100|    return v;
  222|    100|}
modsupport.c:check_end:
  107|   124k|{
  108|   124k|    const char *f = *p_format;
  109|   124k|    while (*f != endchar) {
  ------------------
  |  Branch (109:12): [True: 0, False: 124k]
  ------------------
  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|   124k|    if (endchar) {
  ------------------
  |  Branch (117:9): [True: 35.8k, False: 89.0k]
  ------------------
  118|  35.8k|        f++;
  119|  35.8k|    }
  120|   124k|    *p_format = f;
  121|   124k|    return 1;
  122|   124k|}
modsupport.c:do_mkdict:
  150|    129|{
  151|    129|    PyObject *d;
  152|    129|    Py_ssize_t i;
  153|    129|    if (n < 0)
  ------------------
  |  Branch (153:9): [True: 0, False: 129]
  ------------------
  154|      0|        return NULL;
  155|    129|    if (n % 2) {
  ------------------
  |  Branch (155:9): [True: 0, False: 129]
  ------------------
  156|      0|        PyErr_SetString(PyExc_SystemError,
  157|      0|                        "Bad dict format");
  158|      0|        do_ignore(p_format, p_va, endchar, n);
  159|      0|        return NULL;
  160|      0|    }
  161|       |    /* Note that we can't bail immediately on error as this will leak
  162|       |       refcounts on any 'N' arguments. */
  163|    129|    if ((d = PyDict_New()) == NULL) {
  ------------------
  |  Branch (163:9): [True: 0, False: 129]
  ------------------
  164|      0|        do_ignore(p_format, p_va, endchar, n);
  165|      0|        return NULL;
  166|      0|    }
  167|    631|    for (i = 0; i < n; i+= 2) {
  ------------------
  |  Branch (167:17): [True: 502, False: 129]
  ------------------
  168|    502|        PyObject *k, *v;
  169|       |
  170|    502|        k = do_mkvalue(p_format, p_va);
  171|    502|        if (k == NULL) {
  ------------------
  |  Branch (171:13): [True: 0, False: 502]
  ------------------
  172|      0|            do_ignore(p_format, p_va, endchar, n - i - 1);
  173|      0|            Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|      0|            return NULL;
  175|      0|        }
  176|    502|        v = do_mkvalue(p_format, p_va);
  177|    502|        if (v == NULL || PyDict_SetItem(d, k, v) < 0) {
  ------------------
  |  Branch (177:13): [True: 0, False: 502]
  |  Branch (177:26): [True: 0, False: 502]
  ------------------
  178|      0|            do_ignore(p_format, p_va, endchar, n - i - 2);
  179|      0|            Py_DECREF(k);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|      0|            Py_XDECREF(v);
  ------------------
  |  |  621|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  181|      0|            Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  182|      0|            return NULL;
  183|      0|        }
  184|    502|        Py_DECREF(k);
  ------------------
  |  |  430|    502|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|    502|        Py_DECREF(v);
  ------------------
  |  |  430|    502|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  186|    502|    }
  187|    129|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (187:9): [True: 0, False: 129]
  ------------------
  188|      0|        Py_DECREF(d);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|      0|        return NULL;
  190|      0|    }
  191|    129|    return d;
  192|    129|}
modsupport.c:do_mktuple:
  258|  46.7k|{
  259|  46.7k|    PyObject *v;
  260|  46.7k|    Py_ssize_t i;
  261|  46.7k|    if (n < 0)
  ------------------
  |  Branch (261:9): [True: 0, False: 46.7k]
  ------------------
  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|  46.7k|    if ((v = PyTuple_New(n)) == NULL) {
  ------------------
  |  Branch (265:9): [True: 0, False: 46.7k]
  ------------------
  266|      0|        do_ignore(p_format, p_va, endchar, n);
  267|      0|        return NULL;
  268|      0|    }
  269|   217k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (269:17): [True: 170k, False: 46.7k]
  ------------------
  270|   170k|        PyObject *w = do_mkvalue(p_format, p_va);
  271|   170k|        if (w == NULL) {
  ------------------
  |  Branch (271:13): [True: 0, False: 170k]
  ------------------
  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|   170k|        PyTuple_SET_ITEM(v, i, w);
  ------------------
  |  |   40|   170k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  277|   170k|    }
  278|  46.7k|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (278:9): [True: 0, False: 46.7k]
  ------------------
  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|  46.7k|    return v;
  283|  46.7k|}
modsupport.c:countformat:
   55|   157k|{
   56|   157k|    Py_ssize_t count = 0;
   57|   157k|    int level = 0;
   58|   956k|    while (level > 0 || *format != endchar) {
  ------------------
  |  Branch (58:12): [True: 204k, False: 752k]
  |  Branch (58:25): [True: 595k, False: 157k]
  ------------------
   59|   799k|        switch (*format) {
   60|      0|        case '\0':
  ------------------
  |  Branch (60:9): [True: 0, False: 799k]
  ------------------
   61|       |            /* Premature end */
   62|      0|            PyErr_SetString(PyExc_SystemError,
   63|      0|                            "unmatched paren in format");
   64|      0|            return -1;
   65|  38.1k|        case '(':
  ------------------
  |  Branch (65:9): [True: 38.1k, False: 761k]
  ------------------
   66|  38.2k|        case '[':
  ------------------
  |  Branch (66:9): [True: 100, False: 799k]
  ------------------
   67|  38.3k|        case '{':
  ------------------
  |  Branch (67:9): [True: 129, False: 799k]
  ------------------
   68|  38.3k|            if (level == 0) {
  ------------------
  |  Branch (68:17): [True: 35.8k, False: 2.50k]
  ------------------
   69|  35.8k|                count++;
   70|  35.8k|            }
   71|  38.3k|            level++;
   72|  38.3k|            break;
   73|  38.1k|        case ')':
  ------------------
  |  Branch (73:9): [True: 38.1k, False: 761k]
  ------------------
   74|  38.2k|        case ']':
  ------------------
  |  Branch (74:9): [True: 100, False: 799k]
  ------------------
   75|  38.3k|        case '}':
  ------------------
  |  Branch (75:9): [True: 129, False: 799k]
  ------------------
   76|  38.3k|            level--;
   77|  38.3k|            break;
   78|  2.88k|        case '#':
  ------------------
  |  Branch (78:9): [True: 2.88k, False: 796k]
  ------------------
   79|  2.88k|        case '&':
  ------------------
  |  Branch (79:9): [True: 0, False: 799k]
  ------------------
   80|  2.88k|        case ',':
  ------------------
  |  Branch (80:9): [True: 0, False: 799k]
  ------------------
   81|  2.88k|        case ':':
  ------------------
  |  Branch (81:9): [True: 0, False: 799k]
  ------------------
   82|  2.88k|        case ' ':
  ------------------
  |  Branch (82:9): [True: 0, False: 799k]
  ------------------
   83|  2.88k|        case '\t':
  ------------------
  |  Branch (83:9): [True: 0, False: 799k]
  ------------------
   84|  2.88k|            break;
   85|   720k|        default:
  ------------------
  |  Branch (85:9): [True: 720k, False: 79.5k]
  ------------------
   86|   720k|            if (level == 0) {
  ------------------
  |  Branch (86:17): [True: 557k, False: 163k]
  ------------------
   87|   557k|                count++;
   88|   557k|            }
   89|   799k|        }
   90|   799k|        format++;
   91|   799k|    }
   92|   157k|    return count;
   93|   157k|}
modsupport.c:do_mkstack:
  227|  77.8k|{
  228|  77.8k|    Py_ssize_t i;
  229|       |
  230|  77.8k|    if (n < 0) {
  ------------------
  |  Branch (230:9): [True: 0, False: 77.8k]
  ------------------
  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|   465k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (235:17): [True: 387k, False: 77.8k]
  ------------------
  236|   387k|        PyObject *w = do_mkvalue(p_format, p_va);
  237|   387k|        if (w == NULL) {
  ------------------
  |  Branch (237:13): [True: 0, False: 387k]
  ------------------
  238|      0|            do_ignore(p_format, p_va, endchar, n - i - 1);
  239|      0|            goto error;
  240|      0|        }
  241|   387k|        stack[i] = w;
  242|   387k|    }
  243|  77.8k|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (243:9): [True: 0, False: 77.8k]
  ------------------
  244|      0|        goto error;
  245|      0|    }
  246|  77.8k|    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|  77.8k|}

PyOS_snprintf:
   42|     24|{
   43|     24|    int rc;
   44|     24|    va_list va;
   45|       |
   46|     24|    va_start(va, format);
   47|     24|    rc = PyOS_vsnprintf(str, size, format, va);
   48|       |    va_end(va);
   49|     24|    return rc;
   50|     24|}
PyOS_vsnprintf:
   54|     24|{
   55|     24|    assert(str != NULL);
  ------------------
  |  Branch (55:5): [True: 24, False: 0]
  ------------------
   56|     24|    assert(size > 0);
  ------------------
  |  Branch (56:5): [True: 24, False: 0]
  ------------------
   57|     24|    assert(size <= (INT_MAX - 1));
  ------------------
  |  Branch (57:5): [True: 24, False: 0]
  ------------------
   58|     24|    assert(format != NULL);
  ------------------
  |  Branch (58:5): [True: 24, False: 0]
  ------------------
   59|       |
   60|     24|    int len;  /* # bytes written, excluding \0 */
   61|       |    /* We take a size_t as input but return an int.  Sanity check
   62|       |     * our input so that it won't cause an overflow in the
   63|       |     * vsnprintf return value.  */
   64|     24|    if (size > INT_MAX - 1) {
  ------------------
  |  Branch (64:9): [True: 0, False: 24]
  ------------------
   65|      0|        len = -666;
   66|      0|        goto Done;
   67|      0|    }
   68|       |
   69|       |#if defined(_MSC_VER)
   70|       |    len = _vsnprintf(str, size, format, va);
   71|       |#else
   72|     24|    len = vsnprintf(str, size, format, va);
   73|     24|#endif
   74|       |
   75|     24|Done:
   76|     24|    if (size > 0) {
  ------------------
  |  Branch (76:9): [True: 24, False: 0]
  ------------------
   77|     24|        str[size-1] = '\0';
   78|     24|    }
   79|     24|    return len;
   80|     24|}

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

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

_Py_HashDouble:
   88|   185M|{
   89|   185M|    int e, sign;
   90|   185M|    double m;
   91|   185M|    Py_uhash_t x, y;
   92|       |
   93|   185M|    if (!isfinite(v)) {
  ------------------
  |  Branch (93:9): [True: 149k, False: 185M]
  ------------------
   94|   149k|        if (isinf(v))
  ------------------
  |  Branch (94:13): [True: 75.7k, False: 73.2k]
  ------------------
   95|  75.7k|            return v > 0 ? PyHASH_INF : -PyHASH_INF;
  ------------------
  |  |   19|  66.0k|#define PyHASH_INF 314159
  ------------------
                          return v > 0 ? PyHASH_INF : -PyHASH_INF;
  ------------------
  |  |   19|  85.4k|#define PyHASH_INF 314159
  ------------------
  |  Branch (95:20): [True: 66.0k, False: 9.69k]
  ------------------
   96|  73.2k|        else
   97|  73.2k|            return PyObject_GenericHash(inst);
   98|   149k|    }
   99|       |
  100|   185M|    m = frexp(v, &e);
  101|       |
  102|   185M|    sign = 1;
  103|   185M|    if (m < 0) {
  ------------------
  |  Branch (103:9): [True: 9.70M, False: 176M]
  ------------------
  104|  9.70M|        sign = -1;
  105|  9.70M|        m = -m;
  106|  9.70M|    }
  107|       |
  108|       |    /* process 28 bits at a time;  this should work well both for binary
  109|       |       and hexadecimal floating point. */
  110|   185M|    x = 0;
  111|   550M|    while (m) {
  ------------------
  |  Branch (111:12): [True: 364M, False: 185M]
  ------------------
  112|   364M|        x = ((x << 28) & PyHASH_MODULUS) | x >> (PyHASH_BITS - 28);
  ------------------
  |  |   18|   364M|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|   364M|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
                      x = ((x << 28) & PyHASH_MODULUS) | x >> (PyHASH_BITS - 28);
  ------------------
  |  |   13|   364M|#  define PyHASH_BITS 61
  ------------------
  113|   364M|        m *= 268435456.0;  /* 2**28 */
  114|   364M|        e -= 28;
  115|   364M|        y = (Py_uhash_t)m;  /* pull out integer part */
  116|   364M|        m -= y;
  117|   364M|        x += y;
  118|   364M|        if (x >= PyHASH_MODULUS)
  ------------------
  |  |   18|   364M|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|   364M|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
  |  Branch (118:13): [True: 0, False: 364M]
  ------------------
  119|      0|            x -= PyHASH_MODULUS;
  ------------------
  |  |   18|      0|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|      0|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
  120|   364M|    }
  121|       |
  122|       |    /* adjust for the exponent;  first reduce it modulo PyHASH_BITS */
  123|   185M|    e = e >= 0 ? e % PyHASH_BITS : PyHASH_BITS-1-((-1-e) % PyHASH_BITS);
  ------------------
  |  |   13|  3.23M|#  define PyHASH_BITS 61
  ------------------
                  e = e >= 0 ? e % PyHASH_BITS : PyHASH_BITS-1-((-1-e) % PyHASH_BITS);
  ------------------
  |  |   13|   182M|#  define PyHASH_BITS 61
  ------------------
                  e = e >= 0 ? e % PyHASH_BITS : PyHASH_BITS-1-((-1-e) % PyHASH_BITS);
  ------------------
  |  |   13|   182M|#  define PyHASH_BITS 61
  ------------------
  |  Branch (123:9): [True: 3.23M, False: 182M]
  ------------------
  124|   185M|    x = ((x << e) & PyHASH_MODULUS) | x >> (PyHASH_BITS - e);
  ------------------
  |  |   18|   185M|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|   185M|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
                  x = ((x << e) & PyHASH_MODULUS) | x >> (PyHASH_BITS - e);
  ------------------
  |  |   13|   185M|#  define PyHASH_BITS 61
  ------------------
  125|       |
  126|   185M|    x = x * sign;
  127|   185M|    if (x == (Py_uhash_t)-1)
  ------------------
  |  Branch (127:9): [True: 1.12M, False: 184M]
  ------------------
  128|  1.12M|        x = (Py_uhash_t)-2;
  129|   185M|    return (Py_hash_t)x;
  130|   185M|}
Py_HashPointer:
  134|  95.0M|{
  135|  95.0M|    Py_hash_t hash = _Py_HashPointerRaw(ptr);
  136|  95.0M|    if (hash == -1) {
  ------------------
  |  Branch (136:9): [True: 0, False: 95.0M]
  ------------------
  137|      0|        hash = -2;
  138|      0|    }
  139|  95.0M|    return hash;
  140|  95.0M|}
PyObject_GenericHash:
  144|  95.0M|{
  145|  95.0M|    return Py_HashPointer(obj);
  146|  95.0M|}
Py_HashBuffer:
  150|  1.20M|{
  151|       |    /*
  152|       |      We make the hash of the empty string be 0, rather than using
  153|       |      (prefix ^ suffix), since this slightly obfuscates the hash secret
  154|       |    */
  155|  1.20M|    if (len == 0) {
  ------------------
  |  Branch (155:9): [True: 3, False: 1.20M]
  ------------------
  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|  1.20M|    Py_hash_t x;
  164|       |#if Py_HASH_CUTOFF > 0
  165|       |    if (len < Py_HASH_CUTOFF) {
  166|       |        /* Optimize hashing of very small strings with inline DJBX33A. */
  167|       |        Py_uhash_t hash;
  168|       |        const unsigned char *p = ptr;
  169|       |        hash = 5381; /* DJBX33A starts with 5381 */
  170|       |
  171|       |        switch(len) {
  172|       |            /* ((hash << 5) + hash) + *p == hash * 33 + *p */
  173|       |            case 7: hash = ((hash << 5) + hash) + *p++; _Py_FALLTHROUGH;
  174|       |            case 6: hash = ((hash << 5) + hash) + *p++; _Py_FALLTHROUGH;
  175|       |            case 5: hash = ((hash << 5) + hash) + *p++; _Py_FALLTHROUGH;
  176|       |            case 4: hash = ((hash << 5) + hash) + *p++; _Py_FALLTHROUGH;
  177|       |            case 3: hash = ((hash << 5) + hash) + *p++; _Py_FALLTHROUGH;
  178|       |            case 2: hash = ((hash << 5) + hash) + *p++; _Py_FALLTHROUGH;
  179|       |            case 1: hash = ((hash << 5) + hash) + *p++; break;
  180|       |            default:
  181|       |                Py_UNREACHABLE();
  182|       |        }
  183|       |        hash ^= len;
  184|       |        hash ^= (Py_uhash_t) _Py_HashSecret.djbx33a.suffix;
  185|       |        x = (Py_hash_t)hash;
  186|       |    }
  187|       |    else
  188|       |#endif /* Py_HASH_CUTOFF */
  189|  1.20M|    {
  190|  1.20M|        x = PyHash_Func.hash(ptr, len);
  191|  1.20M|    }
  192|       |
  193|  1.20M|    if (x == -1) {
  ------------------
  |  Branch (193:9): [True: 0, False: 1.20M]
  ------------------
  194|      0|        return -2;
  195|      0|    }
  196|  1.20M|    return x;
  197|  1.20M|}
PyHash_GetFuncDef:
  216|      2|{
  217|      2|    return &PyHash_Func;
  218|      2|}
pyhash.c:siphash13:
  371|  1.20M|siphash13(uint64_t k0, uint64_t k1, const void *src, Py_ssize_t src_sz) {
  372|  1.20M|    uint64_t b = (uint64_t)src_sz << 56;
  373|  1.20M|    const uint8_t *in = (const uint8_t*)src;
  374|       |
  375|  1.20M|    uint64_t v0 = k0 ^ 0x736f6d6570736575ULL;
  376|  1.20M|    uint64_t v1 = k1 ^ 0x646f72616e646f6dULL;
  377|  1.20M|    uint64_t v2 = k0 ^ 0x6c7967656e657261ULL;
  378|  1.20M|    uint64_t v3 = k1 ^ 0x7465646279746573ULL;
  379|       |
  380|  1.20M|    uint64_t t;
  381|  1.20M|    uint8_t *pt;
  382|       |
  383|  10.6M|    while (src_sz >= 8) {
  ------------------
  |  Branch (383:12): [True: 9.49M, False: 1.20M]
  ------------------
  384|  9.49M|        uint64_t mi;
  385|  9.49M|        memcpy(&mi, in, sizeof(mi));
  386|  9.49M|        mi = _le64toh(mi);
  ------------------
  |  |  332|  9.49M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  387|  9.49M|        in += sizeof(mi);
  388|  9.49M|        src_sz -= sizeof(mi);
  389|  9.49M|        v3 ^= mi;
  390|  9.49M|        SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  9.49M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  9.49M|    a += b; c += d;                 \
  |  |  |  |  357|  9.49M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  9.49M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  9.49M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  9.49M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  9.49M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  9.49M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  9.49M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  9.49M|    a += b; c += d;                 \
  |  |  |  |  357|  9.49M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  9.49M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  9.49M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  9.49M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  9.49M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  9.49M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|  9.49M|        v0 ^= mi;
  392|  9.49M|    }
  393|       |
  394|  1.20M|    t = 0;
  395|  1.20M|    pt = (uint8_t *)&t;
  396|  1.20M|    switch (src_sz) {
  ------------------
  |  Branch (396:13): [True: 1.05M, False: 151k]
  ------------------
  397|  58.1k|        case 7: pt[6] = in[6]; _Py_FALLTHROUGH;
  ------------------
  |  |  667|  58.1k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (397:9): [True: 58.1k, False: 1.14M]
  ------------------
  398|   167k|        case 6: pt[5] = in[5]; _Py_FALLTHROUGH;
  ------------------
  |  |  667|   167k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (398:9): [True: 109k, False: 1.09M]
  ------------------
  399|   249k|        case 5: pt[4] = in[4]; _Py_FALLTHROUGH;
  ------------------
  |  |  667|   249k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (399:9): [True: 82.1k, False: 1.12M]
  ------------------
  400|   440k|        case 4: memcpy(pt, in, sizeof(uint32_t)); break;
  ------------------
  |  Branch (400:9): [True: 190k, False: 1.01M]
  ------------------
  401|   180k|        case 3: pt[2] = in[2]; _Py_FALLTHROUGH;
  ------------------
  |  |  667|   180k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (401:9): [True: 180k, False: 1.02M]
  ------------------
  402|   557k|        case 2: pt[1] = in[1]; _Py_FALLTHROUGH;
  ------------------
  |  |  667|   557k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (402:9): [True: 377k, False: 825k]
  ------------------
  403|   610k|        case 1: pt[0] = in[0]; break;
  ------------------
  |  Branch (403:9): [True: 52.9k, False: 1.14M]
  ------------------
  404|  1.20M|    }
  405|  1.20M|    b |= _le64toh(t);
  ------------------
  |  |  332|  1.20M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  406|       |
  407|  1.20M|    v3 ^= b;
  408|  1.20M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  1.20M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  1.20M|    a += b; c += d;                 \
  |  |  |  |  357|  1.20M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  1.20M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  1.20M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  1.20M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  1.20M|    a += b; c += d;                 \
  |  |  |  |  357|  1.20M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  1.20M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  1.20M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  409|  1.20M|    v0 ^= b;
  410|  1.20M|    v2 ^= 0xff;
  411|  1.20M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  1.20M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  1.20M|    a += b; c += d;                 \
  |  |  |  |  357|  1.20M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  1.20M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  1.20M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  1.20M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  1.20M|    a += b; c += d;                 \
  |  |  |  |  357|  1.20M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  1.20M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  1.20M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|  1.20M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  1.20M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  1.20M|    a += b; c += d;                 \
  |  |  |  |  357|  1.20M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  1.20M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  1.20M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  1.20M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  1.20M|    a += b; c += d;                 \
  |  |  |  |  357|  1.20M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  1.20M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  1.20M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|  1.20M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  1.20M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  1.20M|    a += b; c += d;                 \
  |  |  |  |  357|  1.20M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  1.20M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  1.20M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  1.20M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  1.20M|    a += b; c += d;                 \
  |  |  |  |  357|  1.20M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  1.20M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  1.20M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.20M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|       |
  415|       |    /* modified */
  416|  1.20M|    t = (v0 ^ v1) ^ (v2 ^ v3);
  417|  1.20M|    return t;
  418|  1.20M|}
pyhash.c:pysiphash:
  480|  1.20M|pysiphash(const void *src, Py_ssize_t src_sz) {
  481|  1.20M|    return (Py_hash_t)siphash13(
  482|  1.20M|        _le64toh(_Py_HashSecret.siphash.k0), _le64toh(_Py_HashSecret.siphash.k1),
  ------------------
  |  |  332|  1.20M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
                      _le64toh(_Py_HashSecret.siphash.k0), _le64toh(_Py_HashSecret.siphash.k1),
  ------------------
  |  |  332|  1.20M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  483|  1.20M|        src, src_sz);
  484|  1.20M|}

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

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

_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|}
PyInterpreterState_Get:
 1471|      1|{
 1472|      1|    _Py_AssertHoldsTstate();
  ------------------
  |  |  324|      1|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 1473|      1|    PyInterpreterState *interp = _Py_tss_interp;
 1474|      1|    if (interp == NULL) {
  ------------------
  |  Branch (1474:9): [True: 0, False: 1]
  ------------------
 1475|      0|        Py_FatalError("no current interpreter");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 1476|      0|    }
 1477|      1|    return interp;
 1478|      1|}
_PyThreadState_New:
 1819|      2|{
 1820|      2|    return new_threadstate(interp, whence);
 1821|      2|}
_PyThreadState_GetDict:
 2217|    124|{
 2218|    124|    assert(tstate != NULL);
  ------------------
  |  Branch (2218:5): [True: 124, False: 0]
  ------------------
 2219|    124|    if (tstate->dict == NULL) {
  ------------------
  |  Branch (2219:9): [True: 1, False: 123]
  ------------------
 2220|      1|        tstate->dict = PyDict_New();
 2221|      1|        if (tstate->dict == NULL) {
  ------------------
  |  Branch (2221:13): [True: 0, False: 1]
  ------------------
 2222|      0|            _PyErr_Clear(tstate);
 2223|      0|        }
 2224|      1|    }
 2225|    124|    return tstate->dict;
 2226|    124|}
PyThreadState_GetDict:
 2231|    124|{
 2232|    124|    PyThreadState *tstate = current_fast_get();
 2233|    124|    if (tstate == NULL) {
  ------------------
  |  Branch (2233:9): [True: 0, False: 124]
  ------------------
 2234|      0|        return NULL;
 2235|      0|    }
 2236|    124|    return _PyThreadState_GetDict(tstate);
 2237|    124|}
_PyThreadState_Attach:
 2385|  49.1k|{
 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|  49.1k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|  49.1k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 2393|  49.1k|    if (current_fast_get() != NULL) {
  ------------------
  |  Branch (2393:9): [True: 0, False: 49.1k]
  ------------------
 2394|      0|        Py_FatalError("non-NULL old thread state");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 2395|      0|    }
 2396|  49.1k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
 2397|  49.1k|    if (_tstate->c_stack_hard_limit == 0) {
  ------------------
  |  Branch (2397:9): [True: 2, False: 49.1k]
  ------------------
 2398|      2|        _Py_InitializeRecursionLimits(tstate);
 2399|      2|    }
 2400|       |
 2401|  49.1k|    while (1) {
  ------------------
  |  Branch (2401:12): [True: 49.1k, Folded]
  ------------------
 2402|  49.1k|        _PyEval_AcquireLock(tstate);
 2403|       |
 2404|       |        // XXX assert(tstate_is_alive(tstate));
 2405|  49.1k|        current_fast_set(&_PyRuntime, tstate);
 2406|  49.1k|        if (!tstate_try_attach(tstate)) {
  ------------------
  |  Branch (2406:13): [True: 0, False: 49.1k]
  ------------------
 2407|      0|            tstate_wait_attach(tstate);
 2408|      0|        }
 2409|  49.1k|        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|  49.1k|        break;
 2425|  49.1k|    }
 2426|       |
 2427|       |    // Resume previous critical section. This acquires the lock(s) from the
 2428|       |    // top-most critical section.
 2429|  49.1k|    if (tstate->critical_section != 0) {
  ------------------
  |  Branch (2429:9): [True: 0, False: 49.1k]
  ------------------
 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|  49.1k|}
_PyThreadState_Detach:
 2462|  49.1k|{
 2463|  49.1k|    detach_thread(tstate, _Py_THREAD_DETACHED);
  ------------------
  |  |   44|  49.1k|#define _Py_THREAD_DETACHED             0
  ------------------
 2464|  49.1k|}
PyThreadState_GetUnchecked:
 2780|     24|{
 2781|     24|    return current_fast_get();
 2782|     24|}
PyThreadState_Get:
 2787|   100k|{
 2788|   100k|    PyThreadState *tstate = current_fast_get();
 2789|   100k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|   100k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 2790|   100k|    return tstate;
 2791|   100k|}
_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|    449|{
 3253|    449|    return interp->eval_frame == NULL
  ------------------
  |  Branch (3253:12): [True: 449, False: 0]
  ------------------
 3254|      0|        || interp->eval_frame_allow_specialization;
  ------------------
  |  Branch (3254:12): [True: 0, False: 0]
  ------------------
 3255|    449|}
_PyInterpreterState_GetConfig:
 3260|   717k|{
 3261|   717k|    return &interp->config;
 3262|   717k|}
_Py_GetConfig:
 3267|  82.2k|{
 3268|  82.2k|    PyThreadState *tstate = current_fast_get();
 3269|  82.2k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|  82.2k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 3270|  82.2k|    return _PyInterpreterState_GetConfig(tstate->interp);
 3271|  82.2k|}
_PyThreadState_PushFrame:
 3321|   197k|{
 3322|   197k|    assert(size < INT_MAX/sizeof(PyObject *));
  ------------------
  |  Branch (3322:5): [True: 197k, False: 0]
  ------------------
 3323|   197k|    if (_PyThreadState_HasStackSpace(tstate, (int)size)) {
  ------------------
  |  Branch (3323:9): [True: 197k, False: 2]
  ------------------
 3324|   197k|        _PyInterpreterFrame *res = (_PyInterpreterFrame *)tstate->datastack_top;
 3325|   197k|        tstate->datastack_top += size;
 3326|   197k|        return res;
 3327|   197k|    }
 3328|      2|    return (_PyInterpreterFrame *)push_chunk(tstate, (int)size);
 3329|   197k|}
_PyThreadState_PopFrame:
 3333|  5.16M|{
 3334|  5.16M|    assert(tstate->datastack_chunk);
  ------------------
  |  Branch (3334:5): [True: 5.16M, False: 0]
  ------------------
 3335|  5.16M|    PyObject **base = (PyObject **)frame;
 3336|  5.16M|    if (base == &tstate->datastack_chunk->data[0]) {
  ------------------
  |  Branch (3336:9): [True: 0, False: 5.16M]
  ------------------
 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|  5.16M|    else {
 3352|  5.16M|        assert(tstate->datastack_top);
  ------------------
  |  Branch (3352:9): [True: 5.16M, False: 0]
  ------------------
 3353|  5.16M|        assert(tstate->datastack_top >= base);
  ------------------
  |  Branch (3353:9): [True: 5.16M, False: 0]
  ------------------
 3354|  5.16M|        tstate->datastack_top = base;
 3355|  5.16M|    }
 3356|  5.16M|}
_PyThreadState_CheckConsistency:
 3369|  98.3k|{
 3370|  98.3k|    assert(!_PyMem_IsPtrFreed(tstate));
  ------------------
  |  Branch (3370:5): [True: 98.3k, False: 0]
  ------------------
 3371|  98.3k|    assert(!_PyMem_IsPtrFreed(tstate->interp));
  ------------------
  |  Branch (3371:5): [True: 98.3k, False: 0]
  ------------------
 3372|  98.3k|    return 1;
 3373|  98.3k|}
_PyThreadState_MustExit:
 3387|  98.3k|{
 3388|  98.3k|    int state = _Py_atomic_load_int_relaxed(&tstate->state);
 3389|  98.3k|    return state == _Py_THREAD_SHUTTING_DOWN;
  ------------------
  |  |   47|  98.3k|#define _Py_THREAD_SHUTTING_DOWN        3
  ------------------
 3390|  98.3k|}
_Py_IsMainThread:
 3481|  49.1k|{
 3482|  49.1k|    unsigned long thread = PyThread_get_thread_ident();
 3483|  49.1k|    return (thread == _PyRuntime.main_thread);
 3484|  49.1k|}
_PyInterpreterState_Main:
 3489|    474|{
 3490|    474|    return _PyRuntime.interpreters.main;
 3491|    474|}
pystate.c:current_fast_get:
   86|   280k|{
   87|   280k|    return _Py_tss_tstate;
   88|   280k|}
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|  49.1k|{
  131|  49.1k|    return _Py_tss_gilstate;
  132|  49.1k|}
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|  98.3k|{
  154|  98.3k|    return tstate->_status.bound && !tstate->_status.unbound;
  ------------------
  |  Branch (154:12): [True: 98.3k, False: 0]
  |  Branch (154:37): [True: 98.3k, False: 0]
  ------------------
  155|  98.3k|}
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|  49.1k|{
  102|  49.1k|    _Py_tss_tstate = NULL;
  103|       |    _Py_tss_interp = NULL;
  104|  49.1k|}
pystate.c:current_fast_set:
   92|  49.1k|{
   93|  49.1k|    assert(tstate != NULL);
  ------------------
  |  Branch (93:5): [True: 49.1k, False: 0]
  ------------------
   94|  49.1k|    _Py_tss_tstate = tstate;
   95|  49.1k|    assert(tstate->interp != NULL);
  ------------------
  |  Branch (95:5): [True: 49.1k, False: 0]
  ------------------
   96|  49.1k|    _Py_tss_interp = tstate->interp;
   97|  49.1k|}
pystate.c:tstate_try_attach:
 2309|  49.1k|{
 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|  49.1k|    assert(tstate->state == _Py_THREAD_DETACHED);
  ------------------
  |  Branch (2316:5): [True: 49.1k, False: 0]
  ------------------
 2317|  49.1k|    tstate->state = _Py_THREAD_ATTACHED;
  ------------------
  |  |   45|  49.1k|#define _Py_THREAD_ATTACHED             1
  ------------------
 2318|  49.1k|    return 1;
 2319|  49.1k|#endif
 2320|  49.1k|}
pystate.c:tstate_activate:
 2274|  49.1k|{
 2275|  49.1k|    assert(tstate != NULL);
  ------------------
  |  Branch (2275:5): [True: 49.1k, False: 0]
  ------------------
 2276|       |    // XXX assert(tstate_is_alive(tstate));
 2277|  49.1k|    assert(tstate_is_bound(tstate));
  ------------------
  |  Branch (2277:5): [True: 49.1k, False: 0]
  ------------------
 2278|  49.1k|    assert(!tstate->_status.active);
  ------------------
  |  Branch (2278:5): [True: 49.1k, False: 0]
  ------------------
 2279|       |
 2280|  49.1k|    assert(!tstate->_status.bound_gilstate ||
  ------------------
  |  Branch (2280:5): [True: 0, False: 49.1k]
  |  Branch (2280:5): [True: 49.1k, False: 0]
  ------------------
 2281|  49.1k|           tstate == gilstate_get());
 2282|  49.1k|    if (!tstate->_status.bound_gilstate) {
  ------------------
  |  Branch (2282:9): [True: 0, False: 49.1k]
  ------------------
 2283|      0|        bind_gilstate_tstate(tstate);
 2284|      0|    }
 2285|       |
 2286|  49.1k|    tstate->_status.active = 1;
 2287|  49.1k|}
pystate.c:detach_thread:
 2444|  49.1k|{
 2445|       |    // XXX assert(tstate_is_alive(tstate) && tstate_is_bound(tstate));
 2446|  49.1k|    assert(_Py_atomic_load_int_relaxed(&tstate->state) == _Py_THREAD_ATTACHED);
  ------------------
  |  Branch (2446:5): [True: 49.1k, False: 0]
  ------------------
 2447|  49.1k|    assert(tstate == current_fast_get());
  ------------------
  |  Branch (2447:5): [True: 49.1k, False: 0]
  ------------------
 2448|  49.1k|    if (tstate->critical_section != 0) {
  ------------------
  |  Branch (2448:9): [True: 0, False: 49.1k]
  ------------------
 2449|      0|        _PyCriticalSection_SuspendAll(tstate);
 2450|      0|    }
 2451|       |#ifdef Py_GIL_DISABLED
 2452|       |    _Py_qsbr_detach(((_PyThreadStateImpl *)tstate)->qsbr);
 2453|       |#endif
 2454|  49.1k|    tstate_deactivate(tstate);
 2455|  49.1k|    tstate_set_detached(tstate, detached_state);
 2456|  49.1k|    current_fast_clear(&_PyRuntime);
 2457|  49.1k|    _PyEval_ReleaseLock(tstate->interp, tstate, 0);
 2458|  49.1k|}
pystate.c:tstate_deactivate:
 2291|  49.1k|{
 2292|  49.1k|    assert(tstate != NULL);
  ------------------
  |  Branch (2292:5): [True: 49.1k, False: 0]
  ------------------
 2293|       |    // XXX assert(tstate_is_alive(tstate));
 2294|  49.1k|    assert(tstate_is_bound(tstate));
  ------------------
  |  Branch (2294:5): [True: 49.1k, False: 0]
  ------------------
 2295|  49.1k|    assert(tstate->_status.active);
  ------------------
  |  Branch (2295:5): [True: 49.1k, False: 0]
  ------------------
 2296|       |
 2297|       |#ifdef Py_STATS
 2298|       |    _PyStats_Detach((_PyThreadStateImpl *)tstate);
 2299|       |#endif
 2300|       |
 2301|  49.1k|    tstate->_status.active = 0;
 2302|       |
 2303|       |    // We do not unbind the gilstate tstate here.
 2304|       |    // It will still be used in PyGILState_Ensure().
 2305|  49.1k|}
pystate.c:tstate_set_detached:
 2340|  49.1k|{
 2341|  49.1k|    assert(_Py_atomic_load_int_relaxed(&tstate->state) == _Py_THREAD_ATTACHED);
  ------------------
  |  Branch (2341:5): [True: 49.1k, False: 0]
  ------------------
 2342|       |#ifdef Py_GIL_DISABLED
 2343|       |    _Py_atomic_store_int(&tstate->state, detached_state);
 2344|       |#else
 2345|  49.1k|    tstate->state = detached_state;
 2346|  49.1k|#endif
 2347|  49.1k|}
pystate.c:push_chunk:
 3285|      2|{
 3286|      2|    int allocate_size = _PY_DATA_STACK_CHUNK_SIZE;
  ------------------
  |  |   65|      2|#define _PY_DATA_STACK_CHUNK_SIZE (16*1024)
  ------------------
 3287|      2|    while (allocate_size < (int)sizeof(PyObject*)*(size + MINIMUM_OVERHEAD)) {
  ------------------
  |  | 3281|      2|#define MINIMUM_OVERHEAD 1000
  ------------------
  |  Branch (3287:12): [True: 0, False: 2]
  ------------------
 3288|      0|        allocate_size *= 2;
 3289|      0|    }
 3290|      2|    _PyStackChunk *new;
 3291|      2|    if (tstate->datastack_cached_chunk != NULL
  ------------------
  |  Branch (3291:9): [True: 0, False: 2]
  ------------------
 3292|      0|        && (size_t)allocate_size <= tstate->datastack_cached_chunk->size)
  ------------------
  |  Branch (3292:12): [True: 0, False: 0]
  ------------------
 3293|      0|    {
 3294|      0|        new = tstate->datastack_cached_chunk;
 3295|      0|        tstate->datastack_cached_chunk = NULL;
 3296|      0|        new->previous = tstate->datastack_chunk;
 3297|      0|        new->top = 0;
 3298|      0|    }
 3299|      2|    else {
 3300|      2|        new = allocate_chunk(allocate_size, tstate->datastack_chunk);
 3301|      2|        if (new == NULL) {
  ------------------
  |  Branch (3301:13): [True: 0, False: 2]
  ------------------
 3302|      0|            return NULL;
 3303|      0|        }
 3304|      2|    }
 3305|      2|    if (tstate->datastack_chunk) {
  ------------------
  |  Branch (3305:9): [True: 0, False: 2]
  ------------------
 3306|      0|        tstate->datastack_chunk->top = tstate->datastack_top -
 3307|      0|                                       &tstate->datastack_chunk->data[0];
 3308|      0|    }
 3309|      2|    tstate->datastack_chunk = new;
 3310|      2|    tstate->datastack_limit = (PyObject **)(((char *)new) + allocate_size);
 3311|       |    // When new is the "root" chunk (i.e. new->previous == NULL), we can keep
 3312|       |    // _PyThreadState_PopFrame from freeing it later by "skipping" over the
 3313|       |    // first element:
 3314|       |    PyObject **res = &new->data[new->previous == NULL];
 3315|      2|    tstate->datastack_top = res + size;
 3316|      2|    return res;
 3317|      2|}
pystate.c:allocate_chunk:
 1550|      2|{
 1551|      2|    assert(size_in_bytes % sizeof(PyObject **) == 0);
  ------------------
  |  Branch (1551:5): [True: 2, False: 0]
  ------------------
 1552|      2|    _PyStackChunk *res = _PyObject_VirtualAlloc(size_in_bytes);
 1553|      2|    if (res == NULL) {
  ------------------
  |  Branch (1553:9): [True: 0, False: 2]
  ------------------
 1554|      0|        return NULL;
 1555|      0|    }
 1556|      2|    res->previous = previous;
 1557|      2|    res->size = size_in_bytes;
 1558|      2|    res->top = 0;
 1559|      2|    return res;
 1560|      2|}

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

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

PyRun_StringFlags:
 1311|      3|                     PyObject *locals, PyCompilerFlags *flags) {
 1312|       |
 1313|       |    return _PyRun_String(str, NULL, start, globals, locals, flags, 0);
 1314|      3|}
Py_CompileStringObject:
 1567|  26.3k|{
 1568|       |    return _Py_CompileString(str, filename, start, flags, optimize, NULL);
 1569|  26.3k|}
_Py_CompileString:
 1574|  26.3k|{
 1575|  26.3k|    if (check_start(start) < 0) {
  ------------------
  |  Branch (1575:9): [True: 0, False: 26.3k]
  ------------------
 1576|      0|        return NULL;
 1577|      0|    }
 1578|       |
 1579|  26.3k|    PyArena *arena = _PyArena_New();
 1580|  26.3k|    if (arena == NULL)
  ------------------
  |  Branch (1580:9): [True: 0, False: 26.3k]
  ------------------
 1581|      0|        return NULL;
 1582|       |
 1583|  26.3k|    PyObject *result = NULL;
 1584|  26.3k|    PyObject *incomplete = NULL;
 1585|  26.3k|    mod_ty mod = _PyParser_ASTFromString(str, filename, start, flags, arena,
 1586|  26.3k|                                        module, &incomplete);
 1587|  26.3k|    if (mod == NULL) {
  ------------------
  |  Branch (1587:9): [True: 11.7k, False: 14.6k]
  ------------------
 1588|  11.7k|        goto done;
 1589|  11.7k|    }
 1590|  14.6k|    if (flags && (flags->cf_flags & PyCF_ONLY_AST)) {
  ------------------
  |  |   17|  14.6k|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (1590:9): [True: 14.6k, False: 0]
  |  Branch (1590:18): [True: 1.96k, False: 12.7k]
  ------------------
 1591|  1.96k|        int syntax_check_only = ((flags->cf_flags & PyCF_OPTIMIZED_AST) == PyCF_ONLY_AST); /* unoptiomized AST */
  ------------------
  |  |   22|  1.96k|#define PyCF_OPTIMIZED_AST (0x8000 | PyCF_ONLY_AST)
  |  |  ------------------
  |  |  |  |   17|  1.96k|#define PyCF_ONLY_AST 0x0400
  |  |  ------------------
  ------------------
                      int syntax_check_only = ((flags->cf_flags & PyCF_OPTIMIZED_AST) == PyCF_ONLY_AST); /* unoptiomized AST */
  ------------------
  |  |   17|  1.96k|#define PyCF_ONLY_AST 0x0400
  ------------------
 1592|  1.96k|        if (_PyCompile_AstPreprocess(mod, filename, flags, optimize, arena,
  ------------------
  |  Branch (1592:13): [True: 11, False: 1.94k]
  ------------------
 1593|  1.96k|                                     syntax_check_only, module) < 0)
 1594|     11|        {
 1595|     11|            goto done;
 1596|     11|        }
 1597|  1.94k|        if (incomplete != NULL) {
  ------------------
  |  Branch (1597:13): [True: 5, False: 1.94k]
  ------------------
 1598|      5|            goto done;
 1599|      5|        }
 1600|  1.94k|        result = PyAST_mod2obj(mod);
 1601|  1.94k|        _PyArena_Free(arena);
 1602|  1.94k|        return result;
 1603|  1.94k|    }
 1604|  12.7k|    result = (PyObject *)_PyAST_Compile(mod, filename, flags, optimize, arena, module);
 1605|       |
 1606|  24.4k|done:
 1607|  24.4k|    _PyArena_Free(arena);
 1608|  24.4k|    if (incomplete != NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (1608:9): [True: 219, False: 24.2k]
  |  Branch (1608:31): [True: 105, False: 114]
  ------------------
 1609|    105|        Py_CLEAR(result);
  ------------------
  |  |  487|    105|    do { \
  |  |  488|    105|        _Py_TYPEOF(&(op)) _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  549|    105|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  489|    105|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  549|    105|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  490|    105|        if (_tmp_old_op != _Py_NULL) { \
  |  |  ------------------
  |  |  |  |   57|    105|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  |  Branch (490:13): [True: 100, False: 5]
  |  |  ------------------
  |  |  491|    100|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    100|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  492|    100|            Py_DECREF(_PyObject_CAST(_tmp_old_op)); \
  |  |  ------------------
  |  |  |  |  430|    100|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  493|    100|        } \
  |  |  494|    105|    } while (0)
  |  |  ------------------
  |  |  |  Branch (494:14): [Folded, False: 105]
  |  |  ------------------
  ------------------
 1610|    105|        PyErr_SetRaisedException(incomplete);
 1611|    105|    }
 1612|  24.3k|    else {
 1613|  24.3k|        Py_XDECREF(incomplete);
  ------------------
  |  |  621|  24.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1614|  24.3k|    }
 1615|  24.4k|    return result;
 1616|  12.7k|}
Py_CompileStringExFlags:
 1621|  26.3k|{
 1622|  26.3k|    PyObject *filename, *co;
 1623|  26.3k|    filename = PyUnicode_DecodeFSDefault(filename_str);
 1624|  26.3k|    if (filename == NULL)
  ------------------
  |  Branch (1624:9): [True: 0, False: 26.3k]
  ------------------
 1625|      0|        return NULL;
 1626|  26.3k|    co = Py_CompileStringObject(str, filename, start, flags, optimize);
 1627|  26.3k|    Py_DECREF(filename);
  ------------------
  |  |  430|  26.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1628|  26.3k|    return co;
 1629|  26.3k|}
_Py_SourceAsString:
 1653|      3|{
 1654|      3|    const char *str;
 1655|      3|    Py_ssize_t size;
 1656|      3|    Py_buffer view;
 1657|       |
 1658|      3|    *cmd_copy = NULL;
 1659|      3|    if (PyUnicode_Check(cmd)) {
  ------------------
  |  |  103|      3|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      3|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1660|      3|        cf->cf_flags |= PyCF_IGNORE_COOKIE;
  ------------------
  |  |   18|      3|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
 1661|      3|        str = PyUnicode_AsUTF8AndSize(cmd, &size);
 1662|      3|        if (str == NULL)
  ------------------
  |  Branch (1662:13): [True: 0, False: 3]
  ------------------
 1663|      0|            return NULL;
 1664|      3|    }
 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|      3|    if (strlen(str) != (size_t)size) {
  ------------------
  |  Branch (1691:9): [True: 0, False: 3]
  ------------------
 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|      3|    return str;
 1698|      3|}
pythonrun.c:run_mod:
 1443|      3|{
 1444|      3|    PyThreadState *tstate = _PyThreadState_GET();
 1445|      3|    PyObject* interactive_filename = filename;
 1446|      3|    if (interactive_src) {
  ------------------
  |  Branch (1446:9): [True: 0, False: 3]
  ------------------
 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|      3|    PyObject *module = NULL;
 1459|      3|    if (globals && PyDict_GetItemStringRef(globals, "__name__", &module) < 0) {
  ------------------
  |  Branch (1459:9): [True: 3, False: 0]
  |  Branch (1459:20): [True: 0, False: 3]
  ------------------
 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|      3|    PyCodeObject *co = _PyAST_Compile(mod, interactive_filename, flags, -1,
 1467|      3|                                      arena, module);
 1468|      3|    Py_XDECREF(module);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1469|      3|    if (co == NULL) {
  ------------------
  |  Branch (1469:9): [True: 0, False: 3]
  ------------------
 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|      3|    if (interactive_src) {
  ------------------
  |  Branch (1476:9): [True: 0, False: 3]
  ------------------
 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|      3|    if (_PySys_Audit(tstate, "exec", "O", co) < 0) {
  ------------------
  |  Branch (1511:9): [True: 0, False: 3]
  ------------------
 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|      3|    PyObject *v = run_eval_code_obj(tstate, co, globals, locals);
 1517|      3|    Py_DECREF(co);
  ------------------
  |  |  430|      3|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1518|      3|    return v;
 1519|      3|}
pythonrun.c:run_eval_code_obj:
 1394|      3|{
 1395|       |    /* Set globals['__builtins__'] if it doesn't exist */
 1396|      3|    if (!globals || !PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|      3|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|      3|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 3, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1396:9): [True: 0, False: 3]
  ------------------
 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|      3|    int has_builtins = PyDict_ContainsString(globals, "__builtins__");
 1402|      3|    if (has_builtins < 0) {
  ------------------
  |  Branch (1402:9): [True: 0, False: 3]
  ------------------
 1403|      0|        return NULL;
 1404|      0|    }
 1405|      3|    if (!has_builtins) {
  ------------------
  |  Branch (1405:9): [True: 0, False: 3]
  ------------------
 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|      3|    return PyEval_EvalCode((PyObject*)co, globals, locals);
 1414|      3|}
pythonrun.c:_PyRun_String:
 1266|      3|{
 1267|      3|    if (check_start(start) < 0) {
  ------------------
  |  Branch (1267:9): [True: 0, False: 3]
  ------------------
 1268|      0|        return NULL;
 1269|      0|    }
 1270|       |
 1271|      3|    PyObject *ret = NULL;
 1272|      3|    mod_ty mod;
 1273|      3|    PyArena *arena;
 1274|       |
 1275|      3|    arena = _PyArena_New();
 1276|      3|    if (arena == NULL)
  ------------------
  |  Branch (1276:9): [True: 0, False: 3]
  ------------------
 1277|      0|        return NULL;
 1278|       |
 1279|      3|    PyObject* source = NULL;
 1280|      3|    _Py_DECLARE_STR(anon_string, "<string>");
 1281|       |
 1282|      3|    if (name) {
  ------------------
  |  Branch (1282:9): [True: 0, False: 3]
  ------------------
 1283|      0|        source = PyUnicode_FromString(str);
 1284|      0|        if (!source) {
  ------------------
  |  Branch (1284:13): [True: 0, False: 0]
  ------------------
 1285|      0|            PyErr_Clear();
 1286|      0|        }
 1287|      3|    } else {
 1288|      3|        name = &_Py_STR(anon_string);
  ------------------
  |  |  953|      3|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1289|      3|    }
 1290|      3|    PyObject *module = NULL;
 1291|      3|    if (globals && PyDict_GetItemStringRef(globals, "__name__", &module) < 0) {
  ------------------
  |  Branch (1291:9): [True: 3, False: 0]
  |  Branch (1291:20): [True: 0, False: 3]
  ------------------
 1292|      0|        goto done;
 1293|      0|    }
 1294|       |
 1295|      3|    mod = _PyParser_ASTFromString(str, name, start, flags, arena, module, NULL);
 1296|      3|    Py_XDECREF(module);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1297|       |
 1298|      3|    if (mod != NULL) {
  ------------------
  |  Branch (1298:9): [True: 3, False: 0]
  ------------------
 1299|      3|        ret = run_mod(mod, name, globals, locals, flags, arena, source, generate_new_source);
 1300|      3|    }
 1301|       |
 1302|      3|done:
 1303|      3|    Py_XDECREF(source);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|      3|    _PyArena_Free(arena);
 1305|      3|    return ret;
 1306|      3|}
pythonrun.c:check_start:
 1252|  26.3k|{
 1253|  26.3k|    if (start == Py_single_input || start == Py_file_input
  ------------------
  |  |    8|  52.7k|#define Py_single_input 256
  ------------------
                  if (start == Py_single_input || start == Py_file_input
  ------------------
  |  |    9|  46.7k|#define Py_file_input 257
  ------------------
  |  Branch (1253:9): [True: 6.02k, False: 20.3k]
  |  Branch (1253:37): [True: 16.2k, False: 4.09k]
  ------------------
 1254|  4.09k|        || start == Py_eval_input || start == Py_func_type_input)
  ------------------
  |  |   10|  30.4k|#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: 4.09k, False: 0]
  |  Branch (1254:38): [True: 0, False: 0]
  ------------------
 1255|  26.3k|    {
 1256|  26.3k|        return 0;
 1257|  26.3k|    }
 1258|      0|    PyErr_SetString(PyExc_ValueError, "invalid start argument");
 1259|      0|    return -1;
 1260|  26.3k|}

_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.76k|{
  227|  1.76k|#if SIZEOF_TIME_T == SIZEOF_LONG_LONG
  228|  1.76k|    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.76k|}
_PyTime_FromSeconds:
  539|    822|{
  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|    822|    static_assert(INT_MAX <= PyTime_MAX / SEC_TO_NS, "PyTime_t overflow");
  544|    822|    static_assert(INT_MIN >= PyTime_MIN / SEC_TO_NS, "PyTime_t underflow");
  545|       |
  546|    822|    PyTime_t t = (PyTime_t)seconds;
  547|    822|    assert((t >= 0 && t <= PyTime_MAX / SEC_TO_NS)
  ------------------
  |  Branch (547:5): [True: 0, False: 822]
  |  Branch (547:5): [True: 0, False: 0]
  |  Branch (547:5): [True: 822, False: 0]
  |  Branch (547:5): [True: 822, False: 0]
  ------------------
  548|    822|           || (t < 0 && t >= PyTime_MIN / SEC_TO_NS));
  549|    822|    t *= SEC_TO_NS;
  ------------------
  |  |   35|    822|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|    822|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|    822|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    822|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|    822|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|    822|    return t;
  551|    822|}
_PyTime_FromMicrosecondsClamp:
  556|  83.1k|{
  557|  83.1k|    PyTime_t ns = _PyTime_Mul(us, US_TO_NS);
  ------------------
  |  |   33|  83.1k|#define US_TO_NS 1000
  ------------------
  558|  83.1k|    return ns;
  559|  83.1k|}
PyTime_AsSecondsDouble:
  705|  8.29k|{
  706|       |    /* volatile avoids optimization changing how numbers are rounded */
  707|  8.29k|    volatile double d;
  708|       |
  709|  8.29k|    if (ns % SEC_TO_NS == 0) {
  ------------------
  |  |   35|  8.29k|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|  8.29k|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|  8.29k|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  8.29k|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|  8.29k|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (709:9): [True: 0, False: 8.29k]
  ------------------
  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|  8.29k|    else {
  716|  8.29k|        d = (double)ns;
  717|  8.29k|        d /= 1e9;
  718|  8.29k|    }
  719|  8.29k|    return d;
  720|  8.29k|}
_PyTime_Init:
 1179|      2|{
 1180|       |#ifdef MS_WINDOWS
 1181|       |    return py_win_perf_counter_frequency(&state->base);
 1182|       |#elif defined(__APPLE__)
 1183|       |    return py_mach_timebase_info(&state->base);
 1184|       |#else
 1185|      2|    return PyStatus_Ok();
 1186|      2|#endif
 1187|      2|}
PyTime_MonotonicRaw:
 1289|  16.5k|{
 1290|  16.5k|    if (py_get_monotonic_clock(result, NULL, 0) < 0) {
  ------------------
  |  Branch (1290:9): [True: 0, False: 16.5k]
  ------------------
 1291|      0|        *result = 0;
 1292|      0|        return -1;
 1293|      0|    }
 1294|  16.5k|    return 0;
 1295|  16.5k|}
PyTime_PerfCounterRaw:
 1321|  16.5k|{
 1322|  16.5k|    return PyTime_MonotonicRaw(result);
 1323|  16.5k|}
_PyTime_localtime:
 1328|      4|{
 1329|       |#ifdef MS_WINDOWS
 1330|       |    if (t >= 0) {
 1331|       |        /* For non-negative timestamps, use localtime_s() */
 1332|       |        int error = localtime_s(tm, &t);
 1333|       |        if (error != 0) {
 1334|       |            errno = error;
 1335|       |            PyErr_SetFromErrno(PyExc_OSError);
 1336|       |            return -1;
 1337|       |        }
 1338|       |        return 0;
 1339|       |    }
 1340|       |
 1341|       |    /* For negative timestamps, use FILETIME-based conversion */
 1342|       |    return _PyTime_windows_filetime(t, tm, 1);
 1343|       |#else /* !MS_WINDOWS */
 1344|       |
 1345|       |#if defined(_AIX) && (SIZEOF_TIME_T < 8)
 1346|       |    /* bpo-34373: AIX does not return NULL if t is too small or too large */
 1347|       |    if (t < -2145916800 /* 1902-01-01 */
 1348|       |       || t > 2145916800 /* 2038-01-01 */) {
 1349|       |        errno = EINVAL;
 1350|       |        PyErr_SetString(PyExc_OverflowError,
 1351|       |                        "localtime argument out of range");
 1352|       |        return -1;
 1353|       |    }
 1354|       |#endif
 1355|       |
 1356|      4|    errno = 0;
 1357|      4|    if (localtime_r(&t, tm) == NULL) {
  ------------------
  |  Branch (1357:9): [True: 0, False: 4]
  ------------------
 1358|      0|        if (errno == 0) {
  ------------------
  |  Branch (1358:13): [True: 0, False: 0]
  ------------------
 1359|      0|            errno = EINVAL;
 1360|      0|        }
 1361|      0|        PyErr_SetFromErrno(PyExc_OSError);
 1362|      0|        return -1;
 1363|      0|    }
 1364|      4|    return 0;
 1365|      4|#endif /* MS_WINDOWS */
 1366|      4|}
pytime.c:_PyTime_GCD:
   63|      4|{
   64|       |    // Euclidean algorithm
   65|      4|    assert(x >= 1);
  ------------------
  |  Branch (65:5): [True: 4, False: 0]
  ------------------
   66|      4|    assert(y >= 1);
  ------------------
  |  Branch (66:5): [True: 4, False: 0]
  ------------------
   67|      8|    while (y != 0) {
  ------------------
  |  Branch (67:12): [True: 4, False: 4]
  ------------------
   68|      4|        PyTime_t tmp = y;
   69|      4|        y = x % y;
   70|      4|        x = tmp;
   71|      4|    }
   72|      4|    assert(x >= 1);
  ------------------
  |  Branch (72:5): [True: 4, False: 0]
  ------------------
   73|      4|    return x;
   74|      4|}
pytime.c:pytime_add:
  117|  16.5k|{
  118|  16.5k|    if (t2 > 0 && *t1 > PyTime_MAX - t2) {
  ------------------
  |  |   12|  16.5k|#define PyTime_MAX INT64_MAX
  ------------------
  |  Branch (118:9): [True: 16.5k, False: 0]
  |  Branch (118:19): [True: 0, False: 16.5k]
  ------------------
  119|      0|        *t1 = PyTime_MAX;
  ------------------
  |  |   12|      0|#define PyTime_MAX INT64_MAX
  ------------------
  120|      0|        return -1;
  121|      0|    }
  122|  16.5k|    else if (t2 < 0 && *t1 < PyTime_MIN - t2) {
  ------------------
  |  |   11|      0|#define PyTime_MIN INT64_MIN
  ------------------
  |  Branch (122:14): [True: 0, False: 16.5k]
  |  Branch (122:24): [True: 0, False: 0]
  ------------------
  123|      0|        *t1 = PyTime_MIN;
  ------------------
  |  |   11|      0|#define PyTime_MIN INT64_MIN
  ------------------
  124|      0|        return -1;
  125|      0|    }
  126|  16.5k|    else {
  127|  16.5k|        *t1 += t2;
  128|  16.5k|        return 0;
  129|  16.5k|    }
  130|  16.5k|}
pytime.c:_PyTime_Mul:
  173|  83.1k|{
  174|  83.1k|    (void)pytime_mul(&t, k);
  175|  83.1k|    return t;
  176|  83.1k|}
pytime.c:pytime_mul:
  157|  99.7k|{
  158|  99.7k|    assert(k >= 0);
  ------------------
  |  Branch (158:5): [True: 99.7k, False: 0]
  ------------------
  159|  99.7k|    if (pytime_mul_check_overflow(*t, k)) {
  ------------------
  |  Branch (159:9): [True: 0, False: 99.7k]
  ------------------
  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|  99.7k|    else {
  164|  99.7k|        *t *= k;
  165|  99.7k|        return 0;
  166|  99.7k|    }
  167|  99.7k|}
pytime.c:pytime_mul_check_overflow:
  143|  99.7k|{
  144|  99.7k|    if (b != 0) {
  ------------------
  |  Branch (144:9): [True: 99.7k, False: 0]
  ------------------
  145|  99.7k|        assert(b > 0);
  ------------------
  |  Branch (145:9): [True: 99.7k, False: 0]
  ------------------
  146|  99.7k|        return ((a < PyTime_MIN / b) || (PyTime_MAX / b < a));
  ------------------
  |  |   11|  99.7k|#define PyTime_MIN INT64_MIN
  ------------------
                      return ((a < PyTime_MIN / b) || (PyTime_MAX / b < a));
  ------------------
  |  |   12|  99.7k|#define PyTime_MAX INT64_MAX
  ------------------
  |  Branch (146:17): [True: 0, False: 99.7k]
  |  Branch (146:41): [True: 0, False: 99.7k]
  ------------------
  147|  99.7k|    }
  148|      0|    else {
  149|      0|        return 0;
  150|      0|    }
  151|  99.7k|}
pytime.c:pytime_fromtimespec:
  565|  16.5k|{
  566|  16.5k|    PyTime_t t, tv_nsec;
  567|       |
  568|  16.5k|    static_assert(sizeof(ts->tv_sec) <= sizeof(PyTime_t),
  569|  16.5k|                  "timespec.tv_sec is larger than PyTime_t");
  570|  16.5k|    t = (PyTime_t)ts->tv_sec;
  571|       |
  572|  16.5k|    int res1 = pytime_mul(&t, SEC_TO_NS);
  ------------------
  |  |   35|  16.5k|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|  16.5k|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|  16.5k|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  16.5k|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|  16.5k|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|       |
  574|  16.5k|    tv_nsec = ts->tv_nsec;
  575|  16.5k|    int res2 = pytime_add(&t, tv_nsec);
  576|       |
  577|  16.5k|    *tp = t;
  578|       |
  579|  16.5k|    if (raise_exc && (res1 < 0 || res2 < 0)) {
  ------------------
  |  Branch (579:9): [True: 0, False: 16.5k]
  |  Branch (579:23): [True: 0, False: 0]
  |  Branch (579:35): [True: 0, False: 0]
  ------------------
  580|      0|        pytime_overflow();
  581|      0|        return -1;
  582|      0|    }
  583|  16.5k|    return 0;
  584|  16.5k|}
pytime.c:py_get_monotonic_clock:
 1192|  16.5k|{
 1193|  16.5k|    assert(info == NULL || raise_exc);
  ------------------
  |  Branch (1193:5): [True: 16.5k, False: 0]
  |  Branch (1193:5): [True: 0, False: 0]
  ------------------
 1194|  16.5k|    if (raise_exc) {
  ------------------
  |  Branch (1194:9): [True: 0, False: 16.5k]
  ------------------
 1195|       |        // raise_exc requires to hold a thread state
 1196|      0|        _Py_AssertHoldsTstate();
  ------------------
  |  |  324|      0|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 1197|      0|    }
 1198|       |
 1199|       |#if defined(MS_WINDOWS)
 1200|       |    if (py_get_win_perf_counter(tp, info, raise_exc) < 0) {
 1201|       |        return -1;
 1202|       |    }
 1203|       |#elif defined(__APPLE__)
 1204|       |    if (info) {
 1205|       |        info->implementation = "mach_absolute_time()";
 1206|       |        info->resolution = _PyTimeFraction_Resolution(&_PyRuntime.time.base);
 1207|       |        info->monotonic = 1;
 1208|       |        info->adjustable = 0;
 1209|       |    }
 1210|       |
 1211|       |    uint64_t uticks = mach_absolute_time();
 1212|       |    // unsigned => signed
 1213|       |    assert(uticks <= (uint64_t)PyTime_MAX);
 1214|       |    PyTime_t ticks = (PyTime_t)uticks;
 1215|       |
 1216|       |    PyTime_t ns = _PyTimeFraction_Mul(ticks, &_PyRuntime.time.base);
 1217|       |    *tp = ns;
 1218|       |
 1219|       |#elif defined(__hpux)
 1220|       |    hrtime_t time = gethrtime();
 1221|       |    if (time == -1) {
 1222|       |        if (raise_exc) {
 1223|       |            PyErr_SetFromErrno(PyExc_OSError);
 1224|       |        }
 1225|       |        return -1;
 1226|       |    }
 1227|       |
 1228|       |    *tp = time;
 1229|       |
 1230|       |    if (info) {
 1231|       |        info->implementation = "gethrtime()";
 1232|       |        info->resolution = 1e-9;
 1233|       |        info->monotonic = 1;
 1234|       |        info->adjustable = 0;
 1235|       |    }
 1236|       |
 1237|       |#else
 1238|       |
 1239|       |#ifdef CLOCK_HIGHRES
 1240|       |    const clockid_t clk_id = CLOCK_HIGHRES;
 1241|       |    const char *implementation = "clock_gettime(CLOCK_HIGHRES)";
 1242|       |#else
 1243|  16.5k|    const clockid_t clk_id = CLOCK_MONOTONIC;
 1244|  16.5k|    const char *implementation = "clock_gettime(CLOCK_MONOTONIC)";
 1245|  16.5k|#endif
 1246|       |
 1247|  16.5k|    struct timespec ts;
 1248|  16.5k|    if (clock_gettime(clk_id, &ts) != 0) {
  ------------------
  |  Branch (1248:9): [True: 0, False: 16.5k]
  ------------------
 1249|      0|        if (raise_exc) {
  ------------------
  |  Branch (1249:13): [True: 0, False: 0]
  ------------------
 1250|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1251|      0|            return -1;
 1252|      0|        }
 1253|      0|        return -1;
 1254|      0|    }
 1255|       |
 1256|  16.5k|    if (pytime_fromtimespec(tp, &ts, raise_exc) < 0) {
  ------------------
  |  Branch (1256:9): [True: 0, False: 16.5k]
  ------------------
 1257|      0|        return -1;
 1258|      0|    }
 1259|       |
 1260|  16.5k|    if (info) {
  ------------------
  |  Branch (1260:9): [True: 0, False: 16.5k]
  ------------------
 1261|      0|        info->monotonic = 1;
 1262|      0|        info->implementation = implementation;
 1263|      0|        info->adjustable = 0;
 1264|      0|        struct timespec res;
 1265|      0|        if (clock_getres(clk_id, &res) != 0) {
  ------------------
  |  Branch (1265:13): [True: 0, False: 0]
  ------------------
 1266|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1267|      0|            return -1;
 1268|      0|        }
 1269|      0|        info->resolution = res.tv_sec + res.tv_nsec * 1e-9;
 1270|      0|    }
 1271|  16.5k|#endif
 1272|  16.5k|    return 0;
 1273|  16.5k|}

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

_PyCode_Quicken:
   65|  77.8k|{
   66|  77.8k|    #if ENABLE_SPECIALIZATION
   67|  77.8k|    _Py_BackoffCounter jump_counter, adaptive_counter, resume_counter;
   68|  77.8k|    if (enable_counters) {
  ------------------
  |  Branch (68:9): [True: 77.8k, False: 0]
  ------------------
   69|  77.8k|        PyThreadState *tstate = _PyThreadState_GET();
   70|  77.8k|        PyInterpreterState *interp = tstate->interp;
   71|  77.8k|        jump_counter = initial_jump_backoff_counter(&interp->opt_config);
   72|  77.8k|        adaptive_counter = adaptive_counter_warmup();
   73|  77.8k|        resume_counter = initial_resume_backoff_counter(&interp->opt_config);
   74|  77.8k|    }
   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|  77.8k|    int opcode = 0;
   81|  77.8k|    int oparg = 0;
   82|       |    /* The last code unit cannot have a cache, so we don't need to check it */
   83|  3.87M|    for (Py_ssize_t i = 0; i < size-1; i++) {
  ------------------
  |  Branch (83:28): [True: 3.80M, False: 77.8k]
  ------------------
   84|  3.80M|        opcode = instructions[i].op.code;
   85|  3.80M|        int caches = _PyOpcode_Caches[opcode];
   86|  3.80M|        oparg = (oparg << 8) | instructions[i].op.arg;
   87|  3.80M|        if (opcode == GET_ITER) {
  ------------------
  |  |   80|  3.80M|#define GET_ITER                                67
  ------------------
  |  Branch (87:13): [True: 4.72k, False: 3.79M]
  ------------------
   88|  4.72k|            fixup_getiter(&instructions[i], flags);
   89|  4.72k|        }
   90|  3.80M|        if (caches) {
  ------------------
  |  Branch (90:13): [True: 905k, False: 2.89M]
  ------------------
   91|       |            // The initial value depends on the opcode
   92|   905k|            switch (opcode) {
   93|  9.32k|                case JUMP_BACKWARD:
  ------------------
  |  |   84|  9.32k|#define JUMP_BACKWARD                           71
  ------------------
  |  Branch (93:17): [True: 9.32k, False: 896k]
  ------------------
   94|  9.32k|                    instructions[i + 1].counter = jump_counter;
   95|  9.32k|                    break;
   96|   114k|                case RESUME:
  ------------------
  |  |  130|   114k|#define RESUME                                 128
  ------------------
  |  Branch (96:17): [True: 114k, False: 790k]
  ------------------
   97|   114k|                    instructions[i + 1].counter = resume_counter;
   98|   114k|                    break;
   99|  74.0k|                case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|  74.0k|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (99:17): [True: 74.0k, False: 831k]
  ------------------
  100|  89.7k|                case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|  89.7k|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (100:17): [True: 15.7k, False: 889k]
  ------------------
  101|  91.4k|                case POP_JUMP_IF_NONE:
  ------------------
  |  |  110|  91.4k|#define POP_JUMP_IF_NONE                        97
  ------------------
  |  Branch (101:17): [True: 1.65k, False: 903k]
  ------------------
  102|  92.3k|                case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  111|  92.3k|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (102:17): [True: 933, False: 904k]
  ------------------
  103|  92.3k|                    instructions[i + 1].cache = 0x5555;  // Alternating 0, 1 bits
  104|  92.3k|                    break;
  105|   688k|                default:
  ------------------
  |  Branch (105:17): [True: 688k, False: 216k]
  ------------------
  106|   688k|                    instructions[i + 1].counter = adaptive_counter;
  107|   688k|                    break;
  108|   905k|            }
  109|   905k|            i += caches;
  110|   905k|        }
  111|  3.80M|        if (opcode != EXTENDED_ARG) {
  ------------------
  |  |   77|  3.80M|#define EXTENDED_ARG                            64
  ------------------
  |  Branch (111:13): [True: 3.75M, False: 41.8k]
  ------------------
  112|  3.75M|            oparg = 0;
  113|  3.75M|        }
  114|  3.80M|    }
  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|  77.8k|}
_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|  1.48k|{
 1001|  1.48k|    PyObject *owner = PyStackRef_AsPyObjectBorrow(owner_st);
 1002|       |
 1003|  1.48k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1003:5): [True: 1.48k, Folded]
  ------------------
 1004|  1.48k|    assert(_PyOpcode_Caches[LOAD_ATTR] == INLINE_CACHE_ENTRIES_LOAD_ATTR);
  ------------------
  |  Branch (1004:5): [True: 1.48k, False: 0]
  ------------------
 1005|  1.48k|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|  1.48k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1006|  1.48k|    bool fail;
 1007|  1.48k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (1007:9): [True: 0, False: 1.48k]
  ------------------
 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|  1.48k|    else if (PyModule_CheckExact(owner)) {
  ------------------
  |  |   13|  1.48k|#define PyModule_CheckExact(op) Py_IS_TYPE((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  215|  1.48k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 352, False: 1.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1015|    352|        fail = specialize_module_load_attr(owner, instr, name);
 1016|    352|    }
 1017|  1.13k|    else if (PyType_Check(owner)) {
  ------------------
  |  |  766|  1.13k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 199, False: 937]
  |  |  ------------------
  ------------------
 1018|    199|        fail = specialize_class_load_attr(owner, instr, name);
 1019|    199|    }
 1020|    937|    else {
 1021|    937|        fail = specialize_instance_load_attr(owner, instr, name);
 1022|    937|    }
 1023|       |
 1024|  1.48k|    if (fail) {
  ------------------
  |  Branch (1024:9): [True: 488, False: 1.00k]
  ------------------
 1025|    488|        unspecialize(instr);
 1026|    488|    }
 1027|  1.48k|}
_Py_Specialize_StoreAttr:
 1031|    283|{
 1032|    283|    PyObject *owner = PyStackRef_AsPyObjectBorrow(owner_st);
 1033|       |
 1034|    283|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1034:5): [True: 283, Folded]
  ------------------
 1035|    283|    assert(_PyOpcode_Caches[STORE_ATTR] == INLINE_CACHE_ENTRIES_STORE_ATTR);
  ------------------
  |  Branch (1035:5): [True: 283, False: 0]
  ------------------
 1036|    283|    PyObject *descr = NULL;
 1037|    283|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
 1038|    283|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|    283|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    283|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    283|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1039|    283|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (1039:9): [True: 0, False: 283]
  ------------------
 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|    283|    if (PyModule_CheckExact(owner)) {
  ------------------
  |  |   13|    283|#define PyModule_CheckExact(op) Py_IS_TYPE((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  215|    283|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    283|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    283|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 24, False: 259]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|    259|    unsigned int tp_version = 0;
 1051|    259|    DescriptorClassification kind = analyze_descriptor_store(type, name, &descr, &tp_version);
 1052|    259|    if (tp_version == 0) {
  ------------------
  |  Branch (1052:9): [True: 14, False: 245]
  ------------------
 1053|     14|        goto fail;
 1054|     14|    }
 1055|    259|    assert(descr != NULL || kind == ABSENT || kind == GETSET_OVERRIDDEN);
  ------------------
  |  Branch (1055:5): [True: 28, False: 217]
  |  Branch (1055:5): [True: 217, False: 0]
  |  Branch (1055:5): [True: 0, False: 0]
  ------------------
 1056|    245|    switch(kind) {
  ------------------
  |  Branch (1056:12): [True: 245, False: 0]
  ------------------
 1057|     14|        case OVERRIDING:
  ------------------
  |  Branch (1057:9): [True: 14, False: 231]
  ------------------
 1058|     14|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_OVERRIDING_DESCRIPTOR);
  ------------------
  |  |   44|     14|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1059|     14|            goto fail;
 1060|      0|        case METHOD:
  ------------------
  |  Branch (1060:9): [True: 0, False: 245]
  ------------------
 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: 243]
  ------------------
 1064|      2|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_PROPERTY);
  ------------------
  |  |   44|      2|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1065|      2|            goto fail;
 1066|     10|        case OBJECT_SLOT:
  ------------------
  |  Branch (1066:9): [True: 10, False: 235]
  ------------------
 1067|     10|        {
 1068|     10|            PyMemberDescrObject *member = (PyMemberDescrObject *)descr;
 1069|     10|            struct PyMemberDef *dmem = member->d_member;
 1070|     10|            Py_ssize_t offset = dmem->offset;
 1071|     10|            if (!PyObject_TypeCheck(owner, member->d_common.d_type)) {
  ------------------
  |  |  378|     10|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1071:17): [True: 0, False: 10]
  ------------------
 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|     10|            if (dmem->flags & _Py_AFTER_ITEMS) {
  ------------------
  |  |   89|     10|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
  |  Branch (1075:17): [True: 0, False: 10]
  ------------------
 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|     10|            if (dmem->flags & Py_READONLY) {
  ------------------
  |  |   83|     10|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (1079:17): [True: 0, False: 10]
  ------------------
 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|     10|            if (offset != (uint16_t)offset) {
  ------------------
  |  Branch (1083:17): [True: 0, False: 10]
  ------------------
 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|     10|            assert(dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT);
  ------------------
  |  Branch (1087:13): [True: 10, False: 0]
  |  Branch (1087:13): [True: 0, False: 0]
  ------------------
 1088|     10|            assert(offset > 0);
  ------------------
  |  Branch (1088:13): [True: 10, False: 0]
  ------------------
 1089|     10|            cache->index = (uint16_t)offset;
 1090|     10|            write_u32(cache->version, tp_version);
 1091|     10|            specialize(instr, STORE_ATTR_SLOT);
  ------------------
  |  |  208|     10|#define STORE_ATTR_SLOT                        206
  ------------------
 1092|     10|            goto success;
 1093|     10|        }
 1094|      0|        case DUNDER_CLASS:
  ------------------
  |  Branch (1094:9): [True: 0, False: 245]
  ------------------
 1095|      0|        case OTHER_SLOT:
  ------------------
  |  Branch (1095:9): [True: 0, False: 245]
  ------------------
 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: 245]
  ------------------
 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: 245]
  ------------------
 1102|      0|        case GETSET_OVERRIDDEN:
  ------------------
  |  Branch (1102:9): [True: 0, False: 245]
  ------------------
 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: 245]
  ------------------
 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: 245]
  ------------------
 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: 245]
  ------------------
 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: 243]
  ------------------
 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|    217|        case ABSENT:
  ------------------
  |  Branch (1117:9): [True: 217, False: 28]
  ------------------
 1118|    217|            if (specialize_dict_access(owner, instr, type, kind, name, tp_version,
  ------------------
  |  Branch (1118:17): [True: 166, False: 51]
  ------------------
 1119|    217|                                       STORE_ATTR, STORE_ATTR_INSTANCE_VALUE,
  ------------------
  |  |  119|    217|#define STORE_ATTR                             106
  ------------------
                                                     STORE_ATTR, STORE_ATTR_INSTANCE_VALUE,
  ------------------
  |  |  207|    217|#define STORE_ATTR_INSTANCE_VALUE              205
  ------------------
 1120|    217|                                       STORE_ATTR_WITH_HINT)) {
  ------------------
  |  |  209|    217|#define STORE_ATTR_WITH_HINT                   207
  ------------------
 1121|    166|                goto success;
 1122|    166|            }
 1123|    245|    }
 1124|    107|fail:
 1125|    107|    Py_XDECREF(descr);
  ------------------
  |  |  621|    107|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    107|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1126|    107|    unspecialize(instr);
 1127|    107|    return;
 1128|    176|success:
 1129|    176|    Py_XDECREF(descr);
  ------------------
  |  |  621|    176|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    176|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    176|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1130|    176|    return;
 1131|    245|}
_Py_Specialize_LoadGlobal:
 1460|  1.78k|{
 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.78k|    Py_BEGIN_CRITICAL_SECTION2(globals, builtins);
  ------------------
  |  |   57|  1.78k|    {
  ------------------
 1470|  1.78k|    specialize_load_global_lock_held(globals, builtins, instr, name);
 1471|  1.78k|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  1.78k|    }
  ------------------
 1472|  1.78k|}
_Py_Specialize_StoreSubscr:
 1586|     95|{
 1587|     95|    PyObject *container = PyStackRef_AsPyObjectBorrow(container_st);
 1588|     95|    PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
 1589|       |
 1590|     95|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1590:5): [True: 95, Folded]
  ------------------
 1591|     95|    PyTypeObject *container_type = Py_TYPE(container);
  ------------------
  |  |  213|     95|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1592|     95|    if (container_type == &PyList_Type) {
  ------------------
  |  Branch (1592:9): [True: 17, False: 78]
  ------------------
 1593|     17|        if (PyLong_CheckExact(sub)) {
  ------------------
  |  |   14|     17|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|     17|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 13, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1594|     13|            if (_PyLong_IsNonNegativeCompact((PyLongObject *)sub)
  ------------------
  |  Branch (1594:17): [True: 11, False: 2]
  ------------------
 1595|     11|                && ((PyLongObject *)sub)->long_value.ob_digit[0] < (size_t)PyList_GET_SIZE(container))
  ------------------
  |  |   38|     11|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1595:20): [True: 11, False: 0]
  ------------------
 1596|     11|            {
 1597|     11|                specialize(instr, STORE_SUBSCR_LIST_INT);
  ------------------
  |  |  211|     11|#define STORE_SUBSCR_LIST_INT                  209
  ------------------
 1598|     11|                return;
 1599|     11|            }
 1600|      2|            else {
 1601|      2|                SPECIALIZATION_FAIL(STORE_SUBSCR, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   44|      2|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1602|      2|                unspecialize(instr);
 1603|      2|                return;
 1604|      2|            }
 1605|     13|        }
 1606|      4|        else if (PySlice_Check(sub)) {
  ------------------
  |  |   22|      4|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|      4|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1607|      4|            SPECIALIZATION_FAIL(STORE_SUBSCR, SPEC_FAIL_SUBSCR_LIST_SLICE);
  ------------------
  |  |   44|      4|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1608|      4|            unspecialize(instr);
 1609|      4|            return;
 1610|      4|        }
 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|     17|    }
 1617|     78|    if (container_type->tp_as_mapping != NULL &&
  ------------------
  |  Branch (1617:9): [True: 78, False: 0]
  ------------------
 1618|     78|        container_type->tp_as_mapping->mp_ass_subscript == _PyDict_StoreSubscript)
  ------------------
  |  Branch (1618:9): [True: 65, False: 13]
  ------------------
 1619|     65|    {
 1620|     65|        specialize(instr, STORE_SUBSCR_DICT);
  ------------------
  |  |  210|     65|#define STORE_SUBSCR_DICT                      208
  ------------------
 1621|     65|        return;
 1622|     65|    }
 1623|     13|    SPECIALIZATION_FAIL(STORE_SUBSCR, store_subscr_fail_kind(container, sub));
  ------------------
  |  |   44|     13|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1624|     13|    unspecialize(instr);
 1625|     13|}
_Py_Specialize_Call:
 1873|  1.38k|{
 1874|  1.38k|    PyObject *callable = PyStackRef_AsPyObjectBorrow(callable_st);
 1875|       |
 1876|  1.38k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1876:5): [True: 1.38k, Folded]
  ------------------
 1877|  1.38k|    assert(_PyOpcode_Caches[CALL] == INLINE_CACHE_ENTRIES_CALL);
  ------------------
  |  Branch (1877:5): [True: 1.38k, False: 0]
  ------------------
 1878|  1.38k|    assert(_Py_OPCODE(*instr) != INSTRUMENTED_CALL);
  ------------------
  |  Branch (1878:5): [True: 1.38k, False: 0]
  ------------------
 1879|  1.38k|    int fail;
 1880|  1.38k|    if (PyCFunction_CheckExact(callable)) {
  ------------------
  |  |   16|  1.38k|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  ------------------
  |  |  |  |  215|  1.38k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 499, False: 889]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1881|    499|        fail = specialize_c_call(callable, instr, nargs);
 1882|    499|    }
 1883|    889|    else if (PyFunction_Check(callable)) {
  ------------------
  |  |   68|    889|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|    889|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    889|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    889|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 344, False: 545]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1884|    344|        fail = specialize_py_call((PyFunctionObject *)callable, instr, nargs, false);
 1885|    344|    }
 1886|    545|    else if (PyType_Check(callable)) {
  ------------------
  |  |  766|    545|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    545|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    545|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 200, False: 345]
  |  |  ------------------
  ------------------
 1887|    200|        fail = specialize_class_call(callable, instr, nargs);
 1888|    200|    }
 1889|    345|    else if (Py_IS_TYPE(callable, &PyMethodDescr_Type)) {
  ------------------
  |  |  215|    345|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    345|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    345|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 273, False: 72]
  |  |  ------------------
  ------------------
 1890|    273|        PyObject *self_or_null = PyStackRef_AsPyObjectBorrow(self_or_null_st);
 1891|    273|        fail = specialize_method_descriptor((PyMethodDescrObject *)callable,
 1892|    273|                                            self_or_null, instr, nargs);
 1893|    273|    }
 1894|     72|    else if (PyMethod_Check(callable)) {
  ------------------
  |  |   22|     72|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_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: 55, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1895|     55|        PyObject *func = ((PyMethodObject *)callable)->im_func;
 1896|     55|        if (PyFunction_Check(func)) {
  ------------------
  |  |   68|     55|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|     55|#  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: 55, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1897|     55|            fail = specialize_py_call((PyFunctionObject *)func, instr, nargs, true);
 1898|     55|        }
 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|     55|    }
 1904|     17|    else {
 1905|     17|        specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  165|     17|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1906|     17|        fail = 0;
 1907|     17|    }
 1908|  1.38k|    if (fail) {
  ------------------
  |  Branch (1908:9): [True: 0, False: 1.38k]
  ------------------
 1909|      0|        unspecialize(instr);
 1910|      0|    }
 1911|  1.38k|}
_Py_Specialize_CallKw:
 1915|     65|{
 1916|     65|    PyObject *callable = PyStackRef_AsPyObjectBorrow(callable_st);
 1917|       |
 1918|     65|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1918:5): [True: 65, Folded]
  ------------------
 1919|     65|    assert(_PyOpcode_Caches[CALL_KW] == INLINE_CACHE_ENTRIES_CALL_KW);
  ------------------
  |  Branch (1919:5): [True: 65, False: 0]
  ------------------
 1920|     65|    assert(_Py_OPCODE(*instr) != INSTRUMENTED_CALL_KW);
  ------------------
  |  Branch (1920:5): [True: 65, False: 0]
  ------------------
 1921|     65|    int fail;
 1922|     65|    if (PyFunction_Check(callable)) {
  ------------------
  |  |   68|     65|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|     65|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     65|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     65|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 13, False: 52]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1923|     13|        fail = specialize_py_call_kw((PyFunctionObject *)callable, instr, nargs, false);
 1924|     13|    }
 1925|     52|    else if (PyMethod_Check(callable)) {
  ------------------
  |  |   22|     52|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_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: 0, False: 52]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|     52|    else {
 1936|     52|        specialize(instr, CALL_KW_NON_PY);
  ------------------
  |  |  157|     52|#define CALL_KW_NON_PY                         155
  ------------------
 1937|     52|        fail = 0;
 1938|     52|    }
 1939|     65|    if (fail) {
  ------------------
  |  Branch (1939:9): [True: 0, False: 65]
  ------------------
 1940|      0|        unspecialize(instr);
 1941|      0|    }
 1942|     65|}
_Py_Specialize_BinaryOp:
 2341|  51.6k|{
 2342|  51.6k|    PyObject *lhs = PyStackRef_AsPyObjectBorrow(lhs_st);
 2343|  51.6k|    PyObject *rhs = PyStackRef_AsPyObjectBorrow(rhs_st);
 2344|  51.6k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2344:5): [True: 51.6k, Folded]
  ------------------
 2345|  51.6k|    assert(_PyOpcode_Caches[BINARY_OP] == INLINE_CACHE_ENTRIES_BINARY_OP);
  ------------------
  |  Branch (2345:5): [True: 51.6k, False: 0]
  ------------------
 2346|       |
 2347|  51.6k|    _PyBinaryOpCache *cache = (_PyBinaryOpCache *)(instr + 1);
 2348|  51.6k|    if (FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.code) == BINARY_OP_EXTEND) {
  ------------------
  |  |  159|  51.6k|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
                  if (FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.code) == BINARY_OP_EXTEND) {
  ------------------
  |  |  134|   103k|#define BINARY_OP_EXTEND                       132
  ------------------
  |  Branch (2348:9): [True: 0, False: 51.6k]
  ------------------
 2349|      0|        write_ptr(cache->external_cache, NULL);
 2350|      0|    }
 2351|       |
 2352|  51.6k|    switch (oparg) {
  ------------------
  |  Branch (2352:13): [True: 51.2k, False: 430]
  ------------------
 2353|    108|        case NB_ADD:
  ------------------
  |  |   10|    108|#define NB_ADD                                   0
  ------------------
  |  Branch (2353:9): [True: 108, False: 51.5k]
  ------------------
 2354|    279|        case NB_INPLACE_ADD:
  ------------------
  |  |   23|    279|#define NB_INPLACE_ADD                          13
  ------------------
  |  Branch (2354:9): [True: 171, False: 51.5k]
  ------------------
 2355|    279|            if (!Py_IS_TYPE(lhs, Py_TYPE(rhs))) {
  ------------------
  |  |  215|    279|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    279|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    279|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2355:17): [True: 3, False: 276]
  ------------------
 2356|      3|                break;
 2357|      3|            }
 2358|    276|            if (PyUnicode_CheckExact(lhs)) {
  ------------------
  |  |  104|    276|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    276|#  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: 34, False: 242]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2359|     34|                _Py_CODEUNIT next = instr[INLINE_CACHE_ENTRIES_BINARY_OP + 1];
  ------------------
  |  |   81|     34|#define INLINE_CACHE_ENTRIES_BINARY_OP CACHE_ENTRIES(_PyBinaryOpCache)
  |  |  ------------------
  |  |  |  |   65|     34|#define CACHE_ENTRIES(cache) (sizeof(cache)/sizeof(_Py_CODEUNIT))
  |  |  ------------------
  ------------------
 2360|     34|                bool to_store = (next.op.code == STORE_FAST);
  ------------------
  |  |  121|     34|#define STORE_FAST                             108
  ------------------
 2361|     34|                if (to_store && PyStackRef_AsPyObjectBorrow(locals[next.op.arg]) == lhs) {
  ------------------
  |  Branch (2361:21): [True: 9, False: 25]
  |  Branch (2361:33): [True: 4, False: 5]
  ------------------
 2362|      4|                    specialize(instr, BINARY_OP_INPLACE_ADD_UNICODE);
  ------------------
  |  |   16|      4|#define BINARY_OP_INPLACE_ADD_UNICODE            3
  ------------------
 2363|      4|                    return;
 2364|      4|                }
 2365|     30|                specialize(instr, BINARY_OP_ADD_UNICODE);
  ------------------
  |  |  133|     30|#define BINARY_OP_ADD_UNICODE                  131
  ------------------
 2366|     30|                return;
 2367|     34|            }
 2368|    242|            if (_PyLong_CheckExactAndCompact(lhs) && _PyLong_CheckExactAndCompact(rhs)) {
  ------------------
  |  Branch (2368:17): [True: 107, False: 135]
  |  Branch (2368:54): [True: 99, False: 8]
  ------------------
 2369|     99|                specialize(instr, BINARY_OP_ADD_INT);
  ------------------
  |  |  132|     99|#define BINARY_OP_ADD_INT                      130
  ------------------
 2370|     99|                return;
 2371|     99|            }
 2372|    143|            if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|    143|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|    143|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    143|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    143|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 143]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2373|      0|                specialize(instr, BINARY_OP_ADD_FLOAT);
  ------------------
  |  |  131|      0|#define BINARY_OP_ADD_FLOAT                    129
  ------------------
 2374|      0|                return;
 2375|      0|            }
 2376|    143|            break;
 2377|    260|        case NB_MULTIPLY:
  ------------------
  |  |   15|    260|#define NB_MULTIPLY                              5
  ------------------
  |  Branch (2377:9): [True: 260, False: 51.4k]
  ------------------
 2378|    264|        case NB_INPLACE_MULTIPLY:
  ------------------
  |  |   28|    264|#define NB_INPLACE_MULTIPLY                     18
  ------------------
  |  Branch (2378:9): [True: 4, False: 51.6k]
  ------------------
 2379|    264|            if (!Py_IS_TYPE(lhs, Py_TYPE(rhs))) {
  ------------------
  |  |  215|    264|#  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 (2379:17): [True: 8, False: 256]
  ------------------
 2380|      8|                break;
 2381|      8|            }
 2382|    256|            if (_PyLong_CheckExactAndCompact(lhs) && _PyLong_CheckExactAndCompact(rhs)) {
  ------------------
  |  Branch (2382:17): [True: 164, False: 92]
  |  Branch (2382:54): [True: 58, False: 106]
  ------------------
 2383|     58|                specialize(instr, BINARY_OP_MULTIPLY_INT);
  ------------------
  |  |  136|     58|#define BINARY_OP_MULTIPLY_INT                 134
  ------------------
 2384|     58|                return;
 2385|     58|            }
 2386|    198|            if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|    198|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|    198|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 198]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2387|      0|                specialize(instr, BINARY_OP_MULTIPLY_FLOAT);
  ------------------
  |  |  135|      0|#define BINARY_OP_MULTIPLY_FLOAT               133
  ------------------
 2388|      0|                return;
 2389|      0|            }
 2390|    198|            break;
 2391|    198|        case NB_SUBTRACT:
  ------------------
  |  |   20|     60|#define NB_SUBTRACT                             10
  ------------------
  |  Branch (2391:9): [True: 60, False: 51.6k]
  ------------------
 2392|     63|        case NB_INPLACE_SUBTRACT:
  ------------------
  |  |   33|     63|#define NB_INPLACE_SUBTRACT                     23
  ------------------
  |  Branch (2392:9): [True: 3, False: 51.6k]
  ------------------
 2393|     63|            if (!Py_IS_TYPE(lhs, Py_TYPE(rhs))) {
  ------------------
  |  |  215|     63|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2393:17): [True: 3, False: 60]
  ------------------
 2394|      3|                break;
 2395|      3|            }
 2396|     60|            if (_PyLong_CheckExactAndCompact(lhs) && _PyLong_CheckExactAndCompact(rhs)) {
  ------------------
  |  Branch (2396:17): [True: 46, False: 14]
  |  Branch (2396:54): [True: 46, False: 0]
  ------------------
 2397|     46|                specialize(instr, BINARY_OP_SUBTRACT_INT);
  ------------------
  |  |  145|     46|#define BINARY_OP_SUBTRACT_INT                 143
  ------------------
 2398|     46|                return;
 2399|     46|            }
 2400|     14|            if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|     14|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_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: 0, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2401|      0|                specialize(instr, BINARY_OP_SUBTRACT_FLOAT);
  ------------------
  |  |  144|      0|#define BINARY_OP_SUBTRACT_FLOAT               142
  ------------------
 2402|      0|                return;
 2403|      0|            }
 2404|     14|            break;
 2405|  50.6k|        case NB_SUBSCR:
  ------------------
  |  |   36|  50.6k|#define NB_SUBSCR                               26
  ------------------
  |  Branch (2405:9): [True: 50.6k, False: 1.03k]
  ------------------
 2406|  50.6k|            if (PyLong_CheckExact(rhs) && _PyLong_IsNonNegativeCompact((PyLongObject *)rhs)) {
  ------------------
  |  |   14|  50.6k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   101k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  50.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  50.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 50.5k, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2406:43): [True: 50.5k, False: 23]
  ------------------
 2407|  50.5k|                if (PyList_CheckExact(lhs)) {
  ------------------
  |  |   26|  50.5k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  50.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  50.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  50.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 11, False: 50.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2408|     11|                    specialize(instr, BINARY_OP_SUBSCR_LIST_INT);
  ------------------
  |  |  139|     11|#define BINARY_OP_SUBSCR_LIST_INT              137
  ------------------
 2409|     11|                    return;
 2410|     11|                }
 2411|  50.5k|                if (PyTuple_CheckExact(lhs)) {
  ------------------
  |  |   28|  50.5k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  50.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  50.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  50.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 45, False: 50.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2412|     45|                    specialize(instr, BINARY_OP_SUBSCR_TUPLE_INT);
  ------------------
  |  |  142|     45|#define BINARY_OP_SUBSCR_TUPLE_INT             140
  ------------------
 2413|     45|                    return;
 2414|     45|                }
 2415|  50.5k|                if (PyUnicode_CheckExact(lhs) && _PyLong_IsNonNegativeCompact((PyLongObject*)rhs)) {
  ------------------
  |  |  104|  50.5k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   101k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  50.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  50.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 50.3k, False: 113]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2415:50): [True: 50.3k, False: 0]
  ------------------
 2416|  50.3k|                    if (PyUnicode_IS_COMPACT_ASCII(lhs)) {
  ------------------
  |  |  242|  50.3k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  50.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:40): [True: 10, False: 50.3k]
  |  |  ------------------
  ------------------
 2417|     10|                        specialize(instr, BINARY_OP_SUBSCR_STR_INT);
  ------------------
  |  |  141|     10|#define BINARY_OP_SUBSCR_STR_INT               139
  ------------------
 2418|     10|                        return;
 2419|  50.3k|                    } else {
 2420|  50.3k|                        specialize(instr, BINARY_OP_SUBSCR_USTR_INT);
  ------------------
  |  |  143|  50.3k|#define BINARY_OP_SUBSCR_USTR_INT              141
  ------------------
 2421|  50.3k|                        return;
 2422|  50.3k|                    }
 2423|  50.3k|                }
 2424|  50.5k|            }
 2425|    202|            if (Py_TYPE(lhs)->tp_as_mapping != NULL &&
  ------------------
  |  |  213|    202|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    202|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    202|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2425:17): [True: 202, False: 0]
  ------------------
 2426|    202|                Py_TYPE(lhs)->tp_as_mapping->mp_subscript == _PyDict_Subscript)
  ------------------
  |  |  213|    202|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    202|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    202|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2426:17): [True: 35, False: 167]
  ------------------
 2427|     35|            {
 2428|     35|                specialize(instr, BINARY_OP_SUBSCR_DICT);
  ------------------
  |  |  137|     35|#define BINARY_OP_SUBSCR_DICT                  135
  ------------------
 2429|     35|                return;
 2430|     35|            }
 2431|    167|            if (PyList_CheckExact(lhs) && PySlice_Check(rhs)) {
  ------------------
  |  |   26|    167|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|    334|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    167|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 11, False: 156]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyList_CheckExact(lhs) && PySlice_Check(rhs)) {
  ------------------
  |  |   22|     11|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|     11|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2432|      2|                specialize(instr, BINARY_OP_SUBSCR_LIST_SLICE);
  ------------------
  |  |  140|      2|#define BINARY_OP_SUBSCR_LIST_SLICE            138
  ------------------
 2433|      2|                return;
 2434|      2|            }
 2435|    165|            unsigned int tp_version;
 2436|    165|            PyTypeObject *container_type = Py_TYPE(lhs);
  ------------------
  |  |  213|    165|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    165|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    165|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2437|    165|            PyObject *descriptor = _PyType_LookupRefAndVersion(container_type, &_Py_ID(__getitem__), &tp_version);
  ------------------
  |  |  951|    165|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    165|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    165|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2438|    165|            if (descriptor && Py_TYPE(descriptor) == &PyFunction_Type &&
  ------------------
  |  |  213|    165|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    165|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    165|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2438:17): [True: 165, False: 0]
  |  Branch (2438:31): [True: 9, False: 156]
  ------------------
 2439|      9|                container_type->tp_flags & Py_TPFLAGS_HEAPTYPE)
  ------------------
  |  |  503|      9|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2439:17): [True: 9, False: 0]
  ------------------
 2440|      9|            {
 2441|      9|                PyFunctionObject *func = (PyFunctionObject *)descriptor;
 2442|      9|                PyCodeObject *fcode = (PyCodeObject *)func->func_code;
 2443|      9|                int kind = function_kind(fcode);
 2444|      9|                PyHeapTypeObject *ht = (PyHeapTypeObject *)container_type;
 2445|      9|                if (kind == SIMPLE_FUNCTION &&
  ------------------
  |  |  126|     18|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (2445:21): [True: 9, False: 0]
  ------------------
 2446|      9|                    fcode->co_argcount == 2 &&
  ------------------
  |  Branch (2446:21): [True: 9, False: 0]
  ------------------
 2447|      9|                    _PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET()) && /* Don't specialize if PEP 523 is active */
  ------------------
  |  Branch (2447:21): [True: 9, False: 0]
  ------------------
 2448|      9|                    _PyType_CacheGetItemForSpecialization(ht, descriptor, (uint32_t)tp_version))
  ------------------
  |  Branch (2448:21): [True: 9, False: 0]
  ------------------
 2449|      9|                {
 2450|      9|                    specialize(instr, BINARY_OP_SUBSCR_GETITEM);
  ------------------
  |  |  138|      9|#define BINARY_OP_SUBSCR_GETITEM               136
  ------------------
 2451|      9|                    Py_DECREF(descriptor);
  ------------------
  |  |  430|      9|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2452|      9|                    return;
 2453|      9|                }
 2454|      9|            }
 2455|    156|            Py_XDECREF(descriptor);
  ------------------
  |  |  621|    156|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2456|    156|            break;
 2457|  51.6k|    }
 2458|       |
 2459|    955|    _PyBinaryOpSpecializationDescr *descr;
 2460|    955|    if (binary_op_extended_specialization(lhs, rhs, oparg, &descr)) {
  ------------------
  |  Branch (2460:9): [True: 67, False: 888]
  ------------------
 2461|     67|        specialize(instr, BINARY_OP_EXTEND);
  ------------------
  |  |  134|     67|#define BINARY_OP_EXTEND                       132
  ------------------
 2462|     67|        write_ptr(cache->external_cache, (void*)descr);
 2463|     67|        return;
 2464|     67|    }
 2465|       |
 2466|    888|    SPECIALIZATION_FAIL(BINARY_OP, binary_op_fail_kind(oparg, lhs, rhs));
  ------------------
  |  |   44|    888|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2467|    888|    unspecialize(instr);
 2468|    888|    return;
 2469|    955|}
_Py_Specialize_CompareOp:
 2510|    583|{
 2511|    583|    PyObject *lhs = PyStackRef_AsPyObjectBorrow(lhs_st);
 2512|    583|    PyObject *rhs = PyStackRef_AsPyObjectBorrow(rhs_st);
 2513|    583|    uint8_t specialized_op;
 2514|       |
 2515|    583|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2515:5): [True: 583, Folded]
  ------------------
 2516|    583|    assert(_PyOpcode_Caches[COMPARE_OP] == INLINE_CACHE_ENTRIES_COMPARE_OP);
  ------------------
  |  Branch (2516:5): [True: 583, False: 0]
  ------------------
 2517|       |    // All of these specializations compute boolean values, so they're all valid
 2518|       |    // regardless of the fifth-lowest oparg bit.
 2519|    583|    if (Py_TYPE(lhs) != Py_TYPE(rhs)) {
  ------------------
  |  |  213|    583|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    583|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    583|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(lhs) != Py_TYPE(rhs)) {
  ------------------
  |  |  213|    583|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    583|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    583|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2519:9): [True: 11, False: 572]
  ------------------
 2520|     11|        SPECIALIZATION_FAIL(COMPARE_OP, compare_op_fail_kind(lhs, rhs));
  ------------------
  |  |   44|     11|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2521|     11|        goto failure;
 2522|     11|    }
 2523|    572|    if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|    572|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|    572|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    572|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    572|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 570]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2524|      2|        specialized_op = COMPARE_OP_FLOAT;
  ------------------
  |  |  171|      2|#define COMPARE_OP_FLOAT                       169
  ------------------
 2525|      2|        goto success;
 2526|      2|    }
 2527|    570|    if (PyLong_CheckExact(lhs)) {
  ------------------
  |  |   14|    570|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    570|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    570|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    570|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 152, False: 418]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2528|    152|        if (_PyLong_IsCompact((PyLongObject *)lhs) && _PyLong_IsCompact((PyLongObject *)rhs)) {
  ------------------
  |  Branch (2528:13): [True: 119, False: 33]
  |  Branch (2528:55): [True: 117, False: 2]
  ------------------
 2529|    117|            specialized_op = COMPARE_OP_INT;
  ------------------
  |  |  172|    117|#define COMPARE_OP_INT                         170
  ------------------
 2530|    117|            goto success;
 2531|    117|        }
 2532|     35|        else {
 2533|     35|            SPECIALIZATION_FAIL(COMPARE_OP, SPEC_FAIL_COMPARE_OP_BIG_INT);
  ------------------
  |  |   44|     35|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2534|     35|            goto failure;
 2535|     35|        }
 2536|    152|    }
 2537|    418|    if (PyUnicode_CheckExact(lhs)) {
  ------------------
  |  |  104|    418|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    418|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    418|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    418|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 401, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2538|    401|        int cmp = oparg >> 5;
 2539|    401|        if (cmp != Py_EQ && cmp != Py_NE) {
  ------------------
  |  |  654|    802|#define Py_EQ 2
  ------------------
                      if (cmp != Py_EQ && cmp != Py_NE) {
  ------------------
  |  |  655|    336|#define Py_NE 3
  ------------------
  |  Branch (2539:13): [True: 336, False: 65]
  |  Branch (2539:29): [True: 316, False: 20]
  ------------------
 2540|    316|            SPECIALIZATION_FAIL(COMPARE_OP, SPEC_FAIL_COMPARE_OP_STRING);
  ------------------
  |  |   44|    316|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2541|    316|            goto failure;
 2542|    316|        }
 2543|     85|        else {
 2544|     85|            specialized_op = COMPARE_OP_STR;
  ------------------
  |  |  173|     85|#define COMPARE_OP_STR                         171
  ------------------
 2545|     85|            goto success;
 2546|     85|        }
 2547|    401|    }
 2548|     17|    SPECIALIZATION_FAIL(COMPARE_OP, compare_op_fail_kind(lhs, rhs));
  ------------------
  |  |   44|     17|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2549|    379|failure:
 2550|    379|    unspecialize(instr);
 2551|    379|    return;
 2552|    204|success:
 2553|    204|    specialize(instr, specialized_op);
 2554|    204|}
_Py_Specialize_UnpackSequence:
 2572|     71|{
 2573|     71|    PyObject *seq = PyStackRef_AsPyObjectBorrow(seq_st);
 2574|       |
 2575|     71|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2575:5): [True: 71, Folded]
  ------------------
 2576|     71|    assert(_PyOpcode_Caches[UNPACK_SEQUENCE] ==
  ------------------
  |  Branch (2576:5): [True: 71, False: 0]
  ------------------
 2577|     71|           INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE);
 2578|     71|    if (PyTuple_CheckExact(seq)) {
  ------------------
  |  |   28|     71|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     71|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     71|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 71, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2579|     71|        if (PyTuple_GET_SIZE(seq) != oparg) {
  ------------------
  |  |   27|     71|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     71|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2579:13): [True: 0, False: 71]
  ------------------
 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|     71|        if (PyTuple_GET_SIZE(seq) == 2) {
  ------------------
  |  |   27|     71|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     71|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2584:13): [True: 61, False: 10]
  ------------------
 2585|     61|            specialize(instr, UNPACK_SEQUENCE_TWO_TUPLE);
  ------------------
  |  |  220|     61|#define UNPACK_SEQUENCE_TWO_TUPLE              218
  ------------------
 2586|     61|            return;
 2587|     61|        }
 2588|     10|        specialize(instr, UNPACK_SEQUENCE_TUPLE);
  ------------------
  |  |  219|     10|#define UNPACK_SEQUENCE_TUPLE                  217
  ------------------
 2589|     10|        return;
 2590|     71|    }
 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|    282|{
 2680|    282|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2680:5): [True: 282, Folded]
  ------------------
 2681|    282|    assert(_PyOpcode_Caches[FOR_ITER] == INLINE_CACHE_ENTRIES_FOR_ITER);
  ------------------
  |  Branch (2681:5): [True: 282, False: 0]
  ------------------
 2682|    282|    PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
 2683|    282|    PyTypeObject *tp = Py_TYPE(iter_o);
  ------------------
  |  |  213|    282|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    282|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    282|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2684|       |
 2685|    282|    if (PyStackRef_IsNull(null_or_index)) {
  ------------------
  |  |  482|    282|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|    282|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    282|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 157, False: 125]
  |  |  ------------------
  ------------------
 2686|    157|        if (tp == &PyRangeIter_Type) {
  ------------------
  |  Branch (2686:13): [True: 6, False: 151]
  ------------------
 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|      6|            specialize(instr, FOR_ITER_RANGE);
  ------------------
  |  |  178|      6|#define FOR_ITER_RANGE                         176
  ------------------
 2698|      6|            return;
 2699|      6|        }
 2700|    151|        else if (tp == &PyGen_Type && oparg <= SHRT_MAX) {
  ------------------
  |  Branch (2700:18): [True: 10, False: 141]
  |  Branch (2700:39): [True: 10, False: 0]
  ------------------
 2701|     10|            assert(instr[oparg + INLINE_CACHE_ENTRIES_FOR_ITER + 1].op.code == END_FOR  ||
  ------------------
  |  Branch (2701:13): [True: 10, False: 0]
  |  Branch (2701:13): [True: 0, False: 0]
  ------------------
 2702|     10|                instr[oparg + INLINE_CACHE_ENTRIES_FOR_ITER + 1].op.code == INSTRUMENTED_END_FOR
 2703|     10|            );
 2704|       |            /* Don't specialize if PEP 523 is active */
 2705|     10|            if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (2705:17): [True: 0, False: 10]
  ------------------
 2706|      0|                goto failure;
 2707|      0|            }
 2708|     10|            specialize(instr, FOR_ITER_GEN);
  ------------------
  |  |  176|     10|#define FOR_ITER_GEN                           174
  ------------------
 2709|     10|            return;
 2710|     10|        }
 2711|    157|    }
 2712|    125|    else {
 2713|    125|        if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (2713:13): [True: 125, False: 0]
  ------------------
 2714|    125|            if (tp == &PyList_Type) {
  ------------------
  |  Branch (2714:17): [True: 64, False: 61]
  ------------------
 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|     64|                specialize(instr, FOR_ITER_LIST);
  ------------------
  |  |  177|     64|#define FOR_ITER_LIST                          175
  ------------------
 2722|     64|                return;
 2723|     64|            }
 2724|     61|            else if (tp == &PyTuple_Type) {
  ------------------
  |  Branch (2724:22): [True: 51, False: 10]
  ------------------
 2725|     51|                specialize(instr, FOR_ITER_TUPLE);
  ------------------
  |  |  179|     51|#define FOR_ITER_TUPLE                         177
  ------------------
 2726|     51|                return;
 2727|     51|            }
 2728|    125|        }
 2729|     10|        specialize(instr, FOR_ITER_VIRTUAL);
  ------------------
  |  |  180|     10|#define FOR_ITER_VIRTUAL                       178
  ------------------
 2730|     10|        return;
 2731|    125|    }
 2732|    141|failure:
 2733|    141|    SPECIALIZATION_FAIL(FOR_ITER,
  ------------------
  |  |   44|    141|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2734|    141|                        _PySpecialization_ClassifyIterator(iter_o));
 2735|    141|    unspecialize(instr);
 2736|    141|}
_Py_Specialize_Send:
 2740|      2|{
 2741|      2|    PyObject *receiver = PyStackRef_AsPyObjectBorrow(receiver_st);
 2742|       |
 2743|      2|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2743:5): [True: 2, Folded]
  ------------------
 2744|      2|    assert(_PyOpcode_Caches[SEND] == INLINE_CACHE_ENTRIES_SEND);
  ------------------
  |  Branch (2744:5): [True: 2, False: 0]
  ------------------
 2745|      2|    PyTypeObject *tp = Py_TYPE(receiver);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2746|      2|    if (tp == &PyGen_Type || tp == &PyCoro_Type) {
  ------------------
  |  Branch (2746:9): [True: 0, False: 2]
  |  Branch (2746:30): [True: 0, False: 2]
  ------------------
 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|      2|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (2755:9): [True: 2, False: 0]
  ------------------
 2756|      2|        specialize(instr, SEND_VIRTUAL);
  ------------------
  |  |  206|      2|#define SEND_VIRTUAL                           204
  ------------------
 2757|      2|        return;
 2758|      2|    }
 2759|      0|    if (tp == &_PyAsyncGenASend_Type) {
  ------------------
  |  Branch (2759:9): [True: 0, False: 0]
  ------------------
 2760|      0|        specialize(instr, SEND_ASYNC_GEN);
  ------------------
  |  |  204|      0|#define SEND_ASYNC_GEN                         202
  ------------------
 2761|      0|        return;
 2762|      0|    }
 2763|      0|    SPECIALIZATION_FAIL(SEND,
  ------------------
  |  |   44|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2764|      0|                        _PySpecialization_ClassifyIterator(receiver));
 2765|      0|failure:
 2766|      0|    unspecialize(instr);
 2767|      0|}
_Py_Specialize_CallFunctionEx:
 2771|     19|{
 2772|     19|    PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
 2773|       |
 2774|     19|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2774:5): [True: 19, Folded]
  ------------------
 2775|     19|    assert(_PyOpcode_Caches[CALL_FUNCTION_EX] == INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
  ------------------
  |  Branch (2775:5): [True: 19, False: 0]
  ------------------
 2776|       |
 2777|     19|    if (Py_TYPE(func) == &PyFunction_Type &&
  ------------------
  |  |  213|     19|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2777:9): [True: 6, False: 13]
  ------------------
 2778|      6|        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  ------------------
  |  Branch (2778:9): [True: 6, False: 0]
  ------------------
 2779|      6|        if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (2779:13): [True: 0, False: 6]
  ------------------
 2780|      0|            goto failure;
 2781|      0|        }
 2782|      6|        specialize(instr, CALL_EX_PY);
  ------------------
  |  |  154|      6|#define CALL_EX_PY                             152
  ------------------
 2783|      6|        return;
 2784|      6|    }
 2785|     13|    specialize(instr, CALL_EX_NON_PY_GENERAL);
  ------------------
  |  |  153|     13|#define CALL_EX_NON_PY_GENERAL                 151
  ------------------
 2786|     13|    return;
 2787|      0|failure:
 2788|      0|    unspecialize(instr);
 2789|      0|}
_Py_Specialize_ToBool:
 2840|    467|{
 2841|    467|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2841:5): [True: 467, Folded]
  ------------------
 2842|    467|    assert(_PyOpcode_Caches[TO_BOOL] == INLINE_CACHE_ENTRIES_TO_BOOL);
  ------------------
  |  Branch (2842:5): [True: 467, False: 0]
  ------------------
 2843|    467|    _PyToBoolCache *cache = (_PyToBoolCache *)(instr + 1);
 2844|    467|    PyObject *value = PyStackRef_AsPyObjectBorrow(value_o);
 2845|    467|    uint8_t specialized_op;
 2846|    467|    if (PyBool_Check(value)) {
  ------------------
  |  |   12|    467|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|    467|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    467|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    467|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 241, False: 226]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2847|    241|        specialized_op = TO_BOOL_BOOL;
  ------------------
  |  |  213|    241|#define TO_BOOL_BOOL                           211
  ------------------
 2848|    241|        goto success;
 2849|    241|    }
 2850|    226|    if (PyLong_CheckExact(value)) {
  ------------------
  |  |   14|    226|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    226|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    226|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    226|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 56, False: 170]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2851|     56|        specialized_op = TO_BOOL_INT;
  ------------------
  |  |  214|     56|#define TO_BOOL_INT                            212
  ------------------
 2852|     56|        goto success;
 2853|     56|    }
 2854|    170|    if (PyList_CheckExact(value)) {
  ------------------
  |  |   26|    170|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|    170|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    170|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    170|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 25, False: 145]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2855|     25|        specialized_op = TO_BOOL_LIST;
  ------------------
  |  |  215|     25|#define TO_BOOL_LIST                           213
  ------------------
 2856|     25|        goto success;
 2857|     25|    }
 2858|    145|    if (Py_IsNone(value)) {
  ------------------
  |  |  621|    145|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|    145|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 23, False: 122]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2859|     23|        specialized_op = TO_BOOL_NONE;
  ------------------
  |  |  216|     23|#define TO_BOOL_NONE                           214
  ------------------
 2860|     23|        goto success;
 2861|     23|    }
 2862|    122|    if (PyUnicode_CheckExact(value)) {
  ------------------
  |  |  104|    122|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    122|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    122|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    122|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 50, False: 72]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2863|     50|        specialized_op = TO_BOOL_STR;
  ------------------
  |  |  217|     50|#define TO_BOOL_STR                            215
  ------------------
 2864|     50|        goto success;
 2865|     50|    }
 2866|     72|    if (PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  213|     72|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|     72|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2866:9): [True: 9, False: 63]
  ------------------
 2867|      9|        unsigned int version = 0;
 2868|      9|        int err = _PyType_Validate(Py_TYPE(value), check_type_always_true, &version);
  ------------------
  |  |  213|      9|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2869|      9|        if (err < 0) {
  ------------------
  |  Branch (2869:13): [True: 0, False: 9]
  ------------------
 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|      9|        else if (err > 0) {
  ------------------
  |  Branch (2873:18): [True: 6, False: 3]
  ------------------
 2874|      6|            SPECIALIZATION_FAIL(TO_BOOL, err);
  ------------------
  |  |   44|      6|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2875|      6|            goto failure;
 2876|      6|        }
 2877|       |
 2878|      9|        assert(err == 0);
  ------------------
  |  Branch (2878:9): [True: 3, False: 0]
  ------------------
 2879|      3|        assert(version);
  ------------------
  |  Branch (2879:9): [True: 3, False: 0]
  ------------------
 2880|      3|        write_u32(cache->version, version);
 2881|      3|        specialized_op = TO_BOOL_ALWAYS_TRUE;
  ------------------
  |  |  212|      3|#define TO_BOOL_ALWAYS_TRUE                    210
  ------------------
 2882|      3|        goto success;
 2883|      3|    }
 2884|       |
 2885|     63|    SPECIALIZATION_FAIL(TO_BOOL, to_bool_fail_kind(value));
  ------------------
  |  |   44|     63|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2886|     69|failure:
 2887|     69|    unspecialize(instr);
 2888|     69|    return;
 2889|    398|success:
 2890|    398|    specialize(instr, specialized_op);
 2891|    398|}
_Py_Specialize_ContainsOp:
 2914|    178|{
 2915|    178|    PyObject *value = PyStackRef_AsPyObjectBorrow(value_st);
 2916|       |
 2917|    178|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2917:5): [True: 178, Folded]
  ------------------
 2918|    178|    assert(_PyOpcode_Caches[CONTAINS_OP] == INLINE_CACHE_ENTRIES_COMPARE_OP);
  ------------------
  |  Branch (2918:5): [True: 178, False: 0]
  ------------------
 2919|    178|    if (PyAnyDict_CheckExact(value)) {
  ------------------
  |  |   41|    178|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|    178|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    356|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    178|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 29, False: 149]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|    149|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    149|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 149]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2920|     29|        specialize(instr, CONTAINS_OP_DICT);
  ------------------
  |  |  174|     29|#define CONTAINS_OP_DICT                       172
  ------------------
 2921|     29|        return;
 2922|     29|    }
 2923|    149|    if (PySet_CheckExact(value) || PyFrozenSet_CheckExact(value)) {
  ------------------
  |  |   35|    149|#define PySet_CheckExact(op) Py_IS_TYPE(op, &PySet_Type)
  |  |  ------------------
  |  |  |  |  215|    298|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 21, False: 128]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PySet_CheckExact(value) || PyFrozenSet_CheckExact(value)) {
  ------------------
  |  |   23|    128|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|    128|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    128|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8, False: 120]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2924|     29|        specialize(instr, CONTAINS_OP_SET);
  ------------------
  |  |  175|     29|#define CONTAINS_OP_SET                        173
  ------------------
 2925|     29|        return;
 2926|     29|    }
 2927|       |
 2928|    120|    SPECIALIZATION_FAIL(CONTAINS_OP, containsop_fail_kind(value));
  ------------------
  |  |   44|    120|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2929|    120|    unspecialize(instr);
 2930|    120|    return;
 2931|    149|}
_Py_Specialize_GetIter:
 2935|    129|{
 2936|    129|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2936:5): [True: 129, Folded]
  ------------------
 2937|    129|    PyTypeObject *tp = PyStackRef_TYPE(iterable);
 2938|    129|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (2938:9): [True: 91, False: 38]
  ------------------
 2939|     91|        specialize(instr, GET_ITER_VIRTUAL);
  ------------------
  |  |  182|     91|#define GET_ITER_VIRTUAL                       180
  ------------------
 2940|     91|        return;
 2941|     91|    }
 2942|     38|    if (tp->tp_iter == PyObject_SelfIter) {
  ------------------
  |  Branch (2942:9): [True: 14, False: 24]
  ------------------
 2943|     14|        specialize(instr, GET_ITER_SELF);
  ------------------
  |  |  181|     14|#define GET_ITER_SELF                          179
  ------------------
 2944|     14|        return;
 2945|     14|    }
 2946|     24|    SPECIALIZATION_FAIL(GET_ITER,
  ------------------
  |  |   44|     24|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2947|     24|        tp == &PyCoro_Type ? SPEC_FAIL_ITER_COROUTINE : SPEC_FAIL_OTHER);
 2948|     24|    unspecialize(instr);
 2949|     24|}
_Py_Specialize_Resume:
 2953|  1.68k|{
 2954|  1.68k|    if (tstate->tracing == 0 &&
  ------------------
  |  Branch (2954:9): [True: 1.68k, False: 0]
  ------------------
 2955|  1.68k|        FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.code) == RESUME) {
  ------------------
  |  |  159|  1.68k|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
                      FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.code) == RESUME) {
  ------------------
  |  |  130|  1.68k|#define RESUME                                 128
  ------------------
  |  Branch (2955:9): [True: 1.54k, False: 148]
  ------------------
 2956|  1.54k|        if (tstate->interp->jit) {
  ------------------
  |  Branch (2956:13): [True: 0, False: 1.54k]
  ------------------
 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|  1.54k|        specialize(instr, RESUME_CHECK);
  ------------------
  |  |  202|  1.54k|#define RESUME_CHECK                           200
  ------------------
 2967|  1.54k|        return;
 2968|  1.54k|    }
 2969|    148|    unspecialize(instr);
 2970|    148|    return;
 2971|  1.68k|}
specialize.c:fixup_getiter:
   49|  4.72k|{
   50|       |    // Compiler can't know if types.coroutine() will be called,
   51|       |    // so fix up here
   52|  4.72k|    if (instruction->op.arg) {
  ------------------
  |  Branch (52:9): [True: 108, False: 4.61k]
  ------------------
   53|    108|        if (flags & (CO_COROUTINE | CO_ITERABLE_COROUTINE)) {
  ------------------
  |  |  131|    108|#define CO_COROUTINE            0x0080
  ------------------
                      if (flags & (CO_COROUTINE | CO_ITERABLE_COROUTINE)) {
  ------------------
  |  |  132|    108|#define CO_ITERABLE_COROUTINE   0x0100
  ------------------
  |  Branch (53:13): [True: 0, False: 108]
  ------------------
   54|      0|            instruction->op.arg = GET_ITER_YIELD_FROM_NO_CHECK;
  ------------------
  |  |   98|      0|#define GET_ITER_YIELD_FROM_NO_CHECK 2
  ------------------
   55|      0|        }
   56|    108|        else {
   57|    108|            instruction->op.arg = GET_ITER_YIELD_FROM_CORO_CHECK;
  ------------------
  |  |   99|    108|#define GET_ITER_YIELD_FROM_CORO_CHECK 3
  ------------------
   58|    108|        }
   59|    108|    }
   60|  4.72k|}
specialize.c:specialize:
  365|  57.8k|{
  366|  57.8k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (366:5): [True: 57.8k, False: 0]
  ------------------
  367|  57.8k|    if (!set_opcode(instr, specialized_opcode)) {
  ------------------
  |  Branch (367:9): [True: 0, False: 57.8k]
  ------------------
  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|  57.8k|    STAT_INC(_PyOpcode_Deopt[specialized_opcode], success);
  ------------------
  |  |   73|  57.8k|#define STAT_INC(opname, name) ((void)0)
  ------------------
  374|  57.8k|    set_counter((_Py_BackoffCounter *)instr + 1, adaptive_counter_cooldown());
  375|  57.8k|}
specialize.c:set_opcode:
  328|  60.1k|{
  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|  60.1k|    instr->op.code = opcode;
  343|  60.1k|    return 1;
  344|  60.1k|#endif
  345|  60.1k|}
specialize.c:unspecialize:
  379|  2.38k|{
  380|  2.38k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (380:5): [True: 2.38k, False: 0]
  ------------------
  381|  2.38k|    uint8_t opcode = FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.code);
  ------------------
  |  |  159|  2.38k|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
  382|  2.38k|    uint8_t generic_opcode = _PyOpcode_Deopt[opcode];
  383|  2.38k|    STAT_INC(generic_opcode, failure);
  ------------------
  |  |   73|  2.38k|#define STAT_INC(opname, name) ((void)0)
  ------------------
  384|  2.38k|    if (!set_opcode(instr, generic_opcode)) {
  ------------------
  |  Branch (384:9): [True: 0, False: 2.38k]
  ------------------
  385|      0|        SPECIALIZATION_FAIL(generic_opcode, SPEC_FAIL_OTHER);
  ------------------
  |  |   44|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  386|      0|        return;
  387|      0|    }
  388|  2.38k|    _Py_BackoffCounter *counter = (_Py_BackoffCounter *)instr + 1;
  389|  2.38k|    _Py_BackoffCounter cur = load_counter(counter);
  390|  2.38k|    set_counter(counter, adaptive_counter_backoff(cur));
  391|  2.38k|}
specialize.c:load_counter:
  356|  2.38k|{
  357|  2.38k|    _Py_BackoffCounter result = {
  358|  2.38k|        .value_and_backoff =
  359|  2.38k|            FT_ATOMIC_LOAD_UINT16_RELAXED(counter->value_and_backoff)};
  ------------------
  |  |  160|  2.38k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
  360|  2.38k|    return result;
  361|  2.38k|}
specialize.c:specialize_module_load_attr:
  452|    352|{
  453|    352|    PyModuleObject *m = (PyModuleObject *)owner;
  454|    352|    assert((Py_TYPE(owner)->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (454:5): [True: 352, False: 0]
  ------------------
  455|    352|    PyDictObject *dict = (PyDictObject *)m->md_dict;
  456|    352|    if (dict == NULL) {
  ------------------
  |  Branch (456:9): [True: 0, False: 352]
  ------------------
  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|    352|    int result;
  461|    352|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|    352|    {
  ------------------
  462|    352|    result = specialize_module_load_attr_lock_held(dict, instr, name);
  463|    352|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    352|    }
  ------------------
  464|    352|    return result;
  465|    352|}
specialize.c:specialize_module_load_attr_lock_held:
  414|    352|{
  415|    352|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  416|    352|    if (dict->ma_keys->dk_kind != DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (416:9): [True: 0, False: 352]
  ------------------
  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|    352|    PyObject *value;
  421|    352|    Py_ssize_t index = _PyDict_LookupIndexAndValue(dict, name, &value);
  422|    352|    if (value != NULL && PyLazyImport_CheckExact(value)) {
  ------------------
  |  |   15|    337|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|    337|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 337]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (422:9): [True: 337, 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|    352|    assert(index != DKIX_ERROR);
  ------------------
  |  Branch (426:5): [True: 352, False: 0]
  ------------------
  427|    352|    if (index != (uint16_t)index) {
  ------------------
  |  Branch (427:9): [True: 15, False: 337]
  ------------------
  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|    337|    uint32_t keys_version = _PyDict_GetKeysVersionForCurrentState(
  435|    337|            _PyInterpreterState_GET(), dict);
  436|    337|    if (keys_version == 0) {
  ------------------
  |  Branch (436:9): [True: 0, False: 337]
  ------------------
  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|    337|    write_u32(cache->version, keys_version);
  444|    337|    cache->index = (uint16_t)index;
  445|    337|    specialize(instr, LOAD_ATTR_MODULE);
  ------------------
  |  |  192|    337|#define LOAD_ATTR_MODULE                       190
  ------------------
  446|    337|    return 0;
  447|    337|}
specialize.c:specialize_instance_load_attr:
  982|    937|{
  983|       |    // 0 is not a valid version
  984|    937|    PyObject *descr = NULL;
  985|    937|    unsigned int tp_version = 0;
  986|    937|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|    937|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    937|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    937|#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|    937|    DescriptorClassification kind = analyze_descriptor_load(type, name, &descr, &tp_version);
  991|    937|    uint32_t shared_keys_version = 0;
  992|    937|    bool shadow = instance_has_key(owner, name, &shared_keys_version);
  993|    937|    int result = do_specialize_instance_load_attr(owner, instr, name, shadow, shared_keys_version, kind, descr, tp_version);
  994|    937|    Py_XDECREF(descr);
  ------------------
  |  |  621|    937|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    937|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    937|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  995|    937|    return result;
  996|    937|}
specialize.c:analyze_descriptor_load:
  559|  1.07k|analyze_descriptor_load(PyTypeObject *type, PyObject *name, PyObject **descr, unsigned int *tp_version) {
  560|  1.07k|    bool has_getattr = false;
  561|  1.07k|    bool have_ga_version = false;
  562|  1.07k|    unsigned int ga_version;
  563|  1.07k|    getattrofunc getattro_slot = type->tp_getattro;
  564|  1.07k|    if (getattro_slot == PyObject_GenericGetAttr) {
  ------------------
  |  Branch (564:9): [True: 1.07k, False: 7]
  ------------------
  565|       |        /* Normal attribute lookup; */
  566|  1.07k|        has_getattr = false;
  567|  1.07k|    }
  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|  1.07k|    unsigned int descr_version;
  609|  1.07k|    PyObject *descriptor = _PyType_LookupRefAndVersion(type, name, &descr_version);
  610|  1.07k|    *descr = descriptor;
  611|  1.07k|    *tp_version = have_ga_version ? ga_version : descr_version;
  ------------------
  |  Branch (611:19): [True: 0, False: 1.07k]
  ------------------
  612|  1.07k|    if (descriptor_is_class(descriptor, name)) {
  ------------------
  |  Branch (612:9): [True: 4, False: 1.06k]
  ------------------
  613|      4|        return DUNDER_CLASS;
  614|      4|    }
  615|  1.06k|    return classify_descriptor(descriptor, has_getattr);
  616|  1.07k|}
specialize.c:descriptor_is_class:
  553|  1.31k|{
  554|  1.31k|    return ((PyUnicode_CompareWithASCIIString(name, "__class__") == 0) &&
  ------------------
  |  Branch (554:13): [True: 4, False: 1.31k]
  ------------------
  555|      4|            (descriptor == _PyType_Lookup(&PyBaseObject_Type, name)));
  ------------------
  |  Branch (555:13): [True: 4, False: 0]
  ------------------
  556|  1.31k|}
specialize.c:classify_descriptor:
  511|  1.51k|{
  512|  1.51k|    if (descriptor == NULL) {
  ------------------
  |  Branch (512:9): [True: 571, False: 939]
  ------------------
  513|    571|        return ABSENT;
  514|    571|    }
  515|    939|    PyTypeObject *desc_cls = Py_TYPE(descriptor);
  ------------------
  |  |  213|    939|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    939|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    939|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|    939|    if (!(desc_cls->tp_flags & Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|    939|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (516:9): [True: 1, False: 938]
  ------------------
  517|      1|        return MUTABLE;
  518|      1|    }
  519|    938|    if (desc_cls->tp_descr_set) {
  ------------------
  |  Branch (519:9): [True: 163, False: 775]
  ------------------
  520|    163|        if (desc_cls == &PyMemberDescr_Type) {
  ------------------
  |  Branch (520:13): [True: 63, False: 100]
  ------------------
  521|     63|            PyMemberDescrObject *member = (PyMemberDescrObject *)descriptor;
  522|     63|            struct PyMemberDef *dmem = member->d_member;
  523|     63|            if (dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT) {
  ------------------
  |  |   75|    126|#define Py_T_OBJECT_EX 16
  ------------------
                          if (dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT) {
  ------------------
  |  |   59|     51|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (523:17): [True: 12, False: 51]
  |  Branch (523:49): [True: 27, False: 24]
  ------------------
  524|     39|                return OBJECT_SLOT;
  525|     39|            }
  526|     24|            return OTHER_SLOT;
  527|     63|        }
  528|    100|        if (desc_cls == &PyProperty_Type) {
  ------------------
  |  Branch (528:13): [True: 14, False: 86]
  ------------------
  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|     86|        return OVERRIDING;
  535|    100|    }
  536|    775|    if (desc_cls->tp_descr_get) {
  ------------------
  |  Branch (536:9): [True: 696, False: 79]
  ------------------
  537|    696|        if (desc_cls->tp_flags & Py_TPFLAGS_METHOD_DESCRIPTOR) {
  ------------------
  |  |  534|    696|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (537:13): [True: 618, False: 78]
  ------------------
  538|    618|            return METHOD;
  539|    618|        }
  540|     78|        if (Py_IS_TYPE(descriptor, &PyClassMethodDescr_Type)) {
  ------------------
  |  |  215|     78|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 8, False: 70]
  |  |  ------------------
  ------------------
  541|      8|            return BUILTIN_CLASSMETHOD;
  542|      8|        }
  543|     70|        if (Py_IS_TYPE(descriptor, &PyClassMethod_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: 35, False: 35]
  |  |  ------------------
  ------------------
  544|     35|            return PYTHON_CLASSMETHOD;
  545|     35|        }
  546|     35|        return NON_OVERRIDING;
  547|     70|    }
  548|     79|    return NON_DESCRIPTOR;
  549|    775|}
specialize.c:instance_has_key:
  761|    937|{
  762|    937|    PyTypeObject *cls = Py_TYPE(obj);
  ------------------
  |  |  213|    937|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    937|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    937|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  763|    937|    if ((cls->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|    937|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (763:9): [True: 557, False: 380]
  ------------------
  764|    557|        return false;
  765|    557|    }
  766|    380|    if (cls->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|    380|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (766:9): [True: 356, False: 24]
  ------------------
  767|    356|        PyDictKeysObject *keys = ((PyHeapTypeObject *)cls)->ht_cached_keys;
  768|    356|        Py_ssize_t index =
  769|    356|            _PyDictKeys_StringLookupAndVersion(keys, name, shared_keys_version);
  770|    356|        return index >= 0;
  771|    356|    }
  772|     24|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
  773|     24|    if (dict == NULL || !PyDict_CheckExact(dict)) {
  ------------------
  |  |   19|     24|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|     24|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (773:9): [True: 0, False: 24]
  |  Branch (773:25): [True: 0, False: 24]
  ------------------
  774|      0|        return false;
  775|      0|    }
  776|     24|    bool result;
  777|     24|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|     24|    {
  ------------------
  778|     24|    if (dict->ma_values) {
  ------------------
  |  Branch (778:9): [True: 24, False: 0]
  ------------------
  779|     24|        result = false;
  780|     24|    }
  781|      0|    else {
  782|      0|        result = (_PyDict_LookupIndex(dict, name) >= 0);
  783|      0|    }
  784|     24|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     24|    }
  ------------------
  785|     24|    return result;
  786|     24|}
specialize.c:do_specialize_instance_load_attr:
  792|    937|{
  793|    937|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  794|    937|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|    937|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    937|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    937|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  795|    937|    if (tp_version == 0) {
  ------------------
  |  Branch (795:9): [True: 0, False: 937]
  ------------------
  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|    937|    uint8_t oparg = FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.arg);
  ------------------
  |  |  159|    937|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
  800|    937|    switch(kind) {
  ------------------
  |  Branch (800:12): [True: 937, False: 0]
  ------------------
  801|     13|        case OVERRIDING:
  ------------------
  |  Branch (801:9): [True: 13, False: 924]
  ------------------
  802|     13|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_OVERRIDING_DESCRIPTOR);
  ------------------
  |  |   44|     13|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  803|     13|            return -1;
  804|    590|        case METHOD:
  ------------------
  |  Branch (804:9): [True: 590, False: 347]
  ------------------
  805|    590|        {
  806|    590|            if (shadow) {
  ------------------
  |  Branch (806:17): [True: 0, False: 590]
  ------------------
  807|      0|                goto try_instance;
  808|      0|            }
  809|    590|            if (oparg & 1) {
  ------------------
  |  Branch (809:17): [True: 314, False: 276]
  ------------------
  810|    314|                if (specialize_attr_loadclassattr(owner, instr, name, descr,
  ------------------
  |  Branch (810:21): [True: 299, False: 15]
  ------------------
  811|    314|                                                  tp_version, kind, true,
  812|    314|                                                  shared_keys_version)) {
  813|    299|                    return 0;
  814|    299|                }
  815|     15|                else {
  816|     15|                    return -1;
  817|     15|                }
  818|    314|            }
  819|    276|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METHOD);
  ------------------
  |  |   44|    276|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  820|    276|            return -1;
  821|    590|        }
  822|     12|        case PROPERTY:
  ------------------
  |  Branch (822:9): [True: 12, False: 925]
  ------------------
  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|     29|        case OBJECT_SLOT:
  ------------------
  |  Branch (865:9): [True: 29, False: 908]
  ------------------
  866|     29|        {
  867|     29|            PyMemberDescrObject *member = (PyMemberDescrObject *)descr;
  868|     29|            struct PyMemberDef *dmem = member->d_member;
  869|     29|            Py_ssize_t offset = dmem->offset;
  870|     29|            if (!PyObject_TypeCheck(owner, member->d_common.d_type)) {
  ------------------
  |  |  378|     29|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (870:17): [True: 0, False: 29]
  ------------------
  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|     29|            if (dmem->flags & _Py_AFTER_ITEMS) {
  ------------------
  |  |   89|     29|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
  |  Branch (874:17): [True: 0, False: 29]
  ------------------
  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|     29|            if (dmem->flags & Py_AUDIT_READ) {
  ------------------
  |  |   84|     29|#define Py_AUDIT_READ          (1 << 1) // Added in 3.10, harmless no-op before that
  ------------------
  |  Branch (878:17): [True: 0, False: 29]
  ------------------
  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|     29|            if (offset != (uint16_t)offset) {
  ------------------
  |  Branch (882:17): [True: 0, False: 29]
  ------------------
  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|     29|            assert(dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT);
  ------------------
  |  Branch (886:13): [True: 2, False: 27]
  |  Branch (886:13): [True: 27, False: 0]
  ------------------
  887|     29|            assert(offset > 0);
  ------------------
  |  Branch (887:13): [True: 29, False: 0]
  ------------------
  888|     29|            cache->index = (uint16_t)offset;
  889|     29|            write_u32(cache->version, tp_version);
  890|     29|            specialize(instr, LOAD_ATTR_SLOT);
  ------------------
  |  |  196|     29|#define LOAD_ATTR_SLOT                         194
  ------------------
  891|     29|            return 0;
  892|     29|        }
  893|      4|        case DUNDER_CLASS:
  ------------------
  |  Branch (893:9): [True: 4, False: 933]
  ------------------
  894|      4|        {
  895|      4|            Py_ssize_t offset = offsetof(PyObject, ob_type);
  896|      4|            assert(offset == (uint16_t)offset);
  ------------------
  |  Branch (896:13): [True: 4, False: 0]
  ------------------
  897|      4|            cache->index = (uint16_t)offset;
  898|      4|            write_u32(cache->version, tp_version);
  899|      4|            specialize(instr, LOAD_ATTR_SLOT);
  ------------------
  |  |  196|      4|#define LOAD_ATTR_SLOT                         194
  ------------------
  900|      4|            return 0;
  901|      4|        }
  902|     24|        case OTHER_SLOT:
  ------------------
  |  Branch (902:9): [True: 24, False: 913]
  ------------------
  903|     24|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_NON_OBJECT_SLOT);
  ------------------
  |  |   44|     24|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  904|     24|            return -1;
  905|      1|        case MUTABLE:
  ------------------
  |  Branch (905:9): [True: 1, False: 936]
  ------------------
  906|      1|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_MUTABLE_CLASS);
  ------------------
  |  |   44|      1|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  907|      1|            return -1;
  908|      0|        case GETSET_OVERRIDDEN:
  ------------------
  |  Branch (908:9): [True: 0, False: 937]
  ------------------
  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: 937]
  ------------------
  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: 937]
  ------------------
  945|      0|        case PYTHON_CLASSMETHOD:
  ------------------
  |  Branch (945:9): [True: 0, False: 937]
  ------------------
  946|      6|        case NON_OVERRIDING:
  ------------------
  |  Branch (946:9): [True: 6, False: 931]
  ------------------
  947|      6|            if (shadow) {
  ------------------
  |  Branch (947:17): [True: 0, False: 6]
  ------------------
  948|      0|                goto try_instance;
  949|      0|            }
  950|      6|            return -1;
  951|     19|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (951:9): [True: 19, False: 918]
  ------------------
  952|     19|            if (shadow) {
  ------------------
  |  Branch (952:17): [True: 0, False: 19]
  ------------------
  953|      0|                goto try_instance;
  954|      0|            }
  955|     19|            if ((oparg & 1) == 0) {
  ------------------
  |  Branch (955:17): [True: 19, False: 0]
  ------------------
  956|     19|                if (specialize_attr_loadclassattr(owner, instr, name, descr,
  ------------------
  |  Branch (956:21): [True: 17, False: 2]
  ------------------
  957|     19|                                                  tp_version, kind, false,
  958|     19|                                                  shared_keys_version)) {
  959|     17|                    return 0;
  960|     17|                }
  961|     19|            }
  962|      2|            return -1;
  963|    239|        case ABSENT:
  ------------------
  |  Branch (963:9): [True: 239, False: 698]
  ------------------
  964|    239|            if (shadow) {
  ------------------
  |  Branch (964:17): [True: 216, False: 23]
  ------------------
  965|    216|                goto try_instance;
  966|    216|            }
  967|     23|            set_counter((_Py_BackoffCounter*)instr + 1, adaptive_counter_cooldown());
  968|     23|            return 0;
  969|    937|    }
  970|    937|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  971|    216|try_instance:
  972|    216|    if (specialize_dict_access(owner, instr, type, kind, name, tp_version,
  ------------------
  |  Branch (972:9): [True: 216, False: 0]
  ------------------
  973|    216|                               LOAD_ATTR, LOAD_ATTR_INSTANCE_VALUE, LOAD_ATTR_WITH_HINT))
  ------------------
  |  |   89|    216|#define LOAD_ATTR                               76
  ------------------
                                             LOAD_ATTR, LOAD_ATTR_INSTANCE_VALUE, LOAD_ATTR_WITH_HINT))
  ------------------
  |  |  188|    216|#define LOAD_ATTR_INSTANCE_VALUE               186
  ------------------
                                             LOAD_ATTR, LOAD_ATTR_INSTANCE_VALUE, LOAD_ATTR_WITH_HINT))
  ------------------
  |  |  197|    216|#define LOAD_ATTR_WITH_HINT                    195
  ------------------
  974|    216|    {
  975|    216|        return 0;
  976|    216|    }
  977|      0|    return -1;
  978|    216|}
specialize.c:specialize_attr_loadclassattr:
 1269|    333|{
 1270|    333|    _PyLoadMethodCache *cache = (_PyLoadMethodCache *)(instr + 1);
 1271|    333|    PyTypeObject *owner_cls = Py_TYPE(owner);
  ------------------
  |  |  213|    333|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    333|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    333|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1272|       |
 1273|    333|    assert(descr != NULL);
  ------------------
  |  Branch (1273:5): [True: 333, False: 0]
  ------------------
 1274|    333|    assert((is_method && kind == METHOD) || (!is_method && kind == NON_DESCRIPTOR));
  ------------------
  |  Branch (1274:5): [True: 314, False: 19]
  |  Branch (1274:5): [True: 314, False: 0]
  |  Branch (1274:5): [True: 19, False: 0]
  |  Branch (1274:5): [True: 19, 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|    333|    unsigned long tp_flags = PyType_GetFlags(owner_cls);
 1284|    333|    if (tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|    333|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1284:9): [True: 76, False: 257]
  ------------------
 1285|     76|        #ifndef Py_GIL_DISABLED
 1286|     76|        assert(_PyDictKeys_StringLookup(
  ------------------
  |  Branch (1286:9): [True: 76, False: 0]
  ------------------
 1287|     76|                   ((PyHeapTypeObject *)owner_cls)->ht_cached_keys, name) < 0);
 1288|     76|        #endif
 1289|     76|        if (shared_keys_version == 0) {
  ------------------
  |  Branch (1289:13): [True: 0, False: 76]
  ------------------
 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|     76|        specialize(instr, is_method ? LOAD_ATTR_METHOD_WITH_VALUES : LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  ------------------
  |  |  191|     60|#define LOAD_ATTR_METHOD_WITH_VALUES           189
  ------------------
                      specialize(instr, is_method ? LOAD_ATTR_METHOD_WITH_VALUES : LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  ------------------
  |  |  194|     92|#define LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES    192
  ------------------
  |  Branch (1293:27): [True: 60, False: 16]
  ------------------
 1294|     76|    }
 1295|    257|    else {
 1296|    257|        Py_ssize_t dictoffset;
 1297|    257|        if (tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|    257|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1297:13): [True: 7, False: 250]
  ------------------
 1298|      7|            dictoffset = MANAGED_DICT_OFFSET;
  ------------------
  |  |  910|      7|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
 1299|      7|        }
 1300|    250|        else {
 1301|    250|            dictoffset = owner_cls->tp_dictoffset;
 1302|    250|            if (dictoffset < 0 || dictoffset > INT16_MAX + MANAGED_DICT_OFFSET) {
  ------------------
  |  |  910|    250|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  |  Branch (1302:17): [True: 0, False: 250]
  |  Branch (1302:35): [True: 0, False: 250]
  ------------------
 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|    250|        }
 1307|    257|        if (dictoffset == 0) {
  ------------------
  |  Branch (1307:13): [True: 238, False: 19]
  ------------------
 1308|    238|            specialize(instr, is_method ? LOAD_ATTR_METHOD_NO_DICT : LOAD_ATTR_NONDESCRIPTOR_NO_DICT);
  ------------------
  |  |  190|    237|#define LOAD_ATTR_METHOD_NO_DICT               188
  ------------------
                          specialize(instr, is_method ? LOAD_ATTR_METHOD_NO_DICT : LOAD_ATTR_NONDESCRIPTOR_NO_DICT);
  ------------------
  |  |  193|    239|#define LOAD_ATTR_NONDESCRIPTOR_NO_DICT        191
  ------------------
  |  Branch (1308:31): [True: 237, False: 1]
  ------------------
 1309|    238|        }
 1310|     19|        else if (is_method) {
  ------------------
  |  Branch (1310:18): [True: 17, False: 2]
  ------------------
 1311|     17|            PyObject **addr = (PyObject **)((char *)owner + dictoffset);
 1312|     17|            PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*addr);
  ------------------
  |  |  152|     17|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1313|     17|            if (dict) {
  ------------------
  |  Branch (1313:17): [True: 15, False: 2]
  ------------------
 1314|     15|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_NOT_MANAGED_DICT);
  ------------------
  |  |   44|     15|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1315|     15|                return 0;
 1316|     15|            }
 1317|       |            /* Cache entries must be unsigned values, so we offset the
 1318|       |             * dictoffset by MANAGED_DICT_OFFSET.
 1319|       |             * We do the reverse offset in LOAD_ATTR_METHOD_LAZY_DICT */
 1320|      2|            dictoffset -= MANAGED_DICT_OFFSET;
  ------------------
  |  |  910|      2|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
 1321|      2|            assert(((uint16_t)dictoffset) == dictoffset);
  ------------------
  |  Branch (1321:13): [True: 2, False: 0]
  ------------------
 1322|      2|            cache->dict_offset = (uint16_t)dictoffset;
 1323|      2|            specialize(instr, LOAD_ATTR_METHOD_LAZY_DICT);
  ------------------
  |  |  189|      2|#define LOAD_ATTR_METHOD_LAZY_DICT             187
  ------------------
 1324|      2|        }
 1325|      2|        else {
 1326|      2|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_CLASS_ATTR_SIMPLE);
  ------------------
  |  |   44|      2|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1327|      2|            return 0;
 1328|      2|        }
 1329|    257|    }
 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|    316|    write_u32(cache->type_version, tp_version);
 1345|    316|    write_ptr(cache->descr, descr);
 1346|    316|    return 1;
 1347|    333|}
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|    259|{
  621|    259|    if (type->tp_setattro != PyObject_GenericSetAttr) {
  ------------------
  |  Branch (621:9): [True: 14, False: 245]
  ------------------
  622|     14|        *descr = NULL;
  623|     14|        return GETSET_OVERRIDDEN;
  624|     14|    }
  625|    245|    PyObject *descriptor = _PyType_LookupRefAndVersion(type, name, tp_version);
  626|    245|    *descr = descriptor;
  627|    245|    if (descriptor_is_class(descriptor, name)) {
  ------------------
  |  Branch (627:9): [True: 0, False: 245]
  ------------------
  628|      0|        return DUNDER_CLASS;
  629|      0|    }
  630|    245|    return classify_descriptor(descriptor, false);
  631|    245|}
specialize.c:specialize_dict_access:
  701|    433|{
  702|    433|    assert(kind == NON_OVERRIDING || kind == NON_DESCRIPTOR || kind == ABSENT ||
  ------------------
  |  Branch (702:5): [True: 0, False: 433]
  |  Branch (702:5): [True: 0, False: 433]
  |  Branch (702:5): [True: 433, False: 0]
  |  Branch (702:5): [True: 0, False: 0]
  |  Branch (702:5): [True: 0, False: 0]
  |  Branch (702:5): [True: 0, False: 0]
  ------------------
  703|    433|        kind == BUILTIN_CLASSMETHOD || kind == PYTHON_CLASSMETHOD ||
  704|    433|        kind == METHOD);
  705|       |    // No descriptor, or non overriding.
  706|    433|    if ((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|    433|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (706:9): [True: 7, False: 426]
  ------------------
  707|      7|        SPECIALIZATION_FAIL(base_op, SPEC_FAIL_ATTR_NOT_MANAGED_DICT);
  ------------------
  |  |   44|      7|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  708|      7|        return 0;
  709|      7|    }
  710|    426|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES &&
  ------------------
  |  |  472|    852|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (710:9): [True: 382, False: 44]
  ------------------
  711|    382|        FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner)->valid) &&
  ------------------
  |  |  156|    808|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (156:37): [True: 382, False: 0]
  |  |  ------------------
  ------------------
  712|    382|        !(base_op == STORE_ATTR && _PyObject_GetManagedDict(owner) != NULL))
  ------------------
  |  |  119|    764|#define STORE_ATTR                             106
  ------------------
  |  Branch (712:11): [True: 166, False: 216]
  |  Branch (712:36): [True: 0, False: 166]
  ------------------
  713|    382|    {
  714|    382|        int res;
  715|    382|        Py_BEGIN_CRITICAL_SECTION(owner);
  ------------------
  |  |   51|    382|    {
  ------------------
  716|    382|        PyDictObject *dict = _PyObject_GetManagedDict(owner);
  717|    382|        if (dict == NULL) {
  ------------------
  |  Branch (717:13): [True: 382, False: 0]
  ------------------
  718|       |            // managed dict, not materialized, inline values valid
  719|    382|            res = specialize_dict_access_inline(owner, instr, type, name,
  720|    382|                                                tp_version, base_op, values_op);
  721|    382|        }
  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|    382|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    382|    }
  ------------------
  728|    382|        return res;
  729|    382|    }
  730|     44|    else {
  731|     44|        PyDictObject *dict = _PyObject_GetManagedDict(owner);
  732|     44|        if (dict == NULL || !PyDict_CheckExact(dict)) {
  ------------------
  |  |   19|     34|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|     34|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (732:13): [True: 10, False: 34]
  |  Branch (732:29): [True: 0, False: 34]
  ------------------
  733|     10|            SPECIALIZATION_FAIL(base_op, SPEC_FAIL_NO_DICT);
  ------------------
  |  |   44|     10|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  734|     10|            return 0;
  735|     10|        }
  736|     34|        int res;
  737|     34|        Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|     34|    {
  ------------------
  738|       |        // materialized managed dict
  739|     34|        res = specialize_dict_access_hint(dict, instr, type, name,
  740|     34|                                          tp_version, base_op, hint_op);
  741|     34|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     34|    }
  ------------------
  742|     34|        return res;
  743|     44|    }
  744|    426|}
specialize.c:specialize_dict_access_inline:
  638|    382|{
  639|    382|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  640|    382|    PyDictKeysObject *keys = ((PyHeapTypeObject *)type)->ht_cached_keys;
  641|    382|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (641:5): [True: 382, False: 0]
  ------------------
  642|    382|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(owner);
  643|    382|    Py_ssize_t index = _PyDictKeys_StringLookupSplit(keys, name);
  644|    382|    assert (index != DKIX_ERROR);
  ------------------
  |  Branch (644:5): [True: 382, False: 0]
  ------------------
  645|    382|    if (index == DKIX_EMPTY) {
  ------------------
  |  |  194|    382|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (645:9): [True: 0, False: 382]
  ------------------
  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|    382|    assert(index >= 0);
  ------------------
  |  Branch (649:5): [True: 382, False: 0]
  ------------------
  650|    382|    assert(_PyObject_InlineValues(owner)->valid);
  ------------------
  |  Branch (650:5): [True: 382, False: 0]
  ------------------
  651|    382|    char *value_addr = (char *)&_PyObject_InlineValues(owner)->values[index];
  652|    382|    Py_ssize_t offset = value_addr - (char *)owner;
  653|    382|    if (offset != (uint16_t)offset) {
  ------------------
  |  Branch (653:9): [True: 0, False: 382]
  ------------------
  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|    382|    cache->index = (uint16_t)offset;
  658|    382|    write_u32(cache->version, tp_version);
  659|    382|    specialize(instr, values_op);
  660|    382|    return 1;
  661|    382|}
specialize.c:specialize_dict_access_hint:
  668|     34|{
  669|     34|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  670|       |
  671|     34|    _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|     34|    if (_PyDict_HasSplitTable(dict)) {
  ------------------
  |  |   61|     34|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (61:34): [True: 34, False: 0]
  |  |  ------------------
  ------------------
  678|     34|        SPECIALIZATION_FAIL(base_op, SPEC_FAIL_ATTR_SPLIT_DICT);
  ------------------
  |  |   44|     34|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  679|     34|        return 0;
  680|     34|    }
  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|    199|{
 1174|    199|    assert(PyType_Check(owner));
  ------------------
  |  Branch (1174:5): [True: 199, False: 0]
  ------------------
 1175|    199|    PyTypeObject *cls = (PyTypeObject *)owner;
 1176|    199|    _PyLoadMethodCache *cache = (_PyLoadMethodCache *)(instr + 1);
 1177|    199|    if (Py_TYPE(cls)->tp_getattro != _Py_type_getattro) {
  ------------------
  |  |  213|    199|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    199|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    199|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1177:9): [True: 0, False: 199]
  ------------------
 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|    199|    unsigned int meta_version = 0;
 1182|    199|    PyObject *metadescriptor = _PyType_LookupRefAndVersion(Py_TYPE(cls), name, &meta_version);
  ------------------
  |  |  213|    199|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    199|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    199|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1183|    199|    DescriptorClassification metakind = classify_descriptor(metadescriptor, false);
 1184|    199|    Py_XDECREF(metadescriptor);
  ------------------
  |  |  621|    199|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    199|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    199|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1185|    199|    switch (metakind) {
 1186|     14|        case METHOD:
  ------------------
  |  Branch (1186:9): [True: 14, False: 185]
  ------------------
 1187|     23|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (1187:9): [True: 9, False: 190]
  ------------------
 1188|     29|        case NON_OVERRIDING:
  ------------------
  |  Branch (1188:9): [True: 6, False: 193]
  ------------------
 1189|     29|        case BUILTIN_CLASSMETHOD:
  ------------------
  |  Branch (1189:9): [True: 0, False: 199]
  ------------------
 1190|     29|        case PYTHON_CLASSMETHOD:
  ------------------
  |  Branch (1190:9): [True: 0, False: 199]
  ------------------
 1191|    140|        case ABSENT:
  ------------------
  |  Branch (1191:9): [True: 111, False: 88]
  ------------------
 1192|    140|            break;
 1193|     59|        default:
  ------------------
  |  Branch (1193:9): [True: 59, False: 140]
  ------------------
 1194|     59|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METACLASS_ATTRIBUTE);
  ------------------
  |  |   44|     59|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1195|     59|            return -1;
 1196|    199|    }
 1197|    140|    PyObject *descr = NULL;
 1198|    140|    DescriptorClassification kind = 0;
 1199|    140|    unsigned int tp_version = 0;
 1200|    140|    kind = analyze_descriptor_load(cls, name, &descr, &tp_version);
 1201|    140|    if (tp_version == 0) {
  ------------------
  |  Branch (1201:9): [True: 0, False: 140]
  ------------------
 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|    140|    bool metaclass_check = false;
 1207|    140|    if ((Py_TYPE(cls)->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) == 0) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if ((Py_TYPE(cls)->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) == 0) {
  ------------------
  |  |  500|    140|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1207:9): [True: 49, False: 91]
  ------------------
 1208|     49|        metaclass_check = true;
 1209|     49|        if (meta_version == 0) {
  ------------------
  |  Branch (1209:13): [True: 0, False: 49]
  ------------------
 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|     49|    }
 1215|    140|    switch (kind) {
 1216|      0|        case MUTABLE:
  ------------------
  |  Branch (1216:9): [True: 0, False: 140]
  ------------------
 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|     14|        case METHOD:
  ------------------
  |  Branch (1230:9): [True: 14, False: 126]
  ------------------
 1231|     63|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (1231:9): [True: 49, False: 91]
  ------------------
 1232|       |#ifdef Py_GIL_DISABLED
 1233|       |            maybe_enable_deferred_ref_count(descr);
 1234|       |#endif
 1235|     63|            write_ptr(cache->descr, descr);
 1236|     63|            if (metaclass_check) {
  ------------------
  |  Branch (1236:17): [True: 36, False: 27]
  ------------------
 1237|     36|                write_u32(cache->keys_version, tp_version);
 1238|     36|                write_u32(cache->type_version, meta_version);
 1239|     36|                specialize(instr, LOAD_ATTR_CLASS_WITH_METACLASS_CHECK);
  ------------------
  |  |  186|     36|#define LOAD_ATTR_CLASS_WITH_METACLASS_CHECK   184
  ------------------
 1240|     36|            }
 1241|     27|            else {
 1242|     27|                write_u32(cache->type_version, tp_version);
 1243|     27|                specialize(instr, LOAD_ATTR_CLASS);
  ------------------
  |  |  185|     27|#define LOAD_ATTR_CLASS                        183
  ------------------
 1244|     27|            }
 1245|     63|            Py_XDECREF(descr);
  ------------------
  |  |  621|     63|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1246|     63|            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|     77|        default:
  ------------------
  |  Branch (1253:9): [True: 77, False: 63]
  ------------------
 1254|     77|            SPECIALIZATION_FAIL(LOAD_ATTR, load_attr_fail_kind(kind));
  ------------------
  |  |   44|     77|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1255|     77|            Py_XDECREF(descr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1256|     77|            return -1;
 1257|    140|    }
 1258|    140|}
specialize.c:specialize_load_global_lock_held:
 1353|  1.78k|{
 1354|  1.78k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1354:5): [True: 1.78k, Folded]
  ------------------
 1355|  1.78k|    assert(_PyOpcode_Caches[LOAD_GLOBAL] == INLINE_CACHE_ENTRIES_LOAD_GLOBAL);
  ------------------
  |  Branch (1355:5): [True: 1.78k, False: 0]
  ------------------
 1356|       |    /* Use inline cache */
 1357|  1.78k|    _PyLoadGlobalCache *cache = (_PyLoadGlobalCache *)(instr + 1);
 1358|  1.78k|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (1358:5): [True: 1.78k, False: 0]
  ------------------
 1359|  1.78k|    if (!PyDict_CheckExact(globals)) {
  ------------------
  |  |   19|  1.78k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  1.78k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1359:9): [True: 0, False: 1.78k]
  ------------------
 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.78k|    PyDictKeysObject * globals_keys = ((PyDictObject *)globals)->ma_keys;
 1364|  1.78k|    if (globals_keys->dk_kind != DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (1364:9): [True: 0, False: 1.78k]
  ------------------
 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.78k|    PyObject *value;
 1369|  1.78k|    Py_ssize_t index = _PyDict_LookupIndexAndValue((PyDictObject *)globals, name, &value);
 1370|  1.78k|    if (index == DKIX_ERROR) {
  ------------------
  |  |  196|  1.78k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1370:9): [True: 0, False: 1.78k]
  ------------------
 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.78k|    if (value != NULL && PyLazyImport_CheckExact(value)) {
  ------------------
  |  |   15|  1.14k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|  1.14k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.14k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1374:9): [True: 1.14k, False: 637]
  ------------------
 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.78k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1379|  1.78k|    if (index != DKIX_EMPTY) {
  ------------------
  |  |  194|  1.78k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1379:9): [True: 1.14k, False: 637]
  ------------------
 1380|  1.14k|        if (index != (uint16_t)index) {
  ------------------
  |  Branch (1380:13): [True: 0, False: 1.14k]
  ------------------
 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|  1.14k|        uint32_t keys_version = _PyDict_GetKeysVersionForCurrentState(
 1385|  1.14k|                interp, (PyDictObject*) globals);
 1386|  1.14k|        if (keys_version == 0) {
  ------------------
  |  Branch (1386:13): [True: 0, False: 1.14k]
  ------------------
 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|  1.14k|        if (keys_version != (uint16_t)keys_version) {
  ------------------
  |  Branch (1390:13): [True: 0, False: 1.14k]
  ------------------
 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|  1.14k|        PyDict_Watch(MODULE_WATCHER_ID, globals);
  ------------------
  |  |  315|  1.14k|#define MODULE_WATCHER_ID       2
  ------------------
 1395|       |#ifdef Py_GIL_DISABLED
 1396|       |        maybe_enable_deferred_ref_count(value);
 1397|       |#endif
 1398|  1.14k|        cache->index = (uint16_t)index;
 1399|  1.14k|        cache->module_keys_version = (uint16_t)keys_version;
 1400|  1.14k|        specialize(instr, LOAD_GLOBAL_MODULE);
  ------------------
  |  |  199|  1.14k|#define LOAD_GLOBAL_MODULE                     197
  ------------------
 1401|  1.14k|        return;
 1402|  1.14k|    }
 1403|    637|    if (!PyDict_CheckExact(builtins)) {
  ------------------
  |  |   19|    637|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    637|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    637|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    637|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1403:9): [True: 0, False: 637]
  ------------------
 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|    637|    PyDictKeysObject * builtin_keys = ((PyDictObject *)builtins)->ma_keys;
 1408|    637|    if (builtin_keys->dk_kind != DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (1408:9): [True: 0, False: 637]
  ------------------
 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|    637|    index = _PyDict_LookupIndexAndValue((PyDictObject *)builtins, name, &value);
 1413|    637|    if (index == DKIX_ERROR) {
  ------------------
  |  |  196|    637|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1413:9): [True: 0, False: 637]
  ------------------
 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|    637|    if (value != NULL && PyLazyImport_CheckExact(value)) {
  ------------------
  |  |   15|    637|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|    637|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    637|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    637|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 637]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1417:9): [True: 637, 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|    637|    if (index != (uint16_t)index) {
  ------------------
  |  Branch (1421:9): [True: 0, False: 637]
  ------------------
 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|    637|    uint32_t globals_version = _PyDict_GetKeysVersionForCurrentState(
 1426|    637|            interp, (PyDictObject*) globals);
 1427|    637|    if (globals_version == 0) {
  ------------------
  |  Branch (1427:9): [True: 0, False: 637]
  ------------------
 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|    637|    if (globals_version != (uint16_t)globals_version) {
  ------------------
  |  Branch (1431:9): [True: 0, False: 637]
  ------------------
 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|    637|    PyDict_Watch(MODULE_WATCHER_ID, globals);
  ------------------
  |  |  315|    637|#define MODULE_WATCHER_ID       2
  ------------------
 1436|    637|    uint32_t builtins_version = _PyDict_GetKeysVersionForCurrentState(
 1437|    637|            interp, (PyDictObject*) builtins);
 1438|    637|    if (builtins_version == 0) {
  ------------------
  |  Branch (1438:9): [True: 0, False: 637]
  ------------------
 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|    637|    if (builtins_version > UINT16_MAX) {
  ------------------
  |  Branch (1442:9): [True: 0, False: 637]
  ------------------
 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|    637|    PyDict_Watch(MODULE_WATCHER_ID, builtins);
  ------------------
  |  |  315|    637|#define MODULE_WATCHER_ID       2
  ------------------
 1447|    637|    cache->index = (uint16_t)index;
 1448|    637|    cache->module_keys_version = (uint16_t)globals_version;
 1449|    637|    cache->builtin_keys_version = (uint16_t)builtins_version;
 1450|    637|    specialize(instr, LOAD_GLOBAL_BUILTIN);
  ------------------
  |  |  198|    637|#define LOAD_GLOBAL_BUILTIN                    196
  ------------------
 1451|    637|    return;
 1452|      0|fail:
 1453|      0|    unspecialize(instr);
 1454|      0|}
specialize.c:specialize_c_call:
 1829|    499|{
 1830|    499|    if (PyCFunction_GET_FUNCTION(callable) == NULL) {
  ------------------
  |  |   43|    499|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    499|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    499|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1830:9): [True: 0, False: 499]
  ------------------
 1831|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OTHER);
  ------------------
  |  |   44|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1832|      0|        return 1;
 1833|      0|    }
 1834|    499|    switch (PyCFunction_GET_FLAGS(callable) & _Py_METH_CALL_FLAGS) {
  ------------------
  |  |   57|    499|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    499|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    499|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  switch (PyCFunction_GET_FLAGS(callable) & _Py_METH_CALL_FLAGS) {
  ------------------
  |  |   17|    499|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   95|    499|#define METH_VARARGS  0x0001
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |  115|    499|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   98|    499|#define METH_NOARGS   0x0004
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   99|    499|#define METH_O        0x0008
  |  |  ------------------
  |  |   18|    499|     METH_KEYWORDS | METH_METHOD)
  |  |  ------------------
  |  |  |  |   96|    499|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  ------------------
  |  |  |  |  133|    499|#define METH_METHOD 0x0200
  |  |  ------------------
  ------------------
 1835|    205|        case METH_O: {
  ------------------
  |  |   99|    205|#define METH_O        0x0008
  ------------------
  |  Branch (1835:9): [True: 205, False: 294]
  ------------------
 1836|    205|            if (nargs != 1) {
  ------------------
  |  Branch (1836:17): [True: 0, False: 205]
  ------------------
 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|    205|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1842|    205|            if (callable == interp->callable_cache.len && instr->op.arg == 1) {
  ------------------
  |  Branch (1842:17): [True: 103, False: 102]
  |  Branch (1842:59): [True: 103, False: 0]
  ------------------
 1843|    103|                specialize(instr, CALL_LEN);
  ------------------
  |  |  159|    103|#define CALL_LEN                               157
  ------------------
 1844|    103|                return 0;
 1845|    103|            }
 1846|    102|            specialize(instr, CALL_BUILTIN_O);
  ------------------
  |  |  152|    102|#define CALL_BUILTIN_O                         150
  ------------------
 1847|    102|            return 0;
 1848|    205|        }
 1849|    214|        case METH_FASTCALL: {
  ------------------
  |  |  115|    214|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (1849:9): [True: 214, False: 285]
  ------------------
 1850|    214|            if (nargs == 2) {
  ------------------
  |  Branch (1850:17): [True: 127, False: 87]
  ------------------
 1851|       |                /* isinstance(o1, o2) */
 1852|    127|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1853|    127|                if (callable == interp->callable_cache.isinstance && instr->op.arg == 2) {
  ------------------
  |  Branch (1853:21): [True: 63, False: 64]
  |  Branch (1853:70): [True: 63, False: 0]
  ------------------
 1854|     63|                    specialize(instr, CALL_ISINSTANCE);
  ------------------
  |  |  155|     63|#define CALL_ISINSTANCE                        153
  ------------------
 1855|     63|                    return 0;
 1856|     63|                }
 1857|    127|            }
 1858|    151|            specialize(instr, CALL_BUILTIN_FAST);
  ------------------
  |  |  150|    151|#define CALL_BUILTIN_FAST                      148
  ------------------
 1859|    151|            return 0;
 1860|    214|        }
 1861|     57|        case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |  115|     57|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |   96|     57|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (1861:9): [True: 57, False: 442]
  ------------------
 1862|     57|            specialize(instr, CALL_BUILTIN_FAST_WITH_KEYWORDS);
  ------------------
  |  |  151|     57|#define CALL_BUILTIN_FAST_WITH_KEYWORDS        149
  ------------------
 1863|     57|            return 0;
 1864|    214|        }
 1865|     23|        default:
  ------------------
  |  Branch (1865:9): [True: 23, False: 476]
  ------------------
 1866|     23|            specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  165|     23|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1867|     23|            return 0;
 1868|    499|    }
 1869|    499|}
specialize.c:specialize_py_call:
 1757|    399|{
 1758|    399|    _PyCallCache *cache = (_PyCallCache *)(instr + 1);
 1759|    399|    PyCodeObject *code = (PyCodeObject *)func->func_code;
 1760|    399|    int kind = function_kind(code);
 1761|       |    /* Don't specialize if PEP 523 is active */
 1762|    399|    if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (1762:9): [True: 0, False: 399]
  ------------------
 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|    399|    if (func->vectorcall != _PyFunction_Vectorcall) {
  ------------------
  |  Branch (1766:9): [True: 0, False: 399]
  ------------------
 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|    399|    int argcount = -1;
 1771|    399|    if (kind == SPEC_FAIL_CODE_NOT_OPTIMIZED) {
  ------------------
  |  |  138|    399|#define SPEC_FAIL_CODE_NOT_OPTIMIZED 8
  ------------------
  |  Branch (1771:9): [True: 0, False: 399]
  ------------------
 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|    399|    if (kind == SIMPLE_FUNCTION) {
  ------------------
  |  |  126|    399|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (1775:9): [True: 350, False: 49]
  ------------------
 1776|    350|        argcount = code->co_argcount;
 1777|    350|    }
 1778|    399|    int version = _PyFunction_GetVersionForCurrentState(func);
 1779|    399|    if (!_PyFunction_IsVersionValid(version)) {
  ------------------
  |  Branch (1779:9): [True: 0, False: 399]
  ------------------
 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|    399|    write_u32(cache->func_version, version);
 1784|    399|    uint8_t opcode;
 1785|    399|    if (argcount == nargs + bound_method) {
  ------------------
  |  Branch (1785:9): [True: 338, False: 61]
  ------------------
 1786|    338|        opcode =
 1787|    338|            bound_method ? CALL_BOUND_METHOD_EXACT_ARGS : CALL_PY_EXACT_ARGS;
  ------------------
  |  |  147|     53|#define CALL_BOUND_METHOD_EXACT_ARGS           145
  ------------------
                          bound_method ? CALL_BOUND_METHOD_EXACT_ARGS : CALL_PY_EXACT_ARGS;
  ------------------
  |  |  166|    623|#define CALL_PY_EXACT_ARGS                     164
  ------------------
  |  Branch (1787:13): [True: 53, False: 285]
  ------------------
 1788|    338|    }
 1789|     61|    else {
 1790|     61|        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|    120|#define CALL_PY_GENERAL                        165
  ------------------
  |  Branch (1790:18): [True: 2, False: 59]
  ------------------
 1791|     61|    }
 1792|    399|    specialize(instr, opcode);
 1793|    399|    return 0;
 1794|    399|}
specialize.c:specialize_class_call:
 1659|    200|{
 1660|    200|    assert(PyType_Check(callable));
  ------------------
  |  Branch (1660:5): [True: 200, False: 0]
  ------------------
 1661|    200|    PyTypeObject *tp = _PyType_CAST(callable);
  ------------------
  |  |  770|    200|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1661:24): [True: 200, False: 0]
  ------------------
 1662|    200|    if (tp->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    200|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1662:9): [True: 124, False: 76]
  ------------------
 1663|    124|        int oparg = instr->op.arg;
 1664|    124|        if (nargs == 1 && oparg == 1) {
  ------------------
  |  Branch (1664:13): [True: 70, False: 54]
  |  Branch (1664:27): [True: 69, False: 1]
  ------------------
 1665|     69|            if (tp == &PyUnicode_Type) {
  ------------------
  |  Branch (1665:17): [True: 6, False: 63]
  ------------------
 1666|      6|                specialize(instr, CALL_STR_1);
  ------------------
  |  |  168|      6|#define CALL_STR_1                             166
  ------------------
 1667|      6|                return 0;
 1668|      6|            }
 1669|     63|            else if (tp == &PyType_Type) {
  ------------------
  |  Branch (1669:22): [True: 12, False: 51]
  ------------------
 1670|     12|                specialize(instr, CALL_TYPE_1);
  ------------------
  |  |  170|     12|#define CALL_TYPE_1                            168
  ------------------
 1671|     12|                return 0;
 1672|     12|            }
 1673|     51|            else if (tp == &PyTuple_Type) {
  ------------------
  |  Branch (1673:22): [True: 2, False: 49]
  ------------------
 1674|      2|                specialize(instr, CALL_TUPLE_1);
  ------------------
  |  |  169|      2|#define CALL_TUPLE_1                           167
  ------------------
 1675|      2|                return 0;
 1676|      2|            }
 1677|     69|        }
 1678|    104|        if (tp->tp_vectorcall != NULL) {
  ------------------
  |  Branch (1678:13): [True: 75, False: 29]
  ------------------
 1679|     75|            specialize(instr, CALL_BUILTIN_CLASS);
  ------------------
  |  |  149|     75|#define CALL_BUILTIN_CLASS                     147
  ------------------
 1680|     75|            return 0;
 1681|     75|        }
 1682|     29|        goto generic;
 1683|    104|    }
 1684|     76|    if (Py_TYPE(tp) != &PyType_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1684:9): [True: 2, False: 74]
  ------------------
 1685|      2|        goto generic;
 1686|      2|    }
 1687|     74|    if (tp->tp_new == PyBaseObject_Type.tp_new) {
  ------------------
  |  Branch (1687:9): [True: 68, False: 6]
  ------------------
 1688|     68|        unsigned int tp_version = 0;
 1689|     68|        PyObject *init = get_init_for_simple_managed_python_class(tp, &tp_version);
 1690|     68|        if (!tp_version) {
  ------------------
  |  Branch (1690:13): [True: 0, False: 68]
  ------------------
 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|     68|        if (init != NULL && _PyType_CacheInitForSpecialization(
  ------------------
  |  Branch (1695:13): [True: 12, False: 56]
  |  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|     56|        Py_XDECREF(init);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1704|     56|    }
 1705|     93|generic:
 1706|     93|    specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  165|     93|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1707|     93|    return 0;
 1708|     74|}
specialize.c:get_init_for_simple_managed_python_class:
 1630|     68|{
 1631|     68|    assert(tp->tp_new == PyBaseObject_Type.tp_new);
  ------------------
  |  Branch (1631:5): [True: 68, False: 0]
  ------------------
 1632|     68|    if (tp->tp_alloc != PyType_GenericAlloc) {
  ------------------
  |  Branch (1632:9): [True: 0, False: 68]
  ------------------
 1633|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OVERRIDDEN);
  ------------------
  |  |   44|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1634|      0|        return NULL;
 1635|      0|    }
 1636|     68|    unsigned long tp_flags = PyType_GetFlags(tp);
 1637|     68|    if (!(tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|     68|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1637:9): [True: 0, False: 68]
  ------------------
 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|     68|    PyObject *init = _PyType_LookupRefAndVersion(tp, &_Py_ID(__init__), tp_version);
  ------------------
  |  |  951|     68|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     68|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     68|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1643|     68|    if (init == NULL || !PyFunction_Check(init)) {
  ------------------
  |  |   68|     68|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|     68|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1643:9): [True: 0, False: 68]
  |  Branch (1643:25): [True: 54, False: 14]
  ------------------
 1644|     54|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_INIT_NOT_PYTHON);
  ------------------
  |  |   44|     54|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1645|     54|        Py_XDECREF(init);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1646|     54|        return NULL;
 1647|     54|    }
 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|    273|{
 1714|    273|    switch (descr->d_method->ml_flags & _Py_METH_CALL_FLAGS) {
  ------------------
  |  |   17|    273|    (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   95|    273|#define METH_VARARGS  0x0001
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |  115|    273|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   98|    273|#define METH_NOARGS   0x0004
  |  |  ------------------
  |  |                   (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | \
  |  |  ------------------
  |  |  |  |   99|    273|#define METH_O        0x0008
  |  |  ------------------
  |  |   18|    273|     METH_KEYWORDS | METH_METHOD)
  |  |  ------------------
  |  |  |  |   96|    273|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  |                    METH_KEYWORDS | METH_METHOD)
  |  |  ------------------
  |  |  |  |  133|    273|#define METH_METHOD 0x0200
  |  |  ------------------
  ------------------
  |  Branch (1714:13): [True: 266, False: 7]
  ------------------
 1715|     32|        case METH_NOARGS: {
  ------------------
  |  |   98|     32|#define METH_NOARGS   0x0004
  ------------------
  |  Branch (1715:9): [True: 32, False: 241]
  ------------------
 1716|     32|            if (nargs != 1) {
  ------------------
  |  Branch (1716:17): [True: 0, False: 32]
  ------------------
 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|     32|            specialize(instr, CALL_METHOD_DESCRIPTOR_NOARGS);
  ------------------
  |  |  163|     32|#define CALL_METHOD_DESCRIPTOR_NOARGS          161
  ------------------
 1721|     32|            return 0;
 1722|     32|        }
 1723|    106|        case METH_O: {
  ------------------
  |  |   99|    106|#define METH_O        0x0008
  ------------------
  |  Branch (1723:9): [True: 106, False: 167]
  ------------------
 1724|    106|            if (nargs != 2) {
  ------------------
  |  Branch (1724:17): [True: 0, False: 106]
  ------------------
 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|    106|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1729|    106|            PyObject *list_append = interp->callable_cache.list_append;
 1730|    106|            int oparg = instr->op.arg;
 1731|    106|            if ((PyObject *)descr == list_append && oparg == 1) {
  ------------------
  |  Branch (1731:17): [True: 41, False: 65]
  |  Branch (1731:53): [True: 41, False: 0]
  ------------------
 1732|     41|                assert(self_or_null != NULL);
  ------------------
  |  Branch (1732:17): [True: 41, False: 0]
  ------------------
 1733|     41|                if (PyList_CheckExact(self_or_null)) {
  ------------------
  |  |   26|     41|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|     41|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 32, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1734|     32|                    specialize(instr, CALL_LIST_APPEND);
  ------------------
  |  |  160|     32|#define CALL_LIST_APPEND                       158
  ------------------
 1735|     32|                    return 0;
 1736|     32|                }
 1737|     41|            }
 1738|     74|            specialize(instr, CALL_METHOD_DESCRIPTOR_O);
  ------------------
  |  |  164|     74|#define CALL_METHOD_DESCRIPTOR_O               162
  ------------------
 1739|     74|            return 0;
 1740|    106|        }
 1741|    106|        case METH_FASTCALL: {
  ------------------
  |  |  115|    106|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (1741:9): [True: 106, False: 167]
  ------------------
 1742|    106|            specialize(instr, CALL_METHOD_DESCRIPTOR_FAST);
  ------------------
  |  |  161|    106|#define CALL_METHOD_DESCRIPTOR_FAST            159
  ------------------
 1743|    106|            return 0;
 1744|    106|        }
 1745|     22|        case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |  115|     22|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |   96|     22|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (1745:9): [True: 22, False: 251]
  ------------------
 1746|     22|            specialize(instr, CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS);
  ------------------
  |  |  162|     22|#define CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS 160
  ------------------
 1747|     22|            return 0;
 1748|    106|        }
 1749|    273|    }
 1750|      7|    specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  165|      7|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1751|      7|    return 0;
 1752|    273|}
specialize.c:specialize_py_call_kw:
 1800|     13|{
 1801|     13|    _PyCallCache *cache = (_PyCallCache *)(instr + 1);
 1802|     13|    PyCodeObject *code = (PyCodeObject *)func->func_code;
 1803|     13|    int kind = function_kind(code);
 1804|       |    /* Don't specialize if PEP 523 is active */
 1805|     13|    if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (1805:9): [True: 0, False: 13]
  ------------------
 1806|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_PEP_523);
  ------------------
  |  |   44|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1807|      0|        return -1;
 1808|      0|    }
 1809|     13|    if (func->vectorcall != _PyFunction_Vectorcall) {
  ------------------
  |  Branch (1809:9): [True: 0, False: 13]
  ------------------
 1810|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_VECTORCALL);
  ------------------
  |  |   44|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1811|      0|        return -1;
 1812|      0|    }
 1813|     13|    if (kind == SPEC_FAIL_CODE_NOT_OPTIMIZED) {
  ------------------
  |  |  138|     13|#define SPEC_FAIL_CODE_NOT_OPTIMIZED 8
  ------------------
  |  Branch (1813:9): [True: 0, False: 13]
  ------------------
 1814|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CODE_NOT_OPTIMIZED);
  ------------------
  |  |   44|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1815|      0|        return -1;
 1816|      0|    }
 1817|     13|    int version = _PyFunction_GetVersionForCurrentState(func);
 1818|     13|    if (!_PyFunction_IsVersionValid(version)) {
  ------------------
  |  Branch (1818:9): [True: 0, False: 13]
  ------------------
 1819|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   44|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1820|      0|        return -1;
 1821|      0|    }
 1822|     13|    write_u32(cache->func_version, version);
 1823|     13|    specialize(instr, bound_method ? CALL_KW_BOUND_METHOD : CALL_KW_PY);
  ------------------
  |  |  156|      0|#define CALL_KW_BOUND_METHOD                   154
  ------------------
                  specialize(instr, bound_method ? CALL_KW_BOUND_METHOD : CALL_KW_PY);
  ------------------
  |  |  158|     26|#define CALL_KW_PY                             156
  ------------------
  |  Branch (1823:23): [True: 0, False: 13]
  ------------------
 1824|     13|    return 0;
 1825|     13|}
specialize.c:function_kind:
 1475|    447|function_kind(PyCodeObject *code) {
 1476|    447|    int flags = code->co_flags;
 1477|    447|    if ((flags & (CO_VARKEYWORDS | CO_VARARGS)) || code->co_kwonlyargcount) {
  ------------------
  |  |  125|    447|#define CO_VARKEYWORDS  0x0008
  ------------------
                  if ((flags & (CO_VARKEYWORDS | CO_VARARGS)) || code->co_kwonlyargcount) {
  ------------------
  |  |  124|    447|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1477:9): [True: 44, False: 403]
  |  Branch (1477:52): [True: 18, False: 385]
  ------------------
 1478|     62|        return SPEC_FAIL_CODE_COMPLEX_PARAMETERS;
  ------------------
  |  |  137|     62|#define SPEC_FAIL_CODE_COMPLEX_PARAMETERS 7
  ------------------
 1479|     62|    }
 1480|    385|    if ((flags & CO_OPTIMIZED) == 0) {
  ------------------
  |  |  122|    385|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (1480:9): [True: 0, False: 385]
  ------------------
 1481|      0|        return SPEC_FAIL_CODE_NOT_OPTIMIZED;
  ------------------
  |  |  138|      0|#define SPEC_FAIL_CODE_NOT_OPTIMIZED 8
  ------------------
 1482|      0|    }
 1483|    385|    return SIMPLE_FUNCTION;
  ------------------
  |  |  126|    385|#define SIMPLE_FUNCTION 0
  ------------------
 1484|    385|}
specialize.c:binary_op_extended_specialization:
 2320|    955|{
 2321|    955|    size_t n = sizeof(binaryop_extend_descrs)/sizeof(_PyBinaryOpSpecializationDescr);
 2322|  36.8k|    for (size_t i = 0; i < n; i++) {
  ------------------
  |  Branch (2322:24): [True: 35.9k, False: 888]
  ------------------
 2323|  35.9k|        _PyBinaryOpSpecializationDescr *d = &binaryop_extend_descrs[i];
 2324|  35.9k|        if (d->oparg != oparg) {
  ------------------
  |  Branch (2324:13): [True: 33.6k, False: 2.25k]
  ------------------
 2325|  33.6k|            continue;
 2326|  33.6k|        }
 2327|  2.25k|        int match = (d->guard != NULL)
  ------------------
  |  Branch (2327:21): [True: 830, False: 1.42k]
  ------------------
 2328|  2.25k|            ? d->guard(lhs, rhs)
 2329|  2.25k|            : (Py_TYPE(lhs) == d->lhs_type && Py_TYPE(rhs) == d->rhs_type);
  ------------------
  |  |  213|  1.42k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          : (Py_TYPE(lhs) == d->lhs_type && Py_TYPE(rhs) == d->rhs_type);
  ------------------
  |  |  213|    605|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    605|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    605|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2329:16): [True: 605, False: 816]
  |  Branch (2329:47): [True: 11, False: 594]
  ------------------
 2330|  2.25k|        if (match) {
  ------------------
  |  Branch (2330:13): [True: 67, False: 2.18k]
  ------------------
 2331|     67|            *descr = d;
 2332|     67|            return 1;
 2333|     67|        }
 2334|  2.25k|    }
 2335|    888|    return 0;
 2336|    955|}
specialize.c:compactlongs_guard:
 2162|  14.2k|{
 2163|  14.2k|    return (is_compactlong(lhs) && is_compactlong(rhs));
  ------------------
  |  Branch (2163:13): [True: 14.1k, False: 31]
  |  Branch (2163:36): [True: 14.1k, False: 5]
  ------------------
 2164|  14.2k|}
specialize.c:is_compactlong:
 2137|  28.3k|{
 2138|  28.3k|    return PyLong_CheckExact(v) &&
  ------------------
  |  |   14|  28.3k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  56.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  28.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  28.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 28.3k, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2139|  28.3k|           _PyLong_IsCompact((PyLongObject *)v);
  ------------------
  |  Branch (2139:12): [True: 28.3k, False: 31]
  ------------------
 2140|  28.3k|}
specialize.c:compactlongs_or:
 2169|     54|    { \
 2170|     54|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2171|     54|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2172|     54|        return PyLong_FromSsize_t(lhs_val OP rhs_val); \
 2173|     54|    }
specialize.c:compactlongs_and:
 2169|  14.0k|    { \
 2170|  14.0k|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2171|  14.0k|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2172|  14.0k|        return PyLong_FromSsize_t(lhs_val OP rhs_val); \
 2173|  14.0k|    }
specialize.c:compactlongs_xor:
 2169|      5|    { \
 2170|      5|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2171|      5|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2172|      5|        return PyLong_FromSsize_t(lhs_val OP rhs_val); \
 2173|      5|    }
specialize.c:float_compactlong_guard:
 2183|    369|{
 2184|    369|    return (
 2185|    369|        PyFloat_CheckExact(lhs) &&
  ------------------
  |  |   17|    369|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|    738|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    369|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    369|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 369]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2186|      0|        !isnan(PyFloat_AS_DOUBLE(lhs)) &&
  ------------------
  |  Branch (2186:9): [True: 0, False: 0]
  ------------------
 2187|    369|        PyLong_CheckExact(rhs) &&
  ------------------
  |  |   14|      0|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    369|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#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|    369|    );
 2190|    369|}
specialize.c:compactlong_float_guard:
 2218|    369|{
 2219|    369|    return (
 2220|    369|        PyLong_CheckExact(lhs) &&
  ------------------
  |  |   14|    369|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    738|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    369|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    369|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 342, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2221|    342|        _PyLong_IsCompact((PyLongObject *)lhs) &&
  ------------------
  |  Branch (2221:9): [True: 114, False: 228]
  ------------------
 2222|    369|        PyFloat_CheckExact(rhs) &&
  ------------------
  |  |   17|    114|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|    483|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 114]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2223|      0|        !isnan(PyFloat_AS_DOUBLE(rhs))
  ------------------
  |  Branch (2223:9): [True: 0, False: 0]
  ------------------
 2224|    369|    );
 2225|    369|}
specialize.c:check_type_always_true:
 2822|      9|{
 2823|      9|    PyNumberMethods *nb = ty->tp_as_number;
 2824|      9|    if (nb && nb->nb_bool) {
  ------------------
  |  Branch (2824:9): [True: 9, False: 0]
  |  Branch (2824:15): [True: 1, False: 8]
  ------------------
 2825|      1|        return SPEC_FAIL_TO_BOOL_NUMBER;
  ------------------
  |  |  315|      1|#define SPEC_FAIL_TO_BOOL_NUMBER      15
  ------------------
 2826|      1|    }
 2827|      8|    PyMappingMethods *mp = ty->tp_as_mapping;
 2828|      8|    if (mp && mp->mp_length) {
  ------------------
  |  Branch (2828:9): [True: 8, False: 0]
  |  Branch (2828:15): [True: 5, False: 3]
  ------------------
 2829|      5|        return SPEC_FAIL_TO_BOOL_MAPPING;
  ------------------
  |  |  313|      5|#define SPEC_FAIL_TO_BOOL_MAPPING     13
  ------------------
 2830|      5|    }
 2831|      3|    PySequenceMethods *sq = ty->tp_as_sequence;
 2832|      3|    if (sq && sq->sq_length) {
  ------------------
  |  Branch (2832:9): [True: 3, False: 0]
  |  Branch (2832:15): [True: 0, False: 3]
  ------------------
 2833|      0|      return SPEC_FAIL_TO_BOOL_SEQUENCE;
  ------------------
  |  |  316|      0|#define SPEC_FAIL_TO_BOOL_SEQUENCE    16
  ------------------
 2834|      0|    }
 2835|      3|    return 0;
 2836|      3|}
specialize.c:set_counter:
  349|  60.2k|{
  350|  60.2k|    FT_ATOMIC_STORE_UINT16_RELAXED(counter->value_and_backoff,
  ------------------
  |  |  174|  60.2k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  ------------------
  351|  60.2k|                                   value.value_and_backoff);
  352|  60.2k|}

_PyMember_GetOffset:
   26|  6.52k|{
   27|  6.52k|    unsigned char *addr = (unsigned char *)obj + mp->offset;
   28|  6.52k|    if (mp->flags & _Py_AFTER_ITEMS) {
  ------------------
  |  |   89|  6.52k|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
  |  Branch (28:9): [True: 0, False: 6.52k]
  ------------------
   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|  6.52k|    return addr;
   33|  6.52k|}
PyMember_GetOne:
   37|  2.48k|{
   38|  2.48k|    PyObject *v;
   39|  2.48k|    if (l->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|  2.48k|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (39:9): [True: 0, False: 2.48k]
  ------------------
   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|  2.48k|    const void *addr = _PyMember_GetOffset((PyObject *)obj_addr, l);
   47|  2.48k|    switch (l->type) {
   48|      0|    case Py_T_BOOL:
  ------------------
  |  |   73|      0|#define Py_T_BOOL      14
  ------------------
  |  Branch (48:5): [True: 0, False: 2.48k]
  ------------------
   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: 2.48k]
  ------------------
   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: 2.48k]
  ------------------
   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: 2.48k]
  ------------------
   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: 2.48k]
  ------------------
   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: 2.48k]
  ------------------
   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: 2.48k]
  ------------------
   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: 2.48k]
  ------------------
   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: 2.48k]
  ------------------
   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|  2.04k|    case Py_T_PYSSIZET:
  ------------------
  |  |   79|  2.04k|#define Py_T_PYSSIZET  19      /* Py_ssize_t */
  ------------------
  |  Branch (75:5): [True: 2.04k, False: 440]
  ------------------
   76|  2.04k|        v = PyLong_FromSsize_t(FT_ATOMIC_LOAD_SSIZE_RELAXED(*(Py_ssize_t*)addr));
  ------------------
  |  |  151|  2.04k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
   77|  2.04k|        break;
   78|      0|    case Py_T_FLOAT:
  ------------------
  |  |   56|      0|#define Py_T_FLOAT     3
  ------------------
  |  Branch (78:5): [True: 0, False: 2.48k]
  ------------------
   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: 2.48k]
  ------------------
   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|      1|    case Py_T_STRING:
  ------------------
  |  |   58|      1|#define Py_T_STRING    5
  ------------------
  |  Branch (84:5): [True: 1, False: 2.47k]
  ------------------
   85|      1|        if (*(char**)addr == NULL) {
  ------------------
  |  Branch (85:13): [True: 0, False: 1]
  ------------------
   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|      1|        else
   89|      1|            v = PyUnicode_FromString(*(char**)addr);
   90|      1|        break;
   91|      0|    case Py_T_STRING_INPLACE:
  ------------------
  |  |   70|      0|#define Py_T_STRING_INPLACE    13
  ------------------
  |  Branch (91:5): [True: 0, False: 2.48k]
  ------------------
   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: 2.48k]
  ------------------
   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|    421|    case _Py_T_OBJECT:
  ------------------
  |  |   59|    421|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (99:5): [True: 421, False: 2.05k]
  ------------------
  100|    421|        v = FT_ATOMIC_LOAD_PTR(*(PyObject **) addr);
  ------------------
  |  |  147|    421|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  101|    421|        if (v != NULL) {
  ------------------
  |  Branch (101:13): [True: 421, 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|    421|            Py_INCREF(v);
  ------------------
  |  |  310|    421|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    421|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    421|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  111|    421|#endif
  112|    421|        }
  113|    421|        if (v == NULL) {
  ------------------
  |  Branch (113:13): [True: 0, False: 421]
  ------------------
  114|      0|            v = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  115|      0|        }
  116|    421|        break;
  117|     18|    case Py_T_OBJECT_EX:
  ------------------
  |  |   75|     18|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (117:5): [True: 18, False: 2.46k]
  ------------------
  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: 2.48k]
  ------------------
  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: 2.48k]
  ------------------
  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: 2.48k]
  ------------------
  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: 2.48k]
  ------------------
  143|      0|        PyErr_SetString(PyExc_SystemError, "bad memberdescr type");
  144|      0|        v = NULL;
  145|  2.48k|    }
  146|  2.48k|    return v;
  147|  2.48k|}
PyMember_SetOne:
  157|  3.28k|{
  158|  3.28k|    PyObject *oldv;
  159|  3.28k|    if (l->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|  3.28k|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (159:9): [True: 0, False: 3.28k]
  ------------------
  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|  3.28k|    PyObject *obj = (PyObject *)addr;
  167|  3.28k|    addr = _PyMember_GetOffset(obj, l);
  168|       |
  169|  3.28k|    if ((l->flags & Py_READONLY))
  ------------------
  |  |   83|  3.28k|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (169:9): [True: 0, False: 3.28k]
  ------------------
  170|      0|    {
  171|      0|        PyErr_SetString(PyExc_AttributeError, "readonly attribute");
  172|      0|        return -1;
  173|      0|    }
  174|  3.28k|    if (v == NULL && l->type != Py_T_OBJECT_EX && l->type != _Py_T_OBJECT) {
  ------------------
  |  |   75|  3.28k|#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: 3.28k]
  |  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|  3.28k|    switch (l->type) {
  180|      0|    case Py_T_BOOL:{
  ------------------
  |  |   73|      0|#define Py_T_BOOL      14
  ------------------
  |  Branch (180:5): [True: 0, False: 3.28k]
  ------------------
  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: 3.28k]
  ------------------
  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: 3.28k]
  ------------------
  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: 3.28k]
  ------------------
  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: 3.28k]
  ------------------
  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: 3.28k]
  ------------------
  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: 3.28k]
  ------------------
  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: 3.28k]
  ------------------
  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: 3.28k]
  ------------------
  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: 3.28k]
  ------------------
  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: 3.28k]
  ------------------
  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: 3.28k]
  ------------------
  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|  3.26k|    case _Py_T_OBJECT:
  ------------------
  |  |   59|  3.26k|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (322:5): [True: 3.26k, False: 24]
  ------------------
  323|  3.28k|    case Py_T_OBJECT_EX:
  ------------------
  |  |   75|  3.28k|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (323:5): [True: 24, False: 3.26k]
  ------------------
  324|  3.28k|        Py_BEGIN_CRITICAL_SECTION(obj);
  ------------------
  |  |   51|  3.28k|    {
  ------------------
  325|  3.28k|        oldv = *(PyObject **)addr;
  326|  3.28k|        FT_ATOMIC_STORE_PTR_RELEASE(*(PyObject **)addr, Py_XNewRef(v));
  ------------------
  |  |  166|  3.28k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  327|  3.28k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.28k|    }
  ------------------
  328|  3.28k|        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: 3.28k]
  |  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|  3.28k|        Py_XDECREF(oldv);
  ------------------
  |  |  621|  3.28k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  338|  3.28k|        break;
  339|      0|    case Py_T_CHAR: {
  ------------------
  |  |   61|      0|#define Py_T_CHAR      7   /* 1-character string */
  ------------------
  |  Branch (339:5): [True: 0, False: 3.28k]
  ------------------
  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: 3.28k]
  ------------------
  352|      0|    case Py_T_STRING_INPLACE:
  ------------------
  |  |   70|      0|#define Py_T_STRING_INPLACE    13
  ------------------
  |  Branch (352:5): [True: 0, False: 3.28k]
  ------------------
  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: 3.28k]
  ------------------
  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: 3.28k]
  ------------------
  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: 3.28k]
  ------------------
  387|      0|        PyErr_Format(PyExc_SystemError,
  388|      0|                     "bad memberdescr type for %s", l->name);
  389|      0|        return -1;
  390|  3.28k|    }
  391|  3.28k|    return 0;
  392|  3.28k|}
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|}

_Py_CalculateSuggestions:
  130|    100|{
  131|    100|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (131:5): [True: 100, False: 0]
  ------------------
  132|    100|    assert(PyList_CheckExact(dir));
  ------------------
  |  Branch (132:5): [True: 100, False: 0]
  ------------------
  133|       |
  134|    100|    Py_ssize_t dir_size = PyList_GET_SIZE(dir);
  ------------------
  |  |   38|    100|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  135|    100|    if (dir_size >= MAX_CANDIDATE_ITEMS) {
  ------------------
  |  |    8|    100|#define MAX_CANDIDATE_ITEMS 750
  ------------------
  |  Branch (135:9): [True: 0, False: 100]
  ------------------
  136|      0|        return NULL;
  137|      0|    }
  138|       |
  139|    100|    Py_ssize_t suggestion_distance = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|    100|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  140|    100|    PyObject *suggestion = NULL;
  141|    100|    Py_ssize_t name_size;
  142|    100|    const char *name_str = PyUnicode_AsUTF8AndSize(name, &name_size);
  143|    100|    if (name_str == NULL) {
  ------------------
  |  Branch (143:9): [True: 0, False: 100]
  ------------------
  144|      0|        return NULL;
  145|      0|    }
  146|    100|    size_t *buffer = PyMem_New(size_t, MAX_STRING_SIZE);
  ------------------
  |  |   64|    100|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    100|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [Folded, False: 100]
  |  |  ------------------
  |  |   65|    100|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  147|    100|    if (buffer == NULL) {
  ------------------
  |  Branch (147:9): [True: 0, False: 100]
  ------------------
  148|      0|        return PyErr_NoMemory();
  149|      0|    }
  150|  1.10k|    for (Py_ssize_t i = 0; i < dir_size; ++i) {
  ------------------
  |  Branch (150:28): [True: 1.00k, False: 100]
  ------------------
  151|  1.00k|        PyObject *item = PyList_GET_ITEM(dir, i);
  ------------------
  |  |   40|  1.00k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  1.00k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (151:26): [True: 1.00k, False: 0]
  ------------------
  152|  1.00k|        if (_PyUnicode_Equal(name, item)) {
  ------------------
  |  Branch (152:13): [True: 0, False: 1.00k]
  ------------------
  153|      0|            continue;
  154|      0|        }
  155|  1.00k|        Py_ssize_t item_size;
  156|  1.00k|        const char *item_str = PyUnicode_AsUTF8AndSize(item, &item_size);
  157|  1.00k|        if (item_str == NULL) {
  ------------------
  |  Branch (157:13): [True: 0, False: 1.00k]
  ------------------
  158|      0|            PyMem_Free(buffer);
  159|      0|            return NULL;
  160|      0|        }
  161|       |        // No more than 1/3 of the involved characters should need changed.
  162|  1.00k|        Py_ssize_t max_distance = (name_size + item_size + 3) * MOVE_COST / 6;
  ------------------
  |  |   11|  1.00k|#define MOVE_COST 2
  ------------------
  163|       |        // Don't take matches we've already beaten.
  164|  1.00k|        max_distance = Py_MIN(max_distance, suggestion_distance - 1);
  ------------------
  |  |  127|  1.00k|       __extension__ \
  |  |  128|  1.00k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  1.00k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  1.00k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  1.00k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|  1.00k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 955, False: 45]
  |  |  ------------------
  ------------------
  165|  1.00k|        Py_ssize_t current_distance =
  166|  1.00k|            levenshtein_distance(name_str, name_size, item_str,
  167|  1.00k|                                 item_size, max_distance, buffer);
  168|  1.00k|        if (current_distance > max_distance) {
  ------------------
  |  Branch (168:13): [True: 968, False: 32]
  ------------------
  169|    968|            continue;
  170|    968|        }
  171|     32|        if (!suggestion || current_distance < suggestion_distance) {
  ------------------
  |  Branch (171:13): [True: 31, False: 1]
  |  Branch (171:28): [True: 1, False: 0]
  ------------------
  172|     32|            suggestion = item;
  173|     32|            suggestion_distance = current_distance;
  174|     32|        }
  175|     32|    }
  176|    100|    PyMem_Free(buffer);
  177|    100|    return Py_XNewRef(suggestion);
  ------------------
  |  |  648|    100|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|    100|}
suggestions.c:levenshtein_distance:
   43|  1.00k|{
   44|       |    // Both strings are the same (by identity)
   45|  1.00k|    if (a == b) {
  ------------------
  |  Branch (45:9): [True: 0, False: 1.00k]
  ------------------
   46|      0|        return 0;
   47|      0|    }
   48|       |
   49|       |    // Trim away common affixes.
   50|  1.56k|    while (a_size && b_size && a[0] == b[0]) {
  ------------------
  |  Branch (50:12): [True: 1.54k, False: 19]
  |  Branch (50:22): [True: 1.54k, False: 4]
  |  Branch (50:32): [True: 568, False: 977]
  ------------------
   51|    568|        a++; a_size--;
   52|    568|        b++; b_size--;
   53|    568|    }
   54|  1.25k|    while (a_size && b_size && a[a_size-1] == b[b_size-1]) {
  ------------------
  |  Branch (54:12): [True: 1.23k, False: 25]
  |  Branch (54:22): [True: 1.21k, False: 18]
  |  Branch (54:32): [True: 255, False: 957]
  ------------------
   55|    255|        a_size--;
   56|    255|        b_size--;
   57|    255|    }
   58|  1.00k|    if (a_size == 0 || b_size == 0) {
  ------------------
  |  Branch (58:9): [True: 25, False: 975]
  |  Branch (58:24): [True: 18, False: 957]
  ------------------
   59|     43|        return (a_size + b_size) * MOVE_COST;
  ------------------
  |  |   11|     43|#define MOVE_COST 2
  ------------------
   60|     43|    }
   61|    957|    if (a_size > MAX_STRING_SIZE || b_size > MAX_STRING_SIZE) {
  ------------------
  |  |    9|  1.91k|#define MAX_STRING_SIZE 40
  ------------------
                  if (a_size > MAX_STRING_SIZE || b_size > MAX_STRING_SIZE) {
  ------------------
  |  |    9|    884|#define MAX_STRING_SIZE 40
  ------------------
  |  Branch (61:9): [True: 73, False: 884]
  |  Branch (61:37): [True: 0, False: 884]
  ------------------
   62|     73|        return max_cost + 1;
   63|     73|    }
   64|       |
   65|       |    // Prefer shorter buffer
   66|    884|    if (b_size < a_size) {
  ------------------
  |  Branch (66:9): [True: 260, False: 624]
  ------------------
   67|    260|        const char *t = a; a = b; b = t;
   68|    260|        size_t t_size = a_size; a_size = b_size; b_size = t_size;
   69|    260|    }
   70|       |
   71|       |    // quick fail when a match is impossible.
   72|    884|    if ((b_size - a_size) * MOVE_COST > max_cost) {
  ------------------
  |  |   11|    884|#define MOVE_COST 2
  ------------------
  |  Branch (72:9): [True: 395, False: 489]
  ------------------
   73|    395|        return max_cost + 1;
   74|    395|    }
   75|       |
   76|       |    // Instead of producing the whole traditional len(a)-by-len(b)
   77|       |    // matrix, we can update just one row in place.
   78|       |    // Initialize the buffer row
   79|    489|    size_t tmp = MOVE_COST;
  ------------------
  |  |   11|    489|#define MOVE_COST 2
  ------------------
   80|  5.60k|    for (size_t i = 0; i < a_size; i++) {
  ------------------
  |  Branch (80:24): [True: 5.11k, False: 489]
  ------------------
   81|       |        // cost from b[:0] to a[:i+1]
   82|  5.11k|        buffer[i] = tmp;
   83|  5.11k|        tmp += MOVE_COST;
  ------------------
  |  |   11|  5.11k|#define MOVE_COST 2
  ------------------
   84|  5.11k|    }
   85|       |
   86|    489|    size_t result = 0;
   87|  2.90k|    for (size_t b_index = 0; b_index < b_size; b_index++) {
  ------------------
  |  Branch (87:30): [True: 2.88k, False: 20]
  ------------------
   88|  2.88k|        char code = b[b_index];
   89|       |        // cost(b[:b_index], a[:0]) == b_index * MOVE_COST
   90|  2.88k|        size_t distance = result = b_index * MOVE_COST;
  ------------------
  |  |   11|  2.88k|#define MOVE_COST 2
  ------------------
   91|  2.88k|        size_t minimum = SIZE_MAX;
   92|  34.1k|        for (size_t index = 0; index < a_size; index++) {
  ------------------
  |  Branch (92:32): [True: 31.2k, False: 2.88k]
  ------------------
   93|       |
   94|       |            // cost(b[:b_index+1], a[:index+1]) = min(
   95|       |            //     // 1) substitute
   96|       |            //     cost(b[:b_index], a[:index])
   97|       |            //         + substitution_cost(b[b_index], a[index]),
   98|       |            //     // 2) delete from b
   99|       |            //     cost(b[:b_index], a[:index+1]) + MOVE_COST,
  100|       |            //     // 3) delete from a
  101|       |            //     cost(b[:b_index+1], a[index]) + MOVE_COST
  102|       |            // )
  103|       |
  104|       |            // 1) Previous distance in this row is cost(b[:b_index], a[:index])
  105|  31.2k|            size_t substitute = distance + substitution_cost(code, a[index]);
  106|       |            // 2) cost(b[:b_index], a[:index+1]) from previous row
  107|  31.2k|            distance = buffer[index];
  108|       |            // 3) existing result is cost(b[:b_index+1], a[index])
  109|       |
  110|  31.2k|            size_t insert_delete = Py_MIN(result, distance) + MOVE_COST;
  ------------------
  |  |  127|  31.2k|       __extension__ \
  |  |  128|  31.2k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  31.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  31.2k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  31.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|  31.2k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 20.0k, False: 11.2k]
  |  |  ------------------
  ------------------
                          size_t insert_delete = Py_MIN(result, distance) + MOVE_COST;
  ------------------
  |  |   11|  31.2k|#define MOVE_COST 2
  ------------------
  111|  31.2k|            result = Py_MIN(insert_delete, substitute);
  ------------------
  |  |  127|  31.2k|       __extension__ \
  |  |  128|  31.2k|       ({ _Py_TYPEOF (x) _PyMIN_x = (x); \
  |  |  ------------------
  |  |  |  |  549|  31.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  129|  31.2k|          _Py_TYPEOF (y) _PyMIN_y = (y); \
  |  |  ------------------
  |  |  |  |  549|  31.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  130|  31.2k|          _PyMIN_x < _PyMIN_y ? _PyMIN_x : _PyMIN_y; })
  |  |  ------------------
  |  |  |  Branch (130:11): [True: 5.19k, False: 26.0k]
  |  |  ------------------
  ------------------
  112|       |
  113|       |            // cost(b[:b_index+1], a[:index+1])
  114|  31.2k|            buffer[index] = result;
  115|  31.2k|            if (result < minimum) {
  ------------------
  |  Branch (115:17): [True: 4.46k, False: 26.7k]
  ------------------
  116|  4.46k|                minimum = result;
  117|  4.46k|            }
  118|  31.2k|        }
  119|  2.88k|        if (minimum > max_cost) {
  ------------------
  |  Branch (119:13): [True: 469, False: 2.41k]
  ------------------
  120|       |            // Everything in this row is too big, so bail early.
  121|    469|            return max_cost + 1;
  122|    469|        }
  123|  2.88k|    }
  124|     20|    return result;
  125|    489|}
suggestions.c:substitution_cost:
   18|  31.2k|{
   19|  31.2k|    if (LEAST_FIVE_BITS(a) != LEAST_FIVE_BITS(b)) {
  ------------------
  |  |   14|  31.2k|#define LEAST_FIVE_BITS(n) ((n) & 31)
  ------------------
                  if (LEAST_FIVE_BITS(a) != LEAST_FIVE_BITS(b)) {
  ------------------
  |  |   14|  31.2k|#define LEAST_FIVE_BITS(n) ((n) & 31)
  ------------------
  |  Branch (19:9): [True: 29.0k, False: 2.23k]
  ------------------
   20|       |        // Not the same, not a case flip.
   21|  29.0k|        return MOVE_COST;
  ------------------
  |  |   11|  29.0k|#define MOVE_COST 2
  ------------------
   22|  29.0k|    }
   23|  2.23k|    if (a == b) {
  ------------------
  |  Branch (23:9): [True: 1.75k, False: 480]
  ------------------
   24|  1.75k|        return 0;
   25|  1.75k|    }
   26|    480|    if ('A' <= a && a <= 'Z') {
  ------------------
  |  Branch (26:9): [True: 369, False: 111]
  |  Branch (26:21): [True: 92, False: 277]
  ------------------
   27|     92|        a += ('a' - 'A');
   28|     92|    }
   29|    480|    if ('A' <= b && b <= 'Z') {
  ------------------
  |  Branch (29:9): [True: 294, False: 186]
  |  Branch (29:21): [True: 93, False: 201]
  ------------------
   30|     93|        b += ('a' - 'A');
   31|     93|    }
   32|    480|    if (a == b) {
  ------------------
  |  Branch (32:9): [True: 183, False: 297]
  ------------------
   33|    183|        return CASE_COST;
  ------------------
  |  |   12|    183|#define CASE_COST 1
  ------------------
   34|    183|    }
   35|    297|    return MOVE_COST;
  ------------------
  |  |   11|    297|#define MOVE_COST 2
  ------------------
   36|    480|}

_PySymtable_Build:
  424|  12.6k|{
  425|  12.6k|    struct symtable *st = symtable_new();
  426|  12.6k|    asdl_stmt_seq *seq;
  427|  12.6k|    Py_ssize_t i;
  428|  12.6k|    PyThreadState *tstate;
  429|       |
  430|  12.6k|    if (st == NULL)
  ------------------
  |  Branch (430:9): [True: 0, False: 12.6k]
  ------------------
  431|      0|        return NULL;
  432|  12.6k|    if (filename == NULL) {
  ------------------
  |  Branch (432:9): [True: 0, False: 12.6k]
  ------------------
  433|      0|        _PySymtable_Free(st);
  434|      0|        return NULL;
  435|      0|    }
  436|  12.6k|    st->st_filename = Py_NewRef(filename);
  ------------------
  |  |  647|  12.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  437|  12.6k|    st->st_future = future;
  438|       |
  439|       |    /* Setup recursion depth check counters */
  440|  12.6k|    tstate = _PyThreadState_GET();
  441|  12.6k|    if (!tstate) {
  ------------------
  |  Branch (441:9): [True: 0, False: 12.6k]
  ------------------
  442|      0|        _PySymtable_Free(st);
  443|      0|        return NULL;
  444|      0|    }
  445|       |
  446|       |    /* Make the initial symbol information gathering pass */
  447|       |
  448|  12.6k|    _Py_SourceLocation loc0 = {0, 0, 0, 0};
  449|  12.6k|    if (!symtable_enter_block(st, &_Py_ID(top), ModuleBlock, (void *)mod, loc0)) {
  ------------------
  |  |  951|  12.6k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  12.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  12.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (449:9): [True: 0, False: 12.6k]
  ------------------
  450|      0|        _PySymtable_Free(st);
  451|      0|        return NULL;
  452|      0|    }
  453|       |
  454|  12.6k|    st->st_top = st->st_cur;
  455|  12.6k|    switch (mod->kind) {
  ------------------
  |  Branch (455:13): [True: 12.6k, False: 0]
  ------------------
  456|  8.47k|    case Module_kind:
  ------------------
  |  Branch (456:5): [True: 8.47k, False: 4.16k]
  ------------------
  457|  8.47k|        seq = mod->v.Module.body;
  458|  8.47k|        if (_PyAST_GetDocString(seq)) {
  ------------------
  |  Branch (458:13): [True: 178, False: 8.29k]
  ------------------
  459|    178|            st->st_cur->ste_has_docstring = 1;
  460|    178|        }
  461|  72.6k|        for (i = 0; i < asdl_seq_LEN(seq); i++)
  ------------------
  |  |   83|  72.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|   145k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 111, False: 72.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (461:21): [True: 64.3k, False: 8.29k]
  ------------------
  462|  64.3k|            if (!symtable_visit_stmt(st,
  ------------------
  |  Branch (462:17): [True: 174, False: 64.1k]
  ------------------
  463|  64.3k|                        (stmt_ty)asdl_seq_GET(seq, i)))
  ------------------
  |  |   82|  64.3k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  64.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  464|    174|                goto error;
  465|  8.29k|        break;
  466|  8.29k|    case Expression_kind:
  ------------------
  |  Branch (466:5): [True: 1.80k, False: 10.8k]
  ------------------
  467|  1.80k|        if (!symtable_visit_expr(st, mod->v.Expression.body))
  ------------------
  |  Branch (467:13): [True: 22, False: 1.78k]
  ------------------
  468|     22|            goto error;
  469|  1.78k|        break;
  470|  2.36k|    case Interactive_kind:
  ------------------
  |  Branch (470:5): [True: 2.36k, False: 10.2k]
  ------------------
  471|  2.36k|        seq = mod->v.Interactive.body;
  472|  5.94k|        for (i = 0; i < asdl_seq_LEN(seq); i++)
  ------------------
  |  |   83|  5.94k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  11.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 5.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (472:21): [True: 3.64k, False: 2.30k]
  ------------------
  473|  3.64k|            if (!symtable_visit_stmt(st,
  ------------------
  |  Branch (473:17): [True: 57, False: 3.58k]
  ------------------
  474|  3.64k|                        (stmt_ty)asdl_seq_GET(seq, i)))
  ------------------
  |  |   82|  3.64k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  3.64k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  475|     57|                goto error;
  476|  2.30k|        break;
  477|  2.30k|    case FunctionType_kind:
  ------------------
  |  Branch (477:5): [True: 0, False: 12.6k]
  ------------------
  478|      0|        PyErr_SetString(PyExc_RuntimeError,
  479|      0|                        "this compiler does not handle FunctionTypes");
  480|      0|        goto error;
  481|  12.6k|    }
  482|  12.3k|    if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (482:9): [True: 0, False: 12.3k]
  ------------------
  483|      0|        _PySymtable_Free(st);
  484|      0|        return NULL;
  485|      0|    }
  486|       |    /* Make the second symbol analysis pass */
  487|  12.3k|    if (symtable_analyze(st)) {
  ------------------
  |  Branch (487:9): [True: 12.3k, False: 25]
  ------------------
  488|       |#if _PY_DUMP_SYMTABLE
  489|       |        dump_symtable(st->st_top);
  490|       |#endif
  491|  12.3k|        return st;
  492|  12.3k|    }
  493|     25|    _PySymtable_Free(st);
  494|     25|    return NULL;
  495|    253| error:
  496|    253|    (void) symtable_exit_block(st);
  497|    253|    _PySymtable_Free(st);
  498|       |    return NULL;
  499|  12.3k|}
_PySymtable_Free:
  504|  12.6k|{
  505|  12.6k|    Py_XDECREF(st->st_filename);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  506|  12.6k|    Py_XDECREF(st->st_blocks);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  507|  12.6k|    Py_XDECREF(st->st_stack);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  508|  12.6k|    PyMem_Free((void *)st);
  509|  12.6k|}
_PySymtable_Lookup:
  513|  80.0k|{
  514|  80.0k|    PyObject *k, *v;
  515|       |
  516|  80.0k|    k = PyLong_FromVoidPtr(key);
  517|  80.0k|    if (k == NULL)
  ------------------
  |  Branch (517:9): [True: 0, False: 80.0k]
  ------------------
  518|      0|        return NULL;
  519|  80.0k|    if (PyDict_GetItemRef(st->st_blocks, k, &v) == 0) {
  ------------------
  |  Branch (519:9): [True: 0, False: 80.0k]
  ------------------
  520|      0|        PyErr_SetString(PyExc_KeyError,
  521|      0|                        "unknown symbol table entry");
  522|      0|    }
  523|  80.0k|    Py_DECREF(k);
  ------------------
  |  |  430|  80.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|       |
  525|  80.0k|    assert(v == NULL || PySTEntry_Check(v));
  ------------------
  |  Branch (525:5): [True: 0, False: 80.0k]
  |  Branch (525:5): [True: 80.0k, False: 0]
  ------------------
  526|  80.0k|    return (PySTEntryObject *)v;
  527|  80.0k|}
_PySymtable_LookupOptional:
  532|  6.91k|{
  533|  6.91k|    PyObject *k = PyLong_FromVoidPtr(key);
  534|  6.91k|    if (k == NULL) {
  ------------------
  |  Branch (534:9): [True: 0, False: 6.91k]
  ------------------
  535|      0|        *out = NULL;
  536|      0|        return -1;
  537|      0|    }
  538|  6.91k|    int result = PyDict_GetItemRef(st->st_blocks, k, (PyObject **)out);
  539|  6.91k|    Py_DECREF(k);
  ------------------
  |  |  430|  6.91k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  540|  6.91k|    assert(*out == NULL || PySTEntry_Check(*out));
  ------------------
  |  Branch (540:5): [True: 0, False: 6.91k]
  |  Branch (540:5): [True: 6.91k, False: 0]
  ------------------
  541|  6.91k|    return result;
  542|  6.91k|}
_PyST_GetSymbol:
  546|   661k|{
  547|   661k|    PyObject *v;
  548|   661k|    if (PyDict_GetItemRef(ste->ste_symbols, name, &v) < 0) {
  ------------------
  |  Branch (548:9): [True: 0, False: 661k]
  ------------------
  549|      0|        return -1;
  550|      0|    }
  551|   661k|    if (v == NULL) {
  ------------------
  |  Branch (551:9): [True: 113k, False: 548k]
  ------------------
  552|   113k|        return 0;
  553|   113k|    }
  554|   548k|    long symbol = PyLong_AsLong(v);
  555|   548k|    Py_DECREF(v);
  ------------------
  |  |  430|   548k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   548k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   548k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  556|   548k|    if (symbol < 0) {
  ------------------
  |  Branch (556:9): [True: 0, False: 548k]
  ------------------
  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|   548k|    return symbol;
  563|   548k|}
_PyST_GetScope:
  567|   622k|{
  568|   622k|    long symbol = _PyST_GetSymbol(ste, name);
  569|   622k|    if (symbol < 0) {
  ------------------
  |  Branch (569:9): [True: 0, False: 622k]
  ------------------
  570|      0|        return -1;
  571|      0|    }
  572|   622k|    return SYMBOL_TO_SCOPE(symbol);
  ------------------
  |  |  189|   622k|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  187|   622k|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  188|   622k|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|   622k|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   622k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  172|   622k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  173|   622k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|   622k|}
_PyST_IsFunctionLike:
  577|  1.03M|{
  578|  1.03M|    return ste->ste_type == FunctionBlock
  ------------------
  |  Branch (578:12): [True: 321k, False: 711k]
  ------------------
  579|   711k|        || ste->ste_type == AnnotationBlock
  ------------------
  |  Branch (579:12): [True: 103k, False: 607k]
  ------------------
  580|   607k|        || ste->ste_type == TypeVariableBlock
  ------------------
  |  Branch (580:12): [True: 32.3k, False: 575k]
  ------------------
  581|   575k|        || ste->ste_type == TypeAliasBlock
  ------------------
  |  Branch (581:12): [True: 11.9k, False: 563k]
  ------------------
  582|   563k|        || ste->ste_type == TypeParametersBlock;
  ------------------
  |  Branch (582:12): [True: 62.7k, False: 500k]
  ------------------
  583|  1.03M|}
_PyST_IsClassClosureName:
  587|  7.39k|{
  588|  7.39k|    return _PyUnicode_EqualToASCIIString(name, "__class__")
  ------------------
  |  Branch (588:12): [True: 149, False: 7.24k]
  ------------------
  589|  7.24k|        || _PyUnicode_EqualToASCIIString(name, "__classdict__")
  ------------------
  |  Branch (589:12): [True: 6.59k, False: 648]
  ------------------
  590|    648|        || _PyUnicode_EqualToASCIIString(name, "__conditional_annotations__");
  ------------------
  |  Branch (590:12): [True: 370, False: 278]
  ------------------
  591|  7.39k|}
_Py_MaybeMangle:
 3294|  1.33M|{
 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|  1.33M|    if (ste->ste_mangled_names != NULL) {
  ------------------
  |  Branch (3300:9): [True: 79.7k, False: 1.25M]
  ------------------
 3301|  79.7k|        int result = PySet_Contains(ste->ste_mangled_names, name);
 3302|  79.7k|        if (result < 0) {
  ------------------
  |  Branch (3302:13): [True: 0, False: 79.7k]
  ------------------
 3303|      0|            return NULL;
 3304|      0|        }
 3305|  79.7k|        if (result == 0) {
  ------------------
  |  Branch (3305:13): [True: 53.9k, False: 25.8k]
  ------------------
 3306|  53.9k|            return Py_NewRef(name);
  ------------------
  |  |  647|  53.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  53.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3307|  53.9k|        }
 3308|  79.7k|    }
 3309|  1.28M|    return _Py_Mangle(privateobj, name);
 3310|  1.33M|}
_Py_Mangle:
 3335|  1.30M|{
 3336|       |    /* Name mangling: __private becomes _classname__private.
 3337|       |       This is independent from how the name is used. */
 3338|  1.30M|    if (privateobj == NULL || !PyUnicode_Check(privateobj) ||
  ------------------
  |  |  103|   292k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.59M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3338:9): [True: 1.00M, False: 292k]
  |  Branch (3338:31): [True: 0, False: 292k]
  ------------------
 3339|   292k|        PyUnicode_READ_CHAR(ident, 0) != '_' ||
  ------------------
  |  |  382|   292k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|   292k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   292k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3339:9): [True: 137k, False: 155k]
  ------------------
 3340|  1.15M|        PyUnicode_READ_CHAR(ident, 1) != '_') {
  ------------------
  |  |  382|   155k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|   155k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   155k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3340:9): [True: 10.1k, False: 144k]
  ------------------
 3341|  1.15M|        return Py_NewRef(ident);
  ------------------
  |  |  647|  1.15M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.15M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3342|  1.15M|    }
 3343|   144k|    size_t nlen = PyUnicode_GET_LENGTH(ident);
  ------------------
  |  |  300|   144k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   144k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   144k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3344|   144k|    size_t plen = PyUnicode_GET_LENGTH(privateobj);
  ------------------
  |  |  300|   144k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   144k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   144k|#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|   144k|    if ((PyUnicode_READ_CHAR(ident, nlen-1) == '_' &&
  ------------------
  |  |  382|   144k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|   144k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   144k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3354:10): [True: 112k, False: 31.9k]
  ------------------
 3355|   112k|         PyUnicode_READ_CHAR(ident, nlen-2) == '_') ||
  ------------------
  |  |  382|   112k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|   112k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   112k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3355:10): [True: 111k, False: 1.30k]
  ------------------
 3356|   111k|        PyUnicode_FindChar(ident, '.', 0, nlen, 1) != -1) {
  ------------------
  |  Branch (3356:9): [True: 255, False: 32.9k]
  ------------------
 3357|   111k|        return Py_NewRef(ident); /* Don't mangle __whatever__ */
  ------------------
  |  |  647|   111k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   111k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   111k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3358|   111k|    }
 3359|       |    /* Strip leading underscores from class name */
 3360|  32.9k|    size_t ipriv = 0;
 3361|  65.7k|    while (PyUnicode_READ_CHAR(privateobj, ipriv) == '_') {
  ------------------
  |  |  382|  65.7k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  65.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3361:12): [True: 32.8k, False: 32.9k]
  ------------------
 3362|  32.8k|        ipriv++;
 3363|  32.8k|    }
 3364|  32.9k|    if (ipriv == plen) {
  ------------------
  |  Branch (3364:9): [True: 236, False: 32.7k]
  ------------------
 3365|    236|        return Py_NewRef(ident); /* Don't mangle if class is just underscores */
  ------------------
  |  |  647|    236|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    236|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    236|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3366|    236|    }
 3367|       |
 3368|  32.7k|    if (nlen + (plen - ipriv) >= PY_SSIZE_T_MAX - 1) {
  ------------------
  |  |  137|  32.7k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (3368:9): [True: 0, False: 32.7k]
  ------------------
 3369|      0|        PyErr_SetString(PyExc_OverflowError,
 3370|      0|                        "private identifier too large to be mangled");
 3371|      0|        return NULL;
 3372|      0|    }
 3373|       |
 3374|  32.7k|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(1 + nlen + (plen - ipriv));
 3375|  32.7k|    if (!writer) {
  ------------------
  |  Branch (3375:9): [True: 0, False: 32.7k]
  ------------------
 3376|      0|        return NULL;
 3377|      0|    }
 3378|       |    // ident = "_" + priv[ipriv:] + ident
 3379|  32.7k|    if (PyUnicodeWriter_WriteChar(writer, '_') < 0) {
  ------------------
  |  Branch (3379:9): [True: 0, False: 32.7k]
  ------------------
 3380|      0|        goto error;
 3381|      0|    }
 3382|  32.7k|    if (PyUnicodeWriter_WriteSubstring(writer, privateobj, ipriv, plen) < 0) {
  ------------------
  |  Branch (3382:9): [True: 0, False: 32.7k]
  ------------------
 3383|      0|        goto error;
 3384|      0|    }
 3385|  32.7k|    if (PyUnicodeWriter_WriteStr(writer, ident) < 0) {
  ------------------
  |  Branch (3385:9): [True: 0, False: 32.7k]
  ------------------
 3386|      0|        goto error;
 3387|      0|    }
 3388|  32.7k|    return PyUnicodeWriter_Finish(writer);
 3389|       |
 3390|      0|error:
 3391|      0|    PyUnicodeWriter_Discard(writer);
 3392|       |    return NULL;
 3393|  32.7k|}
symtable.c:ste_dealloc:
  193|  80.4k|{
  194|  80.4k|    PySTEntryObject *ste = (PySTEntryObject *)op;
  195|  80.4k|    ste->ste_table = NULL;
  196|  80.4k|    Py_XDECREF(ste->ste_id);
  ------------------
  |  |  621|  80.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|  80.4k|    Py_XDECREF(ste->ste_name);
  ------------------
  |  |  621|  80.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  198|  80.4k|    Py_XDECREF(ste->ste_function_name);
  ------------------
  |  |  621|  80.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|  80.4k|    Py_XDECREF(ste->ste_symbols);
  ------------------
  |  |  621|  80.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|  80.4k|    Py_XDECREF(ste->ste_varnames);
  ------------------
  |  |  621|  80.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|  80.4k|    Py_XDECREF(ste->ste_children);
  ------------------
  |  |  621|  80.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  202|  80.4k|    Py_XDECREF(ste->ste_directives);
  ------------------
  |  |  621|  80.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  203|  80.4k|    Py_XDECREF(ste->ste_annotation_block);
  ------------------
  |  |  621|  80.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  204|  80.4k|    Py_XDECREF(ste->ste_mangled_names);
  ------------------
  |  |  621|  80.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  205|  80.4k|    PyObject_Free(ste);
  206|  80.4k|}
symtable.c:symtable_new:
  398|  12.6k|{
  399|  12.6k|    struct symtable *st;
  400|       |
  401|  12.6k|    st = (struct symtable *)PyMem_Malloc(sizeof(struct symtable));
  402|  12.6k|    if (st == NULL) {
  ------------------
  |  Branch (402:9): [True: 0, False: 12.6k]
  ------------------
  403|      0|        PyErr_NoMemory();
  404|      0|        return NULL;
  405|      0|    }
  406|       |
  407|  12.6k|    st->st_filename = NULL;
  408|  12.6k|    st->st_blocks = NULL;
  409|       |
  410|  12.6k|    if ((st->st_stack = PyList_New(0)) == NULL)
  ------------------
  |  Branch (410:9): [True: 0, False: 12.6k]
  ------------------
  411|      0|        goto fail;
  412|  12.6k|    if ((st->st_blocks = PyDict_New()) == NULL)
  ------------------
  |  Branch (412:9): [True: 0, False: 12.6k]
  ------------------
  413|      0|        goto fail;
  414|  12.6k|    st->st_cur = NULL;
  415|  12.6k|    st->st_private = NULL;
  416|  12.6k|    return st;
  417|      0| fail:
  418|      0|    _PySymtable_Free(st);
  419|       |    return NULL;
  420|  12.6k|}
symtable.c:symtable_analyze:
 1411|  12.3k|{
 1412|  12.3k|    PyObject *free, *global, *type_params;
 1413|  12.3k|    int r;
 1414|       |
 1415|  12.3k|    free = PySet_New(NULL);
 1416|  12.3k|    if (!free)
  ------------------
  |  Branch (1416:9): [True: 0, False: 12.3k]
  ------------------
 1417|      0|        return 0;
 1418|  12.3k|    global = PySet_New(NULL);
 1419|  12.3k|    if (!global) {
  ------------------
  |  Branch (1419:9): [True: 0, False: 12.3k]
  ------------------
 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|  12.3k|    type_params = PySet_New(NULL);
 1424|  12.3k|    if (!type_params) {
  ------------------
  |  Branch (1424:9): [True: 0, False: 12.3k]
  ------------------
 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|  12.3k|    r = analyze_block(st->st_top, NULL, free, global, type_params, NULL);
 1430|  12.3k|    Py_DECREF(free);
  ------------------
  |  |  430|  12.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1431|  12.3k|    Py_DECREF(global);
  ------------------
  |  |  430|  12.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1432|  12.3k|    Py_DECREF(type_params);
  ------------------
  |  |  430|  12.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1433|  12.3k|    return r;
 1434|  12.3k|}
symtable.c:analyze_block:
 1168|  75.2k|{
 1169|  75.2k|    PyObject *name, *v, *local = NULL, *scopes = NULL, *newbound = NULL;
 1170|  75.2k|    PyObject *newglobal = NULL, *newfree = NULL, *inlined_cells = NULL;
 1171|  75.2k|    PyObject *temp;
 1172|  75.2k|    int success = 0;
 1173|  75.2k|    Py_ssize_t i, pos = 0;
 1174|       |
 1175|  75.2k|    local = PySet_New(NULL);  /* collect new names bound in block */
 1176|  75.2k|    if (!local)
  ------------------
  |  Branch (1176:9): [True: 0, False: 75.2k]
  ------------------
 1177|      0|        goto error;
 1178|  75.2k|    scopes = PyDict_New();  /* collect scopes defined for each name */
 1179|  75.2k|    if (!scopes)
  ------------------
  |  Branch (1179:9): [True: 0, False: 75.2k]
  ------------------
 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|  75.2k|    newglobal = PySet_New(NULL);
 1194|  75.2k|    if (!newglobal)
  ------------------
  |  Branch (1194:9): [True: 0, False: 75.2k]
  ------------------
 1195|      0|        goto error;
 1196|  75.2k|    newfree = PySet_New(NULL);
 1197|  75.2k|    if (!newfree)
  ------------------
  |  Branch (1197:9): [True: 0, False: 75.2k]
  ------------------
 1198|      0|        goto error;
 1199|  75.2k|    newbound = PySet_New(NULL);
 1200|  75.2k|    if (!newbound)
  ------------------
  |  Branch (1200:9): [True: 0, False: 75.2k]
  ------------------
 1201|      0|        goto error;
 1202|  75.2k|    inlined_cells = PySet_New(NULL);
 1203|  75.2k|    if (!inlined_cells)
  ------------------
  |  Branch (1203:9): [True: 0, False: 75.2k]
  ------------------
 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|  75.2k|    if (ste->ste_type == ClassBlock) {
  ------------------
  |  Branch (1210:9): [True: 12.6k, False: 62.5k]
  ------------------
 1211|       |        /* Pass down known globals */
 1212|  12.6k|        temp = PyNumber_InPlaceOr(newglobal, global);
 1213|  12.6k|        if (!temp)
  ------------------
  |  Branch (1213:13): [True: 0, False: 12.6k]
  ------------------
 1214|      0|            goto error;
 1215|  12.6k|        Py_DECREF(temp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1216|       |        /* Pass down previously bound symbols */
 1217|  12.6k|        if (bound) {
  ------------------
  |  Branch (1217:13): [True: 12.6k, False: 0]
  ------------------
 1218|  12.6k|            temp = PyNumber_InPlaceOr(newbound, bound);
 1219|  12.6k|            if (!temp)
  ------------------
  |  Branch (1219:17): [True: 0, False: 12.6k]
  ------------------
 1220|      0|                goto error;
 1221|  12.6k|            Py_DECREF(temp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1222|  12.6k|        }
 1223|  12.6k|    }
 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|   356k|    while (PyDict_Next(ste->ste_symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (1228:12): [True: 280k, False: 75.2k]
  ------------------
 1229|   280k|        long flags = PyLong_AsLong(v);
 1230|   280k|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1230:13): [True: 0, False: 280k]
  |  Branch (1230:28): [True: 0, False: 0]
  ------------------
 1231|      0|            goto error;
 1232|      0|        }
 1233|   280k|        if (!(flags & (DEF_GLOBAL | DEF_NONLOCAL | DEF_BOUND))) {
  ------------------
  |  |  170|   280k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                      if (!(flags & (DEF_GLOBAL | DEF_NONLOCAL | DEF_BOUND))) {
  ------------------
  |  |  173|   280k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
                      if (!(flags & (DEF_GLOBAL | DEF_NONLOCAL | DEF_BOUND))) {
  ------------------
  |  |  181|   280k|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|   280k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  172|   280k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  176|   280k|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  |  |  ------------------
  ------------------
  |  Branch (1233:13): [True: 120k, False: 160k]
  ------------------
 1234|   120k|            continue;
 1235|   120k|        }
 1236|   160k|        if (!analyze_name(ste, scopes, name, flags,
  ------------------
  |  Branch (1236:13): [True: 25, False: 160k]
  ------------------
 1237|   160k|                          bound, local, free, global, type_params, class_entry))
 1238|     25|            goto error;
 1239|   160k|    }
 1240|       |
 1241|       |    /* Populate global and bound sets to be passed to children. */
 1242|  75.2k|    if (ste->ste_type != ClassBlock) {
  ------------------
  |  Branch (1242:9): [True: 62.5k, False: 12.6k]
  ------------------
 1243|       |        /* Add function locals to bound set */
 1244|  62.5k|        if (ste_uses_fast_locals(ste)) {
  ------------------
  |  Branch (1244:13): [True: 50.2k, False: 12.3k]
  ------------------
 1245|  50.2k|            temp = PyNumber_InPlaceOr(newbound, local);
 1246|  50.2k|            if (!temp)
  ------------------
  |  Branch (1246:17): [True: 0, False: 50.2k]
  ------------------
 1247|      0|                goto error;
 1248|  50.2k|            Py_DECREF(temp);
  ------------------
  |  |  430|  50.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  50.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1249|  50.2k|        }
 1250|       |        /* Pass down previously bound symbols */
 1251|  62.5k|        if (bound) {
  ------------------
  |  Branch (1251:13): [True: 50.2k, False: 12.3k]
  ------------------
 1252|  50.2k|            temp = PyNumber_InPlaceOr(newbound, bound);
 1253|  50.2k|            if (!temp)
  ------------------
  |  Branch (1253:17): [True: 0, False: 50.2k]
  ------------------
 1254|      0|                goto error;
 1255|  50.2k|            Py_DECREF(temp);
  ------------------
  |  |  430|  50.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  50.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1256|  50.2k|        }
 1257|       |        /* Pass down known globals */
 1258|  62.5k|        temp = PyNumber_InPlaceOr(newglobal, global);
 1259|  62.5k|        if (!temp)
  ------------------
  |  Branch (1259:13): [True: 0, False: 62.5k]
  ------------------
 1260|      0|            goto error;
 1261|  62.5k|        Py_DECREF(temp);
  ------------------
  |  |  430|  62.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1262|  62.5k|    }
 1263|  12.6k|    else {
 1264|       |        /* Special-case __class__ and __classdict__ */
 1265|  12.6k|        if (PySet_Add(newbound, &_Py_ID(__class__)) < 0)
  ------------------
  |  |  951|  12.6k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  12.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  12.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1265:13): [True: 0, False: 12.6k]
  ------------------
 1266|      0|            goto error;
 1267|  12.6k|        if (PySet_Add(newbound, &_Py_ID(__classdict__)) < 0)
  ------------------
  |  |  951|  12.6k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  12.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  12.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1267:13): [True: 0, False: 12.6k]
  ------------------
 1268|      0|            goto error;
 1269|  12.6k|        if (PySet_Add(newbound, &_Py_ID(__conditional_annotations__)) < 0)
  ------------------
  |  |  951|  12.6k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  12.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  12.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1269:13): [True: 0, False: 12.6k]
  ------------------
 1270|      0|            goto error;
 1271|  12.6k|    }
 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|   138k|    for (i = 0; i < PyList_GET_SIZE(ste->ste_children); ++i) {
  ------------------
  |  |   38|   138k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   138k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   138k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1279:17): [True: 62.8k, False: 75.2k]
  ------------------
 1280|  62.8k|        PyObject *child_free = NULL;
 1281|  62.8k|        PyObject *c = PyList_GET_ITEM(ste->ste_children, i);
  ------------------
  |  |   40|  62.8k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  62.8k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1281:23): [True: 62.8k, False: 0]
  ------------------
 1282|      0|        PySTEntryObject* entry;
 1283|  62.8k|        assert(c && PySTEntry_Check(c));
  ------------------
  |  Branch (1283:9): [True: 62.8k, False: 0]
  |  Branch (1283:9): [True: 62.8k, False: 0]
  ------------------
 1284|  62.8k|        entry = (PySTEntryObject*)c;
 1285|       |
 1286|  62.8k|        PySTEntryObject *new_class_entry = NULL;
 1287|  62.8k|        if (entry->ste_can_see_class_scope) {
  ------------------
  |  Branch (1287:13): [True: 5.77k, False: 57.1k]
  ------------------
 1288|  5.77k|            if (ste->ste_type == ClassBlock) {
  ------------------
  |  Branch (1288:17): [True: 5.04k, False: 726]
  ------------------
 1289|  5.04k|                new_class_entry = ste;
 1290|  5.04k|            }
 1291|    726|            else if (class_entry) {
  ------------------
  |  Branch (1291:22): [True: 726, False: 0]
  ------------------
 1292|    726|                new_class_entry = class_entry;
 1293|    726|            }
 1294|  5.77k|        }
 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|  62.8k|        if (!analyze_child_block(entry, newbound, newfree, newglobal,
  ------------------
  |  Branch (1299:13): [True: 4, False: 62.8k]
  ------------------
 1300|  62.8k|                                 type_params, new_class_entry, &child_free))
 1301|      4|        {
 1302|      4|            goto error;
 1303|      4|        }
 1304|  62.8k|        if (entry->ste_type == InlinedComprehensionBlock) {
  ------------------
  |  Branch (1304:13): [True: 3.32k, False: 59.5k]
  ------------------
 1305|  3.32k|            if (!finalize_inlined_comprehension(ste, entry, child_free, newfree,
  ------------------
  |  Branch (1305:17): [True: 0, False: 3.32k]
  ------------------
 1306|  3.32k|                                                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|  3.32k|        }
 1311|  62.8k|        temp = PyNumber_InPlaceOr(newfree, child_free);
 1312|  62.8k|        Py_DECREF(child_free);
  ------------------
  |  |  430|  62.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1313|  62.8k|        if (!temp)
  ------------------
  |  Branch (1313:13): [True: 0, False: 62.8k]
  ------------------
 1314|      0|            goto error;
 1315|  62.8k|        Py_DECREF(temp);
  ------------------
  |  |  430|  62.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1316|  62.8k|    }
 1317|       |
 1318|       |    /* Complete the classification. */
 1319|  75.2k|    pos = 0;
 1320|   355k|    while (PyDict_Next(ste->ste_symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (1320:12): [True: 280k, False: 75.2k]
  ------------------
 1321|   280k|        long flags = PyLong_AsLong(v);
 1322|   280k|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1322:13): [True: 0, False: 280k]
  |  Branch (1322:28): [True: 0, False: 0]
  ------------------
 1323|      0|            goto error;
 1324|      0|        }
 1325|   280k|        int contains = PyDict_Contains(scopes, name);
 1326|   280k|        if (contains < 0) {
  ------------------
  |  Branch (1326:13): [True: 0, False: 280k]
  ------------------
 1327|      0|            goto error;
 1328|      0|        }
 1329|   280k|        if (contains) {
  ------------------
  |  Branch (1329:13): [True: 160k, False: 120k]
  ------------------
 1330|   160k|            continue;
 1331|   160k|        }
 1332|   120k|        if (!analyze_name(ste, scopes, name, flags,
  ------------------
  |  Branch (1332:13): [True: 0, False: 120k]
  ------------------
 1333|   120k|                          bound, local, free, global, type_params, class_entry))
 1334|      0|            goto error;
 1335|   120k|    }
 1336|       |
 1337|       |    /* Check if any local variables must be converted to cell variables */
 1338|  75.2k|    if (ste_uses_fast_locals(ste) && !analyze_cells(scopes, newfree, inlined_cells)) {
  ------------------
  |  Branch (1338:9): [True: 50.2k, False: 25.0k]
  |  Branch (1338:38): [True: 0, False: 50.2k]
  ------------------
 1339|      0|        goto error;
 1340|      0|    }
 1341|  75.2k|    else if (ste->ste_type == ClassBlock && !drop_class_free(ste, newfree)) {
  ------------------
  |  Branch (1341:14): [True: 12.6k, False: 62.5k]
  |  Branch (1341:45): [True: 0, False: 12.6k]
  ------------------
 1342|      0|        goto error;
 1343|      0|    }
 1344|       |    /* Records the results of the analysis in the symbol table entry */
 1345|  75.2k|    if (!update_symbols(ste->ste_symbols, scopes, bound, newfree,
  ------------------
  |  Branch (1345:9): [True: 0, False: 75.2k]
  ------------------
 1346|  75.2k|                        (ste->ste_type == ClassBlock) || ste->ste_can_see_class_scope))
  ------------------
  |  Branch (1346:25): [True: 12.6k, False: 62.5k]
  |  Branch (1346:58): [True: 5.77k, False: 56.7k]
  ------------------
 1347|      0|        goto error;
 1348|  75.2k|    temp = PyNumber_InPlaceOr(free, newfree);
 1349|  75.2k|    if (!temp)
  ------------------
  |  Branch (1349:9): [True: 0, False: 75.2k]
  ------------------
 1350|      0|        goto error;
 1351|  75.2k|    Py_DECREF(temp);
  ------------------
  |  |  430|  75.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1352|  75.2k|    success = 1;
 1353|  75.2k| error:
 1354|  75.2k|    Py_XDECREF(scopes);
  ------------------
  |  |  621|  75.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1355|  75.2k|    Py_XDECREF(local);
  ------------------
  |  |  621|  75.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1356|  75.2k|    Py_XDECREF(newbound);
  ------------------
  |  |  621|  75.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1357|  75.2k|    Py_XDECREF(newglobal);
  ------------------
  |  |  621|  75.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1358|  75.2k|    Py_XDECREF(newfree);
  ------------------
  |  |  621|  75.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1359|  75.2k|    Py_XDECREF(inlined_cells);
  ------------------
  |  |  621|  75.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1360|  75.2k|    if (!success)
  ------------------
  |  Branch (1360:9): [True: 29, False: 75.2k]
  ------------------
 1361|  75.2k|        assert(PyErr_Occurred());
  ------------------
  |  Branch (1361:9): [True: 29, False: 0]
  ------------------
 1362|  75.2k|    return success;
 1363|  75.2k|}
symtable.c:analyze_name:
  687|   280k|{
  688|   280k|    int contains;
  689|   280k|    if (flags & DEF_GLOBAL) {
  ------------------
  |  |  170|   280k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (689:9): [True: 1.31k, False: 279k]
  ------------------
  690|  1.31k|        if (flags & DEF_NONLOCAL) {
  ------------------
  |  |  173|  1.31k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (690:13): [True: 2, False: 1.31k]
  ------------------
  691|      2|            PyErr_Format(PyExc_SyntaxError,
  692|      2|                         "name '%U' is nonlocal and global",
  693|      2|                         name);
  694|      2|            return error_at_directive(ste, name);
  695|      2|        }
  696|  1.31k|        SET_SCOPE(scopes, name, GLOBAL_EXPLICIT);
  ------------------
  |  |  665|  1.31k|    do { \
  |  |  666|  1.31k|        PyObject *o = PyLong_FromLong(I); \
  |  |  667|  1.31k|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (667:13): [True: 0, False: 1.31k]
  |  |  ------------------
  |  |  668|  1.31k|            return 0; \
  |  |  669|  1.31k|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (669:13): [True: 0, False: 1.31k]
  |  |  ------------------
  |  |  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.31k|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  674|  1.31k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (674:13): [Folded, False: 1.31k]
  |  |  ------------------
  ------------------
  697|  1.31k|        if (PySet_Add(global, name) < 0)
  ------------------
  |  Branch (697:13): [True: 0, False: 1.31k]
  ------------------
  698|      0|            return 0;
  699|  1.31k|        if (bound && (PySet_Discard(bound, name) < 0))
  ------------------
  |  Branch (699:13): [True: 837, False: 480]
  |  Branch (699:22): [True: 0, False: 837]
  ------------------
  700|      0|            return 0;
  701|  1.31k|        return 1;
  702|  1.31k|    }
  703|   279k|    if (flags & DEF_NONLOCAL) {
  ------------------
  |  |  173|   279k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (703:9): [True: 1.01k, False: 278k]
  ------------------
  704|  1.01k|        if (!bound) {
  ------------------
  |  Branch (704:13): [True: 21, False: 992]
  ------------------
  705|     21|            PyErr_Format(PyExc_SyntaxError,
  706|     21|                         "nonlocal declaration not allowed at module level");
  707|     21|            return error_at_directive(ste, name);
  708|     21|        }
  709|    992|        contains = PySet_Contains(bound, name);
  710|    992|        if (contains < 0) {
  ------------------
  |  Branch (710:13): [True: 0, False: 992]
  ------------------
  711|      0|            return 0;
  712|      0|        }
  713|    992|        if (!contains) {
  ------------------
  |  Branch (713:13): [True: 2, False: 990]
  ------------------
  714|      2|            PyErr_Format(PyExc_SyntaxError,
  715|      2|                         "no binding for nonlocal '%U' found",
  716|      2|                         name);
  717|       |
  718|      2|            return error_at_directive(ste, name);
  719|      2|        }
  720|    990|        contains = PySet_Contains(type_params, name);
  721|    990|        if (contains < 0) {
  ------------------
  |  Branch (721:13): [True: 0, False: 990]
  ------------------
  722|      0|            return 0;
  723|      0|        }
  724|    990|        if (contains) {
  ------------------
  |  Branch (724:13): [True: 0, False: 990]
  ------------------
  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|    990|        SET_SCOPE(scopes, name, FREE);
  ------------------
  |  |  665|    990|    do { \
  |  |  666|    990|        PyObject *o = PyLong_FromLong(I); \
  |  |  667|    990|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (667:13): [True: 0, False: 990]
  |  |  ------------------
  |  |  668|    990|            return 0; \
  |  |  669|    990|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (669:13): [True: 0, False: 990]
  |  |  ------------------
  |  |  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|    990|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|    990|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    990|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    990|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  674|    990|    } while(0)
  |  |  ------------------
  |  |  |  Branch (674:13): [Folded, False: 990]
  |  |  ------------------
  ------------------
  731|    990|        return PySet_Add(free, name) >= 0;
  732|    990|    }
  733|   278k|    if (flags & DEF_BOUND) {
  ------------------
  |  |  181|   278k|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|   278k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  172|   278k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  176|   278k|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  |  |  ------------------
  ------------------
  |  Branch (733:9): [True: 158k, False: 120k]
  ------------------
  734|   158k|        SET_SCOPE(scopes, name, LOCAL);
  ------------------
  |  |  665|   158k|    do { \
  |  |  666|   158k|        PyObject *o = PyLong_FromLong(I); \
  |  |  667|   158k|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (667:13): [True: 0, False: 158k]
  |  |  ------------------
  |  |  668|   158k|            return 0; \
  |  |  669|   158k|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (669:13): [True: 0, False: 158k]
  |  |  ------------------
  |  |  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|   158k|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|   158k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   158k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   158k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  674|   158k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (674:13): [Folded, False: 158k]
  |  |  ------------------
  ------------------
  735|   158k|        if (PySet_Add(local, name) < 0)
  ------------------
  |  Branch (735:13): [True: 0, False: 158k]
  ------------------
  736|      0|            return 0;
  737|   158k|        if (PySet_Discard(global, name) < 0)
  ------------------
  |  Branch (737:13): [True: 0, False: 158k]
  ------------------
  738|      0|            return 0;
  739|   158k|        if (flags & DEF_TYPE_PARAM) {
  ------------------
  |  |  179|   158k|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
  |  Branch (739:13): [True: 12.9k, False: 145k]
  ------------------
  740|  12.9k|            if (PySet_Add(type_params, name) < 0)
  ------------------
  |  Branch (740:17): [True: 0, False: 12.9k]
  ------------------
  741|      0|                return 0;
  742|  12.9k|        }
  743|   145k|        else {
  744|   145k|            if (PySet_Discard(type_params, name) < 0)
  ------------------
  |  Branch (744:17): [True: 0, False: 145k]
  ------------------
  745|      0|                return 0;
  746|   145k|        }
  747|   158k|        return 1;
  748|   158k|    }
  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|   120k|    if (class_entry != NULL && !_PyUnicode_Equal(name, &_Py_ID(__classdict__))) {
  ------------------
  |  |  951|  14.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  14.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  14.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (758:9): [True: 14.4k, False: 105k]
  |  Branch (758:32): [True: 8.66k, False: 5.77k]
  ------------------
  759|  8.66k|        long class_flags = _PyST_GetSymbol(class_entry, name);
  760|  8.66k|        if (class_flags < 0) {
  ------------------
  |  Branch (760:13): [True: 0, False: 8.66k]
  ------------------
  761|      0|            return 0;
  762|      0|        }
  763|  8.66k|        if (class_flags & DEF_GLOBAL) {
  ------------------
  |  |  170|  8.66k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (763:13): [True: 222, False: 8.44k]
  ------------------
  764|    222|            SET_SCOPE(scopes, name, GLOBAL_EXPLICIT);
  ------------------
  |  |  665|    222|    do { \
  |  |  666|    222|        PyObject *o = PyLong_FromLong(I); \
  |  |  667|    222|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (667:13): [True: 0, False: 222]
  |  |  ------------------
  |  |  668|    222|            return 0; \
  |  |  669|    222|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (669:13): [True: 0, False: 222]
  |  |  ------------------
  |  |  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|    222|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|    222|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    222|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    222|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  674|    222|    } while(0)
  |  |  ------------------
  |  |  |  Branch (674:13): [Folded, False: 222]
  |  |  ------------------
  ------------------
  765|    222|            return 1;
  766|    222|        }
  767|  8.44k|        else if ((class_flags & DEF_BOUND) && !(class_flags & DEF_NONLOCAL)) {
  ------------------
  |  |  181|  8.44k|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|  8.44k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  172|  8.44k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  176|  8.44k|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  |  |  ------------------
  ------------------
                      else if ((class_flags & DEF_BOUND) && !(class_flags & DEF_NONLOCAL)) {
  ------------------
  |  |  173|    680|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (767:18): [True: 680, False: 7.76k]
  |  Branch (767:47): [True: 680, False: 0]
  ------------------
  768|    680|            SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  665|    680|    do { \
  |  |  666|    680|        PyObject *o = PyLong_FromLong(I); \
  |  |  667|    680|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (667:13): [True: 0, False: 680]
  |  |  ------------------
  |  |  668|    680|            return 0; \
  |  |  669|    680|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (669:13): [True: 0, False: 680]
  |  |  ------------------
  |  |  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|    680|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|    680|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    680|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    680|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  674|    680|    } while(0)
  |  |  ------------------
  |  |  |  Branch (674:13): [Folded, False: 680]
  |  |  ------------------
  ------------------
  769|    680|            return 1;
  770|    680|        }
  771|  8.66k|    }
  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|   119k|    if (bound) {
  ------------------
  |  Branch (777:9): [True: 92.5k, False: 26.7k]
  ------------------
  778|  92.5k|        contains = PySet_Contains(bound, name);
  779|  92.5k|        if (contains < 0) {
  ------------------
  |  Branch (779:13): [True: 0, False: 92.5k]
  ------------------
  780|      0|            return 0;
  781|      0|        }
  782|  92.5k|        if (contains) {
  ------------------
  |  Branch (782:13): [True: 15.9k, False: 76.5k]
  ------------------
  783|  15.9k|            SET_SCOPE(scopes, name, FREE);
  ------------------
  |  |  665|  15.9k|    do { \
  |  |  666|  15.9k|        PyObject *o = PyLong_FromLong(I); \
  |  |  667|  15.9k|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (667:13): [True: 0, False: 15.9k]
  |  |  ------------------
  |  |  668|  15.9k|            return 0; \
  |  |  669|  15.9k|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (669:13): [True: 0, False: 15.9k]
  |  |  ------------------
  |  |  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|  15.9k|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|  15.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  674|  15.9k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (674:13): [Folded, False: 15.9k]
  |  |  ------------------
  ------------------
  784|  15.9k|            return PySet_Add(free, name) >= 0;
  785|  15.9k|        }
  786|  92.5k|    }
  787|       |    /* If a parent has a global statement, then call it global
  788|       |       explicit?  It could also be global implicit.
  789|       |     */
  790|   103k|    if (global) {
  ------------------
  |  Branch (790:9): [True: 103k, False: 0]
  ------------------
  791|   103k|        contains = PySet_Contains(global, name);
  792|   103k|        if (contains < 0) {
  ------------------
  |  Branch (792:13): [True: 0, False: 103k]
  ------------------
  793|      0|            return 0;
  794|      0|        }
  795|   103k|        if (contains) {
  ------------------
  |  Branch (795:13): [True: 362, False: 102k]
  ------------------
  796|    362|            SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  665|    362|    do { \
  |  |  666|    362|        PyObject *o = PyLong_FromLong(I); \
  |  |  667|    362|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (667:13): [True: 0, False: 362]
  |  |  ------------------
  |  |  668|    362|            return 0; \
  |  |  669|    362|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (669:13): [True: 0, False: 362]
  |  |  ------------------
  |  |  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|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  674|    362|    } while(0)
  |  |  ------------------
  |  |  |  Branch (674:13): [Folded, False: 362]
  |  |  ------------------
  ------------------
  797|    362|            return 1;
  798|    362|        }
  799|   103k|    }
  800|   102k|    SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  665|   102k|    do { \
  |  |  666|   102k|        PyObject *o = PyLong_FromLong(I); \
  |  |  667|   102k|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (667:13): [True: 0, False: 102k]
  |  |  ------------------
  |  |  668|   102k|            return 0; \
  |  |  669|   102k|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (669:13): [True: 0, False: 102k]
  |  |  ------------------
  |  |  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|   102k|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|   102k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   102k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  674|   102k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (674:13): [Folded, False: 102k]
  |  |  ------------------
  ------------------
  801|   102k|    return 1;
  802|   102k|}
symtable.c:error_at_directive:
  595|     25|{
  596|     25|    Py_ssize_t i;
  597|     25|    PyObject *data;
  598|     25|    assert(ste->ste_directives);
  ------------------
  |  Branch (598:5): [True: 25, False: 0]
  ------------------
  599|    262|    for (i = 0; i < PyList_GET_SIZE(ste->ste_directives); i++) {
  ------------------
  |  |   38|    262|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    262|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    262|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (599:17): [True: 262, False: 0]
  ------------------
  600|    262|        data = PyList_GET_ITEM(ste->ste_directives, i);
  ------------------
  |  |   40|    262|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    262|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    262|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (600:16): [True: 262, False: 0]
  ------------------
  601|    262|        assert(PyTuple_CheckExact(data));
  ------------------
  |  Branch (601:9): [True: 262, False: 0]
  ------------------
  602|    262|        assert(PyUnicode_CheckExact(PyTuple_GET_ITEM(data, 0)));
  ------------------
  |  Branch (602:9): [True: 262, False: 0]
  |  Branch (602:9): [True: 262, False: 0]
  ------------------
  603|    262|        if (PyUnicode_Compare(PyTuple_GET_ITEM(data, 0), name) == 0) {
  ------------------
  |  |   29|    262|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    262|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    262|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (603:13): [True: 25, False: 237]
  |  Branch (603:31): [True: 262, False: 0]
  ------------------
  604|     25|            PyErr_RangedSyntaxLocationObject(ste->ste_table->st_filename,
  605|     25|                                             PyLong_AsLong(PyTuple_GET_ITEM(data, 1)),
  ------------------
  |  |   29|     25|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     25|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (605:60): [True: 25, False: 0]
  ------------------
  606|     25|                                             PyLong_AsLong(PyTuple_GET_ITEM(data, 2)) + 1,
  ------------------
  |  |   29|     25|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     25|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (606:60): [True: 25, False: 0]
  ------------------
  607|     25|                                             PyLong_AsLong(PyTuple_GET_ITEM(data, 3)),
  ------------------
  |  |   29|     25|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     25|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (607:60): [True: 25, False: 0]
  ------------------
  608|     25|                                             PyLong_AsLong(PyTuple_GET_ITEM(data, 4)) + 1);
  ------------------
  |  |   29|     25|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     25|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (608:60): [True: 25, False: 0]
  ------------------
  609|       |
  610|      0|            return 0;
  611|     25|        }
  612|    262|    }
  613|      0|    PyErr_SetString(PyExc_RuntimeError,
  614|      0|                    "BUG: internal directive bookkeeping broken");
  615|      0|    return 0;
  616|     25|}
symtable.c:ste_uses_fast_locals:
   96|   482k|{
   97|   482k|    return _PyST_IsFunctionLike(ste) || ste->ste_type == InlinedComprehensionBlock;
  ------------------
  |  Branch (97:12): [True: 250k, False: 231k]
  |  Branch (97:41): [True: 16.1k, False: 215k]
  ------------------
   98|   482k|}
symtable.c:analyze_child_block:
 1369|  62.8k|{
 1370|  62.8k|    PyObject *temp_bound = NULL, *temp_global = NULL, *temp_free = NULL;
 1371|  62.8k|    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|  62.8k|    temp_bound = PySet_New(bound);
 1381|  62.8k|    if (!temp_bound)
  ------------------
  |  Branch (1381:9): [True: 0, False: 62.8k]
  ------------------
 1382|      0|        goto error;
 1383|  62.8k|    temp_free = PySet_New(free);
 1384|  62.8k|    if (!temp_free)
  ------------------
  |  Branch (1384:9): [True: 0, False: 62.8k]
  ------------------
 1385|      0|        goto error;
 1386|  62.8k|    temp_global = PySet_New(global);
 1387|  62.8k|    if (!temp_global)
  ------------------
  |  Branch (1387:9): [True: 0, False: 62.8k]
  ------------------
 1388|      0|        goto error;
 1389|  62.8k|    temp_type_params = PySet_New(type_params);
 1390|  62.8k|    if (!temp_type_params)
  ------------------
  |  Branch (1390:9): [True: 0, False: 62.8k]
  ------------------
 1391|      0|        goto error;
 1392|       |
 1393|  62.8k|    if (!analyze_block(entry, temp_bound, temp_free, temp_global,
  ------------------
  |  Branch (1393:9): [True: 4, False: 62.8k]
  ------------------
 1394|  62.8k|                       temp_type_params, class_entry))
 1395|      4|        goto error;
 1396|  62.8k|    *child_free = temp_free;
 1397|  62.8k|    Py_DECREF(temp_bound);
  ------------------
  |  |  430|  62.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1398|  62.8k|    Py_DECREF(temp_global);
  ------------------
  |  |  430|  62.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1399|  62.8k|    Py_DECREF(temp_type_params);
  ------------------
  |  |  430|  62.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1400|  62.8k|    return 1;
 1401|      4| error:
 1402|      4|    Py_XDECREF(temp_bound);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1403|      4|    Py_XDECREF(temp_free);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1404|      4|    Py_XDECREF(temp_global);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1405|      4|    Py_XDECREF(temp_type_params);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1406|      4|    return 0;
 1407|  62.8k|}
symtable.c:finalize_inlined_comprehension:
  862|  3.32k|{
  863|  3.32k|    PyObject *k, *v;
  864|  3.32k|    Py_ssize_t pos = 0;
  865|       |
  866|  3.32k|    assert(comp->ste_type == InlinedComprehensionBlock);
  ------------------
  |  Branch (866:5): [True: 3.32k, False: 0]
  ------------------
  867|  3.32k|    assert(comp->ste_parent != NULL);
  ------------------
  |  Branch (867:5): [True: 3.32k, False: 0]
  ------------------
  868|       |
  869|  20.3k|    while (PyDict_Next(comp->ste_symbols, &pos, &k, &v)) {
  ------------------
  |  Branch (869:12): [True: 17.0k, False: 3.32k]
  ------------------
  870|  17.0k|        long comp_flags = PyLong_AsLong(v);
  871|  17.0k|        if (comp_flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (871:13): [True: 0, False: 17.0k]
  |  Branch (871:33): [True: 0, False: 0]
  ------------------
  872|      0|            goto error;
  873|      0|        }
  874|  17.0k|        int scope = SYMBOL_TO_SCOPE(comp_flags);
  ------------------
  |  |  189|  17.0k|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  187|  17.0k|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  188|  17.0k|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|  17.0k|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  17.0k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  172|  17.0k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  173|  17.0k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  875|  17.0k|        if (scope == CELL) {
  ------------------
  |  |  195|  17.0k|#define CELL 5
  ------------------
  |  Branch (875:13): [True: 15, False: 17.0k]
  ------------------
  876|     15|            if (PySet_Add(inlined_cells, k) < 0) {
  ------------------
  |  Branch (876:17): [True: 0, False: 15]
  ------------------
  877|      0|                goto error;
  878|      0|            }
  879|     15|        }
  880|  17.0k|        PyObject *existing = PyDict_GetItemWithError(ste->ste_symbols, k);
  881|  17.0k|        if (existing == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (881:13): [True: 13.7k, False: 3.35k]
  |  Branch (881:33): [True: 0, False: 13.7k]
  ------------------
  882|      0|            goto error;
  883|      0|        }
  884|       |        // These names are not allowed to be free through a class (see
  885|       |        // drop_class_free) unless a nested child needs them. Keep FREE
  886|       |        // on this table; compile treats the load as a global.
  887|  17.0k|        if (scope == FREE && ste->ste_type == ClassBlock &&
  ------------------
  |  |  194|  34.1k|#define FREE 4
  ------------------
  |  Branch (887:13): [True: 1.11k, False: 15.9k]
  |  Branch (887:30): [True: 0, False: 1.11k]
  ------------------
  888|      0|                _PyST_IsClassClosureName(k)) {
  ------------------
  |  Branch (888:17): [True: 0, False: 0]
  ------------------
  889|      0|            int child_needs_free = is_free_in_any_child(comp, k);
  890|      0|            if (child_needs_free < 0) {
  ------------------
  |  Branch (890:17): [True: 0, False: 0]
  ------------------
  891|      0|                goto error;
  892|      0|            }
  893|      0|            if (!child_needs_free) {
  ------------------
  |  Branch (893:17): [True: 0, False: 0]
  ------------------
  894|      0|                if (PySet_Discard(comp_free, k) < 0) {
  ------------------
  |  Branch (894:21): [True: 0, False: 0]
  ------------------
  895|      0|                    goto error;
  896|      0|                }
  897|      0|            }
  898|      0|            continue;
  899|      0|        }
  900|  17.0k|        int is_def_bound = 0;
  901|  17.0k|        if (existing) {
  ------------------
  |  Branch (901:13): [True: 3.35k, False: 13.7k]
  ------------------
  902|  3.35k|            long flags = PyLong_AsLong(existing);
  903|  3.35k|            if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (903:17): [True: 0, False: 3.35k]
  |  Branch (903:32): [True: 0, False: 0]
  ------------------
  904|      0|                goto error;
  905|      0|            }
  906|  3.35k|            is_def_bound = flags & DEF_BOUND;
  ------------------
  |  |  181|  3.35k|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|  3.35k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  172|  3.35k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  176|  3.35k|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  |  |  ------------------
  ------------------
  907|  3.35k|        }
  908|       |        // Loads here are in the enclosing compilation unit.
  909|  17.0k|        if (scope == FREE && (comp_flags & USE) &&
  ------------------
  |  |  194|  34.1k|#define FREE 4
  ------------------
                      if (scope == FREE && (comp_flags & USE) &&
  ------------------
  |  |  174|  1.11k|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (909:13): [True: 1.11k, False: 15.9k]
  |  Branch (909:30): [True: 98, False: 1.02k]
  ------------------
  910|     98|                !symtable_add_flag(ste->ste_symbols, k, USE)) {
  ------------------
  |  |  174|     98|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (910:17): [True: 0, False: 98]
  ------------------
  911|      0|            goto error;
  912|      0|        }
  913|  17.0k|        if (is_def_bound && ste->ste_type != ClassBlock) {
  ------------------
  |  Branch (913:13): [True: 1.76k, False: 15.3k]
  |  Branch (913:29): [True: 1.73k, False: 29]
  ------------------
  914|       |            // free vars in comprehension that are locals in outer scope can
  915|       |            // now simply be locals, unless they are free in comp children,
  916|       |            // needed as cells by sibling nested scopes, or if the outer
  917|       |            // scope is a class block
  918|  1.73k|            int ok = is_free_in_any_child(comp, k);
  919|  1.73k|            if (ok < 0) {
  ------------------
  |  Branch (919:17): [True: 0, False: 1.73k]
  ------------------
  920|      0|                goto error;
  921|      0|            }
  922|  1.73k|            if (!ok) {
  ------------------
  |  Branch (922:17): [True: 1.73k, False: 0]
  ------------------
  923|  1.73k|                int in_newfree = PySet_Contains(outer_newfree, k);
  924|  1.73k|                if (in_newfree < 0) {
  ------------------
  |  Branch (924:21): [True: 0, False: 1.73k]
  ------------------
  925|      0|                    goto error;
  926|      0|                }
  927|  1.73k|                if (!in_newfree) {
  ------------------
  |  Branch (927:21): [True: 1.65k, False: 82]
  ------------------
  928|  1.65k|                    if (PySet_Discard(comp_free, k) < 0) {
  ------------------
  |  Branch (928:25): [True: 0, False: 1.65k]
  ------------------
  929|      0|                        goto error;
  930|      0|                    }
  931|  1.65k|                }
  932|  1.73k|            }
  933|  1.73k|        }
  934|  15.3k|        else if (!existing) {
  ------------------
  |  Branch (934:18): [True: 13.7k, False: 1.62k]
  ------------------
  935|  13.7k|            assert(scope != FREE || PySet_Contains(comp_free, k) == 1);
  ------------------
  |  Branch (935:13): [True: 13.0k, False: 699]
  |  Branch (935:13): [True: 699, False: 0]
  ------------------
  936|  13.7k|        }
  937|  17.0k|    }
  938|  3.32k|    return 1;
  939|      0|error:
  940|      0|    return 0;
  941|  3.32k|}
symtable.c:is_free_in_any_child:
  808|  3.76k|{
  809|  5.80k|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(entry->ste_children); i++) {
  ------------------
  |  |   38|  5.80k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (809:28): [True: 2.03k, False: 3.76k]
  ------------------
  810|  2.03k|        PySTEntryObject *child_ste = (PySTEntryObject *)PyList_GET_ITEM(
  ------------------
  |  |   40|  2.03k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  2.03k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (810:57): [True: 2.03k, False: 0]
  ------------------
  811|  2.03k|            entry->ste_children, i);
  812|  2.03k|        if (child_ste->ste_type == InlinedComprehensionBlock) {
  ------------------
  |  Branch (812:13): [True: 2.03k, False: 7]
  ------------------
  813|       |            /* this is the same scope, so we check its children */
  814|  2.03k|            int nested = is_free_in_any_child(child_ste, key);
  815|  2.03k|            if (nested != 0) {
  ------------------
  |  Branch (815:17): [True: 0, False: 2.03k]
  ------------------
  816|      0|                return nested;
  817|      0|            }
  818|  2.03k|            continue;
  819|  2.03k|        }
  820|      7|        long scope = _PyST_GetScope(child_ste, key);
  821|      7|        if (scope < 0) {
  ------------------
  |  Branch (821:13): [True: 0, False: 7]
  ------------------
  822|      0|            return -1;
  823|      0|        }
  824|      7|        if (scope == FREE) {
  ------------------
  |  |  194|      7|#define FREE 4
  ------------------
  |  Branch (824:13): [True: 0, False: 7]
  ------------------
  825|      0|            return 1;
  826|      0|        }
  827|      7|    }
  828|  3.76k|    return 0;
  829|  3.76k|}
symtable.c:symtable_add_flag:
  833|   605k|{
  834|   605k|    PyObject *o = PyDict_GetItemWithError(dict, name);
  835|   605k|    long val;
  836|   605k|    if (o != NULL) {
  ------------------
  |  Branch (836:9): [True: 311k, False: 293k]
  ------------------
  837|   311k|        val = PyLong_AsLong(o);
  838|   311k|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (838:13): [True: 0, False: 311k]
  |  Branch (838:26): [True: 0, False: 0]
  ------------------
  839|      0|            return 0;
  840|      0|        }
  841|   311k|        val |= flag;
  842|   311k|    }
  843|   293k|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (843:14): [True: 0, False: 293k]
  ------------------
  844|      0|        return 0;
  845|      0|    }
  846|   293k|    else {
  847|   293k|        val = flag;
  848|   293k|    }
  849|   605k|    o = PyLong_FromLong(val);
  850|   605k|    if (o == NULL) {
  ------------------
  |  Branch (850:9): [True: 0, False: 605k]
  ------------------
  851|      0|        return 0;
  852|      0|    }
  853|   605k|    int rc = PyDict_SetItem(dict, name, o);
  854|   605k|    Py_DECREF(o);
  ------------------
  |  |  430|   605k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   605k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   605k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  855|   605k|    return rc >= 0;
  856|   605k|}
symtable.c:analyze_cells:
  955|  50.2k|{
  956|  50.2k|    PyObject *name, *v, *v_cell;
  957|  50.2k|    int success = 0;
  958|  50.2k|    Py_ssize_t pos = 0;
  959|       |
  960|  50.2k|    v_cell = PyLong_FromLong(CELL);
  ------------------
  |  |  195|  50.2k|#define CELL 5
  ------------------
  961|  50.2k|    if (!v_cell)
  ------------------
  |  Branch (961:9): [True: 0, False: 50.2k]
  ------------------
  962|      0|        return 0;
  963|   253k|    while (PyDict_Next(scopes, &pos, &name, &v)) {
  ------------------
  |  Branch (963:12): [True: 203k, False: 50.2k]
  ------------------
  964|   203k|        long scope = PyLong_AsLong(v);
  965|   203k|        if (scope == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (965:13): [True: 0, False: 203k]
  |  Branch (965:28): [True: 0, False: 0]
  ------------------
  966|      0|            goto error;
  967|      0|        }
  968|   203k|        if (scope != LOCAL)
  ------------------
  |  |  191|   203k|#define LOCAL 1
  ------------------
  |  Branch (968:13): [True: 75.1k, False: 128k]
  ------------------
  969|  75.1k|            continue;
  970|   128k|        int contains = PySet_Contains(free, name);
  971|   128k|        if (contains < 0) {
  ------------------
  |  Branch (971:13): [True: 0, False: 128k]
  ------------------
  972|      0|            goto error;
  973|      0|        }
  974|   128k|        if (!contains) {
  ------------------
  |  Branch (974:13): [True: 121k, False: 6.40k]
  ------------------
  975|   121k|            contains = PySet_Contains(inlined_cells, name);
  976|   121k|            if (contains < 0) {
  ------------------
  |  Branch (976:17): [True: 0, False: 121k]
  ------------------
  977|      0|                goto error;
  978|      0|            }
  979|   121k|            if (!contains) {
  ------------------
  |  Branch (979:17): [True: 121k, False: 0]
  ------------------
  980|   121k|                continue;
  981|   121k|            }
  982|   121k|        }
  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|  6.40k|        if (PyDict_SetItem(scopes, name, v_cell) < 0)
  ------------------
  |  Branch (987:13): [True: 0, False: 6.40k]
  ------------------
  988|      0|            goto error;
  989|  6.40k|        if (PySet_Discard(free, name) < 0)
  ------------------
  |  Branch (989:13): [True: 0, False: 6.40k]
  ------------------
  990|      0|            goto error;
  991|  6.40k|    }
  992|  50.2k|    success = 1;
  993|  50.2k| error:
  994|  50.2k|    Py_DECREF(v_cell);
  ------------------
  |  |  430|  50.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  50.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  995|  50.2k|    return success;
  996|  50.2k|}
symtable.c:drop_class_free:
 1000|  12.6k|{
 1001|  12.6k|    int res;
 1002|  12.6k|    res = PySet_Discard(free, &_Py_ID(__class__));
  ------------------
  |  |  951|  12.6k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  12.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  12.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1003|  12.6k|    if (res < 0)
  ------------------
  |  Branch (1003:9): [True: 0, False: 12.6k]
  ------------------
 1004|      0|        return 0;
 1005|  12.6k|    if (res)
  ------------------
  |  Branch (1005:9): [True: 149, False: 12.5k]
  ------------------
 1006|    149|        ste->ste_needs_class_closure = 1;
 1007|  12.6k|    res = PySet_Discard(free, &_Py_ID(__classdict__));
  ------------------
  |  |  951|  12.6k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  12.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  12.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1008|  12.6k|    if (res < 0)
  ------------------
  |  Branch (1008:9): [True: 0, False: 12.6k]
  ------------------
 1009|      0|        return 0;
 1010|  12.6k|    if (res)
  ------------------
  |  Branch (1010:9): [True: 4.49k, False: 8.16k]
  ------------------
 1011|  4.49k|        ste->ste_needs_classdict = 1;
 1012|  12.6k|    res = PySet_Discard(free, &_Py_ID(__conditional_annotations__));
  ------------------
  |  |  951|  12.6k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  12.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  12.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1013|  12.6k|    if (res < 0)
  ------------------
  |  Branch (1013:9): [True: 0, False: 12.6k]
  ------------------
 1014|      0|        return 0;
 1015|  12.6k|    if (res) {
  ------------------
  |  Branch (1015:9): [True: 67, False: 12.6k]
  ------------------
 1016|     67|        ste->ste_has_conditional_annotations = 1;
 1017|     67|    }
 1018|  12.6k|    return 1;
 1019|  12.6k|}
symtable.c:update_symbols:
 1029|  75.2k|{
 1030|  75.2k|    PyObject *name = NULL, *itr = NULL;
 1031|  75.2k|    PyObject *v = NULL, *v_scope = NULL, *v_new = NULL, *v_free = NULL;
 1032|  75.2k|    Py_ssize_t pos = 0;
 1033|       |
 1034|       |    /* Update scope information for all symbols in this scope */
 1035|   355k|    while (PyDict_Next(symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (1035:12): [True: 280k, False: 75.2k]
  ------------------
 1036|   280k|        long flags = PyLong_AsLong(v);
 1037|   280k|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1037:13): [True: 0, False: 280k]
  |  Branch (1037:28): [True: 0, False: 0]
  ------------------
 1038|      0|            return 0;
 1039|      0|        }
 1040|   280k|        if (PyDict_GetItemRef(scopes, name, &v_scope) < 0) {
  ------------------
  |  Branch (1040:13): [True: 0, False: 280k]
  ------------------
 1041|      0|            return 0;
 1042|      0|        }
 1043|   280k|        if (!v_scope) {
  ------------------
  |  Branch (1043:13): [True: 0, False: 280k]
  ------------------
 1044|      0|            PyErr_SetObject(PyExc_KeyError, name);
 1045|      0|            return 0;
 1046|      0|        }
 1047|   280k|        long scope = PyLong_AsLong(v_scope);
 1048|   280k|        Py_DECREF(v_scope);
  ------------------
  |  |  430|   280k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   280k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   280k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1049|   280k|        if (scope == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1049:13): [True: 0, False: 280k]
  |  Branch (1049:28): [True: 0, False: 0]
  ------------------
 1050|      0|            return 0;
 1051|      0|        }
 1052|   280k|        flags |= (scope << SCOPE_OFFSET);
  ------------------
  |  |  187|   280k|#define SCOPE_OFFSET 12
  ------------------
 1053|   280k|        v_new = PyLong_FromLong(flags);
 1054|   280k|        if (!v_new)
  ------------------
  |  Branch (1054:13): [True: 0, False: 280k]
  ------------------
 1055|      0|            return 0;
 1056|   280k|        if (PyDict_SetItem(symbols, name, v_new) < 0) {
  ------------------
  |  Branch (1056:13): [True: 0, False: 280k]
  ------------------
 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|   280k|        Py_DECREF(v_new);
  ------------------
  |  |  430|   280k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   280k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   280k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1061|   280k|    }
 1062|       |
 1063|       |    /* Record not yet resolved free variables from children (if any) */
 1064|  75.2k|    v_free = PyLong_FromLong(FREE << SCOPE_OFFSET);
  ------------------
  |  |  194|  75.2k|#define FREE 4
  ------------------
                  v_free = PyLong_FromLong(FREE << SCOPE_OFFSET);
  ------------------
  |  |  187|  75.2k|#define SCOPE_OFFSET 12
  ------------------
 1065|  75.2k|    if (!v_free)
  ------------------
  |  Branch (1065:9): [True: 0, False: 75.2k]
  ------------------
 1066|      0|        return 0;
 1067|       |
 1068|  75.2k|    itr = PyObject_GetIter(free);
 1069|  75.2k|    if (itr == NULL) {
  ------------------
  |  Branch (1069:9): [True: 0, False: 75.2k]
  ------------------
 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|  89.4k|    while ((name = PyIter_Next(itr))) {
  ------------------
  |  Branch (1074:12): [True: 14.2k, False: 75.2k]
  ------------------
 1075|  14.2k|        v = PyDict_GetItemWithError(symbols, name);
 1076|       |
 1077|       |        /* Handle symbol that already exists in this scope */
 1078|  14.2k|        if (v) {
  ------------------
  |  Branch (1078:13): [True: 4.26k, False: 9.94k]
  ------------------
 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|  4.26k|            if  (classflag) {
  ------------------
  |  Branch (1083:18): [True: 723, False: 3.53k]
  ------------------
 1084|    723|                long flags = PyLong_AsLong(v);
 1085|    723|                if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1085:21): [True: 0, False: 723]
  |  Branch (1085:36): [True: 0, False: 0]
  ------------------
 1086|      0|                    goto error;
 1087|      0|                }
 1088|    723|                flags |= DEF_FREE_CLASS;
  ------------------
  |  |  175|    723|#define DEF_FREE_CLASS (2<<5)    /* free variable from class's method */
  ------------------
 1089|    723|                v_new = PyLong_FromLong(flags);
 1090|    723|                if (!v_new) {
  ------------------
  |  Branch (1090:21): [True: 0, False: 723]
  ------------------
 1091|      0|                    goto error;
 1092|      0|                }
 1093|    723|                if (PyDict_SetItem(symbols, name, v_new) < 0) {
  ------------------
  |  Branch (1093:21): [True: 0, False: 723]
  ------------------
 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|    723|                Py_DECREF(v_new);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1098|    723|            }
 1099|       |            /* It's a cell, or already free in this scope */
 1100|  4.26k|            Py_DECREF(name);
  ------------------
  |  |  430|  4.26k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1101|  4.26k|            continue;
 1102|  4.26k|        }
 1103|  9.94k|        else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1103:18): [True: 0, False: 9.94k]
  ------------------
 1104|      0|            goto error;
 1105|      0|        }
 1106|       |        /* Handle global symbol */
 1107|  9.94k|        if (bound) {
  ------------------
  |  Branch (1107:13): [True: 9.94k, False: 0]
  ------------------
 1108|  9.94k|            int contains = PySet_Contains(bound, name);
 1109|  9.94k|            if (contains < 0) {
  ------------------
  |  Branch (1109:17): [True: 0, False: 9.94k]
  ------------------
 1110|      0|                goto error;
 1111|      0|            }
 1112|  9.94k|            if (!contains) {
  ------------------
  |  Branch (1112:17): [True: 0, False: 9.94k]
  ------------------
 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|  9.94k|        }
 1117|       |        /* Propagate new free symbol up the lexical stack */
 1118|  9.94k|        if (PyDict_SetItem(symbols, name, v_free) < 0) {
  ------------------
  |  Branch (1118:13): [True: 0, False: 9.94k]
  ------------------
 1119|      0|            goto error;
 1120|      0|        }
 1121|  9.94k|        Py_DECREF(name);
  ------------------
  |  |  430|  9.94k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1122|  9.94k|    }
 1123|       |
 1124|       |    /* Check if loop ended because of exception in PyIter_Next */
 1125|  75.2k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1125:9): [True: 0, False: 75.2k]
  ------------------
 1126|      0|        goto error;
 1127|      0|    }
 1128|       |
 1129|  75.2k|    Py_DECREF(itr);
  ------------------
  |  |  430|  75.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1130|  75.2k|    Py_DECREF(v_free);
  ------------------
  |  |  430|  75.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1131|  75.2k|    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|  75.2k|}
symtable.c:symtable_exit_block:
 1443|  96.1k|{
 1444|  96.1k|    Py_ssize_t size;
 1445|       |
 1446|  96.1k|    st->st_cur = NULL;
 1447|  96.1k|    size = PyList_GET_SIZE(st->st_stack);
  ------------------
  |  |   38|  96.1k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  96.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1448|  96.1k|    if (size) {
  ------------------
  |  Branch (1448:9): [True: 96.1k, False: 0]
  ------------------
 1449|  96.1k|        if (PyList_SetSlice(st->st_stack, size - 1, size, NULL) < 0)
  ------------------
  |  Branch (1449:13): [True: 0, False: 96.1k]
  ------------------
 1450|      0|            return 0;
 1451|  96.1k|        if (--size)
  ------------------
  |  Branch (1451:13): [True: 83.6k, False: 12.5k]
  ------------------
 1452|  83.6k|            st->st_cur = (PySTEntryObject *)PyList_GET_ITEM(st->st_stack, size - 1);
  ------------------
  |  |   40|  83.6k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  83.6k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  83.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1452:45): [True: 83.6k, False: 0]
  ------------------
 1453|  96.1k|    }
 1454|  96.1k|    return 1;
 1455|  96.1k|}
symtable.c:symtable_enter_block:
 1501|  73.2k|{
 1502|  73.2k|    PySTEntryObject *ste = ste_new(st, name, block, ast, loc);
 1503|  73.2k|    if (ste == NULL) {
  ------------------
  |  Branch (1503:9): [True: 0, False: 73.2k]
  ------------------
 1504|      0|        return 0;
 1505|      0|    }
 1506|  73.2k|    int result = symtable_enter_existing_block(st, ste, /* add_to_children */true);
 1507|  73.2k|    Py_DECREF(ste);
  ------------------
  |  |  430|  73.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  73.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  73.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1508|  73.2k|    if (result == 0) {
  ------------------
  |  Branch (1508:9): [True: 0, False: 73.2k]
  ------------------
 1509|      0|        return 0;
 1510|      0|    }
 1511|  73.2k|    if (block == AnnotationBlock || block == TypeVariableBlock || block == TypeAliasBlock) {
  ------------------
  |  Branch (1511:9): [True: 15.5k, False: 57.7k]
  |  Branch (1511:37): [True: 5.41k, False: 52.3k]
  |  Branch (1511:67): [True: 2.34k, False: 49.9k]
  ------------------
 1512|  23.2k|        _Py_DECLARE_STR(format, ".format");
 1513|       |        // We need to insert code that reads this "parameter" to the function.
 1514|  23.2k|        if (!symtable_add_def(st, &_Py_STR(format), DEF_PARAM, loc)) {
  ------------------
  |  |  953|  23.2k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  23.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  23.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(format), DEF_PARAM, loc)) {
  ------------------
  |  |  172|  23.2k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1514:13): [True: 0, False: 23.2k]
  ------------------
 1515|      0|            symtable_exit_block(st);
 1516|      0|            return 0;
 1517|      0|        }
 1518|  23.2k|        if (!symtable_add_def(st, &_Py_STR(format), USE, loc)) {
  ------------------
  |  |  953|  23.2k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  23.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  23.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(format), USE, loc)) {
  ------------------
  |  |  174|  23.2k|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1518:13): [True: 0, False: 23.2k]
  ------------------
 1519|      0|            symtable_exit_block(st);
 1520|      0|            return 0;
 1521|      0|        }
 1522|  23.2k|    }
 1523|  73.2k|    return 1;
 1524|  73.2k|}
symtable.c:ste_new:
  103|  80.4k|{
  104|  80.4k|    PySTEntryObject *ste = NULL;
  105|  80.4k|    PyObject *k = NULL;
  106|       |
  107|  80.4k|    k = PyLong_FromVoidPtr(key);
  108|  80.4k|    if (k == NULL)
  ------------------
  |  Branch (108:9): [True: 0, False: 80.4k]
  ------------------
  109|      0|        goto fail;
  110|  80.4k|    ste = PyObject_New(PySTEntryObject, &PySTEntry_Type);
  ------------------
  |  |  130|  80.4k|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
  111|  80.4k|    if (ste == NULL) {
  ------------------
  |  Branch (111:9): [True: 0, False: 80.4k]
  ------------------
  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|  80.4k|    ste->ste_table = st;
  116|  80.4k|    ste->ste_id = k; /* ste owns reference to k */
  117|       |
  118|  80.4k|    ste->ste_name = Py_NewRef(name);
  ------------------
  |  |  647|  80.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  80.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  119|  80.4k|    ste->ste_function_name = NULL;
  120|       |
  121|  80.4k|    ste->ste_symbols = NULL;
  122|  80.4k|    ste->ste_varnames = NULL;
  123|  80.4k|    ste->ste_children = NULL;
  124|       |
  125|  80.4k|    ste->ste_directives = NULL;
  126|  80.4k|    ste->ste_mangled_names = NULL;
  127|       |
  128|  80.4k|    ste->ste_type = block;
  129|  80.4k|    ste->ste_scope_info = NULL;
  130|       |
  131|  80.4k|    ste->ste_nested = 0;
  132|  80.4k|    ste->ste_varargs = 0;
  133|  80.4k|    ste->ste_varkeywords = 0;
  134|  80.4k|    ste->ste_annotations_used = 0;
  135|  80.4k|    ste->ste_loc = loc;
  136|       |
  137|  80.4k|    if (st->st_cur != NULL &&
  ------------------
  |  Branch (137:9): [True: 67.8k, False: 12.6k]
  ------------------
  138|  67.8k|        (st->st_cur->ste_nested ||
  ------------------
  |  Branch (138:10): [True: 17.9k, False: 49.8k]
  ------------------
  139|  49.8k|         ste_uses_fast_locals(st->st_cur)))
  ------------------
  |  Branch (139:10): [True: 16.0k, False: 33.7k]
  ------------------
  140|  34.0k|        ste->ste_nested = 1;
  141|  80.4k|    ste->ste_generator = 0;
  142|  80.4k|    ste->ste_coroutine = 0;
  143|  80.4k|    ste->ste_comprehension = NoComprehension;
  144|  80.4k|    ste->ste_returns_value = 0;
  145|  80.4k|    ste->ste_needs_class_closure = 0;
  146|  80.4k|    ste->ste_parent = (block == InlinedComprehensionBlock) ? st->st_cur : NULL;
  ------------------
  |  Branch (146:23): [True: 3.64k, False: 76.7k]
  ------------------
  147|  80.4k|    ste->ste_comp_iter_target = 0;
  148|  80.4k|    ste->ste_can_see_class_scope = 0;
  149|  80.4k|    ste->ste_comp_iter_expr = 0;
  150|  80.4k|    ste->ste_needs_classdict = 0;
  151|  80.4k|    ste->ste_has_conditional_annotations = 0;
  152|  80.4k|    ste->ste_in_conditional_block = 0;
  153|  80.4k|    ste->ste_in_try_block = 0;
  154|  80.4k|    ste->ste_in_unevaluated_annotation = 0;
  155|  80.4k|    ste->ste_annotation_block = NULL;
  156|       |
  157|  80.4k|    ste->ste_has_docstring = 0;
  158|       |
  159|  80.4k|    ste->ste_method = 0;
  160|  80.4k|    if (st->st_cur != NULL &&
  ------------------
  |  Branch (160:9): [True: 67.8k, False: 12.6k]
  ------------------
  161|  67.8k|        st->st_cur->ste_type == ClassBlock &&
  ------------------
  |  Branch (161:9): [True: 6.29k, False: 61.5k]
  ------------------
  162|  6.29k|        block == FunctionBlock) {
  ------------------
  |  Branch (162:9): [True: 184, False: 6.11k]
  ------------------
  163|    184|        ste->ste_method = 1;
  164|    184|    }
  165|       |
  166|  80.4k|    ste->ste_symbols = PyDict_New();
  167|  80.4k|    ste->ste_varnames = PyList_New(0);
  168|  80.4k|    ste->ste_children = PyList_New(0);
  169|  80.4k|    if (ste->ste_symbols == NULL
  ------------------
  |  Branch (169:9): [True: 0, False: 80.4k]
  ------------------
  170|  80.4k|        || ste->ste_varnames == NULL
  ------------------
  |  Branch (170:12): [True: 0, False: 80.4k]
  ------------------
  171|  80.4k|        || ste->ste_children == NULL)
  ------------------
  |  Branch (171:12): [True: 0, False: 80.4k]
  ------------------
  172|      0|        goto fail;
  173|       |
  174|  80.4k|    if (PyDict_SetItem(st->st_blocks, ste->ste_id, (PyObject *)ste) < 0)
  ------------------
  |  Branch (174:9): [True: 0, False: 80.4k]
  ------------------
  175|      0|        goto fail;
  176|       |
  177|  80.4k|    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|  80.4k|}
symtable.c:symtable_enter_existing_block:
 1459|  96.4k|{
 1460|  96.4k|    if (PyList_Append(st->st_stack, (PyObject *)ste) < 0) {
  ------------------
  |  Branch (1460:9): [True: 0, False: 96.4k]
  ------------------
 1461|      0|        return 0;
 1462|      0|    }
 1463|  96.4k|    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|  96.4k|    if (prev) {
  ------------------
  |  Branch (1468:9): [True: 83.8k, False: 12.6k]
  ------------------
 1469|  83.8k|        ste->ste_comp_iter_expr = prev->ste_comp_iter_expr;
 1470|  83.8k|    }
 1471|       |    /* No need to inherit ste_mangled_names in classes, where all names
 1472|       |     * are mangled. */
 1473|  96.4k|    if (prev && prev->ste_mangled_names != NULL && ste->ste_type != ClassBlock) {
  ------------------
  |  Branch (1473:9): [True: 83.8k, False: 12.6k]
  |  Branch (1473:17): [True: 10.2k, False: 73.5k]
  |  Branch (1473:52): [True: 5.37k, False: 4.88k]
  ------------------
 1474|  5.37k|        ste->ste_mangled_names = Py_NewRef(prev->ste_mangled_names);
  ------------------
  |  |  647|  5.37k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1475|  5.37k|    }
 1476|       |    /* The entry is owned by the stack. Borrow it for st_cur. */
 1477|  96.4k|    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|  96.4k|    if (st->st_future->ff_features & CO_FUTURE_ANNOTATIONS && ste->ste_type == AnnotationBlock) {
  ------------------
  |  |  147|   192k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (1482:9): [True: 10.1k, False: 86.3k]
  |  Branch (1482:63): [True: 5.43k, False: 4.69k]
  ------------------
 1483|  5.43k|        return 1;
 1484|  5.43k|    }
 1485|       |
 1486|  91.0k|    if (ste->ste_type == ModuleBlock)
  ------------------
  |  Branch (1486:9): [True: 12.6k, False: 78.3k]
  ------------------
 1487|  12.6k|        st->st_global = st->st_cur->ste_symbols;
 1488|       |
 1489|  91.0k|    if (add_to_children && prev) {
  ------------------
  |  Branch (1489:9): [True: 78.1k, False: 12.9k]
  |  Branch (1489:28): [True: 65.4k, False: 12.6k]
  ------------------
 1490|  65.4k|        if (PyList_Append(prev->ste_children, (PyObject *)ste) < 0) {
  ------------------
  |  Branch (1490:13): [True: 0, False: 65.4k]
  ------------------
 1491|      0|            symtable_exit_block(st);
 1492|      0|            return 0;
 1493|      0|        }
 1494|  65.4k|    }
 1495|  91.0k|    return 1;
 1496|  91.0k|}
symtable.c:symtable_add_def:
 1678|   192k|{
 1679|   192k|    return symtable_add_def_ctx(st, name, flag, loc,
 1680|   192k|                                flag == USE ? Load : Store);
  ------------------
  |  |  174|   192k|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1680:33): [True: 47.4k, False: 145k]
  ------------------
 1681|   192k|}
symtable.c:symtable_add_def_ctx:
 1662|   600k|{
 1663|   600k|    int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  172|   600k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                  int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  171|   600k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                  int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  176|   600k|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  ------------------
 1664|   600k|    if ((flag & write_mask) && !check_name(st, name, loc, ctx)) {
  ------------------
  |  Branch (1664:9): [True: 255k, False: 345k]
  |  Branch (1664:32): [True: 12, False: 255k]
  ------------------
 1665|     12|        return 0;
 1666|     12|    }
 1667|   600k|    if ((flag & DEF_TYPE_PARAM) && st->st_cur->ste_mangled_names != NULL) {
  ------------------
  |  |  179|   600k|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
  |  Branch (1667:9): [True: 12.9k, False: 587k]
  |  Branch (1667:36): [True: 10.5k, False: 2.43k]
  ------------------
 1668|  10.5k|        if(PySet_Add(st->st_cur->ste_mangled_names, name) < 0) {
  ------------------
  |  Branch (1668:12): [True: 0, False: 10.5k]
  ------------------
 1669|      0|            return 0;
 1670|      0|        }
 1671|  10.5k|    }
 1672|   600k|    return symtable_add_def_helper(st, name, flag, st->st_cur, loc);
 1673|   600k|}
symtable.c:check_name:
 1618|   280k|{
 1619|   280k|    if (ctx == Store && _PyUnicode_EqualToASCIIString(name, "__debug__")) {
  ------------------
  |  Branch (1619:9): [True: 259k, False: 20.8k]
  |  Branch (1619:25): [True: 15, False: 259k]
  ------------------
 1620|     15|        PyErr_SetString(PyExc_SyntaxError, "cannot assign to __debug__");
 1621|     15|        SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   89|     15|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|     15|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1622|     15|        return 0;
 1623|     15|    }
 1624|   280k|    if (ctx == Del && _PyUnicode_EqualToASCIIString(name, "__debug__")) {
  ------------------
  |  Branch (1624:9): [True: 5.25k, False: 274k]
  |  Branch (1624:23): [True: 1, False: 5.25k]
  ------------------
 1625|      1|        PyErr_SetString(PyExc_SyntaxError, "cannot delete __debug__");
 1626|      1|        SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   89|      1|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      1|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1627|      1|        return 0;
 1628|      1|    }
 1629|   280k|    return 1;
 1630|   280k|}
symtable.c:symtable_add_def_helper:
 1549|   602k|{
 1550|   602k|    PyObject *o;
 1551|   602k|    long val = 0;
 1552|   602k|    PyObject *mangled = _Py_MaybeMangle(st->st_private, st->st_cur, name);
 1553|       |
 1554|   602k|    if (!mangled)
  ------------------
  |  Branch (1554:9): [True: 0, False: 602k]
  ------------------
 1555|      0|        return 0;
 1556|   602k|    if ((o = PyDict_GetItemWithError(ste->ste_symbols, mangled))) {
  ------------------
  |  Branch (1556:9): [True: 309k, False: 293k]
  ------------------
 1557|   309k|        val = PyLong_AsLong(o);
 1558|   309k|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1558:13): [True: 0, False: 309k]
  |  Branch (1558:26): [True: 0, False: 0]
  ------------------
 1559|      0|            goto error;
 1560|      0|        }
 1561|   309k|        if ((flag & DEF_PARAM) && (val & DEF_PARAM)) {
  ------------------
  |  |  172|   309k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if ((flag & DEF_PARAM) && (val & DEF_PARAM)) {
  ------------------
  |  |  172|     45|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1561:13): [True: 45, False: 309k]
  |  Branch (1561:35): [True: 45, False: 0]
  ------------------
 1562|       |            /* Is it better to use 'mangled' or 'name' here? */
 1563|     45|            PyErr_Format(PyExc_SyntaxError, DUPLICATE_PARAMETER, name);
  ------------------
  |  |  393|     45|#define DUPLICATE_PARAMETER \
  |  |  394|     45|"duplicate parameter '%U' in function definition"
  ------------------
 1564|     45|            SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   89|     45|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|     45|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1565|     45|            goto error;
 1566|     45|        }
 1567|   309k|        if ((flag & DEF_TYPE_PARAM) && (val & DEF_TYPE_PARAM)) {
  ------------------
  |  |  179|   309k|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
                      if ((flag & DEF_TYPE_PARAM) && (val & DEF_TYPE_PARAM)) {
  ------------------
  |  |  179|      8|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
  |  Branch (1567:13): [True: 8, False: 309k]
  |  Branch (1567:40): [True: 8, False: 0]
  ------------------
 1568|      8|            PyErr_Format(PyExc_SyntaxError, DUPLICATE_TYPE_PARAM, name);
  ------------------
  |  |   77|      8|#define DUPLICATE_TYPE_PARAM \
  |  |   78|      8|"duplicate type parameter '%U'"
  ------------------
 1569|      8|            SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   89|      8|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      8|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1570|      8|            goto error;
 1571|      8|        }
 1572|   309k|    }
 1573|   293k|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1573:14): [True: 0, False: 293k]
  ------------------
 1574|      0|        goto error;
 1575|      0|    }
 1576|       |
 1577|   602k|    int to_add = flag;
 1578|   602k|    if (ste->ste_comp_iter_target) {
  ------------------
  |  Branch (1578:9): [True: 26.0k, False: 576k]
  ------------------
 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|  26.0k|        if ((val | flag) & (DEF_GLOBAL | DEF_NONLOCAL)) {
  ------------------
  |  |  170|  26.0k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                      if ((val | flag) & (DEF_GLOBAL | DEF_NONLOCAL)) {
  ------------------
  |  |  173|  26.0k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (1584:13): [True: 4, False: 26.0k]
  ------------------
 1585|      4|            PyErr_Format(PyExc_SyntaxError,
 1586|      4|                NAMED_EXPR_COMP_INNER_LOOP_CONFLICT, name);
  ------------------
  |  |   59|      4|#define NAMED_EXPR_COMP_INNER_LOOP_CONFLICT \
  |  |   60|      4|"comprehension inner loop cannot rebind assignment expression target '%U'"
  ------------------
 1587|      4|            SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   89|      4|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      4|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1588|      4|            goto error;
 1589|      4|        }
 1590|  26.0k|        to_add |= DEF_COMP_ITER;
  ------------------
  |  |  178|  26.0k|#define DEF_COMP_ITER (2<<8)     /* this name is a comprehension iteration variable */
  ------------------
 1591|  26.0k|    }
 1592|   602k|    if (!symtable_add_flag(ste->ste_symbols, mangled, to_add)) {
  ------------------
  |  Branch (1592:9): [True: 0, False: 602k]
  ------------------
 1593|      0|        goto error;
 1594|      0|    }
 1595|       |
 1596|   602k|    if (flag & DEF_PARAM) {
  ------------------
  |  |  172|   602k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1596:9): [True: 51.4k, False: 551k]
  ------------------
 1597|  51.4k|        if (PyList_Append(ste->ste_varnames, mangled) < 0)
  ------------------
  |  Branch (1597:13): [True: 0, False: 51.4k]
  ------------------
 1598|      0|            goto error;
 1599|  51.4k|    }
 1600|   551k|    else if (flag & DEF_GLOBAL) {
  ------------------
  |  |  170|   551k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (1600:14): [True: 2.46k, False: 548k]
  ------------------
 1601|       |        /* XXX need to update DEF_GLOBAL for other flags too;
 1602|       |           perhaps only DEF_FREE_GLOBAL */
 1603|  2.46k|        if (!symtable_add_flag(st->st_global, mangled, flag)) {
  ------------------
  |  Branch (1603:13): [True: 0, False: 2.46k]
  ------------------
 1604|      0|            goto error;
 1605|      0|        }
 1606|  2.46k|    }
 1607|   602k|    Py_DECREF(mangled);
  ------------------
  |  |  430|   602k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   602k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   602k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1608|   602k|    return 1;
 1609|       |
 1610|     57|error:
 1611|     57|    Py_DECREF(mangled);
  ------------------
  |  |  430|     57|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     57|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     57|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1612|     57|    return 0;
 1613|   602k|}
symtable.c:symtable_visit_stmt:
 1915|   161k|{
 1916|   161k|    ENTER_RECURSIVE();
  ------------------
  |  | 1804|   161k|#define ENTER_RECURSIVE() \
  |  | 1805|   161k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (1805:5): [True: 0, False: 161k]
  |  |  ------------------
  |  | 1806|      0|    return 0; \
  |  | 1807|      0|}
  ------------------
 1917|   161k|    switch (s->kind) {
  ------------------
  |  Branch (1917:13): [True: 161k, False: 0]
  ------------------
 1918|  4.54k|    case FunctionDef_kind: {
  ------------------
  |  Branch (1918:5): [True: 4.54k, False: 157k]
  ------------------
 1919|  4.54k|        if (!symtable_add_def(st, s->v.FunctionDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |  171|  4.54k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, s->v.FunctionDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |   86|  4.54k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  4.54k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  4.54k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  4.54k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  4.54k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  4.54k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (1919:13): [True: 0, False: 4.54k]
  ------------------
 1920|      0|            return 0;
 1921|  4.54k|        if (s->v.FunctionDef.args->defaults)
  ------------------
  |  Branch (1921:13): [True: 4.54k, False: 0]
  ------------------
 1922|  4.54k|            VISIT_SEQ(st, expr, s->v.FunctionDef.args->defaults);
  ------------------
  |  | 1757|  4.54k|    do { \
  |  | 1758|  4.54k|        Py_ssize_t i; \
  |  | 1759|  4.54k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  4.75k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  4.75k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  9.51k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 4.75k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 216, False: 4.54k]
  |  |  ------------------
  |  | 1761|    216|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    216|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    216|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    216|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 215]
  |  |  ------------------
  |  | 1763|    216|                return 0;                 \
  |  | 1764|    216|        } \
  |  | 1765|  4.54k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 4.54k]
  |  |  ------------------
  ------------------
 1923|  4.54k|        if (s->v.FunctionDef.args->kw_defaults)
  ------------------
  |  Branch (1923:13): [True: 4.54k, False: 0]
  ------------------
 1924|  4.54k|            VISIT_SEQ_WITH_NULL(st, expr, s->v.FunctionDef.args->kw_defaults);
  ------------------
  |  | 1779|  4.54k|    do { \
  |  | 1780|  4.54k|        int i = 0; \
  |  | 1781|  4.54k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1782|  5.16k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.16k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  10.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 5.16k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1782:21): [True: 623, False: 4.54k]
  |  |  ------------------
  |  | 1783|    623|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    623|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    623|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1784|    623|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1784:17): [True: 479, False: 144]
  |  |  ------------------
  |  | 1785|    623|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1785:17): [True: 1, False: 143]
  |  |  ------------------
  |  | 1786|    144|                return 0;             \
  |  | 1787|    144|        } \
  |  | 1788|  4.54k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1788:13): [Folded, False: 4.54k]
  |  |  ------------------
  ------------------
 1925|  4.54k|        if (s->v.FunctionDef.decorator_list)
  ------------------
  |  Branch (1925:13): [True: 138, False: 4.40k]
  ------------------
 1926|    138|            VISIT_SEQ(st, expr, s->v.FunctionDef.decorator_list);
  ------------------
  |  | 1757|    138|    do { \
  |  | 1758|    138|        Py_ssize_t i; \
  |  | 1759|    138|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|    568|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    568|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.13k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 568]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 430, False: 138]
  |  |  ------------------
  |  | 1761|    430|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    430|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    430|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    430|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 430]
  |  |  ------------------
  |  | 1763|    430|                return 0;                 \
  |  | 1764|    430|        } \
  |  | 1765|    138|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 138]
  |  |  ------------------
  ------------------
 1927|  4.54k|        if (asdl_seq_LEN(s->v.FunctionDef.type_params) > 0) {
  ------------------
  |  |   83|  4.54k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  9.08k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 3.89k, False: 652]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1927:13): [True: 652, False: 3.89k]
  ------------------
 1928|    652|            if (!symtable_enter_type_param_block(
  ------------------
  |  Branch (1928:17): [True: 0, False: 652]
  ------------------
 1929|    652|                    st, s->v.FunctionDef.name,
 1930|    652|                    (void *)s->v.FunctionDef.type_params,
 1931|    652|                    s->v.FunctionDef.args->defaults != NULL,
 1932|    652|                    has_kwonlydefaults(s->v.FunctionDef.args->kwonlyargs,
 1933|    652|                                       s->v.FunctionDef.args->kw_defaults),
 1934|    652|                    s->kind,
 1935|    652|                    LOCATION(s))) {
  ------------------
  |  |   86|    652|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    652|    (_Py_SourceLocation){ \
  |  |  |  |   59|    652|               .lineno = (n)->lineno, \
  |  |  |  |   60|    652|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    652|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    652|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1936|      0|                return 0;
 1937|      0|            }
 1938|    652|            VISIT_SEQ(st, type_param, s->v.FunctionDef.type_params);
  ------------------
  |  | 1757|    652|    do { \
  |  | 1758|    652|        Py_ssize_t i; \
  |  | 1759|    652|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  1.81k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.81k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.62k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.81k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 1.16k, False: 651]
  |  |  ------------------
  |  | 1761|  1.16k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.16k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.16k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  1.16k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 1.16k]
  |  |  ------------------
  |  | 1763|  1.16k|                return 0;                 \
  |  | 1764|  1.16k|        } \
  |  | 1765|    652|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 651]
  |  |  ------------------
  ------------------
 1939|    652|        }
 1940|  4.54k|        PySTEntryObject *new_ste = ste_new(st, s->v.FunctionDef.name, FunctionBlock, (void *)s,
 1941|  4.54k|                                           LOCATION(s));
  ------------------
  |  |   86|  4.54k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  4.54k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  4.54k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  4.54k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  4.54k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  4.54k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1942|  4.54k|        if (!new_ste) {
  ------------------
  |  Branch (1942:13): [True: 0, False: 4.54k]
  ------------------
 1943|      0|            return 0;
 1944|      0|        }
 1945|       |
 1946|  4.54k|        if (_PyAST_GetDocString(s->v.FunctionDef.body)) {
  ------------------
  |  Branch (1946:13): [True: 289, False: 4.25k]
  ------------------
 1947|    289|            new_ste->ste_has_docstring = 1;
 1948|    289|        }
 1949|       |
 1950|  4.54k|        if (!symtable_visit_annotations(st, s, s->v.FunctionDef.args,
  ------------------
  |  Branch (1950:13): [True: 4, False: 4.53k]
  ------------------
 1951|  4.54k|                                        s->v.FunctionDef.returns, new_ste)) {
 1952|      4|            Py_DECREF(new_ste);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1953|      4|            return 0;
 1954|      4|        }
 1955|  4.53k|        if (!symtable_enter_existing_block(st, new_ste, /* add_to_children */true)) {
  ------------------
  |  Branch (1955:13): [True: 0, False: 4.53k]
  ------------------
 1956|      0|            Py_DECREF(new_ste);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1957|      0|            return 0;
 1958|      0|        }
 1959|  4.53k|        Py_DECREF(new_ste);
  ------------------
  |  |  430|  4.53k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1960|  4.53k|        VISIT(st, arguments, s->v.FunctionDef.args);
  ------------------
  |  | 1750|  4.53k|    do { \
  |  | 1751|  4.53k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 17, False: 4.52k]
  |  |  ------------------
  |  | 1752|     17|            return 0; \
  |  | 1753|     17|        } \
  |  | 1754|  4.53k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 4.52k]
  |  |  ------------------
  ------------------
 1961|  4.52k|        VISIT_SEQ(st, stmt, s->v.FunctionDef.body);
  ------------------
  |  | 1757|  4.52k|    do { \
  |  | 1758|  4.52k|        Py_ssize_t i; \
  |  | 1759|  4.52k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  13.3k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  13.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  26.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 13.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 8.87k, False: 4.51k]
  |  |  ------------------
  |  | 1761|  8.87k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  8.87k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  8.87k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  8.87k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 4, False: 8.86k]
  |  |  ------------------
  |  | 1763|  8.87k|                return 0;                 \
  |  | 1764|  8.87k|        } \
  |  | 1765|  4.52k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 4.51k]
  |  |  ------------------
  ------------------
 1962|  4.51k|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (1962:13): [True: 0, False: 4.51k]
  ------------------
 1963|      0|            return 0;
 1964|  4.51k|        if (asdl_seq_LEN(s->v.FunctionDef.type_params) > 0) {
  ------------------
  |  |   83|  4.51k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  9.03k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 3.86k, False: 651]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1964:13): [True: 651, False: 3.86k]
  ------------------
 1965|    651|            if (!symtable_exit_block(st))
  ------------------
  |  Branch (1965:17): [True: 0, False: 651]
  ------------------
 1966|      0|                return 0;
 1967|    651|        }
 1968|  4.51k|        break;
 1969|  4.51k|    }
 1970|  12.8k|    case ClassDef_kind: {
  ------------------
  |  Branch (1970:5): [True: 12.8k, False: 148k]
  ------------------
 1971|  12.8k|        PyObject *tmp;
 1972|  12.8k|        if (!symtable_add_def(st, s->v.ClassDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |  171|  12.8k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, s->v.ClassDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |   86|  12.8k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  12.8k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  12.8k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  12.8k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  12.8k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  12.8k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (1972:13): [True: 1, False: 12.8k]
  ------------------
 1973|      1|            return 0;
 1974|  12.8k|        if (s->v.ClassDef.decorator_list)
  ------------------
  |  Branch (1974:13): [True: 259, False: 12.5k]
  ------------------
 1975|    259|            VISIT_SEQ(st, expr, s->v.ClassDef.decorator_list);
  ------------------
  |  | 1757|    259|    do { \
  |  | 1758|    259|        Py_ssize_t i; \
  |  | 1759|    259|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|    684|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    684|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.36k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 684]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 426, False: 258]
  |  |  ------------------
  |  | 1761|    426|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    426|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    426|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    426|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 425]
  |  |  ------------------
  |  | 1763|    426|                return 0;                 \
  |  | 1764|    426|        } \
  |  | 1765|    259|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 258]
  |  |  ------------------
  ------------------
 1976|  12.8k|        tmp = st->st_private;
 1977|  12.8k|        if (asdl_seq_LEN(s->v.ClassDef.type_params) > 0) {
  ------------------
  |  |   83|  12.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  25.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 7.94k, False: 4.88k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1977:13): [True: 4.88k, False: 7.94k]
  ------------------
 1978|  4.88k|            if (!symtable_enter_type_param_block(st, s->v.ClassDef.name,
  ------------------
  |  Branch (1978:17): [True: 0, False: 4.88k]
  ------------------
 1979|  4.88k|                                                (void *)s->v.ClassDef.type_params,
 1980|  4.88k|                                                false, false, s->kind,
 1981|  4.88k|                                                LOCATION(s))) {
  ------------------
  |  |   86|  4.88k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  4.88k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  4.88k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  4.88k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  4.88k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  4.88k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1982|      0|                return 0;
 1983|      0|            }
 1984|  4.88k|            st->st_private = s->v.ClassDef.name;
 1985|  4.88k|            st->st_cur->ste_mangled_names = PySet_New(NULL);
 1986|  4.88k|            if (!st->st_cur->ste_mangled_names) {
  ------------------
  |  Branch (1986:17): [True: 0, False: 4.88k]
  ------------------
 1987|      0|                return 0;
 1988|      0|            }
 1989|  4.88k|            VISIT_SEQ(st, type_param, s->v.ClassDef.type_params);
  ------------------
  |  | 1757|  4.88k|    do { \
  |  | 1758|  4.88k|        Py_ssize_t i; \
  |  | 1759|  4.88k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  15.4k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  15.4k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  30.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 15.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 10.5k, False: 4.88k]
  |  |  ------------------
  |  | 1761|  10.5k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  10.5k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  10.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  10.5k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 3, False: 10.5k]
  |  |  ------------------
  |  | 1763|  10.5k|                return 0;                 \
  |  | 1764|  10.5k|        } \
  |  | 1765|  4.88k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 4.88k]
  |  |  ------------------
  ------------------
 1990|  4.88k|        }
 1991|  12.8k|        VISIT_SEQ(st, expr, s->v.ClassDef.bases);
  ------------------
  |  | 1757|  12.8k|    do { \
  |  | 1758|  12.8k|        Py_ssize_t i; \
  |  | 1759|  12.8k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  13.4k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  13.4k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  26.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 12.1k, False: 1.28k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 654, False: 12.8k]
  |  |  ------------------
  |  | 1761|    654|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    654|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    654|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    654|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 653]
  |  |  ------------------
  |  | 1763|    654|                return 0;                 \
  |  | 1764|    654|        } \
  |  | 1765|  12.8k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 12.8k]
  |  |  ------------------
  ------------------
 1992|  12.8k|        if (!check_keywords(st, s->v.ClassDef.keywords)) {
  ------------------
  |  Branch (1992:13): [True: 0, False: 12.8k]
  ------------------
 1993|      0|            return 0;
 1994|      0|        }
 1995|  12.8k|        VISIT_SEQ(st, keyword, s->v.ClassDef.keywords);
  ------------------
  |  | 1757|  12.8k|    do { \
  |  | 1758|  12.8k|        Py_ssize_t i; \
  |  | 1759|  12.8k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  13.1k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  13.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  26.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 12.5k, False: 562]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 284, False: 12.8k]
  |  |  ------------------
  |  | 1761|    284|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    284|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    284|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    284|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 284]
  |  |  ------------------
  |  | 1763|    284|                return 0;                 \
  |  | 1764|    284|        } \
  |  | 1765|  12.8k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 12.8k]
  |  |  ------------------
  ------------------
 1996|  12.8k|        if (!symtable_enter_block(st, s->v.ClassDef.name, ClassBlock,
  ------------------
  |  Branch (1996:13): [True: 0, False: 12.8k]
  ------------------
 1997|  12.8k|                                  (void *)s, LOCATION(s))) {
  ------------------
  |  |   86|  12.8k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  12.8k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  12.8k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  12.8k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  12.8k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  12.8k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1998|      0|            return 0;
 1999|      0|        }
 2000|  12.8k|        st->st_private = s->v.ClassDef.name;
 2001|  12.8k|        if (asdl_seq_LEN(s->v.ClassDef.type_params) > 0) {
  ------------------
  |  |   83|  12.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  25.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 7.94k, False: 4.88k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2001:13): [True: 4.88k, False: 7.94k]
  ------------------
 2002|  4.88k|            if (!symtable_add_def(st, &_Py_ID(__type_params__),
  ------------------
  |  |  951|  4.88k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.88k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.88k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2002:17): [True: 0, False: 4.88k]
  ------------------
 2003|  4.88k|                                  DEF_LOCAL, LOCATION(s))) {
  ------------------
  |  |  171|  4.88k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                                                DEF_LOCAL, LOCATION(s))) {
  ------------------
  |  |   86|  4.88k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  4.88k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  4.88k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  4.88k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  4.88k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  4.88k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2004|      0|                return 0;
 2005|      0|            }
 2006|  4.88k|            _Py_DECLARE_STR(type_params, ".type_params");
 2007|  4.88k|            if (!symtable_add_def(st, &_Py_STR(type_params),
  ------------------
  |  |  953|  4.88k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.88k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.88k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2007:17): [True: 0, False: 4.88k]
  ------------------
 2008|  4.88k|                                  USE, LOCATION(s))) {
  ------------------
  |  |  174|  4.88k|#define USE (2<<3)               /* name is used */
  ------------------
                                                USE, LOCATION(s))) {
  ------------------
  |  |   86|  4.88k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  4.88k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  4.88k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  4.88k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  4.88k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  4.88k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2009|      0|                return 0;
 2010|      0|            }
 2011|  4.88k|        }
 2012|       |
 2013|  12.8k|        if (_PyAST_GetDocString(s->v.ClassDef.body)) {
  ------------------
  |  Branch (2013:13): [True: 2.37k, False: 10.4k]
  ------------------
 2014|  2.37k|            st->st_cur->ste_has_docstring = 1;
 2015|  2.37k|        }
 2016|       |
 2017|  12.8k|        VISIT_SEQ(st, stmt, s->v.ClassDef.body);
  ------------------
  |  | 1757|  12.8k|    do { \
  |  | 1758|  12.8k|        Py_ssize_t i; \
  |  | 1759|  12.8k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  47.0k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  47.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  94.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 47.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 34.2k, False: 12.8k]
  |  |  ------------------
  |  | 1761|  34.2k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  34.2k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  34.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  34.2k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 11, False: 34.2k]
  |  |  ------------------
  |  | 1763|  34.2k|                return 0;                 \
  |  | 1764|  34.2k|        } \
  |  | 1765|  12.8k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 12.8k]
  |  |  ------------------
  ------------------
 2018|  12.8k|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (2018:13): [True: 0, False: 12.8k]
  ------------------
 2019|      0|            return 0;
 2020|  12.8k|        if (asdl_seq_LEN(s->v.ClassDef.type_params) > 0) {
  ------------------
  |  |   83|  12.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  25.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 7.92k, False: 4.88k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2020:13): [True: 4.88k, False: 7.92k]
  ------------------
 2021|  4.88k|            if (!symtable_exit_block(st))
  ------------------
  |  Branch (2021:17): [True: 0, False: 4.88k]
  ------------------
 2022|      0|                return 0;
 2023|  4.88k|        }
 2024|  12.8k|        st->st_private = tmp;
 2025|  12.8k|        break;
 2026|  12.8k|    }
 2027|  2.35k|    case TypeAlias_kind: {
  ------------------
  |  Branch (2027:5): [True: 2.35k, False: 159k]
  ------------------
 2028|  2.35k|        VISIT(st, expr, s->v.TypeAlias.name);
  ------------------
  |  | 1750|  2.35k|    do { \
  |  | 1751|  2.35k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 2.35k]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|  2.35k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 2.35k]
  |  |  ------------------
  ------------------
 2029|  2.35k|        assert(s->v.TypeAlias.name->kind == Name_kind);
  ------------------
  |  Branch (2029:9): [True: 2.35k, False: 0]
  ------------------
 2030|  2.35k|        PyObject *name = s->v.TypeAlias.name->v.Name.id;
 2031|  2.35k|        int is_in_class = st->st_cur->ste_type == ClassBlock;
 2032|  2.35k|        int is_generic = asdl_seq_LEN(s->v.TypeAlias.type_params) > 0;
  ------------------
  |  |   83|  2.35k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  4.70k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2.06k, False: 286]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2033|  2.35k|        if (is_generic) {
  ------------------
  |  Branch (2033:13): [True: 286, False: 2.06k]
  ------------------
 2034|    286|            if (!symtable_enter_type_param_block(
  ------------------
  |  Branch (2034:17): [True: 0, False: 286]
  ------------------
 2035|    286|                    st, name,
 2036|    286|                    (void *)s->v.TypeAlias.type_params,
 2037|    286|                    false, false, s->kind,
 2038|    286|                    LOCATION(s))) {
  ------------------
  |  |   86|    286|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    286|    (_Py_SourceLocation){ \
  |  |  |  |   59|    286|               .lineno = (n)->lineno, \
  |  |  |  |   60|    286|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    286|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    286|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2039|      0|                return 0;
 2040|      0|            }
 2041|    286|            VISIT_SEQ(st, type_param, s->v.TypeAlias.type_params);
  ------------------
  |  | 1757|    286|    do { \
  |  | 1758|    286|        Py_ssize_t i; \
  |  | 1759|    286|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|    878|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    878|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.75k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 878]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 595, False: 283]
  |  |  ------------------
  |  | 1761|    595|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    595|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    595|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    595|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 3, False: 592]
  |  |  ------------------
  |  | 1763|    595|                return 0;                 \
  |  | 1764|    595|        } \
  |  | 1765|    286|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 283]
  |  |  ------------------
  ------------------
 2042|    286|        }
 2043|  2.34k|        if (!symtable_enter_block(st, name, TypeAliasBlock,
  ------------------
  |  Branch (2043:13): [True: 0, False: 2.34k]
  ------------------
 2044|  2.34k|                                  (void *)s, LOCATION(s))) {
  ------------------
  |  |   86|  2.34k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  2.34k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  2.34k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  2.34k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  2.34k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  2.34k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2045|      0|            return 0;
 2046|      0|        }
 2047|  2.34k|        st->st_cur->ste_can_see_class_scope = is_in_class;
 2048|  2.34k|        if (is_in_class && !symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(s->v.TypeAlias.value))) {
  ------------------
  |  |  951|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (is_in_class && !symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(s->v.TypeAlias.value))) {
  ------------------
  |  |  174|     18|#define USE (2<<3)               /* name is used */
  ------------------
                      if (is_in_class && !symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(s->v.TypeAlias.value))) {
  ------------------
  |  |   86|     18|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|     18|    (_Py_SourceLocation){ \
  |  |  |  |   59|     18|               .lineno = (n)->lineno, \
  |  |  |  |   60|     18|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|     18|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|     18|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2048:13): [True: 18, False: 2.32k]
  |  Branch (2048:28): [True: 0, False: 18]
  ------------------
 2049|      0|            return 0;
 2050|      0|        }
 2051|  2.34k|        VISIT(st, expr, s->v.TypeAlias.value);
  ------------------
  |  | 1750|  2.34k|    do { \
  |  | 1751|  2.34k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 2.34k]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|  2.34k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 2.34k]
  |  |  ------------------
  ------------------
 2052|  2.34k|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (2052:13): [True: 0, False: 2.34k]
  ------------------
 2053|      0|            return 0;
 2054|  2.34k|        if (is_generic) {
  ------------------
  |  Branch (2054:13): [True: 283, False: 2.06k]
  ------------------
 2055|    283|            if (!symtable_exit_block(st))
  ------------------
  |  Branch (2055:17): [True: 0, False: 283]
  ------------------
 2056|      0|                return 0;
 2057|    283|        }
 2058|  2.34k|        break;
 2059|  2.34k|    }
 2060|  2.34k|    case Return_kind:
  ------------------
  |  Branch (2060:5): [True: 915, False: 160k]
  ------------------
 2061|    915|        if (s->v.Return.value) {
  ------------------
  |  Branch (2061:13): [True: 495, False: 420]
  ------------------
 2062|    495|            VISIT(st, expr, s->v.Return.value);
  ------------------
  |  | 1750|    495|    do { \
  |  | 1751|    495|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 494]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|    495|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 494]
  |  |  ------------------
  ------------------
 2063|    494|            st->st_cur->ste_returns_value = 1;
 2064|    494|        }
 2065|    914|        break;
 2066|    978|    case Delete_kind:
  ------------------
  |  Branch (2066:5): [True: 978, False: 160k]
  ------------------
 2067|    978|        VISIT_SEQ(st, expr, s->v.Delete.targets);
  ------------------
  |  | 1757|    978|    do { \
  |  | 1758|    978|        Py_ssize_t i; \
  |  | 1759|    978|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  7.56k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  7.56k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  15.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 7.56k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 6.58k, False: 977]
  |  |  ------------------
  |  | 1761|  6.58k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  6.58k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  6.58k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  6.58k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 6.58k]
  |  |  ------------------
  |  | 1763|  6.58k|                return 0;                 \
  |  | 1764|  6.58k|        } \
  |  | 1765|    978|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 977]
  |  |  ------------------
  ------------------
 2068|    977|        break;
 2069|  6.69k|    case Assign_kind:
  ------------------
  |  Branch (2069:5): [True: 6.69k, False: 154k]
  ------------------
 2070|  6.69k|        VISIT_SEQ(st, expr, s->v.Assign.targets);
  ------------------
  |  | 1757|  6.69k|    do { \
  |  | 1758|  6.69k|        Py_ssize_t i; \
  |  | 1759|  6.69k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  50.9k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  50.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|   101k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 50.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 44.2k, False: 6.69k]
  |  |  ------------------
  |  | 1761|  44.2k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  44.2k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  44.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  44.2k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 44.2k]
  |  |  ------------------
  |  | 1763|  44.2k|                return 0;                 \
  |  | 1764|  44.2k|        } \
  |  | 1765|  6.69k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 6.69k]
  |  |  ------------------
  ------------------
 2071|  6.69k|        VISIT(st, expr, s->v.Assign.value);
  ------------------
  |  | 1750|  6.69k|    do { \
  |  | 1751|  6.69k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 7, False: 6.68k]
  |  |  ------------------
  |  | 1752|      7|            return 0; \
  |  | 1753|      7|        } \
  |  | 1754|  6.69k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 6.68k]
  |  |  ------------------
  ------------------
 2072|  6.68k|        break;
 2073|  24.3k|    case AnnAssign_kind:
  ------------------
  |  Branch (2073:5): [True: 24.3k, False: 137k]
  ------------------
 2074|  24.3k|        st->st_cur->ste_annotations_used = 1;
 2075|  24.3k|        if (s->v.AnnAssign.target->kind == Name_kind) {
  ------------------
  |  Branch (2075:13): [True: 23.4k, False: 949]
  ------------------
 2076|  23.4k|            expr_ty e_name = s->v.AnnAssign.target;
 2077|  23.4k|            long cur = symtable_lookup(st, e_name->v.Name.id);
 2078|  23.4k|            if (cur < 0) {
  ------------------
  |  Branch (2078:17): [True: 0, False: 23.4k]
  ------------------
 2079|      0|                return 0;
 2080|      0|            }
 2081|  23.4k|            if ((cur & (DEF_GLOBAL | DEF_NONLOCAL))
  ------------------
  |  |  170|  23.4k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                          if ((cur & (DEF_GLOBAL | DEF_NONLOCAL))
  ------------------
  |  |  173|  23.4k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (2081:17): [True: 76, False: 23.3k]
  ------------------
 2082|     76|                && (st->st_cur->ste_symbols != st->st_global)
  ------------------
  |  Branch (2082:20): [True: 3, False: 73]
  ------------------
 2083|      3|                && s->v.AnnAssign.simple) {
  ------------------
  |  Branch (2083:20): [True: 3, False: 0]
  ------------------
 2084|      3|                PyErr_Format(PyExc_SyntaxError,
 2085|      3|                             cur & DEF_GLOBAL ? GLOBAL_ANNOT : NONLOCAL_ANNOT,
  ------------------
  |  |  170|      3|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                                           cur & DEF_GLOBAL ? GLOBAL_ANNOT : NONLOCAL_ANNOT,
  ------------------
  |  |   36|      3|#define GLOBAL_ANNOT \
  |  |   37|      3|"annotated name '%U' can't be global"
  ------------------
                                           cur & DEF_GLOBAL ? GLOBAL_ANNOT : NONLOCAL_ANNOT,
  ------------------
  |  |   39|      3|#define NONLOCAL_ANNOT \
  |  |   40|      3|"annotated name '%U' can't be nonlocal"
  ------------------
  |  Branch (2085:30): [True: 3, False: 0]
  ------------------
 2086|      3|                             e_name->v.Name.id);
 2087|      3|                SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   89|      3|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      3|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2088|      3|                return 0;
 2089|      3|            }
 2090|  23.4k|            if (s->v.AnnAssign.simple &&
  ------------------
  |  Branch (2090:17): [True: 23.0k, False: 429]
  ------------------
 2091|  23.0k|                !symtable_add_def(st, e_name->v.Name.id,
  ------------------
  |  Branch (2091:17): [True: 1, False: 23.0k]
  ------------------
 2092|  23.0k|                                  DEF_ANNOT | DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |  177|  23.0k|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
                                                DEF_ANNOT | DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |  171|  23.0k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                                                DEF_ANNOT | DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |   86|  23.0k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  23.0k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  23.0k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  23.0k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  23.0k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  23.0k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2093|      1|                return 0;
 2094|      1|            }
 2095|  23.4k|            else {
 2096|  23.4k|                if (s->v.AnnAssign.value
  ------------------
  |  Branch (2096:21): [True: 1.59k, False: 21.8k]
  ------------------
 2097|  1.59k|                    && !symtable_add_def(st, e_name->v.Name.id, DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |  171|  1.59k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                                  && !symtable_add_def(st, e_name->v.Name.id, DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |   86|  1.59k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.59k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.59k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.59k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.59k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.59k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2097:24): [True: 0, False: 1.59k]
  ------------------
 2098|      0|                    return 0;
 2099|      0|                }
 2100|  23.4k|            }
 2101|  23.4k|        }
 2102|    949|        else {
 2103|    949|            VISIT(st, expr, s->v.AnnAssign.target);
  ------------------
  |  | 1750|    949|    do { \
  |  | 1751|    949|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 948]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|    949|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 948]
  |  |  ------------------
  ------------------
 2104|    949|        }
 2105|  24.3k|        if (!symtable_visit_annotation(st, s->v.AnnAssign.annotation,
  ------------------
  |  Branch (2105:13): [True: 26, False: 24.3k]
  ------------------
 2106|  24.3k|                                       (void *)((uintptr_t)st->st_cur->ste_id + 1))) {
 2107|     26|            return 0;
 2108|     26|        }
 2109|       |
 2110|  24.3k|        if (s->v.AnnAssign.value) {
  ------------------
  |  Branch (2110:13): [True: 1.71k, False: 22.6k]
  ------------------
 2111|  1.71k|            VISIT(st, expr, s->v.AnnAssign.value);
  ------------------
  |  | 1750|  1.71k|    do { \
  |  | 1751|  1.71k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 1.71k]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|  1.71k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 1.71k]
  |  |  ------------------
  ------------------
 2112|  1.71k|        }
 2113|  24.3k|        break;
 2114|  24.3k|    case AugAssign_kind: {
  ------------------
  |  Branch (2114:5): [True: 5.20k, False: 156k]
  ------------------
 2115|  5.20k|        VISIT(st, expr, s->v.AugAssign.target);
  ------------------
  |  | 1750|  5.20k|    do { \
  |  | 1751|  5.20k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 5.19k]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|  5.20k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 5.19k]
  |  |  ------------------
  ------------------
 2116|  5.19k|        VISIT(st, expr, s->v.AugAssign.value);
  ------------------
  |  | 1750|  5.19k|    do { \
  |  | 1751|  5.19k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 2, False: 5.19k]
  |  |  ------------------
  |  | 1752|      2|            return 0; \
  |  | 1753|      2|        } \
  |  | 1754|  5.19k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 5.19k]
  |  |  ------------------
  ------------------
 2117|  5.19k|        break;
 2118|  5.19k|    }
 2119|  5.19k|    case For_kind: {
  ------------------
  |  Branch (2119:5): [True: 296, False: 161k]
  ------------------
 2120|    296|        VISIT(st, expr, s->v.For.target);
  ------------------
  |  | 1750|    296|    do { \
  |  | 1751|    296|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 296]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|    296|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 296]
  |  |  ------------------
  ------------------
 2121|    296|        VISIT(st, expr, s->v.For.iter);
  ------------------
  |  | 1750|    296|    do { \
  |  | 1751|    296|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 296]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|    296|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 296]
  |  |  ------------------
  ------------------
 2122|    296|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1791|    296|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1792|    296|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2123|    296|        VISIT_SEQ(st, stmt, s->v.For.body);
  ------------------
  |  | 1757|    296|    do { \
  |  | 1758|    296|        Py_ssize_t i; \
  |  | 1759|    296|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  1.77k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.77k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.55k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.77k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 1.48k, False: 294]
  |  |  ------------------
  |  | 1761|  1.48k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.48k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.48k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  1.48k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 2, False: 1.48k]
  |  |  ------------------
  |  | 1763|  1.48k|                return 0;                 \
  |  | 1764|  1.48k|        } \
  |  | 1765|    296|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 294]
  |  |  ------------------
  ------------------
 2124|    294|        if (s->v.For.orelse)
  ------------------
  |  Branch (2124:13): [True: 130, False: 164]
  ------------------
 2125|    130|            VISIT_SEQ(st, stmt, s->v.For.orelse);
  ------------------
  |  | 1757|    130|    do { \
  |  | 1758|    130|        Py_ssize_t i; \
  |  | 1759|    130|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|    406|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    406|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    812|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 406]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 276, False: 130]
  |  |  ------------------
  |  | 1761|    276|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    276|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    276|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    276|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 276]
  |  |  ------------------
  |  | 1763|    276|                return 0;                 \
  |  | 1764|    276|        } \
  |  | 1765|    130|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 130]
  |  |  ------------------
  ------------------
 2126|    294|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1795|    294|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2127|    294|        break;
 2128|    294|    }
 2129|  1.96k|    case While_kind: {
  ------------------
  |  Branch (2129:5): [True: 1.96k, False: 159k]
  ------------------
 2130|  1.96k|        VISIT(st, expr, s->v.While.test);
  ------------------
  |  | 1750|  1.96k|    do { \
  |  | 1751|  1.96k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 1.96k]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|  1.96k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 1.96k]
  |  |  ------------------
  ------------------
 2131|  1.96k|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1791|  1.96k|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1792|  1.96k|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2132|  1.96k|        VISIT_SEQ(st, stmt, s->v.While.body);
  ------------------
  |  | 1757|  1.96k|    do { \
  |  | 1758|  1.96k|        Py_ssize_t i; \
  |  | 1759|  1.96k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  11.6k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  11.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  23.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 11.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 9.66k, False: 1.95k]
  |  |  ------------------
  |  | 1761|  9.66k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  9.66k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  9.66k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  9.66k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 2, False: 9.66k]
  |  |  ------------------
  |  | 1763|  9.66k|                return 0;                 \
  |  | 1764|  9.66k|        } \
  |  | 1765|  1.96k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 1.95k]
  |  |  ------------------
  ------------------
 2133|  1.95k|        if (s->v.While.orelse)
  ------------------
  |  Branch (2133:13): [True: 217, False: 1.74k]
  ------------------
 2134|    217|            VISIT_SEQ(st, stmt, s->v.While.orelse);
  ------------------
  |  | 1757|    217|    do { \
  |  | 1758|    217|        Py_ssize_t i; \
  |  | 1759|    217|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|    694|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    694|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.38k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 694]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 478, False: 216]
  |  |  ------------------
  |  | 1761|    478|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    478|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    478|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    478|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 477]
  |  |  ------------------
  |  | 1763|    478|                return 0;                 \
  |  | 1764|    478|        } \
  |  | 1765|    217|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 216]
  |  |  ------------------
  ------------------
 2135|  1.95k|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1795|  1.95k|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2136|  1.95k|        break;
 2137|  1.95k|    }
 2138|  1.22k|    case If_kind: {
  ------------------
  |  Branch (2138:5): [True: 1.22k, False: 160k]
  ------------------
 2139|       |        /* XXX if 0: and lookup_yield() hacks */
 2140|  1.22k|        VISIT(st, expr, s->v.If.test);
  ------------------
  |  | 1750|  1.22k|    do { \
  |  | 1751|  1.22k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 1.22k]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|  1.22k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 1.22k]
  |  |  ------------------
  ------------------
 2141|  1.22k|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1791|  1.22k|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1792|  1.22k|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2142|  1.22k|        VISIT_SEQ(st, stmt, s->v.If.body);
  ------------------
  |  | 1757|  1.22k|    do { \
  |  | 1758|  1.22k|        Py_ssize_t i; \
  |  | 1759|  1.22k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  2.87k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.87k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  5.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 2.87k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 1.65k, False: 1.21k]
  |  |  ------------------
  |  | 1761|  1.65k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.65k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.65k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  1.65k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 4, False: 1.65k]
  |  |  ------------------
  |  | 1763|  1.65k|                return 0;                 \
  |  | 1764|  1.65k|        } \
  |  | 1765|  1.22k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 1.21k]
  |  |  ------------------
  ------------------
 2143|  1.21k|        if (s->v.If.orelse)
  ------------------
  |  Branch (2143:13): [True: 430, False: 788]
  ------------------
 2144|    430|            VISIT_SEQ(st, stmt, s->v.If.orelse);
  ------------------
  |  | 1757|    430|    do { \
  |  | 1758|    430|        Py_ssize_t i; \
  |  | 1759|    430|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  1.09k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.09k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.19k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.09k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 828, False: 271]
  |  |  ------------------
  |  | 1761|    828|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    828|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    828|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    828|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 159, False: 669]
  |  |  ------------------
  |  | 1763|    828|                return 0;                 \
  |  | 1764|    828|        } \
  |  | 1765|    430|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 271]
  |  |  ------------------
  ------------------
 2145|  1.05k|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1795|  1.05k|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2146|  1.05k|        break;
 2147|  1.21k|    }
 2148|    548|    case Match_kind: {
  ------------------
  |  Branch (2148:5): [True: 548, False: 161k]
  ------------------
 2149|    548|        VISIT(st, expr, s->v.Match.subject);
  ------------------
  |  | 1750|    548|    do { \
  |  | 1751|    548|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 547]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|    548|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 547]
  |  |  ------------------
  ------------------
 2150|    547|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1791|    547|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1792|    547|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2151|    547|        VISIT_SEQ(st, match_case, s->v.Match.cases);
  ------------------
  |  | 1757|    547|    do { \
  |  | 1758|    547|        Py_ssize_t i; \
  |  | 1759|    547|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  2.45k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.45k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  4.91k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 2.45k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 1.91k, False: 542]
  |  |  ------------------
  |  | 1761|  1.91k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.91k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.91k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  1.91k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 5, False: 1.91k]
  |  |  ------------------
  |  | 1763|  1.91k|                return 0;                 \
  |  | 1764|  1.91k|        } \
  |  | 1765|    547|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 542]
  |  |  ------------------
  ------------------
 2152|    542|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1795|    542|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2153|    542|        break;
 2154|    547|    }
 2155|    163|    case Raise_kind:
  ------------------
  |  Branch (2155:5): [True: 163, False: 161k]
  ------------------
 2156|    163|        if (s->v.Raise.exc) {
  ------------------
  |  Branch (2156:13): [True: 115, False: 48]
  ------------------
 2157|    115|            VISIT(st, expr, s->v.Raise.exc);
  ------------------
  |  | 1750|    115|    do { \
  |  | 1751|    115|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 114]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|    115|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 114]
  |  |  ------------------
  ------------------
 2158|    114|            if (s->v.Raise.cause) {
  ------------------
  |  Branch (2158:17): [True: 54, False: 60]
  ------------------
 2159|     54|                VISIT(st, expr, s->v.Raise.cause);
  ------------------
  |  | 1750|     54|    do { \
  |  | 1751|     54|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 53]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|     54|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 53]
  |  |  ------------------
  ------------------
 2160|     54|            }
 2161|    114|        }
 2162|    161|        break;
 2163|  3.78k|    case Try_kind: {
  ------------------
  |  Branch (2163:5): [True: 3.78k, False: 157k]
  ------------------
 2164|  3.78k|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1791|  3.78k|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1792|  3.78k|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2165|  3.78k|        ENTER_TRY_BLOCK(st);
  ------------------
  |  | 1798|  3.78k|    int in_try_block = (ST)->st_cur->ste_in_try_block; \
  |  | 1799|  3.78k|    (ST)->st_cur->ste_in_try_block = 1;
  ------------------
 2166|  3.78k|        VISIT_SEQ(st, stmt, s->v.Try.body);
  ------------------
  |  | 1757|  3.78k|    do { \
  |  | 1758|  3.78k|        Py_ssize_t i; \
  |  | 1759|  3.78k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  7.96k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  7.96k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  15.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 7.96k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 4.17k, False: 3.78k]
  |  |  ------------------
  |  | 1761|  4.17k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  4.17k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  4.17k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  4.17k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 4.17k]
  |  |  ------------------
  |  | 1763|  4.17k|                return 0;                 \
  |  | 1764|  4.17k|        } \
  |  | 1765|  3.78k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 3.78k]
  |  |  ------------------
  ------------------
 2167|  3.78k|        VISIT_SEQ(st, excepthandler, s->v.Try.handlers);
  ------------------
  |  | 1757|  3.78k|    do { \
  |  | 1758|  3.78k|        Py_ssize_t i; \
  |  | 1759|  3.78k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  5.41k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.41k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  10.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 2.61k, False: 2.80k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 1.63k, False: 3.78k]
  |  |  ------------------
  |  | 1761|  1.63k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.63k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.63k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  1.63k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 2, False: 1.63k]
  |  |  ------------------
  |  | 1763|  1.63k|                return 0;                 \
  |  | 1764|  1.63k|        } \
  |  | 1765|  3.78k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 3.78k]
  |  |  ------------------
  ------------------
 2168|  3.78k|        VISIT_SEQ(st, stmt, s->v.Try.orelse);
  ------------------
  |  | 1757|  3.78k|    do { \
  |  | 1758|  3.78k|        Py_ssize_t i; \
  |  | 1759|  3.78k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  4.47k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  4.47k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  8.94k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 3.48k, False: 988]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 688, False: 3.78k]
  |  |  ------------------
  |  | 1761|    688|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    688|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    688|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    688|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 687]
  |  |  ------------------
  |  | 1763|    688|                return 0;                 \
  |  | 1764|    688|        } \
  |  | 1765|  3.78k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 3.78k]
  |  |  ------------------
  ------------------
 2169|  3.78k|        VISIT_SEQ(st, stmt, s->v.Try.finalbody);
  ------------------
  |  | 1757|  3.78k|    do { \
  |  | 1758|  3.78k|        Py_ssize_t i; \
  |  | 1759|  3.78k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  16.3k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  16.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  32.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 700, False: 15.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 12.5k, False: 3.78k]
  |  |  ------------------
  |  | 1761|  12.5k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  12.5k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  12.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  12.5k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 12.5k]
  |  |  ------------------
  |  | 1763|  12.5k|                return 0;                 \
  |  | 1764|  12.5k|        } \
  |  | 1765|  3.78k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 3.78k]
  |  |  ------------------
  ------------------
 2170|  3.78k|        LEAVE_TRY_BLOCK(st);
  ------------------
  |  | 1802|  3.78k|    (ST)->st_cur->ste_in_try_block = in_try_block;
  ------------------
 2171|  3.78k|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1795|  3.78k|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2172|  3.78k|        break;
 2173|  3.78k|    }
 2174|    538|    case TryStar_kind: {
  ------------------
  |  Branch (2174:5): [True: 538, False: 161k]
  ------------------
 2175|    538|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1791|    538|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1792|    538|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2176|    538|        ENTER_TRY_BLOCK(st);
  ------------------
  |  | 1798|    538|    int in_try_block = (ST)->st_cur->ste_in_try_block; \
  |  | 1799|    538|    (ST)->st_cur->ste_in_try_block = 1;
  ------------------
 2177|    538|        VISIT_SEQ(st, stmt, s->v.TryStar.body);
  ------------------
  |  | 1757|    538|    do { \
  |  | 1758|    538|        Py_ssize_t i; \
  |  | 1759|    538|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  1.16k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.16k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.33k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.16k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 630, False: 538]
  |  |  ------------------
  |  | 1761|    630|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    630|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    630|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    630|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 630]
  |  |  ------------------
  |  | 1763|    630|                return 0;                 \
  |  | 1764|    630|        } \
  |  | 1765|    538|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 538]
  |  |  ------------------
  ------------------
 2178|    538|        VISIT_SEQ(st, excepthandler, s->v.TryStar.handlers);
  ------------------
  |  | 1757|    538|    do { \
  |  | 1758|    538|        Py_ssize_t i; \
  |  | 1759|    538|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  1.44k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.44k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.88k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.44k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 906, False: 537]
  |  |  ------------------
  |  | 1761|    906|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    906|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    906|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    906|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 905]
  |  |  ------------------
  |  | 1763|    906|                return 0;                 \
  |  | 1764|    906|        } \
  |  | 1765|    538|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 537]
  |  |  ------------------
  ------------------
 2179|    537|        VISIT_SEQ(st, stmt, s->v.TryStar.orelse);
  ------------------
  |  | 1757|    537|    do { \
  |  | 1758|    537|        Py_ssize_t i; \
  |  | 1759|    537|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|    808|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    808|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.61k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 525, False: 283]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 272, False: 536]
  |  |  ------------------
  |  | 1761|    272|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    272|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    272|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    272|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 271]
  |  |  ------------------
  |  | 1763|    272|                return 0;                 \
  |  | 1764|    272|        } \
  |  | 1765|    537|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 536]
  |  |  ------------------
  ------------------
 2180|    536|        VISIT_SEQ(st, stmt, s->v.TryStar.finalbody);
  ------------------
  |  | 1757|    536|    do { \
  |  | 1758|    536|        Py_ssize_t i; \
  |  | 1759|    536|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  1.76k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.76k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.52k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 447, False: 1.31k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 1.22k, False: 536]
  |  |  ------------------
  |  | 1761|  1.22k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.22k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.22k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  1.22k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 1.22k]
  |  |  ------------------
  |  | 1763|  1.22k|                return 0;                 \
  |  | 1764|  1.22k|        } \
  |  | 1765|    536|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 536]
  |  |  ------------------
  ------------------
 2181|    536|        LEAVE_TRY_BLOCK(st);
  ------------------
  |  | 1802|    536|    (ST)->st_cur->ste_in_try_block = in_try_block;
  ------------------
 2182|    536|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1795|    536|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2183|    536|        break;
 2184|    536|    }
 2185|  2.34k|    case Assert_kind:
  ------------------
  |  Branch (2185:5): [True: 2.34k, False: 159k]
  ------------------
 2186|  2.34k|        VISIT(st, expr, s->v.Assert.test);
  ------------------
  |  | 1750|  2.34k|    do { \
  |  | 1751|  2.34k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 2.34k]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|  2.34k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 2.34k]
  |  |  ------------------
  ------------------
 2187|  2.34k|        if (s->v.Assert.msg)
  ------------------
  |  Branch (2187:13): [True: 640, False: 1.70k]
  ------------------
 2188|    640|            VISIT(st, expr, s->v.Assert.msg);
  ------------------
  |  | 1750|    640|    do { \
  |  | 1751|    640|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 639]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|    640|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 639]
  |  |  ------------------
  ------------------
 2189|  2.34k|        break;
 2190|  2.34k|    case Import_kind:
  ------------------
  |  Branch (2190:5): [True: 1.47k, False: 160k]
  ------------------
 2191|  1.47k|        if (s->v.Import.is_lazy) {
  ------------------
  |  Branch (2191:13): [True: 26, False: 1.44k]
  ------------------
 2192|     26|            if (!check_lazy_import_context(st, s, "import")) {
  ------------------
  |  Branch (2192:17): [True: 1, False: 25]
  ------------------
 2193|      1|                return 0;
 2194|      1|            }
 2195|     26|        }
 2196|  1.47k|        VISIT_SEQ(st, alias, s->v.Import.names);
  ------------------
  |  | 1757|  1.47k|    do { \
  |  | 1758|  1.47k|        Py_ssize_t i; \
  |  | 1759|  1.47k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  8.02k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  8.02k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  16.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 8.02k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 6.55k, False: 1.47k]
  |  |  ------------------
  |  | 1761|  6.55k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  6.55k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  6.55k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  6.55k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 6.55k]
  |  |  ------------------
  |  | 1763|  6.55k|                return 0;                 \
  |  | 1764|  6.55k|        } \
  |  | 1765|  1.47k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 1.47k]
  |  |  ------------------
  ------------------
 2197|  1.47k|        break;
 2198|  3.28k|    case ImportFrom_kind:
  ------------------
  |  Branch (2198:5): [True: 3.28k, False: 158k]
  ------------------
 2199|  3.28k|        if (s->v.ImportFrom.is_lazy) {
  ------------------
  |  Branch (2199:13): [True: 105, False: 3.18k]
  ------------------
 2200|    105|            if (!check_lazy_import_context(st, s, "from ... import")) {
  ------------------
  |  Branch (2200:17): [True: 0, False: 105]
  ------------------
 2201|      0|                return 0;
 2202|      0|            }
 2203|       |
 2204|       |            // Check for import *
 2205|    262|            for (Py_ssize_t i = 0; i < asdl_seq_LEN(s->v.ImportFrom.names);
  ------------------
  |  |   83|    262|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|    524|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 262]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2205:36): [True: 158, False: 104]
  ------------------
 2206|    158|                 i++) {
 2207|    158|                alias_ty alias = (alias_ty)asdl_seq_GET(
  ------------------
  |  |   82|    158|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    158|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2208|    158|                    s->v.ImportFrom.names, i);
 2209|    158|                if (alias->name &&
  ------------------
  |  Branch (2209:21): [True: 158, False: 0]
  ------------------
 2210|    158|                        _PyUnicode_EqualToASCIIString(alias->name, "*")) {
  ------------------
  |  Branch (2210:25): [True: 1, False: 157]
  ------------------
 2211|      1|                    PyErr_SetString(PyExc_SyntaxError,
 2212|      1|                                    "lazy from ... import * is not allowed");
 2213|      1|                    SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   89|      1|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      1|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2214|      1|                    return 0;
 2215|      1|                }
 2216|    158|            }
 2217|    105|        }
 2218|  3.28k|        VISIT_SEQ(st, alias, s->v.ImportFrom.names);
  ------------------
  |  | 1757|  3.28k|    do { \
  |  | 1758|  3.28k|        Py_ssize_t i; \
  |  | 1759|  3.28k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  8.91k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  8.91k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  17.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 8.91k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 5.63k, False: 3.28k]
  |  |  ------------------
  |  | 1761|  5.63k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  5.63k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  5.63k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  5.63k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 5.63k]
  |  |  ------------------
  |  | 1763|  5.63k|                return 0;                 \
  |  | 1764|  5.63k|        } \
  |  | 1765|  3.28k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 3.28k]
  |  |  ------------------
  ------------------
 2219|  3.28k|        if (!check_import_from(st, s)) {
  ------------------
  |  Branch (2219:13): [True: 2, False: 3.28k]
  ------------------
 2220|      2|            return 0;
 2221|      2|        }
 2222|  3.28k|        break;
 2223|  3.28k|    case Global_kind: {
  ------------------
  |  Branch (2223:5): [True: 767, False: 160k]
  ------------------
 2224|    767|        Py_ssize_t i;
 2225|    767|        asdl_identifier_seq *seq = s->v.Global.names;
 2226|  1.98k|        for (i = 0; i < asdl_seq_LEN(seq); i++) {
  ------------------
  |  |   83|  1.98k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  3.97k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.98k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2226:21): [True: 1.22k, False: 763]
  ------------------
 2227|  1.22k|            identifier name = (identifier)asdl_seq_GET(seq, i);
  ------------------
  |  |   82|  1.22k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.22k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2228|  1.22k|            long cur = symtable_lookup(st, name);
 2229|  1.22k|            if (cur < 0)
  ------------------
  |  Branch (2229:17): [True: 0, False: 1.22k]
  ------------------
 2230|      0|                return 0;
 2231|  1.22k|            if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  172|  1.22k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  171|  1.22k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  174|  1.22k|#define USE (2<<3)               /* name is used */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  177|  1.22k|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
  |  Branch (2231:17): [True: 4, False: 1.22k]
  ------------------
 2232|      4|                const char* msg;
 2233|      4|                if (cur & DEF_PARAM) {
  ------------------
  |  |  172|      4|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (2233:21): [True: 0, False: 4]
  ------------------
 2234|      0|                    msg = GLOBAL_PARAM;
  ------------------
  |  |   18|      0|#define GLOBAL_PARAM \
  |  |   19|      0|"name '%U' is parameter and global"
  ------------------
 2235|      4|                } else if (cur & USE) {
  ------------------
  |  |  174|      4|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (2235:28): [True: 1, False: 3]
  ------------------
 2236|      1|                    msg = GLOBAL_AFTER_USE;
  ------------------
  |  |   30|      1|#define GLOBAL_AFTER_USE \
  |  |   31|      1|"name '%U' is used prior to global declaration"
  ------------------
 2237|      3|                } else if (cur & DEF_ANNOT) {
  ------------------
  |  |  177|      3|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
  |  Branch (2237:28): [True: 1, False: 2]
  ------------------
 2238|      1|                    msg = GLOBAL_ANNOT;
  ------------------
  |  |   36|      1|#define GLOBAL_ANNOT \
  |  |   37|      1|"annotated name '%U' can't be global"
  ------------------
 2239|      2|                } else {  /* DEF_LOCAL */
 2240|      2|                    msg = GLOBAL_AFTER_ASSIGN;
  ------------------
  |  |   24|      2|#define GLOBAL_AFTER_ASSIGN \
  |  |   25|      2|"name '%U' is assigned to before global declaration"
  ------------------
 2241|      2|                }
 2242|      4|                PyErr_Format(PyExc_SyntaxError,
 2243|      4|                             msg, name);
 2244|      4|                SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   89|      4|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      4|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2245|      4|                return 0;
 2246|      4|            }
 2247|  1.22k|            if (!symtable_add_def(st, name, DEF_GLOBAL, LOCATION(s))) {
  ------------------
  |  |  170|  1.22k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                          if (!symtable_add_def(st, name, DEF_GLOBAL, LOCATION(s))) {
  ------------------
  |  |   86|  1.22k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.22k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.22k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.22k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.22k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.22k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2247:17): [True: 0, False: 1.22k]
  ------------------
 2248|      0|                return 0;
 2249|      0|            }
 2250|  1.22k|            if (!symtable_record_directive(st, name, LOCATION(s))) {
  ------------------
  |  |   86|  1.22k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.22k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.22k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.22k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.22k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.22k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2250:17): [True: 0, False: 1.22k]
  ------------------
 2251|      0|                return 0;
 2252|      0|            }
 2253|  1.22k|        }
 2254|    763|        break;
 2255|    767|    }
 2256|    763|    case Nonlocal_kind: {
  ------------------
  |  Branch (2256:5): [True: 76, False: 161k]
  ------------------
 2257|     76|        Py_ssize_t i;
 2258|     76|        asdl_identifier_seq *seq = s->v.Nonlocal.names;
 2259|    790|        for (i = 0; i < asdl_seq_LEN(seq); i++) {
  ------------------
  |  |   83|    790|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  1.58k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 790]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2259:21): [True: 716, False: 74]
  ------------------
 2260|    716|            identifier name = (identifier)asdl_seq_GET(seq, i);
  ------------------
  |  |   82|    716|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    716|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2261|    716|            long cur = symtable_lookup(st, name);
 2262|    716|            if (cur < 0)
  ------------------
  |  Branch (2262:17): [True: 0, False: 716]
  ------------------
 2263|      0|                return 0;
 2264|    716|            if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  172|    716|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  171|    716|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  174|    716|#define USE (2<<3)               /* name is used */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  177|    716|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
  |  Branch (2264:17): [True: 2, False: 714]
  ------------------
 2265|      2|                const char* msg;
 2266|      2|                if (cur & DEF_PARAM) {
  ------------------
  |  |  172|      2|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (2266:21): [True: 0, False: 2]
  ------------------
 2267|      0|                    msg = NONLOCAL_PARAM;
  ------------------
  |  |   21|      0|#define NONLOCAL_PARAM \
  |  |   22|      0|"name '%U' is parameter and nonlocal"
  ------------------
 2268|      2|                } else if (cur & USE) {
  ------------------
  |  |  174|      2|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (2268:28): [True: 1, False: 1]
  ------------------
 2269|      1|                    msg = NONLOCAL_AFTER_USE;
  ------------------
  |  |   33|      1|#define NONLOCAL_AFTER_USE \
  |  |   34|      1|"name '%U' is used prior to nonlocal declaration"
  ------------------
 2270|      1|                } else if (cur & DEF_ANNOT) {
  ------------------
  |  |  177|      1|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
  |  Branch (2270:28): [True: 0, False: 1]
  ------------------
 2271|      0|                    msg = NONLOCAL_ANNOT;
  ------------------
  |  |   39|      0|#define NONLOCAL_ANNOT \
  |  |   40|      0|"annotated name '%U' can't be nonlocal"
  ------------------
 2272|      1|                } else {  /* DEF_LOCAL */
 2273|      1|                    msg = NONLOCAL_AFTER_ASSIGN;
  ------------------
  |  |   27|      1|#define NONLOCAL_AFTER_ASSIGN \
  |  |   28|      1|"name '%U' is assigned to before nonlocal declaration"
  ------------------
 2274|      1|                }
 2275|      2|                PyErr_Format(PyExc_SyntaxError, msg, name);
 2276|      2|                SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   89|      2|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      2|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2277|      2|                return 0;
 2278|      2|            }
 2279|    714|            if (!symtable_add_def(st, name, DEF_NONLOCAL, LOCATION(s)))
  ------------------
  |  |  173|    714|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
                          if (!symtable_add_def(st, name, DEF_NONLOCAL, LOCATION(s)))
  ------------------
  |  |   86|    714|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    714|    (_Py_SourceLocation){ \
  |  |  |  |   59|    714|               .lineno = (n)->lineno, \
  |  |  |  |   60|    714|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    714|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    714|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2279:17): [True: 0, False: 714]
  ------------------
 2280|      0|                return 0;
 2281|    714|            if (!symtable_record_directive(st, name, LOCATION(s))) {
  ------------------
  |  |   86|    714|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    714|    (_Py_SourceLocation){ \
  |  |  |  |   59|    714|               .lineno = (n)->lineno, \
  |  |  |  |   60|    714|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    714|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    714|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2281:17): [True: 0, False: 714]
  ------------------
 2282|      0|                return 0;
 2283|      0|            }
 2284|    714|        }
 2285|     74|        break;
 2286|     76|    }
 2287|  81.0k|    case Expr_kind:
  ------------------
  |  Branch (2287:5): [True: 81.0k, False: 80.5k]
  ------------------
 2288|  81.0k|        VISIT(st, expr, s->v.Expr.value);
  ------------------
  |  | 1750|  81.0k|    do { \
  |  | 1751|  81.0k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 109, False: 80.9k]
  |  |  ------------------
  |  | 1752|    109|            return 0; \
  |  | 1753|    109|        } \
  |  | 1754|  81.0k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 80.9k]
  |  |  ------------------
  ------------------
 2289|  80.9k|        break;
 2290|  80.9k|    case Pass_kind:
  ------------------
  |  Branch (2290:5): [True: 236, False: 161k]
  ------------------
 2291|    391|    case Break_kind:
  ------------------
  |  Branch (2291:5): [True: 155, False: 161k]
  ------------------
 2292|  1.13k|    case Continue_kind:
  ------------------
  |  Branch (2292:5): [True: 742, False: 160k]
  ------------------
 2293|       |        /* nothing to do here */
 2294|  1.13k|        break;
 2295|    573|    case With_kind: {
  ------------------
  |  Branch (2295:5): [True: 573, False: 161k]
  ------------------
 2296|    573|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1791|    573|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1792|    573|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2297|    573|        VISIT_SEQ(st, withitem, s->v.With.items);
  ------------------
  |  | 1757|    573|    do { \
  |  | 1758|    573|        Py_ssize_t i; \
  |  | 1759|    573|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  2.49k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.49k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  4.99k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 2.49k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 1.92k, False: 573]
  |  |  ------------------
  |  | 1761|  1.92k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.92k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.92k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  1.92k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 1.92k]
  |  |  ------------------
  |  | 1763|  1.92k|                return 0;                 \
  |  | 1764|  1.92k|        } \
  |  | 1765|    573|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 573]
  |  |  ------------------
  ------------------
 2298|    573|        VISIT_SEQ(st, stmt, s->v.With.body);
  ------------------
  |  | 1757|    573|    do { \
  |  | 1758|    573|        Py_ssize_t i; \
  |  | 1759|    573|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  1.35k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.35k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.71k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 785, False: 572]
  |  |  ------------------
  |  | 1761|    785|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    785|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    785|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    785|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 784]
  |  |  ------------------
  |  | 1763|    785|                return 0;                 \
  |  | 1764|    785|        } \
  |  | 1765|    573|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 572]
  |  |  ------------------
  ------------------
 2299|    572|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1795|    572|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2300|    572|        break;
 2301|    573|    }
 2302|  2.63k|    case AsyncFunctionDef_kind: {
  ------------------
  |  Branch (2302:5): [True: 2.63k, False: 158k]
  ------------------
 2303|  2.63k|        if (!symtable_add_def(st, s->v.AsyncFunctionDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |  171|  2.63k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, s->v.AsyncFunctionDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |   86|  2.63k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  2.63k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  2.63k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  2.63k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  2.63k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  2.63k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2303:13): [True: 0, False: 2.63k]
  ------------------
 2304|      0|            return 0;
 2305|  2.63k|        if (s->v.AsyncFunctionDef.args->defaults)
  ------------------
  |  Branch (2305:13): [True: 2.63k, False: 0]
  ------------------
 2306|  2.63k|            VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.args->defaults);
  ------------------
  |  | 1757|  2.63k|    do { \
  |  | 1758|  2.63k|        Py_ssize_t i; \
  |  | 1759|  2.63k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  3.01k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.01k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  6.03k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.01k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 387, False: 2.63k]
  |  |  ------------------
  |  | 1761|    387|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    387|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    387|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    387|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 387]
  |  |  ------------------
  |  | 1763|    387|                return 0;                 \
  |  | 1764|    387|        } \
  |  | 1765|  2.63k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 2.63k]
  |  |  ------------------
  ------------------
 2307|  2.63k|        if (s->v.AsyncFunctionDef.args->kw_defaults)
  ------------------
  |  Branch (2307:13): [True: 2.63k, False: 0]
  ------------------
 2308|  2.63k|            VISIT_SEQ_WITH_NULL(st, expr,
  ------------------
  |  | 1779|  2.63k|    do { \
  |  | 1780|  2.63k|        int i = 0; \
  |  | 1781|  2.63k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1782|  4.21k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  4.21k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  8.43k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 4.21k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1782:21): [True: 1.58k, False: 2.63k]
  |  |  ------------------
  |  | 1783|  1.58k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.58k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.58k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1784|  1.58k|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1784:17): [True: 1.07k, False: 510]
  |  |  ------------------
  |  | 1785|  1.58k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1785:17): [True: 0, False: 510]
  |  |  ------------------
  |  | 1786|    510|                return 0;             \
  |  | 1787|    510|        } \
  |  | 1788|  2.63k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1788:13): [Folded, False: 2.63k]
  |  |  ------------------
  ------------------
 2309|  2.63k|                                s->v.AsyncFunctionDef.args->kw_defaults);
 2310|  2.63k|        if (s->v.AsyncFunctionDef.decorator_list)
  ------------------
  |  Branch (2310:13): [True: 620, False: 2.01k]
  ------------------
 2311|    620|            VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.decorator_list);
  ------------------
  |  | 1757|    620|    do { \
  |  | 1758|    620|        Py_ssize_t i; \
  |  | 1759|    620|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  2.33k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.33k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  4.67k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 2.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 1.71k, False: 619]
  |  |  ------------------
  |  | 1761|  1.71k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.71k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.71k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  1.71k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 1.71k]
  |  |  ------------------
  |  | 1763|  1.71k|                return 0;                 \
  |  | 1764|  1.71k|        } \
  |  | 1765|    620|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 619]
  |  |  ------------------
  ------------------
 2312|  2.62k|        if (asdl_seq_LEN(s->v.AsyncFunctionDef.type_params) > 0) {
  ------------------
  |  |   83|  2.62k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  5.25k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2.01k, False: 611]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2312:13): [True: 611, False: 2.01k]
  ------------------
 2313|    611|            if (!symtable_enter_type_param_block(
  ------------------
  |  Branch (2313:17): [True: 0, False: 611]
  ------------------
 2314|    611|                    st, s->v.AsyncFunctionDef.name,
 2315|    611|                    (void *)s->v.AsyncFunctionDef.type_params,
 2316|    611|                    s->v.AsyncFunctionDef.args->defaults != NULL,
 2317|    611|                    has_kwonlydefaults(s->v.AsyncFunctionDef.args->kwonlyargs,
 2318|    611|                                       s->v.AsyncFunctionDef.args->kw_defaults),
 2319|    611|                    s->kind,
 2320|    611|                    LOCATION(s))) {
  ------------------
  |  |   86|    611|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    611|    (_Py_SourceLocation){ \
  |  |  |  |   59|    611|               .lineno = (n)->lineno, \
  |  |  |  |   60|    611|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    611|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    611|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2321|      0|                return 0;
 2322|      0|            }
 2323|    611|            VISIT_SEQ(st, type_param, s->v.AsyncFunctionDef.type_params);
  ------------------
  |  | 1757|    611|    do { \
  |  | 1758|    611|        Py_ssize_t i; \
  |  | 1759|    611|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  1.28k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.28k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.57k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.28k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 683, False: 605]
  |  |  ------------------
  |  | 1761|    683|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    683|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    683|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    683|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 6, False: 677]
  |  |  ------------------
  |  | 1763|    683|                return 0;                 \
  |  | 1764|    683|        } \
  |  | 1765|    611|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 605]
  |  |  ------------------
  ------------------
 2324|    611|        }
 2325|  2.62k|        PySTEntryObject *new_ste = ste_new(st, s->v.FunctionDef.name, FunctionBlock, (void *)s,
 2326|  2.62k|                                           LOCATION(s));
  ------------------
  |  |   86|  2.62k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  2.62k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  2.62k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  2.62k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  2.62k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  2.62k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2327|  2.62k|        if (!new_ste) {
  ------------------
  |  Branch (2327:13): [True: 0, False: 2.62k]
  ------------------
 2328|      0|            return 0;
 2329|      0|        }
 2330|       |
 2331|  2.62k|        if (_PyAST_GetDocString(s->v.AsyncFunctionDef.body)) {
  ------------------
  |  Branch (2331:13): [True: 76, False: 2.54k]
  ------------------
 2332|     76|            new_ste->ste_has_docstring = 1;
 2333|     76|        }
 2334|       |
 2335|  2.62k|        if (!symtable_visit_annotations(st, s, s->v.AsyncFunctionDef.args,
  ------------------
  |  Branch (2335:13): [True: 0, False: 2.62k]
  ------------------
 2336|  2.62k|                                        s->v.AsyncFunctionDef.returns, new_ste)) {
 2337|      0|            Py_DECREF(new_ste);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2338|      0|            return 0;
 2339|      0|        }
 2340|  2.62k|        if (!symtable_enter_existing_block(st, new_ste, /* add_to_children */true)) {
  ------------------
  |  Branch (2340:13): [True: 0, False: 2.62k]
  ------------------
 2341|      0|            Py_DECREF(new_ste);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2342|      0|            return 0;
 2343|      0|        }
 2344|  2.62k|        Py_DECREF(new_ste);
  ------------------
  |  |  430|  2.62k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2345|       |
 2346|  2.62k|        st->st_cur->ste_coroutine = 1;
 2347|  2.62k|        VISIT(st, arguments, s->v.AsyncFunctionDef.args);
  ------------------
  |  | 1750|  2.62k|    do { \
  |  | 1751|  2.62k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 8, False: 2.61k]
  |  |  ------------------
  |  | 1752|      8|            return 0; \
  |  | 1753|      8|        } \
  |  | 1754|  2.62k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 2.61k]
  |  |  ------------------
  ------------------
 2348|  2.61k|        VISIT_SEQ(st, stmt, s->v.AsyncFunctionDef.body);
  ------------------
  |  | 1757|  2.61k|    do { \
  |  | 1758|  2.61k|        Py_ssize_t i; \
  |  | 1759|  2.61k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  9.92k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  9.92k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  19.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 9.92k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 7.31k, False: 2.61k]
  |  |  ------------------
  |  | 1761|  7.31k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  7.31k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  7.31k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  7.31k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 3, False: 7.30k]
  |  |  ------------------
  |  | 1763|  7.31k|                return 0;                 \
  |  | 1764|  7.31k|        } \
  |  | 1765|  2.61k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 2.61k]
  |  |  ------------------
  ------------------
 2349|  2.61k|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (2349:13): [True: 0, False: 2.61k]
  ------------------
 2350|      0|            return 0;
 2351|  2.61k|        if (asdl_seq_LEN(s->v.AsyncFunctionDef.type_params) > 0) {
  ------------------
  |  |   83|  2.61k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  5.22k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 2.00k, False: 605]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2351:13): [True: 605, False: 2.00k]
  ------------------
 2352|    605|            if (!symtable_exit_block(st))
  ------------------
  |  Branch (2352:17): [True: 0, False: 605]
  ------------------
 2353|      0|                return 0;
 2354|    605|        }
 2355|  2.61k|        break;
 2356|  2.61k|    }
 2357|  2.61k|    case AsyncWith_kind: {
  ------------------
  |  Branch (2357:5): [True: 1.62k, False: 159k]
  ------------------
 2358|  1.62k|        maybe_set_ste_coroutine_for_module(st, s);
 2359|  1.62k|        if (!symtable_raise_if_not_coroutine(st, ASYNC_WITH_OUTSIDE_ASYNC_FUNC, LOCATION(s))) {
  ------------------
  |  |   80|  1.62k|#define ASYNC_WITH_OUTSIDE_ASYNC_FUNC \
  |  |   81|  1.62k|"'async with' outside async function"
  ------------------
                      if (!symtable_raise_if_not_coroutine(st, ASYNC_WITH_OUTSIDE_ASYNC_FUNC, LOCATION(s))) {
  ------------------
  |  |   86|  1.62k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.62k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.62k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.62k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.62k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.62k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2359:13): [True: 3, False: 1.61k]
  ------------------
 2360|      3|            return 0;
 2361|      3|        }
 2362|  1.61k|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1791|  1.61k|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1792|  1.61k|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2363|  1.61k|        VISIT_SEQ(st, withitem, s->v.AsyncWith.items);
  ------------------
  |  | 1757|  1.61k|    do { \
  |  | 1758|  1.61k|        Py_ssize_t i; \
  |  | 1759|  1.61k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  10.6k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  10.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  21.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 10.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 9.06k, False: 1.61k]
  |  |  ------------------
  |  | 1761|  9.06k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  9.06k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  9.06k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  9.06k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 9.06k]
  |  |  ------------------
  |  | 1763|  9.06k|                return 0;                 \
  |  | 1764|  9.06k|        } \
  |  | 1765|  1.61k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 1.61k]
  |  |  ------------------
  ------------------
 2364|  1.61k|        VISIT_SEQ(st, stmt, s->v.AsyncWith.body);
  ------------------
  |  | 1757|  1.61k|    do { \
  |  | 1758|  1.61k|        Py_ssize_t i; \
  |  | 1759|  1.61k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  3.90k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.90k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  7.80k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.90k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 2.28k, False: 1.61k]
  |  |  ------------------
  |  | 1761|  2.28k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.28k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.28k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  2.28k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 2.28k]
  |  |  ------------------
  |  | 1763|  2.28k|                return 0;                 \
  |  | 1764|  2.28k|        } \
  |  | 1765|  1.61k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 1.61k]
  |  |  ------------------
  ------------------
 2365|  1.61k|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1795|  1.61k|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2366|  1.61k|        break;
 2367|  1.61k|    }
 2368|    245|    case AsyncFor_kind: {
  ------------------
  |  Branch (2368:5): [True: 245, False: 161k]
  ------------------
 2369|    245|        maybe_set_ste_coroutine_for_module(st, s);
 2370|    245|        if (!symtable_raise_if_not_coroutine(st, ASYNC_FOR_OUTSIDE_ASYNC_FUNC, LOCATION(s))) {
  ------------------
  |  |   83|    245|#define ASYNC_FOR_OUTSIDE_ASYNC_FUNC \
  |  |   84|    245|"'async for' outside async function"
  ------------------
                      if (!symtable_raise_if_not_coroutine(st, ASYNC_FOR_OUTSIDE_ASYNC_FUNC, LOCATION(s))) {
  ------------------
  |  |   86|    245|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    245|    (_Py_SourceLocation){ \
  |  |  |  |   59|    245|               .lineno = (n)->lineno, \
  |  |  |  |   60|    245|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    245|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    245|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2370:13): [True: 2, False: 243]
  ------------------
 2371|      2|            return 0;
 2372|      2|        }
 2373|    243|        VISIT(st, expr, s->v.AsyncFor.target);
  ------------------
  |  | 1750|    243|    do { \
  |  | 1751|    243|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 242]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|    243|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 242]
  |  |  ------------------
  ------------------
 2374|    242|        VISIT(st, expr, s->v.AsyncFor.iter);
  ------------------
  |  | 1750|    242|    do { \
  |  | 1751|    242|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 242]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|    242|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 242]
  |  |  ------------------
  ------------------
 2375|    242|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1791|    242|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1792|    242|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2376|    242|        VISIT_SEQ(st, stmt, s->v.AsyncFor.body);
  ------------------
  |  | 1757|    242|    do { \
  |  | 1758|    242|        Py_ssize_t i; \
  |  | 1759|    242|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|    785|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    785|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.57k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 785]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 544, False: 241]
  |  |  ------------------
  |  | 1761|    544|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    544|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    544|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    544|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 543]
  |  |  ------------------
  |  | 1763|    544|                return 0;                 \
  |  | 1764|    544|        } \
  |  | 1765|    242|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 241]
  |  |  ------------------
  ------------------
 2377|    241|        if (s->v.AsyncFor.orelse)
  ------------------
  |  Branch (2377:13): [True: 126, False: 115]
  ------------------
 2378|    126|            VISIT_SEQ(st, stmt, s->v.AsyncFor.orelse);
  ------------------
  |  | 1757|    126|    do { \
  |  | 1758|    126|        Py_ssize_t i; \
  |  | 1759|    126|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|    447|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    447|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    894|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 447]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 321, False: 126]
  |  |  ------------------
  |  | 1761|    321|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    321|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    321|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    321|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 321]
  |  |  ------------------
  |  | 1763|    321|                return 0;                 \
  |  | 1764|    321|        } \
  |  | 1765|    126|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 126]
  |  |  ------------------
  ------------------
 2379|    241|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1795|    241|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2380|    241|        break;
 2381|    241|    }
 2382|   161k|    }
 2383|   161k|    LEAVE_RECURSIVE();
  ------------------
  |  | 1809|   161k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
 2384|   161k|    return 1;
 2385|   161k|}
symtable.c:symtable_enter_type_param_block:
 1687|  6.43k|{
 1688|  6.43k|    _Py_block_ty current_type = st->st_cur->ste_type;
 1689|  6.43k|    if(!symtable_enter_block(st, name, TypeParametersBlock, ast, loc)) {
  ------------------
  |  Branch (1689:8): [True: 0, False: 6.43k]
  ------------------
 1690|      0|        return 0;
 1691|      0|    }
 1692|  6.43k|    if (current_type == ClassBlock) {
  ------------------
  |  Branch (1692:9): [True: 909, False: 5.52k]
  ------------------
 1693|    909|        st->st_cur->ste_can_see_class_scope = 1;
 1694|    909|        if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, loc)) {
  ------------------
  |  |  951|    909|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    909|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    909|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, loc)) {
  ------------------
  |  |  174|    909|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1694:13): [True: 0, False: 909]
  ------------------
 1695|      0|            goto error;
 1696|      0|        }
 1697|    909|    }
 1698|  6.43k|    if (kind == ClassDef_kind) {
  ------------------
  |  Branch (1698:9): [True: 4.88k, False: 1.54k]
  ------------------
 1699|  4.88k|        _Py_DECLARE_STR(type_params, ".type_params");
 1700|       |        // It gets "set" when we create the type params tuple and
 1701|       |        // "used" when we build up the bases.
 1702|  4.88k|        if (!symtable_add_def(st, &_Py_STR(type_params), DEF_LOCAL, loc)) {
  ------------------
  |  |  953|  4.88k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.88k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.88k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(type_params), DEF_LOCAL, loc)) {
  ------------------
  |  |  171|  4.88k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
  |  Branch (1702:13): [True: 0, False: 4.88k]
  ------------------
 1703|      0|            goto error;
 1704|      0|        }
 1705|  4.88k|        if (!symtable_add_def(st, &_Py_STR(type_params), USE, loc)) {
  ------------------
  |  |  953|  4.88k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.88k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.88k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(type_params), USE, loc)) {
  ------------------
  |  |  174|  4.88k|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1705:13): [True: 0, False: 4.88k]
  ------------------
 1706|      0|            goto error;
 1707|      0|        }
 1708|       |        // This is used for setting the generic base
 1709|  4.88k|        _Py_DECLARE_STR(generic_base, ".generic_base");
 1710|  4.88k|        if (!symtable_add_def(st, &_Py_STR(generic_base), DEF_LOCAL, loc)) {
  ------------------
  |  |  953|  4.88k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.88k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.88k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(generic_base), DEF_LOCAL, loc)) {
  ------------------
  |  |  171|  4.88k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
  |  Branch (1710:13): [True: 0, False: 4.88k]
  ------------------
 1711|      0|            goto error;
 1712|      0|        }
 1713|  4.88k|        if (!symtable_add_def(st, &_Py_STR(generic_base), USE, loc)) {
  ------------------
  |  |  953|  4.88k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.88k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.88k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(generic_base), USE, loc)) {
  ------------------
  |  |  174|  4.88k|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1713:13): [True: 0, False: 4.88k]
  ------------------
 1714|      0|            goto error;
 1715|      0|        }
 1716|  4.88k|    }
 1717|  6.43k|    if (has_defaults) {
  ------------------
  |  Branch (1717:9): [True: 1.26k, False: 5.17k]
  ------------------
 1718|  1.26k|        _Py_DECLARE_STR(defaults, ".defaults");
 1719|  1.26k|        if (!symtable_add_def(st, &_Py_STR(defaults), DEF_PARAM, loc)) {
  ------------------
  |  |  953|  1.26k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.26k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.26k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(defaults), DEF_PARAM, loc)) {
  ------------------
  |  |  172|  1.26k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1719:13): [True: 0, False: 1.26k]
  ------------------
 1720|      0|            goto error;
 1721|      0|        }
 1722|  1.26k|    }
 1723|  6.43k|    if (has_kwdefaults) {
  ------------------
  |  Branch (1723:9): [True: 260, False: 6.17k]
  ------------------
 1724|    260|        _Py_DECLARE_STR(kwdefaults, ".kwdefaults");
 1725|    260|        if (!symtable_add_def(st, &_Py_STR(kwdefaults), DEF_PARAM, loc)) {
  ------------------
  |  |  953|    260|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    260|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    260|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(kwdefaults), DEF_PARAM, loc)) {
  ------------------
  |  |  172|    260|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1725:13): [True: 0, False: 260]
  ------------------
 1726|      0|            goto error;
 1727|      0|        }
 1728|    260|    }
 1729|  6.43k|    return 1;
 1730|      0|error:
 1731|      0|    symtable_exit_block(st);
 1732|      0|    return 0;
 1733|  6.43k|}
symtable.c:has_kwonlydefaults:
 1836|  1.26k|{
 1837|  1.62k|    for (int i = 0; i < asdl_seq_LEN(kwonlyargs); i++) {
  ------------------
  |  |   83|  1.62k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  3.24k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 1.62k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1837:21): [True: 617, False: 1.00k]
  ------------------
 1838|    617|        expr_ty default_ = asdl_seq_GET(kw_defaults, i);
  ------------------
  |  |   82|    617|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|    617|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1839|    617|        if (default_) {
  ------------------
  |  Branch (1839:13): [True: 260, False: 357]
  ------------------
 1840|    260|            return 1;
 1841|    260|        }
 1842|    617|    }
 1843|  1.00k|    return 0;
 1844|  1.26k|}
symtable.c:symtable_visit_type_param:
 2733|  12.9k|{
 2734|  12.9k|    ENTER_RECURSIVE();
  ------------------
  |  | 1804|  12.9k|#define ENTER_RECURSIVE() \
  |  | 1805|  12.9k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (1805:5): [True: 0, False: 12.9k]
  |  |  ------------------
  |  | 1806|      0|    return 0; \
  |  | 1807|      0|}
  ------------------
 2735|  12.9k|    switch(tp->kind) {
  ------------------
  |  Branch (2735:12): [True: 12.9k, False: 0]
  ------------------
 2736|  10.9k|    case TypeVar_kind:
  ------------------
  |  Branch (2736:5): [True: 10.9k, False: 2.06k]
  ------------------
 2737|  10.9k|        if (!symtable_add_def(st, tp->v.TypeVar.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp)))
  ------------------
  |  |  179|  10.9k|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
                      if (!symtable_add_def(st, tp->v.TypeVar.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp)))
  ------------------
  |  |  171|  10.9k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, tp->v.TypeVar.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp)))
  ------------------
  |  |   86|  10.9k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  10.9k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  10.9k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  10.9k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  10.9k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  10.9k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2737:13): [True: 6, False: 10.9k]
  ------------------
 2738|      6|            return 0;
 2739|       |
 2740|  10.9k|        const char *ste_scope_info = NULL;
 2741|  10.9k|        const expr_ty bound = tp->v.TypeVar.bound;
 2742|  10.9k|        if (bound != NULL) {
  ------------------
  |  Branch (2742:13): [True: 4.02k, False: 6.88k]
  ------------------
 2743|  4.02k|            ste_scope_info = bound->kind == Tuple_kind ? "a TypeVar constraint" : "a TypeVar bound";
  ------------------
  |  Branch (2743:30): [True: 0, False: 4.02k]
  ------------------
 2744|  4.02k|        }
 2745|       |
 2746|       |        // We must use a different key for the bound and default. The obvious choice would be to
 2747|       |        // use the .bound and .default_value pointers, but that fails when the expression immediately
 2748|       |        // inside the bound or default is a comprehension: we would reuse the same key for
 2749|       |        // the comprehension scope. Therefore, use the address + 1 as the second key.
 2750|       |        // The only requirement for the key is that it is unique and it matches the logic in
 2751|       |        // compile.c where the scope is retrieved.
 2752|  10.9k|        if (!symtable_visit_type_param_bound_or_default(st, tp->v.TypeVar.bound, tp->v.TypeVar.name,
  ------------------
  |  Branch (2752:13): [True: 1, False: 10.9k]
  ------------------
 2753|  10.9k|                                                        tp, ste_scope_info)) {
 2754|      1|            return 0;
 2755|      1|        }
 2756|       |
 2757|  10.9k|        if (!symtable_visit_type_param_bound_or_default(st, tp->v.TypeVar.default_value, tp->v.TypeVar.name,
  ------------------
  |  Branch (2757:13): [True: 0, False: 10.9k]
  ------------------
 2758|  10.9k|                                                        (type_param_ty)((uintptr_t)tp + 1), "a TypeVar default")) {
 2759|      0|            return 0;
 2760|      0|        }
 2761|  10.9k|        break;
 2762|  10.9k|    case TypeVarTuple_kind:
  ------------------
  |  Branch (2762:5): [True: 1.59k, False: 11.3k]
  ------------------
 2763|  1.59k|        if (!symtable_add_def(st, tp->v.TypeVarTuple.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp))) {
  ------------------
  |  |  179|  1.59k|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
                      if (!symtable_add_def(st, tp->v.TypeVarTuple.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp))) {
  ------------------
  |  |  171|  1.59k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, tp->v.TypeVarTuple.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp))) {
  ------------------
  |  |   86|  1.59k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.59k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.59k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.59k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.59k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.59k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2763:13): [True: 2, False: 1.59k]
  ------------------
 2764|      2|            return 0;
 2765|      2|        }
 2766|       |
 2767|  1.59k|        if (!symtable_visit_type_param_bound_or_default(st, tp->v.TypeVarTuple.default_value, tp->v.TypeVarTuple.name,
  ------------------
  |  Branch (2767:13): [True: 1, False: 1.59k]
  ------------------
 2768|  1.59k|                                                        tp, "a TypeVarTuple default")) {
 2769|      1|            return 0;
 2770|      1|        }
 2771|  1.59k|        break;
 2772|  1.59k|    case ParamSpec_kind:
  ------------------
  |  Branch (2772:5): [True: 466, False: 12.5k]
  ------------------
 2773|    466|        if (!symtable_add_def(st, tp->v.ParamSpec.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp))) {
  ------------------
  |  |  179|    466|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
                      if (!symtable_add_def(st, tp->v.ParamSpec.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp))) {
  ------------------
  |  |  171|    466|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, tp->v.ParamSpec.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp))) {
  ------------------
  |  |   86|    466|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    466|    (_Py_SourceLocation){ \
  |  |  |  |   59|    466|               .lineno = (n)->lineno, \
  |  |  |  |   60|    466|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    466|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    466|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2773:13): [True: 1, False: 465]
  ------------------
 2774|      1|            return 0;
 2775|      1|        }
 2776|       |
 2777|    465|        if (!symtable_visit_type_param_bound_or_default(st, tp->v.ParamSpec.default_value, tp->v.ParamSpec.name,
  ------------------
  |  Branch (2777:13): [True: 2, False: 463]
  ------------------
 2778|    465|                                                        tp, "a ParamSpec default")) {
 2779|      2|            return 0;
 2780|      2|        }
 2781|    463|        break;
 2782|  12.9k|    }
 2783|  12.9k|    LEAVE_RECURSIVE();
  ------------------
  |  | 1809|  12.9k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
 2784|  12.9k|    return 1;
 2785|  12.9k|}
symtable.c:symtable_visit_type_param_bound_or_default:
 2695|  23.8k|{
 2696|  23.8k|    if (_PyUnicode_Equal(name, &_Py_ID(__classdict__))) {
  ------------------
  |  |  951|  23.8k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  23.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  23.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2696:9): [True: 1, False: 23.8k]
  ------------------
 2697|       |
 2698|      1|        PyObject *error_msg = PyUnicode_FromFormat("reserved name '%U' cannot be "
 2699|      1|                                                   "used for type parameter", name);
 2700|      1|        if (error_msg == NULL) {
  ------------------
  |  Branch (2700:13): [True: 0, False: 1]
  ------------------
 2701|      0|            return 0;
 2702|      0|        }
 2703|      1|        PyErr_SetObject(PyExc_SyntaxError, error_msg);
 2704|      1|        Py_DECREF(error_msg);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2705|      1|        SET_ERROR_LOCATION(st->st_filename, LOCATION(tp));
  ------------------
  |  |   89|      1|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      1|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2706|      1|        return 0;
 2707|      1|    }
 2708|       |
 2709|  23.8k|    if (e) {
  ------------------
  |  Branch (2709:9): [True: 5.41k, False: 18.4k]
  ------------------
 2710|  5.41k|        int is_in_class = st->st_cur->ste_can_see_class_scope;
 2711|  5.41k|        if (!symtable_enter_block(st, name, TypeVariableBlock, (void *)tp, LOCATION(e))) {
  ------------------
  |  |   86|  5.41k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  5.41k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  5.41k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  5.41k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  5.41k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  5.41k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2711:13): [True: 0, False: 5.41k]
  ------------------
 2712|      0|            return 0;
 2713|      0|        }
 2714|       |
 2715|  5.41k|        st->st_cur->ste_can_see_class_scope = is_in_class;
 2716|  5.41k|        if (is_in_class && !symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(e))) {
  ------------------
  |  |  951|    708|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    708|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    708|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (is_in_class && !symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(e))) {
  ------------------
  |  |  174|    708|#define USE (2<<3)               /* name is used */
  ------------------
                      if (is_in_class && !symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(e))) {
  ------------------
  |  |   86|    708|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    708|    (_Py_SourceLocation){ \
  |  |  |  |   59|    708|               .lineno = (n)->lineno, \
  |  |  |  |   60|    708|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    708|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    708|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2716:13): [True: 708, False: 4.71k]
  |  Branch (2716:28): [True: 0, False: 708]
  ------------------
 2717|      0|            return 0;
 2718|      0|        }
 2719|       |
 2720|  5.41k|        assert(ste_scope_info != NULL);
  ------------------
  |  Branch (2720:9): [True: 5.41k, False: 0]
  ------------------
 2721|  5.41k|        st->st_cur->ste_scope_info = ste_scope_info;
 2722|  5.41k|        VISIT(st, expr, e);
  ------------------
  |  | 1750|  5.41k|    do { \
  |  | 1751|  5.41k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 3, False: 5.41k]
  |  |  ------------------
  |  | 1752|      3|            return 0; \
  |  | 1753|      3|        } \
  |  | 1754|  5.41k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 5.41k]
  |  |  ------------------
  ------------------
 2723|       |
 2724|  5.41k|        if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (2724:13): [True: 0, False: 5.41k]
  ------------------
 2725|      0|            return 0;
 2726|      0|        }
 2727|  5.41k|    }
 2728|  23.8k|    return 1;
 2729|  23.8k|}
symtable.c:symtable_visit_annotations:
 2944|  7.16k|{
 2945|  7.16k|    int is_in_class = st->st_cur->ste_can_see_class_scope;
 2946|  7.16k|    _Py_block_ty current_type = st->st_cur->ste_type;
 2947|  7.16k|    if (!symtable_enter_block(st, &_Py_ID(__annotate__), AnnotationBlock,
  ------------------
  |  |  951|  7.16k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  7.16k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  7.16k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2947:9): [True: 0, False: 7.16k]
  ------------------
 2948|  7.16k|                              (void *)a, LOCATION(o))) {
  ------------------
  |  |   86|  7.16k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  7.16k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  7.16k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  7.16k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  7.16k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  7.16k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2949|      0|        return 0;
 2950|      0|    }
 2951|  7.16k|    Py_XSETREF(st->st_cur->ste_function_name, Py_NewRef(function_ste->ste_name));
  ------------------
  |  |  576|  7.16k|    do { \
  |  |  577|  7.16k|        _Py_TYPEOF(&(dst)) _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  549|  7.16k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  578|  7.16k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  549|  7.16k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  579|  7.16k|        *_tmp_dst_ptr = (src); \
  |  |  580|  7.16k|        Py_XDECREF(_PyObject_CAST(_tmp_old_dst)); \
  |  |  ------------------
  |  |  |  |  621|  7.16k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  581|  7.16k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (581:14): [Folded, False: 7.16k]
  |  |  ------------------
  ------------------
 2952|  7.16k|    if (is_in_class || current_type == ClassBlock) {
  ------------------
  |  Branch (2952:9): [True: 18, False: 7.14k]
  |  Branch (2952:24): [True: 151, False: 6.99k]
  ------------------
 2953|    169|        st->st_cur->ste_can_see_class_scope = 1;
 2954|    169|        if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(o))) {
  ------------------
  |  |  951|    169|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    169|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    169|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(o))) {
  ------------------
  |  |  174|    169|#define USE (2<<3)               /* name is used */
  ------------------
                      if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(o))) {
  ------------------
  |  |   86|    169|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    169|    (_Py_SourceLocation){ \
  |  |  |  |   59|    169|               .lineno = (n)->lineno, \
  |  |  |  |   60|    169|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    169|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    169|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2954:13): [True: 0, False: 169]
  ------------------
 2955|      0|            return 0;
 2956|      0|        }
 2957|    169|    }
 2958|  7.16k|    if (a->posonlyargs && !symtable_visit_argannotations(st, a->posonlyargs))
  ------------------
  |  Branch (2958:9): [True: 7.16k, False: 0]
  |  Branch (2958:27): [True: 1, False: 7.16k]
  ------------------
 2959|      1|        return 0;
 2960|  7.16k|    if (a->args && !symtable_visit_argannotations(st, a->args))
  ------------------
  |  Branch (2960:9): [True: 7.16k, False: 0]
  |  Branch (2960:20): [True: 1, False: 7.16k]
  ------------------
 2961|      1|        return 0;
 2962|  7.16k|    if (a->vararg && a->vararg->annotation) {
  ------------------
  |  Branch (2962:9): [True: 830, False: 6.33k]
  |  Branch (2962:22): [True: 93, False: 737]
  ------------------
 2963|     93|        st->st_cur->ste_annotations_used = 1;
 2964|     93|        VISIT(st, expr, a->vararg->annotation);
  ------------------
  |  | 1750|     93|    do { \
  |  | 1751|     93|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 92]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|     93|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 92]
  |  |  ------------------
  ------------------
 2965|     93|    }
 2966|  7.16k|    if (a->kwarg && a->kwarg->annotation) {
  ------------------
  |  Branch (2966:9): [True: 325, False: 6.83k]
  |  Branch (2966:21): [True: 288, False: 37]
  ------------------
 2967|    288|        st->st_cur->ste_annotations_used = 1;
 2968|    288|        VISIT(st, expr, a->kwarg->annotation);
  ------------------
  |  | 1750|    288|    do { \
  |  | 1751|    288|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 288]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|    288|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 288]
  |  |  ------------------
  ------------------
 2969|    288|    }
 2970|  7.16k|    if (a->kwonlyargs && !symtable_visit_argannotations(st, a->kwonlyargs))
  ------------------
  |  Branch (2970:9): [True: 7.16k, False: 0]
  |  Branch (2970:26): [True: 0, False: 7.16k]
  ------------------
 2971|      0|        return 0;
 2972|  7.16k|    if (returns) {
  ------------------
  |  Branch (2972:9): [True: 1.76k, False: 5.39k]
  ------------------
 2973|  1.76k|        st->st_cur->ste_annotations_used = 1;
 2974|  1.76k|        VISIT(st, expr, returns);
  ------------------
  |  | 1750|  1.76k|    do { \
  |  | 1751|  1.76k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 1.76k]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|  1.76k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 1.76k]
  |  |  ------------------
  ------------------
 2975|  1.76k|    }
 2976|  7.16k|    if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (2976:9): [True: 0, False: 7.16k]
  ------------------
 2977|      0|        return 0;
 2978|      0|    }
 2979|  7.16k|    return 1;
 2980|  7.16k|}
symtable.c:symtable_visit_argannotations:
 2927|  21.4k|{
 2928|  21.4k|    Py_ssize_t i;
 2929|       |
 2930|  27.0k|    for (i = 0; i < asdl_seq_LEN(args); i++) {
  ------------------
  |  |   83|  27.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  54.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 27.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2930:17): [True: 5.57k, False: 21.4k]
  ------------------
 2931|  5.57k|        arg_ty arg = (arg_ty)asdl_seq_GET(args, i);
  ------------------
  |  |   82|  5.57k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  5.57k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2932|  5.57k|        if (arg->annotation) {
  ------------------
  |  Branch (2932:13): [True: 809, False: 4.77k]
  ------------------
 2933|    809|            st->st_cur->ste_annotations_used = 1;
 2934|    809|            VISIT(st, expr, arg->annotation);
  ------------------
  |  | 1750|    809|    do { \
  |  | 1751|    809|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 2, False: 807]
  |  |  ------------------
  |  | 1752|      2|            return 0; \
  |  | 1753|      2|        } \
  |  | 1754|    809|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 807]
  |  |  ------------------
  ------------------
 2935|    809|        }
 2936|  5.57k|    }
 2937|       |
 2938|  21.4k|    return 1;
 2939|  21.4k|}
symtable.c:symtable_visit_arguments:
 2984|  20.3k|{
 2985|       |    /* skip default arguments inside function block
 2986|       |       XXX should ast be different?
 2987|       |    */
 2988|  20.3k|    if (a->posonlyargs && !symtable_visit_params(st, a->posonlyargs))
  ------------------
  |  Branch (2988:9): [True: 20.3k, False: 0]
  |  Branch (2988:27): [True: 10, False: 20.3k]
  ------------------
 2989|     10|        return 0;
 2990|  20.3k|    if (a->args && !symtable_visit_params(st, a->args))
  ------------------
  |  Branch (2990:9): [True: 20.3k, False: 0]
  |  Branch (2990:20): [True: 7, False: 20.3k]
  ------------------
 2991|      7|        return 0;
 2992|  20.3k|    if (a->kwonlyargs && !symtable_visit_params(st, a->kwonlyargs))
  ------------------
  |  Branch (2992:9): [True: 20.3k, False: 0]
  |  Branch (2992:26): [True: 26, False: 20.3k]
  ------------------
 2993|     26|        return 0;
 2994|  20.3k|    if (a->vararg) {
  ------------------
  |  Branch (2994:9): [True: 8.47k, False: 11.8k]
  ------------------
 2995|  8.47k|        if (!symtable_add_def(st, a->vararg->arg, DEF_PARAM, LOCATION(a->vararg)))
  ------------------
  |  |  172|  8.47k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, a->vararg->arg, DEF_PARAM, LOCATION(a->vararg)))
  ------------------
  |  |   86|  8.47k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  8.47k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  8.47k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  8.47k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  8.47k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  8.47k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2995:13): [True: 1, False: 8.47k]
  ------------------
 2996|      1|            return 0;
 2997|  8.47k|        st->st_cur->ste_varargs = 1;
 2998|  8.47k|    }
 2999|  20.3k|    if (a->kwarg) {
  ------------------
  |  Branch (2999:9): [True: 863, False: 19.4k]
  ------------------
 3000|    863|        if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM, LOCATION(a->kwarg)))
  ------------------
  |  |  172|    863|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM, LOCATION(a->kwarg)))
  ------------------
  |  |   86|    863|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    863|    (_Py_SourceLocation){ \
  |  |  |  |   59|    863|               .lineno = (n)->lineno, \
  |  |  |  |   60|    863|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    863|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    863|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (3000:13): [True: 2, False: 861]
  ------------------
 3001|      2|            return 0;
 3002|    861|        st->st_cur->ste_varkeywords = 1;
 3003|    861|    }
 3004|  20.3k|    return 1;
 3005|  20.3k|}
symtable.c:symtable_visit_params:
 2859|  61.1k|{
 2860|  61.1k|    Py_ssize_t i;
 2861|       |
 2862|  77.1k|    for (i = 0; i < asdl_seq_LEN(args); i++) {
  ------------------
  |  |   83|  77.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|   154k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 0, False: 77.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2862:17): [True: 16.1k, False: 61.0k]
  ------------------
 2863|  16.1k|        arg_ty arg = (arg_ty)asdl_seq_GET(args, i);
  ------------------
  |  |   82|  16.1k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  16.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2864|  16.1k|        if (!symtable_add_def(st, arg->arg, DEF_PARAM, LOCATION(arg)))
  ------------------
  |  |  172|  16.1k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, arg->arg, DEF_PARAM, LOCATION(arg)))
  ------------------
  |  |   86|  16.1k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  16.1k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  16.1k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  16.1k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  16.1k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  16.1k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2864:13): [True: 43, False: 16.0k]
  ------------------
 2865|     43|            return 0;
 2866|  16.1k|    }
 2867|       |
 2868|  61.0k|    return 1;
 2869|  61.1k|}
symtable.c:check_keywords:
 1634|  28.8k|{
 1635|  35.6k|    for (Py_ssize_t i = 0; i < asdl_seq_LEN(keywords); i++) {
  ------------------
  |  |   83|  35.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  71.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 25.4k, False: 10.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1635:28): [True: 6.81k, False: 28.8k]
  ------------------
 1636|  6.81k|        keyword_ty key = ((keyword_ty)asdl_seq_GET(keywords, i));
  ------------------
  |  |   82|  6.81k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  6.81k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1637|  6.81k|        if (key->arg  && !check_name(st, key->arg, LOCATION(key), Store)) {
  ------------------
  |  |   86|  3.76k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  3.76k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  3.76k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  3.76k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  3.76k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  3.76k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (1637:13): [True: 3.76k, False: 3.05k]
  |  Branch (1637:26): [True: 3, False: 3.76k]
  ------------------
 1638|      3|            return 0;
 1639|      3|        }
 1640|  6.81k|    }
 1641|  28.8k|    return 1;
 1642|  28.8k|}
symtable.c:symtable_visit_keyword:
 3097|  6.80k|{
 3098|  6.80k|    VISIT(st, expr, k->value);
  ------------------
  |  | 1750|  6.80k|    do { \
  |  | 1751|  6.80k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 23, False: 6.78k]
  |  |  ------------------
  |  | 1752|     23|            return 0; \
  |  | 1753|     23|        } \
  |  | 1754|  6.80k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 6.78k]
  |  |  ------------------
  ------------------
 3099|  6.78k|    return 1;
 3100|  6.80k|}
symtable.c:symtable_lookup:
 1542|  25.3k|{
 1543|  25.3k|    return symtable_lookup_entry(st, st->st_cur, name);
 1544|  25.3k|}
symtable.c:symtable_lookup_entry:
 1528|  29.3k|{
 1529|  29.3k|    PyObject *mangled = _Py_MaybeMangle(st->st_private, ste, name);
 1530|  29.3k|    if (!mangled)
  ------------------
  |  Branch (1530:9): [True: 0, False: 29.3k]
  ------------------
 1531|      0|        return -1;
 1532|  29.3k|    long ret = _PyST_GetSymbol(ste, mangled);
 1533|  29.3k|    Py_DECREF(mangled);
  ------------------
  |  |  430|  29.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1534|  29.3k|    if (ret < 0) {
  ------------------
  |  Branch (1534:9): [True: 0, False: 29.3k]
  ------------------
 1535|      0|        return -1;
 1536|      0|    }
 1537|  29.3k|    return ret;
 1538|  29.3k|}
symtable.c:symtable_visit_annotation:
 2873|  24.3k|{
 2874|       |    // Annotations in local scopes are not executed and should not affect the symtable
 2875|  24.3k|    bool is_unevaluated = st->st_cur->ste_type == FunctionBlock;
 2876|       |
 2877|       |    // Module-level annotations are always considered conditional because the module
 2878|       |    // may be partially executed.
 2879|  24.3k|    if ((((st->st_cur->ste_type == ClassBlock && st->st_cur->ste_in_conditional_block)
  ------------------
  |  Branch (2879:12): [True: 9.83k, False: 14.5k]
  |  Branch (2879:50): [True: 585, False: 9.24k]
  ------------------
 2880|  23.7k|            || st->st_cur->ste_type == ModuleBlock))
  ------------------
  |  Branch (2880:16): [True: 12.5k, False: 11.2k]
  ------------------
 2881|  13.1k|            && !st->st_cur->ste_has_conditional_annotations)
  ------------------
  |  Branch (2881:16): [True: 2.46k, False: 10.6k]
  ------------------
 2882|  2.46k|    {
 2883|  2.46k|        st->st_cur->ste_has_conditional_annotations = 1;
 2884|  2.46k|        if (!symtable_add_def(st, &_Py_ID(__conditional_annotations__), USE, LOCATION(annotation))) {
  ------------------
  |  |  951|  2.46k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.46k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.46k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_ID(__conditional_annotations__), USE, LOCATION(annotation))) {
  ------------------
  |  |  174|  2.46k|#define USE (2<<3)               /* name is used */
  ------------------
                      if (!symtable_add_def(st, &_Py_ID(__conditional_annotations__), USE, LOCATION(annotation))) {
  ------------------
  |  |   86|  2.46k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  2.46k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  2.46k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  2.46k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  2.46k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  2.46k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2884:13): [True: 0, False: 2.46k]
  ------------------
 2885|      0|            return 0;
 2886|      0|        }
 2887|  2.46k|    }
 2888|  24.3k|    struct _symtable_entry *parent_ste = st->st_cur;
 2889|  24.3k|    if (parent_ste->ste_annotation_block == NULL) {
  ------------------
  |  Branch (2889:9): [True: 8.34k, False: 16.0k]
  ------------------
 2890|  8.34k|        _Py_block_ty current_type = parent_ste->ste_type;
 2891|  8.34k|        if (!symtable_enter_block(st, &_Py_ID(__annotate__), AnnotationBlock,
  ------------------
  |  |  951|  8.34k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.34k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.34k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2891:13): [True: 0, False: 8.34k]
  ------------------
 2892|  8.34k|                                    key, LOCATION(annotation))) {
  ------------------
  |  |   86|  8.34k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  8.34k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  8.34k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  8.34k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  8.34k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  8.34k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2893|      0|            return 0;
 2894|      0|        }
 2895|  8.34k|        parent_ste->ste_annotation_block =
 2896|  8.34k|            (struct _symtable_entry *)Py_NewRef(st->st_cur);
  ------------------
  |  |  647|  8.34k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2897|  8.34k|        int future_annotations = st->st_future->ff_features & CO_FUTURE_ANNOTATIONS;
  ------------------
  |  |  147|  8.34k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
 2898|  8.34k|        if (current_type == ClassBlock && !future_annotations) {
  ------------------
  |  Branch (2898:13): [True: 4.62k, False: 3.72k]
  |  Branch (2898:43): [True: 3.97k, False: 647]
  ------------------
 2899|  3.97k|            st->st_cur->ste_can_see_class_scope = 1;
 2900|  3.97k|            parent_ste->ste_needs_classdict = 1;
 2901|  3.97k|            if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(annotation))) {
  ------------------
  |  |  951|  3.97k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.97k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.97k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(annotation))) {
  ------------------
  |  |  174|  3.97k|#define USE (2<<3)               /* name is used */
  ------------------
                          if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(annotation))) {
  ------------------
  |  |   86|  3.97k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  3.97k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  3.97k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  3.97k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  3.97k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  3.97k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2901:17): [True: 0, False: 3.97k]
  ------------------
 2902|      0|                return 0;
 2903|      0|            }
 2904|  3.97k|        }
 2905|  8.34k|    }
 2906|  16.0k|    else {
 2907|  16.0k|        if (!symtable_enter_existing_block(st, parent_ste->ste_annotation_block,
  ------------------
  |  Branch (2907:13): [True: 0, False: 16.0k]
  ------------------
 2908|  16.0k|                                           /* add_to_children */false)) {
 2909|      0|            return 0;
 2910|      0|        }
 2911|  16.0k|    }
 2912|  24.3k|    if (is_unevaluated) {
  ------------------
  |  Branch (2912:9): [True: 1.97k, False: 22.4k]
  ------------------
 2913|  1.97k|        st->st_cur->ste_in_unevaluated_annotation = 1;
 2914|  1.97k|    }
 2915|  24.3k|    int rc = symtable_visit_expr(st, annotation);
 2916|  24.3k|    if (is_unevaluated) {
  ------------------
  |  Branch (2916:9): [True: 1.97k, False: 22.4k]
  ------------------
 2917|  1.97k|        st->st_cur->ste_in_unevaluated_annotation = 0;
 2918|  1.97k|    }
 2919|  24.3k|    if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (2919:9): [True: 0, False: 24.3k]
  ------------------
 2920|      0|        return 0;
 2921|      0|    }
 2922|  24.3k|    return rc;
 2923|  24.3k|}
symtable.c:symtable_visit_match_case:
 3032|  1.91k|{
 3033|  1.91k|    VISIT(st, pattern, m->pattern);
  ------------------
  |  | 1750|  1.91k|    do { \
  |  | 1751|  1.91k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 3, False: 1.91k]
  |  |  ------------------
  |  | 1752|      3|            return 0; \
  |  | 1753|      3|        } \
  |  | 1754|  1.91k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 1.91k]
  |  |  ------------------
  ------------------
 3034|  1.91k|    if (m->guard) {
  ------------------
  |  Branch (3034:9): [True: 367, False: 1.54k]
  ------------------
 3035|    367|        VISIT(st, expr, m->guard);
  ------------------
  |  | 1750|    367|    do { \
  |  | 1751|    367|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 366]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|    367|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 366]
  |  |  ------------------
  ------------------
 3036|    367|    }
 3037|  1.91k|    VISIT_SEQ(st, stmt, m->body);
  ------------------
  |  | 1757|  1.91k|    do { \
  |  | 1758|  1.91k|        Py_ssize_t i; \
  |  | 1759|  1.91k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  3.92k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.92k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  7.85k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 3.92k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 2.01k, False: 1.91k]
  |  |  ------------------
  |  | 1761|  2.01k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.01k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.01k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  2.01k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 2.01k]
  |  |  ------------------
  |  | 1763|  2.01k|                return 0;                 \
  |  | 1764|  2.01k|        } \
  |  | 1765|  1.91k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 1.91k]
  |  |  ------------------
  ------------------
 3038|  1.91k|    return 1;
 3039|  1.91k|}
symtable.c:symtable_visit_pattern:
 2789|  18.1k|{
 2790|  18.1k|    ENTER_RECURSIVE();
  ------------------
  |  | 1804|  18.1k|#define ENTER_RECURSIVE() \
  |  | 1805|  18.1k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (1805:5): [True: 0, False: 18.1k]
  |  |  ------------------
  |  | 1806|      0|    return 0; \
  |  | 1807|      0|}
  ------------------
 2791|  18.1k|    switch (p->kind) {
  ------------------
  |  Branch (2791:13): [True: 18.1k, False: 0]
  ------------------
 2792|  5.57k|    case MatchValue_kind:
  ------------------
  |  Branch (2792:5): [True: 5.57k, False: 12.5k]
  ------------------
 2793|  5.57k|        VISIT(st, expr, p->v.MatchValue.value);
  ------------------
  |  | 1750|  5.57k|    do { \
  |  | 1751|  5.57k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 5.57k]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|  5.57k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 5.57k]
  |  |  ------------------
  ------------------
 2794|  5.57k|        break;
 2795|  5.57k|    case MatchSingleton_kind:
  ------------------
  |  Branch (2795:5): [True: 180, False: 17.9k]
  ------------------
 2796|       |        /* Nothing to do here. */
 2797|    180|        break;
 2798|  1.54k|    case MatchSequence_kind:
  ------------------
  |  Branch (2798:5): [True: 1.54k, False: 16.5k]
  ------------------
 2799|  1.54k|        VISIT_SEQ(st, pattern, p->v.MatchSequence.patterns);
  ------------------
  |  | 1757|  1.54k|    do { \
  |  | 1758|  1.54k|        Py_ssize_t i; \
  |  | 1759|  1.54k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  9.77k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  9.77k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  19.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 356, False: 9.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 8.23k, False: 1.54k]
  |  |  ------------------
  |  | 1761|  8.23k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  8.23k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  8.23k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  8.23k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 6, False: 8.22k]
  |  |  ------------------
  |  | 1763|  8.23k|                return 0;                 \
  |  | 1764|  8.23k|        } \
  |  | 1765|  1.54k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 1.54k]
  |  |  ------------------
  ------------------
 2800|  1.54k|        break;
 2801|  1.54k|    case MatchStar_kind:
  ------------------
  |  Branch (2801:5): [True: 609, False: 17.5k]
  ------------------
 2802|    609|        if (p->v.MatchStar.name) {
  ------------------
  |  Branch (2802:13): [True: 221, False: 388]
  ------------------
 2803|    221|            if (!symtable_add_def(st, p->v.MatchStar.name, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |  171|    221|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (!symtable_add_def(st, p->v.MatchStar.name, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |   86|    221|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    221|    (_Py_SourceLocation){ \
  |  |  |  |   59|    221|               .lineno = (n)->lineno, \
  |  |  |  |   60|    221|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    221|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    221|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2803:17): [True: 0, False: 221]
  ------------------
 2804|      0|                return 0;
 2805|      0|            }
 2806|    221|        }
 2807|    609|        break;
 2808|    609|    case MatchMapping_kind:
  ------------------
  |  Branch (2808:5): [True: 491, False: 17.6k]
  ------------------
 2809|    491|        VISIT_SEQ(st, expr, p->v.MatchMapping.keys);
  ------------------
  |  | 1757|    491|    do { \
  |  | 1758|    491|        Py_ssize_t i; \
  |  | 1759|    491|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  1.16k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.16k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.33k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 98, False: 1.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 676, False: 491]
  |  |  ------------------
  |  | 1761|    676|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    676|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    676|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    676|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 676]
  |  |  ------------------
  |  | 1763|    676|                return 0;                 \
  |  | 1764|    676|        } \
  |  | 1765|    491|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 491]
  |  |  ------------------
  ------------------
 2810|    491|        VISIT_SEQ(st, pattern, p->v.MatchMapping.patterns);
  ------------------
  |  | 1757|    491|    do { \
  |  | 1758|    491|        Py_ssize_t i; \
  |  | 1759|    491|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  1.16k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.16k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.33k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 98, False: 1.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 676, False: 491]
  |  |  ------------------
  |  | 1761|    676|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    676|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    676|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    676|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 676]
  |  |  ------------------
  |  | 1763|    676|                return 0;                 \
  |  | 1764|    676|        } \
  |  | 1765|    491|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 491]
  |  |  ------------------
  ------------------
 2811|    491|        if (p->v.MatchMapping.rest) {
  ------------------
  |  Branch (2811:13): [True: 3, False: 488]
  ------------------
 2812|      3|            if (!symtable_add_def(st, p->v.MatchMapping.rest, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |  171|      3|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (!symtable_add_def(st, p->v.MatchMapping.rest, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |   86|      3|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|      3|    (_Py_SourceLocation){ \
  |  |  |  |   59|      3|               .lineno = (n)->lineno, \
  |  |  |  |   60|      3|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|      3|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|      3|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2812:17): [True: 0, False: 3]
  ------------------
 2813|      0|                return 0;
 2814|      0|            }
 2815|      3|        }
 2816|    491|        break;
 2817|  1.88k|    case MatchClass_kind:
  ------------------
  |  Branch (2817:5): [True: 1.88k, False: 16.2k]
  ------------------
 2818|  1.88k|        VISIT(st, expr, p->v.MatchClass.cls);
  ------------------
  |  | 1750|  1.88k|    do { \
  |  | 1751|  1.88k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 1.88k]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|  1.88k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 1.88k]
  |  |  ------------------
  ------------------
 2819|  1.88k|        VISIT_SEQ(st, pattern, p->v.MatchClass.patterns);
  ------------------
  |  | 1757|  1.88k|    do { \
  |  | 1758|  1.88k|        Py_ssize_t i; \
  |  | 1759|  1.88k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  4.61k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  4.61k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  9.23k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 639, False: 3.97k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 2.74k, False: 1.87k]
  |  |  ------------------
  |  | 1761|  2.74k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.74k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  2.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  2.74k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 9, False: 2.73k]
  |  |  ------------------
  |  | 1763|  2.74k|                return 0;                 \
  |  | 1764|  2.74k|        } \
  |  | 1765|  1.88k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 1.87k]
  |  |  ------------------
  ------------------
 2820|  1.87k|        if (!check_kwd_patterns(st, p)) {
  ------------------
  |  Branch (2820:13): [True: 0, False: 1.87k]
  ------------------
 2821|      0|            return 0;
 2822|      0|        }
 2823|  1.87k|        VISIT_SEQ(st, pattern, p->v.MatchClass.kwd_patterns);
  ------------------
  |  | 1757|  1.87k|    do { \
  |  | 1758|  1.87k|        Py_ssize_t i; \
  |  | 1759|  1.87k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  3.11k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.11k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  6.22k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 1.73k, False: 1.38k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 1.24k, False: 1.87k]
  |  |  ------------------
  |  | 1761|  1.24k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.24k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.24k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  1.24k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 1.24k]
  |  |  ------------------
  |  | 1763|  1.24k|                return 0;                 \
  |  | 1764|  1.24k|        } \
  |  | 1765|  1.87k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 1.87k]
  |  |  ------------------
  ------------------
 2824|  1.87k|        break;
 2825|  6.52k|    case MatchAs_kind:
  ------------------
  |  Branch (2825:5): [True: 6.52k, False: 11.6k]
  ------------------
 2826|  6.52k|        if (p->v.MatchAs.pattern) {
  ------------------
  |  Branch (2826:13): [True: 88, False: 6.43k]
  ------------------
 2827|     88|            VISIT(st, pattern, p->v.MatchAs.pattern);
  ------------------
  |  | 1750|     88|    do { \
  |  | 1751|     88|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 88]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|     88|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 88]
  |  |  ------------------
  ------------------
 2828|     88|        }
 2829|  6.52k|        if (p->v.MatchAs.name) {
  ------------------
  |  Branch (2829:13): [True: 5.23k, False: 1.28k]
  ------------------
 2830|  5.23k|            if (!symtable_add_def(st, p->v.MatchAs.name, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |  171|  5.23k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (!symtable_add_def(st, p->v.MatchAs.name, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |   86|  5.23k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  5.23k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  5.23k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  5.23k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  5.23k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  5.23k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2830:17): [True: 3, False: 5.23k]
  ------------------
 2831|      3|                return 0;
 2832|      3|            }
 2833|  5.23k|        }
 2834|  6.51k|        break;
 2835|  6.51k|    case MatchOr_kind:
  ------------------
  |  Branch (2835:5): [True: 1.33k, False: 16.8k]
  ------------------
 2836|  1.33k|        VISIT_SEQ(st, pattern, p->v.MatchOr.patterns);
  ------------------
  |  | 1757|  1.33k|    do { \
  |  | 1758|  1.33k|        Py_ssize_t i; \
  |  | 1759|  1.33k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  4.56k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  4.56k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  9.13k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 4.56k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 3.23k, False: 1.33k]
  |  |  ------------------
  |  | 1761|  3.23k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.23k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.23k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  3.23k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 2, False: 3.23k]
  |  |  ------------------
  |  | 1763|  3.23k|                return 0;                 \
  |  | 1764|  3.23k|        } \
  |  | 1765|  1.33k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 1.33k]
  |  |  ------------------
  ------------------
 2837|  1.33k|        break;
 2838|  18.1k|    }
 2839|  18.1k|    LEAVE_RECURSIVE();
  ------------------
  |  | 1809|  18.1k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
 2840|  18.1k|    return 1;
 2841|  18.1k|}
symtable.c:check_kwd_patterns:
 1646|  1.87k|{
 1647|  1.87k|    assert(p->kind == MatchClass_kind);
  ------------------
  |  Branch (1647:5): [True: 1.87k, False: 0]
  ------------------
 1648|  1.87k|    asdl_identifier_seq *kwd_attrs = p->v.MatchClass.kwd_attrs;
 1649|  1.87k|    asdl_pattern_seq *kwd_patterns = p->v.MatchClass.kwd_patterns;
 1650|  3.11k|    for (Py_ssize_t i = 0; i < asdl_seq_LEN(kwd_attrs); i++) {
  ------------------
  |  |   83|  3.11k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  313|  6.22k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (313:37): [True: 1.73k, False: 1.38k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1650:28): [True: 1.24k, False: 1.87k]
  ------------------
 1651|  1.24k|        _Py_SourceLocation loc = LOCATION(asdl_seq_GET(kwd_patterns, i));
  ------------------
  |  |   86|  1.24k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.24k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.24k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.24k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.24k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.24k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1652|  1.24k|        if (!check_name(st, asdl_seq_GET(kwd_attrs, i), loc, Store)) {
  ------------------
  |  |   82|  1.24k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  1.24k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (1652:13): [True: 0, False: 1.24k]
  ------------------
 1653|      0|            return 0;
 1654|      0|        }
 1655|  1.24k|    }
 1656|  1.87k|    return 1;
 1657|  1.87k|}
symtable.c:symtable_visit_excepthandler:
 3010|  2.54k|{
 3011|  2.54k|    if (eh->v.ExceptHandler.type)
  ------------------
  |  Branch (3011:9): [True: 1.38k, False: 1.15k]
  ------------------
 3012|  1.38k|        VISIT(st, expr, eh->v.ExceptHandler.type);
  ------------------
  |  | 1750|  1.38k|    do { \
  |  | 1751|  1.38k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 2, False: 1.38k]
  |  |  ------------------
  |  | 1752|      2|            return 0; \
  |  | 1753|      2|        } \
  |  | 1754|  1.38k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 1.38k]
  |  |  ------------------
  ------------------
 3013|  2.54k|    if (eh->v.ExceptHandler.name)
  ------------------
  |  Branch (3013:9): [True: 235, False: 2.30k]
  ------------------
 3014|    235|        if (!symtable_add_def(st, eh->v.ExceptHandler.name, DEF_LOCAL, LOCATION(eh)))
  ------------------
  |  |  171|    235|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, eh->v.ExceptHandler.name, DEF_LOCAL, LOCATION(eh)))
  ------------------
  |  |   86|    235|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    235|    (_Py_SourceLocation){ \
  |  |  |  |   59|    235|               .lineno = (n)->lineno, \
  |  |  |  |   60|    235|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    235|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    235|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (3014:13): [True: 0, False: 235]
  ------------------
 3015|      0|            return 0;
 3016|  2.54k|    VISIT_SEQ(st, stmt, eh->v.ExceptHandler.body);
  ------------------
  |  | 1757|  2.54k|    do { \
  |  | 1758|  2.54k|        Py_ssize_t i; \
  |  | 1759|  2.54k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  5.83k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.83k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  11.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 5.83k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 3.29k, False: 2.53k]
  |  |  ------------------
  |  | 1761|  3.29k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.29k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.29k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  3.29k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 1, False: 3.29k]
  |  |  ------------------
  |  | 1763|  3.29k|                return 0;                 \
  |  | 1764|  3.29k|        } \
  |  | 1765|  2.54k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 2.53k]
  |  |  ------------------
  ------------------
 3017|  2.53k|    return 1;
 3018|  2.54k|}
symtable.c:check_lazy_import_context:
 1868|    131|{
 1869|       |    // Check if inside try/except block.
 1870|    131|    if (st->st_cur->ste_in_try_block) {
  ------------------
  |  Branch (1870:9): [True: 0, False: 131]
  ------------------
 1871|      0|        PyErr_Format(PyExc_SyntaxError,
 1872|      0|                     "lazy %s not allowed inside try/except blocks",
 1873|      0|                     import_type);
 1874|      0|        SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   89|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1875|      0|        return 0;
 1876|      0|    }
 1877|       |
 1878|       |    // Check if inside function scope.
 1879|    131|    if (st->st_cur->ste_type == FunctionBlock) {
  ------------------
  |  Branch (1879:9): [True: 0, False: 131]
  ------------------
 1880|      0|        PyErr_Format(PyExc_SyntaxError,
 1881|      0|                     "lazy %s not allowed inside functions", import_type);
 1882|      0|        SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   89|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1883|      0|        return 0;
 1884|      0|    }
 1885|       |
 1886|       |    // Check if inside class scope.
 1887|    131|    if (st->st_cur->ste_type == ClassBlock) {
  ------------------
  |  Branch (1887:9): [True: 1, False: 130]
  ------------------
 1888|      1|        PyErr_Format(PyExc_SyntaxError,
 1889|      1|                     "lazy %s not allowed inside classes", import_type);
 1890|      1|        SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   89|      1|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      1|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1891|      1|        return 0;
 1892|      1|    }
 1893|       |
 1894|    130|    return 1;
 1895|    131|}
symtable.c:symtable_visit_alias:
 3043|  12.1k|{
 3044|       |    /* Compute store_name, the name actually bound by the import
 3045|       |       operation.  It is different than a->name when a->name is a
 3046|       |       dotted package name (e.g. spam.eggs)
 3047|       |    */
 3048|  12.1k|    PyObject *store_name;
 3049|  12.1k|    PyObject *name = (a->asname == NULL) ? a->name : a->asname;
  ------------------
  |  Branch (3049:22): [True: 11.7k, False: 464]
  ------------------
 3050|  12.1k|    Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0,
 3051|  12.1k|                                        PyUnicode_GET_LENGTH(name), 1);
  ------------------
  |  |  300|  12.1k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3052|  12.1k|    if (dot != -1) {
  ------------------
  |  Branch (3052:9): [True: 1.19k, False: 10.9k]
  ------------------
 3053|  1.19k|        store_name = PyUnicode_Substring(name, 0, dot);
 3054|  1.19k|        if (!store_name)
  ------------------
  |  Branch (3054:13): [True: 0, False: 1.19k]
  ------------------
 3055|      0|            return 0;
 3056|  1.19k|    }
 3057|  10.9k|    else {
 3058|  10.9k|        store_name = Py_NewRef(name);
  ------------------
  |  |  647|  10.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3059|  10.9k|    }
 3060|  12.1k|    if (!_PyUnicode_EqualToASCIIString(name, "*")) {
  ------------------
  |  Branch (3060:9): [True: 12.1k, False: 8]
  ------------------
 3061|  12.1k|        int r = symtable_add_def(st, store_name, DEF_IMPORT, LOCATION(a));
  ------------------
  |  |  176|  12.1k|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  ------------------
                      int r = symtable_add_def(st, store_name, DEF_IMPORT, LOCATION(a));
  ------------------
  |  |   86|  12.1k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  12.1k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  12.1k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  12.1k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  12.1k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  12.1k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3062|  12.1k|        Py_DECREF(store_name);
  ------------------
  |  |  430|  12.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3063|  12.1k|        return r;
 3064|  12.1k|    }
 3065|      8|    else {
 3066|      8|        if (st->st_cur->ste_type != ModuleBlock) {
  ------------------
  |  Branch (3066:13): [True: 0, False: 8]
  ------------------
 3067|      0|            PyErr_SetString(PyExc_SyntaxError, IMPORT_STAR_WARNING);
  ------------------
  |  |   42|      0|#define IMPORT_STAR_WARNING "import * only allowed at module level"
  ------------------
 3068|      0|            SET_ERROR_LOCATION(st->st_filename, LOCATION(a));
  ------------------
  |  |   89|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 3069|      0|            Py_DECREF(store_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3070|      0|            return 0;
 3071|      0|        }
 3072|      8|        Py_DECREF(store_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3073|      8|        return 1;
 3074|      8|    }
 3075|  12.1k|}
symtable.c:check_import_from:
 1848|  3.28k|{
 1849|  3.28k|    assert(s->kind == ImportFrom_kind);
  ------------------
  |  Branch (1849:5): [True: 3.28k, False: 0]
  ------------------
 1850|  3.28k|    _Py_SourceLocation fut = st->st_future->ff_location;
 1851|  3.28k|    if (s->v.ImportFrom.module && s->v.ImportFrom.level == 0 &&
  ------------------
  |  Branch (1851:9): [True: 2.99k, False: 287]
  |  Branch (1851:35): [True: 2.85k, False: 145]
  ------------------
 1852|  2.85k|        _PyUnicode_EqualToASCIIString(s->v.ImportFrom.module, "__future__") &&
  ------------------
  |  Branch (1852:9): [True: 1.55k, False: 1.29k]
  ------------------
 1853|  1.55k|        ((s->lineno > fut.lineno) ||
  ------------------
  |  Branch (1853:10): [True: 2, False: 1.55k]
  ------------------
 1854|  1.55k|         ((s->lineno == fut.end_lineno) && (s->col_offset > fut.end_col_offset))))
  ------------------
  |  Branch (1854:11): [True: 1.31k, False: 236]
  |  Branch (1854:44): [True: 0, False: 1.31k]
  ------------------
 1855|      2|    {
 1856|      2|        PyErr_SetString(PyExc_SyntaxError,
 1857|      2|                        "from __future__ imports must occur "
 1858|      2|                        "at the beginning of the file");
 1859|      2|        SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   89|      2|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      2|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1860|      2|        return 0;
 1861|      2|    }
 1862|  3.28k|    return 1;
 1863|  3.28k|}
symtable.c:symtable_record_directive:
 1814|  3.72k|{
 1815|  3.72k|    PyObject *data, *mangled;
 1816|  3.72k|    int res;
 1817|  3.72k|    if (!st->st_cur->ste_directives) {
  ------------------
  |  Branch (1817:9): [True: 2.10k, False: 1.61k]
  ------------------
 1818|  2.10k|        st->st_cur->ste_directives = PyList_New(0);
 1819|  2.10k|        if (!st->st_cur->ste_directives)
  ------------------
  |  Branch (1819:13): [True: 0, False: 2.10k]
  ------------------
 1820|      0|            return 0;
 1821|  2.10k|    }
 1822|  3.72k|    mangled = _Py_MaybeMangle(st->st_private, st->st_cur, name);
 1823|  3.72k|    if (!mangled)
  ------------------
  |  Branch (1823:9): [True: 0, False: 3.72k]
  ------------------
 1824|      0|        return 0;
 1825|  3.72k|    data = Py_BuildValue("(Niiii)", mangled, loc.lineno, loc.col_offset,
 1826|  3.72k|                                    loc.end_lineno, loc.end_col_offset);
 1827|  3.72k|    if (!data)
  ------------------
  |  Branch (1827:9): [True: 0, False: 3.72k]
  ------------------
 1828|      0|        return 0;
 1829|  3.72k|    res = PyList_Append(st->st_cur->ste_directives, data);
 1830|  3.72k|    Py_DECREF(data);
  ------------------
  |  |  430|  3.72k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1831|  3.72k|    return res == 0;
 1832|  3.72k|}
symtable.c:symtable_visit_withitem:
 3022|  10.9k|{
 3023|  10.9k|    VISIT(st, expr, item->context_expr);
  ------------------
  |  | 1750|  10.9k|    do { \
  |  | 1751|  10.9k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 10.9k]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|  10.9k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 10.9k]
  |  |  ------------------
  ------------------
 3024|  10.9k|    if (item->optional_vars) {
  ------------------
  |  Branch (3024:9): [True: 550, False: 10.4k]
  ------------------
 3025|    550|        VISIT(st, expr, item->optional_vars);
  ------------------
  |  | 1750|    550|    do { \
  |  | 1751|    550|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 550]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|    550|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 550]
  |  |  ------------------
  ------------------
 3026|    550|    }
 3027|  10.9k|    return 1;
 3028|  10.9k|}
symtable.c:maybe_set_ste_coroutine_for_module:
 1907|  1.86k|{
 1908|  1.86k|    if (allows_top_level_await(st)) {
  ------------------
  |  Branch (1908:9): [True: 458, False: 1.40k]
  ------------------
 1909|    458|        st->st_cur->ste_coroutine = 1;
 1910|    458|    }
 1911|  1.86k|}
symtable.c:allows_top_level_await:
 1899|  2.48k|{
 1900|  2.48k|    return (st->st_future->ff_features & PyCF_ALLOW_TOP_LEVEL_AWAIT) &&
  ------------------
  |  |   20|  2.48k|#define PyCF_ALLOW_TOP_LEVEL_AWAIT 0x2000
  ------------------
  |  Branch (1900:12): [True: 1.22k, False: 1.26k]
  ------------------
 1901|  1.22k|            st->st_cur->ste_type == ModuleBlock;
  ------------------
  |  Branch (1901:13): [True: 621, False: 600]
  ------------------
 1902|  2.48k|}
symtable.c:symtable_raise_if_not_coroutine:
 3255|  1.86k|symtable_raise_if_not_coroutine(struct symtable *st, const char *msg, _Py_SourceLocation loc) {
 3256|  1.86k|    if (!st->st_cur->ste_coroutine) {
  ------------------
  |  Branch (3256:9): [True: 5, False: 1.86k]
  ------------------
 3257|      5|        PyErr_SetString(PyExc_SyntaxError, msg);
 3258|      5|        SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   89|      5|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      5|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 3259|      5|        return 0;
 3260|      5|    }
 3261|  1.86k|    return 1;
 3262|  1.86k|}
symtable.c:symtable_visit_expr:
 2505|  2.16M|{
 2506|  2.16M|    ENTER_RECURSIVE();
  ------------------
  |  | 1804|  2.16M|#define ENTER_RECURSIVE() \
  |  | 1805|  2.16M|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (1805:5): [True: 0, False: 2.16M]
  |  |  ------------------
  |  | 1806|      0|    return 0; \
  |  | 1807|      0|}
  ------------------
 2507|  2.16M|    switch (e->kind) {
  ------------------
  |  Branch (2507:13): [True: 2.16M, False: 0]
  ------------------
 2508|  1.87k|    case NamedExpr_kind:
  ------------------
  |  Branch (2508:5): [True: 1.87k, False: 2.16M]
  ------------------
 2509|  1.87k|        if (!symtable_raise_if_annotation_block(st, "named expression", e)) {
  ------------------
  |  Branch (2509:13): [True: 3, False: 1.87k]
  ------------------
 2510|      3|            return 0;
 2511|      3|        }
 2512|  1.87k|        if(!symtable_handle_namedexpr(st, e))
  ------------------
  |  Branch (2512:12): [True: 14, False: 1.86k]
  ------------------
 2513|     14|            return 0;
 2514|  1.86k|        break;
 2515|  2.02k|    case BoolOp_kind:
  ------------------
  |  Branch (2515:5): [True: 2.02k, False: 2.16M]
  ------------------
 2516|  2.02k|        VISIT_SEQ(st, expr, e->v.BoolOp.values);
  ------------------
  |  | 1757|  2.02k|    do { \
  |  | 1758|  2.02k|        Py_ssize_t i; \
  |  | 1759|  2.02k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  8.65k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  8.65k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  17.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 8.65k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 6.64k, False: 2.01k]
  |  |  ------------------
  |  | 1761|  6.64k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  6.64k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  6.64k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  6.64k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 9, False: 6.63k]
  |  |  ------------------
  |  | 1763|  6.64k|                return 0;                 \
  |  | 1764|  6.64k|        } \
  |  | 1765|  2.02k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 2.01k]
  |  |  ------------------
  ------------------
 2517|  2.01k|        break;
 2518|   571k|    case BinOp_kind:
  ------------------
  |  Branch (2518:5): [True: 571k, False: 1.59M]
  ------------------
 2519|   571k|        VISIT(st, expr, e->v.BinOp.left);
  ------------------
  |  | 1750|   571k|    do { \
  |  | 1751|   571k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 280, False: 571k]
  |  |  ------------------
  |  | 1752|    280|            return 0; \
  |  | 1753|    280|        } \
  |  | 1754|   571k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 571k]
  |  |  ------------------
  ------------------
 2520|   571k|        VISIT(st, expr, e->v.BinOp.right);
  ------------------
  |  | 1750|   571k|    do { \
  |  | 1751|   571k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 125, False: 570k]
  |  |  ------------------
  |  | 1752|    125|            return 0; \
  |  | 1753|    125|        } \
  |  | 1754|   571k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 570k]
  |  |  ------------------
  ------------------
 2521|   570k|        break;
 2522|   570k|    case UnaryOp_kind:
  ------------------
  |  Branch (2522:5): [True: 198k, False: 1.96M]
  ------------------
 2523|   198k|        VISIT(st, expr, e->v.UnaryOp.operand);
  ------------------
  |  | 1750|   198k|    do { \
  |  | 1751|   198k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 316, False: 198k]
  |  |  ------------------
  |  | 1752|    316|            return 0; \
  |  | 1753|    316|        } \
  |  | 1754|   198k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 198k]
  |  |  ------------------
  ------------------
 2524|   198k|        break;
 2525|   198k|    case Lambda_kind: {
  ------------------
  |  Branch (2525:5): [True: 13.2k, False: 2.14M]
  ------------------
 2526|  13.2k|        if (e->v.Lambda.args->defaults)
  ------------------
  |  Branch (2526:13): [True: 13.2k, False: 0]
  ------------------
 2527|  13.2k|            VISIT_SEQ(st, expr, e->v.Lambda.args->defaults);
  ------------------
  |  | 1757|  13.2k|    do { \
  |  | 1758|  13.2k|        Py_ssize_t i; \
  |  | 1759|  13.2k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  14.1k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  14.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  28.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 14.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 905, False: 13.2k]
  |  |  ------------------
  |  | 1761|    905|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    905|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|    905|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|    905|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 905]
  |  |  ------------------
  |  | 1763|    905|                return 0;                 \
  |  | 1764|    905|        } \
  |  | 1765|  13.2k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 13.2k]
  |  |  ------------------
  ------------------
 2528|  13.2k|        if (e->v.Lambda.args->kw_defaults)
  ------------------
  |  Branch (2528:13): [True: 13.2k, False: 0]
  ------------------
 2529|  13.2k|            VISIT_SEQ_WITH_NULL(st, expr, e->v.Lambda.args->kw_defaults);
  ------------------
  |  | 1779|  13.2k|    do { \
  |  | 1780|  13.2k|        int i = 0; \
  |  | 1781|  13.2k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1782|  21.9k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  21.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  43.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 21.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1782:21): [True: 8.68k, False: 13.2k]
  |  |  ------------------
  |  | 1783|  8.68k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  8.68k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  8.68k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1784|  8.68k|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1784:17): [True: 3.15k, False: 5.52k]
  |  |  ------------------
  |  | 1785|  8.68k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1785:17): [True: 0, False: 5.52k]
  |  |  ------------------
  |  | 1786|  5.52k|                return 0;             \
  |  | 1787|  5.52k|        } \
  |  | 1788|  13.2k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1788:13): [Folded, False: 13.2k]
  |  |  ------------------
  ------------------
 2530|  13.2k|        if (!symtable_enter_block(st, &_Py_STR(anon_lambda),
  ------------------
  |  |  953|  13.2k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  13.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  13.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2530:13): [True: 0, False: 13.2k]
  ------------------
 2531|  13.2k|                                  FunctionBlock, (void *)e, LOCATION(e))) {
  ------------------
  |  |   86|  13.2k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  13.2k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  13.2k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  13.2k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  13.2k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  13.2k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2532|      0|            return 0;
 2533|      0|        }
 2534|  13.2k|        VISIT(st, arguments, e->v.Lambda.args);
  ------------------
  |  | 1750|  13.2k|    do { \
  |  | 1751|  13.2k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 21, False: 13.2k]
  |  |  ------------------
  |  | 1752|     21|            return 0; \
  |  | 1753|     21|        } \
  |  | 1754|  13.2k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 13.2k]
  |  |  ------------------
  ------------------
 2535|  13.2k|        VISIT(st, expr, e->v.Lambda.body);
  ------------------
  |  | 1750|  13.2k|    do { \
  |  | 1751|  13.2k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 164, False: 13.0k]
  |  |  ------------------
  |  | 1752|    164|            return 0; \
  |  | 1753|    164|        } \
  |  | 1754|  13.2k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
 2536|  13.0k|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (2536:13): [True: 0, False: 13.0k]
  ------------------
 2537|      0|            return 0;
 2538|  13.0k|        break;
 2539|  13.0k|    }
 2540|  13.0k|    case IfExp_kind:
  ------------------
  |  Branch (2540:5): [True: 2.17k, False: 2.16M]
  ------------------
 2541|  2.17k|        VISIT(st, expr, e->v.IfExp.test);
  ------------------
  |  | 1750|  2.17k|    do { \
  |  | 1751|  2.17k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 4, False: 2.17k]
  |  |  ------------------
  |  | 1752|      4|            return 0; \
  |  | 1753|      4|        } \
  |  | 1754|  2.17k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 2.17k]
  |  |  ------------------
  ------------------
 2542|  2.17k|        VISIT(st, expr, e->v.IfExp.body);
  ------------------
  |  | 1750|  2.17k|    do { \
  |  | 1751|  2.17k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 2.17k]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|  2.17k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 2.17k]
  |  |  ------------------
  ------------------
 2543|  2.17k|        VISIT(st, expr, e->v.IfExp.orelse);
  ------------------
  |  | 1750|  2.17k|    do { \
  |  | 1751|  2.17k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 47, False: 2.12k]
  |  |  ------------------
  |  | 1752|     47|            return 0; \
  |  | 1753|     47|        } \
  |  | 1754|  2.17k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 2.12k]
  |  |  ------------------
  ------------------
 2544|  2.12k|        break;
 2545|  2.37k|    case Dict_kind:
  ------------------
  |  Branch (2545:5): [True: 2.37k, False: 2.16M]
  ------------------
 2546|  2.37k|        VISIT_SEQ_WITH_NULL(st, expr, e->v.Dict.keys);
  ------------------
  |  | 1779|  2.37k|    do { \
  |  | 1780|  2.37k|        int i = 0; \
  |  | 1781|  2.37k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1782|  5.46k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.46k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  10.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 5.46k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1782:21): [True: 3.08k, False: 2.37k]
  |  |  ------------------
  |  | 1783|  3.08k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.08k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.08k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1784|  3.08k|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1784:17): [True: 1.74k, False: 1.34k]
  |  |  ------------------
  |  | 1785|  3.08k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1785:17): [True: 1, False: 1.34k]
  |  |  ------------------
  |  | 1786|  1.34k|                return 0;             \
  |  | 1787|  1.34k|        } \
  |  | 1788|  2.37k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1788:13): [Folded, False: 2.37k]
  |  |  ------------------
  ------------------
 2547|  2.37k|        VISIT_SEQ(st, expr, e->v.Dict.values);
  ------------------
  |  | 1757|  2.37k|    do { \
  |  | 1758|  2.37k|        Py_ssize_t i; \
  |  | 1759|  2.37k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  5.45k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.45k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  10.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 5.45k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 3.08k, False: 2.37k]
  |  |  ------------------
  |  | 1761|  3.08k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.08k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  3.08k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  3.08k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 4, False: 3.08k]
  |  |  ------------------
  |  | 1763|  3.08k|                return 0;                 \
  |  | 1764|  3.08k|        } \
  |  | 1765|  2.37k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 2.37k]
  |  |  ------------------
  ------------------
 2548|  2.37k|        break;
 2549|  8.72k|    case Set_kind:
  ------------------
  |  Branch (2549:5): [True: 8.72k, False: 2.15M]
  ------------------
 2550|  8.72k|        VISIT_SEQ(st, expr, e->v.Set.elts);
  ------------------
  |  | 1757|  8.72k|    do { \
  |  | 1758|  8.72k|        Py_ssize_t i; \
  |  | 1759|  8.72k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  56.3k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  56.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|   112k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 56.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 47.6k, False: 8.68k]
  |  |  ------------------
  |  | 1761|  47.6k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  47.6k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  47.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  47.6k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 35, False: 47.6k]
  |  |  ------------------
  |  | 1763|  47.6k|                return 0;                 \
  |  | 1764|  47.6k|        } \
  |  | 1765|  8.72k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 8.68k]
  |  |  ------------------
  ------------------
 2551|  8.68k|        break;
 2552|  8.68k|    case GeneratorExp_kind:
  ------------------
  |  Branch (2552:5): [True: 1.21k, False: 2.16M]
  ------------------
 2553|  1.21k|        if (!symtable_visit_genexp(st, e))
  ------------------
  |  Branch (2553:13): [True: 6, False: 1.20k]
  ------------------
 2554|      6|            return 0;
 2555|  1.20k|        break;
 2556|  1.20k|    case ListComp_kind:
  ------------------
  |  Branch (2556:5): [True: 456, False: 2.16M]
  ------------------
 2557|    456|        if (!symtable_visit_listcomp(st, e))
  ------------------
  |  Branch (2557:13): [True: 26, False: 430]
  ------------------
 2558|     26|            return 0;
 2559|    430|        break;
 2560|  2.65k|    case SetComp_kind:
  ------------------
  |  Branch (2560:5): [True: 2.65k, False: 2.15M]
  ------------------
 2561|  2.65k|        if (!symtable_visit_setcomp(st, e))
  ------------------
  |  Branch (2561:13): [True: 19, False: 2.63k]
  ------------------
 2562|     19|            return 0;
 2563|  2.63k|        break;
 2564|  2.63k|    case DictComp_kind:
  ------------------
  |  Branch (2564:5): [True: 569, False: 2.16M]
  ------------------
 2565|    569|        if (!symtable_visit_dictcomp(st, e))
  ------------------
  |  Branch (2565:13): [True: 1, False: 568]
  ------------------
 2566|      1|            return 0;
 2567|    568|        break;
 2568|  1.59k|    case Yield_kind:
  ------------------
  |  Branch (2568:5): [True: 1.59k, False: 2.16M]
  ------------------
 2569|  1.59k|        if (!symtable_raise_if_annotation_block(st, "yield expression", e)) {
  ------------------
  |  Branch (2569:13): [True: 10, False: 1.58k]
  ------------------
 2570|     10|            return 0;
 2571|     10|        }
 2572|  1.58k|        if (e->v.Yield.value)
  ------------------
  |  Branch (2572:13): [True: 895, False: 689]
  ------------------
 2573|    895|            VISIT(st, expr, e->v.Yield.value);
  ------------------
  |  | 1750|    895|    do { \
  |  | 1751|    895|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 3, False: 892]
  |  |  ------------------
  |  | 1752|      3|            return 0; \
  |  | 1753|      3|        } \
  |  | 1754|    895|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 892]
  |  |  ------------------
  ------------------
 2574|  1.58k|        st->st_cur->ste_generator = 1;
 2575|  1.58k|        if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2575:13): [True: 8, False: 1.57k]
  ------------------
 2576|      8|            return symtable_raise_if_comprehension_block(st, e);
 2577|      8|        }
 2578|  1.57k|        break;
 2579|  1.57k|    case YieldFrom_kind:
  ------------------
  |  Branch (2579:5): [True: 124, False: 2.16M]
  ------------------
 2580|    124|        if (!symtable_raise_if_annotation_block(st, "yield expression", e)) {
  ------------------
  |  Branch (2580:13): [True: 0, False: 124]
  ------------------
 2581|      0|            return 0;
 2582|      0|        }
 2583|    124|        VISIT(st, expr, e->v.YieldFrom.value);
  ------------------
  |  | 1750|    124|    do { \
  |  | 1751|    124|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 123]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|    124|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 123]
  |  |  ------------------
  ------------------
 2584|    123|        st->st_cur->ste_generator = 1;
 2585|    123|        if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2585:13): [True: 0, False: 123]
  ------------------
 2586|      0|            return symtable_raise_if_comprehension_block(st, e);
 2587|      0|        }
 2588|    123|        break;
 2589|    605|    case Await_kind:
  ------------------
  |  Branch (2589:5): [True: 605, False: 2.16M]
  ------------------
 2590|    605|        if (!symtable_raise_if_annotation_block(st, "await expression", e)) {
  ------------------
  |  Branch (2590:13): [True: 15, False: 590]
  ------------------
 2591|     15|            return 0;
 2592|     15|        }
 2593|    590|        if (!allows_top_level_await(st)) {
  ------------------
  |  Branch (2593:13): [True: 447, False: 143]
  ------------------
 2594|    447|            if (!ste_uses_fast_locals(st->st_cur)) {
  ------------------
  |  Branch (2594:17): [True: 115, False: 332]
  ------------------
 2595|    115|                PyErr_SetString(PyExc_SyntaxError,
 2596|    115|                                "'await' outside function");
 2597|    115|                SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   89|    115|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|    115|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2598|    115|                return 0;
 2599|    115|            }
 2600|    332|            if (!IS_ASYNC_DEF(st) && st->st_cur->ste_comprehension == NoComprehension) {
  ------------------
  |  |   92|    664|#define IS_ASYNC_DEF(st) ((st)->st_cur->ste_type == FunctionBlock && (st)->st_cur->ste_coroutine)
  |  |  ------------------
  |  |  |  Branch (92:27): [True: 231, False: 101]
  |  |  |  Branch (92:70): [True: 159, False: 72]
  |  |  ------------------
  ------------------
  |  Branch (2600:38): [True: 2, False: 171]
  ------------------
 2601|      2|                PyErr_SetString(PyExc_SyntaxError,
 2602|      2|                                "'await' outside async function");
 2603|      2|                SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   89|      2|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      2|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2604|      2|                return 0;
 2605|      2|            }
 2606|    332|        }
 2607|    473|        VISIT(st, expr, e->v.Await.value);
  ------------------
  |  | 1750|    473|    do { \
  |  | 1751|    473|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 3, False: 470]
  |  |  ------------------
  |  | 1752|      3|            return 0; \
  |  | 1753|      3|        } \
  |  | 1754|    473|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 470]
  |  |  ------------------
  ------------------
 2608|    470|        st->st_cur->ste_coroutine = 1;
 2609|    470|        break;
 2610|  17.2k|    case Compare_kind:
  ------------------
  |  Branch (2610:5): [True: 17.2k, False: 2.14M]
  ------------------
 2611|  17.2k|        VISIT(st, expr, e->v.Compare.left);
  ------------------
  |  | 1750|  17.2k|    do { \
  |  | 1751|  17.2k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 18, False: 17.1k]
  |  |  ------------------
  |  | 1752|     18|            return 0; \
  |  | 1753|     18|        } \
  |  | 1754|  17.2k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 17.1k]
  |  |  ------------------
  ------------------
 2612|  17.1k|        VISIT_SEQ(st, expr, e->v.Compare.comparators);
  ------------------
  |  | 1757|  17.1k|    do { \
  |  | 1758|  17.1k|        Py_ssize_t i; \
  |  | 1759|  17.1k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  60.5k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  60.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|   121k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 60.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 43.4k, False: 17.1k]
  |  |  ------------------
  |  | 1761|  43.4k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  43.4k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  43.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  43.4k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 33, False: 43.3k]
  |  |  ------------------
  |  | 1763|  43.4k|                return 0;                 \
  |  | 1764|  43.4k|        } \
  |  | 1765|  17.1k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 17.1k]
  |  |  ------------------
  ------------------
 2613|  17.1k|        break;
 2614|  17.1k|    case Call_kind:
  ------------------
  |  Branch (2614:5): [True: 16.2k, False: 2.14M]
  ------------------
 2615|  16.2k|        VISIT(st, expr, e->v.Call.func);
  ------------------
  |  | 1750|  16.2k|    do { \
  |  | 1751|  16.2k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 212, False: 16.0k]
  |  |  ------------------
  |  | 1752|    212|            return 0; \
  |  | 1753|    212|        } \
  |  | 1754|  16.2k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 16.0k]
  |  |  ------------------
  ------------------
 2616|  16.0k|        VISIT_SEQ(st, expr, e->v.Call.args);
  ------------------
  |  | 1757|  16.0k|    do { \
  |  | 1758|  16.0k|        Py_ssize_t i; \
  |  | 1759|  16.0k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  31.6k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  31.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  63.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 6.01k, False: 25.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 15.6k, False: 15.9k]
  |  |  ------------------
  |  | 1761|  15.6k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  15.6k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  15.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  15.6k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 47, False: 15.6k]
  |  |  ------------------
  |  | 1763|  15.6k|                return 0;                 \
  |  | 1764|  15.6k|        } \
  |  | 1765|  16.0k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 15.9k]
  |  |  ------------------
  ------------------
 2617|  15.9k|        if (!check_keywords(st, e->v.Call.keywords)) {
  ------------------
  |  Branch (2617:13): [True: 3, False: 15.9k]
  ------------------
 2618|      3|            return 0;
 2619|      3|        }
 2620|  15.9k|        VISIT_SEQ_WITH_NULL(st, keyword, e->v.Call.keywords);
  ------------------
  |  | 1779|  15.9k|    do { \
  |  | 1780|  15.9k|        int i = 0; \
  |  | 1781|  15.9k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1782|  22.4k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  22.4k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  44.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 12.9k, False: 9.53k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1782:21): [True: 6.52k, False: 15.9k]
  |  |  ------------------
  |  | 1783|  6.52k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  6.52k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  6.52k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1784|  6.52k|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1784:17): [True: 0, False: 6.52k]
  |  |  ------------------
  |  | 1785|  6.52k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1785:17): [True: 23, False: 6.49k]
  |  |  ------------------
  |  | 1786|  6.52k|                return 0;             \
  |  | 1787|  6.52k|        } \
  |  | 1788|  15.9k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1788:13): [Folded, False: 15.9k]
  |  |  ------------------
  ------------------
 2621|  15.9k|        break;
 2622|  15.9k|    case FormattedValue_kind:
  ------------------
  |  Branch (2622:5): [True: 6.72k, False: 2.15M]
  ------------------
 2623|  6.72k|        VISIT(st, expr, e->v.FormattedValue.value);
  ------------------
  |  | 1750|  6.72k|    do { \
  |  | 1751|  6.72k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 7, False: 6.71k]
  |  |  ------------------
  |  | 1752|      7|            return 0; \
  |  | 1753|      7|        } \
  |  | 1754|  6.72k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 6.71k]
  |  |  ------------------
  ------------------
 2624|  6.71k|        if (e->v.FormattedValue.format_spec)
  ------------------
  |  Branch (2624:13): [True: 3.14k, False: 3.57k]
  ------------------
 2625|  3.14k|            VISIT(st, expr, e->v.FormattedValue.format_spec);
  ------------------
  |  | 1750|  3.14k|    do { \
  |  | 1751|  3.14k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 6, False: 3.13k]
  |  |  ------------------
  |  | 1752|      6|            return 0; \
  |  | 1753|      6|        } \
  |  | 1754|  3.14k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 3.13k]
  |  |  ------------------
  ------------------
 2626|  6.70k|        break;
 2627|  6.70k|    case Interpolation_kind:
  ------------------
  |  Branch (2627:5): [True: 2.83k, False: 2.15M]
  ------------------
 2628|  2.83k|        VISIT(st, expr, e->v.Interpolation.value);
  ------------------
  |  | 1750|  2.83k|    do { \
  |  | 1751|  2.83k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 6, False: 2.83k]
  |  |  ------------------
  |  | 1752|      6|            return 0; \
  |  | 1753|      6|        } \
  |  | 1754|  2.83k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 2.83k]
  |  |  ------------------
  ------------------
 2629|  2.83k|        if (e->v.Interpolation.format_spec)
  ------------------
  |  Branch (2629:13): [True: 1.51k, False: 1.32k]
  ------------------
 2630|  1.51k|            VISIT(st, expr, e->v.Interpolation.format_spec);
  ------------------
  |  | 1750|  1.51k|    do { \
  |  | 1751|  1.51k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 2, False: 1.50k]
  |  |  ------------------
  |  | 1752|      2|            return 0; \
  |  | 1753|      2|        } \
  |  | 1754|  1.51k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 1.50k]
  |  |  ------------------
  ------------------
 2631|  2.82k|        break;
 2632|  10.4k|    case JoinedStr_kind:
  ------------------
  |  Branch (2632:5): [True: 10.4k, False: 2.15M]
  ------------------
 2633|  10.4k|        VISIT_SEQ(st, expr, e->v.JoinedStr.values);
  ------------------
  |  | 1757|  10.4k|    do { \
  |  | 1758|  10.4k|        Py_ssize_t i; \
  |  | 1759|  10.4k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  29.5k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  29.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  59.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 29.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 19.1k, False: 10.4k]
  |  |  ------------------
  |  | 1761|  19.1k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  19.1k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  19.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  19.1k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 13, False: 19.0k]
  |  |  ------------------
  |  | 1763|  19.1k|                return 0;                 \
  |  | 1764|  19.1k|        } \
  |  | 1765|  10.4k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 10.4k]
  |  |  ------------------
  ------------------
 2634|  10.4k|        break;
 2635|  10.4k|    case TemplateStr_kind:
  ------------------
  |  Branch (2635:5): [True: 1.43k, False: 2.16M]
  ------------------
 2636|  1.43k|        VISIT_SEQ(st, expr, e->v.TemplateStr.values);
  ------------------
  |  | 1757|  1.43k|    do { \
  |  | 1758|  1.43k|        Py_ssize_t i; \
  |  | 1759|  1.43k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  7.25k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  7.25k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  14.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 7.25k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 5.82k, False: 1.43k]
  |  |  ------------------
  |  | 1761|  5.82k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  5.82k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  5.82k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  5.82k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 8, False: 5.81k]
  |  |  ------------------
  |  | 1763|  5.82k|                return 0;                 \
  |  | 1764|  5.82k|        } \
  |  | 1765|  1.43k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 1.43k]
  |  |  ------------------
  ------------------
 2637|  1.43k|        break;
 2638|   726k|    case Constant_kind:
  ------------------
  |  Branch (2638:5): [True: 726k, False: 1.43M]
  ------------------
 2639|       |        /* Nothing to do here. */
 2640|   726k|        break;
 2641|       |    /* The following exprs can be assignment targets. */
 2642|  19.6k|    case Attribute_kind:
  ------------------
  |  Branch (2642:5): [True: 19.6k, False: 2.14M]
  ------------------
 2643|  19.6k|        if (!check_name(st, e->v.Attribute.attr, LOCATION(e), e->v.Attribute.ctx)) {
  ------------------
  |  |   86|  19.6k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  19.6k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  19.6k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  19.6k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  19.6k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  19.6k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2643:13): [True: 1, False: 19.6k]
  ------------------
 2644|      1|            return 0;
 2645|      1|        }
 2646|  19.6k|        VISIT(st, expr, e->v.Attribute.value);
  ------------------
  |  | 1750|  19.6k|    do { \
  |  | 1751|  19.6k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 216, False: 19.4k]
  |  |  ------------------
  |  | 1752|    216|            return 0; \
  |  | 1753|    216|        } \
  |  | 1754|  19.6k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 19.4k]
  |  |  ------------------
  ------------------
 2647|  19.4k|        break;
 2648|  26.4k|    case Subscript_kind:
  ------------------
  |  Branch (2648:5): [True: 26.4k, False: 2.13M]
  ------------------
 2649|  26.4k|        VISIT(st, expr, e->v.Subscript.value);
  ------------------
  |  | 1750|  26.4k|    do { \
  |  | 1751|  26.4k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 209, False: 26.2k]
  |  |  ------------------
  |  | 1752|    209|            return 0; \
  |  | 1753|    209|        } \
  |  | 1754|  26.4k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 26.2k]
  |  |  ------------------
  ------------------
 2650|  26.2k|        VISIT(st, expr, e->v.Subscript.slice);
  ------------------
  |  | 1750|  26.2k|    do { \
  |  | 1751|  26.2k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 62, False: 26.1k]
  |  |  ------------------
  |  | 1752|     62|            return 0; \
  |  | 1753|     62|        } \
  |  | 1754|  26.2k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 26.1k]
  |  |  ------------------
  ------------------
 2651|  26.1k|        break;
 2652|  26.1k|    case Starred_kind:
  ------------------
  |  Branch (2652:5): [True: 15.6k, False: 2.14M]
  ------------------
 2653|  15.6k|        VISIT(st, expr, e->v.Starred.value);
  ------------------
  |  | 1750|  15.6k|    do { \
  |  | 1751|  15.6k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 35, False: 15.5k]
  |  |  ------------------
  |  | 1752|     35|            return 0; \
  |  | 1753|     35|        } \
  |  | 1754|  15.6k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 15.5k]
  |  |  ------------------
  ------------------
 2654|  15.5k|        break;
 2655|  16.9k|    case Slice_kind:
  ------------------
  |  Branch (2655:5): [True: 16.9k, False: 2.14M]
  ------------------
 2656|  16.9k|        if (e->v.Slice.lower)
  ------------------
  |  Branch (2656:13): [True: 7.34k, False: 9.57k]
  ------------------
 2657|  7.34k|            VISIT(st, expr, e->v.Slice.lower);
  ------------------
  |  | 1750|  7.34k|    do { \
  |  | 1751|  7.34k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 13, False: 7.33k]
  |  |  ------------------
  |  | 1752|     13|            return 0; \
  |  | 1753|     13|        } \
  |  | 1754|  7.34k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 7.33k]
  |  |  ------------------
  ------------------
 2658|  16.9k|        if (e->v.Slice.upper)
  ------------------
  |  Branch (2658:13): [True: 9.61k, False: 7.29k]
  ------------------
 2659|  9.61k|            VISIT(st, expr, e->v.Slice.upper);
  ------------------
  |  | 1750|  9.61k|    do { \
  |  | 1751|  9.61k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 5, False: 9.61k]
  |  |  ------------------
  |  | 1752|      5|            return 0; \
  |  | 1753|      5|        } \
  |  | 1754|  9.61k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 9.61k]
  |  |  ------------------
  ------------------
 2660|  16.9k|        if (e->v.Slice.step)
  ------------------
  |  Branch (2660:13): [True: 5.71k, False: 11.1k]
  ------------------
 2661|  5.71k|            VISIT(st, expr, e->v.Slice.step);
  ------------------
  |  | 1750|  5.71k|    do { \
  |  | 1751|  5.71k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 5, False: 5.71k]
  |  |  ------------------
  |  | 1752|      5|            return 0; \
  |  | 1753|      5|        } \
  |  | 1754|  5.71k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 5.71k]
  |  |  ------------------
  ------------------
 2662|  16.8k|        break;
 2663|   410k|    case Name_kind:
  ------------------
  |  Branch (2663:5): [True: 410k, False: 1.75M]
  ------------------
 2664|   410k|        if (!st->st_cur->ste_in_unevaluated_annotation) {
  ------------------
  |  Branch (2664:13): [True: 408k, False: 2.50k]
  ------------------
 2665|   408k|            if (!symtable_add_def_ctx(st, e->v.Name.id,
  ------------------
  |  Branch (2665:17): [True: 4, False: 408k]
  ------------------
 2666|   408k|                                    e->v.Name.ctx == Load ? USE : DEF_LOCAL,
  ------------------
  |  |  174|   294k|#define USE (2<<3)               /* name is used */
  ------------------
                                                  e->v.Name.ctx == Load ? USE : DEF_LOCAL,
  ------------------
  |  |  171|   113k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
  |  Branch (2666:37): [True: 294k, False: 113k]
  ------------------
 2667|   408k|                                    LOCATION(e), e->v.Name.ctx)) {
  ------------------
  |  |   86|   408k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|   408k|    (_Py_SourceLocation){ \
  |  |  |  |   59|   408k|               .lineno = (n)->lineno, \
  |  |  |  |   60|   408k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|   408k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|   408k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2668|      4|                return 0;
 2669|      4|            }
 2670|       |            /* Special-case super: it counts as a use of __class__ */
 2671|   408k|            if (e->v.Name.ctx == Load &&
  ------------------
  |  Branch (2671:17): [True: 294k, False: 113k]
  ------------------
 2672|   294k|                ste_uses_fast_locals(st->st_cur) &&
  ------------------
  |  Branch (2672:17): [True: 150k, False: 144k]
  ------------------
 2673|   150k|                _PyUnicode_EqualToASCIIString(e->v.Name.id, "super")) {
  ------------------
  |  Branch (2673:17): [True: 1.24k, False: 148k]
  ------------------
 2674|  1.24k|                if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |  951|  1.24k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.24k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.24k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |  174|  1.24k|#define USE (2<<3)               /* name is used */
  ------------------
                              if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |   86|  1.24k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.24k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.24k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.24k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.24k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.24k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2674:21): [True: 0, False: 1.24k]
  ------------------
 2675|      0|                    return 0;
 2676|  1.24k|            }
 2677|   408k|        }
 2678|   410k|        break;
 2679|       |    /* child nodes of List and Tuple will have expr_context set */
 2680|   410k|    case List_kind:
  ------------------
  |  Branch (2680:5): [True: 6.83k, False: 2.15M]
  ------------------
 2681|  6.83k|        VISIT_SEQ(st, expr, e->v.List.elts);
  ------------------
  |  | 1757|  6.83k|    do { \
  |  | 1758|  6.83k|        Py_ssize_t i; \
  |  | 1759|  6.83k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  14.1k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  14.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  28.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 1.78k, False: 12.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 7.34k, False: 6.80k]
  |  |  ------------------
  |  | 1761|  7.34k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  7.34k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  7.34k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  7.34k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 33, False: 7.30k]
  |  |  ------------------
  |  | 1763|  7.34k|                return 0;                 \
  |  | 1764|  7.34k|        } \
  |  | 1765|  6.83k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 6.80k]
  |  |  ------------------
  ------------------
 2682|  6.80k|        break;
 2683|  76.9k|    case Tuple_kind:
  ------------------
  |  Branch (2683:5): [True: 76.9k, False: 2.08M]
  ------------------
 2684|  76.9k|        VISIT_SEQ(st, expr, e->v.Tuple.elts);
  ------------------
  |  | 1757|  76.9k|    do { \
  |  | 1758|  76.9k|        Py_ssize_t i; \
  |  | 1759|  76.9k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|   306k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|   306k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|   612k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 9.26k, False: 297k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 229k, False: 76.9k]
  |  |  ------------------
  |  | 1761|   229k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|   229k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|   229k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|   229k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 56, False: 229k]
  |  |  ------------------
  |  | 1763|   229k|                return 0;                 \
  |  | 1764|   229k|        } \
  |  | 1765|  76.9k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 76.9k]
  |  |  ------------------
  ------------------
 2685|  76.9k|        break;
 2686|  2.16M|    }
 2687|  2.16M|    LEAVE_RECURSIVE();
  ------------------
  |  | 1809|  2.16M|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
 2688|  2.16M|    return 1;
 2689|  2.16M|}
symtable.c:symtable_raise_if_annotation_block:
 3216|  4.20k|{
 3217|  4.20k|    _Py_block_ty type = st->st_cur->ste_type;
 3218|  4.20k|    if (type == AnnotationBlock)
  ------------------
  |  Branch (3218:9): [True: 25, False: 4.17k]
  ------------------
 3219|     25|        PyErr_Format(PyExc_SyntaxError, ANNOTATION_NOT_ALLOWED, name);
  ------------------
  |  |   65|     25|#define ANNOTATION_NOT_ALLOWED \
  |  |   66|     25|"%s cannot be used within an annotation"
  ------------------
 3220|  4.17k|    else if (type == TypeVariableBlock) {
  ------------------
  |  Branch (3220:14): [True: 3, False: 4.17k]
  ------------------
 3221|      3|        const char *info = st->st_cur->ste_scope_info;
 3222|      3|        assert(info != NULL); // e.g., info == "a ParamSpec default"
  ------------------
  |  Branch (3222:9): [True: 3, False: 0]
  ------------------
 3223|      3|        PyErr_Format(PyExc_SyntaxError, EXPR_NOT_ALLOWED_IN_TYPE_VARIABLE, name, info);
  ------------------
  |  |   68|      3|#define EXPR_NOT_ALLOWED_IN_TYPE_VARIABLE \
  |  |   69|      3|"%s cannot be used within %s"
  ------------------
 3224|      3|    }
 3225|  4.17k|    else if (type == TypeAliasBlock) {
  ------------------
  |  Branch (3225:14): [True: 0, False: 4.17k]
  ------------------
 3226|       |        // for now, we do not have any extra information
 3227|      0|        assert(st->st_cur->ste_scope_info == NULL);
  ------------------
  |  Branch (3227:9): [True: 0, False: 0]
  ------------------
 3228|      0|        PyErr_Format(PyExc_SyntaxError, EXPR_NOT_ALLOWED_IN_TYPE_ALIAS, name);
  ------------------
  |  |   71|      0|#define EXPR_NOT_ALLOWED_IN_TYPE_ALIAS \
  |  |   72|      0|"%s cannot be used within a type alias"
  ------------------
 3229|      0|    }
 3230|  4.17k|    else if (type == TypeParametersBlock) {
  ------------------
  |  Branch (3230:14): [True: 0, False: 4.17k]
  ------------------
 3231|       |        // for now, we do not have any extra information
 3232|      0|        assert(st->st_cur->ste_scope_info == NULL);
  ------------------
  |  Branch (3232:9): [True: 0, False: 0]
  ------------------
 3233|      0|        PyErr_Format(PyExc_SyntaxError, EXPR_NOT_ALLOWED_IN_TYPE_PARAMETERS, name);
  ------------------
  |  |   74|      0|#define EXPR_NOT_ALLOWED_IN_TYPE_PARAMETERS \
  |  |   75|      0|"%s cannot be used within the definition of a generic"
  ------------------
 3234|      0|    }
 3235|  4.17k|    else
 3236|  4.17k|        return 1;
 3237|       |
 3238|     28|    SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   89|     28|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|     28|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 3239|     28|    return 0;
 3240|  4.20k|}
symtable.c:symtable_handle_namedexpr:
 2486|  1.87k|{
 2487|  1.87k|    if (st->st_cur->ste_comp_iter_expr > 0) {
  ------------------
  |  Branch (2487:9): [True: 1, False: 1.87k]
  ------------------
 2488|       |        /* Assignment isn't allowed in a comprehension iterable expression */
 2489|      1|        PyErr_Format(PyExc_SyntaxError, NAMED_EXPR_COMP_ITER_EXPR);
  ------------------
  |  |   62|      1|#define NAMED_EXPR_COMP_ITER_EXPR \
  |  |   63|      1|"assignment expression cannot be used in a comprehension iterable expression"
  ------------------
 2490|      1|        SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   89|      1|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      1|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2491|      1|        return 0;
 2492|      1|    }
 2493|  1.87k|    if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2493:9): [True: 1.79k, False: 83]
  ------------------
 2494|       |        /* Inside a comprehension body, so find the right target scope */
 2495|  1.79k|        if (!symtable_extend_namedexpr_scope(st, e->v.NamedExpr.target))
  ------------------
  |  Branch (2495:13): [True: 7, False: 1.78k]
  ------------------
 2496|      7|            return 0;
 2497|  1.79k|    }
 2498|  1.86k|    VISIT(st, expr, e->v.NamedExpr.value);
  ------------------
  |  | 1750|  1.86k|    do { \
  |  | 1751|  1.86k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 6, False: 1.86k]
  |  |  ------------------
  |  | 1752|      6|            return 0; \
  |  | 1753|      6|        } \
  |  | 1754|  1.86k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 1.86k]
  |  |  ------------------
  ------------------
 2499|  1.86k|    VISIT(st, expr, e->v.NamedExpr.target);
  ------------------
  |  | 1750|  1.86k|    do { \
  |  | 1751|  1.86k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 0, False: 1.86k]
  |  |  ------------------
  |  | 1752|      0|            return 0; \
  |  | 1753|      0|        } \
  |  | 1754|  1.86k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 1.86k]
  |  |  ------------------
  ------------------
 2500|  1.86k|    return 1;
 2501|  1.86k|}
symtable.c:symtable_extend_namedexpr_scope:
 2389|  1.79k|{
 2390|  1.79k|    assert(st->st_stack);
  ------------------
  |  Branch (2390:5): [True: 1.79k, False: 0]
  ------------------
 2391|  1.79k|    assert(e->kind == Name_kind);
  ------------------
  |  Branch (2391:5): [True: 1.79k, False: 0]
  ------------------
 2392|       |
 2393|  1.79k|    PyObject *target_name = e->v.Name.id;
 2394|  1.79k|    Py_ssize_t i, size;
 2395|  1.79k|    struct _symtable_entry *ste;
 2396|  1.79k|    size = PyList_GET_SIZE(st->st_stack);
  ------------------
  |  |   38|  1.79k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2397|  1.79k|    assert(size);
  ------------------
  |  Branch (2397:5): [True: 1.79k, False: 0]
  ------------------
 2398|       |
 2399|       |    /* Iterate over the stack in reverse and add to the nearest adequate scope */
 2400|  5.06k|    for (i = size - 1; i >= 0; i--) {
  ------------------
  |  Branch (2400:24): [True: 5.06k, False: 0]
  ------------------
 2401|  5.06k|        ste = (struct _symtable_entry *) PyList_GET_ITEM(st->st_stack, i);
  ------------------
  |  |   40|  5.06k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  5.06k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2401:42): [True: 5.06k, False: 0]
  ------------------
 2402|       |
 2403|       |        /* If we find a comprehension scope, check for a target
 2404|       |         * binding conflict with iteration variables, otherwise skip it
 2405|       |         */
 2406|  5.06k|        if (ste->ste_comprehension) {
  ------------------
  |  Branch (2406:13): [True: 2.84k, False: 2.21k]
  ------------------
 2407|  2.84k|            long target_in_scope = symtable_lookup_entry(st, ste, target_name);
 2408|  2.84k|            if (target_in_scope < 0) {
  ------------------
  |  Branch (2408:17): [True: 0, False: 2.84k]
  ------------------
 2409|      0|                return 0;
 2410|      0|            }
 2411|  2.84k|            if ((target_in_scope & DEF_COMP_ITER) &&
  ------------------
  |  |  178|  2.84k|#define DEF_COMP_ITER (2<<8)     /* this name is a comprehension iteration variable */
  ------------------
  |  Branch (2411:17): [True: 118, False: 2.73k]
  ------------------
 2412|    118|                (target_in_scope & DEF_LOCAL)) {
  ------------------
  |  |  171|    118|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
  |  Branch (2412:17): [True: 2, False: 116]
  ------------------
 2413|      2|                PyErr_Format(PyExc_SyntaxError, NAMED_EXPR_COMP_CONFLICT, target_name);
  ------------------
  |  |   56|      2|#define NAMED_EXPR_COMP_CONFLICT \
  |  |   57|      2|"assignment expression cannot rebind comprehension iteration variable '%U'"
  ------------------
 2414|      2|                SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   89|      2|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      2|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2415|      2|                return 0;
 2416|      2|            }
 2417|  2.84k|            continue;
 2418|  2.84k|        }
 2419|       |
 2420|       |        /* If we find a FunctionBlock entry, add as GLOBAL/LOCAL or NONLOCAL/LOCAL */
 2421|  2.21k|        if (ste->ste_type == FunctionBlock) {
  ------------------
  |  Branch (2421:13): [True: 1.16k, False: 1.05k]
  ------------------
 2422|  1.16k|            long target_in_scope = symtable_lookup_entry(st, ste, target_name);
 2423|  1.16k|            if (target_in_scope < 0) {
  ------------------
  |  Branch (2423:17): [True: 0, False: 1.16k]
  ------------------
 2424|      0|                return 0;
 2425|      0|            }
 2426|  1.16k|            if (target_in_scope & DEF_GLOBAL) {
  ------------------
  |  |  170|  1.16k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (2426:17): [True: 0, False: 1.16k]
  ------------------
 2427|      0|                if (!symtable_add_def(st, target_name, DEF_GLOBAL, LOCATION(e)))
  ------------------
  |  |  170|      0|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                              if (!symtable_add_def(st, target_name, DEF_GLOBAL, 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 (2427:21): [True: 0, False: 0]
  ------------------
 2428|      0|                    return 0;
 2429|  1.16k|            } else {
 2430|  1.16k|                if (!symtable_add_def(st, target_name, DEF_NONLOCAL, LOCATION(e))) {
  ------------------
  |  |  173|  1.16k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
                              if (!symtable_add_def(st, target_name, DEF_NONLOCAL, LOCATION(e))) {
  ------------------
  |  |   86|  1.16k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.16k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.16k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.16k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.16k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.16k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2430:21): [True: 1, False: 1.16k]
  ------------------
 2431|      1|                    return 0;
 2432|      1|                }
 2433|  1.16k|            }
 2434|  1.16k|            if (!symtable_record_directive(st, target_name, LOCATION(e))) {
  ------------------
  |  |   86|  1.16k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.16k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.16k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.16k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.16k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.16k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2434:17): [True: 0, False: 1.16k]
  ------------------
 2435|      0|                return 0;
 2436|      0|            }
 2437|       |
 2438|  1.16k|            return symtable_add_def_helper(st, target_name, DEF_LOCAL, ste, LOCATION(e));
  ------------------
  |  |  171|  1.16k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          return symtable_add_def_helper(st, target_name, DEF_LOCAL, ste, LOCATION(e));
  ------------------
  |  |   86|  1.16k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  1.16k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  1.16k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  1.16k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  1.16k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  1.16k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2439|  1.16k|        }
 2440|       |        /* If we find a ModuleBlock entry, add as GLOBAL */
 2441|  1.05k|        if (ste->ste_type == ModuleBlock) {
  ------------------
  |  Branch (2441:13): [True: 624, False: 426]
  ------------------
 2442|    624|            if (!symtable_add_def(st, target_name, DEF_GLOBAL, LOCATION(e))) {
  ------------------
  |  |  170|    624|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                          if (!symtable_add_def(st, target_name, DEF_GLOBAL, LOCATION(e))) {
  ------------------
  |  |   86|    624|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    624|    (_Py_SourceLocation){ \
  |  |  |  |   59|    624|               .lineno = (n)->lineno, \
  |  |  |  |   60|    624|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    624|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    624|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2442:17): [True: 3, False: 621]
  ------------------
 2443|      3|                return 0;
 2444|      3|            }
 2445|    621|            if (!symtable_record_directive(st, target_name, LOCATION(e))) {
  ------------------
  |  |   86|    621|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    621|    (_Py_SourceLocation){ \
  |  |  |  |   59|    621|               .lineno = (n)->lineno, \
  |  |  |  |   60|    621|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    621|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    621|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2445:17): [True: 0, False: 621]
  ------------------
 2446|      0|                return 0;
 2447|      0|            }
 2448|       |
 2449|    621|            return symtable_add_def_helper(st, target_name, DEF_GLOBAL, ste, LOCATION(e));
  ------------------
  |  |  170|    621|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                          return symtable_add_def_helper(st, target_name, DEF_GLOBAL, ste, LOCATION(e));
  ------------------
  |  |   86|    621|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|    621|    (_Py_SourceLocation){ \
  |  |  |  |   59|    621|               .lineno = (n)->lineno, \
  |  |  |  |   60|    621|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|    621|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|    621|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2450|    621|        }
 2451|       |        /* Disallow usage in ClassBlock and type scopes */
 2452|    426|        if (ste->ste_type == ClassBlock ||
  ------------------
  |  Branch (2452:13): [True: 1, False: 425]
  ------------------
 2453|    425|            ste->ste_type == TypeParametersBlock ||
  ------------------
  |  Branch (2453:13): [True: 0, False: 425]
  ------------------
 2454|    425|            ste->ste_type == TypeAliasBlock ||
  ------------------
  |  Branch (2454:13): [True: 0, False: 425]
  ------------------
 2455|    425|            ste->ste_type == TypeVariableBlock) {
  ------------------
  |  Branch (2455:13): [True: 0, False: 425]
  ------------------
 2456|      1|            switch (ste->ste_type) {
 2457|      1|                case ClassBlock:
  ------------------
  |  Branch (2457:17): [True: 1, False: 0]
  ------------------
 2458|      1|                    PyErr_Format(PyExc_SyntaxError, NAMED_EXPR_COMP_IN_CLASS);
  ------------------
  |  |   44|      1|#define NAMED_EXPR_COMP_IN_CLASS \
  |  |   45|      1|"assignment expression within a comprehension cannot be used in a class body"
  ------------------
 2459|      1|                    break;
 2460|      0|                case TypeParametersBlock:
  ------------------
  |  Branch (2460:17): [True: 0, False: 1]
  ------------------
 2461|      0|                    PyErr_Format(PyExc_SyntaxError, NAMED_EXPR_COMP_IN_TYPEPARAM);
  ------------------
  |  |   53|      0|#define NAMED_EXPR_COMP_IN_TYPEPARAM \
  |  |   54|      0|"assignment expression within a comprehension cannot be used within the definition of a generic"
  ------------------
 2462|      0|                    break;
 2463|      0|                case TypeAliasBlock:
  ------------------
  |  Branch (2463:17): [True: 0, False: 1]
  ------------------
 2464|      0|                    PyErr_Format(PyExc_SyntaxError, NAMED_EXPR_COMP_IN_TYPEALIAS);
  ------------------
  |  |   50|      0|#define NAMED_EXPR_COMP_IN_TYPEALIAS \
  |  |   51|      0|"assignment expression within a comprehension cannot be used in a type alias"
  ------------------
 2465|      0|                    break;
 2466|      0|                case TypeVariableBlock:
  ------------------
  |  Branch (2466:17): [True: 0, False: 1]
  ------------------
 2467|      0|                    PyErr_Format(PyExc_SyntaxError, NAMED_EXPR_COMP_IN_TYPEVAR_BOUND);
  ------------------
  |  |   47|      0|#define NAMED_EXPR_COMP_IN_TYPEVAR_BOUND \
  |  |   48|      0|"assignment expression within a comprehension cannot be used in a TypeVar bound"
  ------------------
 2468|      0|                    break;
 2469|      0|                default:
  ------------------
  |  Branch (2469:17): [True: 0, False: 1]
  ------------------
 2470|      0|                    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2471|      1|            }
 2472|      1|            SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   89|      1|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      1|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2473|      1|            return 0;
 2474|      1|        }
 2475|    426|    }
 2476|       |
 2477|       |    /* We should always find either a function-like block, ModuleBlock or ClassBlock
 2478|       |       and should never fall to this case
 2479|       |    */
 2480|  1.79k|    Py_UNREACHABLE();
  ------------------
  |  |  300|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2481|      0|    return 0;
 2482|  1.79k|}
symtable.c:symtable_visit_genexp:
 3183|  1.21k|{
 3184|  1.21k|    return symtable_handle_comprehension(st, e, &_Py_STR(anon_genexpr),
  ------------------
  |  |  953|  1.21k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.21k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.21k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3185|  1.21k|                                         e->v.GeneratorExp.generators,
 3186|       |                                         e->v.GeneratorExp.elt, NULL);
 3187|  1.21k|}
symtable.c:symtable_handle_comprehension:
 3107|  4.88k|{
 3108|  4.88k|    int is_generator = (e->kind == GeneratorExp_kind);
 3109|  4.88k|    comprehension_ty outermost = ((comprehension_ty)
 3110|  4.88k|                                    asdl_seq_GET(generators, 0));
  ------------------
  |  |   82|  4.88k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  313|  4.88k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3111|       |    /* Outermost iterator is evaluated in current scope */
 3112|  4.88k|    st->st_cur->ste_comp_iter_expr++;
 3113|  4.88k|    VISIT(st, expr, outermost->iter);
  ------------------
  |  | 1750|  4.88k|    do { \
  |  | 1751|  4.88k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 4, False: 4.88k]
  |  |  ------------------
  |  | 1752|      4|            return 0; \
  |  | 1753|      4|        } \
  |  | 1754|  4.88k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 4.88k]
  |  |  ------------------
  ------------------
 3114|  4.88k|    st->st_cur->ste_comp_iter_expr--;
 3115|       |
 3116|       |    /* Non-generator comprehensions are inlined into the enclosing compilation
 3117|       |     * unit (including generator expressions), except in annotation scopes
 3118|       |     * that can see a class. */
 3119|  4.88k|    int will_inline = !is_generator && !st->st_cur->ste_can_see_class_scope;
  ------------------
  |  Branch (3119:23): [True: 3.67k, False: 1.20k]
  |  Branch (3119:40): [True: 3.64k, False: 31]
  ------------------
 3120|  4.88k|    _Py_block_ty block = will_inline ? InlinedComprehensionBlock : FunctionBlock;
  ------------------
  |  Branch (3120:26): [True: 3.64k, False: 1.24k]
  ------------------
 3121|       |
 3122|       |    /* Create comprehension scope for the rest */
 3123|  4.88k|    if (!scope_name ||
  ------------------
  |  Branch (3123:9): [True: 0, False: 4.88k]
  ------------------
 3124|  4.88k|        !symtable_enter_block(st, scope_name, block, (void *)e, LOCATION(e))) {
  ------------------
  |  |   86|  4.88k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   58|  4.88k|    (_Py_SourceLocation){ \
  |  |  |  |   59|  4.88k|               .lineno = (n)->lineno, \
  |  |  |  |   60|  4.88k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   61|  4.88k|               .col_offset = (n)->col_offset, \
  |  |  |  |   62|  4.88k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (3124:9): [True: 0, False: 4.88k]
  ------------------
 3125|      0|        return 0;
 3126|      0|    }
 3127|  4.88k|    switch(e->kind) {
 3128|    456|        case ListComp_kind:
  ------------------
  |  Branch (3128:9): [True: 456, False: 4.42k]
  ------------------
 3129|    456|            st->st_cur->ste_comprehension = ListComprehension;
 3130|    456|            break;
 3131|  2.65k|        case SetComp_kind:
  ------------------
  |  Branch (3131:9): [True: 2.65k, False: 2.23k]
  ------------------
 3132|  2.65k|            st->st_cur->ste_comprehension = SetComprehension;
 3133|  2.65k|            break;
 3134|    569|        case DictComp_kind:
  ------------------
  |  Branch (3134:9): [True: 569, False: 4.31k]
  ------------------
 3135|    569|            st->st_cur->ste_comprehension = DictComprehension;
 3136|    569|            break;
 3137|  1.20k|        default:
  ------------------
  |  Branch (3137:9): [True: 1.20k, False: 3.67k]
  ------------------
 3138|  1.20k|            st->st_cur->ste_comprehension = GeneratorExpression;
 3139|  1.20k|            break;
 3140|  4.88k|    }
 3141|  4.88k|    if (outermost->is_async) {
  ------------------
  |  Branch (3141:9): [True: 918, False: 3.96k]
  ------------------
 3142|    918|        st->st_cur->ste_coroutine = 1;
 3143|    918|    }
 3144|       |
 3145|       |    /* Outermost iter is received as an argument for non-inlined comps */
 3146|  4.88k|    if (!will_inline && !symtable_implicit_arg(st, 0)) {
  ------------------
  |  Branch (3146:9): [True: 1.24k, False: 3.64k]
  |  Branch (3146:25): [True: 0, False: 1.24k]
  ------------------
 3147|      0|        symtable_exit_block(st);
 3148|      0|        return 0;
 3149|      0|    }
 3150|       |    /* Visit iteration variable target, and mark them as such */
 3151|  4.88k|    st->st_cur->ste_comp_iter_target = 1;
 3152|  4.88k|    VISIT(st, expr, outermost->target);
  ------------------
  |  | 1750|  4.88k|    do { \
  |  | 1751|  4.88k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 10, False: 4.87k]
  |  |  ------------------
  |  | 1752|     10|            return 0; \
  |  | 1753|     10|        } \
  |  | 1754|  4.88k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 4.87k]
  |  |  ------------------
  ------------------
 3153|  4.87k|    st->st_cur->ste_comp_iter_target = 0;
 3154|       |    /* Visit the rest of the comprehension body */
 3155|  4.87k|    VISIT_SEQ(st, expr, outermost->ifs);
  ------------------
  |  | 1757|  4.87k|    do { \
  |  | 1758|  4.87k|        Py_ssize_t i; \
  |  | 1759|  4.87k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  5.87k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.87k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  11.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 5.87k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 1.02k, False: 4.85k]
  |  |  ------------------
  |  | 1761|  1.02k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.02k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.02k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  1.02k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 23, False: 999]
  |  |  ------------------
  |  | 1763|  1.02k|                return 0;                 \
  |  | 1764|  1.02k|        } \
  |  | 1765|  4.87k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 4.85k]
  |  |  ------------------
  ------------------
 3156|  4.85k|    VISIT_SEQ_TAIL(st, comprehension, generators, 1);
  ------------------
  |  | 1768|  4.85k|    do { \
  |  | 1769|  4.85k|        Py_ssize_t i; \
  |  | 1770|  4.85k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1771|  6.12k|        for (i = (START); i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  6.12k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  12.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 6.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1771:27): [True: 1.27k, False: 4.84k]
  |  |  ------------------
  |  | 1772|  1.27k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.27k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.27k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1773|  1.27k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1773:17): [True: 6, False: 1.27k]
  |  |  ------------------
  |  | 1774|  1.27k|                return 0;                 \
  |  | 1775|  1.27k|        } \
  |  | 1776|  4.85k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1776:13): [Folded, False: 4.84k]
  |  |  ------------------
  ------------------
 3157|  4.84k|    if (value)
  ------------------
  |  Branch (3157:9): [True: 401, False: 4.44k]
  ------------------
 3158|    401|        VISIT(st, expr, value);
  ------------------
  |  | 1750|    401|    do { \
  |  | 1751|    401|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 1, False: 400]
  |  |  ------------------
  |  | 1752|      1|            return 0; \
  |  | 1753|      1|        } \
  |  | 1754|    401|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 400]
  |  |  ------------------
  ------------------
 3159|  4.84k|    VISIT(st, expr, elt);
  ------------------
  |  | 1750|  4.84k|    do { \
  |  | 1751|  4.84k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 4, False: 4.84k]
  |  |  ------------------
  |  | 1752|      4|            return 0; \
  |  | 1753|      4|        } \
  |  | 1754|  4.84k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 4.84k]
  |  |  ------------------
  ------------------
 3160|  4.84k|    st->st_cur->ste_generator = is_generator;
 3161|  4.84k|    int is_async = st->st_cur->ste_coroutine && !is_generator;
  ------------------
  |  Branch (3161:20): [True: 1.08k, False: 3.76k]
  |  Branch (3161:49): [True: 660, False: 420]
  ------------------
 3162|  4.84k|    if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (3162:9): [True: 0, False: 4.84k]
  ------------------
 3163|      0|        return 0;
 3164|      0|    }
 3165|  4.84k|    if (is_async &&
  ------------------
  |  Branch (3165:9): [True: 660, False: 4.18k]
  ------------------
 3166|    660|        !IS_ASYNC_DEF(st) &&
  ------------------
  |  |   92|  5.50k|#define IS_ASYNC_DEF(st) ((st)->st_cur->ste_type == FunctionBlock && (st)->st_cur->ste_coroutine)
  |  |  ------------------
  |  |  |  Branch (92:27): [True: 567, False: 93]
  |  |  |  Branch (92:70): [True: 567, False: 0]
  |  |  ------------------
  ------------------
 3167|     93|        st->st_cur->ste_comprehension == NoComprehension &&
  ------------------
  |  Branch (3167:9): [True: 24, False: 69]
  ------------------
 3168|     24|        !allows_top_level_await(st))
  ------------------
  |  Branch (3168:9): [True: 4, False: 20]
  ------------------
 3169|      4|    {
 3170|      4|        PyErr_SetString(PyExc_SyntaxError, "asynchronous comprehension outside of "
 3171|      4|                                           "an asynchronous function");
 3172|      4|        SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   89|      4|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      4|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 3173|      4|        return 0;
 3174|      4|    }
 3175|  4.83k|    if (is_async) {
  ------------------
  |  Branch (3175:9): [True: 656, False: 4.18k]
  ------------------
 3176|    656|        st->st_cur->ste_coroutine = 1;
 3177|    656|    }
 3178|  4.83k|    return 1;
 3179|  4.84k|}
symtable.c:symtable_implicit_arg:
 2845|  1.24k|{
 2846|  1.24k|    PyObject *id = PyUnicode_FromFormat(".%d", pos);
 2847|  1.24k|    if (id == NULL)
  ------------------
  |  Branch (2847:9): [True: 0, False: 1.24k]
  ------------------
 2848|      0|        return 0;
 2849|  1.24k|    if (!symtable_add_def(st, id, DEF_PARAM, st->st_cur->ste_loc)) {
  ------------------
  |  |  172|  1.24k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (2849:9): [True: 0, False: 1.24k]
  ------------------
 2850|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2851|      0|        return 0;
 2852|      0|    }
 2853|  1.24k|    Py_DECREF(id);
  ------------------
  |  |  430|  1.24k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2854|  1.24k|    return 1;
 2855|  1.24k|}
symtable.c:symtable_visit_comprehension:
 3080|  1.27k|{
 3081|  1.27k|    st->st_cur->ste_comp_iter_target = 1;
 3082|  1.27k|    VISIT(st, expr, lc->target);
  ------------------
  |  | 1750|  1.27k|    do { \
  |  | 1751|  1.27k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 2, False: 1.27k]
  |  |  ------------------
  |  | 1752|      2|            return 0; \
  |  | 1753|      2|        } \
  |  | 1754|  1.27k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 1.27k]
  |  |  ------------------
  ------------------
 3083|  1.27k|    st->st_cur->ste_comp_iter_target = 0;
 3084|  1.27k|    st->st_cur->ste_comp_iter_expr++;
 3085|  1.27k|    VISIT(st, expr, lc->iter);
  ------------------
  |  | 1750|  1.27k|    do { \
  |  | 1751|  1.27k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1751:13): [True: 4, False: 1.27k]
  |  |  ------------------
  |  | 1752|      4|            return 0; \
  |  | 1753|      4|        } \
  |  | 1754|  1.27k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1754:13): [Folded, False: 1.27k]
  |  |  ------------------
  ------------------
 3086|  1.27k|    st->st_cur->ste_comp_iter_expr--;
 3087|  1.27k|    VISIT_SEQ(st, expr, lc->ifs);
  ------------------
  |  | 1757|  1.27k|    do { \
  |  | 1758|  1.27k|        Py_ssize_t i; \
  |  | 1759|  1.27k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1760|  2.61k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.61k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  5.22k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (313:37): [True: 0, False: 2.61k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1760:21): [True: 1.34k, False: 1.27k]
  |  |  ------------------
  |  | 1761|  1.34k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.34k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  313|  1.34k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1762|  1.34k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1762:17): [True: 0, False: 1.34k]
  |  |  ------------------
  |  | 1763|  1.34k|                return 0;                 \
  |  | 1764|  1.34k|        } \
  |  | 1765|  1.27k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1765:13): [Folded, False: 1.27k]
  |  |  ------------------
  ------------------
 3088|  1.27k|    if (lc->is_async) {
  ------------------
  |  Branch (3088:9): [True: 388, False: 882]
  ------------------
 3089|    388|        st->st_cur->ste_coroutine = 1;
 3090|    388|    }
 3091|  1.27k|    return 1;
 3092|  1.27k|}
symtable.c:symtable_visit_listcomp:
 3191|    456|{
 3192|    456|    return symtable_handle_comprehension(st, e, &_Py_STR(anon_listcomp),
  ------------------
  |  |  953|    456|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    456|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    456|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3193|    456|                                         e->v.ListComp.generators,
 3194|       |                                         e->v.ListComp.elt, NULL);
 3195|    456|}
symtable.c:symtable_visit_setcomp:
 3199|  2.65k|{
 3200|  2.65k|    return symtable_handle_comprehension(st, e, &_Py_STR(anon_setcomp),
  ------------------
  |  |  953|  2.65k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.65k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.65k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3201|  2.65k|                                         e->v.SetComp.generators,
 3202|       |                                         e->v.SetComp.elt, NULL);
 3203|  2.65k|}
symtable.c:symtable_visit_dictcomp:
 3207|    569|{
 3208|    569|    return symtable_handle_comprehension(st, e, &_Py_STR(anon_dictcomp),
  ------------------
  |  |  953|    569|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    569|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    569|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3209|    569|                                         e->v.DictComp.generators,
 3210|    569|                                         e->v.DictComp.key,
 3211|    569|                                         e->v.DictComp.value);
 3212|    569|}
symtable.c:symtable_raise_if_comprehension_block:
 3243|      8|symtable_raise_if_comprehension_block(struct symtable *st, expr_ty e) {
 3244|      8|    _Py_comprehension_ty type = st->st_cur->ste_comprehension;
 3245|      8|    PyErr_SetString(PyExc_SyntaxError,
 3246|      8|            (type == ListComprehension) ? "'yield' inside list comprehension" :
  ------------------
  |  Branch (3246:13): [True: 2, False: 6]
  ------------------
 3247|      8|            (type == SetComprehension) ? "'yield' inside set comprehension" :
  ------------------
  |  Branch (3247:13): [True: 1, False: 5]
  ------------------
 3248|      6|            (type == DictComprehension) ? "'yield' inside dict comprehension" :
  ------------------
  |  Branch (3248:13): [True: 1, False: 4]
  ------------------
 3249|      5|            "'yield' inside generator expression");
 3250|      8|    SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   89|      8|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   90|      8|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 3251|      8|    return 0;
 3252|      8|}

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|      5|{
  379|      5|    va_list vargs;
  380|      5|    va_start(vargs, argFormat);
  381|      5|    int res = sys_audit_tstate(tstate, event, argFormat, vargs);
  382|       |    va_end(vargs);
  383|      5|    return res;
  384|      5|}
PySys_Audit:
  388|  32.3k|{
  389|  32.3k|    PyThreadState *tstate = _PyThreadState_GET();
  390|  32.3k|    va_list vargs;
  391|  32.3k|    va_start(vargs, argFormat);
  392|  32.3k|    int res = sys_audit_tstate(tstate, event, argFormat, vargs);
  393|       |    va_end(vargs);
  394|  32.3k|    return res;
  395|  32.3k|}
_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|  32.3k|{
  252|  32.3k|    assert(event != NULL);
  ------------------
  |  Branch (252:5): [True: 32.3k, False: 0]
  ------------------
  253|  32.3k|    assert(!argFormat || !strchr(argFormat, 'N'));
  ------------------
  |  Branch (253:5): [True: 0, False: 32.3k]
  |  Branch (253:5): [True: 32.3k, False: 0]
  ------------------
  254|       |
  255|  32.3k|    if (!ts) {
  ------------------
  |  Branch (255:9): [True: 0, False: 32.3k]
  ------------------
  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|  32.3k|    assert(ts == _PyThreadState_GET());
  ------------------
  |  Branch (262:5): [True: 32.3k, False: 0]
  ------------------
  263|       |
  264|       |    /* Early exit when no hooks are registered */
  265|  32.3k|    PyInterpreterState *is = ts->interp;
  266|  32.3k|    if (!should_audit(is)) {
  ------------------
  |  Branch (266:9): [True: 32.3k, False: 0]
  ------------------
  267|  32.3k|        return 0;
  268|  32.3k|    }
  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|  32.7k|{
  237|       |    /* interp must not be NULL, but test it just in case for extra safety */
  238|  32.7k|    assert(interp != NULL);
  ------------------
  |  Branch (238:5): [True: 32.7k, False: 0]
  ------------------
  239|  32.7k|    if (!interp) {
  ------------------
  |  Branch (239:9): [True: 0, False: 32.7k]
  ------------------
  240|      0|        return 0;
  241|      0|    }
  242|  32.7k|    return (interp->runtime->audit_hooks.head
  ------------------
  |  Branch (242:13): [True: 0, False: 32.7k]
  ------------------
  243|  32.7k|            || interp->audit_hooks
  ------------------
  |  Branch (243:16): [True: 0, False: 32.7k]
  ------------------
  244|  32.7k|            || PyDTrace_AUDIT_ENABLED());
  ------------------
  |  Branch (244:16): [True: 0, False: 32.7k]
  ------------------
  245|  32.7k|}
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|    380|{
  577|    380|    PyThreadState *tstate = _PyThreadState_GET();
  578|    380|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  214|    380|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  579|       |
  580|    380|    if (!should_audit(tstate->interp)) {
  ------------------
  |  Branch (580:9): [True: 380, False: 0]
  ------------------
  581|    380|        Py_RETURN_NONE;
  ------------------
  |  |  628|    380|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    380|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  582|    380|    }
  583|       |
  584|      0|    int res = _PySys_Audit(tstate, event, "O", args);
  585|      0|    if (res < 0) {
  ------------------
  |  Branch (585:9): [True: 0, False: 0]
  ------------------
  586|      0|        return NULL;
  587|      0|    }
  588|       |
  589|      0|    Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  590|      0|}
sysmodule.c:get_utf8_unicode:
  935|      4|{
  936|      4|    _Py_DECLARE_STR(utf_8, "utf-8");
  937|      4|    PyObject *ret = &_Py_STR(utf_8);
  ------------------
  |  |  953|      4|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  938|      4|    return Py_NewRef(ret);
  ------------------
  |  |  647|      4|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  939|      4|}
sysmodule.c:sys_getfilesystemencoding_impl:
  963|      4|{
  964|      4|    PyInterpreterState *interp = _PyInterpreterState_GET();
  965|      4|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
  966|       |
  967|      4|    if (wcscmp(config->filesystem_encoding, L"utf-8") == 0) {
  ------------------
  |  Branch (967:9): [True: 4, False: 0]
  ------------------
  968|      4|        return get_utf8_unicode();
  969|      4|    }
  970|       |
  971|      0|    PyObject *u = PyUnicode_FromWideChar(config->filesystem_encoding, -1);
  972|      0|    if (u == NULL) {
  ------------------
  |  Branch (972:9): [True: 0, False: 0]
  ------------------
  973|      0|        return NULL;
  974|      0|    }
  975|      0|    _PyUnicode_InternImmortal(interp, &u);
  976|      0|    return u;
  977|      0|}
sysmodule.c:sys_getfilesystemencodeerrors_impl:
  988|      2|{
  989|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
  990|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
  991|      2|    PyObject *u = PyUnicode_FromWideChar(config->filesystem_errors, -1);
  992|      2|    if (u == NULL) {
  ------------------
  |  Branch (992:9): [True: 0, False: 2]
  ------------------
  993|      0|        return NULL;
  994|      0|    }
  995|      2|    _PyUnicode_InternImmortal(interp, &u);
  996|      2|    return u;
  997|      2|}
sysmodule.c:sys__getframe_impl:
 2086|      2|{
 2087|      2|    PyThreadState *tstate = _PyThreadState_GET();
 2088|      2|    _PyInterpreterFrame *frame = tstate->current_frame;
 2089|       |
 2090|      2|    if (frame != NULL) {
  ------------------
  |  Branch (2090:9): [True: 2, False: 0]
  ------------------
 2091|      2|        while (depth > 0) {
  ------------------
  |  Branch (2091:16): [True: 0, False: 2]
  ------------------
 2092|      0|            frame = _PyFrame_GetFirstComplete(frame->previous);
 2093|      0|            if (frame == NULL) {
  ------------------
  |  Branch (2093:17): [True: 0, False: 0]
  ------------------
 2094|      0|                break;
 2095|      0|            }
 2096|      0|            --depth;
 2097|      0|        }
 2098|      2|    }
 2099|      2|    if (frame == NULL) {
  ------------------
  |  Branch (2099:9): [True: 0, False: 2]
  ------------------
 2100|      0|        _PyErr_SetString(tstate, PyExc_ValueError,
 2101|      0|                         "call stack is not deep enough");
 2102|      0|        return NULL;
 2103|      0|    }
 2104|       |
 2105|      2|    PyObject *pyFrame = Py_XNewRef((PyObject *)_PyFrame_GetFrameObject(frame));
  ------------------
  |  |  648|      2|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2106|      2|    if (pyFrame && _PySys_Audit(tstate, "sys._getframe", "(O)", pyFrame) < 0) {
  ------------------
  |  Branch (2106:9): [True: 2, False: 0]
  |  Branch (2106:20): [True: 0, False: 2]
  ------------------
 2107|      0|        Py_DECREF(pyFrame);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2108|      0|        return NULL;
 2109|      0|    }
 2110|      2|    return pyFrame;
 2111|      2|}
sysmodule.c:sys__getframemodulename_impl:
 2590|      2|{
 2591|      2|    if (PySys_Audit("sys._getframemodulename", "i", depth) < 0) {
  ------------------
  |  Branch (2591:9): [True: 0, False: 2]
  ------------------
 2592|      0|        return NULL;
 2593|      0|    }
 2594|      2|    _PyInterpreterFrame *f = _PyThreadState_GET()->current_frame;
 2595|      4|    while (f && (_PyFrame_IsIncomplete(f) || depth-- > 0)) {
  ------------------
  |  Branch (2595:12): [True: 4, False: 0]
  |  Branch (2595:18): [True: 0, False: 4]
  |  Branch (2595:46): [True: 2, False: 2]
  ------------------
 2596|      2|        f = f->previous;
 2597|      2|    }
 2598|      2|    if (f == NULL || PyStackRef_IsNull(f->f_funcobj)) {
  ------------------
  |  |  482|      2|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|      2|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      2|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (2598:9): [True: 0, False: 2]
  ------------------
 2599|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2600|      0|    }
 2601|      2|    PyObject *func = PyStackRef_AsPyObjectBorrow(f->f_funcobj);
 2602|      2|    PyObject *r = PyFunction_GetModule(func);
 2603|      2|    if (!r) {
  ------------------
  |  Branch (2603:9): [True: 0, False: 2]
  ------------------
 2604|      0|        PyErr_Clear();
 2605|      0|        r = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2606|      0|    }
 2607|      2|    return Py_NewRef(r);
  ------------------
  |  |  647|      2|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2608|      2|}
sysmodule.c:sys_intern_impl:
 1015|     27|{
 1016|     27|    if (PyUnicode_CheckExact(s)) {
  ------------------
  |  |  104|     27|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     27|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1017|     27|        PyInterpreterState *interp = _PyInterpreterState_GET();
 1018|     27|        Py_INCREF(s);
  ------------------
  |  |  310|     27|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     27|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     27|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1019|     27|        _PyUnicode_InternMortal(interp, &s);
 1020|     27|        return s;
 1021|     27|    }
 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|     27|}
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|    107|{
   82|    107|    if (!initialized) {
  ------------------
  |  |   45|    107|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (82:9): [True: 0, False: 107]
  ------------------
   83|      0|        PyThread_init_thread();
   84|      0|    }
   85|       |
   86|    107|    PyMutex *lock = (PyMutex *)PyMem_RawMalloc(sizeof(PyMutex));
   87|    107|    if (lock) {
  ------------------
  |  Branch (87:9): [True: 107, False: 0]
  ------------------
   88|    107|        *lock = (PyMutex){0};
   89|    107|    }
   90|       |
   91|    107|    return (PyThread_type_lock)lock;
   92|    107|}
PyThread_free_lock:
   96|    101|{
   97|    101|    PyMem_RawFree(lock);
   98|    101|}
PyThread_acquire_lock_timed:
  103|  83.1k|{
  104|  83.1k|    PyTime_t timeout;  // relative timeout
  105|  83.1k|    if (microseconds >= 0) {
  ------------------
  |  Branch (105:9): [True: 83.1k, False: 0]
  ------------------
  106|       |        // bpo-41710: PyThread_acquire_lock_timed() cannot report timeout
  107|       |        // overflow to the caller, so clamp the timeout to
  108|       |        // [PyTime_MIN, PyTime_MAX].
  109|       |        //
  110|       |        // PyTime_MAX nanoseconds is around 292.3 years.
  111|       |        //
  112|       |        // _thread.Lock.acquire() and _thread.RLock.acquire() raise an
  113|       |        // OverflowError if microseconds is greater than PY_TIMEOUT_MAX.
  114|  83.1k|        timeout = _PyTime_FromMicrosecondsClamp(microseconds);
  115|  83.1k|    }
  116|      0|    else {
  117|      0|        timeout = -1;
  118|      0|    }
  119|       |
  120|  83.1k|    _PyLockFlags flags = _Py_LOCK_DONT_DETACH;
  121|  83.1k|    if (intr_flag) {
  ------------------
  |  Branch (121:9): [True: 0, False: 83.1k]
  ------------------
  122|      0|        flags |= _PY_FAIL_IF_INTERRUPTED;
  123|      0|    }
  124|       |
  125|  83.1k|    return _PyMutex_LockTimed((PyMutex *)lock, timeout, flags);
  126|  83.1k|}
PyThread_release_lock:
  130|  83.1k|{
  131|  83.1k|    PyMutex_Unlock((PyMutex *)lock);
  ------------------
  |  |   70|  83.1k|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  132|  83.1k|}
PyThread_acquire_lock:
  143|  83.1k|{
  144|  83.1k|    return PyThread_acquire_lock_timed(lock, waitflag ? -1 : 0, /*intr_flag=*/0);
  ------------------
  |  Branch (144:46): [True: 0, False: 83.1k]
  ------------------
  145|  83.1k|}
PyThread_GetInfo:
  310|      2|{
  311|      2|    PyObject *threadinfo, *value;
  312|      2|    int pos = 0;
  313|      2|#if (defined(_POSIX_THREADS) && defined(HAVE_CONFSTR) \
  314|      2|     && defined(_CS_GNU_LIBPTHREAD_VERSION))
  315|      2|    char buffer[255];
  316|      2|    int len;
  317|      2|#endif
  318|       |
  319|      2|    PyInterpreterState *interp = _PyInterpreterState_GET();
  320|      2|    if (_PyStructSequence_InitBuiltin(interp, &ThreadInfoType, &threadinfo_desc) < 0) {
  ------------------
  |  Branch (320:9): [True: 0, False: 2]
  ------------------
  321|      0|        return NULL;
  322|      0|    }
  323|       |
  324|      2|    threadinfo = PyStructSequence_New(&ThreadInfoType);
  325|      2|    if (threadinfo == NULL)
  ------------------
  |  Branch (325:9): [True: 0, False: 2]
  ------------------
  326|      0|        return NULL;
  327|       |
  328|      2|    value = PyUnicode_FromString(PYTHREAD_NAME);
  ------------------
  |  |   64|      2|#     define PYTHREAD_NAME "pthread"
  ------------------
  329|      2|    if (value == NULL) {
  ------------------
  |  Branch (329:9): [True: 0, False: 2]
  ------------------
  330|      0|        Py_DECREF(threadinfo);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|      0|        return NULL;
  332|      0|    }
  333|      2|    PyStructSequence_SET_ITEM(threadinfo, pos++, value);
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
  334|       |
  335|       |#ifdef HAVE_PTHREAD_STUBS
  336|       |    value = Py_NewRef(Py_None);
  337|       |#else
  338|      2|    value = PyUnicode_FromString("pymutex");
  339|      2|    if (value == NULL) {
  ------------------
  |  Branch (339:9): [True: 0, False: 2]
  ------------------
  340|      0|        Py_DECREF(threadinfo);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  341|      0|        return NULL;
  342|      0|    }
  343|      2|#endif
  344|      2|    PyStructSequence_SET_ITEM(threadinfo, pos++, value);
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
  345|       |
  346|      2|#if (defined(_POSIX_THREADS) && defined(HAVE_CONFSTR) \
  347|      2|     && defined(_CS_GNU_LIBPTHREAD_VERSION))
  348|      2|    value = NULL;
  349|      2|    len = confstr(_CS_GNU_LIBPTHREAD_VERSION, buffer, sizeof(buffer));
  350|      2|    if (1 < len && (size_t)len < sizeof(buffer)) {
  ------------------
  |  Branch (350:9): [True: 2, False: 0]
  |  Branch (350:20): [True: 2, False: 0]
  ------------------
  351|      2|        value = PyUnicode_DecodeFSDefaultAndSize(buffer, len-1);
  352|      2|        if (value == NULL)
  ------------------
  |  Branch (352:13): [True: 0, False: 2]
  ------------------
  353|      0|            PyErr_Clear();
  354|      2|    }
  355|      2|    if (value == NULL)
  ------------------
  |  Branch (355:9): [True: 0, False: 2]
  ------------------
  356|      0|#endif
  357|      0|    {
  358|      0|        value = Py_NewRef(Py_None);
  ------------------
  |  |  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|   140k|PyThread_get_thread_ident_ex(void) {
  365|   140k|    volatile pthread_t threadid;
  366|   140k|    if (!initialized)
  ------------------
  |  |   45|   140k|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (366:9): [True: 2, False: 140k]
  ------------------
  367|      2|        PyThread_init_thread();
  368|   140k|    threadid = pthread_self();
  369|   140k|    return _pthread_t_to_ident(threadid);
  370|   140k|}
PyThread_get_thread_ident:
  374|   132k|{
  375|   132k|    return (unsigned long) PyThread_get_thread_ident_ex();
  376|   132k|}
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|   140k|_pthread_t_to_ident(pthread_t value) {
  309|       |// Cast through an integer type of the same size to avoid sign-extension.
  310|   140k|#if SIZEOF_PTHREAD_T == SIZEOF_VOID_P
  311|   140k|    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|   140k|}

_PyTraceBack_FromFrame:
  307|  36.2k|{
  308|  36.2k|    assert(tb_next == NULL || PyTraceBack_Check(tb_next));
  ------------------
  |  Branch (308:5): [True: 34.0k, False: 2.20k]
  |  Branch (308:5): [True: 2.20k, False: 0]
  ------------------
  309|  36.2k|    assert(frame != NULL);
  ------------------
  |  Branch (309:5): [True: 36.2k, False: 0]
  ------------------
  310|  36.2k|    int addr = _PyInterpreterFrame_LASTI(frame->f_frame) * sizeof(_Py_CODEUNIT);
  ------------------
  |  |   19|  36.2k|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
  311|  36.2k|    return tb_create_raw((PyTracebackObject *)tb_next, frame, addr, -1);
  312|  36.2k|}
PyTraceBack_Here:
  317|  36.2k|{
  318|  36.2k|    PyObject *exc = PyErr_GetRaisedException();
  319|  36.2k|    assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (319:5): [True: 36.2k, False: 0]
  ------------------
  320|  36.2k|    PyObject *tb = PyException_GetTraceback(exc);
  321|  36.2k|    PyObject *newtb = _PyTraceBack_FromFrame(tb, frame);
  322|  36.2k|    Py_XDECREF(tb);
  ------------------
  |  |  621|  36.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  323|  36.2k|    if (newtb == NULL) {
  ------------------
  |  Branch (323:9): [True: 0, False: 36.2k]
  ------------------
  324|      0|        _PyErr_ChainExceptions1(exc);
  325|      0|        return -1;
  326|      0|    }
  327|  36.2k|    PyException_SetTraceback(exc, newtb);
  328|  36.2k|    Py_XDECREF(newtb);
  ------------------
  |  |  621|  36.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  329|  36.2k|    PyErr_SetRaisedException(exc);
  330|  36.2k|    return 0;
  331|  36.2k|}
_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|  36.2k|{
  238|  36.2k|    PyTracebackObject *tb = _PyTracebackObject_CAST(op);
  ------------------
  |  |   67|  36.2k|#define _PyTracebackObject_CAST(op)   ((PyTracebackObject *)(op))
  ------------------
  239|  36.2k|    PyObject_GC_UnTrack(tb);
  240|  36.2k|    Py_XDECREF(tb->tb_next);
  ------------------
  |  |  621|  36.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|  36.2k|    Py_XDECREF(tb->tb_frame);
  ------------------
  |  |  621|  36.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|  36.2k|    _Py_FREELIST_FREE(tracebacks, tb, PyObject_GC_Del);
  ------------------
  |  |   35|  36.2k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  36.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  36.2k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   34|  36.2k|#  define Py_tracebacks_MAXFREELIST 8
  |  |  ------------------
  ------------------
  243|  36.2k|}
traceback.c:tb_traverse:
  247|     22|{
  248|     22|    PyTracebackObject *tb = _PyTracebackObject_CAST(op);
  ------------------
  |  |   67|     22|#define _PyTracebackObject_CAST(op)   ((PyTracebackObject *)(op))
  ------------------
  249|     22|    Py_VISIT(tb->tb_next);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 14, False: 8]
  |  |  ------------------
  |  |  196|     14|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     14|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 14]
  |  |  ------------------
  |  |  198|     14|                return vret;                                            \
  |  |  199|     14|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
  250|     22|    Py_VISIT(tb->tb_frame);
  ------------------
  |  |  194|     22|    do {                                                                \
  |  |  195|     22|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 0]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
  251|     22|    return 0;
  252|     22|}
traceback.c:tb_create_raw:
   81|  36.2k|{
   82|  36.2k|    PyTracebackObject *tb;
   83|  36.2k|    assert(next == NULL || PyTraceBack_Check(next));
  ------------------
  |  Branch (83:5): [True: 34.0k, False: 2.20k]
  |  Branch (83:5): [True: 2.20k, False: 0]
  ------------------
   84|  36.2k|    assert(frame != NULL);
  ------------------
  |  Branch (84:5): [True: 36.2k, False: 0]
  ------------------
   85|  36.2k|    assert(PyFrame_Check(frame));
  ------------------
  |  Branch (85:5): [True: 36.2k, False: 0]
  ------------------
   86|  36.2k|    tb = _Py_FREELIST_POP(PyTracebackObject, tracebacks);
  ------------------
  |  |   43|  36.2k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  36.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   87|  36.2k|    if (tb == NULL) {
  ------------------
  |  Branch (87:9): [True: 197, False: 36.0k]
  ------------------
   88|    197|        tb = PyObject_GC_New(PyTracebackObject, &PyTraceBack_Type);
  ------------------
  |  |  181|    197|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   89|    197|    }
   90|  36.2k|    if (tb != NULL) {
  ------------------
  |  Branch (90:9): [True: 36.2k, False: 0]
  ------------------
   91|  36.2k|        tb->tb_next = (PyTracebackObject*)Py_XNewRef(next);
  ------------------
  |  |  648|  36.2k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  36.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   92|  36.2k|        tb->tb_frame = (PyFrameObject*)Py_NewRef(frame);
  ------------------
  |  |  647|  36.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  36.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|  36.2k|        tb->tb_lasti = lasti;
   94|  36.2k|        tb->tb_lineno = lineno;
   95|  36.2k|        PyObject_GC_Track(tb);
   96|  36.2k|    }
   97|  36.2k|    return (PyObject *)tb;
   98|  36.2k|}

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

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

